@nutui/nutui 4.0.9-beta.2 → 4.0.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 +19 -0
- package/README.md +6 -28
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/Collapse.js +15 -10
- package/dist/packages/_es/Dialog.js +11 -4
- package/dist/packages/_es/ImagePreview.js +14 -4
- package/dist/packages/_es/Tabs.js +8 -6
- package/dist/packages/imagepreview/index.scss +0 -5
- package/dist/smartips/web-types.json +2 -2
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +49 -49
- package/dist/styles/themes/jdb.scss +49 -49
- package/dist/styles/themes/jddkh.scss +49 -49
- package/dist/styles/themes/jdt.scss +49 -49
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/dialog/index.d.ts +1 -0
- package/dist/types/__VUE/dialog/index.vue.d.ts +1 -0
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +9 -0
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +12 -0
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -2
|
@@ -18,7 +18,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
18
18
|
of<T_4>(...items: T_4[]): T_4[];
|
|
19
19
|
readonly [Symbol.species]: ArrayConstructor;
|
|
20
20
|
})[];
|
|
21
|
-
default:
|
|
21
|
+
default: string;
|
|
22
22
|
};
|
|
23
23
|
accordion: {
|
|
24
24
|
type: BooleanConstructor;
|
|
@@ -45,7 +45,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
45
45
|
of<T_4>(...items: T_4[]): T_4[];
|
|
46
46
|
readonly [Symbol.species]: ArrayConstructor;
|
|
47
47
|
})[];
|
|
48
|
-
default:
|
|
48
|
+
default: string;
|
|
49
49
|
};
|
|
50
50
|
accordion: {
|
|
51
51
|
type: BooleanConstructor;
|
|
@@ -149,6 +149,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
149
149
|
onCancel: () => void;
|
|
150
150
|
onOk: () => void;
|
|
151
151
|
showPopup: import("vue").Ref<boolean>;
|
|
152
|
+
onClickOverlay: () => void;
|
|
152
153
|
contentStyle: import("vue").ComputedRef<CSSProperties>;
|
|
153
154
|
translate: (keyPath: string, ...args: unknown[]) => string;
|
|
154
155
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("closed" | "update:visible" | "cancel" | "update" | "ok" | "opened")[], "closed" | "update:visible" | "cancel" | "update" | "ok" | "opened", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -21,6 +21,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
21
21
|
type: NumberConstructor;
|
|
22
22
|
default: number;
|
|
23
23
|
};
|
|
24
|
+
contentClose: {
|
|
25
|
+
type: BooleanConstructor;
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
24
28
|
show: {
|
|
25
29
|
type: BooleanConstructor;
|
|
26
30
|
default: boolean;
|
|
@@ -74,6 +78,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
78
|
type: NumberConstructor;
|
|
75
79
|
default: number;
|
|
76
80
|
};
|
|
81
|
+
contentClose: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
77
85
|
show: {
|
|
78
86
|
type: BooleanConstructor;
|
|
79
87
|
default: boolean;
|
|
@@ -103,6 +111,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
103
111
|
show: boolean;
|
|
104
112
|
rootWidth: number;
|
|
105
113
|
rootHeight: number;
|
|
114
|
+
contentClose: boolean;
|
|
106
115
|
initNo: number;
|
|
107
116
|
showIndex: boolean;
|
|
108
117
|
minZoom: number;
|
|
@@ -165,13 +165,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
165
165
|
autoplay: string | number;
|
|
166
166
|
videos: unknown[];
|
|
167
167
|
images: ImageInterface[];
|
|
168
|
+
contentClose: boolean;
|
|
168
169
|
initNo: number;
|
|
169
170
|
showIndex: boolean;
|
|
170
171
|
minZoom: number;
|
|
171
172
|
maxZoom: number;
|
|
172
173
|
paginationVisible: boolean;
|
|
173
174
|
paginationColor: string;
|
|
174
|
-
contentClose: boolean;
|
|
175
175
|
isLoop: boolean;
|
|
176
176
|
}>>;
|
|
177
177
|
export default _default;
|
|
@@ -87,8 +87,20 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
87
87
|
background: any;
|
|
88
88
|
}>;
|
|
89
89
|
titleStyle: import("vue").ComputedRef<{
|
|
90
|
+
marginTop?: undefined;
|
|
91
|
+
marginBottom?: undefined;
|
|
92
|
+
marginLeft?: undefined;
|
|
93
|
+
marginRight?: undefined;
|
|
94
|
+
} | {
|
|
95
|
+
marginTop: string;
|
|
96
|
+
marginBottom: string;
|
|
97
|
+
marginLeft?: undefined;
|
|
98
|
+
marginRight?: undefined;
|
|
99
|
+
} | {
|
|
90
100
|
marginLeft: string;
|
|
91
101
|
marginRight: string;
|
|
102
|
+
marginTop?: undefined;
|
|
103
|
+
marginBottom?: undefined;
|
|
92
104
|
}>;
|
|
93
105
|
tabsActiveStyle: import("vue").ComputedRef<{
|
|
94
106
|
color: any;
|
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.9
|
|
110
|
+
declare const version = "4.0.9";
|
|
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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "4.0.9
|
|
3
|
+
"version": "4.0.9",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"publish:latest": "npm publish"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
|
-
"unplugin-vue-components": "^0.
|
|
40
|
+
"unplugin-vue-components": "^0.25.1"
|
|
41
41
|
},
|
|
42
42
|
"peerDependenciesMeta": {
|
|
43
43
|
"unplugin-vue-components": {
|