@nutui/nutui 4.3.1 → 4.3.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/CHANGELOG.md +24 -0
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.js +4021 -4081
- package/dist/nutui.umd.js +1 -1
- package/dist/packages/actionsheet/ActionSheet.js +1 -1
- package/dist/packages/address/Address.js +1 -1
- package/dist/packages/animate/Animate.js +51 -44
- package/dist/packages/calendar/Calendar.js +1 -1
- package/dist/packages/card/Card.js +2 -2
- package/dist/packages/cascader/Cascader.js +1 -1
- package/dist/packages/checkbox/Checkbox.js +1 -1
- package/dist/packages/col/Col.js +41 -30
- package/dist/packages/{common-LvGbU-A3.js → common-FZL3qC99.js} +5 -2
- package/dist/packages/dialog/Dialog.js +1 -1
- package/dist/packages/form/Form.js +3 -1
- package/dist/packages/formitem/FormItem.js +1 -1
- package/dist/packages/imagepreview/ImagePreview.js +1 -1
- package/dist/packages/{index-wY4t0zYt.js → index-BqB5dTeo.js} +29 -17
- package/dist/packages/{index.vue_vue_type_script_lang-w2sgcysj.js → index.vue_vue_type_script_lang-n0HbjvfF.js} +1 -1
- package/dist/packages/input/Input.js +1 -1
- package/dist/packages/inputnumber/InputNumber.js +1 -1
- package/dist/packages/invoice/Invoice.js +1 -1
- package/dist/packages/layout/Layout.js +3 -0
- package/dist/packages/menuitem/MenuItem.js +1 -1
- package/dist/packages/notify/Notify.js +1 -1
- package/dist/packages/numberkeyboard/NumberKeyboard.js +1 -1
- package/dist/packages/popover/Popover.js +1 -1
- package/dist/packages/popup/Popup.js +1 -1
- package/dist/packages/price/Price.js +69 -77
- package/dist/packages/radio/Radio.js +1 -1
- package/dist/packages/range/Range.js +1 -1
- package/dist/packages/rate/Rate.js +1 -1
- package/dist/packages/row/Row.js +43 -39
- package/dist/packages/searchbar/Searchbar.js +1 -1
- package/dist/packages/shortpassword/ShortPassword.js +1 -1
- package/dist/packages/sku/Sku.js +3 -3
- package/dist/packages/switch/Switch.js +12 -4
- package/dist/packages/switch/index.css +1 -1
- package/dist/packages/switch/index.scss +1 -1
- package/dist/packages/textarea/Textarea.js +1 -1
- package/dist/packages/timeselect/TimeSelect.js +1 -1
- package/dist/packages/uploader/Uploader.js +1 -1
- package/dist/smartips/web-types.json +11 -2
- package/dist/style.css +1 -1
- package/dist/types/__VUE/animate/animate.vue.d.ts +75 -0
- package/dist/types/__VUE/animate/index.d.ts +6 -0
- package/dist/types/__VUE/col/col.vue.d.ts +53 -0
- package/dist/types/__VUE/col/index.d.ts +5 -0
- package/dist/types/__VUE/form/common.d.ts +2 -0
- package/dist/types/__VUE/form/types.d.ts +0 -1
- package/dist/types/__VUE/input/index.vue.d.ts +1 -1
- package/dist/types/__VUE/layout/index.d.ts +4 -0
- package/dist/types/__VUE/layout/layout.vue.d.ts +10 -0
- package/dist/types/__VUE/price/index.d.ts +6 -0
- package/dist/types/__VUE/price/price.vue.d.ts +83 -0
- package/dist/types/__VUE/row/index.d.ts +5 -0
- package/dist/types/__VUE/row/row.vue.d.ts +71 -0
- package/dist/types/__VUE/switch/index.vue.d.ts +9 -0
- package/dist/types/index.d.ts +11 -6
- package/package.json +1 -1
- package/dist/packages/types-Ynmct7na.js +0 -4
- package/dist/types/__VUE/animate/index.vue.d.ts +0 -71
- package/dist/types/__VUE/col/index.vue.d.ts +0 -42
- package/dist/types/__VUE/layout/index.vue.d.ts +0 -12
- package/dist/types/__VUE/price/index.vue.d.ts +0 -97
- package/dist/types/__VUE/row/index.vue.d.ts +0 -62
- /package/dist/types/__VUE/animate/{type.d.ts → types.d.ts} +0 -0
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import type { AnimateType, AnimateAction } from './types';
|
|
3
|
+
export type AnimateProps = Partial<{
|
|
4
|
+
type: AnimateType;
|
|
5
|
+
show: boolean;
|
|
6
|
+
action: AnimateAction;
|
|
7
|
+
loop: boolean;
|
|
8
|
+
duration: string | number;
|
|
9
|
+
}>;
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
11
|
+
type: AnimateType;
|
|
12
|
+
show: boolean;
|
|
13
|
+
action: AnimateAction;
|
|
14
|
+
loop: boolean;
|
|
15
|
+
duration: string | number;
|
|
16
|
+
}>>, {
|
|
17
|
+
show: boolean;
|
|
18
|
+
action: string;
|
|
19
|
+
loop: boolean;
|
|
20
|
+
duration: number;
|
|
21
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
22
|
+
click: (...args: any[]) => void;
|
|
23
|
+
animate: (...args: any[]) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
25
|
+
type: AnimateType;
|
|
26
|
+
show: boolean;
|
|
27
|
+
action: AnimateAction;
|
|
28
|
+
loop: boolean;
|
|
29
|
+
duration: string | number;
|
|
30
|
+
}>>, {
|
|
31
|
+
show: boolean;
|
|
32
|
+
action: string;
|
|
33
|
+
loop: boolean;
|
|
34
|
+
duration: number;
|
|
35
|
+
}>>> & {
|
|
36
|
+
onClick?: ((...args: any[]) => any) | undefined;
|
|
37
|
+
onAnimate?: ((...args: any[]) => any) | undefined;
|
|
38
|
+
}, {
|
|
39
|
+
duration: string | number;
|
|
40
|
+
show: boolean;
|
|
41
|
+
action: AnimateAction;
|
|
42
|
+
loop: boolean;
|
|
43
|
+
}, {}>, {
|
|
44
|
+
default?(_: {}): any;
|
|
45
|
+
}>;
|
|
46
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
47
|
+
export default _nut_default;
|
|
48
|
+
|
|
49
|
+
declare module 'vue' {
|
|
50
|
+
interface GlobalComponents {
|
|
51
|
+
NutAnimate: typeof _default;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
55
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
56
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
57
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
58
|
+
} : {
|
|
59
|
+
type: import('vue').PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
type __VLS_WithDefaults<P, D> = {
|
|
64
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
65
|
+
default: D[K];
|
|
66
|
+
}> : P[K];
|
|
67
|
+
};
|
|
68
|
+
type __VLS_Prettify<T> = {
|
|
69
|
+
[K in keyof T]: T[K];
|
|
70
|
+
} & {};
|
|
71
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
72
|
+
new (): {
|
|
73
|
+
$slots: S;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import Animate from './animate.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { AnimateProps } from './animate.vue';
|
|
4
|
+
export type { AnimateType, AnimateAction } from './types';
|
|
5
|
+
export type AnimateInstance = ComponentPublicInstance & InstanceType<typeof Animate>;
|
|
6
|
+
export { Animate, Animate as default };
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type ColProps = Partial<{
|
|
3
|
+
span: string | number;
|
|
4
|
+
offset: string | number;
|
|
5
|
+
}>;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
7
|
+
span: string | number;
|
|
8
|
+
offset: string | number;
|
|
9
|
+
}>>, {
|
|
10
|
+
span: number;
|
|
11
|
+
offset: number;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
13
|
+
span: string | number;
|
|
14
|
+
offset: string | number;
|
|
15
|
+
}>>, {
|
|
16
|
+
span: number;
|
|
17
|
+
offset: number;
|
|
18
|
+
}>>>, {
|
|
19
|
+
span: string | number;
|
|
20
|
+
offset: string | number;
|
|
21
|
+
}, {}>, {
|
|
22
|
+
default?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
25
|
+
export default _nut_default;
|
|
26
|
+
|
|
27
|
+
declare module 'vue' {
|
|
28
|
+
interface GlobalComponents {
|
|
29
|
+
NutCol: typeof _default;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
33
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
34
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
35
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
36
|
+
} : {
|
|
37
|
+
type: import('vue').PropType<T[K]>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
type __VLS_WithDefaults<P, D> = {
|
|
42
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
43
|
+
default: D[K];
|
|
44
|
+
}> : P[K];
|
|
45
|
+
};
|
|
46
|
+
type __VLS_Prettify<T> = {
|
|
47
|
+
[K in keyof T]: T[K];
|
|
48
|
+
} & {};
|
|
49
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
50
|
+
new (): {
|
|
51
|
+
$slots: S;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
@@ -199,13 +199,13 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
199
199
|
border: boolean;
|
|
200
200
|
placeholder: string;
|
|
201
201
|
modelValue: string | number;
|
|
202
|
-
required: boolean;
|
|
203
202
|
maxLength: string | number;
|
|
204
203
|
clearable: boolean;
|
|
205
204
|
autofocus: boolean;
|
|
206
205
|
readonly: boolean;
|
|
207
206
|
inputAlign: InputAlignType;
|
|
208
207
|
formatter: (value: string) => string;
|
|
208
|
+
required: boolean;
|
|
209
209
|
clearSize: string | number;
|
|
210
210
|
formatTrigger: InputFormatTrigger;
|
|
211
211
|
showWordLimit: boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
3
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
4
|
+
export default _nut_default;
|
|
5
|
+
|
|
6
|
+
declare module 'vue' {
|
|
7
|
+
interface GlobalComponents {
|
|
8
|
+
NutLayout: typeof _default;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import Price from './price.vue';
|
|
2
|
+
import type { ComponentPublicInstance } from 'vue';
|
|
3
|
+
export type { PriceProps } from './price.vue';
|
|
4
|
+
export type { PriceSize, PricePosition } from './types';
|
|
5
|
+
export type PriceInstance = ComponentPublicInstance & InstanceType<typeof Price>;
|
|
6
|
+
export { Price, Price as default };
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
import type { PricePosition, PriceSize } from './types';
|
|
3
|
+
export type PriceProps = Partial<{
|
|
4
|
+
price: string | number;
|
|
5
|
+
needSymbol: boolean;
|
|
6
|
+
symbol: string;
|
|
7
|
+
decimalDigits: number;
|
|
8
|
+
thousands: boolean;
|
|
9
|
+
position: PricePosition;
|
|
10
|
+
size: PriceSize;
|
|
11
|
+
strikeThrough: boolean;
|
|
12
|
+
}>;
|
|
13
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
14
|
+
price: string | number;
|
|
15
|
+
needSymbol: boolean;
|
|
16
|
+
symbol: string;
|
|
17
|
+
decimalDigits: number;
|
|
18
|
+
thousands: boolean;
|
|
19
|
+
position: PricePosition;
|
|
20
|
+
size: PriceSize;
|
|
21
|
+
strikeThrough: boolean;
|
|
22
|
+
}>>, {
|
|
23
|
+
price: number;
|
|
24
|
+
needSymbol: boolean;
|
|
25
|
+
symbol: string;
|
|
26
|
+
decimalDigits: number;
|
|
27
|
+
thousands: boolean;
|
|
28
|
+
position: string;
|
|
29
|
+
size: string;
|
|
30
|
+
strikeThrough: boolean;
|
|
31
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
32
|
+
price: string | number;
|
|
33
|
+
needSymbol: boolean;
|
|
34
|
+
symbol: string;
|
|
35
|
+
decimalDigits: number;
|
|
36
|
+
thousands: boolean;
|
|
37
|
+
position: PricePosition;
|
|
38
|
+
size: PriceSize;
|
|
39
|
+
strikeThrough: boolean;
|
|
40
|
+
}>>, {
|
|
41
|
+
price: number;
|
|
42
|
+
needSymbol: boolean;
|
|
43
|
+
symbol: string;
|
|
44
|
+
decimalDigits: number;
|
|
45
|
+
thousands: boolean;
|
|
46
|
+
position: string;
|
|
47
|
+
size: string;
|
|
48
|
+
strikeThrough: boolean;
|
|
49
|
+
}>>>, {
|
|
50
|
+
symbol: string;
|
|
51
|
+
size: PriceSize;
|
|
52
|
+
position: PricePosition;
|
|
53
|
+
price: string | number;
|
|
54
|
+
needSymbol: boolean;
|
|
55
|
+
decimalDigits: number;
|
|
56
|
+
thousands: boolean;
|
|
57
|
+
strikeThrough: boolean;
|
|
58
|
+
}, {}>;
|
|
59
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
60
|
+
export default _nut_default;
|
|
61
|
+
|
|
62
|
+
declare module 'vue' {
|
|
63
|
+
interface GlobalComponents {
|
|
64
|
+
NutPrice: typeof _default;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
68
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
69
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
70
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
71
|
+
} : {
|
|
72
|
+
type: import('vue').PropType<T[K]>;
|
|
73
|
+
required: true;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
type __VLS_WithDefaults<P, D> = {
|
|
77
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
78
|
+
default: D[K];
|
|
79
|
+
}> : P[K];
|
|
80
|
+
};
|
|
81
|
+
type __VLS_Prettify<T> = {
|
|
82
|
+
[K in keyof T]: T[K];
|
|
83
|
+
} & {};
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import type { WithInstall } from '../../utils';
|
|
2
|
+
export type RowProps = Partial<{
|
|
3
|
+
type: string;
|
|
4
|
+
gutter: string | number;
|
|
5
|
+
justify: string;
|
|
6
|
+
align: string;
|
|
7
|
+
flexWrap: string;
|
|
8
|
+
}>;
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
10
|
+
type: string;
|
|
11
|
+
gutter: string | number;
|
|
12
|
+
justify: string;
|
|
13
|
+
align: string;
|
|
14
|
+
flexWrap: string;
|
|
15
|
+
}>>, {
|
|
16
|
+
type: string;
|
|
17
|
+
gutter: string;
|
|
18
|
+
justify: string;
|
|
19
|
+
align: string;
|
|
20
|
+
flexWrap: string;
|
|
21
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Partial<{
|
|
22
|
+
type: string;
|
|
23
|
+
gutter: string | number;
|
|
24
|
+
justify: string;
|
|
25
|
+
align: string;
|
|
26
|
+
flexWrap: string;
|
|
27
|
+
}>>, {
|
|
28
|
+
type: string;
|
|
29
|
+
gutter: string;
|
|
30
|
+
justify: string;
|
|
31
|
+
align: string;
|
|
32
|
+
flexWrap: string;
|
|
33
|
+
}>>>, {
|
|
34
|
+
type: string;
|
|
35
|
+
justify: string;
|
|
36
|
+
gutter: string | number;
|
|
37
|
+
align: string;
|
|
38
|
+
flexWrap: string;
|
|
39
|
+
}, {}>, {
|
|
40
|
+
default?(_: {}): any;
|
|
41
|
+
}>;
|
|
42
|
+
declare const _nut_default: WithInstall<typeof _default>;
|
|
43
|
+
export default _nut_default;
|
|
44
|
+
|
|
45
|
+
declare module 'vue' {
|
|
46
|
+
interface GlobalComponents {
|
|
47
|
+
NutRow: typeof _default;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
type __VLS_WithDefaults<P, D> = {
|
|
60
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
61
|
+
default: D[K];
|
|
62
|
+
}> : P[K];
|
|
63
|
+
};
|
|
64
|
+
type __VLS_Prettify<T> = {
|
|
65
|
+
[K in keyof T]: T[K];
|
|
66
|
+
} & {};
|
|
67
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
68
|
+
new (): {
|
|
69
|
+
$slots: S;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
@@ -7,6 +7,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
7
7
|
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
|
+
disabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
10
14
|
disable: {
|
|
11
15
|
type: BooleanConstructor;
|
|
12
16
|
default: boolean;
|
|
@@ -53,6 +57,10 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
53
57
|
type: (NumberConstructor | BooleanConstructor | StringConstructor)[];
|
|
54
58
|
default: boolean;
|
|
55
59
|
};
|
|
60
|
+
disabled: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
56
64
|
disable: {
|
|
57
65
|
type: BooleanConstructor;
|
|
58
66
|
default: boolean;
|
|
@@ -91,6 +99,7 @@ declare const _default: Install< import("vue").DefineComponent<{
|
|
|
91
99
|
"onUpdate:loading"?: ((...args: any[]) => any) | undefined;
|
|
92
100
|
}, {
|
|
93
101
|
loading: boolean;
|
|
102
|
+
disabled: boolean;
|
|
94
103
|
activeColor: string;
|
|
95
104
|
activeText: string;
|
|
96
105
|
modelValue: string | number | boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -8,9 +8,12 @@ import Overlay from './__VUE/overlay/index.vue';
|
|
|
8
8
|
import Popup from './__VUE/popup/index.vue';
|
|
9
9
|
import ConfigProvider from './__VUE/configprovider/index.vue';
|
|
10
10
|
import Image from './__VUE/image/index.vue';
|
|
11
|
-
import Layout from './__VUE/layout/index
|
|
12
|
-
|
|
13
|
-
import
|
|
11
|
+
import Layout from './__VUE/layout/index';
|
|
12
|
+
export * from './__VUE/layout/index';
|
|
13
|
+
import Col from './__VUE/col/index';
|
|
14
|
+
export * from './__VUE/col/index';
|
|
15
|
+
import Row from './__VUE/row/index';
|
|
16
|
+
export * from './__VUE/row/index';
|
|
14
17
|
import Sticky from './__VUE/sticky/index.vue';
|
|
15
18
|
import Divider from './__VUE/divider/index';
|
|
16
19
|
export * from './__VUE/divider/index';
|
|
@@ -83,7 +86,8 @@ import Steps from './__VUE/steps/index.vue';
|
|
|
83
86
|
import Step from './__VUE/step/index.vue';
|
|
84
87
|
import Swiper from './__VUE/swiper/index.vue';
|
|
85
88
|
import SwiperItem from './__VUE/swiperitem/index.vue';
|
|
86
|
-
import Price from './__VUE/price/index
|
|
89
|
+
import Price from './__VUE/price/index';
|
|
90
|
+
export * from './__VUE/price/index';
|
|
87
91
|
import ImagePreview from './__VUE/imagepreview/index.vue';
|
|
88
92
|
import { showImagePreview } from './__VUE/imagepreview/index';
|
|
89
93
|
import Countup from './__VUE/countup/index.vue';
|
|
@@ -97,7 +101,8 @@ export * from './__VUE/collapse/index';
|
|
|
97
101
|
import CollapseItem from './__VUE/collapseitem/index';
|
|
98
102
|
export * from './__VUE/collapseitem/index';
|
|
99
103
|
import Table from './__VUE/table/index.vue';
|
|
100
|
-
import Animate from './__VUE/animate/index
|
|
104
|
+
import Animate from './__VUE/animate/index';
|
|
105
|
+
export * from './__VUE/animate/index';
|
|
101
106
|
import Ellipsis from './__VUE/ellipsis/index.vue';
|
|
102
107
|
import Watermark from './__VUE/watermark/index.vue';
|
|
103
108
|
import TrendArrow from './__VUE/trendarrow/index.vue';
|
|
@@ -118,7 +123,7 @@ import Comment from './__VUE/comment/index.vue';
|
|
|
118
123
|
import Invoice from './__VUE/invoice/index.vue';
|
|
119
124
|
import AvatarCropper from './__VUE/avatarcropper/index.vue';
|
|
120
125
|
declare function install(app: App): void;
|
|
121
|
-
declare const version = "4.3.
|
|
126
|
+
declare const version = "4.3.2";
|
|
122
127
|
export { install, version, Locale, Button, Cell, CellGroup, Overlay, Popup, ConfigProvider, Image, Layout, Col, Row, Sticky, Divider, Grid, GridItem, Space, Navbar, FixedNav, Menu, MenuItem, Tabbar, TabbarItem, Elevator, Pagination, Tabs, TabPane, Indicator, SideNavbar, SideNavbarItem, SubSideNavbar, Range, Searchbar, Cascader, Calendar, CalendarCard, Checkbox, CheckboxGroup, DatePicker, InputNumber, Input, Radio, RadioGroup, Rate, CalendarItem, Picker, ShortPassword, Textarea, Uploader, NumberKeyboard, Form, FormItem, Swipe, SwipeGroup, 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, AvatarCropper, showDialog, showNotify, showToast, showImagePreview };
|
|
123
128
|
declare const _default: {
|
|
124
129
|
install: typeof install;
|
package/package.json
CHANGED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { AnimateType, AnimateAction } from './type';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
type: {
|
|
9
|
-
type: PropType<AnimateType>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
show: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
defualt: boolean;
|
|
15
|
-
};
|
|
16
|
-
action: {
|
|
17
|
-
type: PropType<AnimateAction>;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
loop: {
|
|
21
|
-
type: BooleanConstructor;
|
|
22
|
-
default: boolean;
|
|
23
|
-
};
|
|
24
|
-
duration: {
|
|
25
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
-
defualt: number;
|
|
27
|
-
};
|
|
28
|
-
}, {
|
|
29
|
-
classes: import("vue").ComputedRef<{
|
|
30
|
-
[x: string]: boolean;
|
|
31
|
-
'nut-animate__container': boolean;
|
|
32
|
-
loop: boolean;
|
|
33
|
-
}>;
|
|
34
|
-
handleClick: (event: Event) => void;
|
|
35
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "animate")[], "click" | "animate", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
-
type: {
|
|
37
|
-
type: PropType<AnimateType>;
|
|
38
|
-
default: string;
|
|
39
|
-
};
|
|
40
|
-
show: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
defualt: boolean;
|
|
43
|
-
};
|
|
44
|
-
action: {
|
|
45
|
-
type: PropType<AnimateAction>;
|
|
46
|
-
default: string;
|
|
47
|
-
};
|
|
48
|
-
loop: {
|
|
49
|
-
type: BooleanConstructor;
|
|
50
|
-
default: boolean;
|
|
51
|
-
};
|
|
52
|
-
duration: {
|
|
53
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
54
|
-
defualt: number;
|
|
55
|
-
};
|
|
56
|
-
}>> & {
|
|
57
|
-
onClick?: ((...args: any[]) => any) | undefined;
|
|
58
|
-
onAnimate?: ((...args: any[]) => any) | undefined;
|
|
59
|
-
}, {
|
|
60
|
-
type: AnimateType;
|
|
61
|
-
show: boolean;
|
|
62
|
-
action: AnimateAction;
|
|
63
|
-
loop: boolean;
|
|
64
|
-
}, {}>>;
|
|
65
|
-
export default _default;
|
|
66
|
-
|
|
67
|
-
declare module 'vue' {
|
|
68
|
-
interface GlobalComponents {
|
|
69
|
-
NutAnimate: typeof _default;
|
|
70
|
-
}
|
|
71
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: import('vue').App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
6
|
-
span: {
|
|
7
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
offset: {
|
|
11
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
-
default: string;
|
|
13
|
-
};
|
|
14
|
-
}, {
|
|
15
|
-
classes: import("vue").ComputedRef<{
|
|
16
|
-
[x: string]: number | boolean;
|
|
17
|
-
"nut-col": boolean;
|
|
18
|
-
}>;
|
|
19
|
-
style: import("vue").ComputedRef<{
|
|
20
|
-
paddingLeft: string;
|
|
21
|
-
paddingRight: string;
|
|
22
|
-
}>;
|
|
23
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, never[], never, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
-
span: {
|
|
25
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
26
|
-
default: string;
|
|
27
|
-
};
|
|
28
|
-
offset: {
|
|
29
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
}>> & {}, {
|
|
33
|
-
span: string | number;
|
|
34
|
-
offset: string | number;
|
|
35
|
-
}, {}>>;
|
|
36
|
-
export default _default;
|
|
37
|
-
|
|
38
|
-
declare module 'vue' {
|
|
39
|
-
interface GlobalComponents {
|
|
40
|
-
NutCol: typeof _default;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
declare type Install<T> = T & {
|
|
3
|
-
install(app: import('vue').App): void;
|
|
4
|
-
};
|
|
5
|
-
declare const _default: Install< import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>>;
|
|
6
|
-
export default _default;
|
|
7
|
-
|
|
8
|
-
declare module 'vue' {
|
|
9
|
-
interface GlobalComponents {
|
|
10
|
-
NutLayout: typeof _default;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { PricePosition, PriceSize } from './types';
|
|
3
|
-
|
|
4
|
-
declare type Install<T> = T & {
|
|
5
|
-
install(app: import('vue').App): void;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: Install< import("vue").DefineComponent<{
|
|
8
|
-
price: {
|
|
9
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
10
|
-
default: number;
|
|
11
|
-
};
|
|
12
|
-
needSymbol: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
symbol: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
decimalDigits: {
|
|
21
|
-
type: NumberConstructor;
|
|
22
|
-
default: number;
|
|
23
|
-
};
|
|
24
|
-
thousands: {
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
28
|
-
position: {
|
|
29
|
-
type: PropType<PricePosition>;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
size: {
|
|
33
|
-
type: PropType<PriceSize>;
|
|
34
|
-
default: string;
|
|
35
|
-
};
|
|
36
|
-
strikeThrough: {
|
|
37
|
-
type: BooleanConstructor;
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
}, {
|
|
41
|
-
classes: import("vue").ComputedRef<{
|
|
42
|
-
[x: string]: boolean;
|
|
43
|
-
}>;
|
|
44
|
-
showSymbol: import("vue").ComputedRef<string>;
|
|
45
|
-
checkPoint: (price: string | number) => boolean;
|
|
46
|
-
formatThousands: (num: any) => any;
|
|
47
|
-
formatDecimal: (decimalNum: any) => string;
|
|
48
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
-
price: {
|
|
50
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
51
|
-
default: number;
|
|
52
|
-
};
|
|
53
|
-
needSymbol: {
|
|
54
|
-
type: BooleanConstructor;
|
|
55
|
-
default: boolean;
|
|
56
|
-
};
|
|
57
|
-
symbol: {
|
|
58
|
-
type: StringConstructor;
|
|
59
|
-
default: string;
|
|
60
|
-
};
|
|
61
|
-
decimalDigits: {
|
|
62
|
-
type: NumberConstructor;
|
|
63
|
-
default: number;
|
|
64
|
-
};
|
|
65
|
-
thousands: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
position: {
|
|
70
|
-
type: PropType<PricePosition>;
|
|
71
|
-
default: string;
|
|
72
|
-
};
|
|
73
|
-
size: {
|
|
74
|
-
type: PropType<PriceSize>;
|
|
75
|
-
default: string;
|
|
76
|
-
};
|
|
77
|
-
strikeThrough: {
|
|
78
|
-
type: BooleanConstructor;
|
|
79
|
-
default: boolean;
|
|
80
|
-
};
|
|
81
|
-
}>>, {
|
|
82
|
-
symbol: string;
|
|
83
|
-
size: PriceSize;
|
|
84
|
-
position: PricePosition;
|
|
85
|
-
price: string | number;
|
|
86
|
-
needSymbol: boolean;
|
|
87
|
-
decimalDigits: number;
|
|
88
|
-
thousands: boolean;
|
|
89
|
-
strikeThrough: boolean;
|
|
90
|
-
}, {}>>;
|
|
91
|
-
export default _default;
|
|
92
|
-
|
|
93
|
-
declare module 'vue' {
|
|
94
|
-
interface GlobalComponents {
|
|
95
|
-
NutPrice: typeof _default;
|
|
96
|
-
}
|
|
97
|
-
}
|