vft 0.0.507 → 0.0.509
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.
- package/dist/index.css +1 -1
- package/es/components/carousel/use-carousel.js +1 -1
- package/es/components/cascader/cascader.vue2.js +203 -202
- package/es/components/cascader-panel/menu.vue2.js +50 -49
- package/es/components/clamp-toggle/clamp-toggle.vue2.js +21 -17
- package/es/components/color-picker/color-picker.vue2.js +134 -133
- package/es/components/config-provider/config-provider.vue.d.ts +2 -0
- package/es/components/config-provider/config-provider.vue2.js +5 -4
- package/es/components/config-provider/constants.d.ts +1 -0
- package/es/components/config-provider/constants.js +3 -2
- package/es/components/config-provider/hooks/use-global-config.js +33 -30
- package/es/components/config-provider/index.d.ts +9 -0
- package/es/components/config-provider/index.js +6 -5
- package/es/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/es/components/date-picker/composables/use-basic-date-table.js +124 -123
- package/es/components/date-picker/composables/use-month-range-header.js +15 -14
- package/es/components/date-picker/composables/use-panel-date-range.js +24 -23
- package/es/components/date-picker/date-picker-com/basic-month-table.vue2.js +39 -38
- package/es/components/date-picker/date-picker-com/basic-year-table.vue2.js +39 -38
- package/es/components/date-picker/date-picker-com/panel-date-pick.vue2.js +179 -178
- package/es/components/date-picker/date-picker-com/panel-date-range.vue2.js +225 -224
- package/es/components/date-time-select/date-time-select.vue2.js +39 -36
- package/es/components/dropdown/dropdown.vue2.js +68 -67
- package/es/components/empty/empty.vue2.js +39 -38
- package/es/components/full-screen/full-screen.vue2.js +18 -17
- package/es/components/image/image.vue2.js +60 -59
- package/es/components/image-viewer/image-viewer.vue2.js +45 -44
- package/es/components/index.js +161 -160
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/components/md-container/md-container.vue2.js +75 -74
- package/es/components/md-container/toc.js +37 -36
- package/es/components/modal/modal-footer-action.vue2.js +25 -24
- package/es/components/multiple-tabs/multiple-tabs.vue2.js +16 -15
- package/es/components/multiple-tabs/use/use-tab-dropdown.js +54 -53
- package/es/components/pagination/components/jumper.vue2.js +29 -28
- package/es/components/pagination/components/sizes.vue2.js +21 -20
- package/es/components/pagination/components/total.vue2.js +11 -10
- package/es/components/popconfirm/popconfirm.vue2.js +40 -39
- package/es/components/search/search.vue2.js +79 -77
- package/es/components/select/useSelect.js +232 -231
- package/es/components/super-form/super-form-action.vue2.js +41 -40
- package/es/components/super-form/super-form-item.vue2.js +206 -203
- package/es/components/super-form/use/helper.d.ts +1 -1
- package/es/components/super-form/use/helper.js +62 -62
- package/es/components/table/field.js +130 -110
- package/es/components/table/table.vue2.js +152 -150
- package/es/components/table/use/use-columns.js +29 -26
- package/es/components/table/use/use-data-source.js +87 -86
- package/es/components/time-picker/time-picker-com/panel-time-pick.vue2.js +66 -65
- package/es/components/time-picker/time-picker-com/panel-time-range.vue2.js +134 -133
- package/es/components/transfer/transfer-panel.vue2.js +57 -56
- package/es/components/transfer/transfer.vue2.js +70 -69
- package/es/components/tree/tree.vue2.js +60 -59
- package/es/components/upload/index.d.ts +3 -3
- package/es/components/upload/upload-content.vue.d.ts +2 -2
- package/es/components/upload/upload-content.vue2.js +78 -75
- package/es/components/upload/upload-list.vue2.js +46 -45
- package/es/components/upload/upload.vue.d.ts +2 -2
- package/es/components/upload/upload.vue2.js +87 -85
- package/es/components/upload/utils.js +29 -29
- package/es/constants/date.d.ts +1 -1
- package/es/constants/date.js +9 -1
- package/es/hooks/use-z-index/index.js +3 -3
- package/es/index.d.ts +1 -0
- package/es/index.js +5 -1
- package/es/locale/index.d.js +1 -0
- package/es/locale/index.d.ts +26 -0
- package/es/locale/index.js +10 -0
- package/es/locale/lang/en.d.ts +183 -0
- package/es/locale/lang/en.js +241 -0
- package/es/locale/lang/zh-cn.d.ts +183 -0
- package/es/locale/lang/zh-cn.js +241 -0
- package/es/locale/lang/zh-tw.d.ts +183 -0
- package/es/locale/lang/zh-tw.js +241 -0
- package/es/locale/use-locale.d.ts +17 -0
- package/es/locale/use-locale.js +56 -0
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/vue/vnode.js +1 -1
- package/lib/components/cascader/cascader.vue2.cjs +1 -1
- package/lib/components/cascader-panel/menu.vue2.cjs +4 -4
- package/lib/components/clamp-toggle/clamp-toggle.vue2.cjs +1 -1
- package/lib/components/color-picker/color-picker.vue2.cjs +1 -1
- package/lib/components/config-provider/config-provider.vue.d.ts +2 -0
- package/lib/components/config-provider/config-provider.vue2.cjs +1 -1
- package/lib/components/config-provider/constants.cjs +1 -1
- package/lib/components/config-provider/constants.d.ts +1 -0
- package/lib/components/config-provider/hooks/use-global-config.cjs +1 -1
- package/lib/components/config-provider/index.cjs +1 -1
- package/lib/components/config-provider/index.d.ts +9 -0
- package/lib/components/date-picker/composables/use-basic-date-table.cjs +1 -1
- package/lib/components/date-picker/composables/use-basic-date-table.d.ts +1 -1
- package/lib/components/date-picker/composables/use-month-range-header.cjs +1 -1
- package/lib/components/date-picker/composables/use-panel-date-range.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-month-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/basic-year-table.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-pick.vue2.cjs +1 -1
- package/lib/components/date-picker/date-picker-com/panel-date-range.vue2.cjs +1 -1
- package/lib/components/date-time-select/date-time-select.vue2.cjs +1 -1
- package/lib/components/dropdown/dropdown.vue2.cjs +1 -1
- package/lib/components/empty/empty.vue2.cjs +1 -1
- package/lib/components/full-screen/full-screen.vue2.cjs +1 -1
- package/lib/components/image/image.vue2.cjs +1 -1
- package/lib/components/image-viewer/image-viewer.vue2.cjs +1 -1
- package/lib/components/index.cjs +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/components/md-container/md-container.vue2.cjs +1 -1
- package/lib/components/md-container/toc.cjs +1 -1
- package/lib/components/modal/modal-footer-action.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/multiple-tabs.vue2.cjs +1 -1
- package/lib/components/multiple-tabs/use/use-tab-dropdown.cjs +1 -1
- package/lib/components/pagination/components/jumper.vue2.cjs +1 -1
- package/lib/components/pagination/components/sizes.vue2.cjs +1 -1
- package/lib/components/pagination/components/total.vue2.cjs +1 -1
- package/lib/components/popconfirm/popconfirm.vue2.cjs +1 -1
- package/lib/components/search/search.vue2.cjs +1 -1
- package/lib/components/select/useSelect.cjs +1 -1
- package/lib/components/super-form/super-form-action.vue2.cjs +1 -1
- package/lib/components/super-form/super-form-item.vue2.cjs +1 -1
- package/lib/components/super-form/use/helper.cjs +1 -1
- package/lib/components/super-form/use/helper.d.ts +1 -1
- package/lib/components/table/field.cjs +1 -1
- package/lib/components/table/table.vue2.cjs +1 -1
- package/lib/components/table/use/use-columns.cjs +1 -1
- package/lib/components/table/use/use-data-source.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-pick.vue2.cjs +1 -1
- package/lib/components/time-picker/time-picker-com/panel-time-range.vue2.cjs +1 -1
- package/lib/components/transfer/transfer-panel.vue2.cjs +1 -1
- package/lib/components/transfer/transfer.vue2.cjs +1 -1
- package/lib/components/tree/tree.vue2.cjs +1 -1
- package/lib/components/upload/index.d.ts +3 -3
- package/lib/components/upload/upload-content.vue.d.ts +2 -2
- package/lib/components/upload/upload-content.vue2.cjs +1 -1
- package/lib/components/upload/upload-list.vue2.cjs +1 -1
- package/lib/components/upload/upload.vue.d.ts +2 -2
- package/lib/components/upload/upload.vue2.cjs +1 -1
- package/lib/components/upload/utils.cjs +1 -1
- package/lib/constants/date.cjs +1 -1
- package/lib/constants/date.d.ts +1 -1
- package/lib/index.cjs +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/locale/index.cjs +1 -0
- package/lib/locale/index.d.cjs +1 -0
- package/lib/locale/index.d.ts +26 -0
- package/lib/locale/lang/en.cjs +1 -0
- package/lib/locale/lang/en.d.ts +183 -0
- package/lib/locale/lang/zh-cn.cjs +1 -0
- package/lib/locale/lang/zh-cn.d.ts +183 -0
- package/lib/locale/lang/zh-tw.cjs +1 -0
- package/lib/locale/lang/zh-tw.d.ts +183 -0
- package/lib/locale/use-locale.cjs +1 -0
- package/lib/locale/use-locale.d.ts +17 -0
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +3 -3
- package/theme-style/index.css +1 -1
- package/theme-style/src/super-form.scss +0 -1
- package/theme-style/vft-super-form.css +1 -1
- package/web-types.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as fe, ref as X, computed as B, watch as Y, onMounted as ke, nextTick as U, unref as d, useSlots as Ce, createVNode as f, mergeProps as z, withDirectives as Se, vShow as ve, isVNode as xe, createTextVNode as ne, resolveComponent as Z } from "vue";
|
|
2
2
|
import "../alert/index.js";
|
|
3
3
|
import "../avatar/index.js";
|
|
4
4
|
import "../avatar-stack/index.js";
|
|
@@ -13,24 +13,24 @@ import "../clamp/index.js";
|
|
|
13
13
|
import "../client-only/index.js";
|
|
14
14
|
import "../clamp-toggle/index.js";
|
|
15
15
|
import "../clamp-tooltip/index.js";
|
|
16
|
-
import { VftCol as
|
|
16
|
+
import { VftCol as ae } from "../col/index.js";
|
|
17
17
|
import "../collapse-transition/index.js";
|
|
18
18
|
import "../color-picker/index.js";
|
|
19
19
|
import "../config-provider/index.js";
|
|
20
20
|
import "../container/index.js";
|
|
21
|
-
import { isBoolean as
|
|
21
|
+
import { isBoolean as _, isFunction as C, singleAttrToObj as se, isNullOrUndefined as Ae, isArray as ee, cloneDeep as Re, isNull as we, upperFirst as Me, isString as Te } from "@vft/utils";
|
|
22
22
|
import "../context-menu/context-menu.vue2.js";
|
|
23
23
|
import { VftIcon as le } from "../icon/index.js";
|
|
24
24
|
import "../date-picker/index.js";
|
|
25
25
|
import "../date-time-select/index.js";
|
|
26
26
|
import "../descriptions/index.js";
|
|
27
27
|
import "../dialog/index.js";
|
|
28
|
-
import { VftDivider as
|
|
28
|
+
import { VftDivider as De } from "../divider/index.js";
|
|
29
29
|
import "../drawer/index.js";
|
|
30
30
|
import "../dropdown/index.js";
|
|
31
31
|
import "../empty/index.js";
|
|
32
32
|
import "../footer-layout/index.js";
|
|
33
|
-
import { VftFormItem as
|
|
33
|
+
import { VftFormItem as Ie } from "../form/index.js";
|
|
34
34
|
import "../full-screen/index.js";
|
|
35
35
|
import "../header-layout/index.js";
|
|
36
36
|
import "../horizontal-menu/index.js";
|
|
@@ -70,7 +70,7 @@ import "../table/index.js";
|
|
|
70
70
|
import "../tabs/index.js";
|
|
71
71
|
import "../tag/index.js";
|
|
72
72
|
import "../time-picker/index.js";
|
|
73
|
-
import { VftTooltip as
|
|
73
|
+
import { VftTooltip as qe } from "../tooltip/index.js";
|
|
74
74
|
import "../tree/index.js";
|
|
75
75
|
import "../tree-select/index.js";
|
|
76
76
|
import "../verify-code/index.js";
|
|
@@ -100,26 +100,27 @@ import "../md-container/index.js";
|
|
|
100
100
|
import "../md-tabs/index.js";
|
|
101
101
|
import "../md-vue-playground/index.js";
|
|
102
102
|
import "../infinite-scroll/index.js";
|
|
103
|
-
import { FormCompEnum as t, getComponent as
|
|
103
|
+
import { FormCompEnum as t, getComponent as ce } from "../../utils/form-register.js";
|
|
104
104
|
import "@vueuse/core";
|
|
105
105
|
import "../config-provider/hooks/use-global-config.js";
|
|
106
|
-
import { debounce as
|
|
107
|
-
import { useNamespace as
|
|
106
|
+
import { debounce as Ke } from "lodash-es";
|
|
107
|
+
import { useNamespace as Le } from "../../hooks/use-namespace/index.js";
|
|
108
108
|
import "../../hooks/use-model-toggle/index.js";
|
|
109
109
|
import "@popperjs/core";
|
|
110
110
|
import "../../hooks/use-z-index/index.js";
|
|
111
111
|
import "../message/index.js";
|
|
112
112
|
import "../progress-i/index.js";
|
|
113
113
|
import "./index.js";
|
|
114
|
-
import { isRangePicker as Fe, isInput as
|
|
115
|
-
import { createPlaceholderMessage as
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
import { isRangePicker as Fe, isInput as Ve, isDatePicker as $e } from "./component-map.js";
|
|
115
|
+
import { createPlaceholderMessage as me } from "./use/helper.js";
|
|
116
|
+
import { useLocale as je } from "../../locale/use-locale.js";
|
|
117
|
+
function te(e) {
|
|
118
|
+
return typeof e == "function" || Object.prototype.toString.call(e) === "[object Object]" && !xe(e);
|
|
118
119
|
}
|
|
119
|
-
const
|
|
120
|
+
const Be = fe({
|
|
120
121
|
inheritAttrs: !1
|
|
121
|
-
}),
|
|
122
|
-
...
|
|
122
|
+
}), Qo = /* @__PURE__ */ fe({
|
|
123
|
+
...Be,
|
|
123
124
|
__name: "super-form-item",
|
|
124
125
|
props: {
|
|
125
126
|
schema: {},
|
|
@@ -131,7 +132,9 @@ const je = me({
|
|
|
131
132
|
formActionType: {}
|
|
132
133
|
},
|
|
133
134
|
setup(e) {
|
|
134
|
-
const
|
|
135
|
+
const {
|
|
136
|
+
t: b
|
|
137
|
+
} = je(), K = Le("super-form"), F = X(), k = B(() => {
|
|
135
138
|
const {
|
|
136
139
|
mergeDynamicData: r
|
|
137
140
|
} = e.formProps;
|
|
@@ -147,15 +150,15 @@ const je = me({
|
|
|
147
150
|
elRef: F,
|
|
148
151
|
formActionType: e.formActionType
|
|
149
152
|
};
|
|
150
|
-
}),
|
|
153
|
+
}), ue = /* @__PURE__ */ new Set([t.Select, t.Radio, t.Checkbox, t.RadioButton, t.CheckboxButton, t.Cascader, t.AutoComplete]), V = /* @__PURE__ */ new Set([t.Select, t.Radio, t.RadioButton, t.Checkbox, t.CheckboxButton, t.Cascader, t.AutoComplete]), E = /* @__PURE__ */ new Set([t.Tree, t.TreeSelect]), Q = () => e.schema.type && ue.has(e.schema.type) ? {
|
|
151
154
|
options: []
|
|
152
|
-
} : {}, p =
|
|
153
|
-
async function
|
|
155
|
+
} : {}, p = X(Q());
|
|
156
|
+
async function de() {
|
|
154
157
|
const {
|
|
155
158
|
componentProps: r = {}
|
|
156
159
|
} = e.schema;
|
|
157
|
-
if (
|
|
158
|
-
const o =
|
|
160
|
+
if (C(r)) {
|
|
161
|
+
const o = Q();
|
|
159
162
|
p.value = o;
|
|
160
163
|
try {
|
|
161
164
|
const i = r({
|
|
@@ -166,38 +169,38 @@ const je = me({
|
|
|
166
169
|
...o,
|
|
167
170
|
...n ?? {}
|
|
168
171
|
};
|
|
169
|
-
|
|
172
|
+
V.has(e.schema.type) && (!a.options || !Array.isArray(a.options)) && (a.options = []), p.value = a;
|
|
170
173
|
} catch (i) {
|
|
171
|
-
console.error("componentProps 执行错误:", i), p.value =
|
|
174
|
+
console.error("componentProps 执行错误:", i), p.value = Q();
|
|
172
175
|
}
|
|
173
176
|
} else
|
|
174
|
-
p.value = r,
|
|
177
|
+
p.value = r, V.has(e.schema.type) && (!p.value.options || !Array.isArray(p.value.options)) && (p.value.options = []);
|
|
175
178
|
}
|
|
176
|
-
|
|
179
|
+
Y(() => e.schema.componentProps, (r, o) => (r || o) && de(), {
|
|
177
180
|
immediate: !0
|
|
178
|
-
}),
|
|
181
|
+
}), ke(() => {
|
|
179
182
|
if (e.schema.type === t.Tree) {
|
|
180
183
|
const r = e.formModel[e.schema.field], o = p.value, i = o?.defaultCheckedKeys, n = o?.includeHalfChecked;
|
|
181
|
-
i && Array.isArray(i) && i.length > 0 && (!r || !Array.isArray(r) || r.length === 0) && (n ?
|
|
184
|
+
i && Array.isArray(i) && i.length > 0 && (!r || !Array.isArray(r) || r.length === 0) && (n ? U(() => {
|
|
182
185
|
if (F.value) {
|
|
183
186
|
const a = F.value;
|
|
184
187
|
if (a?.getHalfCheckedKeys) {
|
|
185
188
|
const u = [...a.getHalfCheckedKeys() || [], ...i];
|
|
186
189
|
e.setFormModel(e.schema.field, u, e.schema);
|
|
187
|
-
const
|
|
188
|
-
e.formModel[
|
|
190
|
+
const S = Symbol.for(`${e.schema.field}_checkedKeys`);
|
|
191
|
+
e.formModel[S] = [...i];
|
|
189
192
|
} else
|
|
190
193
|
e.setFormModel(e.schema.field, [...i], e.schema);
|
|
191
194
|
}
|
|
192
195
|
}) : e.setFormModel(e.schema.field, [...i], e.schema));
|
|
193
196
|
}
|
|
194
197
|
});
|
|
195
|
-
let
|
|
196
|
-
const
|
|
198
|
+
let R = null;
|
|
199
|
+
const H = X(!1), N = async (r, o) => {
|
|
197
200
|
try {
|
|
198
201
|
const i = {
|
|
199
202
|
...p.value
|
|
200
|
-
}, n =
|
|
203
|
+
}, n = V.has(e.schema.type);
|
|
201
204
|
p.value = {
|
|
202
205
|
...i,
|
|
203
206
|
loading: !0,
|
|
@@ -206,7 +209,7 @@ const je = me({
|
|
|
206
209
|
options: []
|
|
207
210
|
} : {}
|
|
208
211
|
};
|
|
209
|
-
const a = await r(d(
|
|
212
|
+
const a = await r(d(k)), {
|
|
210
213
|
type: m
|
|
211
214
|
} = e.schema, u = n ? Array.isArray(a) ? a : [] : a;
|
|
212
215
|
n ? p.value = {
|
|
@@ -214,7 +217,7 @@ const je = me({
|
|
|
214
217
|
options: u,
|
|
215
218
|
requestResult: a,
|
|
216
219
|
loading: !1
|
|
217
|
-
} :
|
|
220
|
+
} : E.has(m) ? p.value = {
|
|
218
221
|
...i,
|
|
219
222
|
data: Array.isArray(a) ? a : a || [],
|
|
220
223
|
requestResult: a,
|
|
@@ -223,10 +226,10 @@ const je = me({
|
|
|
223
226
|
...i,
|
|
224
227
|
requestResult: a,
|
|
225
228
|
loading: !1
|
|
226
|
-
}, o && await o(a, d(
|
|
229
|
+
}, o && await o(a, d(k));
|
|
227
230
|
} catch (i) {
|
|
228
231
|
console.error("fetchRemoteData 执行错误:", i);
|
|
229
|
-
const n =
|
|
232
|
+
const n = V.has(e.schema.type), a = E.has(e.schema.type);
|
|
230
233
|
p.value = {
|
|
231
234
|
...p.value,
|
|
232
235
|
loading: !1,
|
|
@@ -240,13 +243,13 @@ const je = me({
|
|
|
240
243
|
} : {}
|
|
241
244
|
};
|
|
242
245
|
} finally {
|
|
243
|
-
await
|
|
246
|
+
await U();
|
|
244
247
|
}
|
|
245
|
-
},
|
|
248
|
+
}, oe = () => {
|
|
246
249
|
const r = p.value?.request;
|
|
247
250
|
if (r)
|
|
248
|
-
if (
|
|
249
|
-
|
|
251
|
+
if (C(r))
|
|
252
|
+
N(r);
|
|
250
253
|
else {
|
|
251
254
|
const {
|
|
252
255
|
watchFields: o = [],
|
|
@@ -258,40 +261,40 @@ const je = me({
|
|
|
258
261
|
if (!a) return;
|
|
259
262
|
const u = Array.isArray(o) && o.length > 0;
|
|
260
263
|
if (i?.immediate && !u) {
|
|
261
|
-
|
|
264
|
+
H.value || (H.value = !0, N(a, m));
|
|
262
265
|
return;
|
|
263
266
|
}
|
|
264
267
|
const {
|
|
265
|
-
immediate:
|
|
268
|
+
immediate: S,
|
|
266
269
|
...h
|
|
267
|
-
} = i, y = o.map((
|
|
268
|
-
|
|
270
|
+
} = i, y = o.map((l) => () => e.formModel[l]), g = n > 0 ? Ke(() => {
|
|
271
|
+
N(a, m);
|
|
269
272
|
}, n) : () => {
|
|
270
|
-
|
|
273
|
+
N(a, m);
|
|
271
274
|
};
|
|
272
|
-
|
|
275
|
+
R = Y(y, g, h), i?.immediate && (H.value || (H.value = !0, N(a, m)));
|
|
273
276
|
}
|
|
274
|
-
},
|
|
275
|
-
|
|
276
|
-
r.isIfShow && r.isShow && (o == null || !o.isIfShow || !o.isShow) ?
|
|
277
|
-
|
|
278
|
-
}) : (!r.isIfShow || !r.isShow) && (
|
|
277
|
+
}, he = B(() => W());
|
|
278
|
+
Y(he, (r, o) => {
|
|
279
|
+
r.isIfShow && r.isShow && (o == null || !o.isIfShow || !o.isShow) ? U(() => {
|
|
280
|
+
R && (R(), R = null), oe();
|
|
281
|
+
}) : (!r.isIfShow || !r.isShow) && (H.value = !1, R && (R(), R = null));
|
|
279
282
|
}, {
|
|
280
283
|
immediate: !0
|
|
281
|
-
}),
|
|
284
|
+
}), Y(() => p.value?.request, () => {
|
|
282
285
|
const {
|
|
283
286
|
isIfShow: r,
|
|
284
287
|
isShow: o
|
|
285
|
-
} =
|
|
286
|
-
r && o &&
|
|
287
|
-
|
|
288
|
+
} = W();
|
|
289
|
+
r && o && U(() => {
|
|
290
|
+
R && (R(), R = null), oe();
|
|
288
291
|
});
|
|
289
292
|
});
|
|
290
|
-
const
|
|
293
|
+
const L = B(() => {
|
|
291
294
|
let r = {
|
|
292
295
|
...p.value
|
|
293
296
|
};
|
|
294
|
-
if (
|
|
297
|
+
if (V.has(e.schema.type) && (!r.options || !Array.isArray(r.options)) && (r.options = []), E.has(e.schema.type) && (!r.data || !Array.isArray(r.data)) && (r.data = []), e.schema.type === t.Tree) {
|
|
295
298
|
const n = e.formModel[e.schema.field];
|
|
296
299
|
if (Array.isArray(n) && r.data?.length > 0)
|
|
297
300
|
if (r.includeHalfChecked) {
|
|
@@ -328,47 +331,47 @@ const je = me({
|
|
|
328
331
|
}], [t.TimeRangePicker, {
|
|
329
332
|
type: t.TimePicker,
|
|
330
333
|
"is-range": !0,
|
|
331
|
-
"start-placeholder": "
|
|
332
|
-
"end-placeholder": "
|
|
334
|
+
"start-placeholder": b("startTime"),
|
|
335
|
+
"end-placeholder": b("endTime")
|
|
333
336
|
}], [t.DateTimeRangePicker, {
|
|
334
337
|
type: t.DateTimeRangePicker,
|
|
335
|
-
"start-placeholder": "
|
|
336
|
-
"end-placeholder": "
|
|
338
|
+
"start-placeholder": b("startDate"),
|
|
339
|
+
"end-placeholder": b("endDate")
|
|
337
340
|
}], [t.DateRangePicker, {
|
|
338
341
|
type: t.DateRangePicker,
|
|
339
|
-
"start-placeholder": "
|
|
340
|
-
"end-placeholder": "
|
|
342
|
+
"start-placeholder": b("startDate"),
|
|
343
|
+
"end-placeholder": b("endDate")
|
|
341
344
|
}], [t.MonthRangePicker, {
|
|
342
345
|
type: t.MonthRangePicker,
|
|
343
|
-
"start-placeholder": "
|
|
344
|
-
"end-placeholder": "
|
|
346
|
+
"start-placeholder": b("startMonth"),
|
|
347
|
+
"end-placeholder": b("endMonth")
|
|
345
348
|
}]]);
|
|
346
349
|
e.schema.type && o.has(e.schema.type) && (r = Object.assign(o.get(e.schema.type) || {}, r));
|
|
347
350
|
const i = r;
|
|
348
|
-
return e.formProps.inputMaxLength && e.schema.type === t.Input && !i?.maxlength && (i.maxlength = e.formProps.inputMaxLength),
|
|
349
|
-
}),
|
|
351
|
+
return e.formProps.inputMaxLength && e.schema.type === t.Input && !i?.maxlength && (i.maxlength = e.formProps.inputMaxLength), V.has(e.schema.type) && (!i.options || !Array.isArray(i.options)) && (i.options = []), E.has(e.schema.type) && (!i.data || !Array.isArray(i.data)) && (i.data = []), i;
|
|
352
|
+
}), pe = B(() => {
|
|
350
353
|
const {
|
|
351
354
|
disabled: r
|
|
352
355
|
} = e.formProps, {
|
|
353
356
|
dynamicDisabled: o
|
|
354
357
|
} = e.schema, {
|
|
355
358
|
disabled: i = !1
|
|
356
|
-
} = d(
|
|
359
|
+
} = d(L);
|
|
357
360
|
let n = !!r || i;
|
|
358
|
-
return
|
|
361
|
+
return _(o) && (n = o), C(o) && (n = o(d(k))), n;
|
|
359
362
|
});
|
|
360
|
-
function
|
|
363
|
+
function W() {
|
|
361
364
|
const {
|
|
362
365
|
show: r,
|
|
363
366
|
ifShow: o
|
|
364
367
|
} = e.schema;
|
|
365
368
|
let i = !0, n = !0;
|
|
366
|
-
return
|
|
369
|
+
return _(r) && (i = r), _(o) && (n = o), C(r) && (i = r(d(k))), C(o) && (n = o(d(k))), {
|
|
367
370
|
isShow: i,
|
|
368
371
|
isIfShow: n
|
|
369
372
|
};
|
|
370
373
|
}
|
|
371
|
-
function
|
|
374
|
+
function ye() {
|
|
372
375
|
const {
|
|
373
376
|
rules: r = [],
|
|
374
377
|
type: o = t.Input,
|
|
@@ -377,48 +380,48 @@ const je = me({
|
|
|
377
380
|
title: a,
|
|
378
381
|
dynamicRule: m,
|
|
379
382
|
required: u,
|
|
380
|
-
dynamicRuleAdd:
|
|
381
|
-
} = e.schema, h =
|
|
382
|
-
if (!h && (
|
|
383
|
+
dynamicRuleAdd: S = !0
|
|
384
|
+
} = e.schema, h = C(u) ? u(d(k)) : u, y = e.formModel[e.schema.field];
|
|
385
|
+
if (!h && (Ae(y) || y === "" || ee(y) && !y.length))
|
|
383
386
|
return [];
|
|
384
387
|
const g = n || a;
|
|
385
|
-
if (
|
|
386
|
-
return m(d(
|
|
387
|
-
let
|
|
388
|
+
if (C(m) && !S)
|
|
389
|
+
return m(d(k));
|
|
390
|
+
let l = Re(ee(r) ? r : [r]);
|
|
388
391
|
const {
|
|
389
|
-
rulesMessageJoinLabel:
|
|
390
|
-
} = e.formProps,
|
|
391
|
-
function
|
|
392
|
-
const
|
|
393
|
-
return c === void 0 ||
|
|
392
|
+
rulesMessageJoinLabel: w
|
|
393
|
+
} = e.formProps, P = Reflect.has(e.schema, "rulesMessageJoinLabel") ? i : w, M = b(me(o, `${P ? g : ""}`));
|
|
394
|
+
function T(s, c) {
|
|
395
|
+
const A = s.message || M;
|
|
396
|
+
return c === void 0 || we(c) || o === t.CheckboxSingle && !c || Array.isArray(c) && c.length === 0 || typeof c == "string" && c.trim() === "" || typeof c == "object" && Reflect.has(c, "checked") && Reflect.has(c, "halfChecked") && Array.isArray(c.checked) && Array.isArray(c.halfChecked) && c.checked.length === 0 && c.halfChecked.length === 0 ? Promise.reject(A) : Promise.resolve();
|
|
394
397
|
}
|
|
395
|
-
const
|
|
396
|
-
(!
|
|
398
|
+
const $ = [t.Radio, t.Select, t.RadioSingle, t.RadioButton, t.Checkbox, t.CheckboxSingle, t.CheckboxButton, t.AutoComplete, t.Cascader, t.ColorPicker, t.Upload, t.Slider].includes(o);
|
|
399
|
+
(!l || l.length === 0 || h) && (l = [{
|
|
397
400
|
required: h,
|
|
398
|
-
validator:
|
|
399
|
-
trigger:
|
|
400
|
-
}, ...
|
|
401
|
-
const
|
|
402
|
-
if (
|
|
403
|
-
const
|
|
401
|
+
validator: T,
|
|
402
|
+
trigger: $ ? "change" : "blur"
|
|
403
|
+
}, ...l]);
|
|
404
|
+
const J = l.findIndex((s) => Reflect.has(s, "required") && !Reflect.has(s, "validator"));
|
|
405
|
+
if (J !== -1) {
|
|
406
|
+
const s = l[J], {
|
|
404
407
|
isShow: c
|
|
405
|
-
} =
|
|
406
|
-
c || (
|
|
408
|
+
} = W();
|
|
409
|
+
c || (s.required = !1), o && (s.message = s.message || M);
|
|
407
410
|
}
|
|
408
|
-
const
|
|
409
|
-
function j(
|
|
410
|
-
const
|
|
411
|
-
return ["min", "all"].includes(
|
|
411
|
+
const x = l.findIndex((s) => s.min), q = l.findIndex((s) => s.max);
|
|
412
|
+
function j(s, c, A = "all") {
|
|
413
|
+
const v = l[c], O = v.isNumber ? isNaN(s) ? s?.length || 0 : Number(s) : s?.length || 0;
|
|
414
|
+
return ["min", "all"].includes(A) && O < v.min ? Promise.reject(`${g}${b("atLeast")}${v.min}${b("characters")}`) : ["max", "all"].includes(A) && O > v.max ? Promise.reject(`${g}${b("atMost")}${v.max}${b("characters")}`) : Promise.resolve();
|
|
412
415
|
}
|
|
413
|
-
(
|
|
414
|
-
const
|
|
415
|
-
if (
|
|
416
|
-
let
|
|
417
|
-
|
|
416
|
+
(x !== -1 || q !== -1) && (x !== -1 && q !== -1 && !l[x].validator && !l[x].message ? l[x].validator = (s, c) => j(c, x) : x !== -1 && !l[x].validator && !l[x].message ? l[x].validator = (s, c) => j(c, x, "min") : q !== -1 && !l[q].validator && !l[q].message && (l[q].validator = (s, c) => j(c, q, "max")));
|
|
417
|
+
const I = l.findIndex((s) => s.len);
|
|
418
|
+
if (I !== -1 && (l[I].validator = (s, c) => c?.length !== l[I].len ? Promise.reject(`${g}${b("mustBe")}${l[I].len}${b("characters")}`) : Promise.resolve()), C(m) && S) {
|
|
419
|
+
let s = m(d(k));
|
|
420
|
+
s = ee(s) ? s : [s], l = l.concat(s);
|
|
418
421
|
}
|
|
419
|
-
return
|
|
422
|
+
return l;
|
|
420
423
|
}
|
|
421
|
-
const
|
|
424
|
+
const ge = () => {
|
|
422
425
|
const {
|
|
423
426
|
renderComponentContent: r,
|
|
424
427
|
type: o = t.Input,
|
|
@@ -427,95 +430,95 @@ const je = me({
|
|
|
427
430
|
valueField: a,
|
|
428
431
|
label: m,
|
|
429
432
|
title: u,
|
|
430
|
-
placeholderJoinLabel:
|
|
433
|
+
placeholderJoinLabel: S = !0
|
|
431
434
|
} = e.schema;
|
|
432
435
|
let h = n;
|
|
433
|
-
|
|
434
|
-
const y = `on${
|
|
435
|
-
autoSetPlaceHolder:
|
|
436
|
-
size:
|
|
437
|
-
} = e.formProps,
|
|
436
|
+
Ve(o) ? h = "input" : $e(o) || o === t.TimePicker || o === t.InputTag || o === t.AutoComplete || o === t.Cascader || o === t.ColorPicker || o === t.Slider || o === t.TreeSelect ? h = "update:modelValue" : o === t.Upload ? h = "update:fileList" : o === t.Tree && (h = "check");
|
|
437
|
+
const y = `on${Me(h)}`, g = ce(o), {
|
|
438
|
+
autoSetPlaceHolder: l,
|
|
439
|
+
size: w
|
|
440
|
+
} = e.formProps, P = {
|
|
438
441
|
clearable: !0,
|
|
439
|
-
...d(
|
|
442
|
+
...d(L)
|
|
440
443
|
};
|
|
441
|
-
if (o !== t.Search && (
|
|
442
|
-
const
|
|
443
|
-
|
|
444
|
+
if (o !== t.Search && (P.size = d(L)?.size || w, P.disabled = d(pe)), !P.disabled && l && !Fe(o) && o) {
|
|
445
|
+
const s = m || u;
|
|
446
|
+
P.placeholder = d(L)?.placeholder || b(me(o, S && Te(s) ? s : ""));
|
|
444
447
|
}
|
|
445
|
-
const
|
|
446
|
-
[y]: (...
|
|
447
|
-
const [c] =
|
|
448
|
-
let
|
|
448
|
+
const T = P[y], D = P.onClear, $ = {
|
|
449
|
+
[y]: (...s) => {
|
|
450
|
+
const [c] = s;
|
|
451
|
+
let A;
|
|
449
452
|
if (o === t.Tree && h === "check") {
|
|
450
|
-
const [,
|
|
451
|
-
if (
|
|
452
|
-
const
|
|
453
|
-
e.formModel[
|
|
453
|
+
const [, v] = s, O = d(L)?.includeHalfChecked;
|
|
454
|
+
if (O ? A = [...v?.halfCheckedKeys || [], ...v?.checkedKeys || []] : A = v?.checkedKeys || [], O) {
|
|
455
|
+
const Pe = Symbol.for(`${i}_checkedKeys`);
|
|
456
|
+
e.formModel[Pe] = v?.checkedKeys || [];
|
|
454
457
|
}
|
|
455
458
|
} else {
|
|
456
|
-
const
|
|
457
|
-
|
|
459
|
+
const v = c ? c.target : null;
|
|
460
|
+
A = v ? v.value : c;
|
|
458
461
|
}
|
|
459
|
-
e.setFormModel(i,
|
|
460
|
-
|
|
462
|
+
e.setFormModel(i, A, e.schema), T && C(T) && U(() => {
|
|
463
|
+
T(...s);
|
|
461
464
|
});
|
|
462
465
|
},
|
|
463
466
|
// 监听 clear 事件,清除错误信息
|
|
464
|
-
onClear: (...
|
|
467
|
+
onClear: (...s) => {
|
|
465
468
|
e.updateSchema([{
|
|
466
469
|
field: i,
|
|
467
470
|
itemProps: {
|
|
468
471
|
error: ""
|
|
469
472
|
}
|
|
470
|
-
}]), e.formActionType?.clearValidate?.(i),
|
|
473
|
+
}]), e.formActionType?.clearValidate?.(i), D && C(D) && D(...s);
|
|
471
474
|
}
|
|
472
|
-
},
|
|
475
|
+
}, J = o === t.Tree ? {} : {
|
|
473
476
|
[a || "model-value"]: e.formModel[i]
|
|
474
477
|
}, {
|
|
475
|
-
[y]:
|
|
476
|
-
...
|
|
477
|
-
} =
|
|
478
|
-
...
|
|
479
|
-
|
|
480
|
-
...
|
|
478
|
+
[y]: x,
|
|
479
|
+
...q
|
|
480
|
+
} = P, j = {
|
|
481
|
+
...q,
|
|
482
|
+
...$,
|
|
483
|
+
...J
|
|
481
484
|
};
|
|
482
485
|
if (!r && o !== t.Upload)
|
|
483
|
-
return f(g,
|
|
486
|
+
return f(g, z({
|
|
484
487
|
ref: F
|
|
485
488
|
}, j), null);
|
|
486
|
-
let
|
|
487
|
-
if (
|
|
489
|
+
let I;
|
|
490
|
+
if (I = C(r) ? {
|
|
488
491
|
...r({
|
|
489
|
-
...d(
|
|
492
|
+
...d(k),
|
|
490
493
|
elRef: F
|
|
491
494
|
})
|
|
492
495
|
} : {
|
|
493
496
|
default: () => r
|
|
494
497
|
}, o === t.Upload && !r) {
|
|
495
498
|
const {
|
|
496
|
-
drag:
|
|
497
|
-
} = d(
|
|
498
|
-
|
|
499
|
-
default: () => f(
|
|
499
|
+
drag: s
|
|
500
|
+
} = d(L);
|
|
501
|
+
I = s ? {
|
|
502
|
+
default: () => f(Z("vft-icon"), {
|
|
500
503
|
icon: "icon-arrow-upload"
|
|
501
504
|
}, null)
|
|
502
505
|
} : {
|
|
503
|
-
default: () => f(
|
|
506
|
+
default: () => f(Z("vft-button"), {
|
|
504
507
|
type: "primary"
|
|
505
508
|
}, {
|
|
506
|
-
default: () => [f(
|
|
509
|
+
default: () => [f(Z("vft-icon"), {
|
|
507
510
|
icon: "icon-arrow-upload"
|
|
508
511
|
}, null)]
|
|
509
512
|
})
|
|
510
513
|
};
|
|
511
514
|
}
|
|
512
|
-
return f(g,
|
|
515
|
+
return f(g, z({
|
|
513
516
|
ref: F
|
|
514
|
-
}, j),
|
|
515
|
-
default: () => [
|
|
517
|
+
}, j), te(I) ? I : {
|
|
518
|
+
default: () => [I]
|
|
516
519
|
});
|
|
517
520
|
};
|
|
518
|
-
function
|
|
521
|
+
function G() {
|
|
519
522
|
const {
|
|
520
523
|
showLabel: r = !0,
|
|
521
524
|
label: o,
|
|
@@ -524,50 +527,50 @@ const je = me({
|
|
|
524
527
|
labelRequired: a,
|
|
525
528
|
helpIcon: m,
|
|
526
529
|
helpTooltip: u,
|
|
527
|
-
labelSuffix:
|
|
530
|
+
labelSuffix: S
|
|
528
531
|
} = e.schema, {
|
|
529
532
|
labelSuffix: h = ""
|
|
530
|
-
} = e.formProps, y =
|
|
533
|
+
} = e.formProps, y = S ?? h, g = o || i, l = g ? f("span", null, [a && f("span", {
|
|
531
534
|
class: "label-required"
|
|
532
|
-
}, [
|
|
533
|
-
class:
|
|
534
|
-
}, [y])]) : null,
|
|
535
|
+
}, [ne("*")]), f("span", null, [g]), y && f("span", {
|
|
536
|
+
class: K.m("label-suffix")
|
|
537
|
+
}, [y])]) : null, w = () => {
|
|
535
538
|
if (!m && !u) return null;
|
|
536
|
-
const
|
|
539
|
+
const P = B(() => se(m, "icon", {
|
|
537
540
|
size: 20,
|
|
538
541
|
pointer: !0,
|
|
539
542
|
icon: "icon-help"
|
|
540
543
|
}));
|
|
541
544
|
if (u) {
|
|
542
|
-
const
|
|
545
|
+
const M = B(() => se(u, "content", {
|
|
543
546
|
placement: "right-start"
|
|
544
547
|
}));
|
|
545
|
-
return f(
|
|
548
|
+
return f(qe, z({
|
|
546
549
|
className: "box-item"
|
|
547
|
-
},
|
|
548
|
-
default: () => [f(le,
|
|
550
|
+
}, M.value), {
|
|
551
|
+
default: () => [f(le, P.value, null)]
|
|
549
552
|
});
|
|
550
553
|
}
|
|
551
|
-
return f(le,
|
|
554
|
+
return f(le, P.value, null);
|
|
552
555
|
};
|
|
553
|
-
return r &&
|
|
556
|
+
return r && l ? n ? f("div", {
|
|
554
557
|
class: "label-content"
|
|
555
|
-
}, [f("div", null, [
|
|
558
|
+
}, [f("div", null, [l, ne(" "), f("span", {
|
|
556
559
|
class: "sub-label"
|
|
557
|
-
}, [n])]),
|
|
560
|
+
}, [n])]), w()]) : f("div", {
|
|
558
561
|
class: "label-content"
|
|
559
|
-
}, [f("div", null, [
|
|
562
|
+
}, [f("div", null, [l]), w()]) : void 0;
|
|
560
563
|
}
|
|
561
|
-
const
|
|
562
|
-
function
|
|
564
|
+
const re = Ce();
|
|
565
|
+
function ie(r, o = "default", i) {
|
|
563
566
|
if (!r || !Reflect.has(r, o))
|
|
564
567
|
return null;
|
|
565
|
-
if (!
|
|
568
|
+
if (!C(r[o]))
|
|
566
569
|
return console.error(`${o} is not a function!`), null;
|
|
567
570
|
const n = r[o];
|
|
568
571
|
return n ? n(i) : null;
|
|
569
572
|
}
|
|
570
|
-
function
|
|
573
|
+
function be() {
|
|
571
574
|
const {
|
|
572
575
|
required: r,
|
|
573
576
|
itemProps: o,
|
|
@@ -576,48 +579,48 @@ const je = me({
|
|
|
576
579
|
field: a,
|
|
577
580
|
suffix: m,
|
|
578
581
|
prefix: u,
|
|
579
|
-
prefixParentStyle:
|
|
582
|
+
prefixParentStyle: S
|
|
580
583
|
} = e.schema, {
|
|
581
584
|
autoCleanErrorMessage: h,
|
|
582
585
|
compFullWidth: y
|
|
583
|
-
} = e.formProps, g = () => i ? re
|
|
586
|
+
} = e.formProps, g = () => i ? ie(re, i, d(k)) : n ? n(d(k)) : ge(), l = !!m, w = !!u, P = C(m) ? m(d(k)) : m, M = C(u) ? u(d(k)) : u, T = () => {
|
|
584
587
|
e.updateSchema([{
|
|
585
588
|
field: a,
|
|
586
589
|
itemProps: {
|
|
587
590
|
error: ""
|
|
588
591
|
}
|
|
589
592
|
}]);
|
|
590
|
-
},
|
|
593
|
+
}, D = C(r) ? r(d(k)) : r, $ = () => f(Ie, z({
|
|
591
594
|
style: {
|
|
592
595
|
marginRight: e.formProps.customLayout ? "10px" : 0
|
|
593
596
|
},
|
|
594
597
|
prop: a,
|
|
595
598
|
class: [{
|
|
596
|
-
[
|
|
599
|
+
[K.is("suffix")]: l
|
|
597
600
|
}, {
|
|
598
|
-
[
|
|
599
|
-
},
|
|
601
|
+
[K.is("comp-full-width")]: y
|
|
602
|
+
}, K.e("item")]
|
|
600
603
|
}, o, {
|
|
601
604
|
label: o?.label || o?.title,
|
|
602
|
-
"onUpdate:error": h ?
|
|
605
|
+
"onUpdate:error": h ? T : () => {
|
|
603
606
|
},
|
|
604
|
-
rules:
|
|
605
|
-
required:
|
|
607
|
+
rules: ye(),
|
|
608
|
+
required: D
|
|
606
609
|
}), {
|
|
607
610
|
default: () => [f("div", {
|
|
608
|
-
class:
|
|
611
|
+
class: K.e("container")
|
|
609
612
|
}, [f("div", {
|
|
610
|
-
class:
|
|
611
|
-
}, [g(),
|
|
612
|
-
class:
|
|
613
|
-
}, [
|
|
614
|
-
label:
|
|
613
|
+
class: K.e("content")
|
|
614
|
+
}, [g(), l && f("span", {
|
|
615
|
+
class: K.m("suffix")
|
|
616
|
+
}, [P])])])],
|
|
617
|
+
label: G() ? () => G() : void 0
|
|
615
618
|
});
|
|
616
|
-
return
|
|
617
|
-
style:
|
|
619
|
+
return w ? f("div", {
|
|
620
|
+
style: S
|
|
618
621
|
}, [f("span", {
|
|
619
|
-
class:
|
|
620
|
-
}, [
|
|
622
|
+
class: K.m("prefix")
|
|
623
|
+
}, [M]), $()]) : $();
|
|
621
624
|
}
|
|
622
625
|
return () => {
|
|
623
626
|
let r;
|
|
@@ -629,44 +632,44 @@ const je = me({
|
|
|
629
632
|
render: m,
|
|
630
633
|
quickColSpan: u
|
|
631
634
|
} = e.schema;
|
|
632
|
-
if (!
|
|
635
|
+
if (!ce(a) && !n && !m)
|
|
633
636
|
return null;
|
|
634
637
|
const {
|
|
635
|
-
baseColProps:
|
|
638
|
+
baseColProps: S = {},
|
|
636
639
|
quickColSpan: h
|
|
637
640
|
} = e.formProps, y = h ? {
|
|
638
641
|
span: Math.ceil(24 / h),
|
|
639
|
-
...
|
|
642
|
+
...S
|
|
640
643
|
} : {
|
|
641
|
-
...
|
|
644
|
+
...S
|
|
642
645
|
}, g = u ? {
|
|
643
646
|
span: Math.ceil(24 / u),
|
|
644
647
|
...o
|
|
645
648
|
} : {
|
|
646
649
|
...o
|
|
647
|
-
},
|
|
650
|
+
}, l = {
|
|
648
651
|
...y,
|
|
649
652
|
...g
|
|
650
653
|
}, {
|
|
651
|
-
isIfShow:
|
|
652
|
-
isShow:
|
|
653
|
-
} =
|
|
654
|
+
isIfShow: w,
|
|
655
|
+
isShow: P
|
|
656
|
+
} = W(), M = d(k), T = () => i ? ie(re, i, M) : n ? n(M) : be();
|
|
654
657
|
if (a === t.Divider) {
|
|
655
|
-
let
|
|
656
|
-
return f(
|
|
658
|
+
let D;
|
|
659
|
+
return f(ae, z({
|
|
657
660
|
span: 24
|
|
658
661
|
}, g), {
|
|
659
|
-
default: () => [f(
|
|
660
|
-
default: () => [
|
|
662
|
+
default: () => [f(De, d(L), te(D = G()) ? D : {
|
|
663
|
+
default: () => [D]
|
|
661
664
|
})]
|
|
662
665
|
});
|
|
663
666
|
}
|
|
664
|
-
return
|
|
667
|
+
return w && (e.formProps.customLayout ? T() : Se(f(ae, l, te(r = T()) ? r : {
|
|
665
668
|
default: () => [r]
|
|
666
|
-
}), [[
|
|
669
|
+
}), [[ve, P]]));
|
|
667
670
|
};
|
|
668
671
|
}
|
|
669
672
|
});
|
|
670
673
|
export {
|
|
671
|
-
|
|
674
|
+
Qo as default
|
|
672
675
|
};
|