yuyeon 0.1.1-rc.4 → 0.1.1-rc.5

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/yuyeon.js CHANGED
@@ -3290,7 +3290,8 @@ function mc(e) {
3290
3290
  scheme: qr.light,
3291
3291
  theme: ["light", "dark"],
3292
3292
  themes: { ...Be(Xr, e.themes) },
3293
- palette: { ...Be(Gr, e.palette) }
3293
+ palette: { ...Be(Gr, e.palette) },
3294
+ separation: e == null ? void 0 : e.separation
3294
3295
  } : {
3295
3296
  scheme: qr.light,
3296
3297
  theme: ["light", "dark"],
@@ -3316,33 +3317,33 @@ function gc(e) {
3316
3317
  var p, S;
3317
3318
  return typeof r.value == "string" && r.value in _ ? r.value : Array.isArray(r.value) ? c.value === "dark" ? ((p = r.value) == null ? void 0 : p[1]) ?? "dark" : ((S = r.value) == null ? void 0 : S[0]) ?? "light" : c.value;
3318
3319
  }), h = C(() => hc(l.value)), _ = C(() => fc(i.value)), E = C(() => {
3319
- const p = [];
3320
- p.push(
3320
+ const p = n.separation ? `#${n.separation}` : "", S = [];
3321
+ S.push(
3321
3322
  ...Dt(":root", on(h.value, "palette"))
3322
3323
  );
3323
- for (const [S, y] of Object.entries(_.value)) {
3324
- const { colors: b, variables: D, isDark: P } = y, F = {
3325
- ...b,
3326
- ...D
3327
- }, I = P ? "dark" : "light";
3328
- a.value === "auto" ? p.push(
3324
+ for (const [y, b] of Object.entries(_.value)) {
3325
+ const { colors: D, variables: P, isDark: F } = b, I = {
3326
+ ...D,
3327
+ ...P
3328
+ }, T = F ? "dark" : "light";
3329
+ a.value === "auto" ? S.push(
3329
3330
  ...Dt(
3330
- `@media (prefers-color-scheme: ${I})`,
3331
+ `@media (prefers-color-scheme: ${T})`,
3331
3332
  Dt(
3332
- `[data-theme-scheme='auto'][data-${I}-theme='${S}']`,
3333
- on(F, "theme")
3333
+ `${p}[data-theme-scheme='auto'][data-${T}-theme='${y}']`,
3334
+ on(I, "theme")
3334
3335
  )
3335
3336
  )
3336
- ) : p.push(
3337
+ ) : S.push(
3337
3338
  ...Dt(
3338
- `[data-theme-scheme='${I}'][data-${I}-theme='${S}']`,
3339
- on(F, "theme")
3339
+ `${p}[data-theme-scheme='${T}'][data-${T}-theme='${y}']`,
3340
+ on(I, "theme")
3340
3341
  )
3341
- ), p.push(
3342
- ...Dt(`.y-theme--${S}`, on(F, "theme"))
3342
+ ), S.push(
3343
+ ...Dt(`${p} .y-theme--${y}`, on(I, "theme"))
3343
3344
  );
3344
3345
  }
3345
- return p.join("");
3346
+ return S.join("");
3346
3347
  });
3347
3348
  function w(p) {
3348
3349
  p.directive("theme", dc);
@@ -3351,7 +3352,7 @@ function gc(e) {
3351
3352
  function y() {
3352
3353
  if (typeof document < "u" && !S) {
3353
3354
  const b = document.createElement("style");
3354
- b.type = "text/css", b.id = "yuyeon-theme-palette", e != null && e.cspNonce && b.setAttribute("nonce", e.cspNonce), S = b, document.head.appendChild(S);
3355
+ b.type = "text/css", b.id = `yuyeon-theme-palette${n.separation ? "__" + n.separation : ""}`, e != null && e.cspNonce && b.setAttribute("nonce", e.cspNonce), S = b, document.head.appendChild(S);
3355
3356
  }
3356
3357
  S && (S.innerHTML = E.value);
3357
3358
  }
@@ -3714,7 +3715,7 @@ const Ee = "y-input", qt = L({
3714
3715
  }), B(() => e.focused, (N) => {
3715
3716
  N || E();
3716
3717
  });
3717
- function k(N) {
3718
+ function T(N) {
3718
3719
  r("click", N);
3719
3720
  }
3720
3721
  function x(N) {
@@ -3732,7 +3733,7 @@ const Ee = "y-input", qt = L({
3732
3733
  function K(N) {
3733
3734
  r("click:leading", N);
3734
3735
  }
3735
- function T() {
3736
+ function k() {
3736
3737
  if (e.label || t.label)
3737
3738
  return d("label", {
3738
3739
  class: [{
@@ -3747,7 +3748,7 @@ const Ee = "y-input", qt = L({
3747
3748
  }
3748
3749
  return a({
3749
3750
  ...e.extended ?? {},
3750
- createLabel: T,
3751
+ createLabel: k,
3751
3752
  invokeValidators: E,
3752
3753
  validate: E
3753
3754
  }), H(() => {
@@ -3761,13 +3762,13 @@ const Ee = "y-input", qt = L({
3761
3762
  }, [t.prepend()]), d("div", {
3762
3763
  ref: p,
3763
3764
  class: [`${Ee}__stack`]
3764
- }, [!e.floating && T(), t["leading-out"] && t["leading-out"](), d("div", {
3765
+ }, [!e.floating && k(), t["leading-out"] && t["leading-out"](), d("div", {
3765
3766
  ref: S,
3766
3767
  class: `${Ee}__display`,
3767
3768
  style: [{
3768
3769
  ...I.value
3769
3770
  }],
3770
- onClick: k,
3771
+ onClick: T,
3771
3772
  onMousedown: x,
3772
3773
  onMouseup: O
3773
3774
  }, [d("div", {
@@ -3787,7 +3788,7 @@ const Ee = "y-input", qt = L({
3787
3788
  tabindex: 0,
3788
3789
  onFocus: A,
3789
3790
  onBlur: j
3790
- }, [e.floating && T(), (N = e.modelValue) == null ? void 0 : N.toString()]), ($ = t.trailing) == null ? void 0 : $.call(t)]), t["trailing-out"] && t["trailing-out"](), d("div", {
3791
+ }, [e.floating && k(), (N = e.modelValue) == null ? void 0 : N.toString()]), ($ = t.trailing) == null ? void 0 : $.call(t)]), t["trailing-out"] && t["trailing-out"](), d("div", {
3791
3792
  class: `${Ee}__helper-text`
3792
3793
  }, [t["helper-text"] ? d("span", null, [t["helper-text"]({
3793
3794
  error: w.value,
@@ -3803,7 +3804,7 @@ const Ee = "y-input", qt = L({
3803
3804
  focusedClasses: s,
3804
3805
  whenFocus: u,
3805
3806
  whenBlur: c,
3806
- createLabel: T,
3807
+ createLabel: k,
3807
3808
  invokeValidators: E
3808
3809
  };
3809
3810
  }
@@ -3915,13 +3916,13 @@ const Ee = "y-input", qt = L({
3915
3916
  }, {
3916
3917
  immediate: !0
3917
3918
  });
3918
- const k = {
3919
+ const T = {
3919
3920
  focus: D,
3920
3921
  select: P,
3921
3922
  clear: F
3922
3923
  };
3923
3924
  n({
3924
- ...k,
3925
+ ...T,
3925
3926
  input$: l,
3926
3927
  validate: () => {
3927
3928
  var O;
@@ -3937,7 +3938,7 @@ const Ee = "y-input", qt = L({
3937
3938
  }, ae(e, lt.props), {
3938
3939
  modelValue: c.value,
3939
3940
  focused: o.value,
3940
- extended: k,
3941
+ extended: T,
3941
3942
  "onUpdate:modelValue": x,
3942
3943
  onClick: E,
3943
3944
  "onMousedown:display": (O) => a("mousedown:display", O)
@@ -5046,7 +5047,7 @@ function qc(e, t, n, a) {
5046
5047
  anchor: P.value,
5047
5048
  origin: F.value
5048
5049
  };
5049
- function k(N) {
5050
+ function T(N) {
5050
5051
  const $ = new an(y), Y = ti(N.anchor, S), R = ti(N.origin, $);
5051
5052
  let { x: G, y: te } = Uc(Y, R);
5052
5053
  switch (N.anchor.side) {
@@ -5083,7 +5084,7 @@ function qc(e, t, n, a) {
5083
5084
  const A = { x: 0, y: 0 }, j = { x: !1, y: !1 };
5084
5085
  let K = -1;
5085
5086
  for (; !(K++ > 10); ) {
5086
- const { x: N, y: $, overflows: Y } = k(I);
5087
+ const { x: N, y: $, overflows: Y } = T(I);
5087
5088
  x += N, O += $, y.x += N, y.y += $;
5088
5089
  {
5089
5090
  const R = Kr(I.anchor), G = Y.x.before || Y.x.after, te = Y.y.before || Y.y.after;
@@ -5095,7 +5096,7 @@ function qc(e, t, n, a) {
5095
5096
  origin: { ...I.origin }
5096
5097
  }, ut = le === "x" ? R === "y" ? Gn : qn : R === "y" ? qn : Gn;
5097
5098
  Q.anchor = ut(Q.anchor), Q.origin = ut(Q.origin);
5098
- const { overflows: qe } = k(Q);
5099
+ const { overflows: qe } = T(Q);
5099
5100
  (qe[le].before <= Y[le].before && qe[le].after <= Y[le].after || qe[le].before + qe[le].after < (Y[le].before + Y[le].after) / 2) && (I = Q, ge = j[le] = !0);
5100
5101
  }
5101
5102
  }), ge) continue;
@@ -5107,7 +5108,7 @@ function qc(e, t, n, a) {
5107
5108
  }
5108
5109
  break;
5109
5110
  }
5110
- const T = Kr(I.anchor);
5111
+ const k = Kr(I.anchor);
5111
5112
  return Object.assign(a.value, {
5112
5113
  "--y-levitation-anchor-origin": `${I.anchor.side} ${I.anchor.align}`,
5113
5114
  transformOrigin: `${I.origin.side} ${I.origin.align}`,
@@ -5115,7 +5116,7 @@ function qc(e, t, n, a) {
5115
5116
  left: o.value ? void 0 : U(Un(x)),
5116
5117
  right: o.value ? U(Un(-x)) : void 0,
5117
5118
  minWidth: U(
5118
- T === "y" ? Math.min(s.value, S.width) : s.value
5119
+ k === "y" ? Math.min(s.value, S.width) : s.value
5119
5120
  ),
5120
5121
  maxWidth: U(
5121
5122
  Lr(
@@ -5618,7 +5619,7 @@ const Ot = L({
5618
5619
  contentEvents: b
5619
5620
  } = sd(e, y), D = xe(!1), P = M(!1), F = we(e, "disabled"), {
5620
5621
  lazyValue: I,
5621
- onAfterUpdate: k
5622
+ onAfterUpdate: T
5622
5623
  } = Pc(we(e, "eager"), y), x = C(() => !F.value && (I.value || y.value)), {
5623
5624
  coordinateStyles: O,
5624
5625
  updateCoordinate: A
@@ -5640,7 +5641,7 @@ const Ot = L({
5640
5641
  function K() {
5641
5642
  return (!e.openOnHover || e.openOnHover && !P.value) && y.value && D.value;
5642
5643
  }
5643
- const T = He({
5644
+ const k = He({
5644
5645
  handler: j,
5645
5646
  determine: K,
5646
5647
  include: () => [v.value]
@@ -5649,7 +5650,7 @@ const Ot = L({
5649
5650
  D.value = !0;
5650
5651
  }
5651
5652
  function $() {
5652
- k(), D.value = !1, t("afterLeave");
5653
+ T(), D.value = !1, t("afterLeave");
5653
5654
  }
5654
5655
  function Y() {
5655
5656
  e.closeClickScrim && (y.value = !1);
@@ -5679,7 +5680,7 @@ const Ot = L({
5679
5680
  content$: C(() => o.value),
5680
5681
  baseEl: v,
5681
5682
  active: y,
5682
- onAfterUpdate: k,
5683
+ onAfterUpdate: T,
5683
5684
  updateCoordinate: A,
5684
5685
  hovered: P,
5685
5686
  finish: D,
@@ -5747,19 +5748,19 @@ const Ot = L({
5747
5748
  }), [(qe = r.default) == null ? void 0 : qe.call(r, {
5748
5749
  active: y.value
5749
5750
  })]), [[_i, y.value], [Nn("complement-click"), {
5750
- ...T
5751
+ ...k
5751
5752
  }]])];
5752
5753
  }
5753
5754
  })])]
5754
5755
  })]);
5755
5756
  }), {
5756
- complementClickOption: T,
5757
+ complementClickOption: k,
5757
5758
  layerGroup: w,
5758
5759
  active: y,
5759
5760
  finish: D,
5760
5761
  rendered: x,
5761
5762
  lazyValue: I,
5762
- onAfterUpdate: k,
5763
+ onAfterUpdate: T,
5763
5764
  scrim$: l,
5764
5765
  content$: o,
5765
5766
  base$: c,
@@ -5870,17 +5871,17 @@ const Io = L({
5870
5871
  }
5871
5872
  function y(F) {
5872
5873
  return F.some((I) => {
5873
- var k;
5874
- return !((k = I.content$) != null && k.contains(p));
5874
+ var T;
5875
+ return !((T = I.content$) != null && T.contains(p));
5875
5876
  });
5876
5877
  }
5877
5878
  if (g !== p && ((b = s.value) != null && b.content$) && ![document, (D = s.value) == null ? void 0 : D.content$].includes(p) && !((P = s.value) != null && P.content$.contains(p)) && !y(u.value)) {
5878
5879
  const I = [...s.value.content$.querySelectorAll('button, [href], input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])')].filter((O) => !O.hasAttribute("disabled") && !O.matches('[tabindex="-1"]'));
5879
5880
  if (!I.length) return;
5880
- const k = I[0], x = I[I.length - 1];
5881
- if (p != null && p.isSameNode(k) || p != null && p.isSameNode(x))
5881
+ const T = I[0], x = I[I.length - 1];
5882
+ if (p != null && p.isSameNode(T) || p != null && p.isSameNode(x))
5882
5883
  return;
5883
- k === x ? x.focus() : k.focus();
5884
+ T === x ? x.focus() : T.focus();
5884
5885
  }
5885
5886
  }
5886
5887
  function v() {
@@ -6240,8 +6241,8 @@ function Kd(e, t, n, a = {}, r) {
6240
6241
  const S = xa(t), y = Td(f.values, S), b = Ft.get(S);
6241
6242
  return jo(y.animation, !(_a(h) && y.generator) && a.record !== !1), () => {
6242
6243
  const D = () => {
6243
- var I, k;
6244
- return (k = (I = ln.get(e, S)) !== null && I !== void 0 ? I : b == null ? void 0 : b.initialValue) !== null && k !== void 0 ? k : 0;
6244
+ var I, T;
6245
+ return (T = (I = ln.get(e, S)) !== null && I !== void 0 ? I : b == null ? void 0 : b.initialValue) !== null && T !== void 0 ? T : 0;
6245
6246
  };
6246
6247
  let P = Fd(jd(n), D);
6247
6248
  const F = Hd(P, b);
@@ -6267,9 +6268,9 @@ function Kd(e, t, n, a = {}, r) {
6267
6268
  }, I), o.finished || (o.finished = new Promise((x, O) => {
6268
6269
  o.onfinish = x, o.oncancel = O;
6269
6270
  }));
6270
- const k = P[P.length - 1];
6271
+ const T = P[P.length - 1];
6271
6272
  o.finished.then(() => {
6272
- _ || (ln.set(e, S, k), o.cancel());
6273
+ _ || (ln.set(e, S, T), o.cancel());
6273
6274
  }).catch($o), m || (o.playbackRate = 1.000001);
6274
6275
  } else if (r && g)
6275
6276
  P = P.map((I) => typeof I == "string" ? parseFloat(I) : I), P.length === 1 && P.unshift(parseFloat(D())), o = new r((I) => {
@@ -7094,42 +7095,42 @@ const qo = Uo(!1), sf = Uo(!0), uf = /* @__PURE__ */ V({
7094
7095
  imLeaf: h.value
7095
7096
  })), f = C(() => i.searchLoading.value), g = C(() => v.value.filter((I) => !i.isExcluded(J(I, e.itemKey))));
7096
7097
  function p(I) {
7097
- const k = !s.value;
7098
- s.value = k, i.updateActive(F.value, k, I), i.emitActive();
7098
+ const T = !s.value;
7099
+ s.value = T, i.updateActive(F.value, T, I), i.emitActive();
7099
7100
  }
7100
7101
  function S(I) {
7101
7102
  I.stopPropagation();
7102
- const k = !o.value;
7103
- o.value = k, i.updateExpanded(F.value, k), i.emitExpanded();
7103
+ const T = !o.value;
7104
+ o.value = T, i.updateExpanded(F.value, T), i.emitExpanded();
7104
7105
  }
7105
7106
  function y(I) {
7106
7107
  I.stopPropagation();
7107
- const k = !u.value;
7108
- u.value = k, i.updateSelected(F.value, k), i.emitSelected();
7108
+ const T = !u.value;
7109
+ u.value = T, i.updateSelected(F.value, T), i.emitSelected();
7109
7110
  }
7110
7111
  function b(I) {
7111
- var k;
7112
- (k = e.onMouseenterContainer) == null || k.call(e, I, {
7112
+ var T;
7113
+ (T = e.onMouseenterContainer) == null || T.call(e, I, {
7113
7114
  ...m.value,
7114
7115
  item: e.item
7115
7116
  });
7116
7117
  }
7117
7118
  function D(I) {
7118
- var k;
7119
- (k = e.onMouseleaveContainer) == null || k.call(e, I, {
7119
+ var T;
7120
+ (T = e.onMouseleaveContainer) == null || T.call(e, I, {
7120
7121
  ...m.value,
7121
7122
  item: e.item
7122
7123
  });
7123
7124
  }
7124
7125
  function P(I) {
7125
- var k;
7126
- (k = e.onMousemoveContainer) == null || k.call(e, I, {
7126
+ var T;
7127
+ (T = e.onMousemoveContainer) == null || T.call(e, I, {
7127
7128
  ...m.value,
7128
7129
  item: e.item
7129
7130
  });
7130
7131
  }
7131
7132
  H(() => {
7132
- var k;
7133
+ var T;
7133
7134
  const I = [];
7134
7135
  for (let x = 0; x < e.level; x += 1)
7135
7136
  I.push(d("div", {
@@ -7168,7 +7169,7 @@ const qo = Uo(!1), sf = Uo(!0), uf = /* @__PURE__ */ V({
7168
7169
  class: "y-tree-view-node__leading"
7169
7170
  }, [t.leading(m.value)]), d("div", {
7170
7171
  class: "y-tree-view-node__text"
7171
- }, [t.default ? (k = t.default) == null ? void 0 : k.call(t, {
7172
+ }, [t.default ? (T = t.default) == null ? void 0 : T.call(t, {
7172
7173
  text: w.value,
7173
7174
  item: e.item,
7174
7175
  ...m.value
@@ -7305,7 +7306,7 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7305
7306
  expose: a
7306
7307
  }) {
7307
7308
  const r = M({}), i = X(e, "expanded"), l = X(e, "active"), o = X(e, "selected"), s = M(/* @__PURE__ */ new Set()), u = M(/* @__PURE__ */ new Set()), c = M(/* @__PURE__ */ new Set()), v = M(/* @__PURE__ */ new Set()), h = xe(zu(w, e.searchDebounceWait)), _ = M([]), E = xe(!1);
7308
- function w(T, N = "", $ = hf) {
7309
+ function w(k, N = "", $ = hf) {
7309
7310
  const Y = /* @__PURE__ */ new Set();
7310
7311
  if (!N) {
7311
7312
  E.value = !1, v.value = Y, Sr(_.value, [...s.value]).forEach((G) => {
@@ -7315,17 +7316,17 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7315
7316
  });
7316
7317
  return;
7317
7318
  }
7318
- for (const R of T)
7319
+ for (const R of k)
7319
7320
  Zo($, R, N ?? "", e.itemKey, e.itemText, e.itemChildren, Y);
7320
7321
  v.value = Y, E.value = !1, S();
7321
7322
  }
7322
7323
  st(() => {
7323
7324
  E.value = !0, h.value(e.items, e.search, e.filter);
7324
7325
  });
7325
- function m(T) {
7326
+ function m(k) {
7326
7327
  const N = [], {
7327
7328
  childKeys: $
7328
- } = r.value[T];
7329
+ } = r.value[k];
7329
7330
  N.push(...$);
7330
7331
  const Y = $.slice();
7331
7332
  for (; Y.length > 0; ) {
@@ -7334,11 +7335,11 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7334
7335
  }
7335
7336
  return N;
7336
7337
  }
7337
- function f(T) {
7338
- return e.returnItem ? J(T, e.itemKey) : T;
7338
+ function f(k) {
7339
+ return e.returnItem ? J(k, e.itemKey) : k;
7339
7340
  }
7340
- function g(T, N = null, $ = 0) {
7341
- for (const Y of T) {
7341
+ function g(k, N = null, $ = 0) {
7342
+ for (const Y of k) {
7342
7343
  const R = J(Y, e.itemKey), G = J(Y, e.itemChildren) ?? [], ge = ft(r.value, R) ? r.value[R] : {
7343
7344
  vnode: null,
7344
7345
  selected: !1,
@@ -7359,84 +7360,84 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7359
7360
  g(G, R, $ + 1), r.value[R] = le, r.value[R].expanded && s.value.add(R), r.value[R].selected && s.value.add(R), r.value[R].active && c.value.add(R), x(R);
7360
7361
  }
7361
7362
  }
7362
- function p(T, N) {
7363
- if (!(T in r.value)) return;
7364
- const $ = r.value[T], Y = J($.item, e.itemChildren);
7365
- Array.isArray(Y) && Y.length > 0 && (N ? s.value.add(T) : s.value.delete(T), $.expanded = N, x(T));
7363
+ function p(k, N) {
7364
+ if (!(k in r.value)) return;
7365
+ const $ = r.value[k], Y = J($.item, e.itemChildren);
7366
+ Array.isArray(Y) && Y.length > 0 && (N ? s.value.add(k) : s.value.delete(k), $.expanded = N, x(k));
7366
7367
  }
7367
- B(s, (T) => {
7368
- e.search || (_.value = [...T]);
7368
+ B(s, (k) => {
7369
+ e.search || (_.value = [...k]);
7369
7370
  }, {
7370
7371
  deep: !0
7371
7372
  });
7372
- function S(T = !0) {
7373
+ function S(k = !0) {
7373
7374
  return Object.entries(r.value).forEach(([N, $]) => {
7374
- (T === !0 || T >= $.level) && p(N, !0);
7375
+ (k === !0 || k >= $.level) && p(N, !0);
7375
7376
  }), D(), s.value;
7376
7377
  }
7377
- function y(T, N, $) {
7378
- if (!(T in r.value)) return;
7379
- const Y = r.value[T];
7380
- let R = N ? "" : T;
7378
+ function y(k, N, $) {
7379
+ if (!(k in r.value)) return;
7380
+ const Y = r.value[k];
7381
+ let R = N ? "" : k;
7381
7382
  if (e.multipleActive || ([R] = [...c.value]), N)
7382
- c.value.add(T), Y.active = !0, x(T);
7383
- else if (e.requiredActive && c.value.size === 1 && T === R) {
7384
- x(T);
7383
+ c.value.add(k), Y.active = !0, x(k);
7384
+ else if (e.requiredActive && c.value.size === 1 && k === R) {
7385
+ x(k);
7385
7386
  return;
7386
7387
  }
7387
7388
  if (R && R in r.value && (c.value.delete(R), r.value[R].active = !1, x(R)), !(e.activeSingleModifier && ($ != null && $.getModifierState(e.activeSingleModifier))) && e.multipleActive && e.activeStrategy === "cascade")
7388
- for (const G of m(T))
7389
+ for (const G of m(k))
7389
7390
  G in r.value && (N ? c.value.add(G) : c.value.delete(G), r.value[G].active = N, x(G));
7390
7391
  }
7391
- function b(T, N) {
7392
- if (!(T in r.value)) return;
7393
- const $ = r.value[T];
7394
- if (N && (u.value.add(T), $.selected = !0), !N && T in r.value && (u.value.delete(T), r.value[T].selected = !1, x(T)), e.selectStrategy === "cascade")
7395
- for (const Y of m(T))
7392
+ function b(k, N) {
7393
+ if (!(k in r.value)) return;
7394
+ const $ = r.value[k];
7395
+ if (N && (u.value.add(k), $.selected = !0), !N && k in r.value && (u.value.delete(k), r.value[k].selected = !1, x(k)), e.selectStrategy === "cascade")
7396
+ for (const Y of m(k))
7396
7397
  Y in r.value && (N ? u.value.add(Y) : u.value.delete(Y), r.value[Y].selected = N, x(Y));
7397
7398
  }
7398
7399
  function D() {
7399
- const T = [...s.value];
7400
- i.value = e.returnItem ? T.map((N) => r.value[N].item) : T;
7400
+ const k = [...s.value];
7401
+ i.value = e.returnItem ? k.map((N) => r.value[N].item) : k;
7401
7402
  }
7402
7403
  function P() {
7403
- const T = [...c.value];
7404
- l.value = e.returnItem ? T.map((N) => r.value[N].item) : T;
7404
+ const k = [...c.value];
7405
+ l.value = e.returnItem ? k.map((N) => r.value[N].item) : k;
7405
7406
  }
7406
7407
  function F() {
7407
- const T = [...u.value];
7408
- o.value = e.returnItem ? T.map((N) => r.value[N].item) : T;
7408
+ const k = [...u.value];
7409
+ o.value = e.returnItem ? k.map((N) => r.value[N].item) : k;
7409
7410
  }
7410
- function I(T, N, $, Y) {
7411
- const R = e.returnItem ? T.map((te) => J(te, e.itemKey)) : T, G = [...N.value];
7411
+ function I(k, N, $, Y) {
7412
+ const R = e.returnItem ? k.map((te) => J(te, e.itemKey)) : k, G = [...N.value];
7412
7413
  Oe(G, R) || (G.forEach((te) => $(te, !1)), R.forEach((te) => $(te, !0)), Y());
7413
7414
  }
7414
- B(i, (T) => {
7415
- I(T, s, p, D);
7416
- }), B(l, (T) => {
7417
- I(T, c, y, P);
7418
- }), B(o, (T) => {
7419
- I(T, u, b, F);
7420
- }), B(() => e.items, (T) => {
7421
- const N = Object.keys(r.value).map((te) => J(r.value[te].item, e.itemKey)), $ = ff(T, e.itemKey, e.itemChildren), Y = Sr(N, $);
7415
+ B(i, (k) => {
7416
+ I(k, s, p, D);
7417
+ }), B(l, (k) => {
7418
+ I(k, c, y, P);
7419
+ }), B(o, (k) => {
7420
+ I(k, u, b, F);
7421
+ }), B(() => e.items, (k) => {
7422
+ const N = Object.keys(r.value).map((te) => J(r.value[te].item, e.itemKey)), $ = ff(k, e.itemKey, e.itemChildren), Y = Sr(N, $);
7422
7423
  if (Y.length < 1 && $.length < N.length)
7423
7424
  return;
7424
7425
  Y.forEach((te) => delete r.value[te]);
7425
7426
  const R = [...u.value], G = [...c.value];
7426
- u.value.clear(), s.value.clear(), c.value.clear(), g(T), Oe(R, [...u.value]) || F(), Oe(G, [...c.value]) || P();
7427
+ u.value.clear(), s.value.clear(), c.value.clear(), g(k), Oe(R, [...u.value]) || F(), Oe(G, [...c.value]) || P();
7427
7428
  }, {
7428
7429
  deep: !0,
7429
7430
  flush: "sync"
7430
7431
  });
7431
- function k(T) {
7432
- return !!e.search && v.value.has(T);
7432
+ function T(k) {
7433
+ return !!e.search && v.value.has(k);
7433
7434
  }
7434
- function x(T) {
7435
- const N = r.value[T];
7435
+ function x(k) {
7436
+ const N = r.value[k];
7436
7437
  N && N.vnode && (N.vnode.active = N.active, N.vnode.selected = N.selected, N.vnode.indeterminate = N.indeterminate, N.vnode.expanded = N.expanded);
7437
7438
  }
7438
- function O(T, N) {
7439
- r.value[T] && (r.value[T].vnode = N), x(T);
7439
+ function O(k, N) {
7440
+ r.value[k] && (r.value[k].vnode = N), x(k);
7440
7441
  }
7441
7442
  g(e.items), ve("tree-view", {
7442
7443
  register: O,
@@ -7446,23 +7447,23 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7446
7447
  emitExpanded: D,
7447
7448
  emitActive: P,
7448
7449
  emitSelected: F,
7449
- isExcluded: k,
7450
+ isExcluded: T,
7450
7451
  searchLoading: E
7451
7452
  });
7452
- const A = C(() => e.items.slice().filter((T) => !k(J(T, e.itemKey)))), j = C(() => ({
7453
+ const A = C(() => e.items.slice().filter((k) => !T(J(k, e.itemKey)))), j = C(() => ({
7453
7454
  "y-tree-view": !0
7454
7455
  })), K = C(() => {
7455
- let T = e.activeColor;
7456
- return e.activeColor && !Qa(e.activeColor) && (T = `var(--y-theme-${e.activeColor})`), {
7457
- "--y-tree-view__active-color": T
7456
+ let k = e.activeColor;
7457
+ return e.activeColor && !Qa(e.activeColor) && (k = `var(--y-theme-${e.activeColor})`), {
7458
+ "--y-tree-view__active-color": k
7458
7459
  };
7459
7460
  });
7460
7461
  return Ia(() => {
7461
- e.defaultExpand != null && e.defaultExpand !== !1 ? _.value = [...S(e.defaultExpand)] : (i.value.forEach((T) => p(f(T), !0)), D());
7462
- for (const T of e.active.map(f))
7463
- y(T, !0);
7464
- for (const T of e.selected.map(f))
7465
- b(T, !0);
7462
+ e.defaultExpand != null && e.defaultExpand !== !1 ? _.value = [...S(e.defaultExpand)] : (i.value.forEach((k) => p(f(k), !0)), D());
7463
+ for (const k of e.active.map(f))
7464
+ y(k, !0);
7465
+ for (const k of e.selected.map(f))
7466
+ b(k, !0);
7466
7467
  }), a({
7467
7468
  expand: S
7468
7469
  }), H(() => d(Z, null, [d("div", {
@@ -7471,11 +7472,11 @@ const hi = cr(), vf = /* @__PURE__ */ V({
7471
7472
  role: "tree"
7472
7473
  }, [E.value && d(Do, {
7473
7474
  indeterminate: !0
7474
- }, null), A.value.length > 0 ? A.value.slice().map((T) => d(Xo, W({
7475
- key: J(T, e.itemKey)
7475
+ }, null), A.value.length > 0 ? A.value.slice().map((k) => d(Xo, W({
7476
+ key: J(k, e.itemKey)
7476
7477
  }, {
7477
7478
  ...ae(e, hi),
7478
- item: T,
7479
+ item: k,
7479
7480
  level: 0
7480
7481
  }), t)) : d("div", {
7481
7482
  class: "y-tree-view__no-data"
@@ -8760,7 +8761,7 @@ const gr = L({
8760
8761
  }));
8761
8762
  return H(() => {
8762
8763
  var A;
8763
- const k = ae(e, Yt.props), x = ae(e, Vt.props), O = ae(e, pt.props);
8764
+ const T = ae(e, Yt.props), x = ae(e, Vt.props), O = ae(e, pt.props);
8764
8765
  return d(pt, W({
8765
8766
  class: ["y-data-table", {
8766
8767
  "y-data-table--no-data": !e.loading && e.items.length < 1 && !e.hideNoData
@@ -8778,12 +8779,12 @@ const gr = L({
8778
8779
  "slot-props": I.value
8779
8780
  }, t)]),
8780
8781
  default: () => {
8781
- var j, K, T;
8782
+ var j, K, k;
8782
8783
  return t.default ? t.default(I.value) : d(Z, null, [d("thead", {
8783
8784
  ref: P
8784
- }, [d(Yt, k, t)]), (j = t.thead) == null ? void 0 : j.call(t, I.value), d("tbody", null, [d(Vt, W(x, {
8785
+ }, [d(Yt, T, t)]), (j = t.thead) == null ? void 0 : j.call(t, I.value), d("tbody", null, [d(Vt, W(x, {
8785
8786
  items: f.value
8786
- }), t)]), (K = t.tbody) == null ? void 0 : K.call(t, I.value), (T = t.tfoot) == null ? void 0 : T.call(t, I.value)]);
8787
+ }), t)]), (K = t.tbody) == null ? void 0 : K.call(t, I.value), (k = t.tfoot) == null ? void 0 : k.call(t, I.value)]);
8787
8788
  },
8788
8789
  trailing: () => {
8789
8790
  var j;
@@ -8903,7 +8904,7 @@ const gr = L({
8903
8904
  headers: u.value
8904
8905
  }));
8905
8906
  H(() => {
8906
- var k;
8907
+ var T;
8907
8908
  const P = ae(e, Yt.props), F = ae(e, Vt.props), I = ae(e, pt.props);
8908
8909
  return d(pt, W({
8909
8910
  class: ["y-data-table", {
@@ -8911,7 +8912,7 @@ const gr = L({
8911
8912
  }]
8912
8913
  }, I, {
8913
8914
  style: {
8914
- "--y-table-head-height": U((k = b.value) == null ? void 0 : k.height)
8915
+ "--y-table-head-height": U((T = b.value) == null ? void 0 : T.height)
8915
8916
  }
8916
8917
  }), {
8917
8918
  top: () => {
@@ -9698,9 +9699,9 @@ const xl = L({
9698
9699
  u.value || (x = r.value) == null || x.focus();
9699
9700
  }
9700
9701
  function D(x) {
9701
- var O, A, j, K, T;
9702
+ var O, A, j, K, k;
9702
9703
  if (x.target && ((A = (O = i.value) == null ? void 0 : O.layer$) != null && A.content$))
9703
- return (T = x.target) == null ? void 0 : T.contains((K = (j = i.value) == null ? void 0 : j.layer$) == null ? void 0 : K.content$);
9704
+ return (k = x.target) == null ? void 0 : k.contains((K = (j = i.value) == null ? void 0 : j.layer$) == null ? void 0 : K.content$);
9704
9705
  }
9705
9706
  function P(x) {
9706
9707
  if (e.multiple) {
@@ -9723,10 +9724,10 @@ const xl = L({
9723
9724
  });
9724
9725
  B(s, (x) => {
9725
9726
  x && Se(() => {
9726
- k();
9727
+ T();
9727
9728
  });
9728
9729
  });
9729
- function k() {
9730
+ function T() {
9730
9731
  var O, A;
9731
9732
  if (w.value.length === 0)
9732
9733
  return;
@@ -9734,8 +9735,8 @@ const xl = L({
9734
9735
  if (x) {
9735
9736
  const j = x == null ? void 0 : x.querySelector(".y-list-item--active"), K = (A = (O = i.value) == null ? void 0 : O.layer$) == null ? void 0 : A.content$;
9736
9737
  if (j && K) {
9737
- const T = Xu(j);
9738
- T && (K.contains(T) || K.isSameNode(T)) && T.scrollTo({
9738
+ const k = Xu(j);
9739
+ k && (K.contains(k) || K.isSameNode(k)) && k.scrollTo({
9739
9740
  top: j.offsetTop,
9740
9741
  behavior: "smooth"
9741
9742
  });
@@ -9784,7 +9785,7 @@ const xl = L({
9784
9785
  focused: u.value
9785
9786
  }), {
9786
9787
  default: () => {
9787
- var T;
9788
+ var k;
9788
9789
  const K = {
9789
9790
  items: w.value.map((N) => N.raw),
9790
9791
  displayText: F.value,
@@ -9793,23 +9794,23 @@ const xl = L({
9793
9794
  };
9794
9795
  return d("div", {
9795
9796
  class: ["y-select__selection"]
9796
- }, [t.selection ? (T = t.selection) == null ? void 0 : T.call(t, K) : m.value.length > 0 ? F.value : e.placeholder]);
9797
+ }, [t.selection ? (k = t.selection) == null ? void 0 : k.call(t, K) : m.value.length > 0 ? F.value : e.placeholder]);
9797
9798
  },
9798
9799
  leading: t.leading ? (...K) => {
9799
- var T;
9800
- return (T = t.leading) == null ? void 0 : T.call(t, ...K);
9800
+ var k;
9801
+ return (k = t.leading) == null ? void 0 : k.call(t, ...K);
9801
9802
  } : void 0,
9802
9803
  trailing: (...K) => t["dropdown-icon"] ? t["dropdown-icon"]() : d(ze, W(W(O), {
9803
9804
  icon: e.dropdownIcon,
9804
9805
  class: ["y-select__icon"]
9805
9806
  }), null),
9806
9807
  label: t.label ? (...K) => {
9807
- var T;
9808
- return (T = t.label) == null ? void 0 : T.call(t, ...K);
9808
+ var k;
9809
+ return (k = t.label) == null ? void 0 : k.call(t, ...K);
9809
9810
  } : void 0,
9810
9811
  "helper-text": t["helper-text"] ? (...K) => {
9811
- var T;
9812
- return (T = t["helper-text"]) == null ? void 0 : T.call(t, ...K);
9812
+ var k;
9813
+ return (k = t["helper-text"]) == null ? void 0 : k.call(t, ...K);
9813
9814
  } : void 0
9814
9815
  });
9815
9816
  },
@@ -9822,23 +9823,23 @@ const xl = L({
9822
9823
  var j, K;
9823
9824
  return [(j = t["menu-prepend"]) == null ? void 0 : j.call(t), c.value.length > 0 ? d(fr, {
9824
9825
  ref: l
9825
- }, Lf(A = c.value.map((T) => {
9826
+ }, Lf(A = c.value.map((k) => {
9826
9827
  const N = {
9827
- item: T,
9828
- selected: g(T),
9828
+ item: k,
9829
+ selected: g(k),
9829
9830
  select: () => {
9830
- P(T);
9831
+ P(k);
9831
9832
  }
9832
9833
  };
9833
9834
  return d(dr, {
9834
- onClick: ($) => y(T),
9835
+ onClick: ($) => y(k),
9835
9836
  class: [{
9836
- "y-list-item--active": g(T)
9837
+ "y-list-item--active": g(k)
9837
9838
  }]
9838
9839
  }, {
9839
9840
  default: () => {
9840
9841
  var $;
9841
- return t.item ? ($ = t.item) == null ? void 0 : $.call(t, N) : T.text;
9842
+ return t.item ? ($ = t.item) == null ? void 0 : $.call(t, N) : k.text;
9842
9843
  },
9843
9844
  leading: t["item-leading"] && (() => {
9844
9845
  var $;
@@ -10085,7 +10086,7 @@ const xl = L({
10085
10086
  const p = c.value, S = n.date();
10086
10087
  return p.map((y, b) => y.map((D, P) => {
10087
10088
  var x;
10088
- const F = n.toISO(D), I = !n.isSameMonth(D, u.value), k = !!((x = l.value) != null && x.find((O) => O != null && n.isSameDay(D, O)));
10089
+ const F = n.toISO(D), I = !n.isSameMonth(D, u.value), T = !!((x = l.value) != null && x.find((O) => O != null && n.isSameDay(D, O)));
10089
10090
  return {
10090
10091
  date: D,
10091
10092
  isoDate: F,
@@ -10096,10 +10097,10 @@ const xl = L({
10096
10097
  disabled: m(D),
10097
10098
  weekStart: P % 7 === 0,
10098
10099
  weekEnd: P % 7 === 6,
10099
- rangeStart: k && l.value.length > 1 && e.range && n.isSameDay(E.value, D),
10100
- rangeEnd: k && l.value.length === 2 && e.range && n.isSameDay(w.value, D),
10100
+ rangeStart: T && l.value.length > 1 && e.range && n.isSameDay(E.value, D),
10101
+ rangeEnd: T && l.value.length === 2 && e.range && n.isSameDay(w.value, D),
10101
10102
  weekIndex: b,
10102
- selected: k,
10103
+ selected: T,
10103
10104
  interval: f(D),
10104
10105
  today: n.isSameDay(D, S),
10105
10106
  adjacent: I,
@@ -10601,58 +10602,58 @@ const xl = L({
10601
10602
  3: "",
10602
10603
  4: ""
10603
10604
  }), u = M(!1), c = M([]);
10604
- function v(k) {
10605
- return !/[^0-9]/.test(k) && Number(k) < 33 && Number(k) > -1;
10605
+ function v(T) {
10606
+ return !/[^0-9]/.test(T) && Number(T) < 33 && Number(T) > -1;
10606
10607
  }
10607
- function h(k, x) {
10608
- const O = x.target, A = (O == null ? void 0 : O.value) || "", j = s[k], K = k < 4 ? yi.test(A) : v(A), T = A !== "" ? Number(A).toString() : "";
10609
- o[k] = T, !K && A !== "" ? y(k, j) : (A.length > 2 && b(k), s[k] = T, P());
10608
+ function h(T, x) {
10609
+ const O = x.target, A = (O == null ? void 0 : O.value) || "", j = s[T], K = T < 4 ? yi.test(A) : v(A), k = A !== "" ? Number(A).toString() : "";
10610
+ o[T] = k, !K && A !== "" ? y(T, j) : (A.length > 2 && b(T), s[T] = k, P());
10610
10611
  }
10611
- function _(k, x) {
10612
- u.value = !0, c.value.push(k);
10612
+ function _(T, x) {
10613
+ u.value = !0, c.value.push(T);
10613
10614
  }
10614
- function E(k, x) {
10615
+ function E(T, x) {
10615
10616
  u.value = !1, Se(() => {
10616
10617
  setTimeout(() => {
10617
10618
  c.value.forEach((O, A) => {
10618
- O === k && c.value.splice(A, 1);
10619
+ O === T && c.value.splice(A, 1);
10619
10620
  });
10620
10621
  });
10621
10622
  });
10622
10623
  }
10623
- function w(k, x) {
10624
+ function w(T, x) {
10624
10625
  }
10625
- function m(k, x) {
10626
+ function m(T, x) {
10626
10627
  const O = x.target;
10627
- if (x.key === "Backspace" && x.target && O.value === "" && D(k), (x.key === "ArrowRight" || x.key === "ArrowDown" && !x.shiftKey) && O.selectionStart !== null && O.value.length <= O.selectionStart)
10628
- if (k === 3) {
10628
+ if (x.key === "Backspace" && x.target && O.value === "" && D(T), (x.key === "ArrowRight" || x.key === "ArrowDown" && !x.shiftKey) && O.selectionStart !== null && O.value.length <= O.selectionStart)
10629
+ if (T === 3) {
10629
10630
  x.preventDefault(), n("tab");
10630
10631
  return;
10631
10632
  } else {
10632
- x.preventDefault(), b(k);
10633
+ x.preventDefault(), b(T);
10633
10634
  return;
10634
10635
  }
10635
10636
  if ((x.key === "ArrowLeft" || x.key === "ArrowUp" && !x.shiftKey) && O.selectionStart !== null && O.selectionStart === 0)
10636
- if (k === 0) {
10637
+ if (T === 0) {
10637
10638
  x.preventDefault(), n("tab", -1);
10638
10639
  return;
10639
10640
  } else {
10640
- x.preventDefault(), D(k);
10641
+ x.preventDefault(), D(T);
10641
10642
  return;
10642
10643
  }
10643
- (x.key === "Tab" && !x.shiftKey && O.value !== "" || x.key === "Enter" || x.key === ".") && e.onTab && k === 3 && (x.preventDefault(), n("tab", 3));
10644
+ (x.key === "Tab" && !x.shiftKey && O.value !== "" || x.key === "Enter" || x.key === ".") && e.onTab && T === 3 && (x.preventDefault(), n("tab", 3));
10644
10645
  }
10645
- function f(k, x) {
10646
- x.key === "." && b(k);
10646
+ function f(T, x) {
10647
+ x.key === "." && b(T);
10647
10648
  }
10648
- function g(k) {
10649
- if (typeof k == "string") {
10649
+ function g(T) {
10650
+ if (typeof T == "string") {
10650
10651
  let x = [];
10651
- if (k.lastIndexOf("/") > -1) {
10652
- const O = k.substring(k.lastIndexOf("/") + 1, k.length);
10653
- e.subnet && v(O) && (o[4] = O), x = k.substring(0, k.lastIndexOf("/")).split(".");
10652
+ if (T.lastIndexOf("/") > -1) {
10653
+ const O = T.substring(T.lastIndexOf("/") + 1, T.length);
10654
+ e.subnet && v(O) && (o[4] = O), x = T.substring(0, T.lastIndexOf("/")).split(".");
10654
10655
  } else
10655
- x = k.split(".");
10656
+ x = T.split(".");
10656
10657
  if (x.length > 2) {
10657
10658
  for (let O = 0; O < 4; O += 1) {
10658
10659
  const A = x[O];
@@ -10662,27 +10663,27 @@ const xl = L({
10662
10663
  }
10663
10664
  }
10664
10665
  }
10665
- function p(k) {
10666
- const x = (k.clipboardData || window.clipboardData).getData("text");
10667
- isNaN(Number(x)) && (k.preventDefault(), g(x));
10666
+ function p(T) {
10667
+ const x = (T.clipboardData || window.clipboardData).getData("text");
10668
+ isNaN(Number(x)) && (T.preventDefault(), g(x));
10668
10669
  }
10669
10670
  function S() {
10670
10671
  e.autoFillSubnet && o[0] && o[1] && o[2] && o[3] && !o[4] && (typeof e.autoFillSubnet == "boolean" ? o[4] = "32" : o[4] = e.autoFillSubnet.toString(), P());
10671
10672
  }
10672
- function y(k, x) {
10673
+ function y(T, x) {
10673
10674
  Se(() => {
10674
- o[k] = x, P();
10675
+ o[T] = x, P();
10675
10676
  });
10676
10677
  }
10677
- function b(k) {
10678
- const x = k + 1;
10678
+ function b(T) {
10679
+ const x = T + 1;
10679
10680
  if (x < 4) {
10680
10681
  const O = i.value[x];
10681
10682
  O.focus(), O.selectionStart = 0;
10682
10683
  }
10683
10684
  }
10684
- function D(k) {
10685
- const x = k - 1;
10685
+ function D(T) {
10686
+ const x = T - 1;
10686
10687
  if (x > -1) {
10687
10688
  const O = i.value[x];
10688
10689
  O.focus(), O.selectionStart = O.value.length + 1;
@@ -10695,33 +10696,33 @@ const xl = L({
10695
10696
  return o[0] === "" && o[1] === "" && o[2] === "" && o[3] === "" ? "" : `${o[0]}.${o[1]}.${o[2]}.${o[3]}${e.subnet ? "/" + o[4] : ""}`;
10696
10697
  }
10697
10698
  const I = C(() => c.value.length > 0);
10698
- return B(l, (k) => {
10699
- if (k === "") {
10699
+ return B(l, (T) => {
10700
+ if (T === "") {
10700
10701
  for (let x = 0; x < 5; x += 1)
10701
10702
  o[x] = "", s[x] = "";
10702
10703
  return;
10703
10704
  } else
10704
- g(k);
10705
+ g(T);
10705
10706
  }, {
10706
10707
  immediate: !0
10707
- }), B(I, (k) => {
10708
- k || S();
10709
- }), B(u, (k) => {
10710
- n(k ? "focus" : "blur");
10708
+ }), B(I, (T) => {
10709
+ T || S();
10710
+ }), B(u, (T) => {
10711
+ n(T ? "focus" : "blur");
10711
10712
  }), H(() => (i.value = [], d(lt, W({
10712
10713
  ref: r,
10713
10714
  class: [mi, ct, {
10714
10715
  [`${ct}--text`]: e.text
10715
10716
  }]
10716
10717
  }, ae(e, lt.props)), {
10717
- leading: (...k) => {
10718
+ leading: (...T) => {
10718
10719
  var x;
10719
- return (x = t.leading) == null ? void 0 : x.call(t, ...k);
10720
+ return (x = t.leading) == null ? void 0 : x.call(t, ...T);
10720
10721
  },
10721
- default: (k) => d("div", W({
10722
+ default: (T) => d("div", W({
10722
10723
  class: [`${ct}__field`]
10723
10724
  }, W({
10724
- "data-id": k.attrId
10725
+ "data-id": T.attrId
10725
10726
  }), {
10726
10727
  ref: a
10727
10728
  }), [[0, 1, 2, 3, 4].map((x) => {
@@ -10730,7 +10731,7 @@ const xl = L({
10730
10731
  class: [`${ct}__part`]
10731
10732
  }, [d("input", {
10732
10733
  ref: (A) => i.value.push(A),
10733
- id: `${k.attrId}__part--${x}`,
10734
+ id: `${T.attrId}__part--${x}`,
10734
10735
  value: O.value,
10735
10736
  class: [`${ct}__part-input`],
10736
10737
  readonly: e.readonly || e.loading,
@@ -10748,17 +10749,17 @@ const xl = L({
10748
10749
  class: [`${ct}__part`]
10749
10750
  }, [x < 3 ? "." : "/"])];
10750
10751
  })]),
10751
- trailing: (...k) => {
10752
+ trailing: (...T) => {
10752
10753
  var x;
10753
- return (x = t.trailing) == null ? void 0 : x.call(t, ...k);
10754
+ return (x = t.trailing) == null ? void 0 : x.call(t, ...T);
10754
10755
  },
10755
10756
  label: t.label && (() => {
10756
- var k;
10757
- return (k = t.label) == null ? void 0 : k.call(t);
10757
+ var T;
10758
+ return (T = t.label) == null ? void 0 : T.call(t);
10758
10759
  }),
10759
10760
  "helper-text": t["helper-text"] && (() => {
10760
- var k;
10761
- return (k = t["helper-text"]) == null ? void 0 : k.call(t);
10761
+ var T;
10762
+ return (T = t["helper-text"]) == null ? void 0 : T.call(t);
10762
10763
  })
10763
10764
  }))), {};
10764
10765
  }
@@ -11010,7 +11011,7 @@ function fh(e = sh) {
11010
11011
  });
11011
11012
  Object.keys(gi).forEach((c) => {
11012
11013
  const v = gi[c];
11013
- l.component(c, v);
11014
+ typeof v == "object" && l.component(c, v);
11014
11015
  }), l.directive("plate-wave", bo), l.provide(En, t.instance), l.provide(pl, r), l.provide(Co, {
11015
11016
  ...n.localeModule,
11016
11017
  ...n.rtlModule