@tmagic/editor 1.8.0-beta.11 → 1.8.0-beta.12

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 (111) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +7 -4
  2. package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +4 -0
  3. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +2 -1
  4. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +5 -2
  5. package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +60 -14
  6. package/dist/es/components/ScrollBar.js +0 -1
  7. package/dist/es/editorProps.js +6 -1
  8. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +15 -3
  9. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +2 -17
  10. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +2 -1
  11. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +7 -0
  12. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +5 -17
  13. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -0
  14. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +29 -3
  15. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +50 -88
  16. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +2 -5
  17. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +48 -23
  18. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +6 -3
  19. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +28 -22
  20. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +28 -22
  21. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +28 -22
  22. package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +6 -3
  23. package/dist/es/fields/UISelect.js +0 -1
  24. package/dist/es/index.js +9 -6
  25. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +21 -6
  26. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +9 -6
  27. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +4 -1
  28. package/dist/es/layouts/history-list/composables.js +1 -1
  29. package/dist/es/layouts/history-list/useHistoryRevert.js +7 -3
  30. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +44 -5
  31. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +15 -8
  32. package/dist/es/layouts/props-panel/use-style-panel.js +3 -2
  33. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +15 -31
  34. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  35. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +18 -3
  36. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +4 -0
  37. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  38. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +18 -3
  39. package/dist/es/layouts/sidebar/layer/LayerNodeContent.js +5 -0
  40. package/dist/es/layouts/sidebar/layer/LayerNodeContent.vue_vue_type_script_setup_true_lang.js +46 -0
  41. package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +2 -1
  42. package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +8 -2
  43. package/dist/es/plugin.js +3 -1
  44. package/dist/es/services/editor.js +104 -5
  45. package/dist/es/services/props.js +2 -1
  46. package/dist/es/services/storage.js +1 -1
  47. package/dist/es/services/ui.js +3 -0
  48. package/dist/es/style.css +104 -55
  49. package/dist/es/utils/data-source/index.js +30 -11
  50. package/dist/es/utils/event.js +123 -0
  51. package/dist/es/utils/monaco-editor.js +22 -6
  52. package/dist/es/utils/props.js +94 -8
  53. package/dist/es/utils/type-match-rules.js +360 -0
  54. package/dist/style.css +104 -55
  55. package/dist/tmagic-editor.umd.cjs +16895 -15757
  56. package/package.json +8 -8
  57. package/src/Editor.vue +3 -1
  58. package/src/components/CodeBlockEditor.vue +3 -0
  59. package/src/components/CompareForm.vue +7 -0
  60. package/src/components/FloatingBox.vue +77 -8
  61. package/src/components/ScrollBar.vue +0 -67
  62. package/src/editorProps.ts +13 -0
  63. package/src/fields/CodeSelect.vue +4 -1
  64. package/src/fields/CondOpSelect.vue +2 -24
  65. package/src/fields/DataSourceFields.vue +5 -0
  66. package/src/fields/DataSourceInput.vue +7 -25
  67. package/src/fields/DataSourceMocks.vue +3 -0
  68. package/src/fields/DisplayConds.vue +14 -0
  69. package/src/fields/EventSelect.vue +84 -129
  70. package/src/fields/StyleSetter/Index.vue +2 -8
  71. package/src/fields/StyleSetter/pro/Background.vue +94 -55
  72. package/src/fields/StyleSetter/pro/Border.vue +9 -11
  73. package/src/fields/StyleSetter/pro/Font.vue +66 -64
  74. package/src/fields/StyleSetter/pro/Layout.vue +140 -138
  75. package/src/fields/StyleSetter/pro/Position.vue +69 -67
  76. package/src/fields/StyleSetter/pro/Transform.vue +23 -25
  77. package/src/fields/UISelect.vue +0 -12
  78. package/src/index.ts +1 -0
  79. package/src/layouts/CodeEditor.vue +32 -6
  80. package/src/layouts/Framework.vue +7 -6
  81. package/src/layouts/history-list/HistoryDiffDialog.vue +11 -1
  82. package/src/layouts/history-list/useHistoryRevert.ts +4 -0
  83. package/src/layouts/props-panel/FormPanel.vue +66 -5
  84. package/src/layouts/props-panel/PropsPanel.vue +20 -6
  85. package/src/layouts/props-panel/use-style-panel.ts +4 -3
  86. package/src/layouts/sidebar/Sidebar.vue +2 -0
  87. package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +4 -1
  88. package/src/layouts/sidebar/code-block/useContentMenu.ts +13 -1
  89. package/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue +3 -0
  90. package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +2 -2
  91. package/src/layouts/sidebar/data-source/useContentMenu.ts +13 -1
  92. package/src/layouts/sidebar/layer/LayerNodeContent.vue +57 -0
  93. package/src/layouts/sidebar/layer/LayerPanel.vue +4 -1
  94. package/src/layouts/workspace/viewer/NodeListMenu.vue +4 -1
  95. package/src/plugin.ts +3 -1
  96. package/src/services/editor.ts +168 -3
  97. package/src/services/ui.ts +6 -0
  98. package/src/theme/event.scss +8 -0
  99. package/src/theme/floating-box.scss +9 -1
  100. package/src/theme/layer-node-content.scss +14 -0
  101. package/src/theme/scroll-bar.scss +64 -0
  102. package/src/theme/theme.scss +3 -0
  103. package/src/theme/ui-select.scss +9 -0
  104. package/src/type.ts +53 -2
  105. package/src/utils/data-source/index.ts +30 -12
  106. package/src/utils/event.ts +224 -0
  107. package/src/utils/index.ts +2 -0
  108. package/src/utils/monaco-editor.ts +27 -0
  109. package/src/utils/props.ts +160 -2
  110. package/src/utils/type-match-rules.ts +678 -0
  111. package/types/index.d.ts +372 -85
package/types/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, MForm, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction } from "@tmagic/form";
1
+ import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, MForm, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction, TypeMatchValidateContext, TypeMatchValidator } from "@tmagic/form";
2
2
  import tablePlugin from "@tmagic/table";
3
3
  import StageCore, { CanDropIn, ContainerHighlightType, CustomizeMoveableOptions, GuidesOptions, RenderType, UpdateDragEl, default as StageCore$1 } from "@tmagic/stage";
4
- import designPlugin, { ButtonProps, DesignPluginOptions } from "@tmagic/design";
4
+ import designPlugin, { ButtonProps, DesignPluginOptions, FieldSize } from "@tmagic/design";
5
5
  import Gesto, { OnDrag, OnDrag as OnDrag$1 } from "gesto";
6
6
  import { CodeBlockContent, CodeBlockDSL, DataSchema, DataSourceFieldType, DataSourceSchema, DepData, DepExtendedData, DepTargetType, DepTargetType as DepTargetType$1, DisplayCond, EventOption, Id, MApp, MContainer, MNode, MPage, MPageFragment, NodeType, Target, TargetOptions } from "@tmagic/core";
7
- import { App, AppContext, Component, ComputedRef, Ref, ShallowRef } from "vue";
7
+ import { App, AppContext, CSSProperties, Component, ComputedRef, Ref, ShallowRef } from "vue";
8
8
  import EventEmitter$1, { EventEmitter } from "events";
9
9
  import * as Monaco from "monaco-editor";
10
10
  import Sortable, { Options, SortableEvent } from "sortablejs";
@@ -302,7 +302,7 @@ declare class CodeBlock extends BaseService {
302
302
  private applyHistoryStep;
303
303
  }
304
304
  type CodeBlockService = CodeBlock;
305
- declare const _default$38: CodeBlock;
305
+ declare const _default$39: CodeBlock;
306
306
  //#endregion
307
307
  //#region temp/packages/editor/src/services/componentList.d.ts
308
308
  declare class ComponentList extends BaseService {
@@ -317,7 +317,7 @@ declare class ComponentList extends BaseService {
317
317
  destroy(): void;
318
318
  }
319
319
  type ComponentListService = ComponentList;
320
- declare const _default$39: ComponentList;
320
+ declare const _default$40: ComponentList;
321
321
  //#endregion
322
322
  //#region temp/packages/editor/src/services/dataSource.d.ts
323
323
  interface State$2 {
@@ -501,7 +501,7 @@ declare class DataSource extends BaseService {
501
501
  private applyHistoryStep;
502
502
  }
503
503
  type DataSourceService = DataSource;
504
- declare const _default$40: DataSource;
504
+ declare const _default$41: DataSource;
505
505
  //#endregion
506
506
  //#region temp/packages/editor/src/services/dep.d.ts
507
507
  interface DepEvents {
@@ -554,12 +554,17 @@ declare class Dep extends BaseService {
554
554
  private enqueueTask;
555
555
  }
556
556
  type DepService = Dep;
557
- declare const _default$42: Dep;
557
+ declare const _default$43: Dep;
558
558
  //#endregion
559
559
  //#region temp/packages/editor/src/services/editor.d.ts
560
560
  declare class Editor extends BaseService {
561
561
  state: StoreState;
562
562
  private selectionBeforeOp;
563
+ /**
564
+ * 操作前的节点校验错误快照,与 selectionBeforeOp 同时在 captureSelectionBeforeOp 中捕获,
565
+ * 供 pushOpHistory 写入 step.extra.invalidNodeIdsBefore,用于撤销时还原到「操作前」的错误状态。
566
+ */
567
+ private invalidNodeIdsBeforeOp;
563
568
  /**
564
569
  * 最近一次 pushOpHistory 写入的历史记录 uuid。
565
570
  * 供 *AndGetHistoryId 系列方法在调用普通操作后取回本次产生的历史记录 id;
@@ -569,7 +574,7 @@ declare class Editor extends BaseService {
569
574
  constructor();
570
575
  /**
571
576
  * 设置当前指点节点配置
572
- * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength
577
+ * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'invalidNodeIds' | 'pageLength' | 'pageFragmentLength
573
578
  * @param value MNode
574
579
  * @param options.historySource 设置 root 时,本次变更写入历史记录的「操作来源」(仅 name === 'root' 时生效)
575
580
  */
@@ -578,7 +583,7 @@ declare class Editor extends BaseService {
578
583
  }): void;
579
584
  /**
580
585
  * 获取当前指点节点配置
581
- * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength'
586
+ * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'invalidNodeIds' | 'pageLength' | 'pageFragmentLength'
582
587
  * @returns MNode
583
588
  */
584
589
  get<K extends StoreStateKey>(name: K): StoreState[K];
@@ -699,6 +704,15 @@ declare class Editor extends BaseService {
699
704
  doNotPushHistory?: boolean;
700
705
  historyDescription?: string;
701
706
  historySource?: HistoryOpSource;
707
+ /**
708
+ * 属性面板提交时携带的校验错误信息,在写入历史记录之前落库,
709
+ * 使历史快照与本次变更对齐,从而 undo/redo 能正确还原错误标记。
710
+ */
711
+ invalidInfo?: {
712
+ id: Id;
713
+ source: NodeInvalidSource;
714
+ error?: string;
715
+ };
702
716
  }): Promise<MNode | MNode[]>;
703
717
  /**
704
718
  * 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
@@ -876,10 +890,39 @@ declare class Editor extends BaseService {
876
890
  resetState(): void;
877
891
  destroy(): void;
878
892
  resetModifiedNodeId(): void;
893
+ /**
894
+ * 记录(或覆盖)某个节点在指定来源(属性表单 / 样式表单)上的校验错误信息。
895
+ * @param id 节点 id
896
+ * @param source 错误来源:'props'(属性表单)| 'style'(样式表单)
897
+ * @param message 错误文案(可能是包含 <br> 的 HTML)
898
+ */
899
+ setInvalidNode(id: Id, source: NodeInvalidSource, message: string): void;
900
+ /**
901
+ * 删除节点的校验错误记录。
902
+ * @param id 节点 id
903
+ * @param source 指定来源则仅删除该来源;不传则删除该节点全部来源的错误
904
+ */
905
+ deleteInvalidNode(id: Id, source?: NodeInvalidSource): void;
906
+ /** 获取当前存在校验错误的节点错误 Map(key 为节点 id) */
907
+ getInvalidNodeIds(): Map<Id, NodeInvalidInfo>;
908
+ /** 获取指定节点的校验错误信息 */
909
+ getInvalidNodeInfo(id: Id): NodeInvalidInfo | undefined;
910
+ /** 清空全部校验错误记录 */
911
+ resetInvalidNodeId(): void;
879
912
  usePlugin(options: AsyncHookPlugin<AsyncMethodName, Editor>): void;
880
913
  on<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
881
914
  once<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
882
915
  emit<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, ...args: Param): boolean;
916
+ /**
917
+ * 应用一次属性面板提交携带的校验错误信息(在写入历史记录之前调用,使历史快照与本次变更对齐)。
918
+ * - invalidInfo 为空(调用方未携带):认为本次更新对应的节点已无校验错误,清除其全部来源的错误;
919
+ * - error 非空则记录错误,为空则清除对应来源的错误。
920
+ */
921
+ private applyInvalidInfo;
922
+ /** 删除被移除节点(含其子树)的校验错误记录,避免残留误报 */
923
+ private removeInvalidNodesBySubtree;
924
+ /** 清理不在当前 DSL 中的失效节点错误记录(用于整体替换 root 后) */
925
+ private pruneInvalidNodeIds;
883
926
  private addModifiedNodeId;
884
927
  /**
885
928
  * 获取指定节点所属的页面 / 页面片:
@@ -925,7 +968,7 @@ declare class Editor extends BaseService {
925
968
  private selectedConfigExceptionHandler;
926
969
  }
927
970
  type EditorService = Editor;
928
- declare const _default$43: Editor;
971
+ declare const _default$44: Editor;
929
972
  //#endregion
930
973
  //#region temp/packages/editor/src/services/events.d.ts
931
974
  declare const canUsePluginMethods$6: {
@@ -947,7 +990,7 @@ declare class Events extends BaseService {
947
990
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, Events> & SyncHookPlugin<SyncMethodName$4, Events>): void;
948
991
  }
949
992
  type EventsService = Events;
950
- declare const _default$44: Events;
993
+ declare const _default$45: Events;
951
994
  //#endregion
952
995
  //#region temp/packages/editor/src/utils/undo-redo.d.ts
953
996
  /**
@@ -1263,7 +1306,7 @@ declare class History extends BaseService {
1263
1306
  private resolveDbName;
1264
1307
  }
1265
1308
  type HistoryService = History;
1266
- declare const _default$45: History;
1309
+ declare const _default$46: History;
1267
1310
  //#endregion
1268
1311
  //#region temp/packages/editor/src/services/keybinding.d.ts
1269
1312
  declare class Keybinding extends BaseService {
@@ -1302,7 +1345,7 @@ declare class Keybinding extends BaseService {
1302
1345
  private getKeyconKeys;
1303
1346
  }
1304
1347
  type KeybindingService = Keybinding;
1305
- declare const _default$46: Keybinding;
1348
+ declare const _default$47: Keybinding;
1306
1349
  //#endregion
1307
1350
  //#region temp/packages/editor/src/services/props.d.ts
1308
1351
  declare const canUsePluginMethods$4: {
@@ -1402,7 +1445,7 @@ declare class Props extends BaseService {
1402
1445
  private setRelateId;
1403
1446
  }
1404
1447
  type PropsService = Props;
1405
- declare const _default$48: Props;
1448
+ declare const _default$49: Props;
1406
1449
  //#endregion
1407
1450
  //#region temp/packages/editor/src/services/stageOverlay.d.ts
1408
1451
  declare const canUsePluginMethods$3: {
@@ -1429,7 +1472,7 @@ declare class StageOverlay extends BaseService {
1429
1472
  private updateSelectStatus;
1430
1473
  }
1431
1474
  type StageOverlayService = StageOverlay;
1432
- declare const _default$49: StageOverlay;
1475
+ declare const _default$50: StageOverlay;
1433
1476
  //#endregion
1434
1477
  //#region temp/packages/editor/src/services/storage.d.ts
1435
1478
  interface Options$1 {
@@ -1492,7 +1535,7 @@ declare class WebStorage extends BaseService {
1492
1535
  private getValueAndProtocol;
1493
1536
  }
1494
1537
  type StorageService = WebStorage;
1495
- declare const _default$50: WebStorage;
1538
+ declare const _default$51: WebStorage;
1496
1539
  //#endregion
1497
1540
  //#region temp/packages/editor/src/services/ui.d.ts
1498
1541
  declare const canUsePluginMethods$1: {
@@ -1512,7 +1555,7 @@ declare class Ui extends BaseService {
1512
1555
  private setStageRect;
1513
1556
  }
1514
1557
  type UiService = Ui;
1515
- declare const _default$51: Ui;
1558
+ declare const _default$52: Ui;
1516
1559
  //#endregion
1517
1560
  //#region temp/packages/editor/src/type.d.ts
1518
1561
  type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
@@ -1533,7 +1576,7 @@ interface FrameworkSlots {
1533
1576
  empty(props: {}): any;
1534
1577
  workspace(props: {}): any;
1535
1578
  'props-panel'(props: {}): any;
1536
- 'footer'(props: {}): any;
1579
+ footer(props: {}): any;
1537
1580
  'page-bar'(props: {}): any;
1538
1581
  'page-bar-add-button'(props: {}): any;
1539
1582
  'page-bar-title'(props: {
@@ -1665,6 +1708,20 @@ interface StageOptions {
1665
1708
  /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */
1666
1709
  beforeDblclick?: (event: MouseEvent) => Promise<boolean | void> | boolean | void;
1667
1710
  }
1711
+ /**
1712
+ * 节点校验错误信息,按来源(属性表单 / 样式表单)分别保存错误文案。
1713
+ * 属性表单与样式表单是两个独立的 FormPanel,均指向同一节点,故以来源为键,
1714
+ * 避免某个面板校验通过时误清另一个面板记录的错误。
1715
+ * 节点视为存在错误当且仅当任一来源存在非空文本。
1716
+ */
1717
+ interface NodeInvalidInfo {
1718
+ /** 属性表单校验错误文案(可能为包含 <br> 的 HTML) */
1719
+ props?: string;
1720
+ /** 样式表单校验错误文案(可能为包含 <br> 的 HTML) */
1721
+ style?: string;
1722
+ }
1723
+ /** 节点校验错误来源 */
1724
+ type NodeInvalidSource = keyof NodeInvalidInfo;
1668
1725
  interface StoreState {
1669
1726
  root: MApp | null;
1670
1727
  page: MPage | MPageFragment | null;
@@ -1675,6 +1732,8 @@ interface StoreState {
1675
1732
  stage: StageCore$1 | null;
1676
1733
  stageLoading: boolean;
1677
1734
  modifiedNodeIds: Map<Id, Id>;
1735
+ /** 校验失败的节点错误信息,按节点 id 存储,供组件树标记与保存拦截读取 */
1736
+ invalidNodeIds: Map<Id, NodeInvalidInfo>;
1678
1737
  pageLength: number;
1679
1738
  pageFragmentLength: number;
1680
1739
  disabledMultiSelect: boolean;
@@ -1741,6 +1800,12 @@ interface UiState {
1741
1800
  stageRect: StageRect;
1742
1801
  /** 编辑器列布局每一列的宽度,分为左中右三列 */
1743
1802
  columnWidth: GetColumnWidth;
1803
+ /** 编辑器列布局左侧列最小宽度 */
1804
+ minLeftColumnWidth: number;
1805
+ /** 编辑器列布局中间列最小宽度 */
1806
+ minCenterColumnWidth: number;
1807
+ /** 编辑器列布局右侧列最小宽度 */
1808
+ minRightColumnWidth: number;
1744
1809
  /** 是否显示画布参考线,true: 显示,false: 不显示,默认为true */
1745
1810
  showGuides: boolean;
1746
1811
  /** 画布上是否存在参考线 */
@@ -2172,6 +2237,10 @@ interface StepExtra {
2172
2237
  selectedAfter?: Id[];
2173
2238
  /** 本次操作涉及的节点 id 集合(page 类型) */
2174
2239
  modifiedNodeIds?: Map<Id, Id>;
2240
+ /** 操作前的节点校验错误快照,撤销后还原(使撤销一个「校验失败」的改动后错误消失) */
2241
+ invalidNodeIdsBefore?: Map<Id, NodeInvalidInfo>;
2242
+ /** 操作后的节点校验错误快照,重做后还原(使重做后错误恢复) */
2243
+ invalidNodeIdsAfter?: Map<Id, NodeInvalidInfo>;
2175
2244
  [key: string]: any;
2176
2245
  }
2177
2246
  /**
@@ -2452,7 +2521,20 @@ interface PageBarSortOptions extends PartSortableOptions {
2452
2521
  /** 在onStart之前调用 */
2453
2522
  beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise<void>;
2454
2523
  }
2455
- type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: 'layer' | 'data-source' | 'viewer' | 'code-block') => (MenuButton | MenuComponent)[];
2524
+ /**
2525
+ * 右键菜单当前目标(侧栏树节点等)。
2526
+ * 数据源 / 代码块面板通过 `customContentMenu` 的 `getTarget` 暴露,业务在 handler 内自行读取。
2527
+ */
2528
+ interface ContentMenuTarget {
2529
+ /** 目标 ID */
2530
+ id: string;
2531
+ /** 原始节点数据(树节点等) */
2532
+ data?: TreeNodeData;
2533
+ }
2534
+ type ContentMenuType = 'layer' | 'data-source' | 'viewer' | 'code-block';
2535
+ type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: ContentMenuType, /** 读取当前右键目标;数据源 / 代码块面板会传入,图层 / 画布一般不需要 */
2536
+
2537
+ getTarget?: () => ContentMenuTarget | null) => (MenuButton | MenuComponent)[];
2456
2538
  interface EditorEvents {
2457
2539
  'root-change': [value: StoreState['root'], preValue?: StoreState['root'], options?: {
2458
2540
  historySource?: HistoryOpSource;
@@ -2479,6 +2561,8 @@ interface EditorEvents {
2479
2561
  * add / remove / update 触发本事件;如需区分「用户操作」与「撤销重做」请配合 `history-change`。
2480
2562
  */
2481
2563
  change: [event: EditorChangeEvent];
2564
+ /** 节点校验错误状态发生变化时触发,携带当前完整的错误 Map(供非响应式消费方订阅) */
2565
+ 'invalid-node-change': [invalidNodeIds: Map<Id, NodeInvalidInfo>];
2482
2566
  }
2483
2567
  /** `change` 事件中单个变更项:变更的 node 及其所属的 page(可能为 null)。 */
2484
2568
  interface EditorChangeItem {
@@ -2679,6 +2763,11 @@ interface CustomDiffFormOptions {
2679
2763
  * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
2680
2764
  */
2681
2765
  width?: string;
2766
+ /**
2767
+ * 差异 / 确认回滚弹窗内 form 表单的尺寸(透传给 CompareForm 的 `size`),
2768
+ * 可选 `'large' | 'default' | 'small'`,缺省时使用表单内置默认尺寸。
2769
+ */
2770
+ size?: FieldSize;
2682
2771
  }
2683
2772
  /**
2684
2773
  * 业务自有历史复用「单步回滚」交互({@link useHistoryRevert} 的 `confirmAndRevert`)的入参。
@@ -2861,6 +2950,15 @@ declare const numberOptions: {
2861
2950
  text: string;
2862
2951
  value: string;
2863
2952
  }[];
2953
+ declare const booleanOptions: {
2954
+ text: string;
2955
+ value: string;
2956
+ }[];
2957
+ /** 按字段类型返回条件运算符选项(UI 与 typeMatch 校验共用) */
2958
+ declare const getCondOpOptionsByFieldType: (type: string) => {
2959
+ text: string;
2960
+ value: string;
2961
+ }[];
2864
2962
  declare const styleTabConfig: TabPaneConfig;
2865
2963
  declare const eventTabConfig: TabPaneConfig;
2866
2964
  declare const advancedTabConfig: TabPaneConfig;
@@ -2879,6 +2977,70 @@ declare const fillConfig: (config?: FormConfig, {
2879
2977
  disabledDataSource?: boolean;
2880
2978
  disabledCodeBlock?: boolean;
2881
2979
  }) => FormConfig;
2980
+ /**
2981
+ * validatePropsForm 参数
2982
+ */
2983
+ interface ValidatePropsFormOptions {
2984
+ /** 组件属性表单配置 */
2985
+ config: FormConfig;
2986
+ /** 待校验的表单值 */
2987
+ values: FormValue;
2988
+ /**
2989
+ * 当前组件实例的 appContext(通常为 `getCurrentInstance()?.appContext`)。
2990
+ * 会与 services 一并合入临时 MForm 的 appContext,使编辑器字段组件(DataSourceInput 等)能正常 inject。
2991
+ */
2992
+ appContext?: AppContext | null;
2993
+ /** 编辑器服务集合,注入到临时表单的 formState */
2994
+ services?: Services;
2995
+ /** stage 实例,注入到临时表单的 formState */
2996
+ stage?: any;
2997
+ /** 外部扩展的 formState */
2998
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2999
+ /**
3000
+ * 调试模式,默认 `true`:以弹层形式可见地渲染表单,点击「确定」才触发校验。
3001
+ * 置为 `false` 时静默挂载后自动校验。
3002
+ */
3003
+ debug?: boolean;
3004
+ typeMatchValid?: boolean;
3005
+ }
3006
+ /**
3007
+ * 对一份「组件属性表单配置 + 值」做一次独立的校验,**不复用也不污染页面上正在展示的表单**。
3008
+ *
3009
+ * 内部基于 `@tmagic/form` 的 `validateForm` 另建一个独立的 MForm 实例完成校验,并统一处理
3010
+ * 编辑器场景所需的上下文注入:将当前组件实例的 provides 合入 appContext,并向 formState 注入
3011
+ * stage / services 及外部扩展状态,保证校验规则依赖的上下文可用。
3012
+ *
3013
+ * 常用于源码编辑器保存后,对最新配置做一次校验,并将校验结果(错误信息)随提交一并抛给上层记录,
3014
+ * 使源码保存的错误状态与表单编辑保持一致。
3015
+ *
3016
+ * @returns 校验通过返回空字符串 `''`,否则返回以 `<br>` 拼接的错误文案。
3017
+ * 仅在初始化超时或挂载失败等异常情况下才会 reject。
3018
+ *
3019
+ * @example
3020
+ * ```ts
3021
+ * const error = await validatePropsForm({
3022
+ * config,
3023
+ * values,
3024
+ * appContext: getCurrentInstance()?.appContext,
3025
+ * services,
3026
+ * stage: editorService.get('stage'),
3027
+ * extendState,
3028
+ * });
3029
+ * if (error) {
3030
+ * // 配置不合法,error 为错误文案
3031
+ * }
3032
+ * ```
3033
+ */
3034
+ declare const validatePropsForm: ({
3035
+ config,
3036
+ values,
3037
+ appContext,
3038
+ services,
3039
+ stage,
3040
+ extendState,
3041
+ debug,
3042
+ typeMatchValid
3043
+ }: ValidatePropsFormOptions) => Promise<string>;
2882
3044
  //#endregion
2883
3045
  //#region temp/packages/editor/src/utils/code-block.d.ts
2884
3046
  /**
@@ -2927,7 +3089,7 @@ declare const getCodeBlockFormConfig: (options?: GetCodeBlockFormConfigOptions)
2927
3089
  declare const log: (...args: any[]) => void;
2928
3090
  declare const info: (...args: any[]) => void;
2929
3091
  declare const warn: (...args: any[]) => void;
2930
- declare const debug: (...args: any[]) => void;
3092
+ declare const debug$1: (...args: any[]) => void;
2931
3093
  declare const error: (...args: any[]) => void;
2932
3094
  //#endregion
2933
3095
  //#region temp/packages/editor/src/utils/editor.d.ts
@@ -3091,7 +3253,18 @@ declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) =>
3091
3253
  type: "var" | "text";
3092
3254
  }[];
3093
3255
  declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption[];
3094
- declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => string;
3256
+ /**
3257
+ * 按字段名路径下钻 DataSchema。
3258
+ * @param skipNumberIndices 为 true 时跳过数字段(模板路径中的数组下标,如 arr[0].x)
3259
+ */
3260
+ declare const resolveFieldByPath: (fields: DataSchema[] | undefined, fieldNames: string[], options?: {
3261
+ skipNumberIndices?: boolean;
3262
+ }) => {
3263
+ ok: boolean;
3264
+ field?: DataSchema;
3265
+ fields: DataSchema[];
3266
+ };
3267
+ declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => "" | DataSourceFieldType;
3095
3268
  //#endregion
3096
3269
  //#region temp/packages/editor/src/utils/dep/idle-task.d.ts
3097
3270
  interface IdleTaskEvents {
@@ -3283,8 +3456,56 @@ declare const MIN_RIGHT_COLUMN_WIDTH = 300;
3283
3456
  declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
3284
3457
  declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
3285
3458
  //#endregion
3459
+ //#region temp/packages/editor/src/utils/type-match-rules.d.ts
3460
+ declare const ALL_COND_OPS: Set<string>;
3461
+ declare const editorTypeMatchRules: Record<string, TypeMatchValidator>;
3462
+ //#endregion
3463
+ //#region temp/packages/editor/src/utils/event.d.ts
3464
+ declare const EVENT_NAME_VALUE_SEPARATOR = ".";
3465
+ type EventNameSelectOption = {
3466
+ text: string;
3467
+ value: string;
3468
+ };
3469
+ type EventNameOption = EventOption | CascaderOption | EventNameSelectOption;
3470
+ /** 与 EventSelect 中 checkStrictly 一致:component 为 false,其余为 true */
3471
+ declare const isEventNameCheckStrictly: (src?: string) => boolean;
3472
+ /** 将动作 method 值规范为与 collectEventNameOptionValues 一致的字符串(cascader 无 valueSeparator 时存数组) */
3473
+ declare const normalizeCompActionValue: (value: unknown) => string;
3474
+ /**
3475
+ * 组装事件名称下拉/级联 options,与 EventSelect 默认 eventNameConfig.options 逻辑一致。
3476
+ */
3477
+ declare const getEventNameOptions: (src: string | undefined, formValue?: Record<string, any>) => EventNameOption[];
3478
+ /** 将 select / cascader options 展平为最终写入 name 的字符串集合(cascader 用 `.` 拼接) */
3479
+ declare const collectEventNameOptionValues: (options: EventNameOption[], checkStrictly: boolean, prefix?: any[], result?: Set<string>) => Set<string>;
3480
+ /**
3481
+ * 解析 event-select 允许的 name 集合。
3482
+ * 自定义 eventNameConfig.options 时返回 null(跳过枚举校验)。
3483
+ */
3484
+ declare const getEventNameAllowedValues: (config?: {
3485
+ src?: string;
3486
+ eventNameConfig?: {
3487
+ options?: unknown;
3488
+ };
3489
+ }, formValue?: Record<string, any>) => Set<string> | null;
3490
+ /**
3491
+ * 组装联动组件动作下拉/级联 options,与 EventSelect 默认 compActionConfig.options 逻辑一致。
3492
+ */
3493
+ declare const getCompActionOptions: (toId?: Id) => EventNameOption[];
3494
+ /**
3495
+ * 解析 event-select 联动组件动作允许的 method 集合。
3496
+ * 自定义 compActionConfig.options 时返回 null(跳过枚举校验)。
3497
+ */
3498
+ declare const getCompActionAllowedValues: (config?: {
3499
+ src?: string;
3500
+ compActionConfig?: {
3501
+ options?: unknown;
3502
+ };
3503
+ }, model?: {
3504
+ to?: Id;
3505
+ }) => Set<string> | null;
3506
+ //#endregion
3286
3507
  //#region temp/packages/editor/src/utils/monaco-editor.d.ts
3287
- declare const _default$47: () => Promise<typeof import("monaco-editor")>;
3508
+ declare const _default$48: () => Promise<typeof import("monaco-editor")>;
3288
3509
  //#endregion
3289
3510
  //#region temp/packages/form/src/schema.d.ts
3290
3511
  interface ChangeRecord$1 {
@@ -3387,6 +3608,11 @@ interface EditorProps {
3387
3608
  disabledFlashTip?: boolean;
3388
3609
  /** 禁用双击在浮层中单独编辑选中组件 */
3389
3610
  disabledStageOverlay?: boolean;
3611
+ /**
3612
+ * 是否启用「属性配置表单校验」联动能力:开启后属性/样式表单校验失败时仍更新节点,
3613
+ * 并把错误信息集中记录到 editorService,用于组件树标红提示与保存拦截;默认 false(关闭)。
3614
+ */
3615
+ enablePropsFormValidate?: boolean;
3390
3616
  /** 禁用属性配置面板右下角显示源码的按钮 */
3391
3617
  disabledShowSrc?: boolean;
3392
3618
  /** 禁用数据源 */
@@ -3450,7 +3676,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3450
3676
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3451
3677
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3452
3678
  readonly onUnmounted?: (() => any) | undefined;
3453
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3679
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3454
3680
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3455
3681
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3456
3682
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3464,7 +3690,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3464
3690
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3465
3691
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3466
3692
  $host: Element | null;
3467
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3693
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3468
3694
  $el: any;
3469
3695
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3470
3696
  config: import("@tmagic/form-schema").FormConfig;
@@ -3477,7 +3703,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3477
3703
  }> & Readonly<{
3478
3704
  onMounted?: ((internalInstance: any) => any) | undefined;
3479
3705
  onUnmounted?: (() => any) | undefined;
3480
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3706
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3481
3707
  "onSubmit-error"?: ((e: any) => any) | undefined;
3482
3708
  "onForm-error"?: ((e: any) => any) | undefined;
3483
3709
  }>, {
@@ -3491,6 +3717,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3491
3717
  readonly isCompare?: boolean | undefined;
3492
3718
  readonly parentValues?: Record<string, any> | undefined;
3493
3719
  readonly labelWidth?: string | undefined;
3720
+ readonly typeMatchValid?: boolean | undefined;
3494
3721
  readonly disabled?: boolean | undefined;
3495
3722
  readonly height?: string | undefined;
3496
3723
  readonly stepActive?: string | number | undefined;
@@ -3533,6 +3760,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3533
3760
  isCompare?: boolean;
3534
3761
  parentValues?: Record<string, any>;
3535
3762
  labelWidth?: string;
3763
+ typeMatchValid?: boolean;
3536
3764
  disabled?: boolean;
3537
3765
  height?: string;
3538
3766
  stepActive?: string | number;
@@ -3565,6 +3793,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3565
3793
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3566
3794
  resetForm: () => void;
3567
3795
  submitForm: (native?: boolean) => Promise<any>;
3796
+ validate: () => Promise<string>;
3568
3797
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3569
3798
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3570
3799
  error: (...args: any[]) => void;
@@ -3627,6 +3856,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3627
3856
  isCompare?: boolean;
3628
3857
  parentValues?: Record<string, any>;
3629
3858
  labelWidth?: string;
3859
+ typeMatchValid?: boolean;
3630
3860
  disabled?: boolean;
3631
3861
  height?: string;
3632
3862
  stepActive?: string | number;
@@ -3650,7 +3880,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3650
3880
  "onField-input"?: ((...args: any[]) => any) | undefined;
3651
3881
  "onField-change"?: ((...args: any[]) => any) | undefined;
3652
3882
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3653
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3883
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3654
3884
  values: import("@tmagic/form-schema").FormValue;
3655
3885
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3656
3886
  formState: import("@tmagic/form-schema").FormState;
@@ -3659,6 +3889,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3659
3889
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3660
3890
  resetForm: () => void;
3661
3891
  submitForm: (native?: boolean) => Promise<any>;
3892
+ validate: () => Promise<string>;
3662
3893
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3663
3894
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3664
3895
  $slots: FormSlots;
@@ -3667,7 +3898,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3667
3898
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3668
3899
  mounted: (internalInstance: any) => any;
3669
3900
  unmounted: () => any;
3670
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3901
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
3671
3902
  "submit-error": (e: any) => any;
3672
3903
  "form-error": (e: any) => any;
3673
3904
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -3701,7 +3932,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3701
3932
  }> & Readonly<{
3702
3933
  onMounted?: ((internalInstance: any) => any) | undefined;
3703
3934
  onUnmounted?: (() => any) | undefined;
3704
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3935
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3705
3936
  "onSubmit-error"?: ((e: any) => any) | undefined;
3706
3937
  "onForm-error"?: ((e: any) => any) | undefined;
3707
3938
  }>, "submit" | "configForm"> & {
@@ -3715,6 +3946,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3715
3946
  readonly isCompare?: boolean | undefined;
3716
3947
  readonly parentValues?: Record<string, any> | undefined;
3717
3948
  readonly labelWidth?: string | undefined;
3949
+ readonly typeMatchValid?: boolean | undefined;
3718
3950
  readonly disabled?: boolean | undefined;
3719
3951
  readonly height?: string | undefined;
3720
3952
  readonly stepActive?: string | number | undefined;
@@ -3757,6 +3989,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3757
3989
  isCompare?: boolean;
3758
3990
  parentValues?: Record<string, any>;
3759
3991
  labelWidth?: string;
3992
+ typeMatchValid?: boolean;
3760
3993
  disabled?: boolean;
3761
3994
  height?: string;
3762
3995
  stepActive?: string | number;
@@ -3789,6 +4022,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3789
4022
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3790
4023
  resetForm: () => void;
3791
4024
  submitForm: (native?: boolean) => Promise<any>;
4025
+ validate: () => Promise<string>;
3792
4026
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3793
4027
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3794
4028
  error: (...args: any[]) => void;
@@ -3851,6 +4085,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3851
4085
  isCompare?: boolean;
3852
4086
  parentValues?: Record<string, any>;
3853
4087
  labelWidth?: string;
4088
+ typeMatchValid?: boolean;
3854
4089
  disabled?: boolean;
3855
4090
  height?: string;
3856
4091
  stepActive?: string | number;
@@ -3874,7 +4109,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3874
4109
  "onField-input"?: ((...args: any[]) => any) | undefined;
3875
4110
  "onField-change"?: ((...args: any[]) => any) | undefined;
3876
4111
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3877
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4112
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3878
4113
  values: import("@tmagic/form-schema").FormValue;
3879
4114
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3880
4115
  formState: import("@tmagic/form-schema").FormState;
@@ -3883,6 +4118,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3883
4118
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3884
4119
  resetForm: () => void;
3885
4120
  submitForm: (native?: boolean) => Promise<any>;
4121
+ validate: () => Promise<string>;
3886
4122
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3887
4123
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3888
4124
  $slots: FormSlots;
@@ -3912,7 +4148,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3912
4148
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3913
4149
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3914
4150
  readonly onUnmounted?: (() => any) | undefined;
3915
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4151
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3916
4152
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3917
4153
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3918
4154
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3926,7 +4162,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3926
4162
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3927
4163
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3928
4164
  $host: Element | null;
3929
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
4165
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3930
4166
  $el: any;
3931
4167
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3932
4168
  config: import("@tmagic/form-schema").FormConfig;
@@ -3939,7 +4175,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3939
4175
  }> & Readonly<{
3940
4176
  onMounted?: ((internalInstance: any) => any) | undefined;
3941
4177
  onUnmounted?: (() => any) | undefined;
3942
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4178
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3943
4179
  "onSubmit-error"?: ((e: any) => any) | undefined;
3944
4180
  "onForm-error"?: ((e: any) => any) | undefined;
3945
4181
  }>, {
@@ -3953,6 +4189,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3953
4189
  readonly isCompare?: boolean | undefined;
3954
4190
  readonly parentValues?: Record<string, any> | undefined;
3955
4191
  readonly labelWidth?: string | undefined;
4192
+ readonly typeMatchValid?: boolean | undefined;
3956
4193
  readonly disabled?: boolean | undefined;
3957
4194
  readonly height?: string | undefined;
3958
4195
  readonly stepActive?: string | number | undefined;
@@ -3995,6 +4232,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3995
4232
  isCompare?: boolean;
3996
4233
  parentValues?: Record<string, any>;
3997
4234
  labelWidth?: string;
4235
+ typeMatchValid?: boolean;
3998
4236
  disabled?: boolean;
3999
4237
  height?: string;
4000
4238
  stepActive?: string | number;
@@ -4027,6 +4265,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4027
4265
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4028
4266
  resetForm: () => void;
4029
4267
  submitForm: (native?: boolean) => Promise<any>;
4268
+ validate: () => Promise<string>;
4030
4269
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4031
4270
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4032
4271
  error: (...args: any[]) => void;
@@ -4089,6 +4328,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4089
4328
  isCompare?: boolean;
4090
4329
  parentValues?: Record<string, any>;
4091
4330
  labelWidth?: string;
4331
+ typeMatchValid?: boolean;
4092
4332
  disabled?: boolean;
4093
4333
  height?: string;
4094
4334
  stepActive?: string | number;
@@ -4112,7 +4352,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4112
4352
  "onField-input"?: ((...args: any[]) => any) | undefined;
4113
4353
  "onField-change"?: ((...args: any[]) => any) | undefined;
4114
4354
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4115
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4355
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4116
4356
  values: import("@tmagic/form-schema").FormValue;
4117
4357
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4118
4358
  formState: import("@tmagic/form-schema").FormState;
@@ -4121,6 +4361,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4121
4361
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4122
4362
  resetForm: () => void;
4123
4363
  submitForm: (native?: boolean) => Promise<any>;
4364
+ validate: () => Promise<string>;
4124
4365
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4125
4366
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4126
4367
  $slots: FormSlots;
@@ -4129,7 +4370,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4129
4370
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4130
4371
  mounted: (internalInstance: any) => any;
4131
4372
  unmounted: () => any;
4132
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
4373
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
4133
4374
  "submit-error": (e: any) => any;
4134
4375
  "form-error": (e: any) => any;
4135
4376
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4163,7 +4404,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4163
4404
  }> & Readonly<{
4164
4405
  onMounted?: ((internalInstance: any) => any) | undefined;
4165
4406
  onUnmounted?: (() => any) | undefined;
4166
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4407
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4167
4408
  "onSubmit-error"?: ((e: any) => any) | undefined;
4168
4409
  "onForm-error"?: ((e: any) => any) | undefined;
4169
4410
  }>, "submit" | "configForm"> & {
@@ -4177,6 +4418,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4177
4418
  readonly isCompare?: boolean | undefined;
4178
4419
  readonly parentValues?: Record<string, any> | undefined;
4179
4420
  readonly labelWidth?: string | undefined;
4421
+ readonly typeMatchValid?: boolean | undefined;
4180
4422
  readonly disabled?: boolean | undefined;
4181
4423
  readonly height?: string | undefined;
4182
4424
  readonly stepActive?: string | number | undefined;
@@ -4219,6 +4461,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4219
4461
  isCompare?: boolean;
4220
4462
  parentValues?: Record<string, any>;
4221
4463
  labelWidth?: string;
4464
+ typeMatchValid?: boolean;
4222
4465
  disabled?: boolean;
4223
4466
  height?: string;
4224
4467
  stepActive?: string | number;
@@ -4251,6 +4494,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4251
4494
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4252
4495
  resetForm: () => void;
4253
4496
  submitForm: (native?: boolean) => Promise<any>;
4497
+ validate: () => Promise<string>;
4254
4498
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4255
4499
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4256
4500
  error: (...args: any[]) => void;
@@ -4313,6 +4557,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4313
4557
  isCompare?: boolean;
4314
4558
  parentValues?: Record<string, any>;
4315
4559
  labelWidth?: string;
4560
+ typeMatchValid?: boolean;
4316
4561
  disabled?: boolean;
4317
4562
  height?: string;
4318
4563
  stepActive?: string | number;
@@ -4336,7 +4581,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4336
4581
  "onField-input"?: ((...args: any[]) => any) | undefined;
4337
4582
  "onField-change"?: ((...args: any[]) => any) | undefined;
4338
4583
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4339
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4584
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4340
4585
  values: import("@tmagic/form-schema").FormValue;
4341
4586
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4342
4587
  formState: import("@tmagic/form-schema").FormState;
@@ -4345,6 +4590,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4345
4590
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4346
4591
  resetForm: () => void;
4347
4592
  submitForm: (native?: boolean) => Promise<any>;
4593
+ validate: () => Promise<string>;
4348
4594
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4349
4595
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4350
4596
  $slots: FormSlots;
@@ -4392,8 +4638,8 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4392
4638
  containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
4393
4639
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
4394
4640
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4395
- declare const __VLS_export$37: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4396
- declare const _default$34: typeof __VLS_export$37;
4641
+ declare const __VLS_export$38: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4642
+ declare const _default$35: typeof __VLS_export$38;
4397
4643
  type __VLS_WithSlots$12<T, S> = T & {
4398
4644
  new (): {
4399
4645
  $slots: S;
@@ -4401,7 +4647,7 @@ type __VLS_WithSlots$12<T, S> = T & {
4401
4647
  };
4402
4648
  //#endregion
4403
4649
  //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
4404
- type __VLS_Props$32 = {
4650
+ type __VLS_Props$33 = {
4405
4651
  initValues?: any;
4406
4652
  modifiedValues?: any;
4407
4653
  type?: 'diff';
@@ -4417,7 +4663,7 @@ type __VLS_Props$32 = {
4417
4663
  };
4418
4664
  editorCustomType?: string;
4419
4665
  };
4420
- declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {
4666
+ declare const __VLS_export$37: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {
4421
4667
  values: import("@vue/reactivity").Ref<string, string>;
4422
4668
  getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
4423
4669
  getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
@@ -4428,7 +4674,7 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4428
4674
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4429
4675
  save: (...args: any[]) => void;
4430
4676
  initd: (...args: any[]) => void;
4431
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
4677
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
4432
4678
  onSave?: ((...args: any[]) => any) | undefined;
4433
4679
  onInitd?: ((...args: any[]) => any) | undefined;
4434
4680
  }>, {
@@ -4439,13 +4685,13 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4439
4685
  autoSave: boolean;
4440
4686
  disabledFullScreen: boolean;
4441
4687
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4442
- declare const _default$33: typeof __VLS_export$36;
4688
+ declare const _default$34: typeof __VLS_export$37;
4443
4689
  //#endregion
4444
4690
  //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
4445
4691
  type __VLS_Slots$11 = ComponentListPanelSlots;
4446
4692
  declare const __VLS_base$11: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
4447
- declare const __VLS_export$35: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
4448
- declare const _default$6: typeof __VLS_export$35;
4693
+ declare const __VLS_export$36: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
4694
+ declare const _default$6: typeof __VLS_export$36;
4449
4695
  type __VLS_WithSlots$11<T, S> = T & {
4450
4696
  new (): {
4451
4697
  $slots: S;
@@ -4454,7 +4700,7 @@ type __VLS_WithSlots$11<T, S> = T & {
4454
4700
  //#endregion
4455
4701
  //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
4456
4702
  type __VLS_Slots$10 = LayerPanelSlots;
4457
- type __VLS_Props$31 = {
4703
+ type __VLS_Props$32 = {
4458
4704
  layerContentMenu: (MenuButton | MenuComponent)[];
4459
4705
  indent?: number;
4460
4706
  nextLevelIndentIncrement?: number;
@@ -4463,19 +4709,26 @@ type __VLS_Props$31 = {
4463
4709
  canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
4464
4710
  beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
4465
4711
  };
4466
- declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4712
+ declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4467
4713
  "node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
4468
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
4714
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
4469
4715
  "onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
4470
4716
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4471
- declare const __VLS_export$34: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4472
- declare const _default$26: typeof __VLS_export$34;
4717
+ declare const __VLS_export$35: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4718
+ declare const _default$27: typeof __VLS_export$35;
4473
4719
  type __VLS_WithSlots$10<T, S> = T & {
4474
4720
  new (): {
4475
4721
  $slots: S;
4476
4722
  };
4477
4723
  };
4478
4724
  //#endregion
4725
+ //#region temp/packages/editor/src/layouts/sidebar/layer/LayerNodeContent.vue.d.ts
4726
+ type __VLS_Props$31 = {
4727
+ data: TreeNodeData;
4728
+ };
4729
+ declare const __VLS_export$34: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4730
+ declare const _default$26: typeof __VLS_export$34;
4731
+ //#endregion
4479
4732
  //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
4480
4733
  type __VLS_Props$30 = FieldProps<CodeSelectConfig>;
4481
4734
  declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -4527,11 +4780,9 @@ type __VLS_ModelProps$3 = {
4527
4780
  };
4528
4781
  type __VLS_PublicProps$3 = __VLS_Props$27 & __VLS_ModelProps$3;
4529
4782
  declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4530
- change: (...args: any[]) => void;
4531
- "update:visible": (value: boolean) => void;
4532
- "update:width": (value: number) => void;
4783
+ "update:visible": (value: boolean) => any;
4784
+ "update:width": (value: number) => any;
4533
4785
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
4534
- onChange?: ((...args: any[]) => any) | undefined;
4535
4786
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4536
4787
  "onUpdate:width"?: ((value: number) => any) | undefined;
4537
4788
  }>, {
@@ -4732,7 +4983,7 @@ type __VLS_Props$15 = {
4732
4983
  };
4733
4984
  declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
4734
4985
  getFormState(): FormState | undefined;
4735
- submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
4986
+ submit: (v: MNode, eventData?: ContainerChangeEventData, error?: any, source?: NodeInvalidSource) => Promise<void>;
4736
4987
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4737
4988
  mounted: (internalInstance: {
4738
4989
  $: import("@vue/runtime-core").ComponentInternalInstance;
@@ -4747,7 +4998,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4747
4998
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4748
4999
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
4749
5000
  readonly onUnmounted?: (() => any) | undefined;
4750
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5001
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4751
5002
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
4752
5003
  readonly "onForm-error"?: ((e: any) => any) | undefined;
4753
5004
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -4761,7 +5012,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4761
5012
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4762
5013
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4763
5014
  $host: Element | null;
4764
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5015
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
4765
5016
  $el: any;
4766
5017
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4767
5018
  config: import("@tmagic/form-schema").FormConfig;
@@ -4774,7 +5025,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4774
5025
  }> & Readonly<{
4775
5026
  onMounted?: ((internalInstance: any) => any) | undefined;
4776
5027
  onUnmounted?: (() => any) | undefined;
4777
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5028
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4778
5029
  "onSubmit-error"?: ((e: any) => any) | undefined;
4779
5030
  "onForm-error"?: ((e: any) => any) | undefined;
4780
5031
  }>, {
@@ -4788,6 +5039,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4788
5039
  readonly isCompare?: boolean | undefined;
4789
5040
  readonly parentValues?: Record<string, any> | undefined;
4790
5041
  readonly labelWidth?: string | undefined;
5042
+ readonly typeMatchValid?: boolean | undefined;
4791
5043
  readonly disabled?: boolean | undefined;
4792
5044
  readonly height?: string | undefined;
4793
5045
  readonly stepActive?: string | number | undefined;
@@ -4830,6 +5082,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4830
5082
  isCompare?: boolean;
4831
5083
  parentValues?: Record<string, any>;
4832
5084
  labelWidth?: string;
5085
+ typeMatchValid?: boolean;
4833
5086
  disabled?: boolean;
4834
5087
  height?: string;
4835
5088
  stepActive?: string | number;
@@ -4862,6 +5115,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4862
5115
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4863
5116
  resetForm: () => void;
4864
5117
  submitForm: (native?: boolean) => Promise<any>;
5118
+ validate: () => Promise<string>;
4865
5119
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4866
5120
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4867
5121
  error: (...args: any[]) => void;
@@ -4924,6 +5178,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4924
5178
  isCompare?: boolean;
4925
5179
  parentValues?: Record<string, any>;
4926
5180
  labelWidth?: string;
5181
+ typeMatchValid?: boolean;
4927
5182
  disabled?: boolean;
4928
5183
  height?: string;
4929
5184
  stepActive?: string | number;
@@ -4947,7 +5202,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4947
5202
  "onField-input"?: ((...args: any[]) => any) | undefined;
4948
5203
  "onField-change"?: ((...args: any[]) => any) | undefined;
4949
5204
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4950
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5205
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4951
5206
  values: FormValue;
4952
5207
  lastValuesProcessed: FormValue;
4953
5208
  formState: FormState;
@@ -4956,6 +5211,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4956
5211
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4957
5212
  resetForm: () => void;
4958
5213
  submitForm: (native?: boolean) => Promise<any>;
5214
+ validate: () => Promise<string>;
4959
5215
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4960
5216
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4961
5217
  $slots: FormSlots;
@@ -4964,7 +5220,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4964
5220
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4965
5221
  mounted: (internalInstance: any) => any;
4966
5222
  unmounted: () => any;
4967
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5223
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
4968
5224
  "submit-error": (e: any) => any;
4969
5225
  "form-error": (e: any) => any;
4970
5226
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4998,7 +5254,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4998
5254
  }> & Readonly<{
4999
5255
  onMounted?: ((internalInstance: any) => any) | undefined;
5000
5256
  onUnmounted?: (() => any) | undefined;
5001
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5257
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5002
5258
  "onSubmit-error"?: ((e: any) => any) | undefined;
5003
5259
  "onForm-error"?: ((e: any) => any) | undefined;
5004
5260
  }>, "submit" | "configForm"> & {
@@ -5012,6 +5268,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5012
5268
  readonly isCompare?: boolean | undefined;
5013
5269
  readonly parentValues?: Record<string, any> | undefined;
5014
5270
  readonly labelWidth?: string | undefined;
5271
+ readonly typeMatchValid?: boolean | undefined;
5015
5272
  readonly disabled?: boolean | undefined;
5016
5273
  readonly height?: string | undefined;
5017
5274
  readonly stepActive?: string | number | undefined;
@@ -5054,6 +5311,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5054
5311
  isCompare?: boolean;
5055
5312
  parentValues?: Record<string, any>;
5056
5313
  labelWidth?: string;
5314
+ typeMatchValid?: boolean;
5057
5315
  disabled?: boolean;
5058
5316
  height?: string;
5059
5317
  stepActive?: string | number;
@@ -5086,6 +5344,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5086
5344
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5087
5345
  resetForm: () => void;
5088
5346
  submitForm: (native?: boolean) => Promise<any>;
5347
+ validate: () => Promise<string>;
5089
5348
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5090
5349
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5091
5350
  error: (...args: any[]) => void;
@@ -5148,6 +5407,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5148
5407
  isCompare?: boolean;
5149
5408
  parentValues?: Record<string, any>;
5150
5409
  labelWidth?: string;
5410
+ typeMatchValid?: boolean;
5151
5411
  disabled?: boolean;
5152
5412
  height?: string;
5153
5413
  stepActive?: string | number;
@@ -5171,7 +5431,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5171
5431
  "onField-input"?: ((...args: any[]) => any) | undefined;
5172
5432
  "onField-change"?: ((...args: any[]) => any) | undefined;
5173
5433
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5174
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5434
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5175
5435
  values: FormValue;
5176
5436
  lastValuesProcessed: FormValue;
5177
5437
  formState: FormState;
@@ -5180,6 +5440,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5180
5440
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5181
5441
  resetForm: () => void;
5182
5442
  submitForm: (native?: boolean) => Promise<any>;
5443
+ validate: () => Promise<string>;
5183
5444
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5184
5445
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5185
5446
  $slots: FormSlots;
@@ -5207,7 +5468,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5207
5468
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5208
5469
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
5209
5470
  readonly onUnmounted?: (() => any) | undefined;
5210
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5471
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5211
5472
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
5212
5473
  readonly "onForm-error"?: ((e: any) => any) | undefined;
5213
5474
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -5221,7 +5482,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5221
5482
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
5222
5483
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
5223
5484
  $host: Element | null;
5224
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5485
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5225
5486
  $el: any;
5226
5487
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
5227
5488
  config: import("@tmagic/form-schema").FormConfig;
@@ -5234,7 +5495,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5234
5495
  }> & Readonly<{
5235
5496
  onMounted?: ((internalInstance: any) => any) | undefined;
5236
5497
  onUnmounted?: (() => any) | undefined;
5237
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5498
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5238
5499
  "onSubmit-error"?: ((e: any) => any) | undefined;
5239
5500
  "onForm-error"?: ((e: any) => any) | undefined;
5240
5501
  }>, {
@@ -5248,6 +5509,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5248
5509
  readonly isCompare?: boolean | undefined;
5249
5510
  readonly parentValues?: Record<string, any> | undefined;
5250
5511
  readonly labelWidth?: string | undefined;
5512
+ readonly typeMatchValid?: boolean | undefined;
5251
5513
  readonly disabled?: boolean | undefined;
5252
5514
  readonly height?: string | undefined;
5253
5515
  readonly stepActive?: string | number | undefined;
@@ -5290,6 +5552,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5290
5552
  isCompare?: boolean;
5291
5553
  parentValues?: Record<string, any>;
5292
5554
  labelWidth?: string;
5555
+ typeMatchValid?: boolean;
5293
5556
  disabled?: boolean;
5294
5557
  height?: string;
5295
5558
  stepActive?: string | number;
@@ -5322,6 +5585,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5322
5585
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5323
5586
  resetForm: () => void;
5324
5587
  submitForm: (native?: boolean) => Promise<any>;
5588
+ validate: () => Promise<string>;
5325
5589
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5326
5590
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5327
5591
  error: (...args: any[]) => void;
@@ -5384,6 +5648,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5384
5648
  isCompare?: boolean;
5385
5649
  parentValues?: Record<string, any>;
5386
5650
  labelWidth?: string;
5651
+ typeMatchValid?: boolean;
5387
5652
  disabled?: boolean;
5388
5653
  height?: string;
5389
5654
  stepActive?: string | number;
@@ -5407,7 +5672,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5407
5672
  "onField-input"?: ((...args: any[]) => any) | undefined;
5408
5673
  "onField-change"?: ((...args: any[]) => any) | undefined;
5409
5674
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5410
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5675
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5411
5676
  values: FormValue;
5412
5677
  lastValuesProcessed: FormValue;
5413
5678
  formState: FormState;
@@ -5416,6 +5681,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5416
5681
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5417
5682
  resetForm: () => void;
5418
5683
  submitForm: (native?: boolean) => Promise<any>;
5684
+ validate: () => Promise<string>;
5419
5685
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5420
5686
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5421
5687
  $slots: FormSlots;
@@ -5424,7 +5690,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5424
5690
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5425
5691
  mounted: (internalInstance: any) => any;
5426
5692
  unmounted: () => any;
5427
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5693
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5428
5694
  "submit-error": (e: any) => any;
5429
5695
  "form-error": (e: any) => any;
5430
5696
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -5458,7 +5724,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5458
5724
  }> & Readonly<{
5459
5725
  onMounted?: ((internalInstance: any) => any) | undefined;
5460
5726
  onUnmounted?: (() => any) | undefined;
5461
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5727
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5462
5728
  "onSubmit-error"?: ((e: any) => any) | undefined;
5463
5729
  "onForm-error"?: ((e: any) => any) | undefined;
5464
5730
  }>, "submit" | "configForm"> & {
@@ -5472,6 +5738,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5472
5738
  readonly isCompare?: boolean | undefined;
5473
5739
  readonly parentValues?: Record<string, any> | undefined;
5474
5740
  readonly labelWidth?: string | undefined;
5741
+ readonly typeMatchValid?: boolean | undefined;
5475
5742
  readonly disabled?: boolean | undefined;
5476
5743
  readonly height?: string | undefined;
5477
5744
  readonly stepActive?: string | number | undefined;
@@ -5514,6 +5781,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5514
5781
  isCompare?: boolean;
5515
5782
  parentValues?: Record<string, any>;
5516
5783
  labelWidth?: string;
5784
+ typeMatchValid?: boolean;
5517
5785
  disabled?: boolean;
5518
5786
  height?: string;
5519
5787
  stepActive?: string | number;
@@ -5546,6 +5814,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5546
5814
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5547
5815
  resetForm: () => void;
5548
5816
  submitForm: (native?: boolean) => Promise<any>;
5817
+ validate: () => Promise<string>;
5549
5818
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5550
5819
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5551
5820
  error: (...args: any[]) => void;
@@ -5608,6 +5877,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5608
5877
  isCompare?: boolean;
5609
5878
  parentValues?: Record<string, any>;
5610
5879
  labelWidth?: string;
5880
+ typeMatchValid?: boolean;
5611
5881
  disabled?: boolean;
5612
5882
  height?: string;
5613
5883
  stepActive?: string | number;
@@ -5631,7 +5901,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5631
5901
  "onField-input"?: ((...args: any[]) => any) | undefined;
5632
5902
  "onField-change"?: ((...args: any[]) => any) | undefined;
5633
5903
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5634
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5904
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5635
5905
  values: FormValue;
5636
5906
  lastValuesProcessed: FormValue;
5637
5907
  formState: FormState;
@@ -5640,6 +5910,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5640
5910
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5641
5911
  resetForm: () => void;
5642
5912
  submitForm: (native?: boolean) => Promise<any>;
5913
+ validate: () => Promise<string>;
5643
5914
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5644
5915
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5645
5916
  $slots: FormSlots;
@@ -5655,7 +5926,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5655
5926
  "onForm-error"?: ((e: any) => any) | undefined;
5656
5927
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5657
5928
  declare const __VLS_export$18: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
5658
- declare const _default$30: typeof __VLS_export$18;
5929
+ declare const _default$31: typeof __VLS_export$18;
5659
5930
  type __VLS_WithSlots$7<T, S> = T & {
5660
5931
  new (): {
5661
5932
  $slots: S;
@@ -5686,6 +5957,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5686
5957
  readonly isCompare?: boolean | undefined;
5687
5958
  readonly parentValues?: Record<string, any> | undefined;
5688
5959
  readonly labelWidth?: string | undefined;
5960
+ readonly typeMatchValid?: boolean | undefined;
5689
5961
  readonly disabled?: boolean | undefined;
5690
5962
  readonly height?: string | undefined;
5691
5963
  readonly stepActive?: string | number | undefined;
@@ -5728,6 +6000,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5728
6000
  isCompare?: boolean;
5729
6001
  parentValues?: Record<string, any>;
5730
6002
  labelWidth?: string;
6003
+ typeMatchValid?: boolean;
5731
6004
  disabled?: boolean;
5732
6005
  height?: string;
5733
6006
  stepActive?: string | number;
@@ -5760,6 +6033,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5760
6033
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5761
6034
  resetForm: () => void;
5762
6035
  submitForm: (native?: boolean) => Promise<any>;
6036
+ validate: () => Promise<string>;
5763
6037
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5764
6038
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5765
6039
  error: (...args: any[]) => void;
@@ -5822,6 +6096,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5822
6096
  isCompare?: boolean;
5823
6097
  parentValues?: Record<string, any>;
5824
6098
  labelWidth?: string;
6099
+ typeMatchValid?: boolean;
5825
6100
  disabled?: boolean;
5826
6101
  height?: string;
5827
6102
  stepActive?: string | number;
@@ -5845,7 +6120,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5845
6120
  "onField-input"?: ((...args: any[]) => any) | undefined;
5846
6121
  "onField-change"?: ((...args: any[]) => any) | undefined;
5847
6122
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5848
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
6123
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5849
6124
  values: FormValue;
5850
6125
  lastValuesProcessed: FormValue;
5851
6126
  formState: FormState;
@@ -5854,6 +6129,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5854
6129
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5855
6130
  resetForm: () => void;
5856
6131
  submitForm: (native?: boolean) => Promise<any>;
6132
+ validate: () => Promise<string>;
5857
6133
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5858
6134
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5859
6135
  $slots: FormSlots;
@@ -5862,18 +6138,18 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5862
6138
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5863
6139
  mounted: (internalInstance: any) => any;
5864
6140
  unmounted: () => any;
5865
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
6141
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5866
6142
  "submit-error": (e: any) => any;
5867
6143
  "form-error": (e: any) => any;
5868
6144
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
5869
6145
  onMounted?: ((internalInstance: any) => any) | undefined;
5870
6146
  onUnmounted?: (() => any) | undefined;
5871
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
6147
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5872
6148
  "onSubmit-error"?: ((e: any) => any) | undefined;
5873
6149
  "onForm-error"?: ((e: any) => any) | undefined;
5874
6150
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5875
6151
  declare const __VLS_export$17: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
5876
- declare const _default$29: typeof __VLS_export$17;
6152
+ declare const _default$30: typeof __VLS_export$17;
5877
6153
  type __VLS_WithSlots$6<T, S> = T & {
5878
6154
  new (): {
5879
6155
  $slots: S;
@@ -5891,7 +6167,7 @@ declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS
5891
6167
  data: MenuButton | MenuComponent;
5892
6168
  eventType: "mousedown" | "mouseup" | "click";
5893
6169
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5894
- declare const _default$35: typeof __VLS_export$16;
6170
+ declare const _default$36: typeof __VLS_export$16;
5895
6171
  //#endregion
5896
6172
  //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
5897
6173
  type __VLS_Props$12 = {
@@ -5990,7 +6266,7 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5990
6266
  minCenter: number;
5991
6267
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5992
6268
  declare const __VLS_export$13: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
5993
- declare const _default$27: typeof __VLS_export$13;
6269
+ declare const _default$28: typeof __VLS_export$13;
5994
6270
  type __VLS_WithSlots$4<T, S> = T & {
5995
6271
  new (): {
5996
6272
  $slots: S;
@@ -6008,7 +6284,7 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
6008
6284
  onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
6009
6285
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
6010
6286
  declare const __VLS_export$12: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
6011
- declare const _default$31: typeof __VLS_export$12;
6287
+ declare const _default$32: typeof __VLS_export$12;
6012
6288
  type __VLS_WithSlots$3<T, S> = T & {
6013
6289
  new (): {
6014
6290
  $slots: S;
@@ -6079,6 +6355,11 @@ type __VLS_Props$8 = {
6079
6355
  */
6080
6356
  baseFormState?: FormState; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
6081
6357
  selfDiffFieldTypes?: string[];
6358
+ /**
6359
+ * 表单内组件的尺寸(透传给 MForm 的 `size`),可选 'large' | 'default' | 'small'。
6360
+ * 缺省时使用 MForm 内置默认尺寸。
6361
+ */
6362
+ size?: FieldSize;
6082
6363
  /**
6083
6364
  * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
6084
6365
  * 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
@@ -6155,7 +6436,7 @@ declare const __VLS_export$9: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6155
6436
  (_e: "revert-step", _bucketId: string | number, _index: number): void;
6156
6437
  };
6157
6438
  }>) => import("vue").VNode & {
6158
- __ctx?: Awaited<typeof __VLS_setup>;
6439
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6159
6440
  };
6160
6441
  declare const _default$22: typeof __VLS_export$9;
6161
6442
  type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6204,7 +6485,7 @@ declare const __VLS_export$8: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6204
6485
  (_e: "clear"): void;
6205
6486
  };
6206
6487
  }>) => import("vue").VNode & {
6207
- __ctx?: Awaited<typeof __VLS_setup>;
6488
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6208
6489
  };
6209
6490
  declare const _default$23: typeof __VLS_export$8;
6210
6491
  type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6223,7 +6504,8 @@ type __VLS_Props$7 = {
6223
6504
  * 取配置逻辑,可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
6224
6505
  */
6225
6506
  loadConfig?: CompareFormLoadConfig;
6226
- width?: string;
6507
+ width?: string; /** 差异对比表单内组件的尺寸(透传给 CompareForm 的 `size`),可选 'large' | 'default' | 'small'。 */
6508
+ size?: FieldSize;
6227
6509
  isConfirm?: boolean;
6228
6510
  onConfirm?: () => void;
6229
6511
  selfDiffFieldTypes?: string[];
@@ -6296,6 +6578,9 @@ interface Position {
6296
6578
  type __VLS_Props$6 = {
6297
6579
  position?: Position;
6298
6580
  title?: string;
6581
+ bodyStyle?: CSSProperties; /** 浮窗初始样式,会与内部计算样式合并,外部传入优先 */
6582
+ initialStyle?: CSSProperties; /** 用于约束浮窗 left 的容器宽度,传入时按宽度收敛 left,避免超出右边界;默认取视窗宽度 */
6583
+ frameworkWidth?: number;
6299
6584
  beforeClose?: (_done: (_cancel?: boolean) => void) => void;
6300
6585
  };
6301
6586
  type __VLS_ModelProps = {
@@ -6325,6 +6610,8 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pu
6325
6610
  }>, {
6326
6611
  title: string;
6327
6612
  position: Position;
6613
+ initialStyle: CSSProperties;
6614
+ frameworkWidth: number;
6328
6615
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6329
6616
  declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
6330
6617
  declare const _default$20: typeof __VLS_export$6;
@@ -6377,7 +6664,7 @@ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6377
6664
  indent: number;
6378
6665
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6379
6666
  declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
6380
- declare const _default$36: typeof __VLS_export$5;
6667
+ declare const _default$37: typeof __VLS_export$5;
6381
6668
  type __VLS_WithSlots$1<T, S> = T & {
6382
6669
  new (): {
6383
6670
  $slots: S;
@@ -6428,7 +6715,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
6428
6715
  isExpandable: IsExpandableFunction;
6429
6716
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6430
6717
  declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
6431
- declare const _default$37: typeof __VLS_export$4;
6718
+ declare const _default$38: typeof __VLS_export$4;
6432
6719
  type __VLS_WithSlots<T, S> = T & {
6433
6720
  new (): {
6434
6721
  $slots: S;
@@ -6444,7 +6731,7 @@ declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_
6444
6731
  }>, {
6445
6732
  disabled: boolean;
6446
6733
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6447
- declare const _default$28: typeof __VLS_export$3;
6734
+ declare const _default$29: typeof __VLS_export$3;
6448
6735
  //#endregion
6449
6736
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
6450
6737
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
@@ -6475,11 +6762,11 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6475
6762
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
6476
6763
  onAddDiffCount?: (() => any) | undefined;
6477
6764
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6478
- declare const _default$32: typeof __VLS_export;
6765
+ declare const _default$33: typeof __VLS_export;
6479
6766
  //#endregion
6480
6767
  //#region temp/packages/editor/src/plugin.d.ts
6481
- declare const _default$41: {
6768
+ declare const _default$42: {
6482
6769
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
6483
6770
  };
6484
6771
  //#endregion
6485
- export { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EditorChangeEvent, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$26 as LayerPanel, LayerPanelSlots, Layout, _default$27 as LayoutContainer, _default$27 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$28 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$29 as PropsFormPanel, PropsFormValueFunction, _default$30 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$31 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$32 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$33 as TMagicCodeEditor, _default$34 as TMagicEditor, _default$35 as ToolButton, _default$36 as Tree, _default$37 as TreeNode, TreeNodeData, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$38 as codeBlockService, collectRelatedNodes, _default$39 as componentListService, confirmHistoryAction, createStackStep, _default$40 as dataSourceService, debug, _default$41 as default, defaultIsExpandable, _default$42 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$43 as editorService, eqOptions, error, eventTabConfig, _default$44 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$45 as historyService, idbDelete, idbGet, idbSet, info, isIncludeDataSource, isIndexedDBSupported, _default$46 as keybindingService, _default$47 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, numberOptions, openIndexedDB, _default$48 as propsService, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$49 as stageOverlayService, _default$50 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$51 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
6772
+ export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidatePropsFormOptions, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$39 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$40 as componentListService, confirmHistoryAction, createStackStep, _default$41 as dataSourceService, debug$1 as debug, _default$42 as default, defaultIsExpandable, _default$43 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$44 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$45 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$46 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isIncludeDataSource, isIndexedDBSupported, _default$47 as keybindingService, _default$48 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$49 as propsService, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$50 as stageOverlayService, _default$51 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$52 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validatePropsForm, warn };