1 | import { type PropType, type TeleportProps, type ExtractPropTypes } from 'vue';
|
2 | import type { DropdownItemOption } from './types';
|
3 | export declare const dropdownItemProps: {
|
4 | title: StringConstructor;
|
5 | options: {
|
6 | type: PropType<DropdownItemOption[]>;
|
7 | default: () => never[];
|
8 | };
|
9 | disabled: BooleanConstructor;
|
10 | teleport: PropType<TeleportProps["to"]>;
|
11 | lazyRender: {
|
12 | type: BooleanConstructor;
|
13 | default: true;
|
14 | };
|
15 | modelValue: PropType<unknown>;
|
16 | titleClass: PropType<unknown>;
|
17 | };
|
18 | export type DropdownItemProps = ExtractPropTypes<typeof dropdownItemProps>;
|
19 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
20 | title: StringConstructor;
|
21 | options: {
|
22 | type: PropType<DropdownItemOption[]>;
|
23 | default: () => never[];
|
24 | };
|
25 | disabled: BooleanConstructor;
|
26 | teleport: PropType<TeleportProps["to"]>;
|
27 | lazyRender: {
|
28 | type: BooleanConstructor;
|
29 | default: true;
|
30 | };
|
31 | modelValue: PropType<unknown>;
|
32 | titleClass: PropType<unknown>;
|
33 | }>, (() => 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<ExtractPropTypes<{
|
34 | title: StringConstructor;
|
35 | options: {
|
36 | type: PropType<DropdownItemOption[]>;
|
37 | default: () => never[];
|
38 | };
|
39 | disabled: BooleanConstructor;
|
40 | teleport: PropType<TeleportProps["to"]>;
|
41 | lazyRender: {
|
42 | type: BooleanConstructor;
|
43 | default: true;
|
44 | };
|
45 | modelValue: PropType<unknown>;
|
46 | titleClass: PropType<unknown>;
|
47 | }>> & Readonly<{
|
48 | onChange?: ((...args: any[]) => any) | undefined;
|
49 | onClose?: ((...args: any[]) => any) | undefined;
|
50 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
51 | onOpen?: ((...args: any[]) => any) | undefined;
|
52 | onOpened?: ((...args: any[]) => any) | undefined;
|
53 | onClosed?: ((...args: any[]) => any) | undefined;
|
54 | }>, {
|
55 | disabled: boolean;
|
56 | lazyRender: boolean;
|
57 | options: DropdownItemOption[];
|
58 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
59 | export default _default;
|
60 |
|
\ | No newline at end of file |