@tmagic/editor 1.5.0-beta.14 → 1.5.0-beta.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/style.css +61 -6
  2. package/dist/tmagic-editor.js +507 -242
  3. package/dist/tmagic-editor.umd.cjs +507 -243
  4. package/package.json +12 -10
  5. package/src/components/CodeBlockEditor.vue +11 -5
  6. package/src/components/CodeParams.vue +3 -3
  7. package/src/fields/Code.vue +1 -2
  8. package/src/fields/CodeSelect.vue +13 -11
  9. package/src/fields/CodeSelectCol.vue +32 -5
  10. package/src/fields/CondOpSelect.vue +5 -2
  11. package/src/fields/DataSourceFields.vue +31 -12
  12. package/src/fields/DataSourceMethods.vue +72 -14
  13. package/src/fields/DisplayConds.vue +8 -3
  14. package/src/fields/EventSelect.vue +25 -8
  15. package/src/fields/KeyValue.vue +15 -10
  16. package/src/hooks/index.ts +0 -1
  17. package/src/hooks/use-code-block-edit.ts +1 -1
  18. package/src/hooks/use-data-source-edit.ts +3 -2
  19. package/src/initService.ts +105 -25
  20. package/src/layouts/Framework.vue +0 -3
  21. package/src/layouts/PropsPanel.vue +3 -3
  22. package/src/layouts/page-bar/PageBar.vue +46 -3
  23. package/src/layouts/page-bar/PageBarScrollContainer.vue +49 -24
  24. package/src/layouts/page-bar/PageList.vue +4 -2
  25. package/src/layouts/sidebar/Sidebar.vue +3 -0
  26. package/src/layouts/sidebar/code-block/CodeBlockList.vue +6 -1
  27. package/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue +7 -5
  28. package/src/layouts/sidebar/data-source/DataSourceList.vue +6 -1
  29. package/src/layouts/workspace/Workspace.vue +5 -2
  30. package/src/layouts/workspace/viewer/Stage.vue +12 -5
  31. package/src/services/dataSource.ts +12 -5
  32. package/src/services/dep.ts +49 -11
  33. package/src/services/editor.ts +26 -11
  34. package/src/theme/page-bar.scss +24 -9
  35. package/src/theme/search-input.scss +1 -0
  36. package/src/utils/data-source/formConfigs/http.ts +2 -0
  37. package/src/utils/data-source/index.ts +2 -2
  38. package/src/utils/editor.ts +78 -2
  39. package/src/utils/idle-task.ts +34 -3
  40. package/src/utils/props.ts +3 -3
  41. package/types/index.d.ts +805 -1170
  42. package/src/hooks/use-data-source-method.ts +0 -100
package/types/index.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import * as vue from 'vue';
2
2
  import { Component, ComputedRef, Ref, App } from 'vue';
3
- import { DesignPluginOptions } from '@tmagic/design';
3
+ import { TMagicMessageBox, TMagicMessage, DesignPluginOptions } from '@tmagic/design';
4
4
  export * from '@tmagic/design';
5
5
  export { default as designPlugin } from '@tmagic/design';
6
- import { TableColumnConfig as TableColumnConfig$1, FormConfig as FormConfig$1, FormItem as FormItem$1, FilterFunction as FilterFunction$1, FormState as FormState$1, ChildConfig as ChildConfig$1, Input as Input$1, TabPaneConfig as TabPaneConfig$1, CascaderOption as CascaderOption$1, FieldProps, FormValue as FormValue$1, FormInstallOptions } from '@tmagic/form';
6
+ import { TableColumnConfig as TableColumnConfig$1, FormConfig as FormConfig$1, ChangeRecord as ChangeRecord$1, FormItem as FormItem$1, FilterFunction as FilterFunction$1, FormState as FormState$1, ChildConfig as ChildConfig$1, Input as Input$1, TabPaneConfig as TabPaneConfig$1, CascaderOption as CascaderOption$1, ContainerChangeEventData as ContainerChangeEventData$1, FieldProps, FormValue as FormValue$1, FormInstallOptions } from '@tmagic/form';
7
7
  export * from '@tmagic/form';
8
8
  export { default as formPlugin } from '@tmagic/form';
9
9
  import EventEmitter$1, { EventEmitter } from 'events';
@@ -228,7 +228,7 @@ declare class ComponentList extends export_default {
228
228
  }
229
229
  type ComponentListService = ComponentList;
230
230
 
231
- interface State$1 {
231
+ interface State$2 {
232
232
  datasourceTypeList: DatasourceTypeOption[];
233
233
  dataSources: DataSourceSchema[];
234
234
  editable: boolean;
@@ -237,7 +237,7 @@ interface State$1 {
237
237
  events: Record<string, EventOption[]>;
238
238
  methods: Record<string, EventOption[]>;
239
239
  }
240
- type StateKey = keyof State$1;
240
+ type StateKey$1 = keyof State$2;
241
241
  declare const canUsePluginMethods$5: {
242
242
  async: never[];
243
243
  sync: readonly ["getFormConfig", "setFormConfig", "getFormValue", "setFormValue", "getFormEvent", "setFormEvent", "getFormMethod", "setFormMethod", "add", "update", "remove", "createId"];
@@ -246,8 +246,8 @@ type SyncMethodName$3 = Writable<(typeof canUsePluginMethods$5)['sync']>;
246
246
  declare class DataSource extends export_default {
247
247
  private state;
248
248
  constructor();
249
- set<K extends StateKey, T extends State$1[K]>(name: K, value: T): void;
250
- get<K extends StateKey>(name: K): State$1[K];
249
+ set<K extends StateKey$1, T extends State$2[K]>(name: K, value: T): void;
250
+ get<K extends StateKey$1>(name: K): State$2[K];
251
251
  getFormConfig(type?: string): FormConfig$1;
252
252
  setFormConfig(type: string, config: FormConfig$1): void;
253
253
  getFormValue(type?: string): Partial<DataSourceSchema>;
@@ -267,7 +267,9 @@ declare class DataSource extends export_default {
267
267
  events: _tmagic_schema.EventConfig[];
268
268
  disabledInitInJsEngine?: (_tmagic_schema.JsEngine | string)[];
269
269
  };
270
- update(config: DataSourceSchema): DataSourceSchema;
270
+ update(config: DataSourceSchema, { changeRecords }?: {
271
+ changeRecords?: ChangeRecord$1[];
272
+ }): DataSourceSchema;
271
273
  remove(id: string): void;
272
274
  createId(): string;
273
275
  getDataSourceById(id: string): DataSourceSchema | undefined;
@@ -294,8 +296,15 @@ interface DepEvents {
294
296
  'remove-target': [id: string | number];
295
297
  collected: [nodes: MNode[], deep: boolean];
296
298
  }
299
+ interface State$1 {
300
+ collecting: boolean;
301
+ }
302
+ type StateKey = keyof State$1;
297
303
  declare class Dep extends export_default {
304
+ private state;
298
305
  private watcher;
306
+ set<K extends StateKey, T extends State$1[K]>(name: K, value: T): void;
307
+ get<K extends StateKey>(name: K): State$1[K];
299
308
  removeTargets(type?: string): void;
300
309
  getTargets(type?: string): {
301
310
  [targetId: string]: Target;
@@ -312,9 +321,11 @@ declare class Dep extends export_default {
312
321
  clearByType(type: DepTargetType, nodes?: MNode[]): void;
313
322
  hasTarget(id: Id, type?: string): boolean;
314
323
  hasSpecifiedTypeTarget(type?: string): boolean;
324
+ clearIdleTasks(): void;
315
325
  on<Name extends keyof DepEvents, Param extends DepEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
316
326
  once<Name extends keyof DepEvents, Param extends DepEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
317
327
  emit<Name extends keyof DepEvents, Param extends DepEvents[Name]>(eventName: Name, ...args: Param): boolean;
328
+ private enqueueTask;
318
329
  }
319
330
  type DepService = Dep;
320
331
  declare const _default$D: Dep;
@@ -324,7 +335,11 @@ interface EditorEvents {
324
335
  select: [node: MNode | null];
325
336
  add: [nodes: MNode[]];
326
337
  remove: [nodes: MNode[]];
327
- update: [nodes: MNode[]];
338
+ update: [nodes: {
339
+ newNode: MNode;
340
+ oldNode: MNode;
341
+ changeRecords?: ChangeRecord$1[];
342
+ }[]];
328
343
  'move-layer': [offset: number | LayerOffset];
329
344
  'drag-to': [data: {
330
345
  targetIndex: number;
@@ -414,13 +429,21 @@ declare class Editor extends export_default {
414
429
  * @param {Object} node
415
430
  */
416
431
  remove(nodeOrNodeList: MNode | MNode[]): Promise<void>;
417
- doUpdate(config: MNode): Promise<MNode>;
432
+ doUpdate(config: MNode, { changeRecords }?: {
433
+ changeRecords?: ChangeRecord$1[];
434
+ }): Promise<{
435
+ newNode: MNode;
436
+ oldNode: MNode;
437
+ changeRecords?: ChangeRecord$1[];
438
+ }>;
418
439
  /**
419
440
  * 更新节点
420
441
  * @param config 新的节点配置,配置中需要有id信息
421
442
  * @returns 更新后的节点配置
422
443
  */
423
- update(config: MNode | MNode[]): Promise<MNode | MNode[]>;
444
+ update(config: MNode | MNode[], data?: {
445
+ changeRecords?: ChangeRecord$1[];
446
+ }): Promise<MNode | MNode[]>;
424
447
  /**
425
448
  * 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
426
449
  * @param id1 组件ID
@@ -1462,478 +1485,33 @@ interface PageBarSortOptions extends PartSortableOptions {
1462
1485
  beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise<void>;
1463
1486
  }
1464
1487
 
1465
- declare const useCodeBlockEdit: (codeBlockService?: CodeBlockService) => {
1466
- codeId: vue.Ref<string | undefined, string | undefined>;
1467
- codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
1468
- codeBlockEditor: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
1469
- width?: number;
1470
- visible?: boolean;
1471
- } & {
1472
- content: CodeBlockContent;
1473
- disabled?: boolean;
1474
- isDataSource?: boolean;
1475
- dataSourceType?: string;
1476
- }> & Readonly<{
1477
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1478
- "onUpdate:width"?: ((width: number) => any) | undefined;
1479
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1480
- }>, {
1481
- show(): Promise<void>;
1482
- hide(): Promise<void>;
1483
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1484
- 'update:width': (width: number) => any;
1485
- 'update:visible': (visible: boolean) => any;
1486
- submit: (values: CodeBlockContent) => any;
1487
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
1488
- width?: number;
1489
- visible?: boolean;
1490
- } & {
1491
- content: CodeBlockContent;
1492
- disabled?: boolean;
1493
- isDataSource?: boolean;
1494
- dataSourceType?: string;
1495
- }> & Readonly<{
1496
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1497
- "onUpdate:width"?: ((width: number) => any) | undefined;
1498
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1499
- }>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
1500
- P: {};
1501
- B: {};
1502
- D: {};
1503
- C: {};
1504
- M: {};
1505
- Defaults: {};
1506
- }, Readonly<{
1507
- width?: number;
1508
- visible?: boolean;
1509
- } & {
1510
- content: CodeBlockContent;
1511
- disabled?: boolean;
1512
- isDataSource?: boolean;
1513
- dataSourceType?: string;
1514
- }> & Readonly<{
1515
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1516
- "onUpdate:width"?: ((width: number) => any) | undefined;
1517
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1518
- }>, {
1519
- show(): Promise<void>;
1520
- hide(): Promise<void>;
1521
- }, {}, {}, {}, {}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
1522
- width?: number;
1523
- visible?: boolean;
1524
- } & {
1525
- content: CodeBlockContent;
1526
- disabled?: boolean;
1527
- isDataSource?: boolean;
1528
- dataSourceType?: string;
1529
- }> & Readonly<{
1530
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1531
- "onUpdate:width"?: ((width: number) => any) | undefined;
1532
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1533
- }>, {
1534
- show(): Promise<void>;
1535
- hide(): Promise<void>;
1536
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1537
- 'update:width': (width: number) => any;
1538
- 'update:visible': (visible: boolean) => any;
1539
- submit: (values: CodeBlockContent) => any;
1540
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
1541
- width?: number;
1542
- visible?: boolean;
1543
- } & {
1544
- content: CodeBlockContent;
1545
- disabled?: boolean;
1546
- isDataSource?: boolean;
1547
- dataSourceType?: string;
1548
- }> & Readonly<{
1549
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1550
- "onUpdate:width"?: ((width: number) => any) | undefined;
1551
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1552
- }>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
1553
- P: {};
1554
- B: {};
1555
- D: {};
1556
- C: {};
1557
- M: {};
1558
- Defaults: {};
1559
- }, Readonly<{
1560
- width?: number;
1561
- visible?: boolean;
1562
- } & {
1563
- content: CodeBlockContent;
1564
- disabled?: boolean;
1565
- isDataSource?: boolean;
1566
- dataSourceType?: string;
1567
- }> & Readonly<{
1568
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1569
- "onUpdate:width"?: ((width: number) => any) | undefined;
1570
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1571
- }>, {
1572
- show(): Promise<void>;
1573
- hide(): Promise<void>;
1574
- }, {}, {}, {}, {}> | undefined>;
1575
- createCodeBlock: () => Promise<void>;
1576
- editCode: (id: string) => Promise<void>;
1577
- deleteCode: (key: string) => Promise<void>;
1578
- submitCodeBlockHandler: (values: CodeBlockContent) => Promise<void>;
1579
- };
1580
-
1581
- declare const useDataSourceMethod: () => {
1582
- codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
1583
- codeBlockEditor: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
1584
- width?: number;
1585
- visible?: boolean;
1586
- } & {
1587
- content: CodeBlockContent;
1588
- disabled?: boolean;
1589
- isDataSource?: boolean;
1590
- dataSourceType?: string;
1591
- }> & Readonly<{
1592
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1593
- "onUpdate:width"?: ((width: number) => any) | undefined;
1594
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1595
- }>, {
1596
- show(): Promise<void>;
1597
- hide(): Promise<void>;
1598
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1599
- 'update:width': (width: number) => any;
1600
- 'update:visible': (visible: boolean) => any;
1601
- submit: (values: CodeBlockContent) => any;
1602
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
1603
- width?: number;
1604
- visible?: boolean;
1605
- } & {
1606
- content: CodeBlockContent;
1607
- disabled?: boolean;
1608
- isDataSource?: boolean;
1609
- dataSourceType?: string;
1610
- }> & Readonly<{
1611
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1612
- "onUpdate:width"?: ((width: number) => any) | undefined;
1613
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1614
- }>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
1615
- P: {};
1616
- B: {};
1617
- D: {};
1618
- C: {};
1619
- M: {};
1620
- Defaults: {};
1621
- }, Readonly<{
1622
- width?: number;
1623
- visible?: boolean;
1624
- } & {
1625
- content: CodeBlockContent;
1626
- disabled?: boolean;
1627
- isDataSource?: boolean;
1628
- dataSourceType?: string;
1629
- }> & Readonly<{
1630
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1631
- "onUpdate:width"?: ((width: number) => any) | undefined;
1632
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1633
- }>, {
1634
- show(): Promise<void>;
1635
- hide(): Promise<void>;
1636
- }, {}, {}, {}, {}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
1637
- width?: number;
1638
- visible?: boolean;
1639
- } & {
1640
- content: CodeBlockContent;
1641
- disabled?: boolean;
1642
- isDataSource?: boolean;
1643
- dataSourceType?: string;
1644
- }> & Readonly<{
1645
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1646
- "onUpdate:width"?: ((width: number) => any) | undefined;
1647
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1648
- }>, {
1649
- show(): Promise<void>;
1650
- hide(): Promise<void>;
1651
- }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
1652
- 'update:width': (width: number) => any;
1653
- 'update:visible': (visible: boolean) => any;
1654
- submit: (values: CodeBlockContent) => any;
1655
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
1656
- width?: number;
1657
- visible?: boolean;
1658
- } & {
1659
- content: CodeBlockContent;
1660
- disabled?: boolean;
1661
- isDataSource?: boolean;
1662
- dataSourceType?: string;
1663
- }> & Readonly<{
1664
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1665
- "onUpdate:width"?: ((width: number) => any) | undefined;
1666
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1667
- }>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
1668
- P: {};
1669
- B: {};
1670
- D: {};
1671
- C: {};
1672
- M: {};
1673
- Defaults: {};
1674
- }, Readonly<{
1675
- width?: number;
1676
- visible?: boolean;
1677
- } & {
1678
- content: CodeBlockContent;
1679
- disabled?: boolean;
1680
- isDataSource?: boolean;
1681
- dataSourceType?: string;
1682
- }> & Readonly<{
1683
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
1684
- "onUpdate:width"?: ((width: number) => any) | undefined;
1685
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
1686
- }>, {
1687
- show(): Promise<void>;
1688
- hide(): Promise<void>;
1689
- }, {}, {}, {}, {}> | undefined>;
1690
- createCode: (model: DataSourceSchema) => Promise<void>;
1691
- editCode: (model: DataSourceSchema, methodName: string) => Promise<void>;
1692
- deleteCode: (model: DataSourceSchema, methodName: string) => Promise<void>;
1693
- submitCode: (values: CodeBlockContent) => void;
1694
- };
1695
-
1696
- declare const useStage: (stageOptions: StageOptions) => StageCore__default;
1697
-
1698
- interface State {
1699
- status: boolean;
1700
- top: number;
1701
- left: number;
1488
+ interface ChangeRecord {
1489
+ propPath?: string;
1490
+ value: any;
1702
1491
  }
1703
- declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
1704
- dragstartHandler: (e: DragEvent) => void;
1705
- dragendHandler: (key: string, e: DragEvent) => void;
1706
- floatBoxStates: vue.Ref<{
1707
- [x: string]: State;
1708
- }, {
1709
- [x: string]: State;
1710
- }>;
1711
- showingBoxKeys: ComputedRef<string[]>;
1712
- };
1713
-
1714
- declare const useWindowRect: () => {
1715
- rect: {
1716
- width: number;
1717
- height: number;
1718
- };
1719
- };
1720
-
1721
- declare const useEditorContentHeight: () => {
1722
- height: vue.Ref<number, number>;
1723
- };
1724
-
1725
- declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<Id, LayerNodeStatus> | undefined>, filterNodeMethod: (value: string, data: MNode) => boolean) => {
1726
- filterText: Ref<string, string>;
1727
- filterTextChangeHandler(text: string | string[]): void;
1728
- };
1729
-
1730
- declare const useGetSo: (target: Ref<HTMLElement | undefined>, emit: (evt: "change", e: OnDrag<gesto__default>) => void) => {
1731
- isDraging: Ref<boolean, boolean>;
1732
- };
1733
-
1734
- declare const useNextFloatBoxPosition: (uiService?: UiService, parent?: Ref<HTMLDivElement | null>) => {
1735
- boxPosition: Ref<{
1736
- left: number;
1737
- top: number;
1738
- }, {
1739
- left: number;
1740
- top: number;
1741
- } | {
1742
- left: number;
1743
- top: number;
1744
- }>;
1745
- calcBoxPosition: () => void;
1746
- };
1747
-
1748
- declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
1749
- nodeStatusMap: vue.Ref<Map<Id, {
1750
- visible: boolean;
1751
- expand: boolean;
1752
- selected: boolean;
1753
- draggable: boolean;
1754
- }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>, Map<Id, LayerNodeStatus> | (Map<Id, {
1755
- visible: boolean;
1756
- expand: boolean;
1757
- selected: boolean;
1758
- draggable: boolean;
1759
- }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
1760
- };
1761
-
1762
- declare const setEditorConfig: (option: EditorInstallOptions) => void;
1763
- declare const getEditorConfig: <K extends keyof EditorInstallOptions>(key: K) => EditorInstallOptions[K];
1764
-
1765
- declare const arrayOptions: {
1766
- text: string;
1767
- value: string;
1768
- }[];
1769
- declare const eqOptions: {
1770
- text: string;
1771
- value: string;
1772
- }[];
1773
- declare const numberOptions: {
1774
- text: string;
1775
- value: string;
1776
- }[];
1777
- declare const styleTabConfig: TabPaneConfig$1;
1778
- declare const eventTabConfig: TabPaneConfig$1;
1779
- declare const advancedTabConfig: TabPaneConfig$1;
1780
- declare const displayTabConfig: TabPaneConfig$1;
1781
- /**
1782
- * 统一为组件属性表单加上事件、高级、样式配置
1783
- * @param config 组件属性配置
1784
- * @returns Object
1785
- */
1786
- declare const fillConfig: (config?: FormConfig$1, labelWidth?: string) => FormConfig$1;
1787
-
1788
- declare const log: (...args: any[]) => void;
1789
- declare const info: (...args: any[]) => void;
1790
- declare const warn: (...args: any[]) => void;
1791
- declare const debug: (...args: any[]) => void;
1792
- declare const error: (...args: any[]) => void;
1793
-
1794
- declare const COPY_STORAGE_KEY = "$MagicEditorCopyData";
1795
- declare const COPY_CODE_STORAGE_KEY = "$MagicEditorCopyCode";
1796
- declare const COPY_DS_STORAGE_KEY = "$MagicEditorCopyDataSource";
1797
- /**
1798
- * 获取所有页面配置
1799
- * @param root DSL跟节点
1800
- * @returns 所有页面配置
1801
- */
1802
- declare const getPageList: (root?: MApp | null) => MPage[];
1803
- declare const getPageFragmentList: (root?: MApp | null) => MPageFragment[];
1804
- /**
1805
- * 获取所有页面名称
1806
- * @param pages 所有页面配置
1807
- * @returns 所有页面名称
1808
- */
1809
- declare const getPageNameList: (pages: (MPage | MPageFragment)[]) => string[];
1810
- /**
1811
- * 新增页面时,生成页面名称
1812
- * @param {Object} pageNameList 所有页面名称
1813
- * @returns {string}
1814
- */
1815
- declare const generatePageName: (pageNameList: string[], type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
1816
- /**
1817
- * 新增页面时,生成页面名称
1818
- * @param {Object} app 所有页面配置
1819
- * @returns {string}
1820
- */
1821
- declare const generatePageNameByApp: (app: MApp, type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
1822
- declare const getNodeIndex: (id: Id, parent: MContainer | MApp) => number;
1823
- declare const getRelativeStyle: (style?: Record<string, any>) => Record<string, any>;
1824
- declare const getInitPositionStyle: (style: Record<string, any> | undefined, layout: Layout) => Record<string, any>;
1825
- declare const setChildrenLayout: (node: MContainer, layout: Layout) => MContainer;
1826
- declare const setLayout: (node: MNode, layout: Layout) => _tmagic_schema.MComponent | undefined;
1827
- declare const change2Fixed: (node: MNode, root: MApp) => {
1828
- left: number;
1829
- top: number;
1830
- };
1831
- declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
1832
- declare const getGuideLineFromCache: (key: string) => number[];
1833
- declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any;
1834
- declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) => {
1835
- [key: string]: any;
1836
- } | undefined;
1837
- declare const serializeConfig: (config: any) => string;
1838
- declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
1839
-
1840
- /**
1841
- * 粘贴前置操作:返回分配了新id以及校准了坐标的配置
1842
- * @param position 粘贴的坐标
1843
- * @param config 待粘贴的元素配置(复制时保存的那份配置)
1844
- * @returns
1845
- */
1846
- declare const beforePaste: (position: PastePosition, config: MNode[], doc?: Document) => MNode[];
1847
- /**
1848
- * 将元素粘贴到容器内时,将相对于画布坐标转换为相对于容器的坐标
1849
- * @param position PastePosition 粘贴时相对于画布的坐标
1850
- * @param id 元素id
1851
- * @returns PastePosition 转换后的坐标
1852
- */
1853
- declare const getPositionInContainer: (position: PastePosition | undefined, id: Id, doc?: Document) => {
1854
- left: number;
1855
- top: number;
1856
- };
1857
- declare const getAddParent: (node: MNode) => MContainer | null | undefined;
1858
- declare const getDefaultConfig: (addNode: AddMNode, parentNode: MContainer) => Promise<any>;
1859
-
1860
- declare const getFormConfig: (type: string, configs: Record<string, FormConfig$1>) => FormConfig$1;
1861
- declare const getFormValue: (type: string, values: Partial<DataSourceSchema>) => Partial<DataSourceSchema>;
1862
- declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) => {
1863
- value: string;
1864
- type: "var" | "text";
1865
- }[];
1866
- declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption$1[];
1867
- declare const removeDataSourceFieldPrefix: (id?: string) => string;
1868
-
1869
- interface IdleTaskEvents {
1870
- finish: [];
1871
- }
1872
- declare class IdleTask<T = any> extends EventEmitter {
1873
- private taskList;
1874
- private taskHandle;
1875
- enqueueTask(taskHandler: (data: T) => void, taskData: T): void;
1876
- on<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
1877
- once<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
1878
- emit<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, ...args: Param): boolean;
1879
- private runTaskQueue;
1880
- }
1881
-
1882
- interface ScrollViewerOptions {
1883
- container: HTMLDivElement;
1884
- target: HTMLDivElement;
1885
- zoom: number;
1886
- correctionScrollSize?: {
1887
- width: number;
1888
- height: number;
1889
- };
1890
- }
1891
- declare class ScrollViewer extends EventEmitter {
1892
- private container;
1893
- private target;
1894
- private zoom;
1895
- private scrollLeft;
1896
- private scrollTop;
1897
- private scrollHeight;
1898
- private scrollWidth;
1899
- private width;
1900
- private height;
1901
- private translateXCorrectionValue;
1902
- private translateYCorrectionValue;
1903
- private correctionScrollSize;
1904
- private resizeObserver;
1905
- constructor(options: ScrollViewerOptions);
1906
- destroy(): void;
1907
- setZoom(zoom: number): void;
1908
- scrollTo({ left, top }: {
1909
- left?: number;
1910
- top?: number;
1911
- }): void;
1912
- private wheelHandler;
1913
- private getPos;
1914
- private setScrollSize;
1915
- private setSize;
1916
- }
1917
-
1918
- declare const updateStatus: (nodeStatusMap: Map<Id, LayerNodeStatus>, id: Id, status: Partial<LayerNodeStatus>) => void;
1919
-
1920
- /**
1921
- * 整个表单的数据,会注入到各个组件中去
1922
- */
1923
- type FormState = {
1924
- config: FormConfig;
1925
- popperClass?: string;
1926
- initValues: FormValue;
1927
- lastValues: FormValue;
1928
- isCompare: boolean;
1929
- values: FormValue;
1930
- $emit: (event: string, ...args: any[]) => void;
1931
- keyProp?: string;
1932
- parentValues?: FormValue;
1933
- setField: (prop: string, field: any) => void;
1934
- getField: (prop: string) => any;
1935
- deleteField: (prop: string) => any;
1936
- [key: string]: any;
1492
+ interface ContainerChangeEventData {
1493
+ modifyKey?: string;
1494
+ changeRecords?: ChangeRecord[];
1495
+ }
1496
+ /**
1497
+ * 整个表单的数据,会注入到各个组件中去
1498
+ */
1499
+ type FormState = {
1500
+ config: FormConfig;
1501
+ popperClass?: string;
1502
+ initValues: FormValue;
1503
+ lastValues: FormValue;
1504
+ isCompare: boolean;
1505
+ values: FormValue;
1506
+ $emit: (event: string, ...args: any[]) => void;
1507
+ keyProp?: string;
1508
+ parentValues?: FormValue;
1509
+ setField: (prop: string, field: any) => void;
1510
+ getField: (prop: string) => any;
1511
+ deleteField: (prop: string) => any;
1512
+ $messageBox: TMagicMessageBox;
1513
+ $message: TMagicMessage;
1514
+ [key: string]: any;
1937
1515
  };
1938
1516
  /**
1939
1517
  * 排序配置
@@ -2025,24 +1603,27 @@ interface Input {
2025
1603
  placeholder?: string;
2026
1604
  }
2027
1605
  type TypeFunction = (mForm: FormState | undefined, data: {
2028
- model: Record<any, any>;
1606
+ model: FormValue;
2029
1607
  }) => string;
2030
1608
  type FilterFunction<T = boolean> = (mForm: FormState | undefined, data: {
2031
- model: Record<any, any>;
2032
- values: Record<any, any>;
2033
- parent?: Record<any, any>;
2034
- formValue: Record<any, any>;
1609
+ model: FormValue;
1610
+ values: FormValue;
1611
+ parent?: FormValue;
1612
+ formValue: FormValue;
2035
1613
  prop: string;
2036
1614
  config: any;
2037
1615
  index?: number;
2038
1616
  }) => T;
2039
- type OnChangeHandler = (mForm: FormState | undefined, value: any, data: {
2040
- model: Record<any, any>;
2041
- values: Record<any, any>;
2042
- parent?: Record<any, any>;
2043
- formValue: Record<any, any>;
1617
+ interface OnChangeHandlerData {
1618
+ model: FormValue;
1619
+ values?: FormValue;
1620
+ parent?: FormValue;
1621
+ formValue?: FormValue;
2044
1622
  config: any;
2045
- }) => any;
1623
+ prop: string;
1624
+ changeRecords: ChangeRecord[];
1625
+ }
1626
+ type OnChangeHandler = (mForm: FormState | undefined, value: any, data: OnChangeHandlerData) => any;
2046
1627
  type DefaultValueFunction = (mForm: FormState | undefined) => any;
2047
1628
  /**
2048
1629
  * 下拉选择器选项配置
@@ -2477,9 +2058,328 @@ interface ComponentConfig extends FormItem {
2477
2058
  extend: any;
2478
2059
  display: any;
2479
2060
  }
2480
- type ChildConfig = FormItem | TabConfig | RowConfig | FieldsetConfig | PanelConfig | TableConfig | GroupListConfig | StepConfig | DisplayConfig | TextConfig | HiddenConfig | LinkConfig | DaterangeConfig | SelectConfig | CascaderConfig | HtmlField | DateConfig | ColorPickConfig | TimeConfig | DateTimeConfig | CheckboxConfig | SwitchConfig | RadioGroupConfig | TextareaConfig | DynamicFieldConfig | ComponentConfig;
2481
- type FormConfig = ChildConfig[];
2482
- type FormValue = Record<string | number, any>;
2061
+ type ChildConfig = FormItem | TabConfig | RowConfig | FieldsetConfig | PanelConfig | TableConfig | GroupListConfig | StepConfig | DisplayConfig | TextConfig | HiddenConfig | LinkConfig | DaterangeConfig | SelectConfig | CascaderConfig | HtmlField | DateConfig | ColorPickConfig | TimeConfig | DateTimeConfig | CheckboxConfig | SwitchConfig | RadioGroupConfig | TextareaConfig | DynamicFieldConfig | ComponentConfig;
2062
+ type FormConfig = ChildConfig[];
2063
+ type FormValue = Record<string | number, any>;
2064
+
2065
+ declare const useCodeBlockEdit: (codeBlockService?: CodeBlockService) => {
2066
+ codeId: vue.Ref<string | undefined, string | undefined>;
2067
+ codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
2068
+ codeBlockEditor: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2069
+ width?: number;
2070
+ visible?: boolean;
2071
+ } & {
2072
+ content: CodeBlockContent;
2073
+ disabled?: boolean;
2074
+ isDataSource?: boolean;
2075
+ dataSourceType?: string;
2076
+ }> & Readonly<{
2077
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2078
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2079
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2080
+ }>, {
2081
+ show(): Promise<void>;
2082
+ hide(): Promise<void>;
2083
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2084
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
2085
+ "update:width": (value: number) => any;
2086
+ "update:visible": (value: boolean) => any;
2087
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2088
+ P: {};
2089
+ B: {};
2090
+ D: {};
2091
+ C: {};
2092
+ M: {};
2093
+ Defaults: {};
2094
+ }, Readonly<{
2095
+ width?: number;
2096
+ visible?: boolean;
2097
+ } & {
2098
+ content: CodeBlockContent;
2099
+ disabled?: boolean;
2100
+ isDataSource?: boolean;
2101
+ dataSourceType?: string;
2102
+ }> & Readonly<{
2103
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2104
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2105
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2106
+ }>, {
2107
+ show(): Promise<void>;
2108
+ hide(): Promise<void>;
2109
+ }, {}, {}, {}, {}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2110
+ width?: number;
2111
+ visible?: boolean;
2112
+ } & {
2113
+ content: CodeBlockContent;
2114
+ disabled?: boolean;
2115
+ isDataSource?: boolean;
2116
+ dataSourceType?: string;
2117
+ }> & Readonly<{
2118
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2119
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2120
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2121
+ }>, {
2122
+ show(): Promise<void>;
2123
+ hide(): Promise<void>;
2124
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2125
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
2126
+ "update:width": (value: number) => any;
2127
+ "update:visible": (value: boolean) => any;
2128
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2129
+ P: {};
2130
+ B: {};
2131
+ D: {};
2132
+ C: {};
2133
+ M: {};
2134
+ Defaults: {};
2135
+ }, Readonly<{
2136
+ width?: number;
2137
+ visible?: boolean;
2138
+ } & {
2139
+ content: CodeBlockContent;
2140
+ disabled?: boolean;
2141
+ isDataSource?: boolean;
2142
+ dataSourceType?: string;
2143
+ }> & Readonly<{
2144
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2145
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2146
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2147
+ }>, {
2148
+ show(): Promise<void>;
2149
+ hide(): Promise<void>;
2150
+ }, {}, {}, {}, {}> | undefined>;
2151
+ createCodeBlock: () => Promise<void>;
2152
+ editCode: (id: string) => Promise<void>;
2153
+ deleteCode: (key: string) => Promise<void>;
2154
+ submitCodeBlockHandler: (values: CodeBlockContent) => Promise<void>;
2155
+ };
2156
+
2157
+ declare const useStage: (stageOptions: StageOptions) => StageCore__default;
2158
+
2159
+ interface State {
2160
+ status: boolean;
2161
+ top: number;
2162
+ left: number;
2163
+ }
2164
+ declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
2165
+ dragstartHandler: (e: DragEvent) => void;
2166
+ dragendHandler: (key: string, e: DragEvent) => void;
2167
+ floatBoxStates: vue.Ref<{
2168
+ [x: string]: State;
2169
+ }, {
2170
+ [x: string]: State;
2171
+ }>;
2172
+ showingBoxKeys: ComputedRef<string[]>;
2173
+ };
2174
+
2175
+ declare const useWindowRect: () => {
2176
+ rect: {
2177
+ width: number;
2178
+ height: number;
2179
+ };
2180
+ };
2181
+
2182
+ declare const useEditorContentHeight: () => {
2183
+ height: vue.Ref<number, number>;
2184
+ };
2185
+
2186
+ declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<Id, LayerNodeStatus> | undefined>, filterNodeMethod: (value: string, data: MNode) => boolean) => {
2187
+ filterText: Ref<string, string>;
2188
+ filterTextChangeHandler(text: string | string[]): void;
2189
+ };
2190
+
2191
+ declare const useGetSo: (target: Ref<HTMLElement | undefined>, emit: (evt: "change", e: OnDrag<gesto__default>) => void) => {
2192
+ isDraging: Ref<boolean, boolean>;
2193
+ };
2194
+
2195
+ declare const useNextFloatBoxPosition: (uiService?: UiService, parent?: Ref<HTMLDivElement | null>) => {
2196
+ boxPosition: Ref<{
2197
+ left: number;
2198
+ top: number;
2199
+ }, {
2200
+ left: number;
2201
+ top: number;
2202
+ } | {
2203
+ left: number;
2204
+ top: number;
2205
+ }>;
2206
+ calcBoxPosition: () => void;
2207
+ };
2208
+
2209
+ declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
2210
+ nodeStatusMap: vue.Ref<Map<Id, {
2211
+ visible: boolean;
2212
+ expand: boolean;
2213
+ selected: boolean;
2214
+ draggable: boolean;
2215
+ }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>, Map<Id, LayerNodeStatus> | (Map<Id, {
2216
+ visible: boolean;
2217
+ expand: boolean;
2218
+ selected: boolean;
2219
+ draggable: boolean;
2220
+ }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
2221
+ };
2222
+
2223
+ declare const setEditorConfig: (option: EditorInstallOptions) => void;
2224
+ declare const getEditorConfig: <K extends keyof EditorInstallOptions>(key: K) => EditorInstallOptions[K];
2225
+
2226
+ declare const arrayOptions: {
2227
+ text: string;
2228
+ value: string;
2229
+ }[];
2230
+ declare const eqOptions: {
2231
+ text: string;
2232
+ value: string;
2233
+ }[];
2234
+ declare const numberOptions: {
2235
+ text: string;
2236
+ value: string;
2237
+ }[];
2238
+ declare const styleTabConfig: TabPaneConfig$1;
2239
+ declare const eventTabConfig: TabPaneConfig$1;
2240
+ declare const advancedTabConfig: TabPaneConfig$1;
2241
+ declare const displayTabConfig: TabPaneConfig$1;
2242
+ /**
2243
+ * 统一为组件属性表单加上事件、高级、样式配置
2244
+ * @param config 组件属性配置
2245
+ * @returns Object
2246
+ */
2247
+ declare const fillConfig: (config?: FormConfig$1, labelWidth?: string) => FormConfig$1;
2248
+
2249
+ declare const log: (...args: any[]) => void;
2250
+ declare const info: (...args: any[]) => void;
2251
+ declare const warn: (...args: any[]) => void;
2252
+ declare const debug: (...args: any[]) => void;
2253
+ declare const error: (...args: any[]) => void;
2254
+
2255
+ declare const COPY_STORAGE_KEY = "$MagicEditorCopyData";
2256
+ declare const COPY_CODE_STORAGE_KEY = "$MagicEditorCopyCode";
2257
+ declare const COPY_DS_STORAGE_KEY = "$MagicEditorCopyDataSource";
2258
+ /**
2259
+ * 获取所有页面配置
2260
+ * @param root DSL跟节点
2261
+ * @returns 所有页面配置
2262
+ */
2263
+ declare const getPageList: (root?: MApp | null) => MPage[];
2264
+ declare const getPageFragmentList: (root?: MApp | null) => MPageFragment[];
2265
+ /**
2266
+ * 获取所有页面名称
2267
+ * @param pages 所有页面配置
2268
+ * @returns 所有页面名称
2269
+ */
2270
+ declare const getPageNameList: (pages: (MPage | MPageFragment)[]) => string[];
2271
+ /**
2272
+ * 新增页面时,生成页面名称
2273
+ * @param {Object} pageNameList 所有页面名称
2274
+ * @returns {string}
2275
+ */
2276
+ declare const generatePageName: (pageNameList: string[], type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
2277
+ /**
2278
+ * 新增页面时,生成页面名称
2279
+ * @param {Object} app 所有页面配置
2280
+ * @returns {string}
2281
+ */
2282
+ declare const generatePageNameByApp: (app: MApp, type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
2283
+ declare const getNodeIndex: (id: Id, parent: MContainer | MApp) => number;
2284
+ declare const getRelativeStyle: (style?: Record<string, any>) => Record<string, any>;
2285
+ declare const getInitPositionStyle: (style: Record<string, any> | undefined, layout: Layout) => Record<string, any>;
2286
+ declare const setChildrenLayout: (node: MContainer, layout: Layout) => MContainer;
2287
+ declare const setLayout: (node: MNode, layout: Layout) => _tmagic_schema.MComponent | undefined;
2288
+ declare const change2Fixed: (node: MNode, root: MApp) => {
2289
+ left: number;
2290
+ top: number;
2291
+ };
2292
+ declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
2293
+ declare const getGuideLineFromCache: (key: string) => number[];
2294
+ declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any;
2295
+ declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) => {
2296
+ [key: string]: any;
2297
+ } | undefined;
2298
+ declare const serializeConfig: (config: any) => string;
2299
+ declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
2300
+ declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
2301
+
2302
+ /**
2303
+ * 粘贴前置操作:返回分配了新id以及校准了坐标的配置
2304
+ * @param position 粘贴的坐标
2305
+ * @param config 待粘贴的元素配置(复制时保存的那份配置)
2306
+ * @returns
2307
+ */
2308
+ declare const beforePaste: (position: PastePosition, config: MNode[], doc?: Document) => MNode[];
2309
+ /**
2310
+ * 将元素粘贴到容器内时,将相对于画布坐标转换为相对于容器的坐标
2311
+ * @param position PastePosition 粘贴时相对于画布的坐标
2312
+ * @param id 元素id
2313
+ * @returns PastePosition 转换后的坐标
2314
+ */
2315
+ declare const getPositionInContainer: (position: PastePosition | undefined, id: Id, doc?: Document) => {
2316
+ left: number;
2317
+ top: number;
2318
+ };
2319
+ declare const getAddParent: (node: MNode) => MContainer | null | undefined;
2320
+ declare const getDefaultConfig: (addNode: AddMNode, parentNode: MContainer) => Promise<any>;
2321
+
2322
+ declare const getFormConfig: (type: string, configs: Record<string, FormConfig$1>) => FormConfig$1;
2323
+ declare const getFormValue: (type: string, values: Partial<DataSourceSchema>) => Partial<DataSourceSchema>;
2324
+ declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) => {
2325
+ value: string;
2326
+ type: "var" | "text";
2327
+ }[];
2328
+ declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption$1[];
2329
+ declare const removeDataSourceFieldPrefix: (id?: string) => string;
2330
+
2331
+ interface IdleTaskEvents {
2332
+ finish: [];
2333
+ }
2334
+ declare class IdleTask<T = any> extends EventEmitter {
2335
+ private taskList;
2336
+ private taskHandle;
2337
+ constructor();
2338
+ enqueueTask(taskHandler: (data: T) => void, taskData: T): void;
2339
+ clearTasks(): void;
2340
+ on<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
2341
+ once<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
2342
+ emit<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, ...args: Param): boolean;
2343
+ private runTaskQueue;
2344
+ }
2345
+
2346
+ interface ScrollViewerOptions {
2347
+ container: HTMLDivElement;
2348
+ target: HTMLDivElement;
2349
+ zoom: number;
2350
+ correctionScrollSize?: {
2351
+ width: number;
2352
+ height: number;
2353
+ };
2354
+ }
2355
+ declare class ScrollViewer extends EventEmitter {
2356
+ private container;
2357
+ private target;
2358
+ private zoom;
2359
+ private scrollLeft;
2360
+ private scrollTop;
2361
+ private scrollHeight;
2362
+ private scrollWidth;
2363
+ private width;
2364
+ private height;
2365
+ private translateXCorrectionValue;
2366
+ private translateYCorrectionValue;
2367
+ private correctionScrollSize;
2368
+ private resizeObserver;
2369
+ constructor(options: ScrollViewerOptions);
2370
+ destroy(): void;
2371
+ setZoom(zoom: number): void;
2372
+ scrollTo({ left, top }: {
2373
+ left?: number;
2374
+ top?: number;
2375
+ }): void;
2376
+ private wheelHandler;
2377
+ private getPos;
2378
+ private setScrollSize;
2379
+ private setSize;
2380
+ }
2381
+
2382
+ declare const updateStatus: (nodeStatusMap: Map<Id, LayerNodeStatus>, id: Id, status: Partial<LayerNodeStatus>) => void;
2483
2383
 
2484
2384
  interface EditorProps {
2485
2385
  /** 页面初始值 */
@@ -2569,6 +2469,7 @@ interface EditorProps {
2569
2469
  }
2570
2470
 
2571
2471
  declare function __VLS_template$b(): {
2472
+ attrs: Partial<{}>;
2572
2473
  slots: Readonly<FrameworkSlots & WorkspaceSlots & LayerPanelSlots & CodeBlockListPanelSlots & ComponentListPanelSlots & DataSourceListSlots & PropsPanelSlots & {
2573
2474
  workspace(props: {
2574
2475
  editorService: EditorService;
@@ -2585,7 +2486,7 @@ declare function __VLS_template$b(): {
2585
2486
  }): any;
2586
2487
  };
2587
2488
  refs: {};
2588
- attrs: Partial<{}>;
2489
+ rootEl: HTMLDivElement;
2589
2490
  };
2590
2491
  type __VLS_TemplateResult$b = ReturnType<typeof __VLS_template$b>;
2591
2492
  declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
@@ -2602,7 +2503,8 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2602
2503
  keybindingService: KeybindingService;
2603
2504
  stageOverlayService: StageOverlayService;
2604
2505
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2605
- 'props-panel-mounted': (instance: {
2506
+ "update:modelValue": (value: MApp | null) => any;
2507
+ "props-panel-mounted": (instance: {
2606
2508
  $: vue.ComponentInternalInstance;
2607
2509
  $data: {};
2608
2510
  $props: {
@@ -2611,14 +2513,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2611
2513
  readonly onMounted?: ((...args: any[]) => any) | undefined;
2612
2514
  readonly "onSubmit-error"?: ((...args: any[]) => any) | undefined;
2613
2515
  readonly "onForm-error"?: ((...args: any[]) => any) | undefined;
2614
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
2615
- disabledShowSrc?: boolean;
2616
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2617
- }> & Readonly<{
2618
- onMounted?: ((...args: any[]) => any) | undefined;
2619
- "onSubmit-error"?: ((...args: any[]) => any) | undefined;
2620
- "onForm-error"?: ((...args: any[]) => any) | undefined;
2621
- }>;
2516
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
2622
2517
  $attrs: {
2623
2518
  [x: string]: unknown;
2624
2519
  };
@@ -2632,7 +2527,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2632
2527
  $parent: vue.ComponentPublicInstance | null;
2633
2528
  $host: Element | null;
2634
2529
  $emit: ((event: "mounted", ...args: any[]) => void) & ((event: "submit-error", ...args: any[]) => void) & ((event: "form-error", ...args: any[]) => void);
2635
- $el: any;
2530
+ $el: HTMLDivElement;
2636
2531
  $options: vue.ComponentOptionsBase<Readonly<{
2637
2532
  disabledShowSrc?: boolean;
2638
2533
  extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
@@ -2661,6 +2556,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2661
2556
  }> & Readonly<{
2662
2557
  onChange?: ((...args: any[]) => any) | undefined;
2663
2558
  onError?: ((...args: any[]) => any) | undefined;
2559
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2664
2560
  "onField-change"?: ((...args: any[]) => any) | undefined;
2665
2561
  "onField-input"?: ((...args: any[]) => any) | undefined;
2666
2562
  }>, {
@@ -2668,37 +2564,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2668
2564
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2669
2565
  formState: FormState;
2670
2566
  initialized: vue.Ref<boolean, boolean>;
2671
- changeHandler: () => void;
2672
- resetForm: () => any;
2567
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2568
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2569
+ resetForm: () => void;
2673
2570
  submitForm: (native?: boolean) => Promise<any>;
2674
2571
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2675
2572
  change: (...args: any[]) => void;
2676
2573
  error: (...args: any[]) => void;
2574
+ "update:stepActive": (...args: any[]) => void;
2677
2575
  "field-change": (...args: any[]) => void;
2678
2576
  "field-input": (...args: any[]) => void;
2679
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
2680
- config: FormConfig;
2681
- initValues: Record<string, any>;
2682
- lastValues?: Record<string, any>;
2683
- isCompare?: boolean;
2684
- parentValues?: Record<string, any>;
2685
- labelWidth?: string;
2686
- disabled?: boolean;
2687
- height?: string;
2688
- stepActive?: string | number;
2689
- size?: "small" | "default" | "large";
2690
- inline?: boolean;
2691
- labelPosition?: string;
2692
- keyProp?: string;
2693
- popperClass?: string;
2694
- preventSubmitDefault?: boolean;
2695
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2696
- }> & Readonly<{
2697
- onChange?: ((...args: any[]) => any) | undefined;
2698
- onError?: ((...args: any[]) => any) | undefined;
2699
- "onField-change"?: ((...args: any[]) => any) | undefined;
2700
- "onField-input"?: ((...args: any[]) => any) | undefined;
2701
- }>, {
2577
+ }, vue.PublicProps, {
2702
2578
  disabled: boolean;
2703
2579
  labelWidth: string;
2704
2580
  inline: boolean;
@@ -2711,7 +2587,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2711
2587
  parentValues: Record<string, any>;
2712
2588
  stepActive: string | number;
2713
2589
  height: string;
2714
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2590
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2715
2591
  P: {};
2716
2592
  B: {};
2717
2593
  D: {};
@@ -2738,6 +2614,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2738
2614
  }> & Readonly<{
2739
2615
  onChange?: ((...args: any[]) => any) | undefined;
2740
2616
  onError?: ((...args: any[]) => any) | undefined;
2617
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2741
2618
  "onField-change"?: ((...args: any[]) => any) | undefined;
2742
2619
  "onField-input"?: ((...args: any[]) => any) | undefined;
2743
2620
  }>, {
@@ -2745,8 +2622,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2745
2622
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2746
2623
  formState: FormState;
2747
2624
  initialized: vue.Ref<boolean, boolean>;
2748
- changeHandler: () => void;
2749
- resetForm: () => any;
2625
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2626
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2627
+ resetForm: () => void;
2750
2628
  submitForm: (native?: boolean) => Promise<any>;
2751
2629
  }, {}, {}, {}, {
2752
2630
  disabled: boolean;
@@ -2781,6 +2659,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2781
2659
  }> & Readonly<{
2782
2660
  onChange?: ((...args: any[]) => any) | undefined;
2783
2661
  onError?: ((...args: any[]) => any) | undefined;
2662
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2784
2663
  "onField-change"?: ((...args: any[]) => any) | undefined;
2785
2664
  "onField-input"?: ((...args: any[]) => any) | undefined;
2786
2665
  }>, {
@@ -2788,37 +2667,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2788
2667
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2789
2668
  formState: FormState;
2790
2669
  initialized: vue.Ref<boolean, boolean>;
2791
- changeHandler: () => void;
2792
- resetForm: () => any;
2670
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2671
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2672
+ resetForm: () => void;
2793
2673
  submitForm: (native?: boolean) => Promise<any>;
2794
2674
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2795
2675
  change: (...args: any[]) => void;
2796
2676
  error: (...args: any[]) => void;
2677
+ "update:stepActive": (...args: any[]) => void;
2797
2678
  "field-change": (...args: any[]) => void;
2798
2679
  "field-input": (...args: any[]) => void;
2799
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
2800
- config: FormConfig;
2801
- initValues: Record<string, any>;
2802
- lastValues?: Record<string, any>;
2803
- isCompare?: boolean;
2804
- parentValues?: Record<string, any>;
2805
- labelWidth?: string;
2806
- disabled?: boolean;
2807
- height?: string;
2808
- stepActive?: string | number;
2809
- size?: "small" | "default" | "large";
2810
- inline?: boolean;
2811
- labelPosition?: string;
2812
- keyProp?: string;
2813
- popperClass?: string;
2814
- preventSubmitDefault?: boolean;
2815
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2816
- }> & Readonly<{
2817
- onChange?: ((...args: any[]) => any) | undefined;
2818
- onError?: ((...args: any[]) => any) | undefined;
2819
- "onField-change"?: ((...args: any[]) => any) | undefined;
2820
- "onField-input"?: ((...args: any[]) => any) | undefined;
2821
- }>, {
2680
+ }, vue.PublicProps, {
2822
2681
  disabled: boolean;
2823
2682
  labelWidth: string;
2824
2683
  inline: boolean;
@@ -2831,7 +2690,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2831
2690
  parentValues: Record<string, any>;
2832
2691
  stepActive: string | number;
2833
2692
  height: string;
2834
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2693
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2835
2694
  P: {};
2836
2695
  B: {};
2837
2696
  D: {};
@@ -2858,6 +2717,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2858
2717
  }> & Readonly<{
2859
2718
  onChange?: ((...args: any[]) => any) | undefined;
2860
2719
  onError?: ((...args: any[]) => any) | undefined;
2720
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2861
2721
  "onField-change"?: ((...args: any[]) => any) | undefined;
2862
2722
  "onField-input"?: ((...args: any[]) => any) | undefined;
2863
2723
  }>, {
@@ -2865,8 +2725,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2865
2725
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2866
2726
  formState: FormState;
2867
2727
  initialized: vue.Ref<boolean, boolean>;
2868
- changeHandler: () => void;
2869
- resetForm: () => any;
2728
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2729
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2730
+ resetForm: () => void;
2870
2731
  submitForm: (native?: boolean) => Promise<any>;
2871
2732
  }, {}, {}, {}, {
2872
2733
  disabled: boolean;
@@ -2882,7 +2743,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2882
2743
  stepActive: string | number;
2883
2744
  height: string;
2884
2745
  }> | undefined>;
2885
- submit: () => Promise<void>;
2746
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2886
2747
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2887
2748
  mounted: (...args: any[]) => void;
2888
2749
  "submit-error": (...args: any[]) => void;
@@ -2935,6 +2796,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2935
2796
  }> & Readonly<{
2936
2797
  onChange?: ((...args: any[]) => any) | undefined;
2937
2798
  onError?: ((...args: any[]) => any) | undefined;
2799
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2938
2800
  "onField-change"?: ((...args: any[]) => any) | undefined;
2939
2801
  "onField-input"?: ((...args: any[]) => any) | undefined;
2940
2802
  }>, {
@@ -2942,37 +2804,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2942
2804
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2943
2805
  formState: FormState;
2944
2806
  initialized: vue.Ref<boolean, boolean>;
2945
- changeHandler: () => void;
2946
- resetForm: () => any;
2807
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2808
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2809
+ resetForm: () => void;
2947
2810
  submitForm: (native?: boolean) => Promise<any>;
2948
2811
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2949
2812
  change: (...args: any[]) => void;
2950
2813
  error: (...args: any[]) => void;
2814
+ "update:stepActive": (...args: any[]) => void;
2951
2815
  "field-change": (...args: any[]) => void;
2952
2816
  "field-input": (...args: any[]) => void;
2953
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
2954
- config: FormConfig;
2955
- initValues: Record<string, any>;
2956
- lastValues?: Record<string, any>;
2957
- isCompare?: boolean;
2958
- parentValues?: Record<string, any>;
2959
- labelWidth?: string;
2960
- disabled?: boolean;
2961
- height?: string;
2962
- stepActive?: string | number;
2963
- size?: "small" | "default" | "large";
2964
- inline?: boolean;
2965
- labelPosition?: string;
2966
- keyProp?: string;
2967
- popperClass?: string;
2968
- preventSubmitDefault?: boolean;
2969
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2970
- }> & Readonly<{
2971
- onChange?: ((...args: any[]) => any) | undefined;
2972
- onError?: ((...args: any[]) => any) | undefined;
2973
- "onField-change"?: ((...args: any[]) => any) | undefined;
2974
- "onField-input"?: ((...args: any[]) => any) | undefined;
2975
- }>, {
2817
+ }, vue.PublicProps, {
2976
2818
  disabled: boolean;
2977
2819
  labelWidth: string;
2978
2820
  inline: boolean;
@@ -2985,7 +2827,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2985
2827
  parentValues: Record<string, any>;
2986
2828
  stepActive: string | number;
2987
2829
  height: string;
2988
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2830
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2989
2831
  P: {};
2990
2832
  B: {};
2991
2833
  D: {};
@@ -3012,6 +2854,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3012
2854
  }> & Readonly<{
3013
2855
  onChange?: ((...args: any[]) => any) | undefined;
3014
2856
  onError?: ((...args: any[]) => any) | undefined;
2857
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3015
2858
  "onField-change"?: ((...args: any[]) => any) | undefined;
3016
2859
  "onField-input"?: ((...args: any[]) => any) | undefined;
3017
2860
  }>, {
@@ -3019,8 +2862,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3019
2862
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3020
2863
  formState: FormState;
3021
2864
  initialized: vue.Ref<boolean, boolean>;
3022
- changeHandler: () => void;
3023
- resetForm: () => any;
2865
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2866
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2867
+ resetForm: () => void;
3024
2868
  submitForm: (native?: boolean) => Promise<any>;
3025
2869
  }, {}, {}, {}, {
3026
2870
  disabled: boolean;
@@ -3055,6 +2899,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3055
2899
  }> & Readonly<{
3056
2900
  onChange?: ((...args: any[]) => any) | undefined;
3057
2901
  onError?: ((...args: any[]) => any) | undefined;
2902
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3058
2903
  "onField-change"?: ((...args: any[]) => any) | undefined;
3059
2904
  "onField-input"?: ((...args: any[]) => any) | undefined;
3060
2905
  }>, {
@@ -3062,37 +2907,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3062
2907
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3063
2908
  formState: FormState;
3064
2909
  initialized: vue.Ref<boolean, boolean>;
3065
- changeHandler: () => void;
3066
- resetForm: () => any;
2910
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2911
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2912
+ resetForm: () => void;
3067
2913
  submitForm: (native?: boolean) => Promise<any>;
3068
2914
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3069
2915
  change: (...args: any[]) => void;
3070
2916
  error: (...args: any[]) => void;
2917
+ "update:stepActive": (...args: any[]) => void;
3071
2918
  "field-change": (...args: any[]) => void;
3072
2919
  "field-input": (...args: any[]) => void;
3073
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3074
- config: FormConfig;
3075
- initValues: Record<string, any>;
3076
- lastValues?: Record<string, any>;
3077
- isCompare?: boolean;
3078
- parentValues?: Record<string, any>;
3079
- labelWidth?: string;
3080
- disabled?: boolean;
3081
- height?: string;
3082
- stepActive?: string | number;
3083
- size?: "small" | "default" | "large";
3084
- inline?: boolean;
3085
- labelPosition?: string;
3086
- keyProp?: string;
3087
- popperClass?: string;
3088
- preventSubmitDefault?: boolean;
3089
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3090
- }> & Readonly<{
3091
- onChange?: ((...args: any[]) => any) | undefined;
3092
- onError?: ((...args: any[]) => any) | undefined;
3093
- "onField-change"?: ((...args: any[]) => any) | undefined;
3094
- "onField-input"?: ((...args: any[]) => any) | undefined;
3095
- }>, {
2920
+ }, vue.PublicProps, {
3096
2921
  disabled: boolean;
3097
2922
  labelWidth: string;
3098
2923
  inline: boolean;
@@ -3105,7 +2930,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3105
2930
  parentValues: Record<string, any>;
3106
2931
  stepActive: string | number;
3107
2932
  height: string;
3108
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2933
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3109
2934
  P: {};
3110
2935
  B: {};
3111
2936
  D: {};
@@ -3132,6 +2957,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3132
2957
  }> & Readonly<{
3133
2958
  onChange?: ((...args: any[]) => any) | undefined;
3134
2959
  onError?: ((...args: any[]) => any) | undefined;
2960
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3135
2961
  "onField-change"?: ((...args: any[]) => any) | undefined;
3136
2962
  "onField-input"?: ((...args: any[]) => any) | undefined;
3137
2963
  }>, {
@@ -3139,8 +2965,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3139
2965
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3140
2966
  formState: FormState;
3141
2967
  initialized: vue.Ref<boolean, boolean>;
3142
- changeHandler: () => void;
3143
- resetForm: () => any;
2968
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2969
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2970
+ resetForm: () => void;
3144
2971
  submitForm: (native?: boolean) => Promise<any>;
3145
2972
  }, {}, {}, {}, {
3146
2973
  disabled: boolean;
@@ -3156,13 +2983,12 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3156
2983
  stepActive: string | number;
3157
2984
  height: string;
3158
2985
  }> | undefined>;
3159
- submit: () => Promise<void>;
2986
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3160
2987
  }> & {} & vue.ComponentCustomProperties & {} & {
3161
2988
  $slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
3162
2989
  }) => any;
3163
- 'update:modelValue': (value: MApp | null) => any;
3164
- 'props-form-error': (e: any) => any;
3165
- 'props-submit-error': (e: any) => any;
2990
+ "props-form-error": (e: any) => any;
2991
+ "props-submit-error": (e: any) => any;
3166
2992
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
3167
2993
  "onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
3168
2994
  "onProps-panel-mounted"?: ((instance: {
@@ -3174,14 +3000,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3174
3000
  readonly onMounted?: ((...args: any[]) => any) | undefined;
3175
3001
  readonly "onSubmit-error"?: ((...args: any[]) => any) | undefined;
3176
3002
  readonly "onForm-error"?: ((...args: any[]) => any) | undefined;
3177
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3178
- disabledShowSrc?: boolean;
3179
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3180
- }> & Readonly<{
3181
- onMounted?: ((...args: any[]) => any) | undefined;
3182
- "onSubmit-error"?: ((...args: any[]) => any) | undefined;
3183
- "onForm-error"?: ((...args: any[]) => any) | undefined;
3184
- }>;
3003
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
3185
3004
  $attrs: {
3186
3005
  [x: string]: unknown;
3187
3006
  };
@@ -3195,7 +3014,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3195
3014
  $parent: vue.ComponentPublicInstance | null;
3196
3015
  $host: Element | null;
3197
3016
  $emit: ((event: "mounted", ...args: any[]) => void) & ((event: "submit-error", ...args: any[]) => void) & ((event: "form-error", ...args: any[]) => void);
3198
- $el: any;
3017
+ $el: HTMLDivElement;
3199
3018
  $options: vue.ComponentOptionsBase<Readonly<{
3200
3019
  disabledShowSrc?: boolean;
3201
3020
  extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
@@ -3224,6 +3043,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3224
3043
  }> & Readonly<{
3225
3044
  onChange?: ((...args: any[]) => any) | undefined;
3226
3045
  onError?: ((...args: any[]) => any) | undefined;
3046
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3227
3047
  "onField-change"?: ((...args: any[]) => any) | undefined;
3228
3048
  "onField-input"?: ((...args: any[]) => any) | undefined;
3229
3049
  }>, {
@@ -3231,37 +3051,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3231
3051
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3232
3052
  formState: FormState;
3233
3053
  initialized: vue.Ref<boolean, boolean>;
3234
- changeHandler: () => void;
3235
- resetForm: () => any;
3054
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3055
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3056
+ resetForm: () => void;
3236
3057
  submitForm: (native?: boolean) => Promise<any>;
3237
3058
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3238
3059
  change: (...args: any[]) => void;
3239
3060
  error: (...args: any[]) => void;
3061
+ "update:stepActive": (...args: any[]) => void;
3240
3062
  "field-change": (...args: any[]) => void;
3241
3063
  "field-input": (...args: any[]) => void;
3242
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3243
- config: FormConfig;
3244
- initValues: Record<string, any>;
3245
- lastValues?: Record<string, any>;
3246
- isCompare?: boolean;
3247
- parentValues?: Record<string, any>;
3248
- labelWidth?: string;
3249
- disabled?: boolean;
3250
- height?: string;
3251
- stepActive?: string | number;
3252
- size?: "small" | "default" | "large";
3253
- inline?: boolean;
3254
- labelPosition?: string;
3255
- keyProp?: string;
3256
- popperClass?: string;
3257
- preventSubmitDefault?: boolean;
3258
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3259
- }> & Readonly<{
3260
- onChange?: ((...args: any[]) => any) | undefined;
3261
- onError?: ((...args: any[]) => any) | undefined;
3262
- "onField-change"?: ((...args: any[]) => any) | undefined;
3263
- "onField-input"?: ((...args: any[]) => any) | undefined;
3264
- }>, {
3064
+ }, vue.PublicProps, {
3265
3065
  disabled: boolean;
3266
3066
  labelWidth: string;
3267
3067
  inline: boolean;
@@ -3274,7 +3074,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3274
3074
  parentValues: Record<string, any>;
3275
3075
  stepActive: string | number;
3276
3076
  height: string;
3277
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3077
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3278
3078
  P: {};
3279
3079
  B: {};
3280
3080
  D: {};
@@ -3301,6 +3101,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3301
3101
  }> & Readonly<{
3302
3102
  onChange?: ((...args: any[]) => any) | undefined;
3303
3103
  onError?: ((...args: any[]) => any) | undefined;
3104
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3304
3105
  "onField-change"?: ((...args: any[]) => any) | undefined;
3305
3106
  "onField-input"?: ((...args: any[]) => any) | undefined;
3306
3107
  }>, {
@@ -3308,8 +3109,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3308
3109
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3309
3110
  formState: FormState;
3310
3111
  initialized: vue.Ref<boolean, boolean>;
3311
- changeHandler: () => void;
3312
- resetForm: () => any;
3112
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3113
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3114
+ resetForm: () => void;
3313
3115
  submitForm: (native?: boolean) => Promise<any>;
3314
3116
  }, {}, {}, {}, {
3315
3117
  disabled: boolean;
@@ -3344,6 +3146,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3344
3146
  }> & Readonly<{
3345
3147
  onChange?: ((...args: any[]) => any) | undefined;
3346
3148
  onError?: ((...args: any[]) => any) | undefined;
3149
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3347
3150
  "onField-change"?: ((...args: any[]) => any) | undefined;
3348
3151
  "onField-input"?: ((...args: any[]) => any) | undefined;
3349
3152
  }>, {
@@ -3351,37 +3154,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3351
3154
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3352
3155
  formState: FormState;
3353
3156
  initialized: vue.Ref<boolean, boolean>;
3354
- changeHandler: () => void;
3355
- resetForm: () => any;
3157
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3158
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3159
+ resetForm: () => void;
3356
3160
  submitForm: (native?: boolean) => Promise<any>;
3357
3161
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3358
3162
  change: (...args: any[]) => void;
3359
3163
  error: (...args: any[]) => void;
3164
+ "update:stepActive": (...args: any[]) => void;
3360
3165
  "field-change": (...args: any[]) => void;
3361
3166
  "field-input": (...args: any[]) => void;
3362
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3363
- config: FormConfig;
3364
- initValues: Record<string, any>;
3365
- lastValues?: Record<string, any>;
3366
- isCompare?: boolean;
3367
- parentValues?: Record<string, any>;
3368
- labelWidth?: string;
3369
- disabled?: boolean;
3370
- height?: string;
3371
- stepActive?: string | number;
3372
- size?: "small" | "default" | "large";
3373
- inline?: boolean;
3374
- labelPosition?: string;
3375
- keyProp?: string;
3376
- popperClass?: string;
3377
- preventSubmitDefault?: boolean;
3378
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3379
- }> & Readonly<{
3380
- onChange?: ((...args: any[]) => any) | undefined;
3381
- onError?: ((...args: any[]) => any) | undefined;
3382
- "onField-change"?: ((...args: any[]) => any) | undefined;
3383
- "onField-input"?: ((...args: any[]) => any) | undefined;
3384
- }>, {
3167
+ }, vue.PublicProps, {
3385
3168
  disabled: boolean;
3386
3169
  labelWidth: string;
3387
3170
  inline: boolean;
@@ -3394,7 +3177,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3394
3177
  parentValues: Record<string, any>;
3395
3178
  stepActive: string | number;
3396
3179
  height: string;
3397
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3180
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3398
3181
  P: {};
3399
3182
  B: {};
3400
3183
  D: {};
@@ -3421,6 +3204,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3421
3204
  }> & Readonly<{
3422
3205
  onChange?: ((...args: any[]) => any) | undefined;
3423
3206
  onError?: ((...args: any[]) => any) | undefined;
3207
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3424
3208
  "onField-change"?: ((...args: any[]) => any) | undefined;
3425
3209
  "onField-input"?: ((...args: any[]) => any) | undefined;
3426
3210
  }>, {
@@ -3428,8 +3212,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3428
3212
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3429
3213
  formState: FormState;
3430
3214
  initialized: vue.Ref<boolean, boolean>;
3431
- changeHandler: () => void;
3432
- resetForm: () => any;
3215
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3216
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3217
+ resetForm: () => void;
3433
3218
  submitForm: (native?: boolean) => Promise<any>;
3434
3219
  }, {}, {}, {}, {
3435
3220
  disabled: boolean;
@@ -3445,7 +3230,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3445
3230
  stepActive: string | number;
3446
3231
  height: string;
3447
3232
  }> | undefined>;
3448
- submit: () => Promise<void>;
3233
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3449
3234
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3450
3235
  mounted: (...args: any[]) => void;
3451
3236
  "submit-error": (...args: any[]) => void;
@@ -3498,6 +3283,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3498
3283
  }> & Readonly<{
3499
3284
  onChange?: ((...args: any[]) => any) | undefined;
3500
3285
  onError?: ((...args: any[]) => any) | undefined;
3286
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3501
3287
  "onField-change"?: ((...args: any[]) => any) | undefined;
3502
3288
  "onField-input"?: ((...args: any[]) => any) | undefined;
3503
3289
  }>, {
@@ -3505,37 +3291,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3505
3291
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3506
3292
  formState: FormState;
3507
3293
  initialized: vue.Ref<boolean, boolean>;
3508
- changeHandler: () => void;
3509
- resetForm: () => any;
3294
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3295
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3296
+ resetForm: () => void;
3510
3297
  submitForm: (native?: boolean) => Promise<any>;
3511
3298
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3512
3299
  change: (...args: any[]) => void;
3513
3300
  error: (...args: any[]) => void;
3301
+ "update:stepActive": (...args: any[]) => void;
3514
3302
  "field-change": (...args: any[]) => void;
3515
3303
  "field-input": (...args: any[]) => void;
3516
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3517
- config: FormConfig;
3518
- initValues: Record<string, any>;
3519
- lastValues?: Record<string, any>;
3520
- isCompare?: boolean;
3521
- parentValues?: Record<string, any>;
3522
- labelWidth?: string;
3523
- disabled?: boolean;
3524
- height?: string;
3525
- stepActive?: string | number;
3526
- size?: "small" | "default" | "large";
3527
- inline?: boolean;
3528
- labelPosition?: string;
3529
- keyProp?: string;
3530
- popperClass?: string;
3531
- preventSubmitDefault?: boolean;
3532
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3533
- }> & Readonly<{
3534
- onChange?: ((...args: any[]) => any) | undefined;
3535
- onError?: ((...args: any[]) => any) | undefined;
3536
- "onField-change"?: ((...args: any[]) => any) | undefined;
3537
- "onField-input"?: ((...args: any[]) => any) | undefined;
3538
- }>, {
3304
+ }, vue.PublicProps, {
3539
3305
  disabled: boolean;
3540
3306
  labelWidth: string;
3541
3307
  inline: boolean;
@@ -3548,7 +3314,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3548
3314
  parentValues: Record<string, any>;
3549
3315
  stepActive: string | number;
3550
3316
  height: string;
3551
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3317
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3552
3318
  P: {};
3553
3319
  B: {};
3554
3320
  D: {};
@@ -3575,6 +3341,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3575
3341
  }> & Readonly<{
3576
3342
  onChange?: ((...args: any[]) => any) | undefined;
3577
3343
  onError?: ((...args: any[]) => any) | undefined;
3344
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3578
3345
  "onField-change"?: ((...args: any[]) => any) | undefined;
3579
3346
  "onField-input"?: ((...args: any[]) => any) | undefined;
3580
3347
  }>, {
@@ -3582,8 +3349,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3582
3349
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3583
3350
  formState: FormState;
3584
3351
  initialized: vue.Ref<boolean, boolean>;
3585
- changeHandler: () => void;
3586
- resetForm: () => any;
3352
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3353
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3354
+ resetForm: () => void;
3587
3355
  submitForm: (native?: boolean) => Promise<any>;
3588
3356
  }, {}, {}, {}, {
3589
3357
  disabled: boolean;
@@ -3618,6 +3386,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3618
3386
  }> & Readonly<{
3619
3387
  onChange?: ((...args: any[]) => any) | undefined;
3620
3388
  onError?: ((...args: any[]) => any) | undefined;
3389
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3621
3390
  "onField-change"?: ((...args: any[]) => any) | undefined;
3622
3391
  "onField-input"?: ((...args: any[]) => any) | undefined;
3623
3392
  }>, {
@@ -3625,37 +3394,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3625
3394
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3626
3395
  formState: FormState;
3627
3396
  initialized: vue.Ref<boolean, boolean>;
3628
- changeHandler: () => void;
3629
- resetForm: () => any;
3397
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3398
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3399
+ resetForm: () => void;
3630
3400
  submitForm: (native?: boolean) => Promise<any>;
3631
3401
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3632
3402
  change: (...args: any[]) => void;
3633
3403
  error: (...args: any[]) => void;
3404
+ "update:stepActive": (...args: any[]) => void;
3634
3405
  "field-change": (...args: any[]) => void;
3635
3406
  "field-input": (...args: any[]) => void;
3636
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3637
- config: FormConfig;
3638
- initValues: Record<string, any>;
3639
- lastValues?: Record<string, any>;
3640
- isCompare?: boolean;
3641
- parentValues?: Record<string, any>;
3642
- labelWidth?: string;
3643
- disabled?: boolean;
3644
- height?: string;
3645
- stepActive?: string | number;
3646
- size?: "small" | "default" | "large";
3647
- inline?: boolean;
3648
- labelPosition?: string;
3649
- keyProp?: string;
3650
- popperClass?: string;
3651
- preventSubmitDefault?: boolean;
3652
- extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3653
- }> & Readonly<{
3654
- onChange?: ((...args: any[]) => any) | undefined;
3655
- onError?: ((...args: any[]) => any) | undefined;
3656
- "onField-change"?: ((...args: any[]) => any) | undefined;
3657
- "onField-input"?: ((...args: any[]) => any) | undefined;
3658
- }>, {
3407
+ }, vue.PublicProps, {
3659
3408
  disabled: boolean;
3660
3409
  labelWidth: string;
3661
3410
  inline: boolean;
@@ -3668,7 +3417,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3668
3417
  parentValues: Record<string, any>;
3669
3418
  stepActive: string | number;
3670
3419
  height: string;
3671
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3420
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3672
3421
  P: {};
3673
3422
  B: {};
3674
3423
  D: {};
@@ -3695,6 +3444,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3695
3444
  }> & Readonly<{
3696
3445
  onChange?: ((...args: any[]) => any) | undefined;
3697
3446
  onError?: ((...args: any[]) => any) | undefined;
3447
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3698
3448
  "onField-change"?: ((...args: any[]) => any) | undefined;
3699
3449
  "onField-input"?: ((...args: any[]) => any) | undefined;
3700
3450
  }>, {
@@ -3702,8 +3452,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3702
3452
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3703
3453
  formState: FormState;
3704
3454
  initialized: vue.Ref<boolean, boolean>;
3705
- changeHandler: () => void;
3706
- resetForm: () => any;
3455
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3456
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3457
+ resetForm: () => void;
3707
3458
  submitForm: (native?: boolean) => Promise<any>;
3708
3459
  }, {}, {}, {}, {
3709
3460
  disabled: boolean;
@@ -3719,7 +3470,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3719
3470
  stepActive: string | number;
3720
3471
  height: string;
3721
3472
  }> | undefined>;
3722
- submit: () => Promise<void>;
3473
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3723
3474
  }> & {} & vue.ComponentCustomProperties & {} & {
3724
3475
  $slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
3725
3476
  }) => any) | undefined;
@@ -3752,7 +3503,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3752
3503
  containerHighlightDuration: number;
3753
3504
  containerHighlightType: StageCore.ContainerHighlightType;
3754
3505
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
3755
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3506
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
3756
3507
  declare const _default$v: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
3757
3508
 
3758
3509
  type __VLS_WithTemplateSlots$b<T, S> = T & {
@@ -3761,10 +3512,10 @@ type __VLS_WithTemplateSlots$b<T, S> = T & {
3761
3512
  };
3762
3513
  };
3763
3514
 
3764
- declare const _default$u: vue.DefineComponent<{
3515
+ type __VLS_Props$r = {
3765
3516
  initValues?: any;
3766
3517
  modifiedValues?: any;
3767
- type?: "diff";
3518
+ type?: 'diff';
3768
3519
  language?: string;
3769
3520
  options?: {
3770
3521
  [key: string]: any;
@@ -3772,7 +3523,8 @@ declare const _default$u: vue.DefineComponent<{
3772
3523
  height?: string;
3773
3524
  autoSave?: boolean;
3774
3525
  parse?: boolean;
3775
- }, {
3526
+ };
3527
+ declare const _default$u: vue.DefineComponent<__VLS_Props$r, {
3776
3528
  values: vue.Ref<string, string>;
3777
3529
  getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
3778
3530
  getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
@@ -3783,18 +3535,7 @@ declare const _default$u: vue.DefineComponent<{
3783
3535
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3784
3536
  save: (...args: any[]) => void;
3785
3537
  initd: (...args: any[]) => void;
3786
- }, string, vue.PublicProps, Readonly<{
3787
- initValues?: any;
3788
- modifiedValues?: any;
3789
- type?: "diff";
3790
- language?: string;
3791
- options?: {
3792
- [key: string]: any;
3793
- };
3794
- height?: string;
3795
- autoSave?: boolean;
3796
- parse?: boolean;
3797
- }> & Readonly<{
3538
+ }, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
3798
3539
  onSave?: ((...args: any[]) => any) | undefined;
3799
3540
  onInitd?: ((...args: any[]) => any) | undefined;
3800
3541
  }>, {
@@ -3805,15 +3546,16 @@ declare const _default$u: vue.DefineComponent<{
3805
3546
  parse: boolean;
3806
3547
  language: string;
3807
3548
  autoSave: boolean;
3808
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3549
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
3809
3550
 
3810
3551
  declare function __VLS_template$a(): {
3552
+ attrs: Partial<{}>;
3811
3553
  slots: Readonly<ComponentListPanelSlots> & ComponentListPanelSlots;
3812
3554
  refs: {};
3813
- attrs: Partial<{}>;
3555
+ rootEl: any;
3814
3556
  };
3815
3557
  type __VLS_TemplateResult$a = ReturnType<typeof __VLS_template$a>;
3816
- declare const __VLS_component$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}>;
3558
+ declare const __VLS_component$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
3817
3559
  declare const _default$t: __VLS_WithTemplateSlots$a<typeof __VLS_component$a, __VLS_TemplateResult$a["slots"]>;
3818
3560
 
3819
3561
  type __VLS_WithTemplateSlots$a<T, S> = T & {
@@ -3822,7 +3564,14 @@ type __VLS_WithTemplateSlots$a<T, S> = T & {
3822
3564
  };
3823
3565
  };
3824
3566
 
3567
+ type __VLS_Props$q = {
3568
+ layerContentMenu: (MenuButton | MenuComponent)[];
3569
+ indent?: number;
3570
+ nextLevelIndentIncrement?: number;
3571
+ customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3572
+ };
3825
3573
  declare function __VLS_template$9(): {
3574
+ attrs: Partial<{}>;
3826
3575
  slots: Readonly<LayerPanelSlots> & LayerPanelSlots;
3827
3576
  refs: {
3828
3577
  tree: ({
@@ -3833,29 +3582,15 @@ declare function __VLS_template$9(): {
3833
3582
  readonly nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
3834
3583
  readonly indent?: number | undefined;
3835
3584
  readonly nextLevelIndentIncrement?: number | undefined;
3836
- readonly emptyText?: string | undefined;
3837
- readonly "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3838
- readonly "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3839
- readonly "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3840
- readonly "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3841
- readonly "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3842
- readonly "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3843
- readonly "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3844
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3845
- data: TreeNodeData[];
3846
- nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
3847
- indent?: number;
3848
- nextLevelIndentIncrement?: number;
3849
- emptyText?: string;
3850
- }> & Readonly<{
3851
- "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3852
- "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3853
- "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3854
- "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3855
- "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3856
- "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3857
- "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3858
- }>;
3585
+ readonly emptyText?: string | undefined;
3586
+ readonly "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3587
+ readonly "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3588
+ readonly "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3589
+ readonly "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3590
+ readonly "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3591
+ readonly "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3592
+ readonly "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3593
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
3859
3594
  $attrs: {
3860
3595
  [x: string]: unknown;
3861
3596
  };
@@ -3869,7 +3604,7 @@ declare function __VLS_template$9(): {
3869
3604
  $parent: vue.ComponentPublicInstance | null;
3870
3605
  $host: Element | null;
3871
3606
  $emit: ((event: "node-click", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-contextmenu", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-dragstart", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-dragleave", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-dragend", event: DragEvent, data: TreeNodeData) => void) & ((event: "node-mouseenter", event: MouseEvent, data: TreeNodeData) => void) & ((event: "node-dragover", event: DragEvent) => void);
3872
- $el: any;
3607
+ $el: HTMLDivElement;
3873
3608
  $options: vue.ComponentOptionsBase<Readonly<{
3874
3609
  data: TreeNodeData[];
3875
3610
  nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
@@ -3885,13 +3620,13 @@ declare function __VLS_template$9(): {
3885
3620
  "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3886
3621
  "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3887
3622
  }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3888
- 'node-dragover': (event: DragEvent) => any;
3889
- 'node-dragstart': (event: DragEvent, data: TreeNodeData) => any;
3890
- 'node-dragleave': (event: DragEvent, data: TreeNodeData) => any;
3891
- 'node-dragend': (event: DragEvent, data: TreeNodeData) => any;
3892
- 'node-contextmenu': (event: MouseEvent, data: TreeNodeData) => any;
3893
- 'node-mouseenter': (event: MouseEvent, data: TreeNodeData) => any;
3894
- 'node-click': (event: MouseEvent, data: TreeNodeData) => any;
3623
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
3624
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
3625
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
3626
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
3627
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
3628
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
3629
+ "node-dragover": (event: DragEvent) => any;
3895
3630
  }, string, {
3896
3631
  emptyText: string;
3897
3632
  indent: number;
@@ -3963,16 +3698,11 @@ declare function __VLS_template$9(): {
3963
3698
  }>, {
3964
3699
  show: (e: MouseEvent) => void;
3965
3700
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3966
- 'collapse-all': () => any;
3967
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
3968
- layerContentMenu: (MenuButton | MenuComponent)[];
3969
- customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3970
- }> & Readonly<{
3971
- "onCollapse-all"?: (() => any) | undefined;
3972
- }>, {
3701
+ "collapse-all": () => any;
3702
+ }, vue.PublicProps, {
3973
3703
  layerContentMenu: (MenuButton | MenuComponent)[];
3974
3704
  customContentMenu: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3975
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3705
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3976
3706
  P: {};
3977
3707
  B: {};
3978
3708
  D: {};
@@ -3991,20 +3721,10 @@ declare function __VLS_template$9(): {
3991
3721
  customContentMenu: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3992
3722
  }> | null;
3993
3723
  };
3994
- attrs: Partial<{}>;
3724
+ rootEl: any;
3995
3725
  };
3996
3726
  type __VLS_TemplateResult$9 = ReturnType<typeof __VLS_template$9>;
3997
- declare const __VLS_component$9: vue.DefineComponent<{
3998
- layerContentMenu: (MenuButton | MenuComponent)[];
3999
- indent?: number;
4000
- nextLevelIndentIncrement?: number;
4001
- customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
4002
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
4003
- layerContentMenu: (MenuButton | MenuComponent)[];
4004
- indent?: number;
4005
- nextLevelIndentIncrement?: number;
4006
- customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
4007
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3727
+ declare const __VLS_component$9: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$q> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4008
3728
  declare const _default$s: __VLS_WithTemplateSlots$9<typeof __VLS_component$9, __VLS_TemplateResult$9["slots"]>;
4009
3729
 
4010
3730
  type __VLS_WithTemplateSlots$9<T, S> = T & {
@@ -4013,146 +3733,154 @@ type __VLS_WithTemplateSlots$9<T, S> = T & {
4013
3733
  };
4014
3734
  };
4015
3735
 
4016
- declare const _default$r: vue.DefineComponent<FieldProps<{
4017
- className?: string;
4018
- } & FormItem$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4019
- change: (...args: any[]) => void;
4020
- }, string, vue.PublicProps, Readonly<FieldProps<{
3736
+ type __VLS_Props$p = FieldProps<{
4021
3737
  className?: string;
4022
- } & FormItem$1>> & Readonly<{
4023
- onChange?: ((...args: any[]) => any) | undefined;
4024
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3738
+ } & FormItem$1>;
3739
+ declare const _default$r: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3740
+ change: (v: any, eventData: ContainerChangeEventData$1) => any;
3741
+ }, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
3742
+ onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
3743
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4025
3744
 
4026
- declare const _default$q: vue.DefineComponent<FieldProps<CodeSelectColConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4027
- change: (...args: any[]) => void;
4028
- }, string, vue.PublicProps, Readonly<FieldProps<CodeSelectColConfig>> & Readonly<{
4029
- onChange?: ((...args: any[]) => any) | undefined;
3745
+ type __VLS_Props$o = FieldProps<CodeSelectColConfig>;
3746
+ declare const _default$q: vue.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3747
+ change: (v: any, eventData: ContainerChangeEventData$1) => any;
3748
+ }, string, vue.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
3749
+ onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
4030
3750
  }>, {
4031
3751
  disabled: boolean;
4032
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3752
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4033
3753
 
4034
- declare let __VLS_typeProps$4: FieldProps<{
3754
+ type __VLS_Props$n = FieldProps<{
4035
3755
  type: 'data-source-fields';
4036
3756
  }>;
4037
3757
  type __VLS_PublicProps$4 = {
4038
3758
  'width'?: number;
4039
3759
  'visible'?: boolean;
4040
3760
  'visible1'?: boolean;
4041
- } & typeof __VLS_typeProps$4;
3761
+ } & __VLS_Props$n;
4042
3762
  declare const _default$p: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4043
- change: (...args: any[]) => void;
3763
+ change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3764
+ "update:width": (value: number) => any;
3765
+ "update:visible": (value: boolean) => any;
3766
+ "update:visible1": (value: boolean) => any;
4044
3767
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
4045
- onChange?: ((...args: any[]) => any) | undefined;
3768
+ onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3769
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3770
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
3771
+ "onUpdate:visible1"?: ((value: boolean) => any) | undefined;
4046
3772
  }>, {
4047
3773
  disabled: boolean;
4048
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3774
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4049
3775
 
4050
- declare let __VLS_typeProps$3: FieldProps<{
3776
+ type __VLS_Props$m = FieldProps<{
4051
3777
  type: 'data-source-mocks';
4052
3778
  }>;
4053
3779
  type __VLS_PublicProps$3 = {
4054
3780
  'width'?: number;
4055
3781
  'visible'?: boolean;
4056
- } & typeof __VLS_typeProps$3;
3782
+ } & __VLS_Props$m;
4057
3783
  declare const _default$o: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4058
3784
  change: (...args: any[]) => void;
3785
+ "update:width": (value: number) => void;
3786
+ "update:visible": (value: boolean) => void;
4059
3787
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
4060
3788
  onChange?: ((...args: any[]) => any) | undefined;
3789
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3790
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4061
3791
  }>, {
4062
3792
  disabled: boolean;
4063
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3793
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4064
3794
 
4065
- declare const _default$n: vue.DefineComponent<FieldProps<{
4066
- type: "data-source-methods";
4067
- }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3795
+ type __VLS_Props$l = FieldProps<{
3796
+ type: 'data-source-methods';
3797
+ }>;
3798
+ declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4068
3799
  change: (...args: any[]) => void;
4069
- }, string, vue.PublicProps, Readonly<FieldProps<{
4070
- type: "data-source-methods";
4071
- }>> & Readonly<{
3800
+ }, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
4072
3801
  onChange?: ((...args: any[]) => any) | undefined;
4073
3802
  }>, {
4074
3803
  disabled: boolean;
4075
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3804
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4076
3805
 
4077
- declare const _default$m: vue.DefineComponent<FieldProps<{
4078
- type: "data-source-input";
4079
- } & FormItem$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3806
+ type __VLS_Props$k = FieldProps<{
3807
+ type: 'data-source-input';
3808
+ } & FormItem$1>;
3809
+ declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4080
3810
  change: (value: string) => any;
4081
- }, string, vue.PublicProps, Readonly<FieldProps<{
4082
- type: "data-source-input";
4083
- } & FormItem$1>> & Readonly<{
3811
+ }, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
4084
3812
  onChange?: ((value: string) => any) | undefined;
4085
3813
  }>, {
4086
3814
  disabled: boolean;
4087
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3815
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4088
3816
 
4089
- declare const _default$l: vue.DefineComponent<FieldProps<DataSourceSelect>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3817
+ type __VLS_Props$j = FieldProps<DataSourceSelect>;
3818
+ declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4090
3819
  change: (...args: any[]) => void;
4091
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceSelect>> & Readonly<{
3820
+ }, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
4092
3821
  onChange?: ((...args: any[]) => any) | undefined;
4093
3822
  }>, {
4094
3823
  disabled: boolean;
4095
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3824
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4096
3825
 
4097
- declare const _default$k: vue.DefineComponent<FieldProps<DataSourceMethodSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3826
+ type __VLS_Props$i = FieldProps<DataSourceMethodSelectConfig>;
3827
+ declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4098
3828
  change: (...args: any[]) => void;
4099
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceMethodSelectConfig>> & Readonly<{
3829
+ }, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
4100
3830
  onChange?: ((...args: any[]) => any) | undefined;
4101
3831
  }>, {
4102
3832
  disabled: boolean;
4103
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3833
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4104
3834
 
4105
- declare const _default$j: vue.DefineComponent<FieldProps<DataSourceFieldSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3835
+ type __VLS_Props$h = FieldProps<DataSourceFieldSelectConfig>;
3836
+ declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4106
3837
  change: (...args: any[]) => void;
4107
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceFieldSelectConfig>> & Readonly<{
3838
+ }, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
4108
3839
  onChange?: ((...args: any[]) => any) | undefined;
4109
3840
  }>, {
4110
3841
  disabled: boolean;
4111
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3842
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4112
3843
 
4113
- declare const _default$i: vue.DefineComponent<FieldProps<EventSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4114
- change: (...args: any[]) => void;
4115
- }, string, vue.PublicProps, Readonly<FieldProps<EventSelectConfig>> & Readonly<{
4116
- onChange?: ((...args: any[]) => any) | undefined;
4117
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3844
+ type __VLS_Props$g = FieldProps<EventSelectConfig>;
3845
+ declare const _default$i: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3846
+ change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3847
+ }, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
3848
+ onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3849
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4118
3850
 
4119
- declare const _default$h: vue.DefineComponent<FieldProps<{
4120
- type: "key-value";
3851
+ type __VLS_Props$f = FieldProps<{
3852
+ type: 'key-value';
4121
3853
  advanced?: boolean;
4122
- } & FormItem$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3854
+ } & FormItem$1>;
3855
+ declare const _default$h: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4123
3856
  change: (value: Record<string, any>) => any;
4124
- }, string, vue.PublicProps, Readonly<FieldProps<{
4125
- type: "key-value";
4126
- advanced?: boolean;
4127
- } & FormItem$1>> & Readonly<{
3857
+ }, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{
4128
3858
  onChange?: ((value: Record<string, any>) => any) | undefined;
4129
3859
  }>, {
4130
3860
  disabled: boolean;
4131
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3861
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4132
3862
 
3863
+ type __VLS_Props$e = {
3864
+ indent?: number;
3865
+ nextLevelIndentIncrement?: number;
3866
+ customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
3867
+ };
4133
3868
  declare function __VLS_template$8(): {
3869
+ attrs: Partial<{}>;
4134
3870
  slots: Readonly<CodeBlockListSlots> & CodeBlockListSlots;
4135
3871
  refs: {};
4136
- attrs: Partial<{}>;
3872
+ rootEl: HTMLDivElement;
4137
3873
  };
4138
3874
  type __VLS_TemplateResult$8 = ReturnType<typeof __VLS_template$8>;
4139
- declare const __VLS_component$8: vue.DefineComponent<{
4140
- indent?: number;
4141
- nextLevelIndentIncrement?: number;
4142
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4143
- }, {
3875
+ declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$e, {
4144
3876
  filter: (text: string | string[]) => void;
4145
3877
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4146
- edit: (id: string) => any;
4147
3878
  remove: (id: string) => any;
4148
- }, string, vue.PublicProps, Readonly<{
4149
- indent?: number;
4150
- nextLevelIndentIncrement?: number;
4151
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4152
- }> & Readonly<{
3879
+ edit: (id: string) => any;
3880
+ }, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
4153
3881
  onRemove?: ((id: string) => any) | undefined;
4154
3882
  onEdit?: ((id: string) => any) | undefined;
4155
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3883
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4156
3884
  declare const _default$g: __VLS_WithTemplateSlots$8<typeof __VLS_component$8, __VLS_TemplateResult$8["slots"]>;
4157
3885
 
4158
3886
  type __VLS_WithTemplateSlots$8<T, S> = T & {
@@ -4161,7 +3889,13 @@ type __VLS_WithTemplateSlots$8<T, S> = T & {
4161
3889
  };
4162
3890
  };
4163
3891
 
3892
+ type __VLS_Props$d = {
3893
+ indent?: number;
3894
+ nextLevelIndentIncrement?: number;
3895
+ customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
3896
+ };
4164
3897
  declare function __VLS_template$7(): {
3898
+ attrs: Partial<{}>;
4165
3899
  slots: Readonly<CodeBlockListPanelSlots> & CodeBlockListPanelSlots;
4166
3900
  refs: {
4167
3901
  codeBlockList: ({
@@ -4173,14 +3907,7 @@ declare function __VLS_template$7(): {
4173
3907
  readonly customError?: ((id: Id, errorType: CodeDeleteErrorType) => any) | undefined;
4174
3908
  readonly onRemove?: ((id: string) => any) | undefined;
4175
3909
  readonly onEdit?: ((id: string) => any) | undefined;
4176
- } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4177
- indent?: number;
4178
- nextLevelIndentIncrement?: number;
4179
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4180
- }> & Readonly<{
4181
- onRemove?: ((id: string) => any) | undefined;
4182
- onEdit?: ((id: string) => any) | undefined;
4183
- }>;
3910
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
4184
3911
  $attrs: {
4185
3912
  [x: string]: unknown;
4186
3913
  };
@@ -4194,7 +3921,7 @@ declare function __VLS_template$7(): {
4194
3921
  $parent: vue.ComponentPublicInstance | null;
4195
3922
  $host: Element | null;
4196
3923
  $emit: ((event: "remove", id: string) => void) & ((event: "edit", id: string) => void);
4197
- $el: any;
3924
+ $el: HTMLDivElement;
4198
3925
  $options: vue.ComponentOptionsBase<Readonly<{
4199
3926
  indent?: number;
4200
3927
  nextLevelIndentIncrement?: number;
@@ -4205,8 +3932,8 @@ declare function __VLS_template$7(): {
4205
3932
  }>, {
4206
3933
  filter: (text: string | string[]) => void;
4207
3934
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4208
- edit: (id: string) => any;
4209
3935
  remove: (id: string) => any;
3936
+ edit: (id: string) => any;
4210
3937
  }, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
4211
3938
  beforeCreate?: (() => void) | (() => void)[];
4212
3939
  created?: (() => void) | (() => void)[];
@@ -4248,29 +3975,17 @@ declare function __VLS_template$7(): {
4248
3975
  isDataSource?: boolean;
4249
3976
  dataSourceType?: string;
4250
3977
  }> & Readonly<{
4251
- onSubmit?: ((values: _tmagic_schema.CodeBlockContent) => any) | undefined;
4252
- "onUpdate:width"?: ((width: number) => any) | undefined;
4253
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
3978
+ onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
3979
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3980
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4254
3981
  }>, {
4255
3982
  show(): Promise<void>;
4256
3983
  hide(): Promise<void>;
4257
3984
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4258
- 'update:width': (width: number) => any;
4259
- 'update:visible': (visible: boolean) => any;
4260
- submit: (values: _tmagic_schema.CodeBlockContent) => any;
4261
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4262
- width?: number;
4263
- visible?: boolean;
4264
- } & {
4265
- content: _tmagic_schema.CodeBlockContent;
4266
- disabled?: boolean;
4267
- isDataSource?: boolean;
4268
- dataSourceType?: string;
4269
- }> & Readonly<{
4270
- onSubmit?: ((values: _tmagic_schema.CodeBlockContent) => any) | undefined;
4271
- "onUpdate:width"?: ((width: number) => any) | undefined;
4272
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
4273
- }>, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3985
+ submit: (values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any;
3986
+ "update:width": (value: number) => any;
3987
+ "update:visible": (value: boolean) => any;
3988
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4274
3989
  P: {};
4275
3990
  B: {};
4276
3991
  D: {};
@@ -4286,26 +4001,18 @@ declare function __VLS_template$7(): {
4286
4001
  isDataSource?: boolean;
4287
4002
  dataSourceType?: string;
4288
4003
  }> & Readonly<{
4289
- onSubmit?: ((values: _tmagic_schema.CodeBlockContent) => any) | undefined;
4290
- "onUpdate:width"?: ((width: number) => any) | undefined;
4291
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
4004
+ onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
4005
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4006
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4292
4007
  }>, {
4293
4008
  show(): Promise<void>;
4294
4009
  hide(): Promise<void>;
4295
4010
  }, {}, {}, {}, {}> | null;
4296
4011
  };
4297
- attrs: Partial<{}>;
4012
+ rootEl: any;
4298
4013
  };
4299
4014
  type __VLS_TemplateResult$7 = ReturnType<typeof __VLS_template$7>;
4300
- declare const __VLS_component$7: vue.DefineComponent<{
4301
- indent?: number;
4302
- nextLevelIndentIncrement?: number;
4303
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4304
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
4305
- indent?: number;
4306
- nextLevelIndentIncrement?: number;
4307
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4308
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4015
+ declare const __VLS_component$7: vue.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$d> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4309
4016
  declare const _default$f: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
4310
4017
 
4311
4018
  type __VLS_WithTemplateSlots$7<T, S> = T & {
@@ -4314,7 +4021,7 @@ type __VLS_WithTemplateSlots$7<T, S> = T & {
4314
4021
  };
4315
4022
  };
4316
4023
 
4317
- declare let __VLS_typeProps$2: {
4024
+ type __VLS_Props$c = {
4318
4025
  title?: string;
4319
4026
  values: any;
4320
4027
  disabled: boolean;
@@ -4322,17 +4029,26 @@ declare let __VLS_typeProps$2: {
4322
4029
  type __VLS_PublicProps$2 = {
4323
4030
  'visible'?: boolean;
4324
4031
  'width'?: number;
4325
- } & typeof __VLS_typeProps$2;
4032
+ } & __VLS_Props$c;
4326
4033
  declare const _default$e: vue.DefineComponent<__VLS_PublicProps$2, {
4327
4034
  show(): void;
4328
4035
  hide(): void;
4329
4036
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4330
- submit: (...args: any[]) => void;
4037
+ submit: (v: any, eventData: ContainerChangeEventData$1) => any;
4038
+ "update:width": (value: number) => any;
4039
+ "update:visible": (value: boolean) => any;
4331
4040
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
4332
- onSubmit?: ((...args: any[]) => any) | undefined;
4333
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4041
+ onSubmit?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
4042
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4043
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4044
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4334
4045
 
4046
+ type __VLS_Props$b = {
4047
+ disabledShowSrc?: boolean;
4048
+ extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4049
+ };
4335
4050
  declare function __VLS_template$6(): {
4051
+ attrs: Partial<{}>;
4336
4052
  slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
4337
4053
  refs: {
4338
4054
  configForm: vue.CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -4355,6 +4071,7 @@ declare function __VLS_template$6(): {
4355
4071
  }> & Readonly<{
4356
4072
  onChange?: ((...args: any[]) => any) | undefined;
4357
4073
  onError?: ((...args: any[]) => any) | undefined;
4074
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4358
4075
  "onField-change"?: ((...args: any[]) => any) | undefined;
4359
4076
  "onField-input"?: ((...args: any[]) => any) | undefined;
4360
4077
  }>, {
@@ -4362,37 +4079,17 @@ declare function __VLS_template$6(): {
4362
4079
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4363
4080
  formState: FormState$1;
4364
4081
  initialized: vue.Ref<boolean, boolean>;
4365
- changeHandler: () => void;
4366
- resetForm: () => any;
4082
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4083
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4084
+ resetForm: () => void;
4367
4085
  submitForm: (native?: boolean) => Promise<any>;
4368
4086
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4369
4087
  change: (...args: any[]) => void;
4370
4088
  error: (...args: any[]) => void;
4089
+ "update:stepActive": (...args: any[]) => void;
4371
4090
  "field-change": (...args: any[]) => void;
4372
4091
  "field-input": (...args: any[]) => void;
4373
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4374
- config: FormConfig;
4375
- initValues: Record<string, any>;
4376
- lastValues?: Record<string, any>;
4377
- isCompare?: boolean;
4378
- parentValues?: Record<string, any>;
4379
- labelWidth?: string;
4380
- disabled?: boolean;
4381
- height?: string;
4382
- stepActive?: string | number;
4383
- size?: "small" | "default" | "large";
4384
- inline?: boolean;
4385
- labelPosition?: string;
4386
- keyProp?: string;
4387
- popperClass?: string;
4388
- preventSubmitDefault?: boolean;
4389
- extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4390
- }> & Readonly<{
4391
- onChange?: ((...args: any[]) => any) | undefined;
4392
- onError?: ((...args: any[]) => any) | undefined;
4393
- "onField-change"?: ((...args: any[]) => any) | undefined;
4394
- "onField-input"?: ((...args: any[]) => any) | undefined;
4395
- }>, {
4092
+ }, vue.PublicProps, {
4396
4093
  disabled: boolean;
4397
4094
  labelWidth: string;
4398
4095
  inline: boolean;
@@ -4405,7 +4102,7 @@ declare function __VLS_template$6(): {
4405
4102
  parentValues: Record<string, any>;
4406
4103
  stepActive: string | number;
4407
4104
  height: string;
4408
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4105
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4409
4106
  P: {};
4410
4107
  B: {};
4411
4108
  D: {};
@@ -4432,6 +4129,7 @@ declare function __VLS_template$6(): {
4432
4129
  }> & Readonly<{
4433
4130
  onChange?: ((...args: any[]) => any) | undefined;
4434
4131
  onError?: ((...args: any[]) => any) | undefined;
4132
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4435
4133
  "onField-change"?: ((...args: any[]) => any) | undefined;
4436
4134
  "onField-input"?: ((...args: any[]) => any) | undefined;
4437
4135
  }>, {
@@ -4439,8 +4137,9 @@ declare function __VLS_template$6(): {
4439
4137
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4440
4138
  formState: FormState$1;
4441
4139
  initialized: vue.Ref<boolean, boolean>;
4442
- changeHandler: () => void;
4443
- resetForm: () => any;
4140
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4141
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4142
+ resetForm: () => void;
4444
4143
  submitForm: (native?: boolean) => Promise<any>;
4445
4144
  }, {}, {}, {}, {
4446
4145
  disabled: boolean;
@@ -4457,13 +4156,10 @@ declare function __VLS_template$6(): {
4457
4156
  height: string;
4458
4157
  }> | null;
4459
4158
  };
4460
- attrs: Partial<{}>;
4159
+ rootEl: HTMLDivElement;
4461
4160
  };
4462
4161
  type __VLS_TemplateResult$6 = ReturnType<typeof __VLS_template$6>;
4463
- declare const __VLS_component$6: vue.DefineComponent<{
4464
- disabledShowSrc?: boolean;
4465
- extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4466
- }, {
4162
+ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
4467
4163
  configForm: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
4468
4164
  config: FormConfig;
4469
4165
  initValues: Record<string, any>;
@@ -4484,6 +4180,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4484
4180
  }> & Readonly<{
4485
4181
  onChange?: ((...args: any[]) => any) | undefined;
4486
4182
  onError?: ((...args: any[]) => any) | undefined;
4183
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4487
4184
  "onField-change"?: ((...args: any[]) => any) | undefined;
4488
4185
  "onField-input"?: ((...args: any[]) => any) | undefined;
4489
4186
  }>, {
@@ -4491,37 +4188,17 @@ declare const __VLS_component$6: vue.DefineComponent<{
4491
4188
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4492
4189
  formState: FormState$1;
4493
4190
  initialized: vue.Ref<boolean, boolean>;
4494
- changeHandler: () => void;
4495
- resetForm: () => any;
4191
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4192
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4193
+ resetForm: () => void;
4496
4194
  submitForm: (native?: boolean) => Promise<any>;
4497
4195
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4498
4196
  change: (...args: any[]) => void;
4499
4197
  error: (...args: any[]) => void;
4198
+ "update:stepActive": (...args: any[]) => void;
4500
4199
  "field-change": (...args: any[]) => void;
4501
4200
  "field-input": (...args: any[]) => void;
4502
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4503
- config: FormConfig;
4504
- initValues: Record<string, any>;
4505
- lastValues?: Record<string, any>;
4506
- isCompare?: boolean;
4507
- parentValues?: Record<string, any>;
4508
- labelWidth?: string;
4509
- disabled?: boolean;
4510
- height?: string;
4511
- stepActive?: string | number;
4512
- size?: "small" | "default" | "large";
4513
- inline?: boolean;
4514
- labelPosition?: string;
4515
- keyProp?: string;
4516
- popperClass?: string;
4517
- preventSubmitDefault?: boolean;
4518
- extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4519
- }> & Readonly<{
4520
- onChange?: ((...args: any[]) => any) | undefined;
4521
- onError?: ((...args: any[]) => any) | undefined;
4522
- "onField-change"?: ((...args: any[]) => any) | undefined;
4523
- "onField-input"?: ((...args: any[]) => any) | undefined;
4524
- }>, {
4201
+ }, vue.PublicProps, {
4525
4202
  disabled: boolean;
4526
4203
  labelWidth: string;
4527
4204
  inline: boolean;
@@ -4534,7 +4211,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4534
4211
  parentValues: Record<string, any>;
4535
4212
  stepActive: string | number;
4536
4213
  height: string;
4537
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4214
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4538
4215
  P: {};
4539
4216
  B: {};
4540
4217
  D: {};
@@ -4561,6 +4238,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4561
4238
  }> & Readonly<{
4562
4239
  onChange?: ((...args: any[]) => any) | undefined;
4563
4240
  onError?: ((...args: any[]) => any) | undefined;
4241
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4564
4242
  "onField-change"?: ((...args: any[]) => any) | undefined;
4565
4243
  "onField-input"?: ((...args: any[]) => any) | undefined;
4566
4244
  }>, {
@@ -4568,8 +4246,9 @@ declare const __VLS_component$6: vue.DefineComponent<{
4568
4246
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4569
4247
  formState: FormState$1;
4570
4248
  initialized: vue.Ref<boolean, boolean>;
4571
- changeHandler: () => void;
4572
- resetForm: () => any;
4249
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4250
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4251
+ resetForm: () => void;
4573
4252
  submitForm: (native?: boolean) => Promise<any>;
4574
4253
  }, {}, {}, {}, {
4575
4254
  disabled: boolean;
@@ -4604,6 +4283,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4604
4283
  }> & Readonly<{
4605
4284
  onChange?: ((...args: any[]) => any) | undefined;
4606
4285
  onError?: ((...args: any[]) => any) | undefined;
4286
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4607
4287
  "onField-change"?: ((...args: any[]) => any) | undefined;
4608
4288
  "onField-input"?: ((...args: any[]) => any) | undefined;
4609
4289
  }>, {
@@ -4611,37 +4291,17 @@ declare const __VLS_component$6: vue.DefineComponent<{
4611
4291
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4612
4292
  formState: FormState$1;
4613
4293
  initialized: vue.Ref<boolean, boolean>;
4614
- changeHandler: () => void;
4615
- resetForm: () => any;
4294
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4295
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4296
+ resetForm: () => void;
4616
4297
  submitForm: (native?: boolean) => Promise<any>;
4617
4298
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4618
4299
  change: (...args: any[]) => void;
4619
4300
  error: (...args: any[]) => void;
4301
+ "update:stepActive": (...args: any[]) => void;
4620
4302
  "field-change": (...args: any[]) => void;
4621
4303
  "field-input": (...args: any[]) => void;
4622
- }, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4623
- config: FormConfig;
4624
- initValues: Record<string, any>;
4625
- lastValues?: Record<string, any>;
4626
- isCompare?: boolean;
4627
- parentValues?: Record<string, any>;
4628
- labelWidth?: string;
4629
- disabled?: boolean;
4630
- height?: string;
4631
- stepActive?: string | number;
4632
- size?: "small" | "default" | "large";
4633
- inline?: boolean;
4634
- labelPosition?: string;
4635
- keyProp?: string;
4636
- popperClass?: string;
4637
- preventSubmitDefault?: boolean;
4638
- extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4639
- }> & Readonly<{
4640
- onChange?: ((...args: any[]) => any) | undefined;
4641
- onError?: ((...args: any[]) => any) | undefined;
4642
- "onField-change"?: ((...args: any[]) => any) | undefined;
4643
- "onField-input"?: ((...args: any[]) => any) | undefined;
4644
- }>, {
4304
+ }, vue.PublicProps, {
4645
4305
  disabled: boolean;
4646
4306
  labelWidth: string;
4647
4307
  inline: boolean;
@@ -4654,7 +4314,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4654
4314
  parentValues: Record<string, any>;
4655
4315
  stepActive: string | number;
4656
4316
  height: string;
4657
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4317
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4658
4318
  P: {};
4659
4319
  B: {};
4660
4320
  D: {};
@@ -4681,6 +4341,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4681
4341
  }> & Readonly<{
4682
4342
  onChange?: ((...args: any[]) => any) | undefined;
4683
4343
  onError?: ((...args: any[]) => any) | undefined;
4344
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4684
4345
  "onField-change"?: ((...args: any[]) => any) | undefined;
4685
4346
  "onField-input"?: ((...args: any[]) => any) | undefined;
4686
4347
  }>, {
@@ -4688,8 +4349,9 @@ declare const __VLS_component$6: vue.DefineComponent<{
4688
4349
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4689
4350
  formState: FormState$1;
4690
4351
  initialized: vue.Ref<boolean, boolean>;
4691
- changeHandler: () => void;
4692
- resetForm: () => any;
4352
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4353
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4354
+ resetForm: () => void;
4693
4355
  submitForm: (native?: boolean) => Promise<any>;
4694
4356
  }, {}, {}, {}, {
4695
4357
  disabled: boolean;
@@ -4705,19 +4367,16 @@ declare const __VLS_component$6: vue.DefineComponent<{
4705
4367
  stepActive: string | number;
4706
4368
  height: string;
4707
4369
  }> | undefined>;
4708
- submit: () => Promise<void>;
4370
+ submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
4709
4371
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4710
4372
  mounted: (...args: any[]) => void;
4711
4373
  "submit-error": (...args: any[]) => void;
4712
4374
  "form-error": (...args: any[]) => void;
4713
- }, string, vue.PublicProps, Readonly<{
4714
- disabledShowSrc?: boolean;
4715
- extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4716
- }> & Readonly<{
4375
+ }, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
4717
4376
  onMounted?: ((...args: any[]) => any) | undefined;
4718
4377
  "onSubmit-error"?: ((...args: any[]) => any) | undefined;
4719
4378
  "onForm-error"?: ((...args: any[]) => any) | undefined;
4720
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4379
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4721
4380
  declare const _default$d: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
4722
4381
 
4723
4382
  type __VLS_WithTemplateSlots$6<T, S> = T & {
@@ -4726,18 +4385,23 @@ type __VLS_WithTemplateSlots$6<T, S> = T & {
4726
4385
  };
4727
4386
  };
4728
4387
 
4729
- declare const _default$c: vue.DefineComponent<{
4730
- data?: MenuButton | MenuComponent;
4731
- eventType?: "mousedown" | "mouseup" | "click";
4732
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
4388
+ type __VLS_Props$a = {
4733
4389
  data?: MenuButton | MenuComponent;
4734
- eventType?: "mousedown" | "mouseup" | "click";
4735
- }> & Readonly<{}>, {
4390
+ eventType?: 'mousedown' | 'mouseup' | 'click';
4391
+ };
4392
+ declare const _default$c: vue.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{}>, {
4736
4393
  data: MenuButton | MenuComponent;
4737
4394
  eventType: "mousedown" | "mouseup" | "click";
4738
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4395
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4739
4396
 
4397
+ type __VLS_Props$9 = {
4398
+ menuData?: (MenuButton | MenuComponent)[];
4399
+ isSubMenu?: boolean;
4400
+ active?: string | number;
4401
+ autoHide?: boolean;
4402
+ };
4740
4403
  declare function __VLS_template$5(): {
4404
+ attrs: Partial<{}>;
4741
4405
  slots: {
4742
4406
  title?(_: {}): any;
4743
4407
  };
@@ -4746,13 +4410,10 @@ declare function __VLS_template$5(): {
4746
4410
  buttons: (vue.CreateComponentPublicInstanceWithMixins<Readonly<{
4747
4411
  data?: MenuButton | MenuComponent;
4748
4412
  eventType?: "mousedown" | "mouseup" | "click";
4749
- }> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps & Readonly<{
4750
- data?: MenuButton | MenuComponent;
4751
- eventType?: "mousedown" | "mouseup" | "click";
4752
- }> & Readonly<{}>, {
4413
+ }> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
4753
4414
  data: MenuButton | MenuComponent;
4754
4415
  eventType: "mousedown" | "mouseup" | "click";
4755
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4416
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4756
4417
  P: {};
4757
4418
  B: {};
4758
4419
  D: {};
@@ -4768,15 +4429,10 @@ declare function __VLS_template$5(): {
4768
4429
  }> | null)[];
4769
4430
  subMenu: unknown;
4770
4431
  };
4771
- attrs: Partial<{}>;
4432
+ rootEl: any;
4772
4433
  };
4773
4434
  type __VLS_TemplateResult$5 = ReturnType<typeof __VLS_template$5>;
4774
- declare const __VLS_component$5: vue.DefineComponent<{
4775
- menuData?: (MenuButton | MenuComponent)[];
4776
- isSubMenu?: boolean;
4777
- active?: string | number;
4778
- autoHide?: boolean;
4779
- }, {
4435
+ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
4780
4436
  menu: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4781
4437
  menuPosition: vue.Ref<{
4782
4438
  left: number;
@@ -4799,15 +4455,10 @@ declare const __VLS_component$5: vue.DefineComponent<{
4799
4455
  clientX: number;
4800
4456
  }) => void;
4801
4457
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4802
- hide: () => any;
4803
- show: () => any;
4804
4458
  mouseenter: () => any;
4805
- }, string, vue.PublicProps, Readonly<{
4806
- menuData?: (MenuButton | MenuComponent)[];
4807
- isSubMenu?: boolean;
4808
- active?: string | number;
4809
- autoHide?: boolean;
4810
- }> & Readonly<{
4459
+ show: () => any;
4460
+ hide: () => any;
4461
+ }, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
4811
4462
  onMouseenter?: (() => any) | undefined;
4812
4463
  onShow?: (() => any) | undefined;
4813
4464
  onHide?: (() => any) | undefined;
@@ -4815,7 +4466,7 @@ declare const __VLS_component$5: vue.DefineComponent<{
4815
4466
  menuData: (MenuButton | MenuComponent)[];
4816
4467
  isSubMenu: boolean;
4817
4468
  autoHide: boolean;
4818
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4469
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4819
4470
  declare const _default$b: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
4820
4471
 
4821
4472
  type __VLS_WithTemplateSlots$5<T, S> = T & {
@@ -4824,13 +4475,24 @@ type __VLS_WithTemplateSlots$5<T, S> = T & {
4824
4475
  };
4825
4476
  };
4826
4477
 
4827
- declare const _default$a: vue.DefineComponent<{
4478
+ type __VLS_Props$8 = {
4828
4479
  icon?: any;
4829
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
4830
- icon?: any;
4831
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4480
+ };
4481
+ declare const _default$a: vue.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4832
4482
 
4483
+ type __VLS_Props$7 = {
4484
+ width?: number;
4485
+ left?: number;
4486
+ right?: number;
4487
+ minLeft?: number;
4488
+ minRight?: number;
4489
+ minCenter?: number;
4490
+ leftClass?: string;
4491
+ rightClass?: string;
4492
+ centerClass?: string;
4493
+ };
4833
4494
  declare function __VLS_template$4(): {
4495
+ attrs: Partial<{}>;
4834
4496
  slots: {
4835
4497
  left?(_: {}): any;
4836
4498
  center?(_: {}): any;
@@ -4839,36 +4501,16 @@ declare function __VLS_template$4(): {
4839
4501
  refs: {
4840
4502
  el: HTMLDivElement;
4841
4503
  };
4842
- attrs: Partial<{}>;
4504
+ rootEl: HTMLDivElement;
4843
4505
  };
4844
4506
  type __VLS_TemplateResult$4 = ReturnType<typeof __VLS_template$4>;
4845
- declare const __VLS_component$4: vue.DefineComponent<{
4846
- width?: number;
4847
- left?: number;
4848
- right?: number;
4849
- minLeft?: number;
4850
- minRight?: number;
4851
- minCenter?: number;
4852
- leftClass?: string;
4853
- rightClass?: string;
4854
- centerClass?: string;
4855
- }, {
4507
+ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$7, {
4856
4508
  updateWidth(): void;
4857
4509
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4858
4510
  change: (...args: any[]) => void;
4859
4511
  "update:left": (...args: any[]) => void;
4860
4512
  "update:right": (...args: any[]) => void;
4861
- }, string, vue.PublicProps, Readonly<{
4862
- width?: number;
4863
- left?: number;
4864
- right?: number;
4865
- minLeft?: number;
4866
- minRight?: number;
4867
- minCenter?: number;
4868
- leftClass?: string;
4869
- rightClass?: string;
4870
- centerClass?: string;
4871
- }> & Readonly<{
4513
+ }, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
4872
4514
  onChange?: ((...args: any[]) => any) | undefined;
4873
4515
  "onUpdate:left"?: ((...args: any[]) => any) | undefined;
4874
4516
  "onUpdate:right"?: ((...args: any[]) => any) | undefined;
@@ -4876,7 +4518,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
4876
4518
  minLeft: number;
4877
4519
  minRight: number;
4878
4520
  minCenter: number;
4879
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4521
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4880
4522
  declare const _default$9: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
4881
4523
 
4882
4524
  type __VLS_WithTemplateSlots$4<T, S> = T & {
@@ -4886,20 +4528,21 @@ type __VLS_WithTemplateSlots$4<T, S> = T & {
4886
4528
  };
4887
4529
 
4888
4530
  declare function __VLS_template$3(): {
4531
+ attrs: Partial<{}>;
4889
4532
  slots: {
4890
4533
  default?(_: {}): any;
4891
4534
  };
4892
4535
  refs: {
4893
4536
  target: HTMLSpanElement;
4894
4537
  };
4895
- attrs: Partial<{}>;
4538
+ rootEl: HTMLSpanElement;
4896
4539
  };
4897
4540
  type __VLS_TemplateResult$3 = ReturnType<typeof __VLS_template$3>;
4898
4541
  declare const __VLS_component$3: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4899
4542
  change: (e: OnDrag<gesto.default>) => any;
4900
4543
  }, string, vue.PublicProps, Readonly<{}> & Readonly<{
4901
4544
  onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
4902
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}>;
4545
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLSpanElement>;
4903
4546
  declare const _default$8: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
4904
4547
 
4905
4548
  type __VLS_WithTemplateSlots$3<T, S> = T & {
@@ -4908,7 +4551,7 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
4908
4551
  };
4909
4552
  };
4910
4553
 
4911
- declare let __VLS_typeProps$1: {
4554
+ type __VLS_Props$6 = {
4912
4555
  content: CodeBlockContent;
4913
4556
  disabled?: boolean;
4914
4557
  isDataSource?: boolean;
@@ -4917,25 +4560,25 @@ declare let __VLS_typeProps$1: {
4917
4560
  type __VLS_PublicProps$1 = {
4918
4561
  'width'?: number;
4919
4562
  'visible'?: boolean;
4920
- } & typeof __VLS_typeProps$1;
4563
+ } & __VLS_Props$6;
4921
4564
  declare const _default$7: vue.DefineComponent<__VLS_PublicProps$1, {
4922
4565
  show(): Promise<void>;
4923
4566
  hide(): Promise<void>;
4924
4567
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4925
- 'update:width': (width: number) => any;
4926
- 'update:visible': (visible: boolean) => any;
4927
- submit: (values: CodeBlockContent) => any;
4568
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any;
4569
+ "update:width": (value: number) => any;
4570
+ "update:visible": (value: boolean) => any;
4928
4571
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
4929
- onSubmit?: ((values: CodeBlockContent) => any) | undefined;
4930
- "onUpdate:width"?: ((width: number) => any) | undefined;
4931
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
4932
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4572
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined;
4573
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4574
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4575
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4933
4576
 
4934
4577
  interface Position {
4935
4578
  left: number;
4936
4579
  top: number;
4937
4580
  }
4938
- declare let __VLS_typeProps: {
4581
+ type __VLS_Props$5 = {
4939
4582
  position?: Position;
4940
4583
  title?: string;
4941
4584
  beforeClose?: (done: (cancel?: boolean) => void) => void;
@@ -4944,8 +4587,9 @@ type __VLS_PublicProps = {
4944
4587
  'width'?: number;
4945
4588
  'height'?: number;
4946
4589
  'visible'?: boolean;
4947
- } & typeof __VLS_typeProps;
4590
+ } & __VLS_Props$5;
4948
4591
  declare function __VLS_template$2(): {
4592
+ attrs: Partial<{}>;
4949
4593
  slots: {
4950
4594
  title?(_: {}): any;
4951
4595
  body?(_: {}): any;
@@ -4954,7 +4598,7 @@ declare function __VLS_template$2(): {
4954
4598
  target: HTMLDivElement;
4955
4599
  titleEl: HTMLDivElement;
4956
4600
  };
4957
- attrs: Partial<{}>;
4601
+ rootEl: any;
4958
4602
  };
4959
4603
  type __VLS_TemplateResult$2 = ReturnType<typeof __VLS_template$2>;
4960
4604
  declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
@@ -4962,17 +4606,17 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
4962
4606
  target: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4963
4607
  titleEl: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4964
4608
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4965
- 'update:width': (width: number) => any;
4966
- 'update:height': (height: number) => any;
4967
- 'update:visible': (visible: boolean) => any;
4609
+ "update:width": (value: number) => any;
4610
+ "update:height": (value: number) => any;
4611
+ "update:visible": (value: boolean) => any;
4968
4612
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
4969
- "onUpdate:width"?: ((width: number) => any) | undefined;
4970
- "onUpdate:height"?: ((height: number) => any) | undefined;
4971
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
4613
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4614
+ "onUpdate:height"?: ((value: number) => any) | undefined;
4615
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4972
4616
  }>, {
4973
4617
  title: string;
4974
4618
  position: Position;
4975
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4619
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4976
4620
  declare const _default$6: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
4977
4621
 
4978
4622
  type __VLS_WithTemplateSlots$2<T, S> = T & {
@@ -4981,7 +4625,15 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
4981
4625
  };
4982
4626
  };
4983
4627
 
4628
+ type __VLS_Props$4 = {
4629
+ data: TreeNodeData[];
4630
+ nodeStatusMap: Map<Id, LayerNodeStatus>;
4631
+ indent?: number;
4632
+ nextLevelIndentIncrement?: number;
4633
+ emptyText?: string;
4634
+ };
4984
4635
  declare function __VLS_template$1(): {
4636
+ attrs: Partial<{}>;
4985
4637
  slots: Readonly<{
4986
4638
  'tree-node-content'(props: {
4987
4639
  data: TreeNodeData;
@@ -5004,30 +4656,18 @@ declare function __VLS_template$1(): {
5004
4656
  }): any;
5005
4657
  };
5006
4658
  refs: {};
5007
- attrs: Partial<{}>;
4659
+ rootEl: HTMLDivElement;
5008
4660
  };
5009
4661
  type __VLS_TemplateResult$1 = ReturnType<typeof __VLS_template$1>;
5010
- declare const __VLS_component$1: vue.DefineComponent<{
5011
- data: TreeNodeData[];
5012
- nodeStatusMap: Map<Id, LayerNodeStatus>;
5013
- indent?: number;
5014
- nextLevelIndentIncrement?: number;
5015
- emptyText?: string;
5016
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5017
- 'node-dragover': (event: DragEvent) => any;
5018
- 'node-dragstart': (event: DragEvent, data: TreeNodeData) => any;
5019
- 'node-dragleave': (event: DragEvent, data: TreeNodeData) => any;
5020
- 'node-dragend': (event: DragEvent, data: TreeNodeData) => any;
5021
- 'node-contextmenu': (event: MouseEvent, data: TreeNodeData) => any;
5022
- 'node-mouseenter': (event: MouseEvent, data: TreeNodeData) => any;
5023
- 'node-click': (event: MouseEvent, data: TreeNodeData) => any;
5024
- }, string, vue.PublicProps, Readonly<{
5025
- data: TreeNodeData[];
5026
- nodeStatusMap: Map<Id, LayerNodeStatus>;
5027
- indent?: number;
5028
- nextLevelIndentIncrement?: number;
5029
- emptyText?: string;
5030
- }> & Readonly<{
4662
+ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4663
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
4664
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
4665
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
4666
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
4667
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
4668
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
4669
+ "node-dragover": (event: DragEvent) => any;
4670
+ }, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{
5031
4671
  "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5032
4672
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5033
4673
  "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
@@ -5038,7 +4678,7 @@ declare const __VLS_component$1: vue.DefineComponent<{
5038
4678
  }>, {
5039
4679
  emptyText: string;
5040
4680
  indent: number;
5041
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4681
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5042
4682
  declare const _default$5: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
5043
4683
 
5044
4684
  type __VLS_WithTemplateSlots$1<T, S> = T & {
@@ -5047,7 +4687,16 @@ type __VLS_WithTemplateSlots$1<T, S> = T & {
5047
4687
  };
5048
4688
  };
5049
4689
 
4690
+ type __VLS_Props$3 = {
4691
+ data: TreeNodeData;
4692
+ parent?: TreeNodeData;
4693
+ parentsId?: Id[];
4694
+ nodeStatusMap: Map<Id, LayerNodeStatus>;
4695
+ indent?: number;
4696
+ nextLevelIndentIncrement?: number;
4697
+ };
5050
4698
  declare function __VLS_template(): {
4699
+ attrs: Partial<{}>;
5051
4700
  slots: Readonly<{
5052
4701
  'tree-node-label'(props: {
5053
4702
  data: TreeNodeData;
@@ -5070,31 +4719,17 @@ declare function __VLS_template(): {
5070
4719
  }): any;
5071
4720
  };
5072
4721
  refs: {};
5073
- attrs: Partial<{}>;
4722
+ rootEl: HTMLDivElement;
5074
4723
  };
5075
4724
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
5076
- declare const __VLS_component: vue.DefineComponent<{
5077
- data: TreeNodeData;
5078
- parent?: TreeNodeData;
5079
- parentsId?: Id[];
5080
- nodeStatusMap: Map<Id, LayerNodeStatus>;
5081
- indent?: number;
5082
- nextLevelIndentIncrement?: number;
5083
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5084
- 'node-dragstart': (event: DragEvent, data: TreeNodeData) => any;
5085
- 'node-dragleave': (event: DragEvent, data: TreeNodeData) => any;
5086
- 'node-dragend': (event: DragEvent, data: TreeNodeData) => any;
5087
- 'node-contextmenu': (event: MouseEvent, data: TreeNodeData) => any;
5088
- 'node-mouseenter': (event: MouseEvent, data: TreeNodeData) => any;
5089
- 'node-click': (event: MouseEvent, data: TreeNodeData) => any;
5090
- }, string, vue.PublicProps, Readonly<{
5091
- data: TreeNodeData;
5092
- parent?: TreeNodeData;
5093
- parentsId?: Id[];
5094
- nodeStatusMap: Map<Id, LayerNodeStatus>;
5095
- indent?: number;
5096
- nextLevelIndentIncrement?: number;
5097
- }> & Readonly<{
4725
+ declare const __VLS_component: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4726
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
4727
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
4728
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
4729
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
4730
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
4731
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
4732
+ }, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
5098
4733
  "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5099
4734
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5100
4735
  "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
@@ -5105,7 +4740,7 @@ declare const __VLS_component: vue.DefineComponent<{
5105
4740
  indent: number;
5106
4741
  parentsId: Id[];
5107
4742
  nextLevelIndentIncrement: number;
5108
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4743
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5109
4744
  declare const _default$4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5110
4745
 
5111
4746
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -5114,36 +4749,36 @@ type __VLS_WithTemplateSlots<T, S> = T & {
5114
4749
  };
5115
4750
  };
5116
4751
 
5117
- declare const _default$3: vue.DefineComponent<FieldProps<PageFragmentSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4752
+ type __VLS_Props$2 = FieldProps<PageFragmentSelectConfig>;
4753
+ declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5118
4754
  change: (...args: any[]) => void;
5119
- }, string, vue.PublicProps, Readonly<FieldProps<PageFragmentSelectConfig>> & Readonly<{
4755
+ }, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
5120
4756
  onChange?: ((...args: any[]) => any) | undefined;
5121
4757
  }>, {
5122
4758
  disabled: boolean;
5123
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4759
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5124
4760
 
5125
- declare const _default$2: vue.DefineComponent<FieldProps<{
5126
- titlePrefix?: string;
5127
- parentFields?: string[] | FilterFunction$1<string[]>;
5128
- }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5129
- change: (value: DisplayCond[]) => any;
5130
- }, string, vue.PublicProps, Readonly<FieldProps<{
4761
+ type __VLS_Props$1 = FieldProps<{
5131
4762
  titlePrefix?: string;
5132
4763
  parentFields?: string[] | FilterFunction$1<string[]>;
5133
- }>> & Readonly<{
5134
- onChange?: ((value: DisplayCond[]) => any) | undefined;
4764
+ }>;
4765
+ declare const _default$2: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4766
+ change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
4767
+ }, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
4768
+ onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
5135
4769
  }>, {
5136
4770
  disabled: boolean;
5137
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4771
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5138
4772
 
5139
- declare const _default$1: vue.DefineComponent<FieldProps<CondOpSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5140
- change: (...args: any[]) => void;
5141
- }, string, vue.PublicProps, Readonly<FieldProps<CondOpSelectConfig>> & Readonly<{
5142
- onChange?: ((...args: any[]) => any) | undefined;
5143
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4773
+ type __VLS_Props = FieldProps<CondOpSelectConfig>;
4774
+ declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4775
+ change: (value: string) => any;
4776
+ }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
4777
+ onChange?: ((value: string) => any) | undefined;
4778
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
5144
4779
 
5145
4780
  declare const _default: {
5146
4781
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
5147
4782
  };
5148
4783
 
5149
- export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$7 as CodeBlockEditor, _default$g as CodeBlockList, _default$f as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$r as CodeSelect, _default$q as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$t as ComponentListPanel, type ComponentListPanelSlots, _default$1 as CondOpSelect, type CondOpSelectConfig, _default$b as ContentMenu, _default$e as DataSourceConfigPanel, _default$j as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$p as DataSourceFields, _default$m as DataSourceInput, type DataSourceListSlots, _default$k as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$n as DataSourceMethods, _default$o as DataSourceMocks, _default$l as DataSourceSelect, type DatasourceTypeOption, _default$2 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$i as EventSelect, type EventSelectConfig, Fixed2Other, _default$6 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$a as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$h as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$s as LayerPanel, type LayerPanelSlots, Layout, _default$9 as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$3 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, type PropsFormValueFunction, _default$d as PropsPanel, type PropsPanelSlots, type PropsState, _default$8 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$9 as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$u as TMagicCodeEditor, _default$v as TMagicEditor, _default$c as ToolButton, _default$5 as Tree, _default$4 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$F as codeBlockService, _default$E as dataSourceService, debug, _default as default, _default$D as depService, displayTabConfig, _default$C as editorService, eqOptions, error, eventTabConfig, _default$B as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$A as historyService, info, log, moveItemsInContainer, numberOptions, _default$z as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$y as stageOverlayService, _default$x as storageService, styleTabConfig, _default$w as uiService, updateStatus, useCodeBlockEdit, useDataSourceMethod, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };
4784
+ export { type AddMNode, type AddPrefixToObject, type AsyncAfterHook, type AsyncBeforeHook, type AsyncHookPlugin, type BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, _default$7 as CodeBlockEditor, _default$g as CodeBlockList, _default$f as CodeBlockListPanel, type CodeBlockListPanelSlots, type CodeBlockListSlots, CodeDeleteErrorType, type CodeDslItem, type CodeParamStatement, type CodeRelation, _default$r as CodeSelect, _default$q as CodeSelectCol, type CodeSelectColConfig, type CodeState, ColumnLayout, type CombineInfo, type ComponentGroup, type ComponentGroupState, type ComponentItem, _default$t as ComponentListPanel, type ComponentListPanelSlots, _default$1 as CondOpSelect, type CondOpSelectConfig, _default$b as ContentMenu, _default$e as DataSourceConfigPanel, _default$j as DataSourceFieldSelect, type DataSourceFieldSelectConfig, _default$p as DataSourceFields, _default$m as DataSourceInput, type DataSourceListSlots, _default$k as DataSourceMethodSelect, type DataSourceMethodSelectConfig, _default$n as DataSourceMethods, _default$o as DataSourceMocks, _default$l as DataSourceSelect, type DatasourceTypeOption, _default$2 as DisplayConds, DragType, type EditorInstallOptions, type EditorNodeInfo, type EventBus, type EventBusEvent, _default$i as EventSelect, type EventSelectConfig, Fixed2Other, _default$6 as FloatingBox, type FrameworkSlots, type GetColumnWidth, type GetConfig, H_GUIDE_LINE_STORAGE_KEY, type HistoryState, _default$a as Icon, IdleTask, type IdleTaskEvents, type KeyBindingCacheItem, KeyBindingCommand, type KeyBindingItem, _default$h as KeyValue, Keys, type LayerNodeSlots, type LayerNodeStatus, LayerOffset, _default$s as LayerPanel, type LayerPanelSlots, Layout, _default$9 as LayoutContainer, type ListState, type MenuBarData, type MenuButton, type MenuComponent, type MenuItem, type PageBarSortOptions, _default$3 as PageFragmentSelect, type PageFragmentSelectConfig, type PartSortableOptions, type PastePosition, type PropsFormConfigFunction, type PropsFormValueFunction, _default$d as PropsPanel, type PropsPanelSlots, type PropsState, _default$8 as Resizer, ScrollViewer, type ScrollViewerEvent, type Services, type SetColumnWidth, type SideBarData, type SideComponent, type SideItem, SideItemKey, type SidebarSlots, _default$9 as SplitView, type StageOptions, type StageOverlayState, type StageRect, type StepValue, type StoreState, type StoreStateKey, type SyncAfterHook, type SyncBeforeHook, type SyncHookPlugin, _default$u as TMagicCodeEditor, _default$v as TMagicEditor, _default$c as ToolButton, _default$5 as Tree, _default$4 as TreeNode, type TreeNodeData, UI_SELECT_MODE_EVENT_NAME, type UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, type WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, change2Fixed, _default$F as codeBlockService, _default$E as dataSourceService, debug, _default as default, _default$D as depService, displayTabConfig, _default$C as editorService, eqOptions, error, eventTabConfig, _default$B as eventsService, fillConfig, fixNodeLeft, fixNodePosition, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$A as historyService, info, isIncludeDataSource, log, moveItemsInContainer, numberOptions, _default$z as propsService, removeDataSourceFieldPrefix, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$y as stageOverlayService, _default$x as storageService, styleTabConfig, _default$w as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useStage, useWindowRect, warn };