@rocketui/vue 0.2.39-alpha.5 → 0.2.39-alpha.7

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