@cregis/ui 1.0.14 → 1.0.15

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,5 +1,5 @@
1
1
  import * as $n from "vue";
2
- import { effectScope as Gs, computed as I, watch as ye, isRef as Ys, ref as z, shallowRef as Ks, defineComponent as ce, h as wt, getCurrentScope as Xs, onScopeDispose as qs, Fragment as Be, inject as Sn, onMounted as Dt, onUnmounted as Je, createVNode as ue, Text as Qs, useSlots as Ra, openBlock as w, createElementBlock as x, normalizeClass as te, createElementVNode as F, mergeProps as gt, createBlock as Te, resolveDynamicComponent as on, normalizeStyle as ie, renderSlot as de, toDisplayString as J, createCommentVNode as X, unref as ee, withDirectives as Ut, vModelDynamic as Js, withModifiers as Wt, vModelText as Zs, withCtx as Oe, createTextVNode as qe, nextTick as dt, reactive as Mt, provide as ur, toRef as nn, renderList as vt, onBeforeUnmount as $a, Transition as In, render as Bt, toHandlers as Mn, Teleport as dr, vShow as An, createSlots as $r } from "vue";
2
+ import { effectScope as Gs, computed as I, watch as ye, isRef as Ys, ref as z, shallowRef as Ks, defineComponent as ue, h as wt, getCurrentScope as Xs, onScopeDispose as qs, Fragment as Be, inject as In, onMounted as Dt, onUnmounted as Je, createVNode as oe, Text as Qs, useSlots as Ra, openBlock as w, createElementBlock as x, normalizeClass as Z, createElementVNode as F, mergeProps as gt, createBlock as Oe, resolveDynamicComponent as on, normalizeStyle as ce, renderSlot as de, toDisplayString as J, createCommentVNode as X, unref as te, withDirectives as Ut, vModelDynamic as Js, withModifiers as Wt, vModelText as Zs, withCtx as Ne, createTextVNode as qe, nextTick as dt, reactive as Mt, provide as ur, toRef as nn, renderList as vt, onBeforeUnmount as $a, Transition as pn, render as Bt, toHandlers as Mn, Teleport as dr, vShow as An, createSlots as $r } from "vue";
3
3
  import { EdsLoad as Yn, EdsCloseCircleFill as eo, EdsTickFill as Ma, EdsWarningFill as to, EdsSearch as Va, EdsArrowDownMiniIos as fr, EdsArrowRightMiniIos as no, EdsAdd as Mr, EdsClose as Fa, EdsWarningLonely as ro, EdsTick as ao, EdsNoData as so } from "@cregis/icon";
4
4
  /*!
5
5
  * shared v11.4.8
@@ -7,13 +7,13 @@ import { EdsLoad as Yn, EdsCloseCircleFill as eo, EdsTickFill as Ma, EdsWarningF
7
7
  * Released under the MIT License.
8
8
  */
9
9
  const Qe = typeof window < "u";
10
- let Ve, kt;
10
+ let Ve, St;
11
11
  if (process.env.NODE_ENV !== "production") {
12
12
  const e = Qe && window.performance;
13
13
  e && e.mark && e.measure && e.clearMarks && // @ts-ignore browser compat
14
14
  e.clearMeasures && (Ve = (t) => {
15
15
  e.mark(t);
16
- }, kt = (t, n, a) => {
16
+ }, St = (t, n, a) => {
17
17
  e.measure(t, n, a), e.clearMarks(n), e.clearMarks(a);
18
18
  });
19
19
  }
@@ -21,13 +21,13 @@ const oo = /\{([0-9a-zA-Z]+)\}/g;
21
21
  function Dn(e, ...t) {
22
22
  return t.length === 1 && ae(t[0]) && (t = t[0]), (!t || !t.hasOwnProperty) && (t = {}), e.replace(oo, (n, a) => t.hasOwnProperty(a) ? t[a] : "");
23
23
  }
24
- const ot = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), lo = (e, t, n) => io({ l: e, k: t, s: n }), io = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Le = (e) => typeof e == "number" && isFinite(e), Ua = (e) => pr(e) === "[object Date]", Ht = (e) => pr(e) === "[object RegExp]", mr = (e) => le(e) && Object.keys(e).length === 0, Ce = Object.assign, co = Object.create, fe = (e = null) => co(e);
24
+ const ot = (e, t = !1) => t ? Symbol.for(e) : Symbol(e), lo = (e, t, n) => io({ l: e, k: t, s: n }), io = (e) => JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/\u0027/g, "\\u0027"), Le = (e) => typeof e == "number" && isFinite(e), Ua = (e) => pr(e) === "[object Date]", Ht = (e) => pr(e) === "[object RegExp]", mr = (e) => ie(e) && Object.keys(e).length === 0, Ce = Object.assign, co = Object.create, fe = (e = null) => co(e);
25
25
  let Vr;
26
26
  const Lt = () => Vr || (Vr = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : fe()), uo = Object.prototype.hasOwnProperty;
27
27
  function ze(e, t) {
28
28
  return uo.call(e, t);
29
29
  }
30
- const Ne = Array.isArray, ge = (e) => typeof e == "function", M = (e) => typeof e == "string", se = (e) => typeof e == "boolean", ae = (e) => e !== null && typeof e == "object", fo = (e) => ae(e) && ge(e.then) && ge(e.catch), Wa = Object.prototype.toString, pr = (e) => Wa.call(e), le = (e) => pr(e) === "[object Object]", mo = (e) => e == null ? "" : Ne(e) || le(e) && e.toString === Wa ? JSON.stringify(e, null, 2) : String(e);
30
+ const Te = Array.isArray, ge = (e) => typeof e == "function", M = (e) => typeof e == "string", se = (e) => typeof e == "boolean", ae = (e) => e !== null && typeof e == "object", fo = (e) => ae(e) && ge(e.then) && ge(e.catch), Wa = Object.prototype.toString, pr = (e) => Wa.call(e), ie = (e) => pr(e) === "[object Object]", mo = (e) => e == null ? "" : Te(e) || ie(e) && e.toString === Wa ? JSON.stringify(e, null, 2) : String(e);
31
31
  function vr(e, t = "") {
32
32
  return e.reduce((n, a, r) => r === 0 ? n + a : n + t + a, "");
33
33
  }
@@ -137,15 +137,15 @@ function xn() {
137
137
  }
138
138
  };
139
139
  }
140
- const gn = (e) => !ae(e) || Ne(e);
141
- function En(e, t) {
142
- if (gn(e) || gn(t))
140
+ const hn = (e) => !ae(e) || Te(e);
141
+ function Tn(e, t) {
142
+ if (hn(e) || hn(t))
143
143
  throw new Error("Invalid value");
144
144
  const n = [{ src: e, des: t }];
145
145
  for (; n.length; ) {
146
146
  const { src: a, des: r } = n.pop();
147
147
  Object.keys(a).forEach((s) => {
148
- s !== "__proto__" && (ae(a[s]) && !ae(r[s]) && (r[s] = Array.isArray(a[s]) ? [] : fe()), gn(r[s]) || gn(a[s]) ? r[s] = a[s] : n.push({ src: a[s], des: r[s] }));
148
+ s !== "__proto__" && (ae(a[s]) && !ae(r[s]) && (r[s] = Array.isArray(a[s]) ? [] : fe()), hn(r[s]) || hn(a[s]) ? r[s] = a[s] : n.push({ src: a[s], des: r[s] }));
149
149
  });
150
150
  }
151
151
  }
@@ -154,7 +154,7 @@ function En(e, t) {
154
154
  * (c) 2026 kazuya kawaguchi
155
155
  * Released under the MIT License.
156
156
  */
157
- function ko(e, t, n) {
157
+ function So(e, t, n) {
158
158
  return { line: e, column: t, offset: n };
159
159
  }
160
160
  function Kn(e, t, n) {
@@ -181,7 +181,7 @@ const K = {
181
181
  UNHANDLED_CODEGEN_NODE_TYPE: 15,
182
182
  // minifier error codes
183
183
  UNHANDLED_MINIFIER_NODE_TYPE: 16
184
- }, So = 17, Io = {
184
+ }, ko = 17, Io = {
185
185
  // tokenizer error messages
186
186
  [K.EXPECTED_TOKEN]: "Expected token: '{0}'",
187
187
  [K.INVALID_TOKEN_IN_PLACEHOLDER]: "Invalid token in placeholder: '{0}'",
@@ -225,7 +225,7 @@ function Mo(e) {
225
225
  function h() {
226
226
  n = 0, a = 1, r = 1, s = 0;
227
227
  }
228
- function k(y = 0) {
228
+ function S(y = 0) {
229
229
  s = y;
230
230
  }
231
231
  function T() {
@@ -245,13 +245,13 @@ function Mo(e) {
245
245
  next: _,
246
246
  peek: O,
247
247
  reset: h,
248
- resetPeek: k,
248
+ resetPeek: S,
249
249
  skipToPeek: T
250
250
  };
251
251
  }
252
252
  const ct = void 0, Vo = ".", Hr = "'", Fo = "tokenizer";
253
253
  function Uo(e, t = {}) {
254
- const n = t.location !== !1, a = Mo(e), r = () => a.index(), s = () => ko(a.line(), a.column(), a.index()), o = s(), l = r(), i = {
254
+ const n = t.location !== !1, a = Mo(e), r = () => a.index(), s = () => So(a.line(), a.column(), a.index()), o = s(), l = r(), i = {
255
255
  currentType: 13,
256
256
  offset: l,
257
257
  startLoc: o,
@@ -327,7 +327,7 @@ function Uo(e, t = {}) {
327
327
  const P = c.currentPeek() === "-" ? c.peek() : c.currentPeek(), Q = _(P);
328
328
  return c.resetPeek(), Q;
329
329
  }
330
- function k(c, u) {
330
+ function S(c, u) {
331
331
  const { currentType: b } = u;
332
332
  if (b !== 2)
333
333
  return !1;
@@ -405,7 +405,7 @@ function Uo(e, t = {}) {
405
405
  u === 36 || // $
406
406
  u === 45;
407
407
  }
408
- function S(c) {
408
+ function k(c) {
409
409
  return Y(c, he);
410
410
  }
411
411
  function A(c) {
@@ -424,13 +424,13 @@ function Uo(e, t = {}) {
424
424
  function j(c) {
425
425
  return Y(c, V);
426
426
  }
427
- function Z(c) {
427
+ function ee(c) {
428
428
  let u = "", b = "";
429
429
  for (; u = R(c); )
430
430
  b += u;
431
431
  return b;
432
432
  }
433
- function oe(c) {
433
+ function le(c) {
434
434
  let u = "";
435
435
  for (; ; ) {
436
436
  const b = c.currentChar();
@@ -457,7 +457,7 @@ function Uo(e, t = {}) {
457
457
  function _e(c) {
458
458
  L(c);
459
459
  let u = "", b = "";
460
- for (; u = S(c); )
460
+ for (; u = k(c); )
461
461
  b += u;
462
462
  const P = c.currentChar();
463
463
  if (P && P !== "}" && P !== ct && P !== tt && P !== Ae && P !== " ") {
@@ -469,15 +469,15 @@ function Uo(e, t = {}) {
469
469
  function Re(c) {
470
470
  L(c);
471
471
  let u = "";
472
- return c.currentChar() === "-" ? (c.next(), u += `-${Z(c)}`) : u += Z(c), c.currentChar() === ct && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), u;
472
+ return c.currentChar() === "-" ? (c.next(), u += `-${ee(c)}`) : u += ee(c), c.currentChar() === ct && v(K.UNTERMINATED_CLOSING_BRACE, s(), 0), u;
473
473
  }
474
- function Se(c) {
474
+ function ke(c) {
475
475
  return c !== Hr && c !== Ae;
476
476
  }
477
477
  function xe(c) {
478
478
  L(c), E(c, "'");
479
479
  let u = "", b = "";
480
- for (; u = Y(c, Se); )
480
+ for (; u = Y(c, ke); )
481
481
  u === "\\" ? b += $(c) : b += u;
482
482
  const P = c.currentChar();
483
483
  return P === Ae || P === ct ? (v(K.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER, s(), 0), P === Ae && (c.next(), E(c, "'")), b) : (E(c, "'"), b);
@@ -570,7 +570,7 @@ function Uo(e, t = {}) {
570
570
  return b = p(u, 4, _e(c)), L(c), b;
571
571
  if (ve = h(c, u))
572
572
  return b = p(u, 5, Re(c)), L(c), b;
573
- if (ne = k(c, u))
573
+ if (ne = S(c, u))
574
574
  return b = p(u, 6, xe(c)), L(c), b;
575
575
  if (!Q && !ve && !ne)
576
576
  return b = p(u, 12, Ie(c)), v(K.INVALID_TOKEN_IN_PLACEHOLDER, s(), 0, b.value), L(c), b;
@@ -634,7 +634,7 @@ function Uo(e, t = {}) {
634
634
  if (G(c))
635
635
  return b = p(u, 1, Ze(c)), u.braceNest = 0, u.inLinked = !1, b;
636
636
  if (H(c))
637
- return p(u, 0, oe(c));
637
+ return p(u, 0, le(c));
638
638
  break;
639
639
  }
640
640
  }
@@ -674,12 +674,12 @@ function zo(e, t, n) {
674
674
  }
675
675
  function Go(e = {}) {
676
676
  const t = e.location !== !1, { onError: n } = e;
677
- function a(d, _, O, h, ...k) {
677
+ function a(d, _, O, h, ...S) {
678
678
  const T = d.currentPosition();
679
679
  if (T.offset += h, T.column += h, n) {
680
680
  const y = t ? Kn(O, T) : null, W = Qt(_, y, {
681
681
  domain: Wo,
682
- args: k
682
+ args: S
683
683
  });
684
684
  n(W);
685
685
  }
@@ -696,20 +696,20 @@ function Go(e = {}) {
696
696
  return h.value = _.replace(Ho, jo), s(h, d.currentOffset(), d.currentPosition()), h;
697
697
  }
698
698
  function l(d, _) {
699
- const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(5, h, k);
699
+ const O = d.context(), { lastOffset: h, lastStartLoc: S } = O, T = r(5, h, S);
700
700
  return T.index = parseInt(_, 10), d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
701
701
  }
702
702
  function i(d, _) {
703
- const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(4, h, k);
703
+ const O = d.context(), { lastOffset: h, lastStartLoc: S } = O, T = r(4, h, S);
704
704
  return T.key = _, d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
705
705
  }
706
706
  function f(d, _) {
707
- const O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(9, h, k);
707
+ const O = d.context(), { lastOffset: h, lastStartLoc: S } = O, T = r(9, h, S);
708
708
  return T.value = _.replace(Bo, zo), d.nextToken(), s(T, d.currentOffset(), d.currentPosition()), T;
709
709
  }
710
710
  function m(d) {
711
- const _ = d.nextToken(), O = d.context(), { lastOffset: h, lastStartLoc: k } = O, T = r(8, h, k);
712
- return _.type !== 11 ? (a(d, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, O.lastStartLoc, 0), T.value = "", s(T, h, k), {
711
+ const _ = d.nextToken(), O = d.context(), { lastOffset: h, lastStartLoc: S } = O, T = r(8, h, S);
712
+ return _.type !== 11 ? (a(d, K.UNEXPECTED_EMPTY_LINKED_MODIFIER, O.lastStartLoc, 0), T.value = "", s(T, h, S), {
713
713
  nextConsumeToken: _,
714
714
  node: T
715
715
  }) : (_.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, O.lastStartLoc, 0, nt(_)), T.value = _.value || "", s(T, d.currentOffset(), d.currentPosition()), {
@@ -724,8 +724,8 @@ function Go(e = {}) {
724
724
  const _ = d.context(), O = r(6, _.offset, _.startLoc);
725
725
  let h = d.nextToken();
726
726
  if (h.type === 8) {
727
- const k = m(d);
728
- O.modifier = k.node, h = k.nextConsumeToken || d.nextToken();
727
+ const S = m(d);
728
+ O.modifier = S.node, h = S.nextConsumeToken || d.nextToken();
729
729
  }
730
730
  switch (h.type !== 9 && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(h)), h = d.nextToken(), h.type === 2 && (h = d.nextToken()), h.type) {
731
731
  case 10:
@@ -742,8 +742,8 @@ function Go(e = {}) {
742
742
  break;
743
743
  default: {
744
744
  a(d, K.UNEXPECTED_EMPTY_LINKED_KEY, _.lastStartLoc, 0);
745
- const k = d.context(), T = r(7, k.offset, k.startLoc);
746
- return T.value = "", s(T, k.offset, k.startLoc), O.key = T, s(O, k.offset, k.startLoc), {
745
+ const S = d.context(), T = r(7, S.offset, S.startLoc);
746
+ return T.value = "", s(T, S.offset, S.startLoc), O.key = T, s(O, S.offset, S.startLoc), {
747
747
  nextConsumeToken: h,
748
748
  node: O
749
749
  };
@@ -754,48 +754,48 @@ function Go(e = {}) {
754
754
  };
755
755
  }
756
756
  function g(d) {
757
- const _ = d.context(), O = _.currentType === 1 ? d.currentOffset() : _.offset, h = _.currentType === 1 ? _.endLoc : _.startLoc, k = r(2, O, h);
758
- k.items = [];
757
+ const _ = d.context(), O = _.currentType === 1 ? d.currentOffset() : _.offset, h = _.currentType === 1 ? _.endLoc : _.startLoc, S = r(2, O, h);
758
+ S.items = [];
759
759
  let T = null;
760
760
  do {
761
761
  const B = T || d.nextToken();
762
762
  switch (T = null, B.type) {
763
763
  case 0:
764
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(o(d, B.value || ""));
764
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), S.items.push(o(d, B.value || ""));
765
765
  break;
766
766
  case 5:
767
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(l(d, B.value || ""));
767
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), S.items.push(l(d, B.value || ""));
768
768
  break;
769
769
  case 4:
770
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(i(d, B.value || ""));
770
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), S.items.push(i(d, B.value || ""));
771
771
  break;
772
772
  case 6:
773
- B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), k.items.push(f(d, B.value || ""));
773
+ B.value == null && a(d, K.UNEXPECTED_LEXICAL_ANALYSIS, _.lastStartLoc, 0, nt(B)), S.items.push(f(d, B.value || ""));
774
774
  break;
775
775
  case 7: {
776
776
  const G = p(d);
777
- k.items.push(G.node), T = G.nextConsumeToken || null;
777
+ S.items.push(G.node), T = G.nextConsumeToken || null;
778
778
  break;
779
779
  }
780
780
  }
781
781
  } while (_.currentType !== 13 && _.currentType !== 1);
782
782
  const y = _.currentType === 1 ? _.lastOffset : d.currentOffset(), W = _.currentType === 1 ? _.lastEndLoc : d.currentPosition();
783
- return s(k, y, W), k;
783
+ return s(S, y, W), S;
784
784
  }
785
785
  function E(d, _, O, h) {
786
- const k = d.context();
786
+ const S = d.context();
787
787
  let T = h.items.length === 0;
788
788
  const y = r(1, _, O);
789
789
  y.cases = [], y.cases.push(h);
790
790
  do {
791
791
  const W = g(d);
792
792
  T || (T = W.items.length === 0), y.cases.push(W);
793
- } while (k.currentType !== 13);
793
+ } while (S.currentType !== 13);
794
794
  return T && a(d, K.MUST_HAVE_MESSAGES_IN_PLURAL, O, 0), s(y, d.currentOffset(), d.currentPosition()), y;
795
795
  }
796
796
  function N(d) {
797
- const _ = d.context(), { offset: O, startLoc: h } = _, k = g(d);
798
- return _.currentType === 13 ? k : E(d, O, h, k);
797
+ const _ = d.context(), { offset: O, startLoc: h } = _, S = g(d);
798
+ return _.currentType === 13 ? S : E(d, O, h, S);
799
799
  }
800
800
  function L(d) {
801
801
  const _ = Uo(d, Ce({}, e)), O = _.context(), h = r(0, O.offset, O.startLoc);
@@ -1133,7 +1133,7 @@ function br(e) {
1133
1133
  return _t(e, Ga);
1134
1134
  }
1135
1135
  const Ya = ["v", "value"];
1136
- function hn(e, t) {
1136
+ function _n(e, t) {
1137
1137
  const n = _t(e, Ya);
1138
1138
  if (n != null)
1139
1139
  return n;
@@ -1206,9 +1206,9 @@ function Xn(e, t) {
1206
1206
  const n = br(t);
1207
1207
  switch (n) {
1208
1208
  case 3:
1209
- return hn(t, n);
1209
+ return _n(t, n);
1210
1210
  case 9:
1211
- return hn(t, n);
1211
+ return _n(t, n);
1212
1212
  case 4: {
1213
1213
  const a = t;
1214
1214
  if (ze(a, "k") && a.k)
@@ -1230,9 +1230,9 @@ function Xn(e, t) {
1230
1230
  return e.linked(Xn(e, s), r ? Xn(e, r) : void 0, e.type);
1231
1231
  }
1232
1232
  case 7:
1233
- return hn(t, n);
1233
+ return _n(t, n);
1234
1234
  case 8:
1235
- return hn(t, n);
1235
+ return _n(t, n);
1236
1236
  default:
1237
1237
  throw new Error(`unhandled node on format message part: ${n}`);
1238
1238
  }
@@ -1242,7 +1242,7 @@ function pl(e, t) {
1242
1242
  t && xo(e) && at(Dn(ml, { source: e }));
1243
1243
  }
1244
1244
  const vl = (e) => e;
1245
- let _n = fe();
1245
+ let bn = fe();
1246
1246
  function gl(e, t = {}) {
1247
1247
  let n = !1;
1248
1248
  const a = t.onError || Ao;
@@ -1255,7 +1255,7 @@ function hl(e, t) {
1255
1255
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && M(e)) {
1256
1256
  const n = se(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1257
1257
  process.env.NODE_ENV !== "production" && pl(e, n);
1258
- const r = (t.onCacheKey || vl)(e), s = _n[r];
1258
+ const r = (t.onCacheKey || vl)(e), s = bn[r];
1259
1259
  if (s)
1260
1260
  return s;
1261
1261
  const { ast: o, detectError: l } = gl(e, {
@@ -1263,14 +1263,14 @@ function hl(e, t) {
1263
1263
  location: process.env.NODE_ENV !== "production",
1264
1264
  jit: !0
1265
1265
  }), i = Vn(o);
1266
- return l ? i : _n[r] = i;
1266
+ return l ? i : bn[r] = i;
1267
1267
  } else {
1268
1268
  if (process.env.NODE_ENV !== "production" && !Ge(e))
1269
1269
  return at(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1270
1270
  const n = e.cacheKey;
1271
1271
  if (n) {
1272
- const a = _n[n];
1273
- return a || (_n[n] = Vn(e));
1272
+ const a = bn[n];
1273
+ return a || (bn[n] = Vn(e));
1274
1274
  } else
1275
1275
  return Vn(e);
1276
1276
  }
@@ -1292,7 +1292,7 @@ function El(e) {
1292
1292
  return (t) => cn && cn.emit(e, t);
1293
1293
  }
1294
1294
  const De = {
1295
- INVALID_ARGUMENT: So,
1295
+ INVALID_ARGUMENT: ko,
1296
1296
  // 17
1297
1297
  INVALID_DATE_ARGUMENT: 18,
1298
1298
  INVALID_ISO_DATE_ARGUMENT: 19,
@@ -1336,7 +1336,7 @@ function Yr(e) {
1336
1336
  function Ol(e, t, n) {
1337
1337
  return [.../* @__PURE__ */ new Set([
1338
1338
  n,
1339
- ...Ne(t) ? t : ae(t) ? Object.keys(t) : M(t) ? [t] : [n]
1339
+ ...Te(t) ? t : ae(t) ? Object.keys(t) : M(t) ? [t] : [n]
1340
1340
  ])];
1341
1341
  }
1342
1342
  function qn(e, t, n) {
@@ -1346,10 +1346,10 @@ function qn(e, t, n) {
1346
1346
  if (!s) {
1347
1347
  s = [];
1348
1348
  let o = [n];
1349
- for (; Ne(o); )
1349
+ for (; Te(o); )
1350
1350
  o = Kr(s, o, t);
1351
- const l = Ne(t) || !le(t) ? t : t.default ? t.default : null;
1352
- o = M(l) ? [l] : l, Ne(o) && Kr(s, o, !1), r.__localeChainCache.set(a, s);
1351
+ const l = Te(t) || !ie(t) ? t : t.default ? t.default : null;
1352
+ o = M(l) ? [l] : l, Te(o) && Kr(s, o, !1), r.__localeChainCache.set(a, s);
1353
1353
  }
1354
1354
  return s;
1355
1355
  }
@@ -1375,7 +1375,7 @@ function Cl(e, t, n) {
1375
1375
  if (!e.includes(t) && (a = !0, t)) {
1376
1376
  a = t[t.length - 1] !== "!";
1377
1377
  const r = t.replace(/!/g, "");
1378
- e.push(r), (Ne(n) || le(n)) && n[r] && (a = n[r]);
1378
+ e.push(r), (Te(n) || ie(n)) && n[r] && (a = n[r]);
1379
1379
  }
1380
1380
  return a;
1381
1381
  }
@@ -1541,10 +1541,10 @@ bt[
1541
1541
  ]
1542
1542
  };
1543
1543
  const wl = /^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;
1544
- function kl(e) {
1544
+ function Sl(e) {
1545
1545
  return wl.test(e);
1546
1546
  }
1547
- function Sl(e) {
1547
+ function kl(e) {
1548
1548
  const t = e.charCodeAt(0), n = e.charCodeAt(e.length - 1);
1549
1549
  return t === n && (t === 34 || t === 39) ? e.slice(1, -1) : e;
1550
1550
  }
@@ -1587,7 +1587,7 @@ function Il(e) {
1587
1587
  }
1588
1588
  function Al(e) {
1589
1589
  const t = e.trim();
1590
- return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : kl(t) ? Sl(t) : "*" + t;
1590
+ return e.charAt(0) === "0" && isNaN(parseInt(e)) ? !1 : Sl(t) ? kl(t) : "*" + t;
1591
1591
  }
1592
1592
  function Dl(e) {
1593
1593
  const t = [];
@@ -1722,9 +1722,9 @@ const Qr = (e) => {
1722
1722
  }, Hl = () => ts;
1723
1723
  let Jr = 0;
1724
1724
  function jl(e = {}) {
1725
- const t = ge(e.onWarn) ? e.onWarn : at, n = M(e.version) ? e.version : $l, a = M(e.locale) || ge(e.locale) ? e.locale : un, r = ge(a) ? un : a, s = Ne(e.fallbackLocale) || le(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = le(e.messages) ? e.messages : Un(r), l = le(e.datetimeFormats) ? e.datetimeFormats : Un(r), i = le(e.numberFormats) ? e.numberFormats : Un(r), f = Ce(fe(), e.modifiers, Ml()), m = e.pluralRules || fe(), v = ge(e.missing) ? e.missing : null, p = se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, N = !!e.unresolving, L = ge(e.postTranslation) ? e.postTranslation : null, d = le(e.processor) ? e.processor : null, _ = se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, h = ge(e.messageCompiler) ? e.messageCompiler : Qa;
1725
+ const t = ge(e.onWarn) ? e.onWarn : at, n = M(e.version) ? e.version : $l, a = M(e.locale) || ge(e.locale) ? e.locale : un, r = ge(a) ? un : a, s = Te(e.fallbackLocale) || ie(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = ie(e.messages) ? e.messages : Un(r), l = ie(e.datetimeFormats) ? e.datetimeFormats : Un(r), i = ie(e.numberFormats) ? e.numberFormats : Un(r), f = Ce(fe(), e.modifiers, Ml()), m = e.pluralRules || fe(), v = ge(e.missing) ? e.missing : null, p = se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, N = !!e.unresolving, L = ge(e.postTranslation) ? e.postTranslation : null, d = ie(e.processor) ? e.processor : null, _ = se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, h = ge(e.messageCompiler) ? e.messageCompiler : Qa;
1726
1726
  process.env.NODE_ENV !== "production" && ge(e.messageCompiler) && gr(ht(we.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));
1727
- const k = ge(e.messageResolver) ? e.messageResolver : Ja || xl, T = ge(e.localeFallbacker) ? e.localeFallbacker : Za || Ol, y = ae(e.fallbackContext) ? e.fallbackContext : void 0, W = e, B = ae(W.__datetimeFormatters) ? W.__datetimeFormatters : /* @__PURE__ */ new Map(), G = ae(W.__numberFormatters) ? W.__numberFormatters : /* @__PURE__ */ new Map(), H = ae(W.__meta) ? W.__meta : {};
1727
+ const S = ge(e.messageResolver) ? e.messageResolver : Ja || xl, T = ge(e.localeFallbacker) ? e.localeFallbacker : Za || Ol, y = ae(e.fallbackContext) ? e.fallbackContext : void 0, W = e, B = ae(W.__datetimeFormatters) ? W.__datetimeFormatters : /* @__PURE__ */ new Map(), G = ae(W.__numberFormatters) ? W.__numberFormatters : /* @__PURE__ */ new Map(), H = ae(W.__meta) ? W.__meta : {};
1728
1728
  Jr++;
1729
1729
  const Y = {
1730
1730
  version: n,
@@ -1744,7 +1744,7 @@ function jl(e = {}) {
1744
1744
  warnHtmlMessage: _,
1745
1745
  escapeParameter: O,
1746
1746
  messageCompiler: h,
1747
- messageResolver: k,
1747
+ messageResolver: S,
1748
1748
  localeFallbacker: T,
1749
1749
  fallbackContext: y,
1750
1750
  onWarn: t,
@@ -1816,7 +1816,7 @@ function ss(e, t, n, a, r, s, o) {
1816
1816
  });
1817
1817
  }
1818
1818
  const E = (a[g] || {})[t];
1819
- if (le(E) && M(g))
1819
+ if (ie(E) && M(g))
1820
1820
  return g;
1821
1821
  rs(e, t, g, r, o), v = g;
1822
1822
  }
@@ -1824,7 +1824,7 @@ function ss(e, t, n, a, r, s, o) {
1824
1824
  }
1825
1825
  function os(e, t, n) {
1826
1826
  let a = `${e}__${t}`;
1827
- return le(n) && !mr(n) && (a = `${a}__${JSON.stringify(n)}`), a;
1827
+ return ie(n) && !mr(n) && (a = `${a}__${JSON.stringify(n)}`), a;
1828
1828
  }
1829
1829
  function ls(e, t, n) {
1830
1830
  for (const a in n) {
@@ -1836,9 +1836,9 @@ function ls(e, t, n) {
1836
1836
  function is(e, t, n, a) {
1837
1837
  const [, r, s, o] = e;
1838
1838
  let l = n;
1839
- return M(r) ? t.key = r : le(r) && Object.keys(r).forEach((i) => {
1839
+ return M(r) ? t.key = r : ie(r) && Object.keys(r).forEach((i) => {
1840
1840
  a.includes(i) ? l[i] = r[i] : t[i] = r[i];
1841
- }), M(s) ? t.locale = s : le(s) && (l = s), le(o) && (l = o), l;
1841
+ }), M(s) ? t.locale = s : ie(s) && (l = s), ie(o) && (l = o), l;
1842
1842
  }
1843
1843
  const Zr = typeof Intl < "u", cs = {
1844
1844
  dateTimeFormat: Zr && typeof Intl.DateTimeFormat < "u",
@@ -1988,13 +1988,13 @@ function Jl(e = {}) {
1988
1988
  plural: s,
1989
1989
  linked: (d, ..._) => {
1990
1990
  const [O, h] = _;
1991
- let k = "text", T = "";
1992
- _.length === 1 ? ae(O) ? (T = O.modifier || T, k = O.type || k) : M(O) && (T = O || T) : _.length === 2 && (M(O) && (T = O || T), M(h) && (k = h || k));
1991
+ let S = "text", T = "";
1992
+ _.length === 1 ? ae(O) ? (T = O.modifier || T, S = O.type || S) : M(O) && (T = O || T) : _.length === 2 && (M(O) && (T = O || T), M(h) && (S = h || S));
1993
1993
  const y = m(d, !0)(L), W = y === "" || y === void 0 ? d : y, B = (
1994
1994
  // The message in vnode resolved with linked are returned as an array by processor.nomalize
1995
- k === "vnode" && Ne(W) && T ? W[0] : W
1995
+ S === "vnode" && Te(W) && T ? W[0] : W
1996
1996
  );
1997
- return T ? v(T)(B, k) : B;
1997
+ return T ? v(T)(B, S) : B;
1998
1998
  },
1999
1999
  message: m,
2000
2000
  type: E,
@@ -2012,15 +2012,15 @@ function sa(e, ...t) {
2012
2012
  i,
2013
2013
  L,
2014
2014
  l[L] || fe()
2015
- ] : fs(e, i, L, o, v, m), h = d, k = i;
2016
- if (!g && !(M(h) || Ge(h) || He(h)) && N && (h = E, k = h), !g && (!(M(h) || Ge(h) || He(h)) || !M(_)))
2015
+ ] : fs(e, i, L, o, v, m), h = d, S = i;
2016
+ if (!g && !(M(h) || Ge(h) || He(h)) && N && (h = E, S = h), !g && (!(M(h) || Ge(h) || He(h)) || !M(_)))
2017
2017
  return r ? Pn : i;
2018
2018
  if (process.env.NODE_ENV !== "production" && M(h) && e.messageCompiler == null)
2019
2019
  return at(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`), i;
2020
2020
  let T = !1;
2021
2021
  const y = () => {
2022
2022
  T = !0;
2023
- }, W = He(h) ? h : ms(e, i, _, h, k, y);
2023
+ }, W = He(h) ? h : ms(e, i, _, h, S, y);
2024
2024
  if (T)
2025
2025
  return h;
2026
2026
  const B = ri(e, _, O, f), G = Jl(B), H = ei(e, W, G);
@@ -2038,7 +2038,7 @@ function sa(e, ...t) {
2038
2038
  return Y;
2039
2039
  }
2040
2040
  function Zl(e) {
2041
- Ne(e.list) ? e.list = e.list.map((t) => M(t) ? Wr(t) : t) : ae(e.named) && Object.keys(e.named).forEach((t) => {
2041
+ Te(e.list) ? e.list = e.list.map((t) => M(t) ? Wr(t) : t) : ae(e.named) && Object.keys(e.named).forEach((t) => {
2042
2042
  M(e.named[t]) && (e.named[t] = Wr(e.named[t]));
2043
2043
  });
2044
2044
  }
@@ -2059,8 +2059,8 @@ function fs(e, t, n, a, r, s) {
2059
2059
  to: N,
2060
2060
  groupId: `${L}:${t}`
2061
2061
  }), v = o[p] || fe();
2062
- let O = null, h, k;
2063
- if (process.env.NODE_ENV !== "production" && Qe && _ && (O = window.performance.now(), h = "intlify-message-resolve-start", k = "intlify-message-resolve-end", Ve && Ve(h)), (g = i(v, t)) === null && (g = v[t]), process.env.NODE_ENV !== "production" && Qe && _) {
2062
+ let O = null, h, S;
2063
+ if (process.env.NODE_ENV !== "production" && Qe && _ && (O = window.performance.now(), h = "intlify-message-resolve-start", S = "intlify-message-resolve-end", Ve && Ve(h)), (g = i(v, t)) === null && (g = v[t]), process.env.NODE_ENV !== "production" && Qe && _) {
2064
2064
  const T = window.performance.now();
2065
2065
  _ && O && g && _.emit("message-resolve", {
2066
2066
  type: "message-resolve",
@@ -2068,7 +2068,7 @@ function fs(e, t, n, a, r, s) {
2068
2068
  message: g,
2069
2069
  time: T - O,
2070
2070
  groupId: `${L}:${t}`
2071
- }), h && k && Ve && kt && (Ve(k), kt("intlify message resolve", h, k));
2071
+ }), h && S && Ve && St && (Ve(S), St("intlify message resolve", h, S));
2072
2072
  }
2073
2073
  if (M(g) || Ge(g) || He(g))
2074
2074
  break;
@@ -2108,7 +2108,7 @@ function ms(e, t, n, a, r, s) {
2108
2108
  message: a,
2109
2109
  time: g - f,
2110
2110
  groupId: `translate:${t}`
2111
- }), m && v && Ve && kt && (Ve(v), kt("intlify message compilation", m, v));
2111
+ }), m && v && Ve && St && (Ve(v), St("intlify message compilation", m, v));
2112
2112
  }
2113
2113
  return p.locale = n, p.key = t, p.source = a, p;
2114
2114
  }
@@ -2124,7 +2124,7 @@ function ei(e, t, n) {
2124
2124
  value: l,
2125
2125
  time: i - r,
2126
2126
  groupId: `translate:${t.key}`
2127
- }), s && o && Ve && kt && (Ve(o), kt("intlify message evaluation", s, o));
2127
+ }), s && o && Ve && St && (Ve(o), St("intlify message evaluation", s, o));
2128
2128
  }
2129
2129
  return l;
2130
2130
  }
@@ -2133,7 +2133,7 @@ function Zn(...e) {
2133
2133
  if (!M(t) && !Le(t) && !He(t) && !Ge(t))
2134
2134
  throw ut(De.INVALID_ARGUMENT);
2135
2135
  const s = Le(t) ? String(t) : (He(t), t);
2136
- return Le(n) ? r.plural = n : M(n) ? r.default = n : le(n) && !mr(n) ? r.named = n : Ne(n) && (r.list = n), Le(a) ? r.plural = a : M(a) ? r.default = a : le(a) && Ce(r, a), [s, r];
2136
+ return Le(n) ? r.plural = n : M(n) ? r.default = n : ie(n) && !mr(n) ? r.named = n : Te(n) && (r.list = n), Le(a) ? r.plural = a : M(a) ? r.default = a : ie(a) && Ce(r, a), [s, r];
2137
2137
  }
2138
2138
  function ti(e, t, n, a, r, s) {
2139
2139
  return {
@@ -2332,7 +2332,7 @@ const pi = {
2332
2332
  [me.NOT_INSTALLED_WITH_PROVIDE]: "Need to install with `provide` function",
2333
2333
  [me.NOT_COMPATIBLE_LEGACY_VUE_I18N]: "Not compatible legacy VueI18n.",
2334
2334
  [me.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]: "Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"
2335
- }, tr = /* @__PURE__ */ ot("__translateVNode"), nr = /* @__PURE__ */ ot("__datetimeParts"), rr = /* @__PURE__ */ ot("__numberParts"), ft = /* @__PURE__ */ ot("__enableEmitter"), St = /* @__PURE__ */ ot("__disableEmitter"), vs = ot("__setPluralRules"), gs = /* @__PURE__ */ ot("__injectWithOption"), $t = /* @__PURE__ */ ot("__dispose"), je = {
2335
+ }, tr = /* @__PURE__ */ ot("__translateVNode"), nr = /* @__PURE__ */ ot("__datetimeParts"), rr = /* @__PURE__ */ ot("__numberParts"), ft = /* @__PURE__ */ ot("__enableEmitter"), kt = /* @__PURE__ */ ot("__disableEmitter"), vs = ot("__setPluralRules"), gs = /* @__PURE__ */ ot("__injectWithOption"), $t = /* @__PURE__ */ ot("__dispose"), je = {
2336
2336
  FALLBACK_TO_ROOT: xt,
2337
2337
  // 10
2338
2338
  NOT_FOUND_PARENT_SCOPE: xt + 1,
@@ -2394,13 +2394,13 @@ function dn(e) {
2394
2394
  return e;
2395
2395
  }
2396
2396
  function Tr(e, t) {
2397
- const { messages: n, __i18n: a, messageResolver: r, flatJson: s } = t, o = le(n) ? n : Ne(a) ? fe() : { [e]: fe() };
2398
- if (Ne(a) && a.forEach((l) => {
2397
+ const { messages: n, __i18n: a, messageResolver: r, flatJson: s } = t, o = ie(n) ? n : Te(a) ? fe() : { [e]: fe() };
2398
+ if (Te(a) && a.forEach((l) => {
2399
2399
  if ("locale" in l && "resource" in l) {
2400
2400
  const { locale: i, resource: f } = l;
2401
- i ? (o[i] = o[i] || fe(), En(f, o[i])) : En(f, o);
2401
+ i ? (o[i] = o[i] || fe(), Tn(f, o[i])) : Tn(f, o);
2402
2402
  } else
2403
- M(l) && En(JSON.parse(l), o);
2403
+ M(l) && Tn(JSON.parse(l), o);
2404
2404
  }), r == null && s)
2405
2405
  for (const l in o)
2406
2406
  ze(o, l) && dn(o[l]);
@@ -2435,7 +2435,7 @@ function _s(e, t, n) {
2435
2435
  }
2436
2436
  }
2437
2437
  function oa(e) {
2438
- return ue(Qs, null, e, 0);
2438
+ return oe(Qs, null, e, 0);
2439
2439
  }
2440
2440
  function Vt() {
2441
2441
  const e = "currentInstance";
@@ -2451,7 +2451,7 @@ const hi = /* @__NO_SIDE_EFFECTS__ */ () => {
2451
2451
  let t = null;
2452
2452
  return e && (t = hs(e)[la]) ? { [la]: t } : null;
2453
2453
  };
2454
- function On(e = {}) {
2454
+ function Ln(e = {}) {
2455
2455
  const { __root: t, __injectWithOption: n } = e, a = t === void 0, r = e.flatJson, s = Qe ? z : Ks;
2456
2456
  let o = se(e.inheritLocale) ? e.inheritLocale : !0;
2457
2457
  const l = s(
@@ -2459,10 +2459,10 @@ function On(e = {}) {
2459
2459
  t && o ? t.locale.value : M(e.locale) ? e.locale : un
2460
2460
  ), i = s(
2461
2461
  // prettier-ignore
2462
- t && o ? t.fallbackLocale.value : M(e.fallbackLocale) || Ne(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2463
- ), f = s(Tr(l.value, e)), m = s(le(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), v = s(le(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2462
+ t && o ? t.fallbackLocale.value : M(e.fallbackLocale) || Te(e.fallbackLocale) || ie(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2463
+ ), f = s(Tr(l.value, e)), m = s(ie(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), v = s(ie(e.numberFormats) ? e.numberFormats : { [l.value]: {} });
2464
2464
  let p = t ? t.missingWarn : se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = t ? t.fallbackWarn : se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = t ? t.fallbackRoot : se(e.fallbackRoot) ? e.fallbackRoot : !0, N = !!e.fallbackFormat, L = ge(e.missing) ? e.missing : null, d = ge(e.missing) ? ua(e.missing) : null, _ = ge(e.postTranslation) ? e.postTranslation : null, O = t ? t.warnHtmlMessage : se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, h = !!e.escapeParameter;
2465
- const k = t ? t.modifiers : le(e.modifiers) ? e.modifiers : {};
2465
+ const S = t ? t.modifiers : ie(e.modifiers) ? e.modifiers : {};
2466
2466
  let T = e.pluralRules || t && t.pluralRules, y;
2467
2467
  y = (() => {
2468
2468
  a && Qr(null);
@@ -2471,7 +2471,7 @@ function On(e = {}) {
2471
2471
  locale: l.value,
2472
2472
  fallbackLocale: i.value,
2473
2473
  messages: f.value,
2474
- modifiers: k,
2474
+ modifiers: S,
2475
2475
  pluralRules: T,
2476
2476
  missing: d === null ? void 0 : d,
2477
2477
  missingWarn: p,
@@ -2485,7 +2485,7 @@ function On(e = {}) {
2485
2485
  messageCompiler: e.messageCompiler,
2486
2486
  __meta: { framework: "vue" }
2487
2487
  };
2488
- C.datetimeFormats = m.value, C.numberFormats = v.value, C.__datetimeFormatters = le(y) ? y.__datetimeFormatters : void 0, C.__numberFormatters = le(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (C.__v_emitter = le(y) ? y.__v_emitter : void 0);
2488
+ C.datetimeFormats = m.value, C.numberFormats = v.value, C.__datetimeFormatters = ie(y) ? y.__datetimeFormatters : void 0, C.__numberFormatters = ie(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (C.__v_emitter = ie(y) ? y.__v_emitter : void 0);
2489
2489
  const D = jl(C);
2490
2490
  return a && Qr(D), D;
2491
2491
  })(), Jt(y, l.value, i.value);
@@ -2512,7 +2512,7 @@ function On(e = {}) {
2512
2512
  function he() {
2513
2513
  return ge(_) ? _ : null;
2514
2514
  }
2515
- function S(C) {
2515
+ function k(C) {
2516
2516
  _ = C, y.postTranslation = C;
2517
2517
  }
2518
2518
  function A() {
@@ -2554,26 +2554,26 @@ function On(e = {}) {
2554
2554
  throw Pe(me.UNEXPECTED_RETURN_TYPE);
2555
2555
  }
2556
2556
  };
2557
- function Z(...C) {
2557
+ function ee(...C) {
2558
2558
  return j((D) => Reflect.apply(sa, null, [D, ...C]), () => Zn(...C), "translate", (D) => Reflect.apply(D.t, D, [...C]), (D) => D, (D) => M(D));
2559
2559
  }
2560
- function oe(...C) {
2560
+ function le(...C) {
2561
2561
  const [D, re, be] = C;
2562
2562
  if (be && !ae(be))
2563
2563
  throw Pe(me.INVALID_ARGUMENT);
2564
- return Z(D, re, Ce({ resolvedMessage: !0 }, be || {}));
2564
+ return ee(D, re, Ce({ resolvedMessage: !0 }, be || {}));
2565
2565
  }
2566
2566
  function _e(...C) {
2567
- return j((D) => Reflect.apply(ea, null, [D, ...C]), () => Qn(...C), "datetime format", (D) => Reflect.apply(D.d, D, [...C]), () => zt, (D) => M(D) || Ne(D));
2567
+ return j((D) => Reflect.apply(ea, null, [D, ...C]), () => Qn(...C), "datetime format", (D) => Reflect.apply(D.d, D, [...C]), () => zt, (D) => M(D) || Te(D));
2568
2568
  }
2569
2569
  function Re(...C) {
2570
- return j((D) => Reflect.apply(na, null, [D, ...C]), () => Jn(...C), "number format", (D) => Reflect.apply(D.n, D, [...C]), () => zt, (D) => M(D) || Ne(D));
2570
+ return j((D) => Reflect.apply(na, null, [D, ...C]), () => Jn(...C), "number format", (D) => Reflect.apply(D.n, D, [...C]), () => zt, (D) => M(D) || Te(D));
2571
2571
  }
2572
- function Se(C) {
2572
+ function ke(C) {
2573
2573
  return C.map((D) => M(D) || Le(D) || se(D) ? oa(String(D)) : D);
2574
2574
  }
2575
2575
  const $ = {
2576
- normalize: Se,
2576
+ normalize: ke,
2577
2577
  interpolate: (C) => C,
2578
2578
  type: "vnode"
2579
2579
  };
@@ -2587,13 +2587,13 @@ function On(e = {}) {
2587
2587
  be.processor = null;
2588
2588
  }
2589
2589
  return re;
2590
- }, () => Zn(...C), "translate", (D) => D[tr](...C), (D) => [oa(D)], (D) => Ne(D));
2590
+ }, () => Zn(...C), "translate", (D) => D[tr](...C), (D) => [oa(D)], (D) => Te(D));
2591
2591
  }
2592
2592
  function Ee(...C) {
2593
- return j((D) => Reflect.apply(na, null, [D, ...C]), () => Jn(...C), "number format", (D) => D[rr](...C), ia, (D) => M(D) || Ne(D));
2593
+ return j((D) => Reflect.apply(na, null, [D, ...C]), () => Jn(...C), "number format", (D) => D[rr](...C), ia, (D) => M(D) || Te(D));
2594
2594
  }
2595
2595
  function Ie(...C) {
2596
- return j((D) => Reflect.apply(ea, null, [D, ...C]), () => Qn(...C), "datetime format", (D) => D[nr](...C), ia, (D) => M(D) || Ne(D));
2596
+ return j((D) => Reflect.apply(ea, null, [D, ...C]), () => Qn(...C), "datetime format", (D) => D[nr](...C), ia, (D) => M(D) || Te(D));
2597
2597
  }
2598
2598
  function lt(C) {
2599
2599
  T = C, y.pluralRules = T;
@@ -2646,7 +2646,7 @@ function On(e = {}) {
2646
2646
  if (r)
2647
2647
  for (const be in re)
2648
2648
  ze(re, be) && dn(re[be]);
2649
- D = re[C], En(D, f.value[C]), y.messages = f.value;
2649
+ D = re[C], Tn(D, f.value[C]), y.messages = f.value;
2650
2650
  }
2651
2651
  function c(C) {
2652
2652
  return m.value[C] || {};
@@ -2686,7 +2686,7 @@ function On(e = {}) {
2686
2686
  },
2687
2687
  messages: Y,
2688
2688
  get modifiers() {
2689
- return k;
2689
+ return S;
2690
2690
  },
2691
2691
  get pluralRules() {
2692
2692
  return T || {};
@@ -2730,19 +2730,19 @@ function On(e = {}) {
2730
2730
  set escapeParameter(C) {
2731
2731
  h = C, y.escapeParameter = C;
2732
2732
  },
2733
- t: Z,
2733
+ t: ee,
2734
2734
  getLocaleMessage: Ue,
2735
2735
  setLocaleMessage: et,
2736
2736
  mergeLocaleMessage: pt,
2737
2737
  getPostTranslationHandler: he,
2738
- setPostTranslationHandler: S,
2738
+ setPostTranslationHandler: k,
2739
2739
  getMissingHandler: A,
2740
2740
  setMissingHandler: R,
2741
2741
  [vs]: lt
2742
2742
  };
2743
- return ne.datetimeFormats = U, ne.numberFormats = q, ne.rt = oe, ne.te = Et, ne.tm = it, ne.d = _e, ne.n = Re, ne.getDateTimeFormat = c, ne.setDateTimeFormat = u, ne.mergeDateTimeFormat = b, ne.getNumberFormat = P, ne.setNumberFormat = Q, ne.mergeNumberFormat = ve, ne[gs] = n, ne[tr] = pe, ne[nr] = Ie, ne[rr] = Ee, process.env.NODE_ENV !== "production" && (ne[ft] = (C) => {
2743
+ return ne.datetimeFormats = U, ne.numberFormats = q, ne.rt = le, ne.te = Et, ne.tm = it, ne.d = _e, ne.n = Re, ne.getDateTimeFormat = c, ne.setDateTimeFormat = u, ne.mergeDateTimeFormat = b, ne.getNumberFormat = P, ne.setNumberFormat = Q, ne.mergeNumberFormat = ve, ne[gs] = n, ne[tr] = pe, ne[nr] = Ie, ne[rr] = Ee, process.env.NODE_ENV !== "production" && (ne[ft] = (C) => {
2744
2744
  y.__v_emitter = C;
2745
- }, ne[St] = () => {
2745
+ }, ne[kt] = () => {
2746
2746
  y.__v_emitter = void 0;
2747
2747
  }), ne;
2748
2748
  }
@@ -2784,7 +2784,7 @@ async function yi(e, t) {
2784
2784
  const s = /* @__PURE__ */ new Map();
2785
2785
  r.on.getInspectorState(async (o) => {
2786
2786
  if (o.app === e && o.inspectorId === "vue-i18n-resource-inspector")
2787
- if (r.unhighlightElement(), ki(o, t), o.nodeId === "global") {
2787
+ if (r.unhighlightElement(), Si(o, t), o.nodeId === "global") {
2788
2788
  if (!s.has(o.app)) {
2789
2789
  const [l] = await r.getComponentInstances(o.app);
2790
2790
  s.set(o.app, l);
@@ -2920,11 +2920,11 @@ function Es(e, t) {
2920
2920
  return n ? t.mode === "composition" ? n : n.__composer : null;
2921
2921
  }
2922
2922
  }
2923
- function ki(e, t) {
2923
+ function Si(e, t) {
2924
2924
  const n = Es(e.nodeId, t);
2925
- return n && (e.state = Si(n)), null;
2925
+ return n && (e.state = ki(n)), null;
2926
2926
  }
2927
- function Si(e) {
2927
+ function ki(e) {
2928
2928
  const t = {}, n = "Locale related info", a = [
2929
2929
  {
2930
2930
  type: n,
@@ -3003,17 +3003,17 @@ function Ii(e, t) {
3003
3003
  const n = Es(e.nodeId, t);
3004
3004
  if (n) {
3005
3005
  const [a] = e.path;
3006
- a === "locale" && M(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (M(e.state.value) || Ne(e.state.value) || ae(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && se(e.state.value) && (n.inheritLocale = e.state.value);
3006
+ a === "locale" && M(e.state.value) ? n.locale.value = e.state.value : a === "fallbackLocale" && (M(e.state.value) || Te(e.state.value) || ae(e.state.value)) ? n.fallbackLocale.value = e.state.value : a === "inheritLocale" && se(e.state.value) && (n.inheritLocale = e.state.value);
3007
3007
  }
3008
3008
  }
3009
3009
  function Ai(e) {
3010
- const t = M(e.locale) ? e.locale : un, n = M(e.fallbackLocale) || Ne(e.fallbackLocale) || le(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = ge(e.missing) ? e.missing : void 0, r = se(e.silentTranslationWarn) || Ht(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = se(e.silentFallbackWarn) || Ht(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = se(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = le(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, m = ge(e.postTranslation) ? e.postTranslation : void 0, v = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, g = se(e.sync) ? e.sync : !0;
3010
+ const t = M(e.locale) ? e.locale : un, n = M(e.fallbackLocale) || Te(e.fallbackLocale) || ie(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = ge(e.missing) ? e.missing : void 0, r = se(e.silentTranslationWarn) || Ht(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = se(e.silentFallbackWarn) || Ht(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = se(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = ie(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, m = ge(e.postTranslation) ? e.postTranslation : void 0, v = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, g = se(e.sync) ? e.sync : !0;
3011
3011
  let E = e.messages;
3012
- if (le(e.sharedMessages)) {
3013
- const k = e.sharedMessages;
3014
- E = Object.keys(k).reduce((y, W) => {
3012
+ if (ie(e.sharedMessages)) {
3013
+ const S = e.sharedMessages;
3014
+ E = Object.keys(S).reduce((y, W) => {
3015
3015
  const B = y[W] || (y[W] = {});
3016
- return Ce(B, k[W]), y;
3016
+ return Ce(B, S[W]), y;
3017
3017
  }, E || {});
3018
3018
  }
3019
3019
  const { __i18n: N, __root: L, __injectWithOption: d } = e, _ = e.datetimeFormats, O = e.numberFormats, h = e.flatJson;
@@ -3042,7 +3042,7 @@ function Ai(e) {
3042
3042
  };
3043
3043
  }
3044
3044
  function sr(e = {}) {
3045
- const t = On(Ai(e)), { __extender: n } = e, a = {
3045
+ const t = Ln(Ai(e)), { __extender: n } = e, a = {
3046
3046
  // id
3047
3047
  id: t.id,
3048
3048
  // locale
@@ -3207,7 +3207,7 @@ function sr(e = {}) {
3207
3207
  s[ft] && s[ft](r);
3208
3208
  }, a.__disableEmitter = () => {
3209
3209
  const r = t;
3210
- r[St] && r[St]();
3210
+ r[kt] && r[kt]();
3211
3211
  }), a;
3212
3212
  }
3213
3213
  function Di(e, t, n) {
@@ -3302,7 +3302,7 @@ function xi({ slots: e }, t) {
3302
3302
  function Ts() {
3303
3303
  return Be;
3304
3304
  }
3305
- const Pi = /* @__PURE__ */ ce({
3305
+ const Pi = /* @__PURE__ */ ue({
3306
3306
  /* eslint-disable */
3307
3307
  name: "i18n-t",
3308
3308
  props: Ce({
@@ -3334,7 +3334,7 @@ const Pi = /* @__PURE__ */ ce({
3334
3334
  }
3335
3335
  }), ma = Pi;
3336
3336
  function Ri(e) {
3337
- return Ne(e) && !M(e[0]);
3337
+ return Te(e) && !M(e[0]);
3338
3338
  }
3339
3339
  function Ns(e, t, n, a) {
3340
3340
  const { slots: r, attrs: s } = t;
@@ -3345,7 +3345,7 @@ function Ns(e, t, n, a) {
3345
3345
  e.locale && (f.locale = e.locale), M(e.format) ? f.key = e.format : ae(e.format) && (M(e.format.key) && (f.key = e.format.key), m = Object.keys(e.format).reduce((g, E) => n.includes(E) ? Ce(fe(), g, { [E]: e.format[E] }) : g, fe()));
3346
3346
  const v = a(e.value, f, m);
3347
3347
  let p = [f.key];
3348
- return Ne(v) ? p = v.map((g, E) => {
3348
+ return Te(v) ? p = v.map((g, E) => {
3349
3349
  const N = r[g.type], L = N ? N({ [g.type]: g.value, index: E, parts: v }) : [g.value];
3350
3350
  return Ri(L) && (L[0].key = `${g.type}-${E}`), L;
3351
3351
  }) : M(v) && (p = [v]), p;
@@ -3353,7 +3353,7 @@ function Ns(e, t, n, a) {
3353
3353
  return ae(i) ? wt(i, l, { default: o }) : wt(i, l, o());
3354
3354
  };
3355
3355
  }
3356
- const $i = /* @__PURE__ */ ce({
3356
+ const $i = /* @__PURE__ */ ue({
3357
3357
  /* eslint-disable */
3358
3358
  name: "i18n-n",
3359
3359
  props: Ce({
@@ -3426,7 +3426,7 @@ function Vi(e) {
3426
3426
  function va(e) {
3427
3427
  if (M(e))
3428
3428
  return { path: e };
3429
- if (le(e)) {
3429
+ if (ie(e)) {
3430
3430
  if (!("path" in e))
3431
3431
  throw Pe(me.REQUIRED_VALUE, "path");
3432
3432
  return e;
@@ -3438,7 +3438,7 @@ function ga(e) {
3438
3438
  return M(n) && (o.locale = n), Le(r) && (o.plural = r), Le(s) && (o.plural = s), [t, l, o];
3439
3439
  }
3440
3440
  function Fi(e, t, ...n) {
3441
- const a = le(n[0]) ? n[0] : {};
3441
+ const a = ie(n[0]) ? n[0] : {};
3442
3442
  (se(a.globalInstall) ? a.globalInstall : !0) && ([ma.name, "I18nT"].forEach((s) => e.component(s, ma)), [pa.name, "I18nN"].forEach((s) => e.component(s, pa)), [ba.name, "I18nD"].forEach((s) => e.component(s, ba))), e.directive("t", Vi(t));
3443
3443
  }
3444
3444
  const Ui = /* @__PURE__ */ ot("global-vue-i18n");
@@ -3462,7 +3462,7 @@ function Wi(e = {}) {
3462
3462
  },
3463
3463
  // install plugin
3464
3464
  async install(v, ...p) {
3465
- if (process.env.NODE_ENV !== "production" && (v.__VUE_I18N__ = m), v.__VUE_I18N_SYMBOL__ = o, v.provide(v.__VUE_I18N_SYMBOL__, m), le(p[0])) {
3465
+ if (process.env.NODE_ENV !== "production" && (v.__VUE_I18N__ = m), v.__VUE_I18N_SYMBOL__ = o, v.provide(v.__VUE_I18N_SYMBOL__, m), ie(p[0])) {
3466
3466
  const N = p[0];
3467
3467
  m.__composerExtend = N.__composerExtend, m.__vueI18nExtend = N.__vueI18nExtend;
3468
3468
  }
@@ -3521,7 +3521,7 @@ function Lr(e = {}) {
3521
3521
  throw Pe(me.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);
3522
3522
  const i = n, f = Ce({}, e), m = ha(n, t);
3523
3523
  f.__root = m || a;
3524
- const v = On(f);
3524
+ const v = Ln(f);
3525
3525
  i.__composerExtend && (v[$t] = i.__composerExtend(v));
3526
3526
  let p = null;
3527
3527
  if (process.env.NODE_ENV !== "production") {
@@ -3533,7 +3533,7 @@ function Lr(e = {}) {
3533
3533
  if (process.env.NODE_ENV !== "production") {
3534
3534
  p && p.off("*", It);
3535
3535
  const N = v;
3536
- N[St] && N[St]();
3536
+ N[kt] && N[kt]();
3537
3537
  }
3538
3538
  const E = v[$t];
3539
3539
  E && (E(), delete v[$t]);
@@ -3543,19 +3543,19 @@ function Lr(e = {}) {
3543
3543
  let l = o.__getInstance(t);
3544
3544
  if (l == null) {
3545
3545
  const i = Ce({}, e);
3546
- "__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l = On(i), o.__composerExtend && (l[$t] = o.__composerExtend(l)), Yi(o, t, l), o.__setInstance(t, l);
3546
+ "__i18n" in r && (i.__i18n = r.__i18n), a && (i.__root = a), l = Ln(i), o.__composerExtend && (l[$t] = o.__composerExtend(l)), Yi(o, t, l), o.__setInstance(t, l);
3547
3547
  } else
3548
3548
  process.env.NODE_ENV !== "production" && s === "local" && at(Gt(je.DUPLICATE_USE_I18N_CALLING));
3549
3549
  return l;
3550
3550
  }
3551
3551
  function Bi(e, t) {
3552
- const n = Gs(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => sr(e)) : n.run(() => On(e));
3552
+ const n = Gs(), a = __VUE_I18N_LEGACY_API__ && t ? n.run(() => sr(e)) : n.run(() => Ln(e));
3553
3553
  if (a == null)
3554
3554
  throw Pe(me.UNEXPECTED_ERROR);
3555
3555
  return [n, a];
3556
3556
  }
3557
3557
  function Hi(e) {
3558
- const t = Sn(e.isCE ? Ui : e.appContext.app.__VUE_I18N_SYMBOL__);
3558
+ const t = In(e.isCE ? Ui : e.appContext.app.__VUE_I18N_SYMBOL__);
3559
3559
  if (!t)
3560
3560
  throw Pe(e.isCE ? me.NOT_INSTALLED_WITH_PROVIDE : me.UNEXPECTED_ERROR);
3561
3561
  return t;
@@ -3597,7 +3597,7 @@ function Yi(e, t, n) {
3597
3597
  }
3598
3598
  }, t), Je(() => {
3599
3599
  const r = n;
3600
- process.env.NODE_ENV !== "production" && (a && a.off("*", It), r[St] && r[St](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3600
+ process.env.NODE_ENV !== "production" && (a && a.off("*", It), r[kt] && r[kt](), delete t.__VUE_I18N__), e.__deleteInstance(t);
3601
3601
  const s = r[$t];
3602
3602
  s && (s(), delete r[$t]);
3603
3603
  }, t);
@@ -3638,7 +3638,7 @@ function Xi(e, t) {
3638
3638
  });
3639
3639
  };
3640
3640
  }
3641
- const qi = /* @__PURE__ */ ce({
3641
+ const qi = /* @__PURE__ */ ue({
3642
3642
  /* eslint-disable */
3643
3643
  name: "i18n-d",
3644
3644
  props: Ce({
@@ -3781,7 +3781,7 @@ const Os = () => (Hn || (Hn = Wi({
3781
3781
  legacy: !1
3782
3782
  })), Hn), vf = (e) => {
3783
3783
  Os().global.locale.value = e;
3784
- }, ke = (e, t) => Os().global.t(e, t), ec = ["disabled"], tc = ["disabled"], nc = ["disabled"], Ft = /* @__PURE__ */ ce({
3784
+ }, Se = (e, t) => Os().global.t(e, t), ec = ["disabled"], tc = ["disabled"], nc = ["disabled"], Ft = /* @__PURE__ */ ue({
3785
3785
  name: "Button",
3786
3786
  inheritAttrs: !1,
3787
3787
  __name: "Button",
@@ -3828,7 +3828,7 @@ const Os = () => (Hn || (Hn = Wi({
3828
3828
  });
3829
3829
  return (m, v) => e.icon || m.$slots.icon ? (w(), x("div", {
3830
3830
  key: 0,
3831
- class: te(["cregis-button__icon-wrapper", { "cregis-button__icon-wrapper--professional": e.iconType === "professional" }])
3831
+ class: Z(["cregis-button__icon-wrapper", { "cregis-button__icon-wrapper--professional": e.iconType === "professional" }])
3832
3832
  }, [
3833
3833
  F("button", gt({
3834
3834
  ref_key: "iconButtonRef",
@@ -3843,20 +3843,20 @@ const Os = () => (Hn || (Hn = Wi({
3843
3843
  }],
3844
3844
  disabled: e.disabled || e.loading
3845
3845
  }), [
3846
- e.icon ? (w(), Te(on(e.icon), {
3846
+ e.icon ? (w(), Oe(on(e.icon), {
3847
3847
  key: 0,
3848
3848
  size: o.value
3849
3849
  }, null, 8, ["size"])) : (w(), x("span", {
3850
3850
  key: 1,
3851
3851
  class: "cregis-button__icon-slot-inner",
3852
- style: ie({ "--cregis-btn-icon-slot-size": o.value })
3852
+ style: ce({ "--cregis-btn-icon-slot-size": o.value })
3853
3853
  }, [
3854
3854
  de(m.$slots, "icon")
3855
3855
  ], 4))
3856
3856
  ], 16, ec),
3857
3857
  e.iconText ? (w(), x("span", {
3858
3858
  key: 0,
3859
- class: te(["cregis-button__icon-text", { "is-disabled": e.disabled }]),
3859
+ class: Z(["cregis-button__icon-text", { "is-disabled": e.disabled }]),
3860
3860
  onClick: r
3861
3861
  }, J(e.iconText), 3)) : X("", !0)
3862
3862
  ], 2)) : e.link ? (w(), x("button", gt({ key: 1 }, m.$attrs, {
@@ -3887,7 +3887,7 @@ const Os = () => (Hn || (Hn = Wi({
3887
3887
  }],
3888
3888
  disabled: e.disabled || e.loading
3889
3889
  }), [
3890
- e.loading ? (w(), Te(ee(Yn), {
3890
+ e.loading ? (w(), Oe(te(Yn), {
3891
3891
  key: 0,
3892
3892
  class: "loading",
3893
3893
  size: l.value,
@@ -3904,7 +3904,7 @@ const Os = () => (Hn || (Hn = Wi({
3904
3904
  }, oc = ["disabled", "placeholder", "rows"], lc = {
3905
3905
  key: 0,
3906
3906
  class: "cregis-textarea__buttons"
3907
- }, Ls = /* @__PURE__ */ ce({
3907
+ }, Ls = /* @__PURE__ */ ue({
3908
3908
  name: "Input",
3909
3909
  inheritAttrs: !1,
3910
3910
  __name: "Input",
@@ -3926,9 +3926,9 @@ const Os = () => (Hn || (Hn = Wi({
3926
3926
  },
3927
3927
  emits: ["update:modelValue", "input", "change", "focus", "blur", "clear"],
3928
3928
  setup(e, { expose: t, emit: n }) {
3929
- const a = e, r = n, s = (S) => {
3930
- if (S === "" || S === null || S === void 0) return "";
3931
- const A = String(S).trim();
3929
+ const a = e, r = n, s = (k) => {
3930
+ if (k === "" || k === null || k === void 0) return "";
3931
+ const A = String(k).trim();
3932
3932
  if (A === "") return "";
3933
3933
  const R = Number(A.replace(/,/g, ""));
3934
3934
  if (!Number.isNaN(R) && R < 0) return Math.abs(R);
@@ -3936,40 +3936,40 @@ const Os = () => (Hn || (Hn = Wi({
3936
3936
  const V = A.replace(/^-+/, "");
3937
3937
  return V === "" ? "" : V;
3938
3938
  }
3939
- return S;
3939
+ return k;
3940
3940
  }, o = I(() => {
3941
- const S = a.decimals;
3942
- return S === void 0 || !Number.isFinite(S) ? null : Math.max(0, Math.floor(S));
3943
- }), l = I(() => a.type === "number" && o.value !== null), i = I(() => l.value ? "text" : a.type), f = I(() => l.value ? "decimal" : void 0), m = (S) => S.replace(/[,,。.]/g, "."), v = (S) => {
3944
- if (S === "" || S === null || S === void 0) return "";
3945
- let A = m(String(S).trim());
3941
+ const k = a.decimals;
3942
+ return k === void 0 || !Number.isFinite(k) ? null : Math.max(0, Math.floor(k));
3943
+ }), l = I(() => a.type === "number" && o.value !== null), i = I(() => l.value ? "text" : a.type), f = I(() => l.value ? "decimal" : void 0), m = (k) => k.replace(/[,,。.]/g, "."), v = (k) => {
3944
+ if (k === "" || k === null || k === void 0) return "";
3945
+ let A = m(String(k).trim());
3946
3946
  if (A === "") return "";
3947
3947
  let R = !1;
3948
3948
  !a.nonNegative && A.startsWith("-") && (R = !0, A = A.slice(1)), A = A.replace(/[^\d.]/g, "");
3949
3949
  const V = A.indexOf(".");
3950
3950
  return V !== -1 && (A = A.slice(0, V + 1) + A.slice(V + 1).replace(/\./g, "")), (R ? "-" : "") + A;
3951
- }, p = (S) => {
3951
+ }, p = (k) => {
3952
3952
  const A = o.value;
3953
- if (A === null) return S;
3954
- if (S === "" || S === null || S === void 0) return "";
3955
- const R = String(S).trim();
3953
+ if (A === null) return k;
3954
+ if (k === "" || k === null || k === void 0) return "";
3955
+ const R = String(k).trim();
3956
3956
  if (R === "") return "";
3957
3957
  const V = R.startsWith("-");
3958
3958
  let j = V ? R.slice(1) : R;
3959
- const Z = j.indexOf(".");
3960
- if (Z === -1) return S;
3961
- const oe = j.slice(0, Z), _e = j.slice(Z + 1);
3962
- return A === 0 ? (V ? "-" : "") + oe : _e.length <= A ? S : (V ? "-" : "") + oe + "." + _e.slice(0, A);
3963
- }, g = (S) => {
3964
- let A = S;
3959
+ const ee = j.indexOf(".");
3960
+ if (ee === -1) return k;
3961
+ const le = j.slice(0, ee), _e = j.slice(ee + 1);
3962
+ return A === 0 ? (V ? "-" : "") + le : _e.length <= A ? k : (V ? "-" : "") + le + "." + _e.slice(0, A);
3963
+ }, g = (k) => {
3964
+ let A = k;
3965
3965
  return l.value && (A = v(A)), a.nonNegative && (A = s(A)), o.value !== null && (A = p(A)), A;
3966
3966
  }, E = z(
3967
3967
  a.type === "number" ? g(a.modelValue) : a.modelValue
3968
3968
  );
3969
3969
  ye(
3970
3970
  () => a.modelValue,
3971
- (S) => {
3972
- E.value = a.type === "number" ? g(S) : S;
3971
+ (k) => {
3972
+ E.value = a.type === "number" ? g(k) : k;
3973
3973
  }
3974
3974
  );
3975
3975
  const N = z(), L = z(0), d = z(!1);
@@ -3978,78 +3978,78 @@ const Os = () => (Hn || (Hn = Wi({
3978
3978
  await dt(), N.value?.focus();
3979
3979
  }, h = async () => {
3980
3980
  if (a.type === "number") {
3981
- const S = g(E.value);
3982
- S !== E.value && (E.value = S);
3981
+ const k = g(E.value);
3982
+ k !== E.value && (E.value = k);
3983
3983
  }
3984
3984
  r("update:modelValue", E.value), r("input", E.value), await dt(), G();
3985
- }, k = () => {
3985
+ }, S = () => {
3986
3986
  r("change", E.value);
3987
- }, T = (S) => {
3988
- d.value = !0, r("focus", S);
3989
- }, y = (S) => {
3990
- d.value = !1, r("blur", S);
3987
+ }, T = (k) => {
3988
+ d.value = !0, r("focus", k);
3989
+ }, y = (k) => {
3990
+ d.value = !1, r("blur", k);
3991
3991
  }, W = I(() => a.clearable && !a.disabled && !!E.value && d.value), B = () => {
3992
3992
  E.value = "", r("update:modelValue", ""), r("clear"), r("input", ""), r("change", "");
3993
3993
  }, G = () => {
3994
3994
  _ && cancelAnimationFrame(_), _ = requestAnimationFrame(() => {
3995
3995
  if (!N.value || N.value.tagName !== "INPUT") return;
3996
- const S = N.value, A = S.value, R = document.createElement("span");
3997
- R.style.position = "absolute", R.style.visibility = "hidden", R.style.whiteSpace = "pre", R.style.font = window.getComputedStyle(S).font, R.style.letterSpacing = window.getComputedStyle(S).letterSpacing, R.textContent = A || " ", document.body.appendChild(R), L.value = R.getBoundingClientRect().width, document.body.removeChild(R);
3996
+ const k = N.value, A = k.value, R = document.createElement("span");
3997
+ R.style.position = "absolute", R.style.visibility = "hidden", R.style.whiteSpace = "pre", R.style.font = window.getComputedStyle(k).font, R.style.letterSpacing = window.getComputedStyle(k).letterSpacing, R.textContent = A || " ", document.body.appendChild(R), L.value = R.getBoundingClientRect().width, document.body.removeChild(R);
3998
3998
  });
3999
3999
  }, H = I(() => {
4000
- const S = {};
4001
- return L.value > 0 && (S.position = "absolute", S.left = `${L.value + 16}px`), S;
4000
+ const k = {};
4001
+ return L.value > 0 && (k.position = "absolute", k.left = `${L.value + 16}px`), k;
4002
4002
  }), Y = async () => {
4003
4003
  try {
4004
4004
  E.value = await navigator.clipboard.readText(), r("update:modelValue", E.value);
4005
- } catch (S) {
4006
- console.error("paste error:", S);
4005
+ } catch (k) {
4006
+ console.error("paste error:", k);
4007
4007
  }
4008
- }, U = I(() => a.type === "number" && a.nonNegative ? 0 : void 0), q = (S) => S === "." || S === "," || S === "," || S === "。" || S === "." || S === "Decimal", he = (S) => {
4009
- if (a.type !== "number" || S.isComposing) return;
4008
+ }, U = I(() => a.type === "number" && a.nonNegative ? 0 : void 0), q = (k) => k === "." || k === "," || k === "," || k === "。" || k === "." || k === "Decimal", he = (k) => {
4009
+ if (a.type !== "number" || k.isComposing) return;
4010
4010
  const A = o.value;
4011
- if ((a.nonNegative || A !== null) && (S.key === "e" || S.key === "E")) {
4012
- S.preventDefault();
4011
+ if ((a.nonNegative || A !== null) && (k.key === "e" || k.key === "E")) {
4012
+ k.preventDefault();
4013
4013
  return;
4014
4014
  }
4015
- if (a.nonNegative && (S.key === "-" || S.key === "+")) {
4016
- S.preventDefault();
4015
+ if (a.nonNegative && (k.key === "-" || k.key === "+")) {
4016
+ k.preventDefault();
4017
4017
  return;
4018
4018
  }
4019
- if (A === 0 && q(S.key)) {
4020
- S.preventDefault();
4019
+ if (A === 0 && q(k.key)) {
4020
+ k.preventDefault();
4021
4021
  return;
4022
4022
  }
4023
- if (A !== null && A > 0 && q(S.key)) {
4024
- const R = S.target;
4025
- m(R.value).includes(".") && S.preventDefault();
4023
+ if (A !== null && A > 0 && q(k.key)) {
4024
+ const R = k.target;
4025
+ m(R.value).includes(".") && k.preventDefault();
4026
4026
  return;
4027
4027
  }
4028
- if (A !== null && A > 0 && S.key !== "." && /^\d$/.test(S.key)) {
4029
- const R = S.target, V = m(R.value), j = R.selectionStart, Z = R.selectionEnd;
4030
- if (j === null || Z === null) return;
4031
- const oe = V.slice(0, j) + S.key + V.slice(Z), _e = oe.indexOf(".");
4032
- _e !== -1 && oe.slice(_e + 1).replace(/\D/g, "").length > A && S.preventDefault();
4028
+ if (A !== null && A > 0 && k.key !== "." && /^\d$/.test(k.key)) {
4029
+ const R = k.target, V = m(R.value), j = R.selectionStart, ee = R.selectionEnd;
4030
+ if (j === null || ee === null) return;
4031
+ const le = V.slice(0, j) + k.key + V.slice(ee), _e = le.indexOf(".");
4032
+ _e !== -1 && le.slice(_e + 1).replace(/\D/g, "").length > A && k.preventDefault();
4033
4033
  }
4034
4034
  };
4035
4035
  return t({
4036
4036
  focus: O,
4037
4037
  updateTextWidth: G
4038
- }), (S, A) => e.type !== "textarea" ? (w(), x("div", {
4038
+ }), (k, A) => e.type !== "textarea" ? (w(), x("div", {
4039
4039
  key: 0,
4040
- class: te(["cregis-input", {
4040
+ class: Z(["cregis-input", {
4041
4041
  [`cregis-input--${e.size}`]: e.size,
4042
4042
  "is-disabled": e.disabled,
4043
- "is-prefix": S.$slots.prefix,
4044
- "is-suffix": S.$slots.suffix
4043
+ "is-prefix": k.$slots.prefix,
4044
+ "is-suffix": k.$slots.suffix
4045
4045
  }]),
4046
- style: ie([{ width: e.width }, e.inputStyle])
4046
+ style: ce([{ width: e.width }, e.inputStyle])
4047
4047
  }, [
4048
4048
  F("div", {
4049
- class: te(["cregis-input__wrapper", { "is-focus": d.value }])
4049
+ class: Z(["cregis-input__wrapper", { "is-focus": d.value }])
4050
4050
  }, [
4051
- S.$slots.prefix ? (w(), x("span", rc, [
4052
- de(S.$slots, "prefix")
4051
+ k.$slots.prefix ? (w(), x("span", rc, [
4052
+ de(k.$slots, "prefix")
4053
4053
  ])) : X("", !0),
4054
4054
  Ut(F("input", gt({
4055
4055
  class: "cregis-input__inner",
@@ -4058,13 +4058,13 @@ const Os = () => (Hn || (Hn = Wi({
4058
4058
  ref: N,
4059
4059
  type: i.value,
4060
4060
  inputmode: f.value,
4061
- placeholder: e.placeholder || ee(ke)("input.placeholder")
4062
- }, S.$attrs, {
4061
+ placeholder: e.placeholder || te(Se)("input.placeholder")
4062
+ }, k.$attrs, {
4063
4063
  min: U.value,
4064
4064
  spellcheck: "false",
4065
4065
  disabled: e.disabled,
4066
4066
  onInput: h,
4067
- onChange: k,
4067
+ onChange: S,
4068
4068
  onFocus: T,
4069
4069
  onBlur: y,
4070
4070
  onKeydown: he
@@ -4073,14 +4073,14 @@ const Os = () => (Hn || (Hn = Wi({
4073
4073
  ]),
4074
4074
  e.unit && E.value ? (w(), x("span", {
4075
4075
  key: 1,
4076
- style: ie(H.value),
4076
+ style: ce(H.value),
4077
4077
  class: "cregis-input__unit"
4078
4078
  }, J(e.unit), 5)) : X("", !0),
4079
- S.$slots.suffix || W.value ? (w(), x("span", sc, [
4080
- de(S.$slots, "suffix"),
4081
- W.value ? (w(), Te(Ft, {
4079
+ k.$slots.suffix || W.value ? (w(), x("span", sc, [
4080
+ de(k.$slots, "suffix"),
4081
+ W.value ? (w(), Oe(Ft, {
4082
4082
  key: 0,
4083
- icon: ee(eo),
4083
+ icon: te(eo),
4084
4084
  "icon-type": "square",
4085
4085
  onClick: B,
4086
4086
  onMousedown: A[1] || (A[1] = Wt(() => {
@@ -4090,44 +4090,44 @@ const Os = () => (Hn || (Hn = Wi({
4090
4090
  ], 2)
4091
4091
  ], 6)) : (w(), x("div", {
4092
4092
  key: 1,
4093
- class: te(["cregis-textarea", { "is-disabled": e.disabled }]),
4094
- style: ie([{ width: e.width }, e.inputStyle])
4093
+ class: Z(["cregis-textarea", { "is-disabled": e.disabled }]),
4094
+ style: ce([{ width: e.width }, e.inputStyle])
4095
4095
  }, [
4096
- Ut(F("textarea", gt({ class: "cregis-textarea__wrapper" }, S.$attrs, {
4096
+ Ut(F("textarea", gt({ class: "cregis-textarea__wrapper" }, k.$attrs, {
4097
4097
  spellcheck: "false",
4098
4098
  ref_key: "inputRef",
4099
4099
  ref: N,
4100
4100
  disabled: e.disabled,
4101
- placeholder: e.placeholder || ee(ke)("input.placeholder"),
4101
+ placeholder: e.placeholder || te(Se)("input.placeholder"),
4102
4102
  rows: e.rows,
4103
4103
  "onUpdate:modelValue": A[2] || (A[2] = (R) => E.value = R),
4104
4104
  onInput: h,
4105
- onChange: k,
4105
+ onChange: S,
4106
4106
  onFocus: T,
4107
4107
  onBlur: y
4108
4108
  }), null, 16, oc), [
4109
4109
  [Zs, E.value]
4110
4110
  ]),
4111
4111
  e.disabled ? X("", !0) : (w(), x("div", lc, [
4112
- ue(Ft, {
4112
+ oe(Ft, {
4113
4113
  class: "cregis-textarea__button",
4114
4114
  link: "",
4115
4115
  size: "small",
4116
4116
  onClick: Y
4117
4117
  }, {
4118
- default: Oe(() => [
4118
+ default: Ne(() => [
4119
4119
  qe(J(e.pasteText), 1)
4120
4120
  ]),
4121
4121
  _: 1
4122
4122
  }),
4123
- ue(Ft, {
4123
+ oe(Ft, {
4124
4124
  class: "cregis-textarea__button",
4125
4125
  link: "",
4126
4126
  size: "small",
4127
4127
  disabled: !E.value,
4128
4128
  onClick: B
4129
4129
  }, {
4130
- default: Oe(() => [
4130
+ default: Ne(() => [
4131
4131
  qe(J(e.clearText), 1)
4132
4132
  ]),
4133
4133
  _: 1
@@ -4140,7 +4140,7 @@ const Os = () => (Hn || (Hn = Wi({
4140
4140
  "stroke-width": "1",
4141
4141
  fill: "none",
4142
4142
  "fill-rule": "evenodd"
4143
- }, uc = { transform: "translate(-394.000000, -457.000000)" }, dc = { transform: "translate(394.000000, 457.000000)" }, fc = ["width", "height"], mc = /* @__PURE__ */ ce({
4143
+ }, uc = { transform: "translate(-394.000000, -457.000000)" }, dc = { transform: "translate(394.000000, 457.000000)" }, fc = ["width", "height"], mc = /* @__PURE__ */ ue({
4144
4144
  __name: "checked-basis",
4145
4145
  props: {
4146
4146
  size: { default: "16px" }
@@ -4176,7 +4176,7 @@ const Os = () => (Hn || (Hn = Wi({
4176
4176
  }), pc = {
4177
4177
  key: 0,
4178
4178
  class: "cregis-checkbox--indeterminate"
4179
- }, Cr = /* @__PURE__ */ ce({
4179
+ }, Cr = /* @__PURE__ */ ue({
4180
4180
  name: "Checkbox",
4181
4181
  __name: "Checkbox",
4182
4182
  props: {
@@ -4201,21 +4201,21 @@ const Os = () => (Hn || (Hn = Wi({
4201
4201
  onClick: s
4202
4202
  }, [
4203
4203
  F("div", {
4204
- class: te(["cregis-checkbox", {
4204
+ class: Z(["cregis-checkbox", {
4205
4205
  "is-disabled": e.disabled,
4206
4206
  "is-checked": r.value,
4207
4207
  "is-circle": e.circle,
4208
4208
  "is-indeterminate": e.indeterminate
4209
4209
  }])
4210
4210
  }, [
4211
- e.indeterminate ? (w(), x("div", pc)) : (w(), Te(mc, {
4211
+ e.indeterminate ? (w(), x("div", pc)) : (w(), Oe(mc, {
4212
4212
  key: 1,
4213
4213
  size: "10px"
4214
4214
  }))
4215
4215
  ], 2),
4216
4216
  o.$slots.default || e.label ? (w(), x("span", {
4217
4217
  key: 0,
4218
- class: te(["cregis-checkbox__label", { "is-disabled": e.disabled }])
4218
+ class: Z(["cregis-checkbox__label", { "is-disabled": e.disabled }])
4219
4219
  }, [
4220
4220
  de(o.$slots, "default", {}, () => [
4221
4221
  qe(J(e.label), 1)
@@ -4223,7 +4223,7 @@ const Os = () => (Hn || (Hn = Wi({
4223
4223
  ], 2)) : X("", !0)
4224
4224
  ]));
4225
4225
  }
4226
- }), gf = /* @__PURE__ */ ce({
4226
+ }), gf = /* @__PURE__ */ ue({
4227
4227
  name: "Radio",
4228
4228
  __name: "Radio",
4229
4229
  props: {
@@ -4242,7 +4242,7 @@ const Os = () => (Hn || (Hn = Wi({
4242
4242
  onClick: s
4243
4243
  }, [
4244
4244
  F("div", {
4245
- class: te(["cregis-radio", {
4245
+ class: Z(["cregis-radio", {
4246
4246
  "is-disabled": e.disabled,
4247
4247
  "is-checked": r.value
4248
4248
  }])
@@ -4251,7 +4251,7 @@ const Os = () => (Hn || (Hn = Wi({
4251
4251
  ])], 2),
4252
4252
  o.$slots.default || e.label ? (w(), x("span", {
4253
4253
  key: 0,
4254
- class: te(["cregis-radio__label", { "is-disabled": e.disabled }])
4254
+ class: Z(["cregis-radio__label", { "is-disabled": e.disabled }])
4255
4255
  }, [
4256
4256
  de(o.$slots, "default", {}, () => [
4257
4257
  qe(J(e.label), 1)
@@ -4259,7 +4259,7 @@ const Os = () => (Hn || (Hn = Wi({
4259
4259
  ], 2)) : X("", !0)
4260
4260
  ]));
4261
4261
  }
4262
- }), hf = /* @__PURE__ */ ce({
4262
+ }), hf = /* @__PURE__ */ ue({
4263
4263
  name: "Divider",
4264
4264
  __name: "Divider",
4265
4265
  props: {
@@ -4291,13 +4291,13 @@ const Os = () => (Hn || (Hn = Wi({
4291
4291
  margin: n.value
4292
4292
  });
4293
4293
  return (r, s) => (w(), x("div", {
4294
- class: te(["cregis-divider", {
4294
+ class: Z(["cregis-divider", {
4295
4295
  [`cregis-divider--${e.direction}`]: e.direction
4296
4296
  }]),
4297
- style: ie(a.value)
4297
+ style: ce(a.value)
4298
4298
  }, null, 6));
4299
4299
  }
4300
- }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, _f = /* @__PURE__ */ ce({
4300
+ }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, _f = /* @__PURE__ */ ue({
4301
4301
  name: "Tabs",
4302
4302
  __name: "Tabs",
4303
4303
  props: {
@@ -4326,15 +4326,15 @@ const Os = () => (Hn || (Hn = Wi({
4326
4326
  registerTab: a,
4327
4327
  unregisterTab: r
4328
4328
  }), (o, l) => (w(), x("div", {
4329
- class: te(["cregis-tabs", {
4329
+ class: Z(["cregis-tabs", {
4330
4330
  [`cregis-tabs--${e.type}`]: e.type,
4331
4331
  [`cregis-tabs--${e.size}`]: e.size
4332
4332
  }])
4333
4333
  }, [
4334
4334
  (w(!0), x(Be, null, vt(n, (i) => (w(), x("div", {
4335
4335
  key: i.name,
4336
- class: te(["cregis-tabs__item", { "is-active": e.modelValue === i.name }]),
4337
- style: ie(s.value),
4336
+ class: Z(["cregis-tabs__item", { "is-active": e.modelValue === i.name }]),
4337
+ style: ce(s.value),
4338
4338
  onClick: (f) => o.$emit("update:modelValue", i.name)
4339
4339
  }, [
4340
4340
  F("span", null, J(i.label), 1)
@@ -4344,7 +4344,7 @@ const Os = () => (Hn || (Hn = Wi({
4344
4344
  ])
4345
4345
  ], 2));
4346
4346
  }
4347
- }), bf = /* @__PURE__ */ ce({
4347
+ }), bf = /* @__PURE__ */ ue({
4348
4348
  name: "TabPane",
4349
4349
  __name: "TabPane",
4350
4350
  props: {
@@ -4352,7 +4352,7 @@ const Os = () => (Hn || (Hn = Wi({
4352
4352
  name: {}
4353
4353
  },
4354
4354
  setup(e) {
4355
- const t = e, n = Sn(Cs);
4355
+ const t = e, n = In(Cs);
4356
4356
  if (!n) throw new Error("TabPane must be used within Tabs");
4357
4357
  return Dt(() => {
4358
4358
  n.registerTab({ label: t.label, name: t.name });
@@ -4370,7 +4370,7 @@ const Os = () => (Hn || (Hn = Wi({
4370
4370
  class: "cregis-message--success",
4371
4371
  role: "status",
4372
4372
  "aria-live": "polite"
4373
- }, _c = { class: "cregis-message__icon" }, bc = /* @__PURE__ */ ce({
4373
+ }, _c = { class: "cregis-message__icon" }, bc = /* @__PURE__ */ ue({
4374
4374
  name: "Message",
4375
4375
  __name: "Message",
4376
4376
  props: {
@@ -4394,22 +4394,22 @@ const Os = () => (Hn || (Hn = Wi({
4394
4394
  }), dt(() => {
4395
4395
  n.value = !0;
4396
4396
  }), (o, l) => (w(), x("div", {
4397
- class: te(["cregis-message__wrapper", { "cregis-message__wrapper--success": e.type === "success" }])
4397
+ class: Z(["cregis-message__wrapper", { "cregis-message__wrapper--success": e.type === "success" }])
4398
4398
  }, [
4399
- ue(In, {
4399
+ oe(pn, {
4400
4400
  name: "cregis-message",
4401
4401
  onAfterEnter: r,
4402
4402
  onAfterLeave: s
4403
4403
  }, {
4404
- default: Oe(() => [
4404
+ default: Ne(() => [
4405
4405
  n.value && e.type !== "success" ? (w(), x("div", {
4406
4406
  key: 0,
4407
- class: te(["cregis-message", { "cregis-message--danger": e.type === "danger" }]),
4407
+ class: Z(["cregis-message", { "cregis-message--danger": e.type === "danger" }]),
4408
4408
  role: "status",
4409
4409
  "aria-live": "polite"
4410
4410
  }, J(e.message), 3)) : n.value && e.type === "success" ? (w(), x("div", hc, [
4411
4411
  F("div", _c, [
4412
- ue(ee(Ma), {
4412
+ oe(te(Ma), {
4413
4413
  size: "16px",
4414
4414
  color: "var(--material-same-white-primary)"
4415
4415
  })
@@ -4452,7 +4452,7 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4452
4452
  class: "cregis-notification",
4453
4453
  role: "status",
4454
4454
  "aria-live": "polite"
4455
- }, Nc = { class: "cregis-notification__content" }, Oc = { class: "cregis-notification__title" }, Lc = { class: "cregis-notification__message" }, Cc = /* @__PURE__ */ ce({
4455
+ }, Nc = { class: "cregis-notification__content" }, Oc = { class: "cregis-notification__title" }, Lc = { class: "cregis-notification__message" }, Cc = /* @__PURE__ */ ue({
4456
4456
  name: "Notification",
4457
4457
  __name: "Notification",
4458
4458
  props: {
@@ -4472,13 +4472,13 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4472
4472
  }), dt(() => {
4473
4473
  n.value = !0;
4474
4474
  }), (s, o) => (w(), x("div", Ec, [
4475
- ue(In, {
4475
+ oe(pn, {
4476
4476
  name: "cregis-notification",
4477
4477
  onAfterLeave: r
4478
4478
  }, {
4479
- default: Oe(() => [
4479
+ default: Ne(() => [
4480
4480
  n.value ? (w(), x("div", Tc, [
4481
- (w(), Te(on(ee(to)), {
4481
+ (w(), Oe(on(te(to)), {
4482
4482
  size: "18px",
4483
4483
  color: "var(--material-danger-primary)"
4484
4484
  })),
@@ -4486,11 +4486,11 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4486
4486
  F("div", Oc, J(e.title), 1),
4487
4487
  F("div", Lc, J(e.message), 1)
4488
4488
  ]),
4489
- ue(Ft, {
4489
+ oe(Ft, {
4490
4490
  type: "sameWhite",
4491
4491
  onClick: a
4492
4492
  }, {
4493
- default: Oe(() => [
4493
+ default: Ne(() => [
4494
4494
  qe(J(e.btnText), 1)
4495
4495
  ]),
4496
4496
  _: 1
@@ -4521,10 +4521,10 @@ function yf(e) {
4521
4521
  s
4522
4522
  );
4523
4523
  }
4524
- const wc = { class: "cregis-progress__wrapper" }, kc = { class: "cregis-progress__track-wrap" }, Sc = { class: "cregis-progress cregis-progress--striped active" }, Ic = {
4524
+ const wc = { class: "cregis-progress__wrapper" }, Sc = { class: "cregis-progress__track-wrap" }, kc = { class: "cregis-progress cregis-progress--striped active" }, Ic = {
4525
4525
  key: 0,
4526
4526
  class: "cregis-progress__sliding-block"
4527
- }, Ef = /* @__PURE__ */ ce({
4527
+ }, Ef = /* @__PURE__ */ ue({
4528
4528
  name: "Progress",
4529
4529
  __name: "Progress",
4530
4530
  props: {
@@ -4541,17 +4541,17 @@ const wc = { class: "cregis-progress__wrapper" }, kc = { class: "cregis-progress
4541
4541
  "--cregis-progress-tip-left": `${n.value}%`
4542
4542
  })), s = I(() => `${Math.round(t.percentage)}%`);
4543
4543
  return (o, l) => (w(), x("div", wc, [
4544
- F("div", kc, [
4544
+ F("div", Sc, [
4545
4545
  e.showPercentage && !t.loading ? (w(), x("div", {
4546
4546
  key: 0,
4547
4547
  class: "cregis-progress__tip",
4548
- style: ie(r.value),
4548
+ style: ce(r.value),
4549
4549
  "aria-live": "polite"
4550
4550
  }, J(s.value), 5)) : X("", !0),
4551
- F("div", Sc, [
4551
+ F("div", kc, [
4552
4552
  F("div", {
4553
4553
  class: "cregis-progress__bar",
4554
- style: ie(a.value)
4554
+ style: ce(a.value)
4555
4555
  }, null, 4),
4556
4556
  t.loading ? (w(), x("div", Ic)) : X("", !0)
4557
4557
  ])
@@ -4559,9 +4559,9 @@ const wc = { class: "cregis-progress__wrapper" }, kc = { class: "cregis-progress
4559
4559
  ]));
4560
4560
  }
4561
4561
  });
4562
- var $e = "top", Ke = "bottom", Xe = "right", Me = "left", wr = "auto", pn = [$e, Ke, Xe, Me], Yt = "start", fn = "end", Ac = "clippingParents", ws = "viewport", Zt = "popper", Dc = "reference", Ea = /* @__PURE__ */ pn.reduce(function(e, t) {
4562
+ var $e = "top", Ke = "bottom", Xe = "right", Me = "left", wr = "auto", vn = [$e, Ke, Xe, Me], Yt = "start", fn = "end", Ac = "clippingParents", ws = "viewport", Zt = "popper", Dc = "reference", Ea = /* @__PURE__ */ vn.reduce(function(e, t) {
4563
4563
  return e.concat([t + "-" + Yt, t + "-" + fn]);
4564
- }, []), ks = /* @__PURE__ */ [].concat(pn, [wr]).reduce(function(e, t) {
4564
+ }, []), Ss = /* @__PURE__ */ [].concat(vn, [wr]).reduce(function(e, t) {
4565
4565
  return e.concat([t, t + "-" + Yt, t + "-" + fn]);
4566
4566
  }, []), xc = "beforeRead", Pc = "read", Rc = "afterRead", $c = "beforeMain", Mc = "main", Vc = "afterMain", Fc = "beforeWrite", Uc = "write", Wc = "afterWrite", Bc = [xc, Pc, Rc, $c, Mc, Vc, Fc, Uc, Wc];
4567
4567
  function st(e) {
@@ -4584,7 +4584,7 @@ function Ye(e) {
4584
4584
  var t = Fe(e).HTMLElement;
4585
4585
  return e instanceof t || e instanceof HTMLElement;
4586
4586
  }
4587
- function kr(e) {
4587
+ function Sr(e) {
4588
4588
  if (typeof ShadowRoot > "u")
4589
4589
  return !1;
4590
4590
  var t = Fe(e).ShadowRoot;
@@ -4635,21 +4635,21 @@ const zc = {
4635
4635
  function rt(e) {
4636
4636
  return e.split("-")[0];
4637
4637
  }
4638
- var Ct = Math.max, Ln = Math.min, Kt = Math.round;
4638
+ var Ct = Math.max, Cn = Math.min, Kt = Math.round;
4639
4639
  function or() {
4640
4640
  var e = navigator.userAgentData;
4641
4641
  return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
4642
4642
  return t.brand + "/" + t.version;
4643
4643
  }).join(" ") : navigator.userAgent;
4644
4644
  }
4645
- function Ss() {
4645
+ function ks() {
4646
4646
  return !/^((?!chrome|android).)*safari/i.test(or());
4647
4647
  }
4648
4648
  function Xt(e, t, n) {
4649
4649
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4650
4650
  var a = e.getBoundingClientRect(), r = 1, s = 1;
4651
4651
  t && Ye(e) && (r = e.offsetWidth > 0 && Kt(a.width) / e.offsetWidth || 1, s = e.offsetHeight > 0 && Kt(a.height) / e.offsetHeight || 1);
4652
- var o = At(e) ? Fe(e) : window, l = o.visualViewport, i = !Ss() && n, f = (a.left + (i && l ? l.offsetLeft : 0)) / r, m = (a.top + (i && l ? l.offsetTop : 0)) / s, v = a.width / r, p = a.height / s;
4652
+ var o = At(e) ? Fe(e) : window, l = o.visualViewport, i = !ks() && n, f = (a.left + (i && l ? l.offsetLeft : 0)) / r, m = (a.top + (i && l ? l.offsetTop : 0)) / s, v = a.width / r, p = a.height / s;
4653
4653
  return {
4654
4654
  width: v,
4655
4655
  height: p,
@@ -4661,7 +4661,7 @@ function Xt(e, t, n) {
4661
4661
  y: m
4662
4662
  };
4663
4663
  }
4664
- function Sr(e) {
4664
+ function kr(e) {
4665
4665
  var t = Xt(e), n = e.offsetWidth, a = e.offsetHeight;
4666
4666
  return Math.abs(t.width - n) <= 1 && (n = t.width), Math.abs(t.height - a) <= 1 && (a = t.height), {
4667
4667
  x: e.offsetLeft,
@@ -4674,7 +4674,7 @@ function Is(e, t) {
4674
4674
  var n = t.getRootNode && t.getRootNode();
4675
4675
  if (e.contains(t))
4676
4676
  return !0;
4677
- if (n && kr(n)) {
4677
+ if (n && Sr(n)) {
4678
4678
  var a = t;
4679
4679
  do {
4680
4680
  if (a && e.isSameNode(a))
@@ -4703,7 +4703,7 @@ function Rn(e) {
4703
4703
  // $FlowFixMe[prop-missing]
4704
4704
  e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
4705
4705
  e.parentNode || // DOM Element detected
4706
- (kr(e) ? e.host : null) || // ShadowRoot detected
4706
+ (Sr(e) ? e.host : null) || // ShadowRoot detected
4707
4707
  // $FlowFixMe[incompatible-call]: HTMLElement is a Node
4708
4708
  yt(e)
4709
4709
  );
@@ -4720,7 +4720,7 @@ function Yc(e) {
4720
4720
  return null;
4721
4721
  }
4722
4722
  var r = Rn(e);
4723
- for (kr(r) && (r = r.host); Ye(r) && ["html", "body"].indexOf(st(r)) < 0; ) {
4723
+ for (Sr(r) && (r = r.host); Ye(r) && ["html", "body"].indexOf(st(r)) < 0; ) {
4724
4724
  var s = mt(r);
4725
4725
  if (s.transform !== "none" || s.perspective !== "none" || s.contain === "paint" || ["transform", "perspective"].indexOf(s.willChange) !== -1 || t && s.willChange === "filter" || t && s.filter && s.filter !== "none")
4726
4726
  return r;
@@ -4728,7 +4728,7 @@ function Yc(e) {
4728
4728
  }
4729
4729
  return null;
4730
4730
  }
4731
- function vn(e) {
4731
+ function gn(e) {
4732
4732
  for (var t = Fe(e), n = Ta(e); n && Gc(n) && mt(n).position === "static"; )
4733
4733
  n = Ta(n);
4734
4734
  return n && (st(n) === "html" || st(n) === "body" && mt(n).position === "static") ? t : n || Yc(e) || t;
@@ -4737,7 +4737,7 @@ function Ir(e) {
4737
4737
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
4738
4738
  }
4739
4739
  function rn(e, t, n) {
4740
- return Ct(e, Ln(t, n));
4740
+ return Ct(e, Cn(t, n));
4741
4741
  }
4742
4742
  function Kc(e, t, n) {
4743
4743
  var a = rn(e, t, n);
@@ -4762,12 +4762,12 @@ function xs(e, t) {
4762
4762
  var Xc = function(t, n) {
4763
4763
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
4764
4764
  placement: n.placement
4765
- })) : t, Ds(typeof t != "number" ? t : xs(t, pn));
4765
+ })) : t, Ds(typeof t != "number" ? t : xs(t, vn));
4766
4766
  };
4767
4767
  function qc(e) {
4768
4768
  var t, n = e.state, a = e.name, r = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, l = rt(n.placement), i = Ir(l), f = [Me, Xe].indexOf(l) >= 0, m = f ? "height" : "width";
4769
4769
  if (!(!s || !o)) {
4770
- var v = Xc(r.padding, n), p = Sr(s), g = i === "y" ? $e : Me, E = i === "y" ? Ke : Xe, N = n.rects.reference[m] + n.rects.reference[i] - o[i] - n.rects.popper[m], L = o[i] - n.rects.reference[i], d = vn(s), _ = d ? i === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, O = N / 2 - L / 2, h = v[g], k = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + O, y = rn(h, T, k), W = i;
4770
+ var v = Xc(r.padding, n), p = kr(s), g = i === "y" ? $e : Me, E = i === "y" ? Ke : Xe, N = n.rects.reference[m] + n.rects.reference[i] - o[i] - n.rects.popper[m], L = o[i] - n.rects.reference[i], d = gn(s), _ = d ? i === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, O = N / 2 - L / 2, h = v[g], S = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + O, y = rn(h, T, S), W = i;
4771
4771
  n.modifiersData[a] = (t = {}, t[W] = y, t.centerOffset = y - T, t);
4772
4772
  }
4773
4773
  }
@@ -4809,12 +4809,12 @@ function Na(e) {
4809
4809
  y: N
4810
4810
  };
4811
4811
  g = L.x, N = L.y;
4812
- var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), O = Me, h = $e, k = window;
4812
+ var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), O = Me, h = $e, S = window;
4813
4813
  if (f) {
4814
- var T = vn(n), y = "clientHeight", W = "clientWidth";
4814
+ var T = gn(n), y = "clientHeight", W = "clientWidth";
4815
4815
  if (T === Fe(n) && (T = yt(n), mt(T).position !== "static" && l === "absolute" && (y = "scrollHeight", W = "scrollWidth")), T = T, r === $e || (r === Me || r === Xe) && s === fn) {
4816
4816
  h = Ke;
4817
- var B = v && T === k && k.visualViewport ? k.visualViewport.height : (
4817
+ var B = v && T === S && S.visualViewport ? S.visualViewport.height : (
4818
4818
  // $FlowFixMe[prop-missing]
4819
4819
  T[y]
4820
4820
  );
@@ -4822,7 +4822,7 @@ function Na(e) {
4822
4822
  }
4823
4823
  if (r === Me || (r === $e || r === Ke) && s === fn) {
4824
4824
  O = Xe;
4825
- var G = v && T === k && k.visualViewport ? k.visualViewport.width : (
4825
+ var G = v && T === S && S.visualViewport ? S.visualViewport.width : (
4826
4826
  // $FlowFixMe[prop-missing]
4827
4827
  T[W]
4828
4828
  );
@@ -4840,7 +4840,7 @@ function Na(e) {
4840
4840
  };
4841
4841
  if (g = Y.x, N = Y.y, i) {
4842
4842
  var U;
4843
- return Object.assign({}, H, (U = {}, U[h] = _ ? "0" : "", U[O] = d ? "0" : "", U.transform = (k.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + N + "px)" : "translate3d(" + g + "px, " + N + "px, 0)", U));
4843
+ return Object.assign({}, H, (U = {}, U[h] = _ ? "0" : "", U[O] = d ? "0" : "", U.transform = (S.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + N + "px)" : "translate3d(" + g + "px, " + N + "px, 0)", U));
4844
4844
  }
4845
4845
  return Object.assign({}, H, (t = {}, t[h] = _ ? N + "px" : "", t[O] = d ? g + "px" : "", t.transform = "", t));
4846
4846
  }
@@ -4874,17 +4874,17 @@ const nu = {
4874
4874
  fn: tu,
4875
4875
  data: {}
4876
4876
  };
4877
- var bn = {
4877
+ var yn = {
4878
4878
  passive: !0
4879
4879
  };
4880
4880
  function ru(e) {
4881
4881
  var t = e.state, n = e.instance, a = e.options, r = a.scroll, s = r === void 0 ? !0 : r, o = a.resize, l = o === void 0 ? !0 : o, i = Fe(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
4882
4882
  return s && f.forEach(function(m) {
4883
- m.addEventListener("scroll", n.update, bn);
4884
- }), l && i.addEventListener("resize", n.update, bn), function() {
4883
+ m.addEventListener("scroll", n.update, yn);
4884
+ }), l && i.addEventListener("resize", n.update, yn), function() {
4885
4885
  s && f.forEach(function(m) {
4886
- m.removeEventListener("scroll", n.update, bn);
4887
- }), l && i.removeEventListener("resize", n.update, bn);
4886
+ m.removeEventListener("scroll", n.update, yn);
4887
+ }), l && i.removeEventListener("resize", n.update, yn);
4888
4888
  };
4889
4889
  }
4890
4890
  const au = {
@@ -4902,7 +4902,7 @@ var su = {
4902
4902
  bottom: "top",
4903
4903
  top: "bottom"
4904
4904
  };
4905
- function Tn(e) {
4905
+ function Nn(e) {
4906
4906
  return e.replace(/left|right|bottom|top/g, function(t) {
4907
4907
  return su[t];
4908
4908
  });
@@ -4930,7 +4930,7 @@ function lu(e, t) {
4930
4930
  var n = Fe(e), a = yt(e), r = n.visualViewport, s = a.clientWidth, o = a.clientHeight, l = 0, i = 0;
4931
4931
  if (r) {
4932
4932
  s = r.width, o = r.height;
4933
- var f = Ss();
4933
+ var f = ks();
4934
4934
  (f || !f && t === "fixed") && (l = r.offsetLeft, i = r.offsetTop);
4935
4935
  }
4936
4936
  return {
@@ -4981,7 +4981,7 @@ function La(e, t, n) {
4981
4981
  return t === ws ? lr(lu(e, n)) : At(t) ? cu(t, n) : lr(iu(yt(e)));
4982
4982
  }
4983
4983
  function uu(e) {
4984
- var t = an(Rn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && Ye(e) ? vn(e) : e;
4984
+ var t = an(Rn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && Ye(e) ? gn(e) : e;
4985
4985
  return At(a) ? t.filter(function(r) {
4986
4986
  return At(r) && Is(r, a) && st(r) !== "body";
4987
4987
  }) : [];
@@ -4989,7 +4989,7 @@ function uu(e) {
4989
4989
  function du(e, t, n, a) {
4990
4990
  var r = t === "clippingParents" ? uu(e) : [].concat(t), s = [].concat(r, [n]), o = s[0], l = s.reduce(function(i, f) {
4991
4991
  var m = La(e, f, a);
4992
- return i.top = Ct(m.top, i.top), i.right = Ln(m.right, i.right), i.bottom = Ln(m.bottom, i.bottom), i.left = Ct(m.left, i.left), i;
4992
+ return i.top = Ct(m.top, i.top), i.right = Cn(m.right, i.right), i.bottom = Cn(m.bottom, i.bottom), i.left = Ct(m.left, i.left), i;
4993
4993
  }, La(e, o, a));
4994
4994
  return l.width = l.right - l.left, l.height = l.bottom - l.top, l.x = l.left, l.y = l.top, l;
4995
4995
  }
@@ -5042,15 +5042,15 @@ function Rs(e) {
5042
5042
  }
5043
5043
  function mn(e, t) {
5044
5044
  t === void 0 && (t = {});
5045
- var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Ac : l, f = n.rootBoundary, m = f === void 0 ? ws : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, L = N === void 0 ? 0 : N, d = Ds(typeof L != "number" ? L : xs(L, pn)), _ = p === Zt ? Dc : Zt, O = e.rects.popper, h = e.elements[E ? _ : p], k = du(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Rs({
5045
+ var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Ac : l, f = n.rootBoundary, m = f === void 0 ? ws : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, L = N === void 0 ? 0 : N, d = Ds(typeof L != "number" ? L : xs(L, vn)), _ = p === Zt ? Dc : Zt, O = e.rects.popper, h = e.elements[E ? _ : p], S = du(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Rs({
5046
5046
  reference: T,
5047
5047
  element: O,
5048
5048
  placement: r
5049
5049
  }), W = lr(Object.assign({}, O, y)), B = p === Zt ? W : T, G = {
5050
- top: k.top - B.top + d.top,
5051
- bottom: B.bottom - k.bottom + d.bottom,
5052
- left: k.left - B.left + d.left,
5053
- right: B.right - k.right + d.right
5050
+ top: S.top - B.top + d.top,
5051
+ bottom: B.bottom - S.bottom + d.bottom,
5052
+ left: S.left - B.left + d.left,
5053
+ right: B.right - S.right + d.right
5054
5054
  }, H = e.modifiersData.offset;
5055
5055
  if (p === Zt && H) {
5056
5056
  var Y = H[r];
@@ -5063,9 +5063,9 @@ function mn(e, t) {
5063
5063
  }
5064
5064
  function fu(e, t) {
5065
5065
  t === void 0 && (t = {});
5066
- var n = t, a = n.placement, r = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, f = i === void 0 ? ks : i, m = qt(a), v = m ? l ? Ea : Ea.filter(function(E) {
5066
+ var n = t, a = n.placement, r = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, f = i === void 0 ? Ss : i, m = qt(a), v = m ? l ? Ea : Ea.filter(function(E) {
5067
5067
  return qt(E) === m;
5068
- }) : pn, p = v.filter(function(E) {
5068
+ }) : vn, p = v.filter(function(E) {
5069
5069
  return f.indexOf(E) >= 0;
5070
5070
  });
5071
5071
  p.length === 0 && (p = v);
@@ -5084,32 +5084,32 @@ function fu(e, t) {
5084
5084
  function mu(e) {
5085
5085
  if (rt(e) === wr)
5086
5086
  return [];
5087
- var t = Tn(e);
5087
+ var t = Nn(e);
5088
5088
  return [Oa(e), t, Oa(t)];
5089
5089
  }
5090
5090
  function pu(e) {
5091
5091
  var t = e.state, n = e.options, a = e.name;
5092
5092
  if (!t.modifiersData[a]._skip) {
5093
- for (var r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, f = n.padding, m = n.boundary, v = n.rootBoundary, p = n.altBoundary, g = n.flipVariations, E = g === void 0 ? !0 : g, N = n.allowedAutoPlacements, L = t.options.placement, d = rt(L), _ = d === L, O = i || (_ || !E ? [Tn(L)] : mu(L)), h = [L].concat(O).reduce(function(Re, Se) {
5094
- return Re.concat(rt(Se) === wr ? fu(t, {
5095
- placement: Se,
5093
+ for (var r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !0 : o, i = n.fallbackPlacements, f = n.padding, m = n.boundary, v = n.rootBoundary, p = n.altBoundary, g = n.flipVariations, E = g === void 0 ? !0 : g, N = n.allowedAutoPlacements, L = t.options.placement, d = rt(L), _ = d === L, O = i || (_ || !E ? [Nn(L)] : mu(L)), h = [L].concat(O).reduce(function(Re, ke) {
5094
+ return Re.concat(rt(ke) === wr ? fu(t, {
5095
+ placement: ke,
5096
5096
  boundary: m,
5097
5097
  rootBoundary: v,
5098
5098
  padding: f,
5099
5099
  flipVariations: E,
5100
5100
  allowedAutoPlacements: N
5101
- }) : Se);
5102
- }, []), k = t.rects.reference, T = t.rects.popper, y = /* @__PURE__ */ new Map(), W = !0, B = h[0], G = 0; G < h.length; G++) {
5103
- var H = h[G], Y = rt(H), U = qt(H) === Yt, q = [$e, Ke].indexOf(Y) >= 0, he = q ? "width" : "height", S = mn(t, {
5101
+ }) : ke);
5102
+ }, []), S = t.rects.reference, T = t.rects.popper, y = /* @__PURE__ */ new Map(), W = !0, B = h[0], G = 0; G < h.length; G++) {
5103
+ var H = h[G], Y = rt(H), U = qt(H) === Yt, q = [$e, Ke].indexOf(Y) >= 0, he = q ? "width" : "height", k = mn(t, {
5104
5104
  placement: H,
5105
5105
  boundary: m,
5106
5106
  rootBoundary: v,
5107
5107
  altBoundary: p,
5108
5108
  padding: f
5109
5109
  }), A = q ? U ? Xe : Me : U ? Ke : $e;
5110
- k[he] > T[he] && (A = Tn(A));
5111
- var R = Tn(A), V = [];
5112
- if (s && V.push(S[Y] <= 0), l && V.push(S[A] <= 0, S[R] <= 0), V.every(function(Re) {
5110
+ S[he] > T[he] && (A = Nn(A));
5111
+ var R = Nn(A), V = [];
5112
+ if (s && V.push(k[Y] <= 0), l && V.push(k[A] <= 0, k[R] <= 0), V.every(function(Re) {
5113
5113
  return Re;
5114
5114
  })) {
5115
5115
  B = H, W = !1;
@@ -5118,18 +5118,18 @@ function pu(e) {
5118
5118
  y.set(H, V);
5119
5119
  }
5120
5120
  if (W)
5121
- for (var j = E ? 3 : 1, Z = function(Se) {
5121
+ for (var j = E ? 3 : 1, ee = function(ke) {
5122
5122
  var xe = h.find(function($) {
5123
5123
  var pe = y.get($);
5124
5124
  if (pe)
5125
- return pe.slice(0, Se).every(function(Ee) {
5125
+ return pe.slice(0, ke).every(function(Ee) {
5126
5126
  return Ee;
5127
5127
  });
5128
5128
  });
5129
5129
  if (xe)
5130
5130
  return B = xe, "break";
5131
- }, oe = j; oe > 0; oe--) {
5132
- var _e = Z(oe);
5131
+ }, le = j; le > 0; le--) {
5132
+ var _e = ee(le);
5133
5133
  if (_e === "break") break;
5134
5134
  }
5135
5135
  t.placement !== B && (t.modifiersData[a]._skip = !0, t.placement = B, t.reset = !0);
@@ -5197,7 +5197,7 @@ function _u(e, t, n) {
5197
5197
  };
5198
5198
  }
5199
5199
  function bu(e) {
5200
- var t = e.state, n = e.options, a = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, o = ks.reduce(function(m, v) {
5200
+ var t = e.state, n = e.options, a = e.name, r = n.offset, s = r === void 0 ? [0, 0] : r, o = Ss.reduce(function(m, v) {
5201
5201
  return m[v] = _u(v, t.rects, s), m;
5202
5202
  }, {}), l = o[t.placement], i = l.x, f = l.y;
5203
5203
  t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += i, t.modifiersData.popperOffsets.y += f), t.modifiersData[a] = o;
@@ -5233,7 +5233,7 @@ function Ou(e) {
5233
5233
  rootBoundary: f,
5234
5234
  padding: v,
5235
5235
  altBoundary: m
5236
- }), d = rt(t.placement), _ = qt(t.placement), O = !_, h = Ir(d), k = Nu(h), T = t.modifiersData.popperOffsets, y = t.rects.reference, W = t.rects.popper, B = typeof N == "function" ? N(Object.assign({}, t.rects, {
5236
+ }), d = rt(t.placement), _ = qt(t.placement), O = !_, h = Ir(d), S = Nu(h), T = t.modifiersData.popperOffsets, y = t.rects.reference, W = t.rects.popper, B = typeof N == "function" ? N(Object.assign({}, t.rects, {
5237
5237
  placement: t.placement
5238
5238
  })) : N, G = typeof B == "number" ? {
5239
5239
  mainAxis: B,
@@ -5247,15 +5247,15 @@ function Ou(e) {
5247
5247
  };
5248
5248
  if (T) {
5249
5249
  if (s) {
5250
- var U, q = h === "y" ? $e : Me, he = h === "y" ? Ke : Xe, S = h === "y" ? "height" : "width", A = T[h], R = A + L[q], V = A - L[he], j = g ? -W[S] / 2 : 0, Z = _ === Yt ? y[S] : W[S], oe = _ === Yt ? -W[S] : -y[S], _e = t.elements.arrow, Re = g && _e ? Sr(_e) : {
5250
+ var U, q = h === "y" ? $e : Me, he = h === "y" ? Ke : Xe, k = h === "y" ? "height" : "width", A = T[h], R = A + L[q], V = A - L[he], j = g ? -W[k] / 2 : 0, ee = _ === Yt ? y[k] : W[k], le = _ === Yt ? -W[k] : -y[k], _e = t.elements.arrow, Re = g && _e ? kr(_e) : {
5251
5251
  width: 0,
5252
5252
  height: 0
5253
- }, Se = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : As(), xe = Se[q], $ = Se[he], pe = rn(0, y[S], Re[S]), Ee = O ? y[S] / 2 - j - pe - xe - G.mainAxis : Z - pe - xe - G.mainAxis, Ie = O ? -y[S] / 2 + j + pe + $ + G.mainAxis : oe + pe + $ + G.mainAxis, lt = t.elements.arrow && vn(t.elements.arrow), Et = lt ? h === "y" ? lt.clientTop || 0 : lt.clientLeft || 0 : 0, Ze = (U = H?.[h]) != null ? U : 0, it = A + Ee - Ze - Et, Ue = A + Ie - Ze, et = rn(g ? Ln(R, it) : R, A, g ? Ct(V, Ue) : V);
5253
+ }, ke = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : As(), xe = ke[q], $ = ke[he], pe = rn(0, y[k], Re[k]), Ee = O ? y[k] / 2 - j - pe - xe - G.mainAxis : ee - pe - xe - G.mainAxis, Ie = O ? -y[k] / 2 + j + pe + $ + G.mainAxis : le + pe + $ + G.mainAxis, lt = t.elements.arrow && gn(t.elements.arrow), Et = lt ? h === "y" ? lt.clientTop || 0 : lt.clientLeft || 0 : 0, Ze = (U = H?.[h]) != null ? U : 0, it = A + Ee - Ze - Et, Ue = A + Ie - Ze, et = rn(g ? Cn(R, it) : R, A, g ? Ct(V, Ue) : V);
5254
5254
  T[h] = et, Y[h] = et - A;
5255
5255
  }
5256
5256
  if (l) {
5257
- var pt, c = h === "x" ? $e : Me, u = h === "x" ? Ke : Xe, b = T[k], P = k === "y" ? "height" : "width", Q = b + L[c], ve = b - L[u], ne = [$e, Me].indexOf(d) !== -1, C = (pt = H?.[k]) != null ? pt : 0, D = ne ? Q : b - y[P] - W[P] - C + G.altAxis, re = ne ? b + y[P] + W[P] - C - G.altAxis : ve, be = g && ne ? Kc(D, b, re) : rn(g ? D : Q, b, g ? re : ve);
5258
- T[k] = be, Y[k] = be - b;
5257
+ var pt, c = h === "x" ? $e : Me, u = h === "x" ? Ke : Xe, b = T[S], P = S === "y" ? "height" : "width", Q = b + L[c], ve = b - L[u], ne = [$e, Me].indexOf(d) !== -1, C = (pt = H?.[S]) != null ? pt : 0, D = ne ? Q : b - y[P] - W[P] - C + G.altAxis, re = ne ? b + y[P] + W[P] - C - G.altAxis : ve, be = g && ne ? Kc(D, b, re) : rn(g ? D : Q, b, g ? re : ve);
5258
+ T[S] = be, Y[S] = be - b;
5259
5259
  }
5260
5260
  t.modifiersData[a] = Y;
5261
5261
  }
@@ -5276,13 +5276,13 @@ function Cu(e) {
5276
5276
  function wu(e) {
5277
5277
  return e === Fe(e) || !Ye(e) ? Ar(e) : Cu(e);
5278
5278
  }
5279
- function ku(e) {
5279
+ function Su(e) {
5280
5280
  var t = e.getBoundingClientRect(), n = Kt(t.width) / e.offsetWidth || 1, a = Kt(t.height) / e.offsetHeight || 1;
5281
5281
  return n !== 1 || a !== 1;
5282
5282
  }
5283
- function Su(e, t, n) {
5283
+ function ku(e, t, n) {
5284
5284
  n === void 0 && (n = !1);
5285
- var a = Ye(t), r = Ye(t) && ku(t), s = yt(t), o = Xt(e, r, n), l = {
5285
+ var a = Ye(t), r = Ye(t) && Su(t), s = yt(t), o = Xt(e, r, n), l = {
5286
5286
  scrollLeft: 0,
5287
5287
  scrollTop: 0
5288
5288
  }, i = {
@@ -5346,12 +5346,12 @@ function xu(e) {
5346
5346
  return t[n];
5347
5347
  });
5348
5348
  }
5349
- var ka = {
5349
+ var Sa = {
5350
5350
  placement: "bottom",
5351
5351
  modifiers: [],
5352
5352
  strategy: "absolute"
5353
5353
  };
5354
- function Sa() {
5354
+ function ka() {
5355
5355
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
5356
5356
  t[n] = arguments[n];
5357
5357
  return !t.some(function(a) {
@@ -5360,13 +5360,13 @@ function Sa() {
5360
5360
  }
5361
5361
  function Pu(e) {
5362
5362
  e === void 0 && (e = {});
5363
- var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? ka : r;
5363
+ var t = e, n = t.defaultModifiers, a = n === void 0 ? [] : n, r = t.defaultOptions, s = r === void 0 ? Sa : r;
5364
5364
  return function(l, i, f) {
5365
5365
  f === void 0 && (f = s);
5366
5366
  var m = {
5367
5367
  placement: "bottom",
5368
5368
  orderedModifiers: [],
5369
- options: Object.assign({}, ka, s),
5369
+ options: Object.assign({}, Sa, s),
5370
5370
  modifiersData: {},
5371
5371
  elements: {
5372
5372
  reference: l,
@@ -5395,10 +5395,10 @@ function Pu(e) {
5395
5395
  forceUpdate: function() {
5396
5396
  if (!p) {
5397
5397
  var d = m.elements, _ = d.reference, O = d.popper;
5398
- if (Sa(_, O)) {
5398
+ if (ka(_, O)) {
5399
5399
  m.rects = {
5400
- reference: Su(_, vn(O), m.options.strategy === "fixed"),
5401
- popper: Sr(O)
5400
+ reference: ku(_, gn(O), m.options.strategy === "fixed"),
5401
+ popper: kr(O)
5402
5402
  }, m.reset = !1, m.placement = m.options.placement, m.orderedModifiers.forEach(function(G) {
5403
5403
  return m.modifiersData[G.name] = Object.assign({}, G.data);
5404
5404
  });
@@ -5407,7 +5407,7 @@ function Pu(e) {
5407
5407
  m.reset = !1, h = -1;
5408
5408
  continue;
5409
5409
  }
5410
- var k = m.orderedModifiers[h], T = k.fn, y = k.options, W = y === void 0 ? {} : y, B = k.name;
5410
+ var S = m.orderedModifiers[h], T = S.fn, y = S.options, W = y === void 0 ? {} : y, B = S.name;
5411
5411
  typeof T == "function" && (m = T({
5412
5412
  state: m,
5413
5413
  options: W,
@@ -5429,7 +5429,7 @@ function Pu(e) {
5429
5429
  N(), p = !0;
5430
5430
  }
5431
5431
  };
5432
- if (!Sa(l, i))
5432
+ if (!ka(l, i))
5433
5433
  return g;
5434
5434
  g.setOptions(f).then(function(L) {
5435
5435
  !p && f.onFirstUpdate && f.onFirstUpdate(L);
@@ -5438,14 +5438,14 @@ function Pu(e) {
5438
5438
  m.orderedModifiers.forEach(function(L) {
5439
5439
  var d = L.name, _ = L.options, O = _ === void 0 ? {} : _, h = L.effect;
5440
5440
  if (typeof h == "function") {
5441
- var k = h({
5441
+ var S = h({
5442
5442
  state: m,
5443
5443
  name: d,
5444
5444
  instance: g,
5445
5445
  options: O
5446
5446
  }), T = function() {
5447
5447
  };
5448
- v.push(k || T);
5448
+ v.push(S || T);
5449
5449
  }
5450
5450
  });
5451
5451
  }
@@ -5459,7 +5459,7 @@ function Pu(e) {
5459
5459
  }
5460
5460
  var Ru = [au, Tu, nu, zc, yu, vu, Lu, Jc, hu], $s = /* @__PURE__ */ Pu({
5461
5461
  defaultModifiers: Ru
5462
- }), $u = typeof global == "object" && global && global.Object === Object && global, Mu = typeof self == "object" && self && self.Object === Object && self, Ms = $u || Mu || Function("return this")(), Cn = Ms.Symbol, Vs = Object.prototype, Vu = Vs.hasOwnProperty, Fu = Vs.toString, en = Cn ? Cn.toStringTag : void 0;
5462
+ }), $u = typeof global == "object" && global && global.Object === Object && global, Mu = typeof self == "object" && self && self.Object === Object && self, Ms = $u || Mu || Function("return this")(), wn = Ms.Symbol, Vs = Object.prototype, Vu = Vs.hasOwnProperty, Fu = Vs.toString, en = wn ? wn.toStringTag : void 0;
5463
5463
  function Uu(e) {
5464
5464
  var t = Vu.call(e, en), n = e[en];
5465
5465
  try {
@@ -5474,7 +5474,7 @@ var Wu = Object.prototype, Bu = Wu.toString;
5474
5474
  function Hu(e) {
5475
5475
  return Bu.call(e);
5476
5476
  }
5477
- var ju = "[object Null]", zu = "[object Undefined]", Ia = Cn ? Cn.toStringTag : void 0;
5477
+ var ju = "[object Null]", zu = "[object Undefined]", Ia = wn ? wn.toStringTag : void 0;
5478
5478
  function Gu(e) {
5479
5479
  return e == null ? e === void 0 ? zu : ju : Ia && Ia in Object(e) ? Uu(e) : Hu(e);
5480
5480
  }
@@ -5495,7 +5495,7 @@ var Ju = /^\s+/;
5495
5495
  function Zu(e) {
5496
5496
  return e && e.slice(0, Qu(e) + 1).replace(Ju, "");
5497
5497
  }
5498
- function wn(e) {
5498
+ function Sn(e) {
5499
5499
  var t = typeof e;
5500
5500
  return e != null && (t == "object" || t == "function");
5501
5501
  }
@@ -5505,9 +5505,9 @@ function Da(e) {
5505
5505
  return e;
5506
5506
  if (Xu(e))
5507
5507
  return Aa;
5508
- if (wn(e)) {
5508
+ if (Sn(e)) {
5509
5509
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
5510
- e = wn(t) ? t + "" : t;
5510
+ e = Sn(t) ? t + "" : t;
5511
5511
  }
5512
5512
  if (typeof e != "string")
5513
5513
  return e === 0 ? e : +e;
@@ -5522,7 +5522,7 @@ function ir(e, t, n) {
5522
5522
  var a, r, s, o, l, i, f = 0, m = !1, v = !1, p = !0;
5523
5523
  if (typeof e != "function")
5524
5524
  throw new TypeError(ad);
5525
- t = Da(t) || 0, wn(n) && (m = !!n.leading, v = "maxWait" in n, s = v ? sd(Da(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
5525
+ t = Da(t) || 0, Sn(n) && (m = !!n.leading, v = "maxWait" in n, s = v ? sd(Da(n.maxWait) || 0, t) : s, p = "trailing" in n ? !!n.trailing : p);
5526
5526
  function g(T) {
5527
5527
  var y = a, W = r;
5528
5528
  return a = r = void 0, f = T, o = e.apply(W, y), o;
@@ -5553,7 +5553,7 @@ function ir(e, t, n) {
5553
5553
  function h() {
5554
5554
  return l === void 0 ? o : _(Gn());
5555
5555
  }
5556
- function k() {
5556
+ function S() {
5557
5557
  var T = Gn(), y = L(T);
5558
5558
  if (a = arguments, r = this, i = T, y) {
5559
5559
  if (l === void 0)
@@ -5563,14 +5563,14 @@ function ir(e, t, n) {
5563
5563
  }
5564
5564
  return l === void 0 && (l = setTimeout(d, t)), o;
5565
5565
  }
5566
- return k.cancel = O, k.flush = h, k;
5566
+ return S.cancel = O, S.flush = h, S;
5567
5567
  }
5568
5568
  var ld = "Expected a function";
5569
5569
  function id(e, t, n) {
5570
5570
  var a = !0, r = !0;
5571
5571
  if (typeof e != "function")
5572
5572
  throw new TypeError(ld);
5573
- return wn(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), ir(e, t, {
5573
+ return Sn(n) && (a = "leading" in n ? !!n.leading : a, r = "trailing" in n ? !!n.trailing : r), ir(e, t, {
5574
5574
  leading: a,
5575
5575
  maxWait: t,
5576
5576
  trailing: r
@@ -5583,7 +5583,7 @@ function Fs(e, t, n = {}) {
5583
5583
  return v ? v === p || v.contains(p) : !1;
5584
5584
  }
5585
5585
  function l(v, p) {
5586
- return v.some((g) => o(ee(g), p));
5586
+ return v.some((g) => o(te(g), p));
5587
5587
  }
5588
5588
  function i() {
5589
5589
  return Array.isArray(e) ? e : [e];
@@ -5606,10 +5606,10 @@ function Fs(e, t, n = {}) {
5606
5606
  document.removeEventListener("pointerdown", f, r), document.removeEventListener("click", m, r);
5607
5607
  });
5608
5608
  }
5609
- let Nn = 1e5;
5610
- const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5611
- Nn = e;
5612
- }, cd = 80, cr = /* @__PURE__ */ ce({
5609
+ let On = 1e5;
5610
+ const Us = () => (On = On + 1, On), Tf = (e) => {
5611
+ On = e;
5612
+ }, cd = 80, cr = /* @__PURE__ */ ue({
5613
5613
  name: "Popover",
5614
5614
  __name: "Popover",
5615
5615
  props: {
@@ -5659,9 +5659,9 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5659
5659
  ...r.popoverOptions
5660
5660
  })), h = () => {
5661
5661
  r.disabled || (a.value = !0, l("visible-change", !0));
5662
- }, k = () => {
5662
+ }, S = () => {
5663
5663
  a.value = !1, l("visible-change", !1);
5664
- }, T = ir(h, r.openDelay), y = ir(k, r.closeDelay), W = () => {
5664
+ }, T = ir(h, r.openDelay), y = ir(S, r.closeDelay), W = () => {
5665
5665
  r.disabled || (y.cancel(), T());
5666
5666
  }, B = () => {
5667
5667
  T.cancel(), y();
@@ -5721,29 +5721,29 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5721
5721
  class: "cregis-popover",
5722
5722
  ref_key: "popoverRef",
5723
5723
  ref: i
5724
- }, Mn(ee(p), !0)), [
5724
+ }, Mn(te(p), !0)), [
5725
5725
  F("div", gt({
5726
5726
  class: ["cregis-popover__trigger", { "cregis-popover__trigger--disabled": e.disabled }],
5727
5727
  ref_key: "popoverTriggerRef",
5728
5728
  ref: f
5729
- }, Mn(ee(g), !0)), [
5729
+ }, Mn(te(g), !0)), [
5730
5730
  de(U.$slots, "reference")
5731
5731
  ], 16),
5732
- (w(), Te(dr, {
5732
+ (w(), Oe(dr, {
5733
5733
  to: "body",
5734
5734
  disabled: !e.teleported
5735
5735
  }, [
5736
- ue(In, { name: "fade" }, {
5737
- default: Oe(() => [
5736
+ oe(pn, { name: "fade" }, {
5737
+ default: Ne(() => [
5738
5738
  s.value ? Ut((w(), x("div", gt({
5739
5739
  key: 0,
5740
5740
  class: ["cregis-popover__content", { "cregis-popover__content--hide-scrollbar": L.value }],
5741
5741
  ref_key: "popoverContentRef",
5742
5742
  ref: m,
5743
5743
  style: d.value
5744
- }, Mn(ee(E), !0), {
5744
+ }, Mn(te(E), !0), {
5745
5745
  onScroll: q[0] || (q[0] = //@ts-ignore
5746
- (...he) => ee(Y) && ee(Y)(...he))
5746
+ (...he) => te(Y) && te(Y)(...he))
5747
5747
  }), [
5748
5748
  de(U.$slots, "default")
5749
5749
  ], 16)), [
@@ -5767,7 +5767,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5767
5767
  }, pd = {
5768
5768
  key: 2,
5769
5769
  class: "cregis-select__dropdown-filter-empty"
5770
- }, vd = { class: "cregis-select__dropdown-content" }, Nf = /* @__PURE__ */ ce({
5770
+ }, vd = { class: "cregis-select__dropdown-content" }, Nf = /* @__PURE__ */ ue({
5771
5771
  name: "Select",
5772
5772
  __name: "Select",
5773
5773
  props: {
@@ -5817,13 +5817,13 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5817
5817
  }
5818
5818
  }
5819
5819
  );
5820
- const k = I(() => {
5820
+ const S = I(() => {
5821
5821
  if (n.multiple)
5822
5822
  return Array.isArray(n.modelValue) && n.modelValue.length > 0;
5823
5823
  const $ = n.modelValue;
5824
5824
  return $ != null && $ !== "";
5825
5825
  }), T = I(() => !n.multiple || !Array.isArray(n.modelValue) ? 0 : n.modelValue.length), y = I(() => {
5826
- if (!k.value) return "";
5826
+ if (!S.value) return "";
5827
5827
  if (n.multiple)
5828
5828
  return n.modelValue.map((Ee) => N[E(Ee)] ?? String(Ee)).join("、");
5829
5829
  const $ = n.modelValue;
@@ -5855,7 +5855,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5855
5855
  $ || (G.value = "", H.value = "", m());
5856
5856
  }
5857
5857
  );
5858
- const S = () => {
5858
+ const k = () => {
5859
5859
  i?.disconnect(), i = null, !(!v(n.triggerWidth) || !s.value) && (i = new ResizeObserver(() => {
5860
5860
  p();
5861
5861
  }), i.observe(s.value));
@@ -5864,12 +5864,12 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5864
5864
  () => n.triggerWidth,
5865
5865
  () => {
5866
5866
  v(n.triggerWidth) ? dt(() => {
5867
- p(), S();
5867
+ p(), k();
5868
5868
  }) : (l.value = void 0, i?.disconnect(), i = null);
5869
5869
  }
5870
5870
  ), Dt(() => {
5871
5871
  v(n.triggerWidth) && dt(() => {
5872
- p(), S();
5872
+ p(), k();
5873
5873
  });
5874
5874
  }), Je(() => {
5875
5875
  m(), i?.disconnect();
@@ -5892,88 +5892,88 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5892
5892
  if (n.popperWidth) return V(n.popperWidth);
5893
5893
  const $ = n.triggerWidth;
5894
5894
  return v($) ? l.value : typeof $ == "number" ? $ + 8 : `calc(${$} + 8px)`;
5895
- }), Z = I(() => {
5895
+ }), ee = I(() => {
5896
5896
  const $ = j.value;
5897
5897
  if (!($ == null || $ === ""))
5898
5898
  return typeof $ == "number" ? `${$ - 12}px` : `calc(${$} - 12px)`;
5899
- }), oe = I(() => n.align === "center" ? "bottom" : n.align === "left" ? "bottom-start" : "bottom-end"), _e = I(() => ({
5899
+ }), le = I(() => n.align === "center" ? "bottom" : n.align === "left" ? "bottom-start" : "bottom-end"), _e = I(() => ({
5900
5900
  width: V(n.triggerWidth)
5901
- })), Re = I(() => n.size === "large" ? "20px" : n.size === "medium" ? "14px" : "12px"), Se = z(0), xe = ($) => {
5902
- Se.value = $.scrollTop;
5901
+ })), Re = I(() => n.size === "large" ? "20px" : n.size === "medium" ? "14px" : "12px"), ke = z(0), xe = ($) => {
5902
+ ke.value = $.scrollTop;
5903
5903
  };
5904
5904
  return ($, pe) => (w(), x("div", {
5905
- class: te(["cregis-select", { "is-disabled": e.disabled, "is-percent-width": v(e.triggerWidth) }])
5905
+ class: Z(["cregis-select", { "is-disabled": e.disabled, "is-percent-width": v(e.triggerWidth) }])
5906
5906
  }, [
5907
- ue(cr, {
5907
+ oe(cr, {
5908
5908
  ref_key: "popoverRef",
5909
5909
  ref: r,
5910
5910
  "preserve-content-mount": "",
5911
5911
  "popper-width": j.value,
5912
- placement: oe.value,
5912
+ placement: le.value,
5913
5913
  disabled: !!e.disabled,
5914
5914
  padding: 0,
5915
5915
  "max-popper-height": e.maxPopperHeight,
5916
5916
  onVisibleChange: g,
5917
5917
  onScroll: xe
5918
5918
  }, {
5919
- reference: Oe(() => [
5919
+ reference: Ne(() => [
5920
5920
  F("div", {
5921
5921
  ref_key: "triggerRef",
5922
5922
  ref: s,
5923
- class: te(["cregis-select__trigger", { [`cregis-select__trigger--${e.size}`]: e.size, [`cregis-select__trigger--${e.type}`]: e.type }]),
5924
- style: ie(_e.value)
5923
+ class: Z(["cregis-select__trigger", { [`cregis-select__trigger--${e.size}`]: e.size, [`cregis-select__trigger--${e.type}`]: e.type }]),
5924
+ style: ce(_e.value)
5925
5925
  }, [
5926
5926
  F("div", {
5927
- class: te(["cregis-select__trigger-label", { "is-multiple": e.multiple }])
5927
+ class: Z(["cregis-select__trigger-label", { "is-multiple": e.multiple }])
5928
5928
  }, [
5929
- k.value ? de($.$slots, "label", {
5929
+ S.value ? de($.$slots, "label", {
5930
5930
  key: 0,
5931
5931
  modelValue: e.modelValue,
5932
5932
  displayText: y.value,
5933
5933
  selectedCount: T.value,
5934
5934
  placeholder: e.placeholder,
5935
- hasSelection: k.value
5935
+ hasSelection: S.value
5936
5936
  }, () => [
5937
5937
  F("p", ud, J(y.value), 1),
5938
5938
  e.multiple ? (w(), x("span", dd, J(T.value), 1)) : X("", !0)
5939
5939
  ]) : (w(), x("p", fd, J(e.placeholder), 1))
5940
5940
  ], 2),
5941
5941
  F("span", {
5942
- class: te(["cregis-select__icon", { "is-open": o.value }])
5942
+ class: Z(["cregis-select__icon", { "is-open": o.value }])
5943
5943
  }, [
5944
- ue(ee(fr), {
5944
+ oe(te(fr), {
5945
5945
  size: Re.value,
5946
5946
  color: e.disabled ? "var(--text-base-quaternary)" : "var(--material-base-secondary)"
5947
5947
  }, null, 8, ["size", "color"])
5948
5948
  ], 2)
5949
5949
  ], 6)
5950
5950
  ]),
5951
- default: Oe(() => [
5951
+ default: Ne(() => [
5952
5952
  F("div", {
5953
- class: te(["cregis-select__dropdown", { "is-empty": h.value }])
5953
+ class: Z(["cregis-select__dropdown", { "is-empty": h.value }])
5954
5954
  }, [
5955
- h.value ? (w(), x("p", md, J(e.noDataText || ee(ke)("select.noData")), 1)) : X("", !0),
5955
+ h.value ? (w(), x("p", md, J(e.noDataText || te(Se)("select.noData")), 1)) : X("", !0),
5956
5956
  e.filterable && !h.value ? (w(), x("div", {
5957
5957
  key: 1,
5958
- class: te(["cregis-select__dropdown-filter", { "backdrop-fixed-header": Se.value > 10 }])
5958
+ class: Z(["cregis-select__dropdown-filter", { "backdrop-fixed-header": ke.value > 10 }])
5959
5959
  }, [
5960
- ue(Ls, {
5960
+ oe(Ls, {
5961
5961
  modelValue: G.value,
5962
5962
  "onUpdate:modelValue": pe[0] || (pe[0] = (Ee) => G.value = Ee),
5963
- placeholder: e.searchText || ee(ke)("select.search"),
5964
- width: Z.value,
5963
+ placeholder: e.searchText || te(Se)("select.search"),
5964
+ width: ee.value,
5965
5965
  size: "small",
5966
5966
  clearable: "",
5967
5967
  onInput: A,
5968
5968
  onClear: R
5969
5969
  }, {
5970
- prefix: Oe(() => [
5971
- ue(ee(Va), { size: "14px" })
5970
+ prefix: Ne(() => [
5971
+ oe(te(Va), { size: "14px" })
5972
5972
  ]),
5973
5973
  _: 1
5974
5974
  }, 8, ["modelValue", "placeholder", "width"])
5975
5975
  ], 2)) : X("", !0),
5976
- q.value ? (w(), x("p", pd, J(e.noMatchText || ee(ke)("select.noMatch")), 1)) : X("", !0),
5976
+ q.value ? (w(), x("p", pd, J(e.noMatchText || te(Se)("select.noMatch")), 1)) : X("", !0),
5977
5977
  F("div", vd, [
5978
5978
  de($.$slots, "default")
5979
5979
  ])
@@ -5986,7 +5986,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5986
5986
  }), gd = ["aria-selected"], hd = {
5987
5987
  key: 1,
5988
5988
  class: "cregis-select__option-content"
5989
- }, Of = /* @__PURE__ */ ce({
5989
+ }, Of = /* @__PURE__ */ ue({
5990
5990
  name: "Option",
5991
5991
  __name: "Option",
5992
5992
  props: {
@@ -5996,7 +5996,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
5996
5996
  filterText: {}
5997
5997
  },
5998
5998
  setup(e) {
5999
- const t = e, n = Sn(Ws, null);
5999
+ const t = e, n = In(Ws, null);
6000
6000
  let a;
6001
6001
  const r = () => t.filterText ?? t.label, s = () => {
6002
6002
  a?.(), n && (a = n.registerOption(t.value, t.label, r()));
@@ -6011,7 +6011,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6011
6011
  return p ? r().toLowerCase().includes(p) : !0;
6012
6012
  });
6013
6013
  return (p, g) => Ut((w(), x("div", {
6014
- class: te(["cregis-select__option", {
6014
+ class: Z(["cregis-select__option", {
6015
6015
  "is-selected": l.value && !o.value,
6016
6016
  "is-disabled": e.disabled,
6017
6017
  "cregis-select__option--multiple": o.value
@@ -6020,10 +6020,10 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6020
6020
  "aria-selected": l.value,
6021
6021
  onClick: i
6022
6022
  }, [
6023
- o.value ? (w(), Te(Cr, {
6023
+ o.value ? (w(), Oe(Cr, {
6024
6024
  key: 0,
6025
6025
  "model-value": l.value,
6026
- disabled: e.disabled || !!ee(n)?.disabled.value,
6026
+ disabled: e.disabled || !!te(n)?.disabled.value,
6027
6027
  onClick: g[0] || (g[0] = Wt(() => {
6028
6028
  }, ["stop"])),
6029
6029
  "onUpdate:modelValue": f
@@ -6065,7 +6065,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6065
6065
  }, Ld = { class: "cregis-cascader__suboption-amount-container" }, Cd = {
6066
6066
  key: 0,
6067
6067
  class: "cregis-cascader__suboption-amount"
6068
- }, wd = { class: "cregis-cascader__suboption-panel" }, kd = ["onClick"], Sd = ["onClick"], Lf = /* @__PURE__ */ ce({
6068
+ }, wd = { class: "cregis-cascader__suboption-panel" }, Sd = ["onClick"], kd = ["onClick"], Lf = /* @__PURE__ */ ue({
6069
6069
  name: "Cascader",
6070
6070
  __name: "Cascader",
6071
6071
  props: {
@@ -6124,7 +6124,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6124
6124
  }, O = (c) => (c.filterText ?? c.label).toLowerCase(), h = (c) => {
6125
6125
  const u = N.value;
6126
6126
  return !u || O(c).includes(u) ? !0 : (c.children ?? []).some((P) => O(P).includes(u));
6127
- }, k = (c, u) => {
6127
+ }, S = (c, u) => {
6128
6128
  const b = N.value;
6129
6129
  return !b || O(c).includes(b) ? !0 : O(u).includes(b);
6130
6130
  }, T = I(() => n.options.filter((c) => h(c))), y = I(() => n.options.length === 0), W = I(() => (N.value, n.options.some((c) => h(c)))), B = I(
@@ -6180,13 +6180,13 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6180
6180
  H.value !== null && H.value.value !== c && (H.value = null);
6181
6181
  }
6182
6182
  );
6183
- const q = I(() => U.value.level > 0), he = I(() => U.value.label), S = I(() => n.modelValue), A = I(() => he.value), R = I(() => U.value.level), V = I(() => U.value.primary), j = I(() => U.value.sub), Z = (c) => (c.children?.length ?? 0) > 0, oe = (c) => n.modelValue === c, _e = (c) => {
6183
+ const q = I(() => U.value.level > 0), he = I(() => U.value.label), k = I(() => n.modelValue), A = I(() => he.value), R = I(() => U.value.level), V = I(() => U.value.primary), j = I(() => U.value.sub), ee = (c) => (c.children?.length ?? 0) > 0, le = (c) => n.modelValue === c, _e = (c) => {
6184
6184
  const u = n.modelValue;
6185
6185
  return u == null || u === "" ? !1 : (c.children ?? []).some((b) => b.value === u);
6186
6186
  }, Re = (c, u) => {
6187
6187
  n.disabled || c.disabled || u.disabled || (H.value = { value: u.value, label: u.label, level: 2, primary: c, sub: u }, a("update:modelValue", u.value), a("change", u.value), f(), r.value?.close());
6188
- }, Se = (c) => {
6189
- n.disabled || c.disabled || Z(c) || (H.value = { value: c.value, label: c.label, level: 1, primary: c }, a("update:modelValue", c.value), a("change", c.value), f(), r.value?.close());
6188
+ }, ke = (c) => {
6189
+ n.disabled || c.disabled || ee(c) || (H.value = { value: c.value, label: c.label, level: 1, primary: c }, a("update:modelValue", c.value), a("change", c.value), f(), r.value?.close());
6190
6190
  }, xe = (c) => typeof c == "number" ? `${c}px` : c, $ = I(() => {
6191
6191
  if (n.popperWidth !== void 0 && n.popperWidth !== null && n.popperWidth !== "")
6192
6192
  return xe(n.popperWidth);
@@ -6202,9 +6202,9 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6202
6202
  Ue.value = u.scrollTop;
6203
6203
  }, pt = [-16, -8];
6204
6204
  return (c, u) => (w(), x("div", {
6205
- class: te(["cregis-cascader", { "is-disabled": e.disabled }])
6205
+ class: Z(["cregis-cascader", { "is-disabled": e.disabled }])
6206
6206
  }, [
6207
- ue(cr, {
6207
+ oe(cr, {
6208
6208
  ref_key: "popoverRef",
6209
6209
  ref: r,
6210
6210
  "preserve-content-mount": "",
@@ -6215,10 +6215,10 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6215
6215
  padding: 0,
6216
6216
  onVisibleChange: G
6217
6217
  }, {
6218
- reference: Oe(() => [
6218
+ reference: Ne(() => [
6219
6219
  c.$slots.trigger ? de(c.$slots, "trigger", {
6220
6220
  key: 0,
6221
- modelValue: S.value,
6221
+ modelValue: k.value,
6222
6222
  selectedLabel: A.value,
6223
6223
  level: R.value,
6224
6224
  primaryOption: V.value,
@@ -6229,13 +6229,13 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6229
6229
  disabled: !!e.disabled
6230
6230
  }) : (w(), x("div", {
6231
6231
  key: 1,
6232
- class: te(["cregis-cascader__trigger", { [`cregis-cascader__trigger--${e.size}`]: e.size, [`cregis-cascader__trigger--${e.type}`]: e.type }]),
6233
- style: ie(Ze.value)
6232
+ class: Z(["cregis-cascader__trigger", { [`cregis-cascader__trigger--${e.size}`]: e.size, [`cregis-cascader__trigger--${e.type}`]: e.type }]),
6233
+ style: ce(Ze.value)
6234
6234
  }, [
6235
6235
  F("div", _d, [
6236
6236
  q.value ? de(c.$slots, "label", {
6237
6237
  key: 0,
6238
- modelValue: S.value,
6238
+ modelValue: k.value,
6239
6239
  selectedLabel: A.value,
6240
6240
  level: R.value,
6241
6241
  primaryOption: V.value,
@@ -6247,50 +6247,50 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6247
6247
  ]) : (w(), x("p", yd, J(e.placeholder), 1))
6248
6248
  ]),
6249
6249
  F("span", {
6250
- class: te(["cregis-cascader__icon", { "is-open": s.value }])
6250
+ class: Z(["cregis-cascader__icon", { "is-open": s.value }])
6251
6251
  }, [
6252
- ue(ee(fr), {
6252
+ oe(te(fr), {
6253
6253
  size: it.value,
6254
6254
  color: e.disabled ? "var(--text-base-quaternary)" : "var(--material-base-secondary)"
6255
6255
  }, null, 8, ["size", "color"])
6256
6256
  ], 2)
6257
6257
  ], 6))
6258
6258
  ]),
6259
- default: Oe(() => [
6259
+ default: Ne(() => [
6260
6260
  F("div", {
6261
- class: te(["cregis-cascader__dropdown", { "is-empty": y.value }]),
6262
- style: ie(Ie.value),
6261
+ class: Z(["cregis-cascader__dropdown", { "is-empty": y.value }]),
6262
+ style: ce(Ie.value),
6263
6263
  onScroll: et
6264
6264
  }, [
6265
- y.value ? (w(), x("p", Ed, J(e.noDataText || ee(ke)("cascader.noData")), 1)) : X("", !0),
6265
+ y.value ? (w(), x("p", Ed, J(e.noDataText || te(Se)("cascader.noData")), 1)) : X("", !0),
6266
6266
  e.filterable && !y.value ? (w(), x("div", {
6267
6267
  key: 1,
6268
- class: te(["cregis-cascader__dropdown-filter", { "backdrop-fixed-header": Ue.value > 10 }])
6268
+ class: Z(["cregis-cascader__dropdown-filter", { "backdrop-fixed-header": Ue.value > 10 }])
6269
6269
  }, [
6270
- ue(Ls, {
6270
+ oe(Ls, {
6271
6271
  modelValue: g.value,
6272
6272
  "onUpdate:modelValue": u[0] || (u[0] = (b) => g.value = b),
6273
- placeholder: e.searchText || ee(ke)("select.search"),
6273
+ placeholder: e.searchText || te(Se)("select.search"),
6274
6274
  width: Ee.value,
6275
6275
  size: "small",
6276
6276
  clearable: "",
6277
6277
  onInput: d,
6278
6278
  onClear: _
6279
6279
  }, {
6280
- prefix: Oe(() => [
6281
- ue(ee(Va), { size: "14px" })
6280
+ prefix: Ne(() => [
6281
+ oe(te(Va), { size: "14px" })
6282
6282
  ]),
6283
6283
  _: 1
6284
6284
  }, 8, ["modelValue", "placeholder", "width"])
6285
6285
  ], 2)) : X("", !0),
6286
- B.value ? (w(), x("p", Td, J(e.noMatchText || ee(ke)("cascader.noMatch")), 1)) : X("", !0),
6286
+ B.value ? (w(), x("p", Td, J(e.noMatchText || te(Se)("cascader.noMatch")), 1)) : X("", !0),
6287
6287
  F("ul", Nd, [
6288
6288
  (w(!0), x(Be, null, vt(T.value, (b, P) => (w(), x("li", {
6289
6289
  key: b.value,
6290
- class: te(["cregis-cascader__dropdown-item", { "is-disabled": b.disabled, "is-sub-open": o.value === b.value }])
6290
+ class: Z(["cregis-cascader__dropdown-item", { "is-disabled": b.disabled, "is-sub-open": o.value === b.value }])
6291
6291
  }, [
6292
- Z(b) ? (w(), x("div", Od, [
6293
- ue(cr, {
6292
+ ee(b) ? (w(), x("div", Od, [
6293
+ oe(cr, {
6294
6294
  ref_for: !0,
6295
6295
  ref: (Q) => i(b.value, Q),
6296
6296
  trigger: "hover",
@@ -6302,15 +6302,15 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6302
6302
  disabled: !!b.disabled || !!e.disabled,
6303
6303
  onVisibleChange: (Q) => m(b.value, Q)
6304
6304
  }, {
6305
- reference: Oe(() => [
6305
+ reference: Ne(() => [
6306
6306
  F("div", {
6307
- class: te(["cregis-cascader__suboption-trigger", {
6307
+ class: Z(["cregis-cascader__suboption-trigger", {
6308
6308
  "is-disabled": b.disabled,
6309
6309
  "is-parent-active": _e(b)
6310
6310
  }])
6311
6311
  }, [
6312
6312
  de(c.$slots, "option", {
6313
- modelValue: S.value,
6313
+ modelValue: k.value,
6314
6314
  selectedLabel: A.value,
6315
6315
  level: R.value,
6316
6316
  primaryOption: V.value,
@@ -6318,33 +6318,33 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6318
6318
  option: b,
6319
6319
  index: P,
6320
6320
  disabled: !!b.disabled,
6321
- selected: oe(b.value),
6321
+ selected: le(b.value),
6322
6322
  isParentOfSelected: _e(b)
6323
6323
  }, () => [
6324
6324
  F("p", null, J(b.label), 1)
6325
6325
  ]),
6326
6326
  F("div", Ld, [
6327
6327
  e.showSubOptionAmount ? (w(), x("div", Cd, J(b.children.length), 1)) : X("", !0),
6328
- ue(ee(no), {
6328
+ oe(te(no), {
6329
6329
  size: "14px",
6330
6330
  color: "currentColor"
6331
6331
  })
6332
6332
  ])
6333
6333
  ], 2)
6334
6334
  ]),
6335
- default: Oe(() => [
6335
+ default: Ne(() => [
6336
6336
  F("div", wd, [
6337
6337
  (w(!0), x(Be, null, vt(b.children, (Q, ve) => Ut((w(), x("div", {
6338
6338
  key: Q.value,
6339
- class: te(["cregis-cascader__suboption-row", {
6340
- "is-active": oe(Q.value),
6339
+ class: Z(["cregis-cascader__suboption-row", {
6340
+ "is-active": le(Q.value),
6341
6341
  "is-disabled": Q.disabled
6342
6342
  }]),
6343
6343
  role: "menuitem",
6344
6344
  onClick: (ne) => Re(b, Q)
6345
6345
  }, [
6346
6346
  de(c.$slots, "subOption", {
6347
- modelValue: S.value,
6347
+ modelValue: k.value,
6348
6348
  selectedLabel: A.value,
6349
6349
  level: R.value,
6350
6350
  primaryOption: V.value,
@@ -6353,13 +6353,13 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6353
6353
  index: ve,
6354
6354
  parent: b,
6355
6355
  parentIndex: P,
6356
- selected: oe(Q.value),
6356
+ selected: le(Q.value),
6357
6357
  disabled: !!Q.disabled
6358
6358
  }, () => [
6359
6359
  qe(J(Q.label), 1)
6360
6360
  ])
6361
- ], 10, kd)), [
6362
- [An, k(b, Q)]
6361
+ ], 10, Sd)), [
6362
+ [An, S(b, Q)]
6363
6363
  ])), 128))
6364
6364
  ])
6365
6365
  ]),
@@ -6368,10 +6368,10 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6368
6368
  ])) : (w(), x("div", {
6369
6369
  key: 1,
6370
6370
  class: "cregis-cascader__leaf-only",
6371
- onClick: (Q) => Se(b)
6371
+ onClick: (Q) => ke(b)
6372
6372
  }, [
6373
6373
  de(c.$slots, "option", {
6374
- modelValue: S.value,
6374
+ modelValue: k.value,
6375
6375
  selectedLabel: A.value,
6376
6376
  level: R.value,
6377
6377
  primaryOption: V.value,
@@ -6379,12 +6379,12 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6379
6379
  option: b,
6380
6380
  index: P,
6381
6381
  disabled: !!b.disabled,
6382
- selected: oe(b.value),
6382
+ selected: le(b.value),
6383
6383
  isParentOfSelected: !1
6384
6384
  }, () => [
6385
6385
  F("p", null, J(b.label), 1)
6386
6386
  ])
6387
- ], 8, Sd))
6387
+ ], 8, kd))
6388
6388
  ], 2))), 128))
6389
6389
  ])
6390
6390
  ], 38)
@@ -6393,7 +6393,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6393
6393
  }, 8, ["popper-width", "placement", "offset", "disabled"])
6394
6394
  ], 2));
6395
6395
  }
6396
- }), Cf = /* @__PURE__ */ ce({
6396
+ }), Cf = /* @__PURE__ */ ue({
6397
6397
  name: "Tag",
6398
6398
  __name: "Tag",
6399
6399
  props: {
@@ -6403,14 +6403,14 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6403
6403
  },
6404
6404
  setup(e) {
6405
6405
  return (t, n) => (w(), x("div", {
6406
- class: te(["cregis-tag", [`cregis-tag--${e.type}`, `cregis-tag--${e.size}`]])
6406
+ class: Z(["cregis-tag", [`cregis-tag--${e.type}`, `cregis-tag--${e.size}`]])
6407
6407
  }, [
6408
6408
  de(t.$slots, "default", {}, () => [
6409
6409
  qe(J(e.text), 1)
6410
6410
  ])
6411
6411
  ], 2));
6412
6412
  }
6413
- }), wf = /* @__PURE__ */ ce({
6413
+ }), wf = /* @__PURE__ */ ue({
6414
6414
  name: "Switch",
6415
6415
  __name: "Switch",
6416
6416
  props: {
@@ -6444,7 +6444,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6444
6444
  a("change", l);
6445
6445
  }
6446
6446
  ), (l, i) => (w(), x("div", {
6447
- class: te(["cregis-switch", [
6447
+ class: Z(["cregis-switch", [
6448
6448
  `cregis-switch--${e.size}`,
6449
6449
  { "is-checked": s.value, "is-disabled": e.disabled || r.value }
6450
6450
  ]]),
@@ -6453,7 +6453,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6453
6453
  F("div", { class: "cregis-switch__circle" }, null, -1)
6454
6454
  ])], 2));
6455
6455
  }
6456
- }), Id = { class: "cregis-badge__wrapper" }, kf = /* @__PURE__ */ ce({
6456
+ }), Id = { class: "cregis-badge__wrapper" }, Sf = /* @__PURE__ */ ue({
6457
6457
  name: "Badge",
6458
6458
  __name: "Badge",
6459
6459
  props: {
@@ -6475,8 +6475,8 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6475
6475
  return (s, o) => (w(), x("div", Id, [
6476
6476
  e.hidden ? X("", !0) : (w(), x("div", {
6477
6477
  key: 0,
6478
- class: te(["cregis-badge", [`cregis-badge--${e.type}`, { "cregis-badge--dot": e.isDot }]]),
6479
- style: ie(r.value)
6478
+ class: Z(["cregis-badge", [`cregis-badge--${e.type}`, { "cregis-badge--dot": e.isDot }]]),
6479
+ style: ce(r.value)
6480
6480
  }, J(e.isDot ? "" : Number(e.value) > e.max ? `${e.max}+` : e.value), 7)),
6481
6481
  de(s.$slots, "default")
6482
6482
  ]));
@@ -6484,7 +6484,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6484
6484
  }), Ad = ["accept", "disabled"], Dd = ["src"], xd = {
6485
6485
  key: 3,
6486
6486
  class: "cregis-upload__mask"
6487
- }, Sf = /* @__PURE__ */ ce({
6487
+ }, kf = /* @__PURE__ */ ue({
6488
6488
  name: "Upload",
6489
6489
  __name: "Upload",
6490
6490
  props: {
@@ -6517,10 +6517,10 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6517
6517
  }, v = (d, _) => {
6518
6518
  const O = _.split(",").map((T) => T.trim()).filter(Boolean);
6519
6519
  if (!O.length) return !0;
6520
- const h = m(d.name), k = d.type.toLowerCase();
6520
+ const h = m(d.name), S = d.type.toLowerCase();
6521
6521
  return O.some((T) => {
6522
6522
  const y = T.toLowerCase();
6523
- return y.startsWith(".") ? h === y.slice(1) : y.includes("/") ? y.endsWith("/*") ? k.startsWith(y.slice(0, -1)) : k === y : h === y;
6523
+ return y.startsWith(".") ? h === y.slice(1) : y.includes("/") ? y.endsWith("/*") ? S.startsWith(y.slice(0, -1)) : S === y : h === y;
6524
6524
  });
6525
6525
  }, p = (d) => {
6526
6526
  d.value = "";
@@ -6530,11 +6530,11 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6530
6530
  const _ = d.target, O = _.files?.[0];
6531
6531
  if (!O) return;
6532
6532
  if (n.accept && !v(O, n.accept)) {
6533
- ya(n.exceedAcceptTip ?? ke("upload.formatError")), p(_);
6533
+ ya(n.exceedAcceptTip ?? Se("upload.formatError")), p(_);
6534
6534
  return;
6535
6535
  }
6536
6536
  if (n.size !== void 0 && O.size > n.size * 1024 * 1024) {
6537
- ya(n.exceedSizeTip ?? ke("upload.sizeError", { size: n.size })), p(_);
6537
+ ya(n.exceedSizeTip ?? Se("upload.sizeError", { size: n.size })), p(_);
6538
6538
  return;
6539
6539
  }
6540
6540
  a("update:modelValue", "");
@@ -6559,10 +6559,10 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6559
6559
  return Je(() => {
6560
6560
  g && clearInterval(g);
6561
6561
  }), (d, _) => (w(), x("div", {
6562
- class: te(["cregis-upload", { "cregis-upload--disabled": L.value }]),
6563
- style: ie(f.value)
6562
+ class: Z(["cregis-upload", { "cregis-upload--disabled": L.value }]),
6563
+ style: ce(f.value)
6564
6564
  }, [
6565
- i.value ? X("", !0) : (w(), Te(ee(Mr), {
6565
+ i.value ? X("", !0) : (w(), Oe(te(Mr), {
6566
6566
  key: 0,
6567
6567
  size: "16px",
6568
6568
  color: "var(--stroke-base-secondary)"
@@ -6577,7 +6577,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6577
6577
  r.value > 0 && r.value < 100 ? (w(), x("div", {
6578
6578
  key: 1,
6579
6579
  class: "cregis-upload__progress",
6580
- style: ie(N.value)
6580
+ style: ce(N.value)
6581
6581
  }, null, 4)) : X("", !0),
6582
6582
  i.value ? (w(), x("img", {
6583
6583
  key: 2,
@@ -6585,7 +6585,7 @@ const Us = () => (Nn = Nn + 1, Nn), Tf = (e) => {
6585
6585
  alt: ""
6586
6586
  }, null, 8, Dd)) : X("", !0),
6587
6587
  i.value ? (w(), x("div", xd, [
6588
- ue(ee(Mr), {
6588
+ oe(te(Mr), {
6589
6589
  size: "16px",
6590
6590
  color: "var(--text-same-white-primary)"
6591
6591
  })
@@ -6598,7 +6598,7 @@ const Pd = () => {
6598
6598
  sn === 0 && (Bs = document.body.style.overflow, document.body.style.overflow = "hidden"), sn++;
6599
6599
  }, xa = () => {
6600
6600
  sn <= 0 || (sn--, sn === 0 && (document.body.style.overflow = Bs));
6601
- }, kn = /* @__PURE__ */ ce({
6601
+ }, kn = /* @__PURE__ */ ue({
6602
6602
  name: "Dialog",
6603
6603
  __name: "Dialog",
6604
6604
  props: {
@@ -6633,19 +6633,19 @@ const Pd = () => {
6633
6633
  }, m = () => {
6634
6634
  a("after-leave");
6635
6635
  };
6636
- return (v, p) => (w(), Te(dr, { to: "body" }, [
6637
- ue(In, {
6636
+ return (v, p) => (w(), Oe(dr, { to: "body" }, [
6637
+ oe(pn, {
6638
6638
  name: "cregis-dialog-fade",
6639
6639
  onAfterLeave: m
6640
6640
  }, {
6641
- default: Oe(() => [
6641
+ default: Ne(() => [
6642
6642
  e.modelValue ? (w(), x("div", {
6643
6643
  key: 0,
6644
- class: te(["cregis-dialog__wrapper", {
6644
+ class: Z(["cregis-dialog__wrapper", {
6645
6645
  "cregis-dialog__wrapper--center": e.alignCenter,
6646
6646
  "cregis-dialog__wrapper--no-modal": !e.modal
6647
6647
  }]),
6648
- style: ie(l.value)
6648
+ style: ce(l.value)
6649
6649
  }, [
6650
6650
  e.modal ? (w(), x("div", {
6651
6651
  key: 0,
@@ -6654,7 +6654,7 @@ const Pd = () => {
6654
6654
  })) : X("", !0),
6655
6655
  F("div", {
6656
6656
  class: "cregis-dialog",
6657
- style: ie(o.value),
6657
+ style: ce(o.value),
6658
6658
  onClick: p[0] || (p[0] = Wt(() => {
6659
6659
  }, ["stop"]))
6660
6660
  }, [
@@ -6663,7 +6663,7 @@ const Pd = () => {
6663
6663
  class: "cregis-dialog__close",
6664
6664
  onClick: i
6665
6665
  }, [
6666
- ue(ee(Fa), {
6666
+ oe(te(Fa), {
6667
6667
  size: "10px",
6668
6668
  color: "var(--material-same-white-primary)"
6669
6669
  })
@@ -6682,7 +6682,7 @@ const Pd = () => {
6682
6682
  }, Vd = {
6683
6683
  key: 1,
6684
6684
  class: "cregis-dialog-confirm__message"
6685
- }, Fd = { class: "cregis-dialog-confirm__footer" }, Ud = /* @__PURE__ */ ce({
6685
+ }, Fd = { class: "cregis-dialog-confirm__footer" }, Ud = /* @__PURE__ */ ue({
6686
6686
  name: "ConfirmDialog",
6687
6687
  __name: "ConfirmDialog",
6688
6688
  props: {
@@ -6721,7 +6721,7 @@ const Pd = () => {
6721
6721
  };
6722
6722
  return dt(() => {
6723
6723
  r.value = !0;
6724
- }), (p, g) => (w(), Te(kn, {
6724
+ }), (p, g) => (w(), Oe(kn, {
6725
6725
  modelValue: r.value,
6726
6726
  "onUpdate:modelValue": g[0] || (g[0] = (E) => r.value = E),
6727
6727
  width: e.width,
@@ -6730,13 +6730,13 @@ const Pd = () => {
6730
6730
  "lock-scroll": e.lockScroll,
6731
6731
  onAfterLeave: v
6732
6732
  }, {
6733
- default: Oe(() => [
6733
+ default: Ne(() => [
6734
6734
  F("div", Rd, [
6735
6735
  F("div", $d, [
6736
6736
  F("div", {
6737
- class: te(`cregis-dialog-confirm__icon cregis-dialog-confirm__icon--${e.type}`)
6737
+ class: Z(`cregis-dialog-confirm__icon cregis-dialog-confirm__icon--${e.type}`)
6738
6738
  }, [
6739
- (w(), Te(on(l.value.component), {
6739
+ (w(), Oe(on(l.value.component), {
6740
6740
  "stroke-width": 3.4,
6741
6741
  size: "24px",
6742
6742
  color: l.value.color
@@ -6746,19 +6746,19 @@ const Pd = () => {
6746
6746
  e.title ? (w(), x("div", Md, J(e.title), 1)) : X("", !0),
6747
6747
  e.message ? (w(), x("div", Vd, J(e.message), 1)) : X("", !0),
6748
6748
  F("div", Fd, [
6749
- e.showConfirmButton ? (w(), Te(Ft, {
6749
+ e.showConfirmButton ? (w(), Oe(Ft, {
6750
6750
  key: 0,
6751
6751
  type: "foreground",
6752
6752
  block: "",
6753
6753
  loading: s.value === "confirm",
6754
6754
  onClick: f
6755
6755
  }, {
6756
- default: Oe(() => [
6757
- qe(J(e.confirmButtonText || ee(ke)("dialog.confirm")), 1)
6756
+ default: Ne(() => [
6757
+ qe(J(e.confirmButtonText || te(Se)("dialog.confirm")), 1)
6758
6758
  ]),
6759
6759
  _: 1
6760
6760
  }, 8, ["loading"])) : X("", !0),
6761
- e.showCancelButton ? (w(), Te(Ft, {
6761
+ e.showCancelButton ? (w(), Oe(Ft, {
6762
6762
  key: 1,
6763
6763
  type: "secondary",
6764
6764
  text: "",
@@ -6766,8 +6766,8 @@ const Pd = () => {
6766
6766
  loading: s.value === "cancel",
6767
6767
  onClick: m
6768
6768
  }, {
6769
- default: Oe(() => [
6770
- qe(J(e.cancelButtonText || ee(ke)("dialog.cancel")), 1)
6769
+ default: Ne(() => [
6770
+ qe(J(e.cancelButtonText || te(Se)("dialog.cancel")), 1)
6771
6771
  ]),
6772
6772
  _: 1
6773
6773
  }, 8, ["loading"])) : X("", !0)
@@ -6816,7 +6816,7 @@ Hs.install = (e) => {
6816
6816
  e.component(kn.name, kn);
6817
6817
  };
6818
6818
  Hs.confirm = Bd;
6819
- const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @__PURE__ */ ce({
6819
+ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @__PURE__ */ ue({
6820
6820
  name: "Timeline",
6821
6821
  __name: "Timeline",
6822
6822
  props: {
@@ -6839,7 +6839,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6839
6839
  }), jd = {
6840
6840
  key: 0,
6841
6841
  class: "cregis-timeline-item__title"
6842
- }, Af = /* @__PURE__ */ ce({
6842
+ }, Af = /* @__PURE__ */ ue({
6843
6843
  name: "TimelineItem",
6844
6844
  __name: "TimelineItem",
6845
6845
  props: {
@@ -6849,7 +6849,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6849
6849
  contentHoverable: { type: Boolean, default: !0 }
6850
6850
  },
6851
6851
  setup(e) {
6852
- const t = e, n = Sn(js);
6852
+ const t = e, n = In(js);
6853
6853
  if (!n) throw new Error("TimelineItem must be used within Timeline");
6854
6854
  const a = (p) => typeof p == "number" ? `${p}px` : p, r = I(() => a(t.dotSize ?? n.dotSize.value)), s = I(() => t.dotColor ?? n.dotColor.value), o = I(() => n.lineColor.value), l = I(() => a(t.lineWidth ?? n.lineWidth.value)), i = I(() => ({
6855
6855
  "--cregis-timeline-dot-size": r.value
@@ -6868,15 +6868,15 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6868
6868
  }));
6869
6869
  return (p, g) => (w(), x("div", {
6870
6870
  class: "cregis-timeline-item",
6871
- style: ie(i.value)
6871
+ style: ce(i.value)
6872
6872
  }, [
6873
6873
  F("div", {
6874
6874
  class: "cregis-timeline-item__node",
6875
- style: ie(f.value)
6875
+ style: ce(f.value)
6876
6876
  }, [
6877
6877
  F("span", {
6878
6878
  class: "cregis-timeline-item__dot",
6879
- style: ie(m.value)
6879
+ style: ce(m.value)
6880
6880
  }, null, 4)
6881
6881
  ], 4),
6882
6882
  p.$slots.title ? (w(), x("div", jd, [
@@ -6884,11 +6884,11 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6884
6884
  ])) : X("", !0),
6885
6885
  F("span", {
6886
6886
  class: "cregis-timeline-item__tail",
6887
- style: ie(v.value)
6887
+ style: ce(v.value)
6888
6888
  }, null, 4),
6889
6889
  p.$slots.default ? (w(), x("div", {
6890
6890
  key: 1,
6891
- class: te(["cregis-timeline-item__content", { "is-hoverable": e.contentHoverable }])
6891
+ class: Z(["cregis-timeline-item__content", { "is-hoverable": e.contentHoverable }])
6892
6892
  }, [
6893
6893
  de(p.$slots, "default")
6894
6894
  ], 2)) : X("", !0)
@@ -6897,7 +6897,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6897
6897
  }), zd = {
6898
6898
  key: 0,
6899
6899
  class: "select-content"
6900
- }, Gd = /* @__PURE__ */ ce({
6900
+ }, Gd = /* @__PURE__ */ ue({
6901
6901
  name: "HeaderCell",
6902
6902
  __name: "HeaderCell",
6903
6903
  props: {
@@ -6907,6 +6907,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6907
6907
  align: { default: "left" },
6908
6908
  width: {},
6909
6909
  selectMode: { type: Boolean },
6910
+ selectVisible: { type: Boolean },
6910
6911
  selectAllMode: { default: "none" },
6911
6912
  bg: {},
6912
6913
  sortable: { type: Boolean }
@@ -6956,20 +6957,23 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6956
6957
  }), Je(() => {
6957
6958
  m?.destroy();
6958
6959
  }), (O, h) => (w(), x("th", {
6959
- class: "header-cell-wrapper",
6960
- style: ie(E.value)
6960
+ class: Z(["header-cell-wrapper", {
6961
+ "select-cell": e.type === "select",
6962
+ "select-cell--visible": e.type === "select" && e.selectVisible
6963
+ }]),
6964
+ style: ce(E.value)
6961
6965
  }, [
6962
6966
  e.type === "select" ? (w(), x("div", zd, [
6963
- ue(Cr, {
6967
+ oe(Cr, {
6964
6968
  "model-value": e.selectAllMode === "all",
6965
6969
  indeterminate: e.selectAllMode === "some",
6966
- onClick: h[0] || (h[0] = Wt((k) => O.$emit("select-all-mode", e.selectAllMode), ["stop"]))
6970
+ onClick: h[0] || (h[0] = Wt((S) => O.$emit("select-all-mode", e.selectAllMode), ["stop"]))
6967
6971
  }, null, 8, ["model-value", "indeterminate"])
6968
6972
  ])) : X("", !0),
6969
6973
  e.type === "default" ? (w(), x("div", {
6970
6974
  key: 1,
6971
6975
  class: "cell-content",
6972
- style: ie(N.value)
6976
+ style: ce(N.value)
6973
6977
  }, [
6974
6978
  de(O.$slots, "default", {}, () => [
6975
6979
  F("div", null, J(e.label), 1)
@@ -6978,46 +6982,46 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6978
6982
  key: 0,
6979
6983
  ref_key: "containerRef",
6980
6984
  ref: f,
6981
- class: te(["sort-container", [g.value, p.value]]),
6985
+ class: Z(["sort-container", [g.value, p.value]]),
6982
6986
  onClick: Wt(L, ["stop"])
6983
6987
  }, [
6984
6988
  F("span", {
6985
- class: te(["sort-icon", { "is-open": s.value }])
6989
+ class: Z(["sort-icon", { "is-open": s.value }])
6986
6990
  }, [
6987
- ue(ee(fr), { size: "12px" })
6991
+ oe(te(fr), { size: "12px" })
6988
6992
  ], 2)
6989
6993
  ], 2)) : X("", !0)
6990
6994
  ], 4)) : X("", !0),
6991
- (w(), Te(dr, { to: "body" }, [
6995
+ (w(), Oe(dr, { to: "body" }, [
6992
6996
  Ut(F("div", {
6993
6997
  ref_key: "popRef",
6994
6998
  ref: i,
6995
6999
  class: "sort-popover no-scroll-bar popover-shadow",
6996
- style: ie(v.value)
7000
+ style: ce(v.value)
6997
7001
  }, [
6998
7002
  F("div", {
6999
- class: te(["sort-item font-15", { active: l.value === "asc" }]),
7000
- onClick: h[1] || (h[1] = (k) => d("asc"))
7001
- }, J(ee(ke)("tableList.asc")), 3),
7003
+ class: Z(["sort-item font-15", { active: l.value === "asc" }]),
7004
+ onClick: h[1] || (h[1] = (S) => d("asc"))
7005
+ }, J(te(Se)("tableList.asc")), 3),
7002
7006
  F("div", {
7003
- class: te(["sort-item font-15", { active: l.value === "desc" }]),
7004
- onClick: h[2] || (h[2] = (k) => d("desc"))
7005
- }, J(ee(ke)("tableList.desc")), 3)
7007
+ class: Z(["sort-item font-15", { active: l.value === "desc" }]),
7008
+ onClick: h[2] || (h[2] = (S) => d("desc"))
7009
+ }, J(te(Se)("tableList.desc")), 3)
7006
7010
  ], 4), [
7007
7011
  [An, s.value]
7008
7012
  ])
7009
7013
  ]))
7010
- ], 4));
7014
+ ], 6));
7011
7015
  }
7012
7016
  }), Pr = (e, t) => {
7013
7017
  const n = e.__vccOpts || e;
7014
7018
  for (const [a, r] of t)
7015
7019
  n[a] = r;
7016
7020
  return n;
7017
- }, Pa = /* @__PURE__ */ Pr(Gd, [["__scopeId", "data-v-dc2b0e15"]]), Yd = {
7021
+ }, Pa = /* @__PURE__ */ Pr(Gd, [["__scopeId", "data-v-3e009147"]]), Yd = {
7018
7022
  key: 1,
7019
7023
  class: "cell-text"
7020
- }, Kd = /* @__PURE__ */ ce({
7024
+ }, Kd = /* @__PURE__ */ ue({
7021
7025
  name: "TableListColumn",
7022
7026
  __name: "TableListColumn",
7023
7027
  props: {
@@ -7026,6 +7030,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7026
7030
  columnHeight: {},
7027
7031
  minTableWidth: {},
7028
7032
  type: { default: "default" },
7033
+ selectVisible: { type: Boolean },
7029
7034
  selected: { type: Boolean },
7030
7035
  blank: { type: Boolean },
7031
7036
  prop: {},
@@ -7041,8 +7046,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7041
7046
  const t = e, n = I(() => Object.assign(t.data || {}, {})), a = I(() => ({
7042
7047
  ...t.widthPercent ? { width: `${t.widthPercent}%` } : {},
7043
7048
  ...t.minWidth ? { minWidth: t.minWidth } : {},
7044
- ...t.width ? { width: "1%" } : {},
7045
- ...t.type === "select" ? { width: "1%" } : {}
7049
+ ...t.width ? { width: "1%" } : {}
7046
7050
  })), r = I(() => ({
7047
7051
  height: t.columnHeight + "px"
7048
7052
  })), s = I(() => t.index % 2 === 1), o = I(() => ({
@@ -7051,19 +7055,23 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7051
7055
  ...t.width ? { width: t.width } : {}
7052
7056
  }));
7053
7057
  return (l, i) => (w(), x("td", {
7054
- class: te(["column-wrapper", { "is-striped": s.value }]),
7055
- style: ie(a.value)
7058
+ class: Z(["column-wrapper", {
7059
+ "is-striped": s.value,
7060
+ "select-cell": e.type === "select",
7061
+ "select-cell--visible": e.type === "select" && e.selectVisible
7062
+ }]),
7063
+ style: ce(a.value)
7056
7064
  }, [
7057
7065
  e.blank ? (w(), x("div", {
7058
7066
  key: 0,
7059
- style: ie(o.value)
7067
+ style: ce(o.value)
7060
7068
  }, null, 4)) : (w(), x(Be, { key: 1 }, [
7061
7069
  e.type === "select" ? (w(), x("div", {
7062
7070
  key: 0,
7063
7071
  class: "select-content",
7064
- style: ie(r.value)
7072
+ style: ce(r.value)
7065
7073
  }, [
7066
- ue(Cr, {
7074
+ oe(Cr, {
7067
7075
  "model-value": e.selected,
7068
7076
  onClick: i[0] || (i[0] = Wt((f) => l.$emit("selectChange", e.index), ["stop"]))
7069
7077
  }, null, 8, ["model-value"])
@@ -7071,7 +7079,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7071
7079
  e.type === "default" ? (w(), x("div", {
7072
7080
  key: 1,
7073
7081
  class: "cell-content",
7074
- style: ie(o.value)
7082
+ style: ce(o.value)
7075
7083
  }, [
7076
7084
  l.$slots.default ? de(l.$slots, "default", {
7077
7085
  key: 0,
@@ -7081,14 +7089,14 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7081
7089
  ], 64))
7082
7090
  ], 6));
7083
7091
  }
7084
- }), yn = /* @__PURE__ */ Pr(Kd, [["__scopeId", "data-v-dc19bcd3"]]), tn = (e, t, n) => {
7092
+ }), En = /* @__PURE__ */ Pr(Kd, [["__scopeId", "data-v-e0bf68f3"]]), tn = (e, t, n) => {
7085
7093
  if (!e) return n;
7086
7094
  if (Object.prototype.hasOwnProperty.call(e, t))
7087
7095
  return e[t];
7088
7096
  const a = t.replace(/([A-Z])/g, "-$1").toLowerCase();
7089
7097
  return Object.prototype.hasOwnProperty.call(e, a) ? e[a] : n;
7090
7098
  }, Xd = { class: "initing-content" }, qd = { class: "initing-text" }, Qd = {
7091
- key: 1,
7099
+ key: 0,
7092
7100
  class: "opration-wrapper"
7093
7101
  }, Jd = { class: "selected-count-wrapper" }, Zd = { class: "font-medium text-[var(--text-base-primary)]" }, ef = { class: "ml-[2px] text-[var(--text-base-secondary)]" }, tf = {
7094
7102
  key: 0,
@@ -7099,7 +7107,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7099
7107
  }, cf = { class: "flex flex-col gap-[8px] items-center -translate-x-[30px]" }, uf = { class: "no-data-text font-13" }, df = {
7100
7108
  key: 1,
7101
7109
  class: "flex-1"
7102
- }, ff = /* @__PURE__ */ ce({
7110
+ }, ff = /* @__PURE__ */ ue({
7103
7111
  __name: "index",
7104
7112
  props: {
7105
7113
  maxHeight: {},
@@ -7153,35 +7161,35 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7153
7161
  width: `${f.value.width}px`,
7154
7162
  height: L.value ? "28px" : "0px",
7155
7163
  opacity: L.value ? 1 : 0
7156
- })), k = () => (s.default?.()?.filter((V) => V.type?.name === "TableListColumn") || []).filter((V) => V.props?.hidden !== !0), T = () => k().filter((R) => {
7164
+ })), S = () => (s.default?.()?.filter((V) => V.type?.name === "TableListColumn") || []).filter((V) => V.props?.hidden !== !0), T = () => S().filter((R) => {
7157
7165
  const V = tn(R.props, "minTableWidth");
7158
7166
  return !V || f.value.width >= V;
7159
7167
  }), y = I(() => T().map((R) => {
7160
- const { align: V = "left", label: j, width: Z, sortable: oe } = R.props || {}, _e = tn(R.props, "minTableWidth");
7168
+ const { align: V = "left", label: j, width: ee, sortable: le } = R.props || {}, _e = tn(R.props, "minTableWidth");
7161
7169
  return {
7162
7170
  label: j || "",
7163
7171
  align: V,
7164
- sortable: oe,
7165
- width: Z,
7172
+ sortable: le,
7173
+ width: ee,
7166
7174
  minTableWidth: _e,
7167
7175
  headerSlot: R.children?.header,
7168
7176
  originalSortChangeHandler: R.props?.onSortChange
7169
7177
  };
7170
- })), W = I(() => y.value.length + (p.value ? 1 : 0)), B = I(() => T().map((R) => {
7171
- const { align: V = "left", width: j } = R.props || {}, Z = tn(R.props, "widthPercent"), oe = tn(R.props, "minWidth"), _e = tn(R.props, "minTableWidth");
7178
+ })), W = I(() => y.value.length + 1), B = I(() => T().map((R) => {
7179
+ const { align: V = "left", width: j } = R.props || {}, ee = tn(R.props, "widthPercent"), le = tn(R.props, "minWidth"), _e = tn(R.props, "minTableWidth");
7172
7180
  return {
7173
7181
  prop: R.props?.prop || "",
7174
7182
  align: V,
7175
7183
  width: j,
7176
- widthPercent: Z,
7177
- minWidth: oe,
7184
+ widthPercent: ee,
7185
+ minWidth: le,
7178
7186
  minTableWidth: _e,
7179
7187
  children: R.children || {},
7180
7188
  slotDefault: R.children?.default
7181
7189
  };
7182
7190
  })), G = (A, R) => {
7183
- i.value?.forEach((j, Z) => {
7184
- Z !== A && j.resetSort();
7191
+ i.value?.forEach((j, ee) => {
7192
+ ee !== A && j.resetSort();
7185
7193
  });
7186
7194
  const V = y.value[A];
7187
7195
  V.originalSortChangeHandler && V.originalSortChangeHandler(R);
@@ -7201,17 +7209,18 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7201
7209
  p.value = !1, g.value = [], a("update:selected-list", []), a("selected-change", []);
7202
7210
  };
7203
7211
  t({
7212
+ selectMode: p,
7204
7213
  openSelect: q,
7205
7214
  closeSelect: he
7206
7215
  });
7207
- let S = null;
7216
+ let k = null;
7208
7217
  return Dt(() => {
7209
- o.value && (S = new ResizeObserver((A) => {
7218
+ o.value && (k = new ResizeObserver((A) => {
7210
7219
  const R = A[0], V = R.contentRect.width, j = R.contentRect.height;
7211
7220
  f.value = { width: V, height: j };
7212
- }), S.observe(o.value));
7221
+ }), k.observe(o.value));
7213
7222
  }), Je(() => {
7214
- S && S.disconnect();
7223
+ k && k.disconnect();
7215
7224
  }), (A, R) => (w(), x("div", {
7216
7225
  ref_key: "tableWrapperRef",
7217
7226
  ref: o,
@@ -7220,33 +7229,38 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7220
7229
  E.value ? (w(), x("div", {
7221
7230
  key: 0,
7222
7231
  class: "initing-wrapper",
7223
- style: ie({ top: v.value, height: `calc(100% - ${v.value})` })
7232
+ style: ce({ top: v.value, height: `calc(100% - ${v.value})` })
7224
7233
  }, [
7225
7234
  F("div", Xd, [
7226
- ue(ee(Yn), {
7235
+ oe(te(Yn), {
7227
7236
  class: "loading-icon",
7228
7237
  size: "20px",
7229
7238
  color: "var(--stroke-base-secondary)"
7230
7239
  }),
7231
- F("div", qd, J(ee(ke)("tableList.loading")), 1)
7240
+ F("div", qd, J(te(Se)("tableList.loading")), 1)
7232
7241
  ])
7233
7242
  ], 4)) : X("", !0),
7234
- p.value ? (w(), x("div", Qd, [
7235
- F("div", {
7236
- class: "operation-item",
7237
- hover: "bg-[--event-focus-secondary]",
7238
- onClick: he
7239
- }, [
7240
- ue(ee(Fa), { size: "16px" })
7241
- ]),
7242
- R[0] || (R[0] = F("div", { class: "operation-divider" }, null, -1)),
7243
- F("div", Jd, [
7244
- F("div", Zd, J(g.value.length), 1),
7245
- F("div", ef, J(ee(ke)("tableList.selected")), 1)
7243
+ oe(pn, { name: "table-list-operation" }, {
7244
+ default: Ne(() => [
7245
+ p.value ? (w(), x("div", Qd, [
7246
+ F("div", {
7247
+ class: "operation-item",
7248
+ hover: "bg-[--event-focus-secondary]",
7249
+ onClick: he
7250
+ }, [
7251
+ oe(te(Fa), { size: "16px" })
7252
+ ]),
7253
+ R[0] || (R[0] = F("div", { class: "operation-divider" }, null, -1)),
7254
+ F("div", Jd, [
7255
+ F("div", Zd, J(g.value.length), 1),
7256
+ F("div", ef, J(te(Se)("tableList.selected")), 1)
7257
+ ]),
7258
+ s.operation ? (w(), x("div", tf)) : X("", !0),
7259
+ de(A.$slots, "operation", {}, void 0, !0)
7260
+ ])) : X("", !0)
7246
7261
  ]),
7247
- s.operation ? (w(), x("div", tf)) : X("", !0),
7248
- de(A.$slots, "operation", {}, void 0, !0)
7249
- ])) : X("", !0),
7262
+ _: 3
7263
+ }),
7250
7264
  F("div", {
7251
7265
  ref_key: "tableContentRef",
7252
7266
  ref: l,
@@ -7257,19 +7271,18 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7257
7271
  class: "cg-table w-full border-separate"
7258
7272
  }, [
7259
7273
  F("thead", {
7260
- style: ie({ height: v.value })
7274
+ style: ce({ height: v.value })
7261
7275
  }, [
7262
7276
  F("tr", null, [
7263
- p.value ? (w(), Te(Pa, {
7264
- key: 0,
7277
+ oe(Pa, {
7265
7278
  type: "select",
7266
7279
  height: v.value,
7267
7280
  bg: e.headerBg,
7268
- "select-mode": p.value,
7281
+ "select-visible": p.value,
7269
7282
  "select-all-mode": g.value.length === 0 ? "none" : g.value.length === e.dataList.length ? "all" : "some",
7270
7283
  onSelectAllMode: Y
7271
- }, null, 8, ["height", "bg", "select-mode", "select-all-mode"])) : X("", !0),
7272
- (w(!0), x(Be, null, vt(y.value, (V, j) => (w(), Te(Pa, {
7284
+ }, null, 8, ["height", "bg", "select-visible", "select-all-mode"]),
7285
+ (w(!0), x(Be, null, vt(y.value, (V, j) => (w(), Oe(Pa, {
7273
7286
  ref_for: !0,
7274
7287
  ref_key: "headerCellRefs",
7275
7288
  ref: i,
@@ -7281,12 +7294,12 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7281
7294
  sortable: V.sortable,
7282
7295
  "select-mode": p.value,
7283
7296
  bg: e.headerBg,
7284
- onSortChange: (Z) => G(Number(j), Z)
7297
+ onSortChange: (ee) => G(Number(j), ee)
7285
7298
  }, $r({ _: 2 }, [
7286
7299
  V.headerSlot ? {
7287
7300
  name: "default",
7288
- fn: Oe(() => [
7289
- (w(), Te(on(() => V.headerSlot({}))))
7301
+ fn: Ne(() => [
7302
+ (w(), Oe(on(() => V.headerSlot({}))))
7290
7303
  ]),
7291
7304
  key: "0"
7292
7305
  } : void 0
@@ -7296,17 +7309,17 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7296
7309
  e.dataList.length > 0 ? (w(), x("tbody", nf, [
7297
7310
  F("tr", {
7298
7311
  class: "loading-wrapper",
7299
- style: ie(h.value)
7312
+ style: ce(h.value)
7300
7313
  }, [
7301
7314
  F("td", { colspan: W.value }, [
7302
7315
  F("div", af, [
7303
7316
  d.value ? (w(), x(Be, { key: 0 }, [
7304
- ue(ee(ao), {
7317
+ oe(te(ao), {
7305
7318
  size: "16px",
7306
7319
  color: "var(--stroke-color-success)"
7307
7320
  }),
7308
- F("span", sf, J(ee(ke)("tableList.refreshed")), 1)
7309
- ], 64)) : (w(), Te(ee(Yn), {
7321
+ F("span", sf, J(te(Se)("tableList.refreshed")), 1)
7322
+ ], 64)) : (w(), Oe(te(Yn), {
7310
7323
  key: 1,
7311
7324
  class: "loading-icon",
7312
7325
  size: "16px",
@@ -7318,32 +7331,32 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7318
7331
  (w(!0), x(Be, null, vt(e.dataList, (V, j) => (w(), x("tr", {
7319
7332
  key: j,
7320
7333
  class: "table-row",
7321
- onClick: (Z) => U(V, j)
7334
+ onClick: (ee) => U(V, j)
7322
7335
  }, [
7323
- p.value ? (w(), Te(yn, {
7324
- key: 0,
7336
+ oe(En, {
7325
7337
  type: "select",
7338
+ "select-visible": p.value,
7326
7339
  index: j,
7327
7340
  "column-height": e.columnHeight,
7328
7341
  data: V,
7329
- selected: g.value.findIndex((Z) => Z._index === j) !== -1,
7342
+ selected: g.value.findIndex((ee) => ee._index === j) !== -1,
7330
7343
  onSelectChange: H
7331
- }, null, 8, ["index", "column-height", "data", "selected"])) : X("", !0),
7332
- (w(!0), x(Be, null, vt(B.value, (Z, oe) => (w(), Te(yn, {
7333
- key: `${j}-${oe}`,
7344
+ }, null, 8, ["select-visible", "index", "column-height", "data", "selected"]),
7345
+ (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(En, {
7346
+ key: `${j}-${le}`,
7334
7347
  index: j,
7335
7348
  "column-height": e.columnHeight,
7336
- prop: Z.prop,
7337
- align: Z.align,
7338
- width: Z.width,
7339
- "width-percent": Z.widthPercent,
7340
- "min-width": Z.minWidth,
7349
+ prop: ee.prop,
7350
+ align: ee.align,
7351
+ width: ee.width,
7352
+ "width-percent": ee.widthPercent,
7353
+ "min-width": ee.minWidth,
7341
7354
  data: V
7342
7355
  }, $r({ _: 2 }, [
7343
- Z.slotDefault ? {
7356
+ ee.slotDefault ? {
7344
7357
  name: "default",
7345
- fn: Oe((_e) => [
7346
- (w(), Te(on(() => Z.slotDefault(_e))))
7358
+ fn: Ne((_e) => [
7359
+ (w(), Oe(on(() => ee.slotDefault(_e))))
7347
7360
  ]),
7348
7361
  key: "0"
7349
7362
  } : void 0
@@ -7352,15 +7365,15 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7352
7365
  (w(!0), x(Be, null, vt(O.value, (V, j) => (w(), x("tr", {
7353
7366
  key: j + e.dataList.length
7354
7367
  }, [
7355
- p.value ? (w(), Te(yn, {
7356
- key: 0,
7368
+ oe(En, {
7357
7369
  type: "select",
7370
+ "select-visible": p.value,
7358
7371
  index: j + e.dataList.length,
7359
7372
  "column-height": e.columnHeight,
7360
7373
  blank: ""
7361
- }, null, 8, ["index", "column-height"])) : X("", !0),
7362
- (w(!0), x(Be, null, vt(B.value, (Z, oe) => (w(), Te(yn, {
7363
- key: `${j + e.dataList.length}-${oe}`,
7374
+ }, null, 8, ["select-visible", "index", "column-height"]),
7375
+ (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(En, {
7376
+ key: `${j + e.dataList.length}-${le}`,
7364
7377
  index: j + e.dataList.length,
7365
7378
  "column-height": e.columnHeight,
7366
7379
  blank: ""
@@ -7370,19 +7383,19 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7370
7383
  ])),
7371
7384
  !e.loading && e.dataList.length === 0 ? (w(), x("div", lf, [
7372
7385
  F("div", cf, [
7373
- ue(ee(so), {
7386
+ oe(te(so), {
7374
7387
  size: "40px",
7375
7388
  color: "var(--text-base-quaternary)"
7376
7389
  }),
7377
- F("div", uf, J(ee(ke)("tableList.noData")), 1)
7390
+ F("div", uf, J(te(Se)("tableList.noData")), 1)
7378
7391
  ])
7379
7392
  ])) : (w(), x("div", df))
7380
7393
  ], 512)
7381
7394
  ], 512));
7382
7395
  }
7383
- }), Df = /* @__PURE__ */ Pr(ff, [["__scopeId", "data-v-30ce2ae3"]]);
7396
+ }), Df = /* @__PURE__ */ Pr(ff, [["__scopeId", "data-v-7d1ecce2"]]);
7384
7397
  export {
7385
- kf as Badge,
7398
+ Sf as Badge,
7386
7399
  Ft as Button,
7387
7400
  Lf as Cascader,
7388
7401
  Cr as Checkbox,
@@ -7401,12 +7414,12 @@ export {
7401
7414
  js as TIMELINE_KEY,
7402
7415
  bf as TabPane,
7403
7416
  Df as TableList,
7404
- yn as TableListColumn,
7417
+ En as TableListColumn,
7405
7418
  _f as Tabs,
7406
7419
  Cf as Tag,
7407
7420
  If as Timeline,
7408
7421
  Af as TimelineItem,
7409
- Sf as Upload,
7422
+ kf as Upload,
7410
7423
  Bd as confirm,
7411
7424
  Us as getDialogZIndex,
7412
7425
  Ws as selectInjectKey,