@mobileaction/action-kit 1.55.8 → 1.55.9-beta.1
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/CHANGELOG.md +7 -0
- package/dist/Localization.stories.d.ts +5 -0
- package/dist/action-kit.mjs +186 -181
- package/dist/{annotations-BUw14W2j.js → annotations-DzwRKOiX.js} +1 -1
- package/dist/components/app-icon/index.vue.d.ts +3 -3
- package/dist/components/badge/stories/basic.stories.d.ts +2 -2
- package/dist/components/badge/stories/blue.stories.d.ts +2 -2
- package/dist/components/badge/stories/dark.stories.d.ts +2 -2
- package/dist/components/badge/stories/green.stories.d.ts +2 -2
- package/dist/components/badge/stories/orange.stories.d.ts +2 -2
- package/dist/components/badge/stories/pink.stories.d.ts +2 -2
- package/dist/components/badge/stories/purple.stories.d.ts +2 -2
- package/dist/components/badge/stories/red.stories.d.ts +2 -2
- package/dist/components/badge/stories/teal.stories.d.ts +2 -2
- package/dist/components/badge/stories/yellow.stories.d.ts +2 -2
- package/dist/components/cascader/index.vue.d.ts +1 -1
- package/dist/components/cascader/stories/default.stories.d.ts +320 -320
- package/dist/components/chart/components/ChartLoadingContainer.vue.d.ts +9 -0
- package/dist/components/chart/index.vue.d.ts +0 -1
- package/dist/components/checkbox-2/group.vue.d.ts +1 -1
- package/dist/components/date-picker-2/index.vue.d.ts +2 -2
- package/dist/components/date-picker-2/types.d.ts +2 -2
- package/dist/components/icon-button/index.vue.d.ts +1 -1
- package/dist/components/numeric-input/components/singleNumericInput.vue.d.ts +1 -1
- package/dist/components/numeric-input/index.vue.d.ts +1 -1
- package/dist/components/pagination/index.vue.d.ts +2 -2
- package/dist/components/popconfirm/index.vue.d.ts +0 -2
- package/dist/components/popconfirm-2/index.vue.d.ts +0 -2
- package/dist/components/select/index.vue.d.ts +1 -1
- package/dist/components/select-2/index.vue.d.ts +1 -1
- package/dist/components/tag-input/index.vue.d.ts +2 -2
- package/dist/components/upload/index.vue.d.ts +8 -4
- package/dist/config/constants.d.ts +1 -0
- package/dist/config/index.d.ts +4 -0
- package/dist/config/plugin.d.ts +37 -0
- package/dist/config/use-action-kit.d.ts +2 -0
- package/dist/{export-data-PHyrS0OQ.js → export-data-CogMIKLw.js} +1 -1
- package/dist/{exporting-CwyRo4jc.js → exporting-BC5gPbRD.js} +1 -1
- package/dist/{funnel-DSqKqADc.js → funnel-DCKPuShR.js} +1 -1
- package/dist/{index-U9Sur8Rv.js → index-B3BnsEOn.js} +9237 -9132
- package/dist/index.d.ts +2 -2
- package/dist/locales/config-localization.test.d.ts +1 -0
- package/dist/locales/index.d.ts +5 -0
- package/dist/{map-Bjr2fA0p.js → map-BuUu2S2x.js} +1 -1
- package/dist/{offline-exporting-BvjBuD0T.js → offline-exporting-Dl3qVzLd.js} +1 -1
- package/dist/{stock-f17wbqTD.js → stock-CgmqjadN.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/utils/string.d.ts +1 -0
- package/dist/{venn-DbZJyziV.js → venn-DAfzV8Ud.js} +1 -1
- package/dist/{wordcloud-DfSPvQ3j.js → wordcloud-Dpd1_4HN.js} +1 -1
- package/package.json +1 -1
- package/dist/composables/config.d.ts +0 -3
- package/dist/services/config.d.ts +0 -11
|
@@ -13,6 +13,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
13
13
|
type: BooleanConstructor;
|
|
14
14
|
default: boolean;
|
|
15
15
|
};
|
|
16
|
+
loadingText: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
16
20
|
noData: {
|
|
17
21
|
type: BooleanConstructor;
|
|
18
22
|
default: boolean;
|
|
@@ -26,6 +30,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
26
30
|
type: BooleanConstructor;
|
|
27
31
|
default: boolean;
|
|
28
32
|
};
|
|
33
|
+
loadingText: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
29
37
|
noData: {
|
|
30
38
|
type: BooleanConstructor;
|
|
31
39
|
default: boolean;
|
|
@@ -37,6 +45,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
37
45
|
}>> & Readonly<{}>, {
|
|
38
46
|
loading: boolean;
|
|
39
47
|
noData: boolean;
|
|
48
|
+
loadingText: string;
|
|
40
49
|
noDataText: string;
|
|
41
50
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
42
51
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -10,7 +10,6 @@ declare const _default: import("vue").DefineComponent<MaChartProps, {
|
|
|
10
10
|
onChartReady?: (chart: Highcharts.Chart) => any;
|
|
11
11
|
onChartDestroyed?: () => any;
|
|
12
12
|
}>, {
|
|
13
|
-
noDataText: string;
|
|
14
13
|
constructorType: import("./types").ChartConstructorType;
|
|
15
14
|
updateArgs: import("./types").ChartUpdateArgs;
|
|
16
15
|
deepCopyOnUpdate: boolean;
|
|
@@ -23,9 +23,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaCheckbox2GroupPro
|
|
|
23
23
|
onChange?: (value: (string | number)[]) => any;
|
|
24
24
|
"onUpdate:value"?: (value: (string | number)[]) => any;
|
|
25
25
|
}>, {
|
|
26
|
+
value: (string | number)[];
|
|
26
27
|
name: string;
|
|
27
28
|
disabled: boolean;
|
|
28
|
-
value: (string | number)[];
|
|
29
29
|
options: (string | MaCheckbox2GroupOption)[];
|
|
30
30
|
hasError: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -56,11 +56,11 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
|
|
|
56
56
|
onRangeStart?: (...args: any[]) => any;
|
|
57
57
|
onRangeEnd?: (...args: any[]) => any;
|
|
58
58
|
}>, {
|
|
59
|
+
value: import("@vuepic/vue-datepicker").ModelValue;
|
|
59
60
|
size: typeof import("./types").MaDatePickerSizes[number];
|
|
60
61
|
disabled: boolean;
|
|
61
62
|
overlayClassName: string;
|
|
62
63
|
position: typeof import("./types").MaDatePickerPositions[number];
|
|
63
|
-
value: import("@vuepic/vue-datepicker").ModelValue;
|
|
64
64
|
hasError: boolean;
|
|
65
65
|
format: string | ((date: Date) => string) | ((dates: Date[]) => string);
|
|
66
66
|
teleport: boolean | string | HTMLElement;
|
|
@@ -71,7 +71,7 @@ declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps,
|
|
|
71
71
|
preventMinMaxNavigation: boolean;
|
|
72
72
|
clearable: boolean;
|
|
73
73
|
alwaysClearable: boolean;
|
|
74
|
-
|
|
74
|
+
applyButtonTitle: string;
|
|
75
75
|
multiCalendars: boolean;
|
|
76
76
|
hideCalendarIcon: boolean;
|
|
77
77
|
timePicker: boolean;
|
|
@@ -167,10 +167,10 @@ export interface MaDatePickerProps {
|
|
|
167
167
|
*/
|
|
168
168
|
alwaysClearable?: boolean;
|
|
169
169
|
/**
|
|
170
|
-
* The
|
|
170
|
+
* The title of the apply button
|
|
171
171
|
* @default Apply
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
applyButtonTitle?: string;
|
|
174
174
|
/**
|
|
175
175
|
* Enabling this prop will show multiple calendars side by side for range picker.
|
|
176
176
|
* @default false
|
|
@@ -25,10 +25,10 @@ type __VLS_Slots = {} & {
|
|
|
25
25
|
default?: (props: typeof __VLS_16) => any;
|
|
26
26
|
};
|
|
27
27
|
declare const __VLS_component: import("vue").DefineComponent<MaIconButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<MaIconButtonProps> & Readonly<{}>, {
|
|
28
|
+
rounded: boolean;
|
|
28
29
|
size: MaIconButtonSize;
|
|
29
30
|
type: MaIconButtonType;
|
|
30
31
|
disabled: boolean;
|
|
31
|
-
rounded: boolean;
|
|
32
32
|
loading: boolean;
|
|
33
33
|
active: boolean;
|
|
34
34
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<SingleNumericInputProps, {
|
|
|
7
7
|
}, string, import("vue").PublicProps, Readonly<SingleNumericInputProps> & Readonly<{
|
|
8
8
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
9
9
|
}>, {
|
|
10
|
-
focus: boolean;
|
|
11
10
|
value: string;
|
|
11
|
+
focus: boolean;
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
13
13
|
export default _default;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("vue").DefineComponent<MaNumericInputProps, {}, {
|
|
|
12
12
|
}, string, import("vue").PublicProps, Readonly<MaNumericInputProps> & Readonly<{
|
|
13
13
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
14
14
|
}>, {
|
|
15
|
+
value: string;
|
|
15
16
|
length: number;
|
|
16
17
|
size: NumericInputSize;
|
|
17
|
-
value: string;
|
|
18
18
|
placeholderStatus: boolean;
|
|
19
19
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
20
|
export default _default;
|
|
@@ -168,10 +168,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
168
168
|
"onUpdate:perPage"?: (...args: any[]) => any;
|
|
169
169
|
onPerPageChange?: (...args: any[]) => any;
|
|
170
170
|
}>, {
|
|
171
|
-
|
|
171
|
+
rounded: boolean;
|
|
172
|
+
size: "small" | "medium" | "large";
|
|
172
173
|
mode: "simple" | "advanced";
|
|
173
174
|
disabled: boolean;
|
|
174
|
-
rounded: boolean;
|
|
175
175
|
current: number;
|
|
176
176
|
perPage: number;
|
|
177
177
|
totalItems: number;
|
|
@@ -44,8 +44,6 @@ declare const __VLS_component: import("vue").DefineComponent<MaPopconfirmProps,
|
|
|
44
44
|
visible: boolean;
|
|
45
45
|
placement: PopconfirmPlacement;
|
|
46
46
|
showArrow: boolean;
|
|
47
|
-
cancelText: string;
|
|
48
|
-
okText: string;
|
|
49
47
|
showCancel: boolean;
|
|
50
48
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
51
49
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -52,8 +52,6 @@ declare const __VLS_component: import("vue").DefineComponent<Popconfirm2Props, {
|
|
|
52
52
|
showArrow: boolean;
|
|
53
53
|
popoverProps: MaPopover2Props;
|
|
54
54
|
showCancelButton: boolean;
|
|
55
|
-
confirmButtonText: string;
|
|
56
|
-
cancelButtonText: string;
|
|
57
55
|
showConfirmButton: boolean;
|
|
58
56
|
fullWidthButton: boolean;
|
|
59
57
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -68,9 +68,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {},
|
|
|
68
68
|
"onUpdate:value"?: (...args: any[]) => any;
|
|
69
69
|
onDropdownVisibleChange?: (...args: any[]) => any;
|
|
70
70
|
}>, {
|
|
71
|
+
value: string | number | string[] | number[];
|
|
71
72
|
size: SelectSize;
|
|
72
73
|
showArrow: boolean;
|
|
73
|
-
value: string | number | string[] | number[];
|
|
74
74
|
open: boolean;
|
|
75
75
|
listHeight: number;
|
|
76
76
|
dropdownMatchSelectWidth: boolean | number;
|
|
@@ -50,9 +50,9 @@ declare const __VLS_component: import("vue").DefineComponent<MaSelectProps, {
|
|
|
50
50
|
onSearchValueChange?: (...args: any[]) => any;
|
|
51
51
|
onCleared?: (...args: any[]) => any;
|
|
52
52
|
}>, {
|
|
53
|
+
value: MaSelectValue;
|
|
53
54
|
size: import("./types").MaSelectSize;
|
|
54
55
|
disabled: boolean;
|
|
55
|
-
value: MaSelectValue;
|
|
56
56
|
loading: boolean;
|
|
57
57
|
multiple: boolean;
|
|
58
58
|
allowClear: boolean;
|
|
@@ -16,14 +16,14 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
suffix?: (props: typeof __VLS_15) => any;
|
|
17
17
|
};
|
|
18
18
|
declare const __VLS_component: import("vue").DefineComponent<MaTagInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
change: (...args: any[]) => void;
|
|
20
19
|
error: (...args: any[]) => void;
|
|
20
|
+
change: (...args: any[]) => void;
|
|
21
21
|
"update:tags": (...args: any[]) => void;
|
|
22
22
|
added: (...args: any[]) => void;
|
|
23
23
|
removed: (...args: any[]) => void;
|
|
24
24
|
}, string, import("vue").PublicProps, Readonly<MaTagInputProps> & Readonly<{
|
|
25
|
-
onChange?: (...args: any[]) => any;
|
|
26
25
|
onError?: (...args: any[]) => any;
|
|
26
|
+
onChange?: (...args: any[]) => any;
|
|
27
27
|
"onUpdate:tags"?: (...args: any[]) => any;
|
|
28
28
|
onAdded?: (...args: any[]) => any;
|
|
29
29
|
onRemoved?: (...args: any[]) => any;
|
|
@@ -19,22 +19,26 @@ export interface MaUploadProps {
|
|
|
19
19
|
description?: string;
|
|
20
20
|
wait?: boolean;
|
|
21
21
|
}
|
|
22
|
-
declare var __VLS_14: {}, __VLS_29: {}, __VLS_31: {};
|
|
22
|
+
declare var __VLS_14: {}, __VLS_29: {}, __VLS_31: {}, __VLS_33: {}, __VLS_35: {};
|
|
23
23
|
type __VLS_Slots = {} & {
|
|
24
24
|
'small-box-title'?: (props: typeof __VLS_14) => any;
|
|
25
25
|
} & {
|
|
26
26
|
'box-title'?: (props: typeof __VLS_29) => any;
|
|
27
27
|
} & {
|
|
28
|
-
'box-
|
|
28
|
+
'box-title'?: (props: typeof __VLS_31) => any;
|
|
29
|
+
} & {
|
|
30
|
+
'box-description'?: (props: typeof __VLS_33) => any;
|
|
31
|
+
} & {
|
|
32
|
+
'box-description'?: (props: typeof __VLS_35) => any;
|
|
29
33
|
};
|
|
30
34
|
declare const __VLS_component: import("vue").DefineComponent<MaUploadProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
31
|
-
change: (...args: any[]) => void;
|
|
32
35
|
error: (...args: any[]) => void;
|
|
36
|
+
change: (...args: any[]) => void;
|
|
33
37
|
remove: (...args: any[]) => void;
|
|
34
38
|
"update:fileList": (...args: any[]) => void;
|
|
35
39
|
}, string, import("vue").PublicProps, Readonly<MaUploadProps> & Readonly<{
|
|
36
|
-
onChange?: (...args: any[]) => any;
|
|
37
40
|
onError?: (...args: any[]) => any;
|
|
41
|
+
onChange?: (...args: any[]) => any;
|
|
38
42
|
onRemove?: (...args: any[]) => any;
|
|
39
43
|
"onUpdate:fileList"?: (...args: any[]) => any;
|
|
40
44
|
}>, {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ActionKitSymbol: unique symbol;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { App } from 'vue';
|
|
2
|
+
import type { ActionKitConfigOptions } from './config';
|
|
3
|
+
export declare const defaultOptions: {
|
|
4
|
+
locale: {
|
|
5
|
+
total: string;
|
|
6
|
+
itemsPerPage: string;
|
|
7
|
+
page: string;
|
|
8
|
+
dragDrop: string;
|
|
9
|
+
clickToUpload: string;
|
|
10
|
+
or: string;
|
|
11
|
+
uploading: string;
|
|
12
|
+
removeFile: string;
|
|
13
|
+
selectFile: string;
|
|
14
|
+
maxFileSizeMessage: string;
|
|
15
|
+
allowedFileTypesMessage: string;
|
|
16
|
+
ok: string;
|
|
17
|
+
cancel: string;
|
|
18
|
+
confirm: string;
|
|
19
|
+
noData: string;
|
|
20
|
+
loading: string;
|
|
21
|
+
aria: {
|
|
22
|
+
close: string;
|
|
23
|
+
closeDrawer: string;
|
|
24
|
+
closeModal: string;
|
|
25
|
+
expandModal: string;
|
|
26
|
+
collapseModal: string;
|
|
27
|
+
page: string;
|
|
28
|
+
pagination: string;
|
|
29
|
+
prev: string;
|
|
30
|
+
goNextPage: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
declare const _default: {
|
|
35
|
+
install: (app: App, options?: ActionKitConfigOptions) => void;
|
|
36
|
+
};
|
|
37
|
+
export default _default;
|