@rocketui/vue 0.0.100 → 0.0.101

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 n, createElementVNode as S, unref as M1, reactive as t1, Fragment as V1, renderList as A1, normalizeClass as p, renderSlot as h, toDisplayString as b, createVNode as q, computed as k, createCommentVNode as O, mergeProps as a2, createBlock as x, watch as G, getCurrentScope as Z2, onScopeDispose as u2, ref as E, watchEffect as S2, onMounted as q1, Teleport as s2, withCtx as n1, withDirectives as Y1, withKeys as W1, vModelText as c2, withModifiers as r1, createTextVNode as R1, normalizeStyle as x1, vShow as O2, Transition as p2, resolveComponent as f2, provide as k1, resolveDynamicComponent as h2, inject as B1 } from "vue";
1
+ import { defineComponent as v, openBlock as m, createElementBlock as o, createElementVNode as S, unref as L1, reactive as d1, Fragment as H1, renderList as M1, normalizeClass as p, renderSlot as f, toDisplayString as y, createVNode as j, computed as k, createCommentVNode as O, mergeProps as a2, createBlock as F, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as _, watchEffect as S2, onMounted as q1, Teleport as s2, withCtx as n1, withDirectives as Y1, withKeys as W1, vModelText as c2, withModifiers as r1, createTextVNode as R1, normalizeStyle as x1, vShow as O2, Transition as p2, resolveComponent as f2, provide as k1, resolveDynamicComponent as h2, inject as B1 } from "vue";
2
2
  const g2 = {
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 g2 = {
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
- }, k2 = ["height", "viewBox", "width"], B2 = ["d"], D = /* @__PURE__ */ T({
7299
+ }, k2 = ["height", "viewBox", "width"], B2 = ["d"], R = /* @__PURE__ */ v({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,25 +7305,25 @@ const g2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), n("svg", {
7308
+ return (C, M) => (m(), o("svg", {
7309
7309
  class: "r-icon",
7310
7310
  height: V.size,
7311
7311
  viewBox: V.viewBox,
7312
7312
  width: V.size
7313
7313
  }, [
7314
7314
  S("path", {
7315
- d: M1(g2)[V.name]
7315
+ d: L1(g2)[V.name]
7316
7316
  }, null, 8, B2)
7317
7317
  ], 8, k2));
7318
7318
  }
7319
7319
  });
7320
- const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title" }, P2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, q3 = /* @__PURE__ */ T({
7320
+ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title" }, P2 = { class: "r-accordion__icon" }, T2 = { class: "r-accordion__content" }, q3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: {}
7324
7324
  },
7325
7325
  setup(H) {
7326
- const V = H, C = t1(
7326
+ const V = H, C = d1(
7327
7327
  V.accordions.map(({ title: A, content: L }, i) => ({
7328
7328
  title: A,
7329
7329
  content: L,
@@ -7336,7 +7336,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7336
7336
  C[i].open = i === A ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (A, L) => (m(!0), n(V1, null, A1(C, (i, e) => (m(), n("div", {
7339
+ return (A, L) => (m(!0), o(H1, null, M1(C, (i, e) => (m(), o("div", {
7340
7340
  key: e,
7341
7341
  class: p(["r-accordion", {
7342
7342
  "r-accordion--disabled": i.disabled
@@ -7347,16 +7347,16 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7347
7347
  class: "r-accordion__header",
7348
7348
  onClick: (d) => M(e)
7349
7349
  }, [
7350
- h(A.$slots, "title", {}, () => [
7351
- S("div", y2, b(i.title), 1)
7350
+ f(A.$slots, "title", {}, () => [
7351
+ S("div", y2, y(i.title), 1)
7352
7352
  ]),
7353
7353
  S("div", P2, [
7354
- q(D, { name: "mdiChevronUp" })
7354
+ j(R, { name: "mdiChevronUp" })
7355
7355
  ])
7356
7356
  ], 8, w2),
7357
7357
  S("div", T2, [
7358
- h(A.$slots, "content", {}, () => [
7359
- S("span", null, b(i.content), 1)
7358
+ f(A.$slots, "content", {}, () => [
7359
+ S("span", null, y(i.content), 1)
7360
7360
  ])
7361
7361
  ])
7362
7362
  ], 10, b2))), 128));
@@ -7367,7 +7367,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7367
7367
  }, D2 = {
7368
7368
  key: 0,
7369
7369
  class: "r-alert__close"
7370
- }, Y3 = /* @__PURE__ */ T({
7370
+ }, Y3 = /* @__PURE__ */ v({
7371
7371
  __name: "RAlert",
7372
7372
  props: {
7373
7373
  type: { default: "info" },
@@ -7393,26 +7393,26 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7393
7393
  function i() {
7394
7394
  M("close");
7395
7395
  }
7396
- return (e, d) => (m(), n("div", {
7396
+ return (e, d) => (m(), o("div", {
7397
7397
  class: p(A.value)
7398
7398
  }, [
7399
7399
  S("div", v2, [
7400
- h(e.$slots, "alert-icon", {}, () => [
7401
- q(D, {
7400
+ f(e.$slots, "alert-icon", {}, () => [
7401
+ j(R, {
7402
7402
  name: L.value,
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
7407
  S("div", F2, [
7408
- h(e.$slots, "content", {}, () => [
7409
- S("p", R2, b(C.title), 1),
7410
- C.description ? (m(), n("p", x2, b(C.description), 1)) : O("", !0)
7408
+ f(e.$slots, "content", {}, () => [
7409
+ S("p", R2, y(C.title), 1),
7410
+ C.description ? (m(), o("p", x2, y(C.description), 1)) : O("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
- C.closable ? (m(), n("div", D2, [
7414
- h(e.$slots, "custom-close", {}, () => [
7415
- q(D, {
7413
+ C.closable ? (m(), o("div", D2, [
7414
+ f(e.$slots, "custom-close", {}, () => [
7415
+ j(R, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
@@ -7422,7 +7422,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7422
7422
  ])) : O("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), I1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", _2 = { class: "r-avatar__wrapper" }, E2 = ["alt", "src"], X3 = /* @__PURE__ */ T({
7425
+ }), I1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", _2 = { class: "r-avatar__wrapper" }, E2 = ["alt", "src"], X3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
@@ -7441,14 +7441,14 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7441
7441
  const e = i.split(" ");
7442
7442
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7443
7443
  }
7444
- return (i, e) => (m(), n("div", _2, [
7444
+ return (i, e) => (m(), o("div", _2, [
7445
7445
  S("div", {
7446
7446
  class: p(C.value)
7447
7447
  }, [
7448
- V.type === "text" ? (m(), n("p", {
7448
+ V.type === "text" ? (m(), o("p", {
7449
7449
  key: 0,
7450
7450
  class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7451
- }, b(L(V.text)), 3)) : (m(), n("img", {
7451
+ }, y(L(V.text)), 3)) : (m(), o("img", {
7452
7452
  key: 1,
7453
7453
  alt: V.alt,
7454
7454
  class: p(["r-avatar__image", {
@@ -7458,7 +7458,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7458
7458
  src: A.value
7459
7459
  }, null, 10, E2))
7460
7460
  ], 2),
7461
- V.online ? (m(), n("span", {
7461
+ V.online ? (m(), o("span", {
7462
7462
  key: 0,
7463
7463
  class: p(["r-avatar__online", {
7464
7464
  [`r-avatar__online--${V.size}`]: !0
@@ -7466,7 +7466,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7466
7466
  }, null, 2)) : O("", !0)
7467
7467
  ]));
7468
7468
  }
7469
- }), N2 = { class: "r-badge-wrapper group" }, J3 = /* @__PURE__ */ T({
7469
+ }), N2 = { class: "r-badge-wrapper group" }, J3 = /* @__PURE__ */ v({
7470
7470
  __name: "RBadge",
7471
7471
  props: {
7472
7472
  variant: { default: "primary" },
@@ -7489,17 +7489,17 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7489
7489
  [`r-badge--${V.variant}`]: V.variant,
7490
7490
  [V.class]: V.class
7491
7491
  }));
7492
- return (M, A) => (m(), n("div", N2, [
7492
+ return (M, A) => (m(), o("div", N2, [
7493
7493
  S("span", {
7494
7494
  class: p([{ "animate-ping-2": V.animation }, C.value])
7495
7495
  }, null, 2),
7496
7496
  S("span", {
7497
7497
  class: p(C.value)
7498
7498
  }, null, 2),
7499
- h(M.$slots, "default")
7499
+ f(M.$slots, "default")
7500
7500
  ]));
7501
7501
  }
7502
- }), W2 = ["disabled"], C0 = /* @__PURE__ */ T({
7502
+ }), W2 = ["disabled"], C0 = /* @__PURE__ */ v({
7503
7503
  __name: "RButton",
7504
7504
  props: {
7505
7505
  variant: { default: "default" },
@@ -7530,14 +7530,14 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7530
7530
  })[V.size || "medium"]), A = k(() => ({
7531
7531
  height: V.height ? `${V.height}px` : ""
7532
7532
  }));
7533
- return (L, i) => (m(), n("button", a2(L.$attrs, {
7533
+ return (L, i) => (m(), o("button", a2(L.$attrs, {
7534
7534
  class: C.value,
7535
7535
  disabled: L.disabled,
7536
7536
  style: A.value,
7537
7537
  onClick: i[0] || (i[0] = (e) => L.$emit("click"))
7538
7538
  }), [
7539
- h(L.$slots, "prepend", {}, () => [
7540
- V.prependIcon ? (m(), x(D, {
7539
+ f(L.$slots, "prepend", {}, () => [
7540
+ V.prependIcon ? (m(), F(R, {
7541
7541
  key: 0,
7542
7542
  class: p(["r-button__prepend-icon", {
7543
7543
  "r-button__prepend-icon--only": V.icon
@@ -7546,9 +7546,9 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7546
7546
  size: M.value
7547
7547
  }, null, 8, ["class", "name", "size"])) : O("", !0)
7548
7548
  ]),
7549
- h(L.$slots, "default"),
7550
- h(L.$slots, "append", {}, () => [
7551
- !V.icon && V.appendIcon ? (m(), x(D, {
7549
+ f(L.$slots, "default"),
7550
+ f(L.$slots, "append", {}, () => [
7551
+ !V.icon && V.appendIcon ? (m(), F(R, {
7552
7552
  key: 0,
7553
7553
  class: "r-button__append-icon",
7554
7554
  name: V.appendIcon,
@@ -7566,7 +7566,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7566
7566
  }, q2 = {
7567
7567
  key: 1,
7568
7568
  class: "r-checkbox-texts__hint"
7569
- }, H0 = /* @__PURE__ */ T({
7569
+ }, H0 = /* @__PURE__ */ v({
7570
7570
  __name: "RCheckbox",
7571
7571
  props: {
7572
7572
  id: { default: "" },
@@ -7580,7 +7580,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7580
7580
  },
7581
7581
  emits: ["update:modelValue"],
7582
7582
  setup(H, { emit: V }) {
7583
- const C = H, M = V, A = t1({
7583
+ const C = H, M = V, A = d1({
7584
7584
  checked: !1,
7585
7585
  indeterminate: !1
7586
7586
  }), L = {
@@ -7597,7 +7597,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7597
7597
  function d(t) {
7598
7598
  C.disabled || (A.checked = t.target.checked, A.indeterminate = !1, M("update:modelValue", A.checked));
7599
7599
  }
7600
- return G(
7600
+ return Q(
7601
7601
  () => C.indeterminate,
7602
7602
  (t) => {
7603
7603
  A.indeterminate = t, t === !0 && (A.checked = !1, M("update:modelValue", A.checked));
@@ -7607,7 +7607,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7607
7607
  // TODO: find a better way to do this
7608
7608
  immediate: !0
7609
7609
  }
7610
- ), G(
7610
+ ), Q(
7611
7611
  () => C.modelValue,
7612
7612
  (t) => {
7613
7613
  A.checked = t;
@@ -7617,7 +7617,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7617
7617
  // TODO: find a better way to do this
7618
7618
  immediate: !0
7619
7619
  }
7620
- ), (t, u) => (m(), n("div", I2, [
7620
+ ), (t, Z) => (m(), o("div", I2, [
7621
7621
  S("div", Q2, [
7622
7622
  S("input", {
7623
7623
  id: C.id,
@@ -7632,7 +7632,7 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7632
7632
  class: p(e.value),
7633
7633
  "data-disabled": C.disabled
7634
7634
  }, [
7635
- q(D, {
7635
+ j(R, {
7636
7636
  name: i.value,
7637
7637
  size: 24
7638
7638
  }, null, 8, ["name"])
@@ -7643,14 +7643,14 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7643
7643
  class: "r-checkbox-texts__label",
7644
7644
  "data-disabled": C.disabled,
7645
7645
  for: C.id
7646
- }, b(C.label), 9, $2),
7647
- C.hideDetails ? O("", !0) : (m(), n("div", K2, [
7648
- C.errorMsg ? (m(), n("p", j2, b(C.errorMsg), 1)) : (m(), n("p", q2, b(C.hint), 1))
7646
+ }, y(C.label), 9, $2),
7647
+ C.hideDetails ? O("", !0) : (m(), o("div", K2, [
7648
+ C.errorMsg ? (m(), o("p", j2, y(C.errorMsg), 1)) : (m(), o("p", q2, y(C.hint), 1))
7649
7649
  ]))
7650
7650
  ])
7651
7651
  ]));
7652
7652
  }
7653
- }), Y2 = { class: "r-chip__content__label" }, X2 = /* @__PURE__ */ T({
7653
+ }), Y2 = { class: "r-chip__content__label" }, X2 = /* @__PURE__ */ v({
7654
7654
  __name: "RChip",
7655
7655
  props: {
7656
7656
  variant: { default: "primary" },
@@ -7676,15 +7676,15 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7676
7676
  function i(e) {
7677
7677
  C.disabled || !C.closable || (e.stopPropagation(), M("click:close", e));
7678
7678
  }
7679
- return (e, d) => (m(), n("div", {
7679
+ return (e, d) => (m(), o("div", {
7680
7680
  class: p(A.value)
7681
7681
  }, [
7682
7682
  S("div", {
7683
7683
  class: "r-chip__content",
7684
7684
  onClick: d[0] || (d[0] = (t) => L(t))
7685
7685
  }, [
7686
- h(e.$slots, "prepend", {}, () => [
7687
- C.prependIcon ? (m(), x(D, {
7686
+ f(e.$slots, "prepend", {}, () => [
7687
+ C.prependIcon ? (m(), F(R, {
7688
7688
  key: 0,
7689
7689
  "aria-disabled": C.disabled,
7690
7690
  class: "r-chip__content__prepend-icon",
@@ -7692,10 +7692,10 @@ const b2 = ["data-state"], w2 = ["onClick"], y2 = { class: "r-accordion__title"
7692
7692
  size: 12
7693
7693
  }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7694
7694
  ]),
7695
- S("span", Y2, b(C.label), 1)
7695
+ S("span", Y2, y(C.label), 1)
7696
7696
  ]),
7697
- h(e.$slots, "append", {}, () => [
7698
- C.appendIcon ? (m(), x(D, {
7697
+ f(e.$slots, "append", {}, () => [
7698
+ C.appendIcon ? (m(), F(R, {
7699
7699
  key: 0,
7700
7700
  "aria-disabled": C.disabled,
7701
7701
  class: "r-chip__content__append-icon",
@@ -7711,7 +7711,7 @@ function J2(H) {
7711
7711
  return Z2() ? (u2(H), !0) : !1;
7712
7712
  }
7713
7713
  function X1(H) {
7714
- return typeof H == "function" ? H() : M1(H);
7714
+ return typeof H == "function" ? H() : L1(H);
7715
7715
  }
7716
7716
  const J1 = typeof window < "u" && typeof document < "u", C5 = Object.prototype.toString, H5 = (H) => C5.call(H) === "[object Object]", P1 = () => {
7717
7717
  }, V5 = /* @__PURE__ */ L5();
@@ -7731,15 +7731,15 @@ function b1(...H) {
7731
7731
  return P1;
7732
7732
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7733
7733
  const L = [], i = () => {
7734
- L.forEach((u) => u()), L.length = 0;
7735
- }, e = (u, r, a, o) => (u.addEventListener(r, a, o), () => u.removeEventListener(r, a, o)), d = G(
7734
+ L.forEach((Z) => Z()), L.length = 0;
7735
+ }, e = (Z, r, n, l) => (Z.addEventListener(r, n, l), () => Z.removeEventListener(r, n, l)), d = Q(
7736
7736
  () => [l1(V), X1(A)],
7737
- ([u, r]) => {
7738
- if (i(), !u)
7737
+ ([Z, r]) => {
7738
+ if (i(), !Z)
7739
7739
  return;
7740
- const a = H5(r) ? { ...r } : r;
7740
+ const n = H5(r) ? { ...r } : r;
7741
7741
  L.push(
7742
- ...C.flatMap((o) => M.map((Z) => e(u, o, Z, a)))
7742
+ ...C.flatMap((l) => M.map((a) => e(Z, l, a, n)))
7743
7743
  );
7744
7744
  },
7745
7745
  { immediate: !0, flush: "post" }
@@ -7753,41 +7753,41 @@ function M5(H, V, C = {}) {
7753
7753
  const { window: M = C2, ignore: A = [], capture: L = !0, detectIframe: i = !1 } = C;
7754
7754
  if (!M)
7755
7755
  return;
7756
- V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((a) => a.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7756
+ V5 && !Q1 && (Q1 = !0, Array.from(M.document.body.children).forEach((n) => n.addEventListener("click", P1)), M.document.documentElement.addEventListener("click", P1));
7757
7757
  let e = !0;
7758
- const d = (a) => A.some((o) => {
7759
- if (typeof o == "string")
7760
- return Array.from(M.document.querySelectorAll(o)).some((Z) => Z === a.target || a.composedPath().includes(Z));
7758
+ const d = (n) => A.some((l) => {
7759
+ if (typeof l == "string")
7760
+ return Array.from(M.document.querySelectorAll(l)).some((a) => a === n.target || n.composedPath().includes(a));
7761
7761
  {
7762
- const Z = l1(o);
7763
- return Z && (a.target === Z || a.composedPath().includes(Z));
7762
+ const a = l1(l);
7763
+ return a && (n.target === a || n.composedPath().includes(a));
7764
7764
  }
7765
- }), u = [
7766
- b1(M, "click", (a) => {
7767
- const o = l1(H);
7768
- if (!(!o || o === a.target || a.composedPath().includes(o))) {
7769
- if (a.detail === 0 && (e = !d(a)), !e) {
7765
+ }), Z = [
7766
+ b1(M, "click", (n) => {
7767
+ const l = l1(H);
7768
+ if (!(!l || l === n.target || n.composedPath().includes(l))) {
7769
+ if (n.detail === 0 && (e = !d(n)), !e) {
7770
7770
  e = !0;
7771
7771
  return;
7772
7772
  }
7773
- V(a);
7773
+ V(n);
7774
7774
  }
7775
7775
  }, { passive: !0, capture: L }),
7776
- b1(M, "pointerdown", (a) => {
7777
- const o = l1(H);
7778
- o && (e = !a.composedPath().includes(o) && !d(a));
7776
+ b1(M, "pointerdown", (n) => {
7777
+ const l = l1(H);
7778
+ l && (e = !n.composedPath().includes(l) && !d(n));
7779
7779
  }, { passive: !0 }),
7780
- i && b1(M, "blur", (a) => {
7780
+ i && b1(M, "blur", (n) => {
7781
7781
  setTimeout(() => {
7782
- var o;
7783
- const Z = l1(H);
7784
- ((o = M.document.activeElement) == null ? void 0 : o.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(a);
7782
+ var l;
7783
+ const a = l1(H);
7784
+ ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(a != null && a.contains(M.document.activeElement)) && V(n);
7785
7785
  }, 0);
7786
7786
  })
7787
7787
  ].filter(Boolean);
7788
- return () => u.forEach((a) => a());
7788
+ return () => Z.forEach((n) => n());
7789
7789
  }
7790
- const A5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1 = Math.round, X = (H) => ({
7790
+ const A5 = ["top", "right", "bottom", "left"], a1 = Math.min, A1 = Math.max, s1 = Math.round, Y = (H) => ({
7791
7791
  x: H,
7792
7792
  y: H
7793
7793
  }), i5 = {
@@ -7800,12 +7800,12 @@ const A5 = ["top", "right", "bottom", "left"], a1 = Math.min, i1 = Math.max, s1
7800
7800
  end: "start"
7801
7801
  };
7802
7802
  function T1(H, V, C) {
7803
- return i1(H, a1(V, C));
7803
+ return A1(H, a1(V, C));
7804
7804
  }
7805
- function m1(H, V) {
7805
+ function t1(H, V) {
7806
7806
  return typeof H == "function" ? H(V) : H;
7807
7807
  }
7808
- function L1(H) {
7808
+ function V1(H) {
7809
7809
  return H.split("-")[0];
7810
7810
  }
7811
7811
  function u1(H) {
@@ -7818,7 +7818,7 @@ function D1(H) {
7818
7818
  return H === "y" ? "height" : "width";
7819
7819
  }
7820
7820
  function f1(H) {
7821
- return ["top", "bottom"].includes(L1(H)) ? "y" : "x";
7821
+ return ["top", "bottom"].includes(V1(H)) ? "y" : "x";
7822
7822
  }
7823
7823
  function _1(H) {
7824
7824
  return H2(f1(H));
@@ -7851,7 +7851,7 @@ function m5(H, V, C) {
7851
7851
  }
7852
7852
  function l5(H, V, C, M) {
7853
7853
  const A = u1(H);
7854
- let L = m5(L1(H), C === "start", M);
7854
+ let L = m5(V1(H), C === "start", M);
7855
7855
  return A && (L = L.map((i) => i + "-" + A), V && (L = L.concat(L.map(v1)))), L;
7856
7856
  }
7857
7857
  function c1(H) {
@@ -7888,48 +7888,48 @@ function G1(H, V, C) {
7888
7888
  reference: M,
7889
7889
  floating: A
7890
7890
  } = H;
7891
- const L = f1(V), i = _1(V), e = D1(i), d = L1(V), t = L === "y", u = M.x + M.width / 2 - A.width / 2, r = M.y + M.height / 2 - A.height / 2, a = M[e] / 2 - A[e] / 2;
7892
- let o;
7891
+ const L = f1(V), i = _1(V), e = D1(i), d = V1(V), t = L === "y", Z = M.x + M.width / 2 - A.width / 2, r = M.y + M.height / 2 - A.height / 2, n = M[e] / 2 - A[e] / 2;
7892
+ let l;
7893
7893
  switch (d) {
7894
7894
  case "top":
7895
- o = {
7896
- x: u,
7895
+ l = {
7896
+ x: Z,
7897
7897
  y: M.y - A.height
7898
7898
  };
7899
7899
  break;
7900
7900
  case "bottom":
7901
- o = {
7902
- x: u,
7901
+ l = {
7902
+ x: Z,
7903
7903
  y: M.y + M.height
7904
7904
  };
7905
7905
  break;
7906
7906
  case "right":
7907
- o = {
7907
+ l = {
7908
7908
  x: M.x + M.width,
7909
7909
  y: r
7910
7910
  };
7911
7911
  break;
7912
7912
  case "left":
7913
- o = {
7913
+ l = {
7914
7914
  x: M.x - A.width,
7915
7915
  y: r
7916
7916
  };
7917
7917
  break;
7918
7918
  default:
7919
- o = {
7919
+ l = {
7920
7920
  x: M.x,
7921
7921
  y: M.y
7922
7922
  };
7923
7923
  }
7924
7924
  switch (u1(V)) {
7925
7925
  case "start":
7926
- o[i] -= a * (C && t ? -1 : 1);
7926
+ l[i] -= n * (C && t ? -1 : 1);
7927
7927
  break;
7928
7928
  case "end":
7929
- o[i] += a * (C && t ? -1 : 1);
7929
+ l[i] += n * (C && t ? -1 : 1);
7930
7930
  break;
7931
7931
  }
7932
- return o;
7932
+ return l;
7933
7933
  }
7934
7934
  const n5 = async (H, V, C) => {
7935
7935
  const {
@@ -7943,25 +7943,25 @@ const n5 = async (H, V, C) => {
7943
7943
  floating: V,
7944
7944
  strategy: A
7945
7945
  }), {
7946
- x: u,
7946
+ x: Z,
7947
7947
  y: r
7948
- } = G1(t, M, d), a = M, o = {}, Z = 0;
7948
+ } = G1(t, M, d), n = M, l = {}, a = 0;
7949
7949
  for (let B = 0; B < e.length; B++) {
7950
7950
  const {
7951
7951
  name: g,
7952
- fn: w
7952
+ fn: b
7953
7953
  } = e[B], {
7954
- x: y,
7955
- y: P,
7956
- data: _,
7957
- reset: v
7958
- } = await w({
7959
- x: u,
7954
+ x: P,
7955
+ y: T,
7956
+ data: x,
7957
+ reset: s
7958
+ } = await b({
7959
+ x: Z,
7960
7960
  y: r,
7961
7961
  initialPlacement: M,
7962
- placement: a,
7962
+ placement: n,
7963
7963
  strategy: A,
7964
- middlewareData: o,
7964
+ middlewareData: l,
7965
7965
  rects: t,
7966
7966
  platform: i,
7967
7967
  elements: {
@@ -7969,30 +7969,30 @@ const n5 = async (H, V, C) => {
7969
7969
  floating: V
7970
7970
  }
7971
7971
  });
7972
- if (u = y ?? u, r = P ?? r, o = {
7973
- ...o,
7972
+ if (Z = P ?? Z, r = T ?? r, l = {
7973
+ ...l,
7974
7974
  [g]: {
7975
- ...o[g],
7976
- ..._
7975
+ ...l[g],
7976
+ ...x
7977
7977
  }
7978
- }, v && Z <= 50) {
7979
- Z++, typeof v == "object" && (v.placement && (a = v.placement), v.rects && (t = v.rects === !0 ? await i.getElementRects({
7978
+ }, s && a <= 50) {
7979
+ a++, typeof s == "object" && (s.placement && (n = s.placement), s.rects && (t = s.rects === !0 ? await i.getElementRects({
7980
7980
  reference: H,
7981
7981
  floating: V,
7982
7982
  strategy: A
7983
- }) : v.rects), {
7984
- x: u,
7983
+ }) : s.rects), {
7984
+ x: Z,
7985
7985
  y: r
7986
- } = G1(t, a, d)), B = -1;
7986
+ } = G1(t, n, d)), B = -1;
7987
7987
  continue;
7988
7988
  }
7989
7989
  }
7990
7990
  return {
7991
- x: u,
7991
+ x: Z,
7992
7992
  y: r,
7993
- placement: a,
7993
+ placement: n,
7994
7994
  strategy: A,
7995
- middlewareData: o
7995
+ middlewareData: l
7996
7996
  };
7997
7997
  };
7998
7998
  async function p1(H, V) {
@@ -8007,35 +8007,35 @@ async function p1(H, V) {
8007
8007
  strategy: d
8008
8008
  } = H, {
8009
8009
  boundary: t = "clippingAncestors",
8010
- rootBoundary: u = "viewport",
8010
+ rootBoundary: Z = "viewport",
8011
8011
  elementContext: r = "floating",
8012
- altBoundary: a = !1,
8013
- padding: o = 0
8014
- } = m1(V, H), Z = V2(o), g = e[a ? r === "floating" ? "reference" : "floating" : r], w = O1(await L.getClippingRect({
8012
+ altBoundary: n = !1,
8013
+ padding: l = 0
8014
+ } = t1(V, H), a = V2(l), g = e[n ? r === "floating" ? "reference" : "floating" : r], b = O1(await L.getClippingRect({
8015
8015
  element: (C = await (L.isElement == null ? void 0 : L.isElement(g))) == null || C ? g : g.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8016
8016
  boundary: t,
8017
- rootBoundary: u,
8017
+ rootBoundary: Z,
8018
8018
  strategy: d
8019
- })), y = r === "floating" ? {
8019
+ })), P = r === "floating" ? {
8020
8020
  ...i.floating,
8021
8021
  x: M,
8022
8022
  y: A
8023
- } : i.reference, P = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), _ = await (L.isElement == null ? void 0 : L.isElement(P)) ? await (L.getScale == null ? void 0 : L.getScale(P)) || {
8023
+ } : i.reference, T = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), x = await (L.isElement == null ? void 0 : L.isElement(T)) ? await (L.getScale == null ? void 0 : L.getScale(T)) || {
8024
8024
  x: 1,
8025
8025
  y: 1
8026
8026
  } : {
8027
8027
  x: 1,
8028
8028
  y: 1
8029
- }, v = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8030
- rect: y,
8031
- offsetParent: P,
8029
+ }, s = O1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8030
+ rect: P,
8031
+ offsetParent: T,
8032
8032
  strategy: d
8033
- }) : y);
8033
+ }) : P);
8034
8034
  return {
8035
- top: (w.top - v.top + Z.top) / _.y,
8036
- bottom: (v.bottom - w.bottom + Z.bottom) / _.y,
8037
- left: (w.left - v.left + Z.left) / _.x,
8038
- right: (v.right - w.right + Z.right) / _.x
8035
+ top: (b.top - s.top + a.top) / x.y,
8036
+ bottom: (s.bottom - b.bottom + a.bottom) / x.y,
8037
+ left: (b.left - s.left + a.left) / x.x,
8038
+ right: (s.right - b.right + a.right) / x.x
8039
8039
  };
8040
8040
  }
8041
8041
  const r5 = (H) => ({
@@ -8052,27 +8052,27 @@ const r5 = (H) => ({
8052
8052
  middlewareData: d
8053
8053
  } = V, {
8054
8054
  element: t,
8055
- padding: u = 0
8056
- } = m1(H, V) || {};
8055
+ padding: Z = 0
8056
+ } = t1(H, V) || {};
8057
8057
  if (t == null)
8058
8058
  return {};
8059
- const r = V2(u), a = {
8059
+ const r = V2(Z), n = {
8060
8060
  x: C,
8061
8061
  y: M
8062
- }, o = _1(A), Z = D1(o), B = await i.getDimensions(t), g = o === "y", w = g ? "top" : "left", y = g ? "bottom" : "right", P = g ? "clientHeight" : "clientWidth", _ = L.reference[Z] + L.reference[o] - a[o] - L.floating[Z], v = a[o] - L.reference[o], N = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8063
- let s = N ? N[P] : 0;
8064
- (!s || !await (i.isElement == null ? void 0 : i.isElement(N))) && (s = e.floating[P] || L.floating[Z]);
8065
- const l = _ / 2 - v / 2, f = s / 2 - B[Z] / 2 - 1, F = a1(r[w], f), c = a1(r[y], f), R = F, H1 = s - B[Z] - c, W = s / 2 - B[Z] / 2 + l, z = T1(R, W, H1), U = !d.arrow && u1(A) != null && W != z && L.reference[Z] / 2 - (W < R ? F : c) - B[Z] / 2 < 0, K = U ? W < R ? W - R : W - H1 : 0;
8062
+ }, l = _1(A), a = D1(l), B = await i.getDimensions(t), g = l === "y", b = g ? "top" : "left", P = g ? "bottom" : "right", T = g ? "clientHeight" : "clientWidth", x = L.reference[a] + L.reference[l] - n[l] - L.floating[a], s = n[l] - L.reference[l], h = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(t));
8063
+ let w = h ? h[T] : 0;
8064
+ (!w || !await (i.isElement == null ? void 0 : i.isElement(h))) && (w = e.floating[T] || L.floating[a]);
8065
+ const u = x / 2 - s / 2, c = w / 2 - B[a] / 2 - 1, D = a1(r[b], c), C1 = a1(r[P], c), W = D, m1 = w - B[a] - C1, E = w / 2 - B[a] / 2 + u, G = T1(W, E, m1), z = !d.arrow && u1(A) != null && E != G && L.reference[a] / 2 - (E < W ? D : C1) - B[a] / 2 < 0, $ = z ? E < W ? E - W : E - m1 : 0;
8066
8066
  return {
8067
- [o]: a[o] + K,
8067
+ [l]: n[l] + $,
8068
8068
  data: {
8069
- [o]: z,
8070
- centerOffset: W - z - K,
8071
- ...U && {
8072
- alignmentOffset: K
8069
+ [l]: G,
8070
+ centerOffset: E - G - $,
8071
+ ...z && {
8072
+ alignmentOffset: $
8073
8073
  }
8074
8074
  },
8075
- reset: U
8075
+ reset: z
8076
8076
  };
8077
8077
  }
8078
8078
  }), a5 = function(H) {
@@ -8089,57 +8089,57 @@ const r5 = (H) => ({
8089
8089
  platform: d,
8090
8090
  elements: t
8091
8091
  } = V, {
8092
- mainAxis: u = !0,
8092
+ mainAxis: Z = !0,
8093
8093
  crossAxis: r = !0,
8094
- fallbackPlacements: a,
8095
- fallbackStrategy: o = "bestFit",
8096
- fallbackAxisSideDirection: Z = "none",
8094
+ fallbackPlacements: n,
8095
+ fallbackStrategy: l = "bestFit",
8096
+ fallbackAxisSideDirection: a = "none",
8097
8097
  flipAlignment: B = !0,
8098
8098
  ...g
8099
- } = m1(H, V);
8099
+ } = t1(H, V);
8100
8100
  if ((C = L.arrow) != null && C.alignmentOffset)
8101
8101
  return {};
8102
- const w = L1(A), y = L1(e) === e, P = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), _ = a || (y || !B ? [c1(e)] : t5(e));
8103
- !a && Z !== "none" && _.push(...l5(e, B, Z, P));
8104
- const v = [e, ..._], N = await p1(V, g), s = [];
8105
- let l = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8106
- if (u && s.push(N[w]), r) {
8107
- const R = d5(A, i, P);
8108
- s.push(N[R[0]], N[R[1]]);
8102
+ const b = V1(A), P = V1(e) === e, T = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), x = n || (P || !B ? [c1(e)] : t5(e));
8103
+ !n && a !== "none" && x.push(...l5(e, B, a, T));
8104
+ const s = [e, ...x], h = await p1(V, g), w = [];
8105
+ let u = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8106
+ if (Z && w.push(h[b]), r) {
8107
+ const W = d5(A, i, T);
8108
+ w.push(h[W[0]], h[W[1]]);
8109
8109
  }
8110
- if (l = [...l, {
8110
+ if (u = [...u, {
8111
8111
  placement: A,
8112
- overflows: s
8113
- }], !s.every((R) => R <= 0)) {
8114
- var f, F;
8115
- const R = (((f = L.flip) == null ? void 0 : f.index) || 0) + 1, H1 = v[R];
8116
- if (H1)
8112
+ overflows: w
8113
+ }], !w.every((W) => W <= 0)) {
8114
+ var c, D;
8115
+ const W = (((c = L.flip) == null ? void 0 : c.index) || 0) + 1, m1 = s[W];
8116
+ if (m1)
8117
8117
  return {
8118
8118
  data: {
8119
- index: R,
8120
- overflows: l
8119
+ index: W,
8120
+ overflows: u
8121
8121
  },
8122
8122
  reset: {
8123
- placement: H1
8123
+ placement: m1
8124
8124
  }
8125
8125
  };
8126
- let W = (F = l.filter((z) => z.overflows[0] <= 0).sort((z, U) => z.overflows[1] - U.overflows[1])[0]) == null ? void 0 : F.placement;
8127
- if (!W)
8128
- switch (o) {
8126
+ let E = (D = u.filter((G) => G.overflows[0] <= 0).sort((G, z) => G.overflows[1] - z.overflows[1])[0]) == null ? void 0 : D.placement;
8127
+ if (!E)
8128
+ switch (l) {
8129
8129
  case "bestFit": {
8130
- var c;
8131
- const z = (c = l.map((U) => [U.placement, U.overflows.filter((K) => K > 0).reduce((K, r2) => K + r2, 0)]).sort((U, K) => U[1] - K[1])[0]) == null ? void 0 : c[0];
8132
- z && (W = z);
8130
+ var C1;
8131
+ const G = (C1 = u.map((z) => [z.placement, z.overflows.filter(($) => $ > 0).reduce(($, r2) => $ + r2, 0)]).sort((z, $) => z[1] - $[1])[0]) == null ? void 0 : C1[0];
8132
+ G && (E = G);
8133
8133
  break;
8134
8134
  }
8135
8135
  case "initialPlacement":
8136
- W = e;
8136
+ E = e;
8137
8137
  break;
8138
8138
  }
8139
- if (A !== W)
8139
+ if (A !== E)
8140
8140
  return {
8141
8141
  reset: {
8142
- placement: W
8142
+ placement: E
8143
8143
  }
8144
8144
  };
8145
8145
  }
@@ -8168,7 +8168,7 @@ const Z5 = function(H) {
8168
8168
  } = V, {
8169
8169
  strategy: M = "referenceHidden",
8170
8170
  ...A
8171
- } = m1(H, V);
8171
+ } = t1(H, V);
8172
8172
  switch (M) {
8173
8173
  case "referenceHidden": {
8174
8174
  const L = await p1(V, {
@@ -8205,11 +8205,11 @@ async function u5(H, V) {
8205
8205
  placement: C,
8206
8206
  platform: M,
8207
8207
  elements: A
8208
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = L1(C), e = u1(C), d = f1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, u = L && d ? -1 : 1, r = m1(V, H);
8208
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(A.floating)), i = V1(C), e = u1(C), d = f1(C) === "y", t = ["left", "top"].includes(i) ? -1 : 1, Z = L && d ? -1 : 1, r = t1(V, H);
8209
8209
  let {
8210
- mainAxis: a,
8211
- crossAxis: o,
8212
- alignmentAxis: Z
8210
+ mainAxis: n,
8211
+ crossAxis: l,
8212
+ alignmentAxis: a
8213
8213
  } = typeof r == "number" ? {
8214
8214
  mainAxis: r,
8215
8215
  crossAxis: 0,
@@ -8220,12 +8220,12 @@ async function u5(H, V) {
8220
8220
  alignmentAxis: null,
8221
8221
  ...r
8222
8222
  };
8223
- return e && typeof Z == "number" && (o = e === "end" ? Z * -1 : Z), d ? {
8224
- x: o * u,
8225
- y: a * t
8223
+ return e && typeof a == "number" && (l = e === "end" ? a * -1 : a), d ? {
8224
+ x: l * Z,
8225
+ y: n * t
8226
8226
  } : {
8227
- x: a * t,
8228
- y: o * u
8227
+ x: n * t,
8228
+ y: l * Z
8229
8229
  };
8230
8230
  }
8231
8231
  const S5 = function(H) {
@@ -8259,33 +8259,33 @@ const S5 = function(H) {
8259
8259
  limiter: e = {
8260
8260
  fn: (g) => {
8261
8261
  let {
8262
- x: w,
8263
- y
8262
+ x: b,
8263
+ y: P
8264
8264
  } = g;
8265
8265
  return {
8266
- x: w,
8267
- y
8266
+ x: b,
8267
+ y: P
8268
8268
  };
8269
8269
  }
8270
8270
  },
8271
8271
  ...d
8272
- } = m1(H, V), t = {
8272
+ } = t1(H, V), t = {
8273
8273
  x: C,
8274
8274
  y: M
8275
- }, u = await p1(V, d), r = f1(L1(A)), a = H2(r);
8276
- let o = t[a], Z = t[r];
8275
+ }, Z = await p1(V, d), r = f1(V1(A)), n = H2(r);
8276
+ let l = t[n], a = t[r];
8277
8277
  if (L) {
8278
- const g = a === "y" ? "top" : "left", w = a === "y" ? "bottom" : "right", y = o + u[g], P = o - u[w];
8279
- o = T1(y, o, P);
8278
+ const g = n === "y" ? "top" : "left", b = n === "y" ? "bottom" : "right", P = l + Z[g], T = l - Z[b];
8279
+ l = T1(P, l, T);
8280
8280
  }
8281
8281
  if (i) {
8282
- const g = r === "y" ? "top" : "left", w = r === "y" ? "bottom" : "right", y = Z + u[g], P = Z - u[w];
8283
- Z = T1(y, Z, P);
8282
+ const g = r === "y" ? "top" : "left", b = r === "y" ? "bottom" : "right", P = a + Z[g], T = a - Z[b];
8283
+ a = T1(P, a, T);
8284
8284
  }
8285
8285
  const B = e.fn({
8286
8286
  ...V,
8287
- [a]: o,
8288
- [r]: Z
8287
+ [n]: l,
8288
+ [r]: a
8289
8289
  });
8290
8290
  return {
8291
8291
  ...B,
@@ -8297,28 +8297,28 @@ const S5 = function(H) {
8297
8297
  }
8298
8298
  };
8299
8299
  };
8300
- function J(H) {
8300
+ function X(H) {
8301
8301
  return L2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8302
8302
  }
8303
- function I(H) {
8303
+ function N(H) {
8304
8304
  var V;
8305
8305
  return (H == null || (V = H.ownerDocument) == null ? void 0 : V.defaultView) || window;
8306
8306
  }
8307
- function C1(H) {
8307
+ function J(H) {
8308
8308
  var V;
8309
8309
  return (V = (L2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8310
8310
  }
8311
8311
  function L2(H) {
8312
- return H instanceof Node || H instanceof I(H).Node;
8312
+ return H instanceof Node || H instanceof N(H).Node;
8313
8313
  }
8314
- function Y(H) {
8315
- return H instanceof Element || H instanceof I(H).Element;
8314
+ function q(H) {
8315
+ return H instanceof Element || H instanceof N(H).Element;
8316
8316
  }
8317
- function $(H) {
8318
- return H instanceof HTMLElement || H instanceof I(H).HTMLElement;
8317
+ function U(H) {
8318
+ return H instanceof HTMLElement || H instanceof N(H).HTMLElement;
8319
8319
  }
8320
8320
  function $1(H) {
8321
- return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof I(H).ShadowRoot;
8321
+ return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof N(H).ShadowRoot;
8322
8322
  }
8323
8323
  function S1(H) {
8324
8324
  const {
@@ -8326,22 +8326,22 @@ function S1(H) {
8326
8326
  overflowX: C,
8327
8327
  overflowY: M,
8328
8328
  display: A
8329
- } = Q(H);
8329
+ } = I(H);
8330
8330
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(A);
8331
8331
  }
8332
8332
  function c5(H) {
8333
- return ["table", "td", "th"].includes(J(H));
8333
+ return ["table", "td", "th"].includes(X(H));
8334
8334
  }
8335
8335
  function E1(H) {
8336
- const V = N1(), C = Q(H);
8336
+ const V = N1(), C = I(H);
8337
8337
  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));
8338
8338
  }
8339
8339
  function O5(H) {
8340
- let V = d1(H);
8341
- for (; $(V) && !h1(V); ) {
8340
+ let V = e1(H);
8341
+ for (; U(V) && !h1(V); ) {
8342
8342
  if (E1(V))
8343
8343
  return V;
8344
- V = d1(V);
8344
+ V = e1(V);
8345
8345
  }
8346
8346
  return null;
8347
8347
  }
@@ -8349,13 +8349,13 @@ function N1() {
8349
8349
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8350
8350
  }
8351
8351
  function h1(H) {
8352
- return ["html", "body", "#document"].includes(J(H));
8352
+ return ["html", "body", "#document"].includes(X(H));
8353
8353
  }
8354
- function Q(H) {
8355
- return I(H).getComputedStyle(H);
8354
+ function I(H) {
8355
+ return N(H).getComputedStyle(H);
8356
8356
  }
8357
8357
  function g1(H) {
8358
- return Y(H) ? {
8358
+ return q(H) ? {
8359
8359
  scrollLeft: H.scrollLeft,
8360
8360
  scrollTop: H.scrollTop
8361
8361
  } : {
@@ -8363,32 +8363,32 @@ function g1(H) {
8363
8363
  scrollTop: H.pageYOffset
8364
8364
  };
8365
8365
  }
8366
- function d1(H) {
8367
- if (J(H) === "html")
8366
+ function e1(H) {
8367
+ if (X(H) === "html")
8368
8368
  return H;
8369
8369
  const V = (
8370
8370
  // Step into the shadow DOM of the parent of a slotted node.
8371
8371
  H.assignedSlot || // DOM Element detected.
8372
8372
  H.parentNode || // ShadowRoot detected.
8373
8373
  $1(H) && H.host || // Fallback.
8374
- C1(H)
8374
+ J(H)
8375
8375
  );
8376
8376
  return $1(V) ? V.host : V;
8377
8377
  }
8378
8378
  function M2(H) {
8379
- const V = d1(H);
8380
- return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : $(V) && S1(V) ? V : M2(V);
8379
+ const V = e1(H);
8380
+ return h1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : U(V) && S1(V) ? V : M2(V);
8381
8381
  }
8382
8382
  function F1(H, V, C) {
8383
8383
  var M;
8384
8384
  V === void 0 && (V = []), C === void 0 && (C = !0);
8385
- const A = M2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = I(A);
8385
+ const A = M2(H), L = A === ((M = H.ownerDocument) == null ? void 0 : M.body), i = N(A);
8386
8386
  return L ? V.concat(i, i.visualViewport || [], S1(A) ? A : [], i.frameElement && C ? F1(i.frameElement) : []) : V.concat(A, F1(A, [], C));
8387
8387
  }
8388
8388
  function A2(H) {
8389
- const V = Q(H);
8389
+ const V = I(H);
8390
8390
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8391
- const A = $(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = s1(C) !== L || s1(M) !== i;
8391
+ const A = U(H), L = A ? H.offsetWidth : C, i = A ? H.offsetHeight : M, e = s1(C) !== L || s1(M) !== i;
8392
8392
  return e && (C = L, M = i), {
8393
8393
  width: C,
8394
8394
  height: M,
@@ -8396,12 +8396,12 @@ function A2(H) {
8396
8396
  };
8397
8397
  }
8398
8398
  function i2(H) {
8399
- return Y(H) ? H : H.contextElement;
8399
+ return q(H) ? H : H.contextElement;
8400
8400
  }
8401
- function e1(H) {
8401
+ function i1(H) {
8402
8402
  const V = i2(H);
8403
- if (!$(V))
8404
- return X(1);
8403
+ if (!U(V))
8404
+ return Y(1);
8405
8405
  const C = V.getBoundingClientRect(), {
8406
8406
  width: M,
8407
8407
  height: A,
@@ -8413,34 +8413,34 @@ function e1(H) {
8413
8413
  y: e
8414
8414
  };
8415
8415
  }
8416
- const p5 = /* @__PURE__ */ X(0);
8416
+ const p5 = /* @__PURE__ */ Y(0);
8417
8417
  function e2(H) {
8418
- const V = I(H);
8418
+ const V = N(H);
8419
8419
  return !N1() || !V.visualViewport ? p5 : {
8420
8420
  x: V.visualViewport.offsetLeft,
8421
8421
  y: V.visualViewport.offsetTop
8422
8422
  };
8423
8423
  }
8424
8424
  function f5(H, V, C) {
8425
- return V === void 0 && (V = !1), !C || V && C !== I(H) ? !1 : V;
8425
+ return V === void 0 && (V = !1), !C || V && C !== N(H) ? !1 : V;
8426
8426
  }
8427
8427
  function Z1(H, V, C, M) {
8428
8428
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8429
8429
  const A = H.getBoundingClientRect(), L = i2(H);
8430
- let i = X(1);
8431
- V && (M ? Y(M) && (i = e1(M)) : i = e1(H));
8432
- const e = f5(L, C, M) ? e2(L) : X(0);
8433
- let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, u = A.width / i.x, r = A.height / i.y;
8430
+ let i = Y(1);
8431
+ V && (M ? q(M) && (i = i1(M)) : i = i1(H));
8432
+ const e = f5(L, C, M) ? e2(L) : Y(0);
8433
+ let d = (A.left + e.x) / i.x, t = (A.top + e.y) / i.y, Z = A.width / i.x, r = A.height / i.y;
8434
8434
  if (L) {
8435
- const a = I(L), o = M && Y(M) ? I(M) : M;
8436
- let Z = a.frameElement;
8437
- for (; Z && M && o !== a; ) {
8438
- const B = e1(Z), g = Z.getBoundingClientRect(), w = Q(Z), y = g.left + (Z.clientLeft + parseFloat(w.paddingLeft)) * B.x, P = g.top + (Z.clientTop + parseFloat(w.paddingTop)) * B.y;
8439
- d *= B.x, t *= B.y, u *= B.x, r *= B.y, d += y, t += P, Z = I(Z).frameElement;
8435
+ const n = N(L), l = M && q(M) ? N(M) : M;
8436
+ let a = n.frameElement;
8437
+ for (; a && M && l !== n; ) {
8438
+ const B = i1(a), g = a.getBoundingClientRect(), b = I(a), P = g.left + (a.clientLeft + parseFloat(b.paddingLeft)) * B.x, T = g.top + (a.clientTop + parseFloat(b.paddingTop)) * B.y;
8439
+ d *= B.x, t *= B.y, Z *= B.x, r *= B.y, d += P, t += T, a = N(a).frameElement;
8440
8440
  }
8441
8441
  }
8442
8442
  return O1({
8443
- width: u,
8443
+ width: Z,
8444
8444
  height: r,
8445
8445
  x: d,
8446
8446
  y: t
@@ -8452,17 +8452,17 @@ function h5(H) {
8452
8452
  offsetParent: C,
8453
8453
  strategy: M
8454
8454
  } = H;
8455
- const A = $(C), L = C1(C);
8455
+ const A = U(C), L = J(C);
8456
8456
  if (C === L)
8457
8457
  return V;
8458
8458
  let i = {
8459
8459
  scrollLeft: 0,
8460
8460
  scrollTop: 0
8461
- }, e = X(1);
8462
- const d = X(0);
8463
- if ((A || !A && M !== "fixed") && ((J(C) !== "body" || S1(L)) && (i = g1(C)), $(C))) {
8461
+ }, e = Y(1);
8462
+ const d = Y(0);
8463
+ if ((A || !A && M !== "fixed") && ((X(C) !== "body" || S1(L)) && (i = g1(C)), U(C))) {
8464
8464
  const t = Z1(C);
8465
- e = e1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8465
+ e = i1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8466
8466
  }
8467
8467
  return {
8468
8468
  width: V.width * e.x,
@@ -8475,13 +8475,13 @@ function g5(H) {
8475
8475
  return Array.from(H.getClientRects());
8476
8476
  }
8477
8477
  function d2(H) {
8478
- return Z1(C1(H)).left + g1(H).scrollLeft;
8478
+ return Z1(J(H)).left + g1(H).scrollLeft;
8479
8479
  }
8480
8480
  function k5(H) {
8481
- const V = C1(H), C = g1(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);
8481
+ const V = J(H), C = g1(H), M = H.ownerDocument.body, A = A1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = A1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8482
8482
  let i = -C.scrollLeft + d2(H);
8483
8483
  const e = -C.scrollTop;
8484
- return Q(M).direction === "rtl" && (i += i1(V.clientWidth, M.clientWidth) - A), {
8484
+ return I(M).direction === "rtl" && (i += A1(V.clientWidth, M.clientWidth) - A), {
8485
8485
  width: A,
8486
8486
  height: L,
8487
8487
  x: i,
@@ -8489,7 +8489,7 @@ function k5(H) {
8489
8489
  };
8490
8490
  }
8491
8491
  function B5(H, V) {
8492
- const C = I(H), M = C1(H), A = C.visualViewport;
8492
+ const C = N(H), M = J(H), A = C.visualViewport;
8493
8493
  let L = M.clientWidth, i = M.clientHeight, e = 0, d = 0;
8494
8494
  if (A) {
8495
8495
  L = A.width, i = A.height;
@@ -8504,7 +8504,7 @@ function B5(H, V) {
8504
8504
  };
8505
8505
  }
8506
8506
  function b5(H, V) {
8507
- const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = $(H) ? e1(H) : X(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8507
+ const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, A = C.left + H.clientLeft, L = U(H) ? i1(H) : Y(1), i = H.clientWidth * L.x, e = H.clientHeight * L.y, d = A * L.x, t = M * L.y;
8508
8508
  return {
8509
8509
  width: i,
8510
8510
  height: e,
@@ -8517,8 +8517,8 @@ function K1(H, V, C) {
8517
8517
  if (V === "viewport")
8518
8518
  M = B5(H, C);
8519
8519
  else if (V === "document")
8520
- M = k5(C1(H));
8521
- else if (Y(V))
8520
+ M = k5(J(H));
8521
+ else if (q(V))
8522
8522
  M = b5(V, C);
8523
8523
  else {
8524
8524
  const A = e2(H);
@@ -8531,19 +8531,19 @@ function K1(H, V, C) {
8531
8531
  return O1(M);
8532
8532
  }
8533
8533
  function t2(H, V) {
8534
- const C = d1(H);
8535
- return C === V || !Y(C) || h1(C) ? !1 : Q(C).position === "fixed" || t2(C, V);
8534
+ const C = e1(H);
8535
+ return C === V || !q(C) || h1(C) ? !1 : I(C).position === "fixed" || t2(C, V);
8536
8536
  }
8537
8537
  function w5(H, V) {
8538
8538
  const C = V.get(H);
8539
8539
  if (C)
8540
8540
  return C;
8541
- let M = F1(H, [], !1).filter((e) => Y(e) && J(e) !== "body"), A = null;
8542
- const L = Q(H).position === "fixed";
8543
- let i = L ? d1(H) : H;
8544
- for (; Y(i) && !h1(i); ) {
8545
- const e = Q(i), d = E1(i);
8546
- !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && t2(H, i)) ? M = M.filter((u) => u !== i) : A = e, i = d1(i);
8541
+ let M = F1(H, [], !1).filter((e) => q(e) && X(e) !== "body"), A = null;
8542
+ const L = I(H).position === "fixed";
8543
+ let i = L ? e1(H) : H;
8544
+ for (; q(i) && !h1(i); ) {
8545
+ const e = I(i), d = E1(i);
8546
+ !d && e.position === "fixed" && (A = null), (L ? !d && !A : !d && e.position === "static" && !!A && ["absolute", "fixed"].includes(A.position) || S1(i) && !d && t2(H, i)) ? M = M.filter((Z) => Z !== i) : A = e, i = e1(i);
8547
8547
  }
8548
8548
  return V.set(H, M), M;
8549
8549
  }
@@ -8554,9 +8554,9 @@ function y5(H) {
8554
8554
  rootBoundary: M,
8555
8555
  strategy: A
8556
8556
  } = H;
8557
- const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, u) => {
8558
- const r = K1(V, u, A);
8559
- return t.top = i1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = i1(r.left, t.left), t;
8557
+ const i = [...C === "clippingAncestors" ? w5(V, this._c) : [].concat(C), M], e = i[0], d = i.reduce((t, Z) => {
8558
+ const r = K1(V, Z, A);
8559
+ return t.top = A1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = A1(r.left, t.left), t;
8560
8560
  }, K1(V, e, A));
8561
8561
  return {
8562
8562
  width: d.right - d.left,
@@ -8569,14 +8569,14 @@ function P5(H) {
8569
8569
  return A2(H);
8570
8570
  }
8571
8571
  function T5(H, V, C) {
8572
- const M = $(V), A = C1(V), L = C === "fixed", i = Z1(H, !0, L, V);
8572
+ const M = U(V), A = J(V), L = C === "fixed", i = Z1(H, !0, L, V);
8573
8573
  let e = {
8574
8574
  scrollLeft: 0,
8575
8575
  scrollTop: 0
8576
8576
  };
8577
- const d = X(0);
8577
+ const d = Y(0);
8578
8578
  if (M || !M && !L)
8579
- if ((J(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8579
+ if ((X(V) !== "body" || S1(A)) && (e = g1(V)), M) {
8580
8580
  const t = Z1(V, !0, L, V);
8581
8581
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8582
8582
  } else
@@ -8589,16 +8589,16 @@ function T5(H, V, C) {
8589
8589
  };
8590
8590
  }
8591
8591
  function j1(H, V) {
8592
- return !$(H) || Q(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8592
+ return !U(H) || I(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8593
8593
  }
8594
8594
  function m2(H, V) {
8595
- const C = I(H);
8596
- if (!$(H))
8595
+ const C = N(H);
8596
+ if (!U(H))
8597
8597
  return C;
8598
8598
  let M = j1(H, V);
8599
- for (; M && c5(M) && Q(M).position === "static"; )
8599
+ for (; M && c5(M) && I(M).position === "static"; )
8600
8600
  M = j1(M, V);
8601
- return M && (J(M) === "html" || J(M) === "body" && Q(M).position === "static" && !E1(M)) ? C : M || O5(H) || C;
8601
+ return M && (X(M) === "html" || X(M) === "body" && I(M).position === "static" && !E1(M)) ? C : M || O5(H) || C;
8602
8602
  }
8603
8603
  const v5 = async function(H) {
8604
8604
  let {
@@ -8617,18 +8617,18 @@ const v5 = async function(H) {
8617
8617
  };
8618
8618
  };
8619
8619
  function F5(H) {
8620
- return Q(H).direction === "rtl";
8620
+ return I(H).direction === "rtl";
8621
8621
  }
8622
8622
  const R5 = {
8623
8623
  convertOffsetParentRelativeRectToViewportRelativeRect: h5,
8624
- getDocumentElement: C1,
8624
+ getDocumentElement: J,
8625
8625
  getClippingRect: y5,
8626
8626
  getOffsetParent: m2,
8627
8627
  getElementRects: v5,
8628
8628
  getClientRects: g5,
8629
8629
  getDimensions: P5,
8630
- getScale: e1,
8631
- isElement: Y,
8630
+ getScale: i1,
8631
+ isElement: q,
8632
8632
  isRTL: F5
8633
8633
  }, x5 = (H, V, C) => {
8634
8634
  const M = /* @__PURE__ */ new Map(), A = {
@@ -8643,7 +8643,7 @@ const R5 = {
8643
8643
  platform: L
8644
8644
  });
8645
8645
  };
8646
- var l2 = /* @__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))(l2 || {}), j = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(j || {}), o2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(o2 || {});
8646
+ var l2 = /* @__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))(l2 || {}), K = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(K || {}), o2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(o2 || {});
8647
8647
  async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e) {
8648
8648
  !H || !V || x5(H, V, {
8649
8649
  placement: M,
@@ -8654,27 +8654,27 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8654
8654
  a5(),
8655
8655
  Z5()
8656
8656
  ]
8657
- }).then(({ x: d, y: t, placement: u, middlewareData: r }) => {
8658
- var o;
8657
+ }).then(({ x: d, y: t, placement: Z, middlewareData: r }) => {
8658
+ var l;
8659
8659
  if (!V)
8660
8660
  return;
8661
- const a = ((o = H.offsetParent) == null ? void 0 : o.getBoundingClientRect().left) || 0;
8661
+ const n = ((l = H.offsetParent) == null ? void 0 : l.getBoundingClientRect().left) || 0;
8662
8662
  if (Object.assign(V.style, {
8663
8663
  minWidth: e === "dropdown" ? `${H.offsetWidth - 2}px` : "auto",
8664
- left: e === "dropdown" ? `${a}px` : `${d}px`,
8664
+ left: e === "dropdown" ? `${n}px` : `${d}px`,
8665
8665
  top: `${t}px`,
8666
8666
  animation: `tooltip-show ${i}ms ease-in-out forwards`,
8667
8667
  transformOrigin: "start"
8668
8668
  }), C && r.arrow) {
8669
- const { x: Z, y: B } = r.arrow, g = {
8669
+ const { x: a, y: B } = r.arrow, g = {
8670
8670
  top: "bottom",
8671
8671
  right: "left",
8672
8672
  bottom: "top",
8673
8673
  left: "right"
8674
8674
  /* Right */
8675
- }[u.split("-")[0]];
8675
+ }[Z.split("-")[0]];
8676
8676
  Object.assign(C.style, {
8677
- left: d != null ? `${Z}px` : "",
8677
+ left: d != null ? `${a}px` : "",
8678
8678
  top: t != null ? `${B}px` : "",
8679
8679
  right: "",
8680
8680
  bottom: "",
@@ -8683,14 +8683,14 @@ async function D5({ value: H }, { value: V }, { value: C }, M, A, L, i = 300, e)
8683
8683
  }
8684
8684
  });
8685
8685
  }
8686
- const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8686
+ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ v({
8687
8687
  __name: "RTooltip",
8688
8688
  props: {
8689
8689
  placement: { default: l2.Top },
8690
8690
  text: { default: "" },
8691
8691
  dark: { type: Boolean, default: !0 },
8692
8692
  light: { type: Boolean, default: !1 },
8693
- triggers: { default: () => [j.Hover] },
8693
+ triggers: { default: () => [K.Hover] },
8694
8694
  autoHide: { type: Boolean, default: !0 },
8695
8695
  hideDelay: { default: 3e3 },
8696
8696
  showDelay: { default: 300 },
@@ -8707,9 +8707,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8707
8707
  },
8708
8708
  emits: ["show", "hide"],
8709
8709
  setup(H, { emit: V }) {
8710
- const C = H, M = V, A = E(), L = E(), i = E();
8710
+ const C = H, M = V, A = _(), L = _(), i = _();
8711
8711
  async function e() {
8712
- Z(), L.value.style.display = "block", M("show"), t();
8712
+ a(), L.value.style.display = "block", M("show"), t();
8713
8713
  }
8714
8714
  function d() {
8715
8715
  C.disabled || !L.value || (L.value.style.display = "", M("hide"));
@@ -8719,21 +8719,21 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8719
8719
  d();
8720
8720
  }, C.hideDelay);
8721
8721
  }
8722
- function u() {
8723
- C.disabled || C.triggers.includes(j.Click) && (L.value.style.display === "block" ? d() : e());
8722
+ function Z() {
8723
+ C.disabled || C.triggers.includes(K.Click) && (L.value.style.display === "block" ? d() : e());
8724
8724
  }
8725
8725
  function r() {
8726
- C.disabled || C.triggers.includes(j.Hover) && e();
8726
+ C.disabled || C.triggers.includes(K.Hover) && e();
8727
8727
  }
8728
- function a() {
8729
- C.disabled || (L.value.style.display === "" && C.triggers.includes(j.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(j.Hover) && d());
8728
+ function n() {
8729
+ C.disabled || (L.value.style.display === "" && C.triggers.includes(K.Hover) ? e() : L.value.style.display !== "" && C.triggers.includes(K.Hover) && d());
8730
8730
  }
8731
- function o() {
8732
- C.triggers.includes(j.Hover) && Z();
8731
+ function l() {
8732
+ C.triggers.includes(K.Hover) && a();
8733
8733
  }
8734
- function Z() {
8735
- const { placement: g, offset: w, padding: y, disabled: P, showDelay: _, type: v } = C;
8736
- P || D5(A, L, i, g, w, y, _, v);
8734
+ function a() {
8735
+ const { placement: g, offset: b, padding: P, disabled: T, showDelay: x, type: s } = C;
8736
+ T || D5(A, L, i, g, b, P, x, s);
8737
8737
  }
8738
8738
  const B = k(() => ({
8739
8739
  tooltip: !0,
@@ -8741,10 +8741,10 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8741
8741
  "tooltip--light": C.light
8742
8742
  }));
8743
8743
  return window.onresize = () => {
8744
- C.resizable && Z();
8744
+ C.resizable && a();
8745
8745
  }, S2(
8746
8746
  () => {
8747
- C.disabled || (C.shown && C.triggers.includes(j.Manual) ? e() : !C.shown && C.triggers.includes(j.Manual) && d());
8747
+ C.disabled || (C.shown && C.triggers.includes(K.Manual) ? e() : !C.shown && C.triggers.includes(K.Manual) && d());
8748
8748
  },
8749
8749
  { flush: "post" }
8750
8750
  // this is important to avoid infinite loop & for fire on mounted
@@ -8758,32 +8758,32 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8758
8758
  ignore: [L.value]
8759
8759
  }
8760
8760
  );
8761
- }), (g, w) => (m(), n(V1, null, [
8761
+ }), (g, b) => (m(), o(H1, null, [
8762
8762
  S("div", {
8763
8763
  ref_key: "trigger",
8764
8764
  ref: A,
8765
8765
  "aria-disabled": C.disabled,
8766
8766
  class: p(["trigger", g.triggerClass]),
8767
- onClick: u,
8767
+ onClick: Z,
8768
8768
  onMouseenter: r,
8769
- onMouseleave: a,
8770
- onMousemove: o
8769
+ onMouseleave: n,
8770
+ onMousemove: l
8771
8771
  }, [
8772
- h(g.$slots, "default", {
8772
+ f(g.$slots, "default", {
8773
8773
  activators: {
8774
- click: u,
8774
+ click: Z,
8775
8775
  mouseenter: r,
8776
- mouseleave: a,
8777
- mousemove: o
8776
+ mouseleave: n,
8777
+ mousemove: l
8778
8778
  },
8779
- updatePosition: Z
8779
+ updatePosition: a
8780
8780
  }, () => [
8781
8781
  S("div", {
8782
8782
  innerHTML: C.triggerContent
8783
8783
  }, null, 8, E5)
8784
8784
  ])
8785
8785
  ], 42, _5),
8786
- (m(), x(s2, { to: "body" }, [
8786
+ (m(), F(s2, { to: "body" }, [
8787
8787
  S("div", {
8788
8788
  id: "tooltip",
8789
8789
  ref_key: "tooltip",
@@ -8791,18 +8791,18 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8791
8791
  class: p([B.value, g.tooltipClass]),
8792
8792
  role: "tooltip"
8793
8793
  }, [
8794
- h(g.$slots, "content", {
8794
+ f(g.$slots, "content", {
8795
8795
  hide: d,
8796
- updatePosition: Z
8796
+ updatePosition: a
8797
8797
  }, () => [
8798
- C.text ? (m(), n("div", {
8798
+ C.text ? (m(), o("div", {
8799
8799
  key: 0,
8800
8800
  class: p(["tooltip__content", {
8801
8801
  "tooltip__content--dark": C.dark,
8802
8802
  "tooltip__content--light": C.light
8803
8803
  }])
8804
- }, b(C.text), 3)) : O("", !0),
8805
- C.text ? (m(), n("div", {
8804
+ }, y(C.text), 3)) : O("", !0),
8805
+ C.text ? (m(), o("div", {
8806
8806
  key: 1,
8807
8807
  id: "arrow",
8808
8808
  ref_key: "arrowElement",
@@ -8832,7 +8832,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8832
8832
  }, j5 = {
8833
8833
  key: 0,
8834
8834
  class: "r-dropdown-error"
8835
- }, V0 = /* @__PURE__ */ T({
8835
+ }, V0 = /* @__PURE__ */ v({
8836
8836
  __name: "RDropdown",
8837
8837
  props: {
8838
8838
  options: { default: () => [] },
@@ -8851,98 +8851,78 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8851
8851
  optionsClass: { default: "" },
8852
8852
  errorMsg: { default: "" },
8853
8853
  hideDetails: { type: Boolean, default: !1 },
8854
- autocomplete: { default: "off" },
8855
- optionText: {},
8856
- optionValue: {},
8857
- returnObject: { type: Boolean }
8854
+ autocomplete: { default: "off" }
8858
8855
  },
8859
8856
  emits: ["update:modelValue"],
8860
8857
  setup(H, { emit: V }) {
8861
- const C = H, M = V, A = E({}), L = t1([]), i = E(!1), e = E(""), d = E(), t = E(), u = E(), r = k(() => {
8862
- if (!C.options)
8863
- throw new Error("Options are required");
8864
- const s = C.options.map((l) => typeof l == "string" || typeof l == "number" ? { label: String(l), value: l, id: l, disabled: !1, prependIcon: "" } : { ...l, id: l.id || l.value });
8865
- return C.optionText && C.optionValue ? s.map((l) => {
8866
- var F;
8867
- const f = typeof C.optionText != "string" ? (F = C.optionText) == null ? void 0 : F.map((c) => l[c]).join(" ") : C.optionText;
8868
- return {
8869
- ...l,
8870
- label: f,
8871
- value: l[C.optionValue]
8872
- };
8873
- }) : s;
8874
- });
8875
- function a(s, l) {
8876
- var f, F, c;
8858
+ const C = H, M = V, A = _({ value: "", label: "" }), L = d1([]), i = _(!1), e = _(""), d = _(), t = _(), Z = _();
8859
+ function r(s, h) {
8860
+ var w, u, c;
8877
8861
  if (s.stopPropagation(), !C.disabled) {
8878
- if (i.value = !i.value, l && l(), i.value) {
8879
- (f = d.value) == null || f.classList.add("r-dropdown--active"), (F = d.value) == null || F.focus(), C.searchable && ((c = t.value) == null || c.focus());
8862
+ if (i.value = !i.value, h && h(), i.value) {
8863
+ (w = d.value) == null || w.classList.add("r-dropdown--active"), (u = d.value) == null || u.focus(), C.searchable && ((c = t.value) == null || c.focus());
8880
8864
  return;
8881
8865
  }
8882
- o();
8866
+ n();
8883
8867
  }
8884
8868
  }
8885
- function o() {
8886
- var s, l, f;
8887
- i.value = !1, (s = d.value) == null || s.classList.remove("r-dropdown--active"), (l = d.value) == null || l.blur(), (f = t.value) == null || f.blur();
8869
+ function n() {
8870
+ var s, h, w;
8871
+ i.value = !1, (s = d.value) == null || s.classList.remove("r-dropdown--active"), (h = d.value) == null || h.blur(), (w = t.value) == null || w.blur();
8888
8872
  }
8889
- function Z(s, l, f, F) {
8873
+ function l(s, h, w, u) {
8890
8874
  var c;
8891
- if (s.stopPropagation(), F(), !l.disabled) {
8875
+ if (s.stopPropagation(), u(), !h.disabled) {
8892
8876
  if (C.multiple || C.taggable) {
8893
- L.find((R) => R.value === l.value) ? L.splice(L.indexOf(l), 1) : L.push(l), e.value = "", C.searchable && ((c = t.value) == null || c.focus());
8877
+ L.find((D) => D.value === h.value) ? L.splice(L.indexOf(h), 1) : L.push(h), e.value = "", C.searchable && ((c = t.value) == null || c.focus());
8894
8878
  return;
8895
8879
  }
8896
- B(s, l), C.closeOnSelect && (f(), o());
8880
+ a(s, h), C.closeOnSelect && (w(), n());
8897
8881
  }
8898
8882
  }
8899
- function B(s, l) {
8900
- if (A.value.value === l.value) {
8901
- A.value = {}, e.value = "", N({});
8883
+ function a(s, h) {
8884
+ if (A.value.value === h.value) {
8885
+ A.value = {}, e.value = "", M("update:modelValue", "");
8902
8886
  return;
8903
8887
  }
8904
- e.value = l.label, A.value = l, a(s), N(l);
8888
+ e.value = h.label, A.value = h, r(s), M("update:modelValue", h);
8905
8889
  }
8906
- function g(s, l, f) {
8890
+ function B(s, h, w) {
8907
8891
  if (s instanceof KeyboardEvent && s.key !== "Backspace" || e.value !== "")
8908
8892
  return;
8909
- s.stopPropagation(), f();
8910
- const F = L.findIndex((c) => c.value === l.value);
8911
- L.splice(F, 1);
8893
+ s.stopPropagation(), w();
8894
+ const u = L.findIndex((c) => c.value === h.value);
8895
+ L.splice(u, 1);
8912
8896
  }
8913
- function w(s, l) {
8897
+ function g(s, h) {
8914
8898
  var c;
8915
8899
  if (!C.taggable)
8916
8900
  return;
8917
- s.stopPropagation(), l();
8918
- const f = e.value;
8919
- if (f === "")
8901
+ s.stopPropagation(), h();
8902
+ const w = e.value;
8903
+ if (w === "")
8920
8904
  return;
8921
- r.value.find((R) => R.label === f) || (L.push({ value: f, label: f }), e.value = "", (c = t.value) == null || c.focus());
8922
- }
8923
- function y(s) {
8924
- return C.multiple || C.taggable ? L.find((l) => l.value === s.value) : A.value.value === s.value;
8905
+ C.options.find((D) => D.label === w) || (L.push({ value: w, label: w }), e.value = "", (c = t.value) == null || c.focus());
8925
8906
  }
8926
- const P = k(() => !C.searchable || A.value.label === e.value ? r.value : r.value.filter((l) => l.label.toLowerCase().includes(e.value.toLowerCase()))), _ = k(() => !C.searchable);
8927
- function v() {
8928
- C.modelValue ? C.multiple ? L.push(r.value.find((s) => s.value === C.modelValue)) : A.value = r.value.find((s) => s.value === C.modelValue) : (A.value = {}, L.splice(0, L.length));
8907
+ function b(s) {
8908
+ return C.multiple || C.taggable ? L.find((h) => h.value === s.value) : A.value.value === s.value;
8929
8909
  }
8930
- function N(s) {
8931
- let l = null;
8932
- (C.multiple || C.taggable) && (l = L.map((f) => C.returnObject ? f : f.value || f[C.optionValue])), !C.multiple && !C.taggable && (l = C.returnObject ? s : s.value), M("update:modelValue", l);
8910
+ const P = k(() => !C.searchable || A.value.label === e.value ? C.options : C.options.filter((h) => h.label.toLowerCase().includes(e.value.toLowerCase()))), T = k(() => !C.searchable);
8911
+ function x() {
8912
+ C.modelValue ? C.multiple ? L.push(C.modelValue) : (A.value = C.modelValue, e.value = C.modelValue.label) : (A.value = {}, L.splice(0, L.length));
8933
8913
  }
8934
8914
  return q1(() => {
8935
- v();
8936
- }), G(L, (s) => {
8937
- N(s);
8938
- }), G(() => C.modelValue, (s) => {
8939
- v();
8940
- }), (s, l) => (m(), n("div", {
8915
+ x();
8916
+ }), Q(L, (s) => {
8917
+ M("update:modelValue", s);
8918
+ }), Q(() => C.modelValue, (s) => {
8919
+ x();
8920
+ }), (s, h) => (m(), o("div", {
8941
8921
  ref_key: "wrapper",
8942
- ref: u,
8922
+ ref: Z,
8943
8923
  class: "r-dropdown-wrapper"
8944
8924
  }, [
8945
- q(N5, {
8925
+ j(N5, {
8946
8926
  "auto-hide": !1,
8947
8927
  offset: 0,
8948
8928
  "outside-click": "",
@@ -8952,9 +8932,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8952
8932
  "trigger-class": "w-full",
8953
8933
  triggers: ["click"],
8954
8934
  type: "dropdown",
8955
- onHide: o
8935
+ onHide: n
8956
8936
  }, {
8957
- default: n1(({ activators: f, updatePosition: F }) => [
8937
+ default: n1(({ activators: w, updatePosition: u }) => [
8958
8938
  S("div", {
8959
8939
  ref_key: "dropdown",
8960
8940
  ref: d,
@@ -8965,71 +8945,71 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
8965
8945
  "r-dropdown--error": C.errorMsg
8966
8946
  }]),
8967
8947
  role: "select",
8968
- onClick: (c) => a(c, f.click)
8948
+ onClick: (c) => r(c, w.click)
8969
8949
  }, [
8970
- C.prependIcon || s.$slots.prepend ? (m(), n("div", {
8950
+ C.prependIcon || s.$slots.prepend ? (m(), o("div", {
8971
8951
  key: 0,
8972
8952
  class: p(["r-dropdown__prepend-icon", {
8973
8953
  "r-dropdown__prepend-icon--active": i.value,
8974
8954
  "r-dropdown__prepend-icon--error": C.errorMsg
8975
8955
  }])
8976
8956
  }, [
8977
- h(s.$slots, "prepend", {}, () => [
8978
- C.prependIcon ? (m(), x(D, {
8957
+ f(s.$slots, "prepend", {}, () => [
8958
+ C.prependIcon ? (m(), F(R, {
8979
8959
  key: 0,
8980
8960
  name: C.prependIcon
8981
8961
  }, null, 8, ["name"])) : O("", !0)
8982
8962
  ])
8983
8963
  ], 2)) : O("", !0),
8984
- C.taggable ? (m(), n("div", I5, [
8985
- h(s.$slots, "tags", {
8964
+ C.taggable ? (m(), o("div", I5, [
8965
+ f(s.$slots, "tags", {
8986
8966
  options: L,
8987
- removeOption: g,
8988
- updatePosition: F
8967
+ removeOption: B,
8968
+ updatePosition: u
8989
8969
  }, () => [
8990
- (m(!0), n(V1, null, A1(L, (c, R) => (m(), x(X2, {
8991
- key: R,
8970
+ (m(!0), o(H1, null, M1(L, (c, D) => (m(), F(X2, {
8971
+ key: D,
8992
8972
  "append-icon": "mdiClose",
8993
8973
  class: "r-dropdown__tags__chip",
8994
8974
  closable: "",
8995
8975
  label: c.label,
8996
8976
  variant: "primary",
8997
- "onClick:close": (H1) => g(H1, c, F)
8977
+ "onClick:close": (C1) => B(C1, c, u)
8998
8978
  }, null, 8, ["label", "onClick:close"]))), 128))
8999
8979
  ])
9000
8980
  ])) : O("", !0),
9001
- C.multiple ? (m(), n("div", Q5, [
9002
- (m(!0), n(V1, null, A1(L, (c, R) => (m(), n("p", { key: R }, b(`${c.label},`), 1))), 128))
8981
+ C.multiple ? (m(), o("div", Q5, [
8982
+ (m(!0), o(H1, null, M1(L, (c, D) => (m(), o("p", { key: D }, y(`${c.label},`), 1))), 128))
9003
8983
  ])) : O("", !0),
9004
8984
  Y1(S("input", {
9005
8985
  id: C.id,
9006
8986
  ref_key: "input",
9007
8987
  ref: t,
9008
- "onUpdate:modelValue": l[0] || (l[0] = (c) => e.value = c),
8988
+ "onUpdate:modelValue": h[0] || (h[0] = (c) => e.value = c),
9009
8989
  autocomplete: C.autocomplete,
9010
8990
  class: p(["r-dropdown__input", {
9011
8991
  "r-dropdown__input--loading": C.loading
9012
8992
  }]),
9013
8993
  disabled: C.disabled,
9014
8994
  placeholder: C.placeholder,
9015
- readonly: _.value,
8995
+ readonly: T.value,
9016
8996
  type: "text",
9017
8997
  onKeydown: [
9018
- W1((c) => g(c, L[L.length - 1], F), ["backspace"]),
9019
- W1((c) => w(c, F), ["enter"])
8998
+ W1((c) => B(c, L[L.length - 1], u), ["backspace"]),
8999
+ W1((c) => g(c, u), ["enter"])
9020
9000
  ]
9021
9001
  }, null, 42, G5), [
9022
9002
  [c2, e.value]
9023
9003
  ]),
9024
- C.appendIcon || s.$slots.append ? (m(), n("div", {
9004
+ C.appendIcon || s.$slots.append ? (m(), o("div", {
9025
9005
  key: 3,
9026
9006
  class: p(["r-dropdown__append-icon", {
9027
9007
  "r-dropdown__append-icon--active": i.value,
9028
9008
  "r-dropdown__append-icon--error": C.errorMsg
9029
9009
  }])
9030
9010
  }, [
9031
- h(s.$slots, "append", {}, () => [
9032
- C.appendIcon ? (m(), x(D, {
9011
+ f(s.$slots, "append", {}, () => [
9012
+ C.appendIcon ? (m(), F(R, {
9033
9013
  key: 0,
9034
9014
  name: C.appendIcon
9035
9015
  }, null, 8, ["name"])) : O("", !0)
@@ -9037,49 +9017,48 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9037
9017
  ], 2)) : O("", !0)
9038
9018
  ], 10, W5)
9039
9019
  ]),
9040
- content: n1(({ hide: f, updatePosition: F }) => [
9020
+ content: n1(({ hide: w, updatePosition: u }) => [
9041
9021
  S("ul", {
9042
9022
  class: p(["r-dropdown-options", {
9043
9023
  "r-dropdown-options--active": i.value,
9044
9024
  [C.optionsClass]: C.optionsClass
9045
9025
  }])
9046
9026
  }, [
9047
- (m(!0), n(V1, null, A1(P.value, (c) => (m(), n("li", {
9048
- key: c.id,
9027
+ (m(!0), o(H1, null, M1(P.value, (c) => (m(), o("li", {
9028
+ key: c.value,
9049
9029
  "aria-disabled": c.disabled,
9050
9030
  class: p(["r-dropdown-options__option", {
9051
- "r-dropdown-options__option--active": y(c),
9031
+ "r-dropdown-options__option--active": b(c),
9052
9032
  "r-dropdown-options__option--disabled": c.disabled
9053
9033
  }]),
9054
- role: "option",
9055
- onClick: r1((R) => Z(R, c, f, F), ["prevent"])
9034
+ onClick: r1((D) => l(D, c, w, u), ["prevent"])
9056
9035
  }, [
9057
9036
  S("div", U5, [
9058
- h(s.$slots, "option-prepend", {}, () => [
9059
- c.prependIcon ? (m(), x(D, {
9037
+ f(s.$slots, "option-prepend", {}, () => [
9038
+ c.prependIcon ? (m(), F(R, {
9060
9039
  key: 0,
9061
9040
  class: p(["r-dropdown-options__option__prepend-icon", {
9062
- "r-dropdown-options__option__prepend-icon--active": y(c)
9041
+ "r-dropdown-options__option__prepend-icon--active": b(c)
9063
9042
  }]),
9064
9043
  name: c.prependIcon
9065
9044
  }, null, 8, ["class", "name"])) : O("", !0)
9066
9045
  ]),
9067
9046
  S("p", {
9068
9047
  class: p(["r-dropdown-options__option__label", {
9069
- "r-dropdown-options__option__label--active": y(c)
9048
+ "r-dropdown-options__option__label--active": b(c)
9070
9049
  }])
9071
- }, b(c.label), 3)
9050
+ }, y(c.label), 3)
9072
9051
  ]),
9073
- y(c) ? (m(), x(D, {
9052
+ b(c) ? (m(), F(R, {
9074
9053
  key: 0,
9075
9054
  class: p(["r-dropdown-options__option__append-icon", {
9076
- "r-dropdown-options__option__append-icon--active": y(c)
9055
+ "r-dropdown-options__option__append-icon--active": b(c)
9077
9056
  }]),
9078
9057
  name: "mdiCheck"
9079
9058
  }, null, 8, ["class"])) : O("", !0)
9080
9059
  ], 10, z5))), 128)),
9081
- P.value.length === 0 ? (m(), n("li", $5, [
9082
- h(s.$slots, "not-options", {}, () => [
9060
+ P.value.length === 0 ? (m(), o("li", $5, [
9061
+ f(s.$slots, "not-options", {}, () => [
9083
9062
  R1(" No options ")
9084
9063
  ])
9085
9064
  ])) : O("", !0)
@@ -9087,12 +9066,12 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9087
9066
  ]),
9088
9067
  _: 3
9089
9068
  }),
9090
- s.$props.hideDetails ? O("", !0) : (m(), n("div", K5, [
9091
- C.errorMsg ? (m(), n("div", j5, b(C.errorMsg), 1)) : O("", !0)
9069
+ s.$props.hideDetails ? O("", !0) : (m(), o("div", K5, [
9070
+ C.errorMsg ? (m(), o("div", j5, y(C.errorMsg), 1)) : O("", !0)
9092
9071
  ]))
9093
9072
  ], 512));
9094
9073
  }
9095
- }), q5 = ["id", "for"], n2 = /* @__PURE__ */ T({
9074
+ }), q5 = ["id", "for"], n2 = /* @__PURE__ */ v({
9096
9075
  __name: "RLabel",
9097
9076
  props: {
9098
9077
  id: { default: "" },
@@ -9101,13 +9080,13 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9101
9080
  },
9102
9081
  setup(H) {
9103
9082
  const V = H;
9104
- return (C, M) => (m(), n("label", {
9083
+ return (C, M) => (m(), o("label", {
9105
9084
  id: V.id,
9106
9085
  class: "r-label",
9107
9086
  for: V.for
9108
9087
  }, [
9109
- h(C.$slots, "default", {}, () => [
9110
- R1(b(V.text), 1)
9088
+ f(C.$slots, "default", {}, () => [
9089
+ R1(y(V.text), 1)
9111
9090
  ])
9112
9091
  ], 8, q5));
9113
9092
  }
@@ -9120,7 +9099,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9120
9099
  }, V3 = {
9121
9100
  key: 2,
9122
9101
  class: "description"
9123
- }, L3 = { class: "r-dialog__body" }, M3 = { class: "r-dialog__actions" }, L0 = /* @__PURE__ */ T({
9102
+ }, L3 = { class: "r-dialog__body" }, M3 = { class: "r-dialog__actions" }, L0 = /* @__PURE__ */ v({
9124
9103
  __name: "RModal",
9125
9104
  props: {
9126
9105
  modelValue: { type: Boolean, default: !1 },
@@ -9148,7 +9127,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9148
9127
  function i(e) {
9149
9128
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9150
9129
  }
9151
- return (e, d) => Y1((m(), n("div", {
9130
+ return (e, d) => Y1((m(), o("div", {
9152
9131
  class: p(["r-modal-overlay", e.overlayClass]),
9153
9132
  onClick: r1(i, ["stop"])
9154
9133
  }, [
@@ -9160,27 +9139,27 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9160
9139
  style: x1(L.value)
9161
9140
  }, [
9162
9141
  S("div", J5, [
9163
- h(e.$slots, "header"),
9164
- C.icon ? (m(), n("div", C3, [
9165
- q(D, {
9142
+ f(e.$slots, "header"),
9143
+ C.icon ? (m(), o("div", C3, [
9144
+ j(R, {
9166
9145
  name: C.icon
9167
9146
  }, null, 8, ["name"])
9168
9147
  ])) : O("", !0),
9169
- C.title ? (m(), n("div", H3, b(C.title), 1)) : O("", !0),
9170
- C.description ? (m(), n("div", V3, b(C.description), 1)) : O("", !0)
9148
+ C.title ? (m(), o("div", H3, y(C.title), 1)) : O("", !0),
9149
+ C.description ? (m(), o("div", V3, y(C.description), 1)) : O("", !0)
9171
9150
  ]),
9172
9151
  S("div", L3, [
9173
- h(e.$slots, "default")
9152
+ f(e.$slots, "default")
9174
9153
  ]),
9175
9154
  S("div", M3, [
9176
- h(e.$slots, "actions")
9155
+ f(e.$slots, "actions")
9177
9156
  ])
9178
9157
  ], 14, X5)
9179
9158
  ], 10, Y5)), [
9180
9159
  [O2, e.modelValue]
9181
9160
  ]);
9182
9161
  }
9183
- }), A3 = ["data-open"], i3 = ["data-open"], e3 = ["data-open"], M0 = /* @__PURE__ */ T({
9162
+ }), A3 = ["data-open"], i3 = ["data-open"], e3 = ["data-open"], M0 = /* @__PURE__ */ v({
9184
9163
  __name: "RSidebar",
9185
9164
  props: {
9186
9165
  modelValue: { type: Boolean, default: !1 },
@@ -9192,7 +9171,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9192
9171
  emits: ["update:modelValue"],
9193
9172
  setup(H, { emit: V }) {
9194
9173
  const C = H, M = V;
9195
- return (A, L) => (m(), n("div", {
9174
+ return (A, L) => (m(), o("div", {
9196
9175
  class: p(["r-sidebar__wrapper", [A.$props.wrapperClass]]),
9197
9176
  "data-open": C.modelValue
9198
9177
  }, [
@@ -9200,15 +9179,15 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9200
9179
  class: p(["r-sidebar", [C.class]]),
9201
9180
  "data-open": C.modelValue
9202
9181
  }, [
9203
- h(A.$slots, "default")
9182
+ f(A.$slots, "default")
9204
9183
  ], 10, i3),
9205
- C.showTrigger ? (m(), n("div", {
9184
+ C.showTrigger ? (m(), o("div", {
9206
9185
  key: 0,
9207
9186
  class: p(["r-sidebar__trigger", [C.triggerClass]]),
9208
9187
  "data-open": C.modelValue,
9209
9188
  onClick: L[0] || (L[0] = (i) => M("update:modelValue", !C.modelValue))
9210
9189
  }, [
9211
- h(A.$slots, "trigger", {}, () => [
9190
+ f(A.$slots, "trigger", {}, () => [
9212
9191
  R1(" > ")
9213
9192
  ])
9214
9193
  ], 10, e3)) : O("", !0)
@@ -9217,7 +9196,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9217
9196
  }), d3 = { class: "r-snackbar__text" }, t3 = {
9218
9197
  key: 0,
9219
9198
  class: "r-snackbar__close"
9220
- }, A0 = /* @__PURE__ */ T({
9199
+ }, A0 = /* @__PURE__ */ v({
9221
9200
  __name: "RSnackbar",
9222
9201
  props: {
9223
9202
  modelValue: { type: Boolean, default: !1 },
@@ -9231,7 +9210,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9231
9210
  emits: ["action", "update:modelValue"],
9232
9211
  setup(H, { emit: V }) {
9233
9212
  const C = H, M = V;
9234
- G(
9213
+ Q(
9235
9214
  () => C.modelValue,
9236
9215
  () => {
9237
9216
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9254,21 +9233,21 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9254
9233
  warning: "mdiAlert",
9255
9234
  info: "mdiInformation"
9256
9235
  })[C.variant || "info"]);
9257
- return (i, e) => (m(), n("div", {
9236
+ return (i, e) => (m(), o("div", {
9258
9237
  class: p(A.value)
9259
9238
  }, [
9260
- h(i.$slots, "default", {}, () => [
9261
- C.variant ? (m(), x(D, {
9239
+ f(i.$slots, "default", {}, () => [
9240
+ C.variant ? (m(), F(R, {
9262
9241
  key: 0,
9263
9242
  class: "r-snackbar__icon",
9264
9243
  name: L.value
9265
9244
  }, null, 8, ["name"])) : O("", !0)
9266
9245
  ]),
9267
- S("div", d3, b(C.text), 1),
9268
- h(i.$slots, "action"),
9269
- C.closable ? (m(), n("div", t3, [
9270
- h(i.$slots, "close", {}, () => [
9271
- q(D, {
9246
+ S("div", d3, y(C.text), 1),
9247
+ f(i.$slots, "action"),
9248
+ C.closable ? (m(), o("div", t3, [
9249
+ f(i.$slots, "close", {}, () => [
9250
+ j(R, {
9272
9251
  name: "mdiClose",
9273
9252
  size: 16,
9274
9253
  onClick: e[0] || (e[0] = r1((d) => i.$emit("update:modelValue", !1), ["stop"]))
@@ -9286,7 +9265,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9286
9265
  }, a3 = {
9287
9266
  key: 1,
9288
9267
  class: "r-switch-texts__hint"
9289
- }, i0 = /* @__PURE__ */ T({
9268
+ }, i0 = /* @__PURE__ */ v({
9290
9269
  __name: "RSwitch",
9291
9270
  props: {
9292
9271
  id: { default: "switch" },
@@ -9301,7 +9280,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9301
9280
  },
9302
9281
  emits: ["update:modelValue"],
9303
9282
  setup(H, { emit: V }) {
9304
- const C = H, M = V, A = t1({
9283
+ const C = H, M = V, A = d1({
9305
9284
  checked: !1
9306
9285
  }), L = k(() => ({
9307
9286
  "r-switch": !0,
@@ -9312,7 +9291,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9312
9291
  function i(e) {
9313
9292
  C.disabled || (A.checked = e.target.checked, M("update:modelValue", A.checked));
9314
9293
  }
9315
- return G(
9294
+ return Q(
9316
9295
  () => C.modelValue,
9317
9296
  (e) => {
9318
9297
  A.checked = e;
@@ -9322,7 +9301,7 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9322
9301
  // TODO: find a better way to do this
9323
9302
  immediate: !0
9324
9303
  }
9325
- ), (e, d) => (m(), n("div", {
9304
+ ), (e, d) => (m(), o("div", {
9326
9305
  class: p(["r-switch-container", {
9327
9306
  "r-switch-container--reverse": C.reverse,
9328
9307
  "r-switch-container--hide-details": C.hideDetails
@@ -9350,9 +9329,9 @@ const _5 = ["aria-disabled"], E5 = ["innerHTML"], N5 = /* @__PURE__ */ T({
9350
9329
  id: C.id,
9351
9330
  class: "r-switch-texts__label",
9352
9331
  for: C.id
9353
- }, b(C.label), 9, o3),
9354
- C.hideDetails ? O("", !0) : (m(), n("div", n3, [
9355
- C.errorMsg ? (m(), n("p", r3, b(C.errorMsg), 1)) : (m(), n("p", a3, b(C.hint), 1))
9332
+ }, y(C.label), 9, o3),
9333
+ C.hideDetails ? O("", !0) : (m(), o("div", n3, [
9334
+ C.errorMsg ? (m(), o("p", r3, y(C.errorMsg), 1)) : (m(), o("p", a3, y(C.hint), 1))
9356
9335
  ]))
9357
9336
  ], 2)
9358
9337
  ], 2));
@@ -9362,7 +9341,7 @@ var o1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON
9362
9341
  const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9363
9342
  key: 0,
9364
9343
  class: "r-tab-item__label"
9365
- }, S3 = /* @__PURE__ */ T({
9344
+ }, S3 = /* @__PURE__ */ v({
9366
9345
  __name: "RTabItem",
9367
9346
  props: {
9368
9347
  id: {},
@@ -9392,33 +9371,33 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9392
9371
  function e() {
9393
9372
  M("click:icon");
9394
9373
  }
9395
- return (d, t) => (m(), n("button", {
9374
+ return (d, t) => (m(), o("button", {
9396
9375
  "aria-disabled": C.disabled,
9397
9376
  "aria-selected": C.modelValue === C.id,
9398
9377
  class: p(A.value),
9399
9378
  disabled: C.disabled,
9400
9379
  style: x1(L.value),
9401
- onClick: t[0] || (t[0] = r1((u) => i(C.id), ["stop"]))
9380
+ onClick: t[0] || (t[0] = r1((Z) => i(C.id), ["stop"]))
9402
9381
  }, [
9403
- h(d.$slots, "prepend", {}, () => [
9404
- C.variant !== M1(o1).TEXT && C.prependIcon ? (m(), x(D, {
9382
+ f(d.$slots, "prepend", {}, () => [
9383
+ C.variant !== L1(o1).TEXT && C.prependIcon ? (m(), F(R, {
9405
9384
  key: 0,
9406
9385
  class: "r-tab-item__prepend-icon",
9407
9386
  name: C.prependIcon,
9408
9387
  size: 16
9409
9388
  }, null, 8, ["name"])) : O("", !0)
9410
9389
  ]),
9411
- q(p2, {
9390
+ j(p2, {
9412
9391
  duration: 150,
9413
9392
  name: "fade"
9414
9393
  }, {
9415
9394
  default: n1(() => [
9416
- C.variant !== M1(o1).ICON ? (m(), n("span", u3, b(C.label), 1)) : O("", !0)
9395
+ C.variant !== L1(o1).ICON ? (m(), o("span", u3, y(C.label), 1)) : O("", !0)
9417
9396
  ]),
9418
9397
  _: 1
9419
9398
  }),
9420
- h(d.$slots, "append", {}, () => [
9421
- C.variant !== M1(o1).TEXT && C.appendIcon ? (m(), x(D, {
9399
+ f(d.$slots, "append", {}, () => [
9400
+ C.variant !== L1(o1).TEXT && C.appendIcon ? (m(), F(R, {
9422
9401
  key: 0,
9423
9402
  class: "r-tab-item__append-icon",
9424
9403
  name: C.appendIcon,
@@ -9428,7 +9407,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9428
9407
  ])
9429
9408
  ], 14, Z3));
9430
9409
  }
9431
- }), e0 = /* @__PURE__ */ T({
9410
+ }), e0 = /* @__PURE__ */ v({
9432
9411
  __name: "RTabs",
9433
9412
  props: {
9434
9413
  tabs: { default: () => [] },
@@ -9439,13 +9418,13 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9439
9418
  },
9440
9419
  emits: ["update:modelValue", "click:icon"],
9441
9420
  setup(H, { emit: V }) {
9442
- const C = H, M = V, A = E(C.modelValue || C.tabs[0].id), L = k(() => ({
9421
+ const C = H, M = V, A = _(C.modelValue || C.tabs[0].id), L = k(() => ({
9443
9422
  "r-tabs": !0,
9444
9423
  "r-tabs--block": C.block,
9445
9424
  "r-tabs--tile": C.tile,
9446
9425
  "r-tabs--scrollable": C.scrollable
9447
9426
  }));
9448
- G(
9427
+ Q(
9449
9428
  () => A.value,
9450
9429
  () => {
9451
9430
  M("update:modelValue", A.value);
@@ -9454,16 +9433,16 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9454
9433
  function i() {
9455
9434
  M("click:icon");
9456
9435
  }
9457
- return (e, d) => (m(), n("div", {
9436
+ return (e, d) => (m(), o("div", {
9458
9437
  class: p(L.value)
9459
9438
  }, [
9460
- h(e.$slots, "default", {}, () => [
9461
- (m(!0), n(V1, null, A1(C.tabs, (t, u) => (m(), x(S3, {
9439
+ f(e.$slots, "default", {}, () => [
9440
+ (m(!0), o(H1, null, M1(C.tabs, (t, Z) => (m(), F(S3, {
9462
9441
  id: t.id,
9463
- key: u,
9442
+ key: Z,
9464
9443
  modelValue: A.value,
9465
9444
  "onUpdate:modelValue": d[0] || (d[0] = (r) => A.value = r),
9466
- active: u === A.value,
9445
+ active: Z === A.value,
9467
9446
  "append-icon": t.appendIcon,
9468
9447
  block: e.block,
9469
9448
  disabled: t.disabled,
@@ -9485,7 +9464,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9485
9464
  }, f3 = {
9486
9465
  key: 1,
9487
9466
  class: "r-textarea__hint"
9488
- }, d0 = /* @__PURE__ */ T({
9467
+ }, d0 = /* @__PURE__ */ v({
9489
9468
  __name: "RTextArea",
9490
9469
  props: {
9491
9470
  id: { default: "" },
@@ -9499,13 +9478,13 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9499
9478
  },
9500
9479
  emits: ["update:modelValue"],
9501
9480
  setup(H, { emit: V }) {
9502
- const C = H, M = V, A = t1({
9481
+ const C = H, M = V, A = d1({
9503
9482
  value: ""
9504
9483
  });
9505
9484
  function L(i) {
9506
9485
  M("update:modelValue", i.target.value);
9507
9486
  }
9508
- return G(
9487
+ return Q(
9509
9488
  () => C.modelValue,
9510
9489
  (i) => {
9511
9490
  A.value = i;
@@ -9513,8 +9492,8 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9513
9492
  {
9514
9493
  immediate: !0
9515
9494
  }
9516
- ), (i, e) => (m(), n("div", s3, [
9517
- C.label ? (m(), x(n2, {
9495
+ ), (i, e) => (m(), o("div", s3, [
9496
+ C.label ? (m(), F(n2, {
9518
9497
  key: 0,
9519
9498
  id: "textarea",
9520
9499
  class: "r-textarea__label",
@@ -9532,8 +9511,8 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9532
9511
  value: A.value,
9533
9512
  onInput: L
9534
9513
  }, null, 42, c3),
9535
- C.hideDetails ? O("", !0) : (m(), n("div", O3, [
9536
- C.errorMsg ? (m(), n("p", p3, b(C.errorMsg), 1)) : (m(), n("p", f3, b(C.hint), 1))
9514
+ C.hideDetails ? O("", !0) : (m(), o("div", O3, [
9515
+ C.errorMsg ? (m(), o("p", p3, y(C.errorMsg), 1)) : (m(), o("p", f3, y(C.hint), 1))
9537
9516
  ]))
9538
9517
  ]));
9539
9518
  }
@@ -9546,7 +9525,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9546
9525
  }, w3 = {
9547
9526
  key: 1,
9548
9527
  class: "r-textfield__hint"
9549
- }, t0 = /* @__PURE__ */ T({
9528
+ }, t0 = /* @__PURE__ */ v({
9550
9529
  __name: "RTextfield",
9551
9530
  props: {
9552
9531
  id: { default: "" },
@@ -9574,105 +9553,105 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9574
9553
  "click:clear"
9575
9554
  ],
9576
9555
  setup(H, { emit: V }) {
9577
- const C = H, M = V, A = E(), L = t1({
9556
+ const C = H, M = V, A = _(), L = d1({
9578
9557
  value: ""
9579
- }), i = E(C.type), e = {
9558
+ }), i = _(C.type), e = {
9580
9559
  password: "mdiLock",
9581
9560
  email: "mdiEmailOutline",
9582
9561
  tel: "mdiPhone",
9583
9562
  url: "mdiLink",
9584
9563
  number: "mdiNumeric",
9585
9564
  text: ""
9586
- }, d = E(!1), t = k(() => !!L.value), u = k(() => L.value.length > 0), r = k(() => {
9587
- var l;
9588
- return (l = C.errorMsg) == null ? void 0 : l.length;
9589
- }), a = k(() => C.clearable && u.value), o = k(() => {
9590
- const { disabled: l, loading: f } = C;
9565
+ }, d = _(!1), t = k(() => !!L.value), Z = k(() => L.value.length > 0), r = k(() => {
9566
+ var u;
9567
+ return (u = C.errorMsg) == null ? void 0 : u.length;
9568
+ }), n = k(() => C.clearable && Z.value), l = k(() => {
9569
+ const { disabled: u, loading: c } = C;
9591
9570
  return {
9592
9571
  "r-textfield": !0,
9593
9572
  "r-textfield--error": r.value,
9594
- "r-textfield--loading": f,
9595
- "r-textfield--disabled": l,
9596
- "r-textfield--clearable": a.value,
9573
+ "r-textfield--loading": c,
9574
+ "r-textfield--disabled": u,
9575
+ "r-textfield--clearable": n.value,
9597
9576
  "r-textfield--focus": d.value,
9598
9577
  "r-textfield--filled": t.value
9599
9578
  };
9600
- }), Z = k(() => ({
9579
+ }), a = k(() => ({
9601
9580
  "r-textfield__prepend-icon": !0,
9602
9581
  "r-textfield__prepend-icon--loading": C.loading,
9603
9582
  "r-textfield__prepend-icon--error": r.value && t.value
9604
9583
  })), B = k(() => ({
9605
9584
  "r-textfield__append-icon": !0,
9606
- "r-textfield__append-icon--clear": a.value,
9585
+ "r-textfield__append-icon--clear": n.value,
9607
9586
  "r-textfield__append-icon--error": r.value
9608
9587
  })), g = k(() => {
9609
- const { prependIcon: l, type: f } = C;
9610
- return l === "none" ? "" : l || e[f];
9611
- }), w = k(() => {
9612
- const { appendIcon: l, type: f } = C;
9613
- return l === "none" ? "" : r.value ? "mdiAlertCircleOutline" : a.value && ["text", "email"].includes(f) ? "mdiClose" : f === "password" && i.value === "password" ? "mdiEyeOutline" : f === "password" && i.value === "text" ? "mdiEyeOffOutline" : l;
9588
+ const { prependIcon: u, type: c } = C;
9589
+ return u === "none" ? "" : u || e[c];
9590
+ }), b = k(() => {
9591
+ const { appendIcon: u, type: c } = C;
9592
+ return u === "none" ? "" : r.value ? "mdiAlertCircleOutline" : n.value && ["text", "email"].includes(c) ? "mdiClose" : c === "password" && i.value === "password" ? "mdiEyeOutline" : c === "password" && i.value === "text" ? "mdiEyeOffOutline" : u;
9614
9593
  });
9615
- function y(l) {
9616
- d.value = !0, M("focus", l);
9594
+ function P(u) {
9595
+ d.value = !0, M("focus", u);
9617
9596
  }
9618
- function P(l) {
9619
- d.value = !1, M("blur", l);
9597
+ function T(u) {
9598
+ d.value = !1, M("blur", u);
9620
9599
  }
9621
- function _(l) {
9622
- L.value = l.target.value, M("input", l);
9600
+ function x(u) {
9601
+ L.value = u.target.value, M("input", u);
9623
9602
  }
9624
- function v() {
9625
- var l;
9626
- if (a.value) {
9627
- L.value = "", (l = A.value) == null || l.focus(), M("click:clear", {
9603
+ function s() {
9604
+ var u;
9605
+ if (n.value) {
9606
+ L.value = "", (u = A.value) == null || u.focus(), M("click:clear", {
9628
9607
  value: i.value === "number" ? +L.value : L.value
9629
9608
  });
9630
9609
  return;
9631
9610
  }
9632
9611
  M("click:icon", {
9633
9612
  value: i.value === "number" ? +L.value : L.value
9634
- }), i.value === "password" && N();
9613
+ }), i.value === "password" && h();
9635
9614
  }
9636
- function N() {
9615
+ function h() {
9637
9616
  i.value = i.value === "password" ? "text" : "password";
9638
9617
  }
9639
- function s() {
9640
- var l;
9641
- (l = A.value) == null || l.focus();
9618
+ function w() {
9619
+ var u;
9620
+ (u = A.value) == null || u.focus();
9642
9621
  }
9643
- return G(
9622
+ return Q(
9644
9623
  () => C.modelValue,
9645
- (l) => {
9646
- L.value = l;
9624
+ (u) => {
9625
+ L.value = u;
9647
9626
  },
9648
9627
  {
9649
9628
  immediate: !0
9650
9629
  }
9651
- ), G(
9630
+ ), Q(
9652
9631
  () => L.value,
9653
- (l) => {
9632
+ (u) => {
9654
9633
  M(
9655
9634
  "update:modelValue",
9656
- i.value === "number" ? +l : l
9635
+ i.value === "number" ? +u : u
9657
9636
  );
9658
9637
  }
9659
- ), (l, f) => (m(), n("div", h3, [
9660
- C.label ? (m(), x(n2, {
9638
+ ), (u, c) => (m(), o("div", h3, [
9639
+ C.label ? (m(), F(n2, {
9661
9640
  key: 0,
9662
9641
  id: C.id,
9663
9642
  class: "r-textfield__label",
9664
9643
  for: C.id,
9665
9644
  text: C.label,
9666
- onClick: s
9645
+ onClick: w
9667
9646
  }, null, 8, ["id", "for", "text"])) : O("", !0),
9668
9647
  S("div", g3, [
9669
9648
  S("div", {
9670
- class: p(o.value)
9649
+ class: p(l.value)
9671
9650
  }, [
9672
- h(l.$slots, "prepend"),
9673
- g.value && !l.$slots.prepend ? (m(), x(D, {
9651
+ f(u.$slots, "prepend"),
9652
+ g.value && !u.$slots.prepend ? (m(), F(R, {
9674
9653
  key: 0,
9675
- class: p(Z.value),
9654
+ class: p(a.value),
9676
9655
  name: g.value,
9677
9656
  size: 20
9678
9657
  }, null, 8, ["class", "name"])) : O("", !0),
@@ -9686,22 +9665,22 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9686
9665
  placeholder: C.placeholder,
9687
9666
  type: i.value,
9688
9667
  value: L.value,
9689
- onBlur: P,
9690
- onFocus: y,
9691
- onInput: _
9668
+ onBlur: T,
9669
+ onFocus: P,
9670
+ onInput: x
9692
9671
  }, null, 40, k3),
9693
- r.value ? O("", !0) : h(l.$slots, "append", { key: 1 }),
9694
- w.value && !l.$slots.append || r.value ? (m(), x(D, {
9672
+ r.value ? O("", !0) : f(u.$slots, "append", { key: 1 }),
9673
+ b.value && !u.$slots.append || r.value ? (m(), F(R, {
9695
9674
  key: 2,
9696
9675
  class: p(B.value),
9697
- name: `${w.value}`,
9676
+ name: `${b.value}`,
9698
9677
  size: 20,
9699
- onClick: v
9678
+ onClick: s
9700
9679
  }, null, 8, ["class", "name"])) : O("", !0)
9701
9680
  ], 2),
9702
- C.hideDetails ? O("", !0) : (m(), n("div", B3, [
9703
- C.errorMsg ? (m(), n("p", b3, b(C.errorMsg), 1)) : O("", !0),
9704
- !C.errorMsg && C.hint ? (m(), n("p", w3, b(C.hint), 1)) : O("", !0)
9681
+ C.hideDetails ? O("", !0) : (m(), o("div", B3, [
9682
+ C.errorMsg ? (m(), o("p", b3, y(C.errorMsg), 1)) : O("", !0),
9683
+ !C.errorMsg && C.hint ? (m(), o("p", w3, y(C.hint), 1)) : O("", !0)
9705
9684
  ]))
9706
9685
  ])
9707
9686
  ]));
@@ -9709,7 +9688,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9709
9688
  }), y3 = { class: "r-breadcrumb" }, P3 = {
9710
9689
  key: 0,
9711
9690
  class: "r-breadcrumb__title"
9712
- }, m0 = /* @__PURE__ */ T({
9691
+ }, m0 = /* @__PURE__ */ v({
9713
9692
  __name: "RBreadcrumb",
9714
9693
  props: {
9715
9694
  items: { default: () => [] },
@@ -9719,28 +9698,28 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9719
9698
  const V = H;
9720
9699
  return (C, M) => {
9721
9700
  const A = f2("router-link");
9722
- return m(), n("div", y3, [
9723
- (m(!0), n(V1, null, A1(V.items, (L, i) => (m(), n("div", {
9701
+ return m(), o("div", y3, [
9702
+ (m(!0), o(H1, null, M1(V.items, (L, i) => (m(), o("div", {
9724
9703
  key: i,
9725
9704
  class: "r-breadcrumb__item"
9726
9705
  }, [
9727
- q(A, {
9706
+ j(A, {
9728
9707
  class: "r-breadcrumb__link",
9729
9708
  to: L.to
9730
9709
  }, {
9731
9710
  default: n1(() => [
9732
- h(C.$slots, "item-icon", {}, () => [
9733
- L.icon ? (m(), x(D, {
9711
+ f(C.$slots, "item-icon", {}, () => [
9712
+ L.icon ? (m(), F(R, {
9734
9713
  key: 0,
9735
9714
  name: L.icon
9736
9715
  }, null, 8, ["name"])) : O("", !0)
9737
9716
  ]),
9738
- L.onlyIcon ? O("", !0) : (m(), n("span", P3, b(L.title), 1))
9717
+ L.onlyIcon ? O("", !0) : (m(), o("span", P3, y(L.title), 1))
9739
9718
  ]),
9740
9719
  _: 2
9741
9720
  }, 1032, ["to"]),
9742
- h(C.$slots, "custom-seperator", {}, () => [
9743
- i !== C.items.length - 1 && V.seperator ? (m(), x(D, {
9721
+ f(C.$slots, "custom-seperator", {}, () => [
9722
+ i !== C.items.length - 1 && V.seperator ? (m(), F(R, {
9744
9723
  key: 0,
9745
9724
  class: "r-breadcrumb__separator",
9746
9725
  name: V.seperator
@@ -9764,7 +9743,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9764
9743
  }, null, -1), z3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), U3 = [
9765
9744
  G3,
9766
9745
  z3
9767
- ], $3 = { class: "r-pagination__paginator__total" }, l0 = /* @__PURE__ */ T({
9746
+ ], $3 = { class: "r-pagination__paginator__total" }, l0 = /* @__PURE__ */ v({
9768
9747
  __name: "RPagination",
9769
9748
  props: {
9770
9749
  page: { default: 1 },
@@ -9780,12 +9759,12 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9780
9759
  function L(i) {
9781
9760
  i < 1 || i > A.value || M("update:page", i);
9782
9761
  }
9783
- return (i, e) => (m(), n("div", T3, [
9762
+ return (i, e) => (m(), o("div", T3, [
9784
9763
  S("div", v3, [
9785
- i.slash ? O("", !0) : (m(), n("span", F3, b(C.pageText), 1)),
9786
- S("span", R3, b(C.page), 1),
9787
- S("span", null, b(i.slash ? "/" : C.ofText), 1),
9788
- S("span", x3, b(A.value), 1)
9764
+ i.slash ? O("", !0) : (m(), o("span", F3, y(C.pageText), 1)),
9765
+ S("span", R3, y(C.page), 1),
9766
+ S("span", null, y(i.slash ? "/" : C.ofText), 1),
9767
+ S("span", x3, y(A.value), 1)
9789
9768
  ]),
9790
9769
  S("div", D3, [
9791
9770
  S("button", {
@@ -9793,8 +9772,8 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9793
9772
  disabled: C.page === 1,
9794
9773
  onClick: e[0] || (e[0] = (d) => L(+C.page - 1))
9795
9774
  }, [
9796
- h(i.$slots, "prev", {}, () => [
9797
- (m(), n("svg", {
9775
+ f(i.$slots, "prev", {}, () => [
9776
+ (m(), o("svg", {
9798
9777
  class: p({ "stroke-gray-400": C.page === 1 }),
9799
9778
  fill: "none",
9800
9779
  height: "16",
@@ -9824,8 +9803,8 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9824
9803
  disabled: C.page === A.value,
9825
9804
  onClick: e[2] || (e[2] = (d) => L(+C.page + 1))
9826
9805
  }, [
9827
- h(i.$slots, "next", {}, () => [
9828
- (m(), n("svg", {
9806
+ f(i.$slots, "next", {}, () => [
9807
+ (m(), o("svg", {
9829
9808
  class: p({ "stroke-gray-400": C.page === A.value }),
9830
9809
  fill: "none",
9831
9810
  height: "16",
@@ -9839,11 +9818,11 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9839
9818
  }, U3, 2))
9840
9819
  ])
9841
9820
  ], 8, Q3),
9842
- S("div", $3, " / " + b(A.value), 1)
9821
+ S("div", $3, " / " + y(A.value), 1)
9843
9822
  ])
9844
9823
  ]));
9845
9824
  }
9846
- }), K3 = ["value"], o0 = /* @__PURE__ */ T({
9825
+ }), K3 = ["value"], o0 = /* @__PURE__ */ v({
9847
9826
  __name: "RProgressbar",
9848
9827
  props: {
9849
9828
  value: { default: 0 },
@@ -9851,7 +9830,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9851
9830
  },
9852
9831
  setup(H) {
9853
9832
  const V = H;
9854
- return (C, M) => (m(), n("progress", {
9833
+ return (C, M) => (m(), o("progress", {
9855
9834
  "aria-valuemax": 100,
9856
9835
  class: "r-progressbar",
9857
9836
  max: 100,
@@ -9860,7 +9839,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9860
9839
  value: V.value
9861
9840
  }, null, 12, K3));
9862
9841
  }
9863
- }), w1 = "rocket-ui:r-item-group", n0 = /* @__PURE__ */ T({
9842
+ }), w1 = "rocket-ui:r-item-group", n0 = /* @__PURE__ */ v({
9864
9843
  __name: "RItemGroup",
9865
9844
  props: {
9866
9845
  modelValue: { default: () => [] },
@@ -9873,18 +9852,18 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9873
9852
  },
9874
9853
  emits: ["update:modelValue"],
9875
9854
  setup(H, { emit: V }) {
9876
- const C = H, M = V, A = E(C.as ?? "div"), L = E(C.modelValue ?? []), i = k(() => C.selectedClass);
9855
+ const C = H, M = V, A = _(C.as ?? "div"), L = _(C.modelValue ?? []), i = k(() => C.selectedClass);
9877
9856
  k1(`${w1}:selectedClass`, i.value);
9878
9857
  function e(t) {
9879
9858
  return L.value.includes(t);
9880
9859
  }
9881
9860
  k1(`${w1}:isSelected`, e);
9882
- function d(t, u) {
9883
- C.disabled || C.mandatory && L.value.length === 1 && u || C.max && L.value.length === C.max && u || (C.multiple ? u ? L.value.push(t) : L.value = L.value.filter((r) => r !== t) : L.value = u ? [t] : [], M("update:modelValue", L.value));
9861
+ function d(t, Z) {
9862
+ C.disabled || C.mandatory && L.value.length === 1 && Z || C.max && L.value.length === C.max && Z || (C.multiple ? Z ? L.value.push(t) : L.value = L.value.filter((r) => r !== t) : L.value = Z ? [t] : [], M("update:modelValue", L.value));
9884
9863
  }
9885
- return k1(`${w1}:select`, d), (t, u) => (m(), x(h2(A.value), null, {
9864
+ return k1(`${w1}:select`, d), (t, Z) => (m(), F(h2(A.value), null, {
9886
9865
  default: n1(() => [
9887
- h(t.$slots, "default", {
9866
+ f(t.$slots, "default", {
9888
9867
  isSelected: e,
9889
9868
  select: d,
9890
9869
  selected: L.value
@@ -9893,7 +9872,7 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9893
9872
  _: 3
9894
9873
  }));
9895
9874
  }
9896
- }), y1 = "rocket-ui:r-item-group", r0 = /* @__PURE__ */ T({
9875
+ }), y1 = "rocket-ui:r-item-group", r0 = /* @__PURE__ */ v({
9897
9876
  __name: "RItem",
9898
9877
  props: {
9899
9878
  value: { default: null },
@@ -9908,9 +9887,9 @@ const Z3 = ["aria-disabled", "aria-selected", "disabled"], u3 = {
9908
9887
  function e() {
9909
9888
  V.disabled || L(V.value, !0);
9910
9889
  }
9911
- return (d, t) => h(d.$slots, "default", {
9890
+ return (d, t) => f(d.$slots, "default", {
9912
9891
  disabled: V.disabled,
9913
- isSelected: M1(C)(V.value),
9892
+ isSelected: L1(C)(V.value),
9914
9893
  select: e,
9915
9894
  selectedClass: A.value,
9916
9895
  toggle: i,
@@ -9928,7 +9907,7 @@ export {
9928
9907
  H0 as RCheckbox,
9929
9908
  X2 as RChip,
9930
9909
  V0 as RDropdown,
9931
- D as RIcon,
9910
+ R as RIcon,
9932
9911
  r0 as RItem,
9933
9912
  n0 as RItemGroup,
9934
9913
  n2 as RLabel,