@nutui/nutui 4.0.0-beta.23 → 4.0.0-beta.24
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/Badge.js +2 -2
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/InputNumber.js +4 -4
- package/dist/packages/_es/Overlay.js +10 -4
- package/dist/packages/_es/Tabs.js +3 -3
- package/dist/packages/ecard/index.scss +19 -5
- package/dist/packages/inputnumber/index.scss +6 -0
- package/dist/packages/tabbaritem/index.scss +2 -0
- package/dist/packages/tour/index.scss +3 -0
- package/dist/smartips/web-types.json +15 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +310 -0
- package/dist/types/__VUE/address/index.taro.vue.d.ts +397 -0
- package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +60 -0
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +23 -0
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +83 -0
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +92 -0
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +76 -0
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/button/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +187 -0
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +217 -0
- package/dist/types/__VUE/card/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +77 -0
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +263 -0
- package/dist/types/__VUE/category/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +54 -0
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +124 -0
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +27 -0
- package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +119 -0
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +45 -0
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +213 -0
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +232 -0
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +345 -0
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +62 -0
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +117 -0
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/form/index.taro.vue.d.ts +40 -0
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +114 -0
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +22 -0
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/image/index.taro.vue.d.ts +32 -0
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +163 -0
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +70 -0
- package/dist/types/__VUE/input/index.taro.vue.d.ts +224 -0
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +116 -0
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +52 -0
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +12 -0
- package/dist/types/__VUE/list/index.taro.vue.d.ts +58 -0
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +89 -0
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +207 -0
- package/dist/types/__VUE/noticebar/index.vue.d.ts +2 -2
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +110 -0
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +132 -0
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +85 -0
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +111 -0
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +219 -0
- package/dist/types/__VUE/price/index.taro.vue.d.ts +87 -0
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +128 -0
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/range/index.taro.vue.d.ts +158 -0
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +121 -0
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +14 -0
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +177 -0
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +103 -0
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +31 -0
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +84 -0
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +115 -0
- package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +28 -0
- package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +56 -0
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +146 -0
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +46 -0
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +47 -0
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +53 -0
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +71 -0
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +168 -0
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +18 -0
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +108 -0
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +93 -0
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +59 -0
- package/dist/types/__VUE/table/index.taro.vue.d.ts +80 -0
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +164 -0
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +90 -0
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +127 -0
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +38 -0
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +42 -0
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +91 -0
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +184 -0
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +192 -0
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +105 -0
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +260 -0
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +175 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/nutui.taro.vue.build.d.ts +106 -0
- package/package.json +2 -1
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
rate: {
|
|
7
|
+
type: NumberConstructor;
|
|
8
|
+
default: number;
|
|
9
|
+
};
|
|
10
|
+
digits: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
showSign: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
showZero: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
arrowLeft: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
syncTextColor: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
textColor: {
|
|
31
|
+
type: StringConstructor;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
riseColor: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
dropColor: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default: string;
|
|
41
|
+
};
|
|
42
|
+
}, {
|
|
43
|
+
classes: import("vue").ComputedRef<{
|
|
44
|
+
[x: string]: boolean;
|
|
45
|
+
}>;
|
|
46
|
+
calcRate: import("vue").ComputedRef<string>;
|
|
47
|
+
calcStyle: import("vue").ComputedRef<{
|
|
48
|
+
color: string;
|
|
49
|
+
}>;
|
|
50
|
+
rateTrend: import("vue").Ref<boolean>;
|
|
51
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
+
rate: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
digits: {
|
|
57
|
+
type: NumberConstructor;
|
|
58
|
+
default: number;
|
|
59
|
+
};
|
|
60
|
+
showSign: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
64
|
+
showZero: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
68
|
+
arrowLeft: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
syncTextColor: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
textColor: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
riseColor: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
dropColor: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
}>>, {
|
|
89
|
+
digits: number;
|
|
90
|
+
textColor: string;
|
|
91
|
+
rate: number;
|
|
92
|
+
showSign: boolean;
|
|
93
|
+
showZero: boolean;
|
|
94
|
+
arrowLeft: boolean;
|
|
95
|
+
syncTextColor: boolean;
|
|
96
|
+
riseColor: string;
|
|
97
|
+
dropColor: string;
|
|
98
|
+
}>>;
|
|
99
|
+
export default _default;
|
|
100
|
+
|
|
101
|
+
declare module 'vue' {
|
|
102
|
+
interface GlobalComponents {
|
|
103
|
+
NutTrendArrow: typeof _default;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FileItem, SizeType, SourceType } from './type';
|
|
3
|
+
import { Interceptor } from '@/packages/utils/util';
|
|
4
|
+
|
|
5
|
+
declare type Install<T> = T & {
|
|
6
|
+
install(app: import('vue').App): void;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
9
|
+
name: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
default: string;
|
|
12
|
+
};
|
|
13
|
+
url: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
default: string;
|
|
16
|
+
};
|
|
17
|
+
sizeType: {
|
|
18
|
+
type: PropType<SizeType[]>;
|
|
19
|
+
default: () => string[];
|
|
20
|
+
};
|
|
21
|
+
sourceType: {
|
|
22
|
+
type: PropType<SourceType[]>;
|
|
23
|
+
default: () => string[];
|
|
24
|
+
};
|
|
25
|
+
timeout: {
|
|
26
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
27
|
+
default: number;
|
|
28
|
+
};
|
|
29
|
+
fileList: {
|
|
30
|
+
type: ArrayConstructor;
|
|
31
|
+
default: () => never[];
|
|
32
|
+
};
|
|
33
|
+
isPreview: {
|
|
34
|
+
type: BooleanConstructor;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
listType: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
isDeletable: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
method: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
capture: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
maximize: {
|
|
54
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
55
|
+
default: number;
|
|
56
|
+
};
|
|
57
|
+
maximum: {
|
|
58
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
59
|
+
default: number;
|
|
60
|
+
};
|
|
61
|
+
clearInput: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
accept: {
|
|
66
|
+
type: StringConstructor;
|
|
67
|
+
default: string;
|
|
68
|
+
};
|
|
69
|
+
headers: {
|
|
70
|
+
type: ObjectConstructor;
|
|
71
|
+
default: {};
|
|
72
|
+
};
|
|
73
|
+
data: {
|
|
74
|
+
type: ObjectConstructor;
|
|
75
|
+
default: {};
|
|
76
|
+
};
|
|
77
|
+
xhrState: {
|
|
78
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
79
|
+
default: number;
|
|
80
|
+
};
|
|
81
|
+
multiple: {
|
|
82
|
+
type: BooleanConstructor;
|
|
83
|
+
default: boolean;
|
|
84
|
+
};
|
|
85
|
+
disabled: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
autoUpload: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
beforeUpload: {
|
|
94
|
+
type: FunctionConstructor;
|
|
95
|
+
default: null;
|
|
96
|
+
};
|
|
97
|
+
beforeXhrUpload: {
|
|
98
|
+
type: FunctionConstructor;
|
|
99
|
+
default: null;
|
|
100
|
+
};
|
|
101
|
+
beforeDelete: {
|
|
102
|
+
type: PropType<Interceptor>;
|
|
103
|
+
default: (file: FileItem, files: FileItem[]) => boolean;
|
|
104
|
+
};
|
|
105
|
+
onChange: {
|
|
106
|
+
type: FunctionConstructor;
|
|
107
|
+
};
|
|
108
|
+
}, {
|
|
109
|
+
onDelete: (file: FileItem, index: number) => void;
|
|
110
|
+
fileList: FileItem[];
|
|
111
|
+
classes: import("vue").ComputedRef<{
|
|
112
|
+
[x: string]: boolean;
|
|
113
|
+
}>;
|
|
114
|
+
chooseImage: () => void;
|
|
115
|
+
fileItemClick: (fileItem: FileItem) => void;
|
|
116
|
+
clearUploadQueue: (index?: number) => void;
|
|
117
|
+
submit: () => void;
|
|
118
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("progress" | "start" | "change" | "success" | "delete" | "oversize" | "failure" | "update:fileList" | "file-item-click")[], "progress" | "start" | "change" | "success" | "delete" | "oversize" | "failure" | "update:fileList" | "file-item-click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
119
|
+
name: {
|
|
120
|
+
type: StringConstructor;
|
|
121
|
+
default: string;
|
|
122
|
+
};
|
|
123
|
+
url: {
|
|
124
|
+
type: StringConstructor;
|
|
125
|
+
default: string;
|
|
126
|
+
};
|
|
127
|
+
sizeType: {
|
|
128
|
+
type: PropType<SizeType[]>;
|
|
129
|
+
default: () => string[];
|
|
130
|
+
};
|
|
131
|
+
sourceType: {
|
|
132
|
+
type: PropType<SourceType[]>;
|
|
133
|
+
default: () => string[];
|
|
134
|
+
};
|
|
135
|
+
timeout: {
|
|
136
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
137
|
+
default: number;
|
|
138
|
+
};
|
|
139
|
+
fileList: {
|
|
140
|
+
type: ArrayConstructor;
|
|
141
|
+
default: () => never[];
|
|
142
|
+
};
|
|
143
|
+
isPreview: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
listType: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default: string;
|
|
150
|
+
};
|
|
151
|
+
isDeletable: {
|
|
152
|
+
type: BooleanConstructor;
|
|
153
|
+
default: boolean;
|
|
154
|
+
};
|
|
155
|
+
method: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
capture: {
|
|
160
|
+
type: BooleanConstructor;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
maximize: {
|
|
164
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
165
|
+
default: number;
|
|
166
|
+
};
|
|
167
|
+
maximum: {
|
|
168
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
169
|
+
default: number;
|
|
170
|
+
};
|
|
171
|
+
clearInput: {
|
|
172
|
+
type: BooleanConstructor;
|
|
173
|
+
default: boolean;
|
|
174
|
+
};
|
|
175
|
+
accept: {
|
|
176
|
+
type: StringConstructor;
|
|
177
|
+
default: string;
|
|
178
|
+
};
|
|
179
|
+
headers: {
|
|
180
|
+
type: ObjectConstructor;
|
|
181
|
+
default: {};
|
|
182
|
+
};
|
|
183
|
+
data: {
|
|
184
|
+
type: ObjectConstructor;
|
|
185
|
+
default: {};
|
|
186
|
+
};
|
|
187
|
+
xhrState: {
|
|
188
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
189
|
+
default: number;
|
|
190
|
+
};
|
|
191
|
+
multiple: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
default: boolean;
|
|
194
|
+
};
|
|
195
|
+
disabled: {
|
|
196
|
+
type: BooleanConstructor;
|
|
197
|
+
default: boolean;
|
|
198
|
+
};
|
|
199
|
+
autoUpload: {
|
|
200
|
+
type: BooleanConstructor;
|
|
201
|
+
default: boolean;
|
|
202
|
+
};
|
|
203
|
+
beforeUpload: {
|
|
204
|
+
type: FunctionConstructor;
|
|
205
|
+
default: null;
|
|
206
|
+
};
|
|
207
|
+
beforeXhrUpload: {
|
|
208
|
+
type: FunctionConstructor;
|
|
209
|
+
default: null;
|
|
210
|
+
};
|
|
211
|
+
beforeDelete: {
|
|
212
|
+
type: PropType<Interceptor>;
|
|
213
|
+
default: (file: FileItem, files: FileItem[]) => boolean;
|
|
214
|
+
};
|
|
215
|
+
onChange: {
|
|
216
|
+
type: FunctionConstructor;
|
|
217
|
+
};
|
|
218
|
+
}>> & {
|
|
219
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
220
|
+
onProgress?: ((...args: any[]) => any) | undefined;
|
|
221
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
222
|
+
onStart?: ((...args: any[]) => any) | undefined;
|
|
223
|
+
onFailure?: ((...args: any[]) => any) | undefined;
|
|
224
|
+
onSuccess?: ((...args: any[]) => any) | undefined;
|
|
225
|
+
onOversize?: ((...args: any[]) => any) | undefined;
|
|
226
|
+
"onUpdate:fileList"?: ((...args: any[]) => any) | undefined;
|
|
227
|
+
"onFile-item-click"?: ((...args: any[]) => any) | undefined;
|
|
228
|
+
}, {
|
|
229
|
+
name: string;
|
|
230
|
+
data: Record<string, any>;
|
|
231
|
+
maximum: string | number;
|
|
232
|
+
multiple: boolean;
|
|
233
|
+
disabled: boolean;
|
|
234
|
+
url: string;
|
|
235
|
+
timeout: string | number;
|
|
236
|
+
sizeType: SizeType[];
|
|
237
|
+
sourceType: SourceType[];
|
|
238
|
+
fileList: unknown[];
|
|
239
|
+
isPreview: boolean;
|
|
240
|
+
listType: string;
|
|
241
|
+
isDeletable: boolean;
|
|
242
|
+
method: string;
|
|
243
|
+
capture: boolean;
|
|
244
|
+
maximize: string | number;
|
|
245
|
+
clearInput: boolean;
|
|
246
|
+
accept: string;
|
|
247
|
+
headers: Record<string, any>;
|
|
248
|
+
xhrState: string | number;
|
|
249
|
+
autoUpload: boolean;
|
|
250
|
+
beforeUpload: Function;
|
|
251
|
+
beforeXhrUpload: Function;
|
|
252
|
+
beforeDelete: Interceptor;
|
|
253
|
+
}>>;
|
|
254
|
+
export default _default;
|
|
255
|
+
|
|
256
|
+
declare module 'vue' {
|
|
257
|
+
interface GlobalComponents {
|
|
258
|
+
NutUploader: typeof _default;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
|
|
2
|
+
declare type Install<T> = T & {
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
|
+
};
|
|
5
|
+
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
+
name: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
gapY: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: number;
|
|
13
|
+
};
|
|
14
|
+
gapX: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
zIndex: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
default: number;
|
|
21
|
+
};
|
|
22
|
+
width: {
|
|
23
|
+
type: NumberConstructor;
|
|
24
|
+
default: number;
|
|
25
|
+
};
|
|
26
|
+
height: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
rotate: {
|
|
31
|
+
type: NumberConstructor;
|
|
32
|
+
default: number;
|
|
33
|
+
};
|
|
34
|
+
image: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
imageWidth: {
|
|
39
|
+
type: NumberConstructor;
|
|
40
|
+
default: number;
|
|
41
|
+
};
|
|
42
|
+
imageHeight: {
|
|
43
|
+
type: NumberConstructor;
|
|
44
|
+
default: number;
|
|
45
|
+
};
|
|
46
|
+
content: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
fontColor: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: string;
|
|
53
|
+
};
|
|
54
|
+
fontStyle: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
default: string;
|
|
57
|
+
};
|
|
58
|
+
fontFamily: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
default: string;
|
|
61
|
+
};
|
|
62
|
+
fontWeight: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
fontSize: {
|
|
67
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
68
|
+
default: number;
|
|
69
|
+
};
|
|
70
|
+
fullPage: {
|
|
71
|
+
type: BooleanConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}, {
|
|
75
|
+
classes: import("vue").ComputedRef<{
|
|
76
|
+
[x: string]: boolean;
|
|
77
|
+
}>;
|
|
78
|
+
base64Url: import("vue").Ref<string>;
|
|
79
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
80
|
+
name: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
gapY: {
|
|
85
|
+
type: NumberConstructor;
|
|
86
|
+
default: number;
|
|
87
|
+
};
|
|
88
|
+
gapX: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
zIndex: {
|
|
93
|
+
type: NumberConstructor;
|
|
94
|
+
default: number;
|
|
95
|
+
};
|
|
96
|
+
width: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
height: {
|
|
101
|
+
type: NumberConstructor;
|
|
102
|
+
default: number;
|
|
103
|
+
};
|
|
104
|
+
rotate: {
|
|
105
|
+
type: NumberConstructor;
|
|
106
|
+
default: number;
|
|
107
|
+
};
|
|
108
|
+
image: {
|
|
109
|
+
type: StringConstructor;
|
|
110
|
+
default: string;
|
|
111
|
+
};
|
|
112
|
+
imageWidth: {
|
|
113
|
+
type: NumberConstructor;
|
|
114
|
+
default: number;
|
|
115
|
+
};
|
|
116
|
+
imageHeight: {
|
|
117
|
+
type: NumberConstructor;
|
|
118
|
+
default: number;
|
|
119
|
+
};
|
|
120
|
+
content: {
|
|
121
|
+
type: StringConstructor;
|
|
122
|
+
default: string;
|
|
123
|
+
};
|
|
124
|
+
fontColor: {
|
|
125
|
+
type: StringConstructor;
|
|
126
|
+
default: string;
|
|
127
|
+
};
|
|
128
|
+
fontStyle: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
default: string;
|
|
131
|
+
};
|
|
132
|
+
fontFamily: {
|
|
133
|
+
type: StringConstructor;
|
|
134
|
+
default: string;
|
|
135
|
+
};
|
|
136
|
+
fontWeight: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
fontSize: {
|
|
141
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
142
|
+
default: number;
|
|
143
|
+
};
|
|
144
|
+
fullPage: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
}>> & {
|
|
149
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
150
|
+
}, {
|
|
151
|
+
name: string;
|
|
152
|
+
image: string;
|
|
153
|
+
zIndex: number;
|
|
154
|
+
content: string;
|
|
155
|
+
height: number;
|
|
156
|
+
width: number;
|
|
157
|
+
rotate: number;
|
|
158
|
+
fontSize: string | number;
|
|
159
|
+
gapY: number;
|
|
160
|
+
gapX: number;
|
|
161
|
+
imageWidth: number;
|
|
162
|
+
imageHeight: number;
|
|
163
|
+
fontColor: string;
|
|
164
|
+
fontStyle: string;
|
|
165
|
+
fontFamily: string;
|
|
166
|
+
fontWeight: string;
|
|
167
|
+
fullPage: boolean;
|
|
168
|
+
}>>;
|
|
169
|
+
export default _default;
|
|
170
|
+
|
|
171
|
+
declare module 'vue' {
|
|
172
|
+
interface GlobalComponents {
|
|
173
|
+
NutWatermark: typeof _default;
|
|
174
|
+
}
|
|
175
|
+
}
|
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.0-beta.
|
|
110
|
+
declare const version = "4.0.0-beta.24";
|
|
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;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import Locale from './locale';
|
|
2
|
+
import Button from './__VUE/button/index.taro.vue';
|
|
3
|
+
import Cell from './__VUE/cell/index.taro.vue';
|
|
4
|
+
import CellGroup from './__VUE/cellgroup/index.vue';
|
|
5
|
+
import Overlay from './__VUE/overlay/index.taro.vue';
|
|
6
|
+
import Popup from './__VUE/popup/index.taro.vue';
|
|
7
|
+
import ConfigProvider from './__VUE/configprovider/index.taro.vue';
|
|
8
|
+
import Layout from './__VUE/layout/index.taro.vue';
|
|
9
|
+
import Col from './__VUE/col/index.vue';
|
|
10
|
+
import Row from './__VUE/row/index.vue';
|
|
11
|
+
import Sticky from './__VUE/sticky/index.taro.vue';
|
|
12
|
+
import Divider from './__VUE/divider/index.taro.vue';
|
|
13
|
+
import Grid from './__VUE/grid/index.taro.vue';
|
|
14
|
+
import GridItem from './__VUE/griditem/index.taro.vue';
|
|
15
|
+
import Navbar from './__VUE/navbar/index.taro.vue';
|
|
16
|
+
import FixedNav from './__VUE/fixednav/index.taro.vue';
|
|
17
|
+
import Menu from './__VUE/menu/index.taro.vue';
|
|
18
|
+
import MenuItem from './__VUE/menuitem/index.taro.vue';
|
|
19
|
+
import Tabbar from './__VUE/tabbar/index.taro.vue';
|
|
20
|
+
import TabbarItem from './__VUE/tabbaritem/index.taro.vue';
|
|
21
|
+
import Elevator from './__VUE/elevator/index.taro.vue';
|
|
22
|
+
import Pagination from './__VUE/pagination/index.taro.vue';
|
|
23
|
+
import Tabs from './__VUE/tabs/index.taro.vue';
|
|
24
|
+
import TabPane from './__VUE/tabpane/index.vue';
|
|
25
|
+
import Indicator from './__VUE/indicator/index.taro.vue';
|
|
26
|
+
import SideNavbar from './__VUE/sidenavbar/index.taro.vue';
|
|
27
|
+
import SideNavbarItem from './__VUE/sidenavbaritem/index.vue';
|
|
28
|
+
import SubSideNavbar from './__VUE/subsidenavbar/index.taro.vue';
|
|
29
|
+
import Range from './__VUE/range/index.taro.vue';
|
|
30
|
+
import Searchbar from './__VUE/searchbar/index.taro.vue';
|
|
31
|
+
import Cascader from './__VUE/cascader/index.taro.vue';
|
|
32
|
+
import Calendar from './__VUE/calendar/index.taro.vue';
|
|
33
|
+
import Checkbox from './__VUE/checkbox/index.taro.vue';
|
|
34
|
+
import CheckboxGroup from './__VUE/checkboxgroup/index.vue';
|
|
35
|
+
import DatePicker from './__VUE/datepicker/index.taro.vue';
|
|
36
|
+
import InputNumber from './__VUE/inputnumber/index.taro.vue';
|
|
37
|
+
import Input from './__VUE/input/index.taro.vue';
|
|
38
|
+
import Radio from './__VUE/radio/index.taro.vue';
|
|
39
|
+
import RadioGroup from './__VUE/radiogroup/index.vue';
|
|
40
|
+
import Rate from './__VUE/rate/index.taro.vue';
|
|
41
|
+
import Picker from './__VUE/picker/index.taro.vue';
|
|
42
|
+
import ShortPassword from './__VUE/shortpassword/index.taro.vue';
|
|
43
|
+
import Textarea from './__VUE/textarea/index.taro.vue';
|
|
44
|
+
import Uploader from './__VUE/uploader/index.taro.vue';
|
|
45
|
+
import NumberKeyboard from './__VUE/numberkeyboard/index.taro.vue';
|
|
46
|
+
import Form from './__VUE/form/index.taro.vue';
|
|
47
|
+
import FormItem from './__VUE/formitem/index.taro.vue';
|
|
48
|
+
import Swipe from './__VUE/swipe/index.taro.vue';
|
|
49
|
+
import ActionSheet from './__VUE/actionsheet/index.taro.vue';
|
|
50
|
+
import Backtop from './__VUE/backtop/index.taro.vue';
|
|
51
|
+
import Drag from './__VUE/drag/index.taro.vue';
|
|
52
|
+
import Dialog from './__VUE/dialog/index.taro.vue';
|
|
53
|
+
import PullRefresh from './__VUE/pullrefresh/index.vue';
|
|
54
|
+
import Notify from './__VUE/notify/index.taro.vue';
|
|
55
|
+
import Switch from './__VUE/switch/index.taro.vue';
|
|
56
|
+
import Toast from './__VUE/toast/index.taro.vue';
|
|
57
|
+
import Avatar from './__VUE/avatar/index.taro.vue';
|
|
58
|
+
import AvatarGroup from './__VUE/avatargroup/index.taro.vue';
|
|
59
|
+
import List from './__VUE/list/index.taro.vue';
|
|
60
|
+
import Progress from './__VUE/progress/index.taro.vue';
|
|
61
|
+
import CircleProgress from './__VUE/circleprogress/index.taro.vue';
|
|
62
|
+
import Noticebar from './__VUE/noticebar/index.taro.vue';
|
|
63
|
+
import Empty from './__VUE/empty/index.taro.vue';
|
|
64
|
+
import Steps from './__VUE/steps/index.taro.vue';
|
|
65
|
+
import Step from './__VUE/step/index.vue';
|
|
66
|
+
import Swiper from './__VUE/swiper/index.taro.vue';
|
|
67
|
+
import SwiperItem from './__VUE/swiperitem/index.taro.vue';
|
|
68
|
+
import Price from './__VUE/price/index.taro.vue';
|
|
69
|
+
import ImagePreview from './__VUE/imagepreview/index.taro.vue';
|
|
70
|
+
import Countup from './__VUE/countup/index.taro.vue';
|
|
71
|
+
import Countdown from './__VUE/countdown/index.taro.vue';
|
|
72
|
+
import Badge from './__VUE/badge/index.taro.vue';
|
|
73
|
+
import Tag from './__VUE/tag/index.taro.vue';
|
|
74
|
+
import Popover from './__VUE/popover/index.taro.vue';
|
|
75
|
+
import Skeleton from './__VUE/skeleton/index.taro.vue';
|
|
76
|
+
import Collapse from './__VUE/collapse/index.taro.vue';
|
|
77
|
+
import CollapseItem from './__VUE/collapseitem/index.taro.vue';
|
|
78
|
+
import Table from './__VUE/table/index.taro.vue';
|
|
79
|
+
import Animate from './__VUE/animate/index.taro.vue';
|
|
80
|
+
import Ellipsis from './__VUE/ellipsis/index.taro.vue';
|
|
81
|
+
import Watermark from './__VUE/watermark/index.taro.vue';
|
|
82
|
+
import TrendArrow from './__VUE/trendarrow/index.taro.vue';
|
|
83
|
+
import Tour from './__VUE/tour/index.taro.vue';
|
|
84
|
+
import Address from './__VUE/address/index.taro.vue';
|
|
85
|
+
import Barrage from './__VUE/barrage/index.taro.vue';
|
|
86
|
+
import Signature from './__VUE/signature/index.taro.vue';
|
|
87
|
+
import TimeSelect from './__VUE/timeselect/index.taro.vue';
|
|
88
|
+
import TimePannel from './__VUE/timepannel/index.taro.vue';
|
|
89
|
+
import TimeDetail from './__VUE/timedetail/index.taro.vue';
|
|
90
|
+
import Sku from './__VUE/sku/index.taro.vue';
|
|
91
|
+
import Card from './__VUE/card/index.taro.vue';
|
|
92
|
+
import Ecard from './__VUE/ecard/index.taro.vue';
|
|
93
|
+
import AddressList from './__VUE/addresslist/index.taro.vue';
|
|
94
|
+
import Category from './__VUE/category/index.taro.vue';
|
|
95
|
+
import CategoryPane from './__VUE/categorypane/index.taro.vue';
|
|
96
|
+
import Comment from './__VUE/comment/index.taro.vue';
|
|
97
|
+
import Invoice from './__VUE/invoice/index.taro.vue';
|
|
98
|
+
declare function install(app: any): void;
|
|
99
|
+
declare const version = "4.0.0-beta.24";
|
|
100
|
+
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, 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, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, ActionSheet, Backtop, Drag, Dialog, PullRefresh, Notify, Switch, Toast, Avatar, AvatarGroup, List, Progress, CircleProgress, Noticebar, Empty, 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 };
|
|
101
|
+
declare const _default: {
|
|
102
|
+
install: typeof install;
|
|
103
|
+
version: string;
|
|
104
|
+
Locale: typeof Locale;
|
|
105
|
+
};
|
|
106
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nutui/nutui",
|
|
3
|
-
"version": "4.0.0-beta.
|
|
3
|
+
"version": "4.0.0-beta.24",
|
|
4
4
|
"description": "京东风格的轻量级移动端 Vue2、Vue3 组件库(支持小程序开发)",
|
|
5
5
|
"main": "dist/nutui.umd.js",
|
|
6
6
|
"module": "dist/nutui.es.js",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
"typings": "dist/types/index.d.ts",
|
|
9
9
|
"sideEffects": [
|
|
10
10
|
"dist/packages/_es/*",
|
|
11
|
+
"dist/packages/**/style.mjs",
|
|
11
12
|
"dist/styles/**",
|
|
12
13
|
"dist/style.css"
|
|
13
14
|
],
|