@cregis/ui 1.0.17 → 1.0.18

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 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 sn, 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 En, renderList as vt, onBeforeUnmount as $a, Transition as mn, 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 de, 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 D, normalizeClass as Z, createElementVNode as F, mergeProps as gt, createBlock as Oe, resolveDynamicComponent as sn, normalizeStyle as le, renderSlot as ue, 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 Ke, nextTick as dt, reactive as Mt, provide as ur, toRef as En, renderList as vt, onBeforeUnmount as $a, Transition as mn, 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
@@ -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) => ie(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) => ce(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 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);
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), ce = (e) => pr(e) === "[object Object]", mo = (e) => e == null ? "" : Te(e) || ce(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
  }
@@ -430,7 +430,7 @@ function Uo(e, t = {}) {
430
430
  b += u;
431
431
  return b;
432
432
  }
433
- function le(c) {
433
+ function ie(c) {
434
434
  let u = "";
435
435
  for (; ; ) {
436
436
  const b = c.currentChar();
@@ -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, le(c));
637
+ return p(u, 0, ie(c));
638
638
  break;
639
639
  }
640
640
  }
@@ -1348,7 +1348,7 @@ function qn(e, t, n) {
1348
1348
  let o = [n];
1349
1349
  for (; Te(o); )
1350
1350
  o = Kr(s, o, t);
1351
- const l = Te(t) || !ie(t) ? t : t.default ? t.default : null;
1351
+ const l = Te(t) || !ce(t) ? t : t.default ? t.default : null;
1352
1352
  o = M(l) ? [l] : l, Te(o) && Kr(s, o, !1), r.__localeChainCache.set(a, s);
1353
1353
  }
1354
1354
  return s;
@@ -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), (Te(n) || ie(n)) && n[r] && (a = n[r]);
1378
+ e.push(r), (Te(n) || ce(n)) && n[r] && (a = n[r]);
1379
1379
  }
1380
1380
  return a;
1381
1381
  }
@@ -1722,7 +1722,7 @@ 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 : cn, r = ge(a) ? cn : 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;
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 : cn, r = ge(a) ? cn : a, s = Te(e.fallbackLocale) || ce(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = ce(e.messages) ? e.messages : Un(r), l = ce(e.datetimeFormats) ? e.datetimeFormats : Un(r), i = ce(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 = ce(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
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++;
@@ -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 (ie(E) && M(g))
1819
+ if (ce(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 ie(n) && !mr(n) && (a = `${a}__${JSON.stringify(n)}`), a;
1827
+ return ce(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 : ie(r) && Object.keys(r).forEach((i) => {
1839
+ return M(r) ? t.key = r : ce(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 : ie(s) && (l = s), ie(o) && (l = o), l;
1841
+ }), M(s) ? t.locale = s : ce(s) && (l = s), ce(o) && (l = o), l;
1842
1842
  }
1843
1843
  const Zr = typeof Intl < "u", cs = {
1844
1844
  dateTimeFormat: Zr && typeof Intl.DateTimeFormat < "u",
@@ -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 : 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];
2136
+ return Le(n) ? r.plural = n : M(n) ? r.default = n : ce(n) && !mr(n) ? r.named = n : Te(n) && (r.list = n), Le(a) ? r.plural = a : M(a) ? r.default = a : ce(a) && Ce(r, a), [s, r];
2137
2137
  }
2138
2138
  function ti(e, t, n, a, r, s) {
2139
2139
  return {
@@ -2394,7 +2394,7 @@ function un(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 = ie(n) ? n : Te(a) ? fe() : { [e]: fe() };
2397
+ const { messages: n, __i18n: a, messageResolver: r, flatJson: s } = t, o = ce(n) ? n : Te(a) ? fe() : { [e]: fe() };
2398
2398
  if (Te(a) && a.forEach((l) => {
2399
2399
  if ("locale" in l && "resource" in l) {
2400
2400
  const { locale: i, resource: f } = l;
@@ -2459,10 +2459,10 @@ function Ln(e = {}) {
2459
2459
  t && o ? t.locale.value : M(e.locale) ? e.locale : cn
2460
2460
  ), i = s(
2461
2461
  // prettier-ignore
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]: {} });
2462
+ t && o ? t.fallbackLocale.value : M(e.fallbackLocale) || Te(e.fallbackLocale) || ce(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
2463
+ ), f = s(Tr(l.value, e)), m = s(ce(e.datetimeFormats) ? e.datetimeFormats : { [l.value]: {} }), v = s(ce(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 S = t ? t.modifiers : ie(e.modifiers) ? e.modifiers : {};
2465
+ const S = t ? t.modifiers : ce(e.modifiers) ? e.modifiers : {};
2466
2466
  let T = e.pluralRules || t && t.pluralRules, y;
2467
2467
  y = (() => {
2468
2468
  a && Qr(null);
@@ -2485,9 +2485,9 @@ function Ln(e = {}) {
2485
2485
  messageCompiler: e.messageCompiler,
2486
2486
  __meta: { framework: "vue" }
2487
2487
  };
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
- const D = jl(C);
2490
- return a && Qr(D), D;
2488
+ C.datetimeFormats = m.value, C.numberFormats = v.value, C.__datetimeFormatters = ce(y) ? y.__datetimeFormatters : void 0, C.__numberFormatters = ce(y) ? y.__numberFormatters : void 0, process.env.NODE_ENV !== "production" && (C.__v_emitter = ce(y) ? y.__v_emitter : void 0);
2489
+ const x = jl(C);
2490
+ return a && Qr(x), x;
2491
2491
  })(), Jt(y, l.value, i.value);
2492
2492
  function B() {
2493
2493
  return [
@@ -2521,10 +2521,10 @@ function Ln(e = {}) {
2521
2521
  function R(C) {
2522
2522
  C !== null && (d = ua(C)), L = C, y.missing = d;
2523
2523
  }
2524
- function V(C, D) {
2525
- return C !== "translate" || !D.resolvedMessage;
2524
+ function V(C, x) {
2525
+ return C !== "translate" || !x.resolvedMessage;
2526
2526
  }
2527
- const j = (C, D, re, be, Tt, Nt) => {
2527
+ const j = (C, x, re, be, Tt, Nt) => {
2528
2528
  B();
2529
2529
  let We;
2530
2530
  try {
@@ -2534,7 +2534,7 @@ function Ln(e = {}) {
2534
2534
  }
2535
2535
  if (re !== "translate exists" && // for not `te` (e.g `t`)
2536
2536
  Le(We) && We === Pn || re === "translate exists" && !We) {
2537
- const [Ot, zs] = D();
2537
+ const [Ot, zs] = x();
2538
2538
  if (process.env.NODE_ENV !== "production" && t && M(Ot) && V(re, zs) && (E && (Er(g, Ot) || ns(p, Ot)) && at(Gt(je.FALLBACK_TO_ROOT, {
2539
2539
  key: Ot,
2540
2540
  type: re
@@ -2555,22 +2555,22 @@ function Ln(e = {}) {
2555
2555
  }
2556
2556
  };
2557
2557
  function ee(...C) {
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));
2558
+ return j((x) => Reflect.apply(sa, null, [x, ...C]), () => Zn(...C), "translate", (x) => Reflect.apply(x.t, x, [...C]), (x) => x, (x) => M(x));
2559
2559
  }
2560
- function le(...C) {
2561
- const [D, re, be] = C;
2560
+ function ie(...C) {
2561
+ const [x, re, be] = C;
2562
2562
  if (be && !ae(be))
2563
2563
  throw Pe(me.INVALID_ARGUMENT);
2564
- return ee(D, re, Ce({ resolvedMessage: !0 }, be || {}));
2564
+ return ee(x, 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) || Te(D));
2567
+ return j((x) => Reflect.apply(ea, null, [x, ...C]), () => Qn(...C), "datetime format", (x) => Reflect.apply(x.d, x, [...C]), () => zt, (x) => M(x) || Te(x));
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) || Te(D));
2570
+ return j((x) => Reflect.apply(na, null, [x, ...C]), () => Jn(...C), "number format", (x) => Reflect.apply(x.n, x, [...C]), () => zt, (x) => M(x) || Te(x));
2571
2571
  }
2572
2572
  function ke(C) {
2573
- return C.map((D) => M(D) || Le(D) || se(D) ? oa(String(D)) : D);
2573
+ return C.map((x) => M(x) || Le(x) || se(x) ? oa(String(x)) : x);
2574
2574
  }
2575
2575
  const $ = {
2576
2576
  normalize: ke,
@@ -2578,31 +2578,31 @@ function Ln(e = {}) {
2578
2578
  type: "vnode"
2579
2579
  };
2580
2580
  function pe(...C) {
2581
- return j((D) => {
2581
+ return j((x) => {
2582
2582
  let re;
2583
- const be = D;
2583
+ const be = x;
2584
2584
  try {
2585
2585
  be.processor = $, re = Reflect.apply(sa, null, [be, ...C]);
2586
2586
  } finally {
2587
2587
  be.processor = null;
2588
2588
  }
2589
2589
  return re;
2590
- }, () => Zn(...C), "translate", (D) => D[tr](...C), (D) => [oa(D)], (D) => Te(D));
2590
+ }, () => Zn(...C), "translate", (x) => x[tr](...C), (x) => [oa(x)], (x) => Te(x));
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) || Te(D));
2593
+ return j((x) => Reflect.apply(na, null, [x, ...C]), () => Jn(...C), "number format", (x) => x[rr](...C), ia, (x) => M(x) || Te(x));
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) || Te(D));
2596
+ return j((x) => Reflect.apply(ea, null, [x, ...C]), () => Qn(...C), "datetime format", (x) => x[nr](...C), ia, (x) => M(x) || Te(x));
2597
2597
  }
2598
2598
  function lt(C) {
2599
2599
  T = C, y.pluralRules = T;
2600
2600
  }
2601
- function Et(C, D) {
2601
+ function Et(C, x) {
2602
2602
  return j(() => {
2603
2603
  if (!C)
2604
2604
  return !1;
2605
- const re = M(D) ? D : l.value, be = M(D) ? [re] : qn(y, i.value, re);
2605
+ const re = M(x) ? x : l.value, be = M(x) ? [re] : qn(y, i.value, re);
2606
2606
  for (let Tt = 0; Tt < be.length; Tt++) {
2607
2607
  const Nt = Ue(be[Tt]);
2608
2608
  let We = y.messageResolver(Nt, C);
@@ -2610,61 +2610,61 @@ function Ln(e = {}) {
2610
2610
  return !0;
2611
2611
  }
2612
2612
  return !1;
2613
- }, () => [C], "translate exists", (re) => Reflect.apply(re.te, re, [C, D]), gi, (re) => se(re));
2613
+ }, () => [C], "translate exists", (re) => Reflect.apply(re.te, re, [C, x]), gi, (re) => se(re));
2614
2614
  }
2615
2615
  function Ze(C) {
2616
- let D = null;
2616
+ let x = null;
2617
2617
  const re = qn(y, i.value, l.value);
2618
2618
  for (let be = 0; be < re.length; be++) {
2619
2619
  const Tt = f.value[re[be]] || {}, Nt = y.messageResolver(Tt, C);
2620
2620
  if (Nt != null) {
2621
- D = Nt;
2621
+ x = Nt;
2622
2622
  break;
2623
2623
  }
2624
2624
  }
2625
- return D;
2625
+ return x;
2626
2626
  }
2627
2627
  function it(C) {
2628
- const D = Ze(C);
2629
- return D ?? (t ? t.tm(C) || {} : {});
2628
+ const x = Ze(C);
2629
+ return x ?? (t ? t.tm(C) || {} : {});
2630
2630
  }
2631
2631
  function Ue(C) {
2632
2632
  return f.value[C] || {};
2633
2633
  }
2634
- function et(C, D) {
2634
+ function et(C, x) {
2635
2635
  if (r) {
2636
- const re = { [C]: D };
2636
+ const re = { [C]: x };
2637
2637
  for (const be in re)
2638
2638
  ze(re, be) && un(re[be]);
2639
- D = re[C];
2639
+ x = re[C];
2640
2640
  }
2641
- f.value[C] = D, y.messages = f.value;
2641
+ f.value[C] = x, y.messages = f.value;
2642
2642
  }
2643
- function pt(C, D) {
2643
+ function pt(C, x) {
2644
2644
  f.value[C] = f.value[C] || {};
2645
- const re = { [C]: D };
2645
+ const re = { [C]: x };
2646
2646
  if (r)
2647
2647
  for (const be in re)
2648
2648
  ze(re, be) && un(re[be]);
2649
- D = re[C], Tn(D, f.value[C]), y.messages = f.value;
2649
+ x = re[C], Tn(x, f.value[C]), y.messages = f.value;
2650
2650
  }
2651
2651
  function c(C) {
2652
2652
  return m.value[C] || {};
2653
2653
  }
2654
- function u(C, D) {
2655
- m.value[C] = D, y.datetimeFormats = m.value, ta(y, C, D);
2654
+ function u(C, x) {
2655
+ m.value[C] = x, y.datetimeFormats = m.value, ta(y, C, x);
2656
2656
  }
2657
- function b(C, D) {
2658
- m.value[C] = Ce(m.value[C] || {}, D), y.datetimeFormats = m.value, ta(y, C, D);
2657
+ function b(C, x) {
2658
+ m.value[C] = Ce(m.value[C] || {}, x), y.datetimeFormats = m.value, ta(y, C, x);
2659
2659
  }
2660
2660
  function P(C) {
2661
2661
  return v.value[C] || {};
2662
2662
  }
2663
- function Q(C, D) {
2664
- v.value[C] = D, y.numberFormats = v.value, ra(y, C, D);
2663
+ function Q(C, x) {
2664
+ v.value[C] = x, y.numberFormats = v.value, ra(y, C, x);
2665
2665
  }
2666
- function ve(C, D) {
2667
- v.value[C] = Ce(v.value[C] || {}, D), y.numberFormats = v.value, ra(y, C, D);
2666
+ function ve(C, x) {
2667
+ v.value[C] = Ce(v.value[C] || {}, x), y.numberFormats = v.value, ra(y, C, x);
2668
2668
  }
2669
2669
  ca++, t && Qe && (ye(t.locale, (C) => {
2670
2670
  o && (l.value = C, y.locale = C, Jt(y, l.value, i.value));
@@ -2740,7 +2740,7 @@ function Ln(e = {}) {
2740
2740
  setMissingHandler: R,
2741
2741
  [vs]: lt
2742
2742
  };
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) => {
2743
+ return ne.datetimeFormats = U, ne.numberFormats = q, ne.rt = ie, 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
2745
  }, ne[kt] = () => {
2746
2746
  y.__v_emitter = void 0;
@@ -3007,9 +3007,9 @@ function Ii(e, t) {
3007
3007
  }
3008
3008
  }
3009
3009
  function Ai(e) {
3010
- const t = M(e.locale) ? e.locale : cn, 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;
3010
+ const t = M(e.locale) ? e.locale : cn, n = M(e.fallbackLocale) || Te(e.fallbackLocale) || ce(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 = ce(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 (ie(e.sharedMessages)) {
3012
+ if (ce(e.sharedMessages)) {
3013
3013
  const S = e.sharedMessages;
3014
3014
  E = Object.keys(S).reduce((y, W) => {
3015
3015
  const B = y[W] || (y[W] = {});
@@ -3302,7 +3302,7 @@ function xi({ slots: e }, t) {
3302
3302
  function Ts() {
3303
3303
  return Be;
3304
3304
  }
3305
- const Pi = /* @__PURE__ */ ue({
3305
+ const Pi = /* @__PURE__ */ de({
3306
3306
  /* eslint-disable */
3307
3307
  name: "i18n-t",
3308
3308
  props: Ce({
@@ -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__ */ ue({
3356
+ const $i = /* @__PURE__ */ de({
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 (ie(e)) {
3429
+ if (ce(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 = ie(n[0]) ? n[0] : {};
3441
+ const a = ce(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), ie(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), ce(p[0])) {
3466
3466
  const N = p[0];
3467
3467
  m.__composerExtend = N.__composerExtend, m.__vueI18nExtend = N.__vueI18nExtend;
3468
3468
  }
@@ -3638,7 +3638,7 @@ function Xi(e, t) {
3638
3638
  });
3639
3639
  };
3640
3640
  }
3641
- const qi = /* @__PURE__ */ ue({
3641
+ const qi = /* @__PURE__ */ de({
3642
3642
  /* eslint-disable */
3643
3643
  name: "i18n-d",
3644
3644
  props: Ce({
@@ -3779,9 +3779,9 @@ const Os = () => (Hn || (Hn = Wi({
3779
3779
  "en-US": Zi
3780
3780
  },
3781
3781
  legacy: !1
3782
- })), Hn), hf = (e) => {
3782
+ })), Hn), _f = (e) => {
3783
3783
  Os().global.locale.value = e;
3784
- }, Se = (e, t) => Os().global.t(e, t), ec = ["disabled"], tc = ["disabled"], nc = ["disabled"], Ft = /* @__PURE__ */ ue({
3784
+ }, Se = (e, t) => Os().global.t(e, t), ec = ["disabled"], tc = ["disabled"], nc = ["disabled"], Ft = /* @__PURE__ */ de({
3785
3785
  name: "Button",
3786
3786
  inheritAttrs: !1,
3787
3787
  __name: "Button",
@@ -3826,7 +3826,7 @@ const Os = () => (Hn || (Hn = Wi({
3826
3826
  else
3827
3827
  return t.type === "secondary" ? "var(--material-base-secondary)" : t.type === "foreground" ? "var(--text-face-primary)" : t.type === "sameWhite" ? "var(--text-same-black-primary)" : "var(--material-same-white-primary)";
3828
3828
  });
3829
- return (m, v) => e.icon || m.$slots.icon ? (w(), x("div", {
3829
+ return (m, v) => e.icon || m.$slots.icon ? (w(), D("div", {
3830
3830
  key: 0,
3831
3831
  class: Z(["cregis-button__icon-wrapper", { "cregis-button__icon-wrapper--professional": e.iconType === "professional" }])
3832
3832
  }, [
@@ -3846,20 +3846,20 @@ const Os = () => (Hn || (Hn = Wi({
3846
3846
  e.icon ? (w(), Oe(sn(e.icon), {
3847
3847
  key: 0,
3848
3848
  size: o.value
3849
- }, null, 8, ["size"])) : (w(), x("span", {
3849
+ }, null, 8, ["size"])) : (w(), D("span", {
3850
3850
  key: 1,
3851
3851
  class: "cregis-button__icon-slot-inner",
3852
- style: ce({ "--cregis-btn-icon-slot-size": o.value })
3852
+ style: le({ "--cregis-btn-icon-slot-size": o.value })
3853
3853
  }, [
3854
- de(m.$slots, "icon")
3854
+ ue(m.$slots, "icon")
3855
3855
  ], 4))
3856
3856
  ], 16, ec),
3857
- e.iconText ? (w(), x("span", {
3857
+ e.iconText ? (w(), D("span", {
3858
3858
  key: 0,
3859
3859
  class: Z(["cregis-button__icon-text", { "is-disabled": e.disabled }]),
3860
3860
  onClick: r
3861
3861
  }, J(e.iconText), 3)) : X("", !0)
3862
- ], 2)) : e.link ? (w(), x("button", gt({ key: 1 }, m.$attrs, {
3862
+ ], 2)) : e.link ? (w(), D("button", gt({ key: 1 }, m.$attrs, {
3863
3863
  class: ["cregis-button__link", {
3864
3864
  [`cregis-button__link--${e.type}`]: e.type,
3865
3865
  [`cregis-button__link--${e.size}`]: e.size,
@@ -3868,8 +3868,8 @@ const Os = () => (Hn || (Hn = Wi({
3868
3868
  }],
3869
3869
  disabled: e.disabled || e.loading
3870
3870
  }), [
3871
- de(m.$slots, "default")
3872
- ], 16, tc)) : (w(), x("button", gt({
3871
+ ue(m.$slots, "default")
3872
+ ], 16, tc)) : (w(), D("button", gt({
3873
3873
  key: 2,
3874
3874
  ref: "buttonRef"
3875
3875
  }, m.$attrs, {
@@ -3892,7 +3892,7 @@ const Os = () => (Hn || (Hn = Wi({
3892
3892
  class: "loading",
3893
3893
  size: l.value,
3894
3894
  color: f.value
3895
- }, null, 8, ["size", "color"])) : de(m.$slots, "default", { key: 1 })
3895
+ }, null, 8, ["size", "color"])) : ue(m.$slots, "default", { key: 1 })
3896
3896
  ], 16, nc));
3897
3897
  }
3898
3898
  }), rc = {
@@ -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__ */ ue({
3907
+ }, Ls = /* @__PURE__ */ de({
3908
3908
  name: "Input",
3909
3909
  inheritAttrs: !1,
3910
3910
  __name: "Input",
@@ -3958,8 +3958,8 @@ const Os = () => (Hn || (Hn = Wi({
3958
3958
  let j = V ? R.slice(1) : R;
3959
3959
  const ee = j.indexOf(".");
3960
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);
3961
+ const ie = j.slice(0, ee), _e = j.slice(ee + 1);
3962
+ return A === 0 ? (V ? "-" : "") + ie : _e.length <= A ? k : (V ? "-" : "") + ie + "." + _e.slice(0, A);
3963
3963
  }, g = (k) => {
3964
3964
  let A = k;
3965
3965
  return l.value && (A = v(A)), a.nonNegative && (A = s(A)), o.value !== null && (A = p(A)), A;
@@ -4028,14 +4028,14 @@ const Os = () => (Hn || (Hn = Wi({
4028
4028
  if (A !== null && A > 0 && k.key !== "." && /^\d$/.test(k.key)) {
4029
4029
  const R = k.target, V = m(R.value), j = R.selectionStart, ee = R.selectionEnd;
4030
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();
4031
+ const ie = V.slice(0, j) + k.key + V.slice(ee), _e = ie.indexOf(".");
4032
+ _e !== -1 && ie.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
- }), (k, A) => e.type !== "textarea" ? (w(), x("div", {
4038
+ }), (k, A) => e.type !== "textarea" ? (w(), D("div", {
4039
4039
  key: 0,
4040
4040
  class: Z(["cregis-input", {
4041
4041
  [`cregis-input--${e.size}`]: e.size,
@@ -4043,13 +4043,13 @@ const Os = () => (Hn || (Hn = Wi({
4043
4043
  "is-prefix": k.$slots.prefix,
4044
4044
  "is-suffix": k.$slots.suffix
4045
4045
  }]),
4046
- style: ce([{ width: e.width }, e.inputStyle])
4046
+ style: le([{ width: e.width }, e.inputStyle])
4047
4047
  }, [
4048
4048
  F("div", {
4049
4049
  class: Z(["cregis-input__wrapper", { "is-focus": d.value }])
4050
4050
  }, [
4051
- k.$slots.prefix ? (w(), x("span", rc, [
4052
- de(k.$slots, "prefix")
4051
+ k.$slots.prefix ? (w(), D("span", rc, [
4052
+ ue(k.$slots, "prefix")
4053
4053
  ])) : X("", !0),
4054
4054
  Ut(F("input", gt({
4055
4055
  class: "cregis-input__inner",
@@ -4071,13 +4071,13 @@ const Os = () => (Hn || (Hn = Wi({
4071
4071
  }), null, 16, ac), [
4072
4072
  [Js, E.value]
4073
4073
  ]),
4074
- e.unit && E.value ? (w(), x("span", {
4074
+ e.unit && E.value ? (w(), D("span", {
4075
4075
  key: 1,
4076
- style: ce(H.value),
4076
+ style: le(H.value),
4077
4077
  class: "cregis-input__unit"
4078
4078
  }, J(e.unit), 5)) : X("", !0),
4079
- k.$slots.suffix || W.value ? (w(), x("span", sc, [
4080
- de(k.$slots, "suffix"),
4079
+ k.$slots.suffix || W.value ? (w(), D("span", sc, [
4080
+ ue(k.$slots, "suffix"),
4081
4081
  W.value ? (w(), Oe(Ft, {
4082
4082
  key: 0,
4083
4083
  icon: te(eo),
@@ -4088,10 +4088,10 @@ const Os = () => (Hn || (Hn = Wi({
4088
4088
  }, null, 8, ["icon"])) : X("", !0)
4089
4089
  ])) : X("", !0)
4090
4090
  ], 2)
4091
- ], 6)) : (w(), x("div", {
4091
+ ], 6)) : (w(), D("div", {
4092
4092
  key: 1,
4093
4093
  class: Z(["cregis-textarea", { "is-disabled": e.disabled }]),
4094
- style: ce([{ width: e.width }, e.inputStyle])
4094
+ style: le([{ width: e.width }, e.inputStyle])
4095
4095
  }, [
4096
4096
  Ut(F("textarea", gt({ class: "cregis-textarea__wrapper" }, k.$attrs, {
4097
4097
  spellcheck: "false",
@@ -4108,7 +4108,7 @@ const Os = () => (Hn || (Hn = Wi({
4108
4108
  }), null, 16, oc), [
4109
4109
  [Zs, E.value]
4110
4110
  ]),
4111
- e.disabled ? X("", !0) : (w(), x("div", lc, [
4111
+ e.disabled ? X("", !0) : (w(), D("div", lc, [
4112
4112
  oe(Ft, {
4113
4113
  class: "cregis-textarea__button",
4114
4114
  link: "",
@@ -4116,7 +4116,7 @@ const Os = () => (Hn || (Hn = Wi({
4116
4116
  onClick: Y
4117
4117
  }, {
4118
4118
  default: Ne(() => [
4119
- qe(J(e.pasteText), 1)
4119
+ Ke(J(e.pasteText), 1)
4120
4120
  ]),
4121
4121
  _: 1
4122
4122
  }),
@@ -4128,7 +4128,7 @@ const Os = () => (Hn || (Hn = Wi({
4128
4128
  onClick: B
4129
4129
  }, {
4130
4130
  default: Ne(() => [
4131
- qe(J(e.clearText), 1)
4131
+ Ke(J(e.clearText), 1)
4132
4132
  ]),
4133
4133
  _: 1
4134
4134
  }, 8, ["disabled"])
@@ -4140,13 +4140,13 @@ 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__ */ ue({
4143
+ }, uc = { transform: "translate(-394.000000, -457.000000)" }, dc = { transform: "translate(394.000000, 457.000000)" }, fc = ["width", "height"], mc = /* @__PURE__ */ de({
4144
4144
  __name: "checked-basis",
4145
4145
  props: {
4146
4146
  size: { default: "16px" }
4147
4147
  },
4148
4148
  setup(e) {
4149
- return (t, n) => (w(), x("svg", {
4149
+ return (t, n) => (w(), D("svg", {
4150
4150
  width: e.size,
4151
4151
  height: e.size,
4152
4152
  viewBox: "0 0 16 16",
@@ -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__ */ ue({
4179
+ }, Cr = /* @__PURE__ */ de({
4180
4180
  name: "Checkbox",
4181
4181
  __name: "Checkbox",
4182
4182
  props: {
@@ -4196,7 +4196,7 @@ const Os = () => (Hn || (Hn = Wi({
4196
4196
  () => {
4197
4197
  a("change", r.value);
4198
4198
  }
4199
- ), (o, l) => (w(), x("div", {
4199
+ ), (o, l) => (w(), D("div", {
4200
4200
  class: "cregis-checkbox__wrapper",
4201
4201
  onClick: s
4202
4202
  }, [
@@ -4208,22 +4208,22 @@ const Os = () => (Hn || (Hn = Wi({
4208
4208
  "is-indeterminate": e.indeterminate
4209
4209
  }])
4210
4210
  }, [
4211
- e.indeterminate ? (w(), x("div", pc)) : (w(), Oe(mc, {
4211
+ e.indeterminate ? (w(), D("div", pc)) : (w(), Oe(mc, {
4212
4212
  key: 1,
4213
4213
  size: "10px"
4214
4214
  }))
4215
4215
  ], 2),
4216
- o.$slots.default || e.label ? (w(), x("span", {
4216
+ o.$slots.default || e.label ? (w(), D("span", {
4217
4217
  key: 0,
4218
4218
  class: Z(["cregis-checkbox__label", { "is-disabled": e.disabled }])
4219
4219
  }, [
4220
- de(o.$slots, "default", {}, () => [
4221
- qe(J(e.label), 1)
4220
+ ue(o.$slots, "default", {}, () => [
4221
+ Ke(J(e.label), 1)
4222
4222
  ])
4223
4223
  ], 2)) : X("", !0)
4224
4224
  ]));
4225
4225
  }
4226
- }), _f = /* @__PURE__ */ ue({
4226
+ }), bf = /* @__PURE__ */ de({
4227
4227
  name: "Radio",
4228
4228
  __name: "Radio",
4229
4229
  props: {
@@ -4237,7 +4237,7 @@ const Os = () => (Hn || (Hn = Wi({
4237
4237
  const n = e, a = t, r = I(() => n.modelValue === n.value), s = () => {
4238
4238
  n.disabled || (a("update:modelValue", n.value), a("change", n.value));
4239
4239
  };
4240
- return (o, l) => (w(), x("div", {
4240
+ return (o, l) => (w(), D("div", {
4241
4241
  class: "cregis-radio__wrapper",
4242
4242
  onClick: s
4243
4243
  }, [
@@ -4249,17 +4249,17 @@ const Os = () => (Hn || (Hn = Wi({
4249
4249
  }, [...l[0] || (l[0] = [
4250
4250
  F("div", { class: "cregis-radio__inner" }, null, -1)
4251
4251
  ])], 2),
4252
- o.$slots.default || e.label ? (w(), x("span", {
4252
+ o.$slots.default || e.label ? (w(), D("span", {
4253
4253
  key: 0,
4254
4254
  class: Z(["cregis-radio__label", { "is-disabled": e.disabled }])
4255
4255
  }, [
4256
- de(o.$slots, "default", {}, () => [
4257
- qe(J(e.label), 1)
4256
+ ue(o.$slots, "default", {}, () => [
4257
+ Ke(J(e.label), 1)
4258
4258
  ])
4259
4259
  ], 2)) : X("", !0)
4260
4260
  ]));
4261
4261
  }
4262
- }), bf = /* @__PURE__ */ ue({
4262
+ }), yf = /* @__PURE__ */ de({
4263
4263
  name: "Divider",
4264
4264
  __name: "Divider",
4265
4265
  props: {
@@ -4290,14 +4290,14 @@ const Os = () => (Hn || (Hn = Wi({
4290
4290
  borderLeftColor: t.color,
4291
4291
  margin: n.value
4292
4292
  });
4293
- return (r, s) => (w(), x("div", {
4293
+ return (r, s) => (w(), D("div", {
4294
4294
  class: Z(["cregis-divider", {
4295
4295
  [`cregis-divider--${e.direction}`]: e.direction
4296
4296
  }]),
4297
- style: ce(a.value)
4297
+ style: le(a.value)
4298
4298
  }, null, 6));
4299
4299
  }
4300
- }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, yf = /* @__PURE__ */ ue({
4300
+ }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, Ef = /* @__PURE__ */ de({
4301
4301
  name: "Tabs",
4302
4302
  __name: "Tabs",
4303
4303
  props: {
@@ -4325,26 +4325,26 @@ const Os = () => (Hn || (Hn = Wi({
4325
4325
  activeName: En(t, "modelValue"),
4326
4326
  registerTab: a,
4327
4327
  unregisterTab: r
4328
- }), (o, l) => (w(), x("div", {
4328
+ }), (o, l) => (w(), D("div", {
4329
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
- (w(!0), x(Be, null, vt(n, (i) => (w(), x("div", {
4334
+ (w(!0), D(Be, null, vt(n, (i) => (w(), D("div", {
4335
4335
  key: i.name,
4336
4336
  class: Z(["cregis-tabs__item", { "is-active": e.modelValue === i.name }]),
4337
- style: ce(s.value),
4337
+ style: le(s.value),
4338
4338
  onClick: (f) => o.$emit("update:modelValue", i.name)
4339
4339
  }, [
4340
4340
  F("span", null, J(i.label), 1)
4341
4341
  ], 14, vc))), 128)),
4342
4342
  F("div", gc, [
4343
- de(o.$slots, "default")
4343
+ ue(o.$slots, "default")
4344
4344
  ])
4345
4345
  ], 2));
4346
4346
  }
4347
- }), Ef = /* @__PURE__ */ ue({
4347
+ }), Tf = /* @__PURE__ */ de({
4348
4348
  name: "TabPane",
4349
4349
  __name: "TabPane",
4350
4350
  props: {
@@ -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__ */ ue({
4373
+ }, _c = { class: "cregis-message__icon" }, bc = /* @__PURE__ */ de({
4374
4374
  name: "Message",
4375
4375
  __name: "Message",
4376
4376
  props: {
@@ -4393,7 +4393,7 @@ const Os = () => (Hn || (Hn = Wi({
4393
4393
  a !== void 0 && clearTimeout(a);
4394
4394
  }), dt(() => {
4395
4395
  n.value = !0;
4396
- }), (o, l) => (w(), x("div", {
4396
+ }), (o, l) => (w(), D("div", {
4397
4397
  class: Z(["cregis-message__wrapper", { "cregis-message__wrapper--success": e.type === "success" }])
4398
4398
  }, [
4399
4399
  oe(mn, {
@@ -4402,12 +4402,12 @@ const Os = () => (Hn || (Hn = Wi({
4402
4402
  onAfterLeave: s
4403
4403
  }, {
4404
4404
  default: Ne(() => [
4405
- n.value && e.type !== "success" ? (w(), x("div", {
4405
+ n.value && e.type !== "success" ? (w(), D("div", {
4406
4406
  key: 0,
4407
4407
  class: Z(["cregis-message", { "cregis-message--danger": e.type === "danger" }]),
4408
4408
  role: "status",
4409
4409
  "aria-live": "polite"
4410
- }, J(e.message), 3)) : n.value && e.type === "success" ? (w(), x("div", hc, [
4410
+ }, J(e.message), 3)) : n.value && e.type === "success" ? (w(), D("div", hc, [
4411
4411
  F("div", _c, [
4412
4412
  oe(te(Ma), {
4413
4413
  size: "16px",
@@ -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__ */ ue({
4455
+ }, Nc = { class: "cregis-notification__content" }, Oc = { class: "cregis-notification__title" }, Lc = { class: "cregis-notification__message" }, Cc = /* @__PURE__ */ de({
4456
4456
  name: "Notification",
4457
4457
  __name: "Notification",
4458
4458
  props: {
@@ -4471,13 +4471,13 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4471
4471
  return $a(() => {
4472
4472
  }), dt(() => {
4473
4473
  n.value = !0;
4474
- }), (s, o) => (w(), x("div", Ec, [
4474
+ }), (s, o) => (w(), D("div", Ec, [
4475
4475
  oe(mn, {
4476
4476
  name: "cregis-notification",
4477
4477
  onAfterLeave: r
4478
4478
  }, {
4479
4479
  default: Ne(() => [
4480
- n.value ? (w(), x("div", Tc, [
4480
+ n.value ? (w(), D("div", Tc, [
4481
4481
  (w(), Oe(sn(te(to)), {
4482
4482
  size: "18px",
4483
4483
  color: "var(--material-danger-primary)"
@@ -4491,7 +4491,7 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4491
4491
  onClick: a
4492
4492
  }, {
4493
4493
  default: Ne(() => [
4494
- qe(J(e.btnText), 1)
4494
+ Ke(J(e.btnText), 1)
4495
4495
  ]),
4496
4496
  _: 1
4497
4497
  })
@@ -4503,7 +4503,7 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4503
4503
  }
4504
4504
  });
4505
4505
  let zn = !1;
4506
- function Tf(e) {
4506
+ function Nf(e) {
4507
4507
  if (zn) return;
4508
4508
  const { title: t, message: n, type: a, btnText: r } = e;
4509
4509
  zn = !0;
@@ -4524,7 +4524,7 @@ function Tf(e) {
4524
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
- }, Nf = /* @__PURE__ */ ue({
4527
+ }, Of = /* @__PURE__ */ de({
4528
4528
  name: "Progress",
4529
4529
  __name: "Progress",
4530
4530
  props: {
@@ -4540,26 +4540,26 @@ const wc = { class: "cregis-progress__wrapper" }, Sc = { class: "cregis-progress
4540
4540
  })), r = I(() => ({
4541
4541
  "--cregis-progress-tip-left": `${n.value}%`
4542
4542
  })), s = I(() => `${Math.round(t.percentage)}%`);
4543
- return (o, l) => (w(), x("div", wc, [
4543
+ return (o, l) => (w(), D("div", wc, [
4544
4544
  F("div", Sc, [
4545
- e.showPercentage && !t.loading ? (w(), x("div", {
4545
+ e.showPercentage && !t.loading ? (w(), D("div", {
4546
4546
  key: 0,
4547
4547
  class: "cregis-progress__tip",
4548
- style: ce(r.value),
4548
+ style: le(r.value),
4549
4549
  "aria-live": "polite"
4550
4550
  }, J(s.value), 5)) : X("", !0),
4551
4551
  F("div", kc, [
4552
4552
  F("div", {
4553
4553
  class: "cregis-progress__bar",
4554
- style: ce(a.value)
4554
+ style: le(a.value)
4555
4555
  }, null, 4),
4556
- t.loading ? (w(), x("div", Ic)) : X("", !0)
4556
+ t.loading ? (w(), D("div", Ic)) : X("", !0)
4557
4557
  ])
4558
4558
  ])
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", dn = "end", Ac = "clippingParents", ws = "viewport", Zt = "popper", Dc = "reference", Ea = /* @__PURE__ */ pn.reduce(function(e, t) {
4562
+ var $e = "top", Xe = "bottom", qe = "right", Me = "left", wr = "auto", pn = [$e, Xe, qe, Me], Yt = "start", dn = "end", Ac = "clippingParents", ws = "viewport", Zt = "popper", Dc = "reference", Ea = /* @__PURE__ */ pn.reduce(function(e, t) {
4563
4563
  return e.concat([t + "-" + Yt, t + "-" + dn]);
4564
4564
  }, []), Ss = /* @__PURE__ */ [].concat(pn, [wr]).reduce(function(e, t) {
4565
4565
  return e.concat([t, t + "-" + Yt, t + "-" + dn]);
@@ -4765,9 +4765,9 @@ var Xc = function(t, n) {
4765
4765
  })) : t, Ds(typeof t != "number" ? t : xs(t, pn));
4766
4766
  };
4767
4767
  function qc(e) {
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";
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, qe].indexOf(l) >= 0, m = f ? "height" : "width";
4769
4769
  if (!(!s || !o)) {
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 = vn(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 = nn(h, T, S), W = i;
4770
+ var v = Xc(r.padding, n), p = kr(s), g = i === "y" ? $e : Me, E = i === "y" ? Xe : qe, 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], S = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + O, y = nn(h, T, S), W = i;
4771
4771
  n.modifiersData[a] = (t = {}, t[W] = y, t.centerOffset = y - T, t);
4772
4772
  }
4773
4773
  }
@@ -4812,16 +4812,16 @@ function Na(e) {
4812
4812
  var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), O = Me, h = $e, S = window;
4813
4813
  if (f) {
4814
4814
  var T = vn(n), y = "clientHeight", W = "clientWidth";
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 === dn) {
4816
- h = Ke;
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 === qe) && s === dn) {
4816
+ h = Xe;
4817
4817
  var B = v && T === S && S.visualViewport ? S.visualViewport.height : (
4818
4818
  // $FlowFixMe[prop-missing]
4819
4819
  T[y]
4820
4820
  );
4821
4821
  N -= B - a.height, N *= i ? 1 : -1;
4822
4822
  }
4823
- if (r === Me || (r === $e || r === Ke) && s === dn) {
4824
- O = Xe;
4823
+ if (r === Me || (r === $e || r === Xe) && s === dn) {
4824
+ O = qe;
4825
4825
  var G = v && T === S && S.visualViewport ? S.visualViewport.width : (
4826
4826
  // $FlowFixMe[prop-missing]
4827
4827
  T[W]
@@ -5002,13 +5002,13 @@ function Rs(e) {
5002
5002
  y: t.y - n.height
5003
5003
  };
5004
5004
  break;
5005
- case Ke:
5005
+ case Xe:
5006
5006
  i = {
5007
5007
  x: o,
5008
5008
  y: t.y + t.height
5009
5009
  };
5010
5010
  break;
5011
- case Xe:
5011
+ case qe:
5012
5012
  i = {
5013
5013
  x: t.x + t.width,
5014
5014
  y: l
@@ -5055,7 +5055,7 @@ function fn(e, t) {
5055
5055
  if (p === Zt && H) {
5056
5056
  var Y = H[r];
5057
5057
  Object.keys(G).forEach(function(U) {
5058
- var q = [Xe, Ke].indexOf(U) >= 0 ? 1 : -1, he = [$e, Ke].indexOf(U) >= 0 ? "y" : "x";
5058
+ var q = [qe, Xe].indexOf(U) >= 0 ? 1 : -1, he = [$e, Xe].indexOf(U) >= 0 ? "y" : "x";
5059
5059
  G[U] += Y[he] * q;
5060
5060
  });
5061
5061
  }
@@ -5100,13 +5100,13 @@ function pu(e) {
5100
5100
  allowedAutoPlacements: N
5101
5101
  }) : ke);
5102
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 = fn(t, {
5103
+ var H = h[G], Y = rt(H), U = qt(H) === Yt, q = [$e, Xe].indexOf(Y) >= 0, he = q ? "width" : "height", k = fn(t, {
5104
5104
  placement: H,
5105
5105
  boundary: m,
5106
5106
  rootBoundary: v,
5107
5107
  altBoundary: p,
5108
5108
  padding: f
5109
- }), A = q ? U ? Xe : Me : U ? Ke : $e;
5109
+ }), A = q ? U ? qe : Me : U ? Xe : $e;
5110
5110
  S[he] > T[he] && (A = Nn(A));
5111
5111
  var R = Nn(A), V = [];
5112
5112
  if (s && V.push(k[Y] <= 0), l && V.push(k[A] <= 0, k[R] <= 0), V.every(function(Re) {
@@ -5128,8 +5128,8 @@ function pu(e) {
5128
5128
  });
5129
5129
  if (xe)
5130
5130
  return B = xe, "break";
5131
- }, le = j; le > 0; le--) {
5132
- var _e = ee(le);
5131
+ }, ie = j; ie > 0; ie--) {
5132
+ var _e = ee(ie);
5133
5133
  if (_e === "break") break;
5134
5134
  }
5135
5135
  t.placement !== B && (t.modifiersData[a]._skip = !0, t.placement = B, t.reset = !0);
@@ -5157,7 +5157,7 @@ function Ca(e, t, n) {
5157
5157
  };
5158
5158
  }
5159
5159
  function wa(e) {
5160
- return [$e, Xe, Ke, Me].some(function(t) {
5160
+ return [$e, qe, Xe, Me].some(function(t) {
5161
5161
  return e[t] >= 0;
5162
5162
  });
5163
5163
  }
@@ -5188,7 +5188,7 @@ function _u(e, t, n) {
5188
5188
  var a = rt(e), r = [Me, $e].indexOf(a) >= 0 ? -1 : 1, s = typeof n == "function" ? n(Object.assign({}, t, {
5189
5189
  placement: e
5190
5190
  })) : n, o = s[0], l = s[1];
5191
- return o = o || 0, l = (l || 0) * r, [Me, Xe].indexOf(a) >= 0 ? {
5191
+ return o = o || 0, l = (l || 0) * r, [Me, qe].indexOf(a) >= 0 ? {
5192
5192
  x: l,
5193
5193
  y: o
5194
5194
  } : {
@@ -5247,14 +5247,14 @@ 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, 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) : {
5250
+ var U, q = h === "y" ? $e : Me, he = h === "y" ? Xe : qe, 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], ie = _ === Yt ? -W[k] : -y[k], _e = t.elements.arrow, Re = g && _e ? kr(_e) : {
5251
5251
  width: 0,
5252
5252
  height: 0
5253
- }, ke = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : As(), xe = ke[q], $ = ke[he], pe = nn(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 && 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 = nn(g ? Cn(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 = nn(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 : ie + 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 = nn(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[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) : nn(g ? D : Q, b, g ? re : ve);
5257
+ var pt, c = h === "x" ? $e : Me, u = h === "x" ? Xe : qe, 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, x = 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(x, b, re) : nn(g ? x : Q, b, g ? re : ve);
5258
5258
  T[S] = be, Y[S] = be - b;
5259
5259
  }
5260
5260
  t.modifiersData[a] = Y;
@@ -5607,9 +5607,9 @@ function Fs(e, t, n = {}) {
5607
5607
  });
5608
5608
  }
5609
5609
  let On = 1e5;
5610
- const Us = () => (On = On + 1, On), Of = (e) => {
5610
+ const Us = () => (On = On + 1, On), Lf = (e) => {
5611
5611
  On = e;
5612
- }, cd = 80, cr = /* @__PURE__ */ ue({
5612
+ }, cd = 80, cr = /* @__PURE__ */ de({
5613
5613
  name: "Popover",
5614
5614
  __name: "Popover",
5615
5615
  props: {
@@ -5717,7 +5717,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5717
5717
  isOpen: a,
5718
5718
  open: W,
5719
5719
  close: B
5720
- }), (U, q) => (w(), x("div", gt({
5720
+ }), (U, q) => (w(), D("div", gt({
5721
5721
  class: "cregis-popover",
5722
5722
  ref_key: "popoverRef",
5723
5723
  ref: i
@@ -5727,7 +5727,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5727
5727
  ref_key: "popoverTriggerRef",
5728
5728
  ref: f
5729
5729
  }, Mn(te(g), !0)), [
5730
- de(U.$slots, "reference")
5730
+ ue(U.$slots, "reference")
5731
5731
  ], 16),
5732
5732
  (w(), Oe(dr, {
5733
5733
  to: "body",
@@ -5735,7 +5735,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5735
5735
  }, [
5736
5736
  oe(mn, { name: "fade" }, {
5737
5737
  default: Ne(() => [
5738
- s.value ? Ut((w(), x("div", gt({
5738
+ s.value ? Ut((w(), D("div", gt({
5739
5739
  key: 0,
5740
5740
  class: ["cregis-popover__content", { "cregis-popover__content--hide-scrollbar": L.value }],
5741
5741
  ref_key: "popoverContentRef",
@@ -5745,7 +5745,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5745
5745
  onScroll: q[0] || (q[0] = //@ts-ignore
5746
5746
  (...he) => te(Y) && te(Y)(...he))
5747
5747
  }), [
5748
- de(U.$slots, "default")
5748
+ ue(U.$slots, "default")
5749
5749
  ], 16)), [
5750
5750
  [An, o.value]
5751
5751
  ]) : X("", !0)
@@ -5767,7 +5767,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5767
5767
  }, pd = {
5768
5768
  key: 2,
5769
5769
  class: "cregis-select__dropdown-filter-empty"
5770
- }, vd = { class: "cregis-select__dropdown-content" }, Lf = /* @__PURE__ */ ue({
5770
+ }, vd = { class: "cregis-select__dropdown-content" }, Cf = /* @__PURE__ */ de({
5771
5771
  name: "Select",
5772
5772
  __name: "Select",
5773
5773
  props: {
@@ -5896,12 +5896,12 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5896
5896
  const $ = j.value;
5897
5897
  if (!($ == null || $ === ""))
5898
5898
  return typeof $ == "number" ? `${$ - 12}px` : `calc(${$} - 12px)`;
5899
- }), le = I(() => n.align === "center" ? "bottom" : n.align === "left" ? "bottom-start" : "bottom-end"), _e = I(() => ({
5899
+ }), ie = I(() => n.align === "center" ? "bottom" : n.align === "left" ? "bottom-start" : "bottom-end"), _e = I(() => ({
5900
5900
  width: V(n.triggerWidth)
5901
5901
  })), Re = I(() => n.size === "large" ? "20px" : n.size === "medium" ? "14px" : "12px"), ke = z(0), xe = ($) => {
5902
5902
  ke.value = $.scrollTop;
5903
5903
  };
5904
- return ($, pe) => (w(), x("div", {
5904
+ return ($, pe) => (w(), D("div", {
5905
5905
  class: Z(["cregis-select", { "is-disabled": e.disabled, "is-percent-width": v(e.triggerWidth) }])
5906
5906
  }, [
5907
5907
  oe(cr, {
@@ -5909,7 +5909,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5909
5909
  ref: r,
5910
5910
  "preserve-content-mount": "",
5911
5911
  "popper-width": j.value,
5912
- placement: le.value,
5912
+ placement: ie.value,
5913
5913
  disabled: !!e.disabled,
5914
5914
  padding: 0,
5915
5915
  "max-popper-height": e.maxPopperHeight,
@@ -5921,12 +5921,12 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5921
5921
  ref_key: "triggerRef",
5922
5922
  ref: s,
5923
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)
5924
+ style: le(_e.value)
5925
5925
  }, [
5926
5926
  F("div", {
5927
5927
  class: Z(["cregis-select__trigger-label", { "is-multiple": e.multiple }])
5928
5928
  }, [
5929
- S.value ? de($.$slots, "label", {
5929
+ S.value ? ue($.$slots, "label", {
5930
5930
  key: 0,
5931
5931
  modelValue: e.modelValue,
5932
5932
  displayText: y.value,
@@ -5935,8 +5935,8 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5935
5935
  hasSelection: S.value
5936
5936
  }, () => [
5937
5937
  F("p", ud, J(y.value), 1),
5938
- e.multiple ? (w(), x("span", dd, J(T.value), 1)) : X("", !0)
5939
- ]) : (w(), x("p", fd, J(e.placeholder), 1))
5938
+ e.multiple ? (w(), D("span", dd, J(T.value), 1)) : X("", !0)
5939
+ ]) : (w(), D("p", fd, J(e.placeholder), 1))
5940
5940
  ], 2),
5941
5941
  F("span", {
5942
5942
  class: Z(["cregis-select__icon", { "is-open": o.value }])
@@ -5952,8 +5952,8 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5952
5952
  F("div", {
5953
5953
  class: Z(["cregis-select__dropdown", { "is-empty": h.value }])
5954
5954
  }, [
5955
- h.value ? (w(), x("p", md, J(e.noDataText || te(Se)("select.noData")), 1)) : X("", !0),
5956
- e.filterable && !h.value ? (w(), x("div", {
5955
+ h.value ? (w(), D("p", md, J(e.noDataText || te(Se)("select.noData")), 1)) : X("", !0),
5956
+ e.filterable && !h.value ? (w(), D("div", {
5957
5957
  key: 1,
5958
5958
  class: Z(["cregis-select__dropdown-filter", { "backdrop-fixed-header": ke.value > 10 }])
5959
5959
  }, [
@@ -5973,9 +5973,9 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5973
5973
  _: 1
5974
5974
  }, 8, ["modelValue", "placeholder", "width"])
5975
5975
  ], 2)) : X("", !0),
5976
- q.value ? (w(), x("p", pd, J(e.noMatchText || te(Se)("select.noMatch")), 1)) : X("", !0),
5976
+ q.value ? (w(), D("p", pd, J(e.noMatchText || te(Se)("select.noMatch")), 1)) : X("", !0),
5977
5977
  F("div", vd, [
5978
- de($.$slots, "default")
5978
+ ue($.$slots, "default")
5979
5979
  ])
5980
5980
  ], 2)
5981
5981
  ]),
@@ -5986,7 +5986,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
5986
5986
  }), gd = ["aria-selected"], hd = {
5987
5987
  key: 1,
5988
5988
  class: "cregis-select__option-content"
5989
- }, Cf = /* @__PURE__ */ ue({
5989
+ }, wf = /* @__PURE__ */ de({
5990
5990
  name: "Option",
5991
5991
  __name: "Option",
5992
5992
  props: {
@@ -6010,7 +6010,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6010
6010
  const p = m.value;
6011
6011
  return p ? r().toLowerCase().includes(p) : !0;
6012
6012
  });
6013
- return (p, g) => Ut((w(), x("div", {
6013
+ return (p, g) => Ut((w(), D("div", {
6014
6014
  class: Z(["cregis-select__option", {
6015
6015
  "is-selected": l.value && !o.value,
6016
6016
  "is-disabled": e.disabled,
@@ -6028,23 +6028,23 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6028
6028
  }, ["stop"])),
6029
6029
  "onUpdate:modelValue": f
6030
6030
  }, null, 8, ["model-value", "disabled"])) : X("", !0),
6031
- o.value ? (w(), x("div", hd, [
6032
- de(p.$slots, "default", {
6031
+ o.value ? (w(), D("div", hd, [
6032
+ ue(p.$slots, "default", {
6033
6033
  label: e.label,
6034
6034
  value: e.value,
6035
6035
  disabled: !!e.disabled,
6036
6036
  selected: l.value
6037
6037
  }, () => [
6038
- qe(J(e.label), 1)
6038
+ Ke(J(e.label), 1)
6039
6039
  ])
6040
- ])) : de(p.$slots, "default", {
6040
+ ])) : ue(p.$slots, "default", {
6041
6041
  key: 2,
6042
6042
  label: e.label,
6043
6043
  value: e.value,
6044
6044
  disabled: !!e.disabled,
6045
6045
  selected: l.value
6046
6046
  }, () => [
6047
- qe(J(e.label), 1)
6047
+ Ke(J(e.label), 1)
6048
6048
  ])
6049
6049
  ], 10, gd)), [
6050
6050
  [An, v.value]
@@ -6065,7 +6065,7 @@ const Us = () => (On = On + 1, On), Of = (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" }, Sd = ["onClick"], kd = ["onClick"], wf = /* @__PURE__ */ ue({
6068
+ }, wd = { class: "cregis-cascader__suboption-panel" }, Sd = ["onClick"], kd = ["onClick"], Sf = /* @__PURE__ */ de({
6069
6069
  name: "Cascader",
6070
6070
  __name: "Cascader",
6071
6071
  props: {
@@ -6180,7 +6180,7 @@ const Us = () => (On = On + 1, On), Of = (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), 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) => {
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, ie = (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) => {
@@ -6201,7 +6201,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6201
6201
  const u = c.target;
6202
6202
  Ue.value = u.scrollTop;
6203
6203
  }, pt = [-16, -8];
6204
- return (c, u) => (w(), x("div", {
6204
+ return (c, u) => (w(), D("div", {
6205
6205
  class: Z(["cregis-cascader", { "is-disabled": e.disabled }])
6206
6206
  }, [
6207
6207
  oe(cr, {
@@ -6216,7 +6216,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6216
6216
  onVisibleChange: G
6217
6217
  }, {
6218
6218
  reference: Ne(() => [
6219
- c.$slots.trigger ? de(c.$slots, "trigger", {
6219
+ c.$slots.trigger ? ue(c.$slots, "trigger", {
6220
6220
  key: 0,
6221
6221
  modelValue: k.value,
6222
6222
  selectedLabel: A.value,
@@ -6227,13 +6227,13 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6227
6227
  hasSelection: q.value,
6228
6228
  open: s.value,
6229
6229
  disabled: !!e.disabled
6230
- }) : (w(), x("div", {
6230
+ }) : (w(), D("div", {
6231
6231
  key: 1,
6232
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)
6233
+ style: le(Ze.value)
6234
6234
  }, [
6235
6235
  F("div", _d, [
6236
- q.value ? de(c.$slots, "label", {
6236
+ q.value ? ue(c.$slots, "label", {
6237
6237
  key: 0,
6238
6238
  modelValue: k.value,
6239
6239
  selectedLabel: A.value,
@@ -6244,7 +6244,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6244
6244
  hasSelection: q.value
6245
6245
  }, () => [
6246
6246
  F("p", bd, J(he.value), 1)
6247
- ]) : (w(), x("p", yd, J(e.placeholder), 1))
6247
+ ]) : (w(), D("p", yd, J(e.placeholder), 1))
6248
6248
  ]),
6249
6249
  F("span", {
6250
6250
  class: Z(["cregis-cascader__icon", { "is-open": s.value }])
@@ -6259,11 +6259,11 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6259
6259
  default: Ne(() => [
6260
6260
  F("div", {
6261
6261
  class: Z(["cregis-cascader__dropdown", { "is-empty": y.value }]),
6262
- style: ce(Ie.value),
6262
+ style: le(Ie.value),
6263
6263
  onScroll: et
6264
6264
  }, [
6265
- y.value ? (w(), x("p", Ed, J(e.noDataText || te(Se)("cascader.noData")), 1)) : X("", !0),
6266
- e.filterable && !y.value ? (w(), x("div", {
6265
+ y.value ? (w(), D("p", Ed, J(e.noDataText || te(Se)("cascader.noData")), 1)) : X("", !0),
6266
+ e.filterable && !y.value ? (w(), D("div", {
6267
6267
  key: 1,
6268
6268
  class: Z(["cregis-cascader__dropdown-filter", { "backdrop-fixed-header": Ue.value > 10 }])
6269
6269
  }, [
@@ -6283,13 +6283,13 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6283
6283
  _: 1
6284
6284
  }, 8, ["modelValue", "placeholder", "width"])
6285
6285
  ], 2)) : X("", !0),
6286
- B.value ? (w(), x("p", Td, J(e.noMatchText || te(Se)("cascader.noMatch")), 1)) : X("", !0),
6286
+ B.value ? (w(), D("p", Td, J(e.noMatchText || te(Se)("cascader.noMatch")), 1)) : X("", !0),
6287
6287
  F("ul", Nd, [
6288
- (w(!0), x(Be, null, vt(T.value, (b, P) => (w(), x("li", {
6288
+ (w(!0), D(Be, null, vt(T.value, (b, P) => (w(), D("li", {
6289
6289
  key: b.value,
6290
6290
  class: Z(["cregis-cascader__dropdown-item", { "is-disabled": b.disabled, "is-sub-open": o.value === b.value }])
6291
6291
  }, [
6292
- ee(b) ? (w(), x("div", Od, [
6292
+ ee(b) ? (w(), D("div", Od, [
6293
6293
  oe(cr, {
6294
6294
  ref_for: !0,
6295
6295
  ref: (Q) => i(b.value, Q),
@@ -6309,7 +6309,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6309
6309
  "is-parent-active": _e(b)
6310
6310
  }])
6311
6311
  }, [
6312
- de(c.$slots, "option", {
6312
+ ue(c.$slots, "option", {
6313
6313
  modelValue: k.value,
6314
6314
  selectedLabel: A.value,
6315
6315
  level: R.value,
@@ -6318,13 +6318,13 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6318
6318
  option: b,
6319
6319
  index: P,
6320
6320
  disabled: !!b.disabled,
6321
- selected: le(b.value),
6321
+ selected: ie(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
- e.showSubOptionAmount ? (w(), x("div", Cd, J(b.children.length), 1)) : X("", !0),
6327
+ e.showSubOptionAmount ? (w(), D("div", Cd, J(b.children.length), 1)) : X("", !0),
6328
6328
  oe(te(no), {
6329
6329
  size: "14px",
6330
6330
  color: "currentColor"
@@ -6334,16 +6334,16 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6334
6334
  ]),
6335
6335
  default: Ne(() => [
6336
6336
  F("div", wd, [
6337
- (w(!0), x(Be, null, vt(b.children, (Q, ve) => Ut((w(), x("div", {
6337
+ (w(!0), D(Be, null, vt(b.children, (Q, ve) => Ut((w(), D("div", {
6338
6338
  key: Q.value,
6339
6339
  class: Z(["cregis-cascader__suboption-row", {
6340
- "is-active": le(Q.value),
6340
+ "is-active": ie(Q.value),
6341
6341
  "is-disabled": Q.disabled
6342
6342
  }]),
6343
6343
  role: "menuitem",
6344
6344
  onClick: (ne) => Re(b, Q)
6345
6345
  }, [
6346
- de(c.$slots, "subOption", {
6346
+ ue(c.$slots, "subOption", {
6347
6347
  modelValue: k.value,
6348
6348
  selectedLabel: A.value,
6349
6349
  level: R.value,
@@ -6353,10 +6353,10 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6353
6353
  index: ve,
6354
6354
  parent: b,
6355
6355
  parentIndex: P,
6356
- selected: le(Q.value),
6356
+ selected: ie(Q.value),
6357
6357
  disabled: !!Q.disabled
6358
6358
  }, () => [
6359
- qe(J(Q.label), 1)
6359
+ Ke(J(Q.label), 1)
6360
6360
  ])
6361
6361
  ], 10, Sd)), [
6362
6362
  [An, S(b, Q)]
@@ -6365,12 +6365,12 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6365
6365
  ]),
6366
6366
  _: 2
6367
6367
  }, 1032, ["popper-width", "disabled", "onVisibleChange"])
6368
- ])) : (w(), x("div", {
6368
+ ])) : (w(), D("div", {
6369
6369
  key: 1,
6370
6370
  class: "cregis-cascader__leaf-only",
6371
6371
  onClick: (Q) => ke(b)
6372
6372
  }, [
6373
- de(c.$slots, "option", {
6373
+ ue(c.$slots, "option", {
6374
6374
  modelValue: k.value,
6375
6375
  selectedLabel: A.value,
6376
6376
  level: R.value,
@@ -6379,7 +6379,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6379
6379
  option: b,
6380
6380
  index: P,
6381
6381
  disabled: !!b.disabled,
6382
- selected: le(b.value),
6382
+ selected: ie(b.value),
6383
6383
  isParentOfSelected: !1
6384
6384
  }, () => [
6385
6385
  F("p", null, J(b.label), 1)
@@ -6393,24 +6393,39 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6393
6393
  }, 8, ["popper-width", "placement", "offset", "disabled"])
6394
6394
  ], 2));
6395
6395
  }
6396
- }), Sf = /* @__PURE__ */ ue({
6396
+ }), Id = {
6397
+ key: 0,
6398
+ class: "cregis-tag__content"
6399
+ }, kf = /* @__PURE__ */ de({
6397
6400
  name: "Tag",
6398
6401
  __name: "Tag",
6399
6402
  props: {
6400
6403
  type: { default: "subtle" },
6401
6404
  size: { default: "medium" },
6402
- text: {}
6405
+ text: {},
6406
+ maxWidth: {}
6403
6407
  },
6404
6408
  setup(e) {
6405
- return (t, n) => (w(), x("div", {
6406
- class: Z(["cregis-tag", [`cregis-tag--${e.type}`, `cregis-tag--${e.size}`]])
6409
+ const t = e, n = I(() => {
6410
+ if (t.maxWidth != null)
6411
+ return {
6412
+ maxWidth: typeof t.maxWidth == "number" ? `${t.maxWidth}px` : t.maxWidth
6413
+ };
6414
+ });
6415
+ return (a, r) => (w(), D("div", {
6416
+ class: Z(["cregis-tag", [`cregis-tag--${e.type}`, `cregis-tag--${e.size}`, { "cregis-tag--ellipsis": e.maxWidth != null }]]),
6417
+ style: le(n.value)
6407
6418
  }, [
6408
- de(t.$slots, "default", {}, () => [
6409
- qe(J(e.text), 1)
6419
+ e.maxWidth != null ? (w(), D("span", Id, [
6420
+ ue(a.$slots, "default", {}, () => [
6421
+ Ke(J(e.text), 1)
6422
+ ])
6423
+ ])) : ue(a.$slots, "default", { key: 1 }, () => [
6424
+ Ke(J(e.text), 1)
6410
6425
  ])
6411
- ], 2));
6426
+ ], 6));
6412
6427
  }
6413
- }), kf = /* @__PURE__ */ ue({
6428
+ }), If = /* @__PURE__ */ de({
6414
6429
  name: "Switch",
6415
6430
  __name: "Switch",
6416
6431
  props: {
@@ -6443,7 +6458,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6443
6458
  (l) => {
6444
6459
  a("change", l);
6445
6460
  }
6446
- ), (l, i) => (w(), x("div", {
6461
+ ), (l, i) => (w(), D("div", {
6447
6462
  class: Z(["cregis-switch", [
6448
6463
  `cregis-switch--${e.size}`,
6449
6464
  { "is-checked": s.value, "is-disabled": e.disabled || r.value }
@@ -6453,7 +6468,7 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6453
6468
  F("div", { class: "cregis-switch__circle" }, null, -1)
6454
6469
  ])], 2));
6455
6470
  }
6456
- }), Id = { class: "cregis-badge__wrapper" }, If = /* @__PURE__ */ ue({
6471
+ }), Ad = { class: "cregis-badge__wrapper" }, Af = /* @__PURE__ */ de({
6457
6472
  name: "Badge",
6458
6473
  __name: "Badge",
6459
6474
  props: {
@@ -6472,19 +6487,19 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6472
6487
  top: `${a.value[0]}px`,
6473
6488
  right: `${a.value[1]}px`
6474
6489
  }));
6475
- return (s, o) => (w(), x("div", Id, [
6476
- e.hidden ? X("", !0) : (w(), x("div", {
6490
+ return (s, o) => (w(), D("div", Ad, [
6491
+ e.hidden ? X("", !0) : (w(), D("div", {
6477
6492
  key: 0,
6478
6493
  class: Z(["cregis-badge", [`cregis-badge--${e.type}`, { "cregis-badge--dot": e.isDot }]]),
6479
- style: ce(r.value)
6494
+ style: le(r.value)
6480
6495
  }, J(e.isDot ? "" : Number(e.value) > e.max ? `${e.max}+` : e.value), 7)),
6481
- de(s.$slots, "default")
6496
+ ue(s.$slots, "default")
6482
6497
  ]));
6483
6498
  }
6484
- }), Ad = ["accept", "disabled"], Dd = ["src"], xd = {
6499
+ }), Dd = ["accept", "disabled"], xd = ["src"], Pd = {
6485
6500
  key: 3,
6486
6501
  class: "cregis-upload__mask"
6487
- }, Af = /* @__PURE__ */ ue({
6502
+ }, Df = /* @__PURE__ */ de({
6488
6503
  name: "Upload",
6489
6504
  __name: "Upload",
6490
6505
  props: {
@@ -6558,9 +6573,9 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6558
6573
  })), L = I(() => n.disabled || r.value > 0 && r.value < 100);
6559
6574
  return Je(() => {
6560
6575
  g && clearInterval(g);
6561
- }), (d, _) => (w(), x("div", {
6576
+ }), (d, _) => (w(), D("div", {
6562
6577
  class: Z(["cregis-upload", { "cregis-upload--disabled": L.value }]),
6563
- style: ce(f.value)
6578
+ style: le(f.value)
6564
6579
  }, [
6565
6580
  i.value ? X("", !0) : (w(), Oe(te(Mr), {
6566
6581
  key: 0,
@@ -6573,18 +6588,18 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6573
6588
  accept: e.accept,
6574
6589
  disabled: L.value,
6575
6590
  onChange: E
6576
- }, null, 40, Ad),
6577
- r.value > 0 && r.value < 100 ? (w(), x("div", {
6591
+ }, null, 40, Dd),
6592
+ r.value > 0 && r.value < 100 ? (w(), D("div", {
6578
6593
  key: 1,
6579
6594
  class: "cregis-upload__progress",
6580
- style: ce(N.value)
6595
+ style: le(N.value)
6581
6596
  }, null, 4)) : X("", !0),
6582
- i.value ? (w(), x("img", {
6597
+ i.value ? (w(), D("img", {
6583
6598
  key: 2,
6584
6599
  src: i.value,
6585
6600
  alt: ""
6586
- }, null, 8, Dd)) : X("", !0),
6587
- i.value ? (w(), x("div", xd, [
6601
+ }, null, 8, xd)) : X("", !0),
6602
+ i.value ? (w(), D("div", Pd, [
6588
6603
  oe(te(Mr), {
6589
6604
  size: "16px",
6590
6605
  color: "var(--text-same-white-primary)"
@@ -6594,11 +6609,11 @@ const Us = () => (On = On + 1, On), Of = (e) => {
6594
6609
  }
6595
6610
  });
6596
6611
  let an = 0, Bs = "";
6597
- const Pd = () => {
6612
+ const Rd = () => {
6598
6613
  an === 0 && (Bs = document.body.style.overflow, document.body.style.overflow = "hidden"), an++;
6599
6614
  }, xa = () => {
6600
6615
  an <= 0 || (an--, an === 0 && (document.body.style.overflow = Bs));
6601
- }, kn = /* @__PURE__ */ ue({
6616
+ }, kn = /* @__PURE__ */ de({
6602
6617
  name: "Dialog",
6603
6618
  __name: "Dialog",
6604
6619
  props: {
@@ -6617,7 +6632,7 @@ const Pd = () => {
6617
6632
  let r = !1;
6618
6633
  ye(() => [n.modelValue, n.lockScroll], () => {
6619
6634
  const v = n.modelValue && n.lockScroll;
6620
- v && !r ? (Pd(), r = !0) : !v && r && (xa(), r = !1);
6635
+ v && !r ? (Rd(), r = !0) : !v && r && (xa(), r = !1);
6621
6636
  }, { immediate: !0 }), Je(() => {
6622
6637
  r && (xa(), r = !1);
6623
6638
  });
@@ -6639,26 +6654,26 @@ const Pd = () => {
6639
6654
  onAfterLeave: m
6640
6655
  }, {
6641
6656
  default: Ne(() => [
6642
- e.modelValue ? (w(), x("div", {
6657
+ e.modelValue ? (w(), D("div", {
6643
6658
  key: 0,
6644
6659
  class: Z(["cregis-dialog__wrapper", {
6645
6660
  "cregis-dialog__wrapper--center": e.alignCenter,
6646
6661
  "cregis-dialog__wrapper--no-modal": !e.modal
6647
6662
  }]),
6648
- style: ce(l.value)
6663
+ style: le(l.value)
6649
6664
  }, [
6650
- e.modal ? (w(), x("div", {
6665
+ e.modal ? (w(), D("div", {
6651
6666
  key: 0,
6652
6667
  class: "cregis-dialog__mask",
6653
6668
  onClick: f
6654
6669
  })) : X("", !0),
6655
6670
  F("div", {
6656
6671
  class: "cregis-dialog",
6657
- style: ce(o.value),
6672
+ style: le(o.value),
6658
6673
  onClick: p[0] || (p[0] = Wt(() => {
6659
6674
  }, ["stop"]))
6660
6675
  }, [
6661
- e.showClose ? (w(), x("div", {
6676
+ e.showClose ? (w(), D("div", {
6662
6677
  key: 0,
6663
6678
  class: "cregis-dialog__close",
6664
6679
  onClick: i
@@ -6668,7 +6683,7 @@ const Pd = () => {
6668
6683
  color: "var(--material-same-white-primary)"
6669
6684
  })
6670
6685
  ])) : X("", !0),
6671
- de(v.$slots, "default")
6686
+ ue(v.$slots, "default")
6672
6687
  ], 4)
6673
6688
  ], 6)) : X("", !0)
6674
6689
  ]),
@@ -6676,13 +6691,13 @@ const Pd = () => {
6676
6691
  })
6677
6692
  ]));
6678
6693
  }
6679
- }), Rd = { class: "cregis-dialog-confirm" }, $d = { class: "cregis-dialog-confirm__icon-wrapper" }, Md = {
6694
+ }), $d = { class: "cregis-dialog-confirm" }, Md = { class: "cregis-dialog-confirm__icon-wrapper" }, Vd = {
6680
6695
  key: 0,
6681
6696
  class: "cregis-dialog-confirm__title"
6682
- }, Vd = {
6697
+ }, Fd = {
6683
6698
  key: 1,
6684
6699
  class: "cregis-dialog-confirm__message"
6685
- }, Fd = { class: "cregis-dialog-confirm__footer" }, Ud = /* @__PURE__ */ ue({
6700
+ }, Ud = { class: "cregis-dialog-confirm__footer" }, Wd = /* @__PURE__ */ de({
6686
6701
  name: "ConfirmDialog",
6687
6702
  __name: "ConfirmDialog",
6688
6703
  props: {
@@ -6731,8 +6746,8 @@ const Pd = () => {
6731
6746
  onAfterLeave: v
6732
6747
  }, {
6733
6748
  default: Ne(() => [
6734
- F("div", Rd, [
6735
- F("div", $d, [
6749
+ F("div", $d, [
6750
+ F("div", Md, [
6736
6751
  F("div", {
6737
6752
  class: Z(`cregis-dialog-confirm__icon cregis-dialog-confirm__icon--${e.type}`)
6738
6753
  }, [
@@ -6743,9 +6758,9 @@ const Pd = () => {
6743
6758
  }, null, 8, ["color"]))
6744
6759
  ], 2)
6745
6760
  ]),
6746
- e.title ? (w(), x("div", Md, J(e.title), 1)) : X("", !0),
6747
- e.message ? (w(), x("div", Vd, J(e.message), 1)) : X("", !0),
6748
- F("div", Fd, [
6761
+ e.title ? (w(), D("div", Vd, J(e.title), 1)) : X("", !0),
6762
+ e.message ? (w(), D("div", Fd, J(e.message), 1)) : X("", !0),
6763
+ F("div", Ud, [
6749
6764
  e.showConfirmButton ? (w(), Oe(Ft, {
6750
6765
  key: 0,
6751
6766
  type: "foreground",
@@ -6754,7 +6769,7 @@ const Pd = () => {
6754
6769
  onClick: f
6755
6770
  }, {
6756
6771
  default: Ne(() => [
6757
- qe(J(e.confirmButtonText || te(Se)("dialog.confirm")), 1)
6772
+ Ke(J(e.confirmButtonText || te(Se)("dialog.confirm")), 1)
6758
6773
  ]),
6759
6774
  _: 1
6760
6775
  }, 8, ["loading"])) : X("", !0),
@@ -6767,7 +6782,7 @@ const Pd = () => {
6767
6782
  onClick: m
6768
6783
  }, {
6769
6784
  default: Ne(() => [
6770
- qe(J(e.cancelButtonText || te(Se)("dialog.cancel")), 1)
6785
+ Ke(J(e.cancelButtonText || te(Se)("dialog.cancel")), 1)
6771
6786
  ]),
6772
6787
  _: 1
6773
6788
  }, 8, ["loading"])) : X("", !0)
@@ -6778,12 +6793,12 @@ const Pd = () => {
6778
6793
  }, 8, ["modelValue", "width", "close-on-click-modal", "lock-scroll"]));
6779
6794
  }
6780
6795
  });
6781
- function Wd(e) {
6796
+ function Bd(e) {
6782
6797
  return typeof e == "string" ? { message: e } : e;
6783
6798
  }
6784
- function Bd(e) {
6799
+ function Hd(e) {
6785
6800
  return new Promise((t, n) => {
6786
- const a = Wd(e), r = document.createElement("div");
6801
+ const a = Bd(e), r = document.createElement("div");
6787
6802
  document.body.appendChild(r);
6788
6803
  const s = () => {
6789
6804
  Bt(null, r), r.remove();
@@ -6795,7 +6810,7 @@ function Bd(e) {
6795
6810
  o || (o = !0, n(f));
6796
6811
  };
6797
6812
  Bt(
6798
- wt(Ud, {
6813
+ wt(Wd, {
6799
6814
  ...a,
6800
6815
  onConfirm: async () => {
6801
6816
  await a.onConfirm?.(), l();
@@ -6815,8 +6830,8 @@ const Hs = kn;
6815
6830
  Hs.install = (e) => {
6816
6831
  e.component(kn.name, kn);
6817
6832
  };
6818
- Hs.confirm = Bd;
6819
- const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js = Symbol("TIMELINE_KEY"), zd = { class: "cregis-timeline" }, Df = /* @__PURE__ */ ue({
6833
+ Hs.confirm = Hd;
6834
+ const jd = "var(--material-card-deep)", zd = "var(--stroke-outline-subtle)", js = Symbol("TIMELINE_KEY"), Gd = { class: "cregis-timeline" }, xf = /* @__PURE__ */ de({
6820
6835
  name: "Timeline",
6821
6836
  __name: "Timeline",
6822
6837
  props: {
@@ -6830,14 +6845,14 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
6830
6845
  dotSize: En(t, "dotSize"),
6831
6846
  activeColor: En(t, "activeColor"),
6832
6847
  lineWidth: En(t, "lineWidth")
6833
- }), (n, a) => (w(), x("div", zd, [
6834
- de(n.$slots, "default")
6848
+ }), (n, a) => (w(), D("div", Gd, [
6849
+ ue(n.$slots, "default")
6835
6850
  ]));
6836
6851
  }
6837
- }), Gd = {
6852
+ }), Yd = {
6838
6853
  key: 0,
6839
6854
  class: "cregis-timeline-item__title"
6840
- }, xf = /* @__PURE__ */ ue({
6855
+ }, Pf = /* @__PURE__ */ de({
6841
6856
  name: "TimelineItem",
6842
6857
  __name: "TimelineItem",
6843
6858
  props: {
@@ -6851,7 +6866,7 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
6851
6866
  const t = e, n = In(js);
6852
6867
  if (!n) throw new Error("TimelineItem must be used within Timeline");
6853
6868
  const a = (p) => typeof p == "number" ? `${p}px` : p, r = I(() => a(t.dotSize ?? n.dotSize.value)), s = I(() => t.activeColor ?? n.activeColor.value), o = I(
6854
- () => t.active ? s.value : Hd
6869
+ () => t.active ? s.value : jd
6855
6870
  ), l = I(() => a(t.lineWidth ?? n.lineWidth.value)), i = I(() => ({
6856
6871
  "--cregis-timeline-dot-size": r.value
6857
6872
  })), f = I(() => ({
@@ -6861,44 +6876,44 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
6861
6876
  height: r.value,
6862
6877
  backgroundColor: o.value
6863
6878
  })), v = I(() => ({
6864
- backgroundColor: jd,
6879
+ backgroundColor: zd,
6865
6880
  width: l.value,
6866
6881
  left: `calc(${r.value} / 2 - ${l.value} / 2)`,
6867
6882
  top: "calc(var(--cregis-timeline-title-font-size) + (var(--cregis-timeline-title-line-height) - var(--cregis-timeline-title-font-size)) / 2 + var(--cregis-timeline-line-gap))",
6868
6883
  bottom: "calc(-1 * (var(--cregis-timeline-dot-top-offset) - var(--cregis-timeline-line-gap)))"
6869
6884
  }));
6870
- return (p, g) => (w(), x("div", {
6885
+ return (p, g) => (w(), D("div", {
6871
6886
  class: "cregis-timeline-item",
6872
- style: ce(i.value)
6887
+ style: le(i.value)
6873
6888
  }, [
6874
6889
  F("div", {
6875
6890
  class: "cregis-timeline-item__node",
6876
- style: ce(f.value)
6891
+ style: le(f.value)
6877
6892
  }, [
6878
6893
  F("span", {
6879
6894
  class: "cregis-timeline-item__dot",
6880
- style: ce(m.value)
6895
+ style: le(m.value)
6881
6896
  }, null, 4)
6882
6897
  ], 4),
6883
- p.$slots.title ? (w(), x("div", Gd, [
6884
- de(p.$slots, "title")
6898
+ p.$slots.title ? (w(), D("div", Yd, [
6899
+ ue(p.$slots, "title")
6885
6900
  ])) : X("", !0),
6886
6901
  F("span", {
6887
6902
  class: "cregis-timeline-item__tail",
6888
- style: ce(v.value)
6903
+ style: le(v.value)
6889
6904
  }, null, 4),
6890
- p.$slots.default ? (w(), x("div", {
6905
+ p.$slots.default ? (w(), D("div", {
6891
6906
  key: 1,
6892
6907
  class: Z(["cregis-timeline-item__content", { "is-hoverable": e.contentHoverable }])
6893
6908
  }, [
6894
- de(p.$slots, "default")
6909
+ ue(p.$slots, "default")
6895
6910
  ], 2)) : X("", !0)
6896
6911
  ], 4));
6897
6912
  }
6898
- }), Yd = {
6913
+ }), Kd = {
6899
6914
  key: 0,
6900
6915
  class: "select-content"
6901
- }, Kd = /* @__PURE__ */ ue({
6916
+ }, Xd = /* @__PURE__ */ de({
6902
6917
  name: "HeaderCell",
6903
6918
  __name: "HeaderCell",
6904
6919
  props: {
@@ -6957,29 +6972,29 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
6957
6972
  }
6958
6973
  }), Je(() => {
6959
6974
  m?.destroy();
6960
- }), (O, h) => (w(), x("th", {
6975
+ }), (O, h) => (w(), D("th", {
6961
6976
  class: Z(["header-cell-wrapper", {
6962
6977
  "select-cell": e.type === "select",
6963
6978
  "select-cell--visible": e.type === "select" && e.selectVisible
6964
6979
  }]),
6965
- style: ce(E.value)
6980
+ style: le(E.value)
6966
6981
  }, [
6967
- e.type === "select" ? (w(), x("div", Yd, [
6982
+ e.type === "select" ? (w(), D("div", Kd, [
6968
6983
  oe(Cr, {
6969
6984
  "model-value": e.selectAllMode === "all",
6970
6985
  indeterminate: e.selectAllMode === "some",
6971
6986
  onClick: h[0] || (h[0] = Wt((S) => O.$emit("select-all-mode", e.selectAllMode), ["stop"]))
6972
6987
  }, null, 8, ["model-value", "indeterminate"])
6973
6988
  ])) : X("", !0),
6974
- e.type === "default" ? (w(), x("div", {
6989
+ e.type === "default" ? (w(), D("div", {
6975
6990
  key: 1,
6976
6991
  class: "cell-content",
6977
- style: ce(N.value)
6992
+ style: le(N.value)
6978
6993
  }, [
6979
- de(O.$slots, "default", {}, () => [
6994
+ ue(O.$slots, "default", {}, () => [
6980
6995
  F("div", null, J(e.label), 1)
6981
6996
  ], !0),
6982
- e.sortable ? (w(), x("div", {
6997
+ e.sortable ? (w(), D("div", {
6983
6998
  key: 0,
6984
6999
  ref_key: "containerRef",
6985
7000
  ref: f,
@@ -7001,7 +7016,7 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7001
7016
  ref_key: "popRef",
7002
7017
  ref: i,
7003
7018
  class: "sort-popover no-scroll-bar popover-shadow",
7004
- style: ce(v.value)
7019
+ style: le(v.value)
7005
7020
  }, [
7006
7021
  F("div", {
7007
7022
  class: Z(["sort-item font-15", { active: l.value === 1 }]),
@@ -7022,10 +7037,10 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7022
7037
  for (const [a, r] of t)
7023
7038
  n[a] = r;
7024
7039
  return n;
7025
- }, Pa = /* @__PURE__ */ Pr(Kd, [["__scopeId", "data-v-00ac62e0"]]), Xd = {
7040
+ }, Pa = /* @__PURE__ */ Pr(Xd, [["__scopeId", "data-v-00ac62e0"]]), qd = {
7026
7041
  key: 1,
7027
7042
  class: "cell-text"
7028
- }, qd = /* @__PURE__ */ ue({
7043
+ }, Qd = /* @__PURE__ */ de({
7029
7044
  name: "TableListColumn",
7030
7045
  __name: "TableListColumn",
7031
7046
  props: {
@@ -7058,60 +7073,60 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7058
7073
  justifyContent: t.align === "left" ? "flex-start" : t.align === "center" ? "center" : "flex-end",
7059
7074
  ...t.width ? { width: t.width } : {}
7060
7075
  }));
7061
- return (l, i) => (w(), x("td", {
7076
+ return (l, i) => (w(), D("td", {
7062
7077
  class: Z(["column-wrapper", {
7063
7078
  "is-striped": s.value,
7064
7079
  "select-cell": e.type === "select",
7065
7080
  "select-cell--visible": e.type === "select" && e.selectVisible
7066
7081
  }]),
7067
- style: ce(a.value)
7082
+ style: le(a.value)
7068
7083
  }, [
7069
- e.blank ? (w(), x("div", {
7084
+ e.blank ? (w(), D("div", {
7070
7085
  key: 0,
7071
- style: ce(o.value)
7072
- }, null, 4)) : (w(), x(Be, { key: 1 }, [
7073
- e.type === "select" ? (w(), x("div", {
7086
+ style: le(o.value)
7087
+ }, null, 4)) : (w(), D(Be, { key: 1 }, [
7088
+ e.type === "select" ? (w(), D("div", {
7074
7089
  key: 0,
7075
7090
  class: "select-content",
7076
- style: ce(r.value)
7091
+ style: le(r.value)
7077
7092
  }, [
7078
7093
  oe(Cr, {
7079
7094
  "model-value": e.selected,
7080
7095
  onClick: i[0] || (i[0] = Wt((f) => l.$emit("selectChange", e.index), ["stop"]))
7081
7096
  }, null, 8, ["model-value"])
7082
7097
  ], 4)) : X("", !0),
7083
- e.type === "default" ? (w(), x("div", {
7098
+ e.type === "default" ? (w(), D("div", {
7084
7099
  key: 1,
7085
7100
  class: "cell-content",
7086
- style: ce(o.value)
7101
+ style: le(o.value)
7087
7102
  }, [
7088
- l.$slots.default ? de(l.$slots, "default", {
7103
+ l.$slots.default ? ue(l.$slots, "default", {
7089
7104
  key: 0,
7090
7105
  data: n.value
7091
- }, void 0, !0) : (w(), x("div", Xd, J(t.data?.[t.prop || ""]), 1))
7106
+ }, void 0, !0) : (w(), D("div", qd, J(t.data?.[t.prop || ""]), 1))
7092
7107
  ], 4)) : X("", !0)
7093
7108
  ], 64))
7094
7109
  ], 6));
7095
7110
  }
7096
- }), yn = /* @__PURE__ */ Pr(qd, [["__scopeId", "data-v-e0bf68f3"]]), tn = (e, t, n) => {
7111
+ }), yn = /* @__PURE__ */ Pr(Qd, [["__scopeId", "data-v-e0bf68f3"]]), tn = (e, t, n) => {
7097
7112
  if (!e) return n;
7098
7113
  if (Object.prototype.hasOwnProperty.call(e, t))
7099
7114
  return e[t];
7100
7115
  const a = t.replace(/([A-Z])/g, "-$1").toLowerCase();
7101
7116
  return Object.prototype.hasOwnProperty.call(e, a) ? e[a] : n;
7102
- }, Qd = { class: "initing-content" }, Jd = { class: "initing-text" }, Zd = {
7117
+ }, Jd = { class: "initing-content" }, Zd = { class: "initing-text" }, ef = {
7103
7118
  key: 0,
7104
7119
  class: "opration-wrapper"
7105
- }, ef = { class: "selected-count-wrapper" }, tf = { class: "font-medium text-[var(--text-base-primary)]" }, nf = { class: "ml-[2px] text-[var(--text-base-secondary)]" }, rf = {
7120
+ }, tf = { class: "selected-count-wrapper" }, nf = { class: "font-medium text-[var(--text-base-primary)]" }, rf = { class: "ml-[2px] text-[var(--text-base-secondary)]" }, af = {
7106
7121
  key: 0,
7107
7122
  class: "operation-divider"
7108
- }, af = { key: 0 }, sf = ["colspan"], of = { class: "loading-inner" }, lf = { class: "loading-success-text" }, cf = ["onClick"], uf = {
7123
+ }, sf = { key: 0 }, of = ["colspan"], lf = { class: "loading-inner" }, cf = { class: "loading-success-text" }, uf = ["onClick"], df = {
7109
7124
  key: 0,
7110
7125
  class: "flex-1 flex items-center justify-center"
7111
- }, df = { class: "flex flex-col gap-[8px] items-center -translate-x-[30px]" }, ff = { class: "no-data-text font-13" }, mf = {
7126
+ }, ff = { class: "flex flex-col gap-[8px] items-center -translate-x-[30px]" }, mf = { class: "no-data-text font-13" }, pf = {
7112
7127
  key: 1,
7113
7128
  class: "flex-1"
7114
- }, pf = /* @__PURE__ */ ue({
7129
+ }, vf = /* @__PURE__ */ de({
7115
7130
  __name: "index",
7116
7131
  props: {
7117
7132
  maxHeight: {},
@@ -7169,24 +7184,24 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7169
7184
  const V = tn(R.props, "minTableWidth");
7170
7185
  return !V || f.value.width >= V;
7171
7186
  }), y = I(() => T().map((R) => {
7172
- const { align: V = "left", label: j, width: ee, sortable: le } = R.props || {}, _e = tn(R.props, "minTableWidth");
7187
+ const { align: V = "left", label: j, width: ee, sortable: ie } = R.props || {}, _e = tn(R.props, "minTableWidth");
7173
7188
  return {
7174
7189
  label: j || "",
7175
7190
  align: V,
7176
- sortable: le,
7191
+ sortable: ie,
7177
7192
  width: ee,
7178
7193
  minTableWidth: _e,
7179
7194
  headerSlot: R.children?.header,
7180
7195
  originalSortChangeHandler: R.props?.onSortChange
7181
7196
  };
7182
7197
  })), W = I(() => y.value.length + 1), B = I(() => T().map((R) => {
7183
- const { align: V = "left", width: j } = R.props || {}, ee = tn(R.props, "widthPercent"), le = tn(R.props, "minWidth"), _e = tn(R.props, "minTableWidth");
7198
+ const { align: V = "left", width: j } = R.props || {}, ee = tn(R.props, "widthPercent"), ie = tn(R.props, "minWidth"), _e = tn(R.props, "minTableWidth");
7184
7199
  return {
7185
7200
  prop: R.props?.prop || "",
7186
7201
  align: V,
7187
7202
  width: j,
7188
7203
  widthPercent: ee,
7189
- minWidth: le,
7204
+ minWidth: ie,
7190
7205
  minTableWidth: _e,
7191
7206
  children: R.children || {},
7192
7207
  slotDefault: R.children?.default
@@ -7225,28 +7240,28 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7225
7240
  }), k.observe(o.value));
7226
7241
  }), Je(() => {
7227
7242
  k && k.disconnect();
7228
- }), (A, R) => (w(), x("div", {
7243
+ }), (A, R) => (w(), D("div", {
7229
7244
  ref_key: "tableWrapperRef",
7230
7245
  ref: o,
7231
7246
  class: "table-wrapper width-transition"
7232
7247
  }, [
7233
- E.value ? (w(), x("div", {
7248
+ E.value ? (w(), D("div", {
7234
7249
  key: 0,
7235
7250
  class: "initing-wrapper",
7236
- style: ce({ top: v.value, height: `calc(100% - ${v.value})` })
7251
+ style: le({ top: v.value, height: `calc(100% - ${v.value})` })
7237
7252
  }, [
7238
- F("div", Qd, [
7253
+ F("div", Jd, [
7239
7254
  oe(te(Yn), {
7240
7255
  class: "loading-icon",
7241
7256
  size: "20px",
7242
7257
  color: "var(--stroke-base-secondary)"
7243
7258
  }),
7244
- F("div", Jd, J(te(Se)("tableList.loading")), 1)
7259
+ F("div", Zd, J(te(Se)("tableList.loading")), 1)
7245
7260
  ])
7246
7261
  ], 4)) : X("", !0),
7247
7262
  oe(mn, { name: "table-list-operation" }, {
7248
7263
  default: Ne(() => [
7249
- p.value ? (w(), x("div", Zd, [
7264
+ p.value ? (w(), D("div", ef, [
7250
7265
  F("div", {
7251
7266
  class: "operation-item",
7252
7267
  hover: "bg-[--event-focus-secondary]",
@@ -7255,12 +7270,12 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7255
7270
  oe(te(Fa), { size: "16px" })
7256
7271
  ]),
7257
7272
  R[0] || (R[0] = F("div", { class: "operation-divider" }, null, -1)),
7258
- F("div", ef, [
7259
- F("div", tf, J(g.value.length), 1),
7260
- F("div", nf, J(te(Se)("tableList.selected")), 1)
7273
+ F("div", tf, [
7274
+ F("div", nf, J(g.value.length), 1),
7275
+ F("div", rf, J(te(Se)("tableList.selected")), 1)
7261
7276
  ]),
7262
- s.operation ? (w(), x("div", rf)) : X("", !0),
7263
- de(A.$slots, "operation", {}, void 0, !0)
7277
+ s.operation ? (w(), D("div", af)) : X("", !0),
7278
+ ue(A.$slots, "operation", {}, void 0, !0)
7264
7279
  ])) : X("", !0)
7265
7280
  ]),
7266
7281
  _: 3
@@ -7270,12 +7285,12 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7270
7285
  ref: l,
7271
7286
  class: "table-content-wrapper no-scroll-bar"
7272
7287
  }, [
7273
- (w(), x("table", {
7288
+ (w(), D("table", {
7274
7289
  key: m.value,
7275
7290
  class: "cg-table w-full border-separate"
7276
7291
  }, [
7277
7292
  F("thead", {
7278
- style: ce({ height: v.value })
7293
+ style: le({ height: v.value })
7279
7294
  }, [
7280
7295
  F("tr", null, [
7281
7296
  oe(Pa, {
@@ -7286,7 +7301,7 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7286
7301
  "select-all-mode": g.value.length === 0 ? "none" : g.value.length === e.dataList.length ? "all" : "some",
7287
7302
  onSelectAllMode: Y
7288
7303
  }, null, 8, ["height", "bg", "select-visible", "select-all-mode"]),
7289
- (w(!0), x(Be, null, vt(y.value, (V, j) => (w(), Oe(Pa, {
7304
+ (w(!0), D(Be, null, vt(y.value, (V, j) => (w(), Oe(Pa, {
7290
7305
  ref_for: !0,
7291
7306
  ref_key: "headerCellRefs",
7292
7307
  ref: i,
@@ -7310,19 +7325,19 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7310
7325
  ]), 1032, ["label", "align", "height", "width", "sortable", "select-mode", "bg", "onSortChange"]))), 128))
7311
7326
  ])
7312
7327
  ], 4),
7313
- e.dataList.length > 0 ? (w(), x("tbody", af, [
7328
+ e.dataList.length > 0 ? (w(), D("tbody", sf, [
7314
7329
  F("tr", {
7315
7330
  class: "loading-wrapper",
7316
- style: ce(h.value)
7331
+ style: le(h.value)
7317
7332
  }, [
7318
7333
  F("td", { colspan: W.value }, [
7319
- F("div", of, [
7320
- d.value ? (w(), x(Be, { key: 0 }, [
7334
+ F("div", lf, [
7335
+ d.value ? (w(), D(Be, { key: 0 }, [
7321
7336
  oe(te(ao), {
7322
7337
  size: "16px",
7323
7338
  color: "var(--stroke-color-success)"
7324
7339
  }),
7325
- F("span", lf, J(te(Se)("tableList.refreshed")), 1)
7340
+ F("span", cf, J(te(Se)("tableList.refreshed")), 1)
7326
7341
  ], 64)) : (w(), Oe(te(Yn), {
7327
7342
  key: 1,
7328
7343
  class: "loading-icon",
@@ -7330,9 +7345,9 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7330
7345
  color: "var(--stroke-base-secondary)"
7331
7346
  }))
7332
7347
  ])
7333
- ], 8, sf)
7348
+ ], 8, of)
7334
7349
  ], 4),
7335
- (w(!0), x(Be, null, vt(e.dataList, (V, j) => (w(), x("tr", {
7350
+ (w(!0), D(Be, null, vt(e.dataList, (V, j) => (w(), D("tr", {
7336
7351
  key: j,
7337
7352
  class: "table-row",
7338
7353
  onClick: (ee) => U(V, j)
@@ -7346,8 +7361,8 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7346
7361
  selected: g.value.findIndex((ee) => ee._index === j) !== -1,
7347
7362
  onSelectChange: H
7348
7363
  }, null, 8, ["select-visible", "index", "column-height", "data", "selected"]),
7349
- (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(yn, {
7350
- key: `${j}-${le}`,
7364
+ (w(!0), D(Be, null, vt(B.value, (ee, ie) => (w(), Oe(yn, {
7365
+ key: `${j}-${ie}`,
7351
7366
  index: j,
7352
7367
  "column-height": e.columnHeight,
7353
7368
  prop: ee.prop,
@@ -7365,8 +7380,8 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7365
7380
  key: "0"
7366
7381
  } : void 0
7367
7382
  ]), 1032, ["index", "column-height", "prop", "align", "width", "width-percent", "min-width", "data"]))), 128))
7368
- ], 8, cf))), 128)),
7369
- (w(!0), x(Be, null, vt(O.value, (V, j) => (w(), x("tr", {
7383
+ ], 8, uf))), 128)),
7384
+ (w(!0), D(Be, null, vt(O.value, (V, j) => (w(), D("tr", {
7370
7385
  key: j + e.dataList.length
7371
7386
  }, [
7372
7387
  oe(yn, {
@@ -7376,8 +7391,8 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7376
7391
  "column-height": e.columnHeight,
7377
7392
  blank: ""
7378
7393
  }, null, 8, ["select-visible", "index", "column-height"]),
7379
- (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(yn, {
7380
- key: `${j + e.dataList.length}-${le}`,
7394
+ (w(!0), D(Be, null, vt(B.value, (ee, ie) => (w(), Oe(yn, {
7395
+ key: `${j + e.dataList.length}-${ie}`,
7381
7396
  index: j + e.dataList.length,
7382
7397
  "column-height": e.columnHeight,
7383
7398
  blank: ""
@@ -7385,51 +7400,51 @@ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js
7385
7400
  ]))), 128))
7386
7401
  ])) : X("", !0)
7387
7402
  ])),
7388
- !e.loading && e.dataList.length === 0 ? (w(), x("div", uf, [
7389
- F("div", df, [
7403
+ !e.loading && e.dataList.length === 0 ? (w(), D("div", df, [
7404
+ F("div", ff, [
7390
7405
  oe(te(so), {
7391
7406
  size: "40px",
7392
7407
  color: "var(--text-base-quaternary)"
7393
7408
  }),
7394
- F("div", ff, J(te(Se)("tableList.noData")), 1)
7409
+ F("div", mf, J(te(Se)("tableList.noData")), 1)
7395
7410
  ])
7396
- ])) : (w(), x("div", mf))
7411
+ ])) : (w(), D("div", pf))
7397
7412
  ], 512)
7398
7413
  ], 512));
7399
7414
  }
7400
- }), Pf = /* @__PURE__ */ Pr(pf, [["__scopeId", "data-v-7d1ecce2"]]);
7415
+ }), Rf = /* @__PURE__ */ Pr(vf, [["__scopeId", "data-v-7d1ecce2"]]);
7401
7416
  export {
7402
- If as Badge,
7417
+ Af as Badge,
7403
7418
  Ft as Button,
7404
- wf as Cascader,
7419
+ Sf as Cascader,
7405
7420
  Cr as Checkbox,
7406
7421
  Hs as Dialog,
7407
- bf as Divider,
7422
+ yf as Divider,
7408
7423
  Ls as Input,
7409
7424
  ya as Message,
7410
- Tf as Notification,
7411
- Cf as Option,
7425
+ Nf as Notification,
7426
+ wf as Option,
7412
7427
  cr as Popover,
7413
- Nf as Progress,
7414
- _f as Radio,
7415
- Lf as Select,
7416
- kf as Switch,
7428
+ Of as Progress,
7429
+ bf as Radio,
7430
+ Cf as Select,
7431
+ If as Switch,
7417
7432
  Cs as TABS_KEY,
7418
- Hd as TIMELINE_INACTIVE_DOT_COLOR,
7433
+ jd as TIMELINE_INACTIVE_DOT_COLOR,
7419
7434
  js as TIMELINE_KEY,
7420
- jd as TIMELINE_LINE_COLOR,
7421
- Ef as TabPane,
7422
- Pf as TableList,
7435
+ zd as TIMELINE_LINE_COLOR,
7436
+ Tf as TabPane,
7437
+ Rf as TableList,
7423
7438
  yn as TableListColumn,
7424
- yf as Tabs,
7425
- Sf as Tag,
7426
- Df as Timeline,
7427
- xf as TimelineItem,
7428
- Af as Upload,
7429
- Bd as confirm,
7439
+ Ef as Tabs,
7440
+ kf as Tag,
7441
+ xf as Timeline,
7442
+ Pf as TimelineItem,
7443
+ Df as Upload,
7444
+ Hd as confirm,
7430
7445
  Us as getDialogZIndex,
7431
7446
  Ws as selectInjectKey,
7432
- hf as setCregisUILocale,
7433
- Of as setDialogZIndex,
7447
+ _f as setCregisUILocale,
7448
+ Lf as setDialogZIndex,
7434
7449
  Fs as useClickOutside
7435
7450
  };