@nutui/nutui 4.1.0-beta.6 → 4.1.0
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 +30 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +2352 -2396
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/_es/Navbar.js +41 -88
- package/dist/packages/_es/Sticky.js +4 -0
- package/dist/packages/_es/Uploader.js +23 -16
- package/dist/packages/navbar/index.scss +1 -0
- package/dist/smartips/web-types.json +132 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +50 -50
- package/dist/styles/themes/jdb.scss +50 -50
- package/dist/styles/themes/jddkh.scss +50 -50
- package/dist/styles/themes/jdt.scss +50 -50
- package/dist/types/__VUE/navbar/index.vue.d.ts +8 -5
- package/dist/types/__VUE/uploader/index.vue.d.ts +40 -4
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from 'vue';
|
|
2
1
|
|
|
3
2
|
declare type Install<T> = T & {
|
|
4
3
|
install(app: import('vue').App): void;
|
|
@@ -45,12 +44,16 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
45
44
|
default: number;
|
|
46
45
|
};
|
|
47
46
|
}, {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
navbarRef: import("vue").Ref<HTMLElement | undefined>;
|
|
48
|
+
rootStyle: import("vue").ComputedRef<{
|
|
49
|
+
height: string;
|
|
50
|
+
} | {
|
|
51
|
+
height?: undefined;
|
|
52
|
+
}>;
|
|
53
|
+
classes: import("vue").ComputedRef<{
|
|
51
54
|
[x: string]: boolean;
|
|
52
55
|
}>;
|
|
53
|
-
|
|
56
|
+
navHeight: import("vue").Ref<string>;
|
|
54
57
|
handleLeft: () => void;
|
|
55
58
|
handleCenter: () => void;
|
|
56
59
|
handleCenterIcon: () => void;
|
|
@@ -19,7 +19,20 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
19
19
|
default: number;
|
|
20
20
|
};
|
|
21
21
|
fileList: {
|
|
22
|
-
type:
|
|
22
|
+
type: {
|
|
23
|
+
(arrayLength: number): any[];
|
|
24
|
+
(...items: any[]): any[];
|
|
25
|
+
new (arrayLength: number): any[];
|
|
26
|
+
new (...items: any[]): any[];
|
|
27
|
+
isArray(arg: any): arg is any[];
|
|
28
|
+
readonly prototype: any[];
|
|
29
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
30
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
31
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
32
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
33
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
34
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
35
|
+
};
|
|
23
36
|
default: () => never[];
|
|
24
37
|
};
|
|
25
38
|
isPreview: {
|
|
@@ -104,7 +117,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
104
117
|
}, {
|
|
105
118
|
onChange: (event: InputEvent) => void;
|
|
106
119
|
onDelete: (file: FileItem, index: number) => void;
|
|
107
|
-
fileList:
|
|
120
|
+
fileList: import("vue").Ref<{
|
|
121
|
+
status: import("./type").FileItemStatus;
|
|
122
|
+
message: string;
|
|
123
|
+
uid: string;
|
|
124
|
+
name?: string | undefined;
|
|
125
|
+
url?: string | undefined;
|
|
126
|
+
type?: string | undefined;
|
|
127
|
+
path?: string | undefined;
|
|
128
|
+
percentage: string | number;
|
|
129
|
+
formData: any;
|
|
130
|
+
}[]>;
|
|
108
131
|
classes: import("vue").ComputedRef<{
|
|
109
132
|
[x: string]: boolean;
|
|
110
133
|
}>;
|
|
@@ -128,7 +151,20 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
128
151
|
default: number;
|
|
129
152
|
};
|
|
130
153
|
fileList: {
|
|
131
|
-
type:
|
|
154
|
+
type: {
|
|
155
|
+
(arrayLength: number): any[];
|
|
156
|
+
(...items: any[]): any[];
|
|
157
|
+
new (arrayLength: number): any[];
|
|
158
|
+
new (...items: any[]): any[];
|
|
159
|
+
isArray(arg: any): arg is any[];
|
|
160
|
+
readonly prototype: any[];
|
|
161
|
+
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
162
|
+
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
163
|
+
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
164
|
+
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
165
|
+
of<T_4>(...items: T_4[]): T_4[];
|
|
166
|
+
readonly [Symbol.species]: ArrayConstructor;
|
|
167
|
+
};
|
|
132
168
|
default: () => never[];
|
|
133
169
|
};
|
|
134
170
|
isPreview: {
|
|
@@ -231,7 +267,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
231
267
|
accept: string;
|
|
232
268
|
capture: boolean;
|
|
233
269
|
timeout: string | number;
|
|
234
|
-
fileList:
|
|
270
|
+
fileList: any[];
|
|
235
271
|
isPreview: boolean;
|
|
236
272
|
listType: string;
|
|
237
273
|
isDeletable: boolean;
|
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.1.0
|
|
110
|
+
declare const version = "4.1.0";
|
|
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;
|