@nutui/nutui 4.2.8 → 4.3.0-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 +4 -2
- package/dist/nutui.js +6306 -5969
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/addresslist/AddressList.js +4 -3
- package/dist/packages/audiooperate/AudioOperate.js +3 -2
- package/dist/packages/avatarcropper/AvatarCropper.js +3 -2
- package/dist/packages/button/Button.js +58 -39
- package/dist/packages/calendar/Calendar.js +2 -1
- package/dist/packages/calendarcard/CalendarCard.js +529 -0
- package/dist/packages/calendarcard/index.css +1 -0
- package/dist/packages/calendarcard/index.mjs +2 -0
- package/dist/packages/calendarcard/index.scss +92 -0
- package/dist/packages/calendarcard/style/css.mjs +2 -0
- package/dist/packages/calendarcard/style/index.mjs +2 -0
- package/dist/packages/calendaritem/CalendarItem.js +817 -7
- package/dist/packages/date-djiVNSnJ.js +145 -0
- package/dist/packages/dialog/Dialog.js +4 -3
- package/dist/packages/divider/Divider.js +40 -18
- package/dist/packages/invoice/Invoice.js +3 -2
- package/dist/packages/locale/lang/baseLang.d.ts +8 -0
- package/dist/packages/locale/lang/en-US.d.ts +8 -0
- package/dist/packages/locale/lang/en-US.js +8 -0
- package/dist/packages/locale/lang/id-ID.d.ts +8 -0
- package/dist/packages/locale/lang/id-ID.js +8 -0
- package/dist/packages/locale/lang/zh-CN.d.ts +8 -0
- package/dist/packages/locale/lang/zh-CN.js +8 -0
- package/dist/packages/locale/lang/zh-TW.d.ts +8 -0
- package/dist/packages/locale/lang/zh-TW.js +8 -0
- package/dist/packages/signature/Signature.js +3 -2
- package/dist/packages/with-install-p59gYYU_.js +12 -0
- package/dist/smartips/web-types.json +62 -1
- package/dist/style.css +1 -1
- package/dist/styles/base-jdb.css +1 -1
- package/dist/styles/base-jddkh.css +1 -1
- package/dist/styles/base-jdt.css +1 -1
- package/dist/styles/themes/default.scss +1 -0
- package/dist/styles/themes/jdb.scss +1 -0
- package/dist/styles/themes/jddkh.scss +1 -0
- package/dist/styles/themes/jdt.scss +1 -0
- package/dist/styles/variables-jdb.scss +1 -0
- package/dist/styles/variables-jddkh.scss +1 -0
- package/dist/styles/variables-jdt.scss +1 -0
- package/dist/styles/variables.scss +1 -0
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +7 -7
- package/dist/types/__VUE/address/index.vue.d.ts +11 -11
- package/dist/types/__VUE/addresslist/index.vue.d.ts +5 -5
- package/dist/types/__VUE/animate/index.vue.d.ts +4 -4
- package/dist/types/__VUE/audio/index.vue.d.ts +6 -6
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +4 -4
- package/dist/types/__VUE/avatar/index.vue.d.ts +5 -5
- package/dist/types/__VUE/avatarcropper/index.vue.d.ts +7 -7
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +5 -5
- package/dist/types/__VUE/backtop/index.vue.d.ts +6 -6
- package/dist/types/__VUE/badge/index.vue.d.ts +6 -6
- package/dist/types/__VUE/barrage/index.vue.d.ts +5 -5
- package/dist/types/__VUE/button/{index.vue.d.ts → button.vue.d.ts} +36 -27
- package/dist/types/__VUE/button/index.d.ts +5 -0
- package/dist/types/__VUE/calendar/index.vue.d.ts +7 -7
- package/dist/types/__VUE/calendarcard/calendar-card.vue.d.ts +112 -0
- package/dist/types/__VUE/calendarcard/icon.d.ts +12 -0
- package/dist/types/__VUE/calendarcard/index.d.ts +5 -0
- package/dist/types/__VUE/calendarcard/types.d.ts +12 -0
- package/dist/types/__VUE/calendarcard/utils.d.ts +19 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +10 -10
- package/dist/types/__VUE/card/index.vue.d.ts +4 -4
- package/dist/types/__VUE/cascader/cascader-item.vue.d.ts +4 -4
- package/dist/types/__VUE/cascader/index.vue.d.ts +7 -7
- package/dist/types/__VUE/category/index.vue.d.ts +4 -4
- package/dist/types/__VUE/categorypane/index.vue.d.ts +4 -4
- package/dist/types/__VUE/cell/index.vue.d.ts +7 -7
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/checkbox/index.vue.d.ts +6 -6
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +5 -5
- package/dist/types/__VUE/col/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapse/index.vue.d.ts +4 -4
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +7 -7
- package/dist/types/__VUE/comment/components/CmtBottom.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtHeader.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/components/CmtImages.vue.d.ts +1 -1
- package/dist/types/__VUE/comment/index.vue.d.ts +9 -9
- package/dist/types/__VUE/configprovider/index.vue.d.ts +5 -5
- package/dist/types/__VUE/countdown/index.vue.d.ts +4 -4
- package/dist/types/__VUE/countup/index.vue.d.ts +8 -8
- package/dist/types/__VUE/datepicker/index.vue.d.ts +9 -9
- package/dist/types/__VUE/dialog/index.vue.d.ts +7 -7
- package/dist/types/__VUE/divider/divider.vue.d.ts +56 -0
- package/dist/types/__VUE/divider/index.d.ts +5 -0
- package/dist/types/__VUE/drag/index.vue.d.ts +4 -4
- package/dist/types/__VUE/ecard/index.vue.d.ts +7 -7
- package/dist/types/__VUE/elevator/index.vue.d.ts +4 -4
- package/dist/types/__VUE/ellipsis/index.vue.d.ts +7 -7
- package/dist/types/__VUE/empty/index.vue.d.ts +4 -4
- package/dist/types/__VUE/fixednav/index.vue.d.ts +6 -6
- package/dist/types/__VUE/form/index.vue.d.ts +4 -4
- package/dist/types/__VUE/formitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/grid/index.vue.d.ts +6 -6
- package/dist/types/__VUE/griditem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/image/index.vue.d.ts +8 -8
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +5 -5
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +9 -9
- package/dist/types/__VUE/indicator/index.vue.d.ts +4 -4
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +4 -4
- package/dist/types/__VUE/input/index.vue.d.ts +15 -15
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +7 -7
- package/dist/types/__VUE/invoice/index.vue.d.ts +6 -6
- package/dist/types/__VUE/layout/index.vue.d.ts +4 -4
- package/dist/types/__VUE/list/index.vue.d.ts +6 -6
- package/dist/types/__VUE/menu/index.vue.d.ts +7 -7
- package/dist/types/__VUE/menuitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/navbar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/noticebar/index.vue.d.ts +7 -7
- package/dist/types/__VUE/notify/index.vue.d.ts +7 -7
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +8 -8
- package/dist/types/__VUE/overlay/index.vue.d.ts +4 -4
- package/dist/types/__VUE/pagination/index.vue.d.ts +5 -5
- package/dist/types/__VUE/picker/Column.vue.d.ts +7 -7
- package/dist/types/__VUE/picker/baseProps.d.ts +4 -4
- package/dist/types/__VUE/picker/index.vue.d.ts +6 -6
- package/dist/types/__VUE/popover/index.vue.d.ts +9 -9
- package/dist/types/__VUE/popup/index.vue.d.ts +6 -6
- package/dist/types/__VUE/price/index.vue.d.ts +4 -4
- package/dist/types/__VUE/progress/index.vue.d.ts +6 -6
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +4 -4
- package/dist/types/__VUE/radio/index.vue.d.ts +8 -8
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +7 -7
- package/dist/types/__VUE/range/index.vue.d.ts +8 -8
- package/dist/types/__VUE/rate/index.vue.d.ts +9 -9
- package/dist/types/__VUE/row/index.vue.d.ts +5 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +15 -15
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +5 -5
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/signature/index.vue.d.ts +6 -6
- package/dist/types/__VUE/skeleton/index.vue.d.ts +7 -7
- package/dist/types/__VUE/sku/components/SkuStepper.vue.d.ts +2 -2
- package/dist/types/__VUE/sku/index.vue.d.ts +6 -6
- package/dist/types/__VUE/space/index.vue.d.ts +4 -4
- package/dist/types/__VUE/step/index.vue.d.ts +4 -4
- package/dist/types/__VUE/steps/index.vue.d.ts +4 -4
- package/dist/types/__VUE/sticky/index.vue.d.ts +5 -5
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swipe/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swipegroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/swiper/index.vue.d.ts +5 -5
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +4 -4
- package/dist/types/__VUE/switch/index.vue.d.ts +13 -13
- package/dist/types/__VUE/tabbar/index.vue.d.ts +6 -6
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +6 -6
- package/dist/types/__VUE/table/index.vue.d.ts +4 -4
- package/dist/types/__VUE/table/renderColumn.d.ts +4 -4
- package/dist/types/__VUE/tabpane/index.vue.d.ts +5 -5
- package/dist/types/__VUE/tabs/index.vue.d.ts +10 -10
- package/dist/types/__VUE/tag/index.vue.d.ts +8 -8
- package/dist/types/__VUE/textarea/index.vue.d.ts +11 -11
- package/dist/types/__VUE/timedetail/index.vue.d.ts +4 -4
- package/dist/types/__VUE/timepannel/index.vue.d.ts +4 -4
- package/dist/types/__VUE/timeselect/index.vue.d.ts +5 -5
- package/dist/types/__VUE/toast/index.vue.d.ts +10 -10
- package/dist/types/__VUE/tour/index.vue.d.ts +9 -9
- package/dist/types/__VUE/trendarrow/index.vue.d.ts +5 -5
- package/dist/types/__VUE/uploader/index.vue.d.ts +10 -10
- package/dist/types/__VUE/video/index.vue.d.ts +5 -5
- package/dist/types/__VUE/watermark/index.vue.d.ts +7 -7
- package/dist/types/index.d.ts +8 -4
- package/dist/types/locale/lang/baseLang.d.ts +8 -0
- package/dist/types/locale/lang/en-US.d.ts +8 -0
- package/dist/types/locale/lang/id-ID.d.ts +8 -0
- package/dist/types/locale/lang/zh-CN.d.ts +8 -0
- package/dist/types/locale/lang/zh-TW.d.ts +8 -0
- package/dist/types/utils/canvas.d.ts +1 -1
- package/dist/types/utils/create/renderIcon.d.ts +2 -2
- package/dist/types/utils/index.d.ts +1 -0
- package/dist/types/utils/with-install.d.ts +5 -0
- package/package.json +1 -1
- package/dist/packages/index-kWulbKuH.js +0 -961
- package/dist/types/__VUE/address/address-list.d.ts +0 -30
- package/dist/types/__VUE/divider/index.vue.d.ts +0 -71
- package/dist/types/__VUE/icon/index.vue.d.ts +0 -13
- package/dist/types/__VUE/invoice/types.d.ts +0 -6
- package/dist/types/__VUE/picker/doc.en.d.ts +0 -90
- package/dist/types/__VUE/sku/data.d.ts +0 -22
- package/dist/types/__VUE/tour/type.d.ts +0 -2
- /package/dist/types/__VUE/button/{type.d.ts → types.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
theme: {
|
|
@@ -31,14 +31,14 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
31
31
|
default: string;
|
|
32
32
|
};
|
|
33
33
|
}>>, {
|
|
34
|
-
tag: string;
|
|
35
34
|
theme: string;
|
|
36
35
|
themeVars: Record<string, any>;
|
|
36
|
+
tag: string;
|
|
37
37
|
}, {}>>;
|
|
38
38
|
export default _default;
|
|
39
39
|
|
|
40
40
|
declare module 'vue' {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
interface GlobalComponents {
|
|
42
|
+
NutConfigProvider: typeof _default;
|
|
43
|
+
}
|
|
44
44
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
@@ -97,7 +97,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
97
|
export default _default;
|
|
98
98
|
|
|
99
99
|
declare module 'vue' {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
interface GlobalComponents {
|
|
101
|
+
NutCountdown: typeof _default;
|
|
102
|
+
}
|
|
103
103
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
initNum: {
|
|
@@ -76,11 +76,11 @@ 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
|
+
speed: import("vue").Ref<number>;
|
|
81
82
|
initNum: import("vue").Ref<number>;
|
|
82
83
|
endNum: import("vue").Ref<number>;
|
|
83
|
-
speed: import("vue").Ref<number>;
|
|
84
84
|
during: import("vue").Ref<number>;
|
|
85
85
|
startFlag: import("vue").Ref<boolean>;
|
|
86
86
|
numWidth: import("vue").Ref<number>;
|
|
@@ -188,11 +188,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
188
188
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
onScrollEnd?: ((...args: any[]) => any) | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
toFixed: number;
|
|
192
191
|
type: string;
|
|
192
|
+
toFixed: number;
|
|
193
|
+
speed: number;
|
|
193
194
|
initNum: number;
|
|
194
195
|
endNum: number;
|
|
195
|
-
speed: number;
|
|
196
196
|
during: number;
|
|
197
197
|
startFlag: boolean;
|
|
198
198
|
numWidth: number;
|
|
@@ -209,7 +209,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
209
209
|
export default _default;
|
|
210
210
|
|
|
211
211
|
declare module 'vue' {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
212
|
+
interface GlobalComponents {
|
|
213
|
+
NutCountup: typeof _default;
|
|
214
|
+
}
|
|
215
215
|
}
|
|
@@ -4,7 +4,7 @@ import { Formatter, Filter } from './type';
|
|
|
4
4
|
declare function isDate(val: Date): val is Date;
|
|
5
5
|
|
|
6
6
|
declare type Install<T> = T & {
|
|
7
|
-
|
|
7
|
+
install(app: import('vue').App): void;
|
|
8
8
|
};
|
|
9
9
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
10
10
|
modelValue: null;
|
|
@@ -141,7 +141,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
141
141
|
}>;
|
|
142
142
|
title: import("vue").Ref<string>;
|
|
143
143
|
selectedValue: import("vue").Ref<any[]>;
|
|
144
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
144
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "cancel" | "change" | "update:modelValue" | "confirm")[], "click" | "cancel" | "change" | "update:modelValue" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
145
145
|
modelValue: null;
|
|
146
146
|
title: {
|
|
147
147
|
type: StringConstructor;
|
|
@@ -203,19 +203,19 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
203
203
|
default: number;
|
|
204
204
|
};
|
|
205
205
|
}>> & {
|
|
206
|
-
onCancel?: ((...args: any[]) => any) | undefined;
|
|
207
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
208
206
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
207
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
208
|
+
onCancel?: ((...args: any[]) => any) | undefined;
|
|
209
209
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
210
210
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
211
211
|
}, {
|
|
212
|
-
title: string;
|
|
213
212
|
type: string;
|
|
214
|
-
|
|
213
|
+
title: string;
|
|
215
214
|
threeDimensional: boolean;
|
|
216
215
|
swipeDuration: string | number;
|
|
217
216
|
visibleOptionNum: string | number;
|
|
218
217
|
optionHeight: string | number;
|
|
218
|
+
cancelText: string;
|
|
219
219
|
okText: string;
|
|
220
220
|
showToolbar: boolean;
|
|
221
221
|
isShowChinese: boolean;
|
|
@@ -227,7 +227,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
227
227
|
export default _default;
|
|
228
228
|
|
|
229
229
|
declare module 'vue' {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
230
|
+
interface GlobalComponents {
|
|
231
|
+
NutDatePicker: typeof _default;
|
|
232
|
+
}
|
|
233
233
|
}
|
|
@@ -3,7 +3,7 @@ import { Interceptor } from '@/packages/utils/util';
|
|
|
3
3
|
export type TextAlign = 'left' | 'center' | 'right' | 'top';
|
|
4
4
|
|
|
5
5
|
declare type Install<T> = T & {
|
|
6
|
-
|
|
6
|
+
install(app: import('vue').App): void;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
9
9
|
closeOnClickOverlay: {
|
|
@@ -305,8 +305,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
305
305
|
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
306
306
|
onOk?: ((...args: any[]) => any) | undefined;
|
|
307
307
|
}, {
|
|
308
|
+
round: boolean;
|
|
308
309
|
style: Record<string, any>;
|
|
309
310
|
title: string;
|
|
311
|
+
transition: string;
|
|
310
312
|
overlay: boolean;
|
|
311
313
|
visible: boolean;
|
|
312
314
|
zIndex: string | number;
|
|
@@ -315,12 +317,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
315
317
|
overlayClass: string;
|
|
316
318
|
overlayStyle: Record<string, any>;
|
|
317
319
|
closeOnClickOverlay: boolean;
|
|
318
|
-
round: boolean;
|
|
319
320
|
content: string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
320
321
|
[key: string]: any;
|
|
321
322
|
}>;
|
|
322
323
|
position: string;
|
|
323
|
-
transition: string;
|
|
324
324
|
popClass: string;
|
|
325
325
|
closeable: boolean;
|
|
326
326
|
closeIconPosition: string;
|
|
@@ -329,6 +329,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
329
329
|
teleport: string | Element;
|
|
330
330
|
teleportDisable: boolean;
|
|
331
331
|
safeAreaInsetBottom: boolean;
|
|
332
|
+
textAlign: TextAlign;
|
|
332
333
|
cancelText: string;
|
|
333
334
|
okText: string;
|
|
334
335
|
noFooter: boolean;
|
|
@@ -336,7 +337,6 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
336
337
|
noCancelBtn: boolean;
|
|
337
338
|
cancelAutoClose: boolean;
|
|
338
339
|
okAutoClose: boolean;
|
|
339
|
-
textAlign: TextAlign;
|
|
340
340
|
closeOnPopstate: boolean;
|
|
341
341
|
footerDirection: string;
|
|
342
342
|
customClass: string;
|
|
@@ -344,7 +344,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
344
344
|
export default _default;
|
|
345
345
|
|
|
346
346
|
declare module 'vue' {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
347
|
+
interface GlobalComponents {
|
|
348
|
+
NutDialog: typeof _default;
|
|
349
|
+
}
|
|
350
350
|
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
import { DividerDirection, DividerPosition } from './types';
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
|
+
contentPosition: {
|
|
6
|
+
type: PropType<DividerPosition>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
dashed: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
hairline: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
direction: {
|
|
18
|
+
type: PropType<DividerDirection>;
|
|
19
|
+
default: string;
|
|
20
|
+
};
|
|
21
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
22
|
+
contentPosition: {
|
|
23
|
+
type: PropType<DividerPosition>;
|
|
24
|
+
default: string;
|
|
25
|
+
};
|
|
26
|
+
dashed: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
hairline: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
direction: {
|
|
35
|
+
type: PropType<DividerDirection>;
|
|
36
|
+
default: string;
|
|
37
|
+
};
|
|
38
|
+
}>>, {
|
|
39
|
+
dashed: boolean;
|
|
40
|
+
contentPosition: DividerPosition;
|
|
41
|
+
hairline: boolean;
|
|
42
|
+
direction: DividerDirection;
|
|
43
|
+
}, {}>, Readonly<Record<string, any>> & Record<string, any>>;
|
|
44
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
45
|
+
export default _nut_default;
|
|
46
|
+
|
|
47
|
+
declare module 'vue' {
|
|
48
|
+
interface GlobalComponents {
|
|
49
|
+
NutDivider: typeof _default;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import Divider from './divider.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { DividerPosition, DividerDirection } from './types';
|
|
4
|
+
export type DividerInstance = ComponentPublicInstance & InstanceType<typeof Divider>;
|
|
5
|
+
export { Divider, Divider as default };
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { DragDirection } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
attract: {
|
|
@@ -53,7 +53,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
53
53
|
export default _default;
|
|
54
54
|
|
|
55
55
|
declare module 'vue' {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
56
|
+
interface GlobalComponents {
|
|
57
|
+
NutDrag: typeof _default;
|
|
58
|
+
}
|
|
59
59
|
}
|
|
@@ -5,7 +5,7 @@ export interface dataList {
|
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
declare type Install<T> = T & {
|
|
8
|
-
|
|
8
|
+
install(app: import('vue').App): void;
|
|
9
9
|
};
|
|
10
10
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
11
11
|
chooseText: {
|
|
@@ -60,7 +60,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
60
60
|
inputValue: Ref<string | number | undefined>;
|
|
61
61
|
money: Ref<string | number | undefined>;
|
|
62
62
|
translate: (keyPath: string, ...args: unknown[]) => any;
|
|
63
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "
|
|
63
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "changeStep" | "inputChange" | "inputClick")[], "change" | "update:modelValue" | "changeStep" | "inputChange" | "inputClick", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
64
|
chooseText: {
|
|
65
65
|
type: StringConstructor;
|
|
66
66
|
default: string;
|
|
@@ -104,10 +104,11 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
104
104
|
}>> & {
|
|
105
105
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
106
106
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
onInputChange?: ((...args: any[]) => any) | undefined;
|
|
108
107
|
onChangeStep?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onInputChange?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
onInputClick?: ((...args: any[]) => any) | undefined;
|
|
110
110
|
}, {
|
|
111
|
+
placeholder: string;
|
|
111
112
|
modelValue: string | number;
|
|
112
113
|
chooseText: string;
|
|
113
114
|
otherValueText: string;
|
|
@@ -116,13 +117,12 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
116
117
|
cardAmountMax: number;
|
|
117
118
|
cardBuyMin: number;
|
|
118
119
|
cardBuyMax: number;
|
|
119
|
-
placeholder: string;
|
|
120
120
|
suffix: string;
|
|
121
121
|
}, {}>>;
|
|
122
122
|
export default _default;
|
|
123
123
|
|
|
124
124
|
declare module 'vue' {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
interface GlobalComponents {
|
|
126
|
+
NutEcard: typeof _default;
|
|
127
|
+
}
|
|
128
128
|
}
|
|
@@ -2,7 +2,7 @@ import { Ref, PropType } from 'vue';
|
|
|
2
2
|
import { ElevatorData } from './type';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
height: {
|
|
@@ -97,7 +97,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
97
97
|
export default _default;
|
|
98
98
|
|
|
99
99
|
declare module 'vue' {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
100
|
+
interface GlobalComponents {
|
|
101
|
+
NutElevator: typeof _default;
|
|
102
|
+
}
|
|
103
103
|
}
|
|
@@ -6,7 +6,7 @@ type EllipsisedValue = {
|
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
declare type Install<T> = T & {
|
|
9
|
-
|
|
9
|
+
install(app: import('vue').App): void;
|
|
10
10
|
};
|
|
11
11
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
12
12
|
content: {
|
|
@@ -44,7 +44,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
44
44
|
handleClick: () => void;
|
|
45
45
|
exceeded: import("vue").Ref<boolean>;
|
|
46
46
|
expanded: import("vue").Ref<boolean>;
|
|
47
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
47
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
content: {
|
|
49
49
|
type: StringConstructor;
|
|
50
50
|
default: string;
|
|
@@ -74,21 +74,21 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
76
76
|
}>> & {
|
|
77
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
78
77
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
78
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
79
79
|
}, {
|
|
80
80
|
symbol: string;
|
|
81
81
|
content: string;
|
|
82
|
-
rows: string | number;
|
|
83
82
|
direction: Direction;
|
|
84
83
|
lineHeight: string | number;
|
|
84
|
+
rows: string | number;
|
|
85
85
|
expandText: string;
|
|
86
86
|
collapseText: string;
|
|
87
87
|
}, {}>>;
|
|
88
88
|
export default _default;
|
|
89
89
|
|
|
90
90
|
declare module 'vue' {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
91
|
+
interface GlobalComponents {
|
|
92
|
+
NutEllipsis: typeof _default;
|
|
93
|
+
}
|
|
94
94
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
|
|
3
3
|
declare type Install<T> = T & {
|
|
4
|
-
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
7
|
image: {
|
|
@@ -47,7 +47,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
47
47
|
export default _default;
|
|
48
48
|
|
|
49
49
|
declare module 'vue' {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
interface GlobalComponents {
|
|
51
|
+
NutEmpty: typeof _default;
|
|
52
|
+
}
|
|
53
53
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
|
|
3
3
|
declare type Install<T> = T & {
|
|
4
|
-
|
|
4
|
+
install(app: import('vue').App): void;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
7
7
|
visible: {
|
|
@@ -89,19 +89,19 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
89
89
|
"onUpdate:visible"?: ((...args: any[]) => any) | undefined;
|
|
90
90
|
onSelected?: ((...args: any[]) => any) | undefined;
|
|
91
91
|
}, {
|
|
92
|
+
type: string;
|
|
92
93
|
overlay: boolean;
|
|
93
94
|
visible: boolean;
|
|
94
|
-
type: string;
|
|
95
95
|
position: Record<string, any>;
|
|
96
|
-
activeColor: string;
|
|
97
96
|
navList: any[];
|
|
97
|
+
activeColor: string;
|
|
98
98
|
activeText: string;
|
|
99
99
|
unActiveText: string;
|
|
100
100
|
}, {}>>;
|
|
101
101
|
export default _default;
|
|
102
102
|
|
|
103
103
|
declare module 'vue' {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
104
|
+
interface GlobalComponents {
|
|
105
|
+
NutFixedNav: typeof _default;
|
|
106
|
+
}
|
|
107
107
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
modelValue: {
|
|
@@ -52,7 +52,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
52
52
|
export default _default;
|
|
53
53
|
|
|
54
54
|
declare module 'vue' {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
interface GlobalComponents {
|
|
56
|
+
NutForm: typeof _default;
|
|
57
|
+
}
|
|
58
58
|
}
|
|
@@ -2,7 +2,7 @@ import type { FormItemRule, FormItemLabelPosition, FormItemStarPosition } from '
|
|
|
2
2
|
import { PropType, CSSProperties } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
prop: {
|
|
@@ -128,7 +128,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
128
128
|
export default _default;
|
|
129
129
|
|
|
130
130
|
declare module 'vue' {
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
interface GlobalComponents {
|
|
132
|
+
NutFormItem: typeof _default;
|
|
133
|
+
}
|
|
134
134
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
columnNum: {
|
|
@@ -67,18 +67,18 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
67
67
|
default: boolean;
|
|
68
68
|
};
|
|
69
69
|
}>>, {
|
|
70
|
+
square: boolean;
|
|
70
71
|
reverse: boolean;
|
|
71
72
|
center: boolean;
|
|
72
73
|
border: boolean;
|
|
73
|
-
square: boolean;
|
|
74
|
-
columnNum: string | number;
|
|
75
74
|
gutter: string | number;
|
|
75
|
+
columnNum: string | number;
|
|
76
76
|
clickable: boolean;
|
|
77
77
|
}, {}>>;
|
|
78
78
|
export default _default;
|
|
79
79
|
|
|
80
80
|
declare module 'vue' {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
interface GlobalComponents {
|
|
82
|
+
NutGrid: typeof _default;
|
|
83
|
+
}
|
|
84
84
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
declare type Install<T> = T & {
|
|
3
|
-
|
|
3
|
+
install(app: import('vue').App): void;
|
|
4
4
|
};
|
|
5
5
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
6
|
text: {
|
|
@@ -41,7 +41,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
41
41
|
export default _default;
|
|
42
42
|
|
|
43
43
|
declare module 'vue' {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
interface GlobalComponents {
|
|
45
|
+
NutGridItem: typeof _default;
|
|
46
|
+
}
|
|
47
47
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType, CSSProperties } from 'vue';
|
|
|
2
2
|
import { ImageFit } from './type';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
src: StringConstructor;
|
|
@@ -104,23 +104,23 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
104
104
|
};
|
|
105
105
|
}>> & {
|
|
106
106
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
107
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
108
107
|
onLoad?: ((...args: any[]) => any) | undefined;
|
|
108
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
109
109
|
}, {
|
|
110
110
|
round: boolean;
|
|
111
|
-
position: string;
|
|
112
111
|
width: string;
|
|
113
112
|
height: string;
|
|
114
|
-
|
|
115
|
-
lazyLoad: boolean;
|
|
113
|
+
position: string;
|
|
116
114
|
fit: ImageFit;
|
|
115
|
+
alt: string;
|
|
117
116
|
showError: boolean;
|
|
118
117
|
showLoading: boolean;
|
|
118
|
+
lazyLoad: boolean;
|
|
119
119
|
}, {}>>;
|
|
120
120
|
export default _default;
|
|
121
121
|
|
|
122
122
|
declare module 'vue' {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
interface GlobalComponents {
|
|
124
|
+
NutImage: typeof _default;
|
|
125
|
+
}
|
|
126
126
|
}
|
|
@@ -2,7 +2,7 @@ import { CSSProperties, PropType } from 'vue';
|
|
|
2
2
|
import { ImageInterface } from './types';
|
|
3
3
|
|
|
4
4
|
declare type Install<T> = T & {
|
|
5
|
-
|
|
5
|
+
install(app: import('vue').App): void;
|
|
6
6
|
};
|
|
7
7
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
8
|
image: {
|
|
@@ -109,18 +109,18 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
109
109
|
video: Record<string, any>;
|
|
110
110
|
image: ImageInterface;
|
|
111
111
|
show: boolean;
|
|
112
|
-
maxZoom: number;
|
|
113
112
|
rootWidth: number;
|
|
114
113
|
rootHeight: number;
|
|
115
114
|
contentClose: boolean;
|
|
116
115
|
initNo: number;
|
|
117
116
|
showIndex: boolean;
|
|
118
117
|
minZoom: number;
|
|
118
|
+
maxZoom: number;
|
|
119
119
|
}, {}>>;
|
|
120
120
|
export default _default;
|
|
121
121
|
|
|
122
122
|
declare module 'vue' {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
interface GlobalComponents {
|
|
124
|
+
NutImagePreview: typeof _default;
|
|
125
|
+
}
|
|
126
126
|
}
|
|
@@ -3,7 +3,7 @@ import { Interceptor } from '@/packages/utils/util';
|
|
|
3
3
|
import { ImageInterface } from './types';
|
|
4
4
|
|
|
5
5
|
declare type Install<T> = T & {
|
|
6
|
-
|
|
6
|
+
install(app: import('vue').App): void;
|
|
7
7
|
};
|
|
8
8
|
declare const _default: Install< import("vue").DefineComponent<{
|
|
9
9
|
images: {
|
|
@@ -163,21 +163,21 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
163
163
|
teleport: string | Element;
|
|
164
164
|
teleportDisable: boolean;
|
|
165
165
|
autoplay: string | number;
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
images: ImageInterface[];
|
|
166
|
+
paginationVisible: boolean;
|
|
167
|
+
paginationColor: string;
|
|
169
168
|
contentClose: boolean;
|
|
170
169
|
initNo: number;
|
|
171
170
|
showIndex: boolean;
|
|
172
171
|
minZoom: number;
|
|
173
|
-
|
|
174
|
-
|
|
172
|
+
maxZoom: number;
|
|
173
|
+
images: ImageInterface[];
|
|
174
|
+
videos: unknown[];
|
|
175
175
|
isLoop: boolean;
|
|
176
176
|
}, {}>>;
|
|
177
177
|
export default _default;
|
|
178
178
|
|
|
179
179
|
declare module 'vue' {
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
interface GlobalComponents {
|
|
181
|
+
NutImagePreview: typeof _default;
|
|
182
|
+
}
|
|
183
183
|
}
|