@rocketui/vue 0.0.54 → 0.0.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as u, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as C2, withModifiers as N, createBlock as R, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as x, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, normalizeStyle as p1, vShow as A2, useCssVars as i2, watchEffect as e2, resolveComponent as d2, withCtx as _1, provide as a1, resolveDynamicComponent as t2, inject as Z1 } from "vue";
2
- const m2 = {
1
+ import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as g, createCommentVNode as k, mergeProps as C2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as D, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, createTextVNode as A2, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as _1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
2
+ const l2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
5
5
  mdiAbjadArabic: "M12 4C10.08 4 8.5 5.58 8.5 7.5C8.5 8.43 8.88 9.28 9.5 9.91C7.97 10.91 7 12.62 7 14.5C7 17.53 9.47 20 12.5 20C14.26 20 16 19.54 17.5 18.66L16.5 16.93C15.28 17.63 13.9 18 12.5 18C10.56 18 9 16.45 9 14.5C9 12.91 10.06 11.53 11.59 11.12L16.8 9.72L16.28 7.79L11.83 9C11.08 8.9 10.5 8.28 10.5 7.5C10.5 6.66 11.16 6 12 6C12.26 6 12.5 6.07 12.75 6.2L13.75 4.47C13.22 4.16 12.61 4 12 4Z",
@@ -7296,7 +7296,7 @@ const m2 = {
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
- }, l2 = ["height", "viewBox", "width"], o2 = ["d"], F = /* @__PURE__ */ v({
7299
+ }, o2 = ["height", "viewBox", "width"], n2 = ["d"], R = /* @__PURE__ */ F({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7311,13 +7311,13 @@ const m2 = {
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
- u("path", {
7315
- d: p(m2)[V.name]
7316
- }, null, 8, o2)
7317
- ], 8, l2));
7314
+ Z("path", {
7315
+ d: p(l2)[V.name]
7316
+ }, null, 8, n2)
7317
+ ], 8, o2));
7318
7318
  }
7319
7319
  });
7320
- const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title" }, Z2 = { class: "r-accordion__icon" }, u2 = { class: "r-accordion__content" }, l3 = /* @__PURE__ */ v({
7320
+ const r2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title" }, u2 = { class: "r-accordion__icon" }, S2 = { class: "r-accordion__content" }, o3 = /* @__PURE__ */ F({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7344,31 +7344,31 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7344
7344
  }),
7345
7345
  "data-state": i.open ? "opened" : "closed"
7346
7346
  }, [
7347
- u("div", {
7347
+ Z("div", {
7348
7348
  class: "r-accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
- b(A.$slots, "title", {}, () => [
7352
- u("div", a2, y(i.title), 1)
7351
+ B(A.$slots, "title", {}, () => [
7352
+ Z("div", Z2, y(i.title), 1)
7353
7353
  ]),
7354
- u("div", Z2, [
7355
- q(F, { name: "mdiChevronUp" })
7354
+ Z("div", u2, [
7355
+ q(R, { name: "mdiChevronUp" })
7356
7356
  ])
7357
- ], 8, r2),
7358
- u("div", u2, [
7359
- b(A.$slots, "content", {}, () => [
7360
- u("span", null, y(i.content), 1)
7357
+ ], 8, a2),
7358
+ Z("div", S2, [
7359
+ B(A.$slots, "content", {}, () => [
7360
+ Z("span", null, y(i.content), 1)
7361
7361
  ])
7362
7362
  ])
7363
- ], 10, n2))), 128));
7363
+ ], 10, r2))), 128));
7364
7364
  }
7365
- }), S2 = { class: "r-alert__icon" }, c2 = { class: "r-alert__content" }, s2 = { class: "r-alert__content__title" }, O2 = {
7365
+ }), c2 = { class: "r-alert__icon" }, s2 = { class: "r-alert__content" }, O2 = { class: "r-alert__content__title" }, p2 = {
7366
7366
  key: 0,
7367
7367
  class: "r-alert__content__description"
7368
- }, p2 = {
7368
+ }, h2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, o3 = /* @__PURE__ */ v({
7371
+ }, n3 = /* @__PURE__ */ F({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7380,12 +7380,12 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7380
7380
  },
7381
7381
  emits: ["close"],
7382
7382
  setup(H, { emit: V }) {
7383
- const C = H, L = k(() => ({
7383
+ const C = H, L = g(() => ({
7384
7384
  " r-alert": !0,
7385
7385
  [`r-alert--${C.variant}`]: !0,
7386
7386
  "r-alert--block": C.block,
7387
7387
  [`r-alert--${C.variant}--${C.type}`]: !0
7388
- })), A = k(() => ({
7388
+ })), A = g(() => ({
7389
7389
  success: "mdiCheckCircle",
7390
7390
  error: "mdiAlertCircle",
7391
7391
  warning: "mdiAlert",
@@ -7396,33 +7396,33 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7396
7396
  return (i, e) => (t(), a("div", {
7397
7397
  class: f(p(L))
7398
7398
  }, [
7399
- u("div", S2, [
7400
- b(i.$slots, "alert-icon", {}, () => [
7401
- q(F, {
7399
+ Z("div", c2, [
7400
+ B(i.$slots, "alert-icon", {}, () => [
7401
+ q(R, {
7402
7402
  name: p(A),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
- u("div", c2, [
7408
- b(i.$slots, "content", {}, () => [
7409
- u("p", s2, y(C.title), 1),
7410
- C.description ? (t(), a("p", O2, y(C.description), 1)) : g("", !0)
7407
+ Z("div", s2, [
7408
+ B(i.$slots, "content", {}, () => [
7409
+ Z("p", O2, y(C.title), 1),
7410
+ C.description ? (t(), a("p", p2, y(C.description), 1)) : k("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
- C.closable ? (t(), a("div", p2, [
7414
- b(i.$slots, "custom-close", {}, () => [
7415
- q(F, {
7413
+ C.closable ? (t(), a("div", h2, [
7414
+ B(i.$slots, "custom-close", {}, () => [
7415
+ q(R, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
7419
7419
  onClick: M
7420
7420
  })
7421
7421
  ])
7422
- ])) : g("", !0)
7422
+ ])) : k("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", h2 = { class: "avatar__wrapper" }, f2 = ["alt", "src"], n3 = /* @__PURE__ */ v({
7425
+ }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "avatar__wrapper" }, g2 = ["alt", "src"], r3 = /* @__PURE__ */ F({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7433,15 +7433,15 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7433
7433
  text: { default: "" }
7434
7434
  },
7435
7435
  setup(H) {
7436
- const V = H, C = k(() => ({
7436
+ const V = H, C = g(() => ({
7437
7437
  avatar: !0,
7438
7438
  [`avatar--${V.size}`]: !0
7439
- })), L = k(() => V.type === "image" && !V.src), A = k(() => L.value ? B1 : V.src), M = (i) => {
7439
+ })), L = g(() => V.type === "image" && !V.src), A = g(() => L.value ? B1 : V.src), M = (i) => {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
7443
- return (i, e) => (t(), a("div", h2, [
7444
- u("div", {
7443
+ return (i, e) => (t(), a("div", f2, [
7444
+ Z("div", {
7445
7445
  class: f(p(C))
7446
7446
  }, [
7447
7447
  V.type === "text" ? (t(), a("p", {
@@ -7456,15 +7456,15 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7456
7456
  "avatar__image--anonymous": p(L)
7457
7457
  }),
7458
7458
  src: p(A)
7459
- }, null, 10, f2))
7459
+ }, null, 10, g2))
7460
7460
  ], 2),
7461
7461
  V.online ? (t(), a("span", {
7462
7462
  key: 0,
7463
7463
  class: f({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7464
- }, null, 2)) : g("", !0)
7464
+ }, null, 2)) : k("", !0)
7465
7465
  ]));
7466
7466
  }
7467
- }), g2 = { class: "badge-wrapper group" }, r3 = /* @__PURE__ */ v({
7467
+ }), k2 = { class: "badge-wrapper group" }, a3 = /* @__PURE__ */ F({
7468
7468
  __name: "RBadge",
7469
7469
  props: {
7470
7470
  variant: { default: "primary" },
@@ -7476,7 +7476,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7476
7476
  },
7477
7477
  emits: ["click"],
7478
7478
  setup(H) {
7479
- const V = H, C = k(() => ({
7479
+ const V = H, C = g(() => ({
7480
7480
  badge: !0,
7481
7481
  badge__content: V.content,
7482
7482
  [`badge--overlap-${V.placement}`]: V.overlap,
@@ -7486,15 +7486,15 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7486
7486
  "badge--no-content": !V.content,
7487
7487
  [`badge--${V.variant}`]: V.variant
7488
7488
  }));
7489
- return (L, A) => (t(), a("div", g2, [
7490
- u("span", {
7489
+ return (L, A) => (t(), a("div", k2, [
7490
+ Z("span", {
7491
7491
  class: f(p(C)),
7492
7492
  onClick: A[0] || (A[0] = (M) => L.$emit("click"))
7493
7493
  }, y(V.content), 3),
7494
- b(L.$slots, "default")
7494
+ B(L.$slots, "default")
7495
7495
  ]));
7496
7496
  }
7497
- }), k2 = ["disabled"], a3 = /* @__PURE__ */ v({
7497
+ }), B2 = ["disabled"], Z3 = /* @__PURE__ */ F({
7498
7498
  __name: "RButton",
7499
7499
  props: {
7500
7500
  variant: { default: "primary" },
@@ -7511,18 +7511,18 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7511
7511
  },
7512
7512
  emits: ["click"],
7513
7513
  setup(H) {
7514
- const V = H, C = k(() => ({
7514
+ const V = H, C = g(() => ({
7515
7515
  button: !0,
7516
7516
  [`button--${V.variant}`]: !0,
7517
7517
  "button--loading": V.loading,
7518
7518
  [`button--${V.size || "medium"}`]: !0,
7519
7519
  "button--only-icon": V.onlyIcon,
7520
7520
  "button--block": V.block
7521
- })), L = k(() => ({
7521
+ })), L = g(() => ({
7522
7522
  small: 20,
7523
7523
  medium: 24,
7524
7524
  large: 32
7525
- })[V.size || "medium"]), A = k(() => {
7525
+ })[V.size || "medium"]), A = g(() => {
7526
7526
  const { backgroundColor: M, height: i, color: e } = V;
7527
7527
  return {
7528
7528
  backgroundColor: M,
@@ -7536,8 +7536,8 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7536
7536
  style: p(A),
7537
7537
  onClick: i[0] || (i[0] = N((e) => M.$emit("click"), ["stop"]))
7538
7538
  }), [
7539
- b(M.$slots, "custom-icon"),
7540
- !M.$slots["custom-icon"] && V.prependIcon ? (t(), R(F, {
7539
+ B(M.$slots, "custom-icon"),
7540
+ !M.$slots["custom-icon"] && V.prependIcon ? (t(), x(R, {
7541
7541
  key: 0,
7542
7542
  class: f({
7543
7543
  "button__prepend-icon": !0,
@@ -7545,23 +7545,23 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7545
7545
  }),
7546
7546
  name: V.prependIcon,
7547
7547
  size: p(L)
7548
- }, null, 8, ["class", "name", "size"])) : g("", !0),
7549
- V.onlyIcon ? g("", !0) : b(M.$slots, "default", { key: 1 }),
7550
- !M.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), R(F, {
7548
+ }, null, 8, ["class", "name", "size"])) : k("", !0),
7549
+ V.onlyIcon ? k("", !0) : B(M.$slots, "default", { key: 1 }),
7550
+ !M.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7551
7551
  key: 2,
7552
7552
  class: "button__append-icon",
7553
7553
  name: V.appendIcon,
7554
7554
  size: p(L)
7555
- }, null, 8, ["name", "size"])) : g("", !0)
7556
- ], 16, k2));
7555
+ }, null, 8, ["name", "size"])) : k("", !0)
7556
+ ], 16, B2));
7557
7557
  }
7558
- }), B2 = { class: "checkbox-wrapper" }, b2 = { class: "checkbox-container" }, y2 = ["id", "checked", "disabled", "indeterminate"], w2 = ["data-disabled"], P2 = { class: "checkbox-texts" }, T2 = ["data-disabled", "for"], v2 = {
7558
+ }), b2 = { class: "checkbox-wrapper" }, y2 = { class: "checkbox-container" }, w2 = ["id", "checked", "disabled", "indeterminate"], P2 = ["data-disabled"], T2 = { class: "checkbox-texts" }, v2 = ["data-disabled", "for"], F2 = {
7559
7559
  key: 0,
7560
7560
  class: "checkbox-texts__error"
7561
- }, F2 = {
7561
+ }, R2 = {
7562
7562
  key: 1,
7563
7563
  class: "checkbox-texts__hint"
7564
- }, Z3 = /* @__PURE__ */ v({
7564
+ }, u3 = /* @__PURE__ */ F({
7565
7565
  __name: "RCheckbox",
7566
7566
  props: {
7567
7567
  id: { default: "" },
@@ -7581,7 +7581,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7581
7581
  checked: "mdiCheck",
7582
7582
  unchecked: "",
7583
7583
  indeterminate: "mdiMinus"
7584
- }, M = k(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = k(() => ({
7584
+ }, M = g(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = g(() => ({
7585
7585
  checkbox: !0,
7586
7586
  "checkbox--checked": L.checked,
7587
7587
  "checkbox--disabled": C.disabled,
@@ -7610,9 +7610,9 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7610
7610
  // TODO: find a better way to do this
7611
7611
  immediate: !0
7612
7612
  }
7613
- ), (d, m) => (t(), a("div", B2, [
7614
- u("div", b2, [
7615
- u("input", {
7613
+ ), (d, m) => (t(), a("div", b2, [
7614
+ Z("div", y2, [
7615
+ Z("input", {
7616
7616
  id: C.id,
7617
7617
  checked: L.checked,
7618
7618
  class: "checkbox-container__input",
@@ -7620,28 +7620,28 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7620
7620
  indeterminate: L.indeterminate,
7621
7621
  type: "checkbox",
7622
7622
  onChange: e
7623
- }, null, 40, y2),
7624
- u("div", {
7623
+ }, null, 40, w2),
7624
+ Z("div", {
7625
7625
  class: f(p(i)),
7626
7626
  "data-disabled": C.disabled
7627
7627
  }, [
7628
- q(F, {
7628
+ q(R, {
7629
7629
  name: p(M),
7630
7630
  size: 24
7631
7631
  }, null, 8, ["name"])
7632
- ], 10, w2)
7632
+ ], 10, P2)
7633
7633
  ]),
7634
- u("div", P2, [
7635
- u("label", {
7634
+ Z("div", T2, [
7635
+ Z("label", {
7636
7636
  class: "checkbox-texts__label",
7637
7637
  "data-disabled": C.disabled,
7638
7638
  for: C.id
7639
- }, y(C.label), 9, T2),
7640
- C.errorMsg ? (t(), a("p", v2, y(C.errorMsg), 1)) : (t(), a("p", F2, y(C.hint), 1))
7639
+ }, y(C.label), 9, v2),
7640
+ C.errorMsg ? (t(), a("p", F2, y(C.errorMsg), 1)) : (t(), a("p", R2, y(C.hint), 1))
7641
7641
  ])
7642
7642
  ]));
7643
7643
  }
7644
- }), R2 = { class: "chip__content__label" }, x2 = /* @__PURE__ */ v({
7644
+ }), x2 = { class: "chip__content__label" }, D2 = /* @__PURE__ */ F({
7645
7645
  __name: "RChip",
7646
7646
  props: {
7647
7647
  variant: { default: "primary" },
@@ -7654,7 +7654,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7654
7654
  },
7655
7655
  emits: ["click:chip", "click:close"],
7656
7656
  setup(H, { emit: V }) {
7657
- const C = H, L = k(() => ({
7657
+ const C = H, L = g(() => ({
7658
7658
  chip: !0,
7659
7659
  "chip--disabled": C.disabled,
7660
7660
  [`chip__${C.variant}`]: C.variant,
@@ -7667,43 +7667,43 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7667
7667
  return (i, e) => (t(), a("div", {
7668
7668
  class: f(p(L))
7669
7669
  }, [
7670
- u("div", {
7670
+ Z("div", {
7671
7671
  class: "chip__content",
7672
7672
  onClick: e[0] || (e[0] = (d) => A(d))
7673
7673
  }, [
7674
- b(i.$slots, "prepend", {}, () => [
7675
- C.prependIcon ? (t(), R(F, {
7674
+ B(i.$slots, "prepend", {}, () => [
7675
+ C.prependIcon ? (t(), x(R, {
7676
7676
  key: 0,
7677
7677
  "aria-disabled": C.disabled,
7678
7678
  class: "chip__content__prepend-icon",
7679
7679
  name: C.prependIcon,
7680
7680
  size: 12
7681
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7681
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7682
7682
  ]),
7683
- u("span", R2, y(C.label), 1)
7683
+ Z("span", x2, y(C.label), 1)
7684
7684
  ]),
7685
- b(i.$slots, "append", {}, () => [
7686
- C.appendIcon ? (t(), R(F, {
7685
+ B(i.$slots, "append", {}, () => [
7686
+ C.appendIcon ? (t(), x(R, {
7687
7687
  key: 0,
7688
7688
  "aria-disabled": C.disabled,
7689
7689
  class: "chip__content__append-icon",
7690
7690
  name: C.appendIcon,
7691
7691
  size: 12,
7692
7692
  onClick: e[1] || (e[1] = (d) => M(d))
7693
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7693
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7694
7694
  ])
7695
7695
  ], 2));
7696
7696
  }
7697
7697
  });
7698
- function D2(H) {
7698
+ function E2(H) {
7699
7699
  return H2() ? (V2(H), !0) : !1;
7700
7700
  }
7701
7701
  function W1(H) {
7702
7702
  return typeof H == "function" ? H() : p(H);
7703
7703
  }
7704
- const N1 = typeof window < "u" && typeof document < "u", E2 = Object.prototype.toString, _2 = (H) => E2.call(H) === "[object Object]", c1 = () => {
7705
- }, W2 = /* @__PURE__ */ N2();
7706
- function N2() {
7704
+ const N1 = typeof window < "u" && typeof document < "u", _2 = Object.prototype.toString, W2 = (H) => _2.call(H) === "[object Object]", c1 = () => {
7705
+ }, N2 = /* @__PURE__ */ I2();
7706
+ function I2() {
7707
7707
  var H;
7708
7708
  return N1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7709
7709
  }
@@ -7725,30 +7725,30 @@ function u1(...H) {
7725
7725
  ([o, l]) => {
7726
7726
  if (i(), !o)
7727
7727
  return;
7728
- const r = _2(l) ? { ...l } : l;
7728
+ const r = W2(l) ? { ...l } : l;
7729
7729
  M.push(
7730
- ...C.flatMap((n) => L.map((S) => e(o, n, S, r)))
7730
+ ...C.flatMap((n) => L.map((u) => e(o, n, u, r)))
7731
7731
  );
7732
7732
  },
7733
7733
  { immediate: !0, flush: "post" }
7734
7734
  ), m = () => {
7735
7735
  d(), i();
7736
7736
  };
7737
- return D2(m), m;
7737
+ return E2(m), m;
7738
7738
  }
7739
7739
  let b1 = !1;
7740
- function I2(H, V, C = {}) {
7740
+ function Q2(H, V, C = {}) {
7741
7741
  const { window: L = I1, ignore: A = [], capture: M = !0, detectIframe: i = !1 } = C;
7742
7742
  if (!L)
7743
7743
  return;
7744
- W2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
7744
+ N2 && !b1 && (b1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", c1)), L.document.documentElement.addEventListener("click", c1));
7745
7745
  let e = !0;
7746
7746
  const d = (r) => A.some((n) => {
7747
7747
  if (typeof n == "string")
7748
- return Array.from(L.document.querySelectorAll(n)).some((S) => S === r.target || r.composedPath().includes(S));
7748
+ return Array.from(L.document.querySelectorAll(n)).some((u) => u === r.target || r.composedPath().includes(u));
7749
7749
  {
7750
- const S = H1(n);
7751
- return S && (r.target === S || r.composedPath().includes(S));
7750
+ const u = H1(n);
7751
+ return u && (r.target === u || r.composedPath().includes(u));
7752
7752
  }
7753
7753
  }), o = [
7754
7754
  u1(L, "click", (r) => {
@@ -7768,20 +7768,20 @@ function I2(H, V, C = {}) {
7768
7768
  i && u1(L, "blur", (r) => {
7769
7769
  setTimeout(() => {
7770
7770
  var n;
7771
- const S = H1(H);
7772
- ((n = L.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(S != null && S.contains(L.document.activeElement)) && V(r);
7771
+ const u = H1(H);
7772
+ ((n = L.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(u != null && u.contains(L.document.activeElement)) && V(r);
7773
7773
  }, 0);
7774
7774
  })
7775
7775
  ].filter(Boolean);
7776
7776
  return () => o.forEach((r) => r());
7777
7777
  }
7778
- const Q2 = {
7778
+ const G2 = {
7779
7779
  key: 1,
7780
- class: "dropdown__tags"
7781
- }, G2 = {
7780
+ class: "r-dropdown__tags"
7781
+ }, z2 = {
7782
7782
  key: 2,
7783
- class: "dropdown__multiple"
7784
- }, z2 = ["id", "disabled", "placeholder", "readonly"], U2 = ["aria-disabled", "onClick"], $2 = { style: { display: "flex", "align-items": "center" } }, u3 = /* @__PURE__ */ v({
7783
+ class: "r-dropdown__multiple"
7784
+ }, U2 = ["id", "disabled", "placeholder", "readonly"], $2 = ["aria-disabled", "onClick"], K2 = { style: { display: "flex", "align-items": "center" } }, S3 = /* @__PURE__ */ F({
7785
7785
  __name: "RDropdown",
7786
7786
  props: {
7787
7787
  options: { default: () => [] },
@@ -7794,174 +7794,177 @@ const Q2 = {
7794
7794
  prependIcon: { default: "" },
7795
7795
  appendIcon: { default: "mdiChevronDown" },
7796
7796
  searchable: { type: Boolean, default: !1 },
7797
- parentElement: null,
7798
7797
  id: { default: "test" }
7799
7798
  },
7800
7799
  emits: ["update:modelValue"],
7801
7800
  setup(H, { emit: V }) {
7802
- const C = H, L = x(""), A = J([]), M = x(!1), i = x(""), e = x(null), d = x(null), m = x(null), o = (c) => {
7803
- var Z, O, w;
7801
+ const C = H, L = D(""), A = J([]), M = D(!1), i = D(""), e = D(null), d = D(null), m = D(null), o = (S) => {
7802
+ var O, s, v;
7804
7803
  if (!C.disabled) {
7805
- if (c.stopPropagation(), M.value = !M.value, M.value) {
7806
- (Z = e.value) == null || Z.classList.add("dropdown--active"), (O = e.value) == null || O.focus(), C.searchable && ((w = d.value) == null || w.focus());
7804
+ if (S.stopPropagation(), M.value = !M.value, M.value) {
7805
+ (O = e.value) == null || O.classList.add("dropdown--active"), (s = e.value) == null || s.focus(), C.searchable && ((v = d.value) == null || v.focus());
7807
7806
  return;
7808
7807
  }
7809
7808
  l();
7810
7809
  }
7811
7810
  }, l = () => {
7812
- var c, Z, O;
7813
- M.value = !1, (c = e.value) == null || c.classList.remove("dropdown--active"), (Z = e.value) == null || Z.blur(), (O = d.value) == null || O.blur();
7814
- }, r = (c, Z) => {
7815
- var O;
7811
+ var S, O, s;
7812
+ M.value = !1, (S = e.value) == null || S.classList.remove("dropdown--active"), (O = e.value) == null || O.blur(), (s = d.value) == null || s.blur();
7813
+ }, r = (S, O) => {
7814
+ var s;
7816
7815
  if (C.multiple || C.taggable) {
7817
- c.stopPropagation(), A.find((w) => w.value === Z.value) ? A.splice(A.indexOf(Z), 1) : A.push(Z), i.value = "", C.searchable && ((O = d.value) == null || O.focus());
7816
+ S.stopPropagation(), A.find((v) => v.value === O.value) ? A.splice(A.indexOf(O), 1) : A.push(O), i.value = "", C.searchable && ((s = d.value) == null || s.focus());
7818
7817
  return;
7819
7818
  }
7820
- n(c, Z);
7821
- }, n = (c, Z) => {
7822
- if (L.value === Z.value) {
7819
+ n(S, O);
7820
+ }, n = (S, O) => {
7821
+ if (L.value === O.value) {
7823
7822
  L.value = "", i.value = "";
7824
7823
  return;
7825
7824
  }
7826
- i.value = Z.label, L.value = Z.value, o(c), V("update:modelValue", Z);
7827
- }, S = (c, Z) => {
7828
- if (c instanceof KeyboardEvent && c.key !== "Backspace" || i.value !== "")
7825
+ i.value = O.label, L.value = O.value, o(S), V("update:modelValue", O);
7826
+ }, u = (S, O) => {
7827
+ if (S instanceof KeyboardEvent && S.key !== "Backspace" || i.value !== "")
7829
7828
  return;
7830
- c.stopPropagation();
7831
- const O = A.findIndex((w) => w.value === Z.value);
7832
- A.splice(O, 1);
7833
- }, B = (c) => {
7834
- var w;
7829
+ S.stopPropagation();
7830
+ const s = A.findIndex((v) => v.value === O.value);
7831
+ A.splice(s, 1);
7832
+ }, b = (S) => {
7833
+ var v;
7835
7834
  if (!C.taggable)
7836
7835
  return;
7837
- c.stopPropagation();
7838
- const Z = i.value;
7839
- if (Z === "")
7836
+ S.stopPropagation();
7837
+ const O = i.value;
7838
+ if (O === "")
7840
7839
  return;
7841
- C.options.find((E) => E.label === Z) || (A.push({ value: Z, label: Z }), i.value = "", (w = d.value) == null || w.focus());
7842
- }, s = (c) => C.multiple ? A.find((Z) => Z.value === c.value) : L.value === c.value, P = k(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7840
+ C.options.find((h) => h.label === O) || (A.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7841
+ }, c = (S) => C.multiple ? A.find((O) => O.value === S.value) : L.value === S.value, w = g(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7843
7842
  return L2(() => {
7844
7843
  C.modelValue && (C.multiple ? A.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7845
- }), W(A, (c) => {
7846
- V("update:modelValue", c);
7847
- }), I2(m, l), (c, Z) => (t(), a("div", {
7844
+ }), W(A, (S) => {
7845
+ V("update:modelValue", S);
7846
+ }), Q2(m, l), (S, O) => (t(), a("div", {
7848
7847
  ref_key: "wrapper",
7849
7848
  ref: m,
7850
- class: "dropdown-wrapper"
7849
+ class: "r-dropdown-wrapper"
7851
7850
  }, [
7852
- u("div", {
7851
+ Z("div", {
7853
7852
  ref_key: "dropdown",
7854
7853
  ref: e,
7855
7854
  class: f({
7856
- dropdown: !0,
7857
- "dropdown--disabled": C.disabled,
7858
- "dropdown--loading": C.loading
7855
+ "r-dropdown": !0,
7856
+ "r-dropdown--disabled": C.disabled,
7857
+ "r-dropdown--loading": C.loading
7859
7858
  }),
7859
+ role: "select",
7860
7860
  onClick: o
7861
7861
  }, [
7862
- C.prependIcon || c.$slots.prepend ? (t(), a("div", {
7862
+ C.prependIcon || S.$slots.prepend ? (t(), a("div", {
7863
7863
  key: 0,
7864
7864
  class: f({
7865
- "dropdown__prepend-icon": !0,
7866
- "dropdown__prepend-icon--active": M.value
7865
+ "r-dropdown__prepend-icon": !0,
7866
+ "r-dropdown__prepend-icon--active": M.value
7867
7867
  })
7868
7868
  }, [
7869
- b(c.$slots, "prepend", {}, () => [
7870
- C.prependIcon ? (t(), R(F, {
7869
+ B(S.$slots, "prepend", {}, () => [
7870
+ C.prependIcon ? (t(), x(R, {
7871
7871
  key: 0,
7872
7872
  name: C.prependIcon
7873
- }, null, 8, ["name"])) : g("", !0)
7873
+ }, null, 8, ["name"])) : k("", !0)
7874
7874
  ])
7875
- ], 2)) : g("", !0),
7876
- C.taggable ? (t(), a("div", Q2, [
7877
- (t(!0), a(K, null, Y(A, (O, w) => (t(), R(x2, {
7878
- key: w,
7875
+ ], 2)) : k("", !0),
7876
+ C.taggable ? (t(), a("div", G2, [
7877
+ (t(!0), a(K, null, Y(A, (s, v) => (t(), x(D2, {
7878
+ key: v,
7879
7879
  appendIcon: "close",
7880
- class: "dropdown__tags__chip",
7881
- label: O.label,
7880
+ class: "r-dropdown__tags__chip",
7881
+ label: s.label,
7882
7882
  variant: "primary",
7883
- "onClick:close": (E) => S(E, O)
7883
+ "onClick:close": (h) => u(h, s)
7884
7884
  }, null, 8, ["label", "onClick:close"]))), 128))
7885
- ])) : g("", !0),
7886
- C.multiple ? (t(), a("div", G2, [
7887
- (t(!0), a(K, null, Y(A, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
- ])) : g("", !0),
7889
- E1(u("input", {
7885
+ ])) : k("", !0),
7886
+ C.multiple ? (t(), a("div", z2, [
7887
+ (t(!0), a(K, null, Y(A, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7888
+ ])) : k("", !0),
7889
+ E1(Z("input", {
7890
7890
  id: C.id,
7891
7891
  ref_key: "input",
7892
7892
  ref: d,
7893
- "onUpdate:modelValue": Z[0] || (Z[0] = (O) => i.value = O),
7893
+ "onUpdate:modelValue": O[0] || (O[0] = (s) => i.value = s),
7894
7894
  class: f({
7895
- dropdown__input: !0,
7896
- "dropdown__input--loading": C.loading
7895
+ "r-dropdown__input": !0,
7896
+ "r-dropdown__input--loading": C.loading
7897
7897
  }),
7898
7898
  disabled: C.disabled,
7899
7899
  placeholder: C.placeholder,
7900
- readonly: !C.searchable,
7900
+ readonly: p(T),
7901
7901
  type: "text",
7902
7902
  onKeydown: [
7903
- Z[1] || (Z[1] = k1((O) => S(O, A[A.length - 1]), ["backspace"])),
7904
- Z[2] || (Z[2] = k1((O) => B(O), ["enter"]))
7903
+ O[1] || (O[1] = k1((s) => u(s, A[A.length - 1]), ["backspace"])),
7904
+ O[2] || (O[2] = k1((s) => b(s), ["enter"]))
7905
7905
  ]
7906
- }, null, 42, z2), [
7906
+ }, null, 42, U2), [
7907
7907
  [M2, i.value]
7908
7908
  ]),
7909
- C.appendIcon || c.$slots.append ? (t(), a("div", {
7909
+ C.appendIcon || S.$slots.append ? (t(), a("div", {
7910
7910
  key: 3,
7911
7911
  class: f({
7912
- "dropdown__append-icon": !0,
7913
- "dropdown__append-icon--active": M.value
7912
+ "r-dropdown__append-icon": !0,
7913
+ "r-dropdown__append-icon--active": M.value
7914
7914
  })
7915
7915
  }, [
7916
- b(c.$slots, "append", {}, () => [
7917
- C.appendIcon ? (t(), R(F, {
7916
+ B(S.$slots, "append", {}, () => [
7917
+ C.appendIcon ? (t(), x(R, {
7918
7918
  key: 0,
7919
7919
  name: C.appendIcon
7920
- }, null, 8, ["name"])) : g("", !0)
7920
+ }, null, 8, ["name"])) : k("", !0)
7921
7921
  ])
7922
- ], 2)) : g("", !0)
7922
+ ], 2)) : k("", !0)
7923
7923
  ], 2),
7924
- u("ul", {
7925
- class: f({ "dropdown-options": !0, "dropdown-options--active": M.value })
7924
+ Z("ul", {
7925
+ class: f({
7926
+ "r-dropdown-options": !0,
7927
+ "r-dropdown-options--active": M.value
7928
+ })
7926
7929
  }, [
7927
- (t(!0), a(K, null, Y(p(P), (O) => (t(), a("li", {
7928
- key: O.value,
7929
- "aria-disabled": O.disabled,
7930
+ (t(!0), a(K, null, Y(p(w), (s) => (t(), a("li", {
7931
+ key: s.value,
7932
+ "aria-disabled": s.disabled,
7930
7933
  class: f({
7931
- "dropdown-options__option": !0,
7932
- "dropdown-options__option--active": s(O)
7934
+ "r-dropdown-options__option": !0,
7935
+ "r-dropdown-options__option--active": c(s)
7933
7936
  }),
7934
- onClick: (w) => r(w, O)
7937
+ onClick: (v) => r(v, s)
7935
7938
  }, [
7936
- u("div", $2, [
7937
- O.prependIcon ? (t(), R(F, {
7939
+ Z("div", K2, [
7940
+ s.prependIcon ? (t(), x(R, {
7938
7941
  key: 1,
7939
7942
  class: f({
7940
- "dropdown-options__option__prepend-icon": !0,
7941
- "dropdown-options__option__prepend-icon--active": s(O)
7943
+ "r-dropdown-options__option__prepend-icon": !0,
7944
+ "r-dropdown-options__option__prepend-icon--active": c(s)
7942
7945
  }),
7943
- name: O.prependIcon
7944
- }, null, 8, ["class", "name"])) : b(c.$slots, "option-prepend", { key: 0 }),
7945
- u("p", {
7946
+ name: s.prependIcon
7947
+ }, null, 8, ["class", "name"])) : B(S.$slots, "option-prepend", { key: 0 }),
7948
+ Z("p", {
7946
7949
  class: f({
7947
- "dropdown-options__option__label": !0,
7948
- "dropdown-options__option__label--active": s(O)
7950
+ "r-dropdown-options__option__label": !0,
7951
+ "r-dropdown-options__option__label--active": c(s)
7949
7952
  })
7950
- }, y(O.label), 3)
7953
+ }, y(s.label), 3)
7951
7954
  ]),
7952
- s(O) ? (t(), R(F, {
7955
+ c(s) ? (t(), x(R, {
7953
7956
  key: 0,
7954
7957
  class: f({
7955
- "dropdown-options__option__append-icon": !0,
7956
- "dropdown-options__option__append-icon--active": s(O)
7958
+ "r-dropdown-options__option__append-icon": !0,
7959
+ "r-dropdown-options__option__append-icon--active": c(s)
7957
7960
  }),
7958
7961
  name: "mdiCheck"
7959
- }, null, 8, ["class"])) : g("", !0)
7960
- ], 10, U2))), 128))
7962
+ }, null, 8, ["class"])) : k("", !0)
7963
+ ], 10, $2))), 128))
7961
7964
  ], 2)
7962
7965
  ], 512));
7963
7966
  }
7964
- }), K2 = ["id", "for"], Q1 = /* @__PURE__ */ v({
7967
+ }), j2 = ["id", "for"], Q1 = /* @__PURE__ */ F({
7965
7968
  __name: "RLabel",
7966
7969
  props: {
7967
7970
  id: { default: "" },
@@ -7972,19 +7975,24 @@ const Q2 = {
7972
7975
  const V = H;
7973
7976
  return (C, L) => (t(), a("label", {
7974
7977
  id: V.id,
7978
+ class: "r-label",
7975
7979
  for: V.for
7976
- }, y(V.text), 9, K2));
7980
+ }, [
7981
+ B(C.$slots, "default", {}, () => [
7982
+ A2(y(V.text), 1)
7983
+ ])
7984
+ ], 8, j2));
7977
7985
  }
7978
- }), j2 = ["onClick"], q2 = ["open"], Y2 = { class: "dialog__header" }, X2 = {
7986
+ }), q2 = ["onClick"], Y2 = ["open"], X2 = { class: "dialog__header" }, J2 = {
7979
7987
  key: 0,
7980
7988
  class: "icon"
7981
- }, J2 = {
7989
+ }, C5 = {
7982
7990
  key: 1,
7983
7991
  class: "title"
7984
- }, C5 = {
7992
+ }, H5 = {
7985
7993
  key: 2,
7986
7994
  class: "description"
7987
- }, H5 = { class: "dialog__body" }, V5 = { class: "dialog__actions" }, S3 = /* @__PURE__ */ v({
7995
+ }, V5 = { class: "dialog__body" }, L5 = { class: "dialog__actions" }, c3 = /* @__PURE__ */ F({
7988
7996
  __name: "RModal",
7989
7997
  props: {
7990
7998
  modelValue: { type: Boolean, default: !1 },
@@ -7998,10 +8006,10 @@ const Q2 = {
7998
8006
  },
7999
8007
  emits: ["update:modelValue"],
8000
8008
  setup(H, { emit: V }) {
8001
- const C = H, L = k(() => ({
8009
+ const C = H, L = g(() => ({
8002
8010
  dialog: !0,
8003
8011
  "dialog--block": C.block
8004
- })), A = k(() => ({
8012
+ })), A = g(() => ({
8005
8013
  width: C.width,
8006
8014
  height: C.height
8007
8015
  })), M = (i) => {
@@ -8011,59 +8019,59 @@ const Q2 = {
8011
8019
  class: "modal",
8012
8020
  onClick: N(M, ["stop"])
8013
8021
  }, [
8014
- u("div", {
8022
+ Z("div", {
8015
8023
  "aria-modal": "true",
8016
8024
  class: f(p(L)),
8017
8025
  open: C.modelValue,
8018
8026
  role: "dialog",
8019
8027
  style: p1(p(A))
8020
8028
  }, [
8021
- u("div", Y2, [
8022
- b(i.$slots, "header"),
8023
- C.icon ? (t(), a("div", X2, [
8024
- q(F, {
8029
+ Z("div", X2, [
8030
+ B(i.$slots, "header"),
8031
+ C.icon ? (t(), a("div", J2, [
8032
+ q(R, {
8025
8033
  name: C.icon
8026
8034
  }, null, 8, ["name"])
8027
- ])) : g("", !0),
8028
- C.title ? (t(), a("div", J2, y(C.title), 1)) : g("", !0),
8029
- C.description ? (t(), a("div", C5, y(C.description), 1)) : g("", !0)
8035
+ ])) : k("", !0),
8036
+ C.title ? (t(), a("div", C5, y(C.title), 1)) : k("", !0),
8037
+ C.description ? (t(), a("div", H5, y(C.description), 1)) : k("", !0)
8030
8038
  ]),
8031
- u("div", H5, [
8032
- b(i.$slots, "default")
8039
+ Z("div", V5, [
8040
+ B(i.$slots, "default")
8033
8041
  ]),
8034
- u("div", V5, [
8035
- b(i.$slots, "actions")
8042
+ Z("div", L5, [
8043
+ B(i.$slots, "actions")
8036
8044
  ])
8037
- ], 14, q2)
8038
- ], 8, j2)), [
8039
- [A2, H.modelValue]
8045
+ ], 14, Y2)
8046
+ ], 8, q2)), [
8047
+ [i2, H.modelValue]
8040
8048
  ]);
8041
8049
  }
8042
- }), L5 = { class: "nav" }, M5 = { class: "actions" }, c3 = /* @__PURE__ */ v({
8050
+ }), M5 = { class: "nav" }, A5 = { class: "actions" }, s3 = /* @__PURE__ */ F({
8043
8051
  __name: "RSidebar",
8044
8052
  props: {
8045
8053
  modelValue: { type: Boolean, default: !1 }
8046
8054
  },
8047
8055
  setup(H) {
8048
- const V = H, C = k(() => ({
8056
+ const V = H, C = g(() => ({
8049
8057
  sidebar: !0,
8050
8058
  "sidebar--open": V.modelValue
8051
8059
  }));
8052
8060
  return (L, A) => (t(), a("aside", {
8053
8061
  class: f(p(C))
8054
8062
  }, [
8055
- u("nav", L5, [
8056
- b(L.$slots, "default")
8063
+ Z("nav", M5, [
8064
+ B(L.$slots, "default")
8057
8065
  ]),
8058
- u("div", M5, [
8059
- b(L.$slots, "actions")
8066
+ Z("div", A5, [
8067
+ B(L.$slots, "actions")
8060
8068
  ])
8061
8069
  ], 2));
8062
8070
  }
8063
- }), A5 = { class: "r-snackbar__text" }, i5 = {
8071
+ }), i5 = { class: "r-snackbar__text" }, e5 = {
8064
8072
  key: 0,
8065
8073
  class: "r-snackbar__close"
8066
- }, s3 = /* @__PURE__ */ v({
8074
+ }, O3 = /* @__PURE__ */ F({
8067
8075
  __name: "RSnackbar",
8068
8076
  props: {
8069
8077
  modelValue: { type: Boolean, default: !1 },
@@ -8088,7 +8096,7 @@ const Q2 = {
8088
8096
  immediate: !0
8089
8097
  }
8090
8098
  );
8091
- const L = k(() => ({
8099
+ const L = g(() => ({
8092
8100
  "r-snackbar": !0,
8093
8101
  [`r-snackbar--${C.variant}`]: !0,
8094
8102
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
@@ -8103,33 +8111,33 @@ const Q2 = {
8103
8111
  return (M, i) => (t(), a("div", {
8104
8112
  class: f(p(L))
8105
8113
  }, [
8106
- b(M.$slots, "default", {}, () => [
8107
- C.variant ? (t(), R(F, {
8114
+ B(M.$slots, "default", {}, () => [
8115
+ C.variant ? (t(), x(R, {
8108
8116
  key: 0,
8109
8117
  class: "r-snackbar__icon",
8110
8118
  name: p(A)
8111
- }, null, 8, ["name"])) : g("", !0)
8119
+ }, null, 8, ["name"])) : k("", !0)
8112
8120
  ]),
8113
- u("div", A5, y(C.text), 1),
8114
- b(M.$slots, "action"),
8115
- C.closable ? (t(), a("div", i5, [
8116
- b(M.$slots, "close", {}, () => [
8117
- q(F, {
8121
+ Z("div", i5, y(C.text), 1),
8122
+ B(M.$slots, "action"),
8123
+ C.closable ? (t(), a("div", e5, [
8124
+ B(M.$slots, "close", {}, () => [
8125
+ q(R, {
8118
8126
  name: "mdiClose",
8119
8127
  size: 16,
8120
8128
  onClick: i[0] || (i[0] = N((e) => M.$emit("update:modelValue", !1), ["stop"]))
8121
8129
  })
8122
8130
  ])
8123
- ])) : g("", !0)
8131
+ ])) : k("", !0)
8124
8132
  ], 2));
8125
8133
  }
8126
- }), e5 = { class: "switch-container" }, d5 = ["id", "checked"], t5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), m5 = ["id", "for"], l5 = {
8134
+ }), d5 = { class: "switch-container" }, t5 = ["id", "checked"], m5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), l5 = ["id", "for"], o5 = {
8127
8135
  key: 0,
8128
8136
  class: "switch-texts__error"
8129
- }, o5 = {
8137
+ }, n5 = {
8130
8138
  key: 1,
8131
8139
  class: "switch-texts__hint"
8132
- }, O3 = /* @__PURE__ */ v({
8140
+ }, p3 = /* @__PURE__ */ F({
8133
8141
  __name: "RSwitch",
8134
8142
  props: {
8135
8143
  id: { default: "switch" },
@@ -8144,7 +8152,7 @@ const Q2 = {
8144
8152
  setup(H, { emit: V }) {
8145
8153
  const C = H, L = J({
8146
8154
  checked: !1
8147
- }), A = k(() => ({
8155
+ }), A = g(() => ({
8148
8156
  switch: !0,
8149
8157
  "switch--disabled": C.disabled,
8150
8158
  [`switch--${C.size}`]: C.size,
@@ -8162,40 +8170,40 @@ const Q2 = {
8162
8170
  // TODO: find a better way to do this
8163
8171
  immediate: !0
8164
8172
  }
8165
- ), (i, e) => (t(), a("div", e5, [
8166
- u("div", {
8173
+ ), (i, e) => (t(), a("div", d5, [
8174
+ Z("div", {
8167
8175
  class: f(p(A))
8168
8176
  }, [
8169
- u("input", {
8177
+ Z("input", {
8170
8178
  id: C.id,
8171
8179
  checked: L.checked,
8172
8180
  class: "switch__input",
8173
8181
  type: "checkbox",
8174
8182
  onChange: M
8175
- }, null, 40, d5),
8176
- t5
8183
+ }, null, 40, t5),
8184
+ m5
8177
8185
  ], 2),
8178
- u("div", {
8186
+ Z("div", {
8179
8187
  class: f({
8180
8188
  "switch-texts": !0,
8181
8189
  [`switch-texts--${C.size}`]: !0
8182
8190
  })
8183
8191
  }, [
8184
- u("label", {
8192
+ Z("label", {
8185
8193
  id: C.id,
8186
8194
  class: "switch-texts__label",
8187
8195
  for: C.id
8188
- }, y(C.label), 9, m5),
8189
- C.errorMsg ? (t(), a("p", l5, y(C.errorMsg), 1)) : (t(), a("p", o5, y(C.hint), 1))
8196
+ }, y(C.label), 9, l5),
8197
+ C.errorMsg ? (t(), a("p", o5, y(C.errorMsg), 1)) : (t(), a("p", n5, y(C.hint), 1))
8190
8198
  ], 2)
8191
8199
  ]));
8192
8200
  }
8193
8201
  });
8194
8202
  var V1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(V1 || {});
8195
- const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8203
+ const r5 = ["aria-disabled", "aria-selected", "disabled"], a5 = {
8196
8204
  key: 0,
8197
8205
  class: "tab-item__label"
8198
- }, a5 = /* @__PURE__ */ v({
8206
+ }, Z5 = /* @__PURE__ */ F({
8199
8207
  __name: "RTabItem",
8200
8208
  props: {
8201
8209
  id: null,
@@ -8211,12 +8219,12 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8211
8219
  },
8212
8220
  emits: ["update:modelValue", "click:icon"],
8213
8221
  setup(H, { emit: V }) {
8214
- const C = H, L = k(() => ({
8222
+ const C = H, L = g(() => ({
8215
8223
  "tab-item": !0,
8216
8224
  [`tab-item--${C.variant}`]: !0,
8217
8225
  "tab-item--tile": C.tile,
8218
8226
  "tab-item--block": C.block
8219
- })), A = k(() => ({
8227
+ })), A = g(() => ({
8220
8228
  color: C.color
8221
8229
  }));
8222
8230
  function M(e) {
@@ -8233,27 +8241,27 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8233
8241
  style: p1(p(A)),
8234
8242
  onClick: d[0] || (d[0] = N((m) => M(C.id), ["stop"]))
8235
8243
  }, [
8236
- b(e.$slots, "prepend", {}, () => [
8237
- C.variant !== p(V1).TEXT && C.prependIcon ? (t(), R(F, {
8244
+ B(e.$slots, "prepend", {}, () => [
8245
+ C.variant !== p(V1).TEXT && C.prependIcon ? (t(), x(R, {
8238
8246
  key: 0,
8239
8247
  class: "tab-item__prepend-icon",
8240
8248
  name: C.prependIcon,
8241
8249
  size: 16
8242
- }, null, 8, ["name"])) : g("", !0)
8250
+ }, null, 8, ["name"])) : k("", !0)
8243
8251
  ]),
8244
- C.variant !== p(V1).ICON ? (t(), a("span", r5, y(C.label), 1)) : g("", !0),
8245
- b(e.$slots, "append", {}, () => [
8246
- C.variant !== p(V1).TEXT && C.appendIcon ? (t(), R(F, {
8252
+ C.variant !== p(V1).ICON ? (t(), a("span", a5, y(C.label), 1)) : k("", !0),
8253
+ B(e.$slots, "append", {}, () => [
8254
+ C.variant !== p(V1).TEXT && C.appendIcon ? (t(), x(R, {
8247
8255
  key: 0,
8248
8256
  class: "tab-item__append-icon",
8249
8257
  name: C.appendIcon,
8250
8258
  size: 16,
8251
8259
  onClick: N(i, ["stop"])
8252
- }, null, 8, ["name", "onClick"])) : g("", !0)
8260
+ }, null, 8, ["name", "onClick"])) : k("", !0)
8253
8261
  ])
8254
- ], 14, n5));
8262
+ ], 14, r5));
8255
8263
  }
8256
- }), p3 = /* @__PURE__ */ v({
8264
+ }), h3 = /* @__PURE__ */ F({
8257
8265
  __name: "RTabs",
8258
8266
  props: {
8259
8267
  tabs: { default: () => [] },
@@ -8263,7 +8271,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8263
8271
  },
8264
8272
  emits: ["update:modelValue", "click:icon"],
8265
8273
  setup(H, { emit: V }) {
8266
- const C = H, L = x(C.modelValue || C.tabs[0].id), A = k(() => ({
8274
+ const C = H, L = D(C.modelValue || C.tabs[0].id), A = g(() => ({
8267
8275
  tabs: !0,
8268
8276
  "tabs--block": C.block,
8269
8277
  "tabs--tile": C.tile
@@ -8280,8 +8288,8 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8280
8288
  return (i, e) => (t(), a("div", {
8281
8289
  class: f(p(A))
8282
8290
  }, [
8283
- b(i.$slots, "default", {}, () => [
8284
- (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), R(a5, {
8291
+ B(i.$slots, "default", {}, () => [
8292
+ (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), x(Z5, {
8285
8293
  id: d.id,
8286
8294
  key: m,
8287
8295
  modelValue: L.value,
@@ -8299,13 +8307,13 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8299
8307
  ])
8300
8308
  ], 2));
8301
8309
  }
8302
- }), Z5 = { class: "container" }, u5 = ["id", "disabled", "placeholder", "value"], S5 = {
8310
+ }), u5 = { class: "container" }, S5 = ["id", "disabled", "placeholder", "value"], c5 = {
8303
8311
  key: 1,
8304
8312
  class: "textarea__error"
8305
- }, c5 = {
8313
+ }, s5 = {
8306
8314
  key: 2,
8307
8315
  class: "textarea__hint"
8308
- }, h3 = /* @__PURE__ */ v({
8316
+ }, f3 = /* @__PURE__ */ F({
8309
8317
  __name: "RTextArea",
8310
8318
  props: {
8311
8319
  id: { default: "" },
@@ -8332,15 +8340,15 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8332
8340
  {
8333
8341
  immediate: !0
8334
8342
  }
8335
- ), (M, i) => (t(), a("div", Z5, [
8336
- C.label ? (t(), R(Q1, {
8343
+ ), (M, i) => (t(), a("div", u5, [
8344
+ C.label ? (t(), x(Q1, {
8337
8345
  key: 0,
8338
8346
  id: "textarea",
8339
8347
  class: "textarea__label",
8340
8348
  for: "textarea",
8341
8349
  text: C.label
8342
- }, null, 8, ["text"])) : g("", !0),
8343
- u("textarea", {
8350
+ }, null, 8, ["text"])) : k("", !0),
8351
+ Z("textarea", {
8344
8352
  id: C.id,
8345
8353
  class: f(["textarea", {
8346
8354
  "textarea--error": C.errorMsg,
@@ -8350,21 +8358,21 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8350
8358
  placeholder: C.placeholder,
8351
8359
  value: L.value,
8352
8360
  onInput: A
8353
- }, null, 42, u5),
8354
- C.errorMsg ? (t(), a("p", S5, y(C.errorMsg), 1)) : (t(), a("p", c5, y(C.hint), 1))
8361
+ }, null, 42, S5),
8362
+ C.errorMsg ? (t(), a("p", c5, y(C.errorMsg), 1)) : (t(), a("p", s5, y(C.hint), 1))
8355
8363
  ]));
8356
8364
  }
8357
- }), s5 = {
8365
+ }), O5 = {
8358
8366
  class: /* @__PURE__ */ f({
8359
8367
  textfield__wrapper: !0
8360
8368
  })
8361
- }, O5 = { class: "input-wrapper" }, p5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], h5 = {
8369
+ }, p5 = { class: "input-wrapper" }, h5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], f5 = {
8362
8370
  key: 0,
8363
8371
  class: "textfield__error"
8364
- }, f5 = {
8372
+ }, g5 = {
8365
8373
  key: 1,
8366
8374
  class: "textfield__hint"
8367
- }, f3 = /* @__PURE__ */ v({
8375
+ }, g3 = /* @__PURE__ */ F({
8368
8376
  __name: "RTextfield",
8369
8377
  props: {
8370
8378
  id: { default: "" },
@@ -8391,52 +8399,52 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8391
8399
  "click:clear"
8392
8400
  ],
8393
8401
  setup(H, { emit: V }) {
8394
- const C = H, L = x(), A = J({
8402
+ const C = H, L = D(), A = J({
8395
8403
  value: ""
8396
- }), M = x(C.type), i = {
8404
+ }), M = D(C.type), i = {
8397
8405
  password: "mdiLock",
8398
8406
  email: "mdiEmailOutline",
8399
8407
  tel: "mdiPhone",
8400
8408
  url: "mdiLink",
8401
8409
  number: "mdiNumeric",
8402
8410
  text: ""
8403
- }, e = x(!1), d = k(() => !!A.value), m = k(() => {
8404
- const { disabled: h, loading: T, clearable: D, errorMsg: _ } = C;
8411
+ }, e = D(!1), d = g(() => !!A.value), m = g(() => {
8412
+ const { disabled: h, loading: P, clearable: E, errorMsg: _ } = C;
8405
8413
  return {
8406
8414
  textfield: !0,
8407
8415
  "textfield--error": _ == null ? void 0 : _.length,
8408
- "textfield--loading": T,
8416
+ "textfield--loading": P,
8409
8417
  "textfield--disabled": h,
8410
- "textfield--clearable": D,
8418
+ "textfield--clearable": E,
8411
8419
  "textfield--focus": e.value,
8412
8420
  "textfield--filled": d.value
8413
8421
  };
8414
- }), o = k(() => ({
8422
+ }), o = g(() => ({
8415
8423
  "textfield__prepend-icon": !0,
8416
8424
  "textfield__prepend-icon--loading": C.loading,
8417
8425
  "textfield__prepend-icon--error": n.value && d.value
8418
- })), l = k(() => ({
8426
+ })), l = g(() => ({
8419
8427
  "textfield__append-icon": !0,
8420
- "textfield__append-icon--clear": S.value,
8428
+ "textfield__append-icon--clear": u.value,
8421
8429
  "textfield__append-icon--error": n.value
8422
- })), r = k(() => A.value.length > 0), n = k(() => {
8430
+ })), r = g(() => A.value.length > 0), n = g(() => {
8423
8431
  var h;
8424
8432
  return (h = C.errorMsg) == null ? void 0 : h.length;
8425
- }), S = k(() => C.clearable && r.value), B = k(() => {
8426
- const { prependIcon: h, type: T } = C;
8427
- return h === "none" ? "" : h || i[T];
8428
- }), s = k(() => {
8429
- const { appendIcon: h, type: T } = C;
8430
- return h === "none" ? "" : n.value ? "mdiAlertCircleOutline" : S.value && ["text", "email"].includes(T) ? "mdiClose" : T === "password" && M.value === "password" ? "mdiEyeOutline" : T === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
8431
- }), P = (h) => {
8433
+ }), u = g(() => C.clearable && r.value), b = g(() => {
8434
+ const { prependIcon: h, type: P } = C;
8435
+ return h === "none" ? "" : h || i[P];
8436
+ }), c = g(() => {
8437
+ const { appendIcon: h, type: P } = C;
8438
+ return h === "none" ? "" : n.value ? "mdiAlertCircleOutline" : u.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && M.value === "password" ? "mdiEyeOutline" : P === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
8439
+ }), w = (h) => {
8432
8440
  e.value = !0, V("focus", h);
8433
- }, c = (h) => {
8441
+ }, T = (h) => {
8434
8442
  e.value = !1, V("blur", h);
8435
- }, Z = (h) => {
8443
+ }, S = (h) => {
8436
8444
  A.value = h.target.value, V("input", h);
8437
8445
  }, O = () => {
8438
8446
  var h;
8439
- if (S.value) {
8447
+ if (u.value) {
8440
8448
  A.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8441
8449
  value: M.value === "number" ? +A.value : A.value
8442
8450
  });
@@ -8444,10 +8452,10 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8444
8452
  }
8445
8453
  V("click:icon", {
8446
8454
  value: M.value === "number" ? +A.value : A.value
8447
- }), M.value === "password" && w();
8448
- }, w = () => {
8455
+ }), M.value === "password" && s();
8456
+ }, s = () => {
8449
8457
  M.value = M.value === "password" ? "text" : "password";
8450
- }, E = () => {
8458
+ }, v = () => {
8451
8459
  var h;
8452
8460
  (h = L.value) == null || h.focus();
8453
8461
  };
@@ -8467,9 +8475,9 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8467
8475
  M.value === "number" ? +h : h
8468
8476
  );
8469
8477
  }
8470
- ), (h, T) => (t(), a("fieldset", null, [
8471
- u("div", s5, [
8472
- C.label ? (t(), R(Q1, {
8478
+ ), (h, P) => (t(), a("fieldset", null, [
8479
+ Z("div", O5, [
8480
+ C.label ? (t(), x(Q1, {
8473
8481
  key: 0,
8474
8482
  id: C.id,
8475
8483
  class: f({
@@ -8477,20 +8485,20 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8477
8485
  }),
8478
8486
  for: C.id,
8479
8487
  text: C.label,
8480
- onClick: E
8481
- }, null, 8, ["id", "for", "text"])) : g("", !0),
8482
- u("div", O5, [
8483
- u("div", {
8488
+ onClick: v
8489
+ }, null, 8, ["id", "for", "text"])) : k("", !0),
8490
+ Z("div", p5, [
8491
+ Z("div", {
8484
8492
  class: f(p(m))
8485
8493
  }, [
8486
- b(h.$slots, "prepend"),
8487
- p(B) && !h.$slots.prepend ? (t(), R(F, {
8494
+ B(h.$slots, "prepend"),
8495
+ p(b) && !h.$slots.prepend ? (t(), x(R, {
8488
8496
  key: 0,
8489
8497
  class: f(p(o)),
8490
- name: p(B),
8498
+ name: p(b),
8491
8499
  size: 20
8492
- }, null, 8, ["class", "name"])) : g("", !0),
8493
- u("input", {
8500
+ }, null, 8, ["class", "name"])) : k("", !0),
8501
+ Z("input", {
8494
8502
  id: C.id,
8495
8503
  ref_key: "inputRef",
8496
8504
  ref: L,
@@ -8500,21 +8508,21 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8500
8508
  placeholder: C.placeholder,
8501
8509
  type: M.value,
8502
8510
  value: A.value,
8503
- onBlur: c,
8504
- onFocus: P,
8505
- onInput: Z
8506
- }, null, 40, p5),
8507
- b(h.$slots, "append"),
8508
- p(s) && !h.$slots.append ? (t(), R(F, {
8511
+ onBlur: T,
8512
+ onFocus: w,
8513
+ onInput: S
8514
+ }, null, 40, h5),
8515
+ B(h.$slots, "append"),
8516
+ p(c) && !h.$slots.append ? (t(), x(R, {
8509
8517
  key: 1,
8510
8518
  class: f(p(l)),
8511
- name: `${p(s)}`,
8519
+ name: `${p(c)}`,
8512
8520
  size: 20,
8513
8521
  onClick: O
8514
- }, null, 8, ["class", "name"])) : g("", !0)
8522
+ }, null, 8, ["class", "name"])) : k("", !0)
8515
8523
  ], 2),
8516
- C.errorMsg ? (t(), a("div", h5, y(C.errorMsg), 1)) : g("", !0),
8517
- !C.errorMsg && C.hint ? (t(), a("div", f5, y(C.hint), 1)) : g("", !0)
8524
+ C.errorMsg ? (t(), a("div", f5, y(C.errorMsg), 1)) : k("", !0),
8525
+ !C.errorMsg && C.hint ? (t(), a("div", g5, y(C.hint), 1)) : k("", !0)
8518
8526
  ])
8519
8527
  ])
8520
8528
  ]));
@@ -8561,12 +8569,12 @@ function y1(H, V, C) {
8561
8569
  }
8562
8570
  return l;
8563
8571
  }
8564
- const g5 = async (H, V, C) => {
8572
+ const k5 = async (H, V, C) => {
8565
8573
  const { placement: L = "bottom", strategy: A = "absolute", middleware: M = [], platform: i } = C, e = M.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8566
- let m = await i.getElementRects({ reference: H, floating: V, strategy: A }), { x: o, y: l } = y1(m, L, d), r = L, n = {}, S = 0;
8567
- for (let B = 0; B < e.length; B++) {
8568
- const { name: s, fn: P } = e[B], { x: c, y: Z, data: O, reset: w } = await P({ x: o, y: l, initialPlacement: L, placement: r, strategy: A, middlewareData: n, rects: m, platform: i, elements: { reference: H, floating: V } });
8569
- o = c ?? o, l = Z ?? l, n = { ...n, [s]: { ...n[s], ...O } }, w && S <= 50 && (S++, typeof w == "object" && (w.placement && (r = w.placement), w.rects && (m = w.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: A }) : w.rects), { x: o, y: l } = y1(m, r, d)), B = -1);
8574
+ let m = await i.getElementRects({ reference: H, floating: V, strategy: A }), { x: o, y: l } = y1(m, L, d), r = L, n = {}, u = 0;
8575
+ for (let b = 0; b < e.length; b++) {
8576
+ const { name: c, fn: w } = e[b], { x: T, y: S, data: O, reset: s } = await w({ x: o, y: l, initialPlacement: L, placement: r, strategy: A, middlewareData: n, rects: m, platform: i, elements: { reference: H, floating: V } });
8577
+ o = T ?? o, l = S ?? l, n = { ...n, [c]: { ...n[c], ...O } }, s && u <= 50 && (u++, typeof s == "object" && (s.placement && (r = s.placement), s.rects && (m = s.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: A }) : s.rects), { x: o, y: l } = y1(m, r, d)), b = -1);
8570
8578
  }
8571
8579
  return { x: o, y: l, placement: r, strategy: A, middlewareData: n };
8572
8580
  };
@@ -8581,55 +8589,55 @@ function d1(H) {
8581
8589
  async function t1(H, V) {
8582
8590
  var C;
8583
8591
  V === void 0 && (V = {});
8584
- const { x: L, y: A, platform: M, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = G1(n), B = e[r ? l === "floating" ? "reference" : "floating" : l], s = d1(await M.getClippingRect({ element: (C = await (M.isElement == null ? void 0 : M.isElement(B))) == null || C ? B : B.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), P = d1(M.convertOffsetParentRelativeRectToViewportRelativeRect ? await M.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: A } : i.reference, offsetParent: await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8585
- return { top: s.top - P.top + S.top, bottom: P.bottom - s.bottom + S.bottom, left: s.left - P.left + S.left, right: P.right - s.right + S.right };
8592
+ const { x: L, y: A, platform: M, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: r = !1, padding: n = 0 } = V, u = G1(n), b = e[r ? l === "floating" ? "reference" : "floating" : l], c = d1(await M.getClippingRect({ element: (C = await (M.isElement == null ? void 0 : M.isElement(b))) == null || C ? b : b.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), w = d1(M.convertOffsetParentRelativeRectToViewportRelativeRect ? await M.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: A } : i.reference, offsetParent: await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8593
+ return { top: c.top - w.top + u.top, bottom: w.bottom - c.bottom + u.bottom, left: c.left - w.left + u.left, right: w.right - c.right + u.right };
8586
8594
  }
8587
- const k5 = Math.min, B5 = Math.max;
8595
+ const B5 = Math.min, b5 = Math.max;
8588
8596
  function s1(H, V, C) {
8589
- return B5(H, k5(V, C));
8597
+ return b5(H, B5(V, C));
8590
8598
  }
8591
- const b5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8599
+ const y5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8592
8600
  const { element: C, padding: L = 0 } = H ?? {}, { x: A, y: M, placement: i, rects: e, platform: d } = V;
8593
8601
  if (C == null)
8594
8602
  return {};
8595
- const m = G1(L), o = { x: A, y: M }, l = i1(i), r = o1(i), n = h1(l), S = await d.getDimensions(C), B = l === "y" ? "top" : "left", s = l === "y" ? "bottom" : "right", P = e.reference[n] + e.reference[l] - o[l] - e.floating[n], c = o[l] - e.reference[l], Z = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8596
- let O = Z ? l === "y" ? Z.clientHeight || 0 : Z.clientWidth || 0 : 0;
8603
+ const m = G1(L), o = { x: A, y: M }, l = i1(i), r = o1(i), n = h1(l), u = await d.getDimensions(C), b = l === "y" ? "top" : "left", c = l === "y" ? "bottom" : "right", w = e.reference[n] + e.reference[l] - o[l] - e.floating[n], T = o[l] - e.reference[l], S = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8604
+ let O = S ? l === "y" ? S.clientHeight || 0 : S.clientWidth || 0 : 0;
8597
8605
  O === 0 && (O = e.floating[n]);
8598
- const w = P / 2 - c / 2, E = m[B], h = O - S[n] - m[s], T = O / 2 - S[n] / 2 + w, D = s1(E, T, h), _ = (r === "start" ? m[B] : m[s]) > 0 && T !== D && e.reference[n] <= e.floating[n];
8599
- return { [l]: o[l] - (_ ? T < E ? E - T : h - T : 0), data: { [l]: D, centerOffset: T - D } };
8600
- } }), y5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8606
+ const s = w / 2 - T / 2, v = m[b], h = O - u[n] - m[c], P = O / 2 - u[n] / 2 + s, E = s1(v, P, h), _ = (r === "start" ? m[b] : m[c]) > 0 && P !== E && e.reference[n] <= e.floating[n];
8607
+ return { [l]: o[l] - (_ ? P < v ? v - P : h - P : 0), data: { [l]: E, centerOffset: P - E } };
8608
+ } }), w5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8601
8609
  function m1(H) {
8602
- return H.replace(/left|right|bottom|top/g, (V) => y5[V]);
8610
+ return H.replace(/left|right|bottom|top/g, (V) => w5[V]);
8603
8611
  }
8604
- function w5(H, V, C) {
8612
+ function P5(H, V, C) {
8605
8613
  C === void 0 && (C = !1);
8606
8614
  const L = o1(H), A = i1(H), M = h1(A);
8607
8615
  let i = A === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8608
8616
  return V.reference[M] > V.floating[M] && (i = m1(i)), { main: i, cross: m1(i) };
8609
8617
  }
8610
- const P5 = { start: "end", end: "start" };
8618
+ const T5 = { start: "end", end: "start" };
8611
8619
  function w1(H) {
8612
- return H.replace(/start|end/g, (V) => P5[V]);
8620
+ return H.replace(/start|end/g, (V) => T5[V]);
8613
8621
  }
8614
8622
  const z1 = ["top", "right", "bottom", "left"];
8615
8623
  z1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8616
- const T5 = function(H) {
8624
+ const v5 = function(H) {
8617
8625
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8618
8626
  var C;
8619
- const { placement: L, middlewareData: A, rects: M, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, B = A1(L), s = l || (B === i || !n ? [m1(i)] : function(T) {
8620
- const D = m1(T);
8621
- return [w1(T), D, w1(D)];
8622
- }(i)), P = [i, ...s], c = await t1(V, S), Z = [];
8627
+ const { placement: L, middlewareData: A, rects: M, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...u } = H, b = A1(L), c = l || (b === i || !n ? [m1(i)] : function(P) {
8628
+ const E = m1(P);
8629
+ return [w1(P), E, w1(E)];
8630
+ }(i)), w = [i, ...c], T = await t1(V, u), S = [];
8623
8631
  let O = ((C = A.flip) == null ? void 0 : C.overflows) || [];
8624
- if (m && Z.push(c[B]), o) {
8625
- const { main: T, cross: D } = w5(L, M, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8626
- Z.push(c[T], c[D]);
8632
+ if (m && S.push(T[b]), o) {
8633
+ const { main: P, cross: E } = P5(L, M, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8634
+ S.push(T[P], T[E]);
8627
8635
  }
8628
- if (O = [...O, { placement: L, overflows: Z }], !Z.every((T) => T <= 0)) {
8629
- var w, E;
8630
- const T = ((w = (E = A.flip) == null ? void 0 : E.index) != null ? w : 0) + 1, D = P[T];
8631
- if (D)
8632
- return { data: { index: T, overflows: O }, reset: { placement: D } };
8636
+ if (O = [...O, { placement: L, overflows: S }], !S.every((P) => P <= 0)) {
8637
+ var s, v;
8638
+ const P = ((s = (v = A.flip) == null ? void 0 : v.index) != null ? s : 0) + 1, E = w[P];
8639
+ if (E)
8640
+ return { data: { index: P, overflows: O }, reset: { placement: E } };
8633
8641
  let _ = "bottom";
8634
8642
  switch (r) {
8635
8643
  case "bestFit": {
@@ -8653,7 +8661,7 @@ function P1(H, V) {
8653
8661
  function T1(H) {
8654
8662
  return z1.some((V) => H[V] >= 0);
8655
8663
  }
8656
- const v5 = function(H) {
8664
+ const F5 = function(H) {
8657
8665
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8658
8666
  return { name: "hide", async fn(L) {
8659
8667
  const { rects: A } = L;
@@ -8670,36 +8678,36 @@ const v5 = function(H) {
8670
8678
  return {};
8671
8679
  }
8672
8680
  } };
8673
- }, F5 = function(H) {
8681
+ }, R5 = function(H) {
8674
8682
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8675
8683
  const { x: C, y: L } = V, A = await async function(M, i) {
8676
- const { placement: e, platform: d, elements: m } = M, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = A1(e), r = o1(e), n = i1(e) === "x", S = ["left", "top"].includes(l) ? -1 : 1, B = o && n ? -1 : 1, s = typeof i == "function" ? i(M) : i;
8677
- let { mainAxis: P, crossAxis: c, alignmentAxis: Z } = typeof s == "number" ? { mainAxis: s, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...s };
8678
- return r && typeof Z == "number" && (c = r === "end" ? -1 * Z : Z), n ? { x: c * B, y: P * S } : { x: P * S, y: c * B };
8684
+ const { placement: e, platform: d, elements: m } = M, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = A1(e), r = o1(e), n = i1(e) === "x", u = ["left", "top"].includes(l) ? -1 : 1, b = o && n ? -1 : 1, c = typeof i == "function" ? i(M) : i;
8685
+ let { mainAxis: w, crossAxis: T, alignmentAxis: S } = typeof c == "number" ? { mainAxis: c, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...c };
8686
+ return r && typeof S == "number" && (T = r === "end" ? -1 * S : S), n ? { x: T * b, y: w * u } : { x: w * u, y: T * b };
8679
8687
  }(V, H);
8680
8688
  return { x: C + A.x, y: L + A.y, data: A };
8681
8689
  } };
8682
8690
  };
8683
- function R5(H) {
8691
+ function x5(H) {
8684
8692
  return H === "x" ? "y" : "x";
8685
8693
  }
8686
- const x5 = function(H) {
8694
+ const D5 = function(H) {
8687
8695
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8688
- const { x: C, y: L, placement: A } = V, { mainAxis: M = !0, crossAxis: i = !1, limiter: e = { fn: (s) => {
8689
- let { x: P, y: c } = s;
8690
- return { x: P, y: c };
8691
- } }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(A)), r = R5(l);
8692
- let n = m[l], S = m[r];
8696
+ const { x: C, y: L, placement: A } = V, { mainAxis: M = !0, crossAxis: i = !1, limiter: e = { fn: (c) => {
8697
+ let { x: w, y: T } = c;
8698
+ return { x: w, y: T };
8699
+ } }, ...d } = H, m = { x: C, y: L }, o = await t1(V, d), l = i1(A1(A)), r = x5(l);
8700
+ let n = m[l], u = m[r];
8693
8701
  if (M) {
8694
- const s = l === "y" ? "bottom" : "right";
8695
- n = s1(n + o[l === "y" ? "top" : "left"], n, n - o[s]);
8702
+ const c = l === "y" ? "bottom" : "right";
8703
+ n = s1(n + o[l === "y" ? "top" : "left"], n, n - o[c]);
8696
8704
  }
8697
8705
  if (i) {
8698
- const s = r === "y" ? "bottom" : "right";
8699
- S = s1(S + o[r === "y" ? "top" : "left"], S, S - o[s]);
8706
+ const c = r === "y" ? "bottom" : "right";
8707
+ u = s1(u + o[r === "y" ? "top" : "left"], u, u - o[c]);
8700
8708
  }
8701
- const B = e.fn({ ...V, [l]: n, [r]: S });
8702
- return { ...B, data: { x: B.x - C, y: B.y - L } };
8709
+ const b = e.fn({ ...V, [l]: n, [r]: u });
8710
+ return { ...b, data: { x: b.x - C, y: b.y - L } };
8703
8711
  } };
8704
8712
  };
8705
8713
  function U1(H) {
@@ -8737,7 +8745,7 @@ function n1(H) {
8737
8745
  const { overflow: V, overflowX: C, overflowY: L, display: A } = I(H);
8738
8746
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(A);
8739
8747
  }
8740
- function D5(H) {
8748
+ function E5(H) {
8741
8749
  return ["table", "td", "th"].includes($(H));
8742
8750
  }
8743
8751
  function O1(H) {
@@ -8760,8 +8768,8 @@ function j(H, V, C) {
8760
8768
  const e = H.getBoundingClientRect();
8761
8769
  let d = 1, m = 1;
8762
8770
  V && Q(H) && (d = H.offsetWidth > 0 && l1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && l1(e.height) / H.offsetHeight || 1);
8763
- const o = X(H) ? G(H) : window, l = !K1() && C, r = (e.left + (l && (L = (A = o.visualViewport) == null ? void 0 : A.offsetLeft) != null ? L : 0)) / d, n = (e.top + (l && (M = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? M : 0)) / m, S = e.width / d, B = e.height / m;
8764
- return { width: S, height: B, top: n, right: r + S, bottom: n + B, left: r, x: r, y: n };
8771
+ const o = X(H) ? G(H) : window, l = !K1() && C, r = (e.left + (l && (L = (A = o.visualViewport) == null ? void 0 : A.offsetLeft) != null ? L : 0)) / d, n = (e.top + (l && (M = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? M : 0)) / m, u = e.width / d, b = e.height / m;
8772
+ return { width: u, height: b, top: n, right: r + u, bottom: n + b, left: r, x: r, y: n };
8765
8773
  }
8766
8774
  function U(H) {
8767
8775
  return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8773,7 +8781,7 @@ function r1(H) {
8773
8781
  function j1(H) {
8774
8782
  return j(U(H)).left + r1(H).scrollLeft;
8775
8783
  }
8776
- function E5(H, V, C) {
8784
+ function _5(H, V, C) {
8777
8785
  const L = Q(V), A = U(V), M = j(H, L && function(d) {
8778
8786
  const m = j(d);
8779
8787
  return l1(m.width) !== d.offsetWidth || l1(m.height) !== d.offsetHeight;
@@ -8800,7 +8808,7 @@ function R1(H) {
8800
8808
  function x1(H) {
8801
8809
  const V = G(H);
8802
8810
  let C = R1(H);
8803
- for (; C && D5(C) && I(C).position === "static"; )
8811
+ for (; C && E5(C) && I(C).position === "static"; )
8804
8812
  C = R1(C);
8805
8813
  return C && ($(C) === "html" || $(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8806
8814
  let A = M1(L);
@@ -8843,15 +8851,15 @@ function D1(H, V, C) {
8843
8851
  return I(e || M).direction === "rtl" && (o += L1(M.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8844
8852
  }(U(H)));
8845
8853
  }
8846
- const _5 = { getClippingRect: function(H) {
8854
+ const W5 = { getClippingRect: function(H) {
8847
8855
  let { element: V, boundary: C, rootBoundary: L, strategy: A } = H;
8848
8856
  const M = C === "clippingAncestors" ? function(m) {
8849
- let o = Y1(m).filter((S) => X(S) && $(S) !== "body"), l = null;
8857
+ let o = Y1(m).filter((u) => X(u) && $(u) !== "body"), l = null;
8850
8858
  const r = I(m).position === "fixed";
8851
8859
  let n = r ? M1(m) : m;
8852
8860
  for (; X(n) && !f1(n); ) {
8853
- const S = I(n), B = O1(n);
8854
- (r ? B || l : B || S.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = S : o = o.filter((s) => s !== n), n = M1(n);
8861
+ const u = I(n), b = O1(n);
8862
+ (r ? b || l : b || u.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = u : o = o.filter((c) => c !== n), n = M1(n);
8855
8863
  }
8856
8864
  return o;
8857
8865
  }(V) : [].concat(C), i = [...M, L], e = i[0], d = i.reduce((m, o) => {
@@ -8879,17 +8887,17 @@ const _5 = { getClippingRect: function(H) {
8879
8887
  }, getOffsetParent: x1, getDocumentElement: U, async getElementRects(H) {
8880
8888
  let { reference: V, floating: C, strategy: L } = H;
8881
8889
  const A = this.getOffsetParent || x1, M = this.getDimensions;
8882
- return { reference: E5(V, await A(C), L), floating: { x: 0, y: 0, ...await M(C) } };
8883
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, W5 = (H, V, C) => g5(H, V, { platform: _5, ...C });
8890
+ return { reference: _5(V, await A(C), L), floating: { x: 0, y: 0, ...await M(C) } };
8891
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => I(H).direction === "rtl" }, N5 = (H, V, C) => k5(H, V, { platform: W5, ...C });
8884
8892
  function S1({ value: H }, { value: V }, { value: C }, L, A, M) {
8885
- !H || !V || W5(H, V, {
8893
+ !H || !V || N5(H, V, {
8886
8894
  placement: L,
8887
8895
  middleware: [
8888
- F5(A),
8889
- x5({ padding: M }),
8890
- b5({ element: C }),
8891
- T5(),
8892
- v5()
8896
+ R5(A),
8897
+ D5({ padding: M }),
8898
+ y5({ element: C }),
8899
+ v5(),
8900
+ F5()
8893
8901
  ]
8894
8902
  }).then(({ x: i, y: e, placement: d, middlewareData: m }) => {
8895
8903
  if (Object.assign(V.style, {
@@ -8914,7 +8922,7 @@ function S1({ value: H }, { value: V }, { value: C }, L, A, M) {
8914
8922
  });
8915
8923
  }
8916
8924
  var X1 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(X1 || {}), z = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(z || {});
8917
- const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], I5 = ["innerHTML"], Q5 = /* @__PURE__ */ v({
8925
+ const I5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], Q5 = ["innerHTML"], G5 = /* @__PURE__ */ F({
8918
8926
  __name: "RTooltip",
8919
8927
  props: {
8920
8928
  placement: { default: X1.Top },
@@ -8936,13 +8944,13 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8936
8944
  emits: ["show", "hide"],
8937
8945
  setup(H, { emit: V }) {
8938
8946
  const C = H;
8939
- i2((s) => ({
8940
- "271323d4": p(B)
8947
+ e2((c) => ({
8948
+ "271323d4": p(b)
8941
8949
  }));
8942
- const L = x(null), A = x(null), M = x(null);
8950
+ const L = D(null), A = D(null), M = D(null);
8943
8951
  function i() {
8944
- const { placement: s, offset: P, padding: c, disabled: Z } = C;
8945
- Z || (A.value.style.display = "block", V("show"), S1(L, A, M, s, P, c), d(), C.outsideClick && m("add"));
8952
+ const { placement: c, offset: w, padding: T, disabled: S } = C;
8953
+ S || (A.value.style.display = "block", V("show"), S1(L, A, M, c, w, T), d(), C.outsideClick && m("add"));
8946
8954
  }
8947
8955
  function e() {
8948
8956
  A.value.style.display = "", V("hide"), C.outsideClick && m("remove");
@@ -8951,8 +8959,8 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8951
8959
  C.autoHide && setTimeout(() => {
8952
8960
  e();
8953
8961
  }, C.hideDelay);
8954
- }, m = (s) => {
8955
- s === "add" && document.addEventListener("click", e), s === "remove" && document.removeEventListener("click", e);
8962
+ }, m = (c) => {
8963
+ c === "add" && document.addEventListener("click", e), c === "remove" && document.removeEventListener("click", e);
8956
8964
  }, o = () => {
8957
8965
  C.disabled || C.triggers == z.Click && (A.value.style.display === "block" ? e() : i());
8958
8966
  }, l = () => {
@@ -8965,26 +8973,26 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8965
8973
  } else
8966
8974
  A.value.style.display !== "" && C.triggers === z.Hover && e();
8967
8975
  }, n = () => {
8968
- const { placement: s, offset: P, padding: c, disabled: Z } = C;
8969
- Z || C.triggers === z.Hover && S1(L, A, M, s, P, c);
8970
- }, S = k(() => ({
8976
+ const { placement: c, offset: w, padding: T, disabled: S } = C;
8977
+ S || C.triggers === z.Hover && S1(L, A, M, c, w, T);
8978
+ }, u = g(() => ({
8971
8979
  tooltip: !0,
8972
8980
  "tooltip--dark": C.dark,
8973
8981
  "tooltip--light": C.light
8974
8982
  }));
8975
8983
  window.onresize = () => {
8976
- const { placement: s, offset: P, padding: c, disabled: Z } = C;
8977
- Z || C.resizable && S1(L, A, M, s, P, c);
8978
- }, e2(
8984
+ const { placement: c, offset: w, padding: T, disabled: S } = C;
8985
+ S || C.resizable && S1(L, A, M, c, w, T);
8986
+ }, d2(
8979
8987
  () => {
8980
8988
  C.disabled || C.shown && C.triggers === z.Manual && i();
8981
8989
  },
8982
8990
  { flush: "post" }
8983
8991
  // this is important to avoid infinite loop & for fire on mounted
8984
8992
  );
8985
- const B = k(() => `${C.showDelay}ms`);
8986
- return (s, P) => (t(), a(K, null, [
8987
- u("div", {
8993
+ const b = g(() => `${C.showDelay}ms`);
8994
+ return (c, w) => (t(), a(K, null, [
8995
+ Z("div", {
8988
8996
  ref_key: "trigger",
8989
8997
  ref: L,
8990
8998
  "aria-disabled": C.disabled,
@@ -8994,21 +9002,21 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8994
9002
  onMouseleave: N(r, ["stop"]),
8995
9003
  onMousemove: N(n, ["stop"])
8996
9004
  }, [
8997
- b(s.$slots, "trigger", {}, void 0, !0),
8998
- s.$slots.trigger ? g("", !0) : (t(), a("div", {
9005
+ B(c.$slots, "trigger", {}, void 0, !0),
9006
+ c.$slots.trigger ? k("", !0) : (t(), a("div", {
8999
9007
  key: 0,
9000
9008
  innerHTML: C.triggerContent
9001
- }, null, 8, I5))
9002
- ], 40, N5),
9003
- u("div", {
9009
+ }, null, 8, Q5))
9010
+ ], 40, I5),
9011
+ Z("div", {
9004
9012
  id: "tooltip",
9005
9013
  ref_key: "tooltip",
9006
9014
  ref: A,
9007
- class: f(p(S)),
9015
+ class: f(p(u)),
9008
9016
  role: "tooltip"
9009
9017
  }, [
9010
- b(s.$slots, "content", {}, void 0, !0),
9011
- s.$slots.content ? g("", !0) : (t(), a("div", {
9018
+ B(c.$slots, "content", {}, void 0, !0),
9019
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9012
9020
  key: 0,
9013
9021
  class: f({
9014
9022
  tooltip__content: !0,
@@ -9016,7 +9024,7 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9016
9024
  "tooltip__content--light": C.light
9017
9025
  })
9018
9026
  }, y(C.text), 3)),
9019
- s.$slots.content ? g("", !0) : (t(), a("div", {
9027
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9020
9028
  key: 1,
9021
9029
  id: "arrow",
9022
9030
  ref_key: "arrowElement",
@@ -9031,15 +9039,15 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9031
9039
  ], 64));
9032
9040
  }
9033
9041
  });
9034
- const G5 = (H, V) => {
9042
+ const z5 = (H, V) => {
9035
9043
  const C = H.__vccOpts || H;
9036
9044
  for (const [L, A] of V)
9037
9045
  C[L] = A;
9038
9046
  return C;
9039
- }, g3 = /* @__PURE__ */ G5(Q5, [["__scopeId", "data-v-ee5f5651"]]), z5 = { class: "r-breadcrumb" }, U5 = {
9047
+ }, k3 = /* @__PURE__ */ z5(G5, [["__scopeId", "data-v-ee5f5651"]]), U5 = { class: "r-breadcrumb" }, $5 = {
9040
9048
  key: 0,
9041
9049
  class: "r-breadcrumb__title"
9042
- }, k3 = /* @__PURE__ */ v({
9050
+ }, B3 = /* @__PURE__ */ F({
9043
9051
  __name: "RBreadcrumb",
9044
9052
  props: {
9045
9053
  items: { default: () => [] },
@@ -9048,8 +9056,8 @@ const G5 = (H, V) => {
9048
9056
  setup(H) {
9049
9057
  const V = H;
9050
9058
  return (C, L) => {
9051
- const A = d2("router-link");
9052
- return t(), a("div", z5, [
9059
+ const A = t2("router-link");
9060
+ return t(), a("div", U5, [
9053
9061
  (t(!0), a(K, null, Y(V.items, (M, i) => (t(), a("div", {
9054
9062
  key: i,
9055
9063
  class: "r-breadcrumb__item"
@@ -9059,42 +9067,42 @@ const G5 = (H, V) => {
9059
9067
  to: M.to
9060
9068
  }, {
9061
9069
  default: _1(() => [
9062
- b(C.$slots, "item-icon", {}, () => [
9063
- M.icon ? (t(), R(F, {
9070
+ B(C.$slots, "item-icon", {}, () => [
9071
+ M.icon ? (t(), x(R, {
9064
9072
  key: 0,
9065
9073
  name: M.icon
9066
- }, null, 8, ["name"])) : g("", !0)
9074
+ }, null, 8, ["name"])) : k("", !0)
9067
9075
  ]),
9068
- M.onlyIcon ? g("", !0) : (t(), a("span", U5, y(M.title), 1))
9076
+ M.onlyIcon ? k("", !0) : (t(), a("span", $5, y(M.title), 1))
9069
9077
  ]),
9070
9078
  _: 2
9071
9079
  }, 1032, ["to"]),
9072
- b(C.$slots, "custom-seperator", {}, () => [
9073
- i !== H.items.length - 1 && V.seperator ? (t(), R(F, {
9080
+ B(C.$slots, "custom-seperator", {}, () => [
9081
+ i !== H.items.length - 1 && V.seperator ? (t(), x(R, {
9074
9082
  key: 0,
9075
9083
  class: "r-breadcrumb__separator",
9076
9084
  name: V.seperator
9077
- }, null, 8, ["name"])) : g("", !0)
9085
+ }, null, 8, ["name"])) : k("", !0)
9078
9086
  ])
9079
9087
  ]))), 128))
9080
9088
  ]);
9081
9089
  };
9082
9090
  }
9083
- }), $5 = { class: "r-pagination" }, K5 = { class: "r-pagination__page-info" }, j5 = { key: 0 }, q5 = { class: "r-pagination__page-info__current-page" }, Y5 = { class: "r-pagination__page-info__total-pages" }, X5 = { class: "r-pagination__paginator" }, J5 = ["disabled"], C3 = /* @__PURE__ */ u("path", {
9091
+ }), K5 = { class: "r-pagination" }, j5 = { class: "r-pagination__page-info" }, q5 = { key: 0 }, Y5 = { class: "r-pagination__page-info__current-page" }, X5 = { class: "r-pagination__page-info__total-pages" }, J5 = { class: "r-pagination__paginator" }, C3 = ["disabled"], H3 = /* @__PURE__ */ Z("path", {
9084
9092
  d: "M0 0h24v24H0z",
9085
9093
  fill: "none",
9086
9094
  stroke: "none"
9087
- }, null, -1), H3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), V3 = [
9088
- C3,
9089
- H3
9090
- ], L3 = ["max", "value"], M3 = ["disabled"], A3 = /* @__PURE__ */ u("path", {
9095
+ }, null, -1), V3 = /* @__PURE__ */ Z("path", { d: "M15 6l-6 6l6 6" }, null, -1), L3 = [
9096
+ H3,
9097
+ V3
9098
+ ], M3 = ["max", "value"], A3 = ["disabled"], i3 = /* @__PURE__ */ Z("path", {
9091
9099
  d: "M0 0h24v24H0z",
9092
9100
  fill: "none",
9093
9101
  stroke: "none"
9094
- }, null, -1), i3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), e3 = [
9095
- A3,
9096
- i3
9097
- ], d3 = { class: "r-pagination__paginator__total" }, B3 = /* @__PURE__ */ v({
9102
+ }, null, -1), e3 = /* @__PURE__ */ Z("path", { d: "M9 6l6 6l-6 6" }, null, -1), d3 = [
9103
+ i3,
9104
+ e3
9105
+ ], t3 = { class: "r-pagination__paginator__total" }, b3 = /* @__PURE__ */ F({
9098
9106
  __name: "RPagination",
9099
9107
  props: {
9100
9108
  page: { default: 1 },
@@ -9106,23 +9114,23 @@ const G5 = (H, V) => {
9106
9114
  },
9107
9115
  emits: ["update:page"],
9108
9116
  setup(H, { emit: V }) {
9109
- const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9117
+ const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9110
9118
  M < 1 || M > L.value || V("update:page", M);
9111
9119
  };
9112
- return (M, i) => (t(), a("div", $5, [
9113
- u("div", K5, [
9114
- H.slash ? g("", !0) : (t(), a("span", j5, y(C.pageText), 1)),
9115
- u("span", q5, y(C.page), 1),
9116
- u("span", null, y(H.slash ? "/" : C.ofText), 1),
9117
- u("span", Y5, y(p(L)), 1)
9120
+ return (M, i) => (t(), a("div", K5, [
9121
+ Z("div", j5, [
9122
+ H.slash ? k("", !0) : (t(), a("span", q5, y(C.pageText), 1)),
9123
+ Z("span", Y5, y(C.page), 1),
9124
+ Z("span", null, y(H.slash ? "/" : C.ofText), 1),
9125
+ Z("span", X5, y(p(L)), 1)
9118
9126
  ]),
9119
- u("div", X5, [
9120
- u("button", {
9127
+ Z("div", J5, [
9128
+ Z("button", {
9121
9129
  class: "r-pagination__paginator__prev",
9122
9130
  disabled: C.page === 1,
9123
9131
  onClick: i[0] || (i[0] = (e) => A(+C.page - 1))
9124
9132
  }, [
9125
- b(M.$slots, "prev", {}, () => [
9133
+ B(M.$slots, "prev", {}, () => [
9126
9134
  (t(), a("svg", {
9127
9135
  class: f({ "stroke-gray-400": C.page === 1 }),
9128
9136
  fill: "none",
@@ -9134,10 +9142,10 @@ const G5 = (H, V) => {
9134
9142
  viewBox: "0 0 24 24",
9135
9143
  width: "16",
9136
9144
  xmlns: "http://www.w3.org/2000/svg"
9137
- }, V3, 2))
9145
+ }, L3, 2))
9138
9146
  ])
9139
- ], 8, J5),
9140
- u("input", {
9147
+ ], 8, C3),
9148
+ Z("input", {
9141
9149
  class: "r-pagination__paginator__input",
9142
9150
  max: p(L),
9143
9151
  min: "1",
@@ -9147,13 +9155,13 @@ const G5 = (H, V) => {
9147
9155
  var d;
9148
9156
  return A(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9149
9157
  })
9150
- }, null, 40, L3),
9151
- u("button", {
9158
+ }, null, 40, M3),
9159
+ Z("button", {
9152
9160
  class: "r-pagination__paginator__next",
9153
9161
  disabled: C.page === p(L),
9154
9162
  onClick: i[2] || (i[2] = (e) => A(+C.page + 1))
9155
9163
  }, [
9156
- b(M.$slots, "next", {}, () => [
9164
+ B(M.$slots, "next", {}, () => [
9157
9165
  (t(), a("svg", {
9158
9166
  class: f({ "stroke-gray-400": C.page === p(L) }),
9159
9167
  fill: "none",
@@ -9165,14 +9173,14 @@ const G5 = (H, V) => {
9165
9173
  viewBox: "0 0 24 24",
9166
9174
  width: "16",
9167
9175
  xmlns: "http://www.w3.org/2000/svg"
9168
- }, e3, 2))
9176
+ }, d3, 2))
9169
9177
  ])
9170
- ], 8, M3),
9171
- u("div", d3, "/ " + y(p(L)), 1)
9178
+ ], 8, A3),
9179
+ Z("div", t3, "/ " + y(p(L)), 1)
9172
9180
  ])
9173
9181
  ]));
9174
9182
  }
9175
- }), t3 = ["value"], b3 = /* @__PURE__ */ v({
9183
+ }), m3 = ["value"], y3 = /* @__PURE__ */ F({
9176
9184
  __name: "RProgressbar",
9177
9185
  props: {
9178
9186
  value: { default: 0 },
@@ -9187,9 +9195,9 @@ const G5 = (H, V) => {
9187
9195
  role: "progressbar",
9188
9196
  style: p1({ height: V.height + "px" }),
9189
9197
  value: V.value
9190
- }, null, 12, t3));
9198
+ }, null, 12, m3));
9191
9199
  }
9192
- }), y3 = /* @__PURE__ */ v({
9200
+ }), w3 = /* @__PURE__ */ F({
9193
9201
  __name: "RItemGroup",
9194
9202
  props: {
9195
9203
  modelValue: { default: () => [] },
@@ -9202,16 +9210,16 @@ const G5 = (H, V) => {
9202
9210
  },
9203
9211
  emits: ["update:modelValue"],
9204
9212
  setup(H, { emit: V }) {
9205
- const C = H, L = "rocket-ui:r-item-group", A = x(C.as ?? "div"), M = x(C.modelValue ?? []), i = k(() => C.selectedClass);
9213
+ const C = H, L = "rocket-ui:r-item-group", A = D(C.as ?? "div"), M = D(C.modelValue ?? []), i = g(() => C.selectedClass);
9206
9214
  a1(`${L}:selectedClass`, i.value);
9207
9215
  const e = (m) => M.value.includes(m);
9208
9216
  a1(`${L}:isSelected`, e);
9209
9217
  const d = (m, o) => {
9210
9218
  C.disabled || C.mandatory && M.value.length === 1 && o || C.max && M.value.length === C.max && o || (C.multiple ? o ? M.value.push(m) : M.value = M.value.filter((l) => l !== m) : M.value = o ? [m] : [], V("update:modelValue", M.value));
9211
9219
  };
9212
- return a1(`${L}:select`, d), (m, o) => (t(), R(t2(A.value), null, {
9220
+ return a1(`${L}:select`, d), (m, o) => (t(), x(m2(A.value), null, {
9213
9221
  default: _1(() => [
9214
- b(m.$slots, "default", {
9222
+ B(m.$slots, "default", {
9215
9223
  isSelected: e,
9216
9224
  select: d,
9217
9225
  selected: M.value
@@ -9220,7 +9228,7 @@ const G5 = (H, V) => {
9220
9228
  _: 3
9221
9229
  }));
9222
9230
  }
9223
- }), w3 = /* @__PURE__ */ v({
9231
+ }), P3 = /* @__PURE__ */ F({
9224
9232
  __name: "RItem",
9225
9233
  props: {
9226
9234
  value: { default: null },
@@ -9228,12 +9236,12 @@ const G5 = (H, V) => {
9228
9236
  selectedClass: { default: "" }
9229
9237
  },
9230
9238
  setup(H) {
9231
- const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), A = Z1(`${C}:selectedClass`, ""), M = k(() => L(V.value) && [A, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9239
+ const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), A = Z1(`${C}:selectedClass`, ""), M = g(() => L(V.value) && [A, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9232
9240
  V.disabled || i(V.value, !L(V.value));
9233
9241
  }, d = () => {
9234
9242
  V.disabled || i(V.value, !0);
9235
9243
  };
9236
- return (m, o) => b(m.$slots, "default", {
9244
+ return (m, o) => B(m.$slots, "default", {
9237
9245
  disabled: V.disabled,
9238
9246
  isSelected: p(L)(V.value),
9239
9247
  select: d,
@@ -9244,28 +9252,28 @@ const G5 = (H, V) => {
9244
9252
  }
9245
9253
  });
9246
9254
  export {
9247
- l3 as RAccordion,
9248
- o3 as RAlert,
9249
- n3 as RAvatar,
9250
- r3 as RBadge,
9251
- k3 as RBreadcrumb,
9252
- a3 as RButton,
9253
- Z3 as RCheckbox,
9254
- x2 as RChip,
9255
- u3 as RDropdown,
9256
- F as RIcon,
9257
- w3 as RItem,
9258
- y3 as RItemGroup,
9255
+ o3 as RAccordion,
9256
+ n3 as RAlert,
9257
+ r3 as RAvatar,
9258
+ a3 as RBadge,
9259
+ B3 as RBreadcrumb,
9260
+ Z3 as RButton,
9261
+ u3 as RCheckbox,
9262
+ D2 as RChip,
9263
+ S3 as RDropdown,
9264
+ R as RIcon,
9265
+ P3 as RItem,
9266
+ w3 as RItemGroup,
9259
9267
  Q1 as RLabel,
9260
- S3 as RModal,
9261
- B3 as RPagination,
9262
- b3 as RProgressbar,
9263
- c3 as RSidebar,
9264
- s3 as RSnackbar,
9265
- O3 as RSwitch,
9266
- a5 as RTabItem,
9267
- p3 as RTabs,
9268
- h3 as RTextArea,
9269
- f3 as RTextfield,
9270
- g3 as RTooltip
9268
+ c3 as RModal,
9269
+ b3 as RPagination,
9270
+ y3 as RProgressbar,
9271
+ s3 as RSidebar,
9272
+ O3 as RSnackbar,
9273
+ p3 as RSwitch,
9274
+ Z5 as RTabItem,
9275
+ h3 as RTabs,
9276
+ f3 as RTextArea,
9277
+ g3 as RTextfield,
9278
+ k3 as RTooltip
9271
9279
  };