Browse Source

Move data components view

pull/6359/head
Artur Arseniev 1 year ago
parent
commit
fb94416eaf
  1. 4
      packages/core/src/data_sources/model/data_collection/ComponentDataCollectionView.ts
  2. 6
      packages/core/src/data_sources/view/ComponentDataCollectionVariableView.ts
  3. 4
      packages/core/src/data_sources/view/ComponentDataCollectionView.ts
  4. 6
      packages/core/src/dom_components/index.ts

4
packages/core/src/data_sources/model/data_collection/ComponentDataCollectionView.ts

@ -1,4 +0,0 @@
import ComponentView from '../../../dom_components/view/ComponentView';
import ComponentDataCollection from './ComponentDataCollection';
export default class ComponentDataCollectionView extends ComponentView<ComponentDataCollection> {}

6
packages/core/src/data_sources/model/data_collection/ComponentDataCollectionVariableView.ts → packages/core/src/data_sources/view/ComponentDataCollectionVariableView.ts

@ -1,6 +1,6 @@
import ComponentView from '../../../dom_components/view/ComponentView';
import DynamicVariableListenerManager from '../DataVariableListenerManager';
import ComponentDataCollectionVariable from './ComponentDataCollectionVariable';
import ComponentView from '../../dom_components/view/ComponentView';
import DynamicVariableListenerManager from '../model/DataVariableListenerManager';
import ComponentDataCollectionVariable from '../model/data_collection/ComponentDataCollectionVariable';
export default class ComponentDataCollectionVariableView extends ComponentView<ComponentDataCollectionVariable> {
collectionVariableListener?: DynamicVariableListenerManager;

4
packages/core/src/data_sources/view/ComponentDataCollectionView.ts

@ -0,0 +1,4 @@
import ComponentView from '../../dom_components/view/ComponentView';
import ComponentDataCollection from '../model/data_collection/ComponentDataCollection';
export default class ComponentDataCollectionView extends ComponentView<ComponentDataCollection> {}

6
packages/core/src/dom_components/index.ts

@ -53,7 +53,7 @@
*
* @module Components
*/
import { debounce, isArray, isBoolean, isEmpty, isFunction, isString, isSymbol, result } from 'underscore';
import { debounce, isArray, isEmpty, isFunction, isString, isSymbol, result } from 'underscore';
import { ItemManagerModule } from '../abstract/Module';
import { ObjectAny } from '../common';
import EditorModel from '../editor/model/Editor';
@ -129,10 +129,10 @@ import { DataConditionType } from '../data_sources/model/conditional_variables/D
import ComponentDataCondition from '../data_sources/model/conditional_variables/ComponentDataCondition';
import ComponentDataConditionView from '../data_sources/view/ComponentDataConditionView';
import ComponentDataCollection from '../data_sources/model/data_collection/ComponentDataCollection';
import ComponentDataCollectionView from '../data_sources/model/data_collection/ComponentDataCollectionView';
import { DataCollectionType, DataCollectionVariableType } from '../data_sources/model/data_collection/constants';
import ComponentDataCollectionVariable from '../data_sources/model/data_collection/ComponentDataCollectionVariable';
import ComponentDataCollectionVariableView from '../data_sources/model/data_collection/ComponentDataCollectionVariableView';
import ComponentDataCollectionVariableView from '../data_sources/view/ComponentDataCollectionVariableView';
import ComponentDataCollectionView from '../data_sources/view/ComponentDataCollectionView';
export type ComponentEvent =
| 'component:create'

Loading…
Cancel
Save