@rocketui/vue 0.2.40 → 0.2.42-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- import { defineComponent as R, openBlock as m, createElementBlock as u, createElementVNode as S, unref as J, reactive as u1, Fragment as d1, renderList as n1, normalizeClass as O, renderSlot as p, toDisplayString as v, createVNode as q, computed as h, createCommentVNode as g, mergeProps as J1, createBlock as _, watch as $, getCurrentScope as S2, onScopeDispose as s2, ref as Q, watchEffect as c2, onMounted as C2, Teleport as O2, withCtx as g1, withDirectives as H2, withModifiers as r1, withKeys as G1, vModelText as p2, createTextVNode as S1, onUnmounted as f2, normalizeStyle as _1, vShow as h2, resolveComponent as g2, provide as O1, resolveDynamicComponent as k2, inject as p1 } from "vue";
2
- const B2 = {
1
+ import { defineComponent as x, openBlock as m, createElementBlock as Z, createElementVNode as S, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as q, computed as g, createCommentVNode as O, mergeProps as C2, createBlock as E, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as N, watchEffect as p2, onMounted as H2, Teleport as O2, withCtx as k1, withDirectives as V2, withModifiers as A1, withKeys as $1, vModelText as f2, createTextVNode as S1, onUnmounted as h2, normalizeStyle as W1, vShow as g2, resolveComponent as k2, provide as O1, resolveDynamicComponent as B2, inject as f1 } from "vue";
2
+ const b2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
5
5
  mdiAbjadArabic: "M12 4C10.08 4 8.5 5.58 8.5 7.5C8.5 8.43 8.88 9.28 9.5 9.91C7.97 10.91 7 12.62 7 14.5C7 17.53 9.47 20 12.5 20C14.26 20 16 19.54 17.5 18.66L16.5 16.93C15.28 17.63 13.9 18 12.5 18C10.56 18 9 16.45 9 14.5C9 12.91 10.06 11.53 11.59 11.12L16.8 9.72L16.28 7.79L11.83 9C11.08 8.9 10.5 8.28 10.5 7.5C10.5 6.66 11.16 6 12 6C12.26 6 12.5 6.07 12.75 6.2L13.75 4.47C13.22 4.16 12.61 4 12 4Z",
@@ -7296,7 +7296,7 @@ const B2 = {
7296
7296
  mdiZodiacScorpio: "M17.71,15.29L16.29,16.71L17.59,18H16A2,2 0 0,1 14,16V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V16A4,4 0 0,0 16,20H17.59L16.29,21.29L17.71,22.71L21.41,19L17.71,15.29Z",
7297
7297
  mdiZodiacTaurus: "M15.59,9C17.7,7.74 19,5.46 19,3H17A5,5 0 0,1 12,8A5,5 0 0,1 7,3H5C5,5.46 6.3,7.74 8.41,9C5.09,11 4,15.28 6,18.6C7.97,21.92 12.27,23 15.59,21C18.91,19.04 20,14.74 18,11.42C17.42,10.43 16.58,9.59 15.59,9M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20Z",
7298
7298
  mdiZodiacVirgo: "M18.5,19.13C20,17.77 20,15.18 20,14A4,4 0 0,0 16,10C15.3,10 14.6,10.2 14,10.56V6A3,3 0 0,0 11,3C10.25,3 9.55,3.29 9,3.78C7.86,2.76 6.14,2.76 5,3.78C4.45,3.28 3.74,3 3,3V5A1,1 0 0,1 4,6V16H6V6A1,1 0 0,1 7,5A1,1 0 0,1 8,6V16H10V6A1,1 0 0,1 11,5A1,1 0 0,1 12,6V14C12,15.18 12,17.77 13.5,19.13C12.72,19.54 11.88,19.84 11,20V22C12.29,22 14.84,20.74 16,20.13C17.16,20.74 19.71,22 21,22V20C20.12,19.84 19.28,19.54 18.5,19.13M16,12A2,2 0 0,1 18,14C18,16.92 17.46,18 16,18C14.54,18 14,16.92 14,14A2,2 0 0,1 16,12Z"
7299
- }, b2 = ["height", "viewBox", "width"], w2 = ["d"], E = /* @__PURE__ */ R({
7299
+ }, w2 = ["height", "viewBox", "width"], v2 = ["d"], D = /* @__PURE__ */ x({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7305,18 +7305,18 @@ const B2 = {
7305
7305
  },
7306
7306
  setup(H) {
7307
7307
  const V = H;
7308
- return (C, M) => (m(), u("svg", {
7308
+ return (C, M) => (m(), Z("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: J(B2)[V.name]
7316
- }, null, 8, w2)
7317
- ], 8, b2));
7315
+ d: J(b2)[V.name]
7316
+ }, null, 8, v2)
7317
+ ], 8, w2));
7318
7318
  }
7319
- }), y2 = ["data-state"], v2 = ["onClick"], P2 = { class: "r-accordion__title" }, T2 = { class: "r-accordion__icon" }, F2 = { class: "r-accordion__content" }, A0 = /* @__PURE__ */ R({
7319
+ }), y2 = ["data-state"], P2 = ["onClick"], T2 = { class: "r-accordion__title" }, F2 = { class: "r-accordion__icon" }, R2 = { class: "r-accordion__content" }, l0 = /* @__PURE__ */ x({
7320
7320
  __name: "RAccordion",
7321
7321
  props: {
7322
7322
  accordions: {}
@@ -7335,9 +7335,9 @@ const B2 = {
7335
7335
  C[A].open = A === i ? !C[A].open : !1;
7336
7336
  });
7337
7337
  }
7338
- return (i, L) => (m(!0), u(d1, null, n1(C, (A, e) => (m(), u("div", {
7338
+ return (i, L) => (m(!0), Z(t1, null, r1(C, (A, e) => (m(), Z("div", {
7339
7339
  key: e,
7340
- class: O(["r-accordion", {
7340
+ class: p(["r-accordion", {
7341
7341
  "r-accordion--disabled": A.disabled
7342
7342
  }]),
7343
7343
  "data-state": A.open ? "opened" : "closed"
@@ -7346,31 +7346,31 @@ const B2 = {
7346
7346
  class: "r-accordion__header",
7347
7347
  onClick: (d) => M(e)
7348
7348
  }, [
7349
- p(i.$slots, "title", { accordion: A }, () => [
7350
- S("div", P2, v(A.title), 1)
7349
+ f(i.$slots, "title", { accordion: A }, () => [
7350
+ S("div", T2, w(A.title), 1)
7351
7351
  ]),
7352
- S("div", T2, [
7353
- p(i.$slots, "icon", {
7352
+ S("div", F2, [
7353
+ f(i.$slots, "icon", {
7354
7354
  open: A.open
7355
7355
  }, () => [
7356
- q(E, { name: "mdiChevronUp" })
7356
+ q(D, { name: "mdiChevronUp" })
7357
7357
  ])
7358
7358
  ])
7359
- ], 8, v2),
7360
- S("div", F2, [
7361
- p(i.$slots, "content", {}, () => [
7362
- S("span", null, v(A.content), 1)
7359
+ ], 8, P2),
7360
+ S("div", R2, [
7361
+ f(i.$slots, "content", {}, () => [
7362
+ S("span", null, w(A.content), 1)
7363
7363
  ])
7364
7364
  ])
7365
7365
  ], 10, y2))), 128));
7366
7366
  }
7367
- }), R2 = { class: "r-alert__icon" }, x2 = { class: "r-alert__content" }, D2 = { class: "r-alert__content__title" }, E2 = {
7367
+ }), x2 = { class: "r-alert__icon" }, D2 = { class: "r-alert__content" }, _2 = { class: "r-alert__content__title" }, E2 = {
7368
7368
  key: 0,
7369
7369
  class: "r-alert__content__description"
7370
- }, _2 = {
7370
+ }, W2 = {
7371
7371
  key: 0,
7372
7372
  class: "r-alert__close"
7373
- }, e0 = /* @__PURE__ */ R({
7373
+ }, o0 = /* @__PURE__ */ x({
7374
7374
  __name: "RAlert",
7375
7375
  props: {
7376
7376
  type: { default: "info" },
@@ -7382,12 +7382,12 @@ const B2 = {
7382
7382
  },
7383
7383
  emits: ["close"],
7384
7384
  setup(H, { emit: V }) {
7385
- const C = H, M = V, i = h(() => ({
7385
+ const C = H, M = V, i = g(() => ({
7386
7386
  " r-alert": !0,
7387
7387
  [`r-alert--${C.variant}`]: !0,
7388
7388
  "r-alert--block": C.block,
7389
7389
  [`r-alert--${C.variant}--${C.type}`]: !0
7390
- })), L = h(() => ({
7390
+ })), L = g(() => ({
7391
7391
  success: "mdiCheckCircle",
7392
7392
  error: "mdiAlertCircle",
7393
7393
  warning: "mdiAlert",
@@ -7396,83 +7396,83 @@ const B2 = {
7396
7396
  function A() {
7397
7397
  M("close");
7398
7398
  }
7399
- return (e, d) => (m(), u("div", {
7400
- class: O(i.value)
7399
+ return (e, d) => (m(), Z("div", {
7400
+ class: p(i.value)
7401
7401
  }, [
7402
- S("div", R2, [
7403
- p(e.$slots, "alert-icon", {}, () => [
7404
- q(E, {
7402
+ S("div", x2, [
7403
+ f(e.$slots, "alert-icon", {}, () => [
7404
+ q(D, {
7405
7405
  name: L.value,
7406
7406
  size: 24
7407
7407
  }, null, 8, ["name"])
7408
7408
  ])
7409
7409
  ]),
7410
- S("div", x2, [
7411
- p(e.$slots, "content", {}, () => [
7412
- S("p", D2, v(C.title), 1),
7413
- C.description ? (m(), u("p", E2, v(C.description), 1)) : g("", !0)
7410
+ S("div", D2, [
7411
+ f(e.$slots, "content", {}, () => [
7412
+ S("p", _2, w(C.title), 1),
7413
+ C.description ? (m(), Z("p", E2, w(C.description), 1)) : O("", !0)
7414
7414
  ])
7415
7415
  ]),
7416
- C.closable ? (m(), u("div", _2, [
7417
- p(e.$slots, "custom-close", {
7416
+ C.closable ? (m(), Z("div", W2, [
7417
+ f(e.$slots, "custom-close", {
7418
7418
  close: A,
7419
7419
  slotClass: "r-alert__close__button"
7420
7420
  }, () => [
7421
- q(E, {
7421
+ q(D, {
7422
7422
  class: "r-alert__close__button",
7423
7423
  name: "mdiClose",
7424
7424
  size: 16,
7425
7425
  onClick: A
7426
7426
  })
7427
7427
  ])
7428
- ])) : g("", !0)
7428
+ ])) : O("", !0)
7429
7429
  ], 2));
7430
7430
  }
7431
- }), $1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", W2 = { class: "r-avatar__wrapper" }, N2 = ["alt", "src"], d0 = /* @__PURE__ */ R({
7431
+ }), U1 = "data:image/svg+xml,%3csvg%20width='27'%20height='28'%20viewBox='0%200%2027%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M13.4993%2014C17.1827%2014%2020.166%2011.0167%2020.166%207.33334C20.166%203.65%2017.1827%200.666672%2013.4993%200.666672C9.81602%200.666672%206.83268%203.65%206.83268%207.33334C6.83268%2011.0167%209.81602%2014%2013.4993%2014ZM13.4993%2017.3333C9.04935%2017.3333%200.166016%2019.5667%200.166016%2024V25.6667C0.166016%2026.5833%200.916016%2027.3333%201.83268%2027.3333H25.166C26.0827%2027.3333%2026.8327%2026.5833%2026.8327%2025.6667V24C26.8327%2019.5667%2017.9493%2017.3333%2013.4993%2017.3333Z'%20fill='%234C5BE1'/%3e%3c/svg%3e", N2 = { class: "r-avatar__wrapper" }, I2 = ["alt", "src"], n0 = /* @__PURE__ */ x({
7432
7432
  __name: "RAvatar",
7433
7433
  props: {
7434
7434
  type: { default: "image" },
7435
- src: { default: $1 },
7435
+ src: { default: U1 },
7436
7436
  alt: { default: "Avatar" },
7437
7437
  size: { default: "2xl" },
7438
7438
  online: { type: Boolean, default: !1 },
7439
7439
  text: { default: "" }
7440
7440
  },
7441
7441
  setup(H) {
7442
- const V = H, C = h(() => ({
7442
+ const V = H, C = g(() => ({
7443
7443
  "r-avatar": !0,
7444
7444
  [`r-avatar--${V.size}`]: !0
7445
- })), M = h(() => V.type === "image" && !V.src), i = h(() => M.value ? $1 : V.src);
7445
+ })), M = g(() => V.type === "image" && !V.src), i = g(() => M.value ? U1 : V.src);
7446
7446
  function L(A) {
7447
7447
  const e = A.split(" ");
7448
7448
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7449
7449
  }
7450
- return (A, e) => (m(), u("div", W2, [
7450
+ return (A, e) => (m(), Z("div", N2, [
7451
7451
  S("div", {
7452
- class: O(C.value)
7452
+ class: p(C.value)
7453
7453
  }, [
7454
- V.type === "text" ? (m(), u("p", {
7454
+ V.type === "text" ? (m(), Z("p", {
7455
7455
  key: 0,
7456
- class: O(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7457
- }, v(L(V.text)), 3)) : (m(), u("img", {
7456
+ class: p(["r-avatar__text", { [`r-avatar__text--${V.size}`]: !0 }])
7457
+ }, w(L(V.text)), 3)) : (m(), Z("img", {
7458
7458
  key: 1,
7459
7459
  alt: V.alt,
7460
- class: O(["r-avatar__image", {
7460
+ class: p(["r-avatar__image", {
7461
7461
  [`r-avatar__image--${V.size}`]: !0,
7462
7462
  "r-avatar__image--anonymous": M.value
7463
7463
  }]),
7464
7464
  src: i.value
7465
- }, null, 10, N2))
7465
+ }, null, 10, I2))
7466
7466
  ], 2),
7467
- V.online ? (m(), u("span", {
7467
+ V.online ? (m(), Z("span", {
7468
7468
  key: 0,
7469
- class: O(["r-avatar__online", {
7469
+ class: p(["r-avatar__online", {
7470
7470
  [`r-avatar__online--${V.size}`]: !0
7471
7471
  }])
7472
- }, null, 2)) : g("", !0)
7472
+ }, null, 2)) : O("", !0)
7473
7473
  ]));
7474
7474
  }
7475
- }), I2 = ["innerHTML"], t0 = /* @__PURE__ */ R({
7475
+ }), Q2 = ["innerHTML"], r0 = /* @__PURE__ */ x({
7476
7476
  __name: "RBadge",
7477
7477
  props: {
7478
7478
  variant: { default: "primary" },
@@ -7488,7 +7488,7 @@ const B2 = {
7488
7488
  },
7489
7489
  emits: ["click"],
7490
7490
  setup(H) {
7491
- const V = H, C = h(() => ({
7491
+ const V = H, C = g(() => ({
7492
7492
  "r-badge": !0,
7493
7493
  [`r-badge--content ${V.contentClass}`]: V.content,
7494
7494
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7498,20 +7498,20 @@ const B2 = {
7498
7498
  [`r-badge--${V.variant}`]: V.variant,
7499
7499
  [V.class]: V.class
7500
7500
  }));
7501
- return (M, i) => (m(), u("div", {
7502
- class: O(["r-badge-wrapper group", [V.wrapperClass]])
7501
+ return (M, i) => (m(), Z("div", {
7502
+ class: p(["r-badge-wrapper group", [V.wrapperClass]])
7503
7503
  }, [
7504
7504
  S("span", {
7505
- class: O([{ "animate-ping-2": V.animation }, C.value])
7505
+ class: p([{ "animate-ping-2": V.animation }, C.value])
7506
7506
  }, null, 2),
7507
7507
  S("span", {
7508
- class: O(C.value),
7508
+ class: p(C.value),
7509
7509
  innerHTML: V.content
7510
- }, null, 10, I2),
7511
- p(M.$slots, "default")
7510
+ }, null, 10, Q2),
7511
+ f(M.$slots, "default")
7512
7512
  ], 2));
7513
7513
  }
7514
- }), Q2 = ["disabled"], m0 = /* @__PURE__ */ R({
7514
+ }), G2 = ["disabled"], a0 = /* @__PURE__ */ x({
7515
7515
  __name: "RButton",
7516
7516
  props: {
7517
7517
  variant: { default: "default" },
@@ -7527,7 +7527,7 @@ const B2 = {
7527
7527
  },
7528
7528
  emits: ["click"],
7529
7529
  setup(H) {
7530
- const V = H, C = h(() => ({
7530
+ const V = H, C = g(() => ({
7531
7531
  "r-button": !0,
7532
7532
  [`r-button__${V.variant}`]: !0,
7533
7533
  [`r-button__${V.variant}--${V.variant === "default" && V.color === void 0 ? "primary" : V.color}`]: !0,
@@ -7535,54 +7535,54 @@ const B2 = {
7535
7535
  [`r-button--${V.size || "medium"}`]: !0,
7536
7536
  "r-button--only-icon": V.icon,
7537
7537
  "r-button--block": V.block
7538
- })), M = h(() => ({
7538
+ })), M = g(() => ({
7539
7539
  small: 16,
7540
7540
  medium: 16,
7541
7541
  large: 20
7542
- })[V.size || "medium"]), i = h(() => ({
7542
+ })[V.size || "medium"]), i = g(() => ({
7543
7543
  height: V.height ? `${V.height}px` : ""
7544
7544
  }));
7545
- return (L, A) => (m(), u("button", J1(L.$attrs, {
7545
+ return (L, A) => (m(), Z("button", C2(L.$attrs, {
7546
7546
  class: C.value,
7547
7547
  disabled: L.disabled,
7548
7548
  style: i.value,
7549
7549
  onClick: A[0] || (A[0] = (e) => L.$emit("click"))
7550
7550
  }), [
7551
- p(L.$slots, "prepend", {
7551
+ f(L.$slots, "prepend", {
7552
7552
  onlyIcon: V.icon
7553
7553
  }, () => [
7554
- V.prependIcon ? (m(), _(E, {
7554
+ V.prependIcon ? (m(), E(D, {
7555
7555
  key: 0,
7556
- class: O(["r-button__prepend-icon", {
7556
+ class: p(["r-button__prepend-icon", {
7557
7557
  "r-button__prepend-icon--only": V.icon
7558
7558
  }]),
7559
7559
  name: V.prependIcon,
7560
7560
  size: M.value
7561
- }, null, 8, ["class", "name", "size"])) : g("", !0)
7561
+ }, null, 8, ["class", "name", "size"])) : O("", !0)
7562
7562
  ]),
7563
- p(L.$slots, "default", { disabled: L.disabled }),
7564
- p(L.$slots, "append", {
7563
+ f(L.$slots, "default", { disabled: L.disabled }),
7564
+ f(L.$slots, "append", {
7565
7565
  onlyIcon: V.icon
7566
7566
  }, () => [
7567
- !V.icon && V.appendIcon ? (m(), _(E, {
7567
+ !V.icon && V.appendIcon ? (m(), E(D, {
7568
7568
  key: 0,
7569
7569
  class: "r-button__append-icon",
7570
7570
  name: V.appendIcon,
7571
7571
  size: M.value
7572
- }, null, 8, ["name", "size"])) : g("", !0)
7572
+ }, null, 8, ["name", "size"])) : O("", !0)
7573
7573
  ])
7574
- ], 16, Q2));
7574
+ ], 16, G2));
7575
7575
  }
7576
- }), G2 = { class: "r-checkbox-wrapper" }, $2 = { class: "r-checkbox-container" }, U2 = ["id", "checked", "disabled", "indeterminate"], z2 = ["data-disabled"], K2 = { class: "r-checkbox-texts" }, q2 = ["data-disabled", "for"], j2 = {
7576
+ }), $2 = { class: "r-checkbox-wrapper" }, U2 = { class: "r-checkbox-container" }, z2 = ["id", "checked", "disabled", "indeterminate"], K2 = ["data-disabled"], q2 = { class: "r-checkbox-texts" }, j2 = ["data-disabled", "for"], X2 = {
7577
7577
  key: 0,
7578
7578
  class: "r-checkbox-texts__details"
7579
- }, X2 = {
7579
+ }, Y2 = {
7580
7580
  key: 0,
7581
7581
  class: "r-checkbox-texts__error"
7582
- }, Y2 = {
7582
+ }, J2 = {
7583
7583
  key: 1,
7584
7584
  class: "r-checkbox-texts__hint"
7585
- }, l0 = /* @__PURE__ */ R({
7585
+ }, Z0 = /* @__PURE__ */ x({
7586
7586
  __name: "RCheckbox",
7587
7587
  props: {
7588
7588
  id: { default: "" },
@@ -7603,7 +7603,7 @@ const B2 = {
7603
7603
  checked: "mdiCheck",
7604
7604
  unchecked: "",
7605
7605
  indeterminate: "mdiMinus"
7606
- }, A = h(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = h(() => ({
7606
+ }, A = g(() => i.indeterminate ? L.indeterminate : i.checked ? L.checked : L.unchecked), e = g(() => ({
7607
7607
  "r-checkbox": !0,
7608
7608
  "r-checkbox--checked": i.checked,
7609
7609
  "r-checkbox--disabled": C.disabled,
@@ -7613,7 +7613,7 @@ const B2 = {
7613
7613
  function d(t) {
7614
7614
  C.disabled || (i.checked = t.target.checked, i.indeterminate = !1, M("update:modelValue", i.checked));
7615
7615
  }
7616
- return $(
7616
+ return G(
7617
7617
  () => C.indeterminate,
7618
7618
  (t) => {
7619
7619
  i.indeterminate = t, t === !0 && (i.checked = !1, M("update:modelValue", i.checked));
@@ -7623,7 +7623,7 @@ const B2 = {
7623
7623
  // TODO: find a better way to do this
7624
7624
  immediate: !0
7625
7625
  }
7626
- ), $(
7626
+ ), G(
7627
7627
  () => C.modelValue,
7628
7628
  (t) => {
7629
7629
  i.checked = t;
@@ -7633,8 +7633,8 @@ const B2 = {
7633
7633
  // TODO: find a better way to do this
7634
7634
  immediate: !0
7635
7635
  }
7636
- ), (t, n) => (m(), u("div", G2, [
7637
- S("div", $2, [
7636
+ ), (t, n) => (m(), Z("div", $2, [
7637
+ S("div", U2, [
7638
7638
  S("input", {
7639
7639
  id: C.id,
7640
7640
  checked: i.checked,
@@ -7643,30 +7643,30 @@ const B2 = {
7643
7643
  indeterminate: i.indeterminate,
7644
7644
  type: "checkbox",
7645
7645
  onChange: d
7646
- }, null, 40, U2),
7646
+ }, null, 40, z2),
7647
7647
  S("div", {
7648
- class: O(e.value),
7648
+ class: p(e.value),
7649
7649
  "data-disabled": C.disabled
7650
7650
  }, [
7651
- q(E, {
7651
+ q(D, {
7652
7652
  name: A.value,
7653
7653
  size: 24
7654
7654
  }, null, 8, ["name"])
7655
- ], 10, z2)
7655
+ ], 10, K2)
7656
7656
  ]),
7657
- S("div", K2, [
7657
+ S("div", q2, [
7658
7658
  S("label", {
7659
7659
  class: "r-checkbox-texts__label",
7660
7660
  "data-disabled": C.disabled,
7661
7661
  for: C.id
7662
- }, v(C.label), 9, q2),
7663
- C.hideDetails ? g("", !0) : (m(), u("div", j2, [
7664
- C.errorMsg ? (m(), u("p", X2, v(C.errorMsg), 1)) : (m(), u("p", Y2, v(C.hint), 1))
7662
+ }, w(C.label), 9, j2),
7663
+ C.hideDetails ? O("", !0) : (m(), Z("div", X2, [
7664
+ C.errorMsg ? (m(), Z("p", Y2, w(C.errorMsg), 1)) : (m(), Z("p", J2, w(C.hint), 1))
7665
7665
  ]))
7666
7666
  ])
7667
7667
  ]));
7668
7668
  }
7669
- }), J2 = /* @__PURE__ */ R({
7669
+ }), C5 = /* @__PURE__ */ x({
7670
7670
  __name: "RChip",
7671
7671
  props: {
7672
7672
  variant: { default: "primary" },
@@ -7680,7 +7680,7 @@ const B2 = {
7680
7680
  },
7681
7681
  emits: ["click:chip", "click:close"],
7682
7682
  setup(H, { emit: V }) {
7683
- const C = H, M = V, i = h(() => ({
7683
+ const C = H, M = V, i = g(() => ({
7684
7684
  "r-chip": !0,
7685
7685
  "r-chip--disabled": C.disabled,
7686
7686
  [`r-chip__${C.variant}`]: C.variant,
@@ -7693,104 +7693,104 @@ const B2 = {
7693
7693
  function A(d) {
7694
7694
  C.disabled || !C.clearable || (d.stopPropagation(), M("click:close", d));
7695
7695
  }
7696
- const e = h(() => C.clearable ? "mdiClose" : C.appendIcon);
7697
- return (d, t) => (m(), u("div", {
7698
- class: O(i.value)
7696
+ const e = g(() => C.clearable ? "mdiClose" : C.appendIcon);
7697
+ return (d, t) => (m(), Z("div", {
7698
+ class: p(i.value)
7699
7699
  }, [
7700
7700
  S("div", {
7701
7701
  class: "r-chip__content",
7702
7702
  onClick: t[0] || (t[0] = (n) => L(n))
7703
7703
  }, [
7704
- p(d.$slots, "prepend", {
7704
+ f(d.$slots, "prepend", {
7705
7705
  disabled: C.disabled
7706
7706
  }, () => [
7707
- C.prependIcon ? (m(), _(E, {
7707
+ C.prependIcon ? (m(), E(D, {
7708
7708
  key: 0,
7709
7709
  "aria-disabled": C.disabled,
7710
7710
  class: "r-chip__content__prepend-icon",
7711
7711
  name: C.prependIcon,
7712
7712
  size: 12
7713
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7713
+ }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7714
7714
  ]),
7715
7715
  S("span", {
7716
- class: O(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7717
- }, v(C.label), 3)
7716
+ class: p(["r-chip__content__label", [C.noWrap && "whitespace-nowrap"]])
7717
+ }, w(C.label), 3)
7718
7718
  ]),
7719
- p(d.$slots, "append", {
7719
+ f(d.$slots, "append", {
7720
7720
  disabled: C.disabled
7721
7721
  }, () => [
7722
- e.value ? (m(), _(E, {
7722
+ e.value ? (m(), E(D, {
7723
7723
  key: 0,
7724
7724
  "aria-disabled": C.disabled,
7725
7725
  class: "r-chip__content__append-icon",
7726
7726
  name: e.value,
7727
7727
  size: 12,
7728
7728
  onClick: t[1] || (t[1] = (n) => A(n))
7729
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7729
+ }, null, 8, ["aria-disabled", "name"])) : O("", !0)
7730
7730
  ])
7731
7731
  ], 2));
7732
7732
  }
7733
7733
  });
7734
- function C5(H) {
7735
- return S2() ? (s2(H), !0) : !1;
7734
+ function H5(H) {
7735
+ return s2() ? (c2(H), !0) : !1;
7736
7736
  }
7737
- function V2(H) {
7737
+ function L2(H) {
7738
7738
  return typeof H == "function" ? H() : J(H);
7739
7739
  }
7740
- const L2 = typeof window < "u" && typeof document < "u";
7740
+ const M2 = typeof window < "u" && typeof document < "u";
7741
7741
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
7742
- const H5 = Object.prototype.toString, V5 = (H) => H5.call(H) === "[object Object]", R1 = () => {
7743
- }, L5 = /* @__PURE__ */ M5();
7744
- function M5() {
7742
+ const V5 = Object.prototype.toString, L5 = (H) => V5.call(H) === "[object Object]", x1 = () => {
7743
+ }, M5 = /* @__PURE__ */ i5();
7744
+ function i5() {
7745
7745
  var H;
7746
- return L2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7746
+ return M2 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7747
7747
  }
7748
- function l1(H) {
7748
+ function o1(H) {
7749
7749
  var V;
7750
- const C = V2(H);
7750
+ const C = L2(H);
7751
7751
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7752
7752
  }
7753
- const M2 = L2 ? window : void 0;
7754
- function F1(...H) {
7753
+ const i2 = M2 ? window : void 0;
7754
+ function R1(...H) {
7755
7755
  let V, C, M, i;
7756
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = M2) : [V, C, M, i] = H, !V)
7757
- return R1;
7756
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, M, i] = H, V = i2) : [V, C, M, i] = H, !V)
7757
+ return x1;
7758
7758
  Array.isArray(C) || (C = [C]), Array.isArray(M) || (M = [M]);
7759
7759
  const L = [], A = () => {
7760
7760
  L.forEach((n) => n()), L.length = 0;
7761
- }, e = (n, r, o, l) => (n.addEventListener(r, o, l), () => n.removeEventListener(r, o, l)), d = $(
7762
- () => [l1(V), V2(i)],
7761
+ }, e = (n, r, o, l) => (n.addEventListener(r, o, l), () => n.removeEventListener(r, o, l)), d = G(
7762
+ () => [o1(V), L2(i)],
7763
7763
  ([n, r]) => {
7764
7764
  if (A(), !n)
7765
7765
  return;
7766
- const o = V5(r) ? { ...r } : r;
7766
+ const o = L5(r) ? { ...r } : r;
7767
7767
  L.push(
7768
- ...C.flatMap((l) => M.map((Z) => e(n, l, Z, o)))
7768
+ ...C.flatMap((l) => M.map((u) => e(n, l, u, o)))
7769
7769
  );
7770
7770
  },
7771
7771
  { immediate: !0, flush: "post" }
7772
7772
  ), t = () => {
7773
7773
  d(), A();
7774
7774
  };
7775
- return C5(t), t;
7775
+ return H5(t), t;
7776
7776
  }
7777
- let U1 = !1;
7778
- function i5(H, V, C = {}) {
7779
- const { window: M = M2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7777
+ let z1 = !1;
7778
+ function A5(H, V, C = {}) {
7779
+ const { window: M = i2, ignore: i = [], capture: L = !0, detectIframe: A = !1 } = C;
7780
7780
  if (!M)
7781
7781
  return;
7782
- L5 && !U1 && (U1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", R1)), M.document.documentElement.addEventListener("click", R1));
7782
+ M5 && !z1 && (z1 = !0, Array.from(M.document.body.children).forEach((o) => o.addEventListener("click", x1)), M.document.documentElement.addEventListener("click", x1));
7783
7783
  let e = !0;
7784
7784
  const d = (o) => i.some((l) => {
7785
7785
  if (typeof l == "string")
7786
- return Array.from(M.document.querySelectorAll(l)).some((Z) => Z === o.target || o.composedPath().includes(Z));
7786
+ return Array.from(M.document.querySelectorAll(l)).some((u) => u === o.target || o.composedPath().includes(u));
7787
7787
  {
7788
- const Z = l1(l);
7789
- return Z && (o.target === Z || o.composedPath().includes(Z));
7788
+ const u = o1(l);
7789
+ return u && (o.target === u || o.composedPath().includes(u));
7790
7790
  }
7791
7791
  }), n = [
7792
- F1(M, "click", (o) => {
7793
- const l = l1(H);
7792
+ R1(M, "click", (o) => {
7793
+ const l = o1(H);
7794
7794
  if (!(!l || l === o.target || o.composedPath().includes(l))) {
7795
7795
  if (o.detail === 0 && (e = !d(o)), !e) {
7796
7796
  e = !0;
@@ -7799,76 +7799,76 @@ function i5(H, V, C = {}) {
7799
7799
  V(o);
7800
7800
  }
7801
7801
  }, { passive: !0, capture: L }),
7802
- F1(M, "pointerdown", (o) => {
7803
- const l = l1(H);
7802
+ R1(M, "pointerdown", (o) => {
7803
+ const l = o1(H);
7804
7804
  e = !d(o) && !!(l && !o.composedPath().includes(l));
7805
7805
  }, { passive: !0 }),
7806
- A && F1(M, "blur", (o) => {
7806
+ A && R1(M, "blur", (o) => {
7807
7807
  setTimeout(() => {
7808
7808
  var l;
7809
- const Z = l1(H);
7810
- ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(Z != null && Z.contains(M.document.activeElement)) && V(o);
7809
+ const u = o1(H);
7810
+ ((l = M.document.activeElement) == null ? void 0 : l.tagName) === "IFRAME" && !(u != null && u.contains(M.document.activeElement)) && V(o);
7811
7811
  }, 0);
7812
7812
  })
7813
7813
  ].filter(Boolean);
7814
7814
  return () => n.forEach((o) => o());
7815
7815
  }
7816
- function A5() {
7816
+ function e5() {
7817
7817
  function H() {
7818
7818
  return ((1 + Math.random()) * 65536 | 0).toString(16).substring(1);
7819
7819
  }
7820
7820
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7821
7821
  }
7822
- const e5 = ["top", "right", "bottom", "left"], a1 = Math.min, A1 = Math.max, k1 = Math.round, H1 = (H) => ({
7822
+ const d5 = ["top", "right", "bottom", "left"], a1 = Math.min, e1 = Math.max, B1 = Math.round, H1 = (H) => ({
7823
7823
  x: H,
7824
7824
  y: H
7825
- }), d5 = {
7825
+ }), t5 = {
7826
7826
  left: "right",
7827
7827
  right: "left",
7828
7828
  bottom: "top",
7829
7829
  top: "bottom"
7830
- }, t5 = {
7830
+ }, m5 = {
7831
7831
  start: "end",
7832
7832
  end: "start"
7833
7833
  };
7834
- function x1(H, V, C) {
7835
- return A1(H, a1(V, C));
7834
+ function D1(H, V, C) {
7835
+ return e1(H, a1(V, C));
7836
7836
  }
7837
- function m1(H, V) {
7837
+ function l1(H, V) {
7838
7838
  return typeof H == "function" ? H(V) : H;
7839
7839
  }
7840
- function M1(H) {
7840
+ function i1(H) {
7841
7841
  return H.split("-")[0];
7842
7842
  }
7843
7843
  function s1(H) {
7844
7844
  return H.split("-")[1];
7845
7845
  }
7846
- function i2(H) {
7846
+ function A2(H) {
7847
7847
  return H === "x" ? "y" : "x";
7848
7848
  }
7849
- function W1(H) {
7849
+ function N1(H) {
7850
7850
  return H === "y" ? "height" : "width";
7851
7851
  }
7852
7852
  function y1(H) {
7853
- return ["top", "bottom"].includes(M1(H)) ? "y" : "x";
7853
+ return ["top", "bottom"].includes(i1(H)) ? "y" : "x";
7854
7854
  }
7855
- function N1(H) {
7856
- return i2(y1(H));
7855
+ function I1(H) {
7856
+ return A2(y1(H));
7857
7857
  }
7858
- function m5(H, V, C) {
7858
+ function l5(H, V, C) {
7859
7859
  C === void 0 && (C = !1);
7860
- const M = s1(H), i = N1(H), L = W1(i);
7860
+ const M = s1(H), i = I1(H), L = N1(i);
7861
7861
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7862
- return V.reference[L] > V.floating[L] && (A = B1(A)), [A, B1(A)];
7862
+ return V.reference[L] > V.floating[L] && (A = b1(A)), [A, b1(A)];
7863
7863
  }
7864
- function l5(H) {
7865
- const V = B1(H);
7866
- return [D1(H), V, D1(V)];
7864
+ function o5(H) {
7865
+ const V = b1(H);
7866
+ return [_1(H), V, _1(V)];
7867
7867
  }
7868
- function D1(H) {
7869
- return H.replace(/start|end/g, (V) => t5[V]);
7868
+ function _1(H) {
7869
+ return H.replace(/start|end/g, (V) => m5[V]);
7870
7870
  }
7871
- function o5(H, V, C) {
7871
+ function n5(H, V, C) {
7872
7872
  const M = ["left", "right"], i = ["right", "left"], L = ["top", "bottom"], A = ["bottom", "top"];
7873
7873
  switch (H) {
7874
7874
  case "top":
@@ -7881,15 +7881,15 @@ function o5(H, V, C) {
7881
7881
  return [];
7882
7882
  }
7883
7883
  }
7884
- function n5(H, V, C, M) {
7884
+ function r5(H, V, C, M) {
7885
7885
  const i = s1(H);
7886
- let L = o5(M1(H), C === "start", M);
7887
- return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(D1)))), L;
7886
+ let L = n5(i1(H), C === "start", M);
7887
+ return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(_1)))), L;
7888
7888
  }
7889
- function B1(H) {
7890
- return H.replace(/left|right|bottom|top/g, (V) => d5[V]);
7889
+ function b1(H) {
7890
+ return H.replace(/left|right|bottom|top/g, (V) => t5[V]);
7891
7891
  }
7892
- function r5(H) {
7892
+ function a5(H) {
7893
7893
  return {
7894
7894
  top: 0,
7895
7895
  right: 0,
@@ -7898,15 +7898,15 @@ function r5(H) {
7898
7898
  ...H
7899
7899
  };
7900
7900
  }
7901
- function A2(H) {
7902
- return typeof H != "number" ? r5(H) : {
7901
+ function e2(H) {
7902
+ return typeof H != "number" ? a5(H) : {
7903
7903
  top: H,
7904
7904
  right: H,
7905
7905
  bottom: H,
7906
7906
  left: H
7907
7907
  };
7908
7908
  }
7909
- function b1(H) {
7909
+ function w1(H) {
7910
7910
  return {
7911
7911
  ...H,
7912
7912
  top: H.y,
@@ -7915,12 +7915,12 @@ function b1(H) {
7915
7915
  bottom: H.y + H.height
7916
7916
  };
7917
7917
  }
7918
- function z1(H, V, C) {
7918
+ function K1(H, V, C) {
7919
7919
  let {
7920
7920
  reference: M,
7921
7921
  floating: i
7922
7922
  } = H;
7923
- const L = y1(V), A = N1(V), e = W1(A), d = M1(V), t = L === "y", n = M.x + M.width / 2 - i.width / 2, r = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7923
+ const L = y1(V), A = I1(V), e = N1(A), d = i1(V), t = L === "y", n = M.x + M.width / 2 - i.width / 2, r = M.y + M.height / 2 - i.height / 2, o = M[e] / 2 - i[e] / 2;
7924
7924
  let l;
7925
7925
  switch (d) {
7926
7926
  case "top":
@@ -7963,7 +7963,7 @@ function z1(H, V, C) {
7963
7963
  }
7964
7964
  return l;
7965
7965
  }
7966
- const a5 = async (H, V, C) => {
7966
+ const Z5 = async (H, V, C) => {
7967
7967
  const {
7968
7968
  placement: M = "bottom",
7969
7969
  strategy: i = "absolute",
@@ -7977,16 +7977,16 @@ const a5 = async (H, V, C) => {
7977
7977
  }), {
7978
7978
  x: n,
7979
7979
  y: r
7980
- } = z1(t, M, d), o = M, l = {}, Z = 0;
7980
+ } = K1(t, M, d), o = M, l = {}, u = 0;
7981
7981
  for (let k = 0; k < e.length; k++) {
7982
7982
  const {
7983
- name: y,
7983
+ name: v,
7984
7984
  fn: B
7985
7985
  } = e[k], {
7986
- x: w,
7987
- y: P,
7988
- data: T,
7989
- reset: x
7986
+ x: b,
7987
+ y: F,
7988
+ data: R,
7989
+ reset: P
7990
7990
  } = await B({
7991
7991
  x: n,
7992
7992
  y: r,
@@ -8001,21 +8001,21 @@ const a5 = async (H, V, C) => {
8001
8001
  floating: V
8002
8002
  }
8003
8003
  });
8004
- if (n = w ?? n, r = P ?? r, l = {
8004
+ if (n = b ?? n, r = F ?? r, l = {
8005
8005
  ...l,
8006
- [y]: {
8007
- ...l[y],
8008
- ...T
8006
+ [v]: {
8007
+ ...l[v],
8008
+ ...R
8009
8009
  }
8010
- }, x && Z <= 50) {
8011
- Z++, typeof x == "object" && (x.placement && (o = x.placement), x.rects && (t = x.rects === !0 ? await A.getElementRects({
8010
+ }, P && u <= 50) {
8011
+ u++, typeof P == "object" && (P.placement && (o = P.placement), P.rects && (t = P.rects === !0 ? await A.getElementRects({
8012
8012
  reference: H,
8013
8013
  floating: V,
8014
8014
  strategy: i
8015
- }) : x.rects), {
8015
+ }) : P.rects), {
8016
8016
  x: n,
8017
8017
  y: r
8018
- } = z1(t, o, d)), k = -1;
8018
+ } = K1(t, o, d)), k = -1;
8019
8019
  continue;
8020
8020
  }
8021
8021
  }
@@ -8027,7 +8027,7 @@ const a5 = async (H, V, C) => {
8027
8027
  middlewareData: l
8028
8028
  };
8029
8029
  };
8030
- async function w1(H, V) {
8030
+ async function v1(H, V) {
8031
8031
  var C;
8032
8032
  V === void 0 && (V = {});
8033
8033
  const {
@@ -8043,34 +8043,34 @@ async function w1(H, V) {
8043
8043
  elementContext: r = "floating",
8044
8044
  altBoundary: o = !1,
8045
8045
  padding: l = 0
8046
- } = m1(V, H), Z = A2(l), y = e[o ? r === "floating" ? "reference" : "floating" : r], B = b1(await L.getClippingRect({
8047
- element: (C = await (L.isElement == null ? void 0 : L.isElement(y))) == null || C ? y : y.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8046
+ } = l1(V, H), u = e2(l), v = e[o ? r === "floating" ? "reference" : "floating" : r], B = w1(await L.getClippingRect({
8047
+ element: (C = await (L.isElement == null ? void 0 : L.isElement(v))) == null || C ? v : v.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8048
8048
  boundary: t,
8049
8049
  rootBoundary: n,
8050
8050
  strategy: d
8051
- })), w = r === "floating" ? {
8051
+ })), b = r === "floating" ? {
8052
8052
  ...A.floating,
8053
8053
  x: M,
8054
8054
  y: i
8055
- } : A.reference, P = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), T = await (L.isElement == null ? void 0 : L.isElement(P)) ? await (L.getScale == null ? void 0 : L.getScale(P)) || {
8055
+ } : A.reference, F = await (L.getOffsetParent == null ? void 0 : L.getOffsetParent(e.floating)), R = await (L.isElement == null ? void 0 : L.isElement(F)) ? await (L.getScale == null ? void 0 : L.getScale(F)) || {
8056
8056
  x: 1,
8057
8057
  y: 1
8058
8058
  } : {
8059
8059
  x: 1,
8060
8060
  y: 1
8061
- }, x = b1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8062
- rect: w,
8063
- offsetParent: P,
8061
+ }, P = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8062
+ rect: b,
8063
+ offsetParent: F,
8064
8064
  strategy: d
8065
- }) : w);
8065
+ }) : b);
8066
8066
  return {
8067
- top: (B.top - x.top + Z.top) / T.y,
8068
- bottom: (x.bottom - B.bottom + Z.bottom) / T.y,
8069
- left: (B.left - x.left + Z.left) / T.x,
8070
- right: (x.right - B.right + Z.right) / T.x
8067
+ top: (B.top - P.top + u.top) / R.y,
8068
+ bottom: (P.bottom - B.bottom + u.bottom) / R.y,
8069
+ left: (B.left - P.left + u.left) / R.x,
8070
+ right: (P.right - B.right + u.right) / R.x
8071
8071
  };
8072
8072
  }
8073
- const Z5 = (H) => ({
8073
+ const u5 = (H) => ({
8074
8074
  name: "arrow",
8075
8075
  options: H,
8076
8076
  async fn(V) {
@@ -8085,29 +8085,29 @@ const Z5 = (H) => ({
8085
8085
  } = V, {
8086
8086
  element: t,
8087
8087
  padding: n = 0
8088
- } = m1(H, V) || {};
8088
+ } = l1(H, V) || {};
8089
8089
  if (t == null)
8090
8090
  return {};
8091
- const r = A2(n), o = {
8091
+ const r = e2(n), o = {
8092
8092
  x: C,
8093
8093
  y: M
8094
- }, l = N1(i), Z = W1(l), k = await A.getDimensions(t), y = l === "y", B = y ? "top" : "left", w = y ? "bottom" : "right", P = y ? "clientHeight" : "clientWidth", T = L.reference[Z] + L.reference[l] - o[l] - L.floating[Z], x = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8095
- let N = U ? U[P] : 0;
8096
- (!N || !await (A.isElement == null ? void 0 : A.isElement(U))) && (N = e.floating[P] || L.floating[Z]);
8097
- const f = T / 2 - x / 2, G = N / 2 - k[Z] / 2 - 1, a = a1(r[B], G), c = a1(r[w], G), b = a, W = N - k[Z] - c, s = N / 2 - k[Z] / 2 + f, D = x1(b, s, W), I = !d.arrow && s1(i) != null && s != D && L.reference[Z] / 2 - (s < b ? a : c) - k[Z] / 2 < 0, F = I ? s < b ? s - b : s - W : 0;
8094
+ }, l = I1(i), u = N1(l), k = await A.getDimensions(t), v = l === "y", B = v ? "top" : "left", b = v ? "bottom" : "right", F = v ? "clientHeight" : "clientWidth", R = L.reference[u] + L.reference[l] - o[l] - L.floating[u], P = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8095
+ let W = U ? U[F] : 0;
8096
+ (!W || !await (A.isElement == null ? void 0 : A.isElement(U))) && (W = e.floating[F] || L.floating[u]);
8097
+ const h = R / 2 - P / 2, I = W / 2 - k[u] / 2 - 1, M1 = a1(r[B], I), a = a1(r[b], I), s = M1, y = W - k[u] - a, T = W / 2 - k[u] / 2 + h, c = D1(s, T, y), _ = !d.arrow && s1(i) != null && T != c && L.reference[u] / 2 - (T < s ? M1 : a) - k[u] / 2 < 0, $ = _ ? T < s ? T - s : T - y : 0;
8098
8098
  return {
8099
- [l]: o[l] + F,
8099
+ [l]: o[l] + $,
8100
8100
  data: {
8101
- [l]: D,
8102
- centerOffset: s - D - F,
8103
- ...I && {
8104
- alignmentOffset: F
8101
+ [l]: c,
8102
+ centerOffset: T - c - $,
8103
+ ..._ && {
8104
+ alignmentOffset: $
8105
8105
  }
8106
8106
  },
8107
- reset: I
8107
+ reset: _
8108
8108
  };
8109
8109
  }
8110
- }), u5 = function(H) {
8110
+ }), S5 = function(H) {
8111
8111
  return H === void 0 && (H = {}), {
8112
8112
  name: "flip",
8113
8113
  options: H,
@@ -8125,53 +8125,53 @@ const Z5 = (H) => ({
8125
8125
  crossAxis: r = !0,
8126
8126
  fallbackPlacements: o,
8127
8127
  fallbackStrategy: l = "bestFit",
8128
- fallbackAxisSideDirection: Z = "none",
8128
+ fallbackAxisSideDirection: u = "none",
8129
8129
  flipAlignment: k = !0,
8130
- ...y
8131
- } = m1(H, V);
8130
+ ...v
8131
+ } = l1(H, V);
8132
8132
  if ((C = L.arrow) != null && C.alignmentOffset)
8133
8133
  return {};
8134
- const B = M1(i), w = M1(e) === e, P = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), T = o || (w || !k ? [B1(e)] : l5(e));
8135
- !o && Z !== "none" && T.push(...n5(e, k, Z, P));
8136
- const x = [e, ...T], U = await w1(V, y), N = [];
8137
- let f = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8138
- if (n && N.push(U[B]), r) {
8139
- const b = m5(i, A, P);
8140
- N.push(U[b[0]], U[b[1]]);
8134
+ const B = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !k ? [b1(e)] : o5(e));
8135
+ !o && u !== "none" && R.push(...r5(e, k, u, F));
8136
+ const P = [e, ...R], U = await v1(V, v), W = [];
8137
+ let h = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8138
+ if (n && W.push(U[B]), r) {
8139
+ const s = l5(i, A, F);
8140
+ W.push(U[s[0]], U[s[1]]);
8141
8141
  }
8142
- if (f = [...f, {
8142
+ if (h = [...h, {
8143
8143
  placement: i,
8144
- overflows: N
8145
- }], !N.every((b) => b <= 0)) {
8146
- var G, a;
8147
- const b = (((G = L.flip) == null ? void 0 : G.index) || 0) + 1, W = x[b];
8148
- if (W)
8144
+ overflows: W
8145
+ }], !W.every((s) => s <= 0)) {
8146
+ var I, M1;
8147
+ const s = (((I = L.flip) == null ? void 0 : I.index) || 0) + 1, y = P[s];
8148
+ if (y)
8149
8149
  return {
8150
8150
  data: {
8151
- index: b,
8152
- overflows: f
8151
+ index: s,
8152
+ overflows: h
8153
8153
  },
8154
8154
  reset: {
8155
- placement: W
8155
+ placement: y
8156
8156
  }
8157
8157
  };
8158
- let s = (a = f.filter((D) => D.overflows[0] <= 0).sort((D, I) => D.overflows[1] - I.overflows[1])[0]) == null ? void 0 : a.placement;
8159
- if (!s)
8158
+ let T = (M1 = h.filter((c) => c.overflows[0] <= 0).sort((c, _) => c.overflows[1] - _.overflows[1])[0]) == null ? void 0 : M1.placement;
8159
+ if (!T)
8160
8160
  switch (l) {
8161
8161
  case "bestFit": {
8162
- var c;
8163
- const D = (c = f.map((I) => [I.placement, I.overflows.filter((F) => F > 0).reduce((F, i1) => F + i1, 0)]).sort((I, F) => I[1] - F[1])[0]) == null ? void 0 : c[0];
8164
- D && (s = D);
8162
+ var a;
8163
+ const c = (a = h.map((_) => [_.placement, _.overflows.filter(($) => $ > 0).reduce(($, Q) => $ + Q, 0)]).sort((_, $) => _[1] - $[1])[0]) == null ? void 0 : a[0];
8164
+ c && (T = c);
8165
8165
  break;
8166
8166
  }
8167
8167
  case "initialPlacement":
8168
- s = e;
8168
+ T = e;
8169
8169
  break;
8170
8170
  }
8171
- if (i !== s)
8171
+ if (i !== T)
8172
8172
  return {
8173
8173
  reset: {
8174
- placement: s
8174
+ placement: T
8175
8175
  }
8176
8176
  };
8177
8177
  }
@@ -8179,7 +8179,7 @@ const Z5 = (H) => ({
8179
8179
  }
8180
8180
  };
8181
8181
  };
8182
- function K1(H, V) {
8182
+ function q1(H, V) {
8183
8183
  return {
8184
8184
  top: H.top - V.height,
8185
8185
  right: H.right - V.width,
@@ -8187,10 +8187,10 @@ function K1(H, V) {
8187
8187
  left: H.left - V.width
8188
8188
  };
8189
8189
  }
8190
- function q1(H) {
8191
- return e5.some((V) => H[V] >= 0);
8190
+ function j1(H) {
8191
+ return d5.some((V) => H[V] >= 0);
8192
8192
  }
8193
- const S5 = function(H) {
8193
+ const s5 = function(H) {
8194
8194
  return H === void 0 && (H = {}), {
8195
8195
  name: "hide",
8196
8196
  options: H,
@@ -8200,29 +8200,29 @@ const S5 = function(H) {
8200
8200
  } = V, {
8201
8201
  strategy: M = "referenceHidden",
8202
8202
  ...i
8203
- } = m1(H, V);
8203
+ } = l1(H, V);
8204
8204
  switch (M) {
8205
8205
  case "referenceHidden": {
8206
- const L = await w1(V, {
8206
+ const L = await v1(V, {
8207
8207
  ...i,
8208
8208
  elementContext: "reference"
8209
- }), A = K1(L, C.reference);
8209
+ }), A = q1(L, C.reference);
8210
8210
  return {
8211
8211
  data: {
8212
8212
  referenceHiddenOffsets: A,
8213
- referenceHidden: q1(A)
8213
+ referenceHidden: j1(A)
8214
8214
  }
8215
8215
  };
8216
8216
  }
8217
8217
  case "escaped": {
8218
- const L = await w1(V, {
8218
+ const L = await v1(V, {
8219
8219
  ...i,
8220
8220
  altBoundary: !0
8221
- }), A = K1(L, C.floating);
8221
+ }), A = q1(L, C.floating);
8222
8222
  return {
8223
8223
  data: {
8224
8224
  escapedOffsets: A,
8225
- escaped: q1(A)
8225
+ escaped: j1(A)
8226
8226
  }
8227
8227
  };
8228
8228
  }
@@ -8232,16 +8232,16 @@ const S5 = function(H) {
8232
8232
  }
8233
8233
  };
8234
8234
  };
8235
- async function s5(H, V) {
8235
+ async function c5(H, V) {
8236
8236
  const {
8237
8237
  placement: C,
8238
8238
  platform: M,
8239
8239
  elements: i
8240
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = M1(C), e = s1(C), d = y1(C) === "y", t = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, r = m1(V, H);
8240
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = i1(C), e = s1(C), d = y1(C) === "y", t = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, r = l1(V, H);
8241
8241
  let {
8242
8242
  mainAxis: o,
8243
8243
  crossAxis: l,
8244
- alignmentAxis: Z
8244
+ alignmentAxis: u
8245
8245
  } = typeof r == "number" ? {
8246
8246
  mainAxis: r,
8247
8247
  crossAxis: 0,
@@ -8252,7 +8252,7 @@ async function s5(H, V) {
8252
8252
  alignmentAxis: null,
8253
8253
  ...r
8254
8254
  };
8255
- return e && typeof Z == "number" && (l = e === "end" ? Z * -1 : Z), d ? {
8255
+ return e && typeof u == "number" && (l = e === "end" ? u * -1 : u), d ? {
8256
8256
  x: l * n,
8257
8257
  y: o * t
8258
8258
  } : {
@@ -8260,7 +8260,7 @@ async function s5(H, V) {
8260
8260
  y: l * n
8261
8261
  };
8262
8262
  }
8263
- const c5 = function(H) {
8263
+ const p5 = function(H) {
8264
8264
  return H === void 0 && (H = 0), {
8265
8265
  name: "offset",
8266
8266
  options: H,
@@ -8268,7 +8268,7 @@ const c5 = function(H) {
8268
8268
  const {
8269
8269
  x: C,
8270
8270
  y: M
8271
- } = V, i = await s5(V, H);
8271
+ } = V, i = await c5(V, H);
8272
8272
  return {
8273
8273
  x: C + i.x,
8274
8274
  y: M + i.y,
@@ -8289,35 +8289,35 @@ const c5 = function(H) {
8289
8289
  mainAxis: L = !0,
8290
8290
  crossAxis: A = !1,
8291
8291
  limiter: e = {
8292
- fn: (y) => {
8292
+ fn: (v) => {
8293
8293
  let {
8294
8294
  x: B,
8295
- y: w
8296
- } = y;
8295
+ y: b
8296
+ } = v;
8297
8297
  return {
8298
8298
  x: B,
8299
- y: w
8299
+ y: b
8300
8300
  };
8301
8301
  }
8302
8302
  },
8303
8303
  ...d
8304
- } = m1(H, V), t = {
8304
+ } = l1(H, V), t = {
8305
8305
  x: C,
8306
8306
  y: M
8307
- }, n = await w1(V, d), r = y1(M1(i)), o = i2(r);
8308
- let l = t[o], Z = t[r];
8307
+ }, n = await v1(V, d), r = y1(i1(i)), o = A2(r);
8308
+ let l = t[o], u = t[r];
8309
8309
  if (L) {
8310
- const y = o === "y" ? "top" : "left", B = o === "y" ? "bottom" : "right", w = l + n[y], P = l - n[B];
8311
- l = x1(w, l, P);
8310
+ const v = o === "y" ? "top" : "left", B = o === "y" ? "bottom" : "right", b = l + n[v], F = l - n[B];
8311
+ l = D1(b, l, F);
8312
8312
  }
8313
8313
  if (A) {
8314
- const y = r === "y" ? "top" : "left", B = r === "y" ? "bottom" : "right", w = Z + n[y], P = Z - n[B];
8315
- Z = x1(w, Z, P);
8314
+ const v = r === "y" ? "top" : "left", B = r === "y" ? "bottom" : "right", b = u + n[v], F = u - n[B];
8315
+ u = D1(b, u, F);
8316
8316
  }
8317
8317
  const k = e.fn({
8318
8318
  ...V,
8319
8319
  [o]: l,
8320
- [r]: Z
8320
+ [r]: u
8321
8321
  });
8322
8322
  return {
8323
8323
  ...k,
@@ -8330,7 +8330,7 @@ const c5 = function(H) {
8330
8330
  };
8331
8331
  };
8332
8332
  function V1(H) {
8333
- return e2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8333
+ return d2(H) ? (H.nodeName || "").toLowerCase() : "#document";
8334
8334
  }
8335
8335
  function z(H) {
8336
8336
  var V;
@@ -8338,9 +8338,9 @@ function z(H) {
8338
8338
  }
8339
8339
  function L1(H) {
8340
8340
  var V;
8341
- return (V = (e2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8341
+ return (V = (d2(H) ? H.ownerDocument : H.document) || window.document) == null ? void 0 : V.documentElement;
8342
8342
  }
8343
- function e2(H) {
8343
+ function d2(H) {
8344
8344
  return H instanceof Node || H instanceof z(H).Node;
8345
8345
  }
8346
8346
  function C1(H) {
@@ -8349,7 +8349,7 @@ function C1(H) {
8349
8349
  function j(H) {
8350
8350
  return H instanceof HTMLElement || H instanceof z(H).HTMLElement;
8351
8351
  }
8352
- function j1(H) {
8352
+ function X1(H) {
8353
8353
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8354
8354
  }
8355
8355
  function c1(H) {
@@ -8361,32 +8361,32 @@ function c1(H) {
8361
8361
  } = K(H);
8362
8362
  return /auto|scroll|overlay|hidden|clip/.test(V + M + C) && !["inline", "contents"].includes(i);
8363
8363
  }
8364
- function p5(H) {
8364
+ function f5(H) {
8365
8365
  return ["table", "td", "th"].includes(V1(H));
8366
8366
  }
8367
- function I1(H) {
8368
- const V = Q1(), C = K(H);
8367
+ function Q1(H) {
8368
+ const V = G1(), C = K(H);
8369
8369
  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));
8370
8370
  }
8371
- function f5(H) {
8372
- let V = t1(H);
8373
- for (; j(V) && !v1(V); ) {
8374
- if (I1(V))
8371
+ function h5(H) {
8372
+ let V = m1(H);
8373
+ for (; j(V) && !P1(V); ) {
8374
+ if (Q1(V))
8375
8375
  return V;
8376
- V = t1(V);
8376
+ V = m1(V);
8377
8377
  }
8378
8378
  return null;
8379
8379
  }
8380
- function Q1() {
8380
+ function G1() {
8381
8381
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
8382
8382
  }
8383
- function v1(H) {
8383
+ function P1(H) {
8384
8384
  return ["html", "body", "#document"].includes(V1(H));
8385
8385
  }
8386
8386
  function K(H) {
8387
8387
  return z(H).getComputedStyle(H);
8388
8388
  }
8389
- function P1(H) {
8389
+ function T1(H) {
8390
8390
  return C1(H) ? {
8391
8391
  scrollLeft: H.scrollLeft,
8392
8392
  scrollTop: H.scrollTop
@@ -8395,90 +8395,90 @@ function P1(H) {
8395
8395
  scrollTop: H.pageYOffset
8396
8396
  };
8397
8397
  }
8398
- function t1(H) {
8398
+ function m1(H) {
8399
8399
  if (V1(H) === "html")
8400
8400
  return H;
8401
8401
  const V = (
8402
8402
  // Step into the shadow DOM of the parent of a slotted node.
8403
8403
  H.assignedSlot || // DOM Element detected.
8404
8404
  H.parentNode || // ShadowRoot detected.
8405
- j1(H) && H.host || // Fallback.
8405
+ X1(H) && H.host || // Fallback.
8406
8406
  L1(H)
8407
8407
  );
8408
- return j1(V) ? V.host : V;
8408
+ return X1(V) ? V.host : V;
8409
8409
  }
8410
- function d2(H) {
8411
- const V = t1(H);
8412
- return v1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : d2(V);
8410
+ function t2(H) {
8411
+ const V = m1(H);
8412
+ return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : t2(V);
8413
8413
  }
8414
8414
  function E1(H, V, C) {
8415
8415
  var M;
8416
8416
  V === void 0 && (V = []), C === void 0 && (C = !0);
8417
- const i = d2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8417
+ const i = t2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8418
8418
  return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? E1(A.frameElement) : []) : V.concat(i, E1(i, [], C));
8419
8419
  }
8420
- function t2(H) {
8420
+ function m2(H) {
8421
8421
  const V = K(H);
8422
8422
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8423
- const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = k1(C) !== L || k1(M) !== A;
8423
+ const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = B1(C) !== L || B1(M) !== A;
8424
8424
  return e && (C = L, M = A), {
8425
8425
  width: C,
8426
8426
  height: M,
8427
8427
  $: e
8428
8428
  };
8429
8429
  }
8430
- function m2(H) {
8430
+ function l2(H) {
8431
8431
  return C1(H) ? H : H.contextElement;
8432
8432
  }
8433
- function e1(H) {
8434
- const V = m2(H);
8433
+ function d1(H) {
8434
+ const V = l2(H);
8435
8435
  if (!j(V))
8436
8436
  return H1(1);
8437
8437
  const C = V.getBoundingClientRect(), {
8438
8438
  width: M,
8439
8439
  height: i,
8440
8440
  $: L
8441
- } = t2(V);
8442
- let A = (L ? k1(C.width) : C.width) / M, e = (L ? k1(C.height) : C.height) / i;
8441
+ } = m2(V);
8442
+ let A = (L ? B1(C.width) : C.width) / M, e = (L ? B1(C.height) : C.height) / i;
8443
8443
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8444
8444
  x: A,
8445
8445
  y: e
8446
8446
  };
8447
8447
  }
8448
- const h5 = /* @__PURE__ */ H1(0);
8449
- function l2(H) {
8448
+ const g5 = /* @__PURE__ */ H1(0);
8449
+ function o2(H) {
8450
8450
  const V = z(H);
8451
- return !Q1() || !V.visualViewport ? h5 : {
8451
+ return !G1() || !V.visualViewport ? g5 : {
8452
8452
  x: V.visualViewport.offsetLeft,
8453
8453
  y: V.visualViewport.offsetTop
8454
8454
  };
8455
8455
  }
8456
- function g5(H, V, C) {
8456
+ function k5(H, V, C) {
8457
8457
  return V === void 0 && (V = !1), !C || V && C !== z(H) ? !1 : V;
8458
8458
  }
8459
8459
  function Z1(H, V, C, M) {
8460
8460
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8461
- const i = H.getBoundingClientRect(), L = m2(H);
8461
+ const i = H.getBoundingClientRect(), L = l2(H);
8462
8462
  let A = H1(1);
8463
- V && (M ? C1(M) && (A = e1(M)) : A = e1(H));
8464
- const e = g5(L, C, M) ? l2(L) : H1(0);
8463
+ V && (M ? C1(M) && (A = d1(M)) : A = d1(H));
8464
+ const e = k5(L, C, M) ? o2(L) : H1(0);
8465
8465
  let d = (i.left + e.x) / A.x, t = (i.top + e.y) / A.y, n = i.width / A.x, r = i.height / A.y;
8466
8466
  if (L) {
8467
8467
  const o = z(L), l = M && C1(M) ? z(M) : M;
8468
- let Z = o.frameElement;
8469
- for (; Z && M && l !== o; ) {
8470
- const k = e1(Z), y = Z.getBoundingClientRect(), B = K(Z), w = y.left + (Z.clientLeft + parseFloat(B.paddingLeft)) * k.x, P = y.top + (Z.clientTop + parseFloat(B.paddingTop)) * k.y;
8471
- d *= k.x, t *= k.y, n *= k.x, r *= k.y, d += w, t += P, Z = z(Z).frameElement;
8468
+ let u = o.frameElement;
8469
+ for (; u && M && l !== o; ) {
8470
+ const k = d1(u), v = u.getBoundingClientRect(), B = K(u), b = v.left + (u.clientLeft + parseFloat(B.paddingLeft)) * k.x, F = v.top + (u.clientTop + parseFloat(B.paddingTop)) * k.y;
8471
+ d *= k.x, t *= k.y, n *= k.x, r *= k.y, d += b, t += F, u = z(u).frameElement;
8472
8472
  }
8473
8473
  }
8474
- return b1({
8474
+ return w1({
8475
8475
  width: n,
8476
8476
  height: r,
8477
8477
  x: d,
8478
8478
  y: t
8479
8479
  });
8480
8480
  }
8481
- function k5(H) {
8481
+ function B5(H) {
8482
8482
  let {
8483
8483
  rect: V,
8484
8484
  offsetParent: C,
@@ -8492,9 +8492,9 @@ function k5(H) {
8492
8492
  scrollTop: 0
8493
8493
  }, e = H1(1);
8494
8494
  const d = H1(0);
8495
- if ((i || !i && M !== "fixed") && ((V1(C) !== "body" || c1(L)) && (A = P1(C)), j(C))) {
8495
+ if ((i || !i && M !== "fixed") && ((V1(C) !== "body" || c1(L)) && (A = T1(C)), j(C))) {
8496
8496
  const t = Z1(C);
8497
- e = e1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8497
+ e = d1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8498
8498
  }
8499
8499
  return {
8500
8500
  width: V.width * e.x,
@@ -8503,29 +8503,29 @@ function k5(H) {
8503
8503
  y: V.y * e.y - A.scrollTop * e.y + d.y
8504
8504
  };
8505
8505
  }
8506
- function B5(H) {
8506
+ function b5(H) {
8507
8507
  return Array.from(H.getClientRects());
8508
8508
  }
8509
- function o2(H) {
8510
- return Z1(L1(H)).left + P1(H).scrollLeft;
8509
+ function n2(H) {
8510
+ return Z1(L1(H)).left + T1(H).scrollLeft;
8511
8511
  }
8512
- function b5(H) {
8513
- const V = L1(H), C = P1(H), M = H.ownerDocument.body, i = A1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = A1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8514
- let A = -C.scrollLeft + o2(H);
8512
+ function w5(H) {
8513
+ const V = L1(H), C = T1(H), M = H.ownerDocument.body, i = e1(V.scrollWidth, V.clientWidth, M.scrollWidth, M.clientWidth), L = e1(V.scrollHeight, V.clientHeight, M.scrollHeight, M.clientHeight);
8514
+ let A = -C.scrollLeft + n2(H);
8515
8515
  const e = -C.scrollTop;
8516
- return K(M).direction === "rtl" && (A += A1(V.clientWidth, M.clientWidth) - i), {
8516
+ return K(M).direction === "rtl" && (A += e1(V.clientWidth, M.clientWidth) - i), {
8517
8517
  width: i,
8518
8518
  height: L,
8519
8519
  x: A,
8520
8520
  y: e
8521
8521
  };
8522
8522
  }
8523
- function w5(H, V) {
8523
+ function v5(H, V) {
8524
8524
  const C = z(H), M = L1(H), i = C.visualViewport;
8525
8525
  let L = M.clientWidth, A = M.clientHeight, e = 0, d = 0;
8526
8526
  if (i) {
8527
8527
  L = i.width, A = i.height;
8528
- const t = Q1();
8528
+ const t = G1();
8529
8529
  (!t || t && V === "fixed") && (e = i.offsetLeft, d = i.offsetTop);
8530
8530
  }
8531
8531
  return {
@@ -8536,7 +8536,7 @@ function w5(H, V) {
8536
8536
  };
8537
8537
  }
8538
8538
  function y5(H, V) {
8539
- const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? e1(H) : H1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, d = i * L.x, t = M * L.y;
8539
+ const C = Z1(H, !0, V === "fixed"), M = C.top + H.clientTop, i = C.left + H.clientLeft, L = j(H) ? d1(H) : H1(1), A = H.clientWidth * L.x, e = H.clientHeight * L.y, d = i * L.x, t = M * L.y;
8540
8540
  return {
8541
8541
  width: A,
8542
8542
  height: e,
@@ -8544,52 +8544,52 @@ function y5(H, V) {
8544
8544
  y: t
8545
8545
  };
8546
8546
  }
8547
- function X1(H, V, C) {
8547
+ function Y1(H, V, C) {
8548
8548
  let M;
8549
8549
  if (V === "viewport")
8550
- M = w5(H, C);
8550
+ M = v5(H, C);
8551
8551
  else if (V === "document")
8552
- M = b5(L1(H));
8552
+ M = w5(L1(H));
8553
8553
  else if (C1(V))
8554
8554
  M = y5(V, C);
8555
8555
  else {
8556
- const i = l2(H);
8556
+ const i = o2(H);
8557
8557
  M = {
8558
8558
  ...V,
8559
8559
  x: V.x - i.x,
8560
8560
  y: V.y - i.y
8561
8561
  };
8562
8562
  }
8563
- return b1(M);
8563
+ return w1(M);
8564
8564
  }
8565
- function n2(H, V) {
8566
- const C = t1(H);
8567
- return C === V || !C1(C) || v1(C) ? !1 : K(C).position === "fixed" || n2(C, V);
8565
+ function r2(H, V) {
8566
+ const C = m1(H);
8567
+ return C === V || !C1(C) || P1(C) ? !1 : K(C).position === "fixed" || r2(C, V);
8568
8568
  }
8569
- function v5(H, V) {
8569
+ function P5(H, V) {
8570
8570
  const C = V.get(H);
8571
8571
  if (C)
8572
8572
  return C;
8573
8573
  let M = E1(H, [], !1).filter((e) => C1(e) && V1(e) !== "body"), i = null;
8574
8574
  const L = K(H).position === "fixed";
8575
- let A = L ? t1(H) : H;
8576
- for (; C1(A) && !v1(A); ) {
8577
- const e = K(A), d = I1(A);
8578
- !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && n2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = t1(A);
8575
+ let A = L ? m1(H) : H;
8576
+ for (; C1(A) && !P1(A); ) {
8577
+ const e = K(A), d = Q1(A);
8578
+ !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && r2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8579
8579
  }
8580
8580
  return V.set(H, M), M;
8581
8581
  }
8582
- function P5(H) {
8582
+ function T5(H) {
8583
8583
  let {
8584
8584
  element: V,
8585
8585
  boundary: C,
8586
8586
  rootBoundary: M,
8587
8587
  strategy: i
8588
8588
  } = H;
8589
- const A = [...C === "clippingAncestors" ? v5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((t, n) => {
8590
- const r = X1(V, n, i);
8591
- 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;
8592
- }, X1(V, e, i));
8589
+ const A = [...C === "clippingAncestors" ? P5(V, this._c) : [].concat(C), M], e = A[0], d = A.reduce((t, n) => {
8590
+ const r = Y1(V, n, i);
8591
+ return t.top = e1(r.top, t.top), t.right = a1(r.right, t.right), t.bottom = a1(r.bottom, t.bottom), t.left = e1(r.left, t.left), t;
8592
+ }, Y1(V, e, i));
8593
8593
  return {
8594
8594
  width: d.right - d.left,
8595
8595
  height: d.bottom - d.top,
@@ -8597,10 +8597,10 @@ function P5(H) {
8597
8597
  y: d.top
8598
8598
  };
8599
8599
  }
8600
- function T5(H) {
8601
- return t2(H);
8600
+ function F5(H) {
8601
+ return m2(H);
8602
8602
  }
8603
- function F5(H, V, C) {
8603
+ function R5(H, V, C) {
8604
8604
  const M = j(V), i = L1(V), L = C === "fixed", A = Z1(H, !0, L, V);
8605
8605
  let e = {
8606
8606
  scrollLeft: 0,
@@ -8608,11 +8608,11 @@ function F5(H, V, C) {
8608
8608
  };
8609
8609
  const d = H1(0);
8610
8610
  if (M || !M && !L)
8611
- if ((V1(V) !== "body" || c1(i)) && (e = P1(V)), M) {
8611
+ if ((V1(V) !== "body" || c1(i)) && (e = T1(V)), M) {
8612
8612
  const t = Z1(V, !0, L, V);
8613
8613
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8614
8614
  } else
8615
- i && (d.x = o2(i));
8615
+ i && (d.x = n2(i));
8616
8616
  return {
8617
8617
  x: A.left + e.scrollLeft - d.x,
8618
8618
  y: A.top + e.scrollTop - d.y,
@@ -8620,27 +8620,27 @@ function F5(H, V, C) {
8620
8620
  height: A.height
8621
8621
  };
8622
8622
  }
8623
- function Y1(H, V) {
8623
+ function J1(H, V) {
8624
8624
  return !j(H) || K(H).position === "fixed" ? null : V ? V(H) : H.offsetParent;
8625
8625
  }
8626
- function r2(H, V) {
8626
+ function a2(H, V) {
8627
8627
  const C = z(H);
8628
8628
  if (!j(H))
8629
8629
  return C;
8630
- let M = Y1(H, V);
8631
- for (; M && p5(M) && K(M).position === "static"; )
8632
- M = Y1(M, V);
8633
- return M && (V1(M) === "html" || V1(M) === "body" && K(M).position === "static" && !I1(M)) ? C : M || f5(H) || C;
8630
+ let M = J1(H, V);
8631
+ for (; M && f5(M) && K(M).position === "static"; )
8632
+ M = J1(M, V);
8633
+ return M && (V1(M) === "html" || V1(M) === "body" && K(M).position === "static" && !Q1(M)) ? C : M || h5(H) || C;
8634
8634
  }
8635
- const R5 = async function(H) {
8635
+ const x5 = async function(H) {
8636
8636
  let {
8637
8637
  reference: V,
8638
8638
  floating: C,
8639
8639
  strategy: M
8640
8640
  } = H;
8641
- const i = this.getOffsetParent || r2, L = this.getDimensions;
8641
+ const i = this.getOffsetParent || a2, L = this.getDimensions;
8642
8642
  return {
8643
- reference: F5(V, await i(C), M),
8643
+ reference: R5(V, await i(C), M),
8644
8644
  floating: {
8645
8645
  x: 0,
8646
8646
  y: 0,
@@ -8648,50 +8648,50 @@ const R5 = async function(H) {
8648
8648
  }
8649
8649
  };
8650
8650
  };
8651
- function x5(H) {
8651
+ function D5(H) {
8652
8652
  return K(H).direction === "rtl";
8653
8653
  }
8654
- const D5 = {
8655
- convertOffsetParentRelativeRectToViewportRelativeRect: k5,
8654
+ const _5 = {
8655
+ convertOffsetParentRelativeRectToViewportRelativeRect: B5,
8656
8656
  getDocumentElement: L1,
8657
- getClippingRect: P5,
8658
- getOffsetParent: r2,
8659
- getElementRects: R5,
8660
- getClientRects: B5,
8661
- getDimensions: T5,
8662
- getScale: e1,
8657
+ getClippingRect: T5,
8658
+ getOffsetParent: a2,
8659
+ getElementRects: x5,
8660
+ getClientRects: b5,
8661
+ getDimensions: F5,
8662
+ getScale: d1,
8663
8663
  isElement: C1,
8664
- isRTL: x5
8664
+ isRTL: D5
8665
8665
  }, E5 = (H, V, C) => {
8666
8666
  const M = /* @__PURE__ */ new Map(), i = {
8667
- platform: D5,
8667
+ platform: _5,
8668
8668
  ...C
8669
8669
  }, L = {
8670
8670
  ...i.platform,
8671
8671
  _c: M
8672
8672
  };
8673
- return a5(H, V, {
8673
+ return Z5(H, V, {
8674
8674
  ...i,
8675
8675
  platform: L
8676
8676
  });
8677
8677
  };
8678
- var a2 = /* @__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))(a2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), Z2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(Z2 || {});
8679
- async function _5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8678
+ var Z2 = /* @__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))(Z2 || {}), Y = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(Y || {}), u2 = /* @__PURE__ */ ((H) => (H.Tooltip = "tooltip", H.Popover = "popover", H.Dropdown = "dropdown", H))(u2 || {});
8679
+ async function W5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e) {
8680
8680
  !H || !V || E5(H, V, {
8681
8681
  placement: M,
8682
8682
  middleware: [
8683
- c5(i),
8683
+ p5(i),
8684
8684
  O5({ padding: L }),
8685
- Z5({ element: C }),
8686
- u5(),
8687
- S5()
8685
+ u5({ element: C }),
8686
+ S5(),
8687
+ s5()
8688
8688
  ]
8689
8689
  }).then(({ x: d, y: t, placement: n, middlewareData: r }) => {
8690
- var Z, k;
8690
+ var u, k;
8691
8691
  if (!V)
8692
8692
  return;
8693
8693
  r.flip && V.setAttribute("data-placement", n);
8694
- const o = (Z = H.offsetParent) == null ? void 0 : Z.getBoundingClientRect().left, l = (k = H.offsetParent) == null ? void 0 : k.getBoundingClientRect().width;
8694
+ const o = (u = H.offsetParent) == null ? void 0 : u.getBoundingClientRect().left, l = (k = H.offsetParent) == null ? void 0 : k.getBoundingClientRect().width;
8695
8695
  if (Object.assign(V.style, {
8696
8696
  maxWidth: e === "dropdown" ? `${l}px` : "auto",
8697
8697
  left: e === "dropdown" ? `${o}px` : `${d}px`,
@@ -8699,7 +8699,7 @@ async function _5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8699
8699
  animation: `r-tooltip-show ${A}ms ease-in-out forwards`,
8700
8700
  transformOrigin: "start"
8701
8701
  }), C && r.arrow) {
8702
- const { x: y, y: B } = r.arrow, w = {
8702
+ const { x: v, y: B } = r.arrow, b = {
8703
8703
  top: "bottom",
8704
8704
  right: "left",
8705
8705
  bottom: "top",
@@ -8707,19 +8707,19 @@ async function _5({ value: H }, { value: V }, { value: C }, M, i, L, A = 300, e)
8707
8707
  /* Right */
8708
8708
  }[n.split("-")[0]];
8709
8709
  Object.assign(C.style, {
8710
- left: d != null ? `${y}px` : "",
8710
+ left: d != null ? `${v}px` : "",
8711
8711
  top: t != null ? `${B}px` : "",
8712
8712
  right: "",
8713
8713
  bottom: "",
8714
- [`${w}`]: "-4px"
8714
+ [`${b}`]: "-4px"
8715
8715
  });
8716
8716
  }
8717
8717
  });
8718
8718
  }
8719
- const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__ */ R({
8719
+ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__ */ x({
8720
8720
  __name: "RTooltip",
8721
8721
  props: {
8722
- placement: { default: a2.Top },
8722
+ placement: { default: Z2.Top },
8723
8723
  text: { default: "" },
8724
8724
  dark: { type: Boolean, default: !0 },
8725
8725
  light: { type: Boolean, default: !1 },
@@ -8736,17 +8736,17 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
8736
8736
  resizable: { type: Boolean, default: !0 },
8737
8737
  triggerClass: { default: "" },
8738
8738
  tooltipClass: { default: "" },
8739
- type: { default: Z2.Tooltip }
8739
+ type: { default: u2.Tooltip }
8740
8740
  },
8741
8741
  emits: ["show", "hide"],
8742
8742
  setup(H, { emit: V }) {
8743
- const C = H, M = V, i = Q(), L = Q(), A = Q(), e = A5();
8743
+ const C = H, M = V, i = N(), L = N(), A = N(), e = e5();
8744
8744
  async function d() {
8745
8745
  if (C.disabled || !L.value)
8746
8746
  return;
8747
8747
  const B = document.querySelectorAll(".r-tooltip--active");
8748
- B.length > 0 && B.forEach((w) => {
8749
- w.style.display = "", w.classList.remove("r-tooltip--active"), w.dataset.show = "false", M("hide", w.id);
8748
+ B.length > 0 && B.forEach((b) => {
8749
+ b.style.display = "", b.classList.remove("r-tooltip--active"), b.dataset.show = "false", M("hide", b.id);
8750
8750
  }), L.value.classList.contains("r-tooltip--active") ? t() : (k(), L.value.style.display = "block", L.value.classList.add("r-tooltip--active"), L.value.dataset.show = "true", M("show", L.value.id), n());
8751
8751
  }
8752
8752
  function t(B = null) {
@@ -8766,14 +8766,14 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
8766
8766
  function l() {
8767
8767
  C.disabled || (L.value.style.display === "" && C.triggers.includes(Y.Hover) ? d() : L.value.style.display !== "" && C.triggers.includes(Y.Hover) && t());
8768
8768
  }
8769
- function Z() {
8769
+ function u() {
8770
8770
  C.triggers.includes(Y.Hover) && k();
8771
8771
  }
8772
8772
  function k(B) {
8773
- const { placement: w, offset: P, padding: T, disabled: x, showDelay: U, type: N } = C;
8774
- x || _5(i, L, A, w, P, T, U, N);
8773
+ const { placement: b, offset: F, padding: R, disabled: P, showDelay: U, type: W } = C;
8774
+ P || W5(i, L, A, b, F, R, U, W);
8775
8775
  }
8776
- const y = h(() => ({
8776
+ const v = g(() => ({
8777
8777
  "r-tooltip": !0,
8778
8778
  "r-tooltip--dark": C.dark && !C.light,
8779
8779
  "r-tooltip--light": C.light
@@ -8782,90 +8782,93 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
8782
8782
  C.resizable && k();
8783
8783
  }, document.addEventListener("scroll", () => {
8784
8784
  k();
8785
- }), c2(
8785
+ }), p2(
8786
8786
  () => {
8787
8787
  C.disabled || (C.shown && C.triggers.includes(Y.Manual) ? d() : !C.shown && C.triggers.includes(Y.Manual) && t());
8788
8788
  },
8789
8789
  { flush: "post" }
8790
8790
  // this is important to avoid infinite loop & for fire on mounted
8791
- ), C2(() => {
8792
- C.resizable && i.value.parentElement.parentElement.addEventListener("scroll", k()), i5(i, (B) => {
8791
+ ), H2(() => {
8792
+ C.resizable && i.value.parentElement.parentElement.addEventListener("scroll", k()), A5(i, (B) => {
8793
8793
  L.value.classList.contains("r-tooltip--active") && t(B);
8794
8794
  }, { ignore: [L] });
8795
- }), (B, w) => (m(), u(d1, null, [
8795
+ }), (B, b) => (m(), Z(t1, null, [
8796
8796
  S("div", {
8797
8797
  ref_key: "trigger",
8798
8798
  ref: i,
8799
8799
  "aria-disabled": C.disabled,
8800
- class: O(["r-tooltip-trigger", B.triggerClass]),
8800
+ class: p(["r-tooltip-trigger", B.triggerClass]),
8801
8801
  onClick: r,
8802
8802
  onMouseenter: o,
8803
8803
  onMouseleave: l,
8804
- onMousemove: Z
8804
+ onMousemove: u
8805
8805
  }, [
8806
- p(B.$slots, "default", {
8806
+ f(B.$slots, "default", {
8807
8807
  activators: {
8808
8808
  click: r,
8809
8809
  mouseenter: o,
8810
8810
  mouseleave: l,
8811
- mousemove: Z
8811
+ mousemove: u
8812
8812
  },
8813
8813
  tooltipId: J(e),
8814
8814
  updatePosition: k
8815
8815
  }, () => [
8816
8816
  S("div", {
8817
8817
  innerHTML: C.triggerContent
8818
- }, null, 8, N5)
8818
+ }, null, 8, I5)
8819
8819
  ])
8820
- ], 42, W5),
8821
- (m(), _(O2, { to: "body" }, [
8820
+ ], 42, N5),
8821
+ (m(), E(O2, { to: "body" }, [
8822
8822
  S("div", {
8823
8823
  id: J(e),
8824
8824
  ref_key: "tooltip",
8825
8825
  ref: L,
8826
- class: O([y.value, B.tooltipClass]),
8826
+ class: p([v.value, B.tooltipClass]),
8827
8827
  "data-show": "false",
8828
8828
  role: "tooltip"
8829
8829
  }, [
8830
- p(B.$slots, "content", {
8830
+ f(B.$slots, "content", {
8831
8831
  hide: t,
8832
8832
  updatePosition: k
8833
8833
  }, () => [
8834
- C.text ? (m(), u("div", {
8834
+ C.text ? (m(), Z("div", {
8835
8835
  key: 0,
8836
- class: O(["r-tooltip__content", {
8836
+ class: p(["r-tooltip__content", {
8837
8837
  "r-tooltip__content--dark": C.dark,
8838
8838
  "r-tooltip__content--light": C.light
8839
8839
  }])
8840
- }, v(C.text), 3)) : g("", !0),
8841
- C.text ? (m(), u("div", {
8840
+ }, w(C.text), 3)) : O("", !0),
8841
+ C.text ? (m(), Z("div", {
8842
8842
  key: 1,
8843
8843
  id: "arrow",
8844
8844
  ref_key: "arrowElement",
8845
8845
  ref: A,
8846
- class: O(["r-tooltip__arrow", {
8846
+ class: p(["r-tooltip__arrow", {
8847
8847
  "r-tooltip__arrow--dark": C.dark,
8848
8848
  "r-tooltip__arrow--light": C.light
8849
8849
  }])
8850
- }, null, 2)) : g("", !0)
8850
+ }, null, 2)) : O("", !0)
8851
8851
  ])
8852
- ], 10, I5)
8852
+ ], 10, Q5)
8853
8853
  ]))
8854
8854
  ], 64));
8855
8855
  }
8856
- }), G5 = ["id", "onClick"], $5 = { class: "r-dropdown__selections" }, U5 = { key: 0 }, z5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], K5 = ["data-has-value", "onClick"], q5 = ["aria-disabled", "onClick"], j5 = { class: "flex items-center" }, X5 = {
8857
- key: 0,
8856
+ }), $5 = ["id", "onClick"], U5 = { class: "r-dropdown__selections" }, z5 = { key: 0 }, K5 = ["id", "autocomplete", "disabled", "placeholder", "readonly", "onInput", "onKeydown"], q5 = ["data-has-value", "onClick"], j5 = ["onClick"], X5 = { class: "flex items-center" }, Y5 = { class: "r-dropdown-options__option__label" }, J5 = {
8857
+ key: 1,
8858
+ class: "r-dropdown-options__divider"
8859
+ }, C3 = ["aria-disabled", "onClick"], H3 = { class: "flex items-center" }, V3 = {
8860
+ key: 2,
8858
8861
  class: "r-dropdown-options__no-option"
8859
- }, Y5 = {
8862
+ }, L3 = {
8860
8863
  key: 0,
8861
8864
  class: "r-dropdown-details"
8862
- }, J5 = {
8865
+ }, M3 = {
8863
8866
  key: 0,
8864
8867
  class: "r-dropdown-error"
8865
- }, C3 = {
8868
+ }, i3 = {
8866
8869
  key: 1,
8867
8870
  class: "r-dropdown-hint"
8868
- }, H3 = /* @__PURE__ */ R({
8871
+ }, A3 = /* @__PURE__ */ x({
8869
8872
  __name: "RDropdown",
8870
8873
  props: {
8871
8874
  options: { default: () => [] },
@@ -8890,116 +8893,125 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
8890
8893
  noOptionsText: { default: "No options" },
8891
8894
  hideOptionCheckIcon: { type: Boolean, default: !1 },
8892
8895
  hideChipClear: { type: Boolean, default: !1 },
8893
- tooltipClass: { default: "" }
8896
+ tooltipClass: { default: "" },
8897
+ showSelectAll: { type: Boolean, default: !1 },
8898
+ selectAllText: { default: "Select all" }
8894
8899
  },
8895
8900
  emits: ["update:modelValue"],
8896
8901
  setup(H, { emit: V }) {
8897
- const C = H, M = V, i = Q({}), L = Q([]), A = Q(!1), e = Q("");
8902
+ const C = H, M = V, i = N({}), L = N([]), A = N(!1), e = N("");
8898
8903
  function d(a) {
8899
8904
  if (!a || typeof a == "object" || typeof a == "function" || typeof a == "symbol" || typeof a > "u" || Array.isArray(a))
8900
8905
  return !0;
8901
- const [c] = Object == null ? void 0 : Object.keys(a);
8902
- return ["label", "value"].includes(c);
8906
+ const [s] = Object == null ? void 0 : Object.keys(a);
8907
+ return ["label", "value"].includes(s);
8903
8908
  }
8904
- const t = h(() => {
8909
+ const t = g(() => {
8905
8910
  const a = C.options;
8906
- return d(a[0]) ? a : a.map((c) => ({
8907
- value: c,
8908
- label: String(c)
8911
+ return d(a[0]) ? a : a.map((s) => ({
8912
+ value: s,
8913
+ label: String(s)
8909
8914
  }));
8910
- }), n = h(() => {
8915
+ }), n = g(() => {
8911
8916
  const a = C.modelValue;
8912
8917
  return d(a) ? a : {
8913
8918
  value: a,
8914
8919
  label: String(a)
8915
8920
  };
8916
- }), r = Q(), o = Q(), l = Q();
8917
- function Z(a) {
8918
- var W, s, D, I;
8921
+ }), r = N(), o = N(), l = N();
8922
+ function u(a) {
8923
+ var T, c, _, $;
8919
8924
  if (C.disabled)
8920
8925
  return;
8921
- const c = document.getElementById(a);
8922
- document.querySelectorAll(".r-dropdown--active").forEach((F) => {
8923
- var i1;
8924
- F.id !== ((i1 = r.value) == null ? void 0 : i1.id) && F.classList.contains("r-dropdown--active") && (F.childNodes.forEach((X) => {
8925
- X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((T1) => T1.includes("--active")).forEach((T1) => {
8926
- X == null || X.classList.remove(T1);
8926
+ const s = document.getElementById(a);
8927
+ document.querySelectorAll(".r-dropdown--active").forEach((Q) => {
8928
+ var p1;
8929
+ Q.id !== ((p1 = r.value) == null ? void 0 : p1.id) && Q.classList.contains("r-dropdown--active") && (Q.childNodes.forEach((X) => {
8930
+ X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((F1) => F1.includes("--active")).forEach((F1) => {
8931
+ X == null || X.classList.remove(F1);
8927
8932
  }));
8928
- }), F.classList.remove("r-dropdown--active"));
8929
- }), c != null && c.classList.contains("r-dropdown--active") ? (c.classList.remove("r-dropdown--active"), A.value = !1, (W = r.value) == null || W.blur(), (s = o.value) == null || s.blur()) : (c == null || c.classList.add("r-dropdown--active"), A.value = !0, (D = r.value) == null || D.focus(), (I = o.value) == null || I.focus(), c == null || c.childNodes.forEach((F) => {
8930
- F != null && F.classList && (Object == null || Object.values(F == null ? void 0 : F.classList).forEach((i1) => {
8931
- F == null || F.classList.add(`${i1}--active`);
8933
+ }), Q.classList.remove("r-dropdown--active"));
8934
+ }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (T = r.value) == null || T.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (_ = r.value) == null || _.focus(), ($ = o.value) == null || $.focus(), s == null || s.childNodes.forEach((Q) => {
8935
+ Q != null && Q.classList && (Object == null || Object.values(Q == null ? void 0 : Q.classList).forEach((p1) => {
8936
+ Q == null || Q.classList.add(`${p1}--active`);
8932
8937
  }));
8933
8938
  }));
8934
8939
  }
8935
8940
  function k(a) {
8936
- const c = document.getElementById(a);
8937
- c != null && c.classList.contains("r-dropdown--active") && (c.classList.remove("r-dropdown--active"), A.value = !1);
8941
+ const s = document.getElementById(a);
8942
+ s == null || s.classList.remove("r-dropdown--active"), A.value = !1;
8938
8943
  }
8939
- function y(a, c, b, W) {
8940
- var s, D;
8941
- if (W(), !c.disabled) {
8944
+ function v(a, s, y, T) {
8945
+ var c;
8946
+ if (T(), !s.disabled) {
8942
8947
  if (C.multiple) {
8943
- L.value.find((I) => I.value === c.value) ? L.value.splice(L.value.indexOf(c), 1) : L.value.push(c), e.value = "", C.searchable && ((s = o.value) == null || s.focus());
8948
+ L.value.find((_) => _.value === s.value) ? L.value.splice(L.value.indexOf(s), 1) : L.value.push(s), e.value = "", C.searchable && ((c = o.value) == null || c.focus());
8944
8949
  return;
8945
8950
  }
8946
- B(a, c), C.closeOnSelect && (b(), Z((D = r.value) == null ? void 0 : D.id));
8951
+ B(a, s), C.closeOnSelect && y();
8947
8952
  }
8948
8953
  }
8949
- function B(a, c) {
8950
- if (i.value.value === c.value) {
8954
+ function B(a, s) {
8955
+ if (i.value.value === s.value) {
8951
8956
  i.value = {}, e.value = "", M("update:modelValue", "");
8952
8957
  return;
8953
8958
  }
8954
- e.value = c.label, i.value = c, M("update:modelValue", c);
8959
+ e.value = s.label, i.value = s, M("update:modelValue", s);
8955
8960
  }
8956
- function w(a, c, b) {
8961
+ function b(a, s, y) {
8957
8962
  if (a instanceof KeyboardEvent && a.key !== "Backspace" || e.value !== "")
8958
8963
  return;
8959
- a.stopPropagation(), b();
8960
- const W = L.value.findIndex((s) => s.value === c.value);
8961
- L.value.splice(W, 1);
8964
+ a.stopPropagation(), y();
8965
+ const T = L.value.findIndex((c) => c.value === s.value);
8966
+ L.value.splice(T, 1);
8962
8967
  }
8963
- function P(a, c) {
8964
- var s;
8968
+ function F(a, s) {
8969
+ var c;
8965
8970
  if (!C.multiple)
8966
8971
  return;
8967
- a.stopPropagation(), c();
8968
- const b = e.value;
8969
- if (b === "")
8972
+ a.stopPropagation(), s();
8973
+ const y = e.value;
8974
+ if (y === "")
8970
8975
  return;
8971
- t.value.find((D) => D.label === b) || (L.value.push({ value: b, label: b }), e.value = "", (s = o.value) == null || s.focus());
8976
+ t.value.find((_) => _.label === y) || (L.value.push({ value: y, label: y }), e.value = "", (c = o.value) == null || c.focus());
8972
8977
  }
8973
- function T(a) {
8974
- var c;
8975
- return !a || (a == null ? void 0 : a.value) === void 0 || (a == null ? void 0 : a.value) === null ? !1 : C.multiple ? L.value.find((b) => (b == null ? void 0 : b.value) === (a == null ? void 0 : a.value)) : ((c = i.value) == null ? void 0 : c.value) === (a == null ? void 0 : a.value);
8978
+ function R(a) {
8979
+ var s;
8980
+ return !a || (a == null ? void 0 : a.value) === void 0 || (a == null ? void 0 : a.value) === null ? !1 : C.multiple ? L.value.find((y) => (y == null ? void 0 : y.value) === (a == null ? void 0 : a.value)) : ((s = i.value) == null ? void 0 : s.value) === (a == null ? void 0 : a.value);
8976
8981
  }
8977
- const x = h(() => !C.searchable || i.value.label === e.value ? t.value : t.value.filter((c) => c.label.toLowerCase().includes(e.value.toLowerCase()))), U = h(() => !C.searchable);
8978
- function N() {
8982
+ const P = g(() => !C.searchable || i.value.label === e.value ? t.value : t.value.filter((s) => s.label.toLowerCase().includes(e.value.toLowerCase()))), U = g(() => !C.searchable);
8983
+ function W() {
8979
8984
  n.value ? C.multiple ? L.value = n.value : (i.value = n.value, e.value = n.value.label) : (i.value = {}, L.value.splice(0, L.value.length));
8980
8985
  }
8981
- function f(a) {
8986
+ function h(a) {
8982
8987
  C.searchable && a(), !C.multiple && e.value === "" && (i.value = {}, M("update:modelValue", ""));
8983
8988
  }
8984
- function G(a, c) {
8985
- if (a.stopPropagation(), c(), C.multiple) {
8989
+ function I(a, s) {
8990
+ if (a.stopPropagation(), s(), C.multiple) {
8986
8991
  L.value.splice(0, L.value.length);
8987
8992
  return;
8988
8993
  }
8989
8994
  i.value = {}, e.value = "", M("update:modelValue", "");
8990
8995
  }
8991
- return C2(() => {
8992
- N(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
8993
- }), $(L, (a) => {
8996
+ function M1(a, s) {
8997
+ if (L.value.length === P.value.length) {
8998
+ L.value.splice(0, L.value.length);
8999
+ return;
9000
+ }
9001
+ L.value = P.value, s();
9002
+ }
9003
+ return H2(() => {
9004
+ W(), navigator.userAgent.includes("iPhone") && document.querySelector("[name=viewport]").setAttribute("content", "width=device-width, initial-scale=1, maximum-scale=1");
9005
+ }), G(L, (a) => {
8994
9006
  M("update:modelValue", a);
8995
- }), $(() => n.value, (a) => {
8996
- N();
8997
- }), (a, c) => (m(), u("div", {
9007
+ }), G(() => n.value, (a) => {
9008
+ W();
9009
+ }), (a, s) => (m(), Z("div", {
8998
9010
  ref_key: "wrapper",
8999
9011
  ref: l,
9000
9012
  class: "r-dropdown-wrapper"
9001
9013
  }, [
9002
- q(Q5, {
9014
+ q(G5, {
9003
9015
  "auto-hide": !1,
9004
9016
  offset: 0,
9005
9017
  placement: "bottom",
@@ -9008,16 +9020,16 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9008
9020
  "trigger-class": "w-full",
9009
9021
  triggers: ["click"],
9010
9022
  type: "dropdown",
9011
- onHide: c[1] || (c[1] = (b) => {
9012
- k(b);
9023
+ onHide: s[1] || (s[1] = (y) => {
9024
+ k(y);
9013
9025
  })
9014
9026
  }, {
9015
- default: g1(({ updatePosition: b, tooltipId: W }) => [
9027
+ default: k1(({ updatePosition: y, tooltipId: T }) => [
9016
9028
  S("div", {
9017
- id: W,
9029
+ id: T,
9018
9030
  ref_key: "dropdown",
9019
9031
  ref: r,
9020
- class: O(["r-dropdown", {
9032
+ class: p(["r-dropdown", {
9021
9033
  "r-dropdown--disabled": C.disabled,
9022
9034
  "r-dropdown--loading": C.loading,
9023
9035
  [C.dropdownClass]: C.dropdownClass,
@@ -9025,51 +9037,51 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9025
9037
  group: e.value !== "" || L.value.length
9026
9038
  }]),
9027
9039
  role: "select",
9028
- onClick: (s) => Z(W)
9040
+ onClick: (c) => u(T)
9029
9041
  }, [
9030
- C.prependIcon || a.$slots.prepend ? (m(), u("div", {
9042
+ C.prependIcon || a.$slots.prepend ? (m(), Z("div", {
9031
9043
  key: 0,
9032
- class: O(["r-dropdown__prepend-icon", {
9044
+ class: p(["r-dropdown__prepend-icon", {
9033
9045
  "r-dropdown__prepend-icon--active": A.value,
9034
9046
  "r-dropdown__prepend-icon--error": C.errorMsg
9035
9047
  }])
9036
9048
  }, [
9037
- p(a.$slots, "prepend", {
9049
+ f(a.$slots, "prepend", {
9038
9050
  active: A.value,
9039
9051
  disabled: C.disabled,
9040
9052
  error: C.errorMsg.length,
9041
9053
  loading: C.loading
9042
9054
  }, () => [
9043
- C.prependIcon ? (m(), _(E, {
9055
+ C.prependIcon ? (m(), E(D, {
9044
9056
  key: 0,
9045
9057
  name: C.prependIcon
9046
- }, null, 8, ["name"])) : g("", !0)
9058
+ }, null, 8, ["name"])) : O("", !0)
9047
9059
  ])
9048
- ], 2)) : g("", !0),
9049
- S("div", $5, [
9050
- (m(!0), u(d1, null, n1(L.value, (s, D) => p(a.$slots, "selection", {
9051
- key: D,
9052
- index: D,
9053
- option: s,
9054
- removeOption: w
9060
+ ], 2)) : O("", !0),
9061
+ S("div", U5, [
9062
+ (m(!0), Z(t1, null, r1(L.value, (c, _) => f(a.$slots, "selection", {
9063
+ key: _,
9064
+ index: _,
9065
+ option: c,
9066
+ removeOption: b
9055
9067
  }, () => [
9056
- C.chips ? (m(), _(J2, {
9068
+ C.chips ? (m(), E(C5, {
9057
9069
  key: 1,
9058
9070
  clearable: !C.hideChipClear,
9059
9071
  ghost: "",
9060
- label: s.label,
9072
+ label: c.label,
9061
9073
  "no-wrap": "",
9062
9074
  variant: "primary",
9063
- "onClick:close": (I) => w(I, s, b)
9064
- }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), u("p", U5, v(`${s.label}, `), 1))
9075
+ "onClick:close": ($) => b($, c, y)
9076
+ }, null, 8, ["clearable", "label", "onClick:close"])) : (m(), Z("p", z5, w(`${c.label}, `), 1))
9065
9077
  ])), 128)),
9066
- H2(S("input", {
9078
+ V2(S("input", {
9067
9079
  id: C.id,
9068
9080
  ref_key: "input",
9069
9081
  ref: o,
9070
- "onUpdate:modelValue": c[0] || (c[0] = (s) => e.value = s),
9082
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => e.value = c),
9071
9083
  autocomplete: C.autocomplete,
9072
- class: O(["r-dropdown__input", {
9084
+ class: p(["r-dropdown__input", {
9073
9085
  "r-dropdown__input--loading": C.loading
9074
9086
  }]),
9075
9087
  disabled: C.disabled,
@@ -9077,118 +9089,138 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9077
9089
  readonly: U.value,
9078
9090
  role: "presentation",
9079
9091
  type: "text",
9080
- onInput: r1((s) => f(b), ["prevent"]),
9092
+ onInput: A1((c) => h(y), ["prevent"]),
9081
9093
  onKeydown: [
9082
- G1((s) => w(s, L.value[L.value.length - 1], b), ["backspace"]),
9083
- G1((s) => P(s, b), ["enter"])
9094
+ $1((c) => b(c, L.value[L.value.length - 1], y), ["backspace"]),
9095
+ $1((c) => F(c, y), ["enter"])
9084
9096
  ]
9085
- }, null, 42, z5), [
9086
- [p2, e.value]
9097
+ }, null, 42, K5), [
9098
+ [f2, e.value]
9087
9099
  ])
9088
9100
  ]),
9089
- C.clearable ? (m(), u("div", {
9101
+ C.clearable ? (m(), Z("div", {
9090
9102
  key: 1,
9091
9103
  class: "r-dropdown__clearable",
9092
9104
  "data-has-value": (e.value !== "" || L.value.length) && A.value,
9093
- onClick: (s) => G(s, b)
9105
+ onClick: (c) => I(c, y)
9094
9106
  }, [
9095
- p(a.$slots, "clearable", {}, () => [
9096
- q(E, {
9107
+ f(a.$slots, "clearable", {}, () => [
9108
+ q(D, {
9097
9109
  name: "mdiCloseCircle",
9098
9110
  size: "18"
9099
9111
  })
9100
9112
  ])
9101
- ], 8, K5)) : g("", !0),
9102
- C.appendIcon || a.$slots.append ? (m(), u("div", {
9113
+ ], 8, q5)) : O("", !0),
9114
+ C.appendIcon || a.$slots.append ? (m(), Z("div", {
9103
9115
  key: 2,
9104
- class: O(["r-dropdown__append-icon", {
9116
+ class: p(["r-dropdown__append-icon", {
9105
9117
  "r-dropdown__append-icon--active": A.value,
9106
9118
  "r-dropdown__append-icon--error": C.errorMsg
9107
9119
  }])
9108
9120
  }, [
9109
- p(a.$slots, "append", {
9121
+ f(a.$slots, "append", {
9110
9122
  active: A.value,
9111
9123
  disabled: C.disabled,
9112
9124
  error: C.errorMsg.length,
9113
9125
  loading: C.loading
9114
9126
  }, () => [
9115
- C.appendIcon ? (m(), _(E, {
9127
+ C.appendIcon ? (m(), E(D, {
9116
9128
  key: 0,
9117
9129
  name: C.appendIcon
9118
- }, null, 8, ["name"])) : g("", !0)
9130
+ }, null, 8, ["name"])) : O("", !0)
9119
9131
  ])
9120
- ], 2)) : g("", !0)
9121
- ], 10, G5)
9132
+ ], 2)) : O("", !0)
9133
+ ], 10, $5)
9122
9134
  ]),
9123
- content: g1(({ hide: b, updatePosition: W }) => [
9135
+ content: k1(({ hide: y, updatePosition: T }) => [
9124
9136
  S("ul", {
9125
- class: O(["r-dropdown-options", {
9137
+ class: p(["r-dropdown-options", {
9126
9138
  "r-dropdown-options--active": A.value,
9127
9139
  [C.optionsClass]: C.optionsClass
9128
9140
  }])
9129
9141
  }, [
9130
- (m(!0), u(d1, null, n1(x.value, (s) => (m(), u("li", {
9131
- key: s.value,
9132
- "aria-disabled": s.disabled,
9133
- class: O(["r-dropdown-options__option", {
9134
- "r-dropdown-options__option--active": T(s),
9135
- "r-dropdown-options__option--disabled": s.disabled
9142
+ C.showSelectAll && C.multiple ? (m(), Z("li", {
9143
+ key: 0,
9144
+ class: p(["r-dropdown-options__option", {
9145
+ "r-dropdown-options__option--active": L.value.length === P.value.length,
9146
+ "r-dropdown-options__option--disabled": !1
9147
+ }]),
9148
+ onClick: A1((c) => M1(c, T), ["prevent"])
9149
+ }, [
9150
+ S("div", X5, [
9151
+ S("p", Y5, w(C.selectAllText), 1)
9152
+ ]),
9153
+ L.value.length === P.value.length && !C.hideOptionCheckIcon ? (m(), E(D, {
9154
+ key: 0,
9155
+ class: p(["r-dropdown-options__option__append-icon", {
9156
+ "r-dropdown-options__option__append-icon--active": L.value.length === P.value.length
9157
+ }]),
9158
+ name: "mdiCheck"
9159
+ }, null, 8, ["class"])) : O("", !0)
9160
+ ], 10, j5)) : O("", !0),
9161
+ C.showSelectAll ? (m(), Z("hr", J5)) : O("", !0),
9162
+ (m(!0), Z(t1, null, r1(P.value, (c) => (m(), Z("li", {
9163
+ key: c.value,
9164
+ "aria-disabled": c.disabled,
9165
+ class: p(["r-dropdown-options__option", {
9166
+ "r-dropdown-options__option--active": R(c),
9167
+ "r-dropdown-options__option--disabled": c.disabled
9136
9168
  }]),
9137
- onClick: r1((D) => y(D, s, b, W), ["prevent"])
9169
+ onClick: A1((_) => v(_, c, y, T), ["prevent"])
9138
9170
  }, [
9139
- p(a.$slots, "option", {
9140
- disabled: s.disabled,
9141
- isSelected: T(s)
9171
+ f(a.$slots, "option", {
9172
+ disabled: c.disabled,
9173
+ isSelected: R(c)
9142
9174
  }, () => [
9143
- S("div", j5, [
9144
- p(a.$slots, "option-prepend", {
9145
- disabled: s.disabled,
9146
- isSelected: T(s)
9175
+ S("div", H3, [
9176
+ f(a.$slots, "option-prepend", {
9177
+ disabled: c.disabled,
9178
+ isSelected: R(c)
9147
9179
  }, () => [
9148
- s.prependIcon ? (m(), _(E, {
9180
+ c.prependIcon ? (m(), E(D, {
9149
9181
  key: 0,
9150
- class: O(["r-dropdown-options__option__prepend-icon", {
9151
- "r-dropdown-options__option__prepend-icon--active": T(s)
9182
+ class: p(["r-dropdown-options__option__prepend-icon", {
9183
+ "r-dropdown-options__option__prepend-icon--active": R(c)
9152
9184
  }]),
9153
- name: s.prependIcon
9154
- }, null, 8, ["class", "name"])) : g("", !0)
9185
+ name: c.prependIcon
9186
+ }, null, 8, ["class", "name"])) : O("", !0)
9155
9187
  ]),
9156
9188
  S("p", {
9157
- class: O(["r-dropdown-options__option__label", {
9158
- "r-dropdown-options__option__label--active": T(s)
9189
+ class: p(["r-dropdown-options__option__label", {
9190
+ "r-dropdown-options__option__label--active": R(c)
9159
9191
  }])
9160
- }, v(s.label), 3)
9192
+ }, w(c.label), 3)
9161
9193
  ]),
9162
- p(a.$slots, "option-append", {
9163
- disabled: s.disabled,
9164
- isSelected: T(s)
9194
+ f(a.$slots, "option-append", {
9195
+ disabled: c.disabled,
9196
+ isSelected: R(c)
9165
9197
  }, () => [
9166
- T(s) && !C.hideOptionCheckIcon ? (m(), _(E, {
9198
+ R(c) && !C.hideOptionCheckIcon ? (m(), E(D, {
9167
9199
  key: 0,
9168
- class: O(["r-dropdown-options__option__append-icon", {
9169
- "r-dropdown-options__option__append-icon--active": T(s)
9200
+ class: p(["r-dropdown-options__option__append-icon", {
9201
+ "r-dropdown-options__option__append-icon--active": R(c)
9170
9202
  }]),
9171
9203
  name: "mdiCheck"
9172
- }, null, 8, ["class"])) : g("", !0)
9204
+ }, null, 8, ["class"])) : O("", !0)
9173
9205
  ])
9174
9206
  ])
9175
- ], 10, q5))), 128)),
9176
- x.value.length === 0 ? (m(), u("li", X5, [
9177
- p(a.$slots, "not-options", {}, () => [
9178
- S1(v(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9207
+ ], 10, C3))), 128)),
9208
+ P.value.length === 0 ? (m(), Z("li", V3, [
9209
+ f(a.$slots, "not-options", {}, () => [
9210
+ S1(w(C.multiple ? "No options hit to enter for create" : C.noOptionsText), 1)
9179
9211
  ])
9180
- ])) : g("", !0)
9212
+ ])) : O("", !0)
9181
9213
  ], 2)
9182
9214
  ]),
9183
9215
  _: 3
9184
9216
  }, 8, ["tooltip-class"]),
9185
- a.$props.hideDetails ? g("", !0) : (m(), u("div", Y5, [
9186
- C.errorMsg ? (m(), u("div", J5, v(C.errorMsg), 1)) : g("", !0),
9187
- C.hint ? (m(), u("div", C3, v(C.hint), 1)) : g("", !0)
9217
+ a.$props.hideDetails ? O("", !0) : (m(), Z("div", L3, [
9218
+ C.errorMsg ? (m(), Z("div", M3, w(C.errorMsg), 1)) : O("", !0),
9219
+ C.hint ? (m(), Z("div", i3, w(C.hint), 1)) : O("", !0)
9188
9220
  ]))
9189
9221
  ], 512));
9190
9222
  }
9191
- }), V3 = ["id", "for"], u2 = /* @__PURE__ */ R({
9223
+ }), e3 = ["id", "for"], S2 = /* @__PURE__ */ x({
9192
9224
  __name: "RLabel",
9193
9225
  props: {
9194
9226
  id: { default: "" },
@@ -9197,26 +9229,26 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9197
9229
  },
9198
9230
  setup(H) {
9199
9231
  const V = H;
9200
- return (C, M) => (m(), u("label", {
9232
+ return (C, M) => (m(), Z("label", {
9201
9233
  id: V.id,
9202
9234
  class: "r-label",
9203
9235
  for: V.for
9204
9236
  }, [
9205
- p(C.$slots, "default", {}, () => [
9206
- S1(v(V.text), 1)
9237
+ f(C.$slots, "default", {}, () => [
9238
+ S1(w(V.text), 1)
9207
9239
  ])
9208
- ], 8, V3));
9240
+ ], 8, e3));
9209
9241
  }
9210
- }), L3 = ["onClick"], M3 = ["open"], i3 = { class: "r-dialog__header" }, A3 = {
9242
+ }), d3 = ["onClick"], t3 = ["open"], m3 = { class: "r-dialog__header" }, l3 = {
9211
9243
  key: 0,
9212
9244
  class: "icon"
9213
- }, e3 = {
9245
+ }, o3 = {
9214
9246
  key: 1,
9215
9247
  class: "title"
9216
- }, d3 = {
9248
+ }, n3 = {
9217
9249
  key: 2,
9218
9250
  class: "description"
9219
- }, t3 = { class: "r-dialog__body" }, m3 = { class: "r-dialog__actions" }, o0 = /* @__PURE__ */ R({
9251
+ }, r3 = { class: "r-dialog__body" }, a3 = { class: "r-dialog__actions" }, u0 = /* @__PURE__ */ x({
9220
9252
  __name: "RModal",
9221
9253
  props: {
9222
9254
  modelValue: { type: Boolean, default: !1 },
@@ -9234,54 +9266,54 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9234
9266
  },
9235
9267
  emits: ["update:modelValue"],
9236
9268
  setup(H, { emit: V }) {
9237
- const C = H, M = V, i = h(() => ({
9269
+ const C = H, M = V, i = g(() => ({
9238
9270
  "r-dialog": !0,
9239
9271
  "r-dialog--block": C.block,
9240
9272
  [`${C.class}`]: !0
9241
- })), L = h(() => ({
9273
+ })), L = g(() => ({
9242
9274
  width: C.width,
9243
9275
  height: C.height
9244
9276
  }));
9245
9277
  function A(e) {
9246
9278
  C.outsideClick && e.target === e.currentTarget && M("update:modelValue", !1);
9247
9279
  }
9248
- return f2(() => {
9280
+ return h2(() => {
9249
9281
  !C.modelValue && C.allowBodyScroll && (document.body.style.overflow = "auto");
9250
9282
  }), window.addEventListener("keydown", (e) => {
9251
9283
  e.key === "Escape" && C.modelValue && C.outsideClick && M("update:modelValue", !1);
9252
- }), (e, d) => H2((m(), u("div", {
9253
- class: O(["r-modal-overlay", e.overlayClass]),
9254
- onClick: r1(A, ["stop"])
9284
+ }), (e, d) => V2((m(), Z("div", {
9285
+ class: p(["r-modal-overlay", e.overlayClass]),
9286
+ onClick: A1(A, ["stop"])
9255
9287
  }, [
9256
9288
  S("div", {
9257
9289
  "aria-modal": "true",
9258
- class: O(i.value),
9290
+ class: p(i.value),
9259
9291
  open: C.modelValue,
9260
9292
  role: "dialog",
9261
- style: _1(L.value)
9293
+ style: W1(L.value)
9262
9294
  }, [
9263
- S("div", i3, [
9264
- p(e.$slots, "header"),
9265
- C.icon ? (m(), u("div", A3, [
9266
- q(E, {
9295
+ S("div", m3, [
9296
+ f(e.$slots, "header"),
9297
+ C.icon ? (m(), Z("div", l3, [
9298
+ q(D, {
9267
9299
  name: C.icon
9268
9300
  }, null, 8, ["name"])
9269
- ])) : g("", !0),
9270
- C.title ? (m(), u("div", e3, v(C.title), 1)) : g("", !0),
9271
- C.description ? (m(), u("div", d3, v(C.description), 1)) : g("", !0)
9301
+ ])) : O("", !0),
9302
+ C.title ? (m(), Z("div", o3, w(C.title), 1)) : O("", !0),
9303
+ C.description ? (m(), Z("div", n3, w(C.description), 1)) : O("", !0)
9272
9304
  ]),
9273
- S("div", t3, [
9274
- p(e.$slots, "default")
9305
+ S("div", r3, [
9306
+ f(e.$slots, "default")
9275
9307
  ]),
9276
- S("div", m3, [
9277
- p(e.$slots, "actions")
9308
+ S("div", a3, [
9309
+ f(e.$slots, "actions")
9278
9310
  ])
9279
- ], 14, M3)
9280
- ], 10, L3)), [
9281
- [h2, e.modelValue]
9311
+ ], 14, t3)
9312
+ ], 10, d3)), [
9313
+ [g2, e.modelValue]
9282
9314
  ]);
9283
9315
  }
9284
- }), l3 = ["data-open"], o3 = ["data-open"], n3 = ["data-open"], n0 = /* @__PURE__ */ R({
9316
+ }), Z3 = ["data-open"], u3 = ["data-open"], S3 = ["data-open"], S0 = /* @__PURE__ */ x({
9285
9317
  __name: "RSidebar",
9286
9318
  props: {
9287
9319
  modelValue: { type: Boolean, default: !1 },
@@ -9293,33 +9325,33 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9293
9325
  emits: ["update:modelValue"],
9294
9326
  setup(H, { emit: V }) {
9295
9327
  const C = H, M = V;
9296
- return (i, L) => (m(), u("div", {
9297
- class: O(["r-sidebar__wrapper", [i.$props.wrapperClass]]),
9328
+ return (i, L) => (m(), Z("div", {
9329
+ class: p(["r-sidebar__wrapper", [i.$props.wrapperClass]]),
9298
9330
  "data-open": C.modelValue
9299
9331
  }, [
9300
9332
  S("aside", {
9301
- class: O(["r-sidebar", [C.class]]),
9333
+ class: p(["r-sidebar", [C.class]]),
9302
9334
  "data-open": C.modelValue
9303
9335
  }, [
9304
- p(i.$slots, "default", {
9336
+ f(i.$slots, "default", {
9305
9337
  open: C.modelValue
9306
9338
  })
9307
- ], 10, o3),
9308
- C.showTrigger ? (m(), u("div", {
9339
+ ], 10, u3),
9340
+ C.showTrigger ? (m(), Z("div", {
9309
9341
  key: 0,
9310
- class: O(["r-sidebar__trigger", [C.triggerClass]]),
9342
+ class: p(["r-sidebar__trigger", [C.triggerClass]]),
9311
9343
  "data-open": C.modelValue,
9312
9344
  onClick: L[0] || (L[0] = (A) => M("update:modelValue", !C.modelValue))
9313
9345
  }, [
9314
- p(i.$slots, "trigger", {
9346
+ f(i.$slots, "trigger", {
9315
9347
  open: C.modelValue
9316
9348
  }, () => [
9317
9349
  S1(" > ")
9318
9350
  ])
9319
- ], 10, n3)) : g("", !0)
9320
- ], 10, l3));
9351
+ ], 10, S3)) : O("", !0)
9352
+ ], 10, Z3));
9321
9353
  }
9322
- }), r3 = { class: "r-snackbar__text" }, r0 = /* @__PURE__ */ R({
9354
+ }), s3 = { class: "r-snackbar__text" }, s0 = /* @__PURE__ */ x({
9323
9355
  __name: "RSnackbar",
9324
9356
  props: {
9325
9357
  modelValue: { type: Boolean, default: !1 },
@@ -9333,7 +9365,7 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9333
9365
  emits: ["action", "update:modelValue"],
9334
9366
  setup(H, { emit: V }) {
9335
9367
  const C = H, M = V;
9336
- $(
9368
+ G(
9337
9369
  () => C.modelValue,
9338
9370
  () => {
9339
9371
  C.timeout > 0 && C.modelValue && setTimeout(() => {
@@ -9344,58 +9376,58 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9344
9376
  immediate: !0
9345
9377
  }
9346
9378
  );
9347
- const i = h(() => ({
9379
+ const i = g(() => ({
9348
9380
  "r-snackbar": !0,
9349
9381
  [`r-snackbar--${C.variant}`]: !0,
9350
9382
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
9351
9383
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
9352
9384
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0,
9353
9385
  "r-snackbar--closable": C.closable
9354
- })), L = h(() => ({
9386
+ })), L = g(() => ({
9355
9387
  success: "mdiCheckCircle",
9356
9388
  error: "mdiAlertCircle",
9357
9389
  warning: "mdiAlert",
9358
9390
  info: "mdiInformation"
9359
9391
  })[C.variant || "info"]);
9360
- return (A, e) => (m(), u("div", {
9361
- class: O(i.value)
9392
+ return (A, e) => (m(), Z("div", {
9393
+ class: p(i.value)
9362
9394
  }, [
9363
- p(A.$slots, "icon", {}, () => [
9364
- C.variant ? (m(), _(E, {
9395
+ f(A.$slots, "icon", {}, () => [
9396
+ C.variant ? (m(), E(D, {
9365
9397
  key: 0,
9366
9398
  class: "r-snackbar__icon",
9367
9399
  name: L.value
9368
- }, null, 8, ["name"])) : g("", !0)
9400
+ }, null, 8, ["name"])) : O("", !0)
9369
9401
  ]),
9370
- S("div", r3, [
9371
- p(A.$slots, "default", {}, () => [
9372
- S1(v(C.text), 1)
9402
+ S("div", s3, [
9403
+ f(A.$slots, "default", {}, () => [
9404
+ S1(w(C.text), 1)
9373
9405
  ])
9374
9406
  ]),
9375
- C.closable ? (m(), u("div", {
9407
+ C.closable ? (m(), Z("div", {
9376
9408
  key: 0,
9377
9409
  class: "r-snackbar__close",
9378
- onClick: e[0] || (e[0] = r1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9410
+ onClick: e[0] || (e[0] = A1((d) => A.$emit("update:modelValue", !1), ["stop"]))
9379
9411
  }, [
9380
- p(A.$slots, "close", {}, () => [
9381
- q(E, {
9412
+ f(A.$slots, "close", {}, () => [
9413
+ q(D, {
9382
9414
  name: "mdiClose",
9383
9415
  size: 16
9384
9416
  })
9385
9417
  ])
9386
- ])) : g("", !0)
9418
+ ])) : O("", !0)
9387
9419
  ], 2));
9388
9420
  }
9389
- }), a3 = ["id", "checked", "disabled"], Z3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), u3 = ["id", "for"], S3 = {
9421
+ }), c3 = ["id", "checked", "disabled"], p3 = /* @__PURE__ */ S("span", { class: "slider round" }, null, -1), O3 = ["id", "for"], f3 = {
9390
9422
  key: 0,
9391
9423
  class: "r-switch-texts__details"
9392
- }, s3 = {
9424
+ }, h3 = {
9393
9425
  key: 0,
9394
9426
  class: "r-switch-texts__error"
9395
- }, c3 = {
9427
+ }, g3 = {
9396
9428
  key: 1,
9397
9429
  class: "r-switch-texts__hint"
9398
- }, a0 = /* @__PURE__ */ R({
9430
+ }, c0 = /* @__PURE__ */ x({
9399
9431
  __name: "RSwitch",
9400
9432
  props: {
9401
9433
  id: { default: "switch" },
@@ -9412,7 +9444,7 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9412
9444
  setup(H, { emit: V }) {
9413
9445
  const C = H, M = V, i = u1({
9414
9446
  checked: !1
9415
- }), L = h(() => ({
9447
+ }), L = g(() => ({
9416
9448
  "r-switch": !0,
9417
9449
  "r-switch--disabled": C.disabled,
9418
9450
  [`r-switch--${C.size}`]: C.size,
@@ -9421,7 +9453,7 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9421
9453
  function A(e) {
9422
9454
  C.disabled || (i.checked = e.target.checked, M("update:modelValue", i.checked));
9423
9455
  }
9424
- return $(
9456
+ return G(
9425
9457
  () => C.modelValue,
9426
9458
  (e) => {
9427
9459
  i.checked = e;
@@ -9431,14 +9463,14 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9431
9463
  // TODO: find a better way to do this
9432
9464
  immediate: !0
9433
9465
  }
9434
- ), (e, d) => (m(), u("div", {
9435
- class: O(["r-switch-container", {
9466
+ ), (e, d) => (m(), Z("div", {
9467
+ class: p(["r-switch-container", {
9436
9468
  "r-switch-container--reverse": C.reverse,
9437
9469
  "r-switch-container--hide-details": C.hideDetails
9438
9470
  }])
9439
9471
  }, [
9440
9472
  S("div", {
9441
- class: O(L.value)
9473
+ class: p(L.value)
9442
9474
  }, [
9443
9475
  S("input", {
9444
9476
  id: C.id,
@@ -9447,11 +9479,11 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9447
9479
  disabled: C.disabled,
9448
9480
  type: "checkbox",
9449
9481
  onChange: A
9450
- }, null, 40, a3),
9451
- Z3
9482
+ }, null, 40, c3),
9483
+ p3
9452
9484
  ], 2),
9453
9485
  S("div", {
9454
- class: O(["r-switch-texts", {
9486
+ class: p(["r-switch-texts", {
9455
9487
  [`r-switch-texts--${C.size}`]: !0
9456
9488
  }])
9457
9489
  }, [
@@ -9459,20 +9491,20 @@ const W5 = ["aria-disabled"], N5 = ["innerHTML"], I5 = ["id"], Q5 = /* @__PURE__
9459
9491
  id: `${C.id}-label`,
9460
9492
  class: "r-switch-texts__label",
9461
9493
  for: C.id
9462
- }, v(C.label), 9, u3),
9463
- C.hideDetails ? g("", !0) : (m(), u("div", S3, [
9464
- C.errorMsg ? (m(), u("p", s3, v(C.errorMsg), 1)) : (m(), u("p", c3, v(C.hint), 1))
9494
+ }, w(C.label), 9, O3),
9495
+ C.hideDetails ? O("", !0) : (m(), Z("div", f3, [
9496
+ C.errorMsg ? (m(), Z("p", h3, w(C.errorMsg), 1)) : (m(), Z("p", g3, w(C.hint), 1))
9465
9497
  ]))
9466
9498
  ], 2)
9467
9499
  ], 2));
9468
9500
  }
9469
9501
  });
9470
- var o1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(o1 || {});
9471
- const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 = /* @__PURE__ */ R({
9502
+ var n1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(n1 || {});
9503
+ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 = /* @__PURE__ */ x({
9472
9504
  __name: "RTabItem",
9473
9505
  props: {
9474
9506
  id: {},
9475
- variant: { default: o1.DEFAULT },
9507
+ variant: { default: n1.DEFAULT },
9476
9508
  label: { default: "" },
9477
9509
  prependIcon: { default: "" },
9478
9510
  appendIcon: { default: "" },
@@ -9484,57 +9516,57 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9484
9516
  },
9485
9517
  emits: ["update:modelValue"],
9486
9518
  setup(H, { emit: V }) {
9487
- const C = H, M = V, i = h(() => ({
9519
+ const C = H, M = V, i = g(() => ({
9488
9520
  "r-tab-item": !0,
9489
9521
  [`r-tab-item--${C.variant}`]: !0,
9490
9522
  "r-tab-item--tile": C.tile,
9491
9523
  "r-tab-item--block": C.block
9492
- })), L = h(() => ({
9524
+ })), L = g(() => ({
9493
9525
  color: C.color
9494
- })), A = h(() => C.modelValue === C.id);
9526
+ })), A = g(() => C.modelValue === C.id);
9495
9527
  function e(d) {
9496
9528
  M("update:modelValue", d);
9497
9529
  }
9498
- return (d, t) => (m(), u("button", {
9530
+ return (d, t) => (m(), Z("button", {
9499
9531
  "aria-disabled": C.disabled,
9500
9532
  "aria-selected": A.value,
9501
- class: O(i.value),
9533
+ class: p(i.value),
9502
9534
  disabled: C.disabled,
9503
- style: _1(L.value),
9504
- onClick: t[0] || (t[0] = r1((n) => e(C.id), ["stop"]))
9535
+ style: W1(L.value),
9536
+ onClick: t[0] || (t[0] = A1((n) => e(C.id), ["stop"]))
9505
9537
  }, [
9506
- p(d.$slots, "prepend", {
9538
+ f(d.$slots, "prepend", {
9507
9539
  active: A.value,
9508
9540
  disabled: C.disabled
9509
9541
  }, () => [
9510
- C.variant !== J(o1).TEXT && C.prependIcon ? (m(), _(E, {
9542
+ C.variant !== J(n1).TEXT && C.prependIcon ? (m(), E(D, {
9511
9543
  key: 0,
9512
9544
  class: "r-tab-item__prepend-icon",
9513
9545
  name: C.prependIcon,
9514
9546
  size: 16
9515
- }, null, 8, ["name"])) : g("", !0)
9547
+ }, null, 8, ["name"])) : O("", !0)
9516
9548
  ]),
9517
- C.variant !== J(o1).ICON ? (m(), u("span", p3, [
9518
- p(d.$slots, "default", {
9549
+ C.variant !== J(n1).ICON ? (m(), Z("span", B3, [
9550
+ f(d.$slots, "default", {
9519
9551
  label: C.label
9520
9552
  }, () => [
9521
- S1(v(C.label), 1)
9553
+ S1(w(C.label), 1)
9522
9554
  ])
9523
- ])) : g("", !0),
9524
- p(d.$slots, "append", {
9555
+ ])) : O("", !0),
9556
+ f(d.$slots, "append", {
9525
9557
  active: A.value,
9526
9558
  disabled: C.disabled
9527
9559
  }, () => [
9528
- C.variant !== J(o1).TEXT && C.appendIcon ? (m(), _(E, {
9560
+ C.variant !== J(n1).TEXT && C.appendIcon ? (m(), E(D, {
9529
9561
  key: 0,
9530
9562
  class: "r-tab-item__append-icon",
9531
9563
  name: C.appendIcon,
9532
9564
  size: 16
9533
- }, null, 8, ["name"])) : g("", !0)
9565
+ }, null, 8, ["name"])) : O("", !0)
9534
9566
  ])
9535
- ], 14, O3));
9567
+ ], 14, k3));
9536
9568
  }
9537
- }), Z0 = /* @__PURE__ */ R({
9569
+ }), p0 = /* @__PURE__ */ x({
9538
9570
  __name: "RTabs",
9539
9571
  props: {
9540
9572
  tabs: { default: () => [] },
@@ -9545,16 +9577,16 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9545
9577
  },
9546
9578
  emits: ["update:modelValue"],
9547
9579
  setup(H, { emit: V }) {
9548
- const C = H, M = V, i = Q(C.modelValue || C.tabs[0].id), L = h(() => ({
9580
+ const C = H, M = V, i = N(C.modelValue || C.tabs[0].id), L = g(() => ({
9549
9581
  "r-tabs": !0,
9550
9582
  "r-tabs--tile": C.tile
9551
9583
  }));
9552
- return $(
9584
+ return G(
9553
9585
  () => i.value,
9554
9586
  () => {
9555
9587
  M("update:modelValue", i.value);
9556
9588
  }
9557
- ), $(
9589
+ ), G(
9558
9590
  () => C.modelValue,
9559
9591
  () => {
9560
9592
  i.value = C.modelValue;
@@ -9562,18 +9594,18 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9562
9594
  {
9563
9595
  immediate: !0
9564
9596
  }
9565
- ), (A, e) => (m(), u("div", {
9566
- class: O(L.value)
9597
+ ), (A, e) => (m(), Z("div", {
9598
+ class: p(L.value)
9567
9599
  }, [
9568
9600
  S("div", {
9569
- class: O(["flex", [{
9601
+ class: p(["flex", [{
9570
9602
  "w-full": C.block,
9571
9603
  "overflow-x-auto": C.scrollable,
9572
9604
  "gap-0.5": C.tile
9573
9605
  }]])
9574
9606
  }, [
9575
- p(A.$slots, "default", { activeTab: i.value }, () => [
9576
- (m(!0), u(d1, null, n1(C.tabs, (d, t) => (m(), _(f3, {
9607
+ f(A.$slots, "default", { activeTab: i.value }, () => [
9608
+ (m(!0), Z(t1, null, r1(C.tabs, (d, t) => (m(), E(b3, {
9577
9609
  id: d.id,
9578
9610
  key: t,
9579
9611
  modelValue: i.value,
@@ -9591,16 +9623,16 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9591
9623
  ], 2)
9592
9624
  ], 2));
9593
9625
  }
9594
- }), h3 = { class: "r-textarea-wrapper" }, g3 = ["id", "disabled", "placeholder", "value"], k3 = {
9626
+ }), w3 = { class: "r-textarea-wrapper" }, v3 = ["id", "disabled", "placeholder", "value"], y3 = {
9595
9627
  key: 1,
9596
9628
  class: "r-textarea__details"
9597
- }, B3 = {
9629
+ }, P3 = {
9598
9630
  key: 0,
9599
9631
  class: "r-textarea__error"
9600
- }, b3 = {
9632
+ }, T3 = {
9601
9633
  key: 1,
9602
9634
  class: "r-textarea__hint"
9603
- }, u0 = /* @__PURE__ */ R({
9635
+ }, O0 = /* @__PURE__ */ x({
9604
9636
  __name: "RTextArea",
9605
9637
  props: {
9606
9638
  id: { default: "" },
@@ -9620,7 +9652,7 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9620
9652
  function L(A) {
9621
9653
  M("update:modelValue", A.target.value);
9622
9654
  }
9623
- return $(
9655
+ return G(
9624
9656
  () => C.modelValue,
9625
9657
  (A) => {
9626
9658
  i.value = A;
@@ -9628,15 +9660,15 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9628
9660
  {
9629
9661
  immediate: !0
9630
9662
  }
9631
- ), (A, e) => (m(), u("div", h3, [
9632
- C.label ? (m(), _(u2, {
9663
+ ), (A, e) => (m(), Z("div", w3, [
9664
+ C.label ? (m(), E(S2, {
9633
9665
  key: 0,
9634
9666
  id: `${C.id}-label`,
9635
9667
  class: "r-textarea__label",
9636
9668
  for: "textarea",
9637
9669
  text: C.label
9638
- }, null, 8, ["id", "text"])) : g("", !0),
9639
- S("textarea", J1(A.$attrs, {
9670
+ }, null, 8, ["id", "text"])) : O("", !0),
9671
+ S("textarea", C2(A.$attrs, {
9640
9672
  id: C.id,
9641
9673
  class: ["r-textarea", {
9642
9674
  "r-textarea--error": C.errorMsg,
@@ -9646,22 +9678,22 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9646
9678
  placeholder: C.placeholder,
9647
9679
  value: i.value,
9648
9680
  onInput: L
9649
- }), null, 16, g3),
9650
- C.hideDetails ? g("", !0) : (m(), u("div", k3, [
9651
- C.errorMsg ? (m(), u("p", B3, v(C.errorMsg), 1)) : (m(), u("p", b3, v(C.hint), 1))
9681
+ }), null, 16, v3),
9682
+ C.hideDetails ? O("", !0) : (m(), Z("div", y3, [
9683
+ C.errorMsg ? (m(), Z("p", P3, w(C.errorMsg), 1)) : (m(), Z("p", T3, w(C.hint), 1))
9652
9684
  ]))
9653
9685
  ]));
9654
9686
  }
9655
- }), w3 = { class: "r-textfield__wrapper" }, y3 = { class: "input-wrapper" }, v3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], P3 = {
9687
+ }), F3 = { class: "r-textfield__wrapper" }, R3 = { class: "input-wrapper" }, x3 = ["id", "disabled", "max", "min", "placeholder", "readonly", "role", "type", "value"], D3 = {
9656
9688
  key: 0,
9657
9689
  class: "r-textfield__details"
9658
- }, T3 = {
9690
+ }, _3 = {
9659
9691
  key: 0,
9660
9692
  class: "r-textfield__error"
9661
- }, F3 = {
9693
+ }, E3 = {
9662
9694
  key: 1,
9663
9695
  class: "r-textfield__hint"
9664
- }, S0 = /* @__PURE__ */ R({
9696
+ }, f0 = /* @__PURE__ */ x({
9665
9697
  __name: "RTextfield",
9666
9698
  props: {
9667
9699
  id: { default: "" },
@@ -9691,57 +9723,57 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9691
9723
  "click:clear"
9692
9724
  ],
9693
9725
  setup(H, { emit: V }) {
9694
- const C = H, M = V, i = Q(), L = u1({
9726
+ const C = H, M = V, i = N(), L = u1({
9695
9727
  value: ""
9696
- }), A = Q(C.type), e = {
9728
+ }), A = N(C.type), e = {
9697
9729
  password: "mdiLock",
9698
9730
  email: "mdiEmailOutline",
9699
9731
  tel: "mdiPhone",
9700
9732
  url: "mdiLink",
9701
9733
  number: "mdiNumeric",
9702
9734
  text: ""
9703
- }, d = Q(!1), t = h(() => !!L.value), n = h(() => L.value.length > 0), r = h(() => {
9704
- var f;
9705
- return (f = C.errorMsg) == null ? void 0 : f.length;
9706
- }), o = h(() => C.clearable && n.value), l = h(() => {
9707
- const { disabled: f, loading: G } = C;
9735
+ }, d = N(!1), t = g(() => !!L.value), n = g(() => L.value.length > 0), r = g(() => {
9736
+ var h;
9737
+ return (h = C.errorMsg) == null ? void 0 : h.length;
9738
+ }), o = g(() => C.clearable && n.value), l = g(() => {
9739
+ const { disabled: h, loading: I } = C;
9708
9740
  return {
9709
9741
  "r-textfield": !0,
9710
9742
  "r-textfield--error": r.value,
9711
- "r-textfield--loading": G,
9712
- "r-textfield--disabled": f,
9743
+ "r-textfield--loading": I,
9744
+ "r-textfield--disabled": h,
9713
9745
  "r-textfield--clearable": o.value,
9714
9746
  "r-textfield--focus": d.value,
9715
9747
  "r-textfield--filled": t.value
9716
9748
  };
9717
- }), Z = h(() => ({
9749
+ }), u = g(() => ({
9718
9750
  "r-textfield__prepend-icon": !0,
9719
9751
  "r-textfield__prepend-icon--loading": C.loading,
9720
9752
  "r-textfield__prepend-icon--error": r.value && t.value
9721
- })), k = h(() => ({
9753
+ })), k = g(() => ({
9722
9754
  "r-textfield__append-icon": !0,
9723
9755
  "r-textfield__append-icon--clear": o.value,
9724
9756
  "r-textfield__append-icon--error": r.value
9725
- })), y = h(() => {
9726
- const { prependIcon: f, type: G } = C;
9727
- return f === "none" ? "" : f || e[G];
9728
- }), B = h(() => {
9729
- const { appendIcon: f, type: G } = C;
9730
- return f === "none" ? "" : r.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(G) ? "mdiClose" : G === "password" && A.value === "password" ? "mdiEyeOutline" : G === "password" && A.value === "text" ? "mdiEyeOffOutline" : f;
9757
+ })), v = g(() => {
9758
+ const { prependIcon: h, type: I } = C;
9759
+ return h === "none" ? "" : h || e[I];
9760
+ }), B = g(() => {
9761
+ const { appendIcon: h, type: I } = C;
9762
+ return h === "none" ? "" : r.value ? "mdiAlertCircleOutline" : o.value && ["text", "email"].includes(I) ? "mdiClose" : I === "password" && A.value === "password" ? "mdiEyeOutline" : I === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
9731
9763
  });
9732
- function w(f) {
9733
- d.value = !0, M("focus", f);
9764
+ function b(h) {
9765
+ d.value = !0, M("focus", h);
9734
9766
  }
9735
- function P(f) {
9736
- d.value = !1, M("blur", f);
9767
+ function F(h) {
9768
+ d.value = !1, M("blur", h);
9737
9769
  }
9738
- function T(f) {
9739
- L.value = f.target.value, M("input", f);
9770
+ function R(h) {
9771
+ L.value = h.target.value, M("input", h);
9740
9772
  }
9741
- function x() {
9742
- var f;
9773
+ function P() {
9774
+ var h;
9743
9775
  if (o.value) {
9744
- L.value = "", (f = i.value) == null || f.focus(), M("click:clear", {
9776
+ L.value = "", (h = i.value) == null || h.focus(), M("click:clear", {
9745
9777
  value: A.value === "number" ? +L.value : L.value
9746
9778
  });
9747
9779
  return;
@@ -9753,50 +9785,50 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9753
9785
  function U() {
9754
9786
  A.value = A.value === "password" ? "text" : "password";
9755
9787
  }
9756
- function N() {
9757
- var f;
9758
- (f = i.value) == null || f.focus();
9788
+ function W() {
9789
+ var h;
9790
+ (h = i.value) == null || h.focus();
9759
9791
  }
9760
- return $(
9792
+ return G(
9761
9793
  () => C.modelValue,
9762
- (f) => {
9763
- L.value = f;
9794
+ (h) => {
9795
+ L.value = h;
9764
9796
  },
9765
9797
  {
9766
9798
  immediate: !0
9767
9799
  }
9768
- ), $(
9800
+ ), G(
9769
9801
  () => L.value,
9770
- (f) => {
9802
+ (h) => {
9771
9803
  M(
9772
9804
  "update:modelValue",
9773
- A.value === "number" ? +f : f
9805
+ A.value === "number" ? +h : h
9774
9806
  );
9775
9807
  }
9776
- ), (f, G) => (m(), u("div", w3, [
9777
- C.label ? (m(), _(u2, {
9808
+ ), (h, I) => (m(), Z("div", F3, [
9809
+ C.label ? (m(), E(S2, {
9778
9810
  key: 0,
9779
9811
  id: `${C.id}-label`,
9780
9812
  class: "r-textfield__label",
9781
9813
  for: C.id,
9782
9814
  text: C.label,
9783
- onClick: N
9784
- }, null, 8, ["id", "for", "text"])) : g("", !0),
9785
- S("div", y3, [
9815
+ onClick: W
9816
+ }, null, 8, ["id", "for", "text"])) : O("", !0),
9817
+ S("div", R3, [
9786
9818
  S("div", {
9787
- class: O(l.value)
9819
+ class: p(l.value)
9788
9820
  }, [
9789
- p(f.$slots, "prepend", {
9821
+ f(h.$slots, "prepend", {
9790
9822
  disabled: C.disabled,
9791
9823
  error: r.value,
9792
9824
  loading: C.loading
9793
9825
  }, () => [
9794
- y.value ? (m(), _(E, {
9826
+ v.value ? (m(), E(D, {
9795
9827
  key: 0,
9796
- class: O(Z.value),
9797
- name: y.value,
9828
+ class: p(u.value),
9829
+ name: v.value,
9798
9830
  size: 20
9799
- }, null, 8, ["class", "name"])) : g("", !0)
9831
+ }, null, 8, ["class", "name"])) : O("", !0)
9800
9832
  ]),
9801
9833
  S("input", {
9802
9834
  id: C.id,
@@ -9810,35 +9842,35 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9810
9842
  role: C.role,
9811
9843
  type: A.value,
9812
9844
  value: L.value,
9813
- onBlur: P,
9814
- onFocus: w,
9815
- onInput: T
9816
- }, null, 40, v3),
9817
- p(f.$slots, "append", {
9845
+ onBlur: F,
9846
+ onFocus: b,
9847
+ onInput: R
9848
+ }, null, 40, x3),
9849
+ f(h.$slots, "append", {
9818
9850
  disabled: C.disabled,
9819
9851
  error: r.value,
9820
9852
  loading: C.loading
9821
9853
  }, () => [
9822
- B.value && !f.$slots.append || r.value ? (m(), _(E, {
9854
+ B.value && !h.$slots.append || r.value ? (m(), E(D, {
9823
9855
  key: 0,
9824
- class: O(k.value),
9856
+ class: p(k.value),
9825
9857
  name: `${B.value}`,
9826
9858
  size: 20,
9827
- onClick: x
9828
- }, null, 8, ["class", "name"])) : g("", !0)
9859
+ onClick: P
9860
+ }, null, 8, ["class", "name"])) : O("", !0)
9829
9861
  ])
9830
9862
  ], 2),
9831
- C.hideDetails ? g("", !0) : (m(), u("div", P3, [
9832
- C.errorMsg ? (m(), u("p", T3, v(C.errorMsg), 1)) : g("", !0),
9833
- !C.errorMsg && C.hint ? (m(), u("p", F3, v(C.hint), 1)) : g("", !0)
9863
+ C.hideDetails ? O("", !0) : (m(), Z("div", D3, [
9864
+ C.errorMsg ? (m(), Z("p", _3, w(C.errorMsg), 1)) : O("", !0),
9865
+ !C.errorMsg && C.hint ? (m(), Z("p", E3, w(C.hint), 1)) : O("", !0)
9834
9866
  ]))
9835
9867
  ])
9836
9868
  ]));
9837
9869
  }
9838
- }), R3 = { class: "r-breadcrumb" }, x3 = {
9870
+ }), W3 = { class: "r-breadcrumb" }, N3 = {
9839
9871
  key: 0,
9840
9872
  class: "r-breadcrumb__title"
9841
- }, s0 = /* @__PURE__ */ R({
9873
+ }, h0 = /* @__PURE__ */ x({
9842
9874
  __name: "RBreadcrumb",
9843
9875
  props: {
9844
9876
  items: { default: () => [] },
@@ -9847,9 +9879,9 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9847
9879
  setup(H) {
9848
9880
  const V = H;
9849
9881
  return (C, M) => {
9850
- const i = g2("router-link");
9851
- return m(), u("div", R3, [
9852
- (m(!0), u(d1, null, n1(V.items, (L, A) => (m(), u("div", {
9882
+ const i = k2("router-link");
9883
+ return m(), Z("div", W3, [
9884
+ (m(!0), Z(t1, null, r1(V.items, (L, A) => (m(), Z("div", {
9853
9885
  key: A,
9854
9886
  class: "r-breadcrumb__item"
9855
9887
  }, [
@@ -9857,59 +9889,59 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9857
9889
  class: "r-breadcrumb__link",
9858
9890
  to: L.to
9859
9891
  }, {
9860
- default: g1(() => [
9861
- p(C.$slots, "item-icon", {}, () => [
9862
- L.icon ? (m(), _(E, {
9892
+ default: k1(() => [
9893
+ f(C.$slots, "item-icon", {}, () => [
9894
+ L.icon ? (m(), E(D, {
9863
9895
  key: 0,
9864
9896
  name: L.icon
9865
- }, null, 8, ["name"])) : g("", !0)
9897
+ }, null, 8, ["name"])) : O("", !0)
9866
9898
  ]),
9867
- L.onlyIcon ? g("", !0) : (m(), u("span", x3, v(L.title), 1))
9899
+ L.onlyIcon ? O("", !0) : (m(), Z("span", N3, w(L.title), 1))
9868
9900
  ]),
9869
9901
  _: 2
9870
9902
  }, 1032, ["to"]),
9871
- p(C.$slots, "custom-seperator", {}, () => [
9872
- A !== C.items.length - 1 && V.seperator ? (m(), _(E, {
9903
+ f(C.$slots, "custom-seperator", {}, () => [
9904
+ A !== C.items.length - 1 && V.seperator ? (m(), E(D, {
9873
9905
  key: 0,
9874
9906
  class: "r-breadcrumb__separator",
9875
9907
  name: V.seperator
9876
- }, null, 8, ["name"])) : g("", !0)
9908
+ }, null, 8, ["name"])) : O("", !0)
9877
9909
  ])
9878
9910
  ]))), 128))
9879
9911
  ]);
9880
9912
  };
9881
9913
  }
9882
- }), D3 = { class: "r-pagination__paginator" }, E3 = { class: "r-pagination__paginator__per-page" }, _3 = { class: "r-pagination__paginator__info" }, W3 = ["disabled"], N3 = /* @__PURE__ */ S("path", {
9883
- d: "M0 0h24v24H0z",
9884
- fill: "none",
9885
- stroke: "none"
9886
- }, null, -1), I3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), Q3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), G3 = [
9887
- N3,
9888
- I3,
9889
- Q3
9890
- ], $3 = ["disabled"], U3 = /* @__PURE__ */ S("path", {
9914
+ }), I3 = { class: "r-pagination__paginator" }, Q3 = { class: "r-pagination__paginator__per-page" }, G3 = { class: "r-pagination__paginator__info" }, $3 = ["disabled"], U3 = /* @__PURE__ */ S("path", {
9891
9915
  d: "M0 0h24v24H0z",
9892
9916
  fill: "none",
9893
9917
  stroke: "none"
9894
- }, null, -1), z3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), K3 = [
9918
+ }, null, -1), z3 = /* @__PURE__ */ S("path", { d: "M7 6v12" }, null, -1), K3 = /* @__PURE__ */ S("path", { d: "M18 6l-6 6l6 6" }, null, -1), q3 = [
9895
9919
  U3,
9896
- z3
9897
- ], q3 = ["disabled"], j3 = /* @__PURE__ */ S("path", {
9920
+ z3,
9921
+ K3
9922
+ ], j3 = ["disabled"], X3 = /* @__PURE__ */ S("path", {
9898
9923
  d: "M0 0h24v24H0z",
9899
9924
  fill: "none",
9900
9925
  stroke: "none"
9901
- }, null, -1), X3 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), Y3 = [
9902
- j3,
9903
- X3
9904
- ], J3 = ["disabled"], C0 = /* @__PURE__ */ S("path", {
9926
+ }, null, -1), Y3 = /* @__PURE__ */ S("path", { d: "M15 6l-6 6l6 6" }, null, -1), J3 = [
9927
+ X3,
9928
+ Y3
9929
+ ], C0 = ["disabled"], H0 = /* @__PURE__ */ S("path", {
9905
9930
  d: "M0 0h24v24H0z",
9906
9931
  fill: "none",
9907
9932
  stroke: "none"
9908
- }, null, -1), H0 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), V0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), L0 = [
9909
- C0,
9933
+ }, null, -1), V0 = /* @__PURE__ */ S("path", { d: "M9 6l6 6l-6 6" }, null, -1), L0 = [
9910
9934
  H0,
9911
9935
  V0
9912
- ], c0 = /* @__PURE__ */ R({
9936
+ ], M0 = ["disabled"], i0 = /* @__PURE__ */ S("path", {
9937
+ d: "M0 0h24v24H0z",
9938
+ fill: "none",
9939
+ stroke: "none"
9940
+ }, null, -1), A0 = /* @__PURE__ */ S("path", { d: "M6 6l6 6l-6 6" }, null, -1), e0 = /* @__PURE__ */ S("path", { d: "M17 5v13" }, null, -1), d0 = [
9941
+ i0,
9942
+ A0,
9943
+ e0
9944
+ ], g0 = /* @__PURE__ */ x({
9913
9945
  __name: "RPagination",
9914
9946
  props: {
9915
9947
  page: { default: 1 },
@@ -9922,13 +9954,13 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9922
9954
  },
9923
9955
  emits: ["update:page", "update:perPage", "update:info"],
9924
9956
  setup(H, { emit: V }) {
9925
- const C = H, M = V, i = Q(C.perPage || 10), L = h(() => Math.ceil(C.totalItems / C.perPage)), A = h(() => ({
9957
+ const C = H, M = V, i = N(C.perPage || 10), L = g(() => Math.ceil(C.totalItems / C.perPage)), A = g(() => ({
9926
9958
  start: C.page * C.perPage - C.perPage,
9927
9959
  end: C.page * C.perPage
9928
- })), e = h(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = h(() => +C.page == +L.value), t = h(() => +C.page == 1);
9929
- $(() => A.value, () => {
9960
+ })), e = g(() => C.infoText || `${A.value.start + 1}-${A.value.end} of ${C.totalItems}`), d = g(() => +C.page == +L.value), t = g(() => +C.page == 1);
9961
+ G(() => A.value, () => {
9930
9962
  M("update:info", A.value);
9931
- }), $(() => C.perPage, () => {
9963
+ }), G(() => C.perPage, () => {
9932
9964
  i.value = C.perPage, n(1);
9933
9965
  });
9934
9966
  function n(o) {
@@ -9936,18 +9968,22 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9936
9968
  l < 1 || l > L.value || M("update:page", l);
9937
9969
  }
9938
9970
  function r({ value: o }) {
9939
- M("update:perPage", o);
9971
+ if (o) {
9972
+ M("update:perPage", o);
9973
+ return;
9974
+ }
9975
+ M("update:perPage", 10);
9940
9976
  }
9941
- return (o, l) => (m(), u("div", {
9942
- class: O(["r-pagination", [`r-pagination--${C.position}`]])
9977
+ return (o, l) => (m(), Z("div", {
9978
+ class: p(["r-pagination", [`r-pagination--${C.position}`]])
9943
9979
  }, [
9944
- S("div", D3, [
9945
- S("div", E3, [
9946
- S("span", null, v(C.itemsPerPageText), 1),
9947
- q(H3, {
9980
+ S("div", I3, [
9981
+ S("div", Q3, [
9982
+ S("span", null, w(C.itemsPerPageText), 1),
9983
+ q(A3, {
9948
9984
  modelValue: i.value,
9949
9985
  "onUpdate:modelValue": [
9950
- l[0] || (l[0] = (Z) => i.value = Z),
9986
+ l[0] || (l[0] = (u) => i.value = u),
9951
9987
  r
9952
9988
  ],
9953
9989
  class: "w-24",
@@ -9956,15 +9992,15 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9956
9992
  options: C.perPageOptions
9957
9993
  }, null, 8, ["modelValue", "options"])
9958
9994
  ]),
9959
- S("span", _3, v(e.value), 1),
9995
+ S("span", G3, w(e.value), 1),
9960
9996
  S("button", {
9961
9997
  class: "r-pagination__paginator__first",
9962
9998
  disabled: t.value,
9963
- onClick: l[1] || (l[1] = (Z) => n(1))
9999
+ onClick: l[1] || (l[1] = (u) => n(1))
9964
10000
  }, [
9965
- p(o.$slots, "first", {}, () => [
9966
- (m(), u("svg", {
9967
- class: O(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": t.value }]),
10001
+ f(o.$slots, "first", {}, () => [
10002
+ (m(), Z("svg", {
10003
+ class: p(["icon icon-tabler icon-tabler-chevron-left-pipe", { "stroke-gray-400": t.value }]),
9968
10004
  fill: "none",
9969
10005
  height: "20",
9970
10006
  stroke: "#000000",
@@ -9974,17 +10010,17 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9974
10010
  viewBox: "0 0 24 24",
9975
10011
  width: "20",
9976
10012
  xmlns: "http://www.w3.org/2000/svg"
9977
- }, G3, 2))
10013
+ }, q3, 2))
9978
10014
  ])
9979
- ], 8, W3),
10015
+ ], 8, $3),
9980
10016
  S("button", {
9981
10017
  class: "r-pagination__paginator__prev",
9982
10018
  disabled: t.value,
9983
- onClick: l[2] || (l[2] = (Z) => n(+C.page - 1))
10019
+ onClick: l[2] || (l[2] = (u) => n(+C.page - 1))
9984
10020
  }, [
9985
- p(o.$slots, "prev", {}, () => [
9986
- (m(), u("svg", {
9987
- class: O(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": t.value }]),
10021
+ f(o.$slots, "prev", {}, () => [
10022
+ (m(), Z("svg", {
10023
+ class: p(["icon icon-tabler icon-tabler-chevron-left", { "stroke-gray-400": t.value }]),
9988
10024
  fill: "none",
9989
10025
  height: "20",
9990
10026
  stroke: "#000000",
@@ -9994,17 +10030,17 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
9994
10030
  viewBox: "0 0 24 24",
9995
10031
  width: "20",
9996
10032
  xmlns: "http://www.w3.org/2000/svg"
9997
- }, K3, 2))
10033
+ }, J3, 2))
9998
10034
  ])
9999
- ], 8, $3),
10035
+ ], 8, j3),
10000
10036
  S("button", {
10001
10037
  class: "r-pagination__paginator__next",
10002
10038
  disabled: d.value,
10003
- onClick: l[3] || (l[3] = (Z) => n(+C.page + 1))
10039
+ onClick: l[3] || (l[3] = (u) => n(+C.page + 1))
10004
10040
  }, [
10005
- p(o.$slots, "next", {}, () => [
10006
- (m(), u("svg", {
10007
- class: O(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10041
+ f(o.$slots, "next", {}, () => [
10042
+ (m(), Z("svg", {
10043
+ class: p(["icon icon-tabler icon-tabler-chevron-right", { "stroke-gray-400": d.value }]),
10008
10044
  fill: "none",
10009
10045
  height: "20",
10010
10046
  stroke: "#000000",
@@ -10014,17 +10050,17 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10014
10050
  viewBox: "0 0 24 24",
10015
10051
  width: "20",
10016
10052
  xmlns: "http://www.w3.org/2000/svg"
10017
- }, Y3, 2))
10053
+ }, L0, 2))
10018
10054
  ])
10019
- ], 8, q3),
10055
+ ], 8, C0),
10020
10056
  S("button", {
10021
10057
  class: "r-pagination__paginator__last",
10022
10058
  disabled: C.page === L.value,
10023
- onClick: l[4] || (l[4] = (Z) => n(L.value))
10059
+ onClick: l[4] || (l[4] = (u) => n(L.value))
10024
10060
  }, [
10025
- p(o.$slots, "last", {}, () => [
10026
- (m(), u("svg", {
10027
- class: O(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10061
+ f(o.$slots, "last", {}, () => [
10062
+ (m(), Z("svg", {
10063
+ class: p(["icon icon-tabler icon-tabler-chevron-right-pipe", { "stroke-gray-400": d.value }]),
10028
10064
  fill: "none",
10029
10065
  height: "20",
10030
10066
  stroke: "#000000",
@@ -10034,13 +10070,13 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10034
10070
  viewBox: "0 0 24 24",
10035
10071
  width: "20",
10036
10072
  xmlns: "http://www.w3.org/2000/svg"
10037
- }, L0, 2))
10073
+ }, d0, 2))
10038
10074
  ])
10039
- ], 8, J3)
10075
+ ], 8, M0)
10040
10076
  ])
10041
10077
  ], 2));
10042
10078
  }
10043
- }), M0 = ["value"], O0 = /* @__PURE__ */ R({
10079
+ }), t0 = ["value"], k0 = /* @__PURE__ */ x({
10044
10080
  __name: "RProgressbar",
10045
10081
  props: {
10046
10082
  value: { default: 0 },
@@ -10048,16 +10084,16 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10048
10084
  },
10049
10085
  setup(H) {
10050
10086
  const V = H;
10051
- return (C, M) => (m(), u("progress", {
10087
+ return (C, M) => (m(), Z("progress", {
10052
10088
  "aria-valuemax": 100,
10053
10089
  class: "r-progressbar",
10054
10090
  max: 100,
10055
10091
  role: "progressbar",
10056
- style: _1({ height: `${V.height}px` }),
10092
+ style: W1({ height: `${V.height}px` }),
10057
10093
  value: V.value
10058
- }, null, 12, M0));
10094
+ }, null, 12, t0));
10059
10095
  }
10060
- }), f1 = "rocket-ui:r-item-group", p0 = /* @__PURE__ */ R({
10096
+ }), h1 = "rocket-ui:r-item-group", B0 = /* @__PURE__ */ x({
10061
10097
  __name: "RItemGroup",
10062
10098
  props: {
10063
10099
  modelValue: { default: () => [] },
@@ -10070,24 +10106,24 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10070
10106
  },
10071
10107
  emits: ["update:modelValue"],
10072
10108
  setup(H, { emit: V }) {
10073
- const C = H, M = V, i = Q(C.as ?? "div"), L = Q(C.modelValue), A = h(() => C.selectedClass);
10074
- O1(`${f1}:selectedClass`, A.value);
10109
+ const C = H, M = V, i = N(C.as ?? "div"), L = N(C.modelValue), A = g(() => C.selectedClass);
10110
+ O1(`${h1}:selectedClass`, A.value);
10075
10111
  function e(n) {
10076
10112
  return L.value.includes(n);
10077
10113
  }
10078
- O1(`${f1}:isSelected`, e);
10114
+ O1(`${h1}:isSelected`, e);
10079
10115
  function d(n, r) {
10080
10116
  C.disabled || C.mandatory && L.value.length === 1 && !r || C.max && L.value.length === C.max && r || (C.multiple ? r ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], M("update:modelValue", L.value));
10081
10117
  }
10082
- O1(`${f1}:select`, d);
10118
+ O1(`${h1}:select`, d);
10083
10119
  function t() {
10084
10120
  return C.disabled;
10085
10121
  }
10086
- return O1(`${f1}:isDisabled`, t), $(() => C.modelValue, () => {
10122
+ return O1(`${h1}:isDisabled`, t), G(() => C.modelValue, () => {
10087
10123
  L.value = C.modelValue;
10088
- }), (n, r) => (m(), _(k2(i.value), null, {
10089
- default: g1(() => [
10090
- p(n.$slots, "default", {
10124
+ }), (n, r) => (m(), E(B2(i.value), null, {
10125
+ default: k1(() => [
10126
+ f(n.$slots, "default", {
10091
10127
  isSelected: e,
10092
10128
  select: d,
10093
10129
  selected: L.value
@@ -10096,21 +10132,21 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10096
10132
  _: 3
10097
10133
  }));
10098
10134
  }
10099
- }), h1 = "rocket-ui:r-item-group", f0 = /* @__PURE__ */ R({
10135
+ }), g1 = "rocket-ui:r-item-group", b0 = /* @__PURE__ */ x({
10100
10136
  __name: "RItem",
10101
10137
  props: {
10102
10138
  value: { default: null },
10103
10139
  selectedClass: { default: "" }
10104
10140
  },
10105
10141
  setup(H) {
10106
- const V = H, C = p1(`${h1}:isSelected`), M = p1(`${h1}:selectedClass`, ""), i = p1(`${h1}:select`), L = p1(`${h1}:isDisabled`), A = h(() => C(V.value) && [M, V.selectedClass]);
10142
+ const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10107
10143
  function e() {
10108
10144
  V.disabled || i(V.value, !C(V.value));
10109
10145
  }
10110
10146
  function d() {
10111
10147
  V.disabled || i(V.value, !0);
10112
10148
  }
10113
- return (t, n) => p(t.$slots, "default", {
10149
+ return (t, n) => f(t.$slots, "default", {
10114
10150
  disabled: J(L)(V.value),
10115
10151
  isSelected: J(C)(V.value),
10116
10152
  select: d,
@@ -10120,28 +10156,28 @@ const O3 = ["aria-disabled", "aria-selected", "disabled"], p3 = { key: 0 }, f3 =
10120
10156
  }
10121
10157
  });
10122
10158
  export {
10123
- A0 as RAccordion,
10124
- e0 as RAlert,
10125
- d0 as RAvatar,
10126
- t0 as RBadge,
10127
- s0 as RBreadcrumb,
10128
- m0 as RButton,
10129
- l0 as RCheckbox,
10130
- J2 as RChip,
10131
- H3 as RDropdown,
10132
- E as RIcon,
10133
- f0 as RItem,
10134
- p0 as RItemGroup,
10135
- u2 as RLabel,
10136
- o0 as RModal,
10137
- c0 as RPagination,
10138
- O0 as RProgressbar,
10139
- n0 as RSidebar,
10140
- r0 as RSnackbar,
10141
- a0 as RSwitch,
10142
- f3 as RTabItem,
10143
- Z0 as RTabs,
10144
- u0 as RTextArea,
10145
- S0 as RTextfield,
10146
- Q5 as RTooltip
10159
+ l0 as RAccordion,
10160
+ o0 as RAlert,
10161
+ n0 as RAvatar,
10162
+ r0 as RBadge,
10163
+ h0 as RBreadcrumb,
10164
+ a0 as RButton,
10165
+ Z0 as RCheckbox,
10166
+ C5 as RChip,
10167
+ A3 as RDropdown,
10168
+ D as RIcon,
10169
+ b0 as RItem,
10170
+ B0 as RItemGroup,
10171
+ S2 as RLabel,
10172
+ u0 as RModal,
10173
+ g0 as RPagination,
10174
+ k0 as RProgressbar,
10175
+ S0 as RSidebar,
10176
+ s0 as RSnackbar,
10177
+ c0 as RSwitch,
10178
+ b3 as RTabItem,
10179
+ p0 as RTabs,
10180
+ O0 as RTextArea,
10181
+ f0 as RTextfield,
10182
+ G5 as RTooltip
10147
10183
  };