@rocketui/vue 0.0.26 → 0.0.28

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