@mobileaction/action-kit 1.42.7-beta.0 → 1.42.7-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 +6500 -6544
- package/dist/src/components/country-select/components/multiCountrySelect.vue.d.ts +10 -8
- package/dist/src/components/country-select/components/singleCountrySelect.vue.d.ts +11 -12
- package/dist/src/components/country-select/index.vue.d.ts +8 -9
- package/dist/src/components/country-select/types.d.ts +0 -1
- package/dist/src/components/date-picker/index.vue.d.ts +1 -1
- package/dist/src/components/date-picker-2/components/calendarSelect.vue.d.ts +1 -1
- package/dist/src/components/input/types.d.ts +2 -2
- package/dist/src/components/popover-2/index.vue.d.ts +1 -1
- package/dist/src/components/popover-2/stories/constants.d.ts +3 -3
- package/dist/src/components/select/index.vue.d.ts +4 -4
- package/dist/src/components/select-2/index.vue.d.ts +4 -8
- package/dist/src/components/select-2/types.d.ts +0 -1
- package/dist/style.css +1 -1
- package/package.json +4 -2
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MaCountry } from '../types';
|
|
2
|
+
import { SelectSize } from '../../select/types';
|
|
3
|
+
import { MaFlagIconRatio } from '../../icon/types';
|
|
4
|
+
import { MaBadgeProps } from '../../badge/index.vue';
|
|
4
5
|
export interface MaCountrySelectProps {
|
|
5
6
|
value: string | string[] | null;
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
filterOption?: Function;
|
|
8
|
+
countries: MaCountry[];
|
|
9
|
+
size?: SelectSize;
|
|
8
10
|
showSearch?: boolean;
|
|
9
|
-
dropdownMatchSelectWidth?: boolean;
|
|
11
|
+
dropdownMatchSelectWidth?: boolean | number;
|
|
10
12
|
listHeight?: number;
|
|
11
13
|
showSelectedCountryCode?: boolean;
|
|
12
14
|
placeholder?: string;
|
|
@@ -23,9 +25,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
|
|
|
23
25
|
"update:value": (...args: any[]) => void;
|
|
24
26
|
}, string, import("vue").PublicProps, Readonly<MaCountrySelectProps> & Readonly<{
|
|
25
27
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
26
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
28
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<string, (_: {
|
|
27
29
|
label: string;
|
|
28
|
-
value:
|
|
30
|
+
value: string;
|
|
29
31
|
}) => any>> & {
|
|
30
32
|
multiCountryText?(_: {}): any;
|
|
31
33
|
}>;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { MaCountry } from "../types";
|
|
2
|
+
import { SelectSize } from "../../select/types";
|
|
3
|
+
import { MaFlagIconRatio } from "../../icon/types";
|
|
4
|
+
import { MaBadgeProps } from "../../badge/index.vue";
|
|
4
5
|
export interface MaCountrySelectProps {
|
|
5
6
|
value: string | string[] | null;
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
filterFn?: Function;
|
|
8
|
+
countries: MaCountry[];
|
|
9
|
+
size?: SelectSize;
|
|
8
10
|
showSearch?: boolean;
|
|
11
|
+
dropdownMatchSelectWidth?: boolean | number;
|
|
9
12
|
listHeight?: number;
|
|
10
13
|
showSelectedCountryCode?: boolean;
|
|
11
14
|
placeholder?: string;
|
|
@@ -18,14 +21,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
|
|
|
18
21
|
"update:value": (...args: any[]) => void;
|
|
19
22
|
}, string, import("vue").PublicProps, Readonly<MaCountrySelectProps> & Readonly<{
|
|
20
23
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
21
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
24
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<string, (_: {
|
|
22
25
|
label: string;
|
|
23
|
-
value:
|
|
24
|
-
}) => any
|
|
25
|
-
input?(_: {
|
|
26
|
-
value: string | string[];
|
|
27
|
-
}): any;
|
|
28
|
-
}>;
|
|
26
|
+
value: string;
|
|
27
|
+
}) => any>>>;
|
|
29
28
|
export default _default;
|
|
30
29
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
31
30
|
new (): {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { MaCountry } from './types';
|
|
2
|
-
import { MaFlagIconRatio } from '@/index';
|
|
3
|
-
import { MaSelectSize } from '../select-2/types';
|
|
2
|
+
import { MaFlagIconRatio, SelectSize } from '@/index';
|
|
4
3
|
import { MaBadgeProps } from '../badge/index.vue';
|
|
5
4
|
export interface MaCountrySelectProps {
|
|
6
5
|
value: string | string[] | null;
|
|
6
|
+
filterFn?: Function;
|
|
7
7
|
countries: MaCountry[];
|
|
8
|
-
size?:
|
|
8
|
+
size?: SelectSize;
|
|
9
9
|
showSearch?: boolean;
|
|
10
|
+
dropdownMatchSelectWidth?: boolean | number;
|
|
10
11
|
listHeight?: number;
|
|
11
12
|
showSelectedCountryCode?: boolean;
|
|
12
13
|
placeholder?: string;
|
|
13
14
|
iconRound?: boolean;
|
|
14
15
|
iconRatio?: MaFlagIconRatio;
|
|
15
16
|
dropdownClassName?: string;
|
|
16
|
-
dropdownMatchSelectWidth?: boolean;
|
|
17
17
|
badgeProps?: MaBadgeProps;
|
|
18
18
|
multiple?: boolean;
|
|
19
19
|
}
|
|
@@ -24,17 +24,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
|
|
|
24
24
|
onChange?: (...args: any[]) => any;
|
|
25
25
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
26
26
|
}>, {
|
|
27
|
-
size:
|
|
28
|
-
|
|
27
|
+
size: SelectSize;
|
|
28
|
+
dropdownMatchSelectWidth: boolean | number;
|
|
29
29
|
showSearch: boolean;
|
|
30
30
|
listHeight: number;
|
|
31
|
-
|
|
32
|
-
dropdownClassName: string;
|
|
31
|
+
multiple: boolean;
|
|
33
32
|
showSelectedCountryCode: boolean;
|
|
34
33
|
iconRound: boolean;
|
|
35
34
|
iconRatio: MaFlagIconRatio;
|
|
36
35
|
badgeProps: MaBadgeProps;
|
|
37
|
-
|
|
36
|
+
filterFn: Function;
|
|
38
37
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Partial<Record<NonNullable<string | number>, (_: any) => any>>>;
|
|
39
38
|
export default _default;
|
|
40
39
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -48,9 +48,9 @@ declare const _default: __VLS_WithTemplateSlots<DefineComponent<MaDatePickerProp
|
|
|
48
48
|
size: MaDatePickerSize;
|
|
49
49
|
disabled: boolean;
|
|
50
50
|
inline: boolean;
|
|
51
|
+
open: boolean;
|
|
51
52
|
allowClear: boolean;
|
|
52
53
|
prefixIcon: string;
|
|
53
|
-
open: boolean;
|
|
54
54
|
picker: PickerMode;
|
|
55
55
|
keepPickerHidden: boolean;
|
|
56
56
|
format: string;
|
|
@@ -9,5 +9,5 @@ interface MonthSelectProps {
|
|
|
9
9
|
}>;
|
|
10
10
|
dateType: (typeof DateTypes)[number];
|
|
11
11
|
}
|
|
12
|
-
declare const _default: import("vue").DefineComponent<MonthSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MonthSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
12
|
+
declare const _default: import("vue").DefineComponent<MonthSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MonthSelectProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { SelectProps } from 'ant-design-vue';
|
|
2
2
|
export declare const MaInputType: {
|
|
3
3
|
readonly text: "text";
|
|
4
4
|
readonly password: "password";
|
|
@@ -31,4 +31,4 @@ export declare const currencySymbols: {
|
|
|
31
31
|
readonly GBP: "£";
|
|
32
32
|
readonly JPY: "¥";
|
|
33
33
|
};
|
|
34
|
-
export declare const currencyOptions:
|
|
34
|
+
export declare const currencyOptions: SelectProps['options'];
|
|
@@ -36,9 +36,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopover2Props, {}
|
|
|
36
36
|
trigger: Popover2TriggerType[];
|
|
37
37
|
overlayClassName: string;
|
|
38
38
|
visible: boolean | undefined;
|
|
39
|
+
showArrow: boolean;
|
|
39
40
|
autoHide: boolean;
|
|
40
41
|
isMobile: boolean;
|
|
41
|
-
showArrow: boolean;
|
|
42
42
|
noPadding: boolean;
|
|
43
43
|
popupContainer: HTMLElement | null | string;
|
|
44
44
|
noAutoFocus: boolean;
|
|
@@ -14,9 +14,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
14
14
|
trigger: import("../types").Popover2TriggerType[];
|
|
15
15
|
overlayClassName: string;
|
|
16
16
|
visible: boolean | undefined;
|
|
17
|
+
showArrow: boolean;
|
|
17
18
|
autoHide: boolean;
|
|
18
19
|
isMobile: boolean;
|
|
19
|
-
showArrow: boolean;
|
|
20
20
|
noPadding: boolean;
|
|
21
21
|
popupContainer: HTMLElement | null | string;
|
|
22
22
|
noAutoFocus: boolean;
|
|
@@ -38,9 +38,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
38
38
|
trigger: import("../types").Popover2TriggerType[];
|
|
39
39
|
overlayClassName: string;
|
|
40
40
|
visible: boolean | undefined;
|
|
41
|
+
showArrow: boolean;
|
|
41
42
|
autoHide: boolean;
|
|
42
43
|
isMobile: boolean;
|
|
43
|
-
showArrow: boolean;
|
|
44
44
|
noPadding: boolean;
|
|
45
45
|
popupContainer: HTMLElement | null | string;
|
|
46
46
|
noAutoFocus: boolean;
|
|
@@ -62,9 +62,9 @@ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import
|
|
|
62
62
|
trigger: import("../types").Popover2TriggerType[];
|
|
63
63
|
overlayClassName: string;
|
|
64
64
|
visible: boolean | undefined;
|
|
65
|
+
showArrow: boolean;
|
|
65
66
|
autoHide: boolean;
|
|
66
67
|
isMobile: boolean;
|
|
67
|
-
showArrow: boolean;
|
|
68
68
|
noPadding: boolean;
|
|
69
69
|
popupContainer: HTMLElement | null | string;
|
|
70
70
|
noAutoFocus: boolean;
|
|
@@ -44,13 +44,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Ma
|
|
|
44
44
|
}>, {
|
|
45
45
|
size: SelectSize;
|
|
46
46
|
value: string | number | string[] | number[];
|
|
47
|
-
showArrow: boolean;
|
|
48
|
-
autoClearSearchValue: boolean;
|
|
49
47
|
open: boolean;
|
|
50
|
-
listHeight: number;
|
|
51
48
|
dropdownMatchSelectWidth: boolean | number;
|
|
52
|
-
|
|
49
|
+
showArrow: boolean;
|
|
53
50
|
menuItemSelectedIcon: string;
|
|
51
|
+
listHeight: number;
|
|
52
|
+
autoClearSearchValue: boolean;
|
|
53
|
+
borderless: boolean;
|
|
54
54
|
selectOptionType: SelectOptionType;
|
|
55
55
|
checkboxPlacement: CheckboxPlacement;
|
|
56
56
|
multiSelectOptionType: MultiSelectOption;
|
|
@@ -26,9 +26,7 @@ declare function __VLS_template(): {
|
|
|
26
26
|
/**
|
|
27
27
|
* Slot for each option in the dropdown
|
|
28
28
|
*/
|
|
29
|
-
option(
|
|
30
|
-
option: MaSelectOptionType;
|
|
31
|
-
}): unknown;
|
|
29
|
+
option(option: MaSelectOptionType): unknown;
|
|
32
30
|
/**
|
|
33
31
|
* Customize dropdown header area
|
|
34
32
|
*/
|
|
@@ -61,9 +59,7 @@ declare function __VLS_template(): {
|
|
|
61
59
|
/**
|
|
62
60
|
* Slot for each option in the dropdown
|
|
63
61
|
*/
|
|
64
|
-
option(
|
|
65
|
-
option: MaSelectOptionType;
|
|
66
|
-
}): unknown;
|
|
62
|
+
option(option: MaSelectOptionType): unknown;
|
|
67
63
|
/**
|
|
68
64
|
* Customize dropdown header area
|
|
69
65
|
*/
|
|
@@ -203,11 +199,11 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {
|
|
|
203
199
|
loading: boolean;
|
|
204
200
|
value: MaSelectValue;
|
|
205
201
|
options: MaSelectOptionType[];
|
|
206
|
-
|
|
202
|
+
dropdownMatchSelectWidth: boolean;
|
|
207
203
|
showSearch: boolean;
|
|
208
204
|
allowClear: boolean;
|
|
209
205
|
listHeight: number;
|
|
210
|
-
|
|
206
|
+
multiple: boolean;
|
|
211
207
|
compact: boolean;
|
|
212
208
|
searchPlaceholder: string;
|
|
213
209
|
dropdownProps: import("../popover-2/index.vue").MaPopover2Props;
|