@nutui/nutui 4.1.1 → 4.1.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 +21 -0
- package/LICENSE +1 -1
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +1918 -1916
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/Calendar.js +3 -3
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/FixedNav.js +67 -73
- package/dist/packages/_es/FormItem.js +1 -3
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Input.js +8 -5
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Notify.js +2 -2
- package/dist/packages/_es/NumberKeyboard.js +2 -2
- package/dist/packages/_es/Popover.js +2 -2
- package/dist/packages/_es/Popup.js +3 -3
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/Skeleton.js +86 -91
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/TimeSelect.js +2 -2
- package/dist/packages/_es/Tour.js +1 -1
- package/dist/packages/_es/{index-3a5098e4.js → index-66fff386.js} +19 -13
- package/dist/packages/_es/{index-5ffbc437.js → index-7fe29a2f.js} +96 -101
- package/dist/packages/calendar/index.scss +5 -8
- package/dist/smartips/web-types.json +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +48 -48
- package/dist/styles/themes/jdb.scss +48 -48
- package/dist/styles/themes/jddkh.scss +48 -48
- package/dist/styles/themes/jdt.scss +48 -48
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +13 -13
- package/dist/types/__VUE/address/index.vue.d.ts +12 -12
- package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/cascader/index.vue.d.ts +12 -12
- package/dist/types/__VUE/dialog/index.vue.d.ts +13 -13
- package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -4
- package/dist/types/__VUE/formitem/index.vue.d.ts +4 -3
- package/dist/types/__VUE/image/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/overlay/index.vue.d.ts +3 -3
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/popup/index.vue.d.ts +30 -21
- package/dist/types/__VUE/popup/props.d.ts +4 -5
- package/dist/types/__VUE/skeleton/index.vue.d.ts +8 -6
- package/dist/types/__VUE/sku/index.vue.d.ts +15 -15
- package/dist/types/__VUE/swipe/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tag/index.vue.d.ts +1 -1
- package/dist/types/__VUE/toast/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/__VUE/fixednav/common.d.ts +0 -53
- package/dist/types/__VUE/formitem/common.d.ts +0 -0
- package/dist/types/__VUE/popup/common.d.ts +0 -107
- package/dist/types/__VUE/skeleton/common.d.ts +0 -57
|
@@ -77,8 +77,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
77
77
|
default: string;
|
|
78
78
|
};
|
|
79
79
|
style: {
|
|
80
|
-
type:
|
|
81
|
-
default: {};
|
|
80
|
+
type: ObjectConstructor;
|
|
81
|
+
default: () => {};
|
|
82
82
|
};
|
|
83
83
|
popClass: {
|
|
84
84
|
type: StringConstructor;
|
|
@@ -128,8 +128,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
128
128
|
default: string;
|
|
129
129
|
};
|
|
130
130
|
overlayStyle: {
|
|
131
|
-
type:
|
|
132
|
-
default: {};
|
|
131
|
+
type: ObjectConstructor;
|
|
132
|
+
default: () => {};
|
|
133
133
|
};
|
|
134
134
|
}, {
|
|
135
135
|
showPopup: any;
|
|
@@ -142,7 +142,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
142
142
|
reduce: (value: number) => void;
|
|
143
143
|
getSlots: (name: string) => import("vue").Slot<any> | undefined;
|
|
144
144
|
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
145
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "close" | "
|
|
145
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("reduce" | "close" | "update:visible" | "add" | "click-close-icon" | "click-overlay" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit")[], "reduce" | "close" | "update:visible" | "add" | "click-close-icon" | "click-overlay" | "select-sku" | "change-stepper" | "click-btn-operate" | "over-limit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
146
146
|
sku: {
|
|
147
147
|
type: ArrayConstructor;
|
|
148
148
|
default: never[];
|
|
@@ -216,8 +216,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
216
216
|
default: string;
|
|
217
217
|
};
|
|
218
218
|
style: {
|
|
219
|
-
type:
|
|
220
|
-
default: {};
|
|
219
|
+
type: ObjectConstructor;
|
|
220
|
+
default: () => {};
|
|
221
221
|
};
|
|
222
222
|
popClass: {
|
|
223
223
|
type: StringConstructor;
|
|
@@ -267,31 +267,31 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
267
267
|
default: string;
|
|
268
268
|
};
|
|
269
269
|
overlayStyle: {
|
|
270
|
-
type:
|
|
271
|
-
default: {};
|
|
270
|
+
type: ObjectConstructor;
|
|
271
|
+
default: () => {};
|
|
272
272
|
};
|
|
273
273
|
}>> & {
|
|
274
274
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
276
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
277
|
-
onReduce?: ((...args: any[]) => any) | undefined;
|
|
278
276
|
"onClick-close-icon"?: ((...args: any[]) => any) | undefined;
|
|
279
277
|
"onClick-overlay"?: ((...args: any[]) => any) | undefined;
|
|
278
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
279
|
+
onReduce?: ((...args: any[]) => any) | undefined;
|
|
280
280
|
"onSelect-sku"?: ((...args: any[]) => any) | undefined;
|
|
281
281
|
"onChange-stepper"?: ((...args: any[]) => any) | undefined;
|
|
282
282
|
"onClick-btn-operate"?: ((...args: any[]) => any) | undefined;
|
|
283
283
|
"onOver-limit"?: ((...args: any[]) => any) | undefined;
|
|
284
284
|
}, {
|
|
285
|
-
style:
|
|
286
|
-
zIndex: string | number;
|
|
287
|
-
round: boolean;
|
|
285
|
+
style: Record<string, any>;
|
|
288
286
|
overlay: boolean;
|
|
289
287
|
visible: boolean;
|
|
288
|
+
zIndex: string | number;
|
|
290
289
|
duration: string | number;
|
|
291
290
|
lockScroll: boolean;
|
|
292
291
|
overlayClass: string;
|
|
293
|
-
overlayStyle:
|
|
292
|
+
overlayStyle: Record<string, any>;
|
|
294
293
|
closeOnClickOverlay: boolean;
|
|
294
|
+
round: boolean;
|
|
295
295
|
position: string;
|
|
296
296
|
transition: string;
|
|
297
297
|
popClass: string;
|
|
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
touchStyle: import("vue").ComputedRef<{
|
|
35
35
|
transform: string;
|
|
36
36
|
}>;
|
|
37
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "click" | "open")[], "close" | "click" | "open", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
name: {
|
|
39
39
|
type: StringConstructor;
|
|
40
40
|
default: string;
|
|
@@ -68,8 +68,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
68
68
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
69
69
|
"onTab-switch"?: ((...args: any[]) => any) | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
bottom: boolean;
|
|
72
71
|
type: string;
|
|
72
|
+
bottom: boolean;
|
|
73
73
|
safeAreaInsetBottom: boolean;
|
|
74
74
|
placeholder: boolean;
|
|
75
75
|
modelValue: string | number;
|
|
@@ -75,9 +75,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
75
75
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
76
76
|
}, {
|
|
77
77
|
mark: boolean;
|
|
78
|
-
round: boolean;
|
|
79
78
|
type: TagType;
|
|
80
79
|
color: string;
|
|
80
|
+
round: boolean;
|
|
81
81
|
closeable: boolean;
|
|
82
82
|
plain: boolean;
|
|
83
83
|
textColor: string;
|
|
@@ -139,10 +139,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
139
139
|
}, {
|
|
140
140
|
title: string;
|
|
141
141
|
center: boolean;
|
|
142
|
-
bottom: string;
|
|
143
142
|
duration: number;
|
|
144
143
|
closeOnClickOverlay: boolean;
|
|
145
144
|
type: string;
|
|
145
|
+
bottom: string;
|
|
146
146
|
cover: boolean;
|
|
147
147
|
size: string | number;
|
|
148
148
|
icon: Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -108,7 +108,7 @@ import CategoryPane from './__VUE/categorypane/index.vue';
|
|
|
108
108
|
import Comment from './__VUE/comment/index.vue';
|
|
109
109
|
import Invoice from './__VUE/invoice/index.vue';
|
|
110
110
|
declare function install(app: App): void;
|
|
111
|
-
declare const version = "4.1.
|
|
111
|
+
declare const version = "4.1.3";
|
|
112
112
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, 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, showDialog, showNotify, showToast, showImagePreview };
|
|
113
113
|
declare const _default: {
|
|
114
114
|
install: typeof install;
|
package/package.json
CHANGED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
export declare const component: (components: any) => {
|
|
3
|
-
components: any;
|
|
4
|
-
props: {
|
|
5
|
-
visible: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
overlay: {
|
|
10
|
-
type: BooleanConstructor;
|
|
11
|
-
default: boolean;
|
|
12
|
-
};
|
|
13
|
-
navList: {
|
|
14
|
-
default: () => never[];
|
|
15
|
-
type: PropType<any[]>;
|
|
16
|
-
};
|
|
17
|
-
activeColor: {
|
|
18
|
-
default: string;
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
};
|
|
21
|
-
activeText: {
|
|
22
|
-
default: string;
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
unActiveText: {
|
|
26
|
-
default: string;
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
};
|
|
29
|
-
position: {
|
|
30
|
-
default: () => {
|
|
31
|
-
top: string;
|
|
32
|
-
bottom: string;
|
|
33
|
-
};
|
|
34
|
-
type: ObjectConstructor;
|
|
35
|
-
};
|
|
36
|
-
type: {
|
|
37
|
-
default: string;
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
emits: string[];
|
|
42
|
-
setup(props: any, { emit }: any): {
|
|
43
|
-
classes: import("vue").ComputedRef<{
|
|
44
|
-
[x: string]: any;
|
|
45
|
-
[x: number]: boolean;
|
|
46
|
-
active: any;
|
|
47
|
-
}>;
|
|
48
|
-
updateValue: (value?: boolean) => void;
|
|
49
|
-
selected: (item: any, event: Event) => void;
|
|
50
|
-
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
51
|
-
current: import("vue").Ref<number>;
|
|
52
|
-
};
|
|
53
|
-
};
|
|
File without changes
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
|
-
export declare const component: (componentName: string, components: any) => {
|
|
3
|
-
components: any;
|
|
4
|
-
props: {
|
|
5
|
-
visible: {
|
|
6
|
-
type: BooleanConstructor;
|
|
7
|
-
default: boolean;
|
|
8
|
-
};
|
|
9
|
-
zIndex: {
|
|
10
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
11
|
-
default: number;
|
|
12
|
-
};
|
|
13
|
-
duration: {
|
|
14
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
15
|
-
default: number;
|
|
16
|
-
};
|
|
17
|
-
lockScroll: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
closeOnClickOverlay: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
position: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
transition: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
style: {
|
|
34
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
35
|
-
default: {};
|
|
36
|
-
};
|
|
37
|
-
popClass: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
closeable: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
closeIconPosition: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
closeIcon: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
destroyOnClose: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
teleport: {
|
|
58
|
-
type: (StringConstructor | {
|
|
59
|
-
new (): Element;
|
|
60
|
-
prototype: Element;
|
|
61
|
-
})[];
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
|
-
overlay: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
round: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
teleportDisable: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
|
-
};
|
|
76
|
-
safeAreaInsetBottom: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
overlayClass: {
|
|
81
|
-
type: StringConstructor;
|
|
82
|
-
default: string;
|
|
83
|
-
};
|
|
84
|
-
overlayStyle: {
|
|
85
|
-
type: import("vue").PropType<import("vue").CSSProperties>;
|
|
86
|
-
default: {};
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
emits: string[];
|
|
90
|
-
setup(props: any, { emit }: any): {
|
|
91
|
-
popStyle: ComputedRef<any>;
|
|
92
|
-
transitionName: ComputedRef<any>;
|
|
93
|
-
classes: ComputedRef<{
|
|
94
|
-
[x: string]: any;
|
|
95
|
-
[x: number]: boolean;
|
|
96
|
-
round: any;
|
|
97
|
-
}>;
|
|
98
|
-
onClick: (e: Event) => void;
|
|
99
|
-
onClickCloseIcon: (e: Event) => void;
|
|
100
|
-
onClickOverlay: (e: Event) => void;
|
|
101
|
-
onOpened: (el: Element) => void;
|
|
102
|
-
onClosed: (el: Element) => void;
|
|
103
|
-
zIndex: import("vue").Ref<any>;
|
|
104
|
-
showSlot: import("vue").Ref<boolean>;
|
|
105
|
-
closed: import("vue").Ref<any>;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
export type avatarShape = 'round' | 'square';
|
|
2
|
-
export declare const component: (components: any) => {
|
|
3
|
-
components: any;
|
|
4
|
-
props: {
|
|
5
|
-
width: {
|
|
6
|
-
type: StringConstructor;
|
|
7
|
-
default: string;
|
|
8
|
-
};
|
|
9
|
-
height: {
|
|
10
|
-
type: StringConstructor;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
animated: {
|
|
14
|
-
type: BooleanConstructor;
|
|
15
|
-
default: boolean;
|
|
16
|
-
};
|
|
17
|
-
avatar: {
|
|
18
|
-
type: BooleanConstructor;
|
|
19
|
-
default: boolean;
|
|
20
|
-
};
|
|
21
|
-
avatarShape: {
|
|
22
|
-
type: import("vue").PropType<avatarShape>;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
avatarSize: {
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
default: string;
|
|
28
|
-
};
|
|
29
|
-
loading: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
round: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
row: {
|
|
38
|
-
type: StringConstructor;
|
|
39
|
-
default: string;
|
|
40
|
-
};
|
|
41
|
-
title: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
setup(props: any): {
|
|
47
|
-
avatarShape: import("vue").Ref<any>;
|
|
48
|
-
avatarClass: import("vue").ComputedRef<{
|
|
49
|
-
[x: string]: any;
|
|
50
|
-
avatarClass: boolean;
|
|
51
|
-
}>;
|
|
52
|
-
getBlockClass: (prefixCls: string) => {
|
|
53
|
-
[x: string]: any;
|
|
54
|
-
};
|
|
55
|
-
getStyle: () => import('vue').CSSProperties;
|
|
56
|
-
};
|
|
57
|
-
};
|