@mobileaction/action-kit 1.1.47 → 1.1.49
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 +4 -4
- package/dist/action-kit.mjs +878 -812
- package/dist/components/country-select/index.vue.d.ts +112 -0
- package/dist/components/country-select/types.d.ts +4 -0
- package/dist/components/select/index.vue.d.ts +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/src/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
import { MaCountry } from "./types";
|
|
3
|
+
import { SelectSize } from "../select/types";
|
|
4
|
+
export interface MaCountrySelectProps {
|
|
5
|
+
value: string | string[] | null;
|
|
6
|
+
filterFn?: Function;
|
|
7
|
+
countries: MaCountry[];
|
|
8
|
+
size?: SelectSize;
|
|
9
|
+
showSearch?: boolean;
|
|
10
|
+
dropdownMatchSelectWidth?: boolean | number;
|
|
11
|
+
listHeight?: number;
|
|
12
|
+
showSelectedCountryCode?: boolean;
|
|
13
|
+
placeholder?: string;
|
|
14
|
+
}
|
|
15
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
16
|
+
value: {
|
|
17
|
+
type: __PropType<string | string[]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
filterFn: {
|
|
21
|
+
type: __PropType<Function>;
|
|
22
|
+
required: false;
|
|
23
|
+
default: (searchTerm: string, country: MaCountry) => boolean;
|
|
24
|
+
};
|
|
25
|
+
countries: {
|
|
26
|
+
type: __PropType<MaCountry[]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
size: {
|
|
30
|
+
type: __PropType<"default" | "small" | "large">;
|
|
31
|
+
required: false;
|
|
32
|
+
default: string;
|
|
33
|
+
};
|
|
34
|
+
showSearch: {
|
|
35
|
+
type: __PropType<boolean>;
|
|
36
|
+
required: false;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
39
|
+
dropdownMatchSelectWidth: {
|
|
40
|
+
type: __PropType<number | boolean>;
|
|
41
|
+
required: false;
|
|
42
|
+
default: number;
|
|
43
|
+
};
|
|
44
|
+
listHeight: {
|
|
45
|
+
type: __PropType<number>;
|
|
46
|
+
required: false;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
showSelectedCountryCode: {
|
|
50
|
+
type: __PropType<boolean>;
|
|
51
|
+
required: false;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
placeholder: {
|
|
55
|
+
type: __PropType<string>;
|
|
56
|
+
required: false;
|
|
57
|
+
};
|
|
58
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:value")[], "change" | "update:value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
value: {
|
|
60
|
+
type: __PropType<string | string[]>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
filterFn: {
|
|
64
|
+
type: __PropType<Function>;
|
|
65
|
+
required: false;
|
|
66
|
+
default: (searchTerm: string, country: MaCountry) => boolean;
|
|
67
|
+
};
|
|
68
|
+
countries: {
|
|
69
|
+
type: __PropType<MaCountry[]>;
|
|
70
|
+
required: true;
|
|
71
|
+
};
|
|
72
|
+
size: {
|
|
73
|
+
type: __PropType<"default" | "small" | "large">;
|
|
74
|
+
required: false;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
77
|
+
showSearch: {
|
|
78
|
+
type: __PropType<boolean>;
|
|
79
|
+
required: false;
|
|
80
|
+
default: boolean;
|
|
81
|
+
};
|
|
82
|
+
dropdownMatchSelectWidth: {
|
|
83
|
+
type: __PropType<number | boolean>;
|
|
84
|
+
required: false;
|
|
85
|
+
default: number;
|
|
86
|
+
};
|
|
87
|
+
listHeight: {
|
|
88
|
+
type: __PropType<number>;
|
|
89
|
+
required: false;
|
|
90
|
+
default: number;
|
|
91
|
+
};
|
|
92
|
+
showSelectedCountryCode: {
|
|
93
|
+
type: __PropType<boolean>;
|
|
94
|
+
required: false;
|
|
95
|
+
default: boolean;
|
|
96
|
+
};
|
|
97
|
+
placeholder: {
|
|
98
|
+
type: __PropType<string>;
|
|
99
|
+
required: false;
|
|
100
|
+
};
|
|
101
|
+
}>> & {
|
|
102
|
+
onChange?: (...args: any[]) => any;
|
|
103
|
+
"onUpdate:value"?: (...args: any[]) => any;
|
|
104
|
+
}, {
|
|
105
|
+
size: "default" | "small" | "large";
|
|
106
|
+
filterFn: Function;
|
|
107
|
+
showSearch: boolean;
|
|
108
|
+
dropdownMatchSelectWidth: number | boolean;
|
|
109
|
+
listHeight: number;
|
|
110
|
+
showSelectedCountryCode: boolean;
|
|
111
|
+
}>;
|
|
112
|
+
export default _sfc_main;
|
|
@@ -239,8 +239,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
239
239
|
value: string | number | string[] | number[];
|
|
240
240
|
size: "default" | "small" | "large";
|
|
241
241
|
open: boolean;
|
|
242
|
+
listHeight: number;
|
|
242
243
|
autoClearSearchValue: boolean;
|
|
243
244
|
menuItemSelectedIcon: string;
|
|
244
|
-
listHeight: number;
|
|
245
245
|
}>;
|
|
246
246
|
export default _sfc_main;
|
package/dist/index.d.ts
CHANGED
|
@@ -59,5 +59,6 @@ export { default as MaAutoComplete } from './components/autocomplete/index.vue';
|
|
|
59
59
|
export { default as MaTabs } from './components/tabs/index.vue';
|
|
60
60
|
export * from './components/tabs/types';
|
|
61
61
|
export { default as MaTabPane } from './components/tabs/components/tabPane.vue';
|
|
62
|
+
export { default as MaCountrySelect } from './components/country-select/index.vue';
|
|
62
63
|
export { ActionKitConfig } from './services/config';
|
|
63
64
|
export { useActionKitConfig } from './composables/config';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -60,5 +60,6 @@ export { default as MaAutoComplete } from './components/autocomplete/index.vue';
|
|
|
60
60
|
export { default as MaTabs } from './components/tabs/index.vue';
|
|
61
61
|
export * from './components/tabs/types';
|
|
62
62
|
export { default as MaTabPane } from './components/tabs/components/tabPane.vue';
|
|
63
|
+
export { default as MaCountrySelect } from './components/country-select/index.vue';
|
|
63
64
|
export { ActionKitConfig } from './services/config';
|
|
64
65
|
export { useActionKitConfig } from './composables/config';
|