@dazhicheng/ui 1.6.41 → 1.6.43

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 (99) 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 +20 -25
  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-keep-alive/core/Suspense.d.ts +3 -0
  40. package/dist/components/tt-keep-alive/core/Suspense.js +10 -0
  41. package/dist/components/tt-keep-alive/core/apiAsyncComponent.d.ts +2 -0
  42. package/dist/components/tt-keep-alive/core/apiAsyncComponent.js +6 -0
  43. package/dist/components/tt-keep-alive/core/component.d.ts +2 -0
  44. package/dist/components/tt-keep-alive/core/component.js +7 -0
  45. package/dist/components/tt-keep-alive/core/componentPublicInstance.d.ts +5 -0
  46. package/dist/components/tt-keep-alive/core/devtools.d.ts +2 -0
  47. package/dist/components/tt-keep-alive/core/errorHandling.d.ts +17 -0
  48. package/dist/components/tt-keep-alive/core/errorHandling.js +4 -0
  49. package/dist/components/tt-keep-alive/core/renderer.d.ts +32 -0
  50. package/dist/components/tt-keep-alive/core/renderer.js +8 -0
  51. package/dist/components/tt-keep-alive/core/shapeFlags.d.ts +13 -0
  52. package/dist/components/tt-keep-alive/core/vnode.d.ts +6 -0
  53. package/dist/components/tt-keep-alive/core/vnode.js +8 -0
  54. package/dist/components/tt-keep-alive/index.d.ts +26 -0
  55. package/dist/components/tt-keep-alive/index.js +139 -0
  56. package/dist/components/tt-loading/src/loading.vue.js +2 -2
  57. package/dist/components/tt-loading/src/loading.vue2.js +22 -22
  58. package/dist/components/tt-log/index.vue.js +1 -1
  59. package/dist/components/tt-modal/index.d.ts +182 -162
  60. package/dist/components/tt-modal/src/RenderModal.vue.d.ts +54 -54
  61. package/dist/components/tt-modal/src/RenderModal.vue.js +236 -228
  62. package/dist/components/tt-modal/src/components/ModalWrapper.vue.js +1 -1
  63. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +26 -22
  64. package/dist/components/tt-modal/src/utils/resolve-modal-target.js +57 -53
  65. package/dist/components/tt-nav-anchor/src/TtNavAnchor.vue.js +123 -123
  66. package/dist/components/tt-panel-select/src/components/PanelLeft.vue.js +24 -24
  67. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.d.ts +63 -67
  68. package/dist/components/tt-panel-select/src/components/PanelMiddle.vue.js +145 -145
  69. package/dist/components/tt-panel-select/src/components/PanelRight.vue.d.ts +10 -12
  70. package/dist/components/tt-panel-select/src/components/PanelRight.vue.js +48 -48
  71. package/dist/components/tt-panel-select/src/index.vue.d.ts +63 -67
  72. package/dist/components/tt-panel-select/src/index.vue.js +137 -137
  73. package/dist/components/tt-radio-group/index.vue.js +1 -1
  74. package/dist/components/tt-select/src/Select.vue.d.ts +8 -12
  75. package/dist/components/tt-select/src/Select.vue.js +1 -1
  76. package/dist/components/tt-select/src/components/SelectTable.vue.js +1 -1
  77. package/dist/components/tt-select/src/components/Table.vue.js +1 -1
  78. package/dist/components/tt-table/index.d.ts +20 -24
  79. package/dist/components/tt-table/index.js +1 -1
  80. package/dist/components/tt-table/src/Table.vue.d.ts +40 -48
  81. package/dist/components/tt-table/src/Table.vue.js +1 -1
  82. package/dist/components/tt-table/src/TableForm.vue.d.ts +8 -12
  83. package/dist/components/tt-table/src/TableForm.vue.js +1 -1
  84. package/dist/components/tt-table/src/components/TableColumnModal.vue2.js +1 -1
  85. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +40 -48
  86. package/dist/components/tt-text/index.vue2.js +22 -22
  87. package/dist/components/tt-upload/index.d.ts +60 -60
  88. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +37 -37
  89. package/dist/components/tt-upload/src/TtUpload.vue.js +1 -1
  90. package/dist/components/tt-upload/src/typing.d.ts +17 -17
  91. package/dist/hooks/useScreenshotOss.js +1 -1
  92. package/dist/index.d.ts +1 -0
  93. package/dist/index.js +80 -78
  94. package/dist/node_modules/.pnpm/@vue_shared@3.5.34/node_modules/@vue/shared/dist/shared.esm-bundler.js +17 -0
  95. package/dist/packages/hooks/src/propTypes.js +1 -1
  96. package/dist/plugins/vxeTable/switchStatus.js +1 -1
  97. package/dist/style.css +1 -1
  98. package/package.json +3 -2
  99. /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,5 +1,5 @@
1
- import { defineComponent as ze, mergeModels as I, useModel as je, computed as s, watch as V, ref as h, useTemplateRef as O, unref as i, onMounted as qe, createElementBlock as z, openBlock as k, normalizeClass as j, createVNode as q, mergeProps as He, withCtx as Je, withDirectives as Qe, normalizeStyle as Xe, createBlock as H, createCommentVNode as J, nextTick as M } from "vue";
2
- 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";
1
+ import { defineComponent as ze, mergeModels as I, useModel as je, computed as u, watch as O, ref as v, useTemplateRef as M, unref as r, onMounted as qe, createElementBlock as z, openBlock as A, normalizeClass as j, createVNode as q, mergeProps as He, withCtx as Je, withDirectives as Qe, normalizeStyle as Xe, createBlock as H, createCommentVNode as J, nextTick as E } from "vue";
2
+ 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";
3
3
  import { useDesign as Ye } from "../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { ElSelect as Ze, vLoading as el } from "element-plus";
@@ -19,12 +19,12 @@ import { useResizeObserver as ll } from "@vueuse/core";
19
19
  import { useSelectCollapseOptions as tl } from "../../tt-form/src/hooks/useSelectCollapse.js";
20
20
  import { ALL as al, DEFAULT_PANEL_SELECT_SEPARATORS as ol } from "./common.js";
21
21
  import nl from "./components/PanelLeft.vue.js";
22
- import rl from "./components/PanelMiddle.vue.js";
23
- import il from "./components/PanelRight.vue.js";
24
- import { usePanelSelectData as sl } from "./hooks/usePanelData.js";
25
- import { usePanelSelectSelection as ul } from "./hooks/usePanelSelection.js";
22
+ import il from "./components/PanelMiddle.vue.js";
23
+ import rl from "./components/PanelRight.vue.js";
24
+ import { usePanelSelectData as ul } from "./hooks/usePanelData.js";
25
+ import { usePanelSelectSelection as sl } from "./hooks/usePanelSelection.js";
26
26
  /* empty css */
27
- const p = 4, Tl = /* @__PURE__ */ ze({
27
+ const m = 4, Tl = /* @__PURE__ */ ze({
28
28
  name: "TtPanelSelect",
29
29
  __name: "index",
30
30
  props: /* @__PURE__ */ I({
@@ -62,30 +62,30 @@ const p = 4, Tl = /* @__PURE__ */ ze({
62
62
  modelModifiers: {}
63
63
  }),
64
64
  emits: /* @__PURE__ */ I(["visible-change", "change"], ["update:modelValue"]),
65
- setup(E, { expose: Q, emit: X }) {
66
- const Y = el, Z = Ze, t = E, F = X, { prefixCls: c } = Ye("panel-select"), {
65
+ setup(s, { expose: Q, emit: X }) {
66
+ const Y = el, Z = Ze, t = s, F = X, { prefixCls: p } = Ye("panel-select"), {
67
67
  loading: ee,
68
- fetchApi: m,
68
+ fetchApi: f,
69
69
  treeOptions: le,
70
70
  navTreeOptions: R,
71
71
  navNodes: te,
72
- leafNodes: f,
72
+ leafNodes: h,
73
73
  isFirstLoaded: ae,
74
74
  buildOptionGroups: oe
75
- } = sl(t), n = je(E, "modelValue");
75
+ } = ul(t), n = je(s, "modelValue");
76
76
  let L;
77
- const P = s(() => t.disabled), ne = s(() => {
77
+ const P = u(() => t.disabled), ne = u(() => {
78
78
  const e = /* @__PURE__ */ new Map();
79
- return f.value.forEach((l) => e.set(l.value, l.label)), e;
79
+ return h.value.forEach((l) => e.set(l.value, l.label)), e;
80
80
  });
81
- function A(e) {
81
+ function C(e) {
82
82
  return e === t.showAllField ? { label: "全部", value: t.showAllField } : { label: ne.value.get(e) ?? String(e), value: e };
83
83
  }
84
84
  function $(e) {
85
85
  if (e != null)
86
86
  return typeof e == "object" && "value" in e ? e.value : e;
87
87
  }
88
- const re = s({
88
+ const ie = u({
89
89
  get() {
90
90
  return Array.isArray(n.value) ? t.multiple ? n.value : n.value.slice(-1) : n.value === void 0 ? [] : [n.value];
91
91
  },
@@ -93,20 +93,20 @@ const p = 4, Tl = /* @__PURE__ */ ze({
93
93
  n.value = t.multiple ? [...e] : e.at(-1);
94
94
  }
95
95
  });
96
- V([() => t.multiple, () => n.value], ([e, l]) => {
96
+ O([() => t.multiple, () => n.value], ([e, l]) => {
97
97
  if (e) {
98
98
  Array.isArray(l) || (n.value = l === void 0 ? [] : [l]);
99
99
  return;
100
100
  }
101
101
  Array.isArray(l) && (n.value = l.at(-1));
102
102
  });
103
- const C = h(), v = h(""), y = h(""), b = h(), S = O("middleRef"), w = O("selectWrapRef"), N = O("selectRef"), x = h(0);
103
+ const x = v(), y = v(""), w = v(""), b = v(), S = M("middleRef"), g = M("selectWrapRef"), N = M("selectRef"), V = v(0);
104
104
  function B() {
105
- const e = w.value;
106
- e && (x.value = e.offsetWidth);
105
+ const e = g.value;
106
+ e && (V.value = e.offsetWidth);
107
107
  }
108
- ll(w, () => B());
109
- const ie = s(() => ({
108
+ ll(g, () => B());
109
+ const re = u(() => ({
110
110
  componentProps: {
111
111
  multiple: t.multiple,
112
112
  component: {
@@ -114,53 +114,53 @@ const p = 4, Tl = /* @__PURE__ */ ze({
114
114
  }
115
115
  },
116
116
  component: "TtPanelSelect",
117
- selectWrapRef: w,
117
+ selectWrapRef: g,
118
118
  selectRef: N
119
- })), { selectComponentProps: se } = tl(ie), T = s(() => {
120
- const e = v.value.trim().toLowerCase();
119
+ })), { selectComponentProps: ue } = tl(re), T = u(() => {
120
+ const e = y.value.trim().toLowerCase();
121
121
  if (!e) return R.value;
122
122
  const l = (a) => {
123
123
  const o = [];
124
- return a.forEach((r) => {
125
- var U;
126
- const u = (U = r.children) != null && U.length ? l(r.children) : void 0;
127
- (String(r.label).toLowerCase().includes(e) || u && u.length) && o.push({ ...r, children: u != null && u.length ? u : void 0 });
124
+ return a.forEach((i) => {
125
+ var _;
126
+ const c = (_ = i.children) != null && _.length ? l(i.children) : void 0;
127
+ (String(i.label).toLowerCase().includes(e) || c && c.length) && o.push({ ...i, children: c != null && c.length ? c : void 0 });
128
128
  }), o;
129
129
  };
130
130
  return l(R.value);
131
- }), ue = s(() => {
131
+ }), se = u(() => {
132
132
  const e = [], l = (a) => {
133
133
  a.forEach((o) => {
134
- var r;
135
- e.push(o.value), (r = o.children) != null && r.length && l(o.children);
134
+ var i;
135
+ e.push(o.value), (i = o.children) != null && i.length && l(o.children);
136
136
  });
137
137
  };
138
138
  return l(T.value), e;
139
- }), g = s(() => oe(f.value, y.value)), de = s(() => {
139
+ }), k = u(() => oe(h.value, w.value)), ce = u(() => {
140
140
  const e = "minmax(var(--tt-panel-select-middle-width, 450px), 1fr)";
141
141
  return t.showNav && !t.multiple ? `200px ${e}` : !t.showNav && t.multiple ? `${e} 180px` : !t.showNav && !t.multiple ? e : `200px ${e} 180px`;
142
- }), ce = s(() => {
142
+ }), de = u(() => {
143
143
  const e = "var(--tt-panel-select-middle-width, 450px)";
144
144
  return t.showNav && !t.multiple ? `max(calc(200px + ${e}), 800px)` : !t.showNav && t.multiple ? `max(calc(${e} + 180px), 800px)` : !t.showNav && !t.multiple ? `max(${e}, 800px)` : `max(calc(200px + ${e} + 180px), 800px)`;
145
- }), pe = s(() => {
145
+ }), pe = u(() => {
146
146
  const e = [];
147
- return g.value.forEach((l) => {
147
+ return k.value.forEach((l) => {
148
148
  !(t.showOriginMode && l.value === "__origin__") && e.push({ key: `group-${String(l.value)}`, type: "group", group: l });
149
- const o = Math.ceil(l.options.length / p);
150
- for (let r = 0; r < l.options.length; r += p) {
151
- const u = r / p;
149
+ const o = Math.ceil(l.options.length / m);
150
+ for (let i = 0; i < l.options.length; i += m) {
151
+ const c = i / m;
152
152
  e.push({
153
- key: `options-${String(l.value)}-${r / p}`,
153
+ key: `options-${String(l.value)}-${i / m}`,
154
154
  type: "options",
155
155
  group: l,
156
- options: l.options.slice(r, r + p),
157
- isLast: u === o - 1
156
+ options: l.options.slice(i, i + m),
157
+ isLast: c === o - 1
158
158
  });
159
159
  }
160
160
  }), e;
161
161
  }), {
162
162
  selectedOptions: me,
163
- selectedValueSet: _,
163
+ selectedValueSet: G,
164
164
  isAllChecked: fe,
165
165
  isIndeterminate: he,
166
166
  getGroupCheckCount: ve,
@@ -170,44 +170,44 @@ const p = 4, Tl = /* @__PURE__ */ ze({
170
170
  handleOptionsCheck: ke,
171
171
  handleCheckAll: Ae,
172
172
  clearSelected: Ce,
173
- removeSelected: be,
174
- withLockedSelectedValues: Se
175
- } = ul({
176
- multiple: s(() => t.multiple),
173
+ removeSelected: xe,
174
+ withLockedSelectedValues: be
175
+ } = sl({
176
+ multiple: u(() => t.multiple),
177
177
  modelValue: n,
178
- selectedValues: re,
179
- leafNodes: f,
180
- allValue: s(() => t.showAllField)
181
- }), G = s({
178
+ selectedValues: ie,
179
+ leafNodes: h,
180
+ allValue: u(() => t.showAllField)
181
+ }), W = u({
182
182
  get() {
183
183
  if (t.multiple)
184
- return (Array.isArray(n.value) ? n.value : n.value === void 0 ? [] : [n.value]).map((l) => A(l));
184
+ return (Array.isArray(n.value) ? n.value : n.value === void 0 ? [] : [n.value]).map((l) => C(l));
185
185
  if (Array.isArray(n.value)) {
186
186
  const e = n.value.at(-1);
187
- return e === void 0 ? void 0 : A(e);
187
+ return e === void 0 ? void 0 : C(e);
188
188
  }
189
- return n.value === void 0 ? void 0 : A(n.value);
189
+ return n.value === void 0 ? void 0 : C(n.value);
190
190
  },
191
191
  set(e) {
192
- const l = i(n);
192
+ const l = r(n);
193
193
  if (L = Array.isArray(l) ? [...l] : l, t.multiple) {
194
- const o = (Array.isArray(e) ? e : []).map((r) => $(r)).filter((r) => r !== void 0);
195
- n.value = Se(o);
194
+ const o = (Array.isArray(e) ? e : []).map((i) => $(i)).filter((i) => i !== void 0);
195
+ n.value = be(o);
196
196
  return;
197
197
  }
198
198
  n.value = $(e);
199
199
  }
200
- }), W = s(
200
+ }), D = u(
201
201
  () => {
202
202
  const e = {}, l = {};
203
- return g.value.forEach((a) => {
204
- const { enabledCount: o, checkedCount: r } = ve(a), u = String(a.value);
205
- e[u] = o > 0 && r === o, l[u] = o > 0 && r > 0 && r < o;
203
+ return k.value.forEach((a) => {
204
+ const { enabledCount: o, checkedCount: i } = ve(a), c = String(a.value);
205
+ e[c] = o > 0 && i === o, l[c] = o > 0 && i > 0 && i < o;
206
206
  }), { checkedMap: e, indeterminateMap: l };
207
207
  }
208
- ), xe = s(() => W.value.checkedMap), Ve = s(() => W.value.indeterminateMap), Oe = s(() => _.value.has(t.showAllField)), D = s(() => [...t.showAll ? [{ label: "全部", value: t.showAllField }] : [], ...f.value.map((l) => ({ ...l }))]);
208
+ ), Se = u(() => D.value.checkedMap), Ve = u(() => D.value.indeterminateMap), Oe = u(() => G.value.has(t.showAllField)), K = u(() => [...t.showAll ? [{ label: "全部", value: t.showAllField }] : [], ...h.value.map((l) => ({ ...l }))]);
209
209
  function Me(e) {
210
- const l = i(D);
210
+ const l = r(K);
211
211
  if (Array.isArray(e)) {
212
212
  const a = new Set(e);
213
213
  return l.filter((o) => o.value !== void 0 && a.has(o.value));
@@ -217,79 +217,79 @@ const p = 4, Tl = /* @__PURE__ */ ze({
217
217
  }
218
218
  function Ee(e) {
219
219
  var a;
220
- if (t.showPinyinMode || g.value.some((o) => o.value === e.value)) return e.value;
221
- const l = f.value.find((o) => o.path.some((r) => r.value === e.value));
220
+ if (t.showPinyinMode || k.value.some((o) => o.value === e.value)) return e.value;
221
+ const l = h.value.find((o) => o.path.some((i) => i.value === e.value));
222
222
  return (a = l == null ? void 0 : l.path.at(-2)) == null ? void 0 : a.value;
223
223
  }
224
224
  function Fe(e) {
225
- C.value = e.value;
225
+ x.value = e.value;
226
226
  const l = Ee(e);
227
- b.value = void 0, M(() => {
227
+ b.value = void 0, E(() => {
228
228
  var a;
229
229
  b.value = l, l !== void 0 && ((a = S.value) == null || a.scrollToGroup(l));
230
230
  });
231
231
  }
232
232
  function Re(e) {
233
- v.value = e;
233
+ y.value = e;
234
234
  }
235
235
  function Le(e) {
236
- y.value = e;
236
+ w.value = e;
237
237
  }
238
238
  function Pe(e, l) {
239
- const a = g.value.find((o) => o.value === e);
239
+ const a = k.value.find((o) => o.value === e);
240
240
  a && ye(a, l);
241
241
  }
242
242
  async function $e(e) {
243
243
  var l;
244
- F("visible-change", e), e && (y.value = "", v.value = "", await M(), (l = S.value) == null || l.inputFocus(), B(), t.alwaysLoad ? await m() : !t.immediate && !i(ae) && await m());
244
+ F("visible-change", e), e && (w.value = "", y.value = "", await E(), (l = S.value) == null || l.inputFocus(), B(), t.alwaysLoad ? await f() : !t.immediate && !r(ae) && await f());
245
245
  }
246
246
  function Ne() {
247
- K(L);
247
+ U(L);
248
248
  }
249
249
  function Be(e) {
250
- F("change", e, [...i(D)], Me(e));
250
+ F("change", e, [...r(K)], Me(e));
251
251
  }
252
252
  function Te(e, l) {
253
253
  return Array.isArray(e) && Array.isArray(l) ? e.length === l.length && e.every((a, o) => a === l[o]) : e === l;
254
254
  }
255
- function K(e) {
256
- M(() => {
257
- const l = i(n);
255
+ function U(e) {
256
+ E(() => {
257
+ const l = r(n);
258
258
  Te(l, e) || Be(l);
259
259
  });
260
260
  }
261
261
  function d(e) {
262
- const l = i(n), a = Array.isArray(l) ? [...l] : l;
263
- e(), K(a);
262
+ const l = r(n), a = Array.isArray(l) ? [...l] : l;
263
+ e(), U(a);
264
264
  }
265
- function _e(e) {
265
+ function Ge(e) {
266
266
  d(() => {
267
267
  we(e);
268
268
  });
269
269
  }
270
- function Ge(e) {
270
+ function We(e) {
271
271
  d(() => {
272
272
  Ae(e);
273
273
  });
274
274
  }
275
- function We(e, l) {
275
+ function De(e, l) {
276
276
  d(() => {
277
277
  Pe(e, l);
278
278
  });
279
279
  }
280
- function De(e, l) {
280
+ function Ke(e, l) {
281
281
  d(() => {
282
282
  ge(e, l);
283
283
  });
284
284
  }
285
- function Ke(e, l) {
285
+ function Ue(e, l) {
286
286
  d(() => {
287
287
  ke(e, l);
288
288
  });
289
289
  }
290
- function Ue(e) {
290
+ function _e(e) {
291
291
  d(() => {
292
- be(e);
292
+ xe(e);
293
293
  });
294
294
  }
295
295
  function Ie() {
@@ -297,108 +297,108 @@ const p = 4, Tl = /* @__PURE__ */ ze({
297
297
  Ce();
298
298
  });
299
299
  }
300
- return V(
300
+ return O(
301
301
  () => t.params,
302
302
  () => {
303
- m();
303
+ f();
304
304
  },
305
305
  { deep: !0 }
306
- ), V(
306
+ ), O(
307
307
  te,
308
308
  (e) => {
309
309
  var l;
310
- C.value !== void 0 || !e.length || (C.value = (l = e[0]) == null ? void 0 : l.value);
310
+ x.value !== void 0 || !e.length || (x.value = (l = e[0]) == null ? void 0 : l.value);
311
311
  },
312
312
  { immediate: !0 }
313
313
  ), qe(() => {
314
- t.immediate && m();
314
+ t.immediate && f();
315
315
  }), Q({
316
316
  /** 重新加载数据源*/
317
- reload: m,
317
+ reload: f,
318
318
  /** 获取当前归一化后的树形选项数据 */
319
- getOptions: () => i(le),
319
+ getOptions: () => r(le),
320
320
  /** 获取当前v-model值 */
321
- getValue: () => i(n)
322
- }), (e, l) => (k(), z("div", {
321
+ getValue: () => r(n)
322
+ }), (e, l) => (A(), z("div", {
323
323
  ref_key: "selectWrapRef",
324
- ref: w,
325
- class: j(i(c))
324
+ ref: g,
325
+ class: j(r(p))
326
326
  }, [
327
- q(i(Z), He({
327
+ q(r(Z), He({
328
328
  ref_key: "selectRef",
329
329
  ref: N,
330
- modelValue: G.value,
331
- "onUpdate:modelValue": l[0] || (l[0] = (a) => G.value = a)
332
- }, i(se), {
333
- multiple: e.multiple,
330
+ modelValue: W.value,
331
+ "onUpdate:modelValue": l[0] || (l[0] = (a) => W.value = a)
332
+ }, r(ue), {
333
+ multiple: s.multiple,
334
334
  filterable: !1,
335
- placeholder: e.placeholder,
335
+ placeholder: s.placeholder,
336
336
  persistent: !1,
337
337
  "fallback-placements": ["bottom-start", "bottom-end", "bottom", "top-start", "top-end", "top", "right", "left"],
338
- disabled: e.disabled,
339
- "popper-class": `${i(c)}__popper vxe-table--ignore-clear`,
338
+ disabled: s.disabled,
339
+ "popper-class": `${r(p)}__popper vxe-table--ignore-clear`,
340
340
  onVisibleChange: $e,
341
341
  onChange: Ne
342
342
  }), {
343
343
  empty: Je(() => [
344
- Qe((k(), z("div", {
344
+ Qe((A(), z("div", {
345
345
  "element-loading-text": "加载中",
346
- class: j(`${i(c)}__panel`),
346
+ class: j(`${r(p)}__panel`),
347
347
  style: Xe({
348
- "--columns": de.value,
349
- "--panel-min-width": ce.value,
350
- "--panel-width": x.value ? `${x.value}px` : "100%"
348
+ "--columns": ce.value,
349
+ "--panel-min-width": de.value,
350
+ "--panel-width": V.value ? `${V.value}px` : "100%"
351
351
  })
352
352
  }, [
353
- t.showNav ? (k(), H(nl, {
353
+ t.showNav ? (A(), H(nl, {
354
354
  key: 0,
355
- "prefix-cls": i(c),
356
- keyword: v.value,
355
+ "prefix-cls": r(p),
356
+ keyword: y.value,
357
357
  "tree-data": T.value,
358
- "expanded-keys": ue.value,
359
- "left-placeholder": e.leftPlaceholder,
358
+ "expanded-keys": se.value,
359
+ "left-placeholder": s.leftPlaceholder,
360
360
  "onUpdate:keyword": Re,
361
361
  onSelect: Fe
362
362
  }, null, 8, ["prefix-cls", "keyword", "tree-data", "expanded-keys", "left-placeholder"])) : J("", !0),
363
- q(rl, {
363
+ q(il, {
364
364
  ref_key: "middleRef",
365
365
  ref: S,
366
- "prefix-cls": i(c),
367
- multiple: e.multiple,
368
- keyword: y.value,
366
+ "prefix-cls": r(p),
367
+ multiple: s.multiple,
368
+ keyword: w.value,
369
369
  rows: pe.value,
370
370
  disabled: P.value,
371
371
  "show-all": t.showAll,
372
- "option-per-row": p,
372
+ "option-per-row": m,
373
373
  "row-height": 40,
374
- "selected-value-set": i(_),
375
- "is-all-checked": i(fe),
376
- "is-indeterminate": i(he),
374
+ "selected-value-set": r(G),
375
+ "is-all-checked": r(fe),
376
+ "is-indeterminate": r(he),
377
377
  "all-checked": Oe.value,
378
378
  "scroll-to-group-value": b.value,
379
- "group-checked-map": xe.value,
379
+ "group-checked-map": Se.value,
380
380
  "group-indeterminate-map": Ve.value,
381
- "paste-search": e.pasteSearch,
382
- separator: e.separator,
383
- "middle-placeholder": e.middlePlaceholder,
381
+ "paste-search": s.pasteSearch,
382
+ separator: s.separator,
383
+ "middle-placeholder": s.middlePlaceholder,
384
384
  "onUpdate:keyword": Le,
385
- onAllCheck: _e,
386
- onCheckAll: Ge,
387
- onGroupCheck: We,
388
- onOptionCheck: De,
389
- onOptionsCheck: Ke
385
+ onAllCheck: Ge,
386
+ onCheckAll: We,
387
+ onGroupCheck: De,
388
+ onOptionCheck: Ke,
389
+ onOptionsCheck: Ue
390
390
  }, null, 8, ["prefix-cls", "multiple", "keyword", "rows", "disabled", "show-all", "selected-value-set", "is-all-checked", "is-indeterminate", "all-checked", "scroll-to-group-value", "group-checked-map", "group-indeterminate-map", "paste-search", "separator", "middle-placeholder"]),
391
- t.multiple ? (k(), H(il, {
391
+ t.multiple ? (A(), H(rl, {
392
392
  key: 1,
393
- "prefix-cls": i(c),
394
- multiple: e.multiple,
393
+ "prefix-cls": r(p),
394
+ multiple: s.multiple,
395
395
  disabled: P.value,
396
- "selected-options": i(me),
396
+ "selected-options": r(me),
397
397
  onClearAll: Ie,
398
- onRemove: Ue
398
+ onRemove: _e
399
399
  }, null, 8, ["prefix-cls", "multiple", "disabled", "selected-options"])) : J("", !0)
400
400
  ], 6)), [
401
- [i(Y), i(ee)]
401
+ [r(Y), r(ee)]
402
402
  ])
403
403
  ]),
404
404
  _: 1
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as V, mergeModels as d, useModel as y, useAttrs as B, computed as k, ref as p, watch as x, createBlock as L, openBlock as w, unref as c, mergeProps as E, withCtx as M, renderSlot as P } from "vue";
2
- 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";
2
+ 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";
3
3
  import { useDesign as A } from "../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { useFormItem as D, ElRadioGroup as F } from "element-plus";
@@ -69,9 +69,7 @@ declare function __VLS_template(): {
69
69
  readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
70
70
  readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
71
71
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
72
- $attrs: {
73
- [x: string]: unknown;
74
- };
72
+ $attrs: import('vue').Attrs;
75
73
  $refs: {
76
74
  [x: string]: unknown;
77
75
  } & {
@@ -324,7 +322,7 @@ declare function __VLS_template(): {
324
322
  "onRadio-change"?: ((...args: any[]) => any) | undefined;
325
323
  "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
326
324
  "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
327
- }>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & import('vue').ShallowUnwrapRef<{
325
+ }>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & {
328
326
  clearCurrentRow: () => void;
329
327
  setCheckboxRow: (rows: any | any[], checked: boolean) => void;
330
328
  clearCheckboxRow: () => void;
@@ -349,7 +347,7 @@ declare function __VLS_template(): {
349
347
  setCurrentRow: (row: any) => void;
350
348
  getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
351
349
  };
352
- }> & {} & import('vue').ComponentCustomProperties & {} & {
350
+ } & {} & import('vue').ComponentCustomProperties & {} & {
353
351
  $slots: Readonly<{
354
352
  [slotName: string]: (props: Record<string, any>) => import('vue').VNode;
355
353
  empty: () => import('vue').VNode;
@@ -430,8 +428,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
430
428
  "update:modelValue": (val: TtSelectModelValueType) => any;
431
429
  "fetch-success": (options: TtSelectDataOptions[]) => any;
432
430
  "fetch-error": (error: Record<string, any>) => any;
433
- "visible-change": (visible: boolean) => any;
434
431
  "remove-tag": (tagValue: TtSelectModelUnionType) => any;
432
+ "visible-change": (visible: boolean) => any;
435
433
  "scroll-boundary": (event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any;
436
434
  "select-change": (val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any;
437
435
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -500,8 +498,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
500
498
  "onUpdate:modelValue"?: ((val: TtSelectModelValueType) => any) | undefined;
501
499
  "onFetch-success"?: ((options: TtSelectDataOptions[]) => any) | undefined;
502
500
  "onFetch-error"?: ((error: Record<string, any>) => any) | undefined;
503
- "onVisible-change"?: ((visible: boolean) => any) | undefined;
504
501
  "onRemove-tag"?: ((tagValue: TtSelectModelUnionType) => any) | undefined;
502
+ "onVisible-change"?: ((visible: boolean) => any) | undefined;
505
503
  "onScroll-boundary"?: ((event: VxeGridDefines.ScrollBoundaryEventParams<any>) => any) | undefined;
506
504
  "onSelect-change"?: ((val: TtSelectModelValueType, opt: TtSelectSelectOptions) => any) | undefined;
507
505
  }>, {
@@ -564,9 +562,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
564
562
  readonly "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
565
563
  readonly "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
566
564
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox">;
567
- $attrs: {
568
- [x: string]: unknown;
569
- };
565
+ $attrs: import('vue').Attrs;
570
566
  $refs: {
571
567
  [x: string]: unknown;
572
568
  } & {
@@ -819,7 +815,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
819
815
  "onRadio-change"?: ((...args: any[]) => any) | undefined;
820
816
  "onCheckbox-change"?: ((...args: any[]) => any) | undefined;
821
817
  "onCheckbox-all"?: ((...args: any[]) => any) | undefined;
822
- }>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & import('vue').ShallowUnwrapRef<{
818
+ }>, "getGridInstance" | ("grid" | "list" | "reload" | "loading" | "multiple" | "multipleLimit" | "configProps" | "disableFn" | "showPager" | "pagination" | "selectValue" | "selectWidth" | "deleteField" | "setPagination" | "getPagination" | "hasNextPage" | "showCheckbox") | "clearCurrentRow" | "setCheckboxRow" | "clearCheckboxRow" | "setRadioRow" | "clearRadioRow" | "scrollTo" | "getCurrentRecord" | "getRowIndex" | "scrollToRow" | "setCurrentRow" | "getData"> & {
823
819
  clearCurrentRow: () => void;
824
820
  setCheckboxRow: (rows: any | any[], checked: boolean) => void;
825
821
  clearCheckboxRow: () => void;
@@ -844,7 +840,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
844
840
  setCurrentRow: (row: any) => void;
845
841
  getData: (rowIndex?: number) => Record<string, any> | Record<string, any>[] | undefined;
846
842
  };
847
- }> & {} & import('vue').ComponentCustomProperties & {} & {
843
+ } & {} & import('vue').ComponentCustomProperties & {} & {
848
844
  $slots: Readonly<{
849
845
  [slotName: string]: (props: Record<string, any>) => import('vue').VNode;
850
846
  empty: () => import('vue').VNode;
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as Ne, useAttrs as Re, ref as g, useSlots as Ae, computed as a, unref as l, watch as Be, createElementBlock as ie, openBlock as x, mergeProps as h, createBlock as We, createCommentVNode as Ke, resolveDynamicComponent as ze, createSlots as I, withCtx as c, renderSlot as p, normalizeProps as P, guardReactiveProps as y, createElementVNode as He, normalizeClass as re, toDisplayString as _e, renderList as O, createVNode as u, toHandlers as ae, withModifiers as Ge, withDirectives as Ue, resolveComponent as qe, toValue as Je, isRef as Qe, isReactive as Xe } from "vue";
2
2
  import Ye from "./components/Table.vue.js";
3
3
  /* empty css */
4
- 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";
4
+ 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";
5
5
  import { useDesign as Ze } from "../../../packages/hooks/src/useDesign.js";
6
6
  import "axios";
7
7
  import { ElIcon as et, ElSelect as tt } from "element-plus";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as C, useSlots as y, computed as i, unref as r, withDirectives as I, createElementBlock as b, openBlock as P, normalizeClass as R, createVNode as p, mergeProps as S, toHandlers as T, createSlots as k, withCtx as a, createElementVNode as D, renderList as V, renderSlot as z, normalizeProps as N, guardReactiveProps as O } from "vue";
2
- 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";
2
+ 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";
3
3
  import { useDesign as j } from "../../../../packages/hooks/src/useDesign.js";
4
4
  import "axios";
5
5
  import { vLoading as B } from "element-plus";
@@ -12,7 +12,7 @@ import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/en
12
12
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/mode-ecb.js";
13
13
  import "../../../../node_modules/.pnpm/crypto-js@4.2.0/node_modules/crypto-js/pad-pkcs7.js";
14
14
  import { debounce as Pe, cloneDeep as Se } from "lodash-es";
15
- 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";
15
+ 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";
16
16
  import { useDesign as Ee } from "../../../../packages/hooks/src/useDesign.js";
17
17
  import "vue-router";
18
18
  import { TtEmpty as Ne } from "../../../tt-empty/index.js";