Dynamic-table widget placeholder

- project structure for dynamic-table widget
- support for multiple root element types (container, dynamic table,
etc)
- code improvements and updates
This commit is contained in:
Denys Vuika
2016-10-17 14:44:23 +01:00
committed by Vito Albano
parent 3fb0da0e0b
commit cf9053ab46
16 changed files with 203 additions and 54 deletions

View File

@@ -18,7 +18,7 @@
import { Observable } from 'rxjs/Rx';
import { SimpleChange } from '@angular/core';
import { ActivitiForm } from './activiti-form.component';
import { FormModel, FormOutcomeModel, FormFieldModel, FormOutcomeEvent } from './widgets/index';
import { FormModel, FormOutcomeModel, FormFieldModel, FormOutcomeEvent, FormFieldTypes } from './widgets/index';
import { FormService } from './../services/form.service';
import { WidgetVisibilityService } from './../services/widget-visibility.service';
import { NodeService } from './../services/node.service';
@@ -554,7 +554,7 @@ describe('ActivitiForm', () => {
let form = formComponent.parseForm({
id: '<id>',
fields: [
{ id: 'field1' }
{ id: 'field1', type: FormFieldTypes.CONTAINER }
]
});