1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import { type Numeric } from '../utils';
|
3 | import type { PickerColumn, PickerOption, PickerFieldNames, PickerToolbarPosition } from './types';
|
4 | export declare const pickerSharedProps: {
|
5 | loading: BooleanConstructor;
|
6 | readonly: BooleanConstructor;
|
7 | allowHtml: BooleanConstructor;
|
8 | optionHeight: {
|
9 | type: (NumberConstructor | StringConstructor)[];
|
10 | default: number;
|
11 | };
|
12 | showToolbar: {
|
13 | type: BooleanConstructor;
|
14 | default: true;
|
15 | };
|
16 | swipeDuration: {
|
17 | type: (NumberConstructor | StringConstructor)[];
|
18 | default: number;
|
19 | };
|
20 | visibleOptionNum: {
|
21 | type: (NumberConstructor | StringConstructor)[];
|
22 | default: number;
|
23 | };
|
24 | } & {
|
25 | title: StringConstructor;
|
26 | cancelButtonText: StringConstructor;
|
27 | confirmButtonText: StringConstructor;
|
28 | };
|
29 | export declare const pickerProps: {
|
30 | loading: BooleanConstructor;
|
31 | readonly: BooleanConstructor;
|
32 | allowHtml: BooleanConstructor;
|
33 | optionHeight: {
|
34 | type: (NumberConstructor | StringConstructor)[];
|
35 | default: number;
|
36 | };
|
37 | showToolbar: {
|
38 | type: BooleanConstructor;
|
39 | default: true;
|
40 | };
|
41 | swipeDuration: {
|
42 | type: (NumberConstructor | StringConstructor)[];
|
43 | default: number;
|
44 | };
|
45 | visibleOptionNum: {
|
46 | type: (NumberConstructor | StringConstructor)[];
|
47 | default: number;
|
48 | };
|
49 | } & {
|
50 | title: StringConstructor;
|
51 | cancelButtonText: StringConstructor;
|
52 | confirmButtonText: StringConstructor;
|
53 | } & {
|
54 | columns: {
|
55 | type: PropType<(PickerColumn | PickerOption)[]>;
|
56 | default: () => never[];
|
57 | };
|
58 | modelValue: {
|
59 | type: PropType<Numeric[]>;
|
60 | default: () => never[];
|
61 | };
|
62 | toolbarPosition: {
|
63 | type: PropType<PickerToolbarPosition>;
|
64 | default: PickerToolbarPosition;
|
65 | };
|
66 | columnsFieldNames: PropType<PickerFieldNames>;
|
67 | };
|
68 | export type PickerProps = ExtractPropTypes<typeof pickerProps>;
|
69 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
70 | loading: BooleanConstructor;
|
71 | readonly: BooleanConstructor;
|
72 | allowHtml: BooleanConstructor;
|
73 | optionHeight: {
|
74 | type: (NumberConstructor | StringConstructor)[];
|
75 | default: number;
|
76 | };
|
77 | showToolbar: {
|
78 | type: BooleanConstructor;
|
79 | default: true;
|
80 | };
|
81 | swipeDuration: {
|
82 | type: (NumberConstructor | StringConstructor)[];
|
83 | default: number;
|
84 | };
|
85 | visibleOptionNum: {
|
86 | type: (NumberConstructor | StringConstructor)[];
|
87 | default: number;
|
88 | };
|
89 | } & {
|
90 | title: StringConstructor;
|
91 | cancelButtonText: StringConstructor;
|
92 | confirmButtonText: StringConstructor;
|
93 | } & {
|
94 | columns: {
|
95 | type: PropType<(PickerColumn | PickerOption)[]>;
|
96 | default: () => never[];
|
97 | };
|
98 | modelValue: {
|
99 | type: PropType<Numeric[]>;
|
100 | default: () => never[];
|
101 | };
|
102 | toolbarPosition: {
|
103 | type: PropType<PickerToolbarPosition>;
|
104 | default: PickerToolbarPosition;
|
105 | };
|
106 | columnsFieldNames: PropType<PickerFieldNames>;
|
107 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "scrollInto")[], "update:modelValue" | "cancel" | "change" | "confirm" | "clickOption" | "scrollInto", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
108 | loading: BooleanConstructor;
|
109 | readonly: BooleanConstructor;
|
110 | allowHtml: BooleanConstructor;
|
111 | optionHeight: {
|
112 | type: (NumberConstructor | StringConstructor)[];
|
113 | default: number;
|
114 | };
|
115 | showToolbar: {
|
116 | type: BooleanConstructor;
|
117 | default: true;
|
118 | };
|
119 | swipeDuration: {
|
120 | type: (NumberConstructor | StringConstructor)[];
|
121 | default: number;
|
122 | };
|
123 | visibleOptionNum: {
|
124 | type: (NumberConstructor | StringConstructor)[];
|
125 | default: number;
|
126 | };
|
127 | } & {
|
128 | title: StringConstructor;
|
129 | cancelButtonText: StringConstructor;
|
130 | confirmButtonText: StringConstructor;
|
131 | } & {
|
132 | columns: {
|
133 | type: PropType<(PickerColumn | PickerOption)[]>;
|
134 | default: () => never[];
|
135 | };
|
136 | modelValue: {
|
137 | type: PropType<Numeric[]>;
|
138 | default: () => never[];
|
139 | };
|
140 | toolbarPosition: {
|
141 | type: PropType<PickerToolbarPosition>;
|
142 | default: PickerToolbarPosition;
|
143 | };
|
144 | columnsFieldNames: PropType<PickerFieldNames>;
|
145 | }>> & Readonly<{
|
146 | onChange?: ((...args: any[]) => any) | undefined;
|
147 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
148 | onCancel?: ((...args: any[]) => any) | undefined;
|
149 | onClickOption?: ((...args: any[]) => any) | undefined;
|
150 | onScrollInto?: ((...args: any[]) => any) | undefined;
|
151 | onConfirm?: ((...args: any[]) => any) | undefined;
|
152 | }>, {
|
153 | modelValue: Numeric[];
|
154 | readonly: boolean;
|
155 | loading: boolean;
|
156 | allowHtml: boolean;
|
157 | optionHeight: string | number;
|
158 | showToolbar: boolean;
|
159 | swipeDuration: string | number;
|
160 | visibleOptionNum: string | number;
|
161 | columns: (PickerColumn | PickerOption)[];
|
162 | toolbarPosition: PickerToolbarPosition;
|
163 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
164 | export default _default;
|
165 |
|
\ | No newline at end of file |