@tb-dev/vue 0.3.38 → 0.3.39
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/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from 'class-variance-authority';
|
|
2
|
-
import { inject as inject$1, toValue, defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createElementBlock, Fragment, createVNode, toDisplayString, resolveDynamicComponent, createCommentVNode, normalizeStyle, mergeModels, useModel, createElementVNode, createTextVNode, withDirectives, isRef, vModelText, useTemplateRef, normalizeProps, guardReactiveProps, ref, renderList, createSlots, toRef, effectScope } from 'vue';
|
|
2
|
+
import { inject as inject$1, toValue, defineComponent, computed, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, normalizeClass, createElementBlock, Fragment, createVNode, toDisplayString, resolveDynamicComponent, createCommentVNode, normalizeStyle, mergeModels, useModel, createElementVNode, createTextVNode, withDirectives, isRef, vModelText, useTemplateRef, normalizeProps, guardReactiveProps, ref, renderList, createSlots, watch, toRef, effectScope } from 'vue';
|
|
3
3
|
import { twMerge } from 'tailwind-merge';
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { unwrap, isNil, toPixel } from '@tb-dev/utils';
|
|
@@ -6563,6 +6563,13 @@ function asyncRef(initial, fn, options = {}) {
|
|
|
6563
6563
|
};
|
|
6564
6564
|
}
|
|
6565
6565
|
|
|
6566
|
+
function log(source) {
|
|
6567
|
+
return watch(source, (value) => console.log(value));
|
|
6568
|
+
}
|
|
6569
|
+
function warn(source) {
|
|
6570
|
+
return watch(source, (value) => console.warn(value));
|
|
6571
|
+
}
|
|
6572
|
+
|
|
6566
6573
|
function useWindowHeight() {
|
|
6567
6574
|
return useWindowSize().height;
|
|
6568
6575
|
}
|
|
@@ -6668,4 +6675,4 @@ function localRef(key, initial, options) {
|
|
|
6668
6675
|
});
|
|
6669
6676
|
}
|
|
6670
6677
|
|
|
6671
|
-
export { _sfc_main$2Z as Badge, _sfc_main$2Y as Button, _sfc_main$2W as ButtonIcon, _sfc_main$2X as ButtonLink, _sfc_main$2N as Card, _sfc_main$2K as Checkbox, _sfc_main$2J as Combobox, _sfc_main$2I as ComboboxAnchor, _sfc_main$2H as ComboboxEmpty, _sfc_main$2G as ComboboxGroup, _sfc_main$2F as ComboboxInput, _sfc_main$2E as ComboboxItem, _sfc_main$2D as ComboboxItemIndicator, _sfc_main$2C as ComboboxList, _sfc_main$2B as ComboboxSeparator, _sfc_main$2A as ComboboxViewport, _sfc_main$2z as ContextMenu, _sfc_main$2y as ContextMenuCheckboxItem, _sfc_main$2x as ContextMenuContent, _sfc_main$2w as ContextMenuGroup, _sfc_main$2v as ContextMenuItem, _sfc_main$2u as ContextMenuLabel, _sfc_main$2t as ContextMenuRadioGroup, _sfc_main$2s as ContextMenuRadioItem, _sfc_main$2r as ContextMenuSeparator, _sfc_main$2q as ContextMenuShortcut, _sfc_main$2p as ContextMenuSub, _sfc_main$2o as ContextMenuSubContent, _sfc_main$2n as ContextMenuSubTrigger, _sfc_main$2m as ContextMenuTrigger, _sfc_main$2l as Dialog, _sfc_main$2k as DialogClose, _sfc_main$2i as DialogContent, _sfc_main$2h as DialogDescription, _sfc_main$2g as DialogFooter, _sfc_main$2f as DialogHeader, _sfc_main$2j as DialogOverlay, _sfc_main$2e as DialogScrollContent, _sfc_main$2d as DialogTitle, _sfc_main$2c as DialogTrigger, _sfc_main$2b as DropdownMenu, _sfc_main$2a as DropdownMenuCheckboxItem, _sfc_main$29 as DropdownMenuContent, _sfc_main$28 as DropdownMenuGroup, _sfc_main$27 as DropdownMenuItem, _sfc_main$26 as DropdownMenuLabel, _sfc_main$25 as DropdownMenuRadioGroup, _sfc_main$24 as DropdownMenuRadioItem, _sfc_main$23 as DropdownMenuSeparator, _sfc_main$22 as DropdownMenuShortcut, _sfc_main$21 as DropdownMenuSub, _sfc_main$20 as DropdownMenuSubContent, _sfc_main$1$ as DropdownMenuSubTrigger, _sfc_main$1_ as DropdownMenuTrigger, _sfc_main$1W as HoverCard, _sfc_main$1U as Input, _sfc_main$1O as InputNumber, _sfc_main$1N as InputText, _sfc_main$2M as Label, _sfc_main$1M as Link, Loading, _sfc_main$1K as Menubar, _sfc_main$1J as MenubarCheckboxItem, _sfc_main$1I as MenubarContent, _sfc_main$1H as MenubarGroup, _sfc_main$1G as MenubarItem, _sfc_main$1F as MenubarLabel, _sfc_main$1E as MenubarMenu, _sfc_main$1D as MenubarRadioGroup, _sfc_main$1C as MenubarRadioItem, _sfc_main$1B as MenubarSeparator, _sfc_main$1A as MenubarShortcut, _sfc_main$1z as MenubarSub, _sfc_main$1y as MenubarSubContent, _sfc_main$1x as MenubarSubTrigger, _sfc_main$1w as MenubarTrigger, _sfc_main$1v as Pagination, _sfc_main$1u as PaginationContent, _sfc_main$1t as PaginationEllipsis, _sfc_main$1s as PaginationFirst, _sfc_main$1r as PaginationItem, _sfc_main$1q as PaginationLast, _sfc_main$1p as PaginationNext, _sfc_main$1o as PaginationPrevious, _sfc_main$1k as Popover, _sfc_main$1j as Progress, _sfc_main$1i as RadioGroup, _sfc_main$1h as RadioGroupItem, _sfc_main$1g as ResizableHandle, _sfc_main$1f as ResizablePanel, _sfc_main$1e as ResizablePanelGroup, _sfc_main$2U as ScrollArea, _sfc_main$12 as Select, _sfc_main$1b as SelectGroup, _sfc_main$1a as SelectItem, _sfc_main$19 as SelectItemText, _sfc_main$18 as SelectLabel, _sfc_main$17 as SelectScrollDownButton, _sfc_main$16 as SelectScrollUpButton, _sfc_main$15 as SelectSeparator, _sfc_main$11 as Separator, _sfc_main$10 as Sheet, _sfc_main$$ as SheetClose, _sfc_main$Z as SheetContent, _sfc_main$Y as SheetDescription, _sfc_main$X as SheetFooter, _sfc_main$W as SheetHeader, _sfc_main$V as SheetTitle, _sfc_main$U as SheetTrigger, _sfc_main$r as Sidebar, _sfc_main$Q as SidebarGroup, _sfc_main$P as SidebarGroupAction, _sfc_main$O as SidebarGroupContent, _sfc_main$N as SidebarGroupLabel, _sfc_main$K as SidebarMenu, _sfc_main$J as SidebarMenuAction, _sfc_main$I as SidebarMenuBadge, _sfc_main$C as SidebarMenuButton, _sfc_main$B as SidebarMenuItem, _sfc_main$z as SidebarMenuSkeleton, _sfc_main$y as SidebarMenuSub, _sfc_main$x as SidebarMenuSubButton, _sfc_main$w as SidebarMenuSubItem, _sfc_main$u as SidebarRail, _sfc_main$t as SidebarSeparator, _sfc_main$s as SidebarTrigger, _sfc_main$A as Skeleton, _sfc_main$q as Slider, _sfc_main$p as Sonner, _sfc_main$n as Switch, _sfc_main$e as Table, _sfc_main$k as TableCell, _sfc_main$i as TableEmpty, _sfc_main$g as TableHead, _sfc_main$d as TableLink, _sfc_main$j as TableRow, _sfc_main$c as Tabs, _sfc_main$b as TabsContent, _sfc_main$a as TabsList, _sfc_main$9 as TabsTrigger, _sfc_main$8 as TagsInput, _sfc_main$7 as TagsInputInput, _sfc_main$6 as TagsInputItem, _sfc_main$5 as TagsInputItemDelete, _sfc_main$4 as TagsInputItemText, _sfc_main$2 as Textarea, _sfc_main$1 as Toggle, _sfc_main as Tooltip, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, toBooleanCheckboxValue, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth };
|
|
6678
|
+
export { _sfc_main$2Z as Badge, _sfc_main$2Y as Button, _sfc_main$2W as ButtonIcon, _sfc_main$2X as ButtonLink, _sfc_main$2N as Card, _sfc_main$2K as Checkbox, _sfc_main$2J as Combobox, _sfc_main$2I as ComboboxAnchor, _sfc_main$2H as ComboboxEmpty, _sfc_main$2G as ComboboxGroup, _sfc_main$2F as ComboboxInput, _sfc_main$2E as ComboboxItem, _sfc_main$2D as ComboboxItemIndicator, _sfc_main$2C as ComboboxList, _sfc_main$2B as ComboboxSeparator, _sfc_main$2A as ComboboxViewport, _sfc_main$2z as ContextMenu, _sfc_main$2y as ContextMenuCheckboxItem, _sfc_main$2x as ContextMenuContent, _sfc_main$2w as ContextMenuGroup, _sfc_main$2v as ContextMenuItem, _sfc_main$2u as ContextMenuLabel, _sfc_main$2t as ContextMenuRadioGroup, _sfc_main$2s as ContextMenuRadioItem, _sfc_main$2r as ContextMenuSeparator, _sfc_main$2q as ContextMenuShortcut, _sfc_main$2p as ContextMenuSub, _sfc_main$2o as ContextMenuSubContent, _sfc_main$2n as ContextMenuSubTrigger, _sfc_main$2m as ContextMenuTrigger, _sfc_main$2l as Dialog, _sfc_main$2k as DialogClose, _sfc_main$2i as DialogContent, _sfc_main$2h as DialogDescription, _sfc_main$2g as DialogFooter, _sfc_main$2f as DialogHeader, _sfc_main$2j as DialogOverlay, _sfc_main$2e as DialogScrollContent, _sfc_main$2d as DialogTitle, _sfc_main$2c as DialogTrigger, _sfc_main$2b as DropdownMenu, _sfc_main$2a as DropdownMenuCheckboxItem, _sfc_main$29 as DropdownMenuContent, _sfc_main$28 as DropdownMenuGroup, _sfc_main$27 as DropdownMenuItem, _sfc_main$26 as DropdownMenuLabel, _sfc_main$25 as DropdownMenuRadioGroup, _sfc_main$24 as DropdownMenuRadioItem, _sfc_main$23 as DropdownMenuSeparator, _sfc_main$22 as DropdownMenuShortcut, _sfc_main$21 as DropdownMenuSub, _sfc_main$20 as DropdownMenuSubContent, _sfc_main$1$ as DropdownMenuSubTrigger, _sfc_main$1_ as DropdownMenuTrigger, _sfc_main$1W as HoverCard, _sfc_main$1U as Input, _sfc_main$1O as InputNumber, _sfc_main$1N as InputText, _sfc_main$2M as Label, _sfc_main$1M as Link, Loading, _sfc_main$1K as Menubar, _sfc_main$1J as MenubarCheckboxItem, _sfc_main$1I as MenubarContent, _sfc_main$1H as MenubarGroup, _sfc_main$1G as MenubarItem, _sfc_main$1F as MenubarLabel, _sfc_main$1E as MenubarMenu, _sfc_main$1D as MenubarRadioGroup, _sfc_main$1C as MenubarRadioItem, _sfc_main$1B as MenubarSeparator, _sfc_main$1A as MenubarShortcut, _sfc_main$1z as MenubarSub, _sfc_main$1y as MenubarSubContent, _sfc_main$1x as MenubarSubTrigger, _sfc_main$1w as MenubarTrigger, _sfc_main$1v as Pagination, _sfc_main$1u as PaginationContent, _sfc_main$1t as PaginationEllipsis, _sfc_main$1s as PaginationFirst, _sfc_main$1r as PaginationItem, _sfc_main$1q as PaginationLast, _sfc_main$1p as PaginationNext, _sfc_main$1o as PaginationPrevious, _sfc_main$1k as Popover, _sfc_main$1j as Progress, _sfc_main$1i as RadioGroup, _sfc_main$1h as RadioGroupItem, _sfc_main$1g as ResizableHandle, _sfc_main$1f as ResizablePanel, _sfc_main$1e as ResizablePanelGroup, _sfc_main$2U as ScrollArea, _sfc_main$12 as Select, _sfc_main$1b as SelectGroup, _sfc_main$1a as SelectItem, _sfc_main$19 as SelectItemText, _sfc_main$18 as SelectLabel, _sfc_main$17 as SelectScrollDownButton, _sfc_main$16 as SelectScrollUpButton, _sfc_main$15 as SelectSeparator, _sfc_main$11 as Separator, _sfc_main$10 as Sheet, _sfc_main$$ as SheetClose, _sfc_main$Z as SheetContent, _sfc_main$Y as SheetDescription, _sfc_main$X as SheetFooter, _sfc_main$W as SheetHeader, _sfc_main$V as SheetTitle, _sfc_main$U as SheetTrigger, _sfc_main$r as Sidebar, _sfc_main$Q as SidebarGroup, _sfc_main$P as SidebarGroupAction, _sfc_main$O as SidebarGroupContent, _sfc_main$N as SidebarGroupLabel, _sfc_main$K as SidebarMenu, _sfc_main$J as SidebarMenuAction, _sfc_main$I as SidebarMenuBadge, _sfc_main$C as SidebarMenuButton, _sfc_main$B as SidebarMenuItem, _sfc_main$z as SidebarMenuSkeleton, _sfc_main$y as SidebarMenuSub, _sfc_main$x as SidebarMenuSubButton, _sfc_main$w as SidebarMenuSubItem, _sfc_main$u as SidebarRail, _sfc_main$t as SidebarSeparator, _sfc_main$s as SidebarTrigger, _sfc_main$A as Skeleton, _sfc_main$q as Slider, _sfc_main$p as Sonner, _sfc_main$n as Switch, _sfc_main$e as Table, _sfc_main$k as TableCell, _sfc_main$i as TableEmpty, _sfc_main$g as TableHead, _sfc_main$d as TableLink, _sfc_main$j as TableRow, _sfc_main$c as Tabs, _sfc_main$b as TabsContent, _sfc_main$a as TabsList, _sfc_main$9 as TabsTrigger, _sfc_main$8 as TagsInput, _sfc_main$7 as TagsInputInput, _sfc_main$6 as TagsInputItem, _sfc_main$5 as TagsInputItemDelete, _sfc_main$4 as TagsInputItemText, _sfc_main$2 as Textarea, _sfc_main$1 as Toggle, _sfc_main as Tooltip, asyncComputed, asyncRef, cn, getCurrentApp, getErrorHandler, handleError, inject, localRef, log, maybe, onAltKeyDown, onCtrlKeyDown, onCtrlShiftKeyDown, onKeyDown, onShiftKeyDown, provide, runWithContext, setCurrentApp, setErrorHandler, toBooleanCheckboxValue, tryGetCurrentApp, tryInject, trySetCurrentApp, useElementSize, useHeight, useHeightDiff, useSidebar, useWidth, useWidthDiff, useWindowHeight, useWindowWidth, warn };
|