@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.
- package/dist/components/data-table/column-picker.es.js +81 -0
- package/dist/components/data-table/column-picker.es.js.map +1 -0
- package/dist/components/data-table/data-table.es.js +197 -0
- package/dist/components/data-table/data-table.es.js.map +1 -0
- package/dist/components/data-table/page-size.es.js +23 -0
- package/dist/components/data-table/page-size.es.js.map +1 -0
- package/dist/components/data-table/paginator.es.js +63 -0
- package/dist/components/data-table/paginator.es.js.map +1 -0
- package/dist/components/data-table/table-actions.es.js +82 -0
- package/dist/components/data-table/table-actions.es.js.map +1 -0
- package/dist/components/data-table/table-commons.es.js +55 -0
- package/dist/components/data-table/table-commons.es.js.map +1 -0
- package/dist/components/data-table/table-content.es.js +46 -0
- package/dist/components/data-table/table-content.es.js.map +1 -0
- package/dist/components/data-table/table-utils/constants.es.js +274 -0
- package/dist/components/data-table/table-utils/constants.es.js.map +1 -0
- package/dist/components/data-table/table-utils/createTableFetchFn.es.js +25 -0
- package/dist/components/data-table/table-utils/createTableFetchFn.es.js.map +1 -0
- package/dist/components/data-table/table-utils/date.es.js +12 -0
- package/dist/components/data-table/table-utils/date.es.js.map +1 -0
- package/dist/components/data-table/table-utils/fetch.es.js +40 -0
- package/dist/components/data-table/table-utils/fetch.es.js.map +1 -0
- package/dist/components/data-table/table-utils/link-display.es.js +21 -0
- package/dist/components/data-table/table-utils/link-display.es.js.map +1 -0
- package/dist/components/data-table/table-utils/string.es.js +19 -0
- package/dist/components/data-table/table-utils/string.es.js.map +1 -0
- package/dist/components/data-table/table-utils/types.es.js +5 -0
- package/dist/components/data-table/table-utils/types.es.js.map +1 -0
- package/dist/components/info-card/info-card.es.js +74 -0
- package/dist/components/info-card/info-card.es.js.map +1 -0
- package/dist/components/sidebar/app-layout.es.js +86 -0
- package/dist/components/sidebar/app-layout.es.js.map +1 -0
- package/dist/components/sidebar/nav-main.es.js +76 -0
- package/dist/components/sidebar/nav-main.es.js.map +1 -0
- package/dist/components/sidebar/sidebar.es.js +10 -0
- package/dist/components/sidebar/sidebar.es.js.map +1 -0
- package/dist/components/static-data-table/data-table.es.js +30 -0
- package/dist/components/static-data-table/data-table.es.js.map +1 -0
- package/dist/components/ui/button.es.js +12 -22
- package/dist/components/ui/button.es.js.map +1 -1
- package/dist/components/ui/drawer.es.js +13 -12
- package/dist/components/ui/drawer.es.js.map +1 -1
- package/dist/components/ui/dynamic-input.es.js +141 -0
- package/dist/components/ui/dynamic-input.es.js.map +1 -0
- package/dist/components/ui/mutli-select.es.js +197 -0
- package/dist/components/ui/mutli-select.es.js.map +1 -0
- package/dist/components/ui/search-input.es.js +41 -0
- package/dist/components/ui/search-input.es.js.map +1 -0
- package/dist/components/ui/sheet.es.js +11 -37
- package/dist/components/ui/sheet.es.js.map +1 -1
- package/dist/components/ui/sidebar.es.js +286 -264
- package/dist/components/ui/sidebar.es.js.map +1 -1
- package/dist/components/ui/table-page-layout.es.js +14 -0
- package/dist/components/ui/table-page-layout.es.js.map +1 -0
- package/dist/index.es.d.ts +303 -2
- package/dist/index.es.js +264 -208
- package/dist/index.es.js.map +1 -1
- package/dist/utils/index.es.js +13 -8
- package/dist/utils/index.es.js.map +1 -1
- package/package.json +10 -3
package/dist/index.es.js
CHANGED
|
@@ -1,223 +1,279 @@
|
|
|
1
|
-
import { Accordion as
|
|
2
|
-
import { Avatar as
|
|
3
|
-
import { Badge as
|
|
4
|
-
import { Breadcrumb as
|
|
5
|
-
import { Button as
|
|
6
|
-
import { Calendar as
|
|
7
|
-
import { Card as
|
|
8
|
-
import { ChartContainer as
|
|
9
|
-
import { Checkbox as
|
|
10
|
-
import { Collapsible as
|
|
11
|
-
import { Command as
|
|
12
|
-
import { Dialog as
|
|
13
|
-
import { Drawer as
|
|
14
|
-
import { DropdownMenu as
|
|
15
|
-
import { Form as
|
|
16
|
-
import { Input as
|
|
17
|
-
import { InputOTP as
|
|
18
|
-
import { Label as
|
|
19
|
-
import { Loader as
|
|
20
|
-
import
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
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
|
|
28
|
-
import { Sidebar as
|
|
29
|
-
import { Skeleton as
|
|
30
|
-
import { Toaster as
|
|
31
|
-
import { Table as
|
|
32
|
-
import { Tabs as
|
|
33
|
-
import { Tooltip as
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
x as
|
|
52
|
-
f as
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
A as
|
|
60
|
-
|
|
61
|
-
|
|
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
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
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
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
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
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
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
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
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
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
dr as
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
br as
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
sr as
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
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
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
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
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/utils/index.es.js
CHANGED
|
@@ -1,21 +1,26 @@
|
|
|
1
|
-
import { clsx as
|
|
2
|
-
function
|
|
3
|
-
return
|
|
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
|
|
6
|
+
function m() {
|
|
7
7
|
return document.documentElement.style.getPropertyValue(t);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
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
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
|
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.
|
|
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",
|