@nutui/nutui 4.2.7 → 4.2.9
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 +4297 -4295
- 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/calendar/Calendar.js +18 -4
- package/dist/packages/calendaritem/CalendarItem.js +1 -1
- package/dist/packages/cell/Cell.js +9 -4
- package/dist/packages/datepicker/DatePicker.js +31 -30
- package/dist/packages/datepicker/index.css +1 -1
- package/dist/packages/dialog/Dialog.js +4 -3
- package/dist/packages/dialog/index.css +1 -1
- package/dist/packages/dialog/index.scss +0 -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/{index-NLe0VBkN.js → index-kWulbKuH.js} +4 -2
- 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/picker/index.css +1 -1
- package/dist/packages/picker/index.scss +2 -0
- 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 +9 -7
- 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 +4 -4
- 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 +4 -4
- 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 +5 -3
- 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/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
|
@@ -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
|
rate: {
|
|
@@ -83,8 +83,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
85
85
|
}>>, {
|
|
86
|
-
textColor: string;
|
|
87
86
|
rate: number;
|
|
87
|
+
textColor: string;
|
|
88
88
|
digits: number;
|
|
89
89
|
showSign: boolean;
|
|
90
90
|
showZero: 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
|
+
NutTrendArrow: typeof _default;
|
|
101
|
+
}
|
|
102
102
|
}
|
|
@@ -3,7 +3,7 @@ import { FileItem } from './type';
|
|
|
3
3
|
import { Interceptor } from '@/packages/utils/util';
|
|
4
4
|
|
|
5
5
|
declare type Install<T> = T & {
|
|
6
|
-
|
|
6
|
+
install(app: import('vue').App): void;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
9
9
|
name: {
|
|
@@ -121,7 +121,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
121
121
|
renderInput: () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
122
122
|
[key: string]: any;
|
|
123
123
|
}>;
|
|
124
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
124
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("success" | "progress" | "delete" | "change" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick")[], "success" | "progress" | "delete" | "change" | "start" | "oversize" | "failure" | "update:fileList" | "fileItemClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
125
125
|
name: {
|
|
126
126
|
type: StringConstructor;
|
|
127
127
|
default: string;
|
|
@@ -218,23 +218,22 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
218
218
|
type: FunctionConstructor;
|
|
219
219
|
};
|
|
220
220
|
}>> & {
|
|
221
|
-
onProgress?: ((...args: any[]) => any) | undefined;
|
|
222
221
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
223
|
-
|
|
222
|
+
onProgress?: ((...args: any[]) => any) | undefined;
|
|
224
223
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
225
224
|
onFailure?: ((...args: any[]) => any) | undefined;
|
|
226
225
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
227
227
|
onOversize?: ((...args: any[]) => any) | undefined;
|
|
228
228
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
229
229
|
onFileItemClick?: ((...args: any[]) => any) | undefined;
|
|
230
230
|
}, {
|
|
231
231
|
name: string;
|
|
232
|
+
disabled: boolean;
|
|
232
233
|
data: Record<string, any>;
|
|
234
|
+
url: string;
|
|
233
235
|
maximum: string | number;
|
|
234
236
|
multiple: boolean;
|
|
235
|
-
disabled: boolean;
|
|
236
|
-
url: string;
|
|
237
|
-
accept: string;
|
|
238
237
|
timeout: string | number;
|
|
239
238
|
fileList: any[];
|
|
240
239
|
isPreview: boolean;
|
|
@@ -244,6 +243,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
244
243
|
capture: boolean;
|
|
245
244
|
maximize: string | number;
|
|
246
245
|
clearInput: boolean;
|
|
246
|
+
accept: string;
|
|
247
247
|
headers: Record<string, any>;
|
|
248
248
|
xhrState: string | number;
|
|
249
249
|
withCredentials: boolean;
|
|
@@ -255,7 +255,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
255
255
|
export default _default;
|
|
256
256
|
|
|
257
257
|
declare module 'vue' {
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
258
|
+
interface GlobalComponents {
|
|
259
|
+
NutUploader: typeof _default;
|
|
260
|
+
}
|
|
261
261
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
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
|
source: {
|
|
@@ -80,7 +80,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
80
80
|
onTime: Ref<((...args: any[]) => any) | undefined>;
|
|
81
81
|
onPlayend: Ref<((...args: any[]) => any) | undefined>;
|
|
82
82
|
root: Ref<any>;
|
|
83
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
83
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "time" | "pause" | "play" | "playend")[], "click" | "time" | "pause" | "play" | "playend", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
84
84
|
source: {
|
|
85
85
|
type: ObjectConstructor;
|
|
86
86
|
default: {};
|
|
@@ -119,7 +119,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
119
119
|
export default _default;
|
|
120
120
|
|
|
121
121
|
declare module 'vue' {
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
122
|
+
interface GlobalComponents {
|
|
123
|
+
NutVideo: typeof _default;
|
|
124
|
+
}
|
|
125
125
|
}
|
|
@@ -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
|
name: {
|
|
@@ -175,13 +175,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
175
175
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
176
176
|
}, {
|
|
177
177
|
name: string;
|
|
178
|
+
width: number;
|
|
179
|
+
height: number;
|
|
178
180
|
image: string;
|
|
179
181
|
zIndex: number;
|
|
180
182
|
content: string | string[];
|
|
181
|
-
width: number;
|
|
182
|
-
height: number;
|
|
183
|
-
rotate: number;
|
|
184
183
|
fontSize: string | number;
|
|
184
|
+
rotate: number;
|
|
185
185
|
gapY: number;
|
|
186
186
|
gapX: number;
|
|
187
187
|
imageWidth: number;
|
|
@@ -195,7 +195,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
195
195
|
export default _default;
|
|
196
196
|
|
|
197
197
|
declare module 'vue' {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
interface GlobalComponents {
|
|
199
|
+
NutWatermark: typeof _default;
|
|
200
|
+
}
|
|
201
201
|
}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
import Locale from './locale';
|
|
3
|
-
import Button from './__VUE/button/index
|
|
3
|
+
import Button from './__VUE/button/index';
|
|
4
|
+
export * from './__VUE/button/index';
|
|
4
5
|
import Cell from './__VUE/cell/index.vue';
|
|
5
6
|
import CellGroup from './__VUE/cellgroup/index.vue';
|
|
6
7
|
import Overlay from './__VUE/overlay/index.vue';
|
|
@@ -11,7 +12,8 @@ import Layout from './__VUE/layout/index.vue';
|
|
|
11
12
|
import Col from './__VUE/col/index.vue';
|
|
12
13
|
import Row from './__VUE/row/index.vue';
|
|
13
14
|
import Sticky from './__VUE/sticky/index.vue';
|
|
14
|
-
import Divider from './__VUE/divider/index
|
|
15
|
+
import Divider from './__VUE/divider/index';
|
|
16
|
+
export * from './__VUE/divider/index';
|
|
15
17
|
import Grid from './__VUE/grid/index.vue';
|
|
16
18
|
import GridItem from './__VUE/griditem/index.vue';
|
|
17
19
|
import Space from './__VUE/space/index.vue';
|
|
@@ -110,7 +112,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
110
112
|
import Invoice from './__VUE/invoice/index.vue';
|
|
111
113
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
112
114
|
declare function install(app: App): void;
|
|
113
|
-
declare const version = "4.2.
|
|
115
|
+
declare const version = "4.2.9";
|
|
114
116
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, ActionSheet, Backtop, Drag, Dialog, InfiniteLoading, PullRefresh, Notify, Switch, Toast, Audio, AudioOperate, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, Video, Steps, Step, Swiper, SwiperItem, Price, ImagePreview, Countup, Countdown, Badge, Tag, Popover, Skeleton, Collapse, CollapseItem, Table, Animate, Ellipsis, Watermark, TrendArrow, Tour, Address, Barrage, Signature, TimeSelect, TimePannel, TimeDetail, Sku, Card, Ecard, AddressList, Category, CategoryPane, Comment, Invoice, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
115
117
|
declare const _default: {
|
|
116
118
|
install: typeof install;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import Taro from '@tarojs/taro';
|
|
2
2
|
import CanvasContext = Taro.CanvasContext;
|
|
3
|
-
declare const compareVersion: (v1Old: string, v2Old: string) => 1 |
|
|
3
|
+
declare const compareVersion: (v1Old: string, v2Old: string) => 1 | -1 | 0;
|
|
4
4
|
declare function easySetStrokeStyle(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, color: string | CanvasGradient): void;
|
|
5
5
|
declare function easySetLineWidth(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, lineWidth: number): void;
|
|
6
6
|
declare function easySetFillStyle(systemInfo: Taro.getSystemInfoSync.Result, canvasContext: CanvasContext, color: string | CanvasGradient): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Component } from 'vue';
|
|
2
|
-
export declare const renderIcon: (icon: Component, props?: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
2
|
+
export declare const renderIcon: (icon: Component, props?: any) => "" | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3
3
|
[key: string]: any;
|
|
4
|
-
}
|
|
4
|
+
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.9",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"publish:latest": "npm publish"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"unplugin-vue-components": "
|
|
40
|
+
"unplugin-vue-components": ">=0.25.1",
|
|
41
|
+
"vue": "^3.0.0"
|
|
41
42
|
},
|
|
42
43
|
"peerDependenciesMeta": {
|
|
43
44
|
"unplugin-vue-components": {
|
|
@@ -51,5 +52,6 @@
|
|
|
51
52
|
"repository": {
|
|
52
53
|
"type": "git",
|
|
53
54
|
"url": "https://github.com/jdf2e/nutui.git"
|
|
54
|
-
}
|
|
55
|
+
},
|
|
56
|
+
"homepage": "https://nutui.jd.com/"
|
|
55
57
|
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare const addressListData: {
|
|
2
|
-
province: {
|
|
3
|
-
id: number;
|
|
4
|
-
name: string;
|
|
5
|
-
title: string;
|
|
6
|
-
}[];
|
|
7
|
-
city: {
|
|
8
|
-
id: number;
|
|
9
|
-
name: string;
|
|
10
|
-
title: string;
|
|
11
|
-
}[];
|
|
12
|
-
country: {
|
|
13
|
-
id: number;
|
|
14
|
-
name: string;
|
|
15
|
-
title: string;
|
|
16
|
-
}[];
|
|
17
|
-
town: never[];
|
|
18
|
-
};
|
|
19
|
-
declare const addressExistData: {
|
|
20
|
-
id: number;
|
|
21
|
-
addressDetail: string;
|
|
22
|
-
cityName: string;
|
|
23
|
-
countyName: string;
|
|
24
|
-
provinceName: string;
|
|
25
|
-
selectedAddress: boolean;
|
|
26
|
-
townName: string;
|
|
27
|
-
name: string;
|
|
28
|
-
phone: string;
|
|
29
|
-
}[];
|
|
30
|
-
export { addressListData, addressExistData };
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { DividerDirection, DividerPosition } from './types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
contentPosition: {
|
|
9
|
-
type: PropType<DividerPosition>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
dashed: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
hairline: {
|
|
17
|
-
type: BooleanConstructor;
|
|
18
|
-
default: boolean;
|
|
19
|
-
};
|
|
20
|
-
direction: {
|
|
21
|
-
type: PropType<DividerDirection>;
|
|
22
|
-
default: string;
|
|
23
|
-
};
|
|
24
|
-
}, {
|
|
25
|
-
classes: import("vue").ComputedRef<{
|
|
26
|
-
"nut-divider": boolean;
|
|
27
|
-
"nut-divider-center": import("vue").Slot<any> | undefined;
|
|
28
|
-
"nut-divider-left": boolean;
|
|
29
|
-
"nut-divider-right": boolean;
|
|
30
|
-
"nut-divider-dashed": boolean;
|
|
31
|
-
"nut-divider-hairline": boolean;
|
|
32
|
-
"nut-divider-vertical"?: undefined;
|
|
33
|
-
} | {
|
|
34
|
-
"nut-divider": boolean;
|
|
35
|
-
"nut-divider-vertical": boolean;
|
|
36
|
-
"nut-divider-center"?: undefined;
|
|
37
|
-
"nut-divider-left"?: undefined;
|
|
38
|
-
"nut-divider-right"?: undefined;
|
|
39
|
-
"nut-divider-dashed"?: undefined;
|
|
40
|
-
"nut-divider-hairline"?: undefined;
|
|
41
|
-
}>;
|
|
42
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
|
-
contentPosition: {
|
|
44
|
-
type: PropType<DividerPosition>;
|
|
45
|
-
default: string;
|
|
46
|
-
};
|
|
47
|
-
dashed: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
hairline: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
direction: {
|
|
56
|
-
type: PropType<DividerDirection>;
|
|
57
|
-
default: string;
|
|
58
|
-
};
|
|
59
|
-
}>>, {
|
|
60
|
-
dashed: boolean;
|
|
61
|
-
direction: DividerDirection;
|
|
62
|
-
contentPosition: DividerPosition;
|
|
63
|
-
hairline: boolean;
|
|
64
|
-
}, {}>>;
|
|
65
|
-
export default _default;
|
|
66
|
-
|
|
67
|
-
declare module 'vue' {
|
|
68
|
-
interface GlobalComponents {
|
|
69
|
-
NutDivider: typeof _default;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import '@nutui/icons-vue/dist/style_iconfont.css';
|
|
2
|
-
|
|
3
|
-
declare type Install<T> = T & {
|
|
4
|
-
install(app: import('vue').App): void;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: Install< import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
|
7
|
-
export default _default;
|
|
8
|
-
|
|
9
|
-
declare module 'vue' {
|
|
10
|
-
interface GlobalComponents {
|
|
11
|
-
NutIcon: typeof _default;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
export declare const Internation: {
|
|
2
|
-
'zh-CN': {
|
|
3
|
-
basic: string;
|
|
4
|
-
chooseCity: string;
|
|
5
|
-
defaultSelected: string;
|
|
6
|
-
'3d': string;
|
|
7
|
-
popupDesc: string;
|
|
8
|
-
customFieldNames: string;
|
|
9
|
-
multipleColumns: string;
|
|
10
|
-
chooseTime: string;
|
|
11
|
-
cascade: string;
|
|
12
|
-
async: string;
|
|
13
|
-
custom: string;
|
|
14
|
-
validTime: string;
|
|
15
|
-
chooseDate: string;
|
|
16
|
-
always: string;
|
|
17
|
-
monday: string;
|
|
18
|
-
tuesday: string;
|
|
19
|
-
wednesday: string;
|
|
20
|
-
thursday: string;
|
|
21
|
-
friday: string;
|
|
22
|
-
morning: string;
|
|
23
|
-
afternoon: string;
|
|
24
|
-
evening: string;
|
|
25
|
-
nanJing: string;
|
|
26
|
-
wuXi: string;
|
|
27
|
-
zangZu: string;
|
|
28
|
-
beiJing: string;
|
|
29
|
-
lianYunGang: string;
|
|
30
|
-
zheJiang: string;
|
|
31
|
-
jiangSu: string;
|
|
32
|
-
hangZhou: string;
|
|
33
|
-
xiHu: string;
|
|
34
|
-
yuHang: string;
|
|
35
|
-
wenZhou: string;
|
|
36
|
-
luCheng: string;
|
|
37
|
-
ouHai: string;
|
|
38
|
-
fuJian: string;
|
|
39
|
-
fuZhou: string;
|
|
40
|
-
xiaMen: string;
|
|
41
|
-
guLou: string;
|
|
42
|
-
taiJiang: string;
|
|
43
|
-
siMing: string;
|
|
44
|
-
haiCang: string;
|
|
45
|
-
};
|
|
46
|
-
'en-US': {
|
|
47
|
-
basic: string;
|
|
48
|
-
chooseCity: string;
|
|
49
|
-
defaultSelected: string;
|
|
50
|
-
'3d': string;
|
|
51
|
-
popupDesc: string;
|
|
52
|
-
customFieldNames: string;
|
|
53
|
-
multipleColumns: string;
|
|
54
|
-
chooseTime: string;
|
|
55
|
-
cascade: string;
|
|
56
|
-
async: string;
|
|
57
|
-
custom: string;
|
|
58
|
-
validTime: string;
|
|
59
|
-
chooseDate: string;
|
|
60
|
-
always: string;
|
|
61
|
-
monday: string;
|
|
62
|
-
tuesday: string;
|
|
63
|
-
wednesday: string;
|
|
64
|
-
thursday: string;
|
|
65
|
-
friday: string;
|
|
66
|
-
morning: string;
|
|
67
|
-
afternoon: string;
|
|
68
|
-
evening: string;
|
|
69
|
-
nanJing: string;
|
|
70
|
-
wuXi: string;
|
|
71
|
-
zangZu: string;
|
|
72
|
-
beiJing: string;
|
|
73
|
-
lianYunGang: string;
|
|
74
|
-
zheJiang: string;
|
|
75
|
-
jiangSu: string;
|
|
76
|
-
hangZhou: string;
|
|
77
|
-
xiHu: string;
|
|
78
|
-
yuHang: string;
|
|
79
|
-
wenZhou: string;
|
|
80
|
-
luCheng: string;
|
|
81
|
-
ouHai: string;
|
|
82
|
-
fuJian: string;
|
|
83
|
-
fuZhou: string;
|
|
84
|
-
xiaMen: string;
|
|
85
|
-
guLou: string;
|
|
86
|
-
taiJiang: string;
|
|
87
|
-
siMing: string;
|
|
88
|
-
haiCang: string;
|
|
89
|
-
};
|
|
90
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const Sku: {
|
|
2
|
-
id: number;
|
|
3
|
-
name: string;
|
|
4
|
-
list: {
|
|
5
|
-
name: string;
|
|
6
|
-
id: number;
|
|
7
|
-
active: boolean;
|
|
8
|
-
disable: boolean;
|
|
9
|
-
}[];
|
|
10
|
-
}[];
|
|
11
|
-
export declare const Goods: {
|
|
12
|
-
skuId: string;
|
|
13
|
-
price: string;
|
|
14
|
-
imagePath: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const imagePathMap: {
|
|
17
|
-
100016015112: string;
|
|
18
|
-
100016015142: string;
|
|
19
|
-
100016015078: string;
|
|
20
|
-
100009064831: string;
|
|
21
|
-
100009064830: string;
|
|
22
|
-
};
|
|
File without changes
|