#967 container widgets reworked

- moved internals of container widget to corresponding folder
- moved internals of dynamic table to corresponding folder
This commit is contained in:
Denys Vuika
2016-11-15 13:08:55 +00:00
committed by Mario Romano
parent 084d962230
commit f81f78d311
30 changed files with 331 additions and 316 deletions

View File

@@ -16,7 +16,7 @@
*/
import { Component, AfterViewInit, OnInit } from '@angular/core';
import { ContainerModel } from './../core/index';
import { ContainerWidgetModel } from './container.widget.model';
import { WidgetComponent } from './../widget.component';
@Component({
@@ -27,7 +27,7 @@ import { WidgetComponent } from './../widget.component';
})
export class ContainerWidget extends WidgetComponent implements OnInit, AfterViewInit {
content: ContainerModel;
content: ContainerWidgetModel;
onExpanderClicked() {
if (this.content && this.content.isCollapsible()) {
@@ -37,7 +37,7 @@ export class ContainerWidget extends WidgetComponent implements OnInit, AfterVie
ngOnInit() {
if (this.field) {
this.content = new ContainerModel(this.field.form, this.field.json);
this.content = new ContainerWidgetModel(this.field.form, this.field.json);
}
}