@mobileaction/action-kit 1.1.21 → 1.1.23

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 (108) hide show
  1. package/dist/action-kit.js +3 -3
  2. package/dist/action-kit.mjs +970 -618
  3. package/dist/add-app-c6cfc484.mjs +16 -0
  4. package/dist/add-app-ca2d1245.js +1 -0
  5. package/dist/box-empty-2e81a600.js +1 -0
  6. package/dist/box-empty-c7e5e478.mjs +39 -0
  7. package/dist/components/alert/index.vue.d.ts +6 -6
  8. package/dist/components/alert/types.d.ts +2 -2
  9. package/dist/components/animation/index.vue.d.ts +2 -2
  10. package/dist/components/animation/types.d.ts +1 -1
  11. package/dist/components/app-icon/index.vue.d.ts +7 -7
  12. package/dist/components/app-icon/types.d.ts +3 -1
  13. package/dist/components/badge/index.vue.d.ts +9 -9
  14. package/dist/components/badge/types.d.ts +4 -4
  15. package/dist/components/button/index.vue.d.ts +19 -19
  16. package/dist/components/button/types.d.ts +6 -6
  17. package/dist/components/dropdown/index.vue.d.ts +81 -0
  18. package/dist/components/dropdown/types.d.ts +4 -0
  19. package/dist/components/empty/index.vue.d.ts +51 -0
  20. package/dist/components/empty/types.d.ts +7 -0
  21. package/dist/components/form/types.d.ts +2 -0
  22. package/dist/components/icon/index.vue.d.ts +3 -3
  23. package/dist/components/icon/types.d.ts +5 -4
  24. package/dist/components/input/index.vue.d.ts +4 -4
  25. package/dist/components/input/types.d.ts +32 -24
  26. package/dist/components/modal/index.vue.d.ts +3 -3
  27. package/dist/components/modal/types.d.ts +1 -1
  28. package/dist/components/numeric-input/index.vue.d.ts +3 -3
  29. package/dist/components/numeric-input/types.d.ts +1 -1
  30. package/dist/components/radio/index.vue.d.ts +3 -3
  31. package/dist/components/radio/types.d.ts +1 -1
  32. package/dist/components/rate/components/star.vue.d.ts +4 -4
  33. package/dist/components/rate/index.vue.d.ts +6 -6
  34. package/dist/components/rate/types.d.ts +2 -2
  35. package/dist/components/select/index.vue.d.ts +5 -5
  36. package/dist/components/select/types.d.ts +2 -2
  37. package/dist/components/spin/index.vue.d.ts +45 -0
  38. package/dist/components/spin/types.d.ts +4 -0
  39. package/dist/components/switch/index.vue.d.ts +3 -3
  40. package/dist/components/switch/types.d.ts +1 -1
  41. package/dist/components/toggle/index.vue.d.ts +3 -3
  42. package/dist/components/toggle/types.d.ts +1 -1
  43. package/dist/components/tooltip/index.vue.d.ts +7 -7
  44. package/dist/components/tooltip/types.d.ts +3 -3
  45. package/dist/components/track-button/index.vue.d.ts +6 -6
  46. package/dist/components/track-button/types.d.ts +2 -2
  47. package/dist/empty-table-41155dd6.mjs +16 -0
  48. package/dist/empty-table-855edce8.js +1 -0
  49. package/dist/index.d.ts +23 -0
  50. package/dist/selection-08a9c952.mjs +16 -0
  51. package/dist/selection-f5ae8ebf.js +1 -0
  52. package/dist/spin-dots-25d015b7.mjs +16 -0
  53. package/dist/spin-dots-388f853c.js +1 -0
  54. package/dist/spin-round-23788f05.js +1 -0
  55. package/dist/spin-round-9db617b7.mjs +26 -0
  56. package/dist/spin-three-circles-00b10e29.js +1 -0
  57. package/dist/spin-three-circles-13ae8650.mjs +33 -0
  58. package/dist/spin-three-dots-7cdf047c.js +1 -0
  59. package/dist/spin-three-dots-c116245e.mjs +36 -0
  60. package/dist/src/components/alert/index.vue.d.ts +2 -2
  61. package/dist/src/components/alert/types.d.ts +2 -2
  62. package/dist/src/components/animation/types.d.ts +1 -1
  63. package/dist/src/components/app-icon/index.vue.d.ts +3 -3
  64. package/dist/src/components/app-icon/types.d.ts +3 -1
  65. package/dist/src/components/badge/index.vue.d.ts +3 -3
  66. package/dist/src/components/badge/types.d.ts +4 -4
  67. package/dist/src/components/button/index.vue.d.ts +5 -5
  68. package/dist/src/components/button/types.d.ts +6 -6
  69. package/dist/src/components/dropdown/index.vue.d.ts +54 -0
  70. package/dist/src/components/dropdown/stories/constants.d.ts +4 -0
  71. package/dist/src/components/dropdown/stories/default.stories.d.ts +6 -0
  72. package/dist/src/components/dropdown/types.d.ts +4 -0
  73. package/dist/src/components/empty/index.vue.d.ts +39 -0
  74. package/dist/src/components/empty/stories/constants.d.ts +4 -0
  75. package/dist/src/components/empty/stories/default.stories.d.ts +6 -0
  76. package/dist/src/components/empty/types.d.ts +7 -0
  77. package/dist/src/components/form/types.d.ts +1 -1
  78. package/dist/src/components/icon/index.vue.d.ts +1 -1
  79. package/dist/src/components/icon/types.d.ts +5 -4
  80. package/dist/src/components/input/index.vue.d.ts +4 -4
  81. package/dist/src/components/input/types.d.ts +32 -24
  82. package/dist/src/components/modal/index.vue.d.ts +1 -1
  83. package/dist/src/components/modal/types.d.ts +1 -1
  84. package/dist/src/components/numeric-input/index.vue.d.ts +1 -1
  85. package/dist/src/components/numeric-input/types.d.ts +1 -1
  86. package/dist/src/components/radio/index.vue.d.ts +1 -1
  87. package/dist/src/components/radio/types.d.ts +1 -1
  88. package/dist/src/components/rate/components/star.vue.d.ts +2 -2
  89. package/dist/src/components/rate/index.vue.d.ts +2 -2
  90. package/dist/src/components/rate/types.d.ts +2 -2
  91. package/dist/src/components/select/index.vue.d.ts +1 -1
  92. package/dist/src/components/select/types.d.ts +2 -2
  93. package/dist/src/components/spin/index.vue.d.ts +41 -0
  94. package/dist/src/components/spin/stories/constants.d.ts +5 -0
  95. package/dist/src/components/spin/stories/container.stories.d.ts +6 -0
  96. package/dist/src/components/spin/stories/default.stories.d.ts +6 -0
  97. package/dist/src/components/spin/types.d.ts +4 -0
  98. package/dist/src/components/switch/index.vue.d.ts +1 -1
  99. package/dist/src/components/switch/types.d.ts +1 -1
  100. package/dist/src/components/toggle/index.vue.d.ts +1 -1
  101. package/dist/src/components/toggle/types.d.ts +1 -1
  102. package/dist/src/components/tooltip/index.vue.d.ts +3 -3
  103. package/dist/src/components/tooltip/types.d.ts +3 -3
  104. package/dist/src/components/track-button/index.vue.d.ts +2 -2
  105. package/dist/src/components/track-button/types.d.ts +2 -2
  106. package/dist/src/index.d.ts +23 -0
  107. package/dist/style.css +1 -1
  108. package/package.json +1 -1
@@ -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];
@@ -10,21 +10,21 @@ export interface MaButtonProps {
10
10
  loading?: boolean;
11
11
  shape?: ButtonShape;
12
12
  icon?: string;
13
- IconAlignment?: IconAlignment;
13
+ iconAlignment?: IconAlignment;
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
  };
@@ -53,23 +53,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
53
53
  type: __PropType<string>;
54
54
  required: false;
55
55
  };
56
- IconAlignment: {
57
- type: __PropType<string>;
56
+ iconAlignment: {
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
  };
@@ -98,14 +98,14 @@ declare const _sfc_main: import("vue").DefineComponent<{
98
98
  type: __PropType<string>;
99
99
  required: false;
100
100
  };
101
- IconAlignment: {
102
- type: __PropType<string>;
101
+ iconAlignment: {
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,81 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaDropdownPlacement, MaDropdownTrigger } from "./types";
3
+ export interface MaDropdownProps {
4
+ destroyPopupOnHide?: boolean;
5
+ disabled?: boolean;
6
+ placement?: MaDropdownPlacement;
7
+ trigger?: MaDropdownTrigger[];
8
+ visible?: boolean;
9
+ overlayClassName?: string;
10
+ }
11
+ declare const _sfc_main: import("vue").DefineComponent<{
12
+ destroyPopupOnHide: {
13
+ type: __PropType<boolean>;
14
+ required: false;
15
+ default: boolean;
16
+ };
17
+ disabled: {
18
+ type: __PropType<boolean>;
19
+ required: false;
20
+ default: boolean;
21
+ };
22
+ placement: {
23
+ type: __PropType<"bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight">;
24
+ required: false;
25
+ default: string;
26
+ };
27
+ trigger: {
28
+ type: __PropType<("click" | "hover" | "contextmenu")[]>;
29
+ required: false;
30
+ default: () => string[];
31
+ };
32
+ visible: {
33
+ type: __PropType<boolean>;
34
+ required: false;
35
+ default: boolean;
36
+ };
37
+ overlayClassName: {
38
+ type: __PropType<string>;
39
+ required: false;
40
+ };
41
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:visible" | "visibleChange")[], "update:visible" | "visibleChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
42
+ destroyPopupOnHide: {
43
+ type: __PropType<boolean>;
44
+ required: false;
45
+ default: boolean;
46
+ };
47
+ disabled: {
48
+ type: __PropType<boolean>;
49
+ required: false;
50
+ default: boolean;
51
+ };
52
+ placement: {
53
+ type: __PropType<"bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight">;
54
+ required: false;
55
+ default: string;
56
+ };
57
+ trigger: {
58
+ type: __PropType<("click" | "hover" | "contextmenu")[]>;
59
+ required: false;
60
+ default: () => string[];
61
+ };
62
+ visible: {
63
+ type: __PropType<boolean>;
64
+ required: false;
65
+ default: boolean;
66
+ };
67
+ overlayClassName: {
68
+ type: __PropType<string>;
69
+ required: false;
70
+ };
71
+ }>> & {
72
+ "onUpdate:visible"?: (...args: any[]) => any;
73
+ onVisibleChange?: (...args: any[]) => any;
74
+ }, {
75
+ disabled: boolean;
76
+ destroyPopupOnHide: boolean;
77
+ placement: "bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight";
78
+ trigger: ("click" | "hover" | "contextmenu")[];
79
+ visible: boolean;
80
+ }>;
81
+ export default _sfc_main;
@@ -0,0 +1,4 @@
1
+ export declare const MaDropdownPlacements: readonly ["bottomLeft", "bottom", "bottomRight", "topLeft", "top", "topRight"];
2
+ export declare const MaDropdownTriggers: readonly ["click", "hover", "contextmenu"];
3
+ export type MaDropdownPlacement = (typeof MaDropdownPlacements)[number];
4
+ export type MaDropdownTrigger = (typeof MaDropdownTriggers)[number];
@@ -0,0 +1,51 @@
1
+ import type { PropType as __PropType } from 'vue';
2
+ import { MaEmptySize, MaEmptyVariant } from './types';
3
+ export interface MaRateProps {
4
+ size?: MaEmptySize;
5
+ variant?: MaEmptyVariant;
6
+ title?: string;
7
+ description?: string;
8
+ }
9
+ declare const _sfc_main: import("vue").DefineComponent<{
10
+ size: {
11
+ type: __PropType<"small" | "medium" | "large">;
12
+ required: false;
13
+ default: string;
14
+ };
15
+ variant: {
16
+ type: __PropType<"general" | "add-app" | "table" | "selection">;
17
+ required: false;
18
+ default: string;
19
+ };
20
+ title: {
21
+ type: __PropType<string>;
22
+ required: false;
23
+ };
24
+ description: {
25
+ type: __PropType<string>;
26
+ required: false;
27
+ };
28
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ size: {
30
+ type: __PropType<"small" | "medium" | "large">;
31
+ required: false;
32
+ default: string;
33
+ };
34
+ variant: {
35
+ type: __PropType<"general" | "add-app" | "table" | "selection">;
36
+ required: false;
37
+ default: string;
38
+ };
39
+ title: {
40
+ type: __PropType<string>;
41
+ required: false;
42
+ };
43
+ description: {
44
+ type: __PropType<string>;
45
+ required: false;
46
+ };
47
+ }>>, {
48
+ variant: "general" | "add-app" | "table" | "selection";
49
+ size: "small" | "medium" | "large";
50
+ }>;
51
+ export default _sfc_main;
@@ -0,0 +1,7 @@
1
+ export declare const MaEmptySizes: readonly ["small", "medium", "large"];
2
+ export declare const MaEmptyVariants: readonly ["general", "add-app", "table", "selection"];
3
+ export declare const MaEmptyIcons: {
4
+ [K in MaEmptyVariant]: string;
5
+ };
6
+ export type MaEmptySize = (typeof MaEmptySizes)[number];
7
+ export type MaEmptyVariant = (typeof MaEmptyVariants)[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: {
@@ -134,9 +134,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
134
134
  default: number;
135
135
  };
136
136
  }>> & {
137
+ "onUpdate:visible"?: (...args: any[]) => any;
137
138
  onOk?: (...args: any[]) => any;
138
139
  onCancel?: (...args: any[]) => any;
139
- "onUpdate:visible"?: (...args: any[]) => any;
140
140
  }, {
141
141
  closable: boolean;
142
142
  width: number;
@@ -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];