@mobileaction/action-kit 1.1.60 → 1.1.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/action-kit.js +6 -6
- package/dist/action-kit.mjs +564 -525
- package/dist/components/app-icon/index.vue.d.ts +22 -0
- package/dist/components/dropdown/index.vue.d.ts +6 -6
- package/dist/components/input/index.vue.d.ts +1 -1
- package/dist/components/switch/index.vue.d.ts +1 -1
- package/dist/components/tabs/index.vue.d.ts +3 -3
- package/dist/components/toggle/index.vue.d.ts +1 -1
- package/dist/components/tooltip/index.vue.d.ts +3 -3
- package/dist/src/components/app-icon/index.vue.d.ts +6 -0
- package/dist/src/components/dropdown/index.vue.d.ts +4 -4
- package/dist/src/components/input/index.vue.d.ts +1 -1
- package/dist/src/components/input-number/index.vue.d.ts +1 -1
- package/dist/src/components/numeric-input/components/singleNumericInput.vue.d.ts +1 -1
- package/dist/src/components/tabs/index.vue.d.ts +1 -1
- package/dist/src/components/tooltip/index.vue.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
import { AppIconPlatform, AppIconSize } from '../../components/app-icon/types';
|
|
3
|
+
import { MaTooltipProps } from '../../components/tooltip/index.vue';
|
|
3
4
|
export interface MaAppIconProps {
|
|
4
5
|
appIcon: string;
|
|
5
6
|
appName?: string;
|
|
@@ -8,6 +9,8 @@ export interface MaAppIconProps {
|
|
|
8
9
|
platform?: AppIconPlatform;
|
|
9
10
|
rounded?: boolean;
|
|
10
11
|
size?: AppIconSize;
|
|
12
|
+
showTooltip?: boolean;
|
|
13
|
+
tooltipProps?: MaTooltipProps;
|
|
11
14
|
}
|
|
12
15
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
13
16
|
appIcon: {
|
|
@@ -41,6 +44,15 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
41
44
|
required: false;
|
|
42
45
|
default: string;
|
|
43
46
|
};
|
|
47
|
+
showTooltip: {
|
|
48
|
+
type: __PropType<boolean>;
|
|
49
|
+
required: false;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
tooltipProps: {
|
|
53
|
+
type: __PropType<MaTooltipProps>;
|
|
54
|
+
required: false;
|
|
55
|
+
};
|
|
44
56
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
57
|
appIcon: {
|
|
46
58
|
type: __PropType<string>;
|
|
@@ -73,11 +85,21 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
73
85
|
required: false;
|
|
74
86
|
default: string;
|
|
75
87
|
};
|
|
88
|
+
showTooltip: {
|
|
89
|
+
type: __PropType<boolean>;
|
|
90
|
+
required: false;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
tooltipProps: {
|
|
94
|
+
type: __PropType<MaTooltipProps>;
|
|
95
|
+
required: false;
|
|
96
|
+
};
|
|
76
97
|
}>> & {
|
|
77
98
|
onClose?: (...args: any[]) => any;
|
|
78
99
|
}, {
|
|
79
100
|
closable: boolean;
|
|
80
101
|
size: "x-small" | "small" | "medium" | "large" | "x-large";
|
|
81
102
|
rounded: boolean;
|
|
103
|
+
showTooltip: boolean;
|
|
82
104
|
}>;
|
|
83
105
|
export default _sfc_main;
|
|
@@ -20,12 +20,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
22
|
placement: {
|
|
23
|
-
type: __PropType<"
|
|
23
|
+
type: __PropType<"top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
24
24
|
required: false;
|
|
25
25
|
default: string;
|
|
26
26
|
};
|
|
27
27
|
trigger: {
|
|
28
|
-
type: __PropType<("
|
|
28
|
+
type: __PropType<("hover" | "click" | "contextmenu")[]>;
|
|
29
29
|
required: false;
|
|
30
30
|
default: () => string[];
|
|
31
31
|
};
|
|
@@ -50,12 +50,12 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
52
|
placement: {
|
|
53
|
-
type: __PropType<"
|
|
53
|
+
type: __PropType<"top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight">;
|
|
54
54
|
required: false;
|
|
55
55
|
default: string;
|
|
56
56
|
};
|
|
57
57
|
trigger: {
|
|
58
|
-
type: __PropType<("
|
|
58
|
+
type: __PropType<("hover" | "click" | "contextmenu")[]>;
|
|
59
59
|
required: false;
|
|
60
60
|
default: () => string[];
|
|
61
61
|
};
|
|
@@ -72,10 +72,10 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
72
72
|
"onUpdate:visible"?: (...args: any[]) => any;
|
|
73
73
|
onVisibleChange?: (...args: any[]) => any;
|
|
74
74
|
}, {
|
|
75
|
+
placement: "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
76
|
+
trigger: ("hover" | "click" | "contextmenu")[];
|
|
75
77
|
disabled: boolean;
|
|
76
78
|
destroyPopupOnHide: boolean;
|
|
77
|
-
placement: "bottomLeft" | "bottom" | "bottomRight" | "topLeft" | "top" | "topRight";
|
|
78
|
-
trigger: ("click" | "hover" | "contextmenu")[];
|
|
79
79
|
visible: boolean;
|
|
80
80
|
}>;
|
|
81
81
|
export default _sfc_main;
|
|
@@ -90,7 +90,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
90
90
|
type: __PropType<string>;
|
|
91
91
|
required: false;
|
|
92
92
|
};
|
|
93
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value" | "currency-change" | "update:amountCurrency" | "
|
|
93
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "update:value" | "currency-change" | "update:amountCurrency" | "focusout")[], "focus" | "change" | "update:value" | "currency-change" | "update:amountCurrency" | "focusout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
allowClear: {
|
|
95
95
|
type: __PropType<boolean>;
|
|
96
96
|
required: false;
|
|
@@ -39,7 +39,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
39
39
|
required: false;
|
|
40
40
|
default: string;
|
|
41
41
|
};
|
|
42
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
42
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
43
|
active: {
|
|
44
44
|
type: __PropType<string>;
|
|
45
45
|
required: true;
|
|
@@ -23,7 +23,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
23
23
|
default: boolean;
|
|
24
24
|
};
|
|
25
25
|
tabPosition: {
|
|
26
|
-
type: __PropType<"
|
|
26
|
+
type: __PropType<"top" | "left" | "right" | "bottom">;
|
|
27
27
|
required: false;
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
@@ -48,7 +48,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
50
|
tabPosition: {
|
|
51
|
-
type: __PropType<"
|
|
51
|
+
type: __PropType<"top" | "left" | "right" | "bottom">;
|
|
52
52
|
required: false;
|
|
53
53
|
default: string;
|
|
54
54
|
};
|
|
@@ -63,6 +63,6 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
63
63
|
type: "line" | "card";
|
|
64
64
|
animated: boolean;
|
|
65
65
|
destroyInactiveTabPane: boolean;
|
|
66
|
-
tabPosition: "
|
|
66
|
+
tabPosition: "top" | "left" | "right" | "bottom";
|
|
67
67
|
}>;
|
|
68
68
|
export default _sfc_main;
|
|
@@ -44,7 +44,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
44
44
|
type: __PropType<string>;
|
|
45
45
|
required: false;
|
|
46
46
|
};
|
|
47
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
47
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("click" | "change")[], "click" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
48
48
|
size: {
|
|
49
49
|
type: __PropType<"default" | "small" | "large">;
|
|
50
50
|
required: false;
|
|
@@ -36,7 +36,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
36
36
|
required: false;
|
|
37
37
|
};
|
|
38
38
|
trigger: {
|
|
39
|
-
type: __PropType<"
|
|
39
|
+
type: __PropType<"hover" | "focus" | "click" | "contextmenu">;
|
|
40
40
|
required: false;
|
|
41
41
|
default: string;
|
|
42
42
|
};
|
|
@@ -77,7 +77,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
77
77
|
required: false;
|
|
78
78
|
};
|
|
79
79
|
trigger: {
|
|
80
|
-
type: __PropType<"
|
|
80
|
+
type: __PropType<"hover" | "focus" | "click" | "contextmenu">;
|
|
81
81
|
required: false;
|
|
82
82
|
default: string;
|
|
83
83
|
};
|
|
@@ -97,7 +97,7 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
97
97
|
}>>, {
|
|
98
98
|
type: "primary" | "secondary";
|
|
99
99
|
placement: TooltipPlacement;
|
|
100
|
-
trigger: "
|
|
100
|
+
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
101
101
|
defaultVisible: boolean;
|
|
102
102
|
}>;
|
|
103
103
|
export default _sfc_main;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AppIconPlatform, AppIconSize } from "@/components/app-icon/types";
|
|
2
|
+
import { MaTooltipProps } from "@/components/tooltip/index.vue";
|
|
2
3
|
export interface MaAppIconProps {
|
|
3
4
|
appIcon: string;
|
|
4
5
|
appName?: string;
|
|
@@ -7,21 +8,26 @@ export interface MaAppIconProps {
|
|
|
7
8
|
platform?: AppIconPlatform;
|
|
8
9
|
rounded?: boolean;
|
|
9
10
|
size?: AppIconSize;
|
|
11
|
+
showTooltip?: boolean;
|
|
12
|
+
tooltipProps?: MaTooltipProps;
|
|
10
13
|
}
|
|
11
14
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAppIconProps>, {
|
|
12
15
|
closable: boolean;
|
|
13
16
|
rounded: boolean;
|
|
14
17
|
size: string;
|
|
18
|
+
showTooltip: boolean;
|
|
15
19
|
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "close"[], "close", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaAppIconProps>, {
|
|
16
20
|
closable: boolean;
|
|
17
21
|
rounded: boolean;
|
|
18
22
|
size: string;
|
|
23
|
+
showTooltip: boolean;
|
|
19
24
|
}>>> & {
|
|
20
25
|
onClose?: (...args: any[]) => any;
|
|
21
26
|
}, {
|
|
22
27
|
size: "small" | "x-small" | "medium" | "large" | "x-large";
|
|
23
28
|
closable: boolean;
|
|
24
29
|
rounded: boolean;
|
|
30
|
+
showTooltip: boolean;
|
|
25
31
|
}>;
|
|
26
32
|
export default _default;
|
|
27
33
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -20,14 +20,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
20
20
|
trigger: () => string[];
|
|
21
21
|
visible: any;
|
|
22
22
|
}>>> & {
|
|
23
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
24
23
|
onVisibleChange?: (...args: any[]) => any;
|
|
24
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
25
25
|
}, {
|
|
26
|
+
placement: "top" | "bottom" | "topLeft" | "topRight" | "bottomLeft" | "bottomRight";
|
|
27
|
+
trigger: ("hover" | "click" | "contextmenu")[];
|
|
28
|
+
visible: boolean;
|
|
26
29
|
disabled: boolean;
|
|
27
|
-
placement: "bottomLeft" | "bottomRight" | "topLeft" | "topRight" | "bottom" | "top";
|
|
28
30
|
destroyPopupOnHide: boolean;
|
|
29
|
-
trigger: ("click" | "hover" | "contextmenu")[];
|
|
30
|
-
visible: boolean;
|
|
31
31
|
}>, {
|
|
32
32
|
default: (_: {}) => any;
|
|
33
33
|
overlay: (_: {}) => any;
|
|
@@ -21,7 +21,7 @@ export interface MaInputProps {
|
|
|
21
21
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
|
|
22
22
|
type: "text";
|
|
23
23
|
size: "small";
|
|
24
|
-
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("
|
|
24
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("focus" | "change" | "currency-change" | "update:value" | "update:amountCurrency" | "focusout")[], "focus" | "change" | "currency-change" | "update:value" | "update:amountCurrency" | "focusout", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<MaInputProps>, {
|
|
25
25
|
type: "text";
|
|
26
26
|
size: "small";
|
|
27
27
|
}>>> & {
|
|
@@ -43,8 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
43
43
|
onStep?: (...args: any[]) => any;
|
|
44
44
|
}, {
|
|
45
45
|
size: MaInputNumberSize;
|
|
46
|
-
disabled: boolean;
|
|
47
46
|
value: string | number;
|
|
47
|
+
disabled: boolean;
|
|
48
48
|
autofocus: boolean;
|
|
49
49
|
controls: boolean;
|
|
50
50
|
keyboard: boolean;
|
|
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
11
11
|
}>>> & {
|
|
12
12
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
13
13
|
}, {
|
|
14
|
-
value: string;
|
|
15
14
|
focus: boolean;
|
|
15
|
+
value: string;
|
|
16
16
|
}>;
|
|
17
17
|
export default _default;
|
|
18
18
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -22,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
22
22
|
type: "line" | "card";
|
|
23
23
|
animated: boolean;
|
|
24
24
|
destroyInactiveTabPane: boolean;
|
|
25
|
-
tabPosition: "
|
|
25
|
+
tabPosition: "top" | "left" | "right" | "bottom";
|
|
26
26
|
}>, Record<NonNullable<string | number>, (_: {}) => any>>;
|
|
27
27
|
export default _default;
|
|
28
28
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -24,7 +24,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
24
24
|
}>>>, {
|
|
25
25
|
type: "primary" | "secondary";
|
|
26
26
|
placement: TooltipPlacement;
|
|
27
|
-
trigger: "
|
|
27
|
+
trigger: "hover" | "focus" | "click" | "contextmenu";
|
|
28
28
|
defaultVisible: boolean;
|
|
29
29
|
}>, {
|
|
30
30
|
default: (_: {}) => any;
|