@nutui/nutui 4.3.5 → 4.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -1
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +5822 -6138
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/audio/Audio.js +2 -1
- package/dist/packages/audiooperate/AudioOperate.js +2 -1
- package/dist/packages/checkbox/Checkbox.js +1 -1
- package/dist/packages/{common-DRG0ue26.js → common-BH7uB7Cn.js} +4 -2
- package/dist/packages/countdown/Countdown.js +130 -173
- package/dist/packages/form/Form.js +2 -2
- package/dist/packages/formitem/FormItem.js +2 -2
- package/dist/packages/grid/Grid.js +68 -5
- package/dist/packages/griditem/GridItem.js +61 -81
- package/dist/packages/image/Image.js +79 -111
- package/dist/packages/input/Input.js +112 -182
- package/dist/packages/inputnumber/InputNumber.js +1 -1
- package/dist/packages/invoice/Invoice.js +8 -8
- package/dist/packages/menuitem/MenuItem.js +1 -1
- package/dist/packages/numberkeyboard/NumberKeyboard.js +6 -2
- package/dist/packages/picker/Picker.js +1 -1
- package/dist/packages/radio/Radio.js +112 -1
- package/dist/packages/radiogroup/RadioGroup.js +60 -1
- package/dist/packages/range/Range.js +1 -1
- package/dist/packages/rate/Rate.js +1 -1
- package/dist/packages/searchbar/Searchbar.js +1 -1
- package/dist/packages/step/Step.js +64 -83
- package/dist/packages/steps/Steps.js +44 -40
- package/dist/packages/switch/Switch.js +1 -1
- package/dist/packages/tabpane/TabPane.js +3 -2
- package/dist/packages/tabs/Tabs.js +2 -1
- package/dist/packages/textarea/Textarea.js +1 -1
- package/dist/packages/types-BMA1Y94E.js +4 -0
- package/dist/packages/types-BXlnzugj.js +4 -0
- package/dist/packages/types-CJeZIBld.js +4 -0
- package/dist/packages/uploader/Uploader.js +1 -1
- package/dist/smartips/web-types.json +446 -26
- package/dist/types/__VUE/audio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/audio/types.d.ts +2 -0
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countdown/countdown.vue.d.ts +108 -0
- package/dist/types/__VUE/countdown/index.d.ts +5 -0
- package/dist/types/__VUE/countdown/util.d.ts +14 -0
- package/dist/types/__VUE/form/common.d.ts +1 -0
- package/dist/types/__VUE/grid/grid.vue.d.ts +87 -0
- package/dist/types/__VUE/grid/index.d.ts +6 -0
- package/dist/types/__VUE/grid/types.d.ts +2 -0
- package/dist/types/__VUE/griditem/grid-item.vue.d.ts +64 -0
- package/dist/types/__VUE/griditem/index.d.ts +5 -0
- package/dist/types/__VUE/image/image.vue.d.ts +111 -0
- package/dist/types/__VUE/image/index.d.ts +6 -0
- package/dist/types/__VUE/input/index.d.ts +6 -0
- package/dist/types/__VUE/input/input.vue.d.ts +171 -0
- package/dist/types/__VUE/input/{type.d.ts → types.d.ts} +2 -2
- package/dist/types/__VUE/input/util.d.ts +1 -1
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +3 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +2 -2
- package/dist/types/__VUE/radio/index.d.ts +6 -0
- package/dist/types/__VUE/radio/radio.vue.d.ts +74 -0
- package/dist/types/__VUE/radiogroup/index.d.ts +5 -0
- package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +66 -0
- package/dist/types/__VUE/step/index.d.ts +5 -0
- package/dist/types/__VUE/step/step.vue.d.ts +55 -0
- package/dist/types/__VUE/steps/index.d.ts +6 -0
- package/dist/types/__VUE/steps/steps.vue.d.ts +64 -0
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/types.d.ts +1 -0
- package/dist/types/index.d.ts +19 -10
- package/dist/types/utils/index.d.ts +2 -0
- package/dist/types/utils/useRelation/useParent.d.ts +1 -1
- package/package.json +1 -1
- package/dist/packages/common-Chr7cC9o.js +0 -145
- package/dist/packages/index.vue_vue_type_script_lang-CTQUvlgN.js +0 -99
- package/dist/packages/index.vue_vue_type_script_lang-CaSiRl9x.js +0 -46
- package/dist/types/__VUE/audiooperate/types.d.ts +0 -1
- package/dist/types/__VUE/countdown/index.vue.d.ts +0 -125
- package/dist/types/__VUE/grid/common.d.ts +0 -73
- package/dist/types/__VUE/grid/index.vue.d.ts +0 -84
- package/dist/types/__VUE/griditem/index.vue.d.ts +0 -47
- package/dist/types/__VUE/image/index.vue.d.ts +0 -126
- package/dist/types/__VUE/input/index.vue.d.ts +0 -221
- package/dist/types/__VUE/radio/index.vue.d.ts +0 -64
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +0 -49
- package/dist/types/__VUE/step/index.vue.d.ts +0 -42
- package/dist/types/__VUE/steps/index.vue.d.ts +0 -48
- /package/dist/types/__VUE/image/{type.d.ts → types.d.ts} +0 -0
|
@@ -1,221 +0,0 @@
|
|
|
1
|
-
import { PropType, ComputedRef } from 'vue';
|
|
2
|
-
import type { InputType, InputAlignType, InputFormatTrigger, ConfirmTextType } from './type';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
type: {
|
|
9
|
-
type: PropType<InputType>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
modelValue: {
|
|
13
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
placeholder: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
inputAlign: {
|
|
21
|
-
type: PropType<InputAlignType>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
required: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
disabled: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
readonly: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
default: boolean;
|
|
35
|
-
};
|
|
36
|
-
maxLength: {
|
|
37
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
clearable: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
clearSize: {
|
|
45
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
border: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
formatTrigger: {
|
|
53
|
-
type: PropType<InputFormatTrigger>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
formatter: {
|
|
57
|
-
type: PropType<(value: string) => string>;
|
|
58
|
-
default: null;
|
|
59
|
-
};
|
|
60
|
-
showWordLimit: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
autofocus: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
confirmType: {
|
|
69
|
-
type: PropType<ConfirmTextType>;
|
|
70
|
-
default: string;
|
|
71
|
-
};
|
|
72
|
-
error: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
showClearIcon: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
class: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
}, {
|
|
85
|
-
renderInput: (type: InputType) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
86
|
-
[key: string]: any;
|
|
87
|
-
}>;
|
|
88
|
-
inputRef: import("vue").Ref<any>;
|
|
89
|
-
active: import("vue").Ref<boolean>;
|
|
90
|
-
classes: ComputedRef<{
|
|
91
|
-
[x: string]: boolean;
|
|
92
|
-
}>;
|
|
93
|
-
styles: ComputedRef<any>;
|
|
94
|
-
disabled: ComputedRef<boolean>;
|
|
95
|
-
onInput: (event: Event) => void;
|
|
96
|
-
onFocus: (event: Event) => void;
|
|
97
|
-
onBlur: (event: Event) => void;
|
|
98
|
-
clear: (event: Event) => void;
|
|
99
|
-
startComposing: ({ target }: Event) => void;
|
|
100
|
-
endComposing: ({ target }: Event) => void;
|
|
101
|
-
onClick: (event: MouseEvent) => void;
|
|
102
|
-
onClickInput: (event: MouseEvent) => void;
|
|
103
|
-
focus: () => void;
|
|
104
|
-
blur: () => void;
|
|
105
|
-
select: () => void;
|
|
106
|
-
onKeyup: (e: KeyboardEvent) => void;
|
|
107
|
-
getModelValue: () => string;
|
|
108
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clear" | "blur" | "focus" | "keypress" | "update:modelValue" | "clickInput" | "confirm")[], "click" | "clear" | "blur" | "focus" | "keypress" | "update:modelValue" | "clickInput" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
109
|
-
type: {
|
|
110
|
-
type: PropType<InputType>;
|
|
111
|
-
default: string;
|
|
112
|
-
};
|
|
113
|
-
modelValue: {
|
|
114
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
115
|
-
default: string;
|
|
116
|
-
};
|
|
117
|
-
placeholder: {
|
|
118
|
-
type: StringConstructor;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
inputAlign: {
|
|
122
|
-
type: PropType<InputAlignType>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
required: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
disabled: {
|
|
130
|
-
type: BooleanConstructor;
|
|
131
|
-
default: boolean;
|
|
132
|
-
};
|
|
133
|
-
readonly: {
|
|
134
|
-
type: BooleanConstructor;
|
|
135
|
-
default: boolean;
|
|
136
|
-
};
|
|
137
|
-
maxLength: {
|
|
138
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
139
|
-
default: string;
|
|
140
|
-
};
|
|
141
|
-
clearable: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
default: boolean;
|
|
144
|
-
};
|
|
145
|
-
clearSize: {
|
|
146
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
147
|
-
default: string;
|
|
148
|
-
};
|
|
149
|
-
border: {
|
|
150
|
-
type: BooleanConstructor;
|
|
151
|
-
default: boolean;
|
|
152
|
-
};
|
|
153
|
-
formatTrigger: {
|
|
154
|
-
type: PropType<InputFormatTrigger>;
|
|
155
|
-
default: string;
|
|
156
|
-
};
|
|
157
|
-
formatter: {
|
|
158
|
-
type: PropType<(value: string) => string>;
|
|
159
|
-
default: null;
|
|
160
|
-
};
|
|
161
|
-
showWordLimit: {
|
|
162
|
-
type: BooleanConstructor;
|
|
163
|
-
default: boolean;
|
|
164
|
-
};
|
|
165
|
-
autofocus: {
|
|
166
|
-
type: BooleanConstructor;
|
|
167
|
-
default: boolean;
|
|
168
|
-
};
|
|
169
|
-
confirmType: {
|
|
170
|
-
type: PropType<ConfirmTextType>;
|
|
171
|
-
default: string;
|
|
172
|
-
};
|
|
173
|
-
error: {
|
|
174
|
-
type: BooleanConstructor;
|
|
175
|
-
default: boolean;
|
|
176
|
-
};
|
|
177
|
-
showClearIcon: {
|
|
178
|
-
type: BooleanConstructor;
|
|
179
|
-
default: boolean;
|
|
180
|
-
};
|
|
181
|
-
class: {
|
|
182
|
-
type: StringConstructor;
|
|
183
|
-
default: string;
|
|
184
|
-
};
|
|
185
|
-
}>> & {
|
|
186
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
187
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
onClickInput?: ((...args: any[]) => any) | undefined;
|
|
193
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
194
|
-
}, {
|
|
195
|
-
disabled: boolean;
|
|
196
|
-
type: InputType;
|
|
197
|
-
class: string;
|
|
198
|
-
error: boolean;
|
|
199
|
-
border: boolean;
|
|
200
|
-
placeholder: string;
|
|
201
|
-
modelValue: string | number;
|
|
202
|
-
maxLength: string | number;
|
|
203
|
-
clearable: boolean;
|
|
204
|
-
autofocus: boolean;
|
|
205
|
-
readonly: boolean;
|
|
206
|
-
inputAlign: InputAlignType;
|
|
207
|
-
formatter: (value: string) => string;
|
|
208
|
-
required: boolean;
|
|
209
|
-
clearSize: string | number;
|
|
210
|
-
formatTrigger: InputFormatTrigger;
|
|
211
|
-
showWordLimit: boolean;
|
|
212
|
-
confirmType: ConfirmTextType;
|
|
213
|
-
showClearIcon: boolean;
|
|
214
|
-
}, {}>>;
|
|
215
|
-
export default _default;
|
|
216
|
-
|
|
217
|
-
declare module 'vue' {
|
|
218
|
-
interface GlobalComponents {
|
|
219
|
-
NutInput: typeof _default;
|
|
220
|
-
}
|
|
221
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RadioShape, RadioButtonSize } from './types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
disabled: {
|
|
9
|
-
type: BooleanConstructor;
|
|
10
|
-
default: boolean;
|
|
11
|
-
};
|
|
12
|
-
shape: {
|
|
13
|
-
type: PropType<RadioShape>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
label: {
|
|
17
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
iconSize: {
|
|
21
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
size: {
|
|
25
|
-
type: PropType<RadioButtonSize>;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
29
|
-
[key: string]: any;
|
|
30
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
disabled: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
shape: {
|
|
36
|
-
type: PropType<RadioShape>;
|
|
37
|
-
default: string;
|
|
38
|
-
};
|
|
39
|
-
label: {
|
|
40
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
41
|
-
default: string;
|
|
42
|
-
};
|
|
43
|
-
iconSize: {
|
|
44
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
size: {
|
|
48
|
-
type: PropType<RadioButtonSize>;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
|
-
}>>, {
|
|
52
|
-
shape: RadioShape;
|
|
53
|
-
disabled: boolean;
|
|
54
|
-
size: RadioButtonSize;
|
|
55
|
-
label: string | number | boolean;
|
|
56
|
-
iconSize: string | number;
|
|
57
|
-
}, {}>>;
|
|
58
|
-
export default _default;
|
|
59
|
-
|
|
60
|
-
declare module 'vue' {
|
|
61
|
-
interface GlobalComponents {
|
|
62
|
-
NutRadio: typeof _default;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { RadioGroupTextPosition, RadioGroupDirection } from '../radio/types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
modelValue: {
|
|
9
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
direction: {
|
|
13
|
-
type: PropType<RadioGroupDirection>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
textPosition: {
|
|
17
|
-
type: PropType<RadioGroupTextPosition>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
modelValue: {
|
|
24
|
-
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
direction: {
|
|
28
|
-
type: PropType<RadioGroupDirection>;
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
textPosition: {
|
|
32
|
-
type: PropType<RadioGroupTextPosition>;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
38
|
-
}, {
|
|
39
|
-
direction: RadioGroupDirection;
|
|
40
|
-
modelValue: string | number | boolean;
|
|
41
|
-
textPosition: RadioGroupTextPosition;
|
|
42
|
-
}, {}>>;
|
|
43
|
-
export default _default;
|
|
44
|
-
|
|
45
|
-
declare module 'vue' {
|
|
46
|
-
interface GlobalComponents {
|
|
47
|
-
NutRadioGroup: typeof _default;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: import('vue').App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
-
title: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
content: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
index: import("vue").ComputedRef<any>;
|
|
16
|
-
classes: import("vue").ComputedRef<{
|
|
17
|
-
[x: string]: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
handleClickStep: () => void;
|
|
20
|
-
dot: import("vue").Ref<any>;
|
|
21
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
-
title: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: string;
|
|
25
|
-
};
|
|
26
|
-
content: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
}>> & {
|
|
31
|
-
onClickStep?: ((...args: any[]) => any) | undefined;
|
|
32
|
-
}, {
|
|
33
|
-
title: string;
|
|
34
|
-
content: string;
|
|
35
|
-
}, {}>>;
|
|
36
|
-
export default _default;
|
|
37
|
-
|
|
38
|
-
declare module 'vue' {
|
|
39
|
-
interface GlobalComponents {
|
|
40
|
-
NutStep: typeof _default;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { StepsDirection } from './types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
direction: {
|
|
9
|
-
type: PropType<StepsDirection>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
current: {
|
|
13
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
progressDot: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
21
|
-
[key: string]: any;
|
|
22
|
-
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "clickStep"[], "clickStep", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
-
direction: {
|
|
24
|
-
type: PropType<StepsDirection>;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
current: {
|
|
28
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
29
|
-
default: string;
|
|
30
|
-
};
|
|
31
|
-
progressDot: {
|
|
32
|
-
type: BooleanConstructor;
|
|
33
|
-
default: boolean;
|
|
34
|
-
};
|
|
35
|
-
}>> & {
|
|
36
|
-
onClickStep?: ((...args: any[]) => any) | undefined;
|
|
37
|
-
}, {
|
|
38
|
-
direction: StepsDirection;
|
|
39
|
-
current: string | number;
|
|
40
|
-
progressDot: boolean;
|
|
41
|
-
}, {}>>;
|
|
42
|
-
export default _default;
|
|
43
|
-
|
|
44
|
-
declare module 'vue' {
|
|
45
|
-
interface GlobalComponents {
|
|
46
|
-
NutSteps: typeof _default;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
File without changes
|