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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +7 -4
  2. package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +4 -0
  3. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +2 -1
  4. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +5 -2
  5. package/dist/es/components/FloatingBox.vue_vue_type_script_setup_true_lang.js +60 -14
  6. package/dist/es/components/ScrollBar.js +0 -1
  7. package/dist/es/editorProps.js +6 -1
  8. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +15 -3
  9. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +2 -17
  10. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +2 -1
  11. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +7 -0
  12. package/dist/es/fields/DataSourceInput.vue_vue_type_script_setup_true_lang.js +5 -17
  13. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -0
  14. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +29 -3
  15. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +50 -88
  16. package/dist/es/fields/StyleSetter/Index.vue_vue_type_script_setup_true_lang.js +2 -5
  17. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +48 -23
  18. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +6 -3
  19. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +28 -22
  20. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +28 -22
  21. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +28 -22
  22. package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +6 -3
  23. package/dist/es/fields/UISelect.js +0 -1
  24. package/dist/es/index.js +9 -6
  25. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +21 -6
  26. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +9 -6
  27. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +14 -4
  28. package/dist/es/layouts/history-list/composables.js +1 -1
  29. package/dist/es/layouts/history-list/useHistoryRevert.js +17 -6
  30. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +44 -5
  31. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +15 -8
  32. package/dist/es/layouts/props-panel/use-style-panel.js +3 -2
  33. package/dist/es/layouts/sidebar/Sidebar.vue_vue_type_script_setup_true_lang.js +15 -31
  34. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  35. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +18 -3
  36. package/dist/es/layouts/sidebar/data-source/DataSourceConfigPanel.vue_vue_type_script_setup_true_lang.js +4 -0
  37. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +2 -2
  38. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +18 -3
  39. package/dist/es/layouts/sidebar/layer/LayerNodeContent.js +5 -0
  40. package/dist/es/layouts/sidebar/layer/LayerNodeContent.vue_vue_type_script_setup_true_lang.js +46 -0
  41. package/dist/es/layouts/sidebar/layer/LayerPanel.vue_vue_type_script_setup_true_lang.js +2 -1
  42. package/dist/es/layouts/workspace/viewer/NodeListMenu.vue_vue_type_script_setup_true_lang.js +8 -2
  43. package/dist/es/plugin.js +3 -1
  44. package/dist/es/services/editor.js +104 -5
  45. package/dist/es/services/props.js +2 -1
  46. package/dist/es/services/storage.js +1 -1
  47. package/dist/es/services/ui.js +3 -0
  48. package/dist/es/style.css +104 -55
  49. package/dist/es/utils/data-source/index.js +30 -11
  50. package/dist/es/utils/event.js +123 -0
  51. package/dist/es/utils/monaco-editor.js +22 -6
  52. package/dist/es/utils/props.js +94 -8
  53. package/dist/es/utils/type-match-rules.js +360 -0
  54. package/dist/style.css +104 -55
  55. package/dist/tmagic-editor.umd.cjs +16923 -15771
  56. package/package.json +8 -8
  57. package/src/Editor.vue +3 -1
  58. package/src/components/CodeBlockEditor.vue +3 -0
  59. package/src/components/CompareForm.vue +7 -0
  60. package/src/components/FloatingBox.vue +77 -8
  61. package/src/components/ScrollBar.vue +0 -67
  62. package/src/editorProps.ts +13 -0
  63. package/src/fields/CodeSelect.vue +4 -1
  64. package/src/fields/CondOpSelect.vue +2 -24
  65. package/src/fields/DataSourceFields.vue +5 -0
  66. package/src/fields/DataSourceInput.vue +7 -25
  67. package/src/fields/DataSourceMocks.vue +3 -0
  68. package/src/fields/DisplayConds.vue +14 -0
  69. package/src/fields/EventSelect.vue +84 -129
  70. package/src/fields/StyleSetter/Index.vue +2 -8
  71. package/src/fields/StyleSetter/pro/Background.vue +94 -55
  72. package/src/fields/StyleSetter/pro/Border.vue +9 -11
  73. package/src/fields/StyleSetter/pro/Font.vue +66 -64
  74. package/src/fields/StyleSetter/pro/Layout.vue +140 -138
  75. package/src/fields/StyleSetter/pro/Position.vue +69 -67
  76. package/src/fields/StyleSetter/pro/Transform.vue +23 -25
  77. package/src/fields/UISelect.vue +0 -12
  78. package/src/index.ts +1 -0
  79. package/src/layouts/CodeEditor.vue +32 -6
  80. package/src/layouts/Framework.vue +7 -6
  81. package/src/layouts/history-list/HistoryDiffDialog.vue +23 -5
  82. package/src/layouts/history-list/useHistoryRevert.ts +25 -5
  83. package/src/layouts/props-panel/FormPanel.vue +66 -5
  84. package/src/layouts/props-panel/PropsPanel.vue +20 -6
  85. package/src/layouts/props-panel/use-style-panel.ts +4 -3
  86. package/src/layouts/sidebar/Sidebar.vue +2 -0
  87. package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +4 -1
  88. package/src/layouts/sidebar/code-block/useContentMenu.ts +13 -1
  89. package/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue +3 -0
  90. package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +2 -2
  91. package/src/layouts/sidebar/data-source/useContentMenu.ts +13 -1
  92. package/src/layouts/sidebar/layer/LayerNodeContent.vue +57 -0
  93. package/src/layouts/sidebar/layer/LayerPanel.vue +4 -1
  94. package/src/layouts/workspace/viewer/NodeListMenu.vue +4 -1
  95. package/src/plugin.ts +3 -1
  96. package/src/services/editor.ts +168 -3
  97. package/src/services/ui.ts +6 -0
  98. package/src/theme/event.scss +8 -0
  99. package/src/theme/floating-box.scss +9 -1
  100. package/src/theme/layer-node-content.scss +14 -0
  101. package/src/theme/scroll-bar.scss +64 -0
  102. package/src/theme/theme.scss +3 -0
  103. package/src/theme/ui-select.scss +9 -0
  104. package/src/type.ts +72 -2
  105. package/src/utils/data-source/index.ts +30 -12
  106. package/src/utils/event.ts +224 -0
  107. package/src/utils/index.ts +2 -0
  108. package/src/utils/monaco-editor.ts +27 -0
  109. package/src/utils/props.ts +160 -2
  110. package/src/utils/type-match-rules.ts +678 -0
  111. package/types/index.d.ts +391 -85
package/types/index.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, MForm, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction } from "@tmagic/form";
1
+ import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, MForm, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction, TypeMatchValidateContext, TypeMatchValidator } from "@tmagic/form";
2
2
  import tablePlugin from "@tmagic/table";
3
3
  import StageCore, { CanDropIn, ContainerHighlightType, CustomizeMoveableOptions, GuidesOptions, RenderType, UpdateDragEl, default as StageCore$1 } from "@tmagic/stage";
4
- import designPlugin, { ButtonProps, DesignPluginOptions } from "@tmagic/design";
4
+ import designPlugin, { ButtonProps, DesignPluginOptions, FieldSize } from "@tmagic/design";
5
5
  import Gesto, { OnDrag, OnDrag as OnDrag$1 } from "gesto";
6
6
  import { CodeBlockContent, CodeBlockDSL, DataSchema, DataSourceFieldType, DataSourceSchema, DepData, DepExtendedData, DepTargetType, DepTargetType as DepTargetType$1, DisplayCond, EventOption, Id, MApp, MContainer, MNode, MPage, MPageFragment, NodeType, Target, TargetOptions } from "@tmagic/core";
7
- import { App, AppContext, Component, ComputedRef, Ref, ShallowRef } from "vue";
7
+ import { App, AppContext, CSSProperties, Component, ComputedRef, Ref, ShallowRef } from "vue";
8
8
  import EventEmitter$1, { EventEmitter } from "events";
9
9
  import * as Monaco from "monaco-editor";
10
10
  import Sortable, { Options, SortableEvent } from "sortablejs";
@@ -302,7 +302,7 @@ declare class CodeBlock extends BaseService {
302
302
  private applyHistoryStep;
303
303
  }
304
304
  type CodeBlockService = CodeBlock;
305
- declare const _default$38: CodeBlock;
305
+ declare const _default$39: CodeBlock;
306
306
  //#endregion
307
307
  //#region temp/packages/editor/src/services/componentList.d.ts
308
308
  declare class ComponentList extends BaseService {
@@ -317,7 +317,7 @@ declare class ComponentList extends BaseService {
317
317
  destroy(): void;
318
318
  }
319
319
  type ComponentListService = ComponentList;
320
- declare const _default$39: ComponentList;
320
+ declare const _default$40: ComponentList;
321
321
  //#endregion
322
322
  //#region temp/packages/editor/src/services/dataSource.d.ts
323
323
  interface State$2 {
@@ -501,7 +501,7 @@ declare class DataSource extends BaseService {
501
501
  private applyHistoryStep;
502
502
  }
503
503
  type DataSourceService = DataSource;
504
- declare const _default$40: DataSource;
504
+ declare const _default$41: DataSource;
505
505
  //#endregion
506
506
  //#region temp/packages/editor/src/services/dep.d.ts
507
507
  interface DepEvents {
@@ -554,12 +554,17 @@ declare class Dep extends BaseService {
554
554
  private enqueueTask;
555
555
  }
556
556
  type DepService = Dep;
557
- declare const _default$42: Dep;
557
+ declare const _default$43: Dep;
558
558
  //#endregion
559
559
  //#region temp/packages/editor/src/services/editor.d.ts
560
560
  declare class Editor extends BaseService {
561
561
  state: StoreState;
562
562
  private selectionBeforeOp;
563
+ /**
564
+ * 操作前的节点校验错误快照,与 selectionBeforeOp 同时在 captureSelectionBeforeOp 中捕获,
565
+ * 供 pushOpHistory 写入 step.extra.invalidNodeIdsBefore,用于撤销时还原到「操作前」的错误状态。
566
+ */
567
+ private invalidNodeIdsBeforeOp;
563
568
  /**
564
569
  * 最近一次 pushOpHistory 写入的历史记录 uuid。
565
570
  * 供 *AndGetHistoryId 系列方法在调用普通操作后取回本次产生的历史记录 id;
@@ -569,7 +574,7 @@ declare class Editor extends BaseService {
569
574
  constructor();
570
575
  /**
571
576
  * 设置当前指点节点配置
572
- * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength
577
+ * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'invalidNodeIds' | 'pageLength' | 'pageFragmentLength
573
578
  * @param value MNode
574
579
  * @param options.historySource 设置 root 时,本次变更写入历史记录的「操作来源」(仅 name === 'root' 时生效)
575
580
  */
@@ -578,7 +583,7 @@ declare class Editor extends BaseService {
578
583
  }): void;
579
584
  /**
580
585
  * 获取当前指点节点配置
581
- * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'pageLength' | 'pageFragmentLength'
586
+ * @param name 'root' | 'page' | 'parent' | 'node' | 'highlightNode' | 'nodes' | 'stage' | 'modifiedNodeIds' | 'invalidNodeIds' | 'pageLength' | 'pageFragmentLength'
582
587
  * @returns MNode
583
588
  */
584
589
  get<K extends StoreStateKey>(name: K): StoreState[K];
@@ -699,6 +704,15 @@ declare class Editor extends BaseService {
699
704
  doNotPushHistory?: boolean;
700
705
  historyDescription?: string;
701
706
  historySource?: HistoryOpSource;
707
+ /**
708
+ * 属性面板提交时携带的校验错误信息,在写入历史记录之前落库,
709
+ * 使历史快照与本次变更对齐,从而 undo/redo 能正确还原错误标记。
710
+ */
711
+ invalidInfo?: {
712
+ id: Id;
713
+ source: NodeInvalidSource;
714
+ error?: string;
715
+ };
702
716
  }): Promise<MNode | MNode[]>;
703
717
  /**
704
718
  * 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
@@ -876,10 +890,39 @@ declare class Editor extends BaseService {
876
890
  resetState(): void;
877
891
  destroy(): void;
878
892
  resetModifiedNodeId(): void;
893
+ /**
894
+ * 记录(或覆盖)某个节点在指定来源(属性表单 / 样式表单)上的校验错误信息。
895
+ * @param id 节点 id
896
+ * @param source 错误来源:'props'(属性表单)| 'style'(样式表单)
897
+ * @param message 错误文案(可能是包含 <br> 的 HTML)
898
+ */
899
+ setInvalidNode(id: Id, source: NodeInvalidSource, message: string): void;
900
+ /**
901
+ * 删除节点的校验错误记录。
902
+ * @param id 节点 id
903
+ * @param source 指定来源则仅删除该来源;不传则删除该节点全部来源的错误
904
+ */
905
+ deleteInvalidNode(id: Id, source?: NodeInvalidSource): void;
906
+ /** 获取当前存在校验错误的节点错误 Map(key 为节点 id) */
907
+ getInvalidNodeIds(): Map<Id, NodeInvalidInfo>;
908
+ /** 获取指定节点的校验错误信息 */
909
+ getInvalidNodeInfo(id: Id): NodeInvalidInfo | undefined;
910
+ /** 清空全部校验错误记录 */
911
+ resetInvalidNodeId(): void;
879
912
  usePlugin(options: AsyncHookPlugin<AsyncMethodName, Editor>): void;
880
913
  on<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
881
914
  once<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, listener: (...args: Param) => void | Promise<void>): this;
882
915
  emit<Name extends keyof EditorEvents, Param extends EditorEvents[Name]>(eventName: Name, ...args: Param): boolean;
916
+ /**
917
+ * 应用一次属性面板提交携带的校验错误信息(在写入历史记录之前调用,使历史快照与本次变更对齐)。
918
+ * - invalidInfo 为空(调用方未携带):认为本次更新对应的节点已无校验错误,清除其全部来源的错误;
919
+ * - error 非空则记录错误,为空则清除对应来源的错误。
920
+ */
921
+ private applyInvalidInfo;
922
+ /** 删除被移除节点(含其子树)的校验错误记录,避免残留误报 */
923
+ private removeInvalidNodesBySubtree;
924
+ /** 清理不在当前 DSL 中的失效节点错误记录(用于整体替换 root 后) */
925
+ private pruneInvalidNodeIds;
883
926
  private addModifiedNodeId;
884
927
  /**
885
928
  * 获取指定节点所属的页面 / 页面片:
@@ -925,7 +968,7 @@ declare class Editor extends BaseService {
925
968
  private selectedConfigExceptionHandler;
926
969
  }
927
970
  type EditorService = Editor;
928
- declare const _default$43: Editor;
971
+ declare const _default$44: Editor;
929
972
  //#endregion
930
973
  //#region temp/packages/editor/src/services/events.d.ts
931
974
  declare const canUsePluginMethods$6: {
@@ -947,7 +990,7 @@ declare class Events extends BaseService {
947
990
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, Events> & SyncHookPlugin<SyncMethodName$4, Events>): void;
948
991
  }
949
992
  type EventsService = Events;
950
- declare const _default$44: Events;
993
+ declare const _default$45: Events;
951
994
  //#endregion
952
995
  //#region temp/packages/editor/src/utils/undo-redo.d.ts
953
996
  /**
@@ -1263,7 +1306,7 @@ declare class History extends BaseService {
1263
1306
  private resolveDbName;
1264
1307
  }
1265
1308
  type HistoryService = History;
1266
- declare const _default$45: History;
1309
+ declare const _default$46: History;
1267
1310
  //#endregion
1268
1311
  //#region temp/packages/editor/src/services/keybinding.d.ts
1269
1312
  declare class Keybinding extends BaseService {
@@ -1302,7 +1345,7 @@ declare class Keybinding extends BaseService {
1302
1345
  private getKeyconKeys;
1303
1346
  }
1304
1347
  type KeybindingService = Keybinding;
1305
- declare const _default$46: Keybinding;
1348
+ declare const _default$47: Keybinding;
1306
1349
  //#endregion
1307
1350
  //#region temp/packages/editor/src/services/props.d.ts
1308
1351
  declare const canUsePluginMethods$4: {
@@ -1402,7 +1445,7 @@ declare class Props extends BaseService {
1402
1445
  private setRelateId;
1403
1446
  }
1404
1447
  type PropsService = Props;
1405
- declare const _default$48: Props;
1448
+ declare const _default$49: Props;
1406
1449
  //#endregion
1407
1450
  //#region temp/packages/editor/src/services/stageOverlay.d.ts
1408
1451
  declare const canUsePluginMethods$3: {
@@ -1429,7 +1472,7 @@ declare class StageOverlay extends BaseService {
1429
1472
  private updateSelectStatus;
1430
1473
  }
1431
1474
  type StageOverlayService = StageOverlay;
1432
- declare const _default$49: StageOverlay;
1475
+ declare const _default$50: StageOverlay;
1433
1476
  //#endregion
1434
1477
  //#region temp/packages/editor/src/services/storage.d.ts
1435
1478
  interface Options$1 {
@@ -1492,7 +1535,7 @@ declare class WebStorage extends BaseService {
1492
1535
  private getValueAndProtocol;
1493
1536
  }
1494
1537
  type StorageService = WebStorage;
1495
- declare const _default$50: WebStorage;
1538
+ declare const _default$51: WebStorage;
1496
1539
  //#endregion
1497
1540
  //#region temp/packages/editor/src/services/ui.d.ts
1498
1541
  declare const canUsePluginMethods$1: {
@@ -1512,7 +1555,7 @@ declare class Ui extends BaseService {
1512
1555
  private setStageRect;
1513
1556
  }
1514
1557
  type UiService = Ui;
1515
- declare const _default$51: Ui;
1558
+ declare const _default$52: Ui;
1516
1559
  //#endregion
1517
1560
  //#region temp/packages/editor/src/type.d.ts
1518
1561
  type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
@@ -1533,7 +1576,7 @@ interface FrameworkSlots {
1533
1576
  empty(props: {}): any;
1534
1577
  workspace(props: {}): any;
1535
1578
  'props-panel'(props: {}): any;
1536
- 'footer'(props: {}): any;
1579
+ footer(props: {}): any;
1537
1580
  'page-bar'(props: {}): any;
1538
1581
  'page-bar-add-button'(props: {}): any;
1539
1582
  'page-bar-title'(props: {
@@ -1665,6 +1708,20 @@ interface StageOptions {
1665
1708
  /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */
1666
1709
  beforeDblclick?: (event: MouseEvent) => Promise<boolean | void> | boolean | void;
1667
1710
  }
1711
+ /**
1712
+ * 节点校验错误信息,按来源(属性表单 / 样式表单)分别保存错误文案。
1713
+ * 属性表单与样式表单是两个独立的 FormPanel,均指向同一节点,故以来源为键,
1714
+ * 避免某个面板校验通过时误清另一个面板记录的错误。
1715
+ * 节点视为存在错误当且仅当任一来源存在非空文本。
1716
+ */
1717
+ interface NodeInvalidInfo {
1718
+ /** 属性表单校验错误文案(可能为包含 <br> 的 HTML) */
1719
+ props?: string;
1720
+ /** 样式表单校验错误文案(可能为包含 <br> 的 HTML) */
1721
+ style?: string;
1722
+ }
1723
+ /** 节点校验错误来源 */
1724
+ type NodeInvalidSource = keyof NodeInvalidInfo;
1668
1725
  interface StoreState {
1669
1726
  root: MApp | null;
1670
1727
  page: MPage | MPageFragment | null;
@@ -1675,6 +1732,8 @@ interface StoreState {
1675
1732
  stage: StageCore$1 | null;
1676
1733
  stageLoading: boolean;
1677
1734
  modifiedNodeIds: Map<Id, Id>;
1735
+ /** 校验失败的节点错误信息,按节点 id 存储,供组件树标记与保存拦截读取 */
1736
+ invalidNodeIds: Map<Id, NodeInvalidInfo>;
1678
1737
  pageLength: number;
1679
1738
  pageFragmentLength: number;
1680
1739
  disabledMultiSelect: boolean;
@@ -1741,6 +1800,12 @@ interface UiState {
1741
1800
  stageRect: StageRect;
1742
1801
  /** 编辑器列布局每一列的宽度,分为左中右三列 */
1743
1802
  columnWidth: GetColumnWidth;
1803
+ /** 编辑器列布局左侧列最小宽度 */
1804
+ minLeftColumnWidth: number;
1805
+ /** 编辑器列布局中间列最小宽度 */
1806
+ minCenterColumnWidth: number;
1807
+ /** 编辑器列布局右侧列最小宽度 */
1808
+ minRightColumnWidth: number;
1744
1809
  /** 是否显示画布参考线,true: 显示,false: 不显示,默认为true */
1745
1810
  showGuides: boolean;
1746
1811
  /** 画布上是否存在参考线 */
@@ -2172,6 +2237,10 @@ interface StepExtra {
2172
2237
  selectedAfter?: Id[];
2173
2238
  /** 本次操作涉及的节点 id 集合(page 类型) */
2174
2239
  modifiedNodeIds?: Map<Id, Id>;
2240
+ /** 操作前的节点校验错误快照,撤销后还原(使撤销一个「校验失败」的改动后错误消失) */
2241
+ invalidNodeIdsBefore?: Map<Id, NodeInvalidInfo>;
2242
+ /** 操作后的节点校验错误快照,重做后还原(使重做后错误恢复) */
2243
+ invalidNodeIdsAfter?: Map<Id, NodeInvalidInfo>;
2175
2244
  [key: string]: any;
2176
2245
  }
2177
2246
  /**
@@ -2452,7 +2521,20 @@ interface PageBarSortOptions extends PartSortableOptions {
2452
2521
  /** 在onStart之前调用 */
2453
2522
  beforeStart?: (event: SortableEvent, sortable: Sortable) => void | Promise<void>;
2454
2523
  }
2455
- type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: 'layer' | 'data-source' | 'viewer' | 'code-block') => (MenuButton | MenuComponent)[];
2524
+ /**
2525
+ * 右键菜单当前目标(侧栏树节点等)。
2526
+ * 数据源 / 代码块面板通过 `customContentMenu` 的 `getTarget` 暴露,业务在 handler 内自行读取。
2527
+ */
2528
+ interface ContentMenuTarget {
2529
+ /** 目标 ID */
2530
+ id: string;
2531
+ /** 原始节点数据(树节点等) */
2532
+ data?: TreeNodeData;
2533
+ }
2534
+ type ContentMenuType = 'layer' | 'data-source' | 'viewer' | 'code-block';
2535
+ type CustomContentMenuFunction = (menus: (MenuButton | MenuComponent)[], type: ContentMenuType, /** 读取当前右键目标;数据源 / 代码块面板会传入,图层 / 画布一般不需要 */
2536
+
2537
+ getTarget?: () => ContentMenuTarget | null) => (MenuButton | MenuComponent)[];
2456
2538
  interface EditorEvents {
2457
2539
  'root-change': [value: StoreState['root'], preValue?: StoreState['root'], options?: {
2458
2540
  historySource?: HistoryOpSource;
@@ -2479,6 +2561,8 @@ interface EditorEvents {
2479
2561
  * add / remove / update 触发本事件;如需区分「用户操作」与「撤销重做」请配合 `history-change`。
2480
2562
  */
2481
2563
  change: [event: EditorChangeEvent];
2564
+ /** 节点校验错误状态发生变化时触发,携带当前完整的错误 Map(供非响应式消费方订阅) */
2565
+ 'invalid-node-change': [invalidNodeIds: Map<Id, NodeInvalidInfo>];
2482
2566
  }
2483
2567
  /** `change` 事件中单个变更项:变更的 node 及其所属的 page(可能为 null)。 */
2484
2568
  interface EditorChangeItem {
@@ -2588,6 +2672,14 @@ interface DiffDialogPayload {
2588
2672
  targetLabel?: string;
2589
2673
  /** 用于标题展示的目标 id */
2590
2674
  id?: string | number;
2675
+ /**
2676
+ * 指定打开时的初始对比模式:
2677
+ * - before:该步骤修改前 vs 修改后
2678
+ * - current:该步骤修改后 vs 当前最新值
2679
+ * 不传时按是否存在「修改后的值」/「当前值」自动推断。
2680
+ * 若指定的模式当前不可用(对应数据缺失),将回退到自动推断结果。
2681
+ */
2682
+ mode?: 'before' | 'current';
2591
2683
  }
2592
2684
  /**
2593
2685
  * 一组「描述 + 可操作性」的判定函数集合。页面 / 数据源 / 代码块及业务自定义历史
@@ -2641,6 +2733,12 @@ interface UseHistoryRevertOptions {
2641
2733
  * 以保证两处 filterFunction 读取到一致的运行态上下文。
2642
2734
  */
2643
2735
  getPropsPanelFormState?: () => FormState | undefined;
2736
+ /**
2737
+ * 内置页面 / 数据源 / 代码块的差异 / 回滚确认弹窗默认宽度(透传给 TMagicDialog 的 `width`),
2738
+ * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
2739
+ * 业务自有历史(`viewDiff` / `confirmAndRevert`)可在调用时通过各自入参的 `width` 单独覆盖。
2740
+ */
2741
+ dialogWidth?: string;
2644
2742
  }
2645
2743
  /**
2646
2744
  * 业务自有历史(如管理台「模块」)做差异对比时所需的额外渲染入参。
@@ -2660,6 +2758,16 @@ interface CustomDiffFormOptions {
2660
2758
  * 对比弹窗会用它覆盖 CompareForm 中同名扩展字段,避免上下文不一致。
2661
2759
  */
2662
2760
  compareFormState?: FormState;
2761
+ /**
2762
+ * 差异 / 确认回滚弹窗宽度(透传给 HistoryDiffDialog 的 TMagicDialog `width`),
2763
+ * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
2764
+ */
2765
+ width?: string;
2766
+ /**
2767
+ * 差异 / 确认回滚弹窗内 form 表单的尺寸(透传给 CompareForm 的 `size`),
2768
+ * 可选 `'large' | 'default' | 'small'`,缺省时使用表单内置默认尺寸。
2769
+ */
2770
+ size?: FieldSize;
2663
2771
  }
2664
2772
  /**
2665
2773
  * 业务自有历史复用「单步回滚」交互({@link useHistoryRevert} 的 `confirmAndRevert`)的入参。
@@ -2842,6 +2950,15 @@ declare const numberOptions: {
2842
2950
  text: string;
2843
2951
  value: string;
2844
2952
  }[];
2953
+ declare const booleanOptions: {
2954
+ text: string;
2955
+ value: string;
2956
+ }[];
2957
+ /** 按字段类型返回条件运算符选项(UI 与 typeMatch 校验共用) */
2958
+ declare const getCondOpOptionsByFieldType: (type: string) => {
2959
+ text: string;
2960
+ value: string;
2961
+ }[];
2845
2962
  declare const styleTabConfig: TabPaneConfig;
2846
2963
  declare const eventTabConfig: TabPaneConfig;
2847
2964
  declare const advancedTabConfig: TabPaneConfig;
@@ -2860,6 +2977,70 @@ declare const fillConfig: (config?: FormConfig, {
2860
2977
  disabledDataSource?: boolean;
2861
2978
  disabledCodeBlock?: boolean;
2862
2979
  }) => FormConfig;
2980
+ /**
2981
+ * validatePropsForm 参数
2982
+ */
2983
+ interface ValidatePropsFormOptions {
2984
+ /** 组件属性表单配置 */
2985
+ config: FormConfig;
2986
+ /** 待校验的表单值 */
2987
+ values: FormValue;
2988
+ /**
2989
+ * 当前组件实例的 appContext(通常为 `getCurrentInstance()?.appContext`)。
2990
+ * 会与 services 一并合入临时 MForm 的 appContext,使编辑器字段组件(DataSourceInput 等)能正常 inject。
2991
+ */
2992
+ appContext?: AppContext | null;
2993
+ /** 编辑器服务集合,注入到临时表单的 formState */
2994
+ services?: Services;
2995
+ /** stage 实例,注入到临时表单的 formState */
2996
+ stage?: any;
2997
+ /** 外部扩展的 formState */
2998
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2999
+ /**
3000
+ * 调试模式,默认 `true`:以弹层形式可见地渲染表单,点击「确定」才触发校验。
3001
+ * 置为 `false` 时静默挂载后自动校验。
3002
+ */
3003
+ debug?: boolean;
3004
+ typeMatchValid?: boolean;
3005
+ }
3006
+ /**
3007
+ * 对一份「组件属性表单配置 + 值」做一次独立的校验,**不复用也不污染页面上正在展示的表单**。
3008
+ *
3009
+ * 内部基于 `@tmagic/form` 的 `validateForm` 另建一个独立的 MForm 实例完成校验,并统一处理
3010
+ * 编辑器场景所需的上下文注入:将当前组件实例的 provides 合入 appContext,并向 formState 注入
3011
+ * stage / services 及外部扩展状态,保证校验规则依赖的上下文可用。
3012
+ *
3013
+ * 常用于源码编辑器保存后,对最新配置做一次校验,并将校验结果(错误信息)随提交一并抛给上层记录,
3014
+ * 使源码保存的错误状态与表单编辑保持一致。
3015
+ *
3016
+ * @returns 校验通过返回空字符串 `''`,否则返回以 `<br>` 拼接的错误文案。
3017
+ * 仅在初始化超时或挂载失败等异常情况下才会 reject。
3018
+ *
3019
+ * @example
3020
+ * ```ts
3021
+ * const error = await validatePropsForm({
3022
+ * config,
3023
+ * values,
3024
+ * appContext: getCurrentInstance()?.appContext,
3025
+ * services,
3026
+ * stage: editorService.get('stage'),
3027
+ * extendState,
3028
+ * });
3029
+ * if (error) {
3030
+ * // 配置不合法,error 为错误文案
3031
+ * }
3032
+ * ```
3033
+ */
3034
+ declare const validatePropsForm: ({
3035
+ config,
3036
+ values,
3037
+ appContext,
3038
+ services,
3039
+ stage,
3040
+ extendState,
3041
+ debug,
3042
+ typeMatchValid
3043
+ }: ValidatePropsFormOptions) => Promise<string>;
2863
3044
  //#endregion
2864
3045
  //#region temp/packages/editor/src/utils/code-block.d.ts
2865
3046
  /**
@@ -2908,7 +3089,7 @@ declare const getCodeBlockFormConfig: (options?: GetCodeBlockFormConfigOptions)
2908
3089
  declare const log: (...args: any[]) => void;
2909
3090
  declare const info: (...args: any[]) => void;
2910
3091
  declare const warn: (...args: any[]) => void;
2911
- declare const debug: (...args: any[]) => void;
3092
+ declare const debug$1: (...args: any[]) => void;
2912
3093
  declare const error: (...args: any[]) => void;
2913
3094
  //#endregion
2914
3095
  //#region temp/packages/editor/src/utils/editor.d.ts
@@ -3072,7 +3253,18 @@ declare const getDisplayField: (dataSources: DataSourceSchema[], key: string) =>
3072
3253
  type: "var" | "text";
3073
3254
  }[];
3074
3255
  declare const getCascaderOptionsFromFields: (fields?: DataSchema[], dataSourceFieldType?: DataSourceFieldType[]) => CascaderOption[];
3075
- declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => string;
3256
+ /**
3257
+ * 按字段名路径下钻 DataSchema。
3258
+ * @param skipNumberIndices 为 true 时跳过数字段(模板路径中的数组下标,如 arr[0].x)
3259
+ */
3260
+ declare const resolveFieldByPath: (fields: DataSchema[] | undefined, fieldNames: string[], options?: {
3261
+ skipNumberIndices?: boolean;
3262
+ }) => {
3263
+ ok: boolean;
3264
+ field?: DataSchema;
3265
+ fields: DataSchema[];
3266
+ };
3267
+ declare const getFieldType: (ds: DataSourceSchema | undefined, fieldNames: string[]) => "" | DataSourceFieldType;
3076
3268
  //#endregion
3077
3269
  //#region temp/packages/editor/src/utils/dep/idle-task.d.ts
3078
3270
  interface IdleTaskEvents {
@@ -3264,8 +3456,56 @@ declare const MIN_RIGHT_COLUMN_WIDTH = 300;
3264
3456
  declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
3265
3457
  declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
3266
3458
  //#endregion
3459
+ //#region temp/packages/editor/src/utils/type-match-rules.d.ts
3460
+ declare const ALL_COND_OPS: Set<string>;
3461
+ declare const editorTypeMatchRules: Record<string, TypeMatchValidator>;
3462
+ //#endregion
3463
+ //#region temp/packages/editor/src/utils/event.d.ts
3464
+ declare const EVENT_NAME_VALUE_SEPARATOR = ".";
3465
+ type EventNameSelectOption = {
3466
+ text: string;
3467
+ value: string;
3468
+ };
3469
+ type EventNameOption = EventOption | CascaderOption | EventNameSelectOption;
3470
+ /** 与 EventSelect 中 checkStrictly 一致:component 为 false,其余为 true */
3471
+ declare const isEventNameCheckStrictly: (src?: string) => boolean;
3472
+ /** 将动作 method 值规范为与 collectEventNameOptionValues 一致的字符串(cascader 无 valueSeparator 时存数组) */
3473
+ declare const normalizeCompActionValue: (value: unknown) => string;
3474
+ /**
3475
+ * 组装事件名称下拉/级联 options,与 EventSelect 默认 eventNameConfig.options 逻辑一致。
3476
+ */
3477
+ declare const getEventNameOptions: (src: string | undefined, formValue?: Record<string, any>) => EventNameOption[];
3478
+ /** 将 select / cascader options 展平为最终写入 name 的字符串集合(cascader 用 `.` 拼接) */
3479
+ declare const collectEventNameOptionValues: (options: EventNameOption[], checkStrictly: boolean, prefix?: any[], result?: Set<string>) => Set<string>;
3480
+ /**
3481
+ * 解析 event-select 允许的 name 集合。
3482
+ * 自定义 eventNameConfig.options 时返回 null(跳过枚举校验)。
3483
+ */
3484
+ declare const getEventNameAllowedValues: (config?: {
3485
+ src?: string;
3486
+ eventNameConfig?: {
3487
+ options?: unknown;
3488
+ };
3489
+ }, formValue?: Record<string, any>) => Set<string> | null;
3490
+ /**
3491
+ * 组装联动组件动作下拉/级联 options,与 EventSelect 默认 compActionConfig.options 逻辑一致。
3492
+ */
3493
+ declare const getCompActionOptions: (toId?: Id) => EventNameOption[];
3494
+ /**
3495
+ * 解析 event-select 联动组件动作允许的 method 集合。
3496
+ * 自定义 compActionConfig.options 时返回 null(跳过枚举校验)。
3497
+ */
3498
+ declare const getCompActionAllowedValues: (config?: {
3499
+ src?: string;
3500
+ compActionConfig?: {
3501
+ options?: unknown;
3502
+ };
3503
+ }, model?: {
3504
+ to?: Id;
3505
+ }) => Set<string> | null;
3506
+ //#endregion
3267
3507
  //#region temp/packages/editor/src/utils/monaco-editor.d.ts
3268
- declare const _default$47: () => Promise<typeof import("monaco-editor")>;
3508
+ declare const _default$48: () => Promise<typeof import("monaco-editor")>;
3269
3509
  //#endregion
3270
3510
  //#region temp/packages/form/src/schema.d.ts
3271
3511
  interface ChangeRecord$1 {
@@ -3368,6 +3608,11 @@ interface EditorProps {
3368
3608
  disabledFlashTip?: boolean;
3369
3609
  /** 禁用双击在浮层中单独编辑选中组件 */
3370
3610
  disabledStageOverlay?: boolean;
3611
+ /**
3612
+ * 是否启用「属性配置表单校验」联动能力:开启后属性/样式表单校验失败时仍更新节点,
3613
+ * 并把错误信息集中记录到 editorService,用于组件树标红提示与保存拦截;默认 false(关闭)。
3614
+ */
3615
+ enablePropsFormValidate?: boolean;
3371
3616
  /** 禁用属性配置面板右下角显示源码的按钮 */
3372
3617
  disabledShowSrc?: boolean;
3373
3618
  /** 禁用数据源 */
@@ -3431,7 +3676,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3431
3676
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3432
3677
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3433
3678
  readonly onUnmounted?: (() => any) | undefined;
3434
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3679
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3435
3680
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3436
3681
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3437
3682
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3445,7 +3690,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3445
3690
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3446
3691
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3447
3692
  $host: Element | null;
3448
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3693
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3449
3694
  $el: any;
3450
3695
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3451
3696
  config: import("@tmagic/form-schema").FormConfig;
@@ -3458,7 +3703,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3458
3703
  }> & Readonly<{
3459
3704
  onMounted?: ((internalInstance: any) => any) | undefined;
3460
3705
  onUnmounted?: (() => any) | undefined;
3461
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3706
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3462
3707
  "onSubmit-error"?: ((e: any) => any) | undefined;
3463
3708
  "onForm-error"?: ((e: any) => any) | undefined;
3464
3709
  }>, {
@@ -3472,6 +3717,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3472
3717
  readonly isCompare?: boolean | undefined;
3473
3718
  readonly parentValues?: Record<string, any> | undefined;
3474
3719
  readonly labelWidth?: string | undefined;
3720
+ readonly typeMatchValid?: boolean | undefined;
3475
3721
  readonly disabled?: boolean | undefined;
3476
3722
  readonly height?: string | undefined;
3477
3723
  readonly stepActive?: string | number | undefined;
@@ -3514,6 +3760,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3514
3760
  isCompare?: boolean;
3515
3761
  parentValues?: Record<string, any>;
3516
3762
  labelWidth?: string;
3763
+ typeMatchValid?: boolean;
3517
3764
  disabled?: boolean;
3518
3765
  height?: string;
3519
3766
  stepActive?: string | number;
@@ -3546,6 +3793,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3546
3793
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3547
3794
  resetForm: () => void;
3548
3795
  submitForm: (native?: boolean) => Promise<any>;
3796
+ validate: () => Promise<string>;
3549
3797
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3550
3798
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3551
3799
  error: (...args: any[]) => void;
@@ -3608,6 +3856,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3608
3856
  isCompare?: boolean;
3609
3857
  parentValues?: Record<string, any>;
3610
3858
  labelWidth?: string;
3859
+ typeMatchValid?: boolean;
3611
3860
  disabled?: boolean;
3612
3861
  height?: string;
3613
3862
  stepActive?: string | number;
@@ -3631,7 +3880,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3631
3880
  "onField-input"?: ((...args: any[]) => any) | undefined;
3632
3881
  "onField-change"?: ((...args: any[]) => any) | undefined;
3633
3882
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3634
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3883
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3635
3884
  values: import("@tmagic/form-schema").FormValue;
3636
3885
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3637
3886
  formState: import("@tmagic/form-schema").FormState;
@@ -3640,6 +3889,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3640
3889
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3641
3890
  resetForm: () => void;
3642
3891
  submitForm: (native?: boolean) => Promise<any>;
3892
+ validate: () => Promise<string>;
3643
3893
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3644
3894
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3645
3895
  $slots: FormSlots;
@@ -3648,7 +3898,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3648
3898
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3649
3899
  mounted: (internalInstance: any) => any;
3650
3900
  unmounted: () => any;
3651
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
3901
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
3652
3902
  "submit-error": (e: any) => any;
3653
3903
  "form-error": (e: any) => any;
3654
3904
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -3682,7 +3932,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3682
3932
  }> & Readonly<{
3683
3933
  onMounted?: ((internalInstance: any) => any) | undefined;
3684
3934
  onUnmounted?: (() => any) | undefined;
3685
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3935
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3686
3936
  "onSubmit-error"?: ((e: any) => any) | undefined;
3687
3937
  "onForm-error"?: ((e: any) => any) | undefined;
3688
3938
  }>, "submit" | "configForm"> & {
@@ -3696,6 +3946,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3696
3946
  readonly isCompare?: boolean | undefined;
3697
3947
  readonly parentValues?: Record<string, any> | undefined;
3698
3948
  readonly labelWidth?: string | undefined;
3949
+ readonly typeMatchValid?: boolean | undefined;
3699
3950
  readonly disabled?: boolean | undefined;
3700
3951
  readonly height?: string | undefined;
3701
3952
  readonly stepActive?: string | number | undefined;
@@ -3738,6 +3989,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3738
3989
  isCompare?: boolean;
3739
3990
  parentValues?: Record<string, any>;
3740
3991
  labelWidth?: string;
3992
+ typeMatchValid?: boolean;
3741
3993
  disabled?: boolean;
3742
3994
  height?: string;
3743
3995
  stepActive?: string | number;
@@ -3770,6 +4022,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3770
4022
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3771
4023
  resetForm: () => void;
3772
4024
  submitForm: (native?: boolean) => Promise<any>;
4025
+ validate: () => Promise<string>;
3773
4026
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3774
4027
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3775
4028
  error: (...args: any[]) => void;
@@ -3832,6 +4085,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3832
4085
  isCompare?: boolean;
3833
4086
  parentValues?: Record<string, any>;
3834
4087
  labelWidth?: string;
4088
+ typeMatchValid?: boolean;
3835
4089
  disabled?: boolean;
3836
4090
  height?: string;
3837
4091
  stepActive?: string | number;
@@ -3855,7 +4109,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3855
4109
  "onField-input"?: ((...args: any[]) => any) | undefined;
3856
4110
  "onField-change"?: ((...args: any[]) => any) | undefined;
3857
4111
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3858
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4112
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
3859
4113
  values: import("@tmagic/form-schema").FormValue;
3860
4114
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3861
4115
  formState: import("@tmagic/form-schema").FormState;
@@ -3864,6 +4118,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3864
4118
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3865
4119
  resetForm: () => void;
3866
4120
  submitForm: (native?: boolean) => Promise<any>;
4121
+ validate: () => Promise<string>;
3867
4122
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3868
4123
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3869
4124
  $slots: FormSlots;
@@ -3893,7 +4148,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3893
4148
  readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3894
4149
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3895
4150
  readonly onUnmounted?: (() => any) | undefined;
3896
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4151
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3897
4152
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
3898
4153
  readonly "onForm-error"?: ((e: any) => any) | undefined;
3899
4154
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -3907,7 +4162,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3907
4162
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3908
4163
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3909
4164
  $host: Element | null;
3910
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
4165
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
3911
4166
  $el: any;
3912
4167
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3913
4168
  config: import("@tmagic/form-schema").FormConfig;
@@ -3920,7 +4175,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3920
4175
  }> & Readonly<{
3921
4176
  onMounted?: ((internalInstance: any) => any) | undefined;
3922
4177
  onUnmounted?: (() => any) | undefined;
3923
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4178
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3924
4179
  "onSubmit-error"?: ((e: any) => any) | undefined;
3925
4180
  "onForm-error"?: ((e: any) => any) | undefined;
3926
4181
  }>, {
@@ -3934,6 +4189,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3934
4189
  readonly isCompare?: boolean | undefined;
3935
4190
  readonly parentValues?: Record<string, any> | undefined;
3936
4191
  readonly labelWidth?: string | undefined;
4192
+ readonly typeMatchValid?: boolean | undefined;
3937
4193
  readonly disabled?: boolean | undefined;
3938
4194
  readonly height?: string | undefined;
3939
4195
  readonly stepActive?: string | number | undefined;
@@ -3976,6 +4232,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3976
4232
  isCompare?: boolean;
3977
4233
  parentValues?: Record<string, any>;
3978
4234
  labelWidth?: string;
4235
+ typeMatchValid?: boolean;
3979
4236
  disabled?: boolean;
3980
4237
  height?: string;
3981
4238
  stepActive?: string | number;
@@ -4008,6 +4265,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4008
4265
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4009
4266
  resetForm: () => void;
4010
4267
  submitForm: (native?: boolean) => Promise<any>;
4268
+ validate: () => Promise<string>;
4011
4269
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4012
4270
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4013
4271
  error: (...args: any[]) => void;
@@ -4070,6 +4328,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4070
4328
  isCompare?: boolean;
4071
4329
  parentValues?: Record<string, any>;
4072
4330
  labelWidth?: string;
4331
+ typeMatchValid?: boolean;
4073
4332
  disabled?: boolean;
4074
4333
  height?: string;
4075
4334
  stepActive?: string | number;
@@ -4093,7 +4352,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4093
4352
  "onField-input"?: ((...args: any[]) => any) | undefined;
4094
4353
  "onField-change"?: ((...args: any[]) => any) | undefined;
4095
4354
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4096
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4355
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4097
4356
  values: import("@tmagic/form-schema").FormValue;
4098
4357
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4099
4358
  formState: import("@tmagic/form-schema").FormState;
@@ -4102,6 +4361,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4102
4361
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4103
4362
  resetForm: () => void;
4104
4363
  submitForm: (native?: boolean) => Promise<any>;
4364
+ validate: () => Promise<string>;
4105
4365
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4106
4366
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4107
4367
  $slots: FormSlots;
@@ -4110,7 +4370,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4110
4370
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4111
4371
  mounted: (internalInstance: any) => any;
4112
4372
  unmounted: () => any;
4113
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
4373
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any;
4114
4374
  "submit-error": (e: any) => any;
4115
4375
  "form-error": (e: any) => any;
4116
4376
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4144,7 +4404,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4144
4404
  }> & Readonly<{
4145
4405
  onMounted?: ((internalInstance: any) => any) | undefined;
4146
4406
  onUnmounted?: (() => any) | undefined;
4147
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
4407
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4148
4408
  "onSubmit-error"?: ((e: any) => any) | undefined;
4149
4409
  "onForm-error"?: ((e: any) => any) | undefined;
4150
4410
  }>, "submit" | "configForm"> & {
@@ -4158,6 +4418,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4158
4418
  readonly isCompare?: boolean | undefined;
4159
4419
  readonly parentValues?: Record<string, any> | undefined;
4160
4420
  readonly labelWidth?: string | undefined;
4421
+ readonly typeMatchValid?: boolean | undefined;
4161
4422
  readonly disabled?: boolean | undefined;
4162
4423
  readonly height?: string | undefined;
4163
4424
  readonly stepActive?: string | number | undefined;
@@ -4200,6 +4461,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4200
4461
  isCompare?: boolean;
4201
4462
  parentValues?: Record<string, any>;
4202
4463
  labelWidth?: string;
4464
+ typeMatchValid?: boolean;
4203
4465
  disabled?: boolean;
4204
4466
  height?: string;
4205
4467
  stepActive?: string | number;
@@ -4232,6 +4494,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4232
4494
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4233
4495
  resetForm: () => void;
4234
4496
  submitForm: (native?: boolean) => Promise<any>;
4497
+ validate: () => Promise<string>;
4235
4498
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4236
4499
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4237
4500
  error: (...args: any[]) => void;
@@ -4294,6 +4557,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4294
4557
  isCompare?: boolean;
4295
4558
  parentValues?: Record<string, any>;
4296
4559
  labelWidth?: string;
4560
+ typeMatchValid?: boolean;
4297
4561
  disabled?: boolean;
4298
4562
  height?: string;
4299
4563
  stepActive?: string | number;
@@ -4317,7 +4581,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4317
4581
  "onField-input"?: ((...args: any[]) => any) | undefined;
4318
4582
  "onField-change"?: ((...args: any[]) => any) | undefined;
4319
4583
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4320
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4584
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4321
4585
  values: import("@tmagic/form-schema").FormValue;
4322
4586
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4323
4587
  formState: import("@tmagic/form-schema").FormState;
@@ -4326,6 +4590,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4326
4590
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
4327
4591
  resetForm: () => void;
4328
4592
  submitForm: (native?: boolean) => Promise<any>;
4593
+ validate: () => Promise<string>;
4329
4594
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4330
4595
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4331
4596
  $slots: FormSlots;
@@ -4373,8 +4638,8 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4373
4638
  containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
4374
4639
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
4375
4640
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4376
- declare const __VLS_export$37: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4377
- declare const _default$34: typeof __VLS_export$37;
4641
+ declare const __VLS_export$38: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
4642
+ declare const _default$35: typeof __VLS_export$38;
4378
4643
  type __VLS_WithSlots$12<T, S> = T & {
4379
4644
  new (): {
4380
4645
  $slots: S;
@@ -4382,7 +4647,7 @@ type __VLS_WithSlots$12<T, S> = T & {
4382
4647
  };
4383
4648
  //#endregion
4384
4649
  //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
4385
- type __VLS_Props$32 = {
4650
+ type __VLS_Props$33 = {
4386
4651
  initValues?: any;
4387
4652
  modifiedValues?: any;
4388
4653
  type?: 'diff';
@@ -4398,7 +4663,7 @@ type __VLS_Props$32 = {
4398
4663
  };
4399
4664
  editorCustomType?: string;
4400
4665
  };
4401
- declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {
4666
+ declare const __VLS_export$37: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {
4402
4667
  values: import("@vue/reactivity").Ref<string, string>;
4403
4668
  getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
4404
4669
  getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
@@ -4409,7 +4674,7 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4409
4674
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4410
4675
  save: (...args: any[]) => void;
4411
4676
  initd: (...args: any[]) => void;
4412
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
4677
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
4413
4678
  onSave?: ((...args: any[]) => any) | undefined;
4414
4679
  onInitd?: ((...args: any[]) => any) | undefined;
4415
4680
  }>, {
@@ -4420,13 +4685,13 @@ declare const __VLS_export$36: import("@vue/runtime-core").DefineComponent<__VLS
4420
4685
  autoSave: boolean;
4421
4686
  disabledFullScreen: boolean;
4422
4687
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4423
- declare const _default$33: typeof __VLS_export$36;
4688
+ declare const _default$34: typeof __VLS_export$37;
4424
4689
  //#endregion
4425
4690
  //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
4426
4691
  type __VLS_Slots$11 = ComponentListPanelSlots;
4427
4692
  declare const __VLS_base$11: import("@vue/runtime-core").DefineComponent<{}, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
4428
- declare const __VLS_export$35: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
4429
- declare const _default$6: typeof __VLS_export$35;
4693
+ declare const __VLS_export$36: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
4694
+ declare const _default$6: typeof __VLS_export$36;
4430
4695
  type __VLS_WithSlots$11<T, S> = T & {
4431
4696
  new (): {
4432
4697
  $slots: S;
@@ -4435,7 +4700,7 @@ type __VLS_WithSlots$11<T, S> = T & {
4435
4700
  //#endregion
4436
4701
  //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
4437
4702
  type __VLS_Slots$10 = LayerPanelSlots;
4438
- type __VLS_Props$31 = {
4703
+ type __VLS_Props$32 = {
4439
4704
  layerContentMenu: (MenuButton | MenuComponent)[];
4440
4705
  indent?: number;
4441
4706
  nextLevelIndentIncrement?: number;
@@ -4444,19 +4709,26 @@ type __VLS_Props$31 = {
4444
4709
  canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
4445
4710
  beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
4446
4711
  };
4447
- declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4712
+ declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4448
4713
  "node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
4449
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
4714
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
4450
4715
  "onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
4451
4716
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4452
- declare const __VLS_export$34: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4453
- declare const _default$26: typeof __VLS_export$34;
4717
+ declare const __VLS_export$35: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
4718
+ declare const _default$27: typeof __VLS_export$35;
4454
4719
  type __VLS_WithSlots$10<T, S> = T & {
4455
4720
  new (): {
4456
4721
  $slots: S;
4457
4722
  };
4458
4723
  };
4459
4724
  //#endregion
4725
+ //#region temp/packages/editor/src/layouts/sidebar/layer/LayerNodeContent.vue.d.ts
4726
+ type __VLS_Props$31 = {
4727
+ data: TreeNodeData;
4728
+ };
4729
+ declare const __VLS_export$34: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4730
+ declare const _default$26: typeof __VLS_export$34;
4731
+ //#endregion
4460
4732
  //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
4461
4733
  type __VLS_Props$30 = FieldProps<CodeSelectConfig>;
4462
4734
  declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -4508,11 +4780,9 @@ type __VLS_ModelProps$3 = {
4508
4780
  };
4509
4781
  type __VLS_PublicProps$3 = __VLS_Props$27 & __VLS_ModelProps$3;
4510
4782
  declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4511
- change: (...args: any[]) => void;
4512
- "update:visible": (value: boolean) => void;
4513
- "update:width": (value: number) => void;
4783
+ "update:visible": (value: boolean) => any;
4784
+ "update:width": (value: number) => any;
4514
4785
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_PublicProps$3> & Readonly<{
4515
- onChange?: ((...args: any[]) => any) | undefined;
4516
4786
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
4517
4787
  "onUpdate:width"?: ((value: number) => any) | undefined;
4518
4788
  }>, {
@@ -4713,7 +4983,7 @@ type __VLS_Props$15 = {
4713
4983
  };
4714
4984
  declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
4715
4985
  getFormState(): FormState | undefined;
4716
- submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
4986
+ submit: (v: MNode, eventData?: ContainerChangeEventData, error?: any, source?: NodeInvalidSource) => Promise<void>;
4717
4987
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4718
4988
  mounted: (internalInstance: {
4719
4989
  $: import("@vue/runtime-core").ComponentInternalInstance;
@@ -4728,7 +4998,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4728
4998
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4729
4999
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
4730
5000
  readonly onUnmounted?: (() => any) | undefined;
4731
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5001
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4732
5002
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
4733
5003
  readonly "onForm-error"?: ((e: any) => any) | undefined;
4734
5004
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -4742,7 +5012,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4742
5012
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4743
5013
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4744
5014
  $host: Element | null;
4745
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5015
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
4746
5016
  $el: any;
4747
5017
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4748
5018
  config: import("@tmagic/form-schema").FormConfig;
@@ -4755,7 +5025,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4755
5025
  }> & Readonly<{
4756
5026
  onMounted?: ((internalInstance: any) => any) | undefined;
4757
5027
  onUnmounted?: (() => any) | undefined;
4758
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5028
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4759
5029
  "onSubmit-error"?: ((e: any) => any) | undefined;
4760
5030
  "onForm-error"?: ((e: any) => any) | undefined;
4761
5031
  }>, {
@@ -4769,6 +5039,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4769
5039
  readonly isCompare?: boolean | undefined;
4770
5040
  readonly parentValues?: Record<string, any> | undefined;
4771
5041
  readonly labelWidth?: string | undefined;
5042
+ readonly typeMatchValid?: boolean | undefined;
4772
5043
  readonly disabled?: boolean | undefined;
4773
5044
  readonly height?: string | undefined;
4774
5045
  readonly stepActive?: string | number | undefined;
@@ -4811,6 +5082,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4811
5082
  isCompare?: boolean;
4812
5083
  parentValues?: Record<string, any>;
4813
5084
  labelWidth?: string;
5085
+ typeMatchValid?: boolean;
4814
5086
  disabled?: boolean;
4815
5087
  height?: string;
4816
5088
  stepActive?: string | number;
@@ -4843,6 +5115,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4843
5115
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4844
5116
  resetForm: () => void;
4845
5117
  submitForm: (native?: boolean) => Promise<any>;
5118
+ validate: () => Promise<string>;
4846
5119
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4847
5120
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4848
5121
  error: (...args: any[]) => void;
@@ -4905,6 +5178,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4905
5178
  isCompare?: boolean;
4906
5179
  parentValues?: Record<string, any>;
4907
5180
  labelWidth?: string;
5181
+ typeMatchValid?: boolean;
4908
5182
  disabled?: boolean;
4909
5183
  height?: string;
4910
5184
  stepActive?: string | number;
@@ -4928,7 +5202,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4928
5202
  "onField-input"?: ((...args: any[]) => any) | undefined;
4929
5203
  "onField-change"?: ((...args: any[]) => any) | undefined;
4930
5204
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4931
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5205
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
4932
5206
  values: FormValue;
4933
5207
  lastValuesProcessed: FormValue;
4934
5208
  formState: FormState;
@@ -4937,6 +5211,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4937
5211
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4938
5212
  resetForm: () => void;
4939
5213
  submitForm: (native?: boolean) => Promise<any>;
5214
+ validate: () => Promise<string>;
4940
5215
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4941
5216
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4942
5217
  $slots: FormSlots;
@@ -4945,7 +5220,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4945
5220
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4946
5221
  mounted: (internalInstance: any) => any;
4947
5222
  unmounted: () => any;
4948
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5223
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
4949
5224
  "submit-error": (e: any) => any;
4950
5225
  "form-error": (e: any) => any;
4951
5226
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -4979,7 +5254,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4979
5254
  }> & Readonly<{
4980
5255
  onMounted?: ((internalInstance: any) => any) | undefined;
4981
5256
  onUnmounted?: (() => any) | undefined;
4982
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5257
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
4983
5258
  "onSubmit-error"?: ((e: any) => any) | undefined;
4984
5259
  "onForm-error"?: ((e: any) => any) | undefined;
4985
5260
  }>, "submit" | "configForm"> & {
@@ -4993,6 +5268,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4993
5268
  readonly isCompare?: boolean | undefined;
4994
5269
  readonly parentValues?: Record<string, any> | undefined;
4995
5270
  readonly labelWidth?: string | undefined;
5271
+ readonly typeMatchValid?: boolean | undefined;
4996
5272
  readonly disabled?: boolean | undefined;
4997
5273
  readonly height?: string | undefined;
4998
5274
  readonly stepActive?: string | number | undefined;
@@ -5035,6 +5311,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5035
5311
  isCompare?: boolean;
5036
5312
  parentValues?: Record<string, any>;
5037
5313
  labelWidth?: string;
5314
+ typeMatchValid?: boolean;
5038
5315
  disabled?: boolean;
5039
5316
  height?: string;
5040
5317
  stepActive?: string | number;
@@ -5067,6 +5344,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5067
5344
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5068
5345
  resetForm: () => void;
5069
5346
  submitForm: (native?: boolean) => Promise<any>;
5347
+ validate: () => Promise<string>;
5070
5348
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5071
5349
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5072
5350
  error: (...args: any[]) => void;
@@ -5129,6 +5407,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5129
5407
  isCompare?: boolean;
5130
5408
  parentValues?: Record<string, any>;
5131
5409
  labelWidth?: string;
5410
+ typeMatchValid?: boolean;
5132
5411
  disabled?: boolean;
5133
5412
  height?: string;
5134
5413
  stepActive?: string | number;
@@ -5152,7 +5431,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5152
5431
  "onField-input"?: ((...args: any[]) => any) | undefined;
5153
5432
  "onField-change"?: ((...args: any[]) => any) | undefined;
5154
5433
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5155
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5434
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5156
5435
  values: FormValue;
5157
5436
  lastValuesProcessed: FormValue;
5158
5437
  formState: FormState;
@@ -5161,6 +5440,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5161
5440
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5162
5441
  resetForm: () => void;
5163
5442
  submitForm: (native?: boolean) => Promise<any>;
5443
+ validate: () => Promise<string>;
5164
5444
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5165
5445
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5166
5446
  $slots: FormSlots;
@@ -5188,7 +5468,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5188
5468
  readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5189
5469
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
5190
5470
  readonly onUnmounted?: (() => any) | undefined;
5191
- readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5471
+ readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5192
5472
  readonly "onSubmit-error"?: ((e: any) => any) | undefined;
5193
5473
  readonly "onForm-error"?: ((e: any) => any) | undefined;
5194
5474
  } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
@@ -5202,7 +5482,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5202
5482
  $root: import("@vue/runtime-core").ComponentPublicInstance | null;
5203
5483
  $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
5204
5484
  $host: Element | null;
5205
- $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5485
+ $emit: ((event: "mounted", internalInstance: any) => void) & ((event: "unmounted") => void) & ((event: "submit", values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => void) & ((event: "submit-error", e: any) => void) & ((event: "form-error", e: any) => void);
5206
5486
  $el: any;
5207
5487
  $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
5208
5488
  config: import("@tmagic/form-schema").FormConfig;
@@ -5215,7 +5495,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5215
5495
  }> & Readonly<{
5216
5496
  onMounted?: ((internalInstance: any) => any) | undefined;
5217
5497
  onUnmounted?: (() => any) | undefined;
5218
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5498
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5219
5499
  "onSubmit-error"?: ((e: any) => any) | undefined;
5220
5500
  "onForm-error"?: ((e: any) => any) | undefined;
5221
5501
  }>, {
@@ -5229,6 +5509,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5229
5509
  readonly isCompare?: boolean | undefined;
5230
5510
  readonly parentValues?: Record<string, any> | undefined;
5231
5511
  readonly labelWidth?: string | undefined;
5512
+ readonly typeMatchValid?: boolean | undefined;
5232
5513
  readonly disabled?: boolean | undefined;
5233
5514
  readonly height?: string | undefined;
5234
5515
  readonly stepActive?: string | number | undefined;
@@ -5271,6 +5552,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5271
5552
  isCompare?: boolean;
5272
5553
  parentValues?: Record<string, any>;
5273
5554
  labelWidth?: string;
5555
+ typeMatchValid?: boolean;
5274
5556
  disabled?: boolean;
5275
5557
  height?: string;
5276
5558
  stepActive?: string | number;
@@ -5303,6 +5585,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5303
5585
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5304
5586
  resetForm: () => void;
5305
5587
  submitForm: (native?: boolean) => Promise<any>;
5588
+ validate: () => Promise<string>;
5306
5589
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5307
5590
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5308
5591
  error: (...args: any[]) => void;
@@ -5365,6 +5648,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5365
5648
  isCompare?: boolean;
5366
5649
  parentValues?: Record<string, any>;
5367
5650
  labelWidth?: string;
5651
+ typeMatchValid?: boolean;
5368
5652
  disabled?: boolean;
5369
5653
  height?: string;
5370
5654
  stepActive?: string | number;
@@ -5388,7 +5672,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5388
5672
  "onField-input"?: ((...args: any[]) => any) | undefined;
5389
5673
  "onField-change"?: ((...args: any[]) => any) | undefined;
5390
5674
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5391
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5675
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5392
5676
  values: FormValue;
5393
5677
  lastValuesProcessed: FormValue;
5394
5678
  formState: FormState;
@@ -5397,6 +5681,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5397
5681
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5398
5682
  resetForm: () => void;
5399
5683
  submitForm: (native?: boolean) => Promise<any>;
5684
+ validate: () => Promise<string>;
5400
5685
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5401
5686
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5402
5687
  $slots: FormSlots;
@@ -5405,7 +5690,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5405
5690
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5406
5691
  mounted: (internalInstance: any) => any;
5407
5692
  unmounted: () => any;
5408
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5693
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5409
5694
  "submit-error": (e: any) => any;
5410
5695
  "form-error": (e: any) => any;
5411
5696
  }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
@@ -5439,7 +5724,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5439
5724
  }> & Readonly<{
5440
5725
  onMounted?: ((internalInstance: any) => any) | undefined;
5441
5726
  onUnmounted?: (() => any) | undefined;
5442
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5727
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5443
5728
  "onSubmit-error"?: ((e: any) => any) | undefined;
5444
5729
  "onForm-error"?: ((e: any) => any) | undefined;
5445
5730
  }>, "submit" | "configForm"> & {
@@ -5453,6 +5738,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5453
5738
  readonly isCompare?: boolean | undefined;
5454
5739
  readonly parentValues?: Record<string, any> | undefined;
5455
5740
  readonly labelWidth?: string | undefined;
5741
+ readonly typeMatchValid?: boolean | undefined;
5456
5742
  readonly disabled?: boolean | undefined;
5457
5743
  readonly height?: string | undefined;
5458
5744
  readonly stepActive?: string | number | undefined;
@@ -5495,6 +5781,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5495
5781
  isCompare?: boolean;
5496
5782
  parentValues?: Record<string, any>;
5497
5783
  labelWidth?: string;
5784
+ typeMatchValid?: boolean;
5498
5785
  disabled?: boolean;
5499
5786
  height?: string;
5500
5787
  stepActive?: string | number;
@@ -5527,6 +5814,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5527
5814
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5528
5815
  resetForm: () => void;
5529
5816
  submitForm: (native?: boolean) => Promise<any>;
5817
+ validate: () => Promise<string>;
5530
5818
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5531
5819
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5532
5820
  error: (...args: any[]) => void;
@@ -5589,6 +5877,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5589
5877
  isCompare?: boolean;
5590
5878
  parentValues?: Record<string, any>;
5591
5879
  labelWidth?: string;
5880
+ typeMatchValid?: boolean;
5592
5881
  disabled?: boolean;
5593
5882
  height?: string;
5594
5883
  stepActive?: string | number;
@@ -5612,7 +5901,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5612
5901
  "onField-input"?: ((...args: any[]) => any) | undefined;
5613
5902
  "onField-change"?: ((...args: any[]) => any) | undefined;
5614
5903
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5615
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5904
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5616
5905
  values: FormValue;
5617
5906
  lastValuesProcessed: FormValue;
5618
5907
  formState: FormState;
@@ -5621,6 +5910,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5621
5910
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5622
5911
  resetForm: () => void;
5623
5912
  submitForm: (native?: boolean) => Promise<any>;
5913
+ validate: () => Promise<string>;
5624
5914
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
5625
5915
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5626
5916
  $slots: FormSlots;
@@ -5636,7 +5926,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5636
5926
  "onForm-error"?: ((e: any) => any) | undefined;
5637
5927
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5638
5928
  declare const __VLS_export$18: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
5639
- declare const _default$30: typeof __VLS_export$18;
5929
+ declare const _default$31: typeof __VLS_export$18;
5640
5930
  type __VLS_WithSlots$7<T, S> = T & {
5641
5931
  new (): {
5642
5932
  $slots: S;
@@ -5667,6 +5957,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5667
5957
  readonly isCompare?: boolean | undefined;
5668
5958
  readonly parentValues?: Record<string, any> | undefined;
5669
5959
  readonly labelWidth?: string | undefined;
5960
+ readonly typeMatchValid?: boolean | undefined;
5670
5961
  readonly disabled?: boolean | undefined;
5671
5962
  readonly height?: string | undefined;
5672
5963
  readonly stepActive?: string | number | undefined;
@@ -5709,6 +6000,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5709
6000
  isCompare?: boolean;
5710
6001
  parentValues?: Record<string, any>;
5711
6002
  labelWidth?: string;
6003
+ typeMatchValid?: boolean;
5712
6004
  disabled?: boolean;
5713
6005
  height?: string;
5714
6006
  stepActive?: string | number;
@@ -5741,6 +6033,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5741
6033
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5742
6034
  resetForm: () => void;
5743
6035
  submitForm: (native?: boolean) => Promise<any>;
6036
+ validate: () => Promise<string>;
5744
6037
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5745
6038
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5746
6039
  error: (...args: any[]) => void;
@@ -5803,6 +6096,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5803
6096
  isCompare?: boolean;
5804
6097
  parentValues?: Record<string, any>;
5805
6098
  labelWidth?: string;
6099
+ typeMatchValid?: boolean;
5806
6100
  disabled?: boolean;
5807
6101
  height?: string;
5808
6102
  stepActive?: string | number;
@@ -5826,7 +6120,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5826
6120
  "onField-input"?: ((...args: any[]) => any) | undefined;
5827
6121
  "onField-change"?: ((...args: any[]) => any) | undefined;
5828
6122
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5829
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
6123
+ }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
5830
6124
  values: FormValue;
5831
6125
  lastValuesProcessed: FormValue;
5832
6126
  formState: FormState;
@@ -5835,6 +6129,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5835
6129
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
5836
6130
  resetForm: () => void;
5837
6131
  submitForm: (native?: boolean) => Promise<any>;
6132
+ validate: () => Promise<string>;
5838
6133
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
5839
6134
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5840
6135
  $slots: FormSlots;
@@ -5843,18 +6138,18 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5843
6138
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5844
6139
  mounted: (internalInstance: any) => any;
5845
6140
  unmounted: () => any;
5846
- submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
6141
+ submit: (values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any;
5847
6142
  "submit-error": (e: any) => any;
5848
6143
  "form-error": (e: any) => any;
5849
6144
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
5850
6145
  onMounted?: ((internalInstance: any) => any) | undefined;
5851
6146
  onUnmounted?: (() => any) | undefined;
5852
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
6147
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5853
6148
  "onSubmit-error"?: ((e: any) => any) | undefined;
5854
6149
  "onForm-error"?: ((e: any) => any) | undefined;
5855
6150
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5856
6151
  declare const __VLS_export$17: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
5857
- declare const _default$29: typeof __VLS_export$17;
6152
+ declare const _default$30: typeof __VLS_export$17;
5858
6153
  type __VLS_WithSlots$6<T, S> = T & {
5859
6154
  new (): {
5860
6155
  $slots: S;
@@ -5872,7 +6167,7 @@ declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS
5872
6167
  data: MenuButton | MenuComponent;
5873
6168
  eventType: "mousedown" | "mouseup" | "click";
5874
6169
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5875
- declare const _default$35: typeof __VLS_export$16;
6170
+ declare const _default$36: typeof __VLS_export$16;
5876
6171
  //#endregion
5877
6172
  //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
5878
6173
  type __VLS_Props$12 = {
@@ -5971,7 +6266,7 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5971
6266
  minCenter: number;
5972
6267
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5973
6268
  declare const __VLS_export$13: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
5974
- declare const _default$27: typeof __VLS_export$13;
6269
+ declare const _default$28: typeof __VLS_export$13;
5975
6270
  type __VLS_WithSlots$4<T, S> = T & {
5976
6271
  new (): {
5977
6272
  $slots: S;
@@ -5989,7 +6284,7 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
5989
6284
  onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
5990
6285
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
5991
6286
  declare const __VLS_export$12: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
5992
- declare const _default$31: typeof __VLS_export$12;
6287
+ declare const _default$32: typeof __VLS_export$12;
5993
6288
  type __VLS_WithSlots$3<T, S> = T & {
5994
6289
  new (): {
5995
6290
  $slots: S;
@@ -6060,6 +6355,11 @@ type __VLS_Props$8 = {
6060
6355
  */
6061
6356
  baseFormState?: FormState; /** 需要走 self diff 的字段类型(例如 mod-cond)。 */
6062
6357
  selfDiffFieldTypes?: string[];
6358
+ /**
6359
+ * 表单内组件的尺寸(透传给 MForm 的 `size`),可选 'large' | 'default' | 'small'。
6360
+ * 缺省时使用 MForm 内置默认尺寸。
6361
+ */
6362
+ size?: FieldSize;
6063
6363
  /**
6064
6364
  * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
6065
6365
  * 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
@@ -6136,7 +6436,7 @@ declare const __VLS_export$9: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6136
6436
  (_e: "revert-step", _bucketId: string | number, _index: number): void;
6137
6437
  };
6138
6438
  }>) => import("vue").VNode & {
6139
- __ctx?: Awaited<typeof __VLS_setup>;
6439
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6140
6440
  };
6141
6441
  declare const _default$22: typeof __VLS_export$9;
6142
6442
  type __VLS_PrettifyLocal$1<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6185,7 +6485,7 @@ declare const __VLS_export$8: <T extends BaseStepValue = BaseStepValue>(__VLS_pr
6185
6485
  (_e: "clear"): void;
6186
6486
  };
6187
6487
  }>) => import("vue").VNode & {
6188
- __ctx?: Awaited<typeof __VLS_setup>;
6488
+ __ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
6189
6489
  };
6190
6490
  declare const _default$23: typeof __VLS_export$8;
6191
6491
  type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
@@ -6204,7 +6504,8 @@ type __VLS_Props$7 = {
6204
6504
  * 取配置逻辑,可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
6205
6505
  */
6206
6506
  loadConfig?: CompareFormLoadConfig;
6207
- width?: string;
6507
+ width?: string; /** 差异对比表单内组件的尺寸(透传给 CompareForm 的 `size`),可选 'large' | 'default' | 'small'。 */
6508
+ size?: FieldSize;
6208
6509
  isConfirm?: boolean;
6209
6510
  onConfirm?: () => void;
6210
6511
  selfDiffFieldTypes?: string[];
@@ -6277,6 +6578,9 @@ interface Position {
6277
6578
  type __VLS_Props$6 = {
6278
6579
  position?: Position;
6279
6580
  title?: string;
6581
+ bodyStyle?: CSSProperties; /** 浮窗初始样式,会与内部计算样式合并,外部传入优先 */
6582
+ initialStyle?: CSSProperties; /** 用于约束浮窗 left 的容器宽度,传入时按宽度收敛 left,避免超出右边界;默认取视窗宽度 */
6583
+ frameworkWidth?: number;
6280
6584
  beforeClose?: (_done: (_cancel?: boolean) => void) => void;
6281
6585
  };
6282
6586
  type __VLS_ModelProps = {
@@ -6306,6 +6610,8 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pu
6306
6610
  }>, {
6307
6611
  title: string;
6308
6612
  position: Position;
6613
+ initialStyle: CSSProperties;
6614
+ frameworkWidth: number;
6309
6615
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6310
6616
  declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
6311
6617
  declare const _default$20: typeof __VLS_export$6;
@@ -6358,7 +6664,7 @@ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6358
6664
  indent: number;
6359
6665
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6360
6666
  declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
6361
- declare const _default$36: typeof __VLS_export$5;
6667
+ declare const _default$37: typeof __VLS_export$5;
6362
6668
  type __VLS_WithSlots$1<T, S> = T & {
6363
6669
  new (): {
6364
6670
  $slots: S;
@@ -6409,7 +6715,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
6409
6715
  isExpandable: IsExpandableFunction;
6410
6716
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6411
6717
  declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
6412
- declare const _default$37: typeof __VLS_export$4;
6718
+ declare const _default$38: typeof __VLS_export$4;
6413
6719
  type __VLS_WithSlots<T, S> = T & {
6414
6720
  new (): {
6415
6721
  $slots: S;
@@ -6425,7 +6731,7 @@ declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_
6425
6731
  }>, {
6426
6732
  disabled: boolean;
6427
6733
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6428
- declare const _default$28: typeof __VLS_export$3;
6734
+ declare const _default$29: typeof __VLS_export$3;
6429
6735
  //#endregion
6430
6736
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
6431
6737
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
@@ -6456,11 +6762,11 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6456
6762
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
6457
6763
  onAddDiffCount?: (() => any) | undefined;
6458
6764
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6459
- declare const _default$32: typeof __VLS_export;
6765
+ declare const _default$33: typeof __VLS_export;
6460
6766
  //#endregion
6461
6767
  //#region temp/packages/editor/src/plugin.d.ts
6462
- declare const _default$41: {
6768
+ declare const _default$42: {
6463
6769
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
6464
6770
  };
6465
6771
  //#endregion
6466
- export { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EditorChangeEvent, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$26 as LayerPanel, LayerPanelSlots, Layout, _default$27 as LayoutContainer, _default$27 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$28 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$29 as PropsFormPanel, PropsFormValueFunction, _default$30 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$31 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$32 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$33 as TMagicCodeEditor, _default$34 as TMagicEditor, _default$35 as ToolButton, _default$36 as Tree, _default$37 as TreeNode, TreeNodeData, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$38 as codeBlockService, collectRelatedNodes, _default$39 as componentListService, confirmHistoryAction, createStackStep, _default$40 as dataSourceService, debug, _default$41 as default, defaultIsExpandable, _default$42 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$43 as editorService, eqOptions, error, eventTabConfig, _default$44 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$45 as historyService, idbDelete, idbGet, idbSet, info, isIncludeDataSource, isIndexedDBSupported, _default$46 as keybindingService, _default$47 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, numberOptions, openIndexedDB, _default$48 as propsService, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$49 as stageOverlayService, _default$50 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$51 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
6772
+ export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidatePropsFormOptions, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$39 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$40 as componentListService, confirmHistoryAction, createStackStep, _default$41 as dataSourceService, debug$1 as debug, _default$42 as default, defaultIsExpandable, _default$43 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$44 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$45 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$46 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isIncludeDataSource, isIndexedDBSupported, _default$47 as keybindingService, _default$48 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$49 as propsService, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$50 as stageOverlayService, _default$51 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$52 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validatePropsForm, warn };