@rocketui/vue 0.2.91 → 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: () => [] },
@@ -8999,149 +8999,171 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8999
8999
  },
9000
9000
  emits: ["update:modelValue", "clear", "removeOption"],
9001
9001
  setup(H, { emit: V }) {
9002
- const C = H, i = V, A = E({}), L = E([]), M = E(!1), e = E(""), d = E(null);
9003
- function l(t) {
9004
- const s = window.getComputedStyle(t);
9005
- 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);
9006
9006
  }
9007
- function n(t) {
9008
- let s = t;
9009
- for (; s && s !== document.body; ) {
9010
- if (l(s))
9011
- return s;
9012
- 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;
9013
9013
  }
9014
9014
  return document.body;
9015
9015
  }
9016
- function u(t) {
9017
- const s = Number(t.dataset.rScrollLockCount || "0");
9018
- s === 0 && (t.dataset.rPreviousOverflowY = t.style.overflowY, t.style.overflowY = "hidden"), t.dataset.rScrollLockCount = String(s + 1);
9019
- }
9020
- function o(t) {
9021
- const s = Number(t.dataset.rScrollLockCount || "0");
9022
- if (s <= 1) {
9023
- const P = t.dataset.rPreviousOverflowY ?? "";
9024
- t.style.overflowY = P, delete t.dataset.rScrollLockCount, delete t.dataset.rPreviousOverflowY;
9025
- } else
9026
- t.dataset.rScrollLockCount = String(s - 1);
9027
- }
9028
- function r(t) {
9016
+ function n(t) {
9029
9017
  if (!t || typeof t == "object" || typeof t == "function" || typeof t == "symbol" || typeof t > "u" || Array.isArray(t))
9030
9018
  return !0;
9031
- const [s] = Object.keys(t);
9032
- return ["label", "value"].includes(s);
9019
+ const [a] = Object.keys(t);
9020
+ return ["label", "value"].includes(a);
9033
9021
  }
9034
- const S = f(() => {
9022
+ const u = f(() => {
9035
9023
  const t = C.options;
9036
- return r(t[0]) ? t : t.map((s) => ({
9037
- value: s,
9038
- label: String(s)
9024
+ return n(t[0]) ? t : t.map((a) => ({
9025
+ value: a,
9026
+ label: String(a)
9039
9027
  }));
9040
- }), b = f(() => {
9028
+ }), o = f(() => {
9041
9029
  const t = C.modelValue;
9042
- return r(t) ? t : {
9030
+ return n(t) ? t : {
9043
9031
  value: t,
9044
9032
  label: String(t)
9045
9033
  };
9046
- }), 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
+ }
9047
9058
  function w(t) {
9048
- var X, p, Q, k1;
9059
+ var W, p, G, B1;
9049
9060
  if (C.disabled)
9050
9061
  return;
9051
- const s = document.getElementById(t);
9052
- document.querySelectorAll(".r-dropdown--active").forEach((G) => {
9053
- var B1;
9054
- if (G.id !== ((B1 = B.value) == null ? void 0 : B1.id) && G.classList.contains("r-dropdown--active")) {
9055
- const H2 = n(G);
9056
- H2 && o(H2), G.childNodes.forEach((V1) => {
9057
- V1 != null && V1.classList && (Object == null || Object.values(V1 == null ? void 0 : V1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9058
- V1 == null || V1.classList.remove(N1);
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
9068
+ );
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);
9059
9072
  }));
9060
- }), G.classList.remove("r-dropdown--active");
9073
+ }), U.classList.remove("r-dropdown--active");
9061
9074
  }
9062
- }), 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(c.value || B.value)), d.value && u(d.value), s == null || s.childNodes.forEach((G) => {
9063
- G != null && G.classList && (Object == null || Object.values(G == null ? void 0 : G.classList).forEach((B1) => {
9064
- 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`);
9065
9078
  }));
9066
9079
  }));
9067
9080
  }
9068
9081
  function _(t) {
9069
- const s = document.getElementById(t);
9070
- 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();
9071
9084
  }
9072
- function x(t, s, P, X) {
9085
+ function x(t, a, y, W) {
9073
9086
  var p;
9074
- if (!(C.disabled || s.disabled)) {
9075
- if (X(), s.value === "select-all") {
9076
- q();
9087
+ if (!(C.disabled || a.disabled)) {
9088
+ if (W(), a.value === "select-all") {
9089
+ j();
9077
9090
  return;
9078
9091
  }
9079
9092
  if (C.multiple) {
9080
- if (!L.value.find((Q) => Q.value === s.value))
9081
- L.value.push(s);
9093
+ if (!L.value.find((G) => G.value === a.value))
9094
+ L.value.push(a);
9082
9095
  else {
9083
- const Q = L.value.findIndex((k1) => k1.value === s.value);
9084
- L.value.splice(Q, 1), i("removeOption", s);
9096
+ const G = L.value.findIndex(
9097
+ (B1) => B1.value === a.value
9098
+ );
9099
+ L.value.splice(G, 1), i("removeOption", a);
9085
9100
  }
9086
- e.value = "", C.searchable && ((p = y.value) == null || p.focus());
9101
+ e.value = "", C.searchable && ((p = S.value) == null || p.focus());
9087
9102
  return;
9088
9103
  }
9089
- U(t, s), C.closeOnSelect && P();
9104
+ z(t, a), C.closeOnSelect && y();
9090
9105
  }
9091
9106
  }
9092
- function U(t, s) {
9093
- if (A.value.value === s.value && !C.disableDeselect) {
9094
- 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);
9095
9110
  return;
9096
9111
  }
9097
- e.value = s.label, A.value = s, i("update:modelValue", s);
9112
+ e.value = a.label, A.value = a, i("update:modelValue", a);
9098
9113
  }
9099
- function $(t, s, P) {
9114
+ function $(t, a, y) {
9100
9115
  if (t instanceof KeyboardEvent && t.key !== "Backspace" || e.value !== "")
9101
9116
  return;
9102
- t.stopPropagation(), P();
9103
- const X = L.value.findIndex((p) => p.value === s.value);
9104
- L.value.splice(X, 1), i("removeOption", s), i("update:modelValue", L.value);
9117
+ t.stopPropagation(), y();
9118
+ const W = L.value.findIndex(
9119
+ (p) => p.value === a.value
9120
+ );
9121
+ L.value.splice(W, 1), i("removeOption", a), i("update:modelValue", L.value);
9105
9122
  }
9106
- function J(t, s) {
9123
+ function J(t, a) {
9107
9124
  var p;
9108
9125
  if (!C.multiple)
9109
9126
  return;
9110
- t.stopPropagation(), s();
9111
- const P = e.value;
9112
- if (P === "")
9127
+ t.stopPropagation(), a();
9128
+ const y = e.value;
9129
+ if (y === "")
9113
9130
  return;
9114
- S.value.find((Q) => Q.label === P) || (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());
9115
9134
  }
9116
9135
  function h(t) {
9117
- var s;
9118
- 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);
9119
9138
  }
9120
- 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);
9121
- function N() {
9122
- 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));
9123
9142
  }
9124
9143
  function l1(t) {
9125
9144
  C.searchable && t(), !C.multiple && e.value === "" && (A.value = {}, i("update:modelValue", ""), i("removeOption", A.value));
9126
9145
  }
9127
- function I(t, s) {
9128
- if (t.stopPropagation(), s(), C.multiple) {
9146
+ function Q(t, a) {
9147
+ if (t.stopPropagation(), a(), C.multiple) {
9129
9148
  L.value.splice(0, L.value.length), i("clear", L.value);
9130
9149
  return;
9131
9150
  }
9132
9151
  A.value = {}, e.value = "", i("update:modelValue", ""), i("clear", A.value);
9133
9152
  }
9134
- function q() {
9153
+ function j() {
9135
9154
  if (L.value.length === F.value.length) {
9136
9155
  L.value.splice(0, L.value.length);
9137
9156
  return;
9138
9157
  }
9139
9158
  L.value = F.value;
9140
9159
  }
9141
- 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));
9142
- return o2(() => {
9143
- N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9144
- }), W(
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(
9163
+ "content",
9164
+ "width=device-width, initial-scale=1, maximum-scale=1"
9165
+ );
9166
+ }), N(
9145
9167
  L,
9146
9168
  (t) => {
9147
9169
  i("update:modelValue", t);
@@ -9149,17 +9171,26 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9149
9171
  {
9150
9172
  deep: !0
9151
9173
  }
9152
- ), W(() => b.value, (t) => {
9153
- N();
9154
- }), q1(() => {
9155
- M.value && d.value && o(d.value);
9156
- }), (t, s) => (m(), a("div", {
9174
+ ), N(
9175
+ () => o.value,
9176
+ (t) => {
9177
+ I();
9178
+ }
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", {
9157
9188
  id: t.id,
9158
9189
  ref_key: "wrapper",
9159
- ref: c,
9190
+ ref: v,
9160
9191
  class: "r-dropdown-wrapper"
9161
9192
  }, [
9162
- C1(t3, {
9193
+ C1(l3, {
9163
9194
  id: `${t.id}-tooltip`,
9164
9195
  "auto-hide": !1,
9165
9196
  disabled: C.disabled,
@@ -9170,15 +9201,15 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9170
9201
  "trigger-class": "w-full",
9171
9202
  triggers: ["click"],
9172
9203
  type: "dropdown",
9173
- onHide: s[1] || (s[1] = (P) => {
9174
- _(P);
9204
+ onHide: a[1] || (a[1] = (y) => {
9205
+ _(y);
9175
9206
  })
9176
9207
  }, {
9177
- default: P1(({ updatePosition: P, tooltipId: X }) => [
9178
- Z("div", {
9208
+ default: T1(({ updatePosition: y, tooltipId: W }) => [
9209
+ s("div", {
9179
9210
  id: `${t.id}-dropdown`,
9180
9211
  ref_key: "dropdown",
9181
- ref: B,
9212
+ ref: r,
9182
9213
  class: O(["r-dropdown", {
9183
9214
  "r-dropdown--disabled": C.disabled,
9184
9215
  "r-dropdown--loading": C.loading,
@@ -9187,9 +9218,9 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9187
9218
  group: e.value !== "" || L.value.length
9188
9219
  }]),
9189
9220
  role: "select",
9190
- onClick: (p) => w(X)
9221
+ onClick: (p) => w(W)
9191
9222
  }, [
9192
- C.prependIcon || t.$slots.prepend ? (m(), a("div", {
9223
+ C.prependIcon || t.$slots.prepend ? (m(), Z("div", {
9193
9224
  key: 0,
9194
9225
  id: `${t.id}-prepend-icon`,
9195
9226
  class: O(["r-dropdown__prepend-icon", {
@@ -9210,8 +9241,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9210
9241
  name: C.prependIcon
9211
9242
  }, null, 8, ["id", "name"])) : g("", !0)
9212
9243
  ])
9213
- ], 10, o3)) : g("", !0),
9214
- Z("div", {
9244
+ ], 10, r3)) : g("", !0),
9245
+ s("div", {
9215
9246
  id: `${t.id}-selections`,
9216
9247
  class: "r-dropdown__selections"
9217
9248
  }, [
@@ -9220,41 +9251,41 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9220
9251
  removeOption: $,
9221
9252
  selected: L.value
9222
9253
  }, () => [
9223
- Z("div", {
9254
+ s("div", {
9224
9255
  id: `${t.id}-selections-content`,
9225
9256
  class: "flex flex-wrap items-center gap-2 text-sm"
9226
9257
  }, [
9227
- C.multiple && C.chips ? (m(), a(i1, { key: 0 }, [
9228
- (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, {
9229
9260
  key: p.value,
9230
9261
  id: `${t.id}-chip-${p.value}`,
9231
9262
  clearable: "",
9232
9263
  ghost: "",
9233
9264
  label: p.label,
9234
9265
  variant: "primary",
9235
- "onClick:close": (Q) => $(Q, p, P)
9266
+ "onClick:close": (G) => $(G, p, y)
9236
9267
  }, null, 8, ["id", "label", "onClick:close"]))), 128)),
9237
9268
  k(t.$slots, "remaining-count", {
9238
9269
  id: `${t.id}-remaining-count`,
9239
- count: z.value
9270
+ count: K.value
9240
9271
  }, () => [
9241
- z.value > 0 ? (m(), a("span", {
9272
+ K.value > 0 ? (m(), Z("span", {
9242
9273
  key: 0,
9243
9274
  id: `${t.id}-remaining-count-text`,
9244
9275
  class: "r-dropdown__remaining-count-text"
9245
- }, " +" + v(z.value), 9, a3)) : g("", !0)
9276
+ }, " +" + b(K.value), 9, u3)) : g("", !0)
9246
9277
  ])
9247
- ], 64)) : C.multiple ? (m(!0), a(i1, { key: 1 }, n1(L.value, (p, Q) => (m(), a("span", {
9248
- 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}`,
9249
9280
  key: p.value
9250
- }, v(p.label) + v(Q < L.value.length - 1 ? ", " : ""), 9, Z3))), 128)) : g("", !0)
9251
- ], 8, r3)
9281
+ }, b(p.label) + b(G < L.value.length - 1 ? ", " : ""), 9, S3))), 128)) : g("", !0)
9282
+ ], 8, Z3)
9252
9283
  ]),
9253
- n2(Z("input", {
9284
+ a2(s("input", {
9254
9285
  id: `${t.id}`,
9255
9286
  ref_key: "input",
9256
- ref: y,
9257
- "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
9287
+ ref: S,
9288
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => e.value = p),
9258
9289
  autocomplete: C.autocomplete,
9259
9290
  class: O(["r-dropdown__input", {
9260
9291
  "r-dropdown__input--loading": C.loading
@@ -9264,21 +9295,25 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9264
9295
  readonly: m1.value,
9265
9296
  role: "presentation",
9266
9297
  type: "text",
9267
- onInput: r1((p) => l1(P), ["prevent"]),
9298
+ onInput: r1((p) => l1(y), ["prevent"]),
9268
9299
  onKeydown: [
9269
- L2((p) => $(p, L.value[L.value.length - 1], P), ["backspace"]),
9270
- L2((p) => J(p, P), ["enter"])
9300
+ i2((p) => $(
9301
+ p,
9302
+ L.value[L.value.length - 1],
9303
+ y
9304
+ ), ["backspace"]),
9305
+ i2((p) => J(p, y), ["enter"])
9271
9306
  ]
9272
- }, null, 42, u3), [
9273
- [P2, e.value]
9307
+ }, null, 42, s3), [
9308
+ [F2, e.value]
9274
9309
  ])
9275
- ], 8, n3),
9276
- C.clearable ? (m(), a("div", {
9310
+ ], 8, a3),
9311
+ C.clearable ? (m(), Z("div", {
9277
9312
  key: 1,
9278
9313
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9279
9314
  class: "r-dropdown__clearable",
9280
9315
  "data-has-value": (e.value !== "" || L.value.length) && M.value,
9281
- onClick: (p) => I(p, P)
9316
+ onClick: (p) => Q(p, y)
9282
9317
  }, [
9283
9318
  k(t.$slots, "clearable", {}, () => [
9284
9319
  C1(R, {
@@ -9287,8 +9322,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9287
9322
  size: "18"
9288
9323
  }, null, 8, ["id"])
9289
9324
  ])
9290
- ], 8, S3)) : g("", !0),
9291
- C.appendIcon || t.$slots.append ? (m(), a("div", {
9325
+ ], 8, c3)) : g("", !0),
9326
+ C.appendIcon || t.$slots.append ? (m(), Z("div", {
9292
9327
  key: 2,
9293
9328
  id: `${t.id}-append-icon`,
9294
9329
  class: O(["r-dropdown__append-icon", {
@@ -9308,27 +9343,32 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9308
9343
  name: C.appendIcon
9309
9344
  }, null, 8, ["name"])) : g("", !0)
9310
9345
  ])
9311
- ], 10, s3)) : g("", !0)
9312
- ], 10, l3)
9346
+ ], 10, p3)) : g("", !0)
9347
+ ], 10, n3)
9313
9348
  ]),
9314
- content: P1(({ hide: P, updatePosition: X }) => [
9315
- Z("ul", {
9349
+ content: T1(({ hide: y, updatePosition: W }) => [
9350
+ s("ul", {
9316
9351
  id: `${t.id}-options`,
9317
9352
  class: O(["r-dropdown-options", {
9318
9353
  "r-dropdown-options--active": M.value,
9319
9354
  [C.optionsClass]: C.optionsClass
9320
9355
  }])
9321
9356
  }, [
9322
- C.showSelectAll && C.multiple && F.value.length > 0 ? (m(), a("li", {
9357
+ C.showSelectAll && C.multiple && F.value.length > 0 ? (m(), Z("li", {
9323
9358
  key: 0,
9324
9359
  class: O(["r-dropdown-options__option", {
9325
9360
  "r-dropdown-options__option--active": L.value.length === F.value.length,
9326
9361
  "r-dropdown-options__option--disabled": !1
9327
9362
  }]),
9328
- onClick: r1((p) => x(p, { label: C.selectAllText, value: "select-all" }, P, X), ["prevent"])
9363
+ onClick: r1((p) => x(
9364
+ p,
9365
+ { label: C.selectAllText, value: "select-all" },
9366
+ y,
9367
+ W
9368
+ ), ["prevent"])
9329
9369
  }, [
9330
- Z("div", O3, [
9331
- Z("p", f3, v(C.selectAllText), 1)
9370
+ s("div", h3, [
9371
+ s("p", g3, b(C.selectAllText), 1)
9332
9372
  ]),
9333
9373
  L.value.length === F.value.length && !C.hideOptionCheckIcon ? (m(), D(R, {
9334
9374
  key: 0,
@@ -9337,13 +9377,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9337
9377
  }]),
9338
9378
  name: "mdiCheck"
9339
9379
  }, null, 8, ["class"])) : g("", !0)
9340
- ], 10, p3)) : g("", !0),
9341
- C.showSelectAll && F.value.length > 0 ? (m(), a("hr", {
9380
+ ], 10, f3)) : g("", !0),
9381
+ C.showSelectAll && F.value.length > 0 ? (m(), Z("hr", {
9342
9382
  key: 1,
9343
9383
  id: `${t.id}-divider`,
9344
9384
  class: "r-dropdown-options__divider"
9345
- }, null, 8, h3)) : g("", !0),
9346
- (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", {
9347
9387
  id: `${t.id}-option-${p.value}`,
9348
9388
  key: p.value,
9349
9389
  "aria-disabled": p.disabled,
@@ -9352,7 +9392,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9352
9392
  "r-dropdown-options__option--disabled": p.disabled,
9353
9393
  "r-dropdown-options__option--deselect": h(p) && C.disableDeselect
9354
9394
  }]),
9355
- onClick: r1((Q) => x(Q, p, P, X), ["prevent"])
9395
+ onClick: r1((G) => x(G, p, y, W), ["prevent"])
9356
9396
  }, [
9357
9397
  k(t.$slots, "option", {
9358
9398
  id: `${t.id}-option-${p.value}`,
@@ -9360,7 +9400,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9360
9400
  isSelected: h(p),
9361
9401
  item: p
9362
9402
  }, () => [
9363
- Z("div", {
9403
+ s("div", {
9364
9404
  id: `${t.id}-option-content-${p.value}`,
9365
9405
  class: "flex items-center"
9366
9406
  }, [
@@ -9378,13 +9418,13 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9378
9418
  name: p.prependIcon
9379
9419
  }, null, 8, ["id", "class", "name"])) : g("", !0)
9380
9420
  ]),
9381
- Z("p", {
9421
+ s("p", {
9382
9422
  id: `${t.id}-option-label-${p.value}`,
9383
9423
  class: O(["r-dropdown-options__option__label", {
9384
9424
  "r-dropdown-options__option__label--active": h(p)
9385
9425
  }])
9386
- }, v(p.label), 11, B3)
9387
- ], 8, k3),
9426
+ }, b(p.label), 11, v3)
9427
+ ], 8, b3),
9388
9428
  k(t.$slots, "option-append", {
9389
9429
  id: `${t.id}-option-append-${p.value}`,
9390
9430
  disabled: p.disabled,
@@ -9399,39 +9439,39 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9399
9439
  }, null, 8, ["class"])) : g("", !0)
9400
9440
  ])
9401
9441
  ])
9402
- ], 10, g3))), 128)),
9403
- F.value.length === 0 ? (m(), a("li", {
9442
+ ], 10, B3))), 128)),
9443
+ F.value.length === 0 ? (m(), Z("li", {
9404
9444
  key: 2,
9405
9445
  id: `${t.id}-no-option`,
9406
9446
  class: "r-dropdown-options__no-option"
9407
9447
  }, [
9408
9448
  k(t.$slots, "not-options", {}, () => [
9409
- f1(v(C.noOptionsText), 1)
9449
+ h1(b(C.noOptionsText), 1)
9410
9450
  ])
9411
- ], 8, b3)) : g("", !0)
9412
- ], 10, c3)
9451
+ ], 8, w3)) : g("", !0)
9452
+ ], 10, O3)
9413
9453
  ]),
9414
9454
  _: 3
9415
9455
  }, 8, ["id", "disabled", "tooltip-class"]),
9416
- t.$props.hideDetails ? g("", !0) : (m(), a("div", {
9456
+ t.$props.hideDetails ? g("", !0) : (m(), Z("div", {
9417
9457
  key: 0,
9418
9458
  id: `${t.id}-details`,
9419
9459
  class: "r-dropdown-details"
9420
9460
  }, [
9421
- C.errorMsg ? (m(), a("div", {
9461
+ C.errorMsg ? (m(), Z("div", {
9422
9462
  key: 0,
9423
9463
  id: `${t.id}-error`,
9424
9464
  class: "r-dropdown-error"
9425
- }, v(C.errorMsg), 9, w3)) : g("", !0),
9426
- C.hint ? (m(), a("div", {
9465
+ }, b(C.errorMsg), 9, P3)) : g("", !0),
9466
+ C.hint ? (m(), Z("div", {
9427
9467
  key: 1,
9428
9468
  id: `${t.id}-hint`,
9429
9469
  class: "r-dropdown-hint"
9430
- }, v(C.hint), 9, y3)) : g("", !0)
9431
- ], 8, v3))
9432
- ], 8, m3));
9470
+ }, b(C.hint), 9, T3)) : g("", !0)
9471
+ ], 8, y3))
9472
+ ], 8, o3));
9433
9473
  }
9434
- }), T3 = ["id", "for"], b2 = /* @__PURE__ */ T({
9474
+ }), R3 = ["id", "for"], w2 = /* @__PURE__ */ T({
9435
9475
  __name: "RLabel",
9436
9476
  props: {
9437
9477
  id: { default: "" },
@@ -9440,7 +9480,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9440
9480
  },
9441
9481
  setup(H) {
9442
9482
  const V = H, C = f(() => V.id || "r-label");
9443
- return (i, A) => (m(), a("label", {
9483
+ return (i, A) => (m(), Z("label", {
9444
9484
  id: C.value,
9445
9485
  class: "r-label",
9446
9486
  for: V.for
@@ -9448,11 +9488,11 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9448
9488
  k(i.$slots, "default", {
9449
9489
  id: `${C.value}-slot`
9450
9490
  }, () => [
9451
- f1(v(V.text), 1)
9491
+ h1(b(V.text), 1)
9452
9492
  ])
9453
- ], 8, T3));
9493
+ ], 8, R3));
9454
9494
  }
9455
- }), 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({
9456
9496
  __name: "RModal",
9457
9497
  props: {
9458
9498
  modelValue: { type: Boolean, default: !1 },
@@ -9484,34 +9524,34 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9484
9524
  function M(e) {
9485
9525
  C.outsideClick && e.target === e.currentTarget && i("update:modelValue", !1);
9486
9526
  }
9487
- return q1(() => {
9527
+ return X1(() => {
9488
9528
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9489
9529
  }), window.addEventListener("keydown", (e) => {
9490
9530
  e.key === "Escape" && C.modelValue && C.outsideClick && i("update:modelValue", !1);
9491
- }), (e, d) => n2((m(), a("div", {
9531
+ }), (e, d) => a2((m(), Z("div", {
9492
9532
  id: e.id,
9493
9533
  class: O(["r-modal-overlay", e.overlayClass]),
9494
9534
  onClick: r1(M, ["stop"])
9495
9535
  }, [
9496
- Z("div", {
9536
+ s("div", {
9497
9537
  id: `${e.id}-dialog`,
9498
9538
  "aria-modal": "true",
9499
9539
  class: O(A.value),
9500
9540
  open: C.modelValue,
9501
9541
  role: "dialog",
9502
- style: j1(L.value)
9542
+ style: Y1(L.value)
9503
9543
  }, [
9504
9544
  k(e.$slots, "wrapper", {
9505
9545
  id: `${e.id}-wrapper`
9506
9546
  }, () => [
9507
- Z("div", {
9547
+ s("div", {
9508
9548
  id: `${e.id}-header`,
9509
9549
  class: "r-dialog__header"
9510
9550
  }, [
9511
9551
  k(e.$slots, "header", {
9512
9552
  id: `${e.id}-header`
9513
9553
  }),
9514
- C.icon ? (m(), a("div", {
9554
+ C.icon ? (m(), Z("div", {
9515
9555
  key: 0,
9516
9556
  id: `${e.id}-icon`,
9517
9557
  class: "icon"
@@ -9519,41 +9559,41 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9519
9559
  C1(R, {
9520
9560
  name: C.icon
9521
9561
  }, null, 8, ["name"])
9522
- ], 8, D3)) : g("", !0),
9523
- C.title ? (m(), a("div", {
9562
+ ], 8, _3)) : g("", !0),
9563
+ C.title ? (m(), Z("div", {
9524
9564
  key: 1,
9525
9565
  id: `${e.id}-title`,
9526
9566
  class: "title"
9527
- }, v(C.title), 9, E3)) : g("", !0),
9528
- C.description ? (m(), a("div", {
9567
+ }, b(C.title), 9, $3)) : g("", !0),
9568
+ C.description ? (m(), Z("div", {
9529
9569
  key: 2,
9530
9570
  id: `${e.id}-description`,
9531
9571
  class: "description"
9532
- }, v(C.description), 9, _3)) : g("", !0)
9533
- ], 8, x3),
9534
- Z("div", {
9572
+ }, b(C.description), 9, W3)) : g("", !0)
9573
+ ], 8, E3),
9574
+ s("div", {
9535
9575
  id: `${e.id}-body`,
9536
9576
  class: "r-dialog__body"
9537
9577
  }, [
9538
9578
  k(e.$slots, "default", {
9539
9579
  id: `${e.id}-body`
9540
9580
  })
9541
- ], 8, $3),
9542
- Z("div", {
9581
+ ], 8, N3),
9582
+ s("div", {
9543
9583
  id: `${e.id}-actions`,
9544
9584
  class: "r-dialog__actions"
9545
9585
  }, [
9546
9586
  k(e.$slots, "actions", {
9547
9587
  id: `${e.id}-actions`
9548
9588
  })
9549
- ], 8, W3)
9589
+ ], 8, I3)
9550
9590
  ])
9551
- ], 14, R3)
9552
- ], 10, F3)), [
9553
- [T2, e.modelValue]
9591
+ ], 14, D3)
9592
+ ], 10, x3)), [
9593
+ [R2, e.modelValue]
9554
9594
  ]);
9555
9595
  }
9556
- }), 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({
9557
9597
  __name: "RSidebar",
9558
9598
  props: {
9559
9599
  modelValue: { type: Boolean, default: !1 },
@@ -9566,12 +9606,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9566
9606
  emits: ["update:modelValue"],
9567
9607
  setup(H, { emit: V }) {
9568
9608
  const C = H, i = V;
9569
- return (A, L) => (m(), a("div", {
9609
+ return (A, L) => (m(), Z("div", {
9570
9610
  id: A.id,
9571
9611
  class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9572
9612
  "data-open": C.modelValue
9573
9613
  }, [
9574
- Z("aside", {
9614
+ s("aside", {
9575
9615
  id: `${A.id}-aside`,
9576
9616
  class: O(["r-sidebar", [C.class]]),
9577
9617
  "data-open": C.modelValue
@@ -9579,8 +9619,8 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9579
9619
  k(A.$slots, "default", {
9580
9620
  open: C.modelValue
9581
9621
  })
9582
- ], 10, I3),
9583
- C.showTrigger ? (m(), a("div", {
9622
+ ], 10, G3),
9623
+ C.showTrigger ? (m(), Z("div", {
9584
9624
  key: 0,
9585
9625
  id: `${A.id}-trigger`,
9586
9626
  class: O(["r-sidebar__trigger", [C.triggerClass]]),
@@ -9591,12 +9631,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9591
9631
  id: `${A.id}-trigger-slot`,
9592
9632
  open: C.modelValue
9593
9633
  }, () => [
9594
- f1(" > ")
9634
+ h1(" > ")
9595
9635
  ])
9596
- ], 10, Q3)) : g("", !0)
9597
- ], 10, N3));
9636
+ ], 10, U3)) : g("", !0)
9637
+ ], 10, Q3));
9598
9638
  }
9599
- }), G3 = ["id"], U3 = ["id"], i7 = /* @__PURE__ */ T({
9639
+ }), z3 = ["id"], K3 = ["id"], e7 = /* @__PURE__ */ T({
9600
9640
  __name: "RSnackbar",
9601
9641
  props: {
9602
9642
  modelValue: { type: Boolean, default: !1 },
@@ -9611,7 +9651,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9611
9651
  emits: ["action", "update:modelValue"],
9612
9652
  setup(H, { emit: V }) {
9613
9653
  const C = H, i = V;
9614
- W(
9654
+ N(
9615
9655
  () => C.modelValue,
9616
9656
  () => {
9617
9657
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9635,7 +9675,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9635
9675
  warning: "mdiAlert",
9636
9676
  info: "mdiInformation"
9637
9677
  })[C.variant || "info"]);
9638
- return (M, e) => (m(), a("div", {
9678
+ return (M, e) => (m(), Z("div", {
9639
9679
  id: M.id,
9640
9680
  class: O(A.value)
9641
9681
  }, [
@@ -9648,17 +9688,17 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9648
9688
  name: L.value
9649
9689
  }, null, 8, ["name"])) : g("", !0)
9650
9690
  ]),
9651
- Z("div", {
9691
+ s("div", {
9652
9692
  id: `${M.id}-text`,
9653
9693
  class: "r-snackbar__text"
9654
9694
  }, [
9655
9695
  k(M.$slots, "default", {
9656
9696
  id: `${M.id}-text-slot`
9657
9697
  }, () => [
9658
- f1(v(C.text), 1)
9698
+ h1(b(C.text), 1)
9659
9699
  ])
9660
- ], 8, U3),
9661
- C.closable ? (m(), a("div", {
9700
+ ], 8, K3),
9701
+ C.closable ? (m(), Z("div", {
9662
9702
  key: 0,
9663
9703
  class: "r-snackbar__close",
9664
9704
  onClick: e[0] || (e[0] = r1((d) => M.$emit("update:modelValue", !1), ["stop"]))
@@ -9673,9 +9713,9 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9673
9713
  }, null, 8, ["id"])
9674
9714
  ])
9675
9715
  ])) : g("", !0)
9676
- ], 10, G3));
9716
+ ], 10, z3));
9677
9717
  }
9678
- }), 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({
9679
9719
  __name: "RSwitch",
9680
9720
  props: {
9681
9721
  id: { default: "switch" },
@@ -9702,7 +9742,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9702
9742
  function e(d) {
9703
9743
  C.disabled || (A.value.checked = d.target.checked, i("update:modelValue", A.value.checked));
9704
9744
  }
9705
- return W(
9745
+ return N(
9706
9746
  () => C.modelValue,
9707
9747
  (d) => {
9708
9748
  A.value.checked = d;
@@ -9712,17 +9752,17 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9712
9752
  // TODO: find a better way to do this
9713
9753
  immediate: !0
9714
9754
  }
9715
- ), (d, l) => (m(), a("div", {
9755
+ ), (d, l) => (m(), Z("div", {
9716
9756
  id: M.value,
9717
9757
  class: O(["r-switch-container", {
9718
9758
  "r-switch-container--reverse": C.reverse,
9719
9759
  "r-switch-container--hide-details": C.hideDetails
9720
9760
  }])
9721
9761
  }, [
9722
- Z("div", {
9762
+ s("div", {
9723
9763
  class: O(L.value)
9724
9764
  }, [
9725
- Z("input", {
9765
+ s("input", {
9726
9766
  id: `${M.value}`,
9727
9767
  checked: A.value.checked,
9728
9768
  class: "r-switch__input",
@@ -9730,44 +9770,44 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9730
9770
  name: C.name,
9731
9771
  type: "checkbox",
9732
9772
  onChange: e
9733
- }, null, 40, K3),
9734
- q3
9773
+ }, null, 40, j3),
9774
+ X3
9735
9775
  ], 2),
9736
- Z("div", {
9776
+ s("div", {
9737
9777
  class: O(["r-switch-texts", {
9738
9778
  [`r-switch-texts--${C.size}`]: !0
9739
9779
  }])
9740
9780
  }, [
9741
- Z("label", {
9781
+ s("label", {
9742
9782
  id: `${M.value}`,
9743
9783
  class: "r-switch-texts__label",
9744
9784
  for: M.value
9745
- }, v(C.label), 9, j3),
9746
- C.hideDetails ? g("", !0) : (m(), a("div", {
9785
+ }, b(C.label), 9, Y3),
9786
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
9747
9787
  key: 0,
9748
9788
  id: `${M.value}-details`,
9749
9789
  class: "r-switch-texts__details"
9750
9790
  }, [
9751
- C.errorMsg ? (m(), a("p", {
9791
+ C.errorMsg ? (m(), Z("p", {
9752
9792
  key: 0,
9753
9793
  id: `${M.value}-error`,
9754
9794
  class: "r-switch-texts__error"
9755
- }, v(C.errorMsg), 9, Y3)) : (m(), a("p", {
9795
+ }, b(C.errorMsg), 9, C0)) : (m(), Z("p", {
9756
9796
  key: 1,
9757
9797
  id: `${M.value}-hint`,
9758
9798
  class: "r-switch-texts__hint"
9759
- }, v(C.hint), 9, J3))
9760
- ], 8, X3))
9799
+ }, b(C.hint), 9, H0))
9800
+ ], 8, J3))
9761
9801
  ], 2)
9762
- ], 10, z3));
9802
+ ], 10, q3));
9763
9803
  }
9764
9804
  });
9765
- var c1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(c1 || {});
9766
- 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({
9767
9807
  __name: "RTabItem",
9768
9808
  props: {
9769
9809
  id: {},
9770
- variant: { default: c1.DEFAULT },
9810
+ variant: { default: p1.DEFAULT },
9771
9811
  label: { default: "" },
9772
9812
  prependIcon: { default: "" },
9773
9813
  appendIcon: { default: "" },
@@ -9790,47 +9830,47 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9790
9830
  function e(d) {
9791
9831
  i("update:modelValue", d);
9792
9832
  }
9793
- return (d, l) => (m(), a("button", {
9833
+ return (d, l) => (m(), Z("button", {
9794
9834
  id: `r-tab-item-${C.id}`,
9795
9835
  "aria-disabled": C.disabled,
9796
9836
  "aria-selected": M.value,
9797
9837
  class: O(A.value),
9798
9838
  disabled: C.disabled,
9799
- style: j1(L.value),
9839
+ style: Y1(L.value),
9800
9840
  onClick: l[0] || (l[0] = r1((n) => e(C.id), ["stop"]))
9801
9841
  }, [
9802
9842
  k(d.$slots, "prepend", {
9803
9843
  active: M.value,
9804
9844
  disabled: C.disabled
9805
9845
  }, () => [
9806
- C.variant !== A1(c1).TEXT && C.prependIcon ? (m(), D(R, {
9846
+ C.variant !== A1(p1).TEXT && C.prependIcon ? (m(), D(R, {
9807
9847
  key: 0,
9808
9848
  class: "r-tab-item__prepend-icon",
9809
9849
  name: C.prependIcon,
9810
9850
  size: 16
9811
9851
  }, null, 8, ["name"])) : g("", !0)
9812
9852
  ]),
9813
- C.variant !== A1(c1).ICON ? (m(), a("span", H0, [
9853
+ C.variant !== A1(p1).ICON ? (m(), Z("span", L0, [
9814
9854
  k(d.$slots, "default", {
9815
9855
  label: C.label
9816
9856
  }, () => [
9817
- f1(v(C.label), 1)
9857
+ h1(b(C.label), 1)
9818
9858
  ])
9819
9859
  ])) : g("", !0),
9820
9860
  k(d.$slots, "append", {
9821
9861
  active: M.value,
9822
9862
  disabled: C.disabled
9823
9863
  }, () => [
9824
- C.variant !== A1(c1).TEXT && C.appendIcon ? (m(), D(R, {
9864
+ C.variant !== A1(p1).TEXT && C.appendIcon ? (m(), D(R, {
9825
9865
  key: 0,
9826
9866
  class: "r-tab-item__append-icon",
9827
9867
  name: C.appendIcon,
9828
9868
  size: 16
9829
9869
  }, null, 8, ["name"])) : g("", !0)
9830
9870
  ])
9831
- ], 14, C0));
9871
+ ], 14, V0));
9832
9872
  }
9833
- }), L0 = ["id"], M0 = ["id"], e7 = /* @__PURE__ */ T({
9873
+ }), i0 = ["id"], A0 = ["id"], t7 = /* @__PURE__ */ T({
9834
9874
  __name: "RTabs",
9835
9875
  props: {
9836
9876
  tabs: { default: () => [] },
@@ -9846,12 +9886,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9846
9886
  "r-tabs": !0,
9847
9887
  "r-tabs--tile": C.tile
9848
9888
  }));
9849
- return W(
9889
+ return N(
9850
9890
  () => A.value,
9851
9891
  () => {
9852
9892
  i("update:modelValue", A.value);
9853
9893
  }
9854
- ), W(
9894
+ ), N(
9855
9895
  () => C.modelValue,
9856
9896
  () => {
9857
9897
  A.value = C.modelValue;
@@ -9859,11 +9899,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9859
9899
  {
9860
9900
  immediate: !0
9861
9901
  }
9862
- ), (M, e) => (m(), a("div", {
9902
+ ), (M, e) => (m(), Z("div", {
9863
9903
  id: M.id,
9864
9904
  class: O(L.value)
9865
9905
  }, [
9866
- Z("div", {
9906
+ s("div", {
9867
9907
  id: `${M.id}-tabs`,
9868
9908
  class: O(["flex", [{
9869
9909
  "w-full": C.block,
@@ -9875,7 +9915,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9875
9915
  id: `${M.id}-slot`,
9876
9916
  activeTab: A.value
9877
9917
  }, () => [
9878
- (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, {
9879
9919
  id: d.id,
9880
9920
  key: l,
9881
9921
  modelValue: A.value,
@@ -9889,10 +9929,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9889
9929
  variant: d.variant
9890
9930
  }, null, 8, ["id", "modelValue", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9891
9931
  ])
9892
- ], 10, M0)
9893
- ], 10, L0));
9932
+ ], 10, A0)
9933
+ ], 10, i0));
9894
9934
  }
9895
- }), 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({
9896
9936
  __name: "RTextArea",
9897
9937
  props: {
9898
9938
  id: { default: "" },
@@ -9906,13 +9946,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9906
9946
  },
9907
9947
  emits: ["update:modelValue"],
9908
9948
  setup(H, { emit: V }) {
9909
- const C = H, i = V, A = D1({
9949
+ const C = H, i = V, A = E1({
9910
9950
  value: ""
9911
9951
  });
9912
9952
  function L(e) {
9913
9953
  i("update:modelValue", e.target.value);
9914
9954
  }
9915
- W(
9955
+ N(
9916
9956
  () => C.modelValue,
9917
9957
  (e) => {
9918
9958
  A.value = e;
@@ -9922,18 +9962,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9922
9962
  }
9923
9963
  );
9924
9964
  const M = f(() => C.id || "r-textarea");
9925
- return (e, d) => (m(), a("div", {
9965
+ return (e, d) => (m(), Z("div", {
9926
9966
  id: M.value,
9927
9967
  class: "r-textarea-wrapper"
9928
9968
  }, [
9929
- C.label ? (m(), D(b2, {
9969
+ C.label ? (m(), D(w2, {
9930
9970
  key: 0,
9931
9971
  id: `${M.value}`,
9932
9972
  class: "r-textarea__label",
9933
9973
  for: M.value,
9934
9974
  text: C.label
9935
9975
  }, null, 8, ["id", "for", "text"])) : g("", !0),
9936
- Z("textarea", E1(e.$attrs, {
9976
+ s("textarea", _1(e.$attrs, {
9937
9977
  id: `${M.value}`,
9938
9978
  class: ["r-textarea", {
9939
9979
  "r-textarea--error": C.errorMsg,
@@ -9943,28 +9983,28 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9943
9983
  placeholder: C.placeholder,
9944
9984
  value: A.value,
9945
9985
  onInput: L
9946
- }), null, 16, A0),
9947
- C.hideDetails ? g("", !0) : (m(), a("div", {
9986
+ }), null, 16, d0),
9987
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
9948
9988
  key: 1,
9949
9989
  id: `${M.value}-details`,
9950
9990
  class: "r-textarea__details"
9951
9991
  }, [
9952
- C.errorMsg ? (m(), a("p", {
9992
+ C.errorMsg ? (m(), Z("p", {
9953
9993
  key: 0,
9954
9994
  id: `${M.value}-error`,
9955
9995
  class: "r-textarea__error"
9956
- }, v(C.errorMsg), 9, d0)) : (m(), a("p", {
9996
+ }, b(C.errorMsg), 9, m0)) : (m(), Z("p", {
9957
9997
  key: 1,
9958
9998
  id: `${M.value}-hint`,
9959
9999
  class: "r-textarea__hint"
9960
- }, v(C.hint), 9, t0))
9961
- ], 8, e0))
9962
- ], 8, i0));
10000
+ }, b(C.hint), 9, l0))
10001
+ ], 8, t0))
10002
+ ], 8, e0));
9963
10003
  }
9964
- }), 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 = {
9965
10005
  key: 1,
9966
10006
  class: "r-textfield__hint"
9967
- }, t7 = /* @__PURE__ */ T({
10007
+ }, l7 = /* @__PURE__ */ T({
9968
10008
  __name: "RTextfield",
9969
10009
  props: {
9970
10010
  id: { default: "" },
@@ -9994,7 +10034,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9994
10034
  "click:clear"
9995
10035
  ],
9996
10036
  setup(H, { emit: V }) {
9997
- const C = H, i = V, A = E(), L = D1({
10037
+ const C = H, i = V, A = E(), L = E1({
9998
10038
  value: ""
9999
10039
  }), M = E(C.type), e = {
10000
10040
  password: "mdiLock",
@@ -10021,14 +10061,14 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10021
10061
  "r-textfield__prepend-icon": !0,
10022
10062
  "r-textfield__prepend-icon--loading": C.loading,
10023
10063
  "r-textfield__prepend-icon--error": u.value && l.value
10024
- })), b = f(() => ({
10064
+ })), v = f(() => ({
10025
10065
  "r-textfield__append-icon": !0,
10026
10066
  "r-textfield__append-icon--clear": o.value,
10027
10067
  "r-textfield__append-icon--error": u.value
10028
10068
  })), B = f(() => {
10029
10069
  const { prependIcon: h, type: F } = C;
10030
10070
  return h === "none" ? "" : h || e[F];
10031
- }), y = f(() => {
10071
+ }), P = f(() => {
10032
10072
  const { appendIcon: h, type: F } = C;
10033
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;
10034
10074
  }), c = f(() => C.id || "r-textfield");
@@ -10041,7 +10081,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10041
10081
  function x(h) {
10042
10082
  L.value = h.target.value, i("input", h);
10043
10083
  }
10044
- function U() {
10084
+ function z() {
10045
10085
  var h;
10046
10086
  if (o.value) {
10047
10087
  L.value = "", (h = A.value) == null || h.focus(), i("click:clear", {
@@ -10060,7 +10100,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10060
10100
  var h;
10061
10101
  (h = A.value) == null || h.focus();
10062
10102
  }
10063
- return W(
10103
+ return N(
10064
10104
  () => C.modelValue,
10065
10105
  (h) => {
10066
10106
  L.value = h;
@@ -10068,7 +10108,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10068
10108
  {
10069
10109
  immediate: !0
10070
10110
  }
10071
- ), W(
10111
+ ), N(
10072
10112
  () => L.value,
10073
10113
  (h) => {
10074
10114
  i(
@@ -10076,11 +10116,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10076
10116
  M.value === "number" ? +h : h
10077
10117
  );
10078
10118
  }
10079
- ), (h, F) => (m(), a("div", {
10119
+ ), (h, F) => (m(), Z("div", {
10080
10120
  id: c.value,
10081
10121
  class: "r-textfield__wrapper"
10082
10122
  }, [
10083
- C.label ? (m(), D(b2, {
10123
+ C.label ? (m(), D(w2, {
10084
10124
  key: 0,
10085
10125
  id: `${c.value}`,
10086
10126
  class: "r-textfield__label",
@@ -10088,11 +10128,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10088
10128
  text: C.label,
10089
10129
  onClick: J
10090
10130
  }, null, 8, ["id", "for", "text"])) : g("", !0),
10091
- Z("div", {
10131
+ s("div", {
10092
10132
  id: `${c.value}-input-wrapper`,
10093
10133
  class: "input-wrapper"
10094
10134
  }, [
10095
- Z("div", {
10135
+ s("div", {
10096
10136
  id: `${c.value}-input-wrapper-inner`,
10097
10137
  class: O(r.value)
10098
10138
  }, [
@@ -10110,7 +10150,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10110
10150
  size: 20
10111
10151
  }, null, 8, ["id", "class", "name"])) : g("", !0)
10112
10152
  ]),
10113
- Z("input", E1(h.$attrs, {
10153
+ s("input", _1(h.$attrs, {
10114
10154
  id: `${c.value}`,
10115
10155
  ref_key: "inputRef",
10116
10156
  ref: A,
@@ -10125,7 +10165,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10125
10165
  onBlur: _,
10126
10166
  onFocus: w,
10127
10167
  onInput: x
10128
- }), null, 16, n0),
10168
+ }), null, 16, a0),
10129
10169
  k(h.$slots, "append", {
10130
10170
  id: `${c.value}-append-slot`,
10131
10171
  disabled: C.disabled,
@@ -10137,34 +10177,34 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10137
10177
  id: `${c.value}-append-icon`,
10138
10178
  name: M.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
10139
10179
  size: 20,
10140
- onClick: U
10180
+ onClick: z
10141
10181
  }, null, 8, ["id", "name"])) : g("", !0),
10142
- y.value && !h.$slots.append || u.value ? (m(), D(R, {
10182
+ P.value && !h.$slots.append || u.value ? (m(), D(R, {
10143
10183
  key: 1,
10144
10184
  id: `${c.value}-append-icon`,
10145
- class: O(b.value),
10146
- name: `${y.value}`,
10185
+ class: O(v.value),
10186
+ name: `${P.value}`,
10147
10187
  size: 20,
10148
- onClick: U
10188
+ onClick: z
10149
10189
  }, null, 8, ["id", "class", "name"])) : g("", !0)
10150
10190
  ])
10151
- ], 10, o0),
10152
- C.hideDetails ? g("", !0) : (m(), a("div", {
10191
+ ], 10, r0),
10192
+ C.hideDetails ? g("", !0) : (m(), Z("div", {
10153
10193
  key: 0,
10154
10194
  id: `${c.value}-details`,
10155
10195
  class: "r-textfield__details"
10156
10196
  }, [
10157
- C.errorMsg ? (m(), a("p", {
10197
+ C.errorMsg ? (m(), Z("p", {
10158
10198
  key: 0,
10159
10199
  id: `${c.value}-error`,
10160
10200
  class: "r-textfield__error"
10161
- }, v(C.errorMsg), 9, a0)) : g("", !0),
10162
- !C.errorMsg && C.hint ? (m(), a("p", Z0, v(C.hint), 1)) : g("", !0)
10163
- ], 8, r0))
10164
- ], 8, l0)
10165
- ], 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));
10166
10206
  }
10167
- }), u0 = ["id"], S0 = ["id"], m7 = /* @__PURE__ */ T({
10207
+ }), s0 = ["id"], c0 = ["id"], o7 = /* @__PURE__ */ T({
10168
10208
  __name: "RBreadcrumb",
10169
10209
  props: {
10170
10210
  items: { default: () => [] },
@@ -10174,12 +10214,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10174
10214
  setup(H) {
10175
10215
  const V = H;
10176
10216
  return (C, i) => {
10177
- const A = F2("router-link");
10178
- return m(), a("div", {
10217
+ const A = x2("router-link");
10218
+ return m(), Z("div", {
10179
10219
  id: C.id,
10180
10220
  class: "r-breadcrumb"
10181
10221
  }, [
10182
- (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", {
10183
10223
  key: M,
10184
10224
  class: "r-breadcrumb__item"
10185
10225
  }, [
@@ -10188,18 +10228,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10188
10228
  class: "r-breadcrumb__link",
10189
10229
  to: L.to
10190
10230
  }, {
10191
- default: P1(() => [
10231
+ default: T1(() => [
10192
10232
  k(C.$slots, "item-icon", {}, () => [
10193
10233
  L.icon ? (m(), D(R, {
10194
10234
  key: 0,
10195
10235
  name: L.icon
10196
10236
  }, null, 8, ["name"])) : g("", !0)
10197
10237
  ]),
10198
- L.onlyIcon ? g("", !0) : (m(), a("span", {
10238
+ L.onlyIcon ? g("", !0) : (m(), Z("span", {
10199
10239
  key: 0,
10200
10240
  id: `${C.id}-title-${M}`,
10201
10241
  class: "r-breadcrumb__title"
10202
- }, v(L.title), 9, S0))
10242
+ }, b(L.title), 9, c0))
10203
10243
  ]),
10204
10244
  _: 2
10205
10245
  }, 1032, ["id", "to"]),
@@ -10214,40 +10254,40 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10214
10254
  }, null, 8, ["id", "name"])) : g("", !0)
10215
10255
  ])
10216
10256
  ]))), 128))
10217
- ], 8, u0);
10257
+ ], 8, s0);
10218
10258
  };
10219
10259
  }
10220
- }), 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", {
10221
10261
  d: "M0 0h24v24H0z",
10222
10262
  fill: "none",
10223
10263
  stroke: "none"
10224
- }, null, -1), g0 = /* @__PURE__ */ Z("path", { d: "M7 6v12" }, null, -1), k0 = /* @__PURE__ */ Z("path", { d: "M18 6l-6 6l6 6" }, null, -1), B0 = [
10225
- h0,
10226
- g0,
10227
- k0
10228
- ], 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", {
10229
10269
  d: "M0 0h24v24H0z",
10230
10270
  fill: "none",
10231
10271
  stroke: "none"
10232
- }, null, -1), w0 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), y0 = [
10233
- v0,
10234
- w0
10235
- ], 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", {
10236
10276
  d: "M0 0h24v24H0z",
10237
10277
  fill: "none",
10238
10278
  stroke: "none"
10239
- }, null, -1), F0 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), R0 = [
10240
- T0,
10241
- F0
10242
- ], 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", {
10243
10283
  d: "M0 0h24v24H0z",
10244
10284
  fill: "none",
10245
10285
  stroke: "none"
10246
- }, null, -1), E0 = /* @__PURE__ */ Z("path", { d: "M6 6l6 6l-6 6" }, null, -1), _0 = /* @__PURE__ */ Z("path", { d: "M17 5v13" }, null, -1), $0 = [
10247
- D0,
10248
- E0,
10249
- _0
10250
- ], 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({
10251
10291
  __name: "RPagination",
10252
10292
  props: {
10253
10293
  page: { default: 1 },
@@ -10265,9 +10305,9 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10265
10305
  start: C.page * C.perPage - C.perPage,
10266
10306
  end: C.page * C.perPage
10267
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);
10268
- W(() => M.value, () => {
10308
+ N(() => M.value, () => {
10269
10309
  i("update:info", M.value);
10270
- }), W(() => C.perPage, () => {
10310
+ }), N(() => C.perPage, () => {
10271
10311
  A.value = C.perPage, n(1);
10272
10312
  });
10273
10313
  function n(o) {
@@ -10281,20 +10321,20 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10281
10321
  }
10282
10322
  i("update:perPage", 10);
10283
10323
  }
10284
- return (o, r) => (m(), a("div", {
10324
+ return (o, r) => (m(), Z("div", {
10285
10325
  id: o.id,
10286
10326
  class: O(["r-pagination", [`r-pagination--${C.position}`]])
10287
10327
  }, [
10288
- Z("div", {
10328
+ s("div", {
10289
10329
  id: `${o.id}-paginator`,
10290
10330
  class: "r-pagination__paginator"
10291
10331
  }, [
10292
- Z("div", {
10332
+ s("div", {
10293
10333
  id: `${o.id}-paginator-per-page`,
10294
10334
  class: "r-pagination__paginator__per-page"
10295
10335
  }, [
10296
- Z("span", null, v(C.itemsPerPageText), 1),
10297
- C1(P3, {
10336
+ s("span", null, b(C.itemsPerPageText), 1),
10337
+ C1(F3, {
10298
10338
  modelValue: A.value,
10299
10339
  "onUpdate:modelValue": [
10300
10340
  r[0] || (r[0] = (S) => A.value = S),
@@ -10305,12 +10345,12 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10305
10345
  "hide-option-check-icon": "",
10306
10346
  options: C.perPageOptions
10307
10347
  }, null, 8, ["modelValue", "options"])
10308
- ], 8, p0),
10309
- Z("span", {
10348
+ ], 8, f0),
10349
+ s("span", {
10310
10350
  id: `${o.id}-paginator-info`,
10311
10351
  class: "r-pagination__paginator__info"
10312
- }, v(e.value), 9, O0),
10313
- Z("button", {
10352
+ }, b(e.value), 9, h0),
10353
+ s("button", {
10314
10354
  id: `${o.id}-paginator-first`,
10315
10355
  class: "r-pagination__paginator__first",
10316
10356
  disabled: l.value,
@@ -10319,7 +10359,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10319
10359
  k(o.$slots, "first", {
10320
10360
  id: `${o.id}-paginator-first-slot`
10321
10361
  }, () => [
10322
- (m(), a("svg", {
10362
+ (m(), Z("svg", {
10323
10363
  class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": l.value }]),
10324
10364
  fill: "none",
10325
10365
  height: "20",
@@ -10330,10 +10370,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10330
10370
  viewBox: "0 0 24 24",
10331
10371
  width: "20",
10332
10372
  xmlns: "http://www.w3.org/2000/svg"
10333
- }, B0, 2))
10373
+ }, v0, 2))
10334
10374
  ])
10335
- ], 8, f0),
10336
- Z("button", {
10375
+ ], 8, g0),
10376
+ s("button", {
10337
10377
  id: `${o.id}-paginator-prev`,
10338
10378
  class: "r-pagination__paginator__prev",
10339
10379
  disabled: l.value,
@@ -10342,7 +10382,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10342
10382
  k(o.$slots, "prev", {
10343
10383
  id: `${o.id}-paginator-prev-slot`
10344
10384
  }, () => [
10345
- (m(), a("svg", {
10385
+ (m(), Z("svg", {
10346
10386
  class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": l.value }]),
10347
10387
  fill: "none",
10348
10388
  height: "20",
@@ -10353,10 +10393,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10353
10393
  viewBox: "0 0 24 24",
10354
10394
  width: "20",
10355
10395
  xmlns: "http://www.w3.org/2000/svg"
10356
- }, y0, 2))
10396
+ }, T0, 2))
10357
10397
  ])
10358
- ], 8, b0),
10359
- Z("button", {
10398
+ ], 8, w0),
10399
+ s("button", {
10360
10400
  id: `${o.id}-paginator-next`,
10361
10401
  class: "r-pagination__paginator__next",
10362
10402
  disabled: d.value,
@@ -10365,7 +10405,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10365
10405
  k(o.$slots, "next", {
10366
10406
  id: `${o.id}-paginator-next-slot`
10367
10407
  }, () => [
10368
- (m(), a("svg", {
10408
+ (m(), Z("svg", {
10369
10409
  class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10370
10410
  fill: "none",
10371
10411
  height: "20",
@@ -10376,10 +10416,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10376
10416
  viewBox: "0 0 24 24",
10377
10417
  width: "20",
10378
10418
  xmlns: "http://www.w3.org/2000/svg"
10379
- }, R0, 2))
10419
+ }, D0, 2))
10380
10420
  ])
10381
- ], 8, P0),
10382
- Z("button", {
10421
+ ], 8, F0),
10422
+ s("button", {
10383
10423
  id: `${o.id}-paginator-last`,
10384
10424
  class: "r-pagination__paginator__last",
10385
10425
  disabled: C.page === L.value,
@@ -10388,7 +10428,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10388
10428
  k(o.$slots, "last", {
10389
10429
  id: `${o.id}-paginator-last-slot`
10390
10430
  }, () => [
10391
- (m(), a("svg", {
10431
+ (m(), Z("svg", {
10392
10432
  class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10393
10433
  fill: "none",
10394
10434
  height: "20",
@@ -10399,13 +10439,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10399
10439
  viewBox: "0 0 24 24",
10400
10440
  width: "20",
10401
10441
  xmlns: "http://www.w3.org/2000/svg"
10402
- }, $0, 2))
10442
+ }, N0, 2))
10403
10443
  ])
10404
- ], 8, x0)
10405
- ], 8, c0)
10406
- ], 10, s0));
10444
+ ], 8, E0)
10445
+ ], 8, O0)
10446
+ ], 10, p0));
10407
10447
  }
10408
- }), W0 = ["id", "value"], o7 = /* @__PURE__ */ T({
10448
+ }), I0 = ["id", "value"], r7 = /* @__PURE__ */ T({
10409
10449
  __name: "RProgressbar",
10410
10450
  props: {
10411
10451
  value: { default: 0 },
@@ -10414,17 +10454,17 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10414
10454
  },
10415
10455
  setup(H) {
10416
10456
  const V = H;
10417
- return (C, i) => (m(), a("progress", {
10457
+ return (C, i) => (m(), Z("progress", {
10418
10458
  id: C.id,
10419
10459
  "aria-valuemax": 100,
10420
10460
  class: "r-progressbar",
10421
10461
  max: 100,
10422
10462
  role: "progressbar",
10423
- style: j1({ height: `${V.height}px` }),
10463
+ style: Y1({ height: `${V.height}px` }),
10424
10464
  value: V.value
10425
- }, null, 12, W0));
10465
+ }, null, 12, I0));
10426
10466
  }
10427
- }), w1 = "rocket-ui:r-item-group", n7 = /* @__PURE__ */ T({
10467
+ }), y1 = "rocket-ui:r-item-group", a7 = /* @__PURE__ */ T({
10428
10468
  __name: "RItemGroup",
10429
10469
  props: {
10430
10470
  modelValue: { default: () => [] },
@@ -10439,22 +10479,22 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10439
10479
  emits: ["update:modelValue"],
10440
10480
  setup(H, { emit: V }) {
10441
10481
  const C = H, i = V, A = E(C.as ?? "div"), L = E(C.modelValue), M = f(() => C.selectedClass);
10442
- b1(`${w1}:selectedClass`, M.value);
10482
+ v1(`${y1}:selectedClass`, M.value);
10443
10483
  function e(n) {
10444
10484
  return L.value.includes(n);
10445
10485
  }
10446
- b1(`${w1}:isSelected`, e);
10486
+ v1(`${y1}:isSelected`, e);
10447
10487
  function d(n, u) {
10448
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));
10449
10489
  }
10450
- b1(`${w1}:select`, d);
10490
+ v1(`${y1}:select`, d);
10451
10491
  function l() {
10452
10492
  return C.disabled;
10453
10493
  }
10454
- return b1(`${w1}:isDisabled`, l), W(() => C.modelValue, () => {
10494
+ return v1(`${y1}:isDisabled`, l), N(() => C.modelValue, () => {
10455
10495
  L.value = C.modelValue;
10456
- }), (n, u) => (m(), D(R2(A.value), { id: n.id }, {
10457
- default: P1(() => [
10496
+ }), (n, u) => (m(), D(D2(A.value), { id: n.id }, {
10497
+ default: T1(() => [
10458
10498
  k(n.$slots, "default", {
10459
10499
  id: `${n.id}-slot`,
10460
10500
  isSelected: e,
@@ -10465,7 +10505,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10465
10505
  _: 3
10466
10506
  }, 8, ["id"]));
10467
10507
  }
10468
- }), y1 = "rocket-ui:r-item-group", r7 = /* @__PURE__ */ T({
10508
+ }), P1 = "rocket-ui:r-item-group", Z7 = /* @__PURE__ */ T({
10469
10509
  __name: "RItem",
10470
10510
  props: {
10471
10511
  value: { default: null },
@@ -10473,7 +10513,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10473
10513
  id: { default: "r-item" }
10474
10514
  },
10475
10515
  setup(H) {
10476
- 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]);
10477
10517
  function e() {
10478
10518
  V.disabled || A(V.value, !C(V.value));
10479
10519
  }
@@ -10489,7 +10529,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10489
10529
  toggle: e
10490
10530
  });
10491
10531
  }
10492
- }), 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({
10493
10533
  __name: "RRadio",
10494
10534
  props: {
10495
10535
  id: { default: "" },
@@ -10511,13 +10551,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10511
10551
  "r-radio--error": V.errorMsg
10512
10552
  }
10513
10553
  ]);
10514
- return W(() => V.modelValue, (L) => {
10554
+ return N(() => V.modelValue, (L) => {
10515
10555
  i.value = L;
10516
- }, { immediate: !0 }), (L, M) => (m(), a("div", {
10556
+ }, { immediate: !0 }), (L, M) => (m(), Z("div", {
10517
10557
  id: C.value,
10518
10558
  class: O(A.value)
10519
10559
  }, [
10520
- Z("input", E1(L.$attrs, {
10560
+ s("input", _1(L.$attrs, {
10521
10561
  id: `${C.value}`,
10522
10562
  checked: i.value,
10523
10563
  class: "r-radio__input",
@@ -10526,62 +10566,62 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10526
10566
  type: "radio",
10527
10567
  value: V.value,
10528
10568
  onChange: M[0] || (M[0] = (e) => L.$emit("update:modelValue"))
10529
- }), null, 16, I0),
10530
- Z("span", {
10569
+ }), null, 16, G0),
10570
+ s("span", {
10531
10571
  id: `${C.value}`,
10532
10572
  class: O(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10533
10573
  onClick: M[1] || (M[1] = (e) => L.$emit("update:modelValue"))
10534
10574
  }, [
10535
- Z("span", {
10575
+ s("span", {
10536
10576
  id: `${C.value}-custom`,
10537
10577
  class: O(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10538
- }, null, 10, G0),
10539
- Z("div", U0, [
10540
- V.title ? (m(), a("span", {
10578
+ }, null, 10, z0),
10579
+ s("div", K0, [
10580
+ V.title ? (m(), Z("span", {
10541
10581
  key: 0,
10542
10582
  id: `${C.value}-title`,
10543
10583
  class: O(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10544
- }, v(V.title), 11, z0)) : g("", !0),
10545
- Z("span", null, v(V.label), 1)
10584
+ }, b(V.title), 11, q0)) : g("", !0),
10585
+ s("span", null, b(V.label), 1)
10546
10586
  ])
10547
- ], 10, Q0),
10548
- V.hint && !V.errorMsg ? (m(), a("span", {
10587
+ ], 10, U0),
10588
+ V.hint && !V.errorMsg ? (m(), Z("span", {
10549
10589
  key: 0,
10550
10590
  id: `${C.value}-hint`,
10551
10591
  class: O(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10552
- }, v(V.hint), 11, K0)) : g("", !0),
10553
- V.errorMsg ? (m(), a("span", {
10592
+ }, b(V.hint), 11, j0)) : g("", !0),
10593
+ V.errorMsg ? (m(), Z("span", {
10554
10594
  key: 1,
10555
10595
  id: `${C.value}-error`,
10556
10596
  class: "r-radio__error"
10557
- }, v(V.errorMsg), 9, q0)) : g("", !0)
10558
- ], 10, N0));
10597
+ }, b(V.errorMsg), 9, X0)) : g("", !0)
10598
+ ], 10, Q0));
10559
10599
  }
10560
10600
  });
10561
10601
  export {
10562
- X0 as RAccordion,
10563
- Y0 as RAlert,
10564
- J0 as RAvatar,
10565
- C7 as RBadge,
10566
- m7 as RBreadcrumb,
10567
- H7 as RButton,
10568
- V7 as RCheckbox,
10569
- S5 as RChip,
10570
- 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,
10571
10611
  R as RIcon,
10572
- r7 as RItem,
10573
- n7 as RItemGroup,
10574
- b2 as RLabel,
10575
- L7 as RModal,
10576
- l7 as RPagination,
10577
- o7 as RProgressbar,
10578
- a7 as RRadio,
10579
- M7 as RSidebar,
10580
- i7 as RSnackbar,
10581
- A7 as RSwitch,
10582
- V0 as RTabItem,
10583
- e7 as RTabs,
10584
- d7 as RTextArea,
10585
- t7 as RTextfield,
10586
- 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
10587
10627
  };