UNPKG

2.31 kBTypeScriptView Raw
1import { DropdownItemProps } from './DropdownItem';
2export declare const DropdownItem: import("../utils").WithInstall<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3 title: StringConstructor;
4 options: {
5 type: import("vue").PropType<import("./types").DropdownItemOption[]>;
6 default: () => never[];
7 };
8 disabled: BooleanConstructor;
9 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
10 lazyRender: {
11 type: BooleanConstructor;
12 default: true;
13 };
14 modelValue: import("vue").PropType<unknown>;
15 titleClass: import("vue").PropType<unknown>;
16}>, (() => import("vue/jsx-runtime").JSX.Element) | undefined, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("open" | "update:modelValue" | "change" | "close" | "opened" | "closed")[], "open" | "update:modelValue" | "change" | "close" | "opened" | "closed", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17 title: StringConstructor;
18 options: {
19 type: import("vue").PropType<import("./types").DropdownItemOption[]>;
20 default: () => never[];
21 };
22 disabled: BooleanConstructor;
23 teleport: import("vue").PropType<import("vue").TeleportProps["to"]>;
24 lazyRender: {
25 type: BooleanConstructor;
26 default: true;
27 };
28 modelValue: import("vue").PropType<unknown>;
29 titleClass: import("vue").PropType<unknown>;
30}>> & Readonly<{
31 onChange?: ((...args: any[]) => any) | undefined;
32 onClose?: ((...args: any[]) => any) | undefined;
33 "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
34 onOpen?: ((...args: any[]) => any) | undefined;
35 onOpened?: ((...args: any[]) => any) | undefined;
36 onClosed?: ((...args: any[]) => any) | undefined;
37}>, {
38 disabled: boolean;
39 lazyRender: boolean;
40 options: import("./types").DropdownItemOption[];
41}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
42export default DropdownItem;
43export { dropdownItemProps } from './DropdownItem';
44export type { DropdownItemProps };
45export type { DropdownItemOption, DropdownItemInstance, DropdownItemThemeVars, } from './types';
46declare module 'vue' {
47 interface GlobalComponents {
48 VanDropdownItem: typeof DropdownItem;
49 }
50}
51
\No newline at end of file