laif-ds 0.2.30 → 0.2.31
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/_virtual/index2.js +2 -5
- package/dist/_virtual/index3.js +5 -2
- package/dist/_virtual/index6.js +2 -2
- package/dist/_virtual/index7.js +2 -2
- package/dist/_virtual/warning.js +8 -0
- package/dist/components/ui/file-previewer.js +46 -36
- package/dist/components/ui/secure-pdf-viewer.js +115 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +131 -129
- package/dist/laif-ds.css +1 -1
- package/dist/node_modules/dequal/dist/index.js +56 -0
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/eventemitter3/index2.js +1 -1
- package/dist/node_modules/make-cancellable-promise/dist/index.js +15 -0
- package/dist/node_modules/make-event-props/dist/index.js +114 -0
- package/dist/node_modules/merge-refs/dist/index.js +19 -0
- package/dist/node_modules/react-pdf/dist/Document.js +180 -0
- package/dist/node_modules/react-pdf/dist/DocumentContext.js +6 -0
- package/dist/node_modules/react-pdf/dist/LinkService.js +94 -0
- package/dist/node_modules/react-pdf/dist/Message.js +8 -0
- package/dist/node_modules/react-pdf/dist/Page/AnnotationLayer.js +97 -0
- package/dist/node_modules/react-pdf/dist/Page/Canvas.js +55 -0
- package/dist/node_modules/react-pdf/dist/Page/TextLayer.js +111 -0
- package/dist/node_modules/react-pdf/dist/Page.js +180 -0
- package/dist/node_modules/react-pdf/dist/PageContext.js +6 -0
- package/dist/node_modules/react-pdf/dist/PasswordResponses.js +8 -0
- package/dist/node_modules/react-pdf/dist/StructTree.js +44 -0
- package/dist/node_modules/react-pdf/dist/StructTreeItem.js +14 -0
- package/dist/node_modules/react-pdf/dist/index.js +9 -0
- package/dist/node_modules/react-pdf/dist/shared/constants.js +62 -0
- package/dist/node_modules/react-pdf/dist/shared/hooks/useDocumentContext.js +9 -0
- package/dist/node_modules/react-pdf/dist/shared/hooks/usePageContext.js +9 -0
- package/dist/node_modules/react-pdf/dist/shared/hooks/useResolver.js +20 -0
- package/dist/node_modules/react-pdf/dist/shared/structTreeUtils.js +55 -0
- package/dist/node_modules/react-pdf/dist/shared/utils.js +110 -0
- package/dist/node_modules/react-pdf/node_modules/pdfjs-dist/build/pdf.js +15282 -0
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/style-to-object/cjs/index.js +1 -1
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +13 -0
- package/dist/node_modules/use-sync-external-store/shim/index.js +1 -1
- package/dist/node_modules/warning/warning.js +39 -0
- package/dist/styles.v3.css +1 -1
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -3,8 +3,8 @@ import { default as o } from "./components/ui/gantt/components/Gantt/Gantt.js";
|
|
|
3
3
|
import { AspectRatio as a } from "./components/ui/aspect-ratio.js";
|
|
4
4
|
import { Avatar as i, AvatarFallback as p, AvatarImage as m } from "./components/ui/avatar.js";
|
|
5
5
|
import { Badge as u, badgeVariants as x } from "./components/ui/badge.js";
|
|
6
|
-
import { Button as
|
|
7
|
-
import { Checkbox as
|
|
6
|
+
import { Button as f, buttonVariants as g } from "./components/ui/button.js";
|
|
7
|
+
import { Checkbox as b } from "./components/ui/checkbox.js";
|
|
8
8
|
import { Collapsible as S, CollapsibleContent as M, CollapsibleTrigger as c } from "./components/ui/collapsible.js";
|
|
9
9
|
import { CopyButton as D } from "./components/ui/copy-button.js";
|
|
10
10
|
import { Icon as I } from "./components/ui/icon.js";
|
|
@@ -13,7 +13,7 @@ import { InputOTP as F, InputOTPGroup as w, InputOTPSlot as G } from "./componen
|
|
|
13
13
|
import { Label as B } from "./components/ui/label.js";
|
|
14
14
|
import { Progress as H } from "./components/ui/progress.js";
|
|
15
15
|
import { RadioGroup as y, RadioGroupItem as N } from "./components/ui/radio-group.js";
|
|
16
|
-
import { Separator as
|
|
16
|
+
import { Separator as z } from "./components/ui/separator.js";
|
|
17
17
|
import { Skeleton as O } from "./components/ui/skeleton.js";
|
|
18
18
|
import { Switch as W } from "./components/ui/switch.js";
|
|
19
19
|
import { Textarea as q } from "./components/ui/textarea.js";
|
|
@@ -23,32 +23,32 @@ import { TypingIndicator as re } from "./components/ui/typing-indicator.js";
|
|
|
23
23
|
import { Toaster as te } from "./components/ui/toaster.js";
|
|
24
24
|
import { Accordion as ne, AccordionContent as ie, AccordionItem as pe, AccordionTrigger as me } from "./components/ui/accordion.js";
|
|
25
25
|
import { Alert as ue, AlertDescription as xe, AlertTitle as de } from "./components/ui/alert.js";
|
|
26
|
-
import { AlertDialog as
|
|
26
|
+
import { AlertDialog as ge, AlertDialogAction as Ce, AlertDialogCancel as be, AlertDialogContent as se, AlertDialogDescription as Se, AlertDialogFooter as Me, AlertDialogHeader as ce, AlertDialogTitle as Te, AlertDialogTrigger as De } from "./components/ui/alert-dialog.js";
|
|
27
27
|
import { AsyncSelect as Ie } from "./components/ui/async-select.js";
|
|
28
28
|
import { Calendar as he } from "./components/ui/calendar.js";
|
|
29
29
|
import { Card as Fe, CardContent as we, CardDescription as Ge, CardFooter as Le, CardHeader as Be, CardTitle as Re } from "./components/ui/card.js";
|
|
30
30
|
import { Typo as ke } from "./components/ui/typo.js";
|
|
31
|
-
import { Command as Ne, CommandDialog as
|
|
31
|
+
import { Command as Ne, CommandDialog as Ve, CommandEmpty as ze, CommandGroup as Ee, CommandInput as Oe, CommandItem as Ue, CommandList as We, CommandSeparator as je, CommandShortcut as qe } from "./components/ui/command.js";
|
|
32
32
|
import { ContextMenu as Ke, ContextMenuCheckboxItem as Qe, ContextMenuContent as Xe, ContextMenuGroup as Ye, ContextMenuItem as Ze, ContextMenuLabel as _e, ContextMenuPortal as $e, ContextMenuRadioGroup as er, ContextMenuRadioItem as rr, ContextMenuSeparator as or, ContextMenuShortcut as tr, ContextMenuSub as ar, ContextMenuSubContent as nr, ContextMenuSubTrigger as ir, ContextMenuTrigger as pr } from "./components/ui/context-menu.js";
|
|
33
33
|
import { DatePicker as lr } from "./components/ui/date-picker.js";
|
|
34
34
|
import { InputSelector as xr } from "./components/ui/input-selector.js";
|
|
35
|
-
import { Dialog as
|
|
35
|
+
import { Dialog as fr, DialogContent as gr, DialogDescription as Cr, DialogFooter as br, DialogHeader as sr, DialogTitle as Sr, DialogTrigger as Mr } from "./components/ui/dialog.js";
|
|
36
36
|
import { Drawer as Tr, DrawerContent as Dr, DrawerDescription as Ar, DrawerFooter as Ir, DrawerHeader as Pr, DrawerTitle as hr, DrawerTrigger as vr } from "./components/ui/drawer.js";
|
|
37
37
|
import { Form as wr, FormControl as Gr, FormDescription as Lr, FormField as Br, FormItem as Rr, FormLabel as Hr, FormMessage as kr, useFormField as yr } from "./components/ui/form.js";
|
|
38
|
-
import { HoverCard as
|
|
38
|
+
import { HoverCard as Vr, HoverCardContent as zr, HoverCardTrigger as Er } from "./components/ui/hover-card.js";
|
|
39
39
|
import { Menubar as Ur, MenubarCheckboxItem as Wr, MenubarContent as jr, MenubarGroup as qr, MenubarItem as Jr, MenubarLabel as Kr, MenubarMenu as Qr, MenubarPortal as Xr, MenubarRadioGroup as Yr, MenubarRadioItem as Zr, MenubarSeparator as _r, MenubarShortcut as $r, MenubarSub as eo, MenubarSubContent as ro, MenubarSubTrigger as oo, MenubarTrigger as to } from "./components/ui/menubar.js";
|
|
40
40
|
import { MultipleSelector as no } from "./components/ui/multiple-selector.js";
|
|
41
|
-
import { Pagination as po, PaginationContent as mo, PaginationEllipsis as lo, PaginationItem as uo, PaginationLink as xo, PaginationNext as
|
|
42
|
-
import { Popover as
|
|
41
|
+
import { Pagination as po, PaginationContent as mo, PaginationEllipsis as lo, PaginationItem as uo, PaginationLink as xo, PaginationNext as fo, PaginationPrevious as go } from "./components/ui/pagination.js";
|
|
42
|
+
import { Popover as bo, PopoverContent as so, PopoverTrigger as So } from "./components/ui/popover.js";
|
|
43
43
|
import { PromptSuggestions as co } from "./components/ui/prompt-suggestions.js";
|
|
44
44
|
import { ResizableHandle as Do, ResizablePanel as Ao, ResizablePanelGroup as Io } from "./components/ui/resizable.js";
|
|
45
45
|
import { ScrollArea as ho, ScrollBar as vo } from "./components/ui/scroll-area.js";
|
|
46
46
|
import { Select as wo, SelectContent as Go, SelectGroup as Lo, SelectItem as Bo, SelectLabel as Ro, SelectSeparator as Ho, SelectTrigger as ko, SelectValue as yo } from "./components/ui/select.js";
|
|
47
|
-
import { Sheet as
|
|
47
|
+
import { Sheet as Vo, SheetContent as zo, SheetDescription as Eo, SheetFooter as Oo, SheetHeader as Uo, SheetTitle as Wo, SheetTrigger as jo } from "./components/ui/sheet.js";
|
|
48
48
|
import { Table as Jo, TableBody as Ko, TableCaption as Qo, TableCell as Xo, TableFooter as Yo, TableHead as Zo, TableHeader as _o, TableRow as $o } from "./components/ui/table.js";
|
|
49
49
|
import { Tabs as rt, TabsContent as ot, TabsList as tt, TabsTrigger as at } from "./components/ui/tabs.js";
|
|
50
50
|
import { ToggleGroup as it, ToggleGroupItem as pt } from "./components/ui/toggle-group.js";
|
|
51
|
-
import { Breadcrumb as lt, BreadcrumbEllipsis as ut, BreadcrumbItem as xt, BreadcrumbLink as dt, BreadcrumbList as
|
|
51
|
+
import { Breadcrumb as lt, BreadcrumbEllipsis as ut, BreadcrumbItem as xt, BreadcrumbLink as dt, BreadcrumbList as ft, BreadcrumbPage as gt, BreadcrumbSeparator as Ct } from "./components/ui/breadcrumb.js";
|
|
52
52
|
import { Slider as st } from "./components/ui/slider.js";
|
|
53
53
|
import { CircularProgress as Mt } from "./components/ui/charts/circular.js";
|
|
54
54
|
import { ThemeSwitcher as Tt } from "./components/ui/theme-switcher.js";
|
|
@@ -56,7 +56,7 @@ import { DropdownMenu as At, DropdownMenuContent as It, DropdownMenuItem as Pt,
|
|
|
56
56
|
import { FileUploader as Gt } from "./components/ui/file-uploader.js";
|
|
57
57
|
import { FilePreview as Bt } from "./components/ui/file-preview.js";
|
|
58
58
|
import { AudioVisualizer as Ht } from "./components/ui/audio-visualizer.js";
|
|
59
|
-
import { Carousel as yt, CarouselContent as Nt, CarouselItem as
|
|
59
|
+
import { Carousel as yt, CarouselContent as Nt, CarouselItem as Vt, CarouselNext as zt, CarouselPrevious as Et } from "./components/ui/carousel.js";
|
|
60
60
|
import { ChartContainer as Ut, ChartLegend as Wt, ChartLegendContent as jt, ChartStyle as qt, ChartTooltip as Jt, ChartTooltipContent as Kt } from "./components/ui/chart.js";
|
|
61
61
|
import { useEditorModal as Xt } from "./components/editor/editor-hooks/use-modal.js";
|
|
62
62
|
import { AppEditor as Zt } from "./components/ui/app-editor.js";
|
|
@@ -65,32 +65,33 @@ import { AppSelect as ra } from "./components/ui/app-select.js";
|
|
|
65
65
|
import { AppSidebar as ta } from "./components/ui/app-sidebar.js";
|
|
66
66
|
import { Chat as na, ChatContainer as ia, ChatForm as pa, ChatMessages as ma } from "./components/ui/chat.js";
|
|
67
67
|
import { ChatMessage as ua } from "./components/ui/chat-message.js";
|
|
68
|
-
import { Confirmer as da, confirm as
|
|
69
|
-
import { FilePreviewer as
|
|
70
|
-
import {
|
|
71
|
-
import {
|
|
72
|
-
import {
|
|
73
|
-
import {
|
|
74
|
-
import {
|
|
75
|
-
import {
|
|
76
|
-
import {
|
|
77
|
-
import {
|
|
78
|
-
import {
|
|
79
|
-
import {
|
|
80
|
-
import {
|
|
81
|
-
import {
|
|
82
|
-
import {
|
|
83
|
-
import {
|
|
84
|
-
import {
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
87
|
-
import {
|
|
88
|
-
import {
|
|
89
|
-
import {
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
68
|
+
import { Confirmer as da, confirm as fa } from "./components/ui/confirmer.js";
|
|
69
|
+
import { FilePreviewer as Ca, previewFileModal as ba, safePreviewFileModal as sa } from "./components/ui/file-previewer.js";
|
|
70
|
+
import { SecurePdfViewer as Ma } from "./components/ui/secure-pdf-viewer.js";
|
|
71
|
+
import { DataRepeatTypes as Ta } from "./components/ui/gantt/enums/DataRepeatTimes.js";
|
|
72
|
+
import { DragStepSizes as Aa } from "./components/ui/gantt/enums/DragStepSizes.js";
|
|
73
|
+
import { GanttConsts as Pa } from "./components/ui/gantt/constants/GanttConsts.js";
|
|
74
|
+
import { GanttDimensions as va } from "./components/ui/gantt/enums/GanttDimensions.js";
|
|
75
|
+
import { InterruptPrompt as wa } from "./components/ui/interrupt-prompt.js";
|
|
76
|
+
import { MarkdownRenderer as La } from "./components/ui/markdown-renderer.js";
|
|
77
|
+
import { MessageInput as Ra } from "./components/ui/message-input.js";
|
|
78
|
+
import { MessageList as ka } from "./components/ui/message-list.js";
|
|
79
|
+
import { NavigationMenu as Na, NavigationMenuContent as Va, NavigationMenuIndicator as za, NavigationMenuItem as Ea, NavigationMenuLink as Oa, NavigationMenuList as Ua, NavigationMenuTrigger as Wa, NavigationMenuViewport as ja } from "./components/ui/navigation-menu.js";
|
|
80
|
+
import { Sidebar as Ja, SidebarContent as Ka, SidebarFooter as Qa, SidebarGroup as Xa, SidebarGroupAction as Ya, SidebarGroupContent as Za, SidebarGroupLabel as _a, SidebarHeader as $a, SidebarInput as en, SidebarInset as rn, SidebarMenu as on, SidebarMenuAction as tn, SidebarMenuBadge as an, SidebarMenuButton as nn, SidebarMenuItem as pn, SidebarMenuSkeleton as mn, SidebarMenuSub as ln, SidebarMenuSubButton as un, SidebarMenuSubItem as xn, SidebarProvider as dn, SidebarRail as fn, SidebarSeparator as gn, SidebarTrigger as Cn, useSidebar as bn } from "./components/ui/sidebar.js";
|
|
81
|
+
import { DataCrossTable as Sn } from "./components/ui/tables/data-cross-table/data-cross-table.js";
|
|
82
|
+
import { DataCrossTableButtonsGroup as cn } from "./components/ui/tables/data-cross-table/data-cross-table-buttons.js";
|
|
83
|
+
import { DataCrossTableProvider as Dn } from "./components/ui/tables/data-cross-table/data-cross-table-context.js";
|
|
84
|
+
import { DataTable as In } from "./components/ui/tables/data-table/data-table.js";
|
|
85
|
+
import { ELogicalFilterOperator as hn } from "./components/ui/tables/data-table/data-table-constants.js";
|
|
86
|
+
import { WeeklyCalendar as Fn } from "./components/ui/weekly-calendar/weekly-calendar.js";
|
|
87
|
+
import { cn as Gn, downloadFile as Ln, hexContrast as Bn, hexToRgba as Rn, previewFile as Hn, stringToHexColor as kn } from "./lib/utils.js";
|
|
88
|
+
import { AppStepper as Nn } from "./components/ui/app-stepper.js";
|
|
89
|
+
import { useAudioRecording as zn } from "./hooks/use-audio-recording.js";
|
|
90
|
+
import { useAutoScroll as On } from "./hooks/use-auto-scroll.js";
|
|
91
|
+
import { useAutosizeTextArea as Wn } from "./hooks/use-autosize-textarea.js";
|
|
92
|
+
import { useCopyToClipboard as qn } from "./hooks/use-copy-to-clipboard.js";
|
|
93
|
+
import { useDebounce as Kn } from "./hooks/use-debounce.js";
|
|
94
|
+
import { useIsMobile as Xn } from "./hooks/use-mobile.js";
|
|
94
95
|
export {
|
|
95
96
|
ne as Accordion,
|
|
96
97
|
ie as AccordionContent,
|
|
@@ -98,9 +99,9 @@ export {
|
|
|
98
99
|
me as AccordionTrigger,
|
|
99
100
|
ue as Alert,
|
|
100
101
|
xe as AlertDescription,
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
ge as AlertDialog,
|
|
103
|
+
Ce as AlertDialogAction,
|
|
104
|
+
be as AlertDialogCancel,
|
|
104
105
|
se as AlertDialogContent,
|
|
105
106
|
Se as AlertDialogDescription,
|
|
106
107
|
Me as AlertDialogFooter,
|
|
@@ -112,7 +113,7 @@ export {
|
|
|
112
113
|
$t as AppMultipleSelectDropdown,
|
|
113
114
|
ra as AppSelect,
|
|
114
115
|
ta as AppSidebar,
|
|
115
|
-
|
|
116
|
+
Nn as AppStepper,
|
|
116
117
|
a as AspectRatio,
|
|
117
118
|
Ie as AsyncSelect,
|
|
118
119
|
Ht as AudioVisualizer,
|
|
@@ -124,10 +125,10 @@ export {
|
|
|
124
125
|
ut as BreadcrumbEllipsis,
|
|
125
126
|
xt as BreadcrumbItem,
|
|
126
127
|
dt as BreadcrumbLink,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
128
|
+
ft as BreadcrumbList,
|
|
129
|
+
gt as BreadcrumbPage,
|
|
130
|
+
Ct as BreadcrumbSeparator,
|
|
131
|
+
f as Button,
|
|
131
132
|
he as Calendar,
|
|
132
133
|
Fe as Card,
|
|
133
134
|
we as CardContent,
|
|
@@ -137,9 +138,9 @@ export {
|
|
|
137
138
|
Re as CardTitle,
|
|
138
139
|
yt as Carousel,
|
|
139
140
|
Nt as CarouselContent,
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
141
|
+
Vt as CarouselItem,
|
|
142
|
+
zt as CarouselNext,
|
|
143
|
+
Et as CarouselPrevious,
|
|
143
144
|
Ut as ChartContainer,
|
|
144
145
|
Wt as ChartLegend,
|
|
145
146
|
jt as ChartLegendContent,
|
|
@@ -151,15 +152,15 @@ export {
|
|
|
151
152
|
pa as ChatForm,
|
|
152
153
|
ua as ChatMessage,
|
|
153
154
|
ma as ChatMessages,
|
|
154
|
-
|
|
155
|
+
b as Checkbox,
|
|
155
156
|
Mt as CircularProgress,
|
|
156
157
|
S as Collapsible,
|
|
157
158
|
M as CollapsibleContent,
|
|
158
159
|
c as CollapsibleTrigger,
|
|
159
160
|
Ne as Command,
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
161
|
+
Ve as CommandDialog,
|
|
162
|
+
ze as CommandEmpty,
|
|
163
|
+
Ee as CommandGroup,
|
|
163
164
|
Oe as CommandInput,
|
|
164
165
|
Ue as CommandItem,
|
|
165
166
|
We as CommandList,
|
|
@@ -182,20 +183,20 @@ export {
|
|
|
182
183
|
ir as ContextMenuSubTrigger,
|
|
183
184
|
pr as ContextMenuTrigger,
|
|
184
185
|
D as CopyButton,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
186
|
+
Sn as DataCrossTable,
|
|
187
|
+
cn as DataCrossTableButtonsGroup,
|
|
188
|
+
Dn as DataCrossTableProvider,
|
|
189
|
+
Ta as DataRepeatTypes,
|
|
190
|
+
In as DataTable,
|
|
190
191
|
lr as DatePicker,
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
fr as Dialog,
|
|
193
|
+
gr as DialogContent,
|
|
194
|
+
Cr as DialogDescription,
|
|
195
|
+
br as DialogFooter,
|
|
195
196
|
sr as DialogHeader,
|
|
196
197
|
Sr as DialogTitle,
|
|
197
198
|
Mr as DialogTrigger,
|
|
198
|
-
|
|
199
|
+
Aa as DragStepSizes,
|
|
199
200
|
Tr as Drawer,
|
|
200
201
|
Dr as DrawerContent,
|
|
201
202
|
Ar as DrawerDescription,
|
|
@@ -209,9 +210,9 @@ export {
|
|
|
209
210
|
ht as DropdownMenuLabel,
|
|
210
211
|
vt as DropdownMenuSeparator,
|
|
211
212
|
Ft as DropdownMenuTrigger,
|
|
212
|
-
|
|
213
|
+
hn as ELogicalFilterOperator,
|
|
213
214
|
Bt as FilePreview,
|
|
214
|
-
|
|
215
|
+
Ca as FilePreviewer,
|
|
215
216
|
Gt as FileUploader,
|
|
216
217
|
wr as Form,
|
|
217
218
|
Gr as FormControl,
|
|
@@ -221,20 +222,20 @@ export {
|
|
|
221
222
|
Hr as FormLabel,
|
|
222
223
|
kr as FormMessage,
|
|
223
224
|
o as Gantt,
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
225
|
+
Pa as GanttConsts,
|
|
226
|
+
va as GanttDimensions,
|
|
227
|
+
Vr as HoverCard,
|
|
228
|
+
zr as HoverCardContent,
|
|
229
|
+
Er as HoverCardTrigger,
|
|
229
230
|
I as Icon,
|
|
230
231
|
h as Input,
|
|
231
232
|
F as InputOTP,
|
|
232
233
|
w as InputOTPGroup,
|
|
233
234
|
G as InputOTPSlot,
|
|
234
235
|
xr as InputSelector,
|
|
235
|
-
|
|
236
|
+
wa as InterruptPrompt,
|
|
236
237
|
B as Label,
|
|
237
|
-
|
|
238
|
+
La as MarkdownRenderer,
|
|
238
239
|
Ur as Menubar,
|
|
239
240
|
Wr as MenubarCheckboxItem,
|
|
240
241
|
jr as MenubarContent,
|
|
@@ -251,25 +252,25 @@ export {
|
|
|
251
252
|
ro as MenubarSubContent,
|
|
252
253
|
oo as MenubarSubTrigger,
|
|
253
254
|
to as MenubarTrigger,
|
|
254
|
-
|
|
255
|
-
|
|
255
|
+
Ra as MessageInput,
|
|
256
|
+
ka as MessageList,
|
|
256
257
|
no as MultipleSelector,
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
258
|
+
Na as NavigationMenu,
|
|
259
|
+
Va as NavigationMenuContent,
|
|
260
|
+
za as NavigationMenuIndicator,
|
|
261
|
+
Ea as NavigationMenuItem,
|
|
262
|
+
Oa as NavigationMenuLink,
|
|
263
|
+
Ua as NavigationMenuList,
|
|
264
|
+
Wa as NavigationMenuTrigger,
|
|
265
|
+
ja as NavigationMenuViewport,
|
|
265
266
|
po as Pagination,
|
|
266
267
|
mo as PaginationContent,
|
|
267
268
|
lo as PaginationEllipsis,
|
|
268
269
|
uo as PaginationItem,
|
|
269
270
|
xo as PaginationLink,
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
271
|
+
fo as PaginationNext,
|
|
272
|
+
go as PaginationPrevious,
|
|
273
|
+
bo as Popover,
|
|
273
274
|
so as PopoverContent,
|
|
274
275
|
So as PopoverTrigger,
|
|
275
276
|
H as Progress,
|
|
@@ -281,6 +282,7 @@ export {
|
|
|
281
282
|
Io as ResizablePanelGroup,
|
|
282
283
|
ho as ScrollArea,
|
|
283
284
|
vo as ScrollBar,
|
|
285
|
+
Ma as SecurePdfViewer,
|
|
284
286
|
wo as Select,
|
|
285
287
|
Go as SelectContent,
|
|
286
288
|
Lo as SelectGroup,
|
|
@@ -289,37 +291,37 @@ export {
|
|
|
289
291
|
Ho as SelectSeparator,
|
|
290
292
|
ko as SelectTrigger,
|
|
291
293
|
yo as SelectValue,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
z as Separator,
|
|
295
|
+
Vo as Sheet,
|
|
296
|
+
zo as SheetContent,
|
|
297
|
+
Eo as SheetDescription,
|
|
296
298
|
Oo as SheetFooter,
|
|
297
299
|
Uo as SheetHeader,
|
|
298
300
|
Wo as SheetTitle,
|
|
299
301
|
jo as SheetTrigger,
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
302
|
+
Ja as Sidebar,
|
|
303
|
+
Ka as SidebarContent,
|
|
304
|
+
Qa as SidebarFooter,
|
|
305
|
+
Xa as SidebarGroup,
|
|
306
|
+
Ya as SidebarGroupAction,
|
|
307
|
+
Za as SidebarGroupContent,
|
|
308
|
+
_a as SidebarGroupLabel,
|
|
309
|
+
$a as SidebarHeader,
|
|
310
|
+
en as SidebarInput,
|
|
311
|
+
rn as SidebarInset,
|
|
312
|
+
on as SidebarMenu,
|
|
313
|
+
tn as SidebarMenuAction,
|
|
314
|
+
an as SidebarMenuBadge,
|
|
315
|
+
nn as SidebarMenuButton,
|
|
316
|
+
pn as SidebarMenuItem,
|
|
317
|
+
mn as SidebarMenuSkeleton,
|
|
318
|
+
ln as SidebarMenuSub,
|
|
319
|
+
un as SidebarMenuSubButton,
|
|
320
|
+
xn as SidebarMenuSubItem,
|
|
321
|
+
dn as SidebarProvider,
|
|
322
|
+
fn as SidebarRail,
|
|
323
|
+
gn as SidebarSeparator,
|
|
324
|
+
Cn as SidebarTrigger,
|
|
323
325
|
O as Skeleton,
|
|
324
326
|
st as Slider,
|
|
325
327
|
W as Switch,
|
|
@@ -347,26 +349,26 @@ export {
|
|
|
347
349
|
$ as TooltipTrigger,
|
|
348
350
|
re as TypingIndicator,
|
|
349
351
|
ke as Typo,
|
|
350
|
-
|
|
352
|
+
Fn as WeeklyCalendar,
|
|
351
353
|
x as badgeVariants,
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
354
|
+
g as buttonVariants,
|
|
355
|
+
Gn as cn,
|
|
356
|
+
fa as confirm,
|
|
357
|
+
Ln as downloadFile,
|
|
358
|
+
Bn as hexContrast,
|
|
359
|
+
Rn as hexToRgba,
|
|
360
|
+
Hn as previewFile,
|
|
361
|
+
ba as previewFileModal,
|
|
360
362
|
sa as safePreviewFileModal,
|
|
361
|
-
|
|
363
|
+
kn as stringToHexColor,
|
|
362
364
|
Q as toggleVariants,
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
365
|
+
zn as useAudioRecording,
|
|
366
|
+
On as useAutoScroll,
|
|
367
|
+
Wn as useAutosizeTextArea,
|
|
368
|
+
qn as useCopyToClipboard,
|
|
369
|
+
Kn as useDebounce,
|
|
368
370
|
Xt as useEditorModal,
|
|
369
371
|
yr as useFormField,
|
|
370
|
-
|
|
371
|
-
|
|
372
|
+
Xn as useIsMobile,
|
|
373
|
+
bn as useSidebar
|
|
372
374
|
};
|
package/dist/laif-ds.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.EditorTheme__code{background-color:transparent;font-family:Menlo,Consolas,Monaco,monospace;display:block;padding:8px 8px 8px 52px;line-height:1.53;font-size:13px;margin:8px 0;overflow-x:auto;border:1px solid #ccc;position:relative;border-radius:8px;tab-size:2}.EditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:transparent;border-right:1px solid #ccc;left:0;top:0;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.EditorTheme__table{border-collapse:collapse;border-spacing:0;overflow-y:scroll;overflow-x:scroll;table-layout:fixed;width:fit-content;width:100%;margin:0 25px 30px 0}.EditorTheme__tokenComment{color:#708090}.EditorTheme__tokenPunctuation{color:#999}.EditorTheme__tokenProperty{color:#905}.EditorTheme__tokenSelector{color:#690}.EditorTheme__tokenOperator{color:#9a6e3a}.EditorTheme__tokenAttr{color:#07a}.EditorTheme__tokenVariable{color:#e90}.EditorTheme__tokenFunction{color:#dd4a68}.Collapsible__container{background-color:var(--background);border:1px solid #ccc;border-radius:.5rem;margin-bottom:.5rem}.Collapsible__title{padding:.25rem .25rem .25rem 1rem;position:relative;font-weight:700;outline:none;cursor:pointer;list-style-type:disclosure-closed;list-style-position:inside}.Collapsible__title p{display:inline-flex}.Collapsible__title::marker{color:#d3d3d3}.Collapsible__container[open]>.Collapsible__title{list-style-type:disclosure-open}
|
|
1
|
+
.EditorTheme__code{background-color:transparent;font-family:Menlo,Consolas,Monaco,monospace;display:block;padding:8px 8px 8px 52px;line-height:1.53;font-size:13px;margin:8px 0;overflow-x:auto;border:1px solid #ccc;position:relative;border-radius:8px;tab-size:2}.EditorTheme__code:before{content:attr(data-gutter);position:absolute;background-color:transparent;border-right:1px solid #ccc;left:0;top:0;padding:8px;color:#777;white-space:pre-wrap;text-align:right;min-width:25px}.EditorTheme__table{border-collapse:collapse;border-spacing:0;overflow-y:scroll;overflow-x:scroll;table-layout:fixed;width:fit-content;width:100%;margin:0 25px 30px 0}.EditorTheme__tokenComment{color:#708090}.EditorTheme__tokenPunctuation{color:#999}.EditorTheme__tokenProperty{color:#905}.EditorTheme__tokenSelector{color:#690}.EditorTheme__tokenOperator{color:#9a6e3a}.EditorTheme__tokenAttr{color:#07a}.EditorTheme__tokenVariable{color:#e90}.EditorTheme__tokenFunction{color:#dd4a68}.Collapsible__container{background-color:var(--background);border:1px solid #ccc;border-radius:.5rem;margin-bottom:.5rem}.Collapsible__title{padding:.25rem .25rem .25rem 1rem;position:relative;font-weight:700;outline:none;cursor:pointer;list-style-type:disclosure-closed;list-style-position:inside}.Collapsible__title p{display:inline-flex}.Collapsible__title::marker{color:#d3d3d3}.Collapsible__container[open]>.Collapsible__title{list-style-type:disclosure-open}:root{--react-pdf-annotation-layer: 1;--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,<svg width='1px' height='1px' xmlns='http://www.w3.org/2000/svg'><rect width='100%' height='100%' style='fill:rgba(0, 54, 255, 0.13);'/></svg>");--input-focus-border-color: Highlight;--input-focus-outline: 1px solid Canvas;--input-unfocused-border-color: transparent;--input-disabled-border-color: transparent;--input-hover-border-color: black;--link-outline: none}@media screen and (forced-colors: active){:root{--input-focus-border-color: CanvasText;--input-unfocused-border-color: ActiveText;--input-disabled-border-color: GrayText;--input-hover-border-color: Highlight;--link-outline: 1.5px solid LinkText}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid selectedItem}.annotationLayer .linkAnnotation:hover{-webkit-backdrop-filter:invert(100%);backdrop-filter:invert(100%)}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0;z-index:3}.annotationLayer[data-main-rotation="90"] .norotate{transform:rotate(270deg) translate(-100%)}.annotationLayer[data-main-rotation="180"] .norotate{transform:rotate(180deg) translate(-100%,-100%)}.annotationLayer[data-main-rotation="270"] .norotate{transform:rotate(90deg) translateY(-100%)}.annotationLayer canvas{position:absolute;width:100%;height:100%}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;margin:0;transform-origin:0 0}.annotationLayer .linkAnnotation{outline:var(--link-outline)}.textLayer.selecting~.annotationLayer section{pointer-events:none}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer :is(.linkAnnotation,.buttonWidgetAnnotation.pushButton)>a:hover{opacity:.2;background:#ff0;box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%;top:0;left:0}.annotationLayer .textWidgetAnnotation :is(input,textarea),.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{background-image:var(--annotation-unfocused-field-background);border:2px solid var(--input-unfocused-border-color);box-sizing:border-box;font:calc(9px * var(--total-scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation :is(input,textarea):required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation :is(input,textarea)[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input[disabled]{background:none;border:2px solid var(--input-disabled-border-color);cursor:not-allowed}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input:hover{border:2px solid var(--input-hover-border-color)}.annotationLayer .textWidgetAnnotation :is(input,textarea):hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover{border-radius:2px}.annotationLayer .textWidgetAnnotation :is(input,textarea):focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) :focus{background-image:none;background-color:transparent}.annotationLayer .buttonWidgetAnnotation.checkBox :focus{border:2px solid var(--input-focus-border-color);border-radius:2px;outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.radioButton :focus{border:2px solid var(--input-focus-border-color);outline:var(--input-focus-outline)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation:is(.checkBox,.radioButton) input{appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .fileAttachmentAnnotation .popupTriggerArea{position:absolute}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--total-scale-factor));width:100%;min-width:calc(180px * var(--total-scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--total-scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--total-scale-factor)) calc(5px * var(--total-scale-factor)) #888;border-radius:calc(2px * var(--total-scale-factor));padding:calc(6px * var(--total-scale-factor));margin-left:calc(5px * var(--total-scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--total-scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--total-scale-factor));padding-top:calc(2px * var(--total-scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--total-scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%;top:0;left:0}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--react-pdf-text-layer: 1;--highlight-bg-color: rgba(180, 0, 170, 1);--highlight-selected-bg-color: rgba(0, 100, 0, 1)}@media screen and (forced-colors: active){:root{--highlight-bg-color: Highlight;--highlight-selected-bg-color: ButtonText}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.textLayer{position:absolute;text-align:initial;inset:0;overflow:hidden;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;z-index:2}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;margin:0;transform-origin:0 0}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:var(--highlight-bg-color);border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:var(--highlight-selected-bg-color)}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;inset:100% 0 0;z-index:-1;cursor:default;-webkit-user-select:none;user-select:none}.textLayer.selecting .endOfContent{top:0}.hiddenCanvasElement{position:absolute;top:0;left:0;width:0;height:0;display:none}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
var f = Object.prototype.hasOwnProperty;
|
|
3
|
+
function l(t, e, n) {
|
|
4
|
+
for (n of t.keys())
|
|
5
|
+
if (u(n, e)) return n;
|
|
6
|
+
}
|
|
7
|
+
function u(t, e) {
|
|
8
|
+
var n, i, r;
|
|
9
|
+
if (t === e) return !0;
|
|
10
|
+
if (t && e && (n = t.constructor) === e.constructor) {
|
|
11
|
+
if (n === Date) return t.getTime() === e.getTime();
|
|
12
|
+
if (n === RegExp) return t.toString() === e.toString();
|
|
13
|
+
if (n === Array) {
|
|
14
|
+
if ((i = t.length) === e.length)
|
|
15
|
+
for (; i-- && u(t[i], e[i]); ) ;
|
|
16
|
+
return i === -1;
|
|
17
|
+
}
|
|
18
|
+
if (n === Set) {
|
|
19
|
+
if (t.size !== e.size)
|
|
20
|
+
return !1;
|
|
21
|
+
for (i of t)
|
|
22
|
+
if (r = i, r && typeof r == "object" && (r = l(e, r), !r) || !e.has(r)) return !1;
|
|
23
|
+
return !0;
|
|
24
|
+
}
|
|
25
|
+
if (n === Map) {
|
|
26
|
+
if (t.size !== e.size)
|
|
27
|
+
return !1;
|
|
28
|
+
for (i of t)
|
|
29
|
+
if (r = i[0], r && typeof r == "object" && (r = l(e, r), !r) || !u(i[1], e.get(r)))
|
|
30
|
+
return !1;
|
|
31
|
+
return !0;
|
|
32
|
+
}
|
|
33
|
+
if (n === ArrayBuffer)
|
|
34
|
+
t = new Uint8Array(t), e = new Uint8Array(e);
|
|
35
|
+
else if (n === DataView) {
|
|
36
|
+
if ((i = t.byteLength) === e.byteLength)
|
|
37
|
+
for (; i-- && t.getInt8(i) === e.getInt8(i); ) ;
|
|
38
|
+
return i === -1;
|
|
39
|
+
}
|
|
40
|
+
if (ArrayBuffer.isView(t)) {
|
|
41
|
+
if ((i = t.byteLength) === e.byteLength)
|
|
42
|
+
for (; i-- && t[i] === e[i]; ) ;
|
|
43
|
+
return i === -1;
|
|
44
|
+
}
|
|
45
|
+
if (!n || typeof t == "object") {
|
|
46
|
+
i = 0;
|
|
47
|
+
for (n in t)
|
|
48
|
+
if (f.call(t, n) && ++i && !f.call(e, n) || !(n in e) || !u(t[n], e[n])) return !1;
|
|
49
|
+
return Object.keys(e).length === i;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return t !== t && e !== e;
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
u as dequal
|
|
56
|
+
};
|