@rocketui/vue 0.0.30 → 0.0.32

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 w, openBlock as t, createElementBlock as r, createElementVNode as a, unref as b, reactive as J, Fragment as Q, renderList as Y, normalizeClass as h, toDisplayString as f, createVNode as E, computed as k, renderSlot as y, createBlock as T, createCommentVNode as B, mergeProps as U1, withModifiers as K, watch as z, ref as x, withDirectives as T1, withKeys as O1, vModelText as $1, vShow as K1, onMounted as j1, withCtx as v1, createTextVNode as F1, useCssVars as q1, watchEffect as Y1, resolveComponent as X1 } from "vue";
2
- const J1 = {
1
+ import { defineComponent as P, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as k, reactive as J, Fragment as K, renderList as Y, normalizeClass as h, toDisplayString as B, createVNode as _, computed as g, renderSlot as y, createBlock as T, createCommentVNode as f, mergeProps as U1, withModifiers as E, watch as I, ref as x, withDirectives as T1, withKeys as O1, vModelText as $1, vShow as K1, onMounted as j1, withCtx as v1, createTextVNode as F1, normalizeStyle as q1, useCssVars as Y1, watchEffect as X1, resolveComponent as J1 } from "vue";
2
+ const C2 = {
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 J1 = {
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
- }, C2 = ["width", "height", "viewBox"], H2 = ["d"], v = /* @__PURE__ */ w({
7299
+ }, H2 = ["width", "height", "viewBox"], V2 = ["d"], v = /* @__PURE__ */ P({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,19 +7305,19 @@ const J1 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (t(), r("svg", {
7308
+ return (C, M) => (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
- a("path", {
7315
- d: b(J1)[V.name]
7316
- }, null, 8, H2)
7317
- ], 8, C2));
7314
+ Z("path", {
7315
+ d: k(C2)[V.name]
7316
+ }, null, 8, V2)
7317
+ ], 8, H2));
7318
7318
  }
7319
7319
  });
7320
- const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accordion__icon" }, A2 = { class: "accordion__content" }, W5 = /* @__PURE__ */ w({
7320
+ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accordion__icon" }, i2 = { class: "accordion__content" }, W5 = /* @__PURE__ */ P({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
@@ -7336,7 +7336,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7336
7336
  C[i].open = i === L ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (L, A) => (t(!0), r(Q, null, Y(C, (i, e) => (t(), r("div", {
7339
+ return (L, A) => (t(!0), a(K, null, Y(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: h({
7342
7342
  accordion: !0,
@@ -7344,26 +7344,26 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7344
7344
  "accordion--disabled": i.disabled
7345
7345
  })
7346
7346
  }, [
7347
- a("div", {
7347
+ Z("div", {
7348
7348
  class: "accordion__header",
7349
7349
  onClick: (d) => M(e)
7350
7350
  }, [
7351
- a("div", L2, f(i.title), 1),
7352
- a("div", M2, [
7353
- E(v, {
7351
+ Z("div", M2, B(i.title), 1),
7352
+ Z("div", A2, [
7353
+ _(v, {
7354
7354
  name: i.open ? "mdiChevronDown" : "mdiChevronUp"
7355
7355
  }, null, 8, ["name"])
7356
7356
  ])
7357
- ], 8, V2),
7358
- a("div", A2, [
7359
- a("span", null, f(i.content), 1)
7357
+ ], 8, L2),
7358
+ Z("div", i2, [
7359
+ Z("span", null, B(i.content), 1)
7360
7360
  ])
7361
7361
  ], 2))), 128));
7362
7362
  }
7363
- }), i2 = { class: "icon" }, e2 = { class: "texts" }, d2 = { class: "texts__title" }, t2 = { class: "texts__description" }, m2 = {
7363
+ }), e2 = { class: "icon" }, d2 = { class: "texts" }, t2 = { class: "texts__title" }, m2 = { class: "texts__description" }, l2 = {
7364
7364
  key: 0,
7365
7365
  class: "close"
7366
- }, I5 = /* @__PURE__ */ w({
7366
+ }, N5 = /* @__PURE__ */ P({
7367
7367
  __name: "RAlert",
7368
7368
  props: {
7369
7369
  type: { default: "info" },
@@ -7375,49 +7375,49 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7375
7375
  },
7376
7376
  emits: ["close"],
7377
7377
  setup(H, { emit: V }) {
7378
- const C = H, M = k(() => ({
7378
+ const C = H, M = g(() => ({
7379
7379
  alert: !0,
7380
7380
  [`alert--${C.type}`]: !0,
7381
7381
  [`alert--${C.size}`]: !0,
7382
7382
  "alert--block": C.block
7383
- })), L = k(() => ({
7383
+ })), L = g(() => ({
7384
7384
  success: "mdiCheckCircle",
7385
7385
  error: "mdiAlertCircle",
7386
7386
  warning: "mdiAlert",
7387
7387
  info: "mdiInformation"
7388
- })[C.type]), A = k(() => ({
7388
+ })[C.type]), A = g(() => ({
7389
7389
  small: 20,
7390
7390
  medium: 24,
7391
7391
  large: 28
7392
7392
  })[C.size]), i = () => {
7393
7393
  V("close");
7394
7394
  };
7395
- return (e, d) => (t(), r("div", {
7396
- class: h(b(M))
7395
+ return (e, d) => (t(), a("div", {
7396
+ class: h(k(M))
7397
7397
  }, [
7398
- a("div", i2, [
7399
- E(v, {
7400
- name: b(L),
7401
- size: b(A)
7398
+ Z("div", e2, [
7399
+ _(v, {
7400
+ name: k(L),
7401
+ size: k(A)
7402
7402
  }, null, 8, ["name", "size"])
7403
7403
  ]),
7404
- a("div", e2, [
7405
- a("p", d2, f(C.title), 1),
7406
- a("p", t2, f(C.description), 1)
7404
+ Z("div", d2, [
7405
+ Z("p", t2, B(C.title), 1),
7406
+ Z("p", m2, B(C.description), 1)
7407
7407
  ]),
7408
- C.closable ? (t(), r("div", m2, [
7408
+ C.closable ? (t(), a("div", l2, [
7409
7409
  y(e.$slots, "custom-close"),
7410
- e.$slots.close ? B("", !0) : (t(), T(v, {
7410
+ e.$slots.close ? f("", !0) : (t(), T(v, {
7411
7411
  key: 0,
7412
7412
  class: "close__button",
7413
7413
  name: "close",
7414
7414
  size: "16",
7415
7415
  onClick: i
7416
7416
  }))
7417
- ])) : B("", !0)
7417
+ ])) : f("", !0)
7418
7418
  ], 2));
7419
7419
  }
7420
- }), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", l2 = { class: "avatar__wrapper" }, o2 = ["alt", "src"], Q5 = /* @__PURE__ */ w({
7420
+ }), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", o2 = { class: "avatar__wrapper" }, n2 = ["alt", "src"], I5 = /* @__PURE__ */ P({
7421
7421
  __name: "RAvatar",
7422
7422
  props: {
7423
7423
  type: { default: "image" },
@@ -7428,38 +7428,38 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7428
7428
  text: { default: "" }
7429
7429
  },
7430
7430
  setup(H) {
7431
- const V = H, C = k(() => ({
7431
+ const V = H, C = g(() => ({
7432
7432
  avatar: !0,
7433
7433
  [`avatar--${V.size}`]: !0
7434
- })), M = k(() => V.type === "image" && !V.src), L = k(() => M.value ? p1 : V.src), A = (i) => {
7434
+ })), M = g(() => V.type === "image" && !V.src), L = g(() => M.value ? p1 : V.src), A = (i) => {
7435
7435
  const e = i.split(" ");
7436
7436
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7437
7437
  };
7438
- return (i, e) => (t(), r("div", l2, [
7439
- a("div", {
7440
- class: h(b(C))
7438
+ return (i, e) => (t(), a("div", o2, [
7439
+ Z("div", {
7440
+ class: h(k(C))
7441
7441
  }, [
7442
- V.type === "text" ? (t(), r("p", {
7442
+ V.type === "text" ? (t(), a("p", {
7443
7443
  key: 0,
7444
7444
  class: h({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7445
- }, f(A(V.text)), 3)) : (t(), r("img", {
7445
+ }, B(A(V.text)), 3)) : (t(), a("img", {
7446
7446
  key: 1,
7447
7447
  alt: V.alt,
7448
7448
  class: h({
7449
7449
  avatar__image: !0,
7450
7450
  [`avatar__image--${V.size}`]: !0,
7451
- "avatar__image--anonymous": b(M)
7451
+ "avatar__image--anonymous": k(M)
7452
7452
  }),
7453
- src: b(L)
7454
- }, null, 10, o2))
7453
+ src: k(L)
7454
+ }, null, 10, n2))
7455
7455
  ], 2),
7456
- V.online ? (t(), r("span", {
7456
+ V.online ? (t(), a("span", {
7457
7457
  key: 0,
7458
7458
  class: h({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7459
- }, null, 2)) : B("", !0)
7459
+ }, null, 2)) : f("", !0)
7460
7460
  ]));
7461
7461
  }
7462
- }), n2 = { class: "badge-wrapper group" }, G5 = /* @__PURE__ */ w({
7462
+ }), a2 = { class: "badge-wrapper group" }, Q5 = /* @__PURE__ */ P({
7463
7463
  __name: "RBadge",
7464
7464
  props: {
7465
7465
  variant: { default: "primary" },
@@ -7471,7 +7471,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7471
7471
  },
7472
7472
  emits: ["click"],
7473
7473
  setup(H) {
7474
- const V = H, C = k(() => ({
7474
+ const V = H, C = g(() => ({
7475
7475
  badge: !0,
7476
7476
  badge__content: V.content,
7477
7477
  [`badge--overlap-${V.placement}`]: V.overlap,
@@ -7481,15 +7481,15 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7481
7481
  "badge--no-content": !V.content,
7482
7482
  [`badge--${V.variant}`]: V.variant
7483
7483
  }));
7484
- return (M, L) => (t(), r("div", n2, [
7485
- a("span", {
7486
- class: h(b(C)),
7484
+ return (M, L) => (t(), a("div", a2, [
7485
+ Z("span", {
7486
+ class: h(k(C)),
7487
7487
  onClick: L[0] || (L[0] = (A) => M.$emit("click"))
7488
- }, f(V.content), 3),
7488
+ }, B(V.content), 3),
7489
7489
  y(M.$slots, "default")
7490
7490
  ]));
7491
7491
  }
7492
- }), r2 = ["disabled"], a1 = /* @__PURE__ */ w({
7492
+ }), r2 = ["disabled"], r1 = /* @__PURE__ */ P({
7493
7493
  __name: "RButton",
7494
7494
  props: {
7495
7495
  variant: { default: "primary" },
@@ -7505,29 +7505,29 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7505
7505
  },
7506
7506
  emits: ["click"],
7507
7507
  setup(H) {
7508
- const V = H, C = k(() => ({
7508
+ const V = H, C = g(() => ({
7509
7509
  button: !0,
7510
7510
  [`button--${V.variant}`]: !0,
7511
7511
  "button--loading": V.loading,
7512
7512
  [`button--${V.size || "medium"}`]: !0,
7513
7513
  "button--only-icon": V.onlyIcon,
7514
7514
  "button--block": V.block
7515
- })), M = k(() => ({
7515
+ })), M = g(() => ({
7516
7516
  small: 20,
7517
7517
  medium: 24,
7518
7518
  large: 32
7519
- })[V.size || "medium"]), L = k(() => {
7519
+ })[V.size || "medium"]), L = g(() => {
7520
7520
  const { backgroundColor: A, height: i } = V;
7521
7521
  return {
7522
7522
  backgroundColor: A,
7523
7523
  height: i ? `${i}px` : ""
7524
7524
  };
7525
7525
  });
7526
- return (A, i) => (t(), r("button", U1(A.$attrs, {
7527
- class: b(C),
7526
+ return (A, i) => (t(), a("button", U1(A.$attrs, {
7527
+ class: k(C),
7528
7528
  disabled: H.disabled || H.loading,
7529
- style: b(L),
7530
- onClick: i[0] || (i[0] = K((e) => A.$emit("click"), ["stop"]))
7529
+ style: k(L),
7530
+ onClick: i[0] || (i[0] = E((e) => A.$emit("click"), ["stop"]))
7531
7531
  }), [
7532
7532
  y(A.$slots, "custom-icon"),
7533
7533
  !A.$slots["custom-icon"] && V.prependIcon ? (t(), T(v, {
@@ -7537,24 +7537,24 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7537
7537
  "button__prepend-icon--only": V.onlyIcon
7538
7538
  }),
7539
7539
  name: V.prependIcon,
7540
- size: b(M)
7541
- }, null, 8, ["class", "name", "size"])) : B("", !0),
7542
- V.onlyIcon ? B("", !0) : y(A.$slots, "default", { key: 1 }),
7540
+ size: k(M)
7541
+ }, null, 8, ["class", "name", "size"])) : f("", !0),
7542
+ V.onlyIcon ? f("", !0) : y(A.$slots, "default", { key: 1 }),
7543
7543
  !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), T(v, {
7544
7544
  key: 2,
7545
7545
  class: "button__append-icon",
7546
7546
  name: V.appendIcon,
7547
- size: b(M)
7548
- }, null, 8, ["name", "size"])) : B("", !0)
7547
+ size: k(M)
7548
+ }, null, 8, ["name", "size"])) : f("", !0)
7549
7549
  ], 16, r2));
7550
7550
  }
7551
- }), a2 = { class: "checkbox-wrapper" }, Z2 = { class: "checkbox-container" }, S2 = ["id", "checked", "disabled", "indeterminate"], u2 = ["data-disabled"], c2 = { class: "checkbox-texts" }, s2 = ["data-disabled", "for"], O2 = {
7551
+ }), Z2 = { class: "checkbox-wrapper" }, S2 = { class: "checkbox-container" }, u2 = ["id", "checked", "disabled", "indeterminate"], c2 = ["data-disabled"], s2 = { class: "checkbox-texts" }, O2 = ["data-disabled", "for"], p2 = {
7552
7552
  key: 0,
7553
7553
  class: "checkbox-texts__error"
7554
- }, p2 = {
7554
+ }, h2 = {
7555
7555
  key: 1,
7556
7556
  class: "checkbox-texts__hint"
7557
- }, z5 = /* @__PURE__ */ w({
7557
+ }, G5 = /* @__PURE__ */ P({
7558
7558
  __name: "RCheckbox",
7559
7559
  props: {
7560
7560
  id: { default: "" },
@@ -7574,7 +7574,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7574
7574
  checked: "mdiCheck",
7575
7575
  unchecked: "",
7576
7576
  indeterminate: "mdiMinus"
7577
- }, A = k(() => M.indeterminate ? L.indeterminate : M.checked ? L.checked : L.unchecked), i = k(() => ({
7577
+ }, A = g(() => M.indeterminate ? L.indeterminate : M.checked ? L.checked : L.unchecked), i = g(() => ({
7578
7578
  checkbox: !0,
7579
7579
  "checkbox--checked": M.checked,
7580
7580
  "checkbox--disabled": C.disabled,
@@ -7583,7 +7583,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7583
7583
  })), e = (d) => {
7584
7584
  C.disabled || (M.checked = d.target.checked, M.indeterminate = !1, V("update:modelValue", M.checked));
7585
7585
  };
7586
- return z(
7586
+ return I(
7587
7587
  () => C.indeterminate,
7588
7588
  (d) => {
7589
7589
  M.indeterminate = d, d === !0 && (M.checked = !1, V("update:modelValue", M.checked));
@@ -7593,7 +7593,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7593
7593
  // TODO: find a better way to do this
7594
7594
  immediate: !0
7595
7595
  }
7596
- ), z(
7596
+ ), I(
7597
7597
  () => C.modelValue,
7598
7598
  (d) => {
7599
7599
  M.checked = d;
@@ -7603,9 +7603,9 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7603
7603
  // TODO: find a better way to do this
7604
7604
  immediate: !0
7605
7605
  }
7606
- ), (d, o) => (t(), r("div", a2, [
7607
- a("div", Z2, [
7608
- a("input", {
7606
+ ), (d, o) => (t(), a("div", Z2, [
7607
+ Z("div", S2, [
7608
+ Z("input", {
7609
7609
  id: C.id,
7610
7610
  checked: M.checked,
7611
7611
  class: "checkbox-container__input",
@@ -7613,28 +7613,28 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7613
7613
  indeterminate: M.indeterminate,
7614
7614
  type: "checkbox",
7615
7615
  onChange: e
7616
- }, null, 40, S2),
7617
- a("div", {
7618
- class: h(b(i)),
7616
+ }, null, 40, u2),
7617
+ Z("div", {
7618
+ class: h(k(i)),
7619
7619
  "data-disabled": C.disabled
7620
7620
  }, [
7621
- E(v, {
7622
- name: b(A),
7621
+ _(v, {
7622
+ name: k(A),
7623
7623
  size: 24
7624
7624
  }, null, 8, ["name"])
7625
- ], 10, u2)
7625
+ ], 10, c2)
7626
7626
  ]),
7627
- a("div", c2, [
7628
- a("label", {
7627
+ Z("div", s2, [
7628
+ Z("label", {
7629
7629
  class: "checkbox-texts__label",
7630
7630
  "data-disabled": C.disabled,
7631
7631
  for: C.id
7632
- }, f(C.label), 9, s2),
7633
- C.errorMsg ? (t(), r("p", O2, f(C.errorMsg), 1)) : (t(), r("p", p2, f(C.hint), 1))
7632
+ }, B(C.label), 9, O2),
7633
+ C.errorMsg ? (t(), a("p", p2, B(C.errorMsg), 1)) : (t(), a("p", h2, B(C.hint), 1))
7634
7634
  ])
7635
7635
  ]));
7636
7636
  }
7637
- }), h2 = { class: "chip__content__label" }, f2 = /* @__PURE__ */ w({
7637
+ }), f2 = { class: "chip__content__label" }, g2 = /* @__PURE__ */ P({
7638
7638
  __name: "RChip",
7639
7639
  props: {
7640
7640
  variant: { default: "primary" },
@@ -7647,7 +7647,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7647
7647
  },
7648
7648
  emits: ["click:chip", "click:close"],
7649
7649
  setup(H, { emit: V }) {
7650
- const C = H, M = k(() => ({
7650
+ const C = H, M = g(() => ({
7651
7651
  chip: !0,
7652
7652
  "chip--disabled": C.disabled,
7653
7653
  [`chip__${C.variant}`]: C.variant,
@@ -7657,10 +7657,10 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7657
7657
  }, A = (i) => {
7658
7658
  C.disabled || !C.closable || (i.stopPropagation(), V("click:close", i));
7659
7659
  };
7660
- return (i, e) => (t(), r("div", {
7661
- class: h(b(M))
7660
+ return (i, e) => (t(), a("div", {
7661
+ class: h(k(M))
7662
7662
  }, [
7663
- a("div", {
7663
+ Z("div", {
7664
7664
  class: "chip__content",
7665
7665
  onClick: e[0] || (e[0] = (d) => L(d))
7666
7666
  }, [
@@ -7671,9 +7671,9 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7671
7671
  "aria-disabled": C.disabled,
7672
7672
  name: C.prependIcon,
7673
7673
  size: 12
7674
- }, null, 8, ["aria-disabled", "name"])) : B("", !0)
7674
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7675
7675
  ]),
7676
- a("span", h2, f(C.label), 1)
7676
+ Z("span", f2, B(C.label), 1)
7677
7677
  ]),
7678
7678
  y(i.$slots, "append", {}, () => [
7679
7679
  C.appendIcon ? (t(), T(v, {
@@ -7683,17 +7683,17 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7683
7683
  name: C.appendIcon,
7684
7684
  size: 12,
7685
7685
  onClick: e[1] || (e[1] = (d) => A(d))
7686
- }, null, 8, ["aria-disabled", "name"])) : B("", !0)
7686
+ }, null, 8, ["aria-disabled", "name"])) : f("", !0)
7687
7687
  ])
7688
7688
  ], 2));
7689
7689
  }
7690
- }), g2 = { class: "dropdown-wrapper" }, k2 = {
7690
+ }), k2 = { class: "dropdown-wrapper" }, B2 = {
7691
7691
  key: 0,
7692
7692
  class: "dropdown__tags"
7693
- }, B2 = {
7693
+ }, b2 = {
7694
7694
  key: 1,
7695
7695
  class: "dropdown__multiple"
7696
- }, b2 = ["disabled", "placeholder", "readonly"], y2 = ["aria-disabled", "onClick"], w2 = { style: { display: "flex", "align-items": "center" } }, U5 = /* @__PURE__ */ w({
7696
+ }, y2 = ["disabled", "placeholder", "readonly"], P2 = ["aria-disabled", "onClick"], w2 = { style: { display: "flex", "align-items": "center" } }, z5 = /* @__PURE__ */ P({
7697
7697
  __name: "RDropdown",
7698
7698
  props: {
7699
7699
  placeholder: { default: "" },
@@ -7709,48 +7709,48 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7709
7709
  },
7710
7710
  emits: ["update:modelValue"],
7711
7711
  setup(H, { emit: V }) {
7712
- const C = H, M = x(""), L = J([]), A = x(!1), i = x(""), e = x(null), d = x(null), o = (Z) => {
7713
- var m, n, p, g, R, c;
7712
+ const C = H, M = x(""), L = J([]), A = x(!1), i = x(""), e = x(null), d = x(null), o = (r) => {
7713
+ var m, n, p, b, R, c;
7714
7714
  if (!C.disabled) {
7715
- if (Z.stopPropagation(), A.value = !A.value, A.value) {
7715
+ if (r.stopPropagation(), A.value = !A.value, A.value) {
7716
7716
  (m = e.value) == null || m.classList.add("dropdown--active"), (n = e.value) == null || n.focus(), C.searchable && ((p = d.value) == null || p.focus()), document.addEventListener("click", o);
7717
7717
  return;
7718
7718
  }
7719
- (g = e.value) == null || g.classList.remove("dropdown--active"), (R = e.value) == null || R.blur(), (c = d.value) == null || c.blur(), document.removeEventListener("click", o);
7719
+ (b = e.value) == null || b.classList.remove("dropdown--active"), (R = e.value) == null || R.blur(), (c = d.value) == null || c.blur(), document.removeEventListener("click", o);
7720
7720
  }
7721
- }, S = (Z, m) => {
7721
+ }, S = (r, m) => {
7722
7722
  var n;
7723
7723
  if (C.multiple || C.taggable) {
7724
- Z.stopPropagation(), L.includes(m) ? L.splice(L.indexOf(m), 1) : L.push(m), i.value = "", C.searchable && ((n = d.value) == null || n.focus());
7724
+ r.stopPropagation(), L.includes(m) ? L.splice(L.indexOf(m), 1) : L.push(m), i.value = "", C.searchable && ((n = d.value) == null || n.focus());
7725
7725
  return;
7726
7726
  }
7727
- l(Z, m);
7728
- }, l = (Z, m) => {
7727
+ l(r, m);
7728
+ }, l = (r, m) => {
7729
7729
  if (M.value === m.value) {
7730
7730
  M.value = "", i.value = "";
7731
7731
  return;
7732
7732
  }
7733
- i.value = m.label, M.value = m.value, o(Z), V("update:modelValue", m);
7734
- }, s = (Z, m) => {
7735
- if (Z instanceof KeyboardEvent && Z.key !== "Backspace" || i.value !== "")
7733
+ i.value = m.label, M.value = m.value, o(r), V("update:modelValue", m);
7734
+ }, s = (r, m) => {
7735
+ if (r instanceof KeyboardEvent && r.key !== "Backspace" || i.value !== "")
7736
7736
  return;
7737
- Z.stopPropagation();
7737
+ r.stopPropagation();
7738
7738
  const n = L.findIndex((p) => p.value === m.value);
7739
7739
  L.splice(n, 1);
7740
- }, u = (Z) => {
7740
+ }, u = (r) => {
7741
7741
  var p;
7742
7742
  if (!C.taggable)
7743
7743
  return;
7744
- Z.stopPropagation();
7744
+ r.stopPropagation();
7745
7745
  const m = i.value;
7746
7746
  if (m === "")
7747
7747
  return;
7748
- C.options.find((g) => g.label === m) || (L.push({ value: m, label: m }), i.value = "", (p = d.value) == null || p.focus());
7749
- }, O = k(() => C.searchable ? C.options.filter((m) => m.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7750
- return z(L, (Z) => {
7751
- V("update:modelValue", Z);
7752
- }), (Z, m) => (t(), r("div", g2, [
7753
- a("div", {
7748
+ C.options.find((b) => b.label === m) || (L.push({ value: m, label: m }), i.value = "", (p = d.value) == null || p.focus());
7749
+ }, O = g(() => C.searchable ? C.options.filter((m) => m.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7750
+ return I(L, (r) => {
7751
+ V("update:modelValue", r);
7752
+ }), (r, m) => (t(), a("div", k2, [
7753
+ Z("div", {
7754
7754
  ref_key: "dropdown",
7755
7755
  ref: e,
7756
7756
  class: h({
@@ -7760,7 +7760,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7760
7760
  }),
7761
7761
  onClick: o
7762
7762
  }, [
7763
- a("div", {
7763
+ Z("div", {
7764
7764
  class: h({
7765
7765
  "dropdown__prepend-icon": !0,
7766
7766
  "dropdown__prepend-icon--active": A.value
@@ -7769,22 +7769,22 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7769
7769
  C.prependIcon ? (t(), T(v, {
7770
7770
  key: 1,
7771
7771
  name: C.prependIcon
7772
- }, null, 8, ["name"])) : y(Z.$slots, "prepend-icon", { key: 0 })
7772
+ }, null, 8, ["name"])) : y(r.$slots, "prepend-icon", { key: 0 })
7773
7773
  ], 2),
7774
- C.taggable ? (t(), r("div", k2, [
7775
- (t(!0), r(Q, null, Y(L, (n, p) => (t(), T(f2, {
7774
+ C.taggable ? (t(), a("div", B2, [
7775
+ (t(!0), a(K, null, Y(L, (n, p) => (t(), T(g2, {
7776
7776
  key: p,
7777
7777
  label: n.label,
7778
7778
  appendIcon: "close",
7779
7779
  class: "dropdown__tags__chip",
7780
7780
  variant: "primary",
7781
- "onClick:close": (g) => s(g, n)
7781
+ "onClick:close": (b) => s(b, n)
7782
7782
  }, null, 8, ["label", "onClick:close"]))), 128))
7783
- ])) : B("", !0),
7784
- C.multiple ? (t(), r("div", B2, [
7785
- (t(!0), r(Q, null, Y(L, (n, p) => (t(), r("p", { key: p }, f(n.label + ","), 1))), 128))
7786
- ])) : B("", !0),
7787
- T1(a("input", {
7783
+ ])) : f("", !0),
7784
+ C.multiple ? (t(), a("div", b2, [
7785
+ (t(!0), a(K, null, Y(L, (n, p) => (t(), a("p", { key: p }, B(n.label + ","), 1))), 128))
7786
+ ])) : f("", !0),
7787
+ T1(Z("input", {
7788
7788
  id: "select",
7789
7789
  ref_key: "input",
7790
7790
  ref: d,
@@ -7801,10 +7801,10 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7801
7801
  m[1] || (m[1] = O1((n) => s(n, L[L.length - 1]), ["backspace"])),
7802
7802
  m[2] || (m[2] = O1((n) => u(n), ["enter"]))
7803
7803
  ]
7804
- }, null, 42, b2), [
7804
+ }, null, 42, y2), [
7805
7805
  [$1, i.value]
7806
7806
  ]),
7807
- a("div", {
7807
+ Z("div", {
7808
7808
  class: h({
7809
7809
  "dropdown__append-icon": !0,
7810
7810
  "dropdown__append-icon--active": A.value
@@ -7813,13 +7813,13 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7813
7813
  C.appendIcon ? (t(), T(v, {
7814
7814
  key: 1,
7815
7815
  name: C.appendIcon
7816
- }, null, 8, ["name"])) : y(Z.$slots, "append-icon", { key: 0 })
7816
+ }, null, 8, ["name"])) : y(r.$slots, "append-icon", { key: 0 })
7817
7817
  ], 2)
7818
7818
  ], 2),
7819
- a("ul", {
7819
+ Z("ul", {
7820
7820
  class: h({ "dropdown-options": !0, "dropdown-options--active": A.value })
7821
7821
  }, [
7822
- (t(!0), r(Q, null, Y(b(O), (n) => (t(), r("li", {
7822
+ (t(!0), a(K, null, Y(k(O), (n) => (t(), a("li", {
7823
7823
  key: n.value,
7824
7824
  class: h({
7825
7825
  "dropdown-options__option": !0,
@@ -7828,7 +7828,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7828
7828
  "aria-disabled": n.disabled,
7829
7829
  onClick: (p) => S(p, n)
7830
7830
  }, [
7831
- a("div", w2, [
7831
+ Z("div", w2, [
7832
7832
  n.prependIcon ? (t(), T(v, {
7833
7833
  key: 1,
7834
7834
  class: h({
@@ -7836,13 +7836,13 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7836
7836
  "dropdown-options__option__prepend-icon--active": n.value === M.value || (L == null ? void 0 : L.includes(n))
7837
7837
  }),
7838
7838
  name: n.prependIcon
7839
- }, null, 8, ["class", "name"])) : y(Z.$slots, "option-prepend", { key: 0 }),
7840
- a("p", {
7839
+ }, null, 8, ["class", "name"])) : y(r.$slots, "option-prepend", { key: 0 }),
7840
+ Z("p", {
7841
7841
  class: h({
7842
7842
  "dropdown-options__option__label": !0,
7843
7843
  "dropdown-options__option__label--active": n.value === M.value || (L == null ? void 0 : L.includes(n))
7844
7844
  })
7845
- }, f(n.label), 3)
7845
+ }, B(n.label), 3)
7846
7846
  ]),
7847
7847
  n.value === M.value || L != null && L.includes(n) ? (t(), T(v, {
7848
7848
  key: 0,
@@ -7851,12 +7851,12 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7851
7851
  "dropdown-options__option__append-icon--active": n.value === M.value || (L == null ? void 0 : L.includes(n))
7852
7852
  }),
7853
7853
  name: "mdiCheck"
7854
- }, null, 8, ["class"])) : B("", !0)
7855
- ], 10, y2))), 128))
7854
+ }, null, 8, ["class"])) : f("", !0)
7855
+ ], 10, P2))), 128))
7856
7856
  ], 2)
7857
7857
  ]));
7858
7858
  }
7859
- }), P2 = ["id", "for"], R1 = /* @__PURE__ */ w({
7859
+ }), T2 = ["id", "for"], R1 = /* @__PURE__ */ P({
7860
7860
  __name: "RLabel",
7861
7861
  props: {
7862
7862
  id: { default: "" },
@@ -7865,21 +7865,21 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7865
7865
  },
7866
7866
  setup(H) {
7867
7867
  const V = H;
7868
- return (C, M) => (t(), r("label", {
7868
+ return (C, M) => (t(), a("label", {
7869
7869
  id: V.id,
7870
7870
  for: V.for
7871
- }, f(V.text), 9, P2));
7871
+ }, B(V.text), 9, T2));
7872
7872
  }
7873
- }), T2 = ["onClick"], v2 = ["open"], F2 = { class: "dialog__header" }, R2 = {
7873
+ }), v2 = ["onClick"], F2 = ["open"], R2 = { class: "dialog__header" }, x2 = {
7874
7874
  key: 0,
7875
7875
  class: "icon"
7876
- }, x2 = {
7876
+ }, D2 = {
7877
7877
  key: 1,
7878
7878
  class: "title"
7879
- }, D2 = {
7879
+ }, E2 = {
7880
7880
  key: 2,
7881
7881
  class: "description"
7882
- }, E2 = { class: "dialog__body" }, _2 = { class: "dialog__actions" }, $5 = /* @__PURE__ */ w({
7882
+ }, _2 = { class: "dialog__body" }, W2 = { class: "dialog__actions" }, U5 = /* @__PURE__ */ P({
7883
7883
  __name: "RModal",
7884
7884
  props: {
7885
7885
  modelValue: { type: Boolean, default: !1 },
@@ -7890,71 +7890,71 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7890
7890
  },
7891
7891
  emits: ["update:modelValue"],
7892
7892
  setup(H, { emit: V }) {
7893
- const C = H, M = k(() => ({
7893
+ const C = H, M = g(() => ({
7894
7894
  dialog: !0,
7895
7895
  "dialog--block": C.block
7896
7896
  })), L = (A) => {
7897
7897
  A.target === A.currentTarget && V("update:modelValue", !1);
7898
7898
  };
7899
- return (A, i) => T1((t(), r("div", {
7899
+ return (A, i) => T1((t(), a("div", {
7900
7900
  class: "modal",
7901
- onClick: K(L, ["stop"])
7901
+ onClick: E(L, ["stop"])
7902
7902
  }, [
7903
- a("div", {
7903
+ Z("div", {
7904
7904
  role: "dialog",
7905
7905
  "aria-modal": "true",
7906
- class: h(b(M)),
7906
+ class: h(k(M)),
7907
7907
  open: C.modelValue
7908
7908
  }, [
7909
- a("div", F2, [
7909
+ Z("div", R2, [
7910
7910
  y(A.$slots, "header"),
7911
- C.icon ? (t(), r("div", R2, [
7912
- E(v, {
7911
+ C.icon ? (t(), a("div", x2, [
7912
+ _(v, {
7913
7913
  name: C.icon
7914
7914
  }, null, 8, ["name"])
7915
- ])) : B("", !0),
7916
- C.title ? (t(), r("div", x2, f(C.title), 1)) : B("", !0),
7917
- C.description ? (t(), r("div", D2, f(C.description), 1)) : B("", !0)
7915
+ ])) : f("", !0),
7916
+ C.title ? (t(), a("div", D2, B(C.title), 1)) : f("", !0),
7917
+ C.description ? (t(), a("div", E2, B(C.description), 1)) : f("", !0)
7918
7918
  ]),
7919
- a("div", E2, [
7919
+ Z("div", _2, [
7920
7920
  y(A.$slots, "default")
7921
7921
  ]),
7922
- a("div", _2, [
7922
+ Z("div", W2, [
7923
7923
  y(A.$slots, "actions")
7924
7924
  ])
7925
- ], 10, v2)
7926
- ], 8, T2)), [
7925
+ ], 10, F2)
7926
+ ], 8, v2)), [
7927
7927
  [K1, H.modelValue]
7928
7928
  ]);
7929
7929
  }
7930
- }), N2 = { class: "nav" }, W2 = { class: "actions" }, K5 = /* @__PURE__ */ w({
7930
+ }), N2 = { class: "nav" }, I2 = { class: "actions" }, $5 = /* @__PURE__ */ P({
7931
7931
  __name: "RSidebar",
7932
7932
  props: {
7933
7933
  modelValue: { type: Boolean, default: !1 }
7934
7934
  },
7935
7935
  setup(H) {
7936
- const V = H, C = k(() => ({
7936
+ const V = H, C = g(() => ({
7937
7937
  sidebar: !0,
7938
7938
  "sidebar--open": V.modelValue
7939
7939
  }));
7940
- return (M, L) => (t(), r("aside", {
7941
- class: h(b(C))
7940
+ return (M, L) => (t(), a("aside", {
7941
+ class: h(k(C))
7942
7942
  }, [
7943
- a("nav", N2, [
7943
+ Z("nav", N2, [
7944
7944
  y(M.$slots, "default")
7945
7945
  ]),
7946
- a("div", W2, [
7946
+ Z("div", I2, [
7947
7947
  y(M.$slots, "actions")
7948
7948
  ])
7949
7949
  ], 2));
7950
7950
  }
7951
- }), I2 = { class: "snackbar__text" }, Q2 = {
7951
+ }), Q2 = { class: "snackbar__text" }, G2 = {
7952
7952
  key: 0,
7953
7953
  class: "snackbar__action"
7954
- }, G2 = {
7954
+ }, z2 = {
7955
7955
  key: 1,
7956
7956
  class: "snackbar__close"
7957
- }, j5 = /* @__PURE__ */ w({
7957
+ }, K5 = /* @__PURE__ */ P({
7958
7958
  __name: "RSnackbar",
7959
7959
  props: {
7960
7960
  text: { default: "" },
@@ -7976,52 +7976,52 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
7976
7976
  C.timeout && setTimeout(() => {
7977
7977
  M.value = !1, V("close");
7978
7978
  }, C.timeout);
7979
- }), z(
7979
+ }), I(
7980
7980
  () => C.show,
7981
7981
  (i) => {
7982
7982
  M.value = i;
7983
7983
  },
7984
7984
  { immediate: !0 }
7985
- ), (i, e) => (t(), r("div", {
7985
+ ), (i, e) => (t(), a("div", {
7986
7986
  class: h({
7987
7987
  snackbar: !0,
7988
7988
  "snackbar--closed": !M.value,
7989
7989
  [C.left ? "snackbar--left" : "snackbar--right"]: !0
7990
7990
  })
7991
7991
  }, [
7992
- a("div", I2, f(C.text), 1),
7993
- C.showAction ? (t(), r("div", Q2, [
7992
+ Z("div", Q2, B(C.text), 1),
7993
+ C.showAction ? (t(), a("div", G2, [
7994
7994
  y(i.$slots, "action"),
7995
- i.$slots.action ? B("", !0) : (t(), T(a1, {
7995
+ i.$slots.action ? f("", !0) : (t(), T(r1, {
7996
7996
  key: 0,
7997
7997
  size: "small",
7998
7998
  variant: "ghost",
7999
7999
  onClick: L
8000
8000
  }, {
8001
8001
  default: v1(() => [
8002
- F1(f(C.actionText), 1)
8002
+ F1(B(C.actionText), 1)
8003
8003
  ]),
8004
8004
  _: 1
8005
8005
  }))
8006
- ])) : B("", !0),
8007
- C.showClose ? (t(), r("div", G2, [
8006
+ ])) : f("", !0),
8007
+ C.showClose ? (t(), a("div", z2, [
8008
8008
  y(i.$slots, "close"),
8009
- i.$slots.close ? B("", !0) : (t(), T(v, {
8009
+ i.$slots.close ? f("", !0) : (t(), T(v, {
8010
8010
  key: 0,
8011
8011
  name: "mdiClose",
8012
8012
  size: 20,
8013
- onClick: K(A, ["stop"])
8013
+ onClick: E(A, ["stop"])
8014
8014
  }, null, 8, ["onClick"]))
8015
- ])) : B("", !0)
8015
+ ])) : f("", !0)
8016
8016
  ], 2));
8017
8017
  }
8018
- }), z2 = { class: "switch-container" }, U2 = ["id", "checked"], $2 = /* @__PURE__ */ a("span", { class: "slider round" }, null, -1), K2 = ["id", "for"], j2 = {
8018
+ }), U2 = { class: "switch-container" }, $2 = ["id", "checked"], K2 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), j2 = ["id", "for"], q2 = {
8019
8019
  key: 0,
8020
8020
  class: "switch-texts__error"
8021
- }, q2 = {
8021
+ }, Y2 = {
8022
8022
  key: 1,
8023
8023
  class: "switch-texts__hint"
8024
- }, q5 = /* @__PURE__ */ w({
8024
+ }, j5 = /* @__PURE__ */ P({
8025
8025
  __name: "RSwitch",
8026
8026
  props: {
8027
8027
  id: { default: "switch" },
@@ -8036,7 +8036,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
8036
8036
  setup(H, { emit: V }) {
8037
8037
  const C = H, M = J({
8038
8038
  checked: !1
8039
- }), L = k(() => ({
8039
+ }), L = g(() => ({
8040
8040
  switch: !0,
8041
8041
  "switch--disabled": C.disabled,
8042
8042
  [`switch--${C.size}`]: C.size,
@@ -8044,7 +8044,7 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
8044
8044
  })), A = (i) => {
8045
8045
  C.disabled || (M.checked = i.target.checked, V("update:modelValue", M.checked));
8046
8046
  };
8047
- return z(
8047
+ return I(
8048
8048
  () => C.modelValue,
8049
8049
  (i) => {
8050
8050
  M.checked = i;
@@ -8054,114 +8054,150 @@ const V2 = ["onClick"], L2 = { class: "accordion__title" }, M2 = { class: "accor
8054
8054
  // TODO: find a better way to do this
8055
8055
  immediate: !0
8056
8056
  }
8057
- ), (i, e) => (t(), r("div", z2, [
8058
- a("div", {
8059
- class: h(b(L))
8057
+ ), (i, e) => (t(), a("div", U2, [
8058
+ Z("div", {
8059
+ class: h(k(L))
8060
8060
  }, [
8061
- a("input", {
8061
+ Z("input", {
8062
8062
  id: C.id,
8063
8063
  checked: M.checked,
8064
8064
  class: "switch__input",
8065
8065
  type: "checkbox",
8066
8066
  onChange: A
8067
- }, null, 40, U2),
8068
- $2
8067
+ }, null, 40, $2),
8068
+ K2
8069
8069
  ], 2),
8070
- a("div", {
8070
+ Z("div", {
8071
8071
  class: h({
8072
8072
  "switch-texts": !0,
8073
8073
  [`switch-texts--${C.size}`]: !0
8074
8074
  })
8075
8075
  }, [
8076
- a("label", {
8076
+ Z("label", {
8077
8077
  id: C.id,
8078
8078
  class: "switch-texts__label",
8079
8079
  for: C.id
8080
- }, f(C.label), 9, K2),
8081
- C.errorMsg ? (t(), r("p", j2, f(C.errorMsg), 1)) : (t(), r("p", q2, f(C.hint), 1))
8080
+ }, B(C.label), 9, j2),
8081
+ C.errorMsg ? (t(), a("p", q2, B(C.errorMsg), 1)) : (t(), a("p", Y2, B(C.hint), 1))
8082
8082
  ], 2)
8083
8083
  ]));
8084
8084
  }
8085
8085
  });
8086
- var i1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT_ONLY = "text-only", H.ICON_ONLY = "icon-only", H))(i1 || {});
8087
- const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8088
- key: 2,
8086
+ var H1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(H1 || {});
8087
+ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8088
+ key: 0,
8089
8089
  class: "tab-item__label"
8090
- }, J2 = /* @__PURE__ */ w({
8090
+ }, C5 = /* @__PURE__ */ P({
8091
8091
  __name: "RTabItem",
8092
8092
  props: {
8093
8093
  id: null,
8094
- variant: { default: i1.DEFAULT },
8094
+ variant: { default: H1.DEFAULT },
8095
8095
  label: { default: "" },
8096
- icon: { default: "" },
8097
- disabled: { default: !1 },
8098
- active: { default: !1 },
8099
- modelValue: { default: "" }
8096
+ prependIcon: { default: "" },
8097
+ appendIcon: { default: "" },
8098
+ disabled: { type: Boolean, default: !1 },
8099
+ modelValue: { default: "" },
8100
+ tile: { type: Boolean, default: !1 },
8101
+ block: { type: Boolean, default: !1 },
8102
+ color: { default: "" }
8100
8103
  },
8101
- emits: ["update:modelValue"],
8104
+ emits: ["update:modelValue", "click:icon"],
8102
8105
  setup(H, { emit: V }) {
8103
- const C = H, M = k(() => ({
8106
+ const C = H, M = g(() => ({
8104
8107
  "tab-item": !0,
8105
- [`tab-item--${C.variant}`]: !0
8108
+ [`tab-item--${C.variant}`]: !0,
8109
+ "tab-item--tile": C.tile,
8110
+ "tab-item--block": C.block
8111
+ })), L = g(() => ({
8112
+ color: C.color
8106
8113
  }));
8107
- function L(A) {
8108
- V("update:modelValue", A);
8114
+ function A(e) {
8115
+ V("update:modelValue", e);
8116
+ }
8117
+ function i() {
8118
+ V("click:icon");
8109
8119
  }
8110
- return (A, i) => (t(), r("button", {
8120
+ return (e, d) => (t(), a("button", {
8111
8121
  "aria-disabled": C.disabled,
8112
- "aria-selected": C.active,
8113
- class: h(b(M)),
8122
+ "aria-selected": C.modelValue === C.id,
8123
+ class: h(k(M)),
8124
+ style: q1(k(L)),
8114
8125
  disabled: C.disabled,
8115
- onClick: i[0] || (i[0] = (e) => L(C.id))
8126
+ onClick: d[0] || (d[0] = E((o) => A(C.id), ["stop"]))
8116
8127
  }, [
8117
- !A.$slots.icon && H.variant !== b(i1).TEXT_ONLY ? (t(), T(v, {
8118
- key: 0,
8119
- class: "tab-item__icon",
8120
- name: C.icon
8121
- }, null, 8, ["name"])) : y(A.$slots, "custom-icon", { key: 1 }),
8122
- H.variant !== b(i1).ICON_ONLY ? (t(), r("span", X2, f(C.label), 1)) : B("", !0)
8123
- ], 10, Y2));
8128
+ y(e.$slots, "prepend", {}, () => [
8129
+ C.variant !== k(H1).TEXT && C.prependIcon ? (t(), T(v, {
8130
+ key: 0,
8131
+ class: "tab-item__prepend-icon",
8132
+ name: C.prependIcon,
8133
+ size: 16
8134
+ }, null, 8, ["name"])) : f("", !0)
8135
+ ]),
8136
+ C.variant !== k(H1).ICON ? (t(), a("span", J2, B(C.label), 1)) : f("", !0),
8137
+ y(e.$slots, "append", {}, () => [
8138
+ C.variant !== k(H1).TEXT && C.appendIcon ? (t(), T(v, {
8139
+ key: 0,
8140
+ class: "tab-item__append-icon",
8141
+ name: C.appendIcon,
8142
+ size: 16,
8143
+ onClick: E(i, ["stop"])
8144
+ }, null, 8, ["name", "onClick"])) : f("", !0)
8145
+ ])
8146
+ ], 14, X2));
8124
8147
  }
8125
- }), C5 = { class: "tabs-wrapper" }, H5 = { class: "tab-content" }, Y5 = /* @__PURE__ */ w({
8148
+ }), q5 = /* @__PURE__ */ P({
8126
8149
  __name: "RTabs",
8127
8150
  props: {
8128
8151
  tabs: { default: () => [] },
8129
- scrollable: { type: Boolean, default: !1 }
8152
+ block: { type: Boolean, default: !1 },
8153
+ modelValue: { default: "" },
8154
+ tile: { type: Boolean, default: !1 }
8130
8155
  },
8131
- setup(H) {
8132
- const V = H, C = x(0), M = k(() => ({
8156
+ emits: ["update:modelValue"],
8157
+ setup(H, { emit: V }) {
8158
+ const C = H, M = x(C.modelValue || C.tabs[0].id), L = g(() => ({
8133
8159
  tabs: !0,
8134
- "tabs--scrollable": V.scrollable
8160
+ "tabs--block": C.block,
8161
+ "tabs--tile": C.tile
8135
8162
  }));
8136
- return (L, A) => (t(), r(Q, null, [
8137
- a("div", C5, [
8138
- a("div", {
8139
- class: h(b(M))
8140
- }, [
8141
- (t(!0), r(Q, null, Y(V.tabs, (i, e) => (t(), T(J2, {
8142
- id: i.id,
8143
- key: e,
8144
- modelValue: C.value,
8145
- "onUpdate:modelValue": A[0] || (A[0] = (d) => C.value = d),
8146
- active: e === C.value,
8147
- disabled: i.disabled,
8148
- icon: i.icon,
8149
- label: i.label
8150
- }, null, 8, ["id", "modelValue", "active", "disabled", "icon", "label"]))), 128))
8151
- ], 2)
8152
- ]),
8153
- a("div", H5, [
8154
- y(L.$slots, "tab", { activeTab: C.value })
8163
+ I(
8164
+ () => M.value,
8165
+ () => {
8166
+ V("update:modelValue", M.value);
8167
+ }
8168
+ );
8169
+ const A = () => {
8170
+ alert("Icon clicked");
8171
+ };
8172
+ return (i, e) => (t(), a("div", {
8173
+ class: h(k(L))
8174
+ }, [
8175
+ y(i.$slots, "default", {}, () => [
8176
+ (t(!0), a(K, null, Y(C.tabs, (d, o) => (t(), T(C5, {
8177
+ id: d.id,
8178
+ key: o,
8179
+ modelValue: M.value,
8180
+ "onUpdate:modelValue": e[0] || (e[0] = (S) => M.value = S),
8181
+ active: o === M.value,
8182
+ disabled: d.disabled,
8183
+ prependIcon: d.prependIcon,
8184
+ appendIcon: d.appendIcon,
8185
+ label: d.label,
8186
+ variant: d.variant,
8187
+ tile: H.tile,
8188
+ block: H.block,
8189
+ "onClick:icon": A
8190
+ }, null, 8, ["id", "modelValue", "active", "disabled", "prependIcon", "appendIcon", "label", "variant", "tile", "block"]))), 128))
8155
8191
  ])
8156
- ], 64));
8192
+ ], 2));
8157
8193
  }
8158
- }), V5 = { class: "container" }, L5 = ["id", "disabled", "placeholder", "value"], M5 = {
8194
+ }), H5 = { class: "container" }, V5 = ["id", "disabled", "placeholder", "value"], L5 = {
8159
8195
  key: 1,
8160
8196
  class: "textarea__error"
8161
- }, A5 = {
8197
+ }, M5 = {
8162
8198
  key: 2,
8163
8199
  class: "textarea__hint"
8164
- }, X5 = /* @__PURE__ */ w({
8200
+ }, Y5 = /* @__PURE__ */ P({
8165
8201
  __name: "RTextArea",
8166
8202
  props: {
8167
8203
  id: { default: "" },
@@ -8180,7 +8216,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8180
8216
  function L(A) {
8181
8217
  V("update:modelValue", A.target.value);
8182
8218
  }
8183
- return z(
8219
+ return I(
8184
8220
  () => C.modelValue,
8185
8221
  (A) => {
8186
8222
  M.value = A;
@@ -8188,15 +8224,15 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8188
8224
  {
8189
8225
  immediate: !0
8190
8226
  }
8191
- ), (A, i) => (t(), r("div", V5, [
8227
+ ), (A, i) => (t(), a("div", H5, [
8192
8228
  C.label ? (t(), T(R1, {
8193
8229
  key: 0,
8194
8230
  id: "textarea",
8195
8231
  class: "textarea__label",
8196
8232
  for: "textarea",
8197
8233
  text: C.label
8198
- }, null, 8, ["text"])) : B("", !0),
8199
- a("textarea", {
8234
+ }, null, 8, ["text"])) : f("", !0),
8235
+ Z("textarea", {
8200
8236
  id: C.id,
8201
8237
  class: h(["textarea", {
8202
8238
  "textarea--error": C.errorMsg,
@@ -8206,18 +8242,18 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8206
8242
  placeholder: C.placeholder,
8207
8243
  value: M.value,
8208
8244
  onInput: L
8209
- }, null, 42, L5),
8210
- C.errorMsg ? (t(), r("p", M5, f(C.errorMsg), 1)) : (t(), r("p", A5, f(C.hint), 1))
8245
+ }, null, 42, V5),
8246
+ C.errorMsg ? (t(), a("p", L5, B(C.errorMsg), 1)) : (t(), a("p", M5, B(C.hint), 1))
8211
8247
  ]));
8212
8248
  }
8213
- }), i5 = {
8249
+ }), A5 = {
8214
8250
  class: /* @__PURE__ */ h({
8215
8251
  textfield__wrapper: !0
8216
8252
  })
8217
- }, e5 = { class: "input-wrapper" }, d5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], t5 = { class: "textfield__error" }, m5 = {
8253
+ }, i5 = { class: "input-wrapper" }, e5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], d5 = { class: "textfield__error" }, t5 = {
8218
8254
  key: 0,
8219
8255
  class: "textfield__hint"
8220
- }, l5 = /* @__PURE__ */ w({
8256
+ }, m5 = /* @__PURE__ */ P({
8221
8257
  __name: "RTextfield",
8222
8258
  props: {
8223
8259
  id: { default: "" },
@@ -8253,11 +8289,11 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8253
8289
  url: "link",
8254
8290
  number: "123",
8255
8291
  text: ""
8256
- }, e = x(!1), d = k(() => !!L.value), o = k(() => {
8257
- const { disabled: c, loading: F, clearable: $, errorMsg: P } = C;
8292
+ }, e = x(!1), d = g(() => !!L.value), o = g(() => {
8293
+ const { disabled: c, loading: F, clearable: $, errorMsg: w } = C;
8258
8294
  return {
8259
8295
  textfield: !0,
8260
- "textfield--error": P == null ? void 0 : P.length,
8296
+ "textfield--error": w == null ? void 0 : w.length,
8261
8297
  "textfield--loading": F,
8262
8298
  "textfield--disabled": c,
8263
8299
  "textfield--clearable": $,
@@ -8265,27 +8301,27 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8265
8301
  "textfield--filled": d.value
8266
8302
  };
8267
8303
  });
8268
- k(() => ({
8304
+ g(() => ({
8269
8305
  "textfield__prepend-icon": !0,
8270
8306
  "textfield__prepend-icon--loading": C.loading,
8271
8307
  "textfield__prepend-icon--error": s.value && d.value
8272
8308
  }));
8273
- const S = k(() => ({
8309
+ const S = g(() => ({
8274
8310
  "textfield__append-icon": !0,
8275
8311
  "textfield__append-icon--clear": u.value,
8276
8312
  "textfield__append-icon--error": s.value
8277
- })), l = k(() => L.value.length > 0), s = k(() => {
8313
+ })), l = g(() => L.value.length > 0), s = g(() => {
8278
8314
  var c;
8279
8315
  return (c = C.errorMsg) == null ? void 0 : c.length;
8280
- }), u = k(() => C.clearable && l.value);
8281
- k(() => {
8316
+ }), u = g(() => C.clearable && l.value);
8317
+ g(() => {
8282
8318
  const { prependIcon: c, type: F } = C;
8283
8319
  return c || i[F];
8284
8320
  });
8285
- const O = k(() => {
8321
+ const O = g(() => {
8286
8322
  const { appendIcon: c, type: F } = C;
8287
8323
  return s.value ? "mdiAlertCircleOutline" : u.value && ["text", "email"].includes(F) ? "mdiClose" : F === "password" && A.value === "password" ? "mdiEyeOutline" : F === "password" && A.value === "text" ? "mdiEyeOffOutline" : c;
8288
- }), Z = () => {
8324
+ }), r = () => {
8289
8325
  e.value = !0, V("focus", {
8290
8326
  value: A.value === "number" ? +L.value : L.value
8291
8327
  });
@@ -8306,7 +8342,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8306
8342
  }), p();
8307
8343
  }, p = () => {
8308
8344
  A.value = A.value === "password" ? "text" : "password";
8309
- }, g = (c) => {
8345
+ }, b = (c) => {
8310
8346
  const F = c.target;
8311
8347
  L.value = F.value, V("input", {
8312
8348
  value: A.value === "number" ? +L.value : L.value
@@ -8315,7 +8351,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8315
8351
  var c;
8316
8352
  (c = M.value) == null || c.focus();
8317
8353
  };
8318
- return z(
8354
+ return I(
8319
8355
  () => C.modelValue,
8320
8356
  (c) => {
8321
8357
  L.value = c;
@@ -8323,7 +8359,7 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8323
8359
  {
8324
8360
  immediate: !0
8325
8361
  }
8326
- ), z(
8362
+ ), I(
8327
8363
  () => L.value,
8328
8364
  (c) => {
8329
8365
  V(
@@ -8331,9 +8367,9 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8331
8367
  A.value === "number" ? +c : c
8332
8368
  );
8333
8369
  }
8334
- ), (c, F) => (t(), r("fieldset", null, [
8335
- a("div", i5, [
8336
- E(R1, {
8370
+ ), (c, F) => (t(), a("fieldset", null, [
8371
+ Z("div", A5, [
8372
+ _(R1, {
8337
8373
  id: C.id,
8338
8374
  class: h({
8339
8375
  textfield__label: !0
@@ -8342,13 +8378,13 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8342
8378
  text: C.label,
8343
8379
  onClick: R
8344
8380
  }, null, 8, ["id", "for", "text"]),
8345
- a("div", e5, [
8346
- a("div", {
8347
- class: h(b(o))
8381
+ Z("div", i5, [
8382
+ Z("div", {
8383
+ class: h(k(o))
8348
8384
  }, [
8349
8385
  y(c.$slots, "prepend"),
8350
- B("", !0),
8351
- a("input", {
8386
+ f("", !0),
8387
+ Z("input", {
8352
8388
  ref_key: "inputRef",
8353
8389
  ref: M,
8354
8390
  id: C.id,
@@ -8359,42 +8395,42 @@ const Y2 = ["aria-disabled", "aria-selected", "disabled"], X2 = {
8359
8395
  min: C.min,
8360
8396
  max: C.max,
8361
8397
  onBlur: m,
8362
- onFocus: Z,
8363
- onInput: g
8364
- }, null, 40, d5),
8398
+ onFocus: r,
8399
+ onInput: b
8400
+ }, null, 40, e5),
8365
8401
  y(c.$slots, "append"),
8366
- b(O) && !c.$slots.append ? (t(), T(v, {
8402
+ k(O) && !c.$slots.append ? (t(), T(v, {
8367
8403
  key: 1,
8368
- class: h(b(S)),
8369
- name: `${b(O)}`,
8404
+ class: h(k(S)),
8405
+ name: `${k(O)}`,
8370
8406
  size: 20,
8371
8407
  onClick: n
8372
- }, null, 8, ["class", "name"])) : B("", !0)
8408
+ }, null, 8, ["class", "name"])) : f("", !0)
8373
8409
  ], 2),
8374
- a("div", t5, f(C.errorMsg), 1),
8375
- C.errorMsg ? B("", !0) : (t(), r("div", m5, f(C.hint), 1))
8410
+ Z("div", d5, B(C.errorMsg), 1),
8411
+ C.errorMsg ? f("", !0) : (t(), a("div", t5, B(C.hint), 1))
8376
8412
  ])
8377
8413
  ])
8378
8414
  ]));
8379
8415
  }
8380
8416
  });
8381
- function L1(H) {
8417
+ function M1(H) {
8382
8418
  return H.split("-")[0];
8383
8419
  }
8384
8420
  function l1(H) {
8385
8421
  return H.split("-")[1];
8386
8422
  }
8387
- function M1(H) {
8388
- return ["top", "bottom"].includes(L1(H)) ? "x" : "y";
8423
+ function A1(H) {
8424
+ return ["top", "bottom"].includes(M1(H)) ? "x" : "y";
8389
8425
  }
8390
8426
  function u1(H) {
8391
8427
  return H === "y" ? "height" : "width";
8392
8428
  }
8393
8429
  function h1(H, V, C) {
8394
8430
  let { reference: M, floating: L } = H;
8395
- const A = M.x + M.width / 2 - L.width / 2, i = M.y + M.height / 2 - L.height / 2, e = M1(V), d = u1(e), o = M[d] / 2 - L[d] / 2, S = e === "x";
8431
+ const A = M.x + M.width / 2 - L.width / 2, i = M.y + M.height / 2 - L.height / 2, e = A1(V), d = u1(e), o = M[d] / 2 - L[d] / 2, S = e === "x";
8396
8432
  let l;
8397
- switch (L1(V)) {
8433
+ switch (M1(V)) {
8398
8434
  case "top":
8399
8435
  l = { x: A, y: M.y - L.height };
8400
8436
  break;
@@ -8419,12 +8455,12 @@ function h1(H, V, C) {
8419
8455
  }
8420
8456
  return l;
8421
8457
  }
8422
- const o5 = async (H, V, C) => {
8458
+ const l5 = async (H, V, C) => {
8423
8459
  const { placement: M = "bottom", strategy: L = "absolute", middleware: A = [], platform: i } = C, e = A.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8424
8460
  let o = await i.getElementRects({ reference: H, floating: V, strategy: L }), { x: S, y: l } = h1(o, M, d), s = M, u = {}, O = 0;
8425
- for (let Z = 0; Z < e.length; Z++) {
8426
- const { name: m, fn: n } = e[Z], { x: p, y: g, data: R, reset: c } = await n({ x: S, y: l, initialPlacement: M, placement: s, strategy: L, middlewareData: u, rects: o, platform: i, elements: { reference: H, floating: V } });
8427
- S = p ?? S, l = g ?? l, u = { ...u, [m]: { ...u[m], ...R } }, c && O <= 50 && (O++, typeof c == "object" && (c.placement && (s = c.placement), c.rects && (o = c.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: L }) : c.rects), { x: S, y: l } = h1(o, s, d)), Z = -1);
8461
+ for (let r = 0; r < e.length; r++) {
8462
+ const { name: m, fn: n } = e[r], { x: p, y: b, data: R, reset: c } = await n({ x: S, y: l, initialPlacement: M, placement: s, strategy: L, middlewareData: u, rects: o, platform: i, elements: { reference: H, floating: V } });
8463
+ S = p ?? S, l = b ?? l, u = { ...u, [m]: { ...u[m], ...R } }, c && O <= 50 && (O++, typeof c == "object" && (c.placement && (s = c.placement), c.rects && (o = c.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: L }) : c.rects), { x: S, y: l } = h1(o, s, d)), r = -1);
8428
8464
  }
8429
8465
  return { x: S, y: l, placement: s, strategy: L, middlewareData: u };
8430
8466
  };
@@ -8439,60 +8475,60 @@ function e1(H) {
8439
8475
  async function d1(H, V) {
8440
8476
  var C;
8441
8477
  V === void 0 && (V = {});
8442
- const { x: M, y: L, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: o = "clippingAncestors", rootBoundary: S = "viewport", elementContext: l = "floating", altBoundary: s = !1, padding: u = 0 } = V, O = x1(u), Z = e[s ? l === "floating" ? "reference" : "floating" : l], m = e1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(Z))) == null || C ? Z : Z.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: o, rootBoundary: S, strategy: d })), n = e1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: M, y: L } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8478
+ const { x: M, y: L, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: o = "clippingAncestors", rootBoundary: S = "viewport", elementContext: l = "floating", altBoundary: s = !1, padding: u = 0 } = V, O = x1(u), r = e[s ? l === "floating" ? "reference" : "floating" : l], m = e1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(r))) == null || C ? r : r.contextElement || await (A.getDocumentElement == null ? void 0 : A.getDocumentElement(e.floating)), boundary: o, rootBoundary: S, strategy: d })), n = e1(A.convertOffsetParentRelativeRectToViewportRelativeRect ? await A.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: M, y: L } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8443
8479
  return { top: m.top - n.top + O.top, bottom: n.bottom - m.bottom + O.bottom, left: m.left - n.left + O.left, right: n.right - m.right + O.right };
8444
8480
  }
8445
- const n5 = Math.min, r5 = Math.max;
8481
+ const o5 = Math.min, n5 = Math.max;
8446
8482
  function Z1(H, V, C) {
8447
- return r5(H, n5(V, C));
8483
+ return n5(H, o5(V, C));
8448
8484
  }
8449
8485
  const a5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8450
8486
  const { element: C, padding: M = 0 } = H ?? {}, { x: L, y: A, placement: i, rects: e, platform: d } = V;
8451
8487
  if (C == null)
8452
8488
  return {};
8453
- const o = x1(M), S = { x: L, y: A }, l = M1(i), s = l1(i), u = u1(l), O = await d.getDimensions(C), Z = l === "y" ? "top" : "left", m = l === "y" ? "bottom" : "right", n = e.reference[u] + e.reference[l] - S[l] - e.floating[u], p = S[l] - e.reference[l], g = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8454
- let R = g ? l === "y" ? g.clientHeight || 0 : g.clientWidth || 0 : 0;
8489
+ const o = x1(M), S = { x: L, y: A }, l = A1(i), s = l1(i), u = u1(l), O = await d.getDimensions(C), r = l === "y" ? "top" : "left", m = l === "y" ? "bottom" : "right", n = e.reference[u] + e.reference[l] - S[l] - e.floating[u], p = S[l] - e.reference[l], b = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8490
+ let R = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0;
8455
8491
  R === 0 && (R = e.floating[u]);
8456
- const c = n / 2 - p / 2, F = o[Z], $ = R - O[u] - o[m], P = R / 2 - O[u] / 2 + c, D = Z1(F, P, $), q = (s === "start" ? o[Z] : o[m]) > 0 && P !== D && e.reference[u] <= e.floating[u];
8457
- return { [l]: S[l] - (q ? P < F ? F - P : $ - P : 0), data: { [l]: D, centerOffset: P - D } };
8458
- } }), Z5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8492
+ const c = n / 2 - p / 2, F = o[r], $ = R - O[u] - o[m], w = R / 2 - O[u] / 2 + c, D = Z1(F, w, $), q = (s === "start" ? o[r] : o[m]) > 0 && w !== D && e.reference[u] <= e.floating[u];
8493
+ return { [l]: S[l] - (q ? w < F ? F - w : $ - w : 0), data: { [l]: D, centerOffset: w - D } };
8494
+ } }), r5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8459
8495
  function t1(H) {
8460
- return H.replace(/left|right|bottom|top/g, (V) => Z5[V]);
8496
+ return H.replace(/left|right|bottom|top/g, (V) => r5[V]);
8461
8497
  }
8462
- function S5(H, V, C) {
8498
+ function Z5(H, V, C) {
8463
8499
  C === void 0 && (C = !1);
8464
- const M = l1(H), L = M1(H), A = u1(L);
8500
+ const M = l1(H), L = A1(H), A = u1(L);
8465
8501
  let i = L === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
8466
8502
  return V.reference[A] > V.floating[A] && (i = t1(i)), { main: i, cross: t1(i) };
8467
8503
  }
8468
- const u5 = { start: "end", end: "start" };
8504
+ const S5 = { start: "end", end: "start" };
8469
8505
  function f1(H) {
8470
- return H.replace(/start|end/g, (V) => u5[V]);
8506
+ return H.replace(/start|end/g, (V) => S5[V]);
8471
8507
  }
8472
8508
  const D1 = ["top", "right", "bottom", "left"];
8473
8509
  D1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8474
- const c5 = function(H) {
8510
+ const u5 = function(H) {
8475
8511
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8476
8512
  var C;
8477
- const { placement: M, middlewareData: L, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: o = !0, crossAxis: S = !0, fallbackPlacements: l, fallbackStrategy: s = "bestFit", flipAlignment: u = !0, ...O } = H, Z = L1(M), m = l || (Z === i || !u ? [t1(i)] : function(P) {
8478
- const D = t1(P);
8479
- return [f1(P), D, f1(D)];
8480
- }(i)), n = [i, ...m], p = await d1(V, O), g = [];
8513
+ const { placement: M, middlewareData: L, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: o = !0, crossAxis: S = !0, fallbackPlacements: l, fallbackStrategy: s = "bestFit", flipAlignment: u = !0, ...O } = H, r = M1(M), m = l || (r === i || !u ? [t1(i)] : function(w) {
8514
+ const D = t1(w);
8515
+ return [f1(w), D, f1(D)];
8516
+ }(i)), n = [i, ...m], p = await d1(V, O), b = [];
8481
8517
  let R = ((C = L.flip) == null ? void 0 : C.overflows) || [];
8482
- if (o && g.push(p[Z]), S) {
8483
- const { main: P, cross: D } = S5(M, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8484
- g.push(p[P], p[D]);
8518
+ if (o && b.push(p[r]), S) {
8519
+ const { main: w, cross: D } = Z5(M, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8520
+ b.push(p[w], p[D]);
8485
8521
  }
8486
- if (R = [...R, { placement: M, overflows: g }], !g.every((P) => P <= 0)) {
8522
+ if (R = [...R, { placement: M, overflows: b }], !b.every((w) => w <= 0)) {
8487
8523
  var c, F;
8488
- const P = ((c = (F = L.flip) == null ? void 0 : F.index) != null ? c : 0) + 1, D = n[P];
8524
+ const w = ((c = (F = L.flip) == null ? void 0 : F.index) != null ? c : 0) + 1, D = n[w];
8489
8525
  if (D)
8490
- return { data: { index: P, overflows: R }, reset: { placement: D } };
8526
+ return { data: { index: w, overflows: R }, reset: { placement: D } };
8491
8527
  let q = "bottom";
8492
8528
  switch (s) {
8493
8529
  case "bestFit": {
8494
8530
  var $;
8495
- const s1 = ($ = R.map((A1) => [A1, A1.overflows.filter((C1) => C1 > 0).reduce((C1, z1) => C1 + z1, 0)]).sort((A1, C1) => A1[1] - C1[1])[0]) == null ? void 0 : $[0].placement;
8531
+ const s1 = ($ = R.map((i1) => [i1, i1.overflows.filter((C1) => C1 > 0).reduce((C1, z1) => C1 + z1, 0)]).sort((i1, C1) => i1[1] - C1[1])[0]) == null ? void 0 : $[0].placement;
8496
8532
  s1 && (q = s1);
8497
8533
  break;
8498
8534
  }
@@ -8511,7 +8547,7 @@ function g1(H, V) {
8511
8547
  function k1(H) {
8512
8548
  return D1.some((V) => H[V] >= 0);
8513
8549
  }
8514
- const s5 = function(H) {
8550
+ const c5 = function(H) {
8515
8551
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8516
8552
  return { name: "hide", async fn(M) {
8517
8553
  const { rects: L } = M;
@@ -8528,25 +8564,25 @@ const s5 = function(H) {
8528
8564
  return {};
8529
8565
  }
8530
8566
  } };
8531
- }, O5 = function(H) {
8567
+ }, s5 = function(H) {
8532
8568
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8533
8569
  const { x: C, y: M } = V, L = await async function(A, i) {
8534
- const { placement: e, platform: d, elements: o } = A, S = await (d.isRTL == null ? void 0 : d.isRTL(o.floating)), l = L1(e), s = l1(e), u = M1(e) === "x", O = ["left", "top"].includes(l) ? -1 : 1, Z = S && u ? -1 : 1, m = typeof i == "function" ? i(A) : i;
8535
- let { mainAxis: n, crossAxis: p, alignmentAxis: g } = typeof m == "number" ? { mainAxis: m, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...m };
8536
- return s && typeof g == "number" && (p = s === "end" ? -1 * g : g), u ? { x: p * Z, y: n * O } : { x: n * O, y: p * Z };
8570
+ const { placement: e, platform: d, elements: o } = A, S = await (d.isRTL == null ? void 0 : d.isRTL(o.floating)), l = M1(e), s = l1(e), u = A1(e) === "x", O = ["left", "top"].includes(l) ? -1 : 1, r = S && u ? -1 : 1, m = typeof i == "function" ? i(A) : i;
8571
+ let { mainAxis: n, crossAxis: p, alignmentAxis: b } = typeof m == "number" ? { mainAxis: m, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...m };
8572
+ return s && typeof b == "number" && (p = s === "end" ? -1 * b : b), u ? { x: p * r, y: n * O } : { x: n * O, y: p * r };
8537
8573
  }(V, H);
8538
8574
  return { x: C + L.x, y: M + L.y, data: L };
8539
8575
  } };
8540
8576
  };
8541
- function p5(H) {
8577
+ function O5(H) {
8542
8578
  return H === "x" ? "y" : "x";
8543
8579
  }
8544
- const h5 = function(H) {
8580
+ const p5 = function(H) {
8545
8581
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8546
8582
  const { x: C, y: M, placement: L } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (m) => {
8547
8583
  let { x: n, y: p } = m;
8548
8584
  return { x: n, y: p };
8549
- } }, ...d } = H, o = { x: C, y: M }, S = await d1(V, d), l = M1(L1(L)), s = p5(l);
8585
+ } }, ...d } = H, o = { x: C, y: M }, S = await d1(V, d), l = A1(M1(L)), s = O5(l);
8550
8586
  let u = o[l], O = o[s];
8551
8587
  if (A) {
8552
8588
  const m = l === "y" ? "bottom" : "right";
@@ -8556,14 +8592,14 @@ const h5 = function(H) {
8556
8592
  const m = s === "y" ? "bottom" : "right";
8557
8593
  O = Z1(O + S[s === "y" ? "top" : "left"], O, O - S[m]);
8558
8594
  }
8559
- const Z = e.fn({ ...V, [l]: u, [s]: O });
8560
- return { ...Z, data: { x: Z.x - C, y: Z.y - M } };
8595
+ const r = e.fn({ ...V, [l]: u, [s]: O });
8596
+ return { ...r, data: { x: r.x - C, y: r.y - M } };
8561
8597
  } };
8562
8598
  };
8563
8599
  function E1(H) {
8564
8600
  return H && H.document && H.location && H.alert && H.setInterval;
8565
8601
  }
8566
- function W(H) {
8602
+ function Q(H) {
8567
8603
  if (H == null)
8568
8604
  return window;
8569
8605
  if (!E1(H)) {
@@ -8572,8 +8608,8 @@ function W(H) {
8572
8608
  }
8573
8609
  return H;
8574
8610
  }
8575
- function _(H) {
8576
- return W(H).getComputedStyle(H);
8611
+ function W(H) {
8612
+ return Q(H).getComputedStyle(H);
8577
8613
  }
8578
8614
  function U(H) {
8579
8615
  return E1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
@@ -8583,56 +8619,56 @@ function _1() {
8583
8619
  return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
8584
8620
  }
8585
8621
  function N(H) {
8586
- return H instanceof W(H).HTMLElement;
8622
+ return H instanceof Q(H).HTMLElement;
8587
8623
  }
8588
8624
  function X(H) {
8589
- return H instanceof W(H).Element;
8625
+ return H instanceof Q(H).Element;
8590
8626
  }
8591
8627
  function B1(H) {
8592
- return typeof ShadowRoot > "u" ? !1 : H instanceof W(H).ShadowRoot || H instanceof ShadowRoot;
8628
+ return typeof ShadowRoot > "u" ? !1 : H instanceof Q(H).ShadowRoot || H instanceof ShadowRoot;
8593
8629
  }
8594
8630
  function o1(H) {
8595
- const { overflow: V, overflowX: C, overflowY: M, display: L } = _(H);
8631
+ const { overflow: V, overflowX: C, overflowY: M, display: L } = W(H);
8596
8632
  return /auto|scroll|overlay|hidden/.test(V + M + C) && !["inline", "contents"].includes(L);
8597
8633
  }
8598
- function f5(H) {
8634
+ function h5(H) {
8599
8635
  return ["table", "td", "th"].includes(U(H));
8600
8636
  }
8601
8637
  function S1(H) {
8602
- const V = /firefox/i.test(_1()), C = _(H), M = C.backdropFilter || C.WebkitBackdropFilter;
8638
+ const V = /firefox/i.test(_1()), C = W(H), M = C.backdropFilter || C.WebkitBackdropFilter;
8603
8639
  return C.transform !== "none" || C.perspective !== "none" || !!M && M !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((L) => C.willChange.includes(L)) || ["paint", "layout", "strict", "content"].some((L) => {
8604
8640
  const A = C.contain;
8605
8641
  return A != null && A.includes(L);
8606
8642
  });
8607
8643
  }
8608
- function N1() {
8644
+ function W1() {
8609
8645
  return !/^((?!chrome|android).)*safari/i.test(_1());
8610
8646
  }
8611
8647
  function c1(H) {
8612
8648
  return ["html", "body", "#document"].includes(U(H));
8613
8649
  }
8614
- const b1 = Math.min, H1 = Math.max, m1 = Math.round;
8650
+ const b1 = Math.min, V1 = Math.max, m1 = Math.round;
8615
8651
  function j(H, V, C) {
8616
8652
  var M, L, A, i;
8617
8653
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8618
8654
  const e = H.getBoundingClientRect();
8619
8655
  let d = 1, o = 1;
8620
8656
  V && N(H) && (d = H.offsetWidth > 0 && m1(e.width) / H.offsetWidth || 1, o = H.offsetHeight > 0 && m1(e.height) / H.offsetHeight || 1);
8621
- const S = X(H) ? W(H) : window, l = !N1() && C, s = (e.left + (l && (M = (L = S.visualViewport) == null ? void 0 : L.offsetLeft) != null ? M : 0)) / d, u = (e.top + (l && (A = (i = S.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / o, O = e.width / d, Z = e.height / o;
8622
- return { width: O, height: Z, top: u, right: s + O, bottom: u + Z, left: s, x: s, y: u };
8657
+ const S = X(H) ? Q(H) : window, l = !W1() && C, s = (e.left + (l && (M = (L = S.visualViewport) == null ? void 0 : L.offsetLeft) != null ? M : 0)) / d, u = (e.top + (l && (A = (i = S.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / o, O = e.width / d, r = e.height / o;
8658
+ return { width: O, height: r, top: u, right: s + O, bottom: u + r, left: s, x: s, y: u };
8623
8659
  }
8624
- function G(H) {
8625
- return (V = H, (V instanceof W(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8660
+ function z(H) {
8661
+ return (V = H, (V instanceof Q(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
8626
8662
  var V;
8627
8663
  }
8628
8664
  function n1(H) {
8629
8665
  return X(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8630
8666
  }
8631
- function W1(H) {
8632
- return j(G(H)).left + n1(H).scrollLeft;
8667
+ function N1(H) {
8668
+ return j(z(H)).left + n1(H).scrollLeft;
8633
8669
  }
8634
- function g5(H, V, C) {
8635
- const M = N(V), L = G(V), A = j(H, M && function(d) {
8670
+ function f5(H, V, C) {
8671
+ const M = N(V), L = z(V), A = j(H, M && function(d) {
8636
8672
  const o = j(d);
8637
8673
  return m1(o.width) !== d.offsetWidth || m1(o.height) !== d.offsetHeight;
8638
8674
  }(V), C === "fixed");
@@ -8643,50 +8679,50 @@ function g5(H, V, C) {
8643
8679
  const d = j(V, !0);
8644
8680
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8645
8681
  } else
8646
- L && (e.x = W1(L));
8682
+ L && (e.x = N1(L));
8647
8683
  return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
8648
8684
  }
8649
- function V1(H) {
8685
+ function L1(H) {
8650
8686
  if (U(H) === "html")
8651
8687
  return H;
8652
- const V = H.assignedSlot || H.parentNode || (B1(H) ? H.host : null) || G(H);
8688
+ const V = H.assignedSlot || H.parentNode || (B1(H) ? H.host : null) || z(H);
8653
8689
  return B1(V) ? V.host : V;
8654
8690
  }
8655
8691
  function y1(H) {
8656
- return N(H) && _(H).position !== "fixed" ? H.offsetParent : null;
8692
+ return N(H) && W(H).position !== "fixed" ? H.offsetParent : null;
8657
8693
  }
8658
- function w1(H) {
8659
- const V = W(H);
8694
+ function P1(H) {
8695
+ const V = Q(H);
8660
8696
  let C = y1(H);
8661
- for (; C && f5(C) && _(C).position === "static"; )
8697
+ for (; C && h5(C) && W(C).position === "static"; )
8662
8698
  C = y1(C);
8663
- return C && (U(C) === "html" || U(C) === "body" && _(C).position === "static" && !S1(C)) ? V : C || function(M) {
8664
- let L = V1(M);
8699
+ return C && (U(C) === "html" || U(C) === "body" && W(C).position === "static" && !S1(C)) ? V : C || function(M) {
8700
+ let L = L1(M);
8665
8701
  for (; N(L) && !c1(L); ) {
8666
8702
  if (S1(L))
8667
8703
  return L;
8668
- L = V1(L);
8704
+ L = L1(L);
8669
8705
  }
8670
8706
  return null;
8671
8707
  }(H) || V;
8672
8708
  }
8673
8709
  function I1(H) {
8674
- const V = V1(H);
8710
+ const V = L1(H);
8675
8711
  return c1(V) ? H.ownerDocument.body : N(V) && o1(V) ? V : I1(V);
8676
8712
  }
8677
8713
  function Q1(H, V) {
8678
8714
  var C;
8679
8715
  V === void 0 && (V = []);
8680
- const M = I1(H), L = M === ((C = H.ownerDocument) == null ? void 0 : C.body), A = W(M), i = L ? [A].concat(A.visualViewport || [], o1(M) ? M : []) : M, e = V.concat(i);
8716
+ const M = I1(H), L = M === ((C = H.ownerDocument) == null ? void 0 : C.body), A = Q(M), i = L ? [A].concat(A.visualViewport || [], o1(M) ? M : []) : M, e = V.concat(i);
8681
8717
  return L ? e : e.concat(Q1(i));
8682
8718
  }
8683
- function P1(H, V, C) {
8719
+ function w1(H, V, C) {
8684
8720
  return V === "viewport" ? e1(function(M, L) {
8685
- const A = W(M), i = G(M), e = A.visualViewport;
8721
+ const A = Q(M), i = z(M), e = A.visualViewport;
8686
8722
  let d = i.clientWidth, o = i.clientHeight, S = 0, l = 0;
8687
8723
  if (e) {
8688
8724
  d = e.width, o = e.height;
8689
- const s = N1();
8725
+ const s = W1();
8690
8726
  (s || !s && L === "fixed") && (S = e.offsetLeft, l = e.offsetTop);
8691
8727
  }
8692
8728
  return { width: d, height: o, x: S, y: l };
@@ -8695,31 +8731,31 @@ function P1(H, V, C) {
8695
8731
  return { top: i, left: e, x: e, y: i, right: e + M.clientWidth, bottom: i + M.clientHeight, width: M.clientWidth, height: M.clientHeight };
8696
8732
  }(V, C) : e1(function(M) {
8697
8733
  var L;
8698
- const A = G(M), i = n1(M), e = (L = M.ownerDocument) == null ? void 0 : L.body, d = H1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), o = H1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8699
- let S = -i.scrollLeft + W1(M);
8734
+ const A = z(M), i = n1(M), e = (L = M.ownerDocument) == null ? void 0 : L.body, d = V1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), o = V1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8735
+ let S = -i.scrollLeft + N1(M);
8700
8736
  const l = -i.scrollTop;
8701
- return _(e || A).direction === "rtl" && (S += H1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: o, x: S, y: l };
8702
- }(G(H)));
8737
+ return W(e || A).direction === "rtl" && (S += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: o, x: S, y: l };
8738
+ }(z(H)));
8703
8739
  }
8704
- const k5 = { getClippingRect: function(H) {
8740
+ const g5 = { getClippingRect: function(H) {
8705
8741
  let { element: V, boundary: C, rootBoundary: M, strategy: L } = H;
8706
8742
  const A = C === "clippingAncestors" ? function(o) {
8707
8743
  let S = Q1(o).filter((O) => X(O) && U(O) !== "body"), l = null;
8708
- const s = _(o).position === "fixed";
8709
- let u = s ? V1(o) : o;
8744
+ const s = W(o).position === "fixed";
8745
+ let u = s ? L1(o) : o;
8710
8746
  for (; X(u) && !c1(u); ) {
8711
- const O = _(u), Z = S1(u);
8712
- (s ? Z || l : Z || O.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = O : S = S.filter((m) => m !== u), u = V1(u);
8747
+ const O = W(u), r = S1(u);
8748
+ (s ? r || l : r || O.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = O : S = S.filter((m) => m !== u), u = L1(u);
8713
8749
  }
8714
8750
  return S;
8715
8751
  }(V) : [].concat(C), i = [...A, M], e = i[0], d = i.reduce((o, S) => {
8716
- const l = P1(V, S, L);
8717
- return o.top = H1(l.top, o.top), o.right = b1(l.right, o.right), o.bottom = b1(l.bottom, o.bottom), o.left = H1(l.left, o.left), o;
8718
- }, P1(V, e, L));
8752
+ const l = w1(V, S, L);
8753
+ return o.top = V1(l.top, o.top), o.right = b1(l.right, o.right), o.bottom = b1(l.bottom, o.bottom), o.left = V1(l.left, o.left), o;
8754
+ }, w1(V, e, L));
8719
8755
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8720
8756
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8721
8757
  let { rect: V, offsetParent: C, strategy: M } = H;
8722
- const L = N(C), A = G(C);
8758
+ const L = N(C), A = z(C);
8723
8759
  if (C === A)
8724
8760
  return V;
8725
8761
  let i = { scrollLeft: 0, scrollTop: 0 };
@@ -8734,20 +8770,20 @@ const k5 = { getClippingRect: function(H) {
8734
8770
  return { width: H.offsetWidth, height: H.offsetHeight };
8735
8771
  const V = j(H);
8736
8772
  return { width: V.width, height: V.height };
8737
- }, getOffsetParent: w1, getDocumentElement: G, async getElementRects(H) {
8773
+ }, getOffsetParent: P1, getDocumentElement: z, async getElementRects(H) {
8738
8774
  let { reference: V, floating: C, strategy: M } = H;
8739
- const L = this.getOffsetParent || w1, A = this.getDimensions;
8740
- return { reference: g5(V, await L(C), M), floating: { x: 0, y: 0, ...await A(C) } };
8741
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => _(H).direction === "rtl" }, B5 = (H, V, C) => o5(H, V, { platform: k5, ...C });
8742
- function r1({ value: H }, { value: V }, { value: C }, M, L, A) {
8743
- !H || !V || B5(H, V, {
8775
+ const L = this.getOffsetParent || P1, A = this.getDimensions;
8776
+ return { reference: f5(V, await L(C), M), floating: { x: 0, y: 0, ...await A(C) } };
8777
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => W(H).direction === "rtl" }, k5 = (H, V, C) => l5(H, V, { platform: g5, ...C });
8778
+ function a1({ value: H }, { value: V }, { value: C }, M, L, A) {
8779
+ !H || !V || k5(H, V, {
8744
8780
  placement: M,
8745
8781
  middleware: [
8746
- O5(L),
8747
- h5({ padding: A }),
8782
+ s5(L),
8783
+ p5({ padding: A }),
8748
8784
  a5({ element: C }),
8749
- c5(),
8750
- s5()
8785
+ u5(),
8786
+ c5()
8751
8787
  ]
8752
8788
  }).then(({ x: i, y: e, placement: d, middlewareData: o }) => {
8753
8789
  if (Object.assign(V.style, {
@@ -8771,15 +8807,15 @@ function r1({ value: H }, { value: V }, { value: C }, M, L, A) {
8771
8807
  }
8772
8808
  });
8773
8809
  }
8774
- var G1 = /* @__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))(G1 || {}), I = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(I || {});
8775
- const b5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], y5 = ["innerHTML"], w5 = /* @__PURE__ */ w({
8810
+ var G1 = /* @__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))(G1 || {}), G = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(G || {});
8811
+ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], b5 = ["innerHTML"], y5 = /* @__PURE__ */ P({
8776
8812
  __name: "RTooltip",
8777
8813
  props: {
8778
8814
  placement: { default: G1.Top },
8779
8815
  text: { default: "" },
8780
8816
  dark: { type: Boolean, default: !0 },
8781
8817
  light: { type: Boolean, default: !1 },
8782
- triggers: { default: I.Hover },
8818
+ triggers: { default: G.Hover },
8783
8819
  autoHide: { type: Boolean, default: !0 },
8784
8820
  hideDelay: { default: 3e3 },
8785
8821
  showDelay: { default: 0 },
@@ -8794,13 +8830,13 @@ const b5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8794
8830
  emits: ["show", "hide"],
8795
8831
  setup(H, { emit: V }) {
8796
8832
  const C = H;
8797
- q1((m) => ({
8798
- "271323d4": b(Z)
8833
+ Y1((m) => ({
8834
+ "271323d4": k(r)
8799
8835
  }));
8800
8836
  const M = x(null), L = x(null), A = x(null);
8801
8837
  function i() {
8802
- const { placement: m, offset: n, padding: p, disabled: g } = C;
8803
- g || (L.value.style.display = "block", V("show"), r1(M, L, A, m, n, p), d(), C.outsideClick && o("add"));
8838
+ const { placement: m, offset: n, padding: p, disabled: b } = C;
8839
+ b || (L.value.style.display = "block", V("show"), a1(M, L, A, m, n, p), d(), C.outsideClick && o("add"));
8804
8840
  }
8805
8841
  function e() {
8806
8842
  L.value.style.display = "", V("hide"), C.outsideClick && o("remove");
@@ -8812,69 +8848,69 @@ const b5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8812
8848
  }, o = (m) => {
8813
8849
  m === "add" && document.addEventListener("click", e), m === "remove" && document.removeEventListener("click", e);
8814
8850
  }, S = () => {
8815
- C.disabled || C.triggers == I.Click && (L.value.style.display === "block" ? e() : i());
8851
+ C.disabled || C.triggers == G.Click && (L.value.style.display === "block" ? e() : i());
8816
8852
  }, l = () => {
8817
- C.disabled || C.triggers === I.Hover && i();
8853
+ C.disabled || C.triggers === G.Hover && i();
8818
8854
  }, s = () => {
8819
8855
  if (!C.disabled)
8820
- if (L.value.style.display === "" && C.triggers === I.Hover) {
8856
+ if (L.value.style.display === "" && C.triggers === G.Hover) {
8821
8857
  i();
8822
8858
  return;
8823
8859
  } else
8824
- L.value.style.display !== "" && C.triggers === I.Hover && e();
8860
+ L.value.style.display !== "" && C.triggers === G.Hover && e();
8825
8861
  }, u = () => {
8826
- const { placement: m, offset: n, padding: p, disabled: g } = C;
8827
- g || C.triggers === I.Hover && r1(M, L, A, m, n, p);
8828
- }, O = k(() => ({
8862
+ const { placement: m, offset: n, padding: p, disabled: b } = C;
8863
+ b || C.triggers === G.Hover && a1(M, L, A, m, n, p);
8864
+ }, O = g(() => ({
8829
8865
  tooltip: !0,
8830
8866
  "tooltip--dark": C.dark,
8831
8867
  "tooltip--light": C.light
8832
8868
  }));
8833
8869
  window.onresize = () => {
8834
- const { placement: m, offset: n, padding: p, disabled: g } = C;
8835
- g || C.resizable && r1(M, L, A, m, n, p);
8836
- }, Y1(
8870
+ const { placement: m, offset: n, padding: p, disabled: b } = C;
8871
+ b || C.resizable && a1(M, L, A, m, n, p);
8872
+ }, X1(
8837
8873
  () => {
8838
- C.disabled || C.shown && C.triggers === I.Manual && i();
8874
+ C.disabled || C.shown && C.triggers === G.Manual && i();
8839
8875
  },
8840
8876
  { flush: "post" }
8841
8877
  // this is important to avoid infinite loop & for fire on mounted
8842
8878
  );
8843
- const Z = k(() => `${C.showDelay}ms`);
8844
- return (m, n) => (t(), r(Q, null, [
8845
- a("div", {
8879
+ const r = g(() => `${C.showDelay}ms`);
8880
+ return (m, n) => (t(), a(K, null, [
8881
+ Z("div", {
8846
8882
  ref_key: "trigger",
8847
8883
  ref: M,
8848
8884
  "aria-disabled": C.disabled,
8849
8885
  class: "trigger",
8850
- onClick: K(S, ["stop"]),
8851
- onMouseenter: K(l, ["stop"]),
8852
- onMouseleave: K(s, ["stop"]),
8853
- onMousemove: K(u, ["stop"])
8886
+ onClick: E(S, ["stop"]),
8887
+ onMouseenter: E(l, ["stop"]),
8888
+ onMouseleave: E(s, ["stop"]),
8889
+ onMousemove: E(u, ["stop"])
8854
8890
  }, [
8855
8891
  y(m.$slots, "trigger", {}, void 0, !0),
8856
- m.$slots.trigger ? B("", !0) : (t(), r("div", {
8892
+ m.$slots.trigger ? f("", !0) : (t(), a("div", {
8857
8893
  key: 0,
8858
8894
  innerHTML: C.triggerContent
8859
- }, null, 8, y5))
8860
- ], 40, b5),
8861
- a("div", {
8895
+ }, null, 8, b5))
8896
+ ], 40, B5),
8897
+ Z("div", {
8862
8898
  id: "tooltip",
8863
8899
  ref_key: "tooltip",
8864
8900
  ref: L,
8865
- class: h(b(O)),
8901
+ class: h(k(O)),
8866
8902
  role: "tooltip"
8867
8903
  }, [
8868
8904
  y(m.$slots, "content", {}, void 0, !0),
8869
- m.$slots.content ? B("", !0) : (t(), r("div", {
8905
+ m.$slots.content ? f("", !0) : (t(), a("div", {
8870
8906
  key: 0,
8871
8907
  class: h({
8872
8908
  tooltip__content: !0,
8873
8909
  "tooltip__content--dark": C.dark,
8874
8910
  "tooltip__content--light": C.light
8875
8911
  })
8876
- }, f(C.text), 3)),
8877
- m.$slots.content ? B("", !0) : (t(), r("div", {
8912
+ }, B(C.text), 3)),
8913
+ m.$slots.content ? f("", !0) : (t(), a("div", {
8878
8914
  key: 1,
8879
8915
  id: "arrow",
8880
8916
  ref_key: "arrowElement",
@@ -8894,10 +8930,10 @@ const P5 = (H, V) => {
8894
8930
  for (const [M, L] of V)
8895
8931
  C[M] = L;
8896
8932
  return C;
8897
- }, J5 = /* @__PURE__ */ P5(w5, [["__scopeId", "data-v-ee5f5651"]]), T5 = { class: "r-breadcrumb" }, v5 = {
8933
+ }, X5 = /* @__PURE__ */ P5(y5, [["__scopeId", "data-v-ee5f5651"]]), w5 = { class: "r-breadcrumb" }, T5 = {
8898
8934
  key: 0,
8899
8935
  class: "r-breadcrumb__title"
8900
- }, C3 = /* @__PURE__ */ w({
8936
+ }, J5 = /* @__PURE__ */ P({
8901
8937
  __name: "RBreadcrumb",
8902
8938
  props: {
8903
8939
  items: { default: () => [] },
@@ -8906,13 +8942,13 @@ const P5 = (H, V) => {
8906
8942
  setup(H) {
8907
8943
  const V = H;
8908
8944
  return (C, M) => {
8909
- const L = X1("router-link");
8910
- return t(), r("div", T5, [
8911
- (t(!0), r(Q, null, Y(V.items, (A, i) => (t(), r("div", {
8945
+ const L = J1("router-link");
8946
+ return t(), a("div", w5, [
8947
+ (t(!0), a(K, null, Y(V.items, (A, i) => (t(), a("div", {
8912
8948
  class: "r-breadcrumb__item",
8913
8949
  key: i
8914
8950
  }, [
8915
- E(L, {
8951
+ _(L, {
8916
8952
  to: A.to,
8917
8953
  class: "r-breadcrumb__link"
8918
8954
  }, {
@@ -8921,9 +8957,9 @@ const P5 = (H, V) => {
8921
8957
  A.icon ? (t(), T(v, {
8922
8958
  key: 0,
8923
8959
  name: A.icon
8924
- }, null, 8, ["name"])) : B("", !0)
8960
+ }, null, 8, ["name"])) : f("", !0)
8925
8961
  ]),
8926
- A.onlyIcon ? B("", !0) : (t(), r("span", v5, f(A.title), 1))
8962
+ A.onlyIcon ? f("", !0) : (t(), a("span", T5, B(A.title), 1))
8927
8963
  ]),
8928
8964
  _: 2
8929
8965
  }, 1032, ["to"]),
@@ -8932,13 +8968,13 @@ const P5 = (H, V) => {
8932
8968
  key: 0,
8933
8969
  name: V.seperator,
8934
8970
  class: "r-breadcrumb__separator"
8935
- }, null, 8, ["name"])) : B("", !0)
8971
+ }, null, 8, ["name"])) : f("", !0)
8936
8972
  ])
8937
8973
  ]))), 128))
8938
8974
  ]);
8939
8975
  };
8940
8976
  }
8941
- }), F5 = { class: "r-pagination" }, R5 = { class: "r-pagination__page-info" }, x5 = { key: 0 }, D5 = { class: "r-pagination__page-info__current-page" }, E5 = { class: "r-pagination__page-info__total-pages" }, _5 = { class: "r-pagination__paginator" }, H3 = /* @__PURE__ */ w({
8977
+ }), v5 = { class: "r-pagination" }, F5 = { class: "r-pagination__page-info" }, R5 = { key: 0 }, x5 = { class: "r-pagination__page-info__current-page" }, D5 = { class: "r-pagination__page-info__total-pages" }, E5 = { class: "r-pagination__paginator" }, C3 = /* @__PURE__ */ P({
8942
8978
  __name: "RPagination",
8943
8979
  props: {
8944
8980
  page: { default: 1 },
@@ -8954,15 +8990,15 @@ const P5 = (H, V) => {
8954
8990
  const C = H, M = (L) => {
8955
8991
  L < 1 || L > C.totalPages || V("update:page", L);
8956
8992
  };
8957
- return (L, A) => (t(), r("div", F5, [
8958
- a("div", R5, [
8959
- H.slash ? B("", !0) : (t(), r("span", x5, f(C.pageText), 1)),
8960
- a("span", D5, f(C.page), 1),
8961
- F1(" " + f(H.slash ? "/" : C.ofText) + " ", 1),
8962
- a("span", E5, f(H.totalPages), 1)
8993
+ return (L, A) => (t(), a("div", v5, [
8994
+ Z("div", F5, [
8995
+ H.slash ? f("", !0) : (t(), a("span", R5, B(C.pageText), 1)),
8996
+ Z("span", x5, B(C.page), 1),
8997
+ F1(" " + B(H.slash ? "/" : C.ofText) + " ", 1),
8998
+ Z("span", D5, B(H.totalPages), 1)
8963
8999
  ]),
8964
- a("div", _5, [
8965
- E(a1, {
9000
+ Z("div", E5, [
9001
+ _(r1, {
8966
9002
  class: "r-pagination__paginator__prev",
8967
9003
  variant: "outline",
8968
9004
  "only-icon": "",
@@ -8970,7 +9006,7 @@ const P5 = (H, V) => {
8970
9006
  disabled: C.page === 1,
8971
9007
  onClick: A[0] || (A[0] = (i) => M(C.page - 1))
8972
9008
  }, null, 8, ["prepend-icon", "disabled"]),
8973
- E(l5, {
9009
+ _(m5, {
8974
9010
  modelValue: C.page,
8975
9011
  "onUpdate:modelValue": A[1] || (A[1] = (i) => C.page = i),
8976
9012
  class: "r-pagination__paginator__input",
@@ -8979,7 +9015,7 @@ const P5 = (H, V) => {
8979
9015
  max: H.totalPages,
8980
9016
  onInput: A[2] || (A[2] = (i) => M(i == null ? void 0 : i.value))
8981
9017
  }, null, 8, ["modelValue", "max"]),
8982
- E(a1, {
9018
+ _(r1, {
8983
9019
  class: "r-pagination__paginator__next",
8984
9020
  variant: "outline",
8985
9021
  "only-icon": "",
@@ -8993,24 +9029,24 @@ const P5 = (H, V) => {
8993
9029
  });
8994
9030
  export {
8995
9031
  W5 as RAccordion,
8996
- I5 as RAlert,
8997
- Q5 as RAvatar,
8998
- G5 as RBadge,
8999
- C3 as RBreadcrumb,
9000
- a1 as RButton,
9001
- z5 as RCheckbox,
9002
- f2 as RChip,
9003
- U5 as RDropdown,
9032
+ N5 as RAlert,
9033
+ I5 as RAvatar,
9034
+ Q5 as RBadge,
9035
+ J5 as RBreadcrumb,
9036
+ r1 as RButton,
9037
+ G5 as RCheckbox,
9038
+ g2 as RChip,
9039
+ z5 as RDropdown,
9004
9040
  v as RIcon,
9005
9041
  R1 as RLabel,
9006
- $5 as RModal,
9007
- H3 as RPagination,
9008
- K5 as RSidebar,
9009
- j5 as RSnackbar,
9010
- q5 as RSwitch,
9011
- J2 as RTabItem,
9012
- Y5 as RTabs,
9013
- X5 as RTextArea,
9014
- l5 as RTextfield,
9015
- J5 as RTooltip
9042
+ U5 as RModal,
9043
+ C3 as RPagination,
9044
+ $5 as RSidebar,
9045
+ K5 as RSnackbar,
9046
+ j5 as RSwitch,
9047
+ C5 as RTabItem,
9048
+ q5 as RTabs,
9049
+ Y5 as RTextArea,
9050
+ m5 as RTextfield,
9051
+ X5 as RTooltip
9016
9052
  };