@rocketui/vue 0.0.43 → 0.0.45

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 r, createElementVNode as u, unref as h, reactive as i1, Fragment as C1, renderList as L1, normalizeClass as f, renderSlot as w, toDisplayString as b, createVNode as V1, computed as B, createCommentVNode as g, mergeProps as n2, withModifiers as G, createBlock as x, watch as Q, getCurrentScope as r2, onScopeDispose as a2, ref as D, onMounted as z1, withDirectives as U1, withKeys as v1, vModelText as Z2, normalizeStyle as $1, vShow as u2, withCtx as K1, createTextVNode as j1, useCssVars as S2, watchEffect as c2, resolveComponent as s2 } from "vue";
2
- const O2 = {
1
+ import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as u, unref as p, reactive as i1, Fragment as C1, renderList as L1, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as V1, computed as B, createCommentVNode as g, mergeProps as a2, withModifiers as G, createBlock as R, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as D, onMounted as j1, withDirectives as q1, withKeys as D1, vModelText as S2, normalizeStyle as T1, vShow as c2, withCtx as v1, createTextVNode as Y1, useCssVars as s2, watchEffect as O2, resolveComponent as p2, provide as h1, resolveDynamicComponent as h2, inject as f1 } from "vue";
2
+ const f2 = {
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 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
- }, p2 = ["width", "height", "viewBox"], h2 = ["d"], R = /* @__PURE__ */ v({
7299
+ }, g2 = ["width", "height", "viewBox"], k2 = ["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) => (t(), r("svg", {
7308
+ return (C, L) => (t(), a("svg", {
7309
7309
  class: "r-icon",
7310
7310
  width: V.size,
7311
7311
  height: V.size,
7312
7312
  viewBox: V.viewBox
7313
7313
  }, [
7314
7314
  u("path", {
7315
- d: h(O2)[V.name]
7316
- }, null, 8, h2)
7317
- ], 8, p2));
7315
+ d: p(f2)[V.name]
7316
+ }, null, 8, k2)
7317
+ ], 8, g2));
7318
7318
  }
7319
7319
  });
7320
- const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title" }, B2 = { class: "r-accordion__icon" }, b2 = { class: "r-accordion__content" }, g3 = /* @__PURE__ */ v({
7320
+ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title" }, w2 = { class: "r-accordion__icon" }, P2 = { class: "r-accordion__content" }, y3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7336,7 +7336,7 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7336
7336
  C[A].open = A === M ? !C[A].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (M, i) => (t(!0), r(C1, null, L1(C, (A, e) => (t(), r("div", {
7339
+ return (M, i) => (t(!0), a(C1, null, L1(C, (A, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: f({
7342
7342
  "r-accordion": !0,
@@ -7348,27 +7348,27 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7348
7348
  class: "r-accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
- w(M.$slots, "title", {}, () => [
7352
- u("div", k2, b(A.title), 1)
7351
+ b(M.$slots, "title", {}, () => [
7352
+ u("div", y2, y(A.title), 1)
7353
7353
  ]),
7354
- u("div", B2, [
7355
- V1(R, { name: "mdiChevronUp" })
7354
+ u("div", w2, [
7355
+ V1(x, { name: "mdiChevronUp" })
7356
7356
  ])
7357
- ], 8, g2),
7358
- u("div", b2, [
7359
- w(M.$slots, "content", {}, () => [
7360
- u("span", null, b(A.content), 1)
7357
+ ], 8, b2),
7358
+ u("div", P2, [
7359
+ b(M.$slots, "content", {}, () => [
7360
+ u("span", null, y(A.content), 1)
7361
7361
  ])
7362
7362
  ])
7363
- ], 10, f2))), 128));
7363
+ ], 10, B2))), 128));
7364
7364
  }
7365
- }), w2 = { class: "r-alert__icon" }, y2 = { class: "r-alert__content" }, P2 = { class: "r-alert__content__title" }, T2 = {
7365
+ }), T2 = { class: "r-alert__icon" }, v2 = { class: "r-alert__content" }, F2 = { class: "r-alert__content__title" }, R2 = {
7366
7366
  key: 0,
7367
7367
  class: "r-alert__content__description"
7368
- }, v2 = {
7368
+ }, x2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, k3 = /* @__PURE__ */ v({
7371
+ }, w3 = /* @__PURE__ */ v({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7393,26 +7393,26 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7393
7393
  })[C.type]), i = () => {
7394
7394
  V("close");
7395
7395
  };
7396
- return (A, e) => (t(), r("div", {
7397
- class: f(h(L))
7396
+ return (A, e) => (t(), a("div", {
7397
+ class: f(p(L))
7398
7398
  }, [
7399
- u("div", w2, [
7400
- w(A.$slots, "alert-icon", {}, () => [
7401
- V1(R, {
7402
- name: h(M),
7399
+ u("div", T2, [
7400
+ b(A.$slots, "alert-icon", {}, () => [
7401
+ V1(x, {
7402
+ name: p(M),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
- u("div", y2, [
7408
- w(A.$slots, "content", {}, () => [
7409
- u("p", P2, b(C.title), 1),
7410
- C.description ? (t(), r("p", T2, b(C.description), 1)) : g("", !0)
7407
+ u("div", v2, [
7408
+ b(A.$slots, "content", {}, () => [
7409
+ u("p", F2, y(C.title), 1),
7410
+ C.description ? (t(), a("p", R2, y(C.description), 1)) : g("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
- C.closable ? (t(), r("div", v2, [
7414
- w(A.$slots, "custom-close", {}, () => [
7415
- V1(R, {
7413
+ C.closable ? (t(), a("div", x2, [
7414
+ b(A.$slots, "custom-close", {}, () => [
7415
+ V1(x, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
@@ -7422,11 +7422,11 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7422
7422
  ])) : g("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), F1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", F2 = { class: "avatar__wrapper" }, R2 = ["alt", "src"], B3 = /* @__PURE__ */ v({
7425
+ }), E1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", D2 = { class: "avatar__wrapper" }, E2 = ["alt", "src"], P3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
7429
- src: { default: F1 },
7429
+ src: { default: E1 },
7430
7430
  alt: { default: "Avatar" },
7431
7431
  size: { default: "2xl" },
7432
7432
  online: { type: Boolean, default: !1 },
@@ -7436,35 +7436,35 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7436
7436
  const V = H, C = B(() => ({
7437
7437
  avatar: !0,
7438
7438
  [`avatar--${V.size}`]: !0
7439
- })), L = B(() => V.type === "image" && !V.src), M = B(() => L.value ? F1 : V.src), i = (A) => {
7439
+ })), L = B(() => V.type === "image" && !V.src), M = B(() => L.value ? E1 : V.src), i = (A) => {
7440
7440
  const e = A.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
7443
- return (A, e) => (t(), r("div", F2, [
7443
+ return (A, e) => (t(), a("div", D2, [
7444
7444
  u("div", {
7445
- class: f(h(C))
7445
+ class: f(p(C))
7446
7446
  }, [
7447
- V.type === "text" ? (t(), r("p", {
7447
+ V.type === "text" ? (t(), a("p", {
7448
7448
  key: 0,
7449
7449
  class: f({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7450
- }, b(i(V.text)), 3)) : (t(), r("img", {
7450
+ }, y(i(V.text)), 3)) : (t(), a("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
7453
  class: f({
7454
7454
  avatar__image: !0,
7455
7455
  [`avatar__image--${V.size}`]: !0,
7456
- "avatar__image--anonymous": h(L)
7456
+ "avatar__image--anonymous": p(L)
7457
7457
  }),
7458
- src: h(M)
7459
- }, null, 10, R2))
7458
+ src: p(M)
7459
+ }, null, 10, E2))
7460
7460
  ], 2),
7461
- V.online ? (t(), r("span", {
7461
+ V.online ? (t(), a("span", {
7462
7462
  key: 0,
7463
7463
  class: f({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7464
7464
  }, null, 2)) : g("", !0)
7465
7465
  ]));
7466
7466
  }
7467
- }), x2 = { class: "badge-wrapper group" }, b3 = /* @__PURE__ */ v({
7467
+ }), _2 = { class: "badge-wrapper group" }, T3 = /* @__PURE__ */ v({
7468
7468
  __name: "RBadge",
7469
7469
  props: {
7470
7470
  variant: { default: "primary" },
@@ -7486,15 +7486,15 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7486
7486
  "badge--no-content": !V.content,
7487
7487
  [`badge--${V.variant}`]: V.variant
7488
7488
  }));
7489
- return (L, M) => (t(), r("div", x2, [
7489
+ return (L, M) => (t(), a("div", _2, [
7490
7490
  u("span", {
7491
- class: f(h(C)),
7491
+ class: f(p(C)),
7492
7492
  onClick: M[0] || (M[0] = (i) => L.$emit("click"))
7493
- }, b(V.content), 3),
7494
- w(L.$slots, "default")
7493
+ }, y(V.content), 3),
7494
+ b(L.$slots, "default")
7495
7495
  ]));
7496
7496
  }
7497
- }), D2 = ["disabled"], E2 = /* @__PURE__ */ v({
7497
+ }), W2 = ["disabled"], N2 = /* @__PURE__ */ v({
7498
7498
  __name: "RButton",
7499
7499
  props: {
7500
7500
  variant: { default: "primary" },
@@ -7530,38 +7530,38 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7530
7530
  color: e
7531
7531
  };
7532
7532
  });
7533
- return (i, A) => (t(), r("button", n2(i.$attrs, {
7534
- class: h(C),
7533
+ return (i, A) => (t(), a("button", a2(i.$attrs, {
7534
+ class: p(C),
7535
7535
  disabled: H.disabled || H.loading,
7536
- style: h(M),
7536
+ style: p(M),
7537
7537
  onClick: A[0] || (A[0] = G((e) => i.$emit("click"), ["stop"]))
7538
7538
  }), [
7539
- w(i.$slots, "custom-icon"),
7540
- !i.$slots["custom-icon"] && V.prependIcon ? (t(), x(R, {
7539
+ b(i.$slots, "custom-icon"),
7540
+ !i.$slots["custom-icon"] && V.prependIcon ? (t(), R(x, {
7541
7541
  key: 0,
7542
7542
  class: f({
7543
7543
  "button__prepend-icon": !0,
7544
7544
  "button__prepend-icon--only": V.onlyIcon
7545
7545
  }),
7546
7546
  name: V.prependIcon,
7547
- size: h(L)
7547
+ size: p(L)
7548
7548
  }, null, 8, ["class", "name", "size"])) : g("", !0),
7549
- V.onlyIcon ? g("", !0) : w(i.$slots, "default", { key: 1 }),
7550
- !i.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7549
+ V.onlyIcon ? g("", !0) : b(i.$slots, "default", { key: 1 }),
7550
+ !i.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), R(x, {
7551
7551
  key: 2,
7552
7552
  class: "button__append-icon",
7553
7553
  name: V.appendIcon,
7554
- size: h(L)
7554
+ size: p(L)
7555
7555
  }, null, 8, ["name", "size"])) : g("", !0)
7556
- ], 16, D2));
7556
+ ], 16, W2));
7557
7557
  }
7558
- }), _2 = { class: "checkbox-wrapper" }, W2 = { class: "checkbox-container" }, N2 = ["id", "checked", "disabled", "indeterminate"], I2 = ["data-disabled"], Q2 = { class: "checkbox-texts" }, G2 = ["data-disabled", "for"], z2 = {
7558
+ }), I2 = { class: "checkbox-wrapper" }, Q2 = { class: "checkbox-container" }, G2 = ["id", "checked", "disabled", "indeterminate"], z2 = ["data-disabled"], U2 = { class: "checkbox-texts" }, $2 = ["data-disabled", "for"], K2 = {
7559
7559
  key: 0,
7560
7560
  class: "checkbox-texts__error"
7561
- }, U2 = {
7561
+ }, j2 = {
7562
7562
  key: 1,
7563
7563
  class: "checkbox-texts__hint"
7564
- }, w3 = /* @__PURE__ */ v({
7564
+ }, v3 = /* @__PURE__ */ v({
7565
7565
  __name: "RCheckbox",
7566
7566
  props: {
7567
7567
  id: { default: "" },
@@ -7610,8 +7610,8 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7610
7610
  // TODO: find a better way to do this
7611
7611
  immediate: !0
7612
7612
  }
7613
- ), (d, l) => (t(), r("div", _2, [
7614
- u("div", W2, [
7613
+ ), (d, m) => (t(), a("div", I2, [
7614
+ u("div", Q2, [
7615
7615
  u("input", {
7616
7616
  id: C.id,
7617
7617
  checked: L.checked,
@@ -7620,28 +7620,28 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7620
7620
  indeterminate: L.indeterminate,
7621
7621
  type: "checkbox",
7622
7622
  onChange: e
7623
- }, null, 40, N2),
7623
+ }, null, 40, G2),
7624
7624
  u("div", {
7625
- class: f(h(A)),
7625
+ class: f(p(A)),
7626
7626
  "data-disabled": C.disabled
7627
7627
  }, [
7628
- V1(R, {
7629
- name: h(i),
7628
+ V1(x, {
7629
+ name: p(i),
7630
7630
  size: 24
7631
7631
  }, null, 8, ["name"])
7632
- ], 10, I2)
7632
+ ], 10, z2)
7633
7633
  ]),
7634
- u("div", Q2, [
7634
+ u("div", U2, [
7635
7635
  u("label", {
7636
7636
  class: "checkbox-texts__label",
7637
7637
  "data-disabled": C.disabled,
7638
7638
  for: C.id
7639
- }, b(C.label), 9, G2),
7640
- C.errorMsg ? (t(), r("p", z2, b(C.errorMsg), 1)) : (t(), r("p", U2, b(C.hint), 1))
7639
+ }, y(C.label), 9, $2),
7640
+ C.errorMsg ? (t(), a("p", K2, y(C.errorMsg), 1)) : (t(), a("p", j2, y(C.hint), 1))
7641
7641
  ])
7642
7642
  ]));
7643
7643
  }
7644
- }), $2 = { class: "chip__content__label" }, K2 = /* @__PURE__ */ v({
7644
+ }), q2 = { class: "chip__content__label" }, Y2 = /* @__PURE__ */ v({
7645
7645
  __name: "RChip",
7646
7646
  props: {
7647
7647
  variant: { default: "primary" },
@@ -7664,15 +7664,15 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7664
7664
  }, i = (A) => {
7665
7665
  C.disabled || !C.closable || (A.stopPropagation(), V("click:close", A));
7666
7666
  };
7667
- return (A, e) => (t(), r("div", {
7668
- class: f(h(L))
7667
+ return (A, e) => (t(), a("div", {
7668
+ class: f(p(L))
7669
7669
  }, [
7670
7670
  u("div", {
7671
7671
  class: "chip__content",
7672
7672
  onClick: e[0] || (e[0] = (d) => M(d))
7673
7673
  }, [
7674
- w(A.$slots, "prepend", {}, () => [
7675
- C.prependIcon ? (t(), x(R, {
7674
+ b(A.$slots, "prepend", {}, () => [
7675
+ C.prependIcon ? (t(), R(x, {
7676
7676
  key: 0,
7677
7677
  class: "chip__content__prepend-icon",
7678
7678
  "aria-disabled": C.disabled,
@@ -7680,10 +7680,10 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7680
7680
  size: 12
7681
7681
  }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7682
7682
  ]),
7683
- u("span", $2, b(C.label), 1)
7683
+ u("span", q2, y(C.label), 1)
7684
7684
  ]),
7685
- w(A.$slots, "append", {}, () => [
7686
- C.appendIcon ? (t(), x(R, {
7685
+ b(A.$slots, "append", {}, () => [
7686
+ C.appendIcon ? (t(), R(x, {
7687
7687
  key: 0,
7688
7688
  class: "chip__content__append-icon",
7689
7689
  "aria-disabled": C.disabled,
@@ -7695,93 +7695,93 @@ const f2 = ["data-state"], g2 = ["onClick"], k2 = { class: "r-accordion__title"
7695
7695
  ], 2));
7696
7696
  }
7697
7697
  });
7698
- function j2(H) {
7699
- return r2() ? (a2(H), !0) : !1;
7698
+ function X2(H) {
7699
+ return Z2() ? (u2(H), !0) : !1;
7700
7700
  }
7701
- function q1(H) {
7702
- return typeof H == "function" ? H() : h(H);
7701
+ function X1(H) {
7702
+ return typeof H == "function" ? H() : p(H);
7703
7703
  }
7704
- const Y1 = typeof window < "u" && typeof document < "u", q2 = Object.prototype.toString, Y2 = (H) => q2.call(H) === "[object Object]", g1 = () => {
7705
- }, X2 = /* @__PURE__ */ J2();
7706
- function J2() {
7704
+ const J1 = typeof window < "u" && typeof document < "u", J2 = Object.prototype.toString, C5 = (H) => J2.call(H) === "[object Object]", B1 = () => {
7705
+ }, H5 = /* @__PURE__ */ V5();
7706
+ function V5() {
7707
7707
  var H;
7708
- return Y1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7708
+ return J1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7709
7709
  }
7710
7710
  function d1(H) {
7711
7711
  var V;
7712
- const C = q1(H);
7712
+ const C = X1(H);
7713
7713
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7714
7714
  }
7715
- const X1 = Y1 ? window : void 0;
7716
- function h1(...H) {
7715
+ const C2 = J1 ? window : void 0;
7716
+ function g1(...H) {
7717
7717
  let V, C, L, M;
7718
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = X1) : [V, C, L, M] = H, !V)
7719
- return g1;
7718
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = C2) : [V, C, L, M] = H, !V)
7719
+ return B1;
7720
7720
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7721
7721
  const i = [], A = () => {
7722
- i.forEach((a) => a()), i.length = 0;
7723
- }, e = (a, m, n, o) => (a.addEventListener(m, n, o), () => a.removeEventListener(m, n, o)), d = Q(
7724
- () => [d1(V), q1(M)],
7725
- ([a, m]) => {
7726
- if (A(), !a)
7722
+ i.forEach((o) => o()), i.length = 0;
7723
+ }, e = (o, l, r, n) => (o.addEventListener(l, r, n), () => o.removeEventListener(l, r, n)), d = Q(
7724
+ () => [d1(V), X1(M)],
7725
+ ([o, l]) => {
7726
+ if (A(), !o)
7727
7727
  return;
7728
- const n = Y2(m) ? { ...m } : m;
7728
+ const r = C5(l) ? { ...l } : l;
7729
7729
  i.push(
7730
- ...C.flatMap((o) => L.map((S) => e(a, o, S, n)))
7730
+ ...C.flatMap((n) => L.map((S) => e(o, n, S, r)))
7731
7731
  );
7732
7732
  },
7733
7733
  { immediate: !0, flush: "post" }
7734
- ), l = () => {
7734
+ ), m = () => {
7735
7735
  d(), A();
7736
7736
  };
7737
- return j2(l), l;
7737
+ return X2(m), m;
7738
7738
  }
7739
- let R1 = !1;
7740
- function C5(H, V, C = {}) {
7741
- const { window: L = X1, ignore: M = [], capture: i = !0, detectIframe: A = !1 } = C;
7739
+ let _1 = !1;
7740
+ function L5(H, V, C = {}) {
7741
+ const { window: L = C2, ignore: M = [], capture: i = !0, detectIframe: A = !1 } = C;
7742
7742
  if (!L)
7743
7743
  return;
7744
- X2 && !R1 && (R1 = !0, Array.from(L.document.body.children).forEach((n) => n.addEventListener("click", g1)), L.document.documentElement.addEventListener("click", g1));
7744
+ H5 && !_1 && (_1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", B1)), L.document.documentElement.addEventListener("click", B1));
7745
7745
  let e = !0;
7746
- const d = (n) => M.some((o) => {
7747
- if (typeof o == "string")
7748
- return Array.from(L.document.querySelectorAll(o)).some((S) => S === n.target || n.composedPath().includes(S));
7746
+ const d = (r) => M.some((n) => {
7747
+ if (typeof n == "string")
7748
+ return Array.from(L.document.querySelectorAll(n)).some((S) => S === r.target || r.composedPath().includes(S));
7749
7749
  {
7750
- const S = d1(o);
7751
- return S && (n.target === S || n.composedPath().includes(S));
7750
+ const S = d1(n);
7751
+ return S && (r.target === S || r.composedPath().includes(S));
7752
7752
  }
7753
- }), a = [
7754
- h1(L, "click", (n) => {
7755
- const o = d1(H);
7756
- if (!(!o || o === n.target || n.composedPath().includes(o))) {
7757
- if (n.detail === 0 && (e = !d(n)), !e) {
7753
+ }), o = [
7754
+ g1(L, "click", (r) => {
7755
+ const n = d1(H);
7756
+ if (!(!n || n === r.target || r.composedPath().includes(n))) {
7757
+ if (r.detail === 0 && (e = !d(r)), !e) {
7758
7758
  e = !0;
7759
7759
  return;
7760
7760
  }
7761
- V(n);
7761
+ V(r);
7762
7762
  }
7763
7763
  }, { passive: !0, capture: i }),
7764
- h1(L, "pointerdown", (n) => {
7765
- const o = d1(H);
7766
- o && (e = !n.composedPath().includes(o) && !d(n));
7764
+ g1(L, "pointerdown", (r) => {
7765
+ const n = d1(H);
7766
+ n && (e = !r.composedPath().includes(n) && !d(r));
7767
7767
  }, { passive: !0 }),
7768
- A && h1(L, "blur", (n) => {
7768
+ A && g1(L, "blur", (r) => {
7769
7769
  setTimeout(() => {
7770
- var o;
7770
+ var n;
7771
7771
  const S = d1(H);
7772
- ((o = L.document.activeElement) == null ? void 0 : o.tagName) === "IFRAME" && !(S != null && S.contains(L.document.activeElement)) && V(n);
7772
+ ((n = L.document.activeElement) == null ? void 0 : n.tagName) === "IFRAME" && !(S != null && S.contains(L.document.activeElement)) && V(r);
7773
7773
  }, 0);
7774
7774
  })
7775
7775
  ].filter(Boolean);
7776
- return () => a.forEach((n) => n());
7776
+ return () => o.forEach((r) => r());
7777
7777
  }
7778
- const H5 = {
7778
+ const M5 = {
7779
7779
  key: 1,
7780
7780
  class: "dropdown__tags"
7781
- }, V5 = {
7781
+ }, A5 = {
7782
7782
  key: 2,
7783
7783
  class: "dropdown__multiple"
7784
- }, L5 = ["id", "disabled", "placeholder", "readonly"], M5 = ["aria-disabled", "onClick"], A5 = { style: { display: "flex", "align-items": "center" } }, y3 = /* @__PURE__ */ v({
7784
+ }, i5 = ["id", "disabled", "placeholder", "readonly"], e5 = ["aria-disabled", "onClick"], d5 = { style: { display: "flex", "align-items": "center" } }, F3 = /* @__PURE__ */ v({
7785
7785
  __name: "RDropdown",
7786
7786
  props: {
7787
7787
  options: { default: () => [] },
@@ -7799,55 +7799,55 @@ const H5 = {
7799
7799
  },
7800
7800
  emits: ["update:modelValue"],
7801
7801
  setup(H, { emit: V }) {
7802
- const C = H, L = D(""), M = i1([]), i = D(!1), A = D(""), e = D(null), d = D(null), l = D(null), a = (c) => {
7803
- var Z, O, y;
7802
+ const C = H, L = D(""), M = i1([]), i = D(!1), A = D(""), e = D(null), d = D(null), m = D(null), o = (c) => {
7803
+ var Z, O, w;
7804
7804
  if (!C.disabled) {
7805
7805
  if (c.stopPropagation(), i.value = !i.value, i.value) {
7806
- (Z = e.value) == null || Z.classList.add("dropdown--active"), (O = e.value) == null || O.focus(), C.searchable && ((y = d.value) == null || y.focus());
7806
+ (Z = e.value) == null || Z.classList.add("dropdown--active"), (O = e.value) == null || O.focus(), C.searchable && ((w = d.value) == null || w.focus());
7807
7807
  return;
7808
7808
  }
7809
- m();
7809
+ l();
7810
7810
  }
7811
- }, m = () => {
7811
+ }, l = () => {
7812
7812
  var c, Z, O;
7813
7813
  i.value = !1, (c = e.value) == null || c.classList.remove("dropdown--active"), (Z = e.value) == null || Z.blur(), (O = d.value) == null || O.blur();
7814
- }, n = (c, Z) => {
7814
+ }, r = (c, Z) => {
7815
7815
  var O;
7816
7816
  if (C.multiple || C.taggable) {
7817
- c.stopPropagation(), M.find((y) => y.value === Z.value) ? M.splice(M.indexOf(Z), 1) : M.push(Z), A.value = "", C.searchable && ((O = d.value) == null || O.focus());
7817
+ c.stopPropagation(), M.find((w) => w.value === Z.value) ? M.splice(M.indexOf(Z), 1) : M.push(Z), A.value = "", C.searchable && ((O = d.value) == null || O.focus());
7818
7818
  return;
7819
7819
  }
7820
- o(c, Z);
7821
- }, o = (c, Z) => {
7820
+ n(c, Z);
7821
+ }, n = (c, Z) => {
7822
7822
  if (L.value === Z.value) {
7823
7823
  L.value = "", A.value = "";
7824
7824
  return;
7825
7825
  }
7826
- A.value = Z.label, L.value = Z.value, a(c), V("update:modelValue", Z);
7826
+ A.value = Z.label, L.value = Z.value, o(c), V("update:modelValue", Z);
7827
7827
  }, S = (c, Z) => {
7828
7828
  if (c instanceof KeyboardEvent && c.key !== "Backspace" || A.value !== "")
7829
7829
  return;
7830
7830
  c.stopPropagation();
7831
- const O = M.findIndex((y) => y.value === Z.value);
7831
+ const O = M.findIndex((w) => w.value === Z.value);
7832
7832
  M.splice(O, 1);
7833
7833
  }, k = (c) => {
7834
- var y;
7834
+ var w;
7835
7835
  if (!C.taggable)
7836
7836
  return;
7837
7837
  c.stopPropagation();
7838
7838
  const Z = A.value;
7839
7839
  if (Z === "")
7840
7840
  return;
7841
- C.options.find((_) => _.label === Z) || (M.push({ value: Z, label: Z }), A.value = "", (y = d.value) == null || y.focus());
7841
+ C.options.find((_) => _.label === Z) || (M.push({ value: Z, label: Z }), A.value = "", (w = d.value) == null || w.focus());
7842
7842
  }, s = (c) => C.multiple ? M.find((Z) => Z.value === c.value) : L.value === c.value, P = B(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(A.value.toLowerCase())) : C.options);
7843
- return z1(() => {
7843
+ return j1(() => {
7844
7844
  C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, A.value = C.modelValue.label));
7845
7845
  }), Q(M, (c) => {
7846
7846
  V("update:modelValue", c);
7847
- }), C5(l, m), (c, Z) => (t(), r("div", {
7847
+ }), L5(m, l), (c, Z) => (t(), a("div", {
7848
7848
  class: "dropdown-wrapper",
7849
7849
  ref_key: "wrapper",
7850
- ref: l
7850
+ ref: m
7851
7851
  }, [
7852
7852
  u("div", {
7853
7853
  ref_key: "dropdown",
@@ -7857,25 +7857,25 @@ const H5 = {
7857
7857
  "dropdown--disabled": C.disabled,
7858
7858
  "dropdown--loading": C.loading
7859
7859
  }),
7860
- onClick: a
7860
+ onClick: o
7861
7861
  }, [
7862
- C.prependIcon || c.$slots.prepend ? (t(), r("div", {
7862
+ C.prependIcon || c.$slots.prepend ? (t(), a("div", {
7863
7863
  key: 0,
7864
7864
  class: f({
7865
7865
  "dropdown__prepend-icon": !0,
7866
7866
  "dropdown__prepend-icon--active": i.value
7867
7867
  })
7868
7868
  }, [
7869
- w(c.$slots, "prepend", {}, () => [
7870
- C.prependIcon ? (t(), x(R, {
7869
+ b(c.$slots, "prepend", {}, () => [
7870
+ C.prependIcon ? (t(), R(x, {
7871
7871
  key: 0,
7872
7872
  name: C.prependIcon
7873
7873
  }, null, 8, ["name"])) : g("", !0)
7874
7874
  ])
7875
7875
  ], 2)) : g("", !0),
7876
- C.taggable ? (t(), r("div", H5, [
7877
- (t(!0), r(C1, null, L1(M, (O, y) => (t(), x(K2, {
7878
- key: y,
7876
+ C.taggable ? (t(), a("div", M5, [
7877
+ (t(!0), a(C1, null, L1(M, (O, w) => (t(), R(Y2, {
7878
+ key: w,
7879
7879
  label: O.label,
7880
7880
  appendIcon: "close",
7881
7881
  class: "dropdown__tags__chip",
@@ -7883,10 +7883,10 @@ const H5 = {
7883
7883
  "onClick:close": (_) => S(_, O)
7884
7884
  }, null, 8, ["label", "onClick:close"]))), 128))
7885
7885
  ])) : g("", !0),
7886
- C.multiple ? (t(), r("div", V5, [
7887
- (t(!0), r(C1, null, L1(M, (O, y) => (t(), r("p", { key: y }, b(O.label + ","), 1))), 128))
7886
+ C.multiple ? (t(), a("div", A5, [
7887
+ (t(!0), a(C1, null, L1(M, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
7888
  ])) : g("", !0),
7889
- U1(u("input", {
7889
+ q1(u("input", {
7890
7890
  id: C.id,
7891
7891
  ref_key: "input",
7892
7892
  ref: d,
@@ -7900,21 +7900,21 @@ const H5 = {
7900
7900
  placeholder: C.placeholder,
7901
7901
  readonly: !C.searchable,
7902
7902
  onKeydown: [
7903
- Z[1] || (Z[1] = v1((O) => S(O, M[M.length - 1]), ["backspace"])),
7904
- Z[2] || (Z[2] = v1((O) => k(O), ["enter"]))
7903
+ Z[1] || (Z[1] = D1((O) => S(O, M[M.length - 1]), ["backspace"])),
7904
+ Z[2] || (Z[2] = D1((O) => k(O), ["enter"]))
7905
7905
  ]
7906
- }, null, 42, L5), [
7907
- [Z2, A.value]
7906
+ }, null, 42, i5), [
7907
+ [S2, A.value]
7908
7908
  ]),
7909
- C.appendIcon || c.$slots.append ? (t(), r("div", {
7909
+ C.appendIcon || c.$slots.append ? (t(), a("div", {
7910
7910
  key: 3,
7911
7911
  class: f({
7912
7912
  "dropdown__append-icon": !0,
7913
7913
  "dropdown__append-icon--active": i.value
7914
7914
  })
7915
7915
  }, [
7916
- w(c.$slots, "append", {}, () => [
7917
- C.appendIcon ? (t(), x(R, {
7916
+ b(c.$slots, "append", {}, () => [
7917
+ C.appendIcon ? (t(), R(x, {
7918
7918
  key: 0,
7919
7919
  name: C.appendIcon
7920
7920
  }, null, 8, ["name"])) : g("", !0)
@@ -7924,32 +7924,32 @@ const H5 = {
7924
7924
  u("ul", {
7925
7925
  class: f({ "dropdown-options": !0, "dropdown-options--active": i.value })
7926
7926
  }, [
7927
- (t(!0), r(C1, null, L1(h(P), (O) => (t(), r("li", {
7927
+ (t(!0), a(C1, null, L1(p(P), (O) => (t(), a("li", {
7928
7928
  key: O.value,
7929
7929
  class: f({
7930
7930
  "dropdown-options__option": !0,
7931
7931
  "dropdown-options__option--active": s(O)
7932
7932
  }),
7933
7933
  "aria-disabled": O.disabled,
7934
- onClick: (y) => n(y, O)
7934
+ onClick: (w) => r(w, O)
7935
7935
  }, [
7936
- u("div", A5, [
7937
- O.prependIcon ? (t(), x(R, {
7936
+ u("div", d5, [
7937
+ O.prependIcon ? (t(), R(x, {
7938
7938
  key: 1,
7939
7939
  class: f({
7940
7940
  "dropdown-options__option__prepend-icon": !0,
7941
7941
  "dropdown-options__option__prepend-icon--active": s(O)
7942
7942
  }),
7943
7943
  name: O.prependIcon
7944
- }, null, 8, ["class", "name"])) : w(c.$slots, "option-prepend", { key: 0 }),
7944
+ }, null, 8, ["class", "name"])) : b(c.$slots, "option-prepend", { key: 0 }),
7945
7945
  u("p", {
7946
7946
  class: f({
7947
7947
  "dropdown-options__option__label": !0,
7948
7948
  "dropdown-options__option__label--active": s(O)
7949
7949
  })
7950
- }, b(O.label), 3)
7950
+ }, y(O.label), 3)
7951
7951
  ]),
7952
- s(O) ? (t(), x(R, {
7952
+ s(O) ? (t(), R(x, {
7953
7953
  key: 0,
7954
7954
  class: f({
7955
7955
  "dropdown-options__option__append-icon": !0,
@@ -7957,11 +7957,11 @@ const H5 = {
7957
7957
  }),
7958
7958
  name: "mdiCheck"
7959
7959
  }, null, 8, ["class"])) : g("", !0)
7960
- ], 10, M5))), 128))
7960
+ ], 10, e5))), 128))
7961
7961
  ], 2)
7962
7962
  ], 512));
7963
7963
  }
7964
- }), i5 = ["id", "for"], J1 = /* @__PURE__ */ v({
7964
+ }), t5 = ["id", "for"], H2 = /* @__PURE__ */ v({
7965
7965
  __name: "RLabel",
7966
7966
  props: {
7967
7967
  id: { default: "" },
@@ -7970,21 +7970,21 @@ const H5 = {
7970
7970
  },
7971
7971
  setup(H) {
7972
7972
  const V = H;
7973
- return (C, L) => (t(), r("label", {
7973
+ return (C, L) => (t(), a("label", {
7974
7974
  id: V.id,
7975
7975
  for: V.for
7976
- }, b(V.text), 9, i5));
7976
+ }, y(V.text), 9, t5));
7977
7977
  }
7978
- }), e5 = ["onClick"], d5 = ["open"], t5 = { class: "dialog__header" }, m5 = {
7978
+ }), m5 = ["onClick"], l5 = ["open"], o5 = { class: "dialog__header" }, n5 = {
7979
7979
  key: 0,
7980
7980
  class: "icon"
7981
- }, l5 = {
7981
+ }, r5 = {
7982
7982
  key: 1,
7983
7983
  class: "title"
7984
- }, o5 = {
7984
+ }, a5 = {
7985
7985
  key: 2,
7986
7986
  class: "description"
7987
- }, n5 = { class: "dialog__body" }, r5 = { class: "dialog__actions" }, P3 = /* @__PURE__ */ v({
7987
+ }, Z5 = { class: "dialog__body" }, u5 = { class: "dialog__actions" }, R3 = /* @__PURE__ */ v({
7988
7988
  __name: "RModal",
7989
7989
  props: {
7990
7990
  modelValue: { type: Boolean, default: !1 },
@@ -8007,39 +8007,39 @@ const H5 = {
8007
8007
  })), i = (A) => {
8008
8008
  C.outsideClick && A.target === A.currentTarget && V("update:modelValue", !1);
8009
8009
  };
8010
- return (A, e) => U1((t(), r("div", {
8010
+ return (A, e) => q1((t(), a("div", {
8011
8011
  class: "modal",
8012
8012
  onClick: G(i, ["stop"])
8013
8013
  }, [
8014
8014
  u("div", {
8015
- style: $1(h(M)),
8015
+ style: T1(p(M)),
8016
8016
  role: "dialog",
8017
8017
  "aria-modal": "true",
8018
- class: f(h(L)),
8018
+ class: f(p(L)),
8019
8019
  open: C.modelValue
8020
8020
  }, [
8021
- u("div", t5, [
8022
- w(A.$slots, "header"),
8023
- C.icon ? (t(), r("div", m5, [
8024
- V1(R, {
8021
+ u("div", o5, [
8022
+ b(A.$slots, "header"),
8023
+ C.icon ? (t(), a("div", n5, [
8024
+ V1(x, {
8025
8025
  name: C.icon
8026
8026
  }, null, 8, ["name"])
8027
8027
  ])) : g("", !0),
8028
- C.title ? (t(), r("div", l5, b(C.title), 1)) : g("", !0),
8029
- C.description ? (t(), r("div", o5, b(C.description), 1)) : g("", !0)
8028
+ C.title ? (t(), a("div", r5, y(C.title), 1)) : g("", !0),
8029
+ C.description ? (t(), a("div", a5, y(C.description), 1)) : g("", !0)
8030
8030
  ]),
8031
- u("div", n5, [
8032
- w(A.$slots, "default")
8031
+ u("div", Z5, [
8032
+ b(A.$slots, "default")
8033
8033
  ]),
8034
- u("div", r5, [
8035
- w(A.$slots, "actions")
8034
+ u("div", u5, [
8035
+ b(A.$slots, "actions")
8036
8036
  ])
8037
- ], 14, d5)
8038
- ], 8, e5)), [
8039
- [u2, H.modelValue]
8037
+ ], 14, l5)
8038
+ ], 8, m5)), [
8039
+ [c2, H.modelValue]
8040
8040
  ]);
8041
8041
  }
8042
- }), a5 = { class: "nav" }, Z5 = { class: "actions" }, T3 = /* @__PURE__ */ v({
8042
+ }), S5 = { class: "nav" }, c5 = { class: "actions" }, x3 = /* @__PURE__ */ v({
8043
8043
  __name: "RSidebar",
8044
8044
  props: {
8045
8045
  modelValue: { type: Boolean, default: !1 }
@@ -8049,24 +8049,24 @@ const H5 = {
8049
8049
  sidebar: !0,
8050
8050
  "sidebar--open": V.modelValue
8051
8051
  }));
8052
- return (L, M) => (t(), r("aside", {
8053
- class: f(h(C))
8052
+ return (L, M) => (t(), a("aside", {
8053
+ class: f(p(C))
8054
8054
  }, [
8055
- u("nav", a5, [
8056
- w(L.$slots, "default")
8055
+ u("nav", S5, [
8056
+ b(L.$slots, "default")
8057
8057
  ]),
8058
- u("div", Z5, [
8059
- w(L.$slots, "actions")
8058
+ u("div", c5, [
8059
+ b(L.$slots, "actions")
8060
8060
  ])
8061
8061
  ], 2));
8062
8062
  }
8063
- }), u5 = { class: "snackbar__text" }, S5 = {
8063
+ }), s5 = { class: "snackbar__text" }, O5 = {
8064
8064
  key: 0,
8065
8065
  class: "snackbar__action"
8066
- }, c5 = {
8066
+ }, p5 = {
8067
8067
  key: 1,
8068
8068
  class: "snackbar__close"
8069
- }, v3 = /* @__PURE__ */ v({
8069
+ }, D3 = /* @__PURE__ */ v({
8070
8070
  __name: "RSnackbar",
8071
8071
  props: {
8072
8072
  text: { default: "" },
@@ -8084,7 +8084,7 @@ const H5 = {
8084
8084
  }, i = () => {
8085
8085
  L.value = !1, V("close");
8086
8086
  };
8087
- return z1(() => {
8087
+ return j1(() => {
8088
8088
  C.timeout && setTimeout(() => {
8089
8089
  L.value = !1, V("close");
8090
8090
  }, C.timeout);
@@ -8094,31 +8094,31 @@ const H5 = {
8094
8094
  L.value = A;
8095
8095
  },
8096
8096
  { immediate: !0 }
8097
- ), (A, e) => (t(), r("div", {
8097
+ ), (A, e) => (t(), a("div", {
8098
8098
  class: f({
8099
8099
  snackbar: !0,
8100
8100
  "snackbar--closed": !L.value,
8101
8101
  [C.left ? "snackbar--left" : "snackbar--right"]: !0
8102
8102
  })
8103
8103
  }, [
8104
- u("div", u5, b(C.text), 1),
8105
- C.showAction ? (t(), r("div", S5, [
8106
- w(A.$slots, "action"),
8107
- A.$slots.action ? g("", !0) : (t(), x(E2, {
8104
+ u("div", s5, y(C.text), 1),
8105
+ C.showAction ? (t(), a("div", O5, [
8106
+ b(A.$slots, "action"),
8107
+ A.$slots.action ? g("", !0) : (t(), R(N2, {
8108
8108
  key: 0,
8109
8109
  size: "small",
8110
8110
  variant: "ghost",
8111
8111
  onClick: M
8112
8112
  }, {
8113
- default: K1(() => [
8114
- j1(b(C.actionText), 1)
8113
+ default: v1(() => [
8114
+ Y1(y(C.actionText), 1)
8115
8115
  ]),
8116
8116
  _: 1
8117
8117
  }))
8118
8118
  ])) : g("", !0),
8119
- C.showClose ? (t(), r("div", c5, [
8120
- w(A.$slots, "close"),
8121
- A.$slots.close ? g("", !0) : (t(), x(R, {
8119
+ C.showClose ? (t(), a("div", p5, [
8120
+ b(A.$slots, "close"),
8121
+ A.$slots.close ? g("", !0) : (t(), R(x, {
8122
8122
  key: 0,
8123
8123
  name: "mdiClose",
8124
8124
  size: 20,
@@ -8127,13 +8127,13 @@ const H5 = {
8127
8127
  ])) : g("", !0)
8128
8128
  ], 2));
8129
8129
  }
8130
- }), s5 = { class: "switch-container" }, O5 = ["id", "checked"], p5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), h5 = ["id", "for"], f5 = {
8130
+ }), h5 = { class: "switch-container" }, f5 = ["id", "checked"], g5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), k5 = ["id", "for"], B5 = {
8131
8131
  key: 0,
8132
8132
  class: "switch-texts__error"
8133
- }, g5 = {
8133
+ }, b5 = {
8134
8134
  key: 1,
8135
8135
  class: "switch-texts__hint"
8136
- }, F3 = /* @__PURE__ */ v({
8136
+ }, E3 = /* @__PURE__ */ v({
8137
8137
  __name: "RSwitch",
8138
8138
  props: {
8139
8139
  id: { default: "switch" },
@@ -8166,9 +8166,9 @@ const H5 = {
8166
8166
  // TODO: find a better way to do this
8167
8167
  immediate: !0
8168
8168
  }
8169
- ), (A, e) => (t(), r("div", s5, [
8169
+ ), (A, e) => (t(), a("div", h5, [
8170
8170
  u("div", {
8171
- class: f(h(M))
8171
+ class: f(p(M))
8172
8172
  }, [
8173
8173
  u("input", {
8174
8174
  id: C.id,
@@ -8176,8 +8176,8 @@ const H5 = {
8176
8176
  class: "switch__input",
8177
8177
  type: "checkbox",
8178
8178
  onChange: i
8179
- }, null, 40, O5),
8180
- p5
8179
+ }, null, 40, f5),
8180
+ g5
8181
8181
  ], 2),
8182
8182
  u("div", {
8183
8183
  class: f({
@@ -8189,17 +8189,17 @@ const H5 = {
8189
8189
  id: C.id,
8190
8190
  class: "switch-texts__label",
8191
8191
  for: C.id
8192
- }, b(C.label), 9, h5),
8193
- C.errorMsg ? (t(), r("p", f5, b(C.errorMsg), 1)) : (t(), r("p", g5, b(C.hint), 1))
8192
+ }, y(C.label), 9, k5),
8193
+ C.errorMsg ? (t(), a("p", B5, y(C.errorMsg), 1)) : (t(), a("p", b5, y(C.hint), 1))
8194
8194
  ], 2)
8195
8195
  ]));
8196
8196
  }
8197
8197
  });
8198
8198
  var t1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(t1 || {});
8199
- const k5 = ["aria-disabled", "aria-selected", "disabled"], B5 = {
8199
+ const y5 = ["aria-disabled", "aria-selected", "disabled"], w5 = {
8200
8200
  key: 0,
8201
8201
  class: "tab-item__label"
8202
- }, b5 = /* @__PURE__ */ v({
8202
+ }, P5 = /* @__PURE__ */ v({
8203
8203
  __name: "RTabItem",
8204
8204
  props: {
8205
8205
  id: null,
@@ -8229,25 +8229,25 @@ const k5 = ["aria-disabled", "aria-selected", "disabled"], B5 = {
8229
8229
  function A() {
8230
8230
  V("click:icon");
8231
8231
  }
8232
- return (e, d) => (t(), r("button", {
8232
+ return (e, d) => (t(), a("button", {
8233
8233
  "aria-disabled": C.disabled,
8234
8234
  "aria-selected": C.modelValue === C.id,
8235
- class: f(h(L)),
8236
- style: $1(h(M)),
8235
+ class: f(p(L)),
8236
+ style: T1(p(M)),
8237
8237
  disabled: C.disabled,
8238
- onClick: d[0] || (d[0] = G((l) => i(C.id), ["stop"]))
8238
+ onClick: d[0] || (d[0] = G((m) => i(C.id), ["stop"]))
8239
8239
  }, [
8240
- w(e.$slots, "prepend", {}, () => [
8241
- C.variant !== h(t1).TEXT && C.prependIcon ? (t(), x(R, {
8240
+ b(e.$slots, "prepend", {}, () => [
8241
+ C.variant !== p(t1).TEXT && C.prependIcon ? (t(), R(x, {
8242
8242
  key: 0,
8243
8243
  class: "tab-item__prepend-icon",
8244
8244
  name: C.prependIcon,
8245
8245
  size: 16
8246
8246
  }, null, 8, ["name"])) : g("", !0)
8247
8247
  ]),
8248
- C.variant !== h(t1).ICON ? (t(), r("span", B5, b(C.label), 1)) : g("", !0),
8249
- w(e.$slots, "append", {}, () => [
8250
- C.variant !== h(t1).TEXT && C.appendIcon ? (t(), x(R, {
8248
+ C.variant !== p(t1).ICON ? (t(), a("span", w5, y(C.label), 1)) : g("", !0),
8249
+ b(e.$slots, "append", {}, () => [
8250
+ C.variant !== p(t1).TEXT && C.appendIcon ? (t(), R(x, {
8251
8251
  key: 0,
8252
8252
  class: "tab-item__append-icon",
8253
8253
  name: C.appendIcon,
@@ -8255,32 +8255,32 @@ const k5 = ["aria-disabled", "aria-selected", "disabled"], B5 = {
8255
8255
  onClick: G(A, ["stop"])
8256
8256
  }, null, 8, ["name", "onClick"])) : g("", !0)
8257
8257
  ])
8258
- ], 14, k5));
8258
+ ], 14, y5));
8259
8259
  }
8260
8260
  });
8261
8261
  var F = {}, N, I;
8262
- function k1() {
8262
+ function b1() {
8263
8263
  throw new Error("setTimeout has not been defined");
8264
8264
  }
8265
- function B1() {
8265
+ function y1() {
8266
8266
  throw new Error("clearTimeout has not been defined");
8267
8267
  }
8268
8268
  (function() {
8269
8269
  try {
8270
- typeof setTimeout == "function" ? N = setTimeout : N = k1;
8270
+ typeof setTimeout == "function" ? N = setTimeout : N = b1;
8271
8271
  } catch {
8272
- N = k1;
8272
+ N = b1;
8273
8273
  }
8274
8274
  try {
8275
- typeof clearTimeout == "function" ? I = clearTimeout : I = B1;
8275
+ typeof clearTimeout == "function" ? I = clearTimeout : I = y1;
8276
8276
  } catch {
8277
- I = B1;
8277
+ I = y1;
8278
8278
  }
8279
8279
  })();
8280
- function C2(H) {
8280
+ function V2(H) {
8281
8281
  if (N === setTimeout)
8282
8282
  return setTimeout(H, 0);
8283
- if ((N === k1 || !N) && setTimeout)
8283
+ if ((N === b1 || !N) && setTimeout)
8284
8284
  return N = setTimeout, setTimeout(H, 0);
8285
8285
  try {
8286
8286
  return N(H, 0);
@@ -8292,10 +8292,10 @@ function C2(H) {
8292
8292
  }
8293
8293
  }
8294
8294
  }
8295
- function w5(H) {
8295
+ function T5(H) {
8296
8296
  if (I === clearTimeout)
8297
8297
  return clearTimeout(H);
8298
- if ((I === B1 || !I) && clearTimeout)
8298
+ if ((I === y1 || !I) && clearTimeout)
8299
8299
  return I = clearTimeout, clearTimeout(H);
8300
8300
  try {
8301
8301
  return I(H);
@@ -8308,19 +8308,19 @@ function w5(H) {
8308
8308
  }
8309
8309
  }
8310
8310
  var z = [], M1 = !1, J, a1 = -1;
8311
- function y5() {
8312
- !M1 || !J || (M1 = !1, J.length ? z = J.concat(z) : a1 = -1, z.length && H2());
8311
+ function v5() {
8312
+ !M1 || !J || (M1 = !1, J.length ? z = J.concat(z) : a1 = -1, z.length && L2());
8313
8313
  }
8314
- function H2() {
8314
+ function L2() {
8315
8315
  if (!M1) {
8316
- var H = C2(y5);
8316
+ var H = V2(v5);
8317
8317
  M1 = !0;
8318
8318
  for (var V = z.length; V; ) {
8319
8319
  for (J = z, z = []; ++a1 < V; )
8320
8320
  J && J[a1].run();
8321
8321
  a1 = -1, V = z.length;
8322
8322
  }
8323
- J = null, M1 = !1, w5(H);
8323
+ J = null, M1 = !1, T5(H);
8324
8324
  }
8325
8325
  }
8326
8326
  F.nextTick = function(H) {
@@ -8328,12 +8328,12 @@ F.nextTick = function(H) {
8328
8328
  if (arguments.length > 1)
8329
8329
  for (var C = 1; C < arguments.length; C++)
8330
8330
  V[C - 1] = arguments[C];
8331
- z.push(new V2(H, V)), z.length === 1 && !M1 && C2(H2);
8331
+ z.push(new M2(H, V)), z.length === 1 && !M1 && V2(L2);
8332
8332
  };
8333
- function V2(H, V) {
8333
+ function M2(H, V) {
8334
8334
  this.fun = H, this.array = V;
8335
8335
  }
8336
- V2.prototype.run = function() {
8336
+ M2.prototype.run = function() {
8337
8337
  this.fun.apply(null, this.array);
8338
8338
  };
8339
8339
  F.title = "browser";
@@ -8368,7 +8368,7 @@ F.chdir = function(H) {
8368
8368
  F.umask = function() {
8369
8369
  return 0;
8370
8370
  };
8371
- const R3 = /* @__PURE__ */ v({
8371
+ const _3 = /* @__PURE__ */ v({
8372
8372
  __name: "RTabs",
8373
8373
  props: {
8374
8374
  tabs: { default: () => [] },
@@ -8392,16 +8392,16 @@ const R3 = /* @__PURE__ */ v({
8392
8392
  const i = () => {
8393
8393
  V("click:icon");
8394
8394
  };
8395
- return (A, e) => (t(), r("div", {
8396
- class: f(h(M))
8395
+ return (A, e) => (t(), a("div", {
8396
+ class: f(p(M))
8397
8397
  }, [
8398
- w(A.$slots, "default", {}, () => [
8399
- (t(!0), r(C1, null, L1(C.tabs, (d, l) => (t(), x(b5, {
8398
+ b(A.$slots, "default", {}, () => [
8399
+ (t(!0), a(C1, null, L1(C.tabs, (d, m) => (t(), R(P5, {
8400
8400
  id: d.id,
8401
- key: l,
8401
+ key: m,
8402
8402
  modelValue: L.value,
8403
- "onUpdate:modelValue": e[0] || (e[0] = (a) => L.value = a),
8404
- active: l === L.value,
8403
+ "onUpdate:modelValue": e[0] || (e[0] = (o) => L.value = o),
8404
+ active: m === L.value,
8405
8405
  disabled: d.disabled,
8406
8406
  prependIcon: d.prependIcon,
8407
8407
  appendIcon: d.appendIcon,
@@ -8414,13 +8414,13 @@ const R3 = /* @__PURE__ */ v({
8414
8414
  ])
8415
8415
  ], 2));
8416
8416
  }
8417
- }), P5 = { class: "container" }, T5 = ["id", "disabled", "placeholder", "value"], v5 = {
8417
+ }), F5 = { class: "container" }, R5 = ["id", "disabled", "placeholder", "value"], x5 = {
8418
8418
  key: 1,
8419
8419
  class: "textarea__error"
8420
- }, F5 = {
8420
+ }, D5 = {
8421
8421
  key: 2,
8422
8422
  class: "textarea__hint"
8423
- }, x3 = /* @__PURE__ */ v({
8423
+ }, W3 = /* @__PURE__ */ v({
8424
8424
  __name: "RTextArea",
8425
8425
  props: {
8426
8426
  id: { default: "" },
@@ -8447,8 +8447,8 @@ const R3 = /* @__PURE__ */ v({
8447
8447
  {
8448
8448
  immediate: !0
8449
8449
  }
8450
- ), (i, A) => (t(), r("div", P5, [
8451
- C.label ? (t(), x(J1, {
8450
+ ), (i, A) => (t(), a("div", F5, [
8451
+ C.label ? (t(), R(H2, {
8452
8452
  key: 0,
8453
8453
  id: "textarea",
8454
8454
  class: "textarea__label",
@@ -8465,21 +8465,21 @@ const R3 = /* @__PURE__ */ v({
8465
8465
  placeholder: C.placeholder,
8466
8466
  value: L.value,
8467
8467
  onInput: M
8468
- }, null, 42, T5),
8469
- C.errorMsg ? (t(), r("p", v5, b(C.errorMsg), 1)) : (t(), r("p", F5, b(C.hint), 1))
8468
+ }, null, 42, R5),
8469
+ C.errorMsg ? (t(), a("p", x5, y(C.errorMsg), 1)) : (t(), a("p", D5, y(C.hint), 1))
8470
8470
  ]));
8471
8471
  }
8472
- }), R5 = {
8472
+ }), E5 = {
8473
8473
  class: /* @__PURE__ */ f({
8474
8474
  textfield__wrapper: !0
8475
8475
  })
8476
- }, x5 = { class: "input-wrapper" }, D5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], E5 = {
8476
+ }, _5 = { class: "input-wrapper" }, W5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], N5 = {
8477
8477
  key: 0,
8478
8478
  class: "textfield__error"
8479
- }, _5 = {
8479
+ }, I5 = {
8480
8480
  key: 1,
8481
8481
  class: "textfield__hint"
8482
- }, D3 = /* @__PURE__ */ v({
8482
+ }, N3 = /* @__PURE__ */ v({
8483
8483
  __name: "RTextfield",
8484
8484
  props: {
8485
8485
  id: { default: "" },
@@ -8515,76 +8515,76 @@ const R3 = /* @__PURE__ */ v({
8515
8515
  url: "mdiLink",
8516
8516
  number: "mdiNumeric",
8517
8517
  text: ""
8518
- }, e = D(!1), d = B(() => !!M.value), l = B(() => {
8519
- const { disabled: p, loading: T, clearable: E, errorMsg: W } = C;
8518
+ }, e = D(!1), d = B(() => !!M.value), m = B(() => {
8519
+ const { disabled: h, loading: T, clearable: E, errorMsg: W } = C;
8520
8520
  return {
8521
8521
  textfield: !0,
8522
8522
  "textfield--error": W == null ? void 0 : W.length,
8523
8523
  "textfield--loading": T,
8524
- "textfield--disabled": p,
8524
+ "textfield--disabled": h,
8525
8525
  "textfield--clearable": E,
8526
8526
  "textfield--focus": e.value,
8527
8527
  "textfield--filled": d.value
8528
8528
  };
8529
- }), a = B(() => ({
8529
+ }), o = B(() => ({
8530
8530
  "textfield__prepend-icon": !0,
8531
8531
  "textfield__prepend-icon--loading": C.loading,
8532
- "textfield__prepend-icon--error": o.value && d.value
8533
- })), m = B(() => ({
8532
+ "textfield__prepend-icon--error": n.value && d.value
8533
+ })), l = B(() => ({
8534
8534
  "textfield__append-icon": !0,
8535
8535
  "textfield__append-icon--clear": S.value,
8536
- "textfield__append-icon--error": o.value
8537
- })), n = B(() => M.value.length > 0), o = B(() => {
8538
- var p;
8539
- return (p = C.errorMsg) == null ? void 0 : p.length;
8540
- }), S = B(() => C.clearable && n.value), k = B(() => {
8541
- const { prependIcon: p, type: T } = C;
8542
- return p === "none" ? "" : p || A[T];
8536
+ "textfield__append-icon--error": n.value
8537
+ })), r = B(() => M.value.length > 0), n = B(() => {
8538
+ var h;
8539
+ return (h = C.errorMsg) == null ? void 0 : h.length;
8540
+ }), S = B(() => C.clearable && r.value), k = B(() => {
8541
+ const { prependIcon: h, type: T } = C;
8542
+ return h === "none" ? "" : h || A[T];
8543
8543
  }), s = B(() => {
8544
- const { appendIcon: p, type: T } = C;
8545
- return p === "none" ? "" : o.value ? "mdiAlertCircleOutline" : S.value && ["text", "email"].includes(T) ? "mdiClose" : T === "password" && i.value === "password" ? "mdiEyeOutline" : T === "password" && i.value === "text" ? "mdiEyeOffOutline" : p;
8546
- }), P = (p) => {
8547
- e.value = !0, V("focus", p);
8548
- }, c = (p) => {
8549
- e.value = !1, V("blur", p);
8550
- }, Z = (p) => {
8551
- M.value = p.target.value, V("input", p);
8544
+ const { appendIcon: h, type: T } = C;
8545
+ return h === "none" ? "" : n.value ? "mdiAlertCircleOutline" : S.value && ["text", "email"].includes(T) ? "mdiClose" : T === "password" && i.value === "password" ? "mdiEyeOutline" : T === "password" && i.value === "text" ? "mdiEyeOffOutline" : h;
8546
+ }), P = (h) => {
8547
+ e.value = !0, V("focus", h);
8548
+ }, c = (h) => {
8549
+ e.value = !1, V("blur", h);
8550
+ }, Z = (h) => {
8551
+ M.value = h.target.value, V("input", h);
8552
8552
  }, O = () => {
8553
- var p;
8553
+ var h;
8554
8554
  if (S.value) {
8555
- M.value = "", (p = L.value) == null || p.focus(), V("click:clear", {
8555
+ M.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8556
8556
  value: i.value === "number" ? +M.value : M.value
8557
8557
  });
8558
8558
  return;
8559
8559
  }
8560
8560
  V("click:icon", {
8561
8561
  value: i.value === "number" ? +M.value : M.value
8562
- }), i.value === "password" && y();
8563
- }, y = () => {
8562
+ }), i.value === "password" && w();
8563
+ }, w = () => {
8564
8564
  i.value = i.value === "password" ? "text" : "password";
8565
8565
  }, _ = () => {
8566
- var p;
8567
- (p = L.value) == null || p.focus();
8566
+ var h;
8567
+ (h = L.value) == null || h.focus();
8568
8568
  };
8569
8569
  return Q(
8570
8570
  () => C.modelValue,
8571
- (p) => {
8572
- M.value = p;
8571
+ (h) => {
8572
+ M.value = h;
8573
8573
  },
8574
8574
  {
8575
8575
  immediate: !0
8576
8576
  }
8577
8577
  ), Q(
8578
8578
  () => M.value,
8579
- (p) => {
8579
+ (h) => {
8580
8580
  V(
8581
8581
  "update:modelValue",
8582
- i.value === "number" ? +p : p
8582
+ i.value === "number" ? +h : h
8583
8583
  );
8584
8584
  }
8585
- ), (p, T) => (t(), r("fieldset", null, [
8586
- u("div", R5, [
8587
- V1(J1, {
8585
+ ), (h, T) => (t(), a("fieldset", null, [
8586
+ u("div", E5, [
8587
+ V1(H2, {
8588
8588
  id: C.id,
8589
8589
  class: f({
8590
8590
  textfield__label: !0
@@ -8593,15 +8593,15 @@ const R3 = /* @__PURE__ */ v({
8593
8593
  text: C.label,
8594
8594
  onClick: _
8595
8595
  }, null, 8, ["id", "for", "text"]),
8596
- u("div", x5, [
8596
+ u("div", _5, [
8597
8597
  u("div", {
8598
- class: f(h(l))
8598
+ class: f(p(m))
8599
8599
  }, [
8600
- w(p.$slots, "prepend"),
8601
- h(k) && !p.$slots.prepend ? (t(), x(R, {
8600
+ b(h.$slots, "prepend"),
8601
+ p(k) && !h.$slots.prepend ? (t(), R(x, {
8602
8602
  key: 0,
8603
- class: f(h(a)),
8604
- name: h(k),
8603
+ class: f(p(o)),
8604
+ name: p(k),
8605
8605
  size: 20
8606
8606
  }, null, 8, ["class", "name"])) : g("", !0),
8607
8607
  u("input", {
@@ -8617,18 +8617,18 @@ const R3 = /* @__PURE__ */ v({
8617
8617
  onBlur: c,
8618
8618
  onFocus: P,
8619
8619
  onInput: Z
8620
- }, null, 40, D5),
8621
- w(p.$slots, "append"),
8622
- h(s) && !p.$slots.append ? (t(), x(R, {
8620
+ }, null, 40, W5),
8621
+ b(h.$slots, "append"),
8622
+ p(s) && !h.$slots.append ? (t(), R(x, {
8623
8623
  key: 1,
8624
- class: f(h(m)),
8625
- name: `${h(s)}`,
8624
+ class: f(p(l)),
8625
+ name: `${p(s)}`,
8626
8626
  size: 20,
8627
8627
  onClick: O
8628
8628
  }, null, 8, ["class", "name"])) : g("", !0)
8629
8629
  ], 2),
8630
- C.errorMsg ? (t(), r("div", E5, b(C.errorMsg), 1)) : g("", !0),
8631
- !C.errorMsg && C.hint ? (t(), r("div", _5, b(C.hint), 1)) : g("", !0)
8630
+ C.errorMsg ? (t(), a("div", N5, y(C.errorMsg), 1)) : g("", !0),
8631
+ !C.errorMsg && C.hint ? (t(), a("div", I5, y(C.hint), 1)) : g("", !0)
8632
8632
  ])
8633
8633
  ])
8634
8634
  ]));
@@ -8643,48 +8643,48 @@ function s1(H) {
8643
8643
  function n1(H) {
8644
8644
  return ["top", "bottom"].includes(o1(H)) ? "x" : "y";
8645
8645
  }
8646
- function y1(H) {
8646
+ function F1(H) {
8647
8647
  return H === "y" ? "height" : "width";
8648
8648
  }
8649
- function x1(H, V, C) {
8649
+ function W1(H, V, C) {
8650
8650
  let { reference: L, floating: M } = H;
8651
- const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = n1(V), d = y1(e), l = L[d] / 2 - M[d] / 2, a = e === "x";
8652
- let m;
8651
+ const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = n1(V), d = F1(e), m = L[d] / 2 - M[d] / 2, o = e === "x";
8652
+ let l;
8653
8653
  switch (o1(V)) {
8654
8654
  case "top":
8655
- m = { x: i, y: L.y - M.height };
8655
+ l = { x: i, y: L.y - M.height };
8656
8656
  break;
8657
8657
  case "bottom":
8658
- m = { x: i, y: L.y + L.height };
8658
+ l = { x: i, y: L.y + L.height };
8659
8659
  break;
8660
8660
  case "right":
8661
- m = { x: L.x + L.width, y: A };
8661
+ l = { x: L.x + L.width, y: A };
8662
8662
  break;
8663
8663
  case "left":
8664
- m = { x: L.x - M.width, y: A };
8664
+ l = { x: L.x - M.width, y: A };
8665
8665
  break;
8666
8666
  default:
8667
- m = { x: L.x, y: L.y };
8667
+ l = { x: L.x, y: L.y };
8668
8668
  }
8669
8669
  switch (s1(V)) {
8670
8670
  case "start":
8671
- m[e] -= l * (C && a ? -1 : 1);
8671
+ l[e] -= m * (C && o ? -1 : 1);
8672
8672
  break;
8673
8673
  case "end":
8674
- m[e] += l * (C && a ? -1 : 1);
8674
+ l[e] += m * (C && o ? -1 : 1);
8675
8675
  }
8676
- return m;
8676
+ return l;
8677
8677
  }
8678
- const W5 = async (H, V, C) => {
8678
+ const Q5 = async (H, V, C) => {
8679
8679
  const { placement: L = "bottom", strategy: M = "absolute", middleware: i = [], platform: A } = C, e = i.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
8680
- let l = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: a, y: m } = x1(l, L, d), n = L, o = {}, S = 0;
8680
+ let m = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: l } = W1(m, L, d), r = L, n = {}, S = 0;
8681
8681
  for (let k = 0; k < e.length; k++) {
8682
- const { name: s, fn: P } = e[k], { x: c, y: Z, data: O, reset: y } = await P({ x: a, y: m, initialPlacement: L, placement: n, strategy: M, middlewareData: o, rects: l, platform: A, elements: { reference: H, floating: V } });
8683
- a = c ?? a, m = Z ?? m, o = { ...o, [s]: { ...o[s], ...O } }, y && S <= 50 && (S++, typeof y == "object" && (y.placement && (n = y.placement), y.rects && (l = y.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : y.rects), { x: a, y: m } = x1(l, n, d)), k = -1);
8682
+ const { name: s, fn: P } = e[k], { x: c, y: Z, data: O, reset: w } = await P({ x: o, y: l, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: m, platform: A, elements: { reference: H, floating: V } });
8683
+ 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 A.getElementRects({ reference: H, floating: V, strategy: M }) : w.rects), { x: o, y: l } = W1(m, r, d)), k = -1);
8684
8684
  }
8685
- return { x: a, y: m, placement: n, strategy: M, middlewareData: o };
8685
+ return { x: o, y: l, placement: r, strategy: M, middlewareData: n };
8686
8686
  };
8687
- function L2(H) {
8687
+ function A2(H) {
8688
8688
  return typeof H != "number" ? function(V) {
8689
8689
  return { top: 0, right: 0, bottom: 0, left: 0, ...V };
8690
8690
  }(H) : { top: H, right: H, bottom: H, left: H };
@@ -8695,61 +8695,61 @@ function Z1(H) {
8695
8695
  async function u1(H, V) {
8696
8696
  var C;
8697
8697
  V === void 0 && (V = {});
8698
- const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: l = "clippingAncestors", rootBoundary: a = "viewport", elementContext: m = "floating", altBoundary: n = !1, padding: o = 0 } = V, S = L2(o), k = e[n ? m === "floating" ? "reference" : "floating" : m], s = Z1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(k))) == null || C ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: l, rootBoundary: a, strategy: d })), P = Z1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: m === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[m]);
8698
+ const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = A2(n), k = e[r ? l === "floating" ? "reference" : "floating" : l], s = Z1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(k))) == null || C ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), P = Z1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[l]);
8699
8699
  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 };
8700
8700
  }
8701
- const N5 = Math.min, I5 = Math.max;
8702
- function b1(H, V, C) {
8703
- return I5(H, N5(V, C));
8701
+ const G5 = Math.min, z5 = Math.max;
8702
+ function w1(H, V, C) {
8703
+ return z5(H, G5(V, C));
8704
8704
  }
8705
- const Q5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8705
+ const U5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8706
8706
  const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: i, placement: A, rects: e, platform: d } = V;
8707
8707
  if (C == null)
8708
8708
  return {};
8709
- const l = L2(L), a = { x: M, y: i }, m = n1(A), n = s1(A), o = y1(m), S = await d.getDimensions(C), k = m === "y" ? "top" : "left", s = m === "y" ? "bottom" : "right", P = e.reference[o] + e.reference[m] - a[m] - e.floating[o], c = a[m] - e.reference[m], Z = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8710
- let O = Z ? m === "y" ? Z.clientHeight || 0 : Z.clientWidth || 0 : 0;
8711
- O === 0 && (O = e.floating[o]);
8712
- const y = P / 2 - c / 2, _ = l[k], p = O - S[o] - l[s], T = O / 2 - S[o] / 2 + y, E = b1(_, T, p), W = (n === "start" ? l[k] : l[s]) > 0 && T !== E && e.reference[o] <= e.floating[o];
8713
- return { [m]: a[m] - (W ? T < _ ? _ - T : p - T : 0), data: { [m]: E, centerOffset: T - E } };
8714
- } }), G5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8709
+ const m = A2(L), o = { x: M, y: i }, l = n1(A), r = s1(A), n = F1(l), S = await d.getDimensions(C), k = 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));
8710
+ let O = Z ? l === "y" ? Z.clientHeight || 0 : Z.clientWidth || 0 : 0;
8711
+ O === 0 && (O = e.floating[n]);
8712
+ const w = P / 2 - c / 2, _ = m[k], h = O - S[n] - m[s], T = O / 2 - S[n] / 2 + w, E = w1(_, T, h), W = (r === "start" ? m[k] : m[s]) > 0 && T !== E && e.reference[n] <= e.floating[n];
8713
+ return { [l]: o[l] - (W ? T < _ ? _ - T : h - T : 0), data: { [l]: E, centerOffset: T - E } };
8714
+ } }), $5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8715
8715
  function S1(H) {
8716
- return H.replace(/left|right|bottom|top/g, (V) => G5[V]);
8716
+ return H.replace(/left|right|bottom|top/g, (V) => $5[V]);
8717
8717
  }
8718
- function z5(H, V, C) {
8718
+ function K5(H, V, C) {
8719
8719
  C === void 0 && (C = !1);
8720
- const L = s1(H), M = n1(H), i = y1(M);
8720
+ const L = s1(H), M = n1(H), i = F1(M);
8721
8721
  let A = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8722
8722
  return V.reference[i] > V.floating[i] && (A = S1(A)), { main: A, cross: S1(A) };
8723
8723
  }
8724
- const U5 = { start: "end", end: "start" };
8725
- function D1(H) {
8726
- return H.replace(/start|end/g, (V) => U5[V]);
8724
+ const j5 = { start: "end", end: "start" };
8725
+ function N1(H) {
8726
+ return H.replace(/start|end/g, (V) => j5[V]);
8727
8727
  }
8728
- const M2 = ["top", "right", "bottom", "left"];
8729
- M2.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8730
- const $5 = function(H) {
8728
+ const i2 = ["top", "right", "bottom", "left"];
8729
+ i2.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8730
+ const q5 = function(H) {
8731
8731
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8732
8732
  var C;
8733
- const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: l = !0, crossAxis: a = !0, fallbackPlacements: m, fallbackStrategy: n = "bestFit", flipAlignment: o = !0, ...S } = H, k = o1(L), s = m || (k === A || !o ? [S1(A)] : function(T) {
8733
+ const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, k = o1(L), s = l || (k === A || !n ? [S1(A)] : function(T) {
8734
8734
  const E = S1(T);
8735
- return [D1(T), E, D1(E)];
8735
+ return [N1(T), E, N1(E)];
8736
8736
  }(A)), P = [A, ...s], c = await u1(V, S), Z = [];
8737
8737
  let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8738
- if (l && Z.push(c[k]), a) {
8739
- const { main: T, cross: E } = z5(L, i, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8738
+ if (m && Z.push(c[k]), o) {
8739
+ const { main: T, cross: E } = K5(L, i, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8740
8740
  Z.push(c[T], c[E]);
8741
8741
  }
8742
8742
  if (O = [...O, { placement: L, overflows: Z }], !Z.every((T) => T <= 0)) {
8743
- var y, _;
8744
- const T = ((y = (_ = M.flip) == null ? void 0 : _.index) != null ? y : 0) + 1, E = P[T];
8743
+ var w, _;
8744
+ const T = ((w = (_ = M.flip) == null ? void 0 : _.index) != null ? w : 0) + 1, E = P[T];
8745
8745
  if (E)
8746
8746
  return { data: { index: T, overflows: O }, reset: { placement: E } };
8747
8747
  let W = "bottom";
8748
- switch (n) {
8748
+ switch (r) {
8749
8749
  case "bestFit": {
8750
- var p;
8751
- const T1 = (p = O.map((r1) => [r1, r1.overflows.filter((e1) => e1 > 0).reduce((e1, o2) => e1 + o2, 0)]).sort((r1, e1) => r1[1] - e1[1])[0]) == null ? void 0 : p[0].placement;
8752
- T1 && (W = T1);
8750
+ var h;
8751
+ const x1 = (h = O.map((r1) => [r1, r1.overflows.filter((e1) => e1 > 0).reduce((e1, r2) => e1 + r2, 0)]).sort((r1, e1) => r1[1] - e1[1])[0]) == null ? void 0 : h[0].placement;
8752
+ x1 && (W = x1);
8753
8753
  break;
8754
8754
  }
8755
8755
  case "initialPlacement":
@@ -8761,68 +8761,68 @@ const $5 = function(H) {
8761
8761
  return {};
8762
8762
  } };
8763
8763
  };
8764
- function E1(H, V) {
8764
+ function I1(H, V) {
8765
8765
  return { top: H.top - V.height, right: H.right - V.width, bottom: H.bottom - V.height, left: H.left - V.width };
8766
8766
  }
8767
- function _1(H) {
8768
- return M2.some((V) => H[V] >= 0);
8767
+ function Q1(H) {
8768
+ return i2.some((V) => H[V] >= 0);
8769
8769
  }
8770
- const K5 = function(H) {
8770
+ const Y5 = function(H) {
8771
8771
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8772
8772
  return { name: "hide", async fn(L) {
8773
8773
  const { rects: M } = L;
8774
8774
  switch (V) {
8775
8775
  case "referenceHidden": {
8776
- const i = E1(await u1(L, { ...C, elementContext: "reference" }), M.reference);
8777
- return { data: { referenceHiddenOffsets: i, referenceHidden: _1(i) } };
8776
+ const i = I1(await u1(L, { ...C, elementContext: "reference" }), M.reference);
8777
+ return { data: { referenceHiddenOffsets: i, referenceHidden: Q1(i) } };
8778
8778
  }
8779
8779
  case "escaped": {
8780
- const i = E1(await u1(L, { ...C, altBoundary: !0 }), M.floating);
8781
- return { data: { escapedOffsets: i, escaped: _1(i) } };
8780
+ const i = I1(await u1(L, { ...C, altBoundary: !0 }), M.floating);
8781
+ return { data: { escapedOffsets: i, escaped: Q1(i) } };
8782
8782
  }
8783
8783
  default:
8784
8784
  return {};
8785
8785
  }
8786
8786
  } };
8787
- }, j5 = function(H) {
8787
+ }, X5 = function(H) {
8788
8788
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8789
8789
  const { x: C, y: L } = V, M = await async function(i, A) {
8790
- const { placement: e, platform: d, elements: l } = i, a = await (d.isRTL == null ? void 0 : d.isRTL(l.floating)), m = o1(e), n = s1(e), o = n1(e) === "x", S = ["left", "top"].includes(m) ? -1 : 1, k = a && o ? -1 : 1, s = typeof A == "function" ? A(i) : A;
8790
+ const { placement: e, platform: d, elements: m } = i, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = o1(e), r = s1(e), n = n1(e) === "x", S = ["left", "top"].includes(l) ? -1 : 1, k = o && n ? -1 : 1, s = typeof A == "function" ? A(i) : A;
8791
8791
  let { mainAxis: P, crossAxis: c, alignmentAxis: Z } = typeof s == "number" ? { mainAxis: s, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...s };
8792
- return n && typeof Z == "number" && (c = n === "end" ? -1 * Z : Z), o ? { x: c * k, y: P * S } : { x: P * S, y: c * k };
8792
+ return r && typeof Z == "number" && (c = r === "end" ? -1 * Z : Z), n ? { x: c * k, y: P * S } : { x: P * S, y: c * k };
8793
8793
  }(V, H);
8794
8794
  return { x: C + M.x, y: L + M.y, data: M };
8795
8795
  } };
8796
8796
  };
8797
- function q5(H) {
8797
+ function J5(H) {
8798
8798
  return H === "x" ? "y" : "x";
8799
8799
  }
8800
- const Y5 = function(H) {
8800
+ const C3 = function(H) {
8801
8801
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8802
8802
  const { x: C, y: L, placement: M } = V, { mainAxis: i = !0, crossAxis: A = !1, limiter: e = { fn: (s) => {
8803
8803
  let { x: P, y: c } = s;
8804
8804
  return { x: P, y: c };
8805
- } }, ...d } = H, l = { x: C, y: L }, a = await u1(V, d), m = n1(o1(M)), n = q5(m);
8806
- let o = l[m], S = l[n];
8805
+ } }, ...d } = H, m = { x: C, y: L }, o = await u1(V, d), l = n1(o1(M)), r = J5(l);
8806
+ let n = m[l], S = m[r];
8807
8807
  if (i) {
8808
- const s = m === "y" ? "bottom" : "right";
8809
- o = b1(o + a[m === "y" ? "top" : "left"], o, o - a[s]);
8808
+ const s = l === "y" ? "bottom" : "right";
8809
+ n = w1(n + o[l === "y" ? "top" : "left"], n, n - o[s]);
8810
8810
  }
8811
8811
  if (A) {
8812
- const s = n === "y" ? "bottom" : "right";
8813
- S = b1(S + a[n === "y" ? "top" : "left"], S, S - a[s]);
8812
+ const s = r === "y" ? "bottom" : "right";
8813
+ S = w1(S + o[r === "y" ? "top" : "left"], S, S - o[s]);
8814
8814
  }
8815
- const k = e.fn({ ...V, [m]: o, [n]: S });
8815
+ const k = e.fn({ ...V, [l]: n, [r]: S });
8816
8816
  return { ...k, data: { x: k.x - C, y: k.y - L } };
8817
8817
  } };
8818
8818
  };
8819
- function A2(H) {
8819
+ function e2(H) {
8820
8820
  return H && H.document && H.location && H.alert && H.setInterval;
8821
8821
  }
8822
8822
  function j(H) {
8823
8823
  if (H == null)
8824
8824
  return window;
8825
- if (!A2(H)) {
8825
+ if (!e2(H)) {
8826
8826
  const V = H.ownerDocument;
8827
8827
  return V && V.defaultView || window;
8828
8828
  }
@@ -8832,9 +8832,9 @@ function U(H) {
8832
8832
  return j(H).getComputedStyle(H);
8833
8833
  }
8834
8834
  function X(H) {
8835
- return A2(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8835
+ return e2(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8836
8836
  }
8837
- function i2() {
8837
+ function d2() {
8838
8838
  const H = navigator.userAgentData;
8839
8839
  return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
8840
8840
  }
@@ -8844,38 +8844,38 @@ function $(H) {
8844
8844
  function A1(H) {
8845
8845
  return H instanceof j(H).Element;
8846
8846
  }
8847
- function W1(H) {
8847
+ function G1(H) {
8848
8848
  return typeof ShadowRoot > "u" ? !1 : H instanceof j(H).ShadowRoot || H instanceof ShadowRoot;
8849
8849
  }
8850
8850
  function O1(H) {
8851
8851
  const { overflow: V, overflowX: C, overflowY: L, display: M } = U(H);
8852
8852
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8853
8853
  }
8854
- function X5(H) {
8854
+ function H3(H) {
8855
8855
  return ["table", "td", "th"].includes(X(H));
8856
8856
  }
8857
- function w1(H) {
8858
- const V = /firefox/i.test(i2()), C = U(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8857
+ function P1(H) {
8858
+ const V = /firefox/i.test(d2()), C = U(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8859
8859
  return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((M) => C.willChange.includes(M)) || ["paint", "layout", "strict", "content"].some((M) => {
8860
8860
  const i = C.contain;
8861
8861
  return i != null && i.includes(M);
8862
8862
  });
8863
8863
  }
8864
- function e2() {
8865
- return !/^((?!chrome|android).)*safari/i.test(i2());
8864
+ function t2() {
8865
+ return !/^((?!chrome|android).)*safari/i.test(d2());
8866
8866
  }
8867
- function P1(H) {
8867
+ function R1(H) {
8868
8868
  return ["html", "body", "#document"].includes(X(H));
8869
8869
  }
8870
- const N1 = Math.min, m1 = Math.max, c1 = Math.round;
8870
+ const z1 = Math.min, m1 = Math.max, c1 = Math.round;
8871
8871
  function H1(H, V, C) {
8872
8872
  var L, M, i, A;
8873
8873
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8874
8874
  const e = H.getBoundingClientRect();
8875
- let d = 1, l = 1;
8876
- V && $(H) && (d = H.offsetWidth > 0 && c1(e.width) / H.offsetWidth || 1, l = H.offsetHeight > 0 && c1(e.height) / H.offsetHeight || 1);
8877
- const a = A1(H) ? j(H) : window, m = !e2() && C, n = (e.left + (m && (L = (M = a.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, o = (e.top + (m && (i = (A = a.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / l, S = e.width / d, k = e.height / l;
8878
- return { width: S, height: k, top: o, right: n + S, bottom: o + k, left: n, x: n, y: o };
8875
+ let d = 1, m = 1;
8876
+ V && $(H) && (d = H.offsetWidth > 0 && c1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && c1(e.height) / H.offsetHeight || 1);
8877
+ const o = A1(H) ? j(H) : window, l = !t2() && C, r = (e.left + (l && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (l && (i = (A = o.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / m, S = e.width / d, k = e.height / m;
8878
+ return { width: S, height: k, top: n, right: r + S, bottom: n + k, left: r, x: r, y: n };
8879
8879
  }
8880
8880
  function Y(H) {
8881
8881
  return (V = H, (V instanceof j(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8884,13 +8884,13 @@ function Y(H) {
8884
8884
  function p1(H) {
8885
8885
  return A1(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8886
8886
  }
8887
- function d2(H) {
8887
+ function m2(H) {
8888
8888
  return H1(Y(H)).left + p1(H).scrollLeft;
8889
8889
  }
8890
- function J5(H, V, C) {
8890
+ function V3(H, V, C) {
8891
8891
  const L = $(V), M = Y(V), i = H1(H, L && function(d) {
8892
- const l = H1(d);
8893
- return c1(l.width) !== d.offsetWidth || c1(l.height) !== d.offsetHeight;
8892
+ const m = H1(d);
8893
+ return c1(m.width) !== d.offsetWidth || c1(m.height) !== d.offsetHeight;
8894
8894
  }(V), C === "fixed");
8895
8895
  let A = { scrollLeft: 0, scrollTop: 0 };
8896
8896
  const e = { x: 0, y: 0 };
@@ -8899,79 +8899,79 @@ function J5(H, V, C) {
8899
8899
  const d = H1(V, !0);
8900
8900
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8901
8901
  } else
8902
- M && (e.x = d2(M));
8902
+ M && (e.x = m2(M));
8903
8903
  return { x: i.left + A.scrollLeft - e.x, y: i.top + A.scrollTop - e.y, width: i.width, height: i.height };
8904
8904
  }
8905
8905
  function l1(H) {
8906
8906
  if (X(H) === "html")
8907
8907
  return H;
8908
- const V = H.assignedSlot || H.parentNode || (W1(H) ? H.host : null) || Y(H);
8909
- return W1(V) ? V.host : V;
8908
+ const V = H.assignedSlot || H.parentNode || (G1(H) ? H.host : null) || Y(H);
8909
+ return G1(V) ? V.host : V;
8910
8910
  }
8911
- function I1(H) {
8911
+ function U1(H) {
8912
8912
  return $(H) && U(H).position !== "fixed" ? H.offsetParent : null;
8913
8913
  }
8914
- function Q1(H) {
8914
+ function $1(H) {
8915
8915
  const V = j(H);
8916
- let C = I1(H);
8917
- for (; C && X5(C) && U(C).position === "static"; )
8918
- C = I1(C);
8919
- return C && (X(C) === "html" || X(C) === "body" && U(C).position === "static" && !w1(C)) ? V : C || function(L) {
8916
+ let C = U1(H);
8917
+ for (; C && H3(C) && U(C).position === "static"; )
8918
+ C = U1(C);
8919
+ return C && (X(C) === "html" || X(C) === "body" && U(C).position === "static" && !P1(C)) ? V : C || function(L) {
8920
8920
  let M = l1(L);
8921
- for (; $(M) && !P1(M); ) {
8922
- if (w1(M))
8921
+ for (; $(M) && !R1(M); ) {
8922
+ if (P1(M))
8923
8923
  return M;
8924
8924
  M = l1(M);
8925
8925
  }
8926
8926
  return null;
8927
8927
  }(H) || V;
8928
8928
  }
8929
- function t2(H) {
8929
+ function l2(H) {
8930
8930
  const V = l1(H);
8931
- return P1(V) ? H.ownerDocument.body : $(V) && O1(V) ? V : t2(V);
8931
+ return R1(V) ? H.ownerDocument.body : $(V) && O1(V) ? V : l2(V);
8932
8932
  }
8933
- function m2(H, V) {
8933
+ function o2(H, V) {
8934
8934
  var C;
8935
8935
  V === void 0 && (V = []);
8936
- const L = t2(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), i = j(L), A = M ? [i].concat(i.visualViewport || [], O1(L) ? L : []) : L, e = V.concat(A);
8937
- return M ? e : e.concat(m2(A));
8936
+ const L = l2(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), i = j(L), A = M ? [i].concat(i.visualViewport || [], O1(L) ? L : []) : L, e = V.concat(A);
8937
+ return M ? e : e.concat(o2(A));
8938
8938
  }
8939
- function G1(H, V, C) {
8939
+ function K1(H, V, C) {
8940
8940
  return V === "viewport" ? Z1(function(L, M) {
8941
8941
  const i = j(L), A = Y(L), e = i.visualViewport;
8942
- let d = A.clientWidth, l = A.clientHeight, a = 0, m = 0;
8942
+ let d = A.clientWidth, m = A.clientHeight, o = 0, l = 0;
8943
8943
  if (e) {
8944
- d = e.width, l = e.height;
8945
- const n = e2();
8946
- (n || !n && M === "fixed") && (a = e.offsetLeft, m = e.offsetTop);
8944
+ d = e.width, m = e.height;
8945
+ const r = t2();
8946
+ (r || !r && M === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8947
8947
  }
8948
- return { width: d, height: l, x: a, y: m };
8948
+ return { width: d, height: m, x: o, y: l };
8949
8949
  }(H, C)) : A1(V) ? function(L, M) {
8950
8950
  const i = H1(L, !1, M === "fixed"), A = i.top + L.clientTop, e = i.left + L.clientLeft;
8951
8951
  return { top: A, left: e, x: e, y: A, right: e + L.clientWidth, bottom: A + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8952
8952
  }(V, C) : Z1(function(L) {
8953
8953
  var M;
8954
- const i = Y(L), A = p1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = m1(i.scrollWidth, i.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), l = m1(i.scrollHeight, i.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8955
- let a = -A.scrollLeft + d2(L);
8956
- const m = -A.scrollTop;
8957
- return U(e || i).direction === "rtl" && (a += m1(i.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: l, x: a, y: m };
8954
+ const i = Y(L), A = p1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = m1(i.scrollWidth, i.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = m1(i.scrollHeight, i.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8955
+ let o = -A.scrollLeft + m2(L);
8956
+ const l = -A.scrollTop;
8957
+ return U(e || i).direction === "rtl" && (o += m1(i.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8958
8958
  }(Y(H)));
8959
8959
  }
8960
- const C3 = { getClippingRect: function(H) {
8960
+ const L3 = { getClippingRect: function(H) {
8961
8961
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8962
- const i = C === "clippingAncestors" ? function(l) {
8963
- let a = m2(l).filter((S) => A1(S) && X(S) !== "body"), m = null;
8964
- const n = U(l).position === "fixed";
8965
- let o = n ? l1(l) : l;
8966
- for (; A1(o) && !P1(o); ) {
8967
- const S = U(o), k = w1(o);
8968
- (n ? k || m : k || S.position !== "static" || !m || !["absolute", "fixed"].includes(m.position)) ? m = S : a = a.filter((s) => s !== o), o = l1(o);
8962
+ const i = C === "clippingAncestors" ? function(m) {
8963
+ let o = o2(m).filter((S) => A1(S) && X(S) !== "body"), l = null;
8964
+ const r = U(m).position === "fixed";
8965
+ let n = r ? l1(m) : m;
8966
+ for (; A1(n) && !R1(n); ) {
8967
+ const S = U(n), k = P1(n);
8968
+ (r ? k || l : k || S.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = S : o = o.filter((s) => s !== n), n = l1(n);
8969
8969
  }
8970
- return a;
8971
- }(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((l, a) => {
8972
- const m = G1(V, a, M);
8973
- return l.top = m1(m.top, l.top), l.right = N1(m.right, l.right), l.bottom = N1(m.bottom, l.bottom), l.left = m1(m.left, l.left), l;
8974
- }, G1(V, e, M));
8970
+ return o;
8971
+ }(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((m, o) => {
8972
+ const l = K1(V, o, M);
8973
+ return m.top = m1(l.top, m.top), m.right = z1(l.right, m.right), m.bottom = z1(l.bottom, m.bottom), m.left = m1(l.left, m.left), m;
8974
+ }, K1(V, e, M));
8975
8975
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8976
8976
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8977
8977
  let { rect: V, offsetParent: C, strategy: L } = H;
@@ -8990,27 +8990,27 @@ const C3 = { getClippingRect: function(H) {
8990
8990
  return { width: H.offsetWidth, height: H.offsetHeight };
8991
8991
  const V = H1(H);
8992
8992
  return { width: V.width, height: V.height };
8993
- }, getOffsetParent: Q1, getDocumentElement: Y, async getElementRects(H) {
8993
+ }, getOffsetParent: $1, getDocumentElement: Y, async getElementRects(H) {
8994
8994
  let { reference: V, floating: C, strategy: L } = H;
8995
- const M = this.getOffsetParent || Q1, i = this.getDimensions;
8996
- return { reference: J5(V, await M(C), L), floating: { x: 0, y: 0, ...await i(C) } };
8997
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => U(H).direction === "rtl" }, H3 = (H, V, C) => W5(H, V, { platform: C3, ...C });
8998
- function f1({ value: H }, { value: V }, { value: C }, L, M, i) {
8999
- !H || !V || H3(H, V, {
8995
+ const M = this.getOffsetParent || $1, i = this.getDimensions;
8996
+ return { reference: V3(V, await M(C), L), floating: { x: 0, y: 0, ...await i(C) } };
8997
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => U(H).direction === "rtl" }, M3 = (H, V, C) => Q5(H, V, { platform: L3, ...C });
8998
+ function k1({ value: H }, { value: V }, { value: C }, L, M, i) {
8999
+ !H || !V || M3(H, V, {
9000
9000
  placement: L,
9001
9001
  middleware: [
9002
- j5(M),
9003
- Y5({ padding: i }),
9004
- Q5({ element: C }),
9005
- $5(),
9006
- K5()
9002
+ X5(M),
9003
+ C3({ padding: i }),
9004
+ U5({ element: C }),
9005
+ q5(),
9006
+ Y5()
9007
9007
  ]
9008
- }).then(({ x: A, y: e, placement: d, middlewareData: l }) => {
9008
+ }).then(({ x: A, y: e, placement: d, middlewareData: m }) => {
9009
9009
  if (Object.assign(V.style, {
9010
9010
  left: `${A}px`,
9011
9011
  top: `${e}px`
9012
- }), C && l.arrow) {
9013
- const { x: a, y: m } = l.arrow, n = {
9012
+ }), C && m.arrow) {
9013
+ const { x: o, y: l } = m.arrow, r = {
9014
9014
  top: "bottom",
9015
9015
  right: "left",
9016
9016
  bottom: "top",
@@ -9018,20 +9018,20 @@ function f1({ value: H }, { value: V }, { value: C }, L, M, i) {
9018
9018
  /* Right */
9019
9019
  }[d.split("-")[0]];
9020
9020
  Object.assign(C.style, {
9021
- left: A != null ? `${a}px` : "",
9022
- top: e != null ? `${m}px` : "",
9021
+ left: A != null ? `${o}px` : "",
9022
+ top: e != null ? `${l}px` : "",
9023
9023
  right: "",
9024
9024
  bottom: "",
9025
- [`${n}`]: "-4px"
9025
+ [`${r}`]: "-4px"
9026
9026
  });
9027
9027
  }
9028
9028
  });
9029
9029
  }
9030
- var l2 = /* @__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))(l2 || {}), q = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(q || {});
9031
- const V3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], L3 = ["innerHTML"], M3 = /* @__PURE__ */ v({
9030
+ var n2 = /* @__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))(n2 || {}), q = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(q || {});
9031
+ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], i3 = ["innerHTML"], e3 = /* @__PURE__ */ v({
9032
9032
  __name: "RTooltip",
9033
9033
  props: {
9034
- placement: { default: l2.Top },
9034
+ placement: { default: n2.Top },
9035
9035
  text: { default: "" },
9036
9036
  dark: { type: Boolean, default: !0 },
9037
9037
  light: { type: Boolean, default: !1 },
@@ -9050,37 +9050,37 @@ const V3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9050
9050
  emits: ["show", "hide"],
9051
9051
  setup(H, { emit: V }) {
9052
9052
  const C = H;
9053
- S2((s) => ({
9054
- "271323d4": h(k)
9053
+ s2((s) => ({
9054
+ "271323d4": p(k)
9055
9055
  }));
9056
9056
  const L = D(null), M = D(null), i = D(null);
9057
9057
  function A() {
9058
9058
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9059
- Z || (M.value.style.display = "block", V("show"), f1(L, M, i, s, P, c), d(), C.outsideClick && l("add"));
9059
+ Z || (M.value.style.display = "block", V("show"), k1(L, M, i, s, P, c), d(), C.outsideClick && m("add"));
9060
9060
  }
9061
9061
  function e() {
9062
- M.value.style.display = "", V("hide"), C.outsideClick && l("remove");
9062
+ M.value.style.display = "", V("hide"), C.outsideClick && m("remove");
9063
9063
  }
9064
9064
  const d = () => {
9065
9065
  C.autoHide && setTimeout(() => {
9066
9066
  e();
9067
9067
  }, C.hideDelay);
9068
- }, l = (s) => {
9068
+ }, m = (s) => {
9069
9069
  s === "add" && document.addEventListener("click", e), s === "remove" && document.removeEventListener("click", e);
9070
- }, a = () => {
9070
+ }, o = () => {
9071
9071
  C.disabled || C.triggers == q.Click && (M.value.style.display === "block" ? e() : A());
9072
- }, m = () => {
9072
+ }, l = () => {
9073
9073
  C.disabled || C.triggers === q.Hover && A();
9074
- }, n = () => {
9074
+ }, r = () => {
9075
9075
  if (!C.disabled)
9076
9076
  if (M.value.style.display === "" && C.triggers === q.Hover) {
9077
9077
  A();
9078
9078
  return;
9079
9079
  } else
9080
9080
  M.value.style.display !== "" && C.triggers === q.Hover && e();
9081
- }, o = () => {
9081
+ }, n = () => {
9082
9082
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9083
- Z || C.triggers === q.Hover && f1(L, M, i, s, P, c);
9083
+ Z || C.triggers === q.Hover && k1(L, M, i, s, P, c);
9084
9084
  }, S = B(() => ({
9085
9085
  tooltip: !0,
9086
9086
  "tooltip--dark": C.dark,
@@ -9088,8 +9088,8 @@ const V3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9088
9088
  }));
9089
9089
  window.onresize = () => {
9090
9090
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9091
- Z || C.resizable && f1(L, M, i, s, P, c);
9092
- }, c2(
9091
+ Z || C.resizable && k1(L, M, i, s, P, c);
9092
+ }, O2(
9093
9093
  () => {
9094
9094
  C.disabled || C.shown && C.triggers === q.Manual && A();
9095
9095
  },
@@ -9097,40 +9097,40 @@ const V3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9097
9097
  // this is important to avoid infinite loop & for fire on mounted
9098
9098
  );
9099
9099
  const k = B(() => `${C.showDelay}ms`);
9100
- return (s, P) => (t(), r(C1, null, [
9100
+ return (s, P) => (t(), a(C1, null, [
9101
9101
  u("div", {
9102
9102
  ref_key: "trigger",
9103
9103
  ref: L,
9104
9104
  "aria-disabled": C.disabled,
9105
9105
  class: "trigger",
9106
- onClick: G(a, ["stop"]),
9107
- onMouseenter: G(m, ["stop"]),
9108
- onMouseleave: G(n, ["stop"]),
9109
- onMousemove: G(o, ["stop"])
9106
+ onClick: G(o, ["stop"]),
9107
+ onMouseenter: G(l, ["stop"]),
9108
+ onMouseleave: G(r, ["stop"]),
9109
+ onMousemove: G(n, ["stop"])
9110
9110
  }, [
9111
- w(s.$slots, "trigger", {}, void 0, !0),
9112
- s.$slots.trigger ? g("", !0) : (t(), r("div", {
9111
+ b(s.$slots, "trigger", {}, void 0, !0),
9112
+ s.$slots.trigger ? g("", !0) : (t(), a("div", {
9113
9113
  key: 0,
9114
9114
  innerHTML: C.triggerContent
9115
- }, null, 8, L3))
9116
- ], 40, V3),
9115
+ }, null, 8, i3))
9116
+ ], 40, A3),
9117
9117
  u("div", {
9118
9118
  id: "tooltip",
9119
9119
  ref_key: "tooltip",
9120
9120
  ref: M,
9121
- class: f(h(S)),
9121
+ class: f(p(S)),
9122
9122
  role: "tooltip"
9123
9123
  }, [
9124
- w(s.$slots, "content", {}, void 0, !0),
9125
- s.$slots.content ? g("", !0) : (t(), r("div", {
9124
+ b(s.$slots, "content", {}, void 0, !0),
9125
+ s.$slots.content ? g("", !0) : (t(), a("div", {
9126
9126
  key: 0,
9127
9127
  class: f({
9128
9128
  tooltip__content: !0,
9129
9129
  "tooltip__content--dark": C.dark,
9130
9130
  "tooltip__content--light": C.light
9131
9131
  })
9132
- }, b(C.text), 3)),
9133
- s.$slots.content ? g("", !0) : (t(), r("div", {
9132
+ }, y(C.text), 3)),
9133
+ s.$slots.content ? g("", !0) : (t(), a("div", {
9134
9134
  key: 1,
9135
9135
  id: "arrow",
9136
9136
  ref_key: "arrowElement",
@@ -9145,15 +9145,15 @@ const V3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9145
9145
  ], 64));
9146
9146
  }
9147
9147
  });
9148
- const A3 = (H, V) => {
9148
+ const d3 = (H, V) => {
9149
9149
  const C = H.__vccOpts || H;
9150
9150
  for (const [L, M] of V)
9151
9151
  C[L] = M;
9152
9152
  return C;
9153
- }, E3 = /* @__PURE__ */ A3(M3, [["__scopeId", "data-v-ee5f5651"]]), i3 = { class: "r-breadcrumb" }, e3 = {
9153
+ }, I3 = /* @__PURE__ */ d3(e3, [["__scopeId", "data-v-ee5f5651"]]), t3 = { class: "r-breadcrumb" }, m3 = {
9154
9154
  key: 0,
9155
9155
  class: "r-breadcrumb__title"
9156
- }, _3 = /* @__PURE__ */ v({
9156
+ }, Q3 = /* @__PURE__ */ v({
9157
9157
  __name: "RBreadcrumb",
9158
9158
  props: {
9159
9159
  items: { default: () => [] },
@@ -9162,9 +9162,9 @@ const A3 = (H, V) => {
9162
9162
  setup(H) {
9163
9163
  const V = H;
9164
9164
  return (C, L) => {
9165
- const M = s2("router-link");
9166
- return t(), r("div", i3, [
9167
- (t(!0), r(C1, null, L1(V.items, (i, A) => (t(), r("div", {
9165
+ const M = p2("router-link");
9166
+ return t(), a("div", t3, [
9167
+ (t(!0), a(C1, null, L1(V.items, (i, A) => (t(), a("div", {
9168
9168
  class: "r-breadcrumb__item",
9169
9169
  key: A
9170
9170
  }, [
@@ -9172,19 +9172,19 @@ const A3 = (H, V) => {
9172
9172
  to: i.to,
9173
9173
  class: "r-breadcrumb__link"
9174
9174
  }, {
9175
- default: K1(() => [
9176
- w(C.$slots, "item-icon", {}, () => [
9177
- i.icon ? (t(), x(R, {
9175
+ default: v1(() => [
9176
+ b(C.$slots, "item-icon", {}, () => [
9177
+ i.icon ? (t(), R(x, {
9178
9178
  key: 0,
9179
9179
  name: i.icon
9180
9180
  }, null, 8, ["name"])) : g("", !0)
9181
9181
  ]),
9182
- i.onlyIcon ? g("", !0) : (t(), r("span", e3, b(i.title), 1))
9182
+ i.onlyIcon ? g("", !0) : (t(), a("span", m3, y(i.title), 1))
9183
9183
  ]),
9184
9184
  _: 2
9185
9185
  }, 1032, ["to"]),
9186
- w(C.$slots, "custom-seperator", {}, () => [
9187
- A !== H.items.length - 1 && V.seperator ? (t(), x(R, {
9186
+ b(C.$slots, "custom-seperator", {}, () => [
9187
+ A !== H.items.length - 1 && V.seperator ? (t(), R(x, {
9188
9188
  key: 0,
9189
9189
  name: V.seperator,
9190
9190
  class: "r-breadcrumb__separator"
@@ -9194,21 +9194,21 @@ const A3 = (H, V) => {
9194
9194
  ]);
9195
9195
  };
9196
9196
  }
9197
- }), d3 = { class: "r-pagination" }, t3 = { class: "r-pagination__page-info" }, m3 = { key: 0 }, l3 = { class: "r-pagination__page-info__current-page" }, o3 = { class: "r-pagination__page-info__total-pages" }, n3 = { class: "r-pagination__paginator" }, r3 = ["disabled"], a3 = /* @__PURE__ */ u("path", {
9197
+ }), l3 = { class: "r-pagination" }, o3 = { class: "r-pagination__page-info" }, n3 = { key: 0 }, r3 = { class: "r-pagination__page-info__current-page" }, a3 = { class: "r-pagination__page-info__total-pages" }, Z3 = { class: "r-pagination__paginator" }, u3 = ["disabled"], S3 = /* @__PURE__ */ u("path", {
9198
9198
  stroke: "none",
9199
9199
  d: "M0 0h24v24H0z",
9200
9200
  fill: "none"
9201
- }, null, -1), Z3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), u3 = [
9202
- a3,
9203
- Z3
9204
- ], S3 = ["max", "value"], c3 = ["disabled"], s3 = /* @__PURE__ */ u("path", {
9201
+ }, null, -1), c3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), s3 = [
9202
+ S3,
9203
+ c3
9204
+ ], O3 = ["max", "value"], p3 = ["disabled"], h3 = /* @__PURE__ */ u("path", {
9205
9205
  stroke: "none",
9206
9206
  d: "M0 0h24v24H0z",
9207
9207
  fill: "none"
9208
- }, null, -1), O3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), p3 = [
9209
- s3,
9210
- O3
9211
- ], h3 = { class: "r-pagination__paginator__total" }, W3 = /* @__PURE__ */ v({
9208
+ }, null, -1), f3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), g3 = [
9209
+ h3,
9210
+ f3
9211
+ ], k3 = { class: "r-pagination__paginator__total" }, G3 = /* @__PURE__ */ v({
9212
9212
  __name: "RPagination",
9213
9213
  props: {
9214
9214
  page: { default: 1 },
@@ -9223,21 +9223,21 @@ const A3 = (H, V) => {
9223
9223
  const C = H, L = B(() => Math.ceil(C.totalItems / C.perPage)), M = (i) => {
9224
9224
  i < 1 || i > L.value || V("update:page", i);
9225
9225
  };
9226
- return (i, A) => (t(), r("div", d3, [
9227
- u("div", t3, [
9228
- H.slash ? g("", !0) : (t(), r("span", m3, b(C.pageText), 1)),
9229
- u("span", l3, b(C.page), 1),
9230
- j1(" " + b(H.slash ? "/" : C.ofText) + " ", 1),
9231
- u("span", o3, b(h(L)), 1)
9226
+ return (i, A) => (t(), a("div", l3, [
9227
+ u("div", o3, [
9228
+ H.slash ? g("", !0) : (t(), a("span", n3, y(C.pageText), 1)),
9229
+ u("span", r3, y(C.page), 1),
9230
+ Y1(" " + y(H.slash ? "/" : C.ofText) + " ", 1),
9231
+ u("span", a3, y(p(L)), 1)
9232
9232
  ]),
9233
- u("div", n3, [
9233
+ u("div", Z3, [
9234
9234
  u("button", {
9235
9235
  class: "r-pagination__paginator__prev",
9236
9236
  disabled: C.page === 1,
9237
9237
  onClick: A[0] || (A[0] = (e) => M(+C.page - 1))
9238
9238
  }, [
9239
- w(i.$slots, "prev", {}, () => [
9240
- (t(), r("svg", {
9239
+ b(i.$slots, "prev", {}, () => [
9240
+ (t(), a("svg", {
9241
9241
  class: f({ "stroke-gray-400": C.page === 1 }),
9242
9242
  xmlns: "http://www.w3.org/2000/svg",
9243
9243
  width: "16",
@@ -9248,28 +9248,28 @@ const A3 = (H, V) => {
9248
9248
  fill: "none",
9249
9249
  "stroke-linecap": "round",
9250
9250
  "stroke-linejoin": "round"
9251
- }, u3, 2))
9251
+ }, s3, 2))
9252
9252
  ])
9253
- ], 8, r3),
9253
+ ], 8, u3),
9254
9254
  u("input", {
9255
9255
  class: "r-pagination__paginator__input",
9256
9256
  type: "number",
9257
9257
  min: "1",
9258
- max: h(L),
9258
+ max: p(L),
9259
9259
  value: C.page,
9260
9260
  onBlur: A[1] || (A[1] = (e) => {
9261
9261
  var d;
9262
9262
  return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9263
9263
  })
9264
- }, null, 40, S3),
9264
+ }, null, 40, O3),
9265
9265
  u("button", {
9266
9266
  class: "r-pagination__paginator__next",
9267
- disabled: C.page === h(L),
9267
+ disabled: C.page === p(L),
9268
9268
  onClick: A[2] || (A[2] = (e) => M(+C.page + 1))
9269
9269
  }, [
9270
- w(i.$slots, "next", {}, () => [
9271
- (t(), r("svg", {
9272
- class: f({ "stroke-gray-400": C.page === h(L) }),
9270
+ b(i.$slots, "next", {}, () => [
9271
+ (t(), a("svg", {
9272
+ class: f({ "stroke-gray-400": C.page === p(L) }),
9273
9273
  xmlns: "http://www.w3.org/2000/svg",
9274
9274
  width: "16",
9275
9275
  height: "16",
@@ -9279,34 +9279,107 @@ const A3 = (H, V) => {
9279
9279
  fill: "none",
9280
9280
  "stroke-linecap": "round",
9281
9281
  "stroke-linejoin": "round"
9282
- }, p3, 2))
9282
+ }, g3, 2))
9283
9283
  ])
9284
- ], 8, c3),
9285
- u("div", h3, "/ " + b(h(L)), 1)
9284
+ ], 8, p3),
9285
+ u("div", k3, "/ " + y(p(L)), 1)
9286
9286
  ])
9287
9287
  ]));
9288
9288
  }
9289
+ }), B3 = ["value"], z3 = /* @__PURE__ */ v({
9290
+ __name: "RProgressBar",
9291
+ props: {
9292
+ value: { default: 0 },
9293
+ height: { default: 8 }
9294
+ },
9295
+ setup(H) {
9296
+ const V = H;
9297
+ return (C, L) => (t(), a("progress", {
9298
+ class: "r-progressbar",
9299
+ role: "progressbar",
9300
+ "aria-valuemax": 100,
9301
+ max: 100,
9302
+ value: V.value,
9303
+ style: T1({ height: V.height + "px" })
9304
+ }, null, 12, B3));
9305
+ }
9306
+ }), U3 = /* @__PURE__ */ v({
9307
+ __name: "RItemGroup",
9308
+ props: {
9309
+ modelValue: { default: () => [] },
9310
+ selectedClass: { default: "" },
9311
+ disabled: { type: Boolean, default: !1 },
9312
+ mandatory: { type: Boolean, default: !1 },
9313
+ max: { default: 0 },
9314
+ as: { default: "div" },
9315
+ multiple: { type: Boolean }
9316
+ },
9317
+ emits: ["update:modelValue"],
9318
+ setup(H, { emit: V }) {
9319
+ const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), i = D(C.modelValue ?? []), A = B(() => C.selectedClass);
9320
+ h1(`${L}:selectedClass`, A.value);
9321
+ const e = (m) => i.value.includes(m);
9322
+ h1(`${L}:isSelected`, e);
9323
+ const d = (m, o) => {
9324
+ C.disabled || C.mandatory && i.value.length === 1 && o || C.max && i.value.length === C.max && o || (C.multiple ? o ? i.value.push(m) : i.value = i.value.filter((l) => l !== m) : i.value = o ? [m] : [], V("update:modelValue", i.value));
9325
+ };
9326
+ return h1(`${L}:select`, d), (m, o) => (t(), R(h2(M.value), null, {
9327
+ default: v1(() => [
9328
+ b(m.$slots, "default", {
9329
+ select: d,
9330
+ isSelected: e,
9331
+ selected: i.value
9332
+ })
9333
+ ]),
9334
+ _: 3
9335
+ }));
9336
+ }
9337
+ }), $3 = /* @__PURE__ */ v({
9338
+ __name: "RItem",
9339
+ props: {
9340
+ value: { default: null },
9341
+ disabled: { type: Boolean, default: !1 },
9342
+ selectedClass: { default: "" }
9343
+ },
9344
+ setup(H) {
9345
+ const V = H, C = "rocket-ui:r-item-group", L = f1(`${C}:isSelected`), M = f1(`${C}:selectedClass`, ""), i = B(() => L(V.value) && [M, V.selectedClass]), A = f1(`${C}:select`), e = () => {
9346
+ V.disabled || A(V.value, !L(V.value));
9347
+ }, d = () => {
9348
+ V.disabled || A(V.value, !0);
9349
+ };
9350
+ return (m, o) => b(m.$slots, "default", {
9351
+ isSelected: p(L)(V.value),
9352
+ value: V.value,
9353
+ selectedClass: p(i),
9354
+ disabled: V.disabled,
9355
+ select: d,
9356
+ toggle: e
9357
+ });
9358
+ }
9289
9359
  });
9290
9360
  export {
9291
- g3 as RAccordion,
9292
- k3 as RAlert,
9293
- B3 as RAvatar,
9294
- b3 as RBadge,
9295
- _3 as RBreadcrumb,
9296
- E2 as RButton,
9297
- w3 as RCheckbox,
9298
- K2 as RChip,
9299
- y3 as RDropdown,
9300
- R as RIcon,
9301
- J1 as RLabel,
9302
- P3 as RModal,
9303
- W3 as RPagination,
9304
- T3 as RSidebar,
9305
- v3 as RSnackbar,
9306
- F3 as RSwitch,
9307
- b5 as RTabItem,
9308
- R3 as RTabs,
9309
- x3 as RTextArea,
9310
- D3 as RTextfield,
9311
- E3 as RTooltip
9361
+ y3 as RAccordion,
9362
+ w3 as RAlert,
9363
+ P3 as RAvatar,
9364
+ T3 as RBadge,
9365
+ Q3 as RBreadcrumb,
9366
+ N2 as RButton,
9367
+ v3 as RCheckbox,
9368
+ Y2 as RChip,
9369
+ F3 as RDropdown,
9370
+ x as RIcon,
9371
+ $3 as RItem,
9372
+ U3 as RItemGroup,
9373
+ H2 as RLabel,
9374
+ R3 as RModal,
9375
+ G3 as RPagination,
9376
+ z3 as RProgressbar,
9377
+ x3 as RSidebar,
9378
+ D3 as RSnackbar,
9379
+ E3 as RSwitch,
9380
+ P5 as RTabItem,
9381
+ _3 as RTabs,
9382
+ W3 as RTextArea,
9383
+ N3 as RTextfield,
9384
+ I3 as RTooltip
9312
9385
  };