@nutui/nutui 4.3.12 → 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/CHANGELOG.md +18 -0
- package/README.md +31 -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/tabs/index.scss +1 -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
|
@@ -10,7 +10,7 @@ export type TrendArrowProps = Partial<{
|
|
|
10
10
|
riseColor: string;
|
|
11
11
|
dropColor: 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
|
rate: number;
|
|
15
15
|
digits: number;
|
|
16
16
|
showSign: boolean;
|
|
@@ -30,7 +30,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
30
|
textColor: string;
|
|
31
31
|
riseColor: string;
|
|
32
32
|
dropColor: string;
|
|
33
|
-
}
|
|
33
|
+
}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
34
34
|
rate: number;
|
|
35
35
|
digits: number;
|
|
36
36
|
showSign: boolean;
|
|
@@ -50,7 +50,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
50
50
|
textColor: string;
|
|
51
51
|
riseColor: string;
|
|
52
52
|
dropColor: string;
|
|
53
|
-
}
|
|
53
|
+
}>>> & Readonly<{}>, {
|
|
54
54
|
rate: number;
|
|
55
55
|
textColor: string;
|
|
56
56
|
digits: number;
|
|
@@ -60,7 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
60
60
|
syncTextColor: boolean;
|
|
61
61
|
riseColor: string;
|
|
62
62
|
dropColor: string;
|
|
63
|
-
}, {}>, {
|
|
63
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
64
64
|
"up-icon"?(_: {}): any;
|
|
65
65
|
"down-icon"?(_: {}): any;
|
|
66
66
|
}>;
|
|
@@ -5,7 +5,7 @@ import { Interceptor } from '@/packages/utils/util';
|
|
|
5
5
|
declare type Install<T> = T & {
|
|
6
6
|
install(app: import('vue').App): void;
|
|
7
7
|
};
|
|
8
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
9
|
name: {
|
|
10
10
|
type: StringConstructor;
|
|
11
11
|
default: string;
|
|
@@ -101,7 +101,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
101
101
|
onChange: {
|
|
102
102
|
type: FunctionConstructor;
|
|
103
103
|
};
|
|
104
|
-
}
|
|
104
|
+
}>, {
|
|
105
105
|
onChange: (event: InputEvent) => void;
|
|
106
106
|
onDelete: (file: FileItem, index: number) => void;
|
|
107
107
|
fileList: import("vue").Ref<{
|
|
@@ -114,6 +114,16 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
114
114
|
path?: string | undefined;
|
|
115
115
|
percentage: string | number;
|
|
116
116
|
formData: any;
|
|
117
|
+
}[], FileItem[] | {
|
|
118
|
+
status: import("./type").FileItemStatus;
|
|
119
|
+
message: string;
|
|
120
|
+
uid: string;
|
|
121
|
+
name?: string | undefined;
|
|
122
|
+
url?: string | undefined;
|
|
123
|
+
type?: string | undefined;
|
|
124
|
+
path?: string | undefined;
|
|
125
|
+
percentage: string | number;
|
|
126
|
+
formData: any;
|
|
117
127
|
}[]>;
|
|
118
128
|
fileItemClick: (fileItem: FileItem) => void;
|
|
119
129
|
clearUploadQueue: (index?: number) => void;
|
|
@@ -121,7 +131,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
121
131
|
renderInput: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
122
132
|
[key: string]: any;
|
|
123
133
|
}>;
|
|
124
|
-
},
|
|
134
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "change" | "progress" | "delete" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "success" | "change" | "progress" | "delete" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
125
135
|
name: {
|
|
126
136
|
type: StringConstructor;
|
|
127
137
|
default: string;
|
|
@@ -217,7 +227,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
217
227
|
onChange: {
|
|
218
228
|
type: FunctionConstructor;
|
|
219
229
|
};
|
|
220
|
-
}>> & {
|
|
230
|
+
}>> & Readonly<{
|
|
221
231
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
222
232
|
onProgress?: ((...args: any[]) => any) | undefined;
|
|
223
233
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
@@ -227,14 +237,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
227
237
|
onOversize?: ((...args: any[]) => any) | undefined;
|
|
228
238
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
229
239
|
onFileItemClick?: ((...args: any[]) => any) | undefined;
|
|
230
|
-
}
|
|
240
|
+
}>, {
|
|
231
241
|
name: string;
|
|
232
242
|
disabled: boolean;
|
|
243
|
+
timeout: string | number;
|
|
233
244
|
data: Record<string, any>;
|
|
234
245
|
url: string;
|
|
235
246
|
maximum: string | number;
|
|
236
247
|
multiple: boolean;
|
|
237
|
-
timeout: string | number;
|
|
238
248
|
fileList: any[];
|
|
239
249
|
isPreview: boolean;
|
|
240
250
|
listType: string;
|
|
@@ -251,7 +261,470 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
251
261
|
beforeUpload: Function;
|
|
252
262
|
beforeXhrUpload: Function;
|
|
253
263
|
beforeDelete: Interceptor;
|
|
254
|
-
}, {}
|
|
264
|
+
}, {}, {
|
|
265
|
+
NutProgress: {
|
|
266
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
|
|
267
|
+
size: {
|
|
268
|
+
type: PropType<import("../progress").ProgressSize>;
|
|
269
|
+
default: string;
|
|
270
|
+
};
|
|
271
|
+
strokeWidth: {
|
|
272
|
+
type: PropType<string | number>;
|
|
273
|
+
};
|
|
274
|
+
percentage: {
|
|
275
|
+
type: PropType<string | number>;
|
|
276
|
+
default: number;
|
|
277
|
+
};
|
|
278
|
+
status: {
|
|
279
|
+
type: PropType<import("../progress").ProgressStatus>;
|
|
280
|
+
default: string;
|
|
281
|
+
};
|
|
282
|
+
textInside: {
|
|
283
|
+
type: PropType<boolean>;
|
|
284
|
+
default: boolean;
|
|
285
|
+
};
|
|
286
|
+
showText: {
|
|
287
|
+
type: PropType<boolean>;
|
|
288
|
+
default: boolean;
|
|
289
|
+
};
|
|
290
|
+
strokeColor: {
|
|
291
|
+
type: PropType<string>;
|
|
292
|
+
};
|
|
293
|
+
textColor: {
|
|
294
|
+
type: PropType<string>;
|
|
295
|
+
};
|
|
296
|
+
textBackground: {
|
|
297
|
+
type: PropType<string>;
|
|
298
|
+
};
|
|
299
|
+
isShowPercentage: {
|
|
300
|
+
type: PropType<boolean>;
|
|
301
|
+
default: boolean;
|
|
302
|
+
};
|
|
303
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
304
|
+
size: {
|
|
305
|
+
type: PropType<import("../progress").ProgressSize>;
|
|
306
|
+
default: string;
|
|
307
|
+
};
|
|
308
|
+
strokeWidth: {
|
|
309
|
+
type: PropType<string | number>;
|
|
310
|
+
};
|
|
311
|
+
percentage: {
|
|
312
|
+
type: PropType<string | number>;
|
|
313
|
+
default: number;
|
|
314
|
+
};
|
|
315
|
+
status: {
|
|
316
|
+
type: PropType<import("../progress").ProgressStatus>;
|
|
317
|
+
default: string;
|
|
318
|
+
};
|
|
319
|
+
textInside: {
|
|
320
|
+
type: PropType<boolean>;
|
|
321
|
+
default: boolean;
|
|
322
|
+
};
|
|
323
|
+
showText: {
|
|
324
|
+
type: PropType<boolean>;
|
|
325
|
+
default: boolean;
|
|
326
|
+
};
|
|
327
|
+
strokeColor: {
|
|
328
|
+
type: PropType<string>;
|
|
329
|
+
};
|
|
330
|
+
textColor: {
|
|
331
|
+
type: PropType<string>;
|
|
332
|
+
};
|
|
333
|
+
textBackground: {
|
|
334
|
+
type: PropType<string>;
|
|
335
|
+
};
|
|
336
|
+
isShowPercentage: {
|
|
337
|
+
type: PropType<boolean>;
|
|
338
|
+
default: boolean;
|
|
339
|
+
};
|
|
340
|
+
}>> & Readonly<{}>, {
|
|
341
|
+
size: import("../progress").ProgressSize;
|
|
342
|
+
percentage: string | number;
|
|
343
|
+
status: import("../progress").ProgressStatus;
|
|
344
|
+
textInside: boolean;
|
|
345
|
+
showText: boolean;
|
|
346
|
+
isShowPercentage: boolean;
|
|
347
|
+
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
348
|
+
P: {};
|
|
349
|
+
B: {};
|
|
350
|
+
D: {};
|
|
351
|
+
C: {};
|
|
352
|
+
M: {};
|
|
353
|
+
Defaults: {};
|
|
354
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
355
|
+
size: {
|
|
356
|
+
type: PropType<import("../progress").ProgressSize>;
|
|
357
|
+
default: string;
|
|
358
|
+
};
|
|
359
|
+
strokeWidth: {
|
|
360
|
+
type: PropType<string | number>;
|
|
361
|
+
};
|
|
362
|
+
percentage: {
|
|
363
|
+
type: PropType<string | number>;
|
|
364
|
+
default: number;
|
|
365
|
+
};
|
|
366
|
+
status: {
|
|
367
|
+
type: PropType<import("../progress").ProgressStatus>;
|
|
368
|
+
default: string;
|
|
369
|
+
};
|
|
370
|
+
textInside: {
|
|
371
|
+
type: PropType<boolean>;
|
|
372
|
+
default: boolean;
|
|
373
|
+
};
|
|
374
|
+
showText: {
|
|
375
|
+
type: PropType<boolean>;
|
|
376
|
+
default: boolean;
|
|
377
|
+
};
|
|
378
|
+
strokeColor: {
|
|
379
|
+
type: PropType<string>;
|
|
380
|
+
};
|
|
381
|
+
textColor: {
|
|
382
|
+
type: PropType<string>;
|
|
383
|
+
};
|
|
384
|
+
textBackground: {
|
|
385
|
+
type: PropType<string>;
|
|
386
|
+
};
|
|
387
|
+
isShowPercentage: {
|
|
388
|
+
type: PropType<boolean>;
|
|
389
|
+
default: boolean;
|
|
390
|
+
};
|
|
391
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, {
|
|
392
|
+
size: import("../progress").ProgressSize;
|
|
393
|
+
percentage: string | number;
|
|
394
|
+
status: import("../progress").ProgressStatus;
|
|
395
|
+
textInside: boolean;
|
|
396
|
+
showText: boolean;
|
|
397
|
+
isShowPercentage: boolean;
|
|
398
|
+
}>;
|
|
399
|
+
__isFragment?: undefined;
|
|
400
|
+
__isTeleport?: undefined;
|
|
401
|
+
__isSuspense?: undefined;
|
|
402
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
403
|
+
size: {
|
|
404
|
+
type: PropType<import("../progress").ProgressSize>;
|
|
405
|
+
default: string;
|
|
406
|
+
};
|
|
407
|
+
strokeWidth: {
|
|
408
|
+
type: PropType<string | number>;
|
|
409
|
+
};
|
|
410
|
+
percentage: {
|
|
411
|
+
type: PropType<string | number>;
|
|
412
|
+
default: number;
|
|
413
|
+
};
|
|
414
|
+
status: {
|
|
415
|
+
type: PropType<import("../progress").ProgressStatus>;
|
|
416
|
+
default: string;
|
|
417
|
+
};
|
|
418
|
+
textInside: {
|
|
419
|
+
type: PropType<boolean>;
|
|
420
|
+
default: boolean;
|
|
421
|
+
};
|
|
422
|
+
showText: {
|
|
423
|
+
type: PropType<boolean>;
|
|
424
|
+
default: boolean;
|
|
425
|
+
};
|
|
426
|
+
strokeColor: {
|
|
427
|
+
type: PropType<string>;
|
|
428
|
+
};
|
|
429
|
+
textColor: {
|
|
430
|
+
type: PropType<string>;
|
|
431
|
+
};
|
|
432
|
+
textBackground: {
|
|
433
|
+
type: PropType<string>;
|
|
434
|
+
};
|
|
435
|
+
isShowPercentage: {
|
|
436
|
+
type: PropType<boolean>;
|
|
437
|
+
default: boolean;
|
|
438
|
+
};
|
|
439
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
440
|
+
size: import("../progress").ProgressSize;
|
|
441
|
+
percentage: string | number;
|
|
442
|
+
status: import("../progress").ProgressStatus;
|
|
443
|
+
textInside: boolean;
|
|
444
|
+
showText: boolean;
|
|
445
|
+
isShowPercentage: boolean;
|
|
446
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
447
|
+
$slots: {
|
|
448
|
+
default?(_: {}): any;
|
|
449
|
+
"icon-name"?(_: {}): any;
|
|
450
|
+
};
|
|
451
|
+
});
|
|
452
|
+
Photograph: import("vue").DefineComponent<{
|
|
453
|
+
class: {
|
|
454
|
+
type: StringConstructor;
|
|
455
|
+
default: string;
|
|
456
|
+
};
|
|
457
|
+
name: {
|
|
458
|
+
type: StringConstructor;
|
|
459
|
+
default: string;
|
|
460
|
+
};
|
|
461
|
+
color: {
|
|
462
|
+
type: StringConstructor;
|
|
463
|
+
default: string;
|
|
464
|
+
};
|
|
465
|
+
width: {
|
|
466
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
467
|
+
default: string;
|
|
468
|
+
};
|
|
469
|
+
height: {
|
|
470
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
471
|
+
default: string;
|
|
472
|
+
};
|
|
473
|
+
}, {
|
|
474
|
+
classes: import("vue").ComputedRef<{
|
|
475
|
+
[x: string]: string | boolean;
|
|
476
|
+
"nut-icon": boolean;
|
|
477
|
+
}>;
|
|
478
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
479
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
480
|
+
class: {
|
|
481
|
+
type: StringConstructor;
|
|
482
|
+
default: string;
|
|
483
|
+
};
|
|
484
|
+
name: {
|
|
485
|
+
type: StringConstructor;
|
|
486
|
+
default: string;
|
|
487
|
+
};
|
|
488
|
+
color: {
|
|
489
|
+
type: StringConstructor;
|
|
490
|
+
default: string;
|
|
491
|
+
};
|
|
492
|
+
width: {
|
|
493
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
494
|
+
default: string;
|
|
495
|
+
};
|
|
496
|
+
height: {
|
|
497
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
498
|
+
default: string;
|
|
499
|
+
};
|
|
500
|
+
}>>, {
|
|
501
|
+
name: string;
|
|
502
|
+
width: string | number;
|
|
503
|
+
height: string | number;
|
|
504
|
+
color: string;
|
|
505
|
+
class: string;
|
|
506
|
+
}>;
|
|
507
|
+
Failure: import("vue").DefineComponent<{
|
|
508
|
+
class: {
|
|
509
|
+
type: StringConstructor;
|
|
510
|
+
default: string;
|
|
511
|
+
};
|
|
512
|
+
name: {
|
|
513
|
+
type: StringConstructor;
|
|
514
|
+
default: string;
|
|
515
|
+
};
|
|
516
|
+
color: {
|
|
517
|
+
type: StringConstructor;
|
|
518
|
+
default: string;
|
|
519
|
+
};
|
|
520
|
+
width: {
|
|
521
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
522
|
+
default: string;
|
|
523
|
+
};
|
|
524
|
+
height: {
|
|
525
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
526
|
+
default: string;
|
|
527
|
+
};
|
|
528
|
+
}, {
|
|
529
|
+
classes: import("vue").ComputedRef<{
|
|
530
|
+
[x: string]: string | boolean;
|
|
531
|
+
"nut-icon": boolean;
|
|
532
|
+
}>;
|
|
533
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
534
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
535
|
+
class: {
|
|
536
|
+
type: StringConstructor;
|
|
537
|
+
default: string;
|
|
538
|
+
};
|
|
539
|
+
name: {
|
|
540
|
+
type: StringConstructor;
|
|
541
|
+
default: string;
|
|
542
|
+
};
|
|
543
|
+
color: {
|
|
544
|
+
type: StringConstructor;
|
|
545
|
+
default: string;
|
|
546
|
+
};
|
|
547
|
+
width: {
|
|
548
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
549
|
+
default: string;
|
|
550
|
+
};
|
|
551
|
+
height: {
|
|
552
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
553
|
+
default: string;
|
|
554
|
+
};
|
|
555
|
+
}>>, {
|
|
556
|
+
name: string;
|
|
557
|
+
width: string | number;
|
|
558
|
+
height: string | number;
|
|
559
|
+
color: string;
|
|
560
|
+
class: string;
|
|
561
|
+
}>;
|
|
562
|
+
Loading: import("vue").DefineComponent<{
|
|
563
|
+
class: {
|
|
564
|
+
type: StringConstructor;
|
|
565
|
+
default: string;
|
|
566
|
+
};
|
|
567
|
+
name: {
|
|
568
|
+
type: StringConstructor;
|
|
569
|
+
default: string;
|
|
570
|
+
};
|
|
571
|
+
color: {
|
|
572
|
+
type: StringConstructor;
|
|
573
|
+
default: string;
|
|
574
|
+
};
|
|
575
|
+
width: {
|
|
576
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
577
|
+
default: string;
|
|
578
|
+
};
|
|
579
|
+
height: {
|
|
580
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
581
|
+
default: string;
|
|
582
|
+
};
|
|
583
|
+
}, {
|
|
584
|
+
classes: import("vue").ComputedRef<{
|
|
585
|
+
[x: string]: string | boolean;
|
|
586
|
+
"nut-icon": boolean;
|
|
587
|
+
}>;
|
|
588
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
589
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
590
|
+
class: {
|
|
591
|
+
type: StringConstructor;
|
|
592
|
+
default: string;
|
|
593
|
+
};
|
|
594
|
+
name: {
|
|
595
|
+
type: StringConstructor;
|
|
596
|
+
default: string;
|
|
597
|
+
};
|
|
598
|
+
color: {
|
|
599
|
+
type: StringConstructor;
|
|
600
|
+
default: string;
|
|
601
|
+
};
|
|
602
|
+
width: {
|
|
603
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
604
|
+
default: string;
|
|
605
|
+
};
|
|
606
|
+
height: {
|
|
607
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
608
|
+
default: string;
|
|
609
|
+
};
|
|
610
|
+
}>>, {
|
|
611
|
+
name: string;
|
|
612
|
+
width: string | number;
|
|
613
|
+
height: string | number;
|
|
614
|
+
color: string;
|
|
615
|
+
class: string;
|
|
616
|
+
}>;
|
|
617
|
+
Del: import("vue").DefineComponent<{
|
|
618
|
+
class: {
|
|
619
|
+
type: StringConstructor;
|
|
620
|
+
default: string;
|
|
621
|
+
};
|
|
622
|
+
name: {
|
|
623
|
+
type: StringConstructor;
|
|
624
|
+
default: string;
|
|
625
|
+
};
|
|
626
|
+
color: {
|
|
627
|
+
type: StringConstructor;
|
|
628
|
+
default: string;
|
|
629
|
+
};
|
|
630
|
+
width: {
|
|
631
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
632
|
+
default: string;
|
|
633
|
+
};
|
|
634
|
+
height: {
|
|
635
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
636
|
+
default: string;
|
|
637
|
+
};
|
|
638
|
+
}, {
|
|
639
|
+
classes: import("vue").ComputedRef<{
|
|
640
|
+
[x: string]: string | boolean;
|
|
641
|
+
"nut-icon": boolean;
|
|
642
|
+
}>;
|
|
643
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
644
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
645
|
+
class: {
|
|
646
|
+
type: StringConstructor;
|
|
647
|
+
default: string;
|
|
648
|
+
};
|
|
649
|
+
name: {
|
|
650
|
+
type: StringConstructor;
|
|
651
|
+
default: string;
|
|
652
|
+
};
|
|
653
|
+
color: {
|
|
654
|
+
type: StringConstructor;
|
|
655
|
+
default: string;
|
|
656
|
+
};
|
|
657
|
+
width: {
|
|
658
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
659
|
+
default: string;
|
|
660
|
+
};
|
|
661
|
+
height: {
|
|
662
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
663
|
+
default: string;
|
|
664
|
+
};
|
|
665
|
+
}>>, {
|
|
666
|
+
name: string;
|
|
667
|
+
width: string | number;
|
|
668
|
+
height: string | number;
|
|
669
|
+
color: string;
|
|
670
|
+
class: string;
|
|
671
|
+
}>;
|
|
672
|
+
Link: import("vue").DefineComponent<{
|
|
673
|
+
class: {
|
|
674
|
+
type: StringConstructor;
|
|
675
|
+
default: string;
|
|
676
|
+
};
|
|
677
|
+
name: {
|
|
678
|
+
type: StringConstructor;
|
|
679
|
+
default: string;
|
|
680
|
+
};
|
|
681
|
+
color: {
|
|
682
|
+
type: StringConstructor;
|
|
683
|
+
default: string;
|
|
684
|
+
};
|
|
685
|
+
width: {
|
|
686
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
687
|
+
default: string;
|
|
688
|
+
};
|
|
689
|
+
height: {
|
|
690
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
691
|
+
default: string;
|
|
692
|
+
};
|
|
693
|
+
}, {
|
|
694
|
+
classes: import("vue").ComputedRef<{
|
|
695
|
+
[x: string]: string | boolean;
|
|
696
|
+
"nut-icon": boolean;
|
|
697
|
+
}>;
|
|
698
|
+
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
699
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
700
|
+
class: {
|
|
701
|
+
type: StringConstructor;
|
|
702
|
+
default: string;
|
|
703
|
+
};
|
|
704
|
+
name: {
|
|
705
|
+
type: StringConstructor;
|
|
706
|
+
default: string;
|
|
707
|
+
};
|
|
708
|
+
color: {
|
|
709
|
+
type: StringConstructor;
|
|
710
|
+
default: string;
|
|
711
|
+
};
|
|
712
|
+
width: {
|
|
713
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
714
|
+
default: string;
|
|
715
|
+
};
|
|
716
|
+
height: {
|
|
717
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
718
|
+
default: string;
|
|
719
|
+
};
|
|
720
|
+
}>>, {
|
|
721
|
+
name: string;
|
|
722
|
+
width: string | number;
|
|
723
|
+
height: string | number;
|
|
724
|
+
color: string;
|
|
725
|
+
class: string;
|
|
726
|
+
}>;
|
|
727
|
+
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
255
728
|
export default _default;
|
|
256
729
|
|
|
257
730
|
declare module 'vue' {
|
|
@@ -3,7 +3,7 @@ import { Ref } from 'vue';
|
|
|
3
3
|
declare type Install<T> = T & {
|
|
4
4
|
install(app: import('vue').App): void;
|
|
5
5
|
};
|
|
6
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
declare const _default: Install< import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
source: {
|
|
8
8
|
type: ObjectConstructor;
|
|
9
9
|
default: {};
|
|
@@ -28,7 +28,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
28
28
|
type: StringConstructor;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
31
|
-
}
|
|
31
|
+
}>, {
|
|
32
32
|
handleError: () => void;
|
|
33
33
|
isDisabled: import("vue").ComputedRef<any>;
|
|
34
34
|
play: () => false | undefined;
|
|
@@ -39,16 +39,22 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
39
39
|
retry: () => void;
|
|
40
40
|
fullScreen: () => void;
|
|
41
41
|
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
42
|
-
videoElm: Ref<null>;
|
|
43
|
-
initial: Ref<boolean>;
|
|
44
|
-
showToolbox: Ref<boolean>;
|
|
42
|
+
videoElm: Ref<null, null>;
|
|
43
|
+
initial: Ref<boolean, boolean>;
|
|
44
|
+
showToolbox: Ref<boolean, boolean>;
|
|
45
45
|
player: Ref<{
|
|
46
46
|
$player: null;
|
|
47
47
|
pos: null;
|
|
48
|
+
}, {
|
|
49
|
+
$player: null;
|
|
50
|
+
pos: null;
|
|
48
51
|
}>;
|
|
49
52
|
progressBar: Ref<{
|
|
50
53
|
progressElm: null;
|
|
51
54
|
pos: null;
|
|
55
|
+
}, {
|
|
56
|
+
progressElm: null;
|
|
57
|
+
pos: null;
|
|
52
58
|
}>;
|
|
53
59
|
videoSet: Ref<{
|
|
54
60
|
loaded: number;
|
|
@@ -58,6 +64,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
58
64
|
width: number;
|
|
59
65
|
current: number;
|
|
60
66
|
};
|
|
67
|
+
}, {
|
|
68
|
+
loaded: number;
|
|
69
|
+
displayTime: string;
|
|
70
|
+
totalTime: string;
|
|
71
|
+
progress: {
|
|
72
|
+
width: number;
|
|
73
|
+
current: number;
|
|
74
|
+
};
|
|
61
75
|
}>;
|
|
62
76
|
state: Ref<{
|
|
63
77
|
controlShow: boolean;
|
|
@@ -69,18 +83,28 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
69
83
|
isEnd: boolean;
|
|
70
84
|
isError: boolean;
|
|
71
85
|
isMuted: boolean;
|
|
86
|
+
}, {
|
|
87
|
+
controlShow: boolean;
|
|
88
|
+
vol: number;
|
|
89
|
+
currentTime: number;
|
|
90
|
+
fullScreen: boolean;
|
|
91
|
+
playing: boolean;
|
|
92
|
+
isLoading: boolean;
|
|
93
|
+
isEnd: boolean;
|
|
94
|
+
isError: boolean;
|
|
95
|
+
isMuted: boolean;
|
|
72
96
|
}>;
|
|
73
|
-
showTouchMask: Ref<boolean>;
|
|
74
|
-
source: Ref<Record<string, any>>;
|
|
75
|
-
options: Ref<Record<string, any>>;
|
|
76
|
-
model: Ref<string>;
|
|
77
|
-
onClick: Ref<((...args: any[]) => any) | undefined>;
|
|
78
|
-
onPause: Ref<((...args: any[]) => any) | undefined>;
|
|
79
|
-
onPlay: Ref<((...args: any[]) => any) | undefined>;
|
|
80
|
-
onTime: Ref<((...args: any[]) => any) | undefined>;
|
|
81
|
-
onPlayend: Ref<((...args: any[]) => any) | undefined>;
|
|
82
|
-
root: Ref<any>;
|
|
83
|
-
},
|
|
97
|
+
showTouchMask: Ref<boolean, boolean>;
|
|
98
|
+
source: Ref<Record<string, any>, Record<string, any>>;
|
|
99
|
+
options: Ref<Record<string, any>, Record<string, any>>;
|
|
100
|
+
model: Ref<string, string>;
|
|
101
|
+
onClick: Ref<((...args: any[]) => any) | undefined, ((...args: any[]) => any) | undefined>;
|
|
102
|
+
onPause: Ref<((...args: any[]) => any) | undefined, ((...args: any[]) => any) | undefined>;
|
|
103
|
+
onPlay: Ref<((...args: any[]) => any) | undefined, ((...args: any[]) => any) | undefined>;
|
|
104
|
+
onTime: Ref<((...args: any[]) => any) | undefined, ((...args: any[]) => any) | undefined>;
|
|
105
|
+
onPlayend: Ref<((...args: any[]) => any) | undefined, ((...args: any[]) => any) | undefined>;
|
|
106
|
+
root: Ref<any, any>;
|
|
107
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "pause" | "play" | "time" | "playend")[], "click" | "pause" | "play" | "time" | "playend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
108
|
source: {
|
|
85
109
|
type: ObjectConstructor;
|
|
86
110
|
default: {};
|
|
@@ -105,17 +129,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
105
129
|
type: StringConstructor;
|
|
106
130
|
default: string;
|
|
107
131
|
};
|
|
108
|
-
}>> & {
|
|
132
|
+
}>> & Readonly<{
|
|
109
133
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
110
134
|
onPause?: ((...args: any[]) => any) | undefined;
|
|
111
135
|
onPlay?: ((...args: any[]) => any) | undefined;
|
|
112
136
|
onTime?: ((...args: any[]) => any) | undefined;
|
|
113
137
|
onPlayend?: ((...args: any[]) => any) | undefined;
|
|
114
|
-
}
|
|
138
|
+
}>, {
|
|
115
139
|
source: Record<string, any>;
|
|
116
140
|
options: Record<string, any>;
|
|
117
141
|
model: string;
|
|
118
|
-
}, {}>>;
|
|
142
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
|
|
119
143
|
export default _default;
|
|
120
144
|
|
|
121
145
|
declare module 'vue' {
|