@mobileaction/action-kit 1.1.19 → 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 (72) hide show
  1. package/dist/action-kit.js +3 -3
  2. package/dist/action-kit.mjs +826 -616
  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 +14 -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 +7 -2
  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/dist/style.css +1 -1
  72. package/package.json +1 -1
@@ -21,6 +21,7 @@ export interface MaSelectProps {
21
21
  showSearch?: boolean;
22
22
  size?: SelectSize;
23
23
  suffixIcon?: string;
24
+ showArrow?: boolean;
24
25
  prefixIcon?: string;
25
26
  open?: boolean;
26
27
  value?: string | number | string[] | number[];
@@ -66,7 +67,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
66
67
  default: string;
67
68
  };
68
69
  mode: {
69
- type: __PropType<string>;
70
+ type: __PropType<"multiple" | "tags">;
70
71
  required: false;
71
72
  };
72
73
  optionFilterProp: {
@@ -98,7 +99,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
98
99
  required: false;
99
100
  };
100
101
  size: {
101
- type: __PropType<string>;
102
+ type: __PropType<"default" | "small" | "large">;
102
103
  required: false;
103
104
  default: string;
104
105
  };
@@ -106,6 +107,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
106
107
  type: __PropType<string>;
107
108
  required: false;
108
109
  };
110
+ showArrow: {
111
+ type: __PropType<boolean>;
112
+ required: false;
113
+ };
109
114
  prefixIcon: {
110
115
  type: __PropType<string>;
111
116
  required: false;
@@ -165,7 +170,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
165
170
  default: string;
166
171
  };
167
172
  mode: {
168
- type: __PropType<string>;
173
+ type: __PropType<"multiple" | "tags">;
169
174
  required: false;
170
175
  };
171
176
  optionFilterProp: {
@@ -197,7 +202,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
197
202
  required: false;
198
203
  };
199
204
  size: {
200
- type: __PropType<string>;
205
+ type: __PropType<"default" | "small" | "large">;
201
206
  required: false;
202
207
  default: string;
203
208
  };
@@ -205,6 +210,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
205
210
  type: __PropType<string>;
206
211
  required: false;
207
212
  };
213
+ showArrow: {
214
+ type: __PropType<boolean>;
215
+ required: false;
216
+ };
208
217
  prefixIcon: {
209
218
  type: __PropType<string>;
210
219
  required: false;
@@ -228,7 +237,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
228
237
  "onUpdate:value"?: (...args: any[]) => any;
229
238
  }, {
230
239
  value: string | number | string[] | number[];
231
- size: string;
240
+ size: "default" | "small" | "large";
232
241
  autoClearSearchValue: boolean;
233
242
  menuItemSelectedIcon: string;
234
243
  open: boolean;
@@ -1,4 +1,4 @@
1
- export declare const SelectSizes: string[];
2
- export declare const SelectModes: string[];
1
+ export declare const SelectSizes: readonly ["default", "large", "small"];
2
+ export declare const SelectModes: readonly ["multiple", "tags"];
3
3
  export type SelectSize = (typeof SelectSizes)[number];
4
4
  export type SelectMode = (typeof SelectModes)[number];
@@ -35,7 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
35
  required: false;
36
36
  };
37
37
  type: {
38
- type: __PropType<string>;
38
+ type: __PropType<"primary" | "secondary">;
39
39
  required: false;
40
40
  default: string;
41
41
  };
@@ -65,7 +65,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
65
65
  required: false;
66
66
  };
67
67
  type: {
68
- type: __PropType<string>;
68
+ type: __PropType<"primary" | "secondary">;
69
69
  required: false;
70
70
  default: string;
71
71
  };
@@ -73,6 +73,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
73
73
  onChange?: (...args: any[]) => any;
74
74
  onClick?: (...args: any[]) => any;
75
75
  }, {
76
- type: string;
76
+ type: "primary" | "secondary";
77
77
  }>;
78
78
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- export declare const SwitchTypes: string[];
1
+ export declare const SwitchTypes: readonly ["primary", "secondary"];
2
2
  export type SwitchType = (typeof SwitchTypes)[number];
@@ -12,7 +12,7 @@ export interface MaSwitchProps {
12
12
  }
13
13
  declare const _sfc_main: import("vue").DefineComponent<{
14
14
  size: {
15
- type: __PropType<string>;
15
+ type: __PropType<"default" | "small" | "large">;
16
16
  required: false;
17
17
  default: string;
18
18
  };
@@ -46,7 +46,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
46
46
  };
47
47
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "click")[], "change" | "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
48
48
  size: {
49
- type: __PropType<string>;
49
+ type: __PropType<"default" | "small" | "large">;
50
50
  required: false;
51
51
  default: string;
52
52
  };
@@ -82,6 +82,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
82
82
  onChange?: (...args: any[]) => any;
83
83
  onClick?: (...args: any[]) => any;
84
84
  }, {
85
- size: string;
85
+ size: "default" | "small" | "large";
86
86
  }>;
87
87
  export default _sfc_main;
@@ -1,2 +1,2 @@
1
- export declare const ToggleSizes: string[];
1
+ export declare const ToggleSizes: readonly ["small", "default", "large"];
2
2
  export type ToggleSize = (typeof ToggleSizes)[number];
@@ -4,7 +4,7 @@ import { type TooltipPlacement } from "ant-design-vue/lib/tooltip/index";
4
4
  export interface MaTooltipProps {
5
5
  placement?: TooltipPlacement;
6
6
  type?: TooltipType;
7
- icon?: TooltipType;
7
+ icon?: string;
8
8
  title?: string;
9
9
  description?: string;
10
10
  trigger?: TooltipTriggerType;
@@ -18,7 +18,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
18
18
  default: string;
19
19
  };
20
20
  type: {
21
- type: __PropType<string>;
21
+ type: __PropType<"primary" | "secondary">;
22
22
  required: false;
23
23
  default: string;
24
24
  };
@@ -35,7 +35,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
35
35
  required: false;
36
36
  };
37
37
  trigger: {
38
- type: __PropType<string>;
38
+ type: __PropType<"click" | "focus" | "hover" | "contextmenu">;
39
39
  required: false;
40
40
  default: string;
41
41
  };
@@ -55,7 +55,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
55
55
  default: string;
56
56
  };
57
57
  type: {
58
- type: __PropType<string>;
58
+ type: __PropType<"primary" | "secondary">;
59
59
  required: false;
60
60
  default: string;
61
61
  };
@@ -72,7 +72,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
72
72
  required: false;
73
73
  };
74
74
  trigger: {
75
- type: __PropType<string>;
75
+ type: __PropType<"click" | "focus" | "hover" | "contextmenu">;
76
76
  required: false;
77
77
  default: string;
78
78
  };
@@ -86,9 +86,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
86
86
  default: boolean;
87
87
  };
88
88
  }>>, {
89
- type: string;
89
+ type: "primary" | "secondary";
90
90
  placement: TooltipPlacement;
91
- trigger: string;
91
+ trigger: "click" | "focus" | "hover" | "contextmenu";
92
92
  defaultVisible: boolean;
93
93
  }>;
94
94
  export default _sfc_main;
@@ -1,5 +1,5 @@
1
- export declare const TooltipPlacements: string[];
2
- export declare const TooltipTypes: string[];
3
- export declare const TooltipTriggerTypes: string[];
1
+ export declare const TooltipPlacements: readonly ["top", "left", "right", "bottom", "topLeft", "topRight", "bottomLeft", "bottomRight", "leftTop", "leftBottom", "rightTop", "rightBottom"];
2
+ export declare const TooltipTypes: readonly ["primary", "secondary"];
3
+ export declare const TooltipTriggerTypes: readonly ["hover", "focus", "click", "contextmenu"];
4
4
  export type TooltipType = (typeof TooltipTypes)[number];
5
5
  export type TooltipTriggerType = (typeof TooltipTriggerTypes)[number];
@@ -11,12 +11,12 @@ export interface MaTrackButtonProps {
11
11
  }
12
12
  declare const _sfc_main: import("vue").DefineComponent<{
13
13
  variant: {
14
- type: __PropType<string>;
14
+ type: __PropType<"default">;
15
15
  required: false;
16
16
  default: string;
17
17
  };
18
18
  size: {
19
- type: __PropType<string>;
19
+ type: __PropType<"sm" | "md" | "lg">;
20
20
  required: false;
21
21
  default: string;
22
22
  };
@@ -42,12 +42,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
42
42
  };
43
43
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
44
44
  variant: {
45
- type: __PropType<string>;
45
+ type: __PropType<"default">;
46
46
  required: false;
47
47
  default: string;
48
48
  };
49
49
  size: {
50
- type: __PropType<string>;
50
+ type: __PropType<"sm" | "md" | "lg">;
51
51
  required: false;
52
52
  default: string;
53
53
  };
@@ -72,7 +72,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
72
72
  required: true;
73
73
  };
74
74
  }>>, {
75
- variant: string;
76
- size: string;
75
+ variant: "default";
76
+ size: "sm" | "md" | "lg";
77
77
  }>;
78
78
  export default _sfc_main;
@@ -1,4 +1,4 @@
1
- export declare const TrackButtonVariants: string[];
2
- export declare const TrackButtonSizes: string[];
1
+ export declare const TrackButtonVariants: readonly ["default"];
2
+ export declare const TrackButtonSizes: readonly ["sm", "md", "lg"];
3
3
  export type TrackButtonVariant = (typeof TrackButtonVariants)[number];
4
4
  export type TrackButtonSize = (typeof TrackButtonSizes)[number];
package/dist/index.d.ts CHANGED
@@ -1,25 +1,42 @@
1
1
  export { default as MaButton } from './components/button/index.vue';
2
+ export * from './components/button/types';
2
3
  export { default as MaTrackButton } from './components/track-button/index.vue';
4
+ export * from './components/track-button/types';
3
5
  export { default as MaToggle } from './components/toggle/index.vue';
6
+ export * from './components/toggle/types';
4
7
  export { default as MaSwitch } from './components/switch/index.vue';
8
+ export * from './components/switch/types';
5
9
  export { default as MaTooltip } from './components/tooltip/index.vue';
10
+ export * from './components/tooltip/types';
6
11
  export { default as MaForm } from './components/form/index.vue';
7
12
  export { default as MaFormItem } from './components/form-item/index.vue';
13
+ export * from './components/form/types';
8
14
  export { default as MaInput } from './components/input/index.vue';
15
+ export * from './components/input/types';
9
16
  export { default as MaIcon } from './components/icon/index.vue';
17
+ export * from './components/icon/types';
10
18
  export { default as MaSelect } from './components/select/index.vue';
11
19
  export { default as MaSelectOption } from './components/select/components/option.vue';
20
+ export * from './components/select/types';
12
21
  export { default as MaCheckbox } from './components/checkbox/index.vue';
13
22
  export { default as MaCheckboxGroup } from './components/checkbox/group.vue';
14
23
  export { default as MaNumericInput } from './components/numeric-input/index.vue';
24
+ export * from './components/numeric-input/types';
15
25
  export { default as MaAppTrackButton } from './components/app-track-button/index.vue';
16
26
  export { default as MaAppIcon } from './components/app-icon/index.vue';
27
+ export * from './components/app-icon/types';
17
28
  export { default as MaRadio } from './components/radio/index.vue';
18
29
  export { default as MaRadioGroup } from './components/radio/group.vue';
30
+ export * from './components/radio/types';
19
31
  export { default as MaBadge } from './components/badge/index.vue';
32
+ export * from './components/badge/types';
20
33
  export { default as MaAlert } from './components/alert/index.vue';
34
+ export * from './components/alert/types';
21
35
  export { default as MaAnimation } from './components/animation/index.vue';
36
+ export * from './components/animation/types';
22
37
  export { default as MaModal } from './components/modal/index';
38
+ export * from './components/modal/types';
23
39
  export { default as MaRate } from './components/rate/index.vue';
40
+ export * from './components/rate/types';
24
41
  export { ActionKitConfig } from './services/config';
25
42
  export { useActionKitConfig } from './composables/config';
@@ -15,8 +15,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  variant: string;
16
16
  type: string;
17
17
  }>>>, {
18
- type: string;
19
- variant: string;
18
+ type: "primary" | "secondary";
19
+ variant: "dark" | "blue" | "green" | "orange" | "red";
20
20
  }>, {
21
21
  icon: (_: {}) => any;
22
22
  message: (_: {}) => any;
@@ -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 declare type MaAlertPropVariant = (typeof MaAlertPropVariants)[number];
4
4
  export declare type MaAlertPropType = (typeof MaAlertPropTypes)[number];
@@ -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 declare type AnimationName = (typeof Animations)[number];
@@ -1,10 +1,10 @@
1
- import { AppIconSize } from "@/components/app-icon/types";
1
+ import { AppIconPlatform, AppIconSize } from "@/components/app-icon/types";
2
2
  export interface MaAppIconProps {
3
3
  appIcon: string;
4
4
  appName?: string;
5
5
  appDescription?: string;
6
6
  closable?: boolean;
7
- platform?: string;
7
+ platform?: AppIconPlatform;
8
8
  rounded?: boolean;
9
9
  size?: AppIconSize;
10
10
  }
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
19
19
  }>>> & {
20
20
  onClose?: (...args: any[]) => any;
21
21
  }, {
22
- size: string;
22
+ size: "small" | "x-small" | "medium" | "large" | "x-large";
23
23
  closable: boolean;
24
24
  rounded: boolean;
25
25
  }>;
@@ -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 declare type AppIconSize = (typeof AppIconSizes)[number];
4
+ export declare type AppIconPlatform = (typeof AppIconPlatforms)[number];
@@ -17,9 +17,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
17
17
  size: string;
18
18
  iconAlignment: string;
19
19
  }>>>, {
20
- size: string;
21
- type: string;
22
- variant: string;
20
+ size: "small" | "medium" | "large";
21
+ type: "primary" | "secondary" | "icon" | "line" | "dashed";
22
+ variant: "dark" | "blue" | "green" | "orange" | "red" | "purple";
23
23
  iconAlignment: string;
24
24
  }>, {
25
25
  default: (_: {}) => any;
@@ -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 declare type MaBadgePropVariant = (typeof MaBadgePropVariants)[number];
6
6
  export declare type MaBadgePropType = (typeof MaBadgePropTypes)[number];
7
7
  export declare type MaBadgePropSize = (typeof MaBadgePropSizes)[number];
@@ -22,10 +22,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
22
22
  size: string;
23
23
  shape: string;
24
24
  }>>>, {
25
- size: string;
26
- type: string;
27
- variant: string;
28
- shape: string;
25
+ size: "small" | "large" | "x-large" | "middle" | "2x-large";
26
+ type: "primary" | "secondary" | "link" | "grey-link" | "social";
27
+ variant: "dark" | "success" | "warning" | "info" | "plain" | "danger";
28
+ shape: "default" | "round";
29
29
  }>, Record<NonNullable<string | number>, (_: {}) => any>>;
30
30
  export default _default;
31
31
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -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 declare type ButtonTarget = (typeof ButtonTargets)[number];
8
8
  export declare type ButtonVariant = (typeof ButtonVariants)[number];
9
9
  export declare type ButtonType = (typeof ButtonTypes)[number];
@@ -1,2 +1,2 @@
1
- export declare const MaFormLayouts: string[];
1
+ export declare const MaFormLayouts: readonly ["horizontal", "vertical", "inline"];
2
2
  export declare type MaFormLayout = (typeof MaFormLayouts)[number];
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
9
9
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaIconProps>, {
10
10
  size: string;
11
11
  }>>>, {
12
- size: string;
12
+ size: "xs" | "sm" | "md" | "lg" | "xl";
13
13
  }>;
14
14
  export default _default;
15
15
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,5 +1,6 @@
1
- export declare const MaIconSizes: string[];
2
- export declare 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 declare type IconSize = typeof MaIconSizes[number];
3
+ export declare type IconSizeClassNames = {
4
+ [K in IconSize]: string;
5
5
  };
6
+ export declare const MaIconSizeClassNames: IconSizeClassNames;
@@ -19,11 +19,11 @@ export interface MaInputProps {
19
19
  inputClass?: string;
20
20
  }
21
21
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
22
- type: MaInputType;
23
- size: MaInputSize;
22
+ type: "text";
23
+ size: "small";
24
24
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "currency-change" | "update:value" | "update:amountCurrency")[], "change" | "currency-change" | "update:value" | "update:amountCurrency", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
25
- type: MaInputType;
26
- size: MaInputSize;
25
+ type: "text";
26
+ size: "small";
27
27
  }>>> & {
28
28
  onChange?: (...args: any[]) => any;
29
29
  "onUpdate:value"?: (...args: any[]) => any;
@@ -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 declare 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 declare 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 declare 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'];
@@ -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
  };
@@ -20,7 +20,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
20
  }>>> & {
21
21
  "onUpdate:value"?: (...args: any[]) => any;
22
22
  }, {
23
- size: string;
23
+ size: "small" | "medium" | "large";
24
24
  length: number;
25
25
  value: string;
26
26
  placeholderStatus: boolean;
@@ -1,2 +1,2 @@
1
- export declare const NumericInputSizes: string[];
1
+ export declare const NumericInputSizes: readonly ["small", "medium", "large"];
2
2
  export declare type NumericInputSize = (typeof NumericInputSizes)[number];
@@ -10,7 +10,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
10
10
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaRadioProps>, {
11
11
  type: string;
12
12
  }>>>, {
13
- type: string;
13
+ type: "button" | "check";
14
14
  }>, Record<NonNullable<string | number>, (_: {}) => any>>;
15
15
  export default _default;
16
16
  declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -1,2 +1,2 @@
1
- export declare const MaRadioTypes: string[];
1
+ export declare const MaRadioTypes: readonly ["button", "check"];
2
2
  export declare type MaRadioType = (typeof MaRadioTypes)[number];
@@ -1,8 +1,8 @@
1
- import { MaRateSize } from "../types";
1
+ import { IconSize } from "@/components/icon/types";
2
2
  export interface MaRateStarProps {
3
3
  value: number;
4
4
  starRate: number;
5
- iconSize: MaRateSize;
5
+ iconSize: IconSize;
6
6
  }
7
7
  declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<MaRateStarProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<MaRateStarProps>>>, {}>;
8
8
  export default _default;
@@ -20,8 +20,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
20
20
  onChange?: (...args: any[]) => any;
21
21
  "onUpdate:value"?: (...args: any[]) => any;
22
22
  }, {
23
- size: string;
24
- color: string;
23
+ size: "small" | "medium" | "large";
24
+ color: "green" | "orange" | "red";
25
25
  tabIndex: number;
26
26
  }>;
27
27
  export default _default;
@@ -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 declare type MaRateSize = (typeof MaRateSizes)[number];
4
4
  export declare type MaRateColor = (typeof MaRateColors)[number];
@@ -20,6 +20,7 @@ export interface MaSelectProps {
20
20
  showSearch?: boolean;
21
21
  size?: SelectSize;
22
22
  suffixIcon?: string;
23
+ showArrow?: boolean;
23
24
  prefixIcon?: string;
24
25
  open?: boolean;
25
26
  value?: string | number | string[] | number[];
@@ -42,13 +43,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
42
43
  }>>> & {
43
44
  "onUpdate:value"?: (...args: any[]) => any;
44
45
  }, {
45
- size: string;
46
+ size: "default" | "small" | "large";
46
47
  value: string | number | string[] | number[];
47
48
  open: boolean;
48
49
  menuItemSelectedIcon: string;
49
50
  listHeight: number;
50
51
  autoClearSearchValue: boolean;
51
- }>, Record<NonNullable<string | number>, (_: {}) => any> & {
52
+ }>, Record<string, (_: {}) => any> & {
53
+ option: (_: {
54
+ label: any;
55
+ value: any;
56
+ }) => any;
52
57
  prefixIcon: (_: {}) => any;
53
58
  }>;
54
59
  export default _default;
@@ -1,4 +1,4 @@
1
- export declare const SelectSizes: string[];
2
- export declare const SelectModes: string[];
1
+ export declare const SelectSizes: readonly ["default", "large", "small"];
2
+ export declare const SelectModes: readonly ["multiple", "tags"];
3
3
  export declare type SelectSize = (typeof SelectSizes)[number];
4
4
  export declare type SelectMode = (typeof SelectModes)[number];