@rocketui/vue 0.0.56 → 0.0.57

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,4 +1,4 @@
1
- import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as g, createCommentVNode as k, mergeProps as C2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as D, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, createTextVNode as A2, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as _1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
1
+ import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as C2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as D, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, createTextVNode as A2, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as _1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
2
2
  const l2 = {
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",
@@ -7317,26 +7317,26 @@ const l2 = {
7317
7317
  ], 8, o2));
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" }, o3 = /* @__PURE__ */ F({
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({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
7324
7324
  },
7325
7325
  setup(H) {
7326
7326
  const V = H, C = J(
7327
- V.accordions.map(({ title: A, content: M }, i) => ({
7328
- title: A,
7329
- content: M,
7327
+ V.accordions.map(({ title: M, content: A }, i) => ({
7328
+ title: M,
7329
+ content: A,
7330
7330
  open: V.accordions[i].open || !1,
7331
7331
  disabled: V.accordions[i].disabled || !1
7332
7332
  }))
7333
7333
  );
7334
- function L(A) {
7335
- C[A].disabled || C.forEach((M, i) => {
7336
- C[i].open = i === A ? !C[i].open : !1;
7334
+ function L(M) {
7335
+ C[M].disabled || C.forEach((A, i) => {
7336
+ C[i].open = i === M ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (A, M) => (t(!0), a(K, null, Y(C, (i, e) => (t(), a("div", {
7339
+ return (M, A) => (t(!0), a(K, null, Y(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: f({
7342
7342
  "r-accordion": !0,
@@ -7348,7 +7348,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7348
7348
  class: "r-accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
- B(A.$slots, "title", {}, () => [
7351
+ B(M.$slots, "title", {}, () => [
7352
7352
  Z("div", Z2, y(i.title), 1)
7353
7353
  ]),
7354
7354
  Z("div", u2, [
@@ -7356,7 +7356,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7356
7356
  ])
7357
7357
  ], 8, a2),
7358
7358
  Z("div", S2, [
7359
- B(A.$slots, "content", {}, () => [
7359
+ B(M.$slots, "content", {}, () => [
7360
7360
  Z("span", null, y(i.content), 1)
7361
7361
  ])
7362
7362
  ])
@@ -7368,7 +7368,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7368
7368
  }, h2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, r3 = /* @__PURE__ */ F({
7371
+ }, Z3 = /* @__PURE__ */ F({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7380,17 +7380,17 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7380
7380
  },
7381
7381
  emits: ["close"],
7382
7382
  setup(H, { emit: V }) {
7383
- const C = H, L = g(() => ({
7383
+ const C = H, L = k(() => ({
7384
7384
  " r-alert": !0,
7385
7385
  [`r-alert--${C.variant}`]: !0,
7386
7386
  "r-alert--block": C.block,
7387
7387
  [`r-alert--${C.variant}--${C.type}`]: !0
7388
- })), A = g(() => ({
7388
+ })), M = k(() => ({
7389
7389
  success: "mdiCheckCircle",
7390
7390
  error: "mdiAlertCircle",
7391
7391
  warning: "mdiAlert",
7392
7392
  info: "mdiInformation"
7393
- })[C.type]), M = () => {
7393
+ })[C.type]), A = () => {
7394
7394
  V("close");
7395
7395
  };
7396
7396
  return (i, e) => (t(), a("div", {
@@ -7399,7 +7399,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7399
7399
  Z("div", c2, [
7400
7400
  B(i.$slots, "alert-icon", {}, () => [
7401
7401
  q(R, {
7402
- name: p(A),
7402
+ name: p(M),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
@@ -7407,7 +7407,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7407
7407
  Z("div", s2, [
7408
7408
  B(i.$slots, "content", {}, () => [
7409
7409
  Z("p", O2, y(C.title), 1),
7410
- C.description ? (t(), a("p", p2, y(C.description), 1)) : k("", !0)
7410
+ C.description ? (t(), a("p", p2, y(C.description), 1)) : g("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
7413
  C.closable ? (t(), a("div", h2, [
@@ -7416,13 +7416,13 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
7419
- onClick: M
7419
+ onClick: A
7420
7420
  })
7421
7421
  ])
7422
- ])) : k("", !0)
7422
+ ])) : g("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"], n3 = /* @__PURE__ */ F({
7425
+ }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"], u3 = /* @__PURE__ */ F({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7433,10 +7433,10 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7433
7433
  text: { default: "" }
7434
7434
  },
7435
7435
  setup(H) {
7436
- const V = H, C = g(() => ({
7436
+ const V = H, C = k(() => ({
7437
7437
  "r-avatar": !0,
7438
7438
  [`r-avatar--${V.size}`]: !0
7439
- })), L = g(() => V.type === "image" && !V.src), A = g(() => L.value ? B1 : V.src), M = (i) => {
7439
+ })), L = k(() => V.type === "image" && !V.src), M = k(() => L.value ? B1 : V.src), A = (i) => {
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
  };
@@ -7447,7 +7447,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7447
7447
  V.type === "text" ? (t(), a("p", {
7448
7448
  key: 0,
7449
7449
  class: f({ "r-avatar__text": !0, [`r-avatar__text--${V.size}`]: !0 })
7450
- }, y(M(V.text)), 3)) : (t(), a("img", {
7450
+ }, y(A(V.text)), 3)) : (t(), a("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
7453
  class: f({
@@ -7455,7 +7455,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7455
7455
  [`r-avatar__image--${V.size}`]: !0,
7456
7456
  "r-avatar__image--anonymous": p(L)
7457
7457
  }),
7458
- src: p(A)
7458
+ src: p(M)
7459
7459
  }, null, 10, g2))
7460
7460
  ], 2),
7461
7461
  V.online ? (t(), a("span", {
@@ -7464,10 +7464,10 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7464
7464
  "r-avatar__online": !0,
7465
7465
  [`r-avatar__online--${V.size}`]: !0
7466
7466
  })
7467
- }, null, 2)) : k("", !0)
7467
+ }, null, 2)) : g("", !0)
7468
7468
  ]));
7469
7469
  }
7470
- }), k2 = { class: "r-badge-wrapper group" }, a3 = /* @__PURE__ */ F({
7470
+ }), k2 = { class: "r-badge-wrapper group" }, S3 = /* @__PURE__ */ F({
7471
7471
  __name: "RBadge",
7472
7472
  props: {
7473
7473
  variant: { default: "primary" },
@@ -7479,7 +7479,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7479
7479
  },
7480
7480
  emits: ["click"],
7481
7481
  setup(H) {
7482
- const V = H, C = g(() => ({
7482
+ const V = H, C = k(() => ({
7483
7483
  "r-badge": !0,
7484
7484
  "r-badge__content": V.content,
7485
7485
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7489,15 +7489,15 @@ 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, A) => (t(), a("div", k2, [
7492
+ return (L, M) => (t(), a("div", k2, [
7493
7493
  Z("span", {
7494
7494
  class: f(p(C)),
7495
- onClick: A[0] || (A[0] = (M) => L.$emit("click"))
7495
+ onClick: M[0] || (M[0] = (A) => L.$emit("click"))
7496
7496
  }, y(V.content), 3),
7497
7497
  B(L.$slots, "default")
7498
7498
  ]));
7499
7499
  }
7500
- }), B2 = ["disabled"], Z3 = /* @__PURE__ */ F({
7500
+ }), B2 = ["disabled"], c3 = /* @__PURE__ */ F({
7501
7501
  __name: "RButton",
7502
7502
  props: {
7503
7503
  variant: { default: "primary" },
@@ -7514,33 +7514,33 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7514
7514
  },
7515
7515
  emits: ["click"],
7516
7516
  setup(H) {
7517
- const V = H, C = g(() => ({
7517
+ const V = H, C = k(() => ({
7518
7518
  "r-button": !0,
7519
7519
  [`r-button--${V.variant}`]: !0,
7520
7520
  "r-button--loading": V.loading,
7521
7521
  [`r-button--${V.size || "medium"}`]: !0,
7522
7522
  "r-button--only-icon": V.onlyIcon,
7523
7523
  "r-button--block": V.block
7524
- })), L = g(() => ({
7524
+ })), L = k(() => ({
7525
7525
  small: 20,
7526
7526
  medium: 24,
7527
7527
  large: 32
7528
- })[V.size || "medium"]), A = g(() => {
7529
- const { backgroundColor: M, height: i, color: e } = V;
7528
+ })[V.size || "medium"]), M = k(() => {
7529
+ const { backgroundColor: A, height: i, color: e } = V;
7530
7530
  return {
7531
- backgroundColor: M,
7531
+ backgroundColor: A,
7532
7532
  height: i ? `${i}px` : "",
7533
7533
  color: e
7534
7534
  };
7535
7535
  });
7536
- return (M, i) => (t(), a("button", C2(M.$attrs, {
7536
+ return (A, i) => (t(), a("button", C2(A.$attrs, {
7537
7537
  class: p(C),
7538
7538
  disabled: H.disabled || H.loading,
7539
- style: p(A),
7540
- onClick: i[0] || (i[0] = N((e) => M.$emit("click"), ["stop"]))
7539
+ style: p(M),
7540
+ onClick: i[0] || (i[0] = N((e) => A.$emit("click"), ["stop"]))
7541
7541
  }), [
7542
- B(M.$slots, "custom-icon"),
7543
- !M.$slots["custom-icon"] && V.prependIcon ? (t(), x(R, {
7542
+ B(A.$slots, "custom-icon"),
7543
+ !A.$slots["custom-icon"] && V.prependIcon ? (t(), x(R, {
7544
7544
  key: 0,
7545
7545
  class: f({
7546
7546
  "r-button__prepend-icon": !0,
@@ -7548,14 +7548,14 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7548
7548
  }),
7549
7549
  name: V.prependIcon,
7550
7550
  size: p(L)
7551
- }, null, 8, ["class", "name", "size"])) : k("", !0),
7552
- V.onlyIcon ? k("", !0) : B(M.$slots, "default", { key: 1 }),
7553
- !M.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7551
+ }, null, 8, ["class", "name", "size"])) : g("", !0),
7552
+ V.onlyIcon ? g("", !0) : B(A.$slots, "default", { key: 1 }),
7553
+ !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7554
7554
  key: 2,
7555
7555
  class: "r-button__append-icon",
7556
7556
  name: V.appendIcon,
7557
7557
  size: p(L)
7558
- }, null, 8, ["name", "size"])) : k("", !0)
7558
+ }, null, 8, ["name", "size"])) : g("", !0)
7559
7559
  ], 16, B2));
7560
7560
  }
7561
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 = {
@@ -7564,7 +7564,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7564
7564
  }, R2 = {
7565
7565
  key: 1,
7566
7566
  class: "r-checkbox-texts__hint"
7567
- }, u3 = /* @__PURE__ */ F({
7567
+ }, s3 = /* @__PURE__ */ F({
7568
7568
  __name: "RCheckbox",
7569
7569
  props: {
7570
7570
  id: { default: "" },
@@ -7580,11 +7580,11 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7580
7580
  const C = H, L = J({
7581
7581
  checked: !1,
7582
7582
  indeterminate: !1
7583
- }), A = {
7583
+ }), M = {
7584
7584
  checked: "mdiCheck",
7585
7585
  unchecked: "",
7586
7586
  indeterminate: "mdiMinus"
7587
- }, M = g(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = g(() => ({
7587
+ }, A = k(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), i = k(() => ({
7588
7588
  "r-checkbox": !0,
7589
7589
  "r-checkbox--checked": L.checked,
7590
7590
  "r-checkbox--disabled": C.disabled,
@@ -7629,7 +7629,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7629
7629
  "data-disabled": C.disabled
7630
7630
  }, [
7631
7631
  q(R, {
7632
- name: p(M),
7632
+ name: p(A),
7633
7633
  size: 24
7634
7634
  }, null, 8, ["name"])
7635
7635
  ], 10, P2)
@@ -7657,14 +7657,14 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7657
7657
  },
7658
7658
  emits: ["click:chip", "click:close"],
7659
7659
  setup(H, { emit: V }) {
7660
- const C = H, L = g(() => ({
7660
+ const C = H, L = k(() => ({
7661
7661
  "r-chip": !0,
7662
7662
  "r-chip--disabled": C.disabled,
7663
7663
  [`r-chip__${C.variant}`]: C.variant,
7664
7664
  [`r-chip__${C.variant}--ghost`]: C.ghost
7665
- })), A = (i) => {
7665
+ })), M = (i) => {
7666
7666
  C.closable && i.stopPropagation(), !C.disabled && V("click:chip", i);
7667
- }, M = (i) => {
7667
+ }, A = (i) => {
7668
7668
  C.disabled || !C.closable || (i.stopPropagation(), V("click:close", i));
7669
7669
  };
7670
7670
  return (i, e) => (t(), a("div", {
@@ -7672,7 +7672,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7672
7672
  }, [
7673
7673
  Z("div", {
7674
7674
  class: "r-chip__content",
7675
- onClick: e[0] || (e[0] = (d) => A(d))
7675
+ onClick: e[0] || (e[0] = (d) => M(d))
7676
7676
  }, [
7677
7677
  B(i.$slots, "prepend", {}, () => [
7678
7678
  C.prependIcon ? (t(), x(R, {
@@ -7681,7 +7681,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7681
7681
  class: "r-chip__content__prepend-icon",
7682
7682
  name: C.prependIcon,
7683
7683
  size: 12
7684
- }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7684
+ }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7685
7685
  ]),
7686
7686
  Z("span", x2, y(C.label), 1)
7687
7687
  ]),
@@ -7692,8 +7692,8 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7692
7692
  class: "r-chip__content__append-icon",
7693
7693
  name: C.appendIcon,
7694
7694
  size: 12,
7695
- onClick: e[1] || (e[1] = (d) => M(d))
7696
- }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7695
+ onClick: e[1] || (e[1] = (d) => A(d))
7696
+ }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7697
7697
  ])
7698
7698
  ], 2));
7699
7699
  }
@@ -7717,19 +7717,19 @@ function H1(H) {
7717
7717
  }
7718
7718
  const I1 = N1 ? window : void 0;
7719
7719
  function u1(...H) {
7720
- let V, C, L, A;
7721
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, A] = H, V = I1) : [V, C, L, A] = H, !V)
7720
+ let V, C, L, M;
7721
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = I1) : [V, C, L, M] = H, !V)
7722
7722
  return c1;
7723
7723
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7724
- const M = [], i = () => {
7725
- M.forEach((o) => o()), M.length = 0;
7724
+ const A = [], i = () => {
7725
+ A.forEach((o) => o()), A.length = 0;
7726
7726
  }, e = (o, l, n, r) => (o.addEventListener(l, n, r), () => o.removeEventListener(l, n, r)), d = W(
7727
- () => [H1(V), W1(A)],
7727
+ () => [H1(V), W1(M)],
7728
7728
  ([o, l]) => {
7729
7729
  if (i(), !o)
7730
7730
  return;
7731
7731
  const n = W2(l) ? { ...l } : l;
7732
- M.push(
7732
+ A.push(
7733
7733
  ...C.flatMap((r) => L.map((u) => e(o, r, u, n)))
7734
7734
  );
7735
7735
  },
@@ -7741,12 +7741,12 @@ function u1(...H) {
7741
7741
  }
7742
7742
  let b1 = !1;
7743
7743
  function Q2(H, V, C = {}) {
7744
- const { window: L = I1, ignore: A = [], capture: M = !0, detectIframe: i = !1 } = C;
7744
+ const { window: L = I1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
7745
7745
  if (!L)
7746
7746
  return;
7747
7747
  N2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
7748
7748
  let e = !0;
7749
- const d = (n) => A.some((r) => {
7749
+ const d = (n) => M.some((r) => {
7750
7750
  if (typeof r == "string")
7751
7751
  return Array.from(L.document.querySelectorAll(r)).some((u) => u === n.target || n.composedPath().includes(u));
7752
7752
  {
@@ -7763,7 +7763,7 @@ function Q2(H, V, C = {}) {
7763
7763
  }
7764
7764
  V(n);
7765
7765
  }
7766
- }, { passive: !0, capture: M }),
7766
+ }, { passive: !0, capture: A }),
7767
7767
  u1(L, "pointerdown", (n) => {
7768
7768
  const r = H1(H);
7769
7769
  r && (e = !n.composedPath().includes(r) && !d(n));
@@ -7784,7 +7784,7 @@ const G2 = {
7784
7784
  }, z2 = {
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" } }, S3 = /* @__PURE__ */ F({
7787
+ }, U2 = ["id", "disabled", "placeholder", "readonly"], $2 = ["aria-disabled", "onClick"], K2 = { style: { display: "flex", "align-items": "center" } }, O3 = /* @__PURE__ */ F({
7788
7788
  __name: "RDropdown",
7789
7789
  props: {
7790
7790
  options: { default: () => [] },
@@ -7801,10 +7801,10 @@ const G2 = {
7801
7801
  },
7802
7802
  emits: ["update:modelValue"],
7803
7803
  setup(H, { emit: V }) {
7804
- const C = H, L = D(""), A = J([]), M = 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), m = D(null), o = (S) => {
7805
7805
  var O, s, v;
7806
7806
  if (!C.disabled) {
7807
- if (S.stopPropagation(), M.value = !M.value, M.value) {
7807
+ if (S.stopPropagation(), A.value = !A.value, A.value) {
7808
7808
  (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
7809
  return;
7810
7810
  }
@@ -7812,11 +7812,11 @@ const G2 = {
7812
7812
  }
7813
7813
  }, l = () => {
7814
7814
  var S, O, s;
7815
- M.value = !1, (S = e.value) == null || S.classList.remove("r-dropdown--active"), (O = e.value) == null || O.blur(), (s = d.value) == null || s.blur();
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
7816
  }, n = (S, O) => {
7817
7817
  var s;
7818
7818
  if (C.multiple || C.taggable) {
7819
- S.stopPropagation(), A.find((v) => v.value === O.value) ? A.splice(A.indexOf(O), 1) : A.push(O), i.value = "", C.searchable && ((s = d.value) == null || s.focus());
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());
7820
7820
  return;
7821
7821
  }
7822
7822
  r(S, O);
@@ -7830,8 +7830,8 @@ const G2 = {
7830
7830
  if (S instanceof KeyboardEvent && S.key !== "Backspace" || i.value !== "")
7831
7831
  return;
7832
7832
  S.stopPropagation();
7833
- const s = A.findIndex((v) => v.value === O.value);
7834
- A.splice(s, 1);
7833
+ const s = M.findIndex((v) => v.value === O.value);
7834
+ M.splice(s, 1);
7835
7835
  }, b = (S) => {
7836
7836
  var v;
7837
7837
  if (!C.taggable)
@@ -7840,11 +7840,11 @@ const G2 = {
7840
7840
  const O = i.value;
7841
7841
  if (O === "")
7842
7842
  return;
7843
- C.options.find((h) => h.label === O) || (A.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7844
- }, c = (S) => C.multiple ? A.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);
7843
+ 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 = k(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = k(() => C.multiple || C.taggable || !C.searchable);
7845
7845
  return L2(() => {
7846
- C.modelValue && (C.multiple ? A.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7847
- }), W(A, (S) => {
7846
+ C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7847
+ }), W(M, (S) => {
7848
7848
  V("update:modelValue", S);
7849
7849
  }), Q2(m, l), (S, O) => (t(), a("div", {
7850
7850
  ref_key: "wrapper",
@@ -7866,18 +7866,18 @@ const G2 = {
7866
7866
  key: 0,
7867
7867
  class: f({
7868
7868
  "r-dropdown__prepend-icon": !0,
7869
- "r-dropdown__prepend-icon--active": M.value
7869
+ "r-dropdown__prepend-icon--active": A.value
7870
7870
  })
7871
7871
  }, [
7872
7872
  B(S.$slots, "prepend", {}, () => [
7873
7873
  C.prependIcon ? (t(), x(R, {
7874
7874
  key: 0,
7875
7875
  name: C.prependIcon
7876
- }, null, 8, ["name"])) : k("", !0)
7876
+ }, null, 8, ["name"])) : g("", !0)
7877
7877
  ])
7878
- ], 2)) : k("", !0),
7878
+ ], 2)) : g("", !0),
7879
7879
  C.taggable ? (t(), a("div", G2, [
7880
- (t(!0), a(K, null, Y(A, (s, v) => (t(), x(D2, {
7880
+ (t(!0), a(K, null, Y(M, (s, v) => (t(), x(D2, {
7881
7881
  key: v,
7882
7882
  appendIcon: "close",
7883
7883
  class: "r-dropdown__tags__chip",
@@ -7885,10 +7885,10 @@ const G2 = {
7885
7885
  variant: "primary",
7886
7886
  "onClick:close": (h) => u(h, s)
7887
7887
  }, null, 8, ["label", "onClick:close"]))), 128))
7888
- ])) : k("", !0),
7888
+ ])) : g("", !0),
7889
7889
  C.multiple ? (t(), a("div", z2, [
7890
- (t(!0), a(K, null, Y(A, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7891
- ])) : k("", !0),
7890
+ (t(!0), a(K, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7891
+ ])) : g("", !0),
7892
7892
  E1(Z("input", {
7893
7893
  id: C.id,
7894
7894
  ref_key: "input",
@@ -7903,7 +7903,7 @@ const G2 = {
7903
7903
  readonly: p(T),
7904
7904
  type: "text",
7905
7905
  onKeydown: [
7906
- O[1] || (O[1] = k1((s) => u(s, A[A.length - 1]), ["backspace"])),
7906
+ O[1] || (O[1] = k1((s) => u(s, M[M.length - 1]), ["backspace"])),
7907
7907
  O[2] || (O[2] = k1((s) => b(s), ["enter"]))
7908
7908
  ]
7909
7909
  }, null, 42, U2), [
@@ -7913,21 +7913,21 @@ const G2 = {
7913
7913
  key: 3,
7914
7914
  class: f({
7915
7915
  "r-dropdown__append-icon": !0,
7916
- "r-dropdown__append-icon--active": M.value
7916
+ "r-dropdown__append-icon--active": A.value
7917
7917
  })
7918
7918
  }, [
7919
7919
  B(S.$slots, "append", {}, () => [
7920
7920
  C.appendIcon ? (t(), x(R, {
7921
7921
  key: 0,
7922
7922
  name: C.appendIcon
7923
- }, null, 8, ["name"])) : k("", !0)
7923
+ }, null, 8, ["name"])) : g("", !0)
7924
7924
  ])
7925
- ], 2)) : k("", !0)
7925
+ ], 2)) : g("", !0)
7926
7926
  ], 2),
7927
7927
  Z("ul", {
7928
7928
  class: f({
7929
7929
  "r-dropdown-options": !0,
7930
- "r-dropdown-options--active": M.value
7930
+ "r-dropdown-options--active": A.value
7931
7931
  })
7932
7932
  }, [
7933
7933
  (t(!0), a(K, null, Y(p(w), (s) => (t(), a("li", {
@@ -7962,7 +7962,7 @@ const G2 = {
7962
7962
  "r-dropdown-options__option__append-icon--active": c(s)
7963
7963
  }),
7964
7964
  name: "mdiCheck"
7965
- }, null, 8, ["class"])) : k("", !0)
7965
+ }, null, 8, ["class"])) : g("", !0)
7966
7966
  ], 10, $2))), 128))
7967
7967
  ], 2)
7968
7968
  ], 512));
@@ -7995,7 +7995,7 @@ const G2 = {
7995
7995
  }, H5 = {
7996
7996
  key: 2,
7997
7997
  class: "description"
7998
- }, V5 = { class: "r-dialog__body" }, L5 = { class: "r-dialog__actions" }, c3 = /* @__PURE__ */ F({
7998
+ }, V5 = { class: "r-dialog__body" }, L5 = { class: "r-dialog__actions" }, p3 = /* @__PURE__ */ F({
7999
7999
  __name: "RModal",
8000
8000
  props: {
8001
8001
  modelValue: { type: Boolean, default: !1 },
@@ -8009,25 +8009,25 @@ const G2 = {
8009
8009
  },
8010
8010
  emits: ["update:modelValue"],
8011
8011
  setup(H, { emit: V }) {
8012
- const C = H, L = g(() => ({
8012
+ const C = H, L = k(() => ({
8013
8013
  "r-dialog": !0,
8014
8014
  "r-dialog--block": C.block
8015
- })), A = g(() => ({
8015
+ })), M = k(() => ({
8016
8016
  width: C.width,
8017
8017
  height: C.height
8018
- })), M = (i) => {
8018
+ })), A = (i) => {
8019
8019
  C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
8020
8020
  };
8021
8021
  return (i, e) => E1((t(), a("div", {
8022
8022
  class: "r-modal-overlay",
8023
- onClick: N(M, ["stop"])
8023
+ onClick: N(A, ["stop"])
8024
8024
  }, [
8025
8025
  Z("div", {
8026
8026
  "aria-modal": "true",
8027
8027
  class: f(p(L)),
8028
8028
  open: C.modelValue,
8029
8029
  role: "dialog",
8030
- style: p1(p(A))
8030
+ style: p1(p(M))
8031
8031
  }, [
8032
8032
  Z("div", X2, [
8033
8033
  B(i.$slots, "header"),
@@ -8035,9 +8035,9 @@ const G2 = {
8035
8035
  q(R, {
8036
8036
  name: C.icon
8037
8037
  }, null, 8, ["name"])
8038
- ])) : k("", !0),
8039
- C.title ? (t(), a("div", C5, y(C.title), 1)) : k("", !0),
8040
- C.description ? (t(), a("div", H5, y(C.description), 1)) : k("", !0)
8038
+ ])) : g("", !0),
8039
+ C.title ? (t(), a("div", C5, y(C.title), 1)) : g("", !0),
8040
+ C.description ? (t(), a("div", H5, y(C.description), 1)) : g("", !0)
8041
8041
  ]),
8042
8042
  Z("div", V5, [
8043
8043
  B(i.$slots, "default")
@@ -8050,31 +8050,48 @@ const G2 = {
8050
8050
  [i2, H.modelValue]
8051
8051
  ]);
8052
8052
  }
8053
- }), M5 = { class: "r-sidebar__nav" }, A5 = { class: "r-sidebar__actions" }, s3 = /* @__PURE__ */ F({
8053
+ }), M5 = { class: "flex w-fit" }, A5 = ["data-open"], i5 = { class: "r-sidebar__nav" }, e5 = { class: "r-sidebar__actions" }, d5 = ["data-open"], h3 = /* @__PURE__ */ F({
8054
8054
  __name: "RSidebar",
8055
8055
  props: {
8056
- modelValue: { type: Boolean, default: !1 }
8056
+ modelValue: { type: Boolean, default: !1 },
8057
+ showTrigger: { type: Boolean, default: !0 },
8058
+ class: null,
8059
+ triggerClass: null
8057
8060
  },
8058
8061
  setup(H) {
8059
- const V = H, C = g(() => ({
8060
- "r-sidebar": !0,
8061
- "r-sidebar--open": V.modelValue
8062
+ const V = H, C = k(() => ({
8063
+ "r-sidebar": !0
8062
8064
  }));
8063
- return (L, A) => (t(), a("aside", {
8064
- class: f(p(C))
8065
- }, [
8066
- Z("nav", M5, [
8067
- B(L.$slots, "default")
8068
- ]),
8069
- Z("div", A5, [
8070
- B(L.$slots, "actions")
8071
- ])
8072
- ], 2));
8065
+ return (L, M) => (t(), a("div", M5, [
8066
+ Z("aside", {
8067
+ class: f([p(C), V.class]),
8068
+ "data-open": V.modelValue
8069
+ }, [
8070
+ Z("nav", i5, [
8071
+ B(L.$slots, "default")
8072
+ ]),
8073
+ Z("div", e5, [
8074
+ B(L.$slots, "actions")
8075
+ ])
8076
+ ], 10, A5),
8077
+ V.showTrigger ? (t(), a("div", {
8078
+ key: 0,
8079
+ class: f(["r-sidebar__trigger", [V.triggerClass]]),
8080
+ "data-open": V.modelValue
8081
+ }, [
8082
+ B(L.$slots, "trigger", {}, () => [
8083
+ Z("button", {
8084
+ class: "r-sidebar__trigger-button",
8085
+ onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8086
+ }, " > ")
8087
+ ])
8088
+ ], 10, d5)) : g("", !0)
8089
+ ]));
8073
8090
  }
8074
- }), i5 = { class: "r-snackbar__text" }, e5 = {
8091
+ }), t5 = { class: "r-snackbar__text" }, m5 = {
8075
8092
  key: 0,
8076
8093
  class: "r-snackbar__close"
8077
- }, O3 = /* @__PURE__ */ F({
8094
+ }, f3 = /* @__PURE__ */ F({
8078
8095
  __name: "RSnackbar",
8079
8096
  props: {
8080
8097
  modelValue: { type: Boolean, default: !1 },
@@ -8099,48 +8116,48 @@ const G2 = {
8099
8116
  immediate: !0
8100
8117
  }
8101
8118
  );
8102
- const L = g(() => ({
8119
+ const L = k(() => ({
8103
8120
  "r-snackbar": !0,
8104
8121
  [`r-snackbar--${C.variant}`]: !0,
8105
8122
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
8106
8123
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
8107
8124
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0
8108
- })), A = {
8125
+ })), M = {
8109
8126
  success: "mdiCheckCircle",
8110
8127
  error: "mdiAlertCircle",
8111
8128
  warning: "mdiAlert",
8112
8129
  info: "mdiInformation"
8113
8130
  }[C.variant || "info"];
8114
- return (M, i) => (t(), a("div", {
8131
+ return (A, i) => (t(), a("div", {
8115
8132
  class: f(p(L))
8116
8133
  }, [
8117
- B(M.$slots, "default", {}, () => [
8134
+ B(A.$slots, "default", {}, () => [
8118
8135
  C.variant ? (t(), x(R, {
8119
8136
  key: 0,
8120
8137
  class: "r-snackbar__icon",
8121
- name: p(A)
8122
- }, null, 8, ["name"])) : k("", !0)
8138
+ name: p(M)
8139
+ }, null, 8, ["name"])) : g("", !0)
8123
8140
  ]),
8124
- Z("div", i5, y(C.text), 1),
8125
- B(M.$slots, "action"),
8126
- C.closable ? (t(), a("div", e5, [
8127
- B(M.$slots, "close", {}, () => [
8141
+ Z("div", t5, y(C.text), 1),
8142
+ B(A.$slots, "action"),
8143
+ C.closable ? (t(), a("div", m5, [
8144
+ B(A.$slots, "close", {}, () => [
8128
8145
  q(R, {
8129
8146
  name: "mdiClose",
8130
8147
  size: 16,
8131
- onClick: i[0] || (i[0] = N((e) => M.$emit("update:modelValue", !1), ["stop"]))
8148
+ onClick: i[0] || (i[0] = N((e) => A.$emit("update:modelValue", !1), ["stop"]))
8132
8149
  })
8133
8150
  ])
8134
- ])) : k("", !0)
8151
+ ])) : g("", !0)
8135
8152
  ], 2));
8136
8153
  }
8137
- }), d5 = { class: "r-switch-container" }, t5 = ["id", "checked"], m5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), l5 = ["id", "for"], o5 = {
8154
+ }), l5 = { class: "r-switch-container" }, o5 = ["id", "checked"], r5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), n5 = ["id", "for"], a5 = {
8138
8155
  key: 0,
8139
8156
  class: "r-switch-texts__error"
8140
- }, r5 = {
8157
+ }, Z5 = {
8141
8158
  key: 1,
8142
8159
  class: "r-switch-texts__hint"
8143
- }, p3 = /* @__PURE__ */ F({
8160
+ }, g3 = /* @__PURE__ */ F({
8144
8161
  __name: "RSwitch",
8145
8162
  props: {
8146
8163
  id: { default: "switch" },
@@ -8155,12 +8172,12 @@ const G2 = {
8155
8172
  setup(H, { emit: V }) {
8156
8173
  const C = H, L = J({
8157
8174
  checked: !1
8158
- }), A = g(() => ({
8175
+ }), M = k(() => ({
8159
8176
  "r-switch": !0,
8160
8177
  "r-switch--disabled": C.disabled,
8161
8178
  [`r-switch--${C.size}`]: C.size,
8162
8179
  "r-switch--error": C.errorMsg
8163
- })), M = (i) => {
8180
+ })), A = (i) => {
8164
8181
  C.disabled || (L.checked = i.target.checked, V("update:modelValue", L.checked));
8165
8182
  };
8166
8183
  return W(
@@ -8173,18 +8190,18 @@ const G2 = {
8173
8190
  // TODO: find a better way to do this
8174
8191
  immediate: !0
8175
8192
  }
8176
- ), (i, e) => (t(), a("div", d5, [
8193
+ ), (i, e) => (t(), a("div", l5, [
8177
8194
  Z("div", {
8178
- class: f(p(A))
8195
+ class: f(p(M))
8179
8196
  }, [
8180
8197
  Z("input", {
8181
8198
  id: C.id,
8182
8199
  checked: L.checked,
8183
8200
  class: "r-switch__input",
8184
8201
  type: "checkbox",
8185
- onChange: M
8186
- }, null, 40, t5),
8187
- m5
8202
+ onChange: A
8203
+ }, null, 40, o5),
8204
+ r5
8188
8205
  ], 2),
8189
8206
  Z("div", {
8190
8207
  class: f({
@@ -8196,17 +8213,17 @@ const G2 = {
8196
8213
  id: C.id,
8197
8214
  class: "r-switch-texts__label",
8198
8215
  for: C.id
8199
- }, y(C.label), 9, l5),
8200
- C.errorMsg ? (t(), a("p", o5, y(C.errorMsg), 1)) : (t(), a("p", r5, y(C.hint), 1))
8216
+ }, y(C.label), 9, n5),
8217
+ C.errorMsg ? (t(), a("p", a5, y(C.errorMsg), 1)) : (t(), a("p", Z5, y(C.hint), 1))
8201
8218
  ], 2)
8202
8219
  ]));
8203
8220
  }
8204
8221
  });
8205
8222
  var V1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(V1 || {});
8206
- const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8223
+ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8207
8224
  key: 0,
8208
8225
  class: "r-tab-item__label"
8209
- }, Z5 = /* @__PURE__ */ F({
8226
+ }, c5 = /* @__PURE__ */ F({
8210
8227
  __name: "RTabItem",
8211
8228
  props: {
8212
8229
  id: null,
@@ -8222,15 +8239,15 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8222
8239
  },
8223
8240
  emits: ["update:modelValue", "click:icon"],
8224
8241
  setup(H, { emit: V }) {
8225
- const C = H, L = g(() => ({
8242
+ const C = H, L = k(() => ({
8226
8243
  "r-tab-item": !0,
8227
8244
  [`r-tab-item--${C.variant}`]: !0,
8228
8245
  "r-tab-item--tile": C.tile,
8229
8246
  "r-tab-item--block": C.block
8230
- })), A = g(() => ({
8247
+ })), M = k(() => ({
8231
8248
  color: C.color
8232
8249
  }));
8233
- function M(e) {
8250
+ function A(e) {
8234
8251
  V("update:modelValue", e);
8235
8252
  }
8236
8253
  function i() {
@@ -8241,8 +8258,8 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8241
8258
  "aria-selected": C.modelValue === C.id,
8242
8259
  class: f(p(L)),
8243
8260
  disabled: C.disabled,
8244
- style: p1(p(A)),
8245
- onClick: d[0] || (d[0] = N((m) => M(C.id), ["stop"]))
8261
+ style: p1(p(M)),
8262
+ onClick: d[0] || (d[0] = N((m) => A(C.id), ["stop"]))
8246
8263
  }, [
8247
8264
  B(e.$slots, "prepend", {}, () => [
8248
8265
  C.variant !== p(V1).TEXT && C.prependIcon ? (t(), x(R, {
@@ -8250,9 +8267,9 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8250
8267
  class: "r-tab-item__prepend-icon",
8251
8268
  name: C.prependIcon,
8252
8269
  size: 16
8253
- }, null, 8, ["name"])) : k("", !0)
8270
+ }, null, 8, ["name"])) : g("", !0)
8254
8271
  ]),
8255
- C.variant !== p(V1).ICON ? (t(), a("span", a5, y(C.label), 1)) : k("", !0),
8272
+ C.variant !== p(V1).ICON ? (t(), a("span", S5, y(C.label), 1)) : g("", !0),
8256
8273
  B(e.$slots, "append", {}, () => [
8257
8274
  C.variant !== p(V1).TEXT && C.appendIcon ? (t(), x(R, {
8258
8275
  key: 0,
@@ -8260,11 +8277,11 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8260
8277
  name: C.appendIcon,
8261
8278
  size: 16,
8262
8279
  onClick: N(i, ["stop"])
8263
- }, null, 8, ["name", "onClick"])) : k("", !0)
8280
+ }, null, 8, ["name", "onClick"])) : g("", !0)
8264
8281
  ])
8265
- ], 14, n5));
8282
+ ], 14, u5));
8266
8283
  }
8267
- }), h3 = /* @__PURE__ */ F({
8284
+ }), k3 = /* @__PURE__ */ F({
8268
8285
  __name: "RTabs",
8269
8286
  props: {
8270
8287
  tabs: { default: () => [] },
@@ -8274,7 +8291,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8274
8291
  },
8275
8292
  emits: ["update:modelValue", "click:icon"],
8276
8293
  setup(H, { emit: V }) {
8277
- const C = H, L = D(C.modelValue || C.tabs[0].id), A = g(() => ({
8294
+ const C = H, L = D(C.modelValue || C.tabs[0].id), M = k(() => ({
8278
8295
  "r-tabs": !0,
8279
8296
  "r-tabs--block": C.block,
8280
8297
  "r-tabs--tile": C.tile
@@ -8285,14 +8302,14 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8285
8302
  V("update:modelValue", L.value);
8286
8303
  }
8287
8304
  );
8288
- const M = () => {
8305
+ const A = () => {
8289
8306
  V("click:icon");
8290
8307
  };
8291
8308
  return (i, e) => (t(), a("div", {
8292
- class: f(p(A))
8309
+ class: f(p(M))
8293
8310
  }, [
8294
8311
  B(i.$slots, "default", {}, () => [
8295
- (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), x(Z5, {
8312
+ (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), x(c5, {
8296
8313
  id: d.id,
8297
8314
  key: m,
8298
8315
  modelValue: L.value,
@@ -8305,18 +8322,18 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8305
8322
  prependIcon: d.prependIcon,
8306
8323
  tile: H.tile,
8307
8324
  variant: d.variant,
8308
- "onClick:icon": M
8325
+ "onClick:icon": A
8309
8326
  }, null, 8, ["id", "modelValue", "active", "appendIcon", "block", "disabled", "label", "prependIcon", "tile", "variant"]))), 128))
8310
8327
  ])
8311
8328
  ], 2));
8312
8329
  }
8313
- }), u5 = { class: "container" }, S5 = ["id", "disabled", "placeholder", "value"], c5 = {
8330
+ }), s5 = { class: "container" }, O5 = ["id", "disabled", "placeholder", "value"], p5 = {
8314
8331
  key: 1,
8315
8332
  class: "r-textarea__error"
8316
- }, s5 = {
8333
+ }, h5 = {
8317
8334
  key: 2,
8318
8335
  class: "r-textarea__hint"
8319
- }, f3 = /* @__PURE__ */ F({
8336
+ }, B3 = /* @__PURE__ */ F({
8320
8337
  __name: "RTextArea",
8321
8338
  props: {
8322
8339
  id: { default: "" },
@@ -8332,25 +8349,25 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8332
8349
  const C = H, L = J({
8333
8350
  value: ""
8334
8351
  });
8335
- function A(M) {
8336
- V("update:modelValue", M.target.value);
8352
+ function M(A) {
8353
+ V("update:modelValue", A.target.value);
8337
8354
  }
8338
8355
  return W(
8339
8356
  () => C.modelValue,
8340
- (M) => {
8341
- L.value = M;
8357
+ (A) => {
8358
+ L.value = A;
8342
8359
  },
8343
8360
  {
8344
8361
  immediate: !0
8345
8362
  }
8346
- ), (M, i) => (t(), a("div", u5, [
8363
+ ), (A, i) => (t(), a("div", s5, [
8347
8364
  C.label ? (t(), x(Q1, {
8348
8365
  key: 0,
8349
8366
  id: "textarea",
8350
8367
  class: "r-textarea__label",
8351
8368
  for: "textarea",
8352
8369
  text: C.label
8353
- }, null, 8, ["text"])) : k("", !0),
8370
+ }, null, 8, ["text"])) : g("", !0),
8354
8371
  Z("textarea", {
8355
8372
  id: C.id,
8356
8373
  class: f(["r-textarea", {
@@ -8360,22 +8377,22 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8360
8377
  disabled: C.disabled,
8361
8378
  placeholder: C.placeholder,
8362
8379
  value: L.value,
8363
- onInput: A
8364
- }, null, 42, S5),
8365
- C.errorMsg ? (t(), a("p", c5, y(C.errorMsg), 1)) : (t(), a("p", s5, y(C.hint), 1))
8380
+ onInput: M
8381
+ }, null, 42, O5),
8382
+ C.errorMsg ? (t(), a("p", p5, y(C.errorMsg), 1)) : (t(), a("p", h5, y(C.hint), 1))
8366
8383
  ]));
8367
8384
  }
8368
- }), O5 = {
8385
+ }), f5 = {
8369
8386
  class: /* @__PURE__ */ f({
8370
8387
  "r-textfield__wrapper": !0
8371
8388
  })
8372
- }, p5 = { class: "input-wrapper" }, h5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], f5 = {
8389
+ }, g5 = { class: "input-wrapper" }, k5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], B5 = {
8373
8390
  key: 0,
8374
8391
  class: "r-textfield__error"
8375
- }, g5 = {
8392
+ }, b5 = {
8376
8393
  key: 1,
8377
8394
  class: "r-textfield__hint"
8378
- }, g3 = /* @__PURE__ */ F({
8395
+ }, b3 = /* @__PURE__ */ F({
8379
8396
  __name: "RTextfield",
8380
8397
  props: {
8381
8398
  id: { default: "" },
@@ -8402,16 +8419,16 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8402
8419
  "click:clear"
8403
8420
  ],
8404
8421
  setup(H, { emit: V }) {
8405
- const C = H, L = D(), A = J({
8422
+ const C = H, L = D(), M = J({
8406
8423
  value: ""
8407
- }), M = D(C.type), i = {
8424
+ }), A = D(C.type), i = {
8408
8425
  password: "mdiLock",
8409
8426
  email: "mdiEmailOutline",
8410
8427
  tel: "mdiPhone",
8411
8428
  url: "mdiLink",
8412
8429
  number: "mdiNumeric",
8413
8430
  text: ""
8414
- }, e = D(!1), d = g(() => !!A.value), m = g(() => {
8431
+ }, e = D(!1), d = k(() => !!M.value), m = k(() => {
8415
8432
  const { disabled: h, loading: P, clearable: E, errorMsg: _ } = C;
8416
8433
  return {
8417
8434
  "r-textfield": !0,
@@ -8422,42 +8439,42 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8422
8439
  "r-textfield--focus": e.value,
8423
8440
  "r-textfield--filled": d.value
8424
8441
  };
8425
- }), o = g(() => ({
8442
+ }), o = k(() => ({
8426
8443
  "r-textfield__prepend-icon": !0,
8427
8444
  "r-textfield__prepend-icon--loading": C.loading,
8428
8445
  "r-textfield__prepend-icon--error": r.value && d.value
8429
- })), l = g(() => ({
8446
+ })), l = k(() => ({
8430
8447
  "r-textfield__append-icon": !0,
8431
8448
  "r-textfield__append-icon--clear": u.value,
8432
8449
  "r-textfield__append-icon--error": r.value
8433
- })), n = g(() => A.value.length > 0), r = g(() => {
8450
+ })), n = k(() => M.value.length > 0), r = k(() => {
8434
8451
  var h;
8435
8452
  return (h = C.errorMsg) == null ? void 0 : h.length;
8436
- }), u = g(() => C.clearable && n.value), b = g(() => {
8453
+ }), u = k(() => C.clearable && n.value), b = k(() => {
8437
8454
  const { prependIcon: h, type: P } = C;
8438
8455
  return h === "none" ? "" : h || i[P];
8439
- }), c = g(() => {
8456
+ }), c = k(() => {
8440
8457
  const { appendIcon: h, type: P } = C;
8441
- return h === "none" ? "" : r.value ? "mdiAlertCircleOutline" : u.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && M.value === "password" ? "mdiEyeOutline" : P === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
8458
+ 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;
8442
8459
  }), w = (h) => {
8443
8460
  e.value = !0, V("focus", h);
8444
8461
  }, T = (h) => {
8445
8462
  e.value = !1, V("blur", h);
8446
8463
  }, S = (h) => {
8447
- A.value = h.target.value, V("input", h);
8464
+ M.value = h.target.value, V("input", h);
8448
8465
  }, O = () => {
8449
8466
  var h;
8450
8467
  if (u.value) {
8451
- A.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8452
- value: M.value === "number" ? +A.value : A.value
8468
+ M.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8469
+ value: A.value === "number" ? +M.value : M.value
8453
8470
  });
8454
8471
  return;
8455
8472
  }
8456
8473
  V("click:icon", {
8457
- value: M.value === "number" ? +A.value : A.value
8458
- }), M.value === "password" && s();
8474
+ value: A.value === "number" ? +M.value : M.value
8475
+ }), A.value === "password" && s();
8459
8476
  }, s = () => {
8460
- M.value = M.value === "password" ? "text" : "password";
8477
+ A.value = A.value === "password" ? "text" : "password";
8461
8478
  }, v = () => {
8462
8479
  var h;
8463
8480
  (h = L.value) == null || h.focus();
@@ -8465,21 +8482,21 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8465
8482
  return W(
8466
8483
  () => C.modelValue,
8467
8484
  (h) => {
8468
- A.value = h;
8485
+ M.value = h;
8469
8486
  },
8470
8487
  {
8471
8488
  immediate: !0
8472
8489
  }
8473
8490
  ), W(
8474
- () => A.value,
8491
+ () => M.value,
8475
8492
  (h) => {
8476
8493
  V(
8477
8494
  "update:modelValue",
8478
- M.value === "number" ? +h : h
8495
+ A.value === "number" ? +h : h
8479
8496
  );
8480
8497
  }
8481
8498
  ), (h, P) => (t(), a("fieldset", null, [
8482
- Z("div", O5, [
8499
+ Z("div", f5, [
8483
8500
  C.label ? (t(), x(Q1, {
8484
8501
  key: 0,
8485
8502
  id: C.id,
@@ -8489,8 +8506,8 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8489
8506
  for: C.id,
8490
8507
  text: C.label,
8491
8508
  onClick: v
8492
- }, null, 8, ["id", "for", "text"])) : k("", !0),
8493
- Z("div", p5, [
8509
+ }, null, 8, ["id", "for", "text"])) : g("", !0),
8510
+ Z("div", g5, [
8494
8511
  Z("div", {
8495
8512
  class: f(p(m))
8496
8513
  }, [
@@ -8500,7 +8517,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8500
8517
  class: f(p(o)),
8501
8518
  name: p(b),
8502
8519
  size: 20
8503
- }, null, 8, ["class", "name"])) : k("", !0),
8520
+ }, null, 8, ["class", "name"])) : g("", !0),
8504
8521
  Z("input", {
8505
8522
  id: C.id,
8506
8523
  ref_key: "inputRef",
@@ -8509,12 +8526,12 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8509
8526
  max: C.max,
8510
8527
  min: C.min,
8511
8528
  placeholder: C.placeholder,
8512
- type: M.value,
8513
- value: A.value,
8529
+ type: A.value,
8530
+ value: M.value,
8514
8531
  onBlur: T,
8515
8532
  onFocus: w,
8516
8533
  onInput: S
8517
- }, null, 40, h5),
8534
+ }, null, 40, k5),
8518
8535
  B(h.$slots, "append"),
8519
8536
  p(c) && !h.$slots.append ? (t(), x(R, {
8520
8537
  key: 1,
@@ -8522,10 +8539,10 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8522
8539
  name: `${p(c)}`,
8523
8540
  size: 20,
8524
8541
  onClick: O
8525
- }, null, 8, ["class", "name"])) : k("", !0)
8542
+ }, null, 8, ["class", "name"])) : g("", !0)
8526
8543
  ], 2),
8527
- C.errorMsg ? (t(), a("div", f5, y(C.errorMsg), 1)) : k("", !0),
8528
- !C.errorMsg && C.hint ? (t(), a("div", g5, y(C.hint), 1)) : k("", !0)
8544
+ C.errorMsg ? (t(), a("div", B5, y(C.errorMsg), 1)) : g("", !0),
8545
+ !C.errorMsg && C.hint ? (t(), a("div", b5, y(C.hint), 1)) : g("", !0)
8529
8546
  ])
8530
8547
  ])
8531
8548
  ]));
@@ -8544,21 +8561,21 @@ function h1(H) {
8544
8561
  return H === "y" ? "height" : "width";
8545
8562
  }
8546
8563
  function y1(H, V, C) {
8547
- let { reference: L, floating: A } = H;
8548
- const M = L.x + L.width / 2 - A.width / 2, i = L.y + L.height / 2 - A.height / 2, e = i1(V), d = h1(e), m = L[d] / 2 - A[d] / 2, o = e === "x";
8564
+ let { reference: L, floating: M } = H;
8565
+ 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";
8549
8566
  let l;
8550
8567
  switch (A1(V)) {
8551
8568
  case "top":
8552
- l = { x: M, y: L.y - A.height };
8569
+ l = { x: A, y: L.y - M.height };
8553
8570
  break;
8554
8571
  case "bottom":
8555
- l = { x: M, y: L.y + L.height };
8572
+ l = { x: A, y: L.y + L.height };
8556
8573
  break;
8557
8574
  case "right":
8558
8575
  l = { x: L.x + L.width, y: i };
8559
8576
  break;
8560
8577
  case "left":
8561
- l = { x: L.x - A.width, y: i };
8578
+ l = { x: L.x - M.width, y: i };
8562
8579
  break;
8563
8580
  default:
8564
8581
  l = { x: L.x, y: L.y };
@@ -8572,14 +8589,14 @@ function y1(H, V, C) {
8572
8589
  }
8573
8590
  return l;
8574
8591
  }
8575
- const k5 = async (H, V, C) => {
8576
- const { placement: L = "bottom", strategy: A = "absolute", middleware: M = [], platform: i } = C, e = M.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8577
- let m = await i.getElementRects({ reference: H, floating: V, strategy: A }), { x: o, y: l } = y1(m, L, d), n = L, r = {}, u = 0;
8592
+ const y5 = async (H, V, C) => {
8593
+ 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));
8594
+ let m = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: l } = y1(m, L, d), n = L, r = {}, u = 0;
8578
8595
  for (let b = 0; b < e.length; b++) {
8579
- 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: A, middlewareData: r, rects: m, platform: i, elements: { reference: H, floating: V } });
8580
- 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: A }) : s.rects), { x: o, y: l } = y1(m, n, d)), b = -1);
8596
+ 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 } });
8597
+ 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);
8581
8598
  }
8582
- return { x: o, y: l, placement: n, strategy: A, middlewareData: r };
8599
+ return { x: o, y: l, placement: n, strategy: M, middlewareData: r };
8583
8600
  };
8584
8601
  function G1(H) {
8585
8602
  return typeof H != "number" ? function(V) {
@@ -8592,53 +8609,53 @@ function d1(H) {
8592
8609
  async function t1(H, V) {
8593
8610
  var C;
8594
8611
  V === void 0 && (V = {});
8595
- const { x: L, y: A, platform: M, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: n = !1, padding: r = 0 } = V, u = G1(r), b = e[n ? l === "floating" ? "reference" : "floating" : l], c = d1(await M.getClippingRect({ element: (C = await (M.isElement == null ? void 0 : M.isElement(b))) == null || C ? b : b.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), w = d1(M.convertOffsetParentRelativeRectToViewportRelativeRect ? await M.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: A } : i.reference, offsetParent: await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8612
+ 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 = G1(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]);
8596
8613
  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 };
8597
8614
  }
8598
- const B5 = Math.min, b5 = Math.max;
8615
+ const w5 = Math.min, P5 = Math.max;
8599
8616
  function s1(H, V, C) {
8600
- return b5(H, B5(V, C));
8617
+ return P5(H, w5(V, C));
8601
8618
  }
8602
- const y5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8603
- const { element: C, padding: L = 0 } = H ?? {}, { x: A, y: M, placement: i, rects: e, platform: d } = V;
8619
+ const T5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8620
+ const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
8604
8621
  if (C == null)
8605
8622
  return {};
8606
- const m = G1(L), o = { x: A, y: M }, 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));
8623
+ const m = G1(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));
8607
8624
  let O = S ? l === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0;
8608
8625
  O === 0 && (O = e.floating[r]);
8609
8626
  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];
8610
8627
  return { [l]: o[l] - (_ ? P < v ? v - P : h - P : 0), data: { [l]: E, centerOffset: P - E } };
8611
- } }), w5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8628
+ } }), v5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8612
8629
  function m1(H) {
8613
- return H.replace(/left|right|bottom|top/g, (V) => w5[V]);
8630
+ return H.replace(/left|right|bottom|top/g, (V) => v5[V]);
8614
8631
  }
8615
- function P5(H, V, C) {
8632
+ function F5(H, V, C) {
8616
8633
  C === void 0 && (C = !1);
8617
- const L = o1(H), A = i1(H), M = h1(A);
8618
- let i = A === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8619
- return V.reference[M] > V.floating[M] && (i = m1(i)), { main: i, cross: m1(i) };
8634
+ const L = o1(H), M = i1(H), A = h1(M);
8635
+ let i = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8636
+ return V.reference[A] > V.floating[A] && (i = m1(i)), { main: i, cross: m1(i) };
8620
8637
  }
8621
- const T5 = { start: "end", end: "start" };
8638
+ const R5 = { start: "end", end: "start" };
8622
8639
  function w1(H) {
8623
- return H.replace(/start|end/g, (V) => T5[V]);
8640
+ return H.replace(/start|end/g, (V) => R5[V]);
8624
8641
  }
8625
8642
  const z1 = ["top", "right", "bottom", "left"];
8626
8643
  z1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8627
- const v5 = function(H) {
8644
+ const x5 = function(H) {
8628
8645
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8629
8646
  var C;
8630
- const { placement: L, middlewareData: A, rects: M, 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) {
8647
+ 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) {
8631
8648
  const E = m1(P);
8632
8649
  return [w1(P), E, w1(E)];
8633
8650
  }(i)), w = [i, ...c], T = await t1(V, u), S = [];
8634
- let O = ((C = A.flip) == null ? void 0 : C.overflows) || [];
8651
+ let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8635
8652
  if (m && S.push(T[b]), o) {
8636
- const { main: P, cross: E } = P5(L, M, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8653
+ const { main: P, cross: E } = F5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8637
8654
  S.push(T[P], T[E]);
8638
8655
  }
8639
8656
  if (O = [...O, { placement: L, overflows: S }], !S.every((P) => P <= 0)) {
8640
8657
  var s, v;
8641
- const P = ((s = (v = A.flip) == null ? void 0 : v.index) != null ? s : 0) + 1, E = w[P];
8658
+ const P = ((s = (v = M.flip) == null ? void 0 : v.index) != null ? s : 0) + 1, E = w[P];
8642
8659
  if (E)
8643
8660
  return { data: { index: P, overflows: O }, reset: { placement: E } };
8644
8661
  let _ = "bottom";
@@ -8664,44 +8681,44 @@ function P1(H, V) {
8664
8681
  function T1(H) {
8665
8682
  return z1.some((V) => H[V] >= 0);
8666
8683
  }
8667
- const F5 = function(H) {
8684
+ const D5 = function(H) {
8668
8685
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8669
8686
  return { name: "hide", async fn(L) {
8670
- const { rects: A } = L;
8687
+ const { rects: M } = L;
8671
8688
  switch (V) {
8672
8689
  case "referenceHidden": {
8673
- const M = P1(await t1(L, { ...C, elementContext: "reference" }), A.reference);
8674
- return { data: { referenceHiddenOffsets: M, referenceHidden: T1(M) } };
8690
+ const A = P1(await t1(L, { ...C, elementContext: "reference" }), M.reference);
8691
+ return { data: { referenceHiddenOffsets: A, referenceHidden: T1(A) } };
8675
8692
  }
8676
8693
  case "escaped": {
8677
- const M = P1(await t1(L, { ...C, altBoundary: !0 }), A.floating);
8678
- return { data: { escapedOffsets: M, escaped: T1(M) } };
8694
+ const A = P1(await t1(L, { ...C, altBoundary: !0 }), M.floating);
8695
+ return { data: { escapedOffsets: A, escaped: T1(A) } };
8679
8696
  }
8680
8697
  default:
8681
8698
  return {};
8682
8699
  }
8683
8700
  } };
8684
- }, R5 = function(H) {
8701
+ }, E5 = function(H) {
8685
8702
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8686
- const { x: C, y: L } = V, A = await async function(M, i) {
8687
- const { placement: e, platform: d, elements: m } = M, 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(M) : i;
8703
+ const { x: C, y: L } = V, M = await async function(A, i) {
8704
+ 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;
8688
8705
  let { mainAxis: w, crossAxis: T, alignmentAxis: S } = typeof c == "number" ? { mainAxis: c, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...c };
8689
8706
  return n && typeof S == "number" && (T = n === "end" ? -1 * S : S), r ? { x: T * b, y: w * u } : { x: w * u, y: T * b };
8690
8707
  }(V, H);
8691
- return { x: C + A.x, y: L + A.y, data: A };
8708
+ return { x: C + M.x, y: L + M.y, data: M };
8692
8709
  } };
8693
8710
  };
8694
- function x5(H) {
8711
+ function _5(H) {
8695
8712
  return H === "x" ? "y" : "x";
8696
8713
  }
8697
- const D5 = function(H) {
8714
+ const W5 = function(H) {
8698
8715
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8699
- const { x: C, y: L, placement: A } = V, { mainAxis: M = !0, crossAxis: i = !1, limiter: e = { fn: (c) => {
8716
+ const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (c) => {
8700
8717
  let { x: w, y: T } = c;
8701
8718
  return { x: w, y: T };
8702
- } }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(A)), n = x5(l);
8719
+ } }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(M)), n = _5(l);
8703
8720
  let r = m[l], u = m[n];
8704
- if (M) {
8721
+ if (A) {
8705
8722
  const c = l === "y" ? "bottom" : "right";
8706
8723
  r = s1(r + o[l === "y" ? "top" : "left"], r, r - o[c]);
8707
8724
  }
@@ -8745,17 +8762,17 @@ function v1(H) {
8745
8762
  return typeof ShadowRoot > "u" ? !1 : H instanceof G(H).ShadowRoot || H instanceof ShadowRoot;
8746
8763
  }
8747
8764
  function r1(H) {
8748
- const { overflow: V, overflowX: C, overflowY: L, display: A } = I(H);
8749
- return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(A);
8765
+ const { overflow: V, overflowX: C, overflowY: L, display: M } = I(H);
8766
+ return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8750
8767
  }
8751
- function E5(H) {
8768
+ function N5(H) {
8752
8769
  return ["table", "td", "th"].includes($(H));
8753
8770
  }
8754
8771
  function O1(H) {
8755
8772
  const V = /firefox/i.test($1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8756
- return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((A) => C.willChange.includes(A)) || ["paint", "layout", "strict", "content"].some((A) => {
8757
- const M = C.contain;
8758
- return M != null && M.includes(A);
8773
+ return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((M) => C.willChange.includes(M)) || ["paint", "layout", "strict", "content"].some((M) => {
8774
+ const A = C.contain;
8775
+ return A != null && A.includes(M);
8759
8776
  });
8760
8777
  }
8761
8778
  function K1() {
@@ -8766,12 +8783,12 @@ function f1(H) {
8766
8783
  }
8767
8784
  const F1 = Math.min, L1 = Math.max, l1 = Math.round;
8768
8785
  function j(H, V, C) {
8769
- var L, A, M, i;
8786
+ var L, M, A, i;
8770
8787
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8771
8788
  const e = H.getBoundingClientRect();
8772
8789
  let d = 1, m = 1;
8773
8790
  V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
8774
- const o = X(H) ? G(H) : window, l = !K1() && C, n = (e.left + (l && (L = (A = o.visualViewport) == null ? void 0 : A.offsetLeft) != null ? L : 0)) / d, r = (e.top + (l && (M = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? M : 0)) / m, u = e.width / d, b = e.height / m;
8791
+ const o = X(H) ? G(H) : window, l = !K1() && 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;
8775
8792
  return { width: u, height: b, top: r, right: n + u, bottom: r + b, left: n, x: n, y: r };
8776
8793
  }
8777
8794
  function U(H) {
@@ -8784,20 +8801,20 @@ function n1(H) {
8784
8801
  function j1(H) {
8785
8802
  return j(U(H)).left + n1(H).scrollLeft;
8786
8803
  }
8787
- function _5(H, V, C) {
8788
- const L = Q(V), A = U(V), M = j(H, L && function(d) {
8804
+ function I5(H, V, C) {
8805
+ const L = Q(V), M = U(V), A = j(H, L && function(d) {
8789
8806
  const m = j(d);
8790
8807
  return l1(m.width) !== d.offsetWidth || l1(m.height) !== d.offsetHeight;
8791
8808
  }(V), C === "fixed");
8792
8809
  let i = { scrollLeft: 0, scrollTop: 0 };
8793
8810
  const e = { x: 0, y: 0 };
8794
8811
  if (L || !L && C !== "fixed")
8795
- if (($(V) !== "body" || r1(A)) && (i = n1(V)), Q(V)) {
8812
+ if (($(V) !== "body" || r1(M)) && (i = n1(V)), Q(V)) {
8796
8813
  const d = j(V, !0);
8797
8814
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8798
8815
  } else
8799
- A && (e.x = j1(A));
8800
- return { x: M.left + i.scrollLeft - e.x, y: M.top + i.scrollTop - e.y, width: M.width, height: M.height };
8816
+ M && (e.x = j1(M));
8817
+ return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
8801
8818
  }
8802
8819
  function M1(H) {
8803
8820
  if ($(H) === "html")
@@ -8811,14 +8828,14 @@ function R1(H) {
8811
8828
  function x1(H) {
8812
8829
  const V = G(H);
8813
8830
  let C = R1(H);
8814
- for (; C && E5(C) && I(C).position === "static"; )
8831
+ for (; C && N5(C) && I(C).position === "static"; )
8815
8832
  C = R1(C);
8816
8833
  return C && ($(C) === "html" || $(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8817
- let A = M1(L);
8818
- for (; Q(A) && !f1(A); ) {
8819
- if (O1(A))
8820
- return A;
8821
- A = M1(A);
8834
+ let M = M1(L);
8835
+ for (; Q(M) && !f1(M); ) {
8836
+ if (O1(M))
8837
+ return M;
8838
+ M = M1(M);
8822
8839
  }
8823
8840
  return null;
8824
8841
  }(H) || V;
@@ -8830,33 +8847,33 @@ function q1(H) {
8830
8847
  function Y1(H, V) {
8831
8848
  var C;
8832
8849
  V === void 0 && (V = []);
8833
- const L = q1(H), A = L === ((C = H.ownerDocument) == null ? void 0 : C.body), M = G(L), i = A ? [M].concat(M.visualViewport || [], r1(L) ? L : []) : L, e = V.concat(i);
8834
- return A ? e : e.concat(Y1(i));
8850
+ const L = q1(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);
8851
+ return M ? e : e.concat(Y1(i));
8835
8852
  }
8836
8853
  function D1(H, V, C) {
8837
- return V === "viewport" ? d1(function(L, A) {
8838
- const M = G(L), i = U(L), e = M.visualViewport;
8854
+ return V === "viewport" ? d1(function(L, M) {
8855
+ const A = G(L), i = U(L), e = A.visualViewport;
8839
8856
  let d = i.clientWidth, m = i.clientHeight, o = 0, l = 0;
8840
8857
  if (e) {
8841
8858
  d = e.width, m = e.height;
8842
8859
  const n = K1();
8843
- (n || !n && A === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8860
+ (n || !n && M === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8844
8861
  }
8845
8862
  return { width: d, height: m, x: o, y: l };
8846
- }(H, C)) : X(V) ? function(L, A) {
8847
- const M = j(L, !1, A === "fixed"), i = M.top + L.clientTop, e = M.left + L.clientLeft;
8863
+ }(H, C)) : X(V) ? function(L, M) {
8864
+ const A = j(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8848
8865
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8849
8866
  }(V, C) : d1(function(L) {
8850
- var A;
8851
- const M = U(L), i = n1(L), e = (A = L.ownerDocument) == null ? void 0 : A.body, d = L1(M.scrollWidth, M.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = L1(M.scrollHeight, M.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8867
+ var M;
8868
+ const A = U(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);
8852
8869
  let o = -i.scrollLeft + j1(L);
8853
8870
  const l = -i.scrollTop;
8854
- return I(e || M).direction === "rtl" && (o += L1(M.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8871
+ return I(e || A).direction === "rtl" && (o += L1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8855
8872
  }(U(H)));
8856
8873
  }
8857
- const W5 = { getClippingRect: function(H) {
8858
- let { element: V, boundary: C, rootBoundary: L, strategy: A } = H;
8859
- const M = C === "clippingAncestors" ? function(m) {
8874
+ const Q5 = { getClippingRect: function(H) {
8875
+ let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8876
+ const A = C === "clippingAncestors" ? function(m) {
8860
8877
  let o = Y1(m).filter((u) => X(u) && $(u) !== "body"), l = null;
8861
8878
  const n = I(m).position === "fixed";
8862
8879
  let r = n ? M1(m) : m;
@@ -8865,19 +8882,19 @@ const W5 = { getClippingRect: function(H) {
8865
8882
  (n ? b || l : b || u.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = u : o = o.filter((c) => c !== r), r = M1(r);
8866
8883
  }
8867
8884
  return o;
8868
- }(V) : [].concat(C), i = [...M, L], e = i[0], d = i.reduce((m, o) => {
8869
- const l = D1(V, o, A);
8885
+ }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((m, o) => {
8886
+ const l = D1(V, o, M);
8870
8887
  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;
8871
- }, D1(V, e, A));
8888
+ }, D1(V, e, M));
8872
8889
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8873
8890
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8874
8891
  let { rect: V, offsetParent: C, strategy: L } = H;
8875
- const A = Q(C), M = U(C);
8876
- if (C === M)
8892
+ const M = Q(C), A = U(C);
8893
+ if (C === A)
8877
8894
  return V;
8878
8895
  let i = { scrollLeft: 0, scrollTop: 0 };
8879
8896
  const e = { x: 0, y: 0 };
8880
- if ((A || !A && L !== "fixed") && (($(C) !== "body" || r1(M)) && (i = n1(C)), Q(C))) {
8897
+ if ((M || !M && L !== "fixed") && (($(C) !== "body" || r1(A)) && (i = n1(C)), Q(C))) {
8881
8898
  const d = j(C, !0);
8882
8899
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8883
8900
  }
@@ -8889,18 +8906,18 @@ const W5 = { getClippingRect: function(H) {
8889
8906
  return { width: V.width, height: V.height };
8890
8907
  }, getOffsetParent: x1, getDocumentElement: U, async getElementRects(H) {
8891
8908
  let { reference: V, floating: C, strategy: L } = H;
8892
- const A = this.getOffsetParent || x1, M = this.getDimensions;
8893
- return { reference: _5(V, await A(C), L), floating: { x: 0, y: 0, ...await M(C) } };
8894
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, N5 = (H, V, C) => k5(H, V, { platform: W5, ...C });
8895
- function S1({ value: H }, { value: V }, { value: C }, L, A, M) {
8896
- !H || !V || N5(H, V, {
8909
+ const M = this.getOffsetParent || x1, A = this.getDimensions;
8910
+ return { reference: I5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
8911
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, G5 = (H, V, C) => y5(H, V, { platform: Q5, ...C });
8912
+ function S1({ value: H }, { value: V }, { value: C }, L, M, A) {
8913
+ !H || !V || G5(H, V, {
8897
8914
  placement: L,
8898
8915
  middleware: [
8899
- R5(A),
8900
- D5({ padding: M }),
8901
- y5({ element: C }),
8902
- v5(),
8903
- F5()
8916
+ E5(M),
8917
+ W5({ padding: A }),
8918
+ T5({ element: C }),
8919
+ x5(),
8920
+ D5()
8904
8921
  ]
8905
8922
  }).then(({ x: i, y: e, placement: d, middlewareData: m }) => {
8906
8923
  if (Object.assign(V.style, {
@@ -8925,7 +8942,7 @@ function S1({ value: H }, { value: V }, { value: C }, L, A, M) {
8925
8942
  });
8926
8943
  }
8927
8944
  var X1 = /* @__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))(X1 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8928
- const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], Q5 = ["innerHTML"], G5 = /* @__PURE__ */ F({
8945
+ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], U5 = ["innerHTML"], $5 = /* @__PURE__ */ F({
8929
8946
  __name: "RTooltip",
8930
8947
  props: {
8931
8948
  placement: { default: X1.Top },
@@ -8950,13 +8967,13 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8950
8967
  e2((c) => ({
8951
8968
  "271323d4": p(b)
8952
8969
  }));
8953
- const L = D(null), A = D(null), M = D(null);
8970
+ const L = D(null), M = D(null), A = D(null);
8954
8971
  function i() {
8955
8972
  const { placement: c, offset: w, padding: T, disabled: S } = C;
8956
- S || (A.value.style.display = "block", V("show"), S1(L, A, M, c, w, T), d(), C.outsideClick && m("add"));
8973
+ S || (M.value.style.display = "block", V("show"), S1(L, M, A, c, w, T), d(), C.outsideClick && m("add"));
8957
8974
  }
8958
8975
  function e() {
8959
- A.value.style.display = "", V("hide"), C.outsideClick && m("remove");
8976
+ M.value.style.display = "", V("hide"), C.outsideClick && m("remove");
8960
8977
  }
8961
8978
  const d = () => {
8962
8979
  C.autoHide && setTimeout(() => {
@@ -8965,27 +8982,27 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8965
8982
  }, m = (c) => {
8966
8983
  c === "add" && document.addEventListener("click", e), c === "remove" && document.removeEventListener("click", e);
8967
8984
  }, o = () => {
8968
- C.disabled || C.triggers == z.Click && (A.value.style.display === "block" ? e() : i());
8985
+ C.disabled || C.triggers == z.Click && (M.value.style.display === "block" ? e() : i());
8969
8986
  }, l = () => {
8970
8987
  C.disabled || C.triggers === z.Hover && i();
8971
8988
  }, n = () => {
8972
8989
  if (!C.disabled)
8973
- if (A.value.style.display === "" && C.triggers === z.Hover) {
8990
+ if (M.value.style.display === "" && C.triggers === z.Hover) {
8974
8991
  i();
8975
8992
  return;
8976
8993
  } else
8977
- A.value.style.display !== "" && C.triggers === z.Hover && e();
8994
+ M.value.style.display !== "" && C.triggers === z.Hover && e();
8978
8995
  }, r = () => {
8979
8996
  const { placement: c, offset: w, padding: T, disabled: S } = C;
8980
- S || C.triggers === z.Hover && S1(L, A, M, c, w, T);
8981
- }, u = g(() => ({
8997
+ S || C.triggers === z.Hover && S1(L, M, A, c, w, T);
8998
+ }, u = k(() => ({
8982
8999
  tooltip: !0,
8983
9000
  "tooltip--dark": C.dark,
8984
9001
  "tooltip--light": C.light
8985
9002
  }));
8986
9003
  window.onresize = () => {
8987
9004
  const { placement: c, offset: w, padding: T, disabled: S } = C;
8988
- S || C.resizable && S1(L, A, M, c, w, T);
9005
+ S || C.resizable && S1(L, M, A, c, w, T);
8989
9006
  }, d2(
8990
9007
  () => {
8991
9008
  C.disabled || C.shown && C.triggers === z.Manual && i();
@@ -8993,7 +9010,7 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8993
9010
  { flush: "post" }
8994
9011
  // this is important to avoid infinite loop & for fire on mounted
8995
9012
  );
8996
- const b = g(() => `${C.showDelay}ms`);
9013
+ const b = k(() => `${C.showDelay}ms`);
8997
9014
  return (c, w) => (t(), a(K, null, [
8998
9015
  Z("div", {
8999
9016
  ref_key: "trigger",
@@ -9006,20 +9023,20 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9006
9023
  onMousemove: N(r, ["stop"])
9007
9024
  }, [
9008
9025
  B(c.$slots, "trigger", {}, void 0, !0),
9009
- c.$slots.trigger ? k("", !0) : (t(), a("div", {
9026
+ c.$slots.trigger ? g("", !0) : (t(), a("div", {
9010
9027
  key: 0,
9011
9028
  innerHTML: C.triggerContent
9012
- }, null, 8, Q5))
9013
- ], 40, I5),
9029
+ }, null, 8, U5))
9030
+ ], 40, z5),
9014
9031
  Z("div", {
9015
9032
  id: "tooltip",
9016
9033
  ref_key: "tooltip",
9017
- ref: A,
9034
+ ref: M,
9018
9035
  class: f(p(u)),
9019
9036
  role: "tooltip"
9020
9037
  }, [
9021
9038
  B(c.$slots, "content", {}, void 0, !0),
9022
- c.$slots.content ? k("", !0) : (t(), a("div", {
9039
+ c.$slots.content ? g("", !0) : (t(), a("div", {
9023
9040
  key: 0,
9024
9041
  class: f({
9025
9042
  tooltip__content: !0,
@@ -9027,11 +9044,11 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9027
9044
  "tooltip__content--light": C.light
9028
9045
  })
9029
9046
  }, y(C.text), 3)),
9030
- c.$slots.content ? k("", !0) : (t(), a("div", {
9047
+ c.$slots.content ? g("", !0) : (t(), a("div", {
9031
9048
  key: 1,
9032
9049
  id: "arrow",
9033
9050
  ref_key: "arrowElement",
9034
- ref: M,
9051
+ ref: A,
9035
9052
  class: f({
9036
9053
  tooltip__arrow: !0,
9037
9054
  "tooltip__arrow--dark": C.dark,
@@ -9042,15 +9059,15 @@ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9042
9059
  ], 64));
9043
9060
  }
9044
9061
  });
9045
- const z5 = (H, V) => {
9062
+ const K5 = (H, V) => {
9046
9063
  const C = H.__vccOpts || H;
9047
- for (const [L, A] of V)
9048
- C[L] = A;
9064
+ for (const [L, M] of V)
9065
+ C[L] = M;
9049
9066
  return C;
9050
- }, k3 = /* @__PURE__ */ z5(G5, [["__scopeId", "data-v-ee5f5651"]]), U5 = { class: "r-breadcrumb" }, $5 = {
9067
+ }, y3 = /* @__PURE__ */ K5($5, [["__scopeId", "data-v-ee5f5651"]]), j5 = { class: "r-breadcrumb" }, q5 = {
9051
9068
  key: 0,
9052
9069
  class: "r-breadcrumb__title"
9053
- }, B3 = /* @__PURE__ */ F({
9070
+ }, w3 = /* @__PURE__ */ F({
9054
9071
  __name: "RBreadcrumb",
9055
9072
  props: {
9056
9073
  items: { default: () => [] },
@@ -9059,24 +9076,24 @@ const z5 = (H, V) => {
9059
9076
  setup(H) {
9060
9077
  const V = H;
9061
9078
  return (C, L) => {
9062
- const A = t2("router-link");
9063
- return t(), a("div", U5, [
9064
- (t(!0), a(K, null, Y(V.items, (M, i) => (t(), a("div", {
9079
+ const M = t2("router-link");
9080
+ return t(), a("div", j5, [
9081
+ (t(!0), a(K, null, Y(V.items, (A, i) => (t(), a("div", {
9065
9082
  key: i,
9066
9083
  class: "r-breadcrumb__item"
9067
9084
  }, [
9068
- q(A, {
9085
+ q(M, {
9069
9086
  class: "r-breadcrumb__link",
9070
- to: M.to
9087
+ to: A.to
9071
9088
  }, {
9072
9089
  default: _1(() => [
9073
9090
  B(C.$slots, "item-icon", {}, () => [
9074
- M.icon ? (t(), x(R, {
9091
+ A.icon ? (t(), x(R, {
9075
9092
  key: 0,
9076
- name: M.icon
9077
- }, null, 8, ["name"])) : k("", !0)
9093
+ name: A.icon
9094
+ }, null, 8, ["name"])) : g("", !0)
9078
9095
  ]),
9079
- M.onlyIcon ? k("", !0) : (t(), a("span", $5, y(M.title), 1))
9096
+ A.onlyIcon ? g("", !0) : (t(), a("span", q5, y(A.title), 1))
9080
9097
  ]),
9081
9098
  _: 2
9082
9099
  }, 1032, ["to"]),
@@ -9085,27 +9102,27 @@ const z5 = (H, V) => {
9085
9102
  key: 0,
9086
9103
  class: "r-breadcrumb__separator",
9087
9104
  name: V.seperator
9088
- }, null, 8, ["name"])) : k("", !0)
9105
+ }, null, 8, ["name"])) : g("", !0)
9089
9106
  ])
9090
9107
  ]))), 128))
9091
9108
  ]);
9092
9109
  };
9093
9110
  }
9094
- }), K5 = { class: "r-pagination" }, j5 = { class: "r-pagination__page-info" }, q5 = { key: 0 }, Y5 = { class: "r-pagination__page-info__current-page" }, X5 = { class: "r-pagination__page-info__total-pages" }, J5 = { class: "r-pagination__paginator" }, C3 = ["disabled"], H3 = /* @__PURE__ */ Z("path", {
9111
+ }), 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", {
9095
9112
  d: "M0 0h24v24H0z",
9096
9113
  fill: "none",
9097
9114
  stroke: "none"
9098
- }, null, -1), V3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), L3 = [
9099
- H3,
9100
- V3
9101
- ], M3 = ["max", "value"], A3 = ["disabled"], i3 = /* @__PURE__ */ Z("path", {
9115
+ }, null, -1), A3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), i3 = [
9116
+ M3,
9117
+ A3
9118
+ ], e3 = ["max", "value"], d3 = ["disabled"], t3 = /* @__PURE__ */ Z("path", {
9102
9119
  d: "M0 0h24v24H0z",
9103
9120
  fill: "none",
9104
9121
  stroke: "none"
9105
- }, null, -1), e3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), d3 = [
9106
- i3,
9107
- e3
9108
- ], t3 = { class: "r-pagination__paginator__total" }, b3 = /* @__PURE__ */ F({
9122
+ }, null, -1), m3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), l3 = [
9123
+ t3,
9124
+ m3
9125
+ ], o3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ F({
9109
9126
  __name: "RPagination",
9110
9127
  props: {
9111
9128
  page: { default: 1 },
@@ -9117,23 +9134,23 @@ const z5 = (H, V) => {
9117
9134
  },
9118
9135
  emits: ["update:page"],
9119
9136
  setup(H, { emit: V }) {
9120
- const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9121
- M < 1 || M > L.value || V("update:page", M);
9137
+ const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9138
+ A < 1 || A > L.value || V("update:page", A);
9122
9139
  };
9123
- return (M, i) => (t(), a("div", K5, [
9124
- Z("div", j5, [
9125
- H.slash ? k("", !0) : (t(), a("span", q5, y(C.pageText), 1)),
9126
- Z("span", Y5, y(C.page), 1),
9140
+ return (A, i) => (t(), a("div", Y5, [
9141
+ Z("div", X5, [
9142
+ H.slash ? g("", !0) : (t(), a("span", J5, y(C.pageText), 1)),
9143
+ Z("span", C3, y(C.page), 1),
9127
9144
  Z("span", null, y(H.slash ? "/" : C.ofText), 1),
9128
- Z("span", X5, y(p(L)), 1)
9145
+ Z("span", H3, y(p(L)), 1)
9129
9146
  ]),
9130
- Z("div", J5, [
9147
+ Z("div", V3, [
9131
9148
  Z("button", {
9132
9149
  class: "r-pagination__paginator__prev",
9133
9150
  disabled: C.page === 1,
9134
- onClick: i[0] || (i[0] = (e) => A(+C.page - 1))
9151
+ onClick: i[0] || (i[0] = (e) => M(+C.page - 1))
9135
9152
  }, [
9136
- B(M.$slots, "prev", {}, () => [
9153
+ B(A.$slots, "prev", {}, () => [
9137
9154
  (t(), a("svg", {
9138
9155
  class: f({ "stroke-gray-400": C.page === 1 }),
9139
9156
  fill: "none",
@@ -9145,9 +9162,9 @@ const z5 = (H, V) => {
9145
9162
  viewBox: "0 0 24 24",
9146
9163
  width: "16",
9147
9164
  xmlns: "http://www.w3.org/2000/svg"
9148
- }, L3, 2))
9165
+ }, i3, 2))
9149
9166
  ])
9150
- ], 8, C3),
9167
+ ], 8, L3),
9151
9168
  Z("input", {
9152
9169
  class: "r-pagination__paginator__input",
9153
9170
  max: p(L),
@@ -9156,15 +9173,15 @@ const z5 = (H, V) => {
9156
9173
  value: C.page,
9157
9174
  onBlur: i[1] || (i[1] = (e) => {
9158
9175
  var d;
9159
- return A(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9176
+ return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9160
9177
  })
9161
- }, null, 40, M3),
9178
+ }, null, 40, e3),
9162
9179
  Z("button", {
9163
9180
  class: "r-pagination__paginator__next",
9164
9181
  disabled: C.page === p(L),
9165
- onClick: i[2] || (i[2] = (e) => A(+C.page + 1))
9182
+ onClick: i[2] || (i[2] = (e) => M(+C.page + 1))
9166
9183
  }, [
9167
- B(M.$slots, "next", {}, () => [
9184
+ B(A.$slots, "next", {}, () => [
9168
9185
  (t(), a("svg", {
9169
9186
  class: f({ "stroke-gray-400": C.page === p(L) }),
9170
9187
  fill: "none",
@@ -9176,14 +9193,14 @@ const z5 = (H, V) => {
9176
9193
  viewBox: "0 0 24 24",
9177
9194
  width: "16",
9178
9195
  xmlns: "http://www.w3.org/2000/svg"
9179
- }, d3, 2))
9196
+ }, l3, 2))
9180
9197
  ])
9181
- ], 8, A3),
9182
- Z("div", t3, "/ " + y(p(L)), 1)
9198
+ ], 8, d3),
9199
+ Z("div", o3, "/ " + y(p(L)), 1)
9183
9200
  ])
9184
9201
  ]));
9185
9202
  }
9186
- }), m3 = ["value"], y3 = /* @__PURE__ */ F({
9203
+ }), r3 = ["value"], T3 = /* @__PURE__ */ F({
9187
9204
  __name: "RProgressbar",
9188
9205
  props: {
9189
9206
  value: { default: 0 },
@@ -9198,9 +9215,9 @@ const z5 = (H, V) => {
9198
9215
  role: "progressbar",
9199
9216
  style: p1({ height: V.height + "px" }),
9200
9217
  value: V.value
9201
- }, null, 12, m3));
9218
+ }, null, 12, r3));
9202
9219
  }
9203
- }), w3 = /* @__PURE__ */ F({
9220
+ }), v3 = /* @__PURE__ */ F({
9204
9221
  __name: "RItemGroup",
9205
9222
  props: {
9206
9223
  modelValue: { default: () => [] },
@@ -9213,25 +9230,25 @@ const z5 = (H, V) => {
9213
9230
  },
9214
9231
  emits: ["update:modelValue"],
9215
9232
  setup(H, { emit: V }) {
9216
- const C = H, L = "rocket-ui:r-item-group", A = D(C.as ?? "div"), M = D(C.modelValue ?? []), i = g(() => C.selectedClass);
9233
+ const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = k(() => C.selectedClass);
9217
9234
  a1(`${L}:selectedClass`, i.value);
9218
- const e = (m) => M.value.includes(m);
9235
+ const e = (m) => A.value.includes(m);
9219
9236
  a1(`${L}:isSelected`, e);
9220
9237
  const d = (m, o) => {
9221
- C.disabled || C.mandatory && M.value.length === 1 && o || C.max && M.value.length === C.max && o || (C.multiple ? o ? M.value.push(m) : M.value = M.value.filter((l) => l !== m) : M.value = o ? [m] : [], V("update:modelValue", M.value));
9238
+ 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));
9222
9239
  };
9223
- return a1(`${L}:select`, d), (m, o) => (t(), x(m2(A.value), null, {
9240
+ return a1(`${L}:select`, d), (m, o) => (t(), x(m2(M.value), null, {
9224
9241
  default: _1(() => [
9225
9242
  B(m.$slots, "default", {
9226
9243
  isSelected: e,
9227
9244
  select: d,
9228
- selected: M.value
9245
+ selected: A.value
9229
9246
  })
9230
9247
  ]),
9231
9248
  _: 3
9232
9249
  }));
9233
9250
  }
9234
- }), P3 = /* @__PURE__ */ F({
9251
+ }), F3 = /* @__PURE__ */ F({
9235
9252
  __name: "RItem",
9236
9253
  props: {
9237
9254
  value: { default: null },
@@ -9239,7 +9256,7 @@ const z5 = (H, V) => {
9239
9256
  selectedClass: { default: "" }
9240
9257
  },
9241
9258
  setup(H) {
9242
- const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), A = Z1(`${C}:selectedClass`, ""), M = g(() => L(V.value) && [A, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9259
+ const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), M = Z1(`${C}:selectedClass`, ""), A = k(() => L(V.value) && [M, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9243
9260
  V.disabled || i(V.value, !L(V.value));
9244
9261
  }, d = () => {
9245
9262
  V.disabled || i(V.value, !0);
@@ -9248,35 +9265,35 @@ const z5 = (H, V) => {
9248
9265
  disabled: V.disabled,
9249
9266
  isSelected: p(L)(V.value),
9250
9267
  select: d,
9251
- selectedClass: p(M),
9268
+ selectedClass: p(A),
9252
9269
  toggle: e,
9253
9270
  value: V.value
9254
9271
  });
9255
9272
  }
9256
9273
  });
9257
9274
  export {
9258
- o3 as RAccordion,
9259
- r3 as RAlert,
9260
- n3 as RAvatar,
9261
- a3 as RBadge,
9262
- B3 as RBreadcrumb,
9263
- Z3 as RButton,
9264
- u3 as RCheckbox,
9275
+ a3 as RAccordion,
9276
+ Z3 as RAlert,
9277
+ u3 as RAvatar,
9278
+ S3 as RBadge,
9279
+ w3 as RBreadcrumb,
9280
+ c3 as RButton,
9281
+ s3 as RCheckbox,
9265
9282
  D2 as RChip,
9266
- S3 as RDropdown,
9283
+ O3 as RDropdown,
9267
9284
  R as RIcon,
9268
- P3 as RItem,
9269
- w3 as RItemGroup,
9285
+ F3 as RItem,
9286
+ v3 as RItemGroup,
9270
9287
  Q1 as RLabel,
9271
- c3 as RModal,
9272
- b3 as RPagination,
9273
- y3 as RProgressbar,
9274
- s3 as RSidebar,
9275
- O3 as RSnackbar,
9276
- p3 as RSwitch,
9277
- Z5 as RTabItem,
9278
- h3 as RTabs,
9279
- f3 as RTextArea,
9280
- g3 as RTextfield,
9281
- k3 as RTooltip
9288
+ p3 as RModal,
9289
+ P3 as RPagination,
9290
+ T3 as RProgressbar,
9291
+ h3 as RSidebar,
9292
+ f3 as RSnackbar,
9293
+ g3 as RSwitch,
9294
+ c5 as RTabItem,
9295
+ k3 as RTabs,
9296
+ B3 as RTextArea,
9297
+ b3 as RTextfield,
9298
+ y3 as RTooltip
9282
9299
  };