@rocketui/vue 0.0.75 → 0.0.76

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 }
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: () => [] },
@@ -8331,64 +8332,69 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8331
8332
  },
8332
8333
  emits: ["update:modelValue"],
8333
8334
  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());
8335
+ const C = H, L = E({ value: "", label: "" }), M = X([]), A = E(!1), i = E(""), e = E(), d = E(), l = E();
8336
+ function n(O, c) {
8337
+ var F, o, g;
8338
+ if (O.stopPropagation(), !C.disabled) {
8339
+ if (A.value = !A.value, c && c(), A.value) {
8340
+ (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
8341
  return;
8341
8342
  }
8342
8343
  t();
8343
8344
  }
8344
8345
  }
8345
8346
  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();
8347
+ var O, c, F;
8348
+ 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
8349
  }
8349
- function r(c, s, w) {
8350
- var O;
8351
- if (c.stopPropagation(), !s.disabled) {
8350
+ function a(O, c, F) {
8351
+ var o;
8352
+ if (O.stopPropagation(), !c.disabled) {
8352
8353
  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());
8354
+ 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
8355
  return;
8355
8356
  }
8356
- n(c, s), C.closeOnSelect && (w(), t());
8357
+ r(O, c), C.closeOnSelect && (F(), t());
8357
8358
  }
8358
8359
  }
8359
- function n(c, s) {
8360
- if (L.value.value === s.value) {
8360
+ function r(O, c) {
8361
+ if (L.value.value === c.value) {
8361
8362
  L.value = {}, i.value = "";
8362
8363
  return;
8363
8364
  }
8364
- i.value = s.label, L.value = s, o(c), V("update:modelValue", s);
8365
+ i.value = c.label, L.value = c, n(O), V("update:modelValue", c);
8365
8366
  }
8366
- function Z(c, s) {
8367
- if (c instanceof KeyboardEvent && c.key !== "Backspace" || i.value !== "")
8367
+ function u(O, c) {
8368
+ if (O instanceof KeyboardEvent && O.key !== "Backspace" || i.value !== "")
8368
8369
  return;
8369
- c.stopPropagation();
8370
- const w = M.findIndex((O) => O.value === s.value);
8371
- M.splice(w, 1);
8370
+ O.stopPropagation();
8371
+ const F = M.findIndex((o) => o.value === c.value);
8372
+ M.splice(F, 1);
8372
8373
  }
8373
- function h(c) {
8374
- var O;
8374
+ function p(O) {
8375
+ var o;
8375
8376
  if (!C.taggable)
8376
8377
  return;
8377
- c.stopPropagation();
8378
- const s = i.value;
8379
- if (s === "")
8378
+ O.stopPropagation();
8379
+ const c = i.value;
8380
+ if (c === "")
8380
8381
  return;
8381
- C.options.find((S) => S.label === s) || (M.push({ value: s, label: s }), i.value = "", (O = d.value) == null || O.focus());
8382
+ C.options.find((g) => g.label === c) || (M.push({ value: c, label: c }), i.value = "", (o = d.value) == null || o.focus());
8382
8383
  }
8383
- function f(c) {
8384
- return C.multiple ? M.find((s) => s.value === c.value) : L.value.value === c.value;
8384
+ function h(O) {
8385
+ return C.multiple ? M.find((c) => c.value === O.value) : L.value.value === O.value;
8386
+ }
8387
+ 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);
8388
+ function w() {
8389
+ 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
8390
  }
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
8391
  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", {
8392
+ w();
8393
+ }), _(M, (O) => {
8394
+ V("update:modelValue", O);
8395
+ }), _(() => C.modelValue, (O) => {
8396
+ w();
8397
+ }), (O, c) => (m(), Z("div", {
8392
8398
  ref_key: "wrapper",
8393
8399
  ref: l,
8394
8400
  class: "r-dropdown-wrapper"
@@ -8404,69 +8410,69 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8404
8410
  type: "dropdown",
8405
8411
  onHide: t
8406
8412
  }, {
8407
- default: d1(({ activators: w }) => [
8408
- u("div", {
8413
+ default: d1(({ activators: F }) => [
8414
+ S("div", {
8409
8415
  ref_key: "dropdown",
8410
8416
  ref: e,
8411
- class: g(["r-dropdown", {
8417
+ class: f(["r-dropdown", {
8412
8418
  "r-dropdown--disabled": C.disabled,
8413
8419
  "r-dropdown--loading": C.loading
8414
8420
  }]),
8415
8421
  role: "select",
8416
- onClick: (O) => o(O, w.click)
8422
+ onClick: (o) => n(o, F.click)
8417
8423
  }, [
8418
- C.prependIcon || c.$slots.prepend ? (m(), a("div", {
8424
+ C.prependIcon || O.$slots.prepend ? (m(), Z("div", {
8419
8425
  key: 0,
8420
- class: g(["r-dropdown__prepend-icon", {
8426
+ class: f(["r-dropdown__prepend-icon", {
8421
8427
  "r-dropdown__prepend-icon--active": A.value
8422
8428
  }])
8423
8429
  }, [
8424
- b(c.$slots, "prepend", {}, () => [
8430
+ b(O.$slots, "prepend", {}, () => [
8425
8431
  C.prependIcon ? (m(), R(x, {
8426
8432
  key: 0,
8427
8433
  name: C.prependIcon
8428
8434
  }, null, 8, ["name"])) : B("", !0)
8429
8435
  ])
8430
8436
  ], 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,
8437
+ C.taggable ? (m(), Z("div", l5, [
8438
+ (m(!0), Z(z, null, q(M, (o, g) => (m(), R(E2, {
8439
+ key: g,
8434
8440
  "append-icon": "close",
8435
8441
  class: "r-dropdown__tags__chip",
8436
- label: O.label,
8442
+ label: o.label,
8437
8443
  variant: "primary",
8438
- "onClick:close": (P) => Z(P, O)
8444
+ "onClick:close": (D) => u(D, o)
8439
8445
  }, null, 8, ["label", "onClick:close"]))), 128))
8440
8446
  ])) : 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))
8447
+ C.multiple ? (m(), Z("div", o5, [
8448
+ (m(!0), Z(z, null, q(M, (o, g) => (m(), Z("p", { key: g }, y(`${o.label},`), 1))), 128))
8443
8449
  ])) : B("", !0),
8444
- W1(u("input", {
8450
+ W1(S("input", {
8445
8451
  id: C.id,
8446
8452
  ref_key: "input",
8447
8453
  ref: d,
8448
- "onUpdate:modelValue": s[0] || (s[0] = (O) => i.value = O),
8449
- class: g(["r-dropdown__input", {
8454
+ "onUpdate:modelValue": c[0] || (c[0] = (o) => i.value = o),
8455
+ class: f(["r-dropdown__input", {
8450
8456
  "r-dropdown__input--loading": C.loading
8451
8457
  }]),
8452
8458
  disabled: C.disabled,
8453
8459
  placeholder: C.placeholder,
8454
- readonly: p(v),
8460
+ readonly: s(T),
8455
8461
  type: "text",
8456
8462
  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"]))
8463
+ c[1] || (c[1] = B1((o) => u(o, M[M.length - 1]), ["backspace"])),
8464
+ c[2] || (c[2] = B1((o) => p(o), ["enter"]))
8459
8465
  ]
8460
8466
  }, null, 42, n5), [
8461
8467
  [d2, i.value]
8462
8468
  ]),
8463
- C.appendIcon || c.$slots.append ? (m(), a("div", {
8469
+ C.appendIcon || O.$slots.append ? (m(), Z("div", {
8464
8470
  key: 3,
8465
- class: g(["r-dropdown__append-icon", {
8471
+ class: f(["r-dropdown__append-icon", {
8466
8472
  "r-dropdown__append-icon--active": A.value
8467
8473
  }])
8468
8474
  }, [
8469
- b(c.$slots, "append", {}, () => [
8475
+ b(O.$slots, "append", {}, () => [
8470
8476
  C.appendIcon ? (m(), R(x, {
8471
8477
  key: 0,
8472
8478
  name: C.appendIcon
@@ -8475,39 +8481,39 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8475
8481
  ], 2)) : B("", !0)
8476
8482
  ], 10, m5)
8477
8483
  ]),
8478
- content: d1(({ hide: w }) => [
8479
- u("ul", {
8480
- class: g(["r-dropdown-options", {
8484
+ content: d1(({ hide: F }) => [
8485
+ S("ul", {
8486
+ class: f(["r-dropdown-options", {
8481
8487
  "r-dropdown-options--active": A.value
8482
8488
  }])
8483
8489
  }, [
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
8490
+ (m(!0), Z(z, null, q(s(P), (o) => (m(), Z("li", {
8491
+ key: o.value,
8492
+ "aria-disabled": o.disabled,
8493
+ class: f(["r-dropdown-options__option", {
8494
+ "r-dropdown-options__option--active": h(o),
8495
+ "r-dropdown-options__option--disabled": o.disabled
8490
8496
  }]),
8491
- onClick: L1((S) => r(S, O, w), ["prevent"])
8497
+ onClick: L1((g) => a(g, o, F), ["prevent"])
8492
8498
  }, [
8493
- u("div", a5, [
8494
- O.prependIcon ? (m(), R(x, {
8499
+ S("div", a5, [
8500
+ o.prependIcon ? (m(), R(x, {
8495
8501
  key: 1,
8496
- class: g(["r-dropdown-options__option__prepend-icon", {
8497
- "r-dropdown-options__option__prepend-icon--active": f(O)
8502
+ class: f(["r-dropdown-options__option__prepend-icon", {
8503
+ "r-dropdown-options__option__prepend-icon--active": h(o)
8498
8504
  }]),
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)
8505
+ name: o.prependIcon
8506
+ }, null, 8, ["class", "name"])) : b(O.$slots, "option-prepend", { key: 0 }),
8507
+ S("p", {
8508
+ class: f(["r-dropdown-options__option__label", {
8509
+ "r-dropdown-options__option__label--active": h(o)
8504
8510
  }])
8505
- }, y(O.label), 3)
8511
+ }, y(o.label), 3)
8506
8512
  ]),
8507
- f(O) ? (m(), R(x, {
8513
+ h(o) ? (m(), R(x, {
8508
8514
  key: 0,
8509
- class: g(["r-dropdown-options__option__append-icon", {
8510
- "r-dropdown-options__option__append-icon--active": f(O)
8515
+ class: f(["r-dropdown-options__option__append-icon", {
8516
+ "r-dropdown-options__option__append-icon--active": h(o)
8511
8517
  }]),
8512
8518
  name: "mdiCheck"
8513
8519
  }, null, 8, ["class"])) : B("", !0)
@@ -8518,7 +8524,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8518
8524
  })
8519
8525
  ], 512));
8520
8526
  }
8521
- }), Z5 = ["id", "for"], H2 = /* @__PURE__ */ F({
8527
+ }), Z5 = ["id", "for"], H2 = /* @__PURE__ */ v({
8522
8528
  __name: "RLabel",
8523
8529
  props: {
8524
8530
  id: { default: "" },
@@ -8527,7 +8533,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8527
8533
  },
8528
8534
  setup(H) {
8529
8535
  const V = H;
8530
- return (C, L) => (m(), a("label", {
8536
+ return (C, L) => (m(), Z("label", {
8531
8537
  id: V.id,
8532
8538
  class: "r-label",
8533
8539
  for: V.for
@@ -8546,7 +8552,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8546
8552
  }, p5 = {
8547
8553
  key: 2,
8548
8554
  class: "description"
8549
- }, h5 = { class: "r-dialog__body" }, f5 = { class: "r-dialog__actions" }, h3 = /* @__PURE__ */ F({
8555
+ }, h5 = { class: "r-dialog__body" }, f5 = { class: "r-dialog__actions" }, h3 = /* @__PURE__ */ v({
8550
8556
  __name: "RModal",
8551
8557
  props: {
8552
8558
  modelValue: { type: Boolean, default: !1 },
@@ -8573,31 +8579,31 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8573
8579
  })), A = (i) => {
8574
8580
  C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
8575
8581
  };
8576
- return (i, e) => W1((m(), a("div", {
8577
- class: g(["r-modal-overlay", H.overlayClass]),
8582
+ return (i, e) => W1((m(), Z("div", {
8583
+ class: f(["r-modal-overlay", H.overlayClass]),
8578
8584
  onClick: L1(A, ["stop"])
8579
8585
  }, [
8580
- u("div", {
8586
+ S("div", {
8581
8587
  "aria-modal": "true",
8582
- class: g(p(L)),
8588
+ class: f(s(L)),
8583
8589
  open: C.modelValue,
8584
8590
  role: "dialog",
8585
- style: h1(p(M))
8591
+ style: h1(s(M))
8586
8592
  }, [
8587
- u("div", c5, [
8593
+ S("div", c5, [
8588
8594
  b(i.$slots, "header"),
8589
- C.icon ? (m(), a("div", s5, [
8595
+ C.icon ? (m(), Z("div", s5, [
8590
8596
  $(x, {
8591
8597
  name: C.icon
8592
8598
  }, null, 8, ["name"])
8593
8599
  ])) : 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)
8600
+ C.title ? (m(), Z("div", O5, y(C.title), 1)) : B("", !0),
8601
+ C.description ? (m(), Z("div", p5, y(C.description), 1)) : B("", !0)
8596
8602
  ]),
8597
- u("div", h5, [
8603
+ S("div", h5, [
8598
8604
  b(i.$slots, "default")
8599
8605
  ]),
8600
- u("div", f5, [
8606
+ S("div", f5, [
8601
8607
  b(i.$slots, "actions")
8602
8608
  ])
8603
8609
  ], 14, S5)
@@ -8605,7 +8611,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8605
8611
  [t2, H.modelValue]
8606
8612
  ]);
8607
8613
  }
8608
- }), g5 = ["data-open"], k5 = { class: "r-sidebar__nav" }, B5 = { class: "r-sidebar__actions" }, b5 = ["data-open"], y5 = /* @__PURE__ */ N1(" > "), f3 = /* @__PURE__ */ F({
8614
+ }), g5 = ["data-open"], k5 = { class: "r-sidebar__nav" }, B5 = { class: "r-sidebar__actions" }, b5 = ["data-open"], y5 = /* @__PURE__ */ N1(" > "), f3 = /* @__PURE__ */ v({
8609
8615
  __name: "RSidebar",
8610
8616
  props: {
8611
8617
  modelValue: { type: Boolean, default: !1 },
@@ -8618,21 +8624,21 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8618
8624
  const V = H, C = k(() => ({
8619
8625
  "r-sidebar": !0
8620
8626
  }));
8621
- return (L, M) => (m(), a(z, null, [
8622
- u("aside", {
8623
- class: g([p(C), V.class]),
8627
+ return (L, M) => (m(), Z(z, null, [
8628
+ S("aside", {
8629
+ class: f([s(C), V.class]),
8624
8630
  "data-open": V.modelValue
8625
8631
  }, [
8626
- u("nav", k5, [
8632
+ S("nav", k5, [
8627
8633
  b(L.$slots, "default")
8628
8634
  ]),
8629
- u("div", B5, [
8635
+ S("div", B5, [
8630
8636
  b(L.$slots, "actions")
8631
8637
  ])
8632
8638
  ], 10, g5),
8633
- V.showTrigger ? (m(), a("div", {
8639
+ V.showTrigger ? (m(), Z("div", {
8634
8640
  key: 0,
8635
- class: g(["r-sidebar__trigger", [V.triggerClass]]),
8641
+ class: f(["r-sidebar__trigger", [V.triggerClass]]),
8636
8642
  "data-open": V.modelValue,
8637
8643
  onClick: M[0] || (M[0] = (A) => L.$emit("update:modelValue", !V.modelValue))
8638
8644
  }, [
@@ -8645,7 +8651,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8645
8651
  }), w5 = { class: "r-snackbar__text" }, P5 = {
8646
8652
  key: 0,
8647
8653
  class: "r-snackbar__close"
8648
- }, g3 = /* @__PURE__ */ F({
8654
+ }, g3 = /* @__PURE__ */ v({
8649
8655
  __name: "RSnackbar",
8650
8656
  props: {
8651
8657
  modelValue: { type: Boolean, default: !1 },
@@ -8659,7 +8665,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8659
8665
  emits: ["action", "update:modelValue"],
8660
8666
  setup(H, { emit: V }) {
8661
8667
  const C = H;
8662
- W(
8668
+ _(
8663
8669
  () => C.modelValue,
8664
8670
  () => {
8665
8671
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -8682,19 +8688,19 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8682
8688
  warning: "mdiAlert",
8683
8689
  info: "mdiInformation"
8684
8690
  })[C.variant || "info"]);
8685
- return (A, i) => (m(), a("div", {
8686
- class: g(p(L))
8691
+ return (A, i) => (m(), Z("div", {
8692
+ class: f(s(L))
8687
8693
  }, [
8688
8694
  b(A.$slots, "default", {}, () => [
8689
8695
  C.variant ? (m(), R(x, {
8690
8696
  key: 0,
8691
8697
  class: "r-snackbar__icon",
8692
- name: p(M)
8698
+ name: s(M)
8693
8699
  }, null, 8, ["name"])) : B("", !0)
8694
8700
  ]),
8695
- u("div", w5, y(C.text), 1),
8701
+ S("div", w5, y(C.text), 1),
8696
8702
  b(A.$slots, "action"),
8697
- C.closable ? (m(), a("div", P5, [
8703
+ C.closable ? (m(), Z("div", P5, [
8698
8704
  b(A.$slots, "close", {}, () => [
8699
8705
  $(x, {
8700
8706
  name: "mdiClose",
@@ -8705,13 +8711,13 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8705
8711
  ])) : B("", !0)
8706
8712
  ], 2));
8707
8713
  }
8708
- }), T5 = { class: "r-switch-container" }, v5 = ["id", "checked"], F5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), R5 = ["id", "for"], x5 = {
8714
+ }), T5 = { class: "r-switch-container" }, v5 = ["id", "checked"], F5 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), R5 = ["id", "for"], x5 = {
8709
8715
  key: 0,
8710
8716
  class: "r-switch-texts__error"
8711
8717
  }, D5 = {
8712
8718
  key: 1,
8713
8719
  class: "r-switch-texts__hint"
8714
- }, k3 = /* @__PURE__ */ F({
8720
+ }, k3 = /* @__PURE__ */ v({
8715
8721
  __name: "RSwitch",
8716
8722
  props: {
8717
8723
  id: { default: "switch" },
@@ -8734,7 +8740,7 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8734
8740
  })), A = (i) => {
8735
8741
  C.disabled || (L.checked = i.target.checked, V("update:modelValue", L.checked));
8736
8742
  };
8737
- return W(
8743
+ return _(
8738
8744
  () => C.modelValue,
8739
8745
  (i) => {
8740
8746
  L.checked = i;
@@ -8744,11 +8750,11 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8744
8750
  // TODO: find a better way to do this
8745
8751
  immediate: !0
8746
8752
  }
8747
- ), (i, e) => (m(), a("div", T5, [
8748
- u("div", {
8749
- class: g(p(M))
8753
+ ), (i, e) => (m(), Z("div", T5, [
8754
+ S("div", {
8755
+ class: f(s(M))
8750
8756
  }, [
8751
- u("input", {
8757
+ S("input", {
8752
8758
  id: C.id,
8753
8759
  checked: L.checked,
8754
8760
  class: "r-switch__input",
@@ -8757,18 +8763,18 @@ const e5 = ["aria-disabled"], d5 = ["innerHTML"], t5 = /* @__PURE__ */ F({
8757
8763
  }, null, 40, v5),
8758
8764
  F5
8759
8765
  ], 2),
8760
- u("div", {
8761
- class: g({
8766
+ S("div", {
8767
+ class: f({
8762
8768
  "r-switch-texts": !0,
8763
8769
  [`r-switch-texts--${C.size}`]: !0
8764
8770
  })
8765
8771
  }, [
8766
- u("label", {
8772
+ S("label", {
8767
8773
  id: C.id,
8768
8774
  class: "r-switch-texts__label",
8769
8775
  for: C.id
8770
8776
  }, y(C.label), 9, R5),
8771
- C.errorMsg ? (m(), a("p", x5, y(C.errorMsg), 1)) : (m(), a("p", D5, y(C.hint), 1))
8777
+ C.errorMsg ? (m(), Z("p", x5, y(C.errorMsg), 1)) : (m(), Z("p", D5, y(C.hint), 1))
8772
8778
  ], 2)
8773
8779
  ]));
8774
8780
  }
@@ -8777,7 +8783,7 @@ var H1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON
8777
8783
  const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8778
8784
  key: 0,
8779
8785
  class: "r-tab-item__label"
8780
- }, W5 = /* @__PURE__ */ F({
8786
+ }, W5 = /* @__PURE__ */ v({
8781
8787
  __name: "RTabItem",
8782
8788
  props: {
8783
8789
  id: null,
@@ -8807,25 +8813,25 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8807
8813
  function i() {
8808
8814
  V("click:icon");
8809
8815
  }
8810
- return (e, d) => (m(), a("button", {
8816
+ return (e, d) => (m(), Z("button", {
8811
8817
  "aria-disabled": C.disabled,
8812
8818
  "aria-selected": C.modelValue === C.id,
8813
- class: g(p(L)),
8819
+ class: f(s(L)),
8814
8820
  disabled: C.disabled,
8815
- style: h1(p(M)),
8821
+ style: h1(s(M)),
8816
8822
  onClick: d[0] || (d[0] = L1((l) => A(C.id), ["stop"]))
8817
8823
  }, [
8818
8824
  b(e.$slots, "prepend", {}, () => [
8819
- C.variant !== p(H1).TEXT && C.prependIcon ? (m(), R(x, {
8825
+ C.variant !== s(H1).TEXT && C.prependIcon ? (m(), R(x, {
8820
8826
  key: 0,
8821
8827
  class: "r-tab-item__prepend-icon",
8822
8828
  name: C.prependIcon,
8823
8829
  size: 16
8824
8830
  }, null, 8, ["name"])) : B("", !0)
8825
8831
  ]),
8826
- C.variant !== p(H1).ICON ? (m(), a("span", _5, y(C.label), 1)) : B("", !0),
8832
+ C.variant !== s(H1).ICON ? (m(), Z("span", _5, y(C.label), 1)) : B("", !0),
8827
8833
  b(e.$slots, "append", {}, () => [
8828
- C.variant !== p(H1).TEXT && C.appendIcon ? (m(), R(x, {
8834
+ C.variant !== s(H1).TEXT && C.appendIcon ? (m(), R(x, {
8829
8835
  key: 0,
8830
8836
  class: "r-tab-item__append-icon",
8831
8837
  name: C.appendIcon,
@@ -8835,7 +8841,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8835
8841
  ])
8836
8842
  ], 14, E5));
8837
8843
  }
8838
- }), B3 = /* @__PURE__ */ F({
8844
+ }), B3 = /* @__PURE__ */ v({
8839
8845
  __name: "RTabs",
8840
8846
  props: {
8841
8847
  tabs: { default: () => [] },
@@ -8846,13 +8852,13 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8846
8852
  },
8847
8853
  emits: ["update:modelValue", "click:icon"],
8848
8854
  setup(H, { emit: V }) {
8849
- const C = H, L = D(C.modelValue || C.tabs[0].id), M = k(() => ({
8855
+ const C = H, L = E(C.modelValue || C.tabs[0].id), M = k(() => ({
8850
8856
  "r-tabs": !0,
8851
8857
  "r-tabs--block": C.block,
8852
8858
  "r-tabs--tile": C.tile,
8853
8859
  "r-tabs--scrollable": C.scrollable
8854
8860
  }));
8855
- W(
8861
+ _(
8856
8862
  () => L.value,
8857
8863
  () => {
8858
8864
  V("update:modelValue", L.value);
@@ -8861,15 +8867,15 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8861
8867
  function A() {
8862
8868
  V("click:icon");
8863
8869
  }
8864
- return (i, e) => (m(), a("div", {
8865
- class: g(p(M))
8870
+ return (i, e) => (m(), Z("div", {
8871
+ class: f(s(M))
8866
8872
  }, [
8867
8873
  b(i.$slots, "default", {}, () => [
8868
- (m(!0), a(z, null, q(C.tabs, (d, l) => (m(), R(W5, {
8874
+ (m(!0), Z(z, null, q(C.tabs, (d, l) => (m(), R(W5, {
8869
8875
  id: d.id,
8870
8876
  key: l,
8871
8877
  modelValue: L.value,
8872
- "onUpdate:modelValue": e[0] || (e[0] = (o) => L.value = o),
8878
+ "onUpdate:modelValue": e[0] || (e[0] = (n) => L.value = n),
8873
8879
  active: l === L.value,
8874
8880
  "append-icon": d.appendIcon,
8875
8881
  block: H.block,
@@ -8889,7 +8895,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8889
8895
  }, G5 = {
8890
8896
  key: 2,
8891
8897
  class: "r-textarea__hint"
8892
- }, b3 = /* @__PURE__ */ F({
8898
+ }, b3 = /* @__PURE__ */ v({
8893
8899
  __name: "RTextArea",
8894
8900
  props: {
8895
8901
  id: { default: "" },
@@ -8908,7 +8914,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8908
8914
  function M(A) {
8909
8915
  V("update:modelValue", A.target.value);
8910
8916
  }
8911
- return W(
8917
+ return _(
8912
8918
  () => C.modelValue,
8913
8919
  (A) => {
8914
8920
  L.value = A;
@@ -8916,7 +8922,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8916
8922
  {
8917
8923
  immediate: !0
8918
8924
  }
8919
- ), (A, i) => (m(), a("div", N5, [
8925
+ ), (A, i) => (m(), Z("div", N5, [
8920
8926
  C.label ? (m(), R(H2, {
8921
8927
  key: 0,
8922
8928
  id: "textarea",
@@ -8924,9 +8930,9 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8924
8930
  for: "textarea",
8925
8931
  text: C.label
8926
8932
  }, null, 8, ["text"])) : B("", !0),
8927
- u("textarea", {
8933
+ S("textarea", {
8928
8934
  id: C.id,
8929
- class: g(["r-textarea", {
8935
+ class: f(["r-textarea", {
8930
8936
  "r-textarea--error": C.errorMsg,
8931
8937
  "r-textarea--disabled": C.disabled
8932
8938
  }]),
@@ -8935,7 +8941,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8935
8941
  value: L.value,
8936
8942
  onInput: M
8937
8943
  }, null, 42, I5),
8938
- C.errorMsg ? (m(), a("p", Q5, y(C.errorMsg), 1)) : (m(), a("p", G5, y(C.hint), 1))
8944
+ C.errorMsg ? (m(), Z("p", Q5, y(C.errorMsg), 1)) : (m(), Z("p", G5, y(C.hint), 1))
8939
8945
  ]));
8940
8946
  }
8941
8947
  }), z5 = { class: "r-textfield__wrapper" }, U5 = { class: "input-wrapper" }, $5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], K5 = {
@@ -8944,7 +8950,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8944
8950
  }, j5 = {
8945
8951
  key: 1,
8946
8952
  class: "r-textfield__hint"
8947
- }, y3 = /* @__PURE__ */ F({
8953
+ }, y3 = /* @__PURE__ */ v({
8948
8954
  __name: "RTextfield",
8949
8955
  props: {
8950
8956
  id: { default: "" },
@@ -8971,110 +8977,110 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
8971
8977
  "click:clear"
8972
8978
  ],
8973
8979
  setup(H, { emit: V }) {
8974
- const C = H, L = D(), M = X({
8980
+ const C = H, L = E(), M = X({
8975
8981
  value: ""
8976
- }), A = D(C.type), i = {
8982
+ }), A = E(C.type), i = {
8977
8983
  password: "mdiLock",
8978
8984
  email: "mdiEmailOutline",
8979
8985
  tel: "mdiPhone",
8980
8986
  url: "mdiLink",
8981
8987
  number: "mdiNumeric",
8982
8988
  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;
8989
+ }, e = E(!1), d = k(() => !!M.value), l = k(() => M.value.length > 0), n = k(() => {
8990
+ var o;
8991
+ return (o = C.errorMsg) == null ? void 0 : o.length;
8992
+ }), t = k(() => C.clearable && l.value), a = k(() => {
8993
+ const { disabled: o, loading: g, clearable: D, errorMsg: W } = C;
8988
8994
  return {
8989
8995
  "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,
8996
+ "r-textfield--error": W == null ? void 0 : W.length,
8997
+ "r-textfield--loading": g,
8998
+ "r-textfield--disabled": o,
8999
+ "r-textfield--clearable": D,
8994
9000
  "r-textfield--focus": e.value,
8995
9001
  "r-textfield--filled": d.value
8996
9002
  };
8997
- }), n = k(() => ({
9003
+ }), r = k(() => ({
8998
9004
  "r-textfield__prepend-icon": !0,
8999
9005
  "r-textfield__prepend-icon--loading": C.loading,
9000
- "r-textfield__prepend-icon--error": o.value && d.value
9001
- })), Z = k(() => ({
9006
+ "r-textfield__prepend-icon--error": n.value && d.value
9007
+ })), u = k(() => ({
9002
9008
  "r-textfield__append-icon": !0,
9003
9009
  "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;
9010
+ "r-textfield__append-icon--error": n.value
9011
+ })), p = k(() => {
9012
+ const { prependIcon: o, type: g } = C;
9013
+ return o === "none" ? "" : o || i[g];
9014
+ }), h = k(() => {
9015
+ const { appendIcon: o, type: g } = C;
9016
+ 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
9017
  });
9012
- function T(S) {
9013
- e.value = !0, V("focus", S);
9018
+ function P(o) {
9019
+ e.value = !0, V("focus", o);
9014
9020
  }
9015
- function v(S) {
9016
- e.value = !1, V("blur", S);
9021
+ function T(o) {
9022
+ e.value = !1, V("blur", o);
9017
9023
  }
9018
- function c(S) {
9019
- M.value = S.target.value, V("input", S);
9024
+ function w(o) {
9025
+ M.value = o.target.value, V("input", o);
9020
9026
  }
9021
- function s() {
9022
- var S;
9027
+ function O() {
9028
+ var o;
9023
9029
  if (t.value) {
9024
- M.value = "", (S = L.value) == null || S.focus(), V("click:clear", {
9030
+ M.value = "", (o = L.value) == null || o.focus(), V("click:clear", {
9025
9031
  value: A.value === "number" ? +M.value : M.value
9026
9032
  });
9027
9033
  return;
9028
9034
  }
9029
9035
  V("click:icon", {
9030
9036
  value: A.value === "number" ? +M.value : M.value
9031
- }), A.value === "password" && w();
9037
+ }), A.value === "password" && c();
9032
9038
  }
9033
- function w() {
9039
+ function c() {
9034
9040
  A.value = A.value === "password" ? "text" : "password";
9035
9041
  }
9036
- function O() {
9037
- var S;
9038
- (S = L.value) == null || S.focus();
9042
+ function F() {
9043
+ var o;
9044
+ (o = L.value) == null || o.focus();
9039
9045
  }
9040
- return W(
9046
+ return _(
9041
9047
  () => C.modelValue,
9042
- (S) => {
9043
- M.value = S;
9048
+ (o) => {
9049
+ M.value = o;
9044
9050
  },
9045
9051
  {
9046
9052
  immediate: !0
9047
9053
  }
9048
- ), W(
9054
+ ), _(
9049
9055
  () => M.value,
9050
- (S) => {
9056
+ (o) => {
9051
9057
  V(
9052
9058
  "update:modelValue",
9053
- A.value === "number" ? +S : S
9059
+ A.value === "number" ? +o : o
9054
9060
  );
9055
9061
  }
9056
- ), (S, P) => (m(), a("fieldset", null, [
9057
- u("div", z5, [
9062
+ ), (o, g) => (m(), Z("fieldset", null, [
9063
+ S("div", z5, [
9058
9064
  C.label ? (m(), R(H2, {
9059
9065
  key: 0,
9060
9066
  id: C.id,
9061
9067
  class: "r-textfield__label",
9062
9068
  for: C.id,
9063
9069
  text: C.label,
9064
- onClick: O
9070
+ onClick: F
9065
9071
  }, null, 8, ["id", "for", "text"])) : B("", !0),
9066
- u("div", U5, [
9067
- u("div", {
9068
- class: g(p(r))
9072
+ S("div", U5, [
9073
+ S("div", {
9074
+ class: f(s(a))
9069
9075
  }, [
9070
- b(S.$slots, "prepend"),
9071
- p(h) && !S.$slots.prepend ? (m(), R(x, {
9076
+ b(o.$slots, "prepend"),
9077
+ s(p) && !o.$slots.prepend ? (m(), R(x, {
9072
9078
  key: 0,
9073
- class: g(p(n)),
9074
- name: p(h),
9079
+ class: f(s(r)),
9080
+ name: s(p),
9075
9081
  size: 20
9076
9082
  }, null, 8, ["class", "name"])) : B("", !0),
9077
- u("input", {
9083
+ S("input", {
9078
9084
  id: C.id,
9079
9085
  ref_key: "inputRef",
9080
9086
  ref: L,
@@ -9084,21 +9090,21 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9084
9090
  placeholder: C.placeholder,
9085
9091
  type: A.value,
9086
9092
  value: M.value,
9087
- onBlur: v,
9088
- onFocus: T,
9089
- onInput: c
9093
+ onBlur: T,
9094
+ onFocus: P,
9095
+ onInput: w
9090
9096
  }, null, 40, $5),
9091
- b(S.$slots, "append"),
9092
- p(f) && !S.$slots.append ? (m(), R(x, {
9097
+ b(o.$slots, "append"),
9098
+ s(h) && !o.$slots.append ? (m(), R(x, {
9093
9099
  key: 1,
9094
- class: g(p(Z)),
9095
- name: `${p(f)}`,
9100
+ class: f(s(u)),
9101
+ name: `${s(h)}`,
9096
9102
  size: 20,
9097
- onClick: s
9103
+ onClick: O
9098
9104
  }, null, 8, ["class", "name"])) : B("", !0)
9099
9105
  ], 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)
9106
+ C.errorMsg ? (m(), Z("div", K5, y(C.errorMsg), 1)) : B("", !0),
9107
+ !C.errorMsg && C.hint ? (m(), Z("div", j5, y(C.hint), 1)) : B("", !0)
9102
9108
  ])
9103
9109
  ])
9104
9110
  ]));
@@ -9106,7 +9112,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9106
9112
  }), q5 = { class: "r-breadcrumb" }, Y5 = {
9107
9113
  key: 0,
9108
9114
  class: "r-breadcrumb__title"
9109
- }, w3 = /* @__PURE__ */ F({
9115
+ }, w3 = /* @__PURE__ */ v({
9110
9116
  __name: "RBreadcrumb",
9111
9117
  props: {
9112
9118
  items: { default: () => [] },
@@ -9116,8 +9122,8 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9116
9122
  const V = H;
9117
9123
  return (C, L) => {
9118
9124
  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", {
9125
+ return m(), Z("div", q5, [
9126
+ (m(!0), Z(z, null, q(V.items, (A, i) => (m(), Z("div", {
9121
9127
  key: i,
9122
9128
  class: "r-breadcrumb__item"
9123
9129
  }, [
@@ -9132,7 +9138,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9132
9138
  name: A.icon
9133
9139
  }, null, 8, ["name"])) : B("", !0)
9134
9140
  ]),
9135
- A.onlyIcon ? B("", !0) : (m(), a("span", Y5, y(A.title), 1))
9141
+ A.onlyIcon ? B("", !0) : (m(), Z("span", Y5, y(A.title), 1))
9136
9142
  ]),
9137
9143
  _: 2
9138
9144
  }, 1032, ["to"]),
@@ -9147,21 +9153,21 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9147
9153
  ]);
9148
9154
  };
9149
9155
  }
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", {
9156
+ }), 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
9157
  d: "M0 0h24v24H0z",
9152
9158
  fill: "none",
9153
9159
  stroke: "none"
9154
- }, null, -1), i3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), e3 = [
9160
+ }, null, -1), i3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), e3 = [
9155
9161
  A3,
9156
9162
  i3
9157
- ], d3 = ["max", "value"], t3 = ["disabled"], m3 = /* @__PURE__ */ u("path", {
9163
+ ], d3 = ["max", "value"], t3 = ["disabled"], m3 = /* @__PURE__ */ S("path", {
9158
9164
  d: "M0 0h24v24H0z",
9159
9165
  fill: "none",
9160
9166
  stroke: "none"
9161
- }, null, -1), l3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), o3 = [
9167
+ }, null, -1), l3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), o3 = [
9162
9168
  m3,
9163
9169
  l3
9164
- ], n3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ F({
9170
+ ], n3 = { class: "r-pagination__paginator__total" }, P3 = /* @__PURE__ */ v({
9165
9171
  __name: "RPagination",
9166
9172
  props: {
9167
9173
  page: { default: 1 },
@@ -9176,22 +9182,22 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9176
9182
  const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9177
9183
  A < 1 || A > L.value || V("update:page", A);
9178
9184
  };
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)
9185
+ return (A, i) => (m(), Z("div", X5, [
9186
+ S("div", J5, [
9187
+ H.slash ? B("", !0) : (m(), Z("span", C3, y(C.pageText), 1)),
9188
+ S("span", H3, y(C.page), 1),
9189
+ S("span", null, y(H.slash ? "/" : C.ofText), 1),
9190
+ S("span", V3, y(s(L)), 1)
9185
9191
  ]),
9186
- u("div", L3, [
9187
- u("button", {
9192
+ S("div", L3, [
9193
+ S("button", {
9188
9194
  class: "r-pagination__paginator__prev",
9189
9195
  disabled: C.page === 1,
9190
9196
  onClick: i[0] || (i[0] = (e) => M(+C.page - 1))
9191
9197
  }, [
9192
9198
  b(A.$slots, "prev", {}, () => [
9193
- (m(), a("svg", {
9194
- class: g({ "stroke-gray-400": C.page === 1 }),
9199
+ (m(), Z("svg", {
9200
+ class: f({ "stroke-gray-400": C.page === 1 }),
9195
9201
  fill: "none",
9196
9202
  height: "16",
9197
9203
  stroke: "#323232",
@@ -9204,9 +9210,9 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9204
9210
  }, e3, 2))
9205
9211
  ])
9206
9212
  ], 8, M3),
9207
- u("input", {
9213
+ S("input", {
9208
9214
  class: "r-pagination__paginator__input",
9209
- max: p(L),
9215
+ max: s(L),
9210
9216
  min: "1",
9211
9217
  type: "number",
9212
9218
  value: C.page,
@@ -9215,14 +9221,14 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9215
9221
  return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9216
9222
  })
9217
9223
  }, null, 40, d3),
9218
- u("button", {
9224
+ S("button", {
9219
9225
  class: "r-pagination__paginator__next",
9220
- disabled: C.page === p(L),
9226
+ disabled: C.page === s(L),
9221
9227
  onClick: i[2] || (i[2] = (e) => M(+C.page + 1))
9222
9228
  }, [
9223
9229
  b(A.$slots, "next", {}, () => [
9224
- (m(), a("svg", {
9225
- class: g({ "stroke-gray-400": C.page === p(L) }),
9230
+ (m(), Z("svg", {
9231
+ class: f({ "stroke-gray-400": C.page === s(L) }),
9226
9232
  fill: "none",
9227
9233
  height: "16",
9228
9234
  stroke: "#323232",
@@ -9235,11 +9241,11 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9235
9241
  }, o3, 2))
9236
9242
  ])
9237
9243
  ], 8, t3),
9238
- u("div", n3, "/ " + y(p(L)), 1)
9244
+ S("div", n3, "/ " + y(s(L)), 1)
9239
9245
  ])
9240
9246
  ]));
9241
9247
  }
9242
- }), r3 = ["value"], T3 = /* @__PURE__ */ F({
9248
+ }), r3 = ["value"], T3 = /* @__PURE__ */ v({
9243
9249
  __name: "RProgressbar",
9244
9250
  props: {
9245
9251
  value: { default: 0 },
@@ -9247,7 +9253,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9247
9253
  },
9248
9254
  setup(H) {
9249
9255
  const V = H;
9250
- return (C, L) => (m(), a("progress", {
9256
+ return (C, L) => (m(), Z("progress", {
9251
9257
  "aria-valuemax": 100,
9252
9258
  class: "r-progressbar",
9253
9259
  max: 100,
@@ -9256,7 +9262,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9256
9262
  value: V.value
9257
9263
  }, null, 12, r3));
9258
9264
  }
9259
- }), v3 = /* @__PURE__ */ F({
9265
+ }), v3 = /* @__PURE__ */ v({
9260
9266
  __name: "RItemGroup",
9261
9267
  props: {
9262
9268
  modelValue: { default: () => [] },
@@ -9269,16 +9275,16 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9269
9275
  },
9270
9276
  emits: ["update:modelValue"],
9271
9277
  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);
9278
+ const C = H, L = "rocket-ui:r-item-group", M = E(C.as ?? "div"), A = E(C.modelValue ?? []), i = k(() => C.selectedClass);
9273
9279
  Z1(`${L}:selectedClass`, i.value);
9274
9280
  function e(l) {
9275
9281
  return A.value.includes(l);
9276
9282
  }
9277
9283
  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));
9284
+ function d(l, n) {
9285
+ 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
9286
  }
9281
- return Z1(`${L}:select`, d), (l, o) => (m(), R(l2(M.value), null, {
9287
+ return Z1(`${L}:select`, d), (l, n) => (m(), R(l2(M.value), null, {
9282
9288
  default: d1(() => [
9283
9289
  b(l.$slots, "default", {
9284
9290
  isSelected: e,
@@ -9289,7 +9295,7 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9289
9295
  _: 3
9290
9296
  }));
9291
9297
  }
9292
- }), F3 = /* @__PURE__ */ F({
9298
+ }), F3 = /* @__PURE__ */ v({
9293
9299
  __name: "RItem",
9294
9300
  props: {
9295
9301
  value: { default: null },
@@ -9304,11 +9310,11 @@ const E5 = ["aria-disabled", "aria-selected", "disabled"], _5 = {
9304
9310
  function d() {
9305
9311
  V.disabled || i(V.value, !0);
9306
9312
  }
9307
- return (l, o) => b(l.$slots, "default", {
9313
+ return (l, n) => b(l.$slots, "default", {
9308
9314
  disabled: V.disabled,
9309
- isSelected: p(L)(V.value),
9315
+ isSelected: s(L)(V.value),
9310
9316
  select: d,
9311
- selectedClass: p(A),
9317
+ selectedClass: s(A),
9312
9318
  toggle: e,
9313
9319
  value: V.value
9314
9320
  });