@rocketui/vue 0.0.61 → 0.0.63

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.
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  ![Logo](./resources/rocket-ui-logo-light.svg#gh-light-mode-only)
2
2
  ![Logo](./resources/rocket-ui-logo-dark.svg#gh-dark-mode-only)
3
3
 
4
+ <a href="https://npmjs.com/package/@rocketui/vue"><img src="https://img.shields.io/npm/v/@rocketui/vue?style=flat&colorA=080f12&colorB=34b2ae" alt="npm version"></a>
5
+
4
6
  ## Installation
5
7
 
6
8
  ```sh
@@ -1,4 +1,4 @@
1
- import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as k, createCommentVNode as g, mergeProps as H2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as V2, onScopeDispose as L2, ref as D, onMounted as M2, withDirectives as E1, withKeys as k1, vModelText as A2, createTextVNode as _1, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as W1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
1
+ import { defineComponent as F, openBlock as t, createElementBlock as a, createElementVNode as Z, unref as p, reactive as J, Fragment as U, renderList as Y, normalizeClass as f, renderSlot as B, toDisplayString as y, createVNode as q, computed as g, createCommentVNode as k, mergeProps as H2, withModifiers as N, createBlock as x, watch as W, getCurrentScope as V2, onScopeDispose as L2, ref as D, onMounted as M2, withDirectives as E1, withKeys as k1, vModelText as A2, createTextVNode as _1, normalizeStyle as p1, vShow as i2, useCssVars as e2, watchEffect as d2, resolveComponent as t2, withCtx as W1, provide as a1, resolveDynamicComponent as m2, inject as Z1 } from "vue";
2
2
  const l2 = {
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",
@@ -7380,12 +7380,12 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7380
7380
  },
7381
7381
  emits: ["close"],
7382
7382
  setup(H, { emit: V }) {
7383
- const C = H, L = k(() => ({
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 = k(() => ({
7388
+ })), M = g(() => ({
7389
7389
  success: "mdiCheckCircle",
7390
7390
  error: "mdiAlertCircle",
7391
7391
  warning: "mdiAlert",
@@ -7407,7 +7407,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7407
7407
  Z("div", s2, [
7408
7408
  B(i.$slots, "content", {}, () => [
7409
7409
  Z("p", O2, y(C.title), 1),
7410
- C.description ? (t(), a("p", p2, y(C.description), 1)) : g("", !0)
7410
+ C.description ? (t(), a("p", p2, y(C.description), 1)) : k("", !0)
7411
7411
  ])
7412
7412
  ]),
7413
7413
  C.closable ? (t(), a("div", h2, [
@@ -7419,7 +7419,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7419
7419
  onClick: A
7420
7420
  })
7421
7421
  ])
7422
- ])) : g("", !0)
7422
+ ])) : k("", !0)
7423
7423
  ], 2));
7424
7424
  }
7425
7425
  }), B1 = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyNyAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjQ5OTMgMTRDMTcuMTgyNyAxNCAyMC4xNjYgMTEuMDE2NyAyMC4xNjYgNy4zMzMzNEMyMC4xNjYgMy42NSAxNy4xODI3IDAuNjY2NjcyIDEzLjQ5OTMgMC42NjY2NzJDOS44MTYwMiAwLjY2NjY3MiA2LjgzMjY4IDMuNjUgNi44MzI2OCA3LjMzMzM0QzYuODMyNjggMTEuMDE2NyA5LjgxNjAyIDE0IDEzLjQ5OTMgMTRaTTEzLjQ5OTMgMTcuMzMzM0M5LjA0OTM1IDE3LjMzMzMgMC4xNjYwMTYgMTkuNTY2NyAwLjE2NjAxNiAyNFYyNS42NjY3QzAuMTY2MDE2IDI2LjU4MzMgMC45MTYwMTYgMjcuMzMzMyAxLjgzMjY4IDI3LjMzMzNIMjUuMTY2QzI2LjA4MjcgMjcuMzMzMyAyNi44MzI3IDI2LjU4MzMgMjYuODMyNyAyNS42NjY3VjI0QzI2LjgzMjcgMTkuNTY2NyAxNy45NDkzIDE3LjMzMzMgMTMuNDk5MyAxNy4zMzMzWiIgZmlsbD0iIzRDNUJFMSIvPgo8L3N2Zz4K", f2 = { class: "r-avatar__wrapper" }, g2 = ["alt", "src"], u3 = /* @__PURE__ */ F({
@@ -7433,10 +7433,10 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7433
7433
  text: { default: "" }
7434
7434
  },
7435
7435
  setup(H) {
7436
- const V = H, C = k(() => ({
7436
+ const V = H, C = g(() => ({
7437
7437
  "r-avatar": !0,
7438
7438
  [`r-avatar--${V.size}`]: !0
7439
- })), L = k(() => V.type === "image" && !V.src), M = k(() => L.value ? B1 : V.src), A = (i) => {
7439
+ })), L = g(() => V.type === "image" && !V.src), M = g(() => L.value ? B1 : V.src), A = (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
  };
@@ -7464,7 +7464,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7464
7464
  "r-avatar__online": !0,
7465
7465
  [`r-avatar__online--${V.size}`]: !0
7466
7466
  })
7467
- }, null, 2)) : g("", !0)
7467
+ }, null, 2)) : k("", !0)
7468
7468
  ]));
7469
7469
  }
7470
7470
  }), k2 = { class: "r-badge-wrapper group" }, S3 = /* @__PURE__ */ F({
@@ -7479,7 +7479,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7479
7479
  },
7480
7480
  emits: ["click"],
7481
7481
  setup(H) {
7482
- const V = H, C = k(() => ({
7482
+ const V = H, C = g(() => ({
7483
7483
  "r-badge": !0,
7484
7484
  "r-badge__content": V.content,
7485
7485
  [`r-badge--overlap-${V.placement}`]: V.overlap,
@@ -7514,18 +7514,18 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7514
7514
  },
7515
7515
  emits: ["click"],
7516
7516
  setup(H) {
7517
- const V = H, C = k(() => ({
7517
+ const V = H, C = g(() => ({
7518
7518
  "r-button": !0,
7519
7519
  [`r-button--${V.variant}`]: !0,
7520
7520
  "r-button--loading": V.loading,
7521
7521
  [`r-button--${V.size || "medium"}`]: !0,
7522
7522
  "r-button--only-icon": V.onlyIcon,
7523
7523
  "r-button--block": V.block
7524
- })), L = k(() => ({
7524
+ })), L = g(() => ({
7525
7525
  small: 20,
7526
7526
  medium: 24,
7527
7527
  large: 32
7528
- })[V.size || "medium"]), M = k(() => {
7528
+ })[V.size || "medium"]), M = g(() => {
7529
7529
  const { backgroundColor: A, height: i, color: e } = V;
7530
7530
  return {
7531
7531
  backgroundColor: A,
@@ -7548,14 +7548,14 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7548
7548
  }),
7549
7549
  name: V.prependIcon,
7550
7550
  size: p(L)
7551
- }, null, 8, ["class", "name", "size"])) : g("", !0),
7552
- V.onlyIcon ? g("", !0) : B(A.$slots, "default", { key: 1 }),
7551
+ }, null, 8, ["class", "name", "size"])) : k("", !0),
7552
+ V.onlyIcon ? k("", !0) : B(A.$slots, "default", { key: 1 }),
7553
7553
  !A.$slots["custom-icon"] && !V.onlyIcon && V.appendIcon ? (t(), x(R, {
7554
7554
  key: 2,
7555
7555
  class: "r-button__append-icon",
7556
7556
  name: V.appendIcon,
7557
7557
  size: p(L)
7558
- }, null, 8, ["name", "size"])) : g("", !0)
7558
+ }, null, 8, ["name", "size"])) : k("", !0)
7559
7559
  ], 16, B2));
7560
7560
  }
7561
7561
  }), b2 = { class: "r-checkbox-wrapper" }, y2 = { class: "r-checkbox-container" }, w2 = ["id", "checked", "disabled", "indeterminate"], P2 = ["data-disabled"], T2 = { class: "r-checkbox-texts" }, v2 = ["data-disabled", "for"], F2 = {
@@ -7584,7 +7584,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7584
7584
  checked: "mdiCheck",
7585
7585
  unchecked: "",
7586
7586
  indeterminate: "mdiMinus"
7587
- }, A = k(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), i = k(() => ({
7587
+ }, A = g(() => L.indeterminate ? M.indeterminate : L.checked ? M.checked : M.unchecked), i = g(() => ({
7588
7588
  "r-checkbox": !0,
7589
7589
  "r-checkbox--checked": L.checked,
7590
7590
  "r-checkbox--disabled": C.disabled,
@@ -7657,7 +7657,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7657
7657
  },
7658
7658
  emits: ["click:chip", "click:close"],
7659
7659
  setup(H, { emit: V }) {
7660
- const C = H, L = k(() => ({
7660
+ const C = H, L = g(() => ({
7661
7661
  "r-chip": !0,
7662
7662
  "r-chip--disabled": C.disabled,
7663
7663
  [`r-chip__${C.variant}`]: C.variant,
@@ -7681,7 +7681,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7681
7681
  class: "r-chip__content__prepend-icon",
7682
7682
  name: C.prependIcon,
7683
7683
  size: 12
7684
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7684
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7685
7685
  ]),
7686
7686
  Z("span", x2, y(C.label), 1)
7687
7687
  ]),
@@ -7693,7 +7693,7 @@ const n2 = ["data-state"], a2 = ["onClick"], Z2 = { class: "r-accordion__title"
7693
7693
  name: C.appendIcon,
7694
7694
  size: 12,
7695
7695
  onClick: e[1] || (e[1] = (d) => A(d))
7696
- }, null, 8, ["aria-disabled", "name"])) : g("", !0)
7696
+ }, null, 8, ["aria-disabled", "name"])) : k("", !0)
7697
7697
  ])
7698
7698
  ], 2));
7699
7699
  }
@@ -7841,7 +7841,7 @@ const G2 = {
7841
7841
  if (O === "")
7842
7842
  return;
7843
7843
  C.options.find((h) => h.label === O) || (M.push({ value: O, label: O }), i.value = "", (v = d.value) == null || v.focus());
7844
- }, c = (S) => C.multiple ? M.find((O) => O.value === S.value) : L.value === S.value, w = k(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = k(() => C.multiple || C.taggable || !C.searchable);
7844
+ }, c = (S) => C.multiple ? M.find((O) => O.value === S.value) : L.value === S.value, w = g(() => C.searchable ? C.options.filter((O) => O.label.toLowerCase().includes(i.value.toLowerCase())) : C.options), T = g(() => C.multiple || C.taggable || !C.searchable);
7845
7845
  return M2(() => {
7846
7846
  C.modelValue && (C.multiple ? M.push(C.modelValue) : (L.value = C.modelValue.value, i.value = C.modelValue.label));
7847
7847
  }), W(M, (S) => {
@@ -7873,9 +7873,9 @@ const G2 = {
7873
7873
  C.prependIcon ? (t(), x(R, {
7874
7874
  key: 0,
7875
7875
  name: C.prependIcon
7876
- }, null, 8, ["name"])) : g("", !0)
7876
+ }, null, 8, ["name"])) : k("", !0)
7877
7877
  ])
7878
- ], 2)) : g("", !0),
7878
+ ], 2)) : k("", !0),
7879
7879
  C.taggable ? (t(), a("div", G2, [
7880
7880
  (t(!0), a(U, null, Y(M, (s, v) => (t(), x(D2, {
7881
7881
  key: v,
@@ -7885,10 +7885,10 @@ const G2 = {
7885
7885
  variant: "primary",
7886
7886
  "onClick:close": (h) => u(h, s)
7887
7887
  }, null, 8, ["label", "onClick:close"]))), 128))
7888
- ])) : g("", !0),
7888
+ ])) : k("", !0),
7889
7889
  C.multiple ? (t(), a("div", z2, [
7890
7890
  (t(!0), a(U, null, Y(M, (s, v) => (t(), a("p", { key: v }, y(s.label + ","), 1))), 128))
7891
- ])) : g("", !0),
7891
+ ])) : k("", !0),
7892
7892
  E1(Z("input", {
7893
7893
  id: C.id,
7894
7894
  ref_key: "input",
@@ -7920,9 +7920,9 @@ const G2 = {
7920
7920
  C.appendIcon ? (t(), x(R, {
7921
7921
  key: 0,
7922
7922
  name: C.appendIcon
7923
- }, null, 8, ["name"])) : g("", !0)
7923
+ }, null, 8, ["name"])) : k("", !0)
7924
7924
  ])
7925
- ], 2)) : g("", !0)
7925
+ ], 2)) : k("", !0)
7926
7926
  ], 2),
7927
7927
  Z("ul", {
7928
7928
  class: f({
@@ -7962,7 +7962,7 @@ const G2 = {
7962
7962
  "r-dropdown-options__option__append-icon--active": c(s)
7963
7963
  }),
7964
7964
  name: "mdiCheck"
7965
- }, null, 8, ["class"])) : g("", !0)
7965
+ }, null, 8, ["class"])) : k("", !0)
7966
7966
  ], 10, $2))), 128))
7967
7967
  ], 2)
7968
7968
  ], 512));
@@ -8005,21 +8005,25 @@ const G2 = {
8005
8005
  icon: null,
8006
8006
  width: null,
8007
8007
  height: null,
8008
- outsideClick: { type: Boolean }
8008
+ outsideClick: { type: Boolean },
8009
+ class: null,
8010
+ overlayClass: null,
8011
+ style: null
8009
8012
  },
8010
8013
  emits: ["update:modelValue"],
8011
8014
  setup(H, { emit: V }) {
8012
- const C = H, L = k(() => ({
8015
+ const C = H, L = g(() => ({
8013
8016
  "r-dialog": !0,
8014
- "r-dialog--block": C.block
8015
- })), M = k(() => ({
8017
+ "r-dialog--block": C.block,
8018
+ [`${C.class}`]: !0
8019
+ })), M = g(() => ({
8016
8020
  width: C.width,
8017
8021
  height: C.height
8018
8022
  })), A = (i) => {
8019
8023
  C.outsideClick && i.target === i.currentTarget && V("update:modelValue", !1);
8020
8024
  };
8021
8025
  return (i, e) => E1((t(), a("div", {
8022
- class: "r-modal-overlay",
8026
+ class: f(["r-modal-overlay", H.overlayClass]),
8023
8027
  onClick: N(A, ["stop"])
8024
8028
  }, [
8025
8029
  Z("div", {
@@ -8035,9 +8039,9 @@ const G2 = {
8035
8039
  q(R, {
8036
8040
  name: C.icon
8037
8041
  }, null, 8, ["name"])
8038
- ])) : g("", !0),
8039
- C.title ? (t(), a("div", C5, y(C.title), 1)) : g("", !0),
8040
- C.description ? (t(), a("div", H5, y(C.description), 1)) : g("", !0)
8042
+ ])) : k("", !0),
8043
+ C.title ? (t(), a("div", C5, y(C.title), 1)) : k("", !0),
8044
+ C.description ? (t(), a("div", H5, y(C.description), 1)) : k("", !0)
8041
8045
  ]),
8042
8046
  Z("div", V5, [
8043
8047
  B(i.$slots, "default")
@@ -8046,7 +8050,7 @@ const G2 = {
8046
8050
  B(i.$slots, "actions")
8047
8051
  ])
8048
8052
  ], 14, Y2)
8049
- ], 8, q2)), [
8053
+ ], 10, q2)), [
8050
8054
  [i2, H.modelValue]
8051
8055
  ]);
8052
8056
  }
@@ -8059,7 +8063,7 @@ const G2 = {
8059
8063
  triggerClass: null
8060
8064
  },
8061
8065
  setup(H) {
8062
- const V = H, C = k(() => ({
8066
+ const V = H, C = g(() => ({
8063
8067
  "r-sidebar": !0
8064
8068
  }));
8065
8069
  return (L, M) => (t(), a(U, null, [
@@ -8083,7 +8087,7 @@ const G2 = {
8083
8087
  B(L.$slots, "trigger", {}, () => [
8084
8088
  d5
8085
8089
  ])
8086
- ], 10, e5)) : g("", !0)
8090
+ ], 10, e5)) : k("", !0)
8087
8091
  ], 64));
8088
8092
  }
8089
8093
  }), t5 = { class: "r-snackbar__text" }, m5 = {
@@ -8114,18 +8118,18 @@ const G2 = {
8114
8118
  immediate: !0
8115
8119
  }
8116
8120
  );
8117
- const L = k(() => ({
8121
+ const L = g(() => ({
8118
8122
  "r-snackbar": !0,
8119
8123
  [`r-snackbar--${C.variant}`]: !0,
8120
8124
  [C.left ? "r-snackbar__left" : "r-snackbar__right"]: !0,
8121
8125
  [C.modelValue ? "r-snackbar--shown" : "r-snackbar--hidden"]: !0,
8122
8126
  [C.top ? "r-snackbar__top" : "r-snackbar__bottom"]: !0
8123
- })), M = {
8127
+ })), M = g(() => ({
8124
8128
  success: "mdiCheckCircle",
8125
8129
  error: "mdiAlertCircle",
8126
8130
  warning: "mdiAlert",
8127
8131
  info: "mdiInformation"
8128
- }[C.variant || "info"];
8132
+ })[C.variant || "info"]);
8129
8133
  return (A, i) => (t(), a("div", {
8130
8134
  class: f(p(L))
8131
8135
  }, [
@@ -8134,7 +8138,7 @@ const G2 = {
8134
8138
  key: 0,
8135
8139
  class: "r-snackbar__icon",
8136
8140
  name: p(M)
8137
- }, null, 8, ["name"])) : g("", !0)
8141
+ }, null, 8, ["name"])) : k("", !0)
8138
8142
  ]),
8139
8143
  Z("div", t5, y(C.text), 1),
8140
8144
  B(A.$slots, "action"),
@@ -8146,7 +8150,7 @@ const G2 = {
8146
8150
  onClick: i[0] || (i[0] = N((e) => A.$emit("update:modelValue", !1), ["stop"]))
8147
8151
  })
8148
8152
  ])
8149
- ])) : g("", !0)
8153
+ ])) : k("", !0)
8150
8154
  ], 2));
8151
8155
  }
8152
8156
  }), l5 = { class: "r-switch-container" }, o5 = ["id", "checked"], r5 = /* @__PURE__ */ Z("span", { class: "slider round" }, null, -1), n5 = ["id", "for"], a5 = {
@@ -8170,7 +8174,7 @@ const G2 = {
8170
8174
  setup(H, { emit: V }) {
8171
8175
  const C = H, L = J({
8172
8176
  checked: !1
8173
- }), M = k(() => ({
8177
+ }), M = g(() => ({
8174
8178
  "r-switch": !0,
8175
8179
  "r-switch--disabled": C.disabled,
8176
8180
  [`r-switch--${C.size}`]: C.size,
@@ -8237,12 +8241,12 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8237
8241
  },
8238
8242
  emits: ["update:modelValue", "click:icon"],
8239
8243
  setup(H, { emit: V }) {
8240
- const C = H, L = k(() => ({
8244
+ const C = H, L = g(() => ({
8241
8245
  "r-tab-item": !0,
8242
8246
  [`r-tab-item--${C.variant}`]: !0,
8243
8247
  "r-tab-item--tile": C.tile,
8244
8248
  "r-tab-item--block": C.block
8245
- })), M = k(() => ({
8249
+ })), M = g(() => ({
8246
8250
  color: C.color
8247
8251
  }));
8248
8252
  function A(e) {
@@ -8265,9 +8269,9 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8265
8269
  class: "r-tab-item__prepend-icon",
8266
8270
  name: C.prependIcon,
8267
8271
  size: 16
8268
- }, null, 8, ["name"])) : g("", !0)
8272
+ }, null, 8, ["name"])) : k("", !0)
8269
8273
  ]),
8270
- C.variant !== p(V1).ICON ? (t(), a("span", S5, y(C.label), 1)) : g("", !0),
8274
+ C.variant !== p(V1).ICON ? (t(), a("span", S5, y(C.label), 1)) : k("", !0),
8271
8275
  B(e.$slots, "append", {}, () => [
8272
8276
  C.variant !== p(V1).TEXT && C.appendIcon ? (t(), x(R, {
8273
8277
  key: 0,
@@ -8275,7 +8279,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8275
8279
  name: C.appendIcon,
8276
8280
  size: 16,
8277
8281
  onClick: N(i, ["stop"])
8278
- }, null, 8, ["name", "onClick"])) : g("", !0)
8282
+ }, null, 8, ["name", "onClick"])) : k("", !0)
8279
8283
  ])
8280
8284
  ], 14, u5));
8281
8285
  }
@@ -8289,7 +8293,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8289
8293
  },
8290
8294
  emits: ["update:modelValue", "click:icon"],
8291
8295
  setup(H, { emit: V }) {
8292
- const C = H, L = D(C.modelValue || C.tabs[0].id), M = k(() => ({
8296
+ const C = H, L = D(C.modelValue || C.tabs[0].id), M = g(() => ({
8293
8297
  "r-tabs": !0,
8294
8298
  "r-tabs--block": C.block,
8295
8299
  "r-tabs--tile": C.tile
@@ -8365,7 +8369,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8365
8369
  class: "r-textarea__label",
8366
8370
  for: "textarea",
8367
8371
  text: C.label
8368
- }, null, 8, ["text"])) : g("", !0),
8372
+ }, null, 8, ["text"])) : k("", !0),
8369
8373
  Z("textarea", {
8370
8374
  id: C.id,
8371
8375
  class: f(["r-textarea", {
@@ -8426,7 +8430,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8426
8430
  url: "mdiLink",
8427
8431
  number: "mdiNumeric",
8428
8432
  text: ""
8429
- }, e = D(!1), d = k(() => !!M.value), m = k(() => {
8433
+ }, e = D(!1), d = g(() => !!M.value), m = g(() => {
8430
8434
  const { disabled: h, loading: P, clearable: E, errorMsg: _ } = C;
8431
8435
  return {
8432
8436
  "r-textfield": !0,
@@ -8437,21 +8441,21 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8437
8441
  "r-textfield--focus": e.value,
8438
8442
  "r-textfield--filled": d.value
8439
8443
  };
8440
- }), o = k(() => ({
8444
+ }), o = g(() => ({
8441
8445
  "r-textfield__prepend-icon": !0,
8442
8446
  "r-textfield__prepend-icon--loading": C.loading,
8443
8447
  "r-textfield__prepend-icon--error": r.value && d.value
8444
- })), l = k(() => ({
8448
+ })), l = g(() => ({
8445
8449
  "r-textfield__append-icon": !0,
8446
8450
  "r-textfield__append-icon--clear": u.value,
8447
8451
  "r-textfield__append-icon--error": r.value
8448
- })), n = k(() => M.value.length > 0), r = k(() => {
8452
+ })), n = g(() => M.value.length > 0), r = g(() => {
8449
8453
  var h;
8450
8454
  return (h = C.errorMsg) == null ? void 0 : h.length;
8451
- }), u = k(() => C.clearable && n.value), b = k(() => {
8455
+ }), u = g(() => C.clearable && n.value), b = g(() => {
8452
8456
  const { prependIcon: h, type: P } = C;
8453
8457
  return h === "none" ? "" : h || i[P];
8454
- }), c = k(() => {
8458
+ }), c = g(() => {
8455
8459
  const { appendIcon: h, type: P } = C;
8456
8460
  return h === "none" ? "" : r.value ? "mdiAlertCircleOutline" : u.value && ["text", "email"].includes(P) ? "mdiClose" : P === "password" && A.value === "password" ? "mdiEyeOutline" : P === "password" && A.value === "text" ? "mdiEyeOffOutline" : h;
8457
8461
  }), w = (h) => {
@@ -8504,7 +8508,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8504
8508
  for: C.id,
8505
8509
  text: C.label,
8506
8510
  onClick: v
8507
- }, null, 8, ["id", "for", "text"])) : g("", !0),
8511
+ }, null, 8, ["id", "for", "text"])) : k("", !0),
8508
8512
  Z("div", g5, [
8509
8513
  Z("div", {
8510
8514
  class: f(p(m))
@@ -8515,7 +8519,7 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8515
8519
  class: f(p(o)),
8516
8520
  name: p(b),
8517
8521
  size: 20
8518
- }, null, 8, ["class", "name"])) : g("", !0),
8522
+ }, null, 8, ["class", "name"])) : k("", !0),
8519
8523
  Z("input", {
8520
8524
  id: C.id,
8521
8525
  ref_key: "inputRef",
@@ -8537,10 +8541,10 @@ const u5 = ["aria-disabled", "aria-selected", "disabled"], S5 = {
8537
8541
  name: `${p(c)}`,
8538
8542
  size: 20,
8539
8543
  onClick: O
8540
- }, null, 8, ["class", "name"])) : g("", !0)
8544
+ }, null, 8, ["class", "name"])) : k("", !0)
8541
8545
  ], 2),
8542
- C.errorMsg ? (t(), a("div", B5, y(C.errorMsg), 1)) : g("", !0),
8543
- !C.errorMsg && C.hint ? (t(), a("div", b5, y(C.hint), 1)) : g("", !0)
8546
+ C.errorMsg ? (t(), a("div", B5, y(C.errorMsg), 1)) : k("", !0),
8547
+ !C.errorMsg && C.hint ? (t(), a("div", b5, y(C.hint), 1)) : k("", !0)
8544
8548
  ])
8545
8549
  ])
8546
8550
  ]));
@@ -8993,7 +8997,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
8993
8997
  }, r = () => {
8994
8998
  const { placement: c, offset: w, padding: T, disabled: S } = C;
8995
8999
  S || C.triggers === z.Hover && S1(L, M, A, c, w, T);
8996
- }, u = k(() => ({
9000
+ }, u = g(() => ({
8997
9001
  tooltip: !0,
8998
9002
  "tooltip--dark": C.dark,
8999
9003
  "tooltip--light": C.light
@@ -9008,7 +9012,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9008
9012
  { flush: "post" }
9009
9013
  // this is important to avoid infinite loop & for fire on mounted
9010
9014
  );
9011
- const b = k(() => `${C.showDelay}ms`);
9015
+ const b = g(() => `${C.showDelay}ms`);
9012
9016
  return (c, w) => (t(), a(U, null, [
9013
9017
  Z("div", {
9014
9018
  ref_key: "trigger",
@@ -9021,7 +9025,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9021
9025
  onMousemove: N(r, ["stop"])
9022
9026
  }, [
9023
9027
  B(c.$slots, "trigger", {}, void 0, !0),
9024
- c.$slots.trigger ? g("", !0) : (t(), a("div", {
9028
+ c.$slots.trigger ? k("", !0) : (t(), a("div", {
9025
9029
  key: 0,
9026
9030
  innerHTML: C.triggerContent
9027
9031
  }, null, 8, U5))
@@ -9034,7 +9038,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9034
9038
  role: "tooltip"
9035
9039
  }, [
9036
9040
  B(c.$slots, "content", {}, void 0, !0),
9037
- c.$slots.content ? g("", !0) : (t(), a("div", {
9041
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9038
9042
  key: 0,
9039
9043
  class: f({
9040
9044
  tooltip__content: !0,
@@ -9042,7 +9046,7 @@ const z5 = ["aria-disabled", "onClick", "onMouseenter", "onMouseleave", "onMouse
9042
9046
  "tooltip__content--light": C.light
9043
9047
  })
9044
9048
  }, y(C.text), 3)),
9045
- c.$slots.content ? g("", !0) : (t(), a("div", {
9049
+ c.$slots.content ? k("", !0) : (t(), a("div", {
9046
9050
  key: 1,
9047
9051
  id: "arrow",
9048
9052
  ref_key: "arrowElement",
@@ -9089,9 +9093,9 @@ const K5 = (H, V) => {
9089
9093
  A.icon ? (t(), x(R, {
9090
9094
  key: 0,
9091
9095
  name: A.icon
9092
- }, null, 8, ["name"])) : g("", !0)
9096
+ }, null, 8, ["name"])) : k("", !0)
9093
9097
  ]),
9094
- A.onlyIcon ? g("", !0) : (t(), a("span", q5, y(A.title), 1))
9098
+ A.onlyIcon ? k("", !0) : (t(), a("span", q5, y(A.title), 1))
9095
9099
  ]),
9096
9100
  _: 2
9097
9101
  }, 1032, ["to"]),
@@ -9100,7 +9104,7 @@ const K5 = (H, V) => {
9100
9104
  key: 0,
9101
9105
  class: "r-breadcrumb__separator",
9102
9106
  name: V.seperator
9103
- }, null, 8, ["name"])) : g("", !0)
9107
+ }, null, 8, ["name"])) : k("", !0)
9104
9108
  ])
9105
9109
  ]))), 128))
9106
9110
  ]);
@@ -9132,12 +9136,12 @@ const K5 = (H, V) => {
9132
9136
  },
9133
9137
  emits: ["update:page"],
9134
9138
  setup(H, { emit: V }) {
9135
- const C = H, L = k(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9139
+ const C = H, L = g(() => Math.ceil(C.totalItems / C.perPage)), M = (A) => {
9136
9140
  A < 1 || A > L.value || V("update:page", A);
9137
9141
  };
9138
9142
  return (A, i) => (t(), a("div", Y5, [
9139
9143
  Z("div", X5, [
9140
- H.slash ? g("", !0) : (t(), a("span", J5, y(C.pageText), 1)),
9144
+ H.slash ? k("", !0) : (t(), a("span", J5, y(C.pageText), 1)),
9141
9145
  Z("span", C3, y(C.page), 1),
9142
9146
  Z("span", null, y(H.slash ? "/" : C.ofText), 1),
9143
9147
  Z("span", H3, y(p(L)), 1)
@@ -9228,7 +9232,7 @@ const K5 = (H, V) => {
9228
9232
  },
9229
9233
  emits: ["update:modelValue"],
9230
9234
  setup(H, { emit: V }) {
9231
- const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = k(() => C.selectedClass);
9235
+ const C = H, L = "rocket-ui:r-item-group", M = D(C.as ?? "div"), A = D(C.modelValue ?? []), i = g(() => C.selectedClass);
9232
9236
  a1(`${L}:selectedClass`, i.value);
9233
9237
  const e = (m) => A.value.includes(m);
9234
9238
  a1(`${L}:isSelected`, e);
@@ -9254,7 +9258,7 @@ const K5 = (H, V) => {
9254
9258
  selectedClass: { default: "" }
9255
9259
  },
9256
9260
  setup(H) {
9257
- const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), M = Z1(`${C}:selectedClass`, ""), A = k(() => L(V.value) && [M, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9261
+ const V = H, C = "rocket-ui:r-item-group", L = Z1(`${C}:isSelected`), M = Z1(`${C}:selectedClass`, ""), A = g(() => L(V.value) && [M, V.selectedClass]), i = Z1(`${C}:select`), e = () => {
9258
9262
  V.disabled || i(V.value, !L(V.value));
9259
9263
  }, d = () => {
9260
9264
  V.disabled || i(V.value, !0);