@krosoft/react 0.0.332 → 0.0.334

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.
@@ -24,22 +24,14 @@ function p({ actions: p, className: m }) {
24
24
  className: "min-w-48",
25
25
  children: p.map((t, i) => t ? t.children && t.children.length > 0 ? /* @__PURE__ */ u("div", { children: [i > 0 && /* @__PURE__ */ l(n, {}), t.children.map((t, n) => t ? /* @__PURE__ */ u(r, {
26
26
  onClick: () => {
27
- if (t.type === "submit") {
28
- f(t.form);
29
- return;
30
- }
31
- t.onClick?.();
27
+ t.type === "submit" ? f(t.form) : t.onClick?.();
32
28
  },
33
29
  disabled: t.disabled,
34
30
  className: e("gap-2", t.className),
35
31
  children: [t.icon && /* @__PURE__ */ l(t.icon, { className: "size-4" }), t.labelKey && h(t.labelKey)]
36
32
  }, n) : null)] }, i) : /* @__PURE__ */ u(r, {
37
33
  onClick: () => {
38
- if (t.type === "submit") {
39
- f(t.form);
40
- return;
41
- }
42
- t.onClick?.();
34
+ t.type === "submit" ? f(t.form) : t.onClick?.();
43
35
  },
44
36
  disabled: t.disabled,
45
37
  className: e("gap-2", t.className),
@@ -59,11 +51,7 @@ function p({ actions: p, className: m }) {
59
51
  align: "end",
60
52
  children: t.children.map((t, n) => t ? /* @__PURE__ */ u(r, {
61
53
  onClick: () => {
62
- if (t.type === "submit") {
63
- f(t.form);
64
- return;
65
- }
66
- t.onClick?.();
54
+ t.type === "submit" ? f(t.form) : t.onClick?.();
67
55
  },
68
56
  disabled: t.disabled,
69
57
  className: e("gap-2", t.className),
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./i18n-3KRQA34v.js";
2
- import { t } from "./AppActions-DPh6HcIc.js";
2
+ import { t } from "./AppActions-BWFad11G.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  //#region src/components/core/layouts/AppSubTitle.tsx
5
5
  function i({ titleKey: i, actions: a, className: o }) {
@@ -6,8 +6,8 @@ import { c as p } from "./tooltip-_geGvbS7.js";
6
6
  import { g as m } from "./sheet-0NJBIygH.js";
7
7
  import { i as h, l as g, n as ee, t as _, u as v } from "./select-KWMg2_7Z.js";
8
8
  import { n as y } from "./useToast-UeDRLovh.js";
9
- import { t as b } from "./ImageInput-BwSbiNlX.js";
10
- import { t as x } from "./AppSubTitle-CpWp6lKN.js";
9
+ import { t as b } from "./ImageInput-BPJ5AwiR.js";
10
+ import { t as x } from "./AppSubTitle-CwBthn29.js";
11
11
  import { t as S } from "./MultiSelect-CmIK-KEB.js";
12
12
  import { useEffect as C, useRef as w, useState as T } from "react";
13
13
  import { jsx as E, jsxs as D } from "react/jsx-runtime";
@@ -66,25 +66,24 @@ var j = (e) => {
66
66
  }
67
67
  }, te = async (e) => {
68
68
  if (!K) {
69
- if (Object.keys(X.formState.errors).length > 0) {
70
- G({
71
- title: W("form.validationTitle"),
72
- description: W("form.validationMessage"),
73
- variant: "destructive"
74
- });
75
- return;
76
- }
77
- q(!0);
78
- try {
79
- await Promise.resolve(L(e));
80
- } catch (e) {
81
- console.error("Error during form submission:", e), G({
82
- title: W("states.errorTitle"),
83
- description: W("form.submitError"),
84
- variant: "destructive"
85
- });
86
- } finally {
87
- q(!1);
69
+ if (Object.keys(X.formState.errors).length > 0) G({
70
+ title: W("form.validationTitle"),
71
+ description: W("form.validationMessage"),
72
+ variant: "destructive"
73
+ });
74
+ else {
75
+ q(!0);
76
+ try {
77
+ await Promise.resolve(L(e));
78
+ } catch (e) {
79
+ console.error("Error during form submission:", e), G({
80
+ title: W("states.errorTitle"),
81
+ description: W("form.submitError"),
82
+ variant: "destructive"
83
+ });
84
+ } finally {
85
+ q(!1);
86
+ }
88
87
  }
89
88
  }
90
89
  }, $ = (e, t) => {
@@ -9,15 +9,7 @@ import { ImageIcon as l, UploadIcon as u, XIcon as d } from "lucide-react";
9
9
  //#region src/components/core/inputs/ImageInput.tsx
10
10
  var f = i(({ value: i, onChange: f, accept: p = "image/jpeg,image/png,image/webp", maxSizeMB: m = 2, disabled: h = !1, className: g = "", hint: _ = "JPG, PNG, WEBP" }, v) => {
11
11
  let { t: y } = t(), { showError: b } = r(), x = a(null), [S, C] = o(!1), w = (e) => {
12
- if (!p.split(",").map((e) => e.trim()).includes(e.type)) {
13
- b(y("states.errorTitle"), y("image.invalidType", { types: _ }));
14
- return;
15
- }
16
- if (e.size > m * 1024 * 1024) {
17
- b(y("states.errorTitle"), y("image.tooLarge", { size: m }));
18
- return;
19
- }
20
- f(e);
12
+ p.split(",").map((e) => e.trim()).includes(e.type) ? e.size > m * 1024 * 1024 ? b(y("states.errorTitle"), y("image.tooLarge", { size: m })) : f(e) : b(y("states.errorTitle"), y("image.invalidType", { types: _ }));
21
13
  };
22
14
  return /* @__PURE__ */ s("div", {
23
15
  ref: v,
@@ -1,2 +1 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../cards-C3as3YSO.js";
2
- export { r as DashboardCard, e as KpiCard, t as KpiCards, i as MetricCard, n as SkeletonCard, a as SkeletonCards };
1
+ export { o as DashboardCard, a as KpiCard, i as KpiCards, r as MetricCard, n as SkeletonCard, t as SkeletonCards } from "../../../cards-C3as3YSO.js";
@@ -1,2 +1 @@
1
- import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "../../../charts-CC89IsVe.js";
2
- export { t as BarChartHorizontal, o as BarChartVertical, e as CHART_COLORS, n as ChartCard, a as CircularGauge, r as LineChart, s as PieChart, i as getChartColor };
1
+ export { c as BarChartHorizontal, s as BarChartVertical, a as CHART_COLORS, i as ChartCard, r as CircularGauge, n as LineChart, t as PieChart, o as getChartColor } from "../../../charts-CC89IsVe.js";
@@ -1,4 +1,4 @@
1
1
  import { I as e } from "../../../ui-DerGE_cz.js";
2
2
  import { A as t, D as n, E as r, F as i, M as a, N as o, O as s, P as c, j as l, k as u } from "../../../sheet-0NJBIygH.js";
3
- import { n as d, r as f, t as p } from "../../../dialogs-BkwuOyyd.js";
3
+ import { n as d, r as f, t as p } from "../../../dialogs-D83zcwAl.js";
4
4
  export { f as AppDialog, p as ConfirmationDialog, r as Dialog, n as DialogClose, s as DialogContent, u as DialogDescription, t as DialogFooter, l as DialogHeader, a as DialogOverlay, o as DialogPortal, c as DialogTitle, i as DialogTrigger, d as FormDialog, e as Progress };
@@ -609,11 +609,7 @@ function oe({ fields: t, operators: n, values: r, onChange: i, labelKey: a, max:
609
609
  let l = N(!1), u = (e) => {
610
610
  e === void 0 || r.some((t) => ae(t, e)) || i([...r, e]);
611
611
  }, d = (e, t) => {
612
- if (t === void 0) {
613
- l.current = !0, i(r.filter((t, n) => n !== e));
614
- return;
615
- }
616
- i(r.map((n, r) => r === e ? t : n));
612
+ t === void 0 ? (l.current = !0, i(r.filter((t, n) => n !== e))) : i(r.map((n, r) => r === e ? t : n));
617
613
  }, f = r.length === 0, p = () => {
618
614
  l.current = !1;
619
615
  };
@@ -1,2 +1 @@
1
- import { t as e } from "../../../GenericForm-CTYXe8AF.js";
2
- export { e as GenericForm };
1
+ export { t as GenericForm } from "../../../GenericForm-DgbyNtwm.js";
@@ -1,2 +1 @@
1
- import { n as e, t } from "../../../icons-n0m_1w7z.js";
2
- export { e as FlagFrIcon, t as FlagGbIcon };
1
+ export { n as FlagFrIcon, t as FlagGbIcon } from "../../../icons-n0m_1w7z.js";
@@ -3,17 +3,17 @@ import { I as o } from "../../ui-DerGE_cz.js";
3
3
  import { A as s, D as c, E as l, F as u, M as d, N as f, O as p, P as m, j as h, k as g } from "../../sheet-0NJBIygH.js";
4
4
  import { a as _, c as v, i as y, n as b, o as x, r as S, s as C, t as w } from "../../charts-CC89IsVe.js";
5
5
  import { t as T } from "../../ErrorAlert-D3C6XbWD.js";
6
- import { n as E, r as D, t as O } from "../../dialogs-BkwuOyyd.js";
7
- import { t as k } from "../../ImageInput-BwSbiNlX.js";
8
- import { t as A } from "../../AppActions-DPh6HcIc.js";
9
- import { t as j } from "../../AppSubTitle-CpWp6lKN.js";
6
+ import { n as E, r as D, t as O } from "../../dialogs-D83zcwAl.js";
7
+ import { t as k } from "../../ImageInput-BPJ5AwiR.js";
8
+ import { t as A } from "../../AppActions-BWFad11G.js";
9
+ import { t as j } from "../../AppSubTitle-CwBthn29.js";
10
10
  import { t as M } from "../../MultiSelect-CmIK-KEB.js";
11
- import { t as N } from "../../GenericForm-CTYXe8AF.js";
11
+ import { t as N } from "../../GenericForm-DgbyNtwm.js";
12
12
  import { i as P, n as F, r as I, t as L } from "../../SearchInput-Bqn-zWhm.js";
13
13
  import { ActiveFilters as R, AdvancedFilters as z, ConditionFilter as B, ConditionFilterGroup as V, FilterField as H, FilterPills as U, FilterPillsGroup as W, FiltersContainer as G, FiltersMobileDrawer as K, TableFilter as q } from "./filters/index.js";
14
14
  import "./forms/index.js";
15
15
  import { n as J, t as Y } from "../../icons-n0m_1w7z.js";
16
- import { n as X, t as Z } from "../../inputs-Cv9fjA5w.js";
16
+ import { n as X, t as Z } from "../../inputs-CkE_vmnL.js";
17
17
  import { t as Q } from "../../language-C1eieYDM.js";
18
18
  import { t as $ } from "../../AppTitle-BmC38bpm.js";
19
19
  import { n as ee, t as te } from "../../states-9YpSp3Na.js";
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../ImageInput-BwSbiNlX.js";
1
+ import { t as e } from "../../../ImageInput-BPJ5AwiR.js";
2
2
  import { t } from "../../../MultiSelect-CmIK-KEB.js";
3
3
  import { i as n, n as r, r as i, t as a } from "../../../SearchInput-Bqn-zWhm.js";
4
- import { n as o, t as s } from "../../../inputs-Cv9fjA5w.js";
4
+ import { n as o, t as s } from "../../../inputs-CkE_vmnL.js";
5
5
  export { n as DatePicker, i as DateRangePicker, o as FileDropzone, e as ImageInput, t as MultiSelect, s as RatingInput, a as SearchInput, r as SingleSelect };
@@ -1,2 +1 @@
1
- import { t as e } from "../../../language-C1eieYDM.js";
2
- export { e as LanguageSelector };
1
+ export { t as LanguageSelector } from "../../../language-C1eieYDM.js";
@@ -2,8 +2,8 @@ import { t as e } from "../../../i18n-3KRQA34v.js";
2
2
  import { i as t, t as n } from "../../../cards-C3as3YSO.js";
3
3
  import "../../../ui-DerGE_cz.js";
4
4
  import { c as r } from "../../../tooltip-_geGvbS7.js";
5
- import { t as i } from "../../../AppActions-DPh6HcIc.js";
6
- import { t as a } from "../../../AppSubTitle-CpWp6lKN.js";
5
+ import { t as i } from "../../../AppActions-BWFad11G.js";
6
+ import { t as a } from "../../../AppSubTitle-CwBthn29.js";
7
7
  import { t as o } from "../../../useDocumentTitle-Debw93h6.js";
8
8
  import { t as s } from "../../../AppTitle-BmC38bpm.js";
9
9
  import { n as c } from "../../../states-9YpSp3Na.js";
@@ -1,2 +1 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../navbar-Dx734K-w.js";
2
- export { r as GlobalSearch, e as NotificationsBell, i as Sidebar, n as SidebarHeader, t as SidebarNavItem, a as Topbar };
1
+ export { o as GlobalSearch, a as NotificationsBell, r as Sidebar, n as SidebarHeader, i as SidebarNavItem, t as Topbar } from "../../../navbar-Dx734K-w.js";
@@ -1 +1 @@
1
- {"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TablePagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7D,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAoCD,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,UAAU,GACX,EAAE,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAwF1C"}
1
+ {"version":3,"file":"TablePagination.d.ts","sourceRoot":"","sources":["../../../../src/components/core/table/TablePagination.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC1D,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,CAAC,CAAC;IAC7D,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;CACpB;AAoCD,wBAAgB,eAAe,CAAC,EAC9B,UAAU,EACV,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,WAAW,EACX,WAAW,EACX,cAAc,EACd,eAAe,EACf,UAAU,GACX,EAAE,oBAAoB,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAuF1C"}
@@ -110,11 +110,7 @@ function G({ isLoading: o, error: s, colSpanCount: c, messages: l, paginatedData
110
110
  let I = i(O[t], "body"), L = i(O[e], "body"), z = h && v.size > 0, B = (e) => {
111
111
  if (m === void 0 || m(e)) return p?.(e);
112
112
  }, V = (e, t, n) => {
113
- if (z) {
114
- y(e);
115
- return;
116
- }
117
- t === void 0 ? f?.(e, n) : n.ctrlKey || n.metaKey ? window.open(t, "_blank") : M(t);
113
+ z ? y(e) : t === void 0 ? f?.(e, n) : n.ctrlKey || n.metaKey ? window.open(t, "_blank") : M(t);
118
114
  };
119
115
  return /* @__PURE__ */ N("tbody", {
120
116
  className: "divide-y divide-border",
@@ -378,8 +374,7 @@ function oe({ totalItems: e, startIndex: t, endIndex: n, pageSize: r, setPageSiz
378
374
  children: Y
379
375
  }, `dots-${String(t)}`) : /* @__PURE__ */ N(b, {
380
376
  variant: e === o ? "default" : "ghost",
381
- size: "icon",
382
- className: "h-8 w-8 rounded-control text-sm",
377
+ className: "h-8 min-w-8 px-2 rounded-control text-sm tabular-nums",
383
378
  onClick: () => {
384
379
  s(e);
385
380
  },
@@ -4,7 +4,7 @@ import { t as i } from "../../../i18n-3KRQA34v.js";
4
4
  import { _ as a, g as o, h as s, m as c } from "../../../ui-DerGE_cz.js";
5
5
  import { d as l } from "../../../sheet-0NJBIygH.js";
6
6
  import { i as u, l as d, n as f, t as p, u as m } from "../../../select-KWMg2_7Z.js";
7
- import { t as h } from "../../../AppActions-DPh6HcIc.js";
7
+ import { t as h } from "../../../AppActions-BWFad11G.js";
8
8
  import { t as g } from "../../../AppTitle-BmC38bpm.js";
9
9
  import { useEffect as _, useRef as v } from "react";
10
10
  import { jsx as y, jsxs as b } from "react/jsx-runtime";
@@ -1,2 +1 @@
1
- import { t as e } from "../../../theme-DE_YkyN8.js";
2
- export { e as ThemeSelector };
1
+ export { t as ThemeSelector } from "../../../theme-DE_YkyN8.js";
@@ -8,16 +8,16 @@ import { a as ur, c as dr, i as fr, l as pr, n as mr, o as hr, r as gr, s as _r,
8
8
  import { t as br } from "../skeleton-D6Ga4BLw.js";
9
9
  import { a as xr, c as Sr, i as Cr, n as wr, o as Tr, r as Er, s as Dr, t as Or } from "../charts-CC89IsVe.js";
10
10
  import { t as kr } from "../ErrorAlert-D3C6XbWD.js";
11
- import { n as Ar, r as jr, t as Mr } from "../dialogs-BkwuOyyd.js";
12
- import { t as Nr } from "../ImageInput-BwSbiNlX.js";
13
- import { t as Pr } from "../AppActions-DPh6HcIc.js";
14
- import { t as Fr } from "../AppSubTitle-CpWp6lKN.js";
11
+ import { n as Ar, r as jr, t as Mr } from "../dialogs-D83zcwAl.js";
12
+ import { t as Nr } from "../ImageInput-BPJ5AwiR.js";
13
+ import { t as Pr } from "../AppActions-BWFad11G.js";
14
+ import { t as Fr } from "../AppSubTitle-CwBthn29.js";
15
15
  import { t as Ir } from "../MultiSelect-CmIK-KEB.js";
16
- import { t as Lr } from "../GenericForm-CTYXe8AF.js";
16
+ import { t as Lr } from "../GenericForm-DgbyNtwm.js";
17
17
  import { i as Rr, n as zr, r as Br, t as Vr } from "../SearchInput-Bqn-zWhm.js";
18
18
  import { ActiveFilters as Hr, AdvancedFilters as Ur, ConditionFilter as Wr, ConditionFilterGroup as Gr, FilterField as Kr, FilterPills as qr, FilterPillsGroup as Jr, FiltersContainer as Yr, FiltersMobileDrawer as Xr, TableFilter as Zr } from "./core/filters/index.js";
19
19
  import { n as Qr, t as $r } from "../icons-n0m_1w7z.js";
20
- import { n as ei, t as ti } from "../inputs-Cv9fjA5w.js";
20
+ import { n as ei, t as ti } from "../inputs-CkE_vmnL.js";
21
21
  import { t as ni } from "../language-C1eieYDM.js";
22
22
  import { t as ri } from "../AppTitle-BmC38bpm.js";
23
23
  import { n as ii, t as ai } from "../states-9YpSp3Na.js";
@@ -1,2 +1 @@
1
- import { n as e, t } from "../sidebar.context-BahtU6hE.js";
2
- export { e as PageContext, t as SidebarContext };
1
+ export { n as PageContext, t as SidebarContext } from "../sidebar.context-BahtU6hE.js";
@@ -4,7 +4,7 @@ import { Bn as n, Gn as r, Hn as i, I as a, Kn as o, Un as s, Wn as c, qn as l }
4
4
  import { c as u } from "./tooltip-_geGvbS7.js";
5
5
  import { E as d, O as f, P as p, j as m, k as h } from "./sheet-0NJBIygH.js";
6
6
  import { t as g } from "./ErrorAlert-D3C6XbWD.js";
7
- import { t as _ } from "./GenericForm-CTYXe8AF.js";
7
+ import { t as _ } from "./GenericForm-DgbyNtwm.js";
8
8
  import { useEffect as v, useId as y, useState as b } from "react";
9
9
  import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
10
10
  import { Pen as w, Save as T, X as E } from "lucide-react";
@@ -1,2 +1 @@
1
- import { a as e, c as t, d as n, f as r, h as i, i as a, l as o, m as s, n as c, o as l, p as u, r as d, s as f, t as p, u as m } from "../../behavior-COsb588c.js";
2
- export { p as URL_DATE_FORMAT, c as parseDateRange, d as serializeDateRange, u as useConfirmDeleteDialog, s as useConfirmationDialog, r as useDebounce, n as useDebouncedValue, i as useDialog, m as usePage, o as useSidebar, t as useTable, a as useUrlArrayState, e as useUrlDateRangeState, l as useUrlNumberState, f as useUrlState };
1
+ export { t as URL_DATE_FORMAT, n as parseDateRange, r as serializeDateRange, p as useConfirmDeleteDialog, m as useConfirmationDialog, f as useDebounce, d as useDebouncedValue, h as useDialog, u as usePage, l as useSidebar, c as useTable, i as useUrlArrayState, a as useUrlDateRangeState, o as useUrlNumberState, s as useUrlState } from "../../behavior-COsb588c.js";
@@ -1,2 +1 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../i18n-3KRQA34v.js";
2
- export { t as KROSOFT_NAMESPACE, n as dateFnsLocale, e as krosoftLocales, r as registerKrosoftLocales, i as useDateFnsLocale, a as useKrosoftTranslation };
1
+ export { i as KROSOFT_NAMESPACE, n as dateFnsLocale, a as krosoftLocales, o as registerKrosoftLocales, r as useDateFnsLocale, t as useKrosoftTranslation } from "../i18n-3KRQA34v.js";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { t } from "./i18n-3KRQA34v.js";
3
- import "./ImageInput-BwSbiNlX.js";
3
+ import "./ImageInput-BPJ5AwiR.js";
4
4
  import "./MultiSelect-CmIK-KEB.js";
5
5
  import "./SearchInput-Bqn-zWhm.js";
6
6
  import { useRef as n, useState as r } from "react";
@@ -1,6 +1,6 @@
1
1
  import e from "tailwindcss-animate";
2
2
  //#region \0rolldown/runtime.js
3
- var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, t, a, s) => {
3
+ var t = Object.create, n = Object.defineProperty, r = Object.getOwnPropertyDescriptor, i = Object.getOwnPropertyNames, a = Object.getPrototypeOf, o = Object.prototype.hasOwnProperty, s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), c = (e, t, a, s) => {
4
4
  if (t && typeof t == "object" || typeof t == "function") for (var c = i(t), l = 0, u = c.length, d; l < u; l++) d = c[l], !o.call(e, d) && d !== a && n(e, d, {
5
5
  get: ((e) => t[e]).bind(null, d),
6
6
  enumerable: !(s = r(t, d)) || s.enumerable
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.332",
3
+ "version": "0.0.334",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {
@@ -127,7 +127,7 @@
127
127
  "tailwindcss": "^3.4.19",
128
128
  "tsc-alias": "^1.9.4",
129
129
  "typescript": "^5.9.3",
130
- "vite": "^8.3.4",
130
+ "vite": "^8.3.5",
131
131
  "vite-plugin-pwa": "^1.3.0",
132
132
  "vitest": "^4.1.12"
133
133
  }