@banzamel/mineralui 1.10.2 → 1.10.3

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.
@@ -20,10 +20,10 @@ import { t as F } from "./MInputSearch-Dj55a3oO.js";
20
20
  import { t as I } from "./MTreeView-DMTzRk6c.js";
21
21
  import { i as te, r as ne } from "./MDropdownMenu-CAwSTZ1h.js";
22
22
  import { t as L } from "./MPagination-CnFI794t.js";
23
- import { Children as re, Fragment as R, cloneElement as z, isValidElement as B, useCallback as V, useEffect as ie, useMemo as ae, useRef as oe, useState as H } from "react";
23
+ import { Children as re, Fragment as ie, cloneElement as R, isValidElement as z, useCallback as B, useEffect as ae, useMemo as V, useRef as oe, useState as H } from "react";
24
24
  import { Fragment as se, jsx as U, jsxs as W } from "react/jsx-runtime";
25
25
  //#region src/components/cards/shared/MCardColor.utils.tsx
26
- function G(e) {
26
+ function ce(e) {
27
27
  if (typeof e == "string") return e;
28
28
  if (typeof e == "function") {
29
29
  let t = e;
@@ -35,22 +35,22 @@ function G(e) {
35
35
  }
36
36
  return "";
37
37
  }
38
- function K(e) {
38
+ function G(e) {
39
39
  if (e.props.color !== void 0) return !1;
40
40
  if (e.type === b) return !0;
41
- let t = G(e.type);
41
+ let t = ce(e.type);
42
42
  return t.startsWith("M") && t.endsWith("Icon");
43
43
  }
44
- function q(e, t) {
44
+ function K(e, t) {
45
45
  return t ? re.map(e, (e) => {
46
- if (!B(e)) return e;
47
- let n = e, r = n.props, i = r.children ? q(r.children, t) : r.children, a = {};
48
- return i !== r.children && (a.children = i), K(n) && (a.color = t), Object.keys(a).length ? z(n, a) : n;
46
+ if (!z(e)) return e;
47
+ let n = e, r = n.props, i = r.children ? K(r.children, t) : r.children, a = {};
48
+ return i !== r.children && (a.children = i), G(n) && (a.color = t), Object.keys(a).length ? R(n, a) : n;
49
49
  }) : e;
50
50
  }
51
51
  //#endregion
52
52
  //#region src/components/cards/MCardActionArea/MCardActionArea.tsx
53
- function J({ component: e, to: t, href: n, target: r, rel: i, color: a, interactive: o = !0, clickEffect: s, rippleColor: c, className: l, children: u, onPointerDown: f, type: p, ...h }) {
53
+ function q({ component: e, to: t, href: n, target: r, rel: i, color: a, interactive: o = !0, clickEffect: s, rippleColor: c, className: l, children: u, onPointerDown: f, type: p, ...h }) {
54
54
  let { component: g, href: _, to: v, isInteractive: y } = E({
55
55
  component: e,
56
56
  href: n,
@@ -77,18 +77,18 @@ function J({ component: e, to: t, href: n, target: r, rel: i, color: a, interact
77
77
  ...h,
78
78
  children: [x, /* @__PURE__ */ U("span", {
79
79
  className: "card-action-area-content",
80
- children: q(u, a)
80
+ children: K(u, a)
81
81
  })]
82
82
  });
83
83
  }
84
84
  //#endregion
85
85
  //#region src/components/cards/MCardPayment/MCardPayment.tsx
86
- function ce(e) {
86
+ function le(e) {
87
87
  let t = e.replace(/\D/g, "");
88
88
  return t.length <= 4 ? t : `\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 ${t.slice(-4)}`;
89
89
  }
90
- function Y({ component: e, to: t, href: n, target: r, rel: i, holder: a, number: o, expiry: s, brand: c, brandIcon: l, balance: u, balanceLabel: h = "Current balance", color: g, interactive: _ = !1, clickEffect: v, rippleColor: y, className: b, onPointerDown: x, ...S }) {
91
- let C = f(o), w = c ?? C.brand, T = p.find((e) => e.brand === w) ?? C, D = ce(o), O = T.iconLabel, { component: k, href: A, to: j, isInteractive: M } = E({
90
+ function J({ component: e, to: t, href: n, target: r, rel: i, holder: a, number: o, expiry: s, brand: c, brandIcon: l, balance: u, balanceLabel: h = "Current balance", color: g, interactive: _ = !1, clickEffect: v, rippleColor: y, className: b, onPointerDown: x, ...S }) {
91
+ let C = f(o), w = c ?? C.brand, T = p.find((e) => e.brand === w) ?? C, D = le(o), O = T.iconLabel, { component: k, href: A, to: j, isInteractive: M } = E({
92
92
  component: e,
93
93
  href: n,
94
94
  to: t,
@@ -150,11 +150,11 @@ function Y({ component: e, to: t, href: n, target: r, rel: i, holder: a, number:
150
150
  }
151
151
  //#endregion
152
152
  //#region src/components/cards/MCardPaymentMethod/MCardPaymentMethod.tsx
153
- function le(e) {
153
+ function Y(e) {
154
154
  return p.find((t) => t.brand === e)?.iconLabel ?? "CARD";
155
155
  }
156
156
  function ue({ title: e = "Your payment methods", actionLabel: t = "Change", actionHref: n = "#", onAction: r, brand: i = "visa", brandIcon: a, last4: o, badgeLabel: s, summary: c, helperText: l = "All fields are required, unless stated otherwise.", expiryLabel: f = "Expiration date", cvcLabel: p = "Security code", expiryProps: m, cvcProps: h, color: v, className: b, ...x }) {
157
- let C = m?.value ?? m?.defaultValue, w = s === void 0 ? "Default" : s, T = C ? `Credit card - Expiration date ${String(C).replace("/", ".")}` : "Credit card", E = c === void 0 ? T : c, D = le(i), O = {
157
+ let C = m?.value ?? m?.defaultValue, w = s === void 0 ? "Default" : s, T = C ? `Credit card - Expiration date ${String(C).replace("/", ".")}` : "Credit card", E = c === void 0 ? T : c, D = Y(i), O = {
158
158
  clearable: !0,
159
159
  ...m
160
160
  };
@@ -230,11 +230,11 @@ function ue({ title: e = "Your payment methods", actionLabel: t = "Change", acti
230
230
  }
231
231
  //#endregion
232
232
  //#region src/components/cards/ServiceCardsShared/ServiceCardsShared.tsx
233
- function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN", duration: f, available: p, image: m, gallery: h, galleryAutoPlay: g = !1, rating: _, reviewCount: v, favorite: y, onFavorite: x, menuItems: C, onAddToCart: w, actionLabel: T, icon: E, color: D = "primary", leader: O, participants: k, maxParticipants: A, quantity: j, onQuantityChange: M, date: P, location: F, status: I, className: L, ...re }) {
234
- let [R, z] = H(0), [B, V] = H(!1), [ae, oe] = H(1), G = j ?? ae, K = h && h.length > 0 ? h : m ? [m] : [];
235
- ie(() => {
233
+ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN", duration: f, available: p, image: m, gallery: h, galleryAutoPlay: g = !1, rating: _, reviewCount: v, favorite: y, onFavorite: x, menuItems: C, onAddToCart: w, actionLabel: T, icon: E, color: D = "primary", leader: O, participants: k, maxParticipants: A, quantity: j, onQuantityChange: M, showQuantity: P = !0, date: F, location: I, status: L, className: re, ...ie }) {
234
+ let [R, z] = H(0), [B, V] = H(!1), [oe, ce] = H(1), G = j ?? oe, K = h && h.length > 0 ? h : m ? [m] : [];
235
+ ae(() => {
236
236
  R >= K.length && z(0);
237
- }, [R, K.length]), ie(() => {
237
+ }, [R, K.length]), ae(() => {
238
238
  if (!B) return;
239
239
  let e = window.setTimeout(() => {
240
240
  V(!1);
@@ -244,21 +244,21 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
244
244
  function q(e) {
245
245
  e === R || e < 0 || e >= K.length || (K.length > 1 && V(!0), z(e));
246
246
  }
247
- ie(() => {
247
+ ae(() => {
248
248
  if (!g || K.length <= 1) return;
249
249
  let e = window.setInterval(() => {
250
250
  V(!0), z((e) => (e + 1) % K.length);
251
251
  }, 3500);
252
252
  return () => window.clearInterval(e);
253
253
  }, [g, K.length]);
254
- function J(e) {
254
+ function le(e) {
255
255
  let t = Math.max(1, e);
256
- M ? M(t) : oe(t);
256
+ M ? M(t) : ce(t);
257
257
  }
258
- let ce = p === !0 ? "Available" : p === !1 ? "Unavailable" : typeof p == "number" ? `${p} spots` : null, Y = P ? P instanceof Date ? P : new Date(P) : null, le = Y ? Y.getDate() : null, ue = Y ? Y.toLocaleString("en", { month: "short" }).toUpperCase() : null;
258
+ let J = p === !0 ? "Available" : p === !1 ? "Unavailable" : typeof p == "number" ? `${p} spots` : null, Y = F ? F instanceof Date ? F : new Date(F) : null, ue = Y ? Y.getDate() : null, X = Y ? Y.toLocaleString("en", { month: "short" }).toUpperCase() : null;
259
259
  return /* @__PURE__ */ W("div", {
260
- className: d("card-service", e, `color-${D}`, L),
261
- ...re,
260
+ className: d("card-service", e, `color-${D}`, re),
261
+ ...ie,
262
262
  children: [
263
263
  K.length > 0 && /* @__PURE__ */ W("div", {
264
264
  className: "cs-gallery",
@@ -317,10 +317,10 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
317
317
  className: "cs-date-block",
318
318
  children: [/* @__PURE__ */ U("span", {
319
319
  className: "cs-date-day",
320
- children: le
320
+ children: ue
321
321
  }), /* @__PURE__ */ U("span", {
322
322
  className: "cs-date-month",
323
- children: ue
323
+ children: X
324
324
  })]
325
325
  }), /* @__PURE__ */ W("div", {
326
326
  className: "cs-event-info",
@@ -418,10 +418,10 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
418
418
  /* @__PURE__ */ W("div", {
419
419
  className: "cs-meta",
420
420
  children: [
421
- e === "event" && F && /* @__PURE__ */ U(S, {
421
+ e === "event" && I && /* @__PURE__ */ U(S, {
422
422
  size: "xs",
423
423
  color: D,
424
- children: F
424
+ children: I
425
425
  }),
426
426
  f && /* @__PURE__ */ U(S, {
427
427
  size: "xs",
@@ -429,15 +429,15 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
429
429
  icon: /* @__PURE__ */ U(n, {}),
430
430
  children: f
431
431
  }),
432
- e === "event" && I && /* @__PURE__ */ U(S, {
432
+ e === "event" && L && /* @__PURE__ */ U(S, {
433
433
  size: "xs",
434
- color: I.toLowerCase() === "sold out" ? "error" : D,
435
- children: I
434
+ color: L.toLowerCase() === "sold out" ? "error" : D,
435
+ children: L
436
436
  }),
437
- ce && e !== "event" && /* @__PURE__ */ U(S, {
437
+ J && e !== "event" && /* @__PURE__ */ U(S, {
438
438
  size: "xs",
439
439
  color: p === !1 ? "error" : D,
440
- children: ce
440
+ children: J
441
441
  })
442
442
  ]
443
443
  })
@@ -457,14 +457,14 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
457
457
  ]
458
458
  }), /* @__PURE__ */ W("div", {
459
459
  className: "cs-actions",
460
- children: [e === "product" && w && /* @__PURE__ */ W("div", {
460
+ children: [e === "product" && w && P && /* @__PURE__ */ W("div", {
461
461
  className: "cs-qty",
462
462
  children: [
463
463
  /* @__PURE__ */ U(b, {
464
464
  variant: "ghost",
465
465
  iconOnly: !0,
466
466
  size: "sm",
467
- onClick: () => J(G - 1),
467
+ onClick: () => le(G - 1),
468
468
  "aria-label": "Decrease",
469
469
  className: "cs-qty-btn",
470
470
  children: /* @__PURE__ */ U(r, {})
@@ -477,7 +477,7 @@ function X({ variant: e, title: t, description: i, price: c, currency: u = "PLN"
477
477
  variant: "ghost",
478
478
  iconOnly: !0,
479
479
  size: "sm",
480
- onClick: () => J(G + 1),
480
+ onClick: () => le(G + 1),
481
481
  "aria-label": "Increase",
482
482
  className: "cs-qty-btn",
483
483
  children: /* @__PURE__ */ U(o, {})
@@ -523,7 +523,7 @@ function fe(e) {
523
523
  //#region src/components/cards/MCardTile/MCardTile.tsx
524
524
  function Z({ component: e, title: t, description: n, icon: r, color: i = "primary", to: o, href: c, target: u, rel: f, onClick: p, interactive: h = !1, clickEffect: g, rippleColor: _, image: v, video: y, illustration: x, camera: S, mediaFill: C = !1, overlayPosition: w = "bottom", favorite: T, onFavorite: D, menuItems: O, className: k, ...A }) {
525
525
  let j = oe(null);
526
- ie(() => {
526
+ ae(() => {
527
527
  if (!S) return;
528
528
  let e = j.current;
529
529
  if (!e || typeof navigator > "u" || !navigator.mediaDevices?.getUserMedia) return;
@@ -545,18 +545,18 @@ function Z({ component: e, title: t, description: n, icon: r, color: i = "primar
545
545
  interactive: h,
546
546
  hasClickHandler: !!p,
547
547
  fallbackComponent: "button"
548
- }), L = C && M, { effectClassName: re, effectLayer: R, handlePointerDown: z } = m({
548
+ }), L = C && M, { effectClassName: re, effectLayer: ie, handlePointerDown: R } = m({
549
549
  effect: g ?? (F ? "ripple" : "none"),
550
550
  disabled: !F,
551
551
  color: _
552
552
  });
553
- function B(e) {
553
+ function z(e) {
554
554
  e.stopPropagation();
555
555
  }
556
- function V(e) {
556
+ function B(e) {
557
557
  p && (e.preventDefault(), p());
558
558
  }
559
- function ae() {
559
+ function V() {
560
560
  return M ? /* @__PURE__ */ W("div", {
561
561
  className: d("tile-media", L && "fill"),
562
562
  children: [
@@ -611,10 +611,10 @@ function Z({ component: e, title: t, description: n, icon: r, color: i = "primar
611
611
  let se = D || O && O.length > 0;
612
612
  return /* @__PURE__ */ W("div", {
613
613
  className: d("card-tile", `color-${i}`, L && "media-fill", F && "interactive", re, k),
614
- onPointerDown: z,
614
+ onPointerDown: R,
615
615
  ...A,
616
616
  children: [
617
- R,
617
+ ie,
618
618
  I && /* @__PURE__ */ U(N, {
619
619
  href: N === "a" || e ? ee : void 0,
620
620
  to: P,
@@ -622,7 +622,7 @@ function Z({ component: e, title: t, description: n, icon: r, color: i = "primar
622
622
  rel: f,
623
623
  className: "tile-link",
624
624
  "aria-label": t,
625
- onClick: p ? V : void 0
625
+ onClick: p ? B : void 0
626
626
  }),
627
627
  !I && p && /* @__PURE__ */ U(N, {
628
628
  type: "button",
@@ -630,12 +630,12 @@ function Z({ component: e, title: t, description: n, icon: r, color: i = "primar
630
630
  "aria-label": t,
631
631
  onClick: p
632
632
  }),
633
- ae(),
633
+ V(),
634
634
  H(),
635
635
  se && /* @__PURE__ */ W("div", {
636
636
  className: "tile-actions",
637
- onClick: B,
638
- onPointerDown: B,
637
+ onClick: z,
638
+ onPointerDown: z,
639
639
  children: [O && O.length > 0 && /* @__PURE__ */ U(te, {
640
640
  className: "tile-menu-wrap",
641
641
  trigger: /* @__PURE__ */ U(b, {
@@ -822,37 +822,37 @@ function xe(e, t) {
822
822
  return r;
823
823
  }
824
824
  function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1, searchKeys: s, searchPlaceholder: l = "Search...", search: u, onSearchChange: f, filterable: p = !1, filterKeys: m = [], filters: g, onFiltersChange: _, sortable: v = !1, sortKeys: y = [], defaultSort: S, sort: C, onSortChange: w, pagination: T = !1, pageSize: E = 12, page: D, onPageChange: O, total: k, manualSearch: A = !1, manualFilters: j = !1, manualSort: M = !1, manualPagination: N = !1, columns: ee = 3, emptyMessage: P = "No results found.", className: I, style: te, ...ne }) {
825
- let [re, z] = H(""), [B, ie] = H({}), [G, K] = H(S ?? null), [q, J] = H(1), [ce, Y] = H(!1), [le, ue] = H(!1), X = oe(null), de = oe(null), fe = u === void 0 ? re : u, Z = g === void 0 ? B : g, Q = C === void 0 ? G : C, pe = D === void 0 ? q : D, me = V((e) => {
826
- u === void 0 && z(e), !N && D === void 0 && J(1), f?.(e);
825
+ let [re, R] = H(""), [z, ae] = H({}), [ce, G] = H(S ?? null), [K, q] = H(1), [le, J] = H(!1), [Y, ue] = H(!1), X = oe(null), de = oe(null), fe = u === void 0 ? re : u, Z = g === void 0 ? z : g, Q = C === void 0 ? ce : C, pe = D === void 0 ? K : D, me = B((e) => {
826
+ u === void 0 && R(e), !N && D === void 0 && q(1), f?.(e);
827
827
  }, [
828
828
  u,
829
829
  D,
830
830
  N,
831
831
  f
832
- ]), he = V((e) => {
833
- g === void 0 && ie(e), !N && D === void 0 && J(1), _?.(e);
832
+ ]), he = B((e) => {
833
+ g === void 0 && ae(e), !N && D === void 0 && q(1), _?.(e);
834
834
  }, [
835
835
  g,
836
836
  D,
837
837
  N,
838
838
  _
839
- ]), ge = V((e) => {
840
- C === void 0 && K(e), !N && D === void 0 && J(1), w?.(e);
839
+ ]), ge = B((e) => {
840
+ C === void 0 && G(e), !N && D === void 0 && q(1), w?.(e);
841
841
  }, [
842
842
  C,
843
843
  D,
844
844
  N,
845
845
  w
846
- ]), _e = oe(null), ve = V((e) => {
847
- D === void 0 && J(e), O?.(e), _e.current?.scrollIntoView({
846
+ ]), _e = oe(null), ve = B((e) => {
847
+ D === void 0 && q(e), O?.(e), _e.current?.scrollIntoView({
848
848
  block: "start",
849
849
  behavior: "smooth"
850
850
  });
851
- }, [D, O]), ye = V(() => {
852
- Y((e) => !e), ue(!1);
853
- }, []), Se = V(() => {
854
- ue((e) => !e), Y(!1);
855
- }, []), $ = ae(() => {
851
+ }, [D, O]), ye = B(() => {
852
+ J((e) => !e), ue(!1);
853
+ }, []), Se = B(() => {
854
+ ue((e) => !e), J(!1);
855
+ }, []), $ = V(() => {
856
856
  let e = n;
857
857
  if (!A && fe && s && s.length > 0) {
858
858
  let t = fe.toLowerCase();
@@ -882,7 +882,7 @@ function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1,
882
882
  A,
883
883
  j,
884
884
  M
885
- ]), Ce = N ? k ?? $.length : $.length, we = ae(() => {
885
+ ]), Ce = N ? k ?? $.length : $.length, we = V(() => {
886
886
  if (!T || N) return $;
887
887
  let e = (pe - 1) * E;
888
888
  return $.slice(e, e + E);
@@ -900,7 +900,7 @@ function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1,
900
900
  [e]: r
901
901
  });
902
902
  }
903
- let Ee = ae(() => {
903
+ let Ee = V(() => {
904
904
  let e = {};
905
905
  for (let t of m) {
906
906
  if (t.options) {
@@ -940,13 +940,13 @@ function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1,
940
940
  color: a,
941
941
  size: "sm",
942
942
  startIcon: /* @__PURE__ */ U(e, {}),
943
- "aria-expanded": ce,
943
+ "aria-expanded": le,
944
944
  onClick: ye,
945
945
  children: "Filter"
946
946
  }), /* @__PURE__ */ U(h, {
947
- open: ce,
947
+ open: le,
948
948
  anchorRef: X,
949
- onClose: () => Y(!1),
949
+ onClose: () => J(!1),
950
950
  placement: "bottom-end",
951
951
  className: "card-grid-dropdown",
952
952
  children: m.map((e) => /* @__PURE__ */ W("div", {
@@ -971,11 +971,11 @@ function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1,
971
971
  color: a,
972
972
  size: "sm",
973
973
  startIcon: Q ? Q.direction === "asc" ? /* @__PURE__ */ U(i, {}) : /* @__PURE__ */ U(t, {}) : /* @__PURE__ */ U(c, {}),
974
- "aria-expanded": le,
974
+ "aria-expanded": Y,
975
975
  onClick: Se,
976
976
  children: De ? `Sort: ${De.label}` : "Sort"
977
977
  }), /* @__PURE__ */ U(h, {
978
- open: le,
978
+ open: Y,
979
979
  anchorRef: de,
980
980
  onClose: () => ue(!1),
981
981
  placement: "bottom-end",
@@ -1005,7 +1005,7 @@ function Se({ items: n, renderCard: r, color: a = "primary", searchable: o = !1,
1005
1005
  style: be(ee),
1006
1006
  children: we.map((e, t) => {
1007
1007
  let n = e?.id;
1008
- return /* @__PURE__ */ U(R, { children: r(e, t) }, n ?? t);
1008
+ return /* @__PURE__ */ U(ie, { children: r(e, t) }, n ?? t);
1009
1009
  })
1010
1010
  }) : /* @__PURE__ */ U("div", {
1011
1011
  className: "card-grid-empty",
@@ -1066,7 +1066,7 @@ function $({ title: e = "Today", description: t, color: n = "primary", workdaySt
1066
1066
  /* @__PURE__ */ U("div", {
1067
1067
  className: "day-schedule-card-dot",
1068
1068
  "data-color": e.color ?? n,
1069
- children: q(e.icon, e.color ?? n)
1069
+ children: K(e.icon, e.color ?? n)
1070
1070
  }),
1071
1071
  /* @__PURE__ */ W("div", {
1072
1072
  className: "day-schedule-card-copy",
@@ -1108,7 +1108,7 @@ function $({ title: e = "Today", description: t, color: n = "primary", workdaySt
1108
1108
  })
1109
1109
  })]
1110
1110
  }) }),
1111
- c && /* @__PURE__ */ U(k, { children: q(c, n) })
1111
+ c && /* @__PURE__ */ U(k, { children: K(c, n) })
1112
1112
  ]
1113
1113
  });
1114
1114
  }
@@ -1120,7 +1120,7 @@ function Ce({ title: e = "Documents", description: t, color: n = "primary", item
1120
1120
  }), primaryAction: y, ...x }) {
1121
1121
  let S = (e) => ({
1122
1122
  ...e,
1123
- icon: q(e.icon, n),
1123
+ icon: K(e.icon, n),
1124
1124
  children: e.children?.map(S)
1125
1125
  }), C = r.map(S);
1126
1126
  return /* @__PURE__ */ W(A, {
@@ -1137,7 +1137,7 @@ function Ce({ title: e = "Documents", description: t, color: n = "primary", item
1137
1137
  size: "sm",
1138
1138
  tone: "muted",
1139
1139
  children: t
1140
- })] }), q(y, n)]
1140
+ })] }), K(y, n)]
1141
1141
  }) }), /* @__PURE__ */ U(O, { children: /* @__PURE__ */ W(w, {
1142
1142
  type: "row",
1143
1143
  align: "start",
@@ -1185,7 +1185,7 @@ function Ce({ title: e = "Documents", description: t, color: n = "primary", item
1185
1185
  children: /* @__PURE__ */ U(a, {})
1186
1186
  }),
1187
1187
  children: p.map((e) => /* @__PURE__ */ U(ne, {
1188
- icon: q(e.icon, e.color ?? n),
1188
+ icon: K(e.icon, e.color ?? n),
1189
1189
  label: e.label,
1190
1190
  color: e.color ?? n,
1191
1191
  disabled: e.disabled,
@@ -1202,6 +1202,6 @@ function Ce({ title: e = "Documents", description: t, color: n = "primary", item
1202
1202
  });
1203
1203
  }
1204
1204
  //#endregion
1205
- export { ge as a, Z as c, ue as d, Y as f, ye as i, fe as l, $ as n, pe as o, J as p, Se as r, Q as s, Ce as t, de as u };
1205
+ export { ge as a, Z as c, ue as d, J as f, ye as i, fe as l, $ as n, pe as o, q as p, Se as r, Q as s, Ce as t, de as u };
1206
1206
 
1207
- //# sourceMappingURL=cards-23tpYjxc.js.map
1207
+ //# sourceMappingURL=cards-Ce380ncH.js.map