@dazhicheng/ui 1.6.41 → 1.6.42

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