deleted refernces to fieldvisibility

This commit is contained in:
annampak 2017-09-21 13:37:19 +03:00
parent 6d5ef47405
commit 8873fa9ff3
3 changed files with 4 additions and 7 deletions

View File

@ -8,7 +8,6 @@ import { AppComponent } from './app.component';
import { DynamicFormComponent } from './form/dynamic-form.component';
import { DynamicFormFieldComponent } from './form/fields/dynamic-form-field.component';
import { ServerService } from './services/server.service';
import { FieldVisibility } from './services/fieldVisibility.service';
import { dataModelBuilder } from './services/dataModelBuilder.service';
import { DynamicFormGroupComponent } from './form/dynamic-form-group/dynamic-form-group.component';
@ -27,7 +26,7 @@ import { DynamicFormGroupComponent } from './form/dynamic-form-group/dynamic-for
HttpModule,
HttpClientModule
],
providers: [ServerService, FieldVisibility, dataModelBuilder],
providers: [ServerService, dataModelBuilder],
bootstrap: [AppComponent]
})
export class AppModule {

View File

@ -5,7 +5,6 @@ import { NgForm } from '@angular/forms';
//import { FieldBase } from '../../app/form/fields/field-base';
import { FieldControlService } from '../../app/services/field-control.service';
import { ServerService } from '../../app/services/server.service';
import { FieldVisibility } from '../../app/services/fieldVisibility.service';
import { dataModelBuilder } from '../../app/services/dataModelBuilder.service';
import { DataModel } from '../entities/DataModel';
import { GroupBase } from './dynamic-form-group/group-base';
@ -13,7 +12,7 @@ import { GroupBase } from './dynamic-form-group/group-base';
@Component({
selector: 'dynamic-form',
templateUrl: './dynamic-form.component.html',
providers: [FieldControlService, ServerService, FieldVisibility, dataModelBuilder]
providers: [FieldControlService, ServerService, dataModelBuilder]
})
export class DynamicFormComponent implements OnInit {
@ -25,7 +24,7 @@ export class DynamicFormComponent implements OnInit {
constructor(private qcs: FieldControlService, private serverService: ServerService, private fieldVisibility: FieldVisibility, private dataModelService: dataModelBuilder) {
constructor(private qcs: FieldControlService, private serverService: ServerService, private dataModelService: dataModelBuilder) {
this.form = this.qcs.toFormGroup(new Array(), new Array());
}

View File

@ -3,7 +3,6 @@ import {Headers, Http, Response} from '@angular/http';
import 'rxjs/Rx';
import {FieldBase} from '../../app/form/fields/field-base';
import {JsonObjest} from '../../app/entities/JsonObject.class';
import {FieldVisibility} from '../../app/services/fieldVisibility.service';
import {dataModelBuilder} from '../../app/services/dataModelBuilder.service';
import { DatasetProfile } from '../entities/datasetprofile';
import {DataModel} from '../entities/DataModel'