@nutui/nutui 4.3.13 → 4.3.14-beta.3
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/README.md +30 -30
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +2854 -2844
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/addresslist/AddressList.js +2 -2
- package/dist/packages/audio/Audio.js +9 -10
- package/dist/packages/audiooperate/AudioOperate.js +2 -2
- package/dist/packages/cascader/Cascader.js +3 -4
- package/dist/packages/comment/Comment.js +8 -11
- package/dist/packages/dialog/Dialog.js +4 -1
- package/dist/packages/elevator/Elevator.js +2 -2
- package/dist/packages/invoice/Invoice.js +2 -2
- package/dist/packages/locale/index.d.ts +1 -1
- package/dist/packages/numberkeyboard/NumberKeyboard.js +3 -5
- package/dist/packages/step/Step.js +13 -14
- package/dist/packages/swiper/Swiper.js +19 -1
- package/dist/packages/video/Video.js +11 -13
- package/dist/smartips/web-types.json +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +496 -8
- package/dist/types/__VUE/address/index.vue.d.ts +865 -56
- package/dist/types/__VUE/addresslist/components/GeneralShell.vue.d.ts +465 -7
- package/dist/types/__VUE/addresslist/components/ItemContents.vue.d.ts +117 -6
- package/dist/types/__VUE/addresslist/index.vue.d.ts +713 -6
- package/dist/types/__VUE/animate/animate.vue.d.ts +5 -5
- package/dist/types/__VUE/audio/index.vue.d.ts +229 -28
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +205 -15
- package/dist/types/__VUE/avatar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +319 -19
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +55 -7
- package/dist/types/__VUE/backtop/backtop.vue.d.ts +6 -6
- package/dist/types/__VUE/badge/badge.vue.d.ts +5 -5
- package/dist/types/__VUE/barrage/index.vue.d.ts +7 -7
- package/dist/types/__VUE/button/button.vue.d.ts +5 -5
- package/dist/types/__VUE/calendar/index.vue.d.ts +647 -8
- package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +9 -24
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +52 -52
- package/dist/types/__VUE/card/index.vue.d.ts +256 -4
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +453 -10
- package/dist/types/__VUE/cascader/index.vue.d.ts +950 -10
- package/dist/types/__VUE/category/index.vue.d.ts +7 -7
- package/dist/types/__VUE/categorypane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/cell/cell.vue.d.ts +5 -5
- package/dist/types/__VUE/cellgroup/cell-group.vue.d.ts +4 -4
- package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +7 -7
- package/dist/types/__VUE/circleprogress/circle-progress.vue.d.ts +5 -5
- package/dist/types/__VUE/col/col.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/collapse.vue.d.ts +5 -5
- package/dist/types/__VUE/collapseitem/collapse-item.vue.d.ts +4 -4
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +174 -8
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +218 -6
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +73 -18
- package/dist/types/__VUE/comment/index.vue.d.ts +627 -16
- package/dist/types/__VUE/comment/type.d.ts +10 -0
- package/dist/types/__VUE/configprovider/index.vue.d.ts +6 -6
- package/dist/types/__VUE/countdown/countdown.vue.d.ts +8 -8
- package/dist/types/__VUE/countup/index.vue.d.ts +46 -46
- package/dist/types/__VUE/datepicker/index.vue.d.ts +265 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +631 -9
- package/dist/types/__VUE/divider/divider.vue.d.ts +4 -4
- package/dist/types/__VUE/drag/index.vue.d.ts +6 -6
- package/dist/types/__VUE/ecard/index.vue.d.ts +255 -10
- package/dist/types/__VUE/elevator/index.vue.d.ts +24 -17
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +10 -10
- package/dist/types/__VUE/empty/empty.vue.d.ts +4 -4
- package/dist/types/__VUE/fixednav/index.vue.d.ts +231 -7
- package/dist/types/__VUE/form/form.vue.d.ts +6 -6
- package/dist/types/__VUE/formitem/form-item.vue.d.ts +4 -4
- package/dist/types/__VUE/grid/grid.vue.d.ts +4 -4
- package/dist/types/__VUE/griditem/grid-item.vue.d.ts +5 -5
- package/dist/types/__VUE/image/image.vue.d.ts +6 -6
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +155 -14
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +916 -11
- package/dist/types/__VUE/indicator/indicator.vue.d.ts +4 -4
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +68 -12
- package/dist/types/__VUE/input/input.vue.d.ts +11 -11
- package/dist/types/__VUE/inputnumber/input-number.vue.d.ts +10 -10
- package/dist/types/__VUE/invoice/invoice.vue.d.ts +5 -5
- package/dist/types/__VUE/layout/layout.vue.d.ts +1 -1
- package/dist/types/__VUE/list/index.vue.d.ts +19 -13
- package/dist/types/__VUE/menu/index.vue.d.ts +117 -6
- package/dist/types/__VUE/menuitem/index.vue.d.ts +494 -6
- package/dist/types/__VUE/navbar/navbar.vue.d.ts +5 -5
- package/dist/types/__VUE/noticebar/index.vue.d.ts +136 -20
- package/dist/types/__VUE/notify/index.vue.d.ts +441 -8
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +442 -9
- package/dist/types/__VUE/overlay/overlay.vue.d.ts +6 -6
- package/dist/types/__VUE/pagination/index.vue.d.ts +9 -9
- package/dist/types/__VUE/picker/Column.vue.d.ts +29 -22
- package/dist/types/__VUE/picker/index.vue.d.ts +138 -8
- package/dist/types/__VUE/picker/usePicker.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +443 -10
- package/dist/types/__VUE/popup/index.vue.d.ts +234 -10
- package/dist/types/__VUE/price/price.vue.d.ts +4 -4
- package/dist/types/__VUE/progress/progress.vue.d.ts +4 -4
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +76 -8
- package/dist/types/__VUE/radio/radio.vue.d.ts +4 -4
- package/dist/types/__VUE/radiogroup/radio-group.vue.d.ts +5 -5
- package/dist/types/__VUE/range/index.vue.d.ts +25 -25
- package/dist/types/__VUE/rate/rate.vue.d.ts +5 -5
- package/dist/types/__VUE/row/row.vue.d.ts +4 -4
- package/dist/types/__VUE/searchbar/index.vue.d.ts +9 -9
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +496 -8
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +11 -7
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/signature/index.vue.d.ts +201 -11
- package/dist/types/__VUE/skeleton/skeleton.vue.d.ts +4 -4
- package/dist/types/__VUE/sku/components/SkuHeader.vue.d.ts +82 -5
- package/dist/types/__VUE/sku/components/SkuOperate.vue.d.ts +6 -6
- package/dist/types/__VUE/sku/components/SkuSelect.vue.d.ts +13 -6
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +252 -7
- package/dist/types/__VUE/sku/index.vue.d.ts +921 -7
- package/dist/types/__VUE/sku/type.d.ts +7 -0
- package/dist/types/__VUE/space/index.vue.d.ts +5 -5
- package/dist/types/__VUE/step/step.vue.d.ts +4 -4
- package/dist/types/__VUE/steps/steps.vue.d.ts +5 -5
- package/dist/types/__VUE/sticky/index.vue.d.ts +8 -8
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +118 -7
- package/dist/types/__VUE/swipe/swipe.vue.d.ts +7 -7
- package/dist/types/__VUE/swipegroup/swipe-group.vue.d.ts +4 -4
- package/dist/types/__VUE/swiper/index.vue.d.ts +7 -7
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/switch.vue.d.ts +5 -5
- package/dist/types/__VUE/tabbar/tabbar.vue.d.ts +5 -5
- package/dist/types/__VUE/tabbaritem/tabbar-item.vue.d.ts +4 -4
- package/dist/types/__VUE/table/index.vue.d.ts +87 -7
- package/dist/types/__VUE/table/renderColumn.d.ts +5 -5
- package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/tabs/hooks.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +122 -10
- package/dist/types/__VUE/tag/tag.vue.d.ts +5 -5
- package/dist/types/__VUE/textarea/textarea.vue.d.ts +6 -6
- package/dist/types/__VUE/timedetail/index.vue.d.ts +8 -8
- package/dist/types/__VUE/timepannel/index.vue.d.ts +7 -7
- package/dist/types/__VUE/timeselect/index.vue.d.ts +439 -6
- package/dist/types/__VUE/toast/index.vue.d.ts +7 -7
- package/dist/types/__VUE/tour/index.vue.d.ts +671 -9
- package/dist/types/__VUE/trendarrow/trend-arrow.vue.d.ts +4 -4
- package/dist/types/__VUE/uploader/index.vue.d.ts +480 -7
- package/dist/types/__VUE/video/index.vue.d.ts +43 -19
- package/dist/types/__VUE/watermark/watermark.vue.d.ts +4 -4
- package/dist/types/index.d.ts +1 -1
- package/dist/types/locale/index.d.ts +1 -1
- package/dist/types/utils/useRelation/useInject.d.ts +1 -1
- package/dist/types/utils/useScrollParent/index.d.ts +1 -1
- package/dist/types/utils/useTouch/index.d.ts +9 -9
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import type { AvatarCropperToolbarPosition, AvatarCropperShape } from './types';
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
maxZoom: {
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
default: number;
|
|
@@ -33,10 +33,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
33
33
|
type: PropType<AvatarCropperShape>;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
36
|
-
}
|
|
37
|
-
cropperPopupRef: Ref<HTMLElement>;
|
|
38
|
-
canvasRef: Ref<HTMLCanvasElement>;
|
|
39
|
-
inputImageRef: Ref<HTMLInputElement>;
|
|
36
|
+
}>, {
|
|
37
|
+
cropperPopupRef: Ref<HTMLElement, HTMLElement>;
|
|
38
|
+
canvasRef: Ref<HTMLCanvasElement, HTMLCanvasElement>;
|
|
39
|
+
inputImageRef: Ref<HTMLInputElement, HTMLInputElement>;
|
|
40
40
|
highlightStyle: import("vue").ComputedRef<{
|
|
41
41
|
width: string;
|
|
42
42
|
height: string;
|
|
@@ -49,17 +49,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
49
49
|
onTouchStart: (event: TouchEvent) => void;
|
|
50
50
|
onTouchMove: (event: TouchEvent) => void;
|
|
51
51
|
onTouchEnd: (event: TouchEvent) => void;
|
|
52
|
-
visible: Ref<boolean>;
|
|
53
|
-
defScale: Ref<number>;
|
|
54
|
-
scale: Ref<number>;
|
|
55
|
-
angle: Ref<number>;
|
|
56
|
-
moveX: Ref<number>;
|
|
57
|
-
moveY: Ref<number>;
|
|
58
|
-
moving: Ref<boolean>;
|
|
59
|
-
zooming: Ref<boolean>;
|
|
60
|
-
displayWidth: Ref<number>;
|
|
61
|
-
displayHeight: Ref<number>;
|
|
62
|
-
},
|
|
52
|
+
visible: Ref<boolean, boolean>;
|
|
53
|
+
defScale: Ref<number, number>;
|
|
54
|
+
scale: Ref<number, number>;
|
|
55
|
+
angle: Ref<number, number>;
|
|
56
|
+
moveX: Ref<number, number>;
|
|
57
|
+
moveY: Ref<number, number>;
|
|
58
|
+
moving: Ref<boolean, boolean>;
|
|
59
|
+
zooming: Ref<boolean, boolean>;
|
|
60
|
+
displayWidth: Ref<number, number>;
|
|
61
|
+
displayHeight: Ref<number, number>;
|
|
62
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancel" | "confirm")[], "cancel" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
63
63
|
maxZoom: {
|
|
64
64
|
type: NumberConstructor;
|
|
65
65
|
default: number;
|
|
@@ -88,10 +88,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
88
88
|
type: PropType<AvatarCropperShape>;
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
|
-
}>> & {
|
|
91
|
+
}>> & Readonly<{
|
|
92
92
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
93
93
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
}
|
|
94
|
+
}>, {
|
|
95
95
|
shape: AvatarCropperShape;
|
|
96
96
|
space: number;
|
|
97
97
|
confirmText: string;
|
|
@@ -99,7 +99,307 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
99
99
|
maxZoom: number;
|
|
100
100
|
toolbarPosition: AvatarCropperToolbarPosition;
|
|
101
101
|
editText: string;
|
|
102
|
-
}, {}
|
|
102
|
+
}, {}, {
|
|
103
|
+
NutButton: {
|
|
104
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
105
|
+
color: {
|
|
106
|
+
type: PropType<string>;
|
|
107
|
+
default: string;
|
|
108
|
+
};
|
|
109
|
+
shape: {
|
|
110
|
+
type: PropType<import("../button").ButtonShape>;
|
|
111
|
+
default: string;
|
|
112
|
+
};
|
|
113
|
+
plain: {
|
|
114
|
+
type: PropType<boolean>;
|
|
115
|
+
default: boolean;
|
|
116
|
+
};
|
|
117
|
+
loading: {
|
|
118
|
+
type: PropType<boolean>;
|
|
119
|
+
default: boolean;
|
|
120
|
+
};
|
|
121
|
+
disabled: {
|
|
122
|
+
type: PropType<boolean>;
|
|
123
|
+
default: boolean;
|
|
124
|
+
};
|
|
125
|
+
type: {
|
|
126
|
+
type: PropType<import("../button").ButtonType>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
size: {
|
|
130
|
+
type: PropType<import("../button").ButtonSize>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
block: {
|
|
134
|
+
type: PropType<boolean>;
|
|
135
|
+
default: boolean;
|
|
136
|
+
};
|
|
137
|
+
}>> & Readonly<{
|
|
138
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
139
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
140
|
+
click: (...args: any[]) => void;
|
|
141
|
+
}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
142
|
+
color: {
|
|
143
|
+
type: PropType<string>;
|
|
144
|
+
default: string;
|
|
145
|
+
};
|
|
146
|
+
shape: {
|
|
147
|
+
type: PropType<import("../button").ButtonShape>;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
plain: {
|
|
151
|
+
type: PropType<boolean>;
|
|
152
|
+
default: boolean;
|
|
153
|
+
};
|
|
154
|
+
loading: {
|
|
155
|
+
type: PropType<boolean>;
|
|
156
|
+
default: boolean;
|
|
157
|
+
};
|
|
158
|
+
disabled: {
|
|
159
|
+
type: PropType<boolean>;
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
type: {
|
|
163
|
+
type: PropType<import("../button").ButtonType>;
|
|
164
|
+
default: string;
|
|
165
|
+
};
|
|
166
|
+
size: {
|
|
167
|
+
type: PropType<import("../button").ButtonSize>;
|
|
168
|
+
default: string;
|
|
169
|
+
};
|
|
170
|
+
block: {
|
|
171
|
+
type: PropType<boolean>;
|
|
172
|
+
default: boolean;
|
|
173
|
+
};
|
|
174
|
+
}>> & Readonly<{
|
|
175
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
}>, {
|
|
177
|
+
color: string;
|
|
178
|
+
shape: import("../button").ButtonShape;
|
|
179
|
+
plain: boolean;
|
|
180
|
+
loading: boolean;
|
|
181
|
+
disabled: boolean;
|
|
182
|
+
type: import("../button").ButtonType;
|
|
183
|
+
size: import("../button").ButtonSize;
|
|
184
|
+
block: boolean;
|
|
185
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
186
|
+
P: {};
|
|
187
|
+
B: {};
|
|
188
|
+
D: {};
|
|
189
|
+
C: {};
|
|
190
|
+
M: {};
|
|
191
|
+
Defaults: {};
|
|
192
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
193
|
+
color: {
|
|
194
|
+
type: PropType<string>;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
shape: {
|
|
198
|
+
type: PropType<import("../button").ButtonShape>;
|
|
199
|
+
default: string;
|
|
200
|
+
};
|
|
201
|
+
plain: {
|
|
202
|
+
type: PropType<boolean>;
|
|
203
|
+
default: boolean;
|
|
204
|
+
};
|
|
205
|
+
loading: {
|
|
206
|
+
type: PropType<boolean>;
|
|
207
|
+
default: boolean;
|
|
208
|
+
};
|
|
209
|
+
disabled: {
|
|
210
|
+
type: PropType<boolean>;
|
|
211
|
+
default: boolean;
|
|
212
|
+
};
|
|
213
|
+
type: {
|
|
214
|
+
type: PropType<import("../button").ButtonType>;
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
size: {
|
|
218
|
+
type: PropType<import("../button").ButtonSize>;
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
block: {
|
|
222
|
+
type: PropType<boolean>;
|
|
223
|
+
default: boolean;
|
|
224
|
+
};
|
|
225
|
+
}>> & Readonly<{
|
|
226
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
227
|
+
}>, {}, {}, {}, {}, {
|
|
228
|
+
color: string;
|
|
229
|
+
shape: import("../button").ButtonShape;
|
|
230
|
+
plain: boolean;
|
|
231
|
+
loading: boolean;
|
|
232
|
+
disabled: boolean;
|
|
233
|
+
type: import("../button").ButtonType;
|
|
234
|
+
size: import("../button").ButtonSize;
|
|
235
|
+
block: boolean;
|
|
236
|
+
}>;
|
|
237
|
+
__isFragment?: undefined;
|
|
238
|
+
__isTeleport?: undefined;
|
|
239
|
+
__isSuspense?: undefined;
|
|
240
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
241
|
+
color: {
|
|
242
|
+
type: PropType<string>;
|
|
243
|
+
default: string;
|
|
244
|
+
};
|
|
245
|
+
shape: {
|
|
246
|
+
type: PropType<import("../button").ButtonShape>;
|
|
247
|
+
default: string;
|
|
248
|
+
};
|
|
249
|
+
plain: {
|
|
250
|
+
type: PropType<boolean>;
|
|
251
|
+
default: boolean;
|
|
252
|
+
};
|
|
253
|
+
loading: {
|
|
254
|
+
type: PropType<boolean>;
|
|
255
|
+
default: boolean;
|
|
256
|
+
};
|
|
257
|
+
disabled: {
|
|
258
|
+
type: PropType<boolean>;
|
|
259
|
+
default: boolean;
|
|
260
|
+
};
|
|
261
|
+
type: {
|
|
262
|
+
type: PropType<import("../button").ButtonType>;
|
|
263
|
+
default: string;
|
|
264
|
+
};
|
|
265
|
+
size: {
|
|
266
|
+
type: PropType<import("../button").ButtonSize>;
|
|
267
|
+
default: string;
|
|
268
|
+
};
|
|
269
|
+
block: {
|
|
270
|
+
type: PropType<boolean>;
|
|
271
|
+
default: boolean;
|
|
272
|
+
};
|
|
273
|
+
}>> & Readonly<{
|
|
274
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
275
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
276
|
+
click: (...args: any[]) => void;
|
|
277
|
+
}, string, {
|
|
278
|
+
color: string;
|
|
279
|
+
shape: import("../button").ButtonShape;
|
|
280
|
+
plain: boolean;
|
|
281
|
+
loading: boolean;
|
|
282
|
+
disabled: boolean;
|
|
283
|
+
type: import("../button").ButtonType;
|
|
284
|
+
size: import("../button").ButtonSize;
|
|
285
|
+
block: boolean;
|
|
286
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
287
|
+
$slots: {
|
|
288
|
+
icon?(_: {}): any;
|
|
289
|
+
default?(_: {}): any;
|
|
290
|
+
};
|
|
291
|
+
});
|
|
292
|
+
Refresh2: import("vue").DefineComponent<{
|
|
293
|
+
class: {
|
|
294
|
+
type: StringConstructor;
|
|
295
|
+
default: string;
|
|
296
|
+
};
|
|
297
|
+
name: {
|
|
298
|
+
type: StringConstructor;
|
|
299
|
+
default: string;
|
|
300
|
+
};
|
|
301
|
+
color: {
|
|
302
|
+
type: StringConstructor;
|
|
303
|
+
default: string;
|
|
304
|
+
};
|
|
305
|
+
width: {
|
|
306
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
307
|
+
default: string;
|
|
308
|
+
};
|
|
309
|
+
height: {
|
|
310
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
311
|
+
default: string;
|
|
312
|
+
};
|
|
313
|
+
}, {
|
|
314
|
+
classes: import("vue").ComputedRef<{
|
|
315
|
+
[x: string]: string | boolean;
|
|
316
|
+
"nut-icon": boolean;
|
|
317
|
+
}>;
|
|
318
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
319
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
320
|
+
class: {
|
|
321
|
+
type: StringConstructor;
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
|
+
name: {
|
|
325
|
+
type: StringConstructor;
|
|
326
|
+
default: string;
|
|
327
|
+
};
|
|
328
|
+
color: {
|
|
329
|
+
type: StringConstructor;
|
|
330
|
+
default: string;
|
|
331
|
+
};
|
|
332
|
+
width: {
|
|
333
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
334
|
+
default: string;
|
|
335
|
+
};
|
|
336
|
+
height: {
|
|
337
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
338
|
+
default: string;
|
|
339
|
+
};
|
|
340
|
+
}>>, {
|
|
341
|
+
name: string;
|
|
342
|
+
width: string | number;
|
|
343
|
+
height: string | number;
|
|
344
|
+
color: string;
|
|
345
|
+
class: string;
|
|
346
|
+
}>;
|
|
347
|
+
Retweet: import("vue").DefineComponent<{
|
|
348
|
+
class: {
|
|
349
|
+
type: StringConstructor;
|
|
350
|
+
default: string;
|
|
351
|
+
};
|
|
352
|
+
name: {
|
|
353
|
+
type: StringConstructor;
|
|
354
|
+
default: string;
|
|
355
|
+
};
|
|
356
|
+
color: {
|
|
357
|
+
type: StringConstructor;
|
|
358
|
+
default: string;
|
|
359
|
+
};
|
|
360
|
+
width: {
|
|
361
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
362
|
+
default: string;
|
|
363
|
+
};
|
|
364
|
+
height: {
|
|
365
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
366
|
+
default: string;
|
|
367
|
+
};
|
|
368
|
+
}, {
|
|
369
|
+
classes: import("vue").ComputedRef<{
|
|
370
|
+
[x: string]: string | boolean;
|
|
371
|
+
"nut-icon": boolean;
|
|
372
|
+
}>;
|
|
373
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
374
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
375
|
+
class: {
|
|
376
|
+
type: StringConstructor;
|
|
377
|
+
default: string;
|
|
378
|
+
};
|
|
379
|
+
name: {
|
|
380
|
+
type: StringConstructor;
|
|
381
|
+
default: string;
|
|
382
|
+
};
|
|
383
|
+
color: {
|
|
384
|
+
type: StringConstructor;
|
|
385
|
+
default: string;
|
|
386
|
+
};
|
|
387
|
+
width: {
|
|
388
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
389
|
+
default: string;
|
|
390
|
+
};
|
|
391
|
+
height: {
|
|
392
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
393
|
+
default: string;
|
|
394
|
+
};
|
|
395
|
+
}>>, {
|
|
396
|
+
name: string;
|
|
397
|
+
width: string | number;
|
|
398
|
+
height: string | number;
|
|
399
|
+
color: string;
|
|
400
|
+
class: string;
|
|
401
|
+
}>;
|
|
402
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
103
403
|
export default _default;
|
|
104
404
|
|
|
105
405
|
declare module 'vue' {
|
|
@@ -4,7 +4,7 @@ import { type AvatarShape, type AvatarZIndex } from '../avatar/types';
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
5
|
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
8
8
|
maxContent: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
default: string;
|
|
@@ -37,13 +37,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
37
37
|
type: PropType<AvatarZIndex>;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
}
|
|
40
|
+
}>, {
|
|
41
41
|
styles: import("vue").ComputedRef<{
|
|
42
42
|
marginLeft: string;
|
|
43
43
|
}>;
|
|
44
|
-
foldCount: import("vue").Ref<number>;
|
|
45
|
-
avatarGroupRef: import("vue").Ref<any>;
|
|
46
|
-
},
|
|
44
|
+
foldCount: import("vue").Ref<number, number>;
|
|
45
|
+
avatarGroupRef: import("vue").Ref<any, any>;
|
|
46
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
47
47
|
maxContent: {
|
|
48
48
|
type: StringConstructor;
|
|
49
49
|
default: string;
|
|
@@ -76,7 +76,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
76
76
|
type: PropType<AvatarZIndex>;
|
|
77
77
|
default: string;
|
|
78
78
|
};
|
|
79
|
-
}
|
|
79
|
+
}>> & Readonly<{}>, {
|
|
80
80
|
shape: AvatarShape;
|
|
81
81
|
size: string | number;
|
|
82
82
|
span: string | number;
|
|
@@ -85,7 +85,55 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
85
85
|
maxCount: string | number;
|
|
86
86
|
maxBgColor: string;
|
|
87
87
|
maxColor: string;
|
|
88
|
-
}, {}
|
|
88
|
+
}, {}, {
|
|
89
|
+
NutAvatar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
90
|
+
size: {
|
|
91
|
+
type: PropType<string | number>;
|
|
92
|
+
default: string;
|
|
93
|
+
};
|
|
94
|
+
shape: {
|
|
95
|
+
type: PropType<AvatarShape>;
|
|
96
|
+
default: string;
|
|
97
|
+
};
|
|
98
|
+
bgColor: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
color: {
|
|
103
|
+
type: StringConstructor;
|
|
104
|
+
default: string;
|
|
105
|
+
};
|
|
106
|
+
}>, {
|
|
107
|
+
classes: import("vue").ComputedRef<{
|
|
108
|
+
[x: string]: boolean;
|
|
109
|
+
"nut-avatar": boolean;
|
|
110
|
+
}>;
|
|
111
|
+
styles: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
112
|
+
avatarRef: import("vue").Ref<null, null>;
|
|
113
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
114
|
+
size: {
|
|
115
|
+
type: PropType<string | number>;
|
|
116
|
+
default: string;
|
|
117
|
+
};
|
|
118
|
+
shape: {
|
|
119
|
+
type: PropType<AvatarShape>;
|
|
120
|
+
default: string;
|
|
121
|
+
};
|
|
122
|
+
bgColor: {
|
|
123
|
+
type: StringConstructor;
|
|
124
|
+
default: string;
|
|
125
|
+
};
|
|
126
|
+
color: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
default: string;
|
|
129
|
+
};
|
|
130
|
+
}>> & Readonly<{}>, {
|
|
131
|
+
color: string;
|
|
132
|
+
shape: AvatarShape;
|
|
133
|
+
size: string | number;
|
|
134
|
+
bgColor: string;
|
|
135
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
136
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
89
137
|
export default _default;
|
|
90
138
|
|
|
91
139
|
declare module 'vue' {
|
|
@@ -8,7 +8,7 @@ export type BacktopProps = Partial<{
|
|
|
8
8
|
isAnimation: boolean;
|
|
9
9
|
duration: number;
|
|
10
10
|
}>;
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
12
12
|
bottom: number;
|
|
13
13
|
right: number;
|
|
14
14
|
elId: string;
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
zIndex: number;
|
|
25
25
|
isAnimation: boolean;
|
|
26
26
|
duration: number;
|
|
27
|
-
}
|
|
27
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
28
28
|
click: (...args: any[]) => void;
|
|
29
29
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
30
30
|
bottom: number;
|
|
@@ -42,17 +42,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
42
42
|
zIndex: number;
|
|
43
43
|
isAnimation: boolean;
|
|
44
44
|
duration: number;
|
|
45
|
-
}>>> & {
|
|
45
|
+
}>>> & Readonly<{
|
|
46
46
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
}
|
|
47
|
+
}>, {
|
|
48
|
+
duration: number;
|
|
48
49
|
bottom: number;
|
|
49
50
|
right: number;
|
|
50
51
|
zIndex: number;
|
|
51
|
-
duration: number;
|
|
52
52
|
elId: string;
|
|
53
53
|
distance: number;
|
|
54
54
|
isAnimation: boolean;
|
|
55
|
-
}, {}>, {
|
|
55
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
56
56
|
default?(_: {}): any;
|
|
57
57
|
}>;
|
|
58
58
|
declare const _nut_default: WithInstall<typeof _default>;
|
|
@@ -10,7 +10,7 @@ export type BadgeProps = Partial<{
|
|
|
10
10
|
zIndex: number;
|
|
11
11
|
color: string;
|
|
12
12
|
}>;
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
14
14
|
value: string | number;
|
|
15
15
|
max: number;
|
|
16
16
|
dot: boolean;
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
29
29
|
right: string;
|
|
30
30
|
zIndex: number;
|
|
31
31
|
color: string;
|
|
32
|
-
}
|
|
32
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
33
33
|
value: string | number;
|
|
34
34
|
max: number;
|
|
35
35
|
dot: boolean;
|
|
@@ -48,16 +48,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
right: string;
|
|
49
49
|
zIndex: number;
|
|
50
50
|
color: string;
|
|
51
|
-
}
|
|
51
|
+
}>>> & Readonly<{}>, {
|
|
52
52
|
color: string;
|
|
53
|
+
max: number;
|
|
53
54
|
right: string;
|
|
54
55
|
top: string;
|
|
55
56
|
zIndex: number;
|
|
56
57
|
hidden: boolean;
|
|
57
58
|
dot: boolean;
|
|
58
|
-
max: number;
|
|
59
59
|
bubble: boolean;
|
|
60
|
-
}, {}>, {
|
|
60
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
61
61
|
icon?(_: {}): any;
|
|
62
62
|
default?(_: {}): any;
|
|
63
63
|
}>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
6
|
danmu: {
|
|
7
7
|
type: ArrayConstructor;
|
|
8
8
|
default: () => never[];
|
|
@@ -27,13 +27,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
|
-
}
|
|
30
|
+
}>, {
|
|
31
31
|
classTime: number;
|
|
32
32
|
danmuList: any;
|
|
33
|
-
dmBody: import("vue").Ref<HTMLDivElement>;
|
|
34
|
-
dmContainer: import("vue").Ref<HTMLDivElement>;
|
|
33
|
+
dmBody: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
34
|
+
dmContainer: import("vue").Ref<HTMLDivElement, HTMLDivElement>;
|
|
35
35
|
add: (word: string) => void;
|
|
36
|
-
},
|
|
36
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
37
|
danmu: {
|
|
38
38
|
type: ArrayConstructor;
|
|
39
39
|
default: () => never[];
|
|
@@ -58,14 +58,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
58
58
|
type: BooleanConstructor;
|
|
59
59
|
default: boolean;
|
|
60
60
|
};
|
|
61
|
-
}
|
|
61
|
+
}>> & Readonly<{}>, {
|
|
62
62
|
top: number;
|
|
63
63
|
rows: number;
|
|
64
64
|
loop: boolean;
|
|
65
65
|
danmu: unknown[];
|
|
66
66
|
frequency: number;
|
|
67
67
|
speeds: number;
|
|
68
|
-
}, {}>>;
|
|
68
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
69
69
|
export default _default;
|
|
70
70
|
|
|
71
71
|
declare module 'vue' {
|
|
@@ -10,7 +10,7 @@ export type ButtonProps = Partial<{
|
|
|
10
10
|
size: ButtonSize;
|
|
11
11
|
block: boolean;
|
|
12
12
|
}>;
|
|
13
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
13
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
14
14
|
color: string;
|
|
15
15
|
shape: ButtonShape;
|
|
16
16
|
plain: boolean;
|
|
@@ -28,7 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
28
28
|
type: string;
|
|
29
29
|
size: string;
|
|
30
30
|
block: boolean;
|
|
31
|
-
}
|
|
31
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
32
32
|
click: (...args: any[]) => void;
|
|
33
33
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
34
34
|
color: string;
|
|
@@ -48,9 +48,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
48
48
|
type: string;
|
|
49
49
|
size: string;
|
|
50
50
|
block: boolean;
|
|
51
|
-
}>>> & {
|
|
51
|
+
}>>> & Readonly<{
|
|
52
52
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
}
|
|
53
|
+
}>, {
|
|
54
54
|
color: string;
|
|
55
55
|
shape: ButtonShape;
|
|
56
56
|
plain: boolean;
|
|
@@ -59,7 +59,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
59
59
|
type: ButtonType;
|
|
60
60
|
size: ButtonSize;
|
|
61
61
|
block: boolean;
|
|
62
|
-
}, {}>, {
|
|
62
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
63
63
|
icon?(_: {}): any;
|
|
64
64
|
default?(_: {}): any;
|
|
65
65
|
}>;
|