@tmagic/form 1.8.0-manmanyu.12 → 1.8.0-manmanyu.13

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.
@@ -35,10 +35,6 @@ var Form_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
35
35
  keyProp: { default: "__key" },
36
36
  popperClass: {},
37
37
  preventSubmitDefault: { type: Boolean },
38
- useFieldTextInError: {
39
- type: Boolean,
40
- default: true
41
- },
42
38
  extendState: {},
43
39
  showDiff: {},
44
40
  selfDiffFieldTypes: {},
@@ -283,7 +279,7 @@ var Form_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompo
283
279
  Object.entries(invalidFields).forEach(([prop, ValidateError]) => {
284
280
  ValidateError.forEach(({ field, message }) => {
285
281
  const name = field || prop;
286
- const text = (props.useFieldTextInError ? getTextByName(name, props.config) : void 0) || name;
282
+ const text = getTextByName(name, props.config) || name;
287
283
  error.push(`${text} -> ${message}`);
288
284
  });
289
285
  });
@@ -19,10 +19,6 @@ var FormBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
19
19
  inline: { type: Boolean },
20
20
  labelPosition: {},
21
21
  preventSubmitDefault: { type: Boolean },
22
- useFieldTextInError: {
23
- type: Boolean,
24
- default: true
25
- },
26
22
  extendState: {}
27
23
  },
28
24
  emits: [
@@ -85,7 +81,6 @@ var FormBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
85
81
  "label-position": __props.labelPosition,
86
82
  inline: __props.inline,
87
83
  "prevent-submit-default": __props.preventSubmitDefault,
88
- "use-field-text-in-error": __props.useFieldTextInError,
89
84
  "extend-state": __props.extendState,
90
85
  onChange: changeHandler
91
86
  }, null, 8, [
@@ -98,7 +93,6 @@ var FormBox_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
98
93
  "label-position",
99
94
  "inline",
100
95
  "prevent-submit-default",
101
- "use-field-text-in-error",
102
96
  "extend-state"
103
97
  ]), renderSlot(_ctx.$slots, "default")]),
104
98
  _: 3
@@ -41,10 +41,6 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
41
41
  type: Boolean,
42
42
  default: true
43
43
  },
44
- useFieldTextInError: {
45
- type: Boolean,
46
- default: true
47
- },
48
44
  extendState: {},
49
45
  theme: {}
50
46
  },
@@ -199,7 +195,6 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
199
195
  "label-position": __props.labelPosition,
200
196
  inline: __props.inline,
201
197
  "prevent-submit-default": __props.preventSubmitDefault,
202
- "use-field-text-in-error": __props.useFieldTextInError,
203
198
  "extend-state": __props.extendState,
204
199
  theme: effectiveTheme.value,
205
200
  onChange: changeHandler
@@ -214,7 +209,6 @@ var FormDialog_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
214
209
  "label-position",
215
210
  "inline",
216
211
  "prevent-submit-default",
217
- "use-field-text-in-error",
218
212
  "extend-state",
219
213
  "theme"
220
214
  ]), renderSlot(_ctx.$slots, "default")], 4)) : createCommentVNode("v-if", true)]),
@@ -24,10 +24,6 @@ var FormDrawer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
24
24
  inline: { type: Boolean },
25
25
  labelPosition: {},
26
26
  preventSubmitDefault: { type: Boolean },
27
- useFieldTextInError: {
28
- type: Boolean,
29
- default: true
30
- },
31
27
  beforeClose: {},
32
28
  extendState: {},
33
29
  theme: {}
@@ -175,7 +171,6 @@ var FormDrawer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
175
171
  "label-position": __props.labelPosition,
176
172
  inline: __props.inline,
177
173
  "prevent-submit-default": __props.preventSubmitDefault,
178
- "use-field-text-in-error": __props.useFieldTextInError,
179
174
  "extend-state": __props.extendState,
180
175
  theme: effectiveTheme.value,
181
176
  onChange: changeHandler
@@ -189,7 +184,6 @@ var FormDrawer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defin
189
184
  "label-position",
190
185
  "inline",
191
186
  "prevent-submit-default",
192
- "use-field-text-in-error",
193
187
  "extend-state",
194
188
  "theme"
195
189
  ]), renderSlot(_ctx.$slots, "default")], 512)) : createCommentVNode("v-if", true)]),
@@ -28,20 +28,13 @@ import { createApp, defineComponent, h, nextTick, ref, watch } from "vue";
28
28
  * initValues: { name: 'foo' },
29
29
  * returnChangeRecords: true,
30
30
  * });
31
- *
32
- * // 调试模式:可见地渲染表单,点击「确定」才提交:
33
- * const values = await submitForm({
34
- * config: [...],
35
- * initValues: { name: 'foo' },
36
- * debug: true,
37
- * });
38
31
  * ```
39
32
  */
40
33
  var submitForm = (options) => {
41
- const { native, appContext, timeout = 1e4, returnChangeRecords, debug = false, ...formProps } = options;
34
+ const { native, appContext, timeout = 1e4, returnChangeRecords, ...formProps } = options;
42
35
  return new Promise((resolve, reject) => {
43
36
  const container = document.createElement("div");
44
- if (!debug) container.style.display = "none";
37
+ container.style.display = "none";
45
38
  document.body.appendChild(container);
46
39
  let cleaned = false;
47
40
  let timer = null;
@@ -49,106 +42,22 @@ var submitForm = (options) => {
49
42
  name: "MFormSubmitWrapper",
50
43
  setup() {
51
44
  const formRef = ref(null);
52
- const errorMsg = ref("");
53
- const doSubmit = async () => {
45
+ const stop = watch(() => formRef.value?.initialized, async (initialized) => {
46
+ if (!initialized) return;
47
+ stop();
54
48
  try {
55
49
  await nextTick();
56
- const changeRecords = [...formRef.value?.changeRecords ?? []];
50
+ const changeRecords = [...formRef.value.changeRecords ?? []];
57
51
  const result = await formRef.value.submitForm(native);
58
52
  resolve(returnChangeRecords ? {
59
53
  values: result,
60
54
  changeRecords
61
55
  } : result);
62
- cleanup();
63
56
  } catch (err) {
64
- if (debug) {
65
- errorMsg.value = err instanceof Error ? err.message : String(err);
66
- return;
67
- }
68
57
  reject(err);
58
+ } finally {
69
59
  cleanup();
70
60
  }
71
- };
72
- if (debug) {
73
- const handleCancel = () => {
74
- reject(/* @__PURE__ */ new Error("submitForm canceled in debug mode."));
75
- cleanup();
76
- };
77
- const btnBase = {
78
- padding: "8px 20px",
79
- fontSize: "14px",
80
- lineHeight: "1",
81
- border: "1px solid #dcdfe6",
82
- borderRadius: "4px",
83
- cursor: "pointer"
84
- };
85
- return () => h("div", { style: {
86
- position: "fixed",
87
- inset: "0",
88
- zIndex: "10000",
89
- display: "flex",
90
- alignItems: "center",
91
- justifyContent: "center",
92
- background: "rgba(0, 0, 0, 0.5)"
93
- } }, [h("div", { style: {
94
- display: "flex",
95
- flexDirection: "column",
96
- width: "600px",
97
- maxWidth: "90vw",
98
- maxHeight: "85vh",
99
- background: "#fff",
100
- borderRadius: "8px",
101
- boxShadow: "0 8px 24px rgba(0, 0, 0, 0.2)",
102
- overflow: "hidden"
103
- } }, [
104
- h("div", { style: {
105
- padding: "16px 20px",
106
- fontSize: "16px",
107
- fontWeight: "600",
108
- borderBottom: "1px solid #ebeef5"
109
- } }, "submitForm 调试"),
110
- h("div", { style: {
111
- flex: "1",
112
- padding: "20px",
113
- overflow: "auto"
114
- } }, [h(Form_default, {
115
- ...formProps,
116
- ref: formRef
117
- }), errorMsg.value ? h("div", {
118
- style: {
119
- marginTop: "12px",
120
- color: "#f56c6c",
121
- fontSize: "13px",
122
- lineHeight: "1.5"
123
- },
124
- innerHTML: errorMsg.value
125
- }) : null]),
126
- h("div", { style: {
127
- display: "flex",
128
- justifyContent: "flex-end",
129
- gap: "12px",
130
- padding: "12px 20px",
131
- borderTop: "1px solid #ebeef5"
132
- } }, [h("button", {
133
- type: "button",
134
- onClick: handleCancel,
135
- style: { ...btnBase }
136
- }, "取消"), h("button", {
137
- type: "button",
138
- onClick: doSubmit,
139
- style: {
140
- ...btnBase,
141
- color: "#fff",
142
- background: "#409eff",
143
- borderColor: "#409eff"
144
- }
145
- }, "确定")])
146
- ])]);
147
- }
148
- const stop = watch(() => formRef.value?.initialized, (initialized) => {
149
- if (!initialized) return;
150
- stop();
151
- doSubmit();
152
61
  }, {
153
62
  flush: "post",
154
63
  immediate: true
@@ -172,7 +81,7 @@ var submitForm = (options) => {
172
81
  } catch {}
173
82
  container.parentNode?.removeChild(container);
174
83
  };
175
- if (timeout > 0 && !debug) timer = setTimeout(() => {
84
+ if (timeout > 0) timer = setTimeout(() => {
176
85
  if (!cleaned) {
177
86
  reject(/* @__PURE__ */ new Error(`submitForm timeout after ${timeout}ms: form is not initialized.`));
178
87
  cleanup();
@@ -3465,10 +3465,6 @@
3465
3465
  keyProp: { default: "__key" },
3466
3466
  popperClass: {},
3467
3467
  preventSubmitDefault: { type: Boolean },
3468
- useFieldTextInError: {
3469
- type: Boolean,
3470
- default: true
3471
- },
3472
3468
  extendState: {},
3473
3469
  showDiff: {},
3474
3470
  selfDiffFieldTypes: {},
@@ -3713,7 +3709,7 @@
3713
3709
  Object.entries(invalidFields).forEach(([prop, ValidateError]) => {
3714
3710
  ValidateError.forEach(({ field, message }) => {
3715
3711
  const name = field || prop;
3716
- const text = (props.useFieldTextInError ? getTextByName(name, props.config) : void 0) || name;
3712
+ const text = getTextByName(name, props.config) || name;
3717
3713
  error.push(`${text} -> ${message}`);
3718
3714
  });
3719
3715
  });
@@ -3805,20 +3801,13 @@
3805
3801
  * initValues: { name: 'foo' },
3806
3802
  * returnChangeRecords: true,
3807
3803
  * });
3808
- *
3809
- * // 调试模式:可见地渲染表单,点击「确定」才提交:
3810
- * const values = await submitForm({
3811
- * config: [...],
3812
- * initValues: { name: 'foo' },
3813
- * debug: true,
3814
- * });
3815
3804
  * ```
3816
3805
  */
3817
3806
  var submitForm = (options) => {
3818
- const { native, appContext, timeout = 1e4, returnChangeRecords, debug = false, ...formProps } = options;
3807
+ const { native, appContext, timeout = 1e4, returnChangeRecords, ...formProps } = options;
3819
3808
  return new Promise((resolve, reject) => {
3820
3809
  const container = document.createElement("div");
3821
- if (!debug) container.style.display = "none";
3810
+ container.style.display = "none";
3822
3811
  document.body.appendChild(container);
3823
3812
  let cleaned = false;
3824
3813
  let timer = null;
@@ -3826,106 +3815,22 @@
3826
3815
  name: "MFormSubmitWrapper",
3827
3816
  setup() {
3828
3817
  const formRef = (0, vue.ref)(null);
3829
- const errorMsg = (0, vue.ref)("");
3830
- const doSubmit = async () => {
3818
+ const stop = (0, vue.watch)(() => formRef.value?.initialized, async (initialized) => {
3819
+ if (!initialized) return;
3820
+ stop();
3831
3821
  try {
3832
3822
  await (0, vue.nextTick)();
3833
- const changeRecords = [...formRef.value?.changeRecords ?? []];
3823
+ const changeRecords = [...formRef.value.changeRecords ?? []];
3834
3824
  const result = await formRef.value.submitForm(native);
3835
3825
  resolve(returnChangeRecords ? {
3836
3826
  values: result,
3837
3827
  changeRecords
3838
3828
  } : result);
3839
- cleanup();
3840
3829
  } catch (err) {
3841
- if (debug) {
3842
- errorMsg.value = err instanceof Error ? err.message : String(err);
3843
- return;
3844
- }
3845
3830
  reject(err);
3831
+ } finally {
3846
3832
  cleanup();
3847
3833
  }
3848
- };
3849
- if (debug) {
3850
- const handleCancel = () => {
3851
- reject(/* @__PURE__ */ new Error("submitForm canceled in debug mode."));
3852
- cleanup();
3853
- };
3854
- const btnBase = {
3855
- padding: "8px 20px",
3856
- fontSize: "14px",
3857
- lineHeight: "1",
3858
- border: "1px solid #dcdfe6",
3859
- borderRadius: "4px",
3860
- cursor: "pointer"
3861
- };
3862
- return () => (0, vue.h)("div", { style: {
3863
- position: "fixed",
3864
- inset: "0",
3865
- zIndex: "10000",
3866
- display: "flex",
3867
- alignItems: "center",
3868
- justifyContent: "center",
3869
- background: "rgba(0, 0, 0, 0.5)"
3870
- } }, [(0, vue.h)("div", { style: {
3871
- display: "flex",
3872
- flexDirection: "column",
3873
- width: "600px",
3874
- maxWidth: "90vw",
3875
- maxHeight: "85vh",
3876
- background: "#fff",
3877
- borderRadius: "8px",
3878
- boxShadow: "0 8px 24px rgba(0, 0, 0, 0.2)",
3879
- overflow: "hidden"
3880
- } }, [
3881
- (0, vue.h)("div", { style: {
3882
- padding: "16px 20px",
3883
- fontSize: "16px",
3884
- fontWeight: "600",
3885
- borderBottom: "1px solid #ebeef5"
3886
- } }, "submitForm 调试"),
3887
- (0, vue.h)("div", { style: {
3888
- flex: "1",
3889
- padding: "20px",
3890
- overflow: "auto"
3891
- } }, [(0, vue.h)(Form_default, {
3892
- ...formProps,
3893
- ref: formRef
3894
- }), errorMsg.value ? (0, vue.h)("div", {
3895
- style: {
3896
- marginTop: "12px",
3897
- color: "#f56c6c",
3898
- fontSize: "13px",
3899
- lineHeight: "1.5"
3900
- },
3901
- innerHTML: errorMsg.value
3902
- }) : null]),
3903
- (0, vue.h)("div", { style: {
3904
- display: "flex",
3905
- justifyContent: "flex-end",
3906
- gap: "12px",
3907
- padding: "12px 20px",
3908
- borderTop: "1px solid #ebeef5"
3909
- } }, [(0, vue.h)("button", {
3910
- type: "button",
3911
- onClick: handleCancel,
3912
- style: { ...btnBase }
3913
- }, "取消"), (0, vue.h)("button", {
3914
- type: "button",
3915
- onClick: doSubmit,
3916
- style: {
3917
- ...btnBase,
3918
- color: "#fff",
3919
- background: "#409eff",
3920
- borderColor: "#409eff"
3921
- }
3922
- }, "确定")])
3923
- ])]);
3924
- }
3925
- const stop = (0, vue.watch)(() => formRef.value?.initialized, (initialized) => {
3926
- if (!initialized) return;
3927
- stop();
3928
- doSubmit();
3929
3834
  }, {
3930
3835
  flush: "post",
3931
3836
  immediate: true
@@ -3949,7 +3854,7 @@
3949
3854
  } catch {}
3950
3855
  container.parentNode?.removeChild(container);
3951
3856
  };
3952
- if (timeout > 0 && !debug) timer = setTimeout(() => {
3857
+ if (timeout > 0) timer = setTimeout(() => {
3953
3858
  if (!cleaned) {
3954
3859
  reject(/* @__PURE__ */ new Error(`submitForm timeout after ${timeout}ms: form is not initialized.`));
3955
3860
  cleanup();
@@ -4006,10 +3911,6 @@
4006
3911
  type: Boolean,
4007
3912
  default: true
4008
3913
  },
4009
- useFieldTextInError: {
4010
- type: Boolean,
4011
- default: true
4012
- },
4013
3914
  extendState: {},
4014
3915
  theme: {}
4015
3916
  },
@@ -4164,7 +4065,6 @@
4164
4065
  "label-position": __props.labelPosition,
4165
4066
  inline: __props.inline,
4166
4067
  "prevent-submit-default": __props.preventSubmitDefault,
4167
- "use-field-text-in-error": __props.useFieldTextInError,
4168
4068
  "extend-state": __props.extendState,
4169
4069
  theme: effectiveTheme.value,
4170
4070
  onChange: changeHandler
@@ -4179,7 +4079,6 @@
4179
4079
  "label-position",
4180
4080
  "inline",
4181
4081
  "prevent-submit-default",
4182
- "use-field-text-in-error",
4183
4082
  "extend-state",
4184
4083
  "theme"
4185
4084
  ]), (0, vue.renderSlot)(_ctx.$slots, "default")], 4)) : (0, vue.createCommentVNode)("v-if", true)]),
@@ -4225,10 +4124,6 @@
4225
4124
  inline: { type: Boolean },
4226
4125
  labelPosition: {},
4227
4126
  preventSubmitDefault: { type: Boolean },
4228
- useFieldTextInError: {
4229
- type: Boolean,
4230
- default: true
4231
- },
4232
4127
  beforeClose: {},
4233
4128
  extendState: {},
4234
4129
  theme: {}
@@ -4376,7 +4271,6 @@
4376
4271
  "label-position": __props.labelPosition,
4377
4272
  inline: __props.inline,
4378
4273
  "prevent-submit-default": __props.preventSubmitDefault,
4379
- "use-field-text-in-error": __props.useFieldTextInError,
4380
4274
  "extend-state": __props.extendState,
4381
4275
  theme: effectiveTheme.value,
4382
4276
  onChange: changeHandler
@@ -4390,7 +4284,6 @@
4390
4284
  "label-position",
4391
4285
  "inline",
4392
4286
  "prevent-submit-default",
4393
- "use-field-text-in-error",
4394
4287
  "extend-state",
4395
4288
  "theme"
4396
4289
  ]), (0, vue.renderSlot)(_ctx.$slots, "default")], 512)) : (0, vue.createCommentVNode)("v-if", true)]),
@@ -4428,10 +4321,6 @@
4428
4321
  inline: { type: Boolean },
4429
4322
  labelPosition: {},
4430
4323
  preventSubmitDefault: { type: Boolean },
4431
- useFieldTextInError: {
4432
- type: Boolean,
4433
- default: true
4434
- },
4435
4324
  extendState: {}
4436
4325
  },
4437
4326
  emits: [
@@ -4494,7 +4383,6 @@
4494
4383
  "label-position": __props.labelPosition,
4495
4384
  inline: __props.inline,
4496
4385
  "prevent-submit-default": __props.preventSubmitDefault,
4497
- "use-field-text-in-error": __props.useFieldTextInError,
4498
4386
  "extend-state": __props.extendState,
4499
4387
  onChange: changeHandler
4500
4388
  }, null, 8, [
@@ -4507,7 +4395,6 @@
4507
4395
  "label-position",
4508
4396
  "inline",
4509
4397
  "prevent-submit-default",
4510
- "use-field-text-in-error",
4511
4398
  "extend-state"
4512
4399
  ]), (0, vue.renderSlot)(_ctx.$slots, "default")]),
4513
4400
  _: 3
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.8.0-manmanyu.12",
2
+ "version": "1.8.0-manmanyu.13",
3
3
  "name": "@tmagic/form",
4
4
  "type": "module",
5
5
  "sideEffects": [
@@ -52,9 +52,9 @@
52
52
  "peerDependencies": {
53
53
  "vue": "^3.5.38",
54
54
  "typescript": "^6.0.3",
55
- "@tmagic/design": "1.8.0-manmanyu.12",
56
- "@tmagic/utils": "1.8.0-manmanyu.12",
57
- "@tmagic/form-schema": "1.8.0-manmanyu.12"
55
+ "@tmagic/form-schema": "1.8.0-manmanyu.13",
56
+ "@tmagic/utils": "1.8.0-manmanyu.13",
57
+ "@tmagic/design": "1.8.0-manmanyu.13"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "typescript": {
package/types/index.d.ts CHANGED
@@ -87,11 +87,6 @@ interface SubmitFormOptions {
87
87
  keyProp?: string;
88
88
  popperClass?: string;
89
89
  preventSubmitDefault?: boolean;
90
- /**
91
- * 表单校验失败时,错误提示前缀是否使用字段的 text 文案(通过 `getTextByName` 从 config 中查找)。
92
- * 默认 `true`,置为 `false` 时直接使用字段 name。
93
- */
94
- useFieldTextInError?: boolean;
95
90
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
96
91
  /** 透传给 Form.submitForm 的参数:是否直接返回原始响应式 values */
97
92
  native?: boolean;
@@ -107,15 +102,6 @@ interface SubmitFormOptions {
107
102
  appContext?: AppContext | null;
108
103
  /** 等待表单初始化的最长时间(毫秒),超时将以错误 reject。默认 10000ms */
109
104
  timeout?: number;
110
- /**
111
- * 调试模式。默认 `false`。
112
- *
113
- * - `false`:表单以隐藏方式挂载,初始化完成后自动提交(原有行为)。
114
- * - `true`:将表单以弹层形式可见地渲染在页面上,需手动点击「确定」才会触发校验/提交,
115
- * 点击「取消」则以 reject 中断;校验失败时保留弹层并展示错误信息,便于修正后重试。
116
- * 调试模式下 `timeout` 不生效(等待人工操作)。
117
- */
118
- debug?: boolean;
119
105
  }
120
106
  /**
121
107
  * 开启 `returnChangeRecords` 时 submitForm 的返回结果
@@ -153,13 +139,6 @@ interface SubmitFormResult {
153
139
  * initValues: { name: 'foo' },
154
140
  * returnChangeRecords: true,
155
141
  * });
156
- *
157
- * // 调试模式:可见地渲染表单,点击「确定」才提交:
158
- * const values = await submitForm({
159
- * config: [...],
160
- * initValues: { name: 'foo' },
161
- * debug: true,
162
- * });
163
142
  * ```
164
143
  */
165
144
  declare const submitForm: (options: SubmitFormOptions) => Promise<any>;
@@ -206,13 +185,6 @@ type __VLS_Props$30 = {
206
185
  keyProp?: string;
207
186
  popperClass?: string;
208
187
  preventSubmitDefault?: boolean;
209
- /**
210
- * 表单校验失败时,错误提示前缀是否使用字段的 text 文案(通过 `getTextByName` 从 config 中查找)。
211
- *
212
- * - `true`(默认):错误提示形如 `字段文案 -> 错误信息`,找不到 text 时回退为字段 name;
213
- * - `false`:跳过查找,直接使用字段 name 作为错误提示前缀(形如 `字段name -> 错误信息`)。
214
- */
215
- useFieldTextInError?: boolean;
216
188
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
217
189
  /**
218
190
  * 自定义"是否展示对比内容"的判断函数(仅在 `isCompare === true` 时生效)。
@@ -290,7 +262,6 @@ declare const __VLS_base$5: import("@vue/runtime-core").DefineComponent<__VLS_Pr
290
262
  keyProp: string;
291
263
  parentValues: Record<string, any>;
292
264
  stepActive: string | number;
293
- useFieldTextInError: boolean;
294
265
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
295
266
  declare const __VLS_export$30: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
296
267
  declare const _default$12: typeof __VLS_export$30;
@@ -320,8 +291,7 @@ type __VLS_Props$29 = {
320
291
  closeOnPressEscape?: boolean;
321
292
  destroyOnClose?: boolean;
322
293
  showClose?: boolean;
323
- showCancel?: boolean; /** 透传给内部 `MForm`,控制表单校验失败时错误提示前缀是否使用字段的 text 文案 */
324
- useFieldTextInError?: boolean; /** 透传给内部 `MForm`,用于扩展 `formState`(如注入 `$message` / `$store` 等) */
294
+ showCancel?: boolean; /** 透传给内部 `MForm`,用于扩展 `formState`(如注入 `$message` / `$store` 等) */
325
295
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
326
296
  /**
327
297
  * 主题名。优先级:传入 `theme` prop > 祖先 `provide(M_THEME_KEY)` > 空串。
@@ -358,7 +328,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
358
328
  readonly keyProp?: string | undefined;
359
329
  readonly popperClass?: string | undefined;
360
330
  readonly preventSubmitDefault?: boolean | undefined;
361
- readonly useFieldTextInError?: boolean | undefined;
362
331
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
363
332
  readonly showDiff?: ((_data: {
364
333
  curValue: any;
@@ -401,7 +370,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
401
370
  keyProp?: string;
402
371
  popperClass?: string;
403
372
  preventSubmitDefault?: boolean;
404
- useFieldTextInError?: boolean;
405
373
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
406
374
  showDiff?: (_data: {
407
375
  curValue: any;
@@ -445,7 +413,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
445
413
  keyProp: string;
446
414
  parentValues: Record<string, any>;
447
415
  stepActive: string | number;
448
- useFieldTextInError: boolean;
449
416
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
450
417
  beforeCreate?: (() => void) | (() => void)[];
451
418
  created?: (() => void) | (() => void)[];
@@ -479,7 +446,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
479
446
  keyProp: string;
480
447
  parentValues: Record<string, any>;
481
448
  stepActive: string | number;
482
- useFieldTextInError: boolean;
483
449
  }> & Omit<Readonly<{
484
450
  config: schema_d_exports.FormConfig;
485
451
  initValues: Record<string, any>;
@@ -496,7 +462,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
496
462
  keyProp?: string;
497
463
  popperClass?: string;
498
464
  preventSubmitDefault?: boolean;
499
- useFieldTextInError?: boolean;
500
465
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
501
466
  showDiff?: (_data: {
502
467
  curValue: any;
@@ -511,7 +476,7 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
511
476
  "onField-input"?: ((...args: any[]) => any) | undefined;
512
477
  "onField-change"?: ((...args: any[]) => any) | undefined;
513
478
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
514
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
479
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
515
480
  values: schema_d_exports.FormValue;
516
481
  lastValuesProcessed: schema_d_exports.FormValue;
517
482
  formState: schema_d_exports.FormState;
@@ -542,7 +507,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
542
507
  readonly keyProp?: string | undefined;
543
508
  readonly popperClass?: string | undefined;
544
509
  readonly preventSubmitDefault?: boolean | undefined;
545
- readonly useFieldTextInError?: boolean | undefined;
546
510
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
547
511
  readonly showDiff?: ((_data: {
548
512
  curValue: any;
@@ -585,7 +549,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
585
549
  keyProp?: string;
586
550
  popperClass?: string;
587
551
  preventSubmitDefault?: boolean;
588
- useFieldTextInError?: boolean;
589
552
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
590
553
  showDiff?: (_data: {
591
554
  curValue: any;
@@ -629,7 +592,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
629
592
  keyProp: string;
630
593
  parentValues: Record<string, any>;
631
594
  stepActive: string | number;
632
- useFieldTextInError: boolean;
633
595
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
634
596
  beforeCreate?: (() => void) | (() => void)[];
635
597
  created?: (() => void) | (() => void)[];
@@ -663,7 +625,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
663
625
  keyProp: string;
664
626
  parentValues: Record<string, any>;
665
627
  stepActive: string | number;
666
- useFieldTextInError: boolean;
667
628
  }> & Omit<Readonly<{
668
629
  config: schema_d_exports.FormConfig;
669
630
  initValues: Record<string, any>;
@@ -680,7 +641,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
680
641
  keyProp?: string;
681
642
  popperClass?: string;
682
643
  preventSubmitDefault?: boolean;
683
- useFieldTextInError?: boolean;
684
644
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
685
645
  showDiff?: (_data: {
686
646
  curValue: any;
@@ -695,7 +655,7 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
695
655
  "onField-input"?: ((...args: any[]) => any) | undefined;
696
656
  "onField-change"?: ((...args: any[]) => any) | undefined;
697
657
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
698
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
658
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
699
659
  values: schema_d_exports.FormValue;
700
660
  lastValuesProcessed: schema_d_exports.FormValue;
701
661
  formState: schema_d_exports.FormState;
@@ -731,7 +691,6 @@ declare const __VLS_base$4: import("@vue/runtime-core").DefineComponent<__VLS_Pr
731
691
  destroyOnClose: boolean;
732
692
  showClose: boolean;
733
693
  config: schema_d_exports.FormConfig;
734
- useFieldTextInError: boolean;
735
694
  confirmText: string;
736
695
  showCancel: boolean;
737
696
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
@@ -758,8 +717,7 @@ type __VLS_Props$28 = {
758
717
  confirmText?: string;
759
718
  inline?: boolean;
760
719
  labelPosition?: string;
761
- preventSubmitDefault?: boolean; /** 透传给内部 `MForm`,控制表单校验失败时错误提示前缀是否使用字段的 text 文案 */
762
- useFieldTextInError?: boolean; /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
720
+ preventSubmitDefault?: boolean; /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
763
721
  beforeClose?: (_done: (_cancel?: boolean) => void) => void; /** 透传给内部 `MForm`,用于扩展 `formState`(如注入 `$message` / `$store` 等) */
764
722
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
765
723
  /**
@@ -797,7 +755,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
797
755
  readonly keyProp?: string | undefined;
798
756
  readonly popperClass?: string | undefined;
799
757
  readonly preventSubmitDefault?: boolean | undefined;
800
- readonly useFieldTextInError?: boolean | undefined;
801
758
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
802
759
  readonly showDiff?: ((_data: {
803
760
  curValue: any;
@@ -840,7 +797,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
840
797
  keyProp?: string;
841
798
  popperClass?: string;
842
799
  preventSubmitDefault?: boolean;
843
- useFieldTextInError?: boolean;
844
800
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
845
801
  showDiff?: (_data: {
846
802
  curValue: any;
@@ -884,7 +840,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
884
840
  keyProp: string;
885
841
  parentValues: Record<string, any>;
886
842
  stepActive: string | number;
887
- useFieldTextInError: boolean;
888
843
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
889
844
  beforeCreate?: (() => void) | (() => void)[];
890
845
  created?: (() => void) | (() => void)[];
@@ -918,7 +873,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
918
873
  keyProp: string;
919
874
  parentValues: Record<string, any>;
920
875
  stepActive: string | number;
921
- useFieldTextInError: boolean;
922
876
  }> & Omit<Readonly<{
923
877
  config: schema_d_exports.FormConfig;
924
878
  initValues: Record<string, any>;
@@ -935,7 +889,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
935
889
  keyProp?: string;
936
890
  popperClass?: string;
937
891
  preventSubmitDefault?: boolean;
938
- useFieldTextInError?: boolean;
939
892
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
940
893
  showDiff?: (_data: {
941
894
  curValue: any;
@@ -950,7 +903,7 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
950
903
  "onField-input"?: ((...args: any[]) => any) | undefined;
951
904
  "onField-change"?: ((...args: any[]) => any) | undefined;
952
905
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
953
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
906
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
954
907
  values: schema_d_exports.FormValue;
955
908
  lastValuesProcessed: schema_d_exports.FormValue;
956
909
  formState: schema_d_exports.FormState;
@@ -981,7 +934,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
981
934
  readonly keyProp?: string | undefined;
982
935
  readonly popperClass?: string | undefined;
983
936
  readonly preventSubmitDefault?: boolean | undefined;
984
- readonly useFieldTextInError?: boolean | undefined;
985
937
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
986
938
  readonly showDiff?: ((_data: {
987
939
  curValue: any;
@@ -1024,7 +976,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1024
976
  keyProp?: string;
1025
977
  popperClass?: string;
1026
978
  preventSubmitDefault?: boolean;
1027
- useFieldTextInError?: boolean;
1028
979
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1029
980
  showDiff?: (_data: {
1030
981
  curValue: any;
@@ -1068,7 +1019,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1068
1019
  keyProp: string;
1069
1020
  parentValues: Record<string, any>;
1070
1021
  stepActive: string | number;
1071
- useFieldTextInError: boolean;
1072
1022
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
1073
1023
  beforeCreate?: (() => void) | (() => void)[];
1074
1024
  created?: (() => void) | (() => void)[];
@@ -1102,7 +1052,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1102
1052
  keyProp: string;
1103
1053
  parentValues: Record<string, any>;
1104
1054
  stepActive: string | number;
1105
- useFieldTextInError: boolean;
1106
1055
  }> & Omit<Readonly<{
1107
1056
  config: schema_d_exports.FormConfig;
1108
1057
  initValues: Record<string, any>;
@@ -1119,7 +1068,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1119
1068
  keyProp?: string;
1120
1069
  popperClass?: string;
1121
1070
  preventSubmitDefault?: boolean;
1122
- useFieldTextInError?: boolean;
1123
1071
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1124
1072
  showDiff?: (_data: {
1125
1073
  curValue: any;
@@ -1134,7 +1082,7 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1134
1082
  "onField-input"?: ((...args: any[]) => any) | undefined;
1135
1083
  "onField-change"?: ((...args: any[]) => any) | undefined;
1136
1084
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
1137
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
1085
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
1138
1086
  values: schema_d_exports.FormValue;
1139
1087
  lastValuesProcessed: schema_d_exports.FormValue;
1140
1088
  formState: schema_d_exports.FormState;
@@ -1175,7 +1123,6 @@ declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1175
1123
  values: Object;
1176
1124
  closeOnPressEscape: boolean;
1177
1125
  config: schema_d_exports.FormConfig;
1178
- useFieldTextInError: boolean;
1179
1126
  confirmText: string;
1180
1127
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1181
1128
  declare const __VLS_export$28: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
@@ -1199,8 +1146,7 @@ type __VLS_Props$27 = {
1199
1146
  confirmText?: string;
1200
1147
  inline?: boolean;
1201
1148
  labelPosition?: string;
1202
- preventSubmitDefault?: boolean; /** 透传给内部 `MForm`,控制表单校验失败时错误提示前缀是否使用字段的 text 文案 */
1203
- useFieldTextInError?: boolean;
1149
+ preventSubmitDefault?: boolean;
1204
1150
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1205
1151
  };
1206
1152
  declare var __VLS_16$1: {}, __VLS_18$1: {}, __VLS_20: {};
@@ -1231,7 +1177,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1231
1177
  readonly keyProp?: string | undefined;
1232
1178
  readonly popperClass?: string | undefined;
1233
1179
  readonly preventSubmitDefault?: boolean | undefined;
1234
- readonly useFieldTextInError?: boolean | undefined;
1235
1180
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
1236
1181
  readonly showDiff?: ((_data: {
1237
1182
  curValue: any;
@@ -1274,7 +1219,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1274
1219
  keyProp?: string;
1275
1220
  popperClass?: string;
1276
1221
  preventSubmitDefault?: boolean;
1277
- useFieldTextInError?: boolean;
1278
1222
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1279
1223
  showDiff?: (_data: {
1280
1224
  curValue: any;
@@ -1318,7 +1262,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1318
1262
  keyProp: string;
1319
1263
  parentValues: Record<string, any>;
1320
1264
  stepActive: string | number;
1321
- useFieldTextInError: boolean;
1322
1265
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
1323
1266
  beforeCreate?: (() => void) | (() => void)[];
1324
1267
  created?: (() => void) | (() => void)[];
@@ -1352,7 +1295,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1352
1295
  keyProp: string;
1353
1296
  parentValues: Record<string, any>;
1354
1297
  stepActive: string | number;
1355
- useFieldTextInError: boolean;
1356
1298
  }> & Omit<Readonly<{
1357
1299
  config: schema_d_exports.FormConfig;
1358
1300
  initValues: Record<string, any>;
@@ -1369,7 +1311,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1369
1311
  keyProp?: string;
1370
1312
  popperClass?: string;
1371
1313
  preventSubmitDefault?: boolean;
1372
- useFieldTextInError?: boolean;
1373
1314
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1374
1315
  showDiff?: (_data: {
1375
1316
  curValue: any;
@@ -1384,7 +1325,7 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1384
1325
  "onField-input"?: ((...args: any[]) => any) | undefined;
1385
1326
  "onField-change"?: ((...args: any[]) => any) | undefined;
1386
1327
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
1387
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
1328
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
1388
1329
  values: schema_d_exports.FormValue;
1389
1330
  lastValuesProcessed: schema_d_exports.FormValue;
1390
1331
  formState: schema_d_exports.FormState;
@@ -1415,7 +1356,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1415
1356
  readonly keyProp?: string | undefined;
1416
1357
  readonly popperClass?: string | undefined;
1417
1358
  readonly preventSubmitDefault?: boolean | undefined;
1418
- readonly useFieldTextInError?: boolean | undefined;
1419
1359
  readonly extendState?: ((_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>) | undefined;
1420
1360
  readonly showDiff?: ((_data: {
1421
1361
  curValue: any;
@@ -1458,7 +1398,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1458
1398
  keyProp?: string;
1459
1399
  popperClass?: string;
1460
1400
  preventSubmitDefault?: boolean;
1461
- useFieldTextInError?: boolean;
1462
1401
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1463
1402
  showDiff?: (_data: {
1464
1403
  curValue: any;
@@ -1502,7 +1441,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1502
1441
  keyProp: string;
1503
1442
  parentValues: Record<string, any>;
1504
1443
  stepActive: string | number;
1505
- useFieldTextInError: boolean;
1506
1444
  }, {}, string, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, import("@vue/runtime-core").ComponentProvideOptions> & {
1507
1445
  beforeCreate?: (() => void) | (() => void)[];
1508
1446
  created?: (() => void) | (() => void)[];
@@ -1536,7 +1474,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1536
1474
  keyProp: string;
1537
1475
  parentValues: Record<string, any>;
1538
1476
  stepActive: string | number;
1539
- useFieldTextInError: boolean;
1540
1477
  }> & Omit<Readonly<{
1541
1478
  config: schema_d_exports.FormConfig;
1542
1479
  initValues: Record<string, any>;
@@ -1553,7 +1490,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1553
1490
  keyProp?: string;
1554
1491
  popperClass?: string;
1555
1492
  preventSubmitDefault?: boolean;
1556
- useFieldTextInError?: boolean;
1557
1493
  extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
1558
1494
  showDiff?: (_data: {
1559
1495
  curValue: any;
@@ -1568,7 +1504,7 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1568
1504
  "onField-input"?: ((...args: any[]) => any) | undefined;
1569
1505
  "onField-change"?: ((...args: any[]) => any) | undefined;
1570
1506
  "onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
1571
- }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive" | "useFieldTextInError")> & {
1507
+ }>, "values" | "changeHandler" | "initialized" | "lastValuesProcessed" | "formState" | "changeRecords" | "resetForm" | "submitForm" | "getTextByName" | ("disabled" | "labelWidth" | "inline" | "labelPosition" | "config" | "height" | "initValues" | "lastValues" | "isCompare" | "keyProp" | "parentValues" | "stepActive")> & {
1572
1508
  values: schema_d_exports.FormValue;
1573
1509
  lastValuesProcessed: schema_d_exports.FormValue;
1574
1510
  formState: schema_d_exports.FormState;
@@ -1595,7 +1531,6 @@ declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Pr
1595
1531
  }>, {
1596
1532
  values: Object;
1597
1533
  config: schema_d_exports.FormConfig;
1598
- useFieldTextInError: boolean;
1599
1534
  confirmText: string;
1600
1535
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
1601
1536
  declare const __VLS_export$27: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;