@nutui/nutui 4.0.9 → 4.0.10-beta.1
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 +17123 -0
- package/dist/nutui.umd.js +1 -7
- package/dist/packages/_es/Menu.js +1 -2
- package/dist/packages/_es/MenuItem.js +24 -34
- package/dist/packages/_es/Picker.js +7 -11
- package/dist/packages/_es/Row.js +12 -12
- package/dist/packages/_es/Searchbar.js +9 -7
- package/dist/packages/col/index.scss +2 -2
- package/dist/packages/menuitem/index.scss +7 -10
- package/dist/packages/searchbar/index.scss +4 -0
- package/dist/smartips/web-types.json +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/types/__VUE/menu/index.vue.d.ts +0 -2
- package/dist/types/__VUE/menuitem/index.vue.d.ts +9 -17
- package/dist/types/__VUE/navbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/usePicker.d.ts +1 -1
- package/dist/types/__VUE/row/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +11 -2
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -19,7 +19,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
19
19
|
type: (NumberConstructor | StringConstructor)[];
|
|
20
20
|
default: number;
|
|
21
21
|
};
|
|
22
|
-
titleIcon: StringConstructor;
|
|
23
22
|
closeOnClickOverlay: {
|
|
24
23
|
type: BooleanConstructor;
|
|
25
24
|
default: boolean;
|
|
@@ -60,7 +59,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
60
59
|
type: (NumberConstructor | StringConstructor)[];
|
|
61
60
|
default: number;
|
|
62
61
|
};
|
|
63
|
-
titleIcon: StringConstructor;
|
|
64
62
|
closeOnClickOverlay: {
|
|
65
63
|
type: BooleanConstructor;
|
|
66
64
|
default: boolean;
|
|
@@ -21,31 +21,28 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
21
21
|
};
|
|
22
22
|
activeTitleClass: StringConstructor;
|
|
23
23
|
inactiveTitleClass: StringConstructor;
|
|
24
|
-
optionIcon: {
|
|
25
|
-
type: StringConstructor;
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
24
|
}, {
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
style: import("vue").ComputedRef<{
|
|
26
|
+
top: string;
|
|
27
|
+
bottom?: undefined;
|
|
28
|
+
} | {
|
|
29
|
+
bottom: string;
|
|
30
|
+
top?: undefined;
|
|
31
31
|
}>;
|
|
32
32
|
placeholderElementStyle: import("vue").ComputedRef<{
|
|
33
|
+
top: string;
|
|
33
34
|
height: string;
|
|
34
35
|
} | {
|
|
35
|
-
|
|
36
|
+
bottom: string;
|
|
36
37
|
height: string;
|
|
37
38
|
}>;
|
|
38
39
|
renderTitle: () => any;
|
|
39
40
|
state: {
|
|
40
41
|
showPopup: boolean;
|
|
41
|
-
transition: boolean;
|
|
42
42
|
showWrapper: boolean;
|
|
43
|
-
isShowPlaceholderElement: boolean;
|
|
44
43
|
};
|
|
45
44
|
parent: any;
|
|
46
|
-
toggle: (show?: boolean
|
|
47
|
-
immediate?: boolean;
|
|
48
|
-
}) => void;
|
|
45
|
+
toggle: (show?: boolean) => void;
|
|
49
46
|
onClick: (option: MenuItemOption) => void;
|
|
50
47
|
handleClose: () => void;
|
|
51
48
|
handleClickOutside: () => void;
|
|
@@ -66,10 +63,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
66
63
|
};
|
|
67
64
|
activeTitleClass: StringConstructor;
|
|
68
65
|
inactiveTitleClass: StringConstructor;
|
|
69
|
-
optionIcon: {
|
|
70
|
-
type: StringConstructor;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
66
|
}>> & {
|
|
74
67
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
75
68
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -79,7 +72,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
79
72
|
disabled: boolean;
|
|
80
73
|
options: MenuItemOption[];
|
|
81
74
|
cols: number;
|
|
82
|
-
optionIcon: string;
|
|
83
75
|
}>>;
|
|
84
76
|
export default _default;
|
|
85
77
|
|
|
@@ -108,8 +108,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
108
108
|
fixed: boolean;
|
|
109
109
|
border: boolean;
|
|
110
110
|
placeholder: boolean;
|
|
111
|
-
titleIcon: boolean;
|
|
112
111
|
leftShow: boolean;
|
|
112
|
+
titleIcon: boolean;
|
|
113
113
|
leftText: string;
|
|
114
114
|
safeAreaInsetTop: boolean;
|
|
115
115
|
}>>;
|
|
@@ -8,7 +8,7 @@ export declare const usePicker: (props: any, emit: any) => {
|
|
|
8
8
|
defaultValues: import("vue").Ref<(string | number)[]>;
|
|
9
9
|
pickerColumn: import("vue").Ref<any[]>;
|
|
10
10
|
swipeRef: (el: any) => void;
|
|
11
|
-
selectedOptions: import("vue").ComputedRef<PickerOption[]>;
|
|
11
|
+
selectedOptions: import("vue").ComputedRef<(PickerOption | undefined)[]>;
|
|
12
12
|
isSameValue: (valA: any, valB: any) => boolean;
|
|
13
13
|
formattedColumns: import("vue").Ref<any>;
|
|
14
14
|
classes: import("vue").ComputedRef<{
|
|
@@ -24,7 +24,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
}, {
|
|
27
|
-
|
|
27
|
+
classes: import("vue").ComputedRef<string[]>;
|
|
28
28
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
29
|
type: {
|
|
30
30
|
type: StringConstructor;
|
|
@@ -17,6 +17,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
17
17
|
type: StringConstructor;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
|
+
shape: {
|
|
21
|
+
type: StringConstructor;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
20
24
|
maxLength: {
|
|
21
25
|
type: (NumberConstructor | StringConstructor)[];
|
|
22
26
|
default: string;
|
|
@@ -43,7 +47,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
43
47
|
};
|
|
44
48
|
focusStyle: {
|
|
45
49
|
type: ObjectConstructor;
|
|
46
|
-
default: () =>
|
|
50
|
+
default: () => {};
|
|
47
51
|
};
|
|
48
52
|
autofocus: {
|
|
49
53
|
type: BooleanConstructor;
|
|
@@ -97,6 +101,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
101
|
type: StringConstructor;
|
|
98
102
|
default: string;
|
|
99
103
|
};
|
|
104
|
+
shape: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
100
108
|
maxLength: {
|
|
101
109
|
type: (NumberConstructor | StringConstructor)[];
|
|
102
110
|
default: string;
|
|
@@ -123,7 +131,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
123
131
|
};
|
|
124
132
|
focusStyle: {
|
|
125
133
|
type: ObjectConstructor;
|
|
126
|
-
default: () =>
|
|
134
|
+
default: () => {};
|
|
127
135
|
};
|
|
128
136
|
autofocus: {
|
|
129
137
|
type: BooleanConstructor;
|
|
@@ -155,6 +163,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
155
163
|
label: string;
|
|
156
164
|
disabled: boolean;
|
|
157
165
|
modelValue: string | number;
|
|
166
|
+
shape: string;
|
|
158
167
|
background: string;
|
|
159
168
|
readonly: boolean;
|
|
160
169
|
placeholder: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -107,7 +107,7 @@ import CategoryPane from './__VUE/categorypane/index.vue';
|
|
|
107
107
|
import Comment from './__VUE/comment/index.vue';
|
|
108
108
|
import Invoice from './__VUE/invoice/index.vue';
|
|
109
109
|
declare function install(app: App): void;
|
|
110
|
-
declare const version = "4.0.
|
|
110
|
+
declare const version = "4.0.10-beta.1";
|
|
111
111
|
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, 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 };
|
|
112
112
|
declare const _default: {
|
|
113
113
|
install: typeof install;
|