@cryptlex/web-components 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/components/data-table/column-picker.es.js +81 -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 +82 -0
  10. package/dist/components/data-table/table-actions.es.js.map +1 -0
  11. package/dist/components/data-table/table-commons.es.js +55 -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 +25 -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/fetch.es.js +40 -0
  22. package/dist/components/data-table/table-utils/fetch.es.js.map +1 -0
  23. package/dist/components/data-table/table-utils/link-display.es.js +21 -0
  24. package/dist/components/data-table/table-utils/link-display.es.js.map +1 -0
  25. package/dist/components/data-table/table-utils/string.es.js +19 -0
  26. package/dist/components/data-table/table-utils/string.es.js.map +1 -0
  27. package/dist/components/data-table/table-utils/types.es.js +5 -0
  28. package/dist/components/data-table/table-utils/types.es.js.map +1 -0
  29. package/dist/components/info-card/info-card.es.js +74 -0
  30. package/dist/components/info-card/info-card.es.js.map +1 -0
  31. package/dist/components/sidebar/app-layout.es.js +86 -0
  32. package/dist/components/sidebar/app-layout.es.js.map +1 -0
  33. package/dist/components/sidebar/nav-main.es.js +76 -0
  34. package/dist/components/sidebar/nav-main.es.js.map +1 -0
  35. package/dist/components/sidebar/sidebar.es.js +10 -0
  36. package/dist/components/sidebar/sidebar.es.js.map +1 -0
  37. package/dist/components/static-data-table/data-table.es.js +30 -0
  38. package/dist/components/static-data-table/data-table.es.js.map +1 -0
  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/drawer.es.js +13 -12
  42. package/dist/components/ui/drawer.es.js.map +1 -1
  43. package/dist/components/ui/dynamic-input.es.js +141 -0
  44. package/dist/components/ui/dynamic-input.es.js.map +1 -0
  45. package/dist/components/ui/mutli-select.es.js +197 -0
  46. package/dist/components/ui/mutli-select.es.js.map +1 -0
  47. package/dist/components/ui/search-input.es.js +41 -0
  48. package/dist/components/ui/search-input.es.js.map +1 -0
  49. package/dist/components/ui/sheet.es.js +11 -37
  50. package/dist/components/ui/sheet.es.js.map +1 -1
  51. package/dist/components/ui/sidebar.es.js +286 -264
  52. package/dist/components/ui/sidebar.es.js.map +1 -1
  53. package/dist/components/ui/table-page-layout.es.js +14 -0
  54. package/dist/components/ui/table-page-layout.es.js.map +1 -0
  55. package/dist/index.es.d.ts +303 -2
  56. package/dist/index.es.js +264 -208
  57. package/dist/index.es.js.map +1 -1
  58. package/dist/utils/index.es.js +13 -8
  59. package/dist/utils/index.es.js.map +1 -1
  60. package/package.json +10 -3
package/dist/index.es.js CHANGED
@@ -1,223 +1,279 @@
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 C, BreadcrumbEllipsis as b, BreadcrumbItem as c, BreadcrumbLink as D, BreadcrumbList as x, 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 A, CardDescription as R, CardFooter as h, CardHeader as v, CardTitle as O } from "./components/ui/card.es.js";
8
+ import { ChartContainer as N, ChartLegend as _, ChartLegendContent as y, ChartStyle as G, ChartTooltip as k, ChartTooltipContent as H } 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 Ce, DrawerClose as be, DrawerContent as ce, DrawerDescription as De, DrawerFooter as xe, 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 Ae, DropdownMenuItem as Re, DropdownMenuLabel as he, DropdownMenuPortal as ve, DropdownMenuRadioGroup as Oe, DropdownMenuRadioItem as Be, DropdownMenuSeparator as Ne, DropdownMenuShortcut as _e, DropdownMenuSub as ye, DropdownMenuSubContent as Ge, DropdownMenuSubTrigger as ke, DropdownMenuTrigger as He } 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 Co, NavigationMenuTrigger as bo, NavigationMenuViewport as co, navigationMenuTriggerStyle as Do } 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 Ro, PopoverAnchor as ho, PopoverContent as vo, PopoverTrigger as Oo } from "./components/ui/popover.es.js";
25
+ import { RadioGroup as No, 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 Ho, 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 Cr, SidebarGroupLabel as br, SidebarHeader as cr, SidebarInput as Dr, SidebarInset as xr, 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 Ar, SidebarRail as Rr, SidebarSeparator as hr, SidebarTrigger as vr, useSidebar as Or } from "./components/ui/sidebar.es.js";
31
+ import { Skeleton as Nr } from "./components/ui/skeleton.es.js";
32
+ import { Toaster as yr } from "./components/ui/sonner.es.js";
33
+ import { Table as kr, TableBody as Hr, 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 { DynamicInput as at, Search as nt } from "./components/ui/dynamic-input.es.js";
37
+ import { TablePageLayout as pt } from "./components/ui/table-page-layout.es.js";
38
+ import { useIsMobile as lt } from "./hooks/use-mobile.es.js";
39
+ import { cn as ut, getThemeHue as St, logout as gt, setThemeHue as Tt } from "./utils/index.es.js";
40
+ import { DataTable as bt } from "./components/data-table/data-table.es.js";
41
+ import { ActionTriggerButton as Dt, CHECK_BOX as xt, DEFAULT_DATE_COLUMNS as ft, ID_COLUMN as st } from "./components/data-table/table-commons.es.js";
42
+ import { COMPARISON_OPERATOR_LABELS as It, DEFAULT_FILTERABLE_FIELDS as Pt, FILTERABLE_PROPERTY_TYPES as Lt, FILTER_COMPARISON_OPERATORS as Ft, OPERATORS_FOR_FILTER_TYPE as wt, RESOURCE_DEFINITIONS as Et, RESOURCE_NAMES as At, getLicenseStatus as Rt, getResourceDisplayName as ht, getValidityDisplay as vt, getValueFromData as Ot, secondsToDuration as Bt } from "./components/data-table/table-utils/constants.es.js";
43
+ import { createTableFetchFn as _t } from "./components/data-table/table-utils/createTableFetchFn.es.js";
44
+ import { FormatDate as Gt } from "./components/data-table/table-utils/date.es.js";
45
+ import { US_BASE_URL as Ht, ctxClient as Ut, fetchClient as Vt, getAccessToken as Yt } from "./components/data-table/table-utils/fetch.es.js";
46
+ import { getLinkDisplay as Kt } from "./components/data-table/table-utils/link-display.es.js";
47
+ import { convertCamelCaseToTitleCase as jt, convertToTitleCase as qt, pluralizeTimes as Jt } from "./components/data-table/table-utils/string.es.js";
48
+ import { DYNAMIC_INPUT_TARGET as Wt } from "./components/data-table/table-utils/types.es.js";
49
+ import { InfoCard as $t } from "./components/info-card/info-card.es.js";
50
+ import { AppLayout as oa } from "./components/sidebar/app-layout.es.js";
51
+ import { NavMain as ta } from "./components/sidebar/nav-main.es.js";
52
+ import { SideBar as na } from "./components/sidebar/sidebar.es.js";
53
+ import { StaticDataTable as pa } from "./components/static-data-table/data-table.es.js";
36
54
  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,
45
- b as Breadcrumb,
46
- 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,
55
+ t as Accordion,
56
+ a as AccordionContent,
57
+ n as AccordionItem,
58
+ i as AccordionTrigger,
59
+ Dt as ActionTriggerButton,
60
+ oa as AppLayout,
61
+ m as Avatar,
62
+ l as AvatarFallback,
63
+ d as AvatarImage,
64
+ S as Badge,
65
+ C as Breadcrumb,
66
+ b as BreadcrumbEllipsis,
67
+ c as BreadcrumbItem,
68
+ D as BreadcrumbLink,
69
+ x as BreadcrumbList,
70
+ f as BreadcrumbPage,
71
+ s as BreadcrumbSeparator,
72
+ I as Button,
73
+ xt as CHECK_BOX,
74
+ It as COMPARISON_OPERATOR_LABELS,
75
+ F as Calendar,
76
+ E as Card,
77
+ A as CardContent,
78
+ R as CardDescription,
79
+ h as CardFooter,
80
+ v as CardHeader,
81
+ O as CardTitle,
82
+ N as ChartContainer,
83
+ _ as ChartLegend,
62
84
  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,
85
+ G as ChartStyle,
86
+ k as ChartTooltip,
87
+ H as ChartTooltipContent,
88
+ V as Checkbox,
89
+ z as Collapsible,
90
+ K as CollapsibleContent,
91
+ X as CollapsibleTrigger,
92
+ q as Command,
93
+ J as CommandDialog,
94
+ Q as CommandEmpty,
95
+ W as CommandGroup,
74
96
  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,
89
- be as Drawer,
90
- Ce as DrawerClose,
91
- Te as DrawerContent,
92
- ce as DrawerDescription,
93
- De as DrawerFooter,
94
- se as DrawerHeader,
95
- xe as DrawerOverlay,
97
+ $ as CommandItem,
98
+ ee as CommandList,
99
+ oe as CommandSeparator,
100
+ re as CommandShortcut,
101
+ ft as DEFAULT_DATE_COLUMNS,
102
+ Pt as DEFAULT_FILTERABLE_FIELDS,
103
+ Wt as DYNAMIC_INPUT_TARGET,
104
+ bt as DataTable,
105
+ ae as Dialog,
106
+ ne as DialogClose,
107
+ ie as DialogContent,
108
+ pe as DialogDescription,
109
+ me as DialogFooter,
110
+ le as DialogHeader,
111
+ de as DialogOverlay,
112
+ ue as DialogPortal,
113
+ Se as DialogTitle,
114
+ ge as DialogTrigger,
115
+ Ce as Drawer,
116
+ be as DrawerClose,
117
+ ce as DrawerContent,
118
+ De as DrawerDescription,
119
+ xe as DrawerFooter,
120
+ fe as DrawerHeader,
121
+ se as DrawerOverlay,
96
122
  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,
107
- Ne as DropdownMenuRadioItem,
108
- He as DropdownMenuSeparator,
109
- ke as DropdownMenuShortcut,
123
+ Ie as DrawerTitle,
124
+ Pe as DrawerTrigger,
125
+ Fe as DropdownMenu,
126
+ we as DropdownMenuCheckboxItem,
127
+ Ee as DropdownMenuContent,
128
+ Ae as DropdownMenuGroup,
129
+ Re as DropdownMenuItem,
130
+ he as DropdownMenuLabel,
131
+ ve as DropdownMenuPortal,
132
+ Oe as DropdownMenuRadioGroup,
133
+ Be as DropdownMenuRadioItem,
134
+ Ne as DropdownMenuSeparator,
135
+ _e as DropdownMenuShortcut,
110
136
  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,
137
+ Ge as DropdownMenuSubContent,
138
+ ke as DropdownMenuSubTrigger,
139
+ He as DropdownMenuTrigger,
140
+ at as DynamicInput,
141
+ Lt as FILTERABLE_PROPERTY_TYPES,
142
+ Ft as FILTER_COMPARISON_OPERATORS,
143
+ Ve as Form,
144
+ Ye as FormControl,
145
+ ze as FormDescription,
146
+ Ke as FormField,
147
+ Xe as FormItem,
148
+ je as FormLabel,
149
+ qe as FormMessage,
150
+ Gt as FormatDate,
151
+ st as ID_COLUMN,
152
+ $t as InfoCard,
153
+ We as Input,
154
+ $e as InputOTP,
155
+ eo as InputOTPGroup,
156
+ oo as InputOTPSeparator,
157
+ ro as InputOTPSlot,
158
+ ao as Label,
159
+ io as Loader,
160
+ ta as NavMain,
161
+ mo as NavigationMenu,
129
162
  lo as NavigationMenuContent,
130
- mo as NavigationMenuIndicator,
131
- uo as NavigationMenuItem,
132
- So as NavigationMenuLink,
133
- go as NavigationMenuList,
134
- bo as NavigationMenuListItem,
135
- Co as NavigationMenuTrigger,
136
- To as NavigationMenuViewport,
137
- so as Pagination,
138
- xo as PaginationContent,
163
+ uo as NavigationMenuIndicator,
164
+ So as NavigationMenuItem,
165
+ go as NavigationMenuLink,
166
+ To as NavigationMenuList,
167
+ Co as NavigationMenuListItem,
168
+ bo as NavigationMenuTrigger,
169
+ co as NavigationMenuViewport,
170
+ wt as OPERATORS_FOR_FILTER_TYPE,
171
+ fo as Pagination,
172
+ so as PaginationContent,
139
173
  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,
174
+ Io as PaginationItem,
175
+ Po as PaginationLink,
176
+ Lo as PaginationNext,
177
+ Fo as PaginationPrevious,
178
+ Eo as PasswordInput,
179
+ Ro as Popover,
180
+ ho as PopoverAnchor,
181
+ vo as PopoverContent,
182
+ Oo as PopoverTrigger,
183
+ Et as RESOURCE_DEFINITIONS,
184
+ At as RESOURCE_NAMES,
185
+ No as RadioGroup,
186
+ _o as RadioGroupItem,
187
+ nt as Search,
188
+ Go as SearchInput,
189
+ Ho as Select,
190
+ Uo as SelectContent,
153
191
  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,
192
+ Yo as SelectItem,
193
+ zo as SelectLabel,
194
+ Ko as SelectScrollDownButton,
195
+ Xo as SelectScrollUpButton,
196
+ jo as SelectSeparator,
197
+ qo as SelectTrigger,
198
+ Jo as SelectValue,
161
199
  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,
192
- 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,
200
+ $o as Sheet,
201
+ er as SheetClose,
202
+ or as SheetContent,
203
+ rr as SheetDescription,
204
+ tr as SheetFooter,
205
+ ar as SheetHeader,
206
+ nr as SheetOverlay,
207
+ ir as SheetPortal,
208
+ pr as SheetTitle,
209
+ mr as SheetTrigger,
210
+ na as SideBar,
211
+ dr as Sidebar,
212
+ ur as SidebarContent,
213
+ Sr as SidebarFooter,
214
+ gr as SidebarGroup,
215
+ Tr as SidebarGroupAction,
216
+ Cr as SidebarGroupContent,
217
+ br as SidebarGroupLabel,
218
+ cr as SidebarHeader,
219
+ Dr as SidebarInput,
220
+ xr as SidebarInset,
221
+ fr as SidebarMenu,
222
+ sr as SidebarMenuAction,
223
+ Mr as SidebarMenuBadge,
224
+ Ir as SidebarMenuButton,
225
+ Pr as SidebarMenuItem,
226
+ Lr as SidebarMenuSkeleton,
227
+ Fr as SidebarMenuSub,
228
+ wr as SidebarMenuSubButton,
229
+ Er as SidebarMenuSubItem,
230
+ Ar as SidebarProvider,
231
+ Rr as SidebarRail,
232
+ hr as SidebarSeparator,
233
+ vr as SidebarTrigger,
234
+ Nr as Skeleton,
235
+ pa as StaticDataTable,
236
+ kr as Table,
237
+ Hr as TableBody,
238
+ Ur as TableCaption,
199
239
  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,
240
+ Yr as TableFooter,
241
+ zr as TableHead,
242
+ Kr as TableHeader,
243
+ pt as TablePageLayout,
244
+ Xr as TableRow,
245
+ qr as Tabs,
246
+ Jr as TabsContent,
206
247
  Qr as TabsList,
207
248
  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
249
+ yr as Toaster,
250
+ $r as Tooltip,
251
+ et as TooltipContent,
252
+ ot as TooltipProvider,
253
+ rt as TooltipTrigger,
254
+ Ht as US_BASE_URL,
255
+ g as badgeVariants,
256
+ P as buttonVariants,
257
+ ut as cn,
258
+ jt as convertCamelCaseToTitleCase,
259
+ qt as convertToTitleCase,
260
+ _t as createTableFetchFn,
261
+ Ut as ctxClient,
262
+ Vt as fetchClient,
263
+ Yt as getAccessToken,
264
+ Rt as getLicenseStatus,
265
+ Kt as getLinkDisplay,
266
+ ht as getResourceDisplayName,
267
+ St as getThemeHue,
268
+ vt as getValidityDisplay,
269
+ Ot as getValueFromData,
270
+ gt as logout,
271
+ Do as navigationMenuTriggerStyle,
272
+ Jt as pluralizeTimes,
273
+ Bt as secondsToDuration,
274
+ Tt as setThemeHue,
275
+ Je as useFormField,
276
+ lt as useIsMobile,
277
+ Or as useSidebar
222
278
  };
223
279
  //# 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.3",
4
4
  "description": "React component library for Cryptlex web applications",
5
5
  "author": "Cryptlex",
6
6
  "type": "module",
@@ -56,8 +56,10 @@
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",
63
65
  "clsx": "^2.1.1",
@@ -73,7 +75,11 @@
73
75
  "sonner": "^1.7.0",
74
76
  "tailwindcss": "^3.4.14",
75
77
  "tailwindcss-animate": "^1.0.7",
76
- "vaul": "^1.1.1"
78
+ "vaul": "^1.1.1",
79
+ "@cryptlex/web-api-types": "^1.14.0",
80
+ "lodash": "^4.17.21",
81
+ "openapi-fetch": "^0.9.3",
82
+ "use-debounce": "^10.0.4"
77
83
  },
78
84
  "devDependencies": {
79
85
  "@eslint/js": "^9.11.1",
@@ -90,6 +96,7 @@
90
96
  "@types/react": "^18.3.10",
91
97
  "@types/react-dom": "^18.3.0",
92
98
  "@vitejs/plugin-react": "^4.3.2",
99
+ "@types/lodash": "^4.17.1",
93
100
  "autoprefixer": "^10.4.20",
94
101
  "eslint": "^9.11.1",
95
102
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",