@tmagic/editor 1.8.0-beta.1 → 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 (119) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +20 -2
  2. package/dist/es/components/CodeBlockEditor.vue_vue_type_script_setup_true_lang.js +18 -110
  3. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +6 -0
  4. package/dist/es/components/CompareForm.js +5 -0
  5. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +171 -0
  6. package/dist/es/editorProps.js +2 -0
  7. package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +19 -3
  8. package/dist/es/fields/CodeLink.vue_vue_type_script_setup_true_lang.js +2 -5
  9. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +18 -2
  10. package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +37 -6
  11. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +3 -1
  12. package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +2 -2
  13. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +14 -6
  14. package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +3 -1
  15. package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +15 -7
  16. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +14 -6
  17. package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +3 -1
  18. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +58 -11
  19. package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +11 -6
  20. package/dist/es/fields/UISelect.vue_vue_type_script_setup_true_lang.js +8 -5
  21. package/dist/es/hooks/use-code-block-edit.js +2 -2
  22. package/dist/es/hooks/use-stage.js +17 -8
  23. package/dist/es/index.js +5 -1
  24. package/dist/es/initService.js +6 -6
  25. package/dist/es/layouts/CodeEditor.vue_vue_type_script_setup_true_lang.js +6 -5
  26. package/dist/es/layouts/Framework.vue_vue_type_script_setup_true_lang.js +12 -7
  27. package/dist/es/layouts/NavMenu.vue_vue_type_script_setup_true_lang.js +8 -0
  28. package/dist/es/layouts/history-list/Bucket.js +5 -0
  29. package/dist/es/layouts/history-list/Bucket.vue_vue_type_script_setup_true_lang.js +103 -0
  30. package/dist/es/layouts/history-list/BucketTab.js +5 -0
  31. package/dist/es/layouts/history-list/BucketTab.vue_vue_type_script_setup_true_lang.js +73 -0
  32. package/dist/es/layouts/history-list/GroupRow.js +5 -0
  33. package/dist/es/layouts/history-list/GroupRow.vue_vue_type_script_setup_true_lang.js +198 -0
  34. package/dist/es/layouts/history-list/HistoryDiffDialog.js +5 -0
  35. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +245 -0
  36. package/dist/es/layouts/history-list/HistoryListPanel.js +5 -0
  37. package/dist/es/layouts/history-list/HistoryListPanel.vue_vue_type_script_setup_true_lang.js +340 -0
  38. package/dist/es/layouts/history-list/InitialRow.js +5 -0
  39. package/dist/es/layouts/history-list/InitialRow.vue_vue_type_script_setup_true_lang.js +54 -0
  40. package/dist/es/layouts/history-list/PageTab.js +5 -0
  41. package/dist/es/layouts/history-list/PageTab.vue_vue_type_script_setup_true_lang.js +105 -0
  42. package/dist/es/layouts/history-list/composables.js +172 -0
  43. package/dist/es/layouts/sidebar/layer/use-node-status.js +1 -1
  44. package/dist/es/services/BaseService.js +31 -68
  45. package/dist/es/services/codeBlock.js +205 -8
  46. package/dist/es/services/componentList.js +2 -2
  47. package/dist/es/services/dataSource.js +217 -8
  48. package/dist/es/services/dep.js +21 -9
  49. package/dist/es/services/editor.js +350 -160
  50. package/dist/es/services/events.js +2 -2
  51. package/dist/es/services/history.js +410 -12
  52. package/dist/es/services/keybinding.js +2 -2
  53. package/dist/es/services/props.js +8 -8
  54. package/dist/es/services/stageOverlay.js +2 -2
  55. package/dist/es/services/storage.js +2 -2
  56. package/dist/es/services/ui.js +2 -2
  57. package/dist/es/style.css +379 -1
  58. package/dist/es/utils/code-block.js +122 -0
  59. package/dist/es/utils/content-menu.js +4 -5
  60. package/dist/es/utils/dep/worker.js +1 -1
  61. package/dist/es/utils/editor.js +2 -2
  62. package/dist/es/utils/undo-redo.js +20 -0
  63. package/dist/style.css +379 -1
  64. package/dist/tmagic-editor.umd.cjs +3331 -787
  65. package/package.json +7 -7
  66. package/src/Editor.vue +15 -0
  67. package/src/components/CodeBlockEditor.vue +20 -109
  68. package/src/components/CodeParams.vue +6 -0
  69. package/src/components/CompareForm.vue +238 -0
  70. package/src/editorProps.ts +9 -0
  71. package/src/fields/Code.vue +19 -3
  72. package/src/fields/CodeLink.vue +2 -5
  73. package/src/fields/CodeSelect.vue +17 -1
  74. package/src/fields/CodeSelectCol.vue +30 -2
  75. package/src/fields/DataSourceFieldSelect/FieldSelect.vue +7 -1
  76. package/src/fields/DataSourceFieldSelect/Index.vue +2 -2
  77. package/src/fields/DataSourceFields.vue +12 -3
  78. package/src/fields/DataSourceMethodSelect.vue +4 -1
  79. package/src/fields/DataSourceMethods.vue +14 -4
  80. package/src/fields/DataSourceMocks.vue +13 -3
  81. package/src/fields/DataSourceSelect.vue +4 -1
  82. package/src/fields/EventSelect.vue +57 -8
  83. package/src/fields/KeyValue.vue +17 -4
  84. package/src/fields/UISelect.vue +5 -2
  85. package/src/hooks/use-code-block-edit.ts +5 -2
  86. package/src/hooks/use-stage.ts +24 -7
  87. package/src/index.ts +3 -0
  88. package/src/layouts/CodeEditor.vue +17 -5
  89. package/src/layouts/Framework.vue +10 -5
  90. package/src/layouts/NavMenu.vue +9 -0
  91. package/src/layouts/history-list/Bucket.vue +124 -0
  92. package/src/layouts/history-list/BucketTab.vue +77 -0
  93. package/src/layouts/history-list/GroupRow.vue +242 -0
  94. package/src/layouts/history-list/HistoryDiffDialog.vue +231 -0
  95. package/src/layouts/history-list/HistoryListPanel.vue +380 -0
  96. package/src/layouts/history-list/InitialRow.vue +52 -0
  97. package/src/layouts/history-list/PageTab.vue +108 -0
  98. package/src/layouts/history-list/composables.ts +226 -0
  99. package/src/layouts/sidebar/layer/use-node-status.ts +9 -6
  100. package/src/services/BaseService.ts +35 -86
  101. package/src/services/codeBlock.ts +256 -5
  102. package/src/services/dataSource.ts +257 -6
  103. package/src/services/dep.ts +32 -9
  104. package/src/services/editor.ts +454 -171
  105. package/src/services/history.ts +455 -8
  106. package/src/services/props.ts +2 -2
  107. package/src/theme/history-list-panel.scss +462 -0
  108. package/src/theme/theme.scss +1 -0
  109. package/src/type.ts +269 -6
  110. package/src/utils/code-block.ts +150 -0
  111. package/src/utils/content-menu.ts +8 -5
  112. package/src/utils/dep/worker.ts +5 -3
  113. package/src/utils/index.ts +1 -0
  114. package/src/utils/undo-redo.ts +23 -0
  115. package/types/index.d.ts +2274 -819
  116. package/dist/es/utils/compose.js +0 -44
  117. package/dist/es/utils/editor-history.js +0 -100
  118. package/src/utils/compose.ts +0 -52
  119. package/src/utils/editor-history.ts +0 -138
package/types/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormInstallOptions, FormState, FormValue, KeyValueConfig, 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 } 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
4
  import designPlugin, { ButtonProps, DesignPluginOptions } from "@tmagic/design";
@@ -9,6 +9,7 @@ import EventEmitter, { EventEmitter as EventEmitter$1 } from "events";
9
9
  import * as Monaco from "monaco-editor";
10
10
  import Sortable, { Options, SortableEvent } from "sortablejs";
11
11
  import { PascalCasedProperties, Writable } from "type-fest";
12
+ import { FormItemConfig } from "@tmagic/form-schema";
12
13
  import { StyleSchema } from "@tmagic/schema";
13
14
  export * from "@tmagic/form";
14
15
  export * from "@tmagic/table";
@@ -18,10 +19,9 @@ export * from "@tmagic/utils";
18
19
 
19
20
  //#region temp/packages/editor/src/services/BaseService.d.ts
20
21
  /**
21
- * 提供两种方式对Class进行扩展
22
- * 方法1:
22
+ * Class进行扩展
23
23
  * 给Class中的每个方法都添加before after两个钩子
24
- * 给Class添加一个usePlugin方法,use方法可以传入一个包含before或者after方法的对象
24
+ * 给Class添加一个usePlugin方法,usePlugin方法可以传入一个包含before或者after方法的对象
25
25
  *
26
26
  * 例如:
27
27
  * Class EditorService extends BaseService {
@@ -46,37 +46,15 @@ export * from "@tmagic/utils";
46
46
  *
47
47
  * 调用时的参数会透传到before方法的参数中, 然后before的return 会作为原方法的参数和after的参数,after第一个参数则是原方法的return值;
48
48
  * 如需终止后续方法调用可以return new Error();
49
- *
50
- * 方法2:
51
- * 给Class中的每个方法都添加中间件
52
- * 给Class添加一个use方法,use方法可以传入一个包含源对象方法名作为key值的对象
53
- *
54
- * 例如:
55
- * Class EditorService extends BaseService {
56
- * constructor() {
57
- * super([ { name: 'add', isAsync: true },]);
58
- * }
59
- * add(value) { return result; }
60
- * };
61
- *
62
- * const editorService = new EditorService();
63
- * editorService.use({
64
- * add(value, next) { console.log(value); next() },
65
- * });
66
49
  */
67
- declare class export_default extends EventEmitter$1 {
50
+ declare class BaseService extends EventEmitter$1 {
68
51
  private pluginOptionsList;
69
- private middleware;
70
52
  private taskList;
71
53
  private doingTask;
72
54
  constructor(methods?: {
73
55
  name: string;
74
56
  isAsync: boolean;
75
57
  }[], serialMethods?: string[]);
76
- /**
77
- * @deprecated 请使用usePlugin代替
78
- */
79
- use(options: Record<string, Function>): void;
80
58
  usePlugin(options: Record<string, Function>): void;
81
59
  removePlugin(options: Record<string, Function>): void;
82
60
  removeAllPlugins(): void;
@@ -89,7 +67,7 @@ declare const canUsePluginMethods$7: {
89
67
  sync: string[];
90
68
  };
91
69
  type AsyncMethodName$4 = Writable<(typeof canUsePluginMethods$7)['async']>;
92
- declare class CodeBlock extends export_default {
70
+ declare class CodeBlock extends BaseService {
93
71
  private state;
94
72
  constructor();
95
73
  /**
@@ -115,18 +93,32 @@ declare class CodeBlock extends export_default {
115
93
  * 设置代码块ID和代码内容到源dsl
116
94
  * @param {Id} id 代码块id
117
95
  * @param {CodeBlockContent} codeConfig 代码块内容配置信息
96
+ * @param options 可选配置
97
+ * @param options.changeRecords form 端 propPath/value 列表,用于历史记录的精细化撤销/重做
98
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
118
99
  * @returns {void}
119
100
  */
120
- setCodeDslById(id: Id, codeConfig: Partial<CodeBlockContent>): Promise<void>;
101
+ setCodeDslById(id: Id, codeConfig: Partial<CodeBlockContent>, {
102
+ changeRecords,
103
+ doNotPushHistory
104
+ }?: HistoryOpOptionsWithChangeRecords): Promise<void>;
121
105
  /**
122
106
  * 为了兼容历史原因
123
107
  * 设置代码块ID和代码内容到源dsl
124
108
  * @param {Id} id 代码块id
125
109
  * @param {CodeBlockContent} codeConfig 代码块内容配置信息
126
110
  * @param {boolean} force 是否强制写入,默认true
111
+ * @param options 可选配置
112
+ * @param options.changeRecords form 端 propPath/value 列表,用于历史记录的精细化撤销/重做
113
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
114
+ * @param options.historyDescription 入栈时附带的人类可读描述,用于历史面板展示
127
115
  * @returns {void}
128
116
  */
129
- setCodeDslByIdSync(id: Id, codeConfig: Partial<CodeBlockContent>, force?: boolean): void;
117
+ setCodeDslByIdSync(id: Id, codeConfig: Partial<CodeBlockContent>, force?: boolean, {
118
+ changeRecords,
119
+ doNotPushHistory,
120
+ historyDescription
121
+ }?: HistoryOpOptionsWithChangeRecords): void;
130
122
  /**
131
123
  * 根据代码块id数组获取代码dsl
132
124
  * @param {string[]} ids 代码块id数组
@@ -181,10 +173,56 @@ declare class CodeBlock extends export_default {
181
173
  /**
182
174
  * 在dsl数据源中删除指定id的代码块
183
175
  * @param {Id[]} codeIds 需要删除的代码块id数组
176
+ * @param options 可选配置
177
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
184
178
  */
185
- deleteCodeDslByIds(codeIds: Id[]): Promise<void>;
179
+ deleteCodeDslByIds(codeIds: Id[], {
180
+ doNotPushHistory,
181
+ historyDescription
182
+ }?: HistoryOpOptions): Promise<void>;
186
183
  setParamsColConfig(config: TableColumnConfig): void;
187
184
  getParamsColConfig(): TableColumnConfig | undefined;
185
+ /**
186
+ * 撤销指定代码块的最近一次变更。
187
+ *
188
+ * 内部走 setCodeDslByIdSync / deleteCodeDslByIds,因此会自动触发 codeBlockService 的
189
+ * `addOrUpdate` / `remove` 事件,由 initService 中的 handler 重新维护 dep target
190
+ * (DepTargetType.CODE_BLOCK 的 add / remove)。所有写回都带 `doNotPushHistory: true`,
191
+ * 确保不会在历史栈里产生新的记录。
192
+ *
193
+ * @param id 代码块 id
194
+ * @returns 撤销的 step;栈不存在或已无可撤销时返回 null
195
+ */
196
+ undo(id: Id): Promise<CodeBlockStepValue | null>;
197
+ /**
198
+ * 重做指定代码块的下一次变更。
199
+ * @param id 代码块 id
200
+ * @returns 重做的 step;栈不存在或已无可重做时返回 null
201
+ */
202
+ redo(id: Id): Promise<CodeBlockStepValue | null>;
203
+ /** 是否可对指定代码块撤销。 */
204
+ canUndo(id: Id): boolean;
205
+ /** 是否可对指定代码块重做。 */
206
+ canRedo(id: Id): boolean;
207
+ /**
208
+ * 跳转指定代码块的历史栈到目标游标。语义同 editor.gotoPageStep。
209
+ *
210
+ * @param id 代码块 id
211
+ * @param targetCursor 目标游标位置(已应用步骤数量)
212
+ * @returns 实际移动到的最终游标位置
213
+ */
214
+ goto(id: Id, targetCursor: number): Promise<number>;
215
+ /**
216
+ * 「回滚」指定代码块历史步骤(类 git revert 语义):
217
+ * - 不动原始栈结构(不移动 cursor、不丢弃任何步骤);
218
+ * - 把目标 step 的修改**反向应用**一次,并作为**新步骤**追加到栈顶;
219
+ * - 仅对已应用的步骤生效。
220
+ *
221
+ * @param id 代码块 id
222
+ * @param index 目标 step 在该栈中的索引(0 为最早),通常由历史面板传入
223
+ * @returns 反向后产生的新 step;目标不存在 / 未应用时返回 null
224
+ */
225
+ revert(id: Id, index: number): Promise<CodeBlockStepValue | null>;
188
226
  /**
189
227
  * 生成代码块唯一id
190
228
  * @returns {Id} 代码块唯一id
@@ -204,12 +242,32 @@ declare class CodeBlock extends export_default {
204
242
  resetState(): void;
205
243
  destroy(): void;
206
244
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$4, CodeBlock>): void;
245
+ /**
246
+ * 反向应用一个 step 并以新 step 入栈。逻辑与 applyHistoryStep(reverse=true) 同构,
247
+ * 差异仅在于通过公开的 setCodeDslByIdSync / deleteCodeDslByIds 触发 push。
248
+ */
249
+ private applyRevertStep;
250
+ /**
251
+ * 把一条历史 step 应用到当前代码块服务上。
252
+ *
253
+ * 复用现有的 setCodeDslByIdSync / deleteCodeDslByIds,目的是借助它们发出的事件
254
+ * 触发 initService 中的 dep target 维护(CODE_BLOCK 的 add / remove)。
255
+ * 所有写回都带 `doNotPushHistory: true`,确保不会在历史栈里产生新的记录。
256
+ *
257
+ * - oldContent=null, newContent≠null:原始为新增 → undo 删除;redo 再次 setCodeDslByIdSync
258
+ * - oldContent≠null, newContent=null:原始为删除 → undo 还原写入;redo 再次删除
259
+ * - 两侧都有:原始为更新 → 按 changeRecords 局部 patch;缺省退化为整内容替换
260
+ *
261
+ * @param step 历史 step
262
+ * @param reverse true=撤销,false=重做
263
+ */
264
+ private applyHistoryStep;
207
265
  }
208
266
  type CodeBlockService = CodeBlock;
209
- declare const _default$34: CodeBlock;
267
+ declare const _default$37: CodeBlock;
210
268
  //#endregion
211
269
  //#region temp/packages/editor/src/services/componentList.d.ts
212
- declare class ComponentList extends export_default {
270
+ declare class ComponentList extends BaseService {
213
271
  private state;
214
272
  constructor();
215
273
  /**
@@ -238,7 +296,7 @@ declare const canUsePluginMethods$6: {
238
296
  sync: readonly ["getFormConfig", "setFormConfig", "getFormValue", "setFormValue", "getFormEvent", "setFormEvent", "getFormMethod", "setFormMethod", "add", "update", "remove", "createId"];
239
297
  };
240
298
  type SyncMethodName$4 = Writable<(typeof canUsePluginMethods$6)['sync']>;
241
- declare class DataSource extends export_default {
299
+ declare class DataSource extends BaseService {
242
300
  private state;
243
301
  constructor();
244
302
  set<K extends StateKey$1, T extends State$2[K]>(name: K, value: T): void;
@@ -251,7 +309,17 @@ declare class DataSource extends export_default {
251
309
  setFormEvent(type: string, value?: EventOption[]): void;
252
310
  getFormMethod(type?: string): EventOption[];
253
311
  setFormMethod(type: string, value?: EventOption[]): void;
254
- add(config: DataSourceSchema): {
312
+ /**
313
+ * 新增数据源
314
+ * @param config 数据源配置
315
+ * @param options 可选配置
316
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
317
+ * @param options.historyDescription 入栈时附带的人类可读描述,用于历史面板展示
318
+ */
319
+ add(config: DataSourceSchema, {
320
+ doNotPushHistory,
321
+ historyDescription
322
+ }?: HistoryOpOptions): {
255
323
  id: string;
256
324
  type: string;
257
325
  title?: string;
@@ -262,12 +330,70 @@ declare class DataSource extends export_default {
262
330
  events: import("@tmagic/schema").EventConfig[];
263
331
  disabledInitInJsEngine?: (import("@tmagic/schema").JsEngine | string)[];
264
332
  };
333
+ /**
334
+ * 更新数据源
335
+ * @param config 数据源配置
336
+ * @param data 额外数据
337
+ * @param data.changeRecords form 端变更记录
338
+ * @param data.doNotPushHistory 是否不写入历史记录(默认 false)
339
+ * @param data.historyDescription 入栈时附带的人类可读描述,用于历史面板展示
340
+ */
265
341
  update(config: DataSourceSchema, {
266
- changeRecords
267
- }?: {
268
- changeRecords?: ChangeRecord[];
269
- }): DataSourceSchema;
270
- remove(id: string): void;
342
+ changeRecords,
343
+ doNotPushHistory,
344
+ historyDescription
345
+ }?: HistoryOpOptionsWithChangeRecords): DataSourceSchema;
346
+ /**
347
+ * 删除数据源
348
+ * @param id 数据源 id
349
+ * @param options 可选配置
350
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
351
+ * @param options.historyDescription 入栈时附带的人类可读描述,用于历史面板展示
352
+ */
353
+ remove(id: string, {
354
+ doNotPushHistory,
355
+ historyDescription
356
+ }?: HistoryOpOptions): void;
357
+ /**
358
+ * 撤销指定数据源的最近一次变更。
359
+ *
360
+ * 内部走 add / update / remove,因此会自动触发 dataSourceService 的事件,
361
+ * 由 initService 中的对应 handler 重新收集 dep(DATA_SOURCE / DATA_SOURCE_COND / DATA_SOURCE_METHOD)。
362
+ * 所有写回都带 `doNotPushHistory: true`,避免在历史栈里产生新的记录。
363
+ *
364
+ * @param id 数据源 id
365
+ * @returns 撤销的 step;栈不存在或已无可撤销时返回 null
366
+ */
367
+ undo(id: Id): DataSourceStepValue | null;
368
+ /**
369
+ * 重做指定数据源的下一次变更。
370
+ * @param id 数据源 id
371
+ * @returns 重做的 step;栈不存在或已无可重做时返回 null
372
+ */
373
+ redo(id: Id): DataSourceStepValue | null;
374
+ /** 是否可对指定数据源撤销。 */
375
+ canUndo(id: Id): boolean;
376
+ /** 是否可对指定数据源重做。 */
377
+ canRedo(id: Id): boolean;
378
+ /**
379
+ * 跳转指定数据源的历史栈到目标游标。语义同 editor.gotoPageStep。
380
+ *
381
+ * @param id 数据源 id
382
+ * @param targetCursor 目标游标位置(已应用步骤数量)
383
+ * @returns 实际移动到的最终游标位置
384
+ */
385
+ goto(id: Id, targetCursor: number): number;
386
+ /**
387
+ * 「回滚」指定数据源历史步骤(类 git revert 语义):
388
+ * - 不动原始栈结构(不移动 cursor、不丢弃任何步骤);
389
+ * - 把目标 step 的修改**反向应用**一次,并作为**新步骤**追加到栈顶;
390
+ * - 仅对已应用的步骤生效——未应用步骤本身就不存在于当前 schema 中,反向无意义。
391
+ *
392
+ * @param id 数据源 id
393
+ * @param index 目标 step 在该栈中的索引(0 为最早),通常由历史面板传入
394
+ * @returns 反向后产生的新 step;目标不存在 / 未应用时返回 null
395
+ */
396
+ revert(id: Id, index: number): DataSourceStepValue | null;
271
397
  createId(): string;
272
398
  getDataSourceById(id: string): DataSourceSchema | undefined;
273
399
  resetState(): void;
@@ -284,9 +410,29 @@ declare class DataSource extends export_default {
284
410
  * @returns
285
411
  */
286
412
  paste(): void;
413
+ /**
414
+ * 反向应用一个 step 并以新 step 入栈(不带 doNotPushHistory)。逻辑与 applyHistoryStep(reverse=true)
415
+ * 同构,差异仅在于走对应的公共 add / update / remove 而不是带 doNotPushHistory 的版本。
416
+ */
417
+ private applyRevertStep;
418
+ /**
419
+ * 把一条历史 step 应用到当前数据源服务上。
420
+ *
421
+ * 复用现有的 add / update / remove,目的是借助它们发出的事件触发 initService 中
422
+ * 的依赖收集逻辑(DATA_SOURCE / DATA_SOURCE_COND / DATA_SOURCE_METHOD)。
423
+ * 所有写回都带 `doNotPushHistory: true`,确保不会在历史栈里产生新的记录。
424
+ *
425
+ * - oldSchema=null, newSchema≠null:原始为新增 → undo 删除;redo 再次 add
426
+ * - oldSchema≠null, newSchema=null:原始为删除 → undo 还原 add;redo 再次删除
427
+ * - 两侧都有:原始为更新 → 按 changeRecords 局部 patch;缺省退化为整 schema 替换
428
+ *
429
+ * @param step 历史 step
430
+ * @param reverse true=撤销,false=重做
431
+ */
432
+ private applyHistoryStep;
287
433
  }
288
434
  type DataSourceService = DataSource;
289
- declare const _default$35: DataSource;
435
+ declare const _default$38: DataSource;
290
436
  //#endregion
291
437
  //#region temp/packages/editor/src/services/dep.d.ts
292
438
  interface DepEvents {
@@ -300,7 +446,7 @@ interface State$1 {
300
446
  taskLength: number;
301
447
  }
302
448
  type StateKey = keyof State$1;
303
- declare class Dep extends export_default {
449
+ declare class Dep extends BaseService {
304
450
  private state;
305
451
  private idleTask;
306
452
  private watcher;
@@ -331,15 +477,19 @@ declare class Dep extends export_default {
331
477
  reset(): void;
332
478
  destroy(): void;
333
479
  emit<Name extends keyof DepEvents, Param extends DepEvents[Name]>(eventName: Name, ...args: Param): boolean;
480
+ /**
481
+ * 删除指定 page 在该 target 下的旧依赖:
482
+ * 按 pageId 匹配,可清掉页面内已被删除节点的残留依赖
483
+ */
484
+ private removePageDep;
334
485
  private enqueueTask;
335
486
  }
336
487
  type DepService = Dep;
337
- declare const _default$37: Dep;
488
+ declare const _default$40: Dep;
338
489
  //#endregion
339
490
  //#region temp/packages/editor/src/services/editor.d.ts
340
- declare class Editor extends export_default {
491
+ declare class Editor extends BaseService {
341
492
  state: StoreState;
342
- private isHistoryStateChange;
343
493
  private selectionBeforeOp;
344
494
  constructor();
345
495
  /**
@@ -414,18 +564,33 @@ declare class Editor extends export_default {
414
564
  * @param options 可选配置
415
565
  * @param options.doNotSelect 添加后是否不更新当前选中节点(默认 false,添加后会选中新增的节点)
416
566
  * @param options.doNotSwitchPage 添加后是否不切换当前页面(默认 false;新增页面 / 跨页新增时为 true 会跳过会引发页面切换的选中操作)
567
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
417
568
  * @returns 添加后的节点
418
569
  */
419
- add(addNode: AddMNode | MNode[], parent?: MContainer | null, options?: DslOpOptions): Promise<MNode | MNode[]>;
420
- doRemove(node: MNode, options?: DslOpOptions): Promise<void>;
570
+ add(addNode: AddMNode | MNode[], parent?: MContainer | null, {
571
+ doNotSelect,
572
+ doNotSwitchPage,
573
+ doNotPushHistory,
574
+ historyDescription
575
+ }?: DslOpOptions): Promise<MNode | MNode[]>;
576
+ doRemove(node: MNode, {
577
+ doNotSelect,
578
+ doNotSwitchPage
579
+ }?: DslOpOptions): Promise<void>;
421
580
  /**
422
581
  * 删除组件
423
582
  * @param {Object} node 要删除的节点或节点集合
424
583
  * @param options 可选配置
425
584
  * @param options.doNotSelect 删除后是否不更新当前选中节点(默认 false,删除后会选中父节点或首个页面)
426
585
  * @param options.doNotSwitchPage 删除后是否不切换当前页面(默认 false;删除页面 / 页面片段时为 true 会跳过自动切换到首个剩余页面)
586
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
427
587
  */
428
- remove(nodeOrNodeList: MNode | MNode[], options?: DslOpOptions): Promise<void>;
588
+ remove(nodeOrNodeList: MNode | MNode[], {
589
+ doNotSelect,
590
+ doNotSwitchPage,
591
+ doNotPushHistory,
592
+ historyDescription
593
+ }?: DslOpOptions): Promise<void>;
429
594
  doUpdate(config: MNode, {
430
595
  changeRecords
431
596
  }?: {
@@ -439,10 +604,18 @@ declare class Editor extends export_default {
439
604
  * 更新节点
440
605
  * update后会触发依赖收集,收集完后会掉stage.update方法
441
606
  * @param config 新的节点配置,配置中需要有id信息
607
+ * @param data 额外数据
608
+ * @param data.changeRecords 单节点 form 端变更记录(多节点场景下被忽略,使用 changeRecordList)
609
+ * @param data.changeRecordList 多节点 form 端变更记录列表,按 config 数组同序对应每个节点;优先级高于 changeRecords
610
+ * @param data.doNotPushHistory 是否不写入历史记录(默认 false)
611
+ * @param data.historyDescription 入栈时附带的人类可读描述,用于历史面板展示(不影响 undo/redo 行为)
442
612
  * @returns 更新后的节点配置
443
613
  */
444
614
  update(config: MNode | MNode[], data?: {
445
615
  changeRecords?: ChangeRecord[];
616
+ changeRecordList?: ChangeRecord[][];
617
+ doNotPushHistory?: boolean;
618
+ historyDescription?: string;
446
619
  }): Promise<MNode | MNode[]>;
447
620
  /**
448
621
  * 将id为id1的组件移动到id为id2的组件位置上,例如:[1,2,3,4] -> sort(1,3) -> [2,1,3,4]
@@ -451,9 +624,13 @@ declare class Editor extends export_default {
451
624
  * @param options 可选配置
452
625
  * @param options.doNotSelect 排序后是否不更新当前选中节点(默认 false)
453
626
  * @param options.doNotSwitchPage 排序后是否不切换当前页面(排序只发生在同一父节点内,方法内为空操作;保留以与其它 DSL 操作 API 一致)
627
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
454
628
  * @returns void
455
629
  */
456
- sort(id1: Id, id2: Id, options?: DslOpOptions): Promise<void>;
630
+ sort(id1: Id, id2: Id, {
631
+ doNotSelect,
632
+ doNotPushHistory
633
+ }?: DslOpOptions): Promise<void>;
457
634
  /**
458
635
  * 将组件节点配置存储到localStorage中
459
636
  * @param config 组件节点配置
@@ -473,9 +650,14 @@ declare class Editor extends export_default {
473
650
  * @param options 可选配置
474
651
  * @param options.doNotSelect 粘贴后是否不更新当前选中节点(默认 false)
475
652
  * @param options.doNotSwitchPage 粘贴后是否不切换当前页面(默认 false;跨页粘贴时为 true 会跳过页面切换)
653
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
476
654
  * @returns 添加后的组件节点配置
477
655
  */
478
- paste(position?: PastePosition, collectorOptions?: TargetOptions, options?: DslOpOptions): Promise<MNode | MNode[] | void>;
656
+ paste(position?: PastePosition, collectorOptions?: TargetOptions, {
657
+ doNotSelect,
658
+ doNotSwitchPage,
659
+ doNotPushHistory
660
+ }?: DslOpOptions): Promise<MNode | MNode[] | void>;
479
661
  doPaste(config: MNode[], position?: PastePosition): Promise<MNode[]>;
480
662
  doAlignCenter(config: MNode): Promise<MNode>;
481
663
  /**
@@ -484,24 +666,44 @@ declare class Editor extends export_default {
484
666
  * @param options 可选配置
485
667
  * @param options.doNotSelect 居中后是否不更新当前选中节点(默认 false)
486
668
  * @param options.doNotSwitchPage 居中后是否不切换当前页面(居中只更新节点 style,方法内为空操作;保留以与其它 DSL 操作 API 一致)
669
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
487
670
  * @returns 当前组件节点配置
488
671
  */
489
- alignCenter(config: MNode | MNode[], options?: DslOpOptions): Promise<MNode | MNode[]>;
672
+ alignCenter(config: MNode | MNode[], {
673
+ doNotSelect,
674
+ doNotPushHistory
675
+ }?: DslOpOptions): Promise<MNode | MNode[]>;
490
676
  /**
491
677
  * 移动当前选中节点位置
492
678
  * @param offset 偏移量
679
+ * @param options 可选配置
680
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
493
681
  */
494
- moveLayer(offset: number | LayerOffset): Promise<void>;
682
+ moveLayer(offset: number | LayerOffset, {
683
+ doNotPushHistory
684
+ }?: DslOpOptions): Promise<void>;
495
685
  /**
496
- * 移动到指定容器中
497
- * @param config 需要移动的节点
686
+ * 移动一个或多个节点到指定容器中。
687
+ *
688
+ * 多选场景(config 是数组)只会产生一条历史记录,
689
+ * `updatedItems` 涵盖所有源父容器 + 目标容器的前后快照。
690
+ * 这避免了"多选移动到某容器"在历史栈里被切成 N 条记录。
691
+ *
692
+ * @param config 需要移动的节点(或节点数组,各项需带 id;style 等字段会与原节点合并)
498
693
  * @param targetId 容器ID
499
694
  * @param options 可选配置
500
695
  * @param options.doNotSelect 移动后是否不更新当前选中节点(默认 false)
501
696
  * @param options.doNotSwitchPage 移动后是否不切换当前页面(默认 false;目标容器位于其它页面时为 true 会跳过自动选中以避免页面切换)
697
+ * @param options.doNotPushHistory 是否不写入历史记录(默认 false)
502
698
  */
503
- moveToContainer(config: MNode, targetId: Id, options?: DslOpOptions): Promise<MNode | undefined>;
504
- dragTo(config: MNode | MNode[], targetParent: MContainer, targetIndex: number): Promise<void>;
699
+ moveToContainer(config: MNode | MNode[], targetId: Id, {
700
+ doNotSelect,
701
+ doNotSwitchPage,
702
+ doNotPushHistory
703
+ }?: DslOpOptions): Promise<MNode | MNode[]>;
704
+ dragTo(config: MNode | MNode[], targetParent: MContainer, targetIndex: number, {
705
+ doNotPushHistory
706
+ }?: DslOpOptions): Promise<void>;
505
707
  /**
506
708
  * 撤销当前操作
507
709
  * @returns 被撤销的操作
@@ -512,7 +714,36 @@ declare class Editor extends export_default {
512
714
  * @returns 被恢复的操作
513
715
  */
514
716
  redo(): Promise<StepValue | null>;
515
- move(left: number, top: number): Promise<void>;
717
+ /**
718
+ * 「回滚」指定页面历史步骤(类 git revert 语义):
719
+ * - 不动原始历史栈结构(不移动 cursor、不丢弃任何步骤);
720
+ * - 取出 `index` 对应的 step,**反向应用**一次(add→remove / remove→add / update→旧值);
721
+ * - 把这次反向应用作为一条**新步骤**追加到栈顶,可被普通 undo / redo。
722
+ *
723
+ * 与 `gotoPageStep`(类 git reset)的区别在于此操作**不丢弃**目标之后的历史。
724
+ * 与 `applyHistoryOp(reverse=true)` 的区别在于:本方法**不带** `doNotPushHistory`,
725
+ * 反向应用会以一条新 step 入栈;并且不实施 step 中保存的选区与 modifiedNodeIds 状态,
726
+ * 选区由用户当前位置决定,符合"新提交"语义。
727
+ *
728
+ * 仅对处于「已应用」状态的步骤生效——未应用的步骤本身就不存在于当前 DSL 中,反向无意义。
729
+ *
730
+ * @param index 目标 step 在所属页面栈中的索引(0 为最早),通常由历史面板传入
731
+ * @returns 反向后产生的新 step;目标不存在 / 未应用 / 反向失败时返回 null
732
+ */
733
+ revertPageStep(index: number): Promise<StepValue | null>;
734
+ /**
735
+ * 跳转当前页面历史栈到指定游标位置。
736
+ *
737
+ * `targetCursor` 与 `UndoRedo.getCursor()` 同义:表示"已应用步骤数量",
738
+ * 取值范围 `[0, length]`。当目标 < 当前游标时循环 undo,否则循环 redo。
739
+ * 通常由历史面板传入「点击的 step.index + 1」作为目标。
740
+ *
741
+ * @returns 实际移动到的最终游标位置
742
+ */
743
+ gotoPageStep(targetCursor: number): Promise<number>;
744
+ move(left: number, top: number, {
745
+ doNotPushHistory
746
+ }?: DslOpOptions): Promise<void>;
516
747
  resetState(): void;
517
748
  destroy(): void;
518
749
  resetModifiedNodeId(): void;
@@ -525,6 +756,13 @@ declare class Editor extends export_default {
525
756
  private pushOpHistory;
526
757
  /**
527
758
  * 应用历史操作(撤销 / 重做)
759
+ *
760
+ * 所有 DSL 修改都走 `editor.add / remove / update`,并通过 `doNotPushHistory` 阻止再次入栈、
761
+ * `doNotSelect / doNotSwitchPage` 让选区由方法末尾的统一逻辑兜底。
762
+ *
763
+ * 注意:这些公开方法会发出 add / remove / update 事件,业务侧若需要区分"用户操作"与"撤销重做触发",
764
+ * 请监听 `history-change` 事件配合判断。
765
+ *
528
766
  * @param step 操作记录
529
767
  * @param reverse true = 撤销,false = 重做
530
768
  */
@@ -532,7 +770,7 @@ declare class Editor extends export_default {
532
770
  private selectedConfigExceptionHandler;
533
771
  }
534
772
  type EditorService = Editor;
535
- declare const _default$38: Editor;
773
+ declare const _default$41: Editor;
536
774
  //#endregion
537
775
  //#region temp/packages/editor/src/services/events.d.ts
538
776
  declare const canUsePluginMethods$5: {
@@ -541,7 +779,7 @@ declare const canUsePluginMethods$5: {
541
779
  };
542
780
  type AsyncMethodName$3 = Writable<(typeof canUsePluginMethods$5)['async']>;
543
781
  type SyncMethodName$3 = Writable<(typeof canUsePluginMethods$5)['sync']>;
544
- declare class Events extends export_default {
782
+ declare class Events extends BaseService {
545
783
  constructor();
546
784
  setEvents(events: Record<string, EventOption[]>): void;
547
785
  setEvent(type: string, events: EventOption[]): void;
@@ -554,7 +792,7 @@ declare class Events extends export_default {
554
792
  usePlugin(options: AsyncHookPlugin<AsyncMethodName$3, Events> & SyncHookPlugin<SyncMethodName$3, Events>): void;
555
793
  }
556
794
  type EventsService = Events;
557
- declare const _default$39: Events;
795
+ declare const _default$42: Events;
558
796
  //#endregion
559
797
  //#region temp/packages/editor/src/utils/undo-redo.d.ts
560
798
  declare class UndoRedo<T = any> {
@@ -570,33 +808,186 @@ declare class UndoRedo<T = any> {
570
808
  /** 返回被重做的操作 */
571
809
  redo(): T | null;
572
810
  getCurrentElement(): T | null;
811
+ /**
812
+ * 返回栈内全部元素的浅克隆数组(按时间顺序,索引 0 为最早一步)。
813
+ * 仅用于历史面板等只读展示场景,不应直接修改返回值。
814
+ */
815
+ getElementList(): T[];
816
+ /**
817
+ * 当前游标位置:表示已应用的步骤数量。
818
+ * - cursor === 0 表示全部已撤销
819
+ * - cursor === length 表示已重做到末尾
820
+ * 历史面板用于区分"已应用 / 已撤销"两段。
821
+ */
822
+ getCursor(): number;
823
+ /** 栈内总步数。 */
824
+ getLength(): number;
573
825
  }
574
826
  //#endregion
575
827
  //#region temp/packages/editor/src/services/history.d.ts
576
- declare class History extends export_default {
828
+ declare class History extends BaseService {
829
+ /**
830
+ * 把单个代码块栈拆成若干 group:
831
+ * - 把"新增/删除"独立成组(语义上属于一次性事件,不应与 update 合并);
832
+ * - 连续 'update' 合并到同一组,组内 steps 顺序就是发生顺序。
833
+ */
834
+ private static mergeCodeBlockSteps;
835
+ private static mergeDataSourceSteps;
836
+ /**
837
+ * 根据 old/new 是否为 null 推断 opType(与 push 时的约定一致)。
838
+ */
839
+ private static detectOpType;
840
+ /**
841
+ * 把页面栈拆成若干 group:
842
+ * - 单节点的 'update' 按 targetId 与相邻同 targetId 的 update 合并到一个 group;
843
+ * - 'add' / 'remove' 始终独立成组(语义上是结构变更,不应被收纳进单节点修改组);
844
+ * - 多节点 'update'(如批量改属性)也独立成组(无明确单一目标,避免误合并)。
845
+ */
846
+ private static mergePageSteps;
847
+ /**
848
+ * 解析 StepValue 中的"目标节点 id"用于合并:
849
+ * - 单节点 update:取唯一一项 updatedItems 的节点 id;
850
+ * - 其它情形(多节点 update / add / remove):返回 undefined,表示不参与合并。
851
+ */
852
+ private static detectPageTargetId;
853
+ /** 解析 StepValue 中的目标节点可读名(用于 UI 展示)。 */
854
+ private static detectPageTargetName;
577
855
  state: {
578
- pageId?: import("@tmagic/schema").Id | undefined;
579
- pageSteps: Record<import("@tmagic/schema").Id, UndoRedo<StepValue>>;
856
+ pageId?: Id | undefined;
857
+ pageSteps: Record<Id, UndoRedo<StepValue>>;
580
858
  canRedo: boolean;
581
859
  canUndo: boolean;
860
+ codeBlockState: Record<Id, UndoRedo<CodeBlockStepValue>>;
861
+ dataSourceState: Record<Id, UndoRedo<DataSourceStepValue>>;
582
862
  };
583
863
  constructor();
584
864
  reset(): void;
585
865
  resetPage(): void;
586
866
  changePage(page: MPage | MPageFragment): void;
587
867
  resetState(): void;
588
- push(state: StepValue): StepValue | null;
868
+ /**
869
+ * 把一条步骤推入指定页面的栈;不指定 pageId 时落到当前活动页。
870
+ *
871
+ * 跨页操作(例如 `moveToContainer` 把节点搬到其它页)必须显式传入 `pageId`,
872
+ * 否则会把记录错误地落到操作发起页 / 当前激活页,破坏目标页 / 源页的撤销栈语义。
873
+ */
874
+ push(state: StepValue, pageId?: Id): StepValue | null;
875
+ /**
876
+ * 推入一条代码块变更记录(与页面/节点完全无关),按 `codeBlockId` 维度独立一份 UndoRedo 栈。
877
+ *
878
+ * - 新增:oldContent = null,newContent = 新内容
879
+ * - 更新:oldContent / newContent 都为对应内容
880
+ * - 删除:newContent = null,oldContent = 删除前内容
881
+ * - `changeRecords` 来自 form 端,撤销/重做时若有则按 propPath 局部覆盖;缺省才退化为整内容替换。
882
+ * - 不直接驱动 codeBlockService,调用方负责实际写回。
883
+ */
884
+ pushCodeBlock(codeBlockId: Id, payload: {
885
+ oldContent: CodeBlockContent | null;
886
+ newContent: CodeBlockContent | null;
887
+ changeRecords?: ChangeRecord[]; /** 可选的人类可读描述(如「修改按钮颜色」),仅用于历史面板展示。 */
888
+ historyDescription?: string;
889
+ }): CodeBlockStepValue | null;
890
+ /**
891
+ * 推入一条数据源变更记录(与页面/节点完全无关),按 `dataSourceId` 维度独立一份 UndoRedo 栈。
892
+ * 行为同 pushCodeBlock(新增 oldSchema=null;删除 newSchema=null)。
893
+ */
894
+ pushDataSource(dataSourceId: Id, payload: {
895
+ oldSchema: DataSourceSchema | null;
896
+ newSchema: DataSourceSchema | null;
897
+ changeRecords?: ChangeRecord[]; /** 可选的人类可读描述,仅用于历史面板展示。 */
898
+ historyDescription?: string;
899
+ }): DataSourceStepValue | null;
900
+ /** 撤销指定代码块的最近一次变更。 */
901
+ undoCodeBlock(codeBlockId: Id): CodeBlockStepValue | null;
902
+ /** 重做指定代码块的下一次变更。 */
903
+ redoCodeBlock(codeBlockId: Id): CodeBlockStepValue | null;
904
+ /** 是否可对指定代码块撤销。 */
905
+ canUndoCodeBlock(codeBlockId: Id): boolean;
906
+ /** 是否可对指定代码块重做。 */
907
+ canRedoCodeBlock(codeBlockId: Id): boolean;
908
+ /** 撤销指定数据源的最近一次变更。 */
909
+ undoDataSource(dataSourceId: Id): DataSourceStepValue | null;
910
+ /** 重做指定数据源的下一次变更。 */
911
+ redoDataSource(dataSourceId: Id): DataSourceStepValue | null;
912
+ /** 是否可对指定数据源撤销。 */
913
+ canUndoDataSource(dataSourceId: Id): boolean;
914
+ /** 是否可对指定数据源重做。 */
915
+ canRedoDataSource(dataSourceId: Id): boolean;
589
916
  undo(): StepValue | null;
590
917
  redo(): StepValue | null;
591
918
  destroy(): void;
919
+ /**
920
+ * 取出当前活动页的历史步骤平铺列表(包含已应用 + 已撤销)。
921
+ * 列表按时间正序,最早一步在最前面。
922
+ * 通常 UI 应使用 `getPageHistoryGroups` 取已合并分组的版本;本方法仅为兼容/调试保留。
923
+ */
924
+ getPageStepList(pageId?: Id): PageHistoryStepEntry[];
925
+ /**
926
+ * 取出当前活动页的历史栈,按"目标节点"做相邻合并:
927
+ * - 连续修改同一节点(单节点 update)的多步合并为一个 group,组内可展开查看每步;
928
+ * - add / remove / 多节点 update 始终独立成组。
929
+ * 用于历史面板的"页面"tab 展示。
930
+ */
931
+ getPageHistoryGroups(pageId?: Id): PageHistoryGroup[];
932
+ /**
933
+ * 取出全部代码块的历史栈,按 codeBlockId 分组。
934
+ * 同一栈内相邻、同 opType 且作用于同一 id 的多步会被合并为一个 group:
935
+ * - 这正是"代码块/数据源各自按 id 分栈"的天然表现,再叠加"连续修改同目标的相邻步骤合并展示"。
936
+ * - 合并后 group 暴露子步骤数组,UI 可展开查看每一步的 changeRecords。
937
+ * - applied 字段:组内最后一步是否处于已应用段。
938
+ */
939
+ getCodeBlockHistoryGroups(): CodeBlockHistoryGroup[];
940
+ /**
941
+ * 读取指定页面历史栈的当前游标(已应用步骤数量)。不传则取当前活动页。
942
+ * 没有对应栈时返回 0。
943
+ */
944
+ getPageCursor(pageId?: Id): number;
945
+ /** 读取指定代码块历史栈的当前游标。 */
946
+ getCodeBlockCursor(codeBlockId: Id): number;
947
+ /** 读取指定数据源历史栈的当前游标。 */
948
+ getDataSourceCursor(dataSourceId: Id): number;
949
+ /**
950
+ * 取出指定代码块历史栈的平铺步骤列表(含 applied 标记)。供 revert 等按 index 索引步骤使用。
951
+ */
952
+ getCodeBlockStepList(codeBlockId: Id): {
953
+ step: CodeBlockStepValue;
954
+ index: number;
955
+ applied: boolean;
956
+ }[];
957
+ /**
958
+ * 取出指定数据源历史栈的平铺步骤列表(含 applied 标记)。供 revert 等按 index 索引步骤使用。
959
+ */
960
+ getDataSourceStepList(dataSourceId: Id): {
961
+ step: DataSourceStepValue;
962
+ index: number;
963
+ applied: boolean;
964
+ }[];
965
+ /**
966
+ * 取出全部数据源的历史栈,按 dataSourceId 分组。同上。
967
+ */
968
+ getDataSourceHistoryGroups(): DataSourceHistoryGroup[];
969
+ /**
970
+ * 取出指定页面的栈;不传 pageId 时按当前活动页取。
971
+ *
972
+ * 跨页 push 时如果目标页的栈尚不存在(用户从未进入过该页),会按需创建一条空栈,
973
+ * 这样切到目标页时 Ctrl+Z 也能撤回该步骤。
974
+ */
592
975
  private getUndoRedo;
593
976
  private setCanUndoRedo;
977
+ /**
978
+ * 按 id 获取(或创建)指定代码块的 UndoRedo 栈。
979
+ */
980
+ private getCodeBlockUndoRedo;
981
+ /**
982
+ * 按 id 获取(或创建)指定数据源的 UndoRedo 栈。
983
+ */
984
+ private getDataSourceUndoRedo;
594
985
  }
595
986
  type HistoryService = History;
596
- declare const _default$40: History;
987
+ declare const _default$43: History;
597
988
  //#endregion
598
989
  //#region temp/packages/editor/src/services/keybinding.d.ts
599
- declare class Keybinding extends export_default {
990
+ declare class Keybinding extends BaseService {
600
991
  ctrlKey: string;
601
992
  private controllers;
602
993
  private bindingList;
@@ -640,7 +1031,7 @@ declare const canUsePluginMethods$4: {
640
1031
  };
641
1032
  type AsyncMethodName$2 = Writable<(typeof canUsePluginMethods$4)['async']>;
642
1033
  type SyncMethodName$2 = Writable<(typeof canUsePluginMethods$4)['sync']>;
643
- declare class Props extends export_default {
1034
+ declare class Props extends BaseService {
644
1035
  private state;
645
1036
  constructor();
646
1037
  setDisabledDataSource(disabled: boolean): void;
@@ -731,7 +1122,7 @@ declare class Props extends export_default {
731
1122
  private setRelateId;
732
1123
  }
733
1124
  type PropsService = Props;
734
- declare const _default$42: Props;
1125
+ declare const _default$45: Props;
735
1126
  //#endregion
736
1127
  //#region temp/packages/editor/src/services/stageOverlay.d.ts
737
1128
  declare const canUsePluginMethods$3: {
@@ -739,7 +1130,7 @@ declare const canUsePluginMethods$3: {
739
1130
  sync: readonly ["openOverlay", "closeOverlay", "updateOverlay", "createStage"];
740
1131
  };
741
1132
  type SyncMethodName$1 = Writable<(typeof canUsePluginMethods$3)['sync']>;
742
- declare class StageOverlay extends export_default {
1133
+ declare class StageOverlay extends BaseService {
743
1134
  private state;
744
1135
  constructor();
745
1136
  get<K extends keyof StageOverlayState>(name: K): StageOverlayState[K];
@@ -758,7 +1149,7 @@ declare class StageOverlay extends export_default {
758
1149
  private updateSelectStatus;
759
1150
  }
760
1151
  type StageOverlayService = StageOverlay;
761
- declare const _default$43: StageOverlay;
1152
+ declare const _default$46: StageOverlay;
762
1153
  //#endregion
763
1154
  //#region temp/packages/editor/src/services/storage.d.ts
764
1155
  interface Options$1 {
@@ -780,7 +1171,7 @@ type SyncMethodName = Writable<(typeof canUsePluginMethods$2)['sync']>;
780
1171
  /**
781
1172
  * 数据存储服务
782
1173
  */
783
- declare class WebStorage extends export_default {
1174
+ declare class WebStorage extends BaseService {
784
1175
  private storage;
785
1176
  private namespace;
786
1177
  constructor();
@@ -821,7 +1212,7 @@ declare class WebStorage extends export_default {
821
1212
  private getValueAndProtocol;
822
1213
  }
823
1214
  type StorageService = WebStorage;
824
- declare const _default$44: WebStorage;
1215
+ declare const _default$47: WebStorage;
825
1216
  //#endregion
826
1217
  //#region temp/packages/editor/src/services/ui.d.ts
827
1218
  declare const canUsePluginMethods$1: {
@@ -829,7 +1220,7 @@ declare const canUsePluginMethods$1: {
829
1220
  sync: readonly [];
830
1221
  };
831
1222
  type AsyncMethodName$1 = Writable<(typeof canUsePluginMethods$1)['async']>;
832
- declare class Ui extends export_default {
1223
+ declare class Ui extends BaseService {
833
1224
  constructor();
834
1225
  set<K extends keyof UiState, T extends UiState[K]>(name: K, value: T): void;
835
1226
  get<K extends keyof UiState>(name: K): import("@vue/reactivity").ShallowReactive<UiState>[K];
@@ -841,7 +1232,7 @@ declare class Ui extends export_default {
841
1232
  private setStageRect;
842
1233
  }
843
1234
  type UiService = Ui;
844
- declare const _default$45: Ui;
1235
+ declare const _default$48: Ui;
845
1236
  //#endregion
846
1237
  //#region temp/packages/editor/src/type.d.ts
847
1238
  type EditorSlots = FrameworkSlots & WorkspaceSlots & SidebarSlots & PropsPanelSlots & {
@@ -937,7 +1328,7 @@ interface EditorInstallOptions {
937
1328
  customCreateMonacoEditor: (monaco: typeof import('monaco-editor'), codeEditorEl: HTMLElement, options: Monaco.editor.IStandaloneEditorConstructionOptions & {
938
1329
  editorCustomType?: string;
939
1330
  }) => Promise<Monaco.editor.IStandaloneCodeEditor> | Monaco.editor.IStandaloneCodeEditor;
940
- customCreateMonacoDiffEditor: (monaco: typeof import('monaco-editor'), codeEditorEl: HTMLElement, options: Monaco.editor.IStandaloneEditorConstructionOptions & {
1331
+ customCreateMonacoDiffEditor: (monaco: typeof import('monaco-editor'), codeEditorEl: HTMLElement, options: Monaco.editor.IStandaloneDiffEditorConstructionOptions & {
941
1332
  editorCustomType?: string;
942
1333
  }) => Promise<Monaco.editor.IStandaloneDiffEditor> | Monaco.editor.IStandaloneDiffEditor;
943
1334
  [key: string]: any;
@@ -985,6 +1376,11 @@ interface StageOptions {
985
1376
  */
986
1377
  alwaysMultiSelect?: boolean;
987
1378
  disabledRule?: boolean;
1379
+ /**
1380
+ * 禁用「非点击画布选中组件时(如从图层树、面包屑等外部选中),对选中区域做高亮闪烁提示」,
1381
+ * 默认 false(即默认开启闪烁)
1382
+ */
1383
+ disabledFlashTip?: boolean;
988
1384
  zoom?: number;
989
1385
  /** 画布双击前的钩子函数,返回 false 则阻止默认的双击行为 */
990
1386
  beforeDblclick?: (event: MouseEvent) => Promise<boolean | void> | boolean | void;
@@ -1175,8 +1571,9 @@ interface MenuComponent {
1175
1571
  * 'rule': 显示隐藏标尺
1176
1572
  * 'scale-to-original': 缩放到实际大小
1177
1573
  * 'scale-to-fit': 缩放以适应
1574
+ * 'history-list': 历史记录面板(按 页面 / 数据源 / 代码块 三个 tab 展示,相邻同目标修改自动合并)
1178
1575
  */
1179
- type MenuItem = '/' | 'delete' | 'undo' | 'redo' | 'zoom' | 'zoom-in' | 'zoom-out' | 'guides' | 'rule' | 'scale-to-original' | 'scale-to-fit' | MenuButton | MenuComponent | string;
1576
+ type MenuItem = '/' | 'delete' | 'undo' | 'redo' | 'zoom' | 'zoom-in' | 'zoom-out' | 'guides' | 'rule' | 'scale-to-original' | 'scale-to-fit' | 'history-list' | MenuButton | MenuComponent | string;
1180
1577
  /** 工具栏 */
1181
1578
  interface MenuBarData {
1182
1579
  /** 顶部工具栏左边项 */
@@ -1205,6 +1602,55 @@ interface SideComponent extends MenuComponent {
1205
1602
  props?: Record<string, any>;
1206
1603
  };
1207
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>;
1208
1654
  declare enum SideItemKey {
1209
1655
  COMPONENT_LIST = "component-list",
1210
1656
  LAYER = "layer",
@@ -1337,17 +1783,167 @@ interface StepValue {
1337
1783
  parentId: Id;
1338
1784
  index: number;
1339
1785
  }[];
1340
- /** opType 'update': 变更前后的节点快照 */
1786
+ /**
1787
+ * opType 'update': 变更前后的节点快照
1788
+ *
1789
+ * `changeRecords` 来自 form 端的 propPath/value 列表,撤销/重做时只对这些 propPath 做局部更新;
1790
+ * 缺省(未传 / 空数组)才退化为整节点替换。
1791
+ */
1341
1792
  updatedItems?: {
1342
1793
  oldNode: MNode;
1343
1794
  newNode: MNode;
1795
+ changeRecords?: ChangeRecord[];
1344
1796
  }[];
1797
+ /**
1798
+ * 调用方可选传入的人类可读描述(如「调整按钮颜色」),用于历史面板展示。
1799
+ * 不影响 undo/redo 行为;缺省时面板会根据节点 / propPath 自动生成描述。
1800
+ */
1801
+ historyDescription?: string;
1802
+ /**
1803
+ * 入栈时间戳(毫秒)。在 historyService.push 时自动写入(若调用方未指定),仅用于历史面板展示。
1804
+ */
1805
+ timestamp?: number;
1806
+ }
1807
+ /**
1808
+ * 代码块历史记录条目。按 codeBlock.id 分组保存到 historyState.codeBlockState。
1809
+ * - 新增:oldContent = null,newContent = 新内容
1810
+ * - 更新:oldContent / newContent 都为对应内容
1811
+ * - 删除:newContent = null,oldContent = 删除前内容
1812
+ */
1813
+ interface CodeBlockStepValue {
1814
+ /** 关联的代码块 id */
1815
+ id: Id;
1816
+ /** 变更前的代码块内容,新增时为 null */
1817
+ oldContent: CodeBlockContent | null;
1818
+ /** 变更后的代码块内容,删除时为 null */
1819
+ newContent: CodeBlockContent | null;
1820
+ /**
1821
+ * form 端 propPath/value 列表。撤销/重做时若有则按 propPath 局部更新;
1822
+ * 缺省才退化为整内容替换。新增/删除场景通常无 changeRecords。
1823
+ */
1824
+ changeRecords?: ChangeRecord[];
1825
+ /** 调用方可选传入的人类可读描述,用于历史面板展示;不影响 undo/redo 行为。 */
1826
+ historyDescription?: string;
1827
+ /** 入栈时间戳(毫秒),入栈时自动写入,仅用于历史面板展示。 */
1828
+ timestamp?: number;
1829
+ }
1830
+ /**
1831
+ * 数据源历史记录条目。按 dataSource.id 分组保存到 historyState.dataSourceState。
1832
+ * - 新增:oldSchema = null,newSchema = 新 schema
1833
+ * - 更新:oldSchema / newSchema 都为对应 schema
1834
+ * - 删除:newSchema = null,oldSchema = 删除前 schema
1835
+ */
1836
+ interface DataSourceStepValue {
1837
+ /** 关联的数据源 id */
1838
+ id: Id;
1839
+ /** 变更前的数据源 schema,新增时为 null */
1840
+ oldSchema: DataSourceSchema | null;
1841
+ /** 变更后的数据源 schema,删除时为 null */
1842
+ newSchema: DataSourceSchema | null;
1843
+ /**
1844
+ * form 端 propPath/value 列表。撤销/重做时若有则按 propPath 局部更新;
1845
+ * 缺省才退化为整 schema 替换。新增/删除场景通常无 changeRecords。
1846
+ */
1847
+ changeRecords?: ChangeRecord[];
1848
+ /** 调用方可选传入的人类可读描述,用于历史面板展示;不影响 undo/redo 行为。 */
1849
+ historyDescription?: string;
1850
+ /** 入栈时间戳(毫秒),入栈时自动写入,仅用于历史面板展示。 */
1851
+ timestamp?: number;
1345
1852
  }
1346
1853
  interface HistoryState {
1347
1854
  pageId?: Id;
1348
1855
  pageSteps: Record<Id, UndoRedo<StepValue>>;
1349
1856
  canRedo: boolean;
1350
1857
  canUndo: boolean;
1858
+ /**
1859
+ * 代码块历史栈,按 codeBlock.id 分组(每个代码块独立一份 UndoRedo)。
1860
+ * 与页面/节点无关,支持独立 undo/redo。
1861
+ */
1862
+ codeBlockState: Record<Id, UndoRedo<CodeBlockStepValue>>;
1863
+ /**
1864
+ * 数据源历史栈,按 dataSource.id 分组(每个数据源独立一份 UndoRedo)。
1865
+ * 与页面/节点无关,支持独立 undo/redo。
1866
+ */
1867
+ dataSourceState: Record<Id, UndoRedo<DataSourceStepValue>>;
1868
+ }
1869
+ /**
1870
+ * 历史面板用:当前页面的一条历史步骤(包含位置和是否已应用)。
1871
+ */
1872
+ interface PageHistoryStepEntry {
1873
+ /** 步骤内容 */
1874
+ step: StepValue;
1875
+ /** 在所属栈中的索引(0 为最早) */
1876
+ index: number;
1877
+ /** 是否处于"已应用"段(即位于栈游标之前)。撤销后变为 false。 */
1878
+ applied: boolean;
1879
+ /** 是否为当前所在的步骤(栈中最近一次已应用的那一步,即 index === cursor - 1)。 */
1880
+ isCurrent?: boolean;
1881
+ }
1882
+ /**
1883
+ * 页面历史面板分组。
1884
+ * - 连续修改同一目标节点(updatedItems[0].oldNode.id 一致)的 'update' 步骤合并成一组;
1885
+ * - 多节点更新 / add / remove 始终独立成组(无法明确归属单一目标)。
1886
+ * - targetId 为 undefined 表示"无明确目标"(如 add/remove/多节点 update),不参与合并。
1887
+ */
1888
+ interface PageHistoryGroup {
1889
+ kind: 'page';
1890
+ /** 所属页面 id */
1891
+ pageId: Id;
1892
+ /** 该分组的操作类型 */
1893
+ opType: HistoryOpType;
1894
+ /**
1895
+ * 合并的目标节点 id;只有"单节点 update"才有值,并按此 id 与相邻同 id 的 update 合并。
1896
+ * undefined 表示该分组不可被合并(add / remove / 多节点 update)。
1897
+ */
1898
+ targetId?: Id;
1899
+ /** 目标节点的可读名(取最后一步的 newNode.name/type/id) */
1900
+ targetName?: string;
1901
+ /** 组内所有步骤,按时间正序 */
1902
+ steps: PageHistoryStepEntry[];
1903
+ /** 组内最后一步是否已应用 */
1904
+ applied: boolean;
1905
+ /** 是否为当前所在的分组(包含栈中最近一次已应用步骤的那一组)。 */
1906
+ isCurrent?: boolean;
1907
+ }
1908
+ /**
1909
+ * 代码块历史面板分组。
1910
+ * - 同一 codeBlockId 的栈内,相邻的 'update' 操作会合并成一个 group;
1911
+ * - 'add' / 'remove' 始终独立成组(语义上是一次性事件)。
1912
+ */
1913
+ interface CodeBlockHistoryGroup {
1914
+ kind: 'code-block';
1915
+ /** 关联的 codeBlock id */
1916
+ id: Id;
1917
+ /** 该分组的操作类型 */
1918
+ opType: HistoryOpType;
1919
+ /** 组内所有步骤,按时间正序 */
1920
+ steps: {
1921
+ step: CodeBlockStepValue;
1922
+ index: number;
1923
+ applied: boolean;
1924
+ isCurrent?: boolean;
1925
+ }[];
1926
+ /** 组内最后一步是否已应用,用于整组的状态展示 */
1927
+ applied: boolean;
1928
+ /** 是否为当前所在的分组(包含该栈最近一次已应用步骤的那一组)。 */
1929
+ isCurrent?: boolean;
1930
+ }
1931
+ /**
1932
+ * 数据源历史面板分组,结构同 CodeBlockHistoryGroup。
1933
+ */
1934
+ interface DataSourceHistoryGroup {
1935
+ kind: 'data-source';
1936
+ id: Id;
1937
+ opType: HistoryOpType;
1938
+ steps: {
1939
+ step: DataSourceStepValue;
1940
+ index: number;
1941
+ applied: boolean;
1942
+ isCurrent?: boolean;
1943
+ }[];
1944
+ applied: boolean;
1945
+ /** 是否为当前所在的分组(包含该栈最近一次已应用步骤的那一组)。 */
1946
+ isCurrent?: boolean;
1351
1947
  }
1352
1948
  declare enum KeyBindingCommand {
1353
1949
  /** 复制 */
@@ -1507,24 +2103,49 @@ declare const canUsePluginMethods: {
1507
2103
  sync: never[];
1508
2104
  };
1509
2105
  type AsyncMethodName = Writable<(typeof canUsePluginMethods)['async']>;
2106
+ /**
2107
+ * 历史记录写入相关的通用配置(codeBlock / dataSource / editor 共用)
2108
+ * - doNotPushHistory: 操作完成后是否不要将本次操作压入历史栈(撤销/重做记录),默认 false
2109
+ * - historyDescription: 入栈时附带的人类可读描述,用于历史面板展示;不影响 undo/redo 行为,缺省时面板会自动生成描述
2110
+ */
2111
+ interface HistoryOpOptions {
2112
+ doNotPushHistory?: boolean;
2113
+ historyDescription?: string;
2114
+ }
2115
+ /**
2116
+ * 在 HistoryOpOptions 基础上携带 form 端 propPath/value 变更记录,
2117
+ * 用于历史记录的精细化撤销/重做(按 propPath 局部 patch)。
2118
+ */
2119
+ interface HistoryOpOptionsWithChangeRecords extends HistoryOpOptions {
2120
+ changeRecords?: ChangeRecord[];
2121
+ }
1510
2122
  /**
1511
2123
  * DSL 修改类操作的通用配置
1512
2124
  * - doNotSelect: 操作后是否不要自动触发选中(不调用 this.select / this.multiSelect / stage.select / stage.multiSelect)
1513
2125
  * - doNotSwitchPage: 操作若会引发当前页面切换(如新增 / 删除 / 跨页移动),是否跳过这次切换
1514
2126
  */
1515
- type DslOpOptions = {
2127
+ interface DslOpOptions extends HistoryOpOptions {
1516
2128
  doNotSelect?: boolean;
1517
2129
  doNotSwitchPage?: boolean;
1518
- };
1519
- //#endregion
1520
- //#region temp/packages/form/src/schema.d.ts
1521
- interface ChangeRecord$1 {
1522
- propPath?: string;
1523
- value: any;
1524
2130
  }
1525
- interface ContainerChangeEventData$1 {
1526
- modifyKey?: string;
1527
- changeRecords?: ChangeRecord$1[];
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;
1528
2149
  }
1529
2150
  //#endregion
1530
2151
  //#region temp/packages/editor/src/hooks/use-code-block-edit.d.ts
@@ -1547,7 +2168,7 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
1547
2168
  visible?: boolean;
1548
2169
  }> & Readonly<{
1549
2170
  onClose?: (() => any) | undefined;
1550
- onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined;
2171
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
1551
2172
  onOpen?: (() => any) | undefined;
1552
2173
  "onUpdate:width"?: ((value: number) => any) | undefined;
1553
2174
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
@@ -1556,7 +2177,7 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
1556
2177
  hide(): Promise<void>;
1557
2178
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
1558
2179
  close: () => any;
1559
- submit: (values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any;
2180
+ submit: (values: CodeBlockContent, eventData: ContainerChangeEventData) => any;
1560
2181
  open: () => any;
1561
2182
  "update:width": (value: number) => any;
1562
2183
  "update:visible": (value: boolean) => any;
@@ -1579,7 +2200,7 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
1579
2200
  visible?: boolean;
1580
2201
  }> & Readonly<{
1581
2202
  onClose?: (() => any) | undefined;
1582
- onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData$1) => any) | undefined;
2203
+ onSubmit?: ((values: CodeBlockContent, eventData: ContainerChangeEventData) => any) | undefined;
1583
2204
  onOpen?: (() => any) | undefined;
1584
2205
  "onUpdate:width"?: ((value: number) => any) | undefined;
1585
2206
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
@@ -1590,7 +2211,7 @@ declare const useCodeBlockEdit: (codeBlockService: Services["codeBlockService"])
1590
2211
  createCodeBlock: () => Promise<void>;
1591
2212
  editCode: (id: string) => Promise<void>;
1592
2213
  deleteCode: (key: string) => Promise<void>;
1593
- submitCodeBlockHandler: (values: CodeBlockContent) => Promise<void>;
2214
+ submitCodeBlockHandler: (values: CodeBlockContent, eventData?: ContainerChangeEventData) => Promise<void>;
1594
2215
  };
1595
2216
  //#endregion
1596
2217
  //#region temp/packages/editor/src/hooks/use-stage.d.ts
@@ -1706,6 +2327,49 @@ declare const fillConfig: (config?: FormConfig, {
1706
2327
  disabledCodeBlock?: boolean;
1707
2328
  }) => FormConfig;
1708
2329
  //#endregion
2330
+ //#region temp/packages/editor/src/utils/code-block.d.ts
2331
+ /**
2332
+ * 代码块编辑表单配置的统一入口。
2333
+ *
2334
+ * 用于:
2335
+ * - `CodeBlockEditor.vue`:作为代码块新增/编辑的表单结构;
2336
+ * - `CompareForm.vue`:在历史差异对比中以"代码块"形态展示前后值。
2337
+ *
2338
+ * 通过参数控制两端的细微差异(是否启用必填校验 / vs-code onChange 校验 / dataSource 相关字段显示规则等),
2339
+ * 避免两边同步两份相同的 schema 而造成漂移。
2340
+ */
2341
+ interface GetCodeBlockFormConfigOptions {
2342
+ /**
2343
+ * 自定义 `params` 表格的"参数类型"列配置。优先级高于内置默认值;
2344
+ * 通常由 `codeBlockService.getParamsColConfig()` 注入业务侧的扩展。
2345
+ */
2346
+ paramColConfig?: TableColumnConfig;
2347
+ /**
2348
+ * 是否在「数据源代码块」语境下使用:
2349
+ * - true:`执行时机` 字段会展示,`请求前 / 请求后` 选项仅在 `dataSourceType !== 'base'` 时出现;
2350
+ * - false:`执行时机` 字段隐藏(普通代码块没有时机概念)。
2351
+ *
2352
+ * 注意这里以函数形式传入是为了让 `display` / `options` 在每次渲染时实时取值,
2353
+ * 例如外部 `props.isDataSource` 切换或 `dataSourceType` 变更都能立即生效。
2354
+ */
2355
+ isDataSource?: () => boolean;
2356
+ /** 当 isDataSource 为 true 时使用:返回当前数据源类型(`base` / `http` / ...),决定时机选项是否包含请求前后。 */
2357
+ dataSourceType?: () => string | undefined;
2358
+ /** vs-code 编辑器的额外 monaco options。一般传 `inject('codeOptions', {})` 的结果。 */
2359
+ codeOptions?: Record<string, any>;
2360
+ /**
2361
+ * 是否启用编辑态特性:
2362
+ * - true(默认):`name` 字段加必填校验;vs-code 的 `onChange` 会调用 `parseDSL` 检查语法,出错时弹消息并抛错;
2363
+ * - false:纯只读/对比场景,不加校验逻辑。
2364
+ */
2365
+ editable?: boolean;
2366
+ }
2367
+ /**
2368
+ * 生成代码块表单配置。返回的是普通对象数组,可直接传给 `<MForm :config>`;
2369
+ * 如需响应式的 props 变化(如切换 dataSourceType),调用方在 `computed` 中再次调用本函数即可。
2370
+ */
2371
+ declare const getCodeBlockFormConfig: (options?: GetCodeBlockFormConfigOptions) => FormConfig;
2372
+ //#endregion
1709
2373
  //#region temp/packages/editor/src/utils/logger.d.ts
1710
2374
  declare const log: (...args: any[]) => void;
1711
2375
  declare const info: (...args: any[]) => void;
@@ -1953,7 +2617,34 @@ declare const H_GUIDE_LINE_STORAGE_KEY = "$MagicStageHorizontalGuidelinesData";
1953
2617
  declare const V_GUIDE_LINE_STORAGE_KEY = "$MagicStageVerticalGuidelinesData";
1954
2618
  //#endregion
1955
2619
  //#region temp/packages/editor/src/utils/monaco-editor.d.ts
1956
- declare const _default$41: () => Promise<typeof import("monaco-editor")>;
2620
+ declare const _default$44: () => Promise<typeof import("monaco-editor")>;
2621
+ //#endregion
2622
+ //#region temp/packages/form/src/schema.d.ts
2623
+ interface ChangeRecord$1 {
2624
+ propPath?: string;
2625
+ value: any;
2626
+ }
2627
+ interface ContainerChangeEventData$1 {
2628
+ modifyKey?: string;
2629
+ changeRecords?: ChangeRecord$1[];
2630
+ }
2631
+ /** 自定义 label slot 的作用域参数 */
2632
+ interface FormLabelSlotProps {
2633
+ /** 当前表单项配置 */
2634
+ config: FormItemConfig;
2635
+ /** 经处理后的类型 */
2636
+ type: string;
2637
+ /** 经 filterFunction 处理后的 label 文案 */
2638
+ text?: string;
2639
+ /** 完整字段路径(包含父级前缀) */
2640
+ prop: string;
2641
+ /** 经 filterFunction 处理后的最终禁用状态 */
2642
+ disabled?: boolean;
2643
+ }
2644
+ /** Form / Container 暴露的具名 slot 定义 */
2645
+ interface FormSlots {
2646
+ label(_props: FormLabelSlotProps): any;
2647
+ }
1957
2648
  //#endregion
1958
2649
  //#region temp/packages/editor/src/editorProps.d.ts
1959
2650
  interface EditorProps {
@@ -1965,6 +2656,8 @@ interface EditorProps {
1965
2656
  datasourceList?: DatasourceTypeOption[];
1966
2657
  /** 左侧面板配置 */
1967
2658
  sidebar?: SideBarData;
2659
+ /** 是否隐藏左侧面板 */
2660
+ hideSidebar?: boolean;
1968
2661
  /** 顶部工具栏配置 */
1969
2662
  menu?: MenuBarData;
1970
2663
  /** 组件树右键菜单 */
@@ -2023,6 +2716,8 @@ interface EditorProps {
2023
2716
  alwaysMultiSelect?: boolean;
2024
2717
  /** 禁用页面片 */
2025
2718
  disabledPageFragment?: boolean;
2719
+ /** 禁用「非点击画布选中组件时(如从图层树、面包屑等外部选中),对选中区域做高亮闪烁提示」,默认 false(即默认开启闪烁) */
2720
+ disabledFlashTip?: boolean;
2026
2721
  /** 禁用双击在浮层中单独编辑选中组件 */
2027
2722
  disabledStageOverlay?: boolean;
2028
2723
  /** 禁用属性配置面板右下角显示源码的按钮 */
@@ -2062,6 +2757,8 @@ interface EditorProps {
2062
2757
  /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
2063
2758
  beforeLayerNodeDblclick?: (event: MouseEvent, data: TreeNodeData) => Promise<boolean | void> | boolean | void;
2064
2759
  extendFormState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2760
+ /** 历史记录面板的自定义扩展 tab,追加在内置的页面/数据源/代码块 tab 之后 */
2761
+ historyListExtraTabs?: HistoryListExtraTab[];
2065
2762
  /** 页面顺序拖拽配置参数 */
2066
2763
  pageBarSortOptions?: PageBarSortOptions;
2067
2764
  /** 页面搜索函数 */
@@ -2117,7 +2814,142 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2117
2814
  "onSubmit-error"?: ((e: any) => any) | undefined;
2118
2815
  "onForm-error"?: ((e: any) => any) | undefined;
2119
2816
  }>, {
2120
- configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
2817
+ configForm: Readonly<import("@vue/reactivity").ShallowRef<({
2818
+ $: import("@vue/runtime-core").ComponentInternalInstance;
2819
+ $data: {};
2820
+ $props: {
2821
+ readonly config: import("@tmagic/form-schema").FormConfig;
2822
+ readonly initValues: Record<string, any>;
2823
+ readonly lastValues?: Record<string, any> | undefined;
2824
+ readonly isCompare?: boolean | undefined;
2825
+ readonly parentValues?: Record<string, any> | undefined;
2826
+ readonly labelWidth?: string | undefined;
2827
+ readonly disabled?: boolean | undefined;
2828
+ readonly height?: string | undefined;
2829
+ readonly stepActive?: string | number | undefined;
2830
+ readonly size?: "small" | "default" | "large" | undefined;
2831
+ readonly inline?: boolean | undefined;
2832
+ readonly labelPosition?: string | undefined;
2833
+ readonly keyProp?: string | undefined;
2834
+ readonly popperClass?: string | undefined;
2835
+ readonly preventSubmitDefault?: boolean | undefined;
2836
+ readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
2837
+ readonly showDiff?: ((_data: {
2838
+ curValue: any;
2839
+ lastValue: any;
2840
+ config: any;
2841
+ }) => boolean) | undefined;
2842
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
2843
+ readonly onError?: ((...args: any[]) => any) | undefined;
2844
+ readonly onChange?: ((...args: any[]) => any) | undefined;
2845
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
2846
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
2847
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2848
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
2849
+ $attrs: import("@vue/runtime-core").Attrs;
2850
+ $refs: {
2851
+ [x: string]: unknown;
2852
+ };
2853
+ $slots: Readonly<{
2854
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
2855
+ }>;
2856
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
2857
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
2858
+ $host: Element | null;
2859
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
2860
+ $el: any;
2861
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
2862
+ config: import("@tmagic/form-schema").FormConfig;
2863
+ initValues: Record<string, any>;
2864
+ lastValues?: Record<string, any>;
2865
+ isCompare?: boolean;
2866
+ parentValues?: Record<string, any>;
2867
+ labelWidth?: string;
2868
+ disabled?: boolean;
2869
+ height?: string;
2870
+ stepActive?: string | number;
2871
+ size?: "small" | "default" | "large";
2872
+ inline?: boolean;
2873
+ labelPosition?: string;
2874
+ keyProp?: string;
2875
+ popperClass?: string;
2876
+ preventSubmitDefault?: boolean;
2877
+ extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2878
+ showDiff?: (_data: {
2879
+ curValue: any;
2880
+ lastValue: any;
2881
+ config: any;
2882
+ }) => boolean;
2883
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2884
+ }> & Readonly<{
2885
+ onError?: ((...args: any[]) => any) | undefined;
2886
+ onChange?: ((...args: any[]) => any) | undefined;
2887
+ "onField-input"?: ((...args: any[]) => any) | undefined;
2888
+ "onField-change"?: ((...args: any[]) => any) | undefined;
2889
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2890
+ }>, {
2891
+ values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2892
+ lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2893
+ formState: import("@tmagic/form-schema").FormState;
2894
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2895
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
2896
+ changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2897
+ resetForm: () => void;
2898
+ submitForm: (native?: boolean) => Promise<any>;
2899
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2900
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2901
+ error: (...args: any[]) => void;
2902
+ change: (...args: any[]) => void;
2903
+ "field-input": (...args: any[]) => void;
2904
+ "field-change": (...args: any[]) => void;
2905
+ "update:stepActive": (...args: any[]) => void;
2906
+ }, string, {
2907
+ disabled: boolean;
2908
+ labelWidth: string;
2909
+ inline: boolean;
2910
+ labelPosition: string;
2911
+ config: import("@tmagic/form-schema").FormConfig;
2912
+ height: string;
2913
+ initValues: Record<string, any>;
2914
+ lastValues: Record<string, any>;
2915
+ isCompare: boolean;
2916
+ keyProp: string;
2917
+ parentValues: Record<string, any>;
2918
+ stepActive: string | number;
2919
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
2920
+ beforeCreate?: (() => void) | (() => void)[];
2921
+ created?: (() => void) | (() => void)[];
2922
+ beforeMount?: (() => void) | (() => void)[];
2923
+ mounted?: (() => void) | (() => void)[];
2924
+ beforeUpdate?: (() => void) | (() => void)[];
2925
+ updated?: (() => void) | (() => void)[];
2926
+ activated?: (() => void) | (() => void)[];
2927
+ deactivated?: (() => void) | (() => void)[];
2928
+ beforeDestroy?: (() => void) | (() => void)[];
2929
+ beforeUnmount?: (() => void) | (() => void)[];
2930
+ destroyed?: (() => void) | (() => void)[];
2931
+ unmounted?: (() => void) | (() => void)[];
2932
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2933
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2934
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
2935
+ };
2936
+ $forceUpdate: () => void;
2937
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
2938
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
2939
+ } & Readonly<{
2940
+ disabled: boolean;
2941
+ labelWidth: string;
2942
+ inline: boolean;
2943
+ labelPosition: string;
2944
+ config: import("@tmagic/form-schema").FormConfig;
2945
+ height: string;
2946
+ initValues: Record<string, any>;
2947
+ lastValues: Record<string, any>;
2948
+ isCompare: boolean;
2949
+ keyProp: string;
2950
+ parentValues: Record<string, any>;
2951
+ stepActive: string | number;
2952
+ }> & Omit<Readonly<{
2121
2953
  config: import("@tmagic/form-schema").FormConfig;
2122
2954
  initValues: Record<string, any>;
2123
2955
  lastValues?: Record<string, any>;
@@ -2134,49 +2966,118 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2134
2966
  popperClass?: string;
2135
2967
  preventSubmitDefault?: boolean;
2136
2968
  extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2969
+ showDiff?: (_data: {
2970
+ curValue: any;
2971
+ lastValue: any;
2972
+ config: any;
2973
+ }) => boolean;
2974
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2137
2975
  }> & Readonly<{
2138
2976
  onError?: ((...args: any[]) => any) | undefined;
2139
2977
  onChange?: ((...args: any[]) => any) | undefined;
2140
2978
  "onField-input"?: ((...args: any[]) => any) | undefined;
2141
2979
  "onField-change"?: ((...args: any[]) => any) | undefined;
2142
2980
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2143
- }>, {
2144
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2145
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2981
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
2982
+ values: import("@tmagic/form-schema").FormValue;
2983
+ lastValuesProcessed: import("@tmagic/form-schema").FormValue;
2146
2984
  formState: import("@tmagic/form-schema").FormState;
2147
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2148
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
2985
+ initialized: boolean;
2986
+ changeRecords: ChangeRecord$1[];
2149
2987
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2150
2988
  resetForm: () => void;
2151
2989
  submitForm: (native?: boolean) => Promise<any>;
2152
2990
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2153
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2154
- error: (...args: any[]) => void;
2155
- change: (...args: any[]) => void;
2156
- "field-input": (...args: any[]) => void;
2157
- "field-change": (...args: any[]) => void;
2158
- "update:stepActive": (...args: any[]) => void;
2159
- }, import("@vue/runtime-core").PublicProps, {
2160
- disabled: boolean;
2161
- labelWidth: string;
2162
- inline: boolean;
2163
- labelPosition: string;
2164
- config: import("@tmagic/form-schema").FormConfig;
2165
- height: string;
2166
- initValues: Record<string, any>;
2167
- lastValues: Record<string, any>;
2168
- isCompare: boolean;
2169
- keyProp: string;
2170
- parentValues: Record<string, any>;
2171
- stepActive: string | number;
2172
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
2173
- P: {};
2174
- B: {};
2175
- D: {};
2176
- C: {};
2177
- M: {};
2178
- Defaults: {};
2179
- }, Readonly<{
2991
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
2992
+ $slots: FormSlots;
2993
+ }) | null>>;
2994
+ submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
2995
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2996
+ mounted: (internalInstance: any) => any;
2997
+ unmounted: () => any;
2998
+ submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
2999
+ "submit-error": (e: any) => any;
3000
+ "form-error": (e: any) => any;
3001
+ }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
3002
+ beforeCreate?: (() => void) | (() => void)[];
3003
+ created?: (() => void) | (() => void)[];
3004
+ beforeMount?: (() => void) | (() => void)[];
3005
+ mounted?: (() => void) | (() => void)[];
3006
+ beforeUpdate?: (() => void) | (() => void)[];
3007
+ updated?: (() => void) | (() => void)[];
3008
+ activated?: (() => void) | (() => void)[];
3009
+ deactivated?: (() => void) | (() => void)[];
3010
+ beforeDestroy?: (() => void) | (() => void)[];
3011
+ beforeUnmount?: (() => void) | (() => void)[];
3012
+ destroyed?: (() => void) | (() => void)[];
3013
+ unmounted?: (() => void) | (() => void)[];
3014
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3015
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3016
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
3017
+ };
3018
+ $forceUpdate: () => void;
3019
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
3020
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
3021
+ } & Readonly<{}> & Omit<Readonly<{
3022
+ config: import("@tmagic/form-schema").FormConfig;
3023
+ values: import("@tmagic/form-schema").FormValue;
3024
+ disabledShowSrc?: boolean;
3025
+ labelWidth?: string;
3026
+ codeValueKey?: string;
3027
+ labelPosition?: string;
3028
+ extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3029
+ }> & Readonly<{
3030
+ onMounted?: ((internalInstance: any) => any) | undefined;
3031
+ onUnmounted?: (() => any) | undefined;
3032
+ onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
3033
+ "onSubmit-error"?: ((e: any) => any) | undefined;
3034
+ "onForm-error"?: ((e: any) => any) | undefined;
3035
+ }>, "submit" | "configForm"> & {
3036
+ configForm: ({
3037
+ $: import("@vue/runtime-core").ComponentInternalInstance;
3038
+ $data: {};
3039
+ $props: {
3040
+ readonly config: import("@tmagic/form-schema").FormConfig;
3041
+ readonly initValues: Record<string, any>;
3042
+ readonly lastValues?: Record<string, any> | undefined;
3043
+ readonly isCompare?: boolean | undefined;
3044
+ readonly parentValues?: Record<string, any> | undefined;
3045
+ readonly labelWidth?: string | undefined;
3046
+ readonly disabled?: boolean | undefined;
3047
+ readonly height?: string | undefined;
3048
+ readonly stepActive?: string | number | undefined;
3049
+ readonly size?: "small" | "default" | "large" | undefined;
3050
+ readonly inline?: boolean | undefined;
3051
+ readonly labelPosition?: string | undefined;
3052
+ readonly keyProp?: string | undefined;
3053
+ readonly popperClass?: string | undefined;
3054
+ readonly preventSubmitDefault?: boolean | undefined;
3055
+ readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3056
+ readonly showDiff?: ((_data: {
3057
+ curValue: any;
3058
+ lastValue: any;
3059
+ config: any;
3060
+ }) => boolean) | undefined;
3061
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
3062
+ readonly onError?: ((...args: any[]) => any) | undefined;
3063
+ readonly onChange?: ((...args: any[]) => any) | undefined;
3064
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
3065
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
3066
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3067
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
3068
+ $attrs: import("@vue/runtime-core").Attrs;
3069
+ $refs: {
3070
+ [x: string]: unknown;
3071
+ };
3072
+ $slots: Readonly<{
3073
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
3074
+ }>;
3075
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3076
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3077
+ $host: Element | null;
3078
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
3079
+ $el: any;
3080
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
2180
3081
  config: import("@tmagic/form-schema").FormConfig;
2181
3082
  initValues: Record<string, any>;
2182
3083
  lastValues?: Record<string, any>;
@@ -2193,6 +3094,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2193
3094
  popperClass?: string;
2194
3095
  preventSubmitDefault?: boolean;
2195
3096
  extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3097
+ showDiff?: (_data: {
3098
+ curValue: any;
3099
+ lastValue: any;
3100
+ config: any;
3101
+ }) => boolean;
3102
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2196
3103
  }> & Readonly<{
2197
3104
  onError?: ((...args: any[]) => any) | undefined;
2198
3105
  onChange?: ((...args: any[]) => any) | undefined;
@@ -2209,7 +3116,13 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2209
3116
  resetForm: () => void;
2210
3117
  submitForm: (native?: boolean) => Promise<any>;
2211
3118
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2212
- }, {}, {}, {}, {
3119
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3120
+ error: (...args: any[]) => void;
3121
+ change: (...args: any[]) => void;
3122
+ "field-input": (...args: any[]) => void;
3123
+ "field-change": (...args: any[]) => void;
3124
+ "update:stepActive": (...args: any[]) => void;
3125
+ }, string, {
2213
3126
  disabled: boolean;
2214
3127
  labelWidth: string;
2215
3128
  inline: boolean;
@@ -2222,89 +3135,27 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2222
3135
  keyProp: string;
2223
3136
  parentValues: Record<string, any>;
2224
3137
  stepActive: string | number;
2225
- }> | null>>;
2226
- submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
2227
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2228
- mounted: (internalInstance: any) => any;
2229
- unmounted: () => any;
2230
- submit: (values: any, eventData?: ContainerChangeEventData$1 | undefined) => any;
2231
- "submit-error": (e: any) => any;
2232
- "form-error": (e: any) => any;
2233
- }, string, {}, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
2234
- beforeCreate?: (() => void) | (() => void)[];
2235
- created?: (() => void) | (() => void)[];
2236
- beforeMount?: (() => void) | (() => void)[];
2237
- mounted?: (() => void) | (() => void)[];
2238
- beforeUpdate?: (() => void) | (() => void)[];
2239
- updated?: (() => void) | (() => void)[];
2240
- activated?: (() => void) | (() => void)[];
2241
- deactivated?: (() => void) | (() => void)[];
2242
- beforeDestroy?: (() => void) | (() => void)[];
2243
- beforeUnmount?: (() => void) | (() => void)[];
2244
- destroyed?: (() => void) | (() => void)[];
2245
- unmounted?: (() => void) | (() => void)[];
2246
- renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2247
- renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
2248
- errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
2249
- };
2250
- $forceUpdate: () => void;
2251
- $nextTick: typeof import("@vue/runtime-core").nextTick;
2252
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
2253
- } & Readonly<{}> & Omit<Readonly<{
2254
- config: import("@tmagic/form-schema").FormConfig;
2255
- values: import("@tmagic/form-schema").FormValue;
2256
- disabledShowSrc?: boolean;
2257
- labelWidth?: string;
2258
- codeValueKey?: string;
2259
- labelPosition?: string;
2260
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2261
- }> & Readonly<{
2262
- onMounted?: ((internalInstance: any) => any) | undefined;
2263
- onUnmounted?: (() => any) | undefined;
2264
- onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined) => any) | undefined;
2265
- "onSubmit-error"?: ((e: any) => any) | undefined;
2266
- "onForm-error"?: ((e: any) => any) | undefined;
2267
- }>, "submit" | "configForm"> & {
2268
- configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
2269
- config: import("@tmagic/form-schema").FormConfig;
2270
- initValues: Record<string, any>;
2271
- lastValues?: Record<string, any>;
2272
- isCompare?: boolean;
2273
- parentValues?: Record<string, any>;
2274
- labelWidth?: string;
2275
- disabled?: boolean;
2276
- height?: string;
2277
- stepActive?: string | number;
2278
- size?: "small" | "default" | "large";
2279
- inline?: boolean;
2280
- labelPosition?: string;
2281
- keyProp?: string;
2282
- popperClass?: string;
2283
- preventSubmitDefault?: boolean;
2284
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2285
- }> & Readonly<{
2286
- onError?: ((...args: any[]) => any) | undefined;
2287
- onChange?: ((...args: any[]) => any) | undefined;
2288
- "onField-input"?: ((...args: any[]) => any) | undefined;
2289
- "onField-change"?: ((...args: any[]) => any) | undefined;
2290
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2291
- }>, {
2292
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2293
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2294
- formState: import("@tmagic/form-schema").FormState;
2295
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2296
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
2297
- changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2298
- resetForm: () => void;
2299
- submitForm: (native?: boolean) => Promise<any>;
2300
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2301
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2302
- error: (...args: any[]) => void;
2303
- change: (...args: any[]) => void;
2304
- "field-input": (...args: any[]) => void;
2305
- "field-change": (...args: any[]) => void;
2306
- "update:stepActive": (...args: any[]) => void;
2307
- }, import("@vue/runtime-core").PublicProps, {
3138
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
3139
+ beforeCreate?: (() => void) | (() => void)[];
3140
+ created?: (() => void) | (() => void)[];
3141
+ beforeMount?: (() => void) | (() => void)[];
3142
+ mounted?: (() => void) | (() => void)[];
3143
+ beforeUpdate?: (() => void) | (() => void)[];
3144
+ updated?: (() => void) | (() => void)[];
3145
+ activated?: (() => void) | (() => void)[];
3146
+ deactivated?: (() => void) | (() => void)[];
3147
+ beforeDestroy?: (() => void) | (() => void)[];
3148
+ beforeUnmount?: (() => void) | (() => void)[];
3149
+ destroyed?: (() => void) | (() => void)[];
3150
+ unmounted?: (() => void) | (() => void)[];
3151
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3152
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3153
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
3154
+ };
3155
+ $forceUpdate: () => void;
3156
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
3157
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
3158
+ } & Readonly<{
2308
3159
  disabled: boolean;
2309
3160
  labelWidth: string;
2310
3161
  inline: boolean;
@@ -2317,14 +3168,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2317
3168
  keyProp: string;
2318
3169
  parentValues: Record<string, any>;
2319
3170
  stepActive: string | number;
2320
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
2321
- P: {};
2322
- B: {};
2323
- D: {};
2324
- C: {};
2325
- M: {};
2326
- Defaults: {};
2327
- }, Readonly<{
3171
+ }> & Omit<Readonly<{
2328
3172
  config: import("@tmagic/form-schema").FormConfig;
2329
3173
  initValues: Record<string, any>;
2330
3174
  lastValues?: Record<string, any>;
@@ -2341,36 +3185,31 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2341
3185
  popperClass?: string;
2342
3186
  preventSubmitDefault?: boolean;
2343
3187
  extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3188
+ showDiff?: (_data: {
3189
+ curValue: any;
3190
+ lastValue: any;
3191
+ config: any;
3192
+ }) => boolean;
3193
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2344
3194
  }> & Readonly<{
2345
3195
  onError?: ((...args: any[]) => any) | undefined;
2346
3196
  onChange?: ((...args: any[]) => any) | undefined;
2347
3197
  "onField-input"?: ((...args: any[]) => any) | undefined;
2348
3198
  "onField-change"?: ((...args: any[]) => any) | undefined;
2349
3199
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2350
- }>, {
2351
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2352
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3200
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
3201
+ values: import("@tmagic/form-schema").FormValue;
3202
+ lastValuesProcessed: import("@tmagic/form-schema").FormValue;
2353
3203
  formState: import("@tmagic/form-schema").FormState;
2354
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2355
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3204
+ initialized: boolean;
3205
+ changeRecords: ChangeRecord$1[];
2356
3206
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2357
3207
  resetForm: () => void;
2358
3208
  submitForm: (native?: boolean) => Promise<any>;
2359
3209
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2360
- }, {}, {}, {}, {
2361
- disabled: boolean;
2362
- labelWidth: string;
2363
- inline: boolean;
2364
- labelPosition: string;
2365
- config: import("@tmagic/form-schema").FormConfig;
2366
- height: string;
2367
- initValues: Record<string, any>;
2368
- lastValues: Record<string, any>;
2369
- isCompare: boolean;
2370
- keyProp: string;
2371
- parentValues: Record<string, any>;
2372
- stepActive: string | number;
2373
- }> | null;
3210
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3211
+ $slots: FormSlots;
3212
+ }) | null;
2374
3213
  submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
2375
3214
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
2376
3215
  $slots: {
@@ -2427,46 +3266,129 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2427
3266
  "onSubmit-error"?: ((e: any) => any) | undefined;
2428
3267
  "onForm-error"?: ((e: any) => any) | undefined;
2429
3268
  }>, {
2430
- configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
2431
- config: import("@tmagic/form-schema").FormConfig;
2432
- initValues: Record<string, any>;
2433
- lastValues?: Record<string, any>;
2434
- isCompare?: boolean;
2435
- parentValues?: Record<string, any>;
2436
- labelWidth?: string;
2437
- disabled?: boolean;
2438
- height?: string;
2439
- stepActive?: string | number;
2440
- size?: "small" | "default" | "large";
2441
- inline?: boolean;
2442
- labelPosition?: string;
2443
- keyProp?: string;
2444
- popperClass?: string;
2445
- preventSubmitDefault?: boolean;
2446
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2447
- }> & Readonly<{
2448
- onError?: ((...args: any[]) => any) | undefined;
2449
- onChange?: ((...args: any[]) => any) | undefined;
2450
- "onField-input"?: ((...args: any[]) => any) | undefined;
2451
- "onField-change"?: ((...args: any[]) => any) | undefined;
2452
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2453
- }>, {
2454
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2455
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2456
- formState: import("@tmagic/form-schema").FormState;
2457
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2458
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
2459
- changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2460
- resetForm: () => void;
2461
- submitForm: (native?: boolean) => Promise<any>;
2462
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2463
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2464
- error: (...args: any[]) => void;
2465
- change: (...args: any[]) => void;
2466
- "field-input": (...args: any[]) => void;
2467
- "field-change": (...args: any[]) => void;
2468
- "update:stepActive": (...args: any[]) => void;
2469
- }, import("@vue/runtime-core").PublicProps, {
3269
+ configForm: Readonly<import("@vue/reactivity").ShallowRef<({
3270
+ $: import("@vue/runtime-core").ComponentInternalInstance;
3271
+ $data: {};
3272
+ $props: {
3273
+ readonly config: import("@tmagic/form-schema").FormConfig;
3274
+ readonly initValues: Record<string, any>;
3275
+ readonly lastValues?: Record<string, any> | undefined;
3276
+ readonly isCompare?: boolean | undefined;
3277
+ readonly parentValues?: Record<string, any> | undefined;
3278
+ readonly labelWidth?: string | undefined;
3279
+ readonly disabled?: boolean | undefined;
3280
+ readonly height?: string | undefined;
3281
+ readonly stepActive?: string | number | undefined;
3282
+ readonly size?: "small" | "default" | "large" | undefined;
3283
+ readonly inline?: boolean | undefined;
3284
+ readonly labelPosition?: string | undefined;
3285
+ readonly keyProp?: string | undefined;
3286
+ readonly popperClass?: string | undefined;
3287
+ readonly preventSubmitDefault?: boolean | undefined;
3288
+ readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3289
+ readonly showDiff?: ((_data: {
3290
+ curValue: any;
3291
+ lastValue: any;
3292
+ config: any;
3293
+ }) => boolean) | undefined;
3294
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
3295
+ readonly onError?: ((...args: any[]) => any) | undefined;
3296
+ readonly onChange?: ((...args: any[]) => any) | undefined;
3297
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
3298
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
3299
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3300
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
3301
+ $attrs: import("@vue/runtime-core").Attrs;
3302
+ $refs: {
3303
+ [x: string]: unknown;
3304
+ };
3305
+ $slots: Readonly<{
3306
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
3307
+ }>;
3308
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3309
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3310
+ $host: Element | null;
3311
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
3312
+ $el: any;
3313
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3314
+ config: import("@tmagic/form-schema").FormConfig;
3315
+ initValues: Record<string, any>;
3316
+ lastValues?: Record<string, any>;
3317
+ isCompare?: boolean;
3318
+ parentValues?: Record<string, any>;
3319
+ labelWidth?: string;
3320
+ disabled?: boolean;
3321
+ height?: string;
3322
+ stepActive?: string | number;
3323
+ size?: "small" | "default" | "large";
3324
+ inline?: boolean;
3325
+ labelPosition?: string;
3326
+ keyProp?: string;
3327
+ popperClass?: string;
3328
+ preventSubmitDefault?: boolean;
3329
+ extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3330
+ showDiff?: (_data: {
3331
+ curValue: any;
3332
+ lastValue: any;
3333
+ config: any;
3334
+ }) => boolean;
3335
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3336
+ }> & Readonly<{
3337
+ onError?: ((...args: any[]) => any) | undefined;
3338
+ onChange?: ((...args: any[]) => any) | undefined;
3339
+ "onField-input"?: ((...args: any[]) => any) | undefined;
3340
+ "onField-change"?: ((...args: any[]) => any) | undefined;
3341
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3342
+ }>, {
3343
+ values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3344
+ lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3345
+ formState: import("@tmagic/form-schema").FormState;
3346
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3347
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3348
+ changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3349
+ resetForm: () => void;
3350
+ submitForm: (native?: boolean) => Promise<any>;
3351
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3352
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3353
+ error: (...args: any[]) => void;
3354
+ change: (...args: any[]) => void;
3355
+ "field-input": (...args: any[]) => void;
3356
+ "field-change": (...args: any[]) => void;
3357
+ "update:stepActive": (...args: any[]) => void;
3358
+ }, string, {
3359
+ disabled: boolean;
3360
+ labelWidth: string;
3361
+ inline: boolean;
3362
+ labelPosition: string;
3363
+ config: import("@tmagic/form-schema").FormConfig;
3364
+ height: string;
3365
+ initValues: Record<string, any>;
3366
+ lastValues: Record<string, any>;
3367
+ isCompare: boolean;
3368
+ keyProp: string;
3369
+ parentValues: Record<string, any>;
3370
+ stepActive: string | number;
3371
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
3372
+ beforeCreate?: (() => void) | (() => void)[];
3373
+ created?: (() => void) | (() => void)[];
3374
+ beforeMount?: (() => void) | (() => void)[];
3375
+ mounted?: (() => void) | (() => void)[];
3376
+ beforeUpdate?: (() => void) | (() => void)[];
3377
+ updated?: (() => void) | (() => void)[];
3378
+ activated?: (() => void) | (() => void)[];
3379
+ deactivated?: (() => void) | (() => void)[];
3380
+ beforeDestroy?: (() => void) | (() => void)[];
3381
+ beforeUnmount?: (() => void) | (() => void)[];
3382
+ destroyed?: (() => void) | (() => void)[];
3383
+ unmounted?: (() => void) | (() => void)[];
3384
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3385
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3386
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
3387
+ };
3388
+ $forceUpdate: () => void;
3389
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
3390
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
3391
+ } & Readonly<{
2470
3392
  disabled: boolean;
2471
3393
  labelWidth: string;
2472
3394
  inline: boolean;
@@ -2479,14 +3401,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2479
3401
  keyProp: string;
2480
3402
  parentValues: Record<string, any>;
2481
3403
  stepActive: string | number;
2482
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
2483
- P: {};
2484
- B: {};
2485
- D: {};
2486
- C: {};
2487
- M: {};
2488
- Defaults: {};
2489
- }, Readonly<{
3404
+ }> & Omit<Readonly<{
2490
3405
  config: import("@tmagic/form-schema").FormConfig;
2491
3406
  initValues: Record<string, any>;
2492
3407
  lastValues?: Record<string, any>;
@@ -2503,36 +3418,31 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2503
3418
  popperClass?: string;
2504
3419
  preventSubmitDefault?: boolean;
2505
3420
  extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3421
+ showDiff?: (_data: {
3422
+ curValue: any;
3423
+ lastValue: any;
3424
+ config: any;
3425
+ }) => boolean;
3426
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2506
3427
  }> & Readonly<{
2507
3428
  onError?: ((...args: any[]) => any) | undefined;
2508
3429
  onChange?: ((...args: any[]) => any) | undefined;
2509
3430
  "onField-input"?: ((...args: any[]) => any) | undefined;
2510
3431
  "onField-change"?: ((...args: any[]) => any) | undefined;
2511
3432
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2512
- }>, {
2513
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2514
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3433
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
3434
+ values: import("@tmagic/form-schema").FormValue;
3435
+ lastValuesProcessed: import("@tmagic/form-schema").FormValue;
2515
3436
  formState: import("@tmagic/form-schema").FormState;
2516
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2517
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3437
+ initialized: boolean;
3438
+ changeRecords: ChangeRecord$1[];
2518
3439
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2519
3440
  resetForm: () => void;
2520
3441
  submitForm: (native?: boolean) => Promise<any>;
2521
3442
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2522
- }, {}, {}, {}, {
2523
- disabled: boolean;
2524
- labelWidth: string;
2525
- inline: boolean;
2526
- labelPosition: string;
2527
- config: import("@tmagic/form-schema").FormConfig;
2528
- height: string;
2529
- initValues: Record<string, any>;
2530
- lastValues: Record<string, any>;
2531
- isCompare: boolean;
2532
- keyProp: string;
2533
- parentValues: Record<string, any>;
2534
- stepActive: string | number;
2535
- }> | null>>;
3443
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3444
+ $slots: FormSlots;
3445
+ }) | null>>;
2536
3446
  submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
2537
3447
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2538
3448
  mounted: (internalInstance: any) => any;
@@ -2575,46 +3485,129 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2575
3485
  "onSubmit-error"?: ((e: any) => any) | undefined;
2576
3486
  "onForm-error"?: ((e: any) => any) | undefined;
2577
3487
  }>, "submit" | "configForm"> & {
2578
- configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
2579
- config: import("@tmagic/form-schema").FormConfig;
2580
- initValues: Record<string, any>;
2581
- lastValues?: Record<string, any>;
2582
- isCompare?: boolean;
2583
- parentValues?: Record<string, any>;
2584
- labelWidth?: string;
2585
- disabled?: boolean;
2586
- height?: string;
2587
- stepActive?: string | number;
2588
- size?: "small" | "default" | "large";
2589
- inline?: boolean;
2590
- labelPosition?: string;
2591
- keyProp?: string;
2592
- popperClass?: string;
2593
- preventSubmitDefault?: boolean;
2594
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
2595
- }> & Readonly<{
2596
- onError?: ((...args: any[]) => any) | undefined;
2597
- onChange?: ((...args: any[]) => any) | undefined;
2598
- "onField-input"?: ((...args: any[]) => any) | undefined;
2599
- "onField-change"?: ((...args: any[]) => any) | undefined;
2600
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2601
- }>, {
2602
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2603
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2604
- formState: import("@tmagic/form-schema").FormState;
2605
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2606
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
2607
- changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2608
- resetForm: () => void;
2609
- submitForm: (native?: boolean) => Promise<any>;
2610
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2611
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2612
- error: (...args: any[]) => void;
2613
- change: (...args: any[]) => void;
2614
- "field-input": (...args: any[]) => void;
2615
- "field-change": (...args: any[]) => void;
2616
- "update:stepActive": (...args: any[]) => void;
2617
- }, import("@vue/runtime-core").PublicProps, {
3488
+ configForm: ({
3489
+ $: import("@vue/runtime-core").ComponentInternalInstance;
3490
+ $data: {};
3491
+ $props: {
3492
+ readonly config: import("@tmagic/form-schema").FormConfig;
3493
+ readonly initValues: Record<string, any>;
3494
+ readonly lastValues?: Record<string, any> | undefined;
3495
+ readonly isCompare?: boolean | undefined;
3496
+ readonly parentValues?: Record<string, any> | undefined;
3497
+ readonly labelWidth?: string | undefined;
3498
+ readonly disabled?: boolean | undefined;
3499
+ readonly height?: string | undefined;
3500
+ readonly stepActive?: string | number | undefined;
3501
+ readonly size?: "small" | "default" | "large" | undefined;
3502
+ readonly inline?: boolean | undefined;
3503
+ readonly labelPosition?: string | undefined;
3504
+ readonly keyProp?: string | undefined;
3505
+ readonly popperClass?: string | undefined;
3506
+ readonly preventSubmitDefault?: boolean | undefined;
3507
+ readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3508
+ readonly showDiff?: ((_data: {
3509
+ curValue: any;
3510
+ lastValue: any;
3511
+ config: any;
3512
+ }) => boolean) | undefined;
3513
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
3514
+ readonly onError?: ((...args: any[]) => any) | undefined;
3515
+ readonly onChange?: ((...args: any[]) => any) | undefined;
3516
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
3517
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
3518
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3519
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
3520
+ $attrs: import("@vue/runtime-core").Attrs;
3521
+ $refs: {
3522
+ [x: string]: unknown;
3523
+ };
3524
+ $slots: Readonly<{
3525
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
3526
+ }>;
3527
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
3528
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
3529
+ $host: Element | null;
3530
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
3531
+ $el: any;
3532
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
3533
+ config: import("@tmagic/form-schema").FormConfig;
3534
+ initValues: Record<string, any>;
3535
+ lastValues?: Record<string, any>;
3536
+ isCompare?: boolean;
3537
+ parentValues?: Record<string, any>;
3538
+ labelWidth?: string;
3539
+ disabled?: boolean;
3540
+ height?: string;
3541
+ stepActive?: string | number;
3542
+ size?: "small" | "default" | "large";
3543
+ inline?: boolean;
3544
+ labelPosition?: string;
3545
+ keyProp?: string;
3546
+ popperClass?: string;
3547
+ preventSubmitDefault?: boolean;
3548
+ extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3549
+ showDiff?: (_data: {
3550
+ curValue: any;
3551
+ lastValue: any;
3552
+ config: any;
3553
+ }) => boolean;
3554
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3555
+ }> & Readonly<{
3556
+ onError?: ((...args: any[]) => any) | undefined;
3557
+ onChange?: ((...args: any[]) => any) | undefined;
3558
+ "onField-input"?: ((...args: any[]) => any) | undefined;
3559
+ "onField-change"?: ((...args: any[]) => any) | undefined;
3560
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3561
+ }>, {
3562
+ values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3563
+ lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3564
+ formState: import("@tmagic/form-schema").FormState;
3565
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3566
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3567
+ changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
3568
+ resetForm: () => void;
3569
+ submitForm: (native?: boolean) => Promise<any>;
3570
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3571
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3572
+ error: (...args: any[]) => void;
3573
+ change: (...args: any[]) => void;
3574
+ "field-input": (...args: any[]) => void;
3575
+ "field-change": (...args: any[]) => void;
3576
+ "update:stepActive": (...args: any[]) => void;
3577
+ }, string, {
3578
+ disabled: boolean;
3579
+ labelWidth: string;
3580
+ inline: boolean;
3581
+ labelPosition: string;
3582
+ config: import("@tmagic/form-schema").FormConfig;
3583
+ height: string;
3584
+ initValues: Record<string, any>;
3585
+ lastValues: Record<string, any>;
3586
+ isCompare: boolean;
3587
+ keyProp: string;
3588
+ parentValues: Record<string, any>;
3589
+ stepActive: string | number;
3590
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
3591
+ beforeCreate?: (() => void) | (() => void)[];
3592
+ created?: (() => void) | (() => void)[];
3593
+ beforeMount?: (() => void) | (() => void)[];
3594
+ mounted?: (() => void) | (() => void)[];
3595
+ beforeUpdate?: (() => void) | (() => void)[];
3596
+ updated?: (() => void) | (() => void)[];
3597
+ activated?: (() => void) | (() => void)[];
3598
+ deactivated?: (() => void) | (() => void)[];
3599
+ beforeDestroy?: (() => void) | (() => void)[];
3600
+ beforeUnmount?: (() => void) | (() => void)[];
3601
+ destroyed?: (() => void) | (() => void)[];
3602
+ unmounted?: (() => void) | (() => void)[];
3603
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3604
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
3605
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
3606
+ };
3607
+ $forceUpdate: () => void;
3608
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
3609
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
3610
+ } & Readonly<{
2618
3611
  disabled: boolean;
2619
3612
  labelWidth: string;
2620
3613
  inline: boolean;
@@ -2627,14 +3620,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2627
3620
  keyProp: string;
2628
3621
  parentValues: Record<string, any>;
2629
3622
  stepActive: string | number;
2630
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
2631
- P: {};
2632
- B: {};
2633
- D: {};
2634
- C: {};
2635
- M: {};
2636
- Defaults: {};
2637
- }, Readonly<{
3623
+ }> & Omit<Readonly<{
2638
3624
  config: import("@tmagic/form-schema").FormConfig;
2639
3625
  initValues: Record<string, any>;
2640
3626
  lastValues?: Record<string, any>;
@@ -2651,36 +3637,31 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2651
3637
  popperClass?: string;
2652
3638
  preventSubmitDefault?: boolean;
2653
3639
  extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3640
+ showDiff?: (_data: {
3641
+ curValue: any;
3642
+ lastValue: any;
3643
+ config: any;
3644
+ }) => boolean;
3645
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
2654
3646
  }> & Readonly<{
2655
3647
  onError?: ((...args: any[]) => any) | undefined;
2656
3648
  onChange?: ((...args: any[]) => any) | undefined;
2657
3649
  "onField-input"?: ((...args: any[]) => any) | undefined;
2658
3650
  "onField-change"?: ((...args: any[]) => any) | undefined;
2659
3651
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
2660
- }>, {
2661
- values: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
2662
- lastValuesProcessed: import("@vue/reactivity").Ref<import("@tmagic/form-schema").FormValue, import("@tmagic/form-schema").FormValue>;
3652
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
3653
+ values: import("@tmagic/form-schema").FormValue;
3654
+ lastValuesProcessed: import("@tmagic/form-schema").FormValue;
2663
3655
  formState: import("@tmagic/form-schema").FormState;
2664
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
2665
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3656
+ initialized: boolean;
3657
+ changeRecords: ChangeRecord$1[];
2666
3658
  changeHandler: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => void;
2667
3659
  resetForm: () => void;
2668
3660
  submitForm: (native?: boolean) => Promise<any>;
2669
3661
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
2670
- }, {}, {}, {}, {
2671
- disabled: boolean;
2672
- labelWidth: string;
2673
- inline: boolean;
2674
- labelPosition: string;
2675
- config: import("@tmagic/form-schema").FormConfig;
2676
- height: string;
2677
- initValues: Record<string, any>;
2678
- lastValues: Record<string, any>;
2679
- isCompare: boolean;
2680
- keyProp: string;
2681
- parentValues: Record<string, any>;
2682
- stepActive: string | number;
2683
- }> | null;
3662
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3663
+ $slots: FormSlots;
3664
+ }) | null;
2684
3665
  submit: (v: import("@tmagic/form-schema").FormValue, eventData: ContainerChangeEventData$1) => Promise<void>;
2685
3666
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
2686
3667
  $slots: {
@@ -2701,6 +3682,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2701
3682
  disabledMultiSelect: boolean;
2702
3683
  alwaysMultiSelect: boolean;
2703
3684
  disabledPageFragment: boolean;
3685
+ historyListExtraTabs: HistoryListExtraTab[];
2704
3686
  disabledShowSrc: boolean;
2705
3687
  customContentMenu: CustomContentMenuFunction;
2706
3688
  layerContentMenu: (MenuButton | MenuComponent)[];
@@ -2720,10 +3702,11 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
2720
3702
  datasourceConfigs: Record<string, import("@tmagic/form-schema").FormConfig>;
2721
3703
  containerHighlightDuration: number;
2722
3704
  containerHighlightType: import("@tmagic/stage").ContainerHighlightType;
3705
+ disabledFlashTip: boolean;
2723
3706
  canSelect: (el: HTMLElement) => boolean | Promise<boolean>;
2724
3707
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2725
- declare const __VLS_export$33: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
2726
- declare const _default$30: typeof __VLS_export$33;
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;
2727
3710
  type __VLS_WithSlots$12<T, S> = T & {
2728
3711
  new (): {
2729
3712
  $slots: S;
@@ -2731,7 +3714,7 @@ type __VLS_WithSlots$12<T, S> = T & {
2731
3714
  };
2732
3715
  //#endregion
2733
3716
  //#region temp/packages/editor/src/layouts/CodeEditor.vue.d.ts
2734
- type __VLS_Props$30 = {
3717
+ type __VLS_Props$33 = {
2735
3718
  initValues?: any;
2736
3719
  modifiedValues?: any;
2737
3720
  type?: 'diff';
@@ -2747,7 +3730,7 @@ type __VLS_Props$30 = {
2747
3730
  };
2748
3731
  editorCustomType?: string;
2749
3732
  };
2750
- declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {
3733
+ declare const __VLS_export$35: import("@vue/runtime-core").DefineComponent<__VLS_Props$33, {
2751
3734
  values: import("@vue/reactivity").Ref<string, string>;
2752
3735
  getEditor(): Monaco.editor.IStandaloneCodeEditor | Monaco.editor.IStandaloneDiffEditor | null;
2753
3736
  getVsEditor(): Monaco.editor.IStandaloneCodeEditor | null;
@@ -2758,7 +3741,7 @@ declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS
2758
3741
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
2759
3742
  save: (...args: any[]) => void;
2760
3743
  initd: (...args: any[]) => void;
2761
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
3744
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$33> & Readonly<{
2762
3745
  onSave?: ((...args: any[]) => any) | undefined;
2763
3746
  onInitd?: ((...args: any[]) => any) | undefined;
2764
3747
  }>, {
@@ -2769,13 +3752,13 @@ declare const __VLS_export$32: import("@vue/runtime-core").DefineComponent<__VLS
2769
3752
  autoSave: boolean;
2770
3753
  disabledFullScreen: boolean;
2771
3754
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2772
- declare const _default$29: typeof __VLS_export$32;
3755
+ declare const _default$32: typeof __VLS_export$35;
2773
3756
  //#endregion
2774
3757
  //#region temp/packages/editor/src/layouts/sidebar/ComponentListPanel.vue.d.ts
2775
3758
  type __VLS_Slots$11 = ComponentListPanelSlots;
2776
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>;
2777
- declare const __VLS_export$31: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
2778
- declare const _default$5: typeof __VLS_export$31;
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;
2779
3762
  type __VLS_WithSlots$11<T, S> = T & {
2780
3763
  new (): {
2781
3764
  $slots: S;
@@ -2784,7 +3767,7 @@ type __VLS_WithSlots$11<T, S> = T & {
2784
3767
  //#endregion
2785
3768
  //#region temp/packages/editor/src/layouts/sidebar/layer/LayerPanel.vue.d.ts
2786
3769
  type __VLS_Slots$10 = LayerPanelSlots;
2787
- type __VLS_Props$29 = {
3770
+ type __VLS_Props$32 = {
2788
3771
  layerContentMenu: (MenuButton | MenuComponent)[];
2789
3772
  indent?: number;
2790
3773
  nextLevelIndentIncrement?: number;
@@ -2793,13 +3776,13 @@ type __VLS_Props$29 = {
2793
3776
  canDropIn?: CanDropInFunction; /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
2794
3777
  beforeNodeDblclick?: (_event: MouseEvent, _data: TreeNodeData) => Promise<boolean | void> | boolean | void;
2795
3778
  };
2796
- declare const __VLS_base$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {}, {}, {}, {}, 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, {
2797
3780
  "node-dblclick": (event: MouseEvent, data: TreeNodeData) => any;
2798
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
3781
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$32> & Readonly<{
2799
3782
  "onNode-dblclick"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
2800
3783
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2801
- declare const __VLS_export$30: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
2802
- declare const _default$22: typeof __VLS_export$30;
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;
2803
3786
  type __VLS_WithSlots$10<T, S> = T & {
2804
3787
  new (): {
2805
3788
  $slots: S;
@@ -2807,34 +3790,34 @@ type __VLS_WithSlots$10<T, S> = T & {
2807
3790
  };
2808
3791
  //#endregion
2809
3792
  //#region temp/packages/editor/src/fields/CodeSelect.vue.d.ts
2810
- type __VLS_Props$28 = FieldProps<CodeSelectConfig>;
2811
- declare const __VLS_export$29: import("@vue/runtime-core").DefineComponent<__VLS_Props$28, {}, {}, {}, {}, 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, {
2812
3795
  change: (v: any, eventData: ContainerChangeEventData) => any;
2813
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$28> & Readonly<{
3796
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$31> & Readonly<{
2814
3797
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
2815
3798
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2816
- declare const _default$3: typeof __VLS_export$29;
3799
+ declare const _default$3: typeof __VLS_export$32;
2817
3800
  //#endregion
2818
3801
  //#region temp/packages/editor/src/fields/CodeSelectCol.vue.d.ts
2819
- type __VLS_Props$27 = FieldProps<CodeSelectColConfig>;
2820
- declare const __VLS_export$28: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {}, {}, {}, {}, 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, {
2821
3804
  change: (v: any, eventData: ContainerChangeEventData) => any;
2822
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
3805
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
2823
3806
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
2824
3807
  }>, {
2825
3808
  disabled: boolean;
2826
3809
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2827
- declare const _default$4: typeof __VLS_export$28;
3810
+ declare const _default$4: typeof __VLS_export$31;
2828
3811
  //#endregion
2829
3812
  //#region temp/packages/editor/src/fields/DataSourceFields.vue.d.ts
2830
- type __VLS_Props$26 = FieldProps<DataSourceFieldsConfig>;
3813
+ type __VLS_Props$29 = FieldProps<DataSourceFieldsConfig>;
2831
3814
  type __VLS_ModelProps$4 = {
2832
3815
  'width'?: number;
2833
3816
  'visible'?: boolean;
2834
3817
  'visible1'?: boolean;
2835
3818
  };
2836
- type __VLS_PublicProps$4 = __VLS_Props$26 & __VLS_ModelProps$4;
2837
- declare const __VLS_export$27: 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, {
2838
3821
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
2839
3822
  "update:width": (value: number) => any;
2840
3823
  "update:visible": (value: boolean) => any;
@@ -2847,16 +3830,16 @@ declare const __VLS_export$27: import("@vue/runtime-core").DefineComponent<__VLS
2847
3830
  }>, {
2848
3831
  disabled: boolean;
2849
3832
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2850
- declare const _default$11: typeof __VLS_export$27;
3833
+ declare const _default$12: typeof __VLS_export$30;
2851
3834
  //#endregion
2852
3835
  //#region temp/packages/editor/src/fields/DataSourceMocks.vue.d.ts
2853
- type __VLS_Props$25 = FieldProps<DataSourceMocksConfig>;
3836
+ type __VLS_Props$28 = FieldProps<DataSourceMocksConfig>;
2854
3837
  type __VLS_ModelProps$3 = {
2855
3838
  'width'?: number;
2856
3839
  'visible'?: boolean;
2857
3840
  };
2858
- type __VLS_PublicProps$3 = __VLS_Props$25 & __VLS_ModelProps$3;
2859
- declare const __VLS_export$26: 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, {
2860
3843
  change: (...args: any[]) => void;
2861
3844
  "update:width": (value: number) => void;
2862
3845
  "update:visible": (value: boolean) => void;
@@ -2867,91 +3850,91 @@ declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS
2867
3850
  }>, {
2868
3851
  disabled: boolean;
2869
3852
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2870
- declare const _default$15: typeof __VLS_export$26;
3853
+ declare const _default$16: typeof __VLS_export$29;
2871
3854
  //#endregion
2872
3855
  //#region temp/packages/editor/src/fields/DataSourceMethods.vue.d.ts
2873
- type __VLS_Props$24 = FieldProps<DataSourceMethodsConfig>;
2874
- declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, 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, {
2875
3858
  change: (...args: any[]) => void;
2876
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
3859
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
2877
3860
  onChange?: ((...args: any[]) => any) | undefined;
2878
3861
  }>, {
2879
3862
  disabled: boolean;
2880
3863
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2881
- declare const _default$14: typeof __VLS_export$25;
3864
+ declare const _default$15: typeof __VLS_export$28;
2882
3865
  //#endregion
2883
3866
  //#region temp/packages/editor/src/fields/DataSourceInput.vue.d.ts
2884
- type __VLS_Props$23 = FieldProps<DataSourceInputConfig>;
2885
- declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {}, {}, {}, {}, 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, {
2886
3869
  change: (value: string) => any;
2887
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
3870
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
2888
3871
  onChange?: ((value: string) => any) | undefined;
2889
3872
  }>, {
2890
3873
  disabled: boolean;
2891
3874
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2892
- declare const _default$12: typeof __VLS_export$24;
3875
+ declare const _default$13: typeof __VLS_export$27;
2893
3876
  //#endregion
2894
3877
  //#region temp/packages/editor/src/fields/DataSourceSelect.vue.d.ts
2895
- type __VLS_Props$22 = FieldProps<DataSourceSelect>;
2896
- declare const __VLS_export$23: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, 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, {
2897
3880
  change: (...args: any[]) => void;
2898
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
3881
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
2899
3882
  onChange?: ((...args: any[]) => any) | undefined;
2900
3883
  }>, {
2901
3884
  disabled: boolean;
2902
3885
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2903
- declare const _default$16: typeof __VLS_export$23;
3886
+ declare const _default$17: typeof __VLS_export$26;
2904
3887
  //#endregion
2905
3888
  //#region temp/packages/editor/src/fields/DataSourceMethodSelect.vue.d.ts
2906
- type __VLS_Props$21 = FieldProps<DataSourceMethodSelectConfig>;
2907
- declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, 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, {
2908
3891
  change: (...args: any[]) => void;
2909
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
3892
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
2910
3893
  onChange?: ((...args: any[]) => any) | undefined;
2911
3894
  }>, {
2912
3895
  disabled: boolean;
2913
3896
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2914
- declare const _default$13: typeof __VLS_export$22;
3897
+ declare const _default$14: typeof __VLS_export$25;
2915
3898
  //#endregion
2916
3899
  //#region temp/packages/editor/src/fields/DataSourceFieldSelect/Index.vue.d.ts
2917
- type __VLS_Props$20 = FieldProps<DataSourceFieldSelectConfig>;
2918
- declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {}, {}, {}, {}, 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, {
2919
3902
  change: (...args: any[]) => void;
2920
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
3903
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
2921
3904
  onChange?: ((...args: any[]) => any) | undefined;
2922
3905
  }>, {
2923
3906
  disabled: boolean;
2924
3907
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2925
- declare const _default$10: typeof __VLS_export$21;
3908
+ declare const _default$11: typeof __VLS_export$24;
2926
3909
  //#endregion
2927
3910
  //#region temp/packages/editor/src/fields/EventSelect.vue.d.ts
2928
- type __VLS_Props$19 = FieldProps<EventSelectConfig>;
2929
- declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, 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, {
2930
3913
  change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
2931
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
3914
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
2932
3915
  onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
2933
3916
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2934
- declare const _default$18: typeof __VLS_export$20;
3917
+ declare const _default$19: typeof __VLS_export$23;
2935
3918
  //#endregion
2936
3919
  //#region temp/packages/editor/src/fields/KeyValue.vue.d.ts
2937
- type __VLS_Props$18 = FieldProps<KeyValueConfig>;
2938
- declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {}, {}, {}, {}, 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, {
2939
3922
  change: (value: Record<string, any>) => any;
2940
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{
3923
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
2941
3924
  onChange?: ((value: Record<string, any>) => any) | undefined;
2942
3925
  }>, {
2943
3926
  disabled: boolean;
2944
3927
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2945
- declare const _default$21: typeof __VLS_export$19;
3928
+ declare const _default$24: typeof __VLS_export$22;
2946
3929
  //#endregion
2947
3930
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockList.vue.d.ts
2948
3931
  type __VLS_Slots$9 = CodeBlockListSlots;
2949
- type __VLS_Props$17 = {
3932
+ type __VLS_Props$20 = {
2950
3933
  indent?: number;
2951
3934
  nextLevelIndentIncrement?: number;
2952
3935
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
2953
3936
  };
2954
- declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {
3937
+ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
2955
3938
  nodeStatusMap: import("@vue/reactivity").Ref<Map<Id, {
2956
3939
  visible: boolean;
2957
3940
  expand: boolean;
@@ -2969,13 +3952,13 @@ declare const __VLS_base$9: import("@vue/runtime-core").DefineComponent<__VLS_Pr
2969
3952
  remove: (id: string) => any;
2970
3953
  edit: (id: string) => any;
2971
3954
  "node-contextmenu": (event: MouseEvent, data: TreeNodeData) => any;
2972
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
3955
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
2973
3956
  onRemove?: ((id: string) => any) | undefined;
2974
3957
  onEdit?: ((id: string) => any) | undefined;
2975
3958
  "onNode-contextmenu"?: ((event: MouseEvent, data: TreeNodeData) => any) | undefined;
2976
3959
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2977
- declare const __VLS_export$18: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
2978
- declare const _default$1: typeof __VLS_export$18;
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;
2979
3962
  type __VLS_WithSlots$9<T, S> = T & {
2980
3963
  new (): {
2981
3964
  $slots: S;
@@ -2984,15 +3967,15 @@ type __VLS_WithSlots$9<T, S> = T & {
2984
3967
  //#endregion
2985
3968
  //#region temp/packages/editor/src/layouts/sidebar/code-block/CodeBlockListPanel.vue.d.ts
2986
3969
  type __VLS_Slots$8 = CodeBlockListPanelSlots;
2987
- type __VLS_Props$16 = {
3970
+ type __VLS_Props$19 = {
2988
3971
  indent?: number;
2989
3972
  nextLevelIndentIncrement?: number;
2990
3973
  customError?: (_id: Id, _errorType: CodeDeleteErrorType) => any;
2991
3974
  customContentMenu: CustomContentMenuFunction;
2992
3975
  };
2993
- declare const __VLS_base$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
2994
- declare const __VLS_export$17: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
2995
- declare const _default$2: typeof __VLS_export$17;
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;
2996
3979
  type __VLS_WithSlots$8<T, S> = T & {
2997
3980
  new (): {
2998
3981
  $slots: S;
@@ -3000,7 +3983,7 @@ type __VLS_WithSlots$8<T, S> = T & {
3000
3983
  };
3001
3984
  //#endregion
3002
3985
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceConfigPanel.vue.d.ts
3003
- type __VLS_Props$15 = {
3986
+ type __VLS_Props$18 = {
3004
3987
  title?: string;
3005
3988
  values: any;
3006
3989
  disabled: boolean;
@@ -3009,8 +3992,8 @@ type __VLS_ModelProps$2 = {
3009
3992
  'visible'?: boolean;
3010
3993
  'width'?: number;
3011
3994
  };
3012
- type __VLS_PublicProps$2 = __VLS_Props$15 & __VLS_ModelProps$2;
3013
- declare const __VLS_export$16: 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, {
3014
3997
  show(): void;
3015
3998
  hide(): void;
3016
3999
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -3026,10 +4009,10 @@ declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS
3026
4009
  "onUpdate:width"?: ((value: number) => any) | undefined;
3027
4010
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
3028
4011
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3029
- declare const _default$9: typeof __VLS_export$16;
4012
+ declare const _default$10: typeof __VLS_export$19;
3030
4013
  //#endregion
3031
4014
  //#region temp/packages/editor/src/layouts/sidebar/data-source/DataSourceAddButton.vue.d.ts
3032
- type __VLS_Props$14 = {
4015
+ type __VLS_Props$17 = {
3033
4016
  datasourceTypeList: {
3034
4017
  text: string;
3035
4018
  type: string;
@@ -3037,20 +4020,20 @@ type __VLS_Props$14 = {
3037
4020
  addButtonConfig?: ButtonProps;
3038
4021
  addButtonText?: string;
3039
4022
  };
3040
- declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {}, {}, {}, {}, 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, {
3041
4024
  add: (type: string) => any;
3042
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
4025
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
3043
4026
  onAdd?: ((type: string) => any) | undefined;
3044
4027
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3045
- declare const _default$8: typeof __VLS_export$15;
4028
+ declare const _default$9: typeof __VLS_export$18;
3046
4029
  //#endregion
3047
4030
  //#region temp/packages/editor/src/layouts/props-panel/PropsPanel.vue.d.ts
3048
4031
  type __VLS_Slots$7 = PropsPanelSlots;
3049
- type __VLS_Props$13 = {
4032
+ type __VLS_Props$16 = {
3050
4033
  disabledShowSrc?: boolean;
3051
4034
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3052
4035
  };
3053
- declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
4036
+ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {
3054
4037
  getFormState(): FormState | undefined;
3055
4038
  submit: (v: MNode, eventData?: ContainerChangeEventData) => Promise<void>;
3056
4039
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -3098,46 +4081,129 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3098
4081
  "onSubmit-error"?: ((e: any) => any) | undefined;
3099
4082
  "onForm-error"?: ((e: any) => any) | undefined;
3100
4083
  }>, {
3101
- configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
3102
- config: import("@tmagic/form-schema").FormConfig;
3103
- initValues: Record<string, any>;
3104
- lastValues?: Record<string, any>;
3105
- isCompare?: boolean;
3106
- parentValues?: Record<string, any>;
3107
- labelWidth?: string;
3108
- disabled?: boolean;
3109
- height?: string;
3110
- stepActive?: string | number;
3111
- size?: "small" | "default" | "large";
3112
- inline?: boolean;
3113
- labelPosition?: string;
3114
- keyProp?: string;
3115
- popperClass?: string;
3116
- preventSubmitDefault?: boolean;
3117
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3118
- }> & Readonly<{
3119
- onError?: ((...args: any[]) => any) | undefined;
3120
- onChange?: ((...args: any[]) => any) | undefined;
3121
- "onField-input"?: ((...args: any[]) => any) | undefined;
3122
- "onField-change"?: ((...args: any[]) => any) | undefined;
3123
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3124
- }>, {
3125
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3126
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
3127
- formState: FormState;
3128
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3129
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3130
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3131
- resetForm: () => void;
3132
- submitForm: (native?: boolean) => Promise<any>;
3133
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3134
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3135
- error: (...args: any[]) => void;
3136
- change: (...args: any[]) => void;
3137
- "field-input": (...args: any[]) => void;
3138
- "field-change": (...args: any[]) => void;
3139
- "update:stepActive": (...args: any[]) => void;
3140
- }, import("@vue/runtime-core").PublicProps, {
4084
+ configForm: Readonly<import("@vue/reactivity").ShallowRef<({
4085
+ $: import("@vue/runtime-core").ComponentInternalInstance;
4086
+ $data: {};
4087
+ $props: {
4088
+ readonly config: import("@tmagic/form-schema").FormConfig;
4089
+ readonly initValues: Record<string, any>;
4090
+ readonly lastValues?: Record<string, any> | undefined;
4091
+ readonly isCompare?: boolean | undefined;
4092
+ readonly parentValues?: Record<string, any> | undefined;
4093
+ readonly labelWidth?: string | undefined;
4094
+ readonly disabled?: boolean | undefined;
4095
+ readonly height?: string | undefined;
4096
+ readonly stepActive?: string | number | undefined;
4097
+ readonly size?: "small" | "default" | "large" | undefined;
4098
+ readonly inline?: boolean | undefined;
4099
+ readonly labelPosition?: string | undefined;
4100
+ readonly keyProp?: string | undefined;
4101
+ readonly popperClass?: string | undefined;
4102
+ readonly preventSubmitDefault?: boolean | undefined;
4103
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4104
+ readonly showDiff?: ((_data: {
4105
+ curValue: any;
4106
+ lastValue: any;
4107
+ config: any;
4108
+ }) => boolean) | undefined;
4109
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
4110
+ readonly onError?: ((...args: any[]) => any) | undefined;
4111
+ readonly onChange?: ((...args: any[]) => any) | undefined;
4112
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
4113
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
4114
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4115
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
4116
+ $attrs: import("@vue/runtime-core").Attrs;
4117
+ $refs: {
4118
+ [x: string]: unknown;
4119
+ };
4120
+ $slots: Readonly<{
4121
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
4122
+ }>;
4123
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4124
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4125
+ $host: Element | null;
4126
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
4127
+ $el: any;
4128
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4129
+ config: import("@tmagic/form-schema").FormConfig;
4130
+ initValues: Record<string, any>;
4131
+ lastValues?: Record<string, any>;
4132
+ isCompare?: boolean;
4133
+ parentValues?: Record<string, any>;
4134
+ labelWidth?: string;
4135
+ disabled?: boolean;
4136
+ height?: string;
4137
+ stepActive?: string | number;
4138
+ size?: "small" | "default" | "large";
4139
+ inline?: boolean;
4140
+ labelPosition?: string;
4141
+ keyProp?: string;
4142
+ popperClass?: string;
4143
+ preventSubmitDefault?: boolean;
4144
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4145
+ showDiff?: (_data: {
4146
+ curValue: any;
4147
+ lastValue: any;
4148
+ config: any;
4149
+ }) => boolean;
4150
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
4151
+ }> & Readonly<{
4152
+ onError?: ((...args: any[]) => any) | undefined;
4153
+ onChange?: ((...args: any[]) => any) | undefined;
4154
+ "onField-input"?: ((...args: any[]) => any) | undefined;
4155
+ "onField-change"?: ((...args: any[]) => any) | undefined;
4156
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4157
+ }>, {
4158
+ values: import("@vue/reactivity").Ref<FormValue, FormValue>;
4159
+ lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4160
+ formState: FormState;
4161
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
4162
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4163
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4164
+ resetForm: () => void;
4165
+ submitForm: (native?: boolean) => Promise<any>;
4166
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4167
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4168
+ error: (...args: any[]) => void;
4169
+ change: (...args: any[]) => void;
4170
+ "field-input": (...args: any[]) => void;
4171
+ "field-change": (...args: any[]) => void;
4172
+ "update:stepActive": (...args: any[]) => void;
4173
+ }, string, {
4174
+ disabled: boolean;
4175
+ labelWidth: string;
4176
+ inline: boolean;
4177
+ labelPosition: string;
4178
+ config: import("@tmagic/form-schema").FormConfig;
4179
+ height: string;
4180
+ initValues: Record<string, any>;
4181
+ lastValues: Record<string, any>;
4182
+ isCompare: boolean;
4183
+ keyProp: string;
4184
+ parentValues: Record<string, any>;
4185
+ stepActive: string | number;
4186
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4187
+ beforeCreate?: (() => void) | (() => void)[];
4188
+ created?: (() => void) | (() => void)[];
4189
+ beforeMount?: (() => void) | (() => void)[];
4190
+ mounted?: (() => void) | (() => void)[];
4191
+ beforeUpdate?: (() => void) | (() => void)[];
4192
+ updated?: (() => void) | (() => void)[];
4193
+ activated?: (() => void) | (() => void)[];
4194
+ deactivated?: (() => void) | (() => void)[];
4195
+ beforeDestroy?: (() => void) | (() => void)[];
4196
+ beforeUnmount?: (() => void) | (() => void)[];
4197
+ destroyed?: (() => void) | (() => void)[];
4198
+ unmounted?: (() => void) | (() => void)[];
4199
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4200
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4201
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
4202
+ };
4203
+ $forceUpdate: () => void;
4204
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
4205
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
4206
+ } & Readonly<{
3141
4207
  disabled: boolean;
3142
4208
  labelWidth: string;
3143
4209
  inline: boolean;
@@ -3150,14 +4216,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3150
4216
  keyProp: string;
3151
4217
  parentValues: Record<string, any>;
3152
4218
  stepActive: string | number;
3153
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
3154
- P: {};
3155
- B: {};
3156
- D: {};
3157
- C: {};
3158
- M: {};
3159
- Defaults: {};
3160
- }, Readonly<{
4219
+ }> & Omit<Readonly<{
3161
4220
  config: import("@tmagic/form-schema").FormConfig;
3162
4221
  initValues: Record<string, any>;
3163
4222
  lastValues?: Record<string, any>;
@@ -3174,36 +4233,31 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3174
4233
  popperClass?: string;
3175
4234
  preventSubmitDefault?: boolean;
3176
4235
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4236
+ showDiff?: (_data: {
4237
+ curValue: any;
4238
+ lastValue: any;
4239
+ config: any;
4240
+ }) => boolean;
4241
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3177
4242
  }> & Readonly<{
3178
4243
  onError?: ((...args: any[]) => any) | undefined;
3179
4244
  onChange?: ((...args: any[]) => any) | undefined;
3180
4245
  "onField-input"?: ((...args: any[]) => any) | undefined;
3181
4246
  "onField-change"?: ((...args: any[]) => any) | undefined;
3182
4247
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3183
- }>, {
3184
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3185
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4248
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
4249
+ values: FormValue;
4250
+ lastValuesProcessed: FormValue;
3186
4251
  formState: FormState;
3187
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3188
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4252
+ initialized: boolean;
4253
+ changeRecords: ChangeRecord$1[];
3189
4254
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3190
4255
  resetForm: () => void;
3191
4256
  submitForm: (native?: boolean) => Promise<any>;
3192
4257
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3193
- }, {}, {}, {}, {
3194
- disabled: boolean;
3195
- labelWidth: string;
3196
- inline: boolean;
3197
- labelPosition: string;
3198
- config: import("@tmagic/form-schema").FormConfig;
3199
- height: string;
3200
- initValues: Record<string, any>;
3201
- lastValues: Record<string, any>;
3202
- isCompare: boolean;
3203
- keyProp: string;
3204
- parentValues: Record<string, any>;
3205
- stepActive: string | number;
3206
- }> | null>>;
4258
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4259
+ $slots: FormSlots;
4260
+ }) | null>>;
3207
4261
  submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3208
4262
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3209
4263
  mounted: (internalInstance: any) => any;
@@ -3246,46 +4300,129 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3246
4300
  "onSubmit-error"?: ((e: any) => any) | undefined;
3247
4301
  "onForm-error"?: ((e: any) => any) | undefined;
3248
4302
  }>, "submit" | "configForm"> & {
3249
- configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
3250
- config: import("@tmagic/form-schema").FormConfig;
3251
- initValues: Record<string, any>;
3252
- lastValues?: Record<string, any>;
3253
- isCompare?: boolean;
3254
- parentValues?: Record<string, any>;
3255
- labelWidth?: string;
3256
- disabled?: boolean;
3257
- height?: string;
3258
- stepActive?: string | number;
3259
- size?: "small" | "default" | "large";
3260
- inline?: boolean;
3261
- labelPosition?: string;
3262
- keyProp?: string;
3263
- popperClass?: string;
3264
- preventSubmitDefault?: boolean;
3265
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3266
- }> & Readonly<{
3267
- onError?: ((...args: any[]) => any) | undefined;
3268
- onChange?: ((...args: any[]) => any) | undefined;
3269
- "onField-input"?: ((...args: any[]) => any) | undefined;
3270
- "onField-change"?: ((...args: any[]) => any) | undefined;
3271
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3272
- }>, {
3273
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3274
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
3275
- formState: FormState;
3276
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3277
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3278
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3279
- resetForm: () => void;
3280
- submitForm: (native?: boolean) => Promise<any>;
3281
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3282
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3283
- error: (...args: any[]) => void;
3284
- change: (...args: any[]) => void;
3285
- "field-input": (...args: any[]) => void;
3286
- "field-change": (...args: any[]) => void;
3287
- "update:stepActive": (...args: any[]) => void;
3288
- }, import("@vue/runtime-core").PublicProps, {
4303
+ configForm: ({
4304
+ $: import("@vue/runtime-core").ComponentInternalInstance;
4305
+ $data: {};
4306
+ $props: {
4307
+ readonly config: import("@tmagic/form-schema").FormConfig;
4308
+ readonly initValues: Record<string, any>;
4309
+ readonly lastValues?: Record<string, any> | undefined;
4310
+ readonly isCompare?: boolean | undefined;
4311
+ readonly parentValues?: Record<string, any> | undefined;
4312
+ readonly labelWidth?: string | undefined;
4313
+ readonly disabled?: boolean | undefined;
4314
+ readonly height?: string | undefined;
4315
+ readonly stepActive?: string | number | undefined;
4316
+ readonly size?: "small" | "default" | "large" | undefined;
4317
+ readonly inline?: boolean | undefined;
4318
+ readonly labelPosition?: string | undefined;
4319
+ readonly keyProp?: string | undefined;
4320
+ readonly popperClass?: string | undefined;
4321
+ readonly preventSubmitDefault?: boolean | undefined;
4322
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4323
+ readonly showDiff?: ((_data: {
4324
+ curValue: any;
4325
+ lastValue: any;
4326
+ config: any;
4327
+ }) => boolean) | undefined;
4328
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
4329
+ readonly onError?: ((...args: any[]) => any) | undefined;
4330
+ readonly onChange?: ((...args: any[]) => any) | undefined;
4331
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
4332
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
4333
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4334
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
4335
+ $attrs: import("@vue/runtime-core").Attrs;
4336
+ $refs: {
4337
+ [x: string]: unknown;
4338
+ };
4339
+ $slots: Readonly<{
4340
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
4341
+ }>;
4342
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4343
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4344
+ $host: Element | null;
4345
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
4346
+ $el: any;
4347
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4348
+ config: import("@tmagic/form-schema").FormConfig;
4349
+ initValues: Record<string, any>;
4350
+ lastValues?: Record<string, any>;
4351
+ isCompare?: boolean;
4352
+ parentValues?: Record<string, any>;
4353
+ labelWidth?: string;
4354
+ disabled?: boolean;
4355
+ height?: string;
4356
+ stepActive?: string | number;
4357
+ size?: "small" | "default" | "large";
4358
+ inline?: boolean;
4359
+ labelPosition?: string;
4360
+ keyProp?: string;
4361
+ popperClass?: string;
4362
+ preventSubmitDefault?: boolean;
4363
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4364
+ showDiff?: (_data: {
4365
+ curValue: any;
4366
+ lastValue: any;
4367
+ config: any;
4368
+ }) => boolean;
4369
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
4370
+ }> & Readonly<{
4371
+ onError?: ((...args: any[]) => any) | undefined;
4372
+ onChange?: ((...args: any[]) => any) | undefined;
4373
+ "onField-input"?: ((...args: any[]) => any) | undefined;
4374
+ "onField-change"?: ((...args: any[]) => any) | undefined;
4375
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4376
+ }>, {
4377
+ values: import("@vue/reactivity").Ref<FormValue, FormValue>;
4378
+ lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4379
+ formState: FormState;
4380
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
4381
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4382
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4383
+ resetForm: () => void;
4384
+ submitForm: (native?: boolean) => Promise<any>;
4385
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4386
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4387
+ error: (...args: any[]) => void;
4388
+ change: (...args: any[]) => void;
4389
+ "field-input": (...args: any[]) => void;
4390
+ "field-change": (...args: any[]) => void;
4391
+ "update:stepActive": (...args: any[]) => void;
4392
+ }, string, {
4393
+ disabled: boolean;
4394
+ labelWidth: string;
4395
+ inline: boolean;
4396
+ labelPosition: string;
4397
+ config: import("@tmagic/form-schema").FormConfig;
4398
+ height: string;
4399
+ initValues: Record<string, any>;
4400
+ lastValues: Record<string, any>;
4401
+ isCompare: boolean;
4402
+ keyProp: string;
4403
+ parentValues: Record<string, any>;
4404
+ stepActive: string | number;
4405
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4406
+ beforeCreate?: (() => void) | (() => void)[];
4407
+ created?: (() => void) | (() => void)[];
4408
+ beforeMount?: (() => void) | (() => void)[];
4409
+ mounted?: (() => void) | (() => void)[];
4410
+ beforeUpdate?: (() => void) | (() => void)[];
4411
+ updated?: (() => void) | (() => void)[];
4412
+ activated?: (() => void) | (() => void)[];
4413
+ deactivated?: (() => void) | (() => void)[];
4414
+ beforeDestroy?: (() => void) | (() => void)[];
4415
+ beforeUnmount?: (() => void) | (() => void)[];
4416
+ destroyed?: (() => void) | (() => void)[];
4417
+ unmounted?: (() => void) | (() => void)[];
4418
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4419
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4420
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
4421
+ };
4422
+ $forceUpdate: () => void;
4423
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
4424
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
4425
+ } & Readonly<{
3289
4426
  disabled: boolean;
3290
4427
  labelWidth: string;
3291
4428
  inline: boolean;
@@ -3298,14 +4435,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3298
4435
  keyProp: string;
3299
4436
  parentValues: Record<string, any>;
3300
4437
  stepActive: string | number;
3301
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
3302
- P: {};
3303
- B: {};
3304
- D: {};
3305
- C: {};
3306
- M: {};
3307
- Defaults: {};
3308
- }, Readonly<{
4438
+ }> & Omit<Readonly<{
3309
4439
  config: import("@tmagic/form-schema").FormConfig;
3310
4440
  initValues: Record<string, any>;
3311
4441
  lastValues?: Record<string, any>;
@@ -3322,36 +4452,31 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3322
4452
  popperClass?: string;
3323
4453
  preventSubmitDefault?: boolean;
3324
4454
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4455
+ showDiff?: (_data: {
4456
+ curValue: any;
4457
+ lastValue: any;
4458
+ config: any;
4459
+ }) => boolean;
4460
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3325
4461
  }> & Readonly<{
3326
4462
  onError?: ((...args: any[]) => any) | undefined;
3327
4463
  onChange?: ((...args: any[]) => any) | undefined;
3328
4464
  "onField-input"?: ((...args: any[]) => any) | undefined;
3329
4465
  "onField-change"?: ((...args: any[]) => any) | undefined;
3330
4466
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3331
- }>, {
3332
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3333
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4467
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
4468
+ values: FormValue;
4469
+ lastValuesProcessed: FormValue;
3334
4470
  formState: FormState;
3335
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3336
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4471
+ initialized: boolean;
4472
+ changeRecords: ChangeRecord$1[];
3337
4473
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3338
4474
  resetForm: () => void;
3339
4475
  submitForm: (native?: boolean) => Promise<any>;
3340
4476
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3341
- }, {}, {}, {}, {
3342
- disabled: boolean;
3343
- labelWidth: string;
3344
- inline: boolean;
3345
- labelPosition: string;
3346
- config: import("@tmagic/form-schema").FormConfig;
3347
- height: string;
3348
- initValues: Record<string, any>;
3349
- lastValues: Record<string, any>;
3350
- isCompare: boolean;
3351
- keyProp: string;
3352
- parentValues: Record<string, any>;
3353
- stepActive: string | number;
3354
- }> | null;
4477
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4478
+ $slots: FormSlots;
4479
+ }) | null;
3355
4480
  submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3356
4481
  } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3357
4482
  $slots: {
@@ -3361,7 +4486,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3361
4486
  unmounted: () => any;
3362
4487
  "submit-error": (e: any) => any;
3363
4488
  "form-error": (e: any) => any;
3364
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
4489
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
3365
4490
  onMounted?: ((internalInstance: {
3366
4491
  $: import("@vue/runtime-core").ComponentInternalInstance;
3367
4492
  $data: {};
@@ -3406,46 +4531,129 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3406
4531
  "onSubmit-error"?: ((e: any) => any) | undefined;
3407
4532
  "onForm-error"?: ((e: any) => any) | undefined;
3408
4533
  }>, {
3409
- configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
3410
- config: import("@tmagic/form-schema").FormConfig;
3411
- initValues: Record<string, any>;
3412
- lastValues?: Record<string, any>;
3413
- isCompare?: boolean;
3414
- parentValues?: Record<string, any>;
3415
- labelWidth?: string;
3416
- disabled?: boolean;
3417
- height?: string;
3418
- stepActive?: string | number;
3419
- size?: "small" | "default" | "large";
3420
- inline?: boolean;
3421
- labelPosition?: string;
3422
- keyProp?: string;
3423
- popperClass?: string;
3424
- preventSubmitDefault?: boolean;
3425
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3426
- }> & Readonly<{
3427
- onError?: ((...args: any[]) => any) | undefined;
3428
- onChange?: ((...args: any[]) => any) | undefined;
3429
- "onField-input"?: ((...args: any[]) => any) | undefined;
3430
- "onField-change"?: ((...args: any[]) => any) | undefined;
3431
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3432
- }>, {
3433
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3434
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
3435
- formState: FormState;
3436
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3437
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3438
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3439
- resetForm: () => void;
3440
- submitForm: (native?: boolean) => Promise<any>;
3441
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3442
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3443
- error: (...args: any[]) => void;
3444
- change: (...args: any[]) => void;
3445
- "field-input": (...args: any[]) => void;
3446
- "field-change": (...args: any[]) => void;
3447
- "update:stepActive": (...args: any[]) => void;
3448
- }, import("@vue/runtime-core").PublicProps, {
4534
+ configForm: Readonly<import("@vue/reactivity").ShallowRef<({
4535
+ $: import("@vue/runtime-core").ComponentInternalInstance;
4536
+ $data: {};
4537
+ $props: {
4538
+ readonly config: import("@tmagic/form-schema").FormConfig;
4539
+ readonly initValues: Record<string, any>;
4540
+ readonly lastValues?: Record<string, any> | undefined;
4541
+ readonly isCompare?: boolean | undefined;
4542
+ readonly parentValues?: Record<string, any> | undefined;
4543
+ readonly labelWidth?: string | undefined;
4544
+ readonly disabled?: boolean | undefined;
4545
+ readonly height?: string | undefined;
4546
+ readonly stepActive?: string | number | undefined;
4547
+ readonly size?: "small" | "default" | "large" | undefined;
4548
+ readonly inline?: boolean | undefined;
4549
+ readonly labelPosition?: string | undefined;
4550
+ readonly keyProp?: string | undefined;
4551
+ readonly popperClass?: string | undefined;
4552
+ readonly preventSubmitDefault?: boolean | undefined;
4553
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4554
+ readonly showDiff?: ((_data: {
4555
+ curValue: any;
4556
+ lastValue: any;
4557
+ config: any;
4558
+ }) => boolean) | undefined;
4559
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
4560
+ readonly onError?: ((...args: any[]) => any) | undefined;
4561
+ readonly onChange?: ((...args: any[]) => any) | undefined;
4562
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
4563
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
4564
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4565
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
4566
+ $attrs: import("@vue/runtime-core").Attrs;
4567
+ $refs: {
4568
+ [x: string]: unknown;
4569
+ };
4570
+ $slots: Readonly<{
4571
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
4572
+ }>;
4573
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4574
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4575
+ $host: Element | null;
4576
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
4577
+ $el: any;
4578
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4579
+ config: import("@tmagic/form-schema").FormConfig;
4580
+ initValues: Record<string, any>;
4581
+ lastValues?: Record<string, any>;
4582
+ isCompare?: boolean;
4583
+ parentValues?: Record<string, any>;
4584
+ labelWidth?: string;
4585
+ disabled?: boolean;
4586
+ height?: string;
4587
+ stepActive?: string | number;
4588
+ size?: "small" | "default" | "large";
4589
+ inline?: boolean;
4590
+ labelPosition?: string;
4591
+ keyProp?: string;
4592
+ popperClass?: string;
4593
+ preventSubmitDefault?: boolean;
4594
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4595
+ showDiff?: (_data: {
4596
+ curValue: any;
4597
+ lastValue: any;
4598
+ config: any;
4599
+ }) => boolean;
4600
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
4601
+ }> & Readonly<{
4602
+ onError?: ((...args: any[]) => any) | undefined;
4603
+ onChange?: ((...args: any[]) => any) | undefined;
4604
+ "onField-input"?: ((...args: any[]) => any) | undefined;
4605
+ "onField-change"?: ((...args: any[]) => any) | undefined;
4606
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4607
+ }>, {
4608
+ values: import("@vue/reactivity").Ref<FormValue, FormValue>;
4609
+ lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4610
+ formState: FormState;
4611
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
4612
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4613
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4614
+ resetForm: () => void;
4615
+ submitForm: (native?: boolean) => Promise<any>;
4616
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4617
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4618
+ error: (...args: any[]) => void;
4619
+ change: (...args: any[]) => void;
4620
+ "field-input": (...args: any[]) => void;
4621
+ "field-change": (...args: any[]) => void;
4622
+ "update:stepActive": (...args: any[]) => void;
4623
+ }, string, {
4624
+ disabled: boolean;
4625
+ labelWidth: string;
4626
+ inline: boolean;
4627
+ labelPosition: string;
4628
+ config: import("@tmagic/form-schema").FormConfig;
4629
+ height: string;
4630
+ initValues: Record<string, any>;
4631
+ lastValues: Record<string, any>;
4632
+ isCompare: boolean;
4633
+ keyProp: string;
4634
+ parentValues: Record<string, any>;
4635
+ stepActive: string | number;
4636
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4637
+ beforeCreate?: (() => void) | (() => void)[];
4638
+ created?: (() => void) | (() => void)[];
4639
+ beforeMount?: (() => void) | (() => void)[];
4640
+ mounted?: (() => void) | (() => void)[];
4641
+ beforeUpdate?: (() => void) | (() => void)[];
4642
+ updated?: (() => void) | (() => void)[];
4643
+ activated?: (() => void) | (() => void)[];
4644
+ deactivated?: (() => void) | (() => void)[];
4645
+ beforeDestroy?: (() => void) | (() => void)[];
4646
+ beforeUnmount?: (() => void) | (() => void)[];
4647
+ destroyed?: (() => void) | (() => void)[];
4648
+ unmounted?: (() => void) | (() => void)[];
4649
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4650
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4651
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
4652
+ };
4653
+ $forceUpdate: () => void;
4654
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
4655
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
4656
+ } & Readonly<{
3449
4657
  disabled: boolean;
3450
4658
  labelWidth: string;
3451
4659
  inline: boolean;
@@ -3458,14 +4666,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3458
4666
  keyProp: string;
3459
4667
  parentValues: Record<string, any>;
3460
4668
  stepActive: string | number;
3461
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
3462
- P: {};
3463
- B: {};
3464
- D: {};
3465
- C: {};
3466
- M: {};
3467
- Defaults: {};
3468
- }, Readonly<{
4669
+ }> & Omit<Readonly<{
3469
4670
  config: import("@tmagic/form-schema").FormConfig;
3470
4671
  initValues: Record<string, any>;
3471
4672
  lastValues?: Record<string, any>;
@@ -3482,36 +4683,31 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3482
4683
  popperClass?: string;
3483
4684
  preventSubmitDefault?: boolean;
3484
4685
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4686
+ showDiff?: (_data: {
4687
+ curValue: any;
4688
+ lastValue: any;
4689
+ config: any;
4690
+ }) => boolean;
4691
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3485
4692
  }> & Readonly<{
3486
4693
  onError?: ((...args: any[]) => any) | undefined;
3487
4694
  onChange?: ((...args: any[]) => any) | undefined;
3488
4695
  "onField-input"?: ((...args: any[]) => any) | undefined;
3489
4696
  "onField-change"?: ((...args: any[]) => any) | undefined;
3490
4697
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3491
- }>, {
3492
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3493
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4698
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
4699
+ values: FormValue;
4700
+ lastValuesProcessed: FormValue;
3494
4701
  formState: FormState;
3495
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3496
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4702
+ initialized: boolean;
4703
+ changeRecords: ChangeRecord$1[];
3497
4704
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3498
4705
  resetForm: () => void;
3499
4706
  submitForm: (native?: boolean) => Promise<any>;
3500
4707
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3501
- }, {}, {}, {}, {
3502
- disabled: boolean;
3503
- labelWidth: string;
3504
- inline: boolean;
3505
- labelPosition: string;
3506
- config: import("@tmagic/form-schema").FormConfig;
3507
- height: string;
3508
- initValues: Record<string, any>;
3509
- lastValues: Record<string, any>;
3510
- isCompare: boolean;
3511
- keyProp: string;
3512
- parentValues: Record<string, any>;
3513
- stepActive: string | number;
3514
- }> | null>>;
4708
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4709
+ $slots: FormSlots;
4710
+ }) | null>>;
3515
4711
  submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3516
4712
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3517
4713
  mounted: (internalInstance: any) => any;
@@ -3554,7 +4750,142 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3554
4750
  "onSubmit-error"?: ((e: any) => any) | undefined;
3555
4751
  "onForm-error"?: ((e: any) => any) | undefined;
3556
4752
  }>, "submit" | "configForm"> & {
3557
- configForm: import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
4753
+ configForm: ({
4754
+ $: import("@vue/runtime-core").ComponentInternalInstance;
4755
+ $data: {};
4756
+ $props: {
4757
+ readonly config: import("@tmagic/form-schema").FormConfig;
4758
+ readonly initValues: Record<string, any>;
4759
+ readonly lastValues?: Record<string, any> | undefined;
4760
+ readonly isCompare?: boolean | undefined;
4761
+ readonly parentValues?: Record<string, any> | undefined;
4762
+ readonly labelWidth?: string | undefined;
4763
+ readonly disabled?: boolean | undefined;
4764
+ readonly height?: string | undefined;
4765
+ readonly stepActive?: string | number | undefined;
4766
+ readonly size?: "small" | "default" | "large" | undefined;
4767
+ readonly inline?: boolean | undefined;
4768
+ readonly labelPosition?: string | undefined;
4769
+ readonly keyProp?: string | undefined;
4770
+ readonly popperClass?: string | undefined;
4771
+ readonly preventSubmitDefault?: boolean | undefined;
4772
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4773
+ readonly showDiff?: ((_data: {
4774
+ curValue: any;
4775
+ lastValue: any;
4776
+ config: any;
4777
+ }) => boolean) | undefined;
4778
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
4779
+ readonly onError?: ((...args: any[]) => any) | undefined;
4780
+ readonly onChange?: ((...args: any[]) => any) | undefined;
4781
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
4782
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
4783
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4784
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
4785
+ $attrs: import("@vue/runtime-core").Attrs;
4786
+ $refs: {
4787
+ [x: string]: unknown;
4788
+ };
4789
+ $slots: Readonly<{
4790
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
4791
+ }>;
4792
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
4793
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
4794
+ $host: Element | null;
4795
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
4796
+ $el: any;
4797
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
4798
+ config: import("@tmagic/form-schema").FormConfig;
4799
+ initValues: Record<string, any>;
4800
+ lastValues?: Record<string, any>;
4801
+ isCompare?: boolean;
4802
+ parentValues?: Record<string, any>;
4803
+ labelWidth?: string;
4804
+ disabled?: boolean;
4805
+ height?: string;
4806
+ stepActive?: string | number;
4807
+ size?: "small" | "default" | "large";
4808
+ inline?: boolean;
4809
+ labelPosition?: string;
4810
+ keyProp?: string;
4811
+ popperClass?: string;
4812
+ preventSubmitDefault?: boolean;
4813
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4814
+ showDiff?: (_data: {
4815
+ curValue: any;
4816
+ lastValue: any;
4817
+ config: any;
4818
+ }) => boolean;
4819
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
4820
+ }> & Readonly<{
4821
+ onError?: ((...args: any[]) => any) | undefined;
4822
+ onChange?: ((...args: any[]) => any) | undefined;
4823
+ "onField-input"?: ((...args: any[]) => any) | undefined;
4824
+ "onField-change"?: ((...args: any[]) => any) | undefined;
4825
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4826
+ }>, {
4827
+ values: import("@vue/reactivity").Ref<FormValue, FormValue>;
4828
+ lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4829
+ formState: FormState;
4830
+ initialized: import("@vue/reactivity").Ref<boolean, boolean>;
4831
+ changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4832
+ changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
4833
+ resetForm: () => void;
4834
+ submitForm: (native?: boolean) => Promise<any>;
4835
+ getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
4836
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
4837
+ error: (...args: any[]) => void;
4838
+ change: (...args: any[]) => void;
4839
+ "field-input": (...args: any[]) => void;
4840
+ "field-change": (...args: any[]) => void;
4841
+ "update:stepActive": (...args: any[]) => void;
4842
+ }, string, {
4843
+ disabled: boolean;
4844
+ labelWidth: string;
4845
+ inline: boolean;
4846
+ labelPosition: string;
4847
+ config: import("@tmagic/form-schema").FormConfig;
4848
+ height: string;
4849
+ initValues: Record<string, any>;
4850
+ lastValues: Record<string, any>;
4851
+ isCompare: boolean;
4852
+ keyProp: string;
4853
+ parentValues: Record<string, any>;
4854
+ stepActive: string | number;
4855
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4856
+ beforeCreate?: (() => void) | (() => void)[];
4857
+ created?: (() => void) | (() => void)[];
4858
+ beforeMount?: (() => void) | (() => void)[];
4859
+ mounted?: (() => void) | (() => void)[];
4860
+ beforeUpdate?: (() => void) | (() => void)[];
4861
+ updated?: (() => void) | (() => void)[];
4862
+ activated?: (() => void) | (() => void)[];
4863
+ deactivated?: (() => void) | (() => void)[];
4864
+ beforeDestroy?: (() => void) | (() => void)[];
4865
+ beforeUnmount?: (() => void) | (() => void)[];
4866
+ destroyed?: (() => void) | (() => void)[];
4867
+ unmounted?: (() => void) | (() => void)[];
4868
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4869
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
4870
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
4871
+ };
4872
+ $forceUpdate: () => void;
4873
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
4874
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
4875
+ } & Readonly<{
4876
+ disabled: boolean;
4877
+ labelWidth: string;
4878
+ inline: boolean;
4879
+ labelPosition: string;
4880
+ config: import("@tmagic/form-schema").FormConfig;
4881
+ height: string;
4882
+ initValues: Record<string, any>;
4883
+ lastValues: Record<string, any>;
4884
+ isCompare: boolean;
4885
+ keyProp: string;
4886
+ parentValues: Record<string, any>;
4887
+ stepActive: string | number;
4888
+ }> & Omit<Readonly<{
3558
4889
  config: import("@tmagic/form-schema").FormConfig;
3559
4890
  initValues: Record<string, any>;
3560
4891
  lastValues?: Record<string, any>;
@@ -3571,50 +4902,109 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3571
4902
  popperClass?: string;
3572
4903
  preventSubmitDefault?: boolean;
3573
4904
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4905
+ showDiff?: (_data: {
4906
+ curValue: any;
4907
+ lastValue: any;
4908
+ config: any;
4909
+ }) => boolean;
4910
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3574
4911
  }> & Readonly<{
3575
4912
  onError?: ((...args: any[]) => any) | undefined;
3576
4913
  onChange?: ((...args: any[]) => any) | undefined;
3577
4914
  "onField-input"?: ((...args: any[]) => any) | undefined;
3578
4915
  "onField-change"?: ((...args: any[]) => any) | undefined;
3579
4916
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3580
- }>, {
3581
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3582
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
4917
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
4918
+ values: FormValue;
4919
+ lastValuesProcessed: FormValue;
3583
4920
  formState: FormState;
3584
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3585
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
4921
+ initialized: boolean;
4922
+ changeRecords: ChangeRecord$1[];
3586
4923
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3587
4924
  resetForm: () => void;
3588
4925
  submitForm: (native?: boolean) => Promise<any>;
3589
4926
  getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3590
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3591
- error: (...args: any[]) => void;
3592
- change: (...args: any[]) => void;
3593
- "field-input": (...args: any[]) => void;
3594
- "field-change": (...args: any[]) => void;
3595
- "update:stepActive": (...args: any[]) => void;
3596
- }, import("@vue/runtime-core").PublicProps, {
3597
- disabled: boolean;
3598
- labelWidth: string;
3599
- inline: boolean;
3600
- labelPosition: string;
3601
- config: import("@tmagic/form-schema").FormConfig;
3602
- height: string;
3603
- initValues: Record<string, any>;
3604
- lastValues: Record<string, any>;
3605
- isCompare: boolean;
3606
- keyProp: string;
3607
- parentValues: Record<string, any>;
3608
- stepActive: string | number;
3609
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
3610
- P: {};
3611
- B: {};
3612
- D: {};
3613
- C: {};
3614
- M: {};
3615
- Defaults: {};
3616
- }, Readonly<{
3617
- config: import("@tmagic/form-schema").FormConfig;
4927
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4928
+ $slots: FormSlots;
4929
+ }) | null;
4930
+ submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
4931
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
4932
+ $slots: {
4933
+ 'props-form-panel-header'(_props: {}): any;
4934
+ };
4935
+ }) => any) | undefined;
4936
+ onUnmounted?: (() => any) | undefined;
4937
+ "onSubmit-error"?: ((e: any) => any) | undefined;
4938
+ "onForm-error"?: ((e: any) => any) | undefined;
4939
+ }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
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;
4942
+ type __VLS_WithSlots$7<T, S> = T & {
4943
+ new (): {
4944
+ $slots: S;
4945
+ };
4946
+ };
4947
+ //#endregion
4948
+ //#region temp/packages/editor/src/layouts/props-panel/FormPanel.vue.d.ts
4949
+ type __VLS_Slots$6 = {
4950
+ 'props-form-panel-header'(_props: {}): any;
4951
+ };
4952
+ type __VLS_Props$15 = {
4953
+ config: FormConfig;
4954
+ values: FormValue;
4955
+ disabledShowSrc?: boolean;
4956
+ labelWidth?: string;
4957
+ codeValueKey?: string;
4958
+ labelPosition?: string;
4959
+ extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
4960
+ };
4961
+ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
4962
+ configForm: Readonly<import("@vue/reactivity").ShallowRef<({
4963
+ $: import("@vue/runtime-core").ComponentInternalInstance;
4964
+ $data: {};
4965
+ $props: {
4966
+ readonly config: FormConfig;
4967
+ readonly initValues: Record<string, any>;
4968
+ readonly lastValues?: Record<string, any> | undefined;
4969
+ readonly isCompare?: boolean | undefined;
4970
+ readonly parentValues?: Record<string, any> | undefined;
4971
+ readonly labelWidth?: string | undefined;
4972
+ readonly disabled?: boolean | undefined;
4973
+ readonly height?: string | undefined;
4974
+ readonly stepActive?: string | number | undefined;
4975
+ readonly size?: "small" | "default" | "large" | undefined;
4976
+ readonly inline?: boolean | undefined;
4977
+ readonly labelPosition?: string | undefined;
4978
+ readonly keyProp?: string | undefined;
4979
+ readonly popperClass?: string | undefined;
4980
+ readonly preventSubmitDefault?: boolean | undefined;
4981
+ readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4982
+ readonly showDiff?: ((_data: {
4983
+ curValue: any;
4984
+ lastValue: any;
4985
+ config: any;
4986
+ }) => boolean) | undefined;
4987
+ readonly selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]) | undefined;
4988
+ readonly onError?: ((...args: any[]) => any) | undefined;
4989
+ readonly onChange?: ((...args: any[]) => any) | undefined;
4990
+ readonly "onField-input"?: ((...args: any[]) => any) | undefined;
4991
+ readonly "onField-change"?: ((...args: any[]) => any) | undefined;
4992
+ readonly "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4993
+ } & import("@vue/runtime-core").VNodeProps & import("@vue/runtime-core").AllowedComponentProps & import("@vue/runtime-core").ComponentCustomProps;
4994
+ $attrs: import("@vue/runtime-core").Attrs;
4995
+ $refs: {
4996
+ [x: string]: unknown;
4997
+ };
4998
+ $slots: Readonly<{
4999
+ [name: string]: import("@vue/runtime-core").Slot<any> | undefined;
5000
+ }>;
5001
+ $root: import("@vue/runtime-core").ComponentPublicInstance | null;
5002
+ $parent: import("@vue/runtime-core").ComponentPublicInstance | null;
5003
+ $host: Element | null;
5004
+ $emit: ((event: "error", ...args: any[]) => void) & ((event: "change", ...args: any[]) => void) & ((event: "field-input", ...args: any[]) => void) & ((event: "field-change", ...args: any[]) => void) & ((event: "update:stepActive", ...args: any[]) => void);
5005
+ $el: any;
5006
+ $options: import("@vue/runtime-core").ComponentOptionsBase<Readonly<{
5007
+ config: FormConfig;
3618
5008
  initValues: Record<string, any>;
3619
5009
  lastValues?: Record<string, any>;
3620
5010
  isCompare?: boolean;
@@ -3630,6 +5020,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3630
5020
  popperClass?: string;
3631
5021
  preventSubmitDefault?: boolean;
3632
5022
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5023
+ showDiff?: (_data: {
5024
+ curValue: any;
5025
+ lastValue: any;
5026
+ config: any;
5027
+ }) => boolean;
5028
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3633
5029
  }> & Readonly<{
3634
5030
  onError?: ((...args: any[]) => any) | undefined;
3635
5031
  onChange?: ((...args: any[]) => any) | undefined;
@@ -3645,13 +5041,19 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3645
5041
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3646
5042
  resetForm: () => void;
3647
5043
  submitForm: (native?: boolean) => Promise<any>;
3648
- getTextByName: (name: string, config?: import("@tmagic/form-schema").FormConfig) => string | undefined;
3649
- }, {}, {}, {}, {
5044
+ getTextByName: (name: string, config?: FormConfig) => string | undefined;
5045
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5046
+ error: (...args: any[]) => void;
5047
+ change: (...args: any[]) => void;
5048
+ "field-input": (...args: any[]) => void;
5049
+ "field-change": (...args: any[]) => void;
5050
+ "update:stepActive": (...args: any[]) => void;
5051
+ }, string, {
3650
5052
  disabled: boolean;
3651
5053
  labelWidth: string;
3652
5054
  inline: boolean;
3653
5055
  labelPosition: string;
3654
- config: import("@tmagic/form-schema").FormConfig;
5056
+ config: FormConfig;
3655
5057
  height: string;
3656
5058
  initValues: Record<string, any>;
3657
5059
  lastValues: Record<string, any>;
@@ -3659,79 +5061,27 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3659
5061
  keyProp: string;
3660
5062
  parentValues: Record<string, any>;
3661
5063
  stepActive: string | number;
3662
- }> | null;
3663
- submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3664
- } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
3665
- $slots: {
3666
- 'props-form-panel-header'(_props: {}): any;
5064
+ }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
5065
+ beforeCreate?: (() => void) | (() => void)[];
5066
+ created?: (() => void) | (() => void)[];
5067
+ beforeMount?: (() => void) | (() => void)[];
5068
+ mounted?: (() => void) | (() => void)[];
5069
+ beforeUpdate?: (() => void) | (() => void)[];
5070
+ updated?: (() => void) | (() => void)[];
5071
+ activated?: (() => void) | (() => void)[];
5072
+ deactivated?: (() => void) | (() => void)[];
5073
+ beforeDestroy?: (() => void) | (() => void)[];
5074
+ beforeUnmount?: (() => void) | (() => void)[];
5075
+ destroyed?: (() => void) | (() => void)[];
5076
+ unmounted?: (() => void) | (() => void)[];
5077
+ renderTracked?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
5078
+ renderTriggered?: ((e: import("@vue/reactivity").DebuggerEvent) => void) | ((e: import("@vue/reactivity").DebuggerEvent) => void)[];
5079
+ errorCaptured?: ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("@vue/runtime-core").ComponentPublicInstance | null, info: string) => boolean | void)[];
3667
5080
  };
3668
- }) => any) | undefined;
3669
- onUnmounted?: (() => any) | undefined;
3670
- "onSubmit-error"?: ((e: any) => any) | undefined;
3671
- "onForm-error"?: ((e: any) => any) | undefined;
3672
- }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3673
- declare const __VLS_export$14: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
3674
- declare const _default$26: typeof __VLS_export$14;
3675
- type __VLS_WithSlots$7<T, S> = T & {
3676
- new (): {
3677
- $slots: S;
3678
- };
3679
- };
3680
- //#endregion
3681
- //#region temp/packages/editor/src/layouts/props-panel/FormPanel.vue.d.ts
3682
- type __VLS_Slots$6 = {
3683
- 'props-form-panel-header'(_props: {}): any;
3684
- };
3685
- type __VLS_Props$12 = {
3686
- config: FormConfig;
3687
- values: FormValue;
3688
- disabledShowSrc?: boolean;
3689
- labelWidth?: string;
3690
- codeValueKey?: string;
3691
- labelPosition?: string;
3692
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3693
- };
3694
- declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {
3695
- configForm: Readonly<import("@vue/reactivity").ShallowRef<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
3696
- config: FormConfig;
3697
- initValues: Record<string, any>;
3698
- lastValues?: Record<string, any>;
3699
- isCompare?: boolean;
3700
- parentValues?: Record<string, any>;
3701
- labelWidth?: string;
3702
- disabled?: boolean;
3703
- height?: string;
3704
- stepActive?: string | number;
3705
- size?: "small" | "default" | "large";
3706
- inline?: boolean;
3707
- labelPosition?: string;
3708
- keyProp?: string;
3709
- popperClass?: string;
3710
- preventSubmitDefault?: boolean;
3711
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3712
- }> & Readonly<{
3713
- onError?: ((...args: any[]) => any) | undefined;
3714
- onChange?: ((...args: any[]) => any) | undefined;
3715
- "onField-input"?: ((...args: any[]) => any) | undefined;
3716
- "onField-change"?: ((...args: any[]) => any) | undefined;
3717
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3718
- }>, {
3719
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3720
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
3721
- formState: FormState;
3722
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3723
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
3724
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3725
- resetForm: () => void;
3726
- submitForm: (native?: boolean) => Promise<any>;
3727
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
3728
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3729
- error: (...args: any[]) => void;
3730
- change: (...args: any[]) => void;
3731
- "field-input": (...args: any[]) => void;
3732
- "field-change": (...args: any[]) => void;
3733
- "update:stepActive": (...args: any[]) => void;
3734
- }, import("@vue/runtime-core").PublicProps, {
5081
+ $forceUpdate: () => void;
5082
+ $nextTick: typeof import("@vue/runtime-core").nextTick;
5083
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends ((...args: any) => infer R) ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("@vue/runtime-core").WatchOptions): import("@vue/reactivity").WatchStopHandle;
5084
+ } & Readonly<{
3735
5085
  disabled: boolean;
3736
5086
  labelWidth: string;
3737
5087
  inline: boolean;
@@ -3744,14 +5094,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3744
5094
  keyProp: string;
3745
5095
  parentValues: Record<string, any>;
3746
5096
  stepActive: string | number;
3747
- }, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
3748
- P: {};
3749
- B: {};
3750
- D: {};
3751
- C: {};
3752
- M: {};
3753
- Defaults: {};
3754
- }, Readonly<{
5097
+ }> & Omit<Readonly<{
3755
5098
  config: FormConfig;
3756
5099
  initValues: Record<string, any>;
3757
5100
  lastValues?: Record<string, any>;
@@ -3768,36 +5111,31 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3768
5111
  popperClass?: string;
3769
5112
  preventSubmitDefault?: boolean;
3770
5113
  extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5114
+ showDiff?: (_data: {
5115
+ curValue: any;
5116
+ lastValue: any;
5117
+ config: any;
5118
+ }) => boolean;
5119
+ selfDiffFieldTypes?: string[] | ((_defaultTypes: string[]) => string[]);
3771
5120
  }> & Readonly<{
3772
5121
  onError?: ((...args: any[]) => any) | undefined;
3773
5122
  onChange?: ((...args: any[]) => any) | undefined;
3774
5123
  "onField-input"?: ((...args: any[]) => any) | undefined;
3775
5124
  "onField-change"?: ((...args: any[]) => any) | undefined;
3776
5125
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3777
- }>, {
3778
- values: import("@vue/reactivity").Ref<FormValue, FormValue>;
3779
- lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
5126
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
5127
+ values: FormValue;
5128
+ lastValuesProcessed: FormValue;
3780
5129
  formState: FormState;
3781
- initialized: import("@vue/reactivity").Ref<boolean, boolean>;
3782
- changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
5130
+ initialized: boolean;
5131
+ changeRecords: ChangeRecord$1[];
3783
5132
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
3784
5133
  resetForm: () => void;
3785
5134
  submitForm: (native?: boolean) => Promise<any>;
3786
5135
  getTextByName: (name: string, config?: FormConfig) => string | undefined;
3787
- }, {}, {}, {}, {
3788
- disabled: boolean;
3789
- labelWidth: string;
3790
- inline: boolean;
3791
- labelPosition: string;
3792
- config: FormConfig;
3793
- height: string;
3794
- initValues: Record<string, any>;
3795
- lastValues: Record<string, any>;
3796
- isCompare: boolean;
3797
- keyProp: string;
3798
- parentValues: Record<string, any>;
3799
- stepActive: string | number;
3800
- }> | null>>;
5136
+ } & {} & import("@vue/runtime-core").ComponentCustomProperties & {} & {
5137
+ $slots: FormSlots;
5138
+ }) | null>>;
3801
5139
  submit: (v: FormValue, eventData: ContainerChangeEventData) => Promise<void>;
3802
5140
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3803
5141
  mounted: (internalInstance: any) => any;
@@ -3805,15 +5143,15 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3805
5143
  submit: (values: any, eventData?: ContainerChangeEventData | undefined) => any;
3806
5144
  "submit-error": (e: any) => any;
3807
5145
  "form-error": (e: any) => any;
3808
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{
5146
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{
3809
5147
  onMounted?: ((internalInstance: any) => any) | undefined;
3810
5148
  onUnmounted?: (() => any) | undefined;
3811
5149
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
3812
5150
  "onSubmit-error"?: ((e: any) => any) | undefined;
3813
5151
  "onForm-error"?: ((e: any) => any) | undefined;
3814
5152
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3815
- declare const __VLS_export$13: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
3816
- declare const _default$25: typeof __VLS_export$13;
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;
3817
5155
  type __VLS_WithSlots$6<T, S> = T & {
3818
5156
  new (): {
3819
5157
  $slots: S;
@@ -3821,20 +5159,20 @@ type __VLS_WithSlots$6<T, S> = T & {
3821
5159
  };
3822
5160
  //#endregion
3823
5161
  //#region temp/packages/editor/src/components/ToolButton.vue.d.ts
3824
- type __VLS_Props$11 = {
5162
+ type __VLS_Props$14 = {
3825
5163
  data?: MenuButton | MenuComponent;
3826
5164
  eventType?: 'mousedown' | 'mouseup' | 'click';
3827
5165
  };
3828
- declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
5166
+ declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {
3829
5167
  getElRef: () => Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
3830
- }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{}>, {
5168
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{}>, {
3831
5169
  data: MenuButton | MenuComponent;
3832
5170
  eventType: "mousedown" | "mouseup" | "click";
3833
5171
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3834
- declare const _default$31: typeof __VLS_export$12;
5172
+ declare const _default$34: typeof __VLS_export$15;
3835
5173
  //#endregion
3836
5174
  //#region temp/packages/editor/src/components/ContentMenu.vue.d.ts
3837
- type __VLS_Props$10 = {
5175
+ type __VLS_Props$13 = {
3838
5176
  menuData?: (MenuButton | MenuComponent)[];
3839
5177
  isSubMenu?: boolean;
3840
5178
  active?: string | number;
@@ -3844,7 +5182,7 @@ declare var __VLS_7$1: {};
3844
5182
  type __VLS_Slots$5 = {} & {
3845
5183
  title?: (props: typeof __VLS_7$1) => any;
3846
5184
  };
3847
- declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {
5185
+ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {
3848
5186
  menu: Readonly<import("@vue/reactivity").ShallowRef<HTMLDivElement | null>>;
3849
5187
  menuPosition: Ref<{
3850
5188
  left: number;
@@ -3870,7 +5208,7 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3870
5208
  mouseenter: () => any;
3871
5209
  show: () => any;
3872
5210
  hide: () => any;
3873
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{
5211
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
3874
5212
  onMouseenter?: (() => any) | undefined;
3875
5213
  onShow?: (() => any) | undefined;
3876
5214
  onHide?: (() => any) | undefined;
@@ -3879,8 +5217,8 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3879
5217
  isSubMenu: boolean;
3880
5218
  autoHide: boolean;
3881
5219
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3882
- declare const __VLS_export$11: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
3883
- declare const _default$7: typeof __VLS_export$11;
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;
3884
5222
  type __VLS_WithSlots$5<T, S> = T & {
3885
5223
  new (): {
3886
5224
  $slots: S;
@@ -3888,14 +5226,14 @@ type __VLS_WithSlots$5<T, S> = T & {
3888
5226
  };
3889
5227
  //#endregion
3890
5228
  //#region temp/packages/editor/src/components/Icon.vue.d.ts
3891
- type __VLS_Props$9 = {
5229
+ type __VLS_Props$12 = {
3892
5230
  icon?: any;
3893
5231
  };
3894
- declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3895
- declare const _default$20: typeof __VLS_export$10;
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;
3896
5234
  //#endregion
3897
5235
  //#region temp/packages/editor/src/components/SplitView.vue.d.ts
3898
- type __VLS_Props$8 = {
5236
+ type __VLS_Props$11 = {
3899
5237
  width?: number;
3900
5238
  left?: number;
3901
5239
  right?: number;
@@ -3914,13 +5252,13 @@ type __VLS_Slots$4 = {} & {
3914
5252
  } & {
3915
5253
  right?: (props: typeof __VLS_19) => any;
3916
5254
  };
3917
- declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {
5255
+ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {
3918
5256
  updateWidth(): void;
3919
5257
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
3920
5258
  change: (...args: any[]) => void;
3921
5259
  "update:left": (...args: any[]) => void;
3922
5260
  "update:right": (...args: any[]) => void;
3923
- }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{
5261
+ }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
3924
5262
  onChange?: ((...args: any[]) => any) | undefined;
3925
5263
  "onUpdate:left"?: ((...args: any[]) => any) | undefined;
3926
5264
  "onUpdate:right"?: ((...args: any[]) => any) | undefined;
@@ -3929,8 +5267,8 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
3929
5267
  minRight: number;
3930
5268
  minCenter: number;
3931
5269
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3932
- declare const __VLS_export$9: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
3933
- declare const _default$23: typeof __VLS_export$9;
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;
3934
5272
  type __VLS_WithSlots$4<T, S> = T & {
3935
5273
  new (): {
3936
5274
  $slots: S;
@@ -3947,8 +5285,8 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<{}, {},
3947
5285
  }, string, import("@vue/runtime-core").PublicProps, Readonly<{}> & Readonly<{
3948
5286
  onChange?: ((e: OnDrag$1<import("gesto").default>) => any) | undefined;
3949
5287
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, true, {}, any>;
3950
- declare const __VLS_export$8: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
3951
- declare const _default$27: typeof __VLS_export$8;
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;
3952
5290
  type __VLS_WithSlots$3<T, S> = T & {
3953
5291
  new (): {
3954
5292
  $slots: S;
@@ -3956,7 +5294,7 @@ type __VLS_WithSlots$3<T, S> = T & {
3956
5294
  };
3957
5295
  //#endregion
3958
5296
  //#region temp/packages/editor/src/components/CodeBlockEditor.vue.d.ts
3959
- type __VLS_Props$7 = {
5297
+ type __VLS_Props$10 = {
3960
5298
  content: Omit<CodeBlockContent, 'content'> & {
3961
5299
  content: string;
3962
5300
  };
@@ -3968,8 +5306,8 @@ type __VLS_ModelProps$1 = {
3968
5306
  'width'?: number;
3969
5307
  'visible'?: boolean;
3970
5308
  };
3971
- type __VLS_PublicProps$1 = __VLS_Props$7 & __VLS_ModelProps$1;
3972
- declare const __VLS_export$7: 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, {
3973
5311
  show(): Promise<void>;
3974
5312
  hide(): Promise<void>;
3975
5313
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
@@ -3985,7 +5323,124 @@ declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_
3985
5323
  "onUpdate:width"?: ((value: number) => any) | undefined;
3986
5324
  "onUpdate:visible"?: ((value: boolean) => any) | undefined;
3987
5325
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
3988
- declare const _default: typeof __VLS_export$7;
5326
+ declare const _default: typeof __VLS_export$10;
5327
+ //#endregion
5328
+ //#region temp/packages/editor/src/components/CompareForm.vue.d.ts
5329
+ type __VLS_Props$9 = {
5330
+ /** 当前值(修改后的值) */value: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>; /** 用于对比的旧值(修改前的值) */
5331
+ lastValue?: Partial<MNode> | Partial<DataSourceSchema> | Partial<CodeBlockContent> | Record<string, any>;
5332
+ /**
5333
+ * 类型说明:
5334
+ * - `category` 为 `node` 时,`type` 为节点组件的类型,例如 'text'、'button'、'page'、'container' 等
5335
+ * - `category` 为 `data-source` 时,`type` 为数据源类型,例如 'base'、'http'
5336
+ * - `category` 为 `code-block` 时,`type` 可不传
5337
+ */
5338
+ type?: string; /** 表单配置类别,决定从哪里取 FormConfig */
5339
+ category?: CompareCategory; /** 数据源代码块场景下的数据源类型(base/http),用于代码块表单中"执行时机"展示 */
5340
+ dataSourceType?: string;
5341
+ labelWidth?: string;
5342
+ /**
5343
+ * 外层容器高度。设置后表单内容超出时会在 CompareForm 内部出现滚动条,
5344
+ * 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
5345
+ */
5346
+ height?: string;
5347
+ /**
5348
+ * 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
5349
+ * PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
5350
+ * filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
5351
+ * 因此在差异对比场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
5352
+ */
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;
5360
+ };
5361
+ declare const __VLS_export$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {
5362
+ form: ShallowRef<InstanceType<typeof MForm> | null>;
5363
+ config: Ref<FormConfig>;
5364
+ reload: () => Promise<void>;
5365
+ }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {
5366
+ labelWidth: string;
5367
+ category: CompareCategory;
5368
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
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;
3989
5444
  //#endregion
3990
5445
  //#region temp/packages/editor/src/components/FloatingBox.vue.d.ts
3991
5446
  interface Position {
@@ -4026,7 +5481,7 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pu
4026
5481
  position: Position;
4027
5482
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4028
5483
  declare const __VLS_export$6: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
4029
- declare const _default$19: typeof __VLS_export$6;
5484
+ declare const _default$20: typeof __VLS_export$6;
4030
5485
  type __VLS_WithSlots$2<T, S> = T & {
4031
5486
  new (): {
4032
5487
  $slots: S;
@@ -4076,7 +5531,7 @@ declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4076
5531
  indent: number;
4077
5532
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4078
5533
  declare const __VLS_export$5: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
4079
- declare const _default$32: typeof __VLS_export$5;
5534
+ declare const _default$35: typeof __VLS_export$5;
4080
5535
  type __VLS_WithSlots$1<T, S> = T & {
4081
5536
  new (): {
4082
5537
  $slots: S;
@@ -4127,7 +5582,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Prop
4127
5582
  isExpandable: IsExpandableFunction;
4128
5583
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4129
5584
  declare const __VLS_export$4: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
4130
- declare const _default$33: typeof __VLS_export$4;
5585
+ declare const _default$36: typeof __VLS_export$4;
4131
5586
  type __VLS_WithSlots<T, S> = T & {
4132
5587
  new (): {
4133
5588
  $slots: S;
@@ -4143,7 +5598,7 @@ declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_
4143
5598
  }>, {
4144
5599
  disabled: boolean;
4145
5600
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4146
- declare const _default$24: typeof __VLS_export$3;
5601
+ declare const _default$27: typeof __VLS_export$3;
4147
5602
  //#endregion
4148
5603
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
4149
5604
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
@@ -4154,7 +5609,7 @@ declare const __VLS_export$2: import("@vue/runtime-core").DefineComponent<__VLS_
4154
5609
  }>, {
4155
5610
  disabled: boolean;
4156
5611
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4157
- declare const _default$17: typeof __VLS_export$2;
5612
+ declare const _default$18: typeof __VLS_export$2;
4158
5613
  //#endregion
4159
5614
  //#region temp/packages/editor/src/fields/CondOpSelect.vue.d.ts
4160
5615
  type __VLS_Props$1 = FieldProps<CondOpSelectConfig>;
@@ -4163,7 +5618,7 @@ declare const __VLS_export$1: import("@vue/runtime-core").DefineComponent<__VLS_
4163
5618
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
4164
5619
  onChange?: ((value: string) => any) | undefined;
4165
5620
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4166
- declare const _default$6: typeof __VLS_export$1;
5621
+ declare const _default$7: typeof __VLS_export$1;
4167
5622
  //#endregion
4168
5623
  //#region temp/packages/editor/src/fields/StyleSetter/Index.vue.d.ts
4169
5624
  type __VLS_Props = FieldProps<StyleSchema>;
@@ -4174,11 +5629,11 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
4174
5629
  onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
4175
5630
  onAddDiffCount?: (() => any) | undefined;
4176
5631
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
4177
- declare const _default$28: typeof __VLS_export;
5632
+ declare const _default$31: typeof __VLS_export;
4178
5633
  //#endregion
4179
5634
  //#region temp/packages/editor/src/plugin.d.ts
4180
- declare const _default$36: {
5635
+ declare const _default$39: {
4181
5636
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
4182
5637
  };
4183
5638
  //#endregion
4184
- 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, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, ComponentGroup, ComponentGroupState, ComponentItem, _default$5 as ComponentListPanel, ComponentListPanelSlots, _default$6 as CondOpSelect, _default$7 as ContentMenu, CustomContentMenuFunction, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$8 as DataSourceAddButton, _default$9 as DataSourceConfigPanel, _default$10 as DataSourceFieldSelect, _default$11 as DataSourceFields, _default$12 as DataSourceInput, DataSourceListSlots, _default$13 as DataSourceMethodSelect, _default$14 as DataSourceMethods, _default$15 as DataSourceMocks, _default$16 as DataSourceSelect, DatasourceTypeOption, DepTargetType, _default$17 as DisplayConds, DragClassification, DragType, DslOpOptions, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EventBus, EventBusEvent, _default$18 as EventSelect, Fixed2Other, _default$19 as FloatingBox, FrameworkSlots, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryOpType, HistoryState, _default$20 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$21 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$22 as LayerPanel, LayerPanelSlots, Layout, _default$23 as LayoutContainer, _default$23 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$24 as PageFragmentSelect, PartSortableOptions, PastePosition, PropsFormConfigFunction, _default$25 as PropsFormPanel, PropsFormValueFunction, _default$26 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$27 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepValue, StoreState, StoreStateKey, _default$28 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$29 as TMagicCodeEditor, _default$30 as TMagicEditor, _default$31 as ToolButton, _default$32 as Tree, _default$33 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$34 as codeBlockService, collectRelatedNodes, _default$35 as dataSourceService, debug, _default$36 as default, defaultIsExpandable, _default$37 as depService, designPlugin, displayTabConfig, editorNodeMergeCustomizer, _default$38 as editorService, eqOptions, error, eventTabConfig, _default$39 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getDefaultConfig, getDisplayField, getEditorConfig, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getNodeIndex, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$40 as historyService, info, isIncludeDataSource, _default$41 as loadMonaco, log, moveItemsInContainer, numberOptions, _default$42 as propsService, resolveSelectedNode, serializeConfig, setChildrenLayout, setEditorConfig, setLayout, _default$43 as stageOverlayService, _default$44 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$45 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 };