laif-ds 0.2.31 → 0.2.33
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/index3.js +5 -5
- package/dist/_virtual/index4.js +5 -5
- package/dist/_virtual/index5.js +4 -4
- package/dist/components/ui/app-radio-group.js +115 -0
- package/dist/components/ui/radio-group.js +39 -24
- package/dist/components/ui/secure-pdf-viewer.js +64 -57
- package/dist/components/ui/textarea.js +16 -15
- package/dist/index.d.ts +53 -2
- package/dist/index.js +95 -93
- package/dist/laif-ds.css +1 -1
- package/dist/node_modules/eventemitter3/index.js +1 -1
- package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +1 -1
- package/dist/node_modules/react-hook-form/dist/index.esm.js +1 -1
- package/dist/node_modules/recharts/es6/util/Events.js +1 -1
- package/dist/node_modules/unified/lib/index.js +1 -1
- package/dist/styles.v3.css +1 -1
- package/package.json +6 -4
- package/dist/_virtual/warning.js +0 -8
- package/dist/node_modules/dequal/dist/index.js +0 -56
- package/dist/node_modules/make-cancellable-promise/dist/index.js +0 -15
- package/dist/node_modules/make-event-props/dist/index.js +0 -114
- package/dist/node_modules/merge-refs/dist/index.js +0 -19
- package/dist/node_modules/react-pdf/dist/Document.js +0 -180
- package/dist/node_modules/react-pdf/dist/DocumentContext.js +0 -6
- package/dist/node_modules/react-pdf/dist/LinkService.js +0 -94
- package/dist/node_modules/react-pdf/dist/Message.js +0 -8
- package/dist/node_modules/react-pdf/dist/Page/AnnotationLayer.js +0 -97
- package/dist/node_modules/react-pdf/dist/Page/Canvas.js +0 -55
- package/dist/node_modules/react-pdf/dist/Page/TextLayer.js +0 -111
- package/dist/node_modules/react-pdf/dist/Page.js +0 -180
- package/dist/node_modules/react-pdf/dist/PageContext.js +0 -6
- package/dist/node_modules/react-pdf/dist/PasswordResponses.js +0 -8
- package/dist/node_modules/react-pdf/dist/StructTree.js +0 -44
- package/dist/node_modules/react-pdf/dist/StructTreeItem.js +0 -14
- package/dist/node_modules/react-pdf/dist/index.js +0 -9
- package/dist/node_modules/react-pdf/dist/shared/constants.js +0 -62
- package/dist/node_modules/react-pdf/dist/shared/hooks/useDocumentContext.js +0 -9
- package/dist/node_modules/react-pdf/dist/shared/hooks/usePageContext.js +0 -9
- package/dist/node_modules/react-pdf/dist/shared/hooks/useResolver.js +0 -20
- package/dist/node_modules/react-pdf/dist/shared/structTreeUtils.js +0 -55
- package/dist/node_modules/react-pdf/dist/shared/utils.js +0 -110
- package/dist/node_modules/react-pdf/node_modules/pdfjs-dist/build/pdf.js +0 -15282
- package/dist/node_modules/tiny-invariant/dist/esm/tiny-invariant.js +0 -13
- package/dist/node_modules/warning/warning.js +0 -39
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import { CopyButton as D } from "./components/ui/copy-button.js";
|
|
|
10
10
|
import { Icon as I } from "./components/ui/icon.js";
|
|
11
11
|
import { Input as h } from "./components/ui/input.js";
|
|
12
12
|
import { InputOTP as F, InputOTPGroup as w, InputOTPSlot as G } from "./components/ui/input-otp.js";
|
|
13
|
-
import { Label as
|
|
13
|
+
import { Label as R } 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
16
|
import { Separator as z } from "./components/ui/separator.js";
|
|
@@ -26,7 +26,7 @@ import { Alert as ue, AlertDescription as xe, AlertTitle as de } from "./compone
|
|
|
26
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
|
-
import { Card as Fe, CardContent as we, CardDescription as Ge, CardFooter as Le, CardHeader as
|
|
29
|
+
import { Card as Fe, CardContent as we, CardDescription as Ge, CardFooter as Le, CardHeader as Re, CardTitle as Be } from "./components/ui/card.js";
|
|
30
30
|
import { Typo as ke } from "./components/ui/typo.js";
|
|
31
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";
|
|
@@ -34,7 +34,7 @@ import { DatePicker as lr } from "./components/ui/date-picker.js";
|
|
|
34
34
|
import { InputSelector as xr } from "./components/ui/input-selector.js";
|
|
35
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
|
-
import { Form as wr, FormControl as Gr, FormDescription as Lr, FormField as
|
|
37
|
+
import { Form as wr, FormControl as Gr, FormDescription as Lr, FormField as Rr, FormItem as Br, FormLabel as Hr, FormMessage as kr, useFormField as yr } from "./components/ui/form.js";
|
|
38
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";
|
|
@@ -43,7 +43,7 @@ import { Popover as bo, PopoverContent as so, PopoverTrigger as So } from "./com
|
|
|
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
|
-
import { Select as wo, SelectContent as Go, SelectGroup as Lo, SelectItem as
|
|
46
|
+
import { Select as wo, SelectContent as Go, SelectGroup as Lo, SelectItem as Ro, SelectLabel as Bo, SelectSeparator as Ho, SelectTrigger as ko, SelectValue as yo } from "./components/ui/select.js";
|
|
47
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";
|
|
@@ -54,44 +54,45 @@ import { CircularProgress as Mt } from "./components/ui/charts/circular.js";
|
|
|
54
54
|
import { ThemeSwitcher as Tt } from "./components/ui/theme-switcher.js";
|
|
55
55
|
import { DropdownMenu as At, DropdownMenuContent as It, DropdownMenuItem as Pt, DropdownMenuLabel as ht, DropdownMenuSeparator as vt, DropdownMenuTrigger as Ft } from "./components/ui/dropdown-menu.js";
|
|
56
56
|
import { FileUploader as Gt } from "./components/ui/file-uploader.js";
|
|
57
|
-
import { FilePreview as
|
|
57
|
+
import { FilePreview as Rt } from "./components/ui/file-preview.js";
|
|
58
58
|
import { AudioVisualizer as Ht } from "./components/ui/audio-visualizer.js";
|
|
59
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";
|
|
63
63
|
import { AppMultipleSelectDropdown as $t } from "./components/ui/app-multiple-select-dropdown.js";
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
69
|
-
import {
|
|
70
|
-
import {
|
|
64
|
+
import { AppRadioGroup as ra } from "./components/ui/app-radio-group.js";
|
|
65
|
+
import { AppSelect as ta } from "./components/ui/app-select.js";
|
|
66
|
+
import { AppSidebar as na } from "./components/ui/app-sidebar.js";
|
|
67
|
+
import { Chat as pa, ChatContainer as ma, ChatForm as la, ChatMessages as ua } from "./components/ui/chat.js";
|
|
68
|
+
import { ChatMessage as da } from "./components/ui/chat-message.js";
|
|
69
|
+
import { Confirmer as ga, confirm as Ca } from "./components/ui/confirmer.js";
|
|
70
|
+
import { FilePreviewer as sa, previewFileModal as Sa, safePreviewFileModal as Ma } from "./components/ui/file-previewer.js";
|
|
71
71
|
import { DataRepeatTypes as Ta } from "./components/ui/gantt/enums/DataRepeatTimes.js";
|
|
72
72
|
import { DragStepSizes as Aa } from "./components/ui/gantt/enums/DragStepSizes.js";
|
|
73
73
|
import { GanttConsts as Pa } from "./components/ui/gantt/constants/GanttConsts.js";
|
|
74
74
|
import { GanttDimensions as va } from "./components/ui/gantt/enums/GanttDimensions.js";
|
|
75
75
|
import { InterruptPrompt as wa } from "./components/ui/interrupt-prompt.js";
|
|
76
76
|
import { MarkdownRenderer as La } from "./components/ui/markdown-renderer.js";
|
|
77
|
-
import { MessageInput as
|
|
77
|
+
import { MessageInput as Ba } from "./components/ui/message-input.js";
|
|
78
78
|
import { MessageList as ka } from "./components/ui/message-list.js";
|
|
79
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 {
|
|
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 {
|
|
94
|
-
import {
|
|
80
|
+
import { SecurePdfViewer as Ja } from "./components/ui/secure-pdf-viewer.js";
|
|
81
|
+
import { Sidebar as Qa, SidebarContent as Xa, SidebarFooter as Ya, SidebarGroup as Za, SidebarGroupAction as _a, SidebarGroupContent as $a, SidebarGroupLabel as en, SidebarHeader as rn, SidebarInput as on, SidebarInset as tn, SidebarMenu as an, SidebarMenuAction as nn, SidebarMenuBadge as pn, SidebarMenuButton as mn, SidebarMenuItem as ln, SidebarMenuSkeleton as un, SidebarMenuSub as xn, SidebarMenuSubButton as dn, SidebarMenuSubItem as fn, SidebarProvider as gn, SidebarRail as Cn, SidebarSeparator as bn, SidebarTrigger as sn, useSidebar as Sn } from "./components/ui/sidebar.js";
|
|
82
|
+
import { DataCrossTable as cn } from "./components/ui/tables/data-cross-table/data-cross-table.js";
|
|
83
|
+
import { DataCrossTableButtonsGroup as Dn } from "./components/ui/tables/data-cross-table/data-cross-table-buttons.js";
|
|
84
|
+
import { DataCrossTableProvider as In } from "./components/ui/tables/data-cross-table/data-cross-table-context.js";
|
|
85
|
+
import { DataTable as hn } from "./components/ui/tables/data-table/data-table.js";
|
|
86
|
+
import { ELogicalFilterOperator as Fn } from "./components/ui/tables/data-table/data-table-constants.js";
|
|
87
|
+
import { WeeklyCalendar as Gn } from "./components/ui/weekly-calendar/weekly-calendar.js";
|
|
88
|
+
import { cn as Rn, downloadFile as Bn, hexContrast as Hn, hexToRgba as kn, previewFile as yn, stringToHexColor as Nn } from "./lib/utils.js";
|
|
89
|
+
import { AppStepper as zn } from "./components/ui/app-stepper.js";
|
|
90
|
+
import { useAudioRecording as On } from "./hooks/use-audio-recording.js";
|
|
91
|
+
import { useAutoScroll as Wn } from "./hooks/use-auto-scroll.js";
|
|
92
|
+
import { useAutosizeTextArea as qn } from "./hooks/use-autosize-textarea.js";
|
|
93
|
+
import { useCopyToClipboard as Kn } from "./hooks/use-copy-to-clipboard.js";
|
|
94
|
+
import { useDebounce as Xn } from "./hooks/use-debounce.js";
|
|
95
|
+
import { useIsMobile as Zn } from "./hooks/use-mobile.js";
|
|
95
96
|
export {
|
|
96
97
|
ne as Accordion,
|
|
97
98
|
ie as AccordionContent,
|
|
@@ -111,9 +112,10 @@ export {
|
|
|
111
112
|
de as AlertTitle,
|
|
112
113
|
Zt as AppEditor,
|
|
113
114
|
$t as AppMultipleSelectDropdown,
|
|
114
|
-
ra as
|
|
115
|
-
ta as
|
|
116
|
-
|
|
115
|
+
ra as AppRadioGroup,
|
|
116
|
+
ta as AppSelect,
|
|
117
|
+
na as AppSidebar,
|
|
118
|
+
zn as AppStepper,
|
|
117
119
|
a as AspectRatio,
|
|
118
120
|
Ie as AsyncSelect,
|
|
119
121
|
Ht as AudioVisualizer,
|
|
@@ -134,8 +136,8 @@ export {
|
|
|
134
136
|
we as CardContent,
|
|
135
137
|
Ge as CardDescription,
|
|
136
138
|
Le as CardFooter,
|
|
137
|
-
|
|
138
|
-
|
|
139
|
+
Re as CardHeader,
|
|
140
|
+
Be as CardTitle,
|
|
139
141
|
yt as Carousel,
|
|
140
142
|
Nt as CarouselContent,
|
|
141
143
|
Vt as CarouselItem,
|
|
@@ -147,11 +149,11 @@ export {
|
|
|
147
149
|
qt as ChartStyle,
|
|
148
150
|
Jt as ChartTooltip,
|
|
149
151
|
Kt as ChartTooltipContent,
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
pa as Chat,
|
|
153
|
+
ma as ChatContainer,
|
|
154
|
+
la as ChatForm,
|
|
155
|
+
da as ChatMessage,
|
|
156
|
+
ua as ChatMessages,
|
|
155
157
|
b as Checkbox,
|
|
156
158
|
Mt as CircularProgress,
|
|
157
159
|
S as Collapsible,
|
|
@@ -166,7 +168,7 @@ export {
|
|
|
166
168
|
We as CommandList,
|
|
167
169
|
je as CommandSeparator,
|
|
168
170
|
qe as CommandShortcut,
|
|
169
|
-
|
|
171
|
+
ga as Confirmer,
|
|
170
172
|
Ke as ContextMenu,
|
|
171
173
|
Qe as ContextMenuCheckboxItem,
|
|
172
174
|
Xe as ContextMenuContent,
|
|
@@ -183,11 +185,11 @@ export {
|
|
|
183
185
|
ir as ContextMenuSubTrigger,
|
|
184
186
|
pr as ContextMenuTrigger,
|
|
185
187
|
D as CopyButton,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
188
|
+
cn as DataCrossTable,
|
|
189
|
+
Dn as DataCrossTableButtonsGroup,
|
|
190
|
+
In as DataCrossTableProvider,
|
|
189
191
|
Ta as DataRepeatTypes,
|
|
190
|
-
|
|
192
|
+
hn as DataTable,
|
|
191
193
|
lr as DatePicker,
|
|
192
194
|
fr as Dialog,
|
|
193
195
|
gr as DialogContent,
|
|
@@ -210,15 +212,15 @@ export {
|
|
|
210
212
|
ht as DropdownMenuLabel,
|
|
211
213
|
vt as DropdownMenuSeparator,
|
|
212
214
|
Ft as DropdownMenuTrigger,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
215
|
+
Fn as ELogicalFilterOperator,
|
|
216
|
+
Rt as FilePreview,
|
|
217
|
+
sa as FilePreviewer,
|
|
216
218
|
Gt as FileUploader,
|
|
217
219
|
wr as Form,
|
|
218
220
|
Gr as FormControl,
|
|
219
221
|
Lr as FormDescription,
|
|
220
|
-
|
|
221
|
-
|
|
222
|
+
Rr as FormField,
|
|
223
|
+
Br as FormItem,
|
|
222
224
|
Hr as FormLabel,
|
|
223
225
|
kr as FormMessage,
|
|
224
226
|
o as Gantt,
|
|
@@ -234,7 +236,7 @@ export {
|
|
|
234
236
|
G as InputOTPSlot,
|
|
235
237
|
xr as InputSelector,
|
|
236
238
|
wa as InterruptPrompt,
|
|
237
|
-
|
|
239
|
+
R as Label,
|
|
238
240
|
La as MarkdownRenderer,
|
|
239
241
|
Ur as Menubar,
|
|
240
242
|
Wr as MenubarCheckboxItem,
|
|
@@ -252,7 +254,7 @@ export {
|
|
|
252
254
|
ro as MenubarSubContent,
|
|
253
255
|
oo as MenubarSubTrigger,
|
|
254
256
|
to as MenubarTrigger,
|
|
255
|
-
|
|
257
|
+
Ba as MessageInput,
|
|
256
258
|
ka as MessageList,
|
|
257
259
|
no as MultipleSelector,
|
|
258
260
|
Na as NavigationMenu,
|
|
@@ -282,12 +284,12 @@ export {
|
|
|
282
284
|
Io as ResizablePanelGroup,
|
|
283
285
|
ho as ScrollArea,
|
|
284
286
|
vo as ScrollBar,
|
|
285
|
-
|
|
287
|
+
Ja as SecurePdfViewer,
|
|
286
288
|
wo as Select,
|
|
287
289
|
Go as SelectContent,
|
|
288
290
|
Lo as SelectGroup,
|
|
289
|
-
|
|
290
|
-
|
|
291
|
+
Ro as SelectItem,
|
|
292
|
+
Bo as SelectLabel,
|
|
291
293
|
Ho as SelectSeparator,
|
|
292
294
|
ko as SelectTrigger,
|
|
293
295
|
yo as SelectValue,
|
|
@@ -299,29 +301,29 @@ export {
|
|
|
299
301
|
Uo as SheetHeader,
|
|
300
302
|
Wo as SheetTitle,
|
|
301
303
|
jo as SheetTrigger,
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
304
|
+
Qa as Sidebar,
|
|
305
|
+
Xa as SidebarContent,
|
|
306
|
+
Ya as SidebarFooter,
|
|
307
|
+
Za as SidebarGroup,
|
|
308
|
+
_a as SidebarGroupAction,
|
|
309
|
+
$a as SidebarGroupContent,
|
|
310
|
+
en as SidebarGroupLabel,
|
|
311
|
+
rn as SidebarHeader,
|
|
312
|
+
on as SidebarInput,
|
|
313
|
+
tn as SidebarInset,
|
|
314
|
+
an as SidebarMenu,
|
|
315
|
+
nn as SidebarMenuAction,
|
|
316
|
+
pn as SidebarMenuBadge,
|
|
317
|
+
mn as SidebarMenuButton,
|
|
318
|
+
ln as SidebarMenuItem,
|
|
319
|
+
un as SidebarMenuSkeleton,
|
|
320
|
+
xn as SidebarMenuSub,
|
|
321
|
+
dn as SidebarMenuSubButton,
|
|
322
|
+
fn as SidebarMenuSubItem,
|
|
323
|
+
gn as SidebarProvider,
|
|
324
|
+
Cn as SidebarRail,
|
|
325
|
+
bn as SidebarSeparator,
|
|
326
|
+
sn as SidebarTrigger,
|
|
325
327
|
O as Skeleton,
|
|
326
328
|
st as Slider,
|
|
327
329
|
W as Switch,
|
|
@@ -349,26 +351,26 @@ export {
|
|
|
349
351
|
$ as TooltipTrigger,
|
|
350
352
|
re as TypingIndicator,
|
|
351
353
|
ke as Typo,
|
|
352
|
-
|
|
354
|
+
Gn as WeeklyCalendar,
|
|
353
355
|
x as badgeVariants,
|
|
354
356
|
g as buttonVariants,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
357
|
+
Rn as cn,
|
|
358
|
+
Ca as confirm,
|
|
359
|
+
Bn as downloadFile,
|
|
360
|
+
Hn as hexContrast,
|
|
361
|
+
kn as hexToRgba,
|
|
362
|
+
yn as previewFile,
|
|
363
|
+
Sa as previewFileModal,
|
|
364
|
+
Ma as safePreviewFileModal,
|
|
365
|
+
Nn as stringToHexColor,
|
|
364
366
|
Q as toggleVariants,
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
On as useAudioRecording,
|
|
368
|
+
Wn as useAutoScroll,
|
|
369
|
+
qn as useAutosizeTextArea,
|
|
370
|
+
Kn as useCopyToClipboard,
|
|
371
|
+
Xn as useDebounce,
|
|
370
372
|
Xt as useEditorModal,
|
|
371
373
|
yr as useFormField,
|
|
372
|
-
|
|
373
|
-
|
|
374
|
+
Zn as useIsMobile,
|
|
375
|
+
Sn as useSidebar
|
|
374
376
|
};
|
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}: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}
|
|
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}
|
|
@@ -3,7 +3,7 @@ import { stringify as w } from "../../comma-separated-tokens/index.js";
|
|
|
3
3
|
import { ok as u } from "../../devlop/lib/default.js";
|
|
4
4
|
import { svg as m, html as C } from "../../property-information/index.js";
|
|
5
5
|
import { stringify as N } from "../../space-separated-tokens/index.js";
|
|
6
|
-
import S from "../../../_virtual/
|
|
6
|
+
import S from "../../../_virtual/index3.js";
|
|
7
7
|
import { whitespace as j } from "../../hast-util-whitespace/lib/index.js";
|
|
8
8
|
import { name as x } from "../../estree-util-is-identifier-name/lib/index.js";
|
|
9
9
|
import { VFileMessage as h } from "../../vfile-message/lib/index.js";
|
|
@@ -213,7 +213,7 @@ function re(e) {
|
|
|
213
213
|
C && C._f && (C._f.mount = G);
|
|
214
214
|
};
|
|
215
215
|
if (A(t, !0), d) {
|
|
216
|
-
const k = T(f(r._options.defaultValues, t));
|
|
216
|
+
const k = T(f(r._options.defaultValues, t, m.current.defaultValue));
|
|
217
217
|
M(r._defaultValues, t, k), x(f(r._formValues, t)) && M(r._formValues, t, k);
|
|
218
218
|
}
|
|
219
219
|
return !u && r.register(t), h.current = t, () => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { bail as P } from "../../bail/index.js";
|
|
3
|
-
import y from "../../../_virtual/
|
|
3
|
+
import y from "../../../_virtual/index4.js";
|
|
4
4
|
import z from "../../is-plain-obj/index.js";
|
|
5
5
|
import { CallableInstance as C } from "./callable-instance.js";
|
|
6
6
|
import { trough as A } from "../../trough/lib/index.js";
|