@tmagic/editor 1.8.0-beta.2 → 1.8.0-beta.3

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 (45) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +9 -0
  2. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +32 -28
  3. package/dist/es/editorProps.js +2 -0
  4. package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +2 -5
  5. package/dist/es/hooks/use-stage.js +2 -1
  6. package/dist/es/index.js +3 -1
  7. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +2 -5
  8. package/dist/es/layouts/history-list/Bucket.vue_vue_type_script_setup_true_lang.js +33 -14
  9. package/dist/es/layouts/history-list/BucketTab.js +5 -0
  10. package/dist/es/layouts/history-list/{CodeBlockTab.vue_vue_type_script_setup_true_lang.js → BucketTab.vue_vue_type_script_setup_true_lang.js} +27 -16
  11. package/dist/es/layouts/history-list/GroupRow.vue_vue_type_script_setup_true_lang.js +71 -53
  12. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +78 -28
  13. package/dist/es/layouts/history-list/HistoryListPanel.vue_vue_type_script_setup_true_lang.js +136 -66
  14. package/dist/es/layouts/history-list/InitialRow.vue_vue_type_script_setup_true_lang.js +15 -9
  15. package/dist/es/layouts/history-list/PageTab.vue_vue_type_script_setup_true_lang.js +12 -6
  16. package/dist/es/layouts/history-list/composables.js +20 -2
  17. package/dist/es/services/history.js +5 -2
  18. package/dist/es/style.css +44 -12
  19. package/dist/style.css +44 -12
  20. package/dist/tmagic-editor.umd.cjs +479 -326
  21. package/package.json +7 -7
  22. package/src/Editor.vue +8 -0
  23. package/src/components/CompareForm.vue +32 -19
  24. package/src/editorProps.ts +7 -0
  25. package/src/fields/CodeLink.vue +2 -5
  26. package/src/hooks/use-stage.ts +1 -0
  27. package/src/index.ts +2 -0
  28. package/src/layouts/CodeEditor.vue +2 -5
  29. package/src/layouts/history-list/Bucket.vue +53 -28
  30. package/src/layouts/history-list/BucketTab.vue +77 -0
  31. package/src/layouts/history-list/GroupRow.vue +95 -60
  32. package/src/layouts/history-list/HistoryDiffDialog.vue +51 -32
  33. package/src/layouts/history-list/HistoryListPanel.vue +161 -52
  34. package/src/layouts/history-list/InitialRow.vue +17 -6
  35. package/src/layouts/history-list/PageTab.vue +20 -6
  36. package/src/layouts/history-list/composables.ts +32 -1
  37. package/src/services/history.ts +3 -0
  38. package/src/theme/history-list-panel.scss +52 -13
  39. package/src/type.ts +90 -0
  40. package/types/index.d.ts +295 -135
  41. package/dist/es/layouts/history-list/CodeBlockTab.js +0 -5
  42. package/dist/es/layouts/history-list/DataSourceTab.js +0 -5
  43. package/dist/es/layouts/history-list/DataSourceTab.vue_vue_type_script_setup_true_lang.js +0 -62
  44. package/src/layouts/history-list/CodeBlockTab.vue +0 -61
  45. package/src/layouts/history-list/DataSourceTab.vue +0 -61
package/types/index.d.ts CHANGED
@@ -264,7 +264,7 @@ declare class CodeBlock extends BaseService {
264
264
  private applyHistoryStep;
265
265
  }
266
266
  type CodeBlockService = CodeBlock;
267
- declare const _default$35: CodeBlock;
267
+ declare const _default$37: CodeBlock;
268
268
  //#endregion
269
269
  //#region temp/packages/editor/src/services/componentList.d.ts
270
270
  declare class ComponentList extends BaseService {
@@ -432,7 +432,7 @@ declare class DataSource extends BaseService {
432
432
  private applyHistoryStep;
433
433
  }
434
434
  type DataSourceService = DataSource;
435
- declare const _default$36: DataSource;
435
+ declare const _default$38: DataSource;
436
436
  //#endregion
437
437
  //#region temp/packages/editor/src/services/dep.d.ts
438
438
  interface DepEvents {
@@ -485,7 +485,7 @@ declare class Dep extends BaseService {
485
485
  private enqueueTask;
486
486
  }
487
487
  type DepService = Dep;
488
- declare const _default$38: Dep;
488
+ declare const _default$40: Dep;
489
489
  //#endregion
490
490
  //#region temp/packages/editor/src/services/editor.d.ts
491
491
  declare class Editor extends BaseService {
@@ -770,7 +770,7 @@ declare class Editor extends BaseService {
770
770
  private selectedConfigExceptionHandler;
771
771
  }
772
772
  type EditorService = Editor;
773
- declare const _default$39: Editor;
773
+ declare const _default$41: Editor;
774
774
  //#endregion
775
775
  //#region temp/packages/editor/src/services/events.d.ts
776
776
  declare const canUsePluginMethods$5: {
@@ -792,7 +792,7 @@ declare class Events extends BaseService {
792
792
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, Events> & SyncHookPlugin<SyncMethodName$3, Events>): void;
793
793
  }
794
794
  type EventsService = Events;
795
- declare const _default$40: Events;
795
+ declare const _default$42: Events;
796
796
  //#endregion
797
797
  //#region temp/packages/editor/src/utils/undo-redo.d.ts
798
798
  declare class UndoRedo<T = any> {
@@ -984,7 +984,7 @@ declare class History extends BaseService {
984
984
  private getDataSourceUndoRedo;
985
985
  }
986
986
  type HistoryService = History;
987
- declare const _default$41: History;
987
+ declare const _default$43: History;
988
988
  //#endregion
989
989
  //#region temp/packages/editor/src/services/keybinding.d.ts
990
990
  declare class Keybinding extends BaseService {
@@ -1122,7 +1122,7 @@ declare class Props extends BaseService {
1122
1122
  private setRelateId;
1123
1123
  }
1124
1124
  type PropsService = Props;
1125
- declare const _default$43: Props;
1125
+ declare const _default$45: Props;
1126
1126
  //#endregion
1127
1127
  //#region temp/packages/editor/src/services/stageOverlay.d.ts
1128
1128
  declare const canUsePluginMethods$3: {
@@ -1149,7 +1149,7 @@ declare class StageOverlay extends BaseService {
1149
1149
  private updateSelectStatus;
1150
1150
  }
1151
1151
  type StageOverlayService = StageOverlay;
1152
- declare const _default$44: StageOverlay;
1152
+ declare const _default$46: StageOverlay;
1153
1153
  //#endregion
1154
1154
  //#region temp/packages/editor/src/services/storage.d.ts
1155
1155
  interface Options$1 {
@@ -1212,7 +1212,7 @@ declare class WebStorage extends BaseService {
1212
1212
  private getValueAndProtocol;
1213
1213
  }
1214
1214
  type StorageService = WebStorage;
1215
- declare const _default$45: WebStorage;
1215
+ declare const _default$47: WebStorage;
1216
1216
  //#endregion
1217
1217
  //#region temp/packages/editor/src/services/ui.d.ts
1218
1218
  declare const canUsePluginMethods$1: {
@@ -1232,7 +1232,7 @@ declare class Ui extends BaseService {
1232
1232
  private setStageRect;
1233
1233
  }
1234
1234
  type UiService = Ui;
1235
- declare const _default$46: Ui;
1235
+ declare const _default$48: Ui;
1236
1236
  //#endregion
1237
1237
  //#region temp/packages/editor/src/type.d.ts
1238
1238
  type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
@@ -1376,6 +1376,11 @@ interface StageOptions {
1376
1376
  */
1377
1377
  alwaysMultiSelect?: boolean;
1378
1378
  disabledRule?: boolean;
1379
+ /**
1380
+ * 禁用「非点击画布选中组件时(如从图层树、面包屑等外部选中),对选中区域做高亮闪烁提示」,
1381
+ * 默认 false(即默认开启闪烁)
1382
+ */
1383
+ disabledFlashTip?: boolean;
1379
1384
  zoom?: number;
1380
1385
  /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */
1381
1386
  beforeDblclick?: (event: MouseEvent) => Promise<boolean | void> | boolean | void;
@@ -1597,6 +1602,55 @@ interface SideComponent extends MenuComponent {
1597
1602
  props?: Record<string, any>;
1598
1603
  };
1599
1604
  }
1605
+ /**
1606
+ * 历史记录面板(HistoryListPanel)的自定义扩展 tab。
1607
+ *
1608
+ * 业务方可通过 Editor 的 `historyListExtraTabs` 注入额外的历史记录 tab,
1609
+ * 例如某个自定义模块维护自己的操作历史时,可以在历史记录面板中增加一个
1610
+ * 独立的 tab 来展示与回滚。内置的「页面 / 数据源 / 代码块」三个 tab 之后
1611
+ * 会依次追加这些扩展 tab。
1612
+ */
1613
+ interface HistoryListExtraTab {
1614
+ /** tab 唯一标识,作为 TMagicTabs 的 name */
1615
+ name: string;
1616
+ /** tab 显示文案,支持传入函数以展示动态内容(如记录数量) */
1617
+ label: string | (() => string);
1618
+ /** tab 内容区渲染的组件(Vue 组件或字符串标签) */
1619
+ component: any;
1620
+ /** 传入内容组件的 props */
1621
+ props?: Record<string, any>;
1622
+ /** 内容组件的事件监听 */
1623
+ listeners?: Record<string, (..._args: any[]) => any>;
1624
+ }
1625
+ /**
1626
+ * 对比表单(CompareForm)的对比类型:
1627
+ * - node: 节点组件,按 `type` 从 propsService 获取属性表单配置
1628
+ * - data-source: 数据源,按 `type`(base/http/...) 从 dataSourceService 获取数据源表单配置
1629
+ * - code-block: 数据源代码块,使用内置的代码块表单配置
1630
+ */
1631
+ type CompareCategory = 'node' | 'data-source' | 'code-block';
1632
+ /**
1633
+ * 自定义 `loadConfig` 时回传的上下文,聚合了组件当前的对比入参,
1634
+ * 方便调用方在外部按需拼装 FormConfig。
1635
+ */
1636
+ interface CompareFormLoadConfigContext {
1637
+ /** 对比类型,见 CompareCategory */
1638
+ category: string;
1639
+ /** 节点 / 数据源类型 */
1640
+ type?: string;
1641
+ /** 数据源代码块场景下的数据源类型 */
1642
+ dataSourceType?: string;
1643
+ /**
1644
+ * 内置的默认 FormConfig 加载逻辑(按 `category` 从 propsService / dataSourceService /
1645
+ * 代码块工具取配置)。自定义 `loadConfig` 可调用它复用默认结果,再做二次加工。
1646
+ */
1647
+ defaultLoadConfig: () => Promise<FormConfig>;
1648
+ }
1649
+ /**
1650
+ * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category` 取配置逻辑,
1651
+ * 可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
1652
+ */
1653
+ type CompareFormLoadConfig = (ctx: CompareFormLoadConfigContext) => FormConfig | Promise<FormConfig>;
1600
1654
  declare enum SideItemKey {
1601
1655
  COMPONENT_LIST = "component-list",
1602
1656
  LAYER = "layer",
@@ -1745,6 +1799,10 @@ interface StepValue {
1745
1799
  * 不影响 undo/redo 行为;缺省时面板会根据节点 / propPath 自动生成描述。
1746
1800
  */
1747
1801
  historyDescription?: string;
1802
+ /**
1803
+ * 入栈时间戳(毫秒)。在 historyService.push 时自动写入(若调用方未指定),仅用于历史面板展示。
1804
+ */
1805
+ timestamp?: number;
1748
1806
  }
1749
1807
  /**
1750
1808
  * 代码块历史记录条目。按 codeBlock.id 分组保存到 historyState.codeBlockState。
@@ -1766,6 +1824,8 @@ interface CodeBlockStepValue {
1766
1824
  changeRecords?: ChangeRecord[];
1767
1825
  /** 调用方可选传入的人类可读描述,用于历史面板展示;不影响 undo/redo 行为。 */
1768
1826
  historyDescription?: string;
1827
+ /** 入栈时间戳(毫秒),入栈时自动写入,仅用于历史面板展示。 */
1828
+ timestamp?: number;
1769
1829
  }
1770
1830
  /**
1771
1831
  * 数据源历史记录条目。按 dataSource.id 分组保存到 historyState.dataSourceState。
@@ -1787,6 +1847,8 @@ interface DataSourceStepValue {
1787
1847
  changeRecords?: ChangeRecord[];
1788
1848
  /** 调用方可选传入的人类可读描述,用于历史面板展示;不影响 undo/redo 行为。 */
1789
1849
  historyDescription?: string;
1850
+ /** 入栈时间戳(毫秒),入栈时自动写入,仅用于历史面板展示。 */
1851
+ timestamp?: number;
1790
1852
  }
1791
1853
  interface HistoryState {
1792
1854
  pageId?: Id;
@@ -2066,6 +2128,25 @@ interface DslOpOptions extends HistoryOpOptions {
2066
2128
  doNotSelect?: boolean;
2067
2129
  doNotSwitchPage?: boolean;
2068
2130
  }
2131
+ /** 差异对话框的入参 */
2132
+ interface DiffDialogPayload {
2133
+ /** 表单类别 */
2134
+ category: CompareCategory;
2135
+ /** 节点类型 / 数据源类型 */
2136
+ type?: string;
2137
+ /** 代码块场景下的数据源类型 */
2138
+ dataSourceType?: string;
2139
+ /** 该 step 修改前的值(oldNode / oldSchema / oldContent) */
2140
+ lastValue: Record<string, any>;
2141
+ /** 该 step 修改后的值(newNode / newSchema / newContent) */
2142
+ value: Record<string, any>;
2143
+ /** 当前编辑器中实际的最新值;不传或为 null 时禁用「与当前对比」 */
2144
+ currentValue?: Record<string, any> | null;
2145
+ /** 用于标题展示的目标名称 */
2146
+ targetLabel?: string;
2147
+ /** 用于标题展示的目标 id */
2148
+ id?: string | number;
2149
+ }
2069
2150
  //#endregion
2070
2151
  //#region temp/packages/editor/src/hooks/use-code-block-edit.d.ts
2071
2152
  declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"]) => {
@@ -2536,7 +2617,7 @@ declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
2536
2617
  declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
2537
2618
  //#endregion
2538
2619
  //#region temp/packages/editor/src/utils/monaco-editor.d.ts
2539
- declare const _default$42: () => Promise<typeof import("monaco-editor")>;
2620
+ declare const _default$44: () => Promise<typeof import("monaco-editor")>;
2540
2621
  //#endregion
2541
2622
  //#region temp/packages/form/src/schema.d.ts
2542
2623
  interface ChangeRecord$1 {
@@ -2635,6 +2716,8 @@ interface EditorProps {
2635
2716
  alwaysMultiSelect?: boolean;
2636
2717
  /** 禁用页面片 */
2637
2718
  disabledPageFragment?: boolean;
2719
+ /** 禁用「非点击画布选中组件时(如从图层树、面包屑等外部选中),对选中区域做高亮闪烁提示」,默认 false(即默认开启闪烁) */
2720
+ disabledFlashTip?: boolean;
2638
2721
  /** 禁用双击在浮层中单独编辑选中组件 */
2639
2722
  disabledStageOverlay?: boolean;
2640
2723
  /** 禁用属性配置面板右下角显示源码的按钮 */
@@ -2674,6 +2757,8 @@ interface EditorProps {
2674
2757
  /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
2675
2758
  beforeLayerNodeDblclick?: (event: MouseEvent, data: TreeNodeData) => Promise<boolean | void> | boolean | void;
2676
2759
  extendFormState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2760
+ /** 历史记录面板的自定义扩展 tab,追加在内置的页面/数据源/代码块 tab 之后 */
2761
+ historyListExtraTabs?: HistoryListExtraTab[];
2677
2762
  /** 页面顺序拖拽配置参数 */
2678
2763
  pageBarSortOptions?: PageBarSortOptions;
2679
2764
  /** 页面搜索函数 */
@@ -3597,6 +3682,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3597
3682
  disabledMultiSelect: boolean;
3598
3683
  alwaysMultiSelect: boolean;
3599
3684
  disabledPageFragment: boolean;
3685
+ historyListExtraTabs: HistoryListExtraTab[];
3600
3686
  disabledShowSrc: boolean;
3601
3687
  customContentMenu: CustomContentMenuFunction;
3602
3688
  layerContentMenu: (MenuButton | MenuComponent)[];
@@ -3616,10 +3702,11 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3616
3702
  datasourceConfigs: Record<string, import("@tmagic/form-schema").FormConfig>;
3617
3703
  containerHighlightDuration: number;
3618
3704
  containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
3705
+ disabledFlashTip: boolean;
3619
3706
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
3620
3707
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3621
- declare const __VLS_export$34: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
3622
- declare const _default$31: typeof __VLS_export$34;
3708
+ declare const __VLS_export$36: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
3709
+ declare const _default$33: typeof __VLS_export$36;
3623
3710
  type __VLS_WithSlots$12<T, S> = T & {
3624
3711
  new (): {
3625
3712
  $slots: S;
@@ -3627,7 +3714,7 @@ type __VLS_WithSlots$12<T, S> = T & {
3627
3714
  };
3628
3715
  //#endregion
3629
3716
  //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
3630
- type __VLS_Props$31 = {
3717
+ type __VLS_Props$33 = {
3631
3718
  initValues?: any;
3632
3719
  modifiedValues?: any;
3633
3720
  type?: 'diff';
@@ -3643,7 +3730,7 @@ type __VLS_Props$31 = {
3643
3730
  };
3644
3731
  editorCustomType?: string;
3645
3732
  };
3646
- declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {
3733
+ declare const __VLS_export$35: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {
3647
3734
  values: import("@vue/reactivity").Ref<string, string>;
3648
3735
  getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
3649
3736
  getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
@@ -3654,7 +3741,7 @@ declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS
3654
3741
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3655
3742
  save: (...args: any[]) => void;
3656
3743
  initd: (...args: any[]) => void;
3657
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
3744
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
3658
3745
  onSave?: ((...args: any[]) => any) | undefined;
3659
3746
  onInitd?: ((...args: any[]) => any) | undefined;
3660
3747
  }>, {
@@ -3665,13 +3752,13 @@ declare const __VLS_export$33: import("@vue/runtime-core").DefineComponent<__VLS
3665
3752
  autoSave: boolean;
3666
3753
  disabledFullScreen: boolean;
3667
3754
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3668
- declare const _default$30: typeof __VLS_export$33;
3755
+ declare const _default$32: typeof __VLS_export$35;
3669
3756
  //#endregion
3670
3757
  //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
3671
3758
  type __VLS_Slots$11 = ComponentListPanelSlots;
3672
3759
  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>;
3673
- declare const __VLS_export$32: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
3674
- declare const _default$6: typeof __VLS_export$32;
3760
+ declare const __VLS_export$34: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
3761
+ declare const _default$6: typeof __VLS_export$34;
3675
3762
  type __VLS_WithSlots$11<T, S> = T & {
3676
3763
  new (): {
3677
3764
  $slots: S;
@@ -3680,7 +3767,7 @@ type __VLS_WithSlots$11<T, S> = T & {
3680
3767
  //#endregion
3681
3768
  //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
3682
3769
  type __VLS_Slots$10 = LayerPanelSlots;
3683
- type __VLS_Props$30 = {
3770
+ type __VLS_Props$32 = {
3684
3771
  layerContentMenu: (MenuButton | MenuComponent)[];
3685
3772
  indent?: number;
3686
3773
  nextLevelIndentIncrement?: number;
@@ -3689,13 +3776,13 @@ type __VLS_Props$30 = {
3689
3776
  canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
3690
3777
  beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
3691
3778
  };
3692
- declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3779
+ declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$32, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3693
3780
  "node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
3694
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
3781
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
3695
3782
  "onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3696
3783
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3697
- declare const __VLS_export$31: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
3698
- declare const _default$23: typeof __VLS_export$31;
3784
+ declare const __VLS_export$33: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
3785
+ declare const _default$25: typeof __VLS_export$33;
3699
3786
  type __VLS_WithSlots$10<T, S> = T & {
3700
3787
  new (): {
3701
3788
  $slots: S;
@@ -3703,34 +3790,34 @@ type __VLS_WithSlots$10<T, S> = T & {
3703
3790
  };
3704
3791
  //#endregion
3705
3792
  //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
3706
- type __VLS_Props$29 = FieldProps<CodeSelectConfig>;
3707
- declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3793
+ type __VLS_Props$31 = FieldProps<CodeSelectConfig>;
3794
+ declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_Props$31, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3708
3795
  change: (v: any, eventData: ContainerChangeEventData) => any;
3709
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
3796
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
3710
3797
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
3711
3798
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3712
- declare const _default$3: typeof __VLS_export$30;
3799
+ declare const _default$3: typeof __VLS_export$32;
3713
3800
  //#endregion
3714
3801
  //#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts
3715
- type __VLS_Props$28 = FieldProps<CodeSelectColConfig>;
3716
- declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$28, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3802
+ type __VLS_Props$30 = FieldProps<CodeSelectColConfig>;
3803
+ declare const __VLS_export$31: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3717
3804
  change: (v: any, eventData: ContainerChangeEventData) => any;
3718
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$28> & Readonly<{
3805
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
3719
3806
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
3720
3807
  }>, {
3721
3808
  disabled: boolean;
3722
3809
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3723
- declare const _default$4: typeof __VLS_export$29;
3810
+ declare const _default$4: typeof __VLS_export$31;
3724
3811
  //#endregion
3725
3812
  //#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts
3726
- type __VLS_Props$27 = FieldProps<DataSourceFieldsConfig>;
3813
+ type __VLS_Props$29 = FieldProps<DataSourceFieldsConfig>;
3727
3814
  type __VLS_ModelProps$4 = {
3728
3815
  'width'?: number;
3729
3816
  'visible'?: boolean;
3730
3817
  'visible1'?: boolean;
3731
3818
  };
3732
- type __VLS_PublicProps$4 = __VLS_Props$27 & __VLS_ModelProps$4;
3733
- declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3819
+ type __VLS_PublicProps$4 = __VLS_Props$29 & __VLS_ModelProps$4;
3820
+ declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3734
3821
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
3735
3822
  "update:width": (value: number) => any;
3736
3823
  "update:visible": (value: boolean) => any;
@@ -3743,16 +3830,16 @@ declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS
3743
3830
  }>, {
3744
3831
  disabled: boolean;
3745
3832
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3746
- declare const _default$12: typeof __VLS_export$28;
3833
+ declare const _default$12: typeof __VLS_export$30;
3747
3834
  //#endregion
3748
3835
  //#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts
3749
- type __VLS_Props$26 = FieldProps<DataSourceMocksConfig>;
3836
+ type __VLS_Props$28 = FieldProps<DataSourceMocksConfig>;
3750
3837
  type __VLS_ModelProps$3 = {
3751
3838
  'width'?: number;
3752
3839
  'visible'?: boolean;
3753
3840
  };
3754
- type __VLS_PublicProps$3 = __VLS_Props$26 & __VLS_ModelProps$3;
3755
- declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3841
+ type __VLS_PublicProps$3 = __VLS_Props$28 & __VLS_ModelProps$3;
3842
+ declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3756
3843
  change: (...args: any[]) => void;
3757
3844
  "update:width": (value: number) => void;
3758
3845
  "update:visible": (value: boolean) => void;
@@ -3763,91 +3850,91 @@ declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS
3763
3850
  }>, {
3764
3851
  disabled: boolean;
3765
3852
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3766
- declare const _default$16: typeof __VLS_export$27;
3853
+ declare const _default$16: typeof __VLS_export$29;
3767
3854
  //#endregion
3768
3855
  //#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts
3769
- type __VLS_Props$25 = FieldProps<DataSourceMethodsConfig>;
3770
- declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3856
+ type __VLS_Props$27 = FieldProps<DataSourceMethodsConfig>;
3857
+ declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3771
3858
  change: (...args: any[]) => void;
3772
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
3859
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
3773
3860
  onChange?: ((...args: any[]) => any) | undefined;
3774
3861
  }>, {
3775
3862
  disabled: boolean;
3776
3863
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3777
- declare const _default$15: typeof __VLS_export$26;
3864
+ declare const _default$15: typeof __VLS_export$28;
3778
3865
  //#endregion
3779
3866
  //#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts
3780
- type __VLS_Props$24 = FieldProps<DataSourceInputConfig>;
3781
- declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3867
+ type __VLS_Props$26 = FieldProps<DataSourceInputConfig>;
3868
+ declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3782
3869
  change: (value: string) => any;
3783
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
3870
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
3784
3871
  onChange?: ((value: string) => any) | undefined;
3785
3872
  }>, {
3786
3873
  disabled: boolean;
3787
3874
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3788
- declare const _default$13: typeof __VLS_export$25;
3875
+ declare const _default$13: typeof __VLS_export$27;
3789
3876
  //#endregion
3790
3877
  //#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts
3791
- type __VLS_Props$23 = FieldProps<DataSourceSelect>;
3792
- declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3878
+ type __VLS_Props$25 = FieldProps<DataSourceSelect>;
3879
+ declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3793
3880
  change: (...args: any[]) => void;
3794
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
3881
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
3795
3882
  onChange?: ((...args: any[]) => any) | undefined;
3796
3883
  }>, {
3797
3884
  disabled: boolean;
3798
3885
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3799
- declare const _default$17: typeof __VLS_export$24;
3886
+ declare const _default$17: typeof __VLS_export$26;
3800
3887
  //#endregion
3801
3888
  //#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts
3802
- type __VLS_Props$22 = FieldProps<DataSourceMethodSelectConfig>;
3803
- declare const __VLS_export$23: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3889
+ type __VLS_Props$24 = FieldProps<DataSourceMethodSelectConfig>;
3890
+ declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3804
3891
  change: (...args: any[]) => void;
3805
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
3892
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
3806
3893
  onChange?: ((...args: any[]) => any) | undefined;
3807
3894
  }>, {
3808
3895
  disabled: boolean;
3809
3896
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3810
- declare const _default$14: typeof __VLS_export$23;
3897
+ declare const _default$14: typeof __VLS_export$25;
3811
3898
  //#endregion
3812
3899
  //#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts
3813
- type __VLS_Props$21 = FieldProps<DataSourceFieldSelectConfig>;
3814
- declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3900
+ type __VLS_Props$23 = FieldProps<DataSourceFieldSelectConfig>;
3901
+ declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3815
3902
  change: (...args: any[]) => void;
3816
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
3903
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
3817
3904
  onChange?: ((...args: any[]) => any) | undefined;
3818
3905
  }>, {
3819
3906
  disabled: boolean;
3820
3907
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3821
- declare const _default$11: typeof __VLS_export$22;
3908
+ declare const _default$11: typeof __VLS_export$24;
3822
3909
  //#endregion
3823
3910
  //#region temp/packages/editor/src/fields/EventSelect.vue.d.ts
3824
- type __VLS_Props$20 = FieldProps<EventSelectConfig>;
3825
- declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3911
+ type __VLS_Props$22 = FieldProps<EventSelectConfig>;
3912
+ declare const __VLS_export$23: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3826
3913
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
3827
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
3914
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
3828
3915
  onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
3829
3916
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3830
- declare const _default$19: typeof __VLS_export$21;
3917
+ declare const _default$19: typeof __VLS_export$23;
3831
3918
  //#endregion
3832
3919
  //#region temp/packages/editor/src/fields/KeyValue.vue.d.ts
3833
- type __VLS_Props$19 = FieldProps<KeyValueConfig>;
3834
- declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3920
+ type __VLS_Props$21 = FieldProps<KeyValueConfig>;
3921
+ declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3835
3922
  change: (value: Record<string, any>) => any;
3836
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
3923
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
3837
3924
  onChange?: ((value: Record<string, any>) => any) | undefined;
3838
3925
  }>, {
3839
3926
  disabled: boolean;
3840
3927
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3841
- declare const _default$22: typeof __VLS_export$20;
3928
+ declare const _default$24: typeof __VLS_export$22;
3842
3929
  //#endregion
3843
3930
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts
3844
3931
  type __VLS_Slots$9 = CodeBlockListSlots;
3845
- type __VLS_Props$18 = {
3932
+ type __VLS_Props$20 = {
3846
3933
  indent?: number;
3847
3934
  nextLevelIndentIncrement?: number;
3848
3935
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
3849
3936
  };
3850
- declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {
3937
+ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
3851
3938
  nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
3852
3939
  visible: boolean;
3853
3940
  expand: boolean;
@@ -3865,13 +3952,13 @@ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3865
3952
  remove: (id: string) => any;
3866
3953
  edit: (id: string) => any;
3867
3954
  "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
3868
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{
3955
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
3869
3956
  onRemove?: ((id: string) => any) | undefined;
3870
3957
  onEdit?: ((id: string) => any) | undefined;
3871
3958
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
3872
3959
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3873
- declare const __VLS_export$19: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
3874
- declare const _default$1: typeof __VLS_export$19;
3960
+ declare const __VLS_export$21: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
3961
+ declare const _default$1: typeof __VLS_export$21;
3875
3962
  type __VLS_WithSlots$9<T, S> = T & {
3876
3963
  new (): {
3877
3964
  $slots: S;
@@ -3880,15 +3967,15 @@ type __VLS_WithSlots$9<T, S> = T & {
3880
3967
  //#endregion
3881
3968
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts
3882
3969
  type __VLS_Slots$8 = CodeBlockListPanelSlots;
3883
- type __VLS_Props$17 = {
3970
+ type __VLS_Props$19 = {
3884
3971
  indent?: number;
3885
3972
  nextLevelIndentIncrement?: number;
3886
3973
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
3887
3974
  customContentMenu: CustomContentMenuFunction;
3888
3975
  };
3889
- declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3890
- declare const __VLS_export$18: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
3891
- declare const _default$2: typeof __VLS_export$18;
3976
+ declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3977
+ declare const __VLS_export$20: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
3978
+ declare const _default$2: typeof __VLS_export$20;
3892
3979
  type __VLS_WithSlots$8<T, S> = T & {
3893
3980
  new (): {
3894
3981
  $slots: S;
@@ -3896,7 +3983,7 @@ type __VLS_WithSlots$8<T, S> = T & {
3896
3983
  };
3897
3984
  //#endregion
3898
3985
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts
3899
- type __VLS_Props$16 = {
3986
+ type __VLS_Props$18 = {
3900
3987
  title?: string;
3901
3988
  values: any;
3902
3989
  disabled: boolean;
@@ -3905,8 +3992,8 @@ type __VLS_ModelProps$2 = {
3905
3992
  'visible'?: boolean;
3906
3993
  'width'?: number;
3907
3994
  };
3908
- type __VLS_PublicProps$2 = __VLS_Props$16 & __VLS_ModelProps$2;
3909
- declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
3995
+ type __VLS_PublicProps$2 = __VLS_Props$18 & __VLS_ModelProps$2;
3996
+ declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$2, {
3910
3997
  show(): void;
3911
3998
  hide(): void;
3912
3999
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -3922,10 +4009,10 @@ declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS
3922
4009
  "onUpdate:width"?: ((value: number) => any) | undefined;
3923
4010
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
3924
4011
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3925
- declare const _default$10: typeof __VLS_export$17;
4012
+ declare const _default$10: typeof __VLS_export$19;
3926
4013
  //#endregion
3927
4014
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts
3928
- type __VLS_Props$15 = {
4015
+ type __VLS_Props$17 = {
3929
4016
  datasourceTypeList: {
3930
4017
  text: string;
3931
4018
  type: string;
@@ -3933,20 +4020,20 @@ type __VLS_Props$15 = {
3933
4020
  addButtonConfig?: ButtonProps;
3934
4021
  addButtonText?: string;
3935
4022
  };
3936
- declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4023
+ declare const __VLS_export$18: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3937
4024
  add: (type: string) => any;
3938
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
4025
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
3939
4026
  onAdd?: ((type: string) => any) | undefined;
3940
4027
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3941
- declare const _default$9: typeof __VLS_export$16;
4028
+ declare const _default$9: typeof __VLS_export$18;
3942
4029
  //#endregion
3943
4030
  //#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts
3944
4031
  type __VLS_Slots$7 = PropsPanelSlots;
3945
- type __VLS_Props$14 = {
4032
+ type __VLS_Props$16 = {
3946
4033
  disabledShowSrc?: boolean;
3947
4034
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3948
4035
  };
3949
- declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
4036
+ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {
3950
4037
  getFormState(): FormState | undefined;
3951
4038
  submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
3952
4039
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -4399,7 +4486,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4399
4486
  unmounted: () => any;
4400
4487
  "submit-error": (e: any) => any;
4401
4488
  "form-error": (e: any) => any;
4402
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
4489
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
4403
4490
  onMounted?: ((internalInstance: {
4404
4491
  $: import("@vue/runtime-core").ComponentInternalInstance;
4405
4492
  $data: {};
@@ -4850,8 +4937,8 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4850
4937
  "onSubmit-error"?: ((e: any) => any) | undefined;
4851
4938
  "onForm-error"?: ((e: any) => any) | undefined;
4852
4939
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4853
- declare const __VLS_export$15: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
4854
- declare const _default$27: typeof __VLS_export$15;
4940
+ declare const __VLS_export$17: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
4941
+ declare const _default$29: typeof __VLS_export$17;
4855
4942
  type __VLS_WithSlots$7<T, S> = T & {
4856
4943
  new (): {
4857
4944
  $slots: S;
@@ -4862,7 +4949,7 @@ type __VLS_WithSlots$7<T, S> = T & {
4862
4949
  type __VLS_Slots$6 = {
4863
4950
  'props-form-panel-header'(_props: {}): any;
4864
4951
  };
4865
- type __VLS_Props$13 = {
4952
+ type __VLS_Props$15 = {
4866
4953
  config: FormConfig;
4867
4954
  values: FormValue;
4868
4955
  disabledShowSrc?: boolean;
@@ -4871,7 +4958,7 @@ type __VLS_Props$13 = {
4871
4958
  labelPosition?: string;
4872
4959
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4873
4960
  };
4874
- declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
4961
+ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
4875
4962
  configForm: Readonly<import("@vue/reactivity").ShallowRef<({
4876
4963
  $: import("@vue/runtime-core").ComponentInternalInstance;
4877
4964
  $data: {};
@@ -5056,15 +5143,15 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5056
5143
  submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
5057
5144
  "submit-error": (e: any) => any;
5058
5145
  "form-error": (e: any) => any;
5059
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
5146
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
5060
5147
  onMounted?: ((internalInstance: any) => any) | undefined;
5061
5148
  onUnmounted?: (() => any) | undefined;
5062
5149
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
5063
5150
  "onSubmit-error"?: ((e: any) => any) | undefined;
5064
5151
  "onForm-error"?: ((e: any) => any) | undefined;
5065
5152
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5066
- declare const __VLS_export$14: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
5067
- declare const _default$26: typeof __VLS_export$14;
5153
+ declare const __VLS_export$16: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
5154
+ declare const _default$28: typeof __VLS_export$16;
5068
5155
  type __VLS_WithSlots$6<T, S> = T & {
5069
5156
  new (): {
5070
5157
  $slots: S;
@@ -5072,20 +5159,20 @@ type __VLS_WithSlots$6<T, S> = T & {
5072
5159
  };
5073
5160
  //#endregion
5074
5161
  //#region temp/packages/editor/src/components/ToolButton.vue.d.ts
5075
- type __VLS_Props$12 = {
5162
+ type __VLS_Props$14 = {
5076
5163
  data?: MenuButton | MenuComponent;
5077
5164
  eventType?: 'mousedown' | 'mouseup' | 'click';
5078
5165
  };
5079
- declare const __VLS_export$13: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {
5166
+ declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
5080
5167
  getElRef: () => Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
5081
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{}>, {
5168
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{}>, {
5082
5169
  data: MenuButton | MenuComponent;
5083
5170
  eventType: "mousedown" | "mouseup" | "click";
5084
5171
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5085
- declare const _default$32: typeof __VLS_export$13;
5172
+ declare const _default$34: typeof __VLS_export$15;
5086
5173
  //#endregion
5087
5174
  //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
5088
- type __VLS_Props$11 = {
5175
+ type __VLS_Props$13 = {
5089
5176
  menuData?: (MenuButton | MenuComponent)[];
5090
5177
  isSubMenu?: boolean;
5091
5178
  active?: string | number;
@@ -5095,7 +5182,7 @@ declare var __VLS_7$1: {};
5095
5182
  type __VLS_Slots$5 = {} & {
5096
5183
  title?: (props: typeof __VLS_7$1) => any;
5097
5184
  };
5098
- declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
5185
+ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
5099
5186
  menu: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
5100
5187
  menuPosition: Ref<{
5101
5188
  left: number;
@@ -5121,7 +5208,7 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5121
5208
  mouseenter: () => any;
5122
5209
  show: () => any;
5123
5210
  hide: () => any;
5124
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
5211
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
5125
5212
  onMouseenter?: (() => any) | undefined;
5126
5213
  onShow?: (() => any) | undefined;
5127
5214
  onHide?: (() => any) | undefined;
@@ -5130,8 +5217,8 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5130
5217
  isSubMenu: boolean;
5131
5218
  autoHide: boolean;
5132
5219
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5133
- declare const __VLS_export$12: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
5134
- declare const _default$8: typeof __VLS_export$12;
5220
+ declare const __VLS_export$14: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
5221
+ declare const _default$8: typeof __VLS_export$14;
5135
5222
  type __VLS_WithSlots$5<T, S> = T & {
5136
5223
  new (): {
5137
5224
  $slots: S;
@@ -5139,14 +5226,14 @@ type __VLS_WithSlots$5<T, S> = T & {
5139
5226
  };
5140
5227
  //#endregion
5141
5228
  //#region temp/packages/editor/src/components/Icon.vue.d.ts
5142
- type __VLS_Props$10 = {
5229
+ type __VLS_Props$12 = {
5143
5230
  icon?: any;
5144
5231
  };
5145
- declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5146
- declare const _default$21: typeof __VLS_export$11;
5232
+ declare const __VLS_export$13: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5233
+ declare const _default$23: typeof __VLS_export$13;
5147
5234
  //#endregion
5148
5235
  //#region temp/packages/editor/src/components/SplitView.vue.d.ts
5149
- type __VLS_Props$9 = {
5236
+ type __VLS_Props$11 = {
5150
5237
  width?: number;
5151
5238
  left?: number;
5152
5239
  right?: number;
@@ -5165,13 +5252,13 @@ type __VLS_Slots$4 = {} & {
5165
5252
  } & {
5166
5253
  right?: (props: typeof __VLS_19) => any;
5167
5254
  };
5168
- declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {
5255
+ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
5169
5256
  updateWidth(): void;
5170
5257
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5171
5258
  change: (...args: any[]) => void;
5172
5259
  "update:left": (...args: any[]) => void;
5173
5260
  "update:right": (...args: any[]) => void;
5174
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{
5261
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
5175
5262
  onChange?: ((...args: any[]) => any) | undefined;
5176
5263
  "onUpdate:left"?: ((...args: any[]) => any) | undefined;
5177
5264
  "onUpdate:right"?: ((...args: any[]) => any) | undefined;
@@ -5180,8 +5267,8 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5180
5267
  minRight: number;
5181
5268
  minCenter: number;
5182
5269
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5183
- declare const __VLS_export$10: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
5184
- declare const _default$24: typeof __VLS_export$10;
5270
+ declare const __VLS_export$12: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
5271
+ declare const _default$26: typeof __VLS_export$12;
5185
5272
  type __VLS_WithSlots$4<T, S> = T & {
5186
5273
  new (): {
5187
5274
  $slots: S;
@@ -5198,8 +5285,8 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
5198
5285
  }, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{
5199
5286
  onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
5200
5287
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
5201
- declare const __VLS_export$9: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
5202
- declare const _default$28: typeof __VLS_export$9;
5288
+ declare const __VLS_export$11: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
5289
+ declare const _default$30: typeof __VLS_export$11;
5203
5290
  type __VLS_WithSlots$3<T, S> = T & {
5204
5291
  new (): {
5205
5292
  $slots: S;
@@ -5207,7 +5294,7 @@ type __VLS_WithSlots$3<T, S> = T & {
5207
5294
  };
5208
5295
  //#endregion
5209
5296
  //#region temp/packages/editor/src/components/CodeBlockEditor.vue.d.ts
5210
- type __VLS_Props$8 = {
5297
+ type __VLS_Props$10 = {
5211
5298
  content: Omit<CodeBlockContent, 'content'> & {
5212
5299
  content: string;
5213
5300
  };
@@ -5219,8 +5306,8 @@ type __VLS_ModelProps$1 = {
5219
5306
  'width'?: number;
5220
5307
  'visible'?: boolean;
5221
5308
  };
5222
- type __VLS_PublicProps$1 = __VLS_Props$8 & __VLS_ModelProps$1;
5223
- declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
5309
+ type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
5310
+ declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_PublicProps$1, {
5224
5311
  show(): Promise<void>;
5225
5312
  hide(): Promise<void>;
5226
5313
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -5236,17 +5323,10 @@ declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<__VLS_
5236
5323
  "onUpdate:width"?: ((value: number) => any) | undefined;
5237
5324
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
5238
5325
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5239
- declare const _default: typeof __VLS_export$8;
5326
+ declare const _default: typeof __VLS_export$10;
5240
5327
  //#endregion
5241
5328
  //#region temp/packages/editor/src/components/CompareForm.vue.d.ts
5242
- /**
5243
- * 对比类型:
5244
- * - node: 节点组件,按 `type` 从 propsService 获取属性表单配置
5245
- * - data-source: 数据源,按 `type`(base/http/...) 从 dataSourceService 获取数据源表单配置
5246
- * - code-block: 数据源代码块,使用内置的代码块表单配置
5247
- */
5248
- type CompareCategory = 'node' | 'data-source' | 'code-block';
5249
- type __VLS_Props$7 = {
5329
+ type __VLS_Props$9 = {
5250
5330
  /** 当前值(修改后的值) */value: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>; /** 用于对比的旧值(修改前的值) */
5251
5331
  lastValue?: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
5252
5332
  /**
@@ -5271,16 +5351,96 @@ type __VLS_Props$7 = {
5271
5351
  * 因此在差异对比场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
5272
5352
  */
5273
5353
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5354
+ /**
5355
+ * 自定义 FormConfig 加载逻辑。传入后将接管内置的按 `category`(node/data-source/code-block)
5356
+ * 取配置逻辑,调用方可根据业务自行返回(或异步返回)表单配置。可通过
5357
+ * `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。返回的 config 直接用于对比展示。
5358
+ */
5359
+ loadConfig?: CompareFormLoadConfig;
5274
5360
  };
5275
- declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$7, {
5361
+ declare const __VLS_export$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {
5276
5362
  form: ShallowRef<InstanceType<typeof MForm> | null>;
5277
5363
  config: Ref<FormConfig>;
5278
5364
  reload: () => Promise<void>;
5279
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {
5365
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {
5280
5366
  labelWidth: string;
5281
5367
  category: CompareCategory;
5282
5368
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5283
- declare const _default$5: typeof __VLS_export$7;
5369
+ declare const _default$5: typeof __VLS_export$9;
5370
+ //#endregion
5371
+ //#region temp/packages/editor/src/layouts/history-list/Bucket.vue.d.ts
5372
+ type __VLS_Props$8 = {
5373
+ /** Bucket 标题,例如 "数据源" / "代码块",渲染在 bucket 头部。 */title: string; /** 当前 bucket 对应的目标 id(dataSource.id 或 codeBlock.id),同时用于组装子项的 key。 */
5374
+ bucketId: string | number;
5375
+ /**
5376
+ * 子项 key 的命名空间前缀:内置 `ds` 表示数据源,`cb` 表示代码块;
5377
+ * 业务方复用 Bucket 时可传入自定义前缀(如 `mod`)。与上层折叠状态 key 保持一致。
5378
+ */
5379
+ prefix: string; /** 是否展示底部「回到初始状态」入口,默认 true。无 undo cursor 语义的自定义历史可传 false 关闭。 */
5380
+ showInitial?: boolean; /** 当前 bucket 下的所有历史分组,按时间倒序展示(最近的操作在前)。 */
5381
+ groups: {
5382
+ applied: boolean;
5383
+ isCurrent?: boolean;
5384
+ opType: HistoryOpType;
5385
+ steps: {
5386
+ index: number;
5387
+ applied: boolean;
5388
+ isCurrent?: boolean;
5389
+ step: any;
5390
+ }[];
5391
+ }[]; /** 组级描述文案生成器,接收一个 group,返回展示文本。由父组件按业务类型注入。 */
5392
+ describeGroup: (_group: any) => string; /** 单步描述文案生成器,接收一个 step,返回展示文本。用于合并组展开后的子步列表。 */
5393
+ describeStep: (_step: any) => string; /** 判断某个 step 是否可查看差异(前后值都存在)。由父组件按业务类型注入;不传则一律不展示差异入口。 */
5394
+ isStepDiffable?: (_step: any) => boolean; /** 共享的折叠状态表(key -> 是否展开),由顶层 panel 统一维护以便跨 tab 复用。 */
5395
+ expanded: Record<string, boolean>; /** 是否支持「跳转到该记录」(goto)。默认 true。 */
5396
+ gotoEnabled?: boolean;
5397
+ };
5398
+ declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {} & {
5399
+ toggle: (_key: string) => any;
5400
+ goto: (_bucketId: string | number, _index: number) => any;
5401
+ "diff-step": (_bucketId: string | number, _index: number) => any;
5402
+ "revert-step": (_bucketId: string | number, _index: number) => any;
5403
+ "goto-initial": (_bucketId: string | number) => any;
5404
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{
5405
+ onToggle?: ((_key: string) => any) | undefined;
5406
+ onGoto?: ((_bucketId: string | number, _index: number) => any) | undefined;
5407
+ "onDiff-step"?: ((_bucketId: string | number, _index: number) => any) | undefined;
5408
+ "onRevert-step"?: ((_bucketId: string | number, _index: number) => any) | undefined;
5409
+ "onGoto-initial"?: ((_bucketId: string | number) => any) | undefined;
5410
+ }>, {
5411
+ gotoEnabled: boolean;
5412
+ showInitial: boolean;
5413
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5414
+ declare const _default$22: typeof __VLS_export$8;
5415
+ //#endregion
5416
+ //#region temp/packages/editor/src/layouts/history-list/HistoryDiffDialog.vue.d.ts
5417
+ type __VLS_Props$7 = {
5418
+ /**
5419
+ * 来自 Editor 顶层的 `extendFormState`,用于扩展 MForm.formState。
5420
+ * 透传给 CompareForm,从而让差异对比时表单 item 中依赖业务上下文的
5421
+ * `display` / `disabled` 等 filterFunction 正常工作。
5422
+ */
5423
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5424
+ /**
5425
+ * 自定义 FormConfig 加载逻辑,透传给 CompareForm。传入后将接管内置的按 `category`
5426
+ * 取配置逻辑,可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
5427
+ */
5428
+ loadConfig?: CompareFormLoadConfig;
5429
+ width?: string;
5430
+ onConfirm?: () => void;
5431
+ selfDiffFieldTypes?: string[];
5432
+ };
5433
+ declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$7, {
5434
+ open: (p: DiffDialogPayload) => void;
5435
+ close: () => void;
5436
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5437
+ close: (...args: any[]) => void;
5438
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$7> & Readonly<{
5439
+ onClose?: ((...args: any[]) => any) | undefined;
5440
+ }>, {
5441
+ width: string;
5442
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5443
+ declare const _default$21: typeof __VLS_export$7;
5284
5444
  //#endregion
5285
5445
  //#region temp/packages/editor/src/components/FloatingBox.vue.d.ts
5286
5446
  interface Position {
@@ -5371,7 +5531,7 @@ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5371
5531
  indent: number;
5372
5532
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5373
5533
  declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
5374
- declare const _default$33: typeof __VLS_export$5;
5534
+ declare const _default$35: typeof __VLS_export$5;
5375
5535
  type __VLS_WithSlots$1<T, S> = T & {
5376
5536
  new (): {
5377
5537
  $slots: S;
@@ -5422,7 +5582,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
5422
5582
  isExpandable: IsExpandableFunction;
5423
5583
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5424
5584
  declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
5425
- declare const _default$34: typeof __VLS_export$4;
5585
+ declare const _default$36: typeof __VLS_export$4;
5426
5586
  type __VLS_WithSlots<T, S> = T & {
5427
5587
  new (): {
5428
5588
  $slots: S;
@@ -5438,7 +5598,7 @@ declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_
5438
5598
  }>, {
5439
5599
  disabled: boolean;
5440
5600
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5441
- declare const _default$25: typeof __VLS_export$3;
5601
+ declare const _default$27: typeof __VLS_export$3;
5442
5602
  //#endregion
5443
5603
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
5444
5604
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
@@ -5469,11 +5629,11 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5469
5629
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
5470
5630
  onAddDiffCount?: (() => any) | undefined;
5471
5631
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
5472
- declare const _default$29: typeof __VLS_export;
5632
+ declare const _default$31: typeof __VLS_export;
5473
5633
  //#endregion
5474
5634
  //#region temp/packages/editor/src/plugin.d.ts
5475
- declare const _default$37: {
5635
+ declare const _default$39: {
5476
5636
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
5477
5637
  };
5478
5638
  //#endregion
5479
- export { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, CodeBlockHistoryGroup, _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, _default$5 as CompareForm, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, _default$8 as ContentMenu, CustomContentMenuFunction, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, DataSourceHistoryGroup, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpType, HistoryState, _default$21 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$22 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$23 as LayerPanel, LayerPanelSlots, Layout, _default$24 as LayoutContainer, _default$24 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$25 as PageFragmentSelect, PageHistoryGroup, PageHistoryStepEntry, PartSortableOptions, PastePosition, PropsFormConfigFunction, _default$26 as PropsFormPanel, PropsFormValueFunction, _default$27 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$28 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepValue, StoreState, StoreStateKey, _default$29 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$30 as TMagicCodeEditor, _default$31 as TMagicEditor, _default$32 as ToolButton, _default$33 as Tree, _default$34 as TreeNode, TreeNodeData, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$35 as codeBlockService, collectRelatedNodes, _default$36 as dataSourceService, debug, _default$37 as default, defaultIsExpandable, _default$38 as depService, designPlugin, displayTabConfig, editorNodeMergeCustomizer, _default$39 as editorService, eqOptions, error, eventTabConfig, _default$40 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$41 as historyService, info, isIncludeDataSource, _default$42 as loadMonaco, log, moveItemsInContainer, numberOptions, _default$43 as propsService, resolveSelectedNode, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$44 as stageOverlayService, _default$45 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$46 as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };
5639
+ export { AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, CodeBlockHistoryGroup, _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, _default$8 as ContentMenu, CustomContentMenuFunction, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, DataSourceHistoryGroup, _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, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, _default$21 as HistoryDiffDialog, _default$22 as HistoryListBucket, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpType, HistoryState, _default$23 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$24 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$25 as LayerPanel, LayerPanelSlots, Layout, _default$26 as LayoutContainer, _default$26 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$27 as PageFragmentSelect, PageHistoryGroup, PageHistoryStepEntry, PartSortableOptions, PastePosition, PropsFormConfigFunction, _default$28 as PropsFormPanel, PropsFormValueFunction, _default$29 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$30 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepValue, StoreState, StoreStateKey, _default$31 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$32 as TMagicCodeEditor, _default$33 as TMagicEditor, _default$34 as ToolButton, _default$35 as Tree, _default$36 as TreeNode, TreeNodeData, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, V_GUIDE_LINE_STORAGE_KEY, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$37 as codeBlockService, collectRelatedNodes, _default$38 as dataSourceService, debug, _default$39 as default, defaultIsExpandable, _default$40 as depService, designPlugin, displayTabConfig, editorNodeMergeCustomizer, _default$41 as editorService, eqOptions, error, eventTabConfig, _default$42 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$43 as historyService, info, isIncludeDataSource, _default$44 as loadMonaco, log, moveItemsInContainer, numberOptions, _default$45 as propsService, resolveSelectedNode, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$46 as stageOverlayService, _default$47 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$48 as uiService, updateStatus, useCodeBlockEdit, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, warn };