@nutui/nutui 3.1.21 → 3.1.22-beta.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/dist/nutui.es.js +3 -3
- package/dist/nutui.umd.js +3 -3
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +1 -1
- package/dist/packages/_es/AddressList.js +1 -1
- package/dist/packages/_es/Audio.js +1 -1
- package/dist/packages/_es/AudioOperate.js +1 -1
- package/dist/packages/_es/Avatar.js +1 -1
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +1 -1
- package/dist/packages/_es/Button.js +1 -1
- package/dist/packages/_es/Calendar.js +1 -1
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/Category.js +1 -1
- package/dist/packages/_es/CategoryPane.js +1 -1
- package/dist/packages/_es/Cell.js +1 -1
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +1 -1
- package/dist/packages/_es/CheckboxGroup.js +1 -1
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +1 -1
- package/dist/packages/_es/Collapse.js +1 -1
- package/dist/packages/_es/CollapseItem.js +1 -1
- package/dist/packages/_es/Comment.js +1 -1
- package/dist/packages/_es/CountDown.js +1 -1
- package/dist/packages/_es/CountUp.js +1 -1
- package/dist/packages/_es/DatePicker.js +1 -1
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/Divider.js +1 -1
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +1 -1
- package/dist/packages/_es/Elevator.js +1 -1
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +1 -1
- package/dist/packages/_es/Form.js +1 -1
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +1 -1
- package/dist/packages/_es/Icon.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/Input.js +1 -1
- package/dist/packages/_es/InputNumber.js +1 -1
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +1 -1
- package/dist/packages/_es/Menu.js +1 -1
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +1 -1
- package/dist/packages/_es/NoticeBar.js +1 -1
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/OldPicker.js +1 -1
- package/dist/packages/_es/OverLay.js +1 -1
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/PullRefresh.js +1 -1
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Range.js +1 -1
- package/dist/packages/_es/Rate.js +1 -1
- package/dist/packages/_es/Row.js +1 -1
- package/dist/packages/_es/SearchBar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/SideNavBar.js +1 -1
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +1 -1
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/Step.js +1 -1
- package/dist/packages/_es/Steps.js +1 -1
- package/dist/packages/_es/Sticky.js +1 -1
- package/dist/packages/_es/SubSideNavBar.js +1 -1
- package/dist/packages/_es/Swipe.js +1 -1
- package/dist/packages/_es/Swiper.js +1 -1
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +1 -1
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +1 -1
- package/dist/packages/_es/TabbarItem.js +1 -1
- package/dist/packages/_es/Table.js +1 -1
- package/dist/packages/_es/Tabs.js +1 -1
- package/dist/packages/_es/Tag.js +1 -1
- package/dist/packages/_es/TextArea.js +1 -1
- package/dist/packages/_es/TimeDetail.js +1 -1
- package/dist/packages/_es/TimePannel.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +1 -1
- package/dist/packages/_es/Uploader.js +2 -2
- package/dist/packages/_es/Video.js +1 -1
- package/dist/packages/_es/common.js +1 -1
- package/dist/packages/_es/component.js +1 -1
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +1 -1
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +47 -47
- package/dist/styles/themes/jdb.scss +47 -47
- package/dist/styles/themes/jdt.scss +47 -47
- package/dist/types/__VUE/datepicker/index.vue.d.ts +5 -5
- package/dist/types/__VUE/datepicker/type.d.ts +6 -0
- package/dist/types/__VUE/dialog/index.vue.d.ts +3 -9
- package/dist/types/__VUE/divider/index.vue.d.ts +2 -2
- package/dist/types/__VUE/grid/common.d.ts +3 -3
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/menuitem/type.d.ts +8 -0
- package/dist/types/__VUE/noticebar/index.vue.d.ts +3 -3
- package/dist/types/__VUE/picker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/range/index.vue.d.ts +1 -1
- package/dist/types/__VUE/skeleton/common.d.ts +2 -4
- package/dist/types/__VUE/swiper/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabs/common.d.ts +2 -2
- package/dist/types/__VUE/uploader/index.vue.d.ts +2 -2
- package/dist/types/__VUE/uploader/type.d.ts +2 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -1
|
@@ -105,8 +105,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
105
105
|
color: import("vue").Ref<string>;
|
|
106
106
|
text: import("vue").Ref<string>;
|
|
107
107
|
onClose: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
108
|
-
direction: import("vue").Ref<string>;
|
|
109
108
|
height: import("vue").Ref<number>;
|
|
109
|
+
direction: import("vue").Ref<string>;
|
|
110
110
|
background: import("vue").Ref<string>;
|
|
111
111
|
list: import("vue").Ref<unknown[]>;
|
|
112
112
|
leftIcon: import("vue").Ref<string>;
|
|
@@ -137,8 +137,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
137
137
|
} & {
|
|
138
138
|
color: string;
|
|
139
139
|
text: string;
|
|
140
|
-
direction: string;
|
|
141
140
|
height: number;
|
|
141
|
+
direction: string;
|
|
142
142
|
background: string;
|
|
143
143
|
list: unknown[];
|
|
144
144
|
leftIcon: string;
|
|
@@ -156,8 +156,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
156
156
|
}, {
|
|
157
157
|
color: string;
|
|
158
158
|
text: string;
|
|
159
|
-
direction: string;
|
|
160
159
|
height: number;
|
|
160
|
+
direction: string;
|
|
161
161
|
background: string;
|
|
162
162
|
list: unknown[];
|
|
163
163
|
leftIcon: string;
|
|
@@ -39,8 +39,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
39
39
|
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
40
40
|
column: import("vue").Ref<PickerOption[]>;
|
|
41
41
|
onChange: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
42
|
-
value: import("vue").Ref<string | number | undefined>;
|
|
43
42
|
readonly: import("vue").Ref<boolean>;
|
|
43
|
+
value: import("vue").Ref<string | number | undefined>;
|
|
44
44
|
columnsType: import("vue").Ref<string | undefined>;
|
|
45
45
|
itemShow: import("vue").Ref<boolean>;
|
|
46
46
|
touchParams: import("vue").Ref<{
|
|
@@ -143,8 +143,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
143
143
|
onClick: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
144
144
|
column: import("vue").Ref<import("./types").PickerOption[]>;
|
|
145
145
|
onChange: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
146
|
-
value: import("vue").Ref<string | number | undefined>;
|
|
147
146
|
readonly: import("vue").Ref<boolean>;
|
|
147
|
+
value: import("vue").Ref<string | number | undefined>;
|
|
148
148
|
columnsType: import("vue").Ref<string | undefined>;
|
|
149
149
|
itemShow: import("vue").Ref<boolean>;
|
|
150
150
|
touchParams: import("vue").Ref<{
|
|
@@ -158,6 +158,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
158
158
|
overlayClass: string;
|
|
159
159
|
lockScroll: boolean;
|
|
160
160
|
closeOnClickOverlay: boolean;
|
|
161
|
+
offset: unknown[];
|
|
161
162
|
position: string;
|
|
162
163
|
popClass: string;
|
|
163
164
|
closeable: boolean;
|
|
@@ -167,7 +168,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
167
168
|
teleport: string | Element;
|
|
168
169
|
isWrapTeleport: boolean;
|
|
169
170
|
safeAreaInsetBottom: boolean;
|
|
170
|
-
offset: unknown[];
|
|
171
171
|
list: unknown[];
|
|
172
172
|
customClass: string;
|
|
173
173
|
theme: import("./type").PopoverTheme;
|
|
@@ -192,6 +192,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
192
192
|
overlayClass: string;
|
|
193
193
|
lockScroll: boolean;
|
|
194
194
|
closeOnClickOverlay: boolean;
|
|
195
|
+
offset: unknown[];
|
|
195
196
|
position: string;
|
|
196
197
|
popClass: string;
|
|
197
198
|
closeable: boolean;
|
|
@@ -201,7 +202,6 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
201
202
|
teleport: string | Element;
|
|
202
203
|
isWrapTeleport: boolean;
|
|
203
204
|
safeAreaInsetBottom: boolean;
|
|
204
|
-
offset: unknown[];
|
|
205
205
|
list: unknown[];
|
|
206
206
|
customClass: string;
|
|
207
207
|
theme: import("./type").PopoverTheme;
|
|
@@ -62,8 +62,8 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
62
62
|
range: import("vue").Ref<boolean>;
|
|
63
63
|
onChange: import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
64
64
|
activeColor: import("vue").Ref<string | undefined>;
|
|
65
|
-
modelValue: import("vue").Ref<import("./type").SliderValue>;
|
|
66
65
|
"onUpdate:modelValue": import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
66
|
+
modelValue: import("vue").Ref<import("./type").SliderValue>;
|
|
67
67
|
"onDrag-end": import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
68
68
|
"onDrag-start": import("vue").Ref<((...args: any[]) => any) | undefined>;
|
|
69
69
|
inactiveColor: import("vue").Ref<string | undefined>;
|
|
@@ -2,8 +2,6 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
import { CSSProperties } from 'vue';
|
|
6
|
-
import { PropType } from 'vue';
|
|
7
5
|
export declare type avatarShape = 'round' | 'square';
|
|
8
6
|
export declare const component: {
|
|
9
7
|
props: {
|
|
@@ -24,7 +22,7 @@ export declare const component: {
|
|
|
24
22
|
default: boolean;
|
|
25
23
|
};
|
|
26
24
|
avatarShape: {
|
|
27
|
-
type: PropType<avatarShape>;
|
|
25
|
+
type: import("vue").PropType<avatarShape>;
|
|
28
26
|
default: string;
|
|
29
27
|
};
|
|
30
28
|
avatarSize: {
|
|
@@ -58,6 +56,6 @@ export declare const component: {
|
|
|
58
56
|
[x: string]: any;
|
|
59
57
|
blockClass: boolean;
|
|
60
58
|
}>;
|
|
61
|
-
getStyle: () => CSSProperties;
|
|
59
|
+
getStyle: () => import('vue').CSSProperties;
|
|
62
60
|
};
|
|
63
61
|
};
|
|
@@ -106,9 +106,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
106
106
|
isStopPropagation?: unknown;
|
|
107
107
|
} & {
|
|
108
108
|
duration: string | number;
|
|
109
|
-
direction: string;
|
|
110
109
|
width: string | number;
|
|
111
110
|
height: string | number;
|
|
111
|
+
direction: string;
|
|
112
112
|
loop: boolean;
|
|
113
113
|
paginationVisible: boolean;
|
|
114
114
|
paginationColor: string;
|
|
@@ -121,9 +121,9 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
121
121
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
122
122
|
}, {
|
|
123
123
|
duration: string | number;
|
|
124
|
-
direction: string;
|
|
125
124
|
width: string | number;
|
|
126
125
|
height: string | number;
|
|
126
|
+
direction: string;
|
|
127
127
|
loop: boolean;
|
|
128
128
|
paginationVisible: boolean;
|
|
129
129
|
paginationColor: string;
|
|
@@ -2,7 +2,7 @@ import { App, PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
3
|
install(app: App): void;
|
|
4
4
|
};
|
|
5
|
-
import { VNode, Ref
|
|
5
|
+
import { VNode, Ref } from 'vue';
|
|
6
6
|
export declare class Title {
|
|
7
7
|
title: string;
|
|
8
8
|
titleSlot?: VNode[];
|
|
@@ -26,7 +26,7 @@ export declare const component: {
|
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
28
|
size: {
|
|
29
|
-
type: PropType<TabsSize>;
|
|
29
|
+
type: import("vue").PropType<TabsSize>;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
type: {
|
|
@@ -112,7 +112,7 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
112
112
|
fileItemClick: (fileItem: import('./type').FileItem) => void;
|
|
113
113
|
clearUploadQueue: (index?: number) => void;
|
|
114
114
|
submit: () => void;
|
|
115
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("progress" | "success" | "start" | "change" | "
|
|
115
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("progress" | "success" | "start" | "change" | "oversize" | "failure" | "delete" | "update:fileList" | "file-item-click")[], "progress" | "success" | "start" | "change" | "oversize" | "failure" | "delete" | "update:fileList" | "file-item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{
|
|
116
116
|
name?: unknown;
|
|
117
117
|
url?: unknown;
|
|
118
118
|
timeout?: unknown;
|
|
@@ -167,12 +167,12 @@ declare const _sfc_main: Install< import("vue").DefineComponent<{
|
|
|
167
167
|
onChange?: Function | undefined;
|
|
168
168
|
}> & {
|
|
169
169
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
170
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
171
170
|
onProgress?: ((...args: any[]) => any) | undefined;
|
|
172
171
|
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
173
172
|
onStart?: ((...args: any[]) => any) | undefined;
|
|
174
173
|
onOversize?: ((...args: any[]) => any) | undefined;
|
|
175
174
|
onFailure?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
176
176
|
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
177
177
|
"onFile-item-click"?: ((...args: any[]) => any) | undefined;
|
|
178
178
|
}, {
|
package/dist/types/index.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.22-beta.0",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"dev:taro:vue": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:weapp",
|
|
44
44
|
"dev:taro:h5": "npm run createTaroConfig && npm run checked:taro:vue && cd src/sites/mobile-taro/vue/ && npm run dev:h5",
|
|
45
45
|
"build:site": "npm run checked && vite build",
|
|
46
|
+
"build:site-jdt": "npm run checked && vite build --config vite.config.jdt.ts ",
|
|
46
47
|
"build:site:oss": "npm run checked && vite build --base=/nutui/3x/",
|
|
47
48
|
"build": "npm run checked && vite build --config vite.config.build.ts && vite build --config vite.config.build.disperse.ts && npm run generate:types && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run attrs",
|
|
48
49
|
"build:taro:vue": "npm run checked:taro:vue && vite build --config vite.config.build.taro.vue.ts && vite build --config vite.config.build.taro.vue.disperse.ts && npm run generate:types:taro && npm run generate:themes && vite build --config vite.config.build.css.ts && vite build --config vite.config.build.locale.ts && npm run attrs",
|