deleted refernces to fieldvisibility
This commit is contained in:
parent
6d5ef47405
commit
8873fa9ff3
|
@ -8,7 +8,6 @@ import { AppComponent } from './app.component';
|
||||||
import { DynamicFormComponent } from './form/dynamic-form.component';
|
import { DynamicFormComponent } from './form/dynamic-form.component';
|
||||||
import { DynamicFormFieldComponent } from './form/fields/dynamic-form-field.component';
|
import { DynamicFormFieldComponent } from './form/fields/dynamic-form-field.component';
|
||||||
import { ServerService } from './services/server.service';
|
import { ServerService } from './services/server.service';
|
||||||
import { FieldVisibility } from './services/fieldVisibility.service';
|
|
||||||
import { dataModelBuilder } from './services/dataModelBuilder.service';
|
import { dataModelBuilder } from './services/dataModelBuilder.service';
|
||||||
import { DynamicFormGroupComponent } from './form/dynamic-form-group/dynamic-form-group.component';
|
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,
|
HttpModule,
|
||||||
HttpClientModule
|
HttpClientModule
|
||||||
],
|
],
|
||||||
providers: [ServerService, FieldVisibility, dataModelBuilder],
|
providers: [ServerService, dataModelBuilder],
|
||||||
bootstrap: [AppComponent]
|
bootstrap: [AppComponent]
|
||||||
})
|
})
|
||||||
export class AppModule {
|
export class AppModule {
|
||||||
|
|
|
@ -5,7 +5,6 @@ import { NgForm } from '@angular/forms';
|
||||||
//import { FieldBase } from '../../app/form/fields/field-base';
|
//import { FieldBase } from '../../app/form/fields/field-base';
|
||||||
import { FieldControlService } from '../../app/services/field-control.service';
|
import { FieldControlService } from '../../app/services/field-control.service';
|
||||||
import { ServerService } from '../../app/services/server.service';
|
import { ServerService } from '../../app/services/server.service';
|
||||||
import { FieldVisibility } from '../../app/services/fieldVisibility.service';
|
|
||||||
import { dataModelBuilder } from '../../app/services/dataModelBuilder.service';
|
import { dataModelBuilder } from '../../app/services/dataModelBuilder.service';
|
||||||
import { DataModel } from '../entities/DataModel';
|
import { DataModel } from '../entities/DataModel';
|
||||||
import { GroupBase } from './dynamic-form-group/group-base';
|
import { GroupBase } from './dynamic-form-group/group-base';
|
||||||
|
@ -13,7 +12,7 @@ import { GroupBase } from './dynamic-form-group/group-base';
|
||||||
@Component({
|
@Component({
|
||||||
selector: 'dynamic-form',
|
selector: 'dynamic-form',
|
||||||
templateUrl: './dynamic-form.component.html',
|
templateUrl: './dynamic-form.component.html',
|
||||||
providers: [FieldControlService, ServerService, FieldVisibility, dataModelBuilder]
|
providers: [FieldControlService, ServerService, dataModelBuilder]
|
||||||
})
|
})
|
||||||
export class DynamicFormComponent implements OnInit {
|
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());
|
this.form = this.qcs.toFormGroup(new Array(), new Array());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,6 @@ import {Headers, Http, Response} from '@angular/http';
|
||||||
import 'rxjs/Rx';
|
import 'rxjs/Rx';
|
||||||
import {FieldBase} from '../../app/form/fields/field-base';
|
import {FieldBase} from '../../app/form/fields/field-base';
|
||||||
import {JsonObjest} from '../../app/entities/JsonObject.class';
|
import {JsonObjest} from '../../app/entities/JsonObject.class';
|
||||||
import {FieldVisibility} from '../../app/services/fieldVisibility.service';
|
|
||||||
import {dataModelBuilder} from '../../app/services/dataModelBuilder.service';
|
import {dataModelBuilder} from '../../app/services/dataModelBuilder.service';
|
||||||
import { DatasetProfile } from '../entities/datasetprofile';
|
import { DatasetProfile } from '../entities/datasetprofile';
|
||||||
import {DataModel} from '../entities/DataModel'
|
import {DataModel} from '../entities/DataModel'
|
||||||
|
|
Loading…
Reference in New Issue