|
|
@ -130,6 +130,7 @@ import ComponentConditionalVariable from '../data_sources/model/conditional_vari |
|
|
import ConditionalComponentView from '../data_sources/view/ComponentDynamicView'; |
|
|
import ConditionalComponentView from '../data_sources/view/ComponentDynamicView'; |
|
|
import CollectionComponent from '../data_sources/model/collection_component/CollectionComponent'; |
|
|
import CollectionComponent from '../data_sources/model/collection_component/CollectionComponent'; |
|
|
import CollectionComponentView from '../data_sources/model/collection_component/CollectionComponentView'; |
|
|
import CollectionComponentView from '../data_sources/model/collection_component/CollectionComponentView'; |
|
|
|
|
|
import { CollectionComponentType } from "../data_sources/model/collection_component/constants"; |
|
|
|
|
|
|
|
|
export type ComponentEvent = |
|
|
export type ComponentEvent = |
|
|
| 'component:create' |
|
|
| 'component:create' |
|
|
@ -196,7 +197,7 @@ export interface CanMoveResult { |
|
|
export default class ComponentManager extends ItemManagerModule<DomComponentsConfig, any> { |
|
|
export default class ComponentManager extends ItemManagerModule<DomComponentsConfig, any> { |
|
|
componentTypes: ComponentStackItem[] = [ |
|
|
componentTypes: ComponentStackItem[] = [ |
|
|
{ |
|
|
{ |
|
|
id: 'collection-component', |
|
|
id: CollectionComponentType, |
|
|
model: CollectionComponent, |
|
|
model: CollectionComponent, |
|
|
view: CollectionComponentView, |
|
|
view: CollectionComponentView, |
|
|
}, |
|
|
}, |
|
|
|