1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | import { Interceptor } from '../utils';
|
3 | export type StepperTheme = 'default' | 'round';
|
4 | export declare const stepperProps: {
|
5 | min: {
|
6 | type: (NumberConstructor | StringConstructor)[];
|
7 | default: number;
|
8 | };
|
9 | max: {
|
10 | type: (NumberConstructor | StringConstructor)[];
|
11 | default: number;
|
12 | };
|
13 | name: {
|
14 | type: (NumberConstructor | StringConstructor)[];
|
15 | default: string;
|
16 | };
|
17 | step: {
|
18 | type: (NumberConstructor | StringConstructor)[];
|
19 | default: number;
|
20 | };
|
21 | theme: PropType<StepperTheme>;
|
22 | integer: BooleanConstructor;
|
23 | disabled: BooleanConstructor;
|
24 | showPlus: {
|
25 | type: BooleanConstructor;
|
26 | default: true;
|
27 | };
|
28 | showMinus: {
|
29 | type: BooleanConstructor;
|
30 | default: true;
|
31 | };
|
32 | showInput: {
|
33 | type: BooleanConstructor;
|
34 | default: true;
|
35 | };
|
36 | longPress: {
|
37 | type: BooleanConstructor;
|
38 | default: true;
|
39 | };
|
40 | autoFixed: {
|
41 | type: BooleanConstructor;
|
42 | default: true;
|
43 | };
|
44 | allowEmpty: BooleanConstructor;
|
45 | modelValue: (NumberConstructor | StringConstructor)[];
|
46 | inputWidth: (NumberConstructor | StringConstructor)[];
|
47 | buttonSize: (NumberConstructor | StringConstructor)[];
|
48 | placeholder: StringConstructor;
|
49 | disablePlus: BooleanConstructor;
|
50 | disableMinus: BooleanConstructor;
|
51 | disableInput: BooleanConstructor;
|
52 | beforeChange: PropType<Interceptor>;
|
53 | defaultValue: {
|
54 | type: (NumberConstructor | StringConstructor)[];
|
55 | default: number;
|
56 | };
|
57 | decimalLength: (NumberConstructor | StringConstructor)[];
|
58 | };
|
59 | export type StepperProps = ExtractPropTypes<typeof stepperProps>;
|
60 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
61 | min: {
|
62 | type: (NumberConstructor | StringConstructor)[];
|
63 | default: number;
|
64 | };
|
65 | max: {
|
66 | type: (NumberConstructor | StringConstructor)[];
|
67 | default: number;
|
68 | };
|
69 | name: {
|
70 | type: (NumberConstructor | StringConstructor)[];
|
71 | default: string;
|
72 | };
|
73 | step: {
|
74 | type: (NumberConstructor | StringConstructor)[];
|
75 | default: number;
|
76 | };
|
77 | theme: PropType<StepperTheme>;
|
78 | integer: BooleanConstructor;
|
79 | disabled: BooleanConstructor;
|
80 | showPlus: {
|
81 | type: BooleanConstructor;
|
82 | default: true;
|
83 | };
|
84 | showMinus: {
|
85 | type: BooleanConstructor;
|
86 | default: true;
|
87 | };
|
88 | showInput: {
|
89 | type: BooleanConstructor;
|
90 | default: true;
|
91 | };
|
92 | longPress: {
|
93 | type: BooleanConstructor;
|
94 | default: true;
|
95 | };
|
96 | autoFixed: {
|
97 | type: BooleanConstructor;
|
98 | default: true;
|
99 | };
|
100 | allowEmpty: BooleanConstructor;
|
101 | modelValue: (NumberConstructor | StringConstructor)[];
|
102 | inputWidth: (NumberConstructor | StringConstructor)[];
|
103 | buttonSize: (NumberConstructor | StringConstructor)[];
|
104 | placeholder: StringConstructor;
|
105 | disablePlus: BooleanConstructor;
|
106 | disableMinus: BooleanConstructor;
|
107 | disableInput: BooleanConstructor;
|
108 | beforeChange: PropType<Interceptor>;
|
109 | defaultValue: {
|
110 | type: (NumberConstructor | StringConstructor)[];
|
111 | default: number;
|
112 | };
|
113 | decimalLength: (NumberConstructor | StringConstructor)[];
|
114 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit")[], "focus" | "blur" | "update:modelValue" | "change" | "minus" | "plus" | "overlimit", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
115 | min: {
|
116 | type: (NumberConstructor | StringConstructor)[];
|
117 | default: number;
|
118 | };
|
119 | max: {
|
120 | type: (NumberConstructor | StringConstructor)[];
|
121 | default: number;
|
122 | };
|
123 | name: {
|
124 | type: (NumberConstructor | StringConstructor)[];
|
125 | default: string;
|
126 | };
|
127 | step: {
|
128 | type: (NumberConstructor | StringConstructor)[];
|
129 | default: number;
|
130 | };
|
131 | theme: PropType<StepperTheme>;
|
132 | integer: BooleanConstructor;
|
133 | disabled: BooleanConstructor;
|
134 | showPlus: {
|
135 | type: BooleanConstructor;
|
136 | default: true;
|
137 | };
|
138 | showMinus: {
|
139 | type: BooleanConstructor;
|
140 | default: true;
|
141 | };
|
142 | showInput: {
|
143 | type: BooleanConstructor;
|
144 | default: true;
|
145 | };
|
146 | longPress: {
|
147 | type: BooleanConstructor;
|
148 | default: true;
|
149 | };
|
150 | autoFixed: {
|
151 | type: BooleanConstructor;
|
152 | default: true;
|
153 | };
|
154 | allowEmpty: BooleanConstructor;
|
155 | modelValue: (NumberConstructor | StringConstructor)[];
|
156 | inputWidth: (NumberConstructor | StringConstructor)[];
|
157 | buttonSize: (NumberConstructor | StringConstructor)[];
|
158 | placeholder: StringConstructor;
|
159 | disablePlus: BooleanConstructor;
|
160 | disableMinus: BooleanConstructor;
|
161 | disableInput: BooleanConstructor;
|
162 | beforeChange: PropType<Interceptor>;
|
163 | defaultValue: {
|
164 | type: (NumberConstructor | StringConstructor)[];
|
165 | default: number;
|
166 | };
|
167 | decimalLength: (NumberConstructor | StringConstructor)[];
|
168 | }>> & Readonly<{
|
169 | onFocus?: ((...args: any[]) => any) | undefined;
|
170 | onBlur?: ((...args: any[]) => any) | undefined;
|
171 | onChange?: ((...args: any[]) => any) | undefined;
|
172 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
173 | onMinus?: ((...args: any[]) => any) | undefined;
|
174 | onPlus?: ((...args: any[]) => any) | undefined;
|
175 | onOverlimit?: ((...args: any[]) => any) | undefined;
|
176 | }>, {
|
177 | name: string | number;
|
178 | max: string | number;
|
179 | disabled: boolean;
|
180 | min: string | number;
|
181 | longPress: boolean;
|
182 | step: string | number;
|
183 | integer: boolean;
|
184 | showPlus: boolean;
|
185 | showMinus: boolean;
|
186 | showInput: boolean;
|
187 | autoFixed: boolean;
|
188 | allowEmpty: boolean;
|
189 | disablePlus: boolean;
|
190 | disableMinus: boolean;
|
191 | disableInput: boolean;
|
192 | defaultValue: string | number;
|
193 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
194 | export default _default;
|
195 |
|
\ | No newline at end of file |