yc-vep-ui 0.2.0 → 0.2.1

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/vep-ui.es.js CHANGED
@@ -1,14 +1,14 @@
1
- import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createPropsRestProxy as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, reactive as x, ref as S, renderList as C, renderSlot as w, resolveComponent as T, resolveDirective as E, resolveDynamicComponent as D, setBlockTracking as O, toDisplayString as k, toValue as A, unref as j, useAttrs as M, useCssVars as N, useModel as P, watch as F, watchEffect as I, withCtx as L, withDirectives as R, withKeys as ee, withModifiers as te } from "vue";
2
- import { AiEditor as ne } from "aieditor";
1
+ import { Fragment as e, computed as t, createBlock as n, createCommentVNode as r, createElementBlock as i, createElementVNode as a, createPropsRestProxy as o, createSlots as s, createTextVNode as c, createVNode as l, defineComponent as u, getCurrentInstance as d, h as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onMounted as v, onUnmounted as y, openBlock as b, reactive as x, ref as S, renderList as C, renderSlot as w, resolveComponent as T, resolveDirective as E, resolveDynamicComponent as D, setBlockTracking as O, toDisplayString as k, toValue as A, unref as j, useAttrs as M, useCssVars as N, useModel as P, watch as F, watchEffect as ee, withCtx as I, withDirectives as L, withKeys as te, withModifiers as ne } from "vue";
2
+ import { AiEditor as re } from "aieditor";
3
3
  //#region \0rolldown/runtime.js
4
- var z = Object.defineProperty, B = (e, t) => {
4
+ var R = Object.defineProperty, z = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) z(n, r, {
6
+ for (var r in e) R(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || z(n, Symbol.toStringTag, { value: "Module" }), n;
11
- }, re = { class: /* @__PURE__ */ g({ bodyClass: !0 }) }, V = /* @__PURE__ */ u({
10
+ return t || R(n, Symbol.toStringTag, { value: "Module" }), n;
11
+ }, ie = { class: /* @__PURE__ */ g({ bodyClass: !0 }) }, B = /* @__PURE__ */ u({
12
12
  __name: "index",
13
13
  props: {
14
14
  title: {},
@@ -29,23 +29,23 @@ var z = Object.defineProperty, B = (e, t) => {
29
29
  "ui-card": !0,
30
30
  hideBorder: e.hideBorder
31
31
  } }), s({
32
- default: L(() => [a("div", re, [w(t.$slots, "default", {}, void 0, !0)])]),
32
+ default: I(() => [a("div", ie, [w(t.$slots, "default", {}, void 0, !0)])]),
33
33
  _: 2
34
34
  }, [e.title && e.title?.length > 0 ? {
35
35
  name: "header",
36
- fn: L(() => [a("div", { style: _(i.value) }, [e.icon ? (b(), n(l, { key: 0 }, {
37
- default: L(() => [(b(), n(D(e.icon), { color: "#2563eb" }))]),
36
+ fn: I(() => [a("div", { style: _(i.value) }, [e.icon ? (b(), n(l, { key: 0 }, {
37
+ default: I(() => [(b(), n(D(e.icon), { color: "#2563eb" }))]),
38
38
  _: 1
39
39
  })) : r("", !0), o[0] || (O(-1, !0), (o[0] = a("h4", null, [c(k(e.title), 1)])).cacheIndex = 0, O(1), o[0])], 4)]),
40
40
  key: "0"
41
41
  } : void 0]), 1040, ["class"]);
42
42
  };
43
43
  }
44
- }), H = (e, t) => {
44
+ }), V = (e, t) => {
45
45
  let n = e.__vccOpts || e;
46
46
  for (let [e, r] of t) n[e] = r;
47
47
  return n;
48
- }, ie = /* @__PURE__ */ B({ default: () => ae }), ae = /* @__PURE__ */ H(V, [["__scopeId", "data-v-6ebb01d7"]]), U = {
48
+ }, ae = /* @__PURE__ */ z({ default: () => oe }), oe = /* @__PURE__ */ V(B, [["__scopeId", "data-v-6ebb01d7"]]), H = {
49
49
  get Button() {
50
50
  return $()?.resolveComponent?.("el-button") || "el-button";
51
51
  },
@@ -140,14 +140,14 @@ var z = Object.defineProperty, B = (e, t) => {
140
140
  };
141
141
  //#endregion
142
142
  //#region src/components/utils/render.ts
143
- function W() {
143
+ function U() {
144
144
  let e = $();
145
145
  return e?.h ? e.h : function(e, t, n) {
146
146
  return console.warn("[yc-vep-ui] Vue not initialized. Call setHostVue(Vue) before using components."), null;
147
147
  };
148
148
  }
149
- function oe(e) {
150
- let t = W();
149
+ function se(e) {
150
+ let t = U();
151
151
  return t ? t("div", { style: {
152
152
  display: "flex",
153
153
  flexDirection: "row",
@@ -155,7 +155,7 @@ function oe(e) {
155
155
  gap: "8px"
156
156
  } }, (Array.isArray(e) ? e : [e]).map((e) => {
157
157
  let { text: n, ...r } = e;
158
- return t(U.Button, {
158
+ return t(H.Button, {
159
159
  ...r,
160
160
  link: !0,
161
161
  size: "small",
@@ -163,54 +163,54 @@ function oe(e) {
163
163
  }, () => n);
164
164
  })) : null;
165
165
  }
166
- function se(e) {
167
- let t = W();
166
+ function ce(e) {
167
+ let t = U();
168
168
  return t ? Array.isArray(e) ? t("div", { style: {
169
169
  display: "flex",
170
170
  gap: "8px",
171
171
  flexDirection: "row",
172
172
  flexWrap: "wrap"
173
- } }, e.map((e) => t(U.Link, {
173
+ } }, e.map((e) => t(H.Link, {
174
174
  ...e,
175
175
  type: e.type || "primary"
176
- }, () => t(U.Text, {
176
+ }, () => t(H.Text, {
177
177
  lineClamp: e?.lineClamp,
178
178
  type: e.type || "primary"
179
- }, () => e.prop)))) : t(U.Link, {
179
+ }, () => e.prop)))) : t(H.Link, {
180
180
  ...e,
181
181
  type: e.type || "primary"
182
- }, () => t(U.Text, {
182
+ }, () => t(H.Text, {
183
183
  lineClamp: e?.lineClamp,
184
184
  type: e.type || "primary"
185
185
  }, () => e.prop)) : null;
186
186
  }
187
- function ce(e) {
188
- let t = W();
187
+ function le(e) {
188
+ let t = U();
189
189
  return t ? t("div", { style: {
190
190
  display: "flex",
191
191
  gap: "4px",
192
192
  flexDirection: "row",
193
193
  flexWrap: "wrap"
194
- } }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((n) => t(U.Tag, e, () => n))) : null;
195
- }
196
- function le(e) {
197
- let t = W();
198
- return t ? t(U.Tag, { ...e }) : null;
194
+ } }, (Array.isArray(e.prop) ? e.prop : [e.prop]).map((n) => t(H.Tag, e, () => n))) : null;
199
195
  }
200
196
  function ue(e) {
201
- let t = W();
202
- return t ? t(U.Select, {
197
+ let t = U();
198
+ return t ? t(H.Tag, { ...e }) : null;
199
+ }
200
+ function de(e) {
201
+ let t = U();
202
+ return t ? t(H.Select, {
203
203
  style: { minWidth: "160px" },
204
204
  ...e,
205
205
  placeholder: "请选择",
206
206
  filterable: !0
207
207
  }) : null;
208
208
  }
209
- function de(e) {
210
- let t = W();
209
+ function fe(e) {
210
+ let t = U();
211
211
  if (!t) return null;
212
212
  let n = e?.type === "datetime" ? "YYYY-MM-DD HH:mm:ss" : "YYYY-MM-DD";
213
- return t(U.DatePicker, {
213
+ return t(H.DatePicker, {
214
214
  format: n,
215
215
  valueFormat: n,
216
216
  startPlaceholder: "开始时间",
@@ -220,11 +220,11 @@ function de(e) {
220
220
  "onUpdate:modelValue": (t) => e?.onChange?.(t)
221
221
  });
222
222
  }
223
- function fe(e) {
224
- let t = W();
223
+ function pe(e) {
224
+ let t = U();
225
225
  if (!t) return null;
226
226
  let { start: n = "00:00", end: r = "23:30", ...i } = e;
227
- return t(U.TimeSelect, {
227
+ return t(H.TimeSelect, {
228
228
  start: n,
229
229
  end: r,
230
230
  ...i,
@@ -232,21 +232,21 @@ function fe(e) {
232
232
  filterable: !0
233
233
  });
234
234
  }
235
- function pe(e) {
236
- let t = W();
237
- return t ? t(U.Input, {
235
+ function me(e) {
236
+ let t = U();
237
+ return t ? t(H.Input, {
238
238
  ...e,
239
239
  placeholder: "请输入"
240
240
  }) : null;
241
241
  }
242
- function me(e) {
243
- let t = W();
242
+ function he(e) {
243
+ let t = U();
244
244
  if (!t) return null;
245
245
  let { align: n = "left", controlsPosition: r = "right", ...i } = e, a = {
246
246
  ...e?.style || {},
247
247
  width: "100%"
248
248
  };
249
- return t(U.InputNumber, {
249
+ return t(H.InputNumber, {
250
250
  align: n,
251
251
  style: a,
252
252
  controlsPosition: r,
@@ -254,70 +254,71 @@ function me(e) {
254
254
  ...i
255
255
  });
256
256
  }
257
- function he(e) {
258
- let t = W();
257
+ function ge(e) {
258
+ let t = U();
259
259
  if (!t) return null;
260
260
  let { rows: n = 1, ...r } = e;
261
- return t(U.Input, {
261
+ return t(H.Input, {
262
262
  placeholder: "请输入",
263
263
  rows: n,
264
264
  ...r,
265
265
  type: "textarea"
266
266
  });
267
267
  }
268
- function ge(e) {
269
- let t = W();
270
- return t ? t(U.InputTag, {
268
+ function _e(e) {
269
+ let t = U();
270
+ return t ? t(H.InputTag, {
271
271
  placeholder: "请输入",
272
272
  ...e,
273
273
  clearable: !1
274
274
  }) : null;
275
275
  }
276
- function _e(e) {
277
- let t = W();
278
- return t ? t(ut || lt, e) : null;
279
- }
280
276
  function ve(e) {
281
- let t = W();
282
- return t ? t(U.RadioGroup, e) : null;
277
+ let t = U();
278
+ return t ? t(ut || Z, e) : null;
283
279
  }
284
280
  function ye(e) {
285
- let t = W();
286
- return t ? t(U.Text, e, () => e.prop) : null;
281
+ let t = U();
282
+ return t ? t(H.RadioGroup, e) : null;
287
283
  }
288
284
  function be(e) {
289
- let t = W();
285
+ let t = U();
286
+ return t ? t(H.Text, e, () => e.prop) : null;
287
+ }
288
+ function xe(e) {
289
+ let t = U();
290
290
  return t ? t(Xt || Yt, {
291
291
  placeholder: "请选择",
292
292
  ...e,
293
293
  searchable: !0
294
294
  }) : null;
295
295
  }
296
- function xe(e) {
297
- let t = W();
296
+ function Se(e) {
297
+ let t = U();
298
298
  return t ? t(nn || tn, {
299
299
  ...e,
300
+ "file-list": e.modelValue || e.fileList,
300
301
  "onUpdate:fileList": (t, n) => e.onChange?.(n, t)
301
302
  }) : null;
302
303
  }
303
- var G = {
304
- button: oe,
305
- link: se,
306
- tag: ce,
307
- switch: le,
308
- select: ue,
309
- datePicker: de,
310
- timeSelect: fe,
311
- input: pe,
312
- inputNumber: me,
313
- textarea: he,
314
- inputTag: ge,
315
- editor: _e,
316
- radio: ve,
317
- text: ye,
318
- staffSelect: be,
319
- upload: xe
320
- }, Se = /* @__PURE__ */ u({
304
+ var W = {
305
+ button: se,
306
+ link: ce,
307
+ tag: le,
308
+ switch: ue,
309
+ select: de,
310
+ datePicker: fe,
311
+ timeSelect: pe,
312
+ input: me,
313
+ inputNumber: he,
314
+ textarea: ge,
315
+ inputTag: _e,
316
+ editor: ve,
317
+ radio: ye,
318
+ text: be,
319
+ staffSelect: xe,
320
+ upload: Se
321
+ }, Ce = /* @__PURE__ */ u({
321
322
  name: "UiColumn",
322
323
  __name: "UiColumn",
323
324
  props: {
@@ -332,7 +333,7 @@ var G = {
332
333
  let a = r, o = t;
333
334
  function s(e, t, n) {
334
335
  let r = {};
335
- Object.keys(G).forEach((i) => {
336
+ Object.keys(W).forEach((i) => {
336
337
  let o = i;
337
338
  r[o] = (r) => {
338
339
  let i = Array.isArray(r) ? r : {
@@ -344,7 +345,7 @@ var G = {
344
345
  onChange: r?.onChange || ((e) => a("update:data", t, n.prop, e)),
345
346
  onInput: r?.onInput || ((e) => a("update:data", t, n.prop, e))
346
347
  };
347
- return G[o](i);
348
+ return W[o](i);
348
349
  };
349
350
  });
350
351
  let i = n.render ? n.render({
@@ -362,7 +363,7 @@ var G = {
362
363
  label: t.column.label,
363
364
  align: o.align
364
365
  }, {
365
- default: L(() => [(b(!0), i(e, null, C(t.column.children, (e) => (b(), n(l, m({
366
+ default: I(() => [(b(!0), i(e, null, C(t.column.children, (e) => (b(), n(l, m({
366
367
  column: e,
367
368
  data: o.data
368
369
  }, { ref_for: !0 }, r.$attrs, { align: o.align }), null, 16, [
@@ -380,7 +381,7 @@ var G = {
380
381
  width: t.column.width,
381
382
  "show-overflow-tooltip": t.column.showOverflowTooltip
382
383
  }, {
383
- default: L(({ row: e, $index: r }) => [t.column.render ? (b(), n(D(s(e, r, t.column)), {
384
+ default: I(({ row: e, $index: r }) => [t.column.render ? (b(), n(D(s(e, r, t.column)), {
384
385
  key: 0,
385
386
  align: o.align,
386
387
  size: o.size
@@ -388,7 +389,7 @@ var G = {
388
389
  key: 1,
389
390
  "line-clamp": t.column?.lineClamp || 2
390
391
  }, {
391
- default: L(() => [c(k(e[t.column.prop]), 1)]),
392
+ default: I(() => [c(k(e[t.column.prop]), 1)]),
392
393
  _: 2
393
394
  }, 1032, ["line-clamp"]))]),
394
395
  _: 1
@@ -402,7 +403,7 @@ var G = {
402
403
  ]));
403
404
  };
404
405
  }
405
- }), Ce = /* @__PURE__ */ u({
406
+ }), we = /* @__PURE__ */ u({
406
407
  __name: "index",
407
408
  props: {
408
409
  loading: {
@@ -467,7 +468,7 @@ var G = {
467
468
  return (t, o) => {
468
469
  let s = T("el-table-column"), c = T("el-table"), h = T("el-pagination"), v = E("loading");
469
470
  return b(), i("div", null, [
470
- R((b(), n(c, m({ border: a.border }, t.$attrs, {
471
+ L((b(), n(c, m({ border: a.border }, t.$attrs, {
471
472
  data: a.data,
472
473
  lazy: !0,
473
474
  class: "ui-table",
@@ -475,7 +476,7 @@ var G = {
475
476
  ref_key: "tableRef",
476
477
  ref: u
477
478
  }), {
478
- default: L(() => [
479
+ default: I(() => [
479
480
  f.value ? (b(), n(s, {
480
481
  key: 0,
481
482
  type: "selection",
@@ -493,7 +494,7 @@ var G = {
493
494
  "column-key": "index_1",
494
495
  align: a.align
495
496
  }, null, 8, ["align"])) : r("", !0),
496
- (b(!0), i(e, null, C(p.value, (e, t) => (b(), n(Se, {
497
+ (b(!0), i(e, null, C(p.value, (e, t) => (b(), n(Ce, {
497
498
  key: t + "column_" + e?.prop?.toString(),
498
499
  column: e,
499
500
  data: a.data,
@@ -537,7 +538,7 @@ var G = {
537
538
  ]);
538
539
  };
539
540
  }
540
- }), we = /* @__PURE__ */ B({ default: () => Te }), Te = /* @__PURE__ */ H(Ce, [["__scopeId", "data-v-adf869c1"]]), Ee = ["src"], De = /* @__PURE__ */ u({
541
+ }), Te = /* @__PURE__ */ z({ default: () => Ee }), Ee = /* @__PURE__ */ V(we, [["__scopeId", "data-v-adf869c1"]]), De = ["src"], Oe = /* @__PURE__ */ u({
541
542
  __name: "Icon",
542
543
  props: {
543
544
  name: {},
@@ -555,9 +556,9 @@ var G = {
555
556
  width: e.size,
556
557
  height: e.size
557
558
  })
558
- }, null, 12, Ee)) : r("", !0);
559
+ }, null, 12, De)) : r("", !0);
559
560
  }
560
- }), Oe = {
561
+ }), ke = {
561
562
  style: {
562
563
  width: "100%",
563
564
  height: "100%"
@@ -568,30 +569,30 @@ var G = {
568
569
  version: "1.1",
569
570
  xmlns: "http://www.w3.org/2000/svg",
570
571
  "p-id": "8979"
571
- }, K = /* @__PURE__ */ u({
572
+ }, G = /* @__PURE__ */ u({
572
573
  __name: "Search",
573
574
  setup(e) {
574
- return (e, t) => (b(), i("svg", Oe, [...t[0] ||= [a("path", {
575
+ return (e, t) => (b(), i("svg", ke, [...t[0] ||= [a("path", {
575
576
  d: "M896 870.4l-128-128c55.467-68.267 89.6-149.333 89.6-238.933 0-98.134-38.4-192-110.933-264.534-149.334-149.333-384-149.333-533.334-4.266-145.066 145.066-145.066 384 0 529.066 72.534 72.534 166.4 110.934 264.534 110.934 89.6 0 174.933-29.867 238.933-89.6l128 128c4.267 4.266 12.8 8.533 21.333 8.533s17.067-4.267 21.334-8.533c17.066-8.534 17.066-29.867 8.533-42.667zM260.267 721.067c-119.467-123.734-119.467-320 0-439.467 59.733-59.733 140.8-89.6 217.6-89.6 81.066 0 157.866 29.867 217.6 89.6 59.733 59.733 89.6 136.533 89.6 217.6 0 81.067-34.134 162.133-89.6 217.6-55.467 59.733-132.267 93.867-217.6 93.867-81.067 0-157.867-34.134-217.6-89.6z",
576
577
  "p-id": "8980"
577
578
  }, null, -1)]]));
578
579
  }
579
- }), ke = {
580
+ }), Ae = {
580
581
  style: {
581
582
  width: "100%",
582
583
  height: "100%"
583
584
  },
584
585
  viewBox: "0 0 1024 1024",
585
586
  xmlns: "http://www.w3.org/2000/svg"
586
- }, Ae = /* @__PURE__ */ u({
587
+ }, je = /* @__PURE__ */ u({
587
588
  __name: "CloseBold",
588
589
  setup(e) {
589
- return (e, t) => (b(), i("svg", ke, [...t[0] ||= [a("path", {
590
+ return (e, t) => (b(), i("svg", Ae, [...t[0] ||= [a("path", {
590
591
  d: "M512 476.25l256-256 33.75 33.75-256 256 256 256-33.75 33.75-256-256-256 256-33.75-33.75 256-256-256-256L256 220.25l256 256z",
591
592
  fill: "currentColor"
592
593
  }, null, -1)]]));
593
594
  }
594
- }), je = {
595
+ }), Me = {
595
596
  style: {
596
597
  width: "100%",
597
598
  height: "100%"
@@ -602,10 +603,10 @@ var G = {
602
603
  version: "1.1",
603
604
  xmlns: "http://www.w3.org/2000/svg",
604
605
  "p-id": "10092"
605
- }, q = /* @__PURE__ */ u({
606
+ }, K = /* @__PURE__ */ u({
606
607
  __name: "User",
607
608
  setup(e) {
608
- return (e, t) => (b(), i("svg", je, [...t[0] ||= [a("path", {
609
+ return (e, t) => (b(), i("svg", Me, [...t[0] ||= [a("path", {
609
610
  d: "M512 512c141.385 0 256-114.615 256-256S653.385 0 512 0 256 114.615 256 256s114.615 256 256 256zM366.336 110.336C405.244 71.428 456.976 50 512 50s106.756 21.428 145.664 60.336S718 200.976 718 256s-21.428 106.756-60.336 145.664S567.024 462 512 462s-106.756-21.428-145.664-60.336S306 311.024 306 256s21.428-106.756 60.336-145.664z",
610
611
  fill: "#999999",
611
612
  "p-id": "10093"
@@ -615,7 +616,7 @@ var G = {
615
616
  "p-id": "10094"
616
617
  }, null, -1)]]));
617
618
  }
618
- }), Me = {
619
+ }), Ne = {
619
620
  style: {
620
621
  width: "100%",
621
622
  height: "100%"
@@ -626,16 +627,16 @@ var G = {
626
627
  version: "1.1",
627
628
  xmlns: "http://www.w3.org/2000/svg",
628
629
  "p-id": "11055"
629
- }, Ne = /* @__PURE__ */ u({
630
+ }, Pe = /* @__PURE__ */ u({
630
631
  __name: "Plus",
631
632
  setup(e) {
632
- return (e, t) => (b(), i("svg", Me, [...t[0] ||= [a("path", {
633
+ return (e, t) => (b(), i("svg", Ne, [...t[0] ||= [a("path", {
633
634
  d: "M489.244444 489.244444v295.822223c0 18.850702-15.282631 34.133333-34.133333 34.133333s-34.133333-15.282631-34.133333-34.133333v-295.822223h-295.822222c-18.850702 0-34.133333-15.282631-34.133334-34.133333s15.282631-34.133333 34.133334-34.133333h295.822222v-295.822222c0-18.850702 15.282631-34.133333 34.133333-34.133334s34.133333 15.282631 34.133333 34.133334v295.822222h295.822223c18.850702 0 34.133333 15.282631 34.133333 34.133333s-15.282631 34.133333-34.133333 34.133333h-295.822223z",
634
635
  fill: "#323233",
635
636
  "p-id": "11056"
636
637
  }, null, -1)]]));
637
638
  }
638
- }), Pe = {}, Fe = {
639
+ }), Fe = {}, Ie = {
639
640
  style: {
640
641
  width: "100%",
641
642
  height: "100%"
@@ -647,14 +648,14 @@ var G = {
647
648
  xmlns: "http://www.w3.org/2000/svg",
648
649
  "p-id": "4859"
649
650
  };
650
- function Ie(e, t) {
651
- return b(), i("svg", Fe, [...t[0] ||= [a("path", {
651
+ function Le(e, t) {
652
+ return b(), i("svg", Ie, [...t[0] ||= [a("path", {
652
653
  d: "M731.733333 480l-384-341.333333c-17.066667-14.933333-44.8-14.933333-59.733333 4.266666-14.933333 17.066667-14.933333 44.8 4.266667 59.733334L640 512 292.266667 821.333333c-17.066667 14.933333-19.2 42.666667-4.266667 59.733334 8.533333 8.533333 19.2 14.933333 32 14.933333 10.666667 0 19.2-4.266667 27.733333-10.666667l384-341.333333c8.533333-8.533333 14.933333-19.2 14.933334-32s-4.266667-23.466667-14.933334-32z",
653
654
  fill: "#666666",
654
655
  "p-id": "4860"
655
656
  }, null, -1)]]);
656
657
  }
657
- var Le = /* @__PURE__ */ H(Pe, [["render", Ie]]), Re = {}, ze = {
658
+ var Re = /* @__PURE__ */ V(Fe, [["render", Le]]), ze = {}, Be = {
658
659
  style: {
659
660
  width: "100%",
660
661
  height: "100%"
@@ -666,13 +667,13 @@ var Le = /* @__PURE__ */ H(Pe, [["render", Ie]]), Re = {}, ze = {
666
667
  xmlns: "http://www.w3.org/2000/svg",
667
668
  "p-id": "6029"
668
669
  };
669
- function Be(e, t) {
670
- return b(), i("svg", ze, [...t[0] ||= [a("path", {
670
+ function Ve(e, t) {
671
+ return b(), i("svg", Be, [...t[0] ||= [a("path", {
671
672
  d: "M897.96 728.3c-18.8 18.8-49.1 18.801-67.901 0l-318-318-318 318c-18.8 18.8-49.2 18.8-67.901 0-18.8-18.8-18.801-49.1 0-67.901l352-352c18.8-18.8 49.2-18.8 67.901 0l352 352c9.4 9.4 14 21.7 14 34-0.1 12.2-4.7 24.501-14.1 33.9z",
672
673
  "p-id": "6030"
673
674
  }, null, -1)]]);
674
675
  }
675
- var Ve = /* @__PURE__ */ H(Re, [["render", Be]]), He = {}, Ue = {
676
+ var He = /* @__PURE__ */ V(ze, [["render", Ve]]), Ue = {}, We = {
676
677
  style: {
677
678
  width: "100%",
678
679
  height: "100%"
@@ -684,8 +685,8 @@ var Ve = /* @__PURE__ */ H(Re, [["render", Be]]), He = {}, Ue = {
684
685
  xmlns: "http://www.w3.org/2000/svg",
685
686
  "p-id": "6997"
686
687
  };
687
- function We(e, t) {
688
- return b(), i("svg", Ue, [...t[0] ||= [a("path", {
688
+ function Ge(e, t) {
689
+ return b(), i("svg", We, [...t[0] ||= [a("path", {
689
690
  d: "M512.34133333 931.38488889c-49.94844445 0-98.87288889-8.64711111-145.29422222-25.82755556-44.94222222-16.61155555-86.35733333-40.61866667-123.22133333-71.45244444-74.29688889-61.89511111-125.15555555-148.02488889-143.24622223-242.34666667l71.45244445-13.76711111c31.28888889 162.58844445 174.42133333 280.576 340.30933333 280.576 70.08711111 0 137.55733333-20.82133333 195.12888889-60.07466666 56.32-38.45688889 99.66933333-91.93244445 125.49688889-154.73777778l67.35644444 27.648c-31.28888889 76.00355555-83.74044445 140.74311111-151.77955555 187.16444444-69.85955555 47.67288889-151.43822222 72.81777778-236.20266667 72.81777778zM846.848 421.43288889C827.392 349.29777778 783.92888889 284.33066667 724.65066667 238.13688889c-61.21244445-47.55911111-134.59911111-72.704-212.30933334-72.704-69.97333333 0-137.44355555 20.70755555-194.90133333 59.96088889-56.32 38.57066667-99.78311111 91.93244445-125.61066667 154.624l-67.35644444-27.76177778c31.28888889-75.88977778 83.74044445-140.40177778 151.77955556-186.82311111 69.74577778-47.55911111 151.32444445-72.704 235.9751111-72.704 47.33155555 0 93.86666667 7.85066667 138.12622223 23.32444444 42.89422222 14.90488889 82.83022222 36.75022222 118.784 64.62577778 35.61244445 27.648 66.33244445 60.64355555 91.47733333 98.07644444 25.48622222 38.00177778 44.48711111 79.64444445 56.32 123.67644445l-70.08711111 19.00088889z",
690
691
  "p-id": "6998"
691
692
  }, null, -1), a("path", {
@@ -693,7 +694,7 @@ function We(e, t) {
693
694
  "p-id": "6999"
694
695
  }, null, -1)]]);
695
696
  }
696
- var J = /* @__PURE__ */ H(He, [["render", We]]), Ge = {}, Ke = {
697
+ var q = /* @__PURE__ */ V(Ue, [["render", Ge]]), Ke = {}, qe = {
697
698
  style: {
698
699
  width: "100%",
699
700
  height: "100%"
@@ -705,34 +706,34 @@ var J = /* @__PURE__ */ H(He, [["render", We]]), Ge = {}, Ke = {
705
706
  xmlns: "http://www.w3.org/2000/svg",
706
707
  "p-id": "9850"
707
708
  };
708
- function qe(e, t) {
709
- return b(), i("svg", Ke, [...t[0] ||= [a("path", {
709
+ function Je(e, t) {
710
+ return b(), i("svg", qe, [...t[0] ||= [a("path", {
710
711
  d: "M64 448l832-320-128 704-446.016-243.008L832 192 243.008 544.96 64 448z m256 512v-303.04L512 768l-192 192z",
711
712
  "p-id": "9851"
712
713
  }, null, -1)]]);
713
714
  }
714
- var Je = /* @__PURE__ */ H(Ge, [["render", qe]]), Ye = /* @__PURE__ */ B({
715
- ArrowRight: () => Le,
716
- ArrowUp: () => Ve,
717
- CloseBold: () => Ae,
718
- Plus: () => Ne,
719
- Promotion: () => Je,
720
- Refresh: () => J,
721
- Search: () => K,
722
- User: () => q,
723
- YcIcon: () => De
715
+ var Ye = /* @__PURE__ */ V(Ke, [["render", Je]]), Xe = /* @__PURE__ */ z({
716
+ ArrowRight: () => Re,
717
+ ArrowUp: () => He,
718
+ CloseBold: () => je,
719
+ Plus: () => Pe,
720
+ Promotion: () => Ye,
721
+ Refresh: () => q,
722
+ Search: () => G,
723
+ User: () => K,
724
+ YcIcon: () => Oe
724
725
  });
725
726
  //#endregion
726
727
  //#region src/components/utils/tools.ts
727
- function Xe(e) {
728
+ function Ze(e) {
728
729
  return typeof e == "number" ? e + "px" : e || "100px";
729
730
  }
730
- function Y(e) {
731
+ function J(e) {
731
732
  return typeof e == "number" ? e + "px" : e || "180px";
732
733
  }
733
- function X(e, t) {
734
+ function Y(e, t) {
734
735
  let n = {};
735
- return Object.keys(G).forEach((r) => {
736
+ return Object.keys(W).forEach((r) => {
736
737
  let i = r;
737
738
  n[i] = (n = {}) => ({
738
739
  props: {
@@ -742,25 +743,28 @@ function X(e, t) {
742
743
  onChange: (r) => n.onChange?.(r) || (t[e.prop] = r)
743
744
  },
744
745
  type: i,
745
- component: G[i]
746
+ component: W[i]
746
747
  });
747
748
  }), ((n) => typeof e.render == "function" ? e.render({
748
749
  h: n,
749
750
  data: t
750
751
  }) : n.input(n.props || {}))(n);
751
752
  }
752
- function Z(e, t) {
753
- let n = X(e, t);
754
- return typeof n == "object" && (n.component ||= n), n;
753
+ function X(e, t) {
754
+ let n = Y(e, t);
755
+ return typeof n == "object" ? n.type && typeof n.type == "object" ? {
756
+ component: n.type,
757
+ props: n.props
758
+ } : (n.component ||= n, n) : n;
755
759
  }
756
760
  //#endregion
757
761
  //#region src/components/Filter/index.vue?vue&type=script&setup=true&lang.ts
758
- var Ze = { style: {
762
+ var Qe = { style: {
759
763
  display: "flex",
760
764
  "justify-content": "end",
761
765
  "align-items": "center",
762
766
  width: "100%"
763
- } }, Qe = /* @__PURE__ */ u({
767
+ } }, $e = /* @__PURE__ */ u({
764
768
  name: "UiDefaultFilter",
765
769
  __name: "index",
766
770
  props: {
@@ -796,7 +800,7 @@ var Ze = { style: {
796
800
  }), h = x({}), g = t(() => s.fields.slice(0, p.expand ? s.fields.length : p.expandNum)), y = t(() => 24 - g.value?.reduce((e, t) => e + (t.span || 24 / s.column), 0) % 24 - 24 / s.column);
797
801
  v(() => {
798
802
  p.expandNum = f?.expandNum ?? 2 * s.column - 1, s.fields.forEach((e) => {
799
- let t = X(e, h)?.props?.defaultValue;
803
+ let t = Y(e, h)?.props?.defaultValue;
800
804
  t !== void 0 && (h[e.prop] = t);
801
805
  });
802
806
  });
@@ -827,24 +831,24 @@ var Ze = { style: {
827
831
  class: "ui-filter",
828
832
  size: s.size
829
833
  }, t.$attrs), {
830
- default: L(() => [l(x, {
834
+ default: I(() => [l(x, {
831
835
  gutter: 20,
832
836
  style: { "margin-bottom": "-15px" }
833
837
  }, {
834
- default: L(() => [(b(!0), i(e, null, C(g.value, (e) => (b(), n(f, { span: e.span || 24 / s.column }, {
835
- default: L(() => [(b(), n(d, {
838
+ default: I(() => [(b(!0), i(e, null, C(g.value, (e) => (b(), n(f, { span: e.span || 24 / s.column }, {
839
+ default: I(() => [(b(), n(d, {
836
840
  key: e.prop,
837
841
  label: e.label,
838
- "label-width": j(Xe)(e?.labelWidth || s.labelWidth),
839
- "value-width": j(Y)(e?.valueWidth || s.valueWidth)
842
+ "label-width": j(Ze)(e?.labelWidth || s.labelWidth),
843
+ "value-width": j(J)(e?.valueWidth || s.valueWidth)
840
844
  }, {
841
- default: L(() => [e.render ? (b(), n(D(j(X)(e, h).component), m({
845
+ default: I(() => [e.render ? (b(), n(D(j(Y)(e, h).component), m({
842
846
  key: 0,
843
847
  modelValue: h[e.prop],
844
848
  "onUpdate:modelValue": (t) => h[e.prop] = t
845
- }, { ref_for: !0 }, j(X)(e, h).props, {
849
+ }, { ref_for: !0 }, j(Y)(e, h).props, {
846
850
  clearable: !0,
847
- style: { width: j(Y)(e?.valueWidth || s.valueWidth) }
851
+ style: { width: j(J)(e?.valueWidth || s.valueWidth) }
848
852
  }), null, 16, [
849
853
  "modelValue",
850
854
  "onUpdate:modelValue",
@@ -855,7 +859,7 @@ var Ze = { style: {
855
859
  "onUpdate:modelValue": (t) => h[e.prop] = t,
856
860
  placeholder: "请输入",
857
861
  clearable: !0,
858
- style: _({ width: j(Y)(e?.valueWidth || s.valueWidth) })
862
+ style: _({ width: j(J)(e?.valueWidth || s.valueWidth) })
859
863
  }, null, 8, [
860
864
  "modelValue",
861
865
  "onUpdate:modelValue",
@@ -872,34 +876,34 @@ var Ze = { style: {
872
876
  span: 24 / s.column,
873
877
  offset: y.value
874
878
  }, {
875
- default: L(() => [l(d, {
879
+ default: I(() => [l(d, {
876
880
  label: "",
877
881
  "label-width": "30px"
878
882
  }, {
879
- default: L(() => [a("div", Ze, [
883
+ default: I(() => [a("div", Qe, [
880
884
  w(t.$slots, "left", { form: h }, void 0, !0),
881
885
  s.fields.length >= 2 * s.column ? (b(), n(v, {
882
886
  key: 0,
883
887
  text: "",
884
- icon: p.expand ? j(Ve) : j(Le),
888
+ icon: p.expand ? j(He) : j(Re),
885
889
  onClick: o[0] ||= (e) => p.expand = !p.expand
886
890
  }, {
887
- default: L(() => [c(k(p.expand ? "收起" : "展开"), 1)]),
891
+ default: I(() => [c(k(p.expand ? "收起" : "展开"), 1)]),
888
892
  _: 1
889
893
  }, 8, ["icon"])) : r("", !0),
890
894
  l(v, {
891
- icon: j(K),
895
+ icon: j(G),
892
896
  type: "primary",
893
897
  onClick: S
894
898
  }, {
895
- default: L(() => [...o[1] ||= [c("查询", -1)]]),
899
+ default: I(() => [...o[1] ||= [c("查询", -1)]]),
896
900
  _: 1
897
901
  }, 8, ["icon"]),
898
902
  l(v, {
899
- icon: j(J),
903
+ icon: j(q),
900
904
  onClick: E
901
905
  }, {
902
- default: L(() => [...o[2] ||= [c("重置", -1)]]),
906
+ default: I(() => [...o[2] ||= [c("重置", -1)]]),
903
907
  _: 1
904
908
  }, 8, ["icon"]),
905
909
  w(t.$slots, "handle", { form: h }, void 0, !0),
@@ -915,16 +919,16 @@ var Ze = { style: {
915
919
  }, 16, ["model", "size"]);
916
920
  };
917
921
  }
918
- }), $e = /* @__PURE__ */ B({ default: () => et }), et = /* @__PURE__ */ H(Qe, [["__scopeId", "data-v-0e3c7086"]]), tt = {
922
+ }), et = /* @__PURE__ */ z({ default: () => tt }), tt = /* @__PURE__ */ V($e, [["__scopeId", "data-v-0e3c7086"]]), nt = {
919
923
  key: 0,
920
924
  style: { display: "inline-block" }
921
- }, nt = {
925
+ }, rt = {
922
926
  key: 0,
923
927
  style: { display: "inline-block" }
924
- }, rt = {
928
+ }, it = {
925
929
  key: 0,
926
930
  class: "ui-form-buttons"
927
- }, it = /* @__PURE__ */ u({
931
+ }, at = /* @__PURE__ */ u({
928
932
  __name: "index",
929
933
  props: {
930
934
  fields: {},
@@ -937,14 +941,19 @@ var Ze = { style: {
937
941
  required: { type: Boolean },
938
942
  column: { default: 24 },
939
943
  defaultValues: {},
940
- form: {},
944
+ model: {},
941
945
  valueModel: { default: "default" },
942
946
  size: {}
943
947
  },
944
- emits: ["submit", "reset"],
948
+ emits: [
949
+ "submit",
950
+ "reset",
951
+ "update:model"
952
+ ],
945
953
  setup(a, { expose: s, emit: u }) {
946
- N((e) => ({ v5d51dde6: e.column / 2 }));
947
- let d = u, f = o(a, [
954
+ N((e) => ({ fc2b2f2a: e.column / 2 }));
955
+ let d = u;
956
+ o(a, [
948
957
  "fields",
949
958
  "labelWidth",
950
959
  "valueWidth",
@@ -952,20 +961,22 @@ var Ze = { style: {
952
961
  "rules",
953
962
  "labelPosition",
954
963
  "valueModel",
955
- "column"
956
- ]), p = S(0), h = S(), v = x({}), y = t(() => {
957
- let e = A(v);
964
+ "column",
965
+ "model"
966
+ ]);
967
+ let f = S(0), p = S(), h = x({}), v = t(() => {
968
+ let e = A(h);
958
969
  return a.fields.forEach((t) => {
959
- let n = t.prop ? e?.[t.prop] : void 0, r = Z(t, v)?.props?.defaultValue;
960
- v[t.prop] = n ?? r ?? void 0, t?.slots && t?.slots?.length > 0 && t.slots.forEach((t) => {
961
- let n = t.prop ? e?.[t.prop] : void 0, r = Z(t, v)?.props?.defaultValue;
962
- v[t.prop] = n ?? r ?? void 0;
970
+ let n = t.prop ? e?.[t.prop] : void 0, r = X(t, h)?.props?.defaultValue;
971
+ h[t.prop] = n ?? r ?? void 0, t?.slots && t?.slots?.length > 0 && t.slots.forEach((t) => {
972
+ let n = t.prop ? e?.[t.prop] : void 0, r = X(t, h)?.props?.defaultValue;
973
+ h[t.prop] = n ?? r ?? void 0;
963
974
  });
964
975
  }), a.fields.filter((e) => typeof e.prop == "string");
965
- }), E = t(() => {
976
+ }), y = t(() => {
966
977
  if (a.rules && Object.keys(a.rules).length) return a.rules;
967
978
  let e = {};
968
- return y.value.forEach((t) => {
979
+ return v.value.forEach((t) => {
969
980
  t.rules && Object.keys(t.rules).length ? e[t.prop] = t.rules : t.required && (e[t.prop] = [{
970
981
  required: !0,
971
982
  message: "请输入" + t.label,
@@ -973,54 +984,54 @@ var Ze = { style: {
973
984
  }]);
974
985
  }), e;
975
986
  });
976
- I(() => {
977
- Object.assign(v, f?.form);
987
+ ee(() => {
988
+ Object.assign(h, a.model);
978
989
  });
979
- async function O(e) {
990
+ async function E(e) {
980
991
  let t = !0;
981
992
  if (await e.validate((e) => {
982
993
  t = e;
983
994
  }), !t) return;
984
995
  let n = {};
985
- Object.keys(v).forEach((e) => {
986
- v[e] !== void 0 && (n[e] = A(v[e]));
996
+ Object.keys(h).forEach((e) => {
997
+ h[e] !== void 0 && (n[e] = A(h[e]));
987
998
  }), d("submit", n);
988
999
  }
989
- function M() {
990
- h && h.value?.clearValidate();
1000
+ function O() {
1001
+ p && p.value?.clearValidate();
991
1002
  }
992
- function P(e) {
993
- Object.keys(v).forEach((e) => {
994
- a.omitFields.includes(e) || (v[e] = void 0);
995
- }), p.value += 1, d("reset", v);
1003
+ function M(e) {
1004
+ Object.keys(h).forEach((e) => {
1005
+ a.omitFields.includes(e) || (h[e] = void 0);
1006
+ }), f.value += 1, d("reset", h);
996
1007
  }
997
- function F() {
998
- return v;
1008
+ function P() {
1009
+ return h;
999
1010
  }
1000
- function R(e) {
1011
+ function F(e) {
1001
1012
  Object.keys(e).forEach((t) => {
1002
- v[t] = e[t];
1013
+ h[t] = e[t];
1003
1014
  });
1004
1015
  }
1005
- async function ee() {
1016
+ async function L() {
1006
1017
  return new Promise((e) => {
1007
- h.value?.validate((t, n) => e(n));
1018
+ p.value?.validate((t, n) => e(n));
1008
1019
  });
1009
1020
  }
1010
1021
  return s({
1011
- getValues: F,
1012
- setValues: R,
1013
- clearValidate: M,
1014
- onSubmit: O,
1015
- validate: ee
1022
+ getValues: P,
1023
+ setValues: F,
1024
+ clearValidate: O,
1025
+ onSubmit: E,
1026
+ validate: L
1016
1027
  }), (t, o) => {
1017
- let s = T("el-input"), u = T("el-form-item"), d = T("el-form"), f = T("el-button");
1028
+ let s = T("el-input"), u = T("el-form-item"), d = T("el-form"), x = T("el-button");
1018
1029
  return b(), i(e, null, [l(d, m({
1019
1030
  ref_key: "uiFormRef",
1020
- ref: h,
1021
- model: v
1031
+ ref: p,
1032
+ model: h
1022
1033
  }, t.$attrs, {
1023
- rules: E.value,
1034
+ rules: y.value,
1024
1035
  inline: a.labelPosition !== "top",
1025
1036
  "label-position": a.labelPosition,
1026
1037
  class: {
@@ -1029,7 +1040,7 @@ var Ze = { style: {
1029
1040
  },
1030
1041
  "validate-on-rule-change": !1
1031
1042
  }), {
1032
- default: L(() => [(b(!0), i(e, null, C(y.value, (r) => (b(), n(u, {
1043
+ default: I(() => [(b(!0), i(e, null, C(v.value, (r) => (b(), n(u, {
1033
1044
  key: r.prop,
1034
1045
  label: r.label,
1035
1046
  "label-width": a.labelWidth,
@@ -1040,26 +1051,26 @@ var Ze = { style: {
1040
1051
  gridColumn: `span ${(r?.span || a.column) / 2 || 1}`
1041
1052
  })
1042
1053
  }, {
1043
- default: L(() => [r.render ? (b(), i(e, { key: 0 }, [j(Z)(r, v).component ? (b(), n(D(j(Z)(r, v).component), m({
1054
+ default: I(() => [r.render ? (b(), i(e, { key: 0 }, [j(X)(r, h).component ? (b(), n(D(j(X)(r, h).component), m({
1044
1055
  key: 1,
1045
- modelValue: v[r.prop],
1046
- "onUpdate:modelValue": (e) => v[r.prop] = e
1047
- }, { ref_for: !0 }, j(Z)(r, v).props, {
1056
+ modelValue: h[r.prop],
1057
+ "onUpdate:modelValue": (e) => h[r.prop] = e
1058
+ }, { ref_for: !0 }, j(X)(r, h).props, {
1048
1059
  clearable: !0,
1049
- key: `${r.prop}-${p.value}`,
1060
+ key: `${r.prop}-${f.value}`,
1050
1061
  style: { display: "inline-block" },
1051
1062
  class: { underline: a.valueModel === "underline" }
1052
1063
  }), null, 16, [
1053
1064
  "modelValue",
1054
1065
  "onUpdate:modelValue",
1055
1066
  "class"
1056
- ])) : (b(), i("span", tt, k(j(Z)(r, v) || "-"), 1)), (b(!0), i(e, null, C(r.slots, (e) => w(t.$slots, "default", { form: v }, () => [j(Z)(e, v).component ? (b(), n(D(j(Z)(e, v).component), m({
1067
+ ])) : (b(), i("span", nt, k(j(X)(r, h) || "-"), 1)), (b(!0), i(e, null, C(r.slots, (e) => w(t.$slots, "default", { form: h }, () => [j(X)(e, h).component ? (b(), n(D(j(X)(e, h).component), m({
1057
1068
  key: 1,
1058
- modelValue: v[e.prop],
1059
- "onUpdate:modelValue": (t) => v[e.prop] = t,
1069
+ modelValue: h[e.prop],
1070
+ "onUpdate:modelValue": (t) => h[e.prop] = t,
1060
1071
  "default-value": e.defaultValue,
1061
1072
  placeholder: e.placeholder
1062
- }, { ref_for: !0 }, j(Z)(e, v).props, {
1073
+ }, { ref_for: !0 }, j(X)(e, h).props, {
1063
1074
  style: {
1064
1075
  display: "inline-block",
1065
1076
  marginLeft: "10px",
@@ -1067,7 +1078,7 @@ var Ze = { style: {
1067
1078
  },
1068
1079
  class: { underline: a.valueModel === "underline" },
1069
1080
  clearable: !0,
1070
- key: `${e.prop}-${p.value}`
1081
+ key: `${e.prop}-${f.value}`
1071
1082
  }), null, 16, [
1072
1083
  "modelValue",
1073
1084
  "onUpdate:modelValue",
@@ -1075,10 +1086,10 @@ var Ze = { style: {
1075
1086
  "placeholder",
1076
1087
  "style",
1077
1088
  "class"
1078
- ])) : (b(), i("span", nt, k(j(Z)(e, v) || "-"), 1))], !0)), 256))], 64)) : (b(), n(s, {
1089
+ ])) : (b(), i("span", rt, k(j(X)(e, h) || "-"), 1))], !0)), 256))], 64)) : (b(), n(s, {
1079
1090
  key: 1,
1080
- modelValue: v[r.prop],
1081
- "onUpdate:modelValue": (e) => v[r.prop] = e,
1091
+ modelValue: h[r.prop],
1092
+ "onUpdate:modelValue": (e) => h[r.prop] = e,
1082
1093
  placeholder: "请输入",
1083
1094
  clearable: !0,
1084
1095
  class: g({ underline: a.valueModel === "underline" })
@@ -1102,29 +1113,29 @@ var Ze = { style: {
1102
1113
  "inline",
1103
1114
  "label-position",
1104
1115
  "class"
1105
- ]), t.$attrs?.hideHandle ? r("", !0) : (b(), i("div", rt, [
1106
- w(t.$slots, "handle", { form: v }, void 0, !0),
1107
- l(f, {
1108
- icon: j(J),
1109
- onClick: o[0] ||= (e) => h.value && P(h.value),
1116
+ ]), t.$attrs?.hideHandle ? r("", !0) : (b(), i("div", it, [
1117
+ w(t.$slots, "handle", { form: h }, void 0, !0),
1118
+ l(x, {
1119
+ icon: j(q),
1120
+ onClick: o[0] ||= (e) => p.value && M(p.value),
1110
1121
  size: t.$props.size
1111
1122
  }, {
1112
- default: L(() => [...o[2] ||= [c("重置", -1)]]),
1123
+ default: I(() => [...o[2] ||= [c("重置", -1)]]),
1113
1124
  _: 1
1114
1125
  }, 8, ["icon", "size"]),
1115
- l(f, {
1116
- icon: j(Je),
1126
+ l(x, {
1127
+ icon: j(Ye),
1117
1128
  type: "primary",
1118
- onClick: o[1] ||= (e) => h.value && O(h.value),
1129
+ onClick: o[1] ||= (e) => p.value && E(p.value),
1119
1130
  size: t.$props.size
1120
1131
  }, {
1121
- default: L(() => [...o[3] ||= [c("提交", -1)]]),
1132
+ default: I(() => [...o[3] ||= [c("提交", -1)]]),
1122
1133
  _: 1
1123
1134
  }, 8, ["icon", "size"])
1124
1135
  ]))], 64);
1125
1136
  };
1126
1137
  }
1127
- }), at = /* @__PURE__ */ B({ default: () => ot }), ot = /* @__PURE__ */ H(it, [["__scopeId", "data-v-3d29eddf"]]), st = ["disabled"], ct = /* @__PURE__ */ u({
1138
+ }), ot = /* @__PURE__ */ z({ default: () => st }), st = /* @__PURE__ */ V(at, [["__scopeId", "data-v-5e602fff"]]), ct = ["disabled"], lt = /* @__PURE__ */ u({
1128
1139
  __name: "index",
1129
1140
  props: /* @__PURE__ */ p({
1130
1141
  defaultValue: { default: "" },
@@ -1143,7 +1154,7 @@ var Ze = { style: {
1143
1154
  setup(e, { emit: t }) {
1144
1155
  let n = S(), r = P(e, "modelValue"), a = S(r.value || e.defaultValue || ""), o = null, s = t;
1145
1156
  return v(() => {
1146
- o = new ne({
1157
+ o = new re({
1147
1158
  element: n.value,
1148
1159
  placeholder: "点击输入内容...",
1149
1160
  content: r.value || e.defaultValue || "",
@@ -1162,9 +1173,9 @@ var Ze = { style: {
1162
1173
  ref: n,
1163
1174
  style: { height: "500px" },
1164
1175
  disabled: e.disabled
1165
- }, null, 8, st));
1176
+ }, null, 8, ct));
1166
1177
  }
1167
- }), lt = /* @__PURE__ */ B({ default: () => ut }), ut = ct, dt = { class: "ui-tree-wrapper" }, ft = {
1178
+ }), Z = /* @__PURE__ */ z({ default: () => ut }), ut = lt, dt = { class: "ui-tree-wrapper" }, ft = {
1168
1179
  key: 0,
1169
1180
  style: {
1170
1181
  display: "flex",
@@ -1261,7 +1272,7 @@ var Ze = { style: {
1261
1272
  link: "",
1262
1273
  onClick: o[1] ||= (e) => E()
1263
1274
  }, {
1264
- default: L(() => [...o[2] ||= [a("span", { style: { padding: "4px" } }, "+", -1)]]),
1275
+ default: I(() => [...o[2] ||= [a("span", { style: { padding: "4px" } }, "+", -1)]]),
1265
1276
  _: 1
1266
1277
  }))])) : r("", !0),
1267
1278
  w(t.$slots, "handle", { style: "margin-top: 8px" }, void 0, !0),
@@ -1277,38 +1288,38 @@ var Ze = { style: {
1277
1288
  "highlight-current": !0,
1278
1289
  "filter-method": x
1279
1290
  }), {
1280
- default: L((s) => [s?.data ? (b(), i("div", pt, [a("div", mt, [s.data?.children?.length ? (b(), i("span", ht, "📁")) : r("", !0), c(" " + k(s.data?.[e.props?.label || "label"]) + " " + k(y.value && s.data?.children?.length ? `(${s.data.children.length})` : ""), 1)]), p.hideNodeHandle ? r("", !0) : (b(), n(g, {
1291
+ default: I((s) => [s?.data ? (b(), i("div", pt, [a("div", mt, [s.data?.children?.length ? (b(), i("span", ht, "📁")) : r("", !0), c(" " + k(s.data?.[e.props?.label || "label"]) + " " + k(y.value && s.data?.children?.length ? `(${s.data.children.length})` : ""), 1)]), p.hideNodeHandle ? r("", !0) : (b(), n(g, {
1281
1292
  key: 0,
1282
1293
  trigger: "click"
1283
1294
  }, {
1284
- dropdown: L(() => [l(f, null, {
1285
- default: L(() => [
1295
+ dropdown: I(() => [l(f, null, {
1296
+ default: I(() => [
1286
1297
  p?.hideNodeAdd ? r("", !0) : (b(), n(d, {
1287
1298
  key: 0,
1288
1299
  onClick: (e) => E(s.data)
1289
1300
  }, {
1290
- default: L(() => [...o[3] ||= [c(" 添加 ", -1)]]),
1301
+ default: I(() => [...o[3] ||= [c(" 添加 ", -1)]]),
1291
1302
  _: 1
1292
1303
  }, 8, ["onClick"])),
1293
1304
  p?.hideNodeEdit ? r("", !0) : (b(), n(d, {
1294
1305
  key: 1,
1295
1306
  onClick: (e) => D(s.data)
1296
1307
  }, {
1297
- default: L(() => [...o[4] ||= [c(" 编辑 ", -1)]]),
1308
+ default: I(() => [...o[4] ||= [c(" 编辑 ", -1)]]),
1298
1309
  _: 1
1299
1310
  }, 8, ["onClick"])),
1300
1311
  p?.hideNodeDel ? r("", !0) : (b(), n(d, {
1301
1312
  key: 2,
1302
1313
  onClick: (e) => O(s.data)
1303
1314
  }, {
1304
- default: L(() => [...o[5] ||= [a("span", { style: { color: "#ef4444" } }, "删除", -1)]]),
1315
+ default: I(() => [...o[5] ||= [a("span", { style: { color: "#ef4444" } }, "删除", -1)]]),
1305
1316
  _: 1
1306
1317
  }, 8, ["onClick"])),
1307
1318
  w(t.$slots, "node-handle", { data: s.data }, void 0, !0)
1308
1319
  ]),
1309
1320
  _: 2
1310
1321
  }, 1024)]),
1311
- default: L(() => [a("span", {
1322
+ default: I(() => [a("span", {
1312
1323
  onClick: (e) => C(e, s.data),
1313
1324
  style: {
1314
1325
  padding: "4px",
@@ -1322,7 +1333,7 @@ var Ze = { style: {
1322
1333
  ]);
1323
1334
  };
1324
1335
  }
1325
- }), vt = /* @__PURE__ */ B({ default: () => yt }), yt = /* @__PURE__ */ H(_t, [["__scopeId", "data-v-7858d79e"]]), bt = { style: { height: "100%" } }, xt = { style: {
1336
+ }), vt = /* @__PURE__ */ z({ default: () => yt }), yt = /* @__PURE__ */ V(_t, [["__scopeId", "data-v-7858d79e"]]), bt = { style: { height: "100%" } }, xt = { style: {
1326
1337
  display: "flex",
1327
1338
  "flex-direction": "row",
1328
1339
  "justify-content": "space-between",
@@ -1357,7 +1368,7 @@ var Ze = { style: {
1357
1368
  placeholder: o.placeholder ?? "请输入"
1358
1369
  }, null, 8, ["modelValue", "placeholder"])) : r("", !0), w(t.$slots, "plus", {}, void 0, !0)]),
1359
1370
  a("div", St, [w(t.$slots, "handle", {}, void 0, !0)]),
1360
- R((b(), i("ul", m({
1371
+ L((b(), i("ul", m({
1361
1372
  class: "infinite-list",
1362
1373
  "infinite-scroll-immediate": !1
1363
1374
  }, t.$attrs), [(b(!0), i(e, null, C(d.value, (e, n) => (b(), i("li", {
@@ -1372,7 +1383,7 @@ var Ze = { style: {
1372
1383
  ]);
1373
1384
  };
1374
1385
  }
1375
- }), Et = /* @__PURE__ */ B({ default: () => Dt }), Dt = /* @__PURE__ */ H(Tt, [["__scopeId", "data-v-0ab5cd97"]]), Ot = {
1386
+ }), Et = /* @__PURE__ */ z({ default: () => Dt }), Dt = /* @__PURE__ */ V(Tt, [["__scopeId", "data-v-0ab5cd97"]]), Ot = {
1376
1387
  key: 0,
1377
1388
  style: {
1378
1389
  padding: "10px 0px",
@@ -1400,16 +1411,16 @@ var Ze = { style: {
1400
1411
  t.title ? (b(), i("h4", Ot, k(t.title), 1)) : r("", !0),
1401
1412
  w(o.$slots, "title", {}, void 0, !0),
1402
1413
  l(u, m({ column: t.column }, a, { class: "ui-descriptions" }), {
1403
- default: L(() => [(b(!0), i(e, null, C(t.fields, (e) => (b(), n(c, {
1414
+ default: I(() => [(b(!0), i(e, null, C(t.fields, (e) => (b(), n(c, {
1404
1415
  key: e.prop,
1405
1416
  label: e.label,
1406
1417
  span: e.span || 2
1407
1418
  }, {
1408
- default: L(() => [e.render ? (b(), n(D(j(X)(e, t.data).component), m({
1419
+ default: I(() => [e.render ? (b(), n(D(j(Y)(e, t.data).component), m({
1409
1420
  key: 0,
1410
1421
  modelValue: t.data[e.prop],
1411
1422
  "onUpdate:modelValue": (n) => t.data[e.prop] = n
1412
- }, { ref_for: !0 }, j(X)(e, t.data).props, {
1423
+ }, { ref_for: !0 }, j(Y)(e, t.data).props, {
1413
1424
  clearable: !0,
1414
1425
  key: e.prop,
1415
1426
  style: { display: "inline-block" }
@@ -1421,7 +1432,7 @@ var Ze = { style: {
1421
1432
  ], 64);
1422
1433
  };
1423
1434
  }
1424
- }), jt = /* @__PURE__ */ B({ default: () => Mt }), Mt = /* @__PURE__ */ H(At, [["__scopeId", "data-v-f02c30f9"]]), Nt = {
1435
+ }), jt = /* @__PURE__ */ z({ default: () => Mt }), Mt = /* @__PURE__ */ V(At, [["__scopeId", "data-v-f02c30f9"]]), Nt = {
1425
1436
  key: 0,
1426
1437
  style: {
1427
1438
  display: "flex",
@@ -1462,20 +1473,20 @@ var Ze = { style: {
1462
1473
  "onUpdate:modelValue": t[0] ||= (e) => !e && u(),
1463
1474
  onClose: u
1464
1475
  }), {
1465
- default: L(() => [(b(), n(D(o.component), m({
1476
+ default: I(() => [(b(), n(D(o.component), m({
1466
1477
  ref_key: "slotRef",
1467
1478
  ref: s
1468
1479
  }, o.componentProps, {
1469
1480
  onClose: u,
1470
1481
  onSubmit: d
1471
1482
  }), null, 16)), o.disabled ? r("", !0) : (b(), i("div", Nt, [l(a, { onClick: u }, {
1472
- default: L(() => [...t[1] ||= [c("取消", -1)]]),
1483
+ default: I(() => [...t[1] ||= [c("取消", -1)]]),
1473
1484
  _: 1
1474
1485
  }), l(a, {
1475
1486
  type: "primary",
1476
1487
  onClick: d
1477
1488
  }, {
1478
- default: L(() => [...t[2] ||= [c("确定", -1)]]),
1489
+ default: I(() => [...t[2] ||= [c("确定", -1)]]),
1479
1490
  _: 1
1480
1491
  })]))]),
1481
1492
  _: 1
@@ -1486,7 +1497,7 @@ var Ze = { style: {
1486
1497
  ]);
1487
1498
  };
1488
1499
  }
1489
- }), Ft = /* @__PURE__ */ B({ default: () => It }), It = Pt, Q = window.origin?.includes("localhost") || window.origin?.includes("127.0.0.1") ? "/api" : "/intellicit-service";
1500
+ }), Ft = /* @__PURE__ */ z({ default: () => It }), It = Pt, Q = window.origin?.includes("localhost") || window.origin?.includes("127.0.0.1") ? "/api" : "/intellicit-service";
1490
1501
  function Lt(e) {
1491
1502
  return Array.from(new Set(e));
1492
1503
  }
@@ -1552,11 +1563,11 @@ var zt = /* @__PURE__ */ u({
1552
1563
  "onUpdate:modelValue": r[0] ||= (e) => d.value = e,
1553
1564
  "remote-method": h
1554
1565
  }, t.$attrs), {
1555
- prefix: L(() => [l(a, null, {
1556
- default: L(() => [l(j(q))]),
1566
+ prefix: I(() => [l(a, null, {
1567
+ default: I(() => [l(j(K))]),
1557
1568
  _: 1
1558
1569
  })]),
1559
- default: L(() => [(b(!0), i(e, null, C(f.value, (e) => (b(), n(o, {
1570
+ default: I(() => [(b(!0), i(e, null, C(f.value, (e) => (b(), n(o, {
1560
1571
  key: `${e.employeeCode}-${e.employeeName}`,
1561
1572
  label: e.label,
1562
1573
  value: e.value
@@ -1584,7 +1595,7 @@ var zt = /* @__PURE__ */ u({
1584
1595
  display: "flex",
1585
1596
  "justify-content": "end",
1586
1597
  "align-items": "center"
1587
- } }, qt = /* @__PURE__ */ H(/* @__PURE__ */ u({
1598
+ } }, qt = /* @__PURE__ */ V(/* @__PURE__ */ u({
1588
1599
  __name: "dialog",
1589
1600
  props: {
1590
1601
  modelValue: {},
@@ -1610,9 +1621,9 @@ var zt = /* @__PURE__ */ u({
1610
1621
  filterText: "",
1611
1622
  requiredVisible: !1
1612
1623
  }), w = S([]), E = S([]), D = t(() => y.searchData?.length ? y.searchData : y.staffData), O = t(() => f.required ?? d?.required ?? !1);
1613
- I(() => {
1624
+ ee(() => {
1614
1625
  E.value = Lt(f.modelValue || []);
1615
- }), I(() => {
1626
+ }), ee(() => {
1616
1627
  _.value && A();
1617
1628
  });
1618
1629
  async function A() {
@@ -1649,9 +1660,9 @@ var zt = /* @__PURE__ */ u({
1649
1660
  return t?.account ? e("div", { style: { display: "flex" } }, [e("el-icon", { style: {
1650
1661
  width: "14px",
1651
1662
  height: "14px"
1652
- } }, e(q)), n ? t.fullName : t.name]) : n ? t.fullName : t.name;
1663
+ } }, e(K)), n ? t.fullName : t.name]) : n ? t.fullName : t.name;
1653
1664
  }
1654
- function R(e) {
1665
+ function L(e) {
1655
1666
  if (E.value = E.value.filter((t) => t !== e), g.value) {
1656
1667
  let t = e.match(/\((.*?)\)/)?.[1];
1657
1668
  h(() => {
@@ -1659,24 +1670,24 @@ var zt = /* @__PURE__ */ u({
1659
1670
  });
1660
1671
  }
1661
1672
  }
1662
- async function ne() {
1673
+ async function re() {
1663
1674
  if (!y.filterText?.trim()) return y.searchData = [];
1664
1675
  let e = await N({
1665
1676
  page: 1,
1666
1677
  pageSize: 9999,
1667
1678
  name: y.filterText?.trim()
1668
1679
  });
1669
- if (e.code !== "ok") return U.Message.error(e.message);
1680
+ if (e.code !== "ok") return H.Message.error(e.message);
1670
1681
  y.searchData = (e?.table || []).map((e) => ({
1671
1682
  ...e,
1672
1683
  code: e.account
1673
1684
  }));
1674
1685
  }
1675
- function z(e, t) {
1686
+ function R(e, t) {
1676
1687
  let n = (t?.checkedNodes.filter((e) => e.account)).map((e) => `${e.name}(${e.account})`);
1677
1688
  E.value = Lt(E.value.concat(n));
1678
1689
  }
1679
- function B() {
1690
+ function z() {
1680
1691
  let e = p === "all" ? E.value : E.value?.map((e) => {
1681
1692
  let [t, n] = e.split("(");
1682
1693
  return {
@@ -1684,15 +1695,15 @@ var zt = /* @__PURE__ */ u({
1684
1695
  account: n?.replace(")", "")
1685
1696
  }[p] || e.trim();
1686
1697
  });
1687
- u("change", e), u("update:modelValue", e), _.value = !1, V();
1698
+ u("change", e), u("update:modelValue", e), _.value = !1, B();
1688
1699
  }
1689
- function re() {
1700
+ function ie() {
1690
1701
  u("update:modelValue", void 0), _.value = !1;
1691
1702
  }
1692
- function V() {
1703
+ function B() {
1693
1704
  return y.requiredVisible = O.value && E.value.length === 0, y.requiredVisible;
1694
1705
  }
1695
- return o({ validate: V }), (t, n) => {
1706
+ return o({ validate: B }), (t, n) => {
1696
1707
  let o = T("el-select"), s = T("el-input"), u = T("el-tree"), d = T("el-icon"), p = T("el-button"), h = T("el-dialog");
1697
1708
  return b(), i(e, null, [a("div", {
1698
1709
  class: "staff-select-trigger",
@@ -1729,13 +1740,13 @@ var zt = /* @__PURE__ */ u({
1729
1740
  "append-to-body": "",
1730
1741
  "close-on-click-modal": !1
1731
1742
  }, {
1732
- default: L(() => [a("div", Bt, [a("div", Vt, [l(s, {
1743
+ default: I(() => [a("div", Bt, [a("div", Vt, [l(s, {
1733
1744
  placeholder: "请输入",
1734
1745
  modelValue: y.filterText,
1735
1746
  "onUpdate:modelValue": n[2] ||= (e) => y.filterText = e,
1736
1747
  clearable: "",
1737
- "prefix-icon": j(K),
1738
- onKeydown: ee(ne, ["enter"])
1748
+ "prefix-icon": j(G),
1749
+ onKeydown: te(re, ["enter"])
1739
1750
  }, null, 8, ["modelValue", "prefix-icon"]), l(u, {
1740
1751
  loading: y.loading,
1741
1752
  data: D.value,
@@ -1743,7 +1754,7 @@ var zt = /* @__PURE__ */ u({
1743
1754
  "highlight-current": !0,
1744
1755
  "render-content": F,
1745
1756
  load: P,
1746
- onCheck: z,
1757
+ onCheck: R,
1747
1758
  "show-checkbox": "",
1748
1759
  lazy: "",
1749
1760
  class: "staff-tree",
@@ -1755,18 +1766,18 @@ var zt = /* @__PURE__ */ u({
1755
1766
  class: "staff-item"
1756
1767
  }, [a("span", null, k(e), 1), l(d, {
1757
1768
  color: "red",
1758
- onClick: te((t) => R(e), ["stop"])
1769
+ onClick: ne((t) => L(e), ["stop"])
1759
1770
  }, {
1760
- default: L(() => [l(j(Ae))]),
1771
+ default: I(() => [l(j(je))]),
1761
1772
  _: 1
1762
- }, 8, ["onClick"])]))), 128))])])]), a("div", Kt, [l(p, { onClick: re }, {
1763
- default: L(() => [...n[5] ||= [c("取消", -1)]]),
1773
+ }, 8, ["onClick"])]))), 128))])])]), a("div", Kt, [l(p, { onClick: ie }, {
1774
+ default: I(() => [...n[5] ||= [c("取消", -1)]]),
1764
1775
  _: 1
1765
1776
  }), l(p, {
1766
1777
  type: "primary",
1767
- onClick: B
1778
+ onClick: z
1768
1779
  }, {
1769
- default: L(() => [...n[6] ||= [c("确定", -1)]]),
1780
+ default: I(() => [...n[6] ||= [c("确定", -1)]]),
1770
1781
  _: 1
1771
1782
  })])]),
1772
1783
  _: 1
@@ -1792,7 +1803,7 @@ var zt = /* @__PURE__ */ u({
1792
1803
  ...r
1793
1804
  }), null, 16));
1794
1805
  }
1795
- }), Yt = /* @__PURE__ */ B({ default: () => Xt }), Xt = Jt, Zt = /* @__PURE__ */ H(/* @__PURE__ */ u({
1806
+ }), Yt = /* @__PURE__ */ z({ default: () => Xt }), Xt = Jt, Zt = /* @__PURE__ */ V(/* @__PURE__ */ u({
1796
1807
  __name: "file",
1797
1808
  props: {
1798
1809
  icon: {},
@@ -1821,18 +1832,18 @@ var zt = /* @__PURE__ */ u({
1821
1832
  "hide-upload-text": g.value
1822
1833
  }
1823
1834
  }), s({
1824
- default: L(() => [w(e.$slots, "tip", {}, void 0, !0)]),
1835
+ default: I(() => [w(e.$slots, "tip", {}, void 0, !0)]),
1825
1836
  _: 2
1826
1837
  }, [_.value ? void 0 : {
1827
1838
  name: "trigger",
1828
- fn: L(() => [l(r, {
1839
+ fn: I(() => [l(r, {
1829
1840
  type: "primary",
1830
1841
  plain: "",
1831
1842
  icon: j(o),
1832
1843
  size: j(u),
1833
1844
  disabled: j(p)
1834
1845
  }, {
1835
- default: L(() => [c(k(j(a)), 1)]),
1846
+ default: I(() => [c(k(j(a)), 1)]),
1836
1847
  _: 1
1837
1848
  }, 8, [
1838
1849
  "icon",
@@ -1877,8 +1888,8 @@ var zt = /* @__PURE__ */ u({
1877
1888
  "list-type": "picture-card",
1878
1889
  "on-preview": s
1879
1890
  }), {
1880
- default: L(() => [l(u, null, {
1881
- default: L(() => [l(j(Ne))]),
1891
+ default: I(() => [l(u, null, {
1892
+ default: I(() => [l(j(Pe))]),
1882
1893
  _: 1
1883
1894
  })]),
1884
1895
  _: 1
@@ -1886,7 +1897,7 @@ var zt = /* @__PURE__ */ u({
1886
1897
  modelValue: o.value,
1887
1898
  "onUpdate:modelValue": c[0] ||= (e) => o.value = e
1888
1899
  }, {
1889
- default: L(() => [a("img", {
1900
+ default: I(() => [a("img", {
1890
1901
  "w-full": "",
1891
1902
  src: r.value.url,
1892
1903
  alt: "预览"
@@ -1938,14 +1949,14 @@ var zt = /* @__PURE__ */ u({
1938
1949
  e.onChange?.(r, t), f.value = r, i("update:modelValue", r), i("change", r), u.value = r.length;
1939
1950
  }
1940
1951
  function h() {
1941
- e.limit && U.Message.warning(`最多只能上传 ${e.limit} 个文件`);
1952
+ e.limit && H.Message.warning(`最多只能上传 ${e.limit} 个文件`);
1942
1953
  }
1943
1954
  function g(e, t) {
1944
1955
  i("update:modelValue", A(t)), i("remove", A(t)), u.value = t.length;
1945
1956
  }
1946
1957
  function _(e, t) {
1947
1958
  let n = A(f);
1948
- if (e?.code !== "ok") return U.Message.error(e?.message);
1959
+ if (e?.code !== "ok") return H.Message.error(e?.message);
1949
1960
  let r = Q + `/attachment/downloadAttachment?objectKey=${e.data?.objectKey}&fileName=${e.data?.fileName}&token=${d.token}`;
1950
1961
  n?.some((t) => t?.objectKey === e.data?.objectKey) || n.push({
1951
1962
  name: t.name,
@@ -1980,7 +1991,7 @@ var zt = /* @__PURE__ */ u({
1980
1991
  "limit"
1981
1992
  ]));
1982
1993
  }
1983
- }), tn = /* @__PURE__ */ B({ default: () => nn }), nn = en, rn = {
1994
+ }), tn = /* @__PURE__ */ z({ default: () => nn }), nn = en, rn = {
1984
1995
  mounted(e, t) {
1985
1996
  let n = t.value || {}, r = n.target || "body", i = n.top || 0;
1986
1997
  e._stickyOriginalStyles = {
@@ -2007,15 +2018,15 @@ var zt = /* @__PURE__ */ u({
2007
2018
  }
2008
2019
  }, an = { mounted(e) {
2009
2020
  e.style.boxShadow = "0px 0px 12px rgba(0, 0, 0, 0.12)", e.style.padding = "20px", e.style.borderRadius = "4px", e.style.border = "1px solid #e4e7ed", e.style.backgroundColor = "#fff";
2010
- } }, on = /* @__PURE__ */ B({
2021
+ } }, on = /* @__PURE__ */ z({
2011
2022
  card: () => an,
2012
2023
  sticky: () => rn
2013
2024
  }), sn = "Yc", cn = {
2014
- UiCard: ie,
2015
- UiTable: we,
2016
- UiFilter: $e,
2017
- UiForm: at,
2018
- UiEditor: lt,
2025
+ UiCard: ae,
2026
+ UiTable: Te,
2027
+ UiFilter: et,
2028
+ UiForm: ot,
2029
+ UiEditor: Z,
2019
2030
  UiTree: vt,
2020
2031
  UiInfiniteScroll: Et,
2021
2032
  UiDescriptions: jt,
@@ -2030,7 +2041,10 @@ function $() {
2030
2041
  return ln;
2031
2042
  }
2032
2043
  var dn = { install(e, t) {
2033
- t?.elementPlus && t.elementPlus.install(e), ln ||= e;
2044
+ t?.elementPlus && t.elementPlus.install(e), ln ||= {
2045
+ ...e,
2046
+ h: f
2047
+ };
2034
2048
  for (let [t, n] of Object.entries(cn)) {
2035
2049
  let r = n?.default || n;
2036
2050
  if (r && (typeof r == "function" || typeof r == "object")) {
@@ -2040,8 +2054,8 @@ var dn = { install(e, t) {
2040
2054
  i !== n && e.component(i, r);
2041
2055
  }
2042
2056
  }
2043
- for (let [t, n] of Object.entries(Ye)) e.component(t, n), e.component(t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), n);
2057
+ for (let [t, n] of Object.entries(Xe)) e.component(t, n), e.component(t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), n);
2044
2058
  for (let [t, n] of Object.entries(on)) (typeof n == "function" || typeof n == "object") && e.directive(t, n);
2045
2059
  } };
2046
2060
  //#endregion
2047
- export { ie as UiCard, jt as UiDescriptions, Ft as UiDialog, lt as UiEditor, $e as UiFilter, at as UiForm, Et as UiInfiniteScroll, Yt as UiStaffSelect, we as UiTable, vt as UiTree, tn as UiUpload, dn as default, dn as ycPlugin, $ as getHostVue, un as setHostVue };
2061
+ export { ae as UiCard, jt as UiDescriptions, Ft as UiDialog, Z as UiEditor, et as UiFilter, ot as UiForm, Et as UiInfiniteScroll, Yt as UiStaffSelect, Te as UiTable, vt as UiTree, tn as UiUpload, dn as default, dn as ycPlugin, $ as getHostVue, un as setHostVue };