1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import { type Numeric } from '../utils';
|
3 | export type TreeSelectChild = {
|
4 | id: Numeric;
|
5 | text: string;
|
6 | disabled?: boolean;
|
7 | };
|
8 | export type TreeSelectItem = {
|
9 | dot?: boolean;
|
10 | text: string;
|
11 | badge?: Numeric;
|
12 | children?: TreeSelectChild[];
|
13 | disabled?: boolean;
|
14 | className?: unknown;
|
15 | };
|
16 | export declare const treeSelectProps: {
|
17 | max: {
|
18 | type: (NumberConstructor | StringConstructor)[];
|
19 | default: number;
|
20 | };
|
21 | items: {
|
22 | type: PropType<TreeSelectItem[]>;
|
23 | default: () => never[];
|
24 | };
|
25 | height: {
|
26 | type: (NumberConstructor | StringConstructor)[];
|
27 | default: number;
|
28 | };
|
29 | selectedIcon: {
|
30 | type: PropType<string>;
|
31 | default: string;
|
32 | };
|
33 | mainActiveIndex: {
|
34 | type: (NumberConstructor | StringConstructor)[];
|
35 | default: number;
|
36 | };
|
37 | activeId: {
|
38 | type: PropType<Numeric | Numeric[]>;
|
39 | default: number;
|
40 | };
|
41 | };
|
42 | export type TreeSelectProps = ExtractPropTypes<typeof treeSelectProps>;
|
43 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
44 | max: {
|
45 | type: (NumberConstructor | StringConstructor)[];
|
46 | default: number;
|
47 | };
|
48 | items: {
|
49 | type: PropType<TreeSelectItem[]>;
|
50 | default: () => never[];
|
51 | };
|
52 | height: {
|
53 | type: (NumberConstructor | StringConstructor)[];
|
54 | default: number;
|
55 | };
|
56 | selectedIcon: {
|
57 | type: PropType<string>;
|
58 | default: string;
|
59 | };
|
60 | mainActiveIndex: {
|
61 | type: (NumberConstructor | StringConstructor)[];
|
62 | default: number;
|
63 | };
|
64 | activeId: {
|
65 | type: PropType<Numeric | Numeric[]>;
|
66 | default: number;
|
67 | };
|
68 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex")[], "clickItem" | "clickNav" | "update:activeId" | "update:mainActiveIndex", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
69 | max: {
|
70 | type: (NumberConstructor | StringConstructor)[];
|
71 | default: number;
|
72 | };
|
73 | items: {
|
74 | type: PropType<TreeSelectItem[]>;
|
75 | default: () => never[];
|
76 | };
|
77 | height: {
|
78 | type: (NumberConstructor | StringConstructor)[];
|
79 | default: number;
|
80 | };
|
81 | selectedIcon: {
|
82 | type: PropType<string>;
|
83 | default: string;
|
84 | };
|
85 | mainActiveIndex: {
|
86 | type: (NumberConstructor | StringConstructor)[];
|
87 | default: number;
|
88 | };
|
89 | activeId: {
|
90 | type: PropType<Numeric | Numeric[]>;
|
91 | default: number;
|
92 | };
|
93 | }>> & Readonly<{
|
94 | onClickItem?: ((...args: any[]) => any) | undefined;
|
95 | onClickNav?: ((...args: any[]) => any) | undefined;
|
96 | "onUpdate:activeId"?: ((...args: any[]) => any) | undefined;
|
97 | "onUpdate:mainActiveIndex"?: ((...args: any[]) => any) | undefined;
|
98 | }>, {
|
99 | height: string | number;
|
100 | max: string | number;
|
101 | items: TreeSelectItem[];
|
102 | selectedIcon: string;
|
103 | mainActiveIndex: string | number;
|
104 | activeId: Numeric | Numeric[];
|
105 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
106 | export default _default;
|
107 |
|
\ | No newline at end of file |