@nuxt/ui 3.1.0 → 3.1.1
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/accordion.ts +2 -23
- package/.nuxt/ui/alert.ts +2 -23
- package/.nuxt/ui/avatar-group.ts +2 -23
- package/.nuxt/ui/avatar.ts +2 -23
- package/.nuxt/ui/badge.ts +2 -23
- package/.nuxt/ui/breadcrumb.ts +2 -23
- package/.nuxt/ui/button-group.ts +2 -23
- package/.nuxt/ui/button.ts +2 -23
- package/.nuxt/ui/calendar.ts +3 -24
- package/.nuxt/ui/card.ts +2 -23
- package/.nuxt/ui/carousel.ts +2 -23
- package/.nuxt/ui/checkbox-group.ts +2 -23
- package/.nuxt/ui/checkbox.ts +2 -23
- package/.nuxt/ui/chip.ts +2 -23
- package/.nuxt/ui/collapsible.ts +2 -23
- package/.nuxt/ui/color-picker.ts +2 -23
- package/.nuxt/ui/command-palette.ts +2 -23
- package/.nuxt/ui/container.ts +2 -23
- package/.nuxt/ui/context-menu.ts +2 -23
- package/.nuxt/ui/drawer.ts +2 -23
- package/.nuxt/ui/dropdown-menu.ts +2 -23
- package/.nuxt/ui/form-field.ts +2 -23
- package/.nuxt/ui/form.ts +2 -23
- package/.nuxt/ui/input-menu.ts +2 -23
- package/.nuxt/ui/input-number.ts +2 -23
- package/.nuxt/ui/input.ts +2 -23
- package/.nuxt/ui/kbd.ts +2 -23
- package/.nuxt/ui/link.ts +2 -23
- package/.nuxt/ui/modal.ts +2 -23
- package/.nuxt/ui/navigation-menu.ts +3 -24
- package/.nuxt/ui/pagination.ts +2 -23
- package/.nuxt/ui/pin-input.ts +2 -23
- package/.nuxt/ui/popover.ts +2 -23
- package/.nuxt/ui/progress.ts +2 -23
- package/.nuxt/ui/radio-group.ts +2 -23
- package/.nuxt/ui/select-menu.ts +2 -23
- package/.nuxt/ui/select.ts +2 -23
- package/.nuxt/ui/separator.ts +2 -23
- package/.nuxt/ui/skeleton.ts +2 -23
- package/.nuxt/ui/slideover.ts +2 -23
- package/.nuxt/ui/slider.ts +2 -23
- package/.nuxt/ui/stepper.ts +2 -23
- package/.nuxt/ui/switch.ts +2 -23
- package/.nuxt/ui/table.ts +2 -23
- package/.nuxt/ui/tabs.ts +2 -23
- package/.nuxt/ui/textarea.ts +2 -23
- package/.nuxt/ui/toast.ts +2 -23
- package/.nuxt/ui/toaster.ts +2 -23
- package/.nuxt/ui/tooltip.ts +2 -23
- package/.nuxt/ui/tree.ts +2 -23
- package/.nuxt/ui.css +15 -8
- package/README.md +4 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +3 -2
- package/dist/runtime/components/Accordion.vue.d.ts +4 -20
- package/dist/runtime/components/Alert.vue.d.ts +7 -22
- package/dist/runtime/components/App.vue.d.ts +2 -2
- package/dist/runtime/components/Avatar.vue.d.ts +4 -25
- package/dist/runtime/components/AvatarGroup.vue.d.ts +2 -11
- package/dist/runtime/components/Badge.vue.d.ts +3 -24
- package/dist/runtime/components/Breadcrumb.vue.d.ts +2 -20
- package/dist/runtime/components/Button.vue.d.ts +3 -28
- package/dist/runtime/components/ButtonGroup.vue.d.ts +3 -24
- package/dist/runtime/components/Calendar.vue.d.ts +6 -2
- package/dist/runtime/components/Card.vue.d.ts +2 -11
- package/dist/runtime/components/Carousel.vue.d.ts +4 -2
- package/dist/runtime/components/Checkbox.vue.d.ts +10 -13
- package/dist/runtime/components/CheckboxGroup.vue.d.ts +5 -2
- package/dist/runtime/components/Chip.vue.d.ts +10 -24
- package/dist/runtime/components/Collapsible.vue.d.ts +7 -22
- package/dist/runtime/components/ColorPicker.vue.d.ts +9 -24
- package/dist/runtime/components/CommandPalette.vue.d.ts +15 -27
- package/dist/runtime/components/Container.vue.d.ts +2 -11
- package/dist/runtime/components/ContextMenu.vue.d.ts +4 -24
- package/dist/runtime/components/ContextMenuContent.vue.d.ts +17 -57
- package/dist/runtime/components/Drawer.vue.d.ts +17 -27
- package/dist/runtime/components/DropdownMenu.vue.d.ts +4 -28
- package/dist/runtime/components/DropdownMenuContent.vue.d.ts +19 -6
- package/dist/runtime/components/Form.vue.d.ts +5 -2
- package/dist/runtime/components/FormField.vue.d.ts +2 -11
- package/dist/runtime/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/components/Input.vue.d.ts +16 -31
- package/dist/runtime/components/InputMenu.vue.d.ts +17 -5
- package/dist/runtime/components/InputNumber.vue.d.ts +12 -23
- package/dist/runtime/components/Kbd.vue.d.ts +3 -24
- package/dist/runtime/components/Link.vue.d.ts +3 -34
- package/dist/runtime/components/LinkBase.vue.d.ts +4 -27
- package/dist/runtime/components/Modal.vue.d.ts +12 -28
- package/dist/runtime/components/NavigationMenu.vue.d.ts +4 -24
- package/dist/runtime/components/Pagination.vue.d.ts +9 -33
- package/dist/runtime/components/PinInput.vue.d.ts +13 -24
- package/dist/runtime/components/Popover.vue.d.ts +9 -26
- package/dist/runtime/components/Progress.vue.d.ts +10 -41
- package/dist/runtime/components/RadioGroup.vue.d.ts +6 -3
- package/dist/runtime/components/Select.vue.d.ts +8 -2
- package/dist/runtime/components/SelectMenu.vue.d.ts +17 -5
- package/dist/runtime/components/Separator.vue.d.ts +3 -24
- package/dist/runtime/components/Skeleton.vue.d.ts +3 -12
- package/dist/runtime/components/Slideover.vue.d.ts +12 -29
- package/dist/runtime/components/Slider.vue.d.ts +12 -31
- package/dist/runtime/components/Stepper.vue.d.ts +8 -14
- package/dist/runtime/components/Switch.vue.d.ts +10 -13
- package/dist/runtime/components/Table.vue.d.ts +17 -17
- package/dist/runtime/components/Tabs.vue.d.ts +4 -20
- package/dist/runtime/components/Textarea.vue.d.ts +16 -33
- package/dist/runtime/components/Toast.vue.d.ts +86 -24
- package/dist/runtime/components/Toaster.vue.d.ts +3 -28
- package/dist/runtime/components/Tooltip.vue.d.ts +7 -22
- package/dist/runtime/components/Tree.vue.d.ts +5 -22
- package/dist/runtime/composables/defineShortcuts.js +6 -0
- package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
- package/dist/runtime/composables/useButtonGroup.d.ts +1 -1
- package/dist/runtime/composables/useFormField.d.ts +1 -1
- package/dist/runtime/composables/useKbd.d.ts +1 -0
- package/dist/runtime/composables/useKbd.js +4 -3
- package/dist/runtime/composables/useOverlay.d.ts +9 -10
- package/dist/runtime/composables/useOverlay.js +11 -6
- package/dist/runtime/inertia/components/Link.vue.d.ts +3 -32
- package/dist/runtime/types/tv.d.ts +53 -0
- package/dist/runtime/types/tv.js +0 -0
- package/dist/runtime/types/utils.d.ts +2 -52
- package/dist/runtime/types/utils.js +1 -0
- package/dist/runtime/vue/components/Icon.vue.d.ts +1 -10
- package/dist/runtime/vue/components/Link.vue.d.ts +3 -34
- package/dist/shared/{ui.D7lOOabO.mjs → ui.CbtTMMzt.mjs} +17 -11
- package/dist/unplugin.d.mts +2 -2
- package/dist/unplugin.mjs +1 -1
- package/dist/vite.d.mts +1 -1
- package/dist/vite.mjs +2 -2
- package/package.json +14 -13
|
@@ -59,28 +59,12 @@ export type AccordionSlots<T extends AccordionItem = AccordionItem> = {
|
|
|
59
59
|
open: boolean;
|
|
60
60
|
}>;
|
|
61
61
|
declare const _default: <T extends AccordionItem>(__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<{
|
|
62
|
-
props: __VLS_PrettifyLocal<
|
|
62
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
63
|
+
readonly "onUpdate:modelValue"?: ((value: string | string[] | undefined) => any) | undefined;
|
|
64
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue"> & AccordionProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
63
65
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
64
66
|
attrs: any;
|
|
65
|
-
slots:
|
|
66
|
-
leading: SlotProps<T>;
|
|
67
|
-
default: SlotProps<T>;
|
|
68
|
-
trailing: SlotProps<T>;
|
|
69
|
-
content: SlotProps<T>;
|
|
70
|
-
body: SlotProps<T>;
|
|
71
|
-
} & DynamicSlots<T, "body", {
|
|
72
|
-
index: number;
|
|
73
|
-
open: boolean;
|
|
74
|
-
}>> & {
|
|
75
|
-
leading: SlotProps<T>;
|
|
76
|
-
default: SlotProps<T>;
|
|
77
|
-
trailing: SlotProps<T>;
|
|
78
|
-
content: SlotProps<T>;
|
|
79
|
-
body: SlotProps<T>;
|
|
80
|
-
} & DynamicSlots<T, "body", {
|
|
81
|
-
index: number;
|
|
82
|
-
open: boolean;
|
|
83
|
-
}>;
|
|
67
|
+
slots: AccordionSlots<T>;
|
|
84
68
|
emit: (evt: "update:modelValue", value: string | string[] | undefined) => void;
|
|
85
69
|
}>) => import("vue").VNode & {
|
|
86
70
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -66,31 +66,16 @@ export interface AlertSlots {
|
|
|
66
66
|
};
|
|
67
67
|
}): any;
|
|
68
68
|
}
|
|
69
|
-
declare const _default:
|
|
70
|
-
|
|
71
|
-
}
|
|
69
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AlertProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
70
|
+
"update:open": (value: boolean) => any;
|
|
71
|
+
}, string, import("vue").PublicProps, Readonly<AlertProps> & Readonly<{
|
|
72
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
73
|
+
}>, {
|
|
72
74
|
orientation: Alert["variants"]["orientation"];
|
|
73
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
75
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AlertSlots>;
|
|
74
76
|
export default _default;
|
|
75
|
-
type
|
|
76
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
77
|
-
default: D[K];
|
|
78
|
-
}> : P[K];
|
|
79
|
-
};
|
|
80
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
81
|
-
type __VLS_TypePropsToOption<T> = {
|
|
82
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
83
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
84
|
-
} : {
|
|
85
|
-
type: import('vue').PropType<T[K]>;
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
90
78
|
new (): {
|
|
91
79
|
$slots: S;
|
|
92
80
|
};
|
|
93
81
|
};
|
|
94
|
-
type __VLS_PrettifyLocal<T> = {
|
|
95
|
-
[K in keyof T]: T[K];
|
|
96
|
-
} & {};
|
|
@@ -10,10 +10,10 @@ export interface AppSlots {
|
|
|
10
10
|
default(props?: {}): any;
|
|
11
11
|
}
|
|
12
12
|
declare const _default: <T extends Messages>(__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<{
|
|
13
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & AppProps<T> & Partial<{}>> &
|
|
13
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & AppProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
14
14
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
15
15
|
attrs: any;
|
|
16
|
-
slots:
|
|
16
|
+
slots: AppSlots;
|
|
17
17
|
emit: {};
|
|
18
18
|
}>) => import("vue").VNode & {
|
|
19
19
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -26,35 +26,14 @@ export interface AvatarProps {
|
|
|
26
26
|
export interface AvatarSlots {
|
|
27
27
|
default(props?: {}): any;
|
|
28
28
|
}
|
|
29
|
-
declare const _default:
|
|
30
|
-
as: string;
|
|
31
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<AvatarProps>, {
|
|
32
|
-
as: string;
|
|
33
|
-
}>>> & Readonly<{}>, {
|
|
29
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvatarProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarProps> & Readonly<{}>, {
|
|
34
30
|
as: any;
|
|
35
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
36
|
-
default
|
|
31
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
|
|
32
|
+
default?: (props: {}) => any;
|
|
37
33
|
}>;
|
|
38
34
|
export default _default;
|
|
39
|
-
type
|
|
40
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
41
|
-
default: D[K];
|
|
42
|
-
}> : P[K];
|
|
43
|
-
};
|
|
44
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
45
|
-
type __VLS_TypePropsToOption<T> = {
|
|
46
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
47
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
48
|
-
} : {
|
|
49
|
-
type: import('vue').PropType<T[K]>;
|
|
50
|
-
required: true;
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
36
|
new (): {
|
|
55
37
|
$slots: S;
|
|
56
38
|
};
|
|
57
39
|
};
|
|
58
|
-
type __VLS_PrettifyLocal<T> = {
|
|
59
|
-
[K in keyof T]: T[K];
|
|
60
|
-
} & {};
|
|
@@ -22,18 +22,9 @@ export interface AvatarGroupProps {
|
|
|
22
22
|
export interface AvatarGroupSlots {
|
|
23
23
|
default(props?: {}): any;
|
|
24
24
|
}
|
|
25
|
-
declare const _default:
|
|
25
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<AvatarGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<AvatarGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, AvatarGroupSlots>;
|
|
26
26
|
export default _default;
|
|
27
|
-
type
|
|
28
|
-
type __VLS_TypePropsToOption<T> = {
|
|
29
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
30
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
31
|
-
} : {
|
|
32
|
-
type: import('vue').PropType<T[K]>;
|
|
33
|
-
required: true;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
37
28
|
new (): {
|
|
38
29
|
$slots: S;
|
|
39
30
|
};
|
|
@@ -30,33 +30,12 @@ export interface BadgeSlots {
|
|
|
30
30
|
default(props?: {}): any;
|
|
31
31
|
trailing(props?: {}): any;
|
|
32
32
|
}
|
|
33
|
-
declare const _default:
|
|
34
|
-
as: string;
|
|
35
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<BadgeProps>, {
|
|
36
|
-
as: string;
|
|
37
|
-
}>>> & Readonly<{}>, {
|
|
33
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<BadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<BadgeProps> & Readonly<{}>, {
|
|
38
34
|
as: any;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, BadgeSlots>;
|
|
40
36
|
export default _default;
|
|
41
|
-
type
|
|
42
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
43
|
-
default: D[K];
|
|
44
|
-
}> : P[K];
|
|
45
|
-
};
|
|
46
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
-
type __VLS_TypePropsToOption<T> = {
|
|
48
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
-
} : {
|
|
51
|
-
type: import('vue').PropType<T[K]>;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
37
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
56
38
|
new (): {
|
|
57
39
|
$slots: S;
|
|
58
40
|
};
|
|
59
41
|
};
|
|
60
|
-
type __VLS_PrettifyLocal<T> = {
|
|
61
|
-
[K in keyof T]: T[K];
|
|
62
|
-
} & {};
|
|
@@ -50,28 +50,10 @@ export type BreadcrumbSlots<T extends BreadcrumbItem = BreadcrumbItem> = {
|
|
|
50
50
|
active?: boolean;
|
|
51
51
|
}>;
|
|
52
52
|
declare const _default: <T extends BreadcrumbItem>(__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<{
|
|
53
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & BreadcrumbProps<T> & Partial<{}>> &
|
|
53
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & BreadcrumbProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
54
54
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
55
55
|
attrs: any;
|
|
56
|
-
slots:
|
|
57
|
-
item: SlotProps<T>;
|
|
58
|
-
'item-leading': SlotProps<T>;
|
|
59
|
-
'item-label': SlotProps<T>;
|
|
60
|
-
'item-trailing': SlotProps<T>;
|
|
61
|
-
separator: any;
|
|
62
|
-
} & DynamicSlots<T, "trailing" | "leading" | "label", {
|
|
63
|
-
index: number;
|
|
64
|
-
active?: boolean;
|
|
65
|
-
}>> & {
|
|
66
|
-
item: SlotProps<T>;
|
|
67
|
-
'item-leading': SlotProps<T>;
|
|
68
|
-
'item-label': SlotProps<T>;
|
|
69
|
-
'item-trailing': SlotProps<T>;
|
|
70
|
-
separator: any;
|
|
71
|
-
} & DynamicSlots<T, "trailing" | "leading" | "label", {
|
|
72
|
-
index: number;
|
|
73
|
-
active?: boolean;
|
|
74
|
-
}>;
|
|
56
|
+
slots: BreadcrumbSlots<T>;
|
|
75
57
|
emit: {};
|
|
76
58
|
}>) => import("vue").VNode & {
|
|
77
59
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -35,39 +35,14 @@ export interface ButtonSlots {
|
|
|
35
35
|
default(props?: {}): any;
|
|
36
36
|
trailing(props?: {}): any;
|
|
37
37
|
}
|
|
38
|
-
declare const _default:
|
|
39
|
-
active: undefined;
|
|
40
|
-
activeClass: string;
|
|
41
|
-
inactiveClass: string;
|
|
42
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
|
|
43
|
-
active: undefined;
|
|
44
|
-
activeClass: string;
|
|
45
|
-
inactiveClass: string;
|
|
46
|
-
}>>> & Readonly<{}>, {
|
|
38
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonProps> & Readonly<{}>, {
|
|
47
39
|
activeClass: string;
|
|
48
40
|
active: boolean;
|
|
49
41
|
inactiveClass: string;
|
|
50
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonSlots>;
|
|
51
43
|
export default _default;
|
|
52
|
-
type
|
|
53
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
54
|
-
default: D[K];
|
|
55
|
-
}> : P[K];
|
|
56
|
-
};
|
|
57
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
58
|
-
type __VLS_TypePropsToOption<T> = {
|
|
59
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
60
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
61
|
-
} : {
|
|
62
|
-
type: import('vue').PropType<T[K]>;
|
|
63
|
-
required: true;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
44
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
67
45
|
new (): {
|
|
68
46
|
$slots: S;
|
|
69
47
|
};
|
|
70
48
|
};
|
|
71
|
-
type __VLS_PrettifyLocal<T> = {
|
|
72
|
-
[K in keyof T]: T[K];
|
|
73
|
-
} & {};
|
|
@@ -23,33 +23,12 @@ export interface ButtonGroupProps {
|
|
|
23
23
|
export interface ButtonGroupSlots {
|
|
24
24
|
default(props?: {}): any;
|
|
25
25
|
}
|
|
26
|
-
declare const _default:
|
|
27
|
-
orientation: string;
|
|
28
|
-
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonGroupProps>, {
|
|
29
|
-
orientation: string;
|
|
30
|
-
}>>> & Readonly<{}>, {
|
|
26
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ButtonGroupProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ButtonGroupProps> & Readonly<{}>, {
|
|
31
27
|
orientation: ButtonGroup["variants"]["orientation"];
|
|
32
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ButtonGroupSlots>;
|
|
33
29
|
export default _default;
|
|
34
|
-
type
|
|
35
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
36
|
-
default: D[K];
|
|
37
|
-
}> : P[K];
|
|
38
|
-
};
|
|
39
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
40
|
-
type __VLS_TypePropsToOption<T> = {
|
|
41
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
42
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
43
|
-
} : {
|
|
44
|
-
type: import('vue').PropType<T[K]>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
49
31
|
new (): {
|
|
50
32
|
$slots: S;
|
|
51
33
|
};
|
|
52
34
|
};
|
|
53
|
-
type __VLS_PrettifyLocal<T> = {
|
|
54
|
-
[K in keyof T]: T[K];
|
|
55
|
-
} & {};
|
|
@@ -93,10 +93,14 @@ export interface CalendarSlots {
|
|
|
93
93
|
}) => any;
|
|
94
94
|
}
|
|
95
95
|
declare const _default: <R extends boolean, M extends boolean>(__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<{
|
|
96
|
-
props: __VLS_PrettifyLocal<
|
|
96
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
97
|
+
readonly "onUpdate:modelValue"?: ((date: CalendarModelValue<R, M>) => any) | undefined;
|
|
98
|
+
readonly "onUpdate:placeholder"?: ((...args: unknown[]) => any) | undefined;
|
|
99
|
+
readonly "onUpdate:startValue"?: ((date: DateValue | undefined) => any) | undefined;
|
|
100
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:placeholder" | "onUpdate:startValue"> & CalendarProps<R, M> & Partial<{}>> & import("vue").PublicProps;
|
|
97
101
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
98
102
|
attrs: any;
|
|
99
|
-
slots:
|
|
103
|
+
slots: CalendarSlots;
|
|
100
104
|
emit: ((evt: "update:modelValue", date: CalendarModelValue<R, M>) => void) & ((evt: "update:placeholder", ...args: [date: DateValue] & [date: DateValue]) => void) & ((evt: "update:startValue", date: DateValue | undefined) => void);
|
|
101
105
|
}>) => import("vue").VNode & {
|
|
102
106
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -20,18 +20,9 @@ export interface CardSlots {
|
|
|
20
20
|
default(props?: {}): any;
|
|
21
21
|
footer(props?: {}): any;
|
|
22
22
|
}
|
|
23
|
-
declare const _default:
|
|
23
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<CardProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CardSlots>;
|
|
24
24
|
export default _default;
|
|
25
|
-
type
|
|
26
|
-
type __VLS_TypePropsToOption<T> = {
|
|
27
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
-
} : {
|
|
30
|
-
type: import('vue').PropType<T[K]>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
26
|
new (): {
|
|
36
27
|
$slots: S;
|
|
37
28
|
};
|
|
@@ -103,13 +103,15 @@ export interface CarouselEmits {
|
|
|
103
103
|
select: [selectedIndex: number];
|
|
104
104
|
}
|
|
105
105
|
declare const _default: <T extends CarouselItem>(__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<{
|
|
106
|
-
props: __VLS_PrettifyLocal<
|
|
106
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
107
|
+
readonly onSelect?: ((selectedIndex: number) => any) | undefined;
|
|
108
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onSelect"> & CarouselProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
107
109
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
108
110
|
emblaRef: import("vue").Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
109
111
|
emblaApi: import("vue").Ref<EmblaCarouselType | undefined, EmblaCarouselType | undefined>;
|
|
110
112
|
}>): void;
|
|
111
113
|
attrs: any;
|
|
112
|
-
slots:
|
|
114
|
+
slots: CarouselSlots<T>;
|
|
113
115
|
emit: (evt: "select", selectedIndex: number) => void;
|
|
114
116
|
}>) => import("vue").VNode & {
|
|
115
117
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -54,22 +54,19 @@ export interface CheckboxSlots {
|
|
|
54
54
|
description?: string;
|
|
55
55
|
}): any;
|
|
56
56
|
}
|
|
57
|
-
declare const _default:
|
|
57
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CheckboxProps & {
|
|
58
58
|
modelValue?: boolean | "indeterminate";
|
|
59
|
-
}
|
|
59
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
60
|
+
change: (payload: Event) => any;
|
|
61
|
+
"update:modelValue": (value: boolean | "indeterminate") => any;
|
|
62
|
+
}, string, import("vue").PublicProps, Readonly<CheckboxProps & {
|
|
60
63
|
modelValue?: boolean | "indeterminate";
|
|
61
|
-
} &
|
|
64
|
+
}> & Readonly<{
|
|
65
|
+
onChange?: ((payload: Event) => any) | undefined;
|
|
66
|
+
"onUpdate:modelValue"?: ((value: boolean | "indeterminate") => any) | undefined;
|
|
67
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CheckboxSlots>;
|
|
62
68
|
export default _default;
|
|
63
|
-
type
|
|
64
|
-
type __VLS_TypePropsToOption<T> = {
|
|
65
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
-
} : {
|
|
68
|
-
type: import('vue').PropType<T[K]>;
|
|
69
|
-
required: true;
|
|
70
|
-
};
|
|
71
|
-
};
|
|
72
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
69
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
73
70
|
new (): {
|
|
74
71
|
$slots: S;
|
|
75
72
|
};
|
|
@@ -61,10 +61,13 @@ export interface CheckboxGroupSlots<T extends CheckboxGroupItem = CheckboxGroupI
|
|
|
61
61
|
description: SlotProps<T>;
|
|
62
62
|
}
|
|
63
63
|
declare const _default: <T extends CheckboxGroupItem>(__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<{
|
|
64
|
-
props: __VLS_PrettifyLocal<
|
|
64
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
65
|
+
readonly onChange?: ((payload: Event) => any) | undefined;
|
|
66
|
+
readonly "onUpdate:modelValue"?: ((value: import("reka-ui").AcceptableValue[]) => any) | undefined;
|
|
67
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onChange" | "onUpdate:modelValue"> & CheckboxGroupProps<T> & Partial<{}>> & import("vue").PublicProps;
|
|
65
68
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
66
69
|
attrs: any;
|
|
67
|
-
slots:
|
|
70
|
+
slots: CheckboxGroupSlots<T>;
|
|
68
71
|
emit: ((evt: "change", payload: Event) => void) & ((evt: "update:modelValue", value: import("reka-ui").AcceptableValue[]) => void);
|
|
69
72
|
}>) => import("vue").VNode & {
|
|
70
73
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
@@ -37,35 +37,21 @@ export interface ChipSlots {
|
|
|
37
37
|
default(props?: {}): any;
|
|
38
38
|
content(props?: {}): any;
|
|
39
39
|
}
|
|
40
|
-
declare const _default:
|
|
40
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ChipProps & {
|
|
41
41
|
show?: boolean;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
42
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
43
|
+
"update:show": (value: boolean) => any;
|
|
44
|
+
}, string, import("vue").PublicProps, Readonly<ChipProps & {
|
|
45
|
+
show?: boolean;
|
|
46
|
+
}> & Readonly<{
|
|
47
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
48
|
+
}>, {
|
|
46
49
|
inset: boolean;
|
|
47
50
|
standalone: boolean;
|
|
48
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
51
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ChipSlots>;
|
|
49
52
|
export default _default;
|
|
50
|
-
type
|
|
51
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
52
|
-
default: D[K];
|
|
53
|
-
}> : P[K];
|
|
54
|
-
};
|
|
55
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
56
|
-
type __VLS_TypePropsToOption<T> = {
|
|
57
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
58
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
59
|
-
} : {
|
|
60
|
-
type: import('vue').PropType<T[K]>;
|
|
61
|
-
required: true;
|
|
62
|
-
};
|
|
63
|
-
};
|
|
64
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
65
54
|
new (): {
|
|
66
55
|
$slots: S;
|
|
67
56
|
};
|
|
68
57
|
};
|
|
69
|
-
type __VLS_PrettifyLocal<T> = {
|
|
70
|
-
[K in keyof T]: T[K];
|
|
71
|
-
} & {};
|
|
@@ -20,31 +20,16 @@ export interface CollapsibleSlots {
|
|
|
20
20
|
}): any;
|
|
21
21
|
content(props?: {}): any;
|
|
22
22
|
}
|
|
23
|
-
declare const _default:
|
|
23
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<CollapsibleProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
24
|
+
"update:open": (value: boolean) => any;
|
|
25
|
+
}, string, import("vue").PublicProps, Readonly<CollapsibleProps> & Readonly<{
|
|
26
|
+
"onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
27
|
+
}>, {
|
|
24
28
|
unmountOnHide: boolean;
|
|
25
|
-
}
|
|
26
|
-
unmountOnHide: boolean;
|
|
27
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<CollapsibleSlots> & CollapsibleSlots>;
|
|
29
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, CollapsibleSlots>;
|
|
28
30
|
export default _default;
|
|
29
|
-
type
|
|
30
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
31
|
-
default: D[K];
|
|
32
|
-
}> : P[K];
|
|
33
|
-
};
|
|
34
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
-
type __VLS_TypePropsToOption<T> = {
|
|
36
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
-
} : {
|
|
39
|
-
type: import('vue').PropType<T[K]>;
|
|
40
|
-
required: true;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
44
32
|
new (): {
|
|
45
33
|
$slots: S;
|
|
46
34
|
};
|
|
47
35
|
};
|
|
48
|
-
type __VLS_PrettifyLocal<T> = {
|
|
49
|
-
[K in keyof T]: T[K];
|
|
50
|
-
} & {};
|
|
@@ -32,32 +32,17 @@ export type ColorPickerProps = {
|
|
|
32
32
|
class?: any;
|
|
33
33
|
ui?: ColorPicker['slots'];
|
|
34
34
|
};
|
|
35
|
-
declare const _default: import("vue").DefineComponent<
|
|
35
|
+
declare const _default: import("vue").DefineComponent<ColorPickerProps & {
|
|
36
36
|
modelValue?: string;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
37
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<ColorPickerProps & {
|
|
40
|
+
modelValue?: string;
|
|
41
|
+
}> & Readonly<{
|
|
42
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
43
|
+
}>, {
|
|
42
44
|
format: "hex" | "rgb" | "hsl" | "cmyk" | "lab";
|
|
43
45
|
defaultValue: string;
|
|
44
46
|
throttle: number;
|
|
45
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions,
|
|
47
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
46
48
|
export default _default;
|
|
47
|
-
type __VLS_WithDefaults<P, D> = {
|
|
48
|
-
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
|
|
49
|
-
default: D[K];
|
|
50
|
-
}> : P[K];
|
|
51
|
-
};
|
|
52
|
-
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
53
|
-
type __VLS_TypePropsToOption<T> = {
|
|
54
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
55
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
56
|
-
} : {
|
|
57
|
-
type: import('vue').PropType<T[K]>;
|
|
58
|
-
required: true;
|
|
59
|
-
};
|
|
60
|
-
};
|
|
61
|
-
type __VLS_PrettifyLocal<T> = {
|
|
62
|
-
[K in keyof T]: T[K];
|
|
63
|
-
} & {};
|
|
@@ -132,38 +132,26 @@ export type CommandPaletteSlots<G extends {
|
|
|
132
132
|
'item-trailing': SlotProps<T>;
|
|
133
133
|
} & Record<string, SlotProps<G>> & Record<string, SlotProps<T>>;
|
|
134
134
|
declare const _default: <G extends CommandPaletteGroup<T>, T extends CommandPaletteItem>(__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<{
|
|
135
|
-
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
135
|
+
props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
|
|
136
|
+
readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
|
|
137
|
+
readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
|
|
138
|
+
readonly onHighlight?: ((payload: {
|
|
139
|
+
ref: HTMLElement;
|
|
140
|
+
value: T;
|
|
141
|
+
} | undefined) => any) | undefined;
|
|
142
|
+
readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
|
|
143
|
+
readonly onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
|
|
144
|
+
readonly onLeave?: ((event: Event) => any) | undefined;
|
|
145
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:open" | "onUpdate:modelValue" | "onHighlight" | "onUpdate:searchTerm" | "onEntryFocus" | "onLeave"> & (CommandPaletteProps<G, T> & {
|
|
136
146
|
searchTerm?: string;
|
|
137
|
-
}
|
|
147
|
+
}) & Partial<{}>> & import("vue").PublicProps;
|
|
138
148
|
expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
|
|
139
149
|
attrs: any;
|
|
140
|
-
slots:
|
|
141
|
-
|
|
142
|
-
searchTerm?: string;
|
|
143
|
-
}): any;
|
|
144
|
-
close(props: {
|
|
145
|
-
ui: { [K in keyof Required<CommandPalette["slots"]>]: (props?: Record<string, any>) => string; };
|
|
146
|
-
}): any;
|
|
147
|
-
item: SlotProps<T>;
|
|
148
|
-
'item-leading': SlotProps<T>;
|
|
149
|
-
'item-label': SlotProps<T>;
|
|
150
|
-
'item-trailing': SlotProps<T>;
|
|
151
|
-
} & Record<string, SlotProps<G>> & Record<string, SlotProps<T>>> & {
|
|
152
|
-
empty(props: {
|
|
153
|
-
searchTerm?: string;
|
|
154
|
-
}): any;
|
|
155
|
-
close(props: {
|
|
156
|
-
ui: { [K in keyof Required<CommandPalette["slots"]>]: (props?: Record<string, any>) => string; };
|
|
157
|
-
}): any;
|
|
158
|
-
item: SlotProps<T>;
|
|
159
|
-
'item-leading': SlotProps<T>;
|
|
160
|
-
'item-label': SlotProps<T>;
|
|
161
|
-
'item-trailing': SlotProps<T>;
|
|
162
|
-
} & Record<string, SlotProps<G>> & Record<string, SlotProps<T>>;
|
|
163
|
-
emit: (((evt: "highlight", payload: {
|
|
150
|
+
slots: CommandPaletteSlots<G, T>;
|
|
151
|
+
emit: (((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: T) => void) & ((evt: "highlight", payload: {
|
|
164
152
|
ref: HTMLElement;
|
|
165
153
|
value: T;
|
|
166
|
-
} | undefined) => void) & ((evt: "
|
|
154
|
+
} | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void)) & ((evt: "update:searchTerm", value: string) => void);
|
|
167
155
|
}>) => import("vue").VNode & {
|
|
168
156
|
__ctx?: Awaited<typeof __VLS_setup>;
|
|
169
157
|
};
|
|
@@ -9,18 +9,9 @@ export interface ContainerProps {
|
|
|
9
9
|
export interface ContainerSlots {
|
|
10
10
|
default(props?: {}): any;
|
|
11
11
|
}
|
|
12
|
-
declare const _default:
|
|
12
|
+
declare const _default: __VLS_WithSlots<import("vue").DefineComponent<ContainerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ContainerProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, ContainerSlots>;
|
|
13
13
|
export default _default;
|
|
14
|
-
type
|
|
15
|
-
type __VLS_TypePropsToOption<T> = {
|
|
16
|
-
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
17
|
-
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
18
|
-
} : {
|
|
19
|
-
type: import('vue').PropType<T[K]>;
|
|
20
|
-
required: true;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
24
15
|
new (): {
|
|
25
16
|
$slots: S;
|
|
26
17
|
};
|