@nutui/nutui 4.3.0-beta.4 → 4.3.0-beta.6
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/dist/nutui.es.js +1 -1
- package/dist/nutui.js +405 -433
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +1 -1
- package/dist/packages/address/Address.js +1 -1
- package/dist/packages/avatarcropper/AvatarCropper.js +3 -3
- package/dist/packages/avatarcropper/index.css +1 -1
- package/dist/packages/avatarcropper/index.scss +6 -0
- package/dist/packages/button/Button.js +8 -32
- package/dist/packages/calendar/Calendar.js +1 -1
- package/dist/packages/cascader/Cascader.js +1 -1
- package/dist/packages/dialog/Dialog.js +1 -1
- package/dist/packages/divider/Divider.js +5 -17
- package/dist/packages/imagepreview/ImagePreview.js +1 -1
- package/dist/packages/{index-rbZsBckW.js → index-wY4t0zYt.js} +0 -4
- package/dist/packages/menuitem/MenuItem.js +1 -1
- package/dist/packages/notify/Notify.js +17 -5
- package/dist/packages/numberkeyboard/NumberKeyboard.js +1 -1
- package/dist/packages/popover/Popover.js +1 -1
- package/dist/packages/popover/index.css +1 -1
- package/dist/packages/popover/index.scss +2 -2
- package/dist/packages/popup/Popup.js +1 -1
- package/dist/packages/shortpassword/ShortPassword.js +1 -1
- package/dist/packages/sku/Sku.js +1 -1
- package/dist/packages/timeselect/TimeSelect.js +1 -1
- package/dist/packages/tour/Tour.js +1 -1
- package/dist/packages/tour/index.css +1 -1
- package/dist/smartips/web-types.json +21 -30
- package/dist/style.css +1 -1
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +6 -15
- package/dist/types/__VUE/address/index.vue.d.ts +6 -15
- package/dist/types/__VUE/button/button.vue.d.ts +65 -69
- package/dist/types/__VUE/button/index.d.ts +1 -0
- package/dist/types/__VUE/cascader/index.vue.d.ts +6 -15
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.vue.d.ts +6 -15
- package/dist/types/__VUE/divider/divider.vue.d.ts +43 -35
- package/dist/types/__VUE/divider/index.d.ts +1 -0
- package/dist/types/__VUE/menu/index.vue.d.ts +2 -2
- package/dist/types/__VUE/notify/index.vue.d.ts +8 -6
- package/dist/types/__VUE/notify/types.d.ts +3 -0
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +4 -3
- package/dist/types/__VUE/numberkeyboard/types.d.ts +1 -0
- package/dist/types/__VUE/popup/index.vue.d.ts +6 -15
- package/dist/types/__VUE/popup/props.d.ts +4 -6
- package/dist/types/__VUE/popup/types.d.ts +2 -0
- package/dist/types/__VUE/radio/index.vue.d.ts +2 -2
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/switch/index.vue.d.ts +6 -6
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -24,7 +24,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
26
|
position: {
|
|
27
|
-
type:
|
|
27
|
+
type: import("vue").PropType<import("./types").PopupPosition>;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
transition: {
|
|
@@ -44,11 +44,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
44
44
|
default: boolean;
|
|
45
45
|
};
|
|
46
46
|
closeIconPosition: {
|
|
47
|
-
type:
|
|
48
|
-
default: string;
|
|
49
|
-
};
|
|
50
|
-
closeIcon: {
|
|
51
|
-
type: StringConstructor;
|
|
47
|
+
type: import("vue").PropType<import("./types").PopupCloseIconPosition>;
|
|
52
48
|
default: string;
|
|
53
49
|
};
|
|
54
50
|
destroyOnClose: {
|
|
@@ -126,7 +122,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
126
122
|
default: boolean;
|
|
127
123
|
};
|
|
128
124
|
position: {
|
|
129
|
-
type:
|
|
125
|
+
type: import("vue").PropType<import("./types").PopupPosition>;
|
|
130
126
|
default: string;
|
|
131
127
|
};
|
|
132
128
|
transition: {
|
|
@@ -146,11 +142,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
146
142
|
default: boolean;
|
|
147
143
|
};
|
|
148
144
|
closeIconPosition: {
|
|
149
|
-
type:
|
|
150
|
-
default: string;
|
|
151
|
-
};
|
|
152
|
-
closeIcon: {
|
|
153
|
-
type: StringConstructor;
|
|
145
|
+
type: import("vue").PropType<import("./types").PopupCloseIconPosition>;
|
|
154
146
|
default: string;
|
|
155
147
|
};
|
|
156
148
|
destroyOnClose: {
|
|
@@ -209,11 +201,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
209
201
|
overlayClass: string;
|
|
210
202
|
overlayStyle: Record<string, any>;
|
|
211
203
|
closeOnClickOverlay: boolean;
|
|
212
|
-
position:
|
|
204
|
+
position: import("./types").PopupPosition;
|
|
213
205
|
popClass: string;
|
|
214
206
|
closeable: boolean;
|
|
215
|
-
closeIconPosition:
|
|
216
|
-
closeIcon: string;
|
|
207
|
+
closeIconPosition: import("./types").PopupCloseIconPosition;
|
|
217
208
|
destroyOnClose: boolean;
|
|
218
209
|
teleport: string | Element;
|
|
219
210
|
teleportDisable: boolean;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { PopupCloseIconPosition, PopupPosition } from './types';
|
|
1
3
|
export declare const popupProps: {
|
|
2
4
|
visible: {
|
|
3
5
|
type: BooleanConstructor;
|
|
@@ -20,7 +22,7 @@ export declare const popupProps: {
|
|
|
20
22
|
default: boolean;
|
|
21
23
|
};
|
|
22
24
|
position: {
|
|
23
|
-
type:
|
|
25
|
+
type: PropType<PopupPosition>;
|
|
24
26
|
default: string;
|
|
25
27
|
};
|
|
26
28
|
transition: {
|
|
@@ -40,11 +42,7 @@ export declare const popupProps: {
|
|
|
40
42
|
default: boolean;
|
|
41
43
|
};
|
|
42
44
|
closeIconPosition: {
|
|
43
|
-
type:
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
closeIcon: {
|
|
47
|
-
type: StringConstructor;
|
|
45
|
+
type: PropType<PopupCloseIconPosition>;
|
|
48
46
|
default: string;
|
|
49
47
|
};
|
|
50
48
|
destroyOnClose: {
|
|
@@ -14,7 +14,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
label: {
|
|
17
|
-
type: (NumberConstructor |
|
|
17
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
iconSize: {
|
|
@@ -37,7 +37,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
39
39
|
label: {
|
|
40
|
-
type: (NumberConstructor |
|
|
40
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
43
43
|
iconSize: {
|
|
@@ -6,7 +6,7 @@ declare type Install<T> = T & {
|
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
modelValue: {
|
|
9
|
-
type: (NumberConstructor |
|
|
9
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
10
10
|
default: string;
|
|
11
11
|
};
|
|
12
12
|
direction: {
|
|
@@ -21,7 +21,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
21
21
|
[key: string]: any;
|
|
22
22
|
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
23
|
modelValue: {
|
|
24
|
-
type: (NumberConstructor |
|
|
24
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
direction: {
|
|
@@ -146,7 +146,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
146
146
|
[key: string]: any;
|
|
147
147
|
}>;
|
|
148
148
|
inputsearch: Ref<HTMLElement | null>;
|
|
149
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
149
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("search" | "clear" | "blur" | "change" | "focus" | "update:modelValue" | "clickInput" | "clickLeftIcon" | "clickRightIcon")[], "search" | "clear" | "blur" | "change" | "focus" | "update:modelValue" | "clickInput" | "clickLeftIcon" | "clickRightIcon", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
150
150
|
modelValue: {
|
|
151
151
|
type: (NumberConstructor | StringConstructor)[];
|
|
152
152
|
default: string;
|
|
@@ -270,8 +270,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
270
270
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
271
271
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
272
272
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
273
|
-
onClear?: ((...args: any[]) => any) | undefined;
|
|
274
273
|
onSearch?: ((...args: any[]) => any) | undefined;
|
|
274
|
+
onClear?: ((...args: any[]) => any) | undefined;
|
|
275
275
|
onClickInput?: ((...args: any[]) => any) | undefined;
|
|
276
276
|
onClickLeftIcon?: ((...args: any[]) => any) | undefined;
|
|
277
277
|
onClickRightIcon?: ((...args: any[]) => any) | undefined;
|
|
@@ -4,7 +4,7 @@ declare type Install<T> = T & {
|
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
7
|
-
type: (NumberConstructor |
|
|
7
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
disable: {
|
|
@@ -28,11 +28,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
activeValue: {
|
|
31
|
-
type: (NumberConstructor |
|
|
31
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
inactiveValue: {
|
|
35
|
-
type: (NumberConstructor |
|
|
35
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
36
36
|
default: boolean;
|
|
37
37
|
};
|
|
38
38
|
loading: {
|
|
@@ -50,7 +50,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
50
50
|
onClick: (event: Event) => void;
|
|
51
51
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "update:loading")[], "change" | "update:modelValue" | "update:loading", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
52
|
modelValue: {
|
|
53
|
-
type: (NumberConstructor |
|
|
53
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
54
54
|
default: boolean;
|
|
55
55
|
};
|
|
56
56
|
disable: {
|
|
@@ -74,11 +74,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
76
|
activeValue: {
|
|
77
|
-
type: (NumberConstructor |
|
|
77
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
78
78
|
default: boolean;
|
|
79
79
|
};
|
|
80
80
|
inactiveValue: {
|
|
81
|
-
type: (NumberConstructor |
|
|
81
|
+
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
84
|
loading: {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
114
114
|
import Invoice from './__VUE/invoice/index.vue';
|
|
115
115
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
116
116
|
declare function install(app: App): void;
|
|
117
|
-
declare const version = "4.3.0-beta.
|
|
117
|
+
declare const version = "4.3.0-beta.6";
|
|
118
118
|
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, CalendarCard, 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 };
|
|
119
119
|
declare const _default: {
|
|
120
120
|
install: typeof install;
|