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

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 +521 -242
  3. package/dist/tmagic-editor.umd.cjs +522 -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 +103 -24
  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 +94 -2
  39. package/src/utils/idle-task.ts +34 -3
  40. package/src/utils/props.ts +3 -3
  41. package/types/index.d.ts +803 -1169
  42. package/src/hooks/use-data-source-method.ts +0 -100
package/types/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { Component, ComputedRef, Ref, App } from 'vue';
3
3
  import { 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,31 @@ 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
+ [key: string]: any;
1937
1513
  };
1938
1514
  /**
1939
1515
  * 排序配置
@@ -2025,24 +1601,27 @@ interface Input {
2025
1601
  placeholder?: string;
2026
1602
  }
2027
1603
  type TypeFunction = (mForm: FormState | undefined, data: {
2028
- model: Record<any, any>;
1604
+ model: FormValue;
2029
1605
  }) => string;
2030
1606
  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>;
1607
+ model: FormValue;
1608
+ values: FormValue;
1609
+ parent?: FormValue;
1610
+ formValue: FormValue;
2035
1611
  prop: string;
2036
1612
  config: any;
2037
1613
  index?: number;
2038
1614
  }) => 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>;
1615
+ interface OnChangeHandlerData {
1616
+ model: FormValue;
1617
+ values?: FormValue;
1618
+ parent?: FormValue;
1619
+ formValue?: FormValue;
2044
1620
  config: any;
2045
- }) => any;
1621
+ prop: string;
1622
+ changeRecords: ChangeRecord[];
1623
+ }
1624
+ type OnChangeHandler = (mForm: FormState | undefined, value: any, data: OnChangeHandlerData) => any;
2046
1625
  type DefaultValueFunction = (mForm: FormState | undefined) => any;
2047
1626
  /**
2048
1627
  * 下拉选择器选项配置
@@ -2477,9 +2056,329 @@ interface ComponentConfig extends FormItem {
2477
2056
  extend: any;
2478
2057
  display: any;
2479
2058
  }
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>;
2059
+ 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;
2060
+ type FormConfig = ChildConfig[];
2061
+ type FormValue = Record<string | number, any>;
2062
+
2063
+ declare const useCodeBlockEdit: (codeBlockService?: CodeBlockService) => {
2064
+ codeId: vue.Ref<string | undefined, string | undefined>;
2065
+ codeConfig: vue.Ref<CodeBlockContent | undefined, CodeBlockContent | undefined>;
2066
+ codeBlockEditor: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2067
+ width?: number;
2068
+ visible?: boolean;
2069
+ } & {
2070
+ content: CodeBlockContent;
2071
+ disabled?: boolean;
2072
+ isDataSource?: boolean;
2073
+ dataSourceType?: string;
2074
+ }> & Readonly<{
2075
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2076
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2077
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2078
+ }>, {
2079
+ show(): Promise<void>;
2080
+ hide(): Promise<void>;
2081
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2082
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
2083
+ "update:width": (value: number) => any;
2084
+ "update:visible": (value: boolean) => any;
2085
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2086
+ P: {};
2087
+ B: {};
2088
+ D: {};
2089
+ C: {};
2090
+ M: {};
2091
+ Defaults: {};
2092
+ }, Readonly<{
2093
+ width?: number;
2094
+ visible?: boolean;
2095
+ } & {
2096
+ content: CodeBlockContent;
2097
+ disabled?: boolean;
2098
+ isDataSource?: boolean;
2099
+ dataSourceType?: string;
2100
+ }> & Readonly<{
2101
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2102
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2103
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2104
+ }>, {
2105
+ show(): Promise<void>;
2106
+ hide(): Promise<void>;
2107
+ }, {}, {}, {}, {}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
2108
+ width?: number;
2109
+ visible?: boolean;
2110
+ } & {
2111
+ content: CodeBlockContent;
2112
+ disabled?: boolean;
2113
+ isDataSource?: boolean;
2114
+ dataSourceType?: string;
2115
+ }> & Readonly<{
2116
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2117
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2118
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2119
+ }>, {
2120
+ show(): Promise<void>;
2121
+ hide(): Promise<void>;
2122
+ }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2123
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
2124
+ "update:width": (value: number) => any;
2125
+ "update:visible": (value: boolean) => any;
2126
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2127
+ P: {};
2128
+ B: {};
2129
+ D: {};
2130
+ C: {};
2131
+ M: {};
2132
+ Defaults: {};
2133
+ }, Readonly<{
2134
+ width?: number;
2135
+ visible?: boolean;
2136
+ } & {
2137
+ content: CodeBlockContent;
2138
+ disabled?: boolean;
2139
+ isDataSource?: boolean;
2140
+ dataSourceType?: string;
2141
+ }> & Readonly<{
2142
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
2143
+ "onUpdate:width"?: ((value: number) => any) | undefined;
2144
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2145
+ }>, {
2146
+ show(): Promise<void>;
2147
+ hide(): Promise<void>;
2148
+ }, {}, {}, {}, {}> | undefined>;
2149
+ createCodeBlock: () => Promise<void>;
2150
+ editCode: (id: string) => Promise<void>;
2151
+ deleteCode: (key: string) => Promise<void>;
2152
+ submitCodeBlockHandler: (values: CodeBlockContent) => Promise<void>;
2153
+ };
2154
+
2155
+ declare const useStage: (stageOptions: StageOptions) => StageCore__default;
2156
+
2157
+ interface State {
2158
+ status: boolean;
2159
+ top: number;
2160
+ left: number;
2161
+ }
2162
+ declare const useFloatBox: (slideKeys: ComputedRef<string[]>) => {
2163
+ dragstartHandler: (e: DragEvent) => void;
2164
+ dragendHandler: (key: string, e: DragEvent) => void;
2165
+ floatBoxStates: vue.Ref<{
2166
+ [x: string]: State;
2167
+ }, {
2168
+ [x: string]: State;
2169
+ }>;
2170
+ showingBoxKeys: ComputedRef<string[]>;
2171
+ };
2172
+
2173
+ declare const useWindowRect: () => {
2174
+ rect: {
2175
+ width: number;
2176
+ height: number;
2177
+ };
2178
+ };
2179
+
2180
+ declare const useEditorContentHeight: () => {
2181
+ height: vue.Ref<number, number>;
2182
+ };
2183
+
2184
+ declare const useFilter: (nodeData: Ref<TreeNodeData[]>, nodeStatusMap: Ref<Map<Id, LayerNodeStatus> | undefined>, filterNodeMethod: (value: string, data: MNode) => boolean) => {
2185
+ filterText: Ref<string, string>;
2186
+ filterTextChangeHandler(text: string | string[]): void;
2187
+ };
2188
+
2189
+ declare const useGetSo: (target: Ref<HTMLElement | undefined>, emit: (evt: "change", e: OnDrag<gesto__default>) => void) => {
2190
+ isDraging: Ref<boolean, boolean>;
2191
+ };
2192
+
2193
+ declare const useNextFloatBoxPosition: (uiService?: UiService, parent?: Ref<HTMLDivElement | null>) => {
2194
+ boxPosition: Ref<{
2195
+ left: number;
2196
+ top: number;
2197
+ }, {
2198
+ left: number;
2199
+ top: number;
2200
+ } | {
2201
+ left: number;
2202
+ top: number;
2203
+ }>;
2204
+ calcBoxPosition: () => void;
2205
+ };
2206
+
2207
+ declare const useNodeStatus: (nodeData: ComputedRef<TreeNodeData[]>) => {
2208
+ nodeStatusMap: vue.Ref<Map<Id, {
2209
+ visible: boolean;
2210
+ expand: boolean;
2211
+ selected: boolean;
2212
+ draggable: boolean;
2213
+ }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>, Map<Id, LayerNodeStatus> | (Map<Id, {
2214
+ visible: boolean;
2215
+ expand: boolean;
2216
+ selected: boolean;
2217
+ draggable: boolean;
2218
+ }> & Omit<Map<Id, LayerNodeStatus>, keyof Map<any, any>>)>;
2219
+ };
2220
+
2221
+ declare const setEditorConfig: (option: EditorInstallOptions) => void;
2222
+ declare const getEditorConfig: <K extends keyof EditorInstallOptions>(key: K) => EditorInstallOptions[K];
2223
+
2224
+ declare const arrayOptions: {
2225
+ text: string;
2226
+ value: string;
2227
+ }[];
2228
+ declare const eqOptions: {
2229
+ text: string;
2230
+ value: string;
2231
+ }[];
2232
+ declare const numberOptions: {
2233
+ text: string;
2234
+ value: string;
2235
+ }[];
2236
+ declare const styleTabConfig: TabPaneConfig$1;
2237
+ declare const eventTabConfig: TabPaneConfig$1;
2238
+ declare const advancedTabConfig: TabPaneConfig$1;
2239
+ declare const displayTabConfig: TabPaneConfig$1;
2240
+ /**
2241
+ * 统一为组件属性表单加上事件、高级、样式配置
2242
+ * @param config 组件属性配置
2243
+ * @returns Object
2244
+ */
2245
+ declare const fillConfig: (config?: FormConfig$1, labelWidth?: string) => FormConfig$1;
2246
+
2247
+ declare const log: (...args: any[]) => void;
2248
+ declare const info: (...args: any[]) => void;
2249
+ declare const warn: (...args: any[]) => void;
2250
+ declare const debug: (...args: any[]) => void;
2251
+ declare const error: (...args: any[]) => void;
2252
+
2253
+ declare const COPY_STORAGE_KEY = "$MagicEditorCopyData";
2254
+ declare const COPY_CODE_STORAGE_KEY = "$MagicEditorCopyCode";
2255
+ declare const COPY_DS_STORAGE_KEY = "$MagicEditorCopyDataSource";
2256
+ /**
2257
+ * 获取所有页面配置
2258
+ * @param root DSL跟节点
2259
+ * @returns 所有页面配置
2260
+ */
2261
+ declare const getPageList: (root?: MApp | null) => MPage[];
2262
+ declare const getPageFragmentList: (root?: MApp | null) => MPageFragment[];
2263
+ /**
2264
+ * 获取所有页面名称
2265
+ * @param pages 所有页面配置
2266
+ * @returns 所有页面名称
2267
+ */
2268
+ declare const getPageNameList: (pages: (MPage | MPageFragment)[]) => string[];
2269
+ /**
2270
+ * 新增页面时,生成页面名称
2271
+ * @param {Object} pageNameList 所有页面名称
2272
+ * @returns {string}
2273
+ */
2274
+ declare const generatePageName: (pageNameList: string[], type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
2275
+ /**
2276
+ * 新增页面时,生成页面名称
2277
+ * @param {Object} app 所有页面配置
2278
+ * @returns {string}
2279
+ */
2280
+ declare const generatePageNameByApp: (app: MApp, type: NodeType.PAGE | NodeType.PAGE_FRAGMENT) => string;
2281
+ declare const getNodeIndex: (id: Id, parent: MContainer | MApp) => number;
2282
+ declare const getRelativeStyle: (style?: Record<string, any>) => Record<string, any>;
2283
+ declare const getInitPositionStyle: (style: Record<string, any> | undefined, layout: Layout) => Record<string, any>;
2284
+ declare const setChildrenLayout: (node: MContainer, layout: Layout) => MContainer;
2285
+ declare const setLayout: (node: MNode, layout: Layout) => _tmagic_schema.MComponent | undefined;
2286
+ declare const change2Fixed: (node: MNode, root: MApp) => {
2287
+ left: number;
2288
+ top: number;
2289
+ };
2290
+ declare const Fixed2Other: (node: MNode, root: MApp, getLayout: (parent: MNode, node?: MNode) => Promise<Layout>) => Promise<Record<string, any>>;
2291
+ declare const getGuideLineFromCache: (key: string) => number[];
2292
+ declare const fixNodeLeft: (config: MNode, parent: MContainer, doc?: Document) => any;
2293
+ declare const fixNodePosition: (config: MNode, parent: MContainer, stage: StageCore__default | null) => {
2294
+ [key: string]: any;
2295
+ } | undefined;
2296
+ declare const serializeConfig: (config: any) => string;
2297
+ declare const moveItemsInContainer: (sourceIndices: number[], parent: MContainer, targetIndex: number) => void;
2298
+ declare const isValueIncludeDataSource: (value: any) => boolean;
2299
+ declare const isIncludeDataSource: (node: MNode, oldNode: MNode) => boolean;
2300
+
2301
+ /**
2302
+ * 粘贴前置操作:返回分配了新id以及校准了坐标的配置
2303
+ * @param position 粘贴的坐标
2304
+ * @param config 待粘贴的元素配置(复制时保存的那份配置)
2305
+ * @returns
2306
+ */
2307
+ declare const beforePaste: (position: PastePosition, config: MNode[], doc?: Document) => MNode[];
2308
+ /**
2309
+ * 将元素粘贴到容器内时,将相对于画布坐标转换为相对于容器的坐标
2310
+ * @param position PastePosition 粘贴时相对于画布的坐标
2311
+ * @param id 元素id
2312
+ * @returns PastePosition 转换后的坐标
2313
+ */
2314
+ declare const getPositionInContainer: (position: PastePosition | undefined, id: Id, doc?: Document) => {
2315
+ left: number;
2316
+ top: number;
2317
+ };
2318
+ declare const getAddParent: (node: MNode) => MContainer | null | undefined;
2319
+ declare const getDefaultConfig: (addNode: AddMNode, parentNode: MContainer) => Promise<any>;
2320
+
2321
+ declare const getFormConfig: (type: string, configs: Record<string, FormConfig$1>) => FormConfig$1;
2322
+ declare const getFormValue: (type: string, values: Partial<DataSourceSchema>) => Partial<DataSourceSchema>;
2323
+ declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) => {
2324
+ value: string;
2325
+ type: "var" | "text";
2326
+ }[];
2327
+ declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption$1[];
2328
+ declare const removeDataSourceFieldPrefix: (id?: string) => string;
2329
+
2330
+ interface IdleTaskEvents {
2331
+ finish: [];
2332
+ }
2333
+ declare class IdleTask<T = any> extends EventEmitter {
2334
+ private taskList;
2335
+ private taskHandle;
2336
+ constructor();
2337
+ enqueueTask(taskHandler: (data: T) => void, taskData: T): void;
2338
+ clearTasks(): void;
2339
+ on<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
2340
+ once<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
2341
+ emit<Name extends keyof IdleTaskEvents, Param extends IdleTaskEvents[Name]>(eventName: Name, ...args: Param): boolean;
2342
+ private runTaskQueue;
2343
+ }
2344
+
2345
+ interface ScrollViewerOptions {
2346
+ container: HTMLDivElement;
2347
+ target: HTMLDivElement;
2348
+ zoom: number;
2349
+ correctionScrollSize?: {
2350
+ width: number;
2351
+ height: number;
2352
+ };
2353
+ }
2354
+ declare class ScrollViewer extends EventEmitter {
2355
+ private container;
2356
+ private target;
2357
+ private zoom;
2358
+ private scrollLeft;
2359
+ private scrollTop;
2360
+ private scrollHeight;
2361
+ private scrollWidth;
2362
+ private width;
2363
+ private height;
2364
+ private translateXCorrectionValue;
2365
+ private translateYCorrectionValue;
2366
+ private correctionScrollSize;
2367
+ private resizeObserver;
2368
+ constructor(options: ScrollViewerOptions);
2369
+ destroy(): void;
2370
+ setZoom(zoom: number): void;
2371
+ scrollTo({ left, top }: {
2372
+ left?: number;
2373
+ top?: number;
2374
+ }): void;
2375
+ private wheelHandler;
2376
+ private getPos;
2377
+ private setScrollSize;
2378
+ private setSize;
2379
+ }
2380
+
2381
+ declare const updateStatus: (nodeStatusMap: Map<Id, LayerNodeStatus>, id: Id, status: Partial<LayerNodeStatus>) => void;
2483
2382
 
2484
2383
  interface EditorProps {
2485
2384
  /** 页面初始值 */
@@ -2569,6 +2468,7 @@ interface EditorProps {
2569
2468
  }
2570
2469
 
2571
2470
  declare function __VLS_template$b(): {
2471
+ attrs: Partial<{}>;
2572
2472
  slots: Readonly<FrameworkSlots & WorkspaceSlots & LayerPanelSlots & CodeBlockListPanelSlots & ComponentListPanelSlots & DataSourceListSlots & PropsPanelSlots & {
2573
2473
  workspace(props: {
2574
2474
  editorService: EditorService;
@@ -2585,7 +2485,7 @@ declare function __VLS_template$b(): {
2585
2485
  }): any;
2586
2486
  };
2587
2487
  refs: {};
2588
- attrs: Partial<{}>;
2488
+ rootEl: HTMLDivElement;
2589
2489
  };
2590
2490
  type __VLS_TemplateResult$b = ReturnType<typeof __VLS_template$b>;
2591
2491
  declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
@@ -2602,7 +2502,8 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2602
2502
  keybindingService: KeybindingService;
2603
2503
  stageOverlayService: StageOverlayService;
2604
2504
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2605
- 'props-panel-mounted': (instance: {
2505
+ "update:modelValue": (value: MApp | null) => any;
2506
+ "props-panel-mounted": (instance: {
2606
2507
  $: vue.ComponentInternalInstance;
2607
2508
  $data: {};
2608
2509
  $props: {
@@ -2611,14 +2512,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2611
2512
  readonly onMounted?: ((...args: any[]) => any) | undefined;
2612
2513
  readonly "onSubmit-error"?: ((...args: any[]) => any) | undefined;
2613
2514
  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
- }>;
2515
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
2622
2516
  $attrs: {
2623
2517
  [x: string]: unknown;
2624
2518
  };
@@ -2632,7 +2526,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2632
2526
  $parent: vue.ComponentPublicInstance | null;
2633
2527
  $host: Element | null;
2634
2528
  $emit: ((event: "mounted", ...args: any[]) => void) & ((event: "submit-error", ...args: any[]) => void) & ((event: "form-error", ...args: any[]) => void);
2635
- $el: any;
2529
+ $el: HTMLDivElement;
2636
2530
  $options: vue.ComponentOptionsBase<Readonly<{
2637
2531
  disabledShowSrc?: boolean;
2638
2532
  extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
@@ -2661,6 +2555,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2661
2555
  }> & Readonly<{
2662
2556
  onChange?: ((...args: any[]) => any) | undefined;
2663
2557
  onError?: ((...args: any[]) => any) | undefined;
2558
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2664
2559
  "onField-change"?: ((...args: any[]) => any) | undefined;
2665
2560
  "onField-input"?: ((...args: any[]) => any) | undefined;
2666
2561
  }>, {
@@ -2668,37 +2563,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2668
2563
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2669
2564
  formState: FormState;
2670
2565
  initialized: vue.Ref<boolean, boolean>;
2671
- changeHandler: () => void;
2672
- resetForm: () => any;
2566
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2567
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2568
+ resetForm: () => void;
2673
2569
  submitForm: (native?: boolean) => Promise<any>;
2674
2570
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2675
2571
  change: (...args: any[]) => void;
2676
2572
  error: (...args: any[]) => void;
2573
+ "update:stepActive": (...args: any[]) => void;
2677
2574
  "field-change": (...args: any[]) => void;
2678
2575
  "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
- }>, {
2576
+ }, vue.PublicProps, {
2702
2577
  disabled: boolean;
2703
2578
  labelWidth: string;
2704
2579
  inline: boolean;
@@ -2711,7 +2586,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2711
2586
  parentValues: Record<string, any>;
2712
2587
  stepActive: string | number;
2713
2588
  height: string;
2714
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2589
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2715
2590
  P: {};
2716
2591
  B: {};
2717
2592
  D: {};
@@ -2738,6 +2613,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2738
2613
  }> & Readonly<{
2739
2614
  onChange?: ((...args: any[]) => any) | undefined;
2740
2615
  onError?: ((...args: any[]) => any) | undefined;
2616
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2741
2617
  "onField-change"?: ((...args: any[]) => any) | undefined;
2742
2618
  "onField-input"?: ((...args: any[]) => any) | undefined;
2743
2619
  }>, {
@@ -2745,8 +2621,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2745
2621
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2746
2622
  formState: FormState;
2747
2623
  initialized: vue.Ref<boolean, boolean>;
2748
- changeHandler: () => void;
2749
- resetForm: () => any;
2624
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2625
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2626
+ resetForm: () => void;
2750
2627
  submitForm: (native?: boolean) => Promise<any>;
2751
2628
  }, {}, {}, {}, {
2752
2629
  disabled: boolean;
@@ -2781,6 +2658,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2781
2658
  }> & Readonly<{
2782
2659
  onChange?: ((...args: any[]) => any) | undefined;
2783
2660
  onError?: ((...args: any[]) => any) | undefined;
2661
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2784
2662
  "onField-change"?: ((...args: any[]) => any) | undefined;
2785
2663
  "onField-input"?: ((...args: any[]) => any) | undefined;
2786
2664
  }>, {
@@ -2788,37 +2666,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2788
2666
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2789
2667
  formState: FormState;
2790
2668
  initialized: vue.Ref<boolean, boolean>;
2791
- changeHandler: () => void;
2792
- resetForm: () => any;
2669
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2670
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2671
+ resetForm: () => void;
2793
2672
  submitForm: (native?: boolean) => Promise<any>;
2794
2673
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2795
2674
  change: (...args: any[]) => void;
2796
2675
  error: (...args: any[]) => void;
2676
+ "update:stepActive": (...args: any[]) => void;
2797
2677
  "field-change": (...args: any[]) => void;
2798
2678
  "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
- }>, {
2679
+ }, vue.PublicProps, {
2822
2680
  disabled: boolean;
2823
2681
  labelWidth: string;
2824
2682
  inline: boolean;
@@ -2831,7 +2689,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2831
2689
  parentValues: Record<string, any>;
2832
2690
  stepActive: string | number;
2833
2691
  height: string;
2834
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2692
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2835
2693
  P: {};
2836
2694
  B: {};
2837
2695
  D: {};
@@ -2858,6 +2716,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2858
2716
  }> & Readonly<{
2859
2717
  onChange?: ((...args: any[]) => any) | undefined;
2860
2718
  onError?: ((...args: any[]) => any) | undefined;
2719
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2861
2720
  "onField-change"?: ((...args: any[]) => any) | undefined;
2862
2721
  "onField-input"?: ((...args: any[]) => any) | undefined;
2863
2722
  }>, {
@@ -2865,8 +2724,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2865
2724
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2866
2725
  formState: FormState;
2867
2726
  initialized: vue.Ref<boolean, boolean>;
2868
- changeHandler: () => void;
2869
- resetForm: () => any;
2727
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2728
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2729
+ resetForm: () => void;
2870
2730
  submitForm: (native?: boolean) => Promise<any>;
2871
2731
  }, {}, {}, {}, {
2872
2732
  disabled: boolean;
@@ -2882,7 +2742,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2882
2742
  stepActive: string | number;
2883
2743
  height: string;
2884
2744
  }> | undefined>;
2885
- submit: () => Promise<void>;
2745
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
2886
2746
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2887
2747
  mounted: (...args: any[]) => void;
2888
2748
  "submit-error": (...args: any[]) => void;
@@ -2935,6 +2795,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2935
2795
  }> & Readonly<{
2936
2796
  onChange?: ((...args: any[]) => any) | undefined;
2937
2797
  onError?: ((...args: any[]) => any) | undefined;
2798
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2938
2799
  "onField-change"?: ((...args: any[]) => any) | undefined;
2939
2800
  "onField-input"?: ((...args: any[]) => any) | undefined;
2940
2801
  }>, {
@@ -2942,37 +2803,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2942
2803
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
2943
2804
  formState: FormState;
2944
2805
  initialized: vue.Ref<boolean, boolean>;
2945
- changeHandler: () => void;
2946
- resetForm: () => any;
2806
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2807
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2808
+ resetForm: () => void;
2947
2809
  submitForm: (native?: boolean) => Promise<any>;
2948
2810
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
2949
2811
  change: (...args: any[]) => void;
2950
2812
  error: (...args: any[]) => void;
2813
+ "update:stepActive": (...args: any[]) => void;
2951
2814
  "field-change": (...args: any[]) => void;
2952
2815
  "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
- }>, {
2816
+ }, vue.PublicProps, {
2976
2817
  disabled: boolean;
2977
2818
  labelWidth: string;
2978
2819
  inline: boolean;
@@ -2985,7 +2826,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
2985
2826
  parentValues: Record<string, any>;
2986
2827
  stepActive: string | number;
2987
2828
  height: string;
2988
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2829
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
2989
2830
  P: {};
2990
2831
  B: {};
2991
2832
  D: {};
@@ -3012,6 +2853,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3012
2853
  }> & Readonly<{
3013
2854
  onChange?: ((...args: any[]) => any) | undefined;
3014
2855
  onError?: ((...args: any[]) => any) | undefined;
2856
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3015
2857
  "onField-change"?: ((...args: any[]) => any) | undefined;
3016
2858
  "onField-input"?: ((...args: any[]) => any) | undefined;
3017
2859
  }>, {
@@ -3019,8 +2861,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3019
2861
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3020
2862
  formState: FormState;
3021
2863
  initialized: vue.Ref<boolean, boolean>;
3022
- changeHandler: () => void;
3023
- resetForm: () => any;
2864
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2865
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2866
+ resetForm: () => void;
3024
2867
  submitForm: (native?: boolean) => Promise<any>;
3025
2868
  }, {}, {}, {}, {
3026
2869
  disabled: boolean;
@@ -3055,6 +2898,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3055
2898
  }> & Readonly<{
3056
2899
  onChange?: ((...args: any[]) => any) | undefined;
3057
2900
  onError?: ((...args: any[]) => any) | undefined;
2901
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3058
2902
  "onField-change"?: ((...args: any[]) => any) | undefined;
3059
2903
  "onField-input"?: ((...args: any[]) => any) | undefined;
3060
2904
  }>, {
@@ -3062,37 +2906,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3062
2906
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3063
2907
  formState: FormState;
3064
2908
  initialized: vue.Ref<boolean, boolean>;
3065
- changeHandler: () => void;
3066
- resetForm: () => any;
2909
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2910
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2911
+ resetForm: () => void;
3067
2912
  submitForm: (native?: boolean) => Promise<any>;
3068
2913
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3069
2914
  change: (...args: any[]) => void;
3070
2915
  error: (...args: any[]) => void;
2916
+ "update:stepActive": (...args: any[]) => void;
3071
2917
  "field-change": (...args: any[]) => void;
3072
2918
  "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
- }>, {
2919
+ }, vue.PublicProps, {
3096
2920
  disabled: boolean;
3097
2921
  labelWidth: string;
3098
2922
  inline: boolean;
@@ -3105,7 +2929,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3105
2929
  parentValues: Record<string, any>;
3106
2930
  stepActive: string | number;
3107
2931
  height: string;
3108
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
2932
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3109
2933
  P: {};
3110
2934
  B: {};
3111
2935
  D: {};
@@ -3132,6 +2956,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3132
2956
  }> & Readonly<{
3133
2957
  onChange?: ((...args: any[]) => any) | undefined;
3134
2958
  onError?: ((...args: any[]) => any) | undefined;
2959
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3135
2960
  "onField-change"?: ((...args: any[]) => any) | undefined;
3136
2961
  "onField-input"?: ((...args: any[]) => any) | undefined;
3137
2962
  }>, {
@@ -3139,8 +2964,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3139
2964
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3140
2965
  formState: FormState;
3141
2966
  initialized: vue.Ref<boolean, boolean>;
3142
- changeHandler: () => void;
3143
- resetForm: () => any;
2967
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
2968
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
2969
+ resetForm: () => void;
3144
2970
  submitForm: (native?: boolean) => Promise<any>;
3145
2971
  }, {}, {}, {}, {
3146
2972
  disabled: boolean;
@@ -3156,13 +2982,12 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3156
2982
  stepActive: string | number;
3157
2983
  height: string;
3158
2984
  }> | undefined>;
3159
- submit: () => Promise<void>;
2985
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3160
2986
  }> & {} & vue.ComponentCustomProperties & {} & {
3161
2987
  $slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
3162
2988
  }) => any;
3163
- 'update:modelValue': (value: MApp | null) => any;
3164
- 'props-form-error': (e: any) => any;
3165
- 'props-submit-error': (e: any) => any;
2989
+ "props-form-error": (e: any) => any;
2990
+ "props-submit-error": (e: any) => any;
3166
2991
  }, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
3167
2992
  "onUpdate:modelValue"?: ((value: MApp | null) => any) | undefined;
3168
2993
  "onProps-panel-mounted"?: ((instance: {
@@ -3174,14 +2999,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3174
2999
  readonly onMounted?: ((...args: any[]) => any) | undefined;
3175
3000
  readonly "onSubmit-error"?: ((...args: any[]) => any) | undefined;
3176
3001
  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
- }>;
3002
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
3185
3003
  $attrs: {
3186
3004
  [x: string]: unknown;
3187
3005
  };
@@ -3195,7 +3013,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3195
3013
  $parent: vue.ComponentPublicInstance | null;
3196
3014
  $host: Element | null;
3197
3015
  $emit: ((event: "mounted", ...args: any[]) => void) & ((event: "submit-error", ...args: any[]) => void) & ((event: "form-error", ...args: any[]) => void);
3198
- $el: any;
3016
+ $el: HTMLDivElement;
3199
3017
  $options: vue.ComponentOptionsBase<Readonly<{
3200
3018
  disabledShowSrc?: boolean;
3201
3019
  extendState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
@@ -3224,6 +3042,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3224
3042
  }> & Readonly<{
3225
3043
  onChange?: ((...args: any[]) => any) | undefined;
3226
3044
  onError?: ((...args: any[]) => any) | undefined;
3045
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3227
3046
  "onField-change"?: ((...args: any[]) => any) | undefined;
3228
3047
  "onField-input"?: ((...args: any[]) => any) | undefined;
3229
3048
  }>, {
@@ -3231,37 +3050,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3231
3050
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3232
3051
  formState: FormState;
3233
3052
  initialized: vue.Ref<boolean, boolean>;
3234
- changeHandler: () => void;
3235
- resetForm: () => any;
3053
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3054
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3055
+ resetForm: () => void;
3236
3056
  submitForm: (native?: boolean) => Promise<any>;
3237
3057
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3238
3058
  change: (...args: any[]) => void;
3239
3059
  error: (...args: any[]) => void;
3060
+ "update:stepActive": (...args: any[]) => void;
3240
3061
  "field-change": (...args: any[]) => void;
3241
3062
  "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
- }>, {
3063
+ }, vue.PublicProps, {
3265
3064
  disabled: boolean;
3266
3065
  labelWidth: string;
3267
3066
  inline: boolean;
@@ -3274,7 +3073,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3274
3073
  parentValues: Record<string, any>;
3275
3074
  stepActive: string | number;
3276
3075
  height: string;
3277
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3076
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3278
3077
  P: {};
3279
3078
  B: {};
3280
3079
  D: {};
@@ -3301,6 +3100,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3301
3100
  }> & Readonly<{
3302
3101
  onChange?: ((...args: any[]) => any) | undefined;
3303
3102
  onError?: ((...args: any[]) => any) | undefined;
3103
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3304
3104
  "onField-change"?: ((...args: any[]) => any) | undefined;
3305
3105
  "onField-input"?: ((...args: any[]) => any) | undefined;
3306
3106
  }>, {
@@ -3308,8 +3108,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3308
3108
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3309
3109
  formState: FormState;
3310
3110
  initialized: vue.Ref<boolean, boolean>;
3311
- changeHandler: () => void;
3312
- resetForm: () => any;
3111
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3112
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3113
+ resetForm: () => void;
3313
3114
  submitForm: (native?: boolean) => Promise<any>;
3314
3115
  }, {}, {}, {}, {
3315
3116
  disabled: boolean;
@@ -3344,6 +3145,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3344
3145
  }> & Readonly<{
3345
3146
  onChange?: ((...args: any[]) => any) | undefined;
3346
3147
  onError?: ((...args: any[]) => any) | undefined;
3148
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3347
3149
  "onField-change"?: ((...args: any[]) => any) | undefined;
3348
3150
  "onField-input"?: ((...args: any[]) => any) | undefined;
3349
3151
  }>, {
@@ -3351,37 +3153,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3351
3153
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3352
3154
  formState: FormState;
3353
3155
  initialized: vue.Ref<boolean, boolean>;
3354
- changeHandler: () => void;
3355
- resetForm: () => any;
3156
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3157
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3158
+ resetForm: () => void;
3356
3159
  submitForm: (native?: boolean) => Promise<any>;
3357
3160
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3358
3161
  change: (...args: any[]) => void;
3359
3162
  error: (...args: any[]) => void;
3163
+ "update:stepActive": (...args: any[]) => void;
3360
3164
  "field-change": (...args: any[]) => void;
3361
3165
  "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
- }>, {
3166
+ }, vue.PublicProps, {
3385
3167
  disabled: boolean;
3386
3168
  labelWidth: string;
3387
3169
  inline: boolean;
@@ -3394,7 +3176,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3394
3176
  parentValues: Record<string, any>;
3395
3177
  stepActive: string | number;
3396
3178
  height: string;
3397
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3179
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3398
3180
  P: {};
3399
3181
  B: {};
3400
3182
  D: {};
@@ -3421,6 +3203,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3421
3203
  }> & Readonly<{
3422
3204
  onChange?: ((...args: any[]) => any) | undefined;
3423
3205
  onError?: ((...args: any[]) => any) | undefined;
3206
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3424
3207
  "onField-change"?: ((...args: any[]) => any) | undefined;
3425
3208
  "onField-input"?: ((...args: any[]) => any) | undefined;
3426
3209
  }>, {
@@ -3428,8 +3211,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3428
3211
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3429
3212
  formState: FormState;
3430
3213
  initialized: vue.Ref<boolean, boolean>;
3431
- changeHandler: () => void;
3432
- resetForm: () => any;
3214
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3215
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3216
+ resetForm: () => void;
3433
3217
  submitForm: (native?: boolean) => Promise<any>;
3434
3218
  }, {}, {}, {}, {
3435
3219
  disabled: boolean;
@@ -3445,7 +3229,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3445
3229
  stepActive: string | number;
3446
3230
  height: string;
3447
3231
  }> | undefined>;
3448
- submit: () => Promise<void>;
3232
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3449
3233
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3450
3234
  mounted: (...args: any[]) => void;
3451
3235
  "submit-error": (...args: any[]) => void;
@@ -3498,6 +3282,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3498
3282
  }> & Readonly<{
3499
3283
  onChange?: ((...args: any[]) => any) | undefined;
3500
3284
  onError?: ((...args: any[]) => any) | undefined;
3285
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3501
3286
  "onField-change"?: ((...args: any[]) => any) | undefined;
3502
3287
  "onField-input"?: ((...args: any[]) => any) | undefined;
3503
3288
  }>, {
@@ -3505,37 +3290,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3505
3290
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3506
3291
  formState: FormState;
3507
3292
  initialized: vue.Ref<boolean, boolean>;
3508
- changeHandler: () => void;
3509
- resetForm: () => any;
3293
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3294
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3295
+ resetForm: () => void;
3510
3296
  submitForm: (native?: boolean) => Promise<any>;
3511
3297
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3512
3298
  change: (...args: any[]) => void;
3513
3299
  error: (...args: any[]) => void;
3300
+ "update:stepActive": (...args: any[]) => void;
3514
3301
  "field-change": (...args: any[]) => void;
3515
3302
  "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
- }>, {
3303
+ }, vue.PublicProps, {
3539
3304
  disabled: boolean;
3540
3305
  labelWidth: string;
3541
3306
  inline: boolean;
@@ -3548,7 +3313,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3548
3313
  parentValues: Record<string, any>;
3549
3314
  stepActive: string | number;
3550
3315
  height: string;
3551
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3316
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3552
3317
  P: {};
3553
3318
  B: {};
3554
3319
  D: {};
@@ -3575,6 +3340,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3575
3340
  }> & Readonly<{
3576
3341
  onChange?: ((...args: any[]) => any) | undefined;
3577
3342
  onError?: ((...args: any[]) => any) | undefined;
3343
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3578
3344
  "onField-change"?: ((...args: any[]) => any) | undefined;
3579
3345
  "onField-input"?: ((...args: any[]) => any) | undefined;
3580
3346
  }>, {
@@ -3582,8 +3348,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3582
3348
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3583
3349
  formState: FormState;
3584
3350
  initialized: vue.Ref<boolean, boolean>;
3585
- changeHandler: () => void;
3586
- resetForm: () => any;
3351
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3352
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3353
+ resetForm: () => void;
3587
3354
  submitForm: (native?: boolean) => Promise<any>;
3588
3355
  }, {}, {}, {}, {
3589
3356
  disabled: boolean;
@@ -3618,6 +3385,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3618
3385
  }> & Readonly<{
3619
3386
  onChange?: ((...args: any[]) => any) | undefined;
3620
3387
  onError?: ((...args: any[]) => any) | undefined;
3388
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3621
3389
  "onField-change"?: ((...args: any[]) => any) | undefined;
3622
3390
  "onField-input"?: ((...args: any[]) => any) | undefined;
3623
3391
  }>, {
@@ -3625,37 +3393,17 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3625
3393
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3626
3394
  formState: FormState;
3627
3395
  initialized: vue.Ref<boolean, boolean>;
3628
- changeHandler: () => void;
3629
- resetForm: () => any;
3396
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3397
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3398
+ resetForm: () => void;
3630
3399
  submitForm: (native?: boolean) => Promise<any>;
3631
3400
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3632
3401
  change: (...args: any[]) => void;
3633
3402
  error: (...args: any[]) => void;
3403
+ "update:stepActive": (...args: any[]) => void;
3634
3404
  "field-change": (...args: any[]) => void;
3635
3405
  "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
- }>, {
3406
+ }, vue.PublicProps, {
3659
3407
  disabled: boolean;
3660
3408
  labelWidth: string;
3661
3409
  inline: boolean;
@@ -3668,7 +3416,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3668
3416
  parentValues: Record<string, any>;
3669
3417
  stepActive: string | number;
3670
3418
  height: string;
3671
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3419
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3672
3420
  P: {};
3673
3421
  B: {};
3674
3422
  D: {};
@@ -3695,6 +3443,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3695
3443
  }> & Readonly<{
3696
3444
  onChange?: ((...args: any[]) => any) | undefined;
3697
3445
  onError?: ((...args: any[]) => any) | undefined;
3446
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3698
3447
  "onField-change"?: ((...args: any[]) => any) | undefined;
3699
3448
  "onField-input"?: ((...args: any[]) => any) | undefined;
3700
3449
  }>, {
@@ -3702,8 +3451,9 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3702
3451
  lastValuesProcessed: vue.Ref<FormValue, FormValue>;
3703
3452
  formState: FormState;
3704
3453
  initialized: vue.Ref<boolean, boolean>;
3705
- changeHandler: () => void;
3706
- resetForm: () => any;
3454
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
3455
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3456
+ resetForm: () => void;
3707
3457
  submitForm: (native?: boolean) => Promise<any>;
3708
3458
  }, {}, {}, {}, {
3709
3459
  disabled: boolean;
@@ -3719,7 +3469,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3719
3469
  stepActive: string | number;
3720
3470
  height: string;
3721
3471
  }> | undefined>;
3722
- submit: () => Promise<void>;
3472
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3723
3473
  }> & {} & vue.ComponentCustomProperties & {} & {
3724
3474
  $slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
3725
3475
  }) => any) | undefined;
@@ -3752,7 +3502,7 @@ declare const __VLS_component$b: vue.DefineComponent<EditorProps, {
3752
3502
  containerHighlightDuration: number;
3753
3503
  containerHighlightType: StageCore.ContainerHighlightType;
3754
3504
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
3755
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3505
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
3756
3506
  declare const _default$v: __VLS_WithTemplateSlots$b<typeof __VLS_component$b, __VLS_TemplateResult$b["slots"]>;
3757
3507
 
3758
3508
  type __VLS_WithTemplateSlots$b<T, S> = T & {
@@ -3761,10 +3511,10 @@ type __VLS_WithTemplateSlots$b<T, S> = T & {
3761
3511
  };
3762
3512
  };
3763
3513
 
3764
- declare const _default$u: vue.DefineComponent<{
3514
+ type __VLS_Props$r = {
3765
3515
  initValues?: any;
3766
3516
  modifiedValues?: any;
3767
- type?: "diff";
3517
+ type?: 'diff';
3768
3518
  language?: string;
3769
3519
  options?: {
3770
3520
  [key: string]: any;
@@ -3772,7 +3522,8 @@ declare const _default$u: vue.DefineComponent<{
3772
3522
  height?: string;
3773
3523
  autoSave?: boolean;
3774
3524
  parse?: boolean;
3775
- }, {
3525
+ };
3526
+ declare const _default$u: vue.DefineComponent<__VLS_Props$r, {
3776
3527
  values: vue.Ref<string, string>;
3777
3528
  getEditor(): monaco.editor.IStandaloneCodeEditor | monaco.editor.IStandaloneDiffEditor | null;
3778
3529
  getVsEditor(): monaco.editor.IStandaloneCodeEditor | null;
@@ -3783,18 +3534,7 @@ declare const _default$u: vue.DefineComponent<{
3783
3534
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3784
3535
  save: (...args: any[]) => void;
3785
3536
  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<{
3537
+ }, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
3798
3538
  onSave?: ((...args: any[]) => any) | undefined;
3799
3539
  onInitd?: ((...args: any[]) => any) | undefined;
3800
3540
  }>, {
@@ -3805,15 +3545,16 @@ declare const _default$u: vue.DefineComponent<{
3805
3545
  parse: boolean;
3806
3546
  language: string;
3807
3547
  autoSave: boolean;
3808
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3548
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
3809
3549
 
3810
3550
  declare function __VLS_template$a(): {
3551
+ attrs: Partial<{}>;
3811
3552
  slots: Readonly<ComponentListPanelSlots> & ComponentListPanelSlots;
3812
3553
  refs: {};
3813
- attrs: Partial<{}>;
3554
+ rootEl: any;
3814
3555
  };
3815
3556
  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, {}>;
3557
+ declare const __VLS_component$a: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, any>;
3817
3558
  declare const _default$t: __VLS_WithTemplateSlots$a<typeof __VLS_component$a, __VLS_TemplateResult$a["slots"]>;
3818
3559
 
3819
3560
  type __VLS_WithTemplateSlots$a<T, S> = T & {
@@ -3822,7 +3563,14 @@ type __VLS_WithTemplateSlots$a<T, S> = T & {
3822
3563
  };
3823
3564
  };
3824
3565
 
3566
+ type __VLS_Props$q = {
3567
+ layerContentMenu: (MenuButton | MenuComponent)[];
3568
+ indent?: number;
3569
+ nextLevelIndentIncrement?: number;
3570
+ customContentMenu?: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3571
+ };
3825
3572
  declare function __VLS_template$9(): {
3573
+ attrs: Partial<{}>;
3826
3574
  slots: Readonly<LayerPanelSlots> & LayerPanelSlots;
3827
3575
  refs: {
3828
3576
  tree: ({
@@ -3833,29 +3581,15 @@ declare function __VLS_template$9(): {
3833
3581
  readonly nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
3834
3582
  readonly indent?: number | undefined;
3835
3583
  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
- }>;
3584
+ readonly emptyText?: string | undefined;
3585
+ readonly "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3586
+ readonly "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3587
+ readonly "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3588
+ readonly "onNode-dragleave"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3589
+ readonly "onNode-dragend"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
3590
+ readonly "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3591
+ readonly "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3592
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
3859
3593
  $attrs: {
3860
3594
  [x: string]: unknown;
3861
3595
  };
@@ -3869,7 +3603,7 @@ declare function __VLS_template$9(): {
3869
3603
  $parent: vue.ComponentPublicInstance | null;
3870
3604
  $host: Element | null;
3871
3605
  $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;
3606
+ $el: HTMLDivElement;
3873
3607
  $options: vue.ComponentOptionsBase<Readonly<{
3874
3608
  data: TreeNodeData[];
3875
3609
  nodeStatusMap: Map<_tmagic_schema.Id, LayerNodeStatus>;
@@ -3885,13 +3619,13 @@ declare function __VLS_template$9(): {
3885
3619
  "onNode-mouseenter"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3886
3620
  "onNode-dragover"?: ((event: DragEvent) => any) | undefined;
3887
3621
  }>, {}, {}, {}, {}, 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;
3622
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
3623
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
3624
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
3625
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
3626
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
3627
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
3628
+ "node-dragover": (event: DragEvent) => any;
3895
3629
  }, string, {
3896
3630
  emptyText: string;
3897
3631
  indent: number;
@@ -3963,16 +3697,11 @@ declare function __VLS_template$9(): {
3963
3697
  }>, {
3964
3698
  show: (e: MouseEvent) => void;
3965
3699
  }, {}, {}, {}, 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
- }>, {
3700
+ "collapse-all": () => any;
3701
+ }, vue.PublicProps, {
3973
3702
  layerContentMenu: (MenuButton | MenuComponent)[];
3974
3703
  customContentMenu: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3975
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
3704
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
3976
3705
  P: {};
3977
3706
  B: {};
3978
3707
  D: {};
@@ -3991,20 +3720,10 @@ declare function __VLS_template$9(): {
3991
3720
  customContentMenu: (menus: (MenuButton | MenuComponent)[], type: string) => (MenuButton | MenuComponent)[];
3992
3721
  }> | null;
3993
3722
  };
3994
- attrs: Partial<{}>;
3723
+ rootEl: any;
3995
3724
  };
3996
3725
  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, {}>;
3726
+ 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
3727
  declare const _default$s: __VLS_WithTemplateSlots$9<typeof __VLS_component$9, __VLS_TemplateResult$9["slots"]>;
4009
3728
 
4010
3729
  type __VLS_WithTemplateSlots$9<T, S> = T & {
@@ -4013,146 +3732,154 @@ type __VLS_WithTemplateSlots$9<T, S> = T & {
4013
3732
  };
4014
3733
  };
4015
3734
 
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<{
3735
+ type __VLS_Props$p = FieldProps<{
4021
3736
  className?: string;
4022
- } & FormItem$1>> & Readonly<{
4023
- onChange?: ((...args: any[]) => any) | undefined;
4024
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3737
+ } & FormItem$1>;
3738
+ declare const _default$r: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3739
+ change: (v: any, eventData: ContainerChangeEventData$1) => any;
3740
+ }, string, vue.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
3741
+ onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
3742
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4025
3743
 
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;
3744
+ type __VLS_Props$o = FieldProps<CodeSelectColConfig>;
3745
+ declare const _default$q: vue.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3746
+ change: (v: any, eventData: ContainerChangeEventData$1) => any;
3747
+ }, string, vue.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
3748
+ onChange?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
4030
3749
  }>, {
4031
3750
  disabled: boolean;
4032
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3751
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4033
3752
 
4034
- declare let __VLS_typeProps$4: FieldProps<{
3753
+ type __VLS_Props$n = FieldProps<{
4035
3754
  type: 'data-source-fields';
4036
3755
  }>;
4037
3756
  type __VLS_PublicProps$4 = {
4038
3757
  'width'?: number;
4039
3758
  'visible'?: boolean;
4040
3759
  'visible1'?: boolean;
4041
- } & typeof __VLS_typeProps$4;
3760
+ } & __VLS_Props$n;
4042
3761
  declare const _default$p: vue.DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4043
- change: (...args: any[]) => void;
3762
+ change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3763
+ "update:width": (value: number) => any;
3764
+ "update:visible": (value: boolean) => any;
3765
+ "update:visible1": (value: boolean) => any;
4044
3766
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$4> & Readonly<{
4045
- onChange?: ((...args: any[]) => any) | undefined;
3767
+ onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3768
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3769
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
3770
+ "onUpdate:visible1"?: ((value: boolean) => any) | undefined;
4046
3771
  }>, {
4047
3772
  disabled: boolean;
4048
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3773
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4049
3774
 
4050
- declare let __VLS_typeProps$3: FieldProps<{
3775
+ type __VLS_Props$m = FieldProps<{
4051
3776
  type: 'data-source-mocks';
4052
3777
  }>;
4053
3778
  type __VLS_PublicProps$3 = {
4054
3779
  'width'?: number;
4055
3780
  'visible'?: boolean;
4056
- } & typeof __VLS_typeProps$3;
3781
+ } & __VLS_Props$m;
4057
3782
  declare const _default$o: vue.DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4058
3783
  change: (...args: any[]) => void;
3784
+ "update:width": (value: number) => void;
3785
+ "update:visible": (value: boolean) => void;
4059
3786
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
4060
3787
  onChange?: ((...args: any[]) => any) | undefined;
3788
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3789
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4061
3790
  }>, {
4062
3791
  disabled: boolean;
4063
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3792
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4064
3793
 
4065
- declare const _default$n: vue.DefineComponent<FieldProps<{
4066
- type: "data-source-methods";
4067
- }>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3794
+ type __VLS_Props$l = FieldProps<{
3795
+ type: 'data-source-methods';
3796
+ }>;
3797
+ declare const _default$n: vue.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4068
3798
  change: (...args: any[]) => void;
4069
- }, string, vue.PublicProps, Readonly<FieldProps<{
4070
- type: "data-source-methods";
4071
- }>> & Readonly<{
3799
+ }, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
4072
3800
  onChange?: ((...args: any[]) => any) | undefined;
4073
3801
  }>, {
4074
3802
  disabled: boolean;
4075
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3803
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4076
3804
 
4077
- declare const _default$m: vue.DefineComponent<FieldProps<{
4078
- type: "data-source-input";
4079
- } & FormItem$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3805
+ type __VLS_Props$k = FieldProps<{
3806
+ type: 'data-source-input';
3807
+ } & FormItem$1>;
3808
+ declare const _default$m: vue.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4080
3809
  change: (value: string) => any;
4081
- }, string, vue.PublicProps, Readonly<FieldProps<{
4082
- type: "data-source-input";
4083
- } & FormItem$1>> & Readonly<{
3810
+ }, string, vue.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
4084
3811
  onChange?: ((value: string) => any) | undefined;
4085
3812
  }>, {
4086
3813
  disabled: boolean;
4087
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3814
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4088
3815
 
4089
- declare const _default$l: vue.DefineComponent<FieldProps<DataSourceSelect>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3816
+ type __VLS_Props$j = FieldProps<DataSourceSelect>;
3817
+ declare const _default$l: vue.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4090
3818
  change: (...args: any[]) => void;
4091
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceSelect>> & Readonly<{
3819
+ }, string, vue.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
4092
3820
  onChange?: ((...args: any[]) => any) | undefined;
4093
3821
  }>, {
4094
3822
  disabled: boolean;
4095
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3823
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4096
3824
 
4097
- declare const _default$k: vue.DefineComponent<FieldProps<DataSourceMethodSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3825
+ type __VLS_Props$i = FieldProps<DataSourceMethodSelectConfig>;
3826
+ declare const _default$k: vue.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4098
3827
  change: (...args: any[]) => void;
4099
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceMethodSelectConfig>> & Readonly<{
3828
+ }, string, vue.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
4100
3829
  onChange?: ((...args: any[]) => any) | undefined;
4101
3830
  }>, {
4102
3831
  disabled: boolean;
4103
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3832
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4104
3833
 
4105
- declare const _default$j: vue.DefineComponent<FieldProps<DataSourceFieldSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3834
+ type __VLS_Props$h = FieldProps<DataSourceFieldSelectConfig>;
3835
+ declare const _default$j: vue.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4106
3836
  change: (...args: any[]) => void;
4107
- }, string, vue.PublicProps, Readonly<FieldProps<DataSourceFieldSelectConfig>> & Readonly<{
3837
+ }, string, vue.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
4108
3838
  onChange?: ((...args: any[]) => any) | undefined;
4109
3839
  }>, {
4110
3840
  disabled: boolean;
4111
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3841
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4112
3842
 
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, {}>;
3843
+ type __VLS_Props$g = FieldProps<EventSelectConfig>;
3844
+ declare const _default$i: vue.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3845
+ change: (v: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3846
+ }, string, vue.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
3847
+ onChange?: ((v: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3848
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4118
3849
 
4119
- declare const _default$h: vue.DefineComponent<FieldProps<{
4120
- type: "key-value";
3850
+ type __VLS_Props$f = FieldProps<{
3851
+ type: 'key-value';
4121
3852
  advanced?: boolean;
4122
- } & FormItem$1>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
3853
+ } & FormItem$1>;
3854
+ declare const _default$h: vue.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4123
3855
  change: (value: Record<string, any>) => any;
4124
- }, string, vue.PublicProps, Readonly<FieldProps<{
4125
- type: "key-value";
4126
- advanced?: boolean;
4127
- } & FormItem$1>> & Readonly<{
3856
+ }, string, vue.PublicProps, Readonly<__VLS_Props$f> & Readonly<{
4128
3857
  onChange?: ((value: Record<string, any>) => any) | undefined;
4129
3858
  }>, {
4130
3859
  disabled: boolean;
4131
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3860
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4132
3861
 
3862
+ type __VLS_Props$e = {
3863
+ indent?: number;
3864
+ nextLevelIndentIncrement?: number;
3865
+ customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
3866
+ };
4133
3867
  declare function __VLS_template$8(): {
3868
+ attrs: Partial<{}>;
4134
3869
  slots: Readonly<CodeBlockListSlots> & CodeBlockListSlots;
4135
3870
  refs: {};
4136
- attrs: Partial<{}>;
3871
+ rootEl: HTMLDivElement;
4137
3872
  };
4138
3873
  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
- }, {
3874
+ declare const __VLS_component$8: vue.DefineComponent<__VLS_Props$e, {
4144
3875
  filter: (text: string | string[]) => void;
4145
3876
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4146
- edit: (id: string) => any;
4147
3877
  remove: (id: string) => any;
4148
- }, string, vue.PublicProps, Readonly<{
4149
- indent?: number;
4150
- nextLevelIndentIncrement?: number;
4151
- customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
4152
- }> & Readonly<{
3878
+ edit: (id: string) => any;
3879
+ }, string, vue.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
4153
3880
  onRemove?: ((id: string) => any) | undefined;
4154
3881
  onEdit?: ((id: string) => any) | undefined;
4155
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
3882
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4156
3883
  declare const _default$g: __VLS_WithTemplateSlots$8<typeof __VLS_component$8, __VLS_TemplateResult$8["slots"]>;
4157
3884
 
4158
3885
  type __VLS_WithTemplateSlots$8<T, S> = T & {
@@ -4161,7 +3888,13 @@ type __VLS_WithTemplateSlots$8<T, S> = T & {
4161
3888
  };
4162
3889
  };
4163
3890
 
3891
+ type __VLS_Props$d = {
3892
+ indent?: number;
3893
+ nextLevelIndentIncrement?: number;
3894
+ customError?: (id: Id, errorType: CodeDeleteErrorType) => any;
3895
+ };
4164
3896
  declare function __VLS_template$7(): {
3897
+ attrs: Partial<{}>;
4165
3898
  slots: Readonly<CodeBlockListPanelSlots> & CodeBlockListPanelSlots;
4166
3899
  refs: {
4167
3900
  codeBlockList: ({
@@ -4173,14 +3906,7 @@ declare function __VLS_template$7(): {
4173
3906
  readonly customError?: ((id: Id, errorType: CodeDeleteErrorType) => any) | undefined;
4174
3907
  readonly onRemove?: ((id: string) => any) | undefined;
4175
3908
  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
- }>;
3909
+ } & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
4184
3910
  $attrs: {
4185
3911
  [x: string]: unknown;
4186
3912
  };
@@ -4194,7 +3920,7 @@ declare function __VLS_template$7(): {
4194
3920
  $parent: vue.ComponentPublicInstance | null;
4195
3921
  $host: Element | null;
4196
3922
  $emit: ((event: "remove", id: string) => void) & ((event: "edit", id: string) => void);
4197
- $el: any;
3923
+ $el: HTMLDivElement;
4198
3924
  $options: vue.ComponentOptionsBase<Readonly<{
4199
3925
  indent?: number;
4200
3926
  nextLevelIndentIncrement?: number;
@@ -4205,8 +3931,8 @@ declare function __VLS_template$7(): {
4205
3931
  }>, {
4206
3932
  filter: (text: string | string[]) => void;
4207
3933
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4208
- edit: (id: string) => any;
4209
3934
  remove: (id: string) => any;
3935
+ edit: (id: string) => any;
4210
3936
  }, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
4211
3937
  beforeCreate?: (() => void) | (() => void)[];
4212
3938
  created?: (() => void) | (() => void)[];
@@ -4248,29 +3974,17 @@ declare function __VLS_template$7(): {
4248
3974
  isDataSource?: boolean;
4249
3975
  dataSourceType?: string;
4250
3976
  }> & Readonly<{
4251
- onSubmit?: ((values: _tmagic_schema.CodeBlockContent) => any) | undefined;
4252
- "onUpdate:width"?: ((width: number) => any) | undefined;
4253
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
3977
+ onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
3978
+ "onUpdate:width"?: ((value: number) => any) | undefined;
3979
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4254
3980
  }>, {
4255
3981
  show(): Promise<void>;
4256
3982
  hide(): Promise<void>;
4257
3983
  }, {}, {}, {}, 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, {
3984
+ submit: (values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any;
3985
+ "update:width": (value: number) => any;
3986
+ "update:visible": (value: boolean) => any;
3987
+ }, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4274
3988
  P: {};
4275
3989
  B: {};
4276
3990
  D: {};
@@ -4286,26 +4000,18 @@ declare function __VLS_template$7(): {
4286
4000
  isDataSource?: boolean;
4287
4001
  dataSourceType?: string;
4288
4002
  }> & Readonly<{
4289
- onSubmit?: ((values: _tmagic_schema.CodeBlockContent) => any) | undefined;
4290
- "onUpdate:width"?: ((width: number) => any) | undefined;
4291
- "onUpdate:visible"?: ((visible: boolean) => any) | undefined;
4003
+ onSubmit?: ((values: _tmagic_schema.CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
4004
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4005
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4292
4006
  }>, {
4293
4007
  show(): Promise<void>;
4294
4008
  hide(): Promise<void>;
4295
4009
  }, {}, {}, {}, {}> | null;
4296
4010
  };
4297
- attrs: Partial<{}>;
4011
+ rootEl: any;
4298
4012
  };
4299
4013
  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, {}>;
4014
+ 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
4015
  declare const _default$f: __VLS_WithTemplateSlots$7<typeof __VLS_component$7, __VLS_TemplateResult$7["slots"]>;
4310
4016
 
4311
4017
  type __VLS_WithTemplateSlots$7<T, S> = T & {
@@ -4314,7 +4020,7 @@ type __VLS_WithTemplateSlots$7<T, S> = T & {
4314
4020
  };
4315
4021
  };
4316
4022
 
4317
- declare let __VLS_typeProps$2: {
4023
+ type __VLS_Props$c = {
4318
4024
  title?: string;
4319
4025
  values: any;
4320
4026
  disabled: boolean;
@@ -4322,17 +4028,26 @@ declare let __VLS_typeProps$2: {
4322
4028
  type __VLS_PublicProps$2 = {
4323
4029
  'visible'?: boolean;
4324
4030
  'width'?: number;
4325
- } & typeof __VLS_typeProps$2;
4031
+ } & __VLS_Props$c;
4326
4032
  declare const _default$e: vue.DefineComponent<__VLS_PublicProps$2, {
4327
4033
  show(): void;
4328
4034
  hide(): void;
4329
4035
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4330
- submit: (...args: any[]) => void;
4036
+ submit: (v: any, eventData: ContainerChangeEventData$1) => any;
4037
+ "update:width": (value: number) => any;
4038
+ "update:visible": (value: boolean) => any;
4331
4039
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
4332
- onSubmit?: ((...args: any[]) => any) | undefined;
4333
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4040
+ onSubmit?: ((v: any, eventData: ContainerChangeEventData$1) => any) | undefined;
4041
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4042
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4043
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4334
4044
 
4045
+ type __VLS_Props$b = {
4046
+ disabledShowSrc?: boolean;
4047
+ extendState?: (state: FormState$1) => Record<string, any> | Promise<Record<string, any>>;
4048
+ };
4335
4049
  declare function __VLS_template$6(): {
4050
+ attrs: Partial<{}>;
4336
4051
  slots: Readonly<PropsPanelSlots> & PropsPanelSlots;
4337
4052
  refs: {
4338
4053
  configForm: vue.CreateComponentPublicInstanceWithMixins<Readonly<{
@@ -4355,6 +4070,7 @@ declare function __VLS_template$6(): {
4355
4070
  }> & Readonly<{
4356
4071
  onChange?: ((...args: any[]) => any) | undefined;
4357
4072
  onError?: ((...args: any[]) => any) | undefined;
4073
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4358
4074
  "onField-change"?: ((...args: any[]) => any) | undefined;
4359
4075
  "onField-input"?: ((...args: any[]) => any) | undefined;
4360
4076
  }>, {
@@ -4362,37 +4078,17 @@ declare function __VLS_template$6(): {
4362
4078
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4363
4079
  formState: FormState$1;
4364
4080
  initialized: vue.Ref<boolean, boolean>;
4365
- changeHandler: () => void;
4366
- resetForm: () => any;
4081
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4082
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4083
+ resetForm: () => void;
4367
4084
  submitForm: (native?: boolean) => Promise<any>;
4368
4085
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4369
4086
  change: (...args: any[]) => void;
4370
4087
  error: (...args: any[]) => void;
4088
+ "update:stepActive": (...args: any[]) => void;
4371
4089
  "field-change": (...args: any[]) => void;
4372
4090
  "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
- }>, {
4091
+ }, vue.PublicProps, {
4396
4092
  disabled: boolean;
4397
4093
  labelWidth: string;
4398
4094
  inline: boolean;
@@ -4405,7 +4101,7 @@ declare function __VLS_template$6(): {
4405
4101
  parentValues: Record<string, any>;
4406
4102
  stepActive: string | number;
4407
4103
  height: string;
4408
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4104
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4409
4105
  P: {};
4410
4106
  B: {};
4411
4107
  D: {};
@@ -4432,6 +4128,7 @@ declare function __VLS_template$6(): {
4432
4128
  }> & Readonly<{
4433
4129
  onChange?: ((...args: any[]) => any) | undefined;
4434
4130
  onError?: ((...args: any[]) => any) | undefined;
4131
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4435
4132
  "onField-change"?: ((...args: any[]) => any) | undefined;
4436
4133
  "onField-input"?: ((...args: any[]) => any) | undefined;
4437
4134
  }>, {
@@ -4439,8 +4136,9 @@ declare function __VLS_template$6(): {
4439
4136
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4440
4137
  formState: FormState$1;
4441
4138
  initialized: vue.Ref<boolean, boolean>;
4442
- changeHandler: () => void;
4443
- resetForm: () => any;
4139
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4140
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4141
+ resetForm: () => void;
4444
4142
  submitForm: (native?: boolean) => Promise<any>;
4445
4143
  }, {}, {}, {}, {
4446
4144
  disabled: boolean;
@@ -4457,13 +4155,10 @@ declare function __VLS_template$6(): {
4457
4155
  height: string;
4458
4156
  }> | null;
4459
4157
  };
4460
- attrs: Partial<{}>;
4158
+ rootEl: HTMLDivElement;
4461
4159
  };
4462
4160
  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
- }, {
4161
+ declare const __VLS_component$6: vue.DefineComponent<__VLS_Props$b, {
4467
4162
  configForm: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
4468
4163
  config: FormConfig;
4469
4164
  initValues: Record<string, any>;
@@ -4484,6 +4179,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4484
4179
  }> & Readonly<{
4485
4180
  onChange?: ((...args: any[]) => any) | undefined;
4486
4181
  onError?: ((...args: any[]) => any) | undefined;
4182
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4487
4183
  "onField-change"?: ((...args: any[]) => any) | undefined;
4488
4184
  "onField-input"?: ((...args: any[]) => any) | undefined;
4489
4185
  }>, {
@@ -4491,37 +4187,17 @@ declare const __VLS_component$6: vue.DefineComponent<{
4491
4187
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4492
4188
  formState: FormState$1;
4493
4189
  initialized: vue.Ref<boolean, boolean>;
4494
- changeHandler: () => void;
4495
- resetForm: () => any;
4190
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4191
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4192
+ resetForm: () => void;
4496
4193
  submitForm: (native?: boolean) => Promise<any>;
4497
4194
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4498
4195
  change: (...args: any[]) => void;
4499
4196
  error: (...args: any[]) => void;
4197
+ "update:stepActive": (...args: any[]) => void;
4500
4198
  "field-change": (...args: any[]) => void;
4501
4199
  "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
- }>, {
4200
+ }, vue.PublicProps, {
4525
4201
  disabled: boolean;
4526
4202
  labelWidth: string;
4527
4203
  inline: boolean;
@@ -4534,7 +4210,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4534
4210
  parentValues: Record<string, any>;
4535
4211
  stepActive: string | number;
4536
4212
  height: string;
4537
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4213
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4538
4214
  P: {};
4539
4215
  B: {};
4540
4216
  D: {};
@@ -4561,6 +4237,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4561
4237
  }> & Readonly<{
4562
4238
  onChange?: ((...args: any[]) => any) | undefined;
4563
4239
  onError?: ((...args: any[]) => any) | undefined;
4240
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4564
4241
  "onField-change"?: ((...args: any[]) => any) | undefined;
4565
4242
  "onField-input"?: ((...args: any[]) => any) | undefined;
4566
4243
  }>, {
@@ -4568,8 +4245,9 @@ declare const __VLS_component$6: vue.DefineComponent<{
4568
4245
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4569
4246
  formState: FormState$1;
4570
4247
  initialized: vue.Ref<boolean, boolean>;
4571
- changeHandler: () => void;
4572
- resetForm: () => any;
4248
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4249
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4250
+ resetForm: () => void;
4573
4251
  submitForm: (native?: boolean) => Promise<any>;
4574
4252
  }, {}, {}, {}, {
4575
4253
  disabled: boolean;
@@ -4604,6 +4282,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4604
4282
  }> & Readonly<{
4605
4283
  onChange?: ((...args: any[]) => any) | undefined;
4606
4284
  onError?: ((...args: any[]) => any) | undefined;
4285
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4607
4286
  "onField-change"?: ((...args: any[]) => any) | undefined;
4608
4287
  "onField-input"?: ((...args: any[]) => any) | undefined;
4609
4288
  }>, {
@@ -4611,37 +4290,17 @@ declare const __VLS_component$6: vue.DefineComponent<{
4611
4290
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4612
4291
  formState: FormState$1;
4613
4292
  initialized: vue.Ref<boolean, boolean>;
4614
- changeHandler: () => void;
4615
- resetForm: () => any;
4293
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4294
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4295
+ resetForm: () => void;
4616
4296
  submitForm: (native?: boolean) => Promise<any>;
4617
4297
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4618
4298
  change: (...args: any[]) => void;
4619
4299
  error: (...args: any[]) => void;
4300
+ "update:stepActive": (...args: any[]) => void;
4620
4301
  "field-change": (...args: any[]) => void;
4621
4302
  "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
- }>, {
4303
+ }, vue.PublicProps, {
4645
4304
  disabled: boolean;
4646
4305
  labelWidth: string;
4647
4306
  inline: boolean;
@@ -4654,7 +4313,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4654
4313
  parentValues: Record<string, any>;
4655
4314
  stepActive: string | number;
4656
4315
  height: string;
4657
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4316
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4658
4317
  P: {};
4659
4318
  B: {};
4660
4319
  D: {};
@@ -4681,6 +4340,7 @@ declare const __VLS_component$6: vue.DefineComponent<{
4681
4340
  }> & Readonly<{
4682
4341
  onChange?: ((...args: any[]) => any) | undefined;
4683
4342
  onError?: ((...args: any[]) => any) | undefined;
4343
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4684
4344
  "onField-change"?: ((...args: any[]) => any) | undefined;
4685
4345
  "onField-input"?: ((...args: any[]) => any) | undefined;
4686
4346
  }>, {
@@ -4688,8 +4348,9 @@ declare const __VLS_component$6: vue.DefineComponent<{
4688
4348
  lastValuesProcessed: vue.Ref<FormValue$1, FormValue$1>;
4689
4349
  formState: FormState$1;
4690
4350
  initialized: vue.Ref<boolean, boolean>;
4691
- changeHandler: () => void;
4692
- resetForm: () => any;
4351
+ changeRecords: vue.ShallowRef<ChangeRecord[], ChangeRecord[]>;
4352
+ changeHandler: (v: FormValue$1, eventData: ContainerChangeEventData$1) => void;
4353
+ resetForm: () => void;
4693
4354
  submitForm: (native?: boolean) => Promise<any>;
4694
4355
  }, {}, {}, {}, {
4695
4356
  disabled: boolean;
@@ -4705,19 +4366,16 @@ declare const __VLS_component$6: vue.DefineComponent<{
4705
4366
  stepActive: string | number;
4706
4367
  height: string;
4707
4368
  }> | undefined>;
4708
- submit: () => Promise<void>;
4369
+ submit: (v: FormValue$1, eventData: ContainerChangeEventData$1) => Promise<void>;
4709
4370
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4710
4371
  mounted: (...args: any[]) => void;
4711
4372
  "submit-error": (...args: any[]) => void;
4712
4373
  "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<{
4374
+ }, string, vue.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
4717
4375
  onMounted?: ((...args: any[]) => any) | undefined;
4718
4376
  "onSubmit-error"?: ((...args: any[]) => any) | undefined;
4719
4377
  "onForm-error"?: ((...args: any[]) => any) | undefined;
4720
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4378
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4721
4379
  declare const _default$d: __VLS_WithTemplateSlots$6<typeof __VLS_component$6, __VLS_TemplateResult$6["slots"]>;
4722
4380
 
4723
4381
  type __VLS_WithTemplateSlots$6<T, S> = T & {
@@ -4726,18 +4384,23 @@ type __VLS_WithTemplateSlots$6<T, S> = T & {
4726
4384
  };
4727
4385
  };
4728
4386
 
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<{
4387
+ type __VLS_Props$a = {
4733
4388
  data?: MenuButton | MenuComponent;
4734
- eventType?: "mousedown" | "mouseup" | "click";
4735
- }> & Readonly<{}>, {
4389
+ eventType?: 'mousedown' | 'mouseup' | 'click';
4390
+ };
4391
+ declare const _default$c: vue.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<__VLS_Props$a> & Readonly<{}>, {
4736
4392
  data: MenuButton | MenuComponent;
4737
4393
  eventType: "mousedown" | "mouseup" | "click";
4738
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4394
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4739
4395
 
4396
+ type __VLS_Props$9 = {
4397
+ menuData?: (MenuButton | MenuComponent)[];
4398
+ isSubMenu?: boolean;
4399
+ active?: string | number;
4400
+ autoHide?: boolean;
4401
+ };
4740
4402
  declare function __VLS_template$5(): {
4403
+ attrs: Partial<{}>;
4741
4404
  slots: {
4742
4405
  title?(_: {}): any;
4743
4406
  };
@@ -4746,13 +4409,10 @@ declare function __VLS_template$5(): {
4746
4409
  buttons: (vue.CreateComponentPublicInstanceWithMixins<Readonly<{
4747
4410
  data?: MenuButton | MenuComponent;
4748
4411
  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<{}>, {
4412
+ }> & Readonly<{}>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, vue.PublicProps, {
4753
4413
  data: MenuButton | MenuComponent;
4754
4414
  eventType: "mousedown" | "mouseup" | "click";
4755
- }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, vue.ComponentProvideOptions, {
4415
+ }, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
4756
4416
  P: {};
4757
4417
  B: {};
4758
4418
  D: {};
@@ -4768,15 +4428,10 @@ declare function __VLS_template$5(): {
4768
4428
  }> | null)[];
4769
4429
  subMenu: unknown;
4770
4430
  };
4771
- attrs: Partial<{}>;
4431
+ rootEl: any;
4772
4432
  };
4773
4433
  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
- }, {
4434
+ declare const __VLS_component$5: vue.DefineComponent<__VLS_Props$9, {
4780
4435
  menu: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4781
4436
  menuPosition: vue.Ref<{
4782
4437
  left: number;
@@ -4799,15 +4454,10 @@ declare const __VLS_component$5: vue.DefineComponent<{
4799
4454
  clientX: number;
4800
4455
  }) => void;
4801
4456
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4802
- hide: () => any;
4803
- show: () => any;
4804
4457
  mouseenter: () => any;
4805
- }, string, vue.PublicProps, Readonly<{
4806
- menuData?: (MenuButton | MenuComponent)[];
4807
- isSubMenu?: boolean;
4808
- active?: string | number;
4809
- autoHide?: boolean;
4810
- }> & Readonly<{
4458
+ show: () => any;
4459
+ hide: () => any;
4460
+ }, string, vue.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
4811
4461
  onMouseenter?: (() => any) | undefined;
4812
4462
  onShow?: (() => any) | undefined;
4813
4463
  onHide?: (() => any) | undefined;
@@ -4815,7 +4465,7 @@ declare const __VLS_component$5: vue.DefineComponent<{
4815
4465
  menuData: (MenuButton | MenuComponent)[];
4816
4466
  isSubMenu: boolean;
4817
4467
  autoHide: boolean;
4818
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4468
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4819
4469
  declare const _default$b: __VLS_WithTemplateSlots$5<typeof __VLS_component$5, __VLS_TemplateResult$5["slots"]>;
4820
4470
 
4821
4471
  type __VLS_WithTemplateSlots$5<T, S> = T & {
@@ -4824,13 +4474,24 @@ type __VLS_WithTemplateSlots$5<T, S> = T & {
4824
4474
  };
4825
4475
  };
4826
4476
 
4827
- declare const _default$a: vue.DefineComponent<{
4477
+ type __VLS_Props$8 = {
4828
4478
  icon?: any;
4829
- }, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
4830
- icon?: any;
4831
- }> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4479
+ };
4480
+ 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
4481
 
4482
+ type __VLS_Props$7 = {
4483
+ width?: number;
4484
+ left?: number;
4485
+ right?: number;
4486
+ minLeft?: number;
4487
+ minRight?: number;
4488
+ minCenter?: number;
4489
+ leftClass?: string;
4490
+ rightClass?: string;
4491
+ centerClass?: string;
4492
+ };
4833
4493
  declare function __VLS_template$4(): {
4494
+ attrs: Partial<{}>;
4834
4495
  slots: {
4835
4496
  left?(_: {}): any;
4836
4497
  center?(_: {}): any;
@@ -4839,36 +4500,16 @@ declare function __VLS_template$4(): {
4839
4500
  refs: {
4840
4501
  el: HTMLDivElement;
4841
4502
  };
4842
- attrs: Partial<{}>;
4503
+ rootEl: HTMLDivElement;
4843
4504
  };
4844
4505
  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
- }, {
4506
+ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$7, {
4856
4507
  updateWidth(): void;
4857
4508
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4858
4509
  change: (...args: any[]) => void;
4859
4510
  "update:left": (...args: any[]) => void;
4860
4511
  "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<{
4512
+ }, string, vue.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
4872
4513
  onChange?: ((...args: any[]) => any) | undefined;
4873
4514
  "onUpdate:left"?: ((...args: any[]) => any) | undefined;
4874
4515
  "onUpdate:right"?: ((...args: any[]) => any) | undefined;
@@ -4876,7 +4517,7 @@ declare const __VLS_component$4: vue.DefineComponent<{
4876
4517
  minLeft: number;
4877
4518
  minRight: number;
4878
4519
  minCenter: number;
4879
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4520
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
4880
4521
  declare const _default$9: __VLS_WithTemplateSlots$4<typeof __VLS_component$4, __VLS_TemplateResult$4["slots"]>;
4881
4522
 
4882
4523
  type __VLS_WithTemplateSlots$4<T, S> = T & {
@@ -4886,20 +4527,21 @@ type __VLS_WithTemplateSlots$4<T, S> = T & {
4886
4527
  };
4887
4528
 
4888
4529
  declare function __VLS_template$3(): {
4530
+ attrs: Partial<{}>;
4889
4531
  slots: {
4890
4532
  default?(_: {}): any;
4891
4533
  };
4892
4534
  refs: {
4893
4535
  target: HTMLSpanElement;
4894
4536
  };
4895
- attrs: Partial<{}>;
4537
+ rootEl: HTMLSpanElement;
4896
4538
  };
4897
4539
  type __VLS_TemplateResult$3 = ReturnType<typeof __VLS_template$3>;
4898
4540
  declare const __VLS_component$3: vue.DefineComponent<{}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4899
4541
  change: (e: OnDrag<gesto.default>) => any;
4900
4542
  }, string, vue.PublicProps, Readonly<{}> & Readonly<{
4901
4543
  onChange?: ((e: OnDrag<gesto.default>) => any) | undefined;
4902
- }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}>;
4544
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, true, {}, HTMLSpanElement>;
4903
4545
  declare const _default$8: __VLS_WithTemplateSlots$3<typeof __VLS_component$3, __VLS_TemplateResult$3["slots"]>;
4904
4546
 
4905
4547
  type __VLS_WithTemplateSlots$3<T, S> = T & {
@@ -4908,7 +4550,7 @@ type __VLS_WithTemplateSlots$3<T, S> = T & {
4908
4550
  };
4909
4551
  };
4910
4552
 
4911
- declare let __VLS_typeProps$1: {
4553
+ type __VLS_Props$6 = {
4912
4554
  content: CodeBlockContent;
4913
4555
  disabled?: boolean;
4914
4556
  isDataSource?: boolean;
@@ -4917,25 +4559,25 @@ declare let __VLS_typeProps$1: {
4917
4559
  type __VLS_PublicProps$1 = {
4918
4560
  'width'?: number;
4919
4561
  'visible'?: boolean;
4920
- } & typeof __VLS_typeProps$1;
4562
+ } & __VLS_Props$6;
4921
4563
  declare const _default$7: vue.DefineComponent<__VLS_PublicProps$1, {
4922
4564
  show(): Promise<void>;
4923
4565
  hide(): Promise<void>;
4924
4566
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4925
- 'update:width': (width: number) => any;
4926
- 'update:visible': (visible: boolean) => any;
4927
- submit: (values: CodeBlockContent) => any;
4567
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any;
4568
+ "update:width": (value: number) => any;
4569
+ "update:visible": (value: boolean) => any;
4928
4570
  }, 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, {}>;
4571
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined;
4572
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4573
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4574
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4933
4575
 
4934
4576
  interface Position {
4935
4577
  left: number;
4936
4578
  top: number;
4937
4579
  }
4938
- declare let __VLS_typeProps: {
4580
+ type __VLS_Props$5 = {
4939
4581
  position?: Position;
4940
4582
  title?: string;
4941
4583
  beforeClose?: (done: (cancel?: boolean) => void) => void;
@@ -4944,8 +4586,9 @@ type __VLS_PublicProps = {
4944
4586
  'width'?: number;
4945
4587
  'height'?: number;
4946
4588
  'visible'?: boolean;
4947
- } & typeof __VLS_typeProps;
4589
+ } & __VLS_Props$5;
4948
4590
  declare function __VLS_template$2(): {
4591
+ attrs: Partial<{}>;
4949
4592
  slots: {
4950
4593
  title?(_: {}): any;
4951
4594
  body?(_: {}): any;
@@ -4954,7 +4597,7 @@ declare function __VLS_template$2(): {
4954
4597
  target: HTMLDivElement;
4955
4598
  titleEl: HTMLDivElement;
4956
4599
  };
4957
- attrs: Partial<{}>;
4600
+ rootEl: any;
4958
4601
  };
4959
4602
  type __VLS_TemplateResult$2 = ReturnType<typeof __VLS_template$2>;
4960
4603
  declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
@@ -4962,17 +4605,17 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_PublicProps, {
4962
4605
  target: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4963
4606
  titleEl: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
4964
4607
  }, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4965
- 'update:width': (width: number) => any;
4966
- 'update:height': (height: number) => any;
4967
- 'update:visible': (visible: boolean) => any;
4608
+ "update:width": (value: number) => any;
4609
+ "update:height": (value: number) => any;
4610
+ "update:visible": (value: boolean) => any;
4968
4611
  }, 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;
4612
+ "onUpdate:width"?: ((value: number) => any) | undefined;
4613
+ "onUpdate:height"?: ((value: number) => any) | undefined;
4614
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4972
4615
  }>, {
4973
4616
  title: string;
4974
4617
  position: Position;
4975
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4618
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
4976
4619
  declare const _default$6: __VLS_WithTemplateSlots$2<typeof __VLS_component$2, __VLS_TemplateResult$2["slots"]>;
4977
4620
 
4978
4621
  type __VLS_WithTemplateSlots$2<T, S> = T & {
@@ -4981,7 +4624,15 @@ type __VLS_WithTemplateSlots$2<T, S> = T & {
4981
4624
  };
4982
4625
  };
4983
4626
 
4627
+ type __VLS_Props$4 = {
4628
+ data: TreeNodeData[];
4629
+ nodeStatusMap: Map<Id, LayerNodeStatus>;
4630
+ indent?: number;
4631
+ nextLevelIndentIncrement?: number;
4632
+ emptyText?: string;
4633
+ };
4984
4634
  declare function __VLS_template$1(): {
4635
+ attrs: Partial<{}>;
4985
4636
  slots: Readonly<{
4986
4637
  'tree-node-content'(props: {
4987
4638
  data: TreeNodeData;
@@ -5004,30 +4655,18 @@ declare function __VLS_template$1(): {
5004
4655
  }): any;
5005
4656
  };
5006
4657
  refs: {};
5007
- attrs: Partial<{}>;
4658
+ rootEl: HTMLDivElement;
5008
4659
  };
5009
4660
  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<{
4661
+ declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4662
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
4663
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
4664
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
4665
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
4666
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
4667
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
4668
+ "node-dragover": (event: DragEvent) => any;
4669
+ }, string, vue.PublicProps, Readonly<__VLS_Props$4> & Readonly<{
5031
4670
  "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5032
4671
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5033
4672
  "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
@@ -5038,7 +4677,7 @@ declare const __VLS_component$1: vue.DefineComponent<{
5038
4677
  }>, {
5039
4678
  emptyText: string;
5040
4679
  indent: number;
5041
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4680
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5042
4681
  declare const _default$5: __VLS_WithTemplateSlots$1<typeof __VLS_component$1, __VLS_TemplateResult$1["slots"]>;
5043
4682
 
5044
4683
  type __VLS_WithTemplateSlots$1<T, S> = T & {
@@ -5047,7 +4686,16 @@ type __VLS_WithTemplateSlots$1<T, S> = T & {
5047
4686
  };
5048
4687
  };
5049
4688
 
4689
+ type __VLS_Props$3 = {
4690
+ data: TreeNodeData;
4691
+ parent?: TreeNodeData;
4692
+ parentsId?: Id[];
4693
+ nodeStatusMap: Map<Id, LayerNodeStatus>;
4694
+ indent?: number;
4695
+ nextLevelIndentIncrement?: number;
4696
+ };
5050
4697
  declare function __VLS_template(): {
4698
+ attrs: Partial<{}>;
5051
4699
  slots: Readonly<{
5052
4700
  'tree-node-label'(props: {
5053
4701
  data: TreeNodeData;
@@ -5070,31 +4718,17 @@ declare function __VLS_template(): {
5070
4718
  }): any;
5071
4719
  };
5072
4720
  refs: {};
5073
- attrs: Partial<{}>;
4721
+ rootEl: HTMLDivElement;
5074
4722
  };
5075
4723
  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<{
4724
+ declare const __VLS_component: vue.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4725
+ "node-click": (event: MouseEvent, data: TreeNodeData) => any;
4726
+ "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
4727
+ "node-dragstart": (event: DragEvent, data: TreeNodeData) => any;
4728
+ "node-dragleave": (event: DragEvent, data: TreeNodeData) => any;
4729
+ "node-dragend": (event: DragEvent, data: TreeNodeData) => any;
4730
+ "node-mouseenter": (event: MouseEvent, data: TreeNodeData) => any;
4731
+ }, string, vue.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
5098
4732
  "onNode-click"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5099
4733
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
5100
4734
  "onNode-dragstart"?: ((event: DragEvent, data: TreeNodeData) => any) | undefined;
@@ -5105,7 +4739,7 @@ declare const __VLS_component: vue.DefineComponent<{
5105
4739
  indent: number;
5106
4740
  parentsId: Id[];
5107
4741
  nextLevelIndentIncrement: number;
5108
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4742
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5109
4743
  declare const _default$4: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
5110
4744
 
5111
4745
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -5114,36 +4748,36 @@ type __VLS_WithTemplateSlots<T, S> = T & {
5114
4748
  };
5115
4749
  };
5116
4750
 
5117
- declare const _default$3: vue.DefineComponent<FieldProps<PageFragmentSelectConfig>, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4751
+ type __VLS_Props$2 = FieldProps<PageFragmentSelectConfig>;
4752
+ declare const _default$3: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
5118
4753
  change: (...args: any[]) => void;
5119
- }, string, vue.PublicProps, Readonly<FieldProps<PageFragmentSelectConfig>> & Readonly<{
4754
+ }, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
5120
4755
  onChange?: ((...args: any[]) => any) | undefined;
5121
4756
  }>, {
5122
4757
  disabled: boolean;
5123
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4758
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5124
4759
 
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<{
4760
+ type __VLS_Props$1 = FieldProps<{
5131
4761
  titlePrefix?: string;
5132
4762
  parentFields?: string[] | FilterFunction$1<string[]>;
5133
- }>> & Readonly<{
5134
- onChange?: ((value: DisplayCond[]) => any) | undefined;
4763
+ }>;
4764
+ declare const _default$2: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4765
+ change: (value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any;
4766
+ }, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
4767
+ onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
5135
4768
  }>, {
5136
4769
  disabled: boolean;
5137
- }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}>;
4770
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, HTMLDivElement>;
5138
4771
 
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, {}>;
4772
+ type __VLS_Props = FieldProps<CondOpSelectConfig>;
4773
+ declare const _default$1: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
4774
+ change: (value: string) => any;
4775
+ }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
4776
+ onChange?: ((value: string) => any) | undefined;
4777
+ }>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
5144
4778
 
5145
4779
  declare const _default: {
5146
4780
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
5147
4781
  };
5148
4782
 
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 };
4783
+ 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, isValueIncludeDataSource, 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 };