@una-ui/nuxt 1.0.0-alpha.7 → 1.0.0-alpha.9
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 +3 -3
- package/dist/module.mjs +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/combobox/Combobox.vue +3 -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 +4 -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/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 +2 -1
- package/dist/runtime/components/drawer/DrawerTitle.vue +1 -1
- 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/AvatarGroup.vue +1 -1
- package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
- package/dist/runtime/components/elements/Label.vue +1 -1
- package/dist/runtime/components/elements/Progress.vue +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/avatar/Avatar.vue +1 -1
- 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/CollapsibleContent.vue +2 -1
- package/dist/runtime/components/elements/collapsible/CollapsibleTrigger.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogClose.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogContent.vue +1 -1
- package/dist/runtime/components/elements/dialog/DialogDescription.vue +3 -2
- 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/dialog/DialogTrigger.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 +3 -3
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +4 -2
- 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/DropdownMenuLabel.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSeparator.vue +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +4 -2
- 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/PaginationEllipsis.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationFirst.vue +1 -1
- package/dist/runtime/components/elements/pagination/PaginationLast.vue +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/PaginationPrev.vue +1 -1
- package/dist/runtime/components/elements/popover/PopoverContent.vue +4 -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 +2 -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 +1 -13
- package/dist/runtime/components/forms/Slider.vue +1 -1
- package/dist/runtime/components/forms/Switch.vue +1 -1
- 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/select/Select.vue.d.ts +16 -16
- package/dist/runtime/components/forms/select/SelectContent.vue +4 -1
- package/dist/runtime/components/forms/select/SelectGroup.vue +1 -1
- package/dist/runtime/components/forms/select/SelectItem.vue +1 -1
- 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 +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/HoverCardArrow.vue +1 -1
- package/dist/runtime/components/hover-card/HoverCardContent.vue +4 -1
- package/dist/runtime/components/hover-card/HoverCardTrigger.vue +1 -1
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue +1 -1
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +10 -10
- 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 +2 -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 +1 -1
- 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/NavigationMenuViewport.vue +2 -1
- package/dist/runtime/components/number-field/NumberField.vue +2 -1
- package/dist/runtime/components/number-field/NumberFieldDecrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldIncrement.vue +1 -1
- package/dist/runtime/components/number-field/NumberFieldInput.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 +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
- 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/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 +2 -1
- package/dist/runtime/components/resizable/ResizablePanel.vue +1 -1
- package/dist/runtime/components/resizable/ResizablePanelGroup.vue +1 -1
- package/dist/runtime/components/scroll-area/ScrollArea.vue +1 -1
- package/dist/runtime/components/scroll-area/ScrollBar.vue +1 -1
- package/dist/runtime/components/sheet/SheetClose.vue +1 -1
- package/dist/runtime/components/sheet/SheetContent.vue +7 -2
- package/dist/runtime/components/sheet/SheetDescription.vue +1 -1
- package/dist/runtime/components/sheet/SheetOverlay.vue +7 -2
- 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/SidebarMenuButtonChild.vue +1 -1
- package/dist/runtime/components/sidebar/SidebarMenuSubButton.vue +1 -1
- package/dist/runtime/components/stepper/Stepper.vue +163 -0
- package/dist/runtime/components/stepper/Stepper.vue.d.ts +62 -0
- package/dist/runtime/components/stepper/StepperContainer.vue +21 -0
- package/dist/runtime/components/stepper/StepperContainer.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperDescription.vue +28 -0
- package/dist/runtime/components/stepper/StepperDescription.vue.d.ts +13 -0
- package/dist/runtime/components/stepper/StepperHeader.vue +21 -0
- package/dist/runtime/components/stepper/StepperHeader.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperIndicator.vue +34 -0
- package/dist/runtime/components/stepper/StepperIndicator.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperItem.vue +44 -0
- package/dist/runtime/components/stepper/StepperItem.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperSeparator.vue +29 -0
- package/dist/runtime/components/stepper/StepperSeparator.vue.d.ts +6 -0
- package/dist/runtime/components/stepper/StepperTitle.vue +27 -0
- package/dist/runtime/components/stepper/StepperTitle.vue.d.ts +13 -0
- package/dist/runtime/components/stepper/StepperTrigger.vue +29 -0
- package/dist/runtime/components/stepper/StepperTrigger.vue.d.ts +15 -0
- package/dist/runtime/components/stepper/StepperWrapper.vue +21 -0
- package/dist/runtime/components/stepper/StepperWrapper.vue.d.ts +15 -0
- package/dist/runtime/components/toggle-group/ToggleGroup.vue +70 -0
- package/dist/runtime/components/toggle-group/ToggleGroup.vue.d.ts +23 -0
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue +75 -0
- package/dist/runtime/components/toggle-group/ToggleGroupItem.vue.d.ts +18 -0
- package/dist/runtime/types/index.d.ts +2 -0
- package/dist/runtime/types/index.js +2 -0
- package/dist/runtime/types/stepper.d.ts +129 -0
- package/dist/runtime/types/stepper.js +0 -0
- package/dist/runtime/types/toggle-group.d.ts +39 -0
- package/dist/runtime/types/toggle-group.js +0 -0
- package/package.json +16 -16
|
@@ -12,8 +12,9 @@ const props = defineProps({
|
|
|
12
12
|
hitAreaMargins: { type: Object, required: false },
|
|
13
13
|
tabindex: { type: Number, required: false },
|
|
14
14
|
disabled: { type: Boolean, required: false },
|
|
15
|
+
nonce: { type: String, required: false },
|
|
15
16
|
asChild: { type: Boolean, required: false },
|
|
16
|
-
as: { type:
|
|
17
|
+
as: { type: [String, Object, Function], required: false },
|
|
17
18
|
class: { type: null, required: false }
|
|
18
19
|
});
|
|
19
20
|
const emits = defineEmits(["dragging"]);
|
|
@@ -12,7 +12,7 @@ const props = defineProps({
|
|
|
12
12
|
minSize: { type: Number, required: false },
|
|
13
13
|
order: { type: Number, required: false },
|
|
14
14
|
asChild: { type: Boolean, required: false },
|
|
15
|
-
as: { type:
|
|
15
|
+
as: { type: [String, Object, Function], required: false },
|
|
16
16
|
class: { type: null, required: false }
|
|
17
17
|
});
|
|
18
18
|
const emits = defineEmits(["collapse", "expand", "resize"]);
|
|
@@ -10,7 +10,7 @@ const props = defineProps({
|
|
|
10
10
|
keyboardResizeBy: { type: [Number, null], required: false },
|
|
11
11
|
storage: { type: Object, 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
|
});
|
|
16
16
|
const emits = defineEmits(["layout"]);
|
|
@@ -17,7 +17,7 @@ const props = defineProps({
|
|
|
17
17
|
dir: { type: String, required: false },
|
|
18
18
|
scrollHideDelay: { type: Number, required: false },
|
|
19
19
|
asChild: { type: Boolean, required: false },
|
|
20
|
-
as: { type:
|
|
20
|
+
as: { type: [String, Object, Function], required: false },
|
|
21
21
|
orientation: { type: String, required: false },
|
|
22
22
|
class: { type: null, required: false },
|
|
23
23
|
size: { type: null, required: false, default: "md" },
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
orientation: { type: String, required: false, default: "vertical" },
|
|
9
9
|
forceMount: { type: Boolean, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false },
|
|
12
12
|
scrollArea: { type: null, required: false },
|
|
13
13
|
class: { type: null, required: false },
|
|
14
14
|
size: { type: null, required: false },
|
|
@@ -3,7 +3,7 @@ import { DialogClose } from "reka-ui";
|
|
|
3
3
|
import Button from "../elements/Button.vue";
|
|
4
4
|
const props = defineProps({
|
|
5
5
|
asChild: { type: Boolean, required: false },
|
|
6
|
-
as: { type:
|
|
6
|
+
as: { type: [String, Object, Function], required: false },
|
|
7
7
|
type: { type: String, required: false },
|
|
8
8
|
loadingPlacement: { type: String, required: false },
|
|
9
9
|
icon: { type: Boolean, required: false, default: true },
|
|
@@ -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: [String, Object, Function], required: false }
|
|
25
25
|
});
|
|
26
26
|
const emits = defineEmits(["escapeKeyDown", "pointerDownOutside", "focusOutside", "interactOutside", "openAutoFocus", "closeAutoFocus"]);
|
|
27
27
|
const contentProps = reactiveOmit(props, ["sheet", "class", "_sheetClose", "_sheetPortal", "_sheetOverlay"]);
|
|
@@ -54,7 +54,12 @@ const contentEvents = computed(() => {
|
|
|
54
54
|
data-slot="sheet-content"
|
|
55
55
|
v-bind="{ ...forwarded, ...$attrs }"
|
|
56
56
|
:sheet
|
|
57
|
-
:class="cn(
|
|
57
|
+
:class="cn(
|
|
58
|
+
'data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500',
|
|
59
|
+
'sheet-content',
|
|
60
|
+
props.una?.sheetContent,
|
|
61
|
+
props.class
|
|
62
|
+
)"
|
|
58
63
|
v-on="contentEvents"
|
|
59
64
|
>
|
|
60
65
|
<slot />
|
|
@@ -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: [String, Object, Function], required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
12
12
|
</script>
|
|
@@ -7,7 +7,7 @@ const props = defineProps({
|
|
|
7
7
|
una: { type: Object, required: false },
|
|
8
8
|
forceMount: { type: Boolean, required: false },
|
|
9
9
|
asChild: { type: Boolean, required: false },
|
|
10
|
-
as: { type:
|
|
10
|
+
as: { type: [String, Object, Function], required: false }
|
|
11
11
|
});
|
|
12
12
|
const delegatedProps = reactiveOmit(props, "class");
|
|
13
13
|
</script>
|
|
@@ -15,7 +15,12 @@ const delegatedProps = reactiveOmit(props, "class");
|
|
|
15
15
|
<template>
|
|
16
16
|
<DialogOverlay
|
|
17
17
|
data-slot="sheet-overlay"
|
|
18
|
-
:class="cn(
|
|
18
|
+
:class="cn(
|
|
19
|
+
'data-[state=closed]:animate-out data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0',
|
|
20
|
+
'sheet-overlay',
|
|
21
|
+
props.una?.sheetOverlay,
|
|
22
|
+
props.class
|
|
23
|
+
)"
|
|
19
24
|
v-bind="delegatedProps"
|
|
20
25
|
>
|
|
21
26
|
<slot />
|
|
@@ -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: [String, Object, Function], required: false }
|
|
10
10
|
});
|
|
11
11
|
const delegatedProps = reactiveOmit(props, ["class"]);
|
|
12
12
|
</script>
|
|
@@ -5,7 +5,7 @@ const props = defineProps({
|
|
|
5
5
|
class: { type: null, required: false },
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false, default: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false, default: "button" }
|
|
9
9
|
});
|
|
10
10
|
</script>
|
|
11
11
|
|
|
@@ -5,7 +5,7 @@ const props = defineProps({
|
|
|
5
5
|
class: { type: null, required: false },
|
|
6
6
|
una: { type: Object, required: false },
|
|
7
7
|
asChild: { type: Boolean, required: false, default: false },
|
|
8
|
-
as: { type:
|
|
8
|
+
as: { type: [String, Object, Function], required: false, default: "div" }
|
|
9
9
|
});
|
|
10
10
|
</script>
|
|
11
11
|
|
|
@@ -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: [String, Object, Function], required: false, default: "button" }
|
|
10
10
|
});
|
|
11
11
|
</script>
|
|
12
12
|
|
|
@@ -9,14 +9,14 @@ defineOptions({
|
|
|
9
9
|
inheritAttrs: false
|
|
10
10
|
});
|
|
11
11
|
const props = defineProps({
|
|
12
|
-
tooltip: { type:
|
|
12
|
+
tooltip: { type: [String, Object, Function], required: false },
|
|
13
13
|
isActive: { type: Boolean, required: false },
|
|
14
14
|
variant: { type: String, required: false, default: "default" },
|
|
15
15
|
size: { type: String, required: false, default: "default" },
|
|
16
16
|
class: { type: null, required: false },
|
|
17
17
|
una: { type: Object, required: false },
|
|
18
18
|
asChild: { type: Boolean, required: false },
|
|
19
|
-
as: { type:
|
|
19
|
+
as: { type: [String, Object, Function], required: false, default: "button" }
|
|
20
20
|
});
|
|
21
21
|
const { isMobile, state } = useSidebar();
|
|
22
22
|
const delegatedProps = computed(() => {
|
|
@@ -9,7 +9,7 @@ const props = defineProps({
|
|
|
9
9
|
class: { type: null, required: false },
|
|
10
10
|
una: { type: Object, required: false },
|
|
11
11
|
asChild: { type: Boolean, required: false },
|
|
12
|
-
as: { type:
|
|
12
|
+
as: { type: [String, Object, Function], required: false, default: "button" }
|
|
13
13
|
});
|
|
14
14
|
const sidebarMenuButtonVariants = cva(
|
|
15
15
|
"peer-menu_button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-none ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-[[data-sidebar=menu-action]]/menu_item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:!square-8 group-data-[collapsible=icon]:!p-2 [&>span:last-child]:truncate [&>span[icon-base]]:square-4",
|
|
@@ -8,7 +8,7 @@ const props = defineProps({
|
|
|
8
8
|
class: { type: null, required: false },
|
|
9
9
|
una: { type: Object, required: false },
|
|
10
10
|
asChild: { type: Boolean, required: false },
|
|
11
|
-
as: { type:
|
|
11
|
+
as: { type: [String, Object, Function], required: false, default: NLink }
|
|
12
12
|
});
|
|
13
13
|
</script>
|
|
14
14
|
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { StepperRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
import { computed, useTemplateRef } from "vue";
|
|
5
|
+
import { cn } from "../../utils";
|
|
6
|
+
import Icon from "../elements/Icon.vue";
|
|
7
|
+
import StepperContainer from "./StepperContainer.vue";
|
|
8
|
+
import StepperDescription from "./StepperDescription.vue";
|
|
9
|
+
import StepperHeader from "./StepperHeader.vue";
|
|
10
|
+
import StepperIndicator from "./StepperIndicator.vue";
|
|
11
|
+
import StepperItem from "./StepperItem.vue";
|
|
12
|
+
import StepperSeparator from "./StepperSeparator.vue";
|
|
13
|
+
import StepperTitle from "./StepperTitle.vue";
|
|
14
|
+
import StepperTrigger from "./StepperTrigger.vue";
|
|
15
|
+
import StepperWrapper from "./StepperWrapper.vue";
|
|
16
|
+
const props = defineProps({
|
|
17
|
+
items: { type: Array, required: false },
|
|
18
|
+
stepper: { type: String, required: false, default: "solid-primary" },
|
|
19
|
+
_stepperItem: { type: Object, required: false },
|
|
20
|
+
_stepperTrigger: { type: Object, required: false },
|
|
21
|
+
_stepperSeparator: { type: Object, required: false },
|
|
22
|
+
_stepperTitle: { type: Object, required: false },
|
|
23
|
+
_stepperDescription: { type: Object, required: false },
|
|
24
|
+
_stepperIndicator: { type: Object, required: false },
|
|
25
|
+
_stepperHeader: { type: Object, required: false },
|
|
26
|
+
_stepperWrapper: { type: Object, required: false },
|
|
27
|
+
_stepperContainer: { type: Object, required: false },
|
|
28
|
+
una: { type: Object, required: false },
|
|
29
|
+
defaultValue: { type: Number, required: false },
|
|
30
|
+
orientation: { type: String, required: false, default: "horizontal" },
|
|
31
|
+
dir: { type: String, required: false },
|
|
32
|
+
modelValue: { type: Number, required: false },
|
|
33
|
+
linear: { type: Boolean, required: false },
|
|
34
|
+
asChild: { type: Boolean, required: false },
|
|
35
|
+
as: { type: [String, Object, Function], required: false },
|
|
36
|
+
disabled: { type: Boolean, required: false },
|
|
37
|
+
class: { type: null, required: false },
|
|
38
|
+
size: { type: null, required: false }
|
|
39
|
+
});
|
|
40
|
+
const emits = defineEmits(["update:modelValue", "next", "prev"]);
|
|
41
|
+
const modelValue = defineModel({ type: [String, Number] });
|
|
42
|
+
const delegatedProps = reactiveOmit(props, [
|
|
43
|
+
"class",
|
|
44
|
+
"una"
|
|
45
|
+
]);
|
|
46
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
47
|
+
const stepper = useTemplateRef("stepper");
|
|
48
|
+
const currentStepIndex = computed({
|
|
49
|
+
get() {
|
|
50
|
+
const value = modelValue.value ?? props.defaultValue;
|
|
51
|
+
return (typeof value === "string" ? props.items?.findIndex((item) => item.value === value) : value) ?? 0;
|
|
52
|
+
},
|
|
53
|
+
set(value) {
|
|
54
|
+
modelValue.value = props.items?.[value]?.value ?? value;
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
const currentStep = computed(() => props.items?.[currentStepIndex.value]);
|
|
58
|
+
const isEveryItemHasStep = computed(() => props.items?.every((item) => item.step));
|
|
59
|
+
const hasNextStep = computed(() => currentStepIndex.value < props.items.length - 1);
|
|
60
|
+
const hasPrevStep = computed(() => currentStepIndex.value > 0);
|
|
61
|
+
defineExpose({
|
|
62
|
+
goToStep: (step) => {
|
|
63
|
+
currentStepIndex.value = step;
|
|
64
|
+
stepper.value?.goToStep(step);
|
|
65
|
+
},
|
|
66
|
+
nextStep: () => {
|
|
67
|
+
if (!hasNextStep.value)
|
|
68
|
+
return;
|
|
69
|
+
currentStepIndex.value += 1;
|
|
70
|
+
stepper.value?.nextStep();
|
|
71
|
+
emits("next", currentStep.value);
|
|
72
|
+
},
|
|
73
|
+
prevStep: () => {
|
|
74
|
+
if (!hasPrevStep.value)
|
|
75
|
+
return;
|
|
76
|
+
currentStepIndex.value -= 1;
|
|
77
|
+
stepper.value?.prevStep();
|
|
78
|
+
emits("prev", currentStep.value);
|
|
79
|
+
},
|
|
80
|
+
hasNext: () => stepper.value?.hasNext(),
|
|
81
|
+
hasPrev: () => stepper.value?.hasPrev()
|
|
82
|
+
});
|
|
83
|
+
</script>
|
|
84
|
+
|
|
85
|
+
<template>
|
|
86
|
+
<StepperRoot
|
|
87
|
+
ref="stepper"
|
|
88
|
+
v-slot="slotProps"
|
|
89
|
+
v-bind="forwarded"
|
|
90
|
+
v-model="currentStepIndex"
|
|
91
|
+
:class="cn(
|
|
92
|
+
'stepper',
|
|
93
|
+
orientation === 'horizontal' && 'stepper-horizontal',
|
|
94
|
+
props.class
|
|
95
|
+
)"
|
|
96
|
+
:una
|
|
97
|
+
>
|
|
98
|
+
<slot v-bind="slotProps">
|
|
99
|
+
<StepperWrapper :una v-bind="props._stepperWrapper" :orientation>
|
|
100
|
+
<slot name="wrapper" :items>
|
|
101
|
+
<StepperItem
|
|
102
|
+
v-for="(item, idx) in items"
|
|
103
|
+
:key="isEveryItemHasStep ? item.step : idx"
|
|
104
|
+
:step="isEveryItemHasStep ? item.step : idx"
|
|
105
|
+
:disabled="item.disabled ?? props.disabled"
|
|
106
|
+
:una
|
|
107
|
+
v-bind="props._stepperItem"
|
|
108
|
+
:orientation
|
|
109
|
+
>
|
|
110
|
+
<slot name="item" :item="item" :step="isEveryItemHasStep ? item.step : idx">
|
|
111
|
+
<StepperContainer :orientation :una v-bind="props._stepperContainer">
|
|
112
|
+
<StepperTrigger v-bind="props._stepperTrigger" :una :stepper="props.stepper" :size="size ?? item.size">
|
|
113
|
+
<slot name="trigger" :item="item">
|
|
114
|
+
<StepperIndicator
|
|
115
|
+
v-slot="{ step }"
|
|
116
|
+
v-bind="props._stepperIndicator"
|
|
117
|
+
:una
|
|
118
|
+
:size="size ?? item.size"
|
|
119
|
+
:stepper="props.stepper"
|
|
120
|
+
>
|
|
121
|
+
<slot name="indicator" :item :step>
|
|
122
|
+
<Icon v-if="item.icon" :name="item.icon" :size="size ?? item.size" />
|
|
123
|
+
<template v-else>
|
|
124
|
+
{{ idx + 1 }}
|
|
125
|
+
</template>
|
|
126
|
+
</slot>
|
|
127
|
+
</StepperIndicator>
|
|
128
|
+
</slot>
|
|
129
|
+
</StepperTrigger>
|
|
130
|
+
<StepperSeparator
|
|
131
|
+
v-if="items && idx < items.length - 1"
|
|
132
|
+
v-bind="props._stepperSeparator"
|
|
133
|
+
:una
|
|
134
|
+
:stepper="props.stepper"
|
|
135
|
+
:orientation
|
|
136
|
+
/>
|
|
137
|
+
</StepperContainer>
|
|
138
|
+
<StepperHeader :una v-bind="props._stepperHeader" :orientation>
|
|
139
|
+
<slot name="header" :item="item">
|
|
140
|
+
<StepperTitle v-if="item.title" :una v-bind="props._stepperTitle" :size="size ?? item.size">
|
|
141
|
+
<slot name="title" :item="item">
|
|
142
|
+
{{ item.title }}
|
|
143
|
+
</slot>
|
|
144
|
+
</StepperTitle>
|
|
145
|
+
<StepperDescription v-if="item.description" :una v-bind="props._stepperDescription" :size="size ?? item.size">
|
|
146
|
+
<slot name="description" :item="item">
|
|
147
|
+
{{ item.description }}
|
|
148
|
+
</slot>
|
|
149
|
+
</StepperDescription>
|
|
150
|
+
</slot>
|
|
151
|
+
</StepperHeader>
|
|
152
|
+
</slot>
|
|
153
|
+
</StepperItem>
|
|
154
|
+
</slot>
|
|
155
|
+
</StepperWrapper>
|
|
156
|
+
<slot
|
|
157
|
+
v-if="!!$slots.content || currentStep?.slot"
|
|
158
|
+
:name="currentStep?.slot ?? 'content'"
|
|
159
|
+
:item="currentStep"
|
|
160
|
+
/>
|
|
161
|
+
</slot>
|
|
162
|
+
</StepperRoot>
|
|
163
|
+
</template>
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import type { NStepperItemProps, NStepperProps } from '../../types/index.js';
|
|
2
|
+
declare const _default: <T extends Partial<NStepperItemProps>>(__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<{
|
|
3
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
5
|
+
readonly onNext?: ((payload: T) => any) | undefined;
|
|
6
|
+
readonly onPrev?: ((payload: T) => any) | undefined;
|
|
7
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onNext" | "onPrev"> & (NStepperProps<T> & {
|
|
8
|
+
modelValue?: string | number;
|
|
9
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
10
|
+
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
11
|
+
goToStep: (step: number) => void;
|
|
12
|
+
nextStep: () => void;
|
|
13
|
+
prevStep: () => void;
|
|
14
|
+
hasNext: () => boolean | undefined;
|
|
15
|
+
hasPrev: () => boolean | undefined;
|
|
16
|
+
}>): void;
|
|
17
|
+
attrs: any;
|
|
18
|
+
slots: {
|
|
19
|
+
[x: string]: ((props: {
|
|
20
|
+
item: any;
|
|
21
|
+
}) => any) | undefined;
|
|
22
|
+
} & {
|
|
23
|
+
default?: (props: any) => any;
|
|
24
|
+
} & {
|
|
25
|
+
wrapper?: (props: {
|
|
26
|
+
items: any;
|
|
27
|
+
}) => any;
|
|
28
|
+
} & {
|
|
29
|
+
item?: (props: {
|
|
30
|
+
item: any;
|
|
31
|
+
step: any;
|
|
32
|
+
}) => any;
|
|
33
|
+
} & {
|
|
34
|
+
trigger?: (props: {
|
|
35
|
+
item: any;
|
|
36
|
+
}) => any;
|
|
37
|
+
} & {
|
|
38
|
+
indicator?: (props: {
|
|
39
|
+
item: any;
|
|
40
|
+
step: any;
|
|
41
|
+
}) => any;
|
|
42
|
+
} & {
|
|
43
|
+
header?: (props: {
|
|
44
|
+
item: any;
|
|
45
|
+
}) => any;
|
|
46
|
+
} & {
|
|
47
|
+
title?: (props: {
|
|
48
|
+
item: any;
|
|
49
|
+
}) => any;
|
|
50
|
+
} & {
|
|
51
|
+
description?: (props: {
|
|
52
|
+
item: any;
|
|
53
|
+
}) => any;
|
|
54
|
+
};
|
|
55
|
+
emit: (((evt: "update:modelValue", payload: number | undefined) => void) & ((evt: "next", payload: T) => void) & ((evt: "prev", payload: T) => void)) & ((evt: "update:modelValue", value: string | number | undefined) => void);
|
|
56
|
+
}>) => import("vue").VNode & {
|
|
57
|
+
__ctx?: Awaited<typeof __VLS_setup>;
|
|
58
|
+
};
|
|
59
|
+
export default _default;
|
|
60
|
+
type __VLS_PrettifyLocal<T> = {
|
|
61
|
+
[K in keyof T]: T[K];
|
|
62
|
+
} & {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../utils";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
una: { type: Object, required: false },
|
|
5
|
+
class: { type: null, required: false },
|
|
6
|
+
orientation: { type: String, required: false, default: "horizontal" }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
:class="cn(
|
|
13
|
+
'stepper-container',
|
|
14
|
+
orientation === 'horizontal' && 'stepper-container-horizontal',
|
|
15
|
+
props.class,
|
|
16
|
+
props.una?.stepperContainer
|
|
17
|
+
)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NStepperContainerProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NStepperContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NStepperContainerProps> & Readonly<{}>, {
|
|
7
|
+
orientation: "vertical" | "horizontal";
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { StepperDescription, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../utils";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
una: { type: Object, required: false },
|
|
7
|
+
asChild: { type: Boolean, required: false },
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
|
+
class: { type: null, required: false },
|
|
10
|
+
size: { type: null, required: false }
|
|
11
|
+
});
|
|
12
|
+
const delegatedProps = reactiveOmit(props, "class", "una");
|
|
13
|
+
const forwarded = useForwardProps(delegatedProps);
|
|
14
|
+
</script>
|
|
15
|
+
|
|
16
|
+
<template>
|
|
17
|
+
<StepperDescription
|
|
18
|
+
v-slot="slotProps"
|
|
19
|
+
v-bind="forwarded"
|
|
20
|
+
:class="cn(
|
|
21
|
+
'stepper-description',
|
|
22
|
+
props.class,
|
|
23
|
+
props.una?.stepperDescription
|
|
24
|
+
)"
|
|
25
|
+
>
|
|
26
|
+
<slot v-bind="slotProps" />
|
|
27
|
+
</StepperDescription>
|
|
28
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { NStepperDescriptionProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_6: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NStepperDescriptionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NStepperDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { cn } from "../../utils";
|
|
3
|
+
const props = defineProps({
|
|
4
|
+
una: { type: Object, required: false },
|
|
5
|
+
class: { type: null, required: false },
|
|
6
|
+
orientation: { type: String, required: false, default: "horizontal" }
|
|
7
|
+
});
|
|
8
|
+
</script>
|
|
9
|
+
|
|
10
|
+
<template>
|
|
11
|
+
<div
|
|
12
|
+
:class="cn(
|
|
13
|
+
'stepper-header',
|
|
14
|
+
orientation === 'horizontal' && 'stepper-header-horizontal',
|
|
15
|
+
props.class,
|
|
16
|
+
props.una?.stepperHeader
|
|
17
|
+
)"
|
|
18
|
+
>
|
|
19
|
+
<slot />
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NStepperHeaderProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_1: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_1) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NStepperHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NStepperHeaderProps> & Readonly<{}>, {
|
|
7
|
+
orientation: "vertical" | "horizontal";
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script setup>
|
|
2
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
3
|
+
import { StepperIndicator, useForwardProps } from "reka-ui";
|
|
4
|
+
import { cn } from "../../utils";
|
|
5
|
+
const props = defineProps({
|
|
6
|
+
una: { type: Object, required: false },
|
|
7
|
+
asChild: { type: Boolean, required: false },
|
|
8
|
+
as: { type: [String, Object, Function], required: false },
|
|
9
|
+
stepper: { type: String, required: false, default: "solid-primary" },
|
|
10
|
+
class: { type: null, required: false },
|
|
11
|
+
size: { type: null, required: false }
|
|
12
|
+
});
|
|
13
|
+
const delegatedProps = reactiveOmit(props, [
|
|
14
|
+
"class",
|
|
15
|
+
"una",
|
|
16
|
+
"stepper"
|
|
17
|
+
]);
|
|
18
|
+
const forwarded = useForwardProps(delegatedProps);
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<template>
|
|
22
|
+
<StepperIndicator
|
|
23
|
+
v-slot="slotProps"
|
|
24
|
+
v-bind="forwarded"
|
|
25
|
+
:class="cn(
|
|
26
|
+
'stepper-indicator',
|
|
27
|
+
props.class,
|
|
28
|
+
props.una?.stepperIndicator
|
|
29
|
+
)"
|
|
30
|
+
:stepper
|
|
31
|
+
>
|
|
32
|
+
<slot v-bind="slotProps" />
|
|
33
|
+
</StepperIndicator>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { NStepperIndicatorProps } from '../../types/index.js';
|
|
2
|
+
declare var __VLS_6: any;
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_6) => any;
|
|
5
|
+
};
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NStepperIndicatorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<NStepperIndicatorProps> & Readonly<{}>, {
|
|
7
|
+
stepper: string;
|
|
8
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
|
+
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
10
|
+
export default _default;
|
|
11
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
12
|
+
new (): {
|
|
13
|
+
$slots: S;
|
|
14
|
+
};
|
|
15
|
+
};
|