@cregis/ui 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,26 +1,21 @@
1
1
  import { createI18n as Kn } from "vue-i18n";
2
- import { defineComponent as oe, useSlots as Sn, ref as V, computed as p, openBlock as u, createElementBlock as h, normalizeClass as q, createElementVNode as S, mergeProps as Be, createBlock as de, resolveDynamicComponent as it, normalizeStyle as Z, renderSlot as ae, toDisplayString as H, createCommentVNode as I, unref as U, watch as le, nextTick as ge, onMounted as Ie, onBeforeUnmount as Nt, withDirectives as _e, vModelDynamic as Gn, withModifiers as Fe, vModelText as Zn, createVNode as ne, withCtx as ve, createTextVNode as ye, reactive as je, provide as It, toRef as ht, Fragment as ze, renderList as We, inject as jt, onUnmounted as Le, Transition as st, render as Ue, h as Ht, getCurrentScope as Qn, onScopeDispose as Jn, readonly as Ot, toHandlers as Tt, Teleport as _t, vShow as St, createSlots as on } from "vue";
2
+ import { defineComponent as oe, useSlots as Sn, ref as V, computed as p, openBlock as u, createElementBlock as h, normalizeClass as q, createElementVNode as S, mergeProps as Be, createBlock as de, resolveDynamicComponent as it, normalizeStyle as Z, renderSlot as ae, toDisplayString as H, createCommentVNode as N, unref as U, watch as le, nextTick as ge, onMounted as Ne, onBeforeUnmount as It, withDirectives as _e, vModelDynamic as Gn, withModifiers as Fe, vModelText as Zn, createVNode as ne, withCtx as ve, createTextVNode as ye, reactive as je, provide as Nt, toRef as ht, Fragment as ze, renderList as We, inject as jt, onUnmounted as Le, Transition as st, render as Ue, h as Ht, getCurrentScope as Qn, onScopeDispose as Jn, readonly as Ot, toHandlers as Tt, Teleport as _t, vShow as St, createSlots as on } from "vue";
3
3
  import { EdsLoad as Pt, EdsCloseCircleFill as ea, EdsTickFill as Cn, EdsWarningFill as ta, EdsSearch as On, EdsArrowDownMiniIos as Ft, EdsArrowRightMiniIos as na, EdsAdd as sn, EdsClose as Ut, EdsWarningLonely as aa, EdsTimeWait as ia, EdsArrowRefuses as ra, EdsTick as la, EdsNoData as oa } from "@cregis/icon";
4
4
  const sa = {
5
5
  input: {
6
6
  placeholder: "請輸入"
7
7
  },
8
8
  select: {
9
- noData: "暂无数据",
10
9
  noMatch: "无匹配数据",
11
10
  search: "搜索"
12
11
  },
13
12
  cascader: {
14
- noData: "暂无数据",
15
13
  noMatch: "无匹配数据"
16
14
  },
17
15
  dialog: {
18
16
  confirm: "确认",
19
17
  cancel: "取消"
20
18
  },
21
- table: {
22
- noData: "暂无数据"
23
- },
24
19
  upload: {
25
20
  formatError: "文件格式不符合要求。",
26
21
  sizeError: "文件大小不能超过 {size} MB。"
@@ -29,30 +24,27 @@ const sa = {
29
24
  asc: "升序",
30
25
  desc: "降序",
31
26
  loading: "稍作等待",
32
- noData: "暫無數據",
33
27
  selected: "已選擇",
34
28
  refreshed: "已刷新"
29
+ },
30
+ common: {
31
+ noData: "暫無數據"
35
32
  }
36
33
  }, ca = {
37
34
  input: {
38
35
  placeholder: "请输入"
39
36
  },
40
37
  select: {
41
- noData: "暂无数据",
42
38
  noMatch: "无匹配数据",
43
39
  search: "搜索"
44
40
  },
45
41
  cascader: {
46
- noData: "暂无数据",
47
42
  noMatch: "无匹配数据"
48
43
  },
49
44
  dialog: {
50
45
  confirm: "确认",
51
46
  cancel: "取消"
52
47
  },
53
- table: {
54
- noData: "暂无数据"
55
- },
56
48
  upload: {
57
49
  formatError: "文件格式不符合要求。",
58
50
  sizeError: "文件大小不能超过 {size} MB。"
@@ -61,30 +53,27 @@ const sa = {
61
53
  asc: "升序",
62
54
  desc: "降序",
63
55
  loading: "稍作等待",
64
- noData: "暂无数据",
65
56
  selected: "已选择",
66
57
  refreshed: "已刷新"
58
+ },
59
+ common: {
60
+ noData: "暂无数据"
67
61
  }
68
62
  }, ua = {
69
63
  input: {
70
64
  placeholder: "Please enter"
71
65
  },
72
66
  select: {
73
- noData: "No data",
74
67
  noMatch: "No matching data",
75
68
  search: "Search"
76
69
  },
77
70
  cascader: {
78
- noData: "No data",
79
71
  noMatch: "No matching data"
80
72
  },
81
73
  dialog: {
82
74
  confirm: "Confirm",
83
75
  cancel: "Cancel"
84
76
  },
85
- table: {
86
- noData: "No data"
87
- },
88
77
  upload: {
89
78
  formatError: "The file format does not meet the requirements.",
90
79
  sizeError: "The file size cannot exceed {size} MB."
@@ -93,9 +82,11 @@ const sa = {
93
82
  asc: "Ascending",
94
83
  desc: "Descending",
95
84
  loading: "loading",
96
- noData: "No data",
97
85
  selected: "Selected",
98
86
  refreshed: "Refreshed"
87
+ },
88
+ common: {
89
+ noData: "No Data"
99
90
  }
100
91
  };
101
92
  let zt;
@@ -187,7 +178,7 @@ const Tn = () => (zt || (zt = Kn({
187
178
  key: 0,
188
179
  class: q(["cregis-button__icon-text", { "is-disabled": e.disabled }]),
189
180
  onClick: a
190
- }, H(e.iconText), 3)) : I("", !0)
181
+ }, H(e.iconText), 3)) : N("", !0)
191
182
  ], 2)) : e.link ? (u(), h("button", Be({ key: 1 }, c.$attrs, {
192
183
  class: ["cregis-button__link", {
193
184
  [`cregis-button__link--${e.type}`]: e.type,
@@ -302,7 +293,7 @@ const Tn = () => (zt || (zt = Kn({
302
293
  let k = null, P = null, T = null;
303
294
  const B = async () => {
304
295
  await ge(), C.value?.focus();
305
- }, N = async () => {
296
+ }, I = async () => {
306
297
  if (i.type === "number") {
307
298
  const f = m(y.value);
308
299
  f !== y.value && (y.value = f);
@@ -356,11 +347,11 @@ const Tn = () => (zt || (zt = Kn({
356
347
  le(
357
348
  () => [i.rows, i.disabled],
358
349
  () => ge(() => te())
359
- ), Ie(() => {
350
+ ), Ne(() => {
360
351
  i.type === "textarea" && ge(() => {
361
352
  te(), !(!C.value || typeof ResizeObserver > "u") && (T = new ResizeObserver(() => te()), T.observe(C.value));
362
353
  });
363
- }), Nt(() => {
354
+ }), It(() => {
364
355
  P && cancelAnimationFrame(P), T?.disconnect();
365
356
  });
366
357
  const L = p(() => i.type === "number" && i.nonNegative ? 0 : void 0), F = (f) => f === "." || f === "," || f === "," || f === "。" || f === "." || f === "Decimal", J = (f) => {
@@ -408,7 +399,7 @@ const Tn = () => (zt || (zt = Kn({
408
399
  }, [
409
400
  f.$slots.prefix ? (u(), h("span", pa, [
410
401
  ae(f.$slots, "prefix")
411
- ])) : I("", !0),
402
+ ])) : N("", !0),
412
403
  _e(S("input", Be({
413
404
  class: "cregis-input__inner",
414
405
  "onUpdate:modelValue": $[0] || ($[0] = (D) => y.value = D),
@@ -421,7 +412,7 @@ const Tn = () => (zt || (zt = Kn({
421
412
  min: L.value,
422
413
  spellcheck: "false",
423
414
  disabled: e.disabled,
424
- onInput: N,
415
+ onInput: I,
425
416
  onChange: Y,
426
417
  onFocus: X,
427
418
  onBlur: _,
@@ -433,7 +424,7 @@ const Tn = () => (zt || (zt = Kn({
433
424
  key: 1,
434
425
  style: Z(A.value),
435
426
  class: "cregis-input__unit"
436
- }, H(e.unit), 5)) : I("", !0),
427
+ }, H(e.unit), 5)) : N("", !0),
437
428
  f.$slots.suffix || se.value ? (u(), h("span", ha, [
438
429
  ae(f.$slots, "suffix"),
439
430
  se.value ? (u(), de(He, {
@@ -443,8 +434,8 @@ const Tn = () => (zt || (zt = Kn({
443
434
  onClick: Q,
444
435
  onMousedown: $[1] || ($[1] = Fe(() => {
445
436
  }, ["prevent"]))
446
- }, null, 8, ["icon"])) : I("", !0)
447
- ])) : I("", !0)
437
+ }, null, 8, ["icon"])) : N("", !0)
438
+ ])) : N("", !0)
448
439
  ], 2)
449
440
  ], 6)) : (u(), h("div", {
450
441
  key: 1,
@@ -459,7 +450,7 @@ const Tn = () => (zt || (zt = Kn({
459
450
  placeholder: e.placeholder || U(he)("input.placeholder"),
460
451
  rows: e.rows,
461
452
  "onUpdate:modelValue": $[2] || ($[2] = (D) => y.value = D),
462
- onInput: N,
453
+ onInput: I,
463
454
  onChange: Y,
464
455
  onFocus: X,
465
456
  onBlur: _,
@@ -467,7 +458,7 @@ const Tn = () => (zt || (zt = Kn({
467
458
  }), null, 16, ga), [
468
459
  [Zn, y.value]
469
460
  ]),
470
- e.disabled ? I("", !0) : (u(), h("div", {
461
+ e.disabled ? N("", !0) : (u(), h("div", {
471
462
  key: 0,
472
463
  ref_key: "textareaButtonsRef",
473
464
  ref: E,
@@ -584,7 +575,7 @@ const Tn = () => (zt || (zt = Kn({
584
575
  ae(s.$slots, "default", {}, () => [
585
576
  ye(H(e.label), 1)
586
577
  ])
587
- ], 2)) : I("", !0)
578
+ ], 2)) : N("", !0)
588
579
  ]));
589
580
  }
590
581
  }), Ml = /* @__PURE__ */ oe({
@@ -620,10 +611,10 @@ const Tn = () => (zt || (zt = Kn({
620
611
  ae(s.$slots, "default", {}, () => [
621
612
  ye(H(e.label), 1)
622
613
  ])
623
- ], 2)) : I("", !0)
614
+ ], 2)) : N("", !0)
624
615
  ]));
625
616
  }
626
- }), Nl = /* @__PURE__ */ oe({
617
+ }), Il = /* @__PURE__ */ oe({
627
618
  name: "Divider",
628
619
  __name: "Divider",
629
620
  props: {
@@ -661,7 +652,7 @@ const Tn = () => (zt || (zt = Kn({
661
652
  style: Z(i.value)
662
653
  }, null, 6));
663
654
  }
664
- }), Rn = Symbol("TABS_KEY"), Sa = ["onClick"], Ca = { style: { display: "none" } }, Il = /* @__PURE__ */ oe({
655
+ }), Rn = Symbol("TABS_KEY"), Sa = ["onClick"], Ca = { style: { display: "none" } }, Nl = /* @__PURE__ */ oe({
665
656
  name: "Tabs",
666
657
  __name: "Tabs",
667
658
  props: {
@@ -685,7 +676,7 @@ const Tn = () => (zt || (zt = Kn({
685
676
  } : {
686
677
  borderRadius: 0
687
678
  });
688
- return It(Rn, {
679
+ return Nt(Rn, {
689
680
  activeName: ht(t, "modelValue"),
690
681
  registerTab: i,
691
682
  unregisterTab: a
@@ -718,7 +709,7 @@ const Tn = () => (zt || (zt = Kn({
718
709
  setup(e) {
719
710
  const t = e, n = jt(Rn);
720
711
  if (!n) throw new Error("TabPane must be used within Tabs");
721
- return Ie(() => {
712
+ return Ne(() => {
722
713
  n.registerTab({ label: t.label, name: t.name });
723
714
  }), le(
724
715
  () => t.label,
@@ -759,7 +750,7 @@ const Yt = () => (gt = gt + 1, gt), Hl = (e) => {
759
750
  }, s = () => {
760
751
  t.onVanish?.();
761
752
  };
762
- return Nt(() => {
753
+ return It(() => {
763
754
  i !== void 0 && clearTimeout(i);
764
755
  }), ge(() => {
765
756
  n.value = !0;
@@ -786,7 +777,7 @@ const Yt = () => (gt = gt + 1, gt), Hl = (e) => {
786
777
  })
787
778
  ]),
788
779
  S("p", null, H(e.message), 1)
789
- ])) : I("", !0)
780
+ ])) : N("", !0)
790
781
  ]),
791
782
  _: 1
792
783
  })
@@ -839,7 +830,7 @@ const Ra = { class: "cregis-notification__wrapper" }, La = {
839
830
  }, a = () => {
840
831
  t.onVanish?.();
841
832
  };
842
- return Nt(() => {
833
+ return It(() => {
843
834
  }), ge(() => {
844
835
  n.value = !0;
845
836
  }), (r, s) => (u(), h("div", Ra, [
@@ -866,7 +857,7 @@ const Ra = { class: "cregis-notification__wrapper" }, La = {
866
857
  ]),
867
858
  _: 1
868
859
  })
869
- ])) : I("", !0)
860
+ ])) : N("", !0)
870
861
  ]),
871
862
  _: 1
872
863
  })
@@ -892,7 +883,7 @@ function _l(e) {
892
883
  r
893
884
  );
894
885
  }
895
- const Aa = { class: "cregis-progress__wrapper" }, Da = { class: "cregis-progress__track-wrap" }, Ma = { class: "cregis-progress cregis-progress--striped active" }, Na = {
886
+ const Aa = { class: "cregis-progress__wrapper" }, Da = { class: "cregis-progress__track-wrap" }, Ma = { class: "cregis-progress cregis-progress--striped active" }, Ia = {
896
887
  key: 0,
897
888
  class: "cregis-progress__sliding-block"
898
889
  }, Fl = /* @__PURE__ */ oe({
@@ -918,19 +909,19 @@ const Aa = { class: "cregis-progress__wrapper" }, Da = { class: "cregis-progress
918
909
  class: "cregis-progress__tip",
919
910
  style: Z(a.value),
920
911
  "aria-live": "polite"
921
- }, H(r.value), 5)) : I("", !0),
912
+ }, H(r.value), 5)) : N("", !0),
922
913
  S("div", Ma, [
923
914
  S("div", {
924
915
  class: "cregis-progress__bar",
925
916
  style: Z(i.value)
926
917
  }, null, 4),
927
- t.loading ? (u(), h("div", Na)) : I("", !0)
918
+ t.loading ? (u(), h("div", Ia)) : N("", !0)
928
919
  ])
929
920
  ])
930
921
  ]));
931
922
  }
932
923
  });
933
- var we = "top", Oe = "bottom", Te = "right", xe = "left", Xt = "auto", ct = [we, Oe, Te, xe], qe = "start", rt = "end", Ia = "clippingParents", Ln = "viewport", Ge = "popper", ja = "reference", un = /* @__PURE__ */ ct.reduce(function(e, t) {
924
+ var we = "top", Oe = "bottom", Te = "right", xe = "left", Xt = "auto", ct = [we, Oe, Te, xe], qe = "start", rt = "end", Na = "clippingParents", Ln = "viewport", Ge = "popper", ja = "reference", un = /* @__PURE__ */ ct.reduce(function(e, t) {
934
925
  return e.concat([t + "-" + qe, t + "-" + rt]);
935
926
  }, []), Bn = /* @__PURE__ */ [].concat(ct, [Xt]).reduce(function(e, t) {
936
927
  return e.concat([t, t + "-" + qe, t + "-" + rt]);
@@ -947,7 +938,7 @@ function $e(e) {
947
938
  }
948
939
  return e;
949
940
  }
950
- function Ne(e) {
941
+ function Ie(e) {
951
942
  var t = $e(e).Element;
952
943
  return e instanceof t || e instanceof Element;
953
944
  }
@@ -1020,7 +1011,7 @@ function Xe(e, t, n) {
1020
1011
  t === void 0 && (t = !1), n === void 0 && (n = !1);
1021
1012
  var i = e.getBoundingClientRect(), a = 1, r = 1;
1022
1013
  t && Ce(e) && (a = e.offsetWidth > 0 && Ye(i.width) / e.offsetWidth || 1, r = e.offsetHeight > 0 && Ye(i.height) / e.offsetHeight || 1);
1023
- var s = Ne(e) ? $e(e) : window, l = s.visualViewport, o = !Pn() && n, v = (i.left + (o && l ? l.offsetLeft : 0)) / a, c = (i.top + (o && l ? l.offsetTop : 0)) / r, d = i.width / a, g = i.height / r;
1014
+ var s = Ie(e) ? $e(e) : window, l = s.visualViewport, o = !Pn() && n, v = (i.left + (o && l ? l.offsetLeft : 0)) / a, c = (i.top + (o && l ? l.offsetTop : 0)) / r, d = i.width / a, g = i.height / r;
1024
1015
  return {
1025
1016
  width: d,
1026
1017
  height: g,
@@ -1062,7 +1053,7 @@ function ti(e) {
1062
1053
  return ["table", "td", "th"].indexOf(Re(e)) >= 0;
1063
1054
  }
1064
1055
  function Ae(e) {
1065
- return ((Ne(e) ? e.ownerDocument : (
1056
+ return ((Ie(e) ? e.ownerDocument : (
1066
1057
  // $FlowFixMe[prop-missing]
1067
1058
  e.document
1068
1059
  )) || window.document).documentElement;
@@ -1138,8 +1129,8 @@ var ii = function(t, n) {
1138
1129
  function ri(e) {
1139
1130
  var t, n = e.state, i = e.name, a = e.options, r = n.elements.arrow, s = n.modifiersData.popperOffsets, l = Ee(n.placement), o = Zt(l), v = [xe, Te].indexOf(l) >= 0, c = v ? "height" : "width";
1140
1131
  if (!(!r || !s)) {
1141
- var d = ii(a.padding, n), g = Gt(r), m = o === "y" ? we : xe, y = o === "y" ? Oe : Te, C = n.rects.reference[c] + n.rects.reference[o] - s[o] - n.rects.popper[c], E = s[o] - n.rects.reference[o], x = ut(r), z = x ? o === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, R = C / 2 - E / 2, k = d[m], P = z - g[c] - d[y], T = z / 2 - g[c] / 2 + R, B = et(k, T, P), N = o;
1142
- n.modifiersData[i] = (t = {}, t[N] = B, t.centerOffset = B - T, t);
1132
+ var d = ii(a.padding, n), g = Gt(r), m = o === "y" ? we : xe, y = o === "y" ? Oe : Te, C = n.rects.reference[c] + n.rects.reference[o] - s[o] - n.rects.popper[c], E = s[o] - n.rects.reference[o], x = ut(r), z = x ? o === "y" ? x.clientHeight || 0 : x.clientWidth || 0 : 0, R = C / 2 - E / 2, k = d[m], P = z - g[c] - d[y], T = z / 2 - g[c] / 2 + R, B = et(k, T, P), I = o;
1133
+ n.modifiersData[i] = (t = {}, t[I] = B, t.centerOffset = B - T, t);
1143
1134
  }
1144
1135
  }
1145
1136
  function li(e) {
@@ -1182,8 +1173,8 @@ function fn(e) {
1182
1173
  m = E.x, C = E.y;
1183
1174
  var x = s.hasOwnProperty("x"), z = s.hasOwnProperty("y"), R = xe, k = we, P = window;
1184
1175
  if (v) {
1185
- var T = ut(n), B = "clientHeight", N = "clientWidth";
1186
- if (T === $e(n) && (T = Ae(n), Pe(T).position !== "static" && l === "absolute" && (B = "scrollHeight", N = "scrollWidth")), T = T, a === we || (a === xe || a === Te) && r === rt) {
1176
+ var T = ut(n), B = "clientHeight", I = "clientWidth";
1177
+ if (T === $e(n) && (T = Ae(n), Pe(T).position !== "static" && l === "absolute" && (B = "scrollHeight", I = "scrollWidth")), T = T, a === we || (a === xe || a === Te) && r === rt) {
1187
1178
  k = Oe;
1188
1179
  var Y = d && T === P && P.visualViewport ? P.visualViewport.height : (
1189
1180
  // $FlowFixMe[prop-missing]
@@ -1195,7 +1186,7 @@ function fn(e) {
1195
1186
  R = Te;
1196
1187
  var X = d && T === P && P.visualViewport ? P.visualViewport.width : (
1197
1188
  // $FlowFixMe[prop-missing]
1198
- T[N]
1189
+ T[I]
1199
1190
  );
1200
1191
  m -= X - i.width, m *= o ? 1 : -1;
1201
1192
  }
@@ -1349,12 +1340,12 @@ function bi(e, t) {
1349
1340
  return n.top = n.top + e.clientTop, n.left = n.left + e.clientLeft, n.bottom = n.top + e.clientHeight, n.right = n.left + e.clientWidth, n.width = e.clientWidth, n.height = e.clientHeight, n.x = n.left, n.y = n.top, n;
1350
1341
  }
1351
1342
  function pn(e, t, n) {
1352
- return t === Ln ? Wt(hi(e, n)) : Ne(t) ? bi(t, n) : Wt(gi(Ae(e)));
1343
+ return t === Ln ? Wt(hi(e, n)) : Ie(t) ? bi(t, n) : Wt(gi(Ae(e)));
1353
1344
  }
1354
1345
  function yi(e) {
1355
1346
  var t = tt(Ct(e)), n = ["absolute", "fixed"].indexOf(Pe(e).position) >= 0, i = n && Ce(e) ? ut(e) : e;
1356
- return Ne(i) ? t.filter(function(a) {
1357
- return Ne(a) && Vn(a, i) && Re(a) !== "body";
1347
+ return Ie(i) ? t.filter(function(a) {
1348
+ return Ie(a) && Vn(a, i) && Re(a) !== "body";
1358
1349
  }) : [];
1359
1350
  }
1360
1351
  function wi(e, t, n, i) {
@@ -1364,7 +1355,7 @@ function wi(e, t, n, i) {
1364
1355
  }, pn(e, s, i));
1365
1356
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
1366
1357
  }
1367
- function Nn(e) {
1358
+ function In(e) {
1368
1359
  var t = e.reference, n = e.element, i = e.placement, a = i ? Ee(i) : null, r = i ? Ke(i) : null, s = t.x + t.width / 2 - n.width / 2, l = t.y + t.height / 2 - n.height / 2, o;
1369
1360
  switch (a) {
1370
1361
  case we:
@@ -1413,11 +1404,11 @@ function Nn(e) {
1413
1404
  }
1414
1405
  function lt(e, t) {
1415
1406
  t === void 0 && (t = {});
1416
- var n = t, i = n.placement, a = i === void 0 ? e.placement : i, r = n.strategy, s = r === void 0 ? e.strategy : r, l = n.boundary, o = l === void 0 ? Ia : l, v = n.rootBoundary, c = v === void 0 ? Ln : v, d = n.elementContext, g = d === void 0 ? Ge : d, m = n.altBoundary, y = m === void 0 ? !1 : m, C = n.padding, E = C === void 0 ? 0 : C, x = An(typeof E != "number" ? E : Dn(E, ct)), z = g === Ge ? ja : Ge, R = e.rects.popper, k = e.elements[y ? z : g], P = wi(Ne(k) ? k : k.contextElement || Ae(e.elements.popper), o, c, s), T = Xe(e.elements.reference), B = Nn({
1407
+ var n = t, i = n.placement, a = i === void 0 ? e.placement : i, r = n.strategy, s = r === void 0 ? e.strategy : r, l = n.boundary, o = l === void 0 ? Na : l, v = n.rootBoundary, c = v === void 0 ? Ln : v, d = n.elementContext, g = d === void 0 ? Ge : d, m = n.altBoundary, y = m === void 0 ? !1 : m, C = n.padding, E = C === void 0 ? 0 : C, x = An(typeof E != "number" ? E : Dn(E, ct)), z = g === Ge ? ja : Ge, R = e.rects.popper, k = e.elements[y ? z : g], P = wi(Ie(k) ? k : k.contextElement || Ae(e.elements.popper), o, c, s), T = Xe(e.elements.reference), B = In({
1417
1408
  reference: T,
1418
1409
  element: R,
1419
1410
  placement: a
1420
- }), N = Wt(Object.assign({}, R, B)), Y = g === Ge ? N : T, X = {
1411
+ }), I = Wt(Object.assign({}, R, B)), Y = g === Ge ? I : T, X = {
1421
1412
  top: P.top - Y.top + x.top,
1422
1413
  bottom: Y.bottom - P.bottom + x.bottom,
1423
1414
  left: P.left - Y.left + x.left,
@@ -1470,7 +1461,7 @@ function $i(e) {
1470
1461
  flipVariations: y,
1471
1462
  allowedAutoPlacements: C
1472
1463
  }) : ee);
1473
- }, []), P = t.rects.reference, T = t.rects.popper, B = /* @__PURE__ */ new Map(), N = !0, Y = k[0], X = 0; X < k.length; X++) {
1464
+ }, []), P = t.rects.reference, T = t.rects.popper, B = /* @__PURE__ */ new Map(), I = !0, Y = k[0], X = 0; X < k.length; X++) {
1474
1465
  var _ = k[X], se = Ee(_), Q = Ke(_) === qe, te = [we, Oe].indexOf(se) >= 0, pe = te ? "width" : "height", G = lt(t, {
1475
1466
  placement: _,
1476
1467
  boundary: c,
@@ -1483,12 +1474,12 @@ function $i(e) {
1483
1474
  if (r && L.push(G[se] <= 0), l && L.push(G[A] <= 0, G[M] <= 0), L.every(function(D) {
1484
1475
  return D;
1485
1476
  })) {
1486
- Y = _, N = !1;
1477
+ Y = _, I = !1;
1487
1478
  break;
1488
1479
  }
1489
1480
  B.set(_, L);
1490
1481
  }
1491
- if (N)
1482
+ if (I)
1492
1483
  for (var F = y ? 3 : 1, J = function(ee) {
1493
1484
  var ce = k.find(function(b) {
1494
1485
  var ie = B.get(b);
@@ -1582,7 +1573,7 @@ const Ei = {
1582
1573
  };
1583
1574
  function Ri(e) {
1584
1575
  var t = e.state, n = e.name;
1585
- t.modifiersData[n] = Nn({
1576
+ t.modifiersData[n] = In({
1586
1577
  reference: t.rects.reference,
1587
1578
  element: t.rects.popper,
1588
1579
  placement: t.placement
@@ -1604,7 +1595,7 @@ function Pi(e) {
1604
1595
  rootBoundary: v,
1605
1596
  padding: d,
1606
1597
  altBoundary: c
1607
- }), x = Ee(t.placement), z = Ke(t.placement), R = !z, k = Zt(x), P = Bi(k), T = t.modifiersData.popperOffsets, B = t.rects.reference, N = t.rects.popper, Y = typeof C == "function" ? C(Object.assign({}, t.rects, {
1598
+ }), x = Ee(t.placement), z = Ke(t.placement), R = !z, k = Zt(x), P = Bi(k), T = t.modifiersData.popperOffsets, B = t.rects.reference, I = t.rects.popper, Y = typeof C == "function" ? C(Object.assign({}, t.rects, {
1608
1599
  placement: t.placement
1609
1600
  })) : C, X = typeof Y == "number" ? {
1610
1601
  mainAxis: Y,
@@ -1618,14 +1609,14 @@ function Pi(e) {
1618
1609
  };
1619
1610
  if (T) {
1620
1611
  if (r) {
1621
- var Q, te = k === "y" ? we : xe, pe = k === "y" ? Oe : Te, G = k === "y" ? "height" : "width", A = T[k], M = A + E[te], L = A - E[pe], F = m ? -N[G] / 2 : 0, J = z === qe ? B[G] : N[G], f = z === qe ? -N[G] : -B[G], $ = t.elements.arrow, D = m && $ ? Gt($) : {
1612
+ var Q, te = k === "y" ? we : xe, pe = k === "y" ? Oe : Te, G = k === "y" ? "height" : "width", A = T[k], M = A + E[te], L = A - E[pe], F = m ? -I[G] / 2 : 0, J = z === qe ? B[G] : I[G], f = z === qe ? -I[G] : -B[G], $ = t.elements.arrow, D = m && $ ? Gt($) : {
1622
1613
  width: 0,
1623
1614
  height: 0
1624
1615
  }, ee = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Wn(), ce = ee[te], b = ee[pe], ie = et(0, B[G], D[G]), re = R ? B[G] / 2 - F - ie - ce - X.mainAxis : J - ie - ce - X.mainAxis, ke = R ? -B[G] / 2 + F + ie + b + X.mainAxis : f + ie + b + X.mainAxis, De = t.elements.arrow && ut(t.elements.arrow), O = De ? k === "y" ? De.clientTop || 0 : De.clientLeft || 0 : 0, W = (Q = _?.[k]) != null ? Q : 0, fe = A + re - W - O, ue = A + ke - W, Ve = et(m ? yt(M, fe) : M, A, m ? Me(L, ue) : L);
1625
1616
  T[k] = Ve, se[k] = Ve - A;
1626
1617
  }
1627
1618
  if (l) {
1628
- var dt, w = k === "x" ? we : xe, K = k === "x" ? Oe : Te, j = T[P], be = P === "y" ? "height" : "width", me = j + E[w], ft = j - E[K], vt = [we, xe].indexOf(x) !== -1, nn = (dt = _?.[P]) != null ? dt : 0, an = vt ? me : j - B[be] - N[be] - nn + X.altAxis, rn = vt ? j + B[be] + N[be] - nn - X.altAxis : ft, ln = m && vt ? ai(an, j, rn) : et(m ? an : me, j, m ? rn : ft);
1619
+ var dt, w = k === "x" ? we : xe, K = k === "x" ? Oe : Te, j = T[P], be = P === "y" ? "height" : "width", me = j + E[w], ft = j - E[K], vt = [we, xe].indexOf(x) !== -1, nn = (dt = _?.[P]) != null ? dt : 0, an = vt ? me : j - B[be] - I[be] - nn + X.altAxis, rn = vt ? j + B[be] + I[be] - nn - X.altAxis : ft, ln = m && vt ? ai(an, j, rn) : et(m ? an : me, j, m ? rn : ft);
1629
1620
  T[P] = ln, se[P] = ln - j;
1630
1621
  }
1631
1622
  t.modifiersData[i] = se;
@@ -1668,7 +1659,7 @@ function Mi(e, t, n) {
1668
1659
  height: s.height
1669
1660
  };
1670
1661
  }
1671
- function Ni(e) {
1662
+ function Ii(e) {
1672
1663
  var t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Set(), i = [];
1673
1664
  e.forEach(function(r) {
1674
1665
  t.set(r.name, r);
@@ -1687,8 +1678,8 @@ function Ni(e) {
1687
1678
  n.has(r.name) || a(r);
1688
1679
  }), i;
1689
1680
  }
1690
- function Ii(e) {
1691
- var t = Ni(e);
1681
+ function Ni(e) {
1682
+ var t = Ii(e);
1692
1683
  return Za.reduce(function(n, i) {
1693
1684
  return n.concat(t.filter(function(a) {
1694
1685
  return a.phase === i;
@@ -1750,10 +1741,10 @@ function _i(e) {
1750
1741
  setOptions: function(x) {
1751
1742
  var z = typeof x == "function" ? x(c.options) : x;
1752
1743
  C(), c.options = Object.assign({}, r, c.options, z), c.scrollParents = {
1753
- reference: Ne(l) ? tt(l) : l.contextElement ? tt(l.contextElement) : [],
1744
+ reference: Ie(l) ? tt(l) : l.contextElement ? tt(l.contextElement) : [],
1754
1745
  popper: tt(o)
1755
1746
  };
1756
- var R = Ii(Hi([].concat(i, c.options.modifiers)));
1747
+ var R = Ni(Hi([].concat(i, c.options.modifiers)));
1757
1748
  return c.orderedModifiers = R.filter(function(k) {
1758
1749
  return k.enabled;
1759
1750
  }), y(), m.update();
@@ -1778,10 +1769,10 @@ function _i(e) {
1778
1769
  c.reset = !1, k = -1;
1779
1770
  continue;
1780
1771
  }
1781
- var P = c.orderedModifiers[k], T = P.fn, B = P.options, N = B === void 0 ? {} : B, Y = P.name;
1772
+ var P = c.orderedModifiers[k], T = P.fn, B = P.options, I = B === void 0 ? {} : B, Y = P.name;
1782
1773
  typeof T == "function" && (c = T({
1783
1774
  state: c,
1784
- options: N,
1775
+ options: I,
1785
1776
  name: Y,
1786
1777
  instance: m
1787
1778
  }) || c);
@@ -1828,7 +1819,7 @@ function _i(e) {
1828
1819
  return m;
1829
1820
  };
1830
1821
  }
1831
- var Fi = [vi, Li, di, ei, Ei, Si, Vi, oi, Oi], In = /* @__PURE__ */ _i({
1822
+ var Fi = [vi, Li, di, ei, Ei, Si, Vi, oi, Oi], Nn = /* @__PURE__ */ _i({
1832
1823
  defaultModifiers: Fi
1833
1824
  }), Ui = typeof global == "object" && global && global.Object === Object && global, qi = typeof self == "object" && self && self.Object === Object && self, jn = Ui || qi || Function("return this")(), wt = jn.Symbol, Hn = Object.prototype, Yi = Hn.hasOwnProperty, Xi = Hn.toString, Ze = wt ? wt.toStringTag : void 0;
1834
1825
  function Ki(e) {
@@ -1895,19 +1886,19 @@ function At(e, t, n) {
1895
1886
  throw new TypeError(vr);
1896
1887
  t = xn(t) || 0, xt(n) && (c = !!n.leading, d = "maxWait" in n, r = d ? pr(xn(n.maxWait) || 0, t) : r, g = "trailing" in n ? !!n.trailing : g);
1897
1888
  function m(T) {
1898
- var B = i, N = a;
1899
- return i = a = void 0, v = T, s = e.apply(N, B), s;
1889
+ var B = i, I = a;
1890
+ return i = a = void 0, v = T, s = e.apply(I, B), s;
1900
1891
  }
1901
1892
  function y(T) {
1902
1893
  return v = T, l = setTimeout(x, t), c ? m(T) : s;
1903
1894
  }
1904
1895
  function C(T) {
1905
- var B = T - o, N = T - v, Y = t - B;
1906
- return d ? mr(Y, r - N) : Y;
1896
+ var B = T - o, I = T - v, Y = t - B;
1897
+ return d ? mr(Y, r - I) : Y;
1907
1898
  }
1908
1899
  function E(T) {
1909
- var B = T - o, N = T - v;
1910
- return o === void 0 || B >= t || B < 0 || d && N >= r;
1900
+ var B = T - o, I = T - v;
1901
+ return o === void 0 || B >= t || B < 0 || d && I >= r;
1911
1902
  }
1912
1903
  function x() {
1913
1904
  var T = Lt();
@@ -1971,7 +1962,7 @@ function _n(e, t, n = {}) {
1971
1962
  const g = d.target;
1972
1963
  g instanceof Node && !l(o(), g) && !l(i, g) && t(d);
1973
1964
  }
1974
- Ie(() => {
1965
+ Ne(() => {
1975
1966
  document.addEventListener("pointerdown", v, a), document.addEventListener("click", c, a);
1976
1967
  }), Le(() => {
1977
1968
  document.removeEventListener("pointerdown", v, a), document.removeEventListener("click", c, a);
@@ -2013,19 +2004,19 @@ const Dt = () => {
2013
2004
  function Ul(e, t = {}) {
2014
2005
  const n = V(!1), i = V(!1), a = V(!1);
2015
2006
  let r = 0, s = !1, l, o;
2016
- const v = (N) => {
2017
- n.value = N.overflowX, i.value = N.overflowY, a.value = N.overflow;
2007
+ const v = (I) => {
2008
+ n.value = I.overflowX, i.value = I.overflowY, a.value = I.overflow;
2018
2009
  }, c = () => {
2019
2010
  v({ overflowX: !1, overflowY: !1, overflow: !1 });
2020
2011
  }, d = () => {
2021
2012
  if (s || Se(t.enabled) === !1)
2022
2013
  return c(), !1;
2023
- const N = Se(e);
2024
- if (!N)
2014
+ const I = Se(e);
2015
+ if (!I)
2025
2016
  return c(), !1;
2026
- if (!$r(N)) return a.value;
2017
+ if (!$r(I)) return a.value;
2027
2018
  const Y = Sr(
2028
- N,
2019
+ I,
2029
2020
  Se(t.axis) ?? "horizontal",
2030
2021
  Se(t.threshold) ?? Fn
2031
2022
  );
@@ -2044,8 +2035,8 @@ function Ul(e, t = {}) {
2044
2035
  }
2045
2036
  }, C = () => {
2046
2037
  l?.(), l = void 0;
2047
- }, E = (N) => {
2048
- C(), l = yr(N, y);
2038
+ }, E = (I) => {
2039
+ C(), l = yr(I, y);
2049
2040
  }, x = () => {
2050
2041
  o?.(), o = void 0;
2051
2042
  }, z = () => {
@@ -2056,12 +2047,12 @@ function Ul(e, t = {}) {
2056
2047
  Se(t.enabled) !== !1,
2057
2048
  Se(t.observeResize) !== !1
2058
2049
  ],
2059
- ([N, Y, X]) => {
2060
- if (C(), !Y || !N) {
2050
+ ([I, Y, X]) => {
2051
+ if (C(), !Y || !I) {
2061
2052
  c();
2062
2053
  return;
2063
2054
  }
2064
- X && E(N), y();
2055
+ X && E(I), y();
2065
2056
  },
2066
2057
  { flush: "post", immediate: !0 }
2067
2058
  ), k = le(
@@ -2070,8 +2061,8 @@ function Ul(e, t = {}) {
2070
2061
  { flush: "post" }
2071
2062
  ), P = t.deps ? le(t.deps, () => y(), { flush: "post" }) : void 0, T = le(
2072
2063
  () => Se(t.observeFonts) !== !1 && Se(t.enabled) !== !1,
2073
- (N) => {
2074
- N ? z() : x();
2064
+ (I) => {
2065
+ I ? z() : x();
2075
2066
  },
2076
2067
  { flush: "post", immediate: !0 }
2077
2068
  ), B = () => {
@@ -2187,7 +2178,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2187
2178
  }, B = (O, W) => {
2188
2179
  for (const [fe, ue] of Object.entries(W))
2189
2180
  O.style.setProperty(fe, ue);
2190
- }, N = (O) => {
2181
+ }, I = (O) => {
2191
2182
  if (O) {
2192
2183
  for (const W of P)
2193
2184
  O.style.removeProperty(W);
@@ -2249,7 +2240,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2249
2240
  W && (F = new ResizeObserver(O), F.observe(W));
2250
2241
  }, ce = () => {
2251
2242
  const O = z(), W = c.value;
2252
- return !O || !W ? !1 : d ? (d.setOptions(k.value), !0) : (N(W), d = In(O, W, k.value), !0);
2243
+ return !O || !W ? !1 : d ? (d.setOptions(k.value), !0) : (I(W), d = Nn(O, W, k.value), !0);
2253
2244
  }, b = (O = !1) => {
2254
2245
  J(), f();
2255
2246
  const W = c.value, fe = O && W ? T(W) : null;
@@ -2302,7 +2293,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2302
2293
  (O) => {
2303
2294
  O && te();
2304
2295
  }
2305
- ), Ie(() => {
2296
+ ), Ne(() => {
2306
2297
  a.manual || G();
2307
2298
  });
2308
2299
  const re = gr((O) => {
@@ -2311,7 +2302,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2311
2302
  }, Cr), ke = () => {
2312
2303
  $();
2313
2304
  }, De = () => {
2314
- i.value || (b(!1), N(c.value));
2305
+ i.value || (b(!1), I(c.value));
2315
2306
  };
2316
2307
  return Le(() => {
2317
2308
  re.cancel(), b(!1);
@@ -2355,7 +2346,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2355
2346
  ae(O.$slots, "default")
2356
2347
  ], 16)), [
2357
2348
  [St, s.value]
2358
- ]) : I("", !0)
2349
+ ]) : N("", !0)
2359
2350
  ]),
2360
2351
  _: 3
2361
2352
  })
@@ -2435,7 +2426,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2435
2426
  return n.modelValue.map((re) => C[y(re)] ?? String(re)).join("、");
2436
2427
  const b = n.modelValue;
2437
2428
  return z.value?.value === b ? z.value.label : C[y(b)] ?? String(b);
2438
- }), N = (b) => n.multiple ? Array.isArray(n.modelValue) && n.modelValue.includes(b) : n.modelValue === b, Y = (b, ie) => {
2429
+ }), I = (b) => n.multiple ? Array.isArray(n.modelValue) && n.modelValue.includes(b) : n.modelValue === b, Y = (b, ie) => {
2439
2430
  if (!n.disabled) {
2440
2431
  if (n.multiple) {
2441
2432
  const re = Array.isArray(n.modelValue) ? [...n.modelValue] : [], ke = re.indexOf(b);
@@ -2474,7 +2465,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2474
2465
  g(), G();
2475
2466
  }) : (l.value = void 0, o?.disconnect(), o = null);
2476
2467
  }
2477
- ), Ie(() => {
2468
+ ), Ne(() => {
2478
2469
  d(n.triggerWidth) && ge(() => {
2479
2470
  g(), G();
2480
2471
  });
@@ -2486,12 +2477,12 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2486
2477
  }, M = () => {
2487
2478
  _.value = "", c(), i("filter-clear");
2488
2479
  };
2489
- It(Un, {
2480
+ Nt(Un, {
2490
2481
  modelValue: p(() => n.modelValue),
2491
2482
  multiple: p(() => !!n.multiple),
2492
2483
  disabled: p(() => !!n.disabled),
2493
2484
  selectOption: Y,
2494
- isOptionSelected: N,
2485
+ isOptionSelected: I,
2495
2486
  registerOption: R,
2496
2487
  filterQuery: se
2497
2488
  });
@@ -2542,7 +2533,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2542
2533
  hasSelection: P.value
2543
2534
  }, () => [
2544
2535
  S("p", Or, H(B.value), 1),
2545
- e.multiple ? (u(), h("span", Tr, H(T.value), 1)) : I("", !0)
2536
+ e.multiple ? (u(), h("span", Tr, H(T.value), 1)) : N("", !0)
2546
2537
  ]) : (u(), h("p", zr, H(e.placeholder), 1))
2547
2538
  ], 2),
2548
2539
  S("span", {
@@ -2559,7 +2550,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2559
2550
  S("div", {
2560
2551
  class: q(["cregis-select__dropdown", { "is-empty": k.value }])
2561
2552
  }, [
2562
- k.value ? (u(), h("p", Er, H(e.noDataText || U(he)("select.noData")), 1)) : I("", !0),
2553
+ k.value ? (u(), h("p", Er, H(e.noDataText || U(he)("common.noData")), 1)) : N("", !0),
2563
2554
  e.filterable && !k.value ? (u(), h("div", {
2564
2555
  key: 1,
2565
2556
  class: q(["cregis-select__dropdown-filter", { "backdrop-fixed-header": ee.value > 10 }])
@@ -2579,8 +2570,8 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2579
2570
  ]),
2580
2571
  _: 1
2581
2572
  }, 8, ["modelValue", "placeholder", "width"])
2582
- ], 2)) : I("", !0),
2583
- te.value ? (u(), h("p", Rr, H(e.noMatchText || U(he)("select.noMatch")), 1)) : I("", !0),
2573
+ ], 2)) : N("", !0),
2574
+ te.value ? (u(), h("p", Rr, H(e.noMatchText || U(he)("select.noMatch")), 1)) : N("", !0),
2584
2575
  S("div", Lr, [
2585
2576
  ae(b.$slots, "default")
2586
2577
  ])
@@ -2608,7 +2599,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2608
2599
  const a = () => t.filterText ?? t.label, r = () => {
2609
2600
  i?.(), n && (i = n.registerOption(t.value, t.label, a()));
2610
2601
  };
2611
- Ie(r), Le(() => i?.()), le(() => [t.value, t.label, t.filterText], r);
2602
+ Ne(r), Le(() => i?.()), le(() => [t.value, t.label, t.filterText], r);
2612
2603
  const s = p(() => n?.multiple.value ?? !1), l = p(() => n?.isOptionSelected(t.value) ?? !1), o = () => {
2613
2604
  t.disabled || n?.disabled.value || n?.selectOption(t.value, t.label);
2614
2605
  }, v = () => {
@@ -2634,7 +2625,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2634
2625
  onClick: m[0] || (m[0] = Fe(() => {
2635
2626
  }, ["stop"])),
2636
2627
  "onUpdate:modelValue": v
2637
- }, null, 8, ["model-value", "disabled"])) : I("", !0),
2628
+ }, null, 8, ["model-value", "disabled"])) : N("", !0),
2638
2629
  s.value ? (u(), h("div", Pr, [
2639
2630
  ae(g.$slots, "default", {
2640
2631
  label: e.label,
@@ -2666,7 +2657,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2666
2657
  }, Mr = {
2667
2658
  key: 2,
2668
2659
  class: "cregis-cascader__dropdown-filter-empty"
2669
- }, Nr = { class: "cregis-cascader__dropdown-content" }, Ir = {
2660
+ }, Ir = { class: "cregis-cascader__dropdown-content" }, Nr = {
2670
2661
  key: 0,
2671
2662
  class: "cregis-cascader__dropdown-item-popover"
2672
2663
  }, jr = { class: "cregis-cascader__suboption-amount-container" }, Hr = {
@@ -2734,8 +2725,8 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2734
2725
  }, P = (w, K) => {
2735
2726
  const j = C.value;
2736
2727
  return !j || R(w).includes(j) ? !0 : R(K).includes(j);
2737
- }, T = p(() => n.options.filter((w) => k(w))), B = p(() => n.options.length === 0), N = p(() => (C.value, n.options.some((w) => k(w)))), Y = p(
2738
- () => n.filterable && !!y.value.trim() && !N.value && !B.value
2728
+ }, T = p(() => n.options.filter((w) => k(w))), B = p(() => n.options.length === 0), I = p(() => (C.value, n.options.some((w) => k(w)))), Y = p(
2729
+ () => n.filterable && !!y.value.trim() && !I.value && !B.value
2739
2730
  ), X = (w) => {
2740
2731
  r.value = w, i("visible-change", w), w || v(), !w && n.filterable && (m.value = "", y.value = "", g());
2741
2732
  }, _ = V(null), se = (w) => {
@@ -2869,7 +2860,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2869
2860
  style: Z(ke.value),
2870
2861
  onScroll: Ve
2871
2862
  }, [
2872
- B.value ? (u(), h("p", Dr, H(e.noDataText || U(he)("cascader.noData")), 1)) : I("", !0),
2863
+ B.value ? (u(), h("p", Dr, H(e.noDataText || U(he)("common.noData")), 1)) : N("", !0),
2873
2864
  e.filterable && !B.value ? (u(), h("div", {
2874
2865
  key: 1,
2875
2866
  class: q(["cregis-cascader__dropdown-filter", { "backdrop-fixed-header": ue.value > 10 }])
@@ -2889,14 +2880,14 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2889
2880
  ]),
2890
2881
  _: 1
2891
2882
  }, 8, ["modelValue", "placeholder", "width"])
2892
- ], 2)) : I("", !0),
2893
- Y.value ? (u(), h("p", Mr, H(e.noMatchText || U(he)("cascader.noMatch")), 1)) : I("", !0),
2894
- S("ul", Nr, [
2883
+ ], 2)) : N("", !0),
2884
+ Y.value ? (u(), h("p", Mr, H(e.noMatchText || U(he)("cascader.noMatch")), 1)) : N("", !0),
2885
+ S("ul", Ir, [
2895
2886
  (u(!0), h(ze, null, We(T.value, (j, be) => (u(), h("li", {
2896
2887
  key: j.value,
2897
2888
  class: q(["cregis-cascader__dropdown-item", { "is-disabled": j.disabled, "is-sub-open": s.value === j.value }])
2898
2889
  }, [
2899
- J(j) ? (u(), h("div", Ir, [
2890
+ J(j) ? (u(), h("div", Nr, [
2900
2891
  ne(Mt, {
2901
2892
  ref_for: !0,
2902
2893
  ref: (me) => o(j.value, me),
@@ -2931,7 +2922,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
2931
2922
  S("p", null, H(j.label), 1)
2932
2923
  ]),
2933
2924
  S("div", jr, [
2934
- e.showSubOptionAmount ? (u(), h("div", Hr, H(j.children.length), 1)) : I("", !0),
2925
+ e.showSubOptionAmount ? (u(), h("div", Hr, H(j.children?.length ?? 0), 1)) : N("", !0),
2935
2926
  ne(U(na), {
2936
2927
  size: "14px",
2937
2928
  color: "currentColor"
@@ -3112,7 +3103,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
3112
3103
  right: `${i.value[1]}px`
3113
3104
  }));
3114
3105
  return (r, s) => (u(), h("div", Xr, [
3115
- e.hidden ? I("", !0) : (u(), h("div", {
3106
+ e.hidden ? N("", !0) : (u(), h("div", {
3116
3107
  key: 0,
3117
3108
  class: q(["cregis-badge", [`cregis-badge--${e.type}`, { "cregis-badge--dot": e.isDot }]]),
3118
3109
  style: Z(a.value)
@@ -3201,7 +3192,7 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
3201
3192
  class: q(["cregis-upload", { "cregis-upload--disabled": E.value }]),
3202
3193
  style: Z(v.value)
3203
3194
  }, [
3204
- o.value ? I("", !0) : (u(), de(U(sn), {
3195
+ o.value ? N("", !0) : (u(), de(U(sn), {
3205
3196
  key: 0,
3206
3197
  size: "16px",
3207
3198
  color: "var(--stroke-base-secondary)"
@@ -3217,18 +3208,18 @@ const Cr = 80, Mt = /* @__PURE__ */ oe({
3217
3208
  key: 1,
3218
3209
  class: "cregis-upload__progress",
3219
3210
  style: Z(C.value)
3220
- }, null, 4)) : I("", !0),
3211
+ }, null, 4)) : N("", !0),
3221
3212
  o.value ? (u(), h("img", {
3222
3213
  key: 2,
3223
3214
  src: o.value,
3224
3215
  alt: ""
3225
- }, null, 8, Gr)) : I("", !0),
3216
+ }, null, 8, Gr)) : N("", !0),
3226
3217
  o.value ? (u(), h("div", Zr, [
3227
3218
  ne(U(sn), {
3228
3219
  size: "16px",
3229
3220
  color: "var(--text-same-white-primary)"
3230
3221
  })
3231
- ])) : I("", !0)
3222
+ ])) : N("", !0)
3232
3223
  ], 6));
3233
3224
  }
3234
3225
  });
@@ -3289,7 +3280,7 @@ const Qr = () => {
3289
3280
  key: 0,
3290
3281
  class: "cregis-dialog__mask",
3291
3282
  onClick: v
3292
- })) : I("", !0),
3283
+ })) : N("", !0),
3293
3284
  S("div", {
3294
3285
  class: "cregis-dialog",
3295
3286
  style: Z(s.value),
@@ -3305,10 +3296,10 @@ const Qr = () => {
3305
3296
  size: "10px",
3306
3297
  color: "var(--material-same-white-primary)"
3307
3298
  })
3308
- ])) : I("", !0),
3299
+ ])) : N("", !0),
3309
3300
  ae(d.$slots, "default")
3310
3301
  ], 4)
3311
- ], 16)) : I("", !0)
3302
+ ], 16)) : N("", !0)
3312
3303
  ]),
3313
3304
  _: 3
3314
3305
  })
@@ -3381,8 +3372,8 @@ const Qr = () => {
3381
3372
  }, null, 8, ["color"]))
3382
3373
  ], 2)
3383
3374
  ]),
3384
- e.title ? (u(), h("div", tl, H(e.title), 1)) : I("", !0),
3385
- e.message ? (u(), h("div", nl, H(e.message), 1)) : I("", !0),
3375
+ e.title ? (u(), h("div", tl, H(e.title), 1)) : N("", !0),
3376
+ e.message ? (u(), h("div", nl, H(e.message), 1)) : N("", !0),
3386
3377
  S("div", al, [
3387
3378
  e.showConfirmButton ? (u(), de(He, {
3388
3379
  key: 0,
@@ -3395,7 +3386,7 @@ const Qr = () => {
3395
3386
  ye(H(e.confirmButtonText || U(he)("dialog.confirm")), 1)
3396
3387
  ]),
3397
3388
  _: 1
3398
- }, 8, ["loading"])) : I("", !0),
3389
+ }, 8, ["loading"])) : N("", !0),
3399
3390
  e.showCancelButton ? (u(), de(He, {
3400
3391
  key: 1,
3401
3392
  type: "secondary",
@@ -3408,7 +3399,7 @@ const Qr = () => {
3408
3399
  ye(H(e.cancelButtonText || U(he)("dialog.cancel")), 1)
3409
3400
  ]),
3410
3401
  _: 1
3411
- }, 8, ["loading"])) : I("", !0)
3402
+ }, 8, ["loading"])) : N("", !0)
3412
3403
  ])
3413
3404
  ])
3414
3405
  ]),
@@ -3464,7 +3455,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3464
3455
  },
3465
3456
  setup(e) {
3466
3457
  const t = e;
3467
- return It(Xn, {
3458
+ return Nt(Xn, {
3468
3459
  dotSize: ht(t, "dotSize"),
3469
3460
  lineWidth: ht(t, "lineWidth"),
3470
3461
  iconSize: ht(t, "iconSize")
@@ -3537,12 +3528,12 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3537
3528
  key: 3,
3538
3529
  size: s.value,
3539
3530
  color: "var(--text-same-white-primary)"
3540
- }, null, 8, ["size"])) : I("", !0)
3531
+ }, null, 8, ["size"])) : N("", !0)
3541
3532
  ], 4)
3542
3533
  ], 4),
3543
3534
  d.$slots.title ? (u(), h("div", vl, [
3544
3535
  ae(d.$slots, "title")
3545
- ])) : I("", !0),
3536
+ ])) : N("", !0),
3546
3537
  S("span", {
3547
3538
  class: "cregis-timeline-item__tail",
3548
3539
  style: Z(c.value)
@@ -3552,7 +3543,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3552
3543
  class: q(["cregis-timeline-item__content", { "is-hoverable": e.contentHoverable }])
3553
3544
  }, [
3554
3545
  ae(d.$slots, "default")
3555
- ], 2)) : I("", !0)
3546
+ ], 2)) : N("", !0)
3556
3547
  ], 4));
3557
3548
  }
3558
3549
  }), pl = {
@@ -3593,7 +3584,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3593
3584
  });
3594
3585
  const E = () => {
3595
3586
  a.selectMode || r.value || (r.value = !0, s.value = !0, ge(() => {
3596
- o.value && v.value && (c?.destroy(), c = In(v.value, o.value, {
3587
+ o.value && v.value && (c?.destroy(), c = Nn(v.value, o.value, {
3597
3588
  placement: "bottom-start",
3598
3589
  modifiers: [
3599
3590
  {
@@ -3627,7 +3618,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3627
3618
  indeterminate: e.selectAllMode === "some",
3628
3619
  onClick: k[0] || (k[0] = Fe((P) => R.$emit("select-all-mode", e.selectAllMode), ["stop"]))
3629
3620
  }, null, 8, ["model-value", "indeterminate"])
3630
- ])) : I("", !0),
3621
+ ])) : N("", !0),
3631
3622
  e.type === "default" ? (u(), h("div", {
3632
3623
  key: 1,
3633
3624
  class: "cell-content",
@@ -3651,8 +3642,8 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3651
3642
  color: "currentColor"
3652
3643
  })
3653
3644
  ], 2)
3654
- ], 2)) : I("", !0)
3655
- ], 4)) : I("", !0),
3645
+ ], 2)) : N("", !0)
3646
+ ], 4)) : N("", !0),
3656
3647
  (u(), de(_t, { to: "body" }, [
3657
3648
  _e(S("div", {
3658
3649
  ref_key: "popRef",
@@ -3736,7 +3727,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3736
3727
  "model-value": e.selected,
3737
3728
  onClick: o[0] || (o[0] = Fe((v) => l.$emit("selectChange", e.index), ["stop"]))
3738
3729
  }, null, 8, ["model-value"])
3739
- ], 4)) : I("", !0),
3730
+ ], 4)) : N("", !0),
3740
3731
  e.type === "default" ? (u(), h("div", {
3741
3732
  key: 1,
3742
3733
  class: "cell-content",
@@ -3746,7 +3737,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3746
3737
  key: 0,
3747
3738
  data: n.value
3748
3739
  }, void 0, !0) : (u(), h("div", hl, H(t.data?.[t.prop || ""]), 1))
3749
- ], 4)) : I("", !0)
3740
+ ], 4)) : N("", !0)
3750
3741
  ], 64))
3751
3742
  ], 6));
3752
3743
  }
@@ -3833,7 +3824,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3833
3824
  headerSlot: M.children?.header,
3834
3825
  originalSortChangeHandler: M.props?.onSortChange
3835
3826
  };
3836
- })), N = p(() => B.value.length + 1), Y = p(() => T().map((M) => {
3827
+ })), I = p(() => B.value.length + 1), Y = p(() => T().map((M) => {
3837
3828
  const { align: L = "left", width: F } = M.props || {}, J = Qe(M.props, "widthPercent"), f = Qe(M.props, "minWidth"), $ = Qe(M.props, "minTableWidth");
3838
3829
  return {
3839
3830
  prop: M.props?.prop || "",
@@ -3872,7 +3863,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3872
3863
  closeSelect: pe
3873
3864
  });
3874
3865
  let G = null;
3875
- return Ie(() => {
3866
+ return Ne(() => {
3876
3867
  s.value && (G = new ResizeObserver((A) => {
3877
3868
  const M = A[0], L = M.contentRect.width, F = M.contentRect.height;
3878
3869
  v.value = { width: L, height: F };
@@ -3901,7 +3892,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3901
3892
  }),
3902
3893
  S("div", yl, H(U(he)("tableList.loading")), 1)
3903
3894
  ])
3904
- ], 4)) : I("", !0),
3895
+ ], 4)) : N("", !0),
3905
3896
  ne(st, { name: "table-list-operation" }, {
3906
3897
  default: ve(() => [
3907
3898
  g.value ? (u(), h("div", {
@@ -3921,9 +3912,9 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3921
3912
  S("div", xl, H(m.value.length), 1),
3922
3913
  S("div", kl, H(U(he)("tableList.selected")), 1)
3923
3914
  ]),
3924
- r.operation ? (u(), h("div", $l)) : I("", !0),
3915
+ r.operation ? (u(), h("div", $l)) : N("", !0),
3925
3916
  ae(A.$slots, "operation", {}, void 0, !0)
3926
- ], 4)) : I("", !0)
3917
+ ], 4)) : N("", !0)
3927
3918
  ]),
3928
3919
  _: 3
3929
3920
  }),
@@ -3975,7 +3966,7 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
3975
3966
  class: "loading-wrapper",
3976
3967
  style: Z(k.value)
3977
3968
  }, [
3978
- S("td", { colspan: N.value }, [
3969
+ S("td", { colspan: I.value }, [
3979
3970
  S("div", Ol, [
3980
3971
  x.value ? (u(), h(ze, { key: 0 }, [
3981
3972
  ne(U(la), {
@@ -4043,12 +4034,12 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
4043
4034
  blank: ""
4044
4035
  }, null, 8, ["index", "column-height"]))), 128))
4045
4036
  ]))), 128)),
4046
- R.value.length ? I("", !0) : (u(), h("div", {
4037
+ R.value.length ? N("", !0) : (u(), h("div", {
4047
4038
  key: 0,
4048
4039
  class: "shrink-0",
4049
4040
  style: Z({ height: `${e.bottomPadding}px` })
4050
4041
  }, null, 4))
4051
- ])) : I("", !0)
4042
+ ])) : N("", !0)
4052
4043
  ])),
4053
4044
  !e.loading && e.dataList.length === 0 ? (u(), h("div", El, [
4054
4045
  S("div", Rl, [
@@ -4056,20 +4047,20 @@ const ol = "var(--stroke-outline-subtle)", sl = "var(--material-brand-primary)",
4056
4047
  size: "40px",
4057
4048
  color: "var(--text-base-quaternary)"
4058
4049
  }),
4059
- S("div", Ll, H(U(he)("tableList.noData")), 1)
4050
+ S("div", Ll, H(U(he)("common.noData")), 1)
4060
4051
  ])
4061
4052
  ])) : (u(), h("div", Bl))
4062
4053
  ], 512)
4063
4054
  ], 512));
4064
4055
  }
4065
- }), to = /* @__PURE__ */ tn(Pl, [["__scopeId", "data-v-c33aa9e4"]]);
4056
+ }), to = /* @__PURE__ */ tn(Pl, [["__scopeId", "data-v-605185e2"]]);
4066
4057
  export {
4067
4058
  Zl as Badge,
4068
4059
  He as Button,
4069
4060
  Xl as Cascader,
4070
4061
  qt as Checkbox,
4071
4062
  Yn as Dialog,
4072
- Nl as Divider,
4063
+ Il as Divider,
4073
4064
  zn as Input,
4074
4065
  cn as Message,
4075
4066
  _l as Notification,
@@ -4089,7 +4080,7 @@ export {
4089
4080
  jl as TabPane,
4090
4081
  to as TableList,
4091
4082
  mt as TableListColumn,
4092
- Il as Tabs,
4083
+ Nl as Tabs,
4093
4084
  Kl as Tag,
4094
4085
  Jl as Timeline,
4095
4086
  eo as TimelineItem,