@rocketui/vue 0.0.23 → 0.0.25

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 P, computed as g, openBlock as o, createElementBlock as Z, normalizeStyle as Q1, unref as h, createElementVNode as a, reactive as Y, Fragment as K, renderList as J, normalizeClass as p, toDisplayString as b, createVNode as V1, createBlock as F, renderSlot as y, createCommentVNode as w, mergeProps as G1, withModifiers as N, watch as U, ref as D, withDirectives as P1, withKeys as s1, vModelText as z1, vShow as U1, onMounted as $1, withCtx as K1, createTextVNode as j1, useCssVars as q1, watchEffect as Y1 } from "vue";
2
- const X1 = {
1
+ import { defineComponent as P, openBlock as o, createElementBlock as Z, createElementVNode as a, unref as h, reactive as Y, Fragment as K, renderList as J, normalizeClass as p, toDisplayString as w, createVNode as V1, computed as g, renderSlot as y, createBlock as F, createCommentVNode as b, mergeProps as Q1, withModifiers as N, watch as U, ref as D, withDirectives as P1, withKeys as s1, vModelText as G1, vShow as z1, onMounted as U1, withCtx as $1, createTextVNode as K1, useCssVars as j1, watchEffect as q1 } from "vue";
2
+ const Y1 = {
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,35 +7296,28 @@ const X1 = {
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
- }, J1 = ["width", "height", "viewBox"], C2 = ["d"], v = /* @__PURE__ */ P({
7299
+ }, X1 = ["width", "height", "viewBox"], J1 = ["d"], v = /* @__PURE__ */ P({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
7303
7303
  size: { default: 24 },
7304
- viewBox: { default: "0 0 24 24" },
7305
- flip: { default: "none" },
7306
- rotate: { default: 0 }
7304
+ viewBox: { default: "0 0 24 24" }
7307
7305
  },
7308
7306
  setup(H) {
7309
- const V = H, C = g(() => ({
7310
- "--sx": ["both", "horizontal"].includes(V.flip) ? "-1" : "1",
7311
- "--sy": ["both", "vertical"].includes(V.flip) ? "-1" : "1",
7312
- "--r": V.rotate + "deg"
7313
- }));
7314
- return (M, L) => (o(), Z("svg", {
7307
+ const V = H;
7308
+ return (C, M) => (o(), Z("svg", {
7315
7309
  class: "r-icon",
7316
7310
  width: V.size,
7317
7311
  height: V.size,
7318
- viewBox: V.viewBox,
7319
- style: Q1(h(C))
7312
+ viewBox: V.viewBox
7320
7313
  }, [
7321
7314
  a("path", {
7322
- d: h(X1)[V.name]
7323
- }, null, 8, C2)
7324
- ], 12, J1));
7315
+ d: h(Y1)[V.name]
7316
+ }, null, 8, J1)
7317
+ ], 8, X1));
7325
7318
  }
7326
7319
  });
7327
- const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accordion__icon" }, M2 = { class: "accordion__content" }, P5 = /* @__PURE__ */ P({
7320
+ const C2 = ["onClick"], H2 = { class: "accordion__title" }, V2 = { class: "accordion__icon" }, L2 = { class: "accordion__content" }, y5 = /* @__PURE__ */ P({
7328
7321
  __name: "RAccordion",
7329
7322
  props: {
7330
7323
  accordions: null
@@ -7355,22 +7348,22 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7355
7348
  class: "accordion__header",
7356
7349
  onClick: (d) => M(e)
7357
7350
  }, [
7358
- a("div", V2, b(i.title), 1),
7359
- a("div", L2, [
7351
+ a("div", H2, w(i.title), 1),
7352
+ a("div", V2, [
7360
7353
  V1(v, {
7361
7354
  name: i.open ? "mdiChevronDown" : "mdiChevronUp"
7362
7355
  }, null, 8, ["name"])
7363
7356
  ])
7364
- ], 8, H2),
7365
- a("div", M2, [
7366
- a("span", null, b(i.content), 1)
7357
+ ], 8, C2),
7358
+ a("div", L2, [
7359
+ a("span", null, w(i.content), 1)
7367
7360
  ])
7368
7361
  ], 2))), 128));
7369
7362
  }
7370
- }), A2 = { class: "icon" }, i2 = { class: "texts" }, e2 = { class: "texts__title" }, d2 = { class: "texts__description" }, t2 = {
7363
+ }), M2 = { class: "icon" }, A2 = { class: "texts" }, i2 = { class: "texts__title" }, e2 = { class: "texts__description" }, d2 = {
7371
7364
  key: 0,
7372
7365
  class: "close"
7373
- }, T5 = /* @__PURE__ */ P({
7366
+ }, P5 = /* @__PURE__ */ P({
7374
7367
  __name: "RAlert",
7375
7368
  props: {
7376
7369
  type: { default: "info" },
@@ -7402,28 +7395,29 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7402
7395
  return (e, d) => (o(), Z("div", {
7403
7396
  class: p(h(M))
7404
7397
  }, [
7405
- a("div", A2, [
7398
+ a("div", M2, [
7406
7399
  V1(v, {
7407
7400
  name: h(L),
7408
7401
  size: h(A)
7409
7402
  }, null, 8, ["name", "size"])
7410
7403
  ]),
7411
- a("div", i2, [
7412
- a("p", e2, b(C.title), 1),
7413
- a("p", d2, b(C.description), 1)
7404
+ a("div", A2, [
7405
+ a("p", i2, w(C.title), 1),
7406
+ a("p", e2, w(C.description), 1)
7414
7407
  ]),
7415
- C.closable ? (o(), Z("div", t2, [
7416
- e.$slots.close ? y(e.$slots, "close", { key: 1 }) : (o(), F(v, {
7408
+ C.closable ? (o(), Z("div", d2, [
7409
+ y(e.$slots, "custom-close"),
7410
+ e.$slots.close ? b("", !0) : (o(), F(v, {
7417
7411
  key: 0,
7418
7412
  class: "close__button",
7419
7413
  name: "close",
7420
7414
  size: "16",
7421
7415
  onClick: i
7422
7416
  }))
7423
- ])) : w("", !0)
7417
+ ])) : b("", !0)
7424
7418
  ], 2));
7425
7419
  }
7426
- }), O1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", m2 = { class: "avatar__wrapper" }, l2 = ["alt", "src"], F5 = /* @__PURE__ */ P({
7420
+ }), O1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", t2 = { class: "avatar__wrapper" }, m2 = ["alt", "src"], T5 = /* @__PURE__ */ P({
7427
7421
  __name: "RAvatar",
7428
7422
  props: {
7429
7423
  type: { default: "image" },
@@ -7441,14 +7435,14 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7441
7435
  const e = i.split(" ");
7442
7436
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7443
7437
  };
7444
- return (i, e) => (o(), Z("div", m2, [
7438
+ return (i, e) => (o(), Z("div", t2, [
7445
7439
  a("div", {
7446
7440
  class: p(h(C))
7447
7441
  }, [
7448
7442
  V.type === "text" ? (o(), Z("p", {
7449
7443
  key: 0,
7450
7444
  class: p({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7451
- }, b(A(V.text)), 3)) : (o(), Z("img", {
7445
+ }, w(A(V.text)), 3)) : (o(), Z("img", {
7452
7446
  key: 1,
7453
7447
  alt: V.alt,
7454
7448
  class: p({
@@ -7457,15 +7451,15 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7457
7451
  "avatar__image--anonymous": h(M)
7458
7452
  }),
7459
7453
  src: h(L)
7460
- }, null, 10, l2))
7454
+ }, null, 10, m2))
7461
7455
  ], 2),
7462
7456
  V.online ? (o(), Z("span", {
7463
7457
  key: 0,
7464
7458
  class: p({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7465
- }, null, 2)) : w("", !0)
7459
+ }, null, 2)) : b("", !0)
7466
7460
  ]));
7467
7461
  }
7468
- }), o2 = { class: "badge-wrapper group" }, v5 = /* @__PURE__ */ P({
7462
+ }), l2 = { class: "badge-wrapper group" }, F5 = /* @__PURE__ */ P({
7469
7463
  __name: "RBadge",
7470
7464
  props: {
7471
7465
  variant: { default: "primary" },
@@ -7487,15 +7481,15 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7487
7481
  "badge--no-content": !V.content,
7488
7482
  [`badge--${V.variant}`]: V.variant
7489
7483
  }));
7490
- return (M, L) => (o(), Z("div", o2, [
7484
+ return (M, L) => (o(), Z("div", l2, [
7491
7485
  a("span", {
7492
7486
  class: p(h(C)),
7493
7487
  onClick: L[0] || (L[0] = (A) => M.$emit("click"))
7494
- }, b(V.content), 3),
7488
+ }, w(V.content), 3),
7495
7489
  y(M.$slots, "default")
7496
7490
  ]));
7497
7491
  }
7498
- }), n2 = ["disabled"], r2 = /* @__PURE__ */ P({
7492
+ }), o2 = ["disabled"], n2 = /* @__PURE__ */ P({
7499
7493
  __name: "RButton",
7500
7494
  props: {
7501
7495
  variant: { default: "primary" },
@@ -7529,7 +7523,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7529
7523
  height: i ? `${i}px` : ""
7530
7524
  };
7531
7525
  });
7532
- return (A, i) => (o(), Z("button", G1(A.$attrs, {
7526
+ return (A, i) => (o(), Z("button", Q1(A.$attrs, {
7533
7527
  class: h(C),
7534
7528
  disabled: H.disabled || H.loading,
7535
7529
  style: h(L),
@@ -7544,23 +7538,23 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7544
7538
  }),
7545
7539
  name: V.prependIcon,
7546
7540
  size: h(M)
7547
- }, null, 8, ["class", "name", "size"])) : w("", !0),
7548
- V.onlyIcon ? w("", !0) : y(A.$slots, "default", { key: 1 }),
7541
+ }, null, 8, ["class", "name", "size"])) : b("", !0),
7542
+ V.onlyIcon ? b("", !0) : y(A.$slots, "default", { key: 1 }),
7549
7543
  !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (o(), F(v, {
7550
7544
  key: 2,
7551
7545
  class: "button__append-icon",
7552
7546
  name: V.appendIcon,
7553
7547
  size: h(M)
7554
- }, null, 8, ["name", "size"])) : w("", !0)
7555
- ], 16, n2));
7548
+ }, null, 8, ["name", "size"])) : b("", !0)
7549
+ ], 16, o2));
7556
7550
  }
7557
- }), a2 = { class: "checkbox-wrapper" }, Z2 = { class: "checkbox-container" }, S2 = ["id", "checked", "disabled", "indeterminate"], u2 = ["data-disabled"], c2 = { class: "checkbox-texts" }, s2 = ["data-disabled", "for"], O2 = {
7551
+ }), r2 = { class: "checkbox-wrapper" }, a2 = { class: "checkbox-container" }, Z2 = ["id", "checked", "disabled", "indeterminate"], S2 = ["data-disabled"], u2 = { class: "checkbox-texts" }, c2 = ["data-disabled", "for"], s2 = {
7558
7552
  key: 0,
7559
7553
  class: "checkbox-texts__error"
7560
- }, p2 = {
7554
+ }, O2 = {
7561
7555
  key: 1,
7562
7556
  class: "checkbox-texts__hint"
7563
- }, R5 = /* @__PURE__ */ P({
7557
+ }, v5 = /* @__PURE__ */ P({
7564
7558
  __name: "RCheckbox",
7565
7559
  props: {
7566
7560
  id: { default: "" },
@@ -7609,8 +7603,8 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7609
7603
  // TODO: find a better way to do this
7610
7604
  immediate: !0
7611
7605
  }
7612
- ), (d, l) => (o(), Z("div", a2, [
7613
- a("div", Z2, [
7606
+ ), (d, l) => (o(), Z("div", r2, [
7607
+ a("div", a2, [
7614
7608
  a("input", {
7615
7609
  id: C.id,
7616
7610
  checked: M.checked,
@@ -7619,7 +7613,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7619
7613
  indeterminate: M.indeterminate,
7620
7614
  type: "checkbox",
7621
7615
  onChange: e
7622
- }, null, 40, S2),
7616
+ }, null, 40, Z2),
7623
7617
  a("div", {
7624
7618
  class: p(h(i)),
7625
7619
  "data-disabled": C.disabled
@@ -7628,19 +7622,19 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7628
7622
  name: h(A),
7629
7623
  size: 24
7630
7624
  }, null, 8, ["name"])
7631
- ], 10, u2)
7625
+ ], 10, S2)
7632
7626
  ]),
7633
- a("div", c2, [
7627
+ a("div", u2, [
7634
7628
  a("label", {
7635
7629
  class: "checkbox-texts__label",
7636
7630
  "data-disabled": C.disabled,
7637
7631
  for: C.id
7638
- }, b(C.label), 9, s2),
7639
- C.errorMsg ? (o(), Z("p", O2, b(C.errorMsg), 1)) : (o(), Z("p", p2, b(C.hint), 1))
7632
+ }, w(C.label), 9, c2),
7633
+ C.errorMsg ? (o(), Z("p", s2, w(C.errorMsg), 1)) : (o(), Z("p", O2, w(C.hint), 1))
7640
7634
  ])
7641
7635
  ]));
7642
7636
  }
7643
- }), h2 = /* @__PURE__ */ P({
7637
+ }), p2 = /* @__PURE__ */ P({
7644
7638
  __name: "RChip",
7645
7639
  props: {
7646
7640
  variant: { default: "primary" },
@@ -7681,8 +7675,8 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7681
7675
  class: "chip__prepend-icon",
7682
7676
  name: C.prependIcon,
7683
7677
  size: h(L)
7684
- }, null, 8, ["aria-disabled", "name", "size"])) : w("", !0),
7685
- a("span", null, b(C.label), 1)
7678
+ }, null, 8, ["aria-disabled", "name", "size"])) : b("", !0),
7679
+ a("span", null, w(C.label), 1)
7686
7680
  ]),
7687
7681
  C.appendIcon ? (o(), F(v, {
7688
7682
  key: 0,
@@ -7691,16 +7685,16 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7691
7685
  name: C.appendIcon,
7692
7686
  size: h(L),
7693
7687
  onClick: d[1] || (d[1] = N((l) => i(l), ["stop"]))
7694
- }, null, 8, ["aria-disabled", "name", "size"])) : w("", !0)
7688
+ }, null, 8, ["aria-disabled", "name", "size"])) : b("", !0)
7695
7689
  ], 2));
7696
7690
  }
7697
- }), f2 = { class: "dropdown-wrapper" }, g2 = {
7691
+ }), h2 = { class: "dropdown-wrapper" }, f2 = {
7698
7692
  key: 0,
7699
7693
  class: "dropdown__tags"
7700
- }, k2 = {
7694
+ }, g2 = {
7701
7695
  key: 1,
7702
7696
  class: "dropdown__multiple"
7703
- }, B2 = ["disabled", "placeholder", "readonly"], b2 = ["aria-disabled", "onClick"], w2 = { style: { display: "flex", "align-items": "center" } }, x5 = /* @__PURE__ */ P({
7697
+ }, k2 = ["disabled", "placeholder", "readonly"], B2 = ["aria-disabled", "onClick"], b2 = { style: { display: "flex", "align-items": "center" } }, R5 = /* @__PURE__ */ P({
7704
7698
  __name: "RDropdown",
7705
7699
  props: {
7706
7700
  placeholder: { default: "" },
@@ -7756,7 +7750,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7756
7750
  }, c = g(() => C.searchable ? C.options.filter((t) => t.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7757
7751
  return U(L, (r) => {
7758
7752
  V("update:modelValue", r);
7759
- }), (r, t) => (o(), Z("div", f2, [
7753
+ }), (r, t) => (o(), Z("div", h2, [
7760
7754
  a("div", {
7761
7755
  ref_key: "dropdown",
7762
7756
  ref: e,
@@ -7778,8 +7772,8 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7778
7772
  name: C.prependIcon
7779
7773
  }, null, 8, ["name"])) : y(r.$slots, "prepend-icon", { key: 0 })
7780
7774
  ], 2),
7781
- C.taggable ? (o(), Z("div", g2, [
7782
- (o(!0), Z(K, null, J(L, (n, O) => (o(), F(h2, {
7775
+ C.taggable ? (o(), Z("div", f2, [
7776
+ (o(!0), Z(K, null, J(L, (n, O) => (o(), F(p2, {
7783
7777
  key: O,
7784
7778
  label: n.label,
7785
7779
  appendIcon: "close",
@@ -7787,10 +7781,10 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7787
7781
  variant: "primary",
7788
7782
  "onClick:close": (k) => s(k, n)
7789
7783
  }, null, 8, ["label", "onClick:close"]))), 128))
7790
- ])) : w("", !0),
7791
- C.multiple ? (o(), Z("div", k2, [
7792
- (o(!0), Z(K, null, J(L, (n, O) => (o(), Z("p", { key: O }, b(n.label + ","), 1))), 128))
7793
- ])) : w("", !0),
7784
+ ])) : b("", !0),
7785
+ C.multiple ? (o(), Z("div", g2, [
7786
+ (o(!0), Z(K, null, J(L, (n, O) => (o(), Z("p", { key: O }, w(n.label + ","), 1))), 128))
7787
+ ])) : b("", !0),
7794
7788
  P1(a("input", {
7795
7789
  id: "select",
7796
7790
  ref_key: "input",
@@ -7808,8 +7802,8 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7808
7802
  t[1] || (t[1] = s1((n) => s(n, L[L.length - 1]), ["backspace"])),
7809
7803
  t[2] || (t[2] = s1((n) => u(n), ["enter"]))
7810
7804
  ]
7811
- }, null, 42, B2), [
7812
- [z1, i.value]
7805
+ }, null, 42, k2), [
7806
+ [G1, i.value]
7813
7807
  ]),
7814
7808
  a("div", {
7815
7809
  class: p({
@@ -7835,7 +7829,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7835
7829
  "aria-disabled": n.disabled,
7836
7830
  onClick: (O) => S(O, n)
7837
7831
  }, [
7838
- a("div", w2, [
7832
+ a("div", b2, [
7839
7833
  n.prependIcon ? (o(), F(v, {
7840
7834
  key: 1,
7841
7835
  class: p({
@@ -7849,7 +7843,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7849
7843
  "dropdown-options__option__label": !0,
7850
7844
  "dropdown-options__option__label--active": n.value === M.value || (L == null ? void 0 : L.includes(n))
7851
7845
  })
7852
- }, b(n.label), 3)
7846
+ }, w(n.label), 3)
7853
7847
  ]),
7854
7848
  n.value === M.value || L != null && L.includes(n) ? (o(), F(v, {
7855
7849
  key: 0,
@@ -7858,12 +7852,12 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7858
7852
  "dropdown-options__option__append-icon--active": n.value === M.value || (L == null ? void 0 : L.includes(n))
7859
7853
  }),
7860
7854
  name: "mdiCheck"
7861
- }, null, 8, ["class"])) : w("", !0)
7862
- ], 10, b2))), 128))
7855
+ }, null, 8, ["class"])) : b("", !0)
7856
+ ], 10, B2))), 128))
7863
7857
  ], 2)
7864
7858
  ]));
7865
7859
  }
7866
- }), y2 = ["id", "for"], T1 = /* @__PURE__ */ P({
7860
+ }), w2 = ["id", "for"], T1 = /* @__PURE__ */ P({
7867
7861
  __name: "RLabel",
7868
7862
  props: {
7869
7863
  id: { default: "" },
@@ -7875,18 +7869,18 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7875
7869
  return (C, M) => (o(), Z("label", {
7876
7870
  id: V.id,
7877
7871
  for: V.for
7878
- }, b(V.text), 9, y2));
7872
+ }, w(V.text), 9, w2));
7879
7873
  }
7880
- }), P2 = ["onClick"], T2 = ["open"], F2 = { class: "dialog__header" }, v2 = {
7874
+ }), y2 = ["onClick"], P2 = ["open"], T2 = { class: "dialog__header" }, F2 = {
7881
7875
  key: 0,
7882
7876
  class: "icon"
7883
- }, R2 = {
7877
+ }, v2 = {
7884
7878
  key: 1,
7885
7879
  class: "title"
7886
- }, x2 = {
7880
+ }, R2 = {
7887
7881
  key: 2,
7888
7882
  class: "description"
7889
- }, D2 = { class: "dialog__body" }, E2 = { class: "dialog__actions" }, D5 = /* @__PURE__ */ P({
7883
+ }, x2 = { class: "dialog__body" }, D2 = { class: "dialog__actions" }, x5 = /* @__PURE__ */ P({
7890
7884
  __name: "RModal",
7891
7885
  props: {
7892
7886
  modelValue: { type: Boolean, default: !1 },
@@ -7913,28 +7907,28 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7913
7907
  class: p(h(M)),
7914
7908
  open: C.modelValue
7915
7909
  }, [
7916
- a("div", F2, [
7910
+ a("div", T2, [
7917
7911
  y(A.$slots, "header"),
7918
- C.icon ? (o(), Z("div", v2, [
7912
+ C.icon ? (o(), Z("div", F2, [
7919
7913
  V1(v, {
7920
7914
  name: C.icon
7921
7915
  }, null, 8, ["name"])
7922
- ])) : w("", !0),
7923
- C.title ? (o(), Z("div", R2, b(C.title), 1)) : w("", !0),
7924
- C.description ? (o(), Z("div", x2, b(C.description), 1)) : w("", !0)
7916
+ ])) : b("", !0),
7917
+ C.title ? (o(), Z("div", v2, w(C.title), 1)) : b("", !0),
7918
+ C.description ? (o(), Z("div", R2, w(C.description), 1)) : b("", !0)
7925
7919
  ]),
7926
- a("div", D2, [
7920
+ a("div", x2, [
7927
7921
  y(A.$slots, "default")
7928
7922
  ]),
7929
- a("div", E2, [
7923
+ a("div", D2, [
7930
7924
  y(A.$slots, "actions")
7931
7925
  ])
7932
- ], 10, T2)
7933
- ], 8, P2)), [
7934
- [U1, H.modelValue]
7926
+ ], 10, P2)
7927
+ ], 8, y2)), [
7928
+ [z1, H.modelValue]
7935
7929
  ]);
7936
7930
  }
7937
- }), N2 = { class: "nav" }, _2 = { class: "actions" }, E5 = /* @__PURE__ */ P({
7931
+ }), E2 = { class: "nav" }, N2 = { class: "actions" }, D5 = /* @__PURE__ */ P({
7938
7932
  __name: "RSidebar",
7939
7933
  props: {
7940
7934
  modelValue: { type: Boolean, default: !1 }
@@ -7947,21 +7941,21 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7947
7941
  return (M, L) => (o(), Z("aside", {
7948
7942
  class: p(h(C))
7949
7943
  }, [
7950
- a("nav", N2, [
7944
+ a("nav", E2, [
7951
7945
  y(M.$slots, "default")
7952
7946
  ]),
7953
- a("div", _2, [
7947
+ a("div", N2, [
7954
7948
  y(M.$slots, "actions")
7955
7949
  ])
7956
7950
  ], 2));
7957
7951
  }
7958
- }), W2 = { class: "snackbar__text" }, I2 = {
7952
+ }), _2 = { class: "snackbar__text" }, W2 = {
7959
7953
  key: 0,
7960
7954
  class: "snackbar__action"
7961
- }, Q2 = {
7955
+ }, I2 = {
7962
7956
  key: 1,
7963
7957
  class: "snackbar__close"
7964
- }, N5 = /* @__PURE__ */ P({
7958
+ }, E5 = /* @__PURE__ */ P({
7965
7959
  __name: "RSnackbar",
7966
7960
  props: {
7967
7961
  text: { default: "" },
@@ -7979,7 +7973,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7979
7973
  }, A = () => {
7980
7974
  M.value = !1, V("close");
7981
7975
  };
7982
- return $1(() => {
7976
+ return U1(() => {
7983
7977
  C.timeout && setTimeout(() => {
7984
7978
  M.value = !1, V("close");
7985
7979
  }, C.timeout);
@@ -7996,39 +7990,39 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
7996
7990
  [C.left ? "snackbar--left" : "snackbar--right"]: !0
7997
7991
  })
7998
7992
  }, [
7999
- a("div", W2, b(C.text), 1),
8000
- C.showAction ? (o(), Z("div", I2, [
7993
+ a("div", _2, w(C.text), 1),
7994
+ C.showAction ? (o(), Z("div", W2, [
8001
7995
  y(i.$slots, "action"),
8002
- i.$slots.action ? w("", !0) : (o(), F(r2, {
7996
+ i.$slots.action ? b("", !0) : (o(), F(n2, {
8003
7997
  key: 0,
8004
7998
  size: "small",
8005
7999
  variant: "ghost",
8006
8000
  onClick: L
8007
8001
  }, {
8008
- default: K1(() => [
8009
- j1(b(C.actionText), 1)
8002
+ default: $1(() => [
8003
+ K1(w(C.actionText), 1)
8010
8004
  ]),
8011
8005
  _: 1
8012
8006
  }))
8013
- ])) : w("", !0),
8014
- C.showClose ? (o(), Z("div", Q2, [
8007
+ ])) : b("", !0),
8008
+ C.showClose ? (o(), Z("div", I2, [
8015
8009
  y(i.$slots, "close"),
8016
- i.$slots.close ? w("", !0) : (o(), F(v, {
8010
+ i.$slots.close ? b("", !0) : (o(), F(v, {
8017
8011
  key: 0,
8018
8012
  name: "mdiClose",
8019
8013
  size: 20,
8020
8014
  onClick: N(A, ["stop"])
8021
8015
  }, null, 8, ["onClick"]))
8022
- ])) : w("", !0)
8016
+ ])) : b("", !0)
8023
8017
  ], 2));
8024
8018
  }
8025
- }), G2 = { class: "switch-container" }, z2 = ["id", "checked"], U2 = /* @__PURE__ */ a("span", { class: "slider round" }, null, -1), $2 = ["id", "for"], K2 = {
8019
+ }), Q2 = { class: "switch-container" }, G2 = ["id", "checked"], z2 = /* @__PURE__ */ a("span", { class: "slider round" }, null, -1), U2 = ["id", "for"], $2 = {
8026
8020
  key: 0,
8027
8021
  class: "switch-texts__error"
8028
- }, j2 = {
8022
+ }, K2 = {
8029
8023
  key: 1,
8030
8024
  class: "switch-texts__hint"
8031
- }, _5 = /* @__PURE__ */ P({
8025
+ }, N5 = /* @__PURE__ */ P({
8032
8026
  __name: "RSwitch",
8033
8027
  props: {
8034
8028
  id: { default: "switch" },
@@ -8061,7 +8055,7 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
8061
8055
  // TODO: find a better way to do this
8062
8056
  immediate: !0
8063
8057
  }
8064
- ), (i, e) => (o(), Z("div", G2, [
8058
+ ), (i, e) => (o(), Z("div", Q2, [
8065
8059
  a("div", {
8066
8060
  class: p(h(L))
8067
8061
  }, [
@@ -8071,8 +8065,8 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
8071
8065
  class: "switch__input",
8072
8066
  type: "checkbox",
8073
8067
  onChange: A
8074
- }, null, 40, z2),
8075
- U2
8068
+ }, null, 40, G2),
8069
+ z2
8076
8070
  ], 2),
8077
8071
  a("div", {
8078
8072
  class: p({
@@ -8084,17 +8078,17 @@ const H2 = ["onClick"], V2 = { class: "accordion__title" }, L2 = { class: "accor
8084
8078
  id: C.id,
8085
8079
  class: "switch-texts__label",
8086
8080
  for: C.id
8087
- }, b(C.label), 9, $2),
8088
- C.errorMsg ? (o(), Z("p", K2, b(C.errorMsg), 1)) : (o(), Z("p", j2, b(C.hint), 1))
8081
+ }, w(C.label), 9, U2),
8082
+ C.errorMsg ? (o(), Z("p", $2, w(C.errorMsg), 1)) : (o(), Z("p", K2, w(C.hint), 1))
8089
8083
  ], 2)
8090
8084
  ]));
8091
8085
  }
8092
8086
  });
8093
8087
  var i1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT_ONLY = "text-only", H.ICON_ONLY = "icon-only", H))(i1 || {});
8094
- const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8088
+ const j2 = ["aria-disabled", "aria-selected", "disabled"], q2 = {
8095
8089
  key: 2,
8096
8090
  class: "tab-item__label"
8097
- }, X2 = /* @__PURE__ */ P({
8091
+ }, Y2 = /* @__PURE__ */ P({
8098
8092
  __name: "RTabItem",
8099
8093
  props: {
8100
8094
  id: null,
@@ -8126,10 +8120,10 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8126
8120
  class: "tab-item__icon",
8127
8121
  name: C.icon
8128
8122
  }, null, 8, ["name"])) : y(A.$slots, "custom-icon", { key: 1 }),
8129
- H.variant !== h(i1).ICON_ONLY ? (o(), Z("span", Y2, b(C.label), 1)) : w("", !0)
8130
- ], 10, q2));
8123
+ H.variant !== h(i1).ICON_ONLY ? (o(), Z("span", q2, w(C.label), 1)) : b("", !0)
8124
+ ], 10, j2));
8131
8125
  }
8132
- }), J2 = { class: "tabs-wrapper" }, C5 = { class: "tab-content" }, W5 = /* @__PURE__ */ P({
8126
+ }), X2 = { class: "tabs-wrapper" }, J2 = { class: "tab-content" }, _5 = /* @__PURE__ */ P({
8133
8127
  __name: "RTabs",
8134
8128
  props: {
8135
8129
  tabs: { default: () => [] },
@@ -8141,11 +8135,11 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8141
8135
  "tabs--scrollable": V.scrollable
8142
8136
  }));
8143
8137
  return (L, A) => (o(), Z(K, null, [
8144
- a("div", J2, [
8138
+ a("div", X2, [
8145
8139
  a("div", {
8146
8140
  class: p(h(M))
8147
8141
  }, [
8148
- (o(!0), Z(K, null, J(V.tabs, (i, e) => (o(), F(X2, {
8142
+ (o(!0), Z(K, null, J(V.tabs, (i, e) => (o(), F(Y2, {
8149
8143
  id: i.id,
8150
8144
  key: e,
8151
8145
  modelValue: C.value,
@@ -8157,18 +8151,18 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8157
8151
  }, null, 8, ["id", "modelValue", "active", "disabled", "icon", "label"]))), 128))
8158
8152
  ], 2)
8159
8153
  ]),
8160
- a("div", C5, [
8154
+ a("div", J2, [
8161
8155
  y(L.$slots, "tab", { activeTab: C.value })
8162
8156
  ])
8163
8157
  ], 64));
8164
8158
  }
8165
- }), H5 = { class: "container" }, V5 = ["id", "disabled", "placeholder", "value"], L5 = {
8159
+ }), C5 = { class: "container" }, H5 = ["id", "disabled", "placeholder", "value"], V5 = {
8166
8160
  key: 1,
8167
8161
  class: "textarea__error"
8168
- }, M5 = {
8162
+ }, L5 = {
8169
8163
  key: 2,
8170
8164
  class: "textarea__hint"
8171
- }, I5 = /* @__PURE__ */ P({
8165
+ }, W5 = /* @__PURE__ */ P({
8172
8166
  __name: "RTextArea",
8173
8167
  props: {
8174
8168
  id: { default: "" },
@@ -8195,14 +8189,14 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8195
8189
  {
8196
8190
  immediate: !0
8197
8191
  }
8198
- ), (A, i) => (o(), Z("div", H5, [
8192
+ ), (A, i) => (o(), Z("div", C5, [
8199
8193
  C.label ? (o(), F(T1, {
8200
8194
  key: 0,
8201
8195
  id: "textarea",
8202
8196
  class: "textarea__label",
8203
8197
  for: "textarea",
8204
8198
  text: C.label
8205
- }, null, 8, ["text"])) : w("", !0),
8199
+ }, null, 8, ["text"])) : b("", !0),
8206
8200
  a("textarea", {
8207
8201
  id: C.id,
8208
8202
  class: p(["textarea", {
@@ -8213,18 +8207,18 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8213
8207
  placeholder: C.placeholder,
8214
8208
  value: M.value,
8215
8209
  onInput: L
8216
- }, null, 42, V5),
8217
- C.errorMsg ? (o(), Z("p", L5, b(C.errorMsg), 1)) : (o(), Z("p", M5, b(C.hint), 1))
8210
+ }, null, 42, H5),
8211
+ C.errorMsg ? (o(), Z("p", V5, w(C.errorMsg), 1)) : (o(), Z("p", L5, w(C.hint), 1))
8218
8212
  ]));
8219
8213
  }
8220
- }), A5 = {
8214
+ }), M5 = {
8221
8215
  class: /* @__PURE__ */ p({
8222
8216
  textfield__wrapper: !0
8223
8217
  })
8224
- }, i5 = { class: "input-wrapper" }, e5 = ["id", "disabled", "placeholder", "type", "value"], d5 = { class: "textfield__error" }, t5 = {
8218
+ }, A5 = { class: "input-wrapper" }, i5 = ["id", "disabled", "placeholder", "type", "value"], e5 = { class: "textfield__error" }, d5 = {
8225
8219
  key: 0,
8226
8220
  class: "textfield__hint"
8227
- }, Q5 = /* @__PURE__ */ P({
8221
+ }, I5 = /* @__PURE__ */ P({
8228
8222
  __name: "RTextfield",
8229
8223
  props: {
8230
8224
  id: { default: "" },
@@ -8327,7 +8321,7 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8327
8321
  V("update:modelValue", f);
8328
8322
  }
8329
8323
  ), (f, B) => (o(), Z("fieldset", null, [
8330
- a("div", A5, [
8324
+ a("div", M5, [
8331
8325
  V1(T1, {
8332
8326
  id: C.id,
8333
8327
  class: p({
@@ -8337,7 +8331,7 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8337
8331
  text: C.label,
8338
8332
  onClick: Q
8339
8333
  }, null, 8, ["id", "for", "text"]),
8340
- a("div", i5, [
8334
+ a("div", A5, [
8341
8335
  a("div", {
8342
8336
  class: p(h(l))
8343
8337
  }, [
@@ -8347,7 +8341,7 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8347
8341
  class: p(h(S)),
8348
8342
  name: h(r),
8349
8343
  size: 20
8350
- }, null, 8, ["class", "name"])) : w("", !0),
8344
+ }, null, 8, ["class", "name"])) : b("", !0),
8351
8345
  a("input", {
8352
8346
  ref_key: "inputRef",
8353
8347
  ref: M,
@@ -8359,7 +8353,7 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8359
8353
  onBlur: O,
8360
8354
  onFocus: n,
8361
8355
  onInput: T
8362
- }, null, 40, e5),
8356
+ }, null, 40, i5),
8363
8357
  y(f.$slots, "append"),
8364
8358
  h(t) && !f.$slots.append ? (o(), F(v, {
8365
8359
  key: 1,
@@ -8367,10 +8361,10 @@ const q2 = ["aria-disabled", "aria-selected", "disabled"], Y2 = {
8367
8361
  name: `${h(t)}`,
8368
8362
  size: 20,
8369
8363
  onClick: k
8370
- }, null, 8, ["class", "name"])) : w("", !0)
8364
+ }, null, 8, ["class", "name"])) : b("", !0)
8371
8365
  ], 2),
8372
- a("div", d5, b(C.errorMsg), 1),
8373
- C.errorMsg ? w("", !0) : (o(), Z("div", t5, b(C.hint), 1))
8366
+ a("div", e5, w(C.errorMsg), 1),
8367
+ C.errorMsg ? b("", !0) : (o(), Z("div", d5, w(C.hint), 1))
8374
8368
  ])
8375
8369
  ])
8376
8370
  ]));
@@ -8417,7 +8411,7 @@ function p1(H, V, C) {
8417
8411
  }
8418
8412
  return m;
8419
8413
  }
8420
- const m5 = async (H, V, C) => {
8414
+ const t5 = async (H, V, C) => {
8421
8415
  const { placement: M = "bottom", strategy: L = "absolute", middleware: A = [], platform: i } = C, e = A.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8422
8416
  let l = await i.getElementRects({ reference: H, floating: V, strategy: L }), { x: S, y: m } = p1(l, M, d), s = M, u = {}, c = 0;
8423
8417
  for (let r = 0; r < e.length; r++) {
@@ -8440,11 +8434,11 @@ async function d1(H, V) {
8440
8434
  const { x: M, y: L, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: S = "viewport", elementContext: m = "floating", altBoundary: s = !1, padding: u = 0 } = V, c = F1(u), r = e[s ? m === "floating" ? "reference" : "floating" : m], t = e1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(r))) == null || C ? r : r.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: l, rootBoundary: S, strategy: d })), n = e1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: m === "floating" ? { ...i.floating, x: M, y: L } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[m]);
8441
8435
  return { top: t.top - n.top + c.top, bottom: n.bottom - t.bottom + c.bottom, left: t.left - n.left + c.left, right: n.right - t.right + c.right };
8442
8436
  }
8443
- const l5 = Math.min, o5 = Math.max;
8437
+ const m5 = Math.min, l5 = Math.max;
8444
8438
  function a1(H, V, C) {
8445
- return o5(H, l5(V, C));
8439
+ return l5(H, m5(V, C));
8446
8440
  }
8447
- const n5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8441
+ const o5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8448
8442
  const { element: C, padding: M = 0 } = H ?? {}, { x: L, y: A, placement: i, rects: e, platform: d } = V;
8449
8443
  if (C == null)
8450
8444
  return {};
@@ -8453,23 +8447,23 @@ const n5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8453
8447
  R === 0 && (R = e.floating[u]);
8454
8448
  const T = n / 2 - O / 2, Q = l[r], f = R - c[u] - l[t], B = R / 2 - c[u] / 2 + T, x = a1(Q, B, f), E = (s === "start" ? l[r] : l[t]) > 0 && B !== x && e.reference[u] <= e.floating[u];
8455
8449
  return { [m]: S[m] - (E ? B < Q ? Q - B : f - B : 0), data: { [m]: x, centerOffset: B - x } };
8456
- } }), r5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8450
+ } }), n5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8457
8451
  function t1(H) {
8458
- return H.replace(/left|right|bottom|top/g, (V) => r5[V]);
8452
+ return H.replace(/left|right|bottom|top/g, (V) => n5[V]);
8459
8453
  }
8460
- function a5(H, V, C) {
8454
+ function r5(H, V, C) {
8461
8455
  C === void 0 && (C = !1);
8462
8456
  const M = l1(H), L = M1(H), A = S1(L);
8463
8457
  let i = L === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
8464
8458
  return V.reference[A] > V.floating[A] && (i = t1(i)), { main: i, cross: t1(i) };
8465
8459
  }
8466
- const Z5 = { start: "end", end: "start" };
8460
+ const a5 = { start: "end", end: "start" };
8467
8461
  function h1(H) {
8468
- return H.replace(/start|end/g, (V) => Z5[V]);
8462
+ return H.replace(/start|end/g, (V) => a5[V]);
8469
8463
  }
8470
8464
  const v1 = ["top", "right", "bottom", "left"];
8471
8465
  v1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8472
- const S5 = function(H) {
8466
+ const Z5 = function(H) {
8473
8467
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8474
8468
  var C;
8475
8469
  const { placement: M, middlewareData: L, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: S = !0, fallbackPlacements: m, fallbackStrategy: s = "bestFit", flipAlignment: u = !0, ...c } = H, r = L1(M), t = m || (r === i || !u ? [t1(i)] : function(B) {
@@ -8478,7 +8472,7 @@ const S5 = function(H) {
8478
8472
  }(i)), n = [i, ...t], O = await d1(V, c), k = [];
8479
8473
  let R = ((C = L.flip) == null ? void 0 : C.overflows) || [];
8480
8474
  if (l && k.push(O[r]), S) {
8481
- const { main: B, cross: x } = a5(M, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8475
+ const { main: B, cross: x } = r5(M, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8482
8476
  k.push(O[B], O[x]);
8483
8477
  }
8484
8478
  if (R = [...R, { placement: M, overflows: k }], !k.every((B) => B <= 0)) {
@@ -8509,7 +8503,7 @@ function f1(H, V) {
8509
8503
  function g1(H) {
8510
8504
  return v1.some((V) => H[V] >= 0);
8511
8505
  }
8512
- const u5 = function(H) {
8506
+ const S5 = function(H) {
8513
8507
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8514
8508
  return { name: "hide", async fn(M) {
8515
8509
  const { rects: L } = M;
@@ -8526,7 +8520,7 @@ const u5 = function(H) {
8526
8520
  return {};
8527
8521
  }
8528
8522
  } };
8529
- }, c5 = function(H) {
8523
+ }, u5 = function(H) {
8530
8524
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8531
8525
  const { x: C, y: M } = V, L = await async function(A, i) {
8532
8526
  const { placement: e, platform: d, elements: l } = A, S = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), m = L1(e), s = l1(e), u = M1(e) === "x", c = ["left", "top"].includes(m) ? -1 : 1, r = S && u ? -1 : 1, t = typeof i == "function" ? i(A) : i;
@@ -8536,15 +8530,15 @@ const u5 = function(H) {
8536
8530
  return { x: C + L.x, y: M + L.y, data: L };
8537
8531
  } };
8538
8532
  };
8539
- function s5(H) {
8533
+ function c5(H) {
8540
8534
  return H === "x" ? "y" : "x";
8541
8535
  }
8542
- const O5 = function(H) {
8536
+ const s5 = function(H) {
8543
8537
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8544
8538
  const { x: C, y: M, placement: L } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (t) => {
8545
8539
  let { x: n, y: O } = t;
8546
8540
  return { x: n, y: O };
8547
- } }, ...d } = H, l = { x: C, y: M }, S = await d1(V, d), m = M1(L1(L)), s = s5(m);
8541
+ } }, ...d } = H, l = { x: C, y: M }, S = await d1(V, d), m = M1(L1(L)), s = c5(m);
8548
8542
  let u = l[m], c = l[s];
8549
8543
  if (A) {
8550
8544
  const t = m === "y" ? "bottom" : "right";
@@ -8593,7 +8587,7 @@ function o1(H) {
8593
8587
  const { overflow: V, overflowX: C, overflowY: M, display: L } = _(H);
8594
8588
  return /auto|scroll|overlay|hidden/.test(V + M + C) && !["inline", "contents"].includes(L);
8595
8589
  }
8596
- function p5(H) {
8590
+ function O5(H) {
8597
8591
  return ["table", "td", "th"].includes($(H));
8598
8592
  }
8599
8593
  function Z1(H) {
@@ -8629,7 +8623,7 @@ function n1(H) {
8629
8623
  function E1(H) {
8630
8624
  return j(z(H)).left + n1(H).scrollLeft;
8631
8625
  }
8632
- function h5(H, V, C) {
8626
+ function p5(H, V, C) {
8633
8627
  const M = W(V), L = z(V), A = j(H, M && function(d) {
8634
8628
  const l = j(d);
8635
8629
  return m1(l.width) !== d.offsetWidth || m1(l.height) !== d.offsetHeight;
@@ -8656,7 +8650,7 @@ function b1(H) {
8656
8650
  function w1(H) {
8657
8651
  const V = I(H);
8658
8652
  let C = b1(H);
8659
- for (; C && p5(C) && _(C).position === "static"; )
8653
+ for (; C && O5(C) && _(C).position === "static"; )
8660
8654
  C = b1(C);
8661
8655
  return C && ($(C) === "html" || $(C) === "body" && _(C).position === "static" && !Z1(C)) ? V : C || function(M) {
8662
8656
  let L = H1(M);
@@ -8699,7 +8693,7 @@ function y1(H, V, C) {
8699
8693
  return _(e || A).direction === "rtl" && (S += C1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: S, y: m };
8700
8694
  }(z(H)));
8701
8695
  }
8702
- const f5 = { getClippingRect: function(H) {
8696
+ const h5 = { getClippingRect: function(H) {
8703
8697
  let { element: V, boundary: C, rootBoundary: M, strategy: L } = H;
8704
8698
  const A = C === "clippingAncestors" ? function(l) {
8705
8699
  let S = _1(l).filter((c) => q(c) && $(c) !== "body"), m = null;
@@ -8735,17 +8729,17 @@ const f5 = { getClippingRect: function(H) {
8735
8729
  }, getOffsetParent: w1, getDocumentElement: z, async getElementRects(H) {
8736
8730
  let { reference: V, floating: C, strategy: M } = H;
8737
8731
  const L = this.getOffsetParent || w1, A = this.getDimensions;
8738
- return { reference: h5(V, await L(C), M), floating: { x: 0, y: 0, ...await A(C) } };
8739
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => _(H).direction === "rtl" }, g5 = (H, V, C) => m5(H, V, { platform: f5, ...C });
8732
+ return { reference: p5(V, await L(C), M), floating: { x: 0, y: 0, ...await A(C) } };
8733
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => _(H).direction === "rtl" }, f5 = (H, V, C) => t5(H, V, { platform: h5, ...C });
8740
8734
  function r1({ value: H }, { value: V }, { value: C }, M, L, A) {
8741
- !H || !V || g5(H, V, {
8735
+ !H || !V || f5(H, V, {
8742
8736
  placement: M,
8743
8737
  middleware: [
8744
- c5(L),
8745
- O5({ padding: A }),
8746
- n5({ element: C }),
8747
- S5(),
8748
- u5()
8738
+ u5(L),
8739
+ s5({ padding: A }),
8740
+ o5({ element: C }),
8741
+ Z5(),
8742
+ S5()
8749
8743
  ]
8750
8744
  }).then(({ x: i, y: e, placement: d, middlewareData: l }) => {
8751
8745
  if (Object.assign(V.style, {
@@ -8770,7 +8764,7 @@ function r1({ value: H }, { value: V }, { value: C }, M, L, A) {
8770
8764
  });
8771
8765
  }
8772
8766
  var W1 = /* @__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))(W1 || {}), G = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(G || {});
8773
- const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], B5 = ["innerHTML"], b5 = /* @__PURE__ */ P({
8767
+ const g5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], k5 = ["innerHTML"], B5 = /* @__PURE__ */ P({
8774
8768
  __name: "RTooltip",
8775
8769
  props: {
8776
8770
  placement: { default: W1.Top },
@@ -8792,7 +8786,7 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8792
8786
  emits: ["show", "hide"],
8793
8787
  setup(H, { emit: V }) {
8794
8788
  const C = H;
8795
- q1((t) => ({
8789
+ j1((t) => ({
8796
8790
  "271323d4": h(r)
8797
8791
  }));
8798
8792
  const M = D(null), L = D(null), A = D(null);
@@ -8831,7 +8825,7 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8831
8825
  window.onresize = () => {
8832
8826
  const { placement: t, offset: n, padding: O, disabled: k } = C;
8833
8827
  k || C.resizable && r1(M, L, A, t, n, O);
8834
- }, Y1(
8828
+ }, q1(
8835
8829
  () => {
8836
8830
  C.disabled || C.shown && C.triggers === G.Manual && i();
8837
8831
  },
@@ -8851,11 +8845,11 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8851
8845
  onMousemove: N(u, ["stop"])
8852
8846
  }, [
8853
8847
  y(t.$slots, "trigger", {}, void 0, !0),
8854
- t.$slots.trigger ? w("", !0) : (o(), Z("div", {
8848
+ t.$slots.trigger ? b("", !0) : (o(), Z("div", {
8855
8849
  key: 0,
8856
8850
  innerHTML: C.triggerContent
8857
- }, null, 8, B5))
8858
- ], 40, k5),
8851
+ }, null, 8, k5))
8852
+ ], 40, g5),
8859
8853
  a("div", {
8860
8854
  id: "tooltip",
8861
8855
  ref_key: "tooltip",
@@ -8864,15 +8858,15 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8864
8858
  role: "tooltip"
8865
8859
  }, [
8866
8860
  y(t.$slots, "content", {}, void 0, !0),
8867
- t.$slots.content ? w("", !0) : (o(), Z("div", {
8861
+ t.$slots.content ? b("", !0) : (o(), Z("div", {
8868
8862
  key: 0,
8869
8863
  class: p({
8870
8864
  tooltip__content: !0,
8871
8865
  "tooltip__content--dark": C.dark,
8872
8866
  "tooltip__content--light": C.light
8873
8867
  })
8874
- }, b(C.text), 3)),
8875
- t.$slots.content ? w("", !0) : (o(), Z("div", {
8868
+ }, w(C.text), 3)),
8869
+ t.$slots.content ? b("", !0) : (o(), Z("div", {
8876
8870
  key: 1,
8877
8871
  id: "arrow",
8878
8872
  ref_key: "arrowElement",
@@ -8887,30 +8881,30 @@ const k5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8887
8881
  ], 64));
8888
8882
  }
8889
8883
  });
8890
- const w5 = (H, V) => {
8884
+ const b5 = (H, V) => {
8891
8885
  const C = H.__vccOpts || H;
8892
8886
  for (const [M, L] of V)
8893
8887
  C[M] = L;
8894
8888
  return C;
8895
- }, G5 = /* @__PURE__ */ w5(b5, [["__scopeId", "data-v-ee5f5651"]]);
8889
+ }, Q5 = /* @__PURE__ */ b5(B5, [["__scopeId", "data-v-ee5f5651"]]);
8896
8890
  export {
8897
- P5 as RAccordion,
8898
- T5 as RAlert,
8899
- F5 as RAvatar,
8900
- v5 as RBadge,
8901
- r2 as RButton,
8902
- R5 as RCheckbox,
8903
- h2 as RChip,
8904
- x5 as RDropdown,
8891
+ y5 as RAccordion,
8892
+ P5 as RAlert,
8893
+ T5 as RAvatar,
8894
+ F5 as RBadge,
8895
+ n2 as RButton,
8896
+ v5 as RCheckbox,
8897
+ p2 as RChip,
8898
+ R5 as RDropdown,
8905
8899
  v as RIcon,
8906
8900
  T1 as RLabel,
8907
- D5 as RModal,
8908
- E5 as RSidebar,
8909
- N5 as RSnackbar,
8910
- _5 as RSwitch,
8911
- X2 as RTabItem,
8912
- W5 as RTabs,
8913
- I5 as RTextArea,
8914
- Q5 as RTextfield,
8915
- G5 as RTooltip
8901
+ x5 as RModal,
8902
+ D5 as RSidebar,
8903
+ E5 as RSnackbar,
8904
+ N5 as RSwitch,
8905
+ Y2 as RTabItem,
8906
+ _5 as RTabs,
8907
+ W5 as RTextArea,
8908
+ I5 as RTextfield,
8909
+ Q5 as RTooltip
8916
8910
  };