@una-ui/nuxt 1.0.0-alpha.8 → 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.d.ts +1 -1
- package/dist/runtime/components/alert-dialog/AlertDialogCancel.vue.d.ts +1 -1
- package/dist/runtime/components/combobox/Combobox.vue +2 -0
- package/dist/runtime/components/combobox/Combobox.vue.d.ts +17 -17
- package/dist/runtime/components/combobox/ComboboxInput.vue.d.ts +1 -1
- package/dist/runtime/components/combobox/ComboboxList.vue +2 -0
- package/dist/runtime/components/combobox/ComboboxTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/elements/Accordion.vue.d.ts +3 -3
- package/dist/runtime/components/elements/Badge.vue.d.ts +1 -5
- package/dist/runtime/components/elements/Toggle.vue.d.ts +1 -1
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenu.vue.d.ts +3 -3
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuContent.vue +2 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubContent.vue +2 -0
- package/dist/runtime/components/elements/dropdown-menu/DropdownMenuSubTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/elements/pagination/PaginationListItem.vue.d.ts +1 -1
- package/dist/runtime/components/elements/popover/PopoverContent.vue +2 -0
- package/dist/runtime/components/elements/tabs/Tabs.vue.d.ts +1 -1
- package/dist/runtime/components/elements/tabs/TabsTrigger.vue.d.ts +1 -1
- package/dist/runtime/components/forms/Input.vue.d.ts +1 -13
- package/dist/runtime/components/forms/radio-group/RadioGroup.vue.d.ts +3 -3
- package/dist/runtime/components/forms/select/Select.vue.d.ts +16 -16
- package/dist/runtime/components/forms/select/SelectContent.vue +2 -0
- package/dist/runtime/components/hover-card/HoverCardContent.vue +2 -0
- package/dist/runtime/components/navigation/breadcrumb/Breadcrumb.vue.d.ts +6 -16
- package/dist/runtime/components/navigation-menu/NavigationMenu.vue.d.ts +10 -10
- package/dist/runtime/components/navigation-menu/NavigationMenuLink.vue.d.ts +1 -1
- package/dist/runtime/components/number-field/NumberField.vue +1 -0
- package/dist/runtime/components/overlays/Toaster.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/Toast.vue.d.ts +1 -1
- package/dist/runtime/components/overlays/toast/ToastAction.vue.d.ts +1 -1
- package/dist/runtime/components/resizable/ResizableHandle.vue +1 -0
- package/dist/runtime/components/sidebar/SidebarMenu.vue.d.ts +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
package/dist/module.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@una-ui/nuxt",
|
|
3
3
|
"configKey": "una",
|
|
4
|
-
"version": "1.0.0-alpha.
|
|
4
|
+
"version": "1.0.0-alpha.9",
|
|
5
5
|
"compatibility": {
|
|
6
6
|
"nuxt": ">=3.0.0"
|
|
7
7
|
},
|
|
8
8
|
"builder": {
|
|
9
|
-
"@nuxt/module-builder": "1.0.
|
|
10
|
-
"unbuild": "3.
|
|
9
|
+
"@nuxt/module-builder": "1.0.2",
|
|
10
|
+
"unbuild": "3.6.1"
|
|
11
11
|
}
|
|
12
12
|
}
|
package/dist/module.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogActionProps } 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,5 +1,5 @@
|
|
|
1
1
|
import type { NAlertDialogCancelProps } 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
|
};
|
|
@@ -45,6 +45,8 @@ const props = defineProps({
|
|
|
45
45
|
defaultOpen: { type: Boolean, required: false },
|
|
46
46
|
resetSearchTermOnBlur: { type: Boolean, required: false },
|
|
47
47
|
resetSearchTermOnSelect: { type: Boolean, required: false },
|
|
48
|
+
openOnFocus: { type: Boolean, required: false },
|
|
49
|
+
openOnClick: { type: Boolean, required: false },
|
|
48
50
|
ignoreFilter: { type: Boolean, required: false },
|
|
49
51
|
defaultValue: { type: null, required: false },
|
|
50
52
|
dir: { type: String, required: false },
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AcceptableValue } from 'reka-ui';
|
|
2
|
-
import type { ExtractItemType,
|
|
2
|
+
import type { ExtractItemType, 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: any;
|
|
23
|
+
open: any;
|
|
24
24
|
}) => any;
|
|
25
25
|
} & {
|
|
26
26
|
'input-wrapper'?: (props: {
|
|
27
|
-
modelValue:
|
|
28
|
-
open:
|
|
27
|
+
modelValue: any;
|
|
28
|
+
open: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
list?: (props: {}) => any;
|
|
32
32
|
} & {
|
|
33
33
|
'input-wrapper'?: (props: {
|
|
34
|
-
modelValue:
|
|
35
|
-
open:
|
|
34
|
+
modelValue: any;
|
|
35
|
+
open: any;
|
|
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: any;
|
|
48
|
+
selected: any;
|
|
49
49
|
}) => any;
|
|
50
50
|
} & {
|
|
51
51
|
label?: (props: {
|
|
52
|
-
item:
|
|
52
|
+
item: any;
|
|
53
53
|
}) => any;
|
|
54
54
|
} & {
|
|
55
55
|
'item-indicator'?: (props: {
|
|
56
|
-
item:
|
|
56
|
+
item: any;
|
|
57
57
|
}) => any;
|
|
58
58
|
} & {
|
|
59
59
|
group?: (props: {
|
|
60
|
-
group:
|
|
60
|
+
group: any;
|
|
61
61
|
}) => any;
|
|
62
62
|
} & {
|
|
63
63
|
item?: (props: {
|
|
64
|
-
item:
|
|
65
|
-
group:
|
|
66
|
-
selected:
|
|
64
|
+
item: any;
|
|
65
|
+
group: any;
|
|
66
|
+
selected: any;
|
|
67
67
|
}) => any;
|
|
68
68
|
} & {
|
|
69
69
|
label?: (props: {
|
|
70
|
-
item:
|
|
70
|
+
item: any;
|
|
71
71
|
}) => any;
|
|
72
72
|
} & {
|
|
73
73
|
indicator?: (props: {
|
|
74
|
-
item:
|
|
74
|
+
item: any;
|
|
75
75
|
}) => any;
|
|
76
76
|
} & {
|
|
77
77
|
footer?: (props: {}) => any;
|
|
@@ -13,8 +13,10 @@ const props = defineProps({
|
|
|
13
13
|
bodyLock: { type: Boolean, required: false },
|
|
14
14
|
side: { type: null, required: false },
|
|
15
15
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
16
|
+
sideFlip: { type: Boolean, required: false },
|
|
16
17
|
align: { type: null, required: false, default: "center" },
|
|
17
18
|
alignOffset: { type: Number, required: false },
|
|
19
|
+
alignFlip: { type: Boolean, required: false },
|
|
18
20
|
avoidCollisions: { type: Boolean, required: false },
|
|
19
21
|
collisionBoundary: { type: null, required: false },
|
|
20
22
|
collisionPadding: { type: [Number, Object], 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: any, __VLS_13: any;
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
[K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
|
|
5
5
|
} & {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { NAccordionProps } from '../../types/index.js';
|
|
2
2
|
declare var __VLS_6: any, __VLS_7: {
|
|
3
3
|
item: any;
|
|
4
4
|
index: any;
|
|
5
5
|
open: any;
|
|
6
6
|
close: any;
|
|
7
7
|
}, __VLS_21: {
|
|
8
|
-
item:
|
|
9
|
-
index:
|
|
8
|
+
item: any;
|
|
9
|
+
index: any;
|
|
10
10
|
open: any;
|
|
11
11
|
close: any;
|
|
12
12
|
};
|
|
@@ -3,11 +3,7 @@ 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, {
|
|
7
|
-
close: (...args: any[]) => void;
|
|
8
|
-
}, string, import("vue").PublicProps, Readonly<NBadgeProps> & Readonly<{
|
|
9
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}>, {
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<NBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
|
|
11
7
|
una: {
|
|
12
8
|
badgeDefaultVariant?: string;
|
|
13
9
|
badge?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { NDropdownMenuProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_7: {}, __VLS_12: {}, __VLS_17: {}, __VLS_22: {
|
|
3
|
-
items:
|
|
3
|
+
items: any;
|
|
4
4
|
}, __VLS_27: {
|
|
5
|
-
items:
|
|
6
|
-
}, __VLS_30:
|
|
5
|
+
items: any;
|
|
6
|
+
}, __VLS_30: any, __VLS_31: {}, __VLS_62: {
|
|
7
7
|
label: any;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_Slots = {} & {
|
|
@@ -19,8 +19,10 @@ const props = defineProps({
|
|
|
19
19
|
loop: { type: Boolean, required: false },
|
|
20
20
|
side: { type: null, required: false },
|
|
21
21
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
22
|
+
sideFlip: { type: Boolean, required: false },
|
|
22
23
|
align: { type: null, required: false },
|
|
23
24
|
alignOffset: { type: Number, required: false },
|
|
25
|
+
alignFlip: { type: Boolean, required: false },
|
|
24
26
|
avoidCollisions: { type: Boolean, required: false },
|
|
25
27
|
collisionBoundary: { type: null, required: false },
|
|
26
28
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -12,7 +12,9 @@ const props = defineProps({
|
|
|
12
12
|
forceMount: { type: Boolean, required: false },
|
|
13
13
|
loop: { type: Boolean, required: false },
|
|
14
14
|
sideOffset: { type: Number, required: false },
|
|
15
|
+
sideFlip: { type: Boolean, required: false },
|
|
15
16
|
alignOffset: { type: Number, required: false },
|
|
17
|
+
alignFlip: { type: Boolean, required: false },
|
|
16
18
|
avoidCollisions: { type: Boolean, required: false },
|
|
17
19
|
collisionBoundary: { type: null, required: false },
|
|
18
20
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -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
|
};
|
|
@@ -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
|
};
|
|
@@ -13,8 +13,10 @@ const props = defineProps({
|
|
|
13
13
|
forceMount: { type: Boolean, required: false },
|
|
14
14
|
side: { type: null, required: false },
|
|
15
15
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
16
|
+
sideFlip: { type: Boolean, required: false },
|
|
16
17
|
align: { type: null, required: false, default: "center" },
|
|
17
18
|
alignOffset: { type: Number, required: false },
|
|
19
|
+
alignFlip: { type: Boolean, required: false },
|
|
18
20
|
avoidCollisions: { type: Boolean, required: false },
|
|
19
21
|
collisionBoundary: { type: null, required: false },
|
|
20
22
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -12,19 +12,7 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_PublicProps,
|
|
|
12
12
|
blur: () => void | undefined;
|
|
13
13
|
select: () => void | undefined;
|
|
14
14
|
inputRef: import("vue").Ref<HTMLTextAreaElement | undefined, HTMLTextAreaElement | undefined>;
|
|
15
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
-
leading: (...args: any[]) => void;
|
|
17
|
-
trailing: (...args: any[]) => void;
|
|
18
|
-
blur: (...args: any[]) => void;
|
|
19
|
-
change: (...args: any[]) => void;
|
|
20
|
-
"update:modelValue": (...args: any[]) => void;
|
|
21
|
-
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
|
-
onLeading?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
onTrailing?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
25
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
26
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
}>, {
|
|
15
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{}>, {
|
|
28
16
|
type: HTMLInputElement["type"] | "textarea";
|
|
29
17
|
size: string;
|
|
30
18
|
autofocusDelay: number;
|
|
@@ -8,15 +8,15 @@ declare const _default: <T extends AcceptableValue, Item extends T | NRadioGroup
|
|
|
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;
|
|
@@ -9,55 +9,55 @@ declare const _default: <T extends AcceptableValue, I extends Array<T | SelectGr
|
|
|
9
9
|
attrs: any;
|
|
10
10
|
slots: {
|
|
11
11
|
default?: (props: {
|
|
12
|
-
modelValue:
|
|
13
|
-
open:
|
|
12
|
+
modelValue: any;
|
|
13
|
+
open: any;
|
|
14
14
|
}) => any;
|
|
15
15
|
} & {
|
|
16
16
|
'trigger-wrapper'?: (props: {
|
|
17
|
-
modelValue:
|
|
18
|
-
open:
|
|
17
|
+
modelValue: any;
|
|
18
|
+
open: any;
|
|
19
19
|
}) => any;
|
|
20
20
|
} & {
|
|
21
21
|
trigger?: (props: {
|
|
22
|
-
modelValue:
|
|
23
|
-
open:
|
|
22
|
+
modelValue: any;
|
|
23
|
+
open: any;
|
|
24
24
|
}) => any;
|
|
25
25
|
} & {
|
|
26
26
|
value?: (props: {
|
|
27
|
-
modelValue:
|
|
28
|
-
open:
|
|
27
|
+
modelValue: any;
|
|
28
|
+
open: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
content?: (props: {
|
|
32
|
-
items:
|
|
32
|
+
items: any;
|
|
33
33
|
}) => any;
|
|
34
34
|
} & {
|
|
35
35
|
label?: (props: {
|
|
36
|
-
label:
|
|
36
|
+
label: any;
|
|
37
37
|
}) => any;
|
|
38
38
|
} & {
|
|
39
39
|
item?: (props: {
|
|
40
|
-
item:
|
|
40
|
+
item: any;
|
|
41
41
|
}) => any;
|
|
42
42
|
} & {
|
|
43
43
|
indicator?: (props: {
|
|
44
|
-
item:
|
|
44
|
+
item: any;
|
|
45
45
|
}) => any;
|
|
46
46
|
} & {
|
|
47
47
|
group?: (props: {
|
|
48
|
-
items:
|
|
48
|
+
items: any;
|
|
49
49
|
}) => any;
|
|
50
50
|
} & {
|
|
51
51
|
label?: (props: {
|
|
52
|
-
label:
|
|
52
|
+
label: any;
|
|
53
53
|
}) => any;
|
|
54
54
|
} & {
|
|
55
55
|
item?: (props: {
|
|
56
|
-
item:
|
|
56
|
+
item: any;
|
|
57
57
|
}) => any;
|
|
58
58
|
} & {
|
|
59
59
|
indicator?: (props: {
|
|
60
|
-
item:
|
|
60
|
+
item: any;
|
|
61
61
|
}) => any;
|
|
62
62
|
};
|
|
63
63
|
emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "update:open", value: boolean) => void);
|
|
@@ -22,8 +22,10 @@ const props = defineProps({
|
|
|
22
22
|
bodyLock: { type: Boolean, required: false },
|
|
23
23
|
side: { type: null, required: false },
|
|
24
24
|
sideOffset: { type: Number, required: false },
|
|
25
|
+
sideFlip: { type: Boolean, required: false },
|
|
25
26
|
align: { type: null, required: false },
|
|
26
27
|
alignOffset: { type: Number, required: false },
|
|
28
|
+
alignFlip: { type: Boolean, required: false },
|
|
27
29
|
avoidCollisions: { type: Boolean, required: false },
|
|
28
30
|
collisionBoundary: { type: null, required: false },
|
|
29
31
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -14,8 +14,10 @@ const props = defineProps({
|
|
|
14
14
|
forceMount: { type: Boolean, required: false },
|
|
15
15
|
side: { type: null, required: false },
|
|
16
16
|
sideOffset: { type: Number, required: false, default: 4 },
|
|
17
|
+
sideFlip: { type: Boolean, required: false },
|
|
17
18
|
align: { type: null, required: false },
|
|
18
19
|
alignOffset: { type: Number, required: false },
|
|
20
|
+
alignFlip: { type: Boolean, required: false },
|
|
19
21
|
avoidCollisions: { type: Boolean, required: false },
|
|
20
22
|
collisionBoundary: { type: null, required: false },
|
|
21
23
|
collisionPadding: { type: [Number, Object], required: false },
|
|
@@ -1,26 +1,16 @@
|
|
|
1
1
|
import type { NBreadcrumbProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_5: {
|
|
3
|
-
items:
|
|
4
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
5
|
-
}>[];
|
|
3
|
+
items: any;
|
|
6
4
|
}, __VLS_10: {
|
|
7
|
-
item:
|
|
8
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
9
|
-
}>;
|
|
5
|
+
item: any;
|
|
10
6
|
}, __VLS_15: {
|
|
11
|
-
item:
|
|
12
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
13
|
-
}>;
|
|
7
|
+
item: any;
|
|
14
8
|
}, __VLS_20: {
|
|
15
|
-
item:
|
|
16
|
-
|
|
17
|
-
}>;
|
|
18
|
-
index: number;
|
|
9
|
+
item: any;
|
|
10
|
+
index: any;
|
|
19
11
|
isActive: boolean;
|
|
20
12
|
}, __VLS_22: {
|
|
21
|
-
item:
|
|
22
|
-
children?: import("../../../types/index.js").NButtonProps[];
|
|
23
|
-
}>;
|
|
13
|
+
item: any;
|
|
24
14
|
}, __VLS_33: {};
|
|
25
15
|
type __VLS_Slots = {} & {
|
|
26
16
|
root?: (props: typeof __VLS_5) => any;
|
|
@@ -7,31 +7,31 @@ declare const _default: <T extends U[], U extends NNavigationMenuItemProps>(__VL
|
|
|
7
7
|
attrs: any;
|
|
8
8
|
slots: {
|
|
9
9
|
[x: string]: ((props: {
|
|
10
|
-
item:
|
|
11
|
-
active:
|
|
10
|
+
item: any;
|
|
11
|
+
active: any;
|
|
12
12
|
}) => any) | undefined;
|
|
13
13
|
} & {
|
|
14
|
-
[x:
|
|
15
|
-
items:
|
|
16
|
-
item:
|
|
14
|
+
[x: string]: ((props: {
|
|
15
|
+
items: any;
|
|
16
|
+
item: any;
|
|
17
17
|
}) => any) | undefined;
|
|
18
18
|
} & {
|
|
19
19
|
[x: string]: ((props: {
|
|
20
|
-
item:
|
|
20
|
+
item: any;
|
|
21
21
|
}) => any) | undefined;
|
|
22
22
|
} & {
|
|
23
23
|
default?: (props: {
|
|
24
|
-
items:
|
|
24
|
+
items: any;
|
|
25
25
|
}) => any;
|
|
26
26
|
} & {
|
|
27
27
|
list?: (props: {
|
|
28
|
-
items:
|
|
28
|
+
items: any;
|
|
29
29
|
}) => any;
|
|
30
30
|
} & {
|
|
31
31
|
trigger?: (props: {
|
|
32
32
|
modelValue: any;
|
|
33
|
-
item:
|
|
34
|
-
index:
|
|
33
|
+
item: any;
|
|
34
|
+
index: any;
|
|
35
35
|
}) => any;
|
|
36
36
|
} & {
|
|
37
37
|
viewport?: (props: {}) => any;
|
|
@@ -19,6 +19,7 @@ const props = defineProps({
|
|
|
19
19
|
formatOptions: { type: null, required: false },
|
|
20
20
|
locale: { type: String, required: false },
|
|
21
21
|
disabled: { type: Boolean, required: false },
|
|
22
|
+
readonly: { type: Boolean, required: false },
|
|
22
23
|
disableWheelChange: { type: Boolean, required: false },
|
|
23
24
|
invertWheelChange: { type: Boolean, required: false },
|
|
24
25
|
id: { type: String, required: false },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { NToastProps } from '../../../types/index.js';
|
|
2
2
|
declare var __VLS_10: {}, __VLS_15: {}, __VLS_20: {}, __VLS_25: {}, __VLS_30: {}, __VLS_32: {
|
|
3
|
-
actions:
|
|
3
|
+
actions: any;
|
|
4
4
|
}, __VLS_40: {};
|
|
5
5
|
type __VLS_Slots = {} & {
|
|
6
6
|
leading?: (props: typeof __VLS_10) => any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { NToastActionProps } 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
|
};
|
|
@@ -12,6 +12,7 @@ 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
17
|
as: { type: [String, Object, Function], required: false },
|
|
17
18
|
class: { type: null, required: false }
|