@rocketui/vue 0.2.65 → 0.2.67

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.
@@ -1416,6 +1416,14 @@ declare interface ModalProps {
1416
1416
  * <Modal :modelValue="true" :outsideClick="true" />
1417
1417
  */
1418
1418
  outsideClick?: boolean;
1419
+ /**
1420
+ * Remove padding and gap from the modal
1421
+ * @type boolean
1422
+ * @default false
1423
+ * @example
1424
+ * <Modal :modelValue="true" :clearContent="true" />
1425
+ */
1426
+ clearContent?: boolean;
1419
1427
  /**
1420
1428
  * Class of the Modal
1421
1429
  * @type string
@@ -1886,6 +1894,14 @@ declare interface Props_5 {
1886
1894
  * <Checkbox reverse />
1887
1895
  */
1888
1896
  reverse?: boolean;
1897
+ /**
1898
+ * Name of the checkbox
1899
+ * @type {string}
1900
+ * @default ''
1901
+ * @example
1902
+ * <Checkbox name="checkbox" />
1903
+ */
1904
+ name?: string;
1889
1905
  }
1890
1906
 
1891
1907
  declare interface Props_6 {
@@ -2547,6 +2563,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2547
2563
  width: string;
2548
2564
  height: string;
2549
2565
  outsideClick: boolean;
2566
+ clearContent: boolean;
2550
2567
  class: string;
2551
2568
  overlayClass: string;
2552
2569
  style: string;
@@ -2562,6 +2579,7 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2562
2579
  width: string;
2563
2580
  height: string;
2564
2581
  outsideClick: boolean;
2582
+ clearContent: boolean;
2565
2583
  class: string;
2566
2584
  overlayClass: string;
2567
2585
  style: string;
@@ -2579,9 +2597,11 @@ export declare const RModal: __VLS_WithTemplateSlots_8<DefineComponent<__VLS_Wit
2579
2597
  height: string;
2580
2598
  description: string;
2581
2599
  icon: string;
2600
+ clearContent: boolean;
2582
2601
  overlayClass: string | string[];
2583
2602
  allowBodyScroll: boolean;
2584
2603
  }, {}>, {
2604
+ wrapper?(_: {}): any;
2585
2605
  header?(_: {}): any;
2586
2606
  default?(_: {}): any;
2587
2607
  actions?(_: {}): any;
@@ -1,4 +1,4 @@
1
- import { defineComponent as x, openBlock as m, createElementBlock as r, createElementVNode as u, unref as J, reactive as u1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as q, computed as g, createCommentVNode as O, mergeProps as N1, createBlock as _, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as W, watchEffect as p2, onMounted as V2, Teleport as O2, withCtx as k1, withDirectives as L2, withModifiers as A1, withKeys as z1, vModelText as f2, createTextVNode as S1, onUnmounted as h2, normalizeStyle as I1, vShow as g2, resolveComponent as k2, provide as O1, resolveDynamicComponent as B2, inject as f1 } from "vue";
1
+ import { defineComponent as x, openBlock as m, createElementBlock as r, createElementVNode as u, unref as J, reactive as v1, Fragment as t1, renderList as r1, normalizeClass as p, renderSlot as f, toDisplayString as w, createVNode as q, computed as g, createCommentVNode as O, mergeProps as N1, createBlock as _, watch as G, getCurrentScope as s2, onScopeDispose as c2, ref as W, watchEffect as p2, onMounted as V2, Teleport as O2, withCtx as g1, withDirectives as L2, withModifiers as A1, withKeys as z1, vModelText as f2, createTextVNode as u1, onUnmounted as h2, normalizeStyle as I1, vShow as g2, resolveComponent as k2, provide as p1, resolveDynamicComponent as B2, inject as O1 } from "vue";
2
2
  const b2 = {
3
3
  mdiAbTesting: "M4 2A2 2 0 0 0 2 4V12H4V8H6V12H8V4A2 2 0 0 0 6 2H4M4 4H6V6H4M22 15.5V14A2 2 0 0 0 20 12H16V22H20A2 2 0 0 0 22 20V18.5A1.54 1.54 0 0 0 20.5 17A1.54 1.54 0 0 0 22 15.5M20 20H18V18H20V20M20 16H18V14H20M5.79 21.61L4.21 20.39L18.21 2.39L19.79 3.61Z",
4
4
  mdiAbacus: "M5 5H7V11H5V5M10 5H8V11H10V5M5 19H7V13H5V19M10 13H8V19H10V17H15V15H10V13M2 21H4V3H2V21M20 3V7H13V5H11V11H13V9H20V15H18V13H16V19H18V17H20V21H22V3H20Z",
@@ -7322,7 +7322,7 @@ const b2 = {
7322
7322
  accordions: {}
7323
7323
  },
7324
7324
  setup(H) {
7325
- const V = H, C = u1(
7325
+ const V = H, C = v1(
7326
7326
  V.accordions.map(({ title: i, content: L }, A) => ({
7327
7327
  title: i,
7328
7328
  content: L,
@@ -7596,7 +7596,7 @@ const b2 = {
7596
7596
  },
7597
7597
  emits: ["update:modelValue"],
7598
7598
  setup(H, { emit: V }) {
7599
- const C = H, M = V, i = u1({
7599
+ const C = H, M = V, i = v1({
7600
7600
  checked: !1,
7601
7601
  indeterminate: !1
7602
7602
  }), L = {
@@ -7819,7 +7819,7 @@ function e5() {
7819
7819
  }
7820
7820
  return `${H() + H()}-${H()}-${H()}-${H()}-${H()}${H()}${H()}`;
7821
7821
  }
7822
- const d5 = ["top", "right", "bottom", "left"], a1 = Math.min, e1 = Math.max, B1 = Math.round, H1 = (H) => ({
7822
+ const d5 = ["top", "right", "bottom", "left"], a1 = Math.min, e1 = Math.max, k1 = Math.round, H1 = (H) => ({
7823
7823
  x: H,
7824
7824
  y: H
7825
7825
  }), t5 = {
@@ -7840,7 +7840,7 @@ function l1(H, V) {
7840
7840
  function i1(H) {
7841
7841
  return H.split("-")[0];
7842
7842
  }
7843
- function s1(H) {
7843
+ function S1(H) {
7844
7844
  return H.split("-")[1];
7845
7845
  }
7846
7846
  function e2(H) {
@@ -7857,12 +7857,12 @@ function G1(H) {
7857
7857
  }
7858
7858
  function l5(H, V, C) {
7859
7859
  C === void 0 && (C = !1);
7860
- const M = s1(H), i = G1(H), L = Q1(i);
7860
+ const M = S1(H), i = G1(H), L = Q1(i);
7861
7861
  let A = i === "x" ? M === (C ? "end" : "start") ? "right" : "left" : M === "start" ? "bottom" : "top";
7862
- return V.reference[L] > V.floating[L] && (A = b1(A)), [A, b1(A)];
7862
+ return V.reference[L] > V.floating[L] && (A = B1(A)), [A, B1(A)];
7863
7863
  }
7864
7864
  function o5(H) {
7865
- const V = b1(H);
7865
+ const V = B1(H);
7866
7866
  return [_1(H), V, _1(V)];
7867
7867
  }
7868
7868
  function _1(H) {
@@ -7882,11 +7882,11 @@ function n5(H, V, C) {
7882
7882
  }
7883
7883
  }
7884
7884
  function r5(H, V, C, M) {
7885
- const i = s1(H);
7885
+ const i = S1(H);
7886
7886
  let L = n5(i1(H), C === "start", M);
7887
7887
  return i && (L = L.map((A) => A + "-" + i), V && (L = L.concat(L.map(_1)))), L;
7888
7888
  }
7889
- function b1(H) {
7889
+ function B1(H) {
7890
7890
  return H.replace(/left|right|bottom|top/g, (V) => t5[V]);
7891
7891
  }
7892
7892
  function a5(H) {
@@ -7906,7 +7906,7 @@ function d2(H) {
7906
7906
  left: H
7907
7907
  };
7908
7908
  }
7909
- function w1(H) {
7909
+ function b1(H) {
7910
7910
  return {
7911
7911
  ...H,
7912
7912
  top: H.y,
@@ -7953,7 +7953,7 @@ function j1(H, V, C) {
7953
7953
  y: M.y
7954
7954
  };
7955
7955
  }
7956
- switch (s1(V)) {
7956
+ switch (S1(V)) {
7957
7957
  case "start":
7958
7958
  l[A] -= o * (C && t ? -1 : 1);
7959
7959
  break;
@@ -8027,7 +8027,7 @@ const Z5 = async (H, V, C) => {
8027
8027
  middlewareData: l
8028
8028
  };
8029
8029
  };
8030
- async function v1(H, V) {
8030
+ async function w1(H, V) {
8031
8031
  var C;
8032
8032
  V === void 0 && (V = {});
8033
8033
  const {
@@ -8043,7 +8043,7 @@ async function v1(H, V) {
8043
8043
  elementContext: a = "floating",
8044
8044
  altBoundary: o = !1,
8045
8045
  padding: l = 0
8046
- } = l1(V, H), S = d2(l), v = e[o ? a === "floating" ? "reference" : "floating" : a], k = w1(await L.getClippingRect({
8046
+ } = l1(V, H), S = d2(l), v = e[o ? a === "floating" ? "reference" : "floating" : a], k = b1(await L.getClippingRect({
8047
8047
  element: (C = await (L.isElement == null ? void 0 : L.isElement(v))) == null || C ? v : v.contextElement || await (L.getDocumentElement == null ? void 0 : L.getDocumentElement(e.floating)),
8048
8048
  boundary: t,
8049
8049
  rootBoundary: n,
@@ -8058,7 +8058,7 @@ async function v1(H, V) {
8058
8058
  } : {
8059
8059
  x: 1,
8060
8060
  y: 1
8061
- }, y = w1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8061
+ }, y = b1(L.convertOffsetParentRelativeRectToViewportRelativeRect ? await L.convertOffsetParentRelativeRectToViewportRelativeRect({
8062
8062
  rect: b,
8063
8063
  offsetParent: F,
8064
8064
  strategy: d
@@ -8094,7 +8094,7 @@ const u5 = (H) => ({
8094
8094
  }, l = G1(i), S = Q1(l), B = await A.getDimensions(t), v = l === "y", k = v ? "top" : "left", b = v ? "bottom" : "right", F = v ? "clientHeight" : "clientWidth", R = L.reference[S] + L.reference[l] - o[l] - L.floating[S], y = o[l] - L.reference[l], U = await (A.getOffsetParent == null ? void 0 : A.getOffsetParent(t));
8095
8095
  let N = U ? U[F] : 0;
8096
8096
  (!N || !await (A.isElement == null ? void 0 : A.isElement(U))) && (N = e.floating[F] || L.floating[S]);
8097
- const h = R / 2 - y / 2, I = N / 2 - B[S] / 2 - 1, M1 = a1(a[k], I), Z = a1(a[b], I), s = M1, P = N - B[S] - Z, T = N / 2 - B[S] / 2 + h, c = D1(s, T, P), E = !d.arrow && s1(i) != null && T != c && L.reference[S] / 2 - (T < s ? M1 : Z) - B[S] / 2 < 0, $ = E ? T < s ? T - s : T - P : 0;
8097
+ const h = R / 2 - y / 2, I = N / 2 - B[S] / 2 - 1, M1 = a1(a[k], I), Z = a1(a[b], I), s = M1, P = N - B[S] - Z, T = N / 2 - B[S] / 2 + h, c = D1(s, T, P), E = !d.arrow && S1(i) != null && T != c && L.reference[S] / 2 - (T < s ? M1 : Z) - B[S] / 2 < 0, $ = E ? T < s ? T - s : T - P : 0;
8098
8098
  return {
8099
8099
  [l]: o[l] + $,
8100
8100
  data: {
@@ -8131,9 +8131,9 @@ const u5 = (H) => ({
8131
8131
  } = l1(H, V);
8132
8132
  if ((C = L.arrow) != null && C.alignmentOffset)
8133
8133
  return {};
8134
- const k = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !B ? [b1(e)] : o5(e));
8134
+ const k = i1(i), b = i1(e) === e, F = await (d.isRTL == null ? void 0 : d.isRTL(t.floating)), R = o || (b || !B ? [B1(e)] : o5(e));
8135
8135
  !o && S !== "none" && R.push(...r5(e, B, S, F));
8136
- const y = [e, ...R], U = await v1(V, v), N = [];
8136
+ const y = [e, ...R], U = await w1(V, v), N = [];
8137
8137
  let h = ((M = L.flip) == null ? void 0 : M.overflows) || [];
8138
8138
  if (n && N.push(U[k]), a) {
8139
8139
  const s = l5(i, A, F);
@@ -8203,7 +8203,7 @@ const s5 = function(H) {
8203
8203
  } = l1(H, V);
8204
8204
  switch (M) {
8205
8205
  case "referenceHidden": {
8206
- const L = await v1(V, {
8206
+ const L = await w1(V, {
8207
8207
  ...i,
8208
8208
  elementContext: "reference"
8209
8209
  }), A = X1(L, C.reference);
@@ -8215,7 +8215,7 @@ const s5 = function(H) {
8215
8215
  };
8216
8216
  }
8217
8217
  case "escaped": {
8218
- const L = await v1(V, {
8218
+ const L = await w1(V, {
8219
8219
  ...i,
8220
8220
  altBoundary: !0
8221
8221
  }), A = X1(L, C.floating);
@@ -8237,7 +8237,7 @@ async function c5(H, V) {
8237
8237
  placement: C,
8238
8238
  platform: M,
8239
8239
  elements: i
8240
- } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = i1(C), e = s1(C), d = y1(C) === "y", t = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = l1(V, H);
8240
+ } = H, L = await (M.isRTL == null ? void 0 : M.isRTL(i.floating)), A = i1(C), e = S1(C), d = y1(C) === "y", t = ["left", "top"].includes(A) ? -1 : 1, n = L && d ? -1 : 1, a = l1(V, H);
8241
8241
  let {
8242
8242
  mainAxis: o,
8243
8243
  crossAxis: l,
@@ -8304,7 +8304,7 @@ const p5 = function(H) {
8304
8304
  } = l1(H, V), t = {
8305
8305
  x: C,
8306
8306
  y: M
8307
- }, n = await v1(V, d), a = y1(i1(i)), o = e2(a);
8307
+ }, n = await w1(V, d), a = y1(i1(i)), o = e2(a);
8308
8308
  let l = t[o], S = t[a];
8309
8309
  if (L) {
8310
8310
  const v = o === "y" ? "top" : "left", k = o === "y" ? "bottom" : "right", b = l + n[v], F = l - n[k];
@@ -8352,7 +8352,7 @@ function j(H) {
8352
8352
  function J1(H) {
8353
8353
  return typeof ShadowRoot > "u" ? !1 : H instanceof ShadowRoot || H instanceof z(H).ShadowRoot;
8354
8354
  }
8355
- function c1(H) {
8355
+ function s1(H) {
8356
8356
  const {
8357
8357
  overflow: V,
8358
8358
  overflowX: C,
@@ -8409,18 +8409,18 @@ function m1(H) {
8409
8409
  }
8410
8410
  function m2(H) {
8411
8411
  const V = m1(H);
8412
- return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && c1(V) ? V : m2(V);
8412
+ return P1(V) ? H.ownerDocument ? H.ownerDocument.body : H.body : j(V) && s1(V) ? V : m2(V);
8413
8413
  }
8414
8414
  function E1(H, V, C) {
8415
8415
  var M;
8416
8416
  V === void 0 && (V = []), C === void 0 && (C = !0);
8417
8417
  const i = m2(H), L = i === ((M = H.ownerDocument) == null ? void 0 : M.body), A = z(i);
8418
- return L ? V.concat(A, A.visualViewport || [], c1(i) ? i : [], A.frameElement && C ? E1(A.frameElement) : []) : V.concat(i, E1(i, [], C));
8418
+ return L ? V.concat(A, A.visualViewport || [], s1(i) ? i : [], A.frameElement && C ? E1(A.frameElement) : []) : V.concat(i, E1(i, [], C));
8419
8419
  }
8420
8420
  function l2(H) {
8421
8421
  const V = K(H);
8422
8422
  let C = parseFloat(V.width) || 0, M = parseFloat(V.height) || 0;
8423
- const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = B1(C) !== L || B1(M) !== A;
8423
+ const i = j(H), L = i ? H.offsetWidth : C, A = i ? H.offsetHeight : M, e = k1(C) !== L || k1(M) !== A;
8424
8424
  return e && (C = L, M = A), {
8425
8425
  width: C,
8426
8426
  height: M,
@@ -8439,7 +8439,7 @@ function d1(H) {
8439
8439
  height: i,
8440
8440
  $: L
8441
8441
  } = l2(V);
8442
- let A = (L ? B1(C.width) : C.width) / M, e = (L ? B1(C.height) : C.height) / i;
8442
+ let A = (L ? k1(C.width) : C.width) / M, e = (L ? k1(C.height) : C.height) / i;
8443
8443
  return (!A || !Number.isFinite(A)) && (A = 1), (!e || !Number.isFinite(e)) && (e = 1), {
8444
8444
  x: A,
8445
8445
  y: e
@@ -8471,7 +8471,7 @@ function Z1(H, V, C, M) {
8471
8471
  d *= B.x, t *= B.y, n *= B.x, a *= B.y, d += b, t += F, S = z(S).frameElement;
8472
8472
  }
8473
8473
  }
8474
- return w1({
8474
+ return b1({
8475
8475
  width: n,
8476
8476
  height: a,
8477
8477
  x: d,
@@ -8492,7 +8492,7 @@ function B5(H) {
8492
8492
  scrollTop: 0
8493
8493
  }, e = H1(1);
8494
8494
  const d = H1(0);
8495
- if ((i || !i && M !== "fixed") && ((V1(C) !== "body" || c1(L)) && (A = T1(C)), j(C))) {
8495
+ if ((i || !i && M !== "fixed") && ((V1(C) !== "body" || s1(L)) && (A = T1(C)), j(C))) {
8496
8496
  const t = Z1(C);
8497
8497
  e = d1(C), d.x = t.x + C.clientLeft, d.y = t.y + C.clientTop;
8498
8498
  }
@@ -8560,7 +8560,7 @@ function C2(H, V, C) {
8560
8560
  y: V.y - i.y
8561
8561
  };
8562
8562
  }
8563
- return w1(M);
8563
+ return b1(M);
8564
8564
  }
8565
8565
  function a2(H, V) {
8566
8566
  const C = m1(H);
@@ -8575,7 +8575,7 @@ function P5(H, V) {
8575
8575
  let A = L ? m1(H) : H;
8576
8576
  for (; C1(A) && !P1(A); ) {
8577
8577
  const e = K(A), d = $1(A);
8578
- !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || c1(A) && !d && a2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8578
+ !d && e.position === "fixed" && (i = null), (L ? !d && !i : !d && e.position === "static" && !!i && ["absolute", "fixed"].includes(i.position) || s1(A) && !d && a2(H, A)) ? M = M.filter((n) => n !== A) : i = e, A = m1(A);
8579
8579
  }
8580
8580
  return V.set(H, M), M;
8581
8581
  }
@@ -8608,7 +8608,7 @@ function R5(H, V, C) {
8608
8608
  };
8609
8609
  const d = H1(0);
8610
8610
  if (M || !M && !L)
8611
- if ((V1(V) !== "body" || c1(i)) && (e = T1(V)), M) {
8611
+ if ((V1(V) !== "body" || s1(i)) && (e = T1(V)), M) {
8612
8612
  const t = Z1(V, !0, L, V);
8613
8613
  d.x = t.x + V.clientLeft, d.y = t.y + V.clientTop;
8614
8614
  } else
@@ -8927,15 +8927,15 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
8927
8927
  return;
8928
8928
  const s = document.getElementById(Z);
8929
8929
  document.querySelectorAll(".r-dropdown--active").forEach((Q) => {
8930
- var p1;
8931
- Q.id !== ((p1 = a.value) == null ? void 0 : p1.id) && Q.classList.contains("r-dropdown--active") && (Q.childNodes.forEach((X) => {
8930
+ var c1;
8931
+ Q.id !== ((c1 = a.value) == null ? void 0 : c1.id) && Q.classList.contains("r-dropdown--active") && (Q.childNodes.forEach((X) => {
8932
8932
  X != null && X.classList && (Object == null || Object.values(X == null ? void 0 : X.classList).filter((F1) => F1.includes("--active")).forEach((F1) => {
8933
8933
  X == null || X.classList.remove(F1);
8934
8934
  }));
8935
8935
  }), Q.classList.remove("r-dropdown--active"));
8936
8936
  }), s != null && s.classList.contains("r-dropdown--active") ? (s.classList.remove("r-dropdown--active"), A.value = !1, (T = a.value) == null || T.blur(), (c = o.value) == null || c.blur()) : (s == null || s.classList.add("r-dropdown--active"), A.value = !0, (E = a.value) == null || E.focus(), ($ = o.value) == null || $.focus(), s == null || s.childNodes.forEach((Q) => {
8937
- Q != null && Q.classList && (Object == null || Object.values(Q == null ? void 0 : Q.classList).forEach((p1) => {
8938
- Q == null || Q.classList.add(`${p1}--active`);
8937
+ Q != null && Q.classList && (Object == null || Object.values(Q == null ? void 0 : Q.classList).forEach((c1) => {
8938
+ Q == null || Q.classList.add(`${c1}--active`);
8939
8939
  }));
8940
8940
  }));
8941
8941
  }
@@ -9036,7 +9036,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9036
9036
  B(P);
9037
9037
  })
9038
9038
  }, {
9039
- default: k1(({ updatePosition: P, tooltipId: T }) => [
9039
+ default: g1(({ updatePosition: P, tooltipId: T }) => [
9040
9040
  u("div", {
9041
9041
  id: T,
9042
9042
  ref_key: "dropdown",
@@ -9144,7 +9144,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9144
9144
  ], 2)) : O("", !0)
9145
9145
  ], 10, $5)
9146
9146
  ]),
9147
- content: k1(({ hide: P, updatePosition: T }) => [
9147
+ content: g1(({ hide: P, updatePosition: T }) => [
9148
9148
  u("ul", {
9149
9149
  class: p(["r-dropdown-options", {
9150
9150
  "r-dropdown-options--active": A.value,
@@ -9221,7 +9221,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9221
9221
  ], 10, C3))), 128)),
9222
9222
  y.value.length === 0 ? (m(), r("li", V3, [
9223
9223
  f(Z.$slots, "not-options", {}, () => [
9224
- S1(w(C.noOptionsText), 1)
9224
+ u1(w(C.noOptionsText), 1)
9225
9225
  ])
9226
9226
  ])) : O("", !0)
9227
9227
  ], 2)
@@ -9249,7 +9249,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9249
9249
  for: V.for
9250
9250
  }, [
9251
9251
  f(C.$slots, "default", {}, () => [
9252
- S1(w(V.text), 1)
9252
+ u1(w(V.text), 1)
9253
9253
  ])
9254
9254
  ], 8, e3));
9255
9255
  }
@@ -9273,6 +9273,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9273
9273
  width: { default: "" },
9274
9274
  height: { default: "" },
9275
9275
  outsideClick: { type: Boolean, default: !1 },
9276
+ clearContent: { type: Boolean, default: !1 },
9276
9277
  class: { default: "" },
9277
9278
  overlayClass: { default: "" },
9278
9279
  style: { default: "" },
@@ -9283,6 +9284,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9283
9284
  const C = H, M = V, i = g(() => ({
9284
9285
  "r-dialog": !0,
9285
9286
  "r-dialog--block": C.block,
9287
+ "p-0 gap-0": C.clearContent,
9286
9288
  [`${C.class}`]: !0
9287
9289
  })), L = g(() => ({
9288
9290
  width: C.width,
@@ -9306,21 +9308,23 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9306
9308
  role: "dialog",
9307
9309
  style: I1(L.value)
9308
9310
  }, [
9309
- u("div", m3, [
9310
- f(e.$slots, "header"),
9311
- C.icon ? (m(), r("div", l3, [
9312
- q(D, {
9313
- name: C.icon
9314
- }, null, 8, ["name"])
9315
- ])) : O("", !0),
9316
- C.title ? (m(), r("div", o3, w(C.title), 1)) : O("", !0),
9317
- C.description ? (m(), r("div", n3, w(C.description), 1)) : O("", !0)
9318
- ]),
9319
- u("div", r3, [
9320
- f(e.$slots, "default")
9321
- ]),
9322
- u("div", a3, [
9323
- f(e.$slots, "actions")
9311
+ f(e.$slots, "wrapper", {}, () => [
9312
+ u("div", m3, [
9313
+ f(e.$slots, "header"),
9314
+ C.icon ? (m(), r("div", l3, [
9315
+ q(D, {
9316
+ name: C.icon
9317
+ }, null, 8, ["name"])
9318
+ ])) : O("", !0),
9319
+ C.title ? (m(), r("div", o3, w(C.title), 1)) : O("", !0),
9320
+ C.description ? (m(), r("div", n3, w(C.description), 1)) : O("", !0)
9321
+ ]),
9322
+ u("div", r3, [
9323
+ f(e.$slots, "default")
9324
+ ]),
9325
+ u("div", a3, [
9326
+ f(e.$slots, "actions")
9327
+ ])
9324
9328
  ])
9325
9329
  ], 14, t3)
9326
9330
  ], 10, d3)), [
@@ -9360,7 +9364,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9360
9364
  f(i.$slots, "trigger", {
9361
9365
  open: C.modelValue
9362
9366
  }, () => [
9363
- S1(" > ")
9367
+ u1(" > ")
9364
9368
  ])
9365
9369
  ], 10, S3)) : O("", !0)
9366
9370
  ], 10, Z3));
@@ -9415,7 +9419,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9415
9419
  ]),
9416
9420
  u("div", s3, [
9417
9421
  f(A.$slots, "default", {}, () => [
9418
- S1(w(C.text), 1)
9422
+ u1(w(C.text), 1)
9419
9423
  ])
9420
9424
  ]),
9421
9425
  C.closable ? (m(), r("div", {
@@ -9432,7 +9436,7 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9432
9436
  ])) : O("", !0)
9433
9437
  ], 2));
9434
9438
  }
9435
- }), c3 = ["id", "checked", "disabled"], p3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), O3 = ["id", "for"], f3 = {
9439
+ }), c3 = ["id", "checked", "disabled", "name"], p3 = /* @__PURE__ */ u("span", { class: "slider round" }, null, -1), O3 = ["id", "for"], f3 = {
9436
9440
  key: 0,
9437
9441
  class: "r-switch-texts__details"
9438
9442
  }, h3 = {
@@ -9452,11 +9456,12 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9452
9456
  errorMsg: { default: "" },
9453
9457
  size: { default: "medium" },
9454
9458
  hideDetails: { type: Boolean },
9455
- reverse: { type: Boolean }
9459
+ reverse: { type: Boolean },
9460
+ name: {}
9456
9461
  },
9457
9462
  emits: ["update:modelValue"],
9458
9463
  setup(H, { emit: V }) {
9459
- const C = H, M = V, i = u1({
9464
+ const C = H, M = V, i = W({
9460
9465
  checked: !1
9461
9466
  }), L = g(() => ({
9462
9467
  "r-switch": !0,
@@ -9465,12 +9470,12 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9465
9470
  "r-switch--error": C.errorMsg
9466
9471
  }));
9467
9472
  function A(e) {
9468
- C.disabled || (i.checked = e.target.checked, M("update:modelValue", i.checked));
9473
+ C.disabled || (i.value.checked = e.target.checked, M("update:modelValue", i.value.checked));
9469
9474
  }
9470
9475
  return G(
9471
9476
  () => C.modelValue,
9472
9477
  (e) => {
9473
- i.checked = e;
9478
+ i.value.checked = e;
9474
9479
  },
9475
9480
  {
9476
9481
  // need immediate to set the state on first render for storybook
@@ -9488,9 +9493,10 @@ const N5 = ["aria-disabled"], I5 = ["innerHTML"], Q5 = ["id"], G5 = /* @__PURE__
9488
9493
  }, [
9489
9494
  u("input", {
9490
9495
  id: C.id,
9491
- checked: i.checked,
9496
+ checked: i.value.checked,
9492
9497
  class: "r-switch__input",
9493
9498
  disabled: C.disabled,
9499
+ name: C.name,
9494
9500
  type: "checkbox",
9495
9501
  onChange: A
9496
9502
  }, null, 40, c3),
@@ -9564,7 +9570,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9564
9570
  f(d.$slots, "default", {
9565
9571
  label: C.label
9566
9572
  }, () => [
9567
- S1(w(C.label), 1)
9573
+ u1(w(C.label), 1)
9568
9574
  ])
9569
9575
  ])) : O("", !0),
9570
9576
  f(d.$slots, "append", {
@@ -9660,7 +9666,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9660
9666
  },
9661
9667
  emits: ["update:modelValue"],
9662
9668
  setup(H, { emit: V }) {
9663
- const C = H, M = V, i = u1({
9669
+ const C = H, M = V, i = v1({
9664
9670
  value: ""
9665
9671
  });
9666
9672
  function L(A) {
@@ -9737,7 +9743,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9737
9743
  "click:clear"
9738
9744
  ],
9739
9745
  setup(H, { emit: V }) {
9740
- const C = H, M = V, i = W(), L = u1({
9746
+ const C = H, M = V, i = W(), L = v1({
9741
9747
  value: ""
9742
9748
  }), A = W(C.type), e = {
9743
9749
  password: "mdiLock",
@@ -9909,7 +9915,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
9909
9915
  class: "r-breadcrumb__link",
9910
9916
  to: L.to
9911
9917
  }, {
9912
- default: k1(() => [
9918
+ default: g1(() => [
9913
9919
  f(C.$slots, "item-icon", {}, () => [
9914
9920
  L.icon ? (m(), _(D, {
9915
9921
  key: 0,
@@ -10113,7 +10119,7 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10113
10119
  value: V.value
10114
10120
  }, null, 12, t0));
10115
10121
  }
10116
- }), h1 = "rocket-ui:r-item-group", v0 = /* @__PURE__ */ x({
10122
+ }), f1 = "rocket-ui:r-item-group", v0 = /* @__PURE__ */ x({
10117
10123
  __name: "RItemGroup",
10118
10124
  props: {
10119
10125
  modelValue: { default: () => [] },
@@ -10127,22 +10133,22 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10127
10133
  emits: ["update:modelValue"],
10128
10134
  setup(H, { emit: V }) {
10129
10135
  const C = H, M = V, i = W(C.as ?? "div"), L = W(C.modelValue), A = g(() => C.selectedClass);
10130
- O1(`${h1}:selectedClass`, A.value);
10136
+ p1(`${f1}:selectedClass`, A.value);
10131
10137
  function e(n) {
10132
10138
  return L.value.includes(n);
10133
10139
  }
10134
- O1(`${h1}:isSelected`, e);
10140
+ p1(`${f1}:isSelected`, e);
10135
10141
  function d(n, a) {
10136
10142
  C.disabled || C.mandatory && L.value.length === 1 && !a || C.max && L.value.length === C.max && a || (C.multiple ? a ? L.value.push(n) : L.value = L.value.filter((o) => o !== n) : L.value = n ? [n] : [], M("update:modelValue", L.value));
10137
10143
  }
10138
- O1(`${h1}:select`, d);
10144
+ p1(`${f1}:select`, d);
10139
10145
  function t() {
10140
10146
  return C.disabled;
10141
10147
  }
10142
- return O1(`${h1}:isDisabled`, t), G(() => C.modelValue, () => {
10148
+ return p1(`${f1}:isDisabled`, t), G(() => C.modelValue, () => {
10143
10149
  L.value = C.modelValue;
10144
10150
  }), (n, a) => (m(), _(B2(i.value), null, {
10145
- default: k1(() => [
10151
+ default: g1(() => [
10146
10152
  f(n.$slots, "default", {
10147
10153
  isSelected: e,
10148
10154
  select: d,
@@ -10152,14 +10158,14 @@ const k3 = ["aria-disabled", "aria-selected", "disabled"], B3 = { key: 0 }, b3 =
10152
10158
  _: 3
10153
10159
  }));
10154
10160
  }
10155
- }), g1 = "rocket-ui:r-item-group", y0 = /* @__PURE__ */ x({
10161
+ }), h1 = "rocket-ui:r-item-group", y0 = /* @__PURE__ */ x({
10156
10162
  __name: "RItem",
10157
10163
  props: {
10158
10164
  value: { default: null },
10159
10165
  selectedClass: { default: "" }
10160
10166
  },
10161
10167
  setup(H) {
10162
- const V = H, C = f1(`${g1}:isSelected`), M = f1(`${g1}:selectedClass`, ""), i = f1(`${g1}:select`), L = f1(`${g1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10168
+ const V = H, C = O1(`${h1}:isSelected`), M = O1(`${h1}:selectedClass`, ""), i = O1(`${h1}:select`), L = O1(`${h1}:isDisabled`), A = g(() => C(V.value) && [M, V.selectedClass]);
10163
10169
  function e() {
10164
10170
  V.disabled || i(V.value, !C(V.value));
10165
10171
  }