@rocketui/vue 0.0.29 → 0.0.31

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