@krosoft/react 0.0.232 → 0.0.233

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 (55) hide show
  1. package/dist/{AppActions-BG2sgghh.js → AppActions-BFwztl-1.js} +2 -2
  2. package/dist/{AppSubTitle-C3K23xXb.js → AppSubTitle-BTN0YAc7.js} +1 -1
  3. package/dist/{AppVerticalTabs-B05oTb_4.js → AppVerticalTabs-B7XXtAVj.js} +19 -18
  4. package/dist/{ConfirmationDialog-JR14pbWt.js → ConfirmationDialog-Dj4WdnHg.js} +5 -5
  5. package/dist/{DataTable-BHcadDqz.js → DataTable-CjrR27Di.js} +3 -3
  6. package/dist/{ErrorAlert-BZGt1hH3.js → ErrorAlert-B99Xb_Hg.js} +1 -1
  7. package/dist/{ErrorState-0Op-bIn7.js → ErrorState-CkeS_IBT.js} +1 -1
  8. package/dist/{GenericForm-C6iW17Kx.js → GenericForm-CydibLHU.js} +6 -6
  9. package/dist/{ImageInput-XRiPLRM6.js → ImageInput-DoOOvvth.js} +3 -3
  10. package/dist/{KpiCardsLayout-Be1LHbN7.js → KpiCardsLayout-Ca6otKVw.js} +5 -5
  11. package/dist/{LanguageSelector-C3WSlVQx.js → LanguageSelector-D5Ly1SFC.js} +1 -1
  12. package/dist/{MultiSelect-DCocjZB4.js → MultiSelect-DbH7LrsD.js} +3 -3
  13. package/dist/{PieChart-Cf6q_Pxe.js → PieChart-uozNJtEx.js} +1 -1
  14. package/dist/{SearchInput-rza2llpC.js → SearchInput-DIZ5Yt6L.js} +4 -4
  15. package/dist/{SkeletonCards-vsneHkXf.js → SkeletonCards-B9C4cNMr.js} +2 -2
  16. package/dist/{TableFilter-CBNO2K6p.js → TableFilter-CmEVF5Bo.js} +25 -25
  17. package/dist/{ThemeSelector-J-ZsBnI8.js → ThemeSelector-DKhn02V2.js} +2 -2
  18. package/dist/Topbar-CPWjqOBF.js +429 -0
  19. package/dist/components/core/cards/index.js +1 -1
  20. package/dist/components/core/charts/index.js +1 -1
  21. package/dist/components/core/dialogs/index.js +3 -3
  22. package/dist/components/core/filters/index.js +1 -1
  23. package/dist/components/core/forms/index.js +1 -1
  24. package/dist/components/core/index.js +52 -51
  25. package/dist/components/core/inputs/index.js +3 -3
  26. package/dist/components/core/language/index.js +1 -1
  27. package/dist/components/core/layouts/index.js +3 -3
  28. package/dist/components/core/navbar/NotificationsBell.d.ts +64 -0
  29. package/dist/components/core/navbar/NotificationsBell.d.ts.map +1 -0
  30. package/dist/components/core/navbar/index.d.ts +2 -0
  31. package/dist/components/core/navbar/index.d.ts.map +1 -1
  32. package/dist/components/core/navbar/index.js +5 -4
  33. package/dist/components/core/states/index.js +2 -2
  34. package/dist/components/core/table/index.js +1 -1
  35. package/dist/components/core/tabs/index.js +1 -1
  36. package/dist/components/core/theme/index.js +1 -1
  37. package/dist/components/index.js +236 -235
  38. package/dist/components/ui/index.js +104 -104
  39. package/dist/hooks/behavior/index.js +1 -1
  40. package/dist/hooks/index.js +2 -2
  41. package/dist/hooks/ui/index.js +1 -1
  42. package/dist/i18n/index.js +2 -2
  43. package/dist/i18n/krosoftLocales.d.ts +14 -0
  44. package/dist/i18n/krosoftLocales.d.ts.map +1 -1
  45. package/dist/sheet-XYI-ezvY.js +292 -0
  46. package/dist/{toaster-B1J0puB_.js → toaster-CyzB1m5z.js} +26 -26
  47. package/dist/{toggle-group-DLLrEwv2.js → toggle-group-iZqnrTj7.js} +519 -566
  48. package/dist/{useDateFnsLocale-gHocxHFa.js → useDateFnsLocale-D6VExZ8U.js} +1 -1
  49. package/dist/useKrosoftTranslation-BTp46G94.js +47 -0
  50. package/dist/{usePage-CLeciGbD.js → usePage-BQm6tdJD.js} +1 -1
  51. package/dist/{useTheme-Bs43Wf48.js → useTheme-DS6ZjdzM.js} +1 -1
  52. package/package.json +1 -1
  53. package/dist/Topbar-Dkgmpwp8.js +0 -319
  54. package/dist/sheet-DUrRR7MT.js +0 -245
  55. package/dist/useKrosoftTranslation-DRD49kc-.js +0 -45
@@ -1,9 +1,9 @@
1
- import { A as o, a as s, b as r, c as t, d as n, e as i, f as l, g as u, h as b, i as g, j as p, k as C, l as d, m, n as S, o as T, B as c, p as M, q as D, r as x, s as w, t as h, u as I, v as P, C as v, w as A, x as F, y as B, z as L, D as f, E as G, F as R, G as k, H, I as N, J as y, K as O, L as V, M as z, N as j, O as E, Q as q, R as U, S as J, T as K, U as Q, V as W, W as X, X as Y, Y as Z, Z as _, _ as $, $ as aa, a0 as ea, a1 as oa, a2 as sa, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as ba, aa as ga, ab as pa, ac as Ca, ad as da, ae as ma, af as Sa, ag as Ta, ah as ca, ai as Ma, aj as Da, ak as xa, al as wa, am as ha, an as Ia, ao as Pa, ap as va, aq as Aa, ar as Fa, as as Ba, at as La, au as fa, av as Ga, aw as Ra, ax as ka, ay as Ha, az as Na, aA as ya, aB as Oa, aC as Va, aD as za, aE as ja, aF as Ea, aG as qa, aH as Ua, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as ue, a$ as be, b0 as ge, b1 as pe, b2 as Ce, P as de, b3 as me, b4 as Se, b5 as Te, b6 as ce, b7 as Me, b8 as De, b9 as xe, ba as we, bb as he, bc as Ie, bd as Pe, be as ve, bf as Ae, bg as Fe, bh as Be, bi as Le, bj as fe, bk as Ge, bl as Re, bm as ke, bn as He, bo as Ne, bp as ye, bq as Oe, br as Ve, bs as ze, bt as je, bu as Ee, bv as qe, bw as Ue, bx as Je, by as Ke, bz as Qe, bA as We } from "../../toggle-group-DLLrEwv2.js";
2
- import { A as Ye, a as Ze, b as _e } from "../../alert-B9F1N9Qk.js";
3
- import { A as ao, C as eo, a as oo, b as so, R as ro, c as to, d as no, T as io, e as lo } from "../../toaster-B1J0puB_.js";
4
- import { B as bo, T as go, a as po, b as Co, c as mo, d as So, e as To, f as co } from "../../tooltip-DVeqVwqV.js";
5
- import { C as Do, a as xo, b as wo, c as ho, d as Io, e as Po, f as vo, g as Ao, h as Fo, i as Bo, j as Lo, k as fo } from "../../chart-DntJZGxB.js";
6
- import { C as Ro, j as ko, k as Ho, l as No, m as yo, n as Oo, o as Vo, p as zo, q as jo, D as Eo, a as qo, b as Uo, c as Jo, d as Ko, e as Qo, f as Wo, g as Xo, h as Yo, i as Zo, I as _o, S as $o, r as as, s as es, t as os, u as ss, v as rs, w as ts, x as ns, y as is, z as ls } from "../../sheet-DUrRR7MT.js";
1
+ import { A as o, a as s, b as r, c as t, d as n, e as i, f as l, g as u, h as b, i as g, j as p, k as C, l as d, m, n as S, o as T, B as c, p as M, q as D, r as x, s as w, t as h, u as P, v as I, C as v, w as A, x as F, y as B, z as L, D as f, E as G, F as R, G as k, H, I as N, J as y, K as O, L as V, M as z, N as E, O as j, Q as q, R as U, S as J, T as K, U as Q, V as W, W as X, X as Y, Y as Z, Z as _, _ as $, $ as aa, a0 as ea, a1 as oa, a2 as sa, a3 as ra, a4 as ta, a5 as na, a6 as ia, a7 as la, a8 as ua, a9 as ba, aa as ga, ab as pa, ac as Ca, ad as da, ae as ma, af as Sa, ag as Ta, ah as ca, ai as Ma, aj as Da, ak as xa, al as wa, am as ha, an as Pa, ao as Ia, ap as va, aq as Aa, ar as Fa, as as Ba, at as La, au as fa, av as Ga, aw as Ra, ax as ka, ay as Ha, az as Na, aA as ya, aB as Oa, aC as Va, aD as za, aE as Ea, aF as ja, aG as qa, aH as Ua, aI as Ja, aJ as Ka, aK as Qa, aL as Wa, aM as Xa, aN as Ya, aO as Za, aP as _a, aQ as $a, aR as ae, aS as ee, aT as oe, aU as se, aV as re, aW as te, aX as ne, aY as ie, aZ as le, a_ as ue, a$ as be, P as ge, b0 as pe, b1 as Ce, b2 as de, b3 as me, b4 as Se, b5 as Te, b6 as ce, b7 as Me, b8 as De, b9 as xe, ba as we, bb as he, bc as Pe, bd as Ie, be as ve, bf as Ae, bg as Fe, bh as Be, bi as Le, bj as fe, bk as Ge, bl as Re, bm as ke, bn as He, bo as Ne, bp as ye, bq as Oe, br as Ve, bs as ze, bt as Ee, bu as je, bv as qe } from "../../toggle-group-iZqnrTj7.js";
2
+ import { A as Je, a as Ke, b as Qe } from "../../alert-B9F1N9Qk.js";
3
+ import { A as Xe, C as Ye, a as Ze, b as _e, R as $e, c as ao, d as eo, T as oo, e as so } from "../../toaster-CyzB1m5z.js";
4
+ import { B as to, T as no, a as io, b as lo, c as uo, d as bo, e as go, f as po } from "../../tooltip-DVeqVwqV.js";
5
+ import { C as mo, a as So, b as To, c as co, d as Mo, e as Do, f as xo, g as wo, h as ho, i as Po, j as Io, k as vo } from "../../chart-DntJZGxB.js";
6
+ import { C as Fo, j as Bo, k as Lo, l as fo, m as Go, n as Ro, o as ko, p as Ho, q as No, D as yo, a as Oo, b as Vo, c as zo, d as Eo, e as jo, f as qo, g as Uo, h as Jo, i as Ko, I as Qo, P as Wo, r as Xo, s as Yo, S as Zo, t as _o, u as $o, v as as, w as es, x as os, y as ss, z as rs, A as ts, B as ns, E as is, F as ls } from "../../sheet-XYI-ezvY.js";
7
7
  import { S as bs, a as gs, b as ps, c as Cs, d as ds, e as ms, f as Ss, g as Ts, h as cs, i as Ms } from "../../select-BpjFWqAY.js";
8
8
  import { S as xs } from "../../skeleton-BX4RcsiK.js";
9
9
  import { toast as hs } from "sonner";
@@ -12,8 +12,8 @@ export {
12
12
  s as AccordionContent,
13
13
  r as AccordionItem,
14
14
  t as AccordionTrigger,
15
- Ye as Alert,
16
- Ze as AlertDescription,
15
+ Je as Alert,
16
+ Ke as AlertDescription,
17
17
  n as AlertDialog,
18
18
  i as AlertDialogAction,
19
19
  l as AlertDialogCancel,
@@ -23,8 +23,8 @@ export {
23
23
  p as AlertDialogHeader,
24
24
  C as AlertDialogTitle,
25
25
  d as AlertDialogTrigger,
26
- _e as AlertTitle,
27
- ao as AspectRatio,
26
+ Qe as AlertTitle,
27
+ Xe as AspectRatio,
28
28
  m as Avatar,
29
29
  S as AvatarFallback,
30
30
  T as AvatarImage,
@@ -34,40 +34,40 @@ export {
34
34
  x as BreadcrumbItem,
35
35
  w as BreadcrumbLink,
36
36
  h as BreadcrumbList,
37
- I as BreadcrumbPage,
38
- P as BreadcrumbSeparator,
39
- bo as Button,
37
+ P as BreadcrumbPage,
38
+ I as BreadcrumbSeparator,
39
+ to as Button,
40
40
  v as Calendar,
41
- Do as Card,
42
- xo as CardContent,
43
- wo as CardDescription,
44
- ho as CardFooter,
45
- Io as CardHeader,
46
- Po as CardTitle,
41
+ mo as Card,
42
+ So as CardContent,
43
+ To as CardDescription,
44
+ co as CardFooter,
45
+ Mo as CardHeader,
46
+ Do as CardTitle,
47
47
  A as Carousel,
48
48
  F as CarouselContent,
49
49
  B as CarouselItem,
50
50
  L as CarouselNext,
51
51
  f as CarouselPrevious,
52
- vo as ChartContainer,
53
- Ao as ChartLegend,
54
- Fo as ChartLegendContent,
55
- Bo as ChartStyle,
56
- Lo as ChartTooltip,
57
- fo as ChartTooltipContent,
52
+ xo as ChartContainer,
53
+ wo as ChartLegend,
54
+ ho as ChartLegendContent,
55
+ Po as ChartStyle,
56
+ Io as ChartTooltip,
57
+ vo as ChartTooltipContent,
58
58
  G as Checkbox,
59
- eo as Collapsible,
60
- oo as CollapsibleContent,
61
- so as CollapsibleTrigger,
62
- Ro as Command,
63
- ko as CommandDialog,
64
- Ho as CommandEmpty,
65
- No as CommandGroup,
66
- yo as CommandInput,
67
- Oo as CommandItem,
68
- Vo as CommandList,
69
- zo as CommandSeparator,
70
- jo as CommandShortcut,
59
+ Ye as Collapsible,
60
+ Ze as CollapsibleContent,
61
+ _e as CollapsibleTrigger,
62
+ Fo as Command,
63
+ Bo as CommandDialog,
64
+ Lo as CommandEmpty,
65
+ fo as CommandGroup,
66
+ Go as CommandInput,
67
+ Ro as CommandItem,
68
+ ko as CommandList,
69
+ Ho as CommandSeparator,
70
+ No as CommandShortcut,
71
71
  R as ContextMenu,
72
72
  k as ContextMenuCheckboxItem,
73
73
  H as ContextMenuContent,
@@ -76,23 +76,23 @@ export {
76
76
  O as ContextMenuLabel,
77
77
  V as ContextMenuPortal,
78
78
  z as ContextMenuRadioGroup,
79
- j as ContextMenuRadioItem,
80
- E as ContextMenuSeparator,
79
+ E as ContextMenuRadioItem,
80
+ j as ContextMenuSeparator,
81
81
  q as ContextMenuShortcut,
82
82
  U as ContextMenuSub,
83
83
  J as ContextMenuSubContent,
84
84
  K as ContextMenuSubTrigger,
85
85
  Q as ContextMenuTrigger,
86
- Eo as Dialog,
87
- qo as DialogClose,
88
- Uo as DialogContent,
89
- Jo as DialogDescription,
90
- Ko as DialogFooter,
91
- Qo as DialogHeader,
92
- Wo as DialogOverlay,
93
- Xo as DialogPortal,
94
- Yo as DialogTitle,
95
- Zo as DialogTrigger,
86
+ yo as Dialog,
87
+ Oo as DialogClose,
88
+ Vo as DialogContent,
89
+ zo as DialogDescription,
90
+ Eo as DialogFooter,
91
+ jo as DialogHeader,
92
+ qo as DialogOverlay,
93
+ Uo as DialogPortal,
94
+ Jo as DialogTitle,
95
+ Ko as DialogTrigger,
96
96
  W as Drawer,
97
97
  X as DrawerClose,
98
98
  Y as DrawerContent,
@@ -123,12 +123,12 @@ export {
123
123
  xa as FormDescription,
124
124
  wa as FormField,
125
125
  ha as FormItem,
126
- Ia as FormLabel,
127
- Pa as FormMessage,
126
+ Pa as FormLabel,
127
+ Ia as FormMessage,
128
128
  va as HoverCard,
129
129
  Aa as HoverCardContent,
130
130
  Fa as HoverCardTrigger,
131
- _o as Input,
131
+ Qo as Input,
132
132
  Ba as InputOTP,
133
133
  La as InputOTPGroup,
134
134
  fa as InputOTPSeparator,
@@ -141,8 +141,8 @@ export {
141
141
  Oa as MenubarItem,
142
142
  Va as MenubarLabel,
143
143
  za as MenubarMenu,
144
- ja as MenubarPortal,
145
- Ea as MenubarRadioGroup,
144
+ Ea as MenubarPortal,
145
+ ja as MenubarRadioGroup,
146
146
  qa as MenubarRadioItem,
147
147
  Ua as MenubarSeparator,
148
148
  Ja as MenubarShortcut,
@@ -165,17 +165,17 @@ export {
165
165
  le as PaginationLink,
166
166
  ue as PaginationNext,
167
167
  be as PaginationPrevious,
168
- ge as Popover,
169
- pe as PopoverContent,
170
- Ce as PopoverTrigger,
171
- de as Progress,
172
- me as RadioGroup,
173
- Se as RadioGroupItem,
174
- ro as ResizableHandle,
175
- to as ResizablePanel,
176
- no as ResizablePanelGroup,
177
- Te as ScrollArea,
178
- ce as ScrollBar,
168
+ Wo as Popover,
169
+ Xo as PopoverContent,
170
+ Yo as PopoverTrigger,
171
+ ge as Progress,
172
+ pe as RadioGroup,
173
+ Ce as RadioGroupItem,
174
+ $e as ResizableHandle,
175
+ ao as ResizablePanel,
176
+ eo as ResizablePanelGroup,
177
+ Zo as ScrollArea,
178
+ _o as ScrollBar,
179
179
  bs as Select,
180
180
  gs as SelectContent,
181
181
  ps as SelectGroup,
@@ -186,7 +186,7 @@ export {
186
186
  Ts as SelectSeparator,
187
187
  cs as SelectTrigger,
188
188
  Ms as SelectValue,
189
- Me as Separator,
189
+ de as Separator,
190
190
  $o as Sheet,
191
191
  as as SheetClose,
192
192
  es as SheetContent,
@@ -197,44 +197,44 @@ export {
197
197
  ns as SheetPortal,
198
198
  is as SheetTitle,
199
199
  ls as SheetTrigger,
200
- De as SimpleTable,
201
- xe as SimpleTableBody,
202
- we as SimpleTableCaption,
203
- he as SimpleTableCell,
204
- Ie as SimpleTableFooter,
205
- Pe as SimpleTableHead,
206
- ve as SimpleTableHeader,
207
- Ae as SimpleTableRow,
200
+ me as SimpleTable,
201
+ Se as SimpleTableBody,
202
+ Te as SimpleTableCaption,
203
+ ce as SimpleTableCell,
204
+ Me as SimpleTableFooter,
205
+ De as SimpleTableHead,
206
+ xe as SimpleTableHeader,
207
+ we as SimpleTableRow,
208
208
  xs as Skeleton,
209
- Fe as Slider,
210
- io as Sonner,
211
- Be as Switch,
212
- Le as Tabs,
213
- fe as TabsContent,
214
- Ge as TabsList,
215
- Re as TabsTrigger,
216
- ke as Textarea,
217
- He as Toast,
218
- Ne as ToastAction,
219
- ye as ToastClose,
220
- Oe as ToastDescription,
221
- Ve as ToastProvider,
222
- ze as ToastTitle,
223
- je as ToastViewport,
224
- lo as Toaster,
225
- Ee as Toggle,
226
- qe as ToggleGroup,
227
- Ue as ToggleGroupItem,
228
- go as Tooltip,
229
- po as TooltipContent,
230
- Co as TooltipProvider,
231
- mo as TooltipTrigger,
232
- Je as badgeVariants,
233
- So as buttonVariants,
234
- To as controlBaseClass,
235
- co as controlTriggerClass,
236
- Ke as navigationMenuTriggerStyle,
209
+ he as Slider,
210
+ oo as Sonner,
211
+ Pe as Switch,
212
+ Ie as Tabs,
213
+ ve as TabsContent,
214
+ Ae as TabsList,
215
+ Fe as TabsTrigger,
216
+ Be as Textarea,
217
+ Le as Toast,
218
+ fe as ToastAction,
219
+ Ge as ToastClose,
220
+ Re as ToastDescription,
221
+ ke as ToastProvider,
222
+ He as ToastTitle,
223
+ Ne as ToastViewport,
224
+ so as Toaster,
225
+ ye as Toggle,
226
+ Oe as ToggleGroup,
227
+ Ve as ToggleGroupItem,
228
+ no as Tooltip,
229
+ io as TooltipContent,
230
+ lo as TooltipProvider,
231
+ uo as TooltipTrigger,
232
+ ze as badgeVariants,
233
+ bo as buttonVariants,
234
+ go as controlBaseClass,
235
+ po as controlTriggerClass,
236
+ Ee as navigationMenuTriggerStyle,
237
237
  hs as toast,
238
- Qe as toggleVariants,
239
- We as useFormField
238
+ je as toggleVariants,
239
+ qe as useFormField
240
240
  };
@@ -1,4 +1,4 @@
1
- import { u as s, a as o, b as u, c as i, d as r } from "../../usePage-CLeciGbD.js";
1
+ import { u as s, a as o, b as u, c as i, d as r } from "../../usePage-BQm6tdJD.js";
2
2
  import { u as D } from "../../useSidebar-BJuALHqQ.js";
3
3
  export {
4
4
  s as useConfirmDeleteDialog,
@@ -1,4 +1,4 @@
1
- import { u as s, a, b as u, c as r, d as t } from "../usePage-CLeciGbD.js";
1
+ import { u as s, a, b as u, c as r, d as t } from "../usePage-BQm6tdJD.js";
2
2
  import { u as f } from "../useSidebar-BJuALHqQ.js";
3
3
  import { u as l, a as x } from "../useFixedColumns-CKZyu4PD.js";
4
4
  import { u as n } from "../useDocumentTitle-WNwdPz-I.js";
@@ -7,7 +7,7 @@ import { u as c } from "../useMobile-DN1_OMDB.js";
7
7
  import { u as T } from "../useNotifications-zbUhCvF_.js";
8
8
  import { u as S } from "../useScrollFade-BA4KqJYp.js";
9
9
  import { u as h } from "../useServerTable-UvTY6L1N.js";
10
- import { u as L } from "../useTheme-Bs43Wf48.js";
10
+ import { u as L } from "../useTheme-DS6ZjdzM.js";
11
11
  import { t as N, u as P } from "../useToast-BFTk4lWz.js";
12
12
  export {
13
13
  N as toast,
@@ -5,7 +5,7 @@ import { u as x } from "../../useMobile-DN1_OMDB.js";
5
5
  import { u as l } from "../../useNotifications-zbUhCvF_.js";
6
6
  import { u as T } from "../../useScrollFade-BA4KqJYp.js";
7
7
  import { u as b } from "../../useServerTable-UvTY6L1N.js";
8
- import { u as d } from "../../useTheme-Bs43Wf48.js";
8
+ import { u as d } from "../../useTheme-DS6ZjdzM.js";
9
9
  import { t as D, u as F } from "../../useToast-BFTk4lWz.js";
10
10
  export {
11
11
  D as toast,
@@ -1,5 +1,5 @@
1
- import { K as a, k as e, r, u as t } from "../useKrosoftTranslation-DRD49kc-.js";
2
- import { d as l, u as c } from "../useDateFnsLocale-gHocxHFa.js";
1
+ import { K as a, k as e, r, u as t } from "../useKrosoftTranslation-BTp46G94.js";
2
+ import { d as l, u as c } from "../useDateFnsLocale-D6VExZ8U.js";
3
3
  export {
4
4
  a as KROSOFT_NAMESPACE,
5
5
  l as dateFnsLocale,
@@ -36,6 +36,13 @@ export declare const krosoftLocales: {
36
36
  commandDescription: string;
37
37
  loading: string;
38
38
  };
39
+ notifications: {
40
+ trigger: string;
41
+ title: string;
42
+ empty: string;
43
+ markAllAsRead: string;
44
+ remove: string;
45
+ };
39
46
  select: {
40
47
  placeholder: string;
41
48
  create: string;
@@ -113,6 +120,13 @@ export declare const krosoftLocales: {
113
120
  commandDescription: string;
114
121
  loading: string;
115
122
  };
123
+ notifications: {
124
+ trigger: string;
125
+ title: string;
126
+ empty: string;
127
+ markAllAsRead: string;
128
+ remove: string;
129
+ };
116
130
  select: {
117
131
  placeholder: string;
118
132
  create: string;
@@ -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"}
@@ -0,0 +1,292 @@
1
+ import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
+ import "date-fns/locale";
3
+ import "react-i18next";
4
+ import { u as C } from "./useKrosoftTranslation-BTp46G94.js";
5
+ import { c as r } from "./tailwind.helper-B6yFEsav.js";
6
+ import { Command as n } from "cmdk";
7
+ import { X as u, SearchIcon as k } from "lucide-react";
8
+ import * as d from "react";
9
+ import * as s from "@radix-ui/react-dialog";
10
+ import { e as S } from "./tooltip-DVeqVwqV.js";
11
+ import * as p from "@radix-ui/react-popover";
12
+ import * as m from "@radix-ui/react-scroll-area";
13
+ import { cva as R } from "class-variance-authority";
14
+ const D = s.Root, se = s.Trigger, _ = s.Portal, re = s.Close, g = d.forwardRef(
15
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(
16
+ s.Overlay,
17
+ {
18
+ ref: t,
19
+ className: r(
20
+ "fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
21
+ a
22
+ ),
23
+ ...e
24
+ }
25
+ )
26
+ );
27
+ g.displayName = s.Overlay.displayName;
28
+ const z = "w-full max-w-none h-[100dvh] max-h-[100dvh] content-start rounded-none sm:h-auto sm:max-h-[95vh] sm:max-w-lg sm:rounded-surface", h = d.forwardRef(
29
+ ({ className: a, children: e, ...t }, l) => /* @__PURE__ */ i(_, { children: [
30
+ /* @__PURE__ */ o(g, {}),
31
+ /* @__PURE__ */ i(
32
+ s.Content,
33
+ {
34
+ ref: l,
35
+ className: r(
36
+ "fixed left-[50%] top-[50%] z-[70] grid overflow-y-auto translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
37
+ z,
38
+ a
39
+ ),
40
+ ...t,
41
+ children: [
42
+ e,
43
+ /* @__PURE__ */ i(s.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-accent data-[state=open]:text-muted-foreground hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
44
+ /* @__PURE__ */ o(u, { className: "size-4" }),
45
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
46
+ ] })
47
+ ]
48
+ }
49
+ )
50
+ ] })
51
+ );
52
+ h.displayName = s.Content.displayName;
53
+ const T = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-1.5 text-center sm:text-left", a), ...e });
54
+ T.displayName = "DialogHeader";
55
+ const P = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
56
+ P.displayName = "DialogFooter";
57
+ const x = d.forwardRef(
58
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(s.Title, { ref: t, className: r("text-lg font-semibold leading-none tracking-tight", a), ...e })
59
+ );
60
+ x.displayName = s.Title.displayName;
61
+ const y = d.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(s.Description, { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
62
+ y.displayName = s.Description.displayName;
63
+ const N = d.forwardRef(
64
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(
65
+ n,
66
+ {
67
+ ref: t,
68
+ className: r("flex h-full w-full flex-col overflow-hidden rounded-surface bg-popover text-popover-foreground", a),
69
+ ...e
70
+ }
71
+ )
72
+ );
73
+ N.displayName = n.displayName;
74
+ const de = ({ title: a, description: e, shouldFilter: t, className: l, children: c, ...w }) => {
75
+ const { t: f } = C();
76
+ return /* @__PURE__ */ o(D, { ...w, children: /* @__PURE__ */ i(h, { className: "flex flex-col overflow-hidden p-0 shadow-lg", children: [
77
+ /* @__PURE__ */ o(x, { className: "sr-only", children: a ?? f("search.commandTitle") }),
78
+ /* @__PURE__ */ o(y, { className: "sr-only", children: e ?? f("search.commandDescription") }),
79
+ /* @__PURE__ */ o(
80
+ N,
81
+ {
82
+ shouldFilter: t,
83
+ className: r(
84
+ "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:size-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3",
85
+ "[&_[cmdk-list]]:max-h-none [&_[cmdk-list]]:min-h-0 [&_[cmdk-list]]:flex-1 sm:[&_[cmdk-list]]:max-h-[300px] sm:[&_[cmdk-list]]:flex-none",
86
+ l
87
+ ),
88
+ children: c
89
+ }
90
+ )
91
+ ] }) });
92
+ }, I = d.forwardRef(
93
+ ({ className: a, ...e }, t) => /* @__PURE__ */ i("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
94
+ /* @__PURE__ */ o(k, { className: "mr-2 size-4 shrink-0 opacity-50" }),
95
+ /* @__PURE__ */ o(
96
+ n.Input,
97
+ {
98
+ ref: t,
99
+ className: r(
100
+ "flex h-11 w-full rounded-control bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
101
+ a
102
+ ),
103
+ ...e
104
+ }
105
+ )
106
+ ] })
107
+ );
108
+ I.displayName = n.Input.displayName;
109
+ const A = d.forwardRef(
110
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(n.List, { ref: t, className: r("max-h-[300px] overflow-y-auto overflow-x-hidden", a), ...e })
111
+ );
112
+ A.displayName = n.List.displayName;
113
+ const O = d.forwardRef(
114
+ (a, e) => /* @__PURE__ */ o(n.Empty, { ref: e, className: "py-6 text-center text-sm", ...a })
115
+ );
116
+ O.displayName = n.Empty.displayName;
117
+ const j = d.forwardRef(
118
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(
119
+ n.Group,
120
+ {
121
+ ref: t,
122
+ className: r(
123
+ "overflow-hidden p-1 text-foreground [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground",
124
+ a
125
+ ),
126
+ ...e
127
+ }
128
+ )
129
+ );
130
+ j.displayName = n.Group.displayName;
131
+ const F = d.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(n.Separator, { ref: t, className: r("-mx-1 h-px bg-border", a), ...e }));
132
+ F.displayName = n.Separator.displayName;
133
+ const E = d.forwardRef(
134
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(
135
+ n.Item,
136
+ {
137
+ ref: t,
138
+ className: r(
139
+ "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none data-[disabled=true]:pointer-events-none data-[selected='true']:bg-accent data-[selected=true]:text-accent-foreground data-[disabled=true]:opacity-50",
140
+ a
141
+ ),
142
+ ...e
143
+ }
144
+ )
145
+ );
146
+ E.displayName = n.Item.displayName;
147
+ const H = ({ className: a, ...e }) => /* @__PURE__ */ o("span", { className: r("ml-auto text-xs tracking-widest text-muted-foreground", a), ...e });
148
+ H.displayName = "CommandShortcut";
149
+ const B = d.forwardRef(({ className: a, type: e, ...t }, l) => /* @__PURE__ */ o(
150
+ "input",
151
+ {
152
+ type: e,
153
+ className: r(
154
+ S,
155
+ // text-base sur mobile : évite le zoom automatique d'iOS à la prise de focus.
156
+ "flex w-full text-base file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 md:text-sm",
157
+ a
158
+ ),
159
+ ref: l,
160
+ ...t
161
+ }
162
+ ));
163
+ B.displayName = "Input";
164
+ const ne = p.Root, le = p.Trigger, G = d.forwardRef(
165
+ ({ className: a, align: e = "center", sideOffset: t = 4, ...l }, c) => /* @__PURE__ */ o(p.Portal, { children: /* @__PURE__ */ o(
166
+ p.Content,
167
+ {
168
+ ref: c,
169
+ align: e,
170
+ sideOffset: t,
171
+ className: r(
172
+ "z-[100] w-72 rounded-surface border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
173
+ a
174
+ ),
175
+ ...l
176
+ }
177
+ ) })
178
+ );
179
+ G.displayName = p.Content.displayName;
180
+ const L = d.forwardRef(
181
+ ({ className: a, children: e, ...t }, l) => /* @__PURE__ */ i(m.Root, { ref: l, className: r("relative overflow-hidden", a), ...t, children: [
182
+ /* @__PURE__ */ o(m.Viewport, { className: "h-full w-full rounded-[inherit]", children: e }),
183
+ /* @__PURE__ */ o(b, {}),
184
+ /* @__PURE__ */ o(m.Corner, {})
185
+ ] })
186
+ );
187
+ L.displayName = m.Root.displayName;
188
+ const b = d.forwardRef(({ className: a, orientation: e = "vertical", ...t }, l) => /* @__PURE__ */ o(
189
+ m.ScrollAreaScrollbar,
190
+ {
191
+ ref: l,
192
+ orientation: e,
193
+ className: r(
194
+ "flex touch-none select-none transition-colors",
195
+ e === "vertical" && "h-full w-2.5 border-l border-l-transparent p-[1px]",
196
+ e === "horizontal" && "h-2.5 flex-col border-t border-t-transparent p-[1px]",
197
+ a
198
+ ),
199
+ ...t,
200
+ children: /* @__PURE__ */ o(m.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
201
+ }
202
+ ));
203
+ b.displayName = m.ScrollAreaScrollbar.displayName;
204
+ const ie = s.Root, me = s.Trigger, ce = s.Close, V = s.Portal, v = d.forwardRef(
205
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(
206
+ s.Overlay,
207
+ {
208
+ className: r(
209
+ "fixed inset-0 z-[70] bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
210
+ a
211
+ ),
212
+ ...e,
213
+ ref: t
214
+ }
215
+ )
216
+ );
217
+ v.displayName = s.Overlay.displayName;
218
+ const q = R(
219
+ "fixed z-[70] gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
220
+ {
221
+ variants: {
222
+ side: {
223
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
224
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
225
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
226
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
227
+ }
228
+ },
229
+ defaultVariants: {
230
+ side: "right"
231
+ }
232
+ }
233
+ ), K = d.forwardRef(
234
+ ({ side: a = "right", className: e, children: t, ...l }, c) => /* @__PURE__ */ i(V, { children: [
235
+ /* @__PURE__ */ o(v, {}),
236
+ /* @__PURE__ */ i(s.Content, { ref: c, className: r(q({ side: a }), e), ...l, children: [
237
+ t,
238
+ /* @__PURE__ */ i(s.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity data-[state=open]:bg-secondary hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none", children: [
239
+ /* @__PURE__ */ o(u, { className: "size-4" }),
240
+ /* @__PURE__ */ o("span", { className: "sr-only", children: "Close" })
241
+ ] })
242
+ ] })
243
+ ] })
244
+ );
245
+ K.displayName = s.Content.displayName;
246
+ const X = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col space-y-2 text-center sm:text-left", a), ...e });
247
+ X.displayName = "SheetHeader";
248
+ const $ = ({ className: a, ...e }) => /* @__PURE__ */ o("div", { className: r("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", a), ...e });
249
+ $.displayName = "SheetFooter";
250
+ const J = d.forwardRef(
251
+ ({ className: a, ...e }, t) => /* @__PURE__ */ o(s.Title, { ref: t, className: r("text-lg font-semibold text-foreground", a), ...e })
252
+ );
253
+ J.displayName = s.Title.displayName;
254
+ const M = d.forwardRef(({ className: a, ...e }, t) => /* @__PURE__ */ o(s.Description, { ref: t, className: r("text-sm text-muted-foreground", a), ...e }));
255
+ M.displayName = s.Description.displayName;
256
+ export {
257
+ v as A,
258
+ V as B,
259
+ N as C,
260
+ D,
261
+ J as E,
262
+ me as F,
263
+ B as I,
264
+ ne as P,
265
+ L as S,
266
+ re as a,
267
+ h as b,
268
+ y as c,
269
+ P as d,
270
+ T as e,
271
+ g as f,
272
+ _ as g,
273
+ x as h,
274
+ se as i,
275
+ de as j,
276
+ O as k,
277
+ j as l,
278
+ I as m,
279
+ E as n,
280
+ A as o,
281
+ F as p,
282
+ H as q,
283
+ G as r,
284
+ le as s,
285
+ b as t,
286
+ ie as u,
287
+ ce as v,
288
+ K as w,
289
+ M as x,
290
+ $ as y,
291
+ X as z
292
+ };