@rocketui/vue 0.0.51 → 0.0.53

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 J, Fragment as j, renderList as Y, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as $, computed as g, createCommentVNode as k, mergeProps as C2, withModifiers as N, createBlock as R, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as x, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, normalizeStyle as p1, vShow as A2, useCssVars as i2, watchEffect as e2, resolveComponent as d2, withCtx as _1, provide as a1, resolveDynamicComponent as t2, inject as Z1 } from "vue";
1
+ import { defineComponent as v, openBlock as t, createElementBlock as a, createElementVNode as u, unref as p, reactive as J, Fragment as K, renderList as Y, normalizeClass as f, renderSlot as b, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as C2, withModifiers as N, createBlock as R, watch as W, getCurrentScope as H2, onScopeDispose as V2, ref as x, onMounted as L2, withDirectives as E1, withKeys as k1, vModelText as M2, normalizeStyle as p1, vShow as A2, useCssVars as i2, watchEffect as e2, resolveComponent as d2, withCtx as _1, provide as a1, resolveDynamicComponent as t2, inject as Z1 } from "vue";
2
2
  const m2 = {
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",
@@ -7336,7 +7336,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7336
7336
  C[i].open = i === A ? !C[i].open : !1;
7337
7337
  });
7338
7338
  }
7339
- return (A, M) => (t(!0), a(j, null, Y(C, (i, e) => (t(), a("div", {
7339
+ return (A, M) => (t(!0), a(K, null, Y(C, (i, e) => (t(), a("div", {
7340
7340
  key: e,
7341
7341
  class: f({
7342
7342
  "r-accordion": !0,
@@ -7352,7 +7352,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7352
7352
  u("div", a2, y(i.title), 1)
7353
7353
  ]),
7354
7354
  u("div", Z2, [
7355
- $(F, { name: "mdiChevronUp" })
7355
+ q(F, { name: "mdiChevronUp" })
7356
7356
  ])
7357
7357
  ], 8, r2),
7358
7358
  u("div", u2, [
@@ -7380,12 +7380,12 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7380
7380
  },
7381
7381
  emits: ["close"],
7382
7382
  setup(H, { emit: V }) {
7383
- const C = H, L = g(() => ({
7383
+ const C = H, L = k(() => ({
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
- })), A = g(() => ({
7388
+ })), A = k(() => ({
7389
7389
  success: "mdiCheckCircle",
7390
7390
  error: "mdiAlertCircle",
7391
7391
  warning: "mdiAlert",
@@ -7398,7 +7398,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7398
7398
  }, [
7399
7399
  u("div", S2, [
7400
7400
  b(i.$slots, "alert-icon", {}, () => [
7401
- $(F, {
7401
+ q(F, {
7402
7402
  name: p(A),
7403
7403
  size: 24
7404
7404
  }, null, 8, ["name"])
@@ -7407,19 +7407,19 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7407
7407
  u("div", c2, [
7408
7408
  b(i.$slots, "content", {}, () => [
7409
7409
  u("p", s2, y(C.title), 1),
7410
- C.description ? (t(), a("p", O2, y(C.description), 1)) : k("", !0)
7410
+ C.description ? (t(), a("p", O2, y(C.description), 1)) : g("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
7413
  C.closable ? (t(), a("div", p2, [
7414
7414
  b(i.$slots, "custom-close", {}, () => [
7415
- $(F, {
7415
+ q(F, {
7416
7416
  class: "r-alert__close__button",
7417
7417
  name: "mdiClose",
7418
7418
  size: 16,
7419
7419
  onClick: M
7420
7420
  })
7421
7421
  ])
7422
- ])) : k("", !0)
7422
+ ])) : g("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
7425
  }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", h2 = { class: "avatar__wrapper" }, f2 = ["alt", "src"], n3 = /* @__PURE__ */ v({
@@ -7433,10 +7433,10 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7433
7433
  text: { default: "" }
7434
7434
  },
7435
7435
  setup(H) {
7436
- const V = H, C = g(() => ({
7436
+ const V = H, C = k(() => ({
7437
7437
  avatar: !0,
7438
7438
  [`avatar--${V.size}`]: !0
7439
- })), L = g(() => V.type === "image" && !V.src), A = g(() => L.value ? B1 : V.src), M = (i) => {
7439
+ })), L = k(() => V.type === "image" && !V.src), A = k(() => L.value ? B1 : V.src), M = (i) => {
7440
7440
  const e = i.split(" ");
7441
7441
  return e.length === 1 ? e[0].substring(0, 2) : `${e[0].charAt(0)}${e[1].charAt(0)}`;
7442
7442
  };
@@ -7461,7 +7461,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
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)) : k("", !0)
7464
+ }, null, 2)) : g("", !0)
7465
7465
  ]));
7466
7466
  }
7467
7467
  }), g2 = { class: "badge-wrapper group" }, r3 = /* @__PURE__ */ v({
@@ -7476,7 +7476,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7476
7476
  },
7477
7477
  emits: ["click"],
7478
7478
  setup(H) {
7479
- const V = H, C = g(() => ({
7479
+ const V = H, C = k(() => ({
7480
7480
  badge: !0,
7481
7481
  badge__content: V.content,
7482
7482
  [`badge--overlap-${V.placement}`]: V.overlap,
@@ -7511,18 +7511,18 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7511
7511
  },
7512
7512
  emits: ["click"],
7513
7513
  setup(H) {
7514
- const V = H, C = g(() => ({
7514
+ const V = H, C = k(() => ({
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 = g(() => ({
7521
+ })), L = k(() => ({
7522
7522
  small: 20,
7523
7523
  medium: 24,
7524
7524
  large: 32
7525
- })[V.size || "medium"]), A = g(() => {
7525
+ })[V.size || "medium"]), A = k(() => {
7526
7526
  const { backgroundColor: M, height: i, color: e } = V;
7527
7527
  return {
7528
7528
  backgroundColor: M,
@@ -7545,14 +7545,14 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7545
7545
  }),
7546
7546
  name: V.prependIcon,
7547
7547
  size: p(L)
7548
- }, null, 8, ["class", "name", "size"])) : k("", !0),
7549
- V.onlyIcon ? k("", !0) : b(M.$slots, "default", { key: 1 }),
7548
+ }, null, 8, ["class", "name", "size"])) : g("", !0),
7549
+ V.onlyIcon ? g("", !0) : b(M.$slots, "default", { key: 1 }),
7550
7550
  !M.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), R(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"])) : k("", !0)
7555
+ }, null, 8, ["name", "size"])) : g("", !0)
7556
7556
  ], 16, k2));
7557
7557
  }
7558
7558
  }), B2 = { class: "checkbox-wrapper" }, b2 = { class: "checkbox-container" }, y2 = ["id", "checked", "disabled", "indeterminate"], w2 = ["data-disabled"], P2 = { class: "checkbox-texts" }, T2 = ["data-disabled", "for"], v2 = {
@@ -7581,7 +7581,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7581
7581
  checked: "mdiCheck",
7582
7582
  unchecked: "",
7583
7583
  indeterminate: "mdiMinus"
7584
- }, M = g(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = g(() => ({
7584
+ }, M = k(() => L.indeterminate ? A.indeterminate : L.checked ? A.checked : A.unchecked), i = k(() => ({
7585
7585
  checkbox: !0,
7586
7586
  "checkbox--checked": L.checked,
7587
7587
  "checkbox--disabled": C.disabled,
@@ -7625,7 +7625,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7625
7625
  class: f(p(i)),
7626
7626
  "data-disabled": C.disabled
7627
7627
  }, [
7628
- $(F, {
7628
+ q(F, {
7629
7629
  name: p(M),
7630
7630
  size: 24
7631
7631
  }, null, 8, ["name"])
@@ -7654,7 +7654,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7654
7654
  },
7655
7655
  emits: ["click:chip", "click:close"],
7656
7656
  setup(H, { emit: V }) {
7657
- const C = H, L = g(() => ({
7657
+ const C = H, L = k(() => ({
7658
7658
  chip: !0,
7659
7659
  "chip--disabled": C.disabled,
7660
7660
  [`chip__${C.variant}`]: C.variant,
@@ -7678,7 +7678,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7678
7678
  "aria-disabled": C.disabled,
7679
7679
  name: C.prependIcon,
7680
7680
  size: 12
7681
- }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7681
+ }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7682
7682
  ]),
7683
7683
  u("span", R2, y(C.label), 1)
7684
7684
  ]),
@@ -7690,7 +7690,7 @@ const n2 = ["data-state"], r2 = ["onClick"], a2 = { class: "r-accordion__title"
7690
7690
  name: C.appendIcon,
7691
7691
  size: 12,
7692
7692
  onClick: e[1] || (e[1] = (d) => M(d))
7693
- }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7693
+ }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7694
7694
  ])
7695
7695
  ], 2));
7696
7696
  }
@@ -7839,7 +7839,7 @@ const Q2 = {
7839
7839
  if (Z === "")
7840
7840
  return;
7841
7841
  C.options.find((E) => E.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);
7842
+ }, s = (c) => C.multiple ? A.find((Z) => Z.value === c.value) : L.value === c.value, P = k(() => C.searchable ? C.options.filter((Z) => Z.label.toLowerCase().includes(i.value.toLowerCase())) : C.options);
7843
7843
  return L2(() => {
7844
7844
  C.modelValue && (C.multiple ? A.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7845
7845
  }), W(A, (c) => {
@@ -7870,11 +7870,11 @@ const Q2 = {
7870
7870
  C.prependIcon ? (t(), R(F, {
7871
7871
  key: 0,
7872
7872
  name: C.prependIcon
7873
- }, null, 8, ["name"])) : k("", !0)
7873
+ }, null, 8, ["name"])) : g("", !0)
7874
7874
  ])
7875
- ], 2)) : k("", !0),
7875
+ ], 2)) : g("", !0),
7876
7876
  C.taggable ? (t(), a("div", Q2, [
7877
- (t(!0), a(j, null, Y(A, (O, w) => (t(), R(x2, {
7877
+ (t(!0), a(K, null, Y(A, (O, w) => (t(), R(x2, {
7878
7878
  key: w,
7879
7879
  label: O.label,
7880
7880
  appendIcon: "close",
@@ -7882,10 +7882,10 @@ const Q2 = {
7882
7882
  variant: "primary",
7883
7883
  "onClick:close": (E) => S(E, O)
7884
7884
  }, null, 8, ["label", "onClick:close"]))), 128))
7885
- ])) : k("", !0),
7885
+ ])) : g("", !0),
7886
7886
  C.multiple ? (t(), a("div", G2, [
7887
- (t(!0), a(j, null, Y(A, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
- ])) : k("", !0),
7887
+ (t(!0), a(K, null, Y(A, (O, w) => (t(), a("p", { key: w }, y(O.label + ","), 1))), 128))
7888
+ ])) : g("", !0),
7889
7889
  E1(u("input", {
7890
7890
  id: C.id,
7891
7891
  ref_key: "input",
@@ -7917,14 +7917,14 @@ const Q2 = {
7917
7917
  C.appendIcon ? (t(), R(F, {
7918
7918
  key: 0,
7919
7919
  name: C.appendIcon
7920
- }, null, 8, ["name"])) : k("", !0)
7920
+ }, null, 8, ["name"])) : g("", !0)
7921
7921
  ])
7922
- ], 2)) : k("", !0)
7922
+ ], 2)) : g("", !0)
7923
7923
  ], 2),
7924
7924
  u("ul", {
7925
7925
  class: f({ "dropdown-options": !0, "dropdown-options--active": M.value })
7926
7926
  }, [
7927
- (t(!0), a(j, null, Y(p(P), (O) => (t(), a("li", {
7927
+ (t(!0), a(K, null, Y(p(P), (O) => (t(), a("li", {
7928
7928
  key: O.value,
7929
7929
  class: f({
7930
7930
  "dropdown-options__option": !0,
@@ -7956,7 +7956,7 @@ const Q2 = {
7956
7956
  "dropdown-options__option__append-icon--active": s(O)
7957
7957
  }),
7958
7958
  name: "mdiCheck"
7959
- }, null, 8, ["class"])) : k("", !0)
7959
+ }, null, 8, ["class"])) : g("", !0)
7960
7960
  ], 10, U2))), 128))
7961
7961
  ], 2)
7962
7962
  ], 512));
@@ -7998,10 +7998,10 @@ const Q2 = {
7998
7998
  },
7999
7999
  emits: ["update:modelValue"],
8000
8000
  setup(H, { emit: V }) {
8001
- const C = H, L = g(() => ({
8001
+ const C = H, L = k(() => ({
8002
8002
  dialog: !0,
8003
8003
  "dialog--block": C.block
8004
- })), A = g(() => ({
8004
+ })), A = k(() => ({
8005
8005
  width: C.width,
8006
8006
  height: C.height
8007
8007
  })), M = (i) => {
@@ -8021,12 +8021,12 @@ const Q2 = {
8021
8021
  u("div", Y2, [
8022
8022
  b(i.$slots, "header"),
8023
8023
  C.icon ? (t(), a("div", X2, [
8024
- $(F, {
8024
+ q(F, {
8025
8025
  name: C.icon
8026
8026
  }, null, 8, ["name"])
8027
- ])) : k("", !0),
8028
- C.title ? (t(), a("div", J2, y(C.title), 1)) : k("", !0),
8029
- C.description ? (t(), a("div", C5, y(C.description), 1)) : k("", !0)
8027
+ ])) : g("", !0),
8028
+ C.title ? (t(), a("div", J2, y(C.title), 1)) : g("", !0),
8029
+ C.description ? (t(), a("div", C5, y(C.description), 1)) : g("", !0)
8030
8030
  ]),
8031
8031
  u("div", H5, [
8032
8032
  b(i.$slots, "default")
@@ -8045,7 +8045,7 @@ const Q2 = {
8045
8045
  modelValue: { type: Boolean, default: !1 }
8046
8046
  },
8047
8047
  setup(H) {
8048
- const V = H, C = g(() => ({
8048
+ const V = H, C = k(() => ({
8049
8049
  sidebar: !0,
8050
8050
  "sidebar--open": V.modelValue
8051
8051
  }));
@@ -8088,7 +8088,7 @@ const Q2 = {
8088
8088
  immediate: !0
8089
8089
  }
8090
8090
  );
8091
- const L = g(() => ({
8091
+ const L = k(() => ({
8092
8092
  "r-snackbar": !0,
8093
8093
  [`r-snackbar--${C.variant}`]: !0,
8094
8094
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
@@ -8108,19 +8108,19 @@ const Q2 = {
8108
8108
  key: 0,
8109
8109
  class: "r-snackbar__icon",
8110
8110
  name: p(A)
8111
- }, null, 8, ["name"])) : k("", !0)
8111
+ }, null, 8, ["name"])) : g("", !0)
8112
8112
  ]),
8113
8113
  u("div", A5, y(C.text), 1),
8114
8114
  b(M.$slots, "action"),
8115
8115
  C.closable ? (t(), a("div", i5, [
8116
8116
  b(M.$slots, "close", {}, () => [
8117
- $(F, {
8117
+ q(F, {
8118
8118
  name: "mdiClose",
8119
8119
  size: 16,
8120
8120
  onClick: i[0] || (i[0] = N((e) => M.$emit("update:modelValue", !1), ["stop"]))
8121
8121
  })
8122
8122
  ])
8123
- ])) : k("", !0)
8123
+ ])) : g("", !0)
8124
8124
  ], 2));
8125
8125
  }
8126
8126
  }), e5 = { class: "switch-container" }, d5 = ["id", "checked"], t5 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), m5 = ["id", "for"], l5 = {
@@ -8144,7 +8144,7 @@ const Q2 = {
8144
8144
  setup(H, { emit: V }) {
8145
8145
  const C = H, L = J({
8146
8146
  checked: !1
8147
- }), A = g(() => ({
8147
+ }), A = k(() => ({
8148
8148
  switch: !0,
8149
8149
  "switch--disabled": C.disabled,
8150
8150
  [`switch--${C.size}`]: C.size,
@@ -8211,12 +8211,12 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8211
8211
  },
8212
8212
  emits: ["update:modelValue", "click:icon"],
8213
8213
  setup(H, { emit: V }) {
8214
- const C = H, L = g(() => ({
8214
+ const C = H, L = k(() => ({
8215
8215
  "tab-item": !0,
8216
8216
  [`tab-item--${C.variant}`]: !0,
8217
8217
  "tab-item--tile": C.tile,
8218
8218
  "tab-item--block": C.block
8219
- })), A = g(() => ({
8219
+ })), A = k(() => ({
8220
8220
  color: C.color
8221
8221
  }));
8222
8222
  function M(e) {
@@ -8239,9 +8239,9 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8239
8239
  class: "tab-item__prepend-icon",
8240
8240
  name: C.prependIcon,
8241
8241
  size: 16
8242
- }, null, 8, ["name"])) : k("", !0)
8242
+ }, null, 8, ["name"])) : g("", !0)
8243
8243
  ]),
8244
- C.variant !== p(V1).ICON ? (t(), a("span", r5, y(C.label), 1)) : k("", !0),
8244
+ C.variant !== p(V1).ICON ? (t(), a("span", r5, y(C.label), 1)) : g("", !0),
8245
8245
  b(e.$slots, "append", {}, () => [
8246
8246
  C.variant !== p(V1).TEXT && C.appendIcon ? (t(), R(F, {
8247
8247
  key: 0,
@@ -8249,7 +8249,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8249
8249
  name: C.appendIcon,
8250
8250
  size: 16,
8251
8251
  onClick: N(i, ["stop"])
8252
- }, null, 8, ["name", "onClick"])) : k("", !0)
8252
+ }, null, 8, ["name", "onClick"])) : g("", !0)
8253
8253
  ])
8254
8254
  ], 14, n5));
8255
8255
  }
@@ -8263,7 +8263,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8263
8263
  },
8264
8264
  emits: ["update:modelValue", "click:icon"],
8265
8265
  setup(H, { emit: V }) {
8266
- const C = H, L = x(C.modelValue || C.tabs[0].id), A = g(() => ({
8266
+ const C = H, L = x(C.modelValue || C.tabs[0].id), A = k(() => ({
8267
8267
  tabs: !0,
8268
8268
  "tabs--block": C.block,
8269
8269
  "tabs--tile": C.tile
@@ -8281,7 +8281,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8281
8281
  class: f(p(A))
8282
8282
  }, [
8283
8283
  b(i.$slots, "default", {}, () => [
8284
- (t(!0), a(j, null, Y(C.tabs, (d, m) => (t(), R(a5, {
8284
+ (t(!0), a(K, null, Y(C.tabs, (d, m) => (t(), R(a5, {
8285
8285
  id: d.id,
8286
8286
  key: m,
8287
8287
  modelValue: L.value,
@@ -8339,7 +8339,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8339
8339
  class: "textarea__label",
8340
8340
  for: "textarea",
8341
8341
  text: C.label
8342
- }, null, 8, ["text"])) : k("", !0),
8342
+ }, null, 8, ["text"])) : g("", !0),
8343
8343
  u("textarea", {
8344
8344
  id: C.id,
8345
8345
  class: f(["textarea", {
@@ -8358,7 +8358,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8358
8358
  class: /* @__PURE__ */ f({
8359
8359
  textfield__wrapper: !0
8360
8360
  })
8361
- }, O5 = { class: "input-wrapper" }, p5 = ["id", "disabled", "placeholder", "type", "value", "min", "max"], h5 = {
8361
+ }, O5 = { class: "input-wrapper" }, p5 = ["id", "disabled", "max", "min", "placeholder", "type", "value"], h5 = {
8362
8362
  key: 0,
8363
8363
  class: "textfield__error"
8364
8364
  }, f5 = {
@@ -8400,7 +8400,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8400
8400
  url: "mdiLink",
8401
8401
  number: "mdiNumeric",
8402
8402
  text: ""
8403
- }, e = x(!1), d = g(() => !!A.value), m = g(() => {
8403
+ }, e = x(!1), d = k(() => !!A.value), m = k(() => {
8404
8404
  const { disabled: h, loading: T, clearable: D, errorMsg: _ } = C;
8405
8405
  return {
8406
8406
  textfield: !0,
@@ -8411,21 +8411,21 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8411
8411
  "textfield--focus": e.value,
8412
8412
  "textfield--filled": d.value
8413
8413
  };
8414
- }), o = g(() => ({
8414
+ }), o = k(() => ({
8415
8415
  "textfield__prepend-icon": !0,
8416
8416
  "textfield__prepend-icon--loading": C.loading,
8417
8417
  "textfield__prepend-icon--error": n.value && d.value
8418
- })), l = g(() => ({
8418
+ })), l = k(() => ({
8419
8419
  "textfield__append-icon": !0,
8420
8420
  "textfield__append-icon--clear": S.value,
8421
8421
  "textfield__append-icon--error": n.value
8422
- })), r = g(() => A.value.length > 0), n = g(() => {
8422
+ })), r = k(() => A.value.length > 0), n = k(() => {
8423
8423
  var h;
8424
8424
  return (h = C.errorMsg) == null ? void 0 : h.length;
8425
- }), S = g(() => C.clearable && r.value), B = g(() => {
8425
+ }), S = k(() => C.clearable && r.value), B = k(() => {
8426
8426
  const { prependIcon: h, type: T } = C;
8427
8427
  return h === "none" ? "" : h || i[T];
8428
- }), s = g(() => {
8428
+ }), s = k(() => {
8429
8429
  const { appendIcon: h, type: T } = C;
8430
8430
  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;
8431
8431
  }), P = (h) => {
@@ -8469,7 +8469,8 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8469
8469
  }
8470
8470
  ), (h, T) => (t(), a("fieldset", null, [
8471
8471
  u("div", s5, [
8472
- $(Q1, {
8472
+ C.label ? (t(), R(Q1, {
8473
+ key: 0,
8473
8474
  id: C.id,
8474
8475
  class: f({
8475
8476
  textfield__label: !0
@@ -8477,7 +8478,7 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8477
8478
  for: C.id,
8478
8479
  text: C.label,
8479
8480
  onClick: E
8480
- }, null, 8, ["id", "for", "text"]),
8481
+ }, null, 8, ["id", "for", "text"])) : g("", !0),
8481
8482
  u("div", O5, [
8482
8483
  u("div", {
8483
8484
  class: f(p(m))
@@ -8488,17 +8489,17 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8488
8489
  class: f(p(o)),
8489
8490
  name: p(B),
8490
8491
  size: 20
8491
- }, null, 8, ["class", "name"])) : k("", !0),
8492
+ }, null, 8, ["class", "name"])) : g("", !0),
8492
8493
  u("input", {
8494
+ id: C.id,
8493
8495
  ref_key: "inputRef",
8494
8496
  ref: L,
8495
- id: C.id,
8496
8497
  disabled: C.disabled,
8498
+ max: C.max,
8499
+ min: C.min,
8497
8500
  placeholder: C.placeholder,
8498
8501
  type: M.value,
8499
8502
  value: A.value,
8500
- min: C.min,
8501
- max: C.max,
8502
8503
  onBlur: c,
8503
8504
  onFocus: P,
8504
8505
  onInput: Z
@@ -8510,10 +8511,10 @@ const n5 = ["aria-disabled", "aria-selected", "disabled"], r5 = {
8510
8511
  name: `${p(s)}`,
8511
8512
  size: 20,
8512
8513
  onClick: O
8513
- }, null, 8, ["class", "name"])) : k("", !0)
8514
+ }, null, 8, ["class", "name"])) : g("", !0)
8514
8515
  ], 2),
8515
- C.errorMsg ? (t(), a("div", h5, y(C.errorMsg), 1)) : k("", !0),
8516
- !C.errorMsg && C.hint ? (t(), a("div", f5, y(C.hint), 1)) : k("", !0)
8516
+ C.errorMsg ? (t(), a("div", h5, y(C.errorMsg), 1)) : g("", !0),
8517
+ !C.errorMsg && C.hint ? (t(), a("div", f5, y(C.hint), 1)) : g("", !0)
8517
8518
  ])
8518
8519
  ])
8519
8520
  ]));
@@ -8716,7 +8717,7 @@ function G(H) {
8716
8717
  function I(H) {
8717
8718
  return G(H).getComputedStyle(H);
8718
8719
  }
8719
- function K(H) {
8720
+ function $(H) {
8720
8721
  return U1(H) ? "" : H ? (H.nodeName || "").toLowerCase() : "";
8721
8722
  }
8722
8723
  function $1() {
@@ -8737,7 +8738,7 @@ function n1(H) {
8737
8738
  return /auto|scroll|overlay|hidden/.test(V + L + C) && !["inline", "contents"].includes(A);
8738
8739
  }
8739
8740
  function D5(H) {
8740
- return ["table", "td", "th"].includes(K(H));
8741
+ return ["table", "td", "th"].includes($(H));
8741
8742
  }
8742
8743
  function O1(H) {
8743
8744
  const V = /firefox/i.test($1()), C = I(H), L = C.backdropFilter || C.WebkitBackdropFilter;
@@ -8750,10 +8751,10 @@ function K1() {
8750
8751
  return !/^((?!chrome|android).)*safari/i.test($1());
8751
8752
  }
8752
8753
  function f1(H) {
8753
- return ["html", "body", "#document"].includes(K(H));
8754
+ return ["html", "body", "#document"].includes($(H));
8754
8755
  }
8755
8756
  const F1 = Math.min, L1 = Math.max, l1 = Math.round;
8756
- function q(H, V, C) {
8757
+ function j(H, V, C) {
8757
8758
  var L, A, M, i;
8758
8759
  V === void 0 && (V = !1), C === void 0 && (C = !1);
8759
8760
  const e = H.getBoundingClientRect();
@@ -8770,25 +8771,25 @@ function r1(H) {
8770
8771
  return X(H) ? { scrollLeft: H.scrollLeft, scrollTop: H.scrollTop } : { scrollLeft: H.pageXOffset, scrollTop: H.pageYOffset };
8771
8772
  }
8772
8773
  function j1(H) {
8773
- return q(U(H)).left + r1(H).scrollLeft;
8774
+ return j(U(H)).left + r1(H).scrollLeft;
8774
8775
  }
8775
8776
  function E5(H, V, C) {
8776
- const L = Q(V), A = U(V), M = q(H, L && function(d) {
8777
- const m = q(d);
8777
+ const L = Q(V), A = U(V), M = j(H, L && function(d) {
8778
+ const m = j(d);
8778
8779
  return l1(m.width) !== d.offsetWidth || l1(m.height) !== d.offsetHeight;
8779
8780
  }(V), C === "fixed");
8780
8781
  let i = { scrollLeft: 0, scrollTop: 0 };
8781
8782
  const e = { x: 0, y: 0 };
8782
8783
  if (L || !L && C !== "fixed")
8783
- if ((K(V) !== "body" || n1(A)) && (i = r1(V)), Q(V)) {
8784
- const d = q(V, !0);
8784
+ if (($(V) !== "body" || n1(A)) && (i = r1(V)), Q(V)) {
8785
+ const d = j(V, !0);
8785
8786
  e.x = d.x + V.clientLeft, e.y = d.y + V.clientTop;
8786
8787
  } else
8787
8788
  A && (e.x = j1(A));
8788
8789
  return { x: M.left + i.scrollLeft - e.x, y: M.top + i.scrollTop - e.y, width: M.width, height: M.height };
8789
8790
  }
8790
8791
  function M1(H) {
8791
- if (K(H) === "html")
8792
+ if ($(H) === "html")
8792
8793
  return H;
8793
8794
  const V = H.assignedSlot || H.parentNode || (v1(H) ? H.host : null) || U(H);
8794
8795
  return v1(V) ? V.host : V;
@@ -8801,7 +8802,7 @@ function x1(H) {
8801
8802
  let C = R1(H);
8802
8803
  for (; C && D5(C) && I(C).position === "static"; )
8803
8804
  C = R1(C);
8804
- return C && (K(C) === "html" || K(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8805
+ return C && ($(C) === "html" || $(C) === "body" && I(C).position === "static" && !O1(C)) ? V : C || function(L) {
8805
8806
  let A = M1(L);
8806
8807
  for (; Q(A) && !f1(A); ) {
8807
8808
  if (O1(A))
@@ -8832,7 +8833,7 @@ function D1(H, V, C) {
8832
8833
  }
8833
8834
  return { width: d, height: m, x: o, y: l };
8834
8835
  }(H, C)) : X(V) ? function(L, A) {
8835
- const M = q(L, !1, A === "fixed"), i = M.top + L.clientTop, e = M.left + L.clientLeft;
8836
+ const M = j(L, !1, A === "fixed"), i = M.top + L.clientTop, e = M.left + L.clientLeft;
8836
8837
  return { top: i, left: e, x: e, y: i, right: e + L.clientWidth, bottom: i + L.clientHeight, width: L.clientWidth, height: L.clientHeight };
8837
8838
  }(V, C) : d1(function(L) {
8838
8839
  var A;
@@ -8845,7 +8846,7 @@ function D1(H, V, C) {
8845
8846
  const _5 = { getClippingRect: function(H) {
8846
8847
  let { element: V, boundary: C, rootBoundary: L, strategy: A } = H;
8847
8848
  const M = C === "clippingAncestors" ? function(m) {
8848
- let o = Y1(m).filter((S) => X(S) && K(S) !== "body"), l = null;
8849
+ let o = Y1(m).filter((S) => X(S) && $(S) !== "body"), l = null;
8849
8850
  const r = I(m).position === "fixed";
8850
8851
  let n = r ? M1(m) : m;
8851
8852
  for (; X(n) && !f1(n); ) {
@@ -8865,15 +8866,15 @@ const _5 = { getClippingRect: function(H) {
8865
8866
  return V;
8866
8867
  let i = { scrollLeft: 0, scrollTop: 0 };
8867
8868
  const e = { x: 0, y: 0 };
8868
- if ((A || !A && L !== "fixed") && ((K(C) !== "body" || n1(M)) && (i = r1(C)), Q(C))) {
8869
- const d = q(C, !0);
8869
+ if ((A || !A && L !== "fixed") && (($(C) !== "body" || n1(M)) && (i = r1(C)), Q(C))) {
8870
+ const d = j(C, !0);
8870
8871
  e.x = d.x + C.clientLeft, e.y = d.y + C.clientTop;
8871
8872
  }
8872
8873
  return { ...V, x: V.x - i.scrollLeft + e.x, y: V.y - i.scrollTop + e.y };
8873
8874
  }, isElement: X, getDimensions: function(H) {
8874
8875
  if (Q(H))
8875
8876
  return { width: H.offsetWidth, height: H.offsetHeight };
8876
- const V = q(H);
8877
+ const V = j(H);
8877
8878
  return { width: V.width, height: V.height };
8878
8879
  }, getOffsetParent: x1, getDocumentElement: U, async getElementRects(H) {
8879
8880
  let { reference: V, floating: C, strategy: L } = H;
@@ -8966,7 +8967,7 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8966
8967
  }, n = () => {
8967
8968
  const { placement: s, offset: P, padding: c, disabled: Z } = C;
8968
8969
  Z || C.triggers === z.Hover && S1(L, A, M, s, P, c);
8969
- }, S = g(() => ({
8970
+ }, S = k(() => ({
8970
8971
  tooltip: !0,
8971
8972
  "tooltip--dark": C.dark,
8972
8973
  "tooltip--light": C.light
@@ -8981,8 +8982,8 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8981
8982
  { flush: "post" }
8982
8983
  // this is important to avoid infinite loop & for fire on mounted
8983
8984
  );
8984
- const B = g(() => `${C.showDelay}ms`);
8985
- return (s, P) => (t(), a(j, null, [
8985
+ const B = k(() => `${C.showDelay}ms`);
8986
+ return (s, P) => (t(), a(K, null, [
8986
8987
  u("div", {
8987
8988
  ref_key: "trigger",
8988
8989
  ref: L,
@@ -8994,7 +8995,7 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8994
8995
  onMousemove: N(n, ["stop"])
8995
8996
  }, [
8996
8997
  b(s.$slots, "trigger", {}, void 0, !0),
8997
- s.$slots.trigger ? k("", !0) : (t(), a("div", {
8998
+ s.$slots.trigger ? g("", !0) : (t(), a("div", {
8998
8999
  key: 0,
8999
9000
  innerHTML: C.triggerContent
9000
9001
  }, null, 8, I5))
@@ -9007,7 +9008,7 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9007
9008
  role: "tooltip"
9008
9009
  }, [
9009
9010
  b(s.$slots, "content", {}, void 0, !0),
9010
- s.$slots.content ? k("", !0) : (t(), a("div", {
9011
+ s.$slots.content ? g("", !0) : (t(), a("div", {
9011
9012
  key: 0,
9012
9013
  class: f({
9013
9014
  tooltip__content: !0,
@@ -9015,7 +9016,7 @@ const N5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9015
9016
  "tooltip__content--light": C.light
9016
9017
  })
9017
9018
  }, y(C.text), 3)),
9018
- s.$slots.content ? k("", !0) : (t(), a("div", {
9019
+ s.$slots.content ? g("", !0) : (t(), a("div", {
9019
9020
  key: 1,
9020
9021
  id: "arrow",
9021
9022
  ref_key: "arrowElement",
@@ -9049,11 +9050,11 @@ const G5 = (H, V) => {
9049
9050
  return (C, L) => {
9050
9051
  const A = d2("router-link");
9051
9052
  return t(), a("div", z5, [
9052
- (t(!0), a(j, null, Y(V.items, (M, i) => (t(), a("div", {
9053
+ (t(!0), a(K, null, Y(V.items, (M, i) => (t(), a("div", {
9053
9054
  class: "r-breadcrumb__item",
9054
9055
  key: i
9055
9056
  }, [
9056
- $(A, {
9057
+ q(A, {
9057
9058
  to: M.to,
9058
9059
  class: "r-breadcrumb__link"
9059
9060
  }, {
@@ -9062,9 +9063,9 @@ const G5 = (H, V) => {
9062
9063
  M.icon ? (t(), R(F, {
9063
9064
  key: 0,
9064
9065
  name: M.icon
9065
- }, null, 8, ["name"])) : k("", !0)
9066
+ }, null, 8, ["name"])) : g("", !0)
9066
9067
  ]),
9067
- M.onlyIcon ? k("", !0) : (t(), a("span", U5, y(M.title), 1))
9068
+ M.onlyIcon ? g("", !0) : (t(), a("span", U5, y(M.title), 1))
9068
9069
  ]),
9069
9070
  _: 2
9070
9071
  }, 1032, ["to"]),
@@ -9073,7 +9074,7 @@ const G5 = (H, V) => {
9073
9074
  key: 0,
9074
9075
  name: V.seperator,
9075
9076
  class: "r-breadcrumb__separator"
9076
- }, null, 8, ["name"])) : k("", !0)
9077
+ }, null, 8, ["name"])) : g("", !0)
9077
9078
  ])
9078
9079
  ]))), 128))
9079
9080
  ]);
@@ -9105,12 +9106,12 @@ const G5 = (H, V) => {
9105
9106
  },
9106
9107
  emits: ["update:page"],
9107
9108
  setup(H, { emit: V }) {
9108
- const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9109
+ const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), A = (M) => {
9109
9110
  M < 1 || M > L.value || V("update:page", M);
9110
9111
  };
9111
9112
  return (M, i) => (t(), a("div", $5, [
9112
9113
  u("div", K5, [
9113
- H.slash ? k("", !0) : (t(), a("span", j5, y(C.pageText), 1)),
9114
+ H.slash ? g("", !0) : (t(), a("span", j5, y(C.pageText), 1)),
9114
9115
  u("span", q5, y(C.page), 1),
9115
9116
  u("span", null, y(H.slash ? "/" : C.ofText), 1),
9116
9117
  u("span", Y5, y(p(L)), 1)
@@ -9201,7 +9202,7 @@ const G5 = (H, V) => {
9201
9202
  },
9202
9203
  emits: ["update:modelValue"],
9203
9204
  setup(H, { emit: V }) {
9204
- const C = H, L = "rocket-ui:r-item-group", A = x(C.as ?? "div"), M = x(C.modelValue ?? []), i = g(() => C.selectedClass);
9205
+ const C = H, L = "rocket-ui:r-item-group", A = x(C.as ?? "div"), M = x(C.modelValue ?? []), i = k(() => C.selectedClass);
9205
9206
  a1(`${L}:selectedClass`, i.value);
9206
9207
  const e = (m) => M.value.includes(m);
9207
9208
  a1(`${L}:isSelected`, e);
@@ -9227,7 +9228,7 @@ const G5 = (H, V) => {
9227
9228
  selectedClass: { default: "" }
9228
9229
  },
9229
9230
  setup(H) {
9230
- const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), A = Z1(`${C}:selectedClass`, ""), M = g(() => L(V.value) && [A, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9231
+ const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), A = Z1(`${C}:selectedClass`, ""), M = k(() => L(V.value) && [A, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9231
9232
  V.disabled || i(V.value, !L(V.value));
9232
9233
  }, d = () => {
9233
9234
  V.disabled || i(V.value, !0);