@mobileaction/action-kit 1.1.21 → 1.1.22
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/action-kit.js +3 -3
- package/dist/action-kit.mjs +679 -481
- package/dist/components/alert/index.vue.d.ts +6 -6
- package/dist/components/alert/types.d.ts +2 -2
- package/dist/components/animation/index.vue.d.ts +2 -2
- package/dist/components/animation/types.d.ts +1 -1
- package/dist/components/app-icon/index.vue.d.ts +7 -7
- package/dist/components/app-icon/types.d.ts +3 -1
- package/dist/components/badge/index.vue.d.ts +9 -9
- package/dist/components/badge/types.d.ts +4 -4
- package/dist/components/button/index.vue.d.ts +16 -16
- package/dist/components/button/types.d.ts +6 -6
- package/dist/components/form/types.d.ts +2 -0
- package/dist/components/icon/index.vue.d.ts +3 -3
- package/dist/components/icon/types.d.ts +5 -4
- package/dist/components/input/index.vue.d.ts +4 -4
- package/dist/components/input/types.d.ts +32 -24
- package/dist/components/modal/index.vue.d.ts +2 -2
- package/dist/components/modal/types.d.ts +1 -1
- package/dist/components/numeric-input/index.vue.d.ts +3 -3
- package/dist/components/numeric-input/types.d.ts +1 -1
- package/dist/components/radio/index.vue.d.ts +3 -3
- package/dist/components/radio/types.d.ts +1 -1
- package/dist/components/rate/components/star.vue.d.ts +4 -4
- package/dist/components/rate/index.vue.d.ts +6 -6
- package/dist/components/rate/types.d.ts +2 -2
- package/dist/components/select/index.vue.d.ts +5 -5
- package/dist/components/select/types.d.ts +2 -2
- package/dist/components/switch/index.vue.d.ts +3 -3
- package/dist/components/switch/types.d.ts +1 -1
- package/dist/components/toggle/index.vue.d.ts +3 -3
- package/dist/components/toggle/types.d.ts +1 -1
- package/dist/components/tooltip/index.vue.d.ts +7 -7
- package/dist/components/tooltip/types.d.ts +3 -3
- package/dist/components/track-button/index.vue.d.ts +6 -6
- package/dist/components/track-button/types.d.ts +2 -2
- package/dist/index.d.ts +17 -0
- package/dist/src/components/alert/index.vue.d.ts +2 -2
- package/dist/src/components/alert/types.d.ts +2 -2
- package/dist/src/components/animation/types.d.ts +1 -1
- package/dist/src/components/app-icon/index.vue.d.ts +3 -3
- package/dist/src/components/app-icon/types.d.ts +3 -1
- package/dist/src/components/badge/index.vue.d.ts +3 -3
- package/dist/src/components/badge/types.d.ts +4 -4
- package/dist/src/components/button/index.vue.d.ts +4 -4
- package/dist/src/components/button/types.d.ts +6 -6
- package/dist/src/components/form/types.d.ts +1 -1
- package/dist/src/components/icon/index.vue.d.ts +1 -1
- package/dist/src/components/icon/types.d.ts +5 -4
- package/dist/src/components/input/index.vue.d.ts +4 -4
- package/dist/src/components/input/types.d.ts +32 -24
- package/dist/src/components/modal/types.d.ts +1 -1
- package/dist/src/components/numeric-input/index.vue.d.ts +1 -1
- package/dist/src/components/numeric-input/types.d.ts +1 -1
- package/dist/src/components/radio/index.vue.d.ts +1 -1
- package/dist/src/components/radio/types.d.ts +1 -1
- package/dist/src/components/rate/components/star.vue.d.ts +2 -2
- package/dist/src/components/rate/index.vue.d.ts +2 -2
- package/dist/src/components/rate/types.d.ts +2 -2
- package/dist/src/components/select/index.vue.d.ts +1 -1
- package/dist/src/components/select/types.d.ts +2 -2
- package/dist/src/components/switch/index.vue.d.ts +1 -1
- package/dist/src/components/switch/types.d.ts +1 -1
- package/dist/src/components/toggle/index.vue.d.ts +1 -1
- package/dist/src/components/toggle/types.d.ts +1 -1
- package/dist/src/components/tooltip/index.vue.d.ts +3 -3
- package/dist/src/components/tooltip/types.d.ts +3 -3
- package/dist/src/components/track-button/index.vue.d.ts +2 -2
- package/dist/src/components/track-button/types.d.ts +2 -2
- package/dist/src/index.d.ts +17 -0
- package/package.json +1 -1
|
@@ -11,12 +11,12 @@ export interface MaAlertProps extends Omit<AlertProps, 'type' | 'message' | 'clo
|
|
|
11
11
|
}
|
|
12
12
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
13
13
|
variant: {
|
|
14
|
-
type: __PropType<
|
|
14
|
+
type: __PropType<"dark" | "blue" | "green" | "orange" | "red">;
|
|
15
15
|
required: false;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
18
18
|
type: {
|
|
19
|
-
type: __PropType<
|
|
19
|
+
type: __PropType<"primary" | "secondary">;
|
|
20
20
|
required: false;
|
|
21
21
|
default: string;
|
|
22
22
|
};
|
|
@@ -38,12 +38,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
38
38
|
};
|
|
39
39
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
40
40
|
variant: {
|
|
41
|
-
type: __PropType<
|
|
41
|
+
type: __PropType<"dark" | "blue" | "green" | "orange" | "red">;
|
|
42
42
|
required: false;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
45
|
type: {
|
|
46
|
-
type: __PropType<
|
|
46
|
+
type: __PropType<"primary" | "secondary">;
|
|
47
47
|
required: false;
|
|
48
48
|
default: string;
|
|
49
49
|
};
|
|
@@ -64,7 +64,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
64
64
|
required: false;
|
|
65
65
|
};
|
|
66
66
|
}>>, {
|
|
67
|
-
type:
|
|
68
|
-
variant:
|
|
67
|
+
type: "primary" | "secondary";
|
|
68
|
+
variant: "dark" | "blue" | "green" | "orange" | "red";
|
|
69
69
|
}>;
|
|
70
70
|
export default _sfc_main;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MaAlertPropVariants:
|
|
2
|
-
export declare const MaAlertPropTypes:
|
|
1
|
+
export declare const MaAlertPropVariants: readonly ["dark", "blue", "green", "orange", "red"];
|
|
2
|
+
export declare const MaAlertPropTypes: readonly ["primary", "secondary"];
|
|
3
3
|
export type MaAlertPropVariant = (typeof MaAlertPropVariants)[number];
|
|
4
4
|
export type MaAlertPropType = (typeof MaAlertPropTypes)[number];
|
|
@@ -11,7 +11,7 @@ export interface MaAnimationProps {
|
|
|
11
11
|
}
|
|
12
12
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
13
13
|
name: {
|
|
14
|
-
type: __PropType<
|
|
14
|
+
type: __PropType<"rocket" | "success-confetti" | "rounded-loading" | "fly-waiting" | "no-data-found" | "sad-not-found">;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
loop: {
|
|
@@ -40,7 +40,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
40
40
|
animation: any;
|
|
41
41
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onLoaded" | "onComplete" | "onError")[], "onLoaded" | "onComplete" | "onError", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
42
|
name: {
|
|
43
|
-
type: __PropType<
|
|
43
|
+
type: __PropType<"rocket" | "success-confetti" | "rounded-loading" | "fly-waiting" | "no-data-found" | "sad-not-found">;
|
|
44
44
|
required: true;
|
|
45
45
|
};
|
|
46
46
|
loop: {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const Animations:
|
|
1
|
+
export declare const Animations: readonly ["rocket", "success-confetti", "rounded-loading", "fly-waiting", "no-data-found", "sad-not-found"];
|
|
2
2
|
export type AnimationName = (typeof Animations)[number];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import { AppIconSize } from '../../components/app-icon/types';
|
|
2
|
+
import { AppIconPlatform, AppIconSize } from '../../components/app-icon/types';
|
|
3
3
|
export interface MaAppIconProps {
|
|
4
4
|
appIcon: string;
|
|
5
5
|
appName?: string;
|
|
6
6
|
appDescription?: string;
|
|
7
7
|
closable?: boolean;
|
|
8
|
-
platform?:
|
|
8
|
+
platform?: AppIconPlatform;
|
|
9
9
|
rounded?: boolean;
|
|
10
10
|
size?: AppIconSize;
|
|
11
11
|
}
|
|
@@ -28,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
28
|
default: boolean;
|
|
29
29
|
};
|
|
30
30
|
platform: {
|
|
31
|
-
type: __PropType<
|
|
31
|
+
type: __PropType<"play" | "ios">;
|
|
32
32
|
required: false;
|
|
33
33
|
};
|
|
34
34
|
rounded: {
|
|
@@ -37,7 +37,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
size: {
|
|
40
|
-
type: __PropType<
|
|
40
|
+
type: __PropType<"x-small" | "small" | "medium" | "large" | "x-large">;
|
|
41
41
|
required: false;
|
|
42
42
|
default: string;
|
|
43
43
|
};
|
|
@@ -60,7 +60,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
60
60
|
default: boolean;
|
|
61
61
|
};
|
|
62
62
|
platform: {
|
|
63
|
-
type: __PropType<
|
|
63
|
+
type: __PropType<"play" | "ios">;
|
|
64
64
|
required: false;
|
|
65
65
|
};
|
|
66
66
|
rounded: {
|
|
@@ -69,7 +69,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
69
69
|
default: boolean;
|
|
70
70
|
};
|
|
71
71
|
size: {
|
|
72
|
-
type: __PropType<
|
|
72
|
+
type: __PropType<"x-small" | "small" | "medium" | "large" | "x-large">;
|
|
73
73
|
required: false;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
@@ -77,7 +77,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
77
|
onClose?: (...args: any[]) => any;
|
|
78
78
|
}, {
|
|
79
79
|
closable: boolean;
|
|
80
|
-
size:
|
|
80
|
+
size: "x-small" | "small" | "medium" | "large" | "x-large";
|
|
81
81
|
rounded: boolean;
|
|
82
82
|
}>;
|
|
83
83
|
export default _sfc_main;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
export declare const AppIconSizes:
|
|
1
|
+
export declare const AppIconSizes: readonly ["x-small", "small", "medium", "large", "x-large"];
|
|
2
|
+
export declare const AppIconPlatforms: readonly ["play", "ios"];
|
|
2
3
|
export type AppIconSize = (typeof AppIconSizes)[number];
|
|
4
|
+
export type AppIconPlatform = (typeof AppIconPlatforms)[number];
|
|
@@ -9,17 +9,17 @@ export interface MaBadgeProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
11
11
|
type: {
|
|
12
|
-
type: __PropType<
|
|
12
|
+
type: __PropType<"icon" | "primary" | "secondary" | "line" | "dashed">;
|
|
13
13
|
required: false;
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
variant: {
|
|
17
|
-
type: __PropType<
|
|
17
|
+
type: __PropType<"dark" | "blue" | "green" | "orange" | "red" | "purple">;
|
|
18
18
|
required: false;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
size: {
|
|
22
|
-
type: __PropType<
|
|
22
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
23
23
|
required: false;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
@@ -34,17 +34,17 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
};
|
|
35
35
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
36
36
|
type: {
|
|
37
|
-
type: __PropType<
|
|
37
|
+
type: __PropType<"icon" | "primary" | "secondary" | "line" | "dashed">;
|
|
38
38
|
required: false;
|
|
39
39
|
default: string;
|
|
40
40
|
};
|
|
41
41
|
variant: {
|
|
42
|
-
type: __PropType<
|
|
42
|
+
type: __PropType<"dark" | "blue" | "green" | "orange" | "red" | "purple">;
|
|
43
43
|
required: false;
|
|
44
44
|
default: string;
|
|
45
45
|
};
|
|
46
46
|
size: {
|
|
47
|
-
type: __PropType<
|
|
47
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
48
48
|
required: false;
|
|
49
49
|
default: string;
|
|
50
50
|
};
|
|
@@ -58,9 +58,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
60
|
}>>, {
|
|
61
|
-
type:
|
|
62
|
-
variant:
|
|
63
|
-
size:
|
|
61
|
+
type: "icon" | "primary" | "secondary" | "line" | "dashed";
|
|
62
|
+
variant: "dark" | "blue" | "green" | "orange" | "red" | "purple";
|
|
63
|
+
size: "small" | "medium" | "large";
|
|
64
64
|
iconAlignment: string;
|
|
65
65
|
}>;
|
|
66
66
|
export default _sfc_main;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export declare const MaBadgePropVariants:
|
|
2
|
-
export declare const MaBadgePropTypes:
|
|
3
|
-
export declare const MaBadgePropSizes:
|
|
4
|
-
export declare const MaBadgePropIconAlignments:
|
|
1
|
+
export declare const MaBadgePropVariants: readonly ["dark", "blue", "green", "orange", "red", "purple"];
|
|
2
|
+
export declare const MaBadgePropTypes: readonly ["primary", "secondary", "line", "dashed", "icon"];
|
|
3
|
+
export declare const MaBadgePropSizes: readonly ["small", "medium", "large"];
|
|
4
|
+
export declare const MaBadgePropIconAlignments: readonly ["left", "right"];
|
|
5
5
|
export type MaBadgePropVariant = (typeof MaBadgePropVariants)[number];
|
|
6
6
|
export type MaBadgePropType = (typeof MaBadgePropTypes)[number];
|
|
7
7
|
export type MaBadgePropSize = (typeof MaBadgePropSizes)[number];
|
|
@@ -14,17 +14,17 @@ export interface MaButtonProps {
|
|
|
14
14
|
}
|
|
15
15
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
16
16
|
type: {
|
|
17
|
-
type: __PropType<
|
|
17
|
+
type: __PropType<"primary" | "secondary" | "link" | "grey-link" | "social">;
|
|
18
18
|
required: false;
|
|
19
19
|
default: string;
|
|
20
20
|
};
|
|
21
21
|
variant: {
|
|
22
|
-
type: __PropType<
|
|
22
|
+
type: __PropType<"success" | "warning" | "info" | "dark" | "plain" | "danger">;
|
|
23
23
|
required: false;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
26
26
|
size: {
|
|
27
|
-
type: __PropType<
|
|
27
|
+
type: __PropType<"small" | "large" | "x-large" | "middle" | "2x-large">;
|
|
28
28
|
required: false;
|
|
29
29
|
default: string;
|
|
30
30
|
};
|
|
@@ -33,7 +33,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
required: false;
|
|
34
34
|
};
|
|
35
35
|
target: {
|
|
36
|
-
type: __PropType<
|
|
36
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
37
37
|
required: false;
|
|
38
38
|
};
|
|
39
39
|
disabled: {
|
|
@@ -45,7 +45,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
45
45
|
required: false;
|
|
46
46
|
};
|
|
47
47
|
shape: {
|
|
48
|
-
type: __PropType<
|
|
48
|
+
type: __PropType<"default" | "round">;
|
|
49
49
|
required: false;
|
|
50
50
|
default: string;
|
|
51
51
|
};
|
|
@@ -54,22 +54,22 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
54
54
|
required: false;
|
|
55
55
|
};
|
|
56
56
|
IconAlignment: {
|
|
57
|
-
type: __PropType<
|
|
57
|
+
type: __PropType<"left" | "right">;
|
|
58
58
|
required: false;
|
|
59
59
|
};
|
|
60
60
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
61
|
type: {
|
|
62
|
-
type: __PropType<
|
|
62
|
+
type: __PropType<"primary" | "secondary" | "link" | "grey-link" | "social">;
|
|
63
63
|
required: false;
|
|
64
64
|
default: string;
|
|
65
65
|
};
|
|
66
66
|
variant: {
|
|
67
|
-
type: __PropType<
|
|
67
|
+
type: __PropType<"success" | "warning" | "info" | "dark" | "plain" | "danger">;
|
|
68
68
|
required: false;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
71
71
|
size: {
|
|
72
|
-
type: __PropType<
|
|
72
|
+
type: __PropType<"small" | "large" | "x-large" | "middle" | "2x-large">;
|
|
73
73
|
required: false;
|
|
74
74
|
default: string;
|
|
75
75
|
};
|
|
@@ -78,7 +78,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
78
78
|
required: false;
|
|
79
79
|
};
|
|
80
80
|
target: {
|
|
81
|
-
type: __PropType<
|
|
81
|
+
type: __PropType<"_blank" | "_self" | "_top" | "_parent">;
|
|
82
82
|
required: false;
|
|
83
83
|
};
|
|
84
84
|
disabled: {
|
|
@@ -90,7 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
90
90
|
required: false;
|
|
91
91
|
};
|
|
92
92
|
shape: {
|
|
93
|
-
type: __PropType<
|
|
93
|
+
type: __PropType<"default" | "round">;
|
|
94
94
|
required: false;
|
|
95
95
|
default: string;
|
|
96
96
|
};
|
|
@@ -99,13 +99,13 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
99
99
|
required: false;
|
|
100
100
|
};
|
|
101
101
|
IconAlignment: {
|
|
102
|
-
type: __PropType<
|
|
102
|
+
type: __PropType<"left" | "right">;
|
|
103
103
|
required: false;
|
|
104
104
|
};
|
|
105
105
|
}>>, {
|
|
106
|
-
type:
|
|
107
|
-
variant:
|
|
108
|
-
size:
|
|
109
|
-
shape:
|
|
106
|
+
type: "primary" | "secondary" | "link" | "grey-link" | "social";
|
|
107
|
+
variant: "success" | "warning" | "info" | "dark" | "plain" | "danger";
|
|
108
|
+
size: "small" | "large" | "x-large" | "middle" | "2x-large";
|
|
109
|
+
shape: "default" | "round";
|
|
110
110
|
}>;
|
|
111
111
|
export default _sfc_main;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export declare const ButtonTypes:
|
|
2
|
-
export declare const ButtonVariants:
|
|
3
|
-
export declare const ButtonSizes:
|
|
4
|
-
export declare const ButtonShapes:
|
|
5
|
-
export declare const ButtonTargets:
|
|
6
|
-
export declare const ButtonIconAlignMents:
|
|
1
|
+
export declare const ButtonTypes: readonly ["primary", "secondary", "link", "grey-link", "social"];
|
|
2
|
+
export declare const ButtonVariants: readonly ["dark", "plain", "info", "success", "warning", "danger"];
|
|
3
|
+
export declare const ButtonSizes: readonly ["small", "middle", "large", "x-large", "2x-large"];
|
|
4
|
+
export declare const ButtonShapes: readonly ["default", "round"];
|
|
5
|
+
export declare const ButtonTargets: readonly ["_blank", "_self", "_top", "_parent"];
|
|
6
|
+
export declare const ButtonIconAlignMents: readonly ["left", "right"];
|
|
7
7
|
export type ButtonTarget = (typeof ButtonTargets)[number];
|
|
8
8
|
export type ButtonVariant = (typeof ButtonVariants)[number];
|
|
9
9
|
export type ButtonType = (typeof ButtonTypes)[number];
|
|
@@ -11,7 +11,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
11
11
|
required: true;
|
|
12
12
|
};
|
|
13
13
|
size: {
|
|
14
|
-
type: __PropType<
|
|
14
|
+
type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
15
15
|
required: false;
|
|
16
16
|
default: string;
|
|
17
17
|
};
|
|
@@ -25,7 +25,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
25
25
|
required: true;
|
|
26
26
|
};
|
|
27
27
|
size: {
|
|
28
|
-
type: __PropType<
|
|
28
|
+
type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
29
29
|
required: false;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
@@ -34,6 +34,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
34
34
|
required: false;
|
|
35
35
|
};
|
|
36
36
|
}>>, {
|
|
37
|
-
size:
|
|
37
|
+
size: "xs" | "sm" | "md" | "lg" | "xl";
|
|
38
38
|
}>;
|
|
39
39
|
export default _sfc_main;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export declare const MaIconSizes:
|
|
2
|
-
export type IconSize =
|
|
3
|
-
export
|
|
4
|
-
[
|
|
1
|
+
export declare const MaIconSizes: readonly ["xs", "sm", "md", "lg", "xl"];
|
|
2
|
+
export type IconSize = typeof MaIconSizes[number];
|
|
3
|
+
export type IconSizeClassNames = {
|
|
4
|
+
[K in IconSize]: string;
|
|
5
5
|
};
|
|
6
|
+
export declare const MaIconSizeClassNames: IconSizeClassNames;
|
|
@@ -27,12 +27,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
27
27
|
type: {
|
|
28
28
|
type: __PropType<MaInputType>;
|
|
29
29
|
required: false;
|
|
30
|
-
default:
|
|
30
|
+
default: "text";
|
|
31
31
|
};
|
|
32
32
|
size: {
|
|
33
33
|
type: __PropType<MaInputSize>;
|
|
34
34
|
required: false;
|
|
35
|
-
default:
|
|
35
|
+
default: "small";
|
|
36
36
|
};
|
|
37
37
|
title: {
|
|
38
38
|
type: __PropType<string>;
|
|
@@ -98,12 +98,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
98
98
|
type: {
|
|
99
99
|
type: __PropType<MaInputType>;
|
|
100
100
|
required: false;
|
|
101
|
-
default:
|
|
101
|
+
default: "text";
|
|
102
102
|
};
|
|
103
103
|
size: {
|
|
104
104
|
type: __PropType<MaInputSize>;
|
|
105
105
|
required: false;
|
|
106
|
-
default:
|
|
106
|
+
default: "small";
|
|
107
107
|
};
|
|
108
108
|
title: {
|
|
109
109
|
type: __PropType<string>;
|
|
@@ -1,26 +1,34 @@
|
|
|
1
1
|
import type { SelectProps } from 'ant-design-vue';
|
|
2
|
-
export declare
|
|
3
|
-
text
|
|
4
|
-
password
|
|
5
|
-
textarea
|
|
6
|
-
number
|
|
7
|
-
email
|
|
8
|
-
url
|
|
9
|
-
tel
|
|
10
|
-
amount
|
|
11
|
-
creditCard
|
|
12
|
-
userInfo
|
|
13
|
-
}
|
|
14
|
-
export
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
2
|
+
export declare const MaInputType: {
|
|
3
|
+
readonly text: "text";
|
|
4
|
+
readonly password: "password";
|
|
5
|
+
readonly textarea: "textarea";
|
|
6
|
+
readonly number: "number";
|
|
7
|
+
readonly email: "email";
|
|
8
|
+
readonly url: "url";
|
|
9
|
+
readonly tel: "tel";
|
|
10
|
+
readonly amount: "amount";
|
|
11
|
+
readonly creditCard: "creditCard";
|
|
12
|
+
readonly userInfo: "userInfo";
|
|
13
|
+
};
|
|
14
|
+
export type MaInputType = typeof MaInputType[keyof typeof MaInputType];
|
|
15
|
+
export declare const MaInputSize: {
|
|
16
|
+
readonly small: "small";
|
|
17
|
+
readonly medium: "medium";
|
|
18
|
+
readonly large: "large";
|
|
19
|
+
};
|
|
20
|
+
export type MaInputSize = typeof MaInputSize[keyof typeof MaInputSize];
|
|
21
|
+
export declare const MaInputCurrency: {
|
|
22
|
+
readonly usd: "USD";
|
|
23
|
+
readonly eur: "EUR";
|
|
24
|
+
readonly gbp: "GBP";
|
|
25
|
+
readonly jpy: "JPY";
|
|
26
|
+
};
|
|
27
|
+
export type MaInputCurrency = typeof MaInputCurrency[keyof typeof MaInputCurrency];
|
|
28
|
+
export declare const currencySymbols: {
|
|
29
|
+
readonly USD: "$";
|
|
30
|
+
readonly EUR: "€";
|
|
31
|
+
readonly GBP: "£";
|
|
32
|
+
readonly JPY: "¥";
|
|
33
|
+
};
|
|
26
34
|
export declare const currencyOptions: SelectProps['options'];
|
|
@@ -24,7 +24,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
24
24
|
default: boolean;
|
|
25
25
|
};
|
|
26
26
|
type: {
|
|
27
|
-
type: __PropType<
|
|
27
|
+
type: __PropType<"error" | "success" | "warning" | "info" | "confirm">;
|
|
28
28
|
required: false;
|
|
29
29
|
};
|
|
30
30
|
title: {
|
|
@@ -82,7 +82,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
82
82
|
default: boolean;
|
|
83
83
|
};
|
|
84
84
|
type: {
|
|
85
|
-
type: __PropType<
|
|
85
|
+
type: __PropType<"error" | "success" | "warning" | "info" | "confirm">;
|
|
86
86
|
required: false;
|
|
87
87
|
};
|
|
88
88
|
title: {
|
|
@@ -33,7 +33,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
33
33
|
default: boolean;
|
|
34
34
|
};
|
|
35
35
|
size: {
|
|
36
|
-
type: __PropType<
|
|
36
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
37
37
|
required: false;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
@@ -62,7 +62,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
62
62
|
default: boolean;
|
|
63
63
|
};
|
|
64
64
|
size: {
|
|
65
|
-
type: __PropType<
|
|
65
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
66
66
|
required: false;
|
|
67
67
|
default: string;
|
|
68
68
|
};
|
|
@@ -71,7 +71,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
71
71
|
}, {
|
|
72
72
|
value: string;
|
|
73
73
|
length: number;
|
|
74
|
-
size:
|
|
74
|
+
size: "small" | "medium" | "large";
|
|
75
75
|
placeholderStatus: boolean;
|
|
76
76
|
}>;
|
|
77
77
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const NumericInputSizes:
|
|
1
|
+
export declare const NumericInputSizes: readonly ["small", "medium", "large"];
|
|
2
2
|
export type NumericInputSize = (typeof NumericInputSizes)[number];
|
|
@@ -8,7 +8,7 @@ export interface MaRadioProps extends RadioProps {
|
|
|
8
8
|
}
|
|
9
9
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
10
10
|
type: {
|
|
11
|
-
type: __PropType<
|
|
11
|
+
type: __PropType<"button" | "check">;
|
|
12
12
|
required: false;
|
|
13
13
|
default: string;
|
|
14
14
|
};
|
|
@@ -22,7 +22,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
22
22
|
};
|
|
23
23
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
24
24
|
type: {
|
|
25
|
-
type: __PropType<
|
|
25
|
+
type: __PropType<"button" | "check">;
|
|
26
26
|
required: false;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
@@ -35,6 +35,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
35
35
|
required: false;
|
|
36
36
|
};
|
|
37
37
|
}>>, {
|
|
38
|
-
type:
|
|
38
|
+
type: "button" | "check";
|
|
39
39
|
}>;
|
|
40
40
|
export default _sfc_main;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const MaRadioTypes:
|
|
1
|
+
export declare const MaRadioTypes: readonly ["button", "check"];
|
|
2
2
|
export type MaRadioType = (typeof MaRadioTypes)[number];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { IconSize } from '../../../components/icon/types';
|
|
3
3
|
export interface MaRateStarProps {
|
|
4
4
|
value: number;
|
|
5
5
|
starRate: number;
|
|
6
|
-
iconSize:
|
|
6
|
+
iconSize: IconSize;
|
|
7
7
|
}
|
|
8
8
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
9
9
|
value: {
|
|
@@ -15,7 +15,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
17
|
iconSize: {
|
|
18
|
-
type: __PropType<
|
|
18
|
+
type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
19
19
|
required: true;
|
|
20
20
|
};
|
|
21
21
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -28,7 +28,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
28
28
|
required: true;
|
|
29
29
|
};
|
|
30
30
|
iconSize: {
|
|
31
|
-
type: __PropType<
|
|
31
|
+
type: __PropType<"xs" | "sm" | "md" | "lg" | "xl">;
|
|
32
32
|
required: true;
|
|
33
33
|
};
|
|
34
34
|
}>>, {}>;
|
|
@@ -27,12 +27,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
27
27
|
required: false;
|
|
28
28
|
};
|
|
29
29
|
size: {
|
|
30
|
-
type: __PropType<
|
|
30
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
31
31
|
required: false;
|
|
32
32
|
default: string;
|
|
33
33
|
};
|
|
34
34
|
color: {
|
|
35
|
-
type: __PropType<
|
|
35
|
+
type: __PropType<"green" | "orange" | "red">;
|
|
36
36
|
required: false;
|
|
37
37
|
default: string;
|
|
38
38
|
};
|
|
@@ -59,12 +59,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
59
59
|
required: false;
|
|
60
60
|
};
|
|
61
61
|
size: {
|
|
62
|
-
type: __PropType<
|
|
62
|
+
type: __PropType<"small" | "medium" | "large">;
|
|
63
63
|
required: false;
|
|
64
64
|
default: string;
|
|
65
65
|
};
|
|
66
66
|
color: {
|
|
67
|
-
type: __PropType<
|
|
67
|
+
type: __PropType<"green" | "orange" | "red">;
|
|
68
68
|
required: false;
|
|
69
69
|
default: string;
|
|
70
70
|
};
|
|
@@ -77,8 +77,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
77
|
onChange?: (...args: any[]) => any;
|
|
78
78
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
79
79
|
}, {
|
|
80
|
-
size:
|
|
81
|
-
color:
|
|
80
|
+
size: "small" | "medium" | "large";
|
|
81
|
+
color: "green" | "orange" | "red";
|
|
82
82
|
tabIndex: number;
|
|
83
83
|
}>;
|
|
84
84
|
export default _sfc_main;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const MaRateSizes:
|
|
2
|
-
export declare const MaRateColors:
|
|
1
|
+
export declare const MaRateSizes: readonly ["small", "medium", "large"];
|
|
2
|
+
export declare const MaRateColors: readonly ["orange", "green", "red"];
|
|
3
3
|
export type MaRateSize = (typeof MaRateSizes)[number];
|
|
4
4
|
export type MaRateColor = (typeof MaRateColors)[number];
|