@rocketui/vue 0.0.34 → 0.0.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as w, openBlock as t, createElementBlock as r, createElementVNode as Z, unref as f, reactive as J, Fragment as j, renderList as Y, normalizeClass as h, toDisplayString as B, createVNode as N, computed as k, renderSlot as P, createBlock as T, createCommentVNode as g, mergeProps as U1, withModifiers as _, watch as Q, ref as D, withDirectives as T1, withKeys as O1, vModelText as $1, vShow as K1, onMounted as j1, withCtx as v1, createTextVNode as F1, normalizeStyle as q1, useCssVars as Y1, watchEffect as X1, resolveComponent as J1 } from "vue";
1
+ import { defineComponent as P, openBlock as t, createElementBlock as r, createElementVNode as Z, unref as f, reactive as J, Fragment as j, renderList as Y, normalizeClass as h, toDisplayString as B, createVNode as N, computed as k, renderSlot as w, createBlock as T, createCommentVNode as g, mergeProps as U1, withModifiers as _, watch as Q, ref as x, withDirectives as T1, withKeys as O1, vModelText as $1, vShow as K1, onMounted as j1, withCtx as v1, createTextVNode as F1, normalizeStyle as q1, useCssVars as Y1, watchEffect as X1, resolveComponent as J1 } from "vue";
2
2
  const C2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7296,7 +7296,7 @@ const C2 = {
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
- }, H2 = ["width", "height", "viewBox"], V2 = ["d"], v = /* @__PURE__ */ w({
7299
+ }, H2 = ["width", "height", "viewBox"], V2 = ["d"], v = /* @__PURE__ */ P({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7317,53 +7317,53 @@ const C2 = {
7317
7317
  ], 8, H2));
7318
7318
  }
7319
7319
  });
7320
- const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accordion__icon" }, i2 = { class: "accordion__content" }, N5 = /* @__PURE__ */ w({
7320
+ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accordion__icon" }, i2 = { class: "accordion__content" }, N5 = /* @__PURE__ */ P({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
7324
7324
  },
7325
7325
  setup(H) {
7326
7326
  const V = H, C = J(
7327
- V.accordions.map(({ title: M, content: A }, i) => ({
7327
+ V.accordions.map(({ title: M, content: i }, A) => ({
7328
7328
  title: M,
7329
- content: A,
7330
- open: V.accordions[i].open || !1,
7331
- disabled: V.accordions[i].disabled || !1
7329
+ content: i,
7330
+ open: V.accordions[A].open || !1,
7331
+ disabled: V.accordions[A].disabled || !1
7332
7332
  }))
7333
7333
  );
7334
7334
  function L(M) {
7335
- C[M].disabled || C.forEach((A, i) => {
7336
- C[i].open = i === M ? !C[i].open : !1;
7335
+ C[M].disabled || C.forEach((i, A) => {
7336
+ C[A].open = A === M ? !C[A].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (M, A) => (t(!0), r(j, null, Y(C, (i, e) => (t(), r("div", {
7339
+ return (M, i) => (t(!0), r(j, null, Y(C, (A, e) => (t(), r("div", {
7340
7340
  key: e,
7341
7341
  class: h({
7342
7342
  accordion: !0,
7343
- "accordion--opened": i.open,
7344
- "accordion--disabled": i.disabled
7343
+ "accordion--opened": A.open,
7344
+ "accordion--disabled": A.disabled
7345
7345
  })
7346
7346
  }, [
7347
7347
  Z("div", {
7348
7348
  class: "accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
- Z("div", M2, B(i.title), 1),
7351
+ Z("div", M2, B(A.title), 1),
7352
7352
  Z("div", A2, [
7353
7353
  N(v, {
7354
- name: i.open ? "mdiChevronDown" : "mdiChevronUp"
7354
+ name: A.open ? "mdiChevronDown" : "mdiChevronUp"
7355
7355
  }, null, 8, ["name"])
7356
7356
  ])
7357
7357
  ], 8, L2),
7358
7358
  Z("div", i2, [
7359
- Z("span", null, B(i.content), 1)
7359
+ Z("span", null, B(A.content), 1)
7360
7360
  ])
7361
7361
  ], 2))), 128));
7362
7362
  }
7363
7363
  }), e2 = { class: "icon" }, d2 = { class: "texts" }, t2 = { class: "texts__title" }, m2 = { class: "texts__description" }, l2 = {
7364
7364
  key: 0,
7365
7365
  class: "close"
7366
- }, W5 = /* @__PURE__ */ w({
7366
+ }, W5 = /* @__PURE__ */ P({
7367
7367
  __name: "RAlert",
7368
7368
  props: {
7369
7369
  type: { default: "info" },
@@ -7385,11 +7385,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7385
7385
  error: "mdiAlertCircle",
7386
7386
  warning: "mdiAlert",
7387
7387
  info: "mdiInformation"
7388
- })[C.type]), A = k(() => ({
7388
+ })[C.type]), i = k(() => ({
7389
7389
  small: 20,
7390
7390
  medium: 24,
7391
7391
  large: 28
7392
- })[C.size]), i = () => {
7392
+ })[C.size]), A = () => {
7393
7393
  V("close");
7394
7394
  };
7395
7395
  return (e, d) => (t(), r("div", {
@@ -7398,7 +7398,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7398
7398
  Z("div", e2, [
7399
7399
  N(v, {
7400
7400
  name: f(M),
7401
- size: f(A)
7401
+ size: f(i)
7402
7402
  }, null, 8, ["name", "size"])
7403
7403
  ]),
7404
7404
  Z("div", d2, [
@@ -7406,18 +7406,18 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7406
7406
  Z("p", m2, B(C.description), 1)
7407
7407
  ]),
7408
7408
  C.closable ? (t(), r("div", l2, [
7409
- P(e.$slots, "custom-close"),
7409
+ w(e.$slots, "custom-close"),
7410
7410
  e.$slots.close ? g("", !0) : (t(), T(v, {
7411
7411
  key: 0,
7412
7412
  class: "close__button",
7413
7413
  name: "close",
7414
7414
  size: "16",
7415
- onClick: i
7415
+ onClick: A
7416
7416
  }))
7417
7417
  ])) : g("", !0)
7418
7418
  ], 2));
7419
7419
  }
7420
- }), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", o2 = { class: "avatar__wrapper" }, n2 = ["alt", "src"], I5 = /* @__PURE__ */ w({
7420
+ }), p1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", o2 = { class: "avatar__wrapper" }, n2 = ["alt", "src"], I5 = /* @__PURE__ */ P({
7421
7421
  __name: "RAvatar",
7422
7422
  props: {
7423
7423
  type: { default: "image" },
@@ -7431,18 +7431,18 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7431
7431
  const V = H, C = k(() => ({
7432
7432
  avatar: !0,
7433
7433
  [`avatar--${V.size}`]: !0
7434
- })), L = k(() => V.type === "image" && !V.src), M = k(() => L.value ? p1 : V.src), A = (i) => {
7435
- const e = i.split(" ");
7434
+ })), L = k(() => V.type === "image" && !V.src), M = k(() => L.value ? p1 : V.src), i = (A) => {
7435
+ const e = A.split(" ");
7436
7436
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7437
7437
  };
7438
- return (i, e) => (t(), r("div", o2, [
7438
+ return (A, e) => (t(), r("div", o2, [
7439
7439
  Z("div", {
7440
7440
  class: h(f(C))
7441
7441
  }, [
7442
7442
  V.type === "text" ? (t(), r("p", {
7443
7443
  key: 0,
7444
7444
  class: h({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7445
- }, B(A(V.text)), 3)) : (t(), r("img", {
7445
+ }, B(i(V.text)), 3)) : (t(), r("img", {
7446
7446
  key: 1,
7447
7447
  alt: V.alt,
7448
7448
  class: h({
@@ -7459,7 +7459,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7459
7459
  }, null, 2)) : g("", !0)
7460
7460
  ]));
7461
7461
  }
7462
- }), r2 = { class: "badge-wrapper group" }, Q5 = /* @__PURE__ */ w({
7462
+ }), r2 = { class: "badge-wrapper group" }, Q5 = /* @__PURE__ */ P({
7463
7463
  __name: "RBadge",
7464
7464
  props: {
7465
7465
  variant: { default: "primary" },
@@ -7484,12 +7484,12 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7484
7484
  return (L, M) => (t(), r("div", r2, [
7485
7485
  Z("span", {
7486
7486
  class: h(f(C)),
7487
- onClick: M[0] || (M[0] = (A) => L.$emit("click"))
7487
+ onClick: M[0] || (M[0] = (i) => L.$emit("click"))
7488
7488
  }, B(V.content), 3),
7489
- P(L.$slots, "default")
7489
+ w(L.$slots, "default")
7490
7490
  ]));
7491
7491
  }
7492
- }), a2 = ["disabled"], a1 = /* @__PURE__ */ w({
7492
+ }), a2 = ["disabled"], a1 = /* @__PURE__ */ P({
7493
7493
  __name: "RButton",
7494
7494
  props: {
7495
7495
  variant: { default: "primary" },
@@ -7501,7 +7501,8 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7501
7501
  size: { default: "medium" },
7502
7502
  height: { default: "" },
7503
7503
  block: { type: Boolean, default: !1 },
7504
- backgroundColor: { default: "" }
7504
+ backgroundColor: { default: "" },
7505
+ color: null
7505
7506
  },
7506
7507
  emits: ["click"],
7507
7508
  setup(H) {
@@ -7517,20 +7518,21 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7517
7518
  medium: 24,
7518
7519
  large: 32
7519
7520
  })[V.size || "medium"]), M = k(() => {
7520
- const { backgroundColor: A, height: i } = V;
7521
+ const { backgroundColor: i, height: A, color: e } = V;
7521
7522
  return {
7522
- backgroundColor: A,
7523
- height: i ? `${i}px` : ""
7523
+ backgroundColor: i,
7524
+ height: A ? `${A}px` : "",
7525
+ color: e
7524
7526
  };
7525
7527
  });
7526
- return (A, i) => (t(), r("button", U1(A.$attrs, {
7528
+ return (i, A) => (t(), r("button", U1(i.$attrs, {
7527
7529
  class: f(C),
7528
7530
  disabled: H.disabled || H.loading,
7529
7531
  style: f(M),
7530
- onClick: i[0] || (i[0] = _((e) => A.$emit("click"), ["stop"]))
7532
+ onClick: A[0] || (A[0] = _((e) => i.$emit("click"), ["stop"]))
7531
7533
  }), [
7532
- P(A.$slots, "custom-icon"),
7533
- !A.$slots["custom-icon"] && V.prependIcon ? (t(), T(v, {
7534
+ w(i.$slots, "custom-icon"),
7535
+ !i.$slots["custom-icon"] && V.prependIcon ? (t(), T(v, {
7534
7536
  key: 0,
7535
7537
  class: h({
7536
7538
  "button__prepend-icon": !0,
@@ -7539,8 +7541,8 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7539
7541
  name: V.prependIcon,
7540
7542
  size: f(L)
7541
7543
  }, null, 8, ["class", "name", "size"])) : g("", !0),
7542
- V.onlyIcon ? g("", !0) : P(A.$slots, "default", { key: 1 }),
7543
- !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), T(v, {
7544
+ V.onlyIcon ? g("", !0) : w(i.$slots, "default", { key: 1 }),
7545
+ !i.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), T(v, {
7544
7546
  key: 2,
7545
7547
  class: "button__append-icon",
7546
7548
  name: V.appendIcon,
@@ -7554,7 +7556,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7554
7556
  }, h2 = {
7555
7557
  key: 1,
7556
7558
  class: "checkbox-texts__hint"
7557
- }, G5 = /* @__PURE__ */ w({
7559
+ }, G5 = /* @__PURE__ */ P({
7558
7560
  __name: "RCheckbox",
7559
7561
  props: {
7560
7562
  id: { default: "" },
@@ -7574,7 +7576,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7574
7576
  checked: "mdiCheck",
7575
7577
  unchecked: "",
7576
7578
  indeterminate: "mdiMinus"
7577
- }, A = k(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), i = k(() => ({
7579
+ }, i = k(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), A = k(() => ({
7578
7580
  checkbox: !0,
7579
7581
  "checkbox--checked": L.checked,
7580
7582
  "checkbox--disabled": C.disabled,
@@ -7615,11 +7617,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7615
7617
  onChange: e
7616
7618
  }, null, 40, u2),
7617
7619
  Z("div", {
7618
- class: h(f(i)),
7620
+ class: h(f(A)),
7619
7621
  "data-disabled": C.disabled
7620
7622
  }, [
7621
7623
  N(v, {
7622
- name: f(A),
7624
+ name: f(i),
7623
7625
  size: 24
7624
7626
  }, null, 8, ["name"])
7625
7627
  ], 10, c2)
@@ -7634,7 +7636,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7634
7636
  ])
7635
7637
  ]));
7636
7638
  }
7637
- }), f2 = { class: "chip__content__label" }, g2 = /* @__PURE__ */ w({
7639
+ }), f2 = { class: "chip__content__label" }, g2 = /* @__PURE__ */ P({
7638
7640
  __name: "RChip",
7639
7641
  props: {
7640
7642
  variant: { default: "primary" },
@@ -7652,19 +7654,19 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7652
7654
  "chip--disabled": C.disabled,
7653
7655
  [`chip__${C.variant}`]: C.variant,
7654
7656
  [`chip__${C.variant}--ghost`]: C.ghost
7655
- })), M = (i) => {
7656
- C.closable && i.stopPropagation(), !C.disabled && V("click:chip", i);
7657
- }, A = (i) => {
7658
- C.disabled || !C.closable || (i.stopPropagation(), V("click:close", i));
7657
+ })), M = (A) => {
7658
+ C.closable && A.stopPropagation(), !C.disabled && V("click:chip", A);
7659
+ }, i = (A) => {
7660
+ C.disabled || !C.closable || (A.stopPropagation(), V("click:close", A));
7659
7661
  };
7660
- return (i, e) => (t(), r("div", {
7662
+ return (A, e) => (t(), r("div", {
7661
7663
  class: h(f(L))
7662
7664
  }, [
7663
7665
  Z("div", {
7664
7666
  class: "chip__content",
7665
7667
  onClick: e[0] || (e[0] = (d) => M(d))
7666
7668
  }, [
7667
- P(i.$slots, "prepend", {}, () => [
7669
+ w(A.$slots, "prepend", {}, () => [
7668
7670
  C.prependIcon ? (t(), T(v, {
7669
7671
  key: 0,
7670
7672
  class: "chip__content__prepend-icon",
@@ -7675,14 +7677,14 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7675
7677
  ]),
7676
7678
  Z("span", f2, B(C.label), 1)
7677
7679
  ]),
7678
- P(i.$slots, "append", {}, () => [
7680
+ w(A.$slots, "append", {}, () => [
7679
7681
  C.appendIcon ? (t(), T(v, {
7680
7682
  key: 0,
7681
7683
  class: "chip__content__append-icon",
7682
7684
  "aria-disabled": C.disabled,
7683
7685
  name: C.appendIcon,
7684
7686
  size: 12,
7685
- onClick: e[1] || (e[1] = (d) => A(d))
7687
+ onClick: e[1] || (e[1] = (d) => i(d))
7686
7688
  }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7687
7689
  ])
7688
7690
  ], 2));
@@ -7693,7 +7695,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7693
7695
  }, b2 = {
7694
7696
  key: 1,
7695
7697
  class: "dropdown__multiple"
7696
- }, y2 = ["disabled", "placeholder", "readonly"], P2 = ["aria-disabled", "onClick"], w2 = { style: { display: "flex", "align-items": "center" } }, z5 = /* @__PURE__ */ w({
7698
+ }, y2 = ["disabled", "placeholder", "readonly"], w2 = ["aria-disabled", "onClick"], P2 = { style: { display: "flex", "align-items": "center" } }, z5 = /* @__PURE__ */ P({
7697
7699
  __name: "RDropdown",
7698
7700
  props: {
7699
7701
  placeholder: { default: "" },
@@ -7709,10 +7711,10 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7709
7711
  },
7710
7712
  emits: ["update:modelValue"],
7711
7713
  setup(H, { emit: V }) {
7712
- const C = H, L = D(""), M = J([]), A = D(!1), i = D(""), e = D(null), d = D(null), o = (a) => {
7714
+ const C = H, L = x(""), M = J([]), i = x(!1), A = x(""), e = x(null), d = x(null), o = (a) => {
7713
7715
  var m, n, p, b, R, F;
7714
7716
  if (!C.disabled) {
7715
- if (a.stopPropagation(), A.value = !A.value, A.value) {
7717
+ if (a.stopPropagation(), i.value = !i.value, i.value) {
7716
7718
  (m = e.value) == null || m.classList.add("dropdown--active"), (n = e.value) == null || n.focus(), C.searchable && ((p = d.value) == null || p.focus()), document.addEventListener("click", o);
7717
7719
  return;
7718
7720
  }
@@ -7721,18 +7723,18 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7721
7723
  }, S = (a, m) => {
7722
7724
  var n;
7723
7725
  if (C.multiple || C.taggable) {
7724
- a.stopPropagation(), M.includes(m) ? M.splice(M.indexOf(m), 1) : M.push(m), i.value = "", C.searchable && ((n = d.value) == null || n.focus());
7726
+ a.stopPropagation(), M.includes(m) ? M.splice(M.indexOf(m), 1) : M.push(m), A.value = "", C.searchable && ((n = d.value) == null || n.focus());
7725
7727
  return;
7726
7728
  }
7727
7729
  l(a, m);
7728
7730
  }, l = (a, m) => {
7729
7731
  if (L.value === m.value) {
7730
- L.value = "", i.value = "";
7732
+ L.value = "", A.value = "";
7731
7733
  return;
7732
7734
  }
7733
- i.value = m.label, L.value = m.value, o(a), V("update:modelValue", m);
7735
+ A.value = m.label, L.value = m.value, o(a), V("update:modelValue", m);
7734
7736
  }, O = (a, m) => {
7735
- if (a instanceof KeyboardEvent && a.key !== "Backspace" || i.value !== "")
7737
+ if (a instanceof KeyboardEvent && a.key !== "Backspace" || A.value !== "")
7736
7738
  return;
7737
7739
  a.stopPropagation();
7738
7740
  const n = M.findIndex((p) => p.value === m.value);
@@ -7742,11 +7744,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7742
7744
  if (!C.taggable)
7743
7745
  return;
7744
7746
  a.stopPropagation();
7745
- const m = i.value;
7747
+ const m = A.value;
7746
7748
  if (m === "")
7747
7749
  return;
7748
- C.options.find((b) => b.label === m) || (M.push({ value: m, label: m }), i.value = "", (p = d.value) == null || p.focus());
7749
- }, c = k(() => C.searchable ? C.options.filter((m) => m.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7750
+ C.options.find((b) => b.label === m) || (M.push({ value: m, label: m }), A.value = "", (p = d.value) == null || p.focus());
7751
+ }, s = k(() => C.searchable ? C.options.filter((m) => m.label.toLowerCase().includes(A.value.toLowerCase())) : C.options);
7750
7752
  return Q(M, (a) => {
7751
7753
  V("update:modelValue", a);
7752
7754
  }), (a, m) => (t(), r("div", k2, [
@@ -7763,13 +7765,13 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7763
7765
  Z("div", {
7764
7766
  class: h({
7765
7767
  "dropdown__prepend-icon": !0,
7766
- "dropdown__prepend-icon--active": A.value
7768
+ "dropdown__prepend-icon--active": i.value
7767
7769
  })
7768
7770
  }, [
7769
7771
  C.prependIcon ? (t(), T(v, {
7770
7772
  key: 1,
7771
7773
  name: C.prependIcon
7772
- }, null, 8, ["name"])) : P(a.$slots, "prepend-icon", { key: 0 })
7774
+ }, null, 8, ["name"])) : w(a.$slots, "prepend-icon", { key: 0 })
7773
7775
  ], 2),
7774
7776
  C.taggable ? (t(), r("div", B2, [
7775
7777
  (t(!0), r(j, null, Y(M, (n, p) => (t(), T(g2, {
@@ -7789,7 +7791,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7789
7791
  ref_key: "input",
7790
7792
  ref: d,
7791
7793
  type: "text",
7792
- "onUpdate:modelValue": m[0] || (m[0] = (n) => i.value = n),
7794
+ "onUpdate:modelValue": m[0] || (m[0] = (n) => A.value = n),
7793
7795
  class: h({
7794
7796
  dropdown__input: !0,
7795
7797
  "dropdown__input--loading": C.loading
@@ -7802,24 +7804,24 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7802
7804
  m[2] || (m[2] = O1((n) => u(n), ["enter"]))
7803
7805
  ]
7804
7806
  }, null, 42, y2), [
7805
- [$1, i.value]
7807
+ [$1, A.value]
7806
7808
  ]),
7807
7809
  Z("div", {
7808
7810
  class: h({
7809
7811
  "dropdown__append-icon": !0,
7810
- "dropdown__append-icon--active": A.value
7812
+ "dropdown__append-icon--active": i.value
7811
7813
  })
7812
7814
  }, [
7813
7815
  C.appendIcon ? (t(), T(v, {
7814
7816
  key: 1,
7815
7817
  name: C.appendIcon
7816
- }, null, 8, ["name"])) : P(a.$slots, "append-icon", { key: 0 })
7818
+ }, null, 8, ["name"])) : w(a.$slots, "append-icon", { key: 0 })
7817
7819
  ], 2)
7818
7820
  ], 2),
7819
7821
  Z("ul", {
7820
- class: h({ "dropdown-options": !0, "dropdown-options--active": A.value })
7822
+ class: h({ "dropdown-options": !0, "dropdown-options--active": i.value })
7821
7823
  }, [
7822
- (t(!0), r(j, null, Y(f(c), (n) => (t(), r("li", {
7824
+ (t(!0), r(j, null, Y(f(s), (n) => (t(), r("li", {
7823
7825
  key: n.value,
7824
7826
  class: h({
7825
7827
  "dropdown-options__option": !0,
@@ -7828,7 +7830,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7828
7830
  "aria-disabled": n.disabled,
7829
7831
  onClick: (p) => S(p, n)
7830
7832
  }, [
7831
- Z("div", w2, [
7833
+ Z("div", P2, [
7832
7834
  n.prependIcon ? (t(), T(v, {
7833
7835
  key: 1,
7834
7836
  class: h({
@@ -7836,7 +7838,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7836
7838
  "dropdown-options__option__prepend-icon--active": n.value === L.value || (M == null ? void 0 : M.includes(n))
7837
7839
  }),
7838
7840
  name: n.prependIcon
7839
- }, null, 8, ["class", "name"])) : P(a.$slots, "option-prepend", { key: 0 }),
7841
+ }, null, 8, ["class", "name"])) : w(a.$slots, "option-prepend", { key: 0 }),
7840
7842
  Z("p", {
7841
7843
  class: h({
7842
7844
  "dropdown-options__option__label": !0,
@@ -7852,11 +7854,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7852
7854
  }),
7853
7855
  name: "mdiCheck"
7854
7856
  }, null, 8, ["class"])) : g("", !0)
7855
- ], 10, P2))), 128))
7857
+ ], 10, w2))), 128))
7856
7858
  ], 2)
7857
7859
  ]));
7858
7860
  }
7859
- }), T2 = ["id", "for"], R1 = /* @__PURE__ */ w({
7861
+ }), T2 = ["id", "for"], R1 = /* @__PURE__ */ P({
7860
7862
  __name: "RLabel",
7861
7863
  props: {
7862
7864
  id: { default: "" },
@@ -7879,7 +7881,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7879
7881
  }, E2 = {
7880
7882
  key: 2,
7881
7883
  class: "description"
7882
- }, _2 = { class: "dialog__body" }, N2 = { class: "dialog__actions" }, U5 = /* @__PURE__ */ w({
7884
+ }, _2 = { class: "dialog__body" }, N2 = { class: "dialog__actions" }, U5 = /* @__PURE__ */ P({
7883
7885
  __name: "RModal",
7884
7886
  props: {
7885
7887
  modelValue: { type: Boolean, default: !1 },
@@ -7893,10 +7895,10 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7893
7895
  const C = H, L = k(() => ({
7894
7896
  dialog: !0,
7895
7897
  "dialog--block": C.block
7896
- })), M = (A) => {
7897
- A.target === A.currentTarget && V("update:modelValue", !1);
7898
+ })), M = (i) => {
7899
+ i.target === i.currentTarget && V("update:modelValue", !1);
7898
7900
  };
7899
- return (A, i) => T1((t(), r("div", {
7901
+ return (i, A) => T1((t(), r("div", {
7900
7902
  class: "modal",
7901
7903
  onClick: _(M, ["stop"])
7902
7904
  }, [
@@ -7907,7 +7909,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7907
7909
  open: C.modelValue
7908
7910
  }, [
7909
7911
  Z("div", R2, [
7910
- P(A.$slots, "header"),
7912
+ w(i.$slots, "header"),
7911
7913
  C.icon ? (t(), r("div", x2, [
7912
7914
  N(v, {
7913
7915
  name: C.icon
@@ -7917,17 +7919,17 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7917
7919
  C.description ? (t(), r("div", E2, B(C.description), 1)) : g("", !0)
7918
7920
  ]),
7919
7921
  Z("div", _2, [
7920
- P(A.$slots, "default")
7922
+ w(i.$slots, "default")
7921
7923
  ]),
7922
7924
  Z("div", N2, [
7923
- P(A.$slots, "actions")
7925
+ w(i.$slots, "actions")
7924
7926
  ])
7925
7927
  ], 10, F2)
7926
7928
  ], 8, v2)), [
7927
7929
  [K1, H.modelValue]
7928
7930
  ]);
7929
7931
  }
7930
- }), W2 = { class: "nav" }, I2 = { class: "actions" }, $5 = /* @__PURE__ */ w({
7932
+ }), W2 = { class: "nav" }, I2 = { class: "actions" }, $5 = /* @__PURE__ */ P({
7931
7933
  __name: "RSidebar",
7932
7934
  props: {
7933
7935
  modelValue: { type: Boolean, default: !1 }
@@ -7941,10 +7943,10 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7941
7943
  class: h(f(C))
7942
7944
  }, [
7943
7945
  Z("nav", W2, [
7944
- P(L.$slots, "default")
7946
+ w(L.$slots, "default")
7945
7947
  ]),
7946
7948
  Z("div", I2, [
7947
- P(L.$slots, "actions")
7949
+ w(L.$slots, "actions")
7948
7950
  ])
7949
7951
  ], 2));
7950
7952
  }
@@ -7954,7 +7956,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7954
7956
  }, z2 = {
7955
7957
  key: 1,
7956
7958
  class: "snackbar__close"
7957
- }, K5 = /* @__PURE__ */ w({
7959
+ }, K5 = /* @__PURE__ */ P({
7958
7960
  __name: "RSnackbar",
7959
7961
  props: {
7960
7962
  text: { default: "" },
@@ -7967,9 +7969,9 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7967
7969
  },
7968
7970
  emits: ["action", "close"],
7969
7971
  setup(H, { emit: V }) {
7970
- const C = H, L = D(!1), M = () => {
7972
+ const C = H, L = x(!1), M = () => {
7971
7973
  V("action");
7972
- }, A = () => {
7974
+ }, i = () => {
7973
7975
  L.value = !1, V("close");
7974
7976
  };
7975
7977
  return j1(() => {
@@ -7978,11 +7980,11 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7978
7980
  }, C.timeout);
7979
7981
  }), Q(
7980
7982
  () => C.show,
7981
- (i) => {
7982
- L.value = i;
7983
+ (A) => {
7984
+ L.value = A;
7983
7985
  },
7984
7986
  { immediate: !0 }
7985
- ), (i, e) => (t(), r("div", {
7987
+ ), (A, e) => (t(), r("div", {
7986
7988
  class: h({
7987
7989
  snackbar: !0,
7988
7990
  "snackbar--closed": !L.value,
@@ -7991,8 +7993,8 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
7991
7993
  }, [
7992
7994
  Z("div", Q2, B(C.text), 1),
7993
7995
  C.showAction ? (t(), r("div", G2, [
7994
- P(i.$slots, "action"),
7995
- i.$slots.action ? g("", !0) : (t(), T(a1, {
7996
+ w(A.$slots, "action"),
7997
+ A.$slots.action ? g("", !0) : (t(), T(a1, {
7996
7998
  key: 0,
7997
7999
  size: "small",
7998
8000
  variant: "ghost",
@@ -8005,12 +8007,12 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8005
8007
  }))
8006
8008
  ])) : g("", !0),
8007
8009
  C.showClose ? (t(), r("div", z2, [
8008
- P(i.$slots, "close"),
8009
- i.$slots.close ? g("", !0) : (t(), T(v, {
8010
+ w(A.$slots, "close"),
8011
+ A.$slots.close ? g("", !0) : (t(), T(v, {
8010
8012
  key: 0,
8011
8013
  name: "mdiClose",
8012
8014
  size: 20,
8013
- onClick: _(A, ["stop"])
8015
+ onClick: _(i, ["stop"])
8014
8016
  }, null, 8, ["onClick"]))
8015
8017
  ])) : g("", !0)
8016
8018
  ], 2));
@@ -8021,7 +8023,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8021
8023
  }, Y2 = {
8022
8024
  key: 1,
8023
8025
  class: "switch-texts__hint"
8024
- }, j5 = /* @__PURE__ */ w({
8026
+ }, j5 = /* @__PURE__ */ P({
8025
8027
  __name: "RSwitch",
8026
8028
  props: {
8027
8029
  id: { default: "switch" },
@@ -8041,20 +8043,20 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8041
8043
  "switch--disabled": C.disabled,
8042
8044
  [`switch--${C.size}`]: C.size,
8043
8045
  "switch--error": C.errorMsg
8044
- })), A = (i) => {
8045
- C.disabled || (L.checked = i.target.checked, V("update:modelValue", L.checked));
8046
+ })), i = (A) => {
8047
+ C.disabled || (L.checked = A.target.checked, V("update:modelValue", L.checked));
8046
8048
  };
8047
8049
  return Q(
8048
8050
  () => C.modelValue,
8049
- (i) => {
8050
- L.checked = i;
8051
+ (A) => {
8052
+ L.checked = A;
8051
8053
  },
8052
8054
  {
8053
8055
  // need immediate to set the state on first render for storybook
8054
8056
  // TODO: find a better way to do this
8055
8057
  immediate: !0
8056
8058
  }
8057
- ), (i, e) => (t(), r("div", U2, [
8059
+ ), (A, e) => (t(), r("div", U2, [
8058
8060
  Z("div", {
8059
8061
  class: h(f(M))
8060
8062
  }, [
@@ -8063,7 +8065,7 @@ const L2 = ["onClick"], M2 = { class: "accordion__title" }, A2 = { class: "accor
8063
8065
  checked: L.checked,
8064
8066
  class: "switch__input",
8065
8067
  type: "checkbox",
8066
- onChange: A
8068
+ onChange: i
8067
8069
  }, null, 40, $2),
8068
8070
  K2
8069
8071
  ], 2),
@@ -8087,7 +8089,7 @@ var H1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON
8087
8089
  const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8088
8090
  key: 0,
8089
8091
  class: "tab-item__label"
8090
- }, C5 = /* @__PURE__ */ w({
8092
+ }, C5 = /* @__PURE__ */ P({
8091
8093
  __name: "RTabItem",
8092
8094
  props: {
8093
8095
  id: null,
@@ -8111,10 +8113,10 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8111
8113
  })), M = k(() => ({
8112
8114
  color: C.color
8113
8115
  }));
8114
- function A(e) {
8116
+ function i(e) {
8115
8117
  V("update:modelValue", e);
8116
8118
  }
8117
- function i() {
8119
+ function A() {
8118
8120
  V("click:icon");
8119
8121
  }
8120
8122
  return (e, d) => (t(), r("button", {
@@ -8123,9 +8125,9 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8123
8125
  class: h(f(L)),
8124
8126
  style: q1(f(M)),
8125
8127
  disabled: C.disabled,
8126
- onClick: d[0] || (d[0] = _((o) => A(C.id), ["stop"]))
8128
+ onClick: d[0] || (d[0] = _((o) => i(C.id), ["stop"]))
8127
8129
  }, [
8128
- P(e.$slots, "prepend", {}, () => [
8130
+ w(e.$slots, "prepend", {}, () => [
8129
8131
  C.variant !== f(H1).TEXT && C.prependIcon ? (t(), T(v, {
8130
8132
  key: 0,
8131
8133
  class: "tab-item__prepend-icon",
@@ -8134,18 +8136,18 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8134
8136
  }, null, 8, ["name"])) : g("", !0)
8135
8137
  ]),
8136
8138
  C.variant !== f(H1).ICON ? (t(), r("span", J2, B(C.label), 1)) : g("", !0),
8137
- P(e.$slots, "append", {}, () => [
8139
+ w(e.$slots, "append", {}, () => [
8138
8140
  C.variant !== f(H1).TEXT && C.appendIcon ? (t(), T(v, {
8139
8141
  key: 0,
8140
8142
  class: "tab-item__append-icon",
8141
8143
  name: C.appendIcon,
8142
8144
  size: 16,
8143
- onClick: _(i, ["stop"])
8145
+ onClick: _(A, ["stop"])
8144
8146
  }, null, 8, ["name", "onClick"])) : g("", !0)
8145
8147
  ])
8146
8148
  ], 14, X2));
8147
8149
  }
8148
- }), q5 = /* @__PURE__ */ w({
8150
+ }), q5 = /* @__PURE__ */ P({
8149
8151
  __name: "RTabs",
8150
8152
  props: {
8151
8153
  tabs: { default: () => [] },
@@ -8155,7 +8157,7 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8155
8157
  },
8156
8158
  emits: ["update:modelValue"],
8157
8159
  setup(H, { emit: V }) {
8158
- const C = H, L = D(C.modelValue || C.tabs[0].id), M = k(() => ({
8160
+ const C = H, L = x(C.modelValue || C.tabs[0].id), M = k(() => ({
8159
8161
  tabs: !0,
8160
8162
  "tabs--block": C.block,
8161
8163
  "tabs--tile": C.tile
@@ -8166,13 +8168,13 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8166
8168
  V("update:modelValue", L.value);
8167
8169
  }
8168
8170
  );
8169
- const A = () => {
8171
+ const i = () => {
8170
8172
  alert("Icon clicked");
8171
8173
  };
8172
- return (i, e) => (t(), r("div", {
8174
+ return (A, e) => (t(), r("div", {
8173
8175
  class: h(f(M))
8174
8176
  }, [
8175
- P(i.$slots, "default", {}, () => [
8177
+ w(A.$slots, "default", {}, () => [
8176
8178
  (t(!0), r(j, null, Y(C.tabs, (d, o) => (t(), T(C5, {
8177
8179
  id: d.id,
8178
8180
  key: o,
@@ -8186,7 +8188,7 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8186
8188
  variant: d.variant,
8187
8189
  tile: H.tile,
8188
8190
  block: H.block,
8189
- "onClick:icon": A
8191
+ "onClick:icon": i
8190
8192
  }, null, 8, ["id", "modelValue", "active", "disabled", "prependIcon", "appendIcon", "label", "variant", "tile", "block"]))), 128))
8191
8193
  ])
8192
8194
  ], 2));
@@ -8197,7 +8199,7 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8197
8199
  }, M5 = {
8198
8200
  key: 2,
8199
8201
  class: "textarea__hint"
8200
- }, Y5 = /* @__PURE__ */ w({
8202
+ }, Y5 = /* @__PURE__ */ P({
8201
8203
  __name: "RTextArea",
8202
8204
  props: {
8203
8205
  id: { default: "" },
@@ -8213,18 +8215,18 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8213
8215
  const C = H, L = J({
8214
8216
  value: ""
8215
8217
  });
8216
- function M(A) {
8217
- V("update:modelValue", A.target.value);
8218
+ function M(i) {
8219
+ V("update:modelValue", i.target.value);
8218
8220
  }
8219
8221
  return Q(
8220
8222
  () => C.modelValue,
8221
- (A) => {
8222
- L.value = A;
8223
+ (i) => {
8224
+ L.value = i;
8223
8225
  },
8224
8226
  {
8225
8227
  immediate: !0
8226
8228
  }
8227
- ), (A, i) => (t(), r("div", H5, [
8229
+ ), (i, A) => (t(), r("div", H5, [
8228
8230
  C.label ? (t(), T(R1, {
8229
8231
  key: 0,
8230
8232
  id: "textarea",
@@ -8253,7 +8255,7 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8253
8255
  }, i5 = { class: "input-wrapper" }, e5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], d5 = { class: "textfield__error" }, t5 = {
8254
8256
  key: 0,
8255
8257
  class: "textfield__hint"
8256
- }, m5 = /* @__PURE__ */ w({
8258
+ }, m5 = /* @__PURE__ */ P({
8257
8259
  __name: "RTextfield",
8258
8260
  props: {
8259
8261
  id: { default: "" },
@@ -8280,23 +8282,23 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8280
8282
  "click:clear"
8281
8283
  ],
8282
8284
  setup(H, { emit: V }) {
8283
- const C = H, L = D(), M = J({
8285
+ const C = H, L = x(), M = J({
8284
8286
  value: ""
8285
- }), A = D(C.type), i = {
8287
+ }), i = x(C.type), A = {
8286
8288
  password: "mdiLock",
8287
8289
  email: "mdiEmailOutline",
8288
8290
  tel: "mdiPhone",
8289
8291
  url: "mdiLink",
8290
8292
  number: "mdiNumeric",
8291
8293
  text: ""
8292
- }, e = D(!1), d = k(() => !!M.value), o = k(() => {
8293
- const { disabled: s, loading: y, clearable: x, errorMsg: E } = C;
8294
+ }, e = x(!1), d = k(() => !!M.value), o = k(() => {
8295
+ const { disabled: c, loading: y, clearable: D, errorMsg: E } = C;
8294
8296
  return {
8295
8297
  textfield: !0,
8296
8298
  "textfield--error": E == null ? void 0 : E.length,
8297
8299
  "textfield--loading": y,
8298
- "textfield--disabled": s,
8299
- "textfield--clearable": x,
8300
+ "textfield--disabled": c,
8301
+ "textfield--clearable": D,
8300
8302
  "textfield--focus": e.value,
8301
8303
  "textfield--filled": d.value
8302
8304
  };
@@ -8306,57 +8308,57 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8306
8308
  "textfield__prepend-icon--error": u.value && d.value
8307
8309
  })), l = k(() => ({
8308
8310
  "textfield__append-icon": !0,
8309
- "textfield__append-icon--clear": c.value,
8311
+ "textfield__append-icon--clear": s.value,
8310
8312
  "textfield__append-icon--error": u.value
8311
8313
  })), O = k(() => M.value.length > 0), u = k(() => {
8312
- var s;
8313
- return (s = C.errorMsg) == null ? void 0 : s.length;
8314
- }), c = k(() => C.clearable && O.value), a = k(() => {
8315
- const { prependIcon: s, type: y } = C;
8316
- return s || i[y];
8314
+ var c;
8315
+ return (c = C.errorMsg) == null ? void 0 : c.length;
8316
+ }), s = k(() => C.clearable && O.value), a = k(() => {
8317
+ const { prependIcon: c, type: y } = C;
8318
+ return c === "none" ? "" : c || A[y];
8317
8319
  }), m = k(() => {
8318
- const { appendIcon: s, type: y } = C;
8319
- return u.value ? "mdiAlertCircleOutline" : c.value && ["text", "email"].includes(y) ? "mdiClose" : y === "password" && A.value === "password" ? "mdiEyeOutline" : y === "password" && A.value === "text" ? "mdiEyeOffOutline" : s;
8320
- }), n = (s) => {
8321
- e.value = !0, V("focus", s);
8322
- }, p = (s) => {
8323
- e.value = !1, V("blur", s);
8324
- }, b = (s) => {
8325
- M.value = s.target.value, V("input", s);
8320
+ const { appendIcon: c, type: y } = C;
8321
+ return c === "none" ? "" : u.value ? "mdiAlertCircleOutline" : s.value && ["text", "email"].includes(y) ? "mdiClose" : y === "password" && i.value === "password" ? "mdiEyeOutline" : y === "password" && i.value === "text" ? "mdiEyeOffOutline" : c;
8322
+ }), n = (c) => {
8323
+ e.value = !0, V("focus", c);
8324
+ }, p = (c) => {
8325
+ e.value = !1, V("blur", c);
8326
+ }, b = (c) => {
8327
+ M.value = c.target.value, V("input", c);
8326
8328
  }, R = () => {
8327
- var s;
8328
- if (c.value) {
8329
- M.value = "", (s = L.value) == null || s.focus(), V("click:clear", {
8330
- value: A.value === "number" ? +M.value : M.value
8329
+ var c;
8330
+ if (s.value) {
8331
+ M.value = "", (c = L.value) == null || c.focus(), V("click:clear", {
8332
+ value: i.value === "number" ? +M.value : M.value
8331
8333
  });
8332
8334
  return;
8333
8335
  }
8334
8336
  V("click:icon", {
8335
- value: A.value === "number" ? +M.value : M.value
8337
+ value: i.value === "number" ? +M.value : M.value
8336
8338
  }), F();
8337
8339
  }, F = () => {
8338
- A.value = A.value === "password" ? "text" : "password";
8340
+ i.value = i.value === "password" ? "text" : "password";
8339
8341
  }, z = () => {
8340
- var s;
8341
- (s = L.value) == null || s.focus();
8342
+ var c;
8343
+ (c = L.value) == null || c.focus();
8342
8344
  };
8343
8345
  return Q(
8344
8346
  () => C.modelValue,
8345
- (s) => {
8346
- M.value = s;
8347
+ (c) => {
8348
+ M.value = c;
8347
8349
  },
8348
8350
  {
8349
8351
  immediate: !0
8350
8352
  }
8351
8353
  ), Q(
8352
8354
  () => M.value,
8353
- (s) => {
8355
+ (c) => {
8354
8356
  V(
8355
8357
  "update:modelValue",
8356
- A.value === "number" ? +s : s
8358
+ i.value === "number" ? +c : c
8357
8359
  );
8358
8360
  }
8359
- ), (s, y) => (t(), r("fieldset", null, [
8361
+ ), (c, y) => (t(), r("fieldset", null, [
8360
8362
  Z("div", A5, [
8361
8363
  N(R1, {
8362
8364
  id: C.id,
@@ -8371,8 +8373,8 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8371
8373
  Z("div", {
8372
8374
  class: h(f(o))
8373
8375
  }, [
8374
- P(s.$slots, "prepend"),
8375
- f(a) && !s.$slots.prepend ? (t(), T(v, {
8376
+ w(c.$slots, "prepend"),
8377
+ f(a) && !c.$slots.prepend ? (t(), T(v, {
8376
8378
  key: 0,
8377
8379
  class: h(f(S)),
8378
8380
  name: f(a),
@@ -8384,7 +8386,7 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8384
8386
  id: C.id,
8385
8387
  disabled: C.disabled,
8386
8388
  placeholder: C.placeholder,
8387
- type: A.value,
8389
+ type: i.value,
8388
8390
  value: M.value,
8389
8391
  min: C.min,
8390
8392
  max: C.max,
@@ -8392,8 +8394,8 @@ const X2 = ["aria-disabled", "aria-selected", "disabled"], J2 = {
8392
8394
  onFocus: n,
8393
8395
  onInput: b
8394
8396
  }, null, 40, e5),
8395
- P(s.$slots, "append"),
8396
- f(m) && !s.$slots.append ? (t(), T(v, {
8397
+ w(c.$slots, "append"),
8398
+ f(m) && !c.$slots.append ? (t(), T(v, {
8397
8399
  key: 1,
8398
8400
  class: h(f(l)),
8399
8401
  name: `${f(m)}`,
@@ -8422,20 +8424,20 @@ function u1(H) {
8422
8424
  }
8423
8425
  function h1(H, V, C) {
8424
8426
  let { reference: L, floating: M } = H;
8425
- const A = L.x + L.width / 2 - M.width / 2, i = L.y + L.height / 2 - M.height / 2, e = A1(V), d = u1(e), o = L[d] / 2 - M[d] / 2, S = e === "x";
8427
+ const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = A1(V), d = u1(e), o = L[d] / 2 - M[d] / 2, S = e === "x";
8426
8428
  let l;
8427
8429
  switch (M1(V)) {
8428
8430
  case "top":
8429
- l = { x: A, y: L.y - M.height };
8431
+ l = { x: i, y: L.y - M.height };
8430
8432
  break;
8431
8433
  case "bottom":
8432
- l = { x: A, y: L.y + L.height };
8434
+ l = { x: i, y: L.y + L.height };
8433
8435
  break;
8434
8436
  case "right":
8435
- l = { x: L.x + L.width, y: i };
8437
+ l = { x: L.x + L.width, y: A };
8436
8438
  break;
8437
8439
  case "left":
8438
- l = { x: L.x - M.width, y: i };
8440
+ l = { x: L.x - M.width, y: A };
8439
8441
  break;
8440
8442
  default:
8441
8443
  l = { x: L.x, y: L.y };
@@ -8450,11 +8452,11 @@ function h1(H, V, C) {
8450
8452
  return l;
8451
8453
  }
8452
8454
  const l5 = async (H, V, C) => {
8453
- const { placement: L = "bottom", strategy: M = "absolute", middleware: A = [], platform: i } = C, e = A.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8454
- let o = await i.getElementRects({ reference: H, floating: V, strategy: M }), { x: S, y: l } = h1(o, L, d), O = L, u = {}, c = 0;
8455
+ const { placement: L = "bottom", strategy: M = "absolute", middleware: i = [], platform: A } = C, e = i.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
8456
+ let o = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: S, y: l } = h1(o, L, d), O = L, u = {}, s = 0;
8455
8457
  for (let a = 0; a < e.length; a++) {
8456
- const { name: m, fn: n } = e[a], { x: p, y: b, data: R, reset: F } = await n({ x: S, y: l, initialPlacement: L, placement: O, strategy: M, middlewareData: u, rects: o, platform: i, elements: { reference: H, floating: V } });
8457
- S = p ?? S, l = b ?? l, u = { ...u, [m]: { ...u[m], ...R } }, F && c <= 50 && (c++, typeof F == "object" && (F.placement && (O = F.placement), F.rects && (o = F.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: M }) : F.rects), { x: S, y: l } = h1(o, O, d)), a = -1);
8458
+ const { name: m, fn: n } = e[a], { x: p, y: b, data: R, reset: F } = await n({ x: S, y: l, initialPlacement: L, placement: O, strategy: M, middlewareData: u, rects: o, platform: A, elements: { reference: H, floating: V } });
8459
+ S = p ?? S, l = b ?? l, u = { ...u, [m]: { ...u[m], ...R } }, F && s <= 50 && (s++, typeof F == "object" && (F.placement && (O = F.placement), F.rects && (o = F.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : F.rects), { x: S, y: l } = h1(o, O, d)), a = -1);
8458
8460
  }
8459
8461
  return { x: S, y: l, placement: O, strategy: M, middlewareData: u };
8460
8462
  };
@@ -8469,31 +8471,31 @@ function e1(H) {
8469
8471
  async function d1(H, V) {
8470
8472
  var C;
8471
8473
  V === void 0 && (V = {});
8472
- const { x: L, y: M, platform: A, rects: i, elements: e, strategy: d } = H, { boundary: o = "clippingAncestors", rootBoundary: S = "viewport", elementContext: l = "floating", altBoundary: O = !1, padding: u = 0 } = V, c = x1(u), a = e[O ? l === "floating" ? "reference" : "floating" : l], m = e1(await A.getClippingRect({ element: (C = await (A.isElement == null ? void 0 : A.isElement(a))) == null || C ? a : a.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: L, y: M } : i.reference, offsetParent: await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8473
- return { top: m.top - n.top + c.top, bottom: n.bottom - m.bottom + c.bottom, left: m.left - n.left + c.left, right: n.right - m.right + c.right };
8474
+ const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: o = "clippingAncestors", rootBoundary: S = "viewport", elementContext: l = "floating", altBoundary: O = !1, padding: u = 0 } = V, s = x1(u), a = e[O ? l === "floating" ? "reference" : "floating" : l], m = e1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(a))) == null || C ? a : a.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: o, rootBoundary: S, strategy: d })), n = e1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[l]);
8475
+ return { top: m.top - n.top + s.top, bottom: n.bottom - m.bottom + s.bottom, left: m.left - n.left + s.left, right: n.right - m.right + s.right };
8474
8476
  }
8475
8477
  const o5 = Math.min, n5 = Math.max;
8476
8478
  function Z1(H, V, C) {
8477
8479
  return n5(H, o5(V, C));
8478
8480
  }
8479
8481
  const r5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8480
- const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: A, placement: i, rects: e, platform: d } = V;
8482
+ const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: i, placement: A, rects: e, platform: d } = V;
8481
8483
  if (C == null)
8482
8484
  return {};
8483
- const o = x1(L), S = { x: M, y: A }, l = A1(i), O = l1(i), u = u1(l), c = await d.getDimensions(C), a = 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));
8485
+ const o = x1(L), S = { x: M, y: i }, l = A1(A), O = l1(A), u = u1(l), s = await d.getDimensions(C), a = 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));
8484
8486
  let R = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0;
8485
8487
  R === 0 && (R = e.floating[u]);
8486
- const F = n / 2 - p / 2, z = o[a], s = R - c[u] - o[m], y = R / 2 - c[u] / 2 + F, x = Z1(z, y, s), E = (O === "start" ? o[a] : o[m]) > 0 && y !== x && e.reference[u] <= e.floating[u];
8487
- return { [l]: S[l] - (E ? y < z ? z - y : s - y : 0), data: { [l]: x, centerOffset: y - x } };
8488
+ const F = n / 2 - p / 2, z = o[a], c = R - s[u] - o[m], y = R / 2 - s[u] / 2 + F, D = Z1(z, y, c), E = (O === "start" ? o[a] : o[m]) > 0 && y !== D && e.reference[u] <= e.floating[u];
8489
+ return { [l]: S[l] - (E ? y < z ? z - y : c - y : 0), data: { [l]: D, centerOffset: y - D } };
8488
8490
  } }), a5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8489
8491
  function t1(H) {
8490
8492
  return H.replace(/left|right|bottom|top/g, (V) => a5[V]);
8491
8493
  }
8492
8494
  function Z5(H, V, C) {
8493
8495
  C === void 0 && (C = !1);
8494
- const L = l1(H), M = A1(H), A = u1(M);
8495
- let i = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8496
- return V.reference[A] > V.floating[A] && (i = t1(i)), { main: i, cross: t1(i) };
8496
+ const L = l1(H), M = A1(H), i = u1(M);
8497
+ let A = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8498
+ return V.reference[i] > V.floating[i] && (A = t1(A)), { main: A, cross: t1(A) };
8497
8499
  }
8498
8500
  const S5 = { start: "end", end: "start" };
8499
8501
  function f1(H) {
@@ -8504,30 +8506,30 @@ D1.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8504
8506
  const u5 = function(H) {
8505
8507
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8506
8508
  var C;
8507
- const { placement: L, middlewareData: M, rects: A, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: o = !0, crossAxis: S = !0, fallbackPlacements: l, fallbackStrategy: O = "bestFit", flipAlignment: u = !0, ...c } = H, a = M1(L), m = l || (a === i || !u ? [t1(i)] : function(y) {
8508
- const x = t1(y);
8509
- return [f1(y), x, f1(x)];
8510
- }(i)), n = [i, ...m], p = await d1(V, c), b = [];
8509
+ const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: o = !0, crossAxis: S = !0, fallbackPlacements: l, fallbackStrategy: O = "bestFit", flipAlignment: u = !0, ...s } = H, a = M1(L), m = l || (a === A || !u ? [t1(A)] : function(y) {
8510
+ const D = t1(y);
8511
+ return [f1(y), D, f1(D)];
8512
+ }(A)), n = [A, ...m], p = await d1(V, s), b = [];
8511
8513
  let R = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8512
8514
  if (o && b.push(p[a]), S) {
8513
- const { main: y, cross: x } = Z5(L, A, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8514
- b.push(p[y], p[x]);
8515
+ const { main: y, cross: D } = Z5(L, i, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8516
+ b.push(p[y], p[D]);
8515
8517
  }
8516
8518
  if (R = [...R, { placement: L, overflows: b }], !b.every((y) => y <= 0)) {
8517
8519
  var F, z;
8518
- const y = ((F = (z = M.flip) == null ? void 0 : z.index) != null ? F : 0) + 1, x = n[y];
8519
- if (x)
8520
- return { data: { index: y, overflows: R }, reset: { placement: x } };
8520
+ const y = ((F = (z = M.flip) == null ? void 0 : z.index) != null ? F : 0) + 1, D = n[y];
8521
+ if (D)
8522
+ return { data: { index: y, overflows: R }, reset: { placement: D } };
8521
8523
  let E = "bottom";
8522
8524
  switch (O) {
8523
8525
  case "bestFit": {
8524
- var s;
8525
- const s1 = (s = R.map((i1) => [i1, i1.overflows.filter((C1) => C1 > 0).reduce((C1, z1) => C1 + z1, 0)]).sort((i1, C1) => i1[1] - C1[1])[0]) == null ? void 0 : s[0].placement;
8526
+ var c;
8527
+ const s1 = (c = R.map((i1) => [i1, i1.overflows.filter((C1) => C1 > 0).reduce((C1, z1) => C1 + z1, 0)]).sort((i1, C1) => i1[1] - C1[1])[0]) == null ? void 0 : c[0].placement;
8526
8528
  s1 && (E = s1);
8527
8529
  break;
8528
8530
  }
8529
8531
  case "initialPlacement":
8530
- E = i;
8532
+ E = A;
8531
8533
  }
8532
8534
  if (L !== E)
8533
8535
  return { reset: { placement: E } };
@@ -8547,12 +8549,12 @@ const c5 = function(H) {
8547
8549
  const { rects: M } = L;
8548
8550
  switch (V) {
8549
8551
  case "referenceHidden": {
8550
- const A = g1(await d1(L, { ...C, elementContext: "reference" }), M.reference);
8551
- return { data: { referenceHiddenOffsets: A, referenceHidden: k1(A) } };
8552
+ const i = g1(await d1(L, { ...C, elementContext: "reference" }), M.reference);
8553
+ return { data: { referenceHiddenOffsets: i, referenceHidden: k1(i) } };
8552
8554
  }
8553
8555
  case "escaped": {
8554
- const A = g1(await d1(L, { ...C, altBoundary: !0 }), M.floating);
8555
- return { data: { escapedOffsets: A, escaped: k1(A) } };
8556
+ const i = g1(await d1(L, { ...C, altBoundary: !0 }), M.floating);
8557
+ return { data: { escapedOffsets: i, escaped: k1(i) } };
8556
8558
  }
8557
8559
  default:
8558
8560
  return {};
@@ -8560,10 +8562,10 @@ const c5 = function(H) {
8560
8562
  } };
8561
8563
  }, s5 = function(H) {
8562
8564
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8563
- const { x: C, y: L } = V, M = await async function(A, i) {
8564
- const { placement: e, platform: d, elements: o } = A, S = await (d.isRTL == null ? void 0 : d.isRTL(o.floating)), l = M1(e), O = l1(e), u = A1(e) === "x", c = ["left", "top"].includes(l) ? -1 : 1, a = S && u ? -1 : 1, m = typeof i == "function" ? i(A) : i;
8565
+ const { x: C, y: L } = V, M = await async function(i, A) {
8566
+ const { placement: e, platform: d, elements: o } = i, S = await (d.isRTL == null ? void 0 : d.isRTL(o.floating)), l = M1(e), O = l1(e), u = A1(e) === "x", s = ["left", "top"].includes(l) ? -1 : 1, a = S && u ? -1 : 1, m = typeof A == "function" ? A(i) : A;
8565
8567
  let { mainAxis: n, crossAxis: p, alignmentAxis: b } = typeof m == "number" ? { mainAxis: m, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...m };
8566
- return O && typeof b == "number" && (p = O === "end" ? -1 * b : b), u ? { x: p * a, y: n * c } : { x: n * c, y: p * a };
8568
+ return O && typeof b == "number" && (p = O === "end" ? -1 * b : b), u ? { x: p * a, y: n * s } : { x: n * s, y: p * a };
8567
8569
  }(V, H);
8568
8570
  return { x: C + M.x, y: L + M.y, data: M };
8569
8571
  } };
@@ -8573,20 +8575,20 @@ function O5(H) {
8573
8575
  }
8574
8576
  const p5 = function(H) {
8575
8577
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8576
- const { x: C, y: L, placement: M } = V, { mainAxis: A = !0, crossAxis: i = !1, limiter: e = { fn: (m) => {
8578
+ const { x: C, y: L, placement: M } = V, { mainAxis: i = !0, crossAxis: A = !1, limiter: e = { fn: (m) => {
8577
8579
  let { x: n, y: p } = m;
8578
8580
  return { x: n, y: p };
8579
8581
  } }, ...d } = H, o = { x: C, y: L }, S = await d1(V, d), l = A1(M1(M)), O = O5(l);
8580
- let u = o[l], c = o[O];
8581
- if (A) {
8582
+ let u = o[l], s = o[O];
8583
+ if (i) {
8582
8584
  const m = l === "y" ? "bottom" : "right";
8583
8585
  u = Z1(u + S[l === "y" ? "top" : "left"], u, u - S[m]);
8584
8586
  }
8585
- if (i) {
8587
+ if (A) {
8586
8588
  const m = O === "y" ? "bottom" : "right";
8587
- c = Z1(c + S[O === "y" ? "top" : "left"], c, c - S[m]);
8589
+ s = Z1(s + S[O === "y" ? "top" : "left"], s, s - S[m]);
8588
8590
  }
8589
- const a = e.fn({ ...V, [l]: u, [O]: c });
8591
+ const a = e.fn({ ...V, [l]: u, [O]: s });
8590
8592
  return { ...a, data: { x: a.x - C, y: a.y - L } };
8591
8593
  } };
8592
8594
  };
@@ -8631,8 +8633,8 @@ function h5(H) {
8631
8633
  function S1(H) {
8632
8634
  const V = /firefox/i.test(_1()), C = W(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8633
8635
  return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((M) => C.willChange.includes(M)) || ["paint", "layout", "strict", "content"].some((M) => {
8634
- const A = C.contain;
8635
- return A != null && A.includes(M);
8636
+ const i = C.contain;
8637
+ return i != null && i.includes(M);
8636
8638
  });
8637
8639
  }
8638
8640
  function N1() {
@@ -8643,13 +8645,13 @@ function c1(H) {
8643
8645
  }
8644
8646
  const b1 = Math.min, V1 = Math.max, m1 = Math.round;
8645
8647
  function q(H, V, C) {
8646
- var L, M, A, i;
8648
+ var L, M, i, A;
8647
8649
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8648
8650
  const e = H.getBoundingClientRect();
8649
8651
  let d = 1, o = 1;
8650
8652
  V && I(H) && (d = H.offsetWidth > 0 && m1(e.width) / H.offsetWidth || 1, o = H.offsetHeight > 0 && m1(e.height) / H.offsetHeight || 1);
8651
- const S = X(H) ? G(H) : window, l = !N1() && C, O = (e.left + (l && (L = (M = S.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, u = (e.top + (l && (A = (i = S.visualViewport) == null ? void 0 : i.offsetTop) != null ? A : 0)) / o, c = e.width / d, a = e.height / o;
8652
- return { width: c, height: a, top: u, right: O + c, bottom: u + a, left: O, x: O, y: u };
8653
+ const S = X(H) ? G(H) : window, l = !N1() && C, O = (e.left + (l && (L = (M = S.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, u = (e.top + (l && (i = (A = S.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / o, s = e.width / d, a = e.height / o;
8654
+ return { width: s, height: a, top: u, right: O + s, bottom: u + a, left: O, x: O, y: u };
8653
8655
  }
8654
8656
  function $(H) {
8655
8657
  return (V = H, (V instanceof G(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8662,19 +8664,19 @@ function W1(H) {
8662
8664
  return q($(H)).left + n1(H).scrollLeft;
8663
8665
  }
8664
8666
  function f5(H, V, C) {
8665
- const L = I(V), M = $(V), A = q(H, L && function(d) {
8667
+ const L = I(V), M = $(V), i = q(H, L && function(d) {
8666
8668
  const o = q(d);
8667
8669
  return m1(o.width) !== d.offsetWidth || m1(o.height) !== d.offsetHeight;
8668
8670
  }(V), C === "fixed");
8669
- let i = { scrollLeft: 0, scrollTop: 0 };
8671
+ let A = { scrollLeft: 0, scrollTop: 0 };
8670
8672
  const e = { x: 0, y: 0 };
8671
8673
  if (L || !L && C !== "fixed")
8672
- if ((K(V) !== "body" || o1(M)) && (i = n1(V)), I(V)) {
8674
+ if ((K(V) !== "body" || o1(M)) && (A = n1(V)), I(V)) {
8673
8675
  const d = q(V, !0);
8674
8676
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8675
8677
  } else
8676
8678
  M && (e.x = W1(M));
8677
- return { x: A.left + i.scrollLeft - e.x, y: A.top + i.scrollTop - e.y, width: A.width, height: A.height };
8679
+ return { x: i.left + A.scrollLeft - e.x, y: i.top + A.scrollTop - e.y, width: i.width, height: i.height };
8678
8680
  }
8679
8681
  function L1(H) {
8680
8682
  if (K(H) === "html")
@@ -8685,7 +8687,7 @@ function L1(H) {
8685
8687
  function y1(H) {
8686
8688
  return I(H) && W(H).position !== "fixed" ? H.offsetParent : null;
8687
8689
  }
8688
- function P1(H) {
8690
+ function w1(H) {
8689
8691
  const V = G(H);
8690
8692
  let C = y1(H);
8691
8693
  for (; C && h5(C) && W(C).position === "static"; )
@@ -8707,13 +8709,13 @@ function I1(H) {
8707
8709
  function Q1(H, V) {
8708
8710
  var C;
8709
8711
  V === void 0 && (V = []);
8710
- const L = I1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), A = G(L), i = M ? [A].concat(A.visualViewport || [], o1(L) ? L : []) : L, e = V.concat(i);
8711
- return M ? e : e.concat(Q1(i));
8712
+ const L = I1(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), i = G(L), A = M ? [i].concat(i.visualViewport || [], o1(L) ? L : []) : L, e = V.concat(A);
8713
+ return M ? e : e.concat(Q1(A));
8712
8714
  }
8713
- function w1(H, V, C) {
8715
+ function P1(H, V, C) {
8714
8716
  return V === "viewport" ? e1(function(L, M) {
8715
- const A = G(L), i = $(L), e = A.visualViewport;
8716
- let d = i.clientWidth, o = i.clientHeight, S = 0, l = 0;
8717
+ const i = G(L), A = $(L), e = i.visualViewport;
8718
+ let d = A.clientWidth, o = A.clientHeight, S = 0, l = 0;
8717
8719
  if (e) {
8718
8720
  d = e.width, o = e.height;
8719
8721
  const O = N1();
@@ -8721,67 +8723,67 @@ function w1(H, V, C) {
8721
8723
  }
8722
8724
  return { width: d, height: o, x: S, y: l };
8723
8725
  }(H, C)) : X(V) ? function(L, M) {
8724
- const A = q(L, !1, M === "fixed"), i = A.top + L.clientTop, e = A.left + L.clientLeft;
8725
- return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8726
+ const i = q(L, !1, M === "fixed"), A = i.top + L.clientTop, e = i.left + L.clientLeft;
8727
+ return { top: A, left: e, x: e, y: A, right: e + L.clientWidth, bottom: A + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8726
8728
  }(V, C) : e1(function(L) {
8727
8729
  var M;
8728
- const A = $(L), i = n1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = V1(A.scrollWidth, A.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), o = V1(A.scrollHeight, A.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8729
- let S = -i.scrollLeft + W1(L);
8730
- const l = -i.scrollTop;
8731
- return W(e || A).direction === "rtl" && (S += V1(A.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: o, x: S, y: l };
8730
+ const i = $(L), A = n1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = V1(i.scrollWidth, i.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), o = V1(i.scrollHeight, i.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8731
+ let S = -A.scrollLeft + W1(L);
8732
+ const l = -A.scrollTop;
8733
+ return W(e || i).direction === "rtl" && (S += V1(i.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: o, x: S, y: l };
8732
8734
  }($(H)));
8733
8735
  }
8734
8736
  const g5 = { getClippingRect: function(H) {
8735
8737
  let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8736
- const A = C === "clippingAncestors" ? function(o) {
8737
- let S = Q1(o).filter((c) => X(c) && K(c) !== "body"), l = null;
8738
+ const i = C === "clippingAncestors" ? function(o) {
8739
+ let S = Q1(o).filter((s) => X(s) && K(s) !== "body"), l = null;
8738
8740
  const O = W(o).position === "fixed";
8739
8741
  let u = O ? L1(o) : o;
8740
8742
  for (; X(u) && !c1(u); ) {
8741
- const c = W(u), a = S1(u);
8742
- (O ? a || l : a || c.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = c : S = S.filter((m) => m !== u), u = L1(u);
8743
+ const s = W(u), a = S1(u);
8744
+ (O ? a || l : a || s.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = s : S = S.filter((m) => m !== u), u = L1(u);
8743
8745
  }
8744
8746
  return S;
8745
- }(V) : [].concat(C), i = [...A, L], e = i[0], d = i.reduce((o, S) => {
8746
- const l = w1(V, S, M);
8747
+ }(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((o, S) => {
8748
+ const l = P1(V, S, M);
8747
8749
  return o.top = V1(l.top, o.top), o.right = b1(l.right, o.right), o.bottom = b1(l.bottom, o.bottom), o.left = V1(l.left, o.left), o;
8748
- }, w1(V, e, M));
8750
+ }, P1(V, e, M));
8749
8751
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8750
8752
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8751
8753
  let { rect: V, offsetParent: C, strategy: L } = H;
8752
- const M = I(C), A = $(C);
8753
- if (C === A)
8754
+ const M = I(C), i = $(C);
8755
+ if (C === i)
8754
8756
  return V;
8755
- let i = { scrollLeft: 0, scrollTop: 0 };
8757
+ let A = { scrollLeft: 0, scrollTop: 0 };
8756
8758
  const e = { x: 0, y: 0 };
8757
- if ((M || !M && L !== "fixed") && ((K(C) !== "body" || o1(A)) && (i = n1(C)), I(C))) {
8759
+ if ((M || !M && L !== "fixed") && ((K(C) !== "body" || o1(i)) && (A = n1(C)), I(C))) {
8758
8760
  const d = q(C, !0);
8759
8761
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8760
8762
  }
8761
- return { ...V, x: V.x - i.scrollLeft + e.x, y: V.y - i.scrollTop + e.y };
8763
+ return { ...V, x: V.x - A.scrollLeft + e.x, y: V.y - A.scrollTop + e.y };
8762
8764
  }, isElement: X, getDimensions: function(H) {
8763
8765
  if (I(H))
8764
8766
  return { width: H.offsetWidth, height: H.offsetHeight };
8765
8767
  const V = q(H);
8766
8768
  return { width: V.width, height: V.height };
8767
- }, getOffsetParent: P1, getDocumentElement: $, async getElementRects(H) {
8769
+ }, getOffsetParent: w1, getDocumentElement: $, async getElementRects(H) {
8768
8770
  let { reference: V, floating: C, strategy: L } = H;
8769
- const M = this.getOffsetParent || P1, A = this.getDimensions;
8770
- return { reference: f5(V, await M(C), L), floating: { x: 0, y: 0, ...await A(C) } };
8771
+ const M = this.getOffsetParent || w1, i = this.getDimensions;
8772
+ return { reference: f5(V, await M(C), L), floating: { x: 0, y: 0, ...await i(C) } };
8771
8773
  }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => W(H).direction === "rtl" }, k5 = (H, V, C) => l5(H, V, { platform: g5, ...C });
8772
- function r1({ value: H }, { value: V }, { value: C }, L, M, A) {
8774
+ function r1({ value: H }, { value: V }, { value: C }, L, M, i) {
8773
8775
  !H || !V || k5(H, V, {
8774
8776
  placement: L,
8775
8777
  middleware: [
8776
8778
  s5(M),
8777
- p5({ padding: A }),
8779
+ p5({ padding: i }),
8778
8780
  r5({ element: C }),
8779
8781
  u5(),
8780
8782
  c5()
8781
8783
  ]
8782
- }).then(({ x: i, y: e, placement: d, middlewareData: o }) => {
8784
+ }).then(({ x: A, y: e, placement: d, middlewareData: o }) => {
8783
8785
  if (Object.assign(V.style, {
8784
- left: `${i}px`,
8786
+ left: `${A}px`,
8785
8787
  top: `${e}px`
8786
8788
  }), C && o.arrow) {
8787
8789
  const { x: S, y: l } = o.arrow, O = {
@@ -8792,7 +8794,7 @@ function r1({ value: H }, { value: V }, { value: C }, L, M, A) {
8792
8794
  /* Right */
8793
8795
  }[d.split("-")[0]];
8794
8796
  Object.assign(C.style, {
8795
- left: i != null ? `${S}px` : "",
8797
+ left: A != null ? `${S}px` : "",
8796
8798
  top: e != null ? `${l}px` : "",
8797
8799
  right: "",
8798
8800
  bottom: "",
@@ -8802,7 +8804,7 @@ function r1({ value: H }, { value: V }, { value: C }, L, M, A) {
8802
8804
  });
8803
8805
  }
8804
8806
  var G1 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(G1 || {}), U = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(U || {});
8805
- const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], b5 = ["innerHTML"], y5 = /* @__PURE__ */ w({
8807
+ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], b5 = ["innerHTML"], y5 = /* @__PURE__ */ P({
8806
8808
  __name: "RTooltip",
8807
8809
  props: {
8808
8810
  placement: { default: G1.Top },
@@ -8827,10 +8829,10 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8827
8829
  Y1((m) => ({
8828
8830
  "271323d4": f(a)
8829
8831
  }));
8830
- const L = D(null), M = D(null), A = D(null);
8831
- function i() {
8832
+ const L = x(null), M = x(null), i = x(null);
8833
+ function A() {
8832
8834
  const { placement: m, offset: n, padding: p, disabled: b } = C;
8833
- b || (M.value.style.display = "block", V("show"), r1(L, M, A, m, n, p), d(), C.outsideClick && o("add"));
8835
+ b || (M.value.style.display = "block", V("show"), r1(L, M, i, m, n, p), d(), C.outsideClick && o("add"));
8834
8836
  }
8835
8837
  function e() {
8836
8838
  M.value.style.display = "", V("hide"), C.outsideClick && o("remove");
@@ -8842,30 +8844,30 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8842
8844
  }, o = (m) => {
8843
8845
  m === "add" && document.addEventListener("click", e), m === "remove" && document.removeEventListener("click", e);
8844
8846
  }, S = () => {
8845
- C.disabled || C.triggers == U.Click && (M.value.style.display === "block" ? e() : i());
8847
+ C.disabled || C.triggers == U.Click && (M.value.style.display === "block" ? e() : A());
8846
8848
  }, l = () => {
8847
- C.disabled || C.triggers === U.Hover && i();
8849
+ C.disabled || C.triggers === U.Hover && A();
8848
8850
  }, O = () => {
8849
8851
  if (!C.disabled)
8850
8852
  if (M.value.style.display === "" && C.triggers === U.Hover) {
8851
- i();
8853
+ A();
8852
8854
  return;
8853
8855
  } else
8854
8856
  M.value.style.display !== "" && C.triggers === U.Hover && e();
8855
8857
  }, u = () => {
8856
8858
  const { placement: m, offset: n, padding: p, disabled: b } = C;
8857
- b || C.triggers === U.Hover && r1(L, M, A, m, n, p);
8858
- }, c = k(() => ({
8859
+ b || C.triggers === U.Hover && r1(L, M, i, m, n, p);
8860
+ }, s = k(() => ({
8859
8861
  tooltip: !0,
8860
8862
  "tooltip--dark": C.dark,
8861
8863
  "tooltip--light": C.light
8862
8864
  }));
8863
8865
  window.onresize = () => {
8864
8866
  const { placement: m, offset: n, padding: p, disabled: b } = C;
8865
- b || C.resizable && r1(L, M, A, m, n, p);
8867
+ b || C.resizable && r1(L, M, i, m, n, p);
8866
8868
  }, X1(
8867
8869
  () => {
8868
- C.disabled || C.shown && C.triggers === U.Manual && i();
8870
+ C.disabled || C.shown && C.triggers === U.Manual && A();
8869
8871
  },
8870
8872
  { flush: "post" }
8871
8873
  // this is important to avoid infinite loop & for fire on mounted
@@ -8882,7 +8884,7 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8882
8884
  onMouseleave: _(O, ["stop"]),
8883
8885
  onMousemove: _(u, ["stop"])
8884
8886
  }, [
8885
- P(m.$slots, "trigger", {}, void 0, !0),
8887
+ w(m.$slots, "trigger", {}, void 0, !0),
8886
8888
  m.$slots.trigger ? g("", !0) : (t(), r("div", {
8887
8889
  key: 0,
8888
8890
  innerHTML: C.triggerContent
@@ -8892,10 +8894,10 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8892
8894
  id: "tooltip",
8893
8895
  ref_key: "tooltip",
8894
8896
  ref: M,
8895
- class: h(f(c)),
8897
+ class: h(f(s)),
8896
8898
  role: "tooltip"
8897
8899
  }, [
8898
- P(m.$slots, "content", {}, void 0, !0),
8900
+ w(m.$slots, "content", {}, void 0, !0),
8899
8901
  m.$slots.content ? g("", !0) : (t(), r("div", {
8900
8902
  key: 0,
8901
8903
  class: h({
@@ -8908,7 +8910,7 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8908
8910
  key: 1,
8909
8911
  id: "arrow",
8910
8912
  ref_key: "arrowElement",
8911
- ref: A,
8913
+ ref: i,
8912
8914
  class: h({
8913
8915
  tooltip__arrow: !0,
8914
8916
  "tooltip__arrow--dark": C.dark,
@@ -8919,15 +8921,15 @@ const B5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8919
8921
  ], 64));
8920
8922
  }
8921
8923
  });
8922
- const P5 = (H, V) => {
8924
+ const w5 = (H, V) => {
8923
8925
  const C = H.__vccOpts || H;
8924
8926
  for (const [L, M] of V)
8925
8927
  C[L] = M;
8926
8928
  return C;
8927
- }, X5 = /* @__PURE__ */ P5(y5, [["__scopeId", "data-v-ee5f5651"]]), w5 = { class: "r-breadcrumb" }, T5 = {
8929
+ }, X5 = /* @__PURE__ */ w5(y5, [["__scopeId", "data-v-ee5f5651"]]), P5 = { class: "r-breadcrumb" }, T5 = {
8928
8930
  key: 0,
8929
8931
  class: "r-breadcrumb__title"
8930
- }, J5 = /* @__PURE__ */ w({
8932
+ }, J5 = /* @__PURE__ */ P({
8931
8933
  __name: "RBreadcrumb",
8932
8934
  props: {
8933
8935
  items: { default: () => [] },
@@ -8937,28 +8939,28 @@ const P5 = (H, V) => {
8937
8939
  const V = H;
8938
8940
  return (C, L) => {
8939
8941
  const M = J1("router-link");
8940
- return t(), r("div", w5, [
8941
- (t(!0), r(j, null, Y(V.items, (A, i) => (t(), r("div", {
8942
+ return t(), r("div", P5, [
8943
+ (t(!0), r(j, null, Y(V.items, (i, A) => (t(), r("div", {
8942
8944
  class: "r-breadcrumb__item",
8943
- key: i
8945
+ key: A
8944
8946
  }, [
8945
8947
  N(M, {
8946
- to: A.to,
8948
+ to: i.to,
8947
8949
  class: "r-breadcrumb__link"
8948
8950
  }, {
8949
8951
  default: v1(() => [
8950
- P(C.$slots, "item-icon", {}, () => [
8951
- A.icon ? (t(), T(v, {
8952
+ w(C.$slots, "item-icon", {}, () => [
8953
+ i.icon ? (t(), T(v, {
8952
8954
  key: 0,
8953
- name: A.icon
8955
+ name: i.icon
8954
8956
  }, null, 8, ["name"])) : g("", !0)
8955
8957
  ]),
8956
- A.onlyIcon ? g("", !0) : (t(), r("span", T5, B(A.title), 1))
8958
+ i.onlyIcon ? g("", !0) : (t(), r("span", T5, B(i.title), 1))
8957
8959
  ]),
8958
8960
  _: 2
8959
8961
  }, 1032, ["to"]),
8960
- P(C.$slots, "custom-seperator", {}, () => [
8961
- i !== H.items.length - 1 && V.seperator ? (t(), T(v, {
8962
+ w(C.$slots, "custom-seperator", {}, () => [
8963
+ A !== H.items.length - 1 && V.seperator ? (t(), T(v, {
8962
8964
  key: 0,
8963
8965
  name: V.seperator,
8964
8966
  class: "r-breadcrumb__separator"
@@ -8968,28 +8970,30 @@ const P5 = (H, V) => {
8968
8970
  ]);
8969
8971
  };
8970
8972
  }
8971
- }), v5 = { class: "r-pagination" }, F5 = { class: "r-pagination__page-info" }, R5 = { key: 0 }, x5 = { class: "r-pagination__page-info__current-page" }, D5 = { class: "r-pagination__page-info__total-pages" }, E5 = { class: "r-pagination__paginator" }, C3 = /* @__PURE__ */ w({
8973
+ }), v5 = { class: "r-pagination" }, F5 = { class: "r-pagination__page-info" }, R5 = { key: 0 }, x5 = { class: "r-pagination__page-info__current-page" }, D5 = { class: "r-pagination__page-info__total-pages" }, E5 = { class: "r-pagination__paginator" }, C3 = /* @__PURE__ */ P({
8972
8974
  __name: "RPagination",
8973
8975
  props: {
8974
8976
  page: { default: 1 },
8975
- totalPages: { default: 20 },
8977
+ perPage: { default: 10 },
8978
+ totalItems: { default: 100 },
8976
8979
  pageText: { default: "Page" },
8977
8980
  ofText: { default: "of" },
8978
8981
  slash: { type: Boolean, default: !1 },
8979
8982
  prevIcon: { default: "mdiChevronLeft" },
8980
- nextIcon: { default: "mdiChevronRight" }
8983
+ nextIcon: { default: "mdiChevronRight" },
8984
+ modelValue: { default: 1 }
8981
8985
  },
8982
- emits: ["update:page"],
8986
+ emits: ["update:page", "update:modelValue"],
8983
8987
  setup(H, { emit: V }) {
8984
- const C = H, L = (M) => {
8985
- M < 1 || M > C.totalPages || V("update:page", M);
8988
+ const C = H, L = x(Math.ceil(C.totalItems / C.perPage)), M = (i) => {
8989
+ C.modelValue = i, !(i < 1 || i > L.value) && (V("update:page", i), V("update:modelValue", C.modelValue));
8986
8990
  };
8987
- return (M, A) => (t(), r("div", v5, [
8991
+ return (i, A) => (t(), r("div", v5, [
8988
8992
  Z("div", F5, [
8989
8993
  H.slash ? g("", !0) : (t(), r("span", R5, B(C.pageText), 1)),
8990
8994
  Z("span", x5, B(C.page), 1),
8991
8995
  F1(" " + B(H.slash ? "/" : C.ofText) + " ", 1),
8992
- Z("span", D5, B(H.totalPages), 1)
8996
+ Z("span", D5, B(L.value), 1)
8993
8997
  ]),
8994
8998
  Z("div", E5, [
8995
8999
  N(a1, {
@@ -8998,24 +9002,25 @@ const P5 = (H, V) => {
8998
9002
  "only-icon": "",
8999
9003
  "prepend-icon": H.prevIcon,
9000
9004
  disabled: C.page === 1,
9001
- onClick: A[0] || (A[0] = (i) => L(C.page - 1))
9005
+ onClick: A[0] || (A[0] = (e) => M(C.page - 1))
9002
9006
  }, null, 8, ["prepend-icon", "disabled"]),
9003
9007
  N(m5, {
9004
9008
  modelValue: C.page,
9005
- "onUpdate:modelValue": A[1] || (A[1] = (i) => C.page = i),
9009
+ "onUpdate:modelValue": A[1] || (A[1] = (e) => C.page = e),
9006
9010
  class: "r-pagination__paginator__input",
9007
9011
  type: "number",
9008
9012
  min: "1",
9009
- max: H.totalPages,
9010
- onInput: A[2] || (A[2] = (i) => L(i == null ? void 0 : i.value))
9013
+ prependIcon: "none",
9014
+ max: L.value,
9015
+ onInput: A[2] || (A[2] = (e) => M(e == null ? void 0 : e.value))
9011
9016
  }, null, 8, ["modelValue", "max"]),
9012
9017
  N(a1, {
9013
9018
  class: "r-pagination__paginator__next",
9014
9019
  variant: "outline",
9015
9020
  "only-icon": "",
9016
9021
  "prepend-icon": H.nextIcon,
9017
- disabled: C.page === H.totalPages,
9018
- onClick: A[3] || (A[3] = (i) => L(C.page + 1))
9022
+ disabled: C.page === L.value,
9023
+ onClick: A[3] || (A[3] = (e) => M(C.page + 1))
9019
9024
  }, null, 8, ["prepend-icon", "disabled"])
9020
9025
  ])
9021
9026
  ]));