@una-ui/nuxt 0.64.0 → 0.66.0
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/module.json +1 -1
- package/dist/module.mjs +10 -8
- package/dist/runtime/components/alert-dialog/AlertDialog.vue.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogAction.vue.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogContent.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogDescription.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogOverlay.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogTitle.vue +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogTrigger.vue +1 -1
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue +1 -1
- package/dist/runtime/components/aspect-ratio/AspectRatio.vue.d.ts +2 -2
- package/dist/runtime/components/combobox/Combobox.vue +2 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
- package/dist/runtime/components/combobox/ComboboxAnchor.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxEmpty.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxGroup.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxInput.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -1
- package/dist/runtime/components/combobox/ComboboxItem.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxLabel.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxList.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxSeparator.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxTrigger.vue +1 -1
- package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/combobox/ComboboxViewport.vue +1 -1
- package/dist/runtime/components/data/table/TableBody.vue +1 -1
- package/dist/runtime/components/data/table/TableCaption.vue +1 -1
- package/dist/runtime/components/data/table/TableCell.vue +1 -1
- package/dist/runtime/components/data/table/TableFooter.vue +1 -1
- package/dist/runtime/components/data/table/TableHead.vue +1 -1
- package/dist/runtime/components/data/table/TableHeader.vue +1 -1
- package/dist/runtime/components/data/table/TableRow.vue +1 -1
- package/dist/runtime/components/drawer/Drawer.vue.d.ts +1 -1
- package/dist/runtime/components/drawer/DrawerClose.vue +1 -1
- package/dist/runtime/components/drawer/DrawerContent.vue +1 -1
- package/dist/runtime/components/drawer/DrawerDescription.vue +1 -1
- package/dist/runtime/components/drawer/DrawerOverlay.vue +1 -1
- package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
- package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
- package/dist/runtime/components/elements/Alert.vue.d.ts +5 -1
- package/dist/runtime/components/elements/AvatarGroup.vue +1 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +5 -1
- package/dist/runtime/components/elements/Button.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Label.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Separator.vue +1 -1
- package/dist/runtime/components/elements/Toggle.vue +1 -1
- package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/elements/accordion/Accordion.vue +86 -0
- package/dist/runtime/components/elements/accordion/Accordion.vue.d.ts +71 -0
- package/dist/runtime/components/elements/accordion/AccordionContent.vue +24 -0
- package/dist/runtime/components/elements/accordion/AccordionContent.vue.d.ts +13 -0
- package/dist/runtime/components/elements/accordion/AccordionHeader.vue +17 -0
- package/dist/runtime/components/elements/accordion/AccordionHeader.vue.d.ts +13 -0
- package/dist/runtime/components/elements/accordion/AccordionItem.vue +59 -0
- package/dist/runtime/components/elements/accordion/AccordionItem.vue.d.ts +27 -0
- package/dist/runtime/components/elements/accordion/AccordionTrigger.vue +56 -0
- package/dist/runtime/components/elements/accordion/AccordionTrigger.vue.d.ts +16 -0
- package/dist/runtime/components/elements/avatar/Avatar.vue +1 -1
- package/dist/runtime/components/elements/avatar/Avatar.vue.d.ts +2 -2
- package/dist/runtime/components/elements/avatar/AvatarFallback.vue +1 -1
- package/dist/runtime/components/elements/avatar/AvatarImage.vue +1 -1
- package/dist/runtime/components/elements/collapsible/Collapsible.vue +1 -1
- package/dist/runtime/components/elements/collapsible/Collapsible.vue.d.ts +2 -2
- package/dist/runtime/components/elements/collapsible/CollapsibleContent.vue +1 -1
- package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
- package/dist/runtime/components/elements/dialog/Dialog.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogClose.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogDescription.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogScrollContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogTitle.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +4 -4
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuTrigger.vue +1 -1
- package/dist/runtime/components/elements/pagination/Pagination.vue +1 -1
- package/dist/runtime/components/elements/pagination/Pagination.vue.d.ts +5 -2
- package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationNext.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/PopoverContent.vue +1 -1
- package/dist/runtime/components/elements/tabs/Tabs.vue +1 -1
- package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/elements/tabs/TabsContent.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsList.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue +1 -1
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/elements/tooltip/TooltipContent.vue +1 -1
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
- package/dist/runtime/components/forms/Checkbox.vue +1 -1
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +15 -3
- package/dist/runtime/components/forms/Slider.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue.d.ts +2 -2
- package/dist/runtime/components/forms/form/FormField.vue +1 -1
- package/dist/runtime/components/forms/form/FormLabel.vue +1 -1
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue +1 -1
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +1 -1
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
- package/dist/runtime/components/forms/select/Select.vue +2 -18
- package/dist/runtime/components/forms/select/Select.vue.d.ts +16 -16
- package/dist/runtime/components/forms/select/SelectContent.vue +1 -1
- package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
- package/dist/runtime/components/forms/select/SelectItem.vue +1 -3
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue +7 -6
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue.d.ts +1 -3
- package/dist/runtime/components/forms/select/SelectItemText.vue +1 -1
- package/dist/runtime/components/forms/select/SelectLabel.vue +1 -1
- package/dist/runtime/components/forms/select/SelectScrollDownButton.vue +1 -1
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +1 -1
- package/dist/runtime/components/forms/select/SelectSeparator.vue +1 -1
- package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
- package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCard.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCard.vue.d.ts +1 -1
- package/dist/runtime/components/hover-card/HoverCardArrow.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCardContent.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
- package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +16 -6
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbEllipsis.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/breadcrumb/BreadcrumbSeparator.vue.d.ts +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +11 -11
- package/dist/runtime/components/navigation-menu/NavigationMenuContent.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuContentItem.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuIndicator.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuItem.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +2 -2
- package/dist/runtime/components/navigation-menu/NavigationMenuList.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenuViewport.vue +1 -1
- package/dist/runtime/components/number-field/NumberField.vue +1 -1
- package/dist/runtime/components/number-field/NumberField.vue.d.ts +1 -1
- package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldDecrement.vue.d.ts +1 -1
- package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldIncrement.vue.d.ts +1 -1
- package/dist/runtime/components/number-field/NumberFieldInput.vue +1 -1
- package/dist/runtime/components/overlays/Toaster.vue +1 -0
- package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +2 -2
- package/dist/runtime/components/overlays/toast/ToastClose.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastDescription.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastProvider.vue +1 -0
- package/dist/runtime/components/overlays/toast/ToastTitle.vue +1 -1
- package/dist/runtime/components/overlays/toast/ToastViewport.vue +1 -1
- package/dist/runtime/components/pin-input/PinInput.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputGroup.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputSeparator.vue +1 -1
- package/dist/runtime/components/pin-input/PinInputSlot.vue +1 -1
- package/dist/runtime/components/resizable/ResizableHandle.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue.d.ts +7 -1
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +3 -1
- package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
- package/dist/runtime/components/scroll-area/ScrollArea.vue.d.ts +1 -1
- package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
- package/dist/runtime/components/sheet/Sheet.vue.d.ts +1 -1
- package/dist/runtime/components/sheet/SheetClose.vue +1 -1
- package/dist/runtime/components/sheet/SheetContent.vue +1 -1
- package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
- package/dist/runtime/components/sheet/SheetTitle.vue +1 -1
- package/dist/runtime/components/sheet/SheetTrigger.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarGroupAction.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarGroupLabel.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuAction.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue +2 -2
- package/dist/runtime/components/sidebar/SidebarMenuButton.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuButtonChild.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue.d.ts +1 -1
- package/dist/runtime/components/sidebar/SidebarProvider.vue +7 -2
- package/dist/runtime/components/sidebar/SidebarProvider.vue.d.ts +1 -1
- package/dist/runtime/components/stepper/Stepper.vue +3 -3
- package/dist/runtime/components/stepper/Stepper.vue.d.ts +25 -13
- package/dist/runtime/components/stepper/StepperDescription.vue +1 -1
- package/dist/runtime/components/stepper/StepperDescription.vue.d.ts +1 -1
- package/dist/runtime/components/stepper/StepperIndicator.vue +1 -1
- package/dist/runtime/components/stepper/StepperIndicator.vue.d.ts +3 -1
- package/dist/runtime/components/stepper/StepperItem.vue +1 -1
- package/dist/runtime/components/stepper/StepperItem.vue.d.ts +3 -1
- package/dist/runtime/components/stepper/StepperSeparator.vue +1 -1
- package/dist/runtime/components/stepper/StepperTitle.vue +1 -1
- package/dist/runtime/components/stepper/StepperTrigger.vue +1 -1
- package/dist/runtime/components/toggle-group/ToggleGroup.vue +1 -1
- package/dist/runtime/components/toggle-group/ToggleGroup.vue.d.ts +5 -3
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue +1 -1
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue.d.ts +7 -2
- package/dist/runtime/types/accordion.d.ts +36 -91
- package/dist/runtime/types/select.d.ts +1 -2
- package/dist/runtime/types/sidebar.d.ts +5 -0
- package/dist/runtime/utils/index.d.ts +1 -1
- package/package.json +18 -18
- package/dist/runtime/components/elements/Accordion.vue +0 -212
- package/dist/runtime/components/elements/Accordion.vue.d.ts +0 -28
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -8,7 +8,7 @@ import 'unocss';
|
|
|
8
8
|
import 'unocss-preset-animations';
|
|
9
9
|
|
|
10
10
|
const name = "@una-ui/nuxt";
|
|
11
|
-
const version = "0.
|
|
11
|
+
const version = "0.66.0";
|
|
12
12
|
|
|
13
13
|
const module = defineNuxtModule({
|
|
14
14
|
meta: {
|
|
@@ -27,7 +27,10 @@ const module = defineNuxtModule({
|
|
|
27
27
|
},
|
|
28
28
|
async setup(options, nuxt) {
|
|
29
29
|
const { resolve } = createResolver(import.meta.url);
|
|
30
|
-
nuxt.options.css.unshift(
|
|
30
|
+
nuxt.options.css.unshift(
|
|
31
|
+
import.meta.resolve("@unocss/reset/tailwind.css"),
|
|
32
|
+
import.meta.resolve("@una-ui/preset/una.css")
|
|
33
|
+
);
|
|
31
34
|
nuxt.options.alias["#una"] = resolve("./runtime");
|
|
32
35
|
nuxt.options.appConfig.una = {
|
|
33
36
|
...{
|
|
@@ -42,17 +45,16 @@ const module = defineNuxtModule({
|
|
|
42
45
|
nuxt.options.app.rootAttrs.class = [nuxt.options.app.rootAttrs.class, "isolate"].filter(Boolean).join(" ");
|
|
43
46
|
const runtimeDir = resolve("./runtime");
|
|
44
47
|
nuxt.options.build.transpile.push(runtimeDir);
|
|
45
|
-
|
|
46
|
-
await installModule("@
|
|
47
|
-
await installModule("@nuxtjs/color-mode", {
|
|
48
|
+
await installModule(import.meta.resolve("@unocss/nuxt"), extendUnocssOptions(nuxt.options.unocss));
|
|
49
|
+
await installModule(import.meta.resolve("@nuxtjs/color-mode"), {
|
|
48
50
|
classSuffix: "",
|
|
49
51
|
disableTransition: true
|
|
50
52
|
});
|
|
51
|
-
await installModule("@vueuse/nuxt");
|
|
52
|
-
await installModule("reka-ui/nuxt", {
|
|
53
|
+
await installModule(import.meta.resolve("@vueuse/nuxt"));
|
|
54
|
+
await installModule(import.meta.resolve("reka-ui/nuxt"), {
|
|
53
55
|
prefix: options.prefix
|
|
54
56
|
});
|
|
55
|
-
await installModule("@vee-validate/nuxt", {
|
|
57
|
+
await installModule(import.meta.resolve("@vee-validate/nuxt"), {
|
|
56
58
|
componentNames: {
|
|
57
59
|
Form: `${options.prefix}Form`,
|
|
58
60
|
// Field: `${options.prefix}FormField`,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NAlertDialogProps } from '../../types/index.js';
|
|
2
2
|
declare var __VLS_6: {}, __VLS_11: {
|
|
3
|
-
open:
|
|
3
|
+
open: boolean;
|
|
4
4
|
}, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_46: {}, __VLS_48: {}, __VLS_57: {}, __VLS_59: {}, __VLS_68: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_6) => any;
|
|
@@ -4,7 +4,7 @@ import Button from "../elements/Button.vue";
|
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
onClick: { type: Function, required: false },
|
|
6
6
|
asChild: { type: Boolean, required: false },
|
|
7
|
-
as: { type:
|
|
7
|
+
as: { type: null, required: false },
|
|
8
8
|
type: { type: String, required: false },
|
|
9
9
|
loadingPlacement: { type: String, required: false },
|
|
10
10
|
icon: { type: Boolean, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogActionProps } from '../../types/index.js';
|
|
2
|
-
declare var __VLS_10:
|
|
2
|
+
declare var __VLS_10: string | number, __VLS_11: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
@@ -5,7 +5,7 @@ import Button from "../elements/Button.vue";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
onClick: { type: Function, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
type: { type: String, required: false },
|
|
10
10
|
loadingPlacement: { type: String, required: false },
|
|
11
11
|
icon: { type: Boolean, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogCancelProps } from '../../types/index.js';
|
|
2
|
-
declare var __VLS_10:
|
|
2
|
+
declare var __VLS_10: string | number, __VLS_11: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
@@ -21,7 +21,7 @@ const props = defineProps({
|
|
|
21
21
|
forceMount: { type: Boolean, required: false },
|
|
22
22
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
23
23
|
asChild: { type: Boolean, required: false },
|
|
24
|
-
as: { type:
|
|
24
|
+
as: { type: null, required: false },
|
|
25
25
|
class: { type: null, required: false }
|
|
26
26
|
});
|
|
27
27
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
forceMount: { type: Boolean, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
ratio: { type: Number, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: null, required: false },
|
|
11
11
|
class: { type: null, required: false },
|
|
12
12
|
rounded: { type: null, required: false, default: "md" }
|
|
13
13
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import type { NAspectRatioProps } from '../../types/aspect-ratio.js';
|
|
2
2
|
declare var __VLS_6: {
|
|
3
|
-
aspect:
|
|
3
|
+
aspect: number;
|
|
4
4
|
};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_6) => any;
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_component: import("vue").DefineComponent<NAspectRatioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NAspectRatioProps> & Readonly<{}>, {
|
|
9
|
-
aspectRatio: string;
|
|
10
9
|
rounded: import("vue").HTMLAttributes["class"];
|
|
10
|
+
aspectRatio: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
12
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
13
13
|
export default _default;
|
|
@@ -48,13 +48,14 @@ const props = defineProps({
|
|
|
48
48
|
openOnFocus: { type: Boolean, required: false },
|
|
49
49
|
openOnClick: { type: Boolean, required: false },
|
|
50
50
|
ignoreFilter: { type: Boolean, required: false },
|
|
51
|
+
resetModelValueOnClear: { type: Boolean, required: false },
|
|
51
52
|
defaultValue: { type: null, required: false },
|
|
52
53
|
dir: { type: String, required: false },
|
|
53
54
|
disabled: { type: Boolean, required: false },
|
|
54
55
|
highlightOnHover: { type: Boolean, required: false },
|
|
55
56
|
by: { type: [String, Function], required: false },
|
|
56
57
|
asChild: { type: Boolean, required: false },
|
|
57
|
-
as: { type:
|
|
58
|
+
as: { type: null, required: false },
|
|
58
59
|
name: { type: String, required: false },
|
|
59
60
|
required: { type: Boolean, required: false },
|
|
60
61
|
status: { type: String, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptableValue } from 'reka-ui';
|
|
2
|
-
import type { ExtractItemType, NComboboxProps } from '../../types/index.js';
|
|
2
|
+
import type { ExtractItemType, NComboboxGroupProps, NComboboxProps } from '../../types/index.js';
|
|
3
3
|
declare const _default: <T extends AcceptableValue, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
4
4
|
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
5
5
|
readonly "onUpdate:modelValue"?: ((value: ExtractItemType<T>) => any) | undefined;
|
|
@@ -19,20 +19,20 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
|
|
|
19
19
|
'trigger-wrapper'?: (props: {}) => any;
|
|
20
20
|
} & {
|
|
21
21
|
trigger?: (props: {
|
|
22
|
-
modelValue:
|
|
23
|
-
open:
|
|
22
|
+
modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
|
|
23
|
+
open: boolean | undefined;
|
|
24
24
|
}) => any;
|
|
25
25
|
} & {
|
|
26
26
|
'input-wrapper'?: (props: {
|
|
27
|
-
modelValue:
|
|
28
|
-
open:
|
|
27
|
+
modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
|
|
28
|
+
open: boolean | undefined;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
list?: (props: {}) => any;
|
|
32
32
|
} & {
|
|
33
33
|
'input-wrapper'?: (props: {
|
|
34
|
-
modelValue:
|
|
35
|
-
open:
|
|
34
|
+
modelValue: (M extends true ? ExtractItemType<T>[] : ExtractItemType<T>) | null | undefined;
|
|
35
|
+
open: boolean | undefined;
|
|
36
36
|
}) => any;
|
|
37
37
|
} & {
|
|
38
38
|
header?: (props: {}) => any;
|
|
@@ -44,34 +44,34 @@ declare const _default: <T extends AcceptableValue, M extends boolean = false>(_
|
|
|
44
44
|
group?: (props: {}) => any;
|
|
45
45
|
} & {
|
|
46
46
|
item?: (props: {
|
|
47
|
-
item:
|
|
48
|
-
selected:
|
|
47
|
+
item: ExtractItemType<T>;
|
|
48
|
+
selected: boolean;
|
|
49
49
|
}) => any;
|
|
50
50
|
} & {
|
|
51
51
|
label?: (props: {
|
|
52
|
-
item:
|
|
52
|
+
item: ExtractItemType<T>;
|
|
53
53
|
}) => any;
|
|
54
54
|
} & {
|
|
55
55
|
'item-indicator'?: (props: {
|
|
56
|
-
item:
|
|
56
|
+
item: ExtractItemType<T>;
|
|
57
57
|
}) => any;
|
|
58
58
|
} & {
|
|
59
59
|
group?: (props: {
|
|
60
|
-
group:
|
|
60
|
+
group: NComboboxGroupProps<ExtractItemType<T>>;
|
|
61
61
|
}) => any;
|
|
62
62
|
} & {
|
|
63
63
|
item?: (props: {
|
|
64
|
-
item:
|
|
65
|
-
group:
|
|
66
|
-
selected:
|
|
64
|
+
item: ExtractItemType<T>;
|
|
65
|
+
group: NComboboxGroupProps<ExtractItemType<T>>;
|
|
66
|
+
selected: boolean;
|
|
67
67
|
}) => any;
|
|
68
68
|
} & {
|
|
69
69
|
label?: (props: {
|
|
70
|
-
item:
|
|
70
|
+
item: ExtractItemType<T>;
|
|
71
71
|
}) => any;
|
|
72
72
|
} & {
|
|
73
73
|
indicator?: (props: {
|
|
74
|
-
item:
|
|
74
|
+
item: ExtractItemType<T>;
|
|
75
75
|
}) => any;
|
|
76
76
|
} & {
|
|
77
77
|
footer?: (props: {}) => any;
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
reference: { type: null, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false, default: "sm" }
|
|
11
11
|
});
|
|
@@ -14,7 +14,7 @@ const props = defineProps({
|
|
|
14
14
|
_comboboxLabel: { type: Object, required: false },
|
|
15
15
|
una: { type: Object, required: false },
|
|
16
16
|
asChild: { type: Boolean, required: false },
|
|
17
|
-
as: { type:
|
|
17
|
+
as: { type: null, required: false },
|
|
18
18
|
class: { type: null, required: false },
|
|
19
19
|
size: { type: null, required: false }
|
|
20
20
|
});
|
|
@@ -12,7 +12,7 @@ const props = defineProps({
|
|
|
12
12
|
autoFocus: { type: Boolean, required: false },
|
|
13
13
|
disabled: { type: Boolean, required: false },
|
|
14
14
|
asChild: { type: Boolean, required: false },
|
|
15
|
-
as: { type:
|
|
15
|
+
as: { type: null, required: false },
|
|
16
16
|
type: { type: null, required: false },
|
|
17
17
|
status: { type: String, required: false },
|
|
18
18
|
loading: { type: Boolean, required: false },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
value: { type: null, required: true },
|
|
9
9
|
disabled: { type: Boolean, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: null, required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
size: { type: null, required: false, default: "sm" }
|
|
14
14
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
icon: { type: null, required: false, default: "combobox-item-indicator-icon-name" },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
for: { type: String, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -29,7 +29,7 @@ const props = defineProps({
|
|
|
29
29
|
prioritizePosition: { type: Boolean, required: false },
|
|
30
30
|
reference: { type: null, required: false },
|
|
31
31
|
asChild: { type: Boolean, required: false },
|
|
32
|
-
as: { type:
|
|
32
|
+
as: { type: null, required: false },
|
|
33
33
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
34
34
|
class: { type: null, required: false },
|
|
35
35
|
size: { type: null, required: false }
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
size: { type: null, required: false }
|
|
11
11
|
});
|
|
@@ -11,7 +11,7 @@ const props = defineProps({
|
|
|
11
11
|
una: { type: Object, required: false },
|
|
12
12
|
disabled: { type: Boolean, required: false },
|
|
13
13
|
asChild: { type: Boolean, required: false },
|
|
14
|
-
as: { type:
|
|
14
|
+
as: { type: null, required: false },
|
|
15
15
|
type: { type: String, required: false },
|
|
16
16
|
loadingPlacement: { type: String, required: false },
|
|
17
17
|
icon: { type: Boolean, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NComboboxTriggerProps } from '../../types/index.js';
|
|
2
|
-
declare var __VLS_6: {}, __VLS_12:
|
|
2
|
+
declare var __VLS_6: {}, __VLS_12: string | number, __VLS_13: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
5
5
|
} & {
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
nonce: { type: String, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false }
|
|
12
12
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false, default: "tbody" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false, default: "caption" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
dataPinned: { type: [String, Boolean], required: false },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: null, required: false, default: "td" }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
13
13
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false, default: "tfoot" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
dataPinned: { type: [String, Boolean], required: false },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: null, required: false, default: "th" }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
13
13
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false, default: "thead" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
class: { type: null, required: false },
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: null, required: false, default: "tr" }
|
|
10
10
|
});
|
|
11
11
|
const rootProps = reactiveOmit(props, ["una", "class"]);
|
|
12
12
|
</script>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NDrawerProps } from '../../types/index.js';
|
|
2
2
|
declare var __VLS_6: {}, __VLS_11: {
|
|
3
|
-
open:
|
|
3
|
+
open: boolean;
|
|
4
4
|
}, __VLS_26: {}, __VLS_31: {}, __VLS_36: {}, __VLS_41: {}, __VLS_43: {}, __VLS_48: {}, __VLS_53: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
default?: (props: typeof __VLS_6) => any;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DrawerClose } from "vaul-vue";
|
|
3
3
|
const props = defineProps({
|
|
4
4
|
asChild: { type: Boolean, required: false },
|
|
5
|
-
as: { type:
|
|
5
|
+
as: { type: null, required: false },
|
|
6
6
|
type: { type: String, required: false },
|
|
7
7
|
loadingPlacement: { type: String, required: false },
|
|
8
8
|
icon: { type: Boolean, required: false },
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
forceMount: { type: Boolean, required: false },
|
|
17
17
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
18
18
|
asChild: { type: Boolean, required: false },
|
|
19
|
-
as: { type:
|
|
19
|
+
as: { type: null, required: false },
|
|
20
20
|
class: { type: null, required: false }
|
|
21
21
|
});
|
|
22
22
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
forceMount: { type: Boolean, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: null, required: false }
|
|
11
11
|
});
|
|
12
12
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
13
13
|
</script>
|
|
@@ -5,7 +5,7 @@ import { cn } from "../../utils";
|
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: null, required: false },
|
|
9
9
|
class: { type: null, required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
@@ -6,7 +6,11 @@ type __VLS_Slots = {
|
|
|
6
6
|
icon?: any;
|
|
7
7
|
closeIcon?: any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<NAlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
close: (...args: any[]) => void;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<NAlertProps> & Readonly<{
|
|
12
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}>, {
|
|
10
14
|
icon: string | boolean;
|
|
11
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
16
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
rounded: { type: null, required: false },
|
|
18
18
|
avatar: { type: null, required: false },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: null, required: false, default: "div" },
|
|
21
21
|
icon: { type: Boolean, required: false },
|
|
22
22
|
delayMs: { type: Number, required: false },
|
|
23
23
|
referrerPolicy: { type: null, required: false },
|
|
@@ -3,7 +3,11 @@ declare var __VLS_4: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_4) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
|
+
close: (...args: any[]) => void;
|
|
8
|
+
}, string, import("vue").PublicProps, Readonly<NBadgeProps> & Readonly<{
|
|
9
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
7
11
|
una: {
|
|
8
12
|
badgeDefaultVariant?: string;
|
|
9
13
|
badge?: string;
|
|
@@ -10,6 +10,9 @@ type __VLS_Slots = {} & {
|
|
|
10
10
|
trailing?: (props: typeof __VLS_37) => any;
|
|
11
11
|
};
|
|
12
12
|
declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NButtonProps> & Readonly<{}>, {
|
|
13
|
+
type: "button" | "submit" | "reset";
|
|
14
|
+
loadingPlacement: "leading" | "trailing" | "label";
|
|
15
|
+
size: string;
|
|
13
16
|
una: {
|
|
14
17
|
btnDefaultVariant?: string;
|
|
15
18
|
btn?: string;
|
|
@@ -21,9 +24,6 @@ declare const __VLS_component: import("vue").DefineComponent<NButtonProps, {}, {
|
|
|
21
24
|
btnLoadingIcon?: string;
|
|
22
25
|
};
|
|
23
26
|
rounded: import("vue").HTMLAttributes["class"];
|
|
24
|
-
size: string;
|
|
25
|
-
type: "button" | "submit" | "reset";
|
|
26
|
-
loadingPlacement: "leading" | "trailing" | "label";
|
|
27
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
29
29
|
export default _default;
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
class: { type: null, required: false },
|
|
8
8
|
for: { type: String, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: null, required: false }
|
|
11
11
|
});
|
|
12
12
|
const rootProps = reactiveOmit(props, ["label", "class"]);
|
|
13
13
|
</script>
|
|
@@ -15,7 +15,7 @@ const props = defineProps({
|
|
|
15
15
|
getValueLabel: { type: Function, required: false },
|
|
16
16
|
getValueText: { type: Function, required: false },
|
|
17
17
|
asChild: { type: Boolean, required: false },
|
|
18
|
-
as: { type:
|
|
18
|
+
as: { type: null, required: false },
|
|
19
19
|
class: { type: null, required: false }
|
|
20
20
|
});
|
|
21
21
|
const delegatedProps = reactiveOmit(props, ["class"]);
|