@cregis/ui 1.0.15 → 1.0.16

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 on, normalizeStyle as ce, renderSlot as de, toDisplayString as J, createCommentVNode as X, unref as te, withDirectives as Ut, vModelDynamic as Js, withModifiers as Wt, vModelText as Zs, withCtx as Ne, createTextVNode as qe, nextTick as dt, reactive as Mt, provide as ur, toRef as nn, renderList as vt, onBeforeUnmount as $a, Transition as pn, render as Bt, toHandlers as Mn, Teleport as dr, vShow as An, createSlots as $r } from "vue";
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";
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
@@ -137,15 +137,15 @@ function xn() {
137
137
  }
138
138
  };
139
139
  }
140
- const hn = (e) => !ae(e) || Te(e);
140
+ const gn = (e) => !ae(e) || Te(e);
141
141
  function Tn(e, t) {
142
- if (hn(e) || hn(t))
142
+ if (gn(e) || gn(t))
143
143
  throw new Error("Invalid value");
144
144
  const n = [{ src: e, des: t }];
145
145
  for (; n.length; ) {
146
146
  const { src: a, des: r } = n.pop();
147
147
  Object.keys(a).forEach((s) => {
148
- s !== "__proto__" && (ae(a[s]) && !ae(r[s]) && (r[s] = Array.isArray(a[s]) ? [] : fe()), hn(r[s]) || hn(a[s]) ? r[s] = a[s] : n.push({ src: a[s], des: r[s] }));
148
+ s !== "__proto__" && (ae(a[s]) && !ae(r[s]) && (r[s] = Array.isArray(a[s]) ? [] : fe()), gn(r[s]) || gn(a[s]) ? r[s] = a[s] : n.push({ src: a[s], des: r[s] }));
149
149
  });
150
150
  }
151
151
  }
@@ -1133,11 +1133,11 @@ function br(e) {
1133
1133
  return _t(e, Ga);
1134
1134
  }
1135
1135
  const Ya = ["v", "value"];
1136
- function _n(e, t) {
1136
+ function hn(e, t) {
1137
1137
  const n = _t(e, Ya);
1138
1138
  if (n != null)
1139
1139
  return n;
1140
- throw ln(t);
1140
+ throw on(t);
1141
1141
  }
1142
1142
  const Ka = ["m", "modifier"];
1143
1143
  function ul(e) {
@@ -1148,7 +1148,7 @@ function dl(e) {
1148
1148
  const t = _t(e, Xa);
1149
1149
  if (t)
1150
1150
  return t;
1151
- throw ln(
1151
+ throw on(
1152
1152
  6
1153
1153
  /* NodeTypes.Linked */
1154
1154
  );
@@ -1171,7 +1171,7 @@ const qa = [
1171
1171
  ...Ya,
1172
1172
  ...Ga
1173
1173
  ];
1174
- function ln(e) {
1174
+ function on(e) {
1175
1175
  return new Error(`unhandled node type: ${e}`);
1176
1176
  }
1177
1177
  function Vn(e) {
@@ -1180,7 +1180,7 @@ function Vn(e) {
1180
1180
  function fl(e, t) {
1181
1181
  const n = ol(t);
1182
1182
  if (n == null)
1183
- throw ln(
1183
+ throw on(
1184
1184
  0
1185
1185
  /* NodeTypes.Resource */
1186
1186
  );
@@ -1206,16 +1206,16 @@ function Xn(e, t) {
1206
1206
  const n = br(t);
1207
1207
  switch (n) {
1208
1208
  case 3:
1209
- return _n(t, n);
1209
+ return hn(t, n);
1210
1210
  case 9:
1211
- return _n(t, n);
1211
+ return hn(t, n);
1212
1212
  case 4: {
1213
1213
  const a = t;
1214
1214
  if (ze(a, "k") && a.k)
1215
1215
  return e.interpolate(e.named(a.k));
1216
1216
  if (ze(a, "key") && a.key)
1217
1217
  return e.interpolate(e.named(a.key));
1218
- throw ln(n);
1218
+ throw on(n);
1219
1219
  }
1220
1220
  case 5: {
1221
1221
  const a = t;
@@ -1223,16 +1223,16 @@ function Xn(e, t) {
1223
1223
  return e.interpolate(e.list(a.i));
1224
1224
  if (ze(a, "index") && Le(a.index))
1225
1225
  return e.interpolate(e.list(a.index));
1226
- throw ln(n);
1226
+ throw on(n);
1227
1227
  }
1228
1228
  case 6: {
1229
1229
  const a = t, r = ul(a), s = dl(a);
1230
1230
  return e.linked(Xn(e, s), r ? Xn(e, r) : void 0, e.type);
1231
1231
  }
1232
1232
  case 7:
1233
- return _n(t, n);
1233
+ return hn(t, n);
1234
1234
  case 8:
1235
- return _n(t, n);
1235
+ return hn(t, n);
1236
1236
  default:
1237
1237
  throw new Error(`unhandled node on format message part: ${n}`);
1238
1238
  }
@@ -1242,7 +1242,7 @@ function pl(e, t) {
1242
1242
  t && xo(e) && at(Dn(ml, { source: e }));
1243
1243
  }
1244
1244
  const vl = (e) => e;
1245
- let bn = fe();
1245
+ let _n = fe();
1246
1246
  function gl(e, t = {}) {
1247
1247
  let n = !1;
1248
1248
  const a = t.onError || Ao;
@@ -1255,7 +1255,7 @@ function hl(e, t) {
1255
1255
  if (!__INTLIFY_DROP_MESSAGE_COMPILER__ && M(e)) {
1256
1256
  const n = se(t.warnHtmlMessage) ? t.warnHtmlMessage : !0;
1257
1257
  process.env.NODE_ENV !== "production" && pl(e, n);
1258
- const r = (t.onCacheKey || vl)(e), s = bn[r];
1258
+ const r = (t.onCacheKey || vl)(e), s = _n[r];
1259
1259
  if (s)
1260
1260
  return s;
1261
1261
  const { ast: o, detectError: l } = gl(e, {
@@ -1263,24 +1263,24 @@ function hl(e, t) {
1263
1263
  location: process.env.NODE_ENV !== "production",
1264
1264
  jit: !0
1265
1265
  }), i = Vn(o);
1266
- return l ? i : bn[r] = i;
1266
+ return l ? i : _n[r] = i;
1267
1267
  } else {
1268
1268
  if (process.env.NODE_ENV !== "production" && !Ge(e))
1269
1269
  return at(`the message that is resolve with key '${t.key}' is not supported for jit compilation`), (() => e);
1270
1270
  const n = e.cacheKey;
1271
1271
  if (n) {
1272
- const a = bn[n];
1273
- return a || (bn[n] = Vn(e));
1272
+ const a = _n[n];
1273
+ return a || (_n[n] = Vn(e));
1274
1274
  } else
1275
1275
  return Vn(e);
1276
1276
  }
1277
1277
  }
1278
- let cn = null;
1278
+ let ln = null;
1279
1279
  function _l(e) {
1280
- cn = e;
1280
+ ln = e;
1281
1281
  }
1282
1282
  function bl(e, t, n) {
1283
- cn && cn.emit("i18n:init", {
1283
+ ln && ln.emit("i18n:init", {
1284
1284
  timestamp: Date.now(),
1285
1285
  i18n: e,
1286
1286
  version: t,
@@ -1289,7 +1289,7 @@ function bl(e, t, n) {
1289
1289
  }
1290
1290
  const yl = /* @__PURE__ */ El("function:translate");
1291
1291
  function El(e) {
1292
- return (t) => cn && cn.emit(e, t);
1292
+ return (t) => ln && ln.emit(e, t);
1293
1293
  }
1294
1294
  const De = {
1295
1295
  INVALID_ARGUMENT: ko,
@@ -1340,7 +1340,7 @@ function Ol(e, t, n) {
1340
1340
  ])];
1341
1341
  }
1342
1342
  function qn(e, t, n) {
1343
- const a = M(n) ? n : un, r = e;
1343
+ const a = M(n) ? n : cn, r = e;
1344
1344
  r.__localeChainCache || (r.__localeChainCache = /* @__PURE__ */ new Map());
1345
1345
  let s = r.__localeChainCache.get(a);
1346
1346
  if (!s) {
@@ -1692,7 +1692,7 @@ const we = {
1692
1692
  function ht(e, ...t) {
1693
1693
  return Dn(Rl[e], ...t);
1694
1694
  }
1695
- const $l = "11.4.8", Pn = -1, un = "en-US", zt = "", qr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1695
+ const $l = "11.4.8", Pn = -1, cn = "en-US", zt = "", qr = (e) => `${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;
1696
1696
  function Ml() {
1697
1697
  return {
1698
1698
  upper: (e, t) => t === "text" && M(e) ? e.toUpperCase() : t === "vnode" && ae(e) && "__v_isVNode" in e ? e.children.toUpperCase() : e,
@@ -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 : un, r = ge(a) ? un : a, s = Te(e.fallbackLocale) || ie(e.fallbackLocale) || M(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : r, o = ie(e.messages) ? e.messages : Un(r), l = ie(e.datetimeFormats) ? e.datetimeFormats : Un(r), i = ie(e.numberFormats) ? e.numberFormats : Un(r), f = Ce(fe(), e.modifiers, Ml()), m = e.pluralRules || fe(), v = ge(e.missing) ? e.missing : null, p = se(e.missingWarn) || Ht(e.missingWarn) ? e.missingWarn : !0, g = se(e.fallbackWarn) || Ht(e.fallbackWarn) ? e.fallbackWarn : !0, E = !!e.fallbackFormat, N = !!e.unresolving, L = ge(e.postTranslation) ? e.postTranslation : null, d = ie(e.processor) ? e.processor : null, _ = se(e.warnHtmlMessage) ? e.warnHtmlMessage : !0, O = !!e.escapeParameter, h = ge(e.messageCompiler) ? e.messageCompiler : Qa;
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;
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++;
@@ -2365,13 +2365,13 @@ About how to use the Composition API mode, see https://vue-i18n.intlify.dev/guid
2365
2365
  function Gt(e, ...t) {
2366
2366
  return Dn(vi[e], ...t);
2367
2367
  }
2368
- function dn(e) {
2368
+ function un(e) {
2369
2369
  if (!ae(e) || Ge(e))
2370
2370
  return e;
2371
2371
  for (const t in e)
2372
2372
  if (ze(e, t))
2373
2373
  if (!t.includes("."))
2374
- ae(e[t]) && dn(e[t]);
2374
+ ae(e[t]) && un(e[t]);
2375
2375
  else {
2376
2376
  const n = t.split("."), a = n.length - 1;
2377
2377
  let r = e, s = !1;
@@ -2388,7 +2388,7 @@ function dn(e) {
2388
2388
  }
2389
2389
  if (s || (Ge(r) ? qa.includes(n[a]) || delete e[t] : (r[n[a]] = e[t], delete e[t])), !Ge(r)) {
2390
2390
  const o = r[n[a]];
2391
- ae(o) && dn(o);
2391
+ ae(o) && un(o);
2392
2392
  }
2393
2393
  }
2394
2394
  return e;
@@ -2403,7 +2403,7 @@ function Tr(e, t) {
2403
2403
  M(l) && Tn(JSON.parse(l), o);
2404
2404
  }), r == null && s)
2405
2405
  for (const l in o)
2406
- ze(o, l) && dn(o[l]);
2406
+ ze(o, l) && un(o[l]);
2407
2407
  return o;
2408
2408
  }
2409
2409
  function hs(e) {
@@ -2456,7 +2456,7 @@ function Ln(e = {}) {
2456
2456
  let o = se(e.inheritLocale) ? e.inheritLocale : !0;
2457
2457
  const l = s(
2458
2458
  // prettier-ignore
2459
- t && o ? t.locale.value : M(e.locale) ? e.locale : un
2459
+ t && o ? t.locale.value : M(e.locale) ? e.locale : cn
2460
2460
  ), i = s(
2461
2461
  // prettier-ignore
2462
2462
  t && o ? t.fallbackLocale.value : M(e.fallbackLocale) || Te(e.fallbackLocale) || ie(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : l.value
@@ -2635,7 +2635,7 @@ function Ln(e = {}) {
2635
2635
  if (r) {
2636
2636
  const re = { [C]: D };
2637
2637
  for (const be in re)
2638
- ze(re, be) && dn(re[be]);
2638
+ ze(re, be) && un(re[be]);
2639
2639
  D = re[C];
2640
2640
  }
2641
2641
  f.value[C] = D, y.messages = f.value;
@@ -2645,7 +2645,7 @@ function Ln(e = {}) {
2645
2645
  const re = { [C]: D };
2646
2646
  if (r)
2647
2647
  for (const be in re)
2648
- ze(re, be) && dn(re[be]);
2648
+ ze(re, be) && un(re[be]);
2649
2649
  D = re[C], Tn(D, f.value[C]), y.messages = f.value;
2650
2650
  }
2651
2651
  function c(C) {
@@ -3007,7 +3007,7 @@ function Ii(e, t) {
3007
3007
  }
3008
3008
  }
3009
3009
  function Ai(e) {
3010
- const t = M(e.locale) ? e.locale : un, n = M(e.fallbackLocale) || Te(e.fallbackLocale) || ie(e.fallbackLocale) || e.fallbackLocale === !1 ? e.fallbackLocale : t, a = ge(e.missing) ? e.missing : void 0, r = se(e.silentTranslationWarn) || Ht(e.silentTranslationWarn) ? !e.silentTranslationWarn : !0, s = se(e.silentFallbackWarn) || Ht(e.silentFallbackWarn) ? !e.silentFallbackWarn : !0, o = se(e.fallbackRoot) ? e.fallbackRoot : !0, l = !!e.formatFallbackMessages, i = ie(e.modifiers) ? e.modifiers : {}, f = e.pluralizationRules, m = ge(e.postTranslation) ? e.postTranslation : void 0, v = M(e.warnHtmlInMessage) ? e.warnHtmlInMessage !== "off" : !0, p = !!e.escapeParameterHtml, g = se(e.sync) ? e.sync : !0;
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;
3011
3011
  let E = e.messages;
3012
3012
  if (ie(e.sharedMessages)) {
3013
3013
  const S = e.sharedMessages;
@@ -3779,7 +3779,7 @@ const Os = () => (Hn || (Hn = Wi({
3779
3779
  "en-US": Zi
3780
3780
  },
3781
3781
  legacy: !1
3782
- })), Hn), vf = (e) => {
3782
+ })), Hn), hf = (e) => {
3783
3783
  Os().global.locale.value = e;
3784
3784
  }, Se = (e, t) => Os().global.t(e, t), ec = ["disabled"], tc = ["disabled"], nc = ["disabled"], Ft = /* @__PURE__ */ ue({
3785
3785
  name: "Button",
@@ -3843,7 +3843,7 @@ const Os = () => (Hn || (Hn = Wi({
3843
3843
  }],
3844
3844
  disabled: e.disabled || e.loading
3845
3845
  }), [
3846
- e.icon ? (w(), Oe(on(e.icon), {
3846
+ e.icon ? (w(), Oe(sn(e.icon), {
3847
3847
  key: 0,
3848
3848
  size: o.value
3849
3849
  }, null, 8, ["size"])) : (w(), x("span", {
@@ -4223,7 +4223,7 @@ const Os = () => (Hn || (Hn = Wi({
4223
4223
  ], 2)) : X("", !0)
4224
4224
  ]));
4225
4225
  }
4226
- }), gf = /* @__PURE__ */ ue({
4226
+ }), _f = /* @__PURE__ */ ue({
4227
4227
  name: "Radio",
4228
4228
  __name: "Radio",
4229
4229
  props: {
@@ -4259,7 +4259,7 @@ const Os = () => (Hn || (Hn = Wi({
4259
4259
  ], 2)) : X("", !0)
4260
4260
  ]));
4261
4261
  }
4262
- }), hf = /* @__PURE__ */ ue({
4262
+ }), bf = /* @__PURE__ */ ue({
4263
4263
  name: "Divider",
4264
4264
  __name: "Divider",
4265
4265
  props: {
@@ -4297,7 +4297,7 @@ const Os = () => (Hn || (Hn = Wi({
4297
4297
  style: ce(a.value)
4298
4298
  }, null, 6));
4299
4299
  }
4300
- }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, _f = /* @__PURE__ */ ue({
4300
+ }), Cs = Symbol("TABS_KEY"), vc = ["onClick"], gc = { style: { display: "none" } }, yf = /* @__PURE__ */ ue({
4301
4301
  name: "Tabs",
4302
4302
  __name: "Tabs",
4303
4303
  props: {
@@ -4322,7 +4322,7 @@ const Os = () => (Hn || (Hn = Wi({
4322
4322
  borderRadius: 0
4323
4323
  });
4324
4324
  return ur(Cs, {
4325
- activeName: nn(t, "modelValue"),
4325
+ activeName: En(t, "modelValue"),
4326
4326
  registerTab: a,
4327
4327
  unregisterTab: r
4328
4328
  }), (o, l) => (w(), x("div", {
@@ -4344,7 +4344,7 @@ const Os = () => (Hn || (Hn = Wi({
4344
4344
  ])
4345
4345
  ], 2));
4346
4346
  }
4347
- }), bf = /* @__PURE__ */ ue({
4347
+ }), Ef = /* @__PURE__ */ ue({
4348
4348
  name: "TabPane",
4349
4349
  __name: "TabPane",
4350
4350
  props: {
@@ -4396,7 +4396,7 @@ const Os = () => (Hn || (Hn = Wi({
4396
4396
  }), (o, l) => (w(), x("div", {
4397
4397
  class: Z(["cregis-message__wrapper", { "cregis-message__wrapper--success": e.type === "success" }])
4398
4398
  }, [
4399
- oe(pn, {
4399
+ oe(mn, {
4400
4400
  name: "cregis-message",
4401
4401
  onAfterEnter: r,
4402
4402
  onAfterLeave: s
@@ -4472,13 +4472,13 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4472
4472
  }), dt(() => {
4473
4473
  n.value = !0;
4474
4474
  }), (s, o) => (w(), x("div", Ec, [
4475
- oe(pn, {
4475
+ oe(mn, {
4476
4476
  name: "cregis-notification",
4477
4477
  onAfterLeave: r
4478
4478
  }, {
4479
4479
  default: Ne(() => [
4480
4480
  n.value ? (w(), x("div", Tc, [
4481
- (w(), Oe(on(te(to)), {
4481
+ (w(), Oe(sn(te(to)), {
4482
4482
  size: "18px",
4483
4483
  color: "var(--material-danger-primary)"
4484
4484
  })),
@@ -4503,7 +4503,7 @@ const Ec = { class: "cregis-notification__wrapper" }, Tc = {
4503
4503
  }
4504
4504
  });
4505
4505
  let zn = !1;
4506
- function yf(e) {
4506
+ function Tf(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 yf(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
- }, Ef = /* @__PURE__ */ ue({
4527
+ }, Nf = /* @__PURE__ */ ue({
4528
4528
  name: "Progress",
4529
4529
  __name: "Progress",
4530
4530
  props: {
@@ -4559,10 +4559,10 @@ const wc = { class: "cregis-progress__wrapper" }, Sc = { class: "cregis-progress
4559
4559
  ]));
4560
4560
  }
4561
4561
  });
4562
- var $e = "top", Ke = "bottom", Xe = "right", Me = "left", wr = "auto", vn = [$e, Ke, Xe, Me], Yt = "start", fn = "end", Ac = "clippingParents", ws = "viewport", Zt = "popper", Dc = "reference", Ea = /* @__PURE__ */ vn.reduce(function(e, t) {
4563
- return e.concat([t + "-" + Yt, t + "-" + fn]);
4564
- }, []), Ss = /* @__PURE__ */ [].concat(vn, [wr]).reduce(function(e, t) {
4565
- return e.concat([t, t + "-" + Yt, t + "-" + fn]);
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) {
4563
+ return e.concat([t + "-" + Yt, t + "-" + dn]);
4564
+ }, []), Ss = /* @__PURE__ */ [].concat(pn, [wr]).reduce(function(e, t) {
4565
+ return e.concat([t, t + "-" + Yt, t + "-" + dn]);
4566
4566
  }, []), xc = "beforeRead", Pc = "read", Rc = "afterRead", $c = "beforeMain", Mc = "main", Vc = "afterMain", Fc = "beforeWrite", Uc = "write", Wc = "afterWrite", Bc = [xc, Pc, Rc, $c, Mc, Vc, Fc, Uc, Wc];
4567
4567
  function st(e) {
4568
4568
  return e ? (e.nodeName || "").toLowerCase() : null;
@@ -4728,7 +4728,7 @@ function Yc(e) {
4728
4728
  }
4729
4729
  return null;
4730
4730
  }
4731
- function gn(e) {
4731
+ function vn(e) {
4732
4732
  for (var t = Fe(e), n = Ta(e); n && Gc(n) && mt(n).position === "static"; )
4733
4733
  n = Ta(n);
4734
4734
  return n && (st(n) === "html" || st(n) === "body" && mt(n).position === "static") ? t : n || Yc(e) || t;
@@ -4736,11 +4736,11 @@ function gn(e) {
4736
4736
  function Ir(e) {
4737
4737
  return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
4738
4738
  }
4739
- function rn(e, t, n) {
4739
+ function nn(e, t, n) {
4740
4740
  return Ct(e, Cn(t, n));
4741
4741
  }
4742
4742
  function Kc(e, t, n) {
4743
- var a = rn(e, t, n);
4743
+ var a = nn(e, t, n);
4744
4744
  return a > n ? n : a;
4745
4745
  }
4746
4746
  function As() {
@@ -4762,12 +4762,12 @@ function xs(e, t) {
4762
4762
  var Xc = function(t, n) {
4763
4763
  return t = typeof t == "function" ? t(Object.assign({}, n.rects, {
4764
4764
  placement: n.placement
4765
- })) : t, Ds(typeof t != "number" ? t : xs(t, vn));
4765
+ })) : t, Ds(typeof t != "number" ? t : xs(t, pn));
4766
4766
  };
4767
4767
  function qc(e) {
4768
4768
  var t, n = e.state, a = e.name, r = e.options, s = n.elements.arrow, o = n.modifiersData.popperOffsets, l = rt(n.placement), i = Ir(l), f = [Me, Xe].indexOf(l) >= 0, m = f ? "height" : "width";
4769
4769
  if (!(!s || !o)) {
4770
- var v = Xc(r.padding, n), p = kr(s), g = i === "y" ? $e : Me, E = i === "y" ? Ke : Xe, N = n.rects.reference[m] + n.rects.reference[i] - o[i] - n.rects.popper[m], L = o[i] - n.rects.reference[i], d = gn(s), _ = d ? i === "y" ? d.clientHeight || 0 : d.clientWidth || 0 : 0, O = N / 2 - L / 2, h = v[g], S = _ - p[m] - v[E], T = _ / 2 - p[m] / 2 + O, y = rn(h, T, S), W = i;
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;
4771
4771
  n.modifiersData[a] = (t = {}, t[W] = y, t.centerOffset = y - T, t);
4772
4772
  }
4773
4773
  }
@@ -4811,8 +4811,8 @@ function Na(e) {
4811
4811
  g = L.x, N = L.y;
4812
4812
  var d = o.hasOwnProperty("x"), _ = o.hasOwnProperty("y"), O = Me, h = $e, S = window;
4813
4813
  if (f) {
4814
- var T = gn(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 === fn) {
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
4816
  h = Ke;
4817
4817
  var B = v && T === S && S.visualViewport ? S.visualViewport.height : (
4818
4818
  // $FlowFixMe[prop-missing]
@@ -4820,7 +4820,7 @@ function Na(e) {
4820
4820
  );
4821
4821
  N -= B - a.height, N *= i ? 1 : -1;
4822
4822
  }
4823
- if (r === Me || (r === $e || r === Ke) && s === fn) {
4823
+ if (r === Me || (r === $e || r === Ke) && s === dn) {
4824
4824
  O = Xe;
4825
4825
  var G = v && T === S && S.visualViewport ? S.visualViewport.width : (
4826
4826
  // $FlowFixMe[prop-missing]
@@ -4874,17 +4874,17 @@ const nu = {
4874
4874
  fn: tu,
4875
4875
  data: {}
4876
4876
  };
4877
- var yn = {
4877
+ var bn = {
4878
4878
  passive: !0
4879
4879
  };
4880
4880
  function ru(e) {
4881
4881
  var t = e.state, n = e.instance, a = e.options, r = a.scroll, s = r === void 0 ? !0 : r, o = a.resize, l = o === void 0 ? !0 : o, i = Fe(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
4882
4882
  return s && f.forEach(function(m) {
4883
- m.addEventListener("scroll", n.update, yn);
4884
- }), l && i.addEventListener("resize", n.update, yn), function() {
4883
+ m.addEventListener("scroll", n.update, bn);
4884
+ }), l && i.addEventListener("resize", n.update, bn), function() {
4885
4885
  s && f.forEach(function(m) {
4886
- m.removeEventListener("scroll", n.update, yn);
4887
- }), l && i.removeEventListener("resize", n.update, yn);
4886
+ m.removeEventListener("scroll", n.update, bn);
4887
+ }), l && i.removeEventListener("resize", n.update, bn);
4888
4888
  };
4889
4889
  }
4890
4890
  const au = {
@@ -4956,13 +4956,13 @@ function xr(e) {
4956
4956
  function Ps(e) {
4957
4957
  return ["html", "body", "#document"].indexOf(st(e)) >= 0 ? e.ownerDocument.body : Ye(e) && xr(e) ? e : Ps(Rn(e));
4958
4958
  }
4959
- function an(e, t) {
4959
+ function rn(e, t) {
4960
4960
  var n;
4961
4961
  t === void 0 && (t = []);
4962
4962
  var a = Ps(e), r = a === ((n = e.ownerDocument) == null ? void 0 : n.body), s = Fe(a), o = r ? [s].concat(s.visualViewport || [], xr(a) ? a : []) : a, l = t.concat(o);
4963
4963
  return r ? l : (
4964
4964
  // $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
4965
- l.concat(an(Rn(o)))
4965
+ l.concat(rn(Rn(o)))
4966
4966
  );
4967
4967
  }
4968
4968
  function lr(e) {
@@ -4981,7 +4981,7 @@ function La(e, t, n) {
4981
4981
  return t === ws ? lr(lu(e, n)) : At(t) ? cu(t, n) : lr(iu(yt(e)));
4982
4982
  }
4983
4983
  function uu(e) {
4984
- var t = an(Rn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && Ye(e) ? gn(e) : e;
4984
+ var t = rn(Rn(e)), n = ["absolute", "fixed"].indexOf(mt(e).position) >= 0, a = n && Ye(e) ? vn(e) : e;
4985
4985
  return At(a) ? t.filter(function(r) {
4986
4986
  return At(r) && Is(r, a) && st(r) !== "body";
4987
4987
  }) : [];
@@ -5033,16 +5033,16 @@ function Rs(e) {
5033
5033
  case Yt:
5034
5034
  i[f] = i[f] - (t[m] / 2 - n[m] / 2);
5035
5035
  break;
5036
- case fn:
5036
+ case dn:
5037
5037
  i[f] = i[f] + (t[m] / 2 - n[m] / 2);
5038
5038
  break;
5039
5039
  }
5040
5040
  }
5041
5041
  return i;
5042
5042
  }
5043
- function mn(e, t) {
5043
+ function fn(e, t) {
5044
5044
  t === void 0 && (t = {});
5045
- var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Ac : l, f = n.rootBoundary, m = f === void 0 ? ws : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, L = N === void 0 ? 0 : N, d = Ds(typeof L != "number" ? L : xs(L, vn)), _ = p === Zt ? Dc : Zt, O = e.rects.popper, h = e.elements[E ? _ : p], S = du(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Rs({
5045
+ var n = t, a = n.placement, r = a === void 0 ? e.placement : a, s = n.strategy, o = s === void 0 ? e.strategy : s, l = n.boundary, i = l === void 0 ? Ac : l, f = n.rootBoundary, m = f === void 0 ? ws : f, v = n.elementContext, p = v === void 0 ? Zt : v, g = n.altBoundary, E = g === void 0 ? !1 : g, N = n.padding, L = N === void 0 ? 0 : N, d = Ds(typeof L != "number" ? L : xs(L, pn)), _ = p === Zt ? Dc : Zt, O = e.rects.popper, h = e.elements[E ? _ : p], S = du(At(h) ? h : h.contextElement || yt(e.elements.popper), i, m, o), T = Xt(e.elements.reference), y = Rs({
5046
5046
  reference: T,
5047
5047
  element: O,
5048
5048
  placement: r
@@ -5065,12 +5065,12 @@ function fu(e, t) {
5065
5065
  t === void 0 && (t = {});
5066
5066
  var n = t, a = n.placement, r = n.boundary, s = n.rootBoundary, o = n.padding, l = n.flipVariations, i = n.allowedAutoPlacements, f = i === void 0 ? Ss : i, m = qt(a), v = m ? l ? Ea : Ea.filter(function(E) {
5067
5067
  return qt(E) === m;
5068
- }) : vn, p = v.filter(function(E) {
5068
+ }) : pn, p = v.filter(function(E) {
5069
5069
  return f.indexOf(E) >= 0;
5070
5070
  });
5071
5071
  p.length === 0 && (p = v);
5072
5072
  var g = p.reduce(function(E, N) {
5073
- return E[N] = mn(e, {
5073
+ return E[N] = fn(e, {
5074
5074
  placement: N,
5075
5075
  boundary: r,
5076
5076
  rootBoundary: s,
@@ -5100,7 +5100,7 @@ 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 = mn(t, {
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, {
5104
5104
  placement: H,
5105
5105
  boundary: m,
5106
5106
  rootBoundary: v,
@@ -5162,9 +5162,9 @@ function wa(e) {
5162
5162
  });
5163
5163
  }
5164
5164
  function gu(e) {
5165
- var t = e.state, n = e.name, a = t.rects.reference, r = t.rects.popper, s = t.modifiersData.preventOverflow, o = mn(t, {
5165
+ var t = e.state, n = e.name, a = t.rects.reference, r = t.rects.popper, s = t.modifiersData.preventOverflow, o = fn(t, {
5166
5166
  elementContext: "reference"
5167
- }), l = mn(t, {
5167
+ }), l = fn(t, {
5168
5168
  altBoundary: !0
5169
5169
  }), i = Ca(o, a), f = Ca(l, r, s), m = wa(i), v = wa(f);
5170
5170
  t.modifiersData[n] = {
@@ -5228,7 +5228,7 @@ function Nu(e) {
5228
5228
  return e === "x" ? "y" : "x";
5229
5229
  }
5230
5230
  function Ou(e) {
5231
- var t = e.state, n = e.options, a = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, f = n.rootBoundary, m = n.altBoundary, v = n.padding, p = n.tether, g = p === void 0 ? !0 : p, E = n.tetherOffset, N = E === void 0 ? 0 : E, L = mn(t, {
5231
+ var t = e.state, n = e.options, a = e.name, r = n.mainAxis, s = r === void 0 ? !0 : r, o = n.altAxis, l = o === void 0 ? !1 : o, i = n.boundary, f = n.rootBoundary, m = n.altBoundary, v = n.padding, p = n.tether, g = p === void 0 ? !0 : p, E = n.tetherOffset, N = E === void 0 ? 0 : E, L = fn(t, {
5232
5232
  boundary: i,
5233
5233
  rootBoundary: f,
5234
5234
  padding: v,
@@ -5250,11 +5250,11 @@ function Ou(e) {
5250
5250
  var U, q = h === "y" ? $e : Me, he = h === "y" ? Ke : Xe, k = h === "y" ? "height" : "width", A = T[h], R = A + L[q], V = A - L[he], j = g ? -W[k] / 2 : 0, ee = _ === Yt ? y[k] : W[k], le = _ === Yt ? -W[k] : -y[k], _e = t.elements.arrow, Re = g && _e ? kr(_e) : {
5251
5251
  width: 0,
5252
5252
  height: 0
5253
- }, ke = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : As(), xe = ke[q], $ = ke[he], pe = rn(0, y[k], Re[k]), Ee = O ? y[k] / 2 - j - pe - xe - G.mainAxis : ee - pe - xe - G.mainAxis, Ie = O ? -y[k] / 2 + j + pe + $ + G.mainAxis : le + pe + $ + G.mainAxis, lt = t.elements.arrow && gn(t.elements.arrow), Et = lt ? h === "y" ? lt.clientTop || 0 : lt.clientLeft || 0 : 0, Ze = (U = H?.[h]) != null ? U : 0, it = A + Ee - Ze - Et, Ue = A + Ie - Ze, et = rn(g ? Cn(R, it) : R, A, g ? Ct(V, Ue) : V);
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);
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) : rn(g ? D : Q, b, g ? re : ve);
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);
5258
5258
  T[S] = be, Y[S] = be - b;
5259
5259
  }
5260
5260
  t.modifiersData[a] = Y;
@@ -5379,8 +5379,8 @@ function Pu(e) {
5379
5379
  setOptions: function(d) {
5380
5380
  var _ = typeof d == "function" ? d(m.options) : d;
5381
5381
  N(), m.options = Object.assign({}, s, m.options, _), m.scrollParents = {
5382
- reference: At(l) ? an(l) : l.contextElement ? an(l.contextElement) : [],
5383
- popper: an(i)
5382
+ reference: At(l) ? rn(l) : l.contextElement ? rn(l.contextElement) : [],
5383
+ popper: rn(i)
5384
5384
  };
5385
5385
  var O = Au(xu([].concat(a, m.options.modifiers)));
5386
5386
  return m.orderedModifiers = O.filter(function(h) {
@@ -5397,7 +5397,7 @@ function Pu(e) {
5397
5397
  var d = m.elements, _ = d.reference, O = d.popper;
5398
5398
  if (ka(_, O)) {
5399
5399
  m.rects = {
5400
- reference: ku(_, gn(O), m.options.strategy === "fixed"),
5400
+ reference: ku(_, vn(O), m.options.strategy === "fixed"),
5401
5401
  popper: kr(O)
5402
5402
  }, m.reset = !1, m.placement = m.options.placement, m.orderedModifiers.forEach(function(G) {
5403
5403
  return m.modifiersData[G.name] = Object.assign({}, G.data);
@@ -5607,7 +5607,7 @@ function Fs(e, t, n = {}) {
5607
5607
  });
5608
5608
  }
5609
5609
  let On = 1e5;
5610
- const Us = () => (On = On + 1, On), Tf = (e) => {
5610
+ const Us = () => (On = On + 1, On), Of = (e) => {
5611
5611
  On = e;
5612
5612
  }, cd = 80, cr = /* @__PURE__ */ ue({
5613
5613
  name: "Popover",
@@ -5733,7 +5733,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
5733
5733
  to: "body",
5734
5734
  disabled: !e.teleported
5735
5735
  }, [
5736
- oe(pn, { name: "fade" }, {
5736
+ oe(mn, { name: "fade" }, {
5737
5737
  default: Ne(() => [
5738
5738
  s.value ? Ut((w(), x("div", gt({
5739
5739
  key: 0,
@@ -5767,7 +5767,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
5767
5767
  }, pd = {
5768
5768
  key: 2,
5769
5769
  class: "cregis-select__dropdown-filter-empty"
5770
- }, vd = { class: "cregis-select__dropdown-content" }, Nf = /* @__PURE__ */ ue({
5770
+ }, vd = { class: "cregis-select__dropdown-content" }, Lf = /* @__PURE__ */ ue({
5771
5771
  name: "Select",
5772
5772
  __name: "Select",
5773
5773
  props: {
@@ -5986,7 +5986,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
5986
5986
  }), gd = ["aria-selected"], hd = {
5987
5987
  key: 1,
5988
5988
  class: "cregis-select__option-content"
5989
- }, Of = /* @__PURE__ */ ue({
5989
+ }, Cf = /* @__PURE__ */ ue({
5990
5990
  name: "Option",
5991
5991
  __name: "Option",
5992
5992
  props: {
@@ -6065,7 +6065,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6065
6065
  }, Ld = { class: "cregis-cascader__suboption-amount-container" }, Cd = {
6066
6066
  key: 0,
6067
6067
  class: "cregis-cascader__suboption-amount"
6068
- }, wd = { class: "cregis-cascader__suboption-panel" }, Sd = ["onClick"], kd = ["onClick"], Lf = /* @__PURE__ */ ue({
6068
+ }, wd = { class: "cregis-cascader__suboption-panel" }, Sd = ["onClick"], kd = ["onClick"], wf = /* @__PURE__ */ ue({
6069
6069
  name: "Cascader",
6070
6070
  __name: "Cascader",
6071
6071
  props: {
@@ -6393,7 +6393,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6393
6393
  }, 8, ["popper-width", "placement", "offset", "disabled"])
6394
6394
  ], 2));
6395
6395
  }
6396
- }), Cf = /* @__PURE__ */ ue({
6396
+ }), Sf = /* @__PURE__ */ ue({
6397
6397
  name: "Tag",
6398
6398
  __name: "Tag",
6399
6399
  props: {
@@ -6410,7 +6410,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6410
6410
  ])
6411
6411
  ], 2));
6412
6412
  }
6413
- }), wf = /* @__PURE__ */ ue({
6413
+ }), kf = /* @__PURE__ */ ue({
6414
6414
  name: "Switch",
6415
6415
  __name: "Switch",
6416
6416
  props: {
@@ -6453,7 +6453,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6453
6453
  F("div", { class: "cregis-switch__circle" }, null, -1)
6454
6454
  ])], 2));
6455
6455
  }
6456
- }), Id = { class: "cregis-badge__wrapper" }, Sf = /* @__PURE__ */ ue({
6456
+ }), Id = { class: "cregis-badge__wrapper" }, If = /* @__PURE__ */ ue({
6457
6457
  name: "Badge",
6458
6458
  __name: "Badge",
6459
6459
  props: {
@@ -6484,7 +6484,7 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6484
6484
  }), Ad = ["accept", "disabled"], Dd = ["src"], xd = {
6485
6485
  key: 3,
6486
6486
  class: "cregis-upload__mask"
6487
- }, kf = /* @__PURE__ */ ue({
6487
+ }, Af = /* @__PURE__ */ ue({
6488
6488
  name: "Upload",
6489
6489
  __name: "Upload",
6490
6490
  props: {
@@ -6593,11 +6593,11 @@ const Us = () => (On = On + 1, On), Tf = (e) => {
6593
6593
  ], 6));
6594
6594
  }
6595
6595
  });
6596
- let sn = 0, Bs = "";
6596
+ let an = 0, Bs = "";
6597
6597
  const Pd = () => {
6598
- sn === 0 && (Bs = document.body.style.overflow, document.body.style.overflow = "hidden"), sn++;
6598
+ an === 0 && (Bs = document.body.style.overflow, document.body.style.overflow = "hidden"), an++;
6599
6599
  }, xa = () => {
6600
- sn <= 0 || (sn--, sn === 0 && (document.body.style.overflow = Bs));
6600
+ an <= 0 || (an--, an === 0 && (document.body.style.overflow = Bs));
6601
6601
  }, kn = /* @__PURE__ */ ue({
6602
6602
  name: "Dialog",
6603
6603
  __name: "Dialog",
@@ -6634,7 +6634,7 @@ const Pd = () => {
6634
6634
  a("after-leave");
6635
6635
  };
6636
6636
  return (v, p) => (w(), Oe(dr, { to: "body" }, [
6637
- oe(pn, {
6637
+ oe(mn, {
6638
6638
  name: "cregis-dialog-fade",
6639
6639
  onAfterLeave: m
6640
6640
  }, {
@@ -6736,7 +6736,7 @@ const Pd = () => {
6736
6736
  F("div", {
6737
6737
  class: Z(`cregis-dialog-confirm__icon cregis-dialog-confirm__icon--${e.type}`)
6738
6738
  }, [
6739
- (w(), Oe(on(l.value.component), {
6739
+ (w(), Oe(sn(l.value.component), {
6740
6740
  "stroke-width": 3.4,
6741
6741
  size: "24px",
6742
6742
  color: l.value.color
@@ -6816,51 +6816,52 @@ Hs.install = (e) => {
6816
6816
  e.component(kn.name, kn);
6817
6817
  };
6818
6818
  Hs.confirm = Bd;
6819
- const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @__PURE__ */ ue({
6819
+ const Hd = "var(--material-card-deep)", jd = "var(--stroke-outline-subtle)", js = Symbol("TIMELINE_KEY"), zd = { class: "cregis-timeline" }, Df = /* @__PURE__ */ ue({
6820
6820
  name: "Timeline",
6821
6821
  __name: "Timeline",
6822
6822
  props: {
6823
6823
  dotSize: { default: 8 },
6824
- dotColor: { default: "var(--text-brand-primary)" },
6825
- lineColor: { default: "var(--stroke-divider-page)" },
6824
+ activeColor: { default: "var(--text-brand-primary)" },
6826
6825
  lineWidth: { default: 2 }
6827
6826
  },
6828
6827
  setup(e) {
6829
6828
  const t = e;
6830
6829
  return ur(js, {
6831
- dotSize: nn(t, "dotSize"),
6832
- dotColor: nn(t, "dotColor"),
6833
- lineColor: nn(t, "lineColor"),
6834
- lineWidth: nn(t, "lineWidth")
6835
- }), (n, a) => (w(), x("div", Hd, [
6830
+ dotSize: En(t, "dotSize"),
6831
+ activeColor: En(t, "activeColor"),
6832
+ lineWidth: En(t, "lineWidth")
6833
+ }), (n, a) => (w(), x("div", zd, [
6836
6834
  de(n.$slots, "default")
6837
6835
  ]));
6838
6836
  }
6839
- }), jd = {
6837
+ }), Gd = {
6840
6838
  key: 0,
6841
6839
  class: "cregis-timeline-item__title"
6842
- }, Af = /* @__PURE__ */ ue({
6840
+ }, xf = /* @__PURE__ */ ue({
6843
6841
  name: "TimelineItem",
6844
6842
  __name: "TimelineItem",
6845
6843
  props: {
6844
+ active: { type: Boolean, default: !1 },
6846
6845
  dotSize: {},
6847
- dotColor: {},
6846
+ activeColor: {},
6848
6847
  lineWidth: {},
6849
6848
  contentHoverable: { type: Boolean, default: !0 }
6850
6849
  },
6851
6850
  setup(e) {
6852
6851
  const t = e, n = In(js);
6853
6852
  if (!n) throw new Error("TimelineItem must be used within Timeline");
6854
- const a = (p) => typeof p == "number" ? `${p}px` : p, r = I(() => a(t.dotSize ?? n.dotSize.value)), s = I(() => t.dotColor ?? n.dotColor.value), o = I(() => n.lineColor.value), l = I(() => a(t.lineWidth ?? n.lineWidth.value)), i = I(() => ({
6853
+ 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
6855
+ ), l = I(() => a(t.lineWidth ?? n.lineWidth.value)), i = I(() => ({
6855
6856
  "--cregis-timeline-dot-size": r.value
6856
6857
  })), f = I(() => ({
6857
6858
  width: r.value
6858
6859
  })), m = I(() => ({
6859
6860
  width: r.value,
6860
6861
  height: r.value,
6861
- backgroundColor: s.value
6862
+ backgroundColor: o.value
6862
6863
  })), v = I(() => ({
6863
- backgroundColor: o.value,
6864
+ backgroundColor: jd,
6864
6865
  width: l.value,
6865
6866
  left: `calc(${r.value} / 2 - ${l.value} / 2)`,
6866
6867
  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))",
@@ -6879,7 +6880,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6879
6880
  style: ce(m.value)
6880
6881
  }, null, 4)
6881
6882
  ], 4),
6882
- p.$slots.title ? (w(), x("div", jd, [
6883
+ p.$slots.title ? (w(), x("div", Gd, [
6883
6884
  de(p.$slots, "title")
6884
6885
  ])) : X("", !0),
6885
6886
  F("span", {
@@ -6894,10 +6895,10 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6894
6895
  ], 2)) : X("", !0)
6895
6896
  ], 4));
6896
6897
  }
6897
- }), zd = {
6898
+ }), Yd = {
6898
6899
  key: 0,
6899
6900
  class: "select-content"
6900
- }, Gd = /* @__PURE__ */ ue({
6901
+ }, Kd = /* @__PURE__ */ ue({
6901
6902
  name: "HeaderCell",
6902
6903
  __name: "HeaderCell",
6903
6904
  props: {
@@ -6963,7 +6964,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
6963
6964
  }]),
6964
6965
  style: ce(E.value)
6965
6966
  }, [
6966
- e.type === "select" ? (w(), x("div", zd, [
6967
+ e.type === "select" ? (w(), x("div", Yd, [
6967
6968
  oe(Cr, {
6968
6969
  "model-value": e.selectAllMode === "all",
6969
6970
  indeterminate: e.selectAllMode === "some",
@@ -7018,10 +7019,10 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7018
7019
  for (const [a, r] of t)
7019
7020
  n[a] = r;
7020
7021
  return n;
7021
- }, Pa = /* @__PURE__ */ Pr(Gd, [["__scopeId", "data-v-3e009147"]]), Yd = {
7022
+ }, Pa = /* @__PURE__ */ Pr(Kd, [["__scopeId", "data-v-3e009147"]]), Xd = {
7022
7023
  key: 1,
7023
7024
  class: "cell-text"
7024
- }, Kd = /* @__PURE__ */ ue({
7025
+ }, qd = /* @__PURE__ */ ue({
7025
7026
  name: "TableListColumn",
7026
7027
  __name: "TableListColumn",
7027
7028
  props: {
@@ -7084,30 +7085,30 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7084
7085
  l.$slots.default ? de(l.$slots, "default", {
7085
7086
  key: 0,
7086
7087
  data: n.value
7087
- }, void 0, !0) : (w(), x("div", Yd, J(t.data?.[t.prop || ""]), 1))
7088
+ }, void 0, !0) : (w(), x("div", Xd, J(t.data?.[t.prop || ""]), 1))
7088
7089
  ], 4)) : X("", !0)
7089
7090
  ], 64))
7090
7091
  ], 6));
7091
7092
  }
7092
- }), En = /* @__PURE__ */ Pr(Kd, [["__scopeId", "data-v-e0bf68f3"]]), tn = (e, t, n) => {
7093
+ }), yn = /* @__PURE__ */ Pr(qd, [["__scopeId", "data-v-e0bf68f3"]]), tn = (e, t, n) => {
7093
7094
  if (!e) return n;
7094
7095
  if (Object.prototype.hasOwnProperty.call(e, t))
7095
7096
  return e[t];
7096
7097
  const a = t.replace(/([A-Z])/g, "-$1").toLowerCase();
7097
7098
  return Object.prototype.hasOwnProperty.call(e, a) ? e[a] : n;
7098
- }, Xd = { class: "initing-content" }, qd = { class: "initing-text" }, Qd = {
7099
+ }, Qd = { class: "initing-content" }, Jd = { class: "initing-text" }, Zd = {
7099
7100
  key: 0,
7100
7101
  class: "opration-wrapper"
7101
- }, Jd = { class: "selected-count-wrapper" }, Zd = { class: "font-medium text-[var(--text-base-primary)]" }, ef = { class: "ml-[2px] text-[var(--text-base-secondary)]" }, tf = {
7102
+ }, ef = { class: "selected-count-wrapper" }, tf = { class: "font-medium text-[var(--text-base-primary)]" }, nf = { class: "ml-[2px] text-[var(--text-base-secondary)]" }, rf = {
7102
7103
  key: 0,
7103
7104
  class: "operation-divider"
7104
- }, nf = { key: 0 }, rf = ["colspan"], af = { class: "loading-inner" }, sf = { class: "loading-success-text" }, of = ["onClick"], lf = {
7105
+ }, af = { key: 0 }, sf = ["colspan"], of = { class: "loading-inner" }, lf = { class: "loading-success-text" }, cf = ["onClick"], uf = {
7105
7106
  key: 0,
7106
7107
  class: "flex-1 flex items-center justify-center"
7107
- }, cf = { class: "flex flex-col gap-[8px] items-center -translate-x-[30px]" }, uf = { class: "no-data-text font-13" }, df = {
7108
+ }, df = { class: "flex flex-col gap-[8px] items-center -translate-x-[30px]" }, ff = { class: "no-data-text font-13" }, mf = {
7108
7109
  key: 1,
7109
7110
  class: "flex-1"
7110
- }, ff = /* @__PURE__ */ ue({
7111
+ }, pf = /* @__PURE__ */ ue({
7111
7112
  __name: "index",
7112
7113
  props: {
7113
7114
  maxHeight: {},
@@ -7231,18 +7232,18 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7231
7232
  class: "initing-wrapper",
7232
7233
  style: ce({ top: v.value, height: `calc(100% - ${v.value})` })
7233
7234
  }, [
7234
- F("div", Xd, [
7235
+ F("div", Qd, [
7235
7236
  oe(te(Yn), {
7236
7237
  class: "loading-icon",
7237
7238
  size: "20px",
7238
7239
  color: "var(--stroke-base-secondary)"
7239
7240
  }),
7240
- F("div", qd, J(te(Se)("tableList.loading")), 1)
7241
+ F("div", Jd, J(te(Se)("tableList.loading")), 1)
7241
7242
  ])
7242
7243
  ], 4)) : X("", !0),
7243
- oe(pn, { name: "table-list-operation" }, {
7244
+ oe(mn, { name: "table-list-operation" }, {
7244
7245
  default: Ne(() => [
7245
- p.value ? (w(), x("div", Qd, [
7246
+ p.value ? (w(), x("div", Zd, [
7246
7247
  F("div", {
7247
7248
  class: "operation-item",
7248
7249
  hover: "bg-[--event-focus-secondary]",
@@ -7251,11 +7252,11 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7251
7252
  oe(te(Fa), { size: "16px" })
7252
7253
  ]),
7253
7254
  R[0] || (R[0] = F("div", { class: "operation-divider" }, null, -1)),
7254
- F("div", Jd, [
7255
- F("div", Zd, J(g.value.length), 1),
7256
- F("div", ef, J(te(Se)("tableList.selected")), 1)
7255
+ F("div", ef, [
7256
+ F("div", tf, J(g.value.length), 1),
7257
+ F("div", nf, J(te(Se)("tableList.selected")), 1)
7257
7258
  ]),
7258
- s.operation ? (w(), x("div", tf)) : X("", !0),
7259
+ s.operation ? (w(), x("div", rf)) : X("", !0),
7259
7260
  de(A.$slots, "operation", {}, void 0, !0)
7260
7261
  ])) : X("", !0)
7261
7262
  ]),
@@ -7299,26 +7300,26 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7299
7300
  V.headerSlot ? {
7300
7301
  name: "default",
7301
7302
  fn: Ne(() => [
7302
- (w(), Oe(on(() => V.headerSlot({}))))
7303
+ (w(), Oe(sn(() => V.headerSlot({}))))
7303
7304
  ]),
7304
7305
  key: "0"
7305
7306
  } : void 0
7306
7307
  ]), 1032, ["label", "align", "height", "width", "sortable", "select-mode", "bg", "onSortChange"]))), 128))
7307
7308
  ])
7308
7309
  ], 4),
7309
- e.dataList.length > 0 ? (w(), x("tbody", nf, [
7310
+ e.dataList.length > 0 ? (w(), x("tbody", af, [
7310
7311
  F("tr", {
7311
7312
  class: "loading-wrapper",
7312
7313
  style: ce(h.value)
7313
7314
  }, [
7314
7315
  F("td", { colspan: W.value }, [
7315
- F("div", af, [
7316
+ F("div", of, [
7316
7317
  d.value ? (w(), x(Be, { key: 0 }, [
7317
7318
  oe(te(ao), {
7318
7319
  size: "16px",
7319
7320
  color: "var(--stroke-color-success)"
7320
7321
  }),
7321
- F("span", sf, J(te(Se)("tableList.refreshed")), 1)
7322
+ F("span", lf, J(te(Se)("tableList.refreshed")), 1)
7322
7323
  ], 64)) : (w(), Oe(te(Yn), {
7323
7324
  key: 1,
7324
7325
  class: "loading-icon",
@@ -7326,14 +7327,14 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7326
7327
  color: "var(--stroke-base-secondary)"
7327
7328
  }))
7328
7329
  ])
7329
- ], 8, rf)
7330
+ ], 8, sf)
7330
7331
  ], 4),
7331
7332
  (w(!0), x(Be, null, vt(e.dataList, (V, j) => (w(), x("tr", {
7332
7333
  key: j,
7333
7334
  class: "table-row",
7334
7335
  onClick: (ee) => U(V, j)
7335
7336
  }, [
7336
- oe(En, {
7337
+ oe(yn, {
7337
7338
  type: "select",
7338
7339
  "select-visible": p.value,
7339
7340
  index: j,
@@ -7342,7 +7343,7 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7342
7343
  selected: g.value.findIndex((ee) => ee._index === j) !== -1,
7343
7344
  onSelectChange: H
7344
7345
  }, null, 8, ["select-visible", "index", "column-height", "data", "selected"]),
7345
- (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(En, {
7346
+ (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(yn, {
7346
7347
  key: `${j}-${le}`,
7347
7348
  index: j,
7348
7349
  "column-height": e.columnHeight,
@@ -7356,23 +7357,23 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7356
7357
  ee.slotDefault ? {
7357
7358
  name: "default",
7358
7359
  fn: Ne((_e) => [
7359
- (w(), Oe(on(() => ee.slotDefault(_e))))
7360
+ (w(), Oe(sn(() => ee.slotDefault(_e))))
7360
7361
  ]),
7361
7362
  key: "0"
7362
7363
  } : void 0
7363
7364
  ]), 1032, ["index", "column-height", "prop", "align", "width", "width-percent", "min-width", "data"]))), 128))
7364
- ], 8, of))), 128)),
7365
+ ], 8, cf))), 128)),
7365
7366
  (w(!0), x(Be, null, vt(O.value, (V, j) => (w(), x("tr", {
7366
7367
  key: j + e.dataList.length
7367
7368
  }, [
7368
- oe(En, {
7369
+ oe(yn, {
7369
7370
  type: "select",
7370
7371
  "select-visible": p.value,
7371
7372
  index: j + e.dataList.length,
7372
7373
  "column-height": e.columnHeight,
7373
7374
  blank: ""
7374
7375
  }, null, 8, ["select-visible", "index", "column-height"]),
7375
- (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(En, {
7376
+ (w(!0), x(Be, null, vt(B.value, (ee, le) => (w(), Oe(yn, {
7376
7377
  key: `${j + e.dataList.length}-${le}`,
7377
7378
  index: j + e.dataList.length,
7378
7379
  "column-height": e.columnHeight,
@@ -7381,49 +7382,51 @@ const js = Symbol("TIMELINE_KEY"), Hd = { class: "cregis-timeline" }, If = /* @_
7381
7382
  ]))), 128))
7382
7383
  ])) : X("", !0)
7383
7384
  ])),
7384
- !e.loading && e.dataList.length === 0 ? (w(), x("div", lf, [
7385
- F("div", cf, [
7385
+ !e.loading && e.dataList.length === 0 ? (w(), x("div", uf, [
7386
+ F("div", df, [
7386
7387
  oe(te(so), {
7387
7388
  size: "40px",
7388
7389
  color: "var(--text-base-quaternary)"
7389
7390
  }),
7390
- F("div", uf, J(te(Se)("tableList.noData")), 1)
7391
+ F("div", ff, J(te(Se)("tableList.noData")), 1)
7391
7392
  ])
7392
- ])) : (w(), x("div", df))
7393
+ ])) : (w(), x("div", mf))
7393
7394
  ], 512)
7394
7395
  ], 512));
7395
7396
  }
7396
- }), Df = /* @__PURE__ */ Pr(ff, [["__scopeId", "data-v-7d1ecce2"]]);
7397
+ }), Pf = /* @__PURE__ */ Pr(pf, [["__scopeId", "data-v-7d1ecce2"]]);
7397
7398
  export {
7398
- Sf as Badge,
7399
+ If as Badge,
7399
7400
  Ft as Button,
7400
- Lf as Cascader,
7401
+ wf as Cascader,
7401
7402
  Cr as Checkbox,
7402
7403
  Hs as Dialog,
7403
- hf as Divider,
7404
+ bf as Divider,
7404
7405
  Ls as Input,
7405
7406
  ya as Message,
7406
- yf as Notification,
7407
- Of as Option,
7407
+ Tf as Notification,
7408
+ Cf as Option,
7408
7409
  cr as Popover,
7409
- Ef as Progress,
7410
- gf as Radio,
7411
- Nf as Select,
7412
- wf as Switch,
7410
+ Nf as Progress,
7411
+ _f as Radio,
7412
+ Lf as Select,
7413
+ kf as Switch,
7413
7414
  Cs as TABS_KEY,
7415
+ Hd as TIMELINE_INACTIVE_DOT_COLOR,
7414
7416
  js as TIMELINE_KEY,
7415
- bf as TabPane,
7416
- Df as TableList,
7417
- En as TableListColumn,
7418
- _f as Tabs,
7419
- Cf as Tag,
7420
- If as Timeline,
7421
- Af as TimelineItem,
7422
- kf as Upload,
7417
+ jd as TIMELINE_LINE_COLOR,
7418
+ Ef as TabPane,
7419
+ Pf as TableList,
7420
+ yn as TableListColumn,
7421
+ yf as Tabs,
7422
+ Sf as Tag,
7423
+ Df as Timeline,
7424
+ xf as TimelineItem,
7425
+ Af as Upload,
7423
7426
  Bd as confirm,
7424
7427
  Us as getDialogZIndex,
7425
7428
  Ws as selectInjectKey,
7426
- vf as setCregisUILocale,
7427
- Tf as setDialogZIndex,
7429
+ hf as setCregisUILocale,
7430
+ Of as setDialogZIndex,
7428
7431
  Fs as useClickOutside
7429
7432
  };
@@ -704,29 +704,36 @@ declare type TagType = 'subtle' | 'solid' | 'gray' | 'strokeSubtle' | 'strokeSol
704
704
 
705
705
  export declare const Timeline: DefineComponent<TimelineProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineProps> & Readonly<{}>, {
706
706
  dotSize: number | string;
707
- dotColor: string;
708
- lineColor: string;
707
+ activeColor: string;
709
708
  lineWidth: number | string;
710
709
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
711
710
 
711
+ /** 未激活节点圆点颜色,固定不可自定义 */
712
+ export declare const TIMELINE_INACTIVE_DOT_COLOR = "var(--material-card-deep)";
713
+
712
714
  export declare const TIMELINE_KEY: InjectionKey<TimelineContext>;
713
715
 
716
+ /** 节点连线颜色,固定不可自定义 */
717
+ export declare const TIMELINE_LINE_COLOR = "var(--stroke-outline-subtle)";
718
+
714
719
  export declare interface TimelineContext {
715
720
  dotSize: Ref<number | string>;
716
- dotColor: Ref<string>;
717
- lineColor: Ref<string>;
721
+ activeColor: Ref<string>;
718
722
  lineWidth: Ref<number | string>;
719
723
  }
720
724
 
721
725
  export declare const TimelineItem: DefineComponent<TimelineItemProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TimelineItemProps> & Readonly<{}>, {
726
+ active: boolean;
722
727
  contentHoverable: boolean;
723
728
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
724
729
 
725
730
  export declare interface TimelineItemProps {
731
+ /** 是否为激活节点,默认 true */
732
+ active?: boolean;
726
733
  /** 节点圆点直径,可覆盖 Timeline 默认值 */
727
734
  dotSize?: number | string;
728
- /** 节点圆点颜色,可覆盖 Timeline 默认值 */
729
- dotColor?: string;
735
+ /** 激活节点圆点颜色,可覆盖 Timeline 默认值 */
736
+ activeColor?: string;
730
737
  /** 连接线宽度,可覆盖 Timeline 默认值 */
731
738
  lineWidth?: number | string;
732
739
  /** content 区域是否启用 hover 背景,默认 true */
@@ -736,10 +743,8 @@ export declare interface TimelineItemProps {
736
743
  export declare interface TimelineProps {
737
744
  /** 节点圆点直径,默认 8 */
738
745
  dotSize?: number | string;
739
- /** 节点圆点颜色,默认绿色 */
740
- dotColor?: string;
741
- /** 连接线颜色 */
742
- lineColor?: string;
746
+ /** 激活节点圆点颜色,默认 var(--text-brand-primary) */
747
+ activeColor?: string;
743
748
  /** 连接线宽度,默认 2 */
744
749
  lineWidth?: number | string;
745
750
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cregis/ui",
3
3
  "private": false,
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"