@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.
Files changed (71) hide show
  1. package/dist/action-kit.js +3 -3
  2. package/dist/action-kit.mjs +679 -481
  3. package/dist/components/alert/index.vue.d.ts +6 -6
  4. package/dist/components/alert/types.d.ts +2 -2
  5. package/dist/components/animation/index.vue.d.ts +2 -2
  6. package/dist/components/animation/types.d.ts +1 -1
  7. package/dist/components/app-icon/index.vue.d.ts +7 -7
  8. package/dist/components/app-icon/types.d.ts +3 -1
  9. package/dist/components/badge/index.vue.d.ts +9 -9
  10. package/dist/components/badge/types.d.ts +4 -4
  11. package/dist/components/button/index.vue.d.ts +16 -16
  12. package/dist/components/button/types.d.ts +6 -6
  13. package/dist/components/form/types.d.ts +2 -0
  14. package/dist/components/icon/index.vue.d.ts +3 -3
  15. package/dist/components/icon/types.d.ts +5 -4
  16. package/dist/components/input/index.vue.d.ts +4 -4
  17. package/dist/components/input/types.d.ts +32 -24
  18. package/dist/components/modal/index.vue.d.ts +2 -2
  19. package/dist/components/modal/types.d.ts +1 -1
  20. package/dist/components/numeric-input/index.vue.d.ts +3 -3
  21. package/dist/components/numeric-input/types.d.ts +1 -1
  22. package/dist/components/radio/index.vue.d.ts +3 -3
  23. package/dist/components/radio/types.d.ts +1 -1
  24. package/dist/components/rate/components/star.vue.d.ts +4 -4
  25. package/dist/components/rate/index.vue.d.ts +6 -6
  26. package/dist/components/rate/types.d.ts +2 -2
  27. package/dist/components/select/index.vue.d.ts +5 -5
  28. package/dist/components/select/types.d.ts +2 -2
  29. package/dist/components/switch/index.vue.d.ts +3 -3
  30. package/dist/components/switch/types.d.ts +1 -1
  31. package/dist/components/toggle/index.vue.d.ts +3 -3
  32. package/dist/components/toggle/types.d.ts +1 -1
  33. package/dist/components/tooltip/index.vue.d.ts +7 -7
  34. package/dist/components/tooltip/types.d.ts +3 -3
  35. package/dist/components/track-button/index.vue.d.ts +6 -6
  36. package/dist/components/track-button/types.d.ts +2 -2
  37. package/dist/index.d.ts +17 -0
  38. package/dist/src/components/alert/index.vue.d.ts +2 -2
  39. package/dist/src/components/alert/types.d.ts +2 -2
  40. package/dist/src/components/animation/types.d.ts +1 -1
  41. package/dist/src/components/app-icon/index.vue.d.ts +3 -3
  42. package/dist/src/components/app-icon/types.d.ts +3 -1
  43. package/dist/src/components/badge/index.vue.d.ts +3 -3
  44. package/dist/src/components/badge/types.d.ts +4 -4
  45. package/dist/src/components/button/index.vue.d.ts +4 -4
  46. package/dist/src/components/button/types.d.ts +6 -6
  47. package/dist/src/components/form/types.d.ts +1 -1
  48. package/dist/src/components/icon/index.vue.d.ts +1 -1
  49. package/dist/src/components/icon/types.d.ts +5 -4
  50. package/dist/src/components/input/index.vue.d.ts +4 -4
  51. package/dist/src/components/input/types.d.ts +32 -24
  52. package/dist/src/components/modal/types.d.ts +1 -1
  53. package/dist/src/components/numeric-input/index.vue.d.ts +1 -1
  54. package/dist/src/components/numeric-input/types.d.ts +1 -1
  55. package/dist/src/components/radio/index.vue.d.ts +1 -1
  56. package/dist/src/components/radio/types.d.ts +1 -1
  57. package/dist/src/components/rate/components/star.vue.d.ts +2 -2
  58. package/dist/src/components/rate/index.vue.d.ts +2 -2
  59. package/dist/src/components/rate/types.d.ts +2 -2
  60. package/dist/src/components/select/index.vue.d.ts +1 -1
  61. package/dist/src/components/select/types.d.ts +2 -2
  62. package/dist/src/components/switch/index.vue.d.ts +1 -1
  63. package/dist/src/components/switch/types.d.ts +1 -1
  64. package/dist/src/components/toggle/index.vue.d.ts +1 -1
  65. package/dist/src/components/toggle/types.d.ts +1 -1
  66. package/dist/src/components/tooltip/index.vue.d.ts +3 -3
  67. package/dist/src/components/tooltip/types.d.ts +3 -3
  68. package/dist/src/components/track-button/index.vue.d.ts +2 -2
  69. package/dist/src/components/track-button/types.d.ts +2 -2
  70. package/dist/src/index.d.ts +17 -0
  71. 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<string>;
14
+ type: __PropType<"dark" | "blue" | "green" | "orange" | "red">;
15
15
  required: false;
16
16
  default: string;
17
17
  };
18
18
  type: {
19
- type: __PropType<string>;
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<string>;
41
+ type: __PropType<"dark" | "blue" | "green" | "orange" | "red">;
42
42
  required: false;
43
43
  default: string;
44
44
  };
45
45
  type: {
46
- type: __PropType<string>;
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: string;
68
- variant: string;
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: string[];
2
- export declare const MaAlertPropTypes: string[];
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<string>;
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<string>;
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: string[];
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?: string;
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<string>;
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<string>;
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<string>;
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<string>;
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: string;
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: string[];
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<string>;
12
+ type: __PropType<"icon" | "primary" | "secondary" | "line" | "dashed">;
13
13
  required: false;
14
14
  default: string;
15
15
  };
16
16
  variant: {
17
- type: __PropType<string>;
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<string>;
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<string>;
37
+ type: __PropType<"icon" | "primary" | "secondary" | "line" | "dashed">;
38
38
  required: false;
39
39
  default: string;
40
40
  };
41
41
  variant: {
42
- type: __PropType<string>;
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<string>;
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: string;
62
- variant: string;
63
- size: string;
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: string[];
2
- export declare const MaBadgePropTypes: string[];
3
- export declare const MaBadgePropSizes: string[];
4
- export declare const MaBadgePropIconAlignments: string[];
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
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<string>;
102
+ type: __PropType<"left" | "right">;
103
103
  required: false;
104
104
  };
105
105
  }>>, {
106
- type: string;
107
- variant: string;
108
- size: string;
109
- shape: string;
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: string[];
2
- export declare const ButtonVariants: string[];
3
- export declare const ButtonSizes: string[];
4
- export declare const ButtonShapes: string[];
5
- export declare const ButtonTargets: string[];
6
- export declare const ButtonIconAlignMents: string[];
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];
@@ -0,0 +1,2 @@
1
+ export declare const MaFormLayouts: readonly ["horizontal", "vertical", "inline"];
2
+ export type MaFormLayout = (typeof MaFormLayouts)[number];
@@ -11,7 +11,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
11
11
  required: true;
12
12
  };
13
13
  size: {
14
- type: __PropType<string>;
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<string>;
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: string;
37
+ size: "xs" | "sm" | "md" | "lg" | "xl";
38
38
  }>;
39
39
  export default _sfc_main;
@@ -1,5 +1,6 @@
1
- export declare const MaIconSizes: string[];
2
- export type IconSize = (typeof MaIconSizes)[number];
3
- export declare const MaIconSizeClassNames: {
4
- [key: IconSize]: string;
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: MaInputType;
30
+ default: "text";
31
31
  };
32
32
  size: {
33
33
  type: __PropType<MaInputSize>;
34
34
  required: false;
35
- default: MaInputSize;
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: MaInputType;
101
+ default: "text";
102
102
  };
103
103
  size: {
104
104
  type: __PropType<MaInputSize>;
105
105
  required: false;
106
- default: MaInputSize;
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 enum MaInputType {
3
- text = "text",
4
- password = "password",
5
- textarea = "textarea",
6
- number = "number",
7
- email = "email",
8
- url = "url",
9
- tel = "tel",
10
- amount = "amount",
11
- creditCard = "creditCard",
12
- userInfo = "userInfo"
13
- }
14
- export declare enum MaInputSize {
15
- small = "small",
16
- medium = "medium",
17
- large = "large"
18
- }
19
- export declare enum MaInputCurrency {
20
- usd = "USD",
21
- eur = "EUR",
22
- gbp = "GBP",
23
- jpy = "JPY"
24
- }
25
- export declare const currencySymbols: any;
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<string>;
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<string>;
85
+ type: __PropType<"error" | "success" | "warning" | "info" | "confirm">;
86
86
  required: false;
87
87
  };
88
88
  title: {
@@ -1,4 +1,4 @@
1
- export declare const MaModalTypes: string[];
1
+ export declare const MaModalTypes: readonly ["info", "success", "confirm", "warning", "error"];
2
2
  export declare const MaModalTypeIcon: {
3
3
  [K in MaModalPropType]: string;
4
4
  };
@@ -33,7 +33,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
33
33
  default: boolean;
34
34
  };
35
35
  size: {
36
- type: __PropType<string>;
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<string>;
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: string;
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: string[];
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<string>;
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<string>;
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: string;
38
+ type: "button" | "check";
39
39
  }>;
40
40
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- export declare const MaRadioTypes: string[];
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 { MaRateSize } from "../types";
2
+ import { IconSize } from '../../../components/icon/types';
3
3
  export interface MaRateStarProps {
4
4
  value: number;
5
5
  starRate: number;
6
- iconSize: MaRateSize;
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<string>;
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<string>;
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<string>;
30
+ type: __PropType<"small" | "medium" | "large">;
31
31
  required: false;
32
32
  default: string;
33
33
  };
34
34
  color: {
35
- type: __PropType<string>;
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<string>;
62
+ type: __PropType<"small" | "medium" | "large">;
63
63
  required: false;
64
64
  default: string;
65
65
  };
66
66
  color: {
67
- type: __PropType<string>;
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: string;
81
- color: string;
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: string[];
2
- export declare const MaRateColors: string[];
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];