@tmagic/form 1.7.7 → 1.7.8-beta.1

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 (103) hide show
  1. package/LICENSE +235 -164
  2. package/dist/es/Form.js +5 -0
  3. package/dist/es/Form.vue_vue_type_script_setup_true_lang.js +234 -0
  4. package/dist/es/FormBox.js +5 -0
  5. package/dist/es/FormBox.vue_vue_type_script_setup_true_lang.js +117 -0
  6. package/dist/es/FormDialog.js +5 -0
  7. package/dist/es/FormDialog.vue_vue_type_script_setup_true_lang.js +222 -0
  8. package/dist/es/FormDrawer.js +5 -0
  9. package/dist/es/FormDrawer.vue_vue_type_script_setup_true_lang.js +176 -0
  10. package/dist/es/_virtual/_rolldown/runtime.js +27 -0
  11. package/dist/es/containers/Col.js +5 -0
  12. package/dist/es/containers/Col.vue_vue_type_script_setup_true_lang.js +60 -0
  13. package/dist/es/containers/Container.js +5 -0
  14. package/dist/es/containers/Container.vue_vue_type_script_setup_true_lang.js +439 -0
  15. package/dist/es/containers/Fieldset.js +5 -0
  16. package/dist/es/containers/Fieldset.vue_vue_type_script_setup_true_lang.js +153 -0
  17. package/dist/es/containers/FlexLayout.js +5 -0
  18. package/dist/es/containers/FlexLayout.vue_vue_type_script_setup_true_lang.js +64 -0
  19. package/dist/es/containers/FormLabel.js +5 -0
  20. package/dist/es/containers/FormLabel.vue_vue_type_script_setup_true_lang.js +51 -0
  21. package/dist/es/containers/GroupList.js +5 -0
  22. package/dist/es/containers/GroupList.vue_vue_type_script_setup_true_lang.js +164 -0
  23. package/dist/es/containers/GroupListItem.js +5 -0
  24. package/dist/es/containers/GroupListItem.vue_vue_type_script_setup_true_lang.js +221 -0
  25. package/dist/es/containers/Panel.js +5 -0
  26. package/dist/es/containers/Panel.vue_vue_type_script_setup_true_lang.js +130 -0
  27. package/dist/es/containers/Row.js +5 -0
  28. package/dist/es/containers/Row.vue_vue_type_script_setup_true_lang.js +65 -0
  29. package/dist/es/containers/Step.js +5 -0
  30. package/dist/es/containers/Step.vue_vue_type_script_setup_true_lang.js +85 -0
  31. package/dist/es/containers/Tabs.js +5 -0
  32. package/dist/es/containers/Tabs.vue_vue_type_script_setup_true_lang.js +194 -0
  33. package/dist/es/fields/Cascader.js +5 -0
  34. package/dist/es/fields/Cascader.vue_vue_type_script_setup_true_lang.js +123 -0
  35. package/dist/es/fields/Checkbox.js +5 -0
  36. package/dist/es/fields/Checkbox.vue_vue_type_script_setup_true_lang.js +61 -0
  37. package/dist/es/fields/CheckboxGroup.js +5 -0
  38. package/dist/es/fields/CheckboxGroup.vue_vue_type_script_setup_true_lang.js +63 -0
  39. package/dist/es/fields/ColorPicker.js +5 -0
  40. package/dist/es/fields/ColorPicker.vue_vue_type_script_setup_true_lang.js +42 -0
  41. package/dist/es/fields/Date.js +5 -0
  42. package/dist/es/fields/Date.vue_vue_type_script_setup_true_lang.js +52 -0
  43. package/dist/es/fields/DateTime.js +5 -0
  44. package/dist/es/fields/DateTime.vue_vue_type_script_setup_true_lang.js +57 -0
  45. package/dist/es/fields/Daterange.js +5 -0
  46. package/dist/es/fields/Daterange.vue_vue_type_script_setup_true_lang.js +99 -0
  47. package/dist/es/fields/Display.js +5 -0
  48. package/dist/es/fields/Display.vue_vue_type_script_setup_true_lang.js +36 -0
  49. package/dist/es/fields/DynamicField.js +5 -0
  50. package/dist/es/fields/DynamicField.vue_vue_type_script_setup_true_lang.js +91 -0
  51. package/dist/es/fields/Hidden.js +5 -0
  52. package/dist/es/fields/Hidden.vue_vue_type_script_setup_true_lang.js +24 -0
  53. package/dist/es/fields/Link.js +5 -0
  54. package/dist/es/fields/Link.vue_vue_type_script_setup_true_lang.js +104 -0
  55. package/dist/es/fields/Number.js +5 -0
  56. package/dist/es/fields/Number.vue_vue_type_script_setup_true_lang.js +65 -0
  57. package/dist/es/fields/NumberRange.js +5 -0
  58. package/dist/es/fields/NumberRange.vue_vue_type_script_setup_true_lang.js +76 -0
  59. package/dist/es/fields/RadioGroup.js +5 -0
  60. package/dist/es/fields/RadioGroup.vue_vue_type_script_setup_true_lang.js +74 -0
  61. package/dist/es/fields/Select.js +5 -0
  62. package/dist/es/fields/Select.vue_vue_type_script_setup_true_lang.js +337 -0
  63. package/dist/es/fields/Switch.js +5 -0
  64. package/dist/es/fields/Switch.vue_vue_type_script_setup_true_lang.js +59 -0
  65. package/dist/es/fields/Text.js +5 -0
  66. package/dist/es/fields/Text.vue_vue_type_script_setup_true_lang.js +215 -0
  67. package/dist/es/fields/Textarea.js +5 -0
  68. package/dist/es/fields/Textarea.vue_vue_type_script_setup_true_lang.js +60 -0
  69. package/dist/es/fields/Time.js +5 -0
  70. package/dist/es/fields/Time.vue_vue_type_script_setup_true_lang.js +49 -0
  71. package/dist/es/fields/Timerange.js +5 -0
  72. package/dist/es/fields/Timerange.vue_vue_type_script_setup_true_lang.js +100 -0
  73. package/dist/es/index.js +41 -0
  74. package/dist/es/plugin.js +74 -0
  75. package/dist/es/schema.js +2 -0
  76. package/dist/es/style.css +325 -0
  77. package/dist/es/table/ActionsColumn.js +5 -0
  78. package/dist/es/table/ActionsColumn.vue_vue_type_script_setup_true_lang.js +107 -0
  79. package/dist/es/table/SortColumn.js +5 -0
  80. package/dist/es/table/SortColumn.vue_vue_type_script_setup_true_lang.js +88 -0
  81. package/dist/es/table/Table.js +5 -0
  82. package/dist/es/table/Table.vue_vue_type_script_setup_true_lang.js +232 -0
  83. package/dist/es/table/useAdd.js +71 -0
  84. package/dist/es/table/useFullscreen.js +15 -0
  85. package/dist/es/table/useImport.js +46 -0
  86. package/dist/es/table/usePagination.js +26 -0
  87. package/dist/es/table/useSelection.js +26 -0
  88. package/dist/es/table/useSortable.js +39 -0
  89. package/dist/es/table/useTableColumns.js +160 -0
  90. package/dist/es/utils/config.js +15 -0
  91. package/dist/es/utils/form.js +173 -0
  92. package/dist/es/utils/useAddField.js +13 -0
  93. package/dist/style.css +1 -1
  94. package/dist/tmagic-form.umd.cjs +7693 -8924
  95. package/package.json +7 -6
  96. package/src/containers/Container.vue +16 -10
  97. package/src/fields/Hidden.vue +6 -2
  98. package/src/index.ts +8 -82
  99. package/src/plugin.ts +102 -0
  100. package/src/table/useSortable.ts +8 -4
  101. package/src/utils/config.ts +16 -1
  102. package/types/index.d.ts +1264 -1226
  103. package/dist/tmagic-form.js +0 -5940
package/types/index.d.ts CHANGED
@@ -1,90 +1,239 @@
1
- import { App } from 'vue';
2
- import * as _tmagic_form_schema from '@tmagic/form-schema';
3
- import { FormState, FormConfig, TabPaneConfig, FormValue, FilterFunction, Rule, SortProp, ChildConfig, FieldsetConfig, FlexLayoutConfig, PanelConfig, RowConfig, TabConfig, TableConfig, GroupListConfig, FieldProps, TextConfig, NumberConfig, NumberRangeConfig, TextareaConfig, HiddenConfig, DateConfig, DateTimeConfig, TimeConfig, CheckboxConfig, SwitchConfig, DaterangeConfig, ColorPickConfig, CheckboxGroupConfig, RadioGroupConfig, DisplayConfig, LinkConfig, SelectConfig, SelectOption, SelectGroupOption, CascaderConfig, DynamicFieldConfig } from '@tmagic/form-schema';
4
- export * from '@tmagic/form-schema';
5
- import * as _vue_runtime_core from '@vue/runtime-core';
6
- import * as _vue_reactivity from '@vue/reactivity';
7
- import * as _tmagic_editor from '@tmagic/editor';
1
+ import * as _tmagic_form_schema0 from "@tmagic/form-schema";
2
+ import { FlexLayoutConfig, TableConfig } from "@tmagic/form-schema";
3
+ import * as _vue_reactivity0 from "@vue/reactivity";
4
+ import * as _vue_runtime_core0 from "@vue/runtime-core";
5
+ import * as _tmagic_editor0 from "@tmagic/editor";
6
+ import { App, Component } from "vue";
7
+ export * from "@tmagic/form-schema";
8
8
 
9
+ //#region \0rolldown/runtime.js
10
+ declare namespace schema_d_exports {
11
+ export { ChangeRecord, ContainerChangeEventData, ValidateError };
12
+ }
13
+ import * as import__tmagic_form_schema from "@tmagic/form-schema";
9
14
  interface ValidateError {
10
- message: string;
11
- field: string;
15
+ message: string;
16
+ field: string;
12
17
  }
13
18
  interface ChangeRecord {
14
- propPath?: string;
15
- value: any;
19
+ propPath?: string;
20
+ value: any;
16
21
  }
17
22
  interface ContainerChangeEventData {
18
- modifyKey?: string;
19
- changeRecords?: ChangeRecord[];
23
+ modifyKey?: string;
24
+ changeRecords?: ChangeRecord[];
20
25
  }
21
-
22
- declare const createValues: (mForm: FormState | undefined, config?: FormConfig | TabPaneConfig[], initValue?: FormValue, value?: FormValue) => FormValue;
23
- declare const filterFunction: <T = any>(mForm: FormState | undefined, config: T | FilterFunction<T> | undefined, props: any) => T | undefined;
24
- declare const display: (mForm: FormState | undefined, config: any, props: any) => any;
25
- declare const getRules: (mForm: FormState | undefined, rules: (Rule[] | Rule) | undefined, props: any) => Rule[];
26
- declare const initValue: (mForm: FormState | undefined, { initValues, config }: {
27
- initValues: FormValue;
28
- config: FormConfig;
29
- }) => Promise<FormValue>;
26
+ //#endregion
27
+ //#region temp/packages/form/src/utils/form.d.ts
28
+ declare const createValues: (mForm: schema_d_exports.FormState | undefined, config?: schema_d_exports.FormConfig | schema_d_exports.TabPaneConfig[], initValue?: schema_d_exports.FormValue, value?: schema_d_exports.FormValue) => schema_d_exports.FormValue;
29
+ declare const filterFunction: <T = any>(mForm: schema_d_exports.FormState | undefined, config: T | schema_d_exports.FilterFunction<T> | undefined, props: any) => T | undefined;
30
+ declare const display: (mForm: schema_d_exports.FormState | undefined, config: any, props: any) => any;
31
+ declare const getRules: (mForm: schema_d_exports.FormState | undefined, rules: (schema_d_exports.Rule[] | schema_d_exports.Rule) | undefined, props: any) => schema_d_exports.Rule[];
32
+ declare const initValue: (mForm: schema_d_exports.FormState | undefined, {
33
+ initValues,
34
+ config
35
+ }: {
36
+ initValues: schema_d_exports.FormValue;
37
+ config: schema_d_exports.FormConfig;
38
+ }) => Promise<schema_d_exports.FormValue>;
30
39
  declare const datetimeFormatter: (v: string | Date, defaultValue?: string, format?: string) => string | number;
31
40
  declare const getDataByPage: (data: any[] | undefined, pagecontext: number, pagesize: number) => any[];
32
41
  declare const sortArray: (data: any[], newIndex: number, oldIndex: number, sortKey?: string) => any[];
33
- declare const sortChange: (data: any[], { prop, order }: SortProp) => void;
42
+ declare const sortChange: (data: any[], {
43
+ prop,
44
+ order
45
+ }: schema_d_exports.SortProp) => void;
34
46
  declare const createObjectProp: (prop: string, key: string, name?: string | number) => string;
35
-
47
+ //#endregion
48
+ //#region temp/packages/form/src/utils/useAddField.d.ts
36
49
  declare const useAddField: (prop?: string) => void;
37
-
38
- type __VLS_Props$u = {
39
- /** 表单配置 */
40
- config: FormConfig;
41
- /** 表单值 */
50
+ //#endregion
51
+ //#region temp/packages/form/src/Form.vue.d.ts
52
+ type __VLS_Props$30 = {
53
+ /** 表单配置 */config: schema_d_exports.FormConfig; /** 表单值 */
54
+ initValues: Record<string, any>; /** 需对比的值(开启对比模式时传入) */
55
+ lastValues?: Record<string, any>; /** 是否开启对比模式 */
56
+ isCompare?: boolean;
57
+ parentValues?: Record<string, any>;
58
+ labelWidth?: string;
59
+ disabled?: boolean;
60
+ height?: string;
61
+ stepActive?: string | number;
62
+ size?: 'small' | 'default' | 'large';
63
+ inline?: boolean;
64
+ labelPosition?: string;
65
+ keyProp?: string;
66
+ popperClass?: string;
67
+ preventSubmitDefault?: boolean;
68
+ extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
69
+ };
70
+ declare const __VLS_export$31: _vue_runtime_core0.DefineComponent<__VLS_Props$30, {
71
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
72
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
73
+ formState: schema_d_exports.FormState;
74
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
75
+ changeRecords: _vue_reactivity0.ShallowRef<ChangeRecord[], ChangeRecord[]>;
76
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
77
+ resetForm: () => void;
78
+ submitForm: (native?: boolean) => Promise<any>;
79
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
80
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
81
+ error: (...args: any[]) => void;
82
+ change: (...args: any[]) => void;
83
+ "field-input": (...args: any[]) => void;
84
+ "field-change": (...args: any[]) => void;
85
+ "update:stepActive": (...args: any[]) => void;
86
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$30> & Readonly<{
87
+ onError?: ((...args: any[]) => any) | undefined;
88
+ onChange?: ((...args: any[]) => any) | undefined;
89
+ "onField-input"?: ((...args: any[]) => any) | undefined;
90
+ "onField-change"?: ((...args: any[]) => any) | undefined;
91
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
92
+ }>, {
93
+ disabled: boolean;
94
+ labelWidth: string;
95
+ inline: boolean;
96
+ labelPosition: string;
97
+ config: schema_d_exports.FormConfig;
98
+ height: string;
99
+ initValues: Record<string, any>;
100
+ lastValues: Record<string, any>;
101
+ isCompare: boolean;
102
+ keyProp: string;
103
+ parentValues: Record<string, any>;
104
+ stepActive: string | number;
105
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
106
+ declare const _default$12: typeof __VLS_export$31;
107
+ //#endregion
108
+ //#region temp/packages/form/src/FormDialog.vue.d.ts
109
+ type __VLS_Props$29 = {
110
+ config?: schema_d_exports.FormConfig;
111
+ values?: Object;
112
+ parentValues?: Object;
113
+ width?: string | number;
114
+ labelWidth?: string;
115
+ fullscreen?: boolean;
116
+ disabled?: boolean;
117
+ title?: string;
118
+ inline?: boolean;
119
+ labelPosition?: string;
120
+ zIndex?: number;
121
+ size?: 'small' | 'default' | 'large';
122
+ confirmText?: string;
123
+ preventSubmitDefault?: boolean;
124
+ closeOnClickModal?: boolean;
125
+ closeOnPressEscape?: boolean;
126
+ destroyOnClose?: boolean;
127
+ showClose?: boolean;
128
+ showCancel?: boolean;
129
+ };
130
+ declare var __VLS_19: {}, __VLS_34: {}, __VLS_42: {};
131
+ type __VLS_Slots$4 = {} & {
132
+ default?: (props: typeof __VLS_19) => any;
133
+ } & {
134
+ left?: (props: typeof __VLS_34) => any;
135
+ } & {
136
+ footer?: (props: typeof __VLS_42) => any;
137
+ };
138
+ declare const __VLS_base$4: _vue_runtime_core0.DefineComponent<__VLS_Props$29, {
139
+ form: _vue_reactivity0.Ref<_vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
140
+ config: schema_d_exports.FormConfig;
42
141
  initValues: Record<string, any>;
43
- /** 需对比的值(开启对比模式时传入) */
44
142
  lastValues?: Record<string, any>;
45
- /** 是否开启对比模式 */
46
143
  isCompare?: boolean;
47
144
  parentValues?: Record<string, any>;
48
145
  labelWidth?: string;
49
146
  disabled?: boolean;
50
147
  height?: string;
51
148
  stepActive?: string | number;
52
- size?: 'small' | 'default' | 'large';
149
+ size?: "small" | "default" | "large";
53
150
  inline?: boolean;
54
151
  labelPosition?: string;
55
152
  keyProp?: string;
56
153
  popperClass?: string;
57
154
  preventSubmitDefault?: boolean;
58
- extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
59
- };
60
- declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
61
- values: _vue_reactivity.Ref<FormValue, FormValue>;
62
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
63
- formState: FormState;
64
- initialized: _vue_reactivity.Ref<boolean, boolean>;
65
- changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
66
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
155
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
156
+ }> & Readonly<{
157
+ onError?: ((...args: any[]) => any) | undefined;
158
+ onChange?: ((...args: any[]) => any) | undefined;
159
+ "onField-input"?: ((...args: any[]) => any) | undefined;
160
+ "onField-change"?: ((...args: any[]) => any) | undefined;
161
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
162
+ }>, {
163
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
164
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
165
+ formState: _tmagic_form_schema0.FormState;
166
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
167
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
168
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
67
169
  resetForm: () => void;
68
170
  submitForm: (native?: boolean) => Promise<any>;
69
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
70
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
171
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
172
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
71
173
  error: (...args: any[]) => void;
72
174
  change: (...args: any[]) => void;
73
- "update:stepActive": (...args: any[]) => void;
74
- "field-change": (...args: any[]) => void;
75
175
  "field-input": (...args: any[]) => void;
76
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$u> & Readonly<{
176
+ "field-change": (...args: any[]) => void;
177
+ "update:stepActive": (...args: any[]) => void;
178
+ }, _vue_runtime_core0.PublicProps, {
179
+ disabled: boolean;
180
+ labelWidth: string;
181
+ inline: boolean;
182
+ labelPosition: string;
183
+ config: schema_d_exports.FormConfig;
184
+ height: string;
185
+ initValues: Record<string, any>;
186
+ lastValues: Record<string, any>;
187
+ isCompare: boolean;
188
+ keyProp: string;
189
+ parentValues: Record<string, any>;
190
+ stepActive: string | number;
191
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
192
+ P: {};
193
+ B: {};
194
+ D: {};
195
+ C: {};
196
+ M: {};
197
+ Defaults: {};
198
+ }, Readonly<{
199
+ config: schema_d_exports.FormConfig;
200
+ initValues: Record<string, any>;
201
+ lastValues?: Record<string, any>;
202
+ isCompare?: boolean;
203
+ parentValues?: Record<string, any>;
204
+ labelWidth?: string;
205
+ disabled?: boolean;
206
+ height?: string;
207
+ stepActive?: string | number;
208
+ size?: "small" | "default" | "large";
209
+ inline?: boolean;
210
+ labelPosition?: string;
211
+ keyProp?: string;
212
+ popperClass?: string;
213
+ preventSubmitDefault?: boolean;
214
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
215
+ }> & Readonly<{
77
216
  onError?: ((...args: any[]) => any) | undefined;
78
217
  onChange?: ((...args: any[]) => any) | undefined;
79
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
80
- "onField-change"?: ((...args: any[]) => any) | undefined;
81
218
  "onField-input"?: ((...args: any[]) => any) | undefined;
82
- }>, {
219
+ "onField-change"?: ((...args: any[]) => any) | undefined;
220
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
221
+ }>, {
222
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
223
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
224
+ formState: _tmagic_form_schema0.FormState;
225
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
226
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
227
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
228
+ resetForm: () => void;
229
+ submitForm: (native?: boolean) => Promise<any>;
230
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
231
+ }, {}, {}, {}, {
83
232
  disabled: boolean;
84
233
  labelWidth: string;
85
234
  inline: boolean;
86
235
  labelPosition: string;
87
- config: FormConfig;
236
+ config: schema_d_exports.FormConfig;
88
237
  height: string;
89
238
  initValues: Record<string, any>;
90
239
  lastValues: Record<string, any>;
@@ -92,1244 +241,1133 @@ declare const __VLS_export$v: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
92
241
  keyProp: string;
93
242
  parentValues: Record<string, any>;
94
243
  stepActive: string | number;
95
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
96
- declare const _default$w: typeof __VLS_export$v;
97
-
98
- type __VLS_Props$t = {
99
- config?: FormConfig;
100
- values?: Object;
101
- parentValues?: Object;
102
- width?: string | number;
244
+ }> | undefined, _vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
245
+ config: schema_d_exports.FormConfig;
246
+ initValues: Record<string, any>;
247
+ lastValues?: Record<string, any>;
248
+ isCompare?: boolean;
249
+ parentValues?: Record<string, any>;
103
250
  labelWidth?: string;
104
- fullscreen?: boolean;
105
251
  disabled?: boolean;
106
- title?: string;
252
+ height?: string;
253
+ stepActive?: string | number;
254
+ size?: "small" | "default" | "large";
107
255
  inline?: boolean;
108
256
  labelPosition?: string;
109
- zIndex?: number;
110
- size?: 'small' | 'default' | 'large';
111
- confirmText?: string;
257
+ keyProp?: string;
258
+ popperClass?: string;
112
259
  preventSubmitDefault?: boolean;
113
- closeOnClickModal?: boolean;
114
- closeOnPressEscape?: boolean;
115
- destroyOnClose?: boolean;
116
- showClose?: boolean;
117
- showCancel?: boolean;
118
- };
119
- declare var __VLS_19$1: {};
120
- declare var __VLS_32: {};
121
- declare var __VLS_39: {};
122
- type __VLS_Slots$4 = {} & {
123
- default?: (props: typeof __VLS_19$1) => any;
124
- } & {
125
- left?: (props: typeof __VLS_32) => any;
126
- } & {
127
- footer?: (props: typeof __VLS_39) => any;
128
- };
129
- declare const __VLS_base$4: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
130
- form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
131
- config: FormConfig;
132
- initValues: Record<string, any>;
133
- lastValues?: Record<string, any>;
134
- isCompare?: boolean;
135
- parentValues?: Record<string, any>;
136
- labelWidth?: string;
137
- disabled?: boolean;
138
- height?: string;
139
- stepActive?: string | number;
140
- size?: "small" | "default" | "large";
141
- inline?: boolean;
142
- labelPosition?: string;
143
- keyProp?: string;
144
- popperClass?: string;
145
- preventSubmitDefault?: boolean;
146
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
147
- }> & Readonly<{
148
- onError?: ((...args: any[]) => any) | undefined;
149
- onChange?: ((...args: any[]) => any) | undefined;
150
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
151
- "onField-change"?: ((...args: any[]) => any) | undefined;
152
- "onField-input"?: ((...args: any[]) => any) | undefined;
153
- }>, {
154
- values: _vue_reactivity.Ref<FormValue, FormValue>;
155
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
156
- formState: _tmagic_form_schema.FormState;
157
- initialized: _vue_reactivity.Ref<boolean, boolean>;
158
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
159
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
160
- resetForm: () => void;
161
- submitForm: (native?: boolean) => Promise<any>;
162
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
163
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
164
- error: (...args: any[]) => void;
165
- change: (...args: any[]) => void;
166
- "update:stepActive": (...args: any[]) => void;
167
- "field-change": (...args: any[]) => void;
168
- "field-input": (...args: any[]) => void;
169
- }, _vue_runtime_core.PublicProps, {
170
- disabled: boolean;
171
- labelWidth: string;
172
- inline: boolean;
173
- labelPosition: string;
174
- config: FormConfig;
175
- height: string;
176
- initValues: Record<string, any>;
177
- lastValues: Record<string, any>;
178
- isCompare: boolean;
179
- keyProp: string;
180
- parentValues: Record<string, any>;
181
- stepActive: string | number;
182
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
183
- P: {};
184
- B: {};
185
- D: {};
186
- C: {};
187
- M: {};
188
- Defaults: {};
189
- }, Readonly<{
190
- config: FormConfig;
191
- initValues: Record<string, any>;
192
- lastValues?: Record<string, any>;
193
- isCompare?: boolean;
194
- parentValues?: Record<string, any>;
195
- labelWidth?: string;
196
- disabled?: boolean;
197
- height?: string;
198
- stepActive?: string | number;
199
- size?: "small" | "default" | "large";
200
- inline?: boolean;
201
- labelPosition?: string;
202
- keyProp?: string;
203
- popperClass?: string;
204
- preventSubmitDefault?: boolean;
205
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
206
- }> & Readonly<{
207
- onError?: ((...args: any[]) => any) | undefined;
208
- onChange?: ((...args: any[]) => any) | undefined;
209
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
210
- "onField-change"?: ((...args: any[]) => any) | undefined;
211
- "onField-input"?: ((...args: any[]) => any) | undefined;
212
- }>, {
213
- values: _vue_reactivity.Ref<FormValue, FormValue>;
214
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
215
- formState: _tmagic_form_schema.FormState;
216
- initialized: _vue_reactivity.Ref<boolean, boolean>;
217
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
218
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
219
- resetForm: () => void;
220
- submitForm: (native?: boolean) => Promise<any>;
221
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
222
- }, {}, {}, {}, {
223
- disabled: boolean;
224
- labelWidth: string;
225
- inline: boolean;
226
- labelPosition: string;
227
- config: FormConfig;
228
- height: string;
229
- initValues: Record<string, any>;
230
- lastValues: Record<string, any>;
231
- isCompare: boolean;
232
- keyProp: string;
233
- parentValues: Record<string, any>;
234
- stepActive: string | number;
235
- }> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
236
- config: FormConfig;
237
- initValues: Record<string, any>;
238
- lastValues?: Record<string, any>;
239
- isCompare?: boolean;
240
- parentValues?: Record<string, any>;
241
- labelWidth?: string;
242
- disabled?: boolean;
243
- height?: string;
244
- stepActive?: string | number;
245
- size?: "small" | "default" | "large";
246
- inline?: boolean;
247
- labelPosition?: string;
248
- keyProp?: string;
249
- popperClass?: string;
250
- preventSubmitDefault?: boolean;
251
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
252
- }> & Readonly<{
253
- onError?: ((...args: any[]) => any) | undefined;
254
- onChange?: ((...args: any[]) => any) | undefined;
255
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
256
- "onField-change"?: ((...args: any[]) => any) | undefined;
257
- "onField-input"?: ((...args: any[]) => any) | undefined;
258
- }>, {
259
- values: _vue_reactivity.Ref<FormValue, FormValue>;
260
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
261
- formState: _tmagic_form_schema.FormState;
262
- initialized: _vue_reactivity.Ref<boolean, boolean>;
263
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
264
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
265
- resetForm: () => void;
266
- submitForm: (native?: boolean) => Promise<any>;
267
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
268
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
269
- error: (...args: any[]) => void;
270
- change: (...args: any[]) => void;
271
- "update:stepActive": (...args: any[]) => void;
272
- "field-change": (...args: any[]) => void;
273
- "field-input": (...args: any[]) => void;
274
- }, _vue_runtime_core.PublicProps, {
275
- disabled: boolean;
276
- labelWidth: string;
277
- inline: boolean;
278
- labelPosition: string;
279
- config: FormConfig;
280
- height: string;
281
- initValues: Record<string, any>;
282
- lastValues: Record<string, any>;
283
- isCompare: boolean;
284
- keyProp: string;
285
- parentValues: Record<string, any>;
286
- stepActive: string | number;
287
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
288
- P: {};
289
- B: {};
290
- D: {};
291
- C: {};
292
- M: {};
293
- Defaults: {};
294
- }, Readonly<{
295
- config: FormConfig;
296
- initValues: Record<string, any>;
297
- lastValues?: Record<string, any>;
298
- isCompare?: boolean;
299
- parentValues?: Record<string, any>;
300
- labelWidth?: string;
301
- disabled?: boolean;
302
- height?: string;
303
- stepActive?: string | number;
304
- size?: "small" | "default" | "large";
305
- inline?: boolean;
306
- labelPosition?: string;
307
- keyProp?: string;
308
- popperClass?: string;
309
- preventSubmitDefault?: boolean;
310
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
311
- }> & Readonly<{
312
- onError?: ((...args: any[]) => any) | undefined;
313
- onChange?: ((...args: any[]) => any) | undefined;
314
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
315
- "onField-change"?: ((...args: any[]) => any) | undefined;
316
- "onField-input"?: ((...args: any[]) => any) | undefined;
317
- }>, {
318
- values: _vue_reactivity.Ref<FormValue, FormValue>;
319
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
320
- formState: _tmagic_form_schema.FormState;
321
- initialized: _vue_reactivity.Ref<boolean, boolean>;
322
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
323
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
324
- resetForm: () => void;
325
- submitForm: (native?: boolean) => Promise<any>;
326
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
327
- }, {}, {}, {}, {
328
- disabled: boolean;
329
- labelWidth: string;
330
- inline: boolean;
331
- labelPosition: string;
332
- config: FormConfig;
333
- height: string;
334
- initValues: Record<string, any>;
335
- lastValues: Record<string, any>;
336
- isCompare: boolean;
337
- keyProp: string;
338
- parentValues: Record<string, any>;
339
- stepActive: string | number;
340
- }> | undefined>;
341
- saveFetch: _vue_reactivity.Ref<boolean, boolean>;
342
- dialogVisible: _vue_reactivity.Ref<boolean, boolean>;
343
- cancel: () => void;
344
- save: () => Promise<void>;
345
- show: () => void;
346
- hide: () => void;
347
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
348
- error: (...args: any[]) => void;
349
- change: (...args: any[]) => void;
350
- close: (...args: any[]) => void;
351
- submit: (...args: any[]) => void;
352
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
260
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
261
+ }> & Readonly<{
353
262
  onError?: ((...args: any[]) => any) | undefined;
354
263
  onChange?: ((...args: any[]) => any) | undefined;
355
- onClose?: ((...args: any[]) => any) | undefined;
356
- onSubmit?: ((...args: any[]) => any) | undefined;
357
- }>, {
358
- values: Object;
359
- closeOnClickModal: boolean;
360
- closeOnPressEscape: boolean;
361
- destroyOnClose: boolean;
362
- showClose: boolean;
363
- config: FormConfig;
364
- confirmText: string;
365
- showCancel: boolean;
366
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
367
- declare const __VLS_export$u: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
368
- declare const _default$v: typeof __VLS_export$u;
369
-
370
- type __VLS_WithSlots$4<T, S> = T & {
371
- new (): {
372
- $slots: S;
373
- };
374
- };
375
-
376
- type __VLS_Props$s = {
377
- config?: FormConfig;
378
- values?: Object;
379
- parentValues?: Object;
380
- width?: string | number;
264
+ "onField-input"?: ((...args: any[]) => any) | undefined;
265
+ "onField-change"?: ((...args: any[]) => any) | undefined;
266
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
267
+ }>, {
268
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
269
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
270
+ formState: _tmagic_form_schema0.FormState;
271
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
272
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
273
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
274
+ resetForm: () => void;
275
+ submitForm: (native?: boolean) => Promise<any>;
276
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
277
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
278
+ error: (...args: any[]) => void;
279
+ change: (...args: any[]) => void;
280
+ "field-input": (...args: any[]) => void;
281
+ "field-change": (...args: any[]) => void;
282
+ "update:stepActive": (...args: any[]) => void;
283
+ }, _vue_runtime_core0.PublicProps, {
284
+ disabled: boolean;
285
+ labelWidth: string;
286
+ inline: boolean;
287
+ labelPosition: string;
288
+ config: schema_d_exports.FormConfig;
289
+ height: string;
290
+ initValues: Record<string, any>;
291
+ lastValues: Record<string, any>;
292
+ isCompare: boolean;
293
+ keyProp: string;
294
+ parentValues: Record<string, any>;
295
+ stepActive: string | number;
296
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
297
+ P: {};
298
+ B: {};
299
+ D: {};
300
+ C: {};
301
+ M: {};
302
+ Defaults: {};
303
+ }, Readonly<{
304
+ config: schema_d_exports.FormConfig;
305
+ initValues: Record<string, any>;
306
+ lastValues?: Record<string, any>;
307
+ isCompare?: boolean;
308
+ parentValues?: Record<string, any>;
381
309
  labelWidth?: string;
382
310
  disabled?: boolean;
383
- closeOnPressEscape?: boolean;
384
- title?: string;
385
- zIndex?: number;
386
- size?: 'small' | 'default' | 'large';
387
- confirmText?: string;
311
+ height?: string;
312
+ stepActive?: string | number;
313
+ size?: "small" | "default" | "large";
388
314
  inline?: boolean;
389
315
  labelPosition?: string;
316
+ keyProp?: string;
317
+ popperClass?: string;
390
318
  preventSubmitDefault?: boolean;
391
- /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
392
- beforeClose?: (_done: (_cancel?: boolean) => void) => void;
319
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
320
+ }> & Readonly<{
321
+ onError?: ((...args: any[]) => any) | undefined;
322
+ onChange?: ((...args: any[]) => any) | undefined;
323
+ "onField-input"?: ((...args: any[]) => any) | undefined;
324
+ "onField-change"?: ((...args: any[]) => any) | undefined;
325
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
326
+ }>, {
327
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
328
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
329
+ formState: _tmagic_form_schema0.FormState;
330
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
331
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
332
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
333
+ resetForm: () => void;
334
+ submitForm: (native?: boolean) => Promise<any>;
335
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
336
+ }, {}, {}, {}, {
337
+ disabled: boolean;
338
+ labelWidth: string;
339
+ inline: boolean;
340
+ labelPosition: string;
341
+ config: schema_d_exports.FormConfig;
342
+ height: string;
343
+ initValues: Record<string, any>;
344
+ lastValues: Record<string, any>;
345
+ isCompare: boolean;
346
+ keyProp: string;
347
+ parentValues: Record<string, any>;
348
+ stepActive: string | number;
349
+ }> | undefined>;
350
+ saveFetch: _vue_reactivity0.Ref<boolean, boolean>;
351
+ dialogVisible: _vue_reactivity0.Ref<boolean, boolean>;
352
+ cancel: () => void;
353
+ save: () => Promise<void>;
354
+ show: () => void;
355
+ hide: () => void;
356
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
357
+ error: (...args: any[]) => void;
358
+ change: (...args: any[]) => void;
359
+ close: (...args: any[]) => void;
360
+ submit: (...args: any[]) => void;
361
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$29> & Readonly<{
362
+ onError?: ((...args: any[]) => any) | undefined;
363
+ onChange?: ((...args: any[]) => any) | undefined;
364
+ onClose?: ((...args: any[]) => any) | undefined;
365
+ onSubmit?: ((...args: any[]) => any) | undefined;
366
+ }>, {
367
+ values: Object;
368
+ closeOnClickModal: boolean;
369
+ closeOnPressEscape: boolean;
370
+ destroyOnClose: boolean;
371
+ showClose: boolean;
372
+ config: schema_d_exports.FormConfig;
373
+ confirmText: string;
374
+ showCancel: boolean;
375
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
376
+ declare const __VLS_export$30: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
377
+ declare const _default$14: typeof __VLS_export$30;
378
+ type __VLS_WithSlots$4<T, S> = T & {
379
+ new (): {
380
+ $slots: S;
381
+ };
393
382
  };
394
- declare var __VLS_23: {};
395
- declare var __VLS_36: {};
396
- declare var __VLS_43: {};
383
+ //#endregion
384
+ //#region temp/packages/form/src/FormDrawer.vue.d.ts
385
+ type __VLS_Props$28 = {
386
+ config?: schema_d_exports.FormConfig;
387
+ values?: Object;
388
+ parentValues?: Object;
389
+ width?: string | number;
390
+ labelWidth?: string;
391
+ disabled?: boolean;
392
+ closeOnPressEscape?: boolean;
393
+ title?: string;
394
+ zIndex?: number;
395
+ size?: 'small' | 'default' | 'large';
396
+ confirmText?: string;
397
+ inline?: boolean;
398
+ labelPosition?: string;
399
+ preventSubmitDefault?: boolean; /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
400
+ beforeClose?: (_done: (_cancel?: boolean) => void) => void;
401
+ };
402
+ declare var __VLS_23$1: {}, __VLS_38: {}, __VLS_46: {};
397
403
  type __VLS_Slots$3 = {} & {
398
- default?: (props: typeof __VLS_23) => any;
404
+ default?: (props: typeof __VLS_23$1) => any;
399
405
  } & {
400
- left?: (props: typeof __VLS_36) => any;
406
+ left?: (props: typeof __VLS_38) => any;
401
407
  } & {
402
- footer?: (props: typeof __VLS_43) => any;
408
+ footer?: (props: typeof __VLS_46) => any;
403
409
  };
404
- declare const __VLS_base$3: _vue_runtime_core.DefineComponent<__VLS_Props$s, {
405
- form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
406
- config: FormConfig;
407
- initValues: Record<string, any>;
408
- lastValues?: Record<string, any>;
409
- isCompare?: boolean;
410
- parentValues?: Record<string, any>;
411
- labelWidth?: string;
412
- disabled?: boolean;
413
- height?: string;
414
- stepActive?: string | number;
415
- size?: "small" | "default" | "large";
416
- inline?: boolean;
417
- labelPosition?: string;
418
- keyProp?: string;
419
- popperClass?: string;
420
- preventSubmitDefault?: boolean;
421
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
422
- }> & Readonly<{
423
- onError?: ((...args: any[]) => any) | undefined;
424
- onChange?: ((...args: any[]) => any) | undefined;
425
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
426
- "onField-change"?: ((...args: any[]) => any) | undefined;
427
- "onField-input"?: ((...args: any[]) => any) | undefined;
428
- }>, {
429
- values: _vue_reactivity.Ref<FormValue, FormValue>;
430
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
431
- formState: _tmagic_form_schema.FormState;
432
- initialized: _vue_reactivity.Ref<boolean, boolean>;
433
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
434
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
435
- resetForm: () => void;
436
- submitForm: (native?: boolean) => Promise<any>;
437
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
438
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
439
- error: (...args: any[]) => void;
440
- change: (...args: any[]) => void;
441
- "update:stepActive": (...args: any[]) => void;
442
- "field-change": (...args: any[]) => void;
443
- "field-input": (...args: any[]) => void;
444
- }, _vue_runtime_core.PublicProps, {
445
- disabled: boolean;
446
- labelWidth: string;
447
- inline: boolean;
448
- labelPosition: string;
449
- config: FormConfig;
450
- height: string;
451
- initValues: Record<string, any>;
452
- lastValues: Record<string, any>;
453
- isCompare: boolean;
454
- keyProp: string;
455
- parentValues: Record<string, any>;
456
- stepActive: string | number;
457
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
458
- P: {};
459
- B: {};
460
- D: {};
461
- C: {};
462
- M: {};
463
- Defaults: {};
464
- }, Readonly<{
465
- config: FormConfig;
466
- initValues: Record<string, any>;
467
- lastValues?: Record<string, any>;
468
- isCompare?: boolean;
469
- parentValues?: Record<string, any>;
470
- labelWidth?: string;
471
- disabled?: boolean;
472
- height?: string;
473
- stepActive?: string | number;
474
- size?: "small" | "default" | "large";
475
- inline?: boolean;
476
- labelPosition?: string;
477
- keyProp?: string;
478
- popperClass?: string;
479
- preventSubmitDefault?: boolean;
480
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
481
- }> & Readonly<{
482
- onError?: ((...args: any[]) => any) | undefined;
483
- onChange?: ((...args: any[]) => any) | undefined;
484
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
485
- "onField-change"?: ((...args: any[]) => any) | undefined;
486
- "onField-input"?: ((...args: any[]) => any) | undefined;
487
- }>, {
488
- values: _vue_reactivity.Ref<FormValue, FormValue>;
489
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
490
- formState: _tmagic_form_schema.FormState;
491
- initialized: _vue_reactivity.Ref<boolean, boolean>;
492
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
493
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
494
- resetForm: () => void;
495
- submitForm: (native?: boolean) => Promise<any>;
496
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
497
- }, {}, {}, {}, {
498
- disabled: boolean;
499
- labelWidth: string;
500
- inline: boolean;
501
- labelPosition: string;
502
- config: FormConfig;
503
- height: string;
504
- initValues: Record<string, any>;
505
- lastValues: Record<string, any>;
506
- isCompare: boolean;
507
- keyProp: string;
508
- parentValues: Record<string, any>;
509
- stepActive: string | number;
510
- }> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
511
- config: FormConfig;
512
- initValues: Record<string, any>;
513
- lastValues?: Record<string, any>;
514
- isCompare?: boolean;
515
- parentValues?: Record<string, any>;
516
- labelWidth?: string;
517
- disabled?: boolean;
518
- height?: string;
519
- stepActive?: string | number;
520
- size?: "small" | "default" | "large";
521
- inline?: boolean;
522
- labelPosition?: string;
523
- keyProp?: string;
524
- popperClass?: string;
525
- preventSubmitDefault?: boolean;
526
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
527
- }> & Readonly<{
528
- onError?: ((...args: any[]) => any) | undefined;
529
- onChange?: ((...args: any[]) => any) | undefined;
530
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
531
- "onField-change"?: ((...args: any[]) => any) | undefined;
532
- "onField-input"?: ((...args: any[]) => any) | undefined;
533
- }>, {
534
- values: _vue_reactivity.Ref<FormValue, FormValue>;
535
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
536
- formState: _tmagic_form_schema.FormState;
537
- initialized: _vue_reactivity.Ref<boolean, boolean>;
538
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
539
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
540
- resetForm: () => void;
541
- submitForm: (native?: boolean) => Promise<any>;
542
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
543
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
544
- error: (...args: any[]) => void;
545
- change: (...args: any[]) => void;
546
- "update:stepActive": (...args: any[]) => void;
547
- "field-change": (...args: any[]) => void;
548
- "field-input": (...args: any[]) => void;
549
- }, _vue_runtime_core.PublicProps, {
550
- disabled: boolean;
551
- labelWidth: string;
552
- inline: boolean;
553
- labelPosition: string;
554
- config: FormConfig;
555
- height: string;
556
- initValues: Record<string, any>;
557
- lastValues: Record<string, any>;
558
- isCompare: boolean;
559
- keyProp: string;
560
- parentValues: Record<string, any>;
561
- stepActive: string | number;
562
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
563
- P: {};
564
- B: {};
565
- D: {};
566
- C: {};
567
- M: {};
568
- Defaults: {};
569
- }, Readonly<{
570
- config: FormConfig;
571
- initValues: Record<string, any>;
572
- lastValues?: Record<string, any>;
573
- isCompare?: boolean;
574
- parentValues?: Record<string, any>;
575
- labelWidth?: string;
576
- disabled?: boolean;
577
- height?: string;
578
- stepActive?: string | number;
579
- size?: "small" | "default" | "large";
580
- inline?: boolean;
581
- labelPosition?: string;
582
- keyProp?: string;
583
- popperClass?: string;
584
- preventSubmitDefault?: boolean;
585
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
586
- }> & Readonly<{
587
- onError?: ((...args: any[]) => any) | undefined;
588
- onChange?: ((...args: any[]) => any) | undefined;
589
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
590
- "onField-change"?: ((...args: any[]) => any) | undefined;
591
- "onField-input"?: ((...args: any[]) => any) | undefined;
592
- }>, {
593
- values: _vue_reactivity.Ref<FormValue, FormValue>;
594
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
595
- formState: _tmagic_form_schema.FormState;
596
- initialized: _vue_reactivity.Ref<boolean, boolean>;
597
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
598
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
599
- resetForm: () => void;
600
- submitForm: (native?: boolean) => Promise<any>;
601
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
602
- }, {}, {}, {}, {
603
- disabled: boolean;
604
- labelWidth: string;
605
- inline: boolean;
606
- labelPosition: string;
607
- config: FormConfig;
608
- height: string;
609
- initValues: Record<string, any>;
610
- lastValues: Record<string, any>;
611
- isCompare: boolean;
612
- keyProp: string;
613
- parentValues: Record<string, any>;
614
- stepActive: string | number;
615
- }> | undefined>;
616
- saveFetch: _vue_reactivity.Ref<boolean, boolean>;
617
- bodyHeight: _vue_reactivity.Ref<number, number>;
618
- show: () => void;
619
- hide: () => void;
620
- handleClose: () => void;
621
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
410
+ declare const __VLS_base$3: _vue_runtime_core0.DefineComponent<__VLS_Props$28, {
411
+ form: _vue_reactivity0.Ref<_vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
412
+ config: schema_d_exports.FormConfig;
413
+ initValues: Record<string, any>;
414
+ lastValues?: Record<string, any>;
415
+ isCompare?: boolean;
416
+ parentValues?: Record<string, any>;
417
+ labelWidth?: string;
418
+ disabled?: boolean;
419
+ height?: string;
420
+ stepActive?: string | number;
421
+ size?: "small" | "default" | "large";
422
+ inline?: boolean;
423
+ labelPosition?: string;
424
+ keyProp?: string;
425
+ popperClass?: string;
426
+ preventSubmitDefault?: boolean;
427
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
428
+ }> & Readonly<{
429
+ onError?: ((...args: any[]) => any) | undefined;
430
+ onChange?: ((...args: any[]) => any) | undefined;
431
+ "onField-input"?: ((...args: any[]) => any) | undefined;
432
+ "onField-change"?: ((...args: any[]) => any) | undefined;
433
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
434
+ }>, {
435
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
436
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
437
+ formState: _tmagic_form_schema0.FormState;
438
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
439
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
440
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
441
+ resetForm: () => void;
442
+ submitForm: (native?: boolean) => Promise<any>;
443
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
444
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
622
445
  error: (...args: any[]) => void;
623
446
  change: (...args: any[]) => void;
624
- close: (...args: any[]) => void;
625
- submit: (...args: any[]) => void;
626
- open: (...args: any[]) => void;
627
- opened: (...args: any[]) => void;
628
- closed: (...args: any[]) => void;
629
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
447
+ "field-input": (...args: any[]) => void;
448
+ "field-change": (...args: any[]) => void;
449
+ "update:stepActive": (...args: any[]) => void;
450
+ }, _vue_runtime_core0.PublicProps, {
451
+ disabled: boolean;
452
+ labelWidth: string;
453
+ inline: boolean;
454
+ labelPosition: string;
455
+ config: schema_d_exports.FormConfig;
456
+ height: string;
457
+ initValues: Record<string, any>;
458
+ lastValues: Record<string, any>;
459
+ isCompare: boolean;
460
+ keyProp: string;
461
+ parentValues: Record<string, any>;
462
+ stepActive: string | number;
463
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
464
+ P: {};
465
+ B: {};
466
+ D: {};
467
+ C: {};
468
+ M: {};
469
+ Defaults: {};
470
+ }, Readonly<{
471
+ config: schema_d_exports.FormConfig;
472
+ initValues: Record<string, any>;
473
+ lastValues?: Record<string, any>;
474
+ isCompare?: boolean;
475
+ parentValues?: Record<string, any>;
476
+ labelWidth?: string;
477
+ disabled?: boolean;
478
+ height?: string;
479
+ stepActive?: string | number;
480
+ size?: "small" | "default" | "large";
481
+ inline?: boolean;
482
+ labelPosition?: string;
483
+ keyProp?: string;
484
+ popperClass?: string;
485
+ preventSubmitDefault?: boolean;
486
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
487
+ }> & Readonly<{
630
488
  onError?: ((...args: any[]) => any) | undefined;
631
489
  onChange?: ((...args: any[]) => any) | undefined;
632
- onClose?: ((...args: any[]) => any) | undefined;
633
- onSubmit?: ((...args: any[]) => any) | undefined;
634
- onOpen?: ((...args: any[]) => any) | undefined;
635
- onOpened?: ((...args: any[]) => any) | undefined;
636
- onClosed?: ((...args: any[]) => any) | undefined;
637
- }>, {
638
- values: Object;
639
- closeOnPressEscape: boolean;
640
- config: FormConfig;
641
- confirmText: string;
642
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
643
- declare const __VLS_export$t: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
644
- declare const _default$u: typeof __VLS_export$t;
645
-
646
- type __VLS_WithSlots$3<T, S> = T & {
647
- new (): {
648
- $slots: S;
649
- };
650
- };
651
-
652
- type __VLS_Props$r = {
653
- config?: FormConfig;
654
- values?: Object;
655
- parentValues?: Object;
656
- width?: number;
657
- height?: number;
490
+ "onField-input"?: ((...args: any[]) => any) | undefined;
491
+ "onField-change"?: ((...args: any[]) => any) | undefined;
492
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
493
+ }>, {
494
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
495
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
496
+ formState: _tmagic_form_schema0.FormState;
497
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
498
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
499
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
500
+ resetForm: () => void;
501
+ submitForm: (native?: boolean) => Promise<any>;
502
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
503
+ }, {}, {}, {}, {
504
+ disabled: boolean;
505
+ labelWidth: string;
506
+ inline: boolean;
507
+ labelPosition: string;
508
+ config: schema_d_exports.FormConfig;
509
+ height: string;
510
+ initValues: Record<string, any>;
511
+ lastValues: Record<string, any>;
512
+ isCompare: boolean;
513
+ keyProp: string;
514
+ parentValues: Record<string, any>;
515
+ stepActive: string | number;
516
+ }> | undefined, _vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
517
+ config: schema_d_exports.FormConfig;
518
+ initValues: Record<string, any>;
519
+ lastValues?: Record<string, any>;
520
+ isCompare?: boolean;
521
+ parentValues?: Record<string, any>;
658
522
  labelWidth?: string;
659
523
  disabled?: boolean;
660
- size?: 'small' | 'default' | 'large';
661
- confirmText?: string;
524
+ height?: string;
525
+ stepActive?: string | number;
526
+ size?: "small" | "default" | "large";
662
527
  inline?: boolean;
663
528
  labelPosition?: string;
529
+ keyProp?: string;
530
+ popperClass?: string;
531
+ preventSubmitDefault?: boolean;
532
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
533
+ }> & Readonly<{
534
+ onError?: ((...args: any[]) => any) | undefined;
535
+ onChange?: ((...args: any[]) => any) | undefined;
536
+ "onField-input"?: ((...args: any[]) => any) | undefined;
537
+ "onField-change"?: ((...args: any[]) => any) | undefined;
538
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
539
+ }>, {
540
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
541
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
542
+ formState: _tmagic_form_schema0.FormState;
543
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
544
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
545
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
546
+ resetForm: () => void;
547
+ submitForm: (native?: boolean) => Promise<any>;
548
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
549
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
550
+ error: (...args: any[]) => void;
551
+ change: (...args: any[]) => void;
552
+ "field-input": (...args: any[]) => void;
553
+ "field-change": (...args: any[]) => void;
554
+ "update:stepActive": (...args: any[]) => void;
555
+ }, _vue_runtime_core0.PublicProps, {
556
+ disabled: boolean;
557
+ labelWidth: string;
558
+ inline: boolean;
559
+ labelPosition: string;
560
+ config: schema_d_exports.FormConfig;
561
+ height: string;
562
+ initValues: Record<string, any>;
563
+ lastValues: Record<string, any>;
564
+ isCompare: boolean;
565
+ keyProp: string;
566
+ parentValues: Record<string, any>;
567
+ stepActive: string | number;
568
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
569
+ P: {};
570
+ B: {};
571
+ D: {};
572
+ C: {};
573
+ M: {};
574
+ Defaults: {};
575
+ }, Readonly<{
576
+ config: schema_d_exports.FormConfig;
577
+ initValues: Record<string, any>;
578
+ lastValues?: Record<string, any>;
579
+ isCompare?: boolean;
580
+ parentValues?: Record<string, any>;
581
+ labelWidth?: string;
582
+ disabled?: boolean;
583
+ height?: string;
584
+ stepActive?: string | number;
585
+ size?: "small" | "default" | "large";
586
+ inline?: boolean;
587
+ labelPosition?: string;
588
+ keyProp?: string;
589
+ popperClass?: string;
664
590
  preventSubmitDefault?: boolean;
591
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
592
+ }> & Readonly<{
593
+ onError?: ((...args: any[]) => any) | undefined;
594
+ onChange?: ((...args: any[]) => any) | undefined;
595
+ "onField-input"?: ((...args: any[]) => any) | undefined;
596
+ "onField-change"?: ((...args: any[]) => any) | undefined;
597
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
598
+ }>, {
599
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
600
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
601
+ formState: _tmagic_form_schema0.FormState;
602
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
603
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
604
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
605
+ resetForm: () => void;
606
+ submitForm: (native?: boolean) => Promise<any>;
607
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
608
+ }, {}, {}, {}, {
609
+ disabled: boolean;
610
+ labelWidth: string;
611
+ inline: boolean;
612
+ labelPosition: string;
613
+ config: schema_d_exports.FormConfig;
614
+ height: string;
615
+ initValues: Record<string, any>;
616
+ lastValues: Record<string, any>;
617
+ isCompare: boolean;
618
+ keyProp: string;
619
+ parentValues: Record<string, any>;
620
+ stepActive: string | number;
621
+ }> | undefined>;
622
+ saveFetch: _vue_reactivity0.Ref<boolean, boolean>;
623
+ bodyHeight: _vue_reactivity0.Ref<number, number>;
624
+ show: () => void;
625
+ hide: () => void;
626
+ handleClose: () => void;
627
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
628
+ error: (...args: any[]) => void;
629
+ change: (...args: any[]) => void;
630
+ close: (...args: any[]) => void;
631
+ submit: (...args: any[]) => void;
632
+ open: (...args: any[]) => void;
633
+ opened: (...args: any[]) => void;
634
+ closed: (...args: any[]) => void;
635
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$28> & Readonly<{
636
+ onError?: ((...args: any[]) => any) | undefined;
637
+ onChange?: ((...args: any[]) => any) | undefined;
638
+ onClose?: ((...args: any[]) => any) | undefined;
639
+ onSubmit?: ((...args: any[]) => any) | undefined;
640
+ onOpen?: ((...args: any[]) => any) | undefined;
641
+ onOpened?: ((...args: any[]) => any) | undefined;
642
+ onClosed?: ((...args: any[]) => any) | undefined;
643
+ }>, {
644
+ values: Object;
645
+ closeOnPressEscape: boolean;
646
+ config: schema_d_exports.FormConfig;
647
+ confirmText: string;
648
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
649
+ declare const __VLS_export$29: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
650
+ declare const _default$15: typeof __VLS_export$29;
651
+ type __VLS_WithSlots$3<T, S> = T & {
652
+ new (): {
653
+ $slots: S;
654
+ };
665
655
  };
666
- declare var __VLS_15: {};
667
- declare var __VLS_17: {};
668
- declare var __VLS_19: {};
656
+ //#endregion
657
+ //#region temp/packages/form/src/FormBox.vue.d.ts
658
+ type __VLS_Props$27 = {
659
+ config?: schema_d_exports.FormConfig;
660
+ values?: Object;
661
+ parentValues?: Object;
662
+ width?: number;
663
+ height?: number;
664
+ labelWidth?: string;
665
+ disabled?: boolean;
666
+ size?: 'small' | 'default' | 'large';
667
+ confirmText?: string;
668
+ inline?: boolean;
669
+ labelPosition?: string;
670
+ preventSubmitDefault?: boolean;
671
+ };
672
+ declare var __VLS_16$1: {}, __VLS_18$1: {}, __VLS_20: {};
669
673
  type __VLS_Slots$2 = {} & {
670
- default?: (props: typeof __VLS_15) => any;
674
+ default?: (props: typeof __VLS_16$1) => any;
671
675
  } & {
672
- left?: (props: typeof __VLS_17) => any;
676
+ left?: (props: typeof __VLS_18$1) => any;
673
677
  } & {
674
- footer?: (props: typeof __VLS_19) => any;
678
+ footer?: (props: typeof __VLS_20) => any;
675
679
  };
676
- declare const __VLS_base$2: _vue_runtime_core.DefineComponent<__VLS_Props$r, {
677
- form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
678
- config: FormConfig;
679
- initValues: Record<string, any>;
680
- lastValues?: Record<string, any>;
681
- isCompare?: boolean;
682
- parentValues?: Record<string, any>;
683
- labelWidth?: string;
684
- disabled?: boolean;
685
- height?: string;
686
- stepActive?: string | number;
687
- size?: "small" | "default" | "large";
688
- inline?: boolean;
689
- labelPosition?: string;
690
- keyProp?: string;
691
- popperClass?: string;
692
- preventSubmitDefault?: boolean;
693
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
694
- }> & Readonly<{
695
- onError?: ((...args: any[]) => any) | undefined;
696
- onChange?: ((...args: any[]) => any) | undefined;
697
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
698
- "onField-change"?: ((...args: any[]) => any) | undefined;
699
- "onField-input"?: ((...args: any[]) => any) | undefined;
700
- }>, {
701
- values: _vue_reactivity.Ref<FormValue, FormValue>;
702
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
703
- formState: _tmagic_form_schema.FormState;
704
- initialized: _vue_reactivity.Ref<boolean, boolean>;
705
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
706
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
707
- resetForm: () => void;
708
- submitForm: (native?: boolean) => Promise<any>;
709
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
710
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
711
- error: (...args: any[]) => void;
712
- change: (...args: any[]) => void;
713
- "update:stepActive": (...args: any[]) => void;
714
- "field-change": (...args: any[]) => void;
715
- "field-input": (...args: any[]) => void;
716
- }, _vue_runtime_core.PublicProps, {
717
- disabled: boolean;
718
- labelWidth: string;
719
- inline: boolean;
720
- labelPosition: string;
721
- config: FormConfig;
722
- height: string;
723
- initValues: Record<string, any>;
724
- lastValues: Record<string, any>;
725
- isCompare: boolean;
726
- keyProp: string;
727
- parentValues: Record<string, any>;
728
- stepActive: string | number;
729
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
730
- P: {};
731
- B: {};
732
- D: {};
733
- C: {};
734
- M: {};
735
- Defaults: {};
736
- }, Readonly<{
737
- config: FormConfig;
738
- initValues: Record<string, any>;
739
- lastValues?: Record<string, any>;
740
- isCompare?: boolean;
741
- parentValues?: Record<string, any>;
742
- labelWidth?: string;
743
- disabled?: boolean;
744
- height?: string;
745
- stepActive?: string | number;
746
- size?: "small" | "default" | "large";
747
- inline?: boolean;
748
- labelPosition?: string;
749
- keyProp?: string;
750
- popperClass?: string;
751
- preventSubmitDefault?: boolean;
752
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
753
- }> & Readonly<{
754
- onError?: ((...args: any[]) => any) | undefined;
755
- onChange?: ((...args: any[]) => any) | undefined;
756
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
757
- "onField-change"?: ((...args: any[]) => any) | undefined;
758
- "onField-input"?: ((...args: any[]) => any) | undefined;
759
- }>, {
760
- values: _vue_reactivity.Ref<FormValue, FormValue>;
761
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
762
- formState: _tmagic_form_schema.FormState;
763
- initialized: _vue_reactivity.Ref<boolean, boolean>;
764
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
765
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
766
- resetForm: () => void;
767
- submitForm: (native?: boolean) => Promise<any>;
768
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
769
- }, {}, {}, {}, {
770
- disabled: boolean;
771
- labelWidth: string;
772
- inline: boolean;
773
- labelPosition: string;
774
- config: FormConfig;
775
- height: string;
776
- initValues: Record<string, any>;
777
- lastValues: Record<string, any>;
778
- isCompare: boolean;
779
- keyProp: string;
780
- parentValues: Record<string, any>;
781
- stepActive: string | number;
782
- }> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
783
- config: FormConfig;
784
- initValues: Record<string, any>;
785
- lastValues?: Record<string, any>;
786
- isCompare?: boolean;
787
- parentValues?: Record<string, any>;
788
- labelWidth?: string;
789
- disabled?: boolean;
790
- height?: string;
791
- stepActive?: string | number;
792
- size?: "small" | "default" | "large";
793
- inline?: boolean;
794
- labelPosition?: string;
795
- keyProp?: string;
796
- popperClass?: string;
797
- preventSubmitDefault?: boolean;
798
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
799
- }> & Readonly<{
800
- onError?: ((...args: any[]) => any) | undefined;
801
- onChange?: ((...args: any[]) => any) | undefined;
802
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
803
- "onField-change"?: ((...args: any[]) => any) | undefined;
804
- "onField-input"?: ((...args: any[]) => any) | undefined;
805
- }>, {
806
- values: _vue_reactivity.Ref<FormValue, FormValue>;
807
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
808
- formState: _tmagic_form_schema.FormState;
809
- initialized: _vue_reactivity.Ref<boolean, boolean>;
810
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
811
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
812
- resetForm: () => void;
813
- submitForm: (native?: boolean) => Promise<any>;
814
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
815
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
816
- error: (...args: any[]) => void;
817
- change: (...args: any[]) => void;
818
- "update:stepActive": (...args: any[]) => void;
819
- "field-change": (...args: any[]) => void;
820
- "field-input": (...args: any[]) => void;
821
- }, _vue_runtime_core.PublicProps, {
822
- disabled: boolean;
823
- labelWidth: string;
824
- inline: boolean;
825
- labelPosition: string;
826
- config: FormConfig;
827
- height: string;
828
- initValues: Record<string, any>;
829
- lastValues: Record<string, any>;
830
- isCompare: boolean;
831
- keyProp: string;
832
- parentValues: Record<string, any>;
833
- stepActive: string | number;
834
- }, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
835
- P: {};
836
- B: {};
837
- D: {};
838
- C: {};
839
- M: {};
840
- Defaults: {};
841
- }, Readonly<{
842
- config: FormConfig;
843
- initValues: Record<string, any>;
844
- lastValues?: Record<string, any>;
845
- isCompare?: boolean;
846
- parentValues?: Record<string, any>;
847
- labelWidth?: string;
848
- disabled?: boolean;
849
- height?: string;
850
- stepActive?: string | number;
851
- size?: "small" | "default" | "large";
852
- inline?: boolean;
853
- labelPosition?: string;
854
- keyProp?: string;
855
- popperClass?: string;
856
- preventSubmitDefault?: boolean;
857
- extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
858
- }> & Readonly<{
859
- onError?: ((...args: any[]) => any) | undefined;
860
- onChange?: ((...args: any[]) => any) | undefined;
861
- "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
862
- "onField-change"?: ((...args: any[]) => any) | undefined;
863
- "onField-input"?: ((...args: any[]) => any) | undefined;
864
- }>, {
865
- values: _vue_reactivity.Ref<FormValue, FormValue>;
866
- lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
867
- formState: _tmagic_form_schema.FormState;
868
- initialized: _vue_reactivity.Ref<boolean, boolean>;
869
- changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
870
- changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
871
- resetForm: () => void;
872
- submitForm: (native?: boolean) => Promise<any>;
873
- getTextByName: (name: string, config?: FormConfig) => string | undefined;
874
- }, {}, {}, {}, {
875
- disabled: boolean;
876
- labelWidth: string;
877
- inline: boolean;
878
- labelPosition: string;
879
- config: FormConfig;
880
- height: string;
881
- initValues: Record<string, any>;
882
- lastValues: Record<string, any>;
883
- isCompare: boolean;
884
- keyProp: string;
885
- parentValues: Record<string, any>;
886
- stepActive: string | number;
887
- }> | undefined>;
888
- saveFetch: _vue_reactivity.Ref<boolean, boolean>;
889
- show: () => void;
890
- hide: () => void;
891
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
892
- error: (e: any) => any;
893
- change: (v: any, eventData: ContainerChangeEventData) => any;
894
- submit: (v: any, eventData: ContainerChangeEventData) => any;
895
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
896
- onError?: ((e: any) => any) | undefined;
897
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
898
- onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
899
- }>, {
900
- values: Object;
901
- config: FormConfig;
902
- confirmText: string;
903
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
904
- declare const __VLS_export$s: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
905
- declare const _default$t: typeof __VLS_export$s;
906
-
907
- type __VLS_WithSlots$2<T, S> = T & {
908
- new (): {
909
- $slots: S;
910
- };
911
- };
912
-
913
- type __VLS_Props$q = {
914
- /** 表单值 */
915
- model: FormValue;
916
- /** 需对比的值(开启对比模式时传入) */
917
- lastValues?: FormValue;
918
- config: ChildConfig;
919
- prop?: string;
920
- disabled?: boolean;
680
+ declare const __VLS_base$2: _vue_runtime_core0.DefineComponent<__VLS_Props$27, {
681
+ form: _vue_reactivity0.Ref<_vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
682
+ config: schema_d_exports.FormConfig;
683
+ initValues: Record<string, any>;
684
+ lastValues?: Record<string, any>;
685
+ isCompare?: boolean;
686
+ parentValues?: Record<string, any>;
921
687
  labelWidth?: string;
922
- expandMore?: boolean;
688
+ disabled?: boolean;
689
+ height?: string;
923
690
  stepActive?: string | number;
924
- size?: string;
925
- /** 是否开启对比模式 */
926
- isCompare?: boolean;
927
- };
928
- declare const __VLS_export$r: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
929
- change: (v: any, eventData: ContainerChangeEventData) => any;
930
- addDiffCount: () => any;
931
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
932
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
933
- onAddDiffCount?: (() => any) | undefined;
934
- }>, {
935
- size: string;
936
- prop: string;
937
- lastValues: FormValue;
691
+ size?: "small" | "default" | "large";
692
+ inline?: boolean;
693
+ labelPosition?: string;
694
+ keyProp?: string;
695
+ popperClass?: string;
696
+ preventSubmitDefault?: boolean;
697
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
698
+ }> & Readonly<{
699
+ onError?: ((...args: any[]) => any) | undefined;
700
+ onChange?: ((...args: any[]) => any) | undefined;
701
+ "onField-input"?: ((...args: any[]) => any) | undefined;
702
+ "onField-change"?: ((...args: any[]) => any) | undefined;
703
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
704
+ }>, {
705
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
706
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
707
+ formState: _tmagic_form_schema0.FormState;
708
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
709
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
710
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
711
+ resetForm: () => void;
712
+ submitForm: (native?: boolean) => Promise<any>;
713
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
714
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
715
+ error: (...args: any[]) => void;
716
+ change: (...args: any[]) => void;
717
+ "field-input": (...args: any[]) => void;
718
+ "field-change": (...args: any[]) => void;
719
+ "update:stepActive": (...args: any[]) => void;
720
+ }, _vue_runtime_core0.PublicProps, {
721
+ disabled: boolean;
722
+ labelWidth: string;
723
+ inline: boolean;
724
+ labelPosition: string;
725
+ config: schema_d_exports.FormConfig;
726
+ height: string;
727
+ initValues: Record<string, any>;
728
+ lastValues: Record<string, any>;
938
729
  isCompare: boolean;
939
- expandMore: boolean;
940
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
941
- declare const _default$s: typeof __VLS_export$r;
942
-
943
- type __VLS_Props$p = {
944
- labelWidth?: string;
945
- prop: string;
946
- size?: string;
947
- model: Record<string, any>;
730
+ keyProp: string;
731
+ parentValues: Record<string, any>;
732
+ stepActive: string | number;
733
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
734
+ P: {};
735
+ B: {};
736
+ D: {};
737
+ C: {};
738
+ M: {};
739
+ Defaults: {};
740
+ }, Readonly<{
741
+ config: schema_d_exports.FormConfig;
742
+ initValues: Record<string, any>;
948
743
  lastValues?: Record<string, any>;
949
744
  isCompare?: boolean;
950
- config: FieldsetConfig;
951
- rules?: any;
745
+ parentValues?: Record<string, any>;
746
+ labelWidth?: string;
952
747
  disabled?: boolean;
953
- };
954
- declare const __VLS_export$q: _vue_runtime_core.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
955
- change: (v: any, eventData: ContainerChangeEventData) => any;
956
- addDiffCount: () => any;
957
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
958
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
959
- onAddDiffCount?: (() => any) | undefined;
960
- }>, {
961
- prop: string;
962
- rules: any;
748
+ height?: string;
749
+ stepActive?: string | number;
750
+ size?: "small" | "default" | "large";
751
+ inline?: boolean;
752
+ labelPosition?: string;
753
+ keyProp?: string;
754
+ popperClass?: string;
755
+ preventSubmitDefault?: boolean;
756
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
757
+ }> & Readonly<{
758
+ onError?: ((...args: any[]) => any) | undefined;
759
+ onChange?: ((...args: any[]) => any) | undefined;
760
+ "onField-input"?: ((...args: any[]) => any) | undefined;
761
+ "onField-change"?: ((...args: any[]) => any) | undefined;
762
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
763
+ }>, {
764
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
765
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
766
+ formState: _tmagic_form_schema0.FormState;
767
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
768
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
769
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
770
+ resetForm: () => void;
771
+ submitForm: (native?: boolean) => Promise<any>;
772
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
773
+ }, {}, {}, {}, {
774
+ disabled: boolean;
775
+ labelWidth: string;
776
+ inline: boolean;
777
+ labelPosition: string;
778
+ config: schema_d_exports.FormConfig;
779
+ height: string;
780
+ initValues: Record<string, any>;
963
781
  lastValues: Record<string, any>;
964
782
  isCompare: boolean;
965
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
966
- declare const _default$r: typeof __VLS_export$q;
967
-
968
- type __VLS_Props$o = {
969
- model: any;
970
- lastValues?: any;
783
+ keyProp: string;
784
+ parentValues: Record<string, any>;
785
+ stepActive: string | number;
786
+ }> | undefined, _vue_runtime_core0.CreateComponentPublicInstanceWithMixins<Readonly<{
787
+ config: schema_d_exports.FormConfig;
788
+ initValues: Record<string, any>;
789
+ lastValues?: Record<string, any>;
971
790
  isCompare?: boolean;
972
- config: FlexLayoutConfig;
973
- name?: string;
791
+ parentValues?: Record<string, any>;
974
792
  labelWidth?: string;
975
- prop?: string;
976
- size?: string;
977
793
  disabled?: boolean;
978
- };
979
- declare const __VLS_export$p: _vue_runtime_core.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
980
- change: (v: any, eventData: ContainerChangeEventData) => any;
981
- addDiffCount: () => any;
982
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
983
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
984
- onAddDiffCount?: (() => any) | undefined;
985
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
986
- declare const _default$q: typeof __VLS_export$p;
987
-
988
- type __VLS_Props$n = {
989
- model: any;
990
- lastValues?: any;
794
+ height?: string;
795
+ stepActive?: string | number;
796
+ size?: "small" | "default" | "large";
797
+ inline?: boolean;
798
+ labelPosition?: string;
799
+ keyProp?: string;
800
+ popperClass?: string;
801
+ preventSubmitDefault?: boolean;
802
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
803
+ }> & Readonly<{
804
+ onError?: ((...args: any[]) => any) | undefined;
805
+ onChange?: ((...args: any[]) => any) | undefined;
806
+ "onField-input"?: ((...args: any[]) => any) | undefined;
807
+ "onField-change"?: ((...args: any[]) => any) | undefined;
808
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
809
+ }>, {
810
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
811
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
812
+ formState: _tmagic_form_schema0.FormState;
813
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
814
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
815
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
816
+ resetForm: () => void;
817
+ submitForm: (native?: boolean) => Promise<any>;
818
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
819
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
820
+ error: (...args: any[]) => void;
821
+ change: (...args: any[]) => void;
822
+ "field-input": (...args: any[]) => void;
823
+ "field-change": (...args: any[]) => void;
824
+ "update:stepActive": (...args: any[]) => void;
825
+ }, _vue_runtime_core0.PublicProps, {
826
+ disabled: boolean;
827
+ labelWidth: string;
828
+ inline: boolean;
829
+ labelPosition: string;
830
+ config: schema_d_exports.FormConfig;
831
+ height: string;
832
+ initValues: Record<string, any>;
833
+ lastValues: Record<string, any>;
834
+ isCompare: boolean;
835
+ keyProp: string;
836
+ parentValues: Record<string, any>;
837
+ stepActive: string | number;
838
+ }, false, {}, {}, _vue_runtime_core0.GlobalComponents, _vue_runtime_core0.GlobalDirectives, string, {}, any, _vue_runtime_core0.ComponentProvideOptions, {
839
+ P: {};
840
+ B: {};
841
+ D: {};
842
+ C: {};
843
+ M: {};
844
+ Defaults: {};
845
+ }, Readonly<{
846
+ config: schema_d_exports.FormConfig;
847
+ initValues: Record<string, any>;
848
+ lastValues?: Record<string, any>;
991
849
  isCompare?: boolean;
992
- config: PanelConfig;
993
- name?: string;
850
+ parentValues?: Record<string, any>;
994
851
  labelWidth?: string;
995
- prop?: string;
996
- size?: string;
997
852
  disabled?: boolean;
853
+ height?: string;
854
+ stepActive?: string | number;
855
+ size?: "small" | "default" | "large";
856
+ inline?: boolean;
857
+ labelPosition?: string;
858
+ keyProp?: string;
859
+ popperClass?: string;
860
+ preventSubmitDefault?: boolean;
861
+ extendState?: (_state: _tmagic_form_schema0.FormState) => Record<string, any> | Promise<Record<string, any>>;
862
+ }> & Readonly<{
863
+ onError?: ((...args: any[]) => any) | undefined;
864
+ onChange?: ((...args: any[]) => any) | undefined;
865
+ "onField-input"?: ((...args: any[]) => any) | undefined;
866
+ "onField-change"?: ((...args: any[]) => any) | undefined;
867
+ "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
868
+ }>, {
869
+ values: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
870
+ lastValuesProcessed: _vue_reactivity0.Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
871
+ formState: _tmagic_form_schema0.FormState;
872
+ initialized: _vue_reactivity0.Ref<boolean, boolean>;
873
+ changeRecords: _vue_reactivity0.ShallowRef<_tmagic_editor0.ChangeRecord[], _tmagic_editor0.ChangeRecord[]>;
874
+ changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
875
+ resetForm: () => void;
876
+ submitForm: (native?: boolean) => Promise<any>;
877
+ getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
878
+ }, {}, {}, {}, {
879
+ disabled: boolean;
880
+ labelWidth: string;
881
+ inline: boolean;
882
+ labelPosition: string;
883
+ config: schema_d_exports.FormConfig;
884
+ height: string;
885
+ initValues: Record<string, any>;
886
+ lastValues: Record<string, any>;
887
+ isCompare: boolean;
888
+ keyProp: string;
889
+ parentValues: Record<string, any>;
890
+ stepActive: string | number;
891
+ }> | undefined>;
892
+ saveFetch: _vue_reactivity0.Ref<boolean, boolean>;
893
+ show: () => void;
894
+ hide: () => void;
895
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
896
+ error: (e: any) => any;
897
+ change: (v: any, eventData: ContainerChangeEventData) => any;
898
+ submit: (v: any, eventData: ContainerChangeEventData) => any;
899
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$27> & Readonly<{
900
+ onError?: ((e: any) => any) | undefined;
901
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
902
+ onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
903
+ }>, {
904
+ values: Object;
905
+ config: schema_d_exports.FormConfig;
906
+ confirmText: string;
907
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
908
+ declare const __VLS_export$28: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
909
+ declare const _default$13: typeof __VLS_export$28;
910
+ type __VLS_WithSlots$2<T, S> = T & {
911
+ new (): {
912
+ $slots: S;
913
+ };
914
+ };
915
+ //#endregion
916
+ //#region temp/packages/form/src/containers/Container.vue.d.ts
917
+ type __VLS_Props$26 = {
918
+ /** 表单值 */model: schema_d_exports.FormValue; /** 需对比的值(开启对比模式时传入) */
919
+ lastValues?: schema_d_exports.FormValue;
920
+ config: schema_d_exports.ChildConfig;
921
+ prop?: string;
922
+ disabled?: boolean;
923
+ labelWidth?: string;
924
+ expandMore?: boolean;
925
+ stepActive?: string | number;
926
+ size?: string; /** 是否开启对比模式 */
927
+ isCompare?: boolean;
928
+ };
929
+ declare const __VLS_export$27: _vue_runtime_core0.DefineComponent<__VLS_Props$26, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
930
+ change: (v: any, eventData: ContainerChangeEventData) => any;
931
+ addDiffCount: () => any;
932
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$26> & Readonly<{
933
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
934
+ onAddDiffCount?: (() => any) | undefined;
935
+ }>, {
936
+ size: string;
937
+ prop: string;
938
+ lastValues: schema_d_exports.FormValue;
939
+ isCompare: boolean;
940
+ expandMore: boolean;
941
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
942
+ declare const _default$4: typeof __VLS_export$27;
943
+ //#endregion
944
+ //#region temp/packages/form/src/containers/Fieldset.vue.d.ts
945
+ type __VLS_Props$25 = {
946
+ labelWidth?: string;
947
+ prop: string;
948
+ size?: string;
949
+ model: Record<string, any>;
950
+ lastValues?: Record<string, any>;
951
+ isCompare?: boolean;
952
+ config: schema_d_exports.FieldsetConfig;
953
+ rules?: any;
954
+ disabled?: boolean;
998
955
  };
999
- declare var __VLS_16: {};
1000
- declare var __VLS_18: {};
956
+ declare const __VLS_export$26: _vue_runtime_core0.DefineComponent<__VLS_Props$25, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
957
+ change: (v: any, eventData: ContainerChangeEventData) => any;
958
+ addDiffCount: () => any;
959
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$25> & Readonly<{
960
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
961
+ onAddDiffCount?: (() => any) | undefined;
962
+ }>, {
963
+ prop: string;
964
+ rules: any;
965
+ lastValues: Record<string, any>;
966
+ isCompare: boolean;
967
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
968
+ declare const _default$10: typeof __VLS_export$26;
969
+ //#endregion
970
+ //#region temp/packages/form/src/containers/FlexLayout.vue.d.ts
971
+ type __VLS_Props$24 = {
972
+ model: any;
973
+ lastValues?: any;
974
+ isCompare?: boolean;
975
+ config: FlexLayoutConfig;
976
+ name?: string;
977
+ labelWidth?: string;
978
+ prop?: string;
979
+ size?: string;
980
+ disabled?: boolean;
981
+ };
982
+ declare const __VLS_export$25: _vue_runtime_core0.DefineComponent<__VLS_Props$24, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
983
+ change: (v: any, eventData: ContainerChangeEventData) => any;
984
+ addDiffCount: () => any;
985
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$24> & Readonly<{
986
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
987
+ onAddDiffCount?: (() => any) | undefined;
988
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
989
+ declare const _default$11: typeof __VLS_export$25;
990
+ //#endregion
991
+ //#region temp/packages/form/src/containers/Panel.vue.d.ts
992
+ type __VLS_Props$23 = {
993
+ model: any;
994
+ lastValues?: any;
995
+ isCompare?: boolean;
996
+ config: schema_d_exports.PanelConfig;
997
+ name?: string;
998
+ labelWidth?: string;
999
+ prop?: string;
1000
+ size?: string;
1001
+ disabled?: boolean;
1002
+ };
1003
+ declare var __VLS_16: {}, __VLS_18: {};
1001
1004
  type __VLS_Slots$1 = {} & {
1002
- header?: (props: typeof __VLS_16) => any;
1005
+ header?: (props: typeof __VLS_16) => any;
1003
1006
  } & {
1004
- default?: (props: typeof __VLS_18) => any;
1007
+ default?: (props: typeof __VLS_18) => any;
1005
1008
  };
1006
- declare const __VLS_base$1: _vue_runtime_core.DefineComponent<__VLS_Props$n, {
1007
- getExpand: () => boolean;
1008
- setExpand: (v: boolean) => void;
1009
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1010
- change: (v: any, eventData: ContainerChangeEventData) => any;
1011
- addDiffCount: () => any;
1012
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
1013
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
1014
- onAddDiffCount?: (() => any) | undefined;
1015
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1016
- declare const __VLS_export$o: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
1017
- declare const _default$p: typeof __VLS_export$o;
1018
-
1009
+ declare const __VLS_base$1: _vue_runtime_core0.DefineComponent<__VLS_Props$23, {
1010
+ getExpand: () => boolean;
1011
+ setExpand: (v: boolean) => void;
1012
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1013
+ change: (v: any, eventData: ContainerChangeEventData) => any;
1014
+ addDiffCount: () => any;
1015
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$23> & Readonly<{
1016
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
1017
+ onAddDiffCount?: (() => any) | undefined;
1018
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1019
+ declare const __VLS_export$24: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
1020
+ declare const _default$21: typeof __VLS_export$24;
1019
1021
  type __VLS_WithSlots$1<T, S> = T & {
1020
- new (): {
1021
- $slots: S;
1022
- };
1022
+ new (): {
1023
+ $slots: S;
1024
+ };
1023
1025
  };
1024
-
1025
- type __VLS_Props$m = {
1026
- model: any;
1027
- lastValues?: any;
1028
- isCompare?: boolean;
1029
- config: RowConfig;
1030
- name: string;
1031
- labelWidth?: string;
1032
- prop?: string;
1033
- size?: string;
1034
- expandMore?: boolean;
1035
- disabled?: boolean;
1026
+ //#endregion
1027
+ //#region temp/packages/form/src/containers/Row.vue.d.ts
1028
+ type __VLS_Props$22 = {
1029
+ model: any;
1030
+ lastValues?: any;
1031
+ isCompare?: boolean;
1032
+ config: schema_d_exports.RowConfig;
1033
+ name: string;
1034
+ labelWidth?: string;
1035
+ prop?: string;
1036
+ size?: string;
1037
+ expandMore?: boolean;
1038
+ disabled?: boolean;
1036
1039
  };
1037
- declare const __VLS_export$n: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1038
- change: (v: any, eventData: ContainerChangeEventData) => any;
1039
- addDiffCount: () => any;
1040
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
1041
- onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
1042
- onAddDiffCount?: (() => any) | undefined;
1043
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1044
- declare const _default$o: typeof __VLS_export$n;
1045
-
1046
- type __VLS_Props$l = {
1047
- model: any;
1048
- lastValues?: any;
1049
- isCompare?: boolean;
1050
- config: TabConfig;
1051
- name: string;
1052
- size?: string;
1053
- labelWidth?: string;
1054
- prop?: string;
1055
- expandMore?: boolean;
1056
- disabled?: boolean;
1040
+ declare const __VLS_export$23: _vue_runtime_core0.DefineComponent<__VLS_Props$22, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1041
+ change: (v: any, eventData: ContainerChangeEventData) => any;
1042
+ addDiffCount: () => any;
1043
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$22> & Readonly<{
1044
+ onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
1045
+ onAddDiffCount?: (() => any) | undefined;
1046
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1047
+ declare const _default$23: typeof __VLS_export$23;
1048
+ //#endregion
1049
+ //#region temp/packages/form/src/containers/Tabs.vue.d.ts
1050
+ type __VLS_Props$21 = {
1051
+ model: any;
1052
+ lastValues?: any;
1053
+ isCompare?: boolean;
1054
+ config: schema_d_exports.TabConfig;
1055
+ name: string;
1056
+ size?: string;
1057
+ labelWidth?: string;
1058
+ prop?: string;
1059
+ expandMore?: boolean;
1060
+ disabled?: boolean;
1057
1061
  };
1058
- declare const __VLS_export$m: _vue_runtime_core.DefineComponent<__VLS_Props$l, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1059
- change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
1060
- addDiffCount: () => any;
1061
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
1062
- onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1063
- onAddDiffCount?: (() => any) | undefined;
1062
+ declare const __VLS_export$22: _vue_runtime_core0.DefineComponent<__VLS_Props$21, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1063
+ change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
1064
+ addDiffCount: () => any;
1065
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$21> & Readonly<{
1066
+ onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1067
+ onAddDiffCount?: (() => any) | undefined;
1064
1068
  }>, {
1065
- prop: string;
1066
- lastValues: any;
1067
- isCompare: boolean;
1068
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1069
- declare const _default$n: typeof __VLS_export$m;
1070
-
1069
+ prop: string;
1070
+ lastValues: any;
1071
+ isCompare: boolean;
1072
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1073
+ declare const _default$27: typeof __VLS_export$22;
1074
+ //#endregion
1075
+ //#region temp/packages/form/src/table/type.d.ts
1071
1076
  interface TableProps {
1072
- model: any;
1073
- lastValues?: any;
1074
- isCompare?: boolean;
1075
- config: TableConfig;
1076
- name: string;
1077
- prop?: string;
1078
- labelWidth?: string;
1079
- sort?: boolean;
1080
- disabled?: boolean;
1081
- sortKey?: string;
1082
- text?: string;
1083
- size?: string;
1084
- enableToggleMode?: boolean;
1085
- showIndex?: boolean;
1077
+ model: any;
1078
+ lastValues?: any;
1079
+ isCompare?: boolean;
1080
+ config: TableConfig;
1081
+ name: string;
1082
+ prop?: string;
1083
+ labelWidth?: string;
1084
+ sort?: boolean;
1085
+ disabled?: boolean;
1086
+ sortKey?: string;
1087
+ text?: string;
1088
+ size?: string;
1089
+ enableToggleMode?: boolean;
1090
+ showIndex?: boolean;
1086
1091
  }
1087
-
1088
- declare var __VLS_22: {};
1092
+ //#endregion
1093
+ //#region temp/packages/form/src/table/Table.vue.d.ts
1094
+ declare var __VLS_23: {};
1089
1095
  type __VLS_Slots = {} & {
1090
- default?: (props: typeof __VLS_22) => any;
1096
+ default?: (props: typeof __VLS_23) => any;
1091
1097
  };
1092
- declare const __VLS_base: _vue_runtime_core.DefineComponent<TableProps, {
1093
- toggleRowSelection: (row: any, selected: boolean) => void;
1094
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1095
- change: (...args: any[]) => void;
1096
- select: (...args: any[]) => void;
1097
- addDiffCount: (...args: any[]) => void;
1098
- }, string, _vue_runtime_core.PublicProps, Readonly<TableProps> & Readonly<{
1099
- onChange?: ((...args: any[]) => any) | undefined;
1100
- onSelect?: ((...args: any[]) => any) | undefined;
1101
- onAddDiffCount?: ((...args: any[]) => any) | undefined;
1098
+ declare const __VLS_base: _vue_runtime_core0.DefineComponent<TableProps, {
1099
+ toggleRowSelection: (row: any, selected: boolean) => void;
1100
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1101
+ change: (...args: any[]) => void;
1102
+ select: (...args: any[]) => void;
1103
+ addDiffCount: (...args: any[]) => void;
1104
+ }, string, _vue_runtime_core0.PublicProps, Readonly<TableProps> & Readonly<{
1105
+ onChange?: ((...args: any[]) => any) | undefined;
1106
+ onSelect?: ((...args: any[]) => any) | undefined;
1107
+ onAddDiffCount?: ((...args: any[]) => any) | undefined;
1102
1108
  }>, {
1103
- prop: string;
1104
- lastValues: any;
1105
- isCompare: boolean;
1106
- enableToggleMode: boolean;
1107
- showIndex: boolean;
1108
- sortKey: string;
1109
- }, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1110
- declare const __VLS_export$l: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1111
- declare const _default$m: typeof __VLS_export$l;
1112
-
1109
+ prop: string;
1110
+ lastValues: any;
1111
+ isCompare: boolean;
1112
+ enableToggleMode: boolean;
1113
+ showIndex: boolean;
1114
+ sortKey: string;
1115
+ }, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1116
+ declare const __VLS_export$21: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1117
+ declare const _default$26: typeof __VLS_export$21;
1113
1118
  type __VLS_WithSlots<T, S> = T & {
1114
- new (): {
1115
- $slots: S;
1116
- };
1119
+ new (): {
1120
+ $slots: S;
1121
+ };
1117
1122
  };
1118
-
1119
- type __VLS_Props$k = {
1120
- model: any;
1121
- lastValues?: any;
1122
- isCompare?: boolean;
1123
- config: GroupListConfig;
1124
- name: string;
1125
- labelWidth?: string;
1126
- prop?: string;
1127
- size?: string;
1128
- disabled?: boolean;
1123
+ //#endregion
1124
+ //#region temp/packages/form/src/containers/GroupList.vue.d.ts
1125
+ type __VLS_Props$20 = {
1126
+ model: any;
1127
+ lastValues?: any;
1128
+ isCompare?: boolean;
1129
+ config: schema_d_exports.GroupListConfig;
1130
+ name: string;
1131
+ labelWidth?: string;
1132
+ prop?: string;
1133
+ size?: string;
1134
+ disabled?: boolean;
1129
1135
  };
1130
- declare const __VLS_export$k: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1131
- change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
1132
- addDiffCount: () => any;
1133
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
1134
- onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1135
- onAddDiffCount?: (() => any) | undefined;
1136
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1137
- declare const _default$l: typeof __VLS_export$k;
1138
-
1139
- type __VLS_Props$j = FieldProps<TextConfig>;
1140
- declare const __VLS_export$j: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1141
- change: (value: string, eventData?: ContainerChangeEventData | undefined) => any;
1142
- input: (value: string) => any;
1143
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
1144
- onChange?: ((value: string, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1145
- onInput?: ((value: string) => any) | undefined;
1146
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1147
- declare const _default$k: typeof __VLS_export$j;
1148
-
1149
- type __VLS_Props$i = FieldProps<NumberConfig>;
1150
- declare const __VLS_export$i: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1151
- change: (values: number) => any;
1152
- input: (values: number) => any;
1153
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
1154
- onChange?: ((values: number) => any) | undefined;
1155
- onInput?: ((values: number) => any) | undefined;
1156
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1157
- declare const _default$j: typeof __VLS_export$i;
1158
-
1159
- type __VLS_Props$h = FieldProps<NumberRangeConfig>;
1160
- declare const __VLS_export$h: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1161
- change: (values: [number, number]) => any;
1162
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
1163
- onChange?: ((values: [number, number]) => any) | undefined;
1164
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1165
- declare const _default$i: typeof __VLS_export$h;
1166
-
1167
- type __VLS_Props$g = FieldProps<TextareaConfig>;
1168
- declare const __VLS_export$g: _vue_runtime_core.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1169
- change: (value: string) => any;
1170
- input: (value: string) => any;
1171
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
1172
- onChange?: ((value: string) => any) | undefined;
1173
- onInput?: ((value: string) => any) | undefined;
1174
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1175
- declare const _default$h: typeof __VLS_export$g;
1176
-
1177
- type __VLS_Props$f = FieldProps<HiddenConfig>;
1178
- declare const __VLS_export$f: _vue_runtime_core.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1179
- declare const _default$g: typeof __VLS_export$f;
1180
-
1181
- type __VLS_Props$e = FieldProps<DateConfig>;
1182
- declare const __VLS_export$e: _vue_runtime_core.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1183
- change: (value: string) => any;
1184
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
1185
- onChange?: ((value: string) => any) | undefined;
1186
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1187
- declare const _default$f: typeof __VLS_export$e;
1188
-
1189
- type __VLS_Props$d = FieldProps<DateTimeConfig>;
1190
- declare const __VLS_export$d: _vue_runtime_core.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1191
- change: (value: string) => any;
1192
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
1193
- onChange?: ((value: string) => any) | undefined;
1194
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1195
- declare const _default$e: typeof __VLS_export$d;
1196
-
1197
- type __VLS_Props$c = FieldProps<TimeConfig>;
1198
- declare const __VLS_export$c: _vue_runtime_core.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1199
- change: (value: string) => any;
1200
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
1201
- onChange?: ((value: string) => any) | undefined;
1202
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1203
- declare const _default$d: typeof __VLS_export$c;
1204
-
1205
- type __VLS_Props$b = FieldProps<CheckboxConfig>;
1206
- declare const __VLS_export$b: _vue_runtime_core.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1207
- change: (...args: any[]) => void;
1208
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
1209
- onChange?: ((...args: any[]) => any) | undefined;
1210
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1211
- declare const _default$c: typeof __VLS_export$b;
1212
-
1213
- type __VLS_Props$a = FieldProps<SwitchConfig>;
1214
- declare const __VLS_export$a: _vue_runtime_core.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1215
- change: (value: any) => any;
1216
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
1217
- onChange?: ((value: any) => any) | undefined;
1218
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1219
- declare const _default$b: typeof __VLS_export$a;
1220
-
1221
- type __VLS_Props$9 = FieldProps<DaterangeConfig>;
1222
- declare const __VLS_export$9: _vue_runtime_core.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1223
- change: (...args: any[]) => void;
1224
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
1225
- onChange?: ((...args: any[]) => any) | undefined;
1226
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1227
- declare const _default$a: typeof __VLS_export$9;
1228
-
1229
- type __VLS_Props$8 = FieldProps<DaterangeConfig>;
1230
- declare const __VLS_export$8: _vue_runtime_core.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1231
- change: (...args: any[]) => void;
1232
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
1233
- onChange?: ((...args: any[]) => any) | undefined;
1234
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1235
- declare const _default$9: typeof __VLS_export$8;
1236
-
1237
- type __VLS_Props$7 = FieldProps<ColorPickConfig>;
1238
- declare const __VLS_export$7: _vue_runtime_core.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1239
- change: (value: string) => any;
1240
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
1241
- onChange?: ((value: string) => any) | undefined;
1242
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1243
- declare const _default$8: typeof __VLS_export$7;
1244
-
1245
- type __VLS_Props$6 = FieldProps<CheckboxGroupConfig>;
1246
- declare const __VLS_export$6: _vue_runtime_core.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1247
- change: (...args: any[]) => void;
1248
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
1249
- onChange?: ((...args: any[]) => any) | undefined;
1250
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1251
- declare const _default$7: typeof __VLS_export$6;
1252
-
1253
- type __VLS_Props$5 = FieldProps<RadioGroupConfig>;
1254
- declare const __VLS_export$5: _vue_runtime_core.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1255
- change: (...args: any[]) => void;
1256
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
1257
- onChange?: ((...args: any[]) => any) | undefined;
1258
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1259
- declare const _default$6: typeof __VLS_export$5;
1260
-
1261
- type __VLS_Props$4 = FieldProps<DisplayConfig>;
1262
- declare const __VLS_export$4: _vue_runtime_core.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1263
- declare const _default$5: typeof __VLS_export$4;
1264
-
1265
- type __VLS_Props$3 = FieldProps<LinkConfig>;
1266
- declare const __VLS_export$3: _vue_runtime_core.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1267
- change: (...args: any[]) => void;
1268
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
1269
- onChange?: ((...args: any[]) => any) | undefined;
1270
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1271
- declare const _default$4: typeof __VLS_export$3;
1272
-
1273
- type __VLS_Props$2 = FieldProps<SelectConfig>;
1274
- declare const __VLS_export$2: _vue_runtime_core.DefineComponent<__VLS_Props$2, {
1275
- options: _vue_reactivity.Ref<{
1276
- text: string;
1277
- value: any;
1278
- disabled?: boolean | undefined;
1279
- }[] | {
1280
- label: string;
1281
- disabled: boolean;
1282
- options: {
1283
- label?: string | undefined;
1284
- text?: string | undefined;
1285
- value: any;
1286
- disabled?: boolean | undefined;
1287
- }[];
1288
- }[], SelectOption[] | SelectGroupOption[] | {
1289
- text: string;
1290
- value: any;
1291
- disabled?: boolean | undefined;
1292
- }[] | {
1293
- label: string;
1294
- disabled: boolean;
1295
- options: {
1296
- label?: string | undefined;
1297
- text?: string | undefined;
1298
- value: any;
1299
- disabled?: boolean | undefined;
1300
- }[];
1301
- }[]>;
1302
- setOptions: (data: SelectOption[] | SelectGroupOption[]) => void;
1303
- }, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1304
- change: (...args: any[]) => void;
1305
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
1306
- onChange?: ((...args: any[]) => any) | undefined;
1307
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1308
- declare const _default$3: typeof __VLS_export$2;
1309
-
1310
- type __VLS_Props$1 = FieldProps<CascaderConfig>;
1311
- declare const __VLS_export$1: _vue_runtime_core.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1312
- change: (...args: any[]) => void;
1313
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
1314
- onChange?: ((...args: any[]) => any) | undefined;
1315
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1316
- declare const _default$2: typeof __VLS_export$1;
1317
-
1318
- type __VLS_Props = FieldProps<DynamicFieldConfig>;
1319
- declare const __VLS_export: _vue_runtime_core.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
1320
- change: (...args: any[]) => void;
1321
- }, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
1322
- onChange?: ((...args: any[]) => any) | undefined;
1323
- }>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
1324
- declare const _default$1: typeof __VLS_export;
1325
-
1326
- declare const createForm: <T extends [] = []>(config: FormConfig | T) => FormConfig | T;
1136
+ declare const __VLS_export$20: _vue_runtime_core0.DefineComponent<__VLS_Props$20, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1137
+ change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
1138
+ addDiffCount: () => any;
1139
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$20> & Readonly<{
1140
+ onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1141
+ onAddDiffCount?: (() => any) | undefined;
1142
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1143
+ declare const _default$16: typeof __VLS_export$20;
1144
+ //#endregion
1145
+ //#region temp/packages/form/src/fields/Text.vue.d.ts
1146
+ type __VLS_Props$19 = schema_d_exports.FieldProps<schema_d_exports.TextConfig>;
1147
+ declare const __VLS_export$19: _vue_runtime_core0.DefineComponent<__VLS_Props$19, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1148
+ change: (value: string, eventData?: ContainerChangeEventData | undefined) => any;
1149
+ input: (value: string) => any;
1150
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$19> & Readonly<{
1151
+ onChange?: ((value: string, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
1152
+ onInput?: ((value: string) => any) | undefined;
1153
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1154
+ declare const _default$28: typeof __VLS_export$19;
1155
+ //#endregion
1156
+ //#region temp/packages/form/src/fields/Number.vue.d.ts
1157
+ type __VLS_Props$18 = schema_d_exports.FieldProps<schema_d_exports.NumberConfig>;
1158
+ declare const __VLS_export$18: _vue_runtime_core0.DefineComponent<__VLS_Props$18, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1159
+ change: (values: number) => any;
1160
+ input: (values: number) => any;
1161
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$18> & Readonly<{
1162
+ onChange?: ((values: number) => any) | undefined;
1163
+ onInput?: ((values: number) => any) | undefined;
1164
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1165
+ declare const _default$19: typeof __VLS_export$18;
1166
+ //#endregion
1167
+ //#region temp/packages/form/src/fields/NumberRange.vue.d.ts
1168
+ type __VLS_Props$17 = schema_d_exports.FieldProps<schema_d_exports.NumberRangeConfig>;
1169
+ declare const __VLS_export$17: _vue_runtime_core0.DefineComponent<__VLS_Props$17, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1170
+ change: (values: [number, number]) => any;
1171
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$17> & Readonly<{
1172
+ onChange?: ((values: [number, number]) => any) | undefined;
1173
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1174
+ declare const _default$20: typeof __VLS_export$17;
1175
+ //#endregion
1176
+ //#region temp/packages/form/src/fields/Textarea.vue.d.ts
1177
+ type __VLS_Props$16 = schema_d_exports.FieldProps<schema_d_exports.TextareaConfig>;
1178
+ declare const __VLS_export$16: _vue_runtime_core0.DefineComponent<__VLS_Props$16, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1179
+ change: (value: string) => any;
1180
+ input: (value: string) => any;
1181
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$16> & Readonly<{
1182
+ onChange?: ((value: string) => any) | undefined;
1183
+ onInput?: ((value: string) => any) | undefined;
1184
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1185
+ declare const _default$29: typeof __VLS_export$16;
1186
+ //#endregion
1187
+ //#region temp/packages/form/src/fields/Hidden.vue.d.ts
1188
+ type __VLS_Props$15 = {
1189
+ model: schema_d_exports.FormValue;
1190
+ name: string;
1191
+ prop: string;
1192
+ };
1193
+ declare const __VLS_export$15: _vue_runtime_core0.DefineComponent<__VLS_Props$15, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {}, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$15> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1194
+ declare const _default$17: typeof __VLS_export$15;
1195
+ //#endregion
1196
+ //#region temp/packages/form/src/fields/Date.vue.d.ts
1197
+ type __VLS_Props$14 = schema_d_exports.FieldProps<schema_d_exports.DateConfig>;
1198
+ declare const __VLS_export$14: _vue_runtime_core0.DefineComponent<__VLS_Props$14, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1199
+ change: (value: string) => any;
1200
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$14> & Readonly<{
1201
+ onChange?: ((value: string) => any) | undefined;
1202
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1203
+ declare const _default$5: typeof __VLS_export$14;
1204
+ //#endregion
1205
+ //#region temp/packages/form/src/fields/DateTime.vue.d.ts
1206
+ type __VLS_Props$13 = schema_d_exports.FieldProps<schema_d_exports.DateTimeConfig>;
1207
+ declare const __VLS_export$13: _vue_runtime_core0.DefineComponent<__VLS_Props$13, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1208
+ change: (value: string) => any;
1209
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$13> & Readonly<{
1210
+ onChange?: ((value: string) => any) | undefined;
1211
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1212
+ declare const _default$6: typeof __VLS_export$13;
1213
+ //#endregion
1214
+ //#region temp/packages/form/src/fields/Time.vue.d.ts
1215
+ type __VLS_Props$12 = schema_d_exports.FieldProps<schema_d_exports.TimeConfig>;
1216
+ declare const __VLS_export$12: _vue_runtime_core0.DefineComponent<__VLS_Props$12, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1217
+ change: (value: string) => any;
1218
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$12> & Readonly<{
1219
+ onChange?: ((value: string) => any) | undefined;
1220
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1221
+ declare const _default$30: typeof __VLS_export$12;
1222
+ //#endregion
1223
+ //#region temp/packages/form/src/fields/Checkbox.vue.d.ts
1224
+ type __VLS_Props$11 = schema_d_exports.FieldProps<schema_d_exports.CheckboxConfig>;
1225
+ declare const __VLS_export$11: _vue_runtime_core0.DefineComponent<__VLS_Props$11, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1226
+ change: (...args: any[]) => void;
1227
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$11> & Readonly<{
1228
+ onChange?: ((...args: any[]) => any) | undefined;
1229
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1230
+ declare const _default$1: typeof __VLS_export$11;
1231
+ //#endregion
1232
+ //#region temp/packages/form/src/fields/Switch.vue.d.ts
1233
+ type __VLS_Props$10 = schema_d_exports.FieldProps<schema_d_exports.SwitchConfig>;
1234
+ declare const __VLS_export$10: _vue_runtime_core0.DefineComponent<__VLS_Props$10, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1235
+ change: (value: any) => any;
1236
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$10> & Readonly<{
1237
+ onChange?: ((value: any) => any) | undefined;
1238
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1239
+ declare const _default$25: typeof __VLS_export$10;
1240
+ //#endregion
1241
+ //#region temp/packages/form/src/fields/Daterange.vue.d.ts
1242
+ type __VLS_Props$9 = schema_d_exports.FieldProps<schema_d_exports.DaterangeConfig>;
1243
+ declare const __VLS_export$9: _vue_runtime_core0.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1244
+ change: (...args: any[]) => void;
1245
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
1246
+ onChange?: ((...args: any[]) => any) | undefined;
1247
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1248
+ declare const _default$7: typeof __VLS_export$9;
1249
+ //#endregion
1250
+ //#region temp/packages/form/src/fields/Timerange.vue.d.ts
1251
+ type __VLS_Props$8 = schema_d_exports.FieldProps<schema_d_exports.DaterangeConfig>;
1252
+ declare const __VLS_export$8: _vue_runtime_core0.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1253
+ change: (...args: any[]) => void;
1254
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
1255
+ onChange?: ((...args: any[]) => any) | undefined;
1256
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1257
+ declare const _default$31: typeof __VLS_export$8;
1258
+ //#endregion
1259
+ //#region temp/packages/form/src/fields/ColorPicker.vue.d.ts
1260
+ type __VLS_Props$7 = schema_d_exports.FieldProps<schema_d_exports.ColorPickConfig>;
1261
+ declare const __VLS_export$7: _vue_runtime_core0.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1262
+ change: (value: string) => any;
1263
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
1264
+ onChange?: ((value: string) => any) | undefined;
1265
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1266
+ declare const _default$3: typeof __VLS_export$7;
1267
+ //#endregion
1268
+ //#region temp/packages/form/src/fields/CheckboxGroup.vue.d.ts
1269
+ type __VLS_Props$6 = schema_d_exports.FieldProps<schema_d_exports.CheckboxGroupConfig>;
1270
+ declare const __VLS_export$6: _vue_runtime_core0.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1271
+ change: (...args: any[]) => void;
1272
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
1273
+ onChange?: ((...args: any[]) => any) | undefined;
1274
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1275
+ declare const _default$2: typeof __VLS_export$6;
1276
+ //#endregion
1277
+ //#region temp/packages/form/src/fields/RadioGroup.vue.d.ts
1278
+ type __VLS_Props$5 = schema_d_exports.FieldProps<schema_d_exports.RadioGroupConfig>;
1279
+ declare const __VLS_export$5: _vue_runtime_core0.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1280
+ change: (...args: any[]) => void;
1281
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
1282
+ onChange?: ((...args: any[]) => any) | undefined;
1283
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1284
+ declare const _default$22: typeof __VLS_export$5;
1285
+ //#endregion
1286
+ //#region temp/packages/form/src/fields/Display.vue.d.ts
1287
+ type __VLS_Props$4 = schema_d_exports.FieldProps<schema_d_exports.DisplayConfig>;
1288
+ declare const __VLS_export$4: _vue_runtime_core0.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {}, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1289
+ declare const _default$8: typeof __VLS_export$4;
1290
+ //#endregion
1291
+ //#region temp/packages/form/src/fields/Link.vue.d.ts
1292
+ type __VLS_Props$3 = schema_d_exports.FieldProps<schema_d_exports.LinkConfig>;
1293
+ declare const __VLS_export$3: _vue_runtime_core0.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1294
+ change: (...args: any[]) => void;
1295
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
1296
+ onChange?: ((...args: any[]) => any) | undefined;
1297
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1298
+ declare const _default$18: typeof __VLS_export$3;
1299
+ //#endregion
1300
+ //#region temp/packages/form/src/fields/Select.vue.d.ts
1301
+ type __VLS_Props$2 = schema_d_exports.FieldProps<schema_d_exports.SelectConfig>;
1302
+ declare const __VLS_export$2: _vue_runtime_core0.DefineComponent<__VLS_Props$2, {
1303
+ options: _vue_reactivity0.Ref<{
1304
+ text: string;
1305
+ value: any;
1306
+ disabled?: boolean | undefined;
1307
+ }[] | {
1308
+ label: string;
1309
+ disabled: boolean;
1310
+ options: {
1311
+ label?: string | undefined;
1312
+ text?: string | undefined;
1313
+ value: any;
1314
+ disabled?: boolean | undefined;
1315
+ }[];
1316
+ }[], schema_d_exports.SelectOption[] | schema_d_exports.SelectGroupOption[] | {
1317
+ text: string;
1318
+ value: any;
1319
+ disabled?: boolean | undefined;
1320
+ }[] | {
1321
+ label: string;
1322
+ disabled: boolean;
1323
+ options: {
1324
+ label?: string | undefined;
1325
+ text?: string | undefined;
1326
+ value: any;
1327
+ disabled?: boolean | undefined;
1328
+ }[];
1329
+ }[]>;
1330
+ setOptions: (data: schema_d_exports.SelectOption[] | schema_d_exports.SelectGroupOption[]) => void;
1331
+ }, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1332
+ change: (...args: any[]) => void;
1333
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
1334
+ onChange?: ((...args: any[]) => any) | undefined;
1335
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1336
+ declare const _default$24: typeof __VLS_export$2;
1337
+ //#endregion
1338
+ //#region temp/packages/form/src/fields/Cascader.vue.d.ts
1339
+ type __VLS_Props$1 = schema_d_exports.FieldProps<schema_d_exports.CascaderConfig>;
1340
+ declare const __VLS_export$1: _vue_runtime_core0.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1341
+ change: (...args: any[]) => void;
1342
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
1343
+ onChange?: ((...args: any[]) => any) | undefined;
1344
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1345
+ declare const _default: typeof __VLS_export$1;
1346
+ //#endregion
1347
+ //#region temp/packages/form/src/fields/DynamicField.vue.d.ts
1348
+ type __VLS_Props = schema_d_exports.FieldProps<schema_d_exports.DynamicFieldConfig>;
1349
+ declare const __VLS_export: _vue_runtime_core0.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core0.ComponentOptionsMixin, _vue_runtime_core0.ComponentOptionsMixin, {
1350
+ change: (...args: any[]) => void;
1351
+ }, string, _vue_runtime_core0.PublicProps, Readonly<__VLS_Props> & Readonly<{
1352
+ onChange?: ((...args: any[]) => any) | undefined;
1353
+ }>, {}, {}, {}, {}, string, _vue_runtime_core0.ComponentProvideOptions, false, {}, any>;
1354
+ declare const _default$9: typeof __VLS_export;
1355
+ //#endregion
1356
+ //#region temp/packages/form/src/utils/config.d.ts
1357
+ declare const registerField: (tagName: string, component: Component) => void;
1358
+ declare const getField: (tagName: string) => Component | undefined;
1359
+ declare const deleteField: (tagName: string) => boolean;
1360
+ //#endregion
1361
+ //#region temp/packages/form/src/plugin.d.ts
1327
1362
  interface FormInstallOptions {
1328
- [key: string]: any;
1363
+ [key: string]: any;
1329
1364
  }
1330
- declare const _default: {
1331
- install(app: App, opt?: FormInstallOptions): void;
1365
+ declare const _default$32: {
1366
+ install(app: App, opt?: FormInstallOptions): void;
1332
1367
  };
1333
-
1334
- export { _default$2 as MCascader, _default$c as MCheckbox, _default$7 as MCheckboxGroup, _default$8 as MColorPicker, _default$s as MContainer, _default$f as MDate, _default$e as MDateTime, _default$a as MDaterange, _default$5 as MDisplay, _default$1 as MDynamicField, _default$r as MFieldset, _default$q as MFlexLayout, _default$w as MForm, _default$t as MFormBox, _default$v as MFormDialog, _default$u as MFormDrawer, _default$l as MGroupList, _default$g as MHidden, _default$4 as MLink, _default$j as MNumber, _default$i as MNumberRange, _default$p as MPanel, _default$6 as MRadioGroup, _default$o as MRow, _default$3 as MSelect, _default$b as MSwitch, _default$m as MTable, _default$n as MTabs, _default$k as MText, _default$h as MTextarea, _default$d as MTime, _default$9 as MTimerange, createForm, createObjectProp, createValues, datetimeFormatter, _default as default, display, filterFunction, getDataByPage, getRules, initValue, sortArray, sortChange, useAddField };
1335
- export type { ChangeRecord, ContainerChangeEventData, FormInstallOptions, ValidateError };
1368
+ declare namespace index_d_exports {
1369
+ export { ChangeRecord, ContainerChangeEventData, FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$26 as MTable, _default$27 as MTabs, _default$28 as MText, _default$29 as MTextarea, _default$30 as MTime, _default$31 as MTimerange, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$32 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, useAddField };
1370
+ }
1371
+ declare const createForm: <T extends [] = []>(config: schema_d_exports.FormConfig | T) => schema_d_exports.FormConfig | T;
1372
+ //#endregion
1373
+ export { ChangeRecord, ContainerChangeEventData, type FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$26 as MTable, _default$27 as MTabs, _default$28 as MText, _default$29 as MTextarea, _default$30 as MTime, _default$31 as MTimerange, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$32 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, useAddField };