@krosoft/react 0.0.281 → 0.0.283

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.
Files changed (53) hide show
  1. package/dist/{AppActions-C__ql0Go.js → AppActions-CpbkO_3O.js} +2 -2
  2. package/dist/{AppSubTitle-BPX9J70e.js → AppSubTitle-BOVTZlUB.js} +2 -2
  3. package/dist/{AppTitle-B1wOSQGM.js → AppTitle-BZ5jQWbs.js} +1 -1
  4. package/dist/{ErrorAlert-BiyjpXW1.js → ErrorAlert-L2s8Dd1_.js} +1 -1
  5. package/dist/{GenericForm-CbJ_1VQw.js → GenericForm-B57ip3Zn.js} +6 -6
  6. package/dist/{ImageInput-BMnmSy08.js → ImageInput-BPNEywyf.js} +2 -2
  7. package/dist/{MultiSelect-DNFrCrvA.js → MultiSelect-inNRlftX.js} +2 -2
  8. package/dist/{SearchInput-DnOuBUrU.js → SearchInput-BSIjKB_9.js} +4 -3
  9. package/dist/{behavior-DeOud61U.js → behavior-CFsFoY50.js} +1 -1
  10. package/dist/{cards-NnO8qd1J.js → cards-BBgGXmYa.js} +2 -2
  11. package/dist/{charts-CavpyGbG.js → charts-C7MWuqi9.js} +1 -1
  12. package/dist/components/core/cards/index.js +1 -1
  13. package/dist/components/core/charts/index.js +1 -1
  14. package/dist/components/core/dialogs/index.js +3 -3
  15. package/dist/components/core/filters/index.js +5 -5
  16. package/dist/components/core/forms/index.js +1 -1
  17. package/dist/components/core/index.js +18 -18
  18. package/dist/components/core/inputs/DateRangePicker.d.ts.map +1 -1
  19. package/dist/components/core/inputs/index.js +4 -4
  20. package/dist/components/core/language/index.js +1 -1
  21. package/dist/components/core/layouts/index.js +8 -8
  22. package/dist/components/core/navbar/index.js +1 -1
  23. package/dist/components/core/states/index.js +2 -2
  24. package/dist/components/core/table/index.js +2 -2
  25. package/dist/components/core/tabs/AppTabs.d.ts +2 -1
  26. package/dist/components/core/tabs/AppTabs.d.ts.map +1 -1
  27. package/dist/components/core/tabs/index.js +16 -16
  28. package/dist/components/core/theme/index.js +1 -1
  29. package/dist/components/index.js +18 -18
  30. package/dist/components/ui/index.js +2 -2
  31. package/dist/{dialogs-Bg0BcgT5.js → dialogs-qiw8m0uw.js} +5 -5
  32. package/dist/hooks/behavior/index.js +1 -1
  33. package/dist/hooks/index.js +5 -5
  34. package/dist/hooks/ui/index.js +4 -4
  35. package/dist/i18n/index.js +1 -1
  36. package/dist/i18n/krosoftLocales.d.ts +10 -0
  37. package/dist/i18n/krosoftLocales.d.ts.map +1 -1
  38. package/dist/{i18n-DSZAo18R.js → i18n-d2p0RJo9.js} +10 -0
  39. package/dist/{inputs-B7Nw-KF8.js → inputs-8zGFhNHq.js} +3 -3
  40. package/dist/{language-wGKLt6oh.js → language-DOGOdjzx.js} +2 -2
  41. package/dist/{navbar-Dv4ymBap.js → navbar-CcvEckue.js} +3 -3
  42. package/dist/pwa/PwaUpdater.d.ts +4 -2
  43. package/dist/pwa/PwaUpdater.d.ts.map +1 -1
  44. package/dist/pwa/index.js +1 -1
  45. package/dist/{sheet-jBnWnMqF.js → sheet-DQTOen4V.js} +1 -1
  46. package/dist/{states-DGjgfPuG.js → states-BQK9jqS4.js} +2 -2
  47. package/dist/{theme-DedDA2ib.js → theme-q2uzluEd.js} +2 -2
  48. package/dist/{ui-BS0wN_hk.js → ui-D8Pg34YW.js} +1 -1
  49. package/dist/{ui-BfGGZ1gy.js → ui-d1qh5cWB.js} +3 -3
  50. package/dist/{useDocumentTitle-DncN-eAg.js → useDocumentTitle-FqaDq5xD.js} +1 -1
  51. package/dist/{useLanguage-zEDzcT3_.js → useLanguage-BVUtoDnh.js} +1 -1
  52. package/dist/{useTheme-C1MiTFa9.js → useTheme-CNx4iolb.js} +1 -1
  53. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DSZAo18R.js";
3
- import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-BS0wN_hk.js";
2
+ import { t } from "./i18n-d2p0RJo9.js";
3
+ import { Bt as n, Ft as r, Gt as i, Nt as a, jt as o } from "./ui-D8Pg34YW.js";
4
4
  import { s } from "./tooltip-BmZ9Bfou.js";
5
5
  import { t as c } from "./useMobile-pTQ8lWvt.js";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
2
- import { t } from "./AppActions-C__ql0Go.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
+ import { t } from "./AppActions-CpbkO_3O.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 }) {
@@ -1,5 +1,5 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DSZAo18R.js";
2
+ import { t } from "./i18n-d2p0RJo9.js";
3
3
  import { jsx as n, jsxs as r } from "react/jsx-runtime";
4
4
  //#region src/components/core/layouts/AppTitle.tsx
5
5
  function i({ titleKey: i, descriptionKey: a, isSubTitle: o }) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { n as t, t as n } from "./alert-REQGK9bR.js";
3
3
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
4
4
  import { AlertTriangle as a } from "lucide-react";
@@ -1,14 +1,14 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { c as t, d as n, s as r } from "./chart-Dq3AIrue.js";
3
- import { t as i } from "./i18n-DSZAo18R.js";
4
- import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-BS0wN_hk.js";
3
+ import { t as i } from "./i18n-d2p0RJo9.js";
4
+ import { Ct as a, Dt as o, Et as s, Ot as c, St as l, Tt as u, bn as d, p as f } from "./ui-D8Pg34YW.js";
5
5
  import { s as p } from "./tooltip-BmZ9Bfou.js";
6
- import { g as m } from "./sheet-jBnWnMqF.js";
6
+ import { g as m } from "./sheet-DQTOen4V.js";
7
7
  import { i as h, l as g, n as _, t as v, u as y } from "./select-DmLScQKX.js";
8
8
  import { n as b } from "./useToast-UeDRLovh.js";
9
- import { t as x } from "./ImageInput-BMnmSy08.js";
10
- import { t as S } from "./AppSubTitle-BPX9J70e.js";
11
- import { t as C } from "./MultiSelect-DNFrCrvA.js";
9
+ import { t as x } from "./ImageInput-BPNEywyf.js";
10
+ import { t as S } from "./AppSubTitle-BOVTZlUB.js";
11
+ import { t as C } from "./MultiSelect-inNRlftX.js";
12
12
  import { useState as w } from "react";
13
13
  import { jsx as T, jsxs as E } from "react/jsx-runtime";
14
14
  import { useForm as D } from "react-hook-form";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DSZAo18R.js";
3
- import "./ui-BS0wN_hk.js";
2
+ import { t } from "./i18n-d2p0RJo9.js";
3
+ import "./ui-D8Pg34YW.js";
4
4
  import { s as n } from "./tooltip-BmZ9Bfou.js";
5
5
  import { t as r } from "./useNotifications-CyhTruIG.js";
6
6
  import { forwardRef as i, useRef as a } from "react";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DSZAo18R.js";
3
- import { bn as n } from "./ui-BS0wN_hk.js";
2
+ import { t } from "./i18n-d2p0RJo9.js";
3
+ import { bn as n } from "./ui-D8Pg34YW.js";
4
4
  import { o as r } from "./tooltip-BmZ9Bfou.js";
5
5
  import { useEffect as i, useMemo as a, useRef as o, useState as s } from "react";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { r as t, t as n } from "./i18n-DSZAo18R.js";
3
- import { En as r } from "./ui-BS0wN_hk.js";
2
+ import { r as t, t as n } from "./i18n-d2p0RJo9.js";
3
+ import { En as r } from "./ui-D8Pg34YW.js";
4
4
  import { o as i, s as a } from "./tooltip-BmZ9Bfou.js";
5
- import { C as o, S as s, _ as c, b as l, g as u, h as d, m as f, p, x as m, y as h } from "./sheet-jBnWnMqF.js";
5
+ import { C as o, S as s, _ as c, b as l, g as u, h as d, m as f, p, x as m, y as h } from "./sheet-DQTOen4V.js";
6
6
  import * as g from "react";
7
7
  import { useEffect as _, useMemo as v, useRef as y, useState as b } from "react";
8
8
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
@@ -84,6 +84,7 @@ var A = ({ date: n, onDateChange: i, placeholder: o }) => {
84
84
  sideOffset: 4,
85
85
  children: [/* @__PURE__ */ x(r, {
86
86
  mode: "range",
87
+ resetOnSelect: !0,
87
88
  defaultMonth: _?.from,
88
89
  selected: _,
89
90
  onSelect: v,
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { n as t, t as n } from "./sidebar.context-BahtU6hE.js";
3
3
  import * as r from "react";
4
4
  import { useCallback as i, useContext as a, useState as o } from "react";
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { c as t, d as n, f as r, s as i } from "./chart-Dq3AIrue.js";
3
- import { t as a } from "./i18n-DSZAo18R.js";
4
- import "./ui-BS0wN_hk.js";
3
+ import { t as a } from "./i18n-d2p0RJo9.js";
4
+ import "./ui-D8Pg34YW.js";
5
5
  import { t as o } from "./skeleton-D6Ga4BLw.js";
6
6
  import "react";
7
7
  import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import { a as t, c as n, d as r, f as i, l as a, n as o, o as s, r as c, s as l, t as u } from "./chart-Dq3AIrue.js";
3
- import { t as d } from "./i18n-DSZAo18R.js";
3
+ import { t as d } from "./i18n-d2p0RJo9.js";
4
4
  import { t as f } from "./skeleton-D6Ga4BLw.js";
5
5
  import { t as p } from "./useMobile-pTQ8lWvt.js";
6
6
  import * as m from "react";
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../cards-NnO8qd1J.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../../cards-BBgGXmYa.js";
2
2
  export { r as DashboardCard, e as KpiCard, t as KpiCards, i as MetricCard, n as SkeletonCard, a as SkeletonCards };
@@ -1,2 +1,2 @@
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-CavpyGbG.js";
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-C7MWuqi9.js";
2
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,4 +1,4 @@
1
- import { I as e } from "../../../ui-BS0wN_hk.js";
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-jBnWnMqF.js";
3
- import { n as d, r as f, t as p } from "../../../dialogs-Bg0BcgT5.js";
1
+ import { I as e } from "../../../ui-D8Pg34YW.js";
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-DQTOen4V.js";
3
+ import { n as d, r as f, t as p } from "../../../dialogs-qiw8m0uw.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 };
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
2
- import { t } from "../../../i18n-DSZAo18R.js";
3
- import { At as n, Pn as r, bn as i } from "../../../ui-BS0wN_hk.js";
2
+ import { t } from "../../../i18n-d2p0RJo9.js";
3
+ import { At as n, Pn as r, bn as i } from "../../../ui-D8Pg34YW.js";
4
4
  import { a, s as o } from "../../../tooltip-BmZ9Bfou.js";
5
- import { a as s, g as c, h as l, l as u, m as d, o as f, p, r as m, t as h, u as g } from "../../../sheet-jBnWnMqF.js";
5
+ import { a as s, g as c, h as l, l as u, m as d, o as f, p, r as m, t as h, u as g } from "../../../sheet-DQTOen4V.js";
6
6
  import { i as _, l as v, n as y, t as b, u as x } from "../../../select-DmLScQKX.js";
7
- import { t as S } from "../../../MultiSelect-DNFrCrvA.js";
8
- import { i as C, n as w, r as T, t as E } from "../../../SearchInput-DnOuBUrU.js";
7
+ import { t as S } from "../../../MultiSelect-inNRlftX.js";
8
+ import { i as C, n as w, r as T, t as E } from "../../../SearchInput-BSIjKB_9.js";
9
9
  import { useEffect as D, useMemo as O, useState as k } from "react";
10
10
  import { jsx as A, jsxs as j } from "react/jsx-runtime";
11
11
  import { getLocale as M } from "@krosoft/core/helpers";
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../GenericForm-CbJ_1VQw.js";
1
+ import { t as e } from "../../../GenericForm-B57ip3Zn.js";
2
2
  export { e as GenericForm };
@@ -1,24 +1,24 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-NnO8qd1J.js";
2
- import { I as o } from "../../ui-BS0wN_hk.js";
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-jBnWnMqF.js";
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-CavpyGbG.js";
5
- import { n as T, r as E, t as D } from "../../dialogs-Bg0BcgT5.js";
6
- import { t as O } from "../../ImageInput-BMnmSy08.js";
7
- import { t as k } from "../../AppActions-C__ql0Go.js";
8
- import { t as A } from "../../AppSubTitle-BPX9J70e.js";
9
- import { t as j } from "../../MultiSelect-DNFrCrvA.js";
10
- import { t as M } from "../../GenericForm-CbJ_1VQw.js";
11
- import { t as N } from "../../ErrorAlert-BiyjpXW1.js";
12
- import { i as P, n as F, r as I, t as L } from "../../SearchInput-DnOuBUrU.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../cards-BBgGXmYa.js";
2
+ import { I as o } from "../../ui-D8Pg34YW.js";
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-DQTOen4V.js";
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-C7MWuqi9.js";
5
+ import { n as T, r as E, t as D } from "../../dialogs-qiw8m0uw.js";
6
+ import { t as O } from "../../ImageInput-BPNEywyf.js";
7
+ import { t as k } from "../../AppActions-CpbkO_3O.js";
8
+ import { t as A } from "../../AppSubTitle-BOVTZlUB.js";
9
+ import { t as j } from "../../MultiSelect-inNRlftX.js";
10
+ import { t as M } from "../../GenericForm-B57ip3Zn.js";
11
+ import { t as N } from "../../ErrorAlert-L2s8Dd1_.js";
12
+ import { i as P, n as F, r as I, t as L } from "../../SearchInput-BSIjKB_9.js";
13
13
  import { ActiveFilters as R, AdvancedFilters as z, FilterField as B, FilterPills as V, FilterPillsGroup as H, SearchableFilterPill as U, TableFilter as W } from "./filters/index.js";
14
14
  import "./forms/index.js";
15
- import { t as G } from "../../inputs-B7Nw-KF8.js";
16
- import { t as K } from "../../language-wGKLt6oh.js";
17
- import { t as q } from "../../AppTitle-B1wOSQGM.js";
18
- import { n as J, t as Y } from "../../states-DGjgfPuG.js";
15
+ import { t as G } from "../../inputs-8zGFhNHq.js";
16
+ import { t as K } from "../../language-DOGOdjzx.js";
17
+ import { t as q } from "../../AppTitle-BZ5jQWbs.js";
18
+ import { n as J, t as Y } from "../../states-BQK9jqS4.js";
19
19
  import { AppPageHeader as X, KpiCardsLayout as Z } from "./layouts/index.js";
20
- import { a as Q, i as $, n as ee, o as te, r as ne, t as re } from "../../navbar-Dv4ymBap.js";
20
+ import { a as Q, i as $, n as ee, o as te, r as ne, t as re } from "../../navbar-CcvEckue.js";
21
21
  import { DataTable as ie, JsonTableOutput as ae, TableActions as oe, TableBody as se, TableBulkActions as ce, TableHeader as le, TablePagination as ue, TableSettings as de } from "./table/index.js";
22
22
  import { AppTabContainer as fe, AppTabHeader as pe, AppTabs as me, AppVerticalTabs as he } from "./tabs/index.js";
23
- import { t as ge } from "../../theme-DedDA2ib.js";
23
+ import { t as ge } from "../../theme-q2uzluEd.js";
24
24
  export { R as ActiveFilters, z as AdvancedFilters, k as AppActions, E as AppDialog, X as AppPageHeader, A as AppSubTitle, fe as AppTabContainer, pe as AppTabHeader, me as AppTabs, q as AppTitle, he as AppVerticalTabs, v as BarChartHorizontal, C as BarChartVertical, _ as CHART_COLORS, y as ChartCard, S as CircularGauge, D as ConfirmationDialog, r as DashboardCard, ie as DataTable, P as DatePicker, I as DateRangePicker, l as Dialog, c as DialogClose, p as DialogContent, g as DialogDescription, s as DialogFooter, h as DialogHeader, d as DialogOverlay, f as DialogPortal, m as DialogTitle, u as DialogTrigger, N as ErrorAlert, J as ErrorState, B as FilterField, V as FilterPills, H as FilterPillsGroup, T as FormDialog, M as GenericForm, te as GlobalSearch, O as ImageInput, ae as JsonTableOutput, e as KpiCard, t as KpiCards, Z as KpiCardsLayout, K as LanguageSelector, b as LineChart, Y as LoadingState, i as MetricCard, j as MultiSelect, Q as NotificationsBell, w as PieChart, o as Progress, G as RatingInput, L as SearchInput, U as SearchableFilterPill, F as SearchableSelect, ne as Sidebar, ee as SidebarHeader, $ as SidebarNavItem, n as SkeletonCard, a as SkeletonCards, oe as TableActions, se as TableBody, ce as TableBulkActions, W as TableFilter, le as TableHeader, ue as TablePagination, de as TableSettings, ge as ThemeSelector, re as Topbar, x as getChartColor };
@@ -1 +1 @@
1
- {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/DateRangePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,eAAO,MAAM,eAAe,GAAI,6CAA6C,oBAAoB,sBA0FhG,CAAC"}
1
+ {"version":3,"file":"DateRangePicker.d.ts","sourceRoot":"","sources":["../../../../src/components/core/inputs/DateRangePicker.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAGxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B,UAAU,oBAAoB;IAC5B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,QAAQ,EAAE,CAAC,KAAK,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAKD,eAAO,MAAM,eAAe,GAAI,6CAA6C,oBAAoB,sBA2FhG,CAAC"}
@@ -1,5 +1,5 @@
1
- import { t as e } from "../../../ImageInput-BMnmSy08.js";
2
- import { t } from "../../../MultiSelect-DNFrCrvA.js";
3
- import { i as n, n as r, r as i, t as a } from "../../../SearchInput-DnOuBUrU.js";
4
- import { t as o } from "../../../inputs-B7Nw-KF8.js";
1
+ import { t as e } from "../../../ImageInput-BPNEywyf.js";
2
+ import { t } from "../../../MultiSelect-inNRlftX.js";
3
+ import { i as n, n as r, r as i, t as a } from "../../../SearchInput-BSIjKB_9.js";
4
+ import { t as o } from "../../../inputs-8zGFhNHq.js";
5
5
  export { n as DatePicker, i as DateRangePicker, e as ImageInput, t as MultiSelect, o as RatingInput, a as SearchInput, r as SearchableSelect };
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../language-wGKLt6oh.js";
1
+ import { t as e } from "../../../language-DOGOdjzx.js";
2
2
  export { e as LanguageSelector };
@@ -1,12 +1,12 @@
1
- import { t as e } from "../../../i18n-DSZAo18R.js";
2
- import { i as t, t as n } from "../../../cards-NnO8qd1J.js";
3
- import "../../../ui-BS0wN_hk.js";
1
+ import { t as e } from "../../../i18n-d2p0RJo9.js";
2
+ import { i as t, t as n } from "../../../cards-BBgGXmYa.js";
3
+ import "../../../ui-D8Pg34YW.js";
4
4
  import { s as r } from "../../../tooltip-BmZ9Bfou.js";
5
- import { t as i } from "../../../AppActions-C__ql0Go.js";
6
- import { t as a } from "../../../AppSubTitle-BPX9J70e.js";
7
- import { t as o } from "../../../AppTitle-B1wOSQGM.js";
8
- import { t as s } from "../../../useDocumentTitle-DncN-eAg.js";
9
- import { n as c } from "../../../states-DGjgfPuG.js";
5
+ import { t as i } from "../../../AppActions-CpbkO_3O.js";
6
+ import { t as a } from "../../../AppSubTitle-BOVTZlUB.js";
7
+ import { t as o } from "../../../AppTitle-BZ5jQWbs.js";
8
+ import { t as s } from "../../../useDocumentTitle-FqaDq5xD.js";
9
+ import { n as c } from "../../../states-BQK9jqS4.js";
10
10
  import "react";
11
11
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
12
12
  import { ArrowLeftIcon as d } from "lucide-react";
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../../../navbar-Dv4ymBap.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../../../navbar-CcvEckue.js";
2
2
  export { r as GlobalSearch, e as NotificationsBell, i as Sidebar, n as SidebarHeader, t as SidebarNavItem, a as Topbar };
@@ -1,3 +1,3 @@
1
- import { t as e } from "../../../ErrorAlert-BiyjpXW1.js";
2
- import { n as t, t as n } from "../../../states-DGjgfPuG.js";
1
+ import { t as e } from "../../../ErrorAlert-L2s8Dd1_.js";
2
+ import { n as t, t as n } from "../../../states-BQK9jqS4.js";
3
3
  export { e as ErrorAlert, t as ErrorState, n as LoadingState };
@@ -1,6 +1,6 @@
1
1
  import { ACTIONS_COLUMN_KEY as e, SELECTION_COLUMN_KEY as t, getAlignmentClass as n, getColumnAlignment as r, getFixedCellProps as i } from "../../../helpers/index.js";
2
- import { t as a } from "../../../i18n-DSZAo18R.js";
3
- import { At as o, C as s, D as c, Ft as l, Gt as u, Mt as d, Nt as f, O as p, S as m, T as h, bn as g, jt as _, k as v, v as y } from "../../../ui-BS0wN_hk.js";
2
+ import { t as a } from "../../../i18n-d2p0RJo9.js";
3
+ import { At as o, C as s, D as c, Ft as l, Gt as u, Mt as d, Nt as f, O as p, S as m, T as h, bn as g, jt as _, k as v, v as y } from "../../../ui-D8Pg34YW.js";
4
4
  import { s as b } from "../../../tooltip-BmZ9Bfou.js";
5
5
  import { i as x, l as S, n as C, t as w, u as T } from "../../../select-DmLScQKX.js";
6
6
  import { n as E, t as D } from "../../../useFixedColumns-DPVEdA6b.js";
@@ -4,6 +4,7 @@ export interface AppTabsProps<T = unknown> {
4
4
  itemId?: string | null;
5
5
  item?: T | null;
6
6
  fit?: boolean;
7
+ paramName?: string;
7
8
  }
8
- export declare function AppTabs({ tabs, itemId, item, fit }: AppTabsProps): React.JSX.Element;
9
+ export declare function AppTabs({ tabs, itemId, item, fit, paramName }: AppTabsProps): React.JSX.Element;
9
10
  //# sourceMappingURL=AppTabs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AppTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/core/tabs/AppTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAMnD,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO;IACvC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,EAAE,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CA8CpF"}
1
+ {"version":3,"file":"AppTabs.d.ts","sourceRoot":"","sources":["../../../../src/components/core/tabs/AppTabs.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAMnD,MAAM,WAAW,YAAY,CAAC,CAAC,GAAG,OAAO;IACvC,IAAI,EAAE,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;IAChB,GAAG,CAAC,EAAE,OAAO,CAAC;IAId,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,EAAE,SAAiB,EAAE,EAAE,YAAY,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAgDvG"}
@@ -1,11 +1,11 @@
1
1
  import { t as e } from "../../../tailwind.helper-CJaRYBmL.js";
2
2
  import { c as t, d as n, s as r } from "../../../chart-Dq3AIrue.js";
3
- import { t as i } from "../../../i18n-DSZAo18R.js";
4
- import { _ as a, g as o, h as s, m as c } from "../../../ui-BS0wN_hk.js";
5
- import { d as l } from "../../../sheet-jBnWnMqF.js";
3
+ import { t as i } from "../../../i18n-d2p0RJo9.js";
4
+ import { _ as a, g as o, h as s, m as c } from "../../../ui-D8Pg34YW.js";
5
+ import { d as l } from "../../../sheet-DQTOen4V.js";
6
6
  import { i as u, l as d, n as f, t as p, u as m } from "../../../select-DmLScQKX.js";
7
- import { t as h } from "../../../AppActions-C__ql0Go.js";
8
- import { t as g } from "../../../AppTitle-B1wOSQGM.js";
7
+ import { t as h } from "../../../AppActions-CpbkO_3O.js";
8
+ import { t as g } from "../../../AppTitle-BZ5jQWbs.js";
9
9
  import { useEffect as _, useRef as v } from "react";
10
10
  import { jsx as y, jsxs as b } from "react/jsx-runtime";
11
11
  import { ConstructionIcon as x } from "lucide-react";
@@ -39,22 +39,22 @@ function w({ titleKey: e, descriptionKey: i, actions: a = [], className: o, chil
39
39
  }
40
40
  //#endregion
41
41
  //#region src/components/core/tabs/AppTabs.tsx
42
- function T({ tabs: t, itemId: n, item: r, fit: l }) {
43
- let { t: u } = i(), [d, f] = S(), p = d.get("tab"), m = t.find((e) => e.value === p)?.value ?? t[0]?.value, h = (e) => {
44
- let t = new URLSearchParams();
45
- t.set("tab", e), f(t);
46
- }, g = v(null);
42
+ function T({ tabs: t, itemId: n, item: r, fit: l, paramName: u = "tab" }) {
43
+ let { t: d } = i(), [f, p] = S(), m = f.get(u), h = t.find((e) => e.value === m)?.value ?? t[0]?.value, g = (e) => {
44
+ let t = new URLSearchParams(f);
45
+ t.set(u, e), p(t);
46
+ }, x = v(null);
47
47
  return _(() => {
48
- (g.current?.querySelector("[data-state=\"active\"]"))?.scrollIntoView?.({
48
+ (x.current?.querySelector("[data-state=\"active\"]"))?.scrollIntoView?.({
49
49
  behavior: "smooth",
50
50
  block: "nearest",
51
51
  inline: "nearest"
52
52
  });
53
- }, [m]), /* @__PURE__ */ b(c, {
54
- value: m,
55
- onValueChange: h,
53
+ }, [h]), /* @__PURE__ */ b(c, {
54
+ value: h,
55
+ onValueChange: g,
56
56
  children: [/* @__PURE__ */ y(o, {
57
- ref: g,
57
+ ref: x,
58
58
  className: e("w-full justify-start", l && "sm:w-fit"),
59
59
  children: t.map((e) => /* @__PURE__ */ b(a, {
60
60
  value: e.value,
@@ -67,7 +67,7 @@ function T({ tabs: t, itemId: n, item: r, fit: l }) {
67
67
  }) : null,
68
68
  /* @__PURE__ */ y("span", {
69
69
  className: "text-xs sm:text-sm",
70
- children: u(e.titleKey) ?? ""
70
+ children: d(e.titleKey) ?? ""
71
71
  }),
72
72
  e.count ? /* @__PURE__ */ b("span", {
73
73
  className: "text-gray-500 text-xs",
@@ -1,2 +1,2 @@
1
- import { t as e } from "../../../theme-DedDA2ib.js";
1
+ import { t as e } from "../../../theme-q2uzluEd.js";
2
2
  export { e as ThemeSelector };
@@ -1,29 +1,29 @@
1
1
  import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../chart-Dq3AIrue.js";
2
- import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-NnO8qd1J.js";
3
- import { $ as v, $t as y, A as b, An as x, At as S, B as C, Bn as w, Bt as T, C as E, Cn as D, Ct as O, D as k, Dn as A, Dt as j, E as M, En as N, Et as P, F, Fn as I, Ft as L, G as R, Gn as z, Gt as B, H as V, Hn as H, Ht as U, I as W, In as G, It as K, J as q, Jn as J, Jt as Y, K as X, Kn as Z, Kt as Q, L as $, Ln as ee, Lt as te, M as ne, Mn as re, Mt as ie, N as ae, Nn as oe, Nt as se, O as ce, On as le, Ot as ue, P as de, Pn as fe, Pt as pe, Q as me, Qn as he, Qt as ge, R as _e, Rn as ve, Rt as ye, S as be, Sn as xe, St as Se, T as Ce, Tn as we, Tt as Te, U as Ee, Un as De, Ut as Oe, V as ke, Vn as Ae, Vt as je, W as Me, Wn as Ne, Wt as Pe, X as Fe, Xn as Ie, Xt as Le, Y as Re, Yn as ze, Yt as Be, Z as Ve, Zn as He, Zt as Ue, _ as We, _n as Ge, _t as Ke, a as qe, an as Je, at as Ye, b as Xe, bn as Ze, bt as Qe, c as $e, cn as et, ct as tt, d as nt, dn as rt, dt as it, en as at, et as ot, f as st, fn as ct, ft as lt, g as ut, gn as dt, gt as ft, h as pt, hn as mt, ht, i as gt, in as _t, it as vt, j as yt, jn as bt, jt as xt, k as St, kn as Ct, kt as wt, l as Tt, ln as Et, lt as Dt, m as Ot, mn as kt, mt as At, n as jt, nn as Mt, nt as Nt, o as Pt, on as Ft, ot as It, p as Lt, pn as Rt, pt as zt, q as Bt, qn as Vt, qt as Ht, r as Ut, rn as Wt, rt as Gt, s as Kt, sn as qt, st as Jt, t as Yt, tn as Xt, tt as Zt, u as Qt, un as $t, ut as en, v as tn, vn as nn, vt as rn, w as an, wn as on, wt as sn, x as cn, xn as ln, xt as un, y as dn, yn as fn, yt as pn, z as mn, zn as hn, zt as gn } from "../ui-BS0wN_hk.js";
2
+ import { a as f, i as p, n as m, o as h, r as g, t as _ } from "../cards-BBgGXmYa.js";
3
+ import { $ as v, $t as y, A as b, An as x, At as S, B as C, Bn as w, Bt as T, C as E, Cn as D, Ct as O, D as k, Dn as A, Dt as j, E as M, En as N, Et as P, F, Fn as I, Ft as L, G as R, Gn as z, Gt as B, H as V, Hn as H, Ht as U, I as W, In as G, It as K, J as q, Jn as J, Jt as Y, K as X, Kn as Z, Kt as Q, L as $, Ln as ee, Lt as te, M as ne, Mn as re, Mt as ie, N as ae, Nn as oe, Nt as se, O as ce, On as le, Ot as ue, P as de, Pn as fe, Pt as pe, Q as me, Qn as he, Qt as ge, R as _e, Rn as ve, Rt as ye, S as be, Sn as xe, St as Se, T as Ce, Tn as we, Tt as Te, U as Ee, Un as De, Ut as Oe, V as ke, Vn as Ae, Vt as je, W as Me, Wn as Ne, Wt as Pe, X as Fe, Xn as Ie, Xt as Le, Y as Re, Yn as ze, Yt as Be, Z as Ve, Zn as He, Zt as Ue, _ as We, _n as Ge, _t as Ke, a as qe, an as Je, at as Ye, b as Xe, bn as Ze, bt as Qe, c as $e, cn as et, ct as tt, d as nt, dn as rt, dt as it, en as at, et as ot, f as st, fn as ct, ft as lt, g as ut, gn as dt, gt as ft, h as pt, hn as mt, ht, i as gt, in as _t, it as vt, j as yt, jn as bt, jt as xt, k as St, kn as Ct, kt as wt, l as Tt, ln as Et, lt as Dt, m as Ot, mn as kt, mt as At, n as jt, nn as Mt, nt as Nt, o as Pt, on as Ft, ot as It, p as Lt, pn as Rt, pt as zt, q as Bt, qn as Vt, qt as Ht, r as Ut, rn as Wt, rt as Gt, s as Kt, sn as qt, st as Jt, t as Yt, tn as Xt, tt as Zt, u as Qt, un as $t, ut as en, v as tn, vn as nn, vt as rn, w as an, wn as on, wt as sn, x as cn, xn as ln, xt as un, y as dn, yn as fn, yt as pn, z as mn, zn as hn, zt as gn } from "../ui-D8Pg34YW.js";
4
4
  import { n as _n, r as vn, t as yn } from "../alert-REQGK9bR.js";
5
5
  import { a as bn, c as xn, i as Sn, n as Cn, o as wn, r as Tn, s as En, t as Dn } from "../tooltip-BmZ9Bfou.js";
6
- import { A as On, C as kn, D as An, E as jn, F as Mn, M as Nn, N as Pn, O as Fn, P as In, S as Ln, T as Rn, _ as zn, a as Bn, b as Vn, c as Hn, d as Un, f as Wn, g as Gn, h as Kn, i as qn, j as Jn, k as Yn, l as Xn, m as Zn, n as Qn, o as $n, p as er, r as tr, s as nr, t as rr, u as ir, v as ar, w as or, x as sr, y as cr } from "../sheet-jBnWnMqF.js";
6
+ import { A as On, C as kn, D as An, E as jn, F as Mn, M as Nn, N as Pn, O as Fn, P as In, S as Ln, T as Rn, _ as zn, a as Bn, b as Vn, c as Hn, d as Un, f as Wn, g as Gn, h as Kn, i as qn, j as Jn, k as Yn, l as Xn, m as Zn, n as Qn, o as $n, p as er, r as tr, s as nr, t as rr, u as ir, v as ar, w as or, x as sr, y as cr } from "../sheet-DQTOen4V.js";
7
7
  import { a as lr, c as ur, i as dr, l as fr, n as pr, o as mr, r as hr, s as gr, t as _r, u as vr } from "../select-DmLScQKX.js";
8
8
  import { t as yr } from "../skeleton-D6Ga4BLw.js";
9
- import { a as br, c as xr, i as Sr, n as Cr, o as wr, r as Tr, s as Er, t as Dr } from "../charts-CavpyGbG.js";
10
- import { n as Or, r as kr, t as Ar } from "../dialogs-Bg0BcgT5.js";
11
- import { t as jr } from "../ImageInput-BMnmSy08.js";
12
- import { t as Mr } from "../AppActions-C__ql0Go.js";
13
- import { t as Nr } from "../AppSubTitle-BPX9J70e.js";
14
- import { t as Pr } from "../MultiSelect-DNFrCrvA.js";
15
- import { t as Fr } from "../GenericForm-CbJ_1VQw.js";
16
- import { t as Ir } from "../ErrorAlert-BiyjpXW1.js";
17
- import { i as Lr, n as Rr, r as zr, t as Br } from "../SearchInput-DnOuBUrU.js";
9
+ import { a as br, c as xr, i as Sr, n as Cr, o as wr, r as Tr, s as Er, t as Dr } from "../charts-C7MWuqi9.js";
10
+ import { n as Or, r as kr, t as Ar } from "../dialogs-qiw8m0uw.js";
11
+ import { t as jr } from "../ImageInput-BPNEywyf.js";
12
+ import { t as Mr } from "../AppActions-CpbkO_3O.js";
13
+ import { t as Nr } from "../AppSubTitle-BOVTZlUB.js";
14
+ import { t as Pr } from "../MultiSelect-inNRlftX.js";
15
+ import { t as Fr } from "../GenericForm-B57ip3Zn.js";
16
+ import { t as Ir } from "../ErrorAlert-L2s8Dd1_.js";
17
+ import { i as Lr, n as Rr, r as zr, t as Br } from "../SearchInput-BSIjKB_9.js";
18
18
  import { ActiveFilters as Vr, AdvancedFilters as Hr, FilterField as Ur, FilterPills as Wr, FilterPillsGroup as Gr, SearchableFilterPill as Kr, TableFilter as qr } from "./core/filters/index.js";
19
- import { t as Jr } from "../inputs-B7Nw-KF8.js";
20
- import { t as Yr } from "../language-wGKLt6oh.js";
21
- import { t as Xr } from "../AppTitle-B1wOSQGM.js";
22
- import { n as Zr, t as Qr } from "../states-DGjgfPuG.js";
19
+ import { t as Jr } from "../inputs-8zGFhNHq.js";
20
+ import { t as Yr } from "../language-DOGOdjzx.js";
21
+ import { t as Xr } from "../AppTitle-BZ5jQWbs.js";
22
+ import { n as Zr, t as Qr } from "../states-BQK9jqS4.js";
23
23
  import { AppPageHeader as $r, KpiCardsLayout as ei } from "./core/layouts/index.js";
24
- import { a as ti, i as ni, n as ri, o as ii, r as ai, t as oi } from "../navbar-Dv4ymBap.js";
24
+ import { a as ti, i as ni, n as ri, o as ii, r as ai, t as oi } from "../navbar-CcvEckue.js";
25
25
  import { DataTable as si, JsonTableOutput as ci, TableActions as li, TableBody as ui, TableBulkActions as di, TableHeader as fi, TablePagination as pi, TableSettings as mi } from "./core/table/index.js";
26
26
  import { AppTabContainer as hi, AppTabHeader as gi, AppTabs as _i, AppVerticalTabs as vi } from "./core/tabs/index.js";
27
- import { t as yi } from "../theme-DedDA2ib.js";
27
+ import { t as yi } from "../theme-q2uzluEd.js";
28
28
  import "./core/index.js";
29
29
  export { ze as Accordion, Ie as AccordionContent, He as AccordionItem, he as AccordionTrigger, Vr as ActiveFilters, Hr as AdvancedFilters, yn as Alert, _n as AlertDescription, w as AlertDialog, Ae as AlertDialogAction, H as AlertDialogCancel, De as AlertDialogContent, Ne as AlertDialogDescription, z as AlertDialogFooter, Z as AlertDialogHeader, Vt as AlertDialogTitle, J as AlertDialogTrigger, vn as AlertTitle, Mr as AppActions, kr as AppDialog, $r as AppPageHeader, Nr as AppSubTitle, hi as AppTabContainer, gi as AppTabHeader, _i as AppTabs, Xr as AppTitle, vi as AppVerticalTabs, hn as AspectRatio, G as Avatar, ee as AvatarFallback, ve as AvatarImage, fe as Badge, xr as BarChartHorizontal, Er as BarChartVertical, A as Breadcrumb, le as BreadcrumbEllipsis, Ct as BreadcrumbItem, x as BreadcrumbLink, bt as BreadcrumbList, re as BreadcrumbPage, oe as BreadcrumbSeparator, En as Button, br as CHART_COLORS, N as Calendar, l as Card, t as CardContent, a as CardDescription, d as CardFooter, n as CardHeader, r as CardTitle, ln as Carousel, xe as CarouselContent, D as CarouselItem, on as CarouselNext, we as CarouselPrevious, Sr as ChartCard, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Ze as Checkbox, Tr as CircularGauge, Ge as Collapsible, nn as CollapsibleContent, fn as CollapsibleTrigger, zn as Command, ar as CommandDialog, cr as CommandEmpty, Vn as CommandGroup, sr as CommandInput, Ln as CommandItem, kn as CommandList, or as CommandSeparator, Rn as CommandShortcut, Ar as ConfirmationDialog, Mt as ContextMenu, Wt as ContextMenuCheckboxItem, _t as ContextMenuContent, Je as ContextMenuGroup, Ft as ContextMenuItem, qt as ContextMenuLabel, et as ContextMenuPortal, Et as ContextMenuRadioGroup, $t as ContextMenuRadioItem, rt as ContextMenuSeparator, ct as ContextMenuShortcut, Rt as ContextMenuSub, kt as ContextMenuSubContent, mt as ContextMenuSubTrigger, dt as ContextMenuTrigger, h as DashboardCard, si as DataTable, Lr as DatePicker, zr as DateRangePicker, jn as Dialog, An as DialogClose, Fn as DialogContent, Yn as DialogDescription, On as DialogFooter, Jn as DialogHeader, Nn as DialogOverlay, Pn as DialogPortal, In as DialogTitle, Mn as DialogTrigger, Q as Drawer, Ht as DrawerClose, Y as DrawerContent, Be as DrawerDescription, Le as DrawerFooter, Ue as DrawerHeader, ge as DrawerOverlay, y as DrawerPortal, at as DrawerTitle, Xt as DrawerTrigger, xt as DropdownMenu, ie as DropdownMenuCheckboxItem, se as DropdownMenuContent, pe as DropdownMenuGroup, L as DropdownMenuItem, K as DropdownMenuLabel, te as DropdownMenuPortal, ye as DropdownMenuRadioGroup, gn as DropdownMenuRadioItem, T as DropdownMenuSeparator, je as DropdownMenuShortcut, U as DropdownMenuSub, Oe as DropdownMenuSubContent, Pe as DropdownMenuSubTrigger, B as DropdownMenuTrigger, Ir as ErrorAlert, Zr as ErrorState, Ur as FilterField, Wr as FilterPills, Gr as FilterPillsGroup, Se as Form, O as FormControl, sn as FormDescription, Or as FormDialog, Te as FormField, P as FormItem, j as FormLabel, ue as FormMessage, Fr as GenericForm, ii as GlobalSearch, pn as HoverCard, Qe as HoverCardContent, un as HoverCardTrigger, jr as ImageInput, Gn as Input, ht as InputOTP, ft as InputOTPGroup, Ke as InputOTPSeparator, rn as InputOTPSlot, ci as JsonTableOutput, f as KpiCard, p as KpiCards, ei as KpiCardsLayout, S as Label, Yr as LanguageSelector, Cr as LineChart, Qr as LoadingState, v as Menubar, ot as MenubarCheckboxItem, Zt as MenubarContent, Nt as MenubarGroup, Gt as MenubarItem, vt as MenubarLabel, Ye as MenubarMenu, It as MenubarPortal, Jt as MenubarRadioGroup, tt as MenubarRadioItem, Dt as MenubarSeparator, en as MenubarShortcut, it as MenubarSub, lt as MenubarSubContent, zt as MenubarSubTrigger, At as MenubarTrigger, g as MetricCard, Pr as MultiSelect, Me as NavigationMenu, R as NavigationMenuContent, X as NavigationMenuIndicator, Bt as NavigationMenuItem, q as NavigationMenuLink, Re as NavigationMenuList, Fe as NavigationMenuTrigger, Ve as NavigationMenuViewport, ti as NotificationsBell, $ as Pagination, _e as PaginationContent, mn as PaginationEllipsis, C as PaginationItem, ke as PaginationLink, V as PaginationNext, Ee as PaginationPrevious, Dr as PieChart, er as Popover, Zn as PopoverContent, Kn as PopoverTrigger, W as Progress, de as RadioGroup, F as RadioGroupItem, Jr as RatingInput, yt as ResizableHandle, ne as ResizablePanel, ae as ResizablePanelGroup, Un as ScrollArea, Wn as ScrollBar, Br as SearchInput, Kr as SearchableFilterPill, Rr as SearchableSelect, _r as Select, pr as SelectContent, hr as SelectGroup, dr as SelectItem, lr as SelectLabel, mr as SelectScrollDownButton, gr as SelectScrollUpButton, ur as SelectSeparator, fr as SelectTrigger, vr as SelectValue, b as Separator, rr as Sheet, Qn as SheetClose, tr as SheetContent, qn as SheetDescription, Bn as SheetFooter, $n as SheetHeader, nr as SheetOverlay, Hn as SheetPortal, Xn as SheetTitle, ir as SheetTrigger, ai as Sidebar, ri as SidebarHeader, ni as SidebarNavItem, be as SimpleTable, E as SimpleTableBody, an as SimpleTableCaption, Ce as SimpleTableCell, M as SimpleTableFooter, k as SimpleTableHead, ce as SimpleTableHeader, St as SimpleTableRow, yr as Skeleton, m as SkeletonCard, _ as SkeletonCards, cn as Slider, dn as Sonner, tn as Switch, li as TableActions, ui as TableBody, di as TableBulkActions, qr as TableFilter, fi as TableHeader, pi as TablePagination, mi as TableSettings, Ot as Tabs, pt as TabsContent, ut as TabsList, We as TabsTrigger, Lt as Textarea, yi as ThemeSelector, Pt as Toast, Kt as ToastAction, $e as ToastClose, Tt as ToastDescription, Qt as ToastProvider, nt as ToastTitle, st as ToastViewport, qe as Toaster, Ut as Toggle, Yt as ToggleGroup, jt as ToggleGroupItem, Dn as Tooltip, Cn as TooltipContent, Tn as TooltipProvider, Sn as TooltipTrigger, oi as Topbar, I as badgeVariants, xn as buttonVariants, bn as controlBaseClass, wn as controlTriggerClass, wr as getChartColor, me as navigationMenuTriggerStyle, Xe as toast, gt as toggleVariants, wt as useFormField };
@@ -1,8 +1,8 @@
1
1
  import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, r as c, s as l, t as u, u as d } from "../../chart-Dq3AIrue.js";
2
- import { $ as f, $t as p, A as m, An as h, At as g, B as _, Bn as v, Bt as y, C as b, Cn as x, Ct as S, D as C, Dn as w, Dt as T, E, En as D, Et as O, F as k, Fn as A, Ft as j, G as M, Gn as N, Gt as P, H as F, Hn as I, Ht as L, I as R, In as z, It as B, J as V, Jn as H, Jt as U, K as W, Kn as G, Kt as K, L as q, Ln as J, Lt as Y, M as X, Mn as Z, Mt as Q, N as $, Nn as ee, Nt as te, O as ne, On as re, Ot as ie, P as ae, Pn as oe, Pt as se, Q as ce, Qn as le, Qt as ue, R as de, Rn as fe, Rt as pe, S as me, Sn as he, St as ge, T as _e, Tn as ve, Tt as ye, U as be, Un as xe, Ut as Se, V as Ce, Vn as we, Vt as Te, W as Ee, Wn as De, Wt as Oe, X as ke, Xn as Ae, Xt as je, Y as Me, Yn as Ne, Yt as Pe, Z as Fe, Zn as Ie, Zt as Le, _ as Re, _n as ze, _t as Be, a as Ve, an as He, at as Ue, b as We, bn as Ge, bt as Ke, c as qe, cn as Je, ct as Ye, d as Xe, dn as Ze, dt as Qe, en as $e, et, f as tt, fn as nt, ft as rt, g as it, gn as at, gt as ot, h as st, hn as ct, ht as lt, i as ut, in as dt, it as ft, j as pt, jn as mt, jt as ht, k as gt, kn as _t, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qn as Ft, qt as It, r as Lt, rn as Rt, rt as zt, s as Bt, sn as Vt, st as Ht, t as Ut, tn as Wt, tt as Gt, u as Kt, un as qt, ut as Jt, v as Yt, vn as Xt, vt as Zt, w as Qt, wn as $t, wt as en, x as tn, xn as nn, xt as rn, y as an, yn as on, yt as sn, z as cn, zn as ln, zt as un } from "../../ui-BS0wN_hk.js";
2
+ import { $ as f, $t as p, A as m, An as h, At as g, B as _, Bn as v, Bt as y, C as b, Cn as x, Ct as S, D as C, Dn as w, Dt as T, E, En as D, Et as O, F as k, Fn as A, Ft as j, G as M, Gn as N, Gt as P, H as F, Hn as I, Ht as L, I as R, In as z, It as B, J as V, Jn as H, Jt as U, K as W, Kn as G, Kt as K, L as q, Ln as J, Lt as Y, M as X, Mn as Z, Mt as Q, N as $, Nn as ee, Nt as te, O as ne, On as re, Ot as ie, P as ae, Pn as oe, Pt as se, Q as ce, Qn as le, Qt as ue, R as de, Rn as fe, Rt as pe, S as me, Sn as he, St as ge, T as _e, Tn as ve, Tt as ye, U as be, Un as xe, Ut as Se, V as Ce, Vn as we, Vt as Te, W as Ee, Wn as De, Wt as Oe, X as ke, Xn as Ae, Xt as je, Y as Me, Yn as Ne, Yt as Pe, Z as Fe, Zn as Ie, Zt as Le, _ as Re, _n as ze, _t as Be, a as Ve, an as He, at as Ue, b as We, bn as Ge, bt as Ke, c as qe, cn as Je, ct as Ye, d as Xe, dn as Ze, dt as Qe, en as $e, et, f as tt, fn as nt, ft as rt, g as it, gn as at, gt as ot, h as st, hn as ct, ht as lt, i as ut, in as dt, it as ft, j as pt, jn as mt, jt as ht, k as gt, kn as _t, kt as vt, l as yt, ln as bt, lt as xt, m as St, mn as Ct, mt as wt, n as Tt, nn as Et, nt as Dt, o as Ot, on as kt, ot as At, p as jt, pn as Mt, pt as Nt, q as Pt, qn as Ft, qt as It, r as Lt, rn as Rt, rt as zt, s as Bt, sn as Vt, st as Ht, t as Ut, tn as Wt, tt as Gt, u as Kt, un as qt, ut as Jt, v as Yt, vn as Xt, vt as Zt, w as Qt, wn as $t, wt as en, x as tn, xn as nn, xt as rn, y as an, yn as on, yt as sn, z as cn, zn as ln, zt as un } from "../../ui-D8Pg34YW.js";
3
3
  import { n as dn, r as fn, t as pn } from "../../alert-REQGK9bR.js";
4
4
  import { a as mn, c as hn, i as gn, n as _n, o as vn, r as yn, s as bn, t as xn } from "../../tooltip-BmZ9Bfou.js";
5
- import { A as Sn, C as Cn, D as wn, E as Tn, F as En, M as Dn, N as On, O as kn, P as An, S as jn, T as Mn, _ as Nn, a as Pn, b as Fn, c as In, d as Ln, f as Rn, g as zn, h as Bn, i as Vn, j as Hn, k as Un, l as Wn, m as Gn, n as Kn, o as qn, p as Jn, r as Yn, s as Xn, t as Zn, u as Qn, v as $n, w as er, x as tr, y as nr } from "../../sheet-jBnWnMqF.js";
5
+ import { A as Sn, C as Cn, D as wn, E as Tn, F as En, M as Dn, N as On, O as kn, P as An, S as jn, T as Mn, _ as Nn, a as Pn, b as Fn, c as In, d as Ln, f as Rn, g as zn, h as Bn, i as Vn, j as Hn, k as Un, l as Wn, m as Gn, n as Kn, o as qn, p as Jn, r as Yn, s as Xn, t as Zn, u as Qn, v as $n, w as er, x as tr, y as nr } from "../../sheet-DQTOen4V.js";
6
6
  import { a as rr, c as ir, i as ar, l as or, n as sr, o as cr, r as lr, s as ur, t as dr, u as fr } from "../../select-DmLScQKX.js";
7
7
  import { t as pr } from "../../skeleton-D6Ga4BLw.js";
8
8
  export { Ne as Accordion, Ae as AccordionContent, Ie as AccordionItem, le as AccordionTrigger, pn as Alert, dn as AlertDescription, v as AlertDialog, we as AlertDialogAction, I as AlertDialogCancel, xe as AlertDialogContent, De as AlertDialogDescription, N as AlertDialogFooter, G as AlertDialogHeader, Ft as AlertDialogTitle, H as AlertDialogTrigger, fn as AlertTitle, ln as AspectRatio, z as Avatar, J as AvatarFallback, fe as AvatarImage, oe as Badge, w as Breadcrumb, re as BreadcrumbEllipsis, _t as BreadcrumbItem, h as BreadcrumbLink, mt as BreadcrumbList, Z as BreadcrumbPage, ee as BreadcrumbSeparator, bn as Button, D as Calendar, l as Card, t as CardContent, a as CardDescription, d as CardFooter, n as CardHeader, r as CardTitle, nn as Carousel, he as CarouselContent, x as CarouselItem, $t as CarouselNext, ve as CarouselPrevious, u as ChartContainer, o as ChartLegend, c as ChartLegendContent, i as ChartStyle, e as ChartTooltip, s as ChartTooltipContent, Ge as Checkbox, ze as Collapsible, Xt as CollapsibleContent, on as CollapsibleTrigger, Nn as Command, $n as CommandDialog, nr as CommandEmpty, Fn as CommandGroup, tr as CommandInput, jn as CommandItem, Cn as CommandList, er as CommandSeparator, Mn as CommandShortcut, Et as ContextMenu, Rt as ContextMenuCheckboxItem, dt as ContextMenuContent, He as ContextMenuGroup, kt as ContextMenuItem, Vt as ContextMenuLabel, Je as ContextMenuPortal, bt as ContextMenuRadioGroup, qt as ContextMenuRadioItem, Ze as ContextMenuSeparator, nt as ContextMenuShortcut, Mt as ContextMenuSub, Ct as ContextMenuSubContent, ct as ContextMenuSubTrigger, at as ContextMenuTrigger, Tn as Dialog, wn as DialogClose, kn as DialogContent, Un as DialogDescription, Sn as DialogFooter, Hn as DialogHeader, Dn as DialogOverlay, On as DialogPortal, An as DialogTitle, En as DialogTrigger, K as Drawer, It as DrawerClose, U as DrawerContent, Pe as DrawerDescription, je as DrawerFooter, Le as DrawerHeader, ue as DrawerOverlay, p as DrawerPortal, $e as DrawerTitle, Wt as DrawerTrigger, ht as DropdownMenu, Q as DropdownMenuCheckboxItem, te as DropdownMenuContent, se as DropdownMenuGroup, j as DropdownMenuItem, B as DropdownMenuLabel, Y as DropdownMenuPortal, pe as DropdownMenuRadioGroup, un as DropdownMenuRadioItem, y as DropdownMenuSeparator, Te as DropdownMenuShortcut, L as DropdownMenuSub, Se as DropdownMenuSubContent, Oe as DropdownMenuSubTrigger, P as DropdownMenuTrigger, ge as Form, S as FormControl, en as FormDescription, ye as FormField, O as FormItem, T as FormLabel, ie as FormMessage, sn as HoverCard, Ke as HoverCardContent, rn as HoverCardTrigger, zn as Input, lt as InputOTP, ot as InputOTPGroup, Be as InputOTPSeparator, Zt as InputOTPSlot, g as Label, f as Menubar, et as MenubarCheckboxItem, Gt as MenubarContent, Dt as MenubarGroup, zt as MenubarItem, ft as MenubarLabel, Ue as MenubarMenu, At as MenubarPortal, Ht as MenubarRadioGroup, Ye as MenubarRadioItem, xt as MenubarSeparator, Jt as MenubarShortcut, Qe as MenubarSub, rt as MenubarSubContent, Nt as MenubarSubTrigger, wt as MenubarTrigger, Ee as NavigationMenu, M as NavigationMenuContent, W as NavigationMenuIndicator, Pt as NavigationMenuItem, V as NavigationMenuLink, Me as NavigationMenuList, ke as NavigationMenuTrigger, Fe as NavigationMenuViewport, q as Pagination, de as PaginationContent, cn as PaginationEllipsis, _ as PaginationItem, Ce as PaginationLink, F as PaginationNext, be as PaginationPrevious, Jn as Popover, Gn as PopoverContent, Bn as PopoverTrigger, R as Progress, ae as RadioGroup, k as RadioGroupItem, pt as ResizableHandle, X as ResizablePanel, $ as ResizablePanelGroup, Ln as ScrollArea, Rn as ScrollBar, dr as Select, sr as SelectContent, lr as SelectGroup, ar as SelectItem, rr as SelectLabel, cr as SelectScrollDownButton, ur as SelectScrollUpButton, ir as SelectSeparator, or as SelectTrigger, fr as SelectValue, m as Separator, Zn as Sheet, Kn as SheetClose, Yn as SheetContent, Vn as SheetDescription, Pn as SheetFooter, qn as SheetHeader, Xn as SheetOverlay, In as SheetPortal, Wn as SheetTitle, Qn as SheetTrigger, me as SimpleTable, b as SimpleTableBody, Qt as SimpleTableCaption, _e as SimpleTableCell, E as SimpleTableFooter, C as SimpleTableHead, ne as SimpleTableHeader, gt as SimpleTableRow, pr as Skeleton, tn as Slider, an as Sonner, Yt as Switch, St as Tabs, st as TabsContent, it as TabsList, Re as TabsTrigger, jt as Textarea, Ot as Toast, Bt as ToastAction, qe as ToastClose, yt as ToastDescription, Kt as ToastProvider, Xe as ToastTitle, tt as ToastViewport, Ve as Toaster, Lt as Toggle, Ut as ToggleGroup, Tt as ToggleGroupItem, xn as Tooltip, _n as TooltipContent, yn as TooltipProvider, gn as TooltipTrigger, A as badgeVariants, hn as buttonVariants, mn as controlBaseClass, vn as controlTriggerClass, ce as navigationMenuTriggerStyle, We as toast, ut as toggleVariants, vt as useFormField };
@@ -1,10 +1,10 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
2
- import { Bn as t, Gn as n, Hn as r, I as i, Kn as a, Un as o, Wn as s, qn as c } from "./ui-BS0wN_hk.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
+ import { Bn as t, Gn as n, Hn as r, I as i, Kn as a, Un as o, Wn as s, qn as c } from "./ui-D8Pg34YW.js";
3
3
  import { n as l, t as u } from "./alert-REQGK9bR.js";
4
4
  import { s as d } from "./tooltip-BmZ9Bfou.js";
5
- import { E as f, O as p, P as m, j as h, k as g } from "./sheet-jBnWnMqF.js";
6
- import { t as _ } from "./GenericForm-CbJ_1VQw.js";
7
- import { t as v } from "./ErrorAlert-BiyjpXW1.js";
5
+ import { E as f, O as p, P as m, j as h, k as g } from "./sheet-DQTOen4V.js";
6
+ import { t as _ } from "./GenericForm-B57ip3Zn.js";
7
+ import { t as v } from "./ErrorAlert-L2s8Dd1_.js";
8
8
  import { useEffect 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 { AlertCircleIcon as w, Pen as T, Save as E, X as D } from "lucide-react";
@@ -1,2 +1,2 @@
1
- import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../../behavior-DeOud61U.js";
1
+ import { a as e, c as t, d as n, f as r, i, l as a, n as o, o as s, p as c, r as l, s as u, t as d, u as f } from "../../behavior-CFsFoY50.js";
2
2
  export { d as URL_DATE_FORMAT, o as parseDateRange, l as serializeDateRange, n as useConfirmDeleteDialog, r as useConfirmationDialog, f as useDebouncedValue, c as useDialog, a as usePage, t as useSidebar, i as useUrlArrayState, e as useUrlDateRangeState, s as useUrlNumberState, u as useUrlState };
@@ -2,10 +2,10 @@ import { t as e } from "../useScrollFade-D9kqJBDh.js";
2
2
  import { n as t, t as n } from "../useToast-UeDRLovh.js";
3
3
  import { t as r } from "../useMobile-pTQ8lWvt.js";
4
4
  import { t as i } from "../useNotifications-CyhTruIG.js";
5
- import { t as a } from "../useLanguage-zEDzcT3_.js";
6
- import { t as o } from "../useDocumentTitle-DncN-eAg.js";
7
- import { a as s, c, d as l, f as u, i as d, l as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y } from "../behavior-DeOud61U.js";
5
+ import { t as a } from "../useLanguage-BVUtoDnh.js";
6
+ import { t as o } from "../useDocumentTitle-FqaDq5xD.js";
7
+ import { a as s, c, d as l, f as u, i as d, l as f, n as p, o as m, p as h, r as g, s as _, t as v, u as y } from "../behavior-CFsFoY50.js";
8
8
  import { n as b, t as x } from "../useFixedColumns-DPVEdA6b.js";
9
- import { t as S } from "../ui-BfGGZ1gy.js";
10
- import { t as C } from "../useTheme-C1MiTFa9.js";
9
+ import { t as S } from "../ui-d1qh5cWB.js";
10
+ import { t as C } from "../useTheme-CNx4iolb.js";
11
11
  export { v as URL_DATE_FORMAT, p as parseDateRange, g as serializeDateRange, n as toast, l as useConfirmDeleteDialog, u as useConfirmationDialog, b as useDataTable, y as useDebouncedValue, h as useDialog, o as useDocumentTitle, x as useFixedColumns, a as useLanguage, r as useMobile, i as useNotifications, f as usePage, e as useScrollFade, S as useServerTable, c as useSidebar, C as useTheme, t as useToast, d as useUrlArrayState, s as useUrlDateRangeState, m as useUrlNumberState, _ as useUrlState };
@@ -2,9 +2,9 @@ import { t as e } from "../../useScrollFade-D9kqJBDh.js";
2
2
  import { n as t, t as n } from "../../useToast-UeDRLovh.js";
3
3
  import { t as r } from "../../useMobile-pTQ8lWvt.js";
4
4
  import { t as i } from "../../useNotifications-CyhTruIG.js";
5
- import { t as a } from "../../useLanguage-zEDzcT3_.js";
6
- import { t as o } from "../../useDocumentTitle-DncN-eAg.js";
5
+ import { t as a } from "../../useLanguage-BVUtoDnh.js";
6
+ import { t as o } from "../../useDocumentTitle-FqaDq5xD.js";
7
7
  import { n as s, t as c } from "../../useFixedColumns-DPVEdA6b.js";
8
- import { t as l } from "../../ui-BfGGZ1gy.js";
9
- import { t as u } from "../../useTheme-C1MiTFa9.js";
8
+ import { t as l } from "../../ui-d1qh5cWB.js";
9
+ import { t as u } from "../../useTheme-CNx4iolb.js";
10
10
  export { n as toast, s as useDataTable, o as useDocumentTitle, c as useFixedColumns, a as useLanguage, r as useMobile, i as useNotifications, e as useScrollFade, l as useServerTable, u as useTheme, t as useToast };
@@ -1,2 +1,2 @@
1
- import { a as e, i as t, n, o as r, r as i, t as a } from "../i18n-DSZAo18R.js";
1
+ import { a as e, i as t, n, o as r, r as i, t as a } from "../i18n-d2p0RJo9.js";
2
2
  export { t as KROSOFT_NAMESPACE, n as dateFnsLocale, e as krosoftLocales, r as registerKrosoftLocales, i as useDateFnsLocale, a as useKrosoftTranslation };
@@ -106,6 +106,11 @@ export declare const krosoftLocales: {
106
106
  updatedTitle: string;
107
107
  updatedMessage: string;
108
108
  };
109
+ pwa: {
110
+ updateAvailable: string;
111
+ updateAction: string;
112
+ updateDismiss: string;
113
+ };
109
114
  };
110
115
  en: {
111
116
  actions: {
@@ -207,6 +212,11 @@ export declare const krosoftLocales: {
207
212
  updatedTitle: string;
208
213
  updatedMessage: string;
209
214
  };
215
+ pwa: {
216
+ updateAvailable: string;
217
+ updateAction: string;
218
+ updateDismiss: string;
219
+ };
210
220
  };
211
221
  };
212
222
  /** Sous-ensemble d'i18next dont on a besoin : évite d'imposer le type complet de l'instance. */
@@ -1 +1 @@
1
- {"version":3,"file":"krosoftLocales.d.ts","sourceRoot":"","sources":["../../src/i18n/krosoftLocales.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,8FAA8F;AAC9F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAC;AAEzC,gGAAgG;AAChG,UAAU,QAAQ;IAChB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IACjH,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,QAAQ,EAAE,gBAAuB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,KAAG,IAM5G,CAAC"}
1
+ {"version":3,"file":"krosoftLocales.d.ts","sourceRoot":"","sources":["../../src/i18n/krosoftLocales.ts"],"names":[],"mappings":"AAGA;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,YAAY,CAAC;AAE3C,8FAA8F;AAC9F,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAa,CAAC;AAEzC,gGAAgG;AAChG,UAAU,QAAQ;IAChB,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC;IACjH,iBAAiB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,OAAO,CAAC;CAC1D;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,sBAAsB,GAAI,MAAM,QAAQ,EAAE,gBAAuB;IAAE,SAAS,CAAC,EAAE,OAAO,CAAA;CAAO,KAAG,IAM5G,CAAC"}
@@ -99,6 +99,11 @@ var r = {
99
99
  dark: "Dark",
100
100
  updatedTitle: "Theme updated",
101
101
  updatedMessage: "The theme has been changed to {{theme}}."
102
+ },
103
+ pwa: {
104
+ updateAvailable: "A new version is available.",
105
+ updateAction: "Refresh",
106
+ updateDismiss: "Dismiss"
102
107
  }
103
108
  }, i = {
104
109
  actions: {
@@ -199,6 +204,11 @@ var r = {
199
204
  dark: "Sombre",
200
205
  updatedTitle: "Thème mis à jour",
201
206
  updatedMessage: "Le thème a été changé vers {{theme}}."
207
+ },
208
+ pwa: {
209
+ updateAvailable: "Une nouvelle version est disponible.",
210
+ updateAction: "Actualiser",
211
+ updateDismiss: "Ignorer"
202
212
  }
203
213
  }, a = "krosoft", o = {
204
214
  fr: i,
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import "./ImageInput-BMnmSy08.js";
3
- import "./MultiSelect-DNFrCrvA.js";
4
- import "./SearchInput-DnOuBUrU.js";
2
+ import "./ImageInput-BPNEywyf.js";
3
+ import "./MultiSelect-inNRlftX.js";
4
+ import "./SearchInput-BSIjKB_9.js";
5
5
  import { jsx as t } from "react/jsx-runtime";
6
6
  import { Heart as n, Star as r } from "lucide-react";
7
7
  //#region src/components/core/inputs/RatingInput.tsx
@@ -1,7 +1,7 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { i as t, n, r, s as i, t as a } from "./tooltip-BmZ9Bfou.js";
3
3
  import { i as o, l as s, n as c, t as l, u } from "./select-DmLScQKX.js";
4
- import { t as d } from "./useLanguage-zEDzcT3_.js";
4
+ import { t as d } from "./useLanguage-BVUtoDnh.js";
5
5
  import "react";
6
6
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
7
  import { LanguagesIcon as m } from "lucide-react";
@@ -1,9 +1,9 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
- import { t } from "./i18n-DSZAo18R.js";
2
+ import { t } from "./i18n-d2p0RJo9.js";
3
3
  import { i as n, n as r, r as i, s as a, t as o } from "./tooltip-BmZ9Bfou.js";
4
- import { C as s, S as c, b as l, d as u, g as d, h as f, i as p, l as m, m as h, p as g, r as _, t as v, v as y, x as b, y as x } from "./sheet-jBnWnMqF.js";
4
+ import { C as s, S as c, b as l, d as u, g as d, h as f, i as p, l as m, m as h, p as g, r as _, t as v, v as y, x as b, y as x } from "./sheet-DQTOen4V.js";
5
5
  import { t as S } from "./skeleton-D6Ga4BLw.js";
6
- import { c as C } from "./behavior-DeOud61U.js";
6
+ import { c as C } from "./behavior-CFsFoY50.js";
7
7
  import "./hooks/index.js";
8
8
  import * as w from "react";
9
9
  import { Fragment as T, jsx as E, jsxs as D } from "react/jsx-runtime";
@@ -14,8 +14,10 @@ export interface PwaUpdaterProps {
14
14
  *
15
15
  * - configurer `VitePWA({ registerType: "prompt" })` — en `autoUpdate`, le service
16
16
  * worker prend la main tout seul et le toast n'a plus rien à proposer ;
17
- * - monter `<Sonner />` ;
18
- * - fournir les clés `pwa.updateAvailable`, `pwa.updateAction` et `pwa.updateDismiss`.
17
+ * - monter `<Sonner />`.
18
+ *
19
+ * Les clés `pwa.updateAvailable`, `pwa.updateAction` et `pwa.updateDismiss` sont
20
+ * fournies par le package ; l'hôte peut les surcharger dans ses propres traductions.
19
21
  *
20
22
  * ```tsx
21
23
  * import { PwaUpdater } from "@krosoft/react/pwa";
@@ -1 +1 @@
1
- {"version":3,"file":"PwaUpdater.d.ts","sourceRoot":"","sources":["../../src/pwa/PwaUpdater.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,eAAe;IAC9B,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,eAAO,MAAM,UAAU,GAAI,sBAAiD,eAAoB,KAAG,IA+BlG,CAAC"}
1
+ {"version":3,"file":"PwaUpdater.d.ts","sourceRoot":"","sources":["../../src/pwa/PwaUpdater.tsx"],"names":[],"mappings":"AAUA,MAAM,WAAW,eAAe;IAC9B,gFAAgF;IAChF,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,UAAU,GAAI,sBAAiD,eAAoB,KAAG,IA+BlG,CAAC"}
package/dist/pwa/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as e } from "../i18n-DSZAo18R.js";
1
+ import { t as e } from "../i18n-d2p0RJo9.js";
2
2
  import { useEffect as t } from "react";
3
3
  import { toast as n } from "sonner";
4
4
  import { useRegisterSW as r } from "virtual:pwa-register/react";
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./tailwind.helper-CJaRYBmL.js";
2
2
  import "./helpers/index.js";
3
- import { t } from "./i18n-DSZAo18R.js";
3
+ import { t } from "./i18n-d2p0RJo9.js";
4
4
  import { a as n } from "./tooltip-BmZ9Bfou.js";
5
5
  import * as r from "react";
6
6
  import { jsx as i, jsxs as a } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
2
- import "./ErrorAlert-BiyjpXW1.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
+ import "./ErrorAlert-L2s8Dd1_.js";
3
3
  import { jsx as t, jsxs as n } from "react/jsx-runtime";
4
4
  import { Loader2Icon as r } from "lucide-react";
5
5
  //#region src/components/core/states/ErrorState.tsx
@@ -1,7 +1,7 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { i as t, n, r, s as i, t as a } from "./tooltip-BmZ9Bfou.js";
3
3
  import { i as o, l as s, n as c, t as l, u } from "./select-DmLScQKX.js";
4
- import { t as d } from "./useTheme-C1MiTFa9.js";
4
+ import { t as d } from "./useTheme-CNx4iolb.js";
5
5
  import "react";
6
6
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
7
7
  //#region src/components/core/theme/ThemeSelector.tsx
@@ -3,7 +3,7 @@ import "./helpers/index.js";
3
3
  import "./chart-Dq3AIrue.js";
4
4
  import "./alert-REQGK9bR.js";
5
5
  import { c as t, s as n } from "./tooltip-BmZ9Bfou.js";
6
- import "./sheet-jBnWnMqF.js";
6
+ import "./sheet-DQTOen4V.js";
7
7
  import "./select-DmLScQKX.js";
8
8
  import "./skeleton-D6Ga4BLw.js";
9
9
  import { t as r } from "./useScrollFade-D9kqJBDh.js";
@@ -2,11 +2,11 @@ import "./useScrollFade-D9kqJBDh.js";
2
2
  import "./useToast-UeDRLovh.js";
3
3
  import "./useMobile-pTQ8lWvt.js";
4
4
  import "./useNotifications-CyhTruIG.js";
5
- import "./useLanguage-zEDzcT3_.js";
6
- import "./useDocumentTitle-DncN-eAg.js";
5
+ import "./useLanguage-BVUtoDnh.js";
6
+ import "./useDocumentTitle-FqaDq5xD.js";
7
7
  import "./useFixedColumns-DPVEdA6b.js";
8
8
  import "./constants/index.js";
9
- import "./useTheme-C1MiTFa9.js";
9
+ import "./useTheme-CNx4iolb.js";
10
10
  import { useCallback as e, useEffect as t, useState as n } from "react";
11
11
  //#region src/hooks/ui/useServerTable.ts
12
12
  function r(r, i = "nom", a = {}) {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { useEffect as t } from "react";
3
3
  //#region src/hooks/ui/useDocumentTitle.ts
4
4
  var n = (n, r, i) => {
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { t } from "./useNotifications-CyhTruIG.js";
3
3
  import { useTranslation as n } from "react-i18next";
4
4
  //#region src/hooks/ui/useLanguage.ts
@@ -1,4 +1,4 @@
1
- import { t as e } from "./i18n-DSZAo18R.js";
1
+ import { t as e } from "./i18n-d2p0RJo9.js";
2
2
  import { t } from "./useNotifications-CyhTruIG.js";
3
3
  import { useTheme as n } from "next-themes";
4
4
  //#region src/hooks/ui/useTheme.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@krosoft/react",
3
- "version": "0.0.281",
3
+ "version": "0.0.283",
4
4
  "description": "Krosoft shared React package",
5
5
  "type": "module",
6
6
  "scripts": {