@tmagic/editor 1.8.0-beta.24 → 1.8.0-beta.26

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 (113) hide show
  1. package/dist/es/Editor.vue_vue_type_script_setup_true_lang.js +10 -16
  2. package/dist/es/components/CodeParams.vue_vue_type_script_setup_true_lang.js +4 -4
  3. package/dist/es/components/CompareForm.vue_vue_type_script_setup_true_lang.js +5 -8
  4. package/dist/es/components/ViewForm.vue_vue_type_script_setup_true_lang.js +3 -5
  5. package/dist/es/fields/Code.vue_vue_type_script_setup_true_lang.js +3 -11
  6. package/dist/es/fields/CodeSelect.vue_vue_type_script_setup_true_lang.js +29 -124
  7. package/dist/es/fields/CodeSelectCol.vue_vue_type_script_setup_true_lang.js +5 -6
  8. package/dist/es/fields/CondOpSelect.vue_vue_type_script_setup_true_lang.js +3 -2
  9. package/dist/es/fields/DataSourceFieldSelect/FieldSelect.vue_vue_type_script_setup_true_lang.js +1 -1
  10. package/dist/es/fields/DataSourceFieldSelect/Index.vue_vue_type_script_setup_true_lang.js +7 -6
  11. package/dist/es/fields/DataSourceFields.vue_vue_type_script_setup_true_lang.js +6 -10
  12. package/dist/es/fields/DataSourceMethodSelect.vue_vue_type_script_setup_true_name_true_lang.js +5 -7
  13. package/dist/es/fields/DataSourceMethods.vue_vue_type_script_setup_true_lang.js +1 -4
  14. package/dist/es/fields/DataSourceMocks.vue_vue_type_script_setup_true_lang.js +4 -6
  15. package/dist/es/fields/DataSourceSelect.vue_vue_type_script_setup_true_lang.js +1 -1
  16. package/dist/es/fields/DisplayConds.vue_vue_type_script_setup_true_lang.js +9 -137
  17. package/dist/es/fields/EventSelect.vue_vue_type_script_setup_true_lang.js +51 -326
  18. package/dist/es/fields/KeyValue.vue_vue_type_script_setup_true_lang.js +2 -4
  19. package/dist/es/fields/StyleSetter/components/Border.vue_vue_type_script_setup_true_lang.js +3 -34
  20. package/dist/es/fields/StyleSetter/configs.js +663 -0
  21. package/dist/es/fields/StyleSetter/pro/Background.vue_vue_type_script_setup_true_lang.js +5 -108
  22. package/dist/es/fields/StyleSetter/pro/Border.vue_vue_type_script_setup_true_lang.js +3 -9
  23. package/dist/es/fields/StyleSetter/pro/Font.vue_vue_type_script_setup_true_lang.js +6 -103
  24. package/dist/es/fields/StyleSetter/pro/Layout.vue_vue_type_script_setup_true_lang.js +5 -265
  25. package/dist/es/fields/StyleSetter/pro/Position.vue_vue_type_script_setup_true_lang.js +5 -85
  26. package/dist/es/fields/StyleSetter/pro/Transform.vue_vue_type_script_setup_true_lang.js +3 -22
  27. package/dist/es/fields/configs/codeSelect.js +98 -0
  28. package/dist/es/fields/configs/displayConds.js +158 -0
  29. package/dist/es/fields/configs/eventSelect.js +225 -0
  30. package/dist/es/fields/configs/stickyAddButton.js +20 -0
  31. package/dist/es/fields/headless-validation.js +139 -0
  32. package/dist/es/headless.js +2 -0
  33. package/dist/es/hooks/use-compare-form.js +6 -23
  34. package/dist/es/hooks/use-form-context.js +19 -0
  35. package/dist/es/index.js +3 -2
  36. package/dist/es/initService.js +17 -1
  37. package/dist/es/layouts/history-list/HistoryDiffDialog.vue_vue_type_script_setup_true_lang.js +1 -7
  38. package/dist/es/layouts/history-list/HistoryListPanel.vue_vue_type_script_setup_true_lang.js +1 -11
  39. package/dist/es/layouts/history-list/useHistoryRevert.js +3 -11
  40. package/dist/es/layouts/props-panel/FormPanel.vue_vue_type_script_setup_true_lang.js +10 -23
  41. package/dist/es/layouts/props-panel/PropsPanel.vue_vue_type_script_setup_true_lang.js +3 -13
  42. package/dist/es/layouts/sidebar/code-block/CodeBlockListPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/dist/es/layouts/sidebar/code-block/useContentMenu.js +1 -1
  44. package/dist/es/layouts/sidebar/data-source/DataSourceListPanel.vue_vue_type_script_setup_true_lang.js +1 -1
  45. package/dist/es/layouts/sidebar/data-source/useContentMenu.js +1 -1
  46. package/dist/es/plugin.js +33 -32
  47. package/dist/es/style.css +120 -60
  48. package/dist/es/utils/data-source/index.js +2 -1
  49. package/dist/es/utils/props.js +1 -4
  50. package/dist/es/utils/type-match-rules.js +23 -22
  51. package/dist/style.css +120 -60
  52. package/dist/themes/magic-admin.css +132 -67
  53. package/dist/tmagic-editor-headless.umd.cjs +10867 -0
  54. package/dist/tmagic-editor.umd.cjs +2151 -2034
  55. package/package.json +12 -7
  56. package/src/Editor.vue +12 -16
  57. package/src/components/CodeParams.vue +10 -4
  58. package/src/components/CompareForm.vue +4 -5
  59. package/src/components/ViewForm.vue +2 -3
  60. package/src/editorProps.ts +1 -2
  61. package/src/fields/Code.vue +2 -10
  62. package/src/fields/CodeSelect.vue +20 -116
  63. package/src/fields/CodeSelectCol.vue +3 -5
  64. package/src/fields/CondOpSelect.vue +3 -2
  65. package/src/fields/DataSourceFieldSelect/FieldSelect.vue +1 -1
  66. package/src/fields/DataSourceFieldSelect/Index.vue +7 -6
  67. package/src/fields/DataSourceFields.vue +0 -7
  68. package/src/fields/DataSourceMethodSelect.vue +2 -5
  69. package/src/fields/DataSourceMethods.vue +1 -6
  70. package/src/fields/DataSourceMocks.vue +1 -10
  71. package/src/fields/DataSourceSelect.vue +1 -1
  72. package/src/fields/DisplayConds.vue +17 -153
  73. package/src/fields/EventSelect.vue +28 -375
  74. package/src/fields/KeyValue.vue +3 -4
  75. package/src/fields/StyleSetter/components/Border.vue +4 -38
  76. package/src/fields/StyleSetter/configs.ts +690 -0
  77. package/src/fields/StyleSetter/pro/Background.vue +4 -104
  78. package/src/fields/StyleSetter/pro/Border.vue +3 -12
  79. package/src/fields/StyleSetter/pro/Font.vue +5 -124
  80. package/src/fields/StyleSetter/pro/Layout.vue +4 -219
  81. package/src/fields/StyleSetter/pro/Position.vue +6 -110
  82. package/src/fields/StyleSetter/pro/Transform.vue +4 -30
  83. package/src/fields/configs/codeSelect.ts +127 -0
  84. package/src/fields/configs/displayConds.ts +184 -0
  85. package/src/fields/configs/eventSelect.ts +309 -0
  86. package/src/fields/configs/stickyAddButton.ts +31 -0
  87. package/src/fields/headless-validation.ts +177 -0
  88. package/src/headless.ts +33 -0
  89. package/src/hooks/use-compare-form.ts +7 -25
  90. package/src/hooks/use-form-context.ts +40 -0
  91. package/src/index.ts +2 -0
  92. package/src/initService.ts +23 -1
  93. package/src/layouts/history-list/HistoryDiffDialog.vue +0 -10
  94. package/src/layouts/history-list/HistoryListPanel.vue +1 -13
  95. package/src/layouts/history-list/useHistoryRevert.ts +7 -13
  96. package/src/layouts/props-panel/FormPanel.vue +17 -28
  97. package/src/layouts/props-panel/PropsPanel.vue +1 -4
  98. package/src/layouts/sidebar/code-block/CodeBlockListPanel.vue +1 -1
  99. package/src/layouts/sidebar/code-block/useContentMenu.ts +1 -1
  100. package/src/layouts/sidebar/data-source/DataSourceListPanel.vue +1 -1
  101. package/src/layouts/sidebar/data-source/useContentMenu.ts +1 -1
  102. package/src/plugin.ts +32 -33
  103. package/src/theme/code-block.scss +0 -37
  104. package/src/theme/display-conds.scss +4 -0
  105. package/src/theme/event.scss +22 -45
  106. package/src/theme/props-panel.scss +17 -3
  107. package/src/theme/themes/magic-admin/index.scss +12 -1
  108. package/src/type.ts +10 -29
  109. package/src/utils/data-source/index.ts +1 -0
  110. package/src/utils/props.ts +1 -4
  111. package/src/utils/type-match-rules.ts +37 -31
  112. package/types/headless.d.ts +18 -0
  113. package/types/index.d.ts +155 -180
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, MForm, PageFragmentSelectConfig, TabPaneConfig, TableColumnConfig, TypeFunction, TypeMatchValidateContext, TypeMatchValidator } from "@tmagic/form";
1
+ import formPlugin, { CascaderOption, ChangeRecord, CodeSelectColConfig, CodeSelectConfig, CondOpSelectConfig, ContainerChangeEventData, DataSourceFieldSelectConfig, DataSourceFieldsConfig, DataSourceInputConfig, DataSourceMethodSelectConfig, DataSourceMethodsConfig, DataSourceMocksConfig, DataSourceSelect, DisplayCondsConfig, EventSelectConfig, FieldProps, FormConfig, FormContext, FormInstallOptions, 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, FieldSize } from "@tmagic/design";
@@ -9,6 +9,7 @@ import EventEmitter$1, { EventEmitter } 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 { HeadlessFieldOptions, TypeMatchValidateContext, TypeMatchValidator } from "@tmagic/form/headless";
12
13
  import { FormItemConfig } from "@tmagic/form-schema";
13
14
  import { StyleSchema } from "@tmagic/schema";
14
15
  export * from "@tmagic/form";
@@ -1626,6 +1627,14 @@ interface Services {
1626
1627
  keybindingService: KeybindingService;
1627
1628
  stageOverlayService: StageOverlayService;
1628
1629
  }
1630
+ declare module '@tmagic/form-schema' {
1631
+ interface FormContext {
1632
+ /** 编辑器服务集合(由 Editor / FormPanel provide) */
1633
+ services?: Services;
1634
+ /** 当前画布 Stage 实例(由 Editor / FormPanel provide) */
1635
+ stage?: any;
1636
+ }
1637
+ }
1629
1638
  interface StageOptions {
1630
1639
  runtimeUrl?: string;
1631
1640
  autoScrollIntoView?: boolean;
@@ -1990,18 +1999,6 @@ interface CompareFormBaseProps {
1990
1999
  * 避免 dialog / 面板使用方需要自行处理滚动。可传任意 CSS 长度,例如 `60vh` / `400px` / `100%`。
1991
2000
  */
1992
2001
  height?: string;
1993
- /**
1994
- * 用户自定义注入到 MForm.formState 的扩展字段,与 Editor 顶层的 `extendFormState`、
1995
- * PropsPanel 的 `extend-state` 语义一致。表单 item 的 `display` / `disabled` 等
1996
- * filterFunction 经常依赖这里注入的字段(如 stage、自定义业务上下文等),
1997
- * 因此在对比 / 展示场景下也需要透传,避免出现 `formState.xxx is undefined` 的运行时错误。
1998
- */
1999
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2000
- /**
2001
- * 外部透传的基础 formState(通常来自 PropsPanel 主属性表单)。
2002
- * 组件会提取其中的扩展字段覆盖到自己的 formState,保证 filterFunction 上下文一致。
2003
- */
2004
- baseFormState?: FormState;
2005
2002
  /**
2006
2003
  * 表单内组件的尺寸(透传给 MForm 的 `size`),可选 'large' | 'default' | 'small'。
2007
2004
  * 缺省时使用 MForm 内置默认尺寸。
@@ -2794,17 +2791,6 @@ interface UseHistoryRevertOptions {
2794
2791
  * (`getCurrentInstance()?.appContext`)。业务方若在组件 setup 之外调用,需手动传入(如 `editorApp._context`)。
2795
2792
  */
2796
2793
  appContext?: AppContext | null;
2797
- /**
2798
- * 透传给差异确认弹窗的 `extendState`(即 Editor 的 `extendFormState`),
2799
- * 使对比表单中依赖业务上下文的 `display` / `disabled` 等 filterFunction 正常工作。
2800
- */
2801
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2802
- /**
2803
- * 返回 PropsPanel 主属性表单(FormPanel -> MForm)的 formState。
2804
- * 仅页面历史「查看差异 / 回滚确认」场景会使用该 formState 覆盖 CompareForm 中同名扩展字段,
2805
- * 以保证两处 filterFunction 读取到一致的运行态上下文。
2806
- */
2807
- getPropsPanelFormState?: () => FormState | undefined;
2808
2794
  /**
2809
2795
  * 内置页面 / 数据源 / 代码块的差异 / 回滚确认弹窗默认宽度(透传给 TMagicDialog 的 `width`),
2810
2796
  * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
@@ -2825,11 +2811,6 @@ interface CustomDiffFormOptions {
2825
2811
  loadConfig?: CompareFormLoadConfig;
2826
2812
  /** 需要走 self diff 的字段类型(如模块的 mod-cond)。 */
2827
2813
  selfDiffFieldTypes?: string[];
2828
- /**
2829
- * 可选:外部提供的 formState(通常来自 PropsPanel 主表单),
2830
- * 对比弹窗会用它覆盖 CompareForm 中同名扩展字段,避免上下文不一致。
2831
- */
2832
- compareFormState?: FormState;
2833
2814
  /**
2834
2815
  * 差异 / 确认回滚弹窗宽度(透传给 HistoryDiffDialog 的 TMagicDialog `width`),
2835
2816
  * 如 `'1200px'` / `'80%'`。缺省时使用弹窗内置默认宽度(900px)。
@@ -2931,7 +2912,7 @@ interface UseCompareFormReturn {
2931
2912
  config: Ref<FormConfig>;
2932
2913
  currentValues: ComputedRef<FormValue>;
2933
2914
  wrapperStyle: ComputedRef<Record<string, string> | undefined>;
2934
- mergedExtendState: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
2915
+ formContext: ComputedRef<FormContext>;
2935
2916
  loadConfig: () => Promise<void>;
2936
2917
  formRef: Readonly<Ref<InstanceType<typeof MForm> | null>>;
2937
2918
  normalizeCodeBlockValue: (v: Partial<CodeBlockContent> | Record<string, any> | undefined) => Record<string, any>;
@@ -2941,7 +2922,7 @@ interface UseCompareFormReturn {
2941
2922
  * - 按 `category`(node / data-source / code-block) 加载 FormConfig(支持自定义 `loadConfig`);
2942
2923
  * - 代码块 `content` 归一化为字符串;
2943
2924
  * - 外层容器固定高度 + 内部滚动的 `wrapperStyle`;
2944
- * - 将 services / stage 注入 MForm.formState,保证 filterFunction 上下文一致。
2925
+ * - 将 services / stage 作为 form context 传给 MForm,保证 filterFunction 上下文一致。
2945
2926
  *
2946
2927
  * 两个组件的差异仅在于是否做新旧值对比,这部分逻辑保留在各自组件中。
2947
2928
  */
@@ -3498,7 +3479,7 @@ type ValidateDataSourceFieldSelectOptions = {
3498
3479
  /**
3499
3480
  * data-source-field-select 的 typeMatch 校验逻辑,可供自定义 rules.validator 复用。
3500
3481
  */
3501
- declare const validateDataSourceFieldSelectValue: (value: any, context: TypeMatchValidateContext, options?: ValidateDataSourceFieldSelectOptions) => string | undefined | Promise<string | undefined>;
3482
+ declare const validateDataSourceFieldSelect: (value: any, context: TypeMatchValidateContext, options?: ValidateDataSourceFieldSelectOptions) => string | undefined | Promise<string | undefined>;
3502
3483
  declare const editorTypeMatchRules: Record<string, TypeMatchValidator>;
3503
3484
  //#endregion
3504
3485
  //#region temp/packages/editor/src/utils/event.d.ts
@@ -3698,7 +3679,6 @@ interface EditorProps {
3698
3679
  beforeDblclick?: (event: MouseEvent) => Promise<boolean | void> | boolean | void;
3699
3680
  /** 组件树节点双击前的钩子函数,返回 false 则阻止默认的双击行为 */
3700
3681
  beforeLayerNodeDblclick?: (event: MouseEvent, data: TreeNodeData) => Promise<boolean | void> | boolean | void;
3701
- extendFormState?: (state: FormState) => Record<string, any> | Promise<Record<string, any>>;
3702
3682
  /** 历史记录面板的自定义扩展 tab,追加在内置的页面/数据源/代码块 tab 之后 */
3703
3683
  historyListExtraTabs?: HistoryListExtraTab[];
3704
3684
  /** 页面顺序拖拽配置参数 */
@@ -3721,8 +3701,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3721
3701
  readonly disabledShowSrc?: boolean | undefined;
3722
3702
  readonly labelWidth?: string | undefined;
3723
3703
  readonly codeValueKey?: string | undefined;
3724
- readonly labelPosition?: string | undefined;
3725
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3704
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
3726
3705
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3727
3706
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
3728
3707
  readonly onUnmounted?: (() => any) | undefined;
@@ -3747,8 +3726,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3747
3726
  disabledShowSrc?: boolean;
3748
3727
  labelWidth?: string;
3749
3728
  codeValueKey?: string;
3750
- labelPosition?: string;
3751
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3729
+ labelPosition?: "top" | "left" | "right";
3752
3730
  }> & Readonly<{
3753
3731
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3754
3732
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -3773,12 +3751,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3773
3751
  readonly stepActive?: string | number | undefined;
3774
3752
  readonly size?: "small" | "default" | "large" | undefined;
3775
3753
  readonly inline?: boolean | undefined;
3776
- readonly labelPosition?: string | undefined;
3754
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
3777
3755
  readonly keyProp?: string | undefined;
3778
3756
  readonly popperClass?: string | undefined;
3779
3757
  readonly preventSubmitDefault?: boolean | undefined;
3780
3758
  readonly useFieldTextInError?: boolean | undefined;
3781
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3759
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
3782
3760
  readonly showDiff?: ((_data: {
3783
3761
  curValue: any;
3784
3762
  lastValue: any;
@@ -3818,12 +3796,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3818
3796
  stepActive?: string | number;
3819
3797
  size?: "small" | "default" | "large";
3820
3798
  inline?: boolean;
3821
- labelPosition?: string;
3799
+ labelPosition?: "top" | "left" | "right";
3822
3800
  keyProp?: string;
3823
3801
  popperClass?: string;
3824
3802
  preventSubmitDefault?: boolean;
3825
3803
  useFieldTextInError?: boolean;
3826
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3804
+ context?: import("@tmagic/form-schema").FormContext;
3827
3805
  showDiff?: (_data: {
3828
3806
  curValue: any;
3829
3807
  lastValue: any;
@@ -3858,7 +3836,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3858
3836
  disabled: boolean;
3859
3837
  labelWidth: string;
3860
3838
  inline: boolean;
3861
- labelPosition: string;
3839
+ labelPosition: "top" | "left" | "right";
3862
3840
  config: import("@tmagic/form-schema").FormConfig;
3863
3841
  height: string;
3864
3842
  initValues: Record<string, any>;
@@ -3866,9 +3844,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3866
3844
  isCompare: boolean;
3867
3845
  keyProp: string;
3868
3846
  parentValues: Record<string, any>;
3847
+ useFieldTextInError: boolean;
3869
3848
  stepActive: string | number;
3870
3849
  validateOnInit: boolean;
3871
- useFieldTextInError: boolean;
3872
3850
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
3873
3851
  beforeCreate?: (() => void) | (() => void)[];
3874
3852
  created?: (() => void) | (() => void)[];
@@ -3893,7 +3871,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3893
3871
  disabled: boolean;
3894
3872
  labelWidth: string;
3895
3873
  inline: boolean;
3896
- labelPosition: string;
3874
+ labelPosition: "top" | "left" | "right";
3897
3875
  config: import("@tmagic/form-schema").FormConfig;
3898
3876
  height: string;
3899
3877
  initValues: Record<string, any>;
@@ -3901,9 +3879,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3901
3879
  isCompare: boolean;
3902
3880
  keyProp: string;
3903
3881
  parentValues: Record<string, any>;
3882
+ useFieldTextInError: boolean;
3904
3883
  stepActive: string | number;
3905
3884
  validateOnInit: boolean;
3906
- useFieldTextInError: boolean;
3907
3885
  }> & Omit<Readonly<{
3908
3886
  config: import("@tmagic/form-schema").FormConfig;
3909
3887
  initValues: Record<string, any>;
@@ -3918,12 +3896,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3918
3896
  stepActive?: string | number;
3919
3897
  size?: "small" | "default" | "large";
3920
3898
  inline?: boolean;
3921
- labelPosition?: string;
3899
+ labelPosition?: "top" | "left" | "right";
3922
3900
  keyProp?: string;
3923
3901
  popperClass?: string;
3924
3902
  preventSubmitDefault?: boolean;
3925
3903
  useFieldTextInError?: boolean;
3926
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3904
+ context?: import("@tmagic/form-schema").FormContext;
3927
3905
  showDiff?: (_data: {
3928
3906
  curValue: any;
3929
3907
  lastValue: any;
@@ -3937,7 +3915,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3937
3915
  "onField-input"?: ((...args: any[]) => any) | undefined;
3938
3916
  "onField-change"?: ((...args: any[]) => any) | undefined;
3939
3917
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
3940
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
3918
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
3941
3919
  values: import("@tmagic/form-schema").FormValue;
3942
3920
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
3943
3921
  formState: import("@tmagic/form-schema").FormState;
@@ -3984,8 +3962,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
3984
3962
  disabledShowSrc?: boolean;
3985
3963
  labelWidth?: string;
3986
3964
  codeValueKey?: string;
3987
- labelPosition?: string;
3988
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
3965
+ labelPosition?: "top" | "left" | "right";
3989
3966
  }> & Readonly<{
3990
3967
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
3991
3968
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -4010,12 +3987,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4010
3987
  readonly stepActive?: string | number | undefined;
4011
3988
  readonly size?: "small" | "default" | "large" | undefined;
4012
3989
  readonly inline?: boolean | undefined;
4013
- readonly labelPosition?: string | undefined;
3990
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
4014
3991
  readonly keyProp?: string | undefined;
4015
3992
  readonly popperClass?: string | undefined;
4016
3993
  readonly preventSubmitDefault?: boolean | undefined;
4017
3994
  readonly useFieldTextInError?: boolean | undefined;
4018
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
3995
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
4019
3996
  readonly showDiff?: ((_data: {
4020
3997
  curValue: any;
4021
3998
  lastValue: any;
@@ -4055,12 +4032,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4055
4032
  stepActive?: string | number;
4056
4033
  size?: "small" | "default" | "large";
4057
4034
  inline?: boolean;
4058
- labelPosition?: string;
4035
+ labelPosition?: "top" | "left" | "right";
4059
4036
  keyProp?: string;
4060
4037
  popperClass?: string;
4061
4038
  preventSubmitDefault?: boolean;
4062
4039
  useFieldTextInError?: boolean;
4063
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4040
+ context?: import("@tmagic/form-schema").FormContext;
4064
4041
  showDiff?: (_data: {
4065
4042
  curValue: any;
4066
4043
  lastValue: any;
@@ -4095,7 +4072,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4095
4072
  disabled: boolean;
4096
4073
  labelWidth: string;
4097
4074
  inline: boolean;
4098
- labelPosition: string;
4075
+ labelPosition: "top" | "left" | "right";
4099
4076
  config: import("@tmagic/form-schema").FormConfig;
4100
4077
  height: string;
4101
4078
  initValues: Record<string, any>;
@@ -4103,9 +4080,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4103
4080
  isCompare: boolean;
4104
4081
  keyProp: string;
4105
4082
  parentValues: Record<string, any>;
4083
+ useFieldTextInError: boolean;
4106
4084
  stepActive: string | number;
4107
4085
  validateOnInit: boolean;
4108
- useFieldTextInError: boolean;
4109
4086
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4110
4087
  beforeCreate?: (() => void) | (() => void)[];
4111
4088
  created?: (() => void) | (() => void)[];
@@ -4130,7 +4107,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4130
4107
  disabled: boolean;
4131
4108
  labelWidth: string;
4132
4109
  inline: boolean;
4133
- labelPosition: string;
4110
+ labelPosition: "top" | "left" | "right";
4134
4111
  config: import("@tmagic/form-schema").FormConfig;
4135
4112
  height: string;
4136
4113
  initValues: Record<string, any>;
@@ -4138,9 +4115,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4138
4115
  isCompare: boolean;
4139
4116
  keyProp: string;
4140
4117
  parentValues: Record<string, any>;
4118
+ useFieldTextInError: boolean;
4141
4119
  stepActive: string | number;
4142
4120
  validateOnInit: boolean;
4143
- useFieldTextInError: boolean;
4144
4121
  }> & Omit<Readonly<{
4145
4122
  config: import("@tmagic/form-schema").FormConfig;
4146
4123
  initValues: Record<string, any>;
@@ -4155,12 +4132,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4155
4132
  stepActive?: string | number;
4156
4133
  size?: "small" | "default" | "large";
4157
4134
  inline?: boolean;
4158
- labelPosition?: string;
4135
+ labelPosition?: "top" | "left" | "right";
4159
4136
  keyProp?: string;
4160
4137
  popperClass?: string;
4161
4138
  preventSubmitDefault?: boolean;
4162
4139
  useFieldTextInError?: boolean;
4163
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4140
+ context?: import("@tmagic/form-schema").FormContext;
4164
4141
  showDiff?: (_data: {
4165
4142
  curValue: any;
4166
4143
  lastValue: any;
@@ -4174,7 +4151,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4174
4151
  "onField-input"?: ((...args: any[]) => any) | undefined;
4175
4152
  "onField-change"?: ((...args: any[]) => any) | undefined;
4176
4153
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4177
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
4154
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
4178
4155
  values: import("@tmagic/form-schema").FormValue;
4179
4156
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4180
4157
  formState: import("@tmagic/form-schema").FormState;
@@ -4209,8 +4186,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4209
4186
  readonly disabledShowSrc?: boolean | undefined;
4210
4187
  readonly labelWidth?: string | undefined;
4211
4188
  readonly codeValueKey?: string | undefined;
4212
- readonly labelPosition?: string | undefined;
4213
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4189
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
4214
4190
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4215
4191
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
4216
4192
  readonly onUnmounted?: (() => any) | undefined;
@@ -4235,8 +4211,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4235
4211
  disabledShowSrc?: boolean;
4236
4212
  labelWidth?: string;
4237
4213
  codeValueKey?: string;
4238
- labelPosition?: string;
4239
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4214
+ labelPosition?: "top" | "left" | "right";
4240
4215
  }> & Readonly<{
4241
4216
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4242
4217
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -4261,12 +4236,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4261
4236
  readonly stepActive?: string | number | undefined;
4262
4237
  readonly size?: "small" | "default" | "large" | undefined;
4263
4238
  readonly inline?: boolean | undefined;
4264
- readonly labelPosition?: string | undefined;
4239
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
4265
4240
  readonly keyProp?: string | undefined;
4266
4241
  readonly popperClass?: string | undefined;
4267
4242
  readonly preventSubmitDefault?: boolean | undefined;
4268
4243
  readonly useFieldTextInError?: boolean | undefined;
4269
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4244
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
4270
4245
  readonly showDiff?: ((_data: {
4271
4246
  curValue: any;
4272
4247
  lastValue: any;
@@ -4306,12 +4281,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4306
4281
  stepActive?: string | number;
4307
4282
  size?: "small" | "default" | "large";
4308
4283
  inline?: boolean;
4309
- labelPosition?: string;
4284
+ labelPosition?: "top" | "left" | "right";
4310
4285
  keyProp?: string;
4311
4286
  popperClass?: string;
4312
4287
  preventSubmitDefault?: boolean;
4313
4288
  useFieldTextInError?: boolean;
4314
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4289
+ context?: import("@tmagic/form-schema").FormContext;
4315
4290
  showDiff?: (_data: {
4316
4291
  curValue: any;
4317
4292
  lastValue: any;
@@ -4346,7 +4321,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4346
4321
  disabled: boolean;
4347
4322
  labelWidth: string;
4348
4323
  inline: boolean;
4349
- labelPosition: string;
4324
+ labelPosition: "top" | "left" | "right";
4350
4325
  config: import("@tmagic/form-schema").FormConfig;
4351
4326
  height: string;
4352
4327
  initValues: Record<string, any>;
@@ -4354,9 +4329,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4354
4329
  isCompare: boolean;
4355
4330
  keyProp: string;
4356
4331
  parentValues: Record<string, any>;
4332
+ useFieldTextInError: boolean;
4357
4333
  stepActive: string | number;
4358
4334
  validateOnInit: boolean;
4359
- useFieldTextInError: boolean;
4360
4335
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4361
4336
  beforeCreate?: (() => void) | (() => void)[];
4362
4337
  created?: (() => void) | (() => void)[];
@@ -4381,7 +4356,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4381
4356
  disabled: boolean;
4382
4357
  labelWidth: string;
4383
4358
  inline: boolean;
4384
- labelPosition: string;
4359
+ labelPosition: "top" | "left" | "right";
4385
4360
  config: import("@tmagic/form-schema").FormConfig;
4386
4361
  height: string;
4387
4362
  initValues: Record<string, any>;
@@ -4389,9 +4364,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4389
4364
  isCompare: boolean;
4390
4365
  keyProp: string;
4391
4366
  parentValues: Record<string, any>;
4367
+ useFieldTextInError: boolean;
4392
4368
  stepActive: string | number;
4393
4369
  validateOnInit: boolean;
4394
- useFieldTextInError: boolean;
4395
4370
  }> & Omit<Readonly<{
4396
4371
  config: import("@tmagic/form-schema").FormConfig;
4397
4372
  initValues: Record<string, any>;
@@ -4406,12 +4381,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4406
4381
  stepActive?: string | number;
4407
4382
  size?: "small" | "default" | "large";
4408
4383
  inline?: boolean;
4409
- labelPosition?: string;
4384
+ labelPosition?: "top" | "left" | "right";
4410
4385
  keyProp?: string;
4411
4386
  popperClass?: string;
4412
4387
  preventSubmitDefault?: boolean;
4413
4388
  useFieldTextInError?: boolean;
4414
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4389
+ context?: import("@tmagic/form-schema").FormContext;
4415
4390
  showDiff?: (_data: {
4416
4391
  curValue: any;
4417
4392
  lastValue: any;
@@ -4425,7 +4400,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4425
4400
  "onField-input"?: ((...args: any[]) => any) | undefined;
4426
4401
  "onField-change"?: ((...args: any[]) => any) | undefined;
4427
4402
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4428
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
4403
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
4429
4404
  values: import("@tmagic/form-schema").FormValue;
4430
4405
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4431
4406
  formState: import("@tmagic/form-schema").FormState;
@@ -4472,8 +4447,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4472
4447
  disabledShowSrc?: boolean;
4473
4448
  labelWidth?: string;
4474
4449
  codeValueKey?: string;
4475
- labelPosition?: string;
4476
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4450
+ labelPosition?: "top" | "left" | "right";
4477
4451
  }> & Readonly<{
4478
4452
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData$1 | undefined, error?: any) => any) | undefined;
4479
4453
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -4498,12 +4472,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4498
4472
  readonly stepActive?: string | number | undefined;
4499
4473
  readonly size?: "small" | "default" | "large" | undefined;
4500
4474
  readonly inline?: boolean | undefined;
4501
- readonly labelPosition?: string | undefined;
4475
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
4502
4476
  readonly keyProp?: string | undefined;
4503
4477
  readonly popperClass?: string | undefined;
4504
4478
  readonly preventSubmitDefault?: boolean | undefined;
4505
4479
  readonly useFieldTextInError?: boolean | undefined;
4506
- readonly extendState?: ((_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
4480
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
4507
4481
  readonly showDiff?: ((_data: {
4508
4482
  curValue: any;
4509
4483
  lastValue: any;
@@ -4543,12 +4517,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4543
4517
  stepActive?: string | number;
4544
4518
  size?: "small" | "default" | "large";
4545
4519
  inline?: boolean;
4546
- labelPosition?: string;
4520
+ labelPosition?: "top" | "left" | "right";
4547
4521
  keyProp?: string;
4548
4522
  popperClass?: string;
4549
4523
  preventSubmitDefault?: boolean;
4550
4524
  useFieldTextInError?: boolean;
4551
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4525
+ context?: import("@tmagic/form-schema").FormContext;
4552
4526
  showDiff?: (_data: {
4553
4527
  curValue: any;
4554
4528
  lastValue: any;
@@ -4583,7 +4557,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4583
4557
  disabled: boolean;
4584
4558
  labelWidth: string;
4585
4559
  inline: boolean;
4586
- labelPosition: string;
4560
+ labelPosition: "top" | "left" | "right";
4587
4561
  config: import("@tmagic/form-schema").FormConfig;
4588
4562
  height: string;
4589
4563
  initValues: Record<string, any>;
@@ -4591,9 +4565,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4591
4565
  isCompare: boolean;
4592
4566
  keyProp: string;
4593
4567
  parentValues: Record<string, any>;
4568
+ useFieldTextInError: boolean;
4594
4569
  stepActive: string | number;
4595
4570
  validateOnInit: boolean;
4596
- useFieldTextInError: boolean;
4597
4571
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
4598
4572
  beforeCreate?: (() => void) | (() => void)[];
4599
4573
  created?: (() => void) | (() => void)[];
@@ -4618,7 +4592,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4618
4592
  disabled: boolean;
4619
4593
  labelWidth: string;
4620
4594
  inline: boolean;
4621
- labelPosition: string;
4595
+ labelPosition: "top" | "left" | "right";
4622
4596
  config: import("@tmagic/form-schema").FormConfig;
4623
4597
  height: string;
4624
4598
  initValues: Record<string, any>;
@@ -4626,9 +4600,9 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4626
4600
  isCompare: boolean;
4627
4601
  keyProp: string;
4628
4602
  parentValues: Record<string, any>;
4603
+ useFieldTextInError: boolean;
4629
4604
  stepActive: string | number;
4630
4605
  validateOnInit: boolean;
4631
- useFieldTextInError: boolean;
4632
4606
  }> & Omit<Readonly<{
4633
4607
  config: import("@tmagic/form-schema").FormConfig;
4634
4608
  initValues: Record<string, any>;
@@ -4643,12 +4617,12 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4643
4617
  stepActive?: string | number;
4644
4618
  size?: "small" | "default" | "large";
4645
4619
  inline?: boolean;
4646
- labelPosition?: string;
4620
+ labelPosition?: "top" | "left" | "right";
4647
4621
  keyProp?: string;
4648
4622
  popperClass?: string;
4649
4623
  preventSubmitDefault?: boolean;
4650
4624
  useFieldTextInError?: boolean;
4651
- extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
4625
+ context?: import("@tmagic/form-schema").FormContext;
4652
4626
  showDiff?: (_data: {
4653
4627
  curValue: any;
4654
4628
  lastValue: any;
@@ -4662,7 +4636,7 @@ declare const __VLS_base$12: import("@vue/runtime-core").DefineComponent<EditorP
4662
4636
  "onField-input"?: ((...args: any[]) => any) | undefined;
4663
4637
  "onField-change"?: ((...args: any[]) => any) | undefined;
4664
4638
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
4665
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
4639
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
4666
4640
  values: import("@tmagic/form-schema").FormValue;
4667
4641
  lastValuesProcessed: import("@tmagic/form-schema").FormValue;
4668
4642
  formState: import("@tmagic/form-schema").FormState;
@@ -5064,10 +5038,9 @@ declare const _default$9: typeof __VLS_export$20;
5064
5038
  type __VLS_Slots$7 = PropsPanelSlots;
5065
5039
  type __VLS_Props$16 = {
5066
5040
  disabledShowSrc?: boolean;
5067
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5068
5041
  };
5069
5042
  declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {
5070
- getFormState(): FormState | undefined;
5043
+ getFormState(): import("@tmagic/form-schema").FormState | undefined;
5071
5044
  submit: (v: MNode, eventData?: ContainerChangeEventData, error?: any, source?: NodeInvalidSource) => Promise<void>;
5072
5045
  }, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
5073
5046
  mounted: (internalInstance: {
@@ -5079,8 +5052,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5079
5052
  readonly disabledShowSrc?: boolean | undefined;
5080
5053
  readonly labelWidth?: string | undefined;
5081
5054
  readonly codeValueKey?: string | undefined;
5082
- readonly labelPosition?: string | undefined;
5083
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5055
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5084
5056
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5085
5057
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
5086
5058
  readonly onUnmounted?: (() => any) | undefined;
@@ -5105,8 +5077,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5105
5077
  disabledShowSrc?: boolean;
5106
5078
  labelWidth?: string;
5107
5079
  codeValueKey?: string;
5108
- labelPosition?: string;
5109
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5080
+ labelPosition?: "top" | "left" | "right";
5110
5081
  }> & Readonly<{
5111
5082
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5112
5083
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -5131,12 +5102,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5131
5102
  readonly stepActive?: string | number | undefined;
5132
5103
  readonly size?: "small" | "default" | "large" | undefined;
5133
5104
  readonly inline?: boolean | undefined;
5134
- readonly labelPosition?: string | undefined;
5105
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5135
5106
  readonly keyProp?: string | undefined;
5136
5107
  readonly popperClass?: string | undefined;
5137
5108
  readonly preventSubmitDefault?: boolean | undefined;
5138
5109
  readonly useFieldTextInError?: boolean | undefined;
5139
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5110
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
5140
5111
  readonly showDiff?: ((_data: {
5141
5112
  curValue: any;
5142
5113
  lastValue: any;
@@ -5176,12 +5147,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5176
5147
  stepActive?: string | number;
5177
5148
  size?: "small" | "default" | "large";
5178
5149
  inline?: boolean;
5179
- labelPosition?: string;
5150
+ labelPosition?: "top" | "left" | "right";
5180
5151
  keyProp?: string;
5181
5152
  popperClass?: string;
5182
5153
  preventSubmitDefault?: boolean;
5183
5154
  useFieldTextInError?: boolean;
5184
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5155
+ context?: import("@tmagic/form-schema").FormContext;
5185
5156
  showDiff?: (_data: {
5186
5157
  curValue: any;
5187
5158
  lastValue: any;
@@ -5198,7 +5169,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5198
5169
  }>, {
5199
5170
  values: import("@vue/reactivity").Ref<FormValue, FormValue>;
5200
5171
  lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
5201
- formState: FormState;
5172
+ formState: import("@tmagic/form-schema").FormState;
5202
5173
  initialized: import("@vue/reactivity").Ref<boolean, boolean>;
5203
5174
  changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
5204
5175
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5216,7 +5187,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5216
5187
  disabled: boolean;
5217
5188
  labelWidth: string;
5218
5189
  inline: boolean;
5219
- labelPosition: string;
5190
+ labelPosition: "top" | "left" | "right";
5220
5191
  config: import("@tmagic/form-schema").FormConfig;
5221
5192
  height: string;
5222
5193
  initValues: Record<string, any>;
@@ -5224,9 +5195,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5224
5195
  isCompare: boolean;
5225
5196
  keyProp: string;
5226
5197
  parentValues: Record<string, any>;
5198
+ useFieldTextInError: boolean;
5227
5199
  stepActive: string | number;
5228
5200
  validateOnInit: boolean;
5229
- useFieldTextInError: boolean;
5230
5201
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
5231
5202
  beforeCreate?: (() => void) | (() => void)[];
5232
5203
  created?: (() => void) | (() => void)[];
@@ -5251,7 +5222,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5251
5222
  disabled: boolean;
5252
5223
  labelWidth: string;
5253
5224
  inline: boolean;
5254
- labelPosition: string;
5225
+ labelPosition: "top" | "left" | "right";
5255
5226
  config: import("@tmagic/form-schema").FormConfig;
5256
5227
  height: string;
5257
5228
  initValues: Record<string, any>;
@@ -5259,9 +5230,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5259
5230
  isCompare: boolean;
5260
5231
  keyProp: string;
5261
5232
  parentValues: Record<string, any>;
5233
+ useFieldTextInError: boolean;
5262
5234
  stepActive: string | number;
5263
5235
  validateOnInit: boolean;
5264
- useFieldTextInError: boolean;
5265
5236
  }> & Omit<Readonly<{
5266
5237
  config: import("@tmagic/form-schema").FormConfig;
5267
5238
  initValues: Record<string, any>;
@@ -5276,12 +5247,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5276
5247
  stepActive?: string | number;
5277
5248
  size?: "small" | "default" | "large";
5278
5249
  inline?: boolean;
5279
- labelPosition?: string;
5250
+ labelPosition?: "top" | "left" | "right";
5280
5251
  keyProp?: string;
5281
5252
  popperClass?: string;
5282
5253
  preventSubmitDefault?: boolean;
5283
5254
  useFieldTextInError?: boolean;
5284
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5255
+ context?: import("@tmagic/form-schema").FormContext;
5285
5256
  showDiff?: (_data: {
5286
5257
  curValue: any;
5287
5258
  lastValue: any;
@@ -5295,10 +5266,10 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5295
5266
  "onField-input"?: ((...args: any[]) => any) | undefined;
5296
5267
  "onField-change"?: ((...args: any[]) => any) | undefined;
5297
5268
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5298
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
5269
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
5299
5270
  values: FormValue;
5300
5271
  lastValuesProcessed: FormValue;
5301
- formState: FormState;
5272
+ formState: import("@tmagic/form-schema").FormState;
5302
5273
  initialized: boolean;
5303
5274
  changeRecords: ChangeRecord$1[];
5304
5275
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5342,8 +5313,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5342
5313
  disabledShowSrc?: boolean;
5343
5314
  labelWidth?: string;
5344
5315
  codeValueKey?: string;
5345
- labelPosition?: string;
5346
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5316
+ labelPosition?: "top" | "left" | "right";
5347
5317
  }> & Readonly<{
5348
5318
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5349
5319
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -5368,12 +5338,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5368
5338
  readonly stepActive?: string | number | undefined;
5369
5339
  readonly size?: "small" | "default" | "large" | undefined;
5370
5340
  readonly inline?: boolean | undefined;
5371
- readonly labelPosition?: string | undefined;
5341
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5372
5342
  readonly keyProp?: string | undefined;
5373
5343
  readonly popperClass?: string | undefined;
5374
5344
  readonly preventSubmitDefault?: boolean | undefined;
5375
5345
  readonly useFieldTextInError?: boolean | undefined;
5376
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5346
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
5377
5347
  readonly showDiff?: ((_data: {
5378
5348
  curValue: any;
5379
5349
  lastValue: any;
@@ -5413,12 +5383,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5413
5383
  stepActive?: string | number;
5414
5384
  size?: "small" | "default" | "large";
5415
5385
  inline?: boolean;
5416
- labelPosition?: string;
5386
+ labelPosition?: "top" | "left" | "right";
5417
5387
  keyProp?: string;
5418
5388
  popperClass?: string;
5419
5389
  preventSubmitDefault?: boolean;
5420
5390
  useFieldTextInError?: boolean;
5421
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5391
+ context?: import("@tmagic/form-schema").FormContext;
5422
5392
  showDiff?: (_data: {
5423
5393
  curValue: any;
5424
5394
  lastValue: any;
@@ -5435,7 +5405,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5435
5405
  }>, {
5436
5406
  values: import("@vue/reactivity").Ref<FormValue, FormValue>;
5437
5407
  lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
5438
- formState: FormState;
5408
+ formState: import("@tmagic/form-schema").FormState;
5439
5409
  initialized: import("@vue/reactivity").Ref<boolean, boolean>;
5440
5410
  changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
5441
5411
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5453,7 +5423,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5453
5423
  disabled: boolean;
5454
5424
  labelWidth: string;
5455
5425
  inline: boolean;
5456
- labelPosition: string;
5426
+ labelPosition: "top" | "left" | "right";
5457
5427
  config: import("@tmagic/form-schema").FormConfig;
5458
5428
  height: string;
5459
5429
  initValues: Record<string, any>;
@@ -5461,9 +5431,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5461
5431
  isCompare: boolean;
5462
5432
  keyProp: string;
5463
5433
  parentValues: Record<string, any>;
5434
+ useFieldTextInError: boolean;
5464
5435
  stepActive: string | number;
5465
5436
  validateOnInit: boolean;
5466
- useFieldTextInError: boolean;
5467
5437
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
5468
5438
  beforeCreate?: (() => void) | (() => void)[];
5469
5439
  created?: (() => void) | (() => void)[];
@@ -5488,7 +5458,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5488
5458
  disabled: boolean;
5489
5459
  labelWidth: string;
5490
5460
  inline: boolean;
5491
- labelPosition: string;
5461
+ labelPosition: "top" | "left" | "right";
5492
5462
  config: import("@tmagic/form-schema").FormConfig;
5493
5463
  height: string;
5494
5464
  initValues: Record<string, any>;
@@ -5496,9 +5466,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5496
5466
  isCompare: boolean;
5497
5467
  keyProp: string;
5498
5468
  parentValues: Record<string, any>;
5469
+ useFieldTextInError: boolean;
5499
5470
  stepActive: string | number;
5500
5471
  validateOnInit: boolean;
5501
- useFieldTextInError: boolean;
5502
5472
  }> & Omit<Readonly<{
5503
5473
  config: import("@tmagic/form-schema").FormConfig;
5504
5474
  initValues: Record<string, any>;
@@ -5513,12 +5483,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5513
5483
  stepActive?: string | number;
5514
5484
  size?: "small" | "default" | "large";
5515
5485
  inline?: boolean;
5516
- labelPosition?: string;
5486
+ labelPosition?: "top" | "left" | "right";
5517
5487
  keyProp?: string;
5518
5488
  popperClass?: string;
5519
5489
  preventSubmitDefault?: boolean;
5520
5490
  useFieldTextInError?: boolean;
5521
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5491
+ context?: import("@tmagic/form-schema").FormContext;
5522
5492
  showDiff?: (_data: {
5523
5493
  curValue: any;
5524
5494
  lastValue: any;
@@ -5532,10 +5502,10 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5532
5502
  "onField-input"?: ((...args: any[]) => any) | undefined;
5533
5503
  "onField-change"?: ((...args: any[]) => any) | undefined;
5534
5504
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5535
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
5505
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
5536
5506
  values: FormValue;
5537
5507
  lastValuesProcessed: FormValue;
5538
- formState: FormState;
5508
+ formState: import("@tmagic/form-schema").FormState;
5539
5509
  initialized: boolean;
5540
5510
  changeRecords: ChangeRecord$1[];
5541
5511
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5565,8 +5535,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5565
5535
  readonly disabledShowSrc?: boolean | undefined;
5566
5536
  readonly labelWidth?: string | undefined;
5567
5537
  readonly codeValueKey?: string | undefined;
5568
- readonly labelPosition?: string | undefined;
5569
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5538
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5570
5539
  readonly onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5571
5540
  readonly onMounted?: ((internalInstance: any) => any) | undefined;
5572
5541
  readonly onUnmounted?: (() => any) | undefined;
@@ -5591,8 +5560,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5591
5560
  disabledShowSrc?: boolean;
5592
5561
  labelWidth?: string;
5593
5562
  codeValueKey?: string;
5594
- labelPosition?: string;
5595
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5563
+ labelPosition?: "top" | "left" | "right";
5596
5564
  }> & Readonly<{
5597
5565
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5598
5566
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -5617,12 +5585,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5617
5585
  readonly stepActive?: string | number | undefined;
5618
5586
  readonly size?: "small" | "default" | "large" | undefined;
5619
5587
  readonly inline?: boolean | undefined;
5620
- readonly labelPosition?: string | undefined;
5588
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5621
5589
  readonly keyProp?: string | undefined;
5622
5590
  readonly popperClass?: string | undefined;
5623
5591
  readonly preventSubmitDefault?: boolean | undefined;
5624
5592
  readonly useFieldTextInError?: boolean | undefined;
5625
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5593
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
5626
5594
  readonly showDiff?: ((_data: {
5627
5595
  curValue: any;
5628
5596
  lastValue: any;
@@ -5662,12 +5630,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5662
5630
  stepActive?: string | number;
5663
5631
  size?: "small" | "default" | "large";
5664
5632
  inline?: boolean;
5665
- labelPosition?: string;
5633
+ labelPosition?: "top" | "left" | "right";
5666
5634
  keyProp?: string;
5667
5635
  popperClass?: string;
5668
5636
  preventSubmitDefault?: boolean;
5669
5637
  useFieldTextInError?: boolean;
5670
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5638
+ context?: import("@tmagic/form-schema").FormContext;
5671
5639
  showDiff?: (_data: {
5672
5640
  curValue: any;
5673
5641
  lastValue: any;
@@ -5684,7 +5652,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5684
5652
  }>, {
5685
5653
  values: import("@vue/reactivity").Ref<FormValue, FormValue>;
5686
5654
  lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
5687
- formState: FormState;
5655
+ formState: import("@tmagic/form-schema").FormState;
5688
5656
  initialized: import("@vue/reactivity").Ref<boolean, boolean>;
5689
5657
  changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
5690
5658
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5702,7 +5670,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5702
5670
  disabled: boolean;
5703
5671
  labelWidth: string;
5704
5672
  inline: boolean;
5705
- labelPosition: string;
5673
+ labelPosition: "top" | "left" | "right";
5706
5674
  config: import("@tmagic/form-schema").FormConfig;
5707
5675
  height: string;
5708
5676
  initValues: Record<string, any>;
@@ -5710,9 +5678,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5710
5678
  isCompare: boolean;
5711
5679
  keyProp: string;
5712
5680
  parentValues: Record<string, any>;
5681
+ useFieldTextInError: boolean;
5713
5682
  stepActive: string | number;
5714
5683
  validateOnInit: boolean;
5715
- useFieldTextInError: boolean;
5716
5684
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
5717
5685
  beforeCreate?: (() => void) | (() => void)[];
5718
5686
  created?: (() => void) | (() => void)[];
@@ -5737,7 +5705,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5737
5705
  disabled: boolean;
5738
5706
  labelWidth: string;
5739
5707
  inline: boolean;
5740
- labelPosition: string;
5708
+ labelPosition: "top" | "left" | "right";
5741
5709
  config: import("@tmagic/form-schema").FormConfig;
5742
5710
  height: string;
5743
5711
  initValues: Record<string, any>;
@@ -5745,9 +5713,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5745
5713
  isCompare: boolean;
5746
5714
  keyProp: string;
5747
5715
  parentValues: Record<string, any>;
5716
+ useFieldTextInError: boolean;
5748
5717
  stepActive: string | number;
5749
5718
  validateOnInit: boolean;
5750
- useFieldTextInError: boolean;
5751
5719
  }> & Omit<Readonly<{
5752
5720
  config: import("@tmagic/form-schema").FormConfig;
5753
5721
  initValues: Record<string, any>;
@@ -5762,12 +5730,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5762
5730
  stepActive?: string | number;
5763
5731
  size?: "small" | "default" | "large";
5764
5732
  inline?: boolean;
5765
- labelPosition?: string;
5733
+ labelPosition?: "top" | "left" | "right";
5766
5734
  keyProp?: string;
5767
5735
  popperClass?: string;
5768
5736
  preventSubmitDefault?: boolean;
5769
5737
  useFieldTextInError?: boolean;
5770
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5738
+ context?: import("@tmagic/form-schema").FormContext;
5771
5739
  showDiff?: (_data: {
5772
5740
  curValue: any;
5773
5741
  lastValue: any;
@@ -5781,10 +5749,10 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5781
5749
  "onField-input"?: ((...args: any[]) => any) | undefined;
5782
5750
  "onField-change"?: ((...args: any[]) => any) | undefined;
5783
5751
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
5784
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
5752
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
5785
5753
  values: FormValue;
5786
5754
  lastValuesProcessed: FormValue;
5787
- formState: FormState;
5755
+ formState: import("@tmagic/form-schema").FormState;
5788
5756
  initialized: boolean;
5789
5757
  changeRecords: ChangeRecord$1[];
5790
5758
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5828,8 +5796,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5828
5796
  disabledShowSrc?: boolean;
5829
5797
  labelWidth?: string;
5830
5798
  codeValueKey?: string;
5831
- labelPosition?: string;
5832
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5799
+ labelPosition?: "top" | "left" | "right";
5833
5800
  }> & Readonly<{
5834
5801
  onSubmit?: ((values: any, eventData?: ContainerChangeEventData | undefined, error?: any) => any) | undefined;
5835
5802
  onMounted?: ((internalInstance: any) => any) | undefined;
@@ -5854,12 +5821,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5854
5821
  readonly stepActive?: string | number | undefined;
5855
5822
  readonly size?: "small" | "default" | "large" | undefined;
5856
5823
  readonly inline?: boolean | undefined;
5857
- readonly labelPosition?: string | undefined;
5824
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
5858
5825
  readonly keyProp?: string | undefined;
5859
5826
  readonly popperClass?: string | undefined;
5860
5827
  readonly preventSubmitDefault?: boolean | undefined;
5861
5828
  readonly useFieldTextInError?: boolean | undefined;
5862
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
5829
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
5863
5830
  readonly showDiff?: ((_data: {
5864
5831
  curValue: any;
5865
5832
  lastValue: any;
@@ -5899,12 +5866,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5899
5866
  stepActive?: string | number;
5900
5867
  size?: "small" | "default" | "large";
5901
5868
  inline?: boolean;
5902
- labelPosition?: string;
5869
+ labelPosition?: "top" | "left" | "right";
5903
5870
  keyProp?: string;
5904
5871
  popperClass?: string;
5905
5872
  preventSubmitDefault?: boolean;
5906
5873
  useFieldTextInError?: boolean;
5907
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5874
+ context?: import("@tmagic/form-schema").FormContext;
5908
5875
  showDiff?: (_data: {
5909
5876
  curValue: any;
5910
5877
  lastValue: any;
@@ -5921,7 +5888,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5921
5888
  }>, {
5922
5889
  values: import("@vue/reactivity").Ref<FormValue, FormValue>;
5923
5890
  lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
5924
- formState: FormState;
5891
+ formState: import("@tmagic/form-schema").FormState;
5925
5892
  initialized: import("@vue/reactivity").Ref<boolean, boolean>;
5926
5893
  changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
5927
5894
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -5939,7 +5906,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5939
5906
  disabled: boolean;
5940
5907
  labelWidth: string;
5941
5908
  inline: boolean;
5942
- labelPosition: string;
5909
+ labelPosition: "top" | "left" | "right";
5943
5910
  config: import("@tmagic/form-schema").FormConfig;
5944
5911
  height: string;
5945
5912
  initValues: Record<string, any>;
@@ -5947,9 +5914,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5947
5914
  isCompare: boolean;
5948
5915
  keyProp: string;
5949
5916
  parentValues: Record<string, any>;
5917
+ useFieldTextInError: boolean;
5950
5918
  stepActive: string | number;
5951
5919
  validateOnInit: boolean;
5952
- useFieldTextInError: boolean;
5953
5920
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
5954
5921
  beforeCreate?: (() => void) | (() => void)[];
5955
5922
  created?: (() => void) | (() => void)[];
@@ -5974,7 +5941,7 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5974
5941
  disabled: boolean;
5975
5942
  labelWidth: string;
5976
5943
  inline: boolean;
5977
- labelPosition: string;
5944
+ labelPosition: "top" | "left" | "right";
5978
5945
  config: import("@tmagic/form-schema").FormConfig;
5979
5946
  height: string;
5980
5947
  initValues: Record<string, any>;
@@ -5982,9 +5949,9 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5982
5949
  isCompare: boolean;
5983
5950
  keyProp: string;
5984
5951
  parentValues: Record<string, any>;
5952
+ useFieldTextInError: boolean;
5985
5953
  stepActive: string | number;
5986
5954
  validateOnInit: boolean;
5987
- useFieldTextInError: boolean;
5988
5955
  }> & Omit<Readonly<{
5989
5956
  config: import("@tmagic/form-schema").FormConfig;
5990
5957
  initValues: Record<string, any>;
@@ -5999,12 +5966,12 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
5999
5966
  stepActive?: string | number;
6000
5967
  size?: "small" | "default" | "large";
6001
5968
  inline?: boolean;
6002
- labelPosition?: string;
5969
+ labelPosition?: "top" | "left" | "right";
6003
5970
  keyProp?: string;
6004
5971
  popperClass?: string;
6005
5972
  preventSubmitDefault?: boolean;
6006
5973
  useFieldTextInError?: boolean;
6007
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
5974
+ context?: import("@tmagic/form-schema").FormContext;
6008
5975
  showDiff?: (_data: {
6009
5976
  curValue: any;
6010
5977
  lastValue: any;
@@ -6018,10 +5985,10 @@ declare const __VLS_base$7: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6018
5985
  "onField-input"?: ((...args: any[]) => any) | undefined;
6019
5986
  "onField-change"?: ((...args: any[]) => any) | undefined;
6020
5987
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
6021
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
5988
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
6022
5989
  values: FormValue;
6023
5990
  lastValuesProcessed: FormValue;
6024
- formState: FormState;
5991
+ formState: import("@tmagic/form-schema").FormState;
6025
5992
  initialized: boolean;
6026
5993
  changeRecords: ChangeRecord$1[];
6027
5994
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -6060,8 +6027,7 @@ type __VLS_Props$15 = {
6060
6027
  disabledShowSrc?: boolean;
6061
6028
  labelWidth?: string;
6062
6029
  codeValueKey?: string;
6063
- labelPosition?: string;
6064
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6030
+ labelPosition?: 'top' | 'left' | 'right';
6065
6031
  };
6066
6032
  declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {
6067
6033
  configForm: Readonly<import("@vue/reactivity").ShallowRef<({
@@ -6081,12 +6047,12 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6081
6047
  readonly stepActive?: string | number | undefined;
6082
6048
  readonly size?: "small" | "default" | "large" | undefined;
6083
6049
  readonly inline?: boolean | undefined;
6084
- readonly labelPosition?: string | undefined;
6050
+ readonly labelPosition?: "top" | "left" | "right" | undefined;
6085
6051
  readonly keyProp?: string | undefined;
6086
6052
  readonly popperClass?: string | undefined;
6087
6053
  readonly preventSubmitDefault?: boolean | undefined;
6088
6054
  readonly useFieldTextInError?: boolean | undefined;
6089
- readonly extendState?: ((_state: FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
6055
+ readonly context?: import("@tmagic/form-schema").FormContext | undefined;
6090
6056
  readonly showDiff?: ((_data: {
6091
6057
  curValue: any;
6092
6058
  lastValue: any;
@@ -6126,12 +6092,12 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6126
6092
  stepActive?: string | number;
6127
6093
  size?: "small" | "default" | "large";
6128
6094
  inline?: boolean;
6129
- labelPosition?: string;
6095
+ labelPosition?: "top" | "left" | "right";
6130
6096
  keyProp?: string;
6131
6097
  popperClass?: string;
6132
6098
  preventSubmitDefault?: boolean;
6133
6099
  useFieldTextInError?: boolean;
6134
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6100
+ context?: import("@tmagic/form-schema").FormContext;
6135
6101
  showDiff?: (_data: {
6136
6102
  curValue: any;
6137
6103
  lastValue: any;
@@ -6148,7 +6114,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6148
6114
  }>, {
6149
6115
  values: import("@vue/reactivity").Ref<FormValue, FormValue>;
6150
6116
  lastValuesProcessed: import("@vue/reactivity").Ref<FormValue, FormValue>;
6151
- formState: FormState;
6117
+ formState: import("@tmagic/form-schema").FormState;
6152
6118
  initialized: import("@vue/reactivity").Ref<boolean, boolean>;
6153
6119
  changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord$1[], ChangeRecord$1[]>;
6154
6120
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -6166,7 +6132,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6166
6132
  disabled: boolean;
6167
6133
  labelWidth: string;
6168
6134
  inline: boolean;
6169
- labelPosition: string;
6135
+ labelPosition: "top" | "left" | "right";
6170
6136
  config: FormConfig;
6171
6137
  height: string;
6172
6138
  initValues: Record<string, any>;
@@ -6174,9 +6140,9 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6174
6140
  isCompare: boolean;
6175
6141
  keyProp: string;
6176
6142
  parentValues: Record<string, any>;
6143
+ useFieldTextInError: boolean;
6177
6144
  stepActive: string | number;
6178
6145
  validateOnInit: boolean;
6179
- useFieldTextInError: boolean;
6180
6146
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
6181
6147
  beforeCreate?: (() => void) | (() => void)[];
6182
6148
  created?: (() => void) | (() => void)[];
@@ -6201,7 +6167,7 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6201
6167
  disabled: boolean;
6202
6168
  labelWidth: string;
6203
6169
  inline: boolean;
6204
- labelPosition: string;
6170
+ labelPosition: "top" | "left" | "right";
6205
6171
  config: FormConfig;
6206
6172
  height: string;
6207
6173
  initValues: Record<string, any>;
@@ -6209,9 +6175,9 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6209
6175
  isCompare: boolean;
6210
6176
  keyProp: string;
6211
6177
  parentValues: Record<string, any>;
6178
+ useFieldTextInError: boolean;
6212
6179
  stepActive: string | number;
6213
6180
  validateOnInit: boolean;
6214
- useFieldTextInError: boolean;
6215
6181
  }> & Omit<Readonly<{
6216
6182
  config: FormConfig;
6217
6183
  initValues: Record<string, any>;
@@ -6226,12 +6192,12 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6226
6192
  stepActive?: string | number;
6227
6193
  size?: "small" | "default" | "large";
6228
6194
  inline?: boolean;
6229
- labelPosition?: string;
6195
+ labelPosition?: "top" | "left" | "right";
6230
6196
  keyProp?: string;
6231
6197
  popperClass?: string;
6232
6198
  preventSubmitDefault?: boolean;
6233
6199
  useFieldTextInError?: boolean;
6234
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6200
+ context?: import("@tmagic/form-schema").FormContext;
6235
6201
  showDiff?: (_data: {
6236
6202
  curValue: any;
6237
6203
  lastValue: any;
@@ -6245,10 +6211,10 @@ declare const __VLS_base$6: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6245
6211
  "onField-input"?: ((...args: any[]) => any) | undefined;
6246
6212
  "onField-change"?: ((...args: any[]) => any) | undefined;
6247
6213
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
6248
- }>, "values" | "changeHandler" | "validate" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "validateOnInit" | "useFieldTextInError")> & {
6214
+ }>, "values" | "changeHandler" | "validate" | "lastValuesProcessed" | "submitForm" | "changeRecords" | "initialized" | "formState" | "resetForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "useFieldTextInError" | "stepActive" | "validateOnInit")> & {
6249
6215
  values: FormValue;
6250
6216
  lastValuesProcessed: FormValue;
6251
- formState: FormState;
6217
+ formState: import("@tmagic/form-schema").FormState;
6252
6218
  initialized: boolean;
6253
6219
  changeRecords: ChangeRecord$1[];
6254
6220
  changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
@@ -6599,12 +6565,6 @@ type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K]; } : { [K
6599
6565
  type __VLS_Props$7 = {
6600
6566
  /** 编辑器服务集合,由调用方传入(不再通过 inject('services') 获取)。 */
6601
6567
  services?: Services;
6602
- /**
6603
- * 来自 Editor 顶层的 `extendFormState`,用于扩展 MForm.formState。
6604
- * 透传给 CompareForm,从而让差异对比时表单 item 中依赖业务上下文的
6605
- * `display` / `disabled` 等 filterFunction 正常工作。
6606
- */
6607
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
6608
6568
  /**
6609
6569
  * 自定义 FormConfig 加载逻辑,透传给 CompareForm。传入后将接管内置的按 `category`
6610
6570
  * 取配置逻辑,可通过 `ctx.defaultLoadConfig()` 复用默认结果再做二次加工。
@@ -6616,7 +6576,6 @@ type __VLS_Props$7 = {
6616
6576
  isConfirm?: boolean;
6617
6577
  onConfirm?: () => void;
6618
6578
  selfDiffFieldTypes?: string[];
6619
- compareFormState?: FormState;
6620
6579
  };
6621
6580
  declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$7, {
6622
6581
  open: (p: DiffDialogPayload) => void;
@@ -6847,9 +6806,9 @@ declare const _default$29: typeof __VLS_export$3;
6847
6806
  //#region temp/packages/editor/src/fields/DisplayConds.vue.d.ts
6848
6807
  type __VLS_Props$2 = FieldProps<DisplayCondsConfig>;
6849
6808
  declare const __VLS_export$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
6850
- change: (value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any;
6809
+ change: (value: DisplayCond | DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any;
6851
6810
  }, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$2> & Readonly<{
6852
- onChange?: ((value: DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any) | undefined;
6811
+ onChange?: ((value: DisplayCond | DisplayCond[], eventData?: ContainerChangeEventData | undefined) => any) | undefined;
6853
6812
  }>, {
6854
6813
  disabled: boolean;
6855
6814
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
@@ -6875,9 +6834,25 @@ declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Pr
6875
6834
  }>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
6876
6835
  declare const _default$33: typeof __VLS_export;
6877
6836
  //#endregion
6837
+ //#region temp/packages/editor/src/fields/headless-validation.d.ts
6838
+ /**
6839
+ * 编辑器字段的无渲染登记表(不含 Vue 组件)。
6840
+ *
6841
+ * Node 里 `registerFields(editorFields)` 即可配合 `validateForm` / `submitForm`。
6842
+ * 安装编辑器时由 plugin 把 `component` 叠上去再传给 `@tmagic/form`。
6843
+ *
6844
+ * - 叶子:内部只渲染叶子 UI,或把子表单渲染在独立的 MForm / MFormBox 实例里
6845
+ * - innerConfig:内部再渲染 MContainer / MPanel / MGroupList,把运行期配置交出来
6846
+ * - typeMatch:该 type 自身的类型匹配校验
6847
+ *
6848
+ * innerConfig 返回的 config / model / prop 与组件模板里传给内部容器的那一组保持一一对应,
6849
+ * 且配置本身与组件共用同一份工厂(`fields/configs/`)。
6850
+ */
6851
+ declare const editorFields: Record<string, HeadlessFieldOptions>;
6852
+ //#endregion
6878
6853
  //#region temp/packages/editor/src/plugin.d.ts
6879
6854
  declare const _default$43: {
6880
6855
  install: (app: App, opt?: Partial<EditorInstallOptions | DesignPluginOptions | FormInstallOptions>) => void;
6881
6856
  };
6882
6857
  //#endregion
6883
- export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormBaseProps, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeEventHistoryMeta, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UpdateOptions, UseCompareFormReturn, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidateDataSourceFieldSelectOptions, _default$39 as ViewForm, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$40 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$41 as componentListService, confirmHistoryAction, createStackStep, _default$42 as dataSourceService, debug, _default$43 as default, defaultIsExpandable, _default$44 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorNodeMergeCustomizer, _default$45 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$46 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$47 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isGlobalFlat, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$51 as stageOverlayService, _default$52 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$53 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useCompareForm, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validateDataSourceFieldSelectValue, warn };
6858
+ export { ALL_COND_OPS, AddMNode, AddPrefixToObject, AsyncAfterHook, AsyncBeforeHook, AsyncHookPlugin, AsyncMethodName, BaseStepValue, BeforeAdd, CODE_DRAFT_STORAGE_KEY, COPY_CODE_STORAGE_KEY, COPY_DS_STORAGE_KEY, COPY_STORAGE_KEY, CanDropInFunction, CanDropInScene, _default as CodeBlockEditor, _default$1 as CodeBlockList, _default$2 as CodeBlockListPanel, CodeBlockListPanelSlots, CodeBlockListSlots, CodeBlockStepValue, CodeDeleteErrorType, CodeDslItem, CodeParamStatement, CodeRelation, _default$3 as CodeSelect, _default$4 as CodeSelectCol, CodeState, ColumnLayout, CombineInfo, CompareCategory, _default$5 as CompareForm, CompareFormBaseProps, CompareFormLoadConfig, CompareFormLoadConfigContext, ComponentGroup, ComponentGroupState, ComponentItem, _default$6 as ComponentListPanel, ComponentListPanelSlots, _default$7 as CondOpSelect, ConfirmAndRevertOptions, _default$8 as ContentMenu, ContentMenuTarget, ContentMenuType, CustomContentMenuFunction, CustomDiffFormOptions, DEFAULT_LEFT_COLUMN_WIDTH, DEFAULT_RIGHT_COLUMN_WIDTH, _default$9 as DataSourceAddButton, _default$10 as DataSourceConfigPanel, _default$11 as DataSourceFieldSelect, _default$12 as DataSourceFields, _default$13 as DataSourceInput, DataSourceListSlots, _default$14 as DataSourceMethodSelect, _default$15 as DataSourceMethods, _default$16 as DataSourceMocks, _default$17 as DataSourceSelect, DataSourceStepValue, DatasourceTypeOption, DepTargetType, DiffDialogPayload, _default$18 as DisplayConds, DragClassification, DragType, DslOpOptions, DslOpWithHistoryIdsResult, EVENT_NAME_VALUE_SEPARATOR, EditorChangeEvent, EditorChangeEventHistoryMeta, EditorChangeItem, EditorEvents, EditorInstallOptions, EditorNodeInfo, EditorSlots, EditorUpdateChangeItem, EventBus, EventBusEvent, EventNameOption, EventNameSelectOption, _default$19 as EventSelect, Fixed2Other, _default$20 as FloatingBox, FrameworkSlots, GetCodeBlockFormConfigOptions, GetColumnWidth, GetConfig, H_GUIDE_LINE_STORAGE_KEY, HistoryBucketConfig, _default$21 as HistoryDiffDialog, HistoryEvents, HistoryGroup, _default$22 as HistoryListBucket, _default$23 as HistoryListBucketTab, HistoryListExtraTab, HistoryOpOptions, HistoryOpOptionsWithChangeRecords, HistoryOpSource, HistoryOpType, HistoryPersistOptions, HistoryRowDescriptor, HistoryState, HistoryStepEntry, HistoryStepType, HistorySteps, _default$24 as Icon, IdleTask, IdleTaskEvents, IsExpandableFunction, KeyBindingCacheItem, KeyBindingCommand, KeyBindingItem, _default$25 as KeyValue, Keys, LEFT_COLUMN_WIDTH_STORAGE_KEY, _default$26 as LayerNodeContent, LayerNodeSlots, LayerNodeStatus, LayerOffset, _default$27 as LayerPanel, LayerPanelSlots, Layout, _default$28 as LayoutContainer, _default$28 as SplitView, ListState, MIN_CENTER_COLUMN_WIDTH, MIN_LEFT_COLUMN_WIDTH, MIN_RIGHT_COLUMN_WIDTH, MenuBarData, MenuButton, MenuComponent, MenuItem, NodeInvalidInfo, NodeInvalidSource, type OnDrag, PROPS_PANEL_WIDTH_STORAGE_KEY, PageBarSortOptions, _default$29 as PageFragmentSelect, PartSortableOptions, PastePosition, PersistedHistoryState, PropsFormConfigFunction, _default$30 as PropsFormPanel, PropsFormValueFunction, _default$31 as PropsPanel, PropsPanelSlots, PropsState, RIGHT_COLUMN_WIDTH_STORAGE_KEY, _default$32 as Resizer, ScrollViewer, ScrollViewerEvent, ScrollViewerSlots, SerializedUndoRedo, Services, SetColumnWidth, SideBarData, SideComponent, SideItem, SideItemKey, SidebarSlots, StageCore, StageOptions, StageOverlayState, StageRect, StageSlots, StepDiffItem, StepExtra, StepValue, StoreState, StoreStateKey, _default$33 as StyleSetter, SyncAfterHook, SyncBeforeHook, SyncHookPlugin, _default$34 as TMagicCodeEditor, _default$35 as TMagicEditor, _default$36 as ToolButton, _default$37 as Tree, _default$38 as TreeNode, TreeNodeData, type TypeMatchValidateContext, UI_SELECT_MODE_EVENT_NAME, UiState, UndoRedo, UpdateOptions, UseCompareFormReturn, UseHistoryRevertOptions, V_GUIDE_LINE_STORAGE_KEY, ValidateDataSourceFieldSelectOptions, _default$39 as ViewForm, WorkspaceSlots, advancedTabConfig, arrayOptions, beforePaste, booleanOptions, buildChangeRecords, calcAlignCenterStyle, calcLayerTargetIndex, calcMoveStyle, canUsePluginMethods, change2Fixed, classifyDragSources, _default$40 as codeBlockService, collectEventNameOptionValues, collectRelatedNodes, _default$41 as componentListService, confirmHistoryAction, createStackStep, _default$42 as dataSourceService, debug, _default$43 as default, defaultIsExpandable, _default$44 as depService, describeRevertStep, describeStepForRevert, deserializeStacks, designPlugin, detectStackOpType, detectTargetId, detectTargetName, displayTabConfig, editorFields, editorNodeMergeCustomizer, _default$45 as editorService, editorTypeMatchRules, eqOptions, error, eventTabConfig, _default$46 as eventsService, fillConfig, fixNodeLeft, fixNodePosition, formPlugin, generatePageName, generatePageNameByApp, getAddParent, getCascaderOptionsFromFields, getCodeBlockFormConfig, getCompActionAllowedValues, getCompActionOptions, getCondOpOptionsByFieldType, getDefaultConfig, getDisplayField, getEditorConfig, getEventNameAllowedValues, getEventNameOptions, getFieldType, getFormConfig, getFormValue, getGuideLineFromCache, getInitPositionStyle, getLastPushedHistoryIds, getNodeIndex, getOrCreateStack, getPageFragmentList, getPageList, getPageNameList, getPositionInContainer, getRelativeStyle, _default$47 as historyService, idbDelete, idbGet, idbSet, info, isEventNameCheckStrictly, isGlobalFlat, isIncludeDataSource, isIndexedDBSupported, _default$48 as keybindingService, _default$49 as loadMonaco, log, markStackSaved, mergeSteps, moveItemsInContainer, normalizeCompActionValue, numberOptions, openIndexedDB, _default$50 as propsService, resolveFieldByPath, resolveSelectedNode, serializeConfig, serializeStacks, setChildrenLayout, setEditorConfig, setLayout, _default$51 as stageOverlayService, _default$52 as storageService, styleTabConfig, tablePlugin, toggleFixedPosition, _default$53 as uiService, undoFloor, updateStatus, useCodeBlockEdit, useCompareForm, useEditorContentHeight, useFilter, useFloatBox, useGetSo, useHistoryRevert, useNextFloatBoxPosition, useNodeStatus, useServices, useStage, useWindowRect, validateDataSourceFieldSelect, warn };