1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import type { CascaderOption, CascaderFieldNames } from './types';
|
3 | export declare const cascaderProps: {
|
4 | title: StringConstructor;
|
5 | options: {
|
6 | type: PropType<CascaderOption[]>;
|
7 | default: () => never[];
|
8 | };
|
9 | closeable: {
|
10 | type: BooleanConstructor;
|
11 | default: true;
|
12 | };
|
13 | swipeable: {
|
14 | type: BooleanConstructor;
|
15 | default: true;
|
16 | };
|
17 | closeIcon: {
|
18 | type: PropType<string>;
|
19 | default: string;
|
20 | };
|
21 | showHeader: {
|
22 | type: BooleanConstructor;
|
23 | default: true;
|
24 | };
|
25 | modelValue: (NumberConstructor | StringConstructor)[];
|
26 | fieldNames: PropType<CascaderFieldNames>;
|
27 | placeholder: StringConstructor;
|
28 | activeColor: StringConstructor;
|
29 | };
|
30 | export type CascaderProps = ExtractPropTypes<typeof cascaderProps>;
|
31 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
32 | title: StringConstructor;
|
33 | options: {
|
34 | type: PropType<CascaderOption[]>;
|
35 | default: () => never[];
|
36 | };
|
37 | closeable: {
|
38 | type: BooleanConstructor;
|
39 | default: true;
|
40 | };
|
41 | swipeable: {
|
42 | type: BooleanConstructor;
|
43 | default: true;
|
44 | };
|
45 | closeIcon: {
|
46 | type: PropType<string>;
|
47 | default: string;
|
48 | };
|
49 | showHeader: {
|
50 | type: BooleanConstructor;
|
51 | default: true;
|
52 | };
|
53 | modelValue: (NumberConstructor | StringConstructor)[];
|
54 | fieldNames: PropType<CascaderFieldNames>;
|
55 | placeholder: StringConstructor;
|
56 | activeColor: StringConstructor;
|
57 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "close" | "clickTab" | "finish")[], "update:modelValue" | "change" | "close" | "clickTab" | "finish", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
58 | title: StringConstructor;
|
59 | options: {
|
60 | type: PropType<CascaderOption[]>;
|
61 | default: () => never[];
|
62 | };
|
63 | closeable: {
|
64 | type: BooleanConstructor;
|
65 | default: true;
|
66 | };
|
67 | swipeable: {
|
68 | type: BooleanConstructor;
|
69 | default: true;
|
70 | };
|
71 | closeIcon: {
|
72 | type: PropType<string>;
|
73 | default: string;
|
74 | };
|
75 | showHeader: {
|
76 | type: BooleanConstructor;
|
77 | default: true;
|
78 | };
|
79 | modelValue: (NumberConstructor | StringConstructor)[];
|
80 | fieldNames: PropType<CascaderFieldNames>;
|
81 | placeholder: StringConstructor;
|
82 | activeColor: StringConstructor;
|
83 | }>> & Readonly<{
|
84 | onChange?: ((...args: any[]) => any) | undefined;
|
85 | onClose?: ((...args: any[]) => any) | undefined;
|
86 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
87 | onClickTab?: ((...args: any[]) => any) | undefined;
|
88 | onFinish?: ((...args: any[]) => any) | undefined;
|
89 | }>, {
|
90 | closeIcon: string;
|
91 | closeable: boolean;
|
92 | options: CascaderOption[];
|
93 | swipeable: boolean;
|
94 | showHeader: boolean;
|
95 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
96 | export default _default;
|
97 |
|
\ | No newline at end of file |