@rocketui/vue 0.0.45 → 0.0.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as u, unref as p, reactive as i1, Fragment as C1, renderList as L1, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as V1, computed as B, createCommentVNode as g, mergeProps as a2, withModifiers as G, createBlock as R, watch as Q, getCurrentScope as Z2, onScopeDispose as u2, ref as D, onMounted as j1, withDirectives as q1, withKeys as D1, vModelText as S2, normalizeStyle as T1, vShow as c2, withCtx as v1, createTextVNode as Y1, useCssVars as s2, watchEffect as O2, resolveComponent as p2, provide as h1, resolveDynamicComponent as h2, inject as f1 } from "vue";
1
+ import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as u, unref as p, reactive as i1, Fragment as H1, renderList as L1, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as X, computed as g, createCommentVNode as k, mergeProps as n2, withModifiers as G, createBlock as x, watch as Q, getCurrentScope as r2, onScopeDispose as a2, ref as D, onMounted as Z2, withDirectives as K1, withKeys as x1, vModelText as u2, normalizeStyle as T1, vShow as S2, useCssVars as c2, watchEffect as s2, resolveComponent as O2, withCtx as j1, createTextVNode as p2, provide as h1, resolveDynamicComponent as h2, inject as f1 } from "vue";
2
2
  const f2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7296,7 +7296,7 @@ const f2 = {
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
- }, g2 = ["width", "height", "viewBox"], k2 = ["d"], x = /* @__PURE__ */ v({
7299
+ }, g2 = ["width", "height", "viewBox"], k2 = ["d"], F = /* @__PURE__ */ v({
7300
7300
  __name: "RIcon",
7301
7301
  props: {
7302
7302
  name: { default: "" },
@@ -7317,47 +7317,47 @@ const f2 = {
7317
7317
  ], 8, g2));
7318
7318
  }
7319
7319
  });
7320
- const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title" }, w2 = { class: "r-accordion__icon" }, P2 = { class: "r-accordion__content" }, y3 = /* @__PURE__ */ v({
7320
+ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title" }, w2 = { class: "r-accordion__icon" }, P2 = { class: "r-accordion__content" }, B3 = /* @__PURE__ */ v({
7321
7321
  __name: "RAccordion",
7322
7322
  props: {
7323
7323
  accordions: null
7324
7324
  },
7325
7325
  setup(H) {
7326
7326
  const V = H, C = i1(
7327
- V.accordions.map(({ title: M, content: i }, A) => ({
7328
- title: M,
7329
- content: i,
7330
- open: V.accordions[A].open || !1,
7331
- disabled: V.accordions[A].disabled || !1
7327
+ V.accordions.map(({ title: A, content: M }, i) => ({
7328
+ title: A,
7329
+ content: M,
7330
+ open: V.accordions[i].open || !1,
7331
+ disabled: V.accordions[i].disabled || !1
7332
7332
  }))
7333
7333
  );
7334
- function L(M) {
7335
- C[M].disabled || C.forEach((i, A) => {
7336
- C[A].open = A === M ? !C[A].open : !1;
7334
+ function L(A) {
7335
+ C[A].disabled || C.forEach((M, i) => {
7336
+ C[i].open = i === A ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (M, i) => (t(!0), a(C1, null, L1(C, (A, e) => (t(), a("div", {
7339
+ return (A, M) => (t(!0), a(H1, null, L1(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: f({
7342
7342
  "r-accordion": !0,
7343
- "r-accordion--disabled": A.disabled
7343
+ "r-accordion--disabled": i.disabled
7344
7344
  }),
7345
- "data-state": A.open ? "opened" : "closed"
7345
+ "data-state": i.open ? "opened" : "closed"
7346
7346
  }, [
7347
7347
  u("div", {
7348
7348
  class: "r-accordion__header",
7349
7349
  onClick: (d) => L(e)
7350
7350
  }, [
7351
- b(M.$slots, "title", {}, () => [
7352
- u("div", y2, y(A.title), 1)
7351
+ b(A.$slots, "title", {}, () => [
7352
+ u("div", y2, y(i.title), 1)
7353
7353
  ]),
7354
7354
  u("div", w2, [
7355
- V1(x, { name: "mdiChevronUp" })
7355
+ X(F, { name: "mdiChevronUp" })
7356
7356
  ])
7357
7357
  ], 8, b2),
7358
7358
  u("div", P2, [
7359
- b(M.$slots, "content", {}, () => [
7360
- u("span", null, y(A.content), 1)
7359
+ b(A.$slots, "content", {}, () => [
7360
+ u("span", null, y(i.content), 1)
7361
7361
  ])
7362
7362
  ])
7363
7363
  ], 10, B2))), 128));
@@ -7368,7 +7368,7 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7368
7368
  }, x2 = {
7369
7369
  key: 0,
7370
7370
  class: "r-alert__close"
7371
- }, w3 = /* @__PURE__ */ v({
7371
+ }, b3 = /* @__PURE__ */ v({
7372
7372
  __name: "RAlert",
7373
7373
  props: {
7374
7374
  type: { default: "info" },
@@ -7380,74 +7380,74 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7380
7380
  },
7381
7381
  emits: ["close"],
7382
7382
  setup(H, { emit: V }) {
7383
- const C = H, L = B(() => ({
7383
+ const C = H, L = g(() => ({
7384
7384
  " r-alert": !0,
7385
7385
  [`r-alert--${C.variant}`]: !0,
7386
7386
  "r-alert--block": C.block,
7387
7387
  [`r-alert--${C.variant}--${C.type}`]: !0
7388
- })), M = B(() => ({
7388
+ })), A = g(() => ({
7389
7389
  success: "mdiCheckCircle",
7390
7390
  error: "mdiAlertCircle",
7391
7391
  warning: "mdiAlert",
7392
7392
  info: "mdiInformation"
7393
- })[C.type]), i = () => {
7393
+ })[C.type]), M = () => {
7394
7394
  V("close");
7395
7395
  };
7396
- return (A, e) => (t(), a("div", {
7396
+ return (i, e) => (t(), a("div", {
7397
7397
  class: f(p(L))
7398
7398
  }, [
7399
7399
  u("div", T2, [
7400
- b(A.$slots, "alert-icon", {}, () => [
7401
- V1(x, {
7402
- name: p(M),
7400
+ b(i.$slots, "alert-icon", {}, () => [
7401
+ X(F, {
7402
+ name: p(A),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
7405
7405
  ])
7406
7406
  ]),
7407
7407
  u("div", v2, [
7408
- b(A.$slots, "content", {}, () => [
7408
+ b(i.$slots, "content", {}, () => [
7409
7409
  u("p", F2, y(C.title), 1),
7410
- C.description ? (t(), a("p", R2, y(C.description), 1)) : g("", !0)
7410
+ C.description ? (t(), a("p", R2, y(C.description), 1)) : k("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
7413
  C.closable ? (t(), a("div", x2, [
7414
- b(A.$slots, "custom-close", {}, () => [
7415
- V1(x, {
7414
+ b(i.$slots, "custom-close", {}, () => [
7415
+ X(F, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
7419
- onClick: i
7419
+ onClick: M
7420
7420
  })
7421
7421
  ])
7422
- ])) : g("", !0)
7422
+ ])) : k("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
- }), E1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", D2 = { class: "avatar__wrapper" }, E2 = ["alt", "src"], P3 = /* @__PURE__ */ v({
7425
+ }), D1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", D2 = { class: "avatar__wrapper" }, E2 = ["alt", "src"], y3 = /* @__PURE__ */ v({
7426
7426
  __name: "RAvatar",
7427
7427
  props: {
7428
7428
  type: { default: "image" },
7429
- src: { default: E1 },
7429
+ src: { default: D1 },
7430
7430
  alt: { default: "Avatar" },
7431
7431
  size: { default: "2xl" },
7432
7432
  online: { type: Boolean, default: !1 },
7433
7433
  text: { default: "" }
7434
7434
  },
7435
7435
  setup(H) {
7436
- const V = H, C = B(() => ({
7436
+ const V = H, C = g(() => ({
7437
7437
  avatar: !0,
7438
7438
  [`avatar--${V.size}`]: !0
7439
- })), L = B(() => V.type === "image" && !V.src), M = B(() => L.value ? E1 : V.src), i = (A) => {
7440
- const e = A.split(" ");
7439
+ })), L = g(() => V.type === "image" && !V.src), A = g(() => L.value ? D1 : V.src), M = (i) => {
7440
+ const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
7443
- return (A, e) => (t(), a("div", D2, [
7443
+ return (i, e) => (t(), a("div", D2, [
7444
7444
  u("div", {
7445
7445
  class: f(p(C))
7446
7446
  }, [
7447
7447
  V.type === "text" ? (t(), a("p", {
7448
7448
  key: 0,
7449
7449
  class: f({ avatar__text: !0, [`avatar__text--${V.size}`]: !0 })
7450
- }, y(i(V.text)), 3)) : (t(), a("img", {
7450
+ }, y(M(V.text)), 3)) : (t(), a("img", {
7451
7451
  key: 1,
7452
7452
  alt: V.alt,
7453
7453
  class: f({
@@ -7455,16 +7455,16 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7455
7455
  [`avatar__image--${V.size}`]: !0,
7456
7456
  "avatar__image--anonymous": p(L)
7457
7457
  }),
7458
- src: p(M)
7458
+ src: p(A)
7459
7459
  }, null, 10, E2))
7460
7460
  ], 2),
7461
7461
  V.online ? (t(), a("span", {
7462
7462
  key: 0,
7463
7463
  class: f({ avatar__online: !0, [`avatar__online--${V.size}`]: !0 })
7464
- }, null, 2)) : g("", !0)
7464
+ }, null, 2)) : k("", !0)
7465
7465
  ]));
7466
7466
  }
7467
- }), _2 = { class: "badge-wrapper group" }, T3 = /* @__PURE__ */ v({
7467
+ }), _2 = { class: "badge-wrapper group" }, w3 = /* @__PURE__ */ v({
7468
7468
  __name: "RBadge",
7469
7469
  props: {
7470
7470
  variant: { default: "primary" },
@@ -7476,7 +7476,7 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7476
7476
  },
7477
7477
  emits: ["click"],
7478
7478
  setup(H) {
7479
- const V = H, C = B(() => ({
7479
+ const V = H, C = g(() => ({
7480
7480
  badge: !0,
7481
7481
  badge__content: V.content,
7482
7482
  [`badge--overlap-${V.placement}`]: V.overlap,
@@ -7486,15 +7486,15 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7486
7486
  "badge--no-content": !V.content,
7487
7487
  [`badge--${V.variant}`]: V.variant
7488
7488
  }));
7489
- return (L, M) => (t(), a("div", _2, [
7489
+ return (L, A) => (t(), a("div", _2, [
7490
7490
  u("span", {
7491
7491
  class: f(p(C)),
7492
- onClick: M[0] || (M[0] = (i) => L.$emit("click"))
7492
+ onClick: A[0] || (A[0] = (M) => L.$emit("click"))
7493
7493
  }, y(V.content), 3),
7494
7494
  b(L.$slots, "default")
7495
7495
  ]));
7496
7496
  }
7497
- }), W2 = ["disabled"], N2 = /* @__PURE__ */ v({
7497
+ }), W2 = ["disabled"], P3 = /* @__PURE__ */ v({
7498
7498
  __name: "RButton",
7499
7499
  props: {
7500
7500
  variant: { default: "primary" },
@@ -7511,33 +7511,33 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7511
7511
  },
7512
7512
  emits: ["click"],
7513
7513
  setup(H) {
7514
- const V = H, C = B(() => ({
7514
+ const V = H, C = g(() => ({
7515
7515
  button: !0,
7516
7516
  [`button--${V.variant}`]: !0,
7517
7517
  "button--loading": V.loading,
7518
7518
  [`button--${V.size || "medium"}`]: !0,
7519
7519
  "button--only-icon": V.onlyIcon,
7520
7520
  "button--block": V.block
7521
- })), L = B(() => ({
7521
+ })), L = g(() => ({
7522
7522
  small: 20,
7523
7523
  medium: 24,
7524
7524
  large: 32
7525
- })[V.size || "medium"]), M = B(() => {
7526
- const { backgroundColor: i, height: A, color: e } = V;
7525
+ })[V.size || "medium"]), A = g(() => {
7526
+ const { backgroundColor: M, height: i, color: e } = V;
7527
7527
  return {
7528
- backgroundColor: i,
7529
- height: A ? `${A}px` : "",
7528
+ backgroundColor: M,
7529
+ height: i ? `${i}px` : "",
7530
7530
  color: e
7531
7531
  };
7532
7532
  });
7533
- return (i, A) => (t(), a("button", a2(i.$attrs, {
7533
+ return (M, i) => (t(), a("button", n2(M.$attrs, {
7534
7534
  class: p(C),
7535
7535
  disabled: H.disabled || H.loading,
7536
- style: p(M),
7537
- onClick: A[0] || (A[0] = G((e) => i.$emit("click"), ["stop"]))
7536
+ style: p(A),
7537
+ onClick: i[0] || (i[0] = G((e) => M.$emit("click"), ["stop"]))
7538
7538
  }), [
7539
- b(i.$slots, "custom-icon"),
7540
- !i.$slots["custom-icon"] && V.prependIcon ? (t(), R(x, {
7539
+ b(M.$slots, "custom-icon"),
7540
+ !M.$slots["custom-icon"] && V.prependIcon ? (t(), x(F, {
7541
7541
  key: 0,
7542
7542
  class: f({
7543
7543
  "button__prepend-icon": !0,
@@ -7545,23 +7545,23 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7545
7545
  }),
7546
7546
  name: V.prependIcon,
7547
7547
  size: p(L)
7548
- }, null, 8, ["class", "name", "size"])) : g("", !0),
7549
- V.onlyIcon ? g("", !0) : b(i.$slots, "default", { key: 1 }),
7550
- !i.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), R(x, {
7548
+ }, null, 8, ["class", "name", "size"])) : k("", !0),
7549
+ V.onlyIcon ? k("", !0) : b(M.$slots, "default", { key: 1 }),
7550
+ !M.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(F, {
7551
7551
  key: 2,
7552
7552
  class: "button__append-icon",
7553
7553
  name: V.appendIcon,
7554
7554
  size: p(L)
7555
- }, null, 8, ["name", "size"])) : g("", !0)
7555
+ }, null, 8, ["name", "size"])) : k("", !0)
7556
7556
  ], 16, W2));
7557
7557
  }
7558
- }), I2 = { class: "checkbox-wrapper" }, Q2 = { class: "checkbox-container" }, G2 = ["id", "checked", "disabled", "indeterminate"], z2 = ["data-disabled"], U2 = { class: "checkbox-texts" }, $2 = ["data-disabled", "for"], K2 = {
7558
+ }), N2 = { class: "checkbox-wrapper" }, I2 = { class: "checkbox-container" }, Q2 = ["id", "checked", "disabled", "indeterminate"], G2 = ["data-disabled"], z2 = { class: "checkbox-texts" }, U2 = ["data-disabled", "for"], $2 = {
7559
7559
  key: 0,
7560
7560
  class: "checkbox-texts__error"
7561
- }, j2 = {
7561
+ }, K2 = {
7562
7562
  key: 1,
7563
7563
  class: "checkbox-texts__hint"
7564
- }, v3 = /* @__PURE__ */ v({
7564
+ }, T3 = /* @__PURE__ */ v({
7565
7565
  __name: "RCheckbox",
7566
7566
  props: {
7567
7567
  id: { default: "" },
@@ -7577,11 +7577,11 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7577
7577
  const C = H, L = i1({
7578
7578
  checked: !1,
7579
7579
  indeterminate: !1
7580
- }), M = {
7580
+ }), A = {
7581
7581
  checked: "mdiCheck",
7582
7582
  unchecked: "",
7583
7583
  indeterminate: "mdiMinus"
7584
- }, i = B(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), A = B(() => ({
7584
+ }, M = g(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = g(() => ({
7585
7585
  checkbox: !0,
7586
7586
  "checkbox--checked": L.checked,
7587
7587
  "checkbox--disabled": C.disabled,
@@ -7610,8 +7610,8 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7610
7610
  // TODO: find a better way to do this
7611
7611
  immediate: !0
7612
7612
  }
7613
- ), (d, m) => (t(), a("div", I2, [
7614
- u("div", Q2, [
7613
+ ), (d, m) => (t(), a("div", N2, [
7614
+ u("div", I2, [
7615
7615
  u("input", {
7616
7616
  id: C.id,
7617
7617
  checked: L.checked,
@@ -7620,28 +7620,28 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7620
7620
  indeterminate: L.indeterminate,
7621
7621
  type: "checkbox",
7622
7622
  onChange: e
7623
- }, null, 40, G2),
7623
+ }, null, 40, Q2),
7624
7624
  u("div", {
7625
- class: f(p(A)),
7625
+ class: f(p(i)),
7626
7626
  "data-disabled": C.disabled
7627
7627
  }, [
7628
- V1(x, {
7629
- name: p(i),
7628
+ X(F, {
7629
+ name: p(M),
7630
7630
  size: 24
7631
7631
  }, null, 8, ["name"])
7632
- ], 10, z2)
7632
+ ], 10, G2)
7633
7633
  ]),
7634
- u("div", U2, [
7634
+ u("div", z2, [
7635
7635
  u("label", {
7636
7636
  class: "checkbox-texts__label",
7637
7637
  "data-disabled": C.disabled,
7638
7638
  for: C.id
7639
- }, y(C.label), 9, $2),
7640
- C.errorMsg ? (t(), a("p", K2, y(C.errorMsg), 1)) : (t(), a("p", j2, y(C.hint), 1))
7639
+ }, y(C.label), 9, U2),
7640
+ C.errorMsg ? (t(), a("p", $2, y(C.errorMsg), 1)) : (t(), a("p", K2, y(C.hint), 1))
7641
7641
  ])
7642
7642
  ]));
7643
7643
  }
7644
- }), q2 = { class: "chip__content__label" }, Y2 = /* @__PURE__ */ v({
7644
+ }), j2 = { class: "chip__content__label" }, q2 = /* @__PURE__ */ v({
7645
7645
  __name: "RChip",
7646
7646
  props: {
7647
7647
  variant: { default: "primary" },
@@ -7654,96 +7654,96 @@ const B2 = ["data-state"], b2 = ["onClick"], y2 = { class: "r-accordion__title"
7654
7654
  },
7655
7655
  emits: ["click:chip", "click:close"],
7656
7656
  setup(H, { emit: V }) {
7657
- const C = H, L = B(() => ({
7657
+ const C = H, L = g(() => ({
7658
7658
  chip: !0,
7659
7659
  "chip--disabled": C.disabled,
7660
7660
  [`chip__${C.variant}`]: C.variant,
7661
7661
  [`chip__${C.variant}--ghost`]: C.ghost
7662
- })), M = (A) => {
7663
- C.closable && A.stopPropagation(), !C.disabled && V("click:chip", A);
7664
- }, i = (A) => {
7665
- C.disabled || !C.closable || (A.stopPropagation(), V("click:close", A));
7662
+ })), A = (i) => {
7663
+ C.closable && i.stopPropagation(), !C.disabled && V("click:chip", i);
7664
+ }, M = (i) => {
7665
+ C.disabled || !C.closable || (i.stopPropagation(), V("click:close", i));
7666
7666
  };
7667
- return (A, e) => (t(), a("div", {
7667
+ return (i, e) => (t(), a("div", {
7668
7668
  class: f(p(L))
7669
7669
  }, [
7670
7670
  u("div", {
7671
7671
  class: "chip__content",
7672
- onClick: e[0] || (e[0] = (d) => M(d))
7672
+ onClick: e[0] || (e[0] = (d) => A(d))
7673
7673
  }, [
7674
- b(A.$slots, "prepend", {}, () => [
7675
- C.prependIcon ? (t(), R(x, {
7674
+ b(i.$slots, "prepend", {}, () => [
7675
+ C.prependIcon ? (t(), x(F, {
7676
7676
  key: 0,
7677
7677
  class: "chip__content__prepend-icon",
7678
7678
  "aria-disabled": C.disabled,
7679
7679
  name: C.prependIcon,
7680
7680
  size: 12
7681
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7681
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7682
7682
  ]),
7683
- u("span", q2, y(C.label), 1)
7683
+ u("span", j2, y(C.label), 1)
7684
7684
  ]),
7685
- b(A.$slots, "append", {}, () => [
7686
- C.appendIcon ? (t(), R(x, {
7685
+ b(i.$slots, "append", {}, () => [
7686
+ C.appendIcon ? (t(), x(F, {
7687
7687
  key: 0,
7688
7688
  class: "chip__content__append-icon",
7689
7689
  "aria-disabled": C.disabled,
7690
7690
  name: C.appendIcon,
7691
7691
  size: 12,
7692
- onClick: e[1] || (e[1] = (d) => i(d))
7693
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7692
+ onClick: e[1] || (e[1] = (d) => M(d))
7693
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7694
7694
  ])
7695
7695
  ], 2));
7696
7696
  }
7697
7697
  });
7698
- function X2(H) {
7699
- return Z2() ? (u2(H), !0) : !1;
7698
+ function Y2(H) {
7699
+ return r2() ? (a2(H), !0) : !1;
7700
7700
  }
7701
- function X1(H) {
7701
+ function q1(H) {
7702
7702
  return typeof H == "function" ? H() : p(H);
7703
7703
  }
7704
- const J1 = typeof window < "u" && typeof document < "u", J2 = Object.prototype.toString, C5 = (H) => J2.call(H) === "[object Object]", B1 = () => {
7705
- }, H5 = /* @__PURE__ */ V5();
7706
- function V5() {
7704
+ const Y1 = typeof window < "u" && typeof document < "u", X2 = Object.prototype.toString, J2 = (H) => X2.call(H) === "[object Object]", B1 = () => {
7705
+ }, C5 = /* @__PURE__ */ H5();
7706
+ function H5() {
7707
7707
  var H;
7708
- return J1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7708
+ return Y1 && ((H = window == null ? void 0 : window.navigator) == null ? void 0 : H.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
7709
7709
  }
7710
7710
  function d1(H) {
7711
7711
  var V;
7712
- const C = X1(H);
7712
+ const C = q1(H);
7713
7713
  return (V = C == null ? void 0 : C.$el) != null ? V : C;
7714
7714
  }
7715
- const C2 = J1 ? window : void 0;
7715
+ const X1 = Y1 ? window : void 0;
7716
7716
  function g1(...H) {
7717
- let V, C, L, M;
7718
- if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, M] = H, V = C2) : [V, C, L, M] = H, !V)
7717
+ let V, C, L, A;
7718
+ if (typeof H[0] == "string" || Array.isArray(H[0]) ? ([C, L, A] = H, V = X1) : [V, C, L, A] = H, !V)
7719
7719
  return B1;
7720
7720
  Array.isArray(C) || (C = [C]), Array.isArray(L) || (L = [L]);
7721
- const i = [], A = () => {
7722
- i.forEach((o) => o()), i.length = 0;
7721
+ const M = [], i = () => {
7722
+ M.forEach((o) => o()), M.length = 0;
7723
7723
  }, e = (o, l, r, n) => (o.addEventListener(l, r, n), () => o.removeEventListener(l, r, n)), d = Q(
7724
- () => [d1(V), X1(M)],
7724
+ () => [d1(V), q1(A)],
7725
7725
  ([o, l]) => {
7726
- if (A(), !o)
7726
+ if (i(), !o)
7727
7727
  return;
7728
- const r = C5(l) ? { ...l } : l;
7729
- i.push(
7728
+ const r = J2(l) ? { ...l } : l;
7729
+ M.push(
7730
7730
  ...C.flatMap((n) => L.map((S) => e(o, n, S, r)))
7731
7731
  );
7732
7732
  },
7733
7733
  { immediate: !0, flush: "post" }
7734
7734
  ), m = () => {
7735
- d(), A();
7735
+ d(), i();
7736
7736
  };
7737
- return X2(m), m;
7737
+ return Y2(m), m;
7738
7738
  }
7739
- let _1 = !1;
7740
- function L5(H, V, C = {}) {
7741
- const { window: L = C2, ignore: M = [], capture: i = !0, detectIframe: A = !1 } = C;
7739
+ let E1 = !1;
7740
+ function V5(H, V, C = {}) {
7741
+ const { window: L = X1, ignore: A = [], capture: M = !0, detectIframe: i = !1 } = C;
7742
7742
  if (!L)
7743
7743
  return;
7744
- H5 && !_1 && (_1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", B1)), L.document.documentElement.addEventListener("click", B1));
7744
+ C5 && !E1 && (E1 = !0, Array.from(L.document.body.children).forEach((r) => r.addEventListener("click", B1)), L.document.documentElement.addEventListener("click", B1));
7745
7745
  let e = !0;
7746
- const d = (r) => M.some((n) => {
7746
+ const d = (r) => A.some((n) => {
7747
7747
  if (typeof n == "string")
7748
7748
  return Array.from(L.document.querySelectorAll(n)).some((S) => S === r.target || r.composedPath().includes(S));
7749
7749
  {
@@ -7760,12 +7760,12 @@ function L5(H, V, C = {}) {
7760
7760
  }
7761
7761
  V(r);
7762
7762
  }
7763
- }, { passive: !0, capture: i }),
7763
+ }, { passive: !0, capture: M }),
7764
7764
  g1(L, "pointerdown", (r) => {
7765
7765
  const n = d1(H);
7766
7766
  n && (e = !r.composedPath().includes(n) && !d(r));
7767
7767
  }, { passive: !0 }),
7768
- A && g1(L, "blur", (r) => {
7768
+ i && g1(L, "blur", (r) => {
7769
7769
  setTimeout(() => {
7770
7770
  var n;
7771
7771
  const S = d1(H);
@@ -7775,13 +7775,13 @@ function L5(H, V, C = {}) {
7775
7775
  ].filter(Boolean);
7776
7776
  return () => o.forEach((r) => r());
7777
7777
  }
7778
- const M5 = {
7778
+ const L5 = {
7779
7779
  key: 1,
7780
7780
  class: "dropdown__tags"
7781
- }, A5 = {
7781
+ }, M5 = {
7782
7782
  key: 2,
7783
7783
  class: "dropdown__multiple"
7784
- }, i5 = ["id", "disabled", "placeholder", "readonly"], e5 = ["aria-disabled", "onClick"], d5 = { style: { display: "flex", "align-items": "center" } }, F3 = /* @__PURE__ */ v({
7784
+ }, A5 = ["id", "disabled", "placeholder", "readonly"], i5 = ["aria-disabled", "onClick"], e5 = { style: { display: "flex", "align-items": "center" } }, v3 = /* @__PURE__ */ v({
7785
7785
  __name: "RDropdown",
7786
7786
  props: {
7787
7787
  options: { default: () => [] },
@@ -7799,10 +7799,10 @@ const M5 = {
7799
7799
  },
7800
7800
  emits: ["update:modelValue"],
7801
7801
  setup(H, { emit: V }) {
7802
- const C = H, L = D(""), M = i1([]), i = D(!1), A = D(""), e = D(null), d = D(null), m = D(null), o = (c) => {
7802
+ const C = H, L = D(""), A = i1([]), M = D(!1), i = D(""), e = D(null), d = D(null), m = D(null), o = (c) => {
7803
7803
  var Z, O, w;
7804
7804
  if (!C.disabled) {
7805
- if (c.stopPropagation(), i.value = !i.value, i.value) {
7805
+ if (c.stopPropagation(), M.value = !M.value, M.value) {
7806
7806
  (Z = e.value) == null || Z.classList.add("dropdown--active"), (O = e.value) == null || O.focus(), C.searchable && ((w = d.value) == null || w.focus());
7807
7807
  return;
7808
7808
  }
@@ -7810,41 +7810,41 @@ const M5 = {
7810
7810
  }
7811
7811
  }, l = () => {
7812
7812
  var c, Z, O;
7813
- i.value = !1, (c = e.value) == null || c.classList.remove("dropdown--active"), (Z = e.value) == null || Z.blur(), (O = d.value) == null || O.blur();
7813
+ M.value = !1, (c = e.value) == null || c.classList.remove("dropdown--active"), (Z = e.value) == null || Z.blur(), (O = d.value) == null || O.blur();
7814
7814
  }, r = (c, Z) => {
7815
7815
  var O;
7816
7816
  if (C.multiple || C.taggable) {
7817
- c.stopPropagation(), M.find((w) => w.value === Z.value) ? M.splice(M.indexOf(Z), 1) : M.push(Z), A.value = "", C.searchable && ((O = d.value) == null || O.focus());
7817
+ c.stopPropagation(), A.find((w) => w.value === Z.value) ? A.splice(A.indexOf(Z), 1) : A.push(Z), i.value = "", C.searchable && ((O = d.value) == null || O.focus());
7818
7818
  return;
7819
7819
  }
7820
7820
  n(c, Z);
7821
7821
  }, n = (c, Z) => {
7822
7822
  if (L.value === Z.value) {
7823
- L.value = "", A.value = "";
7823
+ L.value = "", i.value = "";
7824
7824
  return;
7825
7825
  }
7826
- A.value = Z.label, L.value = Z.value, o(c), V("update:modelValue", Z);
7826
+ i.value = Z.label, L.value = Z.value, o(c), V("update:modelValue", Z);
7827
7827
  }, S = (c, Z) => {
7828
- if (c instanceof KeyboardEvent && c.key !== "Backspace" || A.value !== "")
7828
+ if (c instanceof KeyboardEvent && c.key !== "Backspace" || i.value !== "")
7829
7829
  return;
7830
7830
  c.stopPropagation();
7831
- const O = M.findIndex((w) => w.value === Z.value);
7832
- M.splice(O, 1);
7833
- }, k = (c) => {
7831
+ const O = A.findIndex((w) => w.value === Z.value);
7832
+ A.splice(O, 1);
7833
+ }, B = (c) => {
7834
7834
  var w;
7835
7835
  if (!C.taggable)
7836
7836
  return;
7837
7837
  c.stopPropagation();
7838
- const Z = A.value;
7838
+ const Z = i.value;
7839
7839
  if (Z === "")
7840
7840
  return;
7841
- C.options.find((_) => _.label === Z) || (M.push({ value: Z, label: Z }), A.value = "", (w = d.value) == null || w.focus());
7842
- }, s = (c) => C.multiple ? M.find((Z) => Z.value === c.value) : L.value === c.value, P = B(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(A.value.toLowerCase())) : C.options);
7843
- return j1(() => {
7844
- C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, A.value = C.modelValue.label));
7845
- }), Q(M, (c) => {
7841
+ C.options.find((_) => _.label === Z) || (A.push({ value: Z, label: Z }), i.value = "", (w = d.value) == null || w.focus());
7842
+ }, s = (c) => C.multiple ? A.find((Z) => Z.value === c.value) : L.value === c.value, P = g(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7843
+ return Z2(() => {
7844
+ C.modelValue && (C.multiple ? A.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7845
+ }), Q(A, (c) => {
7846
7846
  V("update:modelValue", c);
7847
- }), L5(m, l), (c, Z) => (t(), a("div", {
7847
+ }), V5(m, l), (c, Z) => (t(), a("div", {
7848
7848
  class: "dropdown-wrapper",
7849
7849
  ref_key: "wrapper",
7850
7850
  ref: m
@@ -7863,18 +7863,18 @@ const M5 = {
7863
7863
  key: 0,
7864
7864
  class: f({
7865
7865
  "dropdown__prepend-icon": !0,
7866
- "dropdown__prepend-icon--active": i.value
7866
+ "dropdown__prepend-icon--active": M.value
7867
7867
  })
7868
7868
  }, [
7869
7869
  b(c.$slots, "prepend", {}, () => [
7870
- C.prependIcon ? (t(), R(x, {
7870
+ C.prependIcon ? (t(), x(F, {
7871
7871
  key: 0,
7872
7872
  name: C.prependIcon
7873
- }, null, 8, ["name"])) : g("", !0)
7873
+ }, null, 8, ["name"])) : k("", !0)
7874
7874
  ])
7875
- ], 2)) : g("", !0),
7876
- C.taggable ? (t(), a("div", M5, [
7877
- (t(!0), a(C1, null, L1(M, (O, w) => (t(), R(Y2, {
7875
+ ], 2)) : k("", !0),
7876
+ C.taggable ? (t(), a("div", L5, [
7877
+ (t(!0), a(H1, null, L1(A, (O, w) => (t(), x(q2, {
7878
7878
  key: w,
7879
7879
  label: O.label,
7880
7880
  appendIcon: "close",
@@ -7882,16 +7882,16 @@ const M5 = {
7882
7882
  variant: "primary",
7883
7883
  "onClick:close": (_) => S(_, O)
7884
7884
  }, null, 8, ["label", "onClick:close"]))), 128))
7885
- ])) : g("", !0),
7886
- C.multiple ? (t(), a("div", A5, [
7887
- (t(!0), a(C1, null, L1(M, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
- ])) : g("", !0),
7889
- q1(u("input", {
7885
+ ])) : k("", !0),
7886
+ C.multiple ? (t(), a("div", M5, [
7887
+ (t(!0), a(H1, null, L1(A, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
+ ])) : k("", !0),
7889
+ K1(u("input", {
7890
7890
  id: C.id,
7891
7891
  ref_key: "input",
7892
7892
  ref: d,
7893
7893
  type: "text",
7894
- "onUpdate:modelValue": Z[0] || (Z[0] = (O) => A.value = O),
7894
+ "onUpdate:modelValue": Z[0] || (Z[0] = (O) => i.value = O),
7895
7895
  class: f({
7896
7896
  dropdown__input: !0,
7897
7897
  "dropdown__input--loading": C.loading
@@ -7900,31 +7900,31 @@ const M5 = {
7900
7900
  placeholder: C.placeholder,
7901
7901
  readonly: !C.searchable,
7902
7902
  onKeydown: [
7903
- Z[1] || (Z[1] = D1((O) => S(O, M[M.length - 1]), ["backspace"])),
7904
- Z[2] || (Z[2] = D1((O) => k(O), ["enter"]))
7903
+ Z[1] || (Z[1] = x1((O) => S(O, A[A.length - 1]), ["backspace"])),
7904
+ Z[2] || (Z[2] = x1((O) => B(O), ["enter"]))
7905
7905
  ]
7906
- }, null, 42, i5), [
7907
- [S2, A.value]
7906
+ }, null, 42, A5), [
7907
+ [u2, i.value]
7908
7908
  ]),
7909
7909
  C.appendIcon || c.$slots.append ? (t(), a("div", {
7910
7910
  key: 3,
7911
7911
  class: f({
7912
7912
  "dropdown__append-icon": !0,
7913
- "dropdown__append-icon--active": i.value
7913
+ "dropdown__append-icon--active": M.value
7914
7914
  })
7915
7915
  }, [
7916
7916
  b(c.$slots, "append", {}, () => [
7917
- C.appendIcon ? (t(), R(x, {
7917
+ C.appendIcon ? (t(), x(F, {
7918
7918
  key: 0,
7919
7919
  name: C.appendIcon
7920
- }, null, 8, ["name"])) : g("", !0)
7920
+ }, null, 8, ["name"])) : k("", !0)
7921
7921
  ])
7922
- ], 2)) : g("", !0)
7922
+ ], 2)) : k("", !0)
7923
7923
  ], 2),
7924
7924
  u("ul", {
7925
- class: f({ "dropdown-options": !0, "dropdown-options--active": i.value })
7925
+ class: f({ "dropdown-options": !0, "dropdown-options--active": M.value })
7926
7926
  }, [
7927
- (t(!0), a(C1, null, L1(p(P), (O) => (t(), a("li", {
7927
+ (t(!0), a(H1, null, L1(p(P), (O) => (t(), a("li", {
7928
7928
  key: O.value,
7929
7929
  class: f({
7930
7930
  "dropdown-options__option": !0,
@@ -7933,8 +7933,8 @@ const M5 = {
7933
7933
  "aria-disabled": O.disabled,
7934
7934
  onClick: (w) => r(w, O)
7935
7935
  }, [
7936
- u("div", d5, [
7937
- O.prependIcon ? (t(), R(x, {
7936
+ u("div", e5, [
7937
+ O.prependIcon ? (t(), x(F, {
7938
7938
  key: 1,
7939
7939
  class: f({
7940
7940
  "dropdown-options__option__prepend-icon": !0,
@@ -7949,19 +7949,19 @@ const M5 = {
7949
7949
  })
7950
7950
  }, y(O.label), 3)
7951
7951
  ]),
7952
- s(O) ? (t(), R(x, {
7952
+ s(O) ? (t(), x(F, {
7953
7953
  key: 0,
7954
7954
  class: f({
7955
7955
  "dropdown-options__option__append-icon": !0,
7956
7956
  "dropdown-options__option__append-icon--active": s(O)
7957
7957
  }),
7958
7958
  name: "mdiCheck"
7959
- }, null, 8, ["class"])) : g("", !0)
7960
- ], 10, e5))), 128))
7959
+ }, null, 8, ["class"])) : k("", !0)
7960
+ ], 10, i5))), 128))
7961
7961
  ], 2)
7962
7962
  ], 512));
7963
7963
  }
7964
- }), t5 = ["id", "for"], H2 = /* @__PURE__ */ v({
7964
+ }), d5 = ["id", "for"], J1 = /* @__PURE__ */ v({
7965
7965
  __name: "RLabel",
7966
7966
  props: {
7967
7967
  id: { default: "" },
@@ -7973,18 +7973,18 @@ const M5 = {
7973
7973
  return (C, L) => (t(), a("label", {
7974
7974
  id: V.id,
7975
7975
  for: V.for
7976
- }, y(V.text), 9, t5));
7976
+ }, y(V.text), 9, d5));
7977
7977
  }
7978
- }), m5 = ["onClick"], l5 = ["open"], o5 = { class: "dialog__header" }, n5 = {
7978
+ }), t5 = ["onClick"], m5 = ["open"], l5 = { class: "dialog__header" }, o5 = {
7979
7979
  key: 0,
7980
7980
  class: "icon"
7981
- }, r5 = {
7981
+ }, n5 = {
7982
7982
  key: 1,
7983
7983
  class: "title"
7984
- }, a5 = {
7984
+ }, r5 = {
7985
7985
  key: 2,
7986
7986
  class: "description"
7987
- }, Z5 = { class: "dialog__body" }, u5 = { class: "dialog__actions" }, R3 = /* @__PURE__ */ v({
7987
+ }, a5 = { class: "dialog__body" }, Z5 = { class: "dialog__actions" }, F3 = /* @__PURE__ */ v({
7988
7988
  __name: "RModal",
7989
7989
  props: {
7990
7990
  modelValue: { type: Boolean, default: !1 },
@@ -7998,142 +7998,138 @@ const M5 = {
7998
7998
  },
7999
7999
  emits: ["update:modelValue"],
8000
8000
  setup(H, { emit: V }) {
8001
- const C = H, L = B(() => ({
8001
+ const C = H, L = g(() => ({
8002
8002
  dialog: !0,
8003
8003
  "dialog--block": C.block
8004
- })), M = B(() => ({
8004
+ })), A = g(() => ({
8005
8005
  width: C.width,
8006
8006
  height: C.height
8007
- })), i = (A) => {
8008
- C.outsideClick && A.target === A.currentTarget && V("update:modelValue", !1);
8007
+ })), M = (i) => {
8008
+ C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
8009
8009
  };
8010
- return (A, e) => q1((t(), a("div", {
8010
+ return (i, e) => K1((t(), a("div", {
8011
8011
  class: "modal",
8012
- onClick: G(i, ["stop"])
8012
+ onClick: G(M, ["stop"])
8013
8013
  }, [
8014
8014
  u("div", {
8015
- style: T1(p(M)),
8015
+ style: T1(p(A)),
8016
8016
  role: "dialog",
8017
8017
  "aria-modal": "true",
8018
8018
  class: f(p(L)),
8019
8019
  open: C.modelValue
8020
8020
  }, [
8021
- u("div", o5, [
8022
- b(A.$slots, "header"),
8023
- C.icon ? (t(), a("div", n5, [
8024
- V1(x, {
8021
+ u("div", l5, [
8022
+ b(i.$slots, "header"),
8023
+ C.icon ? (t(), a("div", o5, [
8024
+ X(F, {
8025
8025
  name: C.icon
8026
8026
  }, null, 8, ["name"])
8027
- ])) : g("", !0),
8028
- C.title ? (t(), a("div", r5, y(C.title), 1)) : g("", !0),
8029
- C.description ? (t(), a("div", a5, y(C.description), 1)) : g("", !0)
8027
+ ])) : k("", !0),
8028
+ C.title ? (t(), a("div", n5, y(C.title), 1)) : k("", !0),
8029
+ C.description ? (t(), a("div", r5, y(C.description), 1)) : k("", !0)
8030
8030
  ]),
8031
- u("div", Z5, [
8032
- b(A.$slots, "default")
8031
+ u("div", a5, [
8032
+ b(i.$slots, "default")
8033
8033
  ]),
8034
- u("div", u5, [
8035
- b(A.$slots, "actions")
8034
+ u("div", Z5, [
8035
+ b(i.$slots, "actions")
8036
8036
  ])
8037
- ], 14, l5)
8038
- ], 8, m5)), [
8039
- [c2, H.modelValue]
8037
+ ], 14, m5)
8038
+ ], 8, t5)), [
8039
+ [S2, H.modelValue]
8040
8040
  ]);
8041
8041
  }
8042
- }), S5 = { class: "nav" }, c5 = { class: "actions" }, x3 = /* @__PURE__ */ v({
8042
+ }), u5 = { class: "nav" }, S5 = { class: "actions" }, R3 = /* @__PURE__ */ v({
8043
8043
  __name: "RSidebar",
8044
8044
  props: {
8045
8045
  modelValue: { type: Boolean, default: !1 }
8046
8046
  },
8047
8047
  setup(H) {
8048
- const V = H, C = B(() => ({
8048
+ const V = H, C = g(() => ({
8049
8049
  sidebar: !0,
8050
8050
  "sidebar--open": V.modelValue
8051
8051
  }));
8052
- return (L, M) => (t(), a("aside", {
8052
+ return (L, A) => (t(), a("aside", {
8053
8053
  class: f(p(C))
8054
8054
  }, [
8055
- u("nav", S5, [
8055
+ u("nav", u5, [
8056
8056
  b(L.$slots, "default")
8057
8057
  ]),
8058
- u("div", c5, [
8058
+ u("div", S5, [
8059
8059
  b(L.$slots, "actions")
8060
8060
  ])
8061
8061
  ], 2));
8062
8062
  }
8063
- }), s5 = { class: "snackbar__text" }, O5 = {
8063
+ }), c5 = { class: "r-snackbar__text" }, s5 = {
8064
8064
  key: 0,
8065
- class: "snackbar__action"
8066
- }, p5 = {
8067
- key: 1,
8068
- class: "snackbar__close"
8069
- }, D3 = /* @__PURE__ */ v({
8065
+ class: "r-snackbar__close"
8066
+ }, x3 = /* @__PURE__ */ v({
8070
8067
  __name: "RSnackbar",
8071
8068
  props: {
8069
+ modelValue: { type: Boolean, default: !1 },
8072
8070
  text: { default: "" },
8073
- actionText: { default: "" },
8074
- showAction: { type: Boolean, default: !1 },
8075
- showClose: { type: Boolean, default: !1 },
8071
+ closable: { type: Boolean, default: !1 },
8076
8072
  left: { type: Boolean, default: !1 },
8077
- show: { type: Boolean, default: !1 },
8078
- timeout: { default: 0 }
8073
+ timeout: { default: 0 },
8074
+ variant: null,
8075
+ top: { type: Boolean }
8079
8076
  },
8080
- emits: ["action", "close"],
8077
+ emits: ["action", "update:modelValue"],
8081
8078
  setup(H, { emit: V }) {
8082
- const C = H, L = D(!1), M = () => {
8083
- V("action");
8084
- }, i = () => {
8085
- L.value = !1, V("close");
8086
- };
8087
- return j1(() => {
8088
- C.timeout && setTimeout(() => {
8089
- L.value = !1, V("close");
8090
- }, C.timeout);
8091
- }), Q(
8092
- () => C.show,
8093
- (A) => {
8094
- L.value = A;
8079
+ const C = H;
8080
+ Q(
8081
+ () => C.modelValue,
8082
+ () => {
8083
+ C.timeout > 0 && C.modelValue && setTimeout(() => {
8084
+ C.modelValue = !1, V("update:modelValue", !1);
8085
+ }, C.timeout);
8095
8086
  },
8096
- { immediate: !0 }
8097
- ), (A, e) => (t(), a("div", {
8098
- class: f({
8099
- snackbar: !0,
8100
- "snackbar--closed": !L.value,
8101
- [C.left ? "snackbar--left" : "snackbar--right"]: !0
8102
- })
8087
+ {
8088
+ immediate: !0
8089
+ }
8090
+ );
8091
+ const L = g(() => ({
8092
+ "r-snackbar": !0,
8093
+ [`r-snackbar--${C.variant}`]: !0,
8094
+ [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
8095
+ [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
8096
+ [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0
8097
+ })), A = {
8098
+ success: "mdiCheckCircle",
8099
+ error: "mdiAlertCircle",
8100
+ warning: "mdiAlert",
8101
+ info: "mdiInformation"
8102
+ }[C.variant || "info"];
8103
+ return (M, i) => (t(), a("div", {
8104
+ class: f(p(L))
8103
8105
  }, [
8104
- u("div", s5, y(C.text), 1),
8105
- C.showAction ? (t(), a("div", O5, [
8106
- b(A.$slots, "action"),
8107
- A.$slots.action ? g("", !0) : (t(), R(N2, {
8108
- key: 0,
8109
- size: "small",
8110
- variant: "ghost",
8111
- onClick: M
8112
- }, {
8113
- default: v1(() => [
8114
- Y1(y(C.actionText), 1)
8115
- ]),
8116
- _: 1
8117
- }))
8118
- ])) : g("", !0),
8119
- C.showClose ? (t(), a("div", p5, [
8120
- b(A.$slots, "close"),
8121
- A.$slots.close ? g("", !0) : (t(), R(x, {
8106
+ b(M.$slots, "default", {}, () => [
8107
+ C.variant ? (t(), x(F, {
8122
8108
  key: 0,
8123
- name: "mdiClose",
8124
- size: 20,
8125
- onClick: G(i, ["stop"])
8126
- }, null, 8, ["onClick"]))
8127
- ])) : g("", !0)
8109
+ name: p(A),
8110
+ class: "r-snackbar__icon"
8111
+ }, null, 8, ["name"])) : k("", !0)
8112
+ ]),
8113
+ u("div", c5, y(C.text), 1),
8114
+ b(M.$slots, "action"),
8115
+ C.closable ? (t(), a("div", s5, [
8116
+ b(M.$slots, "close", {}, () => [
8117
+ X(F, {
8118
+ name: "mdiClose",
8119
+ size: 16,
8120
+ onClick: i[0] || (i[0] = G((e) => M.$emit("update:modelValue", !1), ["stop"]))
8121
+ })
8122
+ ])
8123
+ ])) : k("", !0)
8128
8124
  ], 2));
8129
8125
  }
8130
- }), h5 = { class: "switch-container" }, f5 = ["id", "checked"], g5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), k5 = ["id", "for"], B5 = {
8126
+ }), O5 = { class: "switch-container" }, p5 = ["id", "checked"], h5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), f5 = ["id", "for"], g5 = {
8131
8127
  key: 0,
8132
8128
  class: "switch-texts__error"
8133
- }, b5 = {
8129
+ }, k5 = {
8134
8130
  key: 1,
8135
8131
  class: "switch-texts__hint"
8136
- }, E3 = /* @__PURE__ */ v({
8132
+ }, D3 = /* @__PURE__ */ v({
8137
8133
  __name: "RSwitch",
8138
8134
  props: {
8139
8135
  id: { default: "switch" },
@@ -8148,36 +8144,36 @@ const M5 = {
8148
8144
  setup(H, { emit: V }) {
8149
8145
  const C = H, L = i1({
8150
8146
  checked: !1
8151
- }), M = B(() => ({
8147
+ }), A = g(() => ({
8152
8148
  switch: !0,
8153
8149
  "switch--disabled": C.disabled,
8154
8150
  [`switch--${C.size}`]: C.size,
8155
8151
  "switch--error": C.errorMsg
8156
- })), i = (A) => {
8157
- C.disabled || (L.checked = A.target.checked, V("update:modelValue", L.checked));
8152
+ })), M = (i) => {
8153
+ C.disabled || (L.checked = i.target.checked, V("update:modelValue", L.checked));
8158
8154
  };
8159
8155
  return Q(
8160
8156
  () => C.modelValue,
8161
- (A) => {
8162
- L.checked = A;
8157
+ (i) => {
8158
+ L.checked = i;
8163
8159
  },
8164
8160
  {
8165
8161
  // need immediate to set the state on first render for storybook
8166
8162
  // TODO: find a better way to do this
8167
8163
  immediate: !0
8168
8164
  }
8169
- ), (A, e) => (t(), a("div", h5, [
8165
+ ), (i, e) => (t(), a("div", O5, [
8170
8166
  u("div", {
8171
- class: f(p(M))
8167
+ class: f(p(A))
8172
8168
  }, [
8173
8169
  u("input", {
8174
8170
  id: C.id,
8175
8171
  checked: L.checked,
8176
8172
  class: "switch__input",
8177
8173
  type: "checkbox",
8178
- onChange: i
8179
- }, null, 40, f5),
8180
- g5
8174
+ onChange: M
8175
+ }, null, 40, p5),
8176
+ h5
8181
8177
  ], 2),
8182
8178
  u("div", {
8183
8179
  class: f({
@@ -8189,17 +8185,17 @@ const M5 = {
8189
8185
  id: C.id,
8190
8186
  class: "switch-texts__label",
8191
8187
  for: C.id
8192
- }, y(C.label), 9, k5),
8193
- C.errorMsg ? (t(), a("p", B5, y(C.errorMsg), 1)) : (t(), a("p", b5, y(C.hint), 1))
8188
+ }, y(C.label), 9, f5),
8189
+ C.errorMsg ? (t(), a("p", g5, y(C.errorMsg), 1)) : (t(), a("p", k5, y(C.hint), 1))
8194
8190
  ], 2)
8195
8191
  ]));
8196
8192
  }
8197
8193
  });
8198
8194
  var t1 = /* @__PURE__ */ ((H) => (H.DEFAULT = "default", H.TEXT = "text", H.ICON = "icon", H))(t1 || {});
8199
- const y5 = ["aria-disabled", "aria-selected", "disabled"], w5 = {
8195
+ const B5 = ["aria-disabled", "aria-selected", "disabled"], b5 = {
8200
8196
  key: 0,
8201
8197
  class: "tab-item__label"
8202
- }, P5 = /* @__PURE__ */ v({
8198
+ }, y5 = /* @__PURE__ */ v({
8203
8199
  __name: "RTabItem",
8204
8200
  props: {
8205
8201
  id: null,
@@ -8215,50 +8211,50 @@ const y5 = ["aria-disabled", "aria-selected", "disabled"], w5 = {
8215
8211
  },
8216
8212
  emits: ["update:modelValue", "click:icon"],
8217
8213
  setup(H, { emit: V }) {
8218
- const C = H, L = B(() => ({
8214
+ const C = H, L = g(() => ({
8219
8215
  "tab-item": !0,
8220
8216
  [`tab-item--${C.variant}`]: !0,
8221
8217
  "tab-item--tile": C.tile,
8222
8218
  "tab-item--block": C.block
8223
- })), M = B(() => ({
8219
+ })), A = g(() => ({
8224
8220
  color: C.color
8225
8221
  }));
8226
- function i(e) {
8222
+ function M(e) {
8227
8223
  V("update:modelValue", e);
8228
8224
  }
8229
- function A() {
8225
+ function i() {
8230
8226
  V("click:icon");
8231
8227
  }
8232
8228
  return (e, d) => (t(), a("button", {
8233
8229
  "aria-disabled": C.disabled,
8234
8230
  "aria-selected": C.modelValue === C.id,
8235
8231
  class: f(p(L)),
8236
- style: T1(p(M)),
8232
+ style: T1(p(A)),
8237
8233
  disabled: C.disabled,
8238
- onClick: d[0] || (d[0] = G((m) => i(C.id), ["stop"]))
8234
+ onClick: d[0] || (d[0] = G((m) => M(C.id), ["stop"]))
8239
8235
  }, [
8240
8236
  b(e.$slots, "prepend", {}, () => [
8241
- C.variant !== p(t1).TEXT && C.prependIcon ? (t(), R(x, {
8237
+ C.variant !== p(t1).TEXT && C.prependIcon ? (t(), x(F, {
8242
8238
  key: 0,
8243
8239
  class: "tab-item__prepend-icon",
8244
8240
  name: C.prependIcon,
8245
8241
  size: 16
8246
- }, null, 8, ["name"])) : g("", !0)
8242
+ }, null, 8, ["name"])) : k("", !0)
8247
8243
  ]),
8248
- C.variant !== p(t1).ICON ? (t(), a("span", w5, y(C.label), 1)) : g("", !0),
8244
+ C.variant !== p(t1).ICON ? (t(), a("span", b5, y(C.label), 1)) : k("", !0),
8249
8245
  b(e.$slots, "append", {}, () => [
8250
- C.variant !== p(t1).TEXT && C.appendIcon ? (t(), R(x, {
8246
+ C.variant !== p(t1).TEXT && C.appendIcon ? (t(), x(F, {
8251
8247
  key: 0,
8252
8248
  class: "tab-item__append-icon",
8253
8249
  name: C.appendIcon,
8254
8250
  size: 16,
8255
- onClick: G(A, ["stop"])
8256
- }, null, 8, ["name", "onClick"])) : g("", !0)
8251
+ onClick: G(i, ["stop"])
8252
+ }, null, 8, ["name", "onClick"])) : k("", !0)
8257
8253
  ])
8258
- ], 14, y5));
8254
+ ], 14, B5));
8259
8255
  }
8260
8256
  });
8261
- var F = {}, N, I;
8257
+ var R = {}, N, I;
8262
8258
  function b1() {
8263
8259
  throw new Error("setTimeout has not been defined");
8264
8260
  }
@@ -8277,7 +8273,7 @@ function y1() {
8277
8273
  I = y1;
8278
8274
  }
8279
8275
  })();
8280
- function V2(H) {
8276
+ function C2(H) {
8281
8277
  if (N === setTimeout)
8282
8278
  return setTimeout(H, 0);
8283
8279
  if ((N === b1 || !N) && setTimeout)
@@ -8292,7 +8288,7 @@ function V2(H) {
8292
8288
  }
8293
8289
  }
8294
8290
  }
8295
- function T5(H) {
8291
+ function w5(H) {
8296
8292
  if (I === clearTimeout)
8297
8293
  return clearTimeout(H);
8298
8294
  if ((I === y1 || !I) && clearTimeout)
@@ -8307,68 +8303,68 @@ function T5(H) {
8307
8303
  }
8308
8304
  }
8309
8305
  }
8310
- var z = [], M1 = !1, J, a1 = -1;
8311
- function v5() {
8312
- !M1 || !J || (M1 = !1, J.length ? z = J.concat(z) : a1 = -1, z.length && L2());
8306
+ var z = [], M1 = !1, C1, a1 = -1;
8307
+ function P5() {
8308
+ !M1 || !C1 || (M1 = !1, C1.length ? z = C1.concat(z) : a1 = -1, z.length && H2());
8313
8309
  }
8314
- function L2() {
8310
+ function H2() {
8315
8311
  if (!M1) {
8316
- var H = V2(v5);
8312
+ var H = C2(P5);
8317
8313
  M1 = !0;
8318
8314
  for (var V = z.length; V; ) {
8319
- for (J = z, z = []; ++a1 < V; )
8320
- J && J[a1].run();
8315
+ for (C1 = z, z = []; ++a1 < V; )
8316
+ C1 && C1[a1].run();
8321
8317
  a1 = -1, V = z.length;
8322
8318
  }
8323
- J = null, M1 = !1, T5(H);
8319
+ C1 = null, M1 = !1, w5(H);
8324
8320
  }
8325
8321
  }
8326
- F.nextTick = function(H) {
8322
+ R.nextTick = function(H) {
8327
8323
  var V = new Array(arguments.length - 1);
8328
8324
  if (arguments.length > 1)
8329
8325
  for (var C = 1; C < arguments.length; C++)
8330
8326
  V[C - 1] = arguments[C];
8331
- z.push(new M2(H, V)), z.length === 1 && !M1 && V2(L2);
8327
+ z.push(new V2(H, V)), z.length === 1 && !M1 && C2(H2);
8332
8328
  };
8333
- function M2(H, V) {
8329
+ function V2(H, V) {
8334
8330
  this.fun = H, this.array = V;
8335
8331
  }
8336
- M2.prototype.run = function() {
8332
+ V2.prototype.run = function() {
8337
8333
  this.fun.apply(null, this.array);
8338
8334
  };
8339
- F.title = "browser";
8340
- F.browser = !0;
8341
- F.env = {};
8342
- F.argv = [];
8343
- F.version = "";
8344
- F.versions = {};
8335
+ R.title = "browser";
8336
+ R.browser = !0;
8337
+ R.env = {};
8338
+ R.argv = [];
8339
+ R.version = "";
8340
+ R.versions = {};
8345
8341
  function K() {
8346
8342
  }
8347
- F.on = K;
8348
- F.addListener = K;
8349
- F.once = K;
8350
- F.off = K;
8351
- F.removeListener = K;
8352
- F.removeAllListeners = K;
8353
- F.emit = K;
8354
- F.prependListener = K;
8355
- F.prependOnceListener = K;
8356
- F.listeners = function(H) {
8343
+ R.on = K;
8344
+ R.addListener = K;
8345
+ R.once = K;
8346
+ R.off = K;
8347
+ R.removeListener = K;
8348
+ R.removeAllListeners = K;
8349
+ R.emit = K;
8350
+ R.prependListener = K;
8351
+ R.prependOnceListener = K;
8352
+ R.listeners = function(H) {
8357
8353
  return [];
8358
8354
  };
8359
- F.binding = function(H) {
8355
+ R.binding = function(H) {
8360
8356
  throw new Error("process.binding is not supported");
8361
8357
  };
8362
- F.cwd = function() {
8358
+ R.cwd = function() {
8363
8359
  return "/";
8364
8360
  };
8365
- F.chdir = function(H) {
8361
+ R.chdir = function(H) {
8366
8362
  throw new Error("process.chdir is not supported");
8367
8363
  };
8368
- F.umask = function() {
8364
+ R.umask = function() {
8369
8365
  return 0;
8370
8366
  };
8371
- const _3 = /* @__PURE__ */ v({
8367
+ const E3 = /* @__PURE__ */ v({
8372
8368
  __name: "RTabs",
8373
8369
  props: {
8374
8370
  tabs: { default: () => [] },
@@ -8378,7 +8374,7 @@ const _3 = /* @__PURE__ */ v({
8378
8374
  },
8379
8375
  emits: ["update:modelValue", "click:icon"],
8380
8376
  setup(H, { emit: V }) {
8381
- const C = H, L = D(C.modelValue || C.tabs[0].id), M = B(() => ({
8377
+ const C = H, L = D(C.modelValue || C.tabs[0].id), A = g(() => ({
8382
8378
  tabs: !0,
8383
8379
  "tabs--block": C.block,
8384
8380
  "tabs--tile": C.tile
@@ -8389,14 +8385,14 @@ const _3 = /* @__PURE__ */ v({
8389
8385
  V("update:modelValue", L.value);
8390
8386
  }
8391
8387
  );
8392
- const i = () => {
8388
+ const M = () => {
8393
8389
  V("click:icon");
8394
8390
  };
8395
- return (A, e) => (t(), a("div", {
8396
- class: f(p(M))
8391
+ return (i, e) => (t(), a("div", {
8392
+ class: f(p(A))
8397
8393
  }, [
8398
- b(A.$slots, "default", {}, () => [
8399
- (t(!0), a(C1, null, L1(C.tabs, (d, m) => (t(), R(P5, {
8394
+ b(i.$slots, "default", {}, () => [
8395
+ (t(!0), a(H1, null, L1(C.tabs, (d, m) => (t(), x(y5, {
8400
8396
  id: d.id,
8401
8397
  key: m,
8402
8398
  modelValue: L.value,
@@ -8409,18 +8405,18 @@ const _3 = /* @__PURE__ */ v({
8409
8405
  variant: d.variant,
8410
8406
  tile: H.tile,
8411
8407
  block: H.block,
8412
- "onClick:icon": i
8408
+ "onClick:icon": M
8413
8409
  }, null, 8, ["id", "modelValue", "active", "disabled", "prependIcon", "appendIcon", "label", "variant", "tile", "block"]))), 128))
8414
8410
  ])
8415
8411
  ], 2));
8416
8412
  }
8417
- }), F5 = { class: "container" }, R5 = ["id", "disabled", "placeholder", "value"], x5 = {
8413
+ }), T5 = { class: "container" }, v5 = ["id", "disabled", "placeholder", "value"], F5 = {
8418
8414
  key: 1,
8419
8415
  class: "textarea__error"
8420
- }, D5 = {
8416
+ }, R5 = {
8421
8417
  key: 2,
8422
8418
  class: "textarea__hint"
8423
- }, W3 = /* @__PURE__ */ v({
8419
+ }, _3 = /* @__PURE__ */ v({
8424
8420
  __name: "RTextArea",
8425
8421
  props: {
8426
8422
  id: { default: "" },
@@ -8436,25 +8432,25 @@ const _3 = /* @__PURE__ */ v({
8436
8432
  const C = H, L = i1({
8437
8433
  value: ""
8438
8434
  });
8439
- function M(i) {
8440
- V("update:modelValue", i.target.value);
8435
+ function A(M) {
8436
+ V("update:modelValue", M.target.value);
8441
8437
  }
8442
8438
  return Q(
8443
8439
  () => C.modelValue,
8444
- (i) => {
8445
- L.value = i;
8440
+ (M) => {
8441
+ L.value = M;
8446
8442
  },
8447
8443
  {
8448
8444
  immediate: !0
8449
8445
  }
8450
- ), (i, A) => (t(), a("div", F5, [
8451
- C.label ? (t(), R(H2, {
8446
+ ), (M, i) => (t(), a("div", T5, [
8447
+ C.label ? (t(), x(J1, {
8452
8448
  key: 0,
8453
8449
  id: "textarea",
8454
8450
  class: "textarea__label",
8455
8451
  for: "textarea",
8456
8452
  text: C.label
8457
- }, null, 8, ["text"])) : g("", !0),
8453
+ }, null, 8, ["text"])) : k("", !0),
8458
8454
  u("textarea", {
8459
8455
  id: C.id,
8460
8456
  class: f(["textarea", {
@@ -8464,22 +8460,22 @@ const _3 = /* @__PURE__ */ v({
8464
8460
  disabled: C.disabled,
8465
8461
  placeholder: C.placeholder,
8466
8462
  value: L.value,
8467
- onInput: M
8468
- }, null, 42, R5),
8469
- C.errorMsg ? (t(), a("p", x5, y(C.errorMsg), 1)) : (t(), a("p", D5, y(C.hint), 1))
8463
+ onInput: A
8464
+ }, null, 42, v5),
8465
+ C.errorMsg ? (t(), a("p", F5, y(C.errorMsg), 1)) : (t(), a("p", R5, y(C.hint), 1))
8470
8466
  ]));
8471
8467
  }
8472
- }), E5 = {
8468
+ }), x5 = {
8473
8469
  class: /* @__PURE__ */ f({
8474
8470
  textfield__wrapper: !0
8475
8471
  })
8476
- }, _5 = { class: "input-wrapper" }, W5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], N5 = {
8472
+ }, D5 = { class: "input-wrapper" }, E5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], _5 = {
8477
8473
  key: 0,
8478
8474
  class: "textfield__error"
8479
- }, I5 = {
8475
+ }, W5 = {
8480
8476
  key: 1,
8481
8477
  class: "textfield__hint"
8482
- }, N3 = /* @__PURE__ */ v({
8478
+ }, W3 = /* @__PURE__ */ v({
8483
8479
  __name: "RTextfield",
8484
8480
  props: {
8485
8481
  id: { default: "" },
@@ -8506,16 +8502,16 @@ const _3 = /* @__PURE__ */ v({
8506
8502
  "click:clear"
8507
8503
  ],
8508
8504
  setup(H, { emit: V }) {
8509
- const C = H, L = D(), M = i1({
8505
+ const C = H, L = D(), A = i1({
8510
8506
  value: ""
8511
- }), i = D(C.type), A = {
8507
+ }), M = D(C.type), i = {
8512
8508
  password: "mdiLock",
8513
8509
  email: "mdiEmailOutline",
8514
8510
  tel: "mdiPhone",
8515
8511
  url: "mdiLink",
8516
8512
  number: "mdiNumeric",
8517
8513
  text: ""
8518
- }, e = D(!1), d = B(() => !!M.value), m = B(() => {
8514
+ }, e = D(!1), d = g(() => !!A.value), m = g(() => {
8519
8515
  const { disabled: h, loading: T, clearable: E, errorMsg: W } = C;
8520
8516
  return {
8521
8517
  textfield: !0,
@@ -8526,42 +8522,42 @@ const _3 = /* @__PURE__ */ v({
8526
8522
  "textfield--focus": e.value,
8527
8523
  "textfield--filled": d.value
8528
8524
  };
8529
- }), o = B(() => ({
8525
+ }), o = g(() => ({
8530
8526
  "textfield__prepend-icon": !0,
8531
8527
  "textfield__prepend-icon--loading": C.loading,
8532
8528
  "textfield__prepend-icon--error": n.value && d.value
8533
- })), l = B(() => ({
8529
+ })), l = g(() => ({
8534
8530
  "textfield__append-icon": !0,
8535
8531
  "textfield__append-icon--clear": S.value,
8536
8532
  "textfield__append-icon--error": n.value
8537
- })), r = B(() => M.value.length > 0), n = B(() => {
8533
+ })), r = g(() => A.value.length > 0), n = g(() => {
8538
8534
  var h;
8539
8535
  return (h = C.errorMsg) == null ? void 0 : h.length;
8540
- }), S = B(() => C.clearable && r.value), k = B(() => {
8536
+ }), S = g(() => C.clearable && r.value), B = g(() => {
8541
8537
  const { prependIcon: h, type: T } = C;
8542
- return h === "none" ? "" : h || A[T];
8543
- }), s = B(() => {
8538
+ return h === "none" ? "" : h || i[T];
8539
+ }), s = g(() => {
8544
8540
  const { appendIcon: h, type: T } = C;
8545
- return h === "none" ? "" : n.value ? "mdiAlertCircleOutline" : S.value && ["text", "email"].includes(T) ? "mdiClose" : T === "password" && i.value === "password" ? "mdiEyeOutline" : T === "password" && i.value === "text" ? "mdiEyeOffOutline" : h;
8541
+ return h === "none" ? "" : n.value ? "mdiAlertCircleOutline" : S.value && ["text", "email"].includes(T) ? "mdiClose" : T === "password" && M.value === "password" ? "mdiEyeOutline" : T === "password" && M.value === "text" ? "mdiEyeOffOutline" : h;
8546
8542
  }), P = (h) => {
8547
8543
  e.value = !0, V("focus", h);
8548
8544
  }, c = (h) => {
8549
8545
  e.value = !1, V("blur", h);
8550
8546
  }, Z = (h) => {
8551
- M.value = h.target.value, V("input", h);
8547
+ A.value = h.target.value, V("input", h);
8552
8548
  }, O = () => {
8553
8549
  var h;
8554
8550
  if (S.value) {
8555
- M.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8556
- value: i.value === "number" ? +M.value : M.value
8551
+ A.value = "", (h = L.value) == null || h.focus(), V("click:clear", {
8552
+ value: M.value === "number" ? +A.value : A.value
8557
8553
  });
8558
8554
  return;
8559
8555
  }
8560
8556
  V("click:icon", {
8561
- value: i.value === "number" ? +M.value : M.value
8562
- }), i.value === "password" && w();
8557
+ value: M.value === "number" ? +A.value : A.value
8558
+ }), M.value === "password" && w();
8563
8559
  }, w = () => {
8564
- i.value = i.value === "password" ? "text" : "password";
8560
+ M.value = M.value === "password" ? "text" : "password";
8565
8561
  }, _ = () => {
8566
8562
  var h;
8567
8563
  (h = L.value) == null || h.focus();
@@ -8569,22 +8565,22 @@ const _3 = /* @__PURE__ */ v({
8569
8565
  return Q(
8570
8566
  () => C.modelValue,
8571
8567
  (h) => {
8572
- M.value = h;
8568
+ A.value = h;
8573
8569
  },
8574
8570
  {
8575
8571
  immediate: !0
8576
8572
  }
8577
8573
  ), Q(
8578
- () => M.value,
8574
+ () => A.value,
8579
8575
  (h) => {
8580
8576
  V(
8581
8577
  "update:modelValue",
8582
- i.value === "number" ? +h : h
8578
+ M.value === "number" ? +h : h
8583
8579
  );
8584
8580
  }
8585
8581
  ), (h, T) => (t(), a("fieldset", null, [
8586
- u("div", E5, [
8587
- V1(H2, {
8582
+ u("div", x5, [
8583
+ X(J1, {
8588
8584
  id: C.id,
8589
8585
  class: f({
8590
8586
  textfield__label: !0
@@ -8593,42 +8589,42 @@ const _3 = /* @__PURE__ */ v({
8593
8589
  text: C.label,
8594
8590
  onClick: _
8595
8591
  }, null, 8, ["id", "for", "text"]),
8596
- u("div", _5, [
8592
+ u("div", D5, [
8597
8593
  u("div", {
8598
8594
  class: f(p(m))
8599
8595
  }, [
8600
8596
  b(h.$slots, "prepend"),
8601
- p(k) && !h.$slots.prepend ? (t(), R(x, {
8597
+ p(B) && !h.$slots.prepend ? (t(), x(F, {
8602
8598
  key: 0,
8603
8599
  class: f(p(o)),
8604
- name: p(k),
8600
+ name: p(B),
8605
8601
  size: 20
8606
- }, null, 8, ["class", "name"])) : g("", !0),
8602
+ }, null, 8, ["class", "name"])) : k("", !0),
8607
8603
  u("input", {
8608
8604
  ref_key: "inputRef",
8609
8605
  ref: L,
8610
8606
  id: C.id,
8611
8607
  disabled: C.disabled,
8612
8608
  placeholder: C.placeholder,
8613
- type: i.value,
8614
- value: M.value,
8609
+ type: M.value,
8610
+ value: A.value,
8615
8611
  min: C.min,
8616
8612
  max: C.max,
8617
8613
  onBlur: c,
8618
8614
  onFocus: P,
8619
8615
  onInput: Z
8620
- }, null, 40, W5),
8616
+ }, null, 40, E5),
8621
8617
  b(h.$slots, "append"),
8622
- p(s) && !h.$slots.append ? (t(), R(x, {
8618
+ p(s) && !h.$slots.append ? (t(), x(F, {
8623
8619
  key: 1,
8624
8620
  class: f(p(l)),
8625
8621
  name: `${p(s)}`,
8626
8622
  size: 20,
8627
8623
  onClick: O
8628
- }, null, 8, ["class", "name"])) : g("", !0)
8624
+ }, null, 8, ["class", "name"])) : k("", !0)
8629
8625
  ], 2),
8630
- C.errorMsg ? (t(), a("div", N5, y(C.errorMsg), 1)) : g("", !0),
8631
- !C.errorMsg && C.hint ? (t(), a("div", I5, y(C.hint), 1)) : g("", !0)
8626
+ C.errorMsg ? (t(), a("div", _5, y(C.errorMsg), 1)) : k("", !0),
8627
+ !C.errorMsg && C.hint ? (t(), a("div", W5, y(C.hint), 1)) : k("", !0)
8632
8628
  ])
8633
8629
  ])
8634
8630
  ]));
@@ -8643,25 +8639,25 @@ function s1(H) {
8643
8639
  function n1(H) {
8644
8640
  return ["top", "bottom"].includes(o1(H)) ? "x" : "y";
8645
8641
  }
8646
- function F1(H) {
8642
+ function v1(H) {
8647
8643
  return H === "y" ? "height" : "width";
8648
8644
  }
8649
- function W1(H, V, C) {
8650
- let { reference: L, floating: M } = H;
8651
- const i = L.x + L.width / 2 - M.width / 2, A = L.y + L.height / 2 - M.height / 2, e = n1(V), d = F1(e), m = L[d] / 2 - M[d] / 2, o = e === "x";
8645
+ function _1(H, V, C) {
8646
+ let { reference: L, floating: A } = H;
8647
+ const M = L.x + L.width / 2 - A.width / 2, i = L.y + L.height / 2 - A.height / 2, e = n1(V), d = v1(e), m = L[d] / 2 - A[d] / 2, o = e === "x";
8652
8648
  let l;
8653
8649
  switch (o1(V)) {
8654
8650
  case "top":
8655
- l = { x: i, y: L.y - M.height };
8651
+ l = { x: M, y: L.y - A.height };
8656
8652
  break;
8657
8653
  case "bottom":
8658
- l = { x: i, y: L.y + L.height };
8654
+ l = { x: M, y: L.y + L.height };
8659
8655
  break;
8660
8656
  case "right":
8661
- l = { x: L.x + L.width, y: A };
8657
+ l = { x: L.x + L.width, y: i };
8662
8658
  break;
8663
8659
  case "left":
8664
- l = { x: L.x - M.width, y: A };
8660
+ l = { x: L.x - A.width, y: i };
8665
8661
  break;
8666
8662
  default:
8667
8663
  l = { x: L.x, y: L.y };
@@ -8675,16 +8671,16 @@ function W1(H, V, C) {
8675
8671
  }
8676
8672
  return l;
8677
8673
  }
8678
- const Q5 = async (H, V, C) => {
8679
- const { placement: L = "bottom", strategy: M = "absolute", middleware: i = [], platform: A } = C, e = i.filter(Boolean), d = await (A.isRTL == null ? void 0 : A.isRTL(V));
8680
- let m = await A.getElementRects({ reference: H, floating: V, strategy: M }), { x: o, y: l } = W1(m, L, d), r = L, n = {}, S = 0;
8681
- for (let k = 0; k < e.length; k++) {
8682
- const { name: s, fn: P } = e[k], { x: c, y: Z, data: O, reset: w } = await P({ x: o, y: l, initialPlacement: L, placement: r, strategy: M, middlewareData: n, rects: m, platform: A, elements: { reference: H, floating: V } });
8683
- o = c ?? o, l = Z ?? l, n = { ...n, [s]: { ...n[s], ...O } }, w && S <= 50 && (S++, typeof w == "object" && (w.placement && (r = w.placement), w.rects && (m = w.rects === !0 ? await A.getElementRects({ reference: H, floating: V, strategy: M }) : w.rects), { x: o, y: l } = W1(m, r, d)), k = -1);
8674
+ const N5 = async (H, V, C) => {
8675
+ const { placement: L = "bottom", strategy: A = "absolute", middleware: M = [], platform: i } = C, e = M.filter(Boolean), d = await (i.isRTL == null ? void 0 : i.isRTL(V));
8676
+ let m = await i.getElementRects({ reference: H, floating: V, strategy: A }), { x: o, y: l } = _1(m, L, d), r = L, n = {}, S = 0;
8677
+ for (let B = 0; B < e.length; B++) {
8678
+ const { name: s, fn: P } = e[B], { x: c, y: Z, data: O, reset: w } = await P({ x: o, y: l, initialPlacement: L, placement: r, strategy: A, middlewareData: n, rects: m, platform: i, elements: { reference: H, floating: V } });
8679
+ o = c ?? o, l = Z ?? l, n = { ...n, [s]: { ...n[s], ...O } }, w && S <= 50 && (S++, typeof w == "object" && (w.placement && (r = w.placement), w.rects && (m = w.rects === !0 ? await i.getElementRects({ reference: H, floating: V, strategy: A }) : w.rects), { x: o, y: l } = _1(m, r, d)), B = -1);
8684
8680
  }
8685
- return { x: o, y: l, placement: r, strategy: M, middlewareData: n };
8681
+ return { x: o, y: l, placement: r, strategy: A, middlewareData: n };
8686
8682
  };
8687
- function A2(H) {
8683
+ function L2(H) {
8688
8684
  return typeof H != "number" ? function(V) {
8689
8685
  return { top: 0, right: 0, bottom: 0, left: 0, ...V };
8690
8686
  }(H) : { top: H, right: H, bottom: H, left: H };
@@ -8695,65 +8691,65 @@ function Z1(H) {
8695
8691
  async function u1(H, V) {
8696
8692
  var C;
8697
8693
  V === void 0 && (V = {});
8698
- const { x: L, y: M, platform: i, rects: A, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = A2(n), k = e[r ? l === "floating" ? "reference" : "floating" : l], s = Z1(await i.getClippingRect({ element: (C = await (i.isElement == null ? void 0 : i.isElement(k))) == null || C ? k : k.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), P = Z1(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...A.floating, x: L, y: M } : A.reference, offsetParent: await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(e.floating)), strategy: d }) : A[l]);
8694
+ const { x: L, y: A, platform: M, rects: i, elements: e, strategy: d } = H, { boundary: m = "clippingAncestors", rootBoundary: o = "viewport", elementContext: l = "floating", altBoundary: r = !1, padding: n = 0 } = V, S = L2(n), B = e[r ? l === "floating" ? "reference" : "floating" : l], s = Z1(await M.getClippingRect({ element: (C = await (M.isElement == null ? void 0 : M.isElement(B))) == null || C ? B : B.contextElement || await (M.getDocumentElement == null ? void 0 : M.getDocumentElement(e.floating)), boundary: m, rootBoundary: o, strategy: d })), P = Z1(M.convertOffsetParentRelativeRectToViewportRelativeRect ? await M.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: l === "floating" ? { ...i.floating, x: L, y: A } : i.reference, offsetParent: await (M.getOffsetParent == null ? void 0 : M.getOffsetParent(e.floating)), strategy: d }) : i[l]);
8699
8695
  return { top: s.top - P.top + S.top, bottom: P.bottom - s.bottom + S.bottom, left: s.left - P.left + S.left, right: P.right - s.right + S.right };
8700
8696
  }
8701
- const G5 = Math.min, z5 = Math.max;
8697
+ const I5 = Math.min, Q5 = Math.max;
8702
8698
  function w1(H, V, C) {
8703
- return z5(H, G5(V, C));
8699
+ return Q5(H, I5(V, C));
8704
8700
  }
8705
- const U5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8706
- const { element: C, padding: L = 0 } = H ?? {}, { x: M, y: i, placement: A, rects: e, platform: d } = V;
8701
+ const G5 = (H) => ({ name: "arrow", options: H, async fn(V) {
8702
+ const { element: C, padding: L = 0 } = H ?? {}, { x: A, y: M, placement: i, rects: e, platform: d } = V;
8707
8703
  if (C == null)
8708
8704
  return {};
8709
- const m = A2(L), o = { x: M, y: i }, l = n1(A), r = s1(A), n = F1(l), S = await d.getDimensions(C), k = l === "y" ? "top" : "left", s = l === "y" ? "bottom" : "right", P = e.reference[n] + e.reference[l] - o[l] - e.floating[n], c = o[l] - e.reference[l], Z = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8705
+ const m = L2(L), o = { x: A, y: M }, l = n1(i), r = s1(i), n = v1(l), S = await d.getDimensions(C), B = l === "y" ? "top" : "left", s = l === "y" ? "bottom" : "right", P = e.reference[n] + e.reference[l] - o[l] - e.floating[n], c = o[l] - e.reference[l], Z = await (d.getOffsetParent == null ? void 0 : d.getOffsetParent(C));
8710
8706
  let O = Z ? l === "y" ? Z.clientHeight || 0 : Z.clientWidth || 0 : 0;
8711
8707
  O === 0 && (O = e.floating[n]);
8712
- const w = P / 2 - c / 2, _ = m[k], h = O - S[n] - m[s], T = O / 2 - S[n] / 2 + w, E = w1(_, T, h), W = (r === "start" ? m[k] : m[s]) > 0 && T !== E && e.reference[n] <= e.floating[n];
8708
+ const w = P / 2 - c / 2, _ = m[B], h = O - S[n] - m[s], T = O / 2 - S[n] / 2 + w, E = w1(_, T, h), W = (r === "start" ? m[B] : m[s]) > 0 && T !== E && e.reference[n] <= e.floating[n];
8713
8709
  return { [l]: o[l] - (W ? T < _ ? _ - T : h - T : 0), data: { [l]: E, centerOffset: T - E } };
8714
- } }), $5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8710
+ } }), z5 = { left: "right", right: "left", bottom: "top", top: "bottom" };
8715
8711
  function S1(H) {
8716
- return H.replace(/left|right|bottom|top/g, (V) => $5[V]);
8712
+ return H.replace(/left|right|bottom|top/g, (V) => z5[V]);
8717
8713
  }
8718
- function K5(H, V, C) {
8714
+ function U5(H, V, C) {
8719
8715
  C === void 0 && (C = !1);
8720
- const L = s1(H), M = n1(H), i = F1(M);
8721
- let A = M === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8722
- return V.reference[i] > V.floating[i] && (A = S1(A)), { main: A, cross: S1(A) };
8716
+ const L = s1(H), A = n1(H), M = v1(A);
8717
+ let i = A === "x" ? L === (C ? "end" : "start") ? "right" : "left" : L === "start" ? "bottom" : "top";
8718
+ return V.reference[M] > V.floating[M] && (i = S1(i)), { main: i, cross: S1(i) };
8723
8719
  }
8724
- const j5 = { start: "end", end: "start" };
8725
- function N1(H) {
8726
- return H.replace(/start|end/g, (V) => j5[V]);
8720
+ const $5 = { start: "end", end: "start" };
8721
+ function W1(H) {
8722
+ return H.replace(/start|end/g, (V) => $5[V]);
8727
8723
  }
8728
- const i2 = ["top", "right", "bottom", "left"];
8729
- i2.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8730
- const q5 = function(H) {
8724
+ const M2 = ["top", "right", "bottom", "left"];
8725
+ M2.reduce((H, V) => H.concat(V, V + "-start", V + "-end"), []);
8726
+ const K5 = function(H) {
8731
8727
  return H === void 0 && (H = {}), { name: "flip", options: H, async fn(V) {
8732
8728
  var C;
8733
- const { placement: L, middlewareData: M, rects: i, initialPlacement: A, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, k = o1(L), s = l || (k === A || !n ? [S1(A)] : function(T) {
8729
+ const { placement: L, middlewareData: A, rects: M, initialPlacement: i, platform: e, elements: d } = V, { mainAxis: m = !0, crossAxis: o = !0, fallbackPlacements: l, fallbackStrategy: r = "bestFit", flipAlignment: n = !0, ...S } = H, B = o1(L), s = l || (B === i || !n ? [S1(i)] : function(T) {
8734
8730
  const E = S1(T);
8735
- return [N1(T), E, N1(E)];
8736
- }(A)), P = [A, ...s], c = await u1(V, S), Z = [];
8737
- let O = ((C = M.flip) == null ? void 0 : C.overflows) || [];
8738
- if (m && Z.push(c[k]), o) {
8739
- const { main: T, cross: E } = K5(L, i, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8731
+ return [W1(T), E, W1(E)];
8732
+ }(i)), P = [i, ...s], c = await u1(V, S), Z = [];
8733
+ let O = ((C = A.flip) == null ? void 0 : C.overflows) || [];
8734
+ if (m && Z.push(c[B]), o) {
8735
+ const { main: T, cross: E } = U5(L, M, await (e.isRTL == null ? void 0 : e.isRTL(d.floating)));
8740
8736
  Z.push(c[T], c[E]);
8741
8737
  }
8742
8738
  if (O = [...O, { placement: L, overflows: Z }], !Z.every((T) => T <= 0)) {
8743
8739
  var w, _;
8744
- const T = ((w = (_ = M.flip) == null ? void 0 : _.index) != null ? w : 0) + 1, E = P[T];
8740
+ const T = ((w = (_ = A.flip) == null ? void 0 : _.index) != null ? w : 0) + 1, E = P[T];
8745
8741
  if (E)
8746
8742
  return { data: { index: T, overflows: O }, reset: { placement: E } };
8747
8743
  let W = "bottom";
8748
8744
  switch (r) {
8749
8745
  case "bestFit": {
8750
8746
  var h;
8751
- const x1 = (h = O.map((r1) => [r1, r1.overflows.filter((e1) => e1 > 0).reduce((e1, r2) => e1 + r2, 0)]).sort((r1, e1) => r1[1] - e1[1])[0]) == null ? void 0 : h[0].placement;
8752
- x1 && (W = x1);
8747
+ const R1 = (h = O.map((r1) => [r1, r1.overflows.filter((e1) => e1 > 0).reduce((e1, o2) => e1 + o2, 0)]).sort((r1, e1) => r1[1] - e1[1])[0]) == null ? void 0 : h[0].placement;
8748
+ R1 && (W = R1);
8753
8749
  break;
8754
8750
  }
8755
8751
  case "initialPlacement":
8756
- W = A;
8752
+ W = i;
8757
8753
  }
8758
8754
  if (L !== W)
8759
8755
  return { reset: { placement: W } };
@@ -8761,68 +8757,68 @@ const q5 = function(H) {
8761
8757
  return {};
8762
8758
  } };
8763
8759
  };
8764
- function I1(H, V) {
8760
+ function N1(H, V) {
8765
8761
  return { top: H.top - V.height, right: H.right - V.width, bottom: H.bottom - V.height, left: H.left - V.width };
8766
8762
  }
8767
- function Q1(H) {
8768
- return i2.some((V) => H[V] >= 0);
8763
+ function I1(H) {
8764
+ return M2.some((V) => H[V] >= 0);
8769
8765
  }
8770
- const Y5 = function(H) {
8766
+ const j5 = function(H) {
8771
8767
  let { strategy: V = "referenceHidden", ...C } = H === void 0 ? {} : H;
8772
8768
  return { name: "hide", async fn(L) {
8773
- const { rects: M } = L;
8769
+ const { rects: A } = L;
8774
8770
  switch (V) {
8775
8771
  case "referenceHidden": {
8776
- const i = I1(await u1(L, { ...C, elementContext: "reference" }), M.reference);
8777
- return { data: { referenceHiddenOffsets: i, referenceHidden: Q1(i) } };
8772
+ const M = N1(await u1(L, { ...C, elementContext: "reference" }), A.reference);
8773
+ return { data: { referenceHiddenOffsets: M, referenceHidden: I1(M) } };
8778
8774
  }
8779
8775
  case "escaped": {
8780
- const i = I1(await u1(L, { ...C, altBoundary: !0 }), M.floating);
8781
- return { data: { escapedOffsets: i, escaped: Q1(i) } };
8776
+ const M = N1(await u1(L, { ...C, altBoundary: !0 }), A.floating);
8777
+ return { data: { escapedOffsets: M, escaped: I1(M) } };
8782
8778
  }
8783
8779
  default:
8784
8780
  return {};
8785
8781
  }
8786
8782
  } };
8787
- }, X5 = function(H) {
8783
+ }, q5 = function(H) {
8788
8784
  return H === void 0 && (H = 0), { name: "offset", options: H, async fn(V) {
8789
- const { x: C, y: L } = V, M = await async function(i, A) {
8790
- const { placement: e, platform: d, elements: m } = i, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = o1(e), r = s1(e), n = n1(e) === "x", S = ["left", "top"].includes(l) ? -1 : 1, k = o && n ? -1 : 1, s = typeof A == "function" ? A(i) : A;
8785
+ const { x: C, y: L } = V, A = await async function(M, i) {
8786
+ const { placement: e, platform: d, elements: m } = M, o = await (d.isRTL == null ? void 0 : d.isRTL(m.floating)), l = o1(e), r = s1(e), n = n1(e) === "x", S = ["left", "top"].includes(l) ? -1 : 1, B = o && n ? -1 : 1, s = typeof i == "function" ? i(M) : i;
8791
8787
  let { mainAxis: P, crossAxis: c, alignmentAxis: Z } = typeof s == "number" ? { mainAxis: s, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...s };
8792
- return r && typeof Z == "number" && (c = r === "end" ? -1 * Z : Z), n ? { x: c * k, y: P * S } : { x: P * S, y: c * k };
8788
+ return r && typeof Z == "number" && (c = r === "end" ? -1 * Z : Z), n ? { x: c * B, y: P * S } : { x: P * S, y: c * B };
8793
8789
  }(V, H);
8794
- return { x: C + M.x, y: L + M.y, data: M };
8790
+ return { x: C + A.x, y: L + A.y, data: A };
8795
8791
  } };
8796
8792
  };
8797
- function J5(H) {
8793
+ function Y5(H) {
8798
8794
  return H === "x" ? "y" : "x";
8799
8795
  }
8800
- const C3 = function(H) {
8796
+ const X5 = function(H) {
8801
8797
  return H === void 0 && (H = {}), { name: "shift", options: H, async fn(V) {
8802
- const { x: C, y: L, placement: M } = V, { mainAxis: i = !0, crossAxis: A = !1, limiter: e = { fn: (s) => {
8798
+ const { x: C, y: L, placement: A } = V, { mainAxis: M = !0, crossAxis: i = !1, limiter: e = { fn: (s) => {
8803
8799
  let { x: P, y: c } = s;
8804
8800
  return { x: P, y: c };
8805
- } }, ...d } = H, m = { x: C, y: L }, o = await u1(V, d), l = n1(o1(M)), r = J5(l);
8801
+ } }, ...d } = H, m = { x: C, y: L }, o = await u1(V, d), l = n1(o1(A)), r = Y5(l);
8806
8802
  let n = m[l], S = m[r];
8807
- if (i) {
8803
+ if (M) {
8808
8804
  const s = l === "y" ? "bottom" : "right";
8809
8805
  n = w1(n + o[l === "y" ? "top" : "left"], n, n - o[s]);
8810
8806
  }
8811
- if (A) {
8807
+ if (i) {
8812
8808
  const s = r === "y" ? "bottom" : "right";
8813
8809
  S = w1(S + o[r === "y" ? "top" : "left"], S, S - o[s]);
8814
8810
  }
8815
- const k = e.fn({ ...V, [l]: n, [r]: S });
8816
- return { ...k, data: { x: k.x - C, y: k.y - L } };
8811
+ const B = e.fn({ ...V, [l]: n, [r]: S });
8812
+ return { ...B, data: { x: B.x - C, y: B.y - L } };
8817
8813
  } };
8818
8814
  };
8819
- function e2(H) {
8815
+ function A2(H) {
8820
8816
  return H && H.document && H.location && H.alert && H.setInterval;
8821
8817
  }
8822
8818
  function j(H) {
8823
8819
  if (H == null)
8824
8820
  return window;
8825
- if (!e2(H)) {
8821
+ if (!A2(H)) {
8826
8822
  const V = H.ownerDocument;
8827
8823
  return V && V.defaultView || window;
8828
8824
  }
@@ -8831,10 +8827,10 @@ function j(H) {
8831
8827
  function U(H) {
8832
8828
  return j(H).getComputedStyle(H);
8833
8829
  }
8834
- function X(H) {
8835
- return e2(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8830
+ function J(H) {
8831
+ return A2(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8836
8832
  }
8837
- function d2() {
8833
+ function i2() {
8838
8834
  const H = navigator.userAgentData;
8839
8835
  return H && Array.isArray(H.brands) ? H.brands.map((V) => V.brand + "/" + V.version).join(" ") : navigator.userAgent;
8840
8836
  }
@@ -8844,38 +8840,38 @@ function $(H) {
8844
8840
  function A1(H) {
8845
8841
  return H instanceof j(H).Element;
8846
8842
  }
8847
- function G1(H) {
8843
+ function Q1(H) {
8848
8844
  return typeof ShadowRoot > "u" ? !1 : H instanceof j(H).ShadowRoot || H instanceof ShadowRoot;
8849
8845
  }
8850
8846
  function O1(H) {
8851
- const { overflow: V, overflowX: C, overflowY: L, display: M } = U(H);
8852
- return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(M);
8847
+ const { overflow: V, overflowX: C, overflowY: L, display: A } = U(H);
8848
+ return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(A);
8853
8849
  }
8854
- function H3(H) {
8855
- return ["table", "td", "th"].includes(X(H));
8850
+ function J5(H) {
8851
+ return ["table", "td", "th"].includes(J(H));
8856
8852
  }
8857
8853
  function P1(H) {
8858
- const V = /firefox/i.test(d2()), C = U(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8859
- return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((M) => C.willChange.includes(M)) || ["paint", "layout", "strict", "content"].some((M) => {
8860
- const i = C.contain;
8861
- return i != null && i.includes(M);
8854
+ const V = /firefox/i.test(i2()), C = U(H), L = C.backdropFilter || C.WebkitBackdropFilter;
8855
+ return C.transform !== "none" || C.perspective !== "none" || !!L && L !== "none" || V && C.willChange === "filter" || V && !!C.filter && C.filter !== "none" || ["transform", "perspective"].some((A) => C.willChange.includes(A)) || ["paint", "layout", "strict", "content"].some((A) => {
8856
+ const M = C.contain;
8857
+ return M != null && M.includes(A);
8862
8858
  });
8863
8859
  }
8864
- function t2() {
8865
- return !/^((?!chrome|android).)*safari/i.test(d2());
8860
+ function e2() {
8861
+ return !/^((?!chrome|android).)*safari/i.test(i2());
8866
8862
  }
8867
- function R1(H) {
8868
- return ["html", "body", "#document"].includes(X(H));
8863
+ function F1(H) {
8864
+ return ["html", "body", "#document"].includes(J(H));
8869
8865
  }
8870
- const z1 = Math.min, m1 = Math.max, c1 = Math.round;
8871
- function H1(H, V, C) {
8872
- var L, M, i, A;
8866
+ const G1 = Math.min, m1 = Math.max, c1 = Math.round;
8867
+ function V1(H, V, C) {
8868
+ var L, A, M, i;
8873
8869
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8874
8870
  const e = H.getBoundingClientRect();
8875
8871
  let d = 1, m = 1;
8876
8872
  V && $(H) && (d = H.offsetWidth > 0 && c1(e.width) / H.offsetWidth || 1, m = H.offsetHeight > 0 && c1(e.height) / H.offsetHeight || 1);
8877
- const o = A1(H) ? j(H) : window, l = !t2() && C, r = (e.left + (l && (L = (M = o.visualViewport) == null ? void 0 : M.offsetLeft) != null ? L : 0)) / d, n = (e.top + (l && (i = (A = o.visualViewport) == null ? void 0 : A.offsetTop) != null ? i : 0)) / m, S = e.width / d, k = e.height / m;
8878
- return { width: S, height: k, top: n, right: r + S, bottom: n + k, left: r, x: r, y: n };
8873
+ const o = A1(H) ? j(H) : window, l = !e2() && C, r = (e.left + (l && (L = (A = o.visualViewport) == null ? void 0 : A.offsetLeft) != null ? L : 0)) / d, n = (e.top + (l && (M = (i = o.visualViewport) == null ? void 0 : i.offsetTop) != null ? M : 0)) / m, S = e.width / d, B = e.height / m;
8874
+ return { width: S, height: B, top: n, right: r + S, bottom: n + B, left: r, x: r, y: n };
8879
8875
  }
8880
8876
  function Y(H) {
8881
8877
  return (V = H, (V instanceof j(V).Node ? H.ownerDocument : H.document) || window.document).documentElement;
@@ -8884,130 +8880,130 @@ function Y(H) {
8884
8880
  function p1(H) {
8885
8881
  return A1(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8886
8882
  }
8887
- function m2(H) {
8888
- return H1(Y(H)).left + p1(H).scrollLeft;
8883
+ function d2(H) {
8884
+ return V1(Y(H)).left + p1(H).scrollLeft;
8889
8885
  }
8890
- function V3(H, V, C) {
8891
- const L = $(V), M = Y(V), i = H1(H, L && function(d) {
8892
- const m = H1(d);
8886
+ function C3(H, V, C) {
8887
+ const L = $(V), A = Y(V), M = V1(H, L && function(d) {
8888
+ const m = V1(d);
8893
8889
  return c1(m.width) !== d.offsetWidth || c1(m.height) !== d.offsetHeight;
8894
8890
  }(V), C === "fixed");
8895
- let A = { scrollLeft: 0, scrollTop: 0 };
8891
+ let i = { scrollLeft: 0, scrollTop: 0 };
8896
8892
  const e = { x: 0, y: 0 };
8897
8893
  if (L || !L && C !== "fixed")
8898
- if ((X(V) !== "body" || O1(M)) && (A = p1(V)), $(V)) {
8899
- const d = H1(V, !0);
8894
+ if ((J(V) !== "body" || O1(A)) && (i = p1(V)), $(V)) {
8895
+ const d = V1(V, !0);
8900
8896
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8901
8897
  } else
8902
- M && (e.x = m2(M));
8903
- return { x: i.left + A.scrollLeft - e.x, y: i.top + A.scrollTop - e.y, width: i.width, height: i.height };
8898
+ A && (e.x = d2(A));
8899
+ return { x: M.left + i.scrollLeft - e.x, y: M.top + i.scrollTop - e.y, width: M.width, height: M.height };
8904
8900
  }
8905
8901
  function l1(H) {
8906
- if (X(H) === "html")
8902
+ if (J(H) === "html")
8907
8903
  return H;
8908
- const V = H.assignedSlot || H.parentNode || (G1(H) ? H.host : null) || Y(H);
8909
- return G1(V) ? V.host : V;
8904
+ const V = H.assignedSlot || H.parentNode || (Q1(H) ? H.host : null) || Y(H);
8905
+ return Q1(V) ? V.host : V;
8910
8906
  }
8911
- function U1(H) {
8907
+ function z1(H) {
8912
8908
  return $(H) && U(H).position !== "fixed" ? H.offsetParent : null;
8913
8909
  }
8914
- function $1(H) {
8910
+ function U1(H) {
8915
8911
  const V = j(H);
8916
- let C = U1(H);
8917
- for (; C && H3(C) && U(C).position === "static"; )
8918
- C = U1(C);
8919
- return C && (X(C) === "html" || X(C) === "body" && U(C).position === "static" && !P1(C)) ? V : C || function(L) {
8920
- let M = l1(L);
8921
- for (; $(M) && !R1(M); ) {
8922
- if (P1(M))
8923
- return M;
8924
- M = l1(M);
8912
+ let C = z1(H);
8913
+ for (; C && J5(C) && U(C).position === "static"; )
8914
+ C = z1(C);
8915
+ return C && (J(C) === "html" || J(C) === "body" && U(C).position === "static" && !P1(C)) ? V : C || function(L) {
8916
+ let A = l1(L);
8917
+ for (; $(A) && !F1(A); ) {
8918
+ if (P1(A))
8919
+ return A;
8920
+ A = l1(A);
8925
8921
  }
8926
8922
  return null;
8927
8923
  }(H) || V;
8928
8924
  }
8929
- function l2(H) {
8925
+ function t2(H) {
8930
8926
  const V = l1(H);
8931
- return R1(V) ? H.ownerDocument.body : $(V) && O1(V) ? V : l2(V);
8927
+ return F1(V) ? H.ownerDocument.body : $(V) && O1(V) ? V : t2(V);
8932
8928
  }
8933
- function o2(H, V) {
8929
+ function m2(H, V) {
8934
8930
  var C;
8935
8931
  V === void 0 && (V = []);
8936
- const L = l2(H), M = L === ((C = H.ownerDocument) == null ? void 0 : C.body), i = j(L), A = M ? [i].concat(i.visualViewport || [], O1(L) ? L : []) : L, e = V.concat(A);
8937
- return M ? e : e.concat(o2(A));
8932
+ const L = t2(H), A = L === ((C = H.ownerDocument) == null ? void 0 : C.body), M = j(L), i = A ? [M].concat(M.visualViewport || [], O1(L) ? L : []) : L, e = V.concat(i);
8933
+ return A ? e : e.concat(m2(i));
8938
8934
  }
8939
- function K1(H, V, C) {
8940
- return V === "viewport" ? Z1(function(L, M) {
8941
- const i = j(L), A = Y(L), e = i.visualViewport;
8942
- let d = A.clientWidth, m = A.clientHeight, o = 0, l = 0;
8935
+ function $1(H, V, C) {
8936
+ return V === "viewport" ? Z1(function(L, A) {
8937
+ const M = j(L), i = Y(L), e = M.visualViewport;
8938
+ let d = i.clientWidth, m = i.clientHeight, o = 0, l = 0;
8943
8939
  if (e) {
8944
8940
  d = e.width, m = e.height;
8945
- const r = t2();
8946
- (r || !r && M === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8941
+ const r = e2();
8942
+ (r || !r && A === "fixed") && (o = e.offsetLeft, l = e.offsetTop);
8947
8943
  }
8948
8944
  return { width: d, height: m, x: o, y: l };
8949
- }(H, C)) : A1(V) ? function(L, M) {
8950
- const i = H1(L, !1, M === "fixed"), A = i.top + L.clientTop, e = i.left + L.clientLeft;
8951
- return { top: A, left: e, x: e, y: A, right: e + L.clientWidth, bottom: A + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8945
+ }(H, C)) : A1(V) ? function(L, A) {
8946
+ const M = V1(L, !1, A === "fixed"), i = M.top + L.clientTop, e = M.left + L.clientLeft;
8947
+ return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8952
8948
  }(V, C) : Z1(function(L) {
8953
- var M;
8954
- const i = Y(L), A = p1(L), e = (M = L.ownerDocument) == null ? void 0 : M.body, d = m1(i.scrollWidth, i.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = m1(i.scrollHeight, i.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8955
- let o = -A.scrollLeft + m2(L);
8956
- const l = -A.scrollTop;
8957
- return U(e || i).direction === "rtl" && (o += m1(i.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8949
+ var A;
8950
+ const M = Y(L), i = p1(L), e = (A = L.ownerDocument) == null ? void 0 : A.body, d = m1(M.scrollWidth, M.clientWidth, e ? e.scrollWidth : 0, e ? e.clientWidth : 0), m = m1(M.scrollHeight, M.clientHeight, e ? e.scrollHeight : 0, e ? e.clientHeight : 0);
8951
+ let o = -i.scrollLeft + d2(L);
8952
+ const l = -i.scrollTop;
8953
+ return U(e || M).direction === "rtl" && (o += m1(M.clientWidth, e ? e.clientWidth : 0) - d), { width: d, height: m, x: o, y: l };
8958
8954
  }(Y(H)));
8959
8955
  }
8960
- const L3 = { getClippingRect: function(H) {
8961
- let { element: V, boundary: C, rootBoundary: L, strategy: M } = H;
8962
- const i = C === "clippingAncestors" ? function(m) {
8963
- let o = o2(m).filter((S) => A1(S) && X(S) !== "body"), l = null;
8956
+ const H3 = { getClippingRect: function(H) {
8957
+ let { element: V, boundary: C, rootBoundary: L, strategy: A } = H;
8958
+ const M = C === "clippingAncestors" ? function(m) {
8959
+ let o = m2(m).filter((S) => A1(S) && J(S) !== "body"), l = null;
8964
8960
  const r = U(m).position === "fixed";
8965
8961
  let n = r ? l1(m) : m;
8966
- for (; A1(n) && !R1(n); ) {
8967
- const S = U(n), k = P1(n);
8968
- (r ? k || l : k || S.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = S : o = o.filter((s) => s !== n), n = l1(n);
8962
+ for (; A1(n) && !F1(n); ) {
8963
+ const S = U(n), B = P1(n);
8964
+ (r ? B || l : B || S.position !== "static" || !l || !["absolute", "fixed"].includes(l.position)) ? l = S : o = o.filter((s) => s !== n), n = l1(n);
8969
8965
  }
8970
8966
  return o;
8971
- }(V) : [].concat(C), A = [...i, L], e = A[0], d = A.reduce((m, o) => {
8972
- const l = K1(V, o, M);
8973
- return m.top = m1(l.top, m.top), m.right = z1(l.right, m.right), m.bottom = z1(l.bottom, m.bottom), m.left = m1(l.left, m.left), m;
8974
- }, K1(V, e, M));
8967
+ }(V) : [].concat(C), i = [...M, L], e = i[0], d = i.reduce((m, o) => {
8968
+ const l = $1(V, o, A);
8969
+ return m.top = m1(l.top, m.top), m.right = G1(l.right, m.right), m.bottom = G1(l.bottom, m.bottom), m.left = m1(l.left, m.left), m;
8970
+ }, $1(V, e, A));
8975
8971
  return { width: d.right - d.left, height: d.bottom - d.top, x: d.left, y: d.top };
8976
8972
  }, convertOffsetParentRelativeRectToViewportRelativeRect: function(H) {
8977
8973
  let { rect: V, offsetParent: C, strategy: L } = H;
8978
- const M = $(C), i = Y(C);
8979
- if (C === i)
8974
+ const A = $(C), M = Y(C);
8975
+ if (C === M)
8980
8976
  return V;
8981
- let A = { scrollLeft: 0, scrollTop: 0 };
8977
+ let i = { scrollLeft: 0, scrollTop: 0 };
8982
8978
  const e = { x: 0, y: 0 };
8983
- if ((M || !M && L !== "fixed") && ((X(C) !== "body" || O1(i)) && (A = p1(C)), $(C))) {
8984
- const d = H1(C, !0);
8979
+ if ((A || !A && L !== "fixed") && ((J(C) !== "body" || O1(M)) && (i = p1(C)), $(C))) {
8980
+ const d = V1(C, !0);
8985
8981
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8986
8982
  }
8987
- return { ...V, x: V.x - A.scrollLeft + e.x, y: V.y - A.scrollTop + e.y };
8983
+ return { ...V, x: V.x - i.scrollLeft + e.x, y: V.y - i.scrollTop + e.y };
8988
8984
  }, isElement: A1, getDimensions: function(H) {
8989
8985
  if ($(H))
8990
8986
  return { width: H.offsetWidth, height: H.offsetHeight };
8991
- const V = H1(H);
8987
+ const V = V1(H);
8992
8988
  return { width: V.width, height: V.height };
8993
- }, getOffsetParent: $1, getDocumentElement: Y, async getElementRects(H) {
8989
+ }, getOffsetParent: U1, getDocumentElement: Y, async getElementRects(H) {
8994
8990
  let { reference: V, floating: C, strategy: L } = H;
8995
- const M = this.getOffsetParent || $1, i = this.getDimensions;
8996
- return { reference: V3(V, await M(C), L), floating: { x: 0, y: 0, ...await i(C) } };
8997
- }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => U(H).direction === "rtl" }, M3 = (H, V, C) => Q5(H, V, { platform: L3, ...C });
8998
- function k1({ value: H }, { value: V }, { value: C }, L, M, i) {
8999
- !H || !V || M3(H, V, {
8991
+ const A = this.getOffsetParent || U1, M = this.getDimensions;
8992
+ return { reference: C3(V, await A(C), L), floating: { x: 0, y: 0, ...await M(C) } };
8993
+ }, getClientRects: (H) => Array.from(H.getClientRects()), isRTL: (H) => U(H).direction === "rtl" }, V3 = (H, V, C) => N5(H, V, { platform: H3, ...C });
8994
+ function k1({ value: H }, { value: V }, { value: C }, L, A, M) {
8995
+ !H || !V || V3(H, V, {
9000
8996
  placement: L,
9001
8997
  middleware: [
9002
- X5(M),
9003
- C3({ padding: i }),
9004
- U5({ element: C }),
9005
- q5(),
9006
- Y5()
8998
+ q5(A),
8999
+ X5({ padding: M }),
9000
+ G5({ element: C }),
9001
+ K5(),
9002
+ j5()
9007
9003
  ]
9008
- }).then(({ x: A, y: e, placement: d, middlewareData: m }) => {
9004
+ }).then(({ x: i, y: e, placement: d, middlewareData: m }) => {
9009
9005
  if (Object.assign(V.style, {
9010
- left: `${A}px`,
9006
+ left: `${i}px`,
9011
9007
  top: `${e}px`
9012
9008
  }), C && m.arrow) {
9013
9009
  const { x: o, y: l } = m.arrow, r = {
@@ -9018,7 +9014,7 @@ function k1({ value: H }, { value: V }, { value: C }, L, M, i) {
9018
9014
  /* Right */
9019
9015
  }[d.split("-")[0]];
9020
9016
  Object.assign(C.style, {
9021
- left: A != null ? `${o}px` : "",
9017
+ left: i != null ? `${o}px` : "",
9022
9018
  top: e != null ? `${l}px` : "",
9023
9019
  right: "",
9024
9020
  bottom: "",
@@ -9027,11 +9023,11 @@ function k1({ value: H }, { value: V }, { value: C }, L, M, i) {
9027
9023
  }
9028
9024
  });
9029
9025
  }
9030
- var n2 = /* @__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))(n2 || {}), q = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(q || {});
9031
- const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], i3 = ["innerHTML"], e3 = /* @__PURE__ */ v({
9026
+ var l2 = /* @__PURE__ */ ((H) => (H.Top = "top", H.Bottom = "bottom", H.Left = "left", H.Right = "right", H.TopStart = "top-start", H.TopEnd = "top-end", H.RightStart = "right-start", H.RightEnd = "right-end", H.BottomStart = "bottom-start", H.BottomEnd = "bottom-end", H.LeftStart = "left-start", H.LeftEnd = "left-end", H))(l2 || {}), q = /* @__PURE__ */ ((H) => (H.Click = "click", H.Hover = "hover", H.Manual = "manual", H))(q || {});
9027
+ const L3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMousemove"], M3 = ["innerHTML"], A3 = /* @__PURE__ */ v({
9032
9028
  __name: "RTooltip",
9033
9029
  props: {
9034
- placement: { default: n2.Top },
9030
+ placement: { default: l2.Top },
9035
9031
  text: { default: "" },
9036
9032
  dark: { type: Boolean, default: !0 },
9037
9033
  light: { type: Boolean, default: !1 },
@@ -9050,16 +9046,16 @@ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9050
9046
  emits: ["show", "hide"],
9051
9047
  setup(H, { emit: V }) {
9052
9048
  const C = H;
9053
- s2((s) => ({
9054
- "271323d4": p(k)
9049
+ c2((s) => ({
9050
+ "271323d4": p(B)
9055
9051
  }));
9056
- const L = D(null), M = D(null), i = D(null);
9057
- function A() {
9052
+ const L = D(null), A = D(null), M = D(null);
9053
+ function i() {
9058
9054
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9059
- Z || (M.value.style.display = "block", V("show"), k1(L, M, i, s, P, c), d(), C.outsideClick && m("add"));
9055
+ Z || (A.value.style.display = "block", V("show"), k1(L, A, M, s, P, c), d(), C.outsideClick && m("add"));
9060
9056
  }
9061
9057
  function e() {
9062
- M.value.style.display = "", V("hide"), C.outsideClick && m("remove");
9058
+ A.value.style.display = "", V("hide"), C.outsideClick && m("remove");
9063
9059
  }
9064
9060
  const d = () => {
9065
9061
  C.autoHide && setTimeout(() => {
@@ -9068,36 +9064,36 @@ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9068
9064
  }, m = (s) => {
9069
9065
  s === "add" && document.addEventListener("click", e), s === "remove" && document.removeEventListener("click", e);
9070
9066
  }, o = () => {
9071
- C.disabled || C.triggers == q.Click && (M.value.style.display === "block" ? e() : A());
9067
+ C.disabled || C.triggers == q.Click && (A.value.style.display === "block" ? e() : i());
9072
9068
  }, l = () => {
9073
- C.disabled || C.triggers === q.Hover && A();
9069
+ C.disabled || C.triggers === q.Hover && i();
9074
9070
  }, r = () => {
9075
9071
  if (!C.disabled)
9076
- if (M.value.style.display === "" && C.triggers === q.Hover) {
9077
- A();
9072
+ if (A.value.style.display === "" && C.triggers === q.Hover) {
9073
+ i();
9078
9074
  return;
9079
9075
  } else
9080
- M.value.style.display !== "" && C.triggers === q.Hover && e();
9076
+ A.value.style.display !== "" && C.triggers === q.Hover && e();
9081
9077
  }, n = () => {
9082
9078
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9083
- Z || C.triggers === q.Hover && k1(L, M, i, s, P, c);
9084
- }, S = B(() => ({
9079
+ Z || C.triggers === q.Hover && k1(L, A, M, s, P, c);
9080
+ }, S = g(() => ({
9085
9081
  tooltip: !0,
9086
9082
  "tooltip--dark": C.dark,
9087
9083
  "tooltip--light": C.light
9088
9084
  }));
9089
9085
  window.onresize = () => {
9090
9086
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
9091
- Z || C.resizable && k1(L, M, i, s, P, c);
9092
- }, O2(
9087
+ Z || C.resizable && k1(L, A, M, s, P, c);
9088
+ }, s2(
9093
9089
  () => {
9094
- C.disabled || C.shown && C.triggers === q.Manual && A();
9090
+ C.disabled || C.shown && C.triggers === q.Manual && i();
9095
9091
  },
9096
9092
  { flush: "post" }
9097
9093
  // this is important to avoid infinite loop & for fire on mounted
9098
9094
  );
9099
- const k = B(() => `${C.showDelay}ms`);
9100
- return (s, P) => (t(), a(C1, null, [
9095
+ const B = g(() => `${C.showDelay}ms`);
9096
+ return (s, P) => (t(), a(H1, null, [
9101
9097
  u("div", {
9102
9098
  ref_key: "trigger",
9103
9099
  ref: L,
@@ -9109,20 +9105,20 @@ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9109
9105
  onMousemove: G(n, ["stop"])
9110
9106
  }, [
9111
9107
  b(s.$slots, "trigger", {}, void 0, !0),
9112
- s.$slots.trigger ? g("", !0) : (t(), a("div", {
9108
+ s.$slots.trigger ? k("", !0) : (t(), a("div", {
9113
9109
  key: 0,
9114
9110
  innerHTML: C.triggerContent
9115
- }, null, 8, i3))
9116
- ], 40, A3),
9111
+ }, null, 8, M3))
9112
+ ], 40, L3),
9117
9113
  u("div", {
9118
9114
  id: "tooltip",
9119
9115
  ref_key: "tooltip",
9120
- ref: M,
9116
+ ref: A,
9121
9117
  class: f(p(S)),
9122
9118
  role: "tooltip"
9123
9119
  }, [
9124
9120
  b(s.$slots, "content", {}, void 0, !0),
9125
- s.$slots.content ? g("", !0) : (t(), a("div", {
9121
+ s.$slots.content ? k("", !0) : (t(), a("div", {
9126
9122
  key: 0,
9127
9123
  class: f({
9128
9124
  tooltip__content: !0,
@@ -9130,11 +9126,11 @@ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9130
9126
  "tooltip__content--light": C.light
9131
9127
  })
9132
9128
  }, y(C.text), 3)),
9133
- s.$slots.content ? g("", !0) : (t(), a("div", {
9129
+ s.$slots.content ? k("", !0) : (t(), a("div", {
9134
9130
  key: 1,
9135
9131
  id: "arrow",
9136
9132
  ref_key: "arrowElement",
9137
- ref: i,
9133
+ ref: M,
9138
9134
  class: f({
9139
9135
  tooltip__arrow: !0,
9140
9136
  "tooltip__arrow--dark": C.dark,
@@ -9145,15 +9141,15 @@ const A3 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9145
9141
  ], 64));
9146
9142
  }
9147
9143
  });
9148
- const d3 = (H, V) => {
9144
+ const i3 = (H, V) => {
9149
9145
  const C = H.__vccOpts || H;
9150
- for (const [L, M] of V)
9151
- C[L] = M;
9146
+ for (const [L, A] of V)
9147
+ C[L] = A;
9152
9148
  return C;
9153
- }, I3 = /* @__PURE__ */ d3(e3, [["__scopeId", "data-v-ee5f5651"]]), t3 = { class: "r-breadcrumb" }, m3 = {
9149
+ }, N3 = /* @__PURE__ */ i3(A3, [["__scopeId", "data-v-ee5f5651"]]), e3 = { class: "r-breadcrumb" }, d3 = {
9154
9150
  key: 0,
9155
9151
  class: "r-breadcrumb__title"
9156
- }, Q3 = /* @__PURE__ */ v({
9152
+ }, I3 = /* @__PURE__ */ v({
9157
9153
  __name: "RBreadcrumb",
9158
9154
  props: {
9159
9155
  items: { default: () => [] },
@@ -9162,53 +9158,53 @@ const d3 = (H, V) => {
9162
9158
  setup(H) {
9163
9159
  const V = H;
9164
9160
  return (C, L) => {
9165
- const M = p2("router-link");
9166
- return t(), a("div", t3, [
9167
- (t(!0), a(C1, null, L1(V.items, (i, A) => (t(), a("div", {
9161
+ const A = O2("router-link");
9162
+ return t(), a("div", e3, [
9163
+ (t(!0), a(H1, null, L1(V.items, (M, i) => (t(), a("div", {
9168
9164
  class: "r-breadcrumb__item",
9169
- key: A
9165
+ key: i
9170
9166
  }, [
9171
- V1(M, {
9172
- to: i.to,
9167
+ X(A, {
9168
+ to: M.to,
9173
9169
  class: "r-breadcrumb__link"
9174
9170
  }, {
9175
- default: v1(() => [
9171
+ default: j1(() => [
9176
9172
  b(C.$slots, "item-icon", {}, () => [
9177
- i.icon ? (t(), R(x, {
9173
+ M.icon ? (t(), x(F, {
9178
9174
  key: 0,
9179
- name: i.icon
9180
- }, null, 8, ["name"])) : g("", !0)
9175
+ name: M.icon
9176
+ }, null, 8, ["name"])) : k("", !0)
9181
9177
  ]),
9182
- i.onlyIcon ? g("", !0) : (t(), a("span", m3, y(i.title), 1))
9178
+ M.onlyIcon ? k("", !0) : (t(), a("span", d3, y(M.title), 1))
9183
9179
  ]),
9184
9180
  _: 2
9185
9181
  }, 1032, ["to"]),
9186
9182
  b(C.$slots, "custom-seperator", {}, () => [
9187
- A !== H.items.length - 1 && V.seperator ? (t(), R(x, {
9183
+ i !== H.items.length - 1 && V.seperator ? (t(), x(F, {
9188
9184
  key: 0,
9189
9185
  name: V.seperator,
9190
9186
  class: "r-breadcrumb__separator"
9191
- }, null, 8, ["name"])) : g("", !0)
9187
+ }, null, 8, ["name"])) : k("", !0)
9192
9188
  ])
9193
9189
  ]))), 128))
9194
9190
  ]);
9195
9191
  };
9196
9192
  }
9197
- }), l3 = { class: "r-pagination" }, o3 = { class: "r-pagination__page-info" }, n3 = { key: 0 }, r3 = { class: "r-pagination__page-info__current-page" }, a3 = { class: "r-pagination__page-info__total-pages" }, Z3 = { class: "r-pagination__paginator" }, u3 = ["disabled"], S3 = /* @__PURE__ */ u("path", {
9193
+ }), t3 = { class: "r-pagination" }, m3 = { class: "r-pagination__page-info" }, l3 = { key: 0 }, o3 = { class: "r-pagination__page-info__current-page" }, n3 = { class: "r-pagination__page-info__total-pages" }, r3 = { class: "r-pagination__paginator" }, a3 = ["disabled"], Z3 = /* @__PURE__ */ u("path", {
9198
9194
  stroke: "none",
9199
9195
  d: "M0 0h24v24H0z",
9200
9196
  fill: "none"
9201
- }, null, -1), c3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), s3 = [
9202
- S3,
9203
- c3
9204
- ], O3 = ["max", "value"], p3 = ["disabled"], h3 = /* @__PURE__ */ u("path", {
9197
+ }, null, -1), u3 = /* @__PURE__ */ u("path", { d: "M15 6l-6 6l6 6" }, null, -1), S3 = [
9198
+ Z3,
9199
+ u3
9200
+ ], c3 = ["max", "value"], s3 = ["disabled"], O3 = /* @__PURE__ */ u("path", {
9205
9201
  stroke: "none",
9206
9202
  d: "M0 0h24v24H0z",
9207
9203
  fill: "none"
9208
- }, null, -1), f3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), g3 = [
9209
- h3,
9210
- f3
9211
- ], k3 = { class: "r-pagination__paginator__total" }, G3 = /* @__PURE__ */ v({
9204
+ }, null, -1), p3 = /* @__PURE__ */ u("path", { d: "M9 6l6 6l-6 6" }, null, -1), h3 = [
9205
+ O3,
9206
+ p3
9207
+ ], f3 = { class: "r-pagination__paginator__total" }, Q3 = /* @__PURE__ */ v({
9212
9208
  __name: "RPagination",
9213
9209
  props: {
9214
9210
  page: { default: 1 },
@@ -9220,23 +9216,23 @@ const d3 = (H, V) => {
9220
9216
  },
9221
9217
  emits: ["update:page"],
9222
9218
  setup(H, { emit: V }) {
9223
- const C = H, L = B(() => Math.ceil(C.totalItems / C.perPage)), M = (i) => {
9224
- i < 1 || i > L.value || V("update:page", i);
9219
+ const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9220
+ M < 1 || M > L.value || V("update:page", M);
9225
9221
  };
9226
- return (i, A) => (t(), a("div", l3, [
9227
- u("div", o3, [
9228
- H.slash ? g("", !0) : (t(), a("span", n3, y(C.pageText), 1)),
9229
- u("span", r3, y(C.page), 1),
9230
- Y1(" " + y(H.slash ? "/" : C.ofText) + " ", 1),
9231
- u("span", a3, y(p(L)), 1)
9222
+ return (M, i) => (t(), a("div", t3, [
9223
+ u("div", m3, [
9224
+ H.slash ? k("", !0) : (t(), a("span", l3, y(C.pageText), 1)),
9225
+ u("span", o3, y(C.page), 1),
9226
+ p2(" " + y(H.slash ? "/" : C.ofText) + " ", 1),
9227
+ u("span", n3, y(p(L)), 1)
9232
9228
  ]),
9233
- u("div", Z3, [
9229
+ u("div", r3, [
9234
9230
  u("button", {
9235
9231
  class: "r-pagination__paginator__prev",
9236
9232
  disabled: C.page === 1,
9237
- onClick: A[0] || (A[0] = (e) => M(+C.page - 1))
9233
+ onClick: i[0] || (i[0] = (e) => A(+C.page - 1))
9238
9234
  }, [
9239
- b(i.$slots, "prev", {}, () => [
9235
+ b(M.$slots, "prev", {}, () => [
9240
9236
  (t(), a("svg", {
9241
9237
  class: f({ "stroke-gray-400": C.page === 1 }),
9242
9238
  xmlns: "http://www.w3.org/2000/svg",
@@ -9248,26 +9244,26 @@ const d3 = (H, V) => {
9248
9244
  fill: "none",
9249
9245
  "stroke-linecap": "round",
9250
9246
  "stroke-linejoin": "round"
9251
- }, s3, 2))
9247
+ }, S3, 2))
9252
9248
  ])
9253
- ], 8, u3),
9249
+ ], 8, a3),
9254
9250
  u("input", {
9255
9251
  class: "r-pagination__paginator__input",
9256
9252
  type: "number",
9257
9253
  min: "1",
9258
9254
  max: p(L),
9259
9255
  value: C.page,
9260
- onBlur: A[1] || (A[1] = (e) => {
9256
+ onBlur: i[1] || (i[1] = (e) => {
9261
9257
  var d;
9262
- return M(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9258
+ return A(+((d = e == null ? void 0 : e.target) == null ? void 0 : d.value));
9263
9259
  })
9264
- }, null, 40, O3),
9260
+ }, null, 40, c3),
9265
9261
  u("button", {
9266
9262
  class: "r-pagination__paginator__next",
9267
9263
  disabled: C.page === p(L),
9268
- onClick: A[2] || (A[2] = (e) => M(+C.page + 1))
9264
+ onClick: i[2] || (i[2] = (e) => A(+C.page + 1))
9269
9265
  }, [
9270
- b(i.$slots, "next", {}, () => [
9266
+ b(M.$slots, "next", {}, () => [
9271
9267
  (t(), a("svg", {
9272
9268
  class: f({ "stroke-gray-400": C.page === p(L) }),
9273
9269
  xmlns: "http://www.w3.org/2000/svg",
@@ -9279,14 +9275,14 @@ const d3 = (H, V) => {
9279
9275
  fill: "none",
9280
9276
  "stroke-linecap": "round",
9281
9277
  "stroke-linejoin": "round"
9282
- }, g3, 2))
9278
+ }, h3, 2))
9283
9279
  ])
9284
- ], 8, p3),
9285
- u("div", k3, "/ " + y(p(L)), 1)
9280
+ ], 8, s3),
9281
+ u("div", f3, "/ " + y(p(L)), 1)
9286
9282
  ])
9287
9283
  ]));
9288
9284
  }
9289
- }), B3 = ["value"], z3 = /* @__PURE__ */ v({
9285
+ }), g3 = ["value"], G3 = /* @__PURE__ */ v({
9290
9286
  __name: "RProgressBar",
9291
9287
  props: {
9292
9288
  value: { default: 0 },
@@ -9301,9 +9297,9 @@ const d3 = (H, V) => {
9301
9297
  max: 100,
9302
9298
  value: V.value,
9303
9299
  style: T1({ height: V.height + "px" })
9304
- }, null, 12, B3));
9300
+ }, null, 12, g3));
9305
9301
  }
9306
- }), U3 = /* @__PURE__ */ v({
9302
+ }), z3 = /* @__PURE__ */ v({
9307
9303
  __name: "RItemGroup",
9308
9304
  props: {
9309
9305
  modelValue: { default: () => [] },
@@ -9316,25 +9312,25 @@ const d3 = (H, V) => {
9316
9312
  },
9317
9313
  emits: ["update:modelValue"],
9318
9314
  setup(H, { emit: V }) {
9319
- const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), i = D(C.modelValue ?? []), A = B(() => C.selectedClass);
9320
- h1(`${L}:selectedClass`, A.value);
9321
- const e = (m) => i.value.includes(m);
9315
+ const C = H, L = "rocket-ui:r-item-group", A = D(C.as ?? "div"), M = D(C.modelValue ?? []), i = g(() => C.selectedClass);
9316
+ h1(`${L}:selectedClass`, i.value);
9317
+ const e = (m) => M.value.includes(m);
9322
9318
  h1(`${L}:isSelected`, e);
9323
9319
  const d = (m, o) => {
9324
- C.disabled || C.mandatory && i.value.length === 1 && o || C.max && i.value.length === C.max && o || (C.multiple ? o ? i.value.push(m) : i.value = i.value.filter((l) => l !== m) : i.value = o ? [m] : [], V("update:modelValue", i.value));
9320
+ C.disabled || C.mandatory && M.value.length === 1 && o || C.max && M.value.length === C.max && o || (C.multiple ? o ? M.value.push(m) : M.value = M.value.filter((l) => l !== m) : M.value = o ? [m] : [], V("update:modelValue", M.value));
9325
9321
  };
9326
- return h1(`${L}:select`, d), (m, o) => (t(), R(h2(M.value), null, {
9327
- default: v1(() => [
9322
+ return h1(`${L}:select`, d), (m, o) => (t(), x(h2(A.value), null, {
9323
+ default: j1(() => [
9328
9324
  b(m.$slots, "default", {
9329
9325
  select: d,
9330
9326
  isSelected: e,
9331
- selected: i.value
9327
+ selected: M.value
9332
9328
  })
9333
9329
  ]),
9334
9330
  _: 3
9335
9331
  }));
9336
9332
  }
9337
- }), $3 = /* @__PURE__ */ v({
9333
+ }), U3 = /* @__PURE__ */ v({
9338
9334
  __name: "RItem",
9339
9335
  props: {
9340
9336
  value: { default: null },
@@ -9342,15 +9338,15 @@ const d3 = (H, V) => {
9342
9338
  selectedClass: { default: "" }
9343
9339
  },
9344
9340
  setup(H) {
9345
- const V = H, C = "rocket-ui:r-item-group", L = f1(`${C}:isSelected`), M = f1(`${C}:selectedClass`, ""), i = B(() => L(V.value) && [M, V.selectedClass]), A = f1(`${C}:select`), e = () => {
9346
- V.disabled || A(V.value, !L(V.value));
9341
+ const V = H, C = "rocket-ui:r-item-group", L = f1(`${C}:isSelected`), A = f1(`${C}:selectedClass`, ""), M = g(() => L(V.value) && [A, V.selectedClass]), i = f1(`${C}:select`), e = () => {
9342
+ V.disabled || i(V.value, !L(V.value));
9347
9343
  }, d = () => {
9348
- V.disabled || A(V.value, !0);
9344
+ V.disabled || i(V.value, !0);
9349
9345
  };
9350
9346
  return (m, o) => b(m.$slots, "default", {
9351
9347
  isSelected: p(L)(V.value),
9352
9348
  value: V.value,
9353
- selectedClass: p(i),
9349
+ selectedClass: p(M),
9354
9350
  disabled: V.disabled,
9355
9351
  select: d,
9356
9352
  toggle: e
@@ -9358,28 +9354,28 @@ const d3 = (H, V) => {
9358
9354
  }
9359
9355
  });
9360
9356
  export {
9361
- y3 as RAccordion,
9362
- w3 as RAlert,
9363
- P3 as RAvatar,
9364
- T3 as RBadge,
9365
- Q3 as RBreadcrumb,
9366
- N2 as RButton,
9367
- v3 as RCheckbox,
9368
- Y2 as RChip,
9369
- F3 as RDropdown,
9370
- x as RIcon,
9371
- $3 as RItem,
9372
- U3 as RItemGroup,
9373
- H2 as RLabel,
9374
- R3 as RModal,
9375
- G3 as RPagination,
9376
- z3 as RProgressbar,
9377
- x3 as RSidebar,
9378
- D3 as RSnackbar,
9379
- E3 as RSwitch,
9380
- P5 as RTabItem,
9381
- _3 as RTabs,
9382
- W3 as RTextArea,
9383
- N3 as RTextfield,
9384
- I3 as RTooltip
9357
+ B3 as RAccordion,
9358
+ b3 as RAlert,
9359
+ y3 as RAvatar,
9360
+ w3 as RBadge,
9361
+ I3 as RBreadcrumb,
9362
+ P3 as RButton,
9363
+ T3 as RCheckbox,
9364
+ q2 as RChip,
9365
+ v3 as RDropdown,
9366
+ F as RIcon,
9367
+ U3 as RItem,
9368
+ z3 as RItemGroup,
9369
+ J1 as RLabel,
9370
+ F3 as RModal,
9371
+ Q3 as RPagination,
9372
+ G3 as RProgressbar,
9373
+ R3 as RSidebar,
9374
+ x3 as RSnackbar,
9375
+ D3 as RSwitch,
9376
+ y5 as RTabItem,
9377
+ E3 as RTabs,
9378
+ _3 as RTextArea,
9379
+ W3 as RTextfield,
9380
+ N3 as RTooltip
9385
9381
  };