@nutui/nutui 4.0.4 → 4.0.5-beta.2
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.umd.js +2 -2
- package/dist/packages/_es/Address.js +3 -0
- package/dist/packages/_es/AddressList.js +2 -2
- package/dist/packages/_es/Audio.js +6 -0
- package/dist/packages/_es/AudioOperate.js +1 -0
- package/dist/packages/_es/Avatar.js +2 -0
- package/dist/packages/_es/AvatarGroup.js +1 -0
- package/dist/packages/_es/Backtop.js +2 -2
- 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/Cascader.js +2 -0
- package/dist/packages/_es/Category.js +2 -0
- package/dist/packages/_es/CategoryPane.js +3 -0
- package/dist/packages/_es/Cell.js +1 -0
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +5 -1
- package/dist/packages/_es/CheckboxGroup.js +15 -2
- package/dist/packages/_es/CollapseItem.js +1 -0
- package/dist/packages/_es/Comment.js +5 -0
- package/dist/packages/_es/Countdown.js +8 -0
- package/dist/packages/_es/Countup.js +10 -0
- package/dist/packages/_es/DatePicker.js +16 -20
- package/dist/packages/_es/Dialog.js +6 -3
- package/dist/packages/_es/Ellipsis.js +2 -0
- package/dist/packages/_es/Empty.js +3 -0
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +2 -1
- package/dist/packages/_es/ImagePreview.js +2 -1
- package/dist/packages/_es/Input.js +9 -2
- package/dist/packages/_es/Invoice.js +5 -3
- package/dist/packages/_es/Navbar.js +6 -0
- package/dist/packages/_es/Noticebar.js +1 -0
- package/dist/packages/_es/Notify.js +4 -1
- package/dist/packages/_es/Picker.js +2 -0
- package/dist/packages/_es/PullRefresh.js +4 -0
- package/dist/packages/_es/Radio.js +1 -1
- package/dist/packages/_es/RadioGroup.js +1 -1
- package/dist/packages/_es/Searchbar.js +1 -0
- package/dist/packages/_es/ShortPassword.js +1 -0
- package/dist/packages/_es/Skeleton.js +10 -0
- package/dist/packages/_es/Sku.js +14 -0
- package/dist/packages/_es/Swiper.js +1 -0
- package/dist/packages/_es/TabbarItem.js +5 -0
- package/dist/packages/_es/Tabs.js +22 -6
- package/dist/packages/_es/Textarea.js +1 -0
- package/dist/packages/_es/Toast.js +10 -2
- package/dist/packages/_es/Tour.js +1 -0
- package/dist/packages/_es/Uploader.js +3 -1
- package/dist/packages/_es/Video.js +18 -0
- package/dist/packages/_es/{common-ceb98554.js → common-b9a5e726.js} +8 -0
- package/dist/packages/_es/{index-2a2f92bd.js → index-f933fcf6.js} +41 -4
- package/dist/packages/_es/{index.vue_vue_type_script_lang-1291fceb.js → index.vue_vue_type_script_lang-22dfc112.js} +1 -0
- package/dist/packages/_es/{index.vue_vue_type_script_lang-d4c88f85.js → index.vue_vue_type_script_lang-442e4704.js} +1 -0
- package/dist/packages/_es/{mountComponent-1ece4110.js → mountComponent-8b24c346.js} +7 -7
- package/dist/packages/button/index.scss +1 -1
- package/dist/packages/cellgroup/index.scss +1 -1
- package/dist/packages/tabs/index.scss +8 -1
- package/dist/smartips/web-types.json +4 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +52 -52
- package/dist/styles/themes/jdb.scss +52 -52
- package/dist/styles/themes/jddkh.scss +52 -52
- package/dist/styles/themes/jdt.scss +52 -52
- package/dist/types/__VUE/cell/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +2 -2
- package/dist/types/__VUE/grid/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +4 -2
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +1 -1
- package/dist/types/__VUE/rate/index.vue.d.ts +1 -1
- package/dist/types/__VUE/searchbar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/skeleton/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabs/index.vue.d.ts +1 -0
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -100,8 +100,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
100
100
|
title: string;
|
|
101
101
|
center: boolean;
|
|
102
102
|
desc: string;
|
|
103
|
-
replace: boolean;
|
|
104
103
|
size: string;
|
|
104
|
+
replace: boolean;
|
|
105
105
|
url: string;
|
|
106
106
|
subTitle: string;
|
|
107
107
|
descTextAlign: string;
|
|
@@ -76,8 +76,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
76
76
|
setRef: (el: any) => void;
|
|
77
77
|
topNumber: (index: number) => string | number;
|
|
78
78
|
turnNumber: (index: number) => string | number;
|
|
79
|
-
toFixed: import("vue").Ref<number>;
|
|
80
79
|
type: import("vue").Ref<string>;
|
|
80
|
+
toFixed: import("vue").Ref<number>;
|
|
81
81
|
initNum: import("vue").Ref<number>;
|
|
82
82
|
endNum: import("vue").Ref<number>;
|
|
83
83
|
speed: import("vue").Ref<number>;
|
|
@@ -188,8 +188,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
188
188
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
"onScroll-end"?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
toFixed: number;
|
|
192
191
|
type: string;
|
|
192
|
+
toFixed: number;
|
|
193
193
|
initNum: number;
|
|
194
194
|
endNum: number;
|
|
195
195
|
speed: number;
|
|
@@ -34,7 +34,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
34
34
|
type: BooleanConstructor;
|
|
35
35
|
default: boolean;
|
|
36
36
|
};
|
|
37
|
-
}, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin,
|
|
37
|
+
}, import("vue").RenderFunction, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
38
|
columnNum: {
|
|
39
39
|
type: (NumberConstructor | StringConstructor)[];
|
|
40
40
|
default: number;
|
|
@@ -107,8 +107,9 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
107
107
|
clear: (event: Event) => void;
|
|
108
108
|
startComposing: ({ target }: Event) => void;
|
|
109
109
|
endComposing: ({ target }: Event) => void;
|
|
110
|
+
onClick: (event: MouseEvent) => void;
|
|
110
111
|
onClickInput: (event: MouseEvent) => void;
|
|
111
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "update:modelValue" | "blur" | "focus" | "keypress" | "click-input")[], "clear" | "update:modelValue" | "blur" | "focus" | "keypress" | "click-input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clear" | "update:modelValue" | "blur" | "focus" | "keypress" | "click-input")[], "click" | "clear" | "update:modelValue" | "blur" | "focus" | "keypress" | "click-input", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
112
113
|
type: {
|
|
113
114
|
type: PropType<string | undefined>;
|
|
114
115
|
default: string;
|
|
@@ -182,6 +183,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
182
183
|
default: boolean;
|
|
183
184
|
};
|
|
184
185
|
}>> & {
|
|
186
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
185
187
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
186
188
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
187
189
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
@@ -189,13 +191,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
189
191
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
190
192
|
"onClick-input"?: ((...args: any[]) => any) | undefined;
|
|
191
193
|
}, {
|
|
192
|
-
readonly: boolean;
|
|
193
194
|
type: string | undefined;
|
|
194
195
|
border: boolean;
|
|
195
196
|
disabled: boolean;
|
|
196
197
|
modelValue: string;
|
|
197
198
|
error: boolean;
|
|
198
199
|
required: boolean;
|
|
200
|
+
readonly: boolean;
|
|
199
201
|
formatter: (value: string) => string;
|
|
200
202
|
placeholder: string;
|
|
201
203
|
inputAlign: string;
|
|
@@ -97,12 +97,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
97
|
onReduce?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
onOverlimit?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
readonly: boolean;
|
|
101
100
|
disabled: boolean;
|
|
102
101
|
modelValue: string | number;
|
|
103
102
|
min: string | number;
|
|
104
103
|
max: string | number;
|
|
105
104
|
step: string | number;
|
|
105
|
+
readonly: boolean;
|
|
106
106
|
inputWidth: string | number;
|
|
107
107
|
buttonSize: string | number;
|
|
108
108
|
decimalPlaces: string | number;
|
|
@@ -112,7 +112,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
112
112
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
113
113
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
114
114
|
}, {
|
|
115
|
-
readonly: boolean;
|
|
116
115
|
size: string | number;
|
|
117
116
|
disabled: boolean;
|
|
118
117
|
modelValue: string | number;
|
|
@@ -120,6 +119,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
120
119
|
count: string | number;
|
|
121
120
|
customIcon: Record<string, any>;
|
|
122
121
|
voidColor: string;
|
|
122
|
+
readonly: boolean;
|
|
123
123
|
allowHalf: boolean;
|
|
124
124
|
touchable: boolean;
|
|
125
125
|
spacing: string | number;
|
|
@@ -84,7 +84,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
84
84
|
[key: string]: any;
|
|
85
85
|
}>;
|
|
86
86
|
inputsearch: Ref<HTMLElement | null>;
|
|
87
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
87
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clear" | "change" | "update:modelValue" | "search" | "blur" | "focus" | "click-input" | "click-left-icon" | "click-right-icon")[], "clear" | "change" | "update:modelValue" | "search" | "blur" | "focus" | "click-input" | "click-left-icon" | "click-right-icon", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
88
|
modelValue: {
|
|
89
89
|
type: (NumberConstructor | StringConstructor)[];
|
|
90
90
|
default: string;
|
|
@@ -153,10 +153,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
153
153
|
"onClick-right-icon"?: ((...args: any[]) => any) | undefined;
|
|
154
154
|
}, {
|
|
155
155
|
label: string;
|
|
156
|
-
readonly: boolean;
|
|
157
156
|
disabled: boolean;
|
|
158
157
|
modelValue: string | number;
|
|
159
158
|
background: string;
|
|
159
|
+
readonly: boolean;
|
|
160
160
|
placeholder: string;
|
|
161
161
|
inputAlign: string;
|
|
162
162
|
maxLength: string | number;
|
|
@@ -98,8 +98,8 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
98
98
|
title: boolean;
|
|
99
99
|
round: boolean;
|
|
100
100
|
row: string;
|
|
101
|
-
height: string;
|
|
102
101
|
loading: boolean;
|
|
102
|
+
height: string;
|
|
103
103
|
width: string;
|
|
104
104
|
avatar: boolean;
|
|
105
105
|
avatarShape: import("./common").avatarShape;
|
|
@@ -105,10 +105,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
105
105
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
107
|
}, {
|
|
108
|
-
readonly: boolean;
|
|
109
108
|
disabled: boolean;
|
|
110
109
|
modelValue: string;
|
|
111
110
|
rows: string | number;
|
|
111
|
+
readonly: boolean;
|
|
112
112
|
textAlign: string;
|
|
113
113
|
placeholder: string;
|
|
114
114
|
maxLength: string | number;
|
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.5-beta.2";
|
|
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;
|