@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.
@@ -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
- navBarWrap: Ref<any>;
49
- navBarHtml: Ref<HTMLElement | null>;
50
- classes: ComputedRef<{
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
- styles: ComputedRef<any>;
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: ArrayConstructor;
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: FileItem[];
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: ArrayConstructor;
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: unknown[];
270
+ fileList: any[];
235
271
  isPreview: boolean;
236
272
  listType: string;
237
273
  isDeletable: boolean;
@@ -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-beta.6";
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nutui/nutui",
3
- "version": "4.1.0-beta.6",
3
+ "version": "4.1.0",
4
4
  "description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
5
5
  "main": "dist/nutui.umd.js",
6
6
  "module": "dist/nutui.es.js",