@mobileaction/action-kit 1.55.9-beta.1 → 1.55.9-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-kit.mjs +1 -1
- package/dist/{annotations-DzwRKOiX.js → annotations-CJvReGEj.js} +1 -1
- package/dist/components/alert/index.vue.d.ts +1 -1
- package/dist/components/badge/index.vue.d.ts +2 -2
- package/dist/components/badge/stories/basic.stories.d.ts +121 -121
- package/dist/components/badge/stories/blue.stories.d.ts +121 -121
- package/dist/components/badge/stories/constants.d.ts +54 -54
- package/dist/components/badge/stories/dark.stories.d.ts +121 -121
- package/dist/components/badge/stories/green.stories.d.ts +121 -121
- package/dist/components/badge/stories/orange.stories.d.ts +121 -121
- package/dist/components/badge/stories/pink.stories.d.ts +121 -121
- package/dist/components/badge/stories/purple.stories.d.ts +121 -121
- package/dist/components/badge/stories/red.stories.d.ts +121 -121
- package/dist/components/badge/stories/teal.stories.d.ts +121 -121
- package/dist/components/badge/stories/yellow.stories.d.ts +121 -121
- package/dist/components/button/index.vue.d.ts +6 -20
- package/dist/components/button/link-button/index.vue.d.ts +4 -16
- package/dist/components/button/social-button/index.vue.d.ts +3 -13
- package/dist/components/button/types.d.ts +43 -0
- package/dist/components/cascader/index.vue.d.ts +1 -1
- package/dist/components/cascader/stories/default.stories.d.ts +320 -320
- package/dist/components/date-picker-2/index.vue.d.ts +1 -1
- package/dist/components/empty/index.vue.d.ts +1 -1
- package/dist/components/modal/types.d.ts +1 -1
- package/dist/components/modal-2/MaConfirmModal.vue.d.ts +3 -1
- package/dist/components/modal-2/types.d.ts +4 -9
- package/dist/components/numeric-input/index.vue.d.ts +1 -1
- package/dist/components/popconfirm/index.vue.d.ts +1 -1
- package/dist/components/popconfirm-2/index.vue.d.ts +2 -2
- package/dist/components/result/stories/constants.d.ts +9 -9
- package/dist/components/select/index.vue.d.ts +1 -1
- package/dist/components/select-2/index.vue.d.ts +1 -1
- package/dist/components/tree/index.vue.d.ts +1 -1
- package/dist/components/upload/index.vue.d.ts +1 -1
- package/dist/{export-data-CogMIKLw.js → export-data-Bc66-x65.js} +1 -1
- package/dist/{exporting-BC5gPbRD.js → exporting-BtRF11xJ.js} +1 -1
- package/dist/{funnel-DCKPuShR.js → funnel-D5wllcfK.js} +1 -1
- package/dist/{index-B3BnsEOn.js → index-BeRY2xCE.js} +2840 -2847
- package/dist/index.d.ts +0 -2
- package/dist/{map-BuUu2S2x.js → map-DCQ-fAeN.js} +1 -1
- package/dist/{offline-exporting-Dl3qVzLd.js → offline-exporting-De8jDkav.js} +1 -1
- package/dist/{stock-CgmqjadN.js → stock-CC5igHH2.js} +1 -1
- package/dist/{venn-DAfzV8Ud.js → venn-CN4OD4vD.js} +1 -1
- package/dist/{wordcloud-Dpd1_4HN.js → wordcloud-DMFxV2pu.js} +1 -1
- package/package.json +1 -1
- package/dist/components/button/link-button/types.d.ts +0 -4
- package/dist/components/button/social-button/types.d.ts +0 -4
|
@@ -1,30 +1,16 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
export interface MaButtonProps {
|
|
3
|
-
variant?: ButtonVariant;
|
|
4
|
-
size?: ButtonSize;
|
|
5
|
-
shape?: ButtonShape;
|
|
6
|
-
href?: string;
|
|
7
|
-
target?: ButtonTarget;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
loading?: boolean;
|
|
10
|
-
icon?: string;
|
|
11
|
-
iconAlignment?: string;
|
|
12
|
-
highlight?: boolean;
|
|
13
|
-
htmlType?: ButtonHtmlType;
|
|
14
|
-
color?: ButtonColor;
|
|
15
|
-
}
|
|
1
|
+
import type { MaButtonProps } from './types';
|
|
16
2
|
declare var __VLS_10: {};
|
|
17
3
|
type __VLS_Slots = {} & {
|
|
18
4
|
default?: (props: typeof __VLS_10) => any;
|
|
19
5
|
};
|
|
20
6
|
declare const __VLS_component: import("vue").DefineComponent<MaButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaButtonProps> & Readonly<{}>, {
|
|
21
|
-
|
|
22
|
-
|
|
7
|
+
variant: import("@/index").ButtonVariant;
|
|
8
|
+
size: import("@/index").ButtonSize;
|
|
9
|
+
shape: import("@/index").ButtonShape;
|
|
23
10
|
disabled: boolean;
|
|
24
11
|
loading: boolean;
|
|
25
|
-
color: ButtonColor;
|
|
26
|
-
|
|
27
|
-
htmlType: ButtonHtmlType;
|
|
12
|
+
color: import("@/index").ButtonColor;
|
|
13
|
+
htmlType: import("@/index").ButtonHtmlType;
|
|
28
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
15
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
30
16
|
export default _default;
|
|
@@ -1,26 +1,14 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ButtonHtmlType, ButtonTarget } from '../types';
|
|
3
|
-
export interface MaLinkButtonProps {
|
|
4
|
-
href?: string;
|
|
5
|
-
target?: ButtonTarget;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
icon?: string;
|
|
9
|
-
iconAlignment?: string;
|
|
10
|
-
htmlType?: ButtonHtmlType;
|
|
11
|
-
color?: LinkButtonColor;
|
|
12
|
-
size?: LinkButtonSize;
|
|
13
|
-
}
|
|
1
|
+
import type { MaLinkButtonProps } from '../types';
|
|
14
2
|
declare var __VLS_10: {};
|
|
15
3
|
type __VLS_Slots = {} & {
|
|
16
4
|
default?: (props: typeof __VLS_10) => any;
|
|
17
5
|
};
|
|
18
6
|
declare const __VLS_component: import("vue").DefineComponent<MaLinkButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaLinkButtonProps> & Readonly<{}>, {
|
|
19
|
-
size: LinkButtonSize;
|
|
7
|
+
size: import("@/index").LinkButtonSize;
|
|
20
8
|
disabled: boolean;
|
|
21
9
|
loading: boolean;
|
|
22
|
-
color: LinkButtonColor;
|
|
23
|
-
htmlType: ButtonHtmlType;
|
|
10
|
+
color: import("@/index").LinkButtonColor;
|
|
11
|
+
htmlType: import("@/index").ButtonHtmlType;
|
|
24
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
25
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
26
14
|
export default _default;
|
|
@@ -1,23 +1,13 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type { ButtonHtmlType, ButtonTarget } from '../types';
|
|
3
|
-
export interface MaSocialButtonProps {
|
|
4
|
-
href?: string;
|
|
5
|
-
target?: ButtonTarget;
|
|
6
|
-
disabled?: boolean;
|
|
7
|
-
loading?: boolean;
|
|
8
|
-
htmlType?: ButtonHtmlType;
|
|
9
|
-
brand?: SocialButtonBrand;
|
|
10
|
-
variant?: SocialButtonVariant;
|
|
11
|
-
}
|
|
1
|
+
import type { MaSocialButtonProps } from '../types';
|
|
12
2
|
declare var __VLS_10: {};
|
|
13
3
|
type __VLS_Slots = {} & {
|
|
14
4
|
default?: (props: typeof __VLS_10) => any;
|
|
15
5
|
};
|
|
16
6
|
declare const __VLS_component: import("vue").DefineComponent<MaSocialButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaSocialButtonProps> & Readonly<{}>, {
|
|
17
|
-
variant: SocialButtonVariant;
|
|
7
|
+
variant: import("@/index").SocialButtonVariant;
|
|
18
8
|
disabled: boolean;
|
|
19
9
|
loading: boolean;
|
|
20
|
-
htmlType: ButtonHtmlType;
|
|
10
|
+
htmlType: import("@/index").ButtonHtmlType;
|
|
21
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
12
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
23
13
|
export default _default;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'vue';
|
|
1
2
|
export declare const ButtonVariants: readonly ["filled", "stroke", "lighter", "ghost"];
|
|
2
3
|
export declare const ButtonColors: readonly ["dark", "blue", "green", "red"];
|
|
3
4
|
export declare const ButtonSizes: readonly ["x-small", "small", "medium", "large"];
|
|
@@ -12,3 +13,45 @@ export type ButtonShape = (typeof ButtonShapes)[number];
|
|
|
12
13
|
export type ButtonTarget = (typeof ButtonTargets)[number];
|
|
13
14
|
export type ButtonHtmlType = (typeof ButtonHtmlTypes)[number];
|
|
14
15
|
export type ButtonIconAlignMent = (typeof ButtonIconAlignMents)[number];
|
|
16
|
+
export declare const LinkButtonColors: readonly ["dark", "blue", "red", "gray"];
|
|
17
|
+
export declare const LinkButtonSizes: readonly ["small", "medium"];
|
|
18
|
+
export type LinkButtonColor = (typeof LinkButtonColors)[number];
|
|
19
|
+
export type LinkButtonSize = (typeof LinkButtonSizes)[number];
|
|
20
|
+
export declare const SocialButtonBrands: readonly ["google", "x", "linkedin", "facebook", "apple"];
|
|
21
|
+
export declare const SocialButtonVariants: readonly ["filled", "stroke"];
|
|
22
|
+
export type SocialButtonBrand = (typeof SocialButtonBrands)[number];
|
|
23
|
+
export type SocialButtonVariant = (typeof SocialButtonVariants)[number];
|
|
24
|
+
export interface MaButtonProps extends /* @vue-ignore */ ButtonHTMLAttributes {
|
|
25
|
+
variant?: ButtonVariant;
|
|
26
|
+
size?: ButtonSize;
|
|
27
|
+
shape?: ButtonShape;
|
|
28
|
+
href?: string;
|
|
29
|
+
target?: ButtonTarget;
|
|
30
|
+
disabled?: boolean;
|
|
31
|
+
loading?: boolean;
|
|
32
|
+
icon?: string;
|
|
33
|
+
iconAlignment?: string;
|
|
34
|
+
highlight?: boolean;
|
|
35
|
+
htmlType?: ButtonHtmlType;
|
|
36
|
+
color?: ButtonColor;
|
|
37
|
+
}
|
|
38
|
+
export interface MaLinkButtonProps extends /* @vue-ignore */ AnchorHTMLAttributes {
|
|
39
|
+
href?: string;
|
|
40
|
+
target?: ButtonTarget;
|
|
41
|
+
disabled?: boolean;
|
|
42
|
+
loading?: boolean;
|
|
43
|
+
icon?: string;
|
|
44
|
+
iconAlignment?: string;
|
|
45
|
+
htmlType?: ButtonHtmlType;
|
|
46
|
+
color?: LinkButtonColor;
|
|
47
|
+
size?: LinkButtonSize;
|
|
48
|
+
}
|
|
49
|
+
export interface MaSocialButtonProps extends /* @vue-ignore */ ButtonHTMLAttributes {
|
|
50
|
+
href?: string;
|
|
51
|
+
target?: ButtonTarget;
|
|
52
|
+
disabled?: boolean;
|
|
53
|
+
loading?: boolean;
|
|
54
|
+
htmlType?: ButtonHtmlType;
|
|
55
|
+
brand?: SocialButtonBrand;
|
|
56
|
+
variant?: SocialButtonVariant;
|
|
57
|
+
}
|
|
@@ -31,8 +31,8 @@ declare const __VLS_component: import("vue").DefineComponent<MaCascaderProps, {}
|
|
|
31
31
|
onChange?: (...args: any[]) => any;
|
|
32
32
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
33
33
|
}>, {
|
|
34
|
-
value: CascaderValue;
|
|
35
34
|
size: CascaderSize;
|
|
35
|
+
value: CascaderValue;
|
|
36
36
|
itemsText: string;
|
|
37
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
38
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|