@una-ui/nuxt 0.56.5 → 0.57.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 +1 -1
- 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 +1 -1
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
- package/dist/runtime/components/combobox/ComboboxAnchor.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxEmpty.vue +3 -6
- package/dist/runtime/components/combobox/ComboboxGroup.vue +3 -6
- 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 +3 -6
- package/dist/runtime/components/combobox/ComboboxItemIndicator.vue +3 -6
- 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 +3 -6
- 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 +3 -6
- 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/TableEmpty.vue +2 -5
- 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/TableLoading.vue +2 -5
- 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 +3 -6
- package/dist/runtime/components/drawer/DrawerOverlay.vue +3 -6
- package/dist/runtime/components/drawer/DrawerTitle.vue +3 -6
- package/dist/runtime/components/drawer/DrawerTrigger.vue +1 -1
- package/dist/runtime/components/elements/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Alert.vue.d.ts +1 -5
- package/dist/runtime/components/elements/AvatarGroup.vue +3 -2
- package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
- 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 +4 -6
- package/dist/runtime/components/elements/Progress.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Separator.vue +5 -8
- package/dist/runtime/components/elements/Toggle.vue +3 -6
- package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/elements/avatar/Avatar.vue +3 -2
- 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 +2 -1
- package/dist/runtime/components/elements/card/Card.vue +2 -5
- 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 +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuGroup.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuLabel.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +3 -6
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue +3 -6
- 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 +2 -5
- package/dist/runtime/components/elements/pagination/PaginationEllipsis.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationLast.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue +3 -5
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationNext.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationNext.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue +3 -6
- package/dist/runtime/components/elements/pagination/PaginationPrev.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/Popover.vue +2 -5
- package/dist/runtime/components/elements/popover/Popover.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/PopoverContent.vue +3 -6
- 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 +3 -6
- package/dist/runtime/components/elements/tooltip/TooltipTrigger.vue +1 -1
- package/dist/runtime/components/forms/Checkbox.vue +2 -2
- package/dist/runtime/components/forms/FormGroup.vue +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +2 -10
- 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 +3 -3
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +4 -4
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue +2 -2
- package/dist/runtime/components/forms/radio-group/RadioGroupItem.vue.d.ts +1 -1
- package/dist/runtime/components/forms/select/Select.vue.d.ts +17 -17
- package/dist/runtime/components/forms/select/SelectContent.vue +3 -6
- package/dist/runtime/components/forms/select/SelectGroup.vue +3 -6
- package/dist/runtime/components/forms/select/SelectItem.vue +3 -6
- package/dist/runtime/components/forms/select/SelectItemIndicator.vue +1 -1
- 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 +3 -6
- package/dist/runtime/components/forms/select/SelectScrollUpButton.vue +3 -6
- package/dist/runtime/components/forms/select/SelectSeparator.vue +3 -6
- package/dist/runtime/components/forms/select/SelectTrigger.vue +1 -1
- package/dist/runtime/components/forms/select/SelectValue.vue +1 -1
- package/dist/runtime/components/misc/ThemeSwitcher.vue.d.ts +1 -1
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
- 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 +3 -6
- 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/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 +3 -6
- 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 +3 -6
- package/dist/runtime/components/overlays/toast/ToastTitle.vue +3 -6
- package/dist/runtime/components/overlays/toast/ToastViewport.vue +3 -6
- 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 +1 -4
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue.d.ts +1 -3
- 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 +3 -6
- package/dist/runtime/components/sheet/SheetTitle.vue +3 -6
- 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/package.json +8 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
DropdownMenuSubTrigger,
|
|
4
5
|
useForwardProps
|
|
5
6
|
} from "reka-ui";
|
|
6
|
-
import { computed } from "vue";
|
|
7
7
|
import { cn } from "../../../utils";
|
|
8
8
|
import Button from "../Button.vue";
|
|
9
9
|
const props = defineProps({
|
|
@@ -40,12 +40,9 @@ const props = defineProps({
|
|
|
40
40
|
ariaLabel: { type: String, required: false },
|
|
41
41
|
textValue: { type: String, required: false },
|
|
42
42
|
asChild: { type: Boolean, required: false },
|
|
43
|
-
as: { type:
|
|
44
|
-
});
|
|
45
|
-
const delegatedProps = computed(() => {
|
|
46
|
-
const { class: _, ...delegated } = props;
|
|
47
|
-
return delegated;
|
|
43
|
+
as: { type: [String, Object, Function], required: false }
|
|
48
44
|
});
|
|
45
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
49
46
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
50
47
|
</script>
|
|
51
48
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NDropdownMenuSubTriggerProps } from '../../../types/index.js';
|
|
2
|
-
declare var __VLS_10:
|
|
2
|
+
declare var __VLS_10: any, __VLS_11: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
@@ -33,7 +33,7 @@ const props = defineProps({
|
|
|
33
33
|
navigationMenuLink: { type: String, required: false },
|
|
34
34
|
ariaLabel: { type: String, required: false },
|
|
35
35
|
asChild: { type: Boolean, required: false },
|
|
36
|
-
as: { type:
|
|
36
|
+
as: { type: [String, Object, Function], required: false }
|
|
37
37
|
});
|
|
38
38
|
const forwardedProps = useForwardProps(props);
|
|
39
39
|
</script>
|
|
@@ -30,7 +30,7 @@ const props = defineProps({
|
|
|
30
30
|
disabled: { type: Boolean, required: false },
|
|
31
31
|
showEdges: { type: Boolean, required: false },
|
|
32
32
|
asChild: { type: Boolean, required: false },
|
|
33
|
-
as: { type:
|
|
33
|
+
as: { type: [String, Object, Function], required: false },
|
|
34
34
|
square: { type: null, required: false },
|
|
35
35
|
class: { type: null, required: false },
|
|
36
36
|
rounded: { type: null, required: false },
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import type { NPaginationProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_10: {}, __VLS_15: {}, __VLS_20: {}, __VLS_22: {
|
|
3
|
-
item:
|
|
4
|
-
|
|
5
|
-
value: number;
|
|
6
|
-
};
|
|
7
|
-
page: number;
|
|
3
|
+
item: any;
|
|
4
|
+
page: any;
|
|
8
5
|
}, __VLS_30: {}, __VLS_35: {}, __VLS_40: {};
|
|
9
6
|
type __VLS_Slots = {} & {
|
|
10
7
|
default?: (props: typeof __VLS_10) => any;
|
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationEllipsis, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Icon from "../../elements/Icon.vue";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
paginationEllipsis: { type: null, required: false, default: "~" },
|
|
8
8
|
una: { type: Object, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false },
|
|
11
11
|
square: { type: null, required: false },
|
|
12
12
|
class: { type: null, required: false },
|
|
13
13
|
rounded: { type: null, required: false },
|
|
14
14
|
size: { type: null, required: false }
|
|
15
15
|
});
|
|
16
|
-
const delegatedProps =
|
|
17
|
-
const { class: _, ...delegated } = props;
|
|
18
|
-
return delegated;
|
|
19
|
-
});
|
|
16
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
20
17
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
21
18
|
</script>
|
|
22
19
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationFirst, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Button from "../../elements/Button.vue";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
type: { type: String, required: false },
|
|
11
11
|
loadingPlacement: { type: String, required: false },
|
|
12
12
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -36,10 +36,7 @@ const props = defineProps({
|
|
|
36
36
|
navigationMenuLink: { type: String, required: false },
|
|
37
37
|
ariaLabel: { type: String, required: false }
|
|
38
38
|
});
|
|
39
|
-
const delegatedProps =
|
|
40
|
-
const { class: _, ...delegated } = props;
|
|
41
|
-
return delegated;
|
|
42
|
-
});
|
|
39
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
43
40
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
44
41
|
</script>
|
|
45
42
|
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NPaginationFirstProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NPaginationFirstProps> & Readonly<{}>, {
|
|
7
|
-
label: string;
|
|
8
7
|
icon: boolean;
|
|
8
|
+
label: string;
|
|
9
9
|
square: import("vue").HTMLAttributes["class"];
|
|
10
10
|
paginationUnselected: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationLast, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Button from "../../elements/Button.vue";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
type: { type: String, required: false },
|
|
11
11
|
loadingPlacement: { type: String, required: false },
|
|
12
12
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -36,10 +36,7 @@ const props = defineProps({
|
|
|
36
36
|
navigationMenuLink: { type: String, required: false },
|
|
37
37
|
ariaLabel: { type: String, required: false }
|
|
38
38
|
});
|
|
39
|
-
const delegatedProps =
|
|
40
|
-
const { class: _, ...delegated } = props;
|
|
41
|
-
return delegated;
|
|
42
|
-
});
|
|
39
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
43
40
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
44
41
|
</script>
|
|
45
42
|
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NPaginationLastProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NPaginationLastProps> & Readonly<{}>, {
|
|
7
|
-
label: string;
|
|
8
7
|
icon: boolean;
|
|
8
|
+
label: string;
|
|
9
9
|
square: import("vue").HTMLAttributes["class"];
|
|
10
10
|
paginationUnselected: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationListItem, useForwardProps } from "reka-ui";
|
|
3
4
|
import { computed } from "vue";
|
|
4
5
|
import { cn } from "../../../utils";
|
|
@@ -9,7 +10,7 @@ const props = defineProps({
|
|
|
9
10
|
una: { type: Object, required: false },
|
|
10
11
|
value: { type: Number, required: true },
|
|
11
12
|
asChild: { type: Boolean, required: false },
|
|
12
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
13
14
|
type: { type: String, required: false },
|
|
14
15
|
loadingPlacement: { type: String, required: false },
|
|
15
16
|
icon: { type: Boolean, required: false },
|
|
@@ -39,10 +40,7 @@ const props = defineProps({
|
|
|
39
40
|
navigationMenuLink: { type: String, required: false },
|
|
40
41
|
ariaLabel: { type: String, required: false }
|
|
41
42
|
});
|
|
42
|
-
const delegatedProps =
|
|
43
|
-
const { value: __, class: _, ...delegated } = props;
|
|
44
|
-
return delegated;
|
|
45
|
-
});
|
|
43
|
+
const delegatedProps = reactiveOmit(props, ["value"]);
|
|
46
44
|
const label = computed(() => {
|
|
47
45
|
return props.label || props.value.toString();
|
|
48
46
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NPaginationListItemProps } from '../../../types/index.js';
|
|
2
|
-
declare var __VLS_10:
|
|
2
|
+
declare var __VLS_10: any, __VLS_11: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any;
|
|
5
5
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationNext, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Button from "../../elements/Button.vue";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
type: { type: String, required: false },
|
|
11
11
|
loadingPlacement: { type: String, required: false },
|
|
12
12
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -36,10 +36,7 @@ const props = defineProps({
|
|
|
36
36
|
navigationMenuLink: { type: String, required: false },
|
|
37
37
|
ariaLabel: { type: String, required: false }
|
|
38
38
|
});
|
|
39
|
-
const delegatedProps =
|
|
40
|
-
const { class: _, ...delegated } = props;
|
|
41
|
-
return delegated;
|
|
42
|
-
});
|
|
39
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
43
40
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
44
41
|
</script>
|
|
45
42
|
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NPaginationNextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NPaginationNextProps> & Readonly<{}>, {
|
|
7
|
-
label: string;
|
|
8
7
|
icon: boolean;
|
|
8
|
+
label: string;
|
|
9
9
|
square: import("vue").HTMLAttributes["class"];
|
|
10
10
|
paginationUnselected: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PaginationPrev, useForwardProps } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
import Button from "../../elements/Button.vue";
|
|
6
6
|
const props = defineProps({
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
type: { type: String, required: false },
|
|
11
11
|
loadingPlacement: { type: String, required: false },
|
|
12
12
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -36,10 +36,7 @@ const props = defineProps({
|
|
|
36
36
|
navigationMenuLink: { type: String, required: false },
|
|
37
37
|
ariaLabel: { type: String, required: false }
|
|
38
38
|
});
|
|
39
|
-
const delegatedProps =
|
|
40
|
-
const { class: _, ...delegated } = props;
|
|
41
|
-
return delegated;
|
|
42
|
-
});
|
|
39
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
43
40
|
const forwardedProps = useForwardProps(delegatedProps);
|
|
44
41
|
</script>
|
|
45
42
|
|
|
@@ -4,8 +4,8 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_6) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<NPaginationPrevProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NPaginationPrevProps> & Readonly<{}>, {
|
|
7
|
-
label: string;
|
|
8
7
|
icon: boolean;
|
|
8
|
+
label: string;
|
|
9
9
|
square: import("vue").HTMLAttributes["class"];
|
|
10
10
|
paginationUnselected: string;
|
|
11
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { PopoverRoot, PopoverTrigger, useForwardPropsEmits } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import NPopoverContent from "./PopoverContent.vue";
|
|
5
5
|
const props = defineProps({
|
|
6
6
|
_popoverContent: { type: Object, required: false },
|
|
@@ -9,10 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
modal: { type: Boolean, required: false }
|
|
10
10
|
});
|
|
11
11
|
const emits = defineEmits(["update:open"]);
|
|
12
|
-
const delegatedProps =
|
|
13
|
-
const { _popoverContent, ...delegated } = props;
|
|
14
|
-
return delegated;
|
|
15
|
-
});
|
|
12
|
+
const delegatedProps = reactiveOmit(props, ["_popoverContent"]);
|
|
16
13
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
17
14
|
</script>
|
|
18
15
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import {
|
|
3
4
|
PopoverContent,
|
|
4
5
|
PopoverPortal,
|
|
5
6
|
useForwardPropsEmits
|
|
6
7
|
} from "reka-ui";
|
|
7
|
-
import { computed } from "vue";
|
|
8
8
|
import { cn } from "../../../utils";
|
|
9
9
|
defineOptions({
|
|
10
10
|
inheritAttrs: false
|
|
@@ -27,15 +27,12 @@ const props = defineProps({
|
|
|
27
27
|
prioritizePosition: { type: Boolean, required: false },
|
|
28
28
|
reference: { type: null, required: false },
|
|
29
29
|
asChild: { type: Boolean, required: false },
|
|
30
|
-
as: { type:
|
|
30
|
+
as: { type: [String, Object, Function], required: false },
|
|
31
31
|
disableOutsidePointerEvents: { type: Boolean, required: false },
|
|
32
32
|
class: { type: null, required: false }
|
|
33
33
|
});
|
|
34
34
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
35
|
-
const delegatedProps =
|
|
36
|
-
const { class: _, ...delegated } = props;
|
|
37
|
-
return delegated;
|
|
38
|
-
});
|
|
35
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
39
36
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
40
37
|
</script>
|
|
41
38
|
|
|
@@ -18,7 +18,7 @@ const props = defineProps({
|
|
|
18
18
|
modelValue: { type: null, required: false },
|
|
19
19
|
unmountOnHide: { type: Boolean, required: false },
|
|
20
20
|
asChild: { type: Boolean, required: false },
|
|
21
|
-
as: { type:
|
|
21
|
+
as: { type: [String, Object, Function], required: false },
|
|
22
22
|
class: { type: null, required: false },
|
|
23
23
|
size: { type: null, required: false, default: "sm" },
|
|
24
24
|
tabsActive: { type: String, required: false },
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
value: { type: [String, Number], required: true },
|
|
11
11
|
forceMount: { type: Boolean, required: false },
|
|
12
12
|
asChild: { type: Boolean, required: false },
|
|
13
|
-
as: { type:
|
|
13
|
+
as: { type: [String, Object, Function], required: false },
|
|
14
14
|
class: { type: null, required: false },
|
|
15
15
|
size: { type: null, required: false }
|
|
16
16
|
});
|
|
@@ -6,7 +6,7 @@ const props = defineProps({
|
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
loop: { type: Boolean, required: false },
|
|
8
8
|
asChild: { type: Boolean, required: false },
|
|
9
|
-
as: { type:
|
|
9
|
+
as: { type: [String, Object, Function], required: false },
|
|
10
10
|
class: { type: null, required: false },
|
|
11
11
|
size: { type: null, required: false, default: "sm" }
|
|
12
12
|
});
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
value: { type: [String, Number], required: true },
|
|
9
9
|
disabled: { type: Boolean, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
type: { type: String, required: false },
|
|
13
13
|
loadingPlacement: { type: String, required: false },
|
|
14
14
|
icon: { type: Boolean, required: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
2
3
|
import { TooltipContent, TooltipPortal, useForwardPropsEmits } from "reka-ui";
|
|
3
|
-
import { computed } from "vue";
|
|
4
4
|
import { cn } from "../../../utils";
|
|
5
5
|
defineOptions({
|
|
6
6
|
inheritAttrs: false
|
|
@@ -13,7 +13,7 @@ const props = defineProps({
|
|
|
13
13
|
forceMount: { type: Boolean, required: false },
|
|
14
14
|
ariaLabel: { type: String, required: false },
|
|
15
15
|
asChild: { type: Boolean, required: false },
|
|
16
|
-
as: { type:
|
|
16
|
+
as: { type: [String, Object, Function], required: false },
|
|
17
17
|
side: { type: null, required: false },
|
|
18
18
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
19
19
|
align: { type: null, required: false },
|
|
@@ -28,10 +28,7 @@ const props = defineProps({
|
|
|
28
28
|
updatePositionStrategy: { type: String, required: false }
|
|
29
29
|
});
|
|
30
30
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside"]);
|
|
31
|
-
const delegatedProps =
|
|
32
|
-
const { class: _, ...delegated } = props;
|
|
33
|
-
return delegated;
|
|
34
|
-
});
|
|
31
|
+
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
35
32
|
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
36
33
|
</script>
|
|
37
34
|
|
|
@@ -32,7 +32,7 @@ const props = defineProps({
|
|
|
32
32
|
ariaLabel: { type: String, required: false },
|
|
33
33
|
reference: { type: null, required: false },
|
|
34
34
|
asChild: { type: Boolean, required: false },
|
|
35
|
-
as: { type:
|
|
35
|
+
as: { type: [String, Object, Function], required: false }
|
|
36
36
|
});
|
|
37
37
|
</script>
|
|
38
38
|
|
|
@@ -20,10 +20,10 @@ const props = defineProps({
|
|
|
20
20
|
defaultValue: { type: [Boolean, String], required: false },
|
|
21
21
|
modelValue: { type: [Boolean, String, null], required: false },
|
|
22
22
|
disabled: { type: Boolean, required: false },
|
|
23
|
-
value: { type:
|
|
23
|
+
value: { type: null, required: false },
|
|
24
24
|
id: { type: String, required: false },
|
|
25
25
|
asChild: { type: Boolean, required: false },
|
|
26
|
-
as: { type:
|
|
26
|
+
as: { type: [String, Object, Function], required: false },
|
|
27
27
|
name: { type: String, required: false },
|
|
28
28
|
required: { type: Boolean, required: false },
|
|
29
29
|
class: { type: null, required: false },
|
|
@@ -16,7 +16,7 @@ const props = defineProps({
|
|
|
16
16
|
una: { type: Object, required: false },
|
|
17
17
|
for: { type: String, required: false },
|
|
18
18
|
asChild: { type: Boolean, required: false },
|
|
19
|
-
as: { type:
|
|
19
|
+
as: { type: [String, Object, Function], required: false }
|
|
20
20
|
});
|
|
21
21
|
const id = computed(() => props.id ?? randomId("form-group"));
|
|
22
22
|
const statusClassVariants = computed(() => {
|
|
@@ -8,18 +8,10 @@ declare const __VLS_component: import("vue").DefineComponent<NInputProps, {
|
|
|
8
8
|
blur: () => void | undefined;
|
|
9
9
|
select: () => void | undefined;
|
|
10
10
|
inputRef: import("vue").Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
11
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
-
|
|
13
|
-
trailing: (...args: any[]) => void;
|
|
14
|
-
"update:modelValue": (...args: any[]) => void;
|
|
15
|
-
}, string, import("vue").PublicProps, Readonly<NInputProps> & Readonly<{
|
|
16
|
-
onLeading?: ((...args: any[]) => any) | undefined;
|
|
17
|
-
onTrailing?: ((...args: any[]) => any) | undefined;
|
|
18
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
19
|
-
}>, {
|
|
11
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
12
|
+
type: HTMLInputElement["type"] | "textarea";
|
|
20
13
|
size: string;
|
|
21
14
|
resize: string | null;
|
|
22
|
-
type: HTMLInputElement["type"] | "textarea";
|
|
23
15
|
rows: number;
|
|
24
16
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
25
17
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -19,7 +19,7 @@ const props = defineProps({
|
|
|
19
19
|
minStepsBetweenThumbs: { type: Number, required: false },
|
|
20
20
|
thumbAlignment: { type: String, required: false },
|
|
21
21
|
asChild: { type: Boolean, required: false },
|
|
22
|
-
as: { type:
|
|
22
|
+
as: { type: [String, Object, Function], required: false },
|
|
23
23
|
name: { type: String, required: false },
|
|
24
24
|
required: { type: Boolean, required: false },
|
|
25
25
|
class: { type: null, required: false }
|
|
@@ -22,7 +22,7 @@ const props = defineProps({
|
|
|
22
22
|
id: { type: String, required: false },
|
|
23
23
|
value: { type: String, required: false },
|
|
24
24
|
asChild: { type: Boolean, required: false },
|
|
25
|
-
as: { type:
|
|
25
|
+
as: { type: [String, Object, Function], required: false },
|
|
26
26
|
name: { type: String, required: false },
|
|
27
27
|
required: { type: Boolean, required: false }
|
|
28
28
|
});
|
|
@@ -24,7 +24,7 @@ const props = defineProps({
|
|
|
24
24
|
una: { type: Object, required: false },
|
|
25
25
|
for: { type: String, required: false },
|
|
26
26
|
asChild: { type: Boolean, required: false },
|
|
27
|
-
as: { type:
|
|
27
|
+
as: { type: [String, Object, Function], required: false }
|
|
28
28
|
});
|
|
29
29
|
const statusClassVariants = computed(() => {
|
|
30
30
|
const text = {
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
class: { type: null, required: false },
|
|
9
9
|
for: { type: String, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false }
|
|
12
12
|
});
|
|
13
13
|
const { formItemId } = useFormField();
|
|
14
14
|
</script>
|
|
@@ -20,14 +20,14 @@ const props = defineProps({
|
|
|
20
20
|
square: { type: null, required: false, default: "1em" },
|
|
21
21
|
rounded: { type: null, required: false },
|
|
22
22
|
icon: { type: null, required: false },
|
|
23
|
-
modelValue: { type:
|
|
24
|
-
defaultValue: { type:
|
|
23
|
+
modelValue: { type: null, required: false },
|
|
24
|
+
defaultValue: { type: null, required: false },
|
|
25
25
|
disabled: { type: Boolean, required: false },
|
|
26
26
|
orientation: { type: String, required: false },
|
|
27
27
|
dir: { type: String, required: false },
|
|
28
28
|
loop: { type: Boolean, required: false },
|
|
29
29
|
asChild: { type: Boolean, required: false },
|
|
30
|
-
as: { type:
|
|
30
|
+
as: { type: [String, Object, Function], required: false },
|
|
31
31
|
name: { type: String, required: false },
|
|
32
32
|
required: { type: Boolean, required: false }
|
|
33
33
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptableValue } from 'reka-ui';
|
|
2
|
-
import type {
|
|
2
|
+
import type { NRadioGroupProps } from '../../../types/index.js';
|
|
3
3
|
declare const _default: <T extends AcceptableValue>(__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"?: ((payload: string) => any) | undefined;
|
|
@@ -8,15 +8,15 @@ declare const _default: <T extends AcceptableValue>(__VLS_props: NonNullable<Awa
|
|
|
8
8
|
attrs: any;
|
|
9
9
|
slots: {
|
|
10
10
|
default?: (props: {
|
|
11
|
-
modelValue:
|
|
11
|
+
modelValue: any;
|
|
12
12
|
}) => any;
|
|
13
13
|
} & {
|
|
14
14
|
label?: (props: {
|
|
15
|
-
item:
|
|
15
|
+
item: any;
|
|
16
16
|
}) => any;
|
|
17
17
|
} & {
|
|
18
18
|
description?: (props: {
|
|
19
|
-
item:
|
|
19
|
+
item: any;
|
|
20
20
|
}) => any;
|
|
21
21
|
};
|
|
22
22
|
emit: (evt: "update:modelValue", payload: string) => void;
|
|
@@ -22,10 +22,10 @@ const props = defineProps({
|
|
|
22
22
|
rounded: { type: null, required: false },
|
|
23
23
|
icon: { type: null, required: false, default: "radio-group-indicator-icon" },
|
|
24
24
|
id: { type: String, required: false },
|
|
25
|
-
value: { type:
|
|
25
|
+
value: { type: null, required: false },
|
|
26
26
|
disabled: { type: Boolean, required: false },
|
|
27
27
|
asChild: { type: Boolean, required: false },
|
|
28
|
-
as: { type:
|
|
28
|
+
as: { type: [String, Object, Function], required: false },
|
|
29
29
|
name: { type: String, required: false },
|
|
30
30
|
required: { type: Boolean, required: false }
|
|
31
31
|
});
|
|
@@ -8,8 +8,8 @@ type __VLS_Slots = {} & {
|
|
|
8
8
|
description?: (props: typeof __VLS_19) => any;
|
|
9
9
|
};
|
|
10
10
|
declare const __VLS_component: import("vue").DefineComponent<NRadioGroupItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NRadioGroupItemProps> & Readonly<{}>, {
|
|
11
|
-
size: import("vue").HTMLAttributes["class"];
|
|
12
11
|
icon: import("vue").HTMLAttributes["class"];
|
|
12
|
+
size: import("vue").HTMLAttributes["class"];
|
|
13
13
|
square: import("vue").HTMLAttributes["class"];
|
|
14
14
|
radioGroup: import("vue").HTMLAttributes["class"];
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|