@nutui/nutui 4.3.0-beta.1 → 4.3.0-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 +36 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +5299 -5323
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/addresslist/AddressList.js +4 -3
- package/dist/packages/audiooperate/AudioOperate.js +3 -2
- package/dist/packages/avatar/index.css +1 -1
- package/dist/packages/avatar/index.scss +1 -1
- package/dist/packages/avatarcropper/AvatarCropper.js +10 -5
- package/dist/packages/avatarcropper/index.css +1 -1
- package/dist/packages/avatarcropper/index.scss +3 -0
- package/dist/packages/button/Button.js +66 -49
- package/dist/packages/calendarcard/CalendarCard.js +113 -109
- package/dist/packages/cell/Cell.js +9 -4
- package/dist/packages/dialog/Dialog.js +4 -3
- package/dist/packages/divider/Divider.js +40 -18
- package/dist/packages/formitem/index.css +1 -1
- package/dist/packages/formitem/index.scss +1 -3
- package/dist/packages/invoice/Invoice.js +3 -2
- package/dist/packages/invoice/index.css +1 -1
- package/dist/packages/list/List.js +6 -4
- package/dist/packages/sidenavbar/SideNavbar.js +1 -1
- package/dist/packages/sidenavbar/index.css +1 -1
- package/dist/packages/sidenavbar/index.scss +0 -1
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +4 -21
- package/dist/packages/signature/Signature.js +3 -2
- package/dist/packages/skeleton/index.css +1 -1
- package/dist/packages/subsidenavbar/SubSideNavbar.js +3 -10
- package/dist/packages/subsidenavbar/index.css +1 -1
- package/dist/packages/subsidenavbar/index.scss +0 -6
- package/dist/packages/with-install-p59gYYU_.js +12 -0
- package/dist/smartips/web-types.json +11 -2
- package/dist/style.css +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -7
- package/dist/types/__VUE/address/index.vue.d.ts +11 -11
- package/dist/types/__VUE/addresslist/index.vue.d.ts +5 -5
- package/dist/types/__VUE/animate/index.vue.d.ts +4 -4
- package/dist/types/__VUE/audio/index.vue.d.ts +6 -6
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +4 -4
- package/dist/types/__VUE/avatar/index.vue.d.ts +5 -5
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +16 -7
- package/dist/types/__VUE/avatarcropper/types.d.ts +1 -0
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +5 -5
- package/dist/types/__VUE/backtop/index.vue.d.ts +6 -6
- package/dist/types/__VUE/badge/index.vue.d.ts +6 -6
- package/dist/types/__VUE/barrage/index.vue.d.ts +5 -5
- package/dist/types/__VUE/button/{index.vue.d.ts → button.vue.d.ts} +36 -27
- package/dist/types/__VUE/button/index.d.ts +5 -0
- package/dist/types/__VUE/calendar/index.vue.d.ts +7 -7
- package/dist/types/__VUE/calendarcard/{index.vue.d.ts → calendar-card.vue.d.ts} +47 -30
- package/dist/types/__VUE/calendarcard/index.d.ts +5 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -10
- package/dist/types/__VUE/card/index.vue.d.ts +4 -4
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +4 -4
- package/dist/types/__VUE/cascader/index.vue.d.ts +7 -7
- package/dist/types/__VUE/category/index.vue.d.ts +4 -4
- package/dist/types/__VUE/categorypane/index.vue.d.ts +4 -4
- package/dist/types/__VUE/cell/index.vue.d.ts +12 -11
- package/dist/types/__VUE/cell/types.d.ts +1 -0
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/checkbox/index.vue.d.ts +13 -11
- package/dist/types/__VUE/checkbox/types.d.ts +2 -0
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +5 -5
- package/dist/types/__VUE/col/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +7 -7
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/index.vue.d.ts +9 -9
- package/dist/types/__VUE/configprovider/index.vue.d.ts +5 -5
- package/dist/types/__VUE/countdown/index.vue.d.ts +4 -4
- package/dist/types/__VUE/countup/index.vue.d.ts +8 -8
- package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +7 -7
- package/dist/types/__VUE/divider/divider.vue.d.ts +56 -0
- package/dist/types/__VUE/divider/index.d.ts +5 -0
- package/dist/types/__VUE/drag/index.vue.d.ts +4 -4
- package/dist/types/__VUE/ecard/index.vue.d.ts +7 -7
- package/dist/types/__VUE/elevator/index.vue.d.ts +4 -4
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +11 -11
- package/dist/types/__VUE/ellipsis/types.d.ts +1 -0
- package/dist/types/__VUE/empty/index.vue.d.ts +4 -4
- package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -6
- package/dist/types/__VUE/form/index.vue.d.ts +4 -4
- package/dist/types/__VUE/formitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/grid/index.vue.d.ts +6 -6
- package/dist/types/__VUE/griditem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/image/index.vue.d.ts +8 -8
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +5 -5
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +9 -9
- package/dist/types/__VUE/indicator/index.vue.d.ts +5 -5
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
- package/dist/types/__VUE/input/index.vue.d.ts +15 -15
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +7 -7
- package/dist/types/__VUE/invoice/index.vue.d.ts +6 -6
- package/dist/types/__VUE/layout/index.vue.d.ts +4 -4
- package/dist/types/__VUE/list/index.vue.d.ts +8 -11
- package/dist/types/__VUE/menu/index.vue.d.ts +7 -7
- package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/navbar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/notify/index.vue.d.ts +7 -7
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +8 -8
- package/dist/types/__VUE/overlay/index.vue.d.ts +4 -4
- package/dist/types/__VUE/pagination/index.vue.d.ts +5 -5
- package/dist/types/__VUE/picker/Column.vue.d.ts +7 -7
- package/dist/types/__VUE/picker/baseProps.d.ts +4 -4
- package/dist/types/__VUE/picker/index.vue.d.ts +6 -6
- package/dist/types/__VUE/popover/index.vue.d.ts +9 -9
- package/dist/types/__VUE/popup/index.vue.d.ts +6 -6
- package/dist/types/__VUE/price/index.vue.d.ts +4 -4
- package/dist/types/__VUE/progress/index.vue.d.ts +6 -6
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -4
- package/dist/types/__VUE/radio/index.vue.d.ts +8 -8
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +7 -7
- package/dist/types/__VUE/range/index.vue.d.ts +8 -8
- package/dist/types/__VUE/rate/index.vue.d.ts +9 -9
- package/dist/types/__VUE/row/index.vue.d.ts +5 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +16 -16
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +6 -19
- package/dist/types/__VUE/signature/index.vue.d.ts +6 -6
- package/dist/types/__VUE/skeleton/index.vue.d.ts +7 -7
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +2 -2
- package/dist/types/__VUE/sku/index.vue.d.ts +6 -6
- package/dist/types/__VUE/space/index.vue.d.ts +4 -4
- package/dist/types/__VUE/step/index.vue.d.ts +4 -4
- package/dist/types/__VUE/steps/index.vue.d.ts +5 -5
- package/dist/types/__VUE/sticky/index.vue.d.ts +5 -5
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +4 -13
- package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swipegroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swiper/index.vue.d.ts +5 -5
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/switch/index.vue.d.ts +13 -13
- package/dist/types/__VUE/tabbar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +6 -6
- package/dist/types/__VUE/table/index.vue.d.ts +4 -4
- package/dist/types/__VUE/table/renderColumn.d.ts +4 -4
- package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/tabs/index.vue.d.ts +11 -11
- package/dist/types/__VUE/tag/index.vue.d.ts +8 -8
- package/dist/types/__VUE/textarea/index.vue.d.ts +11 -11
- package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -4
- package/dist/types/__VUE/timepannel/index.vue.d.ts +4 -4
- package/dist/types/__VUE/timeselect/index.vue.d.ts +5 -5
- package/dist/types/__VUE/toast/index.vue.d.ts +10 -10
- package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +5 -5
- package/dist/types/__VUE/uploader/index.vue.d.ts +10 -10
- package/dist/types/__VUE/video/index.vue.d.ts +5 -5
- package/dist/types/__VUE/watermark/index.vue.d.ts +7 -7
- package/dist/types/index.d.ts +7 -4
- package/dist/types/utils/canvas.d.ts +1 -1
- package/dist/types/utils/create/renderIcon.d.ts +2 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/with-install.d.ts +5 -0
- package/package.json +5 -3
- package/dist/types/__VUE/address/address-list.d.ts +0 -30
- package/dist/types/__VUE/calendarcard/icon.taro.d.ts +0 -12
- package/dist/types/__VUE/divider/index.vue.d.ts +0 -71
- package/dist/types/__VUE/icon/index.vue.d.ts +0 -13
- package/dist/types/__VUE/invoice/types.d.ts +0 -6
- package/dist/types/__VUE/picker/doc.en.d.ts +0 -90
- package/dist/types/__VUE/sku/data.d.ts +0 -22
- package/dist/types/__VUE/tour/type.d.ts +0 -2
- /package/dist/types/__VUE/button/{type.d.ts → types.d.ts} +0 -0
|
@@ -9,7 +9,7 @@ export interface ActionSheetMenuItems {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
declare type Install<T> = T & {
|
|
12
|
-
|
|
12
|
+
install(app: import('vue').App): void;
|
|
13
13
|
};
|
|
14
14
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
15
15
|
cancelTxt: {
|
|
@@ -263,8 +263,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
263
263
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
264
264
|
onChoose?: ((...args: any[]) => any) | undefined;
|
|
265
265
|
}, {
|
|
266
|
+
round: boolean;
|
|
267
|
+
color: string;
|
|
266
268
|
style: Record<string, any>;
|
|
267
269
|
title: string;
|
|
270
|
+
transition: string;
|
|
268
271
|
overlay: boolean;
|
|
269
272
|
visible: boolean;
|
|
270
273
|
zIndex: string | number;
|
|
@@ -273,10 +276,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
273
276
|
overlayClass: string;
|
|
274
277
|
overlayStyle: Record<string, any>;
|
|
275
278
|
closeOnClickOverlay: boolean;
|
|
276
|
-
color: string;
|
|
277
|
-
round: boolean;
|
|
278
279
|
position: string;
|
|
279
|
-
transition: string;
|
|
280
280
|
popClass: string;
|
|
281
281
|
closeable: boolean;
|
|
282
282
|
closeIconPosition: string;
|
|
@@ -296,7 +296,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
296
296
|
export default _default;
|
|
297
297
|
|
|
298
298
|
declare module 'vue' {
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
interface GlobalComponents {
|
|
300
|
+
NutActionSheet: typeof _default;
|
|
301
|
+
}
|
|
302
302
|
}
|
|
@@ -2,7 +2,7 @@ import { Ref, PropType } from 'vue';
|
|
|
2
2
|
import { AddressData, CustomRegionData, existRegionData } from './type';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
modelValue: {
|
|
@@ -168,7 +168,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
168
168
|
handClose: (type?: string) => void;
|
|
169
169
|
handleElevatorItem: (key: string, item: AddressData) => void;
|
|
170
170
|
initCustomSelected: () => void;
|
|
171
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:visible" | "
|
|
171
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("type" | "change" | "close" | "update:visible" | "selected" | "update:modelValue" | "closeMask" | "switchModule")[], "type" | "change" | "close" | "update:visible" | "selected" | "update:modelValue" | "closeMask" | "switchModule", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
172
172
|
modelValue: {
|
|
173
173
|
type: ArrayConstructor;
|
|
174
174
|
default: () => never[];
|
|
@@ -308,13 +308,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
308
308
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
309
309
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
310
310
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
311
|
-
onType?: ((...args: any[]) => any) | undefined;
|
|
312
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
313
311
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
312
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
313
|
+
onType?: ((...args: any[]) => any) | undefined;
|
|
314
314
|
onCloseMask?: ((...args: any[]) => any) | undefined;
|
|
315
315
|
onSwitchModule?: ((...args: any[]) => any) | undefined;
|
|
316
316
|
}, {
|
|
317
|
+
round: boolean;
|
|
318
|
+
type: string;
|
|
319
|
+
height: string | number;
|
|
317
320
|
style: Record<string, any>;
|
|
321
|
+
transition: string;
|
|
318
322
|
overlay: boolean;
|
|
319
323
|
visible: boolean;
|
|
320
324
|
zIndex: string | number;
|
|
@@ -323,11 +327,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
323
327
|
overlayClass: string;
|
|
324
328
|
overlayStyle: Record<string, any>;
|
|
325
329
|
closeOnClickOverlay: boolean;
|
|
326
|
-
type: string;
|
|
327
|
-
round: boolean;
|
|
328
330
|
position: string;
|
|
329
|
-
height: string | number;
|
|
330
|
-
transition: string;
|
|
331
331
|
popClass: string;
|
|
332
332
|
closeable: boolean;
|
|
333
333
|
closeIconPosition: string;
|
|
@@ -351,7 +351,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
351
351
|
export default _default;
|
|
352
352
|
|
|
353
353
|
declare module 'vue' {
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
354
|
+
interface GlobalComponents {
|
|
355
|
+
NutAddress: typeof _default;
|
|
356
|
+
}
|
|
357
357
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
data: {
|
|
@@ -57,13 +57,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
57
57
|
};
|
|
58
58
|
}>> & {
|
|
59
59
|
onClickItem?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
60
61
|
onDelIcon?: ((...args: any[]) => any) | undefined;
|
|
61
62
|
onEditIcon?: ((...args: any[]) => any) | undefined;
|
|
62
63
|
onLongCopy?: ((...args: any[]) => any) | undefined;
|
|
63
64
|
onLongSet?: ((...args: any[]) => any) | undefined;
|
|
64
65
|
onLongDel?: ((...args: any[]) => any) | undefined;
|
|
65
66
|
onSwipeDel?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
data: unknown[];
|
|
69
69
|
longPress: boolean;
|
|
@@ -74,7 +74,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
74
|
export default _default;
|
|
75
75
|
|
|
76
76
|
declare module 'vue' {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
77
|
+
interface GlobalComponents {
|
|
78
|
+
NutAddressList: typeof _default;
|
|
79
|
+
}
|
|
80
80
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { AnimateType, AnimateAction } from './type';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
type: {
|
|
@@ -65,7 +65,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
65
65
|
export default _default;
|
|
66
66
|
|
|
67
67
|
declare module 'vue' {
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
interface GlobalComponents {
|
|
69
|
+
NutAnimate: typeof _default;
|
|
70
|
+
}
|
|
71
71
|
}
|
|
@@ -2,7 +2,7 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import type { AudioType } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
url: {
|
|
@@ -55,10 +55,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
55
55
|
playing: import("vue").Ref<boolean>;
|
|
56
56
|
handPlaying: import("vue").Ref<boolean>;
|
|
57
57
|
type: import("vue").Ref<AudioType>;
|
|
58
|
-
loop: import("vue").Ref<boolean>;
|
|
59
58
|
url: import("vue").Ref<string>;
|
|
60
59
|
muted: import("vue").Ref<boolean>;
|
|
61
60
|
autoplay: import("vue").Ref<boolean>;
|
|
61
|
+
loop: import("vue").Ref<boolean>;
|
|
62
62
|
preload: import("vue").Ref<string>;
|
|
63
63
|
onEnded: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
64
64
|
onPlay: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
@@ -106,17 +106,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
106
106
|
onCanPlay?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
}, {
|
|
108
108
|
type: AudioType;
|
|
109
|
-
loop: boolean;
|
|
110
109
|
url: string;
|
|
111
110
|
muted: boolean;
|
|
112
111
|
autoplay: boolean;
|
|
112
|
+
loop: boolean;
|
|
113
113
|
preload: string;
|
|
114
114
|
second: number;
|
|
115
115
|
}, {}>>;
|
|
116
116
|
export default _default;
|
|
117
117
|
|
|
118
118
|
declare module 'vue' {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
119
|
+
interface GlobalComponents {
|
|
120
|
+
NutAudio: typeof _default;
|
|
121
|
+
}
|
|
122
122
|
}
|
|
@@ -2,7 +2,7 @@ import { type PropType } from 'vue';
|
|
|
2
2
|
import type { AudioOperateType } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
type: {
|
|
@@ -33,7 +33,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
33
33
|
export default _default;
|
|
34
34
|
|
|
35
35
|
declare module 'vue' {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
interface GlobalComponents {
|
|
37
|
+
NutAudioOperate: typeof _default;
|
|
38
|
+
}
|
|
39
39
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
import { type AvatarShape } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
size: {
|
|
@@ -46,15 +46,15 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
46
46
|
default: string;
|
|
47
47
|
};
|
|
48
48
|
}>>, {
|
|
49
|
-
size: string | number;
|
|
50
49
|
color: string;
|
|
51
50
|
shape: AvatarShape;
|
|
51
|
+
size: string | number;
|
|
52
52
|
bgColor: string;
|
|
53
53
|
}, {}>>;
|
|
54
54
|
export default _default;
|
|
55
55
|
|
|
56
56
|
declare module 'vue' {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
interface GlobalComponents {
|
|
58
|
+
NutAvatar: typeof _default;
|
|
59
|
+
}
|
|
60
60
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Ref, PropType } from 'vue';
|
|
2
|
-
import type { AvatarCropperToolbarPosition } from './types';
|
|
2
|
+
import type { AvatarCropperToolbarPosition, AvatarCropperShape } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
maxZoom: {
|
|
@@ -29,6 +29,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
29
29
|
type: StringConstructor;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
|
+
shape: {
|
|
33
|
+
type: PropType<AvatarCropperShape>;
|
|
34
|
+
default: string;
|
|
35
|
+
};
|
|
32
36
|
}, {
|
|
33
37
|
cropperPopupRef: Ref<HTMLElement>;
|
|
34
38
|
canvasRef: Ref<HTMLCanvasElement>;
|
|
@@ -80,21 +84,26 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
80
84
|
type: StringConstructor;
|
|
81
85
|
default: string;
|
|
82
86
|
};
|
|
87
|
+
shape: {
|
|
88
|
+
type: PropType<AvatarCropperShape>;
|
|
89
|
+
default: string;
|
|
90
|
+
};
|
|
83
91
|
}>> & {
|
|
84
92
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
85
93
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
86
94
|
}, {
|
|
95
|
+
shape: AvatarCropperShape;
|
|
87
96
|
space: number;
|
|
97
|
+
confirmText: string;
|
|
98
|
+
cancelText: string;
|
|
88
99
|
maxZoom: number;
|
|
89
100
|
toolbarPosition: AvatarCropperToolbarPosition;
|
|
90
101
|
editText: string;
|
|
91
|
-
cancelText: string;
|
|
92
|
-
confirmText: string;
|
|
93
102
|
}, {}>>;
|
|
94
103
|
export default _default;
|
|
95
104
|
|
|
96
105
|
declare module 'vue' {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
106
|
+
interface GlobalComponents {
|
|
107
|
+
NutAvatarCropper: typeof _default;
|
|
108
|
+
}
|
|
100
109
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { type AvatarShape, type AvatarZIndex } from '../avatar/types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
maxContent: {
|
|
@@ -77,10 +77,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
77
77
|
default: string;
|
|
78
78
|
};
|
|
79
79
|
}>>, {
|
|
80
|
+
shape: AvatarShape;
|
|
80
81
|
size: string | number;
|
|
81
82
|
span: string | number;
|
|
82
83
|
zIndex: AvatarZIndex;
|
|
83
|
-
shape: AvatarShape;
|
|
84
84
|
maxContent: string;
|
|
85
85
|
maxCount: string | number;
|
|
86
86
|
maxBgColor: string;
|
|
@@ -89,7 +89,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
89
89
|
export default _default;
|
|
90
90
|
|
|
91
91
|
declare module 'vue' {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
92
|
+
interface GlobalComponents {
|
|
93
|
+
NutAvatarGroup: typeof _default;
|
|
94
|
+
}
|
|
95
95
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
bottom: {
|
|
@@ -81,10 +81,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
81
81
|
}>> & {
|
|
82
82
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
83
83
|
}, {
|
|
84
|
+
bottom: number;
|
|
85
|
+
right: number;
|
|
84
86
|
zIndex: number;
|
|
85
87
|
duration: number;
|
|
86
|
-
right: number;
|
|
87
|
-
bottom: number;
|
|
88
88
|
elId: string;
|
|
89
89
|
distance: number;
|
|
90
90
|
isAnimation: boolean;
|
|
@@ -92,7 +92,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
92
92
|
export default _default;
|
|
93
93
|
|
|
94
94
|
declare module 'vue' {
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
95
|
+
interface GlobalComponents {
|
|
96
|
+
NutBacktop: typeof _default;
|
|
97
|
+
}
|
|
98
98
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
value: {
|
|
@@ -84,11 +84,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
84
84
|
default: string;
|
|
85
85
|
};
|
|
86
86
|
}>>, {
|
|
87
|
-
zIndex: number;
|
|
88
|
-
hidden: boolean;
|
|
89
87
|
color: string;
|
|
90
88
|
right: string;
|
|
91
89
|
top: string;
|
|
90
|
+
zIndex: number;
|
|
91
|
+
hidden: boolean;
|
|
92
92
|
dot: boolean;
|
|
93
93
|
max: number;
|
|
94
94
|
bubble: boolean;
|
|
@@ -96,7 +96,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
96
96
|
export default _default;
|
|
97
97
|
|
|
98
98
|
declare module 'vue' {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
99
|
+
interface GlobalComponents {
|
|
100
|
+
NutBadge: typeof _default;
|
|
101
|
+
}
|
|
102
102
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
danmu: {
|
|
@@ -60,16 +60,16 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
60
60
|
};
|
|
61
61
|
}>>, {
|
|
62
62
|
top: number;
|
|
63
|
+
rows: number;
|
|
63
64
|
loop: boolean;
|
|
64
65
|
danmu: unknown[];
|
|
65
66
|
frequency: number;
|
|
66
67
|
speeds: number;
|
|
67
|
-
rows: number;
|
|
68
68
|
}, {}>>;
|
|
69
69
|
export default _default;
|
|
70
70
|
|
|
71
71
|
declare module 'vue' {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
72
|
+
interface GlobalComponents {
|
|
73
|
+
NutBarrage: typeof _default;
|
|
74
|
+
}
|
|
75
75
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import type { ButtonShape, ButtonType, ButtonSize } from './types';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
color: {
|
|
6
|
+
type: StringConstructor;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
9
|
shape: {
|
|
10
10
|
type: PropType<ButtonShape>;
|
|
11
11
|
default: string;
|
|
@@ -34,14 +34,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}, {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
color: StringConstructor;
|
|
37
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
click: (...args: any[]) => void;
|
|
39
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
|
+
color: {
|
|
41
|
+
type: StringConstructor;
|
|
42
|
+
default: string;
|
|
43
|
+
};
|
|
45
44
|
shape: {
|
|
46
45
|
type: PropType<ButtonShape>;
|
|
47
46
|
default: string;
|
|
@@ -73,18 +72,28 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
73
72
|
}>> & {
|
|
74
73
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
75
74
|
}, {
|
|
76
|
-
|
|
77
|
-
type: ButtonType;
|
|
78
|
-
block: boolean;
|
|
79
|
-
disabled: boolean;
|
|
80
|
-
loading: boolean;
|
|
75
|
+
color: string;
|
|
81
76
|
shape: ButtonShape;
|
|
82
77
|
plain: boolean;
|
|
83
|
-
|
|
84
|
-
|
|
78
|
+
loading: boolean;
|
|
79
|
+
disabled: boolean;
|
|
80
|
+
type: ButtonType;
|
|
81
|
+
size: ButtonSize;
|
|
82
|
+
block: boolean;
|
|
83
|
+
}, {}>, {
|
|
84
|
+
icon?(_: {}): any;
|
|
85
|
+
default?(_: {}): any;
|
|
86
|
+
}>;
|
|
87
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
88
|
+
export default _nut_default;
|
|
85
89
|
|
|
86
90
|
declare module 'vue' {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
+
interface GlobalComponents {
|
|
92
|
+
NutButton: typeof _default;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
96
|
+
new (): {
|
|
97
|
+
$slots: S;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Button from './button.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { ButtonType, ButtonSize, ButtonShape, ButtonFormType } from './types';
|
|
4
|
+
export type ButtonInstance = ComponentPublicInstance & InstanceType<typeof Button>;
|
|
5
|
+
export { Button, Button as default };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CalendarRef } from '../calendaritem/type';
|
|
2
2
|
|
|
3
3
|
declare type Install<T> = T & {
|
|
4
|
-
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
7
|
type: {
|
|
@@ -163,17 +163,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
163
163
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
164
164
|
onChoose?: ((...args: any[]) => any) | undefined;
|
|
165
165
|
}, {
|
|
166
|
+
type: string;
|
|
166
167
|
title: string;
|
|
167
168
|
visible: boolean;
|
|
168
169
|
lockScroll: boolean;
|
|
169
|
-
|
|
170
|
-
confirmText: string;
|
|
170
|
+
poppable: boolean;
|
|
171
171
|
isAutoBackFill: boolean;
|
|
172
172
|
toDateAnimation: boolean;
|
|
173
|
-
poppable: boolean;
|
|
174
173
|
showTitle: boolean;
|
|
175
174
|
showSubTitle: boolean;
|
|
176
175
|
showToday: boolean;
|
|
176
|
+
confirmText: string;
|
|
177
177
|
startText: string;
|
|
178
178
|
endText: string;
|
|
179
179
|
startDate: string;
|
|
@@ -183,7 +183,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
183
183
|
export default _default;
|
|
184
184
|
|
|
185
185
|
declare module 'vue' {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
186
|
+
interface GlobalComponents {
|
|
187
|
+
NutCalendar: typeof _default;
|
|
188
|
+
}
|
|
189
189
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
1
2
|
import { PropType } from 'vue';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
3
|
+
import { CalendarCardType, CalendarCardValue } from './types';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
8
5
|
type: {
|
|
9
6
|
type: PropType<CalendarCardType>;
|
|
10
7
|
default: string;
|
|
@@ -30,25 +27,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
30
27
|
default: () => boolean;
|
|
31
28
|
};
|
|
32
29
|
}, {
|
|
33
|
-
days: import("vue").Ref<{
|
|
34
|
-
type?: "next" | "prev" | "current" | undefined;
|
|
35
|
-
year: number;
|
|
36
|
-
month: number;
|
|
37
|
-
date: number;
|
|
38
|
-
}[]>;
|
|
39
|
-
month: import("vue").Ref<{
|
|
40
|
-
year: number;
|
|
41
|
-
month: number;
|
|
42
|
-
}>;
|
|
43
|
-
weekHeader: import("vue").ComputedRef<{
|
|
44
|
-
name: string;
|
|
45
|
-
key: number;
|
|
46
|
-
}[]>;
|
|
47
|
-
getClasses: (day: CalendarCardDay) => string[];
|
|
48
|
-
handleDayClick: (day: CalendarCardDay) => void;
|
|
49
30
|
jump: (step?: number) => void;
|
|
50
|
-
|
|
51
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
31
|
+
jumpTo: (y: number, m: number) => void;
|
|
32
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
33
|
+
change: (...args: any[]) => void;
|
|
34
|
+
"update:modelValue": (...args: any[]) => void;
|
|
35
|
+
dayClick: (...args: any[]) => void;
|
|
36
|
+
pageChange: (...args: any[]) => void;
|
|
37
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
38
|
type: {
|
|
53
39
|
type: PropType<CalendarCardType>;
|
|
54
40
|
default: string;
|
|
@@ -85,11 +71,42 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
85
71
|
endDate: Date;
|
|
86
72
|
firstDayOfWeek: number;
|
|
87
73
|
disableDay: Function;
|
|
88
|
-
}, {}
|
|
89
|
-
|
|
74
|
+
}, {}>, {
|
|
75
|
+
top?(_: {
|
|
76
|
+
day: {
|
|
77
|
+
type?: "next" | "current" | "prev" | undefined;
|
|
78
|
+
year: number;
|
|
79
|
+
month: number;
|
|
80
|
+
date: number;
|
|
81
|
+
};
|
|
82
|
+
}): any;
|
|
83
|
+
default?(_: {
|
|
84
|
+
day: {
|
|
85
|
+
type?: "next" | "current" | "prev" | undefined;
|
|
86
|
+
year: number;
|
|
87
|
+
month: number;
|
|
88
|
+
date: number;
|
|
89
|
+
};
|
|
90
|
+
}): any;
|
|
91
|
+
bottom?(_: {
|
|
92
|
+
day: {
|
|
93
|
+
type?: "next" | "current" | "prev" | undefined;
|
|
94
|
+
year: number;
|
|
95
|
+
month: number;
|
|
96
|
+
date: number;
|
|
97
|
+
};
|
|
98
|
+
}): any;
|
|
99
|
+
}>;
|
|
100
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
101
|
+
export default _nut_default;
|
|
90
102
|
|
|
91
103
|
declare module 'vue' {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
}
|
|
104
|
+
interface GlobalComponents {
|
|
105
|
+
NutCalendarCard: typeof _default;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
109
|
+
new (): {
|
|
110
|
+
$slots: S;
|
|
111
|
+
};
|
|
112
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import CalendarCard from './calendar-card.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { CalendarCardType, CalendarCardDay, CalendarCardMonth, CalendarCardValue } from './types';
|
|
4
|
+
export type CalendarCardInstance = ComponentPublicInstance & InstanceType<typeof CalendarCard>;
|
|
5
|
+
export { CalendarCard, CalendarCard as default };
|