@dazhicheng/ui 1.5.223 → 1.5.225

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 (31) hide show
  1. package/dist/components/tt-form/index.d.ts +5 -3
  2. package/dist/components/tt-form/src/form/RenderContent.vue.js +8 -8
  3. package/dist/components/tt-form/src/form-render/FormField.vue2.js +122 -122
  4. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +4 -4
  5. package/dist/components/tt-form/src/form-render/context.d.ts +1 -1
  6. package/dist/components/tt-form/src/form-render/dependencies.js +56 -56
  7. package/dist/components/tt-form/src/form-render/form.vue.d.ts +1 -1
  8. package/dist/components/tt-form/src/formApi.d.ts +1 -1
  9. package/dist/components/tt-form/src/group-form/GroupForm.vue.d.ts +1 -1
  10. package/dist/components/tt-form/src/group-form/GroupForm.vue2.js +35 -35
  11. package/dist/components/tt-form/src/group-form/GroupSection.vue2.js +135 -134
  12. package/dist/components/tt-form/src/group-form/LazyFormField.vue.js +68 -68
  13. package/dist/components/tt-form/src/group-form/groupFormApi.js +4 -4
  14. package/dist/components/tt-form/src/group-form/types.d.ts +25 -24
  15. package/dist/components/tt-form/src/group-form/useGroupForm.d.ts +2 -6
  16. package/dist/components/tt-form/src/group-form/utils.d.ts +8 -8
  17. package/dist/components/tt-form/src/index.vue.d.ts +12 -12
  18. package/dist/components/tt-form/src/types.d.ts +48 -47
  19. package/dist/components/tt-form/src/useForm.d.ts +2 -2
  20. package/dist/components/tt-modal/src/components/ModalHeader.vue.js +1 -1
  21. package/dist/components/tt-select/src/Select.vue.d.ts +4 -4
  22. package/dist/components/tt-select/src/components/Table.vue.d.ts +4 -4
  23. package/dist/components/tt-table/index.d.ts +12 -12
  24. package/dist/components/tt-table/src/Table.vue.d.ts +4 -4
  25. package/dist/components/tt-table/src/TableForm.vue.d.ts +162 -58
  26. package/dist/components/tt-table/src/TableForm.vue.js +126 -113
  27. package/dist/components/tt-table/src/components/TableColumnModal.vue.d.ts +19 -1
  28. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +103 -94
  29. package/dist/components/tt-table/src/hooks/useTableForm.d.ts +1 -1
  30. package/dist/style.css +1 -1
  31. package/package.json +1 -1
@@ -1,32 +1,33 @@
1
- import { defineComponent as Se, computed as a, inject as ue, watch as be, useSlots as Fe, createElementBlock as h, createCommentVNode as J, openBlock as i, normalizeClass as p, createBlock as w, unref as r, renderSlot as m, normalizeProps as y, mergeProps as f, resolveDynamicComponent as Pe, Fragment as H, renderList as S, createSlots as M, withCtx as k, guardReactiveProps as b, createElementVNode as F, withDirectives as Ie, createVNode as Ee, vShow as Ne } from "vue";
2
- import Re from "../../../../assets/svg/arrowDown.svg.js";
3
- import Ve from "../../../../assets/svg/arrowSUp.svg.js";
4
- import { TtIcon as Le } from "../../../tt-icon/index.js";
1
+ import { defineComponent as Pe, unref as l, computed as a, inject as ie, watch as Fe, useSlots as Ie, createElementBlock as h, createCommentVNode as q, openBlock as i, normalizeClass as f, createBlock as w, renderSlot as m, normalizeProps as y, mergeProps as p, resolveDynamicComponent as Ee, Fragment as G, renderList as S, createSlots as H, withCtx as k, guardReactiveProps as b, createElementVNode as P, withDirectives as Ne, createVNode as Re, vShow as Ve } from "vue";
2
+ import Le from "../../../../assets/svg/arrowDown.svg.js";
3
+ import Ae from "../../../../assets/svg/arrowSUp.svg.js";
4
+ import { TtIcon as Be } from "../../../tt-icon/index.js";
5
5
  import "../../../../node_modules/.pnpm/vue-types@5.1.3_vue@3.5.21_typescript@5.9.3_/node_modules/vue-types/shim/index.modern.js";
6
- import { useDesign as Be } from "../../../../packages/hooks/src/useDesign.js";
6
+ import { useDesign as De } from "../../../../packages/hooks/src/useDesign.js";
7
7
  import "axios";
8
8
  import "element-plus";
9
- import { isFunction as Q, isString as De } from "../../../../packages/utils/src/is.js";
9
+ import { isFunction as J, isString as Oe } from "../../../../packages/utils/src/is.js";
10
10
  import { clnm as c } from "../../../../packages/utils/src/tool.js";
11
- import { mergeWithArrayOverride as ie } from "../../../../packages/utils/src/merge.js";
11
+ import { mergeWithArrayOverride as me } from "../../../../packages/utils/src/merge.js";
12
12
  import "../../../../node_modules/.pnpm/decimal.js@10.6.0/node_modules/decimal.js/decimal.js";
13
13
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/aes.js";
14
14
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/enc-utf8.js";
15
15
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
16
16
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
17
17
  import "lodash-es";
18
- import { useFormValues as Oe } from "vee-validate";
19
- import { injectRenderFormProps as Ge } from "../form-render/context.js";
18
+ import { useFormValues as Ge } from "vee-validate";
19
+ import { injectRenderFormProps as He } from "../form-render/context.js";
20
+ import { injectFormProps as Me } from "../useFormContext.js";
20
21
  import "../components/Slot.js";
21
22
  import "../../../tt-form-item-error-tooltip/index.js";
22
23
  import "@vueuse/core";
23
24
  /* empty css */
24
- import Ae from "../form/RenderContent.vue.js";
25
- import { FieldRenderer as X } from "../form-render/FormFieldContact.js";
25
+ import je from "../form/RenderContent.vue.js";
26
+ import { FieldRenderer as Q } from "../form-render/FormFieldContact.js";
26
27
  /* empty css */
27
- import { HIDDEN_GROUP_KEYS_KEY as He, GROUP_VISIBILITY_CALLBACK_KEY as Me } from "./lazyContext.js";
28
- import { isGroupSchema as K, isRowSchema as me, isSlotSchema as Z, getFieldNames as Ke, getSchemaKey as Te } from "./utils.js";
29
- const je = ["data-group-key"], ze = ["data-group-scroll-anchor"], fe = "grid-cols-1", Ue = /* @__PURE__ */ Se({
28
+ import { HIDDEN_GROUP_KEYS_KEY as Ke, GROUP_VISIBILITY_CALLBACK_KEY as Te } from "./lazyContext.js";
29
+ import { isGroupSchema as M, isRowSchema as pe, isSlotSchema as X, getFieldNames as ze, getSchemaKey as Ue } from "./utils.js";
30
+ const We = ["data-group-key"], Ye = ["data-group-scroll-anchor"], fe = "grid-cols-1", qe = /* @__PURE__ */ Pe({
30
31
  __name: "GroupSection",
31
32
  props: {
32
33
  schema: {},
@@ -43,28 +44,28 @@ const je = ["data-group-key"], ze = ["data-group-scroll-anchor"], fe = "grid-col
43
44
  estimateFieldHeight: { default: 52 }
44
45
  },
45
46
  emits: ["toggleCollapse"],
46
- setup(pe, { emit: ce }) {
47
- const { prefixCls: s } = Be("group-section"), N = Oe(), R = Ge().form, o = pe, x = ce, P = a(() => K(o.schema)), V = a(() => me(o.schema)), ee = a(() => Z(o.schema)), l = a(() => P.value ? o.schema : null), $ = a(() => V.value ? o.schema : null), I = a(() => ee.value ? o.schema : null), T = ue(He, void 0), oe = a(() => {
47
+ setup(ce, { emit: ve }) {
48
+ const { prefixCls: s } = De("group-section"), N = Ge(), Z = He().form, [de] = Me(), x = l(de).formApi, o = ce, ee = ve, F = a(() => M(o.schema)), R = a(() => pe(o.schema)), oe = a(() => X(o.schema)), r = a(() => F.value ? o.schema : null), $ = a(() => R.value ? o.schema : null), I = a(() => oe.value ? o.schema : null), j = ie(Ke, void 0), re = a(() => {
48
49
  const u = o.schema.ifShow;
49
- return u === void 0 || u === !0 ? !0 : Q(u) ? !!u(N.value, R) : !!u;
50
- }), ve = a(() => !(!oe.value || P.value && l.value && (T != null && T.has(l.value.key)))), j = ue(Me, void 0), le = a(() => $.value ? Ke($.value.children) : []);
51
- let re;
52
- be(
53
- [oe],
50
+ return u === void 0 || u === !0 ? !0 : J(u) ? !!u(N.value, x) : !!u;
51
+ }), ge = a(() => !(!re.value || F.value && r.value && (j != null && j.has(r.value.key)))), K = ie(Te, void 0), le = a(() => $.value ? ze($.value.children) : []);
52
+ let te;
53
+ Fe(
54
+ [re],
54
55
  ([e]) => {
55
- j && re !== e && (re = e, P.value && l.value ? j({ type: "group", key: l.value.key, visible: e }) : V.value && le.value.length && j({ type: "row", fieldNames: le.value, visible: e }));
56
+ K && te !== e && (te = e, F.value && r.value ? K({ type: "group", key: r.value.key, visible: e }) : R.value && le.value.length && K({ type: "row", fieldNames: le.value, visible: e }));
56
57
  },
57
58
  { immediate: !0 }
58
59
  );
59
60
  const E = a(() => {
60
- if (!l.value) return !1;
61
- const { collapsible: e } = l.value;
62
- return Q(e) ? e(N.value, R) : !!e;
63
- }), z = a(
64
- () => l.value && E.value ? !!o.collapseStates[l.value.key] : !1
65
- ), te = a(() => l.value ? ie(l.value.commonConfig ?? {}, o.commonConfig, o.globalCommonConfig) : ie(o.commonConfig, o.globalCommonConfig)), de = a(() => ({
61
+ if (!r.value) return !1;
62
+ const { collapsible: e } = r.value;
63
+ return J(e) ? e(N.value, x) : !!e;
64
+ }), T = a(
65
+ () => r.value && E.value ? !!o.collapseStates[r.value.key] : !1
66
+ ), ae = a(() => r.value ? me(r.value.commonConfig ?? {}, o.commonConfig, o.globalCommonConfig) : me(o.commonConfig, o.globalCommonConfig)), Ce = a(() => ({
66
67
  collapseStates: o.collapseStates,
67
- commonConfig: te.value,
68
+ commonConfig: ae.value,
68
69
  globalCommonConfig: o.globalCommonConfig,
69
70
  layout: o.layout,
70
71
  compact: o.compact,
@@ -73,189 +74,189 @@ const je = ["data-group-key"], ze = ["data-group-scroll-anchor"], fe = "grid-col
73
74
  scrollElement: o.scrollElement,
74
75
  rootMargin: o.rootMargin,
75
76
  estimateFieldHeight: o.estimateFieldHeight
76
- })), ge = a(() => l.value ? c("grid gap-x-4", l.value.wrapperClass || fe) : ""), Ce = a(() => $.value ? c("grid gap-x-4 col-span-full", $.value.wrapperClass || fe) : ""), he = a(() => P.value ? c(s, `${s}--group`, {
77
+ })), he = a(() => r.value ? c("grid gap-x-4", r.value.wrapperClass || fe) : ""), ye = a(() => $.value ? c("grid gap-x-4 col-span-full", $.value.wrapperClass || fe) : ""), ke = a(() => F.value ? c(s, `${s}--group`, {
77
78
  [`${s}--nested`]: o.depth > 0
78
- }) : V.value ? c(s, `${s}--row`, Ce.value) : c(s, `${s}--transparent`));
79
- function U(e, u) {
79
+ }) : R.value ? c(s, `${s}--row`, ye.value) : c(s, `${s}--transparent`));
80
+ function z(e, u) {
80
81
  const {
81
82
  colon: v = !1,
82
83
  componentProps: _ = {},
83
- controlClass: B = "",
84
- disabled: D,
85
- disabledOnChangeListener: O = !0,
86
- disabledOnInputListener: G = !0,
87
- emptyStateValue: A = void 0,
84
+ controlClass: L = "",
85
+ disabled: A,
86
+ disabledOnChangeListener: B = !0,
87
+ disabledOnInputListener: D = !0,
88
+ emptyStateValue: O = void 0,
88
89
  formFieldProps: t = {},
89
90
  formItemClass: d = "",
90
91
  hideLabel: g = !1,
91
92
  hideRequiredMark: n = !1,
92
93
  labelClass: C = "",
93
- labelWidth: $e = 70,
94
- modelPropName: _e = "",
95
- wrapperClass: ne = ""
96
- } = te.value;
97
- let q = e.formItemClass;
98
- if (Q(e.formItemClass))
94
+ labelWidth: we = 70,
95
+ modelPropName: Se = "",
96
+ wrapperClass: ue = ""
97
+ } = ae.value;
98
+ let Y = e.formItemClass;
99
+ if (J(e.formItemClass))
99
100
  try {
100
- q = e.formItemClass();
101
+ Y = e.formItemClass();
101
102
  } catch {
102
- q = "";
103
+ Y = "";
103
104
  }
104
- const we = e.useArraySchema && !e.wrapperClass ? c(ne, u) : e.wrapperClass || ne;
105
+ const be = e.useArraySchema && !e.wrapperClass ? c(ue, u) : e.wrapperClass || ue;
105
106
  return {
106
107
  colon: v,
107
- disabled: D,
108
- disabledOnChangeListener: O,
109
- disabledOnInputListener: G,
110
- emptyStateValue: A,
108
+ disabled: A,
109
+ disabledOnChangeListener: B,
110
+ disabledOnInputListener: D,
111
+ emptyStateValue: O,
111
112
  hideLabel: g,
112
113
  hideRequiredMark: n,
113
- labelWidth: $e,
114
- modelPropName: _e,
114
+ labelWidth: we,
115
+ modelPropName: Se,
115
116
  ...e,
116
- wrapperClass: we,
117
+ wrapperClass: be,
117
118
  commonComponentProps: _,
118
119
  componentProps: e.componentProps,
119
- controlClass: c(B, e.controlClass),
120
+ controlClass: c(L, e.controlClass),
120
121
  formFieldProps: { ...t, ...e.formFieldProps },
121
- formItemClass: c("flex-shrink-0", d, q),
122
+ formItemClass: c("flex-shrink-0", d, Y),
122
123
  labelClass: c(C, e.labelClass)
123
124
  };
124
125
  }
125
- const L = a(() => ({
126
- group: l.value,
127
- collapsed: z.value,
126
+ const V = a(() => ({
127
+ group: r.value,
128
+ collapsed: T.value,
128
129
  isCollapsible: E.value,
129
130
  values: N.value,
130
- formActions: R
131
- })), ae = Fe(), ye = a(() => {
131
+ formActions: Z
132
+ })), se = Ie(), $e = a(() => {
132
133
  var v;
133
- const e = (v = l.value) == null ? void 0 : v.key, u = Object.keys(ae);
134
+ const e = (v = r.value) == null ? void 0 : v.key, u = Object.keys(se);
134
135
  return e ? u.filter((_) => !_.startsWith(`${e}-`)) : u;
135
136
  });
136
- function ke() {
137
- E.value && l.value && x("toggleCollapse", l.value.key);
137
+ function _e() {
138
+ E.value && r.value && ee("toggleCollapse", r.value.key);
138
139
  }
139
- const se = a(() => ({
140
+ const ne = a(() => ({
140
141
  values: N.value,
141
- formActions: R
142
- })), W = a(() => ({
142
+ formActions: Z
143
+ })), U = a(() => ({
143
144
  virtual: o.virtual,
144
145
  progressive: o.progressive,
145
146
  scrollElement: o.scrollElement,
146
147
  rootMargin: o.rootMargin,
147
148
  estimateFieldHeight: o.estimateFieldHeight
148
- })), Y = a(() => Object.keys(ae).filter((e) => e !== "default"));
149
+ })), W = a(() => Object.keys(se).filter((e) => e !== "default"));
149
150
  return (e, u) => {
150
- var v, _, B, D, O, G, A;
151
- return ve.value ? (i(), h("div", {
151
+ var v, _, L, A, B, D, O;
152
+ return ge.value ? (i(), h("div", {
152
153
  key: 0,
153
- class: p(he.value),
154
- "data-group-key": (v = l.value) == null ? void 0 : v.key
154
+ class: f(ke.value),
155
+ "data-group-key": (v = r.value) == null ? void 0 : v.key
155
156
  }, [
156
- ee.value && I.value ? (i(), h("div", {
157
+ oe.value && I.value ? (i(), h("div", {
157
158
  key: 0,
158
- class: p([`${r(s)}__slot`, I.value.wrapperClass])
159
+ class: f([`${l(s)}__slot`, I.value.wrapperClass])
159
160
  }, [
160
- r(De)(I.value.content) ? m(e.$slots, I.value.content, y(f({ key: 0 }, se.value))) : (i(), w(Pe(I.value.content(se.value)), { key: 1 }))
161
- ], 2)) : V.value ? (i(!0), h(H, { key: 1 }, S($.value.children, (t, d) => {
161
+ l(Oe)(I.value.content) ? m(e.$slots, I.value.content, y(p({ key: 0 }, ne.value))) : (i(), w(Ee(I.value.content(ne.value)), { key: 1 }))
162
+ ], 2)) : R.value ? (i(!0), h(G, { key: 1 }, S($.value.children, (t, d) => {
162
163
  var g;
163
- return i(), w(r(X), f({
164
+ return i(), w(l(Q), p({
164
165
  key: t.fieldName || `row-field-${d}`,
165
- "field-config": U(t, (g = $.value) == null ? void 0 : g.wrapperClass),
166
+ "field-config": z(t, (g = $.value) == null ? void 0 : g.wrapperClass),
166
167
  rules: t.rules
167
- }, { ref_for: !0 }, W.value), M({
168
+ }, { ref_for: !0 }, U.value), H({
168
169
  default: k((n) => [
169
- m(e.$slots, t.fieldName, f({ ref_for: !0 }, n))
170
+ m(e.$slots, t.fieldName, p({ ref_for: !0 }, n))
170
171
  ]),
171
172
  _: 2
172
173
  }, [
173
- S(Y.value, (n) => ({
174
+ S(W.value, (n) => ({
174
175
  name: n,
175
176
  fn: k((C) => [
176
- m(e.$slots, n, f({ ref_for: !0 }, C))
177
+ m(e.$slots, n, p({ ref_for: !0 }, C))
177
178
  ])
178
179
  }))
179
180
  ]), 1040, ["field-config", "rules"]);
180
- }), 128)) : P.value ? (i(), h(H, { key: 3 }, [
181
- F("div", {
182
- class: p([
183
- `${r(s)}__header`,
184
- { [`${r(s)}__header--collapsible`]: E.value, [`${r(s)}__header--bar`]: e.depth === 0 }
181
+ }), 128)) : F.value ? (i(), h(G, { key: 3 }, [
182
+ P("div", {
183
+ class: f([
184
+ `${l(s)}__header`,
185
+ { [`${l(s)}__header--collapsible`]: E.value, [`${l(s)}__header--bar`]: e.depth === 0 }
185
186
  ]),
186
- "data-group-scroll-anchor": (_ = l.value) == null ? void 0 : _.key,
187
- onClick: ke
187
+ "data-group-scroll-anchor": (_ = r.value) == null ? void 0 : _.key,
188
+ onClick: _e
188
189
  }, [
189
- F("div", {
190
- class: p(`${r(s)}__header-left`)
190
+ P("div", {
191
+ class: f(`${l(s)}__header-left`)
191
192
  }, [
192
- m(e.$slots, `${(B = l.value) == null ? void 0 : B.key}-header-left`, y(b(L.value))),
193
- F("span", {
194
- class: p(`${r(s)}__title`)
193
+ m(e.$slots, `${(L = r.value) == null ? void 0 : L.key}-header-left`, y(b(V.value))),
194
+ P("span", {
195
+ class: f(`${l(s)}__title`)
195
196
  }, [
196
- (D = l.value) != null && D.title ? (i(), w(r(Ae), {
197
+ (A = r.value) != null && A.title ? (i(), w(l(je), {
197
198
  key: 0,
198
- content: l.value.title
199
- }, null, 8, ["content"])) : J("", !0)
199
+ content: r.value.title
200
+ }, null, 8, ["content"])) : q("", !0)
200
201
  ], 2),
201
- m(e.$slots, `${(O = l.value) == null ? void 0 : O.key}-title-right`, y(b(L.value)))
202
+ m(e.$slots, `${(B = r.value) == null ? void 0 : B.key}-title-right`, y(b(V.value)))
202
203
  ], 2),
203
- F("div", {
204
- class: p(`${r(s)}__header-right`)
204
+ P("div", {
205
+ class: f(`${l(s)}__header-right`)
205
206
  }, [
206
- m(e.$slots, `${(G = l.value) == null ? void 0 : G.key}-arrow-left`, y(b(L.value))),
207
+ m(e.$slots, `${(D = r.value) == null ? void 0 : D.key}-arrow-left`, y(b(V.value))),
207
208
  E.value ? (i(), h("span", {
208
209
  key: 0,
209
- class: p(`${r(s)}__arrow`)
210
+ class: f(`${l(s)}__arrow`)
210
211
  }, [
211
- Ee(r(Le), {
212
- icon: z.value ? r(Re) : r(Ve),
212
+ Re(l(Be), {
213
+ icon: T.value ? l(Le) : l(Ae),
213
214
  size: 12,
214
215
  "is-custom-svg": ""
215
216
  }, null, 8, ["icon"])
216
- ], 2)) : J("", !0),
217
- m(e.$slots, `${(A = l.value) == null ? void 0 : A.key}-header-right`, y(b(L.value)))
217
+ ], 2)) : q("", !0),
218
+ m(e.$slots, `${(O = r.value) == null ? void 0 : O.key}-header-right`, y(b(V.value)))
218
219
  ], 2)
219
- ], 10, ze),
220
- Ie(F("div", {
221
- class: p(`${r(s)}__body`)
220
+ ], 10, Ye),
221
+ Ne(P("div", {
222
+ class: f(`${l(s)}__body`)
222
223
  }, [
223
- F("div", {
224
- class: p(ge.value)
224
+ P("div", {
225
+ class: f(he.value)
225
226
  }, [
226
- (i(!0), h(H, null, S(l.value.children, (t, d) => {
227
+ (i(!0), h(G, null, S(r.value.children, (t, d) => {
227
228
  var g;
228
- return i(), h(H, {
229
- key: r(Te)(t, d)
229
+ return i(), h(G, {
230
+ key: l(Ue)(t, d)
230
231
  }, [
231
- r(K)(t) || r(me)(t) || r(Z)(t) ? (i(), w(Ue, f({
232
+ l(M)(t) || l(pe)(t) || l(X)(t) ? (i(), w(qe, p({
232
233
  key: 0,
233
234
  schema: t
234
- }, { ref_for: !0 }, de.value, {
235
- depth: r(K)(t) ? e.depth + 1 : e.depth,
236
- class: { "col-span-full": r(K)(t) || r(Z)(t) },
237
- onToggleCollapse: u[0] || (u[0] = (n) => x("toggleCollapse", n))
238
- }), M({ _: 2 }, [
239
- S(ye.value, (n) => ({
235
+ }, { ref_for: !0 }, Ce.value, {
236
+ depth: l(M)(t) ? e.depth + 1 : e.depth,
237
+ class: { "col-span-full": l(M)(t) || l(X)(t) },
238
+ onToggleCollapse: u[0] || (u[0] = (n) => ee("toggleCollapse", n))
239
+ }), H({ _: 2 }, [
240
+ S($e.value, (n) => ({
240
241
  name: n,
241
242
  fn: k((C) => [
242
- m(e.$slots, n, f({ ref_for: !0 }, C))
243
+ m(e.$slots, n, p({ ref_for: !0 }, C))
243
244
  ])
244
245
  }))
245
- ]), 1040, ["schema", "depth", "class"])) : (i(), w(r(X), f({
246
+ ]), 1040, ["schema", "depth", "class"])) : (i(), w(l(Q), p({
246
247
  key: 1,
247
- "field-config": U(t, (g = l.value) == null ? void 0 : g.wrapperClass),
248
+ "field-config": z(t, (g = r.value) == null ? void 0 : g.wrapperClass),
248
249
  rules: t.rules
249
- }, { ref_for: !0 }, W.value), M({
250
+ }, { ref_for: !0 }, U.value), H({
250
251
  default: k((n) => [
251
- m(e.$slots, t.fieldName, f({ ref_for: !0 }, n))
252
+ m(e.$slots, t.fieldName, p({ ref_for: !0 }, n))
252
253
  ]),
253
254
  _: 2
254
255
  }, [
255
- S(Y.value, (n) => ({
256
+ S(W.value, (n) => ({
256
257
  name: n,
257
258
  fn: k((C) => [
258
- m(e.$slots, n, f({ ref_for: !0 }, C))
259
+ m(e.$slots, n, p({ ref_for: !0 }, C))
259
260
  ])
260
261
  }))
261
262
  ]), 1040, ["field-config", "rules"]))
@@ -263,29 +264,29 @@ const je = ["data-group-key"], ze = ["data-group-scroll-anchor"], fe = "grid-col
263
264
  }), 128))
264
265
  ], 2)
265
266
  ], 2), [
266
- [Ne, !z.value]
267
+ [Ve, !T.value]
267
268
  ])
268
- ], 64)) : (i(), w(r(X), f({
269
+ ], 64)) : (i(), w(l(Q), p({
269
270
  key: 2,
270
- "field-config": U(e.schema),
271
+ "field-config": z(e.schema),
271
272
  rules: e.schema.rules
272
- }, W.value), M({
273
+ }, U.value), H({
273
274
  default: k((t) => [
274
275
  m(e.$slots, o.schema.fieldName, y(b(t)))
275
276
  ]),
276
277
  _: 2
277
278
  }, [
278
- S(Y.value, (t) => ({
279
+ S(W.value, (t) => ({
279
280
  name: t,
280
281
  fn: k((d) => [
281
282
  m(e.$slots, t, y(b(d)))
282
283
  ])
283
284
  }))
284
285
  ]), 1040, ["field-config", "rules"]))
285
- ], 10, je)) : J("", !0);
286
+ ], 10, We)) : q("", !0);
286
287
  };
287
288
  }
288
289
  });
289
290
  export {
290
- Ue as default
291
+ qe as default
291
292
  };