@rocketui/vue 0.2.93-beta.1 → 0.2.93

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 P, openBlock as m, createElementBlock as a, createElementVNode as S, unref as A1, reactive as D1, Fragment as i1, renderList as o1, normalizeClass as O, renderSlot as B, toDisplayString as b, createVNode as J, computed as f, createCommentVNode as k, mergeProps as E1, createBlock as R, watch as $, getCurrentScope as b2, onScopeDispose as v2, ref as D, watchEffect as H2, onMounted as l2, onUnmounted as q1, Teleport as w2, withCtx as P1, withDirectives as o2, withModifiers as n1, withKeys as V2, vModelText as y2, createTextVNode as f1, normalizeStyle as j1, vShow as P2, resolveComponent as T2, provide as b1, resolveDynamicComponent as F2, inject as v1 } from "vue";
2
+ const R2 = {
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
+ }, x2 = ["id", "height", "viewBox", "width"], D2 = ["id", "d"], F = /* @__PURE__ */ P({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7312,13 +7312,13 @@ const x2 = {
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(R2)[V.name]
7318
+ }, null, 8, D2)
7319
+ ], 8, x2));
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
+ }), E2 = ["id", "data-state", "onClick"], _2 = ["id"], $2 = { class: "r-accordion__title" }, W2 = ["id"], N2 = ["id"], I2 = ["id"], j0 = /* @__PURE__ */ P({
7322
7322
  __name: "RAccordion",
7323
7323
  props: {
7324
7324
  accordions: {},
@@ -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), a(i1, null, o1(C, (M, e) => (m(), a("div", {
7349
7349
  id: `${A.id}-${e}`,
7350
7350
  key: e,
7351
7351
  class: O(["r-accordion", {
@@ -7355,48 +7355,48 @@ 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
- k(A.$slots, "title", { accordion: M }, () => [
7363
- Z("div", W2, v(M.title), 1)
7362
+ B(A.$slots, "title", { accordion: M }, () => [
7363
+ S("div", $2, 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
  }, [
7369
- k(A.$slots, "icon", {
7369
+ B(A.$slots, "icon", {
7370
7370
  id: `${A.id}-icon-${e}`,
7371
7371
  item: M,
7372
7372
  open: M.open
7373
7373
  }, () => [
7374
- C1(R, {
7374
+ J(F, {
7375
7375
  id: `${A.id}-icon-${e}`,
7376
7376
  name: "mdiChevronDown"
7377
7377
  }, null, 8, ["id"])
7378
7378
  ])
7379
- ], 8, N2)
7380
- ], 8, $2),
7381
- Z("div", {
7379
+ ], 8, W2)
7380
+ ], 8, _2),
7381
+ S("div", {
7382
7382
  id: `${A.id}-content-${e}`,
7383
7383
  class: "r-accordion__content"
7384
7384
  }, [
7385
- k(A.$slots, "content", {
7385
+ B(A.$slots, "content", {
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, I2)
7392
7392
  ])
7393
- ], 8, I2)
7394
- ], 10, _2))), 128));
7393
+ ], 8, N2)
7394
+ ], 10, E2))), 128));
7395
7395
  }
7396
- }), G2 = ["id"], U2 = ["id"], z2 = ["id"], K2 = { class: "r-alert__content__title" }, q2 = {
7396
+ }), Q2 = ["id"], G2 = ["id"], U2 = ["id"], z2 = { class: "r-alert__content__title" }, K2 = {
7397
7397
  key: 0,
7398
7398
  class: "r-alert__content__description"
7399
- }, j2 = ["id"], Y0 = /* @__PURE__ */ T({
7399
+ }, q2 = ["id"], X0 = /* @__PURE__ */ P({
7400
7400
  __name: "RAlert",
7401
7401
  props: {
7402
7402
  type: { default: "info" },
@@ -7427,36 +7427,36 @@ const x2 = {
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
  }, [
7434
- k(e.$slots, "alert-icon", {}, () => [
7435
- C1(R, {
7434
+ B(e.$slots, "alert-icon", {}, () => [
7435
+ J(F, {
7436
7436
  name: L.value,
7437
7437
  size: 24
7438
7438
  }, null, 8, ["name"])
7439
7439
  ])
7440
- ], 8, U2),
7441
- Z("div", {
7440
+ ], 8, G2),
7441
+ S("div", {
7442
7442
  id: `${e.id}-content`,
7443
7443
  class: "r-alert__content"
7444
7444
  }, [
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)
7445
+ B(e.$slots, "content", {}, () => [
7446
+ S("p", z2, b(C.title), 1),
7447
+ C.description ? (m(), a("p", K2, b(C.description), 1)) : k("", !0)
7448
7448
  ])
7449
- ], 8, z2),
7449
+ ], 8, U2),
7450
7450
  C.closable ? (m(), a("div", {
7451
7451
  key: 0,
7452
7452
  id: `${e.id}-close`,
7453
7453
  class: "r-alert__close"
7454
7454
  }, [
7455
- k(e.$slots, "custom-close", {
7455
+ B(e.$slots, "custom-close", {
7456
7456
  close: M,
7457
7457
  slotClass: "r-alert__close__button"
7458
7458
  }, () => [
7459
- C1(R, {
7459
+ J(F, {
7460
7460
  id: `${e.id}-close-button`,
7461
7461
  class: "r-alert__close__button",
7462
7462
  name: "mdiClose",
@@ -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, q2)) : k("", !0)
7468
+ ], 10, Q2));
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
+ }), L2 = "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"], X2 = ["id"], Y2 = ["id"], J2 = ["id", "alt", "src"], C5 = ["id"], Y0 = /* @__PURE__ */ P({
7471
7471
  __name: "RAvatar",
7472
7472
  props: {
7473
7473
  type: { default: "image" },
7474
- src: { default: M2 },
7474
+ src: { default: L2 },
7475
7475
  alt: { default: "Avatar" },
7476
7476
  size: { default: "2xl" },
7477
7477
  online: { type: Boolean, default: !1 },
@@ -7482,7 +7482,7 @@ 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 ? L2 : 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)}`;
@@ -7491,7 +7491,7 @@ const x2 = {
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
  }, [
@@ -7499,7 +7499,7 @@ const x2 = {
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, Y2)) : (m(), a("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),
7511
+ }, null, 10, J2))
7512
+ ], 10, X2),
7513
7513
  V.online ? (m(), a("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, C5)) : k("", !0)
7520
+ ], 8, j2));
7521
7521
  }
7522
- }), V5 = ["id"], L5 = ["id"], M5 = ["id", "innerHTML"], C7 = /* @__PURE__ */ T({
7522
+ }), H5 = ["id"], V5 = ["id"], L5 = ["id", "innerHTML"], J0 = /* @__PURE__ */ P({
7523
7523
  __name: "RBadge",
7524
7524
  props: {
7525
7525
  variant: { default: "primary" },
@@ -7550,21 +7550,21 @@ const x2 = {
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, V5),
7557
+ S("span", {
7558
7558
  id: `${i.id}-content`,
7559
7559
  class: O(C.value),
7560
7560
  innerHTML: V.content
7561
- }, null, 10, M5),
7562
- k(i.$slots, "default", {
7561
+ }, null, 10, L5),
7562
+ B(i.$slots, "default", {
7563
7563
  id: `${i.id}-slot`
7564
7564
  })
7565
- ], 10, V5));
7565
+ ], 10, H5));
7566
7566
  }
7567
- }), i5 = ["id", "disabled"], H7 = /* @__PURE__ */ T({
7567
+ }), M5 = ["id", "disabled"], C7 = /* @__PURE__ */ P({
7568
7568
  __name: "RButton",
7569
7569
  props: {
7570
7570
  variant: { default: "default" },
@@ -7603,10 +7603,10 @@ const x2 = {
7603
7603
  style: A.value,
7604
7604
  onClick: M[0] || (M[0] = (e) => L.$emit("click"))
7605
7605
  }), [
7606
- k(L.$slots, "prepend", {
7606
+ B(L.$slots, "prepend", {
7607
7607
  onlyIcon: V.icon
7608
7608
  }, () => [
7609
- V.prependIcon ? (m(), D(R, {
7609
+ V.prependIcon ? (m(), R(F, {
7610
7610
  key: 0,
7611
7611
  id: `${L.id}-prepend-icon`,
7612
7612
  class: O(["r-button__prepend-icon", {
@@ -7614,26 +7614,26 @@ const x2 = {
7614
7614
  }]),
7615
7615
  name: V.prependIcon,
7616
7616
  size: i.value
7617
- }, null, 8, ["id", "class", "name", "size"])) : g("", !0)
7617
+ }, null, 8, ["id", "class", "name", "size"])) : k("", !0)
7618
7618
  ]),
7619
- k(L.$slots, "default", {
7619
+ B(L.$slots, "default", {
7620
7620
  id: `${L.id}-slot`,
7621
7621
  disabled: L.disabled
7622
7622
  }),
7623
- k(L.$slots, "append", {
7623
+ B(L.$slots, "append", {
7624
7624
  onlyIcon: V.icon
7625
7625
  }, () => [
7626
- !V.icon && V.appendIcon ? (m(), D(R, {
7626
+ !V.icon && V.appendIcon ? (m(), R(F, {
7627
7627
  key: 0,
7628
7628
  id: `${L.id}-append-icon`,
7629
7629
  class: "r-button__append-icon",
7630
7630
  name: V.appendIcon,
7631
7631
  size: i.value
7632
- }, null, 8, ["id", "name", "size"])) : g("", !0)
7632
+ }, null, 8, ["id", "name", "size"])) : k("", !0)
7633
7633
  ])
7634
- ], 16, i5));
7634
+ ], 16, M5));
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
+ }), i5 = ["id"], A5 = ["id"], e5 = ["id", "checked", "disabled", "indeterminate"], d5 = ["id", "data-disabled"], t5 = ["id"], m5 = ["id", "data-disabled", "for"], l5 = ["id"], o5 = ["id"], n5 = ["id"], H7 = /* @__PURE__ */ P({
7637
7637
  __name: "RCheckbox",
7638
7638
  props: {
7639
7639
  id: { default: "" },
@@ -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
+ $(
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
+ ), $(
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, Z) => (m(), a("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,29 +7702,29 @@ 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, e5),
7706
+ S("div", {
7707
7707
  id: `${l.value}-icon`,
7708
7708
  class: O(e.value),
7709
7709
  "data-disabled": C.disabled
7710
7710
  }, [
7711
- C1(R, {
7711
+ J(F, {
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, d5)
7716
+ ], 8, A5),
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, m5),
7727
+ C.hideDetails ? k("", !0) : (m(), a("div", {
7728
7728
  key: 0,
7729
7729
  id: `${l.value}-details`,
7730
7730
  class: "r-checkbox-texts__details"
@@ -7733,16 +7733,16 @@ const x2 = {
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, o5)) : (m(), a("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, n5))
7741
+ ], 8, l5))
7742
+ ], 8, t5)
7743
+ ], 8, i5));
7744
7744
  }
7745
- }), a5 = ["id"], Z5 = ["id"], u5 = ["id"], S5 = /* @__PURE__ */ T({
7745
+ }), r5 = ["id"], a5 = ["id"], Z5 = ["id"], u5 = /* @__PURE__ */ P({
7746
7746
  __name: "RChip",
7747
7747
  props: {
7748
7748
  variant: { default: "primary" },
@@ -7775,32 +7775,32 @@ const x2 = {
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))
7782
7782
  }, [
7783
- k(d.$slots, "prepend", {
7783
+ B(d.$slots, "prepend", {
7784
7784
  disabled: C.disabled
7785
7785
  }, () => [
7786
- C.prependIcon ? (m(), D(R, {
7786
+ C.prependIcon ? (m(), R(F, {
7787
7787
  key: 0,
7788
7788
  id: `${d.id}-prepend-icon`,
7789
7789
  "aria-disabled": C.disabled,
7790
7790
  class: "r-chip__content__prepend-icon",
7791
7791
  name: C.prependIcon,
7792
7792
  size: 12
7793
- }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7793
+ }, null, 8, ["id", "aria-disabled", "name"])) : k("", !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),
7800
- k(d.$slots, "append", {
7798
+ }, b(C.label), 11, Z5)
7799
+ ], 8, a5),
7800
+ B(d.$slots, "append", {
7801
7801
  disabled: C.disabled
7802
7802
  }, () => [
7803
- e.value ? (m(), D(R, {
7803
+ e.value ? (m(), R(F, {
7804
7804
  key: 0,
7805
7805
  id: `${d.id}-append-icon`,
7806
7806
  "aria-disabled": C.disabled,
@@ -7808,67 +7808,67 @@ const x2 = {
7808
7808
  name: e.value,
7809
7809
  size: 12,
7810
7810
  onClick: l[1] || (l[1] = (n) => M(n))
7811
- }, null, 8, ["id", "aria-disabled", "name"])) : g("", !0)
7811
+ }, null, 8, ["id", "aria-disabled", "name"])) : k("", !0)
7812
7812
  ])
7813
- ], 10, a5));
7813
+ ], 10, r5));
7814
7814
  }
7815
7815
  });
7816
- function s5(H) {
7817
- return v2() ? (w2(H), !0) : !1;
7816
+ function S5(H) {
7817
+ return b2() ? (v2(H), !0) : !1;
7818
7818
  }
7819
- function r2(H) {
7819
+ function n2(H) {
7820
7820
  return typeof H == "function" ? H() : A1(H);
7821
7821
  }
7822
- const a2 = typeof window < "u" && typeof document < "u";
7822
+ const r2 = 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 s5 = Object.prototype.toString, c5 = (H) => s5.call(H) === "[object Object]", Q1 = () => {
7825
+ }, p5 = /* @__PURE__ */ O5();
7826
+ function O5() {
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 r2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7829
7829
  }
7830
7830
  function s1(H) {
7831
7831
  var V;
7832
- const C = r2(H);
7832
+ const C = n2(H);
7833
7833
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7834
7834
  }
7835
- const Z2 = a2 ? window : void 0;
7835
+ const a2 = r2 ? window : void 0;
7836
7836
  function I1(...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)
7838
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, i, A] = H, V = a2) : [V, C, i, A] = H, !V)
7839
7839
  return Q1;
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)],
7845
- ([n, u]) => {
7843
+ }, e = (n, Z, o, r) => (n.addEventListener(Z, o, r), () => n.removeEventListener(Z, o, r)), d = $(
7844
+ () => [s1(V), n2(A)],
7845
+ ([n, Z]) => {
7846
7846
  if (M(), !n)
7847
7847
  return;
7848
- const o = p5(u) ? { ...u } : u;
7848
+ const o = c5(Z) ? { ...Z } : Z;
7849
7849
  L.push(
7850
- ...C.flatMap((r) => i.map((S) => e(n, r, S, o)))
7850
+ ...C.flatMap((r) => i.map((u) => e(n, r, u, o)))
7851
7851
  );
7852
7852
  },
7853
7853
  { immediate: !0, flush: "post" }
7854
7854
  ), l = () => {
7855
7855
  d(), M();
7856
7856
  };
7857
- return s5(l), l;
7857
+ return S5(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 M2 = !1;
7860
+ function f5(H, V, C = {}) {
7861
+ const { window: i = a2, 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
+ p5 && !M2 && (M2 = !0, Array.from(i.document.body.children).forEach((o) => o.addEventListener("click", Q1)), i.document.documentElement.addEventListener("click", Q1));
7865
7865
  let e = !0;
7866
7866
  const d = (o) => A.some((r) => {
7867
7867
  if (typeof r == "string")
7868
- return Array.from(i.document.querySelectorAll(r)).some((S) => S === o.target || o.composedPath().includes(S));
7868
+ return Array.from(i.document.querySelectorAll(r)).some((u) => u === o.target || o.composedPath().includes(u));
7869
7869
  {
7870
- const S = s1(r);
7871
- return S && (o.target === S || o.composedPath().includes(S));
7870
+ const u = s1(r);
7871
+ return u && (o.target === u || o.composedPath().includes(u));
7872
7872
  }
7873
7873
  }), n = [
7874
7874
  I1(i, "click", (o) => {
@@ -7888,69 +7888,69 @@ function h5(H, V, C = {}) {
7888
7888
  M && I1(i, "blur", (o) => {
7889
7889
  setTimeout(() => {
7890
7890
  var r;
7891
- const S = s1(H);
7892
- ((r = i.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(S != null && S.contains(i.document.activeElement)) && V(o);
7891
+ const u = s1(H);
7892
+ ((r = i.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(u != null && u.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 h5() {
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 g5 = ["top", "right", "bottom", "left"], p1 = Math.min, r1 = Math.max, T1 = Math.round, e1 = (H) => ({
7905
7905
  x: H,
7906
7906
  y: H
7907
- }), B5 = {
7907
+ }), k5 = {
7908
7908
  left: "right",
7909
7909
  right: "left",
7910
7910
  bottom: "top",
7911
7911
  top: "bottom"
7912
- }, b5 = {
7912
+ }, B5 = {
7913
7913
  start: "end",
7914
7914
  end: "start"
7915
7915
  };
7916
7916
  function G1(H, V, C) {
7917
- return a1(H, p1(V, C));
7917
+ return r1(H, p1(V, C));
7918
7918
  }
7919
- function S1(H, V) {
7919
+ function u1(H, V) {
7920
7920
  return typeof H == "function" ? H(V) : H;
7921
7921
  }
7922
- function o1(H) {
7922
+ function l1(H) {
7923
7923
  return H.split("-")[0];
7924
7924
  }
7925
7925
  function h1(H) {
7926
7926
  return H.split("-")[1];
7927
7927
  }
7928
- function u2(H) {
7928
+ function Z2(H) {
7929
7929
  return H === "x" ? "y" : "x";
7930
7930
  }
7931
7931
  function X1(H) {
7932
7932
  return H === "y" ? "height" : "width";
7933
7933
  }
7934
7934
  function _1(H) {
7935
- return ["top", "bottom"].includes(o1(H)) ? "y" : "x";
7935
+ return ["top", "bottom"].includes(l1(H)) ? "y" : "x";
7936
7936
  }
7937
7937
  function Y1(H) {
7938
- return u2(_1(H));
7938
+ return Z2(_1(H));
7939
7939
  }
7940
- function v5(H, V, C) {
7940
+ function b5(H, V, C) {
7941
7941
  C === void 0 && (C = !1);
7942
7942
  const i = h1(H), A = Y1(H), L = X1(A);
7943
7943
  let M = A === "x" ? i === (C ? "end" : "start") ? "right" : "left" : i === "start" ? "bottom" : "top";
7944
7944
  return V.reference[L] > V.floating[L] && (M = F1(M)), [M, F1(M)];
7945
7945
  }
7946
- function w5(H) {
7946
+ function v5(H) {
7947
7947
  const V = F1(H);
7948
7948
  return [U1(H), V, U1(V)];
7949
7949
  }
7950
7950
  function U1(H) {
7951
- return H.replace(/start|end/g, (V) => b5[V]);
7951
+ return H.replace(/start|end/g, (V) => B5[V]);
7952
7952
  }
7953
- function y5(H, V, C) {
7953
+ function w5(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) {
7966
+ function y5(H, V, C, i) {
7967
7967
  const A = h1(H);
7968
- let L = y5(o1(H), C === "start", i);
7968
+ let L = w5(l1(H), C === "start", i);
7969
7969
  return A && (L = L.map((M) => M + "-" + A), V && (L = L.concat(L.map(U1)))), L;
7970
7970
  }
7971
7971
  function F1(H) {
7972
- return H.replace(/left|right|bottom|top/g, (V) => B5[V]);
7972
+ return H.replace(/left|right|bottom|top/g, (V) => k5[V]);
7973
7973
  }
7974
- function T5(H) {
7974
+ function P5(H) {
7975
7975
  return {
7976
7976
  top: 0,
7977
7977
  right: 0,
@@ -7980,8 +7980,8 @@ function T5(H) {
7980
7980
  ...H
7981
7981
  };
7982
7982
  }
7983
- function S2(H) {
7984
- return typeof H != "number" ? T5(H) : {
7983
+ function u2(H) {
7984
+ return typeof H != "number" ? P5(H) : {
7985
7985
  top: H,
7986
7986
  right: H,
7987
7987
  bottom: H,
@@ -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 i2(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 = Y1(V), e = X1(M), d = l1(V), l = L === "y", n = i.x + i.width / 2 - A.width / 2, Z = 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":
@@ -8020,13 +8020,13 @@ function A2(H, V, C) {
8020
8020
  case "right":
8021
8021
  r = {
8022
8022
  x: i.x + i.width,
8023
- y: u
8023
+ y: Z
8024
8024
  };
8025
8025
  break;
8026
8026
  case "left":
8027
8027
  r = {
8028
8028
  x: i.x - A.width,
8029
- y: u
8029
+ y: Z
8030
8030
  };
8031
8031
  break;
8032
8032
  default:
@@ -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 T5 = async (H, V, C) => {
8049
8049
  const {
8050
8050
  placement: i = "bottom",
8051
8051
  strategy: A = "absolute",
@@ -8058,20 +8058,20 @@ const F5 = async (H, V, C) => {
8058
8058
  strategy: A
8059
8059
  }), {
8060
8060
  x: n,
8061
- y: u
8062
- } = A2(l, i, d), o = i, r = {}, S = 0;
8063
- for (let b = 0; b < e.length; b++) {
8061
+ y: Z
8062
+ } = i2(l, i, d), o = i, r = {}, u = 0;
8063
+ for (let v = 0; v < e.length; v++) {
8064
8064
  const {
8065
- name: B,
8065
+ name: h,
8066
8066
  fn: y
8067
- } = e[b], {
8068
- x: c,
8067
+ } = e[v], {
8068
+ x: p,
8069
8069
  y: w,
8070
- data: _,
8070
+ data: E,
8071
8071
  reset: x
8072
8072
  } = await y({
8073
8073
  x: n,
8074
- y: u,
8074
+ y: Z,
8075
8075
  initialPlacement: i,
8076
8076
  placement: o,
8077
8077
  strategy: A,
@@ -8083,27 +8083,27 @@ const F5 = async (H, V, C) => {
8083
8083
  floating: V
8084
8084
  }
8085
8085
  });
8086
- if (n = c ?? n, u = w ?? u, r = {
8086
+ if (n = p ?? n, Z = w ?? Z, r = {
8087
8087
  ...r,
8088
- [B]: {
8089
- ...r[B],
8090
- ..._
8088
+ [h]: {
8089
+ ...r[h],
8090
+ ...E
8091
8091
  }
8092
- }, x && S <= 50) {
8093
- S++, typeof x == "object" && (x.placement && (o = x.placement), x.rects && (l = x.rects === !0 ? await M.getElementRects({
8092
+ }, x && u <= 50) {
8093
+ u++, typeof x == "object" && (x.placement && (o = x.placement), x.rects && (l = x.rects === !0 ? await M.getElementRects({
8094
8094
  reference: H,
8095
8095
  floating: V,
8096
8096
  strategy: A
8097
8097
  }) : x.rects), {
8098
8098
  x: n,
8099
- y: u
8100
- } = A2(l, o, d)), b = -1;
8099
+ y: Z
8100
+ } = i2(l, o, d)), v = -1;
8101
8101
  continue;
8102
8102
  }
8103
8103
  }
8104
8104
  return {
8105
8105
  x: n,
8106
- y: u,
8106
+ y: Z,
8107
8107
  placement: o,
8108
8108
  strategy: A,
8109
8109
  middlewareData: r
@@ -8122,37 +8122,37 @@ async function x1(H, V) {
8122
8122
  } = H, {
8123
8123
  boundary: l = "clippingAncestors",
8124
8124
  rootBoundary: n = "viewport",
8125
- elementContext: u = "floating",
8125
+ elementContext: Z = "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({
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)),
8128
+ } = u1(V, H), u = u2(r), h = e[o ? Z === "floating" ? "reference" : "floating" : Z], y = R1(await L.getClippingRect({
8129
+ element: (C = await (L.isElement == null ? void 0 : L.isElement(h))) == null || C ? h : h.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8130
8130
  boundary: l,
8131
8131
  rootBoundary: n,
8132
8132
  strategy: d
8133
- })), c = u === "floating" ? {
8133
+ })), p = Z === "floating" ? {
8134
8134
  ...M.floating,
8135
8135
  x: i,
8136
8136
  y: A
8137
- } : M.reference, w = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), _ = await (L.isElement == null ? void 0 : L.isElement(w)) ? await (L.getScale == null ? void 0 : L.getScale(w)) || {
8137
+ } : M.reference, w = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), E = await (L.isElement == null ? void 0 : L.isElement(w)) ? await (L.getScale == null ? void 0 : L.getScale(w)) || {
8138
8138
  x: 1,
8139
8139
  y: 1
8140
8140
  } : {
8141
8141
  x: 1,
8142
8142
  y: 1
8143
8143
  }, x = R1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8144
- rect: c,
8144
+ rect: p,
8145
8145
  offsetParent: w,
8146
8146
  strategy: d
8147
- }) : c);
8147
+ }) : p);
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: (y.top - x.top + u.top) / E.y,
8150
+ bottom: (x.bottom - y.bottom + u.bottom) / E.y,
8151
+ left: (y.left - x.left + u.left) / E.x,
8152
+ right: (x.right - y.right + u.right) / E.x
8153
8153
  };
8154
8154
  }
8155
- const R5 = (H) => ({
8155
+ const F5 = (H) => ({
8156
8156
  name: "arrow",
8157
8157
  options: H,
8158
8158
  async fn(V) {
@@ -8167,29 +8167,29 @@ const R5 = (H) => ({
8167
8167
  } = V, {
8168
8168
  element: l,
8169
8169
  padding: n = 0
8170
- } = S1(H, V) || {};
8170
+ } = u1(H, V) || {};
8171
8171
  if (l == null)
8172
8172
  return {};
8173
- const u = S2(n), o = {
8173
+ const Z = u2(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 = Y1(A), u = X1(r), v = await M.getDimensions(l), h = r === "y", y = h ? "top" : "left", p = h ? "bottom" : "right", w = h ? "clientHeight" : "clientWidth", E = L.reference[u] + L.reference[r] - o[r] - L.floating[u], x = o[r] - L.reference[r], W = await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(l));
8177
+ let N = W ? W[w] : 0;
8178
+ (!N || !await (M.isElement == null ? void 0 : M.isElement(W))) && (N = e.floating[w] || L.floating[u]);
8179
+ const _ = E / 2 - x / 2, g = N / 2 - v[u] / 2 - 1, I = p1(Z[y], g), M1 = p1(Z[p], g), z = I, m1 = N - v[u] - M1, Q = N / 2 - v[u] / 2 + _, j = G1(z, Q, m1), K = !d.arrow && h1(A) != null && Q != j && L.reference[u] / 2 - (Q < z ? I : M1) - v[u] / 2 < 0, t = K ? Q < z ? Q - z : Q - m1 : 0;
8180
8180
  return {
8181
- [r]: o[r] + z,
8181
+ [r]: o[r] + t,
8182
8182
  data: {
8183
- [r]: q,
8184
- centerOffset: I - q - z,
8185
- ...j && {
8186
- alignmentOffset: z
8183
+ [r]: j,
8184
+ centerOffset: Q - j - t,
8185
+ ...K && {
8186
+ alignmentOffset: t
8187
8187
  }
8188
8188
  },
8189
- reset: j
8189
+ reset: K
8190
8190
  };
8191
8191
  }
8192
- }), x5 = function(H) {
8192
+ }), R5 = function(H) {
8193
8193
  return H === void 0 && (H = {}), {
8194
8194
  name: "flip",
8195
8195
  options: H,
@@ -8204,56 +8204,56 @@ const R5 = (H) => ({
8204
8204
  elements: l
8205
8205
  } = V, {
8206
8206
  mainAxis: n = !0,
8207
- crossAxis: u = !0,
8207
+ crossAxis: Z = !0,
8208
8208
  fallbackPlacements: o,
8209
8209
  fallbackStrategy: r = "bestFit",
8210
- fallbackAxisSideDirection: S = "none",
8211
- flipAlignment: b = !0,
8212
- ...B
8213
- } = S1(H, V);
8210
+ fallbackAxisSideDirection: u = "none",
8211
+ flipAlignment: v = !0,
8212
+ ...h
8213
+ } = u1(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), $ = [];
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]]);
8216
+ const y = l1(A), p = l1(e) === e, w = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), E = o || (p || !v ? [F1(e)] : v5(e));
8217
+ !o && u !== "none" && E.push(...y5(e, v, u, w));
8218
+ const x = [e, ...E], W = await x1(V, h), N = [];
8219
+ let _ = ((i = L.flip) == null ? void 0 : i.overflows) || [];
8220
+ if (n && N.push(W[y]), Z) {
8221
+ const z = b5(A, M, w);
8222
+ N.push(W[z[0]], W[z[1]]);
8223
8223
  }
8224
- if (J = [...J, {
8224
+ if (_ = [..._, {
8225
8225
  placement: A,
8226
- overflows: $
8227
- }], !$.every((N) => N <= 0)) {
8228
- var h, F;
8229
- const N = (((h = L.flip) == null ? void 0 : h.index) || 0) + 1, l1 = x[N];
8230
- if (l1)
8226
+ overflows: N
8227
+ }], !N.every((z) => z <= 0)) {
8228
+ var g, I;
8229
+ const z = (((g = L.flip) == null ? void 0 : g.index) || 0) + 1, m1 = x[z];
8230
+ if (m1)
8231
8231
  return {
8232
8232
  data: {
8233
- index: N,
8234
- overflows: J
8233
+ index: z,
8234
+ overflows: _
8235
8235
  },
8236
8236
  reset: {
8237
- placement: l1
8237
+ placement: m1
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 = (I = _.filter((j) => j.overflows[0] <= 0).sort((j, K) => j.overflows[1] - K.overflows[1])[0]) == null ? void 0 : I.placement;
8241
+ if (!Q)
8242
8242
  switch (r) {
8243
8243
  case "bestFit": {
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);
8244
+ var M1;
8245
+ const j = (M1 = _.map((K) => [K.placement, K.overflows.filter((t) => t > 0).reduce((t, s) => t + s, 0)]).sort((K, t) => K[1] - t[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 A2(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 e2(H) {
8273
+ return g5.some((V) => H[V] >= 0);
8274
8274
  }
8275
- const D5 = function(H) {
8275
+ const x5 = function(H) {
8276
8276
  return H === void 0 && (H = {}), {
8277
8277
  name: "hide",
8278
8278
  options: H,
@@ -8282,17 +8282,17 @@ const D5 = function(H) {
8282
8282
  } = V, {
8283
8283
  strategy: i = "referenceHidden",
8284
8284
  ...A
8285
- } = S1(H, V);
8285
+ } = u1(H, V);
8286
8286
  switch (i) {
8287
8287
  case "referenceHidden": {
8288
8288
  const L = await x1(V, {
8289
8289
  ...A,
8290
8290
  elementContext: "reference"
8291
- }), M = e2(L, C.reference);
8291
+ }), M = A2(L, C.reference);
8292
8292
  return {
8293
8293
  data: {
8294
8294
  referenceHiddenOffsets: M,
8295
- referenceHidden: d2(M)
8295
+ referenceHidden: e2(M)
8296
8296
  }
8297
8297
  };
8298
8298
  }
@@ -8300,11 +8300,11 @@ const D5 = function(H) {
8300
8300
  const L = await x1(V, {
8301
8301
  ...A,
8302
8302
  altBoundary: !0
8303
- }), M = e2(L, C.floating);
8303
+ }), M = A2(L, C.floating);
8304
8304
  return {
8305
8305
  data: {
8306
8306
  escapedOffsets: M,
8307
- escaped: d2(M)
8307
+ escaped: e2(M)
8308
8308
  }
8309
8309
  };
8310
8310
  }
@@ -8314,27 +8314,27 @@ const D5 = function(H) {
8314
8314
  }
8315
8315
  };
8316
8316
  };
8317
- async function E5(H, V) {
8317
+ async function D5(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 = l1(C), e = h1(C), d = _1(C) === "y", l = ["left", "top"].includes(M) ? -1 : 1, n = L && d ? -1 : 1, Z = u1(V, H);
8323
8323
  let {
8324
8324
  mainAxis: o,
8325
8325
  crossAxis: r,
8326
- alignmentAxis: S
8327
- } = typeof u == "number" ? {
8328
- mainAxis: u,
8326
+ alignmentAxis: u
8327
+ } = typeof Z == "number" ? {
8328
+ mainAxis: Z,
8329
8329
  crossAxis: 0,
8330
8330
  alignmentAxis: null
8331
8331
  } : {
8332
8332
  mainAxis: 0,
8333
8333
  crossAxis: 0,
8334
8334
  alignmentAxis: null,
8335
- ...u
8335
+ ...Z
8336
8336
  };
8337
- return e && typeof S == "number" && (r = e === "end" ? S * -1 : S), d ? {
8337
+ return e && typeof u == "number" && (r = e === "end" ? u * -1 : u), d ? {
8338
8338
  x: r * n,
8339
8339
  y: o * l
8340
8340
  } : {
@@ -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 E5 = 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 D5(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
+ }, _5 = function(H) {
8362
8362
  return H === void 0 && (H = {}), {
8363
8363
  name: "shift",
8364
8364
  options: H,
@@ -8371,68 +8371,68 @@ const _5 = function(H) {
8371
8371
  mainAxis: L = !0,
8372
8372
  crossAxis: M = !1,
8373
8373
  limiter: e = {
8374
- fn: (B) => {
8374
+ fn: (h) => {
8375
8375
  let {
8376
8376
  x: y,
8377
- y: c
8378
- } = B;
8377
+ y: p
8378
+ } = h;
8379
8379
  return {
8380
8380
  x: y,
8381
- y: c
8381
+ y: p
8382
8382
  };
8383
8383
  }
8384
8384
  },
8385
8385
  ...d
8386
- } = S1(H, V), l = {
8386
+ } = u1(H, V), l = {
8387
8387
  x: C,
8388
8388
  y: i
8389
- }, n = await x1(V, d), u = _1(o1(A)), o = u2(u);
8390
- let r = l[o], S = l[u];
8389
+ }, n = await x1(V, d), Z = _1(l1(A)), o = Z2(Z);
8390
+ let r = l[o], u = l[Z];
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 h = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", p = r + n[h], w = r - n[y];
8393
+ r = G1(p, 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 h = Z === "y" ? "top" : "left", y = Z === "y" ? "bottom" : "right", p = u + n[h], w = u - n[y];
8397
+ u = G1(p, u, w);
8398
8398
  }
8399
- const b = e.fn({
8399
+ const v = e.fn({
8400
8400
  ...V,
8401
8401
  [o]: r,
8402
- [u]: S
8402
+ [Z]: u
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 S2(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 = (S2(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 S2(H) {
8426
+ return H instanceof Node || H instanceof q(H).Node;
8427
8427
  }
8428
- function M1(H) {
8429
- return H instanceof Element || H instanceof K(H).Element;
8428
+ function L1(H) {
8429
+ return H instanceof Element || H instanceof q(H).Element;
8430
8430
  }
8431
- function H1(H) {
8432
- return H instanceof HTMLElement || H instanceof K(H).HTMLElement;
8431
+ function C1(H) {
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 d2(H) {
8435
+ return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof q(H).ShadowRoot;
8436
8436
  }
8437
8437
  function g1(H) {
8438
8438
  const {
@@ -8443,19 +8443,19 @@ 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 $5(H) {
8447
8447
  return ["table", "td", "th"].includes(d1(H));
8448
8448
  }
8449
8449
  function J1(H) {
8450
8450
  const V = C2(), 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) {
8454
- let V = u1(H);
8455
- for (; H1(V) && !$1(V); ) {
8453
+ function W5(H) {
8454
+ let V = Z1(H);
8455
+ for (; C1(V) && !$1(V); ) {
8456
8456
  if (J1(V))
8457
8457
  return V;
8458
- V = u1(V);
8458
+ V = Z1(V);
8459
8459
  }
8460
8460
  return null;
8461
8461
  }
@@ -8466,10 +8466,10 @@ function $1(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
8471
  function W1(H) {
8472
- return M1(H) ? {
8472
+ return L1(H) ? {
8473
8473
  scrollLeft: H.scrollLeft,
8474
8474
  scrollTop: H.scrollTop
8475
8475
  } : {
@@ -8477,96 +8477,96 @@ function W1(H) {
8477
8477
  scrollTop: H.pageYOffset
8478
8478
  };
8479
8479
  }
8480
- function u1(H) {
8480
+ function Z1(H) {
8481
8481
  if (d1(H) === "html")
8482
8482
  return H;
8483
8483
  const V = (
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
+ d2(H) && H.host || // Fallback.
8488
8488
  t1(H)
8489
8489
  );
8490
- return t2(V) ? V.host : V;
8490
+ return d2(V) ? V.host : V;
8491
8491
  }
8492
- function c2(H) {
8493
- const V = u1(H);
8494
- return $1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : H1(V) && g1(V) ? V : c2(V);
8492
+ function s2(H) {
8493
+ const V = Z1(H);
8494
+ return $1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : C1(V) && g1(V) ? V : s2(V);
8495
8495
  }
8496
8496
  function z1(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);
8499
+ const A = s2(H), L = A === ((i = H.ownerDocument) == null ? void 0 : i.body), M = q(A);
8500
8500
  return L ? V.concat(M, M.visualViewport || [], g1(A) ? A : [], M.frameElement && C ? z1(M.frameElement) : []) : V.concat(A, z1(A, [], C));
8501
8501
  }
8502
- function p2(H) {
8502
+ function c2(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 = C1(H), L = A ? H.offsetWidth : C, M = A ? H.offsetHeight : i, e = T1(C) !== L || T1(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) {
8513
- return M1(H) ? H : H.contextElement;
8512
+ function p2(H) {
8513
+ return L1(H) ? H : H.contextElement;
8514
8514
  }
8515
- function Z1(H) {
8516
- const V = O2(H);
8517
- if (!H1(V))
8515
+ function a1(H) {
8516
+ const V = p2(H);
8517
+ if (!C1(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);
8523
+ } = c2(V);
8524
8524
  let M = (L ? T1(C.width) : C.width) / i, e = (L ? T1(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 N5 = /* @__PURE__ */ e1(0);
8531
+ function O2(H) {
8532
+ const V = q(H);
8533
+ return !C2() || !V.visualViewport ? N5 : {
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 I5(H, V, C) {
8539
+ return V === void 0 && (V = !1), !C || V && C !== q(H) ? !1 : V;
8540
8540
  }
8541
8541
  function O1(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 = p2(H);
8544
8544
  let M = e1(1);
8545
- V && (i ? M1(i) && (M = Z1(i)) : M = Z1(H));
8546
- const e = Q5(L, C, i) ? f2(L) : e1(0);
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;
8545
+ V && (i ? L1(i) && (M = a1(i)) : M = a1(H));
8546
+ const e = I5(L, C, i) ? O2(L) : e1(0);
8547
+ let d = (A.left + e.x) / M.x, l = (A.top + e.y) / M.y, n = A.width / M.x, Z = A.height / M.y;
8548
8548
  if (L) {
8549
- const o = K(L), r = i && M1(i) ? K(i) : i;
8550
- let S = o.frameElement;
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;
8549
+ const o = q(L), r = i && L1(i) ? q(i) : i;
8550
+ let u = o.frameElement;
8551
+ for (; u && i && r !== o; ) {
8552
+ const v = a1(u), h = u.getBoundingClientRect(), y = Y(u), p = h.left + (u.clientLeft + parseFloat(y.paddingLeft)) * v.x, w = h.top + (u.clientTop + parseFloat(y.paddingTop)) * v.y;
8553
+ d *= v.x, l *= v.y, n *= v.x, Z *= v.y, d += p, l += w, u = q(u).frameElement;
8554
8554
  }
8555
8555
  }
8556
8556
  return R1({
8557
8557
  width: n,
8558
- height: u,
8558
+ height: Z,
8559
8559
  x: d,
8560
8560
  y: l
8561
8561
  });
8562
8562
  }
8563
- function G5(H) {
8563
+ function Q5(H) {
8564
8564
  let {
8565
8565
  rect: V,
8566
8566
  offsetParent: C,
8567
8567
  strategy: i
8568
8568
  } = H;
8569
- const A = H1(C), L = t1(C);
8569
+ const A = C1(C), L = t1(C);
8570
8570
  if (C === L)
8571
8571
  return V;
8572
8572
  let M = {
@@ -8574,9 +8574,9 @@ 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))) {
8577
+ if ((A || !A && i !== "fixed") && ((d1(C) !== "body" || g1(L)) && (M = W1(C)), C1(C))) {
8578
8578
  const l = O1(C);
8579
- e = Z1(C), d.x = l.x + C.clientLeft, d.y = l.y + C.clientTop;
8579
+ e = a1(C), d.x = l.x + C.clientLeft, d.y = l.y + C.clientTop;
8580
8580
  }
8581
8581
  return {
8582
8582
  width: V.width * e.x,
@@ -8585,25 +8585,25 @@ 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 G5(H) {
8589
8589
  return Array.from(H.getClientRects());
8590
8590
  }
8591
- function h2(H) {
8591
+ function f2(H) {
8592
8592
  return O1(t1(H)).left + W1(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 U5(H) {
8595
+ const V = t1(H), C = W1(H), i = H.ownerDocument.body, A = r1(V.scrollWidth, V.clientWidth, i.scrollWidth, i.clientWidth), L = r1(V.scrollHeight, V.clientHeight, i.scrollHeight, i.clientHeight);
8596
+ let M = -C.scrollLeft + f2(H);
8597
8597
  const e = -C.scrollTop;
8598
- return Y(i).direction === "rtl" && (M += a1(V.clientWidth, i.clientWidth) - A), {
8598
+ return Y(i).direction === "rtl" && (M += r1(V.clientWidth, i.clientWidth) - A), {
8599
8599
  width: A,
8600
8600
  height: L,
8601
8601
  x: M,
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 z5(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;
@@ -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 K5(H, V) {
8621
+ const C = O1(H, !0, V === "fixed"), i = C.top + H.clientTop, A = C.left + H.clientLeft, L = C1(H) ? a1(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,16 +8626,16 @@ function q5(H, V) {
8626
8626
  y: l
8627
8627
  };
8628
8628
  }
8629
- function m2(H, V, C) {
8629
+ function t2(H, V, C) {
8630
8630
  let i;
8631
8631
  if (V === "viewport")
8632
- i = K5(H, C);
8632
+ i = z5(H, C);
8633
8633
  else if (V === "document")
8634
- i = z5(t1(H));
8635
- else if (M1(V))
8636
- i = q5(V, C);
8634
+ i = U5(t1(H));
8635
+ else if (L1(V))
8636
+ i = K5(V, C);
8637
8637
  else {
8638
- const A = f2(H);
8638
+ const A = O2(H);
8639
8639
  i = {
8640
8640
  ...V,
8641
8641
  x: V.x - A.x,
@@ -8644,34 +8644,34 @@ function m2(H, V, C) {
8644
8644
  }
8645
8645
  return R1(i);
8646
8646
  }
8647
- function g2(H, V) {
8648
- const C = u1(H);
8649
- return C === V || !M1(C) || $1(C) ? !1 : Y(C).position === "fixed" || g2(C, V);
8647
+ function h2(H, V) {
8648
+ const C = Z1(H);
8649
+ return C === V || !L1(C) || $1(C) ? !1 : Y(C).position === "fixed" || h2(C, V);
8650
8650
  }
8651
- function j5(H, V) {
8651
+ function q5(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 = z1(H, [], !1).filter((e) => L1(e) && d1(e) !== "body"), A = null;
8656
8656
  const L = Y(H).position === "fixed";
8657
- let M = L ? u1(H) : H;
8658
- for (; M1(M) && !$1(M); ) {
8657
+ let M = L ? Z1(H) : H;
8658
+ for (; L1(M) && !$1(M); ) {
8659
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);
8660
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || g1(M) && !d && h2(H, M)) ? i = i.filter((n) => n !== M) : A = e, M = Z1(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" ? q5(V, this._c) : [].concat(C), i], e = M[0], d = M.reduce((l, n) => {
8672
+ const Z = t2(V, n, A);
8673
+ return l.top = r1(Z.top, l.top), l.right = p1(Z.right, l.right), l.bottom = p1(Z.bottom, l.bottom), l.left = r1(Z.left, l.left), l;
8674
+ }, t2(V, e, A));
8675
8675
  return {
8676
8676
  width: d.right - d.left,
8677
8677
  height: d.bottom - d.top,
@@ -8679,11 +8679,11 @@ function X5(H) {
8679
8679
  y: d.top
8680
8680
  };
8681
8681
  }
8682
- function Y5(H) {
8683
- return p2(H);
8682
+ function X5(H) {
8683
+ return c2(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 Y5(H, V, C) {
8686
+ const i = C1(V), A = t1(V), L = C === "fixed", M = O1(H, !0, L, V);
8687
8687
  let e = {
8688
8688
  scrollLeft: 0,
8689
8689
  scrollTop: 0
@@ -8694,7 +8694,7 @@ function J5(H, V, C) {
8694
8694
  const l = O1(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 = f2(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) {
8706
- return !H1(H) || Y(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8705
+ function m2(H, V) {
8706
+ return !C1(H) || Y(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8707
8707
  }
8708
- function k2(H, V) {
8709
- const C = K(H);
8710
- if (!H1(H))
8708
+ function g2(H, V) {
8709
+ const C = q(H);
8710
+ if (!C1(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 = m2(H, V);
8713
+ for (; i && $5(i) && Y(i).position === "static"; )
8714
+ i = m2(i, V);
8715
+ return i && (d1(i) === "html" || d1(i) === "body" && Y(i).position === "static" && !J1(i)) ? C : i || W5(H) || C;
8716
8716
  }
8717
- const C3 = async function(H) {
8717
+ const J5 = 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 || g2, L = this.getDimensions;
8724
8724
  return {
8725
- reference: J5(V, await A(C), i),
8725
+ reference: Y5(V, await A(C), i),
8726
8726
  floating: {
8727
8727
  x: 0,
8728
8728
  y: 0,
@@ -8730,58 +8730,58 @@ const C3 = async function(H) {
8730
8730
  }
8731
8731
  };
8732
8732
  };
8733
- function H3(H) {
8733
+ function C3(H) {
8734
8734
  return Y(H).direction === "rtl";
8735
8735
  }
8736
- const V3 = {
8737
- convertOffsetParentRelativeRectToViewportRelativeRect: G5,
8736
+ const H3 = {
8737
+ convertOffsetParentRelativeRectToViewportRelativeRect: Q5,
8738
8738
  getDocumentElement: t1,
8739
- getClippingRect: X5,
8740
- getOffsetParent: k2,
8741
- getElementRects: C3,
8742
- getClientRects: U5,
8743
- getDimensions: Y5,
8744
- getScale: Z1,
8745
- isElement: M1,
8746
- isRTL: H3
8747
- }, L3 = (H, V, C) => {
8739
+ getClippingRect: j5,
8740
+ getOffsetParent: g2,
8741
+ getElementRects: J5,
8742
+ getClientRects: G5,
8743
+ getDimensions: X5,
8744
+ getScale: a1,
8745
+ isElement: L1,
8746
+ isRTL: C3
8747
+ }, V3 = (H, V, C) => {
8748
8748
  const i = /* @__PURE__ */ new Map(), A = {
8749
- platform: V3,
8749
+ platform: H3,
8750
8750
  ...C
8751
8751
  }, L = {
8752
8752
  ...A.platform,
8753
8753
  _c: i
8754
8754
  };
8755
- return F5(H, V, {
8755
+ return T5(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 k2 = /* @__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))(k2 || {}), V1 = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(V1 || {}), K1 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(K1 || {});
8761
+ async function L3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e) {
8762
+ !H || !V || V3(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
+ E5(A),
8766
+ _5({ padding: L }),
8767
+ F5({ element: C }),
8768
+ R5(),
8769
+ x5()
8770
8770
  ]
8771
- }).then(({ x: d, y: l, placement: n, middlewareData: u }) => {
8772
- var S, b;
8771
+ }).then(({ x: d, y: l, placement: n, middlewareData: Z }) => {
8772
+ var u, v;
8773
8773
  if (!V)
8774
8774
  return;
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;
8775
+ Z.flip && V.setAttribute("data-placement", n);
8776
+ const o = (u = H.offsetParent) == null ? void 0 : u.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`,
8780
8780
  top: `${l}px`,
8781
8781
  animation: `r-tooltip-show ${M}ms ease-in-out forwards`,
8782
8782
  transformOrigin: "start"
8783
- }), C && u.arrow) {
8784
- const { x: B, y } = u.arrow, c = {
8783
+ }), C && Z.arrow) {
8784
+ const { x: h, y } = Z.arrow, p = {
8785
8785
  top: "bottom",
8786
8786
  right: "left",
8787
8787
  bottom: "top",
@@ -8789,23 +8789,23 @@ async function M3({ value: H }, { value: V }, { value: C }, i, A, L, M = 300, e)
8789
8789
  /* Right */
8790
8790
  }[n.split("-")[0]];
8791
8791
  Object.assign(C.style, {
8792
- left: d != null ? `${B}px` : "",
8792
+ left: d != null ? `${h}px` : "",
8793
8793
  top: l != null ? `${y}px` : "",
8794
8794
  right: "",
8795
8795
  bottom: "",
8796
- [`${c}`]: "-4px"
8796
+ [`${p}`]: "-4px"
8797
8797
  });
8798
8798
  }
8799
8799
  });
8800
8800
  }
8801
- const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"], t3 = /* @__PURE__ */ T({
8801
+ const M3 = ["id", "aria-disabled"], i3 = ["innerHTML"], A3 = ["id"], e3 = ["id"], d3 = /* @__PURE__ */ P({
8802
8802
  __name: "RTooltip",
8803
8803
  props: {
8804
- placement: { default: B2.Top },
8804
+ placement: { default: k2.Top },
8805
8805
  text: { default: "" },
8806
8806
  dark: { type: Boolean, default: !0 },
8807
8807
  light: { type: Boolean, default: !1 },
8808
- triggers: { default: () => [L1.Hover] },
8808
+ triggers: { default: () => [V1.Hover] },
8809
8809
  autoHide: { type: Boolean, default: !0 },
8810
8810
  hideDelay: { default: 3e3 },
8811
8811
  showDelay: { default: 300 },
@@ -8823,52 +8823,52 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
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 = D(), L = D(), M = D(), e = h5();
8827
8827
  let d = null;
8828
8828
  async function l() {
8829
8829
  if (!(C.disabled || !L.value)) {
8830
8830
  if (!C.persistent) {
8831
- const c = document.querySelectorAll(
8831
+ const p = document.querySelectorAll(
8832
8832
  ".r-tooltip--active"
8833
8833
  );
8834
- c.length > 0 && c.forEach((w) => {
8834
+ p.length > 0 && p.forEach((w) => {
8835
8835
  w.dataset.persistent === "true" || (w.style.display = "", w.classList.remove("r-tooltip--active"), w.dataset.show = "false");
8836
8836
  });
8837
8837
  }
8838
- L.value.classList.contains("r-tooltip--active") ? n() : (B(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", L.value.dataset.persistent = C.persistent.toString(), i("show", L.value.id), u());
8838
+ L.value.classList.contains("r-tooltip--active") ? n() : (h(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", L.value.dataset.persistent = C.persistent.toString(), i("show", L.value.id), Z());
8839
8839
  }
8840
8840
  }
8841
- function n(c = null) {
8841
+ function n(p = null) {
8842
8842
  C.disabled || !L.value || (L.value.style.display = "", L.value.classList.remove("r-tooltip--active"), L.value.dataset.show = "false", L.value.dataset.persistent = "false", i("hide", L.value.id));
8843
8843
  }
8844
- function u() {
8844
+ function Z() {
8845
8845
  C.autoHide && setTimeout(() => {
8846
8846
  n();
8847
8847
  }, C.hideDelay);
8848
8848
  }
8849
- function o(c) {
8850
- C.disabled || C.triggers.includes(L1.Click) && (L.value.style.display === "block" ? n() : l());
8849
+ function o(p) {
8850
+ C.disabled || C.triggers.includes(V1.Click) && (L.value.style.display === "block" ? n() : l());
8851
8851
  }
8852
8852
  function r() {
8853
- C.disabled || C.triggers.includes(L1.Hover) && l();
8853
+ C.disabled || C.triggers.includes(V1.Hover) && l();
8854
8854
  }
8855
- function S() {
8856
- C.disabled || (L.value.style.display === "" && C.triggers.includes(L1.Hover) ? l() : L.value.style.display !== "" && C.triggers.includes(L1.Hover) && n());
8855
+ function u() {
8856
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(V1.Hover) ? l() : L.value.style.display !== "" && C.triggers.includes(V1.Hover) && n());
8857
8857
  }
8858
- function b() {
8859
- C.triggers.includes(L1.Hover) && B();
8858
+ function v() {
8859
+ C.triggers.includes(V1.Hover) && h();
8860
8860
  }
8861
- function B() {
8862
- const { placement: c, offset: w, padding: _, disabled: x, showDelay: U, type: $ } = C;
8863
- x || M3(
8861
+ function h() {
8862
+ const { placement: p, offset: w, padding: E, disabled: x, showDelay: W, type: N } = C;
8863
+ x || L3(
8864
8864
  A,
8865
8865
  L,
8866
8866
  M,
8867
- c,
8867
+ p,
8868
8868
  w,
8869
- _,
8870
- U,
8871
- $
8869
+ E,
8870
+ W,
8871
+ N
8872
8872
  );
8873
8873
  }
8874
8874
  const y = f(() => ({
@@ -8877,72 +8877,72 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
8877
8877
  "r-tooltip--light": C.light
8878
8878
  }));
8879
8879
  return window.onresize = () => {
8880
- C.resizable && B();
8881
- }, V2(
8880
+ C.resizable && h();
8881
+ }, H2(
8882
8882
  () => {
8883
- C.disabled || (C.shown && C.triggers.includes(L1.Manual) ? l() : !C.shown && C.triggers.includes(L1.Manual) && n());
8883
+ C.disabled || (C.shown && C.triggers.includes(V1.Manual) ? l() : !C.shown && C.triggers.includes(V1.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
+ ), H2(() => {
8888
+ d && (d(), d = null), C.outsideClick && A.value && (d = f5(
8889
8889
  A,
8890
- (c) => {
8891
- L.value && L.value.classList.contains("r-tooltip--active") && n(c);
8890
+ (p) => {
8891
+ L.value && L.value.classList.contains("r-tooltip--active") && n(p);
8892
8892
  },
8893
8893
  { ignore: [L] }
8894
8894
  ) ?? null);
8895
- }), o2(() => {
8896
- var c, w;
8897
- C.resizable && ((w = (c = A.value) == null ? void 0 : c.parentElement) == null || w.parentElement.addEventListener(
8895
+ }), l2(() => {
8896
+ var p, w;
8897
+ C.resizable && ((w = (p = A.value) == null ? void 0 : p.parentElement) == null || w.parentElement.addEventListener(
8898
8898
  "scroll",
8899
- () => B()
8899
+ () => h()
8900
8900
  )), C.type === K1.Dropdown && document.addEventListener("scroll", () => {
8901
- B();
8901
+ h();
8902
8902
  });
8903
8903
  }), q1(() => {
8904
8904
  d && (d(), d = null);
8905
- }), (c, w) => (m(), a(i1, null, [
8906
- Z("div", {
8907
- id: c.id,
8905
+ }), (p, w) => (m(), a(i1, null, [
8906
+ S("div", {
8907
+ id: p.id,
8908
8908
  ref_key: "trigger",
8909
8909
  ref: A,
8910
8910
  "aria-disabled": C.disabled,
8911
- class: O(["r-tooltip-trigger", c.triggerClass]),
8911
+ class: O(["r-tooltip-trigger", p.triggerClass]),
8912
8912
  onClick: o,
8913
8913
  onMouseenter: r,
8914
- onMouseleave: S,
8915
- onMousemove: b
8914
+ onMouseleave: u,
8915
+ onMousemove: v
8916
8916
  }, [
8917
- k(c.$slots, "default", {
8918
- id: `${c.id}-slot`,
8917
+ B(p.$slots, "default", {
8918
+ id: `${p.id}-slot`,
8919
8919
  activators: {
8920
8920
  click: o,
8921
8921
  mouseenter: r,
8922
- mouseleave: S,
8923
- mousemove: b
8922
+ mouseleave: u,
8923
+ mousemove: v
8924
8924
  },
8925
8925
  tooltipId: A1(e),
8926
- updatePosition: B
8926
+ updatePosition: h
8927
8927
  }, () => [
8928
- Z("div", {
8928
+ S("div", {
8929
8929
  innerHTML: C.triggerContent
8930
- }, null, 8, A3)
8930
+ }, null, 8, i3)
8931
8931
  ])
8932
- ], 42, i3),
8933
- (m(), D(y2, { to: "body" }, [
8934
- Z("div", {
8935
- id: `${c.id}-tooltip`,
8932
+ ], 42, M3),
8933
+ (m(), R(w2, { to: "body" }, [
8934
+ S("div", {
8935
+ id: `${p.id}-tooltip`,
8936
8936
  ref_key: "tooltip",
8937
8937
  ref: L,
8938
- class: O([y.value, c.tooltipClass]),
8938
+ class: O([y.value, p.tooltipClass]),
8939
8939
  "data-show": "false",
8940
8940
  role: "tooltip"
8941
8941
  }, [
8942
- k(c.$slots, "content", {
8943
- id: `${c.id}-content-slot`,
8942
+ B(p.$slots, "content", {
8943
+ id: `${p.id}-content-slot`,
8944
8944
  hide: n,
8945
- updatePosition: B
8945
+ updatePosition: h
8946
8946
  }, () => [
8947
8947
  C.text ? (m(), a("div", {
8948
8948
  key: 0,
@@ -8950,23 +8950,23 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
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),
8953
+ }, b(C.text), 3)) : k("", !0),
8954
8954
  C.text ? (m(), a("div", {
8955
8955
  key: 1,
8956
- id: `${c.id}-arrow`,
8956
+ id: `${p.id}-arrow`,
8957
8957
  ref_key: "arrowElement",
8958
8958
  ref: M,
8959
8959
  class: O(["r-tooltip__arrow", {
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, e3)) : k("", !0)
8964
8964
  ])
8965
- ], 10, e3)
8965
+ ], 10, A3)
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
+ }), t3 = ["id"], m3 = ["id", "onClick"], l3 = ["id"], o3 = ["id"], n3 = ["id"], r3 = ["id"], a3 = ["id"], Z3 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], u3 = ["id", "data-has-value", "onClick"], S3 = ["id"], s3 = ["id"], c3 = ["onClick"], p3 = { class: "flex items-center" }, O3 = { class: "r-dropdown-options__option__label" }, f3 = ["id"], h3 = ["id", "aria-disabled", "onClick"], g3 = ["id"], k3 = ["id"], B3 = ["id"], b3 = ["id"], v3 = ["id"], w3 = ["id"], y3 = /* @__PURE__ */ P({
8970
8970
  __name: "RDropdown",
8971
8971
  props: {
8972
8972
  options: { default: () => [] },
@@ -8999,162 +8999,155 @@ 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) {
9002
+ const C = H, i = V, A = D({}), L = D([]), M = D(!1), e = D("");
9003
+ function d(t) {
9004
9004
  const s = window.getComputedStyle(t);
9005
9005
  return /(auto|scroll|overlay)/.test(s.overflowY);
9006
9006
  }
9007
- function n(t) {
9007
+ function l(t) {
9008
9008
  let s = t;
9009
9009
  for (; s && s !== document.body; ) {
9010
- if (l(s))
9010
+ if (d(s))
9011
9011
  return s;
9012
9012
  s = s.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
9019
  const [s] = Object.keys(t);
9032
9020
  return ["label", "value"].includes(s);
9033
9021
  }
9034
- const S = f(() => {
9022
+ const Z = f(() => {
9035
9023
  const t = C.options;
9036
- return r(t[0]) ? t : t.map((s) => ({
9024
+ return n(t[0]) ? t : t.map((s) => ({
9037
9025
  value: s,
9038
9026
  label: String(s)
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();
9047
- function w(t) {
9048
- var X, p, Q, k1;
9034
+ }), r = D(), u = D(), v = D(), h = D(null);
9035
+ function y() {
9036
+ if (!h.value) {
9037
+ const t = v.value || r.value;
9038
+ t && (h.value = l(t));
9039
+ }
9040
+ h.value && (M.value ? h.value.dataset.rOriginalOverflow || (h.value.dataset.rOriginalOverflow = h.value.style.overflowY || "", h.value.style.overflowY = "hidden") : h.value.dataset.rOriginalOverflow !== void 0 && (h.value.style.overflowY = h.value.dataset.rOriginalOverflow, delete h.value.dataset.rOriginalOverflow));
9041
+ }
9042
+ function p(t) {
9043
+ var X, c, G, k1;
9049
9044
  if (C.disabled)
9050
9045
  return;
9051
9046
  const s = document.getElementById(t);
9052
- document.querySelectorAll(".r-dropdown--active").forEach((G) => {
9047
+ document.querySelectorAll(".r-dropdown--active").forEach((U) => {
9053
9048
  var B1;
9054
- if (G.id !== ((B1 = B.value) == null ? void 0 : B1.id) && G.classList.contains("r-dropdown--active")) {
9055
- const H2 = n(
9056
- G
9049
+ if (U.id !== ((B1 = r.value) == null ? void 0 : B1.id) && U.classList.contains("r-dropdown--active")) {
9050
+ const S1 = l(
9051
+ U
9057
9052
  );
9058
- H2 && o(H2), G.childNodes.forEach((V1) => {
9059
- V1 != null && V1.classList && (Object == null || Object.values(V1 == null ? void 0 : V1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9060
- V1 == null || V1.classList.remove(N1);
9053
+ S1 && S1.dataset.rOriginalOverflow !== void 0 && (S1.style.overflowY = S1.dataset.rOriginalOverflow, delete S1.dataset.rOriginalOverflow), U.childNodes.forEach((H1) => {
9054
+ H1 != null && H1.classList && (Object == null || Object.values(H1 == null ? void 0 : H1.classList).filter((N1) => N1.includes("--active")).forEach((N1) => {
9055
+ H1 == null || H1.classList.remove(N1);
9061
9056
  }));
9062
- }), G.classList.remove("r-dropdown--active");
9057
+ }), U.classList.remove("r-dropdown--active");
9063
9058
  }
9064
- }), 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(
9065
- c.value || B.value
9066
- )), d.value && u(d.value), s == null || s.childNodes.forEach((G) => {
9067
- G != null && G.classList && (Object == null || Object.values(G == null ? void 0 : G.classList).forEach((B1) => {
9068
- G == null || G.classList.add(`${B1}--active`);
9059
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), M.value = !1, (X = r.value) == null || X.blur(), (c = u.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), M.value = !0, (G = r.value) == null || G.focus(), (k1 = u.value) == null || k1.focus(), s == null || s.childNodes.forEach((U) => {
9060
+ U != null && U.classList && (Object == null || Object.values(U == null ? void 0 : U.classList).forEach((B1) => {
9061
+ U == null || U.classList.add(`${B1}--active`);
9069
9062
  }));
9070
9063
  }));
9071
9064
  }
9072
- function _(t) {
9065
+ function w(t) {
9073
9066
  const s = document.getElementById(t);
9074
- s == null || s.classList.remove("r-dropdown--active"), M.value = !1, d.value && o(d.value);
9067
+ s == null || s.classList.remove("r-dropdown--active"), M.value = !1;
9075
9068
  }
9076
- function x(t, s, P, X) {
9077
- var p;
9069
+ function E(t, s, T, X) {
9070
+ var c;
9078
9071
  if (!(C.disabled || s.disabled)) {
9079
9072
  if (X(), s.value === "select-all") {
9080
- q();
9073
+ Q();
9081
9074
  return;
9082
9075
  }
9083
9076
  if (C.multiple) {
9084
- if (!L.value.find((Q) => Q.value === s.value))
9077
+ if (!L.value.find((G) => G.value === s.value))
9085
9078
  L.value.push(s);
9086
9079
  else {
9087
- const Q = L.value.findIndex(
9080
+ const G = L.value.findIndex(
9088
9081
  (k1) => k1.value === s.value
9089
9082
  );
9090
- L.value.splice(Q, 1), i("removeOption", s);
9083
+ L.value.splice(G, 1), i("removeOption", s);
9091
9084
  }
9092
- e.value = "", C.searchable && ((p = y.value) == null || p.focus());
9085
+ e.value = "", C.searchable && ((c = u.value) == null || c.focus());
9093
9086
  return;
9094
9087
  }
9095
- U(t, s), C.closeOnSelect && P();
9088
+ x(t, s), C.closeOnSelect && T();
9096
9089
  }
9097
9090
  }
9098
- function U(t, s) {
9091
+ function x(t, s) {
9099
9092
  if (A.value.value === s.value && !C.disableDeselect) {
9100
9093
  A.value = {}, e.value = "", i("update:modelValue", ""), i("removeOption", s);
9101
9094
  return;
9102
9095
  }
9103
9096
  e.value = s.label, A.value = s, i("update:modelValue", s);
9104
9097
  }
9105
- function $(t, s, P) {
9098
+ function W(t, s, T) {
9106
9099
  if (t instanceof KeyboardEvent && t.key !== "Backspace" || e.value !== "")
9107
9100
  return;
9108
- t.stopPropagation(), P();
9101
+ t.stopPropagation(), T();
9109
9102
  const X = L.value.findIndex(
9110
- (p) => p.value === s.value
9103
+ (c) => c.value === s.value
9111
9104
  );
9112
9105
  L.value.splice(X, 1), i("removeOption", s), i("update:modelValue", L.value);
9113
9106
  }
9114
- function J(t, s) {
9115
- var p;
9107
+ function N(t, s) {
9108
+ var c;
9116
9109
  if (!C.multiple)
9117
9110
  return;
9118
9111
  t.stopPropagation(), s();
9119
- const P = e.value;
9120
- if (P === "")
9112
+ const T = e.value;
9113
+ if (T === "")
9121
9114
  return;
9122
- S.value.find(
9123
- (Q) => Q.label === P
9124
- ) || (L.value.push({ value: P, label: P }), e.value = "", (p = y.value) == null || p.focus());
9115
+ Z.value.find(
9116
+ (G) => G.label === T
9117
+ ) || (L.value.push({ value: T, label: T }), e.value = "", (c = u.value) == null || c.focus());
9125
9118
  }
9126
- function h(t) {
9119
+ function _(t) {
9127
9120
  var s;
9128
- 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);
9121
+ return !t || (t == null ? void 0 : t.value) === void 0 || (t == null ? void 0 : t.value) === null ? !1 : C.multiple ? L.value.find((T) => (T == null ? void 0 : T.value) === (t == null ? void 0 : t.value)) : ((s = A.value) == null ? void 0 : s.value) === (t == null ? void 0 : t.value);
9129
9122
  }
9130
- 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);
9131
- function N() {
9132
- 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));
9123
+ const g = f(() => !C.searchable || A.value.label === e.value ? Z.value : Z.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), I = f(() => !C.searchable);
9124
+ function M1() {
9125
+ 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));
9133
9126
  }
9134
- function l1(t) {
9127
+ function z(t) {
9135
9128
  C.searchable && t(), !C.multiple && e.value === "" && (A.value = {}, i("update:modelValue", ""), i("removeOption", A.value));
9136
9129
  }
9137
- function I(t, s) {
9130
+ function m1(t, s) {
9138
9131
  if (t.stopPropagation(), s(), C.multiple) {
9139
9132
  L.value.splice(0, L.value.length), i("clear", L.value);
9140
9133
  return;
9141
9134
  }
9142
9135
  A.value = {}, e.value = "", i("update:modelValue", ""), i("clear", A.value);
9143
9136
  }
9144
- function q() {
9145
- if (L.value.length === F.value.length) {
9137
+ function Q() {
9138
+ if (L.value.length === g.value.length) {
9146
9139
  L.value.splice(0, L.value.length);
9147
9140
  return;
9148
9141
  }
9149
- L.value = F.value;
9142
+ L.value = g.value;
9150
9143
  }
9151
- 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));
9152
- return o2(() => {
9153
- N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute(
9144
+ const j = 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));
9145
+ return l2(() => {
9146
+ M1(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute(
9154
9147
  "content",
9155
9148
  "width=device-width, initial-scale=1, maximum-scale=1"
9156
9149
  );
9157
- }), W(
9150
+ }), $(
9158
9151
  L,
9159
9152
  (t) => {
9160
9153
  i("update:modelValue", t);
@@ -9162,25 +9155,25 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9162
9155
  {
9163
9156
  deep: !0
9164
9157
  }
9165
- ), W(
9166
- () => b.value,
9158
+ ), $(
9159
+ () => o.value,
9167
9160
  (t) => {
9168
- N();
9161
+ M1();
9169
9162
  }
9170
- ), W(
9163
+ ), $(
9171
9164
  () => M.value,
9172
- (t) => {
9173
- t && d.value ? u(d.value) : !t && d.value && o(d.value);
9165
+ () => {
9166
+ y();
9174
9167
  }
9175
9168
  ), q1(() => {
9176
- M.value && d.value && o(d.value);
9169
+ h.value && h.value.dataset.rOriginalOverflow !== void 0 && (h.value.style.overflowY = h.value.dataset.rOriginalOverflow, delete h.value.dataset.rOriginalOverflow);
9177
9170
  }), (t, s) => (m(), a("div", {
9178
9171
  id: t.id,
9179
9172
  ref_key: "wrapper",
9180
- ref: c,
9173
+ ref: v,
9181
9174
  class: "r-dropdown-wrapper"
9182
9175
  }, [
9183
- C1(t3, {
9176
+ J(d3, {
9184
9177
  id: `${t.id}-tooltip`,
9185
9178
  "auto-hide": !1,
9186
9179
  disabled: C.disabled,
@@ -9191,15 +9184,15 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9191
9184
  "trigger-class": "w-full",
9192
9185
  triggers: ["click"],
9193
9186
  type: "dropdown",
9194
- onHide: s[1] || (s[1] = (P) => {
9195
- _(P);
9187
+ onHide: s[1] || (s[1] = (T) => {
9188
+ w(T);
9196
9189
  })
9197
9190
  }, {
9198
- default: P1(({ updatePosition: P, tooltipId: X }) => [
9199
- Z("div", {
9191
+ default: P1(({ updatePosition: T, tooltipId: X }) => [
9192
+ S("div", {
9200
9193
  id: `${t.id}-dropdown`,
9201
9194
  ref_key: "dropdown",
9202
- ref: B,
9195
+ ref: r,
9203
9196
  class: O(["r-dropdown", {
9204
9197
  "r-dropdown--disabled": C.disabled,
9205
9198
  "r-dropdown--loading": C.loading,
@@ -9208,7 +9201,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9208
9201
  group: e.value !== "" || L.value.length
9209
9202
  }]),
9210
9203
  role: "select",
9211
- onClick: (p) => w(X)
9204
+ onClick: (c) => p(X)
9212
9205
  }, [
9213
9206
  C.prependIcon || t.$slots.prepend ? (m(), a("div", {
9214
9207
  key: 0,
@@ -9218,101 +9211,101 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9218
9211
  "r-dropdown__prepend-icon--error": C.errorMsg
9219
9212
  }])
9220
9213
  }, [
9221
- k(t.$slots, "prepend", {
9214
+ B(t.$slots, "prepend", {
9222
9215
  id: `${t.id}-prepend-icon`,
9223
9216
  active: M.value,
9224
9217
  disabled: C.disabled,
9225
9218
  error: C.errorMsg.length,
9226
9219
  loading: C.loading
9227
9220
  }, () => [
9228
- C.prependIcon ? (m(), D(R, {
9221
+ C.prependIcon ? (m(), R(F, {
9229
9222
  key: 0,
9230
9223
  id: `${t.id}-prepend-icon`,
9231
9224
  name: C.prependIcon
9232
- }, null, 8, ["id", "name"])) : g("", !0)
9225
+ }, null, 8, ["id", "name"])) : k("", !0)
9233
9226
  ])
9234
- ], 10, o3)) : g("", !0),
9235
- Z("div", {
9227
+ ], 10, l3)) : k("", !0),
9228
+ S("div", {
9236
9229
  id: `${t.id}-selections`,
9237
9230
  class: "r-dropdown__selections"
9238
9231
  }, [
9239
- k(t.$slots, "selection", {
9232
+ B(t.$slots, "selection", {
9240
9233
  id: `${t.id}-selection`,
9241
- removeOption: $,
9234
+ removeOption: W,
9242
9235
  selected: L.value
9243
9236
  }, () => [
9244
- Z("div", {
9237
+ S("div", {
9245
9238
  id: `${t.id}-selections-content`,
9246
9239
  class: "flex flex-wrap items-center gap-2 text-sm"
9247
9240
  }, [
9248
9241
  C.multiple && C.chips ? (m(), a(i1, { key: 0 }, [
9249
- (m(!0), a(i1, null, n1(j.value, (p) => (m(), D(S5, {
9250
- key: p.value,
9251
- id: `${t.id}-chip-${p.value}`,
9242
+ (m(!0), a(i1, null, o1(j.value, (c) => (m(), R(u5, {
9243
+ key: c.value,
9244
+ id: `${t.id}-chip-${c.value}`,
9252
9245
  clearable: "",
9253
9246
  ghost: "",
9254
- label: p.label,
9247
+ label: c.label,
9255
9248
  variant: "primary",
9256
- "onClick:close": (Q) => $(Q, p, P)
9249
+ "onClick:close": (G) => W(G, c, T)
9257
9250
  }, null, 8, ["id", "label", "onClick:close"]))), 128)),
9258
- k(t.$slots, "remaining-count", {
9251
+ B(t.$slots, "remaining-count", {
9259
9252
  id: `${t.id}-remaining-count`,
9260
- count: z.value
9253
+ count: K.value
9261
9254
  }, () => [
9262
- z.value > 0 ? (m(), a("span", {
9255
+ K.value > 0 ? (m(), a("span", {
9263
9256
  key: 0,
9264
9257
  id: `${t.id}-remaining-count-text`,
9265
9258
  class: "r-dropdown__remaining-count-text"
9266
- }, " +" + v(z.value), 9, a3)) : g("", !0)
9259
+ }, " +" + b(K.value), 9, r3)) : k("", !0)
9267
9260
  ])
9268
- ], 64)) : C.multiple ? (m(!0), a(i1, { key: 1 }, n1(L.value, (p, Q) => (m(), a("span", {
9269
- id: `${t.id}-selected-option-${Q}`,
9270
- key: p.value
9271
- }, v(p.label) + v(Q < L.value.length - 1 ? ", " : ""), 9, Z3))), 128)) : g("", !0)
9272
- ], 8, r3)
9261
+ ], 64)) : C.multiple ? (m(!0), a(i1, { key: 1 }, o1(L.value, (c, G) => (m(), a("span", {
9262
+ id: `${t.id}-selected-option-${G}`,
9263
+ key: c.value
9264
+ }, b(c.label) + b(G < L.value.length - 1 ? ", " : ""), 9, a3))), 128)) : k("", !0)
9265
+ ], 8, n3)
9273
9266
  ]),
9274
- n2(Z("input", {
9267
+ o2(S("input", {
9275
9268
  id: `${t.id}`,
9276
9269
  ref_key: "input",
9277
- ref: y,
9278
- "onUpdate:modelValue": s[0] || (s[0] = (p) => e.value = p),
9270
+ ref: u,
9271
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
9279
9272
  autocomplete: C.autocomplete,
9280
9273
  class: O(["r-dropdown__input", {
9281
9274
  "r-dropdown__input--loading": C.loading
9282
9275
  }]),
9283
9276
  disabled: C.disabled,
9284
9277
  placeholder: C.placeholder,
9285
- readonly: m1.value,
9278
+ readonly: I.value,
9286
9279
  role: "presentation",
9287
9280
  type: "text",
9288
- onInput: r1((p) => l1(P), ["prevent"]),
9281
+ onInput: n1((c) => z(T), ["prevent"]),
9289
9282
  onKeydown: [
9290
- L2((p) => $(
9291
- p,
9283
+ V2((c) => W(
9284
+ c,
9292
9285
  L.value[L.value.length - 1],
9293
- P
9286
+ T
9294
9287
  ), ["backspace"]),
9295
- L2((p) => J(p, P), ["enter"])
9288
+ V2((c) => N(c, T), ["enter"])
9296
9289
  ]
9297
- }, null, 42, u3), [
9298
- [P2, e.value]
9290
+ }, null, 42, Z3), [
9291
+ [y2, e.value]
9299
9292
  ])
9300
- ], 8, n3),
9293
+ ], 8, o3),
9301
9294
  C.clearable ? (m(), a("div", {
9302
9295
  key: 1,
9303
9296
  id: C.id ? `${C.id}-clearable-icon` : "clearable-icon",
9304
9297
  class: "r-dropdown__clearable",
9305
9298
  "data-has-value": (e.value !== "" || L.value.length) && M.value,
9306
- onClick: (p) => I(p, P)
9299
+ onClick: (c) => m1(c, T)
9307
9300
  }, [
9308
- k(t.$slots, "clearable", {}, () => [
9309
- C1(R, {
9301
+ B(t.$slots, "clearable", {}, () => [
9302
+ J(F, {
9310
9303
  id: `${t.id}-clearable-icon`,
9311
9304
  name: "mdiCloseCircle",
9312
9305
  size: "18"
9313
9306
  }, null, 8, ["id"])
9314
9307
  ])
9315
- ], 8, S3)) : g("", !0),
9308
+ ], 8, u3)) : k("", !0),
9316
9309
  C.appendIcon || t.$slots.append ? (m(), a("div", {
9317
9310
  key: 2,
9318
9311
  id: `${t.id}-append-icon`,
@@ -9321,129 +9314,129 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9321
9314
  "r-dropdown__append-icon--error": C.errorMsg
9322
9315
  }])
9323
9316
  }, [
9324
- k(t.$slots, "append", {
9317
+ B(t.$slots, "append", {
9325
9318
  id: `${t.id}-append-icon`,
9326
9319
  active: M.value,
9327
9320
  disabled: C.disabled,
9328
9321
  error: C.errorMsg.length,
9329
9322
  loading: C.loading
9330
9323
  }, () => [
9331
- C.appendIcon ? (m(), D(R, {
9324
+ C.appendIcon ? (m(), R(F, {
9332
9325
  key: 0,
9333
9326
  name: C.appendIcon
9334
- }, null, 8, ["name"])) : g("", !0)
9327
+ }, null, 8, ["name"])) : k("", !0)
9335
9328
  ])
9336
- ], 10, s3)) : g("", !0)
9337
- ], 10, l3)
9329
+ ], 10, S3)) : k("", !0)
9330
+ ], 10, m3)
9338
9331
  ]),
9339
- content: P1(({ hide: P, updatePosition: X }) => [
9340
- Z("ul", {
9332
+ content: P1(({ hide: T, updatePosition: X }) => [
9333
+ S("ul", {
9341
9334
  id: `${t.id}-options`,
9342
9335
  class: O(["r-dropdown-options", {
9343
9336
  "r-dropdown-options--active": M.value,
9344
9337
  [C.optionsClass]: C.optionsClass
9345
9338
  }])
9346
9339
  }, [
9347
- C.showSelectAll && C.multiple && F.value.length > 0 ? (m(), a("li", {
9340
+ C.showSelectAll && C.multiple && g.value.length > 0 ? (m(), a("li", {
9348
9341
  key: 0,
9349
9342
  class: O(["r-dropdown-options__option", {
9350
- "r-dropdown-options__option--active": L.value.length === F.value.length,
9343
+ "r-dropdown-options__option--active": L.value.length === g.value.length,
9351
9344
  "r-dropdown-options__option--disabled": !1
9352
9345
  }]),
9353
- onClick: r1((p) => x(
9354
- p,
9346
+ onClick: n1((c) => E(
9347
+ c,
9355
9348
  { label: C.selectAllText, value: "select-all" },
9356
- P,
9349
+ T,
9357
9350
  X
9358
9351
  ), ["prevent"])
9359
9352
  }, [
9360
- Z("div", O3, [
9361
- Z("p", f3, v(C.selectAllText), 1)
9353
+ S("div", p3, [
9354
+ S("p", O3, b(C.selectAllText), 1)
9362
9355
  ]),
9363
- L.value.length === F.value.length && !C.hideOptionCheckIcon ? (m(), D(R, {
9356
+ L.value.length === g.value.length && !C.hideOptionCheckIcon ? (m(), R(F, {
9364
9357
  key: 0,
9365
9358
  class: O(["r-dropdown-options__option__append-icon", {
9366
- "r-dropdown-options__option__append-icon--active": L.value.length === F.value.length
9359
+ "r-dropdown-options__option__append-icon--active": L.value.length === g.value.length
9367
9360
  }]),
9368
9361
  name: "mdiCheck"
9369
- }, null, 8, ["class"])) : g("", !0)
9370
- ], 10, p3)) : g("", !0),
9371
- C.showSelectAll && F.value.length > 0 ? (m(), a("hr", {
9362
+ }, null, 8, ["class"])) : k("", !0)
9363
+ ], 10, c3)) : k("", !0),
9364
+ C.showSelectAll && g.value.length > 0 ? (m(), a("hr", {
9372
9365
  key: 1,
9373
9366
  id: `${t.id}-divider`,
9374
9367
  class: "r-dropdown-options__divider"
9375
- }, null, 8, h3)) : g("", !0),
9376
- (m(!0), a(i1, null, n1(F.value, (p) => (m(), a("li", {
9377
- id: `${t.id}-option-${p.value}`,
9378
- key: p.value,
9379
- "aria-disabled": p.disabled,
9368
+ }, null, 8, f3)) : k("", !0),
9369
+ (m(!0), a(i1, null, o1(g.value, (c) => (m(), a("li", {
9370
+ id: `${t.id}-option-${c.value}`,
9371
+ key: c.value,
9372
+ "aria-disabled": c.disabled,
9380
9373
  class: O(["r-dropdown-options__option", {
9381
- "r-dropdown-options__option--active": h(p),
9382
- "r-dropdown-options__option--disabled": p.disabled,
9383
- "r-dropdown-options__option--deselect": h(p) && C.disableDeselect
9374
+ "r-dropdown-options__option--active": _(c),
9375
+ "r-dropdown-options__option--disabled": c.disabled,
9376
+ "r-dropdown-options__option--deselect": _(c) && C.disableDeselect
9384
9377
  }]),
9385
- onClick: r1((Q) => x(Q, p, P, X), ["prevent"])
9378
+ onClick: n1((G) => E(G, c, T, X), ["prevent"])
9386
9379
  }, [
9387
- k(t.$slots, "option", {
9388
- id: `${t.id}-option-${p.value}`,
9389
- disabled: p.disabled,
9390
- isSelected: h(p),
9391
- item: p
9380
+ B(t.$slots, "option", {
9381
+ id: `${t.id}-option-${c.value}`,
9382
+ disabled: c.disabled,
9383
+ isSelected: _(c),
9384
+ item: c
9392
9385
  }, () => [
9393
- Z("div", {
9394
- id: `${t.id}-option-content-${p.value}`,
9386
+ S("div", {
9387
+ id: `${t.id}-option-content-${c.value}`,
9395
9388
  class: "flex items-center"
9396
9389
  }, [
9397
- k(t.$slots, "option-prepend", {
9398
- id: `${t.id}-option-prepend-${p.value}`,
9399
- disabled: p.disabled,
9400
- isSelected: h(p)
9390
+ B(t.$slots, "option-prepend", {
9391
+ id: `${t.id}-option-prepend-${c.value}`,
9392
+ disabled: c.disabled,
9393
+ isSelected: _(c)
9401
9394
  }, () => [
9402
- p.prependIcon ? (m(), D(R, {
9395
+ c.prependIcon ? (m(), R(F, {
9403
9396
  key: 0,
9404
- id: `${t.id}-option-prepend-icon-${p.value}`,
9397
+ id: `${t.id}-option-prepend-icon-${c.value}`,
9405
9398
  class: O(["r-dropdown-options__option__prepend-icon", {
9406
- "r-dropdown-options__option__prepend-icon--active": h(p)
9399
+ "r-dropdown-options__option__prepend-icon--active": _(c)
9407
9400
  }]),
9408
- name: p.prependIcon
9409
- }, null, 8, ["id", "class", "name"])) : g("", !0)
9401
+ name: c.prependIcon
9402
+ }, null, 8, ["id", "class", "name"])) : k("", !0)
9410
9403
  ]),
9411
- Z("p", {
9412
- id: `${t.id}-option-label-${p.value}`,
9404
+ S("p", {
9405
+ id: `${t.id}-option-label-${c.value}`,
9413
9406
  class: O(["r-dropdown-options__option__label", {
9414
- "r-dropdown-options__option__label--active": h(p)
9407
+ "r-dropdown-options__option__label--active": _(c)
9415
9408
  }])
9416
- }, v(p.label), 11, B3)
9417
- ], 8, k3),
9418
- k(t.$slots, "option-append", {
9419
- id: `${t.id}-option-append-${p.value}`,
9420
- disabled: p.disabled,
9421
- isSelected: h(p)
9409
+ }, b(c.label), 11, k3)
9410
+ ], 8, g3),
9411
+ B(t.$slots, "option-append", {
9412
+ id: `${t.id}-option-append-${c.value}`,
9413
+ disabled: c.disabled,
9414
+ isSelected: _(c)
9422
9415
  }, () => [
9423
- h(p) && !C.hideOptionCheckIcon ? (m(), D(R, {
9416
+ _(c) && !C.hideOptionCheckIcon ? (m(), R(F, {
9424
9417
  key: 0,
9425
9418
  class: O(["r-dropdown-options__option__append-icon", {
9426
- "r-dropdown-options__option__append-icon--active": h(p)
9419
+ "r-dropdown-options__option__append-icon--active": _(c)
9427
9420
  }]),
9428
9421
  name: "mdiCheck"
9429
- }, null, 8, ["class"])) : g("", !0)
9422
+ }, null, 8, ["class"])) : k("", !0)
9430
9423
  ])
9431
9424
  ])
9432
- ], 10, g3))), 128)),
9433
- F.value.length === 0 ? (m(), a("li", {
9425
+ ], 10, h3))), 128)),
9426
+ g.value.length === 0 ? (m(), a("li", {
9434
9427
  key: 2,
9435
9428
  id: `${t.id}-no-option`,
9436
9429
  class: "r-dropdown-options__no-option"
9437
9430
  }, [
9438
- k(t.$slots, "not-options", {}, () => [
9439
- f1(v(C.noOptionsText), 1)
9431
+ B(t.$slots, "not-options", {}, () => [
9432
+ f1(b(C.noOptionsText), 1)
9440
9433
  ])
9441
- ], 8, b3)) : g("", !0)
9442
- ], 10, c3)
9434
+ ], 8, B3)) : k("", !0)
9435
+ ], 10, s3)
9443
9436
  ]),
9444
9437
  _: 3
9445
9438
  }, 8, ["id", "disabled", "tooltip-class"]),
9446
- t.$props.hideDetails ? g("", !0) : (m(), a("div", {
9439
+ t.$props.hideDetails ? k("", !0) : (m(), a("div", {
9447
9440
  key: 0,
9448
9441
  id: `${t.id}-details`,
9449
9442
  class: "r-dropdown-details"
@@ -9452,16 +9445,16 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9452
9445
  key: 0,
9453
9446
  id: `${t.id}-error`,
9454
9447
  class: "r-dropdown-error"
9455
- }, v(C.errorMsg), 9, w3)) : g("", !0),
9448
+ }, b(C.errorMsg), 9, v3)) : k("", !0),
9456
9449
  C.hint ? (m(), a("div", {
9457
9450
  key: 1,
9458
9451
  id: `${t.id}-hint`,
9459
9452
  class: "r-dropdown-hint"
9460
- }, v(C.hint), 9, y3)) : g("", !0)
9461
- ], 8, v3))
9462
- ], 8, m3));
9453
+ }, b(C.hint), 9, w3)) : k("", !0)
9454
+ ], 8, b3))
9455
+ ], 8, t3));
9463
9456
  }
9464
- }), T3 = ["id", "for"], b2 = /* @__PURE__ */ T({
9457
+ }), P3 = ["id", "for"], B2 = /* @__PURE__ */ P({
9465
9458
  __name: "RLabel",
9466
9459
  props: {
9467
9460
  id: { default: "" },
@@ -9475,14 +9468,14 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9475
9468
  class: "r-label",
9476
9469
  for: V.for
9477
9470
  }, [
9478
- k(i.$slots, "default", {
9471
+ B(i.$slots, "default", {
9479
9472
  id: `${C.value}-slot`
9480
9473
  }, () => [
9481
- f1(v(V.text), 1)
9474
+ f1(b(V.text), 1)
9482
9475
  ])
9483
- ], 8, T3));
9476
+ ], 8, P3));
9484
9477
  }
9485
- }), F3 = ["id", "onClick"], R3 = ["id", "open"], x3 = ["id"], D3 = ["id"], E3 = ["id"], _3 = ["id"], $3 = ["id"], W3 = ["id"], L7 = /* @__PURE__ */ T({
9478
+ }), T3 = ["id", "onClick"], F3 = ["id", "open"], R3 = ["id"], x3 = ["id"], D3 = ["id"], E3 = ["id"], _3 = ["id"], $3 = ["id"], V7 = /* @__PURE__ */ P({
9486
9479
  __name: "RModal",
9487
9480
  props: {
9488
9481
  modelValue: { type: Boolean, default: !1 },
@@ -9518,12 +9511,12 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9518
9511
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9519
9512
  }), window.addEventListener("keydown", (e) => {
9520
9513
  e.key === "Escape" && C.modelValue && C.outsideClick && i("update:modelValue", !1);
9521
- }), (e, d) => n2((m(), a("div", {
9514
+ }), (e, d) => o2((m(), a("div", {
9522
9515
  id: e.id,
9523
9516
  class: O(["r-modal-overlay", e.overlayClass]),
9524
- onClick: r1(M, ["stop"])
9517
+ onClick: n1(M, ["stop"])
9525
9518
  }, [
9526
- Z("div", {
9519
+ S("div", {
9527
9520
  id: `${e.id}-dialog`,
9528
9521
  "aria-modal": "true",
9529
9522
  class: O(A.value),
@@ -9531,14 +9524,14 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9531
9524
  role: "dialog",
9532
9525
  style: j1(L.value)
9533
9526
  }, [
9534
- k(e.$slots, "wrapper", {
9527
+ B(e.$slots, "wrapper", {
9535
9528
  id: `${e.id}-wrapper`
9536
9529
  }, () => [
9537
- Z("div", {
9530
+ S("div", {
9538
9531
  id: `${e.id}-header`,
9539
9532
  class: "r-dialog__header"
9540
9533
  }, [
9541
- k(e.$slots, "header", {
9534
+ B(e.$slots, "header", {
9542
9535
  id: `${e.id}-header`
9543
9536
  }),
9544
9537
  C.icon ? (m(), a("div", {
@@ -9546,44 +9539,44 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9546
9539
  id: `${e.id}-icon`,
9547
9540
  class: "icon"
9548
9541
  }, [
9549
- C1(R, {
9542
+ J(F, {
9550
9543
  name: C.icon
9551
9544
  }, null, 8, ["name"])
9552
- ], 8, D3)) : g("", !0),
9545
+ ], 8, x3)) : k("", !0),
9553
9546
  C.title ? (m(), a("div", {
9554
9547
  key: 1,
9555
9548
  id: `${e.id}-title`,
9556
9549
  class: "title"
9557
- }, v(C.title), 9, E3)) : g("", !0),
9550
+ }, b(C.title), 9, D3)) : k("", !0),
9558
9551
  C.description ? (m(), a("div", {
9559
9552
  key: 2,
9560
9553
  id: `${e.id}-description`,
9561
9554
  class: "description"
9562
- }, v(C.description), 9, _3)) : g("", !0)
9563
- ], 8, x3),
9564
- Z("div", {
9555
+ }, b(C.description), 9, E3)) : k("", !0)
9556
+ ], 8, R3),
9557
+ S("div", {
9565
9558
  id: `${e.id}-body`,
9566
9559
  class: "r-dialog__body"
9567
9560
  }, [
9568
- k(e.$slots, "default", {
9561
+ B(e.$slots, "default", {
9569
9562
  id: `${e.id}-body`
9570
9563
  })
9571
- ], 8, $3),
9572
- Z("div", {
9564
+ ], 8, _3),
9565
+ S("div", {
9573
9566
  id: `${e.id}-actions`,
9574
9567
  class: "r-dialog__actions"
9575
9568
  }, [
9576
- k(e.$slots, "actions", {
9569
+ B(e.$slots, "actions", {
9577
9570
  id: `${e.id}-actions`
9578
9571
  })
9579
- ], 8, W3)
9572
+ ], 8, $3)
9580
9573
  ])
9581
- ], 14, R3)
9582
- ], 10, F3)), [
9583
- [T2, e.modelValue]
9574
+ ], 14, F3)
9575
+ ], 10, T3)), [
9576
+ [P2, e.modelValue]
9584
9577
  ]);
9585
9578
  }
9586
- }), N3 = ["id", "data-open"], I3 = ["id", "data-open"], Q3 = ["id", "data-open"], M7 = /* @__PURE__ */ T({
9579
+ }), W3 = ["id", "data-open"], N3 = ["id", "data-open"], I3 = ["id", "data-open"], L7 = /* @__PURE__ */ P({
9587
9580
  __name: "RSidebar",
9588
9581
  props: {
9589
9582
  modelValue: { type: Boolean, default: !1 },
@@ -9601,15 +9594,15 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9601
9594
  class: O(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9602
9595
  "data-open": C.modelValue
9603
9596
  }, [
9604
- Z("aside", {
9597
+ S("aside", {
9605
9598
  id: `${A.id}-aside`,
9606
9599
  class: O(["r-sidebar", [C.class]]),
9607
9600
  "data-open": C.modelValue
9608
9601
  }, [
9609
- k(A.$slots, "default", {
9602
+ B(A.$slots, "default", {
9610
9603
  open: C.modelValue
9611
9604
  })
9612
- ], 10, I3),
9605
+ ], 10, N3),
9613
9606
  C.showTrigger ? (m(), a("div", {
9614
9607
  key: 0,
9615
9608
  id: `${A.id}-trigger`,
@@ -9617,16 +9610,16 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9617
9610
  "data-open": C.modelValue,
9618
9611
  onClick: L[0] || (L[0] = (M) => i("update:modelValue", !C.modelValue))
9619
9612
  }, [
9620
- k(A.$slots, "trigger", {
9613
+ B(A.$slots, "trigger", {
9621
9614
  id: `${A.id}-trigger-slot`,
9622
9615
  open: C.modelValue
9623
9616
  }, () => [
9624
9617
  f1(" > ")
9625
9618
  ])
9626
- ], 10, Q3)) : g("", !0)
9627
- ], 10, N3));
9619
+ ], 10, I3)) : k("", !0)
9620
+ ], 10, W3));
9628
9621
  }
9629
- }), G3 = ["id"], U3 = ["id"], i7 = /* @__PURE__ */ T({
9622
+ }), Q3 = ["id"], G3 = ["id"], M7 = /* @__PURE__ */ P({
9630
9623
  __name: "RSnackbar",
9631
9624
  props: {
9632
9625
  modelValue: { type: Boolean, default: !1 },
@@ -9641,7 +9634,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9641
9634
  emits: ["action", "update:modelValue"],
9642
9635
  setup(H, { emit: V }) {
9643
9636
  const C = H, i = V;
9644
- W(
9637
+ $(
9645
9638
  () => C.modelValue,
9646
9639
  () => {
9647
9640
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9669,43 +9662,43 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9669
9662
  id: M.id,
9670
9663
  class: O(A.value)
9671
9664
  }, [
9672
- k(M.$slots, "icon", {
9665
+ B(M.$slots, "icon", {
9673
9666
  id: `${M.id}-icon`
9674
9667
  }, () => [
9675
- C.variant ? (m(), D(R, {
9668
+ C.variant ? (m(), R(F, {
9676
9669
  key: 0,
9677
9670
  class: "r-snackbar__icon",
9678
9671
  name: L.value
9679
- }, null, 8, ["name"])) : g("", !0)
9672
+ }, null, 8, ["name"])) : k("", !0)
9680
9673
  ]),
9681
- Z("div", {
9674
+ S("div", {
9682
9675
  id: `${M.id}-text`,
9683
9676
  class: "r-snackbar__text"
9684
9677
  }, [
9685
- k(M.$slots, "default", {
9678
+ B(M.$slots, "default", {
9686
9679
  id: `${M.id}-text-slot`
9687
9680
  }, () => [
9688
- f1(v(C.text), 1)
9681
+ f1(b(C.text), 1)
9689
9682
  ])
9690
- ], 8, U3),
9683
+ ], 8, G3),
9691
9684
  C.closable ? (m(), a("div", {
9692
9685
  key: 0,
9693
9686
  class: "r-snackbar__close",
9694
- onClick: e[0] || (e[0] = r1((d) => M.$emit("update:modelValue", !1), ["stop"]))
9687
+ onClick: e[0] || (e[0] = n1((d) => M.$emit("update:modelValue", !1), ["stop"]))
9695
9688
  }, [
9696
- k(M.$slots, "close", {
9689
+ B(M.$slots, "close", {
9697
9690
  id: `${M.id}-close-slot`
9698
9691
  }, () => [
9699
- C1(R, {
9692
+ J(F, {
9700
9693
  id: `${M.id}-close-icon`,
9701
9694
  name: "mdiClose",
9702
9695
  size: 16
9703
9696
  }, null, 8, ["id"])
9704
9697
  ])
9705
- ])) : g("", !0)
9706
- ], 10, G3));
9698
+ ])) : k("", !0)
9699
+ ], 10, Q3));
9707
9700
  }
9708
- }), 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({
9701
+ }), U3 = ["id"], z3 = ["id", "checked", "disabled", "name"], K3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), q3 = ["id", "for"], j3 = ["id"], X3 = ["id"], Y3 = ["id"], i7 = /* @__PURE__ */ P({
9709
9702
  __name: "RSwitch",
9710
9703
  props: {
9711
9704
  id: { default: "switch" },
@@ -9721,7 +9714,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9721
9714
  },
9722
9715
  emits: ["update:modelValue"],
9723
9716
  setup(H, { emit: V }) {
9724
- const C = H, i = V, A = E({
9717
+ const C = H, i = V, A = D({
9725
9718
  checked: !1
9726
9719
  }), L = f(() => ({
9727
9720
  "r-switch": !0,
@@ -9732,7 +9725,7 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9732
9725
  function e(d) {
9733
9726
  C.disabled || (A.value.checked = d.target.checked, i("update:modelValue", A.value.checked));
9734
9727
  }
9735
- return W(
9728
+ return $(
9736
9729
  () => C.modelValue,
9737
9730
  (d) => {
9738
9731
  A.value.checked = d;
@@ -9749,10 +9742,10 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9749
9742
  "r-switch-container--hide-details": C.hideDetails
9750
9743
  }])
9751
9744
  }, [
9752
- Z("div", {
9745
+ S("div", {
9753
9746
  class: O(L.value)
9754
9747
  }, [
9755
- Z("input", {
9748
+ S("input", {
9756
9749
  id: `${M.value}`,
9757
9750
  checked: A.value.checked,
9758
9751
  class: "r-switch__input",
@@ -9760,20 +9753,20 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9760
9753
  name: C.name,
9761
9754
  type: "checkbox",
9762
9755
  onChange: e
9763
- }, null, 40, K3),
9764
- q3
9756
+ }, null, 40, z3),
9757
+ K3
9765
9758
  ], 2),
9766
- Z("div", {
9759
+ S("div", {
9767
9760
  class: O(["r-switch-texts", {
9768
9761
  [`r-switch-texts--${C.size}`]: !0
9769
9762
  }])
9770
9763
  }, [
9771
- Z("label", {
9764
+ S("label", {
9772
9765
  id: `${M.value}`,
9773
9766
  class: "r-switch-texts__label",
9774
9767
  for: M.value
9775
- }, v(C.label), 9, j3),
9776
- C.hideDetails ? g("", !0) : (m(), a("div", {
9768
+ }, b(C.label), 9, q3),
9769
+ C.hideDetails ? k("", !0) : (m(), a("div", {
9777
9770
  key: 0,
9778
9771
  id: `${M.value}-details`,
9779
9772
  class: "r-switch-texts__details"
@@ -9782,18 +9775,18 @@ const i3 = ["id", "aria-disabled"], A3 = ["innerHTML"], e3 = ["id"], d3 = ["id"]
9782
9775
  key: 0,
9783
9776
  id: `${M.value}-error`,
9784
9777
  class: "r-switch-texts__error"
9785
- }, v(C.errorMsg), 9, Y3)) : (m(), a("p", {
9778
+ }, b(C.errorMsg), 9, X3)) : (m(), a("p", {
9786
9779
  key: 1,
9787
9780
  id: `${M.value}-hint`,
9788
9781
  class: "r-switch-texts__hint"
9789
- }, v(C.hint), 9, J3))
9790
- ], 8, X3))
9782
+ }, b(C.hint), 9, Y3))
9783
+ ], 8, j3))
9791
9784
  ], 2)
9792
- ], 10, z3));
9785
+ ], 10, U3));
9793
9786
  }
9794
9787
  });
9795
9788
  var c1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(c1 || {});
9796
- const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }, V0 = /* @__PURE__ */ T({
9789
+ const J3 = ["id", "aria-disabled", "aria-selected", "disabled"], C0 = { key: 0 }, H0 = /* @__PURE__ */ P({
9797
9790
  __name: "RTabItem",
9798
9791
  props: {
9799
9792
  id: {},
@@ -9827,40 +9820,40 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9827
9820
  class: O(A.value),
9828
9821
  disabled: C.disabled,
9829
9822
  style: j1(L.value),
9830
- onClick: l[0] || (l[0] = r1((n) => e(C.id), ["stop"]))
9823
+ onClick: l[0] || (l[0] = n1((n) => e(C.id), ["stop"]))
9831
9824
  }, [
9832
- k(d.$slots, "prepend", {
9825
+ B(d.$slots, "prepend", {
9833
9826
  active: M.value,
9834
9827
  disabled: C.disabled
9835
9828
  }, () => [
9836
- C.variant !== A1(c1).TEXT && C.prependIcon ? (m(), D(R, {
9829
+ C.variant !== A1(c1).TEXT && C.prependIcon ? (m(), R(F, {
9837
9830
  key: 0,
9838
9831
  class: "r-tab-item__prepend-icon",
9839
9832
  name: C.prependIcon,
9840
9833
  size: 16
9841
- }, null, 8, ["name"])) : g("", !0)
9834
+ }, null, 8, ["name"])) : k("", !0)
9842
9835
  ]),
9843
- C.variant !== A1(c1).ICON ? (m(), a("span", H0, [
9844
- k(d.$slots, "default", {
9836
+ C.variant !== A1(c1).ICON ? (m(), a("span", C0, [
9837
+ B(d.$slots, "default", {
9845
9838
  label: C.label
9846
9839
  }, () => [
9847
- f1(v(C.label), 1)
9840
+ f1(b(C.label), 1)
9848
9841
  ])
9849
- ])) : g("", !0),
9850
- k(d.$slots, "append", {
9842
+ ])) : k("", !0),
9843
+ B(d.$slots, "append", {
9851
9844
  active: M.value,
9852
9845
  disabled: C.disabled
9853
9846
  }, () => [
9854
- C.variant !== A1(c1).TEXT && C.appendIcon ? (m(), D(R, {
9847
+ C.variant !== A1(c1).TEXT && C.appendIcon ? (m(), R(F, {
9855
9848
  key: 0,
9856
9849
  class: "r-tab-item__append-icon",
9857
9850
  name: C.appendIcon,
9858
9851
  size: 16
9859
- }, null, 8, ["name"])) : g("", !0)
9852
+ }, null, 8, ["name"])) : k("", !0)
9860
9853
  ])
9861
- ], 14, C0));
9854
+ ], 14, J3));
9862
9855
  }
9863
- }), L0 = ["id"], M0 = ["id"], e7 = /* @__PURE__ */ T({
9856
+ }), V0 = ["id"], L0 = ["id"], A7 = /* @__PURE__ */ P({
9864
9857
  __name: "RTabs",
9865
9858
  props: {
9866
9859
  tabs: { default: () => [] },
@@ -9872,16 +9865,16 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9872
9865
  },
9873
9866
  emits: ["update:modelValue"],
9874
9867
  setup(H, { emit: V }) {
9875
- const C = H, i = V, A = E(C.modelValue || (C.tabs.length > 0 ? C.tabs[0].id : "")), L = f(() => ({
9868
+ const C = H, i = V, A = D(C.modelValue || (C.tabs.length > 0 ? C.tabs[0].id : "")), L = f(() => ({
9876
9869
  "r-tabs": !0,
9877
9870
  "r-tabs--tile": C.tile
9878
9871
  }));
9879
- return W(
9872
+ return $(
9880
9873
  () => A.value,
9881
9874
  () => {
9882
9875
  i("update:modelValue", A.value);
9883
9876
  }
9884
- ), W(
9877
+ ), $(
9885
9878
  () => C.modelValue,
9886
9879
  () => {
9887
9880
  A.value = C.modelValue;
@@ -9893,7 +9886,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9893
9886
  id: M.id,
9894
9887
  class: O(L.value)
9895
9888
  }, [
9896
- Z("div", {
9889
+ S("div", {
9897
9890
  id: `${M.id}-tabs`,
9898
9891
  class: O(["flex", [{
9899
9892
  "w-full": C.block,
@@ -9901,11 +9894,11 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9901
9894
  "gap-0.5": C.tile
9902
9895
  }]])
9903
9896
  }, [
9904
- k(M.$slots, "default", {
9897
+ B(M.$slots, "default", {
9905
9898
  id: `${M.id}-slot`,
9906
9899
  activeTab: A.value
9907
9900
  }, () => [
9908
- (m(!0), a(i1, null, n1(C.tabs, (d, l) => (m(), D(V0, {
9901
+ (m(!0), a(i1, null, o1(C.tabs, (d, l) => (m(), R(H0, {
9909
9902
  id: d.id,
9910
9903
  key: l,
9911
9904
  modelValue: A.value,
@@ -9919,10 +9912,10 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9919
9912
  variant: d.variant
9920
9913
  }, null, 8, ["id", "modelValue", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9921
9914
  ])
9922
- ], 10, M0)
9923
- ], 10, L0));
9915
+ ], 10, L0)
9916
+ ], 10, V0));
9924
9917
  }
9925
- }), i0 = ["id"], A0 = ["id", "disabled", "placeholder", "value"], e0 = ["id"], d0 = ["id"], t0 = ["id"], d7 = /* @__PURE__ */ T({
9918
+ }), M0 = ["id"], i0 = ["id", "disabled", "placeholder", "value"], A0 = ["id"], e0 = ["id"], d0 = ["id"], e7 = /* @__PURE__ */ P({
9926
9919
  __name: "RTextArea",
9927
9920
  props: {
9928
9921
  id: { default: "" },
@@ -9942,7 +9935,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9942
9935
  function L(e) {
9943
9936
  i("update:modelValue", e.target.value);
9944
9937
  }
9945
- W(
9938
+ $(
9946
9939
  () => C.modelValue,
9947
9940
  (e) => {
9948
9941
  A.value = e;
@@ -9956,14 +9949,14 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9956
9949
  id: M.value,
9957
9950
  class: "r-textarea-wrapper"
9958
9951
  }, [
9959
- C.label ? (m(), D(b2, {
9952
+ C.label ? (m(), R(B2, {
9960
9953
  key: 0,
9961
9954
  id: `${M.value}`,
9962
9955
  class: "r-textarea__label",
9963
9956
  for: M.value,
9964
9957
  text: C.label
9965
- }, null, 8, ["id", "for", "text"])) : g("", !0),
9966
- Z("textarea", E1(e.$attrs, {
9958
+ }, null, 8, ["id", "for", "text"])) : k("", !0),
9959
+ S("textarea", E1(e.$attrs, {
9967
9960
  id: `${M.value}`,
9968
9961
  class: ["r-textarea", {
9969
9962
  "r-textarea--error": C.errorMsg,
@@ -9973,8 +9966,8 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9973
9966
  placeholder: C.placeholder,
9974
9967
  value: A.value,
9975
9968
  onInput: L
9976
- }), null, 16, A0),
9977
- C.hideDetails ? g("", !0) : (m(), a("div", {
9969
+ }), null, 16, i0),
9970
+ C.hideDetails ? k("", !0) : (m(), a("div", {
9978
9971
  key: 1,
9979
9972
  id: `${M.value}-details`,
9980
9973
  class: "r-textarea__details"
@@ -9983,18 +9976,18 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
9983
9976
  key: 0,
9984
9977
  id: `${M.value}-error`,
9985
9978
  class: "r-textarea__error"
9986
- }, v(C.errorMsg), 9, d0)) : (m(), a("p", {
9979
+ }, b(C.errorMsg), 9, e0)) : (m(), a("p", {
9987
9980
  key: 1,
9988
9981
  id: `${M.value}-hint`,
9989
9982
  class: "r-textarea__hint"
9990
- }, v(C.hint), 9, t0))
9991
- ], 8, e0))
9992
- ], 8, i0));
9983
+ }, b(C.hint), 9, d0))
9984
+ ], 8, A0))
9985
+ ], 8, M0));
9993
9986
  }
9994
- }), m0 = ["id"], l0 = ["id"], o0 = ["id"], n0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], r0 = ["id"], a0 = ["id"], Z0 = {
9987
+ }), t0 = ["id"], m0 = ["id"], l0 = ["id"], o0 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], n0 = ["id"], r0 = ["id"], a0 = {
9995
9988
  key: 1,
9996
9989
  class: "r-textfield__hint"
9997
- }, t7 = /* @__PURE__ */ T({
9990
+ }, d7 = /* @__PURE__ */ P({
9998
9991
  __name: "RTextfield",
9999
9992
  props: {
10000
9993
  id: { default: "" },
@@ -10024,124 +10017,124 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10024
10017
  "click:clear"
10025
10018
  ],
10026
10019
  setup(H, { emit: V }) {
10027
- const C = H, i = V, A = E(), L = D1({
10020
+ const C = H, i = V, A = D(), L = D1({
10028
10021
  value: ""
10029
- }), M = E(C.type), e = {
10022
+ }), M = D(C.type), e = {
10030
10023
  password: "mdiLock",
10031
10024
  email: "mdiEmailOutline",
10032
10025
  tel: "mdiPhone",
10033
10026
  url: "mdiLink",
10034
10027
  number: "mdiNumeric",
10035
10028
  text: ""
10036
- }, d = E(!1), l = f(() => !!L.value), n = f(() => L.value.length > 0), u = f(() => {
10037
- var h;
10038
- return (h = C.errorMsg) == null ? void 0 : h.length;
10029
+ }, d = D(!1), l = f(() => !!L.value), n = f(() => L.value.length > 0), Z = f(() => {
10030
+ var g;
10031
+ return (g = C.errorMsg) == null ? void 0 : g.length;
10039
10032
  }), o = f(() => C.clearable && n.value), r = f(() => {
10040
- const { disabled: h, loading: F } = C;
10033
+ const { disabled: g, loading: I } = C;
10041
10034
  return {
10042
10035
  "r-textfield": !0,
10043
- "r-textfield--error": u.value,
10044
- "r-textfield--loading": F,
10045
- "r-textfield--disabled": h,
10036
+ "r-textfield--error": Z.value,
10037
+ "r-textfield--loading": I,
10038
+ "r-textfield--disabled": g,
10046
10039
  "r-textfield--clearable": o.value,
10047
10040
  "r-textfield--focus": d.value,
10048
10041
  "r-textfield--filled": l.value
10049
10042
  };
10050
- }), S = f(() => ({
10043
+ }), u = f(() => ({
10051
10044
  "r-textfield__prepend-icon": !0,
10052
10045
  "r-textfield__prepend-icon--loading": C.loading,
10053
- "r-textfield__prepend-icon--error": u.value && l.value
10054
- })), b = f(() => ({
10046
+ "r-textfield__prepend-icon--error": Z.value && l.value
10047
+ })), v = f(() => ({
10055
10048
  "r-textfield__append-icon": !0,
10056
10049
  "r-textfield__append-icon--clear": o.value,
10057
- "r-textfield__append-icon--error": u.value
10058
- })), B = f(() => {
10059
- const { prependIcon: h, type: F } = C;
10060
- return h === "none" ? "" : h || e[F];
10050
+ "r-textfield__append-icon--error": Z.value
10051
+ })), h = f(() => {
10052
+ const { prependIcon: g, type: I } = C;
10053
+ return g === "none" ? "" : g || e[I];
10061
10054
  }), y = f(() => {
10062
- const { appendIcon: h, type: F } = C;
10063
- 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;
10064
- }), c = f(() => C.id || "r-textfield");
10065
- function w(h) {
10066
- d.value = !0, i("focus", h);
10055
+ const { appendIcon: g, type: I } = C;
10056
+ return g === "none" ? "" : Z.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(I) ? "mdiClose" : I === "password" && M.value === "password" ? "mdiEyeOutline" : I === "password" && M.value === "text" ? "mdiEyeOffOutline" : g;
10057
+ }), p = f(() => C.id || "r-textfield");
10058
+ function w(g) {
10059
+ d.value = !0, i("focus", g);
10067
10060
  }
10068
- function _(h) {
10069
- d.value = !1, i("blur", h);
10061
+ function E(g) {
10062
+ d.value = !1, i("blur", g);
10070
10063
  }
10071
- function x(h) {
10072
- L.value = h.target.value, i("input", h);
10064
+ function x(g) {
10065
+ L.value = g.target.value, i("input", g);
10073
10066
  }
10074
- function U() {
10075
- var h;
10067
+ function W() {
10068
+ var g;
10076
10069
  if (o.value) {
10077
- L.value = "", (h = A.value) == null || h.focus(), i("click:clear", {
10070
+ L.value = "", (g = A.value) == null || g.focus(), i("click:clear", {
10078
10071
  value: M.value === "number" ? +L.value : L.value
10079
10072
  });
10080
10073
  return;
10081
10074
  }
10082
10075
  i("click:icon", {
10083
10076
  value: M.value === "number" ? +L.value : L.value
10084
- }), C.type === "password" && $();
10077
+ }), C.type === "password" && N();
10085
10078
  }
10086
- function $() {
10079
+ function N() {
10087
10080
  M.value = M.value === "password" ? "text" : "password";
10088
10081
  }
10089
- function J() {
10090
- var h;
10091
- (h = A.value) == null || h.focus();
10082
+ function _() {
10083
+ var g;
10084
+ (g = A.value) == null || g.focus();
10092
10085
  }
10093
- return W(
10086
+ return $(
10094
10087
  () => C.modelValue,
10095
- (h) => {
10096
- L.value = h;
10088
+ (g) => {
10089
+ L.value = g;
10097
10090
  },
10098
10091
  {
10099
10092
  immediate: !0
10100
10093
  }
10101
- ), W(
10094
+ ), $(
10102
10095
  () => L.value,
10103
- (h) => {
10096
+ (g) => {
10104
10097
  i(
10105
10098
  "update:modelValue",
10106
- M.value === "number" ? +h : h
10099
+ M.value === "number" ? +g : g
10107
10100
  );
10108
10101
  }
10109
- ), (h, F) => (m(), a("div", {
10110
- id: c.value,
10102
+ ), (g, I) => (m(), a("div", {
10103
+ id: p.value,
10111
10104
  class: "r-textfield__wrapper"
10112
10105
  }, [
10113
- C.label ? (m(), D(b2, {
10106
+ C.label ? (m(), R(B2, {
10114
10107
  key: 0,
10115
- id: `${c.value}`,
10108
+ id: `${p.value}`,
10116
10109
  class: "r-textfield__label",
10117
- for: c.value,
10110
+ for: p.value,
10118
10111
  text: C.label,
10119
- onClick: J
10120
- }, null, 8, ["id", "for", "text"])) : g("", !0),
10121
- Z("div", {
10122
- id: `${c.value}-input-wrapper`,
10112
+ onClick: _
10113
+ }, null, 8, ["id", "for", "text"])) : k("", !0),
10114
+ S("div", {
10115
+ id: `${p.value}-input-wrapper`,
10123
10116
  class: "input-wrapper"
10124
10117
  }, [
10125
- Z("div", {
10126
- id: `${c.value}-input-wrapper-inner`,
10118
+ S("div", {
10119
+ id: `${p.value}-input-wrapper-inner`,
10127
10120
  class: O(r.value)
10128
10121
  }, [
10129
- k(h.$slots, "prepend", {
10130
- id: `${c.value}-prepend-slot`,
10122
+ B(g.$slots, "prepend", {
10123
+ id: `${p.value}-prepend-slot`,
10131
10124
  disabled: C.disabled,
10132
- error: u.value,
10125
+ error: Z.value,
10133
10126
  loading: C.loading
10134
10127
  }, () => [
10135
- B.value ? (m(), D(R, {
10128
+ h.value ? (m(), R(F, {
10136
10129
  key: 0,
10137
- id: `${c.value}-prepend-icon`,
10138
- class: O(S.value),
10139
- name: B.value,
10130
+ id: `${p.value}-prepend-icon`,
10131
+ class: O(u.value),
10132
+ name: h.value,
10140
10133
  size: 20
10141
- }, null, 8, ["id", "class", "name"])) : g("", !0)
10134
+ }, null, 8, ["id", "class", "name"])) : k("", !0)
10142
10135
  ]),
10143
- Z("input", E1(h.$attrs, {
10144
- id: `${c.value}`,
10136
+ S("input", E1(g.$attrs, {
10137
+ id: `${p.value}`,
10145
10138
  ref_key: "inputRef",
10146
10139
  ref: A,
10147
10140
  disabled: C.disabled,
@@ -10152,49 +10145,49 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10152
10145
  role: C.role,
10153
10146
  type: M.value,
10154
10147
  value: L.value,
10155
- onBlur: _,
10148
+ onBlur: E,
10156
10149
  onFocus: w,
10157
10150
  onInput: x
10158
- }), null, 16, n0),
10159
- k(h.$slots, "append", {
10160
- id: `${c.value}-append-slot`,
10151
+ }), null, 16, o0),
10152
+ B(g.$slots, "append", {
10153
+ id: `${p.value}-append-slot`,
10161
10154
  disabled: C.disabled,
10162
- error: u.value,
10155
+ error: Z.value,
10163
10156
  loading: C.loading
10164
10157
  }, () => [
10165
- h.$props.type === "password" && u.value ? (m(), D(R, {
10158
+ g.$props.type === "password" && Z.value ? (m(), R(F, {
10166
10159
  key: 0,
10167
- id: `${c.value}-append-icon`,
10160
+ id: `${p.value}-append-icon`,
10168
10161
  name: M.value === "password" ? "mdiEyeOutline" : "mdiEyeOffOutline",
10169
10162
  size: 20,
10170
- onClick: U
10171
- }, null, 8, ["id", "name"])) : g("", !0),
10172
- y.value && !h.$slots.append || u.value ? (m(), D(R, {
10163
+ onClick: W
10164
+ }, null, 8, ["id", "name"])) : k("", !0),
10165
+ y.value && !g.$slots.append || Z.value ? (m(), R(F, {
10173
10166
  key: 1,
10174
- id: `${c.value}-append-icon`,
10175
- class: O(b.value),
10167
+ id: `${p.value}-append-icon`,
10168
+ class: O(v.value),
10176
10169
  name: `${y.value}`,
10177
10170
  size: 20,
10178
- onClick: U
10179
- }, null, 8, ["id", "class", "name"])) : g("", !0)
10171
+ onClick: W
10172
+ }, null, 8, ["id", "class", "name"])) : k("", !0)
10180
10173
  ])
10181
- ], 10, o0),
10182
- C.hideDetails ? g("", !0) : (m(), a("div", {
10174
+ ], 10, l0),
10175
+ C.hideDetails ? k("", !0) : (m(), a("div", {
10183
10176
  key: 0,
10184
- id: `${c.value}-details`,
10177
+ id: `${p.value}-details`,
10185
10178
  class: "r-textfield__details"
10186
10179
  }, [
10187
10180
  C.errorMsg ? (m(), a("p", {
10188
10181
  key: 0,
10189
- id: `${c.value}-error`,
10182
+ id: `${p.value}-error`,
10190
10183
  class: "r-textfield__error"
10191
- }, v(C.errorMsg), 9, a0)) : g("", !0),
10192
- !C.errorMsg && C.hint ? (m(), a("p", Z0, v(C.hint), 1)) : g("", !0)
10193
- ], 8, r0))
10194
- ], 8, l0)
10195
- ], 8, m0));
10184
+ }, b(C.errorMsg), 9, r0)) : k("", !0),
10185
+ !C.errorMsg && C.hint ? (m(), a("p", a0, b(C.hint), 1)) : k("", !0)
10186
+ ], 8, n0))
10187
+ ], 8, m0)
10188
+ ], 8, t0));
10196
10189
  }
10197
- }), u0 = ["id"], S0 = ["id"], m7 = /* @__PURE__ */ T({
10190
+ }), Z0 = ["id"], u0 = ["id"], t7 = /* @__PURE__ */ P({
10198
10191
  __name: "RBreadcrumb",
10199
10192
  props: {
10200
10193
  items: { default: () => [] },
@@ -10204,80 +10197,80 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10204
10197
  setup(H) {
10205
10198
  const V = H;
10206
10199
  return (C, i) => {
10207
- const A = F2("router-link");
10200
+ const A = T2("router-link");
10208
10201
  return m(), a("div", {
10209
10202
  id: C.id,
10210
10203
  class: "r-breadcrumb"
10211
10204
  }, [
10212
- (m(!0), a(i1, null, n1(V.items, (L, M) => (m(), a("div", {
10205
+ (m(!0), a(i1, null, o1(V.items, (L, M) => (m(), a("div", {
10213
10206
  key: M,
10214
10207
  class: "r-breadcrumb__item"
10215
10208
  }, [
10216
- C1(A, {
10209
+ J(A, {
10217
10210
  id: `${C.id}-link-${M}`,
10218
10211
  class: "r-breadcrumb__link",
10219
10212
  to: L.to
10220
10213
  }, {
10221
10214
  default: P1(() => [
10222
- k(C.$slots, "item-icon", {}, () => [
10223
- L.icon ? (m(), D(R, {
10215
+ B(C.$slots, "item-icon", {}, () => [
10216
+ L.icon ? (m(), R(F, {
10224
10217
  key: 0,
10225
10218
  name: L.icon
10226
- }, null, 8, ["name"])) : g("", !0)
10219
+ }, null, 8, ["name"])) : k("", !0)
10227
10220
  ]),
10228
- L.onlyIcon ? g("", !0) : (m(), a("span", {
10221
+ L.onlyIcon ? k("", !0) : (m(), a("span", {
10229
10222
  key: 0,
10230
10223
  id: `${C.id}-title-${M}`,
10231
10224
  class: "r-breadcrumb__title"
10232
- }, v(L.title), 9, S0))
10225
+ }, b(L.title), 9, u0))
10233
10226
  ]),
10234
10227
  _: 2
10235
10228
  }, 1032, ["id", "to"]),
10236
- k(C.$slots, "custom-seperator", {
10229
+ B(C.$slots, "custom-seperator", {
10237
10230
  id: `${C.id}-separator-${M}`
10238
10231
  }, () => [
10239
- M !== C.items.length - 1 && V.seperator ? (m(), D(R, {
10232
+ M !== C.items.length - 1 && V.seperator ? (m(), R(F, {
10240
10233
  key: 0,
10241
10234
  id: `${C.id}-separator-${M}`,
10242
10235
  class: "r-breadcrumb__separator",
10243
10236
  name: V.seperator
10244
- }, null, 8, ["id", "name"])) : g("", !0)
10237
+ }, null, 8, ["id", "name"])) : k("", !0)
10245
10238
  ])
10246
10239
  ]))), 128))
10247
- ], 8, u0);
10240
+ ], 8, Z0);
10248
10241
  };
10249
10242
  }
10250
- }), s0 = ["id"], c0 = ["id"], p0 = ["id"], O0 = ["id"], f0 = ["id", "disabled"], h0 = /* @__PURE__ */ Z("path", {
10243
+ }), S0 = ["id"], s0 = ["id"], c0 = ["id"], p0 = ["id"], O0 = ["id", "disabled"], f0 = /* @__PURE__ */ S("path", {
10251
10244
  d: "M0 0h24v24H0z",
10252
10245
  fill: "none",
10253
10246
  stroke: "none"
10254
- }, null, -1), g0 = /* @__PURE__ */ Z("path", { d: "M7 6v12" }, null, -1), k0 = /* @__PURE__ */ Z("path", { d: "M18 6l-6 6l6 6" }, null, -1), B0 = [
10247
+ }, null, -1), h0 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), g0 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), k0 = [
10248
+ f0,
10255
10249
  h0,
10256
- g0,
10257
- k0
10258
- ], b0 = ["id", "disabled"], v0 = /* @__PURE__ */ Z("path", {
10250
+ g0
10251
+ ], B0 = ["id", "disabled"], b0 = /* @__PURE__ */ S("path", {
10259
10252
  d: "M0 0h24v24H0z",
10260
10253
  fill: "none",
10261
10254
  stroke: "none"
10262
- }, null, -1), w0 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), y0 = [
10263
- v0,
10264
- w0
10265
- ], P0 = ["id", "disabled"], T0 = /* @__PURE__ */ Z("path", {
10255
+ }, null, -1), v0 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), w0 = [
10256
+ b0,
10257
+ v0
10258
+ ], y0 = ["id", "disabled"], P0 = /* @__PURE__ */ S("path", {
10266
10259
  d: "M0 0h24v24H0z",
10267
10260
  fill: "none",
10268
10261
  stroke: "none"
10269
- }, null, -1), F0 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), R0 = [
10270
- T0,
10271
- F0
10272
- ], x0 = ["id", "disabled"], D0 = /* @__PURE__ */ Z("path", {
10262
+ }, null, -1), T0 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), F0 = [
10263
+ P0,
10264
+ T0
10265
+ ], R0 = ["id", "disabled"], x0 = /* @__PURE__ */ S("path", {
10273
10266
  d: "M0 0h24v24H0z",
10274
10267
  fill: "none",
10275
10268
  stroke: "none"
10276
- }, null, -1), E0 = /* @__PURE__ */ Z("path", { d: "M6 6l6 6l-6 6" }, null, -1), _0 = /* @__PURE__ */ Z("path", { d: "M17 5v13" }, null, -1), $0 = [
10269
+ }, null, -1), D0 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), E0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), _0 = [
10270
+ x0,
10277
10271
  D0,
10278
- E0,
10279
- _0
10280
- ], l7 = /* @__PURE__ */ T({
10272
+ E0
10273
+ ], m7 = /* @__PURE__ */ P({
10281
10274
  __name: "RPagination",
10282
10275
  props: {
10283
10276
  page: { default: 1 },
@@ -10291,20 +10284,20 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10291
10284
  },
10292
10285
  emits: ["update:page", "update:perPage", "update:info"],
10293
10286
  setup(H, { emit: V }) {
10294
- const C = H, i = V, A = E(C.perPage || 10), L = f(() => Math.ceil(C.totalItems / C.perPage)), M = f(() => ({
10287
+ const C = H, i = V, A = D(C.perPage || 10), L = f(() => Math.ceil(C.totalItems / C.perPage)), M = f(() => ({
10295
10288
  start: C.page * C.perPage - C.perPage,
10296
10289
  end: C.page * C.perPage
10297
10290
  })), 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);
10298
- W(() => M.value, () => {
10291
+ $(() => M.value, () => {
10299
10292
  i("update:info", M.value);
10300
- }), W(() => C.perPage, () => {
10293
+ }), $(() => C.perPage, () => {
10301
10294
  A.value = C.perPage, n(1);
10302
10295
  });
10303
10296
  function n(o) {
10304
10297
  const r = Math.ceil(o);
10305
10298
  r < 1 || r > L.value || i("update:page", r);
10306
10299
  }
10307
- function u({ value: o }) {
10300
+ function Z({ value: o }) {
10308
10301
  if (o) {
10309
10302
  i("update:perPage", o);
10310
10303
  return;
@@ -10315,38 +10308,38 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10315
10308
  id: o.id,
10316
10309
  class: O(["r-pagination", [`r-pagination--${C.position}`]])
10317
10310
  }, [
10318
- Z("div", {
10311
+ S("div", {
10319
10312
  id: `${o.id}-paginator`,
10320
10313
  class: "r-pagination__paginator"
10321
10314
  }, [
10322
- Z("div", {
10315
+ S("div", {
10323
10316
  id: `${o.id}-paginator-per-page`,
10324
10317
  class: "r-pagination__paginator__per-page"
10325
10318
  }, [
10326
- Z("span", null, v(C.itemsPerPageText), 1),
10327
- C1(P3, {
10319
+ S("span", null, b(C.itemsPerPageText), 1),
10320
+ J(y3, {
10328
10321
  modelValue: A.value,
10329
10322
  "onUpdate:modelValue": [
10330
- r[0] || (r[0] = (S) => A.value = S),
10331
- u
10323
+ r[0] || (r[0] = (u) => A.value = u),
10324
+ Z
10332
10325
  ],
10333
10326
  class: "w-24",
10334
10327
  "hide-details": "",
10335
10328
  "hide-option-check-icon": "",
10336
10329
  options: C.perPageOptions
10337
10330
  }, null, 8, ["modelValue", "options"])
10338
- ], 8, p0),
10339
- Z("span", {
10331
+ ], 8, c0),
10332
+ S("span", {
10340
10333
  id: `${o.id}-paginator-info`,
10341
10334
  class: "r-pagination__paginator__info"
10342
- }, v(e.value), 9, O0),
10343
- Z("button", {
10335
+ }, b(e.value), 9, p0),
10336
+ S("button", {
10344
10337
  id: `${o.id}-paginator-first`,
10345
10338
  class: "r-pagination__paginator__first",
10346
10339
  disabled: l.value,
10347
- onClick: r[1] || (r[1] = (S) => n(1))
10340
+ onClick: r[1] || (r[1] = (u) => n(1))
10348
10341
  }, [
10349
- k(o.$slots, "first", {
10342
+ B(o.$slots, "first", {
10350
10343
  id: `${o.id}-paginator-first-slot`
10351
10344
  }, () => [
10352
10345
  (m(), a("svg", {
@@ -10360,16 +10353,16 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10360
10353
  viewBox: "0 0 24 24",
10361
10354
  width: "20",
10362
10355
  xmlns: "http://www.w3.org/2000/svg"
10363
- }, B0, 2))
10356
+ }, k0, 2))
10364
10357
  ])
10365
- ], 8, f0),
10366
- Z("button", {
10358
+ ], 8, O0),
10359
+ S("button", {
10367
10360
  id: `${o.id}-paginator-prev`,
10368
10361
  class: "r-pagination__paginator__prev",
10369
10362
  disabled: l.value,
10370
- onClick: r[2] || (r[2] = (S) => n(+C.page - 1))
10363
+ onClick: r[2] || (r[2] = (u) => n(+C.page - 1))
10371
10364
  }, [
10372
- k(o.$slots, "prev", {
10365
+ B(o.$slots, "prev", {
10373
10366
  id: `${o.id}-paginator-prev-slot`
10374
10367
  }, () => [
10375
10368
  (m(), a("svg", {
@@ -10383,16 +10376,16 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10383
10376
  viewBox: "0 0 24 24",
10384
10377
  width: "20",
10385
10378
  xmlns: "http://www.w3.org/2000/svg"
10386
- }, y0, 2))
10379
+ }, w0, 2))
10387
10380
  ])
10388
- ], 8, b0),
10389
- Z("button", {
10381
+ ], 8, B0),
10382
+ S("button", {
10390
10383
  id: `${o.id}-paginator-next`,
10391
10384
  class: "r-pagination__paginator__next",
10392
10385
  disabled: d.value,
10393
- onClick: r[3] || (r[3] = (S) => n(+C.page + 1))
10386
+ onClick: r[3] || (r[3] = (u) => n(+C.page + 1))
10394
10387
  }, [
10395
- k(o.$slots, "next", {
10388
+ B(o.$slots, "next", {
10396
10389
  id: `${o.id}-paginator-next-slot`
10397
10390
  }, () => [
10398
10391
  (m(), a("svg", {
@@ -10406,16 +10399,16 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10406
10399
  viewBox: "0 0 24 24",
10407
10400
  width: "20",
10408
10401
  xmlns: "http://www.w3.org/2000/svg"
10409
- }, R0, 2))
10402
+ }, F0, 2))
10410
10403
  ])
10411
- ], 8, P0),
10412
- Z("button", {
10404
+ ], 8, y0),
10405
+ S("button", {
10413
10406
  id: `${o.id}-paginator-last`,
10414
10407
  class: "r-pagination__paginator__last",
10415
10408
  disabled: C.page === L.value,
10416
- onClick: r[4] || (r[4] = (S) => n(L.value))
10409
+ onClick: r[4] || (r[4] = (u) => n(L.value))
10417
10410
  }, [
10418
- k(o.$slots, "last", {
10411
+ B(o.$slots, "last", {
10419
10412
  id: `${o.id}-paginator-last-slot`
10420
10413
  }, () => [
10421
10414
  (m(), a("svg", {
@@ -10429,13 +10422,13 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10429
10422
  viewBox: "0 0 24 24",
10430
10423
  width: "20",
10431
10424
  xmlns: "http://www.w3.org/2000/svg"
10432
- }, $0, 2))
10425
+ }, _0, 2))
10433
10426
  ])
10434
- ], 8, x0)
10435
- ], 8, c0)
10436
- ], 10, s0));
10427
+ ], 8, R0)
10428
+ ], 8, s0)
10429
+ ], 10, S0));
10437
10430
  }
10438
- }), W0 = ["id", "value"], o7 = /* @__PURE__ */ T({
10431
+ }), $0 = ["id", "value"], l7 = /* @__PURE__ */ P({
10439
10432
  __name: "RProgressbar",
10440
10433
  props: {
10441
10434
  value: { default: 0 },
@@ -10452,9 +10445,9 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10452
10445
  role: "progressbar",
10453
10446
  style: j1({ height: `${V.height}px` }),
10454
10447
  value: V.value
10455
- }, null, 12, W0));
10448
+ }, null, 12, $0));
10456
10449
  }
10457
- }), w1 = "rocket-ui:r-item-group", n7 = /* @__PURE__ */ T({
10450
+ }), w1 = "rocket-ui:r-item-group", o7 = /* @__PURE__ */ P({
10458
10451
  __name: "RItemGroup",
10459
10452
  props: {
10460
10453
  modelValue: { default: () => [] },
@@ -10468,24 +10461,24 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10468
10461
  },
10469
10462
  emits: ["update:modelValue"],
10470
10463
  setup(H, { emit: V }) {
10471
- const C = H, i = V, A = E(C.as ?? "div"), L = E(C.modelValue), M = f(() => C.selectedClass);
10464
+ const C = H, i = V, A = D(C.as ?? "div"), L = D(C.modelValue), M = f(() => C.selectedClass);
10472
10465
  b1(`${w1}:selectedClass`, M.value);
10473
10466
  function e(n) {
10474
10467
  return L.value.includes(n);
10475
10468
  }
10476
10469
  b1(`${w1}:isSelected`, e);
10477
- function d(n, u) {
10478
- 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));
10470
+ function d(n, Z) {
10471
+ C.disabled || C.mandatory && L.value.length === 1 && !Z || C.max && L.value.length === C.max && Z || (C.multiple ? Z ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], i("update:modelValue", L.value));
10479
10472
  }
10480
10473
  b1(`${w1}:select`, d);
10481
10474
  function l() {
10482
10475
  return C.disabled;
10483
10476
  }
10484
- return b1(`${w1}:isDisabled`, l), W(() => C.modelValue, () => {
10477
+ return b1(`${w1}:isDisabled`, l), $(() => C.modelValue, () => {
10485
10478
  L.value = C.modelValue;
10486
- }), (n, u) => (m(), D(R2(A.value), { id: n.id }, {
10479
+ }), (n, Z) => (m(), R(F2(A.value), { id: n.id }, {
10487
10480
  default: P1(() => [
10488
- k(n.$slots, "default", {
10481
+ B(n.$slots, "default", {
10489
10482
  id: `${n.id}-slot`,
10490
10483
  isSelected: e,
10491
10484
  select: d,
@@ -10495,7 +10488,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10495
10488
  _: 3
10496
10489
  }, 8, ["id"]));
10497
10490
  }
10498
- }), y1 = "rocket-ui:r-item-group", r7 = /* @__PURE__ */ T({
10491
+ }), y1 = "rocket-ui:r-item-group", n7 = /* @__PURE__ */ P({
10499
10492
  __name: "RItem",
10500
10493
  props: {
10501
10494
  value: { default: null },
@@ -10510,7 +10503,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10510
10503
  function d() {
10511
10504
  V.disabled || A(V.value, !0);
10512
10505
  }
10513
- return (l, n) => k(l.$slots, "default", {
10506
+ return (l, n) => B(l.$slots, "default", {
10514
10507
  id: `${l.id}-slot`,
10515
10508
  disabled: A1(L)(V.value),
10516
10509
  isSelected: A1(C)(V.value),
@@ -10519,7 +10512,7 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10519
10512
  toggle: e
10520
10513
  });
10521
10514
  }
10522
- }), 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({
10515
+ }), W0 = ["id"], N0 = ["id", "checked", "disabled", "name", "value"], I0 = ["id"], Q0 = ["id"], G0 = { class: "flex flex-col" }, U0 = ["id"], z0 = ["id"], K0 = ["id"], r7 = /* @__PURE__ */ P({
10523
10516
  __name: "RRadio",
10524
10517
  props: {
10525
10518
  id: { default: "" },
@@ -10534,20 +10527,20 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10534
10527
  },
10535
10528
  emits: ["update:modelValue"],
10536
10529
  setup(H) {
10537
- const V = H, C = f(() => V.id || "r-radio"), i = E(V.modelValue), A = f(() => [
10530
+ const V = H, C = f(() => V.id || "r-radio"), i = D(V.modelValue), A = f(() => [
10538
10531
  "r-radio group",
10539
10532
  {
10540
10533
  "r-radio--disabled": V.disabled,
10541
10534
  "r-radio--error": V.errorMsg
10542
10535
  }
10543
10536
  ]);
10544
- return W(() => V.modelValue, (L) => {
10537
+ return $(() => V.modelValue, (L) => {
10545
10538
  i.value = L;
10546
10539
  }, { immediate: !0 }), (L, M) => (m(), a("div", {
10547
10540
  id: C.value,
10548
10541
  class: O(A.value)
10549
10542
  }, [
10550
- Z("input", E1(L.$attrs, {
10543
+ S("input", E1(L.$attrs, {
10551
10544
  id: `${C.value}`,
10552
10545
  checked: i.value,
10553
10546
  class: "r-radio__input",
@@ -10556,62 +10549,62 @@ const C0 = ["id", "aria-disabled", "aria-selected", "disabled"], H0 = { key: 0 }
10556
10549
  type: "radio",
10557
10550
  value: V.value,
10558
10551
  onChange: M[0] || (M[0] = (e) => L.$emit("update:modelValue"))
10559
- }), null, 16, I0),
10560
- Z("span", {
10552
+ }), null, 16, N0),
10553
+ S("span", {
10561
10554
  id: `${C.value}`,
10562
10555
  class: O(["r-radio__label", [V.errorMsg && "r-radio__label--error"]]),
10563
10556
  onClick: M[1] || (M[1] = (e) => L.$emit("update:modelValue"))
10564
10557
  }, [
10565
- Z("span", {
10558
+ S("span", {
10566
10559
  id: `${C.value}-custom`,
10567
10560
  class: O(["r-radio__custom", [V.errorMsg && "r-radio__custom--error", V.disabled && "r-radio__custom--disabled"]])
10568
- }, null, 10, G0),
10569
- Z("div", U0, [
10561
+ }, null, 10, Q0),
10562
+ S("div", G0, [
10570
10563
  V.title ? (m(), a("span", {
10571
10564
  key: 0,
10572
10565
  id: `${C.value}-title`,
10573
10566
  class: O(["r-radio__title", [V.errorMsg && "r-radio__title--error", V.disabled && "r-radio__title--disabled"]])
10574
- }, v(V.title), 11, z0)) : g("", !0),
10575
- Z("span", null, v(V.label), 1)
10567
+ }, b(V.title), 11, U0)) : k("", !0),
10568
+ S("span", null, b(V.label), 1)
10576
10569
  ])
10577
- ], 10, Q0),
10570
+ ], 10, I0),
10578
10571
  V.hint && !V.errorMsg ? (m(), a("span", {
10579
10572
  key: 0,
10580
10573
  id: `${C.value}-hint`,
10581
10574
  class: O(["r-radio__hint", [V.disabled && "r-radio__hint--disabled"]])
10582
- }, v(V.hint), 11, K0)) : g("", !0),
10575
+ }, b(V.hint), 11, z0)) : k("", !0),
10583
10576
  V.errorMsg ? (m(), a("span", {
10584
10577
  key: 1,
10585
10578
  id: `${C.value}-error`,
10586
10579
  class: "r-radio__error"
10587
- }, v(V.errorMsg), 9, q0)) : g("", !0)
10588
- ], 10, N0));
10580
+ }, b(V.errorMsg), 9, K0)) : k("", !0)
10581
+ ], 10, W0));
10589
10582
  }
10590
10583
  });
10591
10584
  export {
10592
- X0 as RAccordion,
10593
- Y0 as RAlert,
10594
- J0 as RAvatar,
10595
- C7 as RBadge,
10596
- m7 as RBreadcrumb,
10597
- H7 as RButton,
10598
- V7 as RCheckbox,
10599
- S5 as RChip,
10600
- P3 as RDropdown,
10601
- R as RIcon,
10602
- r7 as RItem,
10603
- n7 as RItemGroup,
10604
- b2 as RLabel,
10605
- L7 as RModal,
10606
- l7 as RPagination,
10607
- o7 as RProgressbar,
10608
- a7 as RRadio,
10609
- M7 as RSidebar,
10610
- i7 as RSnackbar,
10611
- A7 as RSwitch,
10612
- V0 as RTabItem,
10613
- e7 as RTabs,
10614
- d7 as RTextArea,
10615
- t7 as RTextfield,
10616
- t3 as RTooltip
10585
+ j0 as RAccordion,
10586
+ X0 as RAlert,
10587
+ Y0 as RAvatar,
10588
+ J0 as RBadge,
10589
+ t7 as RBreadcrumb,
10590
+ C7 as RButton,
10591
+ H7 as RCheckbox,
10592
+ u5 as RChip,
10593
+ y3 as RDropdown,
10594
+ F as RIcon,
10595
+ n7 as RItem,
10596
+ o7 as RItemGroup,
10597
+ B2 as RLabel,
10598
+ V7 as RModal,
10599
+ m7 as RPagination,
10600
+ l7 as RProgressbar,
10601
+ r7 as RRadio,
10602
+ L7 as RSidebar,
10603
+ M7 as RSnackbar,
10604
+ i7 as RSwitch,
10605
+ H0 as RTabItem,
10606
+ A7 as RTabs,
10607
+ e7 as RTextArea,
10608
+ d7 as RTextfield,
10609
+ d3 as RTooltip
10617
10610
  };