1 | import { type PropType, type ExtractPropTypes } from 'vue';
|
2 | type NumberRange = [number, number];
|
3 | type SliderValue = number | NumberRange;
|
4 | export declare const sliderProps: {
|
5 | min: {
|
6 | type: (NumberConstructor | StringConstructor)[];
|
7 | default: number;
|
8 | };
|
9 | max: {
|
10 | type: (NumberConstructor | StringConstructor)[];
|
11 | default: number;
|
12 | };
|
13 | step: {
|
14 | type: (NumberConstructor | StringConstructor)[];
|
15 | default: number;
|
16 | };
|
17 | range: BooleanConstructor;
|
18 | reverse: BooleanConstructor;
|
19 | disabled: BooleanConstructor;
|
20 | readonly: BooleanConstructor;
|
21 | vertical: BooleanConstructor;
|
22 | barHeight: (NumberConstructor | StringConstructor)[];
|
23 | buttonSize: (NumberConstructor | StringConstructor)[];
|
24 | activeColor: StringConstructor;
|
25 | inactiveColor: StringConstructor;
|
26 | modelValue: {
|
27 | type: PropType<SliderValue>;
|
28 | default: number;
|
29 | };
|
30 | };
|
31 | export type SliderProps = ExtractPropTypes<typeof sliderProps>;
|
32 | declare const _default: import("vue").DefineComponent<ExtractPropTypes<{
|
33 | min: {
|
34 | type: (NumberConstructor | StringConstructor)[];
|
35 | default: number;
|
36 | };
|
37 | max: {
|
38 | type: (NumberConstructor | StringConstructor)[];
|
39 | default: number;
|
40 | };
|
41 | step: {
|
42 | type: (NumberConstructor | StringConstructor)[];
|
43 | default: number;
|
44 | };
|
45 | range: BooleanConstructor;
|
46 | reverse: BooleanConstructor;
|
47 | disabled: BooleanConstructor;
|
48 | readonly: BooleanConstructor;
|
49 | vertical: BooleanConstructor;
|
50 | barHeight: (NumberConstructor | StringConstructor)[];
|
51 | buttonSize: (NumberConstructor | StringConstructor)[];
|
52 | activeColor: StringConstructor;
|
53 | inactiveColor: StringConstructor;
|
54 | modelValue: {
|
55 | type: PropType<SliderValue>;
|
56 | default: number;
|
57 | };
|
58 | }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change" | "dragStart" | "dragEnd")[], "update:modelValue" | "change" | "dragStart" | "dragEnd", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
59 | min: {
|
60 | type: (NumberConstructor | StringConstructor)[];
|
61 | default: number;
|
62 | };
|
63 | max: {
|
64 | type: (NumberConstructor | StringConstructor)[];
|
65 | default: number;
|
66 | };
|
67 | step: {
|
68 | type: (NumberConstructor | StringConstructor)[];
|
69 | default: number;
|
70 | };
|
71 | range: BooleanConstructor;
|
72 | reverse: BooleanConstructor;
|
73 | disabled: BooleanConstructor;
|
74 | readonly: BooleanConstructor;
|
75 | vertical: BooleanConstructor;
|
76 | barHeight: (NumberConstructor | StringConstructor)[];
|
77 | buttonSize: (NumberConstructor | StringConstructor)[];
|
78 | activeColor: StringConstructor;
|
79 | inactiveColor: StringConstructor;
|
80 | modelValue: {
|
81 | type: PropType<SliderValue>;
|
82 | default: number;
|
83 | };
|
84 | }>> & Readonly<{
|
85 | onChange?: ((...args: any[]) => any) | undefined;
|
86 | "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
87 | onDragStart?: ((...args: any[]) => any) | undefined;
|
88 | onDragEnd?: ((...args: any[]) => any) | undefined;
|
89 | }>, {
|
90 | reverse: boolean;
|
91 | range: boolean;
|
92 | max: string | number;
|
93 | disabled: boolean;
|
94 | vertical: boolean;
|
95 | min: string | number;
|
96 | modelValue: SliderValue;
|
97 | readonly: boolean;
|
98 | step: string | number;
|
99 | }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
100 | export default _default;
|
101 |
|
\ | No newline at end of file |