@rocketui/vue 0.0.75 → 0.0.77

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 m, createElementBlock as a, createElementVNode as u, unref as p, reactive as X, Fragment as z, renderList as q, normalizeClass as g, renderSlot as b, toDisplayString as y, createVNode as $, computed as k, createCommentVNode as B, mergeProps as L2, createBlock as R, watch as W, getCurrentScope as M2, onScopeDispose as A2, ref as D, watchEffect as i2, onMounted as _1, Teleport as e2, withCtx as d1, withDirectives as W1, withKeys as B1, vModelText as d2, withModifiers as L1, createTextVNode as N1, normalizeStyle as h1, vShow as t2, resolveComponent as m2, provide as Z1, resolveDynamicComponent as l2, inject as u1 } from "vue";
1
+ import { defineComponent as v, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as s, reactive as X, Fragment as z, renderList as q, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as $, computed as k, createCommentVNode as B, mergeProps as L2, createBlock as R, watch as _, getCurrentScope as M2, onScopeDispose as A2, ref as E, watchEffect as i2, onMounted as _1, Teleport as e2, withCtx as d1, withDirectives as W1, withKeys as B1, vModelText as d2, withModifiers as L1, createTextVNode as N1, normalizeStyle as h1, vShow as t2, resolveComponent as m2, provide as Z1, resolveDynamicComponent as l2, inject as u1 } from "vue";
2
2
  const o2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7296,7 +7296,7 @@ const o2 = {
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
- }, n2 = ["height", "viewBox", "width"], r2 = ["d"], x = /* @__PURE__ */ F({
7299
+ }, n2 = ["height", "viewBox", "width"], r2 = ["d"], x = /* @__PURE__ */ v({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,19 +7305,19 @@ const o2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, L) => (m(), a("svg", {
7308
+ return (C, L) => (m(), Z("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
- u("path", {
7315
- d: p(o2)[V.name]
7314
+ S("path", {
7315
+ d: s(o2)[V.name]
7316
7316
  }, null, 8, r2)
7317
7317
  ], 8, n2));
7318
7318
  }
7319
7319
  });
7320
- const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title" }, S2 = { class: "r-accordion__icon" }, c2 = { class: "r-accordion__content" }, Z3 = /* @__PURE__ */ F({
7320
+ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title" }, S2 = { class: "r-accordion__icon" }, c2 = { class: "r-accordion__content" }, Z3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7336,28 +7336,28 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7336
7336
  C[i].open = i === M ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (M, A) => (m(!0), a(z, null, q(C, (i, e) => (m(), a("div", {
7339
+ return (M, A) => (m(!0), Z(z, null, q(C, (i, e) => (m(), Z("div", {
7340
7340
  key: e,
7341
- class: g({
7341
+ class: f({
7342
7342
  "r-accordion": !0,
7343
7343
  "r-accordion--disabled": i.disabled
7344
7344
  }),
7345
7345
  "data-state": i.open ? "opened" : "closed"
7346
7346
  }, [
7347
- u("div", {
7347
+ S("div", {
7348
7348
  class: "r-accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
7351
  b(M.$slots, "title", {}, () => [
7352
- u("div", u2, y(i.title), 1)
7352
+ S("div", u2, y(i.title), 1)
7353
7353
  ]),
7354
- u("div", S2, [
7354
+ S("div", S2, [
7355
7355
  $(x, { name: "mdiChevronUp" })
7356
7356
  ])
7357
7357
  ], 8, Z2),
7358
- u("div", c2, [
7358
+ S("div", c2, [
7359
7359
  b(M.$slots, "content", {}, () => [
7360
- u("span", null, y(i.content), 1)
7360
+ S("span", null, y(i.content), 1)
7361
7361
  ])
7362
7362
  ])
7363
7363
  ], 10, a2))), 128));
@@ -7368,7 +7368,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7368
7368
  }, f2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, u3 = /* @__PURE__ */ F({
7371
+ }, u3 = /* @__PURE__ */ v({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7393,24 +7393,24 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7393
7393
  })[C.type]), A = () => {
7394
7394
  V("close");
7395
7395
  };
7396
- return (i, e) => (m(), a("div", {
7397
- class: g(p(L))
7396
+ return (i, e) => (m(), Z("div", {
7397
+ class: f(s(L))
7398
7398
  }, [
7399
- u("div", s2, [
7399
+ S("div", s2, [
7400
7400
  b(i.$slots, "alert-icon", {}, () => [
7401
7401
  $(x, {
7402
- name: p(M),
7402
+ name: s(M),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
- u("div", O2, [
7407
+ S("div", O2, [
7408
7408
  b(i.$slots, "content", {}, () => [
7409
- u("p", p2, y(C.title), 1),
7410
- C.description ? (m(), a("p", h2, y(C.description), 1)) : B("", !0)
7409
+ S("p", p2, y(C.title), 1),
7410
+ C.description ? (m(), Z("p", h2, y(C.description), 1)) : B("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
- C.closable ? (m(), a("div", f2, [
7413
+ C.closable ? (m(), Z("div", f2, [
7414
7414
  b(i.$slots, "custom-close", {}, () => [
7415
7415
  $(x, {
7416
7416
  class: "r-alert__close__button",
@@ -7422,7 +7422,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7422
7422
  ])) : B("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), b1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", g2 = { class: "r-avatar__wrapper" }, k2 = ["alt", "src"], S3 = /* @__PURE__ */ F({
7425
+ }), b1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", g2 = { class: "r-avatar__wrapper" }, k2 = ["alt", "src"], S3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7440,42 +7440,42 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
7443
- return (i, e) => (m(), a("div", g2, [
7444
- u("div", {
7445
- class: g(p(C))
7443
+ return (i, e) => (m(), Z("div", g2, [
7444
+ S("div", {
7445
+ class: f(s(C))
7446
7446
  }, [
7447
- V.type === "text" ? (m(), a("p", {
7447
+ V.type === "text" ? (m(), Z("p", {
7448
7448
  key: 0,
7449
- class: g({ "r-avatar__text": !0, [`r-avatar__text--${V.size}`]: !0 })
7450
- }, y(A(V.text)), 3)) : (m(), a("img", {
7449
+ class: f({ "r-avatar__text": !0, [`r-avatar__text--${V.size}`]: !0 })
7450
+ }, y(A(V.text)), 3)) : (m(), Z("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
- class: g({
7453
+ class: f({
7454
7454
  "r-avatar__image": !0,
7455
7455
  [`r-avatar__image--${V.size}`]: !0,
7456
- "r-avatar__image--anonymous": p(L)
7456
+ "r-avatar__image--anonymous": s(L)
7457
7457
  }),
7458
- src: p(M)
7458
+ src: s(M)
7459
7459
  }, null, 10, k2))
7460
7460
  ], 2),
7461
- V.online ? (m(), a("span", {
7461
+ V.online ? (m(), Z("span", {
7462
7462
  key: 0,
7463
- class: g({
7463
+ class: f({
7464
7464
  "r-avatar__online": !0,
7465
7465
  [`r-avatar__online--${V.size}`]: !0
7466
7466
  })
7467
7467
  }, null, 2)) : B("", !0)
7468
7468
  ]));
7469
7469
  }
7470
- }), B2 = { class: "r-badge-wrapper group" }, c3 = /* @__PURE__ */ F({
7470
+ }), B2 = { class: "r-badge-wrapper group" }, c3 = /* @__PURE__ */ v({
7471
7471
  __name: "RBadge",
7472
7472
  props: {
7473
7473
  variant: { default: "primary" },
7474
7474
  placement: { default: "right" },
7475
7475
  overlap: { type: Boolean, default: !1 },
7476
7476
  hover: { type: Boolean, default: !1 },
7477
- content: { default: "" },
7478
- outside: { type: Boolean, default: !1 }
7477
+ outside: { type: Boolean, default: !1 },
7478
+ animation: { type: Boolean, default: !1 }
7479
7479
  },
7480
7480
  emits: ["click"],
7481
7481
  setup(H) {
@@ -7486,18 +7486,19 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7486
7486
  [`r-badge--${V.placement}`]: V.placement,
7487
7487
  [`r-badge--outside-${V.placement}`]: V.outside,
7488
7488
  "r-badge--hover": V.hover,
7489
- "r-badge--no-content": !V.content,
7490
7489
  [`r-badge--${V.variant}`]: V.variant
7491
7490
  }));
7492
- return (L, M) => (m(), a("div", B2, [
7493
- u("span", {
7494
- class: g(p(C)),
7495
- onClick: M[0] || (M[0] = (A) => L.$emit("click"))
7496
- }, y(V.content), 3),
7491
+ return (L, M) => (m(), Z("div", B2, [
7492
+ S("span", {
7493
+ class: f([{ "animate-ping": V.animation }, s(C)])
7494
+ }, null, 2),
7495
+ S("span", {
7496
+ class: f(s(C))
7497
+ }, null, 2),
7497
7498
  b(L.$slots, "default")
7498
7499
  ]));
7499
7500
  }
7500
- }), b2 = ["disabled"], s3 = /* @__PURE__ */ F({
7501
+ }), b2 = ["disabled"], s3 = /* @__PURE__ */ v({
7501
7502
  __name: "RButton",
7502
7503
  props: {
7503
7504
  variant: { default: "primary" },
@@ -7533,27 +7534,27 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7533
7534
  color: e
7534
7535
  };
7535
7536
  });
7536
- return (A, i) => (m(), a("button", L2(A.$attrs, {
7537
- class: p(C),
7537
+ return (A, i) => (m(), Z("button", L2(A.$attrs, {
7538
+ class: s(C),
7538
7539
  disabled: H.disabled || H.loading,
7539
- style: p(M),
7540
+ style: s(M),
7540
7541
  onClick: i[0] || (i[0] = (e) => A.$emit("click"))
7541
7542
  }), [
7542
7543
  b(A.$slots, "custom-icon"),
7543
7544
  !A.$slots["custom-icon"] && V.prependIcon ? (m(), R(x, {
7544
7545
  key: 0,
7545
- class: g(["r-button__prepend-icon", {
7546
+ class: f(["r-button__prepend-icon", {
7546
7547
  "r-button__prepend-icon--only": V.onlyIcon
7547
7548
  }]),
7548
7549
  name: V.prependIcon,
7549
- size: p(L)
7550
+ size: s(L)
7550
7551
  }, null, 8, ["class", "name", "size"])) : B("", !0),
7551
7552
  V.onlyIcon ? B("", !0) : b(A.$slots, "default", { key: 1 }),
7552
7553
  !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (m(), R(x, {
7553
7554
  key: 2,
7554
7555
  class: "r-button__append-icon",
7555
7556
  name: V.appendIcon,
7556
- size: p(L)
7557
+ size: s(L)
7557
7558
  }, null, 8, ["name", "size"])) : B("", !0)
7558
7559
  ], 16, b2));
7559
7560
  }
@@ -7563,7 +7564,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7563
7564
  }, x2 = {
7564
7565
  key: 1,
7565
7566
  class: "r-checkbox-texts__hint"
7566
- }, O3 = /* @__PURE__ */ F({
7567
+ }, O3 = /* @__PURE__ */ v({
7567
7568
  __name: "RCheckbox",
7568
7569
  props: {
7569
7570
  id: { default: "" },
@@ -7592,7 +7593,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7592
7593
  })), e = (d) => {
7593
7594
  C.disabled || (L.checked = d.target.checked, L.indeterminate = !1, V("update:modelValue", L.checked));
7594
7595
  };
7595
- return W(
7596
+ return _(
7596
7597
  () => C.indeterminate,
7597
7598
  (d) => {
7598
7599
  L.indeterminate = d, d === !0 && (L.checked = !1, V("update:modelValue", L.checked));
@@ -7602,7 +7603,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7602
7603
  // TODO: find a better way to do this
7603
7604
  immediate: !0
7604
7605
  }
7605
- ), W(
7606
+ ), _(
7606
7607
  () => C.modelValue,
7607
7608
  (d) => {
7608
7609
  L.checked = d;
@@ -7612,9 +7613,9 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7612
7613
  // TODO: find a better way to do this
7613
7614
  immediate: !0
7614
7615
  }
7615
- ), (d, l) => (m(), a("div", y2, [
7616
- u("div", w2, [
7617
- u("input", {
7616
+ ), (d, l) => (m(), Z("div", y2, [
7617
+ S("div", w2, [
7618
+ S("input", {
7618
7619
  id: C.id,
7619
7620
  checked: L.checked,
7620
7621
  class: "r-checkbox-container__input",
@@ -7623,27 +7624,27 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7623
7624
  type: "checkbox",
7624
7625
  onChange: e
7625
7626
  }, null, 40, P2),
7626
- u("div", {
7627
- class: g(p(i)),
7627
+ S("div", {
7628
+ class: f(s(i)),
7628
7629
  "data-disabled": C.disabled
7629
7630
  }, [
7630
7631
  $(x, {
7631
- name: p(A),
7632
+ name: s(A),
7632
7633
  size: 24
7633
7634
  }, null, 8, ["name"])
7634
7635
  ], 10, T2)
7635
7636
  ]),
7636
- u("div", v2, [
7637
- u("label", {
7637
+ S("div", v2, [
7638
+ S("label", {
7638
7639
  class: "r-checkbox-texts__label",
7639
7640
  "data-disabled": C.disabled,
7640
7641
  for: C.id
7641
7642
  }, y(C.label), 9, F2),
7642
- C.errorMsg ? (m(), a("p", R2, y(C.errorMsg), 1)) : (m(), a("p", x2, y(C.hint), 1))
7643
+ C.errorMsg ? (m(), Z("p", R2, y(C.errorMsg), 1)) : (m(), Z("p", x2, y(C.hint), 1))
7643
7644
  ])
7644
7645
  ]));
7645
7646
  }
7646
- }), D2 = { class: "r-chip__content__label" }, E2 = /* @__PURE__ */ F({
7647
+ }), D2 = { class: "r-chip__content__label" }, E2 = /* @__PURE__ */ v({
7647
7648
  __name: "RChip",
7648
7649
  props: {
7649
7650
  variant: { default: "primary" },
@@ -7666,10 +7667,10 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7666
7667
  }, A = (i) => {
7667
7668
  C.disabled || !C.closable || (i.stopPropagation(), V("click:close", i));
7668
7669
  };
7669
- return (i, e) => (m(), a("div", {
7670
- class: g(p(L))
7670
+ return (i, e) => (m(), Z("div", {
7671
+ class: f(s(L))
7671
7672
  }, [
7672
- u("div", {
7673
+ S("div", {
7673
7674
  class: "r-chip__content",
7674
7675
  onClick: e[0] || (e[0] = (d) => M(d))
7675
7676
  }, [
@@ -7682,7 +7683,7 @@ const a2 = ["data-state"], Z2 = ["onClick"], u2 = { class: "r-accordion__title"
7682
7683
  size: 12
7683
7684
  }, null, 8, ["aria-disabled", "name"])) : B("", !0)
7684
7685
  ]),
7685
- u("span", D2, y(C.label), 1)
7686
+ S("span", D2, y(C.label), 1)
7686
7687
  ]),
7687
7688
  b(i.$slots, "append", {}, () => [
7688
7689
  C.appendIcon ? (m(), R(x, {
@@ -7701,7 +7702,7 @@ function _2(H) {
7701
7702
  return M2() ? (A2(H), !0) : !1;
7702
7703
  }
7703
7704
  function I1(H) {
7704
- return typeof H == "function" ? H() : p(H);
7705
+ return typeof H == "function" ? H() : s(H);
7705
7706
  }
7706
7707
  const Q1 = typeof window < "u" && typeof document < "u", W2 = Object.prototype.toString, N2 = (H) => W2.call(H) === "[object Object]", s1 = () => {
7707
7708
  }, I2 = /* @__PURE__ */ Q2();
@@ -7721,15 +7722,15 @@ function S1(...H) {
7721
7722
  return s1;
7722
7723
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7723
7724
  const A = [], i = () => {
7724
- A.forEach((o) => o()), A.length = 0;
7725
- }, e = (o, t, r, n) => (o.addEventListener(t, r, n), () => o.removeEventListener(t, r, n)), d = W(
7725
+ A.forEach((n) => n()), A.length = 0;
7726
+ }, e = (n, t, a, r) => (n.addEventListener(t, a, r), () => n.removeEventListener(t, a, r)), d = _(
7726
7727
  () => [C1(V), I1(M)],
7727
- ([o, t]) => {
7728
- if (i(), !o)
7728
+ ([n, t]) => {
7729
+ if (i(), !n)
7729
7730
  return;
7730
- const r = N2(t) ? { ...t } : t;
7731
+ const a = N2(t) ? { ...t } : t;
7731
7732
  A.push(
7732
- ...C.flatMap((n) => L.map((Z) => e(o, n, Z, r)))
7733
+ ...C.flatMap((r) => L.map((u) => e(n, r, u, a)))
7733
7734
  );
7734
7735
  },
7735
7736
  { immediate: !0, flush: "post" }
@@ -7743,39 +7744,39 @@ function G2(H, V, C = {}) {
7743
7744
  const { window: L = G1, ignore: M = [], capture: A = !0, detectIframe: i = !1 } = C;
7744
7745
  if (!L)
7745
7746
  return;
7746
- I2 && !y1 && (y1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", s1)), L.document.documentElement.addEventListener("click", s1));
7747
+ I2 && !y1 && (y1 = !0, Array.from(L.document.body.children).forEach((a) => a.addEventListener("click", s1)), L.document.documentElement.addEventListener("click", s1));
7747
7748
  let e = !0;
7748
- const d = (r) => M.some((n) => {
7749
- if (typeof n == "string")
7750
- return Array.from(L.document.querySelectorAll(n)).some((Z) => Z === r.target || r.composedPath().includes(Z));
7749
+ const d = (a) => M.some((r) => {
7750
+ if (typeof r == "string")
7751
+ return Array.from(L.document.querySelectorAll(r)).some((u) => u === a.target || a.composedPath().includes(u));
7751
7752
  {
7752
- const Z = C1(n);
7753
- return Z && (r.target === Z || r.composedPath().includes(Z));
7753
+ const u = C1(r);
7754
+ return u && (a.target === u || a.composedPath().includes(u));
7754
7755
  }
7755
- }), o = [
7756
- S1(L, "click", (r) => {
7757
- const n = C1(H);
7758
- if (!(!n || n === r.target || r.composedPath().includes(n))) {
7759
- if (r.detail === 0 && (e = !d(r)), !e) {
7756
+ }), n = [
7757
+ S1(L, "click", (a) => {
7758
+ const r = C1(H);
7759
+ if (!(!r || r === a.target || a.composedPath().includes(r))) {
7760
+ if (a.detail === 0 && (e = !d(a)), !e) {
7760
7761
  e = !0;
7761
7762
  return;
7762
7763
  }
7763
- V(r);
7764
+ V(a);
7764
7765
  }
7765
7766
  }, { passive: !0, capture: A }),
7766
- S1(L, "pointerdown", (r) => {
7767
- const n = C1(H);
7768
- n && (e = !r.composedPath().includes(n) && !d(r));
7767
+ S1(L, "pointerdown", (a) => {
7768
+ const r = C1(H);
7769
+ r && (e = !a.composedPath().includes(r) && !d(a));
7769
7770
  }, { passive: !0 }),
7770
- i && S1(L, "blur", (r) => {
7771
+ i && S1(L, "blur", (a) => {
7771
7772
  setTimeout(() => {
7772
- var n;
7773
- const Z = C1(H);
7774
- ((n = L.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(Z != null && Z.contains(L.document.activeElement)) && V(r);
7773
+ var r;
7774
+ const u = C1(H);
7775
+ ((r = L.document.activeElement) == null ? void 0 : r.tagName) === "IFRAME" && !(u != null && u.contains(L.document.activeElement)) && V(a);
7775
7776
  }, 0);
7776
7777
  })
7777
7778
  ].filter(Boolean);
7778
- return () => o.forEach((r) => r());
7779
+ return () => n.forEach((a) => a());
7779
7780
  }
7780
7781
  function A1(H) {
7781
7782
  return H.split("-")[0];
@@ -7791,7 +7792,7 @@ function f1(H) {
7791
7792
  }
7792
7793
  function w1(H, V, C) {
7793
7794
  let { reference: L, floating: M } = H;
7794
- const A = L.x + L.width / 2 - M.width / 2, i = L.y + L.height / 2 - M.height / 2, e = i1(V), d = f1(e), l = L[d] / 2 - M[d] / 2, o = e === "x";
7795
+ const A = L.x + L.width / 2 - M.width / 2, i = L.y + L.height / 2 - M.height / 2, e = i1(V), d = f1(e), l = L[d] / 2 - M[d] / 2, n = e === "x";
7795
7796
  let t;
7796
7797
  switch (A1(V)) {
7797
7798
  case "top":
@@ -7811,21 +7812,21 @@ function w1(H, V, C) {
7811
7812
  }
7812
7813
  switch (n1(V)) {
7813
7814
  case "start":
7814
- t[e] -= l * (C && o ? -1 : 1);
7815
+ t[e] -= l * (C && n ? -1 : 1);
7815
7816
  break;
7816
7817
  case "end":
7817
- t[e] += l * (C && o ? -1 : 1);
7818
+ t[e] += l * (C && n ? -1 : 1);
7818
7819
  }
7819
7820
  return t;
7820
7821
  }
7821
7822
  const z2 = async (H, V, C) => {
7822
7823
  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));
7823
- let l = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: t } = w1(l, L, d), r = L, n = {}, Z = 0;
7824
- for (let h = 0; h < e.length; h++) {
7825
- const { name: f, fn: T } = e[h], { x: v, y: c, data: s, reset: w } = await T({ x: o, y: t, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: l, platform: i, elements: { reference: H, floating: V } });
7826
- o = v ?? o, t = c ?? t, n = { ...n, [f]: { ...n[f], ...s } }, w && Z <= 50 && (Z++, typeof w == "object" && (w.placement && (r = w.placement), w.rects && (l = w.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : w.rects), { x: o, y: t } = w1(l, r, d)), h = -1);
7824
+ let l = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: n, y: t } = w1(l, L, d), a = L, r = {}, u = 0;
7825
+ for (let p = 0; p < e.length; p++) {
7826
+ const { name: h, fn: P } = e[p], { x: T, y: w, data: O, reset: c } = await P({ x: n, y: t, initialPlacement: L, placement: a, strategy: M, middlewareData: r, rects: l, platform: i, elements: { reference: H, floating: V } });
7827
+ n = T ?? n, t = w ?? t, r = { ...r, [h]: { ...r[h], ...O } }, c && u <= 50 && (u++, typeof c == "object" && (c.placement && (a = c.placement), c.rects && (l = c.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : c.rects), { x: n, y: t } = w1(l, a, d)), p = -1);
7827
7828
  }
7828
- return { x: o, y: t, placement: r, strategy: M, middlewareData: n };
7829
+ return { x: n, y: t, placement: a, strategy: M, middlewareData: r };
7829
7830
  };
7830
7831
  function z1(H) {
7831
7832
  return typeof H != "number" ? function(V) {
@@ -7838,8 +7839,8 @@ function t1(H) {
7838
7839
  async function m1(H, V) {
7839
7840
  var C;
7840
7841
  V === void 0 && (V = {});
7841
- const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: o = "viewport", elementContext: t = "floating", altBoundary: r = !1, padding: n = 0 } = V, Z = z1(n), h = e[r ? t === "floating" ? "reference" : "floating" : t], f = t1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(h))) == null || C ? h : h.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: l, rootBoundary: o, strategy: d })), T = t1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: t === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[t]);
7842
- return { top: f.top - T.top + Z.top, bottom: T.bottom - f.bottom + Z.bottom, left: f.left - T.left + Z.left, right: T.right - f.right + Z.right };
7842
+ const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: n = "viewport", elementContext: t = "floating", altBoundary: a = !1, padding: r = 0 } = V, u = z1(r), p = e[a ? t === "floating" ? "reference" : "floating" : t], h = t1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(p))) == null || C ? p : p.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: l, rootBoundary: n, strategy: d })), P = t1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: t === "floating" ? { ...i.floating, x: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[t]);
7843
+ return { top: h.top - P.top + u.top, bottom: P.bottom - h.bottom + u.bottom, left: h.left - P.left + u.left, right: P.right - h.right + u.right };
7843
7844
  }
7844
7845
  const U2 = Math.min, $2 = Math.max;
7845
7846
  function O1(H, V, C) {
@@ -7849,11 +7850,11 @@ const K2 = (H) => ({ name: "arrow", options: H, async fn(V) {
7849
7850
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
7850
7851
  if (C == null)
7851
7852
  return {};
7852
- const l = z1(L), o = { x: M, y: A }, t = i1(i), r = n1(i), n = f1(t), Z = await d.getDimensions(C), h = t === "y" ? "top" : "left", f = t === "y" ? "bottom" : "right", T = e.reference[n] + e.reference[t] - o[t] - e.floating[n], v = o[t] - e.reference[t], c = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
7853
- let s = c ? t === "y" ? c.clientHeight || 0 : c.clientWidth || 0 : 0;
7854
- s === 0 && (s = e.floating[n]);
7855
- const w = T / 2 - v / 2, O = l[h], S = s - Z[n] - l[f], P = s / 2 - Z[n] / 2 + w, E = O1(O, P, S), _ = (r === "start" ? l[h] : l[f]) > 0 && P !== E && e.reference[n] <= e.floating[n];
7856
- return { [t]: o[t] - (_ ? P < O ? O - P : S - P : 0), data: { [t]: E, centerOffset: P - E } };
7853
+ const l = z1(L), n = { x: M, y: A }, t = i1(i), a = n1(i), r = f1(t), u = await d.getDimensions(C), p = t === "y" ? "top" : "left", h = t === "y" ? "bottom" : "right", P = e.reference[r] + e.reference[t] - n[t] - e.floating[r], T = n[t] - e.reference[t], w = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
7854
+ let O = w ? t === "y" ? w.clientHeight || 0 : w.clientWidth || 0 : 0;
7855
+ O === 0 && (O = e.floating[r]);
7856
+ const c = P / 2 - T / 2, F = l[p], o = O - u[r] - l[h], g = O / 2 - u[r] / 2 + c, D = O1(F, g, o), W = (a === "start" ? l[p] : l[h]) > 0 && g !== D && e.reference[r] <= e.floating[r];
7857
+ return { [t]: n[t] - (W ? g < F ? F - g : o - g : 0), data: { [t]: D, centerOffset: g - D } };
7857
7858
  } }), j2 = { left: "right", right: "left", bottom: "top", top: "bottom" };
7858
7859
  function l1(H) {
7859
7860
  return H.replace(/left|right|bottom|top/g, (V) => j2[V]);
@@ -7873,33 +7874,33 @@ U1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
7873
7874
  const X2 = function(H) {
7874
7875
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
7875
7876
  var C;
7876
- const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: o = !0, fallbackPlacements: t, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...Z } = H, h = A1(L), f = t || (h === i || !n ? [l1(i)] : function(P) {
7877
- const E = l1(P);
7878
- return [P1(P), E, P1(E)];
7879
- }(i)), T = [i, ...f], v = await m1(V, Z), c = [];
7880
- let s = ((C = M.flip) == null ? void 0 : C.overflows) || [];
7881
- if (l && c.push(v[h]), o) {
7882
- const { main: P, cross: E } = q2(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
7883
- c.push(v[P], v[E]);
7877
+ const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: n = !0, fallbackPlacements: t, fallbackStrategy: a = "bestFit", flipAlignment: r = !0, ...u } = H, p = A1(L), h = t || (p === i || !r ? [l1(i)] : function(g) {
7878
+ const D = l1(g);
7879
+ return [P1(g), D, P1(D)];
7880
+ }(i)), P = [i, ...h], T = await m1(V, u), w = [];
7881
+ let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
7882
+ if (l && w.push(T[p]), n) {
7883
+ const { main: g, cross: D } = q2(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
7884
+ w.push(T[g], T[D]);
7884
7885
  }
7885
- if (s = [...s, { placement: L, overflows: c }], !c.every((P) => P <= 0)) {
7886
- var w, O;
7887
- const P = ((w = (O = M.flip) == null ? void 0 : O.index) != null ? w : 0) + 1, E = T[P];
7888
- if (E)
7889
- return { data: { index: P, overflows: s }, reset: { placement: E } };
7890
- let _ = "bottom";
7891
- switch (r) {
7886
+ if (O = [...O, { placement: L, overflows: w }], !w.every((g) => g <= 0)) {
7887
+ var c, F;
7888
+ const g = ((c = (F = M.flip) == null ? void 0 : F.index) != null ? c : 0) + 1, D = P[g];
7889
+ if (D)
7890
+ return { data: { index: g, overflows: O }, reset: { placement: D } };
7891
+ let W = "bottom";
7892
+ switch (a) {
7892
7893
  case "bestFit": {
7893
- var S;
7894
- const k1 = (S = s.map((e1) => [e1, e1.overflows.filter((J) => J > 0).reduce((J, V2) => J + V2, 0)]).sort((e1, J) => e1[1] - J[1])[0]) == null ? void 0 : S[0].placement;
7895
- k1 && (_ = k1);
7894
+ var o;
7895
+ const k1 = (o = O.map((e1) => [e1, e1.overflows.filter((J) => J > 0).reduce((J, V2) => J + V2, 0)]).sort((e1, J) => e1[1] - J[1])[0]) == null ? void 0 : o[0].placement;
7896
+ k1 && (W = k1);
7896
7897
  break;
7897
7898
  }
7898
7899
  case "initialPlacement":
7899
- _ = i;
7900
+ W = i;
7900
7901
  }
7901
- if (L !== _)
7902
- return { reset: { placement: _ } };
7902
+ if (L !== W)
7903
+ return { reset: { placement: W } };
7903
7904
  }
7904
7905
  return {};
7905
7906
  } };
@@ -7930,9 +7931,9 @@ const J2 = function(H) {
7930
7931
  }, C5 = function(H) {
7931
7932
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
7932
7933
  const { x: C, y: L } = V, M = await async function(A, i) {
7933
- const { placement: e, platform: d, elements: l } = A, o = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), t = A1(e), r = n1(e), n = i1(e) === "x", Z = ["left", "top"].includes(t) ? -1 : 1, h = o && n ? -1 : 1, f = typeof i == "function" ? i(A) : i;
7934
- let { mainAxis: T, crossAxis: v, alignmentAxis: c } = typeof f == "number" ? { mainAxis: f, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...f };
7935
- return r && typeof c == "number" && (v = r === "end" ? -1 * c : c), n ? { x: v * h, y: T * Z } : { x: T * Z, y: v * h };
7934
+ const { placement: e, platform: d, elements: l } = A, n = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), t = A1(e), a = n1(e), r = i1(e) === "x", u = ["left", "top"].includes(t) ? -1 : 1, p = n && r ? -1 : 1, h = typeof i == "function" ? i(A) : i;
7935
+ let { mainAxis: P, crossAxis: T, alignmentAxis: w } = typeof h == "number" ? { mainAxis: h, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...h };
7936
+ return a && typeof w == "number" && (T = a === "end" ? -1 * w : w), r ? { x: T * p, y: P * u } : { x: P * u, y: T * p };
7936
7937
  }(V, H);
7937
7938
  return { x: C + M.x, y: L + M.y, data: M };
7938
7939
  } };
@@ -7942,21 +7943,21 @@ function H5(H) {
7942
7943
  }
7943
7944
  const V5 = function(H) {
7944
7945
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
7945
- const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (f) => {
7946
- let { x: T, y: v } = f;
7947
- return { x: T, y: v };
7948
- } }, ...d } = H, l = { x: C, y: L }, o = await m1(V, d), t = i1(A1(M)), r = H5(t);
7949
- let n = l[t], Z = l[r];
7946
+ const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (h) => {
7947
+ let { x: P, y: T } = h;
7948
+ return { x: P, y: T };
7949
+ } }, ...d } = H, l = { x: C, y: L }, n = await m1(V, d), t = i1(A1(M)), a = H5(t);
7950
+ let r = l[t], u = l[a];
7950
7951
  if (A) {
7951
- const f = t === "y" ? "bottom" : "right";
7952
- n = O1(n + o[t === "y" ? "top" : "left"], n, n - o[f]);
7952
+ const h = t === "y" ? "bottom" : "right";
7953
+ r = O1(r + n[t === "y" ? "top" : "left"], r, r - n[h]);
7953
7954
  }
7954
7955
  if (i) {
7955
- const f = r === "y" ? "bottom" : "right";
7956
- Z = O1(Z + o[r === "y" ? "top" : "left"], Z, Z - o[f]);
7956
+ const h = a === "y" ? "bottom" : "right";
7957
+ u = O1(u + n[a === "y" ? "top" : "left"], u, u - n[h]);
7957
7958
  }
7958
- const h = e.fn({ ...V, [t]: n, [r]: Z });
7959
- return { ...h, data: { x: h.x - C, y: h.y - L } };
7959
+ const p = e.fn({ ...V, [t]: r, [a]: u });
7960
+ return { ...p, data: { x: p.x - C, y: p.y - L } };
7960
7961
  } };
7961
7962
  };
7962
7963
  function $1(H) {
@@ -8017,8 +8018,8 @@ function j(H, V, C) {
8017
8018
  const e = H.getBoundingClientRect();
8018
8019
  let d = 1, l = 1;
8019
8020
  V && Q(H) && (d = H.offsetWidth > 0 && o1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && o1(e.height) / H.offsetHeight || 1);
8020
- const o = Y(H) ? G(H) : window, t = !j1() && C, r = (e.left + (t && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (t && (A = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, Z = e.width / d, h = e.height / l;
8021
- return { width: Z, height: h, top: n, right: r + Z, bottom: n + h, left: r, x: r, y: n };
8021
+ const n = Y(H) ? G(H) : window, t = !j1() && C, a = (e.left + (t && (L = (M = n.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, r = (e.top + (t && (A = (i = n.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / l, u = e.width / d, p = e.height / l;
8022
+ return { width: u, height: p, top: r, right: a + u, bottom: r + p, left: a, x: a, y: r };
8022
8023
  }
8023
8024
  function U(H) {
8024
8025
  return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8082,37 +8083,37 @@ function X1(H, V) {
8082
8083
  function E1(H, V, C) {
8083
8084
  return V === "viewport" ? t1(function(L, M) {
8084
8085
  const A = G(L), i = U(L), e = A.visualViewport;
8085
- let d = i.clientWidth, l = i.clientHeight, o = 0, t = 0;
8086
+ let d = i.clientWidth, l = i.clientHeight, n = 0, t = 0;
8086
8087
  if (e) {
8087
8088
  d = e.width, l = e.height;
8088
- const r = j1();
8089
- (r || !r && M === "fixed") && (o = e.offsetLeft, t = e.offsetTop);
8089
+ const a = j1();
8090
+ (a || !a && M === "fixed") && (n = e.offsetLeft, t = e.offsetTop);
8090
8091
  }
8091
- return { width: d, height: l, x: o, y: t };
8092
+ return { width: d, height: l, x: n, y: t };
8092
8093
  }(H, C)) : Y(V) ? function(L, M) {
8093
8094
  const A = j(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8094
8095
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8095
8096
  }(V, C) : t1(function(L) {
8096
8097
  var M;
8097
8098
  const A = U(L), i = a1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = V1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = V1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8098
- let o = -i.scrollLeft + q1(L);
8099
+ let n = -i.scrollLeft + q1(L);
8099
8100
  const t = -i.scrollTop;
8100
- return I(e || A).direction === "rtl" && (o += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: o, y: t };
8101
+ return I(e || A).direction === "rtl" && (n += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: n, y: t };
8101
8102
  }(U(H)));
8102
8103
  }
8103
8104
  const A5 = { getClippingRect: function(H) {
8104
8105
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8105
8106
  const A = C === "clippingAncestors" ? function(l) {
8106
- let o = X1(l).filter((Z) => Y(Z) && K(Z) !== "body"), t = null;
8107
- const r = I(l).position === "fixed";
8108
- let n = r ? M1(l) : l;
8109
- for (; Y(n) && !g1(n); ) {
8110
- const Z = I(n), h = p1(n);
8111
- (r ? h || t : h || Z.position !== "static" || !t || !["absolute", "fixed"].includes(t.position)) ? t = Z : o = o.filter((f) => f !== n), n = M1(n);
8107
+ let n = X1(l).filter((u) => Y(u) && K(u) !== "body"), t = null;
8108
+ const a = I(l).position === "fixed";
8109
+ let r = a ? M1(l) : l;
8110
+ for (; Y(r) && !g1(r); ) {
8111
+ const u = I(r), p = p1(r);
8112
+ (a ? p || t : p || u.position !== "static" || !t || !["absolute", "fixed"].includes(t.position)) ? t = u : n = n.filter((h) => h !== r), r = M1(r);
8112
8113
  }
8113
- return o;
8114
- }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((l, o) => {
8115
- const t = E1(V, o, M);
8114
+ return n;
8115
+ }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((l, n) => {
8116
+ const t = E1(V, n, M);
8116
8117
  return l.top = V1(t.top, l.top), l.right = R1(t.right, l.right), l.bottom = R1(t.bottom, l.bottom), l.left = V1(t.left, l.left), l;
8117
8118
  }, E1(V, e, M));
8118
8119
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
@@ -8149,36 +8150,36 @@ async function c1({ value: H }, { value: V }, { value: C }, L, M, A, i = 300, e)
8149
8150
  X2(),
8150
8151
  J2()
8151
8152
  ]
8152
- }).then(({ x: d, y: l, placement: o, middlewareData: t }) => {
8153
- var n;
8153
+ }).then(({ x: d, y: l, placement: n, middlewareData: t }) => {
8154
+ var r;
8154
8155
  if (!V)
8155
8156
  return;
8156
- const r = ((n = H.offsetParent) == null ? void 0 : n.getBoundingClientRect().left) || 0;
8157
+ const a = ((r = H.offsetParent) == null ? void 0 : r.getBoundingClientRect().left) || 0;
8157
8158
  if (Object.assign(V.style, {
8158
8159
  minWidth: e === "dropdown" ? `${H.offsetWidth - 2}px` : "auto",
8159
- left: e === "dropdown" ? `${r}px` : `${d}px`,
8160
+ left: e === "dropdown" ? `${a}px` : `${d}px`,
8160
8161
  top: `${l}px`,
8161
8162
  animation: `tooltip-show ${i}ms ease-in-out forwards`,
8162
8163
  transformOrigin: "start"
8163
8164
  }), C && t.arrow) {
8164
- const { x: Z, y: h } = t.arrow, f = {
8165
+ const { x: u, y: p } = t.arrow, h = {
8165
8166
  top: "bottom",
8166
8167
  right: "left",
8167
8168
  bottom: "top",
8168
8169
  left: "right"
8169
8170
  /* Right */
8170
- }[o.split("-")[0]];
8171
+ }[n.split("-")[0]];
8171
8172
  Object.assign(C.style, {
8172
- left: d != null ? `${Z}px` : "",
8173
- top: l != null ? `${h}px` : "",
8173
+ left: d != null ? `${u}px` : "",
8174
+ top: l != null ? `${p}px` : "",
8174
8175
  right: "",
8175
8176
  bottom: "",
8176
- [`${f}`]: "-4px"
8177
+ [`${h}`]: "-4px"
8177
8178
  });
8178
8179
  }
8179
8180
  });
8180
8181
  }
8181
- const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8182
+ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ v({
8182
8183
  __name: "RTooltip",
8183
8184
  props: {
8184
8185
  placement: { default: J1.Top },
@@ -8202,10 +8203,10 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8202
8203
  },
8203
8204
  emits: ["show", "hide"],
8204
8205
  setup(H, { emit: V }) {
8205
- const C = H, L = D(null), M = D(null), A = D(null);
8206
+ const C = H, L = E(null), M = E(null), A = E(null);
8206
8207
  async function i() {
8207
- const { placement: Z, offset: h, padding: f, disabled: T, showDelay: v, type: c } = C;
8208
- T || (M.value.style.display = "block", V("show"), c1(L, M, A, Z, h, f, v, c), d());
8208
+ const { placement: u, offset: p, padding: h, disabled: P, showDelay: T, type: w } = C;
8209
+ P || (M.value.style.display = "block", V("show"), c1(L, M, A, u, p, h, T, w), d());
8209
8210
  }
8210
8211
  function e() {
8211
8212
  C.disabled || !M.value || (M.value.style.display = "", V("hide"));
@@ -8218,24 +8219,24 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8218
8219
  function l() {
8219
8220
  C.disabled || C.triggers.includes(N.Click) && (M.value.style.display === "block" ? e() : i());
8220
8221
  }
8221
- function o() {
8222
+ function n() {
8222
8223
  C.disabled || C.triggers.includes(N.Hover) && i();
8223
8224
  }
8224
8225
  function t() {
8225
8226
  C.disabled || (M.value.style.display === "" && C.triggers.includes(N.Hover) ? i() : M.value.style.display !== "" && C.triggers.includes(N.Hover) && e());
8226
8227
  }
8227
- function r() {
8228
- const { placement: Z, offset: h, padding: f, disabled: T, showDelay: v, type: c } = C;
8229
- T || C.triggers.includes(N.Hover) && c1(L, M, A, Z, h, f, v, c);
8228
+ function a() {
8229
+ const { placement: u, offset: p, padding: h, disabled: P, showDelay: T, type: w } = C;
8230
+ P || C.triggers.includes(N.Hover) && c1(L, M, A, u, p, h, T, w);
8230
8231
  }
8231
- const n = k(() => ({
8232
+ const r = k(() => ({
8232
8233
  tooltip: !0,
8233
8234
  "tooltip--dark": C.dark,
8234
8235
  "tooltip--light": C.light
8235
8236
  }));
8236
8237
  return window.onresize = () => {
8237
- const { placement: Z, offset: h, padding: f, disabled: T, showDelay: v, type: c } = C;
8238
- T || C.resizable && c1(L, M, A, Z, h, f, v, c);
8238
+ const { placement: u, offset: p, padding: h, disabled: P, showDelay: T, type: w } = C;
8239
+ P || C.resizable && c1(L, M, A, u, p, h, T, w);
8239
8240
  }, i2(
8240
8241
  () => {
8241
8242
  C.disabled || (C.shown && C.triggers.includes(N.Manual) ? i() : !C.shown && C.triggers.includes(N.Manual) && e());
@@ -8252,52 +8253,52 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8252
8253
  ignore: [M.value]
8253
8254
  }
8254
8255
  );
8255
- }), (Z, h) => (m(), a(z, null, [
8256
- u("div", {
8256
+ }), (u, p) => (m(), Z(z, null, [
8257
+ S("div", {
8257
8258
  ref_key: "trigger",
8258
8259
  ref: L,
8259
8260
  "aria-disabled": C.disabled,
8260
- class: g(["trigger", H.triggerClass]),
8261
+ class: f(["trigger", H.triggerClass]),
8261
8262
  onClick: l,
8262
- onMouseenter: o,
8263
+ onMouseenter: n,
8263
8264
  onMouseleave: t,
8264
- onMousemove: r
8265
+ onMousemove: a
8265
8266
  }, [
8266
- b(Z.$slots, "default", {
8267
+ b(u.$slots, "default", {
8267
8268
  activators: {
8268
8269
  click: l,
8269
- mouseenter: o,
8270
+ mouseenter: n,
8270
8271
  mouseleave: t,
8271
- mousemove: r
8272
+ mousemove: a
8272
8273
  }
8273
8274
  }, () => [
8274
- u("div", {
8275
+ S("div", {
8275
8276
  innerHTML: C.triggerContent
8276
8277
  }, null, 8, d5)
8277
8278
  ])
8278
8279
  ], 42, e5),
8279
8280
  (m(), R(e2, { to: "body" }, [
8280
- u("div", {
8281
+ S("div", {
8281
8282
  id: "tooltip",
8282
8283
  ref_key: "tooltip",
8283
8284
  ref: M,
8284
- class: g([p(n), H.tooltipClass]),
8285
+ class: f([s(r), H.tooltipClass]),
8285
8286
  role: "tooltip"
8286
8287
  }, [
8287
- b(Z.$slots, "content", { hide: e }, () => [
8288
- C.text ? (m(), a("div", {
8288
+ b(u.$slots, "content", { hide: e }, () => [
8289
+ C.text ? (m(), Z("div", {
8289
8290
  key: 0,
8290
- class: g(["tooltip__content", {
8291
+ class: f(["tooltip__content", {
8291
8292
  "tooltip__content--dark": C.dark,
8292
8293
  "tooltip__content--light": C.light
8293
8294
  }])
8294
8295
  }, y(C.text), 3)) : B("", !0),
8295
- C.text ? (m(), a("div", {
8296
+ C.text ? (m(), Z("div", {
8296
8297
  key: 1,
8297
8298
  id: "arrow",
8298
8299
  ref_key: "arrowElement",
8299
8300
  ref: A,
8300
- class: g(["tooltip__arrow", {
8301
+ class: f(["tooltip__arrow", {
8301
8302
  "tooltip__arrow--dark": C.dark,
8302
8303
  "tooltip__arrow--light": C.light
8303
8304
  }])
@@ -8313,7 +8314,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8313
8314
  }, o5 = {
8314
8315
  key: 2,
8315
8316
  class: "r-dropdown__multiple"
8316
- }, n5 = ["id", "disabled", "placeholder", "readonly"], r5 = ["aria-disabled", "onClick"], a5 = { style: { display: "flex", "align-items": "center" } }, p3 = /* @__PURE__ */ F({
8317
+ }, n5 = ["id", "disabled", "placeholder", "readonly"], r5 = ["aria-disabled", "onClick"], a5 = { style: { display: "flex", "align-items": "center" } }, p3 = /* @__PURE__ */ v({
8317
8318
  __name: "RDropdown",
8318
8319
  props: {
8319
8320
  options: { default: () => [] },
@@ -8327,68 +8328,75 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8327
8328
  appendIcon: { default: "mdiChevronDown" },
8328
8329
  searchable: { type: Boolean, default: !1 },
8329
8330
  id: { default: "test" },
8330
- closeOnSelect: { type: Boolean, default: !0 }
8331
+ closeOnSelect: { type: Boolean, default: !0 },
8332
+ dropdownClass: { default: "" },
8333
+ optionsClass: { default: "" }
8331
8334
  },
8332
8335
  emits: ["update:modelValue"],
8333
8336
  setup(H, { emit: V }) {
8334
- const C = H, L = D({ value: "", label: "" }), M = X([]), A = D(!1), i = D(""), e = D(), d = D(), l = D();
8335
- function o(c, s) {
8336
- var w, O, S;
8337
- if (c.stopPropagation(), !C.disabled) {
8338
- if (A.value = !A.value, s && s(), A.value) {
8339
- (w = e.value) == null || w.classList.add("r-dropdown--active"), (O = e.value) == null || O.focus(), C.searchable && ((S = d.value) == null || S.focus());
8337
+ const C = H, L = E({ value: "", label: "" }), M = X([]), A = E(!1), i = E(""), e = E(), d = E(), l = E();
8338
+ function n(O, c) {
8339
+ var F, o, g;
8340
+ if (O.stopPropagation(), !C.disabled) {
8341
+ if (A.value = !A.value, c && c(), A.value) {
8342
+ (F = e.value) == null || F.classList.add("r-dropdown--active"), (o = e.value) == null || o.focus(), C.searchable && ((g = d.value) == null || g.focus());
8340
8343
  return;
8341
8344
  }
8342
8345
  t();
8343
8346
  }
8344
8347
  }
8345
8348
  function t() {
8346
- var c, s, w;
8347
- A.value = !1, (c = e.value) == null || c.classList.remove("r-dropdown--active"), (s = e.value) == null || s.blur(), (w = d.value) == null || w.blur();
8349
+ var O, c, F;
8350
+ A.value = !1, (O = e.value) == null || O.classList.remove("r-dropdown--active"), (c = e.value) == null || c.blur(), (F = d.value) == null || F.blur();
8348
8351
  }
8349
- function r(c, s, w) {
8350
- var O;
8351
- if (c.stopPropagation(), !s.disabled) {
8352
+ function a(O, c, F) {
8353
+ var o;
8354
+ if (O.stopPropagation(), !c.disabled) {
8352
8355
  if (C.multiple || C.taggable) {
8353
- M.find((S) => S.value === s.value) ? M.splice(M.indexOf(s), 1) : M.push(s), i.value = "", C.searchable && ((O = d.value) == null || O.focus());
8356
+ M.find((g) => g.value === c.value) ? M.splice(M.indexOf(c), 1) : M.push(c), i.value = "", C.searchable && ((o = d.value) == null || o.focus());
8354
8357
  return;
8355
8358
  }
8356
- n(c, s), C.closeOnSelect && (w(), t());
8359
+ r(O, c), C.closeOnSelect && (F(), t());
8357
8360
  }
8358
8361
  }
8359
- function n(c, s) {
8360
- if (L.value.value === s.value) {
8362
+ function r(O, c) {
8363
+ if (L.value.value === c.value) {
8361
8364
  L.value = {}, i.value = "";
8362
8365
  return;
8363
8366
  }
8364
- i.value = s.label, L.value = s, o(c), V("update:modelValue", s);
8367
+ i.value = c.label, L.value = c, n(O), V("update:modelValue", c);
8365
8368
  }
8366
- function Z(c, s) {
8367
- if (c instanceof KeyboardEvent && c.key !== "Backspace" || i.value !== "")
8369
+ function u(O, c) {
8370
+ if (O instanceof KeyboardEvent && O.key !== "Backspace" || i.value !== "")
8368
8371
  return;
8369
- c.stopPropagation();
8370
- const w = M.findIndex((O) => O.value === s.value);
8371
- M.splice(w, 1);
8372
+ O.stopPropagation();
8373
+ const F = M.findIndex((o) => o.value === c.value);
8374
+ M.splice(F, 1);
8372
8375
  }
8373
- function h(c) {
8374
- var O;
8376
+ function p(O) {
8377
+ var o;
8375
8378
  if (!C.taggable)
8376
8379
  return;
8377
- c.stopPropagation();
8378
- const s = i.value;
8379
- if (s === "")
8380
+ O.stopPropagation();
8381
+ const c = i.value;
8382
+ if (c === "")
8380
8383
  return;
8381
- C.options.find((S) => S.label === s) || (M.push({ value: s, label: s }), i.value = "", (O = d.value) == null || O.focus());
8384
+ C.options.find((g) => g.label === c) || (M.push({ value: c, label: c }), i.value = "", (o = d.value) == null || o.focus());
8382
8385
  }
8383
- function f(c) {
8384
- return C.multiple ? M.find((s) => s.value === c.value) : L.value.value === c.value;
8386
+ function h(O) {
8387
+ return C.multiple ? M.find((c) => c.value === O.value) : L.value.value === O.value;
8388
+ }
8389
+ const P = k(() => !C.searchable || L.value.label === i.value ? C.options : C.options.filter((c) => c.label.toLowerCase().includes(i.value.toLowerCase()))), T = k(() => C.multiple || C.taggable || !C.searchable);
8390
+ function w() {
8391
+ C.modelValue ? C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue, i.value = C.modelValue.label) : (L.value = {}, M.splice(0, M.length));
8385
8392
  }
8386
- const T = k(() => !C.searchable || L.value.label === i.value ? C.options : C.options.filter((s) => s.label.toLowerCase().includes(i.value.toLowerCase()))), v = k(() => C.multiple || C.taggable || !C.searchable);
8387
8393
  return _1(() => {
8388
- C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue, i.value = C.modelValue.label));
8389
- }), W(M, (c) => {
8390
- V("update:modelValue", c);
8391
- }), (c, s) => (m(), a("div", {
8394
+ w();
8395
+ }), _(M, (O) => {
8396
+ V("update:modelValue", O);
8397
+ }), _(() => C.modelValue, (O) => {
8398
+ w();
8399
+ }), (O, c) => (m(), Z("div", {
8392
8400
  ref_key: "wrapper",
8393
8401
  ref: l,
8394
8402
  class: "r-dropdown-wrapper"
@@ -8404,69 +8412,70 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8404
8412
  type: "dropdown",
8405
8413
  onHide: t
8406
8414
  }, {
8407
- default: d1(({ activators: w }) => [
8408
- u("div", {
8415
+ default: d1(({ activators: F }) => [
8416
+ S("div", {
8409
8417
  ref_key: "dropdown",
8410
8418
  ref: e,
8411
- class: g(["r-dropdown", {
8419
+ class: f(["r-dropdown", {
8412
8420
  "r-dropdown--disabled": C.disabled,
8413
- "r-dropdown--loading": C.loading
8421
+ "r-dropdown--loading": C.loading,
8422
+ [C.dropdownClass]: C.dropdownClass
8414
8423
  }]),
8415
8424
  role: "select",
8416
- onClick: (O) => o(O, w.click)
8425
+ onClick: (o) => n(o, F.click)
8417
8426
  }, [
8418
- C.prependIcon || c.$slots.prepend ? (m(), a("div", {
8427
+ C.prependIcon || O.$slots.prepend ? (m(), Z("div", {
8419
8428
  key: 0,
8420
- class: g(["r-dropdown__prepend-icon", {
8429
+ class: f(["r-dropdown__prepend-icon", {
8421
8430
  "r-dropdown__prepend-icon--active": A.value
8422
8431
  }])
8423
8432
  }, [
8424
- b(c.$slots, "prepend", {}, () => [
8433
+ b(O.$slots, "prepend", {}, () => [
8425
8434
  C.prependIcon ? (m(), R(x, {
8426
8435
  key: 0,
8427
8436
  name: C.prependIcon
8428
8437
  }, null, 8, ["name"])) : B("", !0)
8429
8438
  ])
8430
8439
  ], 2)) : B("", !0),
8431
- C.taggable ? (m(), a("div", l5, [
8432
- (m(!0), a(z, null, q(M, (O, S) => (m(), R(E2, {
8433
- key: S,
8440
+ C.taggable ? (m(), Z("div", l5, [
8441
+ (m(!0), Z(z, null, q(M, (o, g) => (m(), R(E2, {
8442
+ key: g,
8434
8443
  "append-icon": "close",
8435
8444
  class: "r-dropdown__tags__chip",
8436
- label: O.label,
8445
+ label: o.label,
8437
8446
  variant: "primary",
8438
- "onClick:close": (P) => Z(P, O)
8447
+ "onClick:close": (D) => u(D, o)
8439
8448
  }, null, 8, ["label", "onClick:close"]))), 128))
8440
8449
  ])) : B("", !0),
8441
- C.multiple ? (m(), a("div", o5, [
8442
- (m(!0), a(z, null, q(M, (O, S) => (m(), a("p", { key: S }, y(`${O.label},`), 1))), 128))
8450
+ C.multiple ? (m(), Z("div", o5, [
8451
+ (m(!0), Z(z, null, q(M, (o, g) => (m(), Z("p", { key: g }, y(`${o.label},`), 1))), 128))
8443
8452
  ])) : B("", !0),
8444
- W1(u("input", {
8453
+ W1(S("input", {
8445
8454
  id: C.id,
8446
8455
  ref_key: "input",
8447
8456
  ref: d,
8448
- "onUpdate:modelValue": s[0] || (s[0] = (O) => i.value = O),
8449
- class: g(["r-dropdown__input", {
8457
+ "onUpdate:modelValue": c[0] || (c[0] = (o) => i.value = o),
8458
+ class: f(["r-dropdown__input", {
8450
8459
  "r-dropdown__input--loading": C.loading
8451
8460
  }]),
8452
8461
  disabled: C.disabled,
8453
8462
  placeholder: C.placeholder,
8454
- readonly: p(v),
8463
+ readonly: s(T),
8455
8464
  type: "text",
8456
8465
  onKeydown: [
8457
- s[1] || (s[1] = B1((O) => Z(O, M[M.length - 1]), ["backspace"])),
8458
- s[2] || (s[2] = B1((O) => h(O), ["enter"]))
8466
+ c[1] || (c[1] = B1((o) => u(o, M[M.length - 1]), ["backspace"])),
8467
+ c[2] || (c[2] = B1((o) => p(o), ["enter"]))
8459
8468
  ]
8460
8469
  }, null, 42, n5), [
8461
8470
  [d2, i.value]
8462
8471
  ]),
8463
- C.appendIcon || c.$slots.append ? (m(), a("div", {
8472
+ C.appendIcon || O.$slots.append ? (m(), Z("div", {
8464
8473
  key: 3,
8465
- class: g(["r-dropdown__append-icon", {
8474
+ class: f(["r-dropdown__append-icon", {
8466
8475
  "r-dropdown__append-icon--active": A.value
8467
8476
  }])
8468
8477
  }, [
8469
- b(c.$slots, "append", {}, () => [
8478
+ b(O.$slots, "append", {}, () => [
8470
8479
  C.appendIcon ? (m(), R(x, {
8471
8480
  key: 0,
8472
8481
  name: C.appendIcon
@@ -8475,39 +8484,40 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8475
8484
  ], 2)) : B("", !0)
8476
8485
  ], 10, m5)
8477
8486
  ]),
8478
- content: d1(({ hide: w }) => [
8479
- u("ul", {
8480
- class: g(["r-dropdown-options", {
8481
- "r-dropdown-options--active": A.value
8487
+ content: d1(({ hide: F }) => [
8488
+ S("ul", {
8489
+ class: f(["r-dropdown-options", {
8490
+ "r-dropdown-options--active": A.value,
8491
+ [C.optionsClass]: C.optionsClass
8482
8492
  }])
8483
8493
  }, [
8484
- (m(!0), a(z, null, q(p(T), (O) => (m(), a("li", {
8485
- key: O.value,
8486
- "aria-disabled": O.disabled,
8487
- class: g(["r-dropdown-options__option", {
8488
- "r-dropdown-options__option--active": f(O),
8489
- "r-dropdown-options__option--disabled": O.disabled
8494
+ (m(!0), Z(z, null, q(s(P), (o) => (m(), Z("li", {
8495
+ key: o.value,
8496
+ "aria-disabled": o.disabled,
8497
+ class: f(["r-dropdown-options__option", {
8498
+ "r-dropdown-options__option--active": h(o),
8499
+ "r-dropdown-options__option--disabled": o.disabled
8490
8500
  }]),
8491
- onClick: L1((S) => r(S, O, w), ["prevent"])
8501
+ onClick: L1((g) => a(g, o, F), ["prevent"])
8492
8502
  }, [
8493
- u("div", a5, [
8494
- O.prependIcon ? (m(), R(x, {
8503
+ S("div", a5, [
8504
+ o.prependIcon ? (m(), R(x, {
8495
8505
  key: 1,
8496
- class: g(["r-dropdown-options__option__prepend-icon", {
8497
- "r-dropdown-options__option__prepend-icon--active": f(O)
8506
+ class: f(["r-dropdown-options__option__prepend-icon", {
8507
+ "r-dropdown-options__option__prepend-icon--active": h(o)
8498
8508
  }]),
8499
- name: O.prependIcon
8500
- }, null, 8, ["class", "name"])) : b(c.$slots, "option-prepend", { key: 0 }),
8501
- u("p", {
8502
- class: g(["r-dropdown-options__option__label", {
8503
- "r-dropdown-options__option__label--active": f(O)
8509
+ name: o.prependIcon
8510
+ }, null, 8, ["class", "name"])) : b(O.$slots, "option-prepend", { key: 0 }),
8511
+ S("p", {
8512
+ class: f(["r-dropdown-options__option__label", {
8513
+ "r-dropdown-options__option__label--active": h(o)
8504
8514
  }])
8505
- }, y(O.label), 3)
8515
+ }, y(o.label), 3)
8506
8516
  ]),
8507
- f(O) ? (m(), R(x, {
8517
+ h(o) ? (m(), R(x, {
8508
8518
  key: 0,
8509
- class: g(["r-dropdown-options__option__append-icon", {
8510
- "r-dropdown-options__option__append-icon--active": f(O)
8519
+ class: f(["r-dropdown-options__option__append-icon", {
8520
+ "r-dropdown-options__option__append-icon--active": h(o)
8511
8521
  }]),
8512
8522
  name: "mdiCheck"
8513
8523
  }, null, 8, ["class"])) : B("", !0)
@@ -8518,7 +8528,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8518
8528
  })
8519
8529
  ], 512));
8520
8530
  }
8521
- }), Z5 = ["id", "for"], H2 = /* @__PURE__ */ F({
8531
+ }), Z5 = ["id", "for"], H2 = /* @__PURE__ */ v({
8522
8532
  __name: "RLabel",
8523
8533
  props: {
8524
8534
  id: { default: "" },
@@ -8527,7 +8537,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8527
8537
  },
8528
8538
  setup(H) {
8529
8539
  const V = H;
8530
- return (C, L) => (m(), a("label", {
8540
+ return (C, L) => (m(), Z("label", {
8531
8541
  id: V.id,
8532
8542
  class: "r-label",
8533
8543
  for: V.for
@@ -8546,7 +8556,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8546
8556
  }, p5 = {
8547
8557
  key: 2,
8548
8558
  class: "description"
8549
- }, h5 = { class: "r-dialog__body" }, f5 = { class: "r-dialog__actions" }, h3 = /* @__PURE__ */ F({
8559
+ }, h5 = { class: "r-dialog__body" }, f5 = { class: "r-dialog__actions" }, h3 = /* @__PURE__ */ v({
8550
8560
  __name: "RModal",
8551
8561
  props: {
8552
8562
  modelValue: { type: Boolean, default: !1 },
@@ -8573,31 +8583,31 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8573
8583
  })), A = (i) => {
8574
8584
  C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
8575
8585
  };
8576
- return (i, e) => W1((m(), a("div", {
8577
- class: g(["r-modal-overlay", H.overlayClass]),
8586
+ return (i, e) => W1((m(), Z("div", {
8587
+ class: f(["r-modal-overlay", H.overlayClass]),
8578
8588
  onClick: L1(A, ["stop"])
8579
8589
  }, [
8580
- u("div", {
8590
+ S("div", {
8581
8591
  "aria-modal": "true",
8582
- class: g(p(L)),
8592
+ class: f(s(L)),
8583
8593
  open: C.modelValue,
8584
8594
  role: "dialog",
8585
- style: h1(p(M))
8595
+ style: h1(s(M))
8586
8596
  }, [
8587
- u("div", c5, [
8597
+ S("div", c5, [
8588
8598
  b(i.$slots, "header"),
8589
- C.icon ? (m(), a("div", s5, [
8599
+ C.icon ? (m(), Z("div", s5, [
8590
8600
  $(x, {
8591
8601
  name: C.icon
8592
8602
  }, null, 8, ["name"])
8593
8603
  ])) : B("", !0),
8594
- C.title ? (m(), a("div", O5, y(C.title), 1)) : B("", !0),
8595
- C.description ? (m(), a("div", p5, y(C.description), 1)) : B("", !0)
8604
+ C.title ? (m(), Z("div", O5, y(C.title), 1)) : B("", !0),
8605
+ C.description ? (m(), Z("div", p5, y(C.description), 1)) : B("", !0)
8596
8606
  ]),
8597
- u("div", h5, [
8607
+ S("div", h5, [
8598
8608
  b(i.$slots, "default")
8599
8609
  ]),
8600
- u("div", f5, [
8610
+ S("div", f5, [
8601
8611
  b(i.$slots, "actions")
8602
8612
  ])
8603
8613
  ], 14, S5)
@@ -8605,7 +8615,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8605
8615
  [t2, H.modelValue]
8606
8616
  ]);
8607
8617
  }
8608
- }), g5 = ["data-open"], k5 = { class: "r-sidebar__nav" }, B5 = { class: "r-sidebar__actions" }, b5 = ["data-open"], y5 = /* @__PURE__ */ N1(" > "), f3 = /* @__PURE__ */ F({
8618
+ }), g5 = ["data-open"], k5 = { class: "r-sidebar__nav" }, B5 = { class: "r-sidebar__actions" }, b5 = ["data-open"], y5 = /* @__PURE__ */ N1(" > "), f3 = /* @__PURE__ */ v({
8609
8619
  __name: "RSidebar",
8610
8620
  props: {
8611
8621
  modelValue: { type: Boolean, default: !1 },
@@ -8618,21 +8628,21 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8618
8628
  const V = H, C = k(() => ({
8619
8629
  "r-sidebar": !0
8620
8630
  }));
8621
- return (L, M) => (m(), a(z, null, [
8622
- u("aside", {
8623
- class: g([p(C), V.class]),
8631
+ return (L, M) => (m(), Z(z, null, [
8632
+ S("aside", {
8633
+ class: f([s(C), V.class]),
8624
8634
  "data-open": V.modelValue
8625
8635
  }, [
8626
- u("nav", k5, [
8636
+ S("nav", k5, [
8627
8637
  b(L.$slots, "default")
8628
8638
  ]),
8629
- u("div", B5, [
8639
+ S("div", B5, [
8630
8640
  b(L.$slots, "actions")
8631
8641
  ])
8632
8642
  ], 10, g5),
8633
- V.showTrigger ? (m(), a("div", {
8643
+ V.showTrigger ? (m(), Z("div", {
8634
8644
  key: 0,
8635
- class: g(["r-sidebar__trigger", [V.triggerClass]]),
8645
+ class: f(["r-sidebar__trigger", [V.triggerClass]]),
8636
8646
  "data-open": V.modelValue,
8637
8647
  onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8638
8648
  }, [
@@ -8645,7 +8655,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8645
8655
  }), w5 = { class: "r-snackbar__text" }, P5 = {
8646
8656
  key: 0,
8647
8657
  class: "r-snackbar__close"
8648
- }, g3 = /* @__PURE__ */ F({
8658
+ }, g3 = /* @__PURE__ */ v({
8649
8659
  __name: "RSnackbar",
8650
8660
  props: {
8651
8661
  modelValue: { type: Boolean, default: !1 },
@@ -8659,7 +8669,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8659
8669
  emits: ["action", "update:modelValue"],
8660
8670
  setup(H, { emit: V }) {
8661
8671
  const C = H;
8662
- W(
8672
+ _(
8663
8673
  () => C.modelValue,
8664
8674
  () => {
8665
8675
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -8682,19 +8692,19 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8682
8692
  warning: "mdiAlert",
8683
8693
  info: "mdiInformation"
8684
8694
  })[C.variant || "info"]);
8685
- return (A, i) => (m(), a("div", {
8686
- class: g(p(L))
8695
+ return (A, i) => (m(), Z("div", {
8696
+ class: f(s(L))
8687
8697
  }, [
8688
8698
  b(A.$slots, "default", {}, () => [
8689
8699
  C.variant ? (m(), R(x, {
8690
8700
  key: 0,
8691
8701
  class: "r-snackbar__icon",
8692
- name: p(M)
8702
+ name: s(M)
8693
8703
  }, null, 8, ["name"])) : B("", !0)
8694
8704
  ]),
8695
- u("div", w5, y(C.text), 1),
8705
+ S("div", w5, y(C.text), 1),
8696
8706
  b(A.$slots, "action"),
8697
- C.closable ? (m(), a("div", P5, [
8707
+ C.closable ? (m(), Z("div", P5, [
8698
8708
  b(A.$slots, "close", {}, () => [
8699
8709
  $(x, {
8700
8710
  name: "mdiClose",
@@ -8705,13 +8715,13 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8705
8715
  ])) : B("", !0)
8706
8716
  ], 2));
8707
8717
  }
8708
- }), T5 = { class: "r-switch-container" }, v5 = ["id", "checked"], F5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), R5 = ["id", "for"], x5 = {
8718
+ }), T5 = { class: "r-switch-container" }, v5 = ["id", "checked"], F5 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), R5 = ["id", "for"], x5 = {
8709
8719
  key: 0,
8710
8720
  class: "r-switch-texts__error"
8711
8721
  }, D5 = {
8712
8722
  key: 1,
8713
8723
  class: "r-switch-texts__hint"
8714
- }, k3 = /* @__PURE__ */ F({
8724
+ }, k3 = /* @__PURE__ */ v({
8715
8725
  __name: "RSwitch",
8716
8726
  props: {
8717
8727
  id: { default: "switch" },
@@ -8734,7 +8744,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8734
8744
  })), A = (i) => {
8735
8745
  C.disabled || (L.checked = i.target.checked, V("update:modelValue", L.checked));
8736
8746
  };
8737
- return W(
8747
+ return _(
8738
8748
  () => C.modelValue,
8739
8749
  (i) => {
8740
8750
  L.checked = i;
@@ -8744,11 +8754,11 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8744
8754
  // TODO: find a better way to do this
8745
8755
  immediate: !0
8746
8756
  }
8747
- ), (i, e) => (m(), a("div", T5, [
8748
- u("div", {
8749
- class: g(p(M))
8757
+ ), (i, e) => (m(), Z("div", T5, [
8758
+ S("div", {
8759
+ class: f(s(M))
8750
8760
  }, [
8751
- u("input", {
8761
+ S("input", {
8752
8762
  id: C.id,
8753
8763
  checked: L.checked,
8754
8764
  class: "r-switch__input",
@@ -8757,18 +8767,18 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8757
8767
  }, null, 40, v5),
8758
8768
  F5
8759
8769
  ], 2),
8760
- u("div", {
8761
- class: g({
8770
+ S("div", {
8771
+ class: f({
8762
8772
  "r-switch-texts": !0,
8763
8773
  [`r-switch-texts--${C.size}`]: !0
8764
8774
  })
8765
8775
  }, [
8766
- u("label", {
8776
+ S("label", {
8767
8777
  id: C.id,
8768
8778
  class: "r-switch-texts__label",
8769
8779
  for: C.id
8770
8780
  }, y(C.label), 9, R5),
8771
- C.errorMsg ? (m(), a("p", x5, y(C.errorMsg), 1)) : (m(), a("p", D5, y(C.hint), 1))
8781
+ C.errorMsg ? (m(), Z("p", x5, y(C.errorMsg), 1)) : (m(), Z("p", D5, y(C.hint), 1))
8772
8782
  ], 2)
8773
8783
  ]));
8774
8784
  }
@@ -8777,7 +8787,7 @@ var H1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON
8777
8787
  const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8778
8788
  key: 0,
8779
8789
  class: "r-tab-item__label"
8780
- }, W5 = /* @__PURE__ */ F({
8790
+ }, W5 = /* @__PURE__ */ v({
8781
8791
  __name: "RTabItem",
8782
8792
  props: {
8783
8793
  id: null,
@@ -8807,25 +8817,25 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8807
8817
  function i() {
8808
8818
  V("click:icon");
8809
8819
  }
8810
- return (e, d) => (m(), a("button", {
8820
+ return (e, d) => (m(), Z("button", {
8811
8821
  "aria-disabled": C.disabled,
8812
8822
  "aria-selected": C.modelValue === C.id,
8813
- class: g(p(L)),
8823
+ class: f(s(L)),
8814
8824
  disabled: C.disabled,
8815
- style: h1(p(M)),
8825
+ style: h1(s(M)),
8816
8826
  onClick: d[0] || (d[0] = L1((l) => A(C.id), ["stop"]))
8817
8827
  }, [
8818
8828
  b(e.$slots, "prepend", {}, () => [
8819
- C.variant !== p(H1).TEXT && C.prependIcon ? (m(), R(x, {
8829
+ C.variant !== s(H1).TEXT && C.prependIcon ? (m(), R(x, {
8820
8830
  key: 0,
8821
8831
  class: "r-tab-item__prepend-icon",
8822
8832
  name: C.prependIcon,
8823
8833
  size: 16
8824
8834
  }, null, 8, ["name"])) : B("", !0)
8825
8835
  ]),
8826
- C.variant !== p(H1).ICON ? (m(), a("span", _5, y(C.label), 1)) : B("", !0),
8836
+ C.variant !== s(H1).ICON ? (m(), Z("span", _5, y(C.label), 1)) : B("", !0),
8827
8837
  b(e.$slots, "append", {}, () => [
8828
- C.variant !== p(H1).TEXT && C.appendIcon ? (m(), R(x, {
8838
+ C.variant !== s(H1).TEXT && C.appendIcon ? (m(), R(x, {
8829
8839
  key: 0,
8830
8840
  class: "r-tab-item__append-icon",
8831
8841
  name: C.appendIcon,
@@ -8835,7 +8845,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8835
8845
  ])
8836
8846
  ], 14, E5));
8837
8847
  }
8838
- }), B3 = /* @__PURE__ */ F({
8848
+ }), B3 = /* @__PURE__ */ v({
8839
8849
  __name: "RTabs",
8840
8850
  props: {
8841
8851
  tabs: { default: () => [] },
@@ -8846,13 +8856,13 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8846
8856
  },
8847
8857
  emits: ["update:modelValue", "click:icon"],
8848
8858
  setup(H, { emit: V }) {
8849
- const C = H, L = D(C.modelValue || C.tabs[0].id), M = k(() => ({
8859
+ const C = H, L = E(C.modelValue || C.tabs[0].id), M = k(() => ({
8850
8860
  "r-tabs": !0,
8851
8861
  "r-tabs--block": C.block,
8852
8862
  "r-tabs--tile": C.tile,
8853
8863
  "r-tabs--scrollable": C.scrollable
8854
8864
  }));
8855
- W(
8865
+ _(
8856
8866
  () => L.value,
8857
8867
  () => {
8858
8868
  V("update:modelValue", L.value);
@@ -8861,15 +8871,15 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8861
8871
  function A() {
8862
8872
  V("click:icon");
8863
8873
  }
8864
- return (i, e) => (m(), a("div", {
8865
- class: g(p(M))
8874
+ return (i, e) => (m(), Z("div", {
8875
+ class: f(s(M))
8866
8876
  }, [
8867
8877
  b(i.$slots, "default", {}, () => [
8868
- (m(!0), a(z, null, q(C.tabs, (d, l) => (m(), R(W5, {
8878
+ (m(!0), Z(z, null, q(C.tabs, (d, l) => (m(), R(W5, {
8869
8879
  id: d.id,
8870
8880
  key: l,
8871
8881
  modelValue: L.value,
8872
- "onUpdate:modelValue": e[0] || (e[0] = (o) => L.value = o),
8882
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => L.value = n),
8873
8883
  active: l === L.value,
8874
8884
  "append-icon": d.appendIcon,
8875
8885
  block: H.block,
@@ -8889,7 +8899,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8889
8899
  }, G5 = {
8890
8900
  key: 2,
8891
8901
  class: "r-textarea__hint"
8892
- }, b3 = /* @__PURE__ */ F({
8902
+ }, b3 = /* @__PURE__ */ v({
8893
8903
  __name: "RTextArea",
8894
8904
  props: {
8895
8905
  id: { default: "" },
@@ -8908,7 +8918,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8908
8918
  function M(A) {
8909
8919
  V("update:modelValue", A.target.value);
8910
8920
  }
8911
- return W(
8921
+ return _(
8912
8922
  () => C.modelValue,
8913
8923
  (A) => {
8914
8924
  L.value = A;
@@ -8916,7 +8926,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8916
8926
  {
8917
8927
  immediate: !0
8918
8928
  }
8919
- ), (A, i) => (m(), a("div", N5, [
8929
+ ), (A, i) => (m(), Z("div", N5, [
8920
8930
  C.label ? (m(), R(H2, {
8921
8931
  key: 0,
8922
8932
  id: "textarea",
@@ -8924,9 +8934,9 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8924
8934
  for: "textarea",
8925
8935
  text: C.label
8926
8936
  }, null, 8, ["text"])) : B("", !0),
8927
- u("textarea", {
8937
+ S("textarea", {
8928
8938
  id: C.id,
8929
- class: g(["r-textarea", {
8939
+ class: f(["r-textarea", {
8930
8940
  "r-textarea--error": C.errorMsg,
8931
8941
  "r-textarea--disabled": C.disabled
8932
8942
  }]),
@@ -8935,7 +8945,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8935
8945
  value: L.value,
8936
8946
  onInput: M
8937
8947
  }, null, 42, I5),
8938
- C.errorMsg ? (m(), a("p", Q5, y(C.errorMsg), 1)) : (m(), a("p", G5, y(C.hint), 1))
8948
+ C.errorMsg ? (m(), Z("p", Q5, y(C.errorMsg), 1)) : (m(), Z("p", G5, y(C.hint), 1))
8939
8949
  ]));
8940
8950
  }
8941
8951
  }), z5 = { class: "r-textfield__wrapper" }, U5 = { class: "input-wrapper" }, $5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], K5 = {
@@ -8944,7 +8954,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8944
8954
  }, j5 = {
8945
8955
  key: 1,
8946
8956
  class: "r-textfield__hint"
8947
- }, y3 = /* @__PURE__ */ F({
8957
+ }, y3 = /* @__PURE__ */ v({
8948
8958
  __name: "RTextfield",
8949
8959
  props: {
8950
8960
  id: { default: "" },
@@ -8971,110 +8981,110 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8971
8981
  "click:clear"
8972
8982
  ],
8973
8983
  setup(H, { emit: V }) {
8974
- const C = H, L = D(), M = X({
8984
+ const C = H, L = E(), M = X({
8975
8985
  value: ""
8976
- }), A = D(C.type), i = {
8986
+ }), A = E(C.type), i = {
8977
8987
  password: "mdiLock",
8978
8988
  email: "mdiEmailOutline",
8979
8989
  tel: "mdiPhone",
8980
8990
  url: "mdiLink",
8981
8991
  number: "mdiNumeric",
8982
8992
  text: ""
8983
- }, e = D(!1), d = k(() => !!M.value), l = k(() => M.value.length > 0), o = k(() => {
8984
- var S;
8985
- return (S = C.errorMsg) == null ? void 0 : S.length;
8986
- }), t = k(() => C.clearable && l.value), r = k(() => {
8987
- const { disabled: S, loading: P, clearable: E, errorMsg: _ } = C;
8993
+ }, e = E(!1), d = k(() => !!M.value), l = k(() => M.value.length > 0), n = k(() => {
8994
+ var o;
8995
+ return (o = C.errorMsg) == null ? void 0 : o.length;
8996
+ }), t = k(() => C.clearable && l.value), a = k(() => {
8997
+ const { disabled: o, loading: g, clearable: D, errorMsg: W } = C;
8988
8998
  return {
8989
8999
  "r-textfield": !0,
8990
- "r-textfield--error": _ == null ? void 0 : _.length,
8991
- "r-textfield--loading": P,
8992
- "r-textfield--disabled": S,
8993
- "r-textfield--clearable": E,
9000
+ "r-textfield--error": W == null ? void 0 : W.length,
9001
+ "r-textfield--loading": g,
9002
+ "r-textfield--disabled": o,
9003
+ "r-textfield--clearable": D,
8994
9004
  "r-textfield--focus": e.value,
8995
9005
  "r-textfield--filled": d.value
8996
9006
  };
8997
- }), n = k(() => ({
9007
+ }), r = k(() => ({
8998
9008
  "r-textfield__prepend-icon": !0,
8999
9009
  "r-textfield__prepend-icon--loading": C.loading,
9000
- "r-textfield__prepend-icon--error": o.value && d.value
9001
- })), Z = k(() => ({
9010
+ "r-textfield__prepend-icon--error": n.value && d.value
9011
+ })), u = k(() => ({
9002
9012
  "r-textfield__append-icon": !0,
9003
9013
  "r-textfield__append-icon--clear": t.value,
9004
- "r-textfield__append-icon--error": o.value
9005
- })), h = k(() => {
9006
- const { prependIcon: S, type: P } = C;
9007
- return S === "none" ? "" : S || i[P];
9008
- }), f = k(() => {
9009
- const { appendIcon: S, type: P } = C;
9010
- return S === "none" ? "" : o.value ? "mdiAlertCircleOutline" : t.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && A.value === "password" ? "mdiEyeOutline" : P === "password" && A.value === "text" ? "mdiEyeOffOutline" : S;
9014
+ "r-textfield__append-icon--error": n.value
9015
+ })), p = k(() => {
9016
+ const { prependIcon: o, type: g } = C;
9017
+ return o === "none" ? "" : o || i[g];
9018
+ }), h = k(() => {
9019
+ const { appendIcon: o, type: g } = C;
9020
+ return o === "none" ? "" : n.value ? "mdiAlertCircleOutline" : t.value && ["text", "email"].includes(g) ? "mdiClose" : g === "password" && A.value === "password" ? "mdiEyeOutline" : g === "password" && A.value === "text" ? "mdiEyeOffOutline" : o;
9011
9021
  });
9012
- function T(S) {
9013
- e.value = !0, V("focus", S);
9022
+ function P(o) {
9023
+ e.value = !0, V("focus", o);
9014
9024
  }
9015
- function v(S) {
9016
- e.value = !1, V("blur", S);
9025
+ function T(o) {
9026
+ e.value = !1, V("blur", o);
9017
9027
  }
9018
- function c(S) {
9019
- M.value = S.target.value, V("input", S);
9028
+ function w(o) {
9029
+ M.value = o.target.value, V("input", o);
9020
9030
  }
9021
- function s() {
9022
- var S;
9031
+ function O() {
9032
+ var o;
9023
9033
  if (t.value) {
9024
- M.value = "", (S = L.value) == null || S.focus(), V("click:clear", {
9034
+ M.value = "", (o = L.value) == null || o.focus(), V("click:clear", {
9025
9035
  value: A.value === "number" ? +M.value : M.value
9026
9036
  });
9027
9037
  return;
9028
9038
  }
9029
9039
  V("click:icon", {
9030
9040
  value: A.value === "number" ? +M.value : M.value
9031
- }), A.value === "password" && w();
9041
+ }), A.value === "password" && c();
9032
9042
  }
9033
- function w() {
9043
+ function c() {
9034
9044
  A.value = A.value === "password" ? "text" : "password";
9035
9045
  }
9036
- function O() {
9037
- var S;
9038
- (S = L.value) == null || S.focus();
9046
+ function F() {
9047
+ var o;
9048
+ (o = L.value) == null || o.focus();
9039
9049
  }
9040
- return W(
9050
+ return _(
9041
9051
  () => C.modelValue,
9042
- (S) => {
9043
- M.value = S;
9052
+ (o) => {
9053
+ M.value = o;
9044
9054
  },
9045
9055
  {
9046
9056
  immediate: !0
9047
9057
  }
9048
- ), W(
9058
+ ), _(
9049
9059
  () => M.value,
9050
- (S) => {
9060
+ (o) => {
9051
9061
  V(
9052
9062
  "update:modelValue",
9053
- A.value === "number" ? +S : S
9063
+ A.value === "number" ? +o : o
9054
9064
  );
9055
9065
  }
9056
- ), (S, P) => (m(), a("fieldset", null, [
9057
- u("div", z5, [
9066
+ ), (o, g) => (m(), Z("fieldset", null, [
9067
+ S("div", z5, [
9058
9068
  C.label ? (m(), R(H2, {
9059
9069
  key: 0,
9060
9070
  id: C.id,
9061
9071
  class: "r-textfield__label",
9062
9072
  for: C.id,
9063
9073
  text: C.label,
9064
- onClick: O
9074
+ onClick: F
9065
9075
  }, null, 8, ["id", "for", "text"])) : B("", !0),
9066
- u("div", U5, [
9067
- u("div", {
9068
- class: g(p(r))
9076
+ S("div", U5, [
9077
+ S("div", {
9078
+ class: f(s(a))
9069
9079
  }, [
9070
- b(S.$slots, "prepend"),
9071
- p(h) && !S.$slots.prepend ? (m(), R(x, {
9080
+ b(o.$slots, "prepend"),
9081
+ s(p) && !o.$slots.prepend ? (m(), R(x, {
9072
9082
  key: 0,
9073
- class: g(p(n)),
9074
- name: p(h),
9083
+ class: f(s(r)),
9084
+ name: s(p),
9075
9085
  size: 20
9076
9086
  }, null, 8, ["class", "name"])) : B("", !0),
9077
- u("input", {
9087
+ S("input", {
9078
9088
  id: C.id,
9079
9089
  ref_key: "inputRef",
9080
9090
  ref: L,
@@ -9084,21 +9094,21 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9084
9094
  placeholder: C.placeholder,
9085
9095
  type: A.value,
9086
9096
  value: M.value,
9087
- onBlur: v,
9088
- onFocus: T,
9089
- onInput: c
9097
+ onBlur: T,
9098
+ onFocus: P,
9099
+ onInput: w
9090
9100
  }, null, 40, $5),
9091
- b(S.$slots, "append"),
9092
- p(f) && !S.$slots.append ? (m(), R(x, {
9101
+ b(o.$slots, "append"),
9102
+ s(h) && !o.$slots.append ? (m(), R(x, {
9093
9103
  key: 1,
9094
- class: g(p(Z)),
9095
- name: `${p(f)}`,
9104
+ class: f(s(u)),
9105
+ name: `${s(h)}`,
9096
9106
  size: 20,
9097
- onClick: s
9107
+ onClick: O
9098
9108
  }, null, 8, ["class", "name"])) : B("", !0)
9099
9109
  ], 2),
9100
- C.errorMsg ? (m(), a("div", K5, y(C.errorMsg), 1)) : B("", !0),
9101
- !C.errorMsg && C.hint ? (m(), a("div", j5, y(C.hint), 1)) : B("", !0)
9110
+ C.errorMsg ? (m(), Z("div", K5, y(C.errorMsg), 1)) : B("", !0),
9111
+ !C.errorMsg && C.hint ? (m(), Z("div", j5, y(C.hint), 1)) : B("", !0)
9102
9112
  ])
9103
9113
  ])
9104
9114
  ]));
@@ -9106,7 +9116,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9106
9116
  }), q5 = { class: "r-breadcrumb" }, Y5 = {
9107
9117
  key: 0,
9108
9118
  class: "r-breadcrumb__title"
9109
- }, w3 = /* @__PURE__ */ F({
9119
+ }, w3 = /* @__PURE__ */ v({
9110
9120
  __name: "RBreadcrumb",
9111
9121
  props: {
9112
9122
  items: { default: () => [] },
@@ -9116,8 +9126,8 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9116
9126
  const V = H;
9117
9127
  return (C, L) => {
9118
9128
  const M = m2("router-link");
9119
- return m(), a("div", q5, [
9120
- (m(!0), a(z, null, q(V.items, (A, i) => (m(), a("div", {
9129
+ return m(), Z("div", q5, [
9130
+ (m(!0), Z(z, null, q(V.items, (A, i) => (m(), Z("div", {
9121
9131
  key: i,
9122
9132
  class: "r-breadcrumb__item"
9123
9133
  }, [
@@ -9132,7 +9142,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9132
9142
  name: A.icon
9133
9143
  }, null, 8, ["name"])) : B("", !0)
9134
9144
  ]),
9135
- A.onlyIcon ? B("", !0) : (m(), a("span", Y5, y(A.title), 1))
9145
+ A.onlyIcon ? B("", !0) : (m(), Z("span", Y5, y(A.title), 1))
9136
9146
  ]),
9137
9147
  _: 2
9138
9148
  }, 1032, ["to"]),
@@ -9147,21 +9157,21 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9147
9157
  ]);
9148
9158
  };
9149
9159
  }
9150
- }), X5 = { class: "r-pagination" }, J5 = { class: "r-pagination__page-info" }, C3 = { key: 0 }, H3 = { class: "r-pagination__page-info__current-page" }, V3 = { class: "r-pagination__page-info__total-pages" }, L3 = { class: "r-pagination__paginator" }, M3 = ["disabled"], A3 = /* @__PURE__ */ u("path", {
9160
+ }), X5 = { class: "r-pagination" }, J5 = { class: "r-pagination__page-info" }, C3 = { key: 0 }, H3 = { class: "r-pagination__page-info__current-page" }, V3 = { class: "r-pagination__page-info__total-pages" }, L3 = { class: "r-pagination__paginator" }, M3 = ["disabled"], A3 = /* @__PURE__ */ S("path", {
9151
9161
  d: "M0 0h24v24H0z",
9152
9162
  fill: "none",
9153
9163
  stroke: "none"
9154
- }, null, -1), i3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), e3 = [
9164
+ }, null, -1), i3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), e3 = [
9155
9165
  A3,
9156
9166
  i3
9157
- ], d3 = ["max", "value"], t3 = ["disabled"], m3 = /* @__PURE__ */ u("path", {
9167
+ ], d3 = ["max", "value"], t3 = ["disabled"], m3 = /* @__PURE__ */ S("path", {
9158
9168
  d: "M0 0h24v24H0z",
9159
9169
  fill: "none",
9160
9170
  stroke: "none"
9161
- }, null, -1), l3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), o3 = [
9171
+ }, null, -1), l3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), o3 = [
9162
9172
  m3,
9163
9173
  l3
9164
- ], n3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ F({
9174
+ ], n3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ v({
9165
9175
  __name: "RPagination",
9166
9176
  props: {
9167
9177
  page: { default: 1 },
@@ -9176,22 +9186,22 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9176
9186
  const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9177
9187
  A < 1 || A > L.value || V("update:page", A);
9178
9188
  };
9179
- return (A, i) => (m(), a("div", X5, [
9180
- u("div", J5, [
9181
- H.slash ? B("", !0) : (m(), a("span", C3, y(C.pageText), 1)),
9182
- u("span", H3, y(C.page), 1),
9183
- u("span", null, y(H.slash ? "/" : C.ofText), 1),
9184
- u("span", V3, y(p(L)), 1)
9189
+ return (A, i) => (m(), Z("div", X5, [
9190
+ S("div", J5, [
9191
+ H.slash ? B("", !0) : (m(), Z("span", C3, y(C.pageText), 1)),
9192
+ S("span", H3, y(C.page), 1),
9193
+ S("span", null, y(H.slash ? "/" : C.ofText), 1),
9194
+ S("span", V3, y(s(L)), 1)
9185
9195
  ]),
9186
- u("div", L3, [
9187
- u("button", {
9196
+ S("div", L3, [
9197
+ S("button", {
9188
9198
  class: "r-pagination__paginator__prev",
9189
9199
  disabled: C.page === 1,
9190
9200
  onClick: i[0] || (i[0] = (e) => M(+C.page - 1))
9191
9201
  }, [
9192
9202
  b(A.$slots, "prev", {}, () => [
9193
- (m(), a("svg", {
9194
- class: g({ "stroke-gray-400": C.page === 1 }),
9203
+ (m(), Z("svg", {
9204
+ class: f({ "stroke-gray-400": C.page === 1 }),
9195
9205
  fill: "none",
9196
9206
  height: "16",
9197
9207
  stroke: "#323232",
@@ -9204,9 +9214,9 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9204
9214
  }, e3, 2))
9205
9215
  ])
9206
9216
  ], 8, M3),
9207
- u("input", {
9217
+ S("input", {
9208
9218
  class: "r-pagination__paginator__input",
9209
- max: p(L),
9219
+ max: s(L),
9210
9220
  min: "1",
9211
9221
  type: "number",
9212
9222
  value: C.page,
@@ -9215,14 +9225,14 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9215
9225
  return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9216
9226
  })
9217
9227
  }, null, 40, d3),
9218
- u("button", {
9228
+ S("button", {
9219
9229
  class: "r-pagination__paginator__next",
9220
- disabled: C.page === p(L),
9230
+ disabled: C.page === s(L),
9221
9231
  onClick: i[2] || (i[2] = (e) => M(+C.page + 1))
9222
9232
  }, [
9223
9233
  b(A.$slots, "next", {}, () => [
9224
- (m(), a("svg", {
9225
- class: g({ "stroke-gray-400": C.page === p(L) }),
9234
+ (m(), Z("svg", {
9235
+ class: f({ "stroke-gray-400": C.page === s(L) }),
9226
9236
  fill: "none",
9227
9237
  height: "16",
9228
9238
  stroke: "#323232",
@@ -9235,11 +9245,11 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9235
9245
  }, o3, 2))
9236
9246
  ])
9237
9247
  ], 8, t3),
9238
- u("div", n3, "/ " + y(p(L)), 1)
9248
+ S("div", n3, "/ " + y(s(L)), 1)
9239
9249
  ])
9240
9250
  ]));
9241
9251
  }
9242
- }), r3 = ["value"], T3 = /* @__PURE__ */ F({
9252
+ }), r3 = ["value"], T3 = /* @__PURE__ */ v({
9243
9253
  __name: "RProgressbar",
9244
9254
  props: {
9245
9255
  value: { default: 0 },
@@ -9247,7 +9257,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9247
9257
  },
9248
9258
  setup(H) {
9249
9259
  const V = H;
9250
- return (C, L) => (m(), a("progress", {
9260
+ return (C, L) => (m(), Z("progress", {
9251
9261
  "aria-valuemax": 100,
9252
9262
  class: "r-progressbar",
9253
9263
  max: 100,
@@ -9256,7 +9266,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9256
9266
  value: V.value
9257
9267
  }, null, 12, r3));
9258
9268
  }
9259
- }), v3 = /* @__PURE__ */ F({
9269
+ }), v3 = /* @__PURE__ */ v({
9260
9270
  __name: "RItemGroup",
9261
9271
  props: {
9262
9272
  modelValue: { default: () => [] },
@@ -9269,16 +9279,16 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9269
9279
  },
9270
9280
  emits: ["update:modelValue"],
9271
9281
  setup(H, { emit: V }) {
9272
- const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = k(() => C.selectedClass);
9282
+ const C = H, L = "rocket-ui:r-item-group", M = E(C.as ?? "div"), A = E(C.modelValue ?? []), i = k(() => C.selectedClass);
9273
9283
  Z1(`${L}:selectedClass`, i.value);
9274
9284
  function e(l) {
9275
9285
  return A.value.includes(l);
9276
9286
  }
9277
9287
  Z1(`${L}:isSelected`, e);
9278
- function d(l, o) {
9279
- C.disabled || C.mandatory && A.value.length === 1 && o || C.max && A.value.length === C.max && o || (C.multiple ? o ? A.value.push(l) : A.value = A.value.filter((t) => t !== l) : A.value = o ? [l] : [], V("update:modelValue", A.value));
9288
+ function d(l, n) {
9289
+ C.disabled || C.mandatory && A.value.length === 1 && n || C.max && A.value.length === C.max && n || (C.multiple ? n ? A.value.push(l) : A.value = A.value.filter((t) => t !== l) : A.value = n ? [l] : [], V("update:modelValue", A.value));
9280
9290
  }
9281
- return Z1(`${L}:select`, d), (l, o) => (m(), R(l2(M.value), null, {
9291
+ return Z1(`${L}:select`, d), (l, n) => (m(), R(l2(M.value), null, {
9282
9292
  default: d1(() => [
9283
9293
  b(l.$slots, "default", {
9284
9294
  isSelected: e,
@@ -9289,7 +9299,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9289
9299
  _: 3
9290
9300
  }));
9291
9301
  }
9292
- }), F3 = /* @__PURE__ */ F({
9302
+ }), F3 = /* @__PURE__ */ v({
9293
9303
  __name: "RItem",
9294
9304
  props: {
9295
9305
  value: { default: null },
@@ -9304,11 +9314,11 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9304
9314
  function d() {
9305
9315
  V.disabled || i(V.value, !0);
9306
9316
  }
9307
- return (l, o) => b(l.$slots, "default", {
9317
+ return (l, n) => b(l.$slots, "default", {
9308
9318
  disabled: V.disabled,
9309
- isSelected: p(L)(V.value),
9319
+ isSelected: s(L)(V.value),
9310
9320
  select: d,
9311
- selectedClass: p(A),
9321
+ selectedClass: s(A),
9312
9322
  toggle: e,
9313
9323
  value: V.value
9314
9324
  });