@rocketui/vue 0.2.15 → 0.2.17

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 T, openBlock as m, createElementBlock as r, createElementVNode as S, unref as V1, reactive as Z1, Fragment as L1, renderList as A1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as K, computed as g, createCommentVNode as c, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as d1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
1
+ import { defineComponent as T, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as V1, reactive as Z1, Fragment as i1, renderList as o1, normalizeClass as c, renderSlot as f, toDisplayString as w, createVNode as U, computed as g, createCommentVNode as p, mergeProps as j1, createBlock as _, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as W, watchEffect as S2, onMounted as X1, Teleport as s2, withCtx as n1, withDirectives as Y1, withModifiers as e1, withKeys as N1, vModelText as c2, createTextVNode as R1, onUnmounted as O2, normalizeStyle as x1, vShow as p2, Transition as f2, resolveComponent as h2, provide as s1, resolveDynamicComponent as g2, inject as c1 } from "vue";
2
2
  const k2 = {
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 k2 = {
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
- }, B2 = ["height", "viewBox", "width"], b2 = ["d"], D = /* @__PURE__ */ T({
7299
+ }, B2 = ["height", "viewBox", "width"], b2 = ["d"], x = /* @__PURE__ */ T({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,7 +7305,7 @@ const k2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), r("svg", {
7308
+ return (C, M) => (m(), Z("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
@@ -7316,7 +7316,7 @@ const k2 = {
7316
7316
  }, null, 8, b2)
7317
7317
  ], 8, B2));
7318
7318
  }
7319
- }), w2 = ["data-state"], y2 = ["onClick"], P2 = { class: "r-accordion__title" }, v2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, A0 = /* @__PURE__ */ T({
7319
+ }), w2 = ["data-state"], y2 = ["onClick"], P2 = { class: "r-accordion__title" }, v2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, M0 = /* @__PURE__ */ T({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {}
@@ -7335,22 +7335,22 @@ const k2 = {
7335
7335
  C[i].open = i === A ? !C[i].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (A, L) => (m(!0), r(L1, null, A1(C, (i, e) => (m(), r("div", {
7338
+ return (A, L) => (m(!0), Z(i1, null, o1(C, (i, e) => (m(), Z("div", {
7339
7339
  key: e,
7340
- class: p(["r-accordion", {
7340
+ class: c(["r-accordion", {
7341
7341
  "r-accordion--disabled": i.disabled
7342
7342
  }]),
7343
7343
  "data-state": i.open ? "opened" : "closed"
7344
7344
  }, [
7345
7345
  S("div", {
7346
7346
  class: "r-accordion__header",
7347
- onClick: (t) => M(e)
7347
+ onClick: (d) => M(e)
7348
7348
  }, [
7349
7349
  f(A.$slots, "title", {}, () => [
7350
7350
  S("div", P2, w(i.title), 1)
7351
7351
  ]),
7352
7352
  S("div", v2, [
7353
- K(D, { name: "mdiChevronUp" })
7353
+ U(x, { name: "mdiChevronUp" })
7354
7354
  ])
7355
7355
  ], 8, y2),
7356
7356
  S("div", T2, [
@@ -7366,7 +7366,7 @@ const k2 = {
7366
7366
  }, _2 = {
7367
7367
  key: 0,
7368
7368
  class: "r-alert__close"
7369
- }, i0 = /* @__PURE__ */ T({
7369
+ }, A0 = /* @__PURE__ */ T({
7370
7370
  __name: "RAlert",
7371
7371
  props: {
7372
7372
  type: { default: "info" },
@@ -7392,12 +7392,12 @@ const k2 = {
7392
7392
  function i() {
7393
7393
  M("close");
7394
7394
  }
7395
- return (e, t) => (m(), r("div", {
7396
- class: p(A.value)
7395
+ return (e, d) => (m(), Z("div", {
7396
+ class: c(A.value)
7397
7397
  }, [
7398
7398
  S("div", F2, [
7399
7399
  f(e.$slots, "alert-icon", {}, () => [
7400
- K(D, {
7400
+ U(x, {
7401
7401
  name: L.value,
7402
7402
  size: 24
7403
7403
  }, null, 8, ["name"])
@@ -7406,22 +7406,22 @@ const k2 = {
7406
7406
  S("div", R2, [
7407
7407
  f(e.$slots, "content", {}, () => [
7408
7408
  S("p", x2, w(C.title), 1),
7409
- C.description ? (m(), r("p", D2, w(C.description), 1)) : c("", !0)
7409
+ C.description ? (m(), Z("p", D2, w(C.description), 1)) : p("", !0)
7410
7410
  ])
7411
7411
  ]),
7412
- C.closable ? (m(), r("div", _2, [
7412
+ C.closable ? (m(), Z("div", _2, [
7413
7413
  f(e.$slots, "custom-close", {}, () => [
7414
- K(D, {
7414
+ U(x, {
7415
7415
  class: "r-alert__close__button",
7416
7416
  name: "mdiClose",
7417
7417
  size: 16,
7418
7418
  onClick: i
7419
7419
  })
7420
7420
  ])
7421
- ])) : c("", !0)
7421
+ ])) : p("", !0)
7422
7422
  ], 2));
7423
7423
  }
7424
- }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], e0 = /* @__PURE__ */ T({
7424
+ }), I1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", E2 = { class: "r-avatar__wrapper" }, W2 = ["alt", "src"], i0 = /* @__PURE__ */ T({
7425
7425
  __name: "RAvatar",
7426
7426
  props: {
7427
7427
  type: { default: "image" },
@@ -7440,32 +7440,32 @@ const k2 = {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  }
7443
- return (i, e) => (m(), r("div", E2, [
7443
+ return (i, e) => (m(), Z("div", E2, [
7444
7444
  S("div", {
7445
- class: p(C.value)
7445
+ class: c(C.value)
7446
7446
  }, [
7447
- V.type === "text" ? (m(), r("p", {
7447
+ V.type === "text" ? (m(), Z("p", {
7448
7448
  key: 0,
7449
- class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
- }, w(L(V.text)), 3)) : (m(), r("img", {
7449
+ class: c(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7450
+ }, w(L(V.text)), 3)) : (m(), Z("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
- class: p(["r-avatar__image", {
7453
+ class: c(["r-avatar__image", {
7454
7454
  [`r-avatar__image--${V.size}`]: !0,
7455
7455
  "r-avatar__image--anonymous": M.value
7456
7456
  }]),
7457
7457
  src: A.value
7458
7458
  }, null, 10, W2))
7459
7459
  ], 2),
7460
- V.online ? (m(), r("span", {
7460
+ V.online ? (m(), Z("span", {
7461
7461
  key: 0,
7462
- class: p(["r-avatar__online", {
7462
+ class: c(["r-avatar__online", {
7463
7463
  [`r-avatar__online--${V.size}`]: !0
7464
7464
  }])
7465
- }, null, 2)) : c("", !0)
7465
+ }, null, 2)) : p("", !0)
7466
7466
  ]));
7467
7467
  }
7468
- }), N2 = ["innerHTML"], d0 = /* @__PURE__ */ T({
7468
+ }), N2 = ["innerHTML"], e0 = /* @__PURE__ */ T({
7469
7469
  __name: "RBadge",
7470
7470
  props: {
7471
7471
  variant: { default: "primary" },
@@ -7491,20 +7491,20 @@ const k2 = {
7491
7491
  [`r-badge--${V.variant}`]: V.variant,
7492
7492
  [V.class]: V.class
7493
7493
  }));
7494
- return (M, A) => (m(), r("div", {
7495
- class: p(["r-badge-wrapper group", [V.wrapperClass]])
7494
+ return (M, A) => (m(), Z("div", {
7495
+ class: c(["r-badge-wrapper group", [V.wrapperClass]])
7496
7496
  }, [
7497
7497
  S("span", {
7498
- class: p([{ "animate-ping-2": V.animation }, C.value])
7498
+ class: c([{ "animate-ping-2": V.animation }, C.value])
7499
7499
  }, null, 2),
7500
7500
  S("span", {
7501
- class: p(C.value),
7501
+ class: c(C.value),
7502
7502
  innerHTML: V.content
7503
7503
  }, null, 10, N2),
7504
7504
  f(M.$slots, "default")
7505
7505
  ], 2));
7506
7506
  }
7507
- }), I2 = ["disabled"], t0 = /* @__PURE__ */ T({
7507
+ }), I2 = ["disabled"], d0 = /* @__PURE__ */ T({
7508
7508
  __name: "RButton",
7509
7509
  props: {
7510
7510
  variant: { default: "default" },
@@ -7535,30 +7535,30 @@ const k2 = {
7535
7535
  })[V.size || "medium"]), A = g(() => ({
7536
7536
  height: V.height ? `${V.height}px` : ""
7537
7537
  }));
7538
- return (L, i) => (m(), r("button", j1(L.$attrs, {
7538
+ return (L, i) => (m(), Z("button", j1(L.$attrs, {
7539
7539
  class: C.value,
7540
7540
  disabled: L.disabled,
7541
7541
  style: A.value,
7542
7542
  onClick: i[0] || (i[0] = (e) => L.$emit("click"))
7543
7543
  }), [
7544
7544
  f(L.$slots, "prepend", {}, () => [
7545
- V.prependIcon ? (m(), _(D, {
7545
+ V.prependIcon ? (m(), _(x, {
7546
7546
  key: 0,
7547
- class: p(["r-button__prepend-icon", {
7547
+ class: c(["r-button__prepend-icon", {
7548
7548
  "r-button__prepend-icon--only": V.icon
7549
7549
  }]),
7550
7550
  name: V.prependIcon,
7551
7551
  size: M.value
7552
- }, null, 8, ["class", "name", "size"])) : c("", !0)
7552
+ }, null, 8, ["class", "name", "size"])) : p("", !0)
7553
7553
  ]),
7554
7554
  f(L.$slots, "default"),
7555
7555
  f(L.$slots, "append", {}, () => [
7556
- !V.icon && V.appendIcon ? (m(), _(D, {
7556
+ !V.icon && V.appendIcon ? (m(), _(x, {
7557
7557
  key: 0,
7558
7558
  class: "r-button__append-icon",
7559
7559
  name: V.appendIcon,
7560
7560
  size: M.value
7561
- }, null, 8, ["name", "size"])) : c("", !0)
7561
+ }, null, 8, ["name", "size"])) : p("", !0)
7562
7562
  ])
7563
7563
  ], 16, I2));
7564
7564
  }
@@ -7571,7 +7571,7 @@ const k2 = {
7571
7571
  }, X2 = {
7572
7572
  key: 1,
7573
7573
  class: "r-checkbox-texts__hint"
7574
- }, m0 = /* @__PURE__ */ T({
7574
+ }, t0 = /* @__PURE__ */ T({
7575
7575
  __name: "RCheckbox",
7576
7576
  props: {
7577
7577
  id: { default: "" },
@@ -7599,13 +7599,13 @@ const k2 = {
7599
7599
  "r-checkbox--indeterminate": A.indeterminate,
7600
7600
  "r-checkbox--error": !!C.errorMsg
7601
7601
  }));
7602
- function t(d) {
7603
- C.disabled || (A.checked = d.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7602
+ function d(t) {
7603
+ C.disabled || (A.checked = t.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7604
7604
  }
7605
7605
  return G(
7606
7606
  () => C.indeterminate,
7607
- (d) => {
7608
- A.indeterminate = d, d === !0 && (A.checked = !1, M("update:modelValue", A.checked));
7607
+ (t) => {
7608
+ A.indeterminate = t, t === !0 && (A.checked = !1, M("update:modelValue", A.checked));
7609
7609
  },
7610
7610
  {
7611
7611
  // need immediate to set the state on first render for storybook
@@ -7614,15 +7614,15 @@ const k2 = {
7614
7614
  }
7615
7615
  ), G(
7616
7616
  () => C.modelValue,
7617
- (d) => {
7618
- A.checked = d;
7617
+ (t) => {
7618
+ A.checked = t;
7619
7619
  },
7620
7620
  {
7621
7621
  // need immediate to set the state on first render for storybook
7622
7622
  // TODO: find a better way to do this
7623
7623
  immediate: !0
7624
7624
  }
7625
- ), (d, l) => (m(), r("div", Q2, [
7625
+ ), (t, l) => (m(), Z("div", Q2, [
7626
7626
  S("div", G2, [
7627
7627
  S("input", {
7628
7628
  id: C.id,
@@ -7631,13 +7631,13 @@ const k2 = {
7631
7631
  disabled: C.disabled,
7632
7632
  indeterminate: A.indeterminate,
7633
7633
  type: "checkbox",
7634
- onChange: t
7634
+ onChange: d
7635
7635
  }, null, 40, $2),
7636
7636
  S("div", {
7637
- class: p(e.value),
7637
+ class: c(e.value),
7638
7638
  "data-disabled": C.disabled
7639
7639
  }, [
7640
- K(D, {
7640
+ U(x, {
7641
7641
  name: i.value,
7642
7642
  size: 24
7643
7643
  }, null, 8, ["name"])
@@ -7649,13 +7649,13 @@ const k2 = {
7649
7649
  "data-disabled": C.disabled,
7650
7650
  for: C.id
7651
7651
  }, w(C.label), 9, K2),
7652
- C.hideDetails ? c("", !0) : (m(), r("div", q2, [
7653
- C.errorMsg ? (m(), r("p", j2, w(C.errorMsg), 1)) : (m(), r("p", X2, w(C.hint), 1))
7652
+ C.hideDetails ? p("", !0) : (m(), Z("div", q2, [
7653
+ C.errorMsg ? (m(), Z("p", j2, w(C.errorMsg), 1)) : (m(), Z("p", X2, w(C.hint), 1))
7654
7654
  ]))
7655
7655
  ])
7656
7656
  ]));
7657
7657
  }
7658
- }), Y2 = { class: "r-chip__content__label" }, J2 = /* @__PURE__ */ T({
7658
+ }), Y2 = /* @__PURE__ */ T({
7659
7659
  __name: "RChip",
7660
7660
  props: {
7661
7661
  variant: { default: "primary" },
@@ -7664,7 +7664,8 @@ const k2 = {
7664
7664
  prependIcon: { default: "" },
7665
7665
  appendIcon: { default: "" },
7666
7666
  ghost: { type: Boolean, default: !1 },
7667
- closable: { type: Boolean, default: !1 }
7667
+ clearable: { type: Boolean, default: !1 },
7668
+ noWrap: { type: Boolean, default: !1 }
7668
7669
  },
7669
7670
  emits: ["click:chip", "click:close"],
7670
7671
  setup(H, { emit: V }) {
@@ -7673,46 +7674,49 @@ const k2 = {
7673
7674
  "r-chip--disabled": C.disabled,
7674
7675
  [`r-chip__${C.variant}`]: C.variant,
7675
7676
  [`r-chip__${C.variant}--ghost`]: C.ghost,
7676
- "r-chip--closable": C.closable
7677
+ "r-chip--clearable": C.clearable
7677
7678
  }));
7678
- function L(e) {
7679
- C.closable && e.stopPropagation(), !C.disabled && M("click:chip", e);
7679
+ function L(d) {
7680
+ C.clearable && d.stopPropagation(), !C.disabled && M("click:chip", d);
7680
7681
  }
7681
- function i(e) {
7682
- C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7682
+ function i(d) {
7683
+ C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7683
7684
  }
7684
- return (e, t) => (m(), r("div", {
7685
- class: p(A.value)
7685
+ const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7686
+ return (d, t) => (m(), Z("div", {
7687
+ class: c(A.value)
7686
7688
  }, [
7687
7689
  S("div", {
7688
7690
  class: "r-chip__content",
7689
- onClick: t[0] || (t[0] = (d) => L(d))
7691
+ onClick: t[0] || (t[0] = (l) => L(l))
7690
7692
  }, [
7691
- f(e.$slots, "prepend", {}, () => [
7692
- C.prependIcon ? (m(), _(D, {
7693
+ f(d.$slots, "prepend", {}, () => [
7694
+ C.prependIcon ? (m(), _(x, {
7693
7695
  key: 0,
7694
7696
  "aria-disabled": C.disabled,
7695
7697
  class: "r-chip__content__prepend-icon",
7696
7698
  name: C.prependIcon,
7697
7699
  size: 12
7698
- }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7700
+ }, null, 8, ["aria-disabled", "name"])) : p("", !0)
7699
7701
  ]),
7700
- S("span", Y2, w(C.label), 1)
7702
+ S("span", {
7703
+ class: c(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7704
+ }, w(C.label), 3)
7701
7705
  ]),
7702
- f(e.$slots, "append", {}, () => [
7703
- C.appendIcon ? (m(), _(D, {
7706
+ f(d.$slots, "append", {}, () => [
7707
+ e.value ? (m(), _(x, {
7704
7708
  key: 0,
7705
7709
  "aria-disabled": C.disabled,
7706
7710
  class: "r-chip__content__append-icon",
7707
- name: C.appendIcon,
7711
+ name: e.value,
7708
7712
  size: 12,
7709
- onClick: t[1] || (t[1] = (d) => i(d))
7710
- }, null, 8, ["aria-disabled", "name"])) : c("", !0)
7713
+ onClick: t[1] || (t[1] = (l) => i(l))
7714
+ }, null, 8, ["aria-disabled", "name"])) : p("", !0)
7711
7715
  ])
7712
7716
  ], 2));
7713
7717
  }
7714
7718
  });
7715
- function C5(H) {
7719
+ function J2(H) {
7716
7720
  return Z2() ? (u2(H), !0) : !1;
7717
7721
  }
7718
7722
  function J1(H) {
@@ -7720,13 +7724,13 @@ function J1(H) {
7720
7724
  }
7721
7725
  const C2 = typeof window < "u" && typeof document < "u";
7722
7726
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7723
- const H5 = Object.prototype.toString, V5 = (H) => H5.call(H) === "[object Object]", P1 = () => {
7724
- }, L5 = /* @__PURE__ */ M5();
7725
- function M5() {
7727
+ const C5 = Object.prototype.toString, H5 = (H) => C5.call(H) === "[object Object]", P1 = () => {
7728
+ }, V5 = /* @__PURE__ */ L5();
7729
+ function L5() {
7726
7730
  var H;
7727
7731
  return C2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7728
7732
  }
7729
- function l1(H) {
7733
+ function m1(H) {
7730
7734
  var V;
7731
7735
  const C = J1(H);
7732
7736
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
@@ -7739,80 +7743,80 @@ function y1(...H) {
7739
7743
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7740
7744
  const L = [], i = () => {
7741
7745
  L.forEach((l) => l()), L.length = 0;
7742
- }, e = (l, o, n, a) => (l.addEventListener(o, n, a), () => l.removeEventListener(o, n, a)), t = G(
7743
- () => [l1(V), J1(A)],
7746
+ }, e = (l, o, r, a) => (l.addEventListener(o, r, a), () => l.removeEventListener(o, r, a)), d = G(
7747
+ () => [m1(V), J1(A)],
7744
7748
  ([l, o]) => {
7745
7749
  if (i(), !l)
7746
7750
  return;
7747
- const n = V5(o) ? { ...o } : o;
7751
+ const r = H5(o) ? { ...o } : o;
7748
7752
  L.push(
7749
- ...C.flatMap((a) => M.map((Z) => e(l, a, Z, n)))
7753
+ ...C.flatMap((a) => M.map((u) => e(l, a, u, r)))
7750
7754
  );
7751
7755
  },
7752
7756
  { immediate: !0, flush: "post" }
7753
- ), d = () => {
7754
- t(), i();
7757
+ ), t = () => {
7758
+ d(), i();
7755
7759
  };
7756
- return C5(d), d;
7760
+ return J2(t), t;
7757
7761
  }
7758
7762
  let Q1 = !1;
7759
- function A5(H, V, C = {}) {
7763
+ function M5(H, V, C = {}) {
7760
7764
  const { window: M = H2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7761
7765
  if (!M)
7762
7766
  return;
7763
- L5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7767
+ V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((r) => r.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7764
7768
  let e = !0;
7765
- const t = (n) => A.some((a) => {
7769
+ const d = (r) => A.some((a) => {
7766
7770
  if (typeof a == "string")
7767
- return Array.from(M.document.querySelectorAll(a)).some((Z) => Z === n.target || n.composedPath().includes(Z));
7771
+ return Array.from(M.document.querySelectorAll(a)).some((u) => u === r.target || r.composedPath().includes(u));
7768
7772
  {
7769
- const Z = l1(a);
7770
- return Z && (n.target === Z || n.composedPath().includes(Z));
7773
+ const u = m1(a);
7774
+ return u && (r.target === u || r.composedPath().includes(u));
7771
7775
  }
7772
7776
  }), l = [
7773
- y1(M, "click", (n) => {
7774
- const a = l1(H);
7775
- if (!(!a || a === n.target || n.composedPath().includes(a))) {
7776
- if (n.detail === 0 && (e = !t(n)), !e) {
7777
+ y1(M, "click", (r) => {
7778
+ const a = m1(H);
7779
+ if (!(!a || a === r.target || r.composedPath().includes(a))) {
7780
+ if (r.detail === 0 && (e = !d(r)), !e) {
7777
7781
  e = !0;
7778
7782
  return;
7779
7783
  }
7780
- V(n);
7784
+ V(r);
7781
7785
  }
7782
7786
  }, { passive: !0, capture: L }),
7783
- y1(M, "pointerdown", (n) => {
7784
- const a = l1(H);
7785
- e = !t(n) && !!(a && !n.composedPath().includes(a));
7787
+ y1(M, "pointerdown", (r) => {
7788
+ const a = m1(H);
7789
+ e = !d(r) && !!(a && !r.composedPath().includes(a));
7786
7790
  }, { passive: !0 }),
7787
- i && y1(M, "blur", (n) => {
7791
+ i && y1(M, "blur", (r) => {
7788
7792
  setTimeout(() => {
7789
7793
  var a;
7790
- const Z = l1(H);
7791
- ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(n);
7794
+ const u = m1(H);
7795
+ ((a = M.document.activeElement) == null ? void 0 : a.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(r);
7792
7796
  }, 0);
7793
7797
  })
7794
7798
  ].filter(Boolean);
7795
- return () => l.forEach((n) => n());
7799
+ return () => l.forEach((r) => r());
7796
7800
  }
7797
- const i5 = ["top", "right", "bottom", "left"], r1 = Math.min, i1 = Math.max, f1 = Math.round, J = (H) => ({
7801
+ const A5 = ["top", "right", "bottom", "left"], r1 = Math.min, M1 = Math.max, f1 = Math.round, J = (H) => ({
7798
7802
  x: H,
7799
7803
  y: H
7800
- }), e5 = {
7804
+ }), i5 = {
7801
7805
  left: "right",
7802
7806
  right: "left",
7803
7807
  bottom: "top",
7804
7808
  top: "bottom"
7805
- }, d5 = {
7809
+ }, e5 = {
7806
7810
  start: "end",
7807
7811
  end: "start"
7808
7812
  };
7809
7813
  function v1(H, V, C) {
7810
- return i1(H, r1(V, C));
7814
+ return M1(H, r1(V, C));
7811
7815
  }
7812
- function m1(H, V) {
7816
+ function t1(H, V) {
7813
7817
  return typeof H == "function" ? H(V) : H;
7814
7818
  }
7815
- function M1(H) {
7819
+ function L1(H) {
7816
7820
  return H.split("-")[0];
7817
7821
  }
7818
7822
  function u1(H) {
@@ -7825,25 +7829,25 @@ function D1(H) {
7825
7829
  return H === "y" ? "height" : "width";
7826
7830
  }
7827
7831
  function B1(H) {
7828
- return ["top", "bottom"].includes(M1(H)) ? "y" : "x";
7832
+ return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7829
7833
  }
7830
7834
  function _1(H) {
7831
7835
  return V2(B1(H));
7832
7836
  }
7833
- function t5(H, V, C) {
7837
+ function d5(H, V, C) {
7834
7838
  C === void 0 && (C = !1);
7835
7839
  const M = u1(H), A = _1(H), L = D1(A);
7836
7840
  let i = A === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7837
7841
  return V.reference[L] > V.floating[L] && (i = h1(i)), [i, h1(i)];
7838
7842
  }
7839
- function m5(H) {
7843
+ function t5(H) {
7840
7844
  const V = h1(H);
7841
7845
  return [T1(H), V, T1(V)];
7842
7846
  }
7843
7847
  function T1(H) {
7844
- return H.replace(/start|end/g, (V) => d5[V]);
7848
+ return H.replace(/start|end/g, (V) => e5[V]);
7845
7849
  }
7846
- function l5(H, V, C) {
7850
+ function m5(H, V, C) {
7847
7851
  const M = ["left", "right"], A = ["right", "left"], L = ["top", "bottom"], i = ["bottom", "top"];
7848
7852
  switch (H) {
7849
7853
  case "top":
@@ -7856,15 +7860,15 @@ function l5(H, V, C) {
7856
7860
  return [];
7857
7861
  }
7858
7862
  }
7859
- function o5(H, V, C, M) {
7863
+ function l5(H, V, C, M) {
7860
7864
  const A = u1(H);
7861
- let L = l5(M1(H), C === "start", M);
7865
+ let L = m5(L1(H), C === "start", M);
7862
7866
  return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(T1)))), L;
7863
7867
  }
7864
7868
  function h1(H) {
7865
- return H.replace(/left|right|bottom|top/g, (V) => e5[V]);
7869
+ return H.replace(/left|right|bottom|top/g, (V) => i5[V]);
7866
7870
  }
7867
- function n5(H) {
7871
+ function o5(H) {
7868
7872
  return {
7869
7873
  top: 0,
7870
7874
  right: 0,
@@ -7874,7 +7878,7 @@ function n5(H) {
7874
7878
  };
7875
7879
  }
7876
7880
  function L2(H) {
7877
- return typeof H != "number" ? n5(H) : {
7881
+ return typeof H != "number" ? o5(H) : {
7878
7882
  top: H,
7879
7883
  right: H,
7880
7884
  bottom: H,
@@ -7895,9 +7899,9 @@ function G1(H, V, C) {
7895
7899
  reference: M,
7896
7900
  floating: A
7897
7901
  } = H;
7898
- const L = B1(V), i = _1(V), e = D1(i), t = M1(V), d = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
7902
+ const L = B1(V), i = _1(V), e = D1(i), d = L1(V), t = L === "y", l = M.x + M.width / 2 - A.width / 2, o = M.y + M.height / 2 - A.height / 2, r = M[e] / 2 - A[e] / 2;
7899
7903
  let a;
7900
- switch (t) {
7904
+ switch (d) {
7901
7905
  case "top":
7902
7906
  a = {
7903
7907
  x: l,
@@ -7930,34 +7934,34 @@ function G1(H, V, C) {
7930
7934
  }
7931
7935
  switch (u1(V)) {
7932
7936
  case "start":
7933
- a[i] -= n * (C && d ? -1 : 1);
7937
+ a[i] -= r * (C && t ? -1 : 1);
7934
7938
  break;
7935
7939
  case "end":
7936
- a[i] += n * (C && d ? -1 : 1);
7940
+ a[i] += r * (C && t ? -1 : 1);
7937
7941
  break;
7938
7942
  }
7939
7943
  return a;
7940
7944
  }
7941
- const r5 = async (H, V, C) => {
7945
+ const n5 = async (H, V, C) => {
7942
7946
  const {
7943
7947
  placement: M = "bottom",
7944
7948
  strategy: A = "absolute",
7945
7949
  middleware: L = [],
7946
7950
  platform: i
7947
- } = C, e = L.filter(Boolean), t = await (i.isRTL == null ? void 0 : i.isRTL(V));
7948
- let d = await i.getElementRects({
7951
+ } = C, e = L.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
7952
+ let t = await i.getElementRects({
7949
7953
  reference: H,
7950
7954
  floating: V,
7951
7955
  strategy: A
7952
7956
  }), {
7953
7957
  x: l,
7954
7958
  y: o
7955
- } = G1(d, M, t), n = M, a = {}, Z = 0;
7956
- for (let B = 0; B < e.length; B++) {
7959
+ } = G1(t, M, d), r = M, a = {}, u = 0;
7960
+ for (let b = 0; b < e.length; b++) {
7957
7961
  const {
7958
7962
  name: k,
7959
7963
  fn: y
7960
- } = e[B], {
7964
+ } = e[b], {
7961
7965
  x: P,
7962
7966
  y: v,
7963
7967
  data: R,
@@ -7966,10 +7970,10 @@ const r5 = async (H, V, C) => {
7966
7970
  x: l,
7967
7971
  y: o,
7968
7972
  initialPlacement: M,
7969
- placement: n,
7973
+ placement: r,
7970
7974
  strategy: A,
7971
7975
  middlewareData: a,
7972
- rects: d,
7976
+ rects: t,
7973
7977
  platform: i,
7974
7978
  elements: {
7975
7979
  reference: H,
@@ -7982,22 +7986,22 @@ const r5 = async (H, V, C) => {
7982
7986
  ...a[k],
7983
7987
  ...R
7984
7988
  }
7985
- }, F && Z <= 50) {
7986
- Z++, typeof F == "object" && (F.placement && (n = F.placement), F.rects && (d = F.rects === !0 ? await i.getElementRects({
7989
+ }, F && u <= 50) {
7990
+ u++, typeof F == "object" && (F.placement && (r = F.placement), F.rects && (t = F.rects === !0 ? await i.getElementRects({
7987
7991
  reference: H,
7988
7992
  floating: V,
7989
7993
  strategy: A
7990
7994
  }) : F.rects), {
7991
7995
  x: l,
7992
7996
  y: o
7993
- } = G1(d, n, t)), B = -1;
7997
+ } = G1(t, r, d)), b = -1;
7994
7998
  continue;
7995
7999
  }
7996
8000
  }
7997
8001
  return {
7998
8002
  x: l,
7999
8003
  y: o,
8000
- placement: n,
8004
+ placement: r,
8001
8005
  strategy: A,
8002
8006
  middlewareData: a
8003
8007
  };
@@ -8011,18 +8015,18 @@ async function k1(H, V) {
8011
8015
  platform: L,
8012
8016
  rects: i,
8013
8017
  elements: e,
8014
- strategy: t
8018
+ strategy: d
8015
8019
  } = H, {
8016
- boundary: d = "clippingAncestors",
8020
+ boundary: t = "clippingAncestors",
8017
8021
  rootBoundary: l = "viewport",
8018
8022
  elementContext: o = "floating",
8019
- altBoundary: n = !1,
8023
+ altBoundary: r = !1,
8020
8024
  padding: a = 0
8021
- } = m1(V, H), Z = L2(a), k = e[n ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8025
+ } = t1(V, H), u = L2(a), k = e[r ? o === "floating" ? "reference" : "floating" : o], y = g1(await L.getClippingRect({
8022
8026
  element: (C = await (L.isElement == null ? void 0 : L.isElement(k))) == null || C ? k : k.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8023
- boundary: d,
8027
+ boundary: t,
8024
8028
  rootBoundary: l,
8025
- strategy: t
8029
+ strategy: d
8026
8030
  })), P = o === "floating" ? {
8027
8031
  ...i.floating,
8028
8032
  x: M,
@@ -8036,16 +8040,16 @@ async function k1(H, V) {
8036
8040
  }, F = g1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8037
8041
  rect: P,
8038
8042
  offsetParent: v,
8039
- strategy: t
8043
+ strategy: d
8040
8044
  }) : P);
8041
8045
  return {
8042
- top: (y.top - F.top + Z.top) / R.y,
8043
- bottom: (F.bottom - y.bottom + Z.bottom) / R.y,
8044
- left: (y.left - F.left + Z.left) / R.x,
8045
- right: (F.right - y.right + Z.right) / R.x
8046
+ top: (y.top - F.top + u.top) / R.y,
8047
+ bottom: (F.bottom - y.bottom + u.bottom) / R.y,
8048
+ left: (y.left - F.left + u.left) / R.x,
8049
+ right: (F.right - y.right + u.right) / R.x
8046
8050
  };
8047
8051
  }
8048
- const a5 = (H) => ({
8052
+ const r5 = (H) => ({
8049
8053
  name: "arrow",
8050
8054
  options: H,
8051
8055
  async fn(V) {
@@ -8056,22 +8060,22 @@ const a5 = (H) => ({
8056
8060
  rects: L,
8057
8061
  platform: i,
8058
8062
  elements: e,
8059
- middlewareData: t
8063
+ middlewareData: d
8060
8064
  } = V, {
8061
- element: d,
8065
+ element: t,
8062
8066
  padding: l = 0
8063
- } = m1(H, V) || {};
8064
- if (d == null)
8067
+ } = t1(H, V) || {};
8068
+ if (t == null)
8065
8069
  return {};
8066
- const o = L2(l), n = {
8070
+ const o = L2(l), r = {
8067
8071
  x: C,
8068
8072
  y: M
8069
- }, a = _1(A), Z = D1(a), B = await i.getDimensions(d), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[Z] + L.reference[a] - n[a] - L.floating[Z], F = n[a] - L.reference[a], z = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(d));
8070
- let I = z ? z[v] : 0;
8071
- (!I || !await (i.isElement == null ? void 0 : i.isElement(z))) && (I = e.floating[v] || L.floating[Z]);
8072
- const O = R / 2 - F / 2, N = I / 2 - B[Z] / 2 - 1, u = r1(o[y], N), h = r1(o[P], N), b = u, x = I - B[Z] - h, s = I / 2 - B[Z] / 2 + O, E = v1(b, s, x), $ = !t.arrow && u1(A) != null && s != E && L.reference[Z] / 2 - (s < b ? u : h) - B[Z] / 2 < 0, j = $ ? s < b ? s - b : s - x : 0;
8073
+ }, a = _1(A), u = D1(a), b = await i.getDimensions(t), k = a === "y", y = k ? "top" : "left", P = k ? "bottom" : "right", v = k ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[a] - r[a] - L.floating[u], F = r[a] - L.reference[a], K = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8074
+ let I = K ? K[v] : 0;
8075
+ (!I || !await (i.isElement == null ? void 0 : i.isElement(K))) && (I = e.floating[v] || L.floating[u]);
8076
+ const O = R / 2 - F / 2, N = I / 2 - b[u] / 2 - 1, n = r1(o[y], N), h = r1(o[P], N), B = n, D = I - b[u] - h, s = I / 2 - b[u] / 2 + O, E = v1(B, s, D), $ = !d.arrow && u1(A) != null && s != E && L.reference[u] / 2 - (s < B ? n : h) - b[u] / 2 < 0, j = $ ? s < B ? s - B : s - D : 0;
8073
8077
  return {
8074
- [a]: n[a] + j,
8078
+ [a]: r[a] + j,
8075
8079
  data: {
8076
8080
  [a]: E,
8077
8081
  centerOffset: s - E - j,
@@ -8082,7 +8086,7 @@ const a5 = (H) => ({
8082
8086
  reset: $
8083
8087
  };
8084
8088
  }
8085
- }), Z5 = function(H) {
8089
+ }), a5 = function(H) {
8086
8090
  return H === void 0 && (H = {}), {
8087
8091
  name: "flip",
8088
8092
  options: H,
@@ -8093,44 +8097,44 @@ const a5 = (H) => ({
8093
8097
  middlewareData: L,
8094
8098
  rects: i,
8095
8099
  initialPlacement: e,
8096
- platform: t,
8097
- elements: d
8100
+ platform: d,
8101
+ elements: t
8098
8102
  } = V, {
8099
8103
  mainAxis: l = !0,
8100
8104
  crossAxis: o = !0,
8101
- fallbackPlacements: n,
8105
+ fallbackPlacements: r,
8102
8106
  fallbackStrategy: a = "bestFit",
8103
- fallbackAxisSideDirection: Z = "none",
8104
- flipAlignment: B = !0,
8107
+ fallbackAxisSideDirection: u = "none",
8108
+ flipAlignment: b = !0,
8105
8109
  ...k
8106
- } = m1(H, V);
8110
+ } = t1(H, V);
8107
8111
  if ((C = L.arrow) != null && C.alignmentOffset)
8108
8112
  return {};
8109
- const y = M1(A), P = M1(e) === e, v = await (t.isRTL == null ? void 0 : t.isRTL(d.floating)), R = n || (P || !B ? [h1(e)] : m5(e));
8110
- !n && Z !== "none" && R.push(...o5(e, B, Z, v));
8111
- const F = [e, ...R], z = await k1(V, k), I = [];
8113
+ const y = L1(A), P = L1(e) === e, v = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = r || (P || !b ? [h1(e)] : t5(e));
8114
+ !r && u !== "none" && R.push(...l5(e, b, u, v));
8115
+ const F = [e, ...R], K = await k1(V, k), I = [];
8112
8116
  let O = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8113
- if (l && I.push(z[y]), o) {
8114
- const b = t5(A, i, v);
8115
- I.push(z[b[0]], z[b[1]]);
8117
+ if (l && I.push(K[y]), o) {
8118
+ const B = d5(A, i, v);
8119
+ I.push(K[B[0]], K[B[1]]);
8116
8120
  }
8117
8121
  if (O = [...O, {
8118
8122
  placement: A,
8119
8123
  overflows: I
8120
- }], !I.every((b) => b <= 0)) {
8121
- var N, u;
8122
- const b = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, x = F[b];
8123
- if (x)
8124
+ }], !I.every((B) => B <= 0)) {
8125
+ var N, n;
8126
+ const B = (((N = L.flip) == null ? void 0 : N.index) || 0) + 1, D = F[B];
8127
+ if (D)
8124
8128
  return {
8125
8129
  data: {
8126
- index: b,
8130
+ index: B,
8127
8131
  overflows: O
8128
8132
  },
8129
8133
  reset: {
8130
- placement: x
8134
+ placement: D
8131
8135
  }
8132
8136
  };
8133
- let s = (u = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : u.placement;
8137
+ let s = (n = O.filter((E) => E.overflows[0] <= 0).sort((E, $) => E.overflows[1] - $.overflows[1])[0]) == null ? void 0 : n.placement;
8134
8138
  if (!s)
8135
8139
  switch (a) {
8136
8140
  case "bestFit": {
@@ -8163,9 +8167,9 @@ function $1(H, V) {
8163
8167
  };
8164
8168
  }
8165
8169
  function U1(H) {
8166
- return i5.some((V) => H[V] >= 0);
8170
+ return A5.some((V) => H[V] >= 0);
8167
8171
  }
8168
- const u5 = function(H) {
8172
+ const Z5 = function(H) {
8169
8173
  return H === void 0 && (H = {}), {
8170
8174
  name: "hide",
8171
8175
  options: H,
@@ -8175,7 +8179,7 @@ const u5 = function(H) {
8175
8179
  } = V, {
8176
8180
  strategy: M = "referenceHidden",
8177
8181
  ...A
8178
- } = m1(H, V);
8182
+ } = t1(H, V);
8179
8183
  switch (M) {
8180
8184
  case "referenceHidden": {
8181
8185
  const L = await k1(V, {
@@ -8207,16 +8211,16 @@ const u5 = function(H) {
8207
8211
  }
8208
8212
  };
8209
8213
  };
8210
- async function S5(H, V) {
8214
+ async function u5(H, V) {
8211
8215
  const {
8212
8216
  placement: C,
8213
8217
  platform: M,
8214
8218
  elements: A
8215
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = M1(C), e = u1(C), t = B1(C) === "y", d = ["left", "top"].includes(i) ? -1 : 1, l = L && t ? -1 : 1, o = m1(V, H);
8219
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = B1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, l = L && d ? -1 : 1, o = t1(V, H);
8216
8220
  let {
8217
- mainAxis: n,
8221
+ mainAxis: r,
8218
8222
  crossAxis: a,
8219
- alignmentAxis: Z
8223
+ alignmentAxis: u
8220
8224
  } = typeof o == "number" ? {
8221
8225
  mainAxis: o,
8222
8226
  crossAxis: 0,
@@ -8227,15 +8231,15 @@ async function S5(H, V) {
8227
8231
  alignmentAxis: null,
8228
8232
  ...o
8229
8233
  };
8230
- return e && typeof Z == "number" && (a = e === "end" ? Z * -1 : Z), t ? {
8234
+ return e && typeof u == "number" && (a = e === "end" ? u * -1 : u), d ? {
8231
8235
  x: a * l,
8232
- y: n * d
8236
+ y: r * t
8233
8237
  } : {
8234
- x: n * d,
8238
+ x: r * t,
8235
8239
  y: a * l
8236
8240
  };
8237
8241
  }
8238
- const s5 = function(H) {
8242
+ const S5 = function(H) {
8239
8243
  return H === void 0 && (H = 0), {
8240
8244
  name: "offset",
8241
8245
  options: H,
@@ -8243,7 +8247,7 @@ const s5 = function(H) {
8243
8247
  const {
8244
8248
  x: C,
8245
8249
  y: M
8246
- } = V, A = await S5(V, H);
8250
+ } = V, A = await u5(V, H);
8247
8251
  return {
8248
8252
  x: C + A.x,
8249
8253
  y: M + A.y,
@@ -8251,7 +8255,7 @@ const s5 = function(H) {
8251
8255
  };
8252
8256
  }
8253
8257
  };
8254
- }, c5 = function(H) {
8258
+ }, s5 = function(H) {
8255
8259
  return H === void 0 && (H = {}), {
8256
8260
  name: "shift",
8257
8261
  options: H,
@@ -8275,30 +8279,30 @@ const s5 = function(H) {
8275
8279
  };
8276
8280
  }
8277
8281
  },
8278
- ...t
8279
- } = m1(H, V), d = {
8282
+ ...d
8283
+ } = t1(H, V), t = {
8280
8284
  x: C,
8281
8285
  y: M
8282
- }, l = await k1(V, t), o = B1(M1(A)), n = V2(o);
8283
- let a = d[n], Z = d[o];
8286
+ }, l = await k1(V, d), o = B1(L1(A)), r = V2(o);
8287
+ let a = t[r], u = t[o];
8284
8288
  if (L) {
8285
- const k = n === "y" ? "top" : "left", y = n === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8289
+ const k = r === "y" ? "top" : "left", y = r === "y" ? "bottom" : "right", P = a + l[k], v = a - l[y];
8286
8290
  a = v1(P, a, v);
8287
8291
  }
8288
8292
  if (i) {
8289
- const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = Z + l[k], v = Z - l[y];
8290
- Z = v1(P, Z, v);
8293
+ const k = o === "y" ? "top" : "left", y = o === "y" ? "bottom" : "right", P = u + l[k], v = u - l[y];
8294
+ u = v1(P, u, v);
8291
8295
  }
8292
- const B = e.fn({
8296
+ const b = e.fn({
8293
8297
  ...V,
8294
- [n]: a,
8295
- [o]: Z
8298
+ [r]: a,
8299
+ [o]: u
8296
8300
  });
8297
8301
  return {
8298
- ...B,
8302
+ ...b,
8299
8303
  data: {
8300
- x: B.x - C,
8301
- y: B.y - M
8304
+ x: b.x - C,
8305
+ y: b.y - M
8302
8306
  }
8303
8307
  };
8304
8308
  }
@@ -8333,22 +8337,22 @@ function S1(H) {
8333
8337
  overflowX: C,
8334
8338
  overflowY: M,
8335
8339
  display: A
8336
- } = U(H);
8340
+ } = z(H);
8337
8341
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(A);
8338
8342
  }
8339
- function O5(H) {
8343
+ function c5(H) {
8340
8344
  return ["table", "td", "th"].includes(C1(H));
8341
8345
  }
8342
8346
  function E1(H) {
8343
- const V = W1(), C = U(H);
8347
+ const V = W1(), C = z(H);
8344
8348
  return C.transform !== "none" || C.perspective !== "none" || (C.containerType ? C.containerType !== "normal" : !1) || !V && (C.backdropFilter ? C.backdropFilter !== "none" : !1) || !V && (C.filter ? C.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((M) => (C.willChange || "").includes(M)) || ["paint", "layout", "strict", "content"].some((M) => (C.contain || "").includes(M));
8345
8349
  }
8346
- function p5(H) {
8347
- let V = t1(H);
8350
+ function O5(H) {
8351
+ let V = d1(H);
8348
8352
  for (; q(V) && !b1(V); ) {
8349
8353
  if (E1(V))
8350
8354
  return V;
8351
- V = t1(V);
8355
+ V = d1(V);
8352
8356
  }
8353
8357
  return null;
8354
8358
  }
@@ -8358,7 +8362,7 @@ function W1() {
8358
8362
  function b1(H) {
8359
8363
  return ["html", "body", "#document"].includes(C1(H));
8360
8364
  }
8361
- function U(H) {
8365
+ function z(H) {
8362
8366
  return Q(H).getComputedStyle(H);
8363
8367
  }
8364
8368
  function w1(H) {
@@ -8370,7 +8374,7 @@ function w1(H) {
8370
8374
  scrollTop: H.pageYOffset
8371
8375
  };
8372
8376
  }
8373
- function t1(H) {
8377
+ function d1(H) {
8374
8378
  if (C1(H) === "html")
8375
8379
  return H;
8376
8380
  const V = (
@@ -8383,7 +8387,7 @@ function t1(H) {
8383
8387
  return z1(V) ? V.host : V;
8384
8388
  }
8385
8389
  function A2(H) {
8386
- const V = t1(H);
8390
+ const V = d1(H);
8387
8391
  return b1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : q(V) && S1(V) ? V : A2(V);
8388
8392
  }
8389
8393
  function F1(H, V, C) {
@@ -8393,7 +8397,7 @@ function F1(H, V, C) {
8393
8397
  return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
8394
8398
  }
8395
8399
  function i2(H) {
8396
- const V = U(H);
8400
+ const V = z(H);
8397
8401
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8398
8402
  const A = q(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = f1(C) !== L || f1(M) !== i;
8399
8403
  return e && (C = L, M = i), {
@@ -8405,7 +8409,7 @@ function i2(H) {
8405
8409
  function e2(H) {
8406
8410
  return Y(H) ? H : H.contextElement;
8407
8411
  }
8408
- function e1(H) {
8412
+ function A1(H) {
8409
8413
  const V = e2(H);
8410
8414
  if (!q(V))
8411
8415
  return J(1);
@@ -8420,40 +8424,40 @@ function e1(H) {
8420
8424
  y: e
8421
8425
  };
8422
8426
  }
8423
- const f5 = /* @__PURE__ */ J(0);
8427
+ const p5 = /* @__PURE__ */ J(0);
8424
8428
  function d2(H) {
8425
8429
  const V = Q(H);
8426
- return !W1() || !V.visualViewport ? f5 : {
8430
+ return !W1() || !V.visualViewport ? p5 : {
8427
8431
  x: V.visualViewport.offsetLeft,
8428
8432
  y: V.visualViewport.offsetTop
8429
8433
  };
8430
8434
  }
8431
- function h5(H, V, C) {
8435
+ function f5(H, V, C) {
8432
8436
  return V === void 0 && (V = !1), !C || V && C !== Q(H) ? !1 : V;
8433
8437
  }
8434
8438
  function a1(H, V, C, M) {
8435
8439
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8436
8440
  const A = H.getBoundingClientRect(), L = e2(H);
8437
8441
  let i = J(1);
8438
- V && (M ? Y(M) && (i = e1(M)) : i = e1(H));
8439
- const e = h5(L, C, M) ? d2(L) : J(0);
8440
- let t = (A.left + e.x) / i.x, d = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8442
+ V && (M ? Y(M) && (i = A1(M)) : i = A1(H));
8443
+ const e = f5(L, C, M) ? d2(L) : J(0);
8444
+ let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, l = A.width / i.x, o = A.height / i.y;
8441
8445
  if (L) {
8442
- const n = Q(L), a = M && Y(M) ? Q(M) : M;
8443
- let Z = n.frameElement;
8444
- for (; Z && M && a !== n; ) {
8445
- const B = e1(Z), k = Z.getBoundingClientRect(), y = U(Z), P = k.left + (Z.clientLeft + parseFloat(y.paddingLeft)) * B.x, v = k.top + (Z.clientTop + parseFloat(y.paddingTop)) * B.y;
8446
- t *= B.x, d *= B.y, l *= B.x, o *= B.y, t += P, d += v, Z = Q(Z).frameElement;
8446
+ const r = Q(L), a = M && Y(M) ? Q(M) : M;
8447
+ let u = r.frameElement;
8448
+ for (; u && M && a !== r; ) {
8449
+ const b = A1(u), k = u.getBoundingClientRect(), y = z(u), P = k.left + (u.clientLeft + parseFloat(y.paddingLeft)) * b.x, v = k.top + (u.clientTop + parseFloat(y.paddingTop)) * b.y;
8450
+ d *= b.x, t *= b.y, l *= b.x, o *= b.y, d += P, t += v, u = Q(u).frameElement;
8447
8451
  }
8448
8452
  }
8449
8453
  return g1({
8450
8454
  width: l,
8451
8455
  height: o,
8452
- x: t,
8453
- y: d
8456
+ x: d,
8457
+ y: t
8454
8458
  });
8455
8459
  }
8456
- function g5(H) {
8460
+ function h5(H) {
8457
8461
  let {
8458
8462
  rect: V,
8459
8463
  offsetParent: C,
@@ -8466,67 +8470,67 @@ function g5(H) {
8466
8470
  scrollLeft: 0,
8467
8471
  scrollTop: 0
8468
8472
  }, e = J(1);
8469
- const t = J(0);
8473
+ const d = J(0);
8470
8474
  if ((A || !A && M !== "fixed") && ((C1(C) !== "body" || S1(L)) && (i = w1(C)), q(C))) {
8471
- const d = a1(C);
8472
- e = e1(C), t.x = d.x + C.clientLeft, t.y = d.y + C.clientTop;
8475
+ const t = a1(C);
8476
+ e = A1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8473
8477
  }
8474
8478
  return {
8475
8479
  width: V.width * e.x,
8476
8480
  height: V.height * e.y,
8477
- x: V.x * e.x - i.scrollLeft * e.x + t.x,
8478
- y: V.y * e.y - i.scrollTop * e.y + t.y
8481
+ x: V.x * e.x - i.scrollLeft * e.x + d.x,
8482
+ y: V.y * e.y - i.scrollTop * e.y + d.y
8479
8483
  };
8480
8484
  }
8481
- function k5(H) {
8485
+ function g5(H) {
8482
8486
  return Array.from(H.getClientRects());
8483
8487
  }
8484
8488
  function t2(H) {
8485
8489
  return a1(H1(H)).left + w1(H).scrollLeft;
8486
8490
  }
8487
- function B5(H) {
8488
- const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = i1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = i1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8491
+ function k5(H) {
8492
+ const V = H1(H), C = w1(H), M = H.ownerDocument.body, A = M1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = M1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8489
8493
  let i = -C.scrollLeft + t2(H);
8490
8494
  const e = -C.scrollTop;
8491
- return U(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
8495
+ return z(M).direction === "rtl" && (i += M1(V.clientWidth, M.clientWidth) - A), {
8492
8496
  width: A,
8493
8497
  height: L,
8494
8498
  x: i,
8495
8499
  y: e
8496
8500
  };
8497
8501
  }
8498
- function b5(H, V) {
8502
+ function B5(H, V) {
8499
8503
  const C = Q(H), M = H1(H), A = C.visualViewport;
8500
- let L = M.clientWidth, i = M.clientHeight, e = 0, t = 0;
8504
+ let L = M.clientWidth, i = M.clientHeight, e = 0, d = 0;
8501
8505
  if (A) {
8502
8506
  L = A.width, i = A.height;
8503
- const d = W1();
8504
- (!d || d && V === "fixed") && (e = A.offsetLeft, t = A.offsetTop);
8507
+ const t = W1();
8508
+ (!t || t && V === "fixed") && (e = A.offsetLeft, d = A.offsetTop);
8505
8509
  }
8506
8510
  return {
8507
8511
  width: L,
8508
8512
  height: i,
8509
8513
  x: e,
8510
- y: t
8514
+ y: d
8511
8515
  };
8512
8516
  }
8513
- function w5(H, V) {
8514
- const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? e1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, t = A * L.x, d = M * L.y;
8517
+ function b5(H, V) {
8518
+ const C = a1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = q(H) ? A1(H) : J(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8515
8519
  return {
8516
8520
  width: i,
8517
8521
  height: e,
8518
- x: t,
8519
- y: d
8522
+ x: d,
8523
+ y: t
8520
8524
  };
8521
8525
  }
8522
8526
  function K1(H, V, C) {
8523
8527
  let M;
8524
8528
  if (V === "viewport")
8525
- M = b5(H, C);
8529
+ M = B5(H, C);
8526
8530
  else if (V === "document")
8527
- M = B5(H1(H));
8531
+ M = k5(H1(H));
8528
8532
  else if (Y(V))
8529
- M = w5(V, C);
8533
+ M = b5(V, C);
8530
8534
  else {
8531
8535
  const A = d2(H);
8532
8536
  M = {
@@ -8538,76 +8542,76 @@ function K1(H, V, C) {
8538
8542
  return g1(M);
8539
8543
  }
8540
8544
  function m2(H, V) {
8541
- const C = t1(H);
8542
- return C === V || !Y(C) || b1(C) ? !1 : U(C).position === "fixed" || m2(C, V);
8545
+ const C = d1(H);
8546
+ return C === V || !Y(C) || b1(C) ? !1 : z(C).position === "fixed" || m2(C, V);
8543
8547
  }
8544
- function y5(H, V) {
8548
+ function w5(H, V) {
8545
8549
  const C = V.get(H);
8546
8550
  if (C)
8547
8551
  return C;
8548
8552
  let M = F1(H, [], !1).filter((e) => Y(e) && C1(e) !== "body"), A = null;
8549
- const L = U(H).position === "fixed";
8550
- let i = L ? t1(H) : H;
8553
+ const L = z(H).position === "fixed";
8554
+ let i = L ? d1(H) : H;
8551
8555
  for (; Y(i) && !b1(i); ) {
8552
- const e = U(i), t = E1(i);
8553
- !t && e.position === "fixed" && (A = null), (L ? !t && !A : !t && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !t && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = t1(i);
8556
+ const e = z(i), d = E1(i);
8557
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && m2(H, i)) ? M = M.filter((l) => l !== i) : A = e, i = d1(i);
8554
8558
  }
8555
8559
  return V.set(H, M), M;
8556
8560
  }
8557
- function P5(H) {
8561
+ function y5(H) {
8558
8562
  let {
8559
8563
  element: V,
8560
8564
  boundary: C,
8561
8565
  rootBoundary: M,
8562
8566
  strategy: A
8563
8567
  } = H;
8564
- const i = [...C === "clippingAncestors" ? y5(V, this._c) : [].concat(C), M], e = i[0], t = i.reduce((d, l) => {
8568
+ const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, l) => {
8565
8569
  const o = K1(V, l, A);
8566
- return d.top = i1(o.top, d.top), d.right = r1(o.right, d.right), d.bottom = r1(o.bottom, d.bottom), d.left = i1(o.left, d.left), d;
8570
+ return t.top = M1(o.top, t.top), t.right = r1(o.right, t.right), t.bottom = r1(o.bottom, t.bottom), t.left = M1(o.left, t.left), t;
8567
8571
  }, K1(V, e, A));
8568
8572
  return {
8569
- width: t.right - t.left,
8570
- height: t.bottom - t.top,
8571
- x: t.left,
8572
- y: t.top
8573
+ width: d.right - d.left,
8574
+ height: d.bottom - d.top,
8575
+ x: d.left,
8576
+ y: d.top
8573
8577
  };
8574
8578
  }
8575
- function v5(H) {
8579
+ function P5(H) {
8576
8580
  return i2(H);
8577
8581
  }
8578
- function T5(H, V, C) {
8582
+ function v5(H, V, C) {
8579
8583
  const M = q(V), A = H1(V), L = C === "fixed", i = a1(H, !0, L, V);
8580
8584
  let e = {
8581
8585
  scrollLeft: 0,
8582
8586
  scrollTop: 0
8583
8587
  };
8584
- const t = J(0);
8588
+ const d = J(0);
8585
8589
  if (M || !M && !L)
8586
8590
  if ((C1(V) !== "body" || S1(A)) && (e = w1(V)), M) {
8587
- const d = a1(V, !0, L, V);
8588
- t.x = d.x + V.clientLeft, t.y = d.y + V.clientTop;
8591
+ const t = a1(V, !0, L, V);
8592
+ d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8589
8593
  } else
8590
- A && (t.x = t2(A));
8594
+ A && (d.x = t2(A));
8591
8595
  return {
8592
- x: i.left + e.scrollLeft - t.x,
8593
- y: i.top + e.scrollTop - t.y,
8596
+ x: i.left + e.scrollLeft - d.x,
8597
+ y: i.top + e.scrollTop - d.y,
8594
8598
  width: i.width,
8595
8599
  height: i.height
8596
8600
  };
8597
8601
  }
8598
8602
  function q1(H, V) {
8599
- return !q(H) || U(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8603
+ return !q(H) || z(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8600
8604
  }
8601
8605
  function l2(H, V) {
8602
8606
  const C = Q(H);
8603
8607
  if (!q(H))
8604
8608
  return C;
8605
8609
  let M = q1(H, V);
8606
- for (; M && O5(M) && U(M).position === "static"; )
8610
+ for (; M && c5(M) && z(M).position === "static"; )
8607
8611
  M = q1(M, V);
8608
- return M && (C1(M) === "html" || C1(M) === "body" && U(M).position === "static" && !E1(M)) ? C : M || p5(H) || C;
8612
+ return M && (C1(M) === "html" || C1(M) === "body" && z(M).position === "static" && !E1(M)) ? C : M || O5(H) || C;
8609
8613
  }
8610
- const F5 = async function(H) {
8614
+ const T5 = async function(H) {
8611
8615
  let {
8612
8616
  reference: V,
8613
8617
  floating: C,
@@ -8615,7 +8619,7 @@ const F5 = async function(H) {
8615
8619
  } = H;
8616
8620
  const A = this.getOffsetParent || l2, L = this.getDimensions;
8617
8621
  return {
8618
- reference: T5(V, await A(C), M),
8622
+ reference: v5(V, await A(C), M),
8619
8623
  floating: {
8620
8624
  x: 0,
8621
8625
  y: 0,
@@ -8623,57 +8627,57 @@ const F5 = async function(H) {
8623
8627
  }
8624
8628
  };
8625
8629
  };
8626
- function R5(H) {
8627
- return U(H).direction === "rtl";
8630
+ function F5(H) {
8631
+ return z(H).direction === "rtl";
8628
8632
  }
8629
- const x5 = {
8630
- convertOffsetParentRelativeRectToViewportRelativeRect: g5,
8633
+ const R5 = {
8634
+ convertOffsetParentRelativeRectToViewportRelativeRect: h5,
8631
8635
  getDocumentElement: H1,
8632
- getClippingRect: P5,
8636
+ getClippingRect: y5,
8633
8637
  getOffsetParent: l2,
8634
- getElementRects: F5,
8635
- getClientRects: k5,
8636
- getDimensions: v5,
8637
- getScale: e1,
8638
+ getElementRects: T5,
8639
+ getClientRects: g5,
8640
+ getDimensions: P5,
8641
+ getScale: A1,
8638
8642
  isElement: Y,
8639
- isRTL: R5
8640
- }, D5 = (H, V, C) => {
8643
+ isRTL: F5
8644
+ }, x5 = (H, V, C) => {
8641
8645
  const M = /* @__PURE__ */ new Map(), A = {
8642
- platform: x5,
8646
+ platform: R5,
8643
8647
  ...C
8644
8648
  }, L = {
8645
8649
  ...A.platform,
8646
8650
  _c: M
8647
8651
  };
8648
- return r5(H, V, {
8652
+ return n5(H, V, {
8649
8653
  ...A,
8650
8654
  platform: L
8651
8655
  });
8652
8656
  };
8653
8657
  var o2 = /* @__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))(o2 || {}), X = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(X || {}), n2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(n2 || {});
8654
- async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
8655
- !H || !V || D5(H, V, {
8658
+ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
8659
+ !H || !V || x5(H, V, {
8656
8660
  placement: M,
8657
8661
  middleware: [
8658
- s5(A),
8659
- c5({ padding: L }),
8660
- a5({ element: C }),
8661
- Z5(),
8662
- u5()
8662
+ S5(A),
8663
+ s5({ padding: L }),
8664
+ r5({ element: C }),
8665
+ a5(),
8666
+ Z5()
8663
8667
  ]
8664
- }).then(({ x: t, y: d, placement: l, middlewareData: o }) => {
8668
+ }).then(({ x: d, y: t, placement: l, middlewareData: o }) => {
8665
8669
  var a;
8666
8670
  if (!V)
8667
8671
  return;
8668
- const n = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8672
+ const r = ((a = H.offsetParent) == null ? void 0 : a.getBoundingClientRect().left) || 0;
8669
8673
  if (Object.assign(V.style, {
8670
8674
  maxWidth: e === "dropdown" ? `${H.offsetWidth}px` : "auto",
8671
- left: e === "dropdown" ? `${n}px` : `${t}px`,
8672
- top: `${d}px`,
8675
+ left: e === "dropdown" ? `${r}px` : `${d}px`,
8676
+ top: `${t}px`,
8673
8677
  animation: `r-tooltip-show ${i}ms ease-in-out forwards`,
8674
8678
  transformOrigin: "start"
8675
8679
  }), C && o.arrow) {
8676
- const { x: Z, y: B } = o.arrow, k = {
8680
+ const { x: u, y: b } = o.arrow, k = {
8677
8681
  top: "bottom",
8678
8682
  right: "left",
8679
8683
  bottom: "top",
@@ -8681,8 +8685,8 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8681
8685
  /* Right */
8682
8686
  }[l.split("-")[0]];
8683
8687
  Object.assign(C.style, {
8684
- left: t != null ? `${Z}px` : "",
8685
- top: d != null ? `${B}px` : "",
8688
+ left: d != null ? `${u}px` : "",
8689
+ top: t != null ? `${b}px` : "",
8686
8690
  right: "",
8687
8691
  bottom: "",
8688
8692
  [`${k}`]: "-4px"
@@ -8690,7 +8694,7 @@ async function _5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8690
8694
  }
8691
8695
  });
8692
8696
  }
8693
- const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8697
+ const _5 = ["aria-disabled"], E5 = ["innerHTML"], W5 = /* @__PURE__ */ T({
8694
8698
  __name: "RTooltip",
8695
8699
  props: {
8696
8700
  placement: { default: o2.Top },
@@ -8716,141 +8720,135 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8716
8720
  setup(H, { emit: V }) {
8717
8721
  const C = H, M = V, A = W(), L = W(), i = W();
8718
8722
  async function e() {
8719
- C.disabled || !L.value || (Z(), L.value.style.display = "block", M("show"), d());
8723
+ C.disabled || !L.value || (u(), L.value.style.display = "block", M("show"), t());
8720
8724
  }
8721
- function t() {
8725
+ function d() {
8722
8726
  C.disabled || !L.value || (L.value.style.display = "", M("hide"));
8723
8727
  }
8724
- function d() {
8728
+ function t() {
8725
8729
  C.autoHide && setTimeout(() => {
8726
- t();
8730
+ d();
8727
8731
  }, C.hideDelay);
8728
8732
  }
8729
8733
  function l() {
8730
- C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ? t() : e());
8734
+ C.disabled || C.triggers.includes(X.Click) && (L.value.style.display === "block" ? d() : e());
8731
8735
  }
8732
8736
  function o() {
8733
8737
  C.disabled || C.triggers.includes(X.Hover) && e();
8734
8738
  }
8735
- function n() {
8736
- C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && t());
8739
+ function r() {
8740
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(X.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(X.Hover) && d());
8737
8741
  }
8738
8742
  function a() {
8739
- C.triggers.includes(X.Hover) && Z();
8743
+ C.triggers.includes(X.Hover) && u();
8740
8744
  }
8741
- function Z() {
8745
+ function u() {
8742
8746
  const { placement: k, offset: y, padding: P, disabled: v, showDelay: R, type: F } = C;
8743
- v || _5(A, L, i, k, y, P, R, F);
8747
+ v || D5(A, L, i, k, y, P, R, F);
8744
8748
  }
8745
- const B = g(() => ({
8749
+ const b = g(() => ({
8746
8750
  "r-tooltip": !0,
8747
8751
  "r-tooltip--dark": C.dark && !C.light,
8748
8752
  "r-tooltip--light": C.light
8749
8753
  }));
8750
8754
  return window.onresize = () => {
8751
- C.resizable && Z();
8755
+ C.resizable && u();
8752
8756
  }, document.addEventListener("scroll", () => {
8753
- Z();
8757
+ u();
8754
8758
  }), S2(
8755
8759
  () => {
8756
- C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && t());
8760
+ C.disabled || (C.shown && C.triggers.includes(X.Manual) ? e() : !C.shown && C.triggers.includes(X.Manual) && d());
8757
8761
  },
8758
8762
  { flush: "post" }
8759
8763
  // this is important to avoid infinite loop & for fire on mounted
8760
8764
  ), X1(() => {
8761
- C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", Z()), A5(
8765
+ C.resizable && A.value.parentElement.parentElement.addEventListener("scroll", u()), M5(
8762
8766
  A,
8763
8767
  () => {
8764
- C.outsideClick && t();
8768
+ C.outsideClick && d();
8765
8769
  },
8766
8770
  {
8767
8771
  ignore: [L.value]
8768
8772
  }
8769
8773
  );
8770
- }), (k, y) => (m(), r(L1, null, [
8774
+ }), (k, y) => (m(), Z(i1, null, [
8771
8775
  S("div", {
8772
8776
  ref_key: "trigger",
8773
8777
  ref: A,
8774
8778
  "aria-disabled": C.disabled,
8775
- class: p(["r-tooltip-trigger", k.triggerClass]),
8779
+ class: c(["r-tooltip-trigger", k.triggerClass]),
8776
8780
  onClick: l,
8777
8781
  onMouseenter: o,
8778
- onMouseleave: n,
8782
+ onMouseleave: r,
8779
8783
  onMousemove: a
8780
8784
  }, [
8781
8785
  f(k.$slots, "default", {
8782
8786
  activators: {
8783
8787
  click: l,
8784
8788
  mouseenter: o,
8785
- mouseleave: n,
8789
+ mouseleave: r,
8786
8790
  mousemove: a
8787
8791
  },
8788
- updatePosition: Z
8792
+ updatePosition: u
8789
8793
  }, () => [
8790
8794
  S("div", {
8791
8795
  innerHTML: C.triggerContent
8792
- }, null, 8, W5)
8796
+ }, null, 8, E5)
8793
8797
  ])
8794
- ], 42, E5),
8798
+ ], 42, _5),
8795
8799
  (m(), _(s2, { to: "body" }, [
8796
8800
  S("div", {
8797
8801
  id: "tooltip",
8798
8802
  ref_key: "tooltip",
8799
8803
  ref: L,
8800
- class: p([B.value, k.tooltipClass]),
8804
+ class: c([b.value, k.tooltipClass]),
8801
8805
  role: "tooltip"
8802
8806
  }, [
8803
8807
  f(k.$slots, "content", {
8804
- hide: t,
8805
- updatePosition: Z
8808
+ hide: d,
8809
+ updatePosition: u
8806
8810
  }, () => [
8807
- C.text ? (m(), r("div", {
8811
+ C.text ? (m(), Z("div", {
8808
8812
  key: 0,
8809
- class: p(["r-tooltip__content", {
8813
+ class: c(["r-tooltip__content", {
8810
8814
  "r-tooltip__content--dark": C.dark,
8811
8815
  "r-tooltip__content--light": C.light
8812
8816
  }])
8813
- }, w(C.text), 3)) : c("", !0),
8814
- C.text ? (m(), r("div", {
8817
+ }, w(C.text), 3)) : p("", !0),
8818
+ C.text ? (m(), Z("div", {
8815
8819
  key: 1,
8816
8820
  id: "arrow",
8817
8821
  ref_key: "arrowElement",
8818
8822
  ref: i,
8819
- class: p(["r-tooltip__arrow", {
8823
+ class: c(["r-tooltip__arrow", {
8820
8824
  "r-tooltip__arrow--dark": C.dark,
8821
8825
  "r-tooltip__arrow--light": C.light
8822
8826
  }])
8823
- }, null, 2)) : c("", !0)
8827
+ }, null, 2)) : p("", !0)
8824
8828
  ])
8825
8829
  ], 2)
8826
8830
  ]))
8827
8831
  ], 64));
8828
8832
  }
8829
- }), I5 = ["onClick"], Q5 = {
8830
- key: 1,
8831
- class: "r-dropdown__tags"
8832
- }, G5 = {
8833
- key: 2,
8834
- class: "r-dropdown__multiple"
8835
- }, $5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], U5 = ["data-has-value", "onClick"], z5 = ["aria-disabled", "onClick"], K5 = { class: "flex items-center" }, q5 = {
8833
+ }), N5 = ["onClick"], I5 = { class: "r-dropdown__selections" }, Q5 = { key: 0 }, G5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], $5 = ["data-has-value", "onClick"], U5 = ["aria-disabled", "onClick"], z5 = { class: "flex items-center" }, K5 = {
8836
8834
  key: 0,
8837
8835
  class: "r-dropdown-options__no-option"
8838
- }, j5 = {
8836
+ }, q5 = {
8839
8837
  key: 0,
8840
8838
  class: "r-dropdown-details"
8841
- }, X5 = {
8839
+ }, j5 = {
8842
8840
  key: 0,
8843
8841
  class: "r-dropdown-error"
8844
- }, Y5 = {
8842
+ }, X5 = {
8845
8843
  key: 1,
8846
8844
  class: "r-dropdown-hint"
8847
- }, J5 = /* @__PURE__ */ T({
8845
+ }, Y5 = /* @__PURE__ */ T({
8848
8846
  __name: "RDropdown",
8849
8847
  props: {
8850
8848
  options: { default: () => [] },
8851
8849
  modelValue: { default: {} },
8852
8850
  placeholder: { default: "" },
8853
- taggable: { type: Boolean, default: !1 },
8851
+ chips: { type: Boolean, default: !1 },
8854
8852
  multiple: { type: Boolean, default: !1 },
8855
8853
  disabled: { type: Boolean, default: !1 },
8856
8854
  loading: { type: Boolean, default: !1 },
@@ -8858,7 +8856,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8858
8856
  appendIcon: { default: "mdiChevronDown" },
8859
8857
  searchable: { type: Boolean, default: !1 },
8860
8858
  clearable: { type: Boolean, default: !1 },
8861
- id: { default: "test" },
8859
+ id: { default: "r-dropdown" },
8862
8860
  closeOnSelect: { type: Boolean, default: !0 },
8863
8861
  dropdownClass: { default: "" },
8864
8862
  optionsClass: { default: "" },
@@ -8867,90 +8865,92 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8867
8865
  hideDetails: { type: Boolean, default: !1 },
8868
8866
  autocomplete: { default: "off" },
8869
8867
  noOptionsText: { default: "No options" },
8870
- hideOptionCheckIcon: { type: Boolean, default: !1 }
8868
+ hideOptionCheckIcon: { type: Boolean, default: !1 },
8869
+ clearableChip: { type: Boolean, default: !0 }
8871
8870
  },
8872
8871
  emits: ["update:modelValue"],
8873
8872
  setup(H, { emit: V }) {
8874
8873
  const C = H, M = V, A = W({}), L = W([]), i = W(!1), e = W("");
8875
- function t(u) {
8876
- if (!u || typeof u == "object" || typeof u == "function" || typeof u == "symbol" || typeof u > "u" || Array.isArray(u))
8874
+ function d(n) {
8875
+ if (!n || typeof n == "object" || typeof n == "function" || typeof n == "symbol" || typeof n > "u" || Array.isArray(n))
8877
8876
  return !0;
8878
- const [h] = Object == null ? void 0 : Object.keys(u);
8877
+ const [h] = Object == null ? void 0 : Object.keys(n);
8879
8878
  return ["label", "value"].includes(h);
8880
8879
  }
8881
- const d = g(() => {
8882
- const u = C.options;
8883
- return t(u[0]) ? u : u.map((h) => ({
8880
+ const t = g(() => {
8881
+ const n = C.options;
8882
+ return d(n[0]) ? n : n.map((h) => ({
8884
8883
  value: h,
8885
8884
  label: String(h)
8886
8885
  }));
8887
8886
  }), l = g(() => {
8888
- const u = C.modelValue;
8889
- return t(u) ? u : {
8890
- value: u,
8891
- label: String(u)
8887
+ const n = C.modelValue;
8888
+ return d(n) ? n : {
8889
+ value: n,
8890
+ label: String(n)
8892
8891
  };
8893
- }), o = W(), n = W(), a = W();
8894
- function Z(u, h) {
8895
- var b, x, s;
8896
- if (u.stopPropagation(), !C.disabled) {
8892
+ }), o = W(), r = W(), a = W();
8893
+ function u(n, h) {
8894
+ var B, D, s;
8895
+ if (n.stopPropagation(), !C.disabled) {
8897
8896
  if (i.value = !0, h && h(), i.value) {
8898
- (b = o.value) == null || b.classList.add("r-dropdown--active"), (x = o.value) == null || x.focus(), C.searchable && ((s = n.value) == null || s.focus());
8897
+ (B = o.value) == null || B.classList.add("r-dropdown--active"), (D = o.value) == null || D.focus(), (s = r.value) == null || s.focus();
8899
8898
  return;
8900
8899
  }
8901
- B();
8900
+ b();
8902
8901
  }
8903
8902
  }
8904
- function B() {
8905
- var u, h, b;
8906
- i.value = !1, (u = o.value) == null || u.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (b = n.value) == null || b.blur();
8903
+ function b() {
8904
+ var n, h, B;
8905
+ i.value = !1, (n = o.value) == null || n.classList.remove("r-dropdown--active"), (h = o.value) == null || h.blur(), (B = r.value) == null || B.blur();
8907
8906
  }
8908
- function k(u, h, b, x) {
8907
+ function k(n, h, B, D) {
8909
8908
  var s;
8910
- if (u.stopPropagation(), x(), !h.disabled) {
8911
- if (C.multiple || C.taggable) {
8912
- L.value.find((E) => E.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = n.value) == null || s.focus());
8909
+ if (n.stopPropagation(), D(), !h.disabled) {
8910
+ if (C.multiple) {
8911
+ L.value.find((E) => E.value === h.value) ? L.value.splice(L.value.indexOf(h), 1) : L.value.push(h), e.value = "", C.searchable && ((s = r.value) == null || s.focus());
8913
8912
  return;
8914
8913
  }
8915
- y(u, h), C.closeOnSelect && (b(), B());
8914
+ y(n, h), C.closeOnSelect && (B(), b());
8916
8915
  }
8917
8916
  }
8918
- function y(u, h) {
8917
+ function y(n, h) {
8919
8918
  if (A.value.value === h.value) {
8920
8919
  A.value = {}, e.value = "", M("update:modelValue", "");
8921
8920
  return;
8922
8921
  }
8923
- e.value = h.label, A.value = h, Z(u), M("update:modelValue", h);
8922
+ e.value = h.label, A.value = h, u(n), M("update:modelValue", h);
8924
8923
  }
8925
- function P(u, h, b) {
8926
- if (u instanceof KeyboardEvent && u.key !== "Backspace" || e.value !== "")
8924
+ function P(n, h, B) {
8925
+ if (n instanceof KeyboardEvent && n.key !== "Backspace" || e.value !== "")
8927
8926
  return;
8928
- u.stopPropagation(), b();
8929
- const x = L.value.findIndex((s) => s.value === h.value);
8930
- L.value.splice(x, 1);
8927
+ n.stopPropagation(), B();
8928
+ const D = L.value.findIndex((s) => s.value === h.value);
8929
+ L.value.splice(D, 1);
8931
8930
  }
8932
- function v(u, h) {
8931
+ function v(n, h) {
8933
8932
  var s;
8934
- if (!C.taggable)
8933
+ if (!C.multiple)
8935
8934
  return;
8936
- u.stopPropagation(), h();
8937
- const b = e.value;
8938
- if (b === "")
8935
+ n.stopPropagation(), h();
8936
+ const B = e.value;
8937
+ if (B === "")
8939
8938
  return;
8940
- d.value.find((E) => E.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = n.value) == null || s.focus());
8939
+ t.value.find((E) => E.label === B) || (L.value.push({ value: B, label: B }), e.value = "", (s = r.value) == null || s.focus());
8941
8940
  }
8942
- function R(u) {
8943
- return C.multiple || C.taggable ? L.value.find((h) => h.value === u.value) : A.value.value === u.value;
8941
+ function R(n) {
8942
+ var h;
8943
+ return !n || (n == null ? void 0 : n.value) === void 0 || (n == null ? void 0 : n.value) === null ? !1 : C.multiple ? L.value.find((B) => (B == null ? void 0 : B.value) === (n == null ? void 0 : n.value)) : ((h = A.value) == null ? void 0 : h.value) === (n == null ? void 0 : n.value);
8944
8944
  }
8945
- const F = g(() => !C.searchable || A.value.label === e.value ? d.value : d.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), z = g(() => !C.searchable);
8945
+ const F = g(() => !C.searchable || A.value.label === e.value ? t.value : t.value.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), K = g(() => !C.searchable);
8946
8946
  function I() {
8947
- l.value ? C.multiple || C.taggable ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8947
+ l.value ? C.multiple ? L.value = l.value : (A.value = l.value, e.value = l.value.label) : (A.value = {}, L.value.splice(0, L.value.length));
8948
8948
  }
8949
- function O(u) {
8950
- C.searchable && u(), !(C.multiple || C.taggable) && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8949
+ function O(n) {
8950
+ C.searchable && n(), !C.multiple && e.value === "" && (A.value = {}, M("update:modelValue", ""));
8951
8951
  }
8952
- function N(u, h) {
8953
- if (u.stopPropagation(), h(), C.multiple || C.taggable) {
8952
+ function N(n, h) {
8953
+ if (n.stopPropagation(), h(), C.multiple) {
8954
8954
  L.value.splice(0, L.value.length);
8955
8955
  return;
8956
8956
  }
@@ -8958,16 +8958,16 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8958
8958
  }
8959
8959
  return X1(() => {
8960
8960
  I();
8961
- }), G(L, (u) => {
8962
- M("update:modelValue", u);
8963
- }), G(() => l.value, (u) => {
8961
+ }), G(L, (n) => {
8962
+ M("update:modelValue", n);
8963
+ }), G(() => l.value, (n) => {
8964
8964
  I();
8965
- }), (u, h) => (m(), r("div", {
8965
+ }), (n, h) => (m(), Z("div", {
8966
8966
  ref_key: "wrapper",
8967
8967
  ref: a,
8968
8968
  class: "r-dropdown-wrapper"
8969
8969
  }, [
8970
- K(N5, {
8970
+ U(W5, {
8971
8971
  "auto-hide": !1,
8972
8972
  offset: 0,
8973
8973
  "outside-click": "",
@@ -8977,166 +8977,168 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8977
8977
  "trigger-class": "w-full",
8978
8978
  triggers: ["click"],
8979
8979
  type: "dropdown",
8980
- onHide: B
8980
+ onHide: b
8981
8981
  }, {
8982
- default: n1(({ activators: b, updatePosition: x }) => [
8982
+ default: n1(({ activators: B, updatePosition: D }) => [
8983
8983
  S("div", {
8984
8984
  ref_key: "dropdown",
8985
8985
  ref: o,
8986
- class: p(["r-dropdown", {
8986
+ class: c(["r-dropdown", {
8987
8987
  "r-dropdown--disabled": C.disabled,
8988
8988
  "r-dropdown--loading": C.loading,
8989
8989
  [C.dropdownClass]: C.dropdownClass,
8990
- "r-dropdown--error": C.errorMsg
8990
+ "r-dropdown--error": C.errorMsg,
8991
+ group: e.value !== "" || L.value.length
8991
8992
  }]),
8992
8993
  role: "select",
8993
- onClick: (s) => Z(s, b.click)
8994
+ onClick: (s) => u(s, B.click)
8994
8995
  }, [
8995
- C.prependIcon || u.$slots.prepend ? (m(), r("div", {
8996
+ C.prependIcon || n.$slots.prepend ? (m(), Z("div", {
8996
8997
  key: 0,
8997
- class: p(["r-dropdown__prepend-icon", {
8998
+ class: c(["r-dropdown__prepend-icon", {
8998
8999
  "r-dropdown__prepend-icon--active": i.value,
8999
9000
  "r-dropdown__prepend-icon--error": C.errorMsg
9000
9001
  }])
9001
9002
  }, [
9002
- f(u.$slots, "prepend", {}, () => [
9003
- C.prependIcon ? (m(), _(D, {
9003
+ f(n.$slots, "prepend", {}, () => [
9004
+ C.prependIcon ? (m(), _(x, {
9004
9005
  key: 0,
9005
9006
  name: C.prependIcon
9006
- }, null, 8, ["name"])) : c("", !0)
9007
+ }, null, 8, ["name"])) : p("", !0)
9007
9008
  ])
9008
- ], 2)) : c("", !0),
9009
- C.taggable && L.value.length ? (m(), r("div", Q5, [
9010
- f(u.$slots, "tags", {
9011
- options: L.value,
9012
- removeOption: P,
9013
- updatePosition: x
9014
- }, () => [
9015
- (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), _(J2, {
9016
- key: E,
9017
- "append-icon": "mdiClose",
9018
- class: "r-dropdown__tags__chip",
9019
- closable: "",
9020
- label: s.label,
9021
- variant: "primary",
9022
- "onClick:close": ($) => P($, s, x)
9023
- }, null, 8, ["label", "onClick:close"]))), 128))
9009
+ ], 2)) : p("", !0),
9010
+ S("div", I5, [
9011
+ (m(!0), Z(i1, null, o1(L.value, (s, E) => (m(), Z("div", { key: E }, [
9012
+ f(n.$slots, "selection", {
9013
+ index: E,
9014
+ option: s
9015
+ }, () => [
9016
+ C.chips ? f(n.$slots, "chip", {
9017
+ key: 1,
9018
+ removeOption: P
9019
+ }, () => [
9020
+ U(Y2, {
9021
+ clearable: C.clearableChip,
9022
+ label: s.label,
9023
+ "no-wrap": "",
9024
+ variant: "primary",
9025
+ "onClick:close": ($) => P($, s, D)
9026
+ }, null, 8, ["clearable", "label", "onClick:close"])
9027
+ ]) : (m(), Z("p", Q5, w(`${s.label}, `), 1))
9028
+ ])
9029
+ ]))), 128)),
9030
+ Y1(S("input", {
9031
+ id: C.id,
9032
+ ref_key: "input",
9033
+ ref: r,
9034
+ "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9035
+ autocomplete: C.autocomplete,
9036
+ class: c(["r-dropdown__input", {
9037
+ "r-dropdown__input--loading": C.loading
9038
+ }]),
9039
+ disabled: C.disabled,
9040
+ placeholder: C.placeholder,
9041
+ readonly: K.value,
9042
+ role: "presentation",
9043
+ type: "text",
9044
+ onInput: e1((s) => O(D), ["prevent"]),
9045
+ onKeydown: [
9046
+ N1((s) => P(s, L.value[L.value.length - 1], D), ["backspace"]),
9047
+ N1((s) => v(s, D), ["enter"])
9048
+ ]
9049
+ }, null, 42, G5), [
9050
+ [c2, e.value]
9024
9051
  ])
9025
- ])) : c("", !0),
9026
- C.multiple && L.value.length ? (m(), r("div", G5, [
9027
- (m(!0), r(L1, null, A1(L.value, (s, E) => (m(), r("p", { key: E }, w(`${s.label},`), 1))), 128))
9028
- ])) : c("", !0),
9029
- Y1(S("input", {
9030
- id: C.id,
9031
- ref_key: "input",
9032
- ref: n,
9033
- "onUpdate:modelValue": h[0] || (h[0] = (s) => e.value = s),
9034
- autocomplete: C.autocomplete,
9035
- class: p(["r-dropdown__input", {
9036
- "r-dropdown__input--loading": C.loading
9037
- }]),
9038
- disabled: C.disabled,
9039
- placeholder: C.placeholder,
9040
- readonly: z.value,
9041
- role: "presentation",
9042
- type: "text",
9043
- onInput: d1((s) => O(x), ["prevent"]),
9044
- onKeydown: [
9045
- N1((s) => P(s, L.value[L.value.length - 1], x), ["backspace"]),
9046
- N1((s) => v(s, x), ["enter"])
9047
- ]
9048
- }, null, 42, $5), [
9049
- [c2, e.value]
9050
9052
  ]),
9051
- C.clearable ? (m(), r("div", {
9052
- key: 3,
9053
+ C.clearable ? (m(), Z("div", {
9054
+ key: 1,
9053
9055
  class: "r-dropdown__clearable",
9054
9056
  "data-has-value": (e.value !== "" || L.value.length) && i.value,
9055
- onClick: (s) => N(s, x)
9057
+ onClick: (s) => N(s, D)
9056
9058
  }, [
9057
- K(D, {
9059
+ U(x, {
9058
9060
  name: "mdiCloseCircle",
9059
9061
  size: "18"
9060
9062
  })
9061
- ], 8, U5)) : c("", !0),
9062
- C.appendIcon || u.$slots.append ? (m(), r("div", {
9063
- key: 4,
9064
- class: p(["r-dropdown__append-icon", {
9063
+ ], 8, $5)) : p("", !0),
9064
+ C.appendIcon || n.$slots.append ? (m(), Z("div", {
9065
+ key: 2,
9066
+ class: c(["r-dropdown__append-icon", {
9065
9067
  "r-dropdown__append-icon--active": i.value,
9066
9068
  "r-dropdown__append-icon--error": C.errorMsg
9067
9069
  }])
9068
9070
  }, [
9069
- f(u.$slots, "append", {}, () => [
9070
- C.appendIcon ? (m(), _(D, {
9071
+ f(n.$slots, "append", {}, () => [
9072
+ C.appendIcon ? (m(), _(x, {
9071
9073
  key: 0,
9072
9074
  name: C.appendIcon
9073
- }, null, 8, ["name"])) : c("", !0)
9075
+ }, null, 8, ["name"])) : p("", !0)
9074
9076
  ])
9075
- ], 2)) : c("", !0)
9076
- ], 10, I5)
9077
+ ], 2)) : p("", !0)
9078
+ ], 10, N5)
9077
9079
  ]),
9078
- content: n1(({ hide: b, updatePosition: x }) => [
9080
+ content: n1(({ hide: B, updatePosition: D }) => [
9079
9081
  S("ul", {
9080
- class: p(["r-dropdown-options", {
9082
+ class: c(["r-dropdown-options", {
9081
9083
  "r-dropdown-options--active": i.value,
9082
9084
  [C.optionsClass]: C.optionsClass
9083
9085
  }])
9084
9086
  }, [
9085
- (m(!0), r(L1, null, A1(F.value, (s) => (m(), r("li", {
9087
+ (m(!0), Z(i1, null, o1(F.value, (s) => (m(), Z("li", {
9086
9088
  key: s.value,
9087
9089
  "aria-disabled": s.disabled,
9088
- class: p(["r-dropdown-options__option", {
9090
+ class: c(["r-dropdown-options__option", {
9089
9091
  "r-dropdown-options__option--active": R(s),
9090
9092
  "r-dropdown-options__option--disabled": s.disabled
9091
9093
  }]),
9092
- onClick: d1((E) => k(E, s, b, x), ["prevent"])
9094
+ onClick: e1((E) => k(E, s, B, D), ["prevent"])
9093
9095
  }, [
9094
- f(u.$slots, "option", {
9096
+ f(n.$slots, "option", {
9095
9097
  isSelected: R(s)
9096
9098
  }, () => [
9097
- S("div", K5, [
9098
- f(u.$slots, "option-prepend", {}, () => [
9099
- s.prependIcon ? (m(), _(D, {
9099
+ S("div", z5, [
9100
+ f(n.$slots, "option-prepend", {}, () => [
9101
+ s.prependIcon ? (m(), _(x, {
9100
9102
  key: 0,
9101
- class: p(["r-dropdown-options__option__prepend-icon", {
9103
+ class: c(["r-dropdown-options__option__prepend-icon", {
9102
9104
  "r-dropdown-options__option__prepend-icon--active": R(s)
9103
9105
  }]),
9104
9106
  name: s.prependIcon
9105
- }, null, 8, ["class", "name"])) : c("", !0)
9107
+ }, null, 8, ["class", "name"])) : p("", !0)
9106
9108
  ]),
9107
9109
  S("p", {
9108
- class: p(["r-dropdown-options__option__label", {
9110
+ class: c(["r-dropdown-options__option__label", {
9109
9111
  "r-dropdown-options__option__label--active": R(s)
9110
9112
  }])
9111
9113
  }, w(s.label), 3)
9112
9114
  ]),
9113
- f(u.$slots, "option-append", {}, () => [
9114
- R(s) && !C.hideOptionCheckIcon ? (m(), _(D, {
9115
+ f(n.$slots, "option-append", {}, () => [
9116
+ R(s) && !C.hideOptionCheckIcon ? (m(), _(x, {
9115
9117
  key: 0,
9116
- class: p(["r-dropdown-options__option__append-icon", {
9118
+ class: c(["r-dropdown-options__option__append-icon", {
9117
9119
  "r-dropdown-options__option__append-icon--active": R(s)
9118
9120
  }]),
9119
9121
  name: "mdiCheck"
9120
- }, null, 8, ["class"])) : c("", !0)
9122
+ }, null, 8, ["class"])) : p("", !0)
9121
9123
  ])
9122
9124
  ])
9123
- ], 10, z5))), 128)),
9124
- F.value.length === 0 ? (m(), r("li", q5, [
9125
- f(u.$slots, "not-options", {}, () => [
9126
- R1(w(C.noOptionsText || "No options"), 1)
9125
+ ], 10, U5))), 128)),
9126
+ F.value.length === 0 ? (m(), Z("li", K5, [
9127
+ f(n.$slots, "not-options", {}, () => [
9128
+ R1(w(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9127
9129
  ])
9128
- ])) : c("", !0)
9130
+ ])) : p("", !0)
9129
9131
  ], 2)
9130
9132
  ]),
9131
9133
  _: 3
9132
9134
  }),
9133
- u.$props.hideDetails ? c("", !0) : (m(), r("div", j5, [
9134
- C.errorMsg ? (m(), r("div", X5, w(C.errorMsg), 1)) : c("", !0),
9135
- C.hint ? (m(), r("div", Y5, w(C.hint), 1)) : c("", !0)
9135
+ n.$props.hideDetails ? p("", !0) : (m(), Z("div", q5, [
9136
+ C.errorMsg ? (m(), Z("div", j5, w(C.errorMsg), 1)) : p("", !0),
9137
+ C.hint ? (m(), Z("div", X5, w(C.hint), 1)) : p("", !0)
9136
9138
  ]))
9137
9139
  ], 512));
9138
9140
  }
9139
- }), C3 = ["id", "for"], r2 = /* @__PURE__ */ T({
9141
+ }), J5 = ["id", "for"], r2 = /* @__PURE__ */ T({
9140
9142
  __name: "RLabel",
9141
9143
  props: {
9142
9144
  id: { default: "" },
@@ -9145,7 +9147,7 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9145
9147
  },
9146
9148
  setup(H) {
9147
9149
  const V = H;
9148
- return (C, M) => (m(), r("label", {
9150
+ return (C, M) => (m(), Z("label", {
9149
9151
  id: V.id,
9150
9152
  class: "r-label",
9151
9153
  for: V.for
@@ -9153,18 +9155,18 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9153
9155
  f(C.$slots, "default", {}, () => [
9154
9156
  R1(w(V.text), 1)
9155
9157
  ])
9156
- ], 8, C3));
9158
+ ], 8, J5));
9157
9159
  }
9158
- }), H3 = ["onClick"], V3 = ["open"], L3 = { class: "r-dialog__header" }, M3 = {
9160
+ }), C3 = ["onClick"], H3 = ["open"], V3 = { class: "r-dialog__header" }, L3 = {
9159
9161
  key: 0,
9160
9162
  class: "icon"
9161
- }, A3 = {
9163
+ }, M3 = {
9162
9164
  key: 1,
9163
9165
  class: "title"
9164
- }, i3 = {
9166
+ }, A3 = {
9165
9167
  key: 2,
9166
9168
  class: "description"
9167
- }, e3 = { class: "r-dialog__body" }, d3 = { class: "r-dialog__actions" }, l0 = /* @__PURE__ */ T({
9169
+ }, i3 = { class: "r-dialog__body" }, e3 = { class: "r-dialog__actions" }, m0 = /* @__PURE__ */ T({
9168
9170
  __name: "RModal",
9169
9171
  props: {
9170
9172
  modelValue: { type: Boolean, default: !1 },
@@ -9197,39 +9199,39 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9197
9199
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9198
9200
  }), window.addEventListener("keydown", (e) => {
9199
9201
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9200
- }), (e, t) => Y1((m(), r("div", {
9201
- class: p(["r-modal-overlay", e.overlayClass]),
9202
- onClick: d1(i, ["stop"])
9202
+ }), (e, d) => Y1((m(), Z("div", {
9203
+ class: c(["r-modal-overlay", e.overlayClass]),
9204
+ onClick: e1(i, ["stop"])
9203
9205
  }, [
9204
9206
  S("div", {
9205
9207
  "aria-modal": "true",
9206
- class: p(A.value),
9208
+ class: c(A.value),
9207
9209
  open: C.modelValue,
9208
9210
  role: "dialog",
9209
9211
  style: x1(L.value)
9210
9212
  }, [
9211
- S("div", L3, [
9213
+ S("div", V3, [
9212
9214
  f(e.$slots, "header"),
9213
- C.icon ? (m(), r("div", M3, [
9214
- K(D, {
9215
+ C.icon ? (m(), Z("div", L3, [
9216
+ U(x, {
9215
9217
  name: C.icon
9216
9218
  }, null, 8, ["name"])
9217
- ])) : c("", !0),
9218
- C.title ? (m(), r("div", A3, w(C.title), 1)) : c("", !0),
9219
- C.description ? (m(), r("div", i3, w(C.description), 1)) : c("", !0)
9219
+ ])) : p("", !0),
9220
+ C.title ? (m(), Z("div", M3, w(C.title), 1)) : p("", !0),
9221
+ C.description ? (m(), Z("div", A3, w(C.description), 1)) : p("", !0)
9220
9222
  ]),
9221
- S("div", e3, [
9223
+ S("div", i3, [
9222
9224
  f(e.$slots, "default")
9223
9225
  ]),
9224
- S("div", d3, [
9226
+ S("div", e3, [
9225
9227
  f(e.$slots, "actions")
9226
9228
  ])
9227
- ], 14, V3)
9228
- ], 10, H3)), [
9229
+ ], 14, H3)
9230
+ ], 10, C3)), [
9229
9231
  [p2, e.modelValue]
9230
9232
  ]);
9231
9233
  }
9232
- }), t3 = ["data-open"], m3 = ["data-open"], l3 = ["data-open"], o0 = /* @__PURE__ */ T({
9234
+ }), d3 = ["data-open"], t3 = ["data-open"], m3 = ["data-open"], l0 = /* @__PURE__ */ T({
9233
9235
  __name: "RSidebar",
9234
9236
  props: {
9235
9237
  modelValue: { type: Boolean, default: !1 },
@@ -9241,32 +9243,32 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9241
9243
  emits: ["update:modelValue"],
9242
9244
  setup(H, { emit: V }) {
9243
9245
  const C = H, M = V;
9244
- return (A, L) => (m(), r("div", {
9245
- class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9246
+ return (A, L) => (m(), Z("div", {
9247
+ class: c(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9246
9248
  "data-open": C.modelValue
9247
9249
  }, [
9248
9250
  S("aside", {
9249
- class: p(["r-sidebar", [C.class]]),
9251
+ class: c(["r-sidebar", [C.class]]),
9250
9252
  "data-open": C.modelValue
9251
9253
  }, [
9252
9254
  f(A.$slots, "default")
9253
- ], 10, m3),
9254
- C.showTrigger ? (m(), r("div", {
9255
+ ], 10, t3),
9256
+ C.showTrigger ? (m(), Z("div", {
9255
9257
  key: 0,
9256
- class: p(["r-sidebar__trigger", [C.triggerClass]]),
9258
+ class: c(["r-sidebar__trigger", [C.triggerClass]]),
9257
9259
  "data-open": C.modelValue,
9258
9260
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9259
9261
  }, [
9260
9262
  f(A.$slots, "trigger", {}, () => [
9261
9263
  R1(" > ")
9262
9264
  ])
9263
- ], 10, l3)) : c("", !0)
9264
- ], 10, t3));
9265
+ ], 10, m3)) : p("", !0)
9266
+ ], 10, d3));
9265
9267
  }
9266
- }), o3 = { class: "r-snackbar__text" }, n3 = {
9268
+ }), l3 = { class: "r-snackbar__text" }, o3 = {
9267
9269
  key: 0,
9268
9270
  class: "r-snackbar__close"
9269
- }, n0 = /* @__PURE__ */ T({
9271
+ }, o0 = /* @__PURE__ */ T({
9270
9272
  __name: "RSnackbar",
9271
9273
  props: {
9272
9274
  modelValue: { type: Boolean, default: !1 },
@@ -9304,39 +9306,39 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9304
9306
  warning: "mdiAlert",
9305
9307
  info: "mdiInformation"
9306
9308
  })[C.variant || "info"]);
9307
- return (i, e) => (m(), r("div", {
9308
- class: p(A.value)
9309
+ return (i, e) => (m(), Z("div", {
9310
+ class: c(A.value)
9309
9311
  }, [
9310
9312
  f(i.$slots, "default", {}, () => [
9311
- C.variant ? (m(), _(D, {
9313
+ C.variant ? (m(), _(x, {
9312
9314
  key: 0,
9313
9315
  class: "r-snackbar__icon",
9314
9316
  name: L.value
9315
- }, null, 8, ["name"])) : c("", !0)
9317
+ }, null, 8, ["name"])) : p("", !0)
9316
9318
  ]),
9317
- S("div", o3, w(C.text), 1),
9319
+ S("div", l3, w(C.text), 1),
9318
9320
  f(i.$slots, "action"),
9319
- C.closable ? (m(), r("div", n3, [
9321
+ C.closable ? (m(), Z("div", o3, [
9320
9322
  f(i.$slots, "close", {}, () => [
9321
- K(D, {
9323
+ U(x, {
9322
9324
  name: "mdiClose",
9323
9325
  size: 16,
9324
- onClick: e[0] || (e[0] = d1((t) => i.$emit("update:modelValue", !1), ["stop"]))
9326
+ onClick: e[0] || (e[0] = e1((d) => i.$emit("update:modelValue", !1), ["stop"]))
9325
9327
  })
9326
9328
  ])
9327
- ])) : c("", !0)
9329
+ ])) : p("", !0)
9328
9330
  ], 2));
9329
9331
  }
9330
- }), r3 = ["id", "checked", "disabled"], a3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), Z3 = ["id", "for"], u3 = {
9332
+ }), n3 = ["id", "checked", "disabled"], r3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), a3 = ["id", "for"], Z3 = {
9331
9333
  key: 0,
9332
9334
  class: "r-switch-texts__details"
9333
- }, S3 = {
9335
+ }, u3 = {
9334
9336
  key: 0,
9335
9337
  class: "r-switch-texts__error"
9336
- }, s3 = {
9338
+ }, S3 = {
9337
9339
  key: 1,
9338
9340
  class: "r-switch-texts__hint"
9339
- }, r0 = /* @__PURE__ */ T({
9341
+ }, n0 = /* @__PURE__ */ T({
9340
9342
  __name: "RSwitch",
9341
9343
  props: {
9342
9344
  id: { default: "switch" },
@@ -9372,14 +9374,14 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9372
9374
  // TODO: find a better way to do this
9373
9375
  immediate: !0
9374
9376
  }
9375
- ), (e, t) => (m(), r("div", {
9376
- class: p(["r-switch-container", {
9377
+ ), (e, d) => (m(), Z("div", {
9378
+ class: c(["r-switch-container", {
9377
9379
  "r-switch-container--reverse": C.reverse,
9378
9380
  "r-switch-container--hide-details": C.hideDetails
9379
9381
  }])
9380
9382
  }, [
9381
9383
  S("div", {
9382
- class: p(L.value)
9384
+ class: c(L.value)
9383
9385
  }, [
9384
9386
  S("input", {
9385
9387
  id: C.id,
@@ -9388,11 +9390,11 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9388
9390
  disabled: C.disabled,
9389
9391
  type: "checkbox",
9390
9392
  onChange: i
9391
- }, null, 40, r3),
9392
- a3
9393
+ }, null, 40, n3),
9394
+ r3
9393
9395
  ], 2),
9394
9396
  S("div", {
9395
- class: p(["r-switch-texts", {
9397
+ class: c(["r-switch-texts", {
9396
9398
  [`r-switch-texts--${C.size}`]: !0
9397
9399
  }])
9398
9400
  }, [
@@ -9400,23 +9402,23 @@ const E5 = ["aria-disabled"], W5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9400
9402
  id: `${C.id}-label`,
9401
9403
  class: "r-switch-texts__label",
9402
9404
  for: C.id
9403
- }, w(C.label), 9, Z3),
9404
- C.hideDetails ? c("", !0) : (m(), r("div", u3, [
9405
- C.errorMsg ? (m(), r("p", S3, w(C.errorMsg), 1)) : (m(), r("p", s3, w(C.hint), 1))
9405
+ }, w(C.label), 9, a3),
9406
+ C.hideDetails ? p("", !0) : (m(), Z("div", Z3, [
9407
+ C.errorMsg ? (m(), Z("p", u3, w(C.errorMsg), 1)) : (m(), Z("p", S3, w(C.hint), 1))
9406
9408
  ]))
9407
9409
  ], 2)
9408
9410
  ], 2));
9409
9411
  }
9410
9412
  });
9411
- var o1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(o1 || {});
9412
- const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9413
+ var l1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(l1 || {});
9414
+ const s3 = ["aria-disabled", "aria-selected", "disabled"], c3 = {
9413
9415
  key: 0,
9414
9416
  class: "r-tab-item__label"
9415
- }, p3 = /* @__PURE__ */ T({
9417
+ }, O3 = /* @__PURE__ */ T({
9416
9418
  __name: "RTabItem",
9417
9419
  props: {
9418
9420
  id: {},
9419
- variant: { default: o1.DEFAULT },
9421
+ variant: { default: l1.DEFAULT },
9420
9422
  label: { default: "" },
9421
9423
  prependIcon: { default: "" },
9422
9424
  appendIcon: { default: "" },
@@ -9436,49 +9438,49 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9436
9438
  })), L = g(() => ({
9437
9439
  color: C.color
9438
9440
  }));
9439
- function i(t) {
9440
- M("update:modelValue", t);
9441
+ function i(d) {
9442
+ M("update:modelValue", d);
9441
9443
  }
9442
9444
  function e() {
9443
9445
  M("click:icon");
9444
9446
  }
9445
- return (t, d) => (m(), r("button", {
9447
+ return (d, t) => (m(), Z("button", {
9446
9448
  "aria-disabled": C.disabled,
9447
9449
  "aria-selected": C.modelValue === C.id,
9448
- class: p(A.value),
9450
+ class: c(A.value),
9449
9451
  disabled: C.disabled,
9450
9452
  style: x1(L.value),
9451
- onClick: d[0] || (d[0] = d1((l) => i(C.id), ["stop"]))
9453
+ onClick: t[0] || (t[0] = e1((l) => i(C.id), ["stop"]))
9452
9454
  }, [
9453
- f(t.$slots, "prepend", {}, () => [
9454
- C.variant !== V1(o1).TEXT && C.prependIcon ? (m(), _(D, {
9455
+ f(d.$slots, "prepend", {}, () => [
9456
+ C.variant !== V1(l1).TEXT && C.prependIcon ? (m(), _(x, {
9455
9457
  key: 0,
9456
9458
  class: "r-tab-item__prepend-icon",
9457
9459
  name: C.prependIcon,
9458
9460
  size: 16
9459
- }, null, 8, ["name"])) : c("", !0)
9461
+ }, null, 8, ["name"])) : p("", !0)
9460
9462
  ]),
9461
- K(f2, {
9463
+ U(f2, {
9462
9464
  duration: 150,
9463
9465
  name: "fade"
9464
9466
  }, {
9465
9467
  default: n1(() => [
9466
- C.variant !== V1(o1).ICON ? (m(), r("span", O3, w(C.label), 1)) : c("", !0)
9468
+ C.variant !== V1(l1).ICON ? (m(), Z("span", c3, w(C.label), 1)) : p("", !0)
9467
9469
  ]),
9468
9470
  _: 1
9469
9471
  }),
9470
- f(t.$slots, "append", {}, () => [
9471
- C.variant !== V1(o1).TEXT && C.appendIcon ? (m(), _(D, {
9472
+ f(d.$slots, "append", {}, () => [
9473
+ C.variant !== V1(l1).TEXT && C.appendIcon ? (m(), _(x, {
9472
9474
  key: 0,
9473
9475
  class: "r-tab-item__append-icon",
9474
9476
  name: C.appendIcon,
9475
9477
  size: 16,
9476
- onClick: d1(e, ["stop"])
9477
- }, null, 8, ["name", "onClick"])) : c("", !0)
9478
+ onClick: e1(e, ["stop"])
9479
+ }, null, 8, ["name", "onClick"])) : p("", !0)
9478
9480
  ])
9479
- ], 14, c3));
9481
+ ], 14, s3));
9480
9482
  }
9481
- }), a0 = /* @__PURE__ */ T({
9483
+ }), r0 = /* @__PURE__ */ T({
9482
9484
  __name: "RTabs",
9483
9485
  props: {
9484
9486
  tabs: { default: () => [] },
@@ -9504,38 +9506,38 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9504
9506
  function i() {
9505
9507
  M("click:icon");
9506
9508
  }
9507
- return (e, t) => (m(), r("div", {
9508
- class: p(L.value)
9509
+ return (e, d) => (m(), Z("div", {
9510
+ class: c(L.value)
9509
9511
  }, [
9510
9512
  f(e.$slots, "default", {}, () => [
9511
- (m(!0), r(L1, null, A1(C.tabs, (d, l) => (m(), _(p3, {
9512
- id: d.id,
9513
+ (m(!0), Z(i1, null, o1(C.tabs, (t, l) => (m(), _(O3, {
9514
+ id: t.id,
9513
9515
  key: l,
9514
9516
  modelValue: A.value,
9515
- "onUpdate:modelValue": t[0] || (t[0] = (o) => A.value = o),
9517
+ "onUpdate:modelValue": d[0] || (d[0] = (o) => A.value = o),
9516
9518
  active: l === A.value,
9517
- "append-icon": d.appendIcon,
9519
+ "append-icon": t.appendIcon,
9518
9520
  block: e.block,
9519
- disabled: d.disabled,
9520
- label: d.label,
9521
- "prepend-icon": d.prependIcon,
9521
+ disabled: t.disabled,
9522
+ label: t.label,
9523
+ "prepend-icon": t.prependIcon,
9522
9524
  tile: e.tile,
9523
- variant: d.variant,
9525
+ variant: t.variant,
9524
9526
  "onClick:icon": i
9525
9527
  }, null, 8, ["id", "modelValue", "active", "append-icon", "block", "disabled", "label", "prepend-icon", "tile", "variant"]))), 128))
9526
9528
  ])
9527
9529
  ], 2));
9528
9530
  }
9529
- }), f3 = { class: "r-textarea-wrapper" }, h3 = ["id", "disabled", "placeholder", "value"], g3 = {
9531
+ }), p3 = { class: "r-textarea-wrapper" }, f3 = ["id", "disabled", "placeholder", "value"], h3 = {
9530
9532
  key: 1,
9531
9533
  class: "r-textarea__details"
9532
- }, k3 = {
9534
+ }, g3 = {
9533
9535
  key: 0,
9534
9536
  class: "r-textarea__error"
9535
- }, B3 = {
9537
+ }, k3 = {
9536
9538
  key: 1,
9537
9539
  class: "r-textarea__hint"
9538
- }, Z0 = /* @__PURE__ */ T({
9540
+ }, a0 = /* @__PURE__ */ T({
9539
9541
  __name: "RTextArea",
9540
9542
  props: {
9541
9543
  id: { default: "" },
@@ -9563,14 +9565,14 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9563
9565
  {
9564
9566
  immediate: !0
9565
9567
  }
9566
- ), (i, e) => (m(), r("div", f3, [
9568
+ ), (i, e) => (m(), Z("div", p3, [
9567
9569
  C.label ? (m(), _(r2, {
9568
9570
  key: 0,
9569
9571
  id: `${C.id}-label`,
9570
9572
  class: "r-textarea__label",
9571
9573
  for: "textarea",
9572
9574
  text: C.label
9573
- }, null, 8, ["id", "text"])) : c("", !0),
9575
+ }, null, 8, ["id", "text"])) : p("", !0),
9574
9576
  S("textarea", j1(i.$attrs, {
9575
9577
  id: C.id,
9576
9578
  class: ["r-textarea", {
@@ -9581,22 +9583,22 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9581
9583
  placeholder: C.placeholder,
9582
9584
  value: A.value,
9583
9585
  onInput: L
9584
- }), null, 16, h3),
9585
- C.hideDetails ? c("", !0) : (m(), r("div", g3, [
9586
- C.errorMsg ? (m(), r("p", k3, w(C.errorMsg), 1)) : (m(), r("p", B3, w(C.hint), 1))
9586
+ }), null, 16, f3),
9587
+ C.hideDetails ? p("", !0) : (m(), Z("div", h3, [
9588
+ C.errorMsg ? (m(), Z("p", g3, w(C.errorMsg), 1)) : (m(), Z("p", k3, w(C.hint), 1))
9587
9589
  ]))
9588
9590
  ]));
9589
9591
  }
9590
- }), b3 = { class: "r-textfield__wrapper" }, w3 = { class: "input-wrapper" }, y3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], P3 = {
9592
+ }), B3 = { class: "r-textfield__wrapper" }, b3 = { class: "input-wrapper" }, w3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], y3 = {
9591
9593
  key: 0,
9592
9594
  class: "r-textfield__details"
9593
- }, v3 = {
9595
+ }, P3 = {
9594
9596
  key: 0,
9595
9597
  class: "r-textfield__error"
9596
- }, T3 = {
9598
+ }, v3 = {
9597
9599
  key: 1,
9598
9600
  class: "r-textfield__hint"
9599
- }, u0 = /* @__PURE__ */ T({
9601
+ }, Z0 = /* @__PURE__ */ T({
9600
9602
  __name: "RTextfield",
9601
9603
  props: {
9602
9604
  id: { default: "" },
@@ -9635,47 +9637,47 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9635
9637
  url: "mdiLink",
9636
9638
  number: "mdiNumeric",
9637
9639
  text: ""
9638
- }, t = W(!1), d = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9640
+ }, d = W(!1), t = g(() => !!L.value), l = g(() => L.value.length > 0), o = g(() => {
9639
9641
  var O;
9640
9642
  return (O = C.errorMsg) == null ? void 0 : O.length;
9641
- }), n = g(() => C.clearable && l.value), a = g(() => {
9643
+ }), r = g(() => C.clearable && l.value), a = g(() => {
9642
9644
  const { disabled: O, loading: N } = C;
9643
9645
  return {
9644
9646
  "r-textfield": !0,
9645
9647
  "r-textfield--error": o.value,
9646
9648
  "r-textfield--loading": N,
9647
9649
  "r-textfield--disabled": O,
9648
- "r-textfield--clearable": n.value,
9649
- "r-textfield--focus": t.value,
9650
- "r-textfield--filled": d.value
9650
+ "r-textfield--clearable": r.value,
9651
+ "r-textfield--focus": d.value,
9652
+ "r-textfield--filled": t.value
9651
9653
  };
9652
- }), Z = g(() => ({
9654
+ }), u = g(() => ({
9653
9655
  "r-textfield__prepend-icon": !0,
9654
9656
  "r-textfield__prepend-icon--loading": C.loading,
9655
- "r-textfield__prepend-icon--error": o.value && d.value
9656
- })), B = g(() => ({
9657
+ "r-textfield__prepend-icon--error": o.value && t.value
9658
+ })), b = g(() => ({
9657
9659
  "r-textfield__append-icon": !0,
9658
- "r-textfield__append-icon--clear": n.value,
9660
+ "r-textfield__append-icon--clear": r.value,
9659
9661
  "r-textfield__append-icon--error": o.value
9660
9662
  })), k = g(() => {
9661
9663
  const { prependIcon: O, type: N } = C;
9662
9664
  return O === "none" ? "" : O || e[N];
9663
9665
  }), y = g(() => {
9664
9666
  const { appendIcon: O, type: N } = C;
9665
- return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9667
+ return O === "none" ? "" : o.value ? "mdiAlertCircleOutline" : r.value && ["text", "email"].includes(N) ? "mdiClose" : N === "password" && i.value === "password" ? "mdiEyeOutline" : N === "password" && i.value === "text" ? "mdiEyeOffOutline" : O;
9666
9668
  });
9667
9669
  function P(O) {
9668
- t.value = !0, M("focus", O);
9670
+ d.value = !0, M("focus", O);
9669
9671
  }
9670
9672
  function v(O) {
9671
- t.value = !1, M("blur", O);
9673
+ d.value = !1, M("blur", O);
9672
9674
  }
9673
9675
  function R(O) {
9674
9676
  L.value = O.target.value, M("input", O);
9675
9677
  }
9676
9678
  function F() {
9677
9679
  var O;
9678
- if (n.value) {
9680
+ if (r.value) {
9679
9681
  L.value = "", (O = A.value) == null || O.focus(), M("click:clear", {
9680
9682
  value: i.value === "number" ? +L.value : L.value
9681
9683
  });
@@ -9683,9 +9685,9 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9683
9685
  }
9684
9686
  M("click:icon", {
9685
9687
  value: i.value === "number" ? +L.value : L.value
9686
- }), C.type === "password" && z();
9688
+ }), C.type === "password" && K();
9687
9689
  }
9688
- function z() {
9690
+ function K() {
9689
9691
  i.value = i.value === "password" ? "text" : "password";
9690
9692
  }
9691
9693
  function I() {
@@ -9708,7 +9710,7 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9708
9710
  i.value === "number" ? +O : O
9709
9711
  );
9710
9712
  }
9711
- ), (O, N) => (m(), r("div", b3, [
9713
+ ), (O, N) => (m(), Z("div", B3, [
9712
9714
  C.label ? (m(), _(r2, {
9713
9715
  key: 0,
9714
9716
  id: `${C.id}-label`,
@@ -9716,18 +9718,18 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9716
9718
  for: C.id,
9717
9719
  text: C.label,
9718
9720
  onClick: I
9719
- }, null, 8, ["id", "for", "text"])) : c("", !0),
9720
- S("div", w3, [
9721
+ }, null, 8, ["id", "for", "text"])) : p("", !0),
9722
+ S("div", b3, [
9721
9723
  S("div", {
9722
- class: p(a.value)
9724
+ class: c(a.value)
9723
9725
  }, [
9724
9726
  f(O.$slots, "prepend"),
9725
- k.value && !O.$slots.prepend ? (m(), _(D, {
9727
+ k.value && !O.$slots.prepend ? (m(), _(x, {
9726
9728
  key: 0,
9727
- class: p(Z.value),
9729
+ class: c(u.value),
9728
9730
  name: k.value,
9729
9731
  size: 20
9730
- }, null, 8, ["class", "name"])) : c("", !0),
9732
+ }, null, 8, ["class", "name"])) : p("", !0),
9731
9733
  S("input", {
9732
9734
  id: C.id,
9733
9735
  ref_key: "inputRef",
@@ -9743,27 +9745,27 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9743
9745
  onBlur: v,
9744
9746
  onFocus: P,
9745
9747
  onInput: R
9746
- }, null, 40, y3),
9747
- o.value ? c("", !0) : f(O.$slots, "append", { key: 1 }),
9748
- y.value && !O.$slots.append || o.value ? (m(), _(D, {
9748
+ }, null, 40, w3),
9749
+ o.value ? p("", !0) : f(O.$slots, "append", { key: 1 }),
9750
+ y.value && !O.$slots.append || o.value ? (m(), _(x, {
9749
9751
  key: 2,
9750
- class: p(B.value),
9752
+ class: c(b.value),
9751
9753
  name: `${y.value}`,
9752
9754
  size: 20,
9753
9755
  onClick: F
9754
- }, null, 8, ["class", "name"])) : c("", !0)
9756
+ }, null, 8, ["class", "name"])) : p("", !0)
9755
9757
  ], 2),
9756
- C.hideDetails ? c("", !0) : (m(), r("div", P3, [
9757
- C.errorMsg ? (m(), r("p", v3, w(C.errorMsg), 1)) : c("", !0),
9758
- !C.errorMsg && C.hint ? (m(), r("p", T3, w(C.hint), 1)) : c("", !0)
9758
+ C.hideDetails ? p("", !0) : (m(), Z("div", y3, [
9759
+ C.errorMsg ? (m(), Z("p", P3, w(C.errorMsg), 1)) : p("", !0),
9760
+ !C.errorMsg && C.hint ? (m(), Z("p", v3, w(C.hint), 1)) : p("", !0)
9759
9761
  ]))
9760
9762
  ])
9761
9763
  ]));
9762
9764
  }
9763
- }), F3 = { class: "r-breadcrumb" }, R3 = {
9765
+ }), T3 = { class: "r-breadcrumb" }, F3 = {
9764
9766
  key: 0,
9765
9767
  class: "r-breadcrumb__title"
9766
- }, S0 = /* @__PURE__ */ T({
9768
+ }, u0 = /* @__PURE__ */ T({
9767
9769
  __name: "RBreadcrumb",
9768
9770
  props: {
9769
9771
  items: { default: () => [] },
@@ -9773,68 +9775,68 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9773
9775
  const V = H;
9774
9776
  return (C, M) => {
9775
9777
  const A = h2("router-link");
9776
- return m(), r("div", F3, [
9777
- (m(!0), r(L1, null, A1(V.items, (L, i) => (m(), r("div", {
9778
+ return m(), Z("div", T3, [
9779
+ (m(!0), Z(i1, null, o1(V.items, (L, i) => (m(), Z("div", {
9778
9780
  key: i,
9779
9781
  class: "r-breadcrumb__item"
9780
9782
  }, [
9781
- K(A, {
9783
+ U(A, {
9782
9784
  class: "r-breadcrumb__link",
9783
9785
  to: L.to
9784
9786
  }, {
9785
9787
  default: n1(() => [
9786
9788
  f(C.$slots, "item-icon", {}, () => [
9787
- L.icon ? (m(), _(D, {
9789
+ L.icon ? (m(), _(x, {
9788
9790
  key: 0,
9789
9791
  name: L.icon
9790
- }, null, 8, ["name"])) : c("", !0)
9792
+ }, null, 8, ["name"])) : p("", !0)
9791
9793
  ]),
9792
- L.onlyIcon ? c("", !0) : (m(), r("span", R3, w(L.title), 1))
9794
+ L.onlyIcon ? p("", !0) : (m(), Z("span", F3, w(L.title), 1))
9793
9795
  ]),
9794
9796
  _: 2
9795
9797
  }, 1032, ["to"]),
9796
9798
  f(C.$slots, "custom-seperator", {}, () => [
9797
- i !== C.items.length - 1 && V.seperator ? (m(), _(D, {
9799
+ i !== C.items.length - 1 && V.seperator ? (m(), _(x, {
9798
9800
  key: 0,
9799
9801
  class: "r-breadcrumb__separator",
9800
9802
  name: V.seperator
9801
- }, null, 8, ["name"])) : c("", !0)
9803
+ }, null, 8, ["name"])) : p("", !0)
9802
9804
  ])
9803
9805
  ]))), 128))
9804
9806
  ]);
9805
9807
  };
9806
9808
  }
9807
- }), x3 = { class: "r-pagination__paginator" }, D3 = { class: "r-pagination__paginator__per-page" }, _3 = { class: "r-pagination__paginator__info" }, E3 = ["disabled"], W3 = /* @__PURE__ */ S("path", {
9809
+ }), R3 = { class: "r-pagination__paginator" }, x3 = { class: "r-pagination__paginator__per-page" }, D3 = { class: "r-pagination__paginator__info" }, _3 = ["disabled"], E3 = /* @__PURE__ */ S("path", {
9808
9810
  d: "M0 0h24v24H0z",
9809
9811
  fill: "none",
9810
9812
  stroke: "none"
9811
- }, null, -1), N3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), I3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), Q3 = [
9813
+ }, null, -1), W3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), N3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), I3 = [
9814
+ E3,
9812
9815
  W3,
9813
- N3,
9814
- I3
9815
- ], G3 = ["disabled"], $3 = /* @__PURE__ */ S("path", {
9816
+ N3
9817
+ ], Q3 = ["disabled"], G3 = /* @__PURE__ */ S("path", {
9816
9818
  d: "M0 0h24v24H0z",
9817
9819
  fill: "none",
9818
9820
  stroke: "none"
9819
- }, null, -1), U3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), z3 = [
9820
- $3,
9821
- U3
9822
- ], K3 = ["disabled"], q3 = /* @__PURE__ */ S("path", {
9821
+ }, null, -1), $3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), U3 = [
9822
+ G3,
9823
+ $3
9824
+ ], z3 = ["disabled"], K3 = /* @__PURE__ */ S("path", {
9823
9825
  d: "M0 0h24v24H0z",
9824
9826
  fill: "none",
9825
9827
  stroke: "none"
9826
- }, null, -1), j3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), X3 = [
9827
- q3,
9828
- j3
9829
- ], Y3 = ["disabled"], J3 = /* @__PURE__ */ S("path", {
9828
+ }, null, -1), q3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), j3 = [
9829
+ K3,
9830
+ q3
9831
+ ], X3 = ["disabled"], Y3 = /* @__PURE__ */ S("path", {
9830
9832
  d: "M0 0h24v24H0z",
9831
9833
  fill: "none",
9832
9834
  stroke: "none"
9833
- }, null, -1), C0 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), H0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), V0 = [
9835
+ }, null, -1), J3 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), C0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), H0 = [
9836
+ Y3,
9834
9837
  J3,
9835
- C0,
9836
- H0
9837
- ], s0 = /* @__PURE__ */ T({
9838
+ C0
9839
+ ], S0 = /* @__PURE__ */ T({
9838
9840
  __name: "RPagination",
9839
9841
  props: {
9840
9842
  page: { default: 1 },
@@ -9854,23 +9856,23 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9854
9856
  G(() => i.value, () => {
9855
9857
  M("update:info", i.value);
9856
9858
  });
9857
- function e(d) {
9858
- d < 1 || d > L.value || M("update:page", d);
9859
+ function e(t) {
9860
+ t < 1 || t > L.value || M("update:page", t);
9859
9861
  }
9860
- function t({ value: d }) {
9861
- M("update:perPage", d);
9862
+ function d({ value: t }) {
9863
+ M("update:perPage", t);
9862
9864
  }
9863
- return (d, l) => (m(), r("div", {
9864
- class: p(["r-pagination", [`r-pagination--${C.position}`]])
9865
+ return (t, l) => (m(), Z("div", {
9866
+ class: c(["r-pagination", [`r-pagination--${C.position}`]])
9865
9867
  }, [
9866
- S("div", x3, [
9867
- S("div", D3, [
9868
+ S("div", R3, [
9869
+ S("div", x3, [
9868
9870
  S("span", null, w(C.itemsPerPageText), 1),
9869
- K(J5, {
9871
+ U(Y5, {
9870
9872
  modelValue: A.value,
9871
9873
  "onUpdate:modelValue": [
9872
9874
  l[0] || (l[0] = (o) => A.value = o),
9873
- t
9875
+ d
9874
9876
  ],
9875
9877
  class: "w-24",
9876
9878
  "hide-details": "",
@@ -9878,15 +9880,15 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9878
9880
  options: C.perPageOptions
9879
9881
  }, null, 8, ["modelValue", "options"])
9880
9882
  ]),
9881
- S("span", _3, w(C.infoText), 1),
9883
+ S("span", D3, w(C.infoText), 1),
9882
9884
  S("button", {
9883
9885
  class: "r-pagination__paginator__first",
9884
9886
  disabled: C.page === 1,
9885
9887
  onClick: l[1] || (l[1] = (o) => e(1))
9886
9888
  }, [
9887
- f(d.$slots, "first", {}, () => [
9888
- (m(), r("svg", {
9889
- class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9889
+ f(t.$slots, "first", {}, () => [
9890
+ (m(), Z("svg", {
9891
+ class: c(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": C.page === 1 }]),
9890
9892
  fill: "none",
9891
9893
  height: "20",
9892
9894
  stroke: "#000000",
@@ -9896,17 +9898,17 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9896
9898
  viewBox: "0 0 24 24",
9897
9899
  width: "20",
9898
9900
  xmlns: "http://www.w3.org/2000/svg"
9899
- }, Q3, 2))
9901
+ }, I3, 2))
9900
9902
  ])
9901
- ], 8, E3),
9903
+ ], 8, _3),
9902
9904
  S("button", {
9903
9905
  class: "r-pagination__paginator__prev",
9904
9906
  disabled: C.page === 1,
9905
9907
  onClick: l[2] || (l[2] = (o) => e(+C.page - 1))
9906
9908
  }, [
9907
- f(d.$slots, "prev", {}, () => [
9908
- (m(), r("svg", {
9909
- class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9909
+ f(t.$slots, "prev", {}, () => [
9910
+ (m(), Z("svg", {
9911
+ class: c(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": C.page === 1 }]),
9910
9912
  fill: "none",
9911
9913
  height: "20",
9912
9914
  stroke: "#000000",
@@ -9916,17 +9918,17 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9916
9918
  viewBox: "0 0 24 24",
9917
9919
  width: "20",
9918
9920
  xmlns: "http://www.w3.org/2000/svg"
9919
- }, z3, 2))
9921
+ }, U3, 2))
9920
9922
  ])
9921
- ], 8, G3),
9923
+ ], 8, Q3),
9922
9924
  S("button", {
9923
9925
  class: "r-pagination__paginator__next",
9924
9926
  disabled: C.page === L.value,
9925
9927
  onClick: l[3] || (l[3] = (o) => e(+C.page + 1))
9926
9928
  }, [
9927
- f(d.$slots, "next", {}, () => [
9928
- (m(), r("svg", {
9929
- class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9929
+ f(t.$slots, "next", {}, () => [
9930
+ (m(), Z("svg", {
9931
+ class: c(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": C.page === L.value }]),
9930
9932
  fill: "none",
9931
9933
  height: "20",
9932
9934
  stroke: "#000000",
@@ -9936,17 +9938,17 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9936
9938
  viewBox: "0 0 24 24",
9937
9939
  width: "20",
9938
9940
  xmlns: "http://www.w3.org/2000/svg"
9939
- }, X3, 2))
9941
+ }, j3, 2))
9940
9942
  ])
9941
- ], 8, K3),
9943
+ ], 8, z3),
9942
9944
  S("button", {
9943
9945
  class: "r-pagination__paginator__last",
9944
9946
  disabled: C.page === L.value,
9945
9947
  onClick: l[4] || (l[4] = (o) => e(C.totalItems / C.perPage))
9946
9948
  }, [
9947
- f(d.$slots, "last", {}, () => [
9948
- (m(), r("svg", {
9949
- class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9949
+ f(t.$slots, "last", {}, () => [
9950
+ (m(), Z("svg", {
9951
+ class: c(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": C.page === L.value }]),
9950
9952
  fill: "none",
9951
9953
  height: "20",
9952
9954
  stroke: "#000000",
@@ -9956,13 +9958,13 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9956
9958
  viewBox: "0 0 24 24",
9957
9959
  width: "20",
9958
9960
  xmlns: "http://www.w3.org/2000/svg"
9959
- }, V0, 2))
9961
+ }, H0, 2))
9960
9962
  ])
9961
- ], 8, Y3)
9963
+ ], 8, X3)
9962
9964
  ])
9963
9965
  ], 2));
9964
9966
  }
9965
- }), L0 = ["value"], c0 = /* @__PURE__ */ T({
9967
+ }), V0 = ["value"], s0 = /* @__PURE__ */ T({
9966
9968
  __name: "RProgressbar",
9967
9969
  props: {
9968
9970
  value: { default: 0 },
@@ -9970,16 +9972,16 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9970
9972
  },
9971
9973
  setup(H) {
9972
9974
  const V = H;
9973
- return (C, M) => (m(), r("progress", {
9975
+ return (C, M) => (m(), Z("progress", {
9974
9976
  "aria-valuemax": 100,
9975
9977
  class: "r-progressbar",
9976
9978
  max: 100,
9977
9979
  role: "progressbar",
9978
9980
  style: x1({ height: `${V.height}px` }),
9979
9981
  value: V.value
9980
- }, null, 12, L0));
9982
+ }, null, 12, V0));
9981
9983
  }
9982
- }), O1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
9984
+ }), O1 = "rocket-ui:r-item-group", c0 = /* @__PURE__ */ T({
9983
9985
  __name: "RItemGroup",
9984
9986
  props: {
9985
9987
  modelValue: { default: () => [] },
@@ -9998,27 +10000,27 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
9998
10000
  return L.value.includes(l);
9999
10001
  }
10000
10002
  s1(`${O1}:isSelected`, e);
10001
- function t(l, o) {
10002
- C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((n) => n !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
10003
+ function d(l, o) {
10004
+ C.disabled || C.mandatory && L.value.length === 1 && !o || C.max && L.value.length === C.max && o || (C.multiple ? o ? L.value.push(l) : L.value = L.value.filter((r) => r !== l) : L.value = l ? [l] : [], M("update:modelValue", L.value));
10003
10005
  }
10004
- s1(`${O1}:select`, t);
10005
- function d() {
10006
+ s1(`${O1}:select`, d);
10007
+ function t() {
10006
10008
  return C.disabled;
10007
10009
  }
10008
- return s1(`${O1}:isDisabled`, d), G(() => C.modelValue, () => {
10010
+ return s1(`${O1}:isDisabled`, t), G(() => C.modelValue, () => {
10009
10011
  L.value = C.modelValue;
10010
10012
  }), (l, o) => (m(), _(g2(A.value), null, {
10011
10013
  default: n1(() => [
10012
10014
  f(l.$slots, "default", {
10013
10015
  isSelected: e,
10014
- select: t,
10016
+ select: d,
10015
10017
  selected: L.value
10016
10018
  })
10017
10019
  ]),
10018
10020
  _: 3
10019
10021
  }));
10020
10022
  }
10021
- }), p1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ T({
10023
+ }), p1 = "rocket-ui:r-item-group", O0 = /* @__PURE__ */ T({
10022
10024
  __name: "RItem",
10023
10025
  props: {
10024
10026
  value: { default: null },
@@ -10029,41 +10031,41 @@ const c3 = ["aria-disabled", "aria-selected", "disabled"], O3 = {
10029
10031
  function e() {
10030
10032
  V.disabled || A(V.value, !C(V.value));
10031
10033
  }
10032
- function t() {
10034
+ function d() {
10033
10035
  V.disabled || A(V.value, !0);
10034
10036
  }
10035
- return (d, l) => f(d.$slots, "default", {
10037
+ return (t, l) => f(t.$slots, "default", {
10036
10038
  disabled: V1(L)(V.value),
10037
10039
  isSelected: V1(C)(V.value),
10038
- select: t,
10040
+ select: d,
10039
10041
  selectedClass: i.value,
10040
10042
  toggle: e
10041
10043
  });
10042
10044
  }
10043
10045
  });
10044
10046
  export {
10045
- A0 as RAccordion,
10046
- i0 as RAlert,
10047
- e0 as RAvatar,
10048
- d0 as RBadge,
10049
- S0 as RBreadcrumb,
10050
- t0 as RButton,
10051
- m0 as RCheckbox,
10052
- J2 as RChip,
10053
- J5 as RDropdown,
10054
- D as RIcon,
10055
- p0 as RItem,
10056
- O0 as RItemGroup,
10047
+ M0 as RAccordion,
10048
+ A0 as RAlert,
10049
+ i0 as RAvatar,
10050
+ e0 as RBadge,
10051
+ u0 as RBreadcrumb,
10052
+ d0 as RButton,
10053
+ t0 as RCheckbox,
10054
+ Y2 as RChip,
10055
+ Y5 as RDropdown,
10056
+ x as RIcon,
10057
+ O0 as RItem,
10058
+ c0 as RItemGroup,
10057
10059
  r2 as RLabel,
10058
- l0 as RModal,
10059
- s0 as RPagination,
10060
- c0 as RProgressbar,
10061
- o0 as RSidebar,
10062
- n0 as RSnackbar,
10063
- r0 as RSwitch,
10064
- p3 as RTabItem,
10065
- a0 as RTabs,
10066
- Z0 as RTextArea,
10067
- u0 as RTextfield,
10068
- N5 as RTooltip
10060
+ m0 as RModal,
10061
+ S0 as RPagination,
10062
+ s0 as RProgressbar,
10063
+ l0 as RSidebar,
10064
+ o0 as RSnackbar,
10065
+ n0 as RSwitch,
10066
+ O3 as RTabItem,
10067
+ r0 as RTabs,
10068
+ a0 as RTextArea,
10069
+ Z0 as RTextfield,
10070
+ W5 as RTooltip
10069
10071
  };