@rocketui/vue 0.2.92 → 0.2.93-alpha.1

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,5 +1,5 @@
1
- import { defineComponent as T, openBlock as m, createElementBlock as a, createElementVNode as Z, unref as A1, reactive as D1, Fragment as i1, renderList as n1, normalizeClass as O, renderSlot as k, toDisplayString as v, createVNode as C1, computed as f, createCommentVNode as g, mergeProps as E1, createBlock as D, watch as W, getCurrentScope as v2, onScopeDispose as w2, ref as E, watchEffect as V2, onMounted as o2, onUnmounted as q1, Teleport as y2, withCtx as P1, withDirectives as n2, withModifiers as r1, withKeys as L2, vModelText as P2, createTextVNode as f1, normalizeStyle as j1, vShow as T2, resolveComponent as F2, provide as b1, resolveDynamicComponent as R2, inject as v1 } from "vue";
2
- const x2 = {
1
+ import { defineComponent as T, openBlock as m, createElementBlock as Z, createElementVNode as s, unref as A1, reactive as E1, Fragment as i1, renderList as n1, normalizeClass as O, renderSlot as k, toDisplayString as b, createVNode as C1, computed as f, createCommentVNode as g, mergeProps as _1, createBlock as D, watch as N, getCurrentScope as y2, onScopeDispose as P2, ref as E, watchEffect as M2, onMounted as r2, onUnmounted as X1, Teleport as T2, withCtx as T1, withDirectives as a2, withModifiers as r1, withKeys as i2, vModelText as F2, createTextVNode as h1, normalizeStyle as Y1, vShow as R2, resolveComponent as x2, provide as v1, resolveDynamicComponent as D2, inject as w1 } from "vue";
2
+ const E2 = {
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",
5
5
  mdiAbjadArabic: "M12 4C10.08 4 8.5 5.58 8.5 7.5C8.5 8.43 8.88 9.28 9.5 9.91C7.97 10.91 7 12.62 7 14.5C7 17.53 9.47 20 12.5 20C14.26 20 16 19.54 17.5 18.66L16.5 16.93C15.28 17.63 13.9 18 12.5 18C10.56 18 9 16.45 9 14.5C9 12.91 10.06 11.53 11.59 11.12L16.8 9.72L16.28 7.79L11.83 9C11.08 8.9 10.5 8.28 10.5 7.5C10.5 6.66 11.16 6 12 6C12.26 6 12.5 6.07 12.75 6.2L13.75 4.47C13.22 4.16 12.61 4 12 4Z",
@@ -7296,7 +7296,7 @@ const x2 = {
7296
7296
  mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
7297
7297
  mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
7298
7298
  mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
7299
- }, D2 = ["id", "height", "viewBox", "width"], E2 = ["id", "d"], R = /* @__PURE__ */ T({
7299
+ }, _2 = ["id", "height", "viewBox", "width"], $2 = ["id", "d"], R = /* @__PURE__ */ T({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,20 +7305,20 @@ const x2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, i) => (m(), a("svg", {
7308
+ return (C, i) => (m(), Z("svg", {
7309
7309
  id: C.id,
7310
7310
  class: "r-icon",
7311
7311
  height: V.size,
7312
7312
  viewBox: V.viewBox,
7313
7313
  width: V.size
7314
7314
  }, [
7315
- Z("path", {
7315
+ s("path", {
7316
7316
  id: `${C.id}-path`,
7317
- d: A1(x2)[V.name]
7318
- }, null, 8, E2)
7319
- ], 8, D2));
7317
+ d: A1(E2)[V.name]
7318
+ }, null, 8, $2)
7319
+ ], 8, _2));
7320
7320
  }
7321
- }), _2 = ["id", "data-state", "onClick"], $2 = ["id"], W2 = { class: "r-accordion__title" }, N2 = ["id"], I2 = ["id"], Q2 = ["id"], X0 = /* @__PURE__ */ T({
7321
+ }), W2 = ["id", "data-state", "onClick"], N2 = ["id"], I2 = { class: "r-accordion__title" }, Q2 = ["id"], G2 = ["id"], U2 = ["id"], J0 = /* @__PURE__ */ T({
7322
7322
  __name: "RAccordion",
7323
7323
  props: {
7324
7324
  accordions: {},
@@ -7326,7 +7326,7 @@ const x2 = {
7326
7326
  id: { default: "r-accordion" }
7327
7327
  },
7328
7328
  setup(H) {
7329
- const V = H, C = D1(
7329
+ const V = H, C = E1(
7330
7330
  V.accordions.map(({ title: A, content: L }, M) => ({
7331
7331
  title: A,
7332
7332
  content: L,
@@ -7345,7 +7345,7 @@ const x2 = {
7345
7345
  });
7346
7346
  }
7347
7347
  }
7348
- return (A, L) => (m(!0), a(i1, null, n1(C, (M, e) => (m(), a("div", {
7348
+ return (A, L) => (m(!0), Z(i1, null, n1(C, (M, e) => (m(), Z("div", {
7349
7349
  id: `${A.id}-${e}`,
7350
7350
  key: e,
7351
7351
  class: O(["r-accordion", {
@@ -7355,14 +7355,14 @@ const x2 = {
7355
7355
  "data-state": M.open ? "opened" : "closed",
7356
7356
  onClick: (d) => i(e)
7357
7357
  }, [
7358
- Z("div", {
7358
+ s("div", {
7359
7359
  id: `${A.id}-header-${e}`,
7360
7360
  class: "r-accordion__header"
7361
7361
  }, [
7362
7362
  k(A.$slots, "title", { accordion: M }, () => [
7363
- Z("div", W2, v(M.title), 1)
7363
+ s("div", I2, b(M.title), 1)
7364
7364
  ]),
7365
- Z("div", {
7365
+ s("div", {
7366
7366
  id: `${A.id}-icon-wrapper-${e}`,
7367
7367
  class: "r-accordion__icon"
7368
7368
  }, [
@@ -7376,9 +7376,9 @@ const x2 = {
7376
7376
  name: "mdiChevronDown"
7377
7377
  }, null, 8, ["id"])
7378
7378
  ])
7379
- ], 8, N2)
7380
- ], 8, $2),
7381
- Z("div", {
7379
+ ], 8, Q2)
7380
+ ], 8, N2),
7381
+ s("div", {
7382
7382
  id: `${A.id}-content-${e}`,
7383
7383
  class: "r-accordion__content"
7384
7384
  }, [
@@ -7386,17 +7386,17 @@ const x2 = {
7386
7386
  id: `${A.id}-content-${e}`,
7387
7387
  accordion: M
7388
7388
  }, () => [
7389
- Z("span", {
7389
+ s("span", {
7390
7390
  id: `${A.id}-content-${e}`
7391
- }, v(M.content), 9, Q2)
7391
+ }, b(M.content), 9, U2)
7392
7392
  ])
7393
- ], 8, I2)
7394
- ], 10, _2))), 128));
7393
+ ], 8, G2)
7394
+ ], 10, W2))), 128));
7395
7395
  }
7396
- }), G2 = ["id"], U2 = ["id"], z2 = ["id"], K2 = { class: "r-alert__content__title" }, q2 = {
7396
+ }), z2 = ["id"], K2 = ["id"], q2 = ["id"], j2 = { class: "r-alert__content__title" }, X2 = {
7397
7397
  key: 0,
7398
7398
  class: "r-alert__content__description"
7399
- }, j2 = ["id"], Y0 = /* @__PURE__ */ T({
7399
+ }, Y2 = ["id"], C7 = /* @__PURE__ */ T({
7400
7400
  __name: "RAlert",
7401
7401
  props: {
7402
7402
  type: { default: "info" },
@@ -7423,11 +7423,11 @@ const x2 = {
7423
7423
  function M() {
7424
7424
  i("close");
7425
7425
  }
7426
- return (e, d) => (m(), a("div", {
7426
+ return (e, d) => (m(), Z("div", {
7427
7427
  id: e.id,
7428
7428
  class: O(A.value)
7429
7429
  }, [
7430
- Z("div", {
7430
+ s("div", {
7431
7431
  id: `${e.id}-icon`,
7432
7432
  class: "r-alert__icon"
7433
7433
  }, [
@@ -7437,17 +7437,17 @@ const x2 = {
7437
7437
  size: 24
7438
7438
  }, null, 8, ["name"])
7439
7439
  ])
7440
- ], 8, U2),
7441
- Z("div", {
7440
+ ], 8, K2),
7441
+ s("div", {
7442
7442
  id: `${e.id}-content`,
7443
7443
  class: "r-alert__content"
7444
7444
  }, [
7445
7445
  k(e.$slots, "content", {}, () => [
7446
- Z("p", K2, v(C.title), 1),
7447
- C.description ? (m(), a("p", q2, v(C.description), 1)) : g("", !0)
7446
+ s("p", j2, b(C.title), 1),
7447
+ C.description ? (m(), Z("p", X2, b(C.description), 1)) : g("", !0)
7448
7448
  ])
7449
- ], 8, z2),
7450
- C.closable ? (m(), a("div", {
7449
+ ], 8, q2),
7450
+ C.closable ? (m(), Z("div", {
7451
7451
  key: 0,
7452
7452
  id: `${e.id}-close`,
7453
7453
  class: "r-alert__close"
@@ -7464,14 +7464,14 @@ const x2 = {
7464
7464
  onClick: M
7465
7465
  }, null, 8, ["id"])
7466
7466
  ])
7467
- ], 8, j2)) : g("", !0)
7468
- ], 10, G2));
7467
+ ], 8, Y2)) : g("", !0)
7468
+ ], 10, z2));
7469
7469
  }
7470
- }), M2 = "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", X2 = ["id"], Y2 = ["id"], J2 = ["id"], C5 = ["id", "alt", "src"], H5 = ["id"], J0 = /* @__PURE__ */ T({
7470
+ }), A2 = "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", J2 = ["id"], C5 = ["id"], H5 = ["id"], V5 = ["id", "alt", "src"], L5 = ["id"], H7 = /* @__PURE__ */ T({
7471
7471
  __name: "RAvatar",
7472
7472
  props: {
7473
7473
  type: { default: "image" },
7474
- src: { default: M2 },
7474
+ src: { default: A2 },
7475
7475
  alt: { default: "Avatar" },
7476
7476
  size: { default: "2xl" },
7477
7477
  online: { type: Boolean, default: !1 },
@@ -7482,24 +7482,24 @@ const x2 = {
7482
7482
  const V = H, C = f(() => ({
7483
7483
  "r-avatar": !0,
7484
7484
  [`r-avatar--${V.size}`]: !0
7485
- })), i = f(() => V.type === "image" && !V.src), A = f(() => i.value ? M2 : V.src);
7485
+ })), i = f(() => V.type === "image" && !V.src), A = f(() => i.value ? A2 : V.src);
7486
7486
  function L(M) {
7487
7487
  const e = M.split(" ");
7488
7488
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7489
7489
  }
7490
- return (M, e) => (m(), a("div", {
7490
+ return (M, e) => (m(), Z("div", {
7491
7491
  id: M.id,
7492
7492
  class: "r-avatar__wrapper"
7493
7493
  }, [
7494
- Z("div", {
7494
+ s("div", {
7495
7495
  id: `${M.id}-wrapper`,
7496
7496
  class: O(C.value)
7497
7497
  }, [
7498
- V.type === "text" ? (m(), a("p", {
7498
+ V.type === "text" ? (m(), Z("p", {
7499
7499
  key: 0,
7500
7500
  id: `${M.id}-text`,
7501
7501
  class: O(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7502
- }, v(L(V.text)), 11, J2)) : (m(), a("img", {
7502
+ }, b(L(V.text)), 11, H5)) : (m(), Z("img", {
7503
7503
  key: 1,
7504
7504
  id: `${M.id}-image`,
7505
7505
  alt: V.alt,
@@ -7508,18 +7508,18 @@ const x2 = {
7508
7508
  "r-avatar__image--anonymous": i.value
7509
7509
  }]),
7510
7510
  src: A.value
7511
- }, null, 10, C5))
7512
- ], 10, Y2),
7513
- V.online ? (m(), a("span", {
7511
+ }, null, 10, V5))
7512
+ ], 10, C5),
7513
+ V.online ? (m(), Z("span", {
7514
7514
  key: 0,
7515
7515
  id: `${M.id}-online`,
7516
7516
  class: O(["r-avatar__online", {
7517
7517
  [`r-avatar__online--${V.size}`]: !0
7518
7518
  }])
7519
- }, null, 10, H5)) : g("", !0)
7520
- ], 8, X2));
7519
+ }, null, 10, L5)) : g("", !0)
7520
+ ], 8, J2));
7521
7521
  }
7522
- }), V5 = ["id"], L5 = ["id"], M5 = ["id", "innerHTML"], C7 = /* @__PURE__ */ T({
7522
+ }), M5 = ["id"], i5 = ["id"], A5 = ["id", "innerHTML"], V7 = /* @__PURE__ */ T({
7523
7523
  __name: "RBadge",
7524
7524
  props: {
7525
7525
  variant: { default: "primary" },
@@ -7546,25 +7546,25 @@ const x2 = {
7546
7546
  [`r-badge--${V.variant}`]: V.variant,
7547
7547
  [V.class]: V.class
7548
7548
  }));
7549
- return (i, A) => (m(), a("div", {
7549
+ return (i, A) => (m(), Z("div", {
7550
7550
  id: i.id,
7551
7551
  class: O(["r-badge-wrapper group", [V.wrapperClass]])
7552
7552
  }, [
7553
- Z("span", {
7553
+ s("span", {
7554
7554
  id: `${i.id}-badge`,
7555
7555
  class: O([{ "animate-ping-2": V.animation }, C.value])
7556
- }, null, 10, L5),
7557
- Z("span", {
7556
+ }, null, 10, i5),
7557
+ s("span", {
7558
7558
  id: `${i.id}-content`,
7559
7559
  class: O(C.value),
7560
7560
  innerHTML: V.content
7561
- }, null, 10, M5),
7561
+ }, null, 10, A5),
7562
7562
  k(i.$slots, "default", {
7563
7563
  id: `${i.id}-slot`
7564
7564
  })
7565
- ], 10, V5));
7565
+ ], 10, M5));
7566
7566
  }
7567
- }), i5 = ["id", "disabled"], H7 = /* @__PURE__ */ T({
7567
+ }), e5 = ["id", "disabled"], L7 = /* @__PURE__ */ T({
7568
7568
  __name: "RButton",
7569
7569
  props: {
7570
7570
  variant: { default: "default" },
@@ -7596,7 +7596,7 @@ const x2 = {
7596
7596
  })[V.size || "medium"]), A = f(() => ({
7597
7597
  height: V.height ? `${V.height}px` : ""
7598
7598
  }));
7599
- return (L, M) => (m(), a("button", E1(L.$attrs, {
7599
+ return (L, M) => (m(), Z("button", _1(L.$attrs, {
7600
7600
  id: L.id,
7601
7601
  class: C.value,
7602
7602
  disabled: L.disabled,
@@ -7631,9 +7631,9 @@ const x2 = {
7631
7631
  size: i.value
7632
7632
  }, null, 8, ["id", "name", "size"])) : g("", !0)
7633
7633
  ])
7634
- ], 16, i5));
7634
+ ], 16, e5));
7635
7635
  }
7636
- }), A5 = ["id"], e5 = ["id"], d5 = ["id", "checked", "disabled", "indeterminate"], t5 = ["id", "data-disabled"], m5 = ["id"], l5 = ["id", "data-disabled", "for"], o5 = ["id"], n5 = ["id"], r5 = ["id"], V7 = /* @__PURE__ */ T({
7636
+ }), d5 = ["id"], t5 = ["id"], m5 = ["id", "checked", "disabled", "indeterminate"], l5 = ["id", "data-disabled"], o5 = ["id"], n5 = ["id", "data-disabled", "for"], r5 = ["id"], a5 = ["id"], Z5 = ["id"], M7 = /* @__PURE__ */ T({
7637
7637
  __name: "RCheckbox",
7638
7638
  props: {
7639
7639
  id: { default: "" },
@@ -7647,7 +7647,7 @@ const x2 = {
7647
7647
  },
7648
7648
  emits: ["update:modelValue"],
7649
7649
  setup(H, { emit: V }) {
7650
- const C = H, i = V, A = D1({
7650
+ const C = H, i = V, A = E1({
7651
7651
  checked: !1,
7652
7652
  indeterminate: !1
7653
7653
  }), L = {
@@ -7664,7 +7664,7 @@ const x2 = {
7664
7664
  function d(n) {
7665
7665
  C.disabled || (A.checked = n.target.checked, A.indeterminate = !1, i("update:modelValue", A.checked));
7666
7666
  }
7667
- W(
7667
+ N(
7668
7668
  () => C.indeterminate,
7669
7669
  (n) => {
7670
7670
  A.indeterminate = n, n === !0 && (A.checked = !1, i("update:modelValue", A.checked));
@@ -7674,7 +7674,7 @@ const x2 = {
7674
7674
  // TODO: find a better way to do this
7675
7675
  immediate: !0
7676
7676
  }
7677
- ), W(
7677
+ ), N(
7678
7678
  () => C.modelValue,
7679
7679
  (n) => {
7680
7680
  A.checked = n;
@@ -7686,15 +7686,15 @@ const x2 = {
7686
7686
  }
7687
7687
  );
7688
7688
  const l = f(() => C.id || "r-checkbox");
7689
- return (n, u) => (m(), a("div", {
7689
+ return (n, u) => (m(), Z("div", {
7690
7690
  id: l.value,
7691
7691
  class: "r-checkbox-wrapper"
7692
7692
  }, [
7693
- Z("div", {
7693
+ s("div", {
7694
7694
  id: `${l.value}-container`,
7695
7695
  class: "r-checkbox-container"
7696
7696
  }, [
7697
- Z("input", {
7697
+ s("input", {
7698
7698
  id: `${l.value}`,
7699
7699
  checked: A.checked,
7700
7700
  class: "r-checkbox-container__input",
@@ -7702,8 +7702,8 @@ const x2 = {
7702
7702
  indeterminate: A.indeterminate,
7703
7703
  type: "checkbox",
7704
7704
  onChange: d
7705
- }, null, 40, d5),
7706
- Z("div", {
7705
+ }, null, 40, m5),
7706
+ s("div", {
7707
7707
  id: `${l.value}-icon`,
7708
7708
  class: O(e.value),
7709
7709
  "data-disabled": C.disabled
@@ -7712,37 +7712,37 @@ const x2 = {
7712
7712
  name: M.value,
7713
7713
  size: 24
7714
7714
  }, null, 8, ["name"])
7715
- ], 10, t5)
7716
- ], 8, e5),
7717
- Z("div", {
7715
+ ], 10, l5)
7716
+ ], 8, t5),
7717
+ s("div", {
7718
7718
  id: `${l.value}-texts`,
7719
7719
  class: "r-checkbox-texts"
7720
7720
  }, [
7721
- Z("label", {
7721
+ s("label", {
7722
7722
  id: `${l.value}`,
7723
7723
  class: "r-checkbox-texts__label",
7724
7724
  "data-disabled": C.disabled,
7725
7725
  for: l.value
7726
- }, v(C.label), 9, l5),
7727
- C.hideDetails ? g("", !0) : (m(), a("div", {
7726
+ }, b(C.label), 9, n5),
7727
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
7728
7728
  key: 0,
7729
7729
  id: `${l.value}-details`,
7730
7730
  class: "r-checkbox-texts__details"
7731
7731
  }, [
7732
- C.errorMsg ? (m(), a("p", {
7732
+ C.errorMsg ? (m(), Z("p", {
7733
7733
  key: 0,
7734
7734
  id: `${l.value}-error`,
7735
7735
  class: "r-checkbox-texts__error"
7736
- }, v(C.errorMsg), 9, n5)) : (m(), a("p", {
7736
+ }, b(C.errorMsg), 9, a5)) : (m(), Z("p", {
7737
7737
  key: 1,
7738
7738
  id: `${l.value}-hint`,
7739
7739
  class: "r-checkbox-texts__hint"
7740
- }, v(C.hint), 9, r5))
7741
- ], 8, o5))
7742
- ], 8, m5)
7743
- ], 8, A5));
7740
+ }, b(C.hint), 9, Z5))
7741
+ ], 8, r5))
7742
+ ], 8, o5)
7743
+ ], 8, d5));
7744
7744
  }
7745
- }), a5 = ["id"], Z5 = ["id"], u5 = ["id"], S5 = /* @__PURE__ */ T({
7745
+ }), u5 = ["id"], S5 = ["id"], s5 = ["id"], c5 = /* @__PURE__ */ T({
7746
7746
  __name: "RChip",
7747
7747
  props: {
7748
7748
  variant: { default: "primary" },
@@ -7771,11 +7771,11 @@ const x2 = {
7771
7771
  C.disabled || !C.clearable || (d.stopPropagation(), i("click:close", d));
7772
7772
  }
7773
7773
  const e = f(() => C.clearable ? "mdiClose" : C.appendIcon);
7774
- return (d, l) => (m(), a("div", {
7774
+ return (d, l) => (m(), Z("div", {
7775
7775
  id: d.id,
7776
7776
  class: O(A.value)
7777
7777
  }, [
7778
- Z("div", {
7778
+ s("div", {
7779
7779
  id: `${d.id}-content`,
7780
7780
  class: "r-chip__content",
7781
7781
  onClick: l[0] || (l[0] = (n) => L(n))
@@ -7792,11 +7792,11 @@ const x2 = {
7792
7792
  size: 12
7793
7793
  }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7794
7794
  ]),
7795
- Z("span", {
7795
+ s("span", {
7796
7796
  id: `${d.id}`,
7797
7797
  class: O(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7798
- }, v(C.label), 11, u5)
7799
- ], 8, Z5),
7798
+ }, b(C.label), 11, s5)
7799
+ ], 8, S5),
7800
7800
  k(d.$slots, "append", {
7801
7801
  disabled: C.disabled
7802
7802
  }, () => [
@@ -7810,42 +7810,42 @@ const x2 = {
7810
7810
  onClick: l[1] || (l[1] = (n) => M(n))
7811
7811
  }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7812
7812
  ])
7813
- ], 10, a5));
7813
+ ], 10, u5));
7814
7814
  }
7815
7815
  });
7816
- function s5(H) {
7817
- return v2() ? (w2(H), !0) : !1;
7816
+ function p5(H) {
7817
+ return y2() ? (P2(H), !0) : !1;
7818
7818
  }
7819
- function r2(H) {
7819
+ function Z2(H) {
7820
7820
  return typeof H == "function" ? H() : A1(H);
7821
7821
  }
7822
- const a2 = typeof window < "u" && typeof document < "u";
7822
+ const u2 = typeof window < "u" && typeof document < "u";
7823
7823
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7824
- const c5 = Object.prototype.toString, p5 = (H) => c5.call(H) === "[object Object]", Q1 = () => {
7825
- }, O5 = /* @__PURE__ */ f5();
7826
- function f5() {
7824
+ const O5 = Object.prototype.toString, f5 = (H) => O5.call(H) === "[object Object]", U1 = () => {
7825
+ }, h5 = /* @__PURE__ */ g5();
7826
+ function g5() {
7827
7827
  var H;
7828
- return a2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7828
+ return u2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7829
7829
  }
7830
- function s1(H) {
7830
+ function c1(H) {
7831
7831
  var V;
7832
- const C = r2(H);
7832
+ const C = Z2(H);
7833
7833
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7834
7834
  }
7835
- const Z2 = a2 ? window : void 0;
7836
- function I1(...H) {
7835
+ const S2 = u2 ? window : void 0;
7836
+ function Q1(...H) {
7837
7837
  let V, C, i, A;
7838
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, i, A] = H, V = Z2) : [V, C, i, A] = H, !V)
7839
- return Q1;
7838
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, i, A] = H, V = S2) : [V, C, i, A] = H, !V)
7839
+ return U1;
7840
7840
  Array.isArray(C) || (C = [C]), Array.isArray(i) || (i = [i]);
7841
7841
  const L = [], M = () => {
7842
7842
  L.forEach((n) => n()), L.length = 0;
7843
- }, e = (n, u, o, r) => (n.addEventListener(u, o, r), () => n.removeEventListener(u, o, r)), d = W(
7844
- () => [s1(V), r2(A)],
7843
+ }, e = (n, u, o, r) => (n.addEventListener(u, o, r), () => n.removeEventListener(u, o, r)), d = N(
7844
+ () => [c1(V), Z2(A)],
7845
7845
  ([n, u]) => {
7846
7846
  if (M(), !n)
7847
7847
  return;
7848
- const o = p5(u) ? { ...u } : u;
7848
+ const o = f5(u) ? { ...u } : u;
7849
7849
  L.push(
7850
7850
  ...C.flatMap((r) => i.map((S) => e(n, r, S, o)))
7851
7851
  );
@@ -7854,25 +7854,25 @@ function I1(...H) {
7854
7854
  ), l = () => {
7855
7855
  d(), M();
7856
7856
  };
7857
- return s5(l), l;
7857
+ return p5(l), l;
7858
7858
  }
7859
- let i2 = !1;
7860
- function h5(H, V, C = {}) {
7861
- const { window: i = Z2, ignore: A = [], capture: L = !0, detectIframe: M = !1 } = C;
7859
+ let e2 = !1;
7860
+ function k5(H, V, C = {}) {
7861
+ const { window: i = S2, ignore: A = [], capture: L = !0, detectIframe: M = !1 } = C;
7862
7862
  if (!i)
7863
7863
  return;
7864
- O5 && !i2 && (i2 = !0, Array.from(i.document.body.children).forEach((o) => o.addEventListener("click", Q1)), i.document.documentElement.addEventListener("click", Q1));
7864
+ h5 && !e2 && (e2 = !0, Array.from(i.document.body.children).forEach((o) => o.addEventListener("click", U1)), i.document.documentElement.addEventListener("click", U1));
7865
7865
  let e = !0;
7866
7866
  const d = (o) => A.some((r) => {
7867
7867
  if (typeof r == "string")
7868
7868
  return Array.from(i.document.querySelectorAll(r)).some((S) => S === o.target || o.composedPath().includes(S));
7869
7869
  {
7870
- const S = s1(r);
7870
+ const S = c1(r);
7871
7871
  return S && (o.target === S || o.composedPath().includes(S));
7872
7872
  }
7873
7873
  }), n = [
7874
- I1(i, "click", (o) => {
7875
- const r = s1(H);
7874
+ Q1(i, "click", (o) => {
7875
+ const r = c1(H);
7876
7876
  if (!(!r || r === o.target || o.composedPath().includes(r))) {
7877
7877
  if (o.detail === 0 && (e = !d(o)), !e) {
7878
7878
  e = !0;
@@ -7881,40 +7881,40 @@ function h5(H, V, C = {}) {
7881
7881
  V(o);
7882
7882
  }
7883
7883
  }, { passive: !0, capture: L }),
7884
- I1(i, "pointerdown", (o) => {
7885
- const r = s1(H);
7884
+ Q1(i, "pointerdown", (o) => {
7885
+ const r = c1(H);
7886
7886
  e = !d(o) && !!(r && !o.composedPath().includes(r));
7887
7887
  }, { passive: !0 }),
7888
- M && I1(i, "blur", (o) => {
7888
+ M && Q1(i, "blur", (o) => {
7889
7889
  setTimeout(() => {
7890
7890
  var r;
7891
- const S = s1(H);
7891
+ const S = c1(H);
7892
7892
  ((r = i.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(S != null && S.contains(i.document.activeElement)) && V(o);
7893
7893
  }, 0);
7894
7894
  })
7895
7895
  ].filter(Boolean);
7896
7896
  return () => n.forEach((o) => o());
7897
7897
  }
7898
- function g5() {
7898
+ function B5() {
7899
7899
  function H() {
7900
7900
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
7901
7901
  }
7902
7902
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7903
7903
  }
7904
- const k5 = ["top", "right", "bottom", "left"], p1 = Math.min, a1 = Math.max, T1 = Math.round, e1 = (H) => ({
7904
+ const b5 = ["top", "right", "bottom", "left"], O1 = Math.min, a1 = Math.max, F1 = Math.round, e1 = (H) => ({
7905
7905
  x: H,
7906
7906
  y: H
7907
- }), B5 = {
7907
+ }), v5 = {
7908
7908
  left: "right",
7909
7909
  right: "left",
7910
7910
  bottom: "top",
7911
7911
  top: "bottom"
7912
- }, b5 = {
7912
+ }, w5 = {
7913
7913
  start: "end",
7914
7914
  end: "start"
7915
7915
  };
7916
- function G1(H, V, C) {
7917
- return a1(H, p1(V, C));
7916
+ function z1(H, V, C) {
7917
+ return a1(H, O1(V, C));
7918
7918
  }
7919
7919
  function S1(H, V) {
7920
7920
  return typeof H == "function" ? H(V) : H;
@@ -7922,35 +7922,35 @@ function S1(H, V) {
7922
7922
  function o1(H) {
7923
7923
  return H.split("-")[0];
7924
7924
  }
7925
- function h1(H) {
7925
+ function g1(H) {
7926
7926
  return H.split("-")[1];
7927
7927
  }
7928
- function u2(H) {
7928
+ function s2(H) {
7929
7929
  return H === "x" ? "y" : "x";
7930
7930
  }
7931
- function X1(H) {
7931
+ function J1(H) {
7932
7932
  return H === "y" ? "height" : "width";
7933
7933
  }
7934
- function _1(H) {
7934
+ function $1(H) {
7935
7935
  return ["top", "bottom"].includes(o1(H)) ? "y" : "x";
7936
7936
  }
7937
- function Y1(H) {
7938
- return u2(_1(H));
7937
+ function C2(H) {
7938
+ return s2($1(H));
7939
7939
  }
7940
- function v5(H, V, C) {
7940
+ function y5(H, V, C) {
7941
7941
  C === void 0 && (C = !1);
7942
- const i = h1(H), A = Y1(H), L = X1(A);
7942
+ const i = g1(H), A = C2(H), L = J1(A);
7943
7943
  let M = A === "x" ? i === (C ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
7944
- return V.reference[L] > V.floating[L] && (M = F1(M)), [M, F1(M)];
7944
+ return V.reference[L] > V.floating[L] && (M = R1(M)), [M, R1(M)];
7945
7945
  }
7946
- function w5(H) {
7947
- const V = F1(H);
7948
- return [U1(H), V, U1(V)];
7946
+ function P5(H) {
7947
+ const V = R1(H);
7948
+ return [K1(H), V, K1(V)];
7949
7949
  }
7950
- function U1(H) {
7951
- return H.replace(/start|end/g, (V) => b5[V]);
7950
+ function K1(H) {
7951
+ return H.replace(/start|end/g, (V) => w5[V]);
7952
7952
  }
7953
- function y5(H, V, C) {
7953
+ function T5(H, V, C) {
7954
7954
  const i = ["left", "right"], A = ["right", "left"], L = ["top", "bottom"], M = ["bottom", "top"];
7955
7955
  switch (H) {
7956
7956
  case "top":
@@ -7963,15 +7963,15 @@ function y5(H, V, C) {
7963
7963
  return [];
7964
7964
  }
7965
7965
  }
7966
- function P5(H, V, C, i) {
7967
- const A = h1(H);
7968
- let L = y5(o1(H), C === "start", i);
7969
- return A && (L = L.map((M) => M + "-" + A), V && (L = L.concat(L.map(U1)))), L;
7966
+ function F5(H, V, C, i) {
7967
+ const A = g1(H);
7968
+ let L = T5(o1(H), C === "start", i);
7969
+ return A && (L = L.map((M) => M + "-" + A), V && (L = L.concat(L.map(K1)))), L;
7970
7970
  }
7971
- function F1(H) {
7972
- return H.replace(/left|right|bottom|top/g, (V) => B5[V]);
7971
+ function R1(H) {
7972
+ return H.replace(/left|right|bottom|top/g, (V) => v5[V]);
7973
7973
  }
7974
- function T5(H) {
7974
+ function R5(H) {
7975
7975
  return {
7976
7976
  top: 0,
7977
7977
  right: 0,
@@ -7980,15 +7980,15 @@ function T5(H) {
7980
7980
  ...H
7981
7981
  };
7982
7982
  }
7983
- function S2(H) {
7984
- return typeof H != "number" ? T5(H) : {
7983
+ function c2(H) {
7984
+ return typeof H != "number" ? R5(H) : {
7985
7985
  top: H,
7986
7986
  right: H,
7987
7987
  bottom: H,
7988
7988
  left: H
7989
7989
  };
7990
7990
  }
7991
- function R1(H) {
7991
+ function x1(H) {
7992
7992
  return {
7993
7993
  ...H,
7994
7994
  top: H.y,
@@ -7997,12 +7997,12 @@ function R1(H) {
7997
7997
  bottom: H.y + H.height
7998
7998
  };
7999
7999
  }
8000
- function A2(H, V, C) {
8000
+ function d2(H, V, C) {
8001
8001
  let {
8002
8002
  reference: i,
8003
8003
  floating: A
8004
8004
  } = H;
8005
- const L = _1(V), M = Y1(V), e = X1(M), d = o1(V), l = L === "y", n = i.x + i.width / 2 - A.width / 2, u = i.y + i.height / 2 - A.height / 2, o = i[e] / 2 - A[e] / 2;
8005
+ const L = $1(V), M = C2(V), e = J1(M), d = o1(V), l = L === "y", n = i.x + i.width / 2 - A.width / 2, u = i.y + i.height / 2 - A.height / 2, o = i[e] / 2 - A[e] / 2;
8006
8006
  let r;
8007
8007
  switch (d) {
8008
8008
  case "top":
@@ -8035,7 +8035,7 @@ function A2(H, V, C) {
8035
8035
  y: i.y
8036
8036
  };
8037
8037
  }
8038
- switch (h1(V)) {
8038
+ switch (g1(V)) {
8039
8039
  case "start":
8040
8040
  r[M] -= o * (C && l ? -1 : 1);
8041
8041
  break;
@@ -8045,7 +8045,7 @@ function A2(H, V, C) {
8045
8045
  }
8046
8046
  return r;
8047
8047
  }
8048
- const F5 = async (H, V, C) => {
8048
+ const x5 = async (H, V, C) => {
8049
8049
  const {
8050
8050
  placement: i = "bottom",
8051
8051
  strategy: A = "absolute",
@@ -8059,17 +8059,17 @@ const F5 = async (H, V, C) => {
8059
8059
  }), {
8060
8060
  x: n,
8061
8061
  y: u
8062
- } = A2(l, i, d), o = i, r = {}, S = 0;
8063
- for (let b = 0; b < e.length; b++) {
8062
+ } = d2(l, i, d), o = i, r = {}, S = 0;
8063
+ for (let v = 0; v < e.length; v++) {
8064
8064
  const {
8065
8065
  name: B,
8066
- fn: y
8067
- } = e[b], {
8066
+ fn: P
8067
+ } = e[v], {
8068
8068
  x: c,
8069
8069
  y: w,
8070
8070
  data: _,
8071
8071
  reset: x
8072
- } = await y({
8072
+ } = await P({
8073
8073
  x: n,
8074
8074
  y: u,
8075
8075
  initialPlacement: i,
@@ -8097,7 +8097,7 @@ const F5 = async (H, V, C) => {
8097
8097
  }) : x.rects), {
8098
8098
  x: n,
8099
8099
  y: u
8100
- } = A2(l, o, d)), b = -1;
8100
+ } = d2(l, o, d)), v = -1;
8101
8101
  continue;
8102
8102
  }
8103
8103
  }
@@ -8109,7 +8109,7 @@ const F5 = async (H, V, C) => {
8109
8109
  middlewareData: r
8110
8110
  };
8111
8111
  };
8112
- async function x1(H, V) {
8112
+ async function D1(H, V) {
8113
8113
  var C;
8114
8114
  V === void 0 && (V = {});
8115
8115
  const {
@@ -8125,7 +8125,7 @@ async function x1(H, V) {
8125
8125
  elementContext: u = "floating",
8126
8126
  altBoundary: o = !1,
8127
8127
  padding: r = 0
8128
- } = S1(V, H), S = S2(r), B = e[o ? u === "floating" ? "reference" : "floating" : u], y = R1(await L.getClippingRect({
8128
+ } = S1(V, H), S = c2(r), B = e[o ? u === "floating" ? "reference" : "floating" : u], P = x1(await L.getClippingRect({
8129
8129
  element: (C = await (L.isElement == null ? void 0 : L.isElement(B))) == null || C ? B : B.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8130
8130
  boundary: l,
8131
8131
  rootBoundary: n,
@@ -8140,19 +8140,19 @@ async function x1(H, V) {
8140
8140
  } : {
8141
8141
  x: 1,
8142
8142
  y: 1
8143
- }, x = R1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8143
+ }, x = x1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8144
8144
  rect: c,
8145
8145
  offsetParent: w,
8146
8146
  strategy: d
8147
8147
  }) : c);
8148
8148
  return {
8149
- top: (y.top - x.top + S.top) / _.y,
8150
- bottom: (x.bottom - y.bottom + S.bottom) / _.y,
8151
- left: (y.left - x.left + S.left) / _.x,
8152
- right: (x.right - y.right + S.right) / _.x
8149
+ top: (P.top - x.top + S.top) / _.y,
8150
+ bottom: (x.bottom - P.bottom + S.bottom) / _.y,
8151
+ left: (P.left - x.left + S.left) / _.x,
8152
+ right: (x.right - P.right + S.right) / _.x
8153
8153
  };
8154
8154
  }
8155
- const R5 = (H) => ({
8155
+ const D5 = (H) => ({
8156
8156
  name: "arrow",
8157
8157
  options: H,
8158
8158
  async fn(V) {
@@ -8170,26 +8170,26 @@ const R5 = (H) => ({
8170
8170
  } = S1(H, V) || {};
8171
8171
  if (l == null)
8172
8172
  return {};
8173
- const u = S2(n), o = {
8173
+ const u = c2(n), o = {
8174
8174
  x: C,
8175
8175
  y: i
8176
- }, r = Y1(A), S = X1(r), b = await M.getDimensions(l), B = r === "y", y = B ? "top" : "left", c = B ? "bottom" : "right", w = B ? "clientHeight" : "clientWidth", _ = L.reference[S] + L.reference[r] - o[r] - L.floating[S], x = o[r] - L.reference[r], U = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
- let $ = U ? U[w] : 0;
8178
- (!$ || !await (M.isElement == null ? void 0 : M.isElement(U))) && ($ = e.floating[w] || L.floating[S]);
8179
- const J = _ / 2 - x / 2, h = $ / 2 - b[S] / 2 - 1, F = p1(u[y], h), m1 = p1(u[c], h), N = F, l1 = $ - b[S] - m1, I = $ / 2 - b[S] / 2 + J, q = G1(N, I, l1), j = !d.arrow && h1(A) != null && I != q && L.reference[S] / 2 - (I < N ? F : m1) - b[S] / 2 < 0, z = j ? I < N ? I - N : I - l1 : 0;
8176
+ }, r = C2(A), S = J1(r), v = await M.getDimensions(l), B = r === "y", P = B ? "top" : "left", c = B ? "bottom" : "right", w = B ? "clientHeight" : "clientWidth", _ = L.reference[S] + L.reference[r] - o[r] - L.floating[S], x = o[r] - L.reference[r], z = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
+ let $ = z ? z[w] : 0;
8178
+ (!$ || !await (M.isElement == null ? void 0 : M.isElement(z))) && ($ = e.floating[w] || L.floating[S]);
8179
+ const J = _ / 2 - x / 2, h = $ / 2 - v[S] / 2 - 1, F = O1(u[P], h), m1 = O1(u[c], h), I = F, l1 = $ - v[S] - m1, Q = $ / 2 - v[S] / 2 + J, j = z1(I, Q, l1), X = !d.arrow && g1(A) != null && Q != j && L.reference[S] / 2 - (Q < I ? F : m1) - v[S] / 2 < 0, K = X ? Q < I ? Q - I : Q - l1 : 0;
8180
8180
  return {
8181
- [r]: o[r] + z,
8181
+ [r]: o[r] + K,
8182
8182
  data: {
8183
- [r]: q,
8184
- centerOffset: I - q - z,
8185
- ...j && {
8186
- alignmentOffset: z
8183
+ [r]: j,
8184
+ centerOffset: Q - j - K,
8185
+ ...X && {
8186
+ alignmentOffset: K
8187
8187
  }
8188
8188
  },
8189
- reset: j
8189
+ reset: X
8190
8190
  };
8191
8191
  }
8192
- }), x5 = function(H) {
8192
+ }), E5 = function(H) {
8193
8193
  return H === void 0 && (H = {}), {
8194
8194
  name: "flip",
8195
8195
  options: H,
@@ -8208,52 +8208,52 @@ const R5 = (H) => ({
8208
8208
  fallbackPlacements: o,
8209
8209
  fallbackStrategy: r = "bestFit",
8210
8210
  fallbackAxisSideDirection: S = "none",
8211
- flipAlignment: b = !0,
8211
+ flipAlignment: v = !0,
8212
8212
  ...B
8213
8213
  } = S1(H, V);
8214
8214
  if ((C = L.arrow) != null && C.alignmentOffset)
8215
8215
  return {};
8216
- const y = o1(A), c = o1(e) === e, w = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), _ = o || (c || !b ? [F1(e)] : w5(e));
8217
- !o && S !== "none" && _.push(...P5(e, b, S, w));
8218
- const x = [e, ..._], U = await x1(V, B), $ = [];
8216
+ const P = o1(A), c = o1(e) === e, w = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), _ = o || (c || !v ? [R1(e)] : P5(e));
8217
+ !o && S !== "none" && _.push(...F5(e, v, S, w));
8218
+ const x = [e, ..._], z = await D1(V, B), $ = [];
8219
8219
  let J = ((i = L.flip) == null ? void 0 : i.overflows) || [];
8220
- if (n && $.push(U[y]), u) {
8221
- const N = v5(A, M, w);
8222
- $.push(U[N[0]], U[N[1]]);
8220
+ if (n && $.push(z[P]), u) {
8221
+ const I = y5(A, M, w);
8222
+ $.push(z[I[0]], z[I[1]]);
8223
8223
  }
8224
8224
  if (J = [...J, {
8225
8225
  placement: A,
8226
8226
  overflows: $
8227
- }], !$.every((N) => N <= 0)) {
8227
+ }], !$.every((I) => I <= 0)) {
8228
8228
  var h, F;
8229
- const N = (((h = L.flip) == null ? void 0 : h.index) || 0) + 1, l1 = x[N];
8229
+ const I = (((h = L.flip) == null ? void 0 : h.index) || 0) + 1, l1 = x[I];
8230
8230
  if (l1)
8231
8231
  return {
8232
8232
  data: {
8233
- index: N,
8233
+ index: I,
8234
8234
  overflows: J
8235
8235
  },
8236
8236
  reset: {
8237
8237
  placement: l1
8238
8238
  }
8239
8239
  };
8240
- let I = (F = J.filter((q) => q.overflows[0] <= 0).sort((q, j) => q.overflows[1] - j.overflows[1])[0]) == null ? void 0 : F.placement;
8241
- if (!I)
8240
+ let Q = (F = J.filter((j) => j.overflows[0] <= 0).sort((j, X) => j.overflows[1] - X.overflows[1])[0]) == null ? void 0 : F.placement;
8241
+ if (!Q)
8242
8242
  switch (r) {
8243
8243
  case "bestFit": {
8244
8244
  var m1;
8245
- const q = (m1 = J.map((j) => [j.placement, j.overflows.filter((z) => z > 0).reduce((z, t) => z + t, 0)]).sort((j, z) => j[1] - z[1])[0]) == null ? void 0 : m1[0];
8246
- q && (I = q);
8245
+ const j = (m1 = J.map((X) => [X.placement, X.overflows.filter((K) => K > 0).reduce((K, t) => K + t, 0)]).sort((X, K) => X[1] - K[1])[0]) == null ? void 0 : m1[0];
8246
+ j && (Q = j);
8247
8247
  break;
8248
8248
  }
8249
8249
  case "initialPlacement":
8250
- I = e;
8250
+ Q = e;
8251
8251
  break;
8252
8252
  }
8253
- if (A !== I)
8253
+ if (A !== Q)
8254
8254
  return {
8255
8255
  reset: {
8256
- placement: I
8256
+ placement: Q
8257
8257
  }
8258
8258
  };
8259
8259
  }
@@ -8261,7 +8261,7 @@ const R5 = (H) => ({
8261
8261
  }
8262
8262
  };
8263
8263
  };
8264
- function e2(H, V) {
8264
+ function t2(H, V) {
8265
8265
  return {
8266
8266
  top: H.top - V.height,
8267
8267
  right: H.right - V.width,
@@ -8269,10 +8269,10 @@ function e2(H, V) {
8269
8269
  left: H.left - V.width
8270
8270
  };
8271
8271
  }
8272
- function d2(H) {
8273
- return k5.some((V) => H[V] >= 0);
8272
+ function m2(H) {
8273
+ return b5.some((V) => H[V] >= 0);
8274
8274
  }
8275
- const D5 = function(H) {
8275
+ const _5 = function(H) {
8276
8276
  return H === void 0 && (H = {}), {
8277
8277
  name: "hide",
8278
8278
  options: H,
@@ -8285,26 +8285,26 @@ const D5 = function(H) {
8285
8285
  } = S1(H, V);
8286
8286
  switch (i) {
8287
8287
  case "referenceHidden": {
8288
- const L = await x1(V, {
8288
+ const L = await D1(V, {
8289
8289
  ...A,
8290
8290
  elementContext: "reference"
8291
- }), M = e2(L, C.reference);
8291
+ }), M = t2(L, C.reference);
8292
8292
  return {
8293
8293
  data: {
8294
8294
  referenceHiddenOffsets: M,
8295
- referenceHidden: d2(M)
8295
+ referenceHidden: m2(M)
8296
8296
  }
8297
8297
  };
8298
8298
  }
8299
8299
  case "escaped": {
8300
- const L = await x1(V, {
8300
+ const L = await D1(V, {
8301
8301
  ...A,
8302
8302
  altBoundary: !0
8303
- }), M = e2(L, C.floating);
8303
+ }), M = t2(L, C.floating);
8304
8304
  return {
8305
8305
  data: {
8306
8306
  escapedOffsets: M,
8307
- escaped: d2(M)
8307
+ escaped: m2(M)
8308
8308
  }
8309
8309
  };
8310
8310
  }
@@ -8314,12 +8314,12 @@ const D5 = function(H) {
8314
8314
  }
8315
8315
  };
8316
8316
  };
8317
- async function E5(H, V) {
8317
+ async function $5(H, V) {
8318
8318
  const {
8319
8319
  placement: C,
8320
8320
  platform: i,
8321
8321
  elements: A
8322
- } = H, L = await (i.isRTL == null ? void 0 : i.isRTL(A.floating)), M = o1(C), e = h1(C), d = _1(C) === "y", l = ["left", "top"].includes(M) ? -1 : 1, n = L && d ? -1 : 1, u = S1(V, H);
8322
+ } = H, L = await (i.isRTL == null ? void 0 : i.isRTL(A.floating)), M = o1(C), e = g1(C), d = $1(C) === "y", l = ["left", "top"].includes(M) ? -1 : 1, n = L && d ? -1 : 1, u = S1(V, H);
8323
8323
  let {
8324
8324
  mainAxis: o,
8325
8325
  crossAxis: r,
@@ -8342,7 +8342,7 @@ async function E5(H, V) {
8342
8342
  y: r * n
8343
8343
  };
8344
8344
  }
8345
- const _5 = function(H) {
8345
+ const W5 = function(H) {
8346
8346
  return H === void 0 && (H = 0), {
8347
8347
  name: "offset",
8348
8348
  options: H,
@@ -8350,7 +8350,7 @@ const _5 = function(H) {
8350
8350
  const {
8351
8351
  x: C,
8352
8352
  y: i
8353
- } = V, A = await E5(V, H);
8353
+ } = V, A = await $5(V, H);
8354
8354
  return {
8355
8355
  x: C + A.x,
8356
8356
  y: i + A.y,
@@ -8358,7 +8358,7 @@ const _5 = function(H) {
8358
8358
  };
8359
8359
  }
8360
8360
  };
8361
- }, $5 = function(H) {
8361
+ }, N5 = function(H) {
8362
8362
  return H === void 0 && (H = {}), {
8363
8363
  name: "shift",
8364
8364
  options: H,
@@ -8373,11 +8373,11 @@ const _5 = function(H) {
8373
8373
  limiter: e = {
8374
8374
  fn: (B) => {
8375
8375
  let {
8376
- x: y,
8376
+ x: P,
8377
8377
  y: c
8378
8378
  } = B;
8379
8379
  return {
8380
- x: y,
8380
+ x: P,
8381
8381
  y: c
8382
8382
  };
8383
8383
  }
@@ -8386,55 +8386,55 @@ const _5 = function(H) {
8386
8386
  } = S1(H, V), l = {
8387
8387
  x: C,
8388
8388
  y: i
8389
- }, n = await x1(V, d), u = _1(o1(A)), o = u2(u);
8389
+ }, n = await D1(V, d), u = $1(o1(A)), o = s2(u);
8390
8390
  let r = l[o], S = l[u];
8391
8391
  if (L) {
8392
- const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", c = r + n[B], w = r - n[y];
8393
- r = G1(c, r, w);
8392
+ const B = o === "y" ? "top" : "left", P = o === "y" ? "bottom" : "right", c = r + n[B], w = r - n[P];
8393
+ r = z1(c, r, w);
8394
8394
  }
8395
8395
  if (M) {
8396
- const B = u === "y" ? "top" : "left", y = u === "y" ? "bottom" : "right", c = S + n[B], w = S - n[y];
8397
- S = G1(c, S, w);
8396
+ const B = u === "y" ? "top" : "left", P = u === "y" ? "bottom" : "right", c = S + n[B], w = S - n[P];
8397
+ S = z1(c, S, w);
8398
8398
  }
8399
- const b = e.fn({
8399
+ const v = e.fn({
8400
8400
  ...V,
8401
8401
  [o]: r,
8402
8402
  [u]: S
8403
8403
  });
8404
8404
  return {
8405
- ...b,
8405
+ ...v,
8406
8406
  data: {
8407
- x: b.x - C,
8408
- y: b.y - i
8407
+ x: v.x - C,
8408
+ y: v.y - i
8409
8409
  }
8410
8410
  };
8411
8411
  }
8412
8412
  };
8413
8413
  };
8414
8414
  function d1(H) {
8415
- return s2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8415
+ return p2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8416
8416
  }
8417
- function K(H) {
8417
+ function q(H) {
8418
8418
  var V;
8419
8419
  return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
8420
8420
  }
8421
8421
  function t1(H) {
8422
8422
  var V;
8423
- return (V = (s2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8423
+ return (V = (p2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8424
8424
  }
8425
- function s2(H) {
8426
- return H instanceof Node || H instanceof K(H).Node;
8425
+ function p2(H) {
8426
+ return H instanceof Node || H instanceof q(H).Node;
8427
8427
  }
8428
8428
  function M1(H) {
8429
- return H instanceof Element || H instanceof K(H).Element;
8429
+ return H instanceof Element || H instanceof q(H).Element;
8430
8430
  }
8431
8431
  function H1(H) {
8432
- return H instanceof HTMLElement || H instanceof K(H).HTMLElement;
8432
+ return H instanceof HTMLElement || H instanceof q(H).HTMLElement;
8433
8433
  }
8434
- function t2(H) {
8435
- return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof K(H).ShadowRoot;
8434
+ function l2(H) {
8435
+ return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof q(H).ShadowRoot;
8436
8436
  }
8437
- function g1(H) {
8437
+ function k1(H) {
8438
8438
  const {
8439
8439
  overflow: V,
8440
8440
  overflowX: C,
@@ -8443,32 +8443,32 @@ function g1(H) {
8443
8443
  } = Y(H);
8444
8444
  return /auto|scroll|overlay|hidden|clip/.test(V + i + C) && !["inline", "contents"].includes(A);
8445
8445
  }
8446
- function W5(H) {
8446
+ function I5(H) {
8447
8447
  return ["table", "td", "th"].includes(d1(H));
8448
8448
  }
8449
- function J1(H) {
8450
- const V = C2(), C = Y(H);
8449
+ function H2(H) {
8450
+ const V = V2(), C = Y(H);
8451
8451
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (C.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (C.contain || "").includes(i));
8452
8452
  }
8453
- function N5(H) {
8453
+ function Q5(H) {
8454
8454
  let V = u1(H);
8455
- for (; H1(V) && !$1(V); ) {
8456
- if (J1(V))
8455
+ for (; H1(V) && !W1(V); ) {
8456
+ if (H2(V))
8457
8457
  return V;
8458
8458
  V = u1(V);
8459
8459
  }
8460
8460
  return null;
8461
8461
  }
8462
- function C2() {
8462
+ function V2() {
8463
8463
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8464
8464
  }
8465
- function $1(H) {
8465
+ function W1(H) {
8466
8466
  return ["html", "body", "#document"].includes(d1(H));
8467
8467
  }
8468
8468
  function Y(H) {
8469
- return K(H).getComputedStyle(H);
8469
+ return q(H).getComputedStyle(H);
8470
8470
  }
8471
- function W1(H) {
8471
+ function N1(H) {
8472
8472
  return M1(H) ? {
8473
8473
  scrollLeft: H.scrollLeft,
8474
8474
  scrollTop: H.scrollTop
@@ -8484,83 +8484,83 @@ function u1(H) {
8484
8484
  // Step into the shadow DOM of the parent of a slotted node.
8485
8485
  H.assignedSlot || // DOM Element detected.
8486
8486
  H.parentNode || // ShadowRoot detected.
8487
- t2(H) && H.host || // Fallback.
8487
+ l2(H) && H.host || // Fallback.
8488
8488
  t1(H)
8489
8489
  );
8490
- return t2(V) ? V.host : V;
8490
+ return l2(V) ? V.host : V;
8491
8491
  }
8492
- function c2(H) {
8492
+ function O2(H) {
8493
8493
  const V = u1(H);
8494
- return $1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : H1(V) && g1(V) ? V : c2(V);
8494
+ return W1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : H1(V) && k1(V) ? V : O2(V);
8495
8495
  }
8496
- function z1(H, V, C) {
8496
+ function q1(H, V, C) {
8497
8497
  var i;
8498
8498
  V === void 0 && (V = []), C === void 0 && (C = !0);
8499
- const A = c2(H), L = A === ((i = H.ownerDocument) == null ? void 0 : i.body), M = K(A);
8500
- return L ? V.concat(M, M.visualViewport || [], g1(A) ? A : [], M.frameElement && C ? z1(M.frameElement) : []) : V.concat(A, z1(A, [], C));
8499
+ const A = O2(H), L = A === ((i = H.ownerDocument) == null ? void 0 : i.body), M = q(A);
8500
+ return L ? V.concat(M, M.visualViewport || [], k1(A) ? A : [], M.frameElement && C ? q1(M.frameElement) : []) : V.concat(A, q1(A, [], C));
8501
8501
  }
8502
- function p2(H) {
8502
+ function f2(H) {
8503
8503
  const V = Y(H);
8504
8504
  let C = parseFloat(V.width) || 0, i = parseFloat(V.height) || 0;
8505
- const A = H1(H), L = A ? H.offsetWidth : C, M = A ? H.offsetHeight : i, e = T1(C) !== L || T1(i) !== M;
8505
+ const A = H1(H), L = A ? H.offsetWidth : C, M = A ? H.offsetHeight : i, e = F1(C) !== L || F1(i) !== M;
8506
8506
  return e && (C = L, i = M), {
8507
8507
  width: C,
8508
8508
  height: i,
8509
8509
  $: e
8510
8510
  };
8511
8511
  }
8512
- function O2(H) {
8512
+ function h2(H) {
8513
8513
  return M1(H) ? H : H.contextElement;
8514
8514
  }
8515
8515
  function Z1(H) {
8516
- const V = O2(H);
8516
+ const V = h2(H);
8517
8517
  if (!H1(V))
8518
8518
  return e1(1);
8519
8519
  const C = V.getBoundingClientRect(), {
8520
8520
  width: i,
8521
8521
  height: A,
8522
8522
  $: L
8523
- } = p2(V);
8524
- let M = (L ? T1(C.width) : C.width) / i, e = (L ? T1(C.height) : C.height) / A;
8523
+ } = f2(V);
8524
+ let M = (L ? F1(C.width) : C.width) / i, e = (L ? F1(C.height) : C.height) / A;
8525
8525
  return (!M || !Number.isFinite(M)) && (M = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8526
8526
  x: M,
8527
8527
  y: e
8528
8528
  };
8529
8529
  }
8530
- const I5 = /* @__PURE__ */ e1(0);
8531
- function f2(H) {
8532
- const V = K(H);
8533
- return !C2() || !V.visualViewport ? I5 : {
8530
+ const G5 = /* @__PURE__ */ e1(0);
8531
+ function g2(H) {
8532
+ const V = q(H);
8533
+ return !V2() || !V.visualViewport ? G5 : {
8534
8534
  x: V.visualViewport.offsetLeft,
8535
8535
  y: V.visualViewport.offsetTop
8536
8536
  };
8537
8537
  }
8538
- function Q5(H, V, C) {
8539
- return V === void 0 && (V = !1), !C || V && C !== K(H) ? !1 : V;
8538
+ function U5(H, V, C) {
8539
+ return V === void 0 && (V = !1), !C || V && C !== q(H) ? !1 : V;
8540
8540
  }
8541
- function O1(H, V, C, i) {
8541
+ function f1(H, V, C, i) {
8542
8542
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8543
- const A = H.getBoundingClientRect(), L = O2(H);
8543
+ const A = H.getBoundingClientRect(), L = h2(H);
8544
8544
  let M = e1(1);
8545
8545
  V && (i ? M1(i) && (M = Z1(i)) : M = Z1(H));
8546
- const e = Q5(L, C, i) ? f2(L) : e1(0);
8546
+ const e = U5(L, C, i) ? g2(L) : e1(0);
8547
8547
  let d = (A.left + e.x) / M.x, l = (A.top + e.y) / M.y, n = A.width / M.x, u = A.height / M.y;
8548
8548
  if (L) {
8549
- const o = K(L), r = i && M1(i) ? K(i) : i;
8549
+ const o = q(L), r = i && M1(i) ? q(i) : i;
8550
8550
  let S = o.frameElement;
8551
8551
  for (; S && i && r !== o; ) {
8552
- const b = Z1(S), B = S.getBoundingClientRect(), y = Y(S), c = B.left + (S.clientLeft + parseFloat(y.paddingLeft)) * b.x, w = B.top + (S.clientTop + parseFloat(y.paddingTop)) * b.y;
8553
- d *= b.x, l *= b.y, n *= b.x, u *= b.y, d += c, l += w, S = K(S).frameElement;
8552
+ const v = Z1(S), B = S.getBoundingClientRect(), P = Y(S), c = B.left + (S.clientLeft + parseFloat(P.paddingLeft)) * v.x, w = B.top + (S.clientTop + parseFloat(P.paddingTop)) * v.y;
8553
+ d *= v.x, l *= v.y, n *= v.x, u *= v.y, d += c, l += w, S = q(S).frameElement;
8554
8554
  }
8555
8555
  }
8556
- return R1({
8556
+ return x1({
8557
8557
  width: n,
8558
8558
  height: u,
8559
8559
  x: d,
8560
8560
  y: l
8561
8561
  });
8562
8562
  }
8563
- function G5(H) {
8563
+ function z5(H) {
8564
8564
  let {
8565
8565
  rect: V,
8566
8566
  offsetParent: C,
@@ -8574,8 +8574,8 @@ function G5(H) {
8574
8574
  scrollTop: 0
8575
8575
  }, e = e1(1);
8576
8576
  const d = e1(0);
8577
- if ((A || !A && i !== "fixed") && ((d1(C) !== "body" || g1(L)) && (M = W1(C)), H1(C))) {
8578
- const l = O1(C);
8577
+ if ((A || !A && i !== "fixed") && ((d1(C) !== "body" || k1(L)) && (M = N1(C)), H1(C))) {
8578
+ const l = f1(C);
8579
8579
  e = Z1(C), d.x = l.x + C.clientLeft, d.y = l.y + C.clientTop;
8580
8580
  }
8581
8581
  return {
@@ -8585,15 +8585,15 @@ function G5(H) {
8585
8585
  y: V.y * e.y - M.scrollTop * e.y + d.y
8586
8586
  };
8587
8587
  }
8588
- function U5(H) {
8588
+ function K5(H) {
8589
8589
  return Array.from(H.getClientRects());
8590
8590
  }
8591
- function h2(H) {
8592
- return O1(t1(H)).left + W1(H).scrollLeft;
8591
+ function k2(H) {
8592
+ return f1(t1(H)).left + N1(H).scrollLeft;
8593
8593
  }
8594
- function z5(H) {
8595
- const V = t1(H), C = W1(H), i = H.ownerDocument.body, A = a1(V.scrollWidth, V.clientWidth, i.scrollWidth, i.clientWidth), L = a1(V.scrollHeight, V.clientHeight, i.scrollHeight, i.clientHeight);
8596
- let M = -C.scrollLeft + h2(H);
8594
+ function q5(H) {
8595
+ const V = t1(H), C = N1(H), i = H.ownerDocument.body, A = a1(V.scrollWidth, V.clientWidth, i.scrollWidth, i.clientWidth), L = a1(V.scrollHeight, V.clientHeight, i.scrollHeight, i.clientHeight);
8596
+ let M = -C.scrollLeft + k2(H);
8597
8597
  const e = -C.scrollTop;
8598
8598
  return Y(i).direction === "rtl" && (M += a1(V.clientWidth, i.clientWidth) - A), {
8599
8599
  width: A,
@@ -8602,12 +8602,12 @@ function z5(H) {
8602
8602
  y: e
8603
8603
  };
8604
8604
  }
8605
- function K5(H, V) {
8606
- const C = K(H), i = t1(H), A = C.visualViewport;
8605
+ function j5(H, V) {
8606
+ const C = q(H), i = t1(H), A = C.visualViewport;
8607
8607
  let L = i.clientWidth, M = i.clientHeight, e = 0, d = 0;
8608
8608
  if (A) {
8609
8609
  L = A.width, M = A.height;
8610
- const l = C2();
8610
+ const l = V2();
8611
8611
  (!l || l && V === "fixed") && (e = A.offsetLeft, d = A.offsetTop);
8612
8612
  }
8613
8613
  return {
@@ -8617,8 +8617,8 @@ function K5(H, V) {
8617
8617
  y: d
8618
8618
  };
8619
8619
  }
8620
- function q5(H, V) {
8621
- const C = O1(H, !0, V === "fixed"), i = C.top + H.clientTop, A = C.left + H.clientLeft, L = H1(H) ? Z1(H) : e1(1), M = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, l = i * L.y;
8620
+ function X5(H, V) {
8621
+ const C = f1(H, !0, V === "fixed"), i = C.top + H.clientTop, A = C.left + H.clientLeft, L = H1(H) ? Z1(H) : e1(1), M = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, l = i * L.y;
8622
8622
  return {
8623
8623
  width: M,
8624
8624
  height: e,
@@ -8626,52 +8626,52 @@ function q5(H, V) {
8626
8626
  y: l
8627
8627
  };
8628
8628
  }
8629
- function m2(H, V, C) {
8629
+ function o2(H, V, C) {
8630
8630
  let i;
8631
8631
  if (V === "viewport")
8632
- i = K5(H, C);
8632
+ i = j5(H, C);
8633
8633
  else if (V === "document")
8634
- i = z5(t1(H));
8634
+ i = q5(t1(H));
8635
8635
  else if (M1(V))
8636
- i = q5(V, C);
8636
+ i = X5(V, C);
8637
8637
  else {
8638
- const A = f2(H);
8638
+ const A = g2(H);
8639
8639
  i = {
8640
8640
  ...V,
8641
8641
  x: V.x - A.x,
8642
8642
  y: V.y - A.y
8643
8643
  };
8644
8644
  }
8645
- return R1(i);
8645
+ return x1(i);
8646
8646
  }
8647
- function g2(H, V) {
8647
+ function B2(H, V) {
8648
8648
  const C = u1(H);
8649
- return C === V || !M1(C) || $1(C) ? !1 : Y(C).position === "fixed" || g2(C, V);
8649
+ return C === V || !M1(C) || W1(C) ? !1 : Y(C).position === "fixed" || B2(C, V);
8650
8650
  }
8651
- function j5(H, V) {
8651
+ function Y5(H, V) {
8652
8652
  const C = V.get(H);
8653
8653
  if (C)
8654
8654
  return C;
8655
- let i = z1(H, [], !1).filter((e) => M1(e) && d1(e) !== "body"), A = null;
8655
+ let i = q1(H, [], !1).filter((e) => M1(e) && d1(e) !== "body"), A = null;
8656
8656
  const L = Y(H).position === "fixed";
8657
8657
  let M = L ? u1(H) : H;
8658
- for (; M1(M) && !$1(M); ) {
8659
- const e = Y(M), d = J1(M);
8660
- !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || g1(M) && !d && g2(H, M)) ? i = i.filter((n) => n !== M) : A = e, M = u1(M);
8658
+ for (; M1(M) && !W1(M); ) {
8659
+ const e = Y(M), d = H2(M);
8660
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || k1(M) && !d && B2(H, M)) ? i = i.filter((n) => n !== M) : A = e, M = u1(M);
8661
8661
  }
8662
8662
  return V.set(H, i), i;
8663
8663
  }
8664
- function X5(H) {
8664
+ function J5(H) {
8665
8665
  let {
8666
8666
  element: V,
8667
8667
  boundary: C,
8668
8668
  rootBoundary: i,
8669
8669
  strategy: A
8670
8670
  } = H;
8671
- const M = [...C === "clippingAncestors" ? j5(V, this._c) : [].concat(C), i], e = M[0], d = M.reduce((l, n) => {
8672
- const u = m2(V, n, A);
8673
- return l.top = a1(u.top, l.top), l.right = p1(u.right, l.right), l.bottom = p1(u.bottom, l.bottom), l.left = a1(u.left, l.left), l;
8674
- }, m2(V, e, A));
8671
+ const M = [...C === "clippingAncestors" ? Y5(V, this._c) : [].concat(C), i], e = M[0], d = M.reduce((l, n) => {
8672
+ const u = o2(V, n, A);
8673
+ return l.top = a1(u.top, l.top), l.right = O1(u.right, l.right), l.bottom = O1(u.bottom, l.bottom), l.left = a1(u.left, l.left), l;
8674
+ }, o2(V, e, A));
8675
8675
  return {
8676
8676
  width: d.right - d.left,
8677
8677
  height: d.bottom - d.top,
@@ -8679,22 +8679,22 @@ function X5(H) {
8679
8679
  y: d.top
8680
8680
  };
8681
8681
  }
8682
- function Y5(H) {
8683
- return p2(H);
8682
+ function C3(H) {
8683
+ return f2(H);
8684
8684
  }
8685
- function J5(H, V, C) {
8686
- const i = H1(V), A = t1(V), L = C === "fixed", M = O1(H, !0, L, V);
8685
+ function H3(H, V, C) {
8686
+ const i = H1(V), A = t1(V), L = C === "fixed", M = f1(H, !0, L, V);
8687
8687
  let e = {
8688
8688
  scrollLeft: 0,
8689
8689
  scrollTop: 0
8690
8690
  };
8691
8691
  const d = e1(0);
8692
8692
  if (i || !i && !L)
8693
- if ((d1(V) !== "body" || g1(A)) && (e = W1(V)), i) {
8694
- const l = O1(V, !0, L, V);
8693
+ if ((d1(V) !== "body" || k1(A)) && (e = N1(V)), i) {
8694
+ const l = f1(V, !0, L, V);
8695
8695
  d.x = l.x + V.clientLeft, d.y = l.y + V.clientTop;
8696
8696
  } else
8697
- A && (d.x = h2(A));
8697
+ A && (d.x = k2(A));
8698
8698
  return {
8699
8699
  x: M.left + e.scrollLeft - d.x,
8700
8700
  y: M.top + e.scrollTop - d.y,
@@ -8702,27 +8702,27 @@ function J5(H, V, C) {
8702
8702
  height: M.height
8703
8703
  };
8704
8704
  }
8705
- function l2(H, V) {
8705
+ function n2(H, V) {
8706
8706
  return !H1(H) || Y(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8707
8707
  }
8708
- function k2(H, V) {
8709
- const C = K(H);
8708
+ function b2(H, V) {
8709
+ const C = q(H);
8710
8710
  if (!H1(H))
8711
8711
  return C;
8712
- let i = l2(H, V);
8713
- for (; i && W5(i) && Y(i).position === "static"; )
8714
- i = l2(i, V);
8715
- return i && (d1(i) === "html" || d1(i) === "body" && Y(i).position === "static" && !J1(i)) ? C : i || N5(H) || C;
8712
+ let i = n2(H, V);
8713
+ for (; i && I5(i) && Y(i).position === "static"; )
8714
+ i = n2(i, V);
8715
+ return i && (d1(i) === "html" || d1(i) === "body" && Y(i).position === "static" && !H2(i)) ? C : i || Q5(H) || C;
8716
8716
  }
8717
- const C3 = async function(H) {
8717
+ const V3 = async function(H) {
8718
8718
  let {
8719
8719
  reference: V,
8720
8720
  floating: C,
8721
8721
  strategy: i
8722
8722
  } = H;
8723
- const A = this.getOffsetParent || k2, L = this.getDimensions;
8723
+ const A = this.getOffsetParent || b2, L = this.getDimensions;
8724
8724
  return {
8725
- reference: J5(V, await A(C), i),
8725
+ reference: H3(V, await A(C), i),
8726
8726
  floating: {
8727
8727
  x: 0,
8728
8728
  y: 0,
@@ -8730,50 +8730,50 @@ const C3 = async function(H) {
8730
8730
  }
8731
8731
  };
8732
8732
  };
8733
- function H3(H) {
8733
+ function L3(H) {
8734
8734
  return Y(H).direction === "rtl";
8735
8735
  }
8736
- const V3 = {
8737
- convertOffsetParentRelativeRectToViewportRelativeRect: G5,
8736
+ const M3 = {
8737
+ convertOffsetParentRelativeRectToViewportRelativeRect: z5,
8738
8738
  getDocumentElement: t1,
8739
- getClippingRect: X5,
8740
- getOffsetParent: k2,
8741
- getElementRects: C3,
8742
- getClientRects: U5,
8743
- getDimensions: Y5,
8739
+ getClippingRect: J5,
8740
+ getOffsetParent: b2,
8741
+ getElementRects: V3,
8742
+ getClientRects: K5,
8743
+ getDimensions: C3,
8744
8744
  getScale: Z1,
8745
8745
  isElement: M1,
8746
- isRTL: H3
8747
- }, L3 = (H, V, C) => {
8746
+ isRTL: L3
8747
+ }, i3 = (H, V, C) => {
8748
8748
  const i = /* @__PURE__ */ new Map(), A = {
8749
- platform: V3,
8749
+ platform: M3,
8750
8750
  ...C
8751
8751
  }, L = {
8752
8752
  ...A.platform,
8753
8753
  _c: i
8754
8754
  };
8755
- return F5(H, V, {
8755
+ return x5(H, V, {
8756
8756
  ...A,
8757
8757
  platform: L
8758
8758
  });
8759
8759
  };
8760
- var B2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(B2 || {}), L1 = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(L1 || {}), K1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(K1 || {});
8761
- async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e) {
8762
- !H || !V || L3(H, V, {
8760
+ var v2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(v2 || {}), L1 = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(L1 || {}), j1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(j1 || {});
8761
+ async function A3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e) {
8762
+ !H || !V || i3(H, V, {
8763
8763
  placement: i,
8764
8764
  middleware: [
8765
- _5(A),
8766
- $5({ padding: L }),
8767
- R5({ element: C }),
8768
- x5(),
8769
- D5()
8765
+ W5(A),
8766
+ N5({ padding: L }),
8767
+ D5({ element: C }),
8768
+ E5(),
8769
+ _5()
8770
8770
  ]
8771
8771
  }).then(({ x: d, y: l, placement: n, middlewareData: u }) => {
8772
- var S, b;
8772
+ var S, v;
8773
8773
  if (!V)
8774
8774
  return;
8775
8775
  u.flip && V.setAttribute("data-placement", n);
8776
- const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, r = (b = H.offsetParent) == null ? void 0 : b.getBoundingClientRect().width;
8776
+ const o = (S = H.offsetParent) == null ? void 0 : S.getBoundingClientRect().left, r = (v = H.offsetParent) == null ? void 0 : v.getBoundingClientRect().width;
8777
8777
  if (Object.assign(V.style, {
8778
8778
  maxWidth: e === "dropdown" ? `${r}px` : "auto",
8779
8779
  left: e === "dropdown" ? `${o}px` : `${d}px`,
@@ -8781,7 +8781,7 @@ async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8781
8781
  animation: `r-tooltip-show ${M}ms ease-in-out forwards`,
8782
8782
  transformOrigin: "start"
8783
8783
  }), C && u.arrow) {
8784
- const { x: B, y } = u.arrow, c = {
8784
+ const { x: B, y: P } = u.arrow, c = {
8785
8785
  top: "bottom",
8786
8786
  right: "left",
8787
8787
  bottom: "top",
@@ -8790,7 +8790,7 @@ async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8790
8790
  }[n.split("-")[0]];
8791
8791
  Object.assign(C.style, {
8792
8792
  left: d != null ? `${B}px` : "",
8793
- top: l != null ? `${y}px` : "",
8793
+ top: l != null ? `${P}px` : "",
8794
8794
  right: "",
8795
8795
  bottom: "",
8796
8796
  [`${c}`]: "-4px"
@@ -8798,10 +8798,10 @@ async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8798
8798
  }
8799
8799
  });
8800
8800
  }
8801
- const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"], t3 = /* @__PURE__ */ T({
8801
+ const e3 = ["id", "aria-disabled"], d3 = ["innerHTML"], t3 = ["id"], m3 = ["id"], l3 = /* @__PURE__ */ T({
8802
8802
  __name: "RTooltip",
8803
8803
  props: {
8804
- placement: { default: B2.Top },
8804
+ placement: { default: v2.Top },
8805
8805
  text: { default: "" },
8806
8806
  dark: { type: Boolean, default: !0 },
8807
8807
  light: { type: Boolean, default: !1 },
@@ -8819,11 +8819,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8819
8819
  triggerClass: { default: "" },
8820
8820
  tooltipClass: { default: "" },
8821
8821
  persistent: { type: Boolean, default: !1 },
8822
- type: { default: K1.Tooltip }
8822
+ type: { default: j1.Tooltip }
8823
8823
  },
8824
8824
  emits: ["show", "hide"],
8825
8825
  setup(H, { emit: V }) {
8826
- const C = H, i = V, A = E(), L = E(), M = E(), e = g5();
8826
+ const C = H, i = V, A = E(), L = E(), M = E(), e = B5();
8827
8827
  let d = null;
8828
8828
  async function l() {
8829
8829
  if (!(C.disabled || !L.value)) {
@@ -8855,55 +8855,55 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8855
8855
  function S() {
8856
8856
  C.disabled || (L.value.style.display === "" && C.triggers.includes(L1.Hover) ? l() : L.value.style.display !== "" && C.triggers.includes(L1.Hover) && n());
8857
8857
  }
8858
- function b() {
8858
+ function v() {
8859
8859
  C.triggers.includes(L1.Hover) && B();
8860
8860
  }
8861
8861
  function B() {
8862
- const { placement: c, offset: w, padding: _, disabled: x, showDelay: U, type: $ } = C;
8863
- x || M3(
8862
+ const { placement: c, offset: w, padding: _, disabled: x, showDelay: z, type: $ } = C;
8863
+ x || A3(
8864
8864
  A,
8865
8865
  L,
8866
8866
  M,
8867
8867
  c,
8868
8868
  w,
8869
8869
  _,
8870
- U,
8870
+ z,
8871
8871
  $
8872
8872
  );
8873
8873
  }
8874
- const y = f(() => ({
8874
+ const P = f(() => ({
8875
8875
  "r-tooltip": !0,
8876
8876
  "r-tooltip--dark": C.dark && !C.light,
8877
8877
  "r-tooltip--light": C.light
8878
8878
  }));
8879
8879
  return window.onresize = () => {
8880
8880
  C.resizable && B();
8881
- }, V2(
8881
+ }, M2(
8882
8882
  () => {
8883
8883
  C.disabled || (C.shown && C.triggers.includes(L1.Manual) ? l() : !C.shown && C.triggers.includes(L1.Manual) && n());
8884
8884
  },
8885
8885
  { flush: "post" }
8886
8886
  // this is important to avoid infinite loop & for fire on mounted
8887
- ), V2(() => {
8888
- d && (d(), d = null), C.outsideClick && A.value && (d = h5(
8887
+ ), M2(() => {
8888
+ d && (d(), d = null), C.outsideClick && A.value && (d = k5(
8889
8889
  A,
8890
8890
  (c) => {
8891
8891
  L.value && L.value.classList.contains("r-tooltip--active") && n(c);
8892
8892
  },
8893
8893
  { ignore: [L] }
8894
8894
  ) ?? null);
8895
- }), o2(() => {
8895
+ }), r2(() => {
8896
8896
  var c, w;
8897
8897
  C.resizable && ((w = (c = A.value) == null ? void 0 : c.parentElement) == null || w.parentElement.addEventListener(
8898
8898
  "scroll",
8899
8899
  () => B()
8900
- )), C.type === K1.Dropdown && document.addEventListener("scroll", () => {
8900
+ )), C.type === j1.Dropdown && document.addEventListener("scroll", () => {
8901
8901
  B();
8902
8902
  });
8903
- }), q1(() => {
8903
+ }), X1(() => {
8904
8904
  d && (d(), d = null);
8905
- }), (c, w) => (m(), a(i1, null, [
8906
- Z("div", {
8905
+ }), (c, w) => (m(), Z(i1, null, [
8906
+ s("div", {
8907
8907
  id: c.id,
8908
8908
  ref_key: "trigger",
8909
8909
  ref: A,
@@ -8912,7 +8912,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8912
8912
  onClick: o,
8913
8913
  onMouseenter: r,
8914
8914
  onMouseleave: S,
8915
- onMousemove: b
8915
+ onMousemove: v
8916
8916
  }, [
8917
8917
  k(c.$slots, "default", {
8918
8918
  id: `${c.id}-slot`,
@@ -8920,22 +8920,22 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8920
8920
  click: o,
8921
8921
  mouseenter: r,
8922
8922
  mouseleave: S,
8923
- mousemove: b
8923
+ mousemove: v
8924
8924
  },
8925
8925
  tooltipId: A1(e),
8926
8926
  updatePosition: B
8927
8927
  }, () => [
8928
- Z("div", {
8928
+ s("div", {
8929
8929
  innerHTML: C.triggerContent
8930
- }, null, 8, A3)
8930
+ }, null, 8, d3)
8931
8931
  ])
8932
- ], 42, i3),
8933
- (m(), D(y2, { to: "body" }, [
8934
- Z("div", {
8932
+ ], 42, e3),
8933
+ (m(), D(T2, { to: "body" }, [
8934
+ s("div", {
8935
8935
  id: `${c.id}-tooltip`,
8936
8936
  ref_key: "tooltip",
8937
8937
  ref: L,
8938
- class: O([y.value, c.tooltipClass]),
8938
+ class: O([P.value, c.tooltipClass]),
8939
8939
  "data-show": "false",
8940
8940
  role: "tooltip"
8941
8941
  }, [
@@ -8944,14 +8944,14 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8944
8944
  hide: n,
8945
8945
  updatePosition: B
8946
8946
  }, () => [
8947
- C.text ? (m(), a("div", {
8947
+ C.text ? (m(), Z("div", {
8948
8948
  key: 0,
8949
8949
  class: O(["r-tooltip__content", {
8950
8950
  "r-tooltip__content--dark": C.dark,
8951
8951
  "r-tooltip__content--light": C.light
8952
8952
  }])
8953
- }, v(C.text), 3)) : g("", !0),
8954
- C.text ? (m(), a("div", {
8953
+ }, b(C.text), 3)) : g("", !0),
8954
+ C.text ? (m(), Z("div", {
8955
8955
  key: 1,
8956
8956
  id: `${c.id}-arrow`,
8957
8957
  ref_key: "arrowElement",
@@ -8960,13 +8960,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8960
8960
  "r-tooltip__arrow--dark": C.dark,
8961
8961
  "r-tooltip__arrow--light": C.light
8962
8962
  }])
8963
- }, null, 10, d3)) : g("", !0)
8963
+ }, null, 10, m3)) : g("", !0)
8964
8964
  ])
8965
- ], 10, e3)
8965
+ ], 10, t3)
8966
8966
  ]))
8967
8967
  ], 64));
8968
8968
  }
8969
- }), m3 = ["id"], l3 = ["id", "onClick"], o3 = ["id"], n3 = ["id"], r3 = ["id"], a3 = ["id"], Z3 = ["id"], u3 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], S3 = ["id", "data-has-value", "onClick"], s3 = ["id"], c3 = ["id"], p3 = ["onClick"], O3 = { class: "flex items-center" }, f3 = { class: "r-dropdown-options__option__label" }, h3 = ["id"], g3 = ["id", "aria-disabled", "onClick"], k3 = ["id"], B3 = ["id"], b3 = ["id"], v3 = ["id"], w3 = ["id"], y3 = ["id"], P3 = /* @__PURE__ */ T({
8969
+ }), o3 = ["id"], n3 = ["id", "onClick"], r3 = ["id"], a3 = ["id"], Z3 = ["id"], u3 = ["id"], S3 = ["id"], s3 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], c3 = ["id", "data-has-value", "onClick"], p3 = ["id"], O3 = ["id"], f3 = ["onClick"], h3 = { class: "flex items-center" }, g3 = { class: "r-dropdown-options__option__label" }, k3 = ["id"], B3 = ["id", "aria-disabled", "onClick"], b3 = ["id"], v3 = ["id"], w3 = ["id"], y3 = ["id"], P3 = ["id"], T3 = ["id"], s1 = "rScrollLockCount", G1 = "rPreviousOverflowY", F3 = /* @__PURE__ */ T({
8970
8970
  __name: "RDropdown",
8971
8971
  props: {
8972
8972
  options: { default: () => [] },
@@ -8995,167 +8995,175 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8995
8995
  showSelectAll: { type: Boolean, default: !1 },
8996
8996
  selectAllText: { default: "Select all" },
8997
8997
  disableDeselect: { type: Boolean, default: !1 },
8998
- maxVisibleChips: { default: 2 },
8999
- persistent: { type: Boolean, default: !1 }
8998
+ maxVisibleChips: { default: 2 }
9000
8999
  },
9001
9000
  emits: ["update:modelValue", "clear", "removeOption"],
9002
9001
  setup(H, { emit: V }) {
9003
- const C = H, i = V, A = E({}), L = E([]), M = E(!1), e = E(""), d = E(null);
9004
- function l(t) {
9005
- const s = window.getComputedStyle(t);
9006
- return /(auto|scroll|overlay)/.test(s.overflowY);
9002
+ const C = H, i = V, A = E({}), L = E([]), M = E(!1), e = E("");
9003
+ function d(t) {
9004
+ const a = window.getComputedStyle(t);
9005
+ return /(auto|scroll|overlay)/.test(a.overflowY);
9007
9006
  }
9008
- function n(t) {
9009
- let s = t;
9010
- for (; s && s !== document.body; ) {
9011
- if (l(s))
9012
- return s;
9013
- s = s.parentElement;
9007
+ function l(t) {
9008
+ let a = t;
9009
+ for (; a && a !== document.body; ) {
9010
+ if (d(a))
9011
+ return a;
9012
+ a = a.parentElement;
9014
9013
  }
9015
9014
  return document.body;
9016
9015
  }
9017
- function u(t) {
9018
- const s = Number(t.dataset.rScrollLockCount || "0");
9019
- s === 0 && (t.dataset.rPreviousOverflowY = t.style.overflowY, t.style.overflowY = "hidden"), t.dataset.rScrollLockCount = String(s + 1);
9020
- }
9021
- function o(t) {
9022
- const s = Number(t.dataset.rScrollLockCount || "0");
9023
- if (s <= 1) {
9024
- const P = t.dataset.rPreviousOverflowY ?? "";
9025
- t.style.overflowY = P, delete t.dataset.rScrollLockCount, delete t.dataset.rPreviousOverflowY;
9026
- } else
9027
- t.dataset.rScrollLockCount = String(s - 1);
9028
- }
9029
- function r(t) {
9016
+ function n(t) {
9030
9017
  if (!t || typeof t == "object" || typeof t == "function" || typeof t == "symbol" || typeof t > "u" || Array.isArray(t))
9031
9018
  return !0;
9032
- const [s] = Object.keys(t);
9033
- return ["label", "value"].includes(s);
9019
+ const [a] = Object.keys(t);
9020
+ return ["label", "value"].includes(a);
9034
9021
  }
9035
- const S = f(() => {
9022
+ const u = f(() => {
9036
9023
  const t = C.options;
9037
- return r(t[0]) ? t : t.map((s) => ({
9038
- value: s,
9039
- label: String(s)
9024
+ return n(t[0]) ? t : t.map((a) => ({
9025
+ value: a,
9026
+ label: String(a)
9040
9027
  }));
9041
- }), b = f(() => {
9028
+ }), o = f(() => {
9042
9029
  const t = C.modelValue;
9043
- return r(t) ? t : {
9030
+ return n(t) ? t : {
9044
9031
  value: t,
9045
9032
  label: String(t)
9046
9033
  };
9047
- }), B = E(), y = E(), c = E();
9034
+ }), r = E(), S = E(), v = E(), B = [];
9035
+ function P(t) {
9036
+ let a = t;
9037
+ if (!a) {
9038
+ const W = v.value || r.value;
9039
+ W && (a = l(W));
9040
+ }
9041
+ if (!a)
9042
+ return null;
9043
+ const y = Number.parseInt(a.dataset[s1] || "0", 10);
9044
+ return y === 0 && (a.dataset[G1] = a.style.overflowY || "", a.style.overflowY = "hidden"), a.dataset[s1] = String(y + 1), B.push(a), a;
9045
+ }
9046
+ function c(t) {
9047
+ const a = t || B.pop();
9048
+ if (!a)
9049
+ return;
9050
+ const y = Number.parseInt(a.dataset[s1] || "0", 10);
9051
+ if (!(y <= 0))
9052
+ if (y === 1) {
9053
+ const W = a.dataset[G1];
9054
+ W !== void 0 && (a.style.overflowY = W), delete a.dataset[s1], delete a.dataset[G1];
9055
+ } else
9056
+ a.dataset[s1] = String(y - 1);
9057
+ }
9048
9058
  function w(t) {
9049
- var X, p, Q, k1;
9059
+ var W, p, G, B1;
9050
9060
  if (C.disabled)
9051
9061
  return;
9052
- const s = document.getElementById(t);
9053
- document.querySelectorAll(".r-dropdown--active").forEach((G) => {
9054
- var B1;
9055
- if (G.id !== ((B1 = B.value) == null ? void 0 : B1.id) && G.classList.contains("r-dropdown--active")) {
9056
- const H2 = n(
9057
- G
9062
+ const a = document.getElementById(t);
9063
+ document.querySelectorAll(".r-dropdown--active").forEach((U) => {
9064
+ var b1;
9065
+ if (U.id !== ((b1 = r.value) == null ? void 0 : b1.id) && U.classList.contains("r-dropdown--active")) {
9066
+ const L2 = l(
9067
+ U
9058
9068
  );
9059
- H2 && o(H2), G.childNodes.forEach((V1) => {
9060
- V1 != null && V1.classList && (Object == null || Object.values(V1 == null ? void 0 : V1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9061
- V1 == null || V1.classList.remove(N1);
9069
+ L2 && c(L2), U.childNodes.forEach((V1) => {
9070
+ V1 != null && V1.classList && (Object == null || Object.values(V1 == null ? void 0 : V1.classList).filter((I1) => I1.includes("--active")).forEach((I1) => {
9071
+ V1 == null || V1.classList.remove(I1);
9062
9072
  }));
9063
- }), G.classList.remove("r-dropdown--active");
9073
+ }), U.classList.remove("r-dropdown--active");
9064
9074
  }
9065
- }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), M.value = !1, (X = B.value) == null || X.blur(), (p = y.value) == null || p.blur(), d.value && o(d.value)) : (s == null || s.classList.add("r-dropdown--active"), M.value = !0, (Q = B.value) == null || Q.focus(), (k1 = y.value) == null || k1.focus(), d.value || (d.value = n(
9066
- c.value || B.value
9067
- )), d.value && u(d.value), s == null || s.childNodes.forEach((G) => {
9068
- G != null && G.classList && (Object == null || Object.values(G == null ? void 0 : G.classList).forEach((B1) => {
9069
- G == null || G.classList.add(`${B1}--active`);
9075
+ }), a != null && a.classList.contains("r-dropdown--active") ? (a.classList.remove("r-dropdown--active"), M.value = !1, (W = r.value) == null || W.blur(), (p = S.value) == null || p.blur(), c()) : (a == null || a.classList.add("r-dropdown--active"), M.value = !0, (G = r.value) == null || G.focus(), (B1 = S.value) == null || B1.focus(), P(), a == null || a.childNodes.forEach((U) => {
9076
+ U != null && U.classList && (Object == null || Object.values(U == null ? void 0 : U.classList).forEach((b1) => {
9077
+ U == null || U.classList.add(`${b1}--active`);
9070
9078
  }));
9071
9079
  }));
9072
9080
  }
9073
9081
  function _(t) {
9074
- const s = document.getElementById(t);
9075
- s == null || s.classList.remove("r-dropdown--active"), M.value = !1, d.value && o(d.value);
9082
+ const a = document.getElementById(t);
9083
+ a == null || a.classList.remove("r-dropdown--active"), M.value = !1, c();
9076
9084
  }
9077
- function x(t, s, P, X) {
9085
+ function x(t, a, y, W) {
9078
9086
  var p;
9079
- if (!(C.disabled || s.disabled)) {
9080
- if (X(), s.value === "select-all") {
9081
- q();
9087
+ if (!(C.disabled || a.disabled)) {
9088
+ if (W(), a.value === "select-all") {
9089
+ j();
9082
9090
  return;
9083
9091
  }
9084
9092
  if (C.multiple) {
9085
- if (!L.value.find((Q) => Q.value === s.value))
9086
- L.value.push(s);
9093
+ if (!L.value.find((G) => G.value === a.value))
9094
+ L.value.push(a);
9087
9095
  else {
9088
- const Q = L.value.findIndex(
9089
- (k1) => k1.value === s.value
9096
+ const G = L.value.findIndex(
9097
+ (B1) => B1.value === a.value
9090
9098
  );
9091
- L.value.splice(Q, 1), i("removeOption", s);
9099
+ L.value.splice(G, 1), i("removeOption", a);
9092
9100
  }
9093
- e.value = "", C.searchable && ((p = y.value) == null || p.focus());
9101
+ e.value = "", C.searchable && ((p = S.value) == null || p.focus());
9094
9102
  return;
9095
9103
  }
9096
- U(t, s), C.closeOnSelect && P();
9104
+ z(t, a), C.closeOnSelect && y();
9097
9105
  }
9098
9106
  }
9099
- function U(t, s) {
9100
- if (A.value.value === s.value && !C.disableDeselect) {
9101
- A.value = {}, e.value = "", i("update:modelValue", ""), i("removeOption", s);
9107
+ function z(t, a) {
9108
+ if (A.value.value === a.value && !C.disableDeselect) {
9109
+ A.value = {}, e.value = "", i("update:modelValue", ""), i("removeOption", a);
9102
9110
  return;
9103
9111
  }
9104
- e.value = s.label, A.value = s, i("update:modelValue", s);
9112
+ e.value = a.label, A.value = a, i("update:modelValue", a);
9105
9113
  }
9106
- function $(t, s, P) {
9114
+ function $(t, a, y) {
9107
9115
  if (t instanceof KeyboardEvent && t.key !== "Backspace" || e.value !== "")
9108
9116
  return;
9109
- t.stopPropagation(), P();
9110
- const X = L.value.findIndex(
9111
- (p) => p.value === s.value
9117
+ t.stopPropagation(), y();
9118
+ const W = L.value.findIndex(
9119
+ (p) => p.value === a.value
9112
9120
  );
9113
- L.value.splice(X, 1), i("removeOption", s), i("update:modelValue", L.value);
9121
+ L.value.splice(W, 1), i("removeOption", a), i("update:modelValue", L.value);
9114
9122
  }
9115
- function J(t, s) {
9123
+ function J(t, a) {
9116
9124
  var p;
9117
9125
  if (!C.multiple)
9118
9126
  return;
9119
- t.stopPropagation(), s();
9120
- const P = e.value;
9121
- if (P === "")
9127
+ t.stopPropagation(), a();
9128
+ const y = e.value;
9129
+ if (y === "")
9122
9130
  return;
9123
- S.value.find(
9124
- (Q) => Q.label === P
9125
- ) || (L.value.push({ value: P, label: P }), e.value = "", (p = y.value) == null || p.focus());
9131
+ u.value.find(
9132
+ (G) => G.label === y
9133
+ ) || (L.value.push({ value: y, label: y }), e.value = "", (p = S.value) == null || p.focus());
9126
9134
  }
9127
9135
  function h(t) {
9128
- var s;
9129
- return !t || (t == null ? void 0 : t.value) === void 0 || (t == null ? void 0 : t.value) === null ? !1 : C.multiple ? L.value.find((P) => (P == null ? void 0 : P.value) === (t == null ? void 0 : t.value)) : ((s = A.value) == null ? void 0 : s.value) === (t == null ? void 0 : t.value);
9136
+ var a;
9137
+ return !t || (t == null ? void 0 : t.value) === void 0 || (t == null ? void 0 : t.value) === null ? !1 : C.multiple ? L.value.find((y) => (y == null ? void 0 : y.value) === (t == null ? void 0 : t.value)) : ((a = A.value) == null ? void 0 : a.value) === (t == null ? void 0 : t.value);
9130
9138
  }
9131
- const F = f(() => !C.searchable || A.value.label === e.value ? S.value : S.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), m1 = f(() => !C.searchable);
9132
- function N() {
9133
- b.value ? C.multiple ? L.value = b.value : (A.value = b.value, e.value = b.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
9139
+ const F = f(() => !C.searchable || A.value.label === e.value ? u.value : u.value.filter((a) => a.label.toLowerCase().includes(e.value.toLowerCase()))), m1 = f(() => !C.searchable);
9140
+ function I() {
9141
+ o.value ? C.multiple ? L.value = o.value : (A.value = o.value, e.value = o.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
9134
9142
  }
9135
9143
  function l1(t) {
9136
9144
  C.searchable && t(), !C.multiple && e.value === "" && (A.value = {}, i("update:modelValue", ""), i("removeOption", A.value));
9137
9145
  }
9138
- function I(t, s) {
9139
- if (t.stopPropagation(), s(), C.multiple) {
9146
+ function Q(t, a) {
9147
+ if (t.stopPropagation(), a(), C.multiple) {
9140
9148
  L.value.splice(0, L.value.length), i("clear", L.value);
9141
9149
  return;
9142
9150
  }
9143
9151
  A.value = {}, e.value = "", i("update:modelValue", ""), i("clear", A.value);
9144
9152
  }
9145
- function q() {
9153
+ function j() {
9146
9154
  if (L.value.length === F.value.length) {
9147
9155
  L.value.splice(0, L.value.length);
9148
9156
  return;
9149
9157
  }
9150
9158
  L.value = F.value;
9151
9159
  }
9152
- const j = f(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), z = f(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9153
- return o2(() => {
9154
- N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute(
9160
+ const X = f(() => !C.multiple || !Array.isArray(C.modelValue) ? [] : C.modelValue.slice(0, C.maxVisibleChips)), K = f(() => !C.multiple || !Array.isArray(C.modelValue) ? 0 : Math.max(0, C.modelValue.length - C.maxVisibleChips));
9161
+ return r2(() => {
9162
+ I(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute(
9155
9163
  "content",
9156
9164
  "width=device-width, initial-scale=1, maximum-scale=1"
9157
9165
  );
9158
- }), W(
9166
+ }), N(
9159
9167
  L,
9160
9168
  (t) => {
9161
9169
  i("update:modelValue", t);
@@ -9163,20 +9171,26 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9163
9171
  {
9164
9172
  deep: !0
9165
9173
  }
9166
- ), W(
9167
- () => b.value,
9174
+ ), N(
9175
+ () => o.value,
9168
9176
  (t) => {
9169
- N();
9177
+ I();
9170
9178
  }
9171
- ), q1(() => {
9172
- M.value && d.value && o(d.value);
9173
- }), (t, s) => (m(), a("div", {
9179
+ ), N(
9180
+ () => M.value,
9181
+ (t) => {
9182
+ t ? P() : t || c();
9183
+ }
9184
+ ), X1(() => {
9185
+ for (; B.length > 0; )
9186
+ c();
9187
+ }), (t, a) => (m(), Z("div", {
9174
9188
  id: t.id,
9175
9189
  ref_key: "wrapper",
9176
- ref: c,
9190
+ ref: v,
9177
9191
  class: "r-dropdown-wrapper"
9178
9192
  }, [
9179
- C1(t3, {
9193
+ C1(l3, {
9180
9194
  id: `${t.id}-tooltip`,
9181
9195
  "auto-hide": !1,
9182
9196
  disabled: C.disabled,
@@ -9186,17 +9200,16 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9186
9200
  "tooltip-class": ["w-full", C.tooltipClass],
9187
9201
  "trigger-class": "w-full",
9188
9202
  triggers: ["click"],
9189
- persistent: C.persistent,
9190
9203
  type: "dropdown",
9191
- onHide: s[1] || (s[1] = (P) => {
9192
- _(P);
9204
+ onHide: a[1] || (a[1] = (y) => {
9205
+ _(y);
9193
9206
  })
9194
9207
  }, {
9195
- default: P1(({ updatePosition: P, tooltipId: X }) => [
9196
- Z("div", {
9208
+ default: T1(({ updatePosition: y, tooltipId: W }) => [
9209
+ s("div", {
9197
9210
  id: `${t.id}-dropdown`,
9198
9211
  ref_key: "dropdown",
9199
- ref: B,
9212
+ ref: r,
9200
9213
  class: O(["r-dropdown", {
9201
9214
  "r-dropdown--disabled": C.disabled,
9202
9215
  "r-dropdown--loading": C.loading,
@@ -9205,9 +9218,9 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9205
9218
  group: e.value !== "" || L.value.length
9206
9219
  }]),
9207
9220
  role: "select",
9208
- onClick: (p) => w(X)
9221
+ onClick: (p) => w(W)
9209
9222
  }, [
9210
- C.prependIcon || t.$slots.prepend ? (m(), a("div", {
9223
+ C.prependIcon || t.$slots.prepend ? (m(), Z("div", {
9211
9224
  key: 0,
9212
9225
  id: `${t.id}-prepend-icon`,
9213
9226
  class: O(["r-dropdown__prepend-icon", {
@@ -9228,8 +9241,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9228
9241
  name: C.prependIcon
9229
9242
  }, null, 8, ["id", "name"])) : g("", !0)
9230
9243
  ])
9231
- ], 10, o3)) : g("", !0),
9232
- Z("div", {
9244
+ ], 10, r3)) : g("", !0),
9245
+ s("div", {
9233
9246
  id: `${t.id}-selections`,
9234
9247
  class: "r-dropdown__selections"
9235
9248
  }, [
@@ -9238,41 +9251,41 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9238
9251
  removeOption: $,
9239
9252
  selected: L.value
9240
9253
  }, () => [
9241
- Z("div", {
9254
+ s("div", {
9242
9255
  id: `${t.id}-selections-content`,
9243
9256
  class: "flex flex-wrap items-center gap-2 text-sm"
9244
9257
  }, [
9245
- C.multiple && C.chips ? (m(), a(i1, { key: 0 }, [
9246
- (m(!0), a(i1, null, n1(j.value, (p) => (m(), D(S5, {
9258
+ C.multiple && C.chips ? (m(), Z(i1, { key: 0 }, [
9259
+ (m(!0), Z(i1, null, n1(X.value, (p) => (m(), D(c5, {
9247
9260
  key: p.value,
9248
9261
  id: `${t.id}-chip-${p.value}`,
9249
9262
  clearable: "",
9250
9263
  ghost: "",
9251
9264
  label: p.label,
9252
9265
  variant: "primary",
9253
- "onClick:close": (Q) => $(Q, p, P)
9266
+ "onClick:close": (G) => $(G, p, y)
9254
9267
  }, null, 8, ["id", "label", "onClick:close"]))), 128)),
9255
9268
  k(t.$slots, "remaining-count", {
9256
9269
  id: `${t.id}-remaining-count`,
9257
- count: z.value
9270
+ count: K.value
9258
9271
  }, () => [
9259
- z.value > 0 ? (m(), a("span", {
9272
+ K.value > 0 ? (m(), Z("span", {
9260
9273
  key: 0,
9261
9274
  id: `${t.id}-remaining-count-text`,
9262
9275
  class: "r-dropdown__remaining-count-text"
9263
- }, " +" + v(z.value), 9, a3)) : g("", !0)
9276
+ }, " +" + b(K.value), 9, u3)) : g("", !0)
9264
9277
  ])
9265
- ], 64)) : C.multiple ? (m(!0), a(i1, { key: 1 }, n1(L.value, (p, Q) => (m(), a("span", {
9266
- id: `${t.id}-selected-option-${Q}`,
9278
+ ], 64)) : C.multiple ? (m(!0), Z(i1, { key: 1 }, n1(L.value, (p, G) => (m(), Z("span", {
9279
+ id: `${t.id}-selected-option-${G}`,
9267
9280
  key: p.value
9268
- }, v(p.label) + v(Q < L.value.length - 1 ? ", " : ""), 9, Z3))), 128)) : g("", !0)
9269
- ], 8, r3)
9281
+ }, b(p.label) + b(G < L.value.length - 1 ? ", " : ""), 9, S3))), 128)) : g("", !0)
9282
+ ], 8, Z3)
9270
9283
  ]),
9271
- n2(Z("input", {
9284
+ a2(s("input", {
9272
9285
  id: `${t.id}`,
9273
9286
  ref_key: "input",
9274
- ref: y,
9275
- "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
9287
+ ref: S,
9288
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => e.value = p),
9276
9289
  autocomplete: C.autocomplete,
9277
9290
  class: O(["r-dropdown__input", {
9278
9291
  "r-dropdown__input--loading": C.loading
@@ -9282,25 +9295,25 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9282
9295
  readonly: m1.value,
9283
9296
  role: "presentation",
9284
9297
  type: "text",
9285
- onInput: r1((p) => l1(P), ["prevent"]),
9298
+ onInput: r1((p) => l1(y), ["prevent"]),
9286
9299
  onKeydown: [
9287
- L2((p) => $(
9300
+ i2((p) => $(
9288
9301
  p,
9289
9302
  L.value[L.value.length - 1],
9290
- P
9303
+ y
9291
9304
  ), ["backspace"]),
9292
- L2((p) => J(p, P), ["enter"])
9305
+ i2((p) => J(p, y), ["enter"])
9293
9306
  ]
9294
- }, null, 42, u3), [
9295
- [P2, e.value]
9307
+ }, null, 42, s3), [
9308
+ [F2, e.value]
9296
9309
  ])
9297
- ], 8, n3),
9298
- C.clearable ? (m(), a("div", {
9310
+ ], 8, a3),
9311
+ C.clearable ? (m(), Z("div", {
9299
9312
  key: 1,
9300
9313
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9301
9314
  class: "r-dropdown__clearable",
9302
9315
  "data-has-value": (e.value !== "" || L.value.length) && M.value,
9303
- onClick: (p) => I(p, P)
9316
+ onClick: (p) => Q(p, y)
9304
9317
  }, [
9305
9318
  k(t.$slots, "clearable", {}, () => [
9306
9319
  C1(R, {
@@ -9309,8 +9322,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9309
9322
  size: "18"
9310
9323
  }, null, 8, ["id"])
9311
9324
  ])
9312
- ], 8, S3)) : g("", !0),
9313
- C.appendIcon || t.$slots.append ? (m(), a("div", {
9325
+ ], 8, c3)) : g("", !0),
9326
+ C.appendIcon || t.$slots.append ? (m(), Z("div", {
9314
9327
  key: 2,
9315
9328
  id: `${t.id}-append-icon`,
9316
9329
  class: O(["r-dropdown__append-icon", {
@@ -9330,18 +9343,18 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9330
9343
  name: C.appendIcon
9331
9344
  }, null, 8, ["name"])) : g("", !0)
9332
9345
  ])
9333
- ], 10, s3)) : g("", !0)
9334
- ], 10, l3)
9346
+ ], 10, p3)) : g("", !0)
9347
+ ], 10, n3)
9335
9348
  ]),
9336
- content: P1(({ hide: P, updatePosition: X }) => [
9337
- Z("ul", {
9349
+ content: T1(({ hide: y, updatePosition: W }) => [
9350
+ s("ul", {
9338
9351
  id: `${t.id}-options`,
9339
9352
  class: O(["r-dropdown-options", {
9340
9353
  "r-dropdown-options--active": M.value,
9341
9354
  [C.optionsClass]: C.optionsClass
9342
9355
  }])
9343
9356
  }, [
9344
- C.showSelectAll && C.multiple && F.value.length > 0 ? (m(), a("li", {
9357
+ C.showSelectAll && C.multiple && F.value.length > 0 ? (m(), Z("li", {
9345
9358
  key: 0,
9346
9359
  class: O(["r-dropdown-options__option", {
9347
9360
  "r-dropdown-options__option--active": L.value.length === F.value.length,
@@ -9350,12 +9363,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9350
9363
  onClick: r1((p) => x(
9351
9364
  p,
9352
9365
  { label: C.selectAllText, value: "select-all" },
9353
- P,
9354
- X
9366
+ y,
9367
+ W
9355
9368
  ), ["prevent"])
9356
9369
  }, [
9357
- Z("div", O3, [
9358
- Z("p", f3, v(C.selectAllText), 1)
9370
+ s("div", h3, [
9371
+ s("p", g3, b(C.selectAllText), 1)
9359
9372
  ]),
9360
9373
  L.value.length === F.value.length && !C.hideOptionCheckIcon ? (m(), D(R, {
9361
9374
  key: 0,
@@ -9364,13 +9377,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9364
9377
  }]),
9365
9378
  name: "mdiCheck"
9366
9379
  }, null, 8, ["class"])) : g("", !0)
9367
- ], 10, p3)) : g("", !0),
9368
- C.showSelectAll && F.value.length > 0 ? (m(), a("hr", {
9380
+ ], 10, f3)) : g("", !0),
9381
+ C.showSelectAll && F.value.length > 0 ? (m(), Z("hr", {
9369
9382
  key: 1,
9370
9383
  id: `${t.id}-divider`,
9371
9384
  class: "r-dropdown-options__divider"
9372
- }, null, 8, h3)) : g("", !0),
9373
- (m(!0), a(i1, null, n1(F.value, (p) => (m(), a("li", {
9385
+ }, null, 8, k3)) : g("", !0),
9386
+ (m(!0), Z(i1, null, n1(F.value, (p) => (m(), Z("li", {
9374
9387
  id: `${t.id}-option-${p.value}`,
9375
9388
  key: p.value,
9376
9389
  "aria-disabled": p.disabled,
@@ -9379,7 +9392,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9379
9392
  "r-dropdown-options__option--disabled": p.disabled,
9380
9393
  "r-dropdown-options__option--deselect": h(p) && C.disableDeselect
9381
9394
  }]),
9382
- onClick: r1((Q) => x(Q, p, P, X), ["prevent"])
9395
+ onClick: r1((G) => x(G, p, y, W), ["prevent"])
9383
9396
  }, [
9384
9397
  k(t.$slots, "option", {
9385
9398
  id: `${t.id}-option-${p.value}`,
@@ -9387,7 +9400,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9387
9400
  isSelected: h(p),
9388
9401
  item: p
9389
9402
  }, () => [
9390
- Z("div", {
9403
+ s("div", {
9391
9404
  id: `${t.id}-option-content-${p.value}`,
9392
9405
  class: "flex items-center"
9393
9406
  }, [
@@ -9405,13 +9418,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9405
9418
  name: p.prependIcon
9406
9419
  }, null, 8, ["id", "class", "name"])) : g("", !0)
9407
9420
  ]),
9408
- Z("p", {
9421
+ s("p", {
9409
9422
  id: `${t.id}-option-label-${p.value}`,
9410
9423
  class: O(["r-dropdown-options__option__label", {
9411
9424
  "r-dropdown-options__option__label--active": h(p)
9412
9425
  }])
9413
- }, v(p.label), 11, B3)
9414
- ], 8, k3),
9426
+ }, b(p.label), 11, v3)
9427
+ ], 8, b3),
9415
9428
  k(t.$slots, "option-append", {
9416
9429
  id: `${t.id}-option-append-${p.value}`,
9417
9430
  disabled: p.disabled,
@@ -9426,39 +9439,39 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9426
9439
  }, null, 8, ["class"])) : g("", !0)
9427
9440
  ])
9428
9441
  ])
9429
- ], 10, g3))), 128)),
9430
- F.value.length === 0 ? (m(), a("li", {
9442
+ ], 10, B3))), 128)),
9443
+ F.value.length === 0 ? (m(), Z("li", {
9431
9444
  key: 2,
9432
9445
  id: `${t.id}-no-option`,
9433
9446
  class: "r-dropdown-options__no-option"
9434
9447
  }, [
9435
9448
  k(t.$slots, "not-options", {}, () => [
9436
- f1(v(C.noOptionsText), 1)
9449
+ h1(b(C.noOptionsText), 1)
9437
9450
  ])
9438
- ], 8, b3)) : g("", !0)
9439
- ], 10, c3)
9451
+ ], 8, w3)) : g("", !0)
9452
+ ], 10, O3)
9440
9453
  ]),
9441
9454
  _: 3
9442
- }, 8, ["id", "disabled", "tooltip-class", "persistent"]),
9443
- t.$props.hideDetails ? g("", !0) : (m(), a("div", {
9455
+ }, 8, ["id", "disabled", "tooltip-class"]),
9456
+ t.$props.hideDetails ? g("", !0) : (m(), Z("div", {
9444
9457
  key: 0,
9445
9458
  id: `${t.id}-details`,
9446
9459
  class: "r-dropdown-details"
9447
9460
  }, [
9448
- C.errorMsg ? (m(), a("div", {
9461
+ C.errorMsg ? (m(), Z("div", {
9449
9462
  key: 0,
9450
9463
  id: `${t.id}-error`,
9451
9464
  class: "r-dropdown-error"
9452
- }, v(C.errorMsg), 9, w3)) : g("", !0),
9453
- C.hint ? (m(), a("div", {
9465
+ }, b(C.errorMsg), 9, P3)) : g("", !0),
9466
+ C.hint ? (m(), Z("div", {
9454
9467
  key: 1,
9455
9468
  id: `${t.id}-hint`,
9456
9469
  class: "r-dropdown-hint"
9457
- }, v(C.hint), 9, y3)) : g("", !0)
9458
- ], 8, v3))
9459
- ], 8, m3));
9470
+ }, b(C.hint), 9, T3)) : g("", !0)
9471
+ ], 8, y3))
9472
+ ], 8, o3));
9460
9473
  }
9461
- }), T3 = ["id", "for"], b2 = /* @__PURE__ */ T({
9474
+ }), R3 = ["id", "for"], w2 = /* @__PURE__ */ T({
9462
9475
  __name: "RLabel",
9463
9476
  props: {
9464
9477
  id: { default: "" },
@@ -9467,7 +9480,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9467
9480
  },
9468
9481
  setup(H) {
9469
9482
  const V = H, C = f(() => V.id || "r-label");
9470
- return (i, A) => (m(), a("label", {
9483
+ return (i, A) => (m(), Z("label", {
9471
9484
  id: C.value,
9472
9485
  class: "r-label",
9473
9486
  for: V.for
@@ -9475,11 +9488,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9475
9488
  k(i.$slots, "default", {
9476
9489
  id: `${C.value}-slot`
9477
9490
  }, () => [
9478
- f1(v(V.text), 1)
9491
+ h1(b(V.text), 1)
9479
9492
  ])
9480
- ], 8, T3));
9493
+ ], 8, R3));
9481
9494
  }
9482
- }), F3 = ["id", "onClick"], R3 = ["id", "open"], x3 = ["id"], D3 = ["id"], E3 = ["id"], _3 = ["id"], $3 = ["id"], W3 = ["id"], L7 = /* @__PURE__ */ T({
9495
+ }), x3 = ["id", "onClick"], D3 = ["id", "open"], E3 = ["id"], _3 = ["id"], $3 = ["id"], W3 = ["id"], N3 = ["id"], I3 = ["id"], i7 = /* @__PURE__ */ T({
9483
9496
  __name: "RModal",
9484
9497
  props: {
9485
9498
  modelValue: { type: Boolean, default: !1 },
@@ -9511,34 +9524,34 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9511
9524
  function M(e) {
9512
9525
  C.outsideClick && e.target === e.currentTarget && i("update:modelValue", !1);
9513
9526
  }
9514
- return q1(() => {
9527
+ return X1(() => {
9515
9528
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9516
9529
  }), window.addEventListener("keydown", (e) => {
9517
9530
  e.key === "Escape" && C.modelValue && C.outsideClick && i("update:modelValue", !1);
9518
- }), (e, d) => n2((m(), a("div", {
9531
+ }), (e, d) => a2((m(), Z("div", {
9519
9532
  id: e.id,
9520
9533
  class: O(["r-modal-overlay", e.overlayClass]),
9521
9534
  onClick: r1(M, ["stop"])
9522
9535
  }, [
9523
- Z("div", {
9536
+ s("div", {
9524
9537
  id: `${e.id}-dialog`,
9525
9538
  "aria-modal": "true",
9526
9539
  class: O(A.value),
9527
9540
  open: C.modelValue,
9528
9541
  role: "dialog",
9529
- style: j1(L.value)
9542
+ style: Y1(L.value)
9530
9543
  }, [
9531
9544
  k(e.$slots, "wrapper", {
9532
9545
  id: `${e.id}-wrapper`
9533
9546
  }, () => [
9534
- Z("div", {
9547
+ s("div", {
9535
9548
  id: `${e.id}-header`,
9536
9549
  class: "r-dialog__header"
9537
9550
  }, [
9538
9551
  k(e.$slots, "header", {
9539
9552
  id: `${e.id}-header`
9540
9553
  }),
9541
- C.icon ? (m(), a("div", {
9554
+ C.icon ? (m(), Z("div", {
9542
9555
  key: 0,
9543
9556
  id: `${e.id}-icon`,
9544
9557
  class: "icon"
@@ -9546,41 +9559,41 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9546
9559
  C1(R, {
9547
9560
  name: C.icon
9548
9561
  }, null, 8, ["name"])
9549
- ], 8, D3)) : g("", !0),
9550
- C.title ? (m(), a("div", {
9562
+ ], 8, _3)) : g("", !0),
9563
+ C.title ? (m(), Z("div", {
9551
9564
  key: 1,
9552
9565
  id: `${e.id}-title`,
9553
9566
  class: "title"
9554
- }, v(C.title), 9, E3)) : g("", !0),
9555
- C.description ? (m(), a("div", {
9567
+ }, b(C.title), 9, $3)) : g("", !0),
9568
+ C.description ? (m(), Z("div", {
9556
9569
  key: 2,
9557
9570
  id: `${e.id}-description`,
9558
9571
  class: "description"
9559
- }, v(C.description), 9, _3)) : g("", !0)
9560
- ], 8, x3),
9561
- Z("div", {
9572
+ }, b(C.description), 9, W3)) : g("", !0)
9573
+ ], 8, E3),
9574
+ s("div", {
9562
9575
  id: `${e.id}-body`,
9563
9576
  class: "r-dialog__body"
9564
9577
  }, [
9565
9578
  k(e.$slots, "default", {
9566
9579
  id: `${e.id}-body`
9567
9580
  })
9568
- ], 8, $3),
9569
- Z("div", {
9581
+ ], 8, N3),
9582
+ s("div", {
9570
9583
  id: `${e.id}-actions`,
9571
9584
  class: "r-dialog__actions"
9572
9585
  }, [
9573
9586
  k(e.$slots, "actions", {
9574
9587
  id: `${e.id}-actions`
9575
9588
  })
9576
- ], 8, W3)
9589
+ ], 8, I3)
9577
9590
  ])
9578
- ], 14, R3)
9579
- ], 10, F3)), [
9580
- [T2, e.modelValue]
9591
+ ], 14, D3)
9592
+ ], 10, x3)), [
9593
+ [R2, e.modelValue]
9581
9594
  ]);
9582
9595
  }
9583
- }), N3 = ["id", "data-open"], I3 = ["id", "data-open"], Q3 = ["id", "data-open"], M7 = /* @__PURE__ */ T({
9596
+ }), Q3 = ["id", "data-open"], G3 = ["id", "data-open"], U3 = ["id", "data-open"], A7 = /* @__PURE__ */ T({
9584
9597
  __name: "RSidebar",
9585
9598
  props: {
9586
9599
  modelValue: { type: Boolean, default: !1 },
@@ -9593,12 +9606,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9593
9606
  emits: ["update:modelValue"],
9594
9607
  setup(H, { emit: V }) {
9595
9608
  const C = H, i = V;
9596
- return (A, L) => (m(), a("div", {
9609
+ return (A, L) => (m(), Z("div", {
9597
9610
  id: A.id,
9598
9611
  class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9599
9612
  "data-open": C.modelValue
9600
9613
  }, [
9601
- Z("aside", {
9614
+ s("aside", {
9602
9615
  id: `${A.id}-aside`,
9603
9616
  class: O(["r-sidebar", [C.class]]),
9604
9617
  "data-open": C.modelValue
@@ -9606,8 +9619,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9606
9619
  k(A.$slots, "default", {
9607
9620
  open: C.modelValue
9608
9621
  })
9609
- ], 10, I3),
9610
- C.showTrigger ? (m(), a("div", {
9622
+ ], 10, G3),
9623
+ C.showTrigger ? (m(), Z("div", {
9611
9624
  key: 0,
9612
9625
  id: `${A.id}-trigger`,
9613
9626
  class: O(["r-sidebar__trigger", [C.triggerClass]]),
@@ -9618,12 +9631,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9618
9631
  id: `${A.id}-trigger-slot`,
9619
9632
  open: C.modelValue
9620
9633
  }, () => [
9621
- f1(" > ")
9634
+ h1(" > ")
9622
9635
  ])
9623
- ], 10, Q3)) : g("", !0)
9624
- ], 10, N3));
9636
+ ], 10, U3)) : g("", !0)
9637
+ ], 10, Q3));
9625
9638
  }
9626
- }), G3 = ["id"], U3 = ["id"], i7 = /* @__PURE__ */ T({
9639
+ }), z3 = ["id"], K3 = ["id"], e7 = /* @__PURE__ */ T({
9627
9640
  __name: "RSnackbar",
9628
9641
  props: {
9629
9642
  modelValue: { type: Boolean, default: !1 },
@@ -9638,7 +9651,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9638
9651
  emits: ["action", "update:modelValue"],
9639
9652
  setup(H, { emit: V }) {
9640
9653
  const C = H, i = V;
9641
- W(
9654
+ N(
9642
9655
  () => C.modelValue,
9643
9656
  () => {
9644
9657
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9662,7 +9675,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9662
9675
  warning: "mdiAlert",
9663
9676
  info: "mdiInformation"
9664
9677
  })[C.variant || "info"]);
9665
- return (M, e) => (m(), a("div", {
9678
+ return (M, e) => (m(), Z("div", {
9666
9679
  id: M.id,
9667
9680
  class: O(A.value)
9668
9681
  }, [
@@ -9675,17 +9688,17 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9675
9688
  name: L.value
9676
9689
  }, null, 8, ["name"])) : g("", !0)
9677
9690
  ]),
9678
- Z("div", {
9691
+ s("div", {
9679
9692
  id: `${M.id}-text`,
9680
9693
  class: "r-snackbar__text"
9681
9694
  }, [
9682
9695
  k(M.$slots, "default", {
9683
9696
  id: `${M.id}-text-slot`
9684
9697
  }, () => [
9685
- f1(v(C.text), 1)
9698
+ h1(b(C.text), 1)
9686
9699
  ])
9687
- ], 8, U3),
9688
- C.closable ? (m(), a("div", {
9700
+ ], 8, K3),
9701
+ C.closable ? (m(), Z("div", {
9689
9702
  key: 0,
9690
9703
  class: "r-snackbar__close",
9691
9704
  onClick: e[0] || (e[0] = r1((d) => M.$emit("update:modelValue", !1), ["stop"]))
@@ -9700,9 +9713,9 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9700
9713
  }, null, 8, ["id"])
9701
9714
  ])
9702
9715
  ])) : g("", !0)
9703
- ], 10, G3));
9716
+ ], 10, z3));
9704
9717
  }
9705
- }), z3 = ["id"], K3 = ["id", "checked", "disabled", "name"], q3 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), j3 = ["id", "for"], X3 = ["id"], Y3 = ["id"], J3 = ["id"], A7 = /* @__PURE__ */ T({
9718
+ }), q3 = ["id"], j3 = ["id", "checked", "disabled", "name"], X3 = /* @__PURE__ */ s("span", { class: "slider round" }, null, -1), Y3 = ["id", "for"], J3 = ["id"], C0 = ["id"], H0 = ["id"], d7 = /* @__PURE__ */ T({
9706
9719
  __name: "RSwitch",
9707
9720
  props: {
9708
9721
  id: { default: "switch" },
@@ -9729,7 +9742,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9729
9742
  function e(d) {
9730
9743
  C.disabled || (A.value.checked = d.target.checked, i("update:modelValue", A.value.checked));
9731
9744
  }
9732
- return W(
9745
+ return N(
9733
9746
  () => C.modelValue,
9734
9747
  (d) => {
9735
9748
  A.value.checked = d;
@@ -9739,17 +9752,17 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9739
9752
  // TODO: find a better way to do this
9740
9753
  immediate: !0
9741
9754
  }
9742
- ), (d, l) => (m(), a("div", {
9755
+ ), (d, l) => (m(), Z("div", {
9743
9756
  id: M.value,
9744
9757
  class: O(["r-switch-container", {
9745
9758
  "r-switch-container--reverse": C.reverse,
9746
9759
  "r-switch-container--hide-details": C.hideDetails
9747
9760
  }])
9748
9761
  }, [
9749
- Z("div", {
9762
+ s("div", {
9750
9763
  class: O(L.value)
9751
9764
  }, [
9752
- Z("input", {
9765
+ s("input", {
9753
9766
  id: `${M.value}`,
9754
9767
  checked: A.value.checked,
9755
9768
  class: "r-switch__input",
@@ -9757,44 +9770,44 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9757
9770
  name: C.name,
9758
9771
  type: "checkbox",
9759
9772
  onChange: e
9760
- }, null, 40, K3),
9761
- q3
9773
+ }, null, 40, j3),
9774
+ X3
9762
9775
  ], 2),
9763
- Z("div", {
9776
+ s("div", {
9764
9777
  class: O(["r-switch-texts", {
9765
9778
  [`r-switch-texts--${C.size}`]: !0
9766
9779
  }])
9767
9780
  }, [
9768
- Z("label", {
9781
+ s("label", {
9769
9782
  id: `${M.value}`,
9770
9783
  class: "r-switch-texts__label",
9771
9784
  for: M.value
9772
- }, v(C.label), 9, j3),
9773
- C.hideDetails ? g("", !0) : (m(), a("div", {
9785
+ }, b(C.label), 9, Y3),
9786
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
9774
9787
  key: 0,
9775
9788
  id: `${M.value}-details`,
9776
9789
  class: "r-switch-texts__details"
9777
9790
  }, [
9778
- C.errorMsg ? (m(), a("p", {
9791
+ C.errorMsg ? (m(), Z("p", {
9779
9792
  key: 0,
9780
9793
  id: `${M.value}-error`,
9781
9794
  class: "r-switch-texts__error"
9782
- }, v(C.errorMsg), 9, Y3)) : (m(), a("p", {
9795
+ }, b(C.errorMsg), 9, C0)) : (m(), Z("p", {
9783
9796
  key: 1,
9784
9797
  id: `${M.value}-hint`,
9785
9798
  class: "r-switch-texts__hint"
9786
- }, v(C.hint), 9, J3))
9787
- ], 8, X3))
9799
+ }, b(C.hint), 9, H0))
9800
+ ], 8, J3))
9788
9801
  ], 2)
9789
- ], 10, z3));
9802
+ ], 10, q3));
9790
9803
  }
9791
9804
  });
9792
- var c1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(c1 || {});
9793
- const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }, V0 = /* @__PURE__ */ T({
9805
+ var p1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(p1 || {});
9806
+ const V0 = ["id", "aria-disabled", "aria-selected", "disabled"], L0 = { key: 0 }, M0 = /* @__PURE__ */ T({
9794
9807
  __name: "RTabItem",
9795
9808
  props: {
9796
9809
  id: {},
9797
- variant: { default: c1.DEFAULT },
9810
+ variant: { default: p1.DEFAULT },
9798
9811
  label: { default: "" },
9799
9812
  prependIcon: { default: "" },
9800
9813
  appendIcon: { default: "" },
@@ -9817,47 +9830,47 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9817
9830
  function e(d) {
9818
9831
  i("update:modelValue", d);
9819
9832
  }
9820
- return (d, l) => (m(), a("button", {
9833
+ return (d, l) => (m(), Z("button", {
9821
9834
  id: `r-tab-item-${C.id}`,
9822
9835
  "aria-disabled": C.disabled,
9823
9836
  "aria-selected": M.value,
9824
9837
  class: O(A.value),
9825
9838
  disabled: C.disabled,
9826
- style: j1(L.value),
9839
+ style: Y1(L.value),
9827
9840
  onClick: l[0] || (l[0] = r1((n) => e(C.id), ["stop"]))
9828
9841
  }, [
9829
9842
  k(d.$slots, "prepend", {
9830
9843
  active: M.value,
9831
9844
  disabled: C.disabled
9832
9845
  }, () => [
9833
- C.variant !== A1(c1).TEXT && C.prependIcon ? (m(), D(R, {
9846
+ C.variant !== A1(p1).TEXT && C.prependIcon ? (m(), D(R, {
9834
9847
  key: 0,
9835
9848
  class: "r-tab-item__prepend-icon",
9836
9849
  name: C.prependIcon,
9837
9850
  size: 16
9838
9851
  }, null, 8, ["name"])) : g("", !0)
9839
9852
  ]),
9840
- C.variant !== A1(c1).ICON ? (m(), a("span", H0, [
9853
+ C.variant !== A1(p1).ICON ? (m(), Z("span", L0, [
9841
9854
  k(d.$slots, "default", {
9842
9855
  label: C.label
9843
9856
  }, () => [
9844
- f1(v(C.label), 1)
9857
+ h1(b(C.label), 1)
9845
9858
  ])
9846
9859
  ])) : g("", !0),
9847
9860
  k(d.$slots, "append", {
9848
9861
  active: M.value,
9849
9862
  disabled: C.disabled
9850
9863
  }, () => [
9851
- C.variant !== A1(c1).TEXT && C.appendIcon ? (m(), D(R, {
9864
+ C.variant !== A1(p1).TEXT && C.appendIcon ? (m(), D(R, {
9852
9865
  key: 0,
9853
9866
  class: "r-tab-item__append-icon",
9854
9867
  name: C.appendIcon,
9855
9868
  size: 16
9856
9869
  }, null, 8, ["name"])) : g("", !0)
9857
9870
  ])
9858
- ], 14, C0));
9871
+ ], 14, V0));
9859
9872
  }
9860
- }), L0 = ["id"], M0 = ["id"], e7 = /* @__PURE__ */ T({
9873
+ }), i0 = ["id"], A0 = ["id"], t7 = /* @__PURE__ */ T({
9861
9874
  __name: "RTabs",
9862
9875
  props: {
9863
9876
  tabs: { default: () => [] },
@@ -9873,12 +9886,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9873
9886
  "r-tabs": !0,
9874
9887
  "r-tabs--tile": C.tile
9875
9888
  }));
9876
- return W(
9889
+ return N(
9877
9890
  () => A.value,
9878
9891
  () => {
9879
9892
  i("update:modelValue", A.value);
9880
9893
  }
9881
- ), W(
9894
+ ), N(
9882
9895
  () => C.modelValue,
9883
9896
  () => {
9884
9897
  A.value = C.modelValue;
@@ -9886,11 +9899,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9886
9899
  {
9887
9900
  immediate: !0
9888
9901
  }
9889
- ), (M, e) => (m(), a("div", {
9902
+ ), (M, e) => (m(), Z("div", {
9890
9903
  id: M.id,
9891
9904
  class: O(L.value)
9892
9905
  }, [
9893
- Z("div", {
9906
+ s("div", {
9894
9907
  id: `${M.id}-tabs`,
9895
9908
  class: O(["flex", [{
9896
9909
  "w-full": C.block,
@@ -9902,7 +9915,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9902
9915
  id: `${M.id}-slot`,
9903
9916
  activeTab: A.value
9904
9917
  }, () => [
9905
- (m(!0), a(i1, null, n1(C.tabs, (d, l) => (m(), D(V0, {
9918
+ (m(!0), Z(i1, null, n1(C.tabs, (d, l) => (m(), D(M0, {
9906
9919
  id: d.id,
9907
9920
  key: l,
9908
9921
  modelValue: A.value,
@@ -9916,10 +9929,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9916
9929
  variant: d.variant
9917
9930
  }, null, 8, ["id", "modelValue", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9918
9931
  ])
9919
- ], 10, M0)
9920
- ], 10, L0));
9932
+ ], 10, A0)
9933
+ ], 10, i0));
9921
9934
  }
9922
- }), i0 = ["id"], A0 = ["id", "disabled", "placeholder", "value"], e0 = ["id"], d0 = ["id"], t0 = ["id"], d7 = /* @__PURE__ */ T({
9935
+ }), e0 = ["id"], d0 = ["id", "disabled", "placeholder", "value"], t0 = ["id"], m0 = ["id"], l0 = ["id"], m7 = /* @__PURE__ */ T({
9923
9936
  __name: "RTextArea",
9924
9937
  props: {
9925
9938
  id: { default: "" },
@@ -9933,13 +9946,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9933
9946
  },
9934
9947
  emits: ["update:modelValue"],
9935
9948
  setup(H, { emit: V }) {
9936
- const C = H, i = V, A = D1({
9949
+ const C = H, i = V, A = E1({
9937
9950
  value: ""
9938
9951
  });
9939
9952
  function L(e) {
9940
9953
  i("update:modelValue", e.target.value);
9941
9954
  }
9942
- W(
9955
+ N(
9943
9956
  () => C.modelValue,
9944
9957
  (e) => {
9945
9958
  A.value = e;
@@ -9949,18 +9962,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9949
9962
  }
9950
9963
  );
9951
9964
  const M = f(() => C.id || "r-textarea");
9952
- return (e, d) => (m(), a("div", {
9965
+ return (e, d) => (m(), Z("div", {
9953
9966
  id: M.value,
9954
9967
  class: "r-textarea-wrapper"
9955
9968
  }, [
9956
- C.label ? (m(), D(b2, {
9969
+ C.label ? (m(), D(w2, {
9957
9970
  key: 0,
9958
9971
  id: `${M.value}`,
9959
9972
  class: "r-textarea__label",
9960
9973
  for: M.value,
9961
9974
  text: C.label
9962
9975
  }, null, 8, ["id", "for", "text"])) : g("", !0),
9963
- Z("textarea", E1(e.$attrs, {
9976
+ s("textarea", _1(e.$attrs, {
9964
9977
  id: `${M.value}`,
9965
9978
  class: ["r-textarea", {
9966
9979
  "r-textarea--error": C.errorMsg,
@@ -9970,28 +9983,28 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9970
9983
  placeholder: C.placeholder,
9971
9984
  value: A.value,
9972
9985
  onInput: L
9973
- }), null, 16, A0),
9974
- C.hideDetails ? g("", !0) : (m(), a("div", {
9986
+ }), null, 16, d0),
9987
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
9975
9988
  key: 1,
9976
9989
  id: `${M.value}-details`,
9977
9990
  class: "r-textarea__details"
9978
9991
  }, [
9979
- C.errorMsg ? (m(), a("p", {
9992
+ C.errorMsg ? (m(), Z("p", {
9980
9993
  key: 0,
9981
9994
  id: `${M.value}-error`,
9982
9995
  class: "r-textarea__error"
9983
- }, v(C.errorMsg), 9, d0)) : (m(), a("p", {
9996
+ }, b(C.errorMsg), 9, m0)) : (m(), Z("p", {
9984
9997
  key: 1,
9985
9998
  id: `${M.value}-hint`,
9986
9999
  class: "r-textarea__hint"
9987
- }, v(C.hint), 9, t0))
9988
- ], 8, e0))
9989
- ], 8, i0));
10000
+ }, b(C.hint), 9, l0))
10001
+ ], 8, t0))
10002
+ ], 8, e0));
9990
10003
  }
9991
- }), m0 = ["id"], l0 = ["id"], o0 = ["id"], n0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], r0 = ["id"], a0 = ["id"], Z0 = {
10004
+ }), o0 = ["id"], n0 = ["id"], r0 = ["id"], a0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], Z0 = ["id"], u0 = ["id"], S0 = {
9992
10005
  key: 1,
9993
10006
  class: "r-textfield__hint"
9994
- }, t7 = /* @__PURE__ */ T({
10007
+ }, l7 = /* @__PURE__ */ T({
9995
10008
  __name: "RTextfield",
9996
10009
  props: {
9997
10010
  id: { default: "" },
@@ -10021,7 +10034,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10021
10034
  "click:clear"
10022
10035
  ],
10023
10036
  setup(H, { emit: V }) {
10024
- const C = H, i = V, A = E(), L = D1({
10037
+ const C = H, i = V, A = E(), L = E1({
10025
10038
  value: ""
10026
10039
  }), M = E(C.type), e = {
10027
10040
  password: "mdiLock",
@@ -10048,14 +10061,14 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10048
10061
  "r-textfield__prepend-icon": !0,
10049
10062
  "r-textfield__prepend-icon--loading": C.loading,
10050
10063
  "r-textfield__prepend-icon--error": u.value && l.value
10051
- })), b = f(() => ({
10064
+ })), v = f(() => ({
10052
10065
  "r-textfield__append-icon": !0,
10053
10066
  "r-textfield__append-icon--clear": o.value,
10054
10067
  "r-textfield__append-icon--error": u.value
10055
10068
  })), B = f(() => {
10056
10069
  const { prependIcon: h, type: F } = C;
10057
10070
  return h === "none" ? "" : h || e[F];
10058
- }), y = f(() => {
10071
+ }), P = f(() => {
10059
10072
  const { appendIcon: h, type: F } = C;
10060
10073
  return h === "none" ? "" : u.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(F) ? "mdiClose" : F === "password" && M.value === "password" ? "mdiEyeOutline" : F === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
10061
10074
  }), c = f(() => C.id || "r-textfield");
@@ -10068,7 +10081,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10068
10081
  function x(h) {
10069
10082
  L.value = h.target.value, i("input", h);
10070
10083
  }
10071
- function U() {
10084
+ function z() {
10072
10085
  var h;
10073
10086
  if (o.value) {
10074
10087
  L.value = "", (h = A.value) == null || h.focus(), i("click:clear", {
@@ -10087,7 +10100,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10087
10100
  var h;
10088
10101
  (h = A.value) == null || h.focus();
10089
10102
  }
10090
- return W(
10103
+ return N(
10091
10104
  () => C.modelValue,
10092
10105
  (h) => {
10093
10106
  L.value = h;
@@ -10095,7 +10108,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10095
10108
  {
10096
10109
  immediate: !0
10097
10110
  }
10098
- ), W(
10111
+ ), N(
10099
10112
  () => L.value,
10100
10113
  (h) => {
10101
10114
  i(
@@ -10103,11 +10116,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10103
10116
  M.value === "number" ? +h : h
10104
10117
  );
10105
10118
  }
10106
- ), (h, F) => (m(), a("div", {
10119
+ ), (h, F) => (m(), Z("div", {
10107
10120
  id: c.value,
10108
10121
  class: "r-textfield__wrapper"
10109
10122
  }, [
10110
- C.label ? (m(), D(b2, {
10123
+ C.label ? (m(), D(w2, {
10111
10124
  key: 0,
10112
10125
  id: `${c.value}`,
10113
10126
  class: "r-textfield__label",
@@ -10115,11 +10128,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10115
10128
  text: C.label,
10116
10129
  onClick: J
10117
10130
  }, null, 8, ["id", "for", "text"])) : g("", !0),
10118
- Z("div", {
10131
+ s("div", {
10119
10132
  id: `${c.value}-input-wrapper`,
10120
10133
  class: "input-wrapper"
10121
10134
  }, [
10122
- Z("div", {
10135
+ s("div", {
10123
10136
  id: `${c.value}-input-wrapper-inner`,
10124
10137
  class: O(r.value)
10125
10138
  }, [
@@ -10137,7 +10150,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10137
10150
  size: 20
10138
10151
  }, null, 8, ["id", "class", "name"])) : g("", !0)
10139
10152
  ]),
10140
- Z("input", E1(h.$attrs, {
10153
+ s("input", _1(h.$attrs, {
10141
10154
  id: `${c.value}`,
10142
10155
  ref_key: "inputRef",
10143
10156
  ref: A,
@@ -10152,7 +10165,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10152
10165
  onBlur: _,
10153
10166
  onFocus: w,
10154
10167
  onInput: x
10155
- }), null, 16, n0),
10168
+ }), null, 16, a0),
10156
10169
  k(h.$slots, "append", {
10157
10170
  id: `${c.value}-append-slot`,
10158
10171
  disabled: C.disabled,
@@ -10164,34 +10177,34 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10164
10177
  id: `${c.value}-append-icon`,
10165
10178
  name: M.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
10166
10179
  size: 20,
10167
- onClick: U
10180
+ onClick: z
10168
10181
  }, null, 8, ["id", "name"])) : g("", !0),
10169
- y.value && !h.$slots.append || u.value ? (m(), D(R, {
10182
+ P.value && !h.$slots.append || u.value ? (m(), D(R, {
10170
10183
  key: 1,
10171
10184
  id: `${c.value}-append-icon`,
10172
- class: O(b.value),
10173
- name: `${y.value}`,
10185
+ class: O(v.value),
10186
+ name: `${P.value}`,
10174
10187
  size: 20,
10175
- onClick: U
10188
+ onClick: z
10176
10189
  }, null, 8, ["id", "class", "name"])) : g("", !0)
10177
10190
  ])
10178
- ], 10, o0),
10179
- C.hideDetails ? g("", !0) : (m(), a("div", {
10191
+ ], 10, r0),
10192
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
10180
10193
  key: 0,
10181
10194
  id: `${c.value}-details`,
10182
10195
  class: "r-textfield__details"
10183
10196
  }, [
10184
- C.errorMsg ? (m(), a("p", {
10197
+ C.errorMsg ? (m(), Z("p", {
10185
10198
  key: 0,
10186
10199
  id: `${c.value}-error`,
10187
10200
  class: "r-textfield__error"
10188
- }, v(C.errorMsg), 9, a0)) : g("", !0),
10189
- !C.errorMsg && C.hint ? (m(), a("p", Z0, v(C.hint), 1)) : g("", !0)
10190
- ], 8, r0))
10191
- ], 8, l0)
10192
- ], 8, m0));
10201
+ }, b(C.errorMsg), 9, u0)) : g("", !0),
10202
+ !C.errorMsg && C.hint ? (m(), Z("p", S0, b(C.hint), 1)) : g("", !0)
10203
+ ], 8, Z0))
10204
+ ], 8, n0)
10205
+ ], 8, o0));
10193
10206
  }
10194
- }), u0 = ["id"], S0 = ["id"], m7 = /* @__PURE__ */ T({
10207
+ }), s0 = ["id"], c0 = ["id"], o7 = /* @__PURE__ */ T({
10195
10208
  __name: "RBreadcrumb",
10196
10209
  props: {
10197
10210
  items: { default: () => [] },
@@ -10201,12 +10214,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10201
10214
  setup(H) {
10202
10215
  const V = H;
10203
10216
  return (C, i) => {
10204
- const A = F2("router-link");
10205
- return m(), a("div", {
10217
+ const A = x2("router-link");
10218
+ return m(), Z("div", {
10206
10219
  id: C.id,
10207
10220
  class: "r-breadcrumb"
10208
10221
  }, [
10209
- (m(!0), a(i1, null, n1(V.items, (L, M) => (m(), a("div", {
10222
+ (m(!0), Z(i1, null, n1(V.items, (L, M) => (m(), Z("div", {
10210
10223
  key: M,
10211
10224
  class: "r-breadcrumb__item"
10212
10225
  }, [
@@ -10215,18 +10228,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10215
10228
  class: "r-breadcrumb__link",
10216
10229
  to: L.to
10217
10230
  }, {
10218
- default: P1(() => [
10231
+ default: T1(() => [
10219
10232
  k(C.$slots, "item-icon", {}, () => [
10220
10233
  L.icon ? (m(), D(R, {
10221
10234
  key: 0,
10222
10235
  name: L.icon
10223
10236
  }, null, 8, ["name"])) : g("", !0)
10224
10237
  ]),
10225
- L.onlyIcon ? g("", !0) : (m(), a("span", {
10238
+ L.onlyIcon ? g("", !0) : (m(), Z("span", {
10226
10239
  key: 0,
10227
10240
  id: `${C.id}-title-${M}`,
10228
10241
  class: "r-breadcrumb__title"
10229
- }, v(L.title), 9, S0))
10242
+ }, b(L.title), 9, c0))
10230
10243
  ]),
10231
10244
  _: 2
10232
10245
  }, 1032, ["id", "to"]),
@@ -10241,40 +10254,40 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10241
10254
  }, null, 8, ["id", "name"])) : g("", !0)
10242
10255
  ])
10243
10256
  ]))), 128))
10244
- ], 8, u0);
10257
+ ], 8, s0);
10245
10258
  };
10246
10259
  }
10247
- }), s0 = ["id"], c0 = ["id"], p0 = ["id"], O0 = ["id"], f0 = ["id", "disabled"], h0 = /* @__PURE__ */ Z("path", {
10260
+ }), p0 = ["id"], O0 = ["id"], f0 = ["id"], h0 = ["id"], g0 = ["id", "disabled"], k0 = /* @__PURE__ */ s("path", {
10248
10261
  d: "M0 0h24v24H0z",
10249
10262
  fill: "none",
10250
10263
  stroke: "none"
10251
- }, null, -1), g0 = /* @__PURE__ */ Z("path", { d: "M7 6v12" }, null, -1), k0 = /* @__PURE__ */ Z("path", { d: "M18 6l-6 6l6 6" }, null, -1), B0 = [
10252
- h0,
10253
- g0,
10254
- k0
10255
- ], b0 = ["id", "disabled"], v0 = /* @__PURE__ */ Z("path", {
10264
+ }, null, -1), B0 = /* @__PURE__ */ s("path", { d: "M7 6v12" }, null, -1), b0 = /* @__PURE__ */ s("path", { d: "M18 6l-6 6l6 6" }, null, -1), v0 = [
10265
+ k0,
10266
+ B0,
10267
+ b0
10268
+ ], w0 = ["id", "disabled"], y0 = /* @__PURE__ */ s("path", {
10256
10269
  d: "M0 0h24v24H0z",
10257
10270
  fill: "none",
10258
10271
  stroke: "none"
10259
- }, null, -1), w0 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), y0 = [
10260
- v0,
10261
- w0
10262
- ], P0 = ["id", "disabled"], T0 = /* @__PURE__ */ Z("path", {
10272
+ }, null, -1), P0 = /* @__PURE__ */ s("path", { d: "M15 6l-6 6l6 6" }, null, -1), T0 = [
10273
+ y0,
10274
+ P0
10275
+ ], F0 = ["id", "disabled"], R0 = /* @__PURE__ */ s("path", {
10263
10276
  d: "M0 0h24v24H0z",
10264
10277
  fill: "none",
10265
10278
  stroke: "none"
10266
- }, null, -1), F0 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), R0 = [
10267
- T0,
10268
- F0
10269
- ], x0 = ["id", "disabled"], D0 = /* @__PURE__ */ Z("path", {
10279
+ }, null, -1), x0 = /* @__PURE__ */ s("path", { d: "M9 6l6 6l-6 6" }, null, -1), D0 = [
10280
+ R0,
10281
+ x0
10282
+ ], E0 = ["id", "disabled"], _0 = /* @__PURE__ */ s("path", {
10270
10283
  d: "M0 0h24v24H0z",
10271
10284
  fill: "none",
10272
10285
  stroke: "none"
10273
- }, null, -1), E0 = /* @__PURE__ */ Z("path", { d: "M6 6l6 6l-6 6" }, null, -1), _0 = /* @__PURE__ */ Z("path", { d: "M17 5v13" }, null, -1), $0 = [
10274
- D0,
10275
- E0,
10276
- _0
10277
- ], l7 = /* @__PURE__ */ T({
10286
+ }, null, -1), $0 = /* @__PURE__ */ s("path", { d: "M6 6l6 6l-6 6" }, null, -1), W0 = /* @__PURE__ */ s("path", { d: "M17 5v13" }, null, -1), N0 = [
10287
+ _0,
10288
+ $0,
10289
+ W0
10290
+ ], n7 = /* @__PURE__ */ T({
10278
10291
  __name: "RPagination",
10279
10292
  props: {
10280
10293
  page: { default: 1 },
@@ -10292,9 +10305,9 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10292
10305
  start: C.page * C.perPage - C.perPage,
10293
10306
  end: C.page * C.perPage
10294
10307
  })), e = f(() => C.infoText || `${M.value.start + 1}-${M.value.end} of ${C.totalItems}`), d = f(() => +C.page == +L.value), l = f(() => +C.page == 1);
10295
- W(() => M.value, () => {
10308
+ N(() => M.value, () => {
10296
10309
  i("update:info", M.value);
10297
- }), W(() => C.perPage, () => {
10310
+ }), N(() => C.perPage, () => {
10298
10311
  A.value = C.perPage, n(1);
10299
10312
  });
10300
10313
  function n(o) {
@@ -10308,20 +10321,20 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10308
10321
  }
10309
10322
  i("update:perPage", 10);
10310
10323
  }
10311
- return (o, r) => (m(), a("div", {
10324
+ return (o, r) => (m(), Z("div", {
10312
10325
  id: o.id,
10313
10326
  class: O(["r-pagination", [`r-pagination--${C.position}`]])
10314
10327
  }, [
10315
- Z("div", {
10328
+ s("div", {
10316
10329
  id: `${o.id}-paginator`,
10317
10330
  class: "r-pagination__paginator"
10318
10331
  }, [
10319
- Z("div", {
10332
+ s("div", {
10320
10333
  id: `${o.id}-paginator-per-page`,
10321
10334
  class: "r-pagination__paginator__per-page"
10322
10335
  }, [
10323
- Z("span", null, v(C.itemsPerPageText), 1),
10324
- C1(P3, {
10336
+ s("span", null, b(C.itemsPerPageText), 1),
10337
+ C1(F3, {
10325
10338
  modelValue: A.value,
10326
10339
  "onUpdate:modelValue": [
10327
10340
  r[0] || (r[0] = (S) => A.value = S),
@@ -10332,12 +10345,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10332
10345
  "hide-option-check-icon": "",
10333
10346
  options: C.perPageOptions
10334
10347
  }, null, 8, ["modelValue", "options"])
10335
- ], 8, p0),
10336
- Z("span", {
10348
+ ], 8, f0),
10349
+ s("span", {
10337
10350
  id: `${o.id}-paginator-info`,
10338
10351
  class: "r-pagination__paginator__info"
10339
- }, v(e.value), 9, O0),
10340
- Z("button", {
10352
+ }, b(e.value), 9, h0),
10353
+ s("button", {
10341
10354
  id: `${o.id}-paginator-first`,
10342
10355
  class: "r-pagination__paginator__first",
10343
10356
  disabled: l.value,
@@ -10346,7 +10359,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10346
10359
  k(o.$slots, "first", {
10347
10360
  id: `${o.id}-paginator-first-slot`
10348
10361
  }, () => [
10349
- (m(), a("svg", {
10362
+ (m(), Z("svg", {
10350
10363
  class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": l.value }]),
10351
10364
  fill: "none",
10352
10365
  height: "20",
@@ -10357,10 +10370,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10357
10370
  viewBox: "0 0 24 24",
10358
10371
  width: "20",
10359
10372
  xmlns: "http://www.w3.org/2000/svg"
10360
- }, B0, 2))
10373
+ }, v0, 2))
10361
10374
  ])
10362
- ], 8, f0),
10363
- Z("button", {
10375
+ ], 8, g0),
10376
+ s("button", {
10364
10377
  id: `${o.id}-paginator-prev`,
10365
10378
  class: "r-pagination__paginator__prev",
10366
10379
  disabled: l.value,
@@ -10369,7 +10382,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10369
10382
  k(o.$slots, "prev", {
10370
10383
  id: `${o.id}-paginator-prev-slot`
10371
10384
  }, () => [
10372
- (m(), a("svg", {
10385
+ (m(), Z("svg", {
10373
10386
  class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": l.value }]),
10374
10387
  fill: "none",
10375
10388
  height: "20",
@@ -10380,10 +10393,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10380
10393
  viewBox: "0 0 24 24",
10381
10394
  width: "20",
10382
10395
  xmlns: "http://www.w3.org/2000/svg"
10383
- }, y0, 2))
10396
+ }, T0, 2))
10384
10397
  ])
10385
- ], 8, b0),
10386
- Z("button", {
10398
+ ], 8, w0),
10399
+ s("button", {
10387
10400
  id: `${o.id}-paginator-next`,
10388
10401
  class: "r-pagination__paginator__next",
10389
10402
  disabled: d.value,
@@ -10392,7 +10405,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10392
10405
  k(o.$slots, "next", {
10393
10406
  id: `${o.id}-paginator-next-slot`
10394
10407
  }, () => [
10395
- (m(), a("svg", {
10408
+ (m(), Z("svg", {
10396
10409
  class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10397
10410
  fill: "none",
10398
10411
  height: "20",
@@ -10403,10 +10416,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10403
10416
  viewBox: "0 0 24 24",
10404
10417
  width: "20",
10405
10418
  xmlns: "http://www.w3.org/2000/svg"
10406
- }, R0, 2))
10419
+ }, D0, 2))
10407
10420
  ])
10408
- ], 8, P0),
10409
- Z("button", {
10421
+ ], 8, F0),
10422
+ s("button", {
10410
10423
  id: `${o.id}-paginator-last`,
10411
10424
  class: "r-pagination__paginator__last",
10412
10425
  disabled: C.page === L.value,
@@ -10415,7 +10428,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10415
10428
  k(o.$slots, "last", {
10416
10429
  id: `${o.id}-paginator-last-slot`
10417
10430
  }, () => [
10418
- (m(), a("svg", {
10431
+ (m(), Z("svg", {
10419
10432
  class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10420
10433
  fill: "none",
10421
10434
  height: "20",
@@ -10426,13 +10439,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10426
10439
  viewBox: "0 0 24 24",
10427
10440
  width: "20",
10428
10441
  xmlns: "http://www.w3.org/2000/svg"
10429
- }, $0, 2))
10442
+ }, N0, 2))
10430
10443
  ])
10431
- ], 8, x0)
10432
- ], 8, c0)
10433
- ], 10, s0));
10444
+ ], 8, E0)
10445
+ ], 8, O0)
10446
+ ], 10, p0));
10434
10447
  }
10435
- }), W0 = ["id", "value"], o7 = /* @__PURE__ */ T({
10448
+ }), I0 = ["id", "value"], r7 = /* @__PURE__ */ T({
10436
10449
  __name: "RProgressbar",
10437
10450
  props: {
10438
10451
  value: { default: 0 },
@@ -10441,17 +10454,17 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10441
10454
  },
10442
10455
  setup(H) {
10443
10456
  const V = H;
10444
- return (C, i) => (m(), a("progress", {
10457
+ return (C, i) => (m(), Z("progress", {
10445
10458
  id: C.id,
10446
10459
  "aria-valuemax": 100,
10447
10460
  class: "r-progressbar",
10448
10461
  max: 100,
10449
10462
  role: "progressbar",
10450
- style: j1({ height: `${V.height}px` }),
10463
+ style: Y1({ height: `${V.height}px` }),
10451
10464
  value: V.value
10452
- }, null, 12, W0));
10465
+ }, null, 12, I0));
10453
10466
  }
10454
- }), w1 = "rocket-ui:r-item-group", n7 = /* @__PURE__ */ T({
10467
+ }), y1 = "rocket-ui:r-item-group", a7 = /* @__PURE__ */ T({
10455
10468
  __name: "RItemGroup",
10456
10469
  props: {
10457
10470
  modelValue: { default: () => [] },
@@ -10466,22 +10479,22 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10466
10479
  emits: ["update:modelValue"],
10467
10480
  setup(H, { emit: V }) {
10468
10481
  const C = H, i = V, A = E(C.as ?? "div"), L = E(C.modelValue), M = f(() => C.selectedClass);
10469
- b1(`${w1}:selectedClass`, M.value);
10482
+ v1(`${y1}:selectedClass`, M.value);
10470
10483
  function e(n) {
10471
10484
  return L.value.includes(n);
10472
10485
  }
10473
- b1(`${w1}:isSelected`, e);
10486
+ v1(`${y1}:isSelected`, e);
10474
10487
  function d(n, u) {
10475
10488
  C.disabled || C.mandatory && L.value.length === 1 && !u || C.max && L.value.length === C.max && u || (C.multiple ? u ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], i("update:modelValue", L.value));
10476
10489
  }
10477
- b1(`${w1}:select`, d);
10490
+ v1(`${y1}:select`, d);
10478
10491
  function l() {
10479
10492
  return C.disabled;
10480
10493
  }
10481
- return b1(`${w1}:isDisabled`, l), W(() => C.modelValue, () => {
10494
+ return v1(`${y1}:isDisabled`, l), N(() => C.modelValue, () => {
10482
10495
  L.value = C.modelValue;
10483
- }), (n, u) => (m(), D(R2(A.value), { id: n.id }, {
10484
- default: P1(() => [
10496
+ }), (n, u) => (m(), D(D2(A.value), { id: n.id }, {
10497
+ default: T1(() => [
10485
10498
  k(n.$slots, "default", {
10486
10499
  id: `${n.id}-slot`,
10487
10500
  isSelected: e,
@@ -10492,7 +10505,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10492
10505
  _: 3
10493
10506
  }, 8, ["id"]));
10494
10507
  }
10495
- }), y1 = "rocket-ui:r-item-group", r7 = /* @__PURE__ */ T({
10508
+ }), P1 = "rocket-ui:r-item-group", Z7 = /* @__PURE__ */ T({
10496
10509
  __name: "RItem",
10497
10510
  props: {
10498
10511
  value: { default: null },
@@ -10500,7 +10513,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10500
10513
  id: { default: "r-item" }
10501
10514
  },
10502
10515
  setup(H) {
10503
- const V = H, C = v1(`${y1}:isSelected`), i = v1(`${y1}:selectedClass`, ""), A = v1(`${y1}:select`), L = v1(`${y1}:isDisabled`), M = f(() => C(V.value) && [i, V.selectedClass]);
10516
+ const V = H, C = w1(`${P1}:isSelected`), i = w1(`${P1}:selectedClass`, ""), A = w1(`${P1}:select`), L = w1(`${P1}:isDisabled`), M = f(() => C(V.value) && [i, V.selectedClass]);
10504
10517
  function e() {
10505
10518
  V.disabled || A(V.value, !C(V.value));
10506
10519
  }
@@ -10516,7 +10529,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10516
10529
  toggle: e
10517
10530
  });
10518
10531
  }
10519
- }), N0 = ["id"], I0 = ["id", "checked", "disabled", "name", "value"], Q0 = ["id"], G0 = ["id"], U0 = { class: "flex flex-col" }, z0 = ["id"], K0 = ["id"], q0 = ["id"], a7 = /* @__PURE__ */ T({
10532
+ }), Q0 = ["id"], G0 = ["id", "checked", "disabled", "name", "value"], U0 = ["id"], z0 = ["id"], K0 = { class: "flex flex-col" }, q0 = ["id"], j0 = ["id"], X0 = ["id"], u7 = /* @__PURE__ */ T({
10520
10533
  __name: "RRadio",
10521
10534
  props: {
10522
10535
  id: { default: "" },
@@ -10538,13 +10551,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10538
10551
  "r-radio--error": V.errorMsg
10539
10552
  }
10540
10553
  ]);
10541
- return W(() => V.modelValue, (L) => {
10554
+ return N(() => V.modelValue, (L) => {
10542
10555
  i.value = L;
10543
- }, { immediate: !0 }), (L, M) => (m(), a("div", {
10556
+ }, { immediate: !0 }), (L, M) => (m(), Z("div", {
10544
10557
  id: C.value,
10545
10558
  class: O(A.value)
10546
10559
  }, [
10547
- Z("input", E1(L.$attrs, {
10560
+ s("input", _1(L.$attrs, {
10548
10561
  id: `${C.value}`,
10549
10562
  checked: i.value,
10550
10563
  class: "r-radio__input",
@@ -10553,62 +10566,62 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10553
10566
  type: "radio",
10554
10567
  value: V.value,
10555
10568
  onChange: M[0] || (M[0] = (e) => L.$emit("update:modelValue"))
10556
- }), null, 16, I0),
10557
- Z("span", {
10569
+ }), null, 16, G0),
10570
+ s("span", {
10558
10571
  id: `${C.value}`,
10559
10572
  class: O(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10560
10573
  onClick: M[1] || (M[1] = (e) => L.$emit("update:modelValue"))
10561
10574
  }, [
10562
- Z("span", {
10575
+ s("span", {
10563
10576
  id: `${C.value}-custom`,
10564
10577
  class: O(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10565
- }, null, 10, G0),
10566
- Z("div", U0, [
10567
- V.title ? (m(), a("span", {
10578
+ }, null, 10, z0),
10579
+ s("div", K0, [
10580
+ V.title ? (m(), Z("span", {
10568
10581
  key: 0,
10569
10582
  id: `${C.value}-title`,
10570
10583
  class: O(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10571
- }, v(V.title), 11, z0)) : g("", !0),
10572
- Z("span", null, v(V.label), 1)
10584
+ }, b(V.title), 11, q0)) : g("", !0),
10585
+ s("span", null, b(V.label), 1)
10573
10586
  ])
10574
- ], 10, Q0),
10575
- V.hint && !V.errorMsg ? (m(), a("span", {
10587
+ ], 10, U0),
10588
+ V.hint && !V.errorMsg ? (m(), Z("span", {
10576
10589
  key: 0,
10577
10590
  id: `${C.value}-hint`,
10578
10591
  class: O(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10579
- }, v(V.hint), 11, K0)) : g("", !0),
10580
- V.errorMsg ? (m(), a("span", {
10592
+ }, b(V.hint), 11, j0)) : g("", !0),
10593
+ V.errorMsg ? (m(), Z("span", {
10581
10594
  key: 1,
10582
10595
  id: `${C.value}-error`,
10583
10596
  class: "r-radio__error"
10584
- }, v(V.errorMsg), 9, q0)) : g("", !0)
10585
- ], 10, N0));
10597
+ }, b(V.errorMsg), 9, X0)) : g("", !0)
10598
+ ], 10, Q0));
10586
10599
  }
10587
10600
  });
10588
10601
  export {
10589
- X0 as RAccordion,
10590
- Y0 as RAlert,
10591
- J0 as RAvatar,
10592
- C7 as RBadge,
10593
- m7 as RBreadcrumb,
10594
- H7 as RButton,
10595
- V7 as RCheckbox,
10596
- S5 as RChip,
10597
- P3 as RDropdown,
10602
+ J0 as RAccordion,
10603
+ C7 as RAlert,
10604
+ H7 as RAvatar,
10605
+ V7 as RBadge,
10606
+ o7 as RBreadcrumb,
10607
+ L7 as RButton,
10608
+ M7 as RCheckbox,
10609
+ c5 as RChip,
10610
+ F3 as RDropdown,
10598
10611
  R as RIcon,
10599
- r7 as RItem,
10600
- n7 as RItemGroup,
10601
- b2 as RLabel,
10602
- L7 as RModal,
10603
- l7 as RPagination,
10604
- o7 as RProgressbar,
10605
- a7 as RRadio,
10606
- M7 as RSidebar,
10607
- i7 as RSnackbar,
10608
- A7 as RSwitch,
10609
- V0 as RTabItem,
10610
- e7 as RTabs,
10611
- d7 as RTextArea,
10612
- t7 as RTextfield,
10613
- t3 as RTooltip
10612
+ Z7 as RItem,
10613
+ a7 as RItemGroup,
10614
+ w2 as RLabel,
10615
+ i7 as RModal,
10616
+ n7 as RPagination,
10617
+ r7 as RProgressbar,
10618
+ u7 as RRadio,
10619
+ A7 as RSidebar,
10620
+ e7 as RSnackbar,
10621
+ d7 as RSwitch,
10622
+ M0 as RTabItem,
10623
+ t7 as RTabs,
10624
+ m7 as RTextArea,
10625
+ l7 as RTextfield,
10626
+ l3 as RTooltip
10614
10627
  };