@rocketui/vue 0.2.15 → 0.2.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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as T, openBlock as m, createElementBlock as r, createElementVNode as S, unref as V1, reactive as Z1, Fragment as L1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as c, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as d1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
1
+ import { defineComponent as T, openBlock as m, createElementBlock as a, createElementVNode as S, unref as V1, reactive as Z1, Fragment as L1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as c, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as d1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
2
2
  const k2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7305,7 +7305,7 @@ const k2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), r("svg", {
7308
+ return (C, M) => (m(), a("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
@@ -7335,7 +7335,7 @@ const k2 = {
7335
7335
  C[i].open = i === A ? !C[i].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (A, L) => (m(!0), r(L1, null, A1(C, (i, e) => (m(), r("div", {
7338
+ return (A, L) => (m(!0), a(L1, null, A1(C, (i, e) => (m(), a("div", {
7339
7339
  key: e,
7340
7340
  class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
@@ -7392,7 +7392,7 @@ const k2 = {
7392
7392
  function i() {
7393
7393
  M("close");
7394
7394
  }
7395
- return (e, t) => (m(), r("div", {
7395
+ return (e, t) => (m(), a("div", {
7396
7396
  class: p(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
@@ -7406,10 +7406,10 @@ const k2 = {
7406
7406
  S("div", R2, [
7407
7407
  f(e.$slots, "content", {}, () => [
7408
7408
  S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), r("p", D2, w(C.description), 1)) : c("", !0)
7409
+ C.description ? (m(), a("p", D2, w(C.description), 1)) : c("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
- C.closable ? (m(), r("div", _2, [
7412
+ C.closable ? (m(), a("div", _2, [
7413
7413
  f(e.$slots, "custom-close", {}, () => [
7414
7414
  K(D, {
7415
7415
  class: "r-alert__close__button",
@@ -7440,14 +7440,14 @@ const k2 = {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  }
7443
- return (i, e) => (m(), r("div", E2, [
7443
+ return (i, e) => (m(), a("div", E2, [
7444
7444
  S("div", {
7445
7445
  class: p(C.value)
7446
7446
  }, [
7447
- V.type === "text" ? (m(), r("p", {
7447
+ V.type === "text" ? (m(), a("p", {
7448
7448
  key: 0,
7449
7449
  class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), r("img", {
7450
+ }, w(L(V.text)), 3)) : (m(), a("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
7453
  class: p(["r-avatar__image", {
@@ -7457,7 +7457,7 @@ const k2 = {
7457
7457
  src: A.value
7458
7458
  }, null, 10, W2))
7459
7459
  ], 2),
7460
- V.online ? (m(), r("span", {
7460
+ V.online ? (m(), a("span", {
7461
7461
  key: 0,
7462
7462
  class: p(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
@@ -7491,7 +7491,7 @@ const k2 = {
7491
7491
  [`r-badge--${V.variant}`]: V.variant,
7492
7492
  [V.class]: V.class
7493
7493
  }));
7494
- return (M, A) => (m(), r("div", {
7494
+ return (M, A) => (m(), a("div", {
7495
7495
  class: p(["r-badge-wrapper group", [V.wrapperClass]])
7496
7496
  }, [
7497
7497
  S("span", {
@@ -7535,7 +7535,7 @@ const k2 = {
7535
7535
  })[V.size || "medium"]), A = g(() => ({
7536
7536
  height: V.height ? `${V.height}px` : ""
7537
7537
  }));
7538
- return (L, i) => (m(), r("button", j1(L.$attrs, {
7538
+ return (L, i) => (m(), a("button", j1(L.$attrs, {
7539
7539
  class: C.value,
7540
7540
  disabled: L.disabled,
7541
7541
  style: A.value,
@@ -7622,7 +7622,7 @@ const k2 = {
7622
7622
  // TODO: find a better way to do this
7623
7623
  immediate: !0
7624
7624
  }
7625
- ), (d, l) => (m(), r("div", Q2, [
7625
+ ), (d, l) => (m(), a("div", Q2, [
7626
7626
  S("div", G2, [
7627
7627
  S("input", {
7628
7628
  id: C.id,
@@ -7649,8 +7649,8 @@ const k2 = {
7649
7649
  "data-disabled": C.disabled,
7650
7650
  for: C.id
7651
7651
  }, w(C.label), 9, K2),
7652
- C.hideDetails ? c("", !0) : (m(), r("div", q2, [
7653
- C.errorMsg ? (m(), r("p", j2, w(C.errorMsg), 1)) : (m(), r("p", X2, w(C.hint), 1))
7652
+ C.hideDetails ? c("", !0) : (m(), a("div", q2, [
7653
+ C.errorMsg ? (m(), a("p", j2, w(C.errorMsg), 1)) : (m(), a("p", X2, w(C.hint), 1))
7654
7654
  ]))
7655
7655
  ])
7656
7656
  ]));
@@ -7681,7 +7681,7 @@ const k2 = {
7681
7681
  function i(e) {
7682
7682
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7683
7683
  }
7684
- return (e, t) => (m(), r("div", {
7684
+ return (e, t) => (m(), a("div", {
7685
7685
  class: p(A.value)
7686
7686
  }, [
7687
7687
  S("div", {
@@ -7739,14 +7739,14 @@ function y1(...H) {
7739
7739
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7740
7740
  const L = [], i = () => {
7741
7741
  L.forEach((l) => l()), L.length = 0;
7742
- }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7742
+ }, e = (l, o, r, Z) => (l.addEventListener(o, r, Z), () => l.removeEventListener(o, r, Z)), t = G(
7743
7743
  () => [l1(V), J1(A)],
7744
7744
  ([l, o]) => {
7745
7745
  if (i(), !l)
7746
7746
  return;
7747
- const n = V5(o) ? { ...o } : o;
7747
+ const r = V5(o) ? { ...o } : o;
7748
7748
  L.push(
7749
- ...C.flatMap((a) => M.map((Z) => e(l, a, Z, n)))
7749
+ ...C.flatMap((Z) => M.map((u) => e(l, Z, u, r)))
7750
7750
  );
7751
7751
  },
7752
7752
  { immediate: !0, flush: "post" }
@@ -7760,39 +7760,39 @@ function A5(H, V, C = {}) {
7760
7760
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7761
7761
  if (!M)
7762
7762
  return;
7763
- L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7763
+ L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((r) => r.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7764
7764
  let e = !0;
7765
- const t = (n) => A.some((a) => {
7766
- if (typeof a == "string")
7767
- return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7765
+ const t = (r) => A.some((Z) => {
7766
+ if (typeof Z == "string")
7767
+ return Array.from(M.document.querySelectorAll(Z)).some((u) => u === r.target || r.composedPath().includes(u));
7768
7768
  {
7769
- const Z = l1(a);
7770
- return Z && (n.target === Z || n.composedPath().includes(Z));
7769
+ const u = l1(Z);
7770
+ return u && (r.target === u || r.composedPath().includes(u));
7771
7771
  }
7772
7772
  }), l = [
7773
- y1(M, "click", (n) => {
7774
- const a = l1(H);
7775
- if (!(!a || a === n.target || n.composedPath().includes(a))) {
7776
- if (n.detail === 0 && (e = !t(n)), !e) {
7773
+ y1(M, "click", (r) => {
7774
+ const Z = l1(H);
7775
+ if (!(!Z || Z === r.target || r.composedPath().includes(Z))) {
7776
+ if (r.detail === 0 && (e = !t(r)), !e) {
7777
7777
  e = !0;
7778
7778
  return;
7779
7779
  }
7780
- V(n);
7780
+ V(r);
7781
7781
  }
7782
7782
  }, { passive: !0, capture: L }),
7783
- y1(M, "pointerdown", (n) => {
7784
- const a = l1(H);
7785
- e = !t(n) && !!(a && !n.composedPath().includes(a));
7783
+ y1(M, "pointerdown", (r) => {
7784
+ const Z = l1(H);
7785
+ e = !t(r) && !!(Z && !r.composedPath().includes(Z));
7786
7786
  }, { passive: !0 }),
7787
- i && y1(M, "blur", (n) => {
7787
+ i && y1(M, "blur", (r) => {
7788
7788
  setTimeout(() => {
7789
- var a;
7790
- const Z = l1(H);
7791
- ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7789
+ var Z;
7790
+ const u = l1(H);
7791
+ ((Z = M.document.activeElement) == null ? void 0 : Z.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(r);
7792
7792
  }, 0);
7793
7793
  })
7794
7794
  ].filter(Boolean);
7795
- return () => l.forEach((n) => n());
7795
+ return () => l.forEach((r) => r());
7796
7796
  }
7797
7797
  const i5 = ["top", "right", "bottom", "left"], r1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7798
7798
  x: H,
@@ -7895,48 +7895,48 @@ function G1(H, V, C) {
7895
7895
  reference: M,
7896
7896
  floating: A
7897
7897
  } = H;
7898
- const L = B1(V), i = _1(V), e = D1(i), t = M1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
7899
- let a;
7898
+ const L = B1(V), i = _1(V), e = D1(i), t = M1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, r = M[e] / 2 - A[e] / 2;
7899
+ let Z;
7900
7900
  switch (t) {
7901
7901
  case "top":
7902
- a = {
7902
+ Z = {
7903
7903
  x: l,
7904
7904
  y: M.y - A.height
7905
7905
  };
7906
7906
  break;
7907
7907
  case "bottom":
7908
- a = {
7908
+ Z = {
7909
7909
  x: l,
7910
7910
  y: M.y + M.height
7911
7911
  };
7912
7912
  break;
7913
7913
  case "right":
7914
- a = {
7914
+ Z = {
7915
7915
  x: M.x + M.width,
7916
7916
  y: o
7917
7917
  };
7918
7918
  break;
7919
7919
  case "left":
7920
- a = {
7920
+ Z = {
7921
7921
  x: M.x - A.width,
7922
7922
  y: o
7923
7923
  };
7924
7924
  break;
7925
7925
  default:
7926
- a = {
7926
+ Z = {
7927
7927
  x: M.x,
7928
7928
  y: M.y
7929
7929
  };
7930
7930
  }
7931
7931
  switch (u1(V)) {
7932
7932
  case "start":
7933
- a[i] -= n * (C && d ? -1 : 1);
7933
+ Z[i] -= r * (C && d ? -1 : 1);
7934
7934
  break;
7935
7935
  case "end":
7936
- a[i] += n * (C && d ? -1 : 1);
7936
+ Z[i] += r * (C && d ? -1 : 1);
7937
7937
  break;
7938
7938
  }
7939
- return a;
7939
+ return Z;
7940
7940
  }
7941
7941
  const r5 = async (H, V, C) => {
7942
7942
  const {
@@ -7952,12 +7952,12 @@ const r5 = async (H, V, C) => {
7952
7952
  }), {
7953
7953
  x: l,
7954
7954
  y: o
7955
- } = G1(d, M, t), n = M, a = {}, Z = 0;
7956
- for (let B = 0; B < e.length; B++) {
7955
+ } = G1(d, M, t), r = M, Z = {}, u = 0;
7956
+ for (let b = 0; b < e.length; b++) {
7957
7957
  const {
7958
7958
  name: k,
7959
7959
  fn: y
7960
- } = e[B], {
7960
+ } = e[b], {
7961
7961
  x: P,
7962
7962
  y: v,
7963
7963
  data: R,
@@ -7966,9 +7966,9 @@ const r5 = async (H, V, C) => {
7966
7966
  x: l,
7967
7967
  y: o,
7968
7968
  initialPlacement: M,
7969
- placement: n,
7969
+ placement: r,
7970
7970
  strategy: A,
7971
- middlewareData: a,
7971
+ middlewareData: Z,
7972
7972
  rects: d,
7973
7973
  platform: i,
7974
7974
  elements: {
@@ -7976,30 +7976,30 @@ const r5 = async (H, V, C) => {
7976
7976
  floating: V
7977
7977
  }
7978
7978
  });
7979
- if (l = P ?? l, o = v ?? o, a = {
7980
- ...a,
7979
+ if (l = P ?? l, o = v ?? o, Z = {
7980
+ ...Z,
7981
7981
  [k]: {
7982
- ...a[k],
7982
+ ...Z[k],
7983
7983
  ...R
7984
7984
  }
7985
- }, F && Z <= 50) {
7986
- Z++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7985
+ }, F && u <= 50) {
7986
+ u++, typeof F == "object" && (F.placement && (r = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7987
7987
  reference: H,
7988
7988
  floating: V,
7989
7989
  strategy: A
7990
7990
  }) : F.rects), {
7991
7991
  x: l,
7992
7992
  y: o
7993
- } = G1(d, n, t)), B = -1;
7993
+ } = G1(d, r, t)), b = -1;
7994
7994
  continue;
7995
7995
  }
7996
7996
  }
7997
7997
  return {
7998
7998
  x: l,
7999
7999
  y: o,
8000
- placement: n,
8000
+ placement: r,
8001
8001
  strategy: A,
8002
- middlewareData: a
8002
+ middlewareData: Z
8003
8003
  };
8004
8004
  };
8005
8005
  async function k1(H, V) {
@@ -8016,9 +8016,9 @@ async function k1(H, V) {
8016
8016
  boundary: d = "clippingAncestors",
8017
8017
  rootBoundary: l = "viewport",
8018
8018
  elementContext: o = "floating",
8019
- altBoundary: n = !1,
8020
- padding: a = 0
8021
- } = m1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8019
+ altBoundary: r = !1,
8020
+ padding: Z = 0
8021
+ } = m1(V, H), u = L2(Z), k = e[r ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8022
8022
  element: (C = await (L.isElement == null ? void 0 : L.isElement(k))) == null || C ? k : k.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8023
8023
  boundary: d,
8024
8024
  rootBoundary: l,
@@ -8039,10 +8039,10 @@ async function k1(H, V) {
8039
8039
  strategy: t
8040
8040
  }) : P);
8041
8041
  return {
8042
- top: (y.top - F.top + Z.top) / R.y,
8043
- bottom: (F.bottom - y.bottom + Z.bottom) / R.y,
8044
- left: (y.left - F.left + Z.left) / R.x,
8045
- right: (F.right - y.right + Z.right) / R.x
8042
+ top: (y.top - F.top + u.top) / R.y,
8043
+ bottom: (F.bottom - y.bottom + u.bottom) / R.y,
8044
+ left: (y.left - F.left + u.left) / R.x,
8045
+ right: (F.right - y.right + u.right) / R.x
8046
8046
  };
8047
8047
  }
8048
8048
  const a5 = (H) => ({
@@ -8063,17 +8063,17 @@ const a5 = (H) => ({
8063
8063
  } = m1(H, V) || {};
8064
8064
  if (d == null)
8065
8065
  return {};
8066
- const o = L2(l), n = {
8066
+ const o = L2(l), r = {
8067
8067
  x: C,
8068
8068
  y: M
8069
- }, a = _1(A), Z = D1(a), B = await i.getDimensions(d), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[a] - n[a] - L.floating[Z], F = n[a] - L.reference[a], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8069
+ }, Z = _1(A), u = D1(Z), b = await i.getDimensions(d), k = Z === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[Z] - r[Z] - L.floating[u], F = r[Z] - L.reference[Z], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8070
8070
  let I = z ? z[v] : 0;
8071
- (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8072
- const O = R / 2 - F / 2, N = I / 2 - B[Z] / 2 - 1, u = r1(o[y], N), h = r1(o[P], N), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8071
+ (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[u]);
8072
+ const O = R / 2 - F / 2, N = I / 2 - b[u] / 2 - 1, n = r1(o[y], N), h = r1(o[P], N), B = n, x = I - b[u] - h, s = I / 2 - b[u] / 2 + O, E = v1(B, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[u] / 2 - (s < B ? n : h) - b[u] / 2 < 0, j = $ ? s < B ? s - B : s - x : 0;
8073
8073
  return {
8074
- [a]: n[a] + j,
8074
+ [Z]: r[Z] + j,
8075
8075
  data: {
8076
- [a]: E,
8076
+ [Z]: E,
8077
8077
  centerOffset: s - E - j,
8078
8078
  ...$ && {
8079
8079
  alignmentOffset: j
@@ -8098,41 +8098,41 @@ const a5 = (H) => ({
8098
8098
  } = V, {
8099
8099
  mainAxis: l = !0,
8100
8100
  crossAxis: o = !0,
8101
- fallbackPlacements: n,
8102
- fallbackStrategy: a = "bestFit",
8103
- fallbackAxisSideDirection: Z = "none",
8104
- flipAlignment: B = !0,
8101
+ fallbackPlacements: r,
8102
+ fallbackStrategy: Z = "bestFit",
8103
+ fallbackAxisSideDirection: u = "none",
8104
+ flipAlignment: b = !0,
8105
8105
  ...k
8106
8106
  } = m1(H, V);
8107
8107
  if ((C = L.arrow) != null && C.alignmentOffset)
8108
8108
  return {};
8109
- const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = n || (P || !B ? [h1(e)] : m5(e));
8110
- !n && Z !== "none" && R.push(...o5(e, B, Z, v));
8109
+ const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = r || (P || !b ? [h1(e)] : m5(e));
8110
+ !r && u !== "none" && R.push(...o5(e, b, u, v));
8111
8111
  const F = [e, ...R], z = await k1(V, k), I = [];
8112
8112
  let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8113
8113
  if (l && I.push(z[y]), o) {
8114
- const b = t5(A, i, v);
8115
- I.push(z[b[0]], z[b[1]]);
8114
+ const B = t5(A, i, v);
8115
+ I.push(z[B[0]], z[B[1]]);
8116
8116
  }
8117
8117
  if (O = [...O, {
8118
8118
  placement: A,
8119
8119
  overflows: I
8120
- }], !I.every((b) => b <= 0)) {
8121
- var N, u;
8122
- const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, x = F[b];
8120
+ }], !I.every((B) => B <= 0)) {
8121
+ var N, n;
8122
+ const B = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, x = F[B];
8123
8123
  if (x)
8124
8124
  return {
8125
8125
  data: {
8126
- index: b,
8126
+ index: B,
8127
8127
  overflows: O
8128
8128
  },
8129
8129
  reset: {
8130
8130
  placement: x
8131
8131
  }
8132
8132
  };
8133
- let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : u.placement;
8133
+ let s = (n = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : n.placement;
8134
8134
  if (!s)
8135
- switch (a) {
8135
+ switch (Z) {
8136
8136
  case "bestFit": {
8137
8137
  var h;
8138
8138
  const E = (h = O.map(($) => [$.placement, $.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort(($, j) => $[1] - j[1])[0]) == null ? void 0 : h[0];
@@ -8214,9 +8214,9 @@ async function S5(H, V) {
8214
8214
  elements: A
8215
8215
  } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = m1(V, H);
8216
8216
  let {
8217
- mainAxis: n,
8218
- crossAxis: a,
8219
- alignmentAxis: Z
8217
+ mainAxis: r,
8218
+ crossAxis: Z,
8219
+ alignmentAxis: u
8220
8220
  } = typeof o == "number" ? {
8221
8221
  mainAxis: o,
8222
8222
  crossAxis: 0,
@@ -8227,12 +8227,12 @@ async function S5(H, V) {
8227
8227
  alignmentAxis: null,
8228
8228
  ...o
8229
8229
  };
8230
- return e && typeof Z == "number" && (a = e === "end" ? Z * -1 : Z), t ? {
8231
- x: a * l,
8232
- y: n * d
8230
+ return e && typeof u == "number" && (Z = e === "end" ? u * -1 : u), t ? {
8231
+ x: Z * l,
8232
+ y: r * d
8233
8233
  } : {
8234
- x: n * d,
8235
- y: a * l
8234
+ x: r * d,
8235
+ y: Z * l
8236
8236
  };
8237
8237
  }
8238
8238
  const s5 = function(H) {
@@ -8279,26 +8279,26 @@ const s5 = function(H) {
8279
8279
  } = m1(H, V), d = {
8280
8280
  x: C,
8281
8281
  y: M
8282
- }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
8283
- let a = d[n], Z = d[o];
8282
+ }, l = await k1(V, t), o = B1(M1(A)), r = V2(o);
8283
+ let Z = d[r], u = d[o];
8284
8284
  if (L) {
8285
- const k = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8286
- a = v1(P, a, v);
8285
+ const k = r === "y" ? "top" : "left", y = r === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
8286
+ Z = v1(P, Z, v);
8287
8287
  }
8288
8288
  if (i) {
8289
- const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
8290
- Z = v1(P, Z, v);
8289
+ const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = u + l[k], v = u - l[y];
8290
+ u = v1(P, u, v);
8291
8291
  }
8292
- const B = e.fn({
8292
+ const b = e.fn({
8293
8293
  ...V,
8294
- [n]: a,
8295
- [o]: Z
8294
+ [r]: Z,
8295
+ [o]: u
8296
8296
  });
8297
8297
  return {
8298
- ...B,
8298
+ ...b,
8299
8299
  data: {
8300
- x: B.x - C,
8301
- y: B.y - M
8300
+ x: b.x - C,
8301
+ y: b.y - M
8302
8302
  }
8303
8303
  };
8304
8304
  }
@@ -8439,11 +8439,11 @@ function a1(H, V, C, M) {
8439
8439
  const e = h5(L, C, M) ? d2(L) : J(0);
8440
8440
  let t = (A.left + e.x) / i.x, d = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8441
8441
  if (L) {
8442
- const n = Q(L), a = M && Y(M) ? Q(M) : M;
8443
- let Z = n.frameElement;
8444
- for (; Z && M && a !== n; ) {
8445
- const B = e1(Z), k = Z.getBoundingClientRect(), y = U(Z), P = k.left + (Z.clientLeft + parseFloat(y.paddingLeft)) * B.x, v = k.top + (Z.clientTop + parseFloat(y.paddingTop)) * B.y;
8446
- t *= B.x, d *= B.y, l *= B.x, o *= B.y, t += P, d += v, Z = Q(Z).frameElement;
8442
+ const r = Q(L), Z = M && Y(M) ? Q(M) : M;
8443
+ let u = r.frameElement;
8444
+ for (; u && M && Z !== r; ) {
8445
+ const b = e1(u), k = u.getBoundingClientRect(), y = U(u), P = k.left + (u.clientLeft + parseFloat(y.paddingLeft)) * b.x, v = k.top + (u.clientTop + parseFloat(y.paddingTop)) * b.y;
8446
+ t *= b.x, d *= b.y, l *= b.x, o *= b.y, t += P, d += v, u = Q(u).frameElement;
8447
8447
  }
8448
8448
  }
8449
8449
  return g1({
@@ -8662,18 +8662,18 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8662
8662
  u5()
8663
8663
  ]
8664
8664
  }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8665
- var a;
8665
+ var Z;
8666
8666
  if (!V)
8667
8667
  return;
8668
- const n = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8668
+ const r = ((Z = H.offsetParent) == null ? void 0 : Z.getBoundingClientRect().left) || 0;
8669
8669
  if (Object.assign(V.style, {
8670
8670
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8671
- left: e === "dropdown" ? `${n}px` : `${t}px`,
8671
+ left: e === "dropdown" ? `${r}px` : `${t}px`,
8672
8672
  top: `${d}px`,
8673
8673
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8674
8674
  transformOrigin: "start"
8675
8675
  }), C && o.arrow) {
8676
- const { x: Z, y: B } = o.arrow, k = {
8676
+ const { x: u, y: b } = o.arrow, k = {
8677
8677
  top: "bottom",
8678
8678
  right: "left",
8679
8679
  bottom: "top",
@@ -8681,8 +8681,8 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8681
8681
  /* Right */
8682
8682
  }[l.split("-")[0]];
8683
8683
  Object.assign(C.style, {
8684
- left: t != null ? `${Z}px` : "",
8685
- top: d != null ? `${B}px` : "",
8684
+ left: t != null ? `${u}px` : "",
8685
+ top: d != null ? `${b}px` : "",
8686
8686
  right: "",
8687
8687
  bottom: "",
8688
8688
  [`${k}`]: "-4px"
@@ -8716,7 +8716,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8716
8716
  setup(H, { emit: V }) {
8717
8717
  const C = H, M = V, A = W(), L = W(), i = W();
8718
8718
  async function e() {
8719
- C.disabled || !L.value || (Z(), L.value.style.display = "block", M("show"), d());
8719
+ C.disabled || !L.value || (u(), L.value.style.display = "block", M("show"), d());
8720
8720
  }
8721
8721
  function t() {
8722
8722
  C.disabled || !L.value || (L.value.style.display = "", M("hide"));
@@ -8732,25 +8732,25 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8732
8732
  function o() {
8733
8733
  C.disabled || C.triggers.includes(X.Hover) && e();
8734
8734
  }
8735
- function n() {
8735
+ function r() {
8736
8736
  C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8737
8737
  }
8738
- function a() {
8739
- C.triggers.includes(X.Hover) && Z();
8740
- }
8741
8738
  function Z() {
8739
+ C.triggers.includes(X.Hover) && u();
8740
+ }
8741
+ function u() {
8742
8742
  const { placement: k, offset: y, padding: P, disabled: v, showDelay: R, type: F } = C;
8743
8743
  v || _5(A, L, i, k, y, P, R, F);
8744
8744
  }
8745
- const B = g(() => ({
8745
+ const b = g(() => ({
8746
8746
  "r-tooltip": !0,
8747
8747
  "r-tooltip--dark": C.dark && !C.light,
8748
8748
  "r-tooltip--light": C.light
8749
8749
  }));
8750
8750
  return window.onresize = () => {
8751
- C.resizable && Z();
8751
+ C.resizable && u();
8752
8752
  }, document.addEventListener("scroll", () => {
8753
- Z();
8753
+ u();
8754
8754
  }), S2(
8755
8755
  () => {
8756
8756
  C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && t());
@@ -8758,7 +8758,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8758
8758
  { flush: "post" }
8759
8759
  // this is important to avoid infinite loop & for fire on mounted
8760
8760
  ), X1(() => {
8761
- C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", Z()), A5(
8761
+ C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", u()), A5(
8762
8762
  A,
8763
8763
  () => {
8764
8764
  C.outsideClick && t();
@@ -8767,7 +8767,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8767
8767
  ignore: [L.value]
8768
8768
  }
8769
8769
  );
8770
- }), (k, y) => (m(), r(L1, null, [
8770
+ }), (k, y) => (m(), a(L1, null, [
8771
8771
  S("div", {
8772
8772
  ref_key: "trigger",
8773
8773
  ref: A,
@@ -8775,17 +8775,17 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8775
8775
  class: p(["r-tooltip-trigger", k.triggerClass]),
8776
8776
  onClick: l,
8777
8777
  onMouseenter: o,
8778
- onMouseleave: n,
8779
- onMousemove: a
8778
+ onMouseleave: r,
8779
+ onMousemove: Z
8780
8780
  }, [
8781
8781
  f(k.$slots, "default", {
8782
8782
  activators: {
8783
8783
  click: l,
8784
8784
  mouseenter: o,
8785
- mouseleave: n,
8786
- mousemove: a
8785
+ mouseleave: r,
8786
+ mousemove: Z
8787
8787
  },
8788
- updatePosition: Z
8788
+ updatePosition: u
8789
8789
  }, () => [
8790
8790
  S("div", {
8791
8791
  innerHTML: C.triggerContent
@@ -8797,21 +8797,21 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8797
8797
  id: "tooltip",
8798
8798
  ref_key: "tooltip",
8799
8799
  ref: L,
8800
- class: p([B.value, k.tooltipClass]),
8800
+ class: p([b.value, k.tooltipClass]),
8801
8801
  role: "tooltip"
8802
8802
  }, [
8803
8803
  f(k.$slots, "content", {
8804
8804
  hide: t,
8805
- updatePosition: Z
8805
+ updatePosition: u
8806
8806
  }, () => [
8807
- C.text ? (m(), r("div", {
8807
+ C.text ? (m(), a("div", {
8808
8808
  key: 0,
8809
8809
  class: p(["r-tooltip__content", {
8810
8810
  "r-tooltip__content--dark": C.dark,
8811
8811
  "r-tooltip__content--light": C.light
8812
8812
  }])
8813
8813
  }, w(C.text), 3)) : c("", !0),
8814
- C.text ? (m(), r("div", {
8814
+ C.text ? (m(), a("div", {
8815
8815
  key: 1,
8816
8816
  id: "arrow",
8817
8817
  ref_key: "arrowElement",
@@ -8872,85 +8872,86 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8872
8872
  emits: ["update:modelValue"],
8873
8873
  setup(H, { emit: V }) {
8874
8874
  const C = H, M = V, A = W({}), L = W([]), i = W(!1), e = W("");
8875
- function t(u) {
8876
- if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8875
+ function t(n) {
8876
+ if (!n || typeof n == "object" || typeof n == "function" || typeof n == "symbol" || typeof n > "u" || Array.isArray(n))
8877
8877
  return !0;
8878
- const [h] = Object == null ? void 0 : Object.keys(u);
8878
+ const [h] = Object == null ? void 0 : Object.keys(n);
8879
8879
  return ["label", "value"].includes(h);
8880
8880
  }
8881
8881
  const d = g(() => {
8882
- const u = C.options;
8883
- return t(u[0]) ? u : u.map((h) => ({
8882
+ const n = C.options;
8883
+ return t(n[0]) ? n : n.map((h) => ({
8884
8884
  value: h,
8885
8885
  label: String(h)
8886
8886
  }));
8887
8887
  }), l = g(() => {
8888
- const u = C.modelValue;
8889
- return t(u) ? u : {
8890
- value: u,
8891
- label: String(u)
8888
+ const n = C.modelValue;
8889
+ return t(n) ? n : {
8890
+ value: n,
8891
+ label: String(n)
8892
8892
  };
8893
- }), o = W(), n = W(), a = W();
8894
- function Z(u, h) {
8895
- var b, x, s;
8896
- if (u.stopPropagation(), !C.disabled) {
8893
+ }), o = W(), r = W(), Z = W();
8894
+ function u(n, h) {
8895
+ var B, x, s;
8896
+ if (n.stopPropagation(), !C.disabled) {
8897
8897
  if (i.value = !0, h && h(), i.value) {
8898
- (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = n.value) == null || s.focus());
8898
+ (B = o.value) == null || B.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = r.value) == null || s.focus());
8899
8899
  return;
8900
8900
  }
8901
- B();
8901
+ b();
8902
8902
  }
8903
8903
  }
8904
- function B() {
8905
- var u, h, b;
8906
- i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = n.value) == null || b.blur();
8904
+ function b() {
8905
+ var n, h, B;
8906
+ i.value = !1, (n = o.value) == null || n.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (B = r.value) == null || B.blur();
8907
8907
  }
8908
- function k(u, h, b, x) {
8908
+ function k(n, h, B, x) {
8909
8909
  var s;
8910
- if (u.stopPropagation(), x(), !h.disabled) {
8910
+ if (n.stopPropagation(), x(), !h.disabled) {
8911
8911
  if (C.multiple || C.taggable) {
8912
- L.value.find((E) => E.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8912
+ L.value.find((E) => E.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = r.value) == null || s.focus());
8913
8913
  return;
8914
8914
  }
8915
- y(u, h), C.closeOnSelect && (b(), B());
8915
+ y(n, h), C.closeOnSelect && (B(), b());
8916
8916
  }
8917
8917
  }
8918
- function y(u, h) {
8918
+ function y(n, h) {
8919
8919
  if (A.value.value === h.value) {
8920
8920
  A.value = {}, e.value = "", M("update:modelValue", "");
8921
8921
  return;
8922
8922
  }
8923
- e.value = h.label, A.value = h, Z(u), M("update:modelValue", h);
8923
+ e.value = h.label, A.value = h, u(n), M("update:modelValue", h);
8924
8924
  }
8925
- function P(u, h, b) {
8926
- if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8925
+ function P(n, h, B) {
8926
+ if (n instanceof KeyboardEvent && n.key !== "Backspace" || e.value !== "")
8927
8927
  return;
8928
- u.stopPropagation(), b();
8928
+ n.stopPropagation(), B();
8929
8929
  const x = L.value.findIndex((s) => s.value === h.value);
8930
8930
  L.value.splice(x, 1);
8931
8931
  }
8932
- function v(u, h) {
8932
+ function v(n, h) {
8933
8933
  var s;
8934
8934
  if (!C.taggable)
8935
8935
  return;
8936
- u.stopPropagation(), h();
8937
- const b = e.value;
8938
- if (b === "")
8936
+ n.stopPropagation(), h();
8937
+ const B = e.value;
8938
+ if (B === "")
8939
8939
  return;
8940
- d.value.find((E) => E.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8940
+ d.value.find((E) => E.label === B) || (L.value.push({ value: B, label: B }), e.value = "", (s = r.value) == null || s.focus());
8941
8941
  }
8942
- function R(u) {
8943
- return C.multiple || C.taggable ? L.value.find((h) => h.value === u.value) : A.value.value === u.value;
8942
+ function R(n) {
8943
+ var h;
8944
+ return !n || (n == null ? void 0 : n.value) === void 0 || (n == null ? void 0 : n.value) === null ? !1 : C.multiple || C.taggable ? L.value.find((B) => (B == null ? void 0 : B.value) === (n == null ? void 0 : n.value)) : ((h = A.value) == null ? void 0 : h.value) === (n == null ? void 0 : n.value);
8944
8945
  }
8945
8946
  const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8946
8947
  function I() {
8947
8948
  l.value ? C.multiple || C.taggable ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8948
8949
  }
8949
- function O(u) {
8950
- C.searchable && u(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8950
+ function O(n) {
8951
+ C.searchable && n(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8951
8952
  }
8952
- function N(u, h) {
8953
- if (u.stopPropagation(), h(), C.multiple || C.taggable) {
8953
+ function N(n, h) {
8954
+ if (n.stopPropagation(), h(), C.multiple || C.taggable) {
8954
8955
  L.value.splice(0, L.value.length);
8955
8956
  return;
8956
8957
  }
@@ -8958,13 +8959,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8958
8959
  }
8959
8960
  return X1(() => {
8960
8961
  I();
8961
- }), G(L, (u) => {
8962
- M("update:modelValue", u);
8963
- }), G(() => l.value, (u) => {
8962
+ }), G(L, (n) => {
8963
+ M("update:modelValue", n);
8964
+ }), G(() => l.value, (n) => {
8964
8965
  I();
8965
- }), (u, h) => (m(), r("div", {
8966
+ }), (n, h) => (m(), a("div", {
8966
8967
  ref_key: "wrapper",
8967
- ref: a,
8968
+ ref: Z,
8968
8969
  class: "r-dropdown-wrapper"
8969
8970
  }, [
8970
8971
  K(N5, {
@@ -8977,9 +8978,9 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8977
8978
  "trigger-class": "w-full",
8978
8979
  triggers: ["click"],
8979
8980
  type: "dropdown",
8980
- onHide: B
8981
+ onHide: b
8981
8982
  }, {
8982
- default: n1(({ activators: b, updatePosition: x }) => [
8983
+ default: n1(({ activators: B, updatePosition: x }) => [
8983
8984
  S("div", {
8984
8985
  ref_key: "dropdown",
8985
8986
  ref: o,
@@ -8990,29 +8991,29 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8990
8991
  "r-dropdown--error": C.errorMsg
8991
8992
  }]),
8992
8993
  role: "select",
8993
- onClick: (s) => Z(s, b.click)
8994
+ onClick: (s) => u(s, B.click)
8994
8995
  }, [
8995
- C.prependIcon || u.$slots.prepend ? (m(), r("div", {
8996
+ C.prependIcon || n.$slots.prepend ? (m(), a("div", {
8996
8997
  key: 0,
8997
8998
  class: p(["r-dropdown__prepend-icon", {
8998
8999
  "r-dropdown__prepend-icon--active": i.value,
8999
9000
  "r-dropdown__prepend-icon--error": C.errorMsg
9000
9001
  }])
9001
9002
  }, [
9002
- f(u.$slots, "prepend", {}, () => [
9003
+ f(n.$slots, "prepend", {}, () => [
9003
9004
  C.prependIcon ? (m(), _(D, {
9004
9005
  key: 0,
9005
9006
  name: C.prependIcon
9006
9007
  }, null, 8, ["name"])) : c("", !0)
9007
9008
  ])
9008
9009
  ], 2)) : c("", !0),
9009
- C.taggable && L.value.length ? (m(), r("div", Q5, [
9010
- f(u.$slots, "tags", {
9010
+ C.taggable && L.value.length ? (m(), a("div", Q5, [
9011
+ f(n.$slots, "tags", {
9011
9012
  options: L.value,
9012
9013
  removeOption: P,
9013
9014
  updatePosition: x
9014
9015
  }, () => [
9015
- (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), _(J2, {
9016
+ (m(!0), a(L1, null, A1(L.value, (s, E) => (m(), _(J2, {
9016
9017
  key: E,
9017
9018
  "append-icon": "mdiClose",
9018
9019
  class: "r-dropdown__tags__chip",
@@ -9023,13 +9024,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9023
9024
  }, null, 8, ["label", "onClick:close"]))), 128))
9024
9025
  ])
9025
9026
  ])) : c("", !0),
9026
- C.multiple && L.value.length ? (m(), r("div", G5, [
9027
- (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9027
+ C.multiple && L.value.length ? (m(), a("div", G5, [
9028
+ (m(!0), a(L1, null, A1(L.value, (s, E) => (m(), a("p", { key: E }, w(`${s.label},`), 1))), 128))
9028
9029
  ])) : c("", !0),
9029
9030
  Y1(S("input", {
9030
9031
  id: C.id,
9031
9032
  ref_key: "input",
9032
- ref: n,
9033
+ ref: r,
9033
9034
  "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9034
9035
  autocomplete: C.autocomplete,
9035
9036
  class: p(["r-dropdown__input", {
@@ -9048,7 +9049,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9048
9049
  }, null, 42, $5), [
9049
9050
  [c2, e.value]
9050
9051
  ]),
9051
- C.clearable ? (m(), r("div", {
9052
+ C.clearable ? (m(), a("div", {
9052
9053
  key: 3,
9053
9054
  class: "r-dropdown__clearable",
9054
9055
  "data-has-value": (e.value !== "" || L.value.length) && i.value,
@@ -9059,14 +9060,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9059
9060
  size: "18"
9060
9061
  })
9061
9062
  ], 8, U5)) : c("", !0),
9062
- C.appendIcon || u.$slots.append ? (m(), r("div", {
9063
+ C.appendIcon || n.$slots.append ? (m(), a("div", {
9063
9064
  key: 4,
9064
9065
  class: p(["r-dropdown__append-icon", {
9065
9066
  "r-dropdown__append-icon--active": i.value,
9066
9067
  "r-dropdown__append-icon--error": C.errorMsg
9067
9068
  }])
9068
9069
  }, [
9069
- f(u.$slots, "append", {}, () => [
9070
+ f(n.$slots, "append", {}, () => [
9070
9071
  C.appendIcon ? (m(), _(D, {
9071
9072
  key: 0,
9072
9073
  name: C.appendIcon
@@ -9075,27 +9076,27 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9075
9076
  ], 2)) : c("", !0)
9076
9077
  ], 10, I5)
9077
9078
  ]),
9078
- content: n1(({ hide: b, updatePosition: x }) => [
9079
+ content: n1(({ hide: B, updatePosition: x }) => [
9079
9080
  S("ul", {
9080
9081
  class: p(["r-dropdown-options", {
9081
9082
  "r-dropdown-options--active": i.value,
9082
9083
  [C.optionsClass]: C.optionsClass
9083
9084
  }])
9084
9085
  }, [
9085
- (m(!0), r(L1, null, A1(F.value, (s) => (m(), r("li", {
9086
+ (m(!0), a(L1, null, A1(F.value, (s) => (m(), a("li", {
9086
9087
  key: s.value,
9087
9088
  "aria-disabled": s.disabled,
9088
9089
  class: p(["r-dropdown-options__option", {
9089
9090
  "r-dropdown-options__option--active": R(s),
9090
9091
  "r-dropdown-options__option--disabled": s.disabled
9091
9092
  }]),
9092
- onClick: d1((E) => k(E, s, b, x), ["prevent"])
9093
+ onClick: d1((E) => k(E, s, B, x), ["prevent"])
9093
9094
  }, [
9094
- f(u.$slots, "option", {
9095
+ f(n.$slots, "option", {
9095
9096
  isSelected: R(s)
9096
9097
  }, () => [
9097
9098
  S("div", K5, [
9098
- f(u.$slots, "option-prepend", {}, () => [
9099
+ f(n.$slots, "option-prepend", {}, () => [
9099
9100
  s.prependIcon ? (m(), _(D, {
9100
9101
  key: 0,
9101
9102
  class: p(["r-dropdown-options__option__prepend-icon", {
@@ -9110,7 +9111,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9110
9111
  }])
9111
9112
  }, w(s.label), 3)
9112
9113
  ]),
9113
- f(u.$slots, "option-append", {}, () => [
9114
+ f(n.$slots, "option-append", {}, () => [
9114
9115
  R(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9115
9116
  key: 0,
9116
9117
  class: p(["r-dropdown-options__option__append-icon", {
@@ -9121,8 +9122,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9121
9122
  ])
9122
9123
  ])
9123
9124
  ], 10, z5))), 128)),
9124
- F.value.length === 0 ? (m(), r("li", q5, [
9125
- f(u.$slots, "not-options", {}, () => [
9125
+ F.value.length === 0 ? (m(), a("li", q5, [
9126
+ f(n.$slots, "not-options", {}, () => [
9126
9127
  R1(w(C.noOptionsText || "No options"), 1)
9127
9128
  ])
9128
9129
  ])) : c("", !0)
@@ -9130,9 +9131,9 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9130
9131
  ]),
9131
9132
  _: 3
9132
9133
  }),
9133
- u.$props.hideDetails ? c("", !0) : (m(), r("div", j5, [
9134
- C.errorMsg ? (m(), r("div", X5, w(C.errorMsg), 1)) : c("", !0),
9135
- C.hint ? (m(), r("div", Y5, w(C.hint), 1)) : c("", !0)
9134
+ n.$props.hideDetails ? c("", !0) : (m(), a("div", j5, [
9135
+ C.errorMsg ? (m(), a("div", X5, w(C.errorMsg), 1)) : c("", !0),
9136
+ C.hint ? (m(), a("div", Y5, w(C.hint), 1)) : c("", !0)
9136
9137
  ]))
9137
9138
  ], 512));
9138
9139
  }
@@ -9145,7 +9146,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9145
9146
  },
9146
9147
  setup(H) {
9147
9148
  const V = H;
9148
- return (C, M) => (m(), r("label", {
9149
+ return (C, M) => (m(), a("label", {
9149
9150
  id: V.id,
9150
9151
  class: "r-label",
9151
9152
  for: V.for
@@ -9197,7 +9198,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9197
9198
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9198
9199
  }), window.addEventListener("keydown", (e) => {
9199
9200
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9200
- }), (e, t) => Y1((m(), r("div", {
9201
+ }), (e, t) => Y1((m(), a("div", {
9201
9202
  class: p(["r-modal-overlay", e.overlayClass]),
9202
9203
  onClick: d1(i, ["stop"])
9203
9204
  }, [
@@ -9210,13 +9211,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9210
9211
  }, [
9211
9212
  S("div", L3, [
9212
9213
  f(e.$slots, "header"),
9213
- C.icon ? (m(), r("div", M3, [
9214
+ C.icon ? (m(), a("div", M3, [
9214
9215
  K(D, {
9215
9216
  name: C.icon
9216
9217
  }, null, 8, ["name"])
9217
9218
  ])) : c("", !0),
9218
- C.title ? (m(), r("div", A3, w(C.title), 1)) : c("", !0),
9219
- C.description ? (m(), r("div", i3, w(C.description), 1)) : c("", !0)
9219
+ C.title ? (m(), a("div", A3, w(C.title), 1)) : c("", !0),
9220
+ C.description ? (m(), a("div", i3, w(C.description), 1)) : c("", !0)
9220
9221
  ]),
9221
9222
  S("div", e3, [
9222
9223
  f(e.$slots, "default")
@@ -9241,7 +9242,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9241
9242
  emits: ["update:modelValue"],
9242
9243
  setup(H, { emit: V }) {
9243
9244
  const C = H, M = V;
9244
- return (A, L) => (m(), r("div", {
9245
+ return (A, L) => (m(), a("div", {
9245
9246
  class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9246
9247
  "data-open": C.modelValue
9247
9248
  }, [
@@ -9251,7 +9252,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9251
9252
  }, [
9252
9253
  f(A.$slots, "default")
9253
9254
  ], 10, m3),
9254
- C.showTrigger ? (m(), r("div", {
9255
+ C.showTrigger ? (m(), a("div", {
9255
9256
  key: 0,
9256
9257
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9257
9258
  "data-open": C.modelValue,
@@ -9304,7 +9305,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9304
9305
  warning: "mdiAlert",
9305
9306
  info: "mdiInformation"
9306
9307
  })[C.variant || "info"]);
9307
- return (i, e) => (m(), r("div", {
9308
+ return (i, e) => (m(), a("div", {
9308
9309
  class: p(A.value)
9309
9310
  }, [
9310
9311
  f(i.$slots, "default", {}, () => [
@@ -9316,7 +9317,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9316
9317
  ]),
9317
9318
  S("div", o3, w(C.text), 1),
9318
9319
  f(i.$slots, "action"),
9319
- C.closable ? (m(), r("div", n3, [
9320
+ C.closable ? (m(), a("div", n3, [
9320
9321
  f(i.$slots, "close", {}, () => [
9321
9322
  K(D, {
9322
9323
  name: "mdiClose",
@@ -9372,7 +9373,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9372
9373
  // TODO: find a better way to do this
9373
9374
  immediate: !0
9374
9375
  }
9375
- ), (e, t) => (m(), r("div", {
9376
+ ), (e, t) => (m(), a("div", {
9376
9377
  class: p(["r-switch-container", {
9377
9378
  "r-switch-container--reverse": C.reverse,
9378
9379
  "r-switch-container--hide-details": C.hideDetails
@@ -9401,8 +9402,8 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9401
9402
  class: "r-switch-texts__label",
9402
9403
  for: C.id
9403
9404
  }, w(C.label), 9, Z3),
9404
- C.hideDetails ? c("", !0) : (m(), r("div", u3, [
9405
- C.errorMsg ? (m(), r("p", S3, w(C.errorMsg), 1)) : (m(), r("p", s3, w(C.hint), 1))
9405
+ C.hideDetails ? c("", !0) : (m(), a("div", u3, [
9406
+ C.errorMsg ? (m(), a("p", S3, w(C.errorMsg), 1)) : (m(), a("p", s3, w(C.hint), 1))
9406
9407
  ]))
9407
9408
  ], 2)
9408
9409
  ], 2));
@@ -9442,7 +9443,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9442
9443
  function e() {
9443
9444
  M("click:icon");
9444
9445
  }
9445
- return (t, d) => (m(), r("button", {
9446
+ return (t, d) => (m(), a("button", {
9446
9447
  "aria-disabled": C.disabled,
9447
9448
  "aria-selected": C.modelValue === C.id,
9448
9449
  class: p(A.value),
@@ -9463,7 +9464,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9463
9464
  name: "fade"
9464
9465
  }, {
9465
9466
  default: n1(() => [
9466
- C.variant !== V1(o1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9467
+ C.variant !== V1(o1).ICON ? (m(), a("span", O3, w(C.label), 1)) : c("", !0)
9467
9468
  ]),
9468
9469
  _: 1
9469
9470
  }),
@@ -9504,11 +9505,11 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9504
9505
  function i() {
9505
9506
  M("click:icon");
9506
9507
  }
9507
- return (e, t) => (m(), r("div", {
9508
+ return (e, t) => (m(), a("div", {
9508
9509
  class: p(L.value)
9509
9510
  }, [
9510
9511
  f(e.$slots, "default", {}, () => [
9511
- (m(!0), r(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9512
+ (m(!0), a(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9512
9513
  id: d.id,
9513
9514
  key: l,
9514
9515
  modelValue: A.value,
@@ -9563,7 +9564,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9563
9564
  {
9564
9565
  immediate: !0
9565
9566
  }
9566
- ), (i, e) => (m(), r("div", f3, [
9567
+ ), (i, e) => (m(), a("div", f3, [
9567
9568
  C.label ? (m(), _(r2, {
9568
9569
  key: 0,
9569
9570
  id: `${C.id}-label`,
@@ -9582,8 +9583,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9582
9583
  value: A.value,
9583
9584
  onInput: L
9584
9585
  }), null, 16, h3),
9585
- C.hideDetails ? c("", !0) : (m(), r("div", g3, [
9586
- C.errorMsg ? (m(), r("p", k3, w(C.errorMsg), 1)) : (m(), r("p", B3, w(C.hint), 1))
9586
+ C.hideDetails ? c("", !0) : (m(), a("div", g3, [
9587
+ C.errorMsg ? (m(), a("p", k3, w(C.errorMsg), 1)) : (m(), a("p", B3, w(C.hint), 1))
9587
9588
  ]))
9588
9589
  ]));
9589
9590
  }
@@ -9638,31 +9639,31 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9638
9639
  }, t = W(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9639
9640
  var O;
9640
9641
  return (O = C.errorMsg) == null ? void 0 : O.length;
9641
- }), n = g(() => C.clearable && l.value), a = g(() => {
9642
+ }), r = g(() => C.clearable && l.value), Z = g(() => {
9642
9643
  const { disabled: O, loading: N } = C;
9643
9644
  return {
9644
9645
  "r-textfield": !0,
9645
9646
  "r-textfield--error": o.value,
9646
9647
  "r-textfield--loading": N,
9647
9648
  "r-textfield--disabled": O,
9648
- "r-textfield--clearable": n.value,
9649
+ "r-textfield--clearable": r.value,
9649
9650
  "r-textfield--focus": t.value,
9650
9651
  "r-textfield--filled": d.value
9651
9652
  };
9652
- }), Z = g(() => ({
9653
+ }), u = g(() => ({
9653
9654
  "r-textfield__prepend-icon": !0,
9654
9655
  "r-textfield__prepend-icon--loading": C.loading,
9655
9656
  "r-textfield__prepend-icon--error": o.value && d.value
9656
- })), B = g(() => ({
9657
+ })), b = g(() => ({
9657
9658
  "r-textfield__append-icon": !0,
9658
- "r-textfield__append-icon--clear": n.value,
9659
+ "r-textfield__append-icon--clear": r.value,
9659
9660
  "r-textfield__append-icon--error": o.value
9660
9661
  })), k = g(() => {
9661
9662
  const { prependIcon: O, type: N } = C;
9662
9663
  return O === "none" ? "" : O || e[N];
9663
9664
  }), y = g(() => {
9664
9665
  const { appendIcon: O, type: N } = C;
9665
- return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9666
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : r.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9666
9667
  });
9667
9668
  function P(O) {
9668
9669
  t.value = !0, M("focus", O);
@@ -9675,7 +9676,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9675
9676
  }
9676
9677
  function F() {
9677
9678
  var O;
9678
- if (n.value) {
9679
+ if (r.value) {
9679
9680
  L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9680
9681
  value: i.value === "number" ? +L.value : L.value
9681
9682
  });
@@ -9708,7 +9709,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9708
9709
  i.value === "number" ? +O : O
9709
9710
  );
9710
9711
  }
9711
- ), (O, N) => (m(), r("div", b3, [
9712
+ ), (O, N) => (m(), a("div", b3, [
9712
9713
  C.label ? (m(), _(r2, {
9713
9714
  key: 0,
9714
9715
  id: `${C.id}-label`,
@@ -9719,12 +9720,12 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9719
9720
  }, null, 8, ["id", "for", "text"])) : c("", !0),
9720
9721
  S("div", w3, [
9721
9722
  S("div", {
9722
- class: p(a.value)
9723
+ class: p(Z.value)
9723
9724
  }, [
9724
9725
  f(O.$slots, "prepend"),
9725
9726
  k.value && !O.$slots.prepend ? (m(), _(D, {
9726
9727
  key: 0,
9727
- class: p(Z.value),
9728
+ class: p(u.value),
9728
9729
  name: k.value,
9729
9730
  size: 20
9730
9731
  }, null, 8, ["class", "name"])) : c("", !0),
@@ -9747,15 +9748,15 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9747
9748
  o.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9748
9749
  y.value && !O.$slots.append || o.value ? (m(), _(D, {
9749
9750
  key: 2,
9750
- class: p(B.value),
9751
+ class: p(b.value),
9751
9752
  name: `${y.value}`,
9752
9753
  size: 20,
9753
9754
  onClick: F
9754
9755
  }, null, 8, ["class", "name"])) : c("", !0)
9755
9756
  ], 2),
9756
- C.hideDetails ? c("", !0) : (m(), r("div", P3, [
9757
- C.errorMsg ? (m(), r("p", v3, w(C.errorMsg), 1)) : c("", !0),
9758
- !C.errorMsg && C.hint ? (m(), r("p", T3, w(C.hint), 1)) : c("", !0)
9757
+ C.hideDetails ? c("", !0) : (m(), a("div", P3, [
9758
+ C.errorMsg ? (m(), a("p", v3, w(C.errorMsg), 1)) : c("", !0),
9759
+ !C.errorMsg && C.hint ? (m(), a("p", T3, w(C.hint), 1)) : c("", !0)
9759
9760
  ]))
9760
9761
  ])
9761
9762
  ]));
@@ -9773,8 +9774,8 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9773
9774
  const V = H;
9774
9775
  return (C, M) => {
9775
9776
  const A = h2("router-link");
9776
- return m(), r("div", F3, [
9777
- (m(!0), r(L1, null, A1(V.items, (L, i) => (m(), r("div", {
9777
+ return m(), a("div", F3, [
9778
+ (m(!0), a(L1, null, A1(V.items, (L, i) => (m(), a("div", {
9778
9779
  key: i,
9779
9780
  class: "r-breadcrumb__item"
9780
9781
  }, [
@@ -9789,7 +9790,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9789
9790
  name: L.icon
9790
9791
  }, null, 8, ["name"])) : c("", !0)
9791
9792
  ]),
9792
- L.onlyIcon ? c("", !0) : (m(), r("span", R3, w(L.title), 1))
9793
+ L.onlyIcon ? c("", !0) : (m(), a("span", R3, w(L.title), 1))
9793
9794
  ]),
9794
9795
  _: 2
9795
9796
  }, 1032, ["to"]),
@@ -9860,7 +9861,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9860
9861
  function t({ value: d }) {
9861
9862
  M("update:perPage", d);
9862
9863
  }
9863
- return (d, l) => (m(), r("div", {
9864
+ return (d, l) => (m(), a("div", {
9864
9865
  class: p(["r-pagination", [`r-pagination--${C.position}`]])
9865
9866
  }, [
9866
9867
  S("div", x3, [
@@ -9885,7 +9886,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9885
9886
  onClick: l[1] || (l[1] = (o) => e(1))
9886
9887
  }, [
9887
9888
  f(d.$slots, "first", {}, () => [
9888
- (m(), r("svg", {
9889
+ (m(), a("svg", {
9889
9890
  class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9890
9891
  fill: "none",
9891
9892
  height: "20",
@@ -9905,7 +9906,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9905
9906
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9906
9907
  }, [
9907
9908
  f(d.$slots, "prev", {}, () => [
9908
- (m(), r("svg", {
9909
+ (m(), a("svg", {
9909
9910
  class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9910
9911
  fill: "none",
9911
9912
  height: "20",
@@ -9925,7 +9926,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9925
9926
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9926
9927
  }, [
9927
9928
  f(d.$slots, "next", {}, () => [
9928
- (m(), r("svg", {
9929
+ (m(), a("svg", {
9929
9930
  class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9930
9931
  fill: "none",
9931
9932
  height: "20",
@@ -9945,7 +9946,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9945
9946
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9946
9947
  }, [
9947
9948
  f(d.$slots, "last", {}, () => [
9948
- (m(), r("svg", {
9949
+ (m(), a("svg", {
9949
9950
  class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9950
9951
  fill: "none",
9951
9952
  height: "20",
@@ -9970,7 +9971,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9970
9971
  },
9971
9972
  setup(H) {
9972
9973
  const V = H;
9973
- return (C, M) => (m(), r("progress", {
9974
+ return (C, M) => (m(), a("progress", {
9974
9975
  "aria-valuemax": 100,
9975
9976
  class: "r-progressbar",
9976
9977
  max: 100,
@@ -9999,7 +10000,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9999
10000
  }
10000
10001
  s1(`${O1}:isSelected`, e);
10001
10002
  function t(l, o) {
10002
- C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((n) => n !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
10003
+ C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((r) => r !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
10003
10004
  }
10004
10005
  s1(`${O1}:select`, t);
10005
10006
  function d() {