@rocketui/vue 0.2.26 → 0.2.28

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 Z, createElementVNode as S, unref as V1, reactive as Z1, Fragment as i1, renderList as o1, normalizeClass as c, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as p, mergeProps as j1, createBlock as E, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as e1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
2
- const k2 = {
1
+ import { defineComponent as F, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as a1, Fragment as i1, renderList as l1, normalizeClass as c, renderSlot as O, toDisplayString as b, createVNode as K, computed as g, createCommentVNode as f, mergeProps as j1, createBlock as _, watch as $, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as f1, withDirectives as Y1, withModifiers as o1, withKeys as N1, vModelText as c2, createTextVNode as Z1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, resolveComponent as f2, provide as s1, resolveDynamicComponent as h2, inject as c1 } from "vue";
2
+ const g2 = {
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 k2 = {
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
- }, B2 = ["height", "viewBox", "width"], b2 = ["d"], D = /* @__PURE__ */ T({
7299
+ }, k2 = ["height", "viewBox", "width"], B2 = ["d"], D = /* @__PURE__ */ F({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7312,17 +7312,17 @@ const k2 = {
7312
7312
  width: V.size
7313
7313
  }, [
7314
7314
  S("path", {
7315
- d: V1(k2)[V.name]
7316
- }, null, 8, b2)
7317
- ], 8, B2));
7315
+ d: V1(g2)[V.name]
7316
+ }, null, 8, B2)
7317
+ ], 8, k2));
7318
7318
  }
7319
- }), w2 = ["data-state"], y2 = ["onClick"], P2 = { class: "r-accordion__title" }, v2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, M0 = /* @__PURE__ */ T({
7319
+ }), w2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title" }, P2 = { class: "r-accordion__icon" }, v2 = { class: "r-accordion__content" }, V0 = /* @__PURE__ */ F({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {}
7323
7323
  },
7324
7324
  setup(H) {
7325
- const V = H, C = Z1(
7325
+ const V = H, C = a1(
7326
7326
  V.accordions.map(({ title: A, content: L }, i) => ({
7327
7327
  title: A,
7328
7328
  content: L,
@@ -7335,7 +7335,7 @@ const k2 = {
7335
7335
  C[i].open = i === A ? !C[i].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (A, L) => (m(!0), Z(i1, null, o1(C, (i, e) => (m(), Z("div", {
7338
+ return (A, L) => (m(!0), Z(i1, null, l1(C, (i, e) => (m(), Z("div", {
7339
7339
  key: e,
7340
7340
  class: c(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
@@ -7346,27 +7346,31 @@ const k2 = {
7346
7346
  class: "r-accordion__header",
7347
7347
  onClick: (d) => M(e)
7348
7348
  }, [
7349
- f(A.$slots, "title", {}, () => [
7350
- S("div", P2, w(i.title), 1)
7349
+ O(A.$slots, "title", {}, () => [
7350
+ S("div", y2, b(i.title), 1)
7351
7351
  ]),
7352
- S("div", v2, [
7353
- K(D, { name: "mdiChevronUp" })
7352
+ S("div", P2, [
7353
+ O(A.$slots, "icon", {
7354
+ open: i.open
7355
+ }, () => [
7356
+ K(D, { name: "mdiChevronUp" })
7357
+ ])
7354
7358
  ])
7355
- ], 8, y2),
7356
- S("div", T2, [
7357
- f(A.$slots, "content", {}, () => [
7358
- S("span", null, w(i.content), 1)
7359
+ ], 8, b2),
7360
+ S("div", v2, [
7361
+ O(A.$slots, "content", {}, () => [
7362
+ S("span", null, b(i.content), 1)
7359
7363
  ])
7360
7364
  ])
7361
7365
  ], 10, w2))), 128));
7362
7366
  }
7363
- }), F2 = { class: "r-alert__icon" }, R2 = { class: "r-alert__content" }, x2 = { class: "r-alert__content__title" }, D2 = {
7367
+ }), T2 = { class: "r-alert__icon" }, F2 = { class: "r-alert__content" }, R2 = { class: "r-alert__content__title" }, x2 = {
7364
7368
  key: 0,
7365
7369
  class: "r-alert__content__description"
7366
- }, _2 = {
7370
+ }, D2 = {
7367
7371
  key: 0,
7368
7372
  class: "r-alert__close"
7369
- }, A0 = /* @__PURE__ */ T({
7373
+ }, L0 = /* @__PURE__ */ F({
7370
7374
  __name: "RAlert",
7371
7375
  props: {
7372
7376
  type: { default: "info" },
@@ -7395,22 +7399,25 @@ const k2 = {
7395
7399
  return (e, d) => (m(), Z("div", {
7396
7400
  class: c(A.value)
7397
7401
  }, [
7398
- S("div", F2, [
7399
- f(e.$slots, "alert-icon", {}, () => [
7402
+ S("div", T2, [
7403
+ O(e.$slots, "alert-icon", {}, () => [
7400
7404
  K(D, {
7401
7405
  name: L.value,
7402
7406
  size: 24
7403
7407
  }, null, 8, ["name"])
7404
7408
  ])
7405
7409
  ]),
7406
- S("div", R2, [
7407
- f(e.$slots, "content", {}, () => [
7408
- S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), Z("p", D2, w(C.description), 1)) : p("", !0)
7410
+ S("div", F2, [
7411
+ O(e.$slots, "content", {}, () => [
7412
+ S("p", R2, b(C.title), 1),
7413
+ C.description ? (m(), Z("p", x2, b(C.description), 1)) : f("", !0)
7410
7414
  ])
7411
7415
  ]),
7412
- C.closable ? (m(), Z("div", _2, [
7413
- f(e.$slots, "custom-close", {}, () => [
7416
+ C.closable ? (m(), Z("div", D2, [
7417
+ O(e.$slots, "custom-close", {
7418
+ close: i,
7419
+ slotClass: "r-alert__close__button"
7420
+ }, () => [
7414
7421
  K(D, {
7415
7422
  class: "r-alert__close__button",
7416
7423
  name: "mdiClose",
@@ -7418,10 +7425,10 @@ const k2 = {
7418
7425
  onClick: i
7419
7426
  })
7420
7427
  ])
7421
- ])) : p("", !0)
7428
+ ])) : f("", !0)
7422
7429
  ], 2));
7423
7430
  }
7424
- }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], i0 = /* @__PURE__ */ T({
7431
+ }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, _2 = ["alt", "src"], M0 = /* @__PURE__ */ F({
7425
7432
  __name: "RAvatar",
7426
7433
  props: {
7427
7434
  type: { default: "image" },
@@ -7447,7 +7454,7 @@ const k2 = {
7447
7454
  V.type === "text" ? (m(), Z("p", {
7448
7455
  key: 0,
7449
7456
  class: c(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), Z("img", {
7457
+ }, b(L(V.text)), 3)) : (m(), Z("img", {
7451
7458
  key: 1,
7452
7459
  alt: V.alt,
7453
7460
  class: c(["r-avatar__image", {
@@ -7455,17 +7462,17 @@ const k2 = {
7455
7462
  "r-avatar__image--anonymous": M.value
7456
7463
  }]),
7457
7464
  src: A.value
7458
- }, null, 10, W2))
7465
+ }, null, 10, _2))
7459
7466
  ], 2),
7460
7467
  V.online ? (m(), Z("span", {
7461
7468
  key: 0,
7462
7469
  class: c(["r-avatar__online", {
7463
7470
  [`r-avatar__online--${V.size}`]: !0
7464
7471
  }])
7465
- }, null, 2)) : p("", !0)
7472
+ }, null, 2)) : f("", !0)
7466
7473
  ]));
7467
7474
  }
7468
- }), N2 = ["innerHTML"], e0 = /* @__PURE__ */ T({
7475
+ }), W2 = ["innerHTML"], A0 = /* @__PURE__ */ F({
7469
7476
  __name: "RBadge",
7470
7477
  props: {
7471
7478
  variant: { default: "primary" },
@@ -7500,11 +7507,11 @@ const k2 = {
7500
7507
  S("span", {
7501
7508
  class: c(C.value),
7502
7509
  innerHTML: V.content
7503
- }, null, 10, N2),
7504
- f(M.$slots, "default")
7510
+ }, null, 10, W2),
7511
+ O(M.$slots, "default")
7505
7512
  ], 2));
7506
7513
  }
7507
- }), I2 = ["disabled"], d0 = /* @__PURE__ */ T({
7514
+ }), N2 = ["disabled"], i0 = /* @__PURE__ */ F({
7508
7515
  __name: "RButton",
7509
7516
  props: {
7510
7517
  variant: { default: "default" },
@@ -7541,37 +7548,37 @@ const k2 = {
7541
7548
  style: A.value,
7542
7549
  onClick: i[0] || (i[0] = (e) => L.$emit("click"))
7543
7550
  }), [
7544
- f(L.$slots, "prepend", {}, () => [
7545
- V.prependIcon ? (m(), E(D, {
7551
+ O(L.$slots, "prepend", {}, () => [
7552
+ V.prependIcon ? (m(), _(D, {
7546
7553
  key: 0,
7547
7554
  class: c(["r-button__prepend-icon", {
7548
7555
  "r-button__prepend-icon--only": V.icon
7549
7556
  }]),
7550
7557
  name: V.prependIcon,
7551
7558
  size: M.value
7552
- }, null, 8, ["class", "name", "size"])) : p("", !0)
7559
+ }, null, 8, ["class", "name", "size"])) : f("", !0)
7553
7560
  ]),
7554
- f(L.$slots, "default"),
7555
- f(L.$slots, "append", {}, () => [
7556
- !V.icon && V.appendIcon ? (m(), E(D, {
7561
+ O(L.$slots, "default"),
7562
+ O(L.$slots, "append", {}, () => [
7563
+ !V.icon && V.appendIcon ? (m(), _(D, {
7557
7564
  key: 0,
7558
7565
  class: "r-button__append-icon",
7559
7566
  name: V.appendIcon,
7560
7567
  size: M.value
7561
- }, null, 8, ["name", "size"])) : p("", !0)
7568
+ }, null, 8, ["name", "size"])) : f("", !0)
7562
7569
  ])
7563
- ], 16, I2));
7570
+ ], 16, N2));
7564
7571
  }
7565
- }), Q2 = { class: "r-checkbox-wrapper" }, G2 = { class: "r-checkbox-container" }, $2 = ["id", "checked", "disabled", "indeterminate"], U2 = ["data-disabled"], z2 = { class: "r-checkbox-texts" }, K2 = ["data-disabled", "for"], q2 = {
7572
+ }), I2 = { class: "r-checkbox-wrapper" }, Q2 = { class: "r-checkbox-container" }, G2 = ["id", "checked", "disabled", "indeterminate"], $2 = ["data-disabled"], U2 = { class: "r-checkbox-texts" }, z2 = ["data-disabled", "for"], K2 = {
7566
7573
  key: 0,
7567
7574
  class: "r-checkbox-texts__details"
7568
- }, j2 = {
7575
+ }, q2 = {
7569
7576
  key: 0,
7570
7577
  class: "r-checkbox-texts__error"
7571
- }, X2 = {
7578
+ }, j2 = {
7572
7579
  key: 1,
7573
7580
  class: "r-checkbox-texts__hint"
7574
- }, t0 = /* @__PURE__ */ T({
7581
+ }, e0 = /* @__PURE__ */ F({
7575
7582
  __name: "RCheckbox",
7576
7583
  props: {
7577
7584
  id: { default: "" },
@@ -7585,7 +7592,7 @@ const k2 = {
7585
7592
  },
7586
7593
  emits: ["update:modelValue"],
7587
7594
  setup(H, { emit: V }) {
7588
- const C = H, M = V, A = Z1({
7595
+ const C = H, M = V, A = a1({
7589
7596
  checked: !1,
7590
7597
  indeterminate: !1
7591
7598
  }), L = {
@@ -7622,8 +7629,8 @@ const k2 = {
7622
7629
  // TODO: find a better way to do this
7623
7630
  immediate: !0
7624
7631
  }
7625
- ), (t, l) => (m(), Z("div", Q2, [
7626
- S("div", G2, [
7632
+ ), (t, l) => (m(), Z("div", I2, [
7633
+ S("div", Q2, [
7627
7634
  S("input", {
7628
7635
  id: C.id,
7629
7636
  checked: A.checked,
@@ -7632,7 +7639,7 @@ const k2 = {
7632
7639
  indeterminate: A.indeterminate,
7633
7640
  type: "checkbox",
7634
7641
  onChange: d
7635
- }, null, 40, $2),
7642
+ }, null, 40, G2),
7636
7643
  S("div", {
7637
7644
  class: c(e.value),
7638
7645
  "data-disabled": C.disabled
@@ -7641,21 +7648,21 @@ const k2 = {
7641
7648
  name: i.value,
7642
7649
  size: 24
7643
7650
  }, null, 8, ["name"])
7644
- ], 10, U2)
7651
+ ], 10, $2)
7645
7652
  ]),
7646
- S("div", z2, [
7653
+ S("div", U2, [
7647
7654
  S("label", {
7648
7655
  class: "r-checkbox-texts__label",
7649
7656
  "data-disabled": C.disabled,
7650
7657
  for: C.id
7651
- }, w(C.label), 9, K2),
7652
- C.hideDetails ? p("", !0) : (m(), Z("div", q2, [
7653
- C.errorMsg ? (m(), Z("p", j2, w(C.errorMsg), 1)) : (m(), Z("p", X2, w(C.hint), 1))
7658
+ }, b(C.label), 9, z2),
7659
+ C.hideDetails ? f("", !0) : (m(), Z("div", K2, [
7660
+ C.errorMsg ? (m(), Z("p", q2, b(C.errorMsg), 1)) : (m(), Z("p", j2, b(C.hint), 1))
7654
7661
  ]))
7655
7662
  ])
7656
7663
  ]));
7657
7664
  }
7658
- }), Y2 = /* @__PURE__ */ T({
7665
+ }), X2 = /* @__PURE__ */ F({
7659
7666
  __name: "RChip",
7660
7667
  props: {
7661
7668
  variant: { default: "primary" },
@@ -7690,33 +7697,33 @@ const k2 = {
7690
7697
  class: "r-chip__content",
7691
7698
  onClick: t[0] || (t[0] = (l) => L(l))
7692
7699
  }, [
7693
- f(d.$slots, "prepend", {}, () => [
7694
- C.prependIcon ? (m(), E(D, {
7700
+ O(d.$slots, "prepend", {}, () => [
7701
+ C.prependIcon ? (m(), _(D, {
7695
7702
  key: 0,
7696
7703
  "aria-disabled": C.disabled,
7697
7704
  class: "r-chip__content__prepend-icon",
7698
7705
  name: C.prependIcon,
7699
7706
  size: 12
7700
- }, null, 8, ["aria-disabled", "name"])) : p("", !0)
7707
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7701
7708
  ]),
7702
7709
  S("span", {
7703
7710
  class: c(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7704
- }, w(C.label), 3)
7711
+ }, b(C.label), 3)
7705
7712
  ]),
7706
- f(d.$slots, "append", {}, () => [
7707
- e.value ? (m(), E(D, {
7713
+ O(d.$slots, "append", {}, () => [
7714
+ e.value ? (m(), _(D, {
7708
7715
  key: 0,
7709
7716
  "aria-disabled": C.disabled,
7710
7717
  class: "r-chip__content__append-icon",
7711
7718
  name: e.value,
7712
7719
  size: 12,
7713
7720
  onClick: t[1] || (t[1] = (l) => i(l))
7714
- }, null, 8, ["aria-disabled", "name"])) : p("", !0)
7721
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7715
7722
  ])
7716
7723
  ], 2));
7717
7724
  }
7718
7725
  });
7719
- function J2(H) {
7726
+ function Y2(H) {
7720
7727
  return Z2() ? (u2(H), !0) : !1;
7721
7728
  }
7722
7729
  function J1(H) {
@@ -7724,31 +7731,31 @@ function J1(H) {
7724
7731
  }
7725
7732
  const C2 = typeof window < "u" && typeof document < "u";
7726
7733
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7727
- const C5 = Object.prototype.toString, H5 = (H) => C5.call(H) === "[object Object]", P1 = () => {
7728
- }, V5 = /* @__PURE__ */ L5();
7729
- function L5() {
7734
+ const J2 = Object.prototype.toString, C5 = (H) => J2.call(H) === "[object Object]", v1 = () => {
7735
+ }, H5 = /* @__PURE__ */ V5();
7736
+ function V5() {
7730
7737
  var H;
7731
7738
  return C2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7732
7739
  }
7733
- function m1(H) {
7740
+ function t1(H) {
7734
7741
  var V;
7735
7742
  const C = J1(H);
7736
7743
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7737
7744
  }
7738
7745
  const H2 = C2 ? window : void 0;
7739
- function y1(...H) {
7746
+ function P1(...H) {
7740
7747
  let V, C, M, A;
7741
7748
  if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, A] = H, V = H2) : [V, C, M, A] = H, !V)
7742
- return P1;
7749
+ return v1;
7743
7750
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7744
7751
  const L = [], i = () => {
7745
7752
  L.forEach((l) => l()), L.length = 0;
7746
7753
  }, e = (l, o, r, a) => (l.addEventListener(o, r, a), () => l.removeEventListener(o, r, a)), d = $(
7747
- () => [m1(V), J1(A)],
7754
+ () => [t1(V), J1(A)],
7748
7755
  ([l, o]) => {
7749
7756
  if (i(), !l)
7750
7757
  return;
7751
- const r = H5(o) ? { ...o } : o;
7758
+ const r = C5(o) ? { ...o } : o;
7752
7759
  L.push(
7753
7760
  ...C.flatMap((a) => M.map((u) => e(l, a, u, r)))
7754
7761
  );
@@ -7757,25 +7764,25 @@ function y1(...H) {
7757
7764
  ), t = () => {
7758
7765
  d(), i();
7759
7766
  };
7760
- return J2(t), t;
7767
+ return Y2(t), t;
7761
7768
  }
7762
7769
  let Q1 = !1;
7763
- function M5(H, V, C = {}) {
7770
+ function L5(H, V, C = {}) {
7764
7771
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7765
7772
  if (!M)
7766
7773
  return;
7767
- V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((r) => r.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7774
+ H5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((r) => r.addEventListener("click", v1)), M.document.documentElement.addEventListener("click", v1));
7768
7775
  let e = !0;
7769
7776
  const d = (r) => A.some((a) => {
7770
7777
  if (typeof a == "string")
7771
7778
  return Array.from(M.document.querySelectorAll(a)).some((u) => u === r.target || r.composedPath().includes(u));
7772
7779
  {
7773
- const u = m1(a);
7780
+ const u = t1(a);
7774
7781
  return u && (r.target === u || r.composedPath().includes(u));
7775
7782
  }
7776
7783
  }), l = [
7777
- y1(M, "click", (r) => {
7778
- const a = m1(H);
7784
+ P1(M, "click", (r) => {
7785
+ const a = t1(H);
7779
7786
  if (!(!a || a === r.target || r.composedPath().includes(a))) {
7780
7787
  if (r.detail === 0 && (e = !d(r)), !e) {
7781
7788
  e = !0;
@@ -7784,36 +7791,36 @@ function M5(H, V, C = {}) {
7784
7791
  V(r);
7785
7792
  }
7786
7793
  }, { passive: !0, capture: L }),
7787
- y1(M, "pointerdown", (r) => {
7788
- const a = m1(H);
7794
+ P1(M, "pointerdown", (r) => {
7795
+ const a = t1(H);
7789
7796
  e = !d(r) && !!(a && !r.composedPath().includes(a));
7790
7797
  }, { passive: !0 }),
7791
- i && y1(M, "blur", (r) => {
7798
+ i && P1(M, "blur", (r) => {
7792
7799
  setTimeout(() => {
7793
7800
  var a;
7794
- const u = m1(H);
7801
+ const u = t1(H);
7795
7802
  ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(r);
7796
7803
  }, 0);
7797
7804
  })
7798
7805
  ].filter(Boolean);
7799
7806
  return () => l.forEach((r) => r());
7800
7807
  }
7801
- const A5 = ["top", "right", "bottom", "left"], r1 = Math.min, M1 = Math.max, f1 = Math.round, J = (H) => ({
7808
+ const M5 = ["top", "right", "bottom", "left"], n1 = Math.min, M1 = Math.max, h1 = Math.round, J = (H) => ({
7802
7809
  x: H,
7803
7810
  y: H
7804
- }), i5 = {
7811
+ }), A5 = {
7805
7812
  left: "right",
7806
7813
  right: "left",
7807
7814
  bottom: "top",
7808
7815
  top: "bottom"
7809
- }, e5 = {
7816
+ }, i5 = {
7810
7817
  start: "end",
7811
7818
  end: "start"
7812
7819
  };
7813
- function v1(H, V, C) {
7814
- return M1(H, r1(V, C));
7820
+ function T1(H, V, C) {
7821
+ return M1(H, n1(V, C));
7815
7822
  }
7816
- function t1(H, V) {
7823
+ function d1(H, V) {
7817
7824
  return typeof H == "function" ? H(V) : H;
7818
7825
  }
7819
7826
  function L1(H) {
@@ -7828,26 +7835,26 @@ function V2(H) {
7828
7835
  function D1(H) {
7829
7836
  return H === "y" ? "height" : "width";
7830
7837
  }
7831
- function B1(H) {
7838
+ function w1(H) {
7832
7839
  return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7833
7840
  }
7834
- function _1(H) {
7835
- return V2(B1(H));
7841
+ function E1(H) {
7842
+ return V2(w1(H));
7836
7843
  }
7837
- function d5(H, V, C) {
7844
+ function e5(H, V, C) {
7838
7845
  C === void 0 && (C = !1);
7839
- const M = u1(H), A = _1(H), L = D1(A);
7846
+ const M = u1(H), A = E1(H), L = D1(A);
7840
7847
  let i = A === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7841
- return V.reference[L] > V.floating[L] && (i = h1(i)), [i, h1(i)];
7848
+ return V.reference[L] > V.floating[L] && (i = g1(i)), [i, g1(i)];
7842
7849
  }
7843
- function t5(H) {
7844
- const V = h1(H);
7845
- return [T1(H), V, T1(V)];
7850
+ function d5(H) {
7851
+ const V = g1(H);
7852
+ return [F1(H), V, F1(V)];
7846
7853
  }
7847
- function T1(H) {
7848
- return H.replace(/start|end/g, (V) => e5[V]);
7854
+ function F1(H) {
7855
+ return H.replace(/start|end/g, (V) => i5[V]);
7849
7856
  }
7850
- function m5(H, V, C) {
7857
+ function t5(H, V, C) {
7851
7858
  const M = ["left", "right"], A = ["right", "left"], L = ["top", "bottom"], i = ["bottom", "top"];
7852
7859
  switch (H) {
7853
7860
  case "top":
@@ -7860,15 +7867,15 @@ function m5(H, V, C) {
7860
7867
  return [];
7861
7868
  }
7862
7869
  }
7863
- function l5(H, V, C, M) {
7870
+ function m5(H, V, C, M) {
7864
7871
  const A = u1(H);
7865
- let L = m5(L1(H), C === "start", M);
7866
- return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(T1)))), L;
7872
+ let L = t5(L1(H), C === "start", M);
7873
+ return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(F1)))), L;
7867
7874
  }
7868
- function h1(H) {
7869
- return H.replace(/left|right|bottom|top/g, (V) => i5[V]);
7875
+ function g1(H) {
7876
+ return H.replace(/left|right|bottom|top/g, (V) => A5[V]);
7870
7877
  }
7871
- function o5(H) {
7878
+ function l5(H) {
7872
7879
  return {
7873
7880
  top: 0,
7874
7881
  right: 0,
@@ -7878,14 +7885,14 @@ function o5(H) {
7878
7885
  };
7879
7886
  }
7880
7887
  function L2(H) {
7881
- return typeof H != "number" ? o5(H) : {
7888
+ return typeof H != "number" ? l5(H) : {
7882
7889
  top: H,
7883
7890
  right: H,
7884
7891
  bottom: H,
7885
7892
  left: H
7886
7893
  };
7887
7894
  }
7888
- function g1(H) {
7895
+ function k1(H) {
7889
7896
  return {
7890
7897
  ...H,
7891
7898
  top: H.y,
@@ -7899,7 +7906,7 @@ function G1(H, V, C) {
7899
7906
  reference: M,
7900
7907
  floating: A
7901
7908
  } = H;
7902
- const L = B1(V), i = _1(V), e = D1(i), d = L1(V), t = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, r = M[e] / 2 - A[e] / 2;
7909
+ const L = w1(V), i = E1(V), e = D1(i), d = L1(V), t = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, r = M[e] / 2 - A[e] / 2;
7903
7910
  let a;
7904
7911
  switch (d) {
7905
7912
  case "top":
@@ -7942,7 +7949,7 @@ function G1(H, V, C) {
7942
7949
  }
7943
7950
  return a;
7944
7951
  }
7945
- const n5 = async (H, V, C) => {
7952
+ const o5 = async (H, V, C) => {
7946
7953
  const {
7947
7954
  placement: M = "bottom",
7948
7955
  strategy: A = "absolute",
@@ -7964,8 +7971,8 @@ const n5 = async (H, V, C) => {
7964
7971
  } = e[k], {
7965
7972
  x: P,
7966
7973
  y: v,
7967
- data: R,
7968
- reset: F
7974
+ data: T,
7975
+ reset: R
7969
7976
  } = await y({
7970
7977
  x: l,
7971
7978
  y: o,
@@ -7984,14 +7991,14 @@ const n5 = async (H, V, C) => {
7984
7991
  ...a,
7985
7992
  [B]: {
7986
7993
  ...a[B],
7987
- ...R
7994
+ ...T
7988
7995
  }
7989
- }, F && u <= 50) {
7990
- u++, typeof F == "object" && (F.placement && (r = F.placement), F.rects && (t = F.rects === !0 ? await i.getElementRects({
7996
+ }, R && u <= 50) {
7997
+ u++, typeof R == "object" && (R.placement && (r = R.placement), R.rects && (t = R.rects === !0 ? await i.getElementRects({
7991
7998
  reference: H,
7992
7999
  floating: V,
7993
8000
  strategy: A
7994
- }) : F.rects), {
8001
+ }) : R.rects), {
7995
8002
  x: l,
7996
8003
  y: o
7997
8004
  } = G1(t, r, d)), k = -1;
@@ -8006,7 +8013,7 @@ const n5 = async (H, V, C) => {
8006
8013
  middlewareData: a
8007
8014
  };
8008
8015
  };
8009
- async function k1(H, V) {
8016
+ async function B1(H, V) {
8010
8017
  var C;
8011
8018
  V === void 0 && (V = {});
8012
8019
  const {
@@ -8022,7 +8029,7 @@ async function k1(H, V) {
8022
8029
  elementContext: o = "floating",
8023
8030
  altBoundary: r = !1,
8024
8031
  padding: a = 0
8025
- } = t1(V, H), u = L2(a), B = e[r ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8032
+ } = d1(V, H), u = L2(a), B = e[r ? o === "floating" ? "reference" : "floating" : o], y = k1(await L.getClippingRect({
8026
8033
  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)),
8027
8034
  boundary: t,
8028
8035
  rootBoundary: l,
@@ -8031,25 +8038,25 @@ async function k1(H, V) {
8031
8038
  ...i.floating,
8032
8039
  x: M,
8033
8040
  y: A
8034
- } : i.reference, v = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), R = await (L.isElement == null ? void 0 : L.isElement(v)) ? await (L.getScale == null ? void 0 : L.getScale(v)) || {
8041
+ } : i.reference, v = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), T = await (L.isElement == null ? void 0 : L.isElement(v)) ? await (L.getScale == null ? void 0 : L.getScale(v)) || {
8035
8042
  x: 1,
8036
8043
  y: 1
8037
8044
  } : {
8038
8045
  x: 1,
8039
8046
  y: 1
8040
- }, F = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8047
+ }, R = k1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8041
8048
  rect: P,
8042
8049
  offsetParent: v,
8043
8050
  strategy: d
8044
8051
  }) : P);
8045
8052
  return {
8046
- top: (y.top - F.top + u.top) / R.y,
8047
- bottom: (F.bottom - y.bottom + u.bottom) / R.y,
8048
- left: (y.left - F.left + u.left) / R.x,
8049
- right: (F.right - y.right + u.right) / R.x
8053
+ top: (y.top - R.top + u.top) / T.y,
8054
+ bottom: (R.bottom - y.bottom + u.bottom) / T.y,
8055
+ left: (y.left - R.left + u.left) / T.x,
8056
+ right: (R.right - y.right + u.right) / T.x
8050
8057
  };
8051
8058
  }
8052
- const r5 = (H) => ({
8059
+ const n5 = (H) => ({
8053
8060
  name: "arrow",
8054
8061
  options: H,
8055
8062
  async fn(V) {
@@ -8064,16 +8071,16 @@ const r5 = (H) => ({
8064
8071
  } = V, {
8065
8072
  element: t,
8066
8073
  padding: l = 0
8067
- } = t1(H, V) || {};
8074
+ } = d1(H, V) || {};
8068
8075
  if (t == null)
8069
8076
  return {};
8070
8077
  const o = L2(l), r = {
8071
8078
  x: C,
8072
8079
  y: M
8073
- }, a = _1(A), u = D1(a), k = await i.getDimensions(t), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[a] - r[a] - L.floating[u], F = r[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8080
+ }, a = E1(A), u = D1(a), k = await i.getDimensions(t), B = a === "y", y = B ? "top" : "left", P = B ? "bottom" : "right", v = B ? "clientHeight" : "clientWidth", T = L.reference[u] + L.reference[a] - r[a] - L.floating[u], R = r[a] - L.reference[a], Q = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8074
8081
  let I = Q ? Q[v] : 0;
8075
8082
  (!I || !await (i.isElement == null ? void 0 : i.isElement(Q))) && (I = e.floating[v] || L.floating[u]);
8076
- const O = R / 2 - F / 2, N = I / 2 - k[u] / 2 - 1, n = r1(o[y], N), h = r1(o[P], N), b = n, _ = I - k[u] - h, s = I / 2 - k[u] / 2 + O, x = v1(b, s, _), U = !d.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < b ? n : h) - k[u] / 2 < 0, j = U ? s < b ? s - b : s - _ : 0;
8083
+ const p = T / 2 - R / 2, N = I / 2 - k[u] / 2 - 1, n = n1(o[y], N), h = n1(o[P], N), w = n, E = I - k[u] - h, s = I / 2 - k[u] / 2 + p, x = T1(w, s, E), U = !d.arrow && u1(A) != null && s != x && L.reference[u] / 2 - (s < w ? n : h) - k[u] / 2 < 0, j = U ? s < w ? s - w : s - E : 0;
8077
8084
  return {
8078
8085
  [a]: r[a] + j,
8079
8086
  data: {
@@ -8086,7 +8093,7 @@ const r5 = (H) => ({
8086
8093
  reset: U
8087
8094
  };
8088
8095
  }
8089
- }), a5 = function(H) {
8096
+ }), r5 = function(H) {
8090
8097
  return H === void 0 && (H = {}), {
8091
8098
  name: "flip",
8092
8099
  options: H,
@@ -8107,39 +8114,39 @@ const r5 = (H) => ({
8107
8114
  fallbackAxisSideDirection: u = "none",
8108
8115
  flipAlignment: k = !0,
8109
8116
  ...B
8110
- } = t1(H, V);
8117
+ } = d1(H, V);
8111
8118
  if ((C = L.arrow) != null && C.alignmentOffset)
8112
8119
  return {};
8113
- const y = L1(A), P = L1(e) === e, v = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = r || (P || !k ? [h1(e)] : t5(e));
8114
- !r && u !== "none" && R.push(...l5(e, k, u, v));
8115
- const F = [e, ...R], Q = await k1(V, B), I = [];
8116
- let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8120
+ const y = L1(A), P = L1(e) === e, v = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), T = r || (P || !k ? [g1(e)] : d5(e));
8121
+ !r && u !== "none" && T.push(...m5(e, k, u, v));
8122
+ const R = [e, ...T], Q = await B1(V, B), I = [];
8123
+ let p = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8117
8124
  if (l && I.push(Q[y]), o) {
8118
- const b = d5(A, i, v);
8119
- I.push(Q[b[0]], Q[b[1]]);
8125
+ const w = e5(A, i, v);
8126
+ I.push(Q[w[0]], Q[w[1]]);
8120
8127
  }
8121
- if (O = [...O, {
8128
+ if (p = [...p, {
8122
8129
  placement: A,
8123
8130
  overflows: I
8124
- }], !I.every((b) => b <= 0)) {
8131
+ }], !I.every((w) => w <= 0)) {
8125
8132
  var N, n;
8126
- const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, _ = F[b];
8127
- if (_)
8133
+ const w = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, E = R[w];
8134
+ if (E)
8128
8135
  return {
8129
8136
  data: {
8130
- index: b,
8131
- overflows: O
8137
+ index: w,
8138
+ overflows: p
8132
8139
  },
8133
8140
  reset: {
8134
- placement: _
8141
+ placement: E
8135
8142
  }
8136
8143
  };
8137
- let s = (n = O.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : n.placement;
8144
+ let s = (n = p.filter((x) => x.overflows[0] <= 0).sort((x, U) => x.overflows[1] - U.overflows[1])[0]) == null ? void 0 : n.placement;
8138
8145
  if (!s)
8139
8146
  switch (a) {
8140
8147
  case "bestFit": {
8141
8148
  var h;
8142
- const x = (h = O.map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : h[0];
8149
+ const x = (h = p.map((U) => [U.placement, U.overflows.filter((j) => j > 0).reduce((j, a2) => j + a2, 0)]).sort((U, j) => U[1] - j[1])[0]) == null ? void 0 : h[0];
8143
8150
  x && (s = x);
8144
8151
  break;
8145
8152
  }
@@ -8167,9 +8174,9 @@ function $1(H, V) {
8167
8174
  };
8168
8175
  }
8169
8176
  function U1(H) {
8170
- return A5.some((V) => H[V] >= 0);
8177
+ return M5.some((V) => H[V] >= 0);
8171
8178
  }
8172
- const Z5 = function(H) {
8179
+ const a5 = function(H) {
8173
8180
  return H === void 0 && (H = {}), {
8174
8181
  name: "hide",
8175
8182
  options: H,
@@ -8179,10 +8186,10 @@ const Z5 = function(H) {
8179
8186
  } = V, {
8180
8187
  strategy: M = "referenceHidden",
8181
8188
  ...A
8182
- } = t1(H, V);
8189
+ } = d1(H, V);
8183
8190
  switch (M) {
8184
8191
  case "referenceHidden": {
8185
- const L = await k1(V, {
8192
+ const L = await B1(V, {
8186
8193
  ...A,
8187
8194
  elementContext: "reference"
8188
8195
  }), i = $1(L, C.reference);
@@ -8194,7 +8201,7 @@ const Z5 = function(H) {
8194
8201
  };
8195
8202
  }
8196
8203
  case "escaped": {
8197
- const L = await k1(V, {
8204
+ const L = await B1(V, {
8198
8205
  ...A,
8199
8206
  altBoundary: !0
8200
8207
  }), i = $1(L, C.floating);
@@ -8211,12 +8218,12 @@ const Z5 = function(H) {
8211
8218
  }
8212
8219
  };
8213
8220
  };
8214
- async function u5(H, V) {
8221
+ async function Z5(H, V) {
8215
8222
  const {
8216
8223
  placement: C,
8217
8224
  platform: M,
8218
8225
  elements: A
8219
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = B1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, l = L && d ? -1 : 1, o = t1(V, H);
8226
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = w1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, l = L && d ? -1 : 1, o = d1(V, H);
8220
8227
  let {
8221
8228
  mainAxis: r,
8222
8229
  crossAxis: a,
@@ -8239,7 +8246,7 @@ async function u5(H, V) {
8239
8246
  y: a * l
8240
8247
  };
8241
8248
  }
8242
- const S5 = function(H) {
8249
+ const u5 = function(H) {
8243
8250
  return H === void 0 && (H = 0), {
8244
8251
  name: "offset",
8245
8252
  options: H,
@@ -8247,7 +8254,7 @@ const S5 = function(H) {
8247
8254
  const {
8248
8255
  x: C,
8249
8256
  y: M
8250
- } = V, A = await u5(V, H);
8257
+ } = V, A = await Z5(V, H);
8251
8258
  return {
8252
8259
  x: C + A.x,
8253
8260
  y: M + A.y,
@@ -8255,7 +8262,7 @@ const S5 = function(H) {
8255
8262
  };
8256
8263
  }
8257
8264
  };
8258
- }, s5 = function(H) {
8265
+ }, S5 = function(H) {
8259
8266
  return H === void 0 && (H = {}), {
8260
8267
  name: "shift",
8261
8268
  options: H,
@@ -8280,18 +8287,18 @@ const S5 = function(H) {
8280
8287
  }
8281
8288
  },
8282
8289
  ...d
8283
- } = t1(H, V), t = {
8290
+ } = d1(H, V), t = {
8284
8291
  x: C,
8285
8292
  y: M
8286
- }, l = await k1(V, d), o = B1(L1(A)), r = V2(o);
8293
+ }, l = await B1(V, d), o = w1(L1(A)), r = V2(o);
8287
8294
  let a = t[r], u = t[o];
8288
8295
  if (L) {
8289
8296
  const B = r === "y" ? "top" : "left", y = r === "y" ? "bottom" : "right", P = a + l[B], v = a - l[y];
8290
- a = v1(P, a, v);
8297
+ a = T1(P, a, v);
8291
8298
  }
8292
8299
  if (i) {
8293
8300
  const B = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = u + l[B], v = u - l[y];
8294
- u = v1(P, u, v);
8301
+ u = T1(P, u, v);
8295
8302
  }
8296
8303
  const k = e.fn({
8297
8304
  ...V,
@@ -8340,19 +8347,19 @@ function S1(H) {
8340
8347
  } = z(H);
8341
8348
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(A);
8342
8349
  }
8343
- function c5(H) {
8350
+ function s5(H) {
8344
8351
  return ["table", "td", "th"].includes(C1(H));
8345
8352
  }
8346
- function E1(H) {
8353
+ function _1(H) {
8347
8354
  const V = W1(), C = z(H);
8348
8355
  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((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8349
8356
  }
8350
- function O5(H) {
8351
- let V = d1(H);
8357
+ function c5(H) {
8358
+ let V = e1(H);
8352
8359
  for (; q(V) && !b1(V); ) {
8353
- if (E1(V))
8360
+ if (_1(V))
8354
8361
  return V;
8355
- V = d1(V);
8362
+ V = e1(V);
8356
8363
  }
8357
8364
  return null;
8358
8365
  }
@@ -8365,7 +8372,7 @@ function b1(H) {
8365
8372
  function z(H) {
8366
8373
  return G(H).getComputedStyle(H);
8367
8374
  }
8368
- function w1(H) {
8375
+ function y1(H) {
8369
8376
  return Y(H) ? {
8370
8377
  scrollLeft: H.scrollLeft,
8371
8378
  scrollTop: H.scrollTop
@@ -8374,7 +8381,7 @@ function w1(H) {
8374
8381
  scrollTop: H.pageYOffset
8375
8382
  };
8376
8383
  }
8377
- function d1(H) {
8384
+ function e1(H) {
8378
8385
  if (C1(H) === "html")
8379
8386
  return H;
8380
8387
  const V = (
@@ -8387,19 +8394,19 @@ function d1(H) {
8387
8394
  return z1(V) ? V.host : V;
8388
8395
  }
8389
8396
  function A2(H) {
8390
- const V = d1(H);
8397
+ const V = e1(H);
8391
8398
  return b1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8392
8399
  }
8393
- function F1(H, V, C) {
8400
+ function R1(H, V, C) {
8394
8401
  var M;
8395
8402
  V === void 0 && (V = []), C === void 0 && (C = !0);
8396
8403
  const A = A2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = G(A);
8397
- return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
8404
+ return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? R1(i.frameElement) : []) : V.concat(A, R1(A, [], C));
8398
8405
  }
8399
8406
  function i2(H) {
8400
8407
  const V = z(H);
8401
8408
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8402
- const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
8409
+ const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = h1(C) !== L || h1(M) !== i;
8403
8410
  return e && (C = L, M = i), {
8404
8411
  width: C,
8405
8412
  height: M,
@@ -8418,29 +8425,29 @@ function A1(H) {
8418
8425
  height: A,
8419
8426
  $: L
8420
8427
  } = i2(V);
8421
- let i = (L ? f1(C.width) : C.width) / M, e = (L ? f1(C.height) : C.height) / A;
8428
+ let i = (L ? h1(C.width) : C.width) / M, e = (L ? h1(C.height) : C.height) / A;
8422
8429
  return (!i || !Number.isFinite(i)) && (i = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8423
8430
  x: i,
8424
8431
  y: e
8425
8432
  };
8426
8433
  }
8427
- const p5 = /* @__PURE__ */ J(0);
8434
+ const O5 = /* @__PURE__ */ J(0);
8428
8435
  function d2(H) {
8429
8436
  const V = G(H);
8430
- return !W1() || !V.visualViewport ? p5 : {
8437
+ return !W1() || !V.visualViewport ? O5 : {
8431
8438
  x: V.visualViewport.offsetLeft,
8432
8439
  y: V.visualViewport.offsetTop
8433
8440
  };
8434
8441
  }
8435
- function f5(H, V, C) {
8442
+ function p5(H, V, C) {
8436
8443
  return V === void 0 && (V = !1), !C || V && C !== G(H) ? !1 : V;
8437
8444
  }
8438
- function a1(H, V, C, M) {
8445
+ function r1(H, V, C, M) {
8439
8446
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8440
8447
  const A = H.getBoundingClientRect(), L = e2(H);
8441
8448
  let i = J(1);
8442
8449
  V && (M ? Y(M) && (i = A1(M)) : i = A1(H));
8443
- const e = f5(L, C, M) ? d2(L) : J(0);
8450
+ const e = p5(L, C, M) ? d2(L) : J(0);
8444
8451
  let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8445
8452
  if (L) {
8446
8453
  const r = G(L), a = M && Y(M) ? G(M) : M;
@@ -8450,14 +8457,14 @@ function a1(H, V, C, M) {
8450
8457
  d *= k.x, t *= k.y, l *= k.x, o *= k.y, d += P, t += v, u = G(u).frameElement;
8451
8458
  }
8452
8459
  }
8453
- return g1({
8460
+ return k1({
8454
8461
  width: l,
8455
8462
  height: o,
8456
8463
  x: d,
8457
8464
  y: t
8458
8465
  });
8459
8466
  }
8460
- function h5(H) {
8467
+ function f5(H) {
8461
8468
  let {
8462
8469
  rect: V,
8463
8470
  offsetParent: C,
@@ -8471,8 +8478,8 @@ function h5(H) {
8471
8478
  scrollTop: 0
8472
8479
  }, e = J(1);
8473
8480
  const d = J(0);
8474
- if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8475
- const t = a1(C);
8481
+ if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = y1(C)), q(C))) {
8482
+ const t = r1(C);
8476
8483
  e = A1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8477
8484
  }
8478
8485
  return {
@@ -8482,14 +8489,14 @@ function h5(H) {
8482
8489
  y: V.y * e.y - i.scrollTop * e.y + d.y
8483
8490
  };
8484
8491
  }
8485
- function g5(H) {
8492
+ function h5(H) {
8486
8493
  return Array.from(H.getClientRects());
8487
8494
  }
8488
8495
  function t2(H) {
8489
- return a1(H1(H)).left + w1(H).scrollLeft;
8496
+ return r1(H1(H)).left + y1(H).scrollLeft;
8490
8497
  }
8491
- function k5(H) {
8492
- const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = M1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = M1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8498
+ function g5(H) {
8499
+ const V = H1(H), C = y1(H), M = H.ownerDocument.body, A = M1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = M1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8493
8500
  let i = -C.scrollLeft + t2(H);
8494
8501
  const e = -C.scrollTop;
8495
8502
  return z(M).direction === "rtl" && (i += M1(V.clientWidth, M.clientWidth) - A), {
@@ -8499,7 +8506,7 @@ function k5(H) {
8499
8506
  y: e
8500
8507
  };
8501
8508
  }
8502
- function B5(H, V) {
8509
+ function k5(H, V) {
8503
8510
  const C = G(H), M = H1(H), A = C.visualViewport;
8504
8511
  let L = M.clientWidth, i = M.clientHeight, e = 0, d = 0;
8505
8512
  if (A) {
@@ -8514,8 +8521,8 @@ function B5(H, V) {
8514
8521
  y: d
8515
8522
  };
8516
8523
  }
8517
- function b5(H, V) {
8518
- const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8524
+ function B5(H, V) {
8525
+ const C = r1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8519
8526
  return {
8520
8527
  width: i,
8521
8528
  height: e,
@@ -8526,11 +8533,11 @@ function b5(H, V) {
8526
8533
  function K1(H, V, C) {
8527
8534
  let M;
8528
8535
  if (V === "viewport")
8529
- M = B5(H, C);
8536
+ M = k5(H, C);
8530
8537
  else if (V === "document")
8531
- M = k5(H1(H));
8538
+ M = g5(H1(H));
8532
8539
  else if (Y(V))
8533
- M = b5(V, C);
8540
+ M = B5(V, C);
8534
8541
  else {
8535
8542
  const A = d2(H);
8536
8543
  M = {
@@ -8539,26 +8546,26 @@ function K1(H, V, C) {
8539
8546
  y: V.y - A.y
8540
8547
  };
8541
8548
  }
8542
- return g1(M);
8549
+ return k1(M);
8543
8550
  }
8544
8551
  function m2(H, V) {
8545
- const C = d1(H);
8552
+ const C = e1(H);
8546
8553
  return C === V || !Y(C) || b1(C) ? !1 : z(C).position === "fixed" || m2(C, V);
8547
8554
  }
8548
8555
  function w5(H, V) {
8549
8556
  const C = V.get(H);
8550
8557
  if (C)
8551
8558
  return C;
8552
- let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8559
+ let M = R1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8553
8560
  const L = z(H).position === "fixed";
8554
- let i = L ? d1(H) : H;
8561
+ let i = L ? e1(H) : H;
8555
8562
  for (; Y(i) && !b1(i); ) {
8556
- const e = z(i), d = E1(i);
8557
- !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = d1(i);
8563
+ const e = z(i), d = _1(i);
8564
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = e1(i);
8558
8565
  }
8559
8566
  return V.set(H, M), M;
8560
8567
  }
8561
- function y5(H) {
8568
+ function b5(H) {
8562
8569
  let {
8563
8570
  element: V,
8564
8571
  boundary: C,
@@ -8567,7 +8574,7 @@ function y5(H) {
8567
8574
  } = H;
8568
8575
  const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, l) => {
8569
8576
  const o = K1(V, l, A);
8570
- return t.top = M1(o.top, t.top), t.right = r1(o.right, t.right), t.bottom = r1(o.bottom, t.bottom), t.left = M1(o.left, t.left), t;
8577
+ return t.top = M1(o.top, t.top), t.right = n1(o.right, t.right), t.bottom = n1(o.bottom, t.bottom), t.left = M1(o.left, t.left), t;
8571
8578
  }, K1(V, e, A));
8572
8579
  return {
8573
8580
  width: d.right - d.left,
@@ -8576,19 +8583,19 @@ function y5(H) {
8576
8583
  y: d.top
8577
8584
  };
8578
8585
  }
8579
- function P5(H) {
8586
+ function y5(H) {
8580
8587
  return i2(H);
8581
8588
  }
8582
- function v5(H, V, C) {
8583
- const M = q(V), A = H1(V), L = C === "fixed", i = a1(H, !0, L, V);
8589
+ function P5(H, V, C) {
8590
+ const M = q(V), A = H1(V), L = C === "fixed", i = r1(H, !0, L, V);
8584
8591
  let e = {
8585
8592
  scrollLeft: 0,
8586
8593
  scrollTop: 0
8587
8594
  };
8588
8595
  const d = J(0);
8589
8596
  if (M || !M && !L)
8590
- if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8591
- const t = a1(V, !0, L, V);
8597
+ if ((C1(V) !== "body" || S1(A)) && (e = y1(V)), M) {
8598
+ const t = r1(V, !0, L, V);
8592
8599
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8593
8600
  } else
8594
8601
  A && (d.x = t2(A));
@@ -8607,11 +8614,11 @@ function l2(H, V) {
8607
8614
  if (!q(H))
8608
8615
  return C;
8609
8616
  let M = q1(H, V);
8610
- for (; M && c5(M) && z(M).position === "static"; )
8617
+ for (; M && s5(M) && z(M).position === "static"; )
8611
8618
  M = q1(M, V);
8612
- return M && (C1(M) === "html" || C1(M) === "body" && z(M).position === "static" && !E1(M)) ? C : M || O5(H) || C;
8619
+ return M && (C1(M) === "html" || C1(M) === "body" && z(M).position === "static" && !_1(M)) ? C : M || c5(H) || C;
8613
8620
  }
8614
- const T5 = async function(H) {
8621
+ const v5 = async function(H) {
8615
8622
  let {
8616
8623
  reference: V,
8617
8624
  floating: C,
@@ -8619,7 +8626,7 @@ const T5 = async function(H) {
8619
8626
  } = H;
8620
8627
  const A = this.getOffsetParent || l2, L = this.getDimensions;
8621
8628
  return {
8622
- reference: v5(V, await A(C), M),
8629
+ reference: P5(V, await A(C), M),
8623
8630
  floating: {
8624
8631
  x: 0,
8625
8632
  y: 0,
@@ -8627,43 +8634,43 @@ const T5 = async function(H) {
8627
8634
  }
8628
8635
  };
8629
8636
  };
8630
- function F5(H) {
8637
+ function T5(H) {
8631
8638
  return z(H).direction === "rtl";
8632
8639
  }
8633
- const R5 = {
8634
- convertOffsetParentRelativeRectToViewportRelativeRect: h5,
8640
+ const F5 = {
8641
+ convertOffsetParentRelativeRectToViewportRelativeRect: f5,
8635
8642
  getDocumentElement: H1,
8636
- getClippingRect: y5,
8643
+ getClippingRect: b5,
8637
8644
  getOffsetParent: l2,
8638
- getElementRects: T5,
8639
- getClientRects: g5,
8640
- getDimensions: P5,
8645
+ getElementRects: v5,
8646
+ getClientRects: h5,
8647
+ getDimensions: y5,
8641
8648
  getScale: A1,
8642
8649
  isElement: Y,
8643
- isRTL: F5
8644
- }, x5 = (H, V, C) => {
8650
+ isRTL: T5
8651
+ }, R5 = (H, V, C) => {
8645
8652
  const M = /* @__PURE__ */ new Map(), A = {
8646
- platform: R5,
8653
+ platform: F5,
8647
8654
  ...C
8648
8655
  }, L = {
8649
8656
  ...A.platform,
8650
8657
  _c: M
8651
8658
  };
8652
- return n5(H, V, {
8659
+ return o5(H, V, {
8653
8660
  ...A,
8654
8661
  platform: L
8655
8662
  });
8656
8663
  };
8657
8664
  var o2 = /* @__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))(o2 || {}), X = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(X || {}), n2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(n2 || {});
8658
- async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
8659
- !H || !V || x5(H, V, {
8665
+ async function x5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
8666
+ !H || !V || R5(H, V, {
8660
8667
  placement: M,
8661
8668
  middleware: [
8662
- S5(A),
8663
- s5({ padding: L }),
8664
- r5({ element: C }),
8665
- a5(),
8666
- Z5()
8669
+ u5(A),
8670
+ S5({ padding: L }),
8671
+ n5({ element: C }),
8672
+ r5(),
8673
+ a5()
8667
8674
  ]
8668
8675
  }).then(({ x: d, y: t, placement: l, middlewareData: o }) => {
8669
8676
  var u, k;
@@ -8695,7 +8702,7 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8695
8702
  }
8696
8703
  });
8697
8704
  }
8698
- const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8705
+ const D5 = ["aria-disabled"], E5 = ["innerHTML"], _5 = /* @__PURE__ */ F({
8699
8706
  __name: "RTooltip",
8700
8707
  props: {
8701
8708
  placement: { default: o2.Top },
@@ -8744,8 +8751,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8744
8751
  C.triggers.includes(X.Hover) && u();
8745
8752
  }
8746
8753
  function u(B) {
8747
- const { placement: y, offset: P, padding: v, disabled: R, showDelay: F, type: Q } = C;
8748
- R || D5(A, L, i, y, P, v, F, Q);
8754
+ const { placement: y, offset: P, padding: v, disabled: T, showDelay: R, type: Q } = C;
8755
+ T || x5(A, L, i, y, P, v, R, Q);
8749
8756
  }
8750
8757
  const k = g(() => ({
8751
8758
  "r-tooltip": !0,
@@ -8763,7 +8770,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8763
8770
  { flush: "post" }
8764
8771
  // this is important to avoid infinite loop & for fire on mounted
8765
8772
  ), X1(() => {
8766
- C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", u()), M5(
8773
+ C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", u()), L5(
8767
8774
  A,
8768
8775
  () => {
8769
8776
  C.outsideClick && d();
@@ -8783,7 +8790,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8783
8790
  onMouseleave: r,
8784
8791
  onMousemove: a
8785
8792
  }, [
8786
- f(B.$slots, "default", {
8793
+ O(B.$slots, "default", {
8787
8794
  activators: {
8788
8795
  click: l,
8789
8796
  mouseenter: o,
@@ -8796,8 +8803,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8796
8803
  innerHTML: C.triggerContent
8797
8804
  }, null, 8, E5)
8798
8805
  ])
8799
- ], 42, _5),
8800
- (m(), E(s2, { to: "body" }, [
8806
+ ], 42, D5),
8807
+ (m(), _(s2, { to: "body" }, [
8801
8808
  S("div", {
8802
8809
  id: "tooltip",
8803
8810
  ref_key: "tooltip",
@@ -8805,7 +8812,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8805
8812
  class: c([k.value, B.tooltipClass]),
8806
8813
  role: "tooltip"
8807
8814
  }, [
8808
- f(B.$slots, "content", {
8815
+ O(B.$slots, "content", {
8809
8816
  hide: d,
8810
8817
  updatePosition: u
8811
8818
  }, () => [
@@ -8815,7 +8822,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8815
8822
  "r-tooltip__content--dark": C.dark,
8816
8823
  "r-tooltip__content--light": C.light
8817
8824
  }])
8818
- }, w(C.text), 3)) : p("", !0),
8825
+ }, b(C.text), 3)) : f("", !0),
8819
8826
  C.text ? (m(), Z("div", {
8820
8827
  key: 1,
8821
8828
  id: "arrow",
@@ -8825,25 +8832,25 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8825
8832
  "r-tooltip__arrow--dark": C.dark,
8826
8833
  "r-tooltip__arrow--light": C.light
8827
8834
  }])
8828
- }, null, 2)) : p("", !0)
8835
+ }, null, 2)) : f("", !0)
8829
8836
  ])
8830
8837
  ], 2)
8831
8838
  ]))
8832
8839
  ], 64));
8833
8840
  }
8834
- }), N5 = ["onClick"], I5 = { class: "r-dropdown__selections" }, Q5 = { key: 0 }, G5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], $5 = ["data-has-value", "onClick"], U5 = ["aria-disabled", "onClick"], z5 = { class: "flex items-center" }, K5 = {
8841
+ }), W5 = ["onClick"], N5 = { class: "r-dropdown__selections" }, I5 = { key: 0 }, Q5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], G5 = ["data-has-value", "onClick"], $5 = ["aria-disabled", "onClick"], U5 = { class: "flex items-center" }, z5 = {
8835
8842
  key: 0,
8836
8843
  class: "r-dropdown-options__no-option"
8837
- }, q5 = {
8844
+ }, K5 = {
8838
8845
  key: 0,
8839
8846
  class: "r-dropdown-details"
8840
- }, j5 = {
8847
+ }, q5 = {
8841
8848
  key: 0,
8842
8849
  class: "r-dropdown-error"
8843
- }, X5 = {
8850
+ }, j5 = {
8844
8851
  key: 1,
8845
8852
  class: "r-dropdown-hint"
8846
- }, Y5 = /* @__PURE__ */ T({
8853
+ }, X5 = /* @__PURE__ */ F({
8847
8854
  __name: "RDropdown",
8848
8855
  props: {
8849
8856
  options: { default: () => [] },
@@ -8892,28 +8899,28 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8892
8899
  label: String(n)
8893
8900
  };
8894
8901
  }), o = W(), r = W(), a = W();
8895
- function u(n, h, b) {
8896
- var _, s, x;
8902
+ function u(n, h, w) {
8903
+ var E, s, x;
8897
8904
  if (n.stopPropagation(), !C.disabled) {
8898
8905
  if (i.value = !0, h && h(), i.value) {
8899
- (_ = o.value) == null || _.classList.add("r-dropdown--active"), (s = o.value) == null || s.focus(), (x = r.value) == null || x.focus();
8906
+ (E = o.value) == null || E.classList.add("r-dropdown--active"), (s = o.value) == null || s.focus(), (x = r.value) == null || x.focus();
8900
8907
  return;
8901
8908
  }
8902
8909
  k();
8903
8910
  }
8904
8911
  }
8905
8912
  function k() {
8906
- var n, h, b;
8907
- i.value = !1, (n = o.value) == null || n.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = r.value) == null || b.blur();
8913
+ var n, h, w;
8914
+ i.value = !1, (n = o.value) == null || n.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (w = r.value) == null || w.blur();
8908
8915
  }
8909
- function B(n, h, b, _) {
8916
+ function B(n, h, w, E) {
8910
8917
  var s;
8911
- if (n.stopPropagation(), _(), !h.disabled) {
8918
+ if (n.stopPropagation(), E(), !h.disabled) {
8912
8919
  if (C.multiple) {
8913
8920
  L.value.find((x) => x.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = r.value) == null || s.focus());
8914
8921
  return;
8915
8922
  }
8916
- y(n, h), C.closeOnSelect && (b(), k());
8923
+ y(n, h), C.closeOnSelect && (w(), k());
8917
8924
  }
8918
8925
  }
8919
8926
  function y(n, h) {
@@ -8923,32 +8930,32 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8923
8930
  }
8924
8931
  e.value = h.label, A.value = h, u(n), M("update:modelValue", h);
8925
8932
  }
8926
- function P(n, h, b) {
8933
+ function P(n, h, w) {
8927
8934
  if (n instanceof KeyboardEvent && n.key !== "Backspace" || e.value !== "")
8928
8935
  return;
8929
- n.stopPropagation(), b();
8930
- const _ = L.value.findIndex((s) => s.value === h.value);
8931
- L.value.splice(_, 1);
8936
+ n.stopPropagation(), w();
8937
+ const E = L.value.findIndex((s) => s.value === h.value);
8938
+ L.value.splice(E, 1);
8932
8939
  }
8933
8940
  function v(n, h) {
8934
8941
  var s;
8935
8942
  if (!C.multiple)
8936
8943
  return;
8937
8944
  n.stopPropagation(), h();
8938
- const b = e.value;
8939
- if (b === "")
8945
+ const w = e.value;
8946
+ if (w === "")
8940
8947
  return;
8941
- t.value.find((x) => x.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = r.value) == null || s.focus());
8948
+ t.value.find((x) => x.label === w) || (L.value.push({ value: w, label: w }), e.value = "", (s = r.value) == null || s.focus());
8942
8949
  }
8943
- function R(n) {
8950
+ function T(n) {
8944
8951
  var h;
8945
- return !n || (n == null ? void 0 : n.value) === void 0 || (n == null ? void 0 : n.value) === null ? !1 : C.multiple ? L.value.find((b) => (b == null ? void 0 : b.value) === (n == null ? void 0 : n.value)) : ((h = A.value) == null ? void 0 : h.value) === (n == null ? void 0 : n.value);
8952
+ return !n || (n == null ? void 0 : n.value) === void 0 || (n == null ? void 0 : n.value) === null ? !1 : C.multiple ? L.value.find((w) => (w == null ? void 0 : w.value) === (n == null ? void 0 : n.value)) : ((h = A.value) == null ? void 0 : h.value) === (n == null ? void 0 : n.value);
8946
8953
  }
8947
- const F = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), Q = g(() => !C.searchable);
8954
+ const R = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), Q = g(() => !C.searchable);
8948
8955
  function I() {
8949
8956
  l.value ? C.multiple ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8950
8957
  }
8951
- function O(n) {
8958
+ function p(n) {
8952
8959
  C.searchable && n(), !C.multiple && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8953
8960
  }
8954
8961
  function N(n, h) {
@@ -8969,7 +8976,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8969
8976
  ref: a,
8970
8977
  class: "r-dropdown-wrapper"
8971
8978
  }, [
8972
- K(W5, {
8979
+ K(_5, {
8973
8980
  "auto-hide": !1,
8974
8981
  offset: 0,
8975
8982
  "outside-click": "",
@@ -8981,7 +8988,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8981
8988
  type: "dropdown",
8982
8989
  onHide: k
8983
8990
  }, {
8984
- default: n1(({ activators: b, updatePosition: _ }) => [
8991
+ default: f1(({ activators: w, updatePosition: E }) => [
8985
8992
  S("div", {
8986
8993
  ref_key: "dropdown",
8987
8994
  ref: o,
@@ -8993,7 +9000,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8993
9000
  group: e.value !== "" || L.value.length
8994
9001
  }]),
8995
9002
  role: "select",
8996
- onClick: (s) => u(s, b.click)
9003
+ onClick: (s) => u(s, w.click)
8997
9004
  }, [
8998
9005
  C.prependIcon || n.$slots.prepend ? (m(), Z("div", {
8999
9006
  key: 0,
@@ -9002,29 +9009,29 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9002
9009
  "r-dropdown__prepend-icon--error": C.errorMsg
9003
9010
  }])
9004
9011
  }, [
9005
- f(n.$slots, "prepend", {}, () => [
9006
- C.prependIcon ? (m(), E(D, {
9012
+ O(n.$slots, "prepend", { active: i.value }, () => [
9013
+ C.prependIcon ? (m(), _(D, {
9007
9014
  key: 0,
9008
9015
  name: C.prependIcon
9009
- }, null, 8, ["name"])) : p("", !0)
9016
+ }, null, 8, ["name"])) : f("", !0)
9010
9017
  ])
9011
- ], 2)) : p("", !0),
9012
- S("div", I5, [
9013
- (m(!0), Z(i1, null, o1(L.value, (s, x) => f(n.$slots, "selection", {
9018
+ ], 2)) : f("", !0),
9019
+ S("div", N5, [
9020
+ (m(!0), Z(i1, null, l1(L.value, (s, x) => O(n.$slots, "selection", {
9014
9021
  key: x,
9015
9022
  index: x,
9016
9023
  option: s,
9017
9024
  removeOption: P
9018
9025
  }, () => [
9019
- C.chips ? (m(), E(Y2, {
9026
+ C.chips ? (m(), _(X2, {
9020
9027
  key: 1,
9021
9028
  clearable: !C.hideChipClear,
9022
9029
  ghost: "",
9023
9030
  label: s.label,
9024
9031
  "no-wrap": "",
9025
9032
  variant: "primary",
9026
- "onClick:close": (U) => P(U, s, _)
9027
- }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", Q5, w(`${s.label}, `), 1))
9033
+ "onClick:close": (U) => P(U, s, E)
9034
+ }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", I5, b(`${s.label}, `), 1))
9028
9035
  ])), 128)),
9029
9036
  Y1(S("input", {
9030
9037
  id: C.id,
@@ -9040,12 +9047,12 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9040
9047
  readonly: Q.value,
9041
9048
  role: "presentation",
9042
9049
  type: "text",
9043
- onInput: e1((s) => O(_), ["prevent"]),
9050
+ onInput: o1((s) => p(E), ["prevent"]),
9044
9051
  onKeydown: [
9045
- N1((s) => P(s, L.value[L.value.length - 1], _), ["backspace"]),
9046
- N1((s) => v(s, _), ["enter"])
9052
+ N1((s) => P(s, L.value[L.value.length - 1], E), ["backspace"]),
9053
+ N1((s) => v(s, E), ["enter"])
9047
9054
  ]
9048
- }, null, 42, G5), [
9055
+ }, null, 42, Q5), [
9049
9056
  [c2, e.value]
9050
9057
  ])
9051
9058
  ]),
@@ -9053,13 +9060,15 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9053
9060
  key: 1,
9054
9061
  class: "r-dropdown__clearable",
9055
9062
  "data-has-value": (e.value !== "" || L.value.length) && i.value,
9056
- onClick: (s) => N(s, _)
9063
+ onClick: (s) => N(s, E)
9057
9064
  }, [
9058
- K(D, {
9059
- name: "mdiCloseCircle",
9060
- size: "18"
9061
- })
9062
- ], 8, $5)) : p("", !0),
9065
+ O(n.$slots, "clearable", {}, () => [
9066
+ K(D, {
9067
+ name: "mdiCloseCircle",
9068
+ size: "18"
9069
+ })
9070
+ ])
9071
+ ], 8, G5)) : f("", !0),
9063
9072
  C.appendIcon || n.$slots.append ? (m(), Z("div", {
9064
9073
  key: 2,
9065
9074
  class: c(["r-dropdown__append-icon", {
@@ -9067,77 +9076,81 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9067
9076
  "r-dropdown__append-icon--error": C.errorMsg
9068
9077
  }])
9069
9078
  }, [
9070
- f(n.$slots, "append", {}, () => [
9071
- C.appendIcon ? (m(), E(D, {
9079
+ O(n.$slots, "append", { active: i.value }, () => [
9080
+ C.appendIcon ? (m(), _(D, {
9072
9081
  key: 0,
9073
9082
  name: C.appendIcon
9074
- }, null, 8, ["name"])) : p("", !0)
9083
+ }, null, 8, ["name"])) : f("", !0)
9075
9084
  ])
9076
- ], 2)) : p("", !0)
9077
- ], 10, N5)
9085
+ ], 2)) : f("", !0)
9086
+ ], 10, W5)
9078
9087
  ]),
9079
- content: n1(({ hide: b, updatePosition: _ }) => [
9088
+ content: f1(({ hide: w, updatePosition: E }) => [
9080
9089
  S("ul", {
9081
9090
  class: c(["r-dropdown-options", {
9082
9091
  "r-dropdown-options--active": i.value,
9083
9092
  [C.optionsClass]: C.optionsClass
9084
9093
  }])
9085
9094
  }, [
9086
- (m(!0), Z(i1, null, o1(F.value, (s) => (m(), Z("li", {
9095
+ (m(!0), Z(i1, null, l1(R.value, (s) => (m(), Z("li", {
9087
9096
  key: s.value,
9088
9097
  "aria-disabled": s.disabled,
9089
9098
  class: c(["r-dropdown-options__option", {
9090
- "r-dropdown-options__option--active": R(s),
9099
+ "r-dropdown-options__option--active": T(s),
9091
9100
  "r-dropdown-options__option--disabled": s.disabled
9092
9101
  }]),
9093
- onClick: e1((x) => B(x, s, b, _), ["prevent"])
9102
+ onClick: o1((x) => B(x, s, w, E), ["prevent"])
9094
9103
  }, [
9095
- f(n.$slots, "option", {
9096
- isSelected: R(s)
9104
+ O(n.$slots, "option", {
9105
+ isSelected: T(s)
9097
9106
  }, () => [
9098
- S("div", z5, [
9099
- f(n.$slots, "option-prepend", {}, () => [
9100
- s.prependIcon ? (m(), E(D, {
9107
+ S("div", U5, [
9108
+ O(n.$slots, "option-prepend", {
9109
+ isSelected: T(s)
9110
+ }, () => [
9111
+ s.prependIcon ? (m(), _(D, {
9101
9112
  key: 0,
9102
9113
  class: c(["r-dropdown-options__option__prepend-icon", {
9103
- "r-dropdown-options__option__prepend-icon--active": R(s)
9114
+ "r-dropdown-options__option__prepend-icon--active": T(s)
9104
9115
  }]),
9105
9116
  name: s.prependIcon
9106
- }, null, 8, ["class", "name"])) : p("", !0)
9117
+ }, null, 8, ["class", "name"])) : f("", !0)
9107
9118
  ]),
9108
9119
  S("p", {
9109
9120
  class: c(["r-dropdown-options__option__label", {
9110
- "r-dropdown-options__option__label--active": R(s)
9121
+ "r-dropdown-options__option__label--active": T(s)
9111
9122
  }])
9112
- }, w(s.label), 3)
9123
+ }, b(s.label), 3)
9113
9124
  ]),
9114
- f(n.$slots, "option-append", {}, () => [
9115
- R(s) && !C.hideOptionCheckIcon ? (m(), E(D, {
9125
+ O(n.$slots, "option-append", {
9126
+ isSelected: T(s)
9127
+ }, () => [
9128
+ T(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9116
9129
  key: 0,
9117
9130
  class: c(["r-dropdown-options__option__append-icon", {
9118
- "r-dropdown-options__option__append-icon--active": R(s)
9131
+ "r-dropdown-options__option__append-icon--active": T(s)
9119
9132
  }]),
9120
9133
  name: "mdiCheck"
9121
- }, null, 8, ["class"])) : p("", !0)
9134
+ }, null, 8, ["class"])) : f("", !0)
9122
9135
  ])
9123
9136
  ])
9124
- ], 10, U5))), 128)),
9125
- F.value.length === 0 ? (m(), Z("li", K5, [
9126
- f(n.$slots, "not-options", {}, () => [
9127
- R1(w(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9137
+ ], 10, $5))), 128)),
9138
+ R.value.length === 0 ? (m(), Z("li", z5, [
9139
+ O(n.$slots, "not-options", {}, () => [
9140
+ Z1(b(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9128
9141
  ])
9129
- ])) : p("", !0)
9142
+ ])) : f("", !0)
9130
9143
  ], 2)
9131
9144
  ]),
9132
9145
  _: 3
9133
9146
  }, 8, ["tooltip-class"]),
9134
- n.$props.hideDetails ? p("", !0) : (m(), Z("div", q5, [
9135
- C.errorMsg ? (m(), Z("div", j5, w(C.errorMsg), 1)) : p("", !0),
9136
- C.hint ? (m(), Z("div", X5, w(C.hint), 1)) : p("", !0)
9147
+ n.$props.hideDetails ? f("", !0) : (m(), Z("div", K5, [
9148
+ C.errorMsg ? (m(), Z("div", q5, b(C.errorMsg), 1)) : f("", !0),
9149
+ C.hint ? (m(), Z("div", j5, b(C.hint), 1)) : f("", !0)
9137
9150
  ]))
9138
9151
  ], 512));
9139
9152
  }
9140
- }), J5 = ["id", "for"], r2 = /* @__PURE__ */ T({
9153
+ }), Y5 = ["id", "for"], r2 = /* @__PURE__ */ F({
9141
9154
  __name: "RLabel",
9142
9155
  props: {
9143
9156
  id: { default: "" },
@@ -9151,21 +9164,21 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9151
9164
  class: "r-label",
9152
9165
  for: V.for
9153
9166
  }, [
9154
- f(C.$slots, "default", {}, () => [
9155
- R1(w(V.text), 1)
9167
+ O(C.$slots, "default", {}, () => [
9168
+ Z1(b(V.text), 1)
9156
9169
  ])
9157
- ], 8, J5));
9170
+ ], 8, Y5));
9158
9171
  }
9159
- }), C3 = ["onClick"], H3 = ["open"], V3 = { class: "r-dialog__header" }, L3 = {
9172
+ }), J5 = ["onClick"], C3 = ["open"], H3 = { class: "r-dialog__header" }, V3 = {
9160
9173
  key: 0,
9161
9174
  class: "icon"
9162
- }, M3 = {
9175
+ }, L3 = {
9163
9176
  key: 1,
9164
9177
  class: "title"
9165
- }, A3 = {
9178
+ }, M3 = {
9166
9179
  key: 2,
9167
9180
  class: "description"
9168
- }, i3 = { class: "r-dialog__body" }, e3 = { class: "r-dialog__actions" }, m0 = /* @__PURE__ */ T({
9181
+ }, A3 = { class: "r-dialog__body" }, i3 = { class: "r-dialog__actions" }, d0 = /* @__PURE__ */ F({
9169
9182
  __name: "RModal",
9170
9183
  props: {
9171
9184
  modelValue: { type: Boolean, default: !1 },
@@ -9200,7 +9213,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9200
9213
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9201
9214
  }), (e, d) => Y1((m(), Z("div", {
9202
9215
  class: c(["r-modal-overlay", e.overlayClass]),
9203
- onClick: e1(i, ["stop"])
9216
+ onClick: o1(i, ["stop"])
9204
9217
  }, [
9205
9218
  S("div", {
9206
9219
  "aria-modal": "true",
@@ -9209,28 +9222,28 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9209
9222
  role: "dialog",
9210
9223
  style: x1(L.value)
9211
9224
  }, [
9212
- S("div", V3, [
9213
- f(e.$slots, "header"),
9214
- C.icon ? (m(), Z("div", L3, [
9225
+ S("div", H3, [
9226
+ O(e.$slots, "header"),
9227
+ C.icon ? (m(), Z("div", V3, [
9215
9228
  K(D, {
9216
9229
  name: C.icon
9217
9230
  }, null, 8, ["name"])
9218
- ])) : p("", !0),
9219
- C.title ? (m(), Z("div", M3, w(C.title), 1)) : p("", !0),
9220
- C.description ? (m(), Z("div", A3, w(C.description), 1)) : p("", !0)
9231
+ ])) : f("", !0),
9232
+ C.title ? (m(), Z("div", L3, b(C.title), 1)) : f("", !0),
9233
+ C.description ? (m(), Z("div", M3, b(C.description), 1)) : f("", !0)
9221
9234
  ]),
9222
- S("div", i3, [
9223
- f(e.$slots, "default")
9235
+ S("div", A3, [
9236
+ O(e.$slots, "default")
9224
9237
  ]),
9225
- S("div", e3, [
9226
- f(e.$slots, "actions")
9238
+ S("div", i3, [
9239
+ O(e.$slots, "actions")
9227
9240
  ])
9228
- ], 14, H3)
9229
- ], 10, C3)), [
9241
+ ], 14, C3)
9242
+ ], 10, J5)), [
9230
9243
  [p2, e.modelValue]
9231
9244
  ]);
9232
9245
  }
9233
- }), d3 = ["data-open"], t3 = ["data-open"], m3 = ["data-open"], l0 = /* @__PURE__ */ T({
9246
+ }), e3 = ["data-open"], d3 = ["data-open"], t3 = ["data-open"], t0 = /* @__PURE__ */ F({
9234
9247
  __name: "RSidebar",
9235
9248
  props: {
9236
9249
  modelValue: { type: Boolean, default: !1 },
@@ -9250,24 +9263,21 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9250
9263
  class: c(["r-sidebar", [C.class]]),
9251
9264
  "data-open": C.modelValue
9252
9265
  }, [
9253
- f(A.$slots, "default")
9254
- ], 10, t3),
9266
+ O(A.$slots, "default")
9267
+ ], 10, d3),
9255
9268
  C.showTrigger ? (m(), Z("div", {
9256
9269
  key: 0,
9257
9270
  class: c(["r-sidebar__trigger", [C.triggerClass]]),
9258
9271
  "data-open": C.modelValue,
9259
9272
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9260
9273
  }, [
9261
- f(A.$slots, "trigger", {}, () => [
9262
- R1(" > ")
9274
+ O(A.$slots, "trigger", {}, () => [
9275
+ Z1(" > ")
9263
9276
  ])
9264
- ], 10, m3)) : p("", !0)
9265
- ], 10, d3));
9277
+ ], 10, t3)) : f("", !0)
9278
+ ], 10, e3));
9266
9279
  }
9267
- }), l3 = { class: "r-snackbar__text" }, o3 = {
9268
- key: 0,
9269
- class: "r-snackbar__close"
9270
- }, o0 = /* @__PURE__ */ T({
9280
+ }), m3 = { class: "r-snackbar__text" }, m0 = /* @__PURE__ */ F({
9271
9281
  __name: "RSnackbar",
9272
9282
  props: {
9273
9283
  modelValue: { type: Boolean, default: !1 },
@@ -9308,36 +9318,42 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9308
9318
  return (i, e) => (m(), Z("div", {
9309
9319
  class: c(A.value)
9310
9320
  }, [
9311
- f(i.$slots, "default", {}, () => [
9312
- C.variant ? (m(), E(D, {
9321
+ O(i.$slots, "icon", {}, () => [
9322
+ C.variant ? (m(), _(D, {
9313
9323
  key: 0,
9314
9324
  class: "r-snackbar__icon",
9315
9325
  name: L.value
9316
- }, null, 8, ["name"])) : p("", !0)
9326
+ }, null, 8, ["name"])) : f("", !0)
9317
9327
  ]),
9318
- S("div", l3, w(C.text), 1),
9319
- f(i.$slots, "action"),
9320
- C.closable ? (m(), Z("div", o3, [
9321
- f(i.$slots, "close", {}, () => [
9328
+ S("div", m3, [
9329
+ O(i.$slots, "default", {}, () => [
9330
+ Z1(b(C.text), 1)
9331
+ ])
9332
+ ]),
9333
+ C.closable ? (m(), Z("div", {
9334
+ key: 0,
9335
+ class: "r-snackbar__close",
9336
+ onClick: e[0] || (e[0] = o1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9337
+ }, [
9338
+ O(i.$slots, "close", {}, () => [
9322
9339
  K(D, {
9323
9340
  name: "mdiClose",
9324
- size: 16,
9325
- onClick: e[0] || (e[0] = e1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9341
+ size: 16
9326
9342
  })
9327
9343
  ])
9328
- ])) : p("", !0)
9344
+ ])) : f("", !0)
9329
9345
  ], 2));
9330
9346
  }
9331
- }), n3 = ["id", "checked", "disabled"], r3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), a3 = ["id", "for"], Z3 = {
9347
+ }), l3 = ["id", "checked", "disabled"], o3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), n3 = ["id", "for"], r3 = {
9332
9348
  key: 0,
9333
9349
  class: "r-switch-texts__details"
9334
- }, u3 = {
9350
+ }, a3 = {
9335
9351
  key: 0,
9336
9352
  class: "r-switch-texts__error"
9337
- }, S3 = {
9353
+ }, Z3 = {
9338
9354
  key: 1,
9339
9355
  class: "r-switch-texts__hint"
9340
- }, n0 = /* @__PURE__ */ T({
9356
+ }, l0 = /* @__PURE__ */ F({
9341
9357
  __name: "RSwitch",
9342
9358
  props: {
9343
9359
  id: { default: "switch" },
@@ -9352,7 +9368,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9352
9368
  },
9353
9369
  emits: ["update:modelValue"],
9354
9370
  setup(H, { emit: V }) {
9355
- const C = H, M = V, A = Z1({
9371
+ const C = H, M = V, A = a1({
9356
9372
  checked: !1
9357
9373
  }), L = g(() => ({
9358
9374
  "r-switch": !0,
@@ -9389,8 +9405,8 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9389
9405
  disabled: C.disabled,
9390
9406
  type: "checkbox",
9391
9407
  onChange: i
9392
- }, null, 40, n3),
9393
- r3
9408
+ }, null, 40, l3),
9409
+ o3
9394
9410
  ], 2),
9395
9411
  S("div", {
9396
9412
  class: c(["r-switch-texts", {
@@ -9401,23 +9417,20 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
9401
9417
  id: `${C.id}-label`,
9402
9418
  class: "r-switch-texts__label",
9403
9419
  for: C.id
9404
- }, w(C.label), 9, a3),
9405
- C.hideDetails ? p("", !0) : (m(), Z("div", Z3, [
9406
- C.errorMsg ? (m(), Z("p", u3, w(C.errorMsg), 1)) : (m(), Z("p", S3, w(C.hint), 1))
9420
+ }, b(C.label), 9, n3),
9421
+ C.hideDetails ? f("", !0) : (m(), Z("div", r3, [
9422
+ C.errorMsg ? (m(), Z("p", a3, b(C.errorMsg), 1)) : (m(), Z("p", Z3, b(C.hint), 1))
9407
9423
  ]))
9408
9424
  ], 2)
9409
9425
  ], 2));
9410
9426
  }
9411
9427
  });
9412
- var l1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(l1 || {});
9413
- const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9414
- key: 0,
9415
- class: "r-tab-item__label"
9416
- }, O3 = /* @__PURE__ */ T({
9428
+ var m1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(m1 || {});
9429
+ const u3 = ["aria-disabled", "aria-selected", "disabled"], S3 = { key: 0 }, s3 = /* @__PURE__ */ F({
9417
9430
  __name: "RTabItem",
9418
9431
  props: {
9419
9432
  id: {},
9420
- variant: { default: l1.DEFAULT },
9433
+ variant: { default: m1.DEFAULT },
9421
9434
  label: { default: "" },
9422
9435
  prependIcon: { default: "" },
9423
9436
  appendIcon: { default: "" },
@@ -9437,49 +9450,45 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9437
9450
  })), L = g(() => ({
9438
9451
  color: C.color
9439
9452
  }));
9440
- function i(d) {
9441
- M("update:modelValue", d);
9442
- }
9443
- function e() {
9444
- M("click:icon");
9453
+ function i(e) {
9454
+ M("update:modelValue", e);
9445
9455
  }
9446
- return (d, t) => (m(), Z("button", {
9456
+ return (e, d) => (m(), Z("button", {
9447
9457
  "aria-disabled": C.disabled,
9448
9458
  "aria-selected": C.modelValue === C.id,
9449
9459
  class: c(A.value),
9450
9460
  disabled: C.disabled,
9451
9461
  style: x1(L.value),
9452
- onClick: t[0] || (t[0] = e1((l) => i(C.id), ["stop"]))
9462
+ onClick: d[0] || (d[0] = o1((t) => i(C.id), ["stop"]))
9453
9463
  }, [
9454
- f(d.$slots, "prepend", {}, () => [
9455
- C.variant !== V1(l1).TEXT && C.prependIcon ? (m(), E(D, {
9464
+ O(e.$slots, "prepend", {
9465
+ active: C.modelValue === C.id
9466
+ }, () => [
9467
+ C.variant !== V1(m1).TEXT && C.prependIcon ? (m(), _(D, {
9456
9468
  key: 0,
9457
9469
  class: "r-tab-item__prepend-icon",
9458
9470
  name: C.prependIcon,
9459
9471
  size: 16
9460
- }, null, 8, ["name"])) : p("", !0)
9472
+ }, null, 8, ["name"])) : f("", !0)
9461
9473
  ]),
9462
- K(f2, {
9463
- duration: 150,
9464
- name: "fade"
9465
- }, {
9466
- default: n1(() => [
9467
- C.variant !== V1(l1).ICON ? (m(), Z("span", c3, w(C.label), 1)) : p("", !0)
9468
- ]),
9469
- _: 1
9470
- }),
9471
- f(d.$slots, "append", {}, () => [
9472
- C.variant !== V1(l1).TEXT && C.appendIcon ? (m(), E(D, {
9474
+ C.variant !== V1(m1).ICON ? (m(), Z("span", S3, [
9475
+ O(e.$slots, "default", {}, () => [
9476
+ Z1(b(C.label), 1)
9477
+ ])
9478
+ ])) : f("", !0),
9479
+ O(e.$slots, "append", {
9480
+ active: C.modelValue === C.id
9481
+ }, () => [
9482
+ C.variant !== V1(m1).TEXT && C.appendIcon ? (m(), _(D, {
9473
9483
  key: 0,
9474
9484
  class: "r-tab-item__append-icon",
9475
9485
  name: C.appendIcon,
9476
- size: 16,
9477
- onClick: e1(e, ["stop"])
9478
- }, null, 8, ["name", "onClick"])) : p("", !0)
9486
+ size: 16
9487
+ }, null, 8, ["name"])) : f("", !0)
9479
9488
  ])
9480
- ], 14, s3));
9489
+ ], 14, u3));
9481
9490
  }
9482
- }), r0 = /* @__PURE__ */ T({
9491
+ }), o0 = /* @__PURE__ */ F({
9483
9492
  __name: "RTabs",
9484
9493
  props: {
9485
9494
  tabs: { default: () => [] },
@@ -9488,55 +9497,55 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9488
9497
  tile: { type: Boolean, default: !1 },
9489
9498
  scrollable: { type: Boolean, default: !1 }
9490
9499
  },
9491
- emits: ["update:modelValue", "click:icon"],
9500
+ emits: ["update:modelValue"],
9492
9501
  setup(H, { emit: V }) {
9493
9502
  const C = H, M = V, A = W(C.modelValue || C.tabs[0].id), L = g(() => ({
9494
9503
  "r-tabs": !0,
9495
- "r-tabs--block": C.block,
9496
- "r-tabs--tile": C.tile,
9497
- "r-tabs--scrollable": C.scrollable
9504
+ "r-tabs--tile": C.tile
9498
9505
  }));
9499
- $(
9506
+ return $(
9500
9507
  () => A.value,
9501
9508
  () => {
9502
9509
  M("update:modelValue", A.value);
9503
9510
  }
9504
- );
9505
- function i() {
9506
- M("click:icon");
9507
- }
9508
- return (e, d) => (m(), Z("div", {
9511
+ ), (i, e) => (m(), Z("div", {
9509
9512
  class: c(L.value)
9510
9513
  }, [
9511
- f(e.$slots, "default", {}, () => [
9512
- (m(!0), Z(i1, null, o1(C.tabs, (t, l) => (m(), E(O3, {
9513
- id: t.id,
9514
- key: l,
9515
- modelValue: A.value,
9516
- "onUpdate:modelValue": d[0] || (d[0] = (o) => A.value = o),
9517
- active: l === A.value,
9518
- "append-icon": t.appendIcon,
9519
- block: e.block,
9520
- disabled: t.disabled,
9521
- label: t.label,
9522
- "prepend-icon": t.prependIcon,
9523
- tile: e.tile,
9524
- variant: t.variant,
9525
- "onClick:icon": i
9526
- }, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9527
- ])
9514
+ S("div", {
9515
+ class: c(["flex", [{
9516
+ "w-full": C.block,
9517
+ "overflow-x-auto": C.scrollable
9518
+ }]])
9519
+ }, [
9520
+ O(i.$slots, "default", { activeTab: A.value }, () => [
9521
+ (m(!0), Z(i1, null, l1(C.tabs, (d, t) => (m(), _(s3, {
9522
+ id: d.id,
9523
+ key: t,
9524
+ modelValue: A.value,
9525
+ "onUpdate:modelValue": e[0] || (e[0] = (l) => A.value = l),
9526
+ active: t === A.value,
9527
+ "append-icon": d.appendIcon,
9528
+ block: i.block,
9529
+ disabled: d.disabled,
9530
+ label: d.label,
9531
+ "prepend-icon": d.prependIcon,
9532
+ tile: i.tile,
9533
+ variant: d.variant
9534
+ }, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9535
+ ])
9536
+ ], 2)
9528
9537
  ], 2));
9529
9538
  }
9530
- }), p3 = { class: "r-textarea-wrapper" }, f3 = ["id", "disabled", "placeholder", "value"], h3 = {
9539
+ }), c3 = { class: "r-textarea-wrapper" }, O3 = ["id", "disabled", "placeholder", "value"], p3 = {
9531
9540
  key: 1,
9532
9541
  class: "r-textarea__details"
9533
- }, g3 = {
9542
+ }, f3 = {
9534
9543
  key: 0,
9535
9544
  class: "r-textarea__error"
9536
- }, k3 = {
9545
+ }, h3 = {
9537
9546
  key: 1,
9538
9547
  class: "r-textarea__hint"
9539
- }, a0 = /* @__PURE__ */ T({
9548
+ }, n0 = /* @__PURE__ */ F({
9540
9549
  __name: "RTextArea",
9541
9550
  props: {
9542
9551
  id: { default: "" },
@@ -9550,7 +9559,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9550
9559
  },
9551
9560
  emits: ["update:modelValue"],
9552
9561
  setup(H, { emit: V }) {
9553
- const C = H, M = V, A = Z1({
9562
+ const C = H, M = V, A = a1({
9554
9563
  value: ""
9555
9564
  });
9556
9565
  function L(i) {
@@ -9564,14 +9573,14 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9564
9573
  {
9565
9574
  immediate: !0
9566
9575
  }
9567
- ), (i, e) => (m(), Z("div", p3, [
9568
- C.label ? (m(), E(r2, {
9576
+ ), (i, e) => (m(), Z("div", c3, [
9577
+ C.label ? (m(), _(r2, {
9569
9578
  key: 0,
9570
9579
  id: `${C.id}-label`,
9571
9580
  class: "r-textarea__label",
9572
9581
  for: "textarea",
9573
9582
  text: C.label
9574
- }, null, 8, ["id", "text"])) : p("", !0),
9583
+ }, null, 8, ["id", "text"])) : f("", !0),
9575
9584
  S("textarea", j1(i.$attrs, {
9576
9585
  id: C.id,
9577
9586
  class: ["r-textarea", {
@@ -9582,22 +9591,22 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9582
9591
  placeholder: C.placeholder,
9583
9592
  value: A.value,
9584
9593
  onInput: L
9585
- }), null, 16, f3),
9586
- C.hideDetails ? p("", !0) : (m(), Z("div", h3, [
9587
- C.errorMsg ? (m(), Z("p", g3, w(C.errorMsg), 1)) : (m(), Z("p", k3, w(C.hint), 1))
9594
+ }), null, 16, O3),
9595
+ C.hideDetails ? f("", !0) : (m(), Z("div", p3, [
9596
+ C.errorMsg ? (m(), Z("p", f3, b(C.errorMsg), 1)) : (m(), Z("p", h3, b(C.hint), 1))
9588
9597
  ]))
9589
9598
  ]));
9590
9599
  }
9591
- }), B3 = { class: "r-textfield__wrapper" }, b3 = { class: "input-wrapper" }, w3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], y3 = {
9600
+ }), g3 = { class: "r-textfield__wrapper" }, k3 = { class: "input-wrapper" }, B3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], w3 = {
9592
9601
  key: 0,
9593
9602
  class: "r-textfield__details"
9594
- }, P3 = {
9603
+ }, b3 = {
9595
9604
  key: 0,
9596
9605
  class: "r-textfield__error"
9597
- }, v3 = {
9606
+ }, y3 = {
9598
9607
  key: 1,
9599
9608
  class: "r-textfield__hint"
9600
- }, Z0 = /* @__PURE__ */ T({
9609
+ }, r0 = /* @__PURE__ */ F({
9601
9610
  __name: "RTextfield",
9602
9611
  props: {
9603
9612
  id: { default: "" },
@@ -9627,7 +9636,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9627
9636
  "click:clear"
9628
9637
  ],
9629
9638
  setup(H, { emit: V }) {
9630
- const C = H, M = V, A = W(), L = Z1({
9639
+ const C = H, M = V, A = W(), L = a1({
9631
9640
  value: ""
9632
9641
  }), i = W(C.type), e = {
9633
9642
  password: "mdiLock",
@@ -9637,15 +9646,15 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9637
9646
  number: "mdiNumeric",
9638
9647
  text: ""
9639
9648
  }, d = W(!1), t = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9640
- var O;
9641
- return (O = C.errorMsg) == null ? void 0 : O.length;
9649
+ var p;
9650
+ return (p = C.errorMsg) == null ? void 0 : p.length;
9642
9651
  }), r = g(() => C.clearable && l.value), a = g(() => {
9643
- const { disabled: O, loading: N } = C;
9652
+ const { disabled: p, loading: N } = C;
9644
9653
  return {
9645
9654
  "r-textfield": !0,
9646
9655
  "r-textfield--error": o.value,
9647
9656
  "r-textfield--loading": N,
9648
- "r-textfield--disabled": O,
9657
+ "r-textfield--disabled": p,
9649
9658
  "r-textfield--clearable": r.value,
9650
9659
  "r-textfield--focus": d.value,
9651
9660
  "r-textfield--filled": t.value
@@ -9659,25 +9668,25 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9659
9668
  "r-textfield__append-icon--clear": r.value,
9660
9669
  "r-textfield__append-icon--error": o.value
9661
9670
  })), B = g(() => {
9662
- const { prependIcon: O, type: N } = C;
9663
- return O === "none" ? "" : O || e[N];
9671
+ const { prependIcon: p, type: N } = C;
9672
+ return p === "none" ? "" : p || e[N];
9664
9673
  }), y = g(() => {
9665
- const { appendIcon: O, type: N } = C;
9666
- return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : r.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9674
+ const { appendIcon: p, type: N } = C;
9675
+ return p === "none" ? "" : o.value ? "mdiAlertCircleOutline" : r.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : p;
9667
9676
  });
9668
- function P(O) {
9669
- d.value = !0, M("focus", O);
9677
+ function P(p) {
9678
+ d.value = !0, M("focus", p);
9670
9679
  }
9671
- function v(O) {
9672
- d.value = !1, M("blur", O);
9680
+ function v(p) {
9681
+ d.value = !1, M("blur", p);
9673
9682
  }
9674
- function R(O) {
9675
- L.value = O.target.value, M("input", O);
9683
+ function T(p) {
9684
+ L.value = p.target.value, M("input", p);
9676
9685
  }
9677
- function F() {
9678
- var O;
9686
+ function R() {
9687
+ var p;
9679
9688
  if (r.value) {
9680
- L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9689
+ L.value = "", (p = A.value) == null || p.focus(), M("click:clear", {
9681
9690
  value: i.value === "number" ? +L.value : L.value
9682
9691
  });
9683
9692
  return;
@@ -9690,45 +9699,45 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9690
9699
  i.value = i.value === "password" ? "text" : "password";
9691
9700
  }
9692
9701
  function I() {
9693
- var O;
9694
- (O = A.value) == null || O.focus();
9702
+ var p;
9703
+ (p = A.value) == null || p.focus();
9695
9704
  }
9696
9705
  return $(
9697
9706
  () => C.modelValue,
9698
- (O) => {
9699
- L.value = O;
9707
+ (p) => {
9708
+ L.value = p;
9700
9709
  },
9701
9710
  {
9702
9711
  immediate: !0
9703
9712
  }
9704
9713
  ), $(
9705
9714
  () => L.value,
9706
- (O) => {
9715
+ (p) => {
9707
9716
  M(
9708
9717
  "update:modelValue",
9709
- i.value === "number" ? +O : O
9718
+ i.value === "number" ? +p : p
9710
9719
  );
9711
9720
  }
9712
- ), (O, N) => (m(), Z("div", B3, [
9713
- C.label ? (m(), E(r2, {
9721
+ ), (p, N) => (m(), Z("div", g3, [
9722
+ C.label ? (m(), _(r2, {
9714
9723
  key: 0,
9715
9724
  id: `${C.id}-label`,
9716
9725
  class: "r-textfield__label",
9717
9726
  for: C.id,
9718
9727
  text: C.label,
9719
9728
  onClick: I
9720
- }, null, 8, ["id", "for", "text"])) : p("", !0),
9721
- S("div", b3, [
9729
+ }, null, 8, ["id", "for", "text"])) : f("", !0),
9730
+ S("div", k3, [
9722
9731
  S("div", {
9723
9732
  class: c(a.value)
9724
9733
  }, [
9725
- f(O.$slots, "prepend"),
9726
- B.value && !O.$slots.prepend ? (m(), E(D, {
9734
+ O(p.$slots, "prepend"),
9735
+ B.value && !p.$slots.prepend ? (m(), _(D, {
9727
9736
  key: 0,
9728
9737
  class: c(u.value),
9729
9738
  name: B.value,
9730
9739
  size: 20
9731
- }, null, 8, ["class", "name"])) : p("", !0),
9740
+ }, null, 8, ["class", "name"])) : f("", !0),
9732
9741
  S("input", {
9733
9742
  id: C.id,
9734
9743
  ref_key: "inputRef",
@@ -9743,28 +9752,28 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9743
9752
  value: L.value,
9744
9753
  onBlur: v,
9745
9754
  onFocus: P,
9746
- onInput: R
9747
- }, null, 40, w3),
9748
- o.value ? p("", !0) : f(O.$slots, "append", { key: 1 }),
9749
- y.value && !O.$slots.append || o.value ? (m(), E(D, {
9755
+ onInput: T
9756
+ }, null, 40, B3),
9757
+ o.value ? f("", !0) : O(p.$slots, "append", { key: 1 }),
9758
+ y.value && !p.$slots.append || o.value ? (m(), _(D, {
9750
9759
  key: 2,
9751
9760
  class: c(k.value),
9752
9761
  name: `${y.value}`,
9753
9762
  size: 20,
9754
- onClick: F
9755
- }, null, 8, ["class", "name"])) : p("", !0)
9763
+ onClick: R
9764
+ }, null, 8, ["class", "name"])) : f("", !0)
9756
9765
  ], 2),
9757
- C.hideDetails ? p("", !0) : (m(), Z("div", y3, [
9758
- C.errorMsg ? (m(), Z("p", P3, w(C.errorMsg), 1)) : p("", !0),
9759
- !C.errorMsg && C.hint ? (m(), Z("p", v3, w(C.hint), 1)) : p("", !0)
9766
+ C.hideDetails ? f("", !0) : (m(), Z("div", w3, [
9767
+ C.errorMsg ? (m(), Z("p", b3, b(C.errorMsg), 1)) : f("", !0),
9768
+ !C.errorMsg && C.hint ? (m(), Z("p", y3, b(C.hint), 1)) : f("", !0)
9760
9769
  ]))
9761
9770
  ])
9762
9771
  ]));
9763
9772
  }
9764
- }), T3 = { class: "r-breadcrumb" }, F3 = {
9773
+ }), P3 = { class: "r-breadcrumb" }, v3 = {
9765
9774
  key: 0,
9766
9775
  class: "r-breadcrumb__title"
9767
- }, u0 = /* @__PURE__ */ T({
9776
+ }, a0 = /* @__PURE__ */ F({
9768
9777
  __name: "RBreadcrumb",
9769
9778
  props: {
9770
9779
  items: { default: () => [] },
@@ -9773,9 +9782,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9773
9782
  setup(H) {
9774
9783
  const V = H;
9775
9784
  return (C, M) => {
9776
- const A = h2("router-link");
9777
- return m(), Z("div", T3, [
9778
- (m(!0), Z(i1, null, o1(V.items, (L, i) => (m(), Z("div", {
9785
+ const A = f2("router-link");
9786
+ return m(), Z("div", P3, [
9787
+ (m(!0), Z(i1, null, l1(V.items, (L, i) => (m(), Z("div", {
9779
9788
  key: i,
9780
9789
  class: "r-breadcrumb__item"
9781
9790
  }, [
@@ -9783,59 +9792,59 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9783
9792
  class: "r-breadcrumb__link",
9784
9793
  to: L.to
9785
9794
  }, {
9786
- default: n1(() => [
9787
- f(C.$slots, "item-icon", {}, () => [
9788
- L.icon ? (m(), E(D, {
9795
+ default: f1(() => [
9796
+ O(C.$slots, "item-icon", {}, () => [
9797
+ L.icon ? (m(), _(D, {
9789
9798
  key: 0,
9790
9799
  name: L.icon
9791
- }, null, 8, ["name"])) : p("", !0)
9800
+ }, null, 8, ["name"])) : f("", !0)
9792
9801
  ]),
9793
- L.onlyIcon ? p("", !0) : (m(), Z("span", F3, w(L.title), 1))
9802
+ L.onlyIcon ? f("", !0) : (m(), Z("span", v3, b(L.title), 1))
9794
9803
  ]),
9795
9804
  _: 2
9796
9805
  }, 1032, ["to"]),
9797
- f(C.$slots, "custom-seperator", {}, () => [
9798
- i !== C.items.length - 1 && V.seperator ? (m(), E(D, {
9806
+ O(C.$slots, "custom-seperator", {}, () => [
9807
+ i !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9799
9808
  key: 0,
9800
9809
  class: "r-breadcrumb__separator",
9801
9810
  name: V.seperator
9802
- }, null, 8, ["name"])) : p("", !0)
9811
+ }, null, 8, ["name"])) : f("", !0)
9803
9812
  ])
9804
9813
  ]))), 128))
9805
9814
  ]);
9806
9815
  };
9807
9816
  }
9808
- }), R3 = { class: "r-pagination__paginator" }, x3 = { class: "r-pagination__paginator__per-page" }, D3 = { class: "r-pagination__paginator__info" }, _3 = ["disabled"], E3 = /* @__PURE__ */ S("path", {
9817
+ }), T3 = { class: "r-pagination__paginator" }, F3 = { class: "r-pagination__paginator__per-page" }, R3 = { class: "r-pagination__paginator__info" }, x3 = ["disabled"], D3 = /* @__PURE__ */ S("path", {
9809
9818
  d: "M0 0h24v24H0z",
9810
9819
  fill: "none",
9811
9820
  stroke: "none"
9812
- }, null, -1), W3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), N3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), I3 = [
9821
+ }, null, -1), E3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), _3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), W3 = [
9822
+ D3,
9813
9823
  E3,
9814
- W3,
9815
- N3
9816
- ], Q3 = ["disabled"], G3 = /* @__PURE__ */ S("path", {
9824
+ _3
9825
+ ], N3 = ["disabled"], I3 = /* @__PURE__ */ S("path", {
9817
9826
  d: "M0 0h24v24H0z",
9818
9827
  fill: "none",
9819
9828
  stroke: "none"
9820
- }, null, -1), $3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), U3 = [
9821
- G3,
9822
- $3
9823
- ], z3 = ["disabled"], K3 = /* @__PURE__ */ S("path", {
9829
+ }, null, -1), Q3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), G3 = [
9830
+ I3,
9831
+ Q3
9832
+ ], $3 = ["disabled"], U3 = /* @__PURE__ */ S("path", {
9824
9833
  d: "M0 0h24v24H0z",
9825
9834
  fill: "none",
9826
9835
  stroke: "none"
9827
- }, null, -1), q3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), j3 = [
9828
- K3,
9829
- q3
9830
- ], X3 = ["disabled"], Y3 = /* @__PURE__ */ S("path", {
9836
+ }, null, -1), z3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), K3 = [
9837
+ U3,
9838
+ z3
9839
+ ], q3 = ["disabled"], j3 = /* @__PURE__ */ S("path", {
9831
9840
  d: "M0 0h24v24H0z",
9832
9841
  fill: "none",
9833
9842
  stroke: "none"
9834
- }, null, -1), J3 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), C0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), H0 = [
9835
- Y3,
9836
- J3,
9837
- C0
9838
- ], S0 = /* @__PURE__ */ T({
9843
+ }, null, -1), X3 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), Y3 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), J3 = [
9844
+ j3,
9845
+ X3,
9846
+ Y3
9847
+ ], Z0 = /* @__PURE__ */ F({
9839
9848
  __name: "RPagination",
9840
9849
  props: {
9841
9850
  page: { default: 1 },
@@ -9864,10 +9873,10 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9864
9873
  return (t, l) => (m(), Z("div", {
9865
9874
  class: c(["r-pagination", [`r-pagination--${C.position}`]])
9866
9875
  }, [
9867
- S("div", R3, [
9868
- S("div", x3, [
9869
- S("span", null, w(C.itemsPerPageText), 1),
9870
- K(Y5, {
9876
+ S("div", T3, [
9877
+ S("div", F3, [
9878
+ S("span", null, b(C.itemsPerPageText), 1),
9879
+ K(X5, {
9871
9880
  modelValue: A.value,
9872
9881
  "onUpdate:modelValue": [
9873
9882
  l[0] || (l[0] = (o) => A.value = o),
@@ -9879,13 +9888,13 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9879
9888
  options: C.perPageOptions
9880
9889
  }, null, 8, ["modelValue", "options"])
9881
9890
  ]),
9882
- S("span", D3, w(C.infoText), 1),
9891
+ S("span", R3, b(C.infoText), 1),
9883
9892
  S("button", {
9884
9893
  class: "r-pagination__paginator__first",
9885
9894
  disabled: C.page === 1,
9886
9895
  onClick: l[1] || (l[1] = (o) => e(1))
9887
9896
  }, [
9888
- f(t.$slots, "first", {}, () => [
9897
+ O(t.$slots, "first", {}, () => [
9889
9898
  (m(), Z("svg", {
9890
9899
  class: c(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9891
9900
  fill: "none",
@@ -9897,15 +9906,15 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9897
9906
  viewBox: "0 0 24 24",
9898
9907
  width: "20",
9899
9908
  xmlns: "http://www.w3.org/2000/svg"
9900
- }, I3, 2))
9909
+ }, W3, 2))
9901
9910
  ])
9902
- ], 8, _3),
9911
+ ], 8, x3),
9903
9912
  S("button", {
9904
9913
  class: "r-pagination__paginator__prev",
9905
9914
  disabled: C.page === 1,
9906
9915
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9907
9916
  }, [
9908
- f(t.$slots, "prev", {}, () => [
9917
+ O(t.$slots, "prev", {}, () => [
9909
9918
  (m(), Z("svg", {
9910
9919
  class: c(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9911
9920
  fill: "none",
@@ -9917,15 +9926,15 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9917
9926
  viewBox: "0 0 24 24",
9918
9927
  width: "20",
9919
9928
  xmlns: "http://www.w3.org/2000/svg"
9920
- }, U3, 2))
9929
+ }, G3, 2))
9921
9930
  ])
9922
- ], 8, Q3),
9931
+ ], 8, N3),
9923
9932
  S("button", {
9924
9933
  class: "r-pagination__paginator__next",
9925
9934
  disabled: C.page === L.value,
9926
9935
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9927
9936
  }, [
9928
- f(t.$slots, "next", {}, () => [
9937
+ O(t.$slots, "next", {}, () => [
9929
9938
  (m(), Z("svg", {
9930
9939
  class: c(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9931
9940
  fill: "none",
@@ -9937,15 +9946,15 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9937
9946
  viewBox: "0 0 24 24",
9938
9947
  width: "20",
9939
9948
  xmlns: "http://www.w3.org/2000/svg"
9940
- }, j3, 2))
9949
+ }, K3, 2))
9941
9950
  ])
9942
- ], 8, z3),
9951
+ ], 8, $3),
9943
9952
  S("button", {
9944
9953
  class: "r-pagination__paginator__last",
9945
9954
  disabled: C.page === L.value,
9946
9955
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9947
9956
  }, [
9948
- f(t.$slots, "last", {}, () => [
9957
+ O(t.$slots, "last", {}, () => [
9949
9958
  (m(), Z("svg", {
9950
9959
  class: c(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9951
9960
  fill: "none",
@@ -9957,13 +9966,13 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9957
9966
  viewBox: "0 0 24 24",
9958
9967
  width: "20",
9959
9968
  xmlns: "http://www.w3.org/2000/svg"
9960
- }, H0, 2))
9969
+ }, J3, 2))
9961
9970
  ])
9962
- ], 8, X3)
9971
+ ], 8, q3)
9963
9972
  ])
9964
9973
  ], 2));
9965
9974
  }
9966
- }), V0 = ["value"], s0 = /* @__PURE__ */ T({
9975
+ }), C0 = ["value"], u0 = /* @__PURE__ */ F({
9967
9976
  __name: "RProgressbar",
9968
9977
  props: {
9969
9978
  value: { default: 0 },
@@ -9978,9 +9987,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9978
9987
  role: "progressbar",
9979
9988
  style: x1({ height: `${V.height}px` }),
9980
9989
  value: V.value
9981
- }, null, 12, V0));
9990
+ }, null, 12, C0));
9982
9991
  }
9983
- }), O1 = "rocket-ui:r-item-group", c0 = /* @__PURE__ */ T({
9992
+ }), O1 = "rocket-ui:r-item-group", S0 = /* @__PURE__ */ F({
9984
9993
  __name: "RItemGroup",
9985
9994
  props: {
9986
9995
  modelValue: { default: () => [] },
@@ -10008,9 +10017,9 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
10008
10017
  }
10009
10018
  return s1(`${O1}:isDisabled`, t), $(() => C.modelValue, () => {
10010
10019
  L.value = C.modelValue;
10011
- }), (l, o) => (m(), E(g2(A.value), null, {
10012
- default: n1(() => [
10013
- f(l.$slots, "default", {
10020
+ }), (l, o) => (m(), _(h2(A.value), null, {
10021
+ default: f1(() => [
10022
+ O(l.$slots, "default", {
10014
10023
  isSelected: e,
10015
10024
  select: d,
10016
10025
  selected: L.value
@@ -10019,7 +10028,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
10019
10028
  _: 3
10020
10029
  }));
10021
10030
  }
10022
- }), p1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
10031
+ }), p1 = "rocket-ui:r-item-group", s0 = /* @__PURE__ */ F({
10023
10032
  __name: "RItem",
10024
10033
  props: {
10025
10034
  value: { default: null },
@@ -10033,7 +10042,7 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
10033
10042
  function d() {
10034
10043
  V.disabled || A(V.value, !0);
10035
10044
  }
10036
- return (t, l) => f(t.$slots, "default", {
10045
+ return (t, l) => O(t.$slots, "default", {
10037
10046
  disabled: V1(L)(V.value),
10038
10047
  isSelected: V1(C)(V.value),
10039
10048
  select: d,
@@ -10043,28 +10052,28 @@ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
10043
10052
  }
10044
10053
  });
10045
10054
  export {
10046
- M0 as RAccordion,
10047
- A0 as RAlert,
10048
- i0 as RAvatar,
10049
- e0 as RBadge,
10050
- u0 as RBreadcrumb,
10051
- d0 as RButton,
10052
- t0 as RCheckbox,
10053
- Y2 as RChip,
10054
- Y5 as RDropdown,
10055
+ V0 as RAccordion,
10056
+ L0 as RAlert,
10057
+ M0 as RAvatar,
10058
+ A0 as RBadge,
10059
+ a0 as RBreadcrumb,
10060
+ i0 as RButton,
10061
+ e0 as RCheckbox,
10062
+ X2 as RChip,
10063
+ X5 as RDropdown,
10055
10064
  D as RIcon,
10056
- O0 as RItem,
10057
- c0 as RItemGroup,
10065
+ s0 as RItem,
10066
+ S0 as RItemGroup,
10058
10067
  r2 as RLabel,
10059
- m0 as RModal,
10060
- S0 as RPagination,
10061
- s0 as RProgressbar,
10062
- l0 as RSidebar,
10063
- o0 as RSnackbar,
10064
- n0 as RSwitch,
10065
- O3 as RTabItem,
10066
- r0 as RTabs,
10067
- a0 as RTextArea,
10068
- Z0 as RTextfield,
10069
- W5 as RTooltip
10068
+ d0 as RModal,
10069
+ Z0 as RPagination,
10070
+ u0 as RProgressbar,
10071
+ t0 as RSidebar,
10072
+ m0 as RSnackbar,
10073
+ l0 as RSwitch,
10074
+ s3 as RTabItem,
10075
+ o0 as RTabs,
10076
+ n0 as RTextArea,
10077
+ r0 as RTextfield,
10078
+ _5 as RTooltip
10070
10079
  };