@nutui/nutui 4.2.8 → 4.2.9
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/CHANGELOG.md +21 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +3770 -3783
- 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 +66 -49
- package/dist/packages/cell/Cell.js +9 -4
- package/dist/packages/dialog/Dialog.js +4 -3
- package/dist/packages/divider/Divider.js +40 -18
- package/dist/packages/formitem/index.css +1 -1
- package/dist/packages/formitem/index.scss +1 -3
- package/dist/packages/invoice/Invoice.js +3 -2
- package/dist/packages/invoice/index.css +1 -1
- package/dist/packages/list/List.js +6 -4
- package/dist/packages/sidenavbar/SideNavbar.js +1 -1
- package/dist/packages/sidenavbar/index.css +1 -1
- package/dist/packages/sidenavbar/index.scss +0 -1
- package/dist/packages/sidenavbaritem/SideNavbarItem.js +4 -21
- package/dist/packages/signature/Signature.js +3 -2
- package/dist/packages/subsidenavbar/SubSideNavbar.js +3 -10
- package/dist/packages/subsidenavbar/index.css +1 -1
- package/dist/packages/subsidenavbar/index.scss +0 -6
- package/dist/packages/with-install-p59gYYU_.js +12 -0
- package/dist/smartips/web-types.json +2 -2
- package/dist/style.css +1 -1
- 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/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 +12 -11
- package/dist/types/__VUE/cell/types.d.ts +1 -0
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +4 -4
- package/dist/types/__VUE/checkbox/index.vue.d.ts +13 -11
- package/dist/types/__VUE/checkbox/types.d.ts +2 -0
- 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 +11 -11
- package/dist/types/__VUE/ellipsis/types.d.ts +1 -0
- 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 +8 -11
- 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 +6 -6
- 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 +16 -16
- 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 +6 -19
- 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 -13
- 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 +11 -11
- 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 +5 -3
- 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 +5 -3
- 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
|
@@ -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
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
|
|
2
|
+
import { EllipsisDirection } from './types';
|
|
3
3
|
type EllipsisedValue = {
|
|
4
4
|
leading?: string;
|
|
5
5
|
tailing?: string;
|
|
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: {
|
|
@@ -14,7 +14,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
direction: {
|
|
17
|
-
type: PropType<
|
|
17
|
+
type: PropType<EllipsisDirection>;
|
|
18
18
|
default: string;
|
|
19
19
|
};
|
|
20
20
|
rows: {
|
|
@@ -44,13 +44,13 @@ 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;
|
|
51
51
|
};
|
|
52
52
|
direction: {
|
|
53
|
-
type: PropType<
|
|
53
|
+
type: PropType<EllipsisDirection>;
|
|
54
54
|
default: string;
|
|
55
55
|
};
|
|
56
56
|
rows: {
|
|
@@ -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
|
-
|
|
83
|
-
direction: Direction;
|
|
82
|
+
direction: EllipsisDirection;
|
|
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
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type EllipsisDirection = 'start' | 'end' | 'middle';
|
|
@@ -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
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { IndicatorAlign } 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
|
size: {
|
|
@@ -63,7 +63,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
63
63
|
export default _default;
|
|
64
64
|
|
|
65
65
|
declare module 'vue' {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
66
|
+
interface GlobalComponents {
|
|
67
|
+
NutIndicator: typeof _default;
|
|
68
|
+
}
|
|
69
69
|
}
|
|
@@ -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: {
|
|
@@ -78,7 +78,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
78
78
|
export default _default;
|
|
79
79
|
|
|
80
80
|
declare module 'vue' {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
81
|
+
interface GlobalComponents {
|
|
82
|
+
NutInfiniteLoading: typeof _default;
|
|
83
|
+
}
|
|
84
84
|
}
|
|
@@ -2,7 +2,7 @@ import { PropType, ComputedRef } from 'vue';
|
|
|
2
2
|
import type { InputType, InputAlignType, InputFormatTrigger, ConfirmTextType } 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
|
type: {
|
|
@@ -104,7 +104,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
104
104
|
select: () => void;
|
|
105
105
|
onKeyup: (e: KeyboardEvent) => void;
|
|
106
106
|
getModelValue: () => string;
|
|
107
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
107
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "clear" | "blur" | "focus" | "keypress" | "update:modelValue" | "clickInput" | "confirm")[], "click" | "clear" | "blur" | "focus" | "keypress" | "update:modelValue" | "clickInput" | "confirm", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
108
108
|
type: {
|
|
109
109
|
type: PropType<InputType>;
|
|
110
110
|
default: string;
|
|
@@ -182,39 +182,39 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
182
182
|
default: string;
|
|
183
183
|
};
|
|
184
184
|
}>> & {
|
|
185
|
-
onBlur?: ((...args: any[]) => any) | undefined;
|
|
186
185
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
187
186
|
onFocus?: ((...args: any[]) => any) | undefined;
|
|
187
|
+
onBlur?: ((...args: any[]) => any) | undefined;
|
|
188
188
|
onKeypress?: ((...args: any[]) => any) | undefined;
|
|
189
189
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
191
190
|
onClear?: ((...args: any[]) => any) | undefined;
|
|
192
191
|
onClickInput?: ((...args: any[]) => any) | undefined;
|
|
192
|
+
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
193
193
|
}, {
|
|
194
|
-
|
|
194
|
+
disabled: boolean;
|
|
195
195
|
type: InputType;
|
|
196
196
|
class: string;
|
|
197
|
+
error: boolean;
|
|
197
198
|
border: boolean;
|
|
198
|
-
disabled: boolean;
|
|
199
|
-
modelValue: string | number;
|
|
200
|
-
required: boolean;
|
|
201
|
-
readonly: boolean;
|
|
202
|
-
formatter: (value: string) => string;
|
|
203
199
|
placeholder: string;
|
|
204
|
-
|
|
200
|
+
modelValue: string | number;
|
|
205
201
|
maxLength: string | number;
|
|
206
202
|
clearable: boolean;
|
|
203
|
+
autofocus: boolean;
|
|
204
|
+
readonly: boolean;
|
|
205
|
+
inputAlign: InputAlignType;
|
|
206
|
+
formatter: (value: string) => string;
|
|
207
|
+
required: boolean;
|
|
207
208
|
clearSize: string | number;
|
|
208
209
|
formatTrigger: InputFormatTrigger;
|
|
209
210
|
showWordLimit: boolean;
|
|
210
|
-
autofocus: boolean;
|
|
211
211
|
confirmType: ConfirmTextType;
|
|
212
212
|
showClearIcon: boolean;
|
|
213
213
|
}, {}>>;
|
|
214
214
|
export default _default;
|
|
215
215
|
|
|
216
216
|
declare module 'vue' {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
217
|
+
interface GlobalComponents {
|
|
218
|
+
NutInput: typeof _default;
|
|
219
|
+
}
|
|
220
220
|
}
|
|
@@ -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: {
|
|
@@ -89,18 +89,18 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
89
89
|
default: boolean;
|
|
90
90
|
};
|
|
91
91
|
}>> & {
|
|
92
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
92
93
|
onBlur?: ((...args: any[]) => any) | undefined;
|
|
93
94
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
94
|
-
onFocus?: ((...args: any[]) => any) | undefined;
|
|
95
95
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
96
|
-
onAdd?: ((...args: any[]) => any) | undefined;
|
|
97
96
|
onReduce?: ((...args: any[]) => any) | undefined;
|
|
97
|
+
onAdd?: ((...args: any[]) => any) | undefined;
|
|
98
98
|
onOverlimit?: ((...args: any[]) => any) | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
disabled: boolean;
|
|
101
101
|
modelValue: string | number;
|
|
102
|
-
min: string | number;
|
|
103
102
|
max: string | number;
|
|
103
|
+
min: string | number;
|
|
104
104
|
step: string | number;
|
|
105
105
|
readonly: boolean;
|
|
106
106
|
inputWidth: string | number;
|
|
@@ -110,7 +110,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
110
110
|
export default _default;
|
|
111
111
|
|
|
112
112
|
declare module 'vue' {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
interface GlobalComponents {
|
|
114
|
+
NutInputNumber: typeof _default;
|
|
115
|
+
}
|
|
116
116
|
}
|
|
@@ -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
|
data: {
|
|
@@ -37,17 +37,17 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
37
37
|
};
|
|
38
38
|
}>> & {
|
|
39
39
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
onOnSubmit?: ((...args: any[]) => any) | undefined;
|
|
41
40
|
onScrollBottom?: ((...args: any[]) => any) | undefined;
|
|
41
|
+
onOnSubmit?: ((...args: any[]) => any) | undefined;
|
|
42
42
|
}, {
|
|
43
|
-
data: unknown[];
|
|
44
43
|
submit: boolean;
|
|
44
|
+
data: unknown[];
|
|
45
45
|
formValue: Record<string, any>;
|
|
46
46
|
}, {}>>;
|
|
47
47
|
export default _default;
|
|
48
48
|
|
|
49
49
|
declare module 'vue' {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
50
|
+
interface GlobalComponents {
|
|
51
|
+
NutInvoice: typeof _default;
|
|
52
|
+
}
|
|
53
53
|
}
|