@cryptlex/web-components 1.3.2 → 1.3.4

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 (76) hide show
  1. package/dist/components/data-table/column-picker.es.js +78 -0
  2. package/dist/components/data-table/column-picker.es.js.map +1 -0
  3. package/dist/components/data-table/data-table.es.js +197 -0
  4. package/dist/components/data-table/data-table.es.js.map +1 -0
  5. package/dist/components/data-table/page-size.es.js +23 -0
  6. package/dist/components/data-table/page-size.es.js.map +1 -0
  7. package/dist/components/data-table/paginator.es.js +63 -0
  8. package/dist/components/data-table/paginator.es.js.map +1 -0
  9. package/dist/components/data-table/table-actions.es.js +78 -0
  10. package/dist/components/data-table/table-actions.es.js.map +1 -0
  11. package/dist/components/data-table/table-commons.es.js +52 -0
  12. package/dist/components/data-table/table-commons.es.js.map +1 -0
  13. package/dist/components/data-table/table-content.es.js +46 -0
  14. package/dist/components/data-table/table-content.es.js.map +1 -0
  15. package/dist/components/data-table/table-utils/constants.es.js +274 -0
  16. package/dist/components/data-table/table-utils/constants.es.js.map +1 -0
  17. package/dist/components/data-table/table-utils/createTableFetchFn.es.js +24 -0
  18. package/dist/components/data-table/table-utils/createTableFetchFn.es.js.map +1 -0
  19. package/dist/components/data-table/table-utils/date.es.js +12 -0
  20. package/dist/components/data-table/table-utils/date.es.js.map +1 -0
  21. package/dist/components/data-table/table-utils/link-display.es.js +21 -0
  22. package/dist/components/data-table/table-utils/link-display.es.js.map +1 -0
  23. package/dist/components/data-table/table-utils/string.es.js +19 -0
  24. package/dist/components/data-table/table-utils/string.es.js.map +1 -0
  25. package/dist/components/data-table/table-utils/types.es.js +5 -0
  26. package/dist/components/data-table/table-utils/types.es.js.map +1 -0
  27. package/dist/components/info-card/info-card.es.js +71 -0
  28. package/dist/components/info-card/info-card.es.js.map +1 -0
  29. package/dist/components/sidebar/app-layout.es.js +83 -0
  30. package/dist/components/sidebar/app-layout.es.js.map +1 -0
  31. package/dist/components/sidebar/nav-main.es.js +76 -0
  32. package/dist/components/sidebar/nav-main.es.js.map +1 -0
  33. package/dist/components/sidebar/sidebar.es.js +10 -0
  34. package/dist/components/sidebar/sidebar.es.js.map +1 -0
  35. package/dist/components/static-data-table/data-table.es.js +30 -0
  36. package/dist/components/static-data-table/data-table.es.js.map +1 -0
  37. package/dist/components/ui/avatar.es.js +12 -14
  38. package/dist/components/ui/avatar.es.js.map +1 -1
  39. package/dist/components/ui/button.es.js +12 -22
  40. package/dist/components/ui/button.es.js.map +1 -1
  41. package/dist/components/ui/chart.es.js +40 -51
  42. package/dist/components/ui/chart.es.js.map +1 -1
  43. package/dist/components/ui/collapsible.es.js +1 -0
  44. package/dist/components/ui/collapsible.es.js.map +1 -1
  45. package/dist/components/ui/dialog.es.js +23 -22
  46. package/dist/components/ui/dialog.es.js.map +1 -1
  47. package/dist/components/ui/drawer.es.js +16 -48
  48. package/dist/components/ui/drawer.es.js.map +1 -1
  49. package/dist/components/ui/form.es.js +28 -29
  50. package/dist/components/ui/form.es.js.map +1 -1
  51. package/dist/components/ui/mutli-select.es.js +195 -0
  52. package/dist/components/ui/mutli-select.es.js.map +1 -0
  53. package/dist/components/ui/password-input.es.js +9 -8
  54. package/dist/components/ui/password-input.es.js.map +1 -1
  55. package/dist/components/ui/search-input.es.js +42 -0
  56. package/dist/components/ui/search-input.es.js.map +1 -0
  57. package/dist/components/ui/select.es.js +4 -9
  58. package/dist/components/ui/select.es.js.map +1 -1
  59. package/dist/components/ui/separator.es.js +17 -18
  60. package/dist/components/ui/separator.es.js.map +1 -1
  61. package/dist/components/ui/sheet.es.js +12 -37
  62. package/dist/components/ui/sheet.es.js.map +1 -1
  63. package/dist/components/ui/sidebar.es.js +286 -264
  64. package/dist/components/ui/sidebar.es.js.map +1 -1
  65. package/dist/components/ui/sonner.es.js +3 -2
  66. package/dist/components/ui/sonner.es.js.map +1 -1
  67. package/dist/components/ui/table-page-layout.es.js +14 -0
  68. package/dist/components/ui/table-page-layout.es.js.map +1 -0
  69. package/dist/components/ui/tooltip.es.js +9 -8
  70. package/dist/components/ui/tooltip.es.js.map +1 -1
  71. package/dist/index.es.d.ts +248 -2
  72. package/dist/index.es.js +247 -200
  73. package/dist/index.es.js.map +1 -1
  74. package/dist/utils/index.es.js +13 -8
  75. package/dist/utils/index.es.js.map +1 -1
  76. package/package.json +13 -3
package/dist/index.es.js CHANGED
@@ -1,223 +1,270 @@
1
- import { Accordion as r, AccordionContent as t, AccordionItem as a, AccordionTrigger as n } from "./components/ui/accordion.es.js";
2
- import { Avatar as p, AvatarFallback as d, AvatarImage as l } from "./components/ui/avatar.es.js";
3
- import { Badge as u, badgeVariants as S } from "./components/ui/badge.es.js";
4
- import { Breadcrumb as b, BreadcrumbEllipsis as C, BreadcrumbItem as T, BreadcrumbLink as c, BreadcrumbList as D, BreadcrumbPage as s, BreadcrumbSeparator as x } from "./components/ui/breadcrumb.es.js";
5
- import { Button as f, buttonVariants as w } from "./components/ui/button.es.js";
6
- import { Calendar as P } from "./components/ui/calendar.es.js";
7
- import { Card as v, CardContent as F, CardDescription as L, CardFooter as B, CardHeader as G, CardTitle as A } from "./components/ui/card.es.js";
8
- import { ChartContainer as H, ChartLegend as k, ChartLegendContent as y, ChartStyle as O, ChartTooltip as R, ChartTooltipContent as V } from "./components/ui/chart.es.js";
9
- import { Checkbox as U } from "./components/ui/checkbox.es.js";
10
- import { Collapsible as q, CollapsibleContent as z, CollapsibleTrigger as J } from "./components/ui/collapsible.es.js";
11
- import { Command as Q, CommandDialog as W, CommandEmpty as X, CommandGroup as Y, CommandInput as Z, CommandItem as _, CommandList as $, CommandSeparator as ee, CommandShortcut as oe } from "./components/ui/command.es.js";
12
- import { Dialog as te, DialogClose as ae, DialogContent as ne, DialogDescription as ie, DialogFooter as pe, DialogHeader as de, DialogOverlay as le, DialogPortal as me, DialogTitle as ue, DialogTrigger as Se } from "./components/ui/dialog.es.js";
13
- import { Drawer as be, DrawerClose as Ce, DrawerContent as Te, DrawerDescription as ce, DrawerFooter as De, DrawerHeader as se, DrawerOverlay as xe, DrawerPortal as Me, DrawerTitle as fe, DrawerTrigger as we } from "./components/ui/drawer.es.js";
14
- import { DropdownMenu as Pe, DropdownMenuCheckboxItem as he, DropdownMenuContent as ve, DropdownMenuGroup as Fe, DropdownMenuItem as Le, DropdownMenuLabel as Be, DropdownMenuPortal as Ge, DropdownMenuRadioGroup as Ae, DropdownMenuRadioItem as Ne, DropdownMenuSeparator as He, DropdownMenuShortcut as ke, DropdownMenuSub as ye, DropdownMenuSubContent as Oe, DropdownMenuSubTrigger as Re, DropdownMenuTrigger as Ve } from "./components/ui/dropdown-menu.es.js";
15
- import { Form as Ue, FormControl as je, FormDescription as qe, FormField as ze, FormItem as Je, FormLabel as Ke, FormMessage as Qe, useFormField as We } from "./components/ui/form.es.js";
16
- import { Input as Ye } from "./components/ui/input.es.js";
17
- import { InputOTP as _e, InputOTPGroup as $e, InputOTPSeparator as eo, InputOTPSlot as oo } from "./components/ui/input-otp.es.js";
18
- import { Label as to } from "./components/ui/label.es.js";
19
- import { Loader as no } from "./components/ui/loader.es.js";
20
- import { NavigationMenu as po, NavigationMenuContent as lo, NavigationMenuIndicator as mo, NavigationMenuItem as uo, NavigationMenuLink as So, NavigationMenuList as go, NavigationMenuListItem as bo, NavigationMenuTrigger as Co, NavigationMenuViewport as To, navigationMenuTriggerStyle as co } from "./components/ui/navigation-menu.es.js";
21
- import { Pagination as so, PaginationContent as xo, PaginationEllipsis as Mo, PaginationItem as fo, PaginationLink as wo, PaginationNext as Io, PaginationPrevious as Po } from "./components/ui/pagination.es.js";
22
- import { PasswordInput as vo } from "./components/ui/password-input.es.js";
23
- import { Popover as Lo, PopoverAnchor as Bo, PopoverContent as Go, PopoverTrigger as Ao } from "./components/ui/popover.es.js";
24
- import { RadioGroup as Ho, RadioGroupItem as ko } from "./components/ui/radio-group.es.js";
25
- import { Select as Oo, SelectContent as Ro, SelectGroup as Vo, SelectItem as Eo, SelectLabel as Uo, SelectScrollDownButton as jo, SelectScrollUpButton as qo, SelectSeparator as zo, SelectTrigger as Jo, SelectValue as Ko } from "./components/ui/select.es.js";
1
+ import { Accordion as t, AccordionContent as a, AccordionItem as n, AccordionTrigger as i } from "./components/ui/accordion.es.js";
2
+ import { Avatar as m, AvatarFallback as l, AvatarImage as d } from "./components/ui/avatar.es.js";
3
+ import { Badge as S, badgeVariants as g } from "./components/ui/badge.es.js";
4
+ import { Breadcrumb as b, BreadcrumbEllipsis as C, BreadcrumbItem as D, BreadcrumbLink as x, BreadcrumbList as c, BreadcrumbPage as f, BreadcrumbSeparator as s } from "./components/ui/breadcrumb.es.js";
5
+ import { Button as I, buttonVariants as P } from "./components/ui/button.es.js";
6
+ import { Calendar as F } from "./components/ui/calendar.es.js";
7
+ import { Card as E, CardContent as R, CardDescription as v, CardFooter as h, CardHeader as A, CardTitle as O } from "./components/ui/card.es.js";
8
+ import { ChartContainer as B, ChartLegend as _, ChartLegendContent as y, ChartStyle as G, ChartTooltip as H, ChartTooltipContent as k } from "./components/ui/chart.es.js";
9
+ import { Checkbox as V } from "./components/ui/checkbox.es.js";
10
+ import { Collapsible as z, CollapsibleContent as K, CollapsibleTrigger as X } from "./components/ui/collapsible.es.js";
11
+ import { Command as q, CommandDialog as J, CommandEmpty as Q, CommandGroup as W, CommandInput as Z, CommandItem as $, CommandList as ee, CommandSeparator as oe, CommandShortcut as re } from "./components/ui/command.es.js";
12
+ import { Dialog as ae, DialogClose as ne, DialogContent as ie, DialogDescription as pe, DialogFooter as me, DialogHeader as le, DialogOverlay as de, DialogPortal as ue, DialogTitle as Se, DialogTrigger as ge } from "./components/ui/dialog.es.js";
13
+ import { Drawer as be, DrawerClose as Ce, DrawerContent as De, DrawerDescription as xe, DrawerFooter as ce, DrawerHeader as fe, DrawerOverlay as se, DrawerPortal as Me, DrawerTitle as Ie, DrawerTrigger as Pe } from "./components/ui/drawer.es.js";
14
+ import { DropdownMenu as Fe, DropdownMenuCheckboxItem as we, DropdownMenuContent as Ee, DropdownMenuGroup as Re, DropdownMenuItem as ve, DropdownMenuLabel as he, DropdownMenuPortal as Ae, DropdownMenuRadioGroup as Oe, DropdownMenuRadioItem as Ne, DropdownMenuSeparator as Be, DropdownMenuShortcut as _e, DropdownMenuSub as ye, DropdownMenuSubContent as Ge, DropdownMenuSubTrigger as He, DropdownMenuTrigger as ke } from "./components/ui/dropdown-menu.es.js";
15
+ import { Form as Ve, FormControl as Ye, FormDescription as ze, FormField as Ke, FormItem as Xe, FormLabel as je, FormMessage as qe, useFormField as Je } from "./components/ui/form.es.js";
16
+ import { Input as We } from "./components/ui/input.es.js";
17
+ import { InputOTP as $e, InputOTPGroup as eo, InputOTPSeparator as oo, InputOTPSlot as ro } from "./components/ui/input-otp.es.js";
18
+ import { Label as ao } from "./components/ui/label.es.js";
19
+ import { Loader as io } from "./components/ui/loader.es.js";
20
+ import "./components/ui/mutli-select.es.js";
21
+ import { NavigationMenu as mo, NavigationMenuContent as lo, NavigationMenuIndicator as uo, NavigationMenuItem as So, NavigationMenuLink as go, NavigationMenuList as To, NavigationMenuListItem as bo, NavigationMenuTrigger as Co, NavigationMenuViewport as Do, navigationMenuTriggerStyle as xo } from "./components/ui/navigation-menu.es.js";
22
+ import { Pagination as fo, PaginationContent as so, PaginationEllipsis as Mo, PaginationItem as Io, PaginationLink as Po, PaginationNext as Lo, PaginationPrevious as Fo } from "./components/ui/pagination.es.js";
23
+ import { PasswordInput as Eo } from "./components/ui/password-input.es.js";
24
+ import { Popover as vo, PopoverAnchor as ho, PopoverContent as Ao, PopoverTrigger as Oo } from "./components/ui/popover.es.js";
25
+ import { RadioGroup as Bo, RadioGroupItem as _o } from "./components/ui/radio-group.es.js";
26
+ import { SearchInput as Go } from "./components/ui/search-input.es.js";
27
+ import { Select as ko, SelectContent as Uo, SelectGroup as Vo, SelectItem as Yo, SelectLabel as zo, SelectScrollDownButton as Ko, SelectScrollUpButton as Xo, SelectSeparator as jo, SelectTrigger as qo, SelectValue as Jo } from "./components/ui/select.es.js";
26
28
  import { Separator as Wo } from "./components/ui/separator.es.js";
27
- import { Sheet as Yo, SheetClose as Zo, SheetContent as _o, SheetDescription as $o, SheetFooter as er, SheetHeader as or, SheetOverlay as rr, SheetPortal as tr, SheetTitle as ar, SheetTrigger as nr } from "./components/ui/sheet.es.js";
28
- import { Sidebar as pr, SidebarContent as dr, SidebarFooter as lr, SidebarGroup as mr, SidebarGroupAction as ur, SidebarGroupContent as Sr, SidebarGroupLabel as gr, SidebarHeader as br, SidebarInput as Cr, SidebarInset as Tr, SidebarMenu as cr, SidebarMenuAction as Dr, SidebarMenuBadge as sr, SidebarMenuButton as xr, SidebarMenuItem as Mr, SidebarMenuSkeleton as fr, SidebarMenuSub as wr, SidebarMenuSubButton as Ir, SidebarMenuSubItem as Pr, SidebarProvider as hr, SidebarRail as vr, SidebarSeparator as Fr, SidebarTrigger as Lr, useSidebar as Br } from "./components/ui/sidebar.es.js";
29
- import { Skeleton as Ar } from "./components/ui/skeleton.es.js";
30
- import { Toaster as Hr } from "./components/ui/sonner.es.js";
31
- import { Table as yr, TableBody as Or, TableCaption as Rr, TableCell as Vr, TableFooter as Er, TableHead as Ur, TableHeader as jr, TableRow as qr } from "./components/ui/table.es.js";
32
- import { Tabs as Jr, TabsContent as Kr, TabsList as Qr, TabsTrigger as Wr } from "./components/ui/tabs.es.js";
33
- import { Tooltip as Yr, TooltipContent as Zr, TooltipProvider as _r, TooltipTrigger as $r } from "./components/ui/tooltip.es.js";
34
- import { useIsMobile as ot } from "./hooks/use-mobile.es.js";
35
- import { cn as tt, getThemeHue as at, setThemeHue as nt } from "./utils/index.es.js";
29
+ import { Sheet as $o, SheetClose as er, SheetContent as or, SheetDescription as rr, SheetFooter as tr, SheetHeader as ar, SheetOverlay as nr, SheetPortal as ir, SheetTitle as pr, SheetTrigger as mr } from "./components/ui/sheet.es.js";
30
+ import { Sidebar as dr, SidebarContent as ur, SidebarFooter as Sr, SidebarGroup as gr, SidebarGroupAction as Tr, SidebarGroupContent as br, SidebarGroupLabel as Cr, SidebarHeader as Dr, SidebarInput as xr, SidebarInset as cr, SidebarMenu as fr, SidebarMenuAction as sr, SidebarMenuBadge as Mr, SidebarMenuButton as Ir, SidebarMenuItem as Pr, SidebarMenuSkeleton as Lr, SidebarMenuSub as Fr, SidebarMenuSubButton as wr, SidebarMenuSubItem as Er, SidebarProvider as Rr, SidebarRail as vr, SidebarSeparator as hr, SidebarTrigger as Ar, useSidebar as Or } from "./components/ui/sidebar.es.js";
31
+ import { Skeleton as Br } from "./components/ui/skeleton.es.js";
32
+ import { Toaster as yr } from "./components/ui/sonner.es.js";
33
+ import { Table as Hr, TableBody as kr, TableCaption as Ur, TableCell as Vr, TableFooter as Yr, TableHead as zr, TableHeader as Kr, TableRow as Xr } from "./components/ui/table.es.js";
34
+ import { Tabs as qr, TabsContent as Jr, TabsList as Qr, TabsTrigger as Wr } from "./components/ui/tabs.es.js";
35
+ import { Tooltip as $r, TooltipContent as et, TooltipProvider as ot, TooltipTrigger as rt } from "./components/ui/tooltip.es.js";
36
+ import { TablePageLayout as at } from "./components/ui/table-page-layout.es.js";
37
+ import { useIsMobile as it } from "./hooks/use-mobile.es.js";
38
+ import { cn as mt, getThemeHue as lt, logout as dt, setThemeHue as ut } from "./utils/index.es.js";
39
+ import { DataTable as gt } from "./components/data-table/data-table.es.js";
40
+ import { CHECK_BOX as bt, DEFAULT_DATE_COLUMNS as Ct, ID_COLUMN as Dt } from "./components/data-table/table-commons.es.js";
41
+ import { COMPARISON_OPERATOR_LABELS as ct, DEFAULT_FILTERABLE_FIELDS as ft, FILTERABLE_PROPERTY_TYPES as st, FILTER_COMPARISON_OPERATORS as Mt, OPERATORS_FOR_FILTER_TYPE as It, RESOURCE_DEFINITIONS as Pt, RESOURCE_NAMES as Lt, getLicenseStatus as Ft, getResourceDisplayName as wt, getValidityDisplay as Et, getValueFromData as Rt, secondsToDuration as vt } from "./components/data-table/table-utils/constants.es.js";
42
+ import { createTableFetchFn as At } from "./components/data-table/table-utils/createTableFetchFn.es.js";
43
+ import { FormatDate as Nt } from "./components/data-table/table-utils/date.es.js";
44
+ import { getLinkDisplay as _t } from "./components/data-table/table-utils/link-display.es.js";
45
+ import { convertCamelCaseToTitleCase as Gt, convertToTitleCase as Ht, pluralizeTimes as kt } from "./components/data-table/table-utils/string.es.js";
46
+ import { DYNAMIC_INPUT_TARGET as Vt } from "./components/data-table/table-utils/types.es.js";
47
+ import { InfoCard as zt } from "./components/info-card/info-card.es.js";
48
+ import { AppLayout as Xt } from "./components/sidebar/app-layout.es.js";
49
+ import { NavMain as qt } from "./components/sidebar/nav-main.es.js";
50
+ import { SideBar as Qt } from "./components/sidebar/sidebar.es.js";
51
+ import { StaticDataTable as Zt } from "./components/static-data-table/data-table.es.js";
36
52
  export {
37
- r as Accordion,
38
- t as AccordionContent,
39
- a as AccordionItem,
40
- n as AccordionTrigger,
41
- p as Avatar,
42
- d as AvatarFallback,
43
- l as AvatarImage,
44
- u as Badge,
53
+ t as Accordion,
54
+ a as AccordionContent,
55
+ n as AccordionItem,
56
+ i as AccordionTrigger,
57
+ Xt as AppLayout,
58
+ m as Avatar,
59
+ l as AvatarFallback,
60
+ d as AvatarImage,
61
+ S as Badge,
45
62
  b as Breadcrumb,
46
63
  C as BreadcrumbEllipsis,
47
- T as BreadcrumbItem,
48
- c as BreadcrumbLink,
49
- D as BreadcrumbList,
50
- s as BreadcrumbPage,
51
- x as BreadcrumbSeparator,
52
- f as Button,
53
- P as Calendar,
54
- v as Card,
55
- F as CardContent,
56
- L as CardDescription,
57
- B as CardFooter,
58
- G as CardHeader,
59
- A as CardTitle,
60
- H as ChartContainer,
61
- k as ChartLegend,
64
+ D as BreadcrumbItem,
65
+ x as BreadcrumbLink,
66
+ c as BreadcrumbList,
67
+ f as BreadcrumbPage,
68
+ s as BreadcrumbSeparator,
69
+ I as Button,
70
+ bt as CHECK_BOX,
71
+ ct as COMPARISON_OPERATOR_LABELS,
72
+ F as Calendar,
73
+ E as Card,
74
+ R as CardContent,
75
+ v as CardDescription,
76
+ h as CardFooter,
77
+ A as CardHeader,
78
+ O as CardTitle,
79
+ B as ChartContainer,
80
+ _ as ChartLegend,
62
81
  y as ChartLegendContent,
63
- O as ChartStyle,
64
- R as ChartTooltip,
65
- V as ChartTooltipContent,
66
- U as Checkbox,
67
- q as Collapsible,
68
- z as CollapsibleContent,
69
- J as CollapsibleTrigger,
70
- Q as Command,
71
- W as CommandDialog,
72
- X as CommandEmpty,
73
- Y as CommandGroup,
82
+ G as ChartStyle,
83
+ H as ChartTooltip,
84
+ k as ChartTooltipContent,
85
+ V as Checkbox,
86
+ z as Collapsible,
87
+ K as CollapsibleContent,
88
+ X as CollapsibleTrigger,
89
+ q as Command,
90
+ J as CommandDialog,
91
+ Q as CommandEmpty,
92
+ W as CommandGroup,
74
93
  Z as CommandInput,
75
- _ as CommandItem,
76
- $ as CommandList,
77
- ee as CommandSeparator,
78
- oe as CommandShortcut,
79
- te as Dialog,
80
- ae as DialogClose,
81
- ne as DialogContent,
82
- ie as DialogDescription,
83
- pe as DialogFooter,
84
- de as DialogHeader,
85
- le as DialogOverlay,
86
- me as DialogPortal,
87
- ue as DialogTitle,
88
- Se as DialogTrigger,
94
+ $ as CommandItem,
95
+ ee as CommandList,
96
+ oe as CommandSeparator,
97
+ re as CommandShortcut,
98
+ Ct as DEFAULT_DATE_COLUMNS,
99
+ ft as DEFAULT_FILTERABLE_FIELDS,
100
+ Vt as DYNAMIC_INPUT_TARGET,
101
+ gt as DataTable,
102
+ ae as Dialog,
103
+ ne as DialogClose,
104
+ ie as DialogContent,
105
+ pe as DialogDescription,
106
+ me as DialogFooter,
107
+ le as DialogHeader,
108
+ de as DialogOverlay,
109
+ ue as DialogPortal,
110
+ Se as DialogTitle,
111
+ ge as DialogTrigger,
89
112
  be as Drawer,
90
113
  Ce as DrawerClose,
91
- Te as DrawerContent,
92
- ce as DrawerDescription,
93
- De as DrawerFooter,
94
- se as DrawerHeader,
95
- xe as DrawerOverlay,
114
+ De as DrawerContent,
115
+ xe as DrawerDescription,
116
+ ce as DrawerFooter,
117
+ fe as DrawerHeader,
118
+ se as DrawerOverlay,
96
119
  Me as DrawerPortal,
97
- fe as DrawerTitle,
98
- we as DrawerTrigger,
99
- Pe as DropdownMenu,
100
- he as DropdownMenuCheckboxItem,
101
- ve as DropdownMenuContent,
102
- Fe as DropdownMenuGroup,
103
- Le as DropdownMenuItem,
104
- Be as DropdownMenuLabel,
105
- Ge as DropdownMenuPortal,
106
- Ae as DropdownMenuRadioGroup,
120
+ Ie as DrawerTitle,
121
+ Pe as DrawerTrigger,
122
+ Fe as DropdownMenu,
123
+ we as DropdownMenuCheckboxItem,
124
+ Ee as DropdownMenuContent,
125
+ Re as DropdownMenuGroup,
126
+ ve as DropdownMenuItem,
127
+ he as DropdownMenuLabel,
128
+ Ae as DropdownMenuPortal,
129
+ Oe as DropdownMenuRadioGroup,
107
130
  Ne as DropdownMenuRadioItem,
108
- He as DropdownMenuSeparator,
109
- ke as DropdownMenuShortcut,
131
+ Be as DropdownMenuSeparator,
132
+ _e as DropdownMenuShortcut,
110
133
  ye as DropdownMenuSub,
111
- Oe as DropdownMenuSubContent,
112
- Re as DropdownMenuSubTrigger,
113
- Ve as DropdownMenuTrigger,
114
- Ue as Form,
115
- je as FormControl,
116
- qe as FormDescription,
117
- ze as FormField,
118
- Je as FormItem,
119
- Ke as FormLabel,
120
- Qe as FormMessage,
121
- Ye as Input,
122
- _e as InputOTP,
123
- $e as InputOTPGroup,
124
- eo as InputOTPSeparator,
125
- oo as InputOTPSlot,
126
- to as Label,
127
- no as Loader,
128
- po as NavigationMenu,
134
+ Ge as DropdownMenuSubContent,
135
+ He as DropdownMenuSubTrigger,
136
+ ke as DropdownMenuTrigger,
137
+ st as FILTERABLE_PROPERTY_TYPES,
138
+ Mt as FILTER_COMPARISON_OPERATORS,
139
+ Ve as Form,
140
+ Ye as FormControl,
141
+ ze as FormDescription,
142
+ Ke as FormField,
143
+ Xe as FormItem,
144
+ je as FormLabel,
145
+ qe as FormMessage,
146
+ Nt as FormatDate,
147
+ Dt as ID_COLUMN,
148
+ zt as InfoCard,
149
+ We as Input,
150
+ $e as InputOTP,
151
+ eo as InputOTPGroup,
152
+ oo as InputOTPSeparator,
153
+ ro as InputOTPSlot,
154
+ ao as Label,
155
+ io as Loader,
156
+ qt as NavMain,
157
+ mo as NavigationMenu,
129
158
  lo as NavigationMenuContent,
130
- mo as NavigationMenuIndicator,
131
- uo as NavigationMenuItem,
132
- So as NavigationMenuLink,
133
- go as NavigationMenuList,
159
+ uo as NavigationMenuIndicator,
160
+ So as NavigationMenuItem,
161
+ go as NavigationMenuLink,
162
+ To as NavigationMenuList,
134
163
  bo as NavigationMenuListItem,
135
164
  Co as NavigationMenuTrigger,
136
- To as NavigationMenuViewport,
137
- so as Pagination,
138
- xo as PaginationContent,
165
+ Do as NavigationMenuViewport,
166
+ It as OPERATORS_FOR_FILTER_TYPE,
167
+ fo as Pagination,
168
+ so as PaginationContent,
139
169
  Mo as PaginationEllipsis,
140
- fo as PaginationItem,
141
- wo as PaginationLink,
142
- Io as PaginationNext,
143
- Po as PaginationPrevious,
144
- vo as PasswordInput,
145
- Lo as Popover,
146
- Bo as PopoverAnchor,
147
- Go as PopoverContent,
148
- Ao as PopoverTrigger,
149
- Ho as RadioGroup,
150
- ko as RadioGroupItem,
151
- Oo as Select,
152
- Ro as SelectContent,
170
+ Io as PaginationItem,
171
+ Po as PaginationLink,
172
+ Lo as PaginationNext,
173
+ Fo as PaginationPrevious,
174
+ Eo as PasswordInput,
175
+ vo as Popover,
176
+ ho as PopoverAnchor,
177
+ Ao as PopoverContent,
178
+ Oo as PopoverTrigger,
179
+ Pt as RESOURCE_DEFINITIONS,
180
+ Lt as RESOURCE_NAMES,
181
+ Bo as RadioGroup,
182
+ _o as RadioGroupItem,
183
+ Go as SearchInput,
184
+ ko as Select,
185
+ Uo as SelectContent,
153
186
  Vo as SelectGroup,
154
- Eo as SelectItem,
155
- Uo as SelectLabel,
156
- jo as SelectScrollDownButton,
157
- qo as SelectScrollUpButton,
158
- zo as SelectSeparator,
159
- Jo as SelectTrigger,
160
- Ko as SelectValue,
187
+ Yo as SelectItem,
188
+ zo as SelectLabel,
189
+ Ko as SelectScrollDownButton,
190
+ Xo as SelectScrollUpButton,
191
+ jo as SelectSeparator,
192
+ qo as SelectTrigger,
193
+ Jo as SelectValue,
161
194
  Wo as Separator,
162
- Yo as Sheet,
163
- Zo as SheetClose,
164
- _o as SheetContent,
165
- $o as SheetDescription,
166
- er as SheetFooter,
167
- or as SheetHeader,
168
- rr as SheetOverlay,
169
- tr as SheetPortal,
170
- ar as SheetTitle,
171
- nr as SheetTrigger,
172
- pr as Sidebar,
173
- dr as SidebarContent,
174
- lr as SidebarFooter,
175
- mr as SidebarGroup,
176
- ur as SidebarGroupAction,
177
- Sr as SidebarGroupContent,
178
- gr as SidebarGroupLabel,
179
- br as SidebarHeader,
180
- Cr as SidebarInput,
181
- Tr as SidebarInset,
182
- cr as SidebarMenu,
183
- Dr as SidebarMenuAction,
184
- sr as SidebarMenuBadge,
185
- xr as SidebarMenuButton,
186
- Mr as SidebarMenuItem,
187
- fr as SidebarMenuSkeleton,
188
- wr as SidebarMenuSub,
189
- Ir as SidebarMenuSubButton,
190
- Pr as SidebarMenuSubItem,
191
- hr as SidebarProvider,
195
+ $o as Sheet,
196
+ er as SheetClose,
197
+ or as SheetContent,
198
+ rr as SheetDescription,
199
+ tr as SheetFooter,
200
+ ar as SheetHeader,
201
+ nr as SheetOverlay,
202
+ ir as SheetPortal,
203
+ pr as SheetTitle,
204
+ mr as SheetTrigger,
205
+ Qt as SideBar,
206
+ dr as Sidebar,
207
+ ur as SidebarContent,
208
+ Sr as SidebarFooter,
209
+ gr as SidebarGroup,
210
+ Tr as SidebarGroupAction,
211
+ br as SidebarGroupContent,
212
+ Cr as SidebarGroupLabel,
213
+ Dr as SidebarHeader,
214
+ xr as SidebarInput,
215
+ cr as SidebarInset,
216
+ fr as SidebarMenu,
217
+ sr as SidebarMenuAction,
218
+ Mr as SidebarMenuBadge,
219
+ Ir as SidebarMenuButton,
220
+ Pr as SidebarMenuItem,
221
+ Lr as SidebarMenuSkeleton,
222
+ Fr as SidebarMenuSub,
223
+ wr as SidebarMenuSubButton,
224
+ Er as SidebarMenuSubItem,
225
+ Rr as SidebarProvider,
192
226
  vr as SidebarRail,
193
- Fr as SidebarSeparator,
194
- Lr as SidebarTrigger,
195
- Ar as Skeleton,
196
- yr as Table,
197
- Or as TableBody,
198
- Rr as TableCaption,
227
+ hr as SidebarSeparator,
228
+ Ar as SidebarTrigger,
229
+ Br as Skeleton,
230
+ Zt as StaticDataTable,
231
+ Hr as Table,
232
+ kr as TableBody,
233
+ Ur as TableCaption,
199
234
  Vr as TableCell,
200
- Er as TableFooter,
201
- Ur as TableHead,
202
- jr as TableHeader,
203
- qr as TableRow,
204
- Jr as Tabs,
205
- Kr as TabsContent,
235
+ Yr as TableFooter,
236
+ zr as TableHead,
237
+ Kr as TableHeader,
238
+ at as TablePageLayout,
239
+ Xr as TableRow,
240
+ qr as Tabs,
241
+ Jr as TabsContent,
206
242
  Qr as TabsList,
207
243
  Wr as TabsTrigger,
208
- Hr as Toaster,
209
- Yr as Tooltip,
210
- Zr as TooltipContent,
211
- _r as TooltipProvider,
212
- $r as TooltipTrigger,
213
- S as badgeVariants,
214
- w as buttonVariants,
215
- tt as cn,
216
- at as getThemeHue,
217
- co as navigationMenuTriggerStyle,
218
- nt as setThemeHue,
219
- We as useFormField,
220
- ot as useIsMobile,
221
- Br as useSidebar
244
+ yr as Toaster,
245
+ $r as Tooltip,
246
+ et as TooltipContent,
247
+ ot as TooltipProvider,
248
+ rt as TooltipTrigger,
249
+ g as badgeVariants,
250
+ P as buttonVariants,
251
+ mt as cn,
252
+ Gt as convertCamelCaseToTitleCase,
253
+ Ht as convertToTitleCase,
254
+ At as createTableFetchFn,
255
+ Ft as getLicenseStatus,
256
+ _t as getLinkDisplay,
257
+ wt as getResourceDisplayName,
258
+ lt as getThemeHue,
259
+ Et as getValidityDisplay,
260
+ Rt as getValueFromData,
261
+ dt as logout,
262
+ xo as navigationMenuTriggerStyle,
263
+ kt as pluralizeTimes,
264
+ vt as secondsToDuration,
265
+ ut as setThemeHue,
266
+ Je as useFormField,
267
+ it as useIsMobile,
268
+ Or as useSidebar
222
269
  };
223
270
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,21 +1,26 @@
1
- import { clsx as n } from "clsx";
2
- function r(...e) {
3
- return n(e);
1
+ import { clsx as o } from "clsx";
2
+ function u(...e) {
3
+ return o(e);
4
4
  }
5
5
  const t = "--primary-hue";
6
- function u() {
6
+ function m() {
7
7
  return document.documentElement.style.getPropertyValue(t);
8
8
  }
9
- function m(e) {
9
+ function l(e) {
10
10
  document.documentElement.style.setProperty(
11
11
  t,
12
12
  // In this case, it must be a number.
13
13
  e
14
14
  );
15
15
  }
16
+ const n = "AT", r = "RT";
17
+ function a() {
18
+ localStorage.removeItem(r), localStorage.removeItem(n), window.location.replace("/auth/login");
19
+ }
16
20
  export {
17
- r as cn,
18
- u as getThemeHue,
19
- m as setThemeHue
21
+ u as cn,
22
+ m as getThemeHue,
23
+ a as logout,
24
+ l as setThemeHue
20
25
  };
21
26
  //# sourceMappingURL=index.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from \"clsx\"\n\nexport function cn(...inputs: ClassValue[]) {\n return (clsx(inputs))\n}\n\nconst PRIMARY_HUE_PROPERTY = '--primary-hue';\n\n/**\n * \n * @returns \n */\nexport function getThemeHue() {\n return document.documentElement.style.getPropertyValue(PRIMARY_HUE_PROPERTY);\n}\n\n/**\n * @param hue the hue value to set in the document style\n */\nexport function setThemeHue(hue: number) {\n document.documentElement.style.setProperty(\n PRIMARY_HUE_PROPERTY,\n // In this case, it must be a number.\n hue as unknown as string\n );\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAQC,EAAKD,CAAM;AACrB;AAEA,MAAME,IAAuB;AAMtB,SAASC,IAAc;AAC5B,SAAO,SAAS,gBAAgB,MAAM,iBAAiBD,CAAoB;AAC7E;AAKO,SAASE,EAAYC,GAAa;AACvC,WAAS,gBAAgB,MAAM;AAAA,IAC7BH;AAAA;AAAA,IAEAG;AAAA,EACF;AACF;"}
1
+ {"version":3,"file":"index.es.js","sources":["../../lib/utils/index.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\n\nexport function cn(...inputs: ClassValue[]) {\n return clsx(inputs);\n}\n\nconst PRIMARY_HUE_PROPERTY = '--primary-hue';\n\n/**\n *\n * @returns\n */\nexport function getThemeHue() {\n return document.documentElement.style.getPropertyValue(PRIMARY_HUE_PROPERTY);\n}\n\n/**\n * @param hue the hue value to set in the document style\n */\nexport function setThemeHue(hue: number) {\n document.documentElement.style.setProperty(\n PRIMARY_HUE_PROPERTY,\n // In this case, it must be a number.\n hue as unknown as string,\n );\n}\n\nconst ACCESS_TOKEN = 'AT';\nconst REFRESH_TOKEN = 'RT';\nexport function logout() {\n localStorage.removeItem(REFRESH_TOKEN);\n localStorage.removeItem(ACCESS_TOKEN);\n window.location.replace('/auth/login');\n}\n"],"names":["cn","inputs","clsx","PRIMARY_HUE_PROPERTY","getThemeHue","setThemeHue","hue","ACCESS_TOKEN","REFRESH_TOKEN","logout"],"mappings":";AAEO,SAASA,KAAMC,GAAsB;AAC1C,SAAOC,EAAKD,CAAM;AACpB;AAEA,MAAME,IAAuB;AAMtB,SAASC,IAAc;AAC5B,SAAO,SAAS,gBAAgB,MAAM,iBAAiBD,CAAoB;AAC7E;AAKO,SAASE,EAAYC,GAAa;AACvC,WAAS,gBAAgB,MAAM;AAAA,IAC7BH;AAAA;AAAA,IAEAG;AAAA,EACF;AACF;AAEA,MAAMC,IAAe,MACfC,IAAgB;AACf,SAASC,IAAS;AACvB,eAAa,WAAWD,CAAa,GACrC,aAAa,WAAWD,CAAY,GAC7B,OAAA,SAAS,QAAQ,aAAa;AACvC;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cryptlex/web-components",
3
- "version": "1.3.2",
3
+ "version": "1.3.4",
4
4
  "description": "React component library for Cryptlex web applications",
5
5
  "author": "Cryptlex",
6
6
  "type": "module",
@@ -56,14 +56,18 @@
56
56
  "@radix-ui/react-select": "^2.1.2",
57
57
  "@radix-ui/react-separator": "^1.1.0",
58
58
  "@radix-ui/react-slot": "^1.1.0",
59
- "@radix-ui/react-tooltip": "^1.1.3",
60
59
  "@radix-ui/react-tabs": "^1.1.1",
60
+ "@radix-ui/react-tooltip": "^1.1.3",
61
+ "@tanstack/react-query": "^5.62.3",
62
+ "@tanstack/react-router": "^1.87.1",
61
63
  "@tanstack/react-table": "^8.20.5",
62
64
  "class-variance-authority": "^0.7.0",
65
+ "openapi-fetch": ">=0.13.3",
63
66
  "clsx": "^2.1.1",
64
67
  "cmdk": "1.0.0",
65
68
  "date-fns": "^3.0.0",
66
69
  "input-otp": "^1.4.1",
70
+ "lodash-es": "^4.17.21",
67
71
  "lucide-react": "^0.453.0",
68
72
  "react": "^18.3.1",
69
73
  "react-day-picker": "8.10.1",
@@ -73,7 +77,12 @@
73
77
  "sonner": "^1.7.0",
74
78
  "tailwindcss": "^3.4.14",
75
79
  "tailwindcss-animate": "^1.0.7",
76
- "vaul": "^1.1.1"
80
+ "use-debounce": "^10.0.4",
81
+ "vaul": "^1.1.1",
82
+ "rollup-preserve-directives": "^1.1.3"
83
+ },
84
+ "dependencies": {
85
+ "@cryptlex/web-api-types": "^1.17.0"
77
86
  },
78
87
  "devDependencies": {
79
88
  "@eslint/js": "^9.11.1",
@@ -86,6 +95,7 @@
86
95
  "@storybook/react": "^8.4.2",
87
96
  "@storybook/react-vite": "^8.4.2",
88
97
  "@storybook/test": "^8.4.2",
98
+ "@types/lodash-es": "^4.17.12",
89
99
  "@types/node": "^22.7.8",
90
100
  "@types/react": "^18.3.10",
91
101
  "@types/react-dom": "^18.3.0",