@rocketui/vue 0.0.65 → 0.0.66

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 F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as g, createCommentVNode as k, mergeProps as H2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as V2, onScopeDispose as L2, ref as D, onMounted as M2, withDirectives as E1, withKeys as k1, vModelText as A2, createTextVNode as _1, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as W1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
2
- const l2 = {
1
+ import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as g, createCommentVNode as k, mergeProps as H2, withModifiers as N, createBlock as R, watch as W, getCurrentScope as V2, onScopeDispose as L2, ref as D, onMounted as M2, withDirectives as E1, withKeys as k1, vModelText as A2, createTextVNode as _1, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, Teleport as t2, resolveComponent as m2, withCtx as W1, provide as a1, resolveDynamicComponent as l2, inject as Z1 } from "vue";
2
+ const o2 = {
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 l2 = {
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
- }, o2 = ["height", "viewBox", "width"], r2 = ["d"], R = /* @__PURE__ */ F({
7299
+ }, n2 = ["height", "viewBox", "width"], r2 = ["d"], x = /* @__PURE__ */ F({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7312,12 +7312,12 @@ const l2 = {
7312
7312
  width: V.size
7313
7313
  }, [
7314
7314
  Z("path", {
7315
- d: p(l2)[V.name]
7315
+ d: p(o2)[V.name]
7316
7316
  }, null, 8, r2)
7317
- ], 8, o2));
7317
+ ], 8, n2));
7318
7318
  }
7319
7319
  });
7320
- const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title" }, u2 = { class: "r-accordion__icon" }, S2 = { class: "r-accordion__content" }, a3 = /* @__PURE__ */ F({
7320
+ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title" }, S2 = { class: "r-accordion__icon" }, c2 = { class: "r-accordion__content" }, Z3 = /* @__PURE__ */ F({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7349,26 +7349,26 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
7351
  B(M.$slots, "title", {}, () => [
7352
- Z("div", Z2, y(i.title), 1)
7352
+ Z("div", u2, y(i.title), 1)
7353
7353
  ]),
7354
- Z("div", u2, [
7355
- q(R, { name: "mdiChevronUp" })
7354
+ Z("div", S2, [
7355
+ q(x, { name: "mdiChevronUp" })
7356
7356
  ])
7357
- ], 8, a2),
7358
- Z("div", S2, [
7357
+ ], 8, Z2),
7358
+ Z("div", c2, [
7359
7359
  B(M.$slots, "content", {}, () => [
7360
7360
  Z("span", null, y(i.content), 1)
7361
7361
  ])
7362
7362
  ])
7363
- ], 10, n2))), 128));
7363
+ ], 10, a2))), 128));
7364
7364
  }
7365
- }), c2 = { class: "r-alert__icon" }, s2 = { class: "r-alert__content" }, O2 = { class: "r-alert__content__title" }, p2 = {
7365
+ }), s2 = { class: "r-alert__icon" }, O2 = { class: "r-alert__content" }, p2 = { class: "r-alert__content__title" }, h2 = {
7366
7366
  key: 0,
7367
7367
  class: "r-alert__content__description"
7368
- }, h2 = {
7368
+ }, f2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, Z3 = /* @__PURE__ */ F({
7371
+ }, u3 = /* @__PURE__ */ F({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7396,23 +7396,23 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7396
7396
  return (i, e) => (t(), a("div", {
7397
7397
  class: f(p(L))
7398
7398
  }, [
7399
- Z("div", c2, [
7399
+ Z("div", s2, [
7400
7400
  B(i.$slots, "alert-icon", {}, () => [
7401
- q(R, {
7401
+ q(x, {
7402
7402
  name: p(M),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
- Z("div", s2, [
7407
+ Z("div", O2, [
7408
7408
  B(i.$slots, "content", {}, () => [
7409
- Z("p", O2, y(C.title), 1),
7410
- C.description ? (t(), a("p", p2, y(C.description), 1)) : k("", !0)
7409
+ Z("p", p2, y(C.title), 1),
7410
+ C.description ? (t(), a("p", h2, y(C.description), 1)) : k("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
- C.closable ? (t(), a("div", h2, [
7413
+ C.closable ? (t(), a("div", f2, [
7414
7414
  B(i.$slots, "custom-close", {}, () => [
7415
- q(R, {
7415
+ q(x, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
@@ -7422,7 +7422,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7422
7422
  ])) : k("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"], u3 = /* @__PURE__ */ F({
7425
+ }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", g2 = { class: "r-avatar__wrapper" }, k2 = ["alt", "src"], S3 = /* @__PURE__ */ F({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7440,7 +7440,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
7443
- return (i, e) => (t(), a("div", f2, [
7443
+ return (i, e) => (t(), a("div", g2, [
7444
7444
  Z("div", {
7445
7445
  class: f(p(C))
7446
7446
  }, [
@@ -7456,7 +7456,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7456
7456
  "r-avatar__image--anonymous": p(L)
7457
7457
  }),
7458
7458
  src: p(M)
7459
- }, null, 10, g2))
7459
+ }, null, 10, k2))
7460
7460
  ], 2),
7461
7461
  V.online ? (t(), a("span", {
7462
7462
  key: 0,
@@ -7467,7 +7467,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7467
7467
  }, null, 2)) : k("", !0)
7468
7468
  ]));
7469
7469
  }
7470
- }), k2 = { class: "r-badge-wrapper group" }, S3 = /* @__PURE__ */ F({
7470
+ }), B2 = { class: "r-badge-wrapper group" }, c3 = /* @__PURE__ */ F({
7471
7471
  __name: "RBadge",
7472
7472
  props: {
7473
7473
  variant: { default: "primary" },
@@ -7489,7 +7489,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7489
7489
  "r-badge--no-content": !V.content,
7490
7490
  [`r-badge--${V.variant}`]: V.variant
7491
7491
  }));
7492
- return (L, M) => (t(), a("div", k2, [
7492
+ return (L, M) => (t(), a("div", B2, [
7493
7493
  Z("span", {
7494
7494
  class: f(p(C)),
7495
7495
  onClick: M[0] || (M[0] = (A) => L.$emit("click"))
@@ -7497,7 +7497,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7497
7497
  B(L.$slots, "default")
7498
7498
  ]));
7499
7499
  }
7500
- }), B2 = ["disabled"], c3 = /* @__PURE__ */ F({
7500
+ }), b2 = ["disabled"], s3 = /* @__PURE__ */ F({
7501
7501
  __name: "RButton",
7502
7502
  props: {
7503
7503
  variant: { default: "primary" },
@@ -7540,7 +7540,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7540
7540
  onClick: i[0] || (i[0] = N((e) => A.$emit("click"), ["stop"]))
7541
7541
  }), [
7542
7542
  B(A.$slots, "custom-icon"),
7543
- !A.$slots["custom-icon"] && V.prependIcon ? (t(), x(R, {
7543
+ !A.$slots["custom-icon"] && V.prependIcon ? (t(), R(x, {
7544
7544
  key: 0,
7545
7545
  class: f({
7546
7546
  "r-button__prepend-icon": !0,
@@ -7550,21 +7550,21 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7550
7550
  size: p(L)
7551
7551
  }, null, 8, ["class", "name", "size"])) : k("", !0),
7552
7552
  V.onlyIcon ? k("", !0) : B(A.$slots, "default", { key: 1 }),
7553
- !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7553
+ !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), R(x, {
7554
7554
  key: 2,
7555
7555
  class: "r-button__append-icon",
7556
7556
  name: V.appendIcon,
7557
7557
  size: p(L)
7558
7558
  }, null, 8, ["name", "size"])) : k("", !0)
7559
- ], 16, B2));
7559
+ ], 16, b2));
7560
7560
  }
7561
- }), b2 = { class: "r-checkbox-wrapper" }, y2 = { class: "r-checkbox-container" }, w2 = ["id", "checked", "disabled", "indeterminate"], P2 = ["data-disabled"], T2 = { class: "r-checkbox-texts" }, v2 = ["data-disabled", "for"], F2 = {
7561
+ }), y2 = { class: "r-checkbox-wrapper" }, w2 = { class: "r-checkbox-container" }, P2 = ["id", "checked", "disabled", "indeterminate"], T2 = ["data-disabled"], v2 = { class: "r-checkbox-texts" }, F2 = ["data-disabled", "for"], R2 = {
7562
7562
  key: 0,
7563
7563
  class: "r-checkbox-texts__error"
7564
- }, R2 = {
7564
+ }, x2 = {
7565
7565
  key: 1,
7566
7566
  class: "r-checkbox-texts__hint"
7567
- }, s3 = /* @__PURE__ */ F({
7567
+ }, O3 = /* @__PURE__ */ F({
7568
7568
  __name: "RCheckbox",
7569
7569
  props: {
7570
7570
  id: { default: "" },
@@ -7613,8 +7613,8 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7613
7613
  // TODO: find a better way to do this
7614
7614
  immediate: !0
7615
7615
  }
7616
- ), (d, m) => (t(), a("div", b2, [
7617
- Z("div", y2, [
7616
+ ), (d, l) => (t(), a("div", y2, [
7617
+ Z("div", w2, [
7618
7618
  Z("input", {
7619
7619
  id: C.id,
7620
7620
  checked: L.checked,
@@ -7623,28 +7623,28 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7623
7623
  indeterminate: L.indeterminate,
7624
7624
  type: "checkbox",
7625
7625
  onChange: e
7626
- }, null, 40, w2),
7626
+ }, null, 40, P2),
7627
7627
  Z("div", {
7628
7628
  class: f(p(i)),
7629
7629
  "data-disabled": C.disabled
7630
7630
  }, [
7631
- q(R, {
7631
+ q(x, {
7632
7632
  name: p(A),
7633
7633
  size: 24
7634
7634
  }, null, 8, ["name"])
7635
- ], 10, P2)
7635
+ ], 10, T2)
7636
7636
  ]),
7637
- Z("div", T2, [
7637
+ Z("div", v2, [
7638
7638
  Z("label", {
7639
7639
  class: "r-checkbox-texts__label",
7640
7640
  "data-disabled": C.disabled,
7641
7641
  for: C.id
7642
- }, y(C.label), 9, v2),
7643
- C.errorMsg ? (t(), a("p", F2, y(C.errorMsg), 1)) : (t(), a("p", R2, y(C.hint), 1))
7642
+ }, y(C.label), 9, F2),
7643
+ C.errorMsg ? (t(), a("p", R2, y(C.errorMsg), 1)) : (t(), a("p", x2, y(C.hint), 1))
7644
7644
  ])
7645
7645
  ]));
7646
7646
  }
7647
- }), x2 = { class: "r-chip__content__label" }, D2 = /* @__PURE__ */ F({
7647
+ }), D2 = { class: "r-chip__content__label" }, E2 = /* @__PURE__ */ F({
7648
7648
  __name: "RChip",
7649
7649
  props: {
7650
7650
  variant: { default: "primary" },
@@ -7675,7 +7675,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7675
7675
  onClick: e[0] || (e[0] = (d) => M(d))
7676
7676
  }, [
7677
7677
  B(i.$slots, "prepend", {}, () => [
7678
- C.prependIcon ? (t(), x(R, {
7678
+ C.prependIcon ? (t(), R(x, {
7679
7679
  key: 0,
7680
7680
  "aria-disabled": C.disabled,
7681
7681
  class: "r-chip__content__prepend-icon",
@@ -7683,10 +7683,10 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7683
7683
  size: 12
7684
7684
  }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7685
7685
  ]),
7686
- Z("span", x2, y(C.label), 1)
7686
+ Z("span", D2, y(C.label), 1)
7687
7687
  ]),
7688
7688
  B(i.$slots, "append", {}, () => [
7689
- C.appendIcon ? (t(), x(R, {
7689
+ C.appendIcon ? (t(), R(x, {
7690
7690
  key: 0,
7691
7691
  "aria-disabled": C.disabled,
7692
7692
  class: "r-chip__content__append-icon",
@@ -7698,15 +7698,15 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7698
7698
  ], 2));
7699
7699
  }
7700
7700
  });
7701
- function E2(H) {
7701
+ function _2(H) {
7702
7702
  return V2() ? (L2(H), !0) : !1;
7703
7703
  }
7704
7704
  function N1(H) {
7705
7705
  return typeof H == "function" ? H() : p(H);
7706
7706
  }
7707
- const I1 = typeof window < "u" && typeof document < "u", _2 = Object.prototype.toString, W2 = (H) => _2.call(H) === "[object Object]", c1 = () => {
7708
- }, N2 = /* @__PURE__ */ I2();
7709
- function I2() {
7707
+ const I1 = typeof window < "u" && typeof document < "u", W2 = Object.prototype.toString, N2 = (H) => W2.call(H) === "[object Object]", c1 = () => {
7708
+ }, I2 = /* @__PURE__ */ Q2();
7709
+ function Q2() {
7710
7710
  var H;
7711
7711
  return I1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7712
7712
  }
@@ -7723,68 +7723,68 @@ function u1(...H) {
7723
7723
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7724
7724
  const A = [], i = () => {
7725
7725
  A.forEach((o) => o()), A.length = 0;
7726
- }, e = (o, l, n, r) => (o.addEventListener(l, n, r), () => o.removeEventListener(l, n, r)), d = W(
7726
+ }, e = (o, m, r, n) => (o.addEventListener(m, r, n), () => o.removeEventListener(m, r, n)), d = W(
7727
7727
  () => [H1(V), N1(M)],
7728
- ([o, l]) => {
7728
+ ([o, m]) => {
7729
7729
  if (i(), !o)
7730
7730
  return;
7731
- const n = W2(l) ? { ...l } : l;
7731
+ const r = N2(m) ? { ...m } : m;
7732
7732
  A.push(
7733
- ...C.flatMap((r) => L.map((u) => e(o, r, u, n)))
7733
+ ...C.flatMap((n) => L.map((S) => e(o, n, S, r)))
7734
7734
  );
7735
7735
  },
7736
7736
  { immediate: !0, flush: "post" }
7737
- ), m = () => {
7737
+ ), l = () => {
7738
7738
  d(), i();
7739
7739
  };
7740
- return E2(m), m;
7740
+ return _2(l), l;
7741
7741
  }
7742
7742
  let b1 = !1;
7743
- function Q2(H, V, C = {}) {
7743
+ function G2(H, V, C = {}) {
7744
7744
  const { window: L = Q1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
7745
7745
  if (!L)
7746
7746
  return;
7747
- N2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
7747
+ I2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
7748
7748
  let e = !0;
7749
- const d = (n) => M.some((r) => {
7750
- if (typeof r == "string")
7751
- return Array.from(L.document.querySelectorAll(r)).some((u) => u === n.target || n.composedPath().includes(u));
7749
+ const d = (r) => M.some((n) => {
7750
+ if (typeof n == "string")
7751
+ return Array.from(L.document.querySelectorAll(n)).some((S) => S === r.target || r.composedPath().includes(S));
7752
7752
  {
7753
- const u = H1(r);
7754
- return u && (n.target === u || n.composedPath().includes(u));
7753
+ const S = H1(n);
7754
+ return S && (r.target === S || r.composedPath().includes(S));
7755
7755
  }
7756
7756
  }), o = [
7757
- u1(L, "click", (n) => {
7758
- const r = H1(H);
7759
- if (!(!r || r === n.target || n.composedPath().includes(r))) {
7760
- if (n.detail === 0 && (e = !d(n)), !e) {
7757
+ u1(L, "click", (r) => {
7758
+ const n = H1(H);
7759
+ if (!(!n || n === r.target || r.composedPath().includes(n))) {
7760
+ if (r.detail === 0 && (e = !d(r)), !e) {
7761
7761
  e = !0;
7762
7762
  return;
7763
7763
  }
7764
- V(n);
7764
+ V(r);
7765
7765
  }
7766
7766
  }, { passive: !0, capture: A }),
7767
- u1(L, "pointerdown", (n) => {
7768
- const r = H1(H);
7769
- r && (e = !n.composedPath().includes(r) && !d(n));
7767
+ u1(L, "pointerdown", (r) => {
7768
+ const n = H1(H);
7769
+ n && (e = !r.composedPath().includes(n) && !d(r));
7770
7770
  }, { passive: !0 }),
7771
- i && u1(L, "blur", (n) => {
7771
+ i && u1(L, "blur", (r) => {
7772
7772
  setTimeout(() => {
7773
- var r;
7774
- const u = H1(H);
7775
- ((r = L.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(u != null && u.contains(L.document.activeElement)) && V(n);
7773
+ var n;
7774
+ const S = H1(H);
7775
+ ((n = L.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(S != null && S.contains(L.document.activeElement)) && V(r);
7776
7776
  }, 0);
7777
7777
  })
7778
7778
  ].filter(Boolean);
7779
- return () => o.forEach((n) => n());
7779
+ return () => o.forEach((r) => r());
7780
7780
  }
7781
- const G2 = {
7781
+ const z2 = {
7782
7782
  key: 1,
7783
7783
  class: "r-dropdown__tags"
7784
- }, z2 = {
7784
+ }, U2 = {
7785
7785
  key: 2,
7786
7786
  class: "r-dropdown__multiple"
7787
- }, U2 = ["id", "disabled", "placeholder", "readonly"], $2 = ["aria-disabled", "onClick"], K2 = { style: { display: "flex", "align-items": "center" } }, O3 = /* @__PURE__ */ F({
7787
+ }, $2 = ["id", "disabled", "placeholder", "readonly"], K2 = ["aria-disabled", "onClick"], j2 = { style: { display: "flex", "align-items": "center" } }, p3 = /* @__PURE__ */ F({
7788
7788
  __name: "RDropdown",
7789
7789
  props: {
7790
7790
  options: { default: () => [] },
@@ -7801,123 +7801,129 @@ const G2 = {
7801
7801
  },
7802
7802
  emits: ["update:modelValue"],
7803
7803
  setup(H, { emit: V }) {
7804
- const C = H, L = D(""), M = J([]), A = D(!1), i = D(""), e = D(null), d = D(null), m = D(null), o = (S) => {
7804
+ const C = H, L = D(""), M = J([]), A = D(!1), i = D(""), e = D(null), d = D(null), l = D(null);
7805
+ function o(u) {
7805
7806
  var O, s, v;
7806
7807
  if (!C.disabled) {
7807
- if (S.stopPropagation(), A.value = !A.value, A.value) {
7808
+ if (u.stopPropagation(), A.value = !A.value, A.value) {
7808
7809
  (O = e.value) == null || O.classList.add("r-dropdown--active"), (s = e.value) == null || s.focus(), C.searchable && ((v = d.value) == null || v.focus());
7809
7810
  return;
7810
7811
  }
7811
- l();
7812
+ m();
7812
7813
  }
7813
- }, l = () => {
7814
- var S, O, s;
7815
- A.value = !1, (S = e.value) == null || S.classList.remove("r-dropdown--active"), (O = e.value) == null || O.blur(), (s = d.value) == null || s.blur();
7816
- }, n = (S, O) => {
7814
+ }
7815
+ function m() {
7816
+ var u, O, s;
7817
+ A.value = !1, (u = e.value) == null || u.classList.remove("r-dropdown--active"), (O = e.value) == null || O.blur(), (s = d.value) == null || s.blur();
7818
+ }
7819
+ function r(u, O) {
7817
7820
  var s;
7818
7821
  if (C.multiple || C.taggable) {
7819
- S.stopPropagation(), M.find((v) => v.value === O.value) ? M.splice(M.indexOf(O), 1) : M.push(O), i.value = "", C.searchable && ((s = d.value) == null || s.focus());
7822
+ u.stopPropagation(), M.find((v) => v.value === O.value) ? M.splice(M.indexOf(O), 1) : M.push(O), i.value = "", C.searchable && ((s = d.value) == null || s.focus());
7820
7823
  return;
7821
7824
  }
7822
- r(S, O);
7823
- }, r = (S, O) => {
7825
+ n(u, O);
7826
+ }
7827
+ function n(u, O) {
7824
7828
  if (L.value === O.value) {
7825
7829
  L.value = "", i.value = "";
7826
7830
  return;
7827
7831
  }
7828
- i.value = O.label, L.value = O.value, o(S), V("update:modelValue", O);
7829
- }, u = (S, O) => {
7830
- if (S instanceof KeyboardEvent && S.key !== "Backspace" || i.value !== "")
7832
+ i.value = O.label, L.value = O.value, o(u), V("update:modelValue", O);
7833
+ }
7834
+ function S(u, O) {
7835
+ if (u instanceof KeyboardEvent && u.key !== "Backspace" || i.value !== "")
7831
7836
  return;
7832
- S.stopPropagation();
7837
+ u.stopPropagation();
7833
7838
  const s = M.findIndex((v) => v.value === O.value);
7834
7839
  M.splice(s, 1);
7835
- }, b = (S) => {
7840
+ }
7841
+ function b(u) {
7836
7842
  var v;
7837
7843
  if (!C.taggable)
7838
7844
  return;
7839
- S.stopPropagation();
7845
+ u.stopPropagation();
7840
7846
  const O = i.value;
7841
7847
  if (O === "")
7842
7848
  return;
7843
7849
  C.options.find((h) => h.label === O) || (M.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7844
- }, c = (S) => C.multiple ? M.find((O) => O.value === S.value) : L.value === S.value, w = g(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7850
+ }
7851
+ function c(u) {
7852
+ return C.multiple ? M.find((O) => O.value === u.value) : L.value === u.value;
7853
+ }
7854
+ const w = g(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7845
7855
  return M2(() => {
7846
7856
  C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7847
- }), W(M, (S) => {
7848
- V("update:modelValue", S);
7849
- }), Q2(m, l), (S, O) => (t(), a("div", {
7857
+ }), W(M, (u) => {
7858
+ V("update:modelValue", u);
7859
+ }), G2(l, m), (u, O) => (t(), a("div", {
7850
7860
  ref_key: "wrapper",
7851
- ref: m,
7861
+ ref: l,
7852
7862
  class: "r-dropdown-wrapper"
7853
7863
  }, [
7854
7864
  Z("div", {
7855
7865
  ref_key: "dropdown",
7856
7866
  ref: e,
7857
- class: f({
7858
- "r-dropdown": !0,
7867
+ class: f(["r-dropdown", {
7859
7868
  "r-dropdown--disabled": C.disabled,
7860
7869
  "r-dropdown--loading": C.loading
7861
- }),
7870
+ }]),
7862
7871
  role: "select",
7863
7872
  onClick: o
7864
7873
  }, [
7865
- C.prependIcon || S.$slots.prepend ? (t(), a("div", {
7874
+ C.prependIcon || u.$slots.prepend ? (t(), a("div", {
7866
7875
  key: 0,
7867
- class: f({
7868
- "r-dropdown__prepend-icon": !0,
7876
+ class: f(["r-dropdown__prepend-icon", {
7869
7877
  "r-dropdown__prepend-icon--active": A.value
7870
- })
7878
+ }])
7871
7879
  }, [
7872
- B(S.$slots, "prepend", {}, () => [
7873
- C.prependIcon ? (t(), x(R, {
7880
+ B(u.$slots, "prepend", {}, () => [
7881
+ C.prependIcon ? (t(), R(x, {
7874
7882
  key: 0,
7875
7883
  name: C.prependIcon
7876
7884
  }, null, 8, ["name"])) : k("", !0)
7877
7885
  ])
7878
7886
  ], 2)) : k("", !0),
7879
- C.taggable ? (t(), a("div", G2, [
7880
- (t(!0), a(U, null, Y(M, (s, v) => (t(), x(D2, {
7887
+ C.taggable ? (t(), a("div", z2, [
7888
+ (t(!0), a(U, null, Y(M, (s, v) => (t(), R(E2, {
7881
7889
  key: v,
7882
- appendIcon: "close",
7890
+ "append-icon": "close",
7883
7891
  class: "r-dropdown__tags__chip",
7884
7892
  label: s.label,
7885
7893
  variant: "primary",
7886
- "onClick:close": (h) => u(h, s)
7894
+ "onClick:close": (h) => S(h, s)
7887
7895
  }, null, 8, ["label", "onClick:close"]))), 128))
7888
7896
  ])) : k("", !0),
7889
- C.multiple ? (t(), a("div", z2, [
7890
- (t(!0), a(U, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7897
+ C.multiple ? (t(), a("div", U2, [
7898
+ (t(!0), a(U, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(`${s.label},`), 1))), 128))
7891
7899
  ])) : k("", !0),
7892
7900
  E1(Z("input", {
7893
7901
  id: C.id,
7894
7902
  ref_key: "input",
7895
7903
  ref: d,
7896
7904
  "onUpdate:modelValue": O[0] || (O[0] = (s) => i.value = s),
7897
- class: f({
7898
- "r-dropdown__input": !0,
7905
+ class: f(["r-dropdown__input", {
7899
7906
  "r-dropdown__input--loading": C.loading
7900
- }),
7907
+ }]),
7901
7908
  disabled: C.disabled,
7902
7909
  placeholder: C.placeholder,
7903
7910
  readonly: p(T),
7904
7911
  type: "text",
7905
7912
  onKeydown: [
7906
- O[1] || (O[1] = k1((s) => u(s, M[M.length - 1]), ["backspace"])),
7913
+ O[1] || (O[1] = k1((s) => S(s, M[M.length - 1]), ["backspace"])),
7907
7914
  O[2] || (O[2] = k1((s) => b(s), ["enter"]))
7908
7915
  ]
7909
- }, null, 42, U2), [
7916
+ }, null, 42, $2), [
7910
7917
  [A2, i.value]
7911
7918
  ]),
7912
- C.appendIcon || S.$slots.append ? (t(), a("div", {
7919
+ C.appendIcon || u.$slots.append ? (t(), a("div", {
7913
7920
  key: 3,
7914
- class: f({
7915
- "r-dropdown__append-icon": !0,
7921
+ class: f(["r-dropdown__append-icon", {
7916
7922
  "r-dropdown__append-icon--active": A.value
7917
- })
7923
+ }])
7918
7924
  }, [
7919
- B(S.$slots, "append", {}, () => [
7920
- C.appendIcon ? (t(), x(R, {
7925
+ B(u.$slots, "append", {}, () => [
7926
+ C.appendIcon ? (t(), R(x, {
7921
7927
  key: 0,
7922
7928
  name: C.appendIcon
7923
7929
  }, null, 8, ["name"])) : k("", !0)
@@ -7925,49 +7931,44 @@ const G2 = {
7925
7931
  ], 2)) : k("", !0)
7926
7932
  ], 2),
7927
7933
  Z("ul", {
7928
- class: f({
7929
- "r-dropdown-options": !0,
7934
+ class: f(["r-dropdown-options", {
7930
7935
  "r-dropdown-options--active": A.value
7931
- })
7936
+ }])
7932
7937
  }, [
7933
7938
  (t(!0), a(U, null, Y(p(w), (s) => (t(), a("li", {
7934
7939
  key: s.value,
7935
7940
  "aria-disabled": s.disabled,
7936
- class: f({
7937
- "r-dropdown-options__option": !0,
7941
+ class: f(["r-dropdown-options__option", {
7938
7942
  "r-dropdown-options__option--active": c(s)
7939
- }),
7940
- onClick: (v) => n(v, s)
7943
+ }]),
7944
+ onClick: (v) => r(v, s)
7941
7945
  }, [
7942
- Z("div", K2, [
7943
- s.prependIcon ? (t(), x(R, {
7946
+ Z("div", j2, [
7947
+ s.prependIcon ? (t(), R(x, {
7944
7948
  key: 1,
7945
- class: f({
7946
- "r-dropdown-options__option__prepend-icon": !0,
7949
+ class: f(["r-dropdown-options__option__prepend-icon", {
7947
7950
  "r-dropdown-options__option__prepend-icon--active": c(s)
7948
- }),
7951
+ }]),
7949
7952
  name: s.prependIcon
7950
- }, null, 8, ["class", "name"])) : B(S.$slots, "option-prepend", { key: 0 }),
7953
+ }, null, 8, ["class", "name"])) : B(u.$slots, "option-prepend", { key: 0 }),
7951
7954
  Z("p", {
7952
- class: f({
7953
- "r-dropdown-options__option__label": !0,
7955
+ class: f(["r-dropdown-options__option__label", {
7954
7956
  "r-dropdown-options__option__label--active": c(s)
7955
- })
7957
+ }])
7956
7958
  }, y(s.label), 3)
7957
7959
  ]),
7958
- c(s) ? (t(), x(R, {
7960
+ c(s) ? (t(), R(x, {
7959
7961
  key: 0,
7960
- class: f({
7961
- "r-dropdown-options__option__append-icon": !0,
7962
+ class: f(["r-dropdown-options__option__append-icon", {
7962
7963
  "r-dropdown-options__option__append-icon--active": c(s)
7963
- }),
7964
+ }]),
7964
7965
  name: "mdiCheck"
7965
7966
  }, null, 8, ["class"])) : k("", !0)
7966
- ], 10, $2))), 128))
7967
+ ], 10, K2))), 128))
7967
7968
  ], 2)
7968
7969
  ], 512));
7969
7970
  }
7970
- }), j2 = ["id", "for"], G1 = /* @__PURE__ */ F({
7971
+ }), q2 = ["id", "for"], G1 = /* @__PURE__ */ F({
7971
7972
  __name: "RLabel",
7972
7973
  props: {
7973
7974
  id: { default: "" },
@@ -7984,18 +7985,18 @@ const G2 = {
7984
7985
  B(C.$slots, "default", {}, () => [
7985
7986
  _1(y(V.text), 1)
7986
7987
  ])
7987
- ], 8, j2));
7988
+ ], 8, q2));
7988
7989
  }
7989
- }), q2 = ["onClick"], Y2 = ["open"], X2 = { class: "r-dialog__header" }, J2 = {
7990
+ }), Y2 = ["onClick"], X2 = ["open"], J2 = { class: "r-dialog__header" }, C5 = {
7990
7991
  key: 0,
7991
7992
  class: "icon"
7992
- }, C5 = {
7993
+ }, H5 = {
7993
7994
  key: 1,
7994
7995
  class: "title"
7995
- }, H5 = {
7996
+ }, V5 = {
7996
7997
  key: 2,
7997
7998
  class: "description"
7998
- }, V5 = { class: "r-dialog__body" }, L5 = { class: "r-dialog__actions" }, p3 = /* @__PURE__ */ F({
7999
+ }, L5 = { class: "r-dialog__body" }, M5 = { class: "r-dialog__actions" }, h3 = /* @__PURE__ */ F({
7999
8000
  __name: "RModal",
8000
8001
  props: {
8001
8002
  modelValue: { type: Boolean, default: !1 },
@@ -8033,28 +8034,28 @@ const G2 = {
8033
8034
  role: "dialog",
8034
8035
  style: p1(p(M))
8035
8036
  }, [
8036
- Z("div", X2, [
8037
+ Z("div", J2, [
8037
8038
  B(i.$slots, "header"),
8038
- C.icon ? (t(), a("div", J2, [
8039
- q(R, {
8039
+ C.icon ? (t(), a("div", C5, [
8040
+ q(x, {
8040
8041
  name: C.icon
8041
8042
  }, null, 8, ["name"])
8042
8043
  ])) : k("", !0),
8043
- C.title ? (t(), a("div", C5, y(C.title), 1)) : k("", !0),
8044
- C.description ? (t(), a("div", H5, y(C.description), 1)) : k("", !0)
8044
+ C.title ? (t(), a("div", H5, y(C.title), 1)) : k("", !0),
8045
+ C.description ? (t(), a("div", V5, y(C.description), 1)) : k("", !0)
8045
8046
  ]),
8046
- Z("div", V5, [
8047
+ Z("div", L5, [
8047
8048
  B(i.$slots, "default")
8048
8049
  ]),
8049
- Z("div", L5, [
8050
+ Z("div", M5, [
8050
8051
  B(i.$slots, "actions")
8051
8052
  ])
8052
- ], 14, Y2)
8053
- ], 10, q2)), [
8053
+ ], 14, X2)
8054
+ ], 10, Y2)), [
8054
8055
  [i2, H.modelValue]
8055
8056
  ]);
8056
8057
  }
8057
- }), M5 = ["data-open"], A5 = { class: "r-sidebar__nav" }, i5 = { class: "r-sidebar__actions" }, e5 = ["data-open"], d5 = /* @__PURE__ */ _1(" > "), h3 = /* @__PURE__ */ F({
8058
+ }), A5 = ["data-open"], i5 = { class: "r-sidebar__nav" }, e5 = { class: "r-sidebar__actions" }, d5 = ["data-open"], t5 = /* @__PURE__ */ _1(" > "), f3 = /* @__PURE__ */ F({
8058
8059
  __name: "RSidebar",
8059
8060
  props: {
8060
8061
  modelValue: { type: Boolean, default: !1 },
@@ -8062,6 +8063,7 @@ const G2 = {
8062
8063
  class: null,
8063
8064
  triggerClass: null
8064
8065
  },
8066
+ emits: ["update:modelValue"],
8065
8067
  setup(H) {
8066
8068
  const V = H, C = g(() => ({
8067
8069
  "r-sidebar": !0
@@ -8071,13 +8073,13 @@ const G2 = {
8071
8073
  class: f([p(C), V.class]),
8072
8074
  "data-open": V.modelValue
8073
8075
  }, [
8074
- Z("nav", A5, [
8076
+ Z("nav", i5, [
8075
8077
  B(L.$slots, "default")
8076
8078
  ]),
8077
- Z("div", i5, [
8079
+ Z("div", e5, [
8078
8080
  B(L.$slots, "actions")
8079
8081
  ])
8080
- ], 10, M5),
8082
+ ], 10, A5),
8081
8083
  V.showTrigger ? (t(), a("div", {
8082
8084
  key: 0,
8083
8085
  class: f(["r-sidebar__trigger", [V.triggerClass]]),
@@ -8085,15 +8087,15 @@ const G2 = {
8085
8087
  onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8086
8088
  }, [
8087
8089
  B(L.$slots, "trigger", {}, () => [
8088
- d5
8090
+ t5
8089
8091
  ])
8090
- ], 10, e5)) : k("", !0)
8092
+ ], 10, d5)) : k("", !0)
8091
8093
  ], 64));
8092
8094
  }
8093
- }), t5 = { class: "r-snackbar__text" }, m5 = {
8095
+ }), m5 = { class: "r-snackbar__text" }, l5 = {
8094
8096
  key: 0,
8095
8097
  class: "r-snackbar__close"
8096
- }, f3 = /* @__PURE__ */ F({
8098
+ }, g3 = /* @__PURE__ */ F({
8097
8099
  __name: "RSnackbar",
8098
8100
  props: {
8099
8101
  modelValue: { type: Boolean, default: !1 },
@@ -8134,17 +8136,17 @@ const G2 = {
8134
8136
  class: f(p(L))
8135
8137
  }, [
8136
8138
  B(A.$slots, "default", {}, () => [
8137
- C.variant ? (t(), x(R, {
8139
+ C.variant ? (t(), R(x, {
8138
8140
  key: 0,
8139
8141
  class: "r-snackbar__icon",
8140
8142
  name: p(M)
8141
8143
  }, null, 8, ["name"])) : k("", !0)
8142
8144
  ]),
8143
- Z("div", t5, y(C.text), 1),
8145
+ Z("div", m5, y(C.text), 1),
8144
8146
  B(A.$slots, "action"),
8145
- C.closable ? (t(), a("div", m5, [
8147
+ C.closable ? (t(), a("div", l5, [
8146
8148
  B(A.$slots, "close", {}, () => [
8147
- q(R, {
8149
+ q(x, {
8148
8150
  name: "mdiClose",
8149
8151
  size: 16,
8150
8152
  onClick: i[0] || (i[0] = N((e) => A.$emit("update:modelValue", !1), ["stop"]))
@@ -8153,13 +8155,13 @@ const G2 = {
8153
8155
  ])) : k("", !0)
8154
8156
  ], 2));
8155
8157
  }
8156
- }), l5 = { class: "r-switch-container" }, o5 = ["id", "checked"], r5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), n5 = ["id", "for"], a5 = {
8158
+ }), o5 = { class: "r-switch-container" }, n5 = ["id", "checked"], r5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), a5 = ["id", "for"], Z5 = {
8157
8159
  key: 0,
8158
8160
  class: "r-switch-texts__error"
8159
- }, Z5 = {
8161
+ }, u5 = {
8160
8162
  key: 1,
8161
8163
  class: "r-switch-texts__hint"
8162
- }, g3 = /* @__PURE__ */ F({
8164
+ }, k3 = /* @__PURE__ */ F({
8163
8165
  __name: "RSwitch",
8164
8166
  props: {
8165
8167
  id: { default: "switch" },
@@ -8192,7 +8194,7 @@ const G2 = {
8192
8194
  // TODO: find a better way to do this
8193
8195
  immediate: !0
8194
8196
  }
8195
- ), (i, e) => (t(), a("div", l5, [
8197
+ ), (i, e) => (t(), a("div", o5, [
8196
8198
  Z("div", {
8197
8199
  class: f(p(M))
8198
8200
  }, [
@@ -8202,7 +8204,7 @@ const G2 = {
8202
8204
  class: "r-switch__input",
8203
8205
  type: "checkbox",
8204
8206
  onChange: A
8205
- }, null, 40, o5),
8207
+ }, null, 40, n5),
8206
8208
  r5
8207
8209
  ], 2),
8208
8210
  Z("div", {
@@ -8215,17 +8217,17 @@ const G2 = {
8215
8217
  id: C.id,
8216
8218
  class: "r-switch-texts__label",
8217
8219
  for: C.id
8218
- }, y(C.label), 9, n5),
8219
- C.errorMsg ? (t(), a("p", a5, y(C.errorMsg), 1)) : (t(), a("p", Z5, y(C.hint), 1))
8220
+ }, y(C.label), 9, a5),
8221
+ C.errorMsg ? (t(), a("p", Z5, y(C.errorMsg), 1)) : (t(), a("p", u5, y(C.hint), 1))
8220
8222
  ], 2)
8221
8223
  ]));
8222
8224
  }
8223
8225
  });
8224
8226
  var V1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(V1 || {});
8225
- const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8227
+ const S5 = ["aria-disabled", "aria-selected", "disabled"], c5 = {
8226
8228
  key: 0,
8227
8229
  class: "r-tab-item__label"
8228
- }, c5 = /* @__PURE__ */ F({
8230
+ }, s5 = /* @__PURE__ */ F({
8229
8231
  __name: "RTabItem",
8230
8232
  props: {
8231
8233
  id: null,
@@ -8261,19 +8263,19 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8261
8263
  class: f(p(L)),
8262
8264
  disabled: C.disabled,
8263
8265
  style: p1(p(M)),
8264
- onClick: d[0] || (d[0] = N((m) => A(C.id), ["stop"]))
8266
+ onClick: d[0] || (d[0] = N((l) => A(C.id), ["stop"]))
8265
8267
  }, [
8266
8268
  B(e.$slots, "prepend", {}, () => [
8267
- C.variant !== p(V1).TEXT && C.prependIcon ? (t(), x(R, {
8269
+ C.variant !== p(V1).TEXT && C.prependIcon ? (t(), R(x, {
8268
8270
  key: 0,
8269
8271
  class: "r-tab-item__prepend-icon",
8270
8272
  name: C.prependIcon,
8271
8273
  size: 16
8272
8274
  }, null, 8, ["name"])) : k("", !0)
8273
8275
  ]),
8274
- C.variant !== p(V1).ICON ? (t(), a("span", S5, y(C.label), 1)) : k("", !0),
8276
+ C.variant !== p(V1).ICON ? (t(), a("span", c5, y(C.label), 1)) : k("", !0),
8275
8277
  B(e.$slots, "append", {}, () => [
8276
- C.variant !== p(V1).TEXT && C.appendIcon ? (t(), x(R, {
8278
+ C.variant !== p(V1).TEXT && C.appendIcon ? (t(), R(x, {
8277
8279
  key: 0,
8278
8280
  class: "r-tab-item__append-icon",
8279
8281
  name: C.appendIcon,
@@ -8281,9 +8283,9 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8281
8283
  onClick: N(i, ["stop"])
8282
8284
  }, null, 8, ["name", "onClick"])) : k("", !0)
8283
8285
  ])
8284
- ], 14, u5));
8286
+ ], 14, S5));
8285
8287
  }
8286
- }), k3 = /* @__PURE__ */ F({
8288
+ }), B3 = /* @__PURE__ */ F({
8287
8289
  __name: "RTabs",
8288
8290
  props: {
8289
8291
  tabs: { default: () => [] },
@@ -8311,12 +8313,12 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8311
8313
  class: f(p(M))
8312
8314
  }, [
8313
8315
  B(i.$slots, "default", {}, () => [
8314
- (t(!0), a(U, null, Y(C.tabs, (d, m) => (t(), x(c5, {
8316
+ (t(!0), a(U, null, Y(C.tabs, (d, l) => (t(), R(s5, {
8315
8317
  id: d.id,
8316
- key: m,
8318
+ key: l,
8317
8319
  modelValue: L.value,
8318
8320
  "onUpdate:modelValue": e[0] || (e[0] = (o) => L.value = o),
8319
- active: m === L.value,
8321
+ active: l === L.value,
8320
8322
  appendIcon: d.appendIcon,
8321
8323
  block: H.block,
8322
8324
  disabled: d.disabled,
@@ -8329,13 +8331,13 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8329
8331
  ])
8330
8332
  ], 2));
8331
8333
  }
8332
- }), s5 = { class: "container" }, O5 = ["id", "disabled", "placeholder", "value"], p5 = {
8334
+ }), O5 = { class: "container" }, p5 = ["id", "disabled", "placeholder", "value"], h5 = {
8333
8335
  key: 1,
8334
8336
  class: "r-textarea__error"
8335
- }, h5 = {
8337
+ }, f5 = {
8336
8338
  key: 2,
8337
8339
  class: "r-textarea__hint"
8338
- }, B3 = /* @__PURE__ */ F({
8340
+ }, b3 = /* @__PURE__ */ F({
8339
8341
  __name: "RTextArea",
8340
8342
  props: {
8341
8343
  id: { default: "" },
@@ -8362,8 +8364,8 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8362
8364
  {
8363
8365
  immediate: !0
8364
8366
  }
8365
- ), (A, i) => (t(), a("div", s5, [
8366
- C.label ? (t(), x(G1, {
8367
+ ), (A, i) => (t(), a("div", O5, [
8368
+ C.label ? (t(), R(G1, {
8367
8369
  key: 0,
8368
8370
  id: "textarea",
8369
8371
  class: "r-textarea__label",
@@ -8380,21 +8382,17 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8380
8382
  placeholder: C.placeholder,
8381
8383
  value: L.value,
8382
8384
  onInput: M
8383
- }, null, 42, O5),
8384
- C.errorMsg ? (t(), a("p", p5, y(C.errorMsg), 1)) : (t(), a("p", h5, y(C.hint), 1))
8385
+ }, null, 42, p5),
8386
+ C.errorMsg ? (t(), a("p", h5, y(C.errorMsg), 1)) : (t(), a("p", f5, y(C.hint), 1))
8385
8387
  ]));
8386
8388
  }
8387
- }), f5 = {
8388
- class: /* @__PURE__ */ f({
8389
- "r-textfield__wrapper": !0
8390
- })
8391
- }, g5 = { class: "input-wrapper" }, k5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], B5 = {
8389
+ }), g5 = { class: "r-textfield__wrapper" }, k5 = { class: "input-wrapper" }, B5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], b5 = {
8392
8390
  key: 0,
8393
8391
  class: "r-textfield__error"
8394
- }, b5 = {
8392
+ }, y5 = {
8395
8393
  key: 1,
8396
8394
  class: "r-textfield__hint"
8397
- }, b3 = /* @__PURE__ */ F({
8395
+ }, y3 = /* @__PURE__ */ F({
8398
8396
  __name: "RTextfield",
8399
8397
  props: {
8400
8398
  id: { default: "" },
@@ -8430,7 +8428,10 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8430
8428
  url: "mdiLink",
8431
8429
  number: "mdiNumeric",
8432
8430
  text: ""
8433
- }, e = D(!1), d = g(() => !!M.value), m = g(() => {
8431
+ }, e = D(!1), d = g(() => !!M.value), l = g(() => M.value.length > 0), o = g(() => {
8432
+ var h;
8433
+ return (h = C.errorMsg) == null ? void 0 : h.length;
8434
+ }), m = g(() => C.clearable && l.value), r = g(() => {
8434
8435
  const { disabled: h, loading: P, clearable: E, errorMsg: _ } = C;
8435
8436
  return {
8436
8437
  "r-textfield": !0,
@@ -8441,32 +8442,33 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8441
8442
  "r-textfield--focus": e.value,
8442
8443
  "r-textfield--filled": d.value
8443
8444
  };
8444
- }), o = g(() => ({
8445
+ }), n = g(() => ({
8445
8446
  "r-textfield__prepend-icon": !0,
8446
8447
  "r-textfield__prepend-icon--loading": C.loading,
8447
- "r-textfield__prepend-icon--error": r.value && d.value
8448
- })), l = g(() => ({
8448
+ "r-textfield__prepend-icon--error": o.value && d.value
8449
+ })), S = g(() => ({
8449
8450
  "r-textfield__append-icon": !0,
8450
- "r-textfield__append-icon--clear": u.value,
8451
- "r-textfield__append-icon--error": r.value
8452
- })), n = g(() => M.value.length > 0), r = g(() => {
8453
- var h;
8454
- return (h = C.errorMsg) == null ? void 0 : h.length;
8455
- }), u = g(() => C.clearable && n.value), b = g(() => {
8451
+ "r-textfield__append-icon--clear": m.value,
8452
+ "r-textfield__append-icon--error": o.value
8453
+ })), b = g(() => {
8456
8454
  const { prependIcon: h, type: P } = C;
8457
8455
  return h === "none" ? "" : h || i[P];
8458
8456
  }), c = g(() => {
8459
8457
  const { appendIcon: h, type: P } = C;
8460
- return h === "none" ? "" : r.value ? "mdiAlertCircleOutline" : u.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && A.value === "password" ? "mdiEyeOutline" : P === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
8461
- }), w = (h) => {
8458
+ return h === "none" ? "" : o.value ? "mdiAlertCircleOutline" : m.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && A.value === "password" ? "mdiEyeOutline" : P === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
8459
+ });
8460
+ function w(h) {
8462
8461
  e.value = !0, V("focus", h);
8463
- }, T = (h) => {
8462
+ }
8463
+ function T(h) {
8464
8464
  e.value = !1, V("blur", h);
8465
- }, S = (h) => {
8465
+ }
8466
+ function u(h) {
8466
8467
  M.value = h.target.value, V("input", h);
8467
- }, O = () => {
8468
+ }
8469
+ function O() {
8468
8470
  var h;
8469
- if (u.value) {
8471
+ if (m.value) {
8470
8472
  M.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8471
8473
  value: A.value === "number" ? +M.value : M.value
8472
8474
  });
@@ -8475,12 +8477,14 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8475
8477
  V("click:icon", {
8476
8478
  value: A.value === "number" ? +M.value : M.value
8477
8479
  }), A.value === "password" && s();
8478
- }, s = () => {
8480
+ }
8481
+ function s() {
8479
8482
  A.value = A.value === "password" ? "text" : "password";
8480
- }, v = () => {
8483
+ }
8484
+ function v() {
8481
8485
  var h;
8482
8486
  (h = L.value) == null || h.focus();
8483
- };
8487
+ }
8484
8488
  return W(
8485
8489
  () => C.modelValue,
8486
8490
  (h) => {
@@ -8498,25 +8502,23 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8498
8502
  );
8499
8503
  }
8500
8504
  ), (h, P) => (t(), a("fieldset", null, [
8501
- Z("div", f5, [
8502
- C.label ? (t(), x(G1, {
8505
+ Z("div", g5, [
8506
+ C.label ? (t(), R(G1, {
8503
8507
  key: 0,
8504
8508
  id: C.id,
8505
- class: f({
8506
- "r-textfield__label": !0
8507
- }),
8509
+ class: "r-textfield__label",
8508
8510
  for: C.id,
8509
8511
  text: C.label,
8510
8512
  onClick: v
8511
8513
  }, null, 8, ["id", "for", "text"])) : k("", !0),
8512
- Z("div", g5, [
8514
+ Z("div", k5, [
8513
8515
  Z("div", {
8514
- class: f(p(m))
8516
+ class: f(p(r))
8515
8517
  }, [
8516
8518
  B(h.$slots, "prepend"),
8517
- p(b) && !h.$slots.prepend ? (t(), x(R, {
8519
+ p(b) && !h.$slots.prepend ? (t(), R(x, {
8518
8520
  key: 0,
8519
- class: f(p(o)),
8521
+ class: f(p(n)),
8520
8522
  name: p(b),
8521
8523
  size: 20
8522
8524
  }, null, 8, ["class", "name"])) : k("", !0),
@@ -8532,19 +8534,19 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8532
8534
  value: M.value,
8533
8535
  onBlur: T,
8534
8536
  onFocus: w,
8535
- onInput: S
8536
- }, null, 40, k5),
8537
+ onInput: u
8538
+ }, null, 40, B5),
8537
8539
  B(h.$slots, "append"),
8538
- p(c) && !h.$slots.append ? (t(), x(R, {
8540
+ p(c) && !h.$slots.append ? (t(), R(x, {
8539
8541
  key: 1,
8540
- class: f(p(l)),
8542
+ class: f(p(S)),
8541
8543
  name: `${p(c)}`,
8542
8544
  size: 20,
8543
8545
  onClick: O
8544
8546
  }, null, 8, ["class", "name"])) : k("", !0)
8545
8547
  ], 2),
8546
- C.errorMsg ? (t(), a("div", B5, y(C.errorMsg), 1)) : k("", !0),
8547
- !C.errorMsg && C.hint ? (t(), a("div", b5, y(C.hint), 1)) : k("", !0)
8548
+ C.errorMsg ? (t(), a("div", b5, y(C.errorMsg), 1)) : k("", !0),
8549
+ !C.errorMsg && C.hint ? (t(), a("div", y5, y(C.hint), 1)) : k("", !0)
8548
8550
  ])
8549
8551
  ])
8550
8552
  ]));
@@ -8564,41 +8566,41 @@ function h1(H) {
8564
8566
  }
8565
8567
  function y1(H, V, C) {
8566
8568
  let { reference: L, floating: M } = H;
8567
- const A = L.x + L.width / 2 - M.width / 2, i = L.y + L.height / 2 - M.height / 2, e = i1(V), d = h1(e), m = L[d] / 2 - M[d] / 2, o = e === "x";
8568
- let l;
8569
+ const A = L.x + L.width / 2 - M.width / 2, i = L.y + L.height / 2 - M.height / 2, e = i1(V), d = h1(e), l = L[d] / 2 - M[d] / 2, o = e === "x";
8570
+ let m;
8569
8571
  switch (A1(V)) {
8570
8572
  case "top":
8571
- l = { x: A, y: L.y - M.height };
8573
+ m = { x: A, y: L.y - M.height };
8572
8574
  break;
8573
8575
  case "bottom":
8574
- l = { x: A, y: L.y + L.height };
8576
+ m = { x: A, y: L.y + L.height };
8575
8577
  break;
8576
8578
  case "right":
8577
- l = { x: L.x + L.width, y: i };
8579
+ m = { x: L.x + L.width, y: i };
8578
8580
  break;
8579
8581
  case "left":
8580
- l = { x: L.x - M.width, y: i };
8582
+ m = { x: L.x - M.width, y: i };
8581
8583
  break;
8582
8584
  default:
8583
- l = { x: L.x, y: L.y };
8585
+ m = { x: L.x, y: L.y };
8584
8586
  }
8585
8587
  switch (o1(V)) {
8586
8588
  case "start":
8587
- l[e] -= m * (C && o ? -1 : 1);
8589
+ m[e] -= l * (C && o ? -1 : 1);
8588
8590
  break;
8589
8591
  case "end":
8590
- l[e] += m * (C && o ? -1 : 1);
8592
+ m[e] += l * (C && o ? -1 : 1);
8591
8593
  }
8592
- return l;
8594
+ return m;
8593
8595
  }
8594
- const y5 = async (H, V, C) => {
8596
+ const w5 = async (H, V, C) => {
8595
8597
  const { placement: L = "bottom", strategy: M = "absolute", middleware: A = [], platform: i } = C, e = A.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8596
- let m = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: l } = y1(m, L, d), n = L, r = {}, u = 0;
8598
+ let l = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: m } = y1(l, L, d), r = L, n = {}, S = 0;
8597
8599
  for (let b = 0; b < e.length; b++) {
8598
- const { name: c, fn: w } = e[b], { x: T, y: S, data: O, reset: s } = await w({ x: o, y: l, initialPlacement: L, placement: n, strategy: M, middlewareData: r, rects: m, platform: i, elements: { reference: H, floating: V } });
8599
- o = T ?? o, l = S ?? l, r = { ...r, [c]: { ...r[c], ...O } }, s && u <= 50 && (u++, typeof s == "object" && (s.placement && (n = s.placement), s.rects && (m = s.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : s.rects), { x: o, y: l } = y1(m, n, d)), b = -1);
8600
+ const { name: c, fn: w } = e[b], { x: T, y: u, data: O, reset: s } = await w({ x: o, y: m, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: l, platform: i, elements: { reference: H, floating: V } });
8601
+ o = T ?? o, m = u ?? m, n = { ...n, [c]: { ...n[c], ...O } }, s && S <= 50 && (S++, typeof s == "object" && (s.placement && (r = s.placement), s.rects && (l = s.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : s.rects), { x: o, y: m } = y1(l, r, d)), b = -1);
8600
8602
  }
8601
- return { x: o, y: l, placement: n, strategy: M, middlewareData: r };
8603
+ return { x: o, y: m, placement: r, strategy: M, middlewareData: n };
8602
8604
  };
8603
8605
  function z1(H) {
8604
8606
  return typeof H != "number" ? function(V) {
@@ -8611,57 +8613,57 @@ function d1(H) {
8611
8613
  async function t1(H, V) {
8612
8614
  var C;
8613
8615
  V === void 0 && (V = {});
8614
- const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: n = !1, padding: r = 0 } = V, u = z1(r), b = e[n ? l === "floating" ? "reference" : "floating" : l], c = d1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(b))) == null || C ? b : b.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8615
- return { top: c.top - w.top + u.top, bottom: w.bottom - c.bottom + u.bottom, left: c.left - w.left + u.left, right: w.right - c.right + u.right };
8616
+ const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: o = "viewport", elementContext: m = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = z1(n), b = e[r ? m === "floating" ? "reference" : "floating" : m], c = d1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(b))) == null || C ? b : b.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: l, rootBoundary: o, strategy: d })), w = d1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: m === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[m]);
8617
+ return { top: c.top - w.top + S.top, bottom: w.bottom - c.bottom + S.bottom, left: c.left - w.left + S.left, right: w.right - c.right + S.right };
8616
8618
  }
8617
- const w5 = Math.min, P5 = Math.max;
8619
+ const P5 = Math.min, T5 = Math.max;
8618
8620
  function s1(H, V, C) {
8619
- return P5(H, w5(V, C));
8621
+ return T5(H, P5(V, C));
8620
8622
  }
8621
- const T5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8623
+ const v5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8622
8624
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
8623
8625
  if (C == null)
8624
8626
  return {};
8625
- const m = z1(L), o = { x: M, y: A }, l = i1(i), n = o1(i), r = h1(l), u = await d.getDimensions(C), b = l === "y" ? "top" : "left", c = l === "y" ? "bottom" : "right", w = e.reference[r] + e.reference[l] - o[l] - e.floating[r], T = o[l] - e.reference[l], S = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8626
- let O = S ? l === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0;
8627
- O === 0 && (O = e.floating[r]);
8628
- const s = w / 2 - T / 2, v = m[b], h = O - u[r] - m[c], P = O / 2 - u[r] / 2 + s, E = s1(v, P, h), _ = (n === "start" ? m[b] : m[c]) > 0 && P !== E && e.reference[r] <= e.floating[r];
8629
- return { [l]: o[l] - (_ ? P < v ? v - P : h - P : 0), data: { [l]: E, centerOffset: P - E } };
8630
- } }), v5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8627
+ const l = z1(L), o = { x: M, y: A }, m = i1(i), r = o1(i), n = h1(m), S = await d.getDimensions(C), b = m === "y" ? "top" : "left", c = m === "y" ? "bottom" : "right", w = e.reference[n] + e.reference[m] - o[m] - e.floating[n], T = o[m] - e.reference[m], u = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8628
+ let O = u ? m === "y" ? u.clientHeight || 0 : u.clientWidth || 0 : 0;
8629
+ O === 0 && (O = e.floating[n]);
8630
+ const s = w / 2 - T / 2, v = l[b], h = O - S[n] - l[c], P = O / 2 - S[n] / 2 + s, E = s1(v, P, h), _ = (r === "start" ? l[b] : l[c]) > 0 && P !== E && e.reference[n] <= e.floating[n];
8631
+ return { [m]: o[m] - (_ ? P < v ? v - P : h - P : 0), data: { [m]: E, centerOffset: P - E } };
8632
+ } }), F5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8631
8633
  function m1(H) {
8632
- return H.replace(/left|right|bottom|top/g, (V) => v5[V]);
8634
+ return H.replace(/left|right|bottom|top/g, (V) => F5[V]);
8633
8635
  }
8634
- function F5(H, V, C) {
8636
+ function R5(H, V, C) {
8635
8637
  C === void 0 && (C = !1);
8636
8638
  const L = o1(H), M = i1(H), A = h1(M);
8637
8639
  let i = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8638
8640
  return V.reference[A] > V.floating[A] && (i = m1(i)), { main: i, cross: m1(i) };
8639
8641
  }
8640
- const R5 = { start: "end", end: "start" };
8642
+ const x5 = { start: "end", end: "start" };
8641
8643
  function w1(H) {
8642
- return H.replace(/start|end/g, (V) => R5[V]);
8644
+ return H.replace(/start|end/g, (V) => x5[V]);
8643
8645
  }
8644
8646
  const U1 = ["top", "right", "bottom", "left"];
8645
8647
  U1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8646
- const x5 = function(H) {
8648
+ const D5 = function(H) {
8647
8649
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8648
8650
  var C;
8649
- const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: n = "bestFit", flipAlignment: r = !0, ...u } = H, b = A1(L), c = l || (b === i || !r ? [m1(i)] : function(P) {
8651
+ const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: o = !0, fallbackPlacements: m, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, b = A1(L), c = m || (b === i || !n ? [m1(i)] : function(P) {
8650
8652
  const E = m1(P);
8651
8653
  return [w1(P), E, w1(E)];
8652
- }(i)), w = [i, ...c], T = await t1(V, u), S = [];
8654
+ }(i)), w = [i, ...c], T = await t1(V, S), u = [];
8653
8655
  let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8654
- if (m && S.push(T[b]), o) {
8655
- const { main: P, cross: E } = F5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8656
- S.push(T[P], T[E]);
8656
+ if (l && u.push(T[b]), o) {
8657
+ const { main: P, cross: E } = R5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8658
+ u.push(T[P], T[E]);
8657
8659
  }
8658
- if (O = [...O, { placement: L, overflows: S }], !S.every((P) => P <= 0)) {
8660
+ if (O = [...O, { placement: L, overflows: u }], !u.every((P) => P <= 0)) {
8659
8661
  var s, v;
8660
8662
  const P = ((s = (v = M.flip) == null ? void 0 : v.index) != null ? s : 0) + 1, E = w[P];
8661
8663
  if (E)
8662
8664
  return { data: { index: P, overflows: O }, reset: { placement: E } };
8663
8665
  let _ = "bottom";
8664
- switch (n) {
8666
+ switch (r) {
8665
8667
  case "bestFit": {
8666
8668
  var h;
8667
8669
  const g1 = (h = O.map((e1) => [e1, e1.overflows.filter((C1) => C1 > 0).reduce((C1, C2) => C1 + C2, 0)]).sort((e1, C1) => e1[1] - C1[1])[0]) == null ? void 0 : h[0].placement;
@@ -8683,7 +8685,7 @@ function P1(H, V) {
8683
8685
  function T1(H) {
8684
8686
  return U1.some((V) => H[V] >= 0);
8685
8687
  }
8686
- const D5 = function(H) {
8688
+ const E5 = function(H) {
8687
8689
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8688
8690
  return { name: "hide", async fn(L) {
8689
8691
  const { rects: M } = L;
@@ -8700,35 +8702,35 @@ const D5 = function(H) {
8700
8702
  return {};
8701
8703
  }
8702
8704
  } };
8703
- }, E5 = function(H) {
8705
+ }, _5 = function(H) {
8704
8706
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8705
8707
  const { x: C, y: L } = V, M = await async function(A, i) {
8706
- const { placement: e, platform: d, elements: m } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = A1(e), n = o1(e), r = i1(e) === "x", u = ["left", "top"].includes(l) ? -1 : 1, b = o && r ? -1 : 1, c = typeof i == "function" ? i(A) : i;
8707
- let { mainAxis: w, crossAxis: T, alignmentAxis: S } = typeof c == "number" ? { mainAxis: c, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...c };
8708
- return n && typeof S == "number" && (T = n === "end" ? -1 * S : S), r ? { x: T * b, y: w * u } : { x: w * u, y: T * b };
8708
+ const { placement: e, platform: d, elements: l } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), m = A1(e), r = o1(e), n = i1(e) === "x", S = ["left", "top"].includes(m) ? -1 : 1, b = o && n ? -1 : 1, c = typeof i == "function" ? i(A) : i;
8709
+ let { mainAxis: w, crossAxis: T, alignmentAxis: u } = typeof c == "number" ? { mainAxis: c, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...c };
8710
+ return r && typeof u == "number" && (T = r === "end" ? -1 * u : u), n ? { x: T * b, y: w * S } : { x: w * S, y: T * b };
8709
8711
  }(V, H);
8710
8712
  return { x: C + M.x, y: L + M.y, data: M };
8711
8713
  } };
8712
8714
  };
8713
- function _5(H) {
8715
+ function W5(H) {
8714
8716
  return H === "x" ? "y" : "x";
8715
8717
  }
8716
- const W5 = function(H) {
8718
+ const N5 = function(H) {
8717
8719
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8718
8720
  const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (c) => {
8719
8721
  let { x: w, y: T } = c;
8720
8722
  return { x: w, y: T };
8721
- } }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(M)), n = _5(l);
8722
- let r = m[l], u = m[n];
8723
+ } }, ...d } = H, l = { x: C, y: L }, o = await t1(V, d), m = i1(A1(M)), r = W5(m);
8724
+ let n = l[m], S = l[r];
8723
8725
  if (A) {
8724
- const c = l === "y" ? "bottom" : "right";
8725
- r = s1(r + o[l === "y" ? "top" : "left"], r, r - o[c]);
8726
+ const c = m === "y" ? "bottom" : "right";
8727
+ n = s1(n + o[m === "y" ? "top" : "left"], n, n - o[c]);
8726
8728
  }
8727
8729
  if (i) {
8728
- const c = n === "y" ? "bottom" : "right";
8729
- u = s1(u + o[n === "y" ? "top" : "left"], u, u - o[c]);
8730
+ const c = r === "y" ? "bottom" : "right";
8731
+ S = s1(S + o[r === "y" ? "top" : "left"], S, S - o[c]);
8730
8732
  }
8731
- const b = e.fn({ ...V, [l]: r, [n]: u });
8733
+ const b = e.fn({ ...V, [m]: n, [r]: S });
8732
8734
  return { ...b, data: { x: b.x - C, y: b.y - L } };
8733
8735
  } };
8734
8736
  };
@@ -8763,11 +8765,11 @@ function X(H) {
8763
8765
  function v1(H) {
8764
8766
  return typeof ShadowRoot > "u" ? !1 : H instanceof G(H).ShadowRoot || H instanceof ShadowRoot;
8765
8767
  }
8766
- function r1(H) {
8768
+ function n1(H) {
8767
8769
  const { overflow: V, overflowX: C, overflowY: L, display: M } = I(H);
8768
8770
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8769
8771
  }
8770
- function N5(H) {
8772
+ function I5(H) {
8771
8773
  return ["table", "td", "th"].includes(K(H));
8772
8774
  }
8773
8775
  function O1(H) {
@@ -8788,30 +8790,30 @@ function j(H, V, C) {
8788
8790
  var L, M, A, i;
8789
8791
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8790
8792
  const e = H.getBoundingClientRect();
8791
- let d = 1, m = 1;
8792
- V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
8793
- const o = X(H) ? G(H) : window, l = !j1() && C, n = (e.left + (l && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, r = (e.top + (l && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / m, u = e.width / d, b = e.height / m;
8794
- return { width: u, height: b, top: r, right: n + u, bottom: r + b, left: n, x: n, y: r };
8793
+ let d = 1, l = 1;
8794
+ V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
8795
+ const o = X(H) ? G(H) : window, m = !j1() && C, r = (e.left + (m && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (m && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, S = e.width / d, b = e.height / l;
8796
+ return { width: S, height: b, top: n, right: r + S, bottom: n + b, left: r, x: r, y: n };
8795
8797
  }
8796
8798
  function $(H) {
8797
8799
  return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8798
8800
  var V;
8799
8801
  }
8800
- function n1(H) {
8802
+ function r1(H) {
8801
8803
  return X(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8802
8804
  }
8803
8805
  function q1(H) {
8804
- return j($(H)).left + n1(H).scrollLeft;
8806
+ return j($(H)).left + r1(H).scrollLeft;
8805
8807
  }
8806
- function I5(H, V, C) {
8808
+ function Q5(H, V, C) {
8807
8809
  const L = Q(V), M = $(V), A = j(H, L && function(d) {
8808
- const m = j(d);
8809
- return l1(m.width) !== d.offsetWidth || l1(m.height) !== d.offsetHeight;
8810
+ const l = j(d);
8811
+ return l1(l.width) !== d.offsetWidth || l1(l.height) !== d.offsetHeight;
8810
8812
  }(V), C === "fixed");
8811
8813
  let i = { scrollLeft: 0, scrollTop: 0 };
8812
8814
  const e = { x: 0, y: 0 };
8813
8815
  if (L || !L && C !== "fixed")
8814
- if ((K(V) !== "body" || r1(M)) && (i = n1(V)), Q(V)) {
8816
+ if ((K(V) !== "body" || n1(M)) && (i = r1(V)), Q(V)) {
8815
8817
  const d = j(V, !0);
8816
8818
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8817
8819
  } else
@@ -8830,7 +8832,7 @@ function R1(H) {
8830
8832
  function x1(H) {
8831
8833
  const V = G(H);
8832
8834
  let C = R1(H);
8833
- for (; C && N5(C) && I(C).position === "static"; )
8835
+ for (; C && I5(C) && I(C).position === "static"; )
8834
8836
  C = R1(C);
8835
8837
  return C && (K(C) === "html" || K(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8836
8838
  let M = M1(L);
@@ -8844,49 +8846,49 @@ function x1(H) {
8844
8846
  }
8845
8847
  function Y1(H) {
8846
8848
  const V = M1(H);
8847
- return f1(V) ? H.ownerDocument.body : Q(V) && r1(V) ? V : Y1(V);
8849
+ return f1(V) ? H.ownerDocument.body : Q(V) && n1(V) ? V : Y1(V);
8848
8850
  }
8849
8851
  function X1(H, V) {
8850
8852
  var C;
8851
8853
  V === void 0 && (V = []);
8852
- const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], r1(L) ? L : []) : L, e = V.concat(i);
8854
+ const L = Y1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], n1(L) ? L : []) : L, e = V.concat(i);
8853
8855
  return M ? e : e.concat(X1(i));
8854
8856
  }
8855
8857
  function D1(H, V, C) {
8856
8858
  return V === "viewport" ? d1(function(L, M) {
8857
8859
  const A = G(L), i = $(L), e = A.visualViewport;
8858
- let d = i.clientWidth, m = i.clientHeight, o = 0, l = 0;
8860
+ let d = i.clientWidth, l = i.clientHeight, o = 0, m = 0;
8859
8861
  if (e) {
8860
- d = e.width, m = e.height;
8861
- const n = j1();
8862
- (n || !n && M === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8862
+ d = e.width, l = e.height;
8863
+ const r = j1();
8864
+ (r || !r && M === "fixed") && (o = e.offsetLeft, m = e.offsetTop);
8863
8865
  }
8864
- return { width: d, height: m, x: o, y: l };
8866
+ return { width: d, height: l, x: o, y: m };
8865
8867
  }(H, C)) : X(V) ? function(L, M) {
8866
8868
  const A = j(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8867
8869
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8868
8870
  }(V, C) : d1(function(L) {
8869
8871
  var M;
8870
- const A = $(L), i = n1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = L1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = L1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8872
+ const A = $(L), i = r1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = L1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = L1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8871
8873
  let o = -i.scrollLeft + q1(L);
8872
- const l = -i.scrollTop;
8873
- return I(e || A).direction === "rtl" && (o += L1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8874
+ const m = -i.scrollTop;
8875
+ return I(e || A).direction === "rtl" && (o += L1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: o, y: m };
8874
8876
  }($(H)));
8875
8877
  }
8876
- const Q5 = { getClippingRect: function(H) {
8878
+ const G5 = { getClippingRect: function(H) {
8877
8879
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8878
- const A = C === "clippingAncestors" ? function(m) {
8879
- let o = X1(m).filter((u) => X(u) && K(u) !== "body"), l = null;
8880
- const n = I(m).position === "fixed";
8881
- let r = n ? M1(m) : m;
8882
- for (; X(r) && !f1(r); ) {
8883
- const u = I(r), b = O1(r);
8884
- (n ? b || l : b || u.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = u : o = o.filter((c) => c !== r), r = M1(r);
8880
+ const A = C === "clippingAncestors" ? function(l) {
8881
+ let o = X1(l).filter((S) => X(S) && K(S) !== "body"), m = null;
8882
+ const r = I(l).position === "fixed";
8883
+ let n = r ? M1(l) : l;
8884
+ for (; X(n) && !f1(n); ) {
8885
+ const S = I(n), b = O1(n);
8886
+ (r ? b || m : b || S.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = S : o = o.filter((c) => c !== n), n = M1(n);
8885
8887
  }
8886
8888
  return o;
8887
- }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((m, o) => {
8888
- const l = D1(V, o, M);
8889
- return m.top = L1(l.top, m.top), m.right = F1(l.right, m.right), m.bottom = F1(l.bottom, m.bottom), m.left = L1(l.left, m.left), m;
8889
+ }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((l, o) => {
8890
+ const m = D1(V, o, M);
8891
+ return l.top = L1(m.top, l.top), l.right = F1(m.right, l.right), l.bottom = F1(m.bottom, l.bottom), l.left = L1(m.left, l.left), l;
8890
8892
  }, D1(V, e, M));
8891
8893
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8892
8894
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
@@ -8896,7 +8898,7 @@ const Q5 = { getClippingRect: function(H) {
8896
8898
  return V;
8897
8899
  let i = { scrollLeft: 0, scrollTop: 0 };
8898
8900
  const e = { x: 0, y: 0 };
8899
- if ((M || !M && L !== "fixed") && ((K(C) !== "body" || r1(A)) && (i = n1(C)), Q(C))) {
8901
+ if ((M || !M && L !== "fixed") && ((K(C) !== "body" || n1(A)) && (i = r1(C)), Q(C))) {
8900
8902
  const d = j(C, !0);
8901
8903
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8902
8904
  }
@@ -8909,24 +8911,25 @@ const Q5 = { getClippingRect: function(H) {
8909
8911
  }, getOffsetParent: x1, getDocumentElement: $, async getElementRects(H) {
8910
8912
  let { reference: V, floating: C, strategy: L } = H;
8911
8913
  const M = this.getOffsetParent || x1, A = this.getDimensions;
8912
- return { reference: I5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
8913
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, G5 = (H, V, C) => y5(H, V, { platform: Q5, ...C });
8914
+ return { reference: Q5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
8915
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, z5 = (H, V, C) => w5(H, V, { platform: G5, ...C });
8916
+ var J1 = /* @__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))(J1 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8914
8917
  function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
8915
- !H || !V || G5(H, V, {
8918
+ !H || !V || z5(H, V, {
8916
8919
  placement: L,
8917
8920
  middleware: [
8918
- E5(M),
8919
- W5({ padding: A }),
8920
- T5({ element: C }),
8921
- x5(),
8922
- D5()
8921
+ _5(M),
8922
+ N5({ padding: A }),
8923
+ v5({ element: C }),
8924
+ D5(),
8925
+ E5()
8923
8926
  ]
8924
- }).then(({ x: i, y: e, placement: d, middlewareData: m }) => {
8927
+ }).then(({ x: i, y: e, placement: d, middlewareData: l }) => {
8925
8928
  if (Object.assign(V.style, {
8926
8929
  left: `${i}px`,
8927
8930
  top: `${e}px`
8928
- }), C && m.arrow) {
8929
- const { x: o, y: l } = m.arrow, n = {
8931
+ }), C && l.arrow) {
8932
+ const { x: o, y: m } = l.arrow, r = {
8930
8933
  top: "bottom",
8931
8934
  right: "left",
8932
8935
  bottom: "top",
@@ -8935,16 +8938,15 @@ function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
8935
8938
  }[d.split("-")[0]];
8936
8939
  Object.assign(C.style, {
8937
8940
  left: i != null ? `${o}px` : "",
8938
- top: e != null ? `${l}px` : "",
8941
+ top: e != null ? `${m}px` : "",
8939
8942
  right: "",
8940
8943
  bottom: "",
8941
- [`${n}`]: "-4px"
8944
+ [`${r}`]: "-4px"
8942
8945
  });
8943
8946
  }
8944
8947
  });
8945
8948
  }
8946
- var J1 = /* @__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))(J1 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8947
- const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], U5 = ["innerHTML"], $5 = /* @__PURE__ */ F({
8949
+ const U5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], $5 = ["innerHTML"], K5 = /* @__PURE__ */ F({
8948
8950
  __name: "RTooltip",
8949
8951
  props: {
8950
8952
  placement: { default: J1.Top },
@@ -8969,45 +8971,46 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8969
8971
  setup(H, { emit: V }) {
8970
8972
  const C = H;
8971
8973
  e2((c) => ({
8972
- "53f36794": p(b)
8974
+ "431d69cd": p(b)
8973
8975
  }));
8974
8976
  const L = D(null), M = D(null), A = D(null);
8975
8977
  function i() {
8976
- const { placement: c, offset: w, padding: T, disabled: S } = C;
8977
- S || (M.value.style.display = "block", V("show"), S1(L, M, A, c, w, T), d(), C.outsideClick && m("add"));
8978
+ const { placement: c, offset: w, padding: T, disabled: u } = C;
8979
+ u || (M.value.style.display = "block", V("show"), S1(L, M, A, c, w, T), d(), C.outsideClick && l("add"));
8978
8980
  }
8979
8981
  function e() {
8980
- M.value.style.display = "", V("hide"), C.outsideClick && m("remove");
8982
+ M.value.style.display = "", V("hide"), C.outsideClick && l("remove");
8981
8983
  }
8982
- const d = () => {
8984
+ function d() {
8983
8985
  C.autoHide && setTimeout(() => {
8984
8986
  e();
8985
8987
  }, C.hideDelay);
8986
- }, m = (c) => {
8988
+ }
8989
+ function l(c) {
8987
8990
  c === "add" && document.addEventListener("click", e), c === "remove" && document.removeEventListener("click", e);
8988
- }, o = () => {
8989
- C.disabled || C.triggers == z.Click && (M.value.style.display === "block" ? e() : i());
8990
- }, l = () => {
8991
+ }
8992
+ function o() {
8993
+ C.disabled || C.triggers === z.Click && (M.value.style.display === "block" ? e() : i());
8994
+ }
8995
+ function m() {
8991
8996
  C.disabled || C.triggers === z.Hover && i();
8992
- }, n = () => {
8993
- if (!C.disabled)
8994
- if (M.value.style.display === "" && C.triggers === z.Hover) {
8995
- i();
8996
- return;
8997
- } else
8998
- M.value.style.display !== "" && C.triggers === z.Hover && e();
8999
- }, r = () => {
9000
- const { placement: c, offset: w, padding: T, disabled: S } = C;
9001
- S || C.triggers === z.Hover && S1(L, M, A, c, w, T);
9002
- }, u = g(() => ({
8997
+ }
8998
+ function r() {
8999
+ C.disabled || (M.value.style.display === "" && C.triggers === z.Hover ? i() : M.value.style.display !== "" && C.triggers === z.Hover && e());
9000
+ }
9001
+ function n() {
9002
+ const { placement: c, offset: w, padding: T, disabled: u } = C;
9003
+ u || C.triggers === z.Hover && S1(L, M, A, c, w, T);
9004
+ }
9005
+ const S = g(() => ({
9003
9006
  tooltip: !0,
9004
9007
  "tooltip--dark": C.dark,
9005
9008
  "tooltip--light": C.light,
9006
9009
  [`${C.tooltipClass}`]: !0
9007
9010
  }));
9008
9011
  window.onresize = () => {
9009
- const { placement: c, offset: w, padding: T, disabled: S } = C;
9010
- S || C.resizable && S1(L, M, A, c, w, T);
9012
+ const { placement: c, offset: w, padding: T, disabled: u } = C;
9013
+ u || C.resizable && S1(L, M, A, c, w, T);
9011
9014
  }, d2(
9012
9015
  () => {
9013
9016
  C.disabled || C.shown && C.triggers === z.Manual && i();
@@ -9023,56 +9026,56 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9023
9026
  "aria-disabled": C.disabled,
9024
9027
  class: f(["trigger", [H.triggerClass]]),
9025
9028
  onClick: N(o, ["stop"]),
9026
- onMouseenter: N(l, ["stop"]),
9027
- onMouseleave: N(n, ["stop"]),
9028
- onMousemove: N(r, ["stop"])
9029
+ onMouseenter: N(m, ["stop"]),
9030
+ onMouseleave: N(r, ["stop"]),
9031
+ onMousemove: N(n, ["stop"])
9029
9032
  }, [
9030
9033
  B(c.$slots, "trigger", {}, void 0, !0),
9031
9034
  c.$slots.trigger ? k("", !0) : (t(), a("div", {
9032
9035
  key: 0,
9033
9036
  innerHTML: C.triggerContent
9034
- }, null, 8, U5))
9035
- ], 42, z5),
9036
- Z("div", {
9037
- id: "tooltip",
9038
- ref_key: "tooltip",
9039
- ref: M,
9040
- class: f(p(u)),
9041
- role: "tooltip"
9042
- }, [
9043
- B(c.$slots, "content", {}, void 0, !0),
9044
- c.$slots.content ? k("", !0) : (t(), a("div", {
9045
- key: 0,
9046
- class: f({
9047
- tooltip__content: !0,
9048
- "tooltip__content--dark": C.dark,
9049
- "tooltip__content--light": C.light
9050
- })
9051
- }, y(C.text), 3)),
9052
- c.$slots.content ? k("", !0) : (t(), a("div", {
9053
- key: 1,
9054
- id: "arrow",
9055
- ref_key: "arrowElement",
9056
- ref: A,
9057
- class: f({
9058
- tooltip__arrow: !0,
9059
- "tooltip__arrow--dark": C.dark,
9060
- "tooltip__arrow--light": C.light
9061
- })
9062
- }, null, 2))
9063
- ], 2)
9037
+ }, null, 8, $5))
9038
+ ], 42, U5),
9039
+ (t(), R(t2, { to: "body" }, [
9040
+ Z("div", {
9041
+ id: "tooltip",
9042
+ ref_key: "tooltip",
9043
+ ref: M,
9044
+ class: f(p(S)),
9045
+ role: "tooltip"
9046
+ }, [
9047
+ B(c.$slots, "content", {}, void 0, !0),
9048
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9049
+ key: 0,
9050
+ class: f(["tooltip__content", {
9051
+ "tooltip__content--dark": C.dark,
9052
+ "tooltip__content--light": C.light
9053
+ }])
9054
+ }, y(C.text), 3)),
9055
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9056
+ key: 1,
9057
+ id: "arrow",
9058
+ ref_key: "arrowElement",
9059
+ ref: A,
9060
+ class: f(["tooltip__arrow", {
9061
+ "tooltip__arrow--dark": C.dark,
9062
+ "tooltip__arrow--light": C.light
9063
+ }])
9064
+ }, null, 2))
9065
+ ], 2)
9066
+ ]))
9064
9067
  ], 64));
9065
9068
  }
9066
9069
  });
9067
- const K5 = (H, V) => {
9070
+ const j5 = (H, V) => {
9068
9071
  const C = H.__vccOpts || H;
9069
9072
  for (const [L, M] of V)
9070
9073
  C[L] = M;
9071
9074
  return C;
9072
- }, y3 = /* @__PURE__ */ K5($5, [["__scopeId", "data-v-2d157043"]]), j5 = { class: "r-breadcrumb" }, q5 = {
9075
+ }, w3 = /* @__PURE__ */ j5(K5, [["__scopeId", "data-v-cdfc280a"]]), q5 = { class: "r-breadcrumb" }, Y5 = {
9073
9076
  key: 0,
9074
9077
  class: "r-breadcrumb__title"
9075
- }, w3 = /* @__PURE__ */ F({
9078
+ }, P3 = /* @__PURE__ */ F({
9076
9079
  __name: "RBreadcrumb",
9077
9080
  props: {
9078
9081
  items: { default: () => [] },
@@ -9081,8 +9084,8 @@ const K5 = (H, V) => {
9081
9084
  setup(H) {
9082
9085
  const V = H;
9083
9086
  return (C, L) => {
9084
- const M = t2("router-link");
9085
- return t(), a("div", j5, [
9087
+ const M = m2("router-link");
9088
+ return t(), a("div", q5, [
9086
9089
  (t(!0), a(U, null, Y(V.items, (A, i) => (t(), a("div", {
9087
9090
  key: i,
9088
9091
  class: "r-breadcrumb__item"
@@ -9093,17 +9096,17 @@ const K5 = (H, V) => {
9093
9096
  }, {
9094
9097
  default: W1(() => [
9095
9098
  B(C.$slots, "item-icon", {}, () => [
9096
- A.icon ? (t(), x(R, {
9099
+ A.icon ? (t(), R(x, {
9097
9100
  key: 0,
9098
9101
  name: A.icon
9099
9102
  }, null, 8, ["name"])) : k("", !0)
9100
9103
  ]),
9101
- A.onlyIcon ? k("", !0) : (t(), a("span", q5, y(A.title), 1))
9104
+ A.onlyIcon ? k("", !0) : (t(), a("span", Y5, y(A.title), 1))
9102
9105
  ]),
9103
9106
  _: 2
9104
9107
  }, 1032, ["to"]),
9105
9108
  B(C.$slots, "custom-seperator", {}, () => [
9106
- i !== H.items.length - 1 && V.seperator ? (t(), x(R, {
9109
+ i !== H.items.length - 1 && V.seperator ? (t(), R(x, {
9107
9110
  key: 0,
9108
9111
  class: "r-breadcrumb__separator",
9109
9112
  name: V.seperator
@@ -9113,21 +9116,21 @@ const K5 = (H, V) => {
9113
9116
  ]);
9114
9117
  };
9115
9118
  }
9116
- }), Y5 = { class: "r-pagination" }, X5 = { class: "r-pagination__page-info" }, J5 = { key: 0 }, C3 = { class: "r-pagination__page-info__current-page" }, H3 = { class: "r-pagination__page-info__total-pages" }, V3 = { class: "r-pagination__paginator" }, L3 = ["disabled"], M3 = /* @__PURE__ */ Z("path", {
9119
+ }), X5 = { class: "r-pagination" }, J5 = { class: "r-pagination__page-info" }, C3 = { key: 0 }, H3 = { class: "r-pagination__page-info__current-page" }, V3 = { class: "r-pagination__page-info__total-pages" }, L3 = { class: "r-pagination__paginator" }, M3 = ["disabled"], A3 = /* @__PURE__ */ Z("path", {
9117
9120
  d: "M0 0h24v24H0z",
9118
9121
  fill: "none",
9119
9122
  stroke: "none"
9120
- }, null, -1), A3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), i3 = [
9121
- M3,
9122
- A3
9123
- ], e3 = ["max", "value"], d3 = ["disabled"], t3 = /* @__PURE__ */ Z("path", {
9123
+ }, null, -1), i3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), e3 = [
9124
+ A3,
9125
+ i3
9126
+ ], d3 = ["max", "value"], t3 = ["disabled"], m3 = /* @__PURE__ */ Z("path", {
9124
9127
  d: "M0 0h24v24H0z",
9125
9128
  fill: "none",
9126
9129
  stroke: "none"
9127
- }, null, -1), m3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), l3 = [
9128
- t3,
9129
- m3
9130
- ], o3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ F({
9130
+ }, null, -1), l3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), o3 = [
9131
+ m3,
9132
+ l3
9133
+ ], n3 = { class: "r-pagination__paginator__total" }, T3 = /* @__PURE__ */ F({
9131
9134
  __name: "RPagination",
9132
9135
  props: {
9133
9136
  page: { default: 1 },
@@ -9142,14 +9145,14 @@ const K5 = (H, V) => {
9142
9145
  const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9143
9146
  A < 1 || A > L.value || V("update:page", A);
9144
9147
  };
9145
- return (A, i) => (t(), a("div", Y5, [
9146
- Z("div", X5, [
9147
- H.slash ? k("", !0) : (t(), a("span", J5, y(C.pageText), 1)),
9148
- Z("span", C3, y(C.page), 1),
9148
+ return (A, i) => (t(), a("div", X5, [
9149
+ Z("div", J5, [
9150
+ H.slash ? k("", !0) : (t(), a("span", C3, y(C.pageText), 1)),
9151
+ Z("span", H3, y(C.page), 1),
9149
9152
  Z("span", null, y(H.slash ? "/" : C.ofText), 1),
9150
- Z("span", H3, y(p(L)), 1)
9153
+ Z("span", V3, y(p(L)), 1)
9151
9154
  ]),
9152
- Z("div", V3, [
9155
+ Z("div", L3, [
9153
9156
  Z("button", {
9154
9157
  class: "r-pagination__paginator__prev",
9155
9158
  disabled: C.page === 1,
@@ -9167,9 +9170,9 @@ const K5 = (H, V) => {
9167
9170
  viewBox: "0 0 24 24",
9168
9171
  width: "16",
9169
9172
  xmlns: "http://www.w3.org/2000/svg"
9170
- }, i3, 2))
9173
+ }, e3, 2))
9171
9174
  ])
9172
- ], 8, L3),
9175
+ ], 8, M3),
9173
9176
  Z("input", {
9174
9177
  class: "r-pagination__paginator__input",
9175
9178
  max: p(L),
@@ -9180,7 +9183,7 @@ const K5 = (H, V) => {
9180
9183
  var d;
9181
9184
  return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9182
9185
  })
9183
- }, null, 40, e3),
9186
+ }, null, 40, d3),
9184
9187
  Z("button", {
9185
9188
  class: "r-pagination__paginator__next",
9186
9189
  disabled: C.page === p(L),
@@ -9198,14 +9201,14 @@ const K5 = (H, V) => {
9198
9201
  viewBox: "0 0 24 24",
9199
9202
  width: "16",
9200
9203
  xmlns: "http://www.w3.org/2000/svg"
9201
- }, l3, 2))
9204
+ }, o3, 2))
9202
9205
  ])
9203
- ], 8, d3),
9204
- Z("div", o3, "/ " + y(p(L)), 1)
9206
+ ], 8, t3),
9207
+ Z("div", n3, "/ " + y(p(L)), 1)
9205
9208
  ])
9206
9209
  ]));
9207
9210
  }
9208
- }), r3 = ["value"], T3 = /* @__PURE__ */ F({
9211
+ }), r3 = ["value"], v3 = /* @__PURE__ */ F({
9209
9212
  __name: "RProgressbar",
9210
9213
  props: {
9211
9214
  value: { default: 0 },
@@ -9222,7 +9225,7 @@ const K5 = (H, V) => {
9222
9225
  value: V.value
9223
9226
  }, null, 12, r3));
9224
9227
  }
9225
- }), v3 = /* @__PURE__ */ F({
9228
+ }), F3 = /* @__PURE__ */ F({
9226
9229
  __name: "RItemGroup",
9227
9230
  props: {
9228
9231
  modelValue: { default: () => [] },
@@ -9237,14 +9240,14 @@ const K5 = (H, V) => {
9237
9240
  setup(H, { emit: V }) {
9238
9241
  const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = g(() => C.selectedClass);
9239
9242
  a1(`${L}:selectedClass`, i.value);
9240
- const e = (m) => A.value.includes(m);
9243
+ const e = (l) => A.value.includes(l);
9241
9244
  a1(`${L}:isSelected`, e);
9242
- const d = (m, o) => {
9243
- C.disabled || C.mandatory && A.value.length === 1 && o || C.max && A.value.length === C.max && o || (C.multiple ? o ? A.value.push(m) : A.value = A.value.filter((l) => l !== m) : A.value = o ? [m] : [], V("update:modelValue", A.value));
9245
+ const d = (l, o) => {
9246
+ C.disabled || C.mandatory && A.value.length === 1 && o || C.max && A.value.length === C.max && o || (C.multiple ? o ? A.value.push(l) : A.value = A.value.filter((m) => m !== l) : A.value = o ? [l] : [], V("update:modelValue", A.value));
9244
9247
  };
9245
- return a1(`${L}:select`, d), (m, o) => (t(), x(m2(M.value), null, {
9248
+ return a1(`${L}:select`, d), (l, o) => (t(), R(l2(M.value), null, {
9246
9249
  default: W1(() => [
9247
- B(m.$slots, "default", {
9250
+ B(l.$slots, "default", {
9248
9251
  isSelected: e,
9249
9252
  select: d,
9250
9253
  selected: A.value
@@ -9253,7 +9256,7 @@ const K5 = (H, V) => {
9253
9256
  _: 3
9254
9257
  }));
9255
9258
  }
9256
- }), F3 = /* @__PURE__ */ F({
9259
+ }), R3 = /* @__PURE__ */ F({
9257
9260
  __name: "RItem",
9258
9261
  props: {
9259
9262
  value: { default: null },
@@ -9266,7 +9269,7 @@ const K5 = (H, V) => {
9266
9269
  }, d = () => {
9267
9270
  V.disabled || i(V.value, !0);
9268
9271
  };
9269
- return (m, o) => B(m.$slots, "default", {
9272
+ return (l, o) => B(l.$slots, "default", {
9270
9273
  disabled: V.disabled,
9271
9274
  isSelected: p(L)(V.value),
9272
9275
  select: d,
@@ -9277,28 +9280,28 @@ const K5 = (H, V) => {
9277
9280
  }
9278
9281
  });
9279
9282
  export {
9280
- a3 as RAccordion,
9281
- Z3 as RAlert,
9282
- u3 as RAvatar,
9283
- S3 as RBadge,
9284
- w3 as RBreadcrumb,
9285
- c3 as RButton,
9286
- s3 as RCheckbox,
9287
- D2 as RChip,
9288
- O3 as RDropdown,
9289
- R as RIcon,
9290
- F3 as RItem,
9291
- v3 as RItemGroup,
9283
+ Z3 as RAccordion,
9284
+ u3 as RAlert,
9285
+ S3 as RAvatar,
9286
+ c3 as RBadge,
9287
+ P3 as RBreadcrumb,
9288
+ s3 as RButton,
9289
+ O3 as RCheckbox,
9290
+ E2 as RChip,
9291
+ p3 as RDropdown,
9292
+ x as RIcon,
9293
+ R3 as RItem,
9294
+ F3 as RItemGroup,
9292
9295
  G1 as RLabel,
9293
- p3 as RModal,
9294
- P3 as RPagination,
9295
- T3 as RProgressbar,
9296
- h3 as RSidebar,
9297
- f3 as RSnackbar,
9298
- g3 as RSwitch,
9299
- c5 as RTabItem,
9300
- k3 as RTabs,
9301
- B3 as RTextArea,
9302
- b3 as RTextfield,
9303
- y3 as RTooltip
9296
+ h3 as RModal,
9297
+ T3 as RPagination,
9298
+ v3 as RProgressbar,
9299
+ f3 as RSidebar,
9300
+ g3 as RSnackbar,
9301
+ k3 as RSwitch,
9302
+ s5 as RTabItem,
9303
+ B3 as RTabs,
9304
+ b3 as RTextArea,
9305
+ y3 as RTextfield,
9306
+ w3 as RTooltip
9304
9307
  };