@rocketui/vue 0.2.11 → 0.2.12

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 n, createElementVNode as S, unref as M1, reactive as m1, Fragment as V1, renderList as A1, normalizeClass as f, renderSlot as h, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as O, mergeProps as j1, createBlock as _, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as N, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as r1, 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 k1, resolveDynamicComponent as g2, inject as B1 } from "vue";
1
+ import { defineComponent as T, openBlock as m, createElementBlock as n, createElementVNode as S, unref as M1, reactive as m1, Fragment as V1, 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 $, getCurrentScope as Z2, onScopeDispose as u2, ref as N, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as r1, 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 k1, resolveDynamicComponent as g2, inject as B1 } 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",
@@ -7337,7 +7337,7 @@ const k2 = {
7337
7337
  }
7338
7338
  return (A, L) => (m(!0), n(V1, null, A1(C, (i, e) => (m(), n("div", {
7339
7339
  key: e,
7340
- class: f(["r-accordion", {
7340
+ class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
7342
7342
  }]),
7343
7343
  "data-state": i.open ? "opened" : "closed"
@@ -7346,7 +7346,7 @@ const k2 = {
7346
7346
  class: "r-accordion__header",
7347
7347
  onClick: (t) => M(e)
7348
7348
  }, [
7349
- h(A.$slots, "title", {}, () => [
7349
+ f(A.$slots, "title", {}, () => [
7350
7350
  S("div", P2, w(i.title), 1)
7351
7351
  ]),
7352
7352
  S("div", v2, [
@@ -7354,7 +7354,7 @@ const k2 = {
7354
7354
  ])
7355
7355
  ], 8, y2),
7356
7356
  S("div", T2, [
7357
- h(A.$slots, "content", {}, () => [
7357
+ f(A.$slots, "content", {}, () => [
7358
7358
  S("span", null, w(i.content), 1)
7359
7359
  ])
7360
7360
  ])
@@ -7393,10 +7393,10 @@ const k2 = {
7393
7393
  M("close");
7394
7394
  }
7395
7395
  return (e, t) => (m(), n("div", {
7396
- class: f(A.value)
7396
+ class: p(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
7399
- h(e.$slots, "alert-icon", {}, () => [
7399
+ f(e.$slots, "alert-icon", {}, () => [
7400
7400
  K(D, {
7401
7401
  name: L.value,
7402
7402
  size: 24
@@ -7404,13 +7404,13 @@ const k2 = {
7404
7404
  ])
7405
7405
  ]),
7406
7406
  S("div", R2, [
7407
- h(e.$slots, "content", {}, () => [
7407
+ f(e.$slots, "content", {}, () => [
7408
7408
  S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), n("p", D2, w(C.description), 1)) : O("", !0)
7409
+ C.description ? (m(), n("p", D2, w(C.description), 1)) : c("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
7412
  C.closable ? (m(), n("div", _2, [
7413
- h(e.$slots, "custom-close", {}, () => [
7413
+ f(e.$slots, "custom-close", {}, () => [
7414
7414
  K(D, {
7415
7415
  class: "r-alert__close__button",
7416
7416
  name: "mdiClose",
@@ -7418,7 +7418,7 @@ const k2 = {
7418
7418
  onClick: i
7419
7419
  })
7420
7420
  ])
7421
- ])) : O("", !0)
7421
+ ])) : c("", !0)
7422
7422
  ], 2));
7423
7423
  }
7424
7424
  }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], e0 = /* @__PURE__ */ T({
@@ -7442,15 +7442,15 @@ const k2 = {
7442
7442
  }
7443
7443
  return (i, e) => (m(), n("div", E2, [
7444
7444
  S("div", {
7445
- class: f(C.value)
7445
+ class: p(C.value)
7446
7446
  }, [
7447
7447
  V.type === "text" ? (m(), n("p", {
7448
7448
  key: 0,
7449
- class: f(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7449
+ class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
7450
  }, w(L(V.text)), 3)) : (m(), n("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
- class: f(["r-avatar__image", {
7453
+ class: p(["r-avatar__image", {
7454
7454
  [`r-avatar__image--${V.size}`]: !0,
7455
7455
  "r-avatar__image--anonymous": M.value
7456
7456
  }]),
@@ -7459,10 +7459,10 @@ const k2 = {
7459
7459
  ], 2),
7460
7460
  V.online ? (m(), n("span", {
7461
7461
  key: 0,
7462
- class: f(["r-avatar__online", {
7462
+ class: p(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
7464
7464
  }])
7465
- }, null, 2)) : O("", !0)
7465
+ }, null, 2)) : c("", !0)
7466
7466
  ]));
7467
7467
  }
7468
7468
  }), N2 = { class: "r-badge-wrapper group" }, d0 = /* @__PURE__ */ T({
@@ -7490,12 +7490,12 @@ const k2 = {
7490
7490
  }));
7491
7491
  return (M, A) => (m(), n("div", N2, [
7492
7492
  S("span", {
7493
- class: f([{ "animate-ping-2": V.animation }, C.value])
7493
+ class: p([{ "animate-ping-2": V.animation }, C.value])
7494
7494
  }, null, 2),
7495
7495
  S("span", {
7496
- class: f(C.value)
7496
+ class: p(C.value)
7497
7497
  }, null, 2),
7498
- h(M.$slots, "default")
7498
+ f(M.$slots, "default")
7499
7499
  ]));
7500
7500
  }
7501
7501
  }), I2 = ["disabled"], t0 = /* @__PURE__ */ T({
@@ -7535,24 +7535,24 @@ const k2 = {
7535
7535
  style: A.value,
7536
7536
  onClick: i[0] || (i[0] = (e) => L.$emit("click"))
7537
7537
  }), [
7538
- h(L.$slots, "prepend", {}, () => [
7538
+ f(L.$slots, "prepend", {}, () => [
7539
7539
  V.prependIcon ? (m(), _(D, {
7540
7540
  key: 0,
7541
- class: f(["r-button__prepend-icon", {
7541
+ class: p(["r-button__prepend-icon", {
7542
7542
  "r-button__prepend-icon--only": V.icon
7543
7543
  }]),
7544
7544
  name: V.prependIcon,
7545
7545
  size: M.value
7546
- }, null, 8, ["class", "name", "size"])) : O("", !0)
7546
+ }, null, 8, ["class", "name", "size"])) : c("", !0)
7547
7547
  ]),
7548
- h(L.$slots, "default"),
7549
- h(L.$slots, "append", {}, () => [
7548
+ f(L.$slots, "default"),
7549
+ f(L.$slots, "append", {}, () => [
7550
7550
  !V.icon && V.appendIcon ? (m(), _(D, {
7551
7551
  key: 0,
7552
7552
  class: "r-button__append-icon",
7553
7553
  name: V.appendIcon,
7554
7554
  size: M.value
7555
- }, null, 8, ["name", "size"])) : O("", !0)
7555
+ }, null, 8, ["name", "size"])) : c("", !0)
7556
7556
  ])
7557
7557
  ], 16, I2));
7558
7558
  }
@@ -7628,7 +7628,7 @@ const k2 = {
7628
7628
  onChange: t
7629
7629
  }, null, 40, $2),
7630
7630
  S("div", {
7631
- class: f(e.value),
7631
+ class: p(e.value),
7632
7632
  "data-disabled": C.disabled
7633
7633
  }, [
7634
7634
  K(D, {
@@ -7643,7 +7643,7 @@ const k2 = {
7643
7643
  "data-disabled": C.disabled,
7644
7644
  for: C.id
7645
7645
  }, w(C.label), 9, K2),
7646
- C.hideDetails ? O("", !0) : (m(), n("div", q2, [
7646
+ C.hideDetails ? c("", !0) : (m(), n("div", q2, [
7647
7647
  C.errorMsg ? (m(), n("p", j2, w(C.errorMsg), 1)) : (m(), n("p", X2, w(C.hint), 1))
7648
7648
  ]))
7649
7649
  ])
@@ -7676,24 +7676,24 @@ const k2 = {
7676
7676
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7677
7677
  }
7678
7678
  return (e, t) => (m(), n("div", {
7679
- class: f(A.value)
7679
+ class: p(A.value)
7680
7680
  }, [
7681
7681
  S("div", {
7682
7682
  class: "r-chip__content",
7683
7683
  onClick: t[0] || (t[0] = (d) => L(d))
7684
7684
  }, [
7685
- h(e.$slots, "prepend", {}, () => [
7685
+ f(e.$slots, "prepend", {}, () => [
7686
7686
  C.prependIcon ? (m(), _(D, {
7687
7687
  key: 0,
7688
7688
  "aria-disabled": C.disabled,
7689
7689
  class: "r-chip__content__prepend-icon",
7690
7690
  name: C.prependIcon,
7691
7691
  size: 12
7692
- }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7692
+ }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7693
7693
  ]),
7694
7694
  S("span", Y2, w(C.label), 1)
7695
7695
  ]),
7696
- h(e.$slots, "append", {}, () => [
7696
+ f(e.$slots, "append", {}, () => [
7697
7697
  C.appendIcon ? (m(), _(D, {
7698
7698
  key: 0,
7699
7699
  "aria-disabled": C.disabled,
@@ -7701,7 +7701,7 @@ const k2 = {
7701
7701
  name: C.appendIcon,
7702
7702
  size: 12,
7703
7703
  onClick: t[1] || (t[1] = (d) => i(d))
7704
- }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7704
+ }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7705
7705
  ])
7706
7706
  ], 2));
7707
7707
  }
@@ -8063,7 +8063,7 @@ const a5 = (H) => ({
8063
8063
  }, r = _1(A), Z = D1(r), B = await i.getDimensions(d), k = r === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[r] - a[r] - L.floating[Z], F = a[r] - L.reference[r], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8064
8064
  let I = z ? z[v] : 0;
8065
8065
  (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8066
- const p = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), c = a1(o[P], W), b = u, x = I - B[Z] - c, s = I / 2 - B[Z] / 2 + p, E = v1(b, s, x), G = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : c) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
8066
+ const O = R / 2 - F / 2, W = I / 2 - B[Z] / 2 - 1, u = a1(o[y], W), h = a1(o[P], W), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), G = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = G ? s < b ? s - b : s - x : 0;
8067
8067
  return {
8068
8068
  [r]: a[r] + j,
8069
8069
  data: {
@@ -8103,12 +8103,12 @@ const a5 = (H) => ({
8103
8103
  const y = L1(A), P = L1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = a || (P || !B ? [c1(e)] : m5(e));
8104
8104
  !a && Z !== "none" && R.push(...o5(e, B, Z, v));
8105
8105
  const F = [e, ...R], z = await p1(V, k), I = [];
8106
- let p = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8106
+ let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8107
8107
  if (l && I.push(z[y]), o) {
8108
8108
  const b = t5(A, i, v);
8109
8109
  I.push(z[b[0]], z[b[1]]);
8110
8110
  }
8111
- if (p = [...p, {
8111
+ if (O = [...O, {
8112
8112
  placement: A,
8113
8113
  overflows: I
8114
8114
  }], !I.every((b) => b <= 0)) {
@@ -8118,18 +8118,18 @@ const a5 = (H) => ({
8118
8118
  return {
8119
8119
  data: {
8120
8120
  index: b,
8121
- overflows: p
8121
+ overflows: O
8122
8122
  },
8123
8123
  reset: {
8124
8124
  placement: x
8125
8125
  }
8126
8126
  };
8127
- let s = (u = p.filter((E) => E.overflows[0] <= 0).sort((E, G) => E.overflows[1] - G.overflows[1])[0]) == null ? void 0 : u.placement;
8127
+ let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, G) => E.overflows[1] - G.overflows[1])[0]) == null ? void 0 : u.placement;
8128
8128
  if (!s)
8129
8129
  switch (r) {
8130
8130
  case "bestFit": {
8131
- var c;
8132
- const E = (c = p.map((G) => [G.placement, G.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((G, j) => G[1] - j[1])[0]) == null ? void 0 : c[0];
8131
+ var h;
8132
+ const E = (h = O.map((G) => [G.placement, G.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((G, j) => G[1] - j[1])[0]) == null ? void 0 : h[0];
8133
8133
  E && (s = E);
8134
8134
  break;
8135
8135
  }
@@ -8766,13 +8766,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8766
8766
  ref_key: "trigger",
8767
8767
  ref: A,
8768
8768
  "aria-disabled": C.disabled,
8769
- class: f(["r-tooltip-trigger", k.triggerClass]),
8769
+ class: p(["r-tooltip-trigger", k.triggerClass]),
8770
8770
  onClick: l,
8771
8771
  onMouseenter: o,
8772
8772
  onMouseleave: a,
8773
8773
  onMousemove: r
8774
8774
  }, [
8775
- h(k.$slots, "default", {
8775
+ f(k.$slots, "default", {
8776
8776
  activators: {
8777
8777
  click: l,
8778
8778
  mouseenter: o,
@@ -8791,30 +8791,30 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8791
8791
  id: "tooltip",
8792
8792
  ref_key: "tooltip",
8793
8793
  ref: L,
8794
- class: f([B.value, k.tooltipClass]),
8794
+ class: p([B.value, k.tooltipClass]),
8795
8795
  role: "tooltip"
8796
8796
  }, [
8797
- h(k.$slots, "content", {
8797
+ f(k.$slots, "content", {
8798
8798
  hide: t,
8799
8799
  updatePosition: Z
8800
8800
  }, () => [
8801
8801
  C.text ? (m(), n("div", {
8802
8802
  key: 0,
8803
- class: f(["r-tooltip__content", {
8803
+ class: p(["r-tooltip__content", {
8804
8804
  "r-tooltip__content--dark": C.dark,
8805
8805
  "r-tooltip__content--light": C.light
8806
8806
  }])
8807
- }, w(C.text), 3)) : O("", !0),
8807
+ }, w(C.text), 3)) : c("", !0),
8808
8808
  C.text ? (m(), n("div", {
8809
8809
  key: 1,
8810
8810
  id: "arrow",
8811
8811
  ref_key: "arrowElement",
8812
8812
  ref: i,
8813
- class: f(["r-tooltip__arrow", {
8813
+ class: p(["r-tooltip__arrow", {
8814
8814
  "r-tooltip__arrow--dark": C.dark,
8815
8815
  "r-tooltip__arrow--light": C.light
8816
8816
  }])
8817
- }, null, 2)) : O("", !0)
8817
+ }, null, 2)) : c("", !0)
8818
8818
  ])
8819
8819
  ], 2)
8820
8820
  ]))
@@ -8867,14 +8867,16 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8867
8867
  setup(H, { emit: V }) {
8868
8868
  const C = H, M = V, A = N({}), L = m1([]), i = N(!1), e = N("");
8869
8869
  function t(u) {
8870
- const [c] = Object == null ? void 0 : Object.keys(u);
8871
- return !c || typeof u[c] == "object" || typeof u[c] == "function" || typeof u[c] == "symbol" || typeof u[c] > "u" || Array.isArray(u[c]) || Array.isArray(u) ? !0 : ["label", "value"].includes(c);
8870
+ if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8871
+ return !0;
8872
+ const [h] = Object == null ? void 0 : Object.keys(u);
8873
+ return ["label", "value"].includes(h);
8872
8874
  }
8873
8875
  const d = g(() => {
8874
8876
  const u = C.options;
8875
- return t(u[0]) ? u : u.map((c) => ({
8876
- value: c,
8877
- label: String(c)
8877
+ return t(u[0]) ? u : u.map((h) => ({
8878
+ value: h,
8879
+ label: String(h)
8878
8880
  }));
8879
8881
  }), l = g(() => {
8880
8882
  const u = C.modelValue;
@@ -8883,10 +8885,10 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8883
8885
  label: String(u)
8884
8886
  };
8885
8887
  }), o = N(), a = N(), r = N();
8886
- function Z(u, c) {
8888
+ function Z(u, h) {
8887
8889
  var b, x, s;
8888
8890
  if (u.stopPropagation(), !C.disabled) {
8889
- if (i.value = !0, c && c(), i.value) {
8891
+ if (i.value = !0, h && h(), i.value) {
8890
8892
  (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = a.value) == null || s.focus());
8891
8893
  return;
8892
8894
  }
@@ -8894,55 +8896,55 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8894
8896
  }
8895
8897
  }
8896
8898
  function B() {
8897
- var u, c, b;
8898
- i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (c = o.value) == null || c.blur(), (b = a.value) == null || b.blur();
8899
+ var u, h, b;
8900
+ i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = a.value) == null || b.blur();
8899
8901
  }
8900
- function k(u, c, b, x) {
8902
+ function k(u, h, b, x) {
8901
8903
  var s;
8902
- if (u.stopPropagation(), x(), !c.disabled) {
8904
+ if (u.stopPropagation(), x(), !h.disabled) {
8903
8905
  if (C.multiple || C.taggable) {
8904
- L.find((E) => E.value === c.value) ? L.splice(L.indexOf(c), 1) : L.push(c), e.value = "", C.searchable && ((s = a.value) == null || s.focus());
8906
+ L.find((E) => E.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((s = a.value) == null || s.focus());
8905
8907
  return;
8906
8908
  }
8907
- y(u, c), C.closeOnSelect && (b(), B());
8909
+ y(u, h), C.closeOnSelect && (b(), B());
8908
8910
  }
8909
8911
  }
8910
- function y(u, c) {
8911
- if (A.value.value === c.value) {
8912
+ function y(u, h) {
8913
+ if (A.value.value === h.value) {
8912
8914
  A.value = {}, e.value = "", M("update:modelValue", "");
8913
8915
  return;
8914
8916
  }
8915
- e.value = c.label, A.value = c, Z(u), M("update:modelValue", c);
8917
+ e.value = h.label, A.value = h, Z(u), M("update:modelValue", h);
8916
8918
  }
8917
- function P(u, c, b) {
8919
+ function P(u, h, b) {
8918
8920
  if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8919
8921
  return;
8920
8922
  u.stopPropagation(), b();
8921
- const x = L.findIndex((s) => s.value === c.value);
8923
+ const x = L.findIndex((s) => s.value === h.value);
8922
8924
  L.splice(x, 1);
8923
8925
  }
8924
- function v(u, c) {
8926
+ function v(u, h) {
8925
8927
  var s;
8926
8928
  if (!C.taggable)
8927
8929
  return;
8928
- u.stopPropagation(), c();
8930
+ u.stopPropagation(), h();
8929
8931
  const b = e.value;
8930
8932
  if (b === "")
8931
8933
  return;
8932
8934
  d.value.find((E) => E.label === b) || (L.push({ value: b, label: b }), e.value = "", (s = a.value) == null || s.focus());
8933
8935
  }
8934
8936
  function R(u) {
8935
- return C.multiple || C.taggable ? L.find((c) => c.value === u.value) : A.value.value === u.value;
8937
+ return C.multiple || C.taggable ? L.find((h) => h.value === u.value) : A.value.value === u.value;
8936
8938
  }
8937
- const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((c) => c.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8939
+ 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);
8938
8940
  function I() {
8939
8941
  l.value ? C.multiple ? L.push(l.value) : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.splice(0, L.length));
8940
8942
  }
8941
- function p(u) {
8943
+ function O(u) {
8942
8944
  C.searchable && u(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8943
8945
  }
8944
- function W(u, c) {
8945
- if (u.stopPropagation(), c(), C.multiple || C.taggable) {
8946
+ function W(u, h) {
8947
+ if (u.stopPropagation(), h(), C.multiple || C.taggable) {
8946
8948
  L.splice(0, L.length);
8947
8949
  return;
8948
8950
  }
@@ -8954,7 +8956,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8954
8956
  M("update:modelValue", u);
8955
8957
  }), $(() => l.value, (u) => {
8956
8958
  I();
8957
- }), (u, c) => (m(), n("div", {
8959
+ }), (u, h) => (m(), n("div", {
8958
8960
  ref_key: "wrapper",
8959
8961
  ref: r,
8960
8962
  class: "r-dropdown-wrapper"
@@ -8975,7 +8977,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8975
8977
  S("div", {
8976
8978
  ref_key: "dropdown",
8977
8979
  ref: o,
8978
- class: f(["r-dropdown", {
8980
+ class: p(["r-dropdown", {
8979
8981
  "r-dropdown--disabled": C.disabled,
8980
8982
  "r-dropdown--loading": C.loading,
8981
8983
  [C.dropdownClass]: C.dropdownClass,
@@ -8986,20 +8988,20 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8986
8988
  }, [
8987
8989
  C.prependIcon || u.$slots.prepend ? (m(), n("div", {
8988
8990
  key: 0,
8989
- class: f(["r-dropdown__prepend-icon", {
8991
+ class: p(["r-dropdown__prepend-icon", {
8990
8992
  "r-dropdown__prepend-icon--active": i.value,
8991
8993
  "r-dropdown__prepend-icon--error": C.errorMsg
8992
8994
  }])
8993
8995
  }, [
8994
- h(u.$slots, "prepend", {}, () => [
8996
+ f(u.$slots, "prepend", {}, () => [
8995
8997
  C.prependIcon ? (m(), _(D, {
8996
8998
  key: 0,
8997
8999
  name: C.prependIcon
8998
- }, null, 8, ["name"])) : O("", !0)
9000
+ }, null, 8, ["name"])) : c("", !0)
8999
9001
  ])
9000
- ], 2)) : O("", !0),
9002
+ ], 2)) : c("", !0),
9001
9003
  C.taggable && L.length ? (m(), n("div", Q5, [
9002
- h(u.$slots, "tags", {
9004
+ f(u.$slots, "tags", {
9003
9005
  options: L,
9004
9006
  removeOption: P,
9005
9007
  updatePosition: x
@@ -9014,17 +9016,17 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9014
9016
  "onClick:close": (G) => P(G, s, x)
9015
9017
  }, null, 8, ["label", "onClick:close"]))), 128))
9016
9018
  ])
9017
- ])) : O("", !0),
9019
+ ])) : c("", !0),
9018
9020
  C.multiple && L.length ? (m(), n("div", G5, [
9019
9021
  (m(!0), n(V1, null, A1(L, (s, E) => (m(), n("p", { key: E }, w(`${s.label},`), 1))), 128))
9020
- ])) : O("", !0),
9022
+ ])) : c("", !0),
9021
9023
  Y1(S("input", {
9022
9024
  id: C.id,
9023
9025
  ref_key: "input",
9024
9026
  ref: a,
9025
- "onUpdate:modelValue": c[0] || (c[0] = (s) => e.value = s),
9027
+ "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9026
9028
  autocomplete: C.autocomplete,
9027
- class: f(["r-dropdown__input", {
9029
+ class: p(["r-dropdown__input", {
9028
9030
  "r-dropdown__input--loading": C.loading
9029
9031
  }]),
9030
9032
  disabled: C.disabled,
@@ -9032,7 +9034,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9032
9034
  readonly: z.value,
9033
9035
  role: "presentation",
9034
9036
  type: "text",
9035
- onInput: d1((s) => p(x), ["prevent"]),
9037
+ onInput: d1((s) => O(x), ["prevent"]),
9036
9038
  onKeydown: [
9037
9039
  N1((s) => P(s, L[L.length - 1], x), ["backspace"]),
9038
9040
  N1((s) => v(s, x), ["enter"])
@@ -9050,26 +9052,26 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9050
9052
  name: "mdiCloseCircle",
9051
9053
  size: "18"
9052
9054
  })
9053
- ], 8, U5)) : O("", !0),
9055
+ ], 8, U5)) : c("", !0),
9054
9056
  C.appendIcon || u.$slots.append ? (m(), n("div", {
9055
9057
  key: 4,
9056
- class: f(["r-dropdown__append-icon", {
9058
+ class: p(["r-dropdown__append-icon", {
9057
9059
  "r-dropdown__append-icon--active": i.value,
9058
9060
  "r-dropdown__append-icon--error": C.errorMsg
9059
9061
  }])
9060
9062
  }, [
9061
- h(u.$slots, "append", {}, () => [
9063
+ f(u.$slots, "append", {}, () => [
9062
9064
  C.appendIcon ? (m(), _(D, {
9063
9065
  key: 0,
9064
9066
  name: C.appendIcon
9065
- }, null, 8, ["name"])) : O("", !0)
9067
+ }, null, 8, ["name"])) : c("", !0)
9066
9068
  ])
9067
- ], 2)) : O("", !0)
9069
+ ], 2)) : c("", !0)
9068
9070
  ], 10, I5)
9069
9071
  ]),
9070
9072
  content: r1(({ hide: b, updatePosition: x }) => [
9071
9073
  S("ul", {
9072
- class: f(["r-dropdown-options", {
9074
+ class: p(["r-dropdown-options", {
9073
9075
  "r-dropdown-options--active": i.value,
9074
9076
  [C.optionsClass]: C.optionsClass
9075
9077
  }])
@@ -9077,54 +9079,54 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9077
9079
  (m(!0), n(V1, null, A1(F.value, (s) => (m(), n("li", {
9078
9080
  key: s.value,
9079
9081
  "aria-disabled": s.disabled,
9080
- class: f(["r-dropdown-options__option", {
9082
+ class: p(["r-dropdown-options__option", {
9081
9083
  "r-dropdown-options__option--active": R(s),
9082
9084
  "r-dropdown-options__option--disabled": s.disabled
9083
9085
  }]),
9084
9086
  onClick: d1((E) => k(E, s, b, x), ["prevent"])
9085
9087
  }, [
9086
- h(u.$slots, "option", {
9088
+ f(u.$slots, "option", {
9087
9089
  isSelected: R(s)
9088
9090
  }, () => [
9089
9091
  S("div", K5, [
9090
- h(u.$slots, "option-prepend", {}, () => [
9092
+ f(u.$slots, "option-prepend", {}, () => [
9091
9093
  s.prependIcon ? (m(), _(D, {
9092
9094
  key: 0,
9093
- class: f(["r-dropdown-options__option__prepend-icon", {
9095
+ class: p(["r-dropdown-options__option__prepend-icon", {
9094
9096
  "r-dropdown-options__option__prepend-icon--active": R(s)
9095
9097
  }]),
9096
9098
  name: s.prependIcon
9097
- }, null, 8, ["class", "name"])) : O("", !0)
9099
+ }, null, 8, ["class", "name"])) : c("", !0)
9098
9100
  ]),
9099
9101
  S("p", {
9100
- class: f(["r-dropdown-options__option__label", {
9102
+ class: p(["r-dropdown-options__option__label", {
9101
9103
  "r-dropdown-options__option__label--active": R(s)
9102
9104
  }])
9103
9105
  }, w(s.label), 3)
9104
9106
  ]),
9105
- h(u.$slots, "option-append", {}, () => [
9107
+ f(u.$slots, "option-append", {}, () => [
9106
9108
  R(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9107
9109
  key: 0,
9108
- class: f(["r-dropdown-options__option__append-icon", {
9110
+ class: p(["r-dropdown-options__option__append-icon", {
9109
9111
  "r-dropdown-options__option__append-icon--active": R(s)
9110
9112
  }]),
9111
9113
  name: "mdiCheck"
9112
- }, null, 8, ["class"])) : O("", !0)
9114
+ }, null, 8, ["class"])) : c("", !0)
9113
9115
  ])
9114
9116
  ])
9115
9117
  ], 10, z5))), 128)),
9116
9118
  F.value.length === 0 ? (m(), n("li", q5, [
9117
- h(u.$slots, "not-options", {}, () => [
9119
+ f(u.$slots, "not-options", {}, () => [
9118
9120
  R1(w(C.noOptionsText || "No options"), 1)
9119
9121
  ])
9120
- ])) : O("", !0)
9122
+ ])) : c("", !0)
9121
9123
  ], 2)
9122
9124
  ]),
9123
9125
  _: 3
9124
9126
  }),
9125
- u.$props.hideDetails ? O("", !0) : (m(), n("div", j5, [
9126
- C.errorMsg ? (m(), n("div", X5, w(C.errorMsg), 1)) : O("", !0),
9127
- C.hint ? (m(), n("div", Y5, w(C.hint), 1)) : O("", !0)
9127
+ u.$props.hideDetails ? c("", !0) : (m(), n("div", j5, [
9128
+ C.errorMsg ? (m(), n("div", X5, w(C.errorMsg), 1)) : c("", !0),
9129
+ C.hint ? (m(), n("div", Y5, w(C.hint), 1)) : c("", !0)
9128
9130
  ]))
9129
9131
  ], 512));
9130
9132
  }
@@ -9142,7 +9144,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9142
9144
  class: "r-label",
9143
9145
  for: V.for
9144
9146
  }, [
9145
- h(C.$slots, "default", {}, () => [
9147
+ f(C.$slots, "default", {}, () => [
9146
9148
  R1(w(V.text), 1)
9147
9149
  ])
9148
9150
  ], 8, C3));
@@ -9190,31 +9192,31 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9190
9192
  }), window.addEventListener("keydown", (e) => {
9191
9193
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9192
9194
  }), (e, t) => Y1((m(), n("div", {
9193
- class: f(["r-modal-overlay", e.overlayClass]),
9195
+ class: p(["r-modal-overlay", e.overlayClass]),
9194
9196
  onClick: d1(i, ["stop"])
9195
9197
  }, [
9196
9198
  S("div", {
9197
9199
  "aria-modal": "true",
9198
- class: f(A.value),
9200
+ class: p(A.value),
9199
9201
  open: C.modelValue,
9200
9202
  role: "dialog",
9201
9203
  style: x1(L.value)
9202
9204
  }, [
9203
9205
  S("div", L3, [
9204
- h(e.$slots, "header"),
9206
+ f(e.$slots, "header"),
9205
9207
  C.icon ? (m(), n("div", M3, [
9206
9208
  K(D, {
9207
9209
  name: C.icon
9208
9210
  }, null, 8, ["name"])
9209
- ])) : O("", !0),
9210
- C.title ? (m(), n("div", A3, w(C.title), 1)) : O("", !0),
9211
- C.description ? (m(), n("div", i3, w(C.description), 1)) : O("", !0)
9211
+ ])) : c("", !0),
9212
+ C.title ? (m(), n("div", A3, w(C.title), 1)) : c("", !0),
9213
+ C.description ? (m(), n("div", i3, w(C.description), 1)) : c("", !0)
9212
9214
  ]),
9213
9215
  S("div", e3, [
9214
- h(e.$slots, "default")
9216
+ f(e.$slots, "default")
9215
9217
  ]),
9216
9218
  S("div", d3, [
9217
- h(e.$slots, "actions")
9219
+ f(e.$slots, "actions")
9218
9220
  ])
9219
9221
  ], 14, V3)
9220
9222
  ], 10, H3)), [
@@ -9234,25 +9236,25 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9234
9236
  setup(H, { emit: V }) {
9235
9237
  const C = H, M = V;
9236
9238
  return (A, L) => (m(), n("div", {
9237
- class: f(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9239
+ class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9238
9240
  "data-open": C.modelValue
9239
9241
  }, [
9240
9242
  S("aside", {
9241
- class: f(["r-sidebar", [C.class]]),
9243
+ class: p(["r-sidebar", [C.class]]),
9242
9244
  "data-open": C.modelValue
9243
9245
  }, [
9244
- h(A.$slots, "default")
9246
+ f(A.$slots, "default")
9245
9247
  ], 10, m3),
9246
9248
  C.showTrigger ? (m(), n("div", {
9247
9249
  key: 0,
9248
- class: f(["r-sidebar__trigger", [C.triggerClass]]),
9250
+ class: p(["r-sidebar__trigger", [C.triggerClass]]),
9249
9251
  "data-open": C.modelValue,
9250
9252
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9251
9253
  }, [
9252
- h(A.$slots, "trigger", {}, () => [
9254
+ f(A.$slots, "trigger", {}, () => [
9253
9255
  R1(" > ")
9254
9256
  ])
9255
- ], 10, l3)) : O("", !0)
9257
+ ], 10, l3)) : c("", !0)
9256
9258
  ], 10, t3));
9257
9259
  }
9258
9260
  }), o3 = { class: "r-snackbar__text" }, n3 = {
@@ -9297,26 +9299,26 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9297
9299
  info: "mdiInformation"
9298
9300
  })[C.variant || "info"]);
9299
9301
  return (i, e) => (m(), n("div", {
9300
- class: f(A.value)
9302
+ class: p(A.value)
9301
9303
  }, [
9302
- h(i.$slots, "default", {}, () => [
9304
+ f(i.$slots, "default", {}, () => [
9303
9305
  C.variant ? (m(), _(D, {
9304
9306
  key: 0,
9305
9307
  class: "r-snackbar__icon",
9306
9308
  name: L.value
9307
- }, null, 8, ["name"])) : O("", !0)
9309
+ }, null, 8, ["name"])) : c("", !0)
9308
9310
  ]),
9309
9311
  S("div", o3, w(C.text), 1),
9310
- h(i.$slots, "action"),
9312
+ f(i.$slots, "action"),
9311
9313
  C.closable ? (m(), n("div", n3, [
9312
- h(i.$slots, "close", {}, () => [
9314
+ f(i.$slots, "close", {}, () => [
9313
9315
  K(D, {
9314
9316
  name: "mdiClose",
9315
9317
  size: 16,
9316
9318
  onClick: e[0] || (e[0] = d1((t) => i.$emit("update:modelValue", !1), ["stop"]))
9317
9319
  })
9318
9320
  ])
9319
- ])) : O("", !0)
9321
+ ])) : c("", !0)
9320
9322
  ], 2));
9321
9323
  }
9322
9324
  }), r3 = ["id", "checked", "disabled"], a3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), Z3 = ["id", "for"], u3 = {
@@ -9365,13 +9367,13 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9365
9367
  immediate: !0
9366
9368
  }
9367
9369
  ), (e, t) => (m(), n("div", {
9368
- class: f(["r-switch-container", {
9370
+ class: p(["r-switch-container", {
9369
9371
  "r-switch-container--reverse": C.reverse,
9370
9372
  "r-switch-container--hide-details": C.hideDetails
9371
9373
  }])
9372
9374
  }, [
9373
9375
  S("div", {
9374
- class: f(L.value)
9376
+ class: p(L.value)
9375
9377
  }, [
9376
9378
  S("input", {
9377
9379
  id: C.id,
@@ -9384,7 +9386,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9384
9386
  a3
9385
9387
  ], 2),
9386
9388
  S("div", {
9387
- class: f(["r-switch-texts", {
9389
+ class: p(["r-switch-texts", {
9388
9390
  [`r-switch-texts--${C.size}`]: !0
9389
9391
  }])
9390
9392
  }, [
@@ -9393,7 +9395,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9393
9395
  class: "r-switch-texts__label",
9394
9396
  for: C.id
9395
9397
  }, w(C.label), 9, Z3),
9396
- C.hideDetails ? O("", !0) : (m(), n("div", u3, [
9398
+ C.hideDetails ? c("", !0) : (m(), n("div", u3, [
9397
9399
  C.errorMsg ? (m(), n("p", S3, w(C.errorMsg), 1)) : (m(), n("p", s3, w(C.hint), 1))
9398
9400
  ]))
9399
9401
  ], 2)
@@ -9437,36 +9439,36 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9437
9439
  return (t, d) => (m(), n("button", {
9438
9440
  "aria-disabled": C.disabled,
9439
9441
  "aria-selected": C.modelValue === C.id,
9440
- class: f(A.value),
9442
+ class: p(A.value),
9441
9443
  disabled: C.disabled,
9442
9444
  style: x1(L.value),
9443
9445
  onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9444
9446
  }, [
9445
- h(t.$slots, "prepend", {}, () => [
9447
+ f(t.$slots, "prepend", {}, () => [
9446
9448
  C.variant !== M1(n1).TEXT && C.prependIcon ? (m(), _(D, {
9447
9449
  key: 0,
9448
9450
  class: "r-tab-item__prepend-icon",
9449
9451
  name: C.prependIcon,
9450
9452
  size: 16
9451
- }, null, 8, ["name"])) : O("", !0)
9453
+ }, null, 8, ["name"])) : c("", !0)
9452
9454
  ]),
9453
9455
  K(f2, {
9454
9456
  duration: 150,
9455
9457
  name: "fade"
9456
9458
  }, {
9457
9459
  default: r1(() => [
9458
- C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : O("", !0)
9460
+ C.variant !== M1(n1).ICON ? (m(), n("span", O3, w(C.label), 1)) : c("", !0)
9459
9461
  ]),
9460
9462
  _: 1
9461
9463
  }),
9462
- h(t.$slots, "append", {}, () => [
9464
+ f(t.$slots, "append", {}, () => [
9463
9465
  C.variant !== M1(n1).TEXT && C.appendIcon ? (m(), _(D, {
9464
9466
  key: 0,
9465
9467
  class: "r-tab-item__append-icon",
9466
9468
  name: C.appendIcon,
9467
9469
  size: 16,
9468
9470
  onClick: d1(e, ["stop"])
9469
- }, null, 8, ["name", "onClick"])) : O("", !0)
9471
+ }, null, 8, ["name", "onClick"])) : c("", !0)
9470
9472
  ])
9471
9473
  ], 14, c3));
9472
9474
  }
@@ -9497,9 +9499,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9497
9499
  M("click:icon");
9498
9500
  }
9499
9501
  return (e, t) => (m(), n("div", {
9500
- class: f(L.value)
9502
+ class: p(L.value)
9501
9503
  }, [
9502
- h(e.$slots, "default", {}, () => [
9504
+ f(e.$slots, "default", {}, () => [
9503
9505
  (m(!0), n(V1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9504
9506
  id: d.id,
9505
9507
  key: l,
@@ -9562,7 +9564,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9562
9564
  class: "r-textarea__label",
9563
9565
  for: "textarea",
9564
9566
  text: C.label
9565
- }, null, 8, ["id", "text"])) : O("", !0),
9567
+ }, null, 8, ["id", "text"])) : c("", !0),
9566
9568
  S("textarea", j1(i.$attrs, {
9567
9569
  id: C.id,
9568
9570
  class: ["r-textarea", {
@@ -9574,7 +9576,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9574
9576
  value: A.value,
9575
9577
  onInput: L
9576
9578
  }), null, 16, h3),
9577
- C.hideDetails ? O("", !0) : (m(), n("div", g3, [
9579
+ C.hideDetails ? c("", !0) : (m(), n("div", g3, [
9578
9580
  C.errorMsg ? (m(), n("p", k3, w(C.errorMsg), 1)) : (m(), n("p", B3, w(C.hint), 1))
9579
9581
  ]))
9580
9582
  ]));
@@ -9628,15 +9630,15 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9628
9630
  number: "mdiNumeric",
9629
9631
  text: ""
9630
9632
  }, t = N(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9631
- var p;
9632
- return (p = C.errorMsg) == null ? void 0 : p.length;
9633
+ var O;
9634
+ return (O = C.errorMsg) == null ? void 0 : O.length;
9633
9635
  }), a = g(() => C.clearable && l.value), r = g(() => {
9634
- const { disabled: p, loading: W } = C;
9636
+ const { disabled: O, loading: W } = C;
9635
9637
  return {
9636
9638
  "r-textfield": !0,
9637
9639
  "r-textfield--error": o.value,
9638
9640
  "r-textfield--loading": W,
9639
- "r-textfield--disabled": p,
9641
+ "r-textfield--disabled": O,
9640
9642
  "r-textfield--clearable": a.value,
9641
9643
  "r-textfield--focus": t.value,
9642
9644
  "r-textfield--filled": d.value
@@ -9650,25 +9652,25 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9650
9652
  "r-textfield__append-icon--clear": a.value,
9651
9653
  "r-textfield__append-icon--error": o.value
9652
9654
  })), k = g(() => {
9653
- const { prependIcon: p, type: W } = C;
9654
- return p === "none" ? "" : p || e[W];
9655
+ const { prependIcon: O, type: W } = C;
9656
+ return O === "none" ? "" : O || e[W];
9655
9657
  }), y = g(() => {
9656
- const { appendIcon: p, type: W } = C;
9657
- return p === "none" ? "" : o.value ? "mdiAlertCircleOutline" : a.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : p;
9658
+ const { appendIcon: O, type: W } = C;
9659
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : a.value && ["text", "email"].includes(W) ? "mdiClose" : W === "password" && i.value === "password" ? "mdiEyeOutline" : W === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9658
9660
  });
9659
- function P(p) {
9660
- t.value = !0, M("focus", p);
9661
+ function P(O) {
9662
+ t.value = !0, M("focus", O);
9661
9663
  }
9662
- function v(p) {
9663
- t.value = !1, M("blur", p);
9664
+ function v(O) {
9665
+ t.value = !1, M("blur", O);
9664
9666
  }
9665
- function R(p) {
9666
- L.value = p.target.value, M("input", p);
9667
+ function R(O) {
9668
+ L.value = O.target.value, M("input", O);
9667
9669
  }
9668
9670
  function F() {
9669
- var p;
9671
+ var O;
9670
9672
  if (a.value) {
9671
- L.value = "", (p = A.value) == null || p.focus(), M("click:clear", {
9673
+ L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9672
9674
  value: i.value === "number" ? +L.value : L.value
9673
9675
  });
9674
9676
  return;
@@ -9681,26 +9683,26 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9681
9683
  i.value = i.value === "password" ? "text" : "password";
9682
9684
  }
9683
9685
  function I() {
9684
- var p;
9685
- (p = A.value) == null || p.focus();
9686
+ var O;
9687
+ (O = A.value) == null || O.focus();
9686
9688
  }
9687
9689
  return $(
9688
9690
  () => C.modelValue,
9689
- (p) => {
9690
- L.value = p;
9691
+ (O) => {
9692
+ L.value = O;
9691
9693
  },
9692
9694
  {
9693
9695
  immediate: !0
9694
9696
  }
9695
9697
  ), $(
9696
9698
  () => L.value,
9697
- (p) => {
9699
+ (O) => {
9698
9700
  M(
9699
9701
  "update:modelValue",
9700
- i.value === "number" ? +p : p
9702
+ i.value === "number" ? +O : O
9701
9703
  );
9702
9704
  }
9703
- ), (p, W) => (m(), n("div", b3, [
9705
+ ), (O, W) => (m(), n("div", b3, [
9704
9706
  C.label ? (m(), _(r2, {
9705
9707
  key: 0,
9706
9708
  id: `${C.id}-label`,
@@ -9708,18 +9710,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9708
9710
  for: C.id,
9709
9711
  text: C.label,
9710
9712
  onClick: I
9711
- }, null, 8, ["id", "for", "text"])) : O("", !0),
9713
+ }, null, 8, ["id", "for", "text"])) : c("", !0),
9712
9714
  S("div", w3, [
9713
9715
  S("div", {
9714
- class: f(r.value)
9716
+ class: p(r.value)
9715
9717
  }, [
9716
- h(p.$slots, "prepend"),
9717
- k.value && !p.$slots.prepend ? (m(), _(D, {
9718
+ f(O.$slots, "prepend"),
9719
+ k.value && !O.$slots.prepend ? (m(), _(D, {
9718
9720
  key: 0,
9719
- class: f(Z.value),
9721
+ class: p(Z.value),
9720
9722
  name: k.value,
9721
9723
  size: 20
9722
- }, null, 8, ["class", "name"])) : O("", !0),
9724
+ }, null, 8, ["class", "name"])) : c("", !0),
9723
9725
  S("input", {
9724
9726
  id: C.id,
9725
9727
  ref_key: "inputRef",
@@ -9736,18 +9738,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9736
9738
  onFocus: P,
9737
9739
  onInput: R
9738
9740
  }, null, 40, y3),
9739
- o.value ? O("", !0) : h(p.$slots, "append", { key: 1 }),
9740
- y.value && !p.$slots.append || o.value ? (m(), _(D, {
9741
+ o.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9742
+ y.value && !O.$slots.append || o.value ? (m(), _(D, {
9741
9743
  key: 2,
9742
- class: f(B.value),
9744
+ class: p(B.value),
9743
9745
  name: `${y.value}`,
9744
9746
  size: 20,
9745
9747
  onClick: F
9746
- }, null, 8, ["class", "name"])) : O("", !0)
9748
+ }, null, 8, ["class", "name"])) : c("", !0)
9747
9749
  ], 2),
9748
- C.hideDetails ? O("", !0) : (m(), n("div", P3, [
9749
- C.errorMsg ? (m(), n("p", v3, w(C.errorMsg), 1)) : O("", !0),
9750
- !C.errorMsg && C.hint ? (m(), n("p", T3, w(C.hint), 1)) : O("", !0)
9750
+ C.hideDetails ? c("", !0) : (m(), n("div", P3, [
9751
+ C.errorMsg ? (m(), n("p", v3, w(C.errorMsg), 1)) : c("", !0),
9752
+ !C.errorMsg && C.hint ? (m(), n("p", T3, w(C.hint), 1)) : c("", !0)
9751
9753
  ]))
9752
9754
  ])
9753
9755
  ]));
@@ -9775,22 +9777,22 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9775
9777
  to: L.to
9776
9778
  }, {
9777
9779
  default: r1(() => [
9778
- h(C.$slots, "item-icon", {}, () => [
9780
+ f(C.$slots, "item-icon", {}, () => [
9779
9781
  L.icon ? (m(), _(D, {
9780
9782
  key: 0,
9781
9783
  name: L.icon
9782
- }, null, 8, ["name"])) : O("", !0)
9784
+ }, null, 8, ["name"])) : c("", !0)
9783
9785
  ]),
9784
- L.onlyIcon ? O("", !0) : (m(), n("span", R3, w(L.title), 1))
9786
+ L.onlyIcon ? c("", !0) : (m(), n("span", R3, w(L.title), 1))
9785
9787
  ]),
9786
9788
  _: 2
9787
9789
  }, 1032, ["to"]),
9788
- h(C.$slots, "custom-seperator", {}, () => [
9790
+ f(C.$slots, "custom-seperator", {}, () => [
9789
9791
  i !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9790
9792
  key: 0,
9791
9793
  class: "r-breadcrumb__separator",
9792
9794
  name: V.seperator
9793
- }, null, 8, ["name"])) : O("", !0)
9795
+ }, null, 8, ["name"])) : c("", !0)
9794
9796
  ])
9795
9797
  ]))), 128))
9796
9798
  ]);
@@ -9853,7 +9855,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9853
9855
  M("update:perPage", d);
9854
9856
  }
9855
9857
  return (d, l) => (m(), n("div", {
9856
- class: f(["r-pagination", [`r-pagination--${C.position}`]])
9858
+ class: p(["r-pagination", [`r-pagination--${C.position}`]])
9857
9859
  }, [
9858
9860
  S("div", x3, [
9859
9861
  S("div", D3, [
@@ -9876,9 +9878,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9876
9878
  disabled: C.page === 1,
9877
9879
  onClick: l[1] || (l[1] = (o) => e(1))
9878
9880
  }, [
9879
- h(d.$slots, "first", {}, () => [
9881
+ f(d.$slots, "first", {}, () => [
9880
9882
  (m(), n("svg", {
9881
- class: f(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9883
+ class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9882
9884
  fill: "none",
9883
9885
  height: "20",
9884
9886
  stroke: "#000000",
@@ -9896,9 +9898,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9896
9898
  disabled: C.page === 1,
9897
9899
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9898
9900
  }, [
9899
- h(d.$slots, "prev", {}, () => [
9901
+ f(d.$slots, "prev", {}, () => [
9900
9902
  (m(), n("svg", {
9901
- class: f(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9903
+ class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9902
9904
  fill: "none",
9903
9905
  height: "20",
9904
9906
  stroke: "#000000",
@@ -9916,9 +9918,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9916
9918
  disabled: C.page === L.value,
9917
9919
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9918
9920
  }, [
9919
- h(d.$slots, "next", {}, () => [
9921
+ f(d.$slots, "next", {}, () => [
9920
9922
  (m(), n("svg", {
9921
- class: f(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9923
+ class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9922
9924
  fill: "none",
9923
9925
  height: "20",
9924
9926
  stroke: "#000000",
@@ -9936,9 +9938,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9936
9938
  disabled: C.page === L.value,
9937
9939
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9938
9940
  }, [
9939
- h(d.$slots, "last", {}, () => [
9941
+ f(d.$slots, "last", {}, () => [
9940
9942
  (m(), n("svg", {
9941
- class: f(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9943
+ class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9942
9944
  fill: "none",
9943
9945
  height: "20",
9944
9946
  stroke: "#000000",
@@ -9995,7 +9997,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9995
9997
  }
9996
9998
  return k1(`${w1}:select`, t), (d, l) => (m(), _(g2(A.value), null, {
9997
9999
  default: r1(() => [
9998
- h(d.$slots, "default", {
10000
+ f(d.$slots, "default", {
9999
10001
  isSelected: e,
10000
10002
  select: t,
10001
10003
  selected: L.value
@@ -10019,7 +10021,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10019
10021
  function e() {
10020
10022
  V.disabled || L(V.value, !0);
10021
10023
  }
10022
- return (t, d) => h(t.$slots, "default", {
10024
+ return (t, d) => f(t.$slots, "default", {
10023
10025
  disabled: V.disabled,
10024
10026
  isSelected: M1(C)(V.value),
10025
10027
  select: e,