@nuxt/ui 3.3.5 → 3.3.6
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/.nuxt/ui/drawer.ts +23 -0
- package/dist/module.json +2 -2
- package/dist/module.mjs +2 -2
- package/dist/runtime/components/Accordion.d.vue.ts +6 -5
- package/dist/runtime/components/Accordion.vue.d.ts +6 -5
- package/dist/runtime/components/Alert.d.vue.ts +2 -1
- package/dist/runtime/components/Alert.vue.d.ts +2 -1
- package/dist/runtime/components/App.d.vue.ts +5 -4
- package/dist/runtime/components/App.vue +1 -1
- package/dist/runtime/components/App.vue.d.ts +5 -4
- package/dist/runtime/components/Avatar.d.vue.ts +2 -1
- package/dist/runtime/components/Avatar.vue.d.ts +2 -1
- package/dist/runtime/components/AvatarGroup.d.vue.ts +2 -1
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Badge.d.vue.ts +2 -1
- package/dist/runtime/components/Badge.vue.d.ts +2 -1
- package/dist/runtime/components/Breadcrumb.d.vue.ts +4 -3
- package/dist/runtime/components/Breadcrumb.vue.d.ts +4 -3
- package/dist/runtime/components/Button.d.vue.ts +2 -1
- package/dist/runtime/components/Button.vue.d.ts +2 -1
- package/dist/runtime/components/ButtonGroup.d.vue.ts +2 -1
- package/dist/runtime/components/ButtonGroup.vue.d.ts +2 -1
- package/dist/runtime/components/Calendar.d.vue.ts +9 -8
- package/dist/runtime/components/Calendar.vue.d.ts +9 -8
- package/dist/runtime/components/Card.d.vue.ts +2 -1
- package/dist/runtime/components/Card.vue.d.ts +2 -1
- package/dist/runtime/components/Carousel.d.vue.ts +7 -6
- package/dist/runtime/components/Carousel.vue +32 -12
- package/dist/runtime/components/Carousel.vue.d.ts +7 -6
- package/dist/runtime/components/Checkbox.d.vue.ts +2 -1
- package/dist/runtime/components/Checkbox.vue.d.ts +2 -1
- package/dist/runtime/components/CheckboxGroup.d.vue.ts +7 -6
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Chip.d.vue.ts +2 -1
- package/dist/runtime/components/Chip.vue.d.ts +2 -1
- package/dist/runtime/components/Collapsible.d.vue.ts +2 -1
- package/dist/runtime/components/Collapsible.vue.d.ts +2 -1
- package/dist/runtime/components/ColorPicker.d.vue.ts +2 -1
- package/dist/runtime/components/ColorPicker.vue.d.ts +2 -1
- package/dist/runtime/components/CommandPalette.d.vue.ts +13 -12
- package/dist/runtime/components/CommandPalette.vue.d.ts +13 -12
- package/dist/runtime/components/Container.d.vue.ts +2 -1
- package/dist/runtime/components/Container.vue.d.ts +2 -1
- package/dist/runtime/components/ContextMenu.d.vue.ts +6 -5
- package/dist/runtime/components/ContextMenu.vue.d.ts +6 -5
- package/dist/runtime/components/ContextMenuContent.d.vue.ts +10 -9
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +10 -9
- package/dist/runtime/components/Drawer.d.vue.ts +5 -1
- package/dist/runtime/components/Drawer.vue +19 -5
- package/dist/runtime/components/Drawer.vue.d.ts +5 -1
- package/dist/runtime/components/DropdownMenu.d.vue.ts +6 -5
- package/dist/runtime/components/DropdownMenu.vue.d.ts +6 -5
- package/dist/runtime/components/DropdownMenuContent.d.vue.ts +10 -9
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +10 -9
- package/dist/runtime/components/FileUpload.d.vue.ts +9 -8
- package/dist/runtime/components/FileUpload.vue.d.ts +9 -8
- package/dist/runtime/components/Form.d.vue.ts +7 -6
- package/dist/runtime/components/Form.vue.d.ts +7 -6
- package/dist/runtime/components/FormField.d.vue.ts +2 -1
- package/dist/runtime/components/FormField.vue.d.ts +2 -1
- package/dist/runtime/components/Icon.d.vue.ts +2 -1
- package/dist/runtime/components/Icon.vue.d.ts +2 -1
- package/dist/runtime/components/Input.d.vue.ts +9 -8
- package/dist/runtime/components/Input.vue.d.ts +9 -8
- package/dist/runtime/components/InputMenu.d.vue.ts +17 -16
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -16
- package/dist/runtime/components/InputNumber.d.vue.ts +2 -1
- package/dist/runtime/components/InputNumber.vue.d.ts +2 -1
- package/dist/runtime/components/InputTags.d.vue.ts +13 -12
- package/dist/runtime/components/InputTags.vue.d.ts +13 -12
- package/dist/runtime/components/Kbd.d.vue.ts +2 -1
- package/dist/runtime/components/Kbd.vue.d.ts +2 -1
- package/dist/runtime/components/Link.d.vue.ts +2 -1
- package/dist/runtime/components/Link.vue.d.ts +2 -1
- package/dist/runtime/components/LinkBase.d.vue.ts +2 -1
- package/dist/runtime/components/LinkBase.vue.d.ts +2 -1
- package/dist/runtime/components/Modal.d.vue.ts +4 -3
- package/dist/runtime/components/Modal.vue.d.ts +4 -3
- package/dist/runtime/components/NavigationMenu.d.vue.ts +6 -5
- package/dist/runtime/components/NavigationMenu.vue.d.ts +6 -5
- package/dist/runtime/components/OverlayProvider.d.vue.ts +2 -1
- package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -1
- package/dist/runtime/components/Pagination.d.vue.ts +2 -1
- package/dist/runtime/components/Pagination.vue +4 -4
- package/dist/runtime/components/Pagination.vue.d.ts +2 -1
- package/dist/runtime/components/PinInput.d.vue.ts +10 -9
- package/dist/runtime/components/PinInput.vue.d.ts +10 -9
- package/dist/runtime/components/Popover.d.vue.ts +2 -1
- package/dist/runtime/components/Popover.vue.d.ts +2 -1
- package/dist/runtime/components/Progress.d.vue.ts +2 -1
- package/dist/runtime/components/Progress.vue.d.ts +2 -1
- package/dist/runtime/components/RadioGroup.d.vue.ts +7 -6
- package/dist/runtime/components/RadioGroup.vue.d.ts +7 -6
- package/dist/runtime/components/Select.d.vue.ts +11 -10
- package/dist/runtime/components/Select.vue.d.ts +11 -10
- package/dist/runtime/components/SelectMenu.d.vue.ts +16 -15
- package/dist/runtime/components/SelectMenu.vue.d.ts +16 -15
- package/dist/runtime/components/Separator.d.vue.ts +2 -1
- package/dist/runtime/components/Separator.vue.d.ts +2 -1
- package/dist/runtime/components/Skeleton.d.vue.ts +2 -1
- package/dist/runtime/components/Skeleton.vue.d.ts +2 -1
- package/dist/runtime/components/Slideover.d.vue.ts +4 -3
- package/dist/runtime/components/Slideover.vue.d.ts +4 -3
- package/dist/runtime/components/Slider.d.vue.ts +8 -7
- package/dist/runtime/components/Slider.vue.d.ts +8 -7
- package/dist/runtime/components/Stepper.d.vue.ts +10 -9
- package/dist/runtime/components/Stepper.vue.d.ts +10 -9
- package/dist/runtime/components/Switch.d.vue.ts +2 -1
- package/dist/runtime/components/Switch.vue.d.ts +2 -1
- package/dist/runtime/components/Table.d.vue.ts +20 -19
- package/dist/runtime/components/Table.vue +19 -1
- package/dist/runtime/components/Table.vue.d.ts +20 -19
- package/dist/runtime/components/Tabs.d.vue.ts +7 -6
- package/dist/runtime/components/Tabs.vue.d.ts +7 -6
- package/dist/runtime/components/Textarea.d.vue.ts +9 -8
- package/dist/runtime/components/Textarea.vue.d.ts +9 -8
- package/dist/runtime/components/Timeline.d.vue.ts +7 -6
- package/dist/runtime/components/Timeline.vue.d.ts +7 -6
- package/dist/runtime/components/Toast.d.vue.ts +2 -1
- package/dist/runtime/components/Toast.vue.d.ts +2 -1
- package/dist/runtime/components/Toaster.d.vue.ts +2 -1
- package/dist/runtime/components/Toaster.vue.d.ts +2 -1
- package/dist/runtime/components/Tooltip.d.vue.ts +2 -1
- package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
- package/dist/runtime/components/Tree.d.vue.ts +7 -6
- package/dist/runtime/components/Tree.vue.d.ts +7 -6
- package/dist/runtime/composables/useKbd.js +1 -1
- package/dist/runtime/composables/usePortal.d.ts +3 -3
- package/dist/runtime/composables/usePortal.js +5 -10
- package/dist/runtime/inertia/components/Link.d.vue.ts +2 -1
- package/dist/runtime/inertia/components/Link.vue.d.ts +2 -1
- package/dist/runtime/inertia/components/LinkBase.d.vue.ts +2 -1
- package/dist/runtime/inertia/components/LinkBase.vue.d.ts +2 -1
- package/dist/runtime/vue/components/Icon.d.vue.ts +2 -1
- package/dist/runtime/vue/components/Icon.vue.d.ts +2 -1
- package/dist/runtime/vue/components/Link.d.vue.ts +2 -1
- package/dist/runtime/vue/components/Link.vue.d.ts +2 -1
- package/dist/shared/{ui.DH9BUZkq.mjs → ui.DBpKc5X3.mjs} +88 -60
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.mjs +1 -1
- package/package.json +14 -14
|
@@ -27,9 +27,10 @@ export interface KbdProps {
|
|
|
27
27
|
export interface KbdSlots {
|
|
28
28
|
default(props?: {}): any;
|
|
29
29
|
}
|
|
30
|
-
declare const
|
|
30
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<KbdProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<KbdProps> & Readonly<{}>, {
|
|
31
31
|
as: any;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, KbdSlots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
33
34
|
export default _default;
|
|
34
35
|
type __VLS_WithSlots<T, S> = T & {
|
|
35
36
|
new (): {
|
|
@@ -77,12 +77,13 @@ export interface LinkSlots {
|
|
|
77
77
|
active: boolean;
|
|
78
78
|
}): any;
|
|
79
79
|
}
|
|
80
|
-
declare const
|
|
80
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
81
81
|
type: "reset" | "submit" | "button";
|
|
82
82
|
as: any;
|
|
83
83
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
84
84
|
active: boolean;
|
|
85
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
86
|
+
declare const _default: typeof __VLS_export;
|
|
86
87
|
export default _default;
|
|
87
88
|
type __VLS_WithSlots<T, S> = T & {
|
|
88
89
|
new (): {
|
|
@@ -77,12 +77,13 @@ export interface LinkSlots {
|
|
|
77
77
|
active: boolean;
|
|
78
78
|
}): any;
|
|
79
79
|
}
|
|
80
|
-
declare const
|
|
80
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkProps> & Readonly<{}>, {
|
|
81
81
|
type: "reset" | "submit" | "button";
|
|
82
82
|
as: any;
|
|
83
83
|
ariaCurrentValue: "page" | "step" | "location" | "date" | "time" | "true" | "false";
|
|
84
84
|
active: boolean;
|
|
85
85
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, LinkSlots>;
|
|
86
|
+
declare const _default: typeof __VLS_export;
|
|
86
87
|
export default _default;
|
|
87
88
|
type __VLS_WithSlots<T, S> = T & {
|
|
88
89
|
new (): {
|
|
@@ -11,12 +11,13 @@ export interface LinkBaseProps {
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
isExternal?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
|
|
15
15
|
type: string;
|
|
16
16
|
as: string;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
18
|
default?: (props: {}) => any;
|
|
19
19
|
}>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
@@ -11,12 +11,13 @@ export interface LinkBaseProps {
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
isExternal?: boolean;
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
14
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<LinkBaseProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<LinkBaseProps> & Readonly<{}>, {
|
|
15
15
|
type: string;
|
|
16
16
|
as: string;
|
|
17
17
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
18
18
|
default?: (props: {}) => any;
|
|
19
19
|
}>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
20
21
|
export default _default;
|
|
21
22
|
type __VLS_WithSlots<T, S> = T & {
|
|
22
23
|
new (): {
|
|
@@ -80,16 +80,16 @@ export interface ModalSlots {
|
|
|
80
80
|
close: () => void;
|
|
81
81
|
}): any;
|
|
82
82
|
}
|
|
83
|
-
declare const
|
|
83
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
84
|
"update:open": (value: boolean) => any;
|
|
85
85
|
"after:leave": () => any;
|
|
86
|
-
"after:enter": () => any;
|
|
87
86
|
"close:prevent": () => any;
|
|
87
|
+
"after:enter": () => any;
|
|
88
88
|
}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
|
|
89
89
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
90
90
|
"onAfter:leave"?: (() => any) | undefined;
|
|
91
|
-
"onAfter:enter"?: (() => any) | undefined;
|
|
92
91
|
"onClose:prevent"?: (() => any) | undefined;
|
|
92
|
+
"onAfter:enter"?: (() => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
close: boolean | Partial<ButtonProps>;
|
|
95
95
|
modal: boolean;
|
|
@@ -98,6 +98,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps
|
|
|
98
98
|
overlay: boolean;
|
|
99
99
|
dismissible: boolean;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalSlots>;
|
|
101
|
+
declare const _default: typeof __VLS_export;
|
|
101
102
|
export default _default;
|
|
102
103
|
type __VLS_WithSlots<T, S> = T & {
|
|
103
104
|
new (): {
|
|
@@ -80,16 +80,16 @@ export interface ModalSlots {
|
|
|
80
80
|
close: () => void;
|
|
81
81
|
}): any;
|
|
82
82
|
}
|
|
83
|
-
declare const
|
|
83
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
84
84
|
"update:open": (value: boolean) => any;
|
|
85
85
|
"after:leave": () => any;
|
|
86
|
-
"after:enter": () => any;
|
|
87
86
|
"close:prevent": () => any;
|
|
87
|
+
"after:enter": () => any;
|
|
88
88
|
}, string, import("vue").PublicProps, Readonly<ModalProps> & Readonly<{
|
|
89
89
|
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
90
90
|
"onAfter:leave"?: (() => any) | undefined;
|
|
91
|
-
"onAfter:enter"?: (() => any) | undefined;
|
|
92
91
|
"onClose:prevent"?: (() => any) | undefined;
|
|
92
|
+
"onAfter:enter"?: (() => any) | undefined;
|
|
93
93
|
}>, {
|
|
94
94
|
close: boolean | Partial<ButtonProps>;
|
|
95
95
|
modal: boolean;
|
|
@@ -98,6 +98,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ModalProps
|
|
|
98
98
|
overlay: boolean;
|
|
99
99
|
dismissible: boolean;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ModalSlots>;
|
|
101
|
+
declare const _default: typeof __VLS_export;
|
|
101
102
|
export default _default;
|
|
102
103
|
type __VLS_WithSlots<T, S> = T & {
|
|
103
104
|
new (): {
|
|
@@ -153,17 +153,18 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
|
|
|
153
153
|
index: number;
|
|
154
154
|
active?: boolean;
|
|
155
155
|
}>;
|
|
156
|
-
declare const
|
|
157
|
-
props: __VLS_PrettifyLocal<
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
expose(exposed:
|
|
156
|
+
declare const __VLS_export: <T extends ArrayOrNested<NavigationMenuItem>>(__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<{
|
|
157
|
+
props: __VLS_PrettifyLocal<NavigationMenuProps<T> & {
|
|
158
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
159
|
+
}> & import("vue").PublicProps;
|
|
160
|
+
expose: (exposed: {}) => void;
|
|
161
161
|
attrs: any;
|
|
162
162
|
slots: NavigationMenuSlots<T, NestedItem<T>>;
|
|
163
163
|
emit: (evt: "update:modelValue", value: string) => void;
|
|
164
164
|
}>) => import("vue").VNode & {
|
|
165
165
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
166
166
|
};
|
|
167
|
+
declare const _default: typeof __VLS_export;
|
|
167
168
|
export default _default;
|
|
168
169
|
type __VLS_PrettifyLocal<T> = {
|
|
169
170
|
[K in keyof T as K]: T[K];
|
|
@@ -153,17 +153,18 @@ export type NavigationMenuSlots<A extends ArrayOrNested<NavigationMenuItem> = Ar
|
|
|
153
153
|
index: number;
|
|
154
154
|
active?: boolean;
|
|
155
155
|
}>;
|
|
156
|
-
declare const
|
|
157
|
-
props: __VLS_PrettifyLocal<
|
|
158
|
-
|
|
159
|
-
}
|
|
160
|
-
expose(exposed:
|
|
156
|
+
declare const __VLS_export: <T extends ArrayOrNested<NavigationMenuItem>>(__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<{
|
|
157
|
+
props: __VLS_PrettifyLocal<NavigationMenuProps<T> & {
|
|
158
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
159
|
+
}> & import("vue").PublicProps;
|
|
160
|
+
expose: (exposed: {}) => void;
|
|
161
161
|
attrs: any;
|
|
162
162
|
slots: NavigationMenuSlots<T, NestedItem<T>>;
|
|
163
163
|
emit: (evt: "update:modelValue", value: string) => void;
|
|
164
164
|
}>) => import("vue").VNode & {
|
|
165
165
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
166
166
|
};
|
|
167
|
+
declare const _default: typeof __VLS_export;
|
|
167
168
|
export default _default;
|
|
168
169
|
type __VLS_PrettifyLocal<T> = {
|
|
169
170
|
[K in keyof T as K]: T[K];
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
2
3
|
export default _default;
|
|
@@ -95,7 +95,7 @@ export interface PaginationSlots {
|
|
|
95
95
|
index: number;
|
|
96
96
|
}): any;
|
|
97
97
|
}
|
|
98
|
-
declare const
|
|
98
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
99
|
"update:page": (value: number) => any;
|
|
100
100
|
}, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
101
101
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
@@ -110,6 +110,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Pagination
|
|
|
110
110
|
total: number;
|
|
111
111
|
showControls: boolean;
|
|
112
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaginationSlots>;
|
|
113
|
+
declare const _default: typeof __VLS_export;
|
|
113
114
|
export default _default;
|
|
114
115
|
type __VLS_WithSlots<T, S> = T & {
|
|
115
116
|
new (): {
|
|
@@ -60,8 +60,8 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.pagination ||
|
|
|
60
60
|
</slot>
|
|
61
61
|
</PaginationPrev>
|
|
62
62
|
|
|
63
|
-
<template v-for="(item, index) in items">
|
|
64
|
-
<PaginationListItem v-if="item.type === 'page'"
|
|
63
|
+
<template v-for="(item, index) in items" :key="index">
|
|
64
|
+
<PaginationListItem v-if="item.type === 'page'" as-child :value="item.value" :class="ui.item({ class: props.ui?.item })">
|
|
65
65
|
<slot name="item" v-bind="{ item, index, page, pageCount }">
|
|
66
66
|
<UButton
|
|
67
67
|
:color="page === item.value ? activeColor : color"
|
|
@@ -75,9 +75,9 @@ const ui = computed(() => tv({ extend: tv(theme), ...appConfig.ui?.pagination ||
|
|
|
75
75
|
</slot>
|
|
76
76
|
</PaginationListItem>
|
|
77
77
|
|
|
78
|
-
<PaginationEllipsis v-else
|
|
78
|
+
<PaginationEllipsis v-else as-child :class="ui.ellipsis({ class: props.ui?.ellipsis })">
|
|
79
79
|
<slot name="ellipsis">
|
|
80
|
-
<UButton :color="color" :variant="variant" :size="size" :icon="ellipsisIcon || appConfig.ui.icons.ellipsis" />
|
|
80
|
+
<UButton as="div" :color="color" :variant="variant" :size="size" :icon="ellipsisIcon || appConfig.ui.icons.ellipsis" />
|
|
81
81
|
</slot>
|
|
82
82
|
</PaginationEllipsis>
|
|
83
83
|
</template>
|
|
@@ -95,7 +95,7 @@ export interface PaginationSlots {
|
|
|
95
95
|
index: number;
|
|
96
96
|
}): any;
|
|
97
97
|
}
|
|
98
|
-
declare const
|
|
98
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PaginationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
99
99
|
"update:page": (value: number) => any;
|
|
100
100
|
}, string, import("vue").PublicProps, Readonly<PaginationProps> & Readonly<{
|
|
101
101
|
"onUpdate:page"?: ((value: number) => any) | undefined;
|
|
@@ -110,6 +110,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<Pagination
|
|
|
110
110
|
total: number;
|
|
111
111
|
showControls: boolean;
|
|
112
112
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PaginationSlots>;
|
|
113
|
+
declare const _default: typeof __VLS_export;
|
|
113
114
|
export default _default;
|
|
114
115
|
type __VLS_WithSlots<T, S> = T & {
|
|
115
116
|
new (): {
|
|
@@ -38,22 +38,23 @@ export type PinInputEmits<T extends PinInputType = 'text'> = PinInputRootEmits<T
|
|
|
38
38
|
change: [event: Event];
|
|
39
39
|
blur: [event: Event];
|
|
40
40
|
};
|
|
41
|
-
declare const
|
|
42
|
-
props: __VLS_PrettifyLocal<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
41
|
+
declare const __VLS_export: <T extends PinInputType>(__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<{
|
|
42
|
+
props: __VLS_PrettifyLocal<PinInputProps<T> & {
|
|
43
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
44
|
+
onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
45
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
46
|
+
"onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
47
|
+
}> & import("vue").PublicProps;
|
|
48
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
49
49
|
inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
|
|
50
|
-
}>)
|
|
50
|
+
}>) => void;
|
|
51
51
|
attrs: any;
|
|
52
52
|
slots: {};
|
|
53
53
|
emit: ((evt: "blur", event: Event) => void) & ((evt: "complete", value: [T] extends ["number"] ? number[] : string[]) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: [T] extends ["number"] ? number[] : string[]) => void);
|
|
54
54
|
}>) => import("vue").VNode & {
|
|
55
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
56
|
};
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
57
58
|
export default _default;
|
|
58
59
|
type __VLS_PrettifyLocal<T> = {
|
|
59
60
|
[K in keyof T as K]: T[K];
|
|
@@ -38,22 +38,23 @@ export type PinInputEmits<T extends PinInputType = 'text'> = PinInputRootEmits<T
|
|
|
38
38
|
change: [event: Event];
|
|
39
39
|
blur: [event: Event];
|
|
40
40
|
};
|
|
41
|
-
declare const
|
|
42
|
-
props: __VLS_PrettifyLocal<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
41
|
+
declare const __VLS_export: <T extends PinInputType>(__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<{
|
|
42
|
+
props: __VLS_PrettifyLocal<PinInputProps<T> & {
|
|
43
|
+
onBlur?: ((event: Event) => any) | undefined;
|
|
44
|
+
onComplete?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
45
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
46
|
+
"onUpdate:modelValue"?: ((value: [T] extends ["number"] ? number[] : string[]) => any) | undefined;
|
|
47
|
+
}> & import("vue").PublicProps;
|
|
48
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
49
49
|
inputsRef: import("vue").Ref<ComponentPublicInstance[], ComponentPublicInstance[]>;
|
|
50
|
-
}>)
|
|
50
|
+
}>) => void;
|
|
51
51
|
attrs: any;
|
|
52
52
|
slots: {};
|
|
53
53
|
emit: ((evt: "blur", event: Event) => void) & ((evt: "complete", value: [T] extends ["number"] ? number[] : string[]) => void) & ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", value: [T] extends ["number"] ? number[] : string[]) => void);
|
|
54
54
|
}>) => import("vue").VNode & {
|
|
55
55
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
56
56
|
};
|
|
57
|
+
declare const _default: typeof __VLS_export;
|
|
57
58
|
export default _default;
|
|
58
59
|
type __VLS_PrettifyLocal<T> = {
|
|
59
60
|
[K in keyof T as K]: T[K];
|
|
@@ -49,7 +49,7 @@ export interface PopoverSlots {
|
|
|
49
49
|
content(props?: {}): any;
|
|
50
50
|
anchor(props?: {}): any;
|
|
51
51
|
}
|
|
52
|
-
declare const
|
|
52
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
53
|
"update:open": (value: boolean) => any;
|
|
54
54
|
"close:prevent": () => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverPro
|
|
|
62
62
|
openDelay: number;
|
|
63
63
|
closeDelay: number;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
|
|
65
|
+
declare const _default: typeof __VLS_export;
|
|
65
66
|
export default _default;
|
|
66
67
|
type __VLS_WithSlots<T, S> = T & {
|
|
67
68
|
new (): {
|
|
@@ -49,7 +49,7 @@ export interface PopoverSlots {
|
|
|
49
49
|
content(props?: {}): any;
|
|
50
50
|
anchor(props?: {}): any;
|
|
51
51
|
}
|
|
52
|
-
declare const
|
|
52
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<PopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
53
53
|
"update:open": (value: boolean) => any;
|
|
54
54
|
"close:prevent": () => any;
|
|
55
55
|
}, string, import("vue").PublicProps, Readonly<PopoverProps> & Readonly<{
|
|
@@ -62,6 +62,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<PopoverPro
|
|
|
62
62
|
openDelay: number;
|
|
63
63
|
closeDelay: number;
|
|
64
64
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, PopoverSlots>;
|
|
65
|
+
declare const _default: typeof __VLS_export;
|
|
65
66
|
export default _default;
|
|
66
67
|
type __VLS_WithSlots<T, S> = T & {
|
|
67
68
|
new (): {
|
|
@@ -47,7 +47,7 @@ export type ProgressSlots = {
|
|
|
47
47
|
step: number;
|
|
48
48
|
}) => any;
|
|
49
49
|
};
|
|
50
|
-
declare const
|
|
50
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
"update:modelValue": (value: string[] | undefined) => any;
|
|
52
52
|
"update:max": (value: number) => any;
|
|
53
53
|
}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
|
|
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressPr
|
|
|
58
58
|
modelValue: number | null;
|
|
59
59
|
inverted: boolean;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
|
|
61
|
+
declare const _default: typeof __VLS_export;
|
|
61
62
|
export default _default;
|
|
62
63
|
type __VLS_WithSlots<T, S> = T & {
|
|
63
64
|
new (): {
|
|
@@ -47,7 +47,7 @@ export type ProgressSlots = {
|
|
|
47
47
|
step: number;
|
|
48
48
|
}) => any;
|
|
49
49
|
};
|
|
50
|
-
declare const
|
|
50
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<ProgressProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
51
51
|
"update:modelValue": (value: string[] | undefined) => any;
|
|
52
52
|
"update:max": (value: number) => any;
|
|
53
53
|
}, string, import("vue").PublicProps, Readonly<ProgressProps> & Readonly<{
|
|
@@ -58,6 +58,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ProgressPr
|
|
|
58
58
|
modelValue: number | null;
|
|
59
59
|
inverted: boolean;
|
|
60
60
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ProgressSlots>;
|
|
61
|
+
declare const _default: typeof __VLS_export;
|
|
61
62
|
export default _default;
|
|
62
63
|
type __VLS_WithSlots<T, S> = T & {
|
|
63
64
|
new (): {
|
|
@@ -76,18 +76,19 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
|
|
|
76
76
|
label: SlotProps<T>;
|
|
77
77
|
description: SlotProps<T>;
|
|
78
78
|
}
|
|
79
|
-
declare const
|
|
80
|
-
props: __VLS_PrettifyLocal<
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
expose(exposed:
|
|
79
|
+
declare const __VLS_export: <T extends RadioGroupItem>(__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<{
|
|
80
|
+
props: __VLS_PrettifyLocal<RadioGroupProps<T> & {
|
|
81
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
83
|
+
}> & import("vue").PublicProps;
|
|
84
|
+
expose: (exposed: {}) => void;
|
|
85
85
|
attrs: any;
|
|
86
86
|
slots: RadioGroupSlots<T>;
|
|
87
87
|
emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
|
|
88
88
|
}>) => import("vue").VNode & {
|
|
89
89
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
90
|
};
|
|
91
|
+
declare const _default: typeof __VLS_export;
|
|
91
92
|
export default _default;
|
|
92
93
|
type __VLS_PrettifyLocal<T> = {
|
|
93
94
|
[K in keyof T as K]: T[K];
|
|
@@ -76,18 +76,19 @@ export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
|
|
|
76
76
|
label: SlotProps<T>;
|
|
77
77
|
description: SlotProps<T>;
|
|
78
78
|
}
|
|
79
|
-
declare const
|
|
80
|
-
props: __VLS_PrettifyLocal<
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
expose(exposed:
|
|
79
|
+
declare const __VLS_export: <T extends RadioGroupItem>(__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<{
|
|
80
|
+
props: __VLS_PrettifyLocal<RadioGroupProps<T> & {
|
|
81
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
82
|
+
"onUpdate:modelValue"?: ((payload: string) => any) | undefined;
|
|
83
|
+
}> & import("vue").PublicProps;
|
|
84
|
+
expose: (exposed: {}) => void;
|
|
85
85
|
attrs: any;
|
|
86
86
|
slots: RadioGroupSlots<T>;
|
|
87
87
|
emit: ((evt: "change", event: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
|
|
88
88
|
}>) => import("vue").VNode & {
|
|
89
89
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
90
90
|
};
|
|
91
|
+
declare const _default: typeof __VLS_export;
|
|
91
92
|
export default _default;
|
|
92
93
|
type __VLS_PrettifyLocal<T> = {
|
|
93
94
|
[K in keyof T as K]: T[K];
|
|
@@ -128,15 +128,15 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
|
|
|
128
128
|
'content-top': (props?: {}) => any;
|
|
129
129
|
'content-bottom': (props?: {}) => any;
|
|
130
130
|
}
|
|
131
|
-
declare const
|
|
132
|
-
props: __VLS_PrettifyLocal<
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
131
|
+
declare const __VLS_export: <T extends ArrayOrNested<SelectItem>, VK extends GetItemKeys<T> = "value", 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<{
|
|
132
|
+
props: __VLS_PrettifyLocal<SelectProps<T, VK, M> & {
|
|
133
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
134
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
135
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
136
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
|
|
138
|
+
}> & import("vue").PublicProps;
|
|
139
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
140
140
|
triggerRef: import("vue").Ref<({
|
|
141
141
|
$: import("vue").ComponentInternalInstance;
|
|
142
142
|
$data: {};
|
|
@@ -240,13 +240,14 @@ declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItem
|
|
|
240
240
|
default?: (props: {}) => any;
|
|
241
241
|
};
|
|
242
242
|
}) | null>;
|
|
243
|
-
}>)
|
|
243
|
+
}>) => void;
|
|
244
244
|
attrs: any;
|
|
245
245
|
slots: SelectSlots<T, VK, M, NestedItem<T>>;
|
|
246
246
|
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void);
|
|
247
247
|
}>) => import("vue").VNode & {
|
|
248
248
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
249
249
|
};
|
|
250
|
+
declare const _default: typeof __VLS_export;
|
|
250
251
|
export default _default;
|
|
251
252
|
type __VLS_PrettifyLocal<T> = {
|
|
252
253
|
[K in keyof T as K]: T[K];
|
|
@@ -128,15 +128,15 @@ export interface SelectSlots<A extends ArrayOrNested<SelectItem> = ArrayOrNested
|
|
|
128
128
|
'content-top': (props?: {}) => any;
|
|
129
129
|
'content-bottom': (props?: {}) => any;
|
|
130
130
|
}
|
|
131
|
-
declare const
|
|
132
|
-
props: __VLS_PrettifyLocal<
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
131
|
+
declare const __VLS_export: <T extends ArrayOrNested<SelectItem>, VK extends GetItemKeys<T> = "value", 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<{
|
|
132
|
+
props: __VLS_PrettifyLocal<SelectProps<T, VK, M> & {
|
|
133
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
134
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
135
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
136
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
137
|
+
"onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
|
|
138
|
+
}> & import("vue").PublicProps;
|
|
139
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
140
140
|
triggerRef: import("vue").Ref<({
|
|
141
141
|
$: import("vue").ComponentInternalInstance;
|
|
142
142
|
$data: {};
|
|
@@ -240,13 +240,14 @@ declare const _default: <T extends ArrayOrNested<SelectItem>, VK extends GetItem
|
|
|
240
240
|
default?: (props: {}) => any;
|
|
241
241
|
};
|
|
242
242
|
}) | null>;
|
|
243
|
-
}>)
|
|
243
|
+
}>) => void;
|
|
244
244
|
attrs: any;
|
|
245
245
|
slots: SelectSlots<T, VK, M, NestedItem<T>>;
|
|
246
246
|
emit: ((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void);
|
|
247
247
|
}>) => import("vue").VNode & {
|
|
248
248
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
249
249
|
};
|
|
250
|
+
declare const _default: typeof __VLS_export;
|
|
250
251
|
export default _default;
|
|
251
252
|
type __VLS_PrettifyLocal<T> = {
|
|
252
253
|
[K in keyof T as K]: T[K];
|
|
@@ -168,23 +168,23 @@ export interface SelectMenuSlots<A extends ArrayOrNested<SelectMenuItem> = Array
|
|
|
168
168
|
item: string;
|
|
169
169
|
}): any;
|
|
170
170
|
}
|
|
171
|
-
declare const
|
|
172
|
-
props: __VLS_PrettifyLocal<
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
171
|
+
declare const __VLS_export: <T extends ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, 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<{
|
|
172
|
+
props: __VLS_PrettifyLocal<(SelectMenuProps<T, VK, M> & {
|
|
173
|
+
searchTerm?: string;
|
|
174
|
+
}) & {
|
|
175
|
+
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
176
|
+
onChange?: ((event: Event) => any) | undefined;
|
|
177
|
+
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
178
|
+
onCreate?: ((item: string) => any) | undefined;
|
|
179
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
180
|
+
"onUpdate:modelValue"?: ((value: GetModelValue<T, VK, M>) => any) | undefined;
|
|
181
|
+
onHighlight?: ((payload: {
|
|
180
182
|
ref: HTMLElement;
|
|
181
183
|
value: GetModelValue<T, VK, M>;
|
|
182
184
|
} | undefined) => any) | undefined;
|
|
183
|
-
|
|
184
|
-
} & import("vue").
|
|
185
|
-
|
|
186
|
-
}) & {}> & import("vue").PublicProps;
|
|
187
|
-
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
185
|
+
"onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
186
|
+
}> & import("vue").PublicProps;
|
|
187
|
+
expose: (exposed: import("vue").ShallowUnwrapRef<{
|
|
188
188
|
triggerRef: import("vue").Ref<({
|
|
189
189
|
$: import("vue").ComponentInternalInstance;
|
|
190
190
|
$data: {};
|
|
@@ -286,7 +286,7 @@ declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends Get
|
|
|
286
286
|
default?: (props: {}) => any;
|
|
287
287
|
};
|
|
288
288
|
}) | null>;
|
|
289
|
-
}>)
|
|
289
|
+
}>) => void;
|
|
290
290
|
attrs: any;
|
|
291
291
|
slots: SelectMenuSlots<T, VK, M, NestedItem<T>>;
|
|
292
292
|
emit: (((evt: "blur", event: FocusEvent) => void) & ((evt: "change", event: Event) => void) & ((evt: "focus", event: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
|
|
@@ -296,6 +296,7 @@ declare const _default: <T extends ArrayOrNested<SelectMenuItem>, VK extends Get
|
|
|
296
296
|
}>) => import("vue").VNode & {
|
|
297
297
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
298
298
|
};
|
|
299
|
+
declare const _default: typeof __VLS_export;
|
|
299
300
|
export default _default;
|
|
300
301
|
type __VLS_PrettifyLocal<T> = {
|
|
301
302
|
[K in keyof T as K]: T[K];
|