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

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 (119) 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 +5 -1
  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 +18 -123
  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/components/ViewForm.js +5 -0
  8. package/dist/es/components/ViewForm.vue_vue_type_script_setup_true_lang.js +58 -0
  9. package/dist/es/editorProps.js +6 -1
  10. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +15 -3
  11. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +2 -17
  12. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +2 -1
  13. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +7 -0
  14. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +5 -17
  15. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -0
  16. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +29 -3
  17. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +50 -88
  18. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +2 -5
  19. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +48 -23
  20. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +6 -3
  21. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +28 -22
  22. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +28 -22
  23. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +28 -22
  24. package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +6 -3
  25. package/dist/es/fields/UISelect.js +0 -1
  26. package/dist/es/hooks/use-compare-form.js +119 -0
  27. package/dist/es/index.js +13 -8
  28. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +21 -6
  29. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +9 -6
  30. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +4 -1
  31. package/dist/es/layouts/history-list/composables.js +1 -1
  32. package/dist/es/layouts/history-list/useHistoryRevert.js +7 -3
  33. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +44 -5
  34. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +15 -8
  35. package/dist/es/layouts/props-panel/use-style-panel.js +3 -2
  36. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +15 -31
  37. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  38. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +18 -3
  39. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +4 -0
  40. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  41. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +18 -3
  42. package/dist/es/layouts/sidebar/layer/LayerNodeContent.js +5 -0
  43. package/dist/es/layouts/sidebar/layer/LayerNodeContent.vue_vue_type_script_setup_true_lang.js +46 -0
  44. package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +2 -1
  45. package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +8 -2
  46. package/dist/es/plugin.js +3 -1
  47. package/dist/es/services/codeBlock.js +1 -1
  48. package/dist/es/services/editor.js +104 -5
  49. package/dist/es/services/history.js +1 -1
  50. package/dist/es/services/props.js +3 -2
  51. package/dist/es/services/storage.js +2 -2
  52. package/dist/es/services/ui.js +3 -0
  53. package/dist/es/style.css +104 -55
  54. package/dist/es/utils/data-source/index.js +30 -11
  55. package/dist/es/utils/event.js +123 -0
  56. package/dist/es/utils/monaco-editor.js +22 -6
  57. package/dist/es/utils/props.js +119 -8
  58. package/dist/es/utils/type-match-rules.js +360 -0
  59. package/dist/style.css +104 -55
  60. package/dist/tmagic-editor.umd.cjs +16996 -15806
  61. package/package.json +8 -8
  62. package/src/Editor.vue +3 -1
  63. package/src/components/CodeBlockEditor.vue +3 -0
  64. package/src/components/CompareForm.vue +16 -196
  65. package/src/components/FloatingBox.vue +77 -8
  66. package/src/components/ScrollBar.vue +0 -67
  67. package/src/components/ViewForm.vue +55 -0
  68. package/src/editorProps.ts +13 -0
  69. package/src/fields/CodeSelect.vue +4 -1
  70. package/src/fields/CondOpSelect.vue +2 -24
  71. package/src/fields/DataSourceFields.vue +5 -0
  72. package/src/fields/DataSourceInput.vue +7 -25
  73. package/src/fields/DataSourceMocks.vue +3 -0
  74. package/src/fields/DisplayConds.vue +14 -0
  75. package/src/fields/EventSelect.vue +84 -129
  76. package/src/fields/StyleSetter/Index.vue +2 -8
  77. package/src/fields/StyleSetter/pro/Background.vue +94 -55
  78. package/src/fields/StyleSetter/pro/Border.vue +9 -11
  79. package/src/fields/StyleSetter/pro/Font.vue +66 -64
  80. package/src/fields/StyleSetter/pro/Layout.vue +140 -138
  81. package/src/fields/StyleSetter/pro/Position.vue +69 -67
  82. package/src/fields/StyleSetter/pro/Transform.vue +23 -25
  83. package/src/fields/UISelect.vue +0 -12
  84. package/src/hooks/index.ts +1 -0
  85. package/src/hooks/use-compare-form.ts +187 -0
  86. package/src/index.ts +2 -0
  87. package/src/layouts/CodeEditor.vue +32 -6
  88. package/src/layouts/Framework.vue +7 -6
  89. package/src/layouts/history-list/HistoryDiffDialog.vue +11 -1
  90. package/src/layouts/history-list/useHistoryRevert.ts +4 -0
  91. package/src/layouts/props-panel/FormPanel.vue +66 -5
  92. package/src/layouts/props-panel/PropsPanel.vue +20 -6
  93. package/src/layouts/props-panel/use-style-panel.ts +4 -3
  94. package/src/layouts/sidebar/Sidebar.vue +2 -0
  95. package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +4 -1
  96. package/src/layouts/sidebar/code-block/useContentMenu.ts +13 -1
  97. package/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue +3 -0
  98. package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +2 -2
  99. package/src/layouts/sidebar/data-source/useContentMenu.ts +13 -1
  100. package/src/layouts/sidebar/layer/LayerNodeContent.vue +57 -0
  101. package/src/layouts/sidebar/layer/LayerPanel.vue +4 -1
  102. package/src/layouts/workspace/viewer/NodeListMenu.vue +4 -1
  103. package/src/plugin.ts +3 -1
  104. package/src/services/editor.ts +168 -3
  105. package/src/services/ui.ts +6 -0
  106. package/src/theme/event.scss +8 -0
  107. package/src/theme/floating-box.scss +9 -1
  108. package/src/theme/layer-node-content.scss +14 -0
  109. package/src/theme/scroll-bar.scss +64 -0
  110. package/src/theme/theme.scss +3 -0
  111. package/src/theme/ui-select.scss +9 -0
  112. package/src/type.ts +105 -2
  113. package/src/utils/data-source/index.ts +30 -12
  114. package/src/utils/event.ts +224 -0
  115. package/src/utils/index.ts +2 -0
  116. package/src/utils/monaco-editor.ts +27 -0
  117. package/src/utils/props.ts +189 -2
  118. package/src/utils/type-match-rules.ts +678 -0
  119. package/types/index.d.ts +558 -213
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$40: 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$41: 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$42: 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$44: 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$45: 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$46: 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$47: 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$48: 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$50: 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$51: 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$52: 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$53: 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
  /** 画布上是否存在参考线 */
@@ -1937,6 +2002,57 @@ interface CompareFormLoadConfigContext {
1937
2002
  * 可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
1938
2003
  */
1939
2004
  type CompareFormLoadConfig = (ctx: CompareFormLoadConfigContext) => FormConfig | Promise<FormConfig>;
2005
+ /**
2006
+ * CompareForm / ViewForm 共用的基础 props。
2007
+ * 两者都基于同一套「按 category 加载 FormConfig + 注入 services/stage」的逻辑(见 useCompareForm),
2008
+ * 差异仅在于是否做新旧值对比。这里抽出公共字段避免重复定义。
2009
+ */
2010
+ interface CompareFormBaseProps {
2011
+ /** 当前值(对比场景下为修改后的值) */
2012
+ value: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
2013
+ /**
2014
+ * 类型说明:
2015
+ * - `category` 为 `node` 时,`type` 为节点组件的类型,例如 'text'、'button'、'page'、'container' 等
2016
+ * - `category` 为 `data-source` 时,`type` 为数据源类型,例如 'base'、'http'
2017
+ * - `category` 为 `code-block` 时,`type` 可不传
2018
+ */
2019
+ type?: string;
2020
+ /** 表单配置类别,决定从哪里取 FormConfig */
2021
+ category?: CompareCategory;
2022
+ /** 数据源代码块场景下的数据源类型(base/http),用于代码块表单中"执行时机"展示 */
2023
+ dataSourceType?: string;
2024
+ labelWidth?: string;
2025
+ /**
2026
+ * 外层容器高度。设置后表单内容超出时会在组件内部出现滚动条,
2027
+ * 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
2028
+ */
2029
+ height?: string;
2030
+ /**
2031
+ * 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
2032
+ * PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
2033
+ * filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
2034
+ * 因此在对比 / 展示场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
2035
+ */
2036
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2037
+ /**
2038
+ * 外部透传的基础 formState(通常来自 PropsPanel 主属性表单)。
2039
+ * 组件会提取其中的扩展字段覆盖到自己的 formState,保证 filterFunction 上下文一致。
2040
+ */
2041
+ baseFormState?: FormState;
2042
+ /**
2043
+ * 表单内组件的尺寸(透传给 MForm 的 `size`),可选 'large' | 'default' | 'small'。
2044
+ * 缺省时使用 MForm 内置默认尺寸。
2045
+ */
2046
+ size?: FieldSize;
2047
+ /**
2048
+ * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
2049
+ * 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
2050
+ * `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
2051
+ */
2052
+ loadConfig?: CompareFormLoadConfig;
2053
+ /** 编辑器服务集合,由调用方传入(不再通过 inject('services') 获取)。 */
2054
+ services?: Services;
2055
+ }
1940
2056
  declare enum SideItemKey {
1941
2057
  COMPONENT_LIST = "component-list",
1942
2058
  LAYER = "layer",
@@ -2172,6 +2288,10 @@ interface StepExtra {
2172
2288
  selectedAfter?: Id[];
2173
2289
  /** 本次操作涉及的节点 id 集合(page 类型) */
2174
2290
  modifiedNodeIds?: Map<Id, Id>;
2291
+ /** 操作前的节点校验错误快照,撤销后还原(使撤销一个「校验失败」的改动后错误消失) */
2292
+ invalidNodeIdsBefore?: Map<Id, NodeInvalidInfo>;
2293
+ /** 操作后的节点校验错误快照,重做后还原(使重做后错误恢复) */
2294
+ invalidNodeIdsAfter?: Map<Id, NodeInvalidInfo>;
2175
2295
  [key: string]: any;
2176
2296
  }
2177
2297
  /**
@@ -2452,7 +2572,20 @@ interface PageBarSortOptions extends PartSortableOptions {
2452
2572
  /** 在onStart之前调用 */
2453
2573
  beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise<void>;
2454
2574
  }
2455
- type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: 'layer' | 'data-source' | 'viewer' | 'code-block') => (MenuButton | MenuComponent)[];
2575
+ /**
2576
+ * 右键菜单当前目标(侧栏树节点等)。
2577
+ * 数据源 / 代码块面板通过 `customContentMenu` 的 `getTarget` 暴露,业务在 handler 内自行读取。
2578
+ */
2579
+ interface ContentMenuTarget {
2580
+ /** 目标 ID */
2581
+ id: string;
2582
+ /** 原始节点数据(树节点等) */
2583
+ data?: TreeNodeData;
2584
+ }
2585
+ type ContentMenuType = 'layer' | 'data-source' | 'viewer' | 'code-block';
2586
+ type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: ContentMenuType, /** 读取当前右键目标;数据源 / 代码块面板会传入,图层 / 画布一般不需要 */
2587
+
2588
+ getTarget?: () => ContentMenuTarget | null) => (MenuButton | MenuComponent)[];
2456
2589
  interface EditorEvents {
2457
2590
  'root-change': [value: StoreState['root'], preValue?: StoreState['root'], options?: {
2458
2591
  historySource?: HistoryOpSource;
@@ -2479,6 +2612,8 @@ interface EditorEvents {
2479
2612
  * add / remove / update 触发本事件;如需区分「用户操作」与「撤销重做」请配合 `history-change`。
2480
2613
  */
2481
2614
  change: [event: EditorChangeEvent];
2615
+ /** 节点校验错误状态发生变化时触发,携带当前完整的错误 Map(供非响应式消费方订阅) */
2616
+ 'invalid-node-change': [invalidNodeIds: Map<Id, NodeInvalidInfo>];
2482
2617
  }
2483
2618
  /** `change` 事件中单个变更项:变更的 node 及其所属的 page(可能为 null)。 */
2484
2619
  interface EditorChangeItem {
@@ -2679,6 +2814,11 @@ interface CustomDiffFormOptions {
2679
2814
  * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
2680
2815
  */
2681
2816
  width?: string;
2817
+ /**
2818
+ * 差异 / 确认回滚弹窗内 form 表单的尺寸(透传给 CompareForm 的 `size`),
2819
+ * 可选 `'large' | 'default' | 'small'`,缺省时使用表单内置默认尺寸。
2820
+ */
2821
+ size?: FieldSize;
2682
2822
  }
2683
2823
  /**
2684
2824
  * 业务自有历史复用「单步回滚」交互({@link useHistoryRevert} 的 `confirmAndRevert`)的入参。
@@ -2767,6 +2907,27 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
2767
2907
  submitCodeBlockHandler: (values: CodeBlockContent, eventData?: ContainerChangeEventData) => Promise<void>;
2768
2908
  };
2769
2909
  //#endregion
2910
+ //#region temp/packages/editor/src/hooks/use-compare-form.d.ts
2911
+ interface UseCompareFormReturn {
2912
+ config: Ref<FormConfig>;
2913
+ currentValues: ComputedRef<FormValue>;
2914
+ wrapperStyle: ComputedRef<Record<string, string> | undefined>;
2915
+ mergedExtendState: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2916
+ loadConfig: () => Promise<void>;
2917
+ formRef: Readonly<Ref<InstanceType<typeof MForm> | null>>;
2918
+ normalizeCodeBlockValue: (v: Partial<CodeBlockContent> | Record<string, any> | undefined) => Record<string, any>;
2919
+ }
2920
+ /**
2921
+ * CompareForm / ViewForm 共用逻辑:
2922
+ * - 按 `category`(node / data-source / code-block) 加载 FormConfig(支持自定义 `loadConfig`);
2923
+ * - 代码块 `content` 归一化为字符串;
2924
+ * - 外层容器固定高度 + 内部滚动的 `wrapperStyle`;
2925
+ * - 将 services / stage 注入 MForm.formState,保证 filterFunction 上下文一致。
2926
+ *
2927
+ * 两个组件的差异仅在于是否做新旧值对比,这部分逻辑保留在各自组件中。
2928
+ */
2929
+ declare const useCompareForm: (props: CompareFormBaseProps) => UseCompareFormReturn;
2930
+ //#endregion
2770
2931
  //#region temp/packages/editor/src/hooks/use-stage.d.ts
2771
2932
  declare const useStage: (stageOptions: StageOptions) => StageCore$1;
2772
2933
  //#endregion
@@ -2861,6 +3022,15 @@ declare const numberOptions: {
2861
3022
  text: string;
2862
3023
  value: string;
2863
3024
  }[];
3025
+ declare const booleanOptions: {
3026
+ text: string;
3027
+ value: string;
3028
+ }[];
3029
+ /** 按字段类型返回条件运算符选项(UI 与 typeMatch 校验共用) */
3030
+ declare const getCondOpOptionsByFieldType: (type: string) => {
3031
+ text: string;
3032
+ value: string;
3033
+ }[];
2864
3034
  declare const styleTabConfig: TabPaneConfig;
2865
3035
  declare const eventTabConfig: TabPaneConfig;
2866
3036
  declare const advancedTabConfig: TabPaneConfig;
@@ -2879,6 +3049,82 @@ declare const fillConfig: (config?: FormConfig, {
2879
3049
  disabledDataSource?: boolean;
2880
3050
  disabledCodeBlock?: boolean;
2881
3051
  }) => FormConfig;
3052
+ /**
3053
+ * 将属性表单配置中「样式」tab-pane 的 `display` 强制置为 `true`。
3054
+ *
3055
+ * `propsService.getPropsConfig` 返回的样式 tab 默认带有
3056
+ * `display: ({ services }) => !(services?.uiService?.get('showStylePanel') ?? true)`,
3057
+ * 在对比 / 只读展示场景(CompareForm / ViewForm)下并不需要跟随 uiService 状态隐藏,
3058
+ * 这里统一放开,保证样式 tab 始终可见。
3059
+ *
3060
+ * @param formConfig 组件属性表单配置
3061
+ * @returns 处理后的表单配置(不修改入参,返回浅拷贝)
3062
+ */
3063
+ declare const removeStyleDisplayConfig: (formConfig: FormConfig) => FormConfig;
3064
+ /**
3065
+ * validatePropsForm 参数
3066
+ */
3067
+ interface ValidatePropsFormOptions {
3068
+ /** 组件属性表单配置 */
3069
+ config: FormConfig;
3070
+ /** 待校验的表单值 */
3071
+ values: FormValue;
3072
+ /**
3073
+ * 当前组件实例的 appContext(通常为 `getCurrentInstance()?.appContext`)。
3074
+ * 会与 services 一并合入临时 MForm 的 appContext,使编辑器字段组件(DataSourceInput 等)能正常 inject。
3075
+ */
3076
+ appContext?: AppContext | null;
3077
+ /** 编辑器服务集合,注入到临时表单的 formState */
3078
+ services?: Services;
3079
+ /** stage 实例,注入到临时表单的 formState */
3080
+ stage?: any;
3081
+ /** 外部扩展的 formState */
3082
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3083
+ /**
3084
+ * 调试模式,默认 `true`:以弹层形式可见地渲染表单,点击「确定」才触发校验。
3085
+ * 置为 `false` 时静默挂载后自动校验。
3086
+ */
3087
+ debug?: boolean;
3088
+ typeMatchValid?: boolean;
3089
+ }
3090
+ /**
3091
+ * 对一份「组件属性表单配置 + 值」做一次独立的校验,**不复用也不污染页面上正在展示的表单**。
3092
+ *
3093
+ * 内部基于 `@tmagic/form` 的 `validateForm` 另建一个独立的 MForm 实例完成校验,并统一处理
3094
+ * 编辑器场景所需的上下文注入:将当前组件实例的 provides 合入 appContext,并向 formState 注入
3095
+ * stage / services 及外部扩展状态,保证校验规则依赖的上下文可用。
3096
+ *
3097
+ * 常用于源码编辑器保存后,对最新配置做一次校验,并将校验结果(错误信息)随提交一并抛给上层记录,
3098
+ * 使源码保存的错误状态与表单编辑保持一致。
3099
+ *
3100
+ * @returns 校验通过返回空字符串 `''`,否则返回以 `<br>` 拼接的错误文案。
3101
+ * 仅在初始化超时或挂载失败等异常情况下才会 reject。
3102
+ *
3103
+ * @example
3104
+ * ```ts
3105
+ * const error = await validatePropsForm({
3106
+ * config,
3107
+ * values,
3108
+ * appContext: getCurrentInstance()?.appContext,
3109
+ * services,
3110
+ * stage: editorService.get('stage'),
3111
+ * extendState,
3112
+ * });
3113
+ * if (error) {
3114
+ * // 配置不合法,error 为错误文案
3115
+ * }
3116
+ * ```
3117
+ */
3118
+ declare const validatePropsForm: ({
3119
+ config,
3120
+ values,
3121
+ appContext,
3122
+ services,
3123
+ stage,
3124
+ extendState,
3125
+ debug,
3126
+ typeMatchValid
3127
+ }: ValidatePropsFormOptions) => Promise<string>;
2882
3128
  //#endregion
2883
3129
  //#region temp/packages/editor/src/utils/code-block.d.ts
2884
3130
  /**
@@ -2927,7 +3173,7 @@ declare const getCodeBlockFormConfig: (options?: GetCodeBlockFormConfigOptions)
2927
3173
  declare const log: (...args: any[]) => void;
2928
3174
  declare const info: (...args: any[]) => void;
2929
3175
  declare const warn: (...args: any[]) => void;
2930
- declare const debug: (...args: any[]) => void;
3176
+ declare const debug$1: (...args: any[]) => void;
2931
3177
  declare const error: (...args: any[]) => void;
2932
3178
  //#endregion
2933
3179
  //#region temp/packages/editor/src/utils/editor.d.ts
@@ -3091,7 +3337,18 @@ declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) =>
3091
3337
  type: "var" | "text";
3092
3338
  }[];
3093
3339
  declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption[];
3094
- declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => string;
3340
+ /**
3341
+ * 按字段名路径下钻 DataSchema。
3342
+ * @param skipNumberIndices 为 true 时跳过数字段(模板路径中的数组下标,如 arr[0].x)
3343
+ */
3344
+ declare const resolveFieldByPath: (fields: DataSchema[] | undefined, fieldNames: string[], options?: {
3345
+ skipNumberIndices?: boolean;
3346
+ }) => {
3347
+ ok: boolean;
3348
+ field?: DataSchema;
3349
+ fields: DataSchema[];
3350
+ };
3351
+ declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => "" | DataSourceFieldType;
3095
3352
  //#endregion
3096
3353
  //#region temp/packages/editor/src/utils/dep/idle-task.d.ts
3097
3354
  interface IdleTaskEvents {
@@ -3283,8 +3540,56 @@ declare const MIN_RIGHT_COLUMN_WIDTH = 300;
3283
3540
  declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
3284
3541
  declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
3285
3542
  //#endregion
3543
+ //#region temp/packages/editor/src/utils/type-match-rules.d.ts
3544
+ declare const ALL_COND_OPS: Set<string>;
3545
+ declare const editorTypeMatchRules: Record<string, TypeMatchValidator>;
3546
+ //#endregion
3547
+ //#region temp/packages/editor/src/utils/event.d.ts
3548
+ declare const EVENT_NAME_VALUE_SEPARATOR = ".";
3549
+ type EventNameSelectOption = {
3550
+ text: string;
3551
+ value: string;
3552
+ };
3553
+ type EventNameOption = EventOption | CascaderOption | EventNameSelectOption;
3554
+ /** 与 EventSelect 中 checkStrictly 一致:component 为 false,其余为 true */
3555
+ declare const isEventNameCheckStrictly: (src?: string) => boolean;
3556
+ /** 将动作 method 值规范为与 collectEventNameOptionValues 一致的字符串(cascader 无 valueSeparator 时存数组) */
3557
+ declare const normalizeCompActionValue: (value: unknown) => string;
3558
+ /**
3559
+ * 组装事件名称下拉/级联 options,与 EventSelect 默认 eventNameConfig.options 逻辑一致。
3560
+ */
3561
+ declare const getEventNameOptions: (src: string | undefined, formValue?: Record<string, any>) => EventNameOption[];
3562
+ /** 将 select / cascader options 展平为最终写入 name 的字符串集合(cascader 用 `.` 拼接) */
3563
+ declare const collectEventNameOptionValues: (options: EventNameOption[], checkStrictly: boolean, prefix?: any[], result?: Set<string>) => Set<string>;
3564
+ /**
3565
+ * 解析 event-select 允许的 name 集合。
3566
+ * 自定义 eventNameConfig.options 时返回 null(跳过枚举校验)。
3567
+ */
3568
+ declare const getEventNameAllowedValues: (config?: {
3569
+ src?: string;
3570
+ eventNameConfig?: {
3571
+ options?: unknown;
3572
+ };
3573
+ }, formValue?: Record<string, any>) => Set<string> | null;
3574
+ /**
3575
+ * 组装联动组件动作下拉/级联 options,与 EventSelect 默认 compActionConfig.options 逻辑一致。
3576
+ */
3577
+ declare const getCompActionOptions: (toId?: Id) => EventNameOption[];
3578
+ /**
3579
+ * 解析 event-select 联动组件动作允许的 method 集合。
3580
+ * 自定义 compActionConfig.options 时返回 null(跳过枚举校验)。
3581
+ */
3582
+ declare const getCompActionAllowedValues: (config?: {
3583
+ src?: string;
3584
+ compActionConfig?: {
3585
+ options?: unknown;
3586
+ };
3587
+ }, model?: {
3588
+ to?: Id;
3589
+ }) => Set<string> | null;
3590
+ //#endregion
3286
3591
  //#region temp/packages/editor/src/utils/monaco-editor.d.ts
3287
- declare const _default$47: () => Promise<typeof import("monaco-editor")>;
3592
+ declare const _default$49: () => Promise<typeof import("monaco-editor")>;
3288
3593
  //#endregion
3289
3594
  //#region temp/packages/form/src/schema.d.ts
3290
3595
  interface ChangeRecord$1 {
@@ -3387,6 +3692,11 @@ interface EditorProps {
3387
3692
  disabledFlashTip?: boolean;
3388
3693
  /** 禁用双击在浮层中单独编辑选中组件 */
3389
3694
  disabledStageOverlay?: boolean;
3695
+ /**
3696
+ * 是否启用「属性配置表单校验」联动能力:开启后属性/样式表单校验失败时仍更新节点,
3697
+ * 并把错误信息集中记录到 editorService,用于组件树标红提示与保存拦截;默认 false(关闭)。
3698
+ */
3699
+ enablePropsFormValidate?: boolean;
3390
3700
  /** 禁用属性配置面板右下角显示源码的按钮 */
3391
3701
  disabledShowSrc?: boolean;
3392
3702
  /** 禁用数据源 */
@@ -3450,7 +3760,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3450
3760
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3451
3761
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3452
3762
  readonly onUnmounted?: (() => any) | undefined;
3453
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3763
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3454
3764
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3455
3765
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3456
3766
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3464,7 +3774,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3464
3774
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3465
3775
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3466
3776
  $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);
3777
+ $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
3778
  $el: any;
3469
3779
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3470
3780
  config: import("@tmagic/form-schema").FormConfig;
@@ -3477,7 +3787,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3477
3787
  }> & Readonly<{
3478
3788
  onMounted?: ((internalInstance: any) => any) | undefined;
3479
3789
  onUnmounted?: (() => any) | undefined;
3480
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3790
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3481
3791
  "onSubmit-error"?: ((e: any) => any) | undefined;
3482
3792
  "onForm-error"?: ((e: any) => any) | undefined;
3483
3793
  }>, {
@@ -3491,6 +3801,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3491
3801
  readonly isCompare?: boolean | undefined;
3492
3802
  readonly parentValues?: Record<string, any> | undefined;
3493
3803
  readonly labelWidth?: string | undefined;
3804
+ readonly typeMatchValid?: boolean | undefined;
3494
3805
  readonly disabled?: boolean | undefined;
3495
3806
  readonly height?: string | undefined;
3496
3807
  readonly stepActive?: string | number | undefined;
@@ -3533,6 +3844,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3533
3844
  isCompare?: boolean;
3534
3845
  parentValues?: Record<string, any>;
3535
3846
  labelWidth?: string;
3847
+ typeMatchValid?: boolean;
3536
3848
  disabled?: boolean;
3537
3849
  height?: string;
3538
3850
  stepActive?: string | number;
@@ -3565,6 +3877,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3565
3877
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3566
3878
  resetForm: () => void;
3567
3879
  submitForm: (native?: boolean) => Promise<any>;
3880
+ validate: () => Promise<string>;
3568
3881
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3569
3882
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3570
3883
  error: (...args: any[]) => void;
@@ -3627,6 +3940,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3627
3940
  isCompare?: boolean;
3628
3941
  parentValues?: Record<string, any>;
3629
3942
  labelWidth?: string;
3943
+ typeMatchValid?: boolean;
3630
3944
  disabled?: boolean;
3631
3945
  height?: string;
3632
3946
  stepActive?: string | number;
@@ -3650,7 +3964,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3650
3964
  "onField-input"?: ((...args: any[]) => any) | undefined;
3651
3965
  "onField-change"?: ((...args: any[]) => any) | undefined;
3652
3966
  "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")> & {
3967
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3654
3968
  values: import("@tmagic/form-schema").FormValue;
3655
3969
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3656
3970
  formState: import("@tmagic/form-schema").FormState;
@@ -3659,6 +3973,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3659
3973
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3660
3974
  resetForm: () => void;
3661
3975
  submitForm: (native?: boolean) => Promise<any>;
3976
+ validate: () => Promise<string>;
3662
3977
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3663
3978
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3664
3979
  $slots: FormSlots;
@@ -3667,7 +3982,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3667
3982
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3668
3983
  mounted: (internalInstance: any) => any;
3669
3984
  unmounted: () => any;
3670
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3985
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
3671
3986
  "submit-error": (e: any) => any;
3672
3987
  "form-error": (e: any) => any;
3673
3988
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -3701,7 +4016,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3701
4016
  }> & Readonly<{
3702
4017
  onMounted?: ((internalInstance: any) => any) | undefined;
3703
4018
  onUnmounted?: (() => any) | undefined;
3704
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4019
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3705
4020
  "onSubmit-error"?: ((e: any) => any) | undefined;
3706
4021
  "onForm-error"?: ((e: any) => any) | undefined;
3707
4022
  }>, "submit" | "configForm"> & {
@@ -3715,6 +4030,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3715
4030
  readonly isCompare?: boolean | undefined;
3716
4031
  readonly parentValues?: Record<string, any> | undefined;
3717
4032
  readonly labelWidth?: string | undefined;
4033
+ readonly typeMatchValid?: boolean | undefined;
3718
4034
  readonly disabled?: boolean | undefined;
3719
4035
  readonly height?: string | undefined;
3720
4036
  readonly stepActive?: string | number | undefined;
@@ -3757,6 +4073,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3757
4073
  isCompare?: boolean;
3758
4074
  parentValues?: Record<string, any>;
3759
4075
  labelWidth?: string;
4076
+ typeMatchValid?: boolean;
3760
4077
  disabled?: boolean;
3761
4078
  height?: string;
3762
4079
  stepActive?: string | number;
@@ -3789,6 +4106,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3789
4106
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3790
4107
  resetForm: () => void;
3791
4108
  submitForm: (native?: boolean) => Promise<any>;
4109
+ validate: () => Promise<string>;
3792
4110
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3793
4111
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3794
4112
  error: (...args: any[]) => void;
@@ -3851,6 +4169,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3851
4169
  isCompare?: boolean;
3852
4170
  parentValues?: Record<string, any>;
3853
4171
  labelWidth?: string;
4172
+ typeMatchValid?: boolean;
3854
4173
  disabled?: boolean;
3855
4174
  height?: string;
3856
4175
  stepActive?: string | number;
@@ -3874,7 +4193,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3874
4193
  "onField-input"?: ((...args: any[]) => any) | undefined;
3875
4194
  "onField-change"?: ((...args: any[]) => any) | undefined;
3876
4195
  "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")> & {
4196
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3878
4197
  values: import("@tmagic/form-schema").FormValue;
3879
4198
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3880
4199
  formState: import("@tmagic/form-schema").FormState;
@@ -3883,6 +4202,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3883
4202
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3884
4203
  resetForm: () => void;
3885
4204
  submitForm: (native?: boolean) => Promise<any>;
4205
+ validate: () => Promise<string>;
3886
4206
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3887
4207
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3888
4208
  $slots: FormSlots;
@@ -3912,7 +4232,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3912
4232
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3913
4233
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3914
4234
  readonly onUnmounted?: (() => any) | undefined;
3915
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4235
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3916
4236
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3917
4237
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3918
4238
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3926,7 +4246,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3926
4246
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3927
4247
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3928
4248
  $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);
4249
+ $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
4250
  $el: any;
3931
4251
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3932
4252
  config: import("@tmagic/form-schema").FormConfig;
@@ -3939,7 +4259,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3939
4259
  }> & Readonly<{
3940
4260
  onMounted?: ((internalInstance: any) => any) | undefined;
3941
4261
  onUnmounted?: (() => any) | undefined;
3942
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4262
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3943
4263
  "onSubmit-error"?: ((e: any) => any) | undefined;
3944
4264
  "onForm-error"?: ((e: any) => any) | undefined;
3945
4265
  }>, {
@@ -3953,6 +4273,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3953
4273
  readonly isCompare?: boolean | undefined;
3954
4274
  readonly parentValues?: Record<string, any> | undefined;
3955
4275
  readonly labelWidth?: string | undefined;
4276
+ readonly typeMatchValid?: boolean | undefined;
3956
4277
  readonly disabled?: boolean | undefined;
3957
4278
  readonly height?: string | undefined;
3958
4279
  readonly stepActive?: string | number | undefined;
@@ -3995,6 +4316,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3995
4316
  isCompare?: boolean;
3996
4317
  parentValues?: Record<string, any>;
3997
4318
  labelWidth?: string;
4319
+ typeMatchValid?: boolean;
3998
4320
  disabled?: boolean;
3999
4321
  height?: string;
4000
4322
  stepActive?: string | number;
@@ -4027,6 +4349,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4027
4349
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4028
4350
  resetForm: () => void;
4029
4351
  submitForm: (native?: boolean) => Promise<any>;
4352
+ validate: () => Promise<string>;
4030
4353
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4031
4354
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4032
4355
  error: (...args: any[]) => void;
@@ -4089,6 +4412,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4089
4412
  isCompare?: boolean;
4090
4413
  parentValues?: Record<string, any>;
4091
4414
  labelWidth?: string;
4415
+ typeMatchValid?: boolean;
4092
4416
  disabled?: boolean;
4093
4417
  height?: string;
4094
4418
  stepActive?: string | number;
@@ -4112,7 +4436,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4112
4436
  "onField-input"?: ((...args: any[]) => any) | undefined;
4113
4437
  "onField-change"?: ((...args: any[]) => any) | undefined;
4114
4438
  "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")> & {
4439
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4116
4440
  values: import("@tmagic/form-schema").FormValue;
4117
4441
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4118
4442
  formState: import("@tmagic/form-schema").FormState;
@@ -4121,6 +4445,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4121
4445
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4122
4446
  resetForm: () => void;
4123
4447
  submitForm: (native?: boolean) => Promise<any>;
4448
+ validate: () => Promise<string>;
4124
4449
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4125
4450
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4126
4451
  $slots: FormSlots;
@@ -4129,7 +4454,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4129
4454
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4130
4455
  mounted: (internalInstance: any) => any;
4131
4456
  unmounted: () => any;
4132
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
4457
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
4133
4458
  "submit-error": (e: any) => any;
4134
4459
  "form-error": (e: any) => any;
4135
4460
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4163,7 +4488,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4163
4488
  }> & Readonly<{
4164
4489
  onMounted?: ((internalInstance: any) => any) | undefined;
4165
4490
  onUnmounted?: (() => any) | undefined;
4166
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4491
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4167
4492
  "onSubmit-error"?: ((e: any) => any) | undefined;
4168
4493
  "onForm-error"?: ((e: any) => any) | undefined;
4169
4494
  }>, "submit" | "configForm"> & {
@@ -4177,6 +4502,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4177
4502
  readonly isCompare?: boolean | undefined;
4178
4503
  readonly parentValues?: Record<string, any> | undefined;
4179
4504
  readonly labelWidth?: string | undefined;
4505
+ readonly typeMatchValid?: boolean | undefined;
4180
4506
  readonly disabled?: boolean | undefined;
4181
4507
  readonly height?: string | undefined;
4182
4508
  readonly stepActive?: string | number | undefined;
@@ -4219,6 +4545,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4219
4545
  isCompare?: boolean;
4220
4546
  parentValues?: Record<string, any>;
4221
4547
  labelWidth?: string;
4548
+ typeMatchValid?: boolean;
4222
4549
  disabled?: boolean;
4223
4550
  height?: string;
4224
4551
  stepActive?: string | number;
@@ -4251,6 +4578,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4251
4578
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4252
4579
  resetForm: () => void;
4253
4580
  submitForm: (native?: boolean) => Promise<any>;
4581
+ validate: () => Promise<string>;
4254
4582
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4255
4583
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4256
4584
  error: (...args: any[]) => void;
@@ -4313,6 +4641,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4313
4641
  isCompare?: boolean;
4314
4642
  parentValues?: Record<string, any>;
4315
4643
  labelWidth?: string;
4644
+ typeMatchValid?: boolean;
4316
4645
  disabled?: boolean;
4317
4646
  height?: string;
4318
4647
  stepActive?: string | number;
@@ -4336,7 +4665,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4336
4665
  "onField-input"?: ((...args: any[]) => any) | undefined;
4337
4666
  "onField-change"?: ((...args: any[]) => any) | undefined;
4338
4667
  "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")> & {
4668
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4340
4669
  values: import("@tmagic/form-schema").FormValue;
4341
4670
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4342
4671
  formState: import("@tmagic/form-schema").FormState;
@@ -4345,6 +4674,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4345
4674
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4346
4675
  resetForm: () => void;
4347
4676
  submitForm: (native?: boolean) => Promise<any>;
4677
+ validate: () => Promise<string>;
4348
4678
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4349
4679
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4350
4680
  $slots: FormSlots;
@@ -4392,8 +4722,8 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4392
4722
  containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
4393
4723
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
4394
4724
  }, {}, {}, {}, 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;
4725
+ declare const __VLS_export$39: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4726
+ declare const _default$35: typeof __VLS_export$39;
4397
4727
  type __VLS_WithSlots$12<T, S> = T & {
4398
4728
  new (): {
4399
4729
  $slots: S;
@@ -4401,7 +4731,7 @@ type __VLS_WithSlots$12<T, S> = T & {
4401
4731
  };
4402
4732
  //#endregion
4403
4733
  //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
4404
- type __VLS_Props$32 = {
4734
+ type __VLS_Props$34 = {
4405
4735
  initValues?: any;
4406
4736
  modifiedValues?: any;
4407
4737
  type?: 'diff';
@@ -4417,7 +4747,7 @@ type __VLS_Props$32 = {
4417
4747
  };
4418
4748
  editorCustomType?: string;
4419
4749
  };
4420
- declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {
4750
+ declare const __VLS_export$38: import("@vue/runtime-core").DefineComponent<__VLS_Props$34, {
4421
4751
  values: import("@vue/reactivity").Ref<string, string>;
4422
4752
  getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
4423
4753
  getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
@@ -4428,7 +4758,7 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4428
4758
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4429
4759
  save: (...args: any[]) => void;
4430
4760
  initd: (...args: any[]) => void;
4431
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
4761
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$34> & Readonly<{
4432
4762
  onSave?: ((...args: any[]) => any) | undefined;
4433
4763
  onInitd?: ((...args: any[]) => any) | undefined;
4434
4764
  }>, {
@@ -4439,13 +4769,13 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4439
4769
  autoSave: boolean;
4440
4770
  disabledFullScreen: boolean;
4441
4771
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4442
- declare const _default$33: typeof __VLS_export$36;
4772
+ declare const _default$34: typeof __VLS_export$38;
4443
4773
  //#endregion
4444
4774
  //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
4445
4775
  type __VLS_Slots$11 = ComponentListPanelSlots;
4446
4776
  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;
4777
+ declare const __VLS_export$37: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
4778
+ declare const _default$6: typeof __VLS_export$37;
4449
4779
  type __VLS_WithSlots$11<T, S> = T & {
4450
4780
  new (): {
4451
4781
  $slots: S;
@@ -4454,7 +4784,7 @@ type __VLS_WithSlots$11<T, S> = T & {
4454
4784
  //#endregion
4455
4785
  //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
4456
4786
  type __VLS_Slots$10 = LayerPanelSlots;
4457
- type __VLS_Props$31 = {
4787
+ type __VLS_Props$33 = {
4458
4788
  layerContentMenu: (MenuButton | MenuComponent)[];
4459
4789
  indent?: number;
4460
4790
  nextLevelIndentIncrement?: number;
@@ -4463,48 +4793,55 @@ type __VLS_Props$31 = {
4463
4793
  canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
4464
4794
  beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
4465
4795
  };
4466
- declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4796
+ declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4467
4797
  "node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
4468
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
4798
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
4469
4799
  "onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
4470
4800
  }>, {}, {}, {}, {}, 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;
4801
+ declare const __VLS_export$36: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4802
+ declare const _default$27: typeof __VLS_export$36;
4473
4803
  type __VLS_WithSlots$10<T, S> = T & {
4474
4804
  new (): {
4475
4805
  $slots: S;
4476
4806
  };
4477
4807
  };
4478
4808
  //#endregion
4809
+ //#region temp/packages/editor/src/layouts/sidebar/layer/LayerNodeContent.vue.d.ts
4810
+ type __VLS_Props$32 = {
4811
+ data: TreeNodeData;
4812
+ };
4813
+ declare const __VLS_export$35: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4814
+ declare const _default$26: typeof __VLS_export$35;
4815
+ //#endregion
4479
4816
  //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
4480
- type __VLS_Props$30 = FieldProps<CodeSelectConfig>;
4481
- declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4817
+ type __VLS_Props$31 = FieldProps<CodeSelectConfig>;
4818
+ declare const __VLS_export$34: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4482
4819
  change: (v: any, eventData: ContainerChangeEventData) => any;
4483
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
4820
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
4484
4821
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
4485
4822
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4486
- declare const _default$3: typeof __VLS_export$33;
4823
+ declare const _default$3: typeof __VLS_export$34;
4487
4824
  //#endregion
4488
4825
  //#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts
4489
- type __VLS_Props$29 = FieldProps<CodeSelectColConfig>;
4490
- declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4826
+ type __VLS_Props$30 = FieldProps<CodeSelectColConfig>;
4827
+ declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4491
4828
  change: (v: any, eventData: ContainerChangeEventData) => any;
4492
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
4829
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
4493
4830
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
4494
4831
  }>, {
4495
4832
  disabled: boolean;
4496
4833
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4497
- declare const _default$4: typeof __VLS_export$32;
4834
+ declare const _default$4: typeof __VLS_export$33;
4498
4835
  //#endregion
4499
4836
  //#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts
4500
- type __VLS_Props$28 = FieldProps<DataSourceFieldsConfig>;
4837
+ type __VLS_Props$29 = FieldProps<DataSourceFieldsConfig>;
4501
4838
  type __VLS_ModelProps$4 = {
4502
4839
  'width'?: number;
4503
4840
  'visible'?: boolean;
4504
4841
  'visible1'?: boolean;
4505
4842
  };
4506
- type __VLS_PublicProps$4 = __VLS_Props$28 & __VLS_ModelProps$4;
4507
- declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4843
+ type __VLS_PublicProps$4 = __VLS_Props$29 & __VLS_ModelProps$4;
4844
+ declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4508
4845
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
4509
4846
  "update:visible": (value: boolean) => any;
4510
4847
  "update:width": (value: number) => any;
@@ -4517,111 +4854,109 @@ declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS
4517
4854
  }>, {
4518
4855
  disabled: boolean;
4519
4856
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4520
- declare const _default$12: typeof __VLS_export$31;
4857
+ declare const _default$12: typeof __VLS_export$32;
4521
4858
  //#endregion
4522
4859
  //#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts
4523
- type __VLS_Props$27 = FieldProps<DataSourceMocksConfig>;
4860
+ type __VLS_Props$28 = FieldProps<DataSourceMocksConfig>;
4524
4861
  type __VLS_ModelProps$3 = {
4525
4862
  'width'?: number;
4526
4863
  'visible'?: boolean;
4527
4864
  };
4528
- type __VLS_PublicProps$3 = __VLS_Props$27 & __VLS_ModelProps$3;
4529
- 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;
4865
+ type __VLS_PublicProps$3 = __VLS_Props$28 & __VLS_ModelProps$3;
4866
+ declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4867
+ "update:visible": (value: boolean) => any;
4868
+ "update:width": (value: number) => any;
4533
4869
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
4534
- onChange?: ((...args: any[]) => any) | undefined;
4535
4870
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4536
4871
  "onUpdate:width"?: ((value: number) => any) | undefined;
4537
4872
  }>, {
4538
4873
  disabled: boolean;
4539
4874
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4540
- declare const _default$16: typeof __VLS_export$30;
4875
+ declare const _default$16: typeof __VLS_export$31;
4541
4876
  //#endregion
4542
4877
  //#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts
4543
- type __VLS_Props$26 = FieldProps<DataSourceMethodsConfig>;
4544
- declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4878
+ type __VLS_Props$27 = FieldProps<DataSourceMethodsConfig>;
4879
+ declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4545
4880
  change: (...args: any[]) => void;
4546
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
4881
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
4547
4882
  onChange?: ((...args: any[]) => any) | undefined;
4548
4883
  }>, {
4549
4884
  disabled: boolean;
4550
4885
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4551
- declare const _default$15: typeof __VLS_export$29;
4886
+ declare const _default$15: typeof __VLS_export$30;
4552
4887
  //#endregion
4553
4888
  //#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts
4554
- type __VLS_Props$25 = FieldProps<DataSourceInputConfig>;
4555
- declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4889
+ type __VLS_Props$26 = FieldProps<DataSourceInputConfig>;
4890
+ declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4556
4891
  change: (value: string) => any;
4557
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
4892
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
4558
4893
  onChange?: ((value: string) => any) | undefined;
4559
4894
  }>, {
4560
4895
  disabled: boolean;
4561
4896
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4562
- declare const _default$13: typeof __VLS_export$28;
4897
+ declare const _default$13: typeof __VLS_export$29;
4563
4898
  //#endregion
4564
4899
  //#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts
4565
- type __VLS_Props$24 = FieldProps<DataSourceSelect>;
4566
- declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4900
+ type __VLS_Props$25 = FieldProps<DataSourceSelect>;
4901
+ declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4567
4902
  change: (...args: any[]) => void;
4568
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
4903
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
4569
4904
  onChange?: ((...args: any[]) => any) | undefined;
4570
4905
  }>, {
4571
4906
  disabled: boolean;
4572
4907
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4573
- declare const _default$17: typeof __VLS_export$27;
4908
+ declare const _default$17: typeof __VLS_export$28;
4574
4909
  //#endregion
4575
4910
  //#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts
4576
- type __VLS_Props$23 = FieldProps<DataSourceMethodSelectConfig>;
4577
- declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4911
+ type __VLS_Props$24 = FieldProps<DataSourceMethodSelectConfig>;
4912
+ declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4578
4913
  change: (...args: any[]) => void;
4579
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
4914
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
4580
4915
  onChange?: ((...args: any[]) => any) | undefined;
4581
4916
  }>, {
4582
4917
  disabled: boolean;
4583
4918
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4584
- declare const _default$14: typeof __VLS_export$26;
4919
+ declare const _default$14: typeof __VLS_export$27;
4585
4920
  //#endregion
4586
4921
  //#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts
4587
- type __VLS_Props$22 = FieldProps<DataSourceFieldSelectConfig>;
4588
- declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4922
+ type __VLS_Props$23 = FieldProps<DataSourceFieldSelectConfig>;
4923
+ declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4589
4924
  change: (...args: any[]) => void;
4590
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
4925
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
4591
4926
  onChange?: ((...args: any[]) => any) | undefined;
4592
4927
  }>, {
4593
4928
  disabled: boolean;
4594
4929
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4595
- declare const _default$11: typeof __VLS_export$25;
4930
+ declare const _default$11: typeof __VLS_export$26;
4596
4931
  //#endregion
4597
4932
  //#region temp/packages/editor/src/fields/EventSelect.vue.d.ts
4598
- type __VLS_Props$21 = FieldProps<EventSelectConfig>;
4599
- declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4933
+ type __VLS_Props$22 = FieldProps<EventSelectConfig>;
4934
+ declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4600
4935
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
4601
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
4936
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
4602
4937
  onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
4603
4938
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4604
- declare const _default$19: typeof __VLS_export$24;
4939
+ declare const _default$19: typeof __VLS_export$25;
4605
4940
  //#endregion
4606
4941
  //#region temp/packages/editor/src/fields/KeyValue.vue.d.ts
4607
- type __VLS_Props$20 = FieldProps<KeyValueConfig>;
4608
- declare const __VLS_export$23: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4942
+ type __VLS_Props$21 = FieldProps<KeyValueConfig>;
4943
+ declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4609
4944
  change: (value: Record<string, any>) => any;
4610
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
4945
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
4611
4946
  onChange?: ((value: Record<string, any>) => any) | undefined;
4612
4947
  }>, {
4613
4948
  disabled: boolean;
4614
4949
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4615
- declare const _default$25: typeof __VLS_export$23;
4950
+ declare const _default$25: typeof __VLS_export$24;
4616
4951
  //#endregion
4617
4952
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts
4618
4953
  type __VLS_Slots$9 = CodeBlockListSlots;
4619
- type __VLS_Props$19 = {
4954
+ type __VLS_Props$20 = {
4620
4955
  indent?: number;
4621
4956
  nextLevelIndentIncrement?: number;
4622
4957
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
4623
4958
  };
4624
- declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {
4959
+ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
4625
4960
  nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
4626
4961
  visible: boolean;
4627
4962
  expand: boolean;
@@ -4645,15 +4980,15 @@ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4645
4980
  }) => any;
4646
4981
  edit: (id: string) => any;
4647
4982
  "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
4648
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
4983
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
4649
4984
  onRemove?: ((id: string, args_1: {
4650
4985
  historySource?: HistoryOpSource;
4651
4986
  }) => any) | undefined;
4652
4987
  onEdit?: ((id: string) => any) | undefined;
4653
4988
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
4654
4989
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4655
- declare const __VLS_export$22: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
4656
- declare const _default$1: typeof __VLS_export$22;
4990
+ declare const __VLS_export$23: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
4991
+ declare const _default$1: typeof __VLS_export$23;
4657
4992
  type __VLS_WithSlots$9<T, S> = T & {
4658
4993
  new (): {
4659
4994
  $slots: S;
@@ -4662,15 +4997,15 @@ type __VLS_WithSlots$9<T, S> = T & {
4662
4997
  //#endregion
4663
4998
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts
4664
4999
  type __VLS_Slots$8 = CodeBlockListPanelSlots;
4665
- type __VLS_Props$18 = {
5000
+ type __VLS_Props$19 = {
4666
5001
  indent?: number;
4667
5002
  nextLevelIndentIncrement?: number;
4668
5003
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
4669
5004
  customContentMenu: CustomContentMenuFunction;
4670
5005
  };
4671
- declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4672
- declare const __VLS_export$21: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
4673
- declare const _default$2: typeof __VLS_export$21;
5006
+ declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5007
+ declare const __VLS_export$22: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
5008
+ declare const _default$2: typeof __VLS_export$22;
4674
5009
  type __VLS_WithSlots$8<T, S> = T & {
4675
5010
  new (): {
4676
5011
  $slots: S;
@@ -4678,7 +5013,7 @@ type __VLS_WithSlots$8<T, S> = T & {
4678
5013
  };
4679
5014
  //#endregion
4680
5015
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts
4681
- type __VLS_Props$17 = {
5016
+ type __VLS_Props$18 = {
4682
5017
  title?: string;
4683
5018
  values: any;
4684
5019
  disabled: boolean; /** 打开后需要直接定位并打开的方法名,传入时默认激活「方法定义」tab */
@@ -4689,8 +5024,8 @@ type __VLS_ModelProps$2 = {
4689
5024
  'visible'?: boolean;
4690
5025
  'width'?: number;
4691
5026
  };
4692
- type __VLS_PublicProps$2 = __VLS_Props$17 & __VLS_ModelProps$2;
4693
- declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
5027
+ type __VLS_PublicProps$2 = __VLS_Props$18 & __VLS_ModelProps$2;
5028
+ declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
4694
5029
  show(): void;
4695
5030
  hide(): void;
4696
5031
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -4706,10 +5041,10 @@ declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS
4706
5041
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4707
5042
  "onUpdate:width"?: ((value: number) => any) | undefined;
4708
5043
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4709
- declare const _default$10: typeof __VLS_export$20;
5044
+ declare const _default$10: typeof __VLS_export$21;
4710
5045
  //#endregion
4711
5046
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts
4712
- type __VLS_Props$16 = {
5047
+ type __VLS_Props$17 = {
4713
5048
  datasourceTypeList: {
4714
5049
  text: string;
4715
5050
  type: string;
@@ -4717,22 +5052,22 @@ type __VLS_Props$16 = {
4717
5052
  addButtonConfig?: ButtonProps;
4718
5053
  addButtonText?: string;
4719
5054
  };
4720
- declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5055
+ declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4721
5056
  add: (type: string) => any;
4722
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
5057
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
4723
5058
  onAdd?: ((type: string) => any) | undefined;
4724
5059
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4725
- declare const _default$9: typeof __VLS_export$19;
5060
+ declare const _default$9: typeof __VLS_export$20;
4726
5061
  //#endregion
4727
5062
  //#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts
4728
5063
  type __VLS_Slots$7 = PropsPanelSlots;
4729
- type __VLS_Props$15 = {
5064
+ type __VLS_Props$16 = {
4730
5065
  disabledShowSrc?: boolean;
4731
5066
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4732
5067
  };
4733
- declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
5068
+ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {
4734
5069
  getFormState(): FormState | undefined;
4735
- submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
5070
+ submit: (v: MNode, eventData?: ContainerChangeEventData, error?: any, source?: NodeInvalidSource) => Promise<void>;
4736
5071
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4737
5072
  mounted: (internalInstance: {
4738
5073
  $: import("@vue/runtime-core").ComponentInternalInstance;
@@ -4747,7 +5082,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4747
5082
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4748
5083
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
4749
5084
  readonly onUnmounted?: (() => any) | undefined;
4750
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5085
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4751
5086
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
4752
5087
  readonly "onForm-error"?: ((e: any) => any) | undefined;
4753
5088
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -4761,7 +5096,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4761
5096
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4762
5097
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4763
5098
  $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);
5099
+ $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
5100
  $el: any;
4766
5101
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4767
5102
  config: import("@tmagic/form-schema").FormConfig;
@@ -4774,7 +5109,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4774
5109
  }> & Readonly<{
4775
5110
  onMounted?: ((internalInstance: any) => any) | undefined;
4776
5111
  onUnmounted?: (() => any) | undefined;
4777
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5112
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4778
5113
  "onSubmit-error"?: ((e: any) => any) | undefined;
4779
5114
  "onForm-error"?: ((e: any) => any) | undefined;
4780
5115
  }>, {
@@ -4788,6 +5123,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4788
5123
  readonly isCompare?: boolean | undefined;
4789
5124
  readonly parentValues?: Record<string, any> | undefined;
4790
5125
  readonly labelWidth?: string | undefined;
5126
+ readonly typeMatchValid?: boolean | undefined;
4791
5127
  readonly disabled?: boolean | undefined;
4792
5128
  readonly height?: string | undefined;
4793
5129
  readonly stepActive?: string | number | undefined;
@@ -4830,6 +5166,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4830
5166
  isCompare?: boolean;
4831
5167
  parentValues?: Record<string, any>;
4832
5168
  labelWidth?: string;
5169
+ typeMatchValid?: boolean;
4833
5170
  disabled?: boolean;
4834
5171
  height?: string;
4835
5172
  stepActive?: string | number;
@@ -4862,6 +5199,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4862
5199
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4863
5200
  resetForm: () => void;
4864
5201
  submitForm: (native?: boolean) => Promise<any>;
5202
+ validate: () => Promise<string>;
4865
5203
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4866
5204
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4867
5205
  error: (...args: any[]) => void;
@@ -4924,6 +5262,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4924
5262
  isCompare?: boolean;
4925
5263
  parentValues?: Record<string, any>;
4926
5264
  labelWidth?: string;
5265
+ typeMatchValid?: boolean;
4927
5266
  disabled?: boolean;
4928
5267
  height?: string;
4929
5268
  stepActive?: string | number;
@@ -4947,7 +5286,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4947
5286
  "onField-input"?: ((...args: any[]) => any) | undefined;
4948
5287
  "onField-change"?: ((...args: any[]) => any) | undefined;
4949
5288
  "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")> & {
5289
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4951
5290
  values: FormValue;
4952
5291
  lastValuesProcessed: FormValue;
4953
5292
  formState: FormState;
@@ -4956,6 +5295,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4956
5295
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4957
5296
  resetForm: () => void;
4958
5297
  submitForm: (native?: boolean) => Promise<any>;
5298
+ validate: () => Promise<string>;
4959
5299
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4960
5300
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4961
5301
  $slots: FormSlots;
@@ -4964,7 +5304,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4964
5304
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4965
5305
  mounted: (internalInstance: any) => any;
4966
5306
  unmounted: () => any;
4967
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5307
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
4968
5308
  "submit-error": (e: any) => any;
4969
5309
  "form-error": (e: any) => any;
4970
5310
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4998,7 +5338,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4998
5338
  }> & Readonly<{
4999
5339
  onMounted?: ((internalInstance: any) => any) | undefined;
5000
5340
  onUnmounted?: (() => any) | undefined;
5001
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5341
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5002
5342
  "onSubmit-error"?: ((e: any) => any) | undefined;
5003
5343
  "onForm-error"?: ((e: any) => any) | undefined;
5004
5344
  }>, "submit" | "configForm"> & {
@@ -5012,6 +5352,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5012
5352
  readonly isCompare?: boolean | undefined;
5013
5353
  readonly parentValues?: Record<string, any> | undefined;
5014
5354
  readonly labelWidth?: string | undefined;
5355
+ readonly typeMatchValid?: boolean | undefined;
5015
5356
  readonly disabled?: boolean | undefined;
5016
5357
  readonly height?: string | undefined;
5017
5358
  readonly stepActive?: string | number | undefined;
@@ -5054,6 +5395,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5054
5395
  isCompare?: boolean;
5055
5396
  parentValues?: Record<string, any>;
5056
5397
  labelWidth?: string;
5398
+ typeMatchValid?: boolean;
5057
5399
  disabled?: boolean;
5058
5400
  height?: string;
5059
5401
  stepActive?: string | number;
@@ -5086,6 +5428,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5086
5428
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5087
5429
  resetForm: () => void;
5088
5430
  submitForm: (native?: boolean) => Promise<any>;
5431
+ validate: () => Promise<string>;
5089
5432
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5090
5433
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5091
5434
  error: (...args: any[]) => void;
@@ -5148,6 +5491,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5148
5491
  isCompare?: boolean;
5149
5492
  parentValues?: Record<string, any>;
5150
5493
  labelWidth?: string;
5494
+ typeMatchValid?: boolean;
5151
5495
  disabled?: boolean;
5152
5496
  height?: string;
5153
5497
  stepActive?: string | number;
@@ -5171,7 +5515,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5171
5515
  "onField-input"?: ((...args: any[]) => any) | undefined;
5172
5516
  "onField-change"?: ((...args: any[]) => any) | undefined;
5173
5517
  "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")> & {
5518
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5175
5519
  values: FormValue;
5176
5520
  lastValuesProcessed: FormValue;
5177
5521
  formState: FormState;
@@ -5180,6 +5524,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5180
5524
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5181
5525
  resetForm: () => void;
5182
5526
  submitForm: (native?: boolean) => Promise<any>;
5527
+ validate: () => Promise<string>;
5183
5528
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5184
5529
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5185
5530
  $slots: FormSlots;
@@ -5193,7 +5538,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5193
5538
  unmounted: () => any;
5194
5539
  "submit-error": (e: any) => any;
5195
5540
  "form-error": (e: any) => any;
5196
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
5541
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
5197
5542
  onMounted?: ((internalInstance: {
5198
5543
  $: import("@vue/runtime-core").ComponentInternalInstance;
5199
5544
  $data: {};
@@ -5207,7 +5552,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5207
5552
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5208
5553
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
5209
5554
  readonly onUnmounted?: (() => any) | undefined;
5210
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5555
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5211
5556
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
5212
5557
  readonly "onForm-error"?: ((e: any) => any) | undefined;
5213
5558
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -5221,7 +5566,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5221
5566
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
5222
5567
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
5223
5568
  $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);
5569
+ $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
5570
  $el: any;
5226
5571
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
5227
5572
  config: import("@tmagic/form-schema").FormConfig;
@@ -5234,7 +5579,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5234
5579
  }> & Readonly<{
5235
5580
  onMounted?: ((internalInstance: any) => any) | undefined;
5236
5581
  onUnmounted?: (() => any) | undefined;
5237
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5582
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5238
5583
  "onSubmit-error"?: ((e: any) => any) | undefined;
5239
5584
  "onForm-error"?: ((e: any) => any) | undefined;
5240
5585
  }>, {
@@ -5248,6 +5593,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5248
5593
  readonly isCompare?: boolean | undefined;
5249
5594
  readonly parentValues?: Record<string, any> | undefined;
5250
5595
  readonly labelWidth?: string | undefined;
5596
+ readonly typeMatchValid?: boolean | undefined;
5251
5597
  readonly disabled?: boolean | undefined;
5252
5598
  readonly height?: string | undefined;
5253
5599
  readonly stepActive?: string | number | undefined;
@@ -5290,6 +5636,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5290
5636
  isCompare?: boolean;
5291
5637
  parentValues?: Record<string, any>;
5292
5638
  labelWidth?: string;
5639
+ typeMatchValid?: boolean;
5293
5640
  disabled?: boolean;
5294
5641
  height?: string;
5295
5642
  stepActive?: string | number;
@@ -5322,6 +5669,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5322
5669
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5323
5670
  resetForm: () => void;
5324
5671
  submitForm: (native?: boolean) => Promise<any>;
5672
+ validate: () => Promise<string>;
5325
5673
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5326
5674
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5327
5675
  error: (...args: any[]) => void;
@@ -5384,6 +5732,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5384
5732
  isCompare?: boolean;
5385
5733
  parentValues?: Record<string, any>;
5386
5734
  labelWidth?: string;
5735
+ typeMatchValid?: boolean;
5387
5736
  disabled?: boolean;
5388
5737
  height?: string;
5389
5738
  stepActive?: string | number;
@@ -5407,7 +5756,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5407
5756
  "onField-input"?: ((...args: any[]) => any) | undefined;
5408
5757
  "onField-change"?: ((...args: any[]) => any) | undefined;
5409
5758
  "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")> & {
5759
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5411
5760
  values: FormValue;
5412
5761
  lastValuesProcessed: FormValue;
5413
5762
  formState: FormState;
@@ -5416,6 +5765,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5416
5765
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5417
5766
  resetForm: () => void;
5418
5767
  submitForm: (native?: boolean) => Promise<any>;
5768
+ validate: () => Promise<string>;
5419
5769
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5420
5770
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5421
5771
  $slots: FormSlots;
@@ -5424,7 +5774,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5424
5774
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5425
5775
  mounted: (internalInstance: any) => any;
5426
5776
  unmounted: () => any;
5427
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5777
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5428
5778
  "submit-error": (e: any) => any;
5429
5779
  "form-error": (e: any) => any;
5430
5780
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -5458,7 +5808,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5458
5808
  }> & Readonly<{
5459
5809
  onMounted?: ((internalInstance: any) => any) | undefined;
5460
5810
  onUnmounted?: (() => any) | undefined;
5461
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5811
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5462
5812
  "onSubmit-error"?: ((e: any) => any) | undefined;
5463
5813
  "onForm-error"?: ((e: any) => any) | undefined;
5464
5814
  }>, "submit" | "configForm"> & {
@@ -5472,6 +5822,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5472
5822
  readonly isCompare?: boolean | undefined;
5473
5823
  readonly parentValues?: Record<string, any> | undefined;
5474
5824
  readonly labelWidth?: string | undefined;
5825
+ readonly typeMatchValid?: boolean | undefined;
5475
5826
  readonly disabled?: boolean | undefined;
5476
5827
  readonly height?: string | undefined;
5477
5828
  readonly stepActive?: string | number | undefined;
@@ -5514,6 +5865,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5514
5865
  isCompare?: boolean;
5515
5866
  parentValues?: Record<string, any>;
5516
5867
  labelWidth?: string;
5868
+ typeMatchValid?: boolean;
5517
5869
  disabled?: boolean;
5518
5870
  height?: string;
5519
5871
  stepActive?: string | number;
@@ -5546,6 +5898,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5546
5898
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5547
5899
  resetForm: () => void;
5548
5900
  submitForm: (native?: boolean) => Promise<any>;
5901
+ validate: () => Promise<string>;
5549
5902
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5550
5903
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5551
5904
  error: (...args: any[]) => void;
@@ -5608,6 +5961,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5608
5961
  isCompare?: boolean;
5609
5962
  parentValues?: Record<string, any>;
5610
5963
  labelWidth?: string;
5964
+ typeMatchValid?: boolean;
5611
5965
  disabled?: boolean;
5612
5966
  height?: string;
5613
5967
  stepActive?: string | number;
@@ -5631,7 +5985,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5631
5985
  "onField-input"?: ((...args: any[]) => any) | undefined;
5632
5986
  "onField-change"?: ((...args: any[]) => any) | undefined;
5633
5987
  "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")> & {
5988
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5635
5989
  values: FormValue;
5636
5990
  lastValuesProcessed: FormValue;
5637
5991
  formState: FormState;
@@ -5640,6 +5994,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5640
5994
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5641
5995
  resetForm: () => void;
5642
5996
  submitForm: (native?: boolean) => Promise<any>;
5997
+ validate: () => Promise<string>;
5643
5998
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5644
5999
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5645
6000
  $slots: FormSlots;
@@ -5654,8 +6009,8 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5654
6009
  "onSubmit-error"?: ((e: any) => any) | undefined;
5655
6010
  "onForm-error"?: ((e: any) => any) | undefined;
5656
6011
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5657
- declare const __VLS_export$18: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
5658
- declare const _default$30: typeof __VLS_export$18;
6012
+ declare const __VLS_export$19: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
6013
+ declare const _default$31: typeof __VLS_export$19;
5659
6014
  type __VLS_WithSlots$7<T, S> = T & {
5660
6015
  new (): {
5661
6016
  $slots: S;
@@ -5666,7 +6021,7 @@ type __VLS_WithSlots$7<T, S> = T & {
5666
6021
  type __VLS_Slots$6 = {
5667
6022
  'props-form-panel-header'(_props: {}): any;
5668
6023
  };
5669
- type __VLS_Props$14 = {
6024
+ type __VLS_Props$15 = {
5670
6025
  config: FormConfig;
5671
6026
  values: FormValue;
5672
6027
  disabledShowSrc?: boolean;
@@ -5675,7 +6030,7 @@ type __VLS_Props$14 = {
5675
6030
  labelPosition?: string;
5676
6031
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5677
6032
  };
5678
- declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
6033
+ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
5679
6034
  configForm: Readonly<import("@vue/reactivity").ShallowRef<({
5680
6035
  $: import("@vue/runtime-core").ComponentInternalInstance;
5681
6036
  $data: {};
@@ -5686,6 +6041,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5686
6041
  readonly isCompare?: boolean | undefined;
5687
6042
  readonly parentValues?: Record<string, any> | undefined;
5688
6043
  readonly labelWidth?: string | undefined;
6044
+ readonly typeMatchValid?: boolean | undefined;
5689
6045
  readonly disabled?: boolean | undefined;
5690
6046
  readonly height?: string | undefined;
5691
6047
  readonly stepActive?: string | number | undefined;
@@ -5728,6 +6084,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5728
6084
  isCompare?: boolean;
5729
6085
  parentValues?: Record<string, any>;
5730
6086
  labelWidth?: string;
6087
+ typeMatchValid?: boolean;
5731
6088
  disabled?: boolean;
5732
6089
  height?: string;
5733
6090
  stepActive?: string | number;
@@ -5760,6 +6117,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5760
6117
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5761
6118
  resetForm: () => void;
5762
6119
  submitForm: (native?: boolean) => Promise<any>;
6120
+ validate: () => Promise<string>;
5763
6121
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5764
6122
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5765
6123
  error: (...args: any[]) => void;
@@ -5822,6 +6180,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5822
6180
  isCompare?: boolean;
5823
6181
  parentValues?: Record<string, any>;
5824
6182
  labelWidth?: string;
6183
+ typeMatchValid?: boolean;
5825
6184
  disabled?: boolean;
5826
6185
  height?: string;
5827
6186
  stepActive?: string | number;
@@ -5845,7 +6204,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5845
6204
  "onField-input"?: ((...args: any[]) => any) | undefined;
5846
6205
  "onField-change"?: ((...args: any[]) => any) | undefined;
5847
6206
  "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")> & {
6207
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5849
6208
  values: FormValue;
5850
6209
  lastValuesProcessed: FormValue;
5851
6210
  formState: FormState;
@@ -5854,6 +6213,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5854
6213
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5855
6214
  resetForm: () => void;
5856
6215
  submitForm: (native?: boolean) => Promise<any>;
6216
+ validate: () => Promise<string>;
5857
6217
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5858
6218
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5859
6219
  $slots: FormSlots;
@@ -5862,18 +6222,18 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5862
6222
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5863
6223
  mounted: (internalInstance: any) => any;
5864
6224
  unmounted: () => any;
5865
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
6225
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5866
6226
  "submit-error": (e: any) => any;
5867
6227
  "form-error": (e: any) => any;
5868
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
6228
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
5869
6229
  onMounted?: ((internalInstance: any) => any) | undefined;
5870
6230
  onUnmounted?: (() => any) | undefined;
5871
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
6231
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5872
6232
  "onSubmit-error"?: ((e: any) => any) | undefined;
5873
6233
  "onForm-error"?: ((e: any) => any) | undefined;
5874
6234
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5875
- declare const __VLS_export$17: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
5876
- declare const _default$29: typeof __VLS_export$17;
6235
+ declare const __VLS_export$18: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
6236
+ declare const _default$30: typeof __VLS_export$18;
5877
6237
  type __VLS_WithSlots$6<T, S> = T & {
5878
6238
  new (): {
5879
6239
  $slots: S;
@@ -5881,20 +6241,20 @@ type __VLS_WithSlots$6<T, S> = T & {
5881
6241
  };
5882
6242
  //#endregion
5883
6243
  //#region temp/packages/editor/src/components/ToolButton.vue.d.ts
5884
- type __VLS_Props$13 = {
6244
+ type __VLS_Props$14 = {
5885
6245
  data?: MenuButton | MenuComponent;
5886
6246
  eventType?: 'mousedown' | 'mouseup' | 'click';
5887
6247
  };
5888
- declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
6248
+ declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
5889
6249
  getElRef: () => Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
5890
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{}>, {
6250
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{}>, {
5891
6251
  data: MenuButton | MenuComponent;
5892
6252
  eventType: "mousedown" | "mouseup" | "click";
5893
6253
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5894
- declare const _default$35: typeof __VLS_export$16;
6254
+ declare const _default$36: typeof __VLS_export$17;
5895
6255
  //#endregion
5896
6256
  //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
5897
- type __VLS_Props$12 = {
6257
+ type __VLS_Props$13 = {
5898
6258
  menuData?: (MenuButton | MenuComponent)[];
5899
6259
  isSubMenu?: boolean;
5900
6260
  active?: string | number;
@@ -5904,7 +6264,7 @@ declare var __VLS_7$1: {};
5904
6264
  type __VLS_Slots$5 = {} & {
5905
6265
  title?: (props: typeof __VLS_7$1) => any;
5906
6266
  };
5907
- declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {
6267
+ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
5908
6268
  menu: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
5909
6269
  menuPosition: Ref<{
5910
6270
  left: number;
@@ -5930,7 +6290,7 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5930
6290
  mouseenter: () => any;
5931
6291
  show: () => any;
5932
6292
  hide: () => any;
5933
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{
6293
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
5934
6294
  onMouseenter?: (() => any) | undefined;
5935
6295
  onShow?: (() => any) | undefined;
5936
6296
  onHide?: (() => any) | undefined;
@@ -5939,8 +6299,8 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5939
6299
  isSubMenu: boolean;
5940
6300
  autoHide: boolean;
5941
6301
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5942
- declare const __VLS_export$15: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
5943
- declare const _default$8: typeof __VLS_export$15;
6302
+ declare const __VLS_export$16: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
6303
+ declare const _default$8: typeof __VLS_export$16;
5944
6304
  type __VLS_WithSlots$5<T, S> = T & {
5945
6305
  new (): {
5946
6306
  $slots: S;
@@ -5948,14 +6308,14 @@ type __VLS_WithSlots$5<T, S> = T & {
5948
6308
  };
5949
6309
  //#endregion
5950
6310
  //#region temp/packages/editor/src/components/Icon.vue.d.ts
5951
- type __VLS_Props$11 = {
6311
+ type __VLS_Props$12 = {
5952
6312
  icon?: any;
5953
6313
  };
5954
- declare const __VLS_export$14: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5955
- declare const _default$24: typeof __VLS_export$14;
6314
+ declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6315
+ declare const _default$24: typeof __VLS_export$15;
5956
6316
  //#endregion
5957
6317
  //#region temp/packages/editor/src/components/SplitView.vue.d.ts
5958
- type __VLS_Props$10 = {
6318
+ type __VLS_Props$11 = {
5959
6319
  width?: number;
5960
6320
  left?: number;
5961
6321
  right?: number;
@@ -5974,13 +6334,13 @@ type __VLS_Slots$4 = {} & {
5974
6334
  } & {
5975
6335
  right?: (props: typeof __VLS_19) => any;
5976
6336
  };
5977
- declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {
6337
+ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
5978
6338
  updateWidth(): void;
5979
6339
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5980
6340
  change: (...args: any[]) => void;
5981
6341
  "update:left": (...args: any[]) => void;
5982
6342
  "update:right": (...args: any[]) => void;
5983
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{
6343
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
5984
6344
  onChange?: ((...args: any[]) => any) | undefined;
5985
6345
  "onUpdate:left"?: ((...args: any[]) => any) | undefined;
5986
6346
  "onUpdate:right"?: ((...args: any[]) => any) | undefined;
@@ -5989,8 +6349,8 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5989
6349
  minRight: number;
5990
6350
  minCenter: number;
5991
6351
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5992
- declare const __VLS_export$13: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
5993
- declare const _default$27: typeof __VLS_export$13;
6352
+ declare const __VLS_export$14: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
6353
+ declare const _default$28: typeof __VLS_export$14;
5994
6354
  type __VLS_WithSlots$4<T, S> = T & {
5995
6355
  new (): {
5996
6356
  $slots: S;
@@ -6007,8 +6367,8 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
6007
6367
  }, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{
6008
6368
  onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
6009
6369
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
6010
- declare const __VLS_export$12: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
6011
- declare const _default$31: typeof __VLS_export$12;
6370
+ declare const __VLS_export$13: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
6371
+ declare const _default$32: typeof __VLS_export$13;
6012
6372
  type __VLS_WithSlots$3<T, S> = T & {
6013
6373
  new (): {
6014
6374
  $slots: S;
@@ -6016,7 +6376,7 @@ type __VLS_WithSlots$3<T, S> = T & {
6016
6376
  };
6017
6377
  //#endregion
6018
6378
  //#region temp/packages/editor/src/components/CodeBlockEditor.vue.d.ts
6019
- type __VLS_Props$9 = {
6379
+ type __VLS_Props$10 = {
6020
6380
  content: Omit<CodeBlockContent, 'content'> & {
6021
6381
  content: string;
6022
6382
  };
@@ -6028,8 +6388,8 @@ type __VLS_ModelProps$1 = {
6028
6388
  'width'?: number;
6029
6389
  'visible'?: boolean;
6030
6390
  };
6031
- type __VLS_PublicProps$1 = __VLS_Props$9 & __VLS_ModelProps$1;
6032
- declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
6391
+ type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
6392
+ declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
6033
6393
  show(): Promise<void>;
6034
6394
  hide(): Promise<void>;
6035
6395
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -6045,58 +6405,37 @@ declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS
6045
6405
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
6046
6406
  "onUpdate:width"?: ((value: number) => any) | undefined;
6047
6407
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6048
- declare const _default: typeof __VLS_export$11;
6408
+ declare const _default: typeof __VLS_export$12;
6049
6409
  //#endregion
6050
6410
  //#region temp/packages/editor/src/components/CompareForm.vue.d.ts
6051
- type __VLS_Props$8 = {
6052
- /** 当前值(修改后的值) */value: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>; /** 用于对比的旧值(修改前的值) */
6053
- lastValue?: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
6054
- /**
6055
- * 类型说明:
6056
- * - `category` 为 `node` 时,`type` 为节点组件的类型,例如 'text'、'button'、'page'、'container' 等
6057
- * - `category` 为 `data-source` 时,`type` 为数据源类型,例如 'base'、'http'
6058
- * - `category` 为 `code-block` 时,`type` 可不传
6059
- */
6060
- type?: string; /** 表单配置类别,决定从哪里取 FormConfig */
6061
- category?: CompareCategory; /** 数据源代码块场景下的数据源类型(base/http),用于代码块表单中"执行时机"展示 */
6062
- dataSourceType?: string;
6063
- labelWidth?: string;
6064
- /**
6065
- * 外层容器高度。设置后表单内容超出时会在 CompareForm 内部出现滚动条,
6066
- * 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
6067
- */
6068
- height?: string;
6069
- /**
6070
- * 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
6071
- * PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
6072
- * filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
6073
- * 因此在差异对比场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
6074
- */
6075
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6076
- /**
6077
- * 外部透传的基础 formState(通常来自 PropsPanel 主属性表单)。
6078
- * CompareForm 会提取其中的扩展字段覆盖到自己的 formState,保证 filterFunction 上下文一致。
6079
- */
6080
- baseFormState?: FormState; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
6411
+ type __VLS_Props$9 = CompareFormBaseProps & {
6412
+ /** 用于对比的旧值(修改前的值) */lastValue?: CompareFormBaseProps['value']; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
6081
6413
  selfDiffFieldTypes?: string[];
6082
- /**
6083
- * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
6084
- * 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
6085
- * `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。返回的 config 直接用于对比展示。
6086
- */
6087
- loadConfig?: CompareFormLoadConfig; /** 编辑器服务集合,由调用方传入(不再通过 inject('services') 获取)。 */
6088
- services?: Services;
6414
+ };
6415
+ declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {
6416
+ form: ShallowRef<InstanceType<typeof MForm> | null>;
6417
+ config: Ref<FormConfig>;
6418
+ reload: () => Promise<void>;
6419
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {
6420
+ labelWidth: string;
6421
+ category: CompareCategory;
6422
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6423
+ declare const _default$5: typeof __VLS_export$11;
6424
+ //#endregion
6425
+ //#region temp/packages/editor/src/components/ViewForm.vue.d.ts
6426
+ type __VLS_Props$8 = CompareFormBaseProps & {
6427
+ /** 是否禁用表单(默认只读展示)。 */disabled?: boolean;
6089
6428
  };
6090
6429
  declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {
6091
6430
  form: ShallowRef<InstanceType<typeof MForm> | null>;
6092
6431
  config: Ref<FormConfig>;
6093
6432
  reload: () => Promise<void>;
6094
6433
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {
6434
+ disabled: boolean;
6095
6435
  labelWidth: string;
6096
- extendState: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6097
6436
  category: CompareCategory;
6098
6437
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6099
- declare const _default$5: typeof __VLS_export$10;
6438
+ declare const _default$39: typeof __VLS_export$10;
6100
6439
  //#endregion
6101
6440
  //#region temp/packages/editor/src/layouts/history-list/composables.d.ts
6102
6441
  /**
@@ -6155,7 +6494,7 @@ declare const __VLS_export$9: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6155
6494
  (_e: "revert-step", _bucketId: string | number, _index: number): void;
6156
6495
  };
6157
6496
  }>) => import("vue").VNode & {
6158
- __ctx?: Awaited<typeof __VLS_setup>;
6497
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6159
6498
  };
6160
6499
  declare const _default$22: typeof __VLS_export$9;
6161
6500
  type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6204,7 +6543,7 @@ declare const __VLS_export$8: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6204
6543
  (_e: "clear"): void;
6205
6544
  };
6206
6545
  }>) => import("vue").VNode & {
6207
- __ctx?: Awaited<typeof __VLS_setup>;
6546
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6208
6547
  };
6209
6548
  declare const _default$23: typeof __VLS_export$8;
6210
6549
  type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6223,7 +6562,8 @@ type __VLS_Props$7 = {
6223
6562
  * 取配置逻辑,可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
6224
6563
  */
6225
6564
  loadConfig?: CompareFormLoadConfig;
6226
- width?: string;
6565
+ width?: string; /** 差异对比表单内组件的尺寸(透传给 CompareForm 的 `size`),可选 'large' | 'default' | 'small'。 */
6566
+ size?: FieldSize;
6227
6567
  isConfirm?: boolean;
6228
6568
  onConfirm?: () => void;
6229
6569
  selfDiffFieldTypes?: string[];
@@ -6296,6 +6636,9 @@ interface Position {
6296
6636
  type __VLS_Props$6 = {
6297
6637
  position?: Position;
6298
6638
  title?: string;
6639
+ bodyStyle?: CSSProperties; /** 浮窗初始样式,会与内部计算样式合并,外部传入优先 */
6640
+ initialStyle?: CSSProperties; /** 用于约束浮窗 left 的容器宽度,传入时按宽度收敛 left,避免超出右边界;默认取视窗宽度 */
6641
+ frameworkWidth?: number;
6299
6642
  beforeClose?: (_done: (_cancel?: boolean) => void) => void;
6300
6643
  };
6301
6644
  type __VLS_ModelProps = {
@@ -6325,6 +6668,8 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pu
6325
6668
  }>, {
6326
6669
  title: string;
6327
6670
  position: Position;
6671
+ initialStyle: CSSProperties;
6672
+ frameworkWidth: number;
6328
6673
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6329
6674
  declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
6330
6675
  declare const _default$20: typeof __VLS_export$6;
@@ -6377,7 +6722,7 @@ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6377
6722
  indent: number;
6378
6723
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6379
6724
  declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
6380
- declare const _default$36: typeof __VLS_export$5;
6725
+ declare const _default$37: typeof __VLS_export$5;
6381
6726
  type __VLS_WithSlots$1<T, S> = T & {
6382
6727
  new (): {
6383
6728
  $slots: S;
@@ -6428,7 +6773,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
6428
6773
  isExpandable: IsExpandableFunction;
6429
6774
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6430
6775
  declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
6431
- declare const _default$37: typeof __VLS_export$4;
6776
+ declare const _default$38: typeof __VLS_export$4;
6432
6777
  type __VLS_WithSlots<T, S> = T & {
6433
6778
  new (): {
6434
6779
  $slots: S;
@@ -6444,7 +6789,7 @@ declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_
6444
6789
  }>, {
6445
6790
  disabled: boolean;
6446
6791
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6447
- declare const _default$28: typeof __VLS_export$3;
6792
+ declare const _default$29: typeof __VLS_export$3;
6448
6793
  //#endregion
6449
6794
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
6450
6795
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
@@ -6475,11 +6820,11 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6475
6820
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
6476
6821
  onAddDiffCount?: (() => any) | undefined;
6477
6822
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6478
- declare const _default$32: typeof __VLS_export;
6823
+ declare const _default$33: typeof __VLS_export;
6479
6824
  //#endregion
6480
6825
  //#region temp/packages/editor/src/plugin.d.ts
6481
- declare const _default$41: {
6826
+ declare const _default$43: {
6482
6827
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
6483
6828
  };
6484
6829
  //#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 };
6830
+ 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, CompareFormBaseProps, 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, UseCompareFormReturn, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidatePropsFormOptions, _default$39 as ViewForm, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$40 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$41 as componentListService, confirmHistoryAction, createStackStep, _default$42 as dataSourceService, debug$1 as debug, _default$43 as default, defaultIsExpandable, _default$44 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$45 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$46 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$47 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService, removeStyleDisplayConfig, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$51 as stageOverlayService, _default$52 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$53 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useCompareForm, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validatePropsForm, warn };