laif-ds 0.2.74 → 0.2.75
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/CHANGELOG.md +431 -0
- package/dist/agent-docs/adoption-report.json +614 -0
- package/dist/agent-docs/components/Accordion.md +46 -16
- package/dist/agent-docs/components/Alert.md +90 -95
- package/dist/agent-docs/components/AlertDialog.md +132 -126
- package/dist/agent-docs/components/AppEditor.md +90 -90
- package/dist/agent-docs/components/AppRadioGroup.md +18 -18
- package/dist/agent-docs/components/AppSidebar.md +129 -122
- package/dist/agent-docs/components/AppStepper.md +81 -77
- package/dist/agent-docs/components/AspectRatio.md +70 -62
- package/dist/agent-docs/components/AudioVisualizer.md +5 -5
- package/dist/agent-docs/components/Avatar.md +112 -113
- package/dist/agent-docs/components/Badge.md +123 -118
- package/dist/agent-docs/components/Breadcrumb.md +8 -1
- package/dist/agent-docs/components/Button.md +131 -129
- package/dist/agent-docs/components/Card.md +172 -147
- package/dist/agent-docs/components/Carousel.md +148 -129
- package/dist/agent-docs/components/Chat.md +121 -109
- package/dist/agent-docs/components/ChatMessage.md +72 -61
- package/dist/agent-docs/components/Checkbox.md +150 -135
- package/dist/agent-docs/components/CircularProgress.md +53 -49
- package/dist/agent-docs/components/CodeHighlighter.md +4 -4
- package/dist/agent-docs/components/Collapsible.md +114 -95
- package/dist/agent-docs/components/Command.md +141 -142
- package/dist/agent-docs/components/Confirmer.md +182 -175
- package/dist/agent-docs/components/ContextMenu.md +196 -191
- package/dist/agent-docs/components/DataCrossTable.md +114 -94
- package/dist/agent-docs/components/DataTable.md +29 -24
- package/dist/agent-docs/components/Dialog.md +130 -125
- package/dist/agent-docs/components/Drawer.md +141 -127
- package/dist/agent-docs/components/FilePreviewer.md +138 -139
- package/dist/agent-docs/components/FileUploader.md +143 -129
- package/dist/agent-docs/components/Form.md +3 -1
- package/dist/agent-docs/components/FormComposer.md +163 -137
- package/dist/agent-docs/components/GanttChart.md +125 -122
- package/dist/agent-docs/components/HoverCard.md +1 -1
- package/dist/agent-docs/components/Icon.md +98 -99
- package/dist/agent-docs/components/Input.md +173 -138
- package/dist/agent-docs/components/InputOtp.md +6 -1
- package/dist/agent-docs/components/InputSelector.md +94 -97
- package/dist/agent-docs/components/InterruptPrompt.md +4 -4
- package/dist/agent-docs/components/MarkdownRenderer.md +5 -2
- package/dist/agent-docs/components/Menubar.md +60 -57
- package/dist/agent-docs/components/MessageInput.md +134 -131
- package/dist/agent-docs/components/MessageList.md +110 -96
- package/dist/agent-docs/components/MultipleSelector.md +147 -146
- package/dist/agent-docs/components/NavigationMenu.md +6 -2
- package/dist/agent-docs/components/Popover.md +112 -103
- package/dist/agent-docs/components/PromptSuggestions.md +5 -5
- package/dist/agent-docs/components/RadioGroup.md +97 -90
- package/dist/agent-docs/components/Resizable.md +4 -1
- package/dist/agent-docs/components/ResizePrompt.md +12 -13
- package/dist/agent-docs/components/ScrollArea.md +6 -2
- package/dist/agent-docs/components/SecurePdfViewer.md +10 -6
- package/dist/agent-docs/components/Select.md +131 -132
- package/dist/agent-docs/components/Sheet.md +8 -1
- package/dist/agent-docs/components/ShikiHighlighter.md +5 -5
- package/dist/agent-docs/components/Sidebar.md +94 -85
- package/dist/agent-docs/components/Slider.md +62 -58
- package/dist/agent-docs/components/Sonner.md +1 -0
- package/dist/agent-docs/components/Spinner.md +14 -14
- package/dist/agent-docs/components/Stepper.md +93 -67
- package/dist/agent-docs/components/Switch.md +41 -42
- package/dist/agent-docs/components/TableSkeleton.md +8 -8
- package/dist/agent-docs/components/Tabs.md +106 -86
- package/dist/agent-docs/components/TextArea.md +51 -52
- package/dist/agent-docs/components/ThemeSwitcher.md +72 -69
- package/dist/agent-docs/components/Toaster.md +1 -0
- package/dist/agent-docs/components/Tooltip.md +102 -91
- package/dist/agent-docs/components/Typo.md +68 -65
- package/dist/agent-docs/components/WeeklyCalendar.md +63 -64
- package/dist/agent-docs/manifest.json +5979 -0
- package/dist/components/editor/editor-hooks/use-update-toolbar.js +6 -6
- package/dist/components/editor/plugins/actions/counter-character-plugin.js +6 -6
- package/dist/components/editor/plugins/toolbar/font-format-toolbar-plugin.js +18 -18
- package/dist/components/editor/plugins/toolbar/history-toolbar-plugin.js +10 -10
- package/dist/components/editor/plugins/toolbar/toolbar-plugin.js +9 -9
- package/dist/components/ui/app-checkbox.js +1 -1
- package/dist/components/ui/app-dialog.js +70 -64
- package/dist/components/ui/app-editor.js +51 -51
- package/dist/components/ui/app-form.js +81 -81
- package/dist/components/ui/app-multiple-select-dropdown.js +36 -36
- package/dist/components/ui/app-select.js +109 -104
- package/dist/components/ui/app-sidebar.js +41 -41
- package/dist/components/ui/app-stepper.js +1 -1
- package/dist/components/ui/app-time-picker.js +18 -18
- package/dist/components/ui/app-tooltip.js +1 -1
- package/dist/components/ui/async-select.js +5 -5
- package/dist/components/ui/audio-visualizer.js +61 -58
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/carousel.js +2 -2
- package/dist/components/ui/chart.js +1 -1
- package/dist/components/ui/chat-message.js +8 -8
- package/dist/components/ui/chat.js +86 -88
- package/dist/components/ui/command.js +2 -2
- package/dist/components/ui/copy-button.js +4 -4
- package/dist/components/ui/date-picker.js +20 -20
- package/dist/components/ui/file-preview/index.js +13 -13
- package/dist/components/ui/file-previewer.js +12 -11
- package/dist/components/ui/form.js +2 -2
- package/dist/components/ui/gantt/components/Chart/Bars/Bars.js +56 -56
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarItem/BarItem.js +12 -12
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsItems/BarItems.js +1 -1
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/BarsRow.js +4 -4
- package/dist/components/ui/gantt/components/Chart/Bars/BarsRow/RepeteadBars/RepeteadBars.js +2 -2
- package/dist/components/ui/gantt/components/Chart/Chart.js +23 -23
- package/dist/components/ui/gantt/components/Chart/Scale/Scale.js +1 -1
- package/dist/components/ui/gantt/components/Chart/Tree/Tree.js +34 -34
- package/dist/components/ui/gantt/components/Controls/Controls.js +5 -5
- package/dist/components/ui/gantt/components/Gantt/Gantt.js +4 -4
- package/dist/components/ui/gantt/hooks/useGanttCalculate.js +25 -18
- package/dist/components/ui/input-selector.js +1 -1
- package/dist/components/ui/input.js +23 -23
- package/dist/components/ui/kanban.js +8 -9
- package/dist/components/ui/markdown-renderer.js +41 -35
- package/dist/components/ui/message-input.js +45 -44
- package/dist/components/ui/multiple-selector.js +91 -82
- package/dist/components/ui/secure-pdf-viewer.js +19 -7
- package/dist/components/ui/sidebar.js +1 -1
- package/dist/components/ui/slider.js +1 -1
- package/dist/components/ui/spinner.js +4 -4
- package/dist/components/ui/stepper.js +157 -138
- package/dist/components/ui/tables/data-cross-table/data-cross-table-buttons.js +29 -29
- package/dist/components/ui/tables/data-cross-table/data-cross-table.js +258 -246
- package/dist/components/ui/tables/data-table/components/data-table-advanced-filter.js +4 -1
- package/dist/components/ui/tables/data-table/components/data-table-body.js +204 -368
- package/dist/components/ui/tables/data-table/components/data-table-filter-inputs.js +114 -112
- package/dist/components/ui/tables/data-table/components/data-table-filters.js +116 -96
- package/dist/components/ui/tables/data-table/components/data-table-header.js +210 -0
- package/dist/components/ui/tables/data-table/components/data-table-searchbar.js +8 -8
- package/dist/components/ui/tables/data-table/components/data-table-skeleton-rows.js +33 -0
- package/dist/components/ui/tables/data-table/data-table.js +256 -250
- package/dist/components/ui/tables/data-table/data-table.service.js +112 -97
- package/dist/components/ui/tables/data-table/data-table.utils.js +2 -0
- package/dist/components/ui/textarea.js +2 -2
- package/dist/components/ui/theme-switcher.js +1 -1
- package/dist/components/ui/toggle-group.js +2 -2
- package/dist/components/ui/weekly-calendar/appointment-card.js +16 -16
- package/dist/components/ui/weekly-calendar/calendar-context.js +6 -6
- package/dist/components/ui/weekly-calendar/calendar-header.js +12 -12
- package/dist/components/ui/weekly-calendar/day-column.js +16 -16
- package/dist/components/ui/weekly-calendar/time-column.js +4 -4
- package/dist/components/ui/weekly-calendar/weekly-calendar.js +4 -4
- package/dist/hooks/use-audio-recording.js +1 -1
- package/dist/hooks/use-auto-scroll.js +18 -18
- package/dist/hooks/use-autosize-textarea.js +12 -13
- package/dist/index.d.ts +67 -43
- package/dist/index.js +229 -229
- package/dist/lib/utils.js +6 -6
- package/dist/styles.v3.css +1 -1
- package/package.json +14 -4
package/dist/index.js
CHANGED
|
@@ -24,48 +24,48 @@ import { TypingIndicator as te } from "./components/ui/typing-indicator.js";
|
|
|
24
24
|
import { Accordion as ne, AccordionContent as ie, AccordionItem as pe, AccordionTrigger as le } from "./components/ui/accordion.js";
|
|
25
25
|
import { Alert as ue, AlertDescription as xe, AlertTitle as de } from "./components/ui/alert.js";
|
|
26
26
|
import { AlertDialog as ge, AlertDialogAction as fe, AlertDialogCancel as be, AlertDialogContent as se, AlertDialogDescription as ce, AlertDialogFooter as Se, AlertDialogHeader as Me, AlertDialogTitle as Te, AlertDialogTrigger as De } from "./components/ui/alert-dialog.js";
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import { ThemeSwitcher as
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import {
|
|
66
|
-
import {
|
|
67
|
-
import {
|
|
68
|
-
import {
|
|
27
|
+
import { AppForm as Fe } from "./components/ui/app-form.js";
|
|
28
|
+
import { AsyncSelect as we } from "./components/ui/async-select.js";
|
|
29
|
+
import { Breadcrumb as he, BreadcrumbEllipsis as ve, BreadcrumbItem as Ge, BreadcrumbLink as Be, BreadcrumbList as Le, BreadcrumbPage as Re, BreadcrumbSeparator as ke } from "./components/ui/breadcrumb.js";
|
|
30
|
+
import { Calendar as ye } from "./components/ui/calendar.js";
|
|
31
|
+
import { Card as Oe, CardContent as Ve, CardDescription as ze, CardFooter as Ee, CardHeader as je, CardTitle as Ke } from "./components/ui/card.js";
|
|
32
|
+
import { CircularProgress as We } from "./components/ui/charts/circular.js";
|
|
33
|
+
import { Command as Je, CommandDialog as Qe, CommandEmpty as Xe, CommandGroup as Ye, CommandInput as Ze, CommandItem as _e, CommandList as $e, CommandSeparator as er, CommandShortcut as rr } from "./components/ui/command.js";
|
|
34
|
+
import { ContextMenu as tr, ContextMenuCheckboxItem as ar, ContextMenuContent as nr, ContextMenuGroup as ir, ContextMenuItem as pr, ContextMenuLabel as lr, ContextMenuPortal as mr, ContextMenuRadioGroup as ur, ContextMenuRadioItem as xr, ContextMenuSeparator as dr, ContextMenuShortcut as Cr, ContextMenuSub as gr, ContextMenuSubContent as fr, ContextMenuSubTrigger as br, ContextMenuTrigger as sr } from "./components/ui/context-menu.js";
|
|
35
|
+
import { DatePicker as Sr } from "./components/ui/date-picker.js";
|
|
36
|
+
import { Dialog as Tr, DialogClose as Dr, DialogContent as Ar, DialogDescription as Fr, DialogFooter as Ir, DialogHeader as wr, DialogTitle as Pr, DialogTrigger as hr } from "./components/ui/dialog.js";
|
|
37
|
+
import { Drawer as Gr, DrawerContent as Br, DrawerDescription as Lr, DrawerFooter as Rr, DrawerHeader as kr, DrawerTitle as Hr, DrawerTrigger as yr } from "./components/ui/drawer.js";
|
|
38
|
+
import { DropdownMenu as Or, DropdownMenuCheckboxItem as Vr, DropdownMenuContent as zr, DropdownMenuGroup as Er, DropdownMenuItem as jr, DropdownMenuLabel as Kr, DropdownMenuPortal as Ur, DropdownMenuRadioGroup as Wr, DropdownMenuRadioItem as qr, DropdownMenuSeparator as Jr, DropdownMenuShortcut as Qr, DropdownMenuSub as Xr, DropdownMenuSubContent as Yr, DropdownMenuSubTrigger as Zr, DropdownMenuTrigger as _r } from "./components/ui/dropdown-menu.js";
|
|
39
|
+
import { FilePreview as eo } from "./components/ui/file-preview/index.js";
|
|
40
|
+
import { FileUploader as oo } from "./components/ui/file-uploader.js";
|
|
41
|
+
import { Form as ao, FormControl as no, FormDescription as io, FormField as po, FormItem as lo, FormLabel as mo, FormMessage as uo, useFormField as xo } from "./components/ui/form.js";
|
|
42
|
+
import { HoverCard as go, HoverCardContent as fo, HoverCardTrigger as bo } from "./components/ui/hover-card.js";
|
|
43
|
+
import { InputSelector as co } from "./components/ui/input-selector.js";
|
|
44
|
+
import { Menubar as Mo, MenubarCheckboxItem as To, MenubarContent as Do, MenubarGroup as Ao, MenubarItem as Fo, MenubarLabel as Io, MenubarMenu as wo, MenubarPortal as Po, MenubarRadioGroup as ho, MenubarRadioItem as vo, MenubarSeparator as Go, MenubarShortcut as Bo, MenubarSub as Lo, MenubarSubContent as Ro, MenubarSubTrigger as ko, MenubarTrigger as Ho } from "./components/ui/menubar.js";
|
|
45
|
+
import { MultipleSelector as No } from "./components/ui/multiple-selector.js";
|
|
46
|
+
import { Pagination as Vo, PaginationContent as zo, PaginationEllipsis as Eo, PaginationItem as jo, PaginationLink as Ko, PaginationNext as Uo, PaginationPrevious as Wo } from "./components/ui/pagination.js";
|
|
47
|
+
import { Popover as Jo, PopoverContent as Qo, PopoverTrigger as Xo } from "./components/ui/popover.js";
|
|
48
|
+
import { PromptSuggestions as Zo } from "./components/ui/prompt-suggestions.js";
|
|
49
|
+
import { ResizableHandle as $o, ResizablePanel as et, ResizablePanelGroup as rt } from "./components/ui/resizable.js";
|
|
50
|
+
import { ScrollArea as tt, ScrollBar as at } from "./components/ui/scroll-area.js";
|
|
51
|
+
import { Select as it, SelectContent as pt, SelectGroup as lt, SelectItem as mt, SelectLabel as ut, SelectSeparator as xt, SelectTrigger as dt, SelectValue as Ct } from "./components/ui/select.js";
|
|
52
|
+
import { Sheet as ft, SheetContent as bt, SheetDescription as st, SheetFooter as ct, SheetHeader as St, SheetTitle as Mt, SheetTrigger as Tt } from "./components/ui/sheet.js";
|
|
53
|
+
import { Slider as At } from "./components/ui/slider.js";
|
|
54
|
+
import { Table as It, TableBody as wt, TableCaption as Pt, TableCell as ht, TableFooter as vt, TableHead as Gt, TableHeader as Bt, TableRow as Lt } from "./components/ui/table.js";
|
|
55
|
+
import { Tabs as kt, TabsContent as Ht, TabsList as yt, TabsTrigger as Nt } from "./components/ui/tabs.js";
|
|
56
|
+
import { ThemeSwitcher as Vt } from "./components/ui/theme-switcher.js";
|
|
57
|
+
import { ToggleGroup as Et, ToggleGroupItem as jt } from "./components/ui/toggle-group.js";
|
|
58
|
+
import { Typo as Ut } from "./components/ui/typo.js";
|
|
59
|
+
import { useEditorModal as qt } from "./components/editor/editor-hooks/use-modal.js";
|
|
60
|
+
import { AppCheckbox as Qt } from "./components/ui/app-checkbox.js";
|
|
61
|
+
import { AppEditor as Yt } from "./components/ui/app-editor.js";
|
|
62
|
+
import { AppMultipleSelectDropdown as _t } from "./components/ui/app-multiple-select-dropdown.js";
|
|
63
|
+
import { AppRadioGroup as ea } from "./components/ui/app-radio-group.js";
|
|
64
|
+
import { AppSelect as oa } from "./components/ui/app-select.js";
|
|
65
|
+
import { AppSidebar as aa } from "./components/ui/app-sidebar.js";
|
|
66
|
+
import { AudioVisualizer as ia } from "./components/ui/audio-visualizer.js";
|
|
67
|
+
import { Carousel as la, CarouselContent as ma, CarouselItem as ua, CarouselNext as xa, CarouselPrevious as da } from "./components/ui/carousel.js";
|
|
68
|
+
import { ChartContainer as ga, ChartLegend as fa, ChartLegendContent as ba, ChartStyle as sa, ChartTooltip as ca, ChartTooltipContent as Sa } from "./components/ui/chart.js";
|
|
69
69
|
import { Chat as Ta, ChatContainer as Da, ChatForm as Aa, ChatMessages as Fa } from "./components/ui/chat.js";
|
|
70
70
|
import { ChatMessage as wa } from "./components/ui/chat-message.js";
|
|
71
71
|
import { Confirmer as ha, confirm as va } from "./components/ui/confirmer.js";
|
|
@@ -88,13 +88,13 @@ import { DataTable as zn } from "./components/ui/tables/data-table/data-table.js
|
|
|
88
88
|
import { ELogicalFilterOperator as jn } from "./components/ui/tables/data-table/data-table-constants.js";
|
|
89
89
|
import { toast as Un } from "./node_modules/sonner/dist/index.js";
|
|
90
90
|
import { Toaster as qn } from "./components/ui/toaster.js";
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
91
|
+
import { cn as Qn, downloadFile as Xn, hexContrast as Yn, hexToRgba as Zn, previewFile as _n, stringToHexColor as $n } from "./lib/utils.js";
|
|
92
|
+
import { AppDialog as ri } from "./components/ui/app-dialog.js";
|
|
93
|
+
import { AppKanban as ti } from "./components/ui/app-kanban.js";
|
|
94
|
+
import { AppStepper as ni } from "./components/ui/app-stepper.js";
|
|
95
|
+
import { AppTimePicker as pi } from "./components/ui/app-time-picker.js";
|
|
96
96
|
import { AppTooltip as mi } from "./components/ui/app-tooltip.js";
|
|
97
|
-
import {
|
|
97
|
+
import { WeeklyCalendar as xi } from "./components/ui/weekly-calendar/weekly-calendar.js";
|
|
98
98
|
import { createActionColumn as Ci, createBooleanColumn as gi, createBooleanFilter as fi, createComputedColumn as bi, createDateColumn as si, createDateFilter as ci, createDateTimeColumn as Si, createDateTimeFilter as Mi, createDisplayColumn as Ti, createFilterBadge as Di, createFilterBadges as Ai, createInitialState as Fi, createListFilter as Ii, createMultiSelectColumn as wi, createNumberColumn as Pi, createNumberFilter as hi, createSingleSelectColumn as vi, createSorting as Gi, createStringColumn as Bi, createStringFilter as Li, getColumnIds as Ri, isValidOperatorForType as ki, pinColumns as Hi, toSelectOptions as yi, toSelectOptionsFromObjects as Ni, updateColumnListOptions as Oi } from "./components/ui/tables/data-table/data-table.utils.js";
|
|
99
99
|
import { useAudioRecording as zi } from "./hooks/use-audio-recording.js";
|
|
100
100
|
import { useAutoScroll as ji } from "./hooks/use-auto-scroll.js";
|
|
@@ -119,169 +119,169 @@ export {
|
|
|
119
119
|
Te as AlertDialogTitle,
|
|
120
120
|
De as AlertDialogTrigger,
|
|
121
121
|
de as AlertTitle,
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
122
|
+
Qt as AppCheckbox,
|
|
123
|
+
ri as AppDialog,
|
|
124
|
+
Yt as AppEditor,
|
|
125
|
+
Fe as AppForm,
|
|
126
|
+
ti as AppKanban,
|
|
127
|
+
_t as AppMultipleSelectDropdown,
|
|
128
|
+
ea as AppRadioGroup,
|
|
129
|
+
oa as AppSelect,
|
|
130
|
+
aa as AppSidebar,
|
|
131
|
+
ni as AppStepper,
|
|
132
|
+
pi as AppTimePicker,
|
|
133
133
|
mi as AppTooltip,
|
|
134
134
|
a as AspectRatio,
|
|
135
|
-
|
|
136
|
-
|
|
135
|
+
we as AsyncSelect,
|
|
136
|
+
ia as AudioVisualizer,
|
|
137
137
|
i as Avatar,
|
|
138
138
|
p as AvatarFallback,
|
|
139
139
|
l as AvatarImage,
|
|
140
140
|
u as Badge,
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
141
|
+
he as Breadcrumb,
|
|
142
|
+
ve as BreadcrumbEllipsis,
|
|
143
|
+
Ge as BreadcrumbItem,
|
|
144
|
+
Be as BreadcrumbLink,
|
|
145
|
+
Le as BreadcrumbList,
|
|
146
|
+
Re as BreadcrumbPage,
|
|
147
|
+
ke as BreadcrumbSeparator,
|
|
148
148
|
C as Button,
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
149
|
+
ye as Calendar,
|
|
150
|
+
Oe as Card,
|
|
151
|
+
Ve as CardContent,
|
|
152
|
+
ze as CardDescription,
|
|
153
|
+
Ee as CardFooter,
|
|
154
|
+
je as CardHeader,
|
|
155
|
+
Ke as CardTitle,
|
|
156
|
+
la as Carousel,
|
|
157
|
+
ma as CarouselContent,
|
|
158
|
+
ua as CarouselItem,
|
|
159
|
+
xa as CarouselNext,
|
|
160
|
+
da as CarouselPrevious,
|
|
161
|
+
ga as ChartContainer,
|
|
162
|
+
fa as ChartLegend,
|
|
163
|
+
ba as ChartLegendContent,
|
|
164
|
+
sa as ChartStyle,
|
|
165
|
+
ca as ChartTooltip,
|
|
166
|
+
Sa as ChartTooltipContent,
|
|
167
167
|
Ta as Chat,
|
|
168
168
|
Da as ChatContainer,
|
|
169
169
|
Aa as ChatForm,
|
|
170
170
|
wa as ChatMessage,
|
|
171
171
|
Fa as ChatMessages,
|
|
172
172
|
b as Checkbox,
|
|
173
|
-
|
|
173
|
+
We as CircularProgress,
|
|
174
174
|
c as Collapsible,
|
|
175
175
|
S as CollapsibleContent,
|
|
176
176
|
M as CollapsibleTrigger,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
177
|
+
Je as Command,
|
|
178
|
+
Qe as CommandDialog,
|
|
179
|
+
Xe as CommandEmpty,
|
|
180
|
+
Ye as CommandGroup,
|
|
181
|
+
Ze as CommandInput,
|
|
182
|
+
_e as CommandItem,
|
|
183
|
+
$e as CommandList,
|
|
184
|
+
er as CommandSeparator,
|
|
185
|
+
rr as CommandShortcut,
|
|
186
186
|
ha as Confirmer,
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
187
|
+
tr as ContextMenu,
|
|
188
|
+
ar as ContextMenuCheckboxItem,
|
|
189
|
+
nr as ContextMenuContent,
|
|
190
|
+
ir as ContextMenuGroup,
|
|
191
|
+
pr as ContextMenuItem,
|
|
192
|
+
lr as ContextMenuLabel,
|
|
193
|
+
mr as ContextMenuPortal,
|
|
194
|
+
ur as ContextMenuRadioGroup,
|
|
195
|
+
xr as ContextMenuRadioItem,
|
|
196
|
+
dr as ContextMenuSeparator,
|
|
197
|
+
Cr as ContextMenuShortcut,
|
|
198
|
+
gr as ContextMenuSub,
|
|
199
|
+
fr as ContextMenuSubContent,
|
|
200
|
+
br as ContextMenuSubTrigger,
|
|
201
|
+
sr as ContextMenuTrigger,
|
|
202
202
|
D as CopyButton,
|
|
203
203
|
kn as DataCrossTable,
|
|
204
204
|
yn as DataCrossTableButtonsGroup,
|
|
205
205
|
On as DataCrossTableProvider,
|
|
206
206
|
Ha as DataRepeatTypes,
|
|
207
207
|
zn as DataTable,
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
208
|
+
Sr as DatePicker,
|
|
209
|
+
Tr as Dialog,
|
|
210
|
+
Dr as DialogClose,
|
|
211
|
+
Ar as DialogContent,
|
|
212
|
+
Fr as DialogDescription,
|
|
213
|
+
Ir as DialogFooter,
|
|
214
|
+
wr as DialogHeader,
|
|
215
|
+
Pr as DialogTitle,
|
|
216
|
+
hr as DialogTrigger,
|
|
217
217
|
Na as DragStepSizes,
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
218
|
+
Gr as Drawer,
|
|
219
|
+
Br as DrawerContent,
|
|
220
|
+
Lr as DrawerDescription,
|
|
221
|
+
Rr as DrawerFooter,
|
|
222
|
+
kr as DrawerHeader,
|
|
223
|
+
Hr as DrawerTitle,
|
|
224
|
+
yr as DrawerTrigger,
|
|
225
|
+
Or as DropdownMenu,
|
|
226
|
+
Vr as DropdownMenuCheckboxItem,
|
|
227
|
+
zr as DropdownMenuContent,
|
|
228
|
+
Er as DropdownMenuGroup,
|
|
229
|
+
jr as DropdownMenuItem,
|
|
230
|
+
Kr as DropdownMenuLabel,
|
|
231
|
+
Ur as DropdownMenuPortal,
|
|
232
|
+
Wr as DropdownMenuRadioGroup,
|
|
233
|
+
qr as DropdownMenuRadioItem,
|
|
234
|
+
Jr as DropdownMenuSeparator,
|
|
235
|
+
Qr as DropdownMenuShortcut,
|
|
236
|
+
Xr as DropdownMenuSub,
|
|
237
|
+
Yr as DropdownMenuSubContent,
|
|
238
|
+
Zr as DropdownMenuSubTrigger,
|
|
239
|
+
_r as DropdownMenuTrigger,
|
|
240
240
|
jn as ELogicalFilterOperator,
|
|
241
|
-
|
|
241
|
+
eo as FilePreview,
|
|
242
242
|
Ba as FilePreviewer,
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
243
|
+
oo as FileUploader,
|
|
244
|
+
ao as Form,
|
|
245
|
+
no as FormControl,
|
|
246
|
+
io as FormDescription,
|
|
247
|
+
po as FormField,
|
|
248
|
+
lo as FormItem,
|
|
249
|
+
mo as FormLabel,
|
|
250
|
+
uo as FormMessage,
|
|
251
251
|
o as Gantt,
|
|
252
252
|
Va as GanttConsts,
|
|
253
253
|
Ea as GanttDimensions,
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
254
|
+
go as HoverCard,
|
|
255
|
+
fo as HoverCardContent,
|
|
256
|
+
bo as HoverCardTrigger,
|
|
257
257
|
F as Icon,
|
|
258
258
|
w as Input,
|
|
259
259
|
h as InputOTP,
|
|
260
260
|
v as InputOTPGroup,
|
|
261
261
|
G as InputOTPSlot,
|
|
262
|
-
|
|
262
|
+
co as InputSelector,
|
|
263
263
|
Ka as InterruptPrompt,
|
|
264
264
|
L as Label,
|
|
265
265
|
Wa as MarkdownRenderer,
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
266
|
+
Mo as Menubar,
|
|
267
|
+
To as MenubarCheckboxItem,
|
|
268
|
+
Do as MenubarContent,
|
|
269
|
+
Ao as MenubarGroup,
|
|
270
|
+
Fo as MenubarItem,
|
|
271
|
+
Io as MenubarLabel,
|
|
272
|
+
wo as MenubarMenu,
|
|
273
|
+
Po as MenubarPortal,
|
|
274
|
+
ho as MenubarRadioGroup,
|
|
275
|
+
vo as MenubarRadioItem,
|
|
276
|
+
Go as MenubarSeparator,
|
|
277
|
+
Bo as MenubarShortcut,
|
|
278
|
+
Lo as MenubarSub,
|
|
279
|
+
Ro as MenubarSubContent,
|
|
280
|
+
ko as MenubarSubTrigger,
|
|
281
|
+
Ho as MenubarTrigger,
|
|
282
282
|
Ja as MessageInput,
|
|
283
283
|
Xa as MessageList,
|
|
284
|
-
|
|
284
|
+
No as MultipleSelector,
|
|
285
285
|
Za as NavigationMenu,
|
|
286
286
|
_a as NavigationMenuContent,
|
|
287
287
|
$a as NavigationMenuIndicator,
|
|
@@ -290,42 +290,42 @@ export {
|
|
|
290
290
|
on as NavigationMenuList,
|
|
291
291
|
tn as NavigationMenuTrigger,
|
|
292
292
|
an as NavigationMenuViewport,
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
293
|
+
Vo as Pagination,
|
|
294
|
+
zo as PaginationContent,
|
|
295
|
+
Eo as PaginationEllipsis,
|
|
296
|
+
jo as PaginationItem,
|
|
297
|
+
Ko as PaginationLink,
|
|
298
|
+
Uo as PaginationNext,
|
|
299
|
+
Wo as PaginationPrevious,
|
|
300
|
+
Jo as Popover,
|
|
301
|
+
Qo as PopoverContent,
|
|
302
|
+
Xo as PopoverTrigger,
|
|
303
303
|
k as Progress,
|
|
304
|
-
|
|
304
|
+
Zo as PromptSuggestions,
|
|
305
305
|
y as RadioGroup,
|
|
306
306
|
N as RadioGroupItem,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
307
|
+
$o as ResizableHandle,
|
|
308
|
+
et as ResizablePanel,
|
|
309
|
+
rt as ResizablePanelGroup,
|
|
310
|
+
tt as ScrollArea,
|
|
311
|
+
at as ScrollBar,
|
|
312
312
|
pn as SecurePdfViewer,
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
313
|
+
it as Select,
|
|
314
|
+
pt as SelectContent,
|
|
315
|
+
lt as SelectGroup,
|
|
316
|
+
mt as SelectItem,
|
|
317
|
+
ut as SelectLabel,
|
|
318
|
+
xt as SelectSeparator,
|
|
319
|
+
dt as SelectTrigger,
|
|
320
|
+
Ct as SelectValue,
|
|
321
321
|
V as Separator,
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
322
|
+
ft as Sheet,
|
|
323
|
+
bt as SheetContent,
|
|
324
|
+
st as SheetDescription,
|
|
325
|
+
ct as SheetFooter,
|
|
326
|
+
St as SheetHeader,
|
|
327
|
+
Mt as SheetTitle,
|
|
328
|
+
Tt as SheetTrigger,
|
|
329
329
|
mn as Sidebar,
|
|
330
330
|
un as SidebarContent,
|
|
331
331
|
xn as SidebarFooter,
|
|
@@ -350,37 +350,37 @@ export {
|
|
|
350
350
|
Gn as SidebarSeparator,
|
|
351
351
|
Bn as SidebarTrigger,
|
|
352
352
|
E as Skeleton,
|
|
353
|
-
|
|
353
|
+
At as Slider,
|
|
354
354
|
K as Spinner,
|
|
355
355
|
W as Switch,
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
356
|
+
It as Table,
|
|
357
|
+
wt as TableBody,
|
|
358
|
+
Pt as TableCaption,
|
|
359
|
+
ht as TableCell,
|
|
360
|
+
vt as TableFooter,
|
|
361
|
+
Gt as TableHead,
|
|
362
|
+
Bt as TableHeader,
|
|
363
|
+
Lt as TableRow,
|
|
364
|
+
kt as Tabs,
|
|
365
|
+
Ht as TabsContent,
|
|
366
|
+
yt as TabsList,
|
|
367
|
+
Nt as TabsTrigger,
|
|
368
368
|
J as Textarea,
|
|
369
|
-
|
|
369
|
+
Vt as ThemeSwitcher,
|
|
370
370
|
qn as Toaster,
|
|
371
371
|
X as Toggle,
|
|
372
|
-
|
|
373
|
-
|
|
372
|
+
Et as ToggleGroup,
|
|
373
|
+
jt as ToggleGroupItem,
|
|
374
374
|
_ as Tooltip,
|
|
375
375
|
$ as TooltipContent,
|
|
376
376
|
ee as TooltipProvider,
|
|
377
377
|
re as TooltipTrigger,
|
|
378
378
|
te as TypingIndicator,
|
|
379
|
-
|
|
380
|
-
|
|
379
|
+
Ut as Typo,
|
|
380
|
+
xi as WeeklyCalendar,
|
|
381
381
|
x as badgeVariants,
|
|
382
382
|
g as buttonVariants,
|
|
383
|
-
|
|
383
|
+
Qn as cn,
|
|
384
384
|
va as confirm,
|
|
385
385
|
Ci as createActionColumn,
|
|
386
386
|
gi as createBooleanColumn,
|
|
@@ -402,16 +402,16 @@ export {
|
|
|
402
402
|
Gi as createSorting,
|
|
403
403
|
Bi as createStringColumn,
|
|
404
404
|
Li as createStringFilter,
|
|
405
|
-
|
|
405
|
+
Xn as downloadFile,
|
|
406
406
|
Ri as getColumnIds,
|
|
407
|
-
|
|
408
|
-
|
|
407
|
+
Yn as hexContrast,
|
|
408
|
+
Zn as hexToRgba,
|
|
409
409
|
ki as isValidOperatorForType,
|
|
410
410
|
Hi as pinColumns,
|
|
411
|
-
|
|
411
|
+
_n as previewFile,
|
|
412
412
|
La as previewFileModal,
|
|
413
413
|
Ra as safePreviewFileModal,
|
|
414
|
-
|
|
414
|
+
$n as stringToHexColor,
|
|
415
415
|
yi as toSelectOptions,
|
|
416
416
|
Ni as toSelectOptionsFromObjects,
|
|
417
417
|
Un as toast,
|
|
@@ -422,8 +422,8 @@ export {
|
|
|
422
422
|
Ui as useAutosizeTextArea,
|
|
423
423
|
qi as useCopyToClipboard,
|
|
424
424
|
Qi as useDebounce,
|
|
425
|
-
|
|
426
|
-
|
|
425
|
+
qt as useEditorModal,
|
|
426
|
+
xo as useFormField,
|
|
427
427
|
Yi as useIsMobile,
|
|
428
428
|
Ln as useSidebar
|
|
429
429
|
};
|
package/dist/lib/utils.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { clsx as l } from "../node_modules/clsx/dist/clsx.js";
|
|
3
|
+
import { twMerge as m } from "../node_modules/tailwind-merge/dist/bundle-mjs.js";
|
|
4
|
+
import { guessKind as d, getOfficeEmbedUrl as p } from "./file-preview.js";
|
|
5
5
|
function u(...n) {
|
|
6
|
-
return
|
|
6
|
+
return m(l(n));
|
|
7
7
|
}
|
|
8
8
|
const b = (n) => {
|
|
9
9
|
if (!n) return "#777777";
|
|
@@ -32,8 +32,8 @@ const b = (n) => {
|
|
|
32
32
|
o = c.get("response-content-type") || c.get("content-type") || "";
|
|
33
33
|
} catch {
|
|
34
34
|
}
|
|
35
|
-
if (
|
|
36
|
-
const c =
|
|
35
|
+
if (d({ mimeType: o, filename: e, url: n }) === "office") {
|
|
36
|
+
const c = p(n);
|
|
37
37
|
window.open(c, "_blank");
|
|
38
38
|
return;
|
|
39
39
|
}
|