@mobileaction/action-kit 1.55.11 → 1.55.12
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 +11 -0
- package/dist/action-kit.mjs +199 -194
- package/dist/{annotations-kyKV0sLe.js → annotations-B6qEhZQd.js} +1 -1
- package/dist/components/cascader/stories/default.stories.d.ts +736 -736
- package/dist/components/chart/index.vue.d.ts +4 -5
- package/dist/components/chart/types.d.ts +4 -3
- package/dist/components/radio-card/index.vue.d.ts +6 -1
- package/dist/config/plugin.d.ts +4 -1
- package/dist/config/types.d.ts +7 -0
- package/dist/config/use-action-kit.d.ts +1 -1
- package/dist/{export-data-CLn7pP9T.js → export-data-Qcf4lxTt.js} +1 -1
- package/dist/{exporting-BTKGXorM.js → exporting-DC-cErZq.js} +11 -11
- package/dist/{funnel-DKCGK0C1.js → funnel-CZtLf9B_.js} +10 -10
- package/dist/{index-HRyHV1rP.js → index-BMJ65LdY.js} +4887 -4853
- package/dist/index.d.ts +43 -33
- package/dist/locales/types.d.ts +34 -0
- package/dist/{map-BE2Es3xO.js → map-CIpGy_Vm.js} +1 -1
- package/dist/{offline-exporting-BCAnW-Iu.js → offline-exporting-BXituUv8.js} +10 -10
- package/dist/{stock-B-VO9Sdj.js → stock-DosFlgo5.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/table.css +6 -0
- package/dist/{venn-DM7XImYO.js → venn-GMrygww-.js} +13 -13
- package/dist/{wordcloud-lhPkc6jG.js → wordcloud-CsQoVOzY.js} +5 -5
- package/package.json +2 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/locales/index.d.ts +0 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,49 +1,50 @@
|
|
|
1
1
|
import './tailwind.scss';
|
|
2
|
-
export { default as MaAlert } from './components/alert/index.vue';
|
|
3
2
|
export * from './components/alert/types';
|
|
4
|
-
export { default as
|
|
3
|
+
export { default as MaAlert } from './components/alert/index.vue';
|
|
5
4
|
export * from './components/animation/types';
|
|
6
|
-
export { default as
|
|
5
|
+
export { default as MaAnimation } from './components/animation/index.vue';
|
|
7
6
|
export * from './components/app-icon/types';
|
|
7
|
+
export { default as MaAppIcon } from './components/app-icon/index.vue';
|
|
8
8
|
export { default as MaAppTrackButton } from './components/app-track-button/index.vue';
|
|
9
9
|
export { default as MaAvatar } from './components/avatar/index.vue';
|
|
10
|
-
export { default as MaBadge } from './components/badge/index.vue';
|
|
11
10
|
export * from './components/badge/types';
|
|
11
|
+
export { default as MaBadge } from './components/badge/index.vue';
|
|
12
|
+
export * from './components/button/types';
|
|
12
13
|
export { default as MaButton } from './components/button/index.vue';
|
|
13
14
|
export { default as MaLinkButton } from './components/button/link-button/index.vue';
|
|
14
15
|
export { default as MaSocialButton } from './components/button/social-button/index.vue';
|
|
15
|
-
export * from './components/button/types';
|
|
16
|
-
export { default as MaCard } from './components/card/index.vue';
|
|
17
16
|
export * from './components/card/types';
|
|
17
|
+
export { default as MaCard } from './components/card/index.vue';
|
|
18
|
+
export * from './components/cascader/types';
|
|
18
19
|
export { default as MaCascader } from './components/cascader/index.vue';
|
|
19
|
-
export { default as MaChart } from './components/chart/index.vue';
|
|
20
20
|
export * from './components/chart/types';
|
|
21
|
+
export { default as MaChart } from './components/chart/index.vue';
|
|
21
22
|
export { maChartDefaultOptions } from './components/chart/utils';
|
|
22
23
|
export { default as MaCheckbox2Card } from './components/checkbox-2/card.vue';
|
|
23
24
|
export { default as MaCheckbox2Group } from './components/checkbox-2/group.vue';
|
|
24
25
|
export { default as MaCheckbox2 } from './components/checkbox-2/index.vue';
|
|
25
26
|
export { default as MaCheckboxGroup } from './components/checkbox/group.vue';
|
|
26
27
|
export { default as MaCheckbox } from './components/checkbox/index.vue';
|
|
28
|
+
export * from './components/collapse/types';
|
|
27
29
|
export { default as MaCollapseItem } from './components/collapse/components/CollapseItem.vue';
|
|
28
30
|
export { default as MaCollapse } from './components/collapse/index.vue';
|
|
29
|
-
export * from './components/collapse/types';
|
|
30
31
|
export { default as MaContentScroller } from './components/content-scroller/index.vue';
|
|
31
32
|
export { default as MaCountryRadio } from './components/country-radio/index.vue';
|
|
32
33
|
export { default as MaCountrySelect } from './components/country-select/index.vue';
|
|
33
34
|
export { default as MaDatePicker2 } from './components/date-picker-2/index.vue';
|
|
34
35
|
export { default as MaDatePicker } from './components/date-picker/index.vue';
|
|
36
|
+
export * from './components/dropdown/types';
|
|
35
37
|
export { default as MaDrawer } from './components/drawer/index.vue';
|
|
36
38
|
export { default as MaDropdown } from './components/dropdown/index.vue';
|
|
37
|
-
export * from './components/dropdown/types';
|
|
38
39
|
export { default as MaEllipsis } from './components/ellipsis/index.vue';
|
|
39
40
|
export { default as MaEmpty } from './components/empty/index.vue';
|
|
40
41
|
export * from './components/empty/types';
|
|
41
42
|
export { default as MaFormItem } from './components/form-item/index.vue';
|
|
42
|
-
export { default as MaForm } from './components/form/index.vue';
|
|
43
43
|
export * from './components/form/types';
|
|
44
|
-
export { default as
|
|
45
|
-
export { default as MaIcon } from './components/icon/index.vue';
|
|
44
|
+
export { default as MaForm } from './components/form/index.vue';
|
|
46
45
|
export * from './components/icon/types';
|
|
46
|
+
export { default as MaIcon } from './components/icon/index.vue';
|
|
47
|
+
export { default as MaIconButton } from './components/icon-button/index.vue';
|
|
47
48
|
export { loadIcon } from './components/icon/utils';
|
|
48
49
|
export { default as MaImageGroup2 } from './components/image-2/group.vue';
|
|
49
50
|
export { default as MaImage2 } from './components/image-2/index.vue';
|
|
@@ -51,81 +52,90 @@ export { default as MaImagePreview } from './components/image-2/preview.vue';
|
|
|
51
52
|
export { default as MaImageGroup } from './components/image/group.vue';
|
|
52
53
|
export { default as MaImage } from './components/image/index.vue';
|
|
53
54
|
export { default as MaInputNumber } from './components/input-number/index.vue';
|
|
54
|
-
export { default as MaInput } from './components/input/index.vue';
|
|
55
55
|
export * from './components/input/types';
|
|
56
|
+
export { default as MaInput } from './components/input/index.vue';
|
|
56
57
|
export { default as MaMenuItem } from './components/menu/components/MenuItem.vue';
|
|
57
58
|
export { default as MaMenu } from './components/menu/index.vue';
|
|
58
59
|
export * from './components/modal-2';
|
|
59
60
|
export { default as MaModal } from './components/modal/index';
|
|
60
61
|
export * from './components/modal/types';
|
|
61
62
|
export * as MaNotification from './components/notification/index';
|
|
62
|
-
export { default as MaNumericInput } from './components/numeric-input/index.vue';
|
|
63
63
|
export * from './components/numeric-input/types';
|
|
64
|
+
export { default as MaNumericInput } from './components/numeric-input/index.vue';
|
|
65
|
+
export * from './components/pagination/types';
|
|
64
66
|
export { default as MaPagination } from './components/pagination/index.vue';
|
|
65
|
-
export { default as MaPopconfirm2 } from './components/popconfirm-2/index.vue';
|
|
66
67
|
export * from './components/popconfirm-2/types';
|
|
68
|
+
export { default as MaPopconfirm2 } from './components/popconfirm-2/index.vue';
|
|
67
69
|
export { default as MaPopconfirm } from './components/popconfirm/index.vue';
|
|
68
70
|
export { default as MaPopover2 } from './components/popover-2/index.vue';
|
|
69
71
|
export * from './components/popover-2/types';
|
|
70
72
|
export { default as MaPopover } from './components/popover/index.vue';
|
|
71
|
-
export { default as MaProgress } from './components/progress/index.vue';
|
|
72
73
|
export * from './components/progress/types';
|
|
73
|
-
export { default as
|
|
74
|
+
export { default as MaProgress } from './components/progress/index.vue';
|
|
75
|
+
export * from './components/radio/types';
|
|
74
76
|
export { default as MaRadioGroup } from './components/radio/group.vue';
|
|
75
77
|
export { default as MaRadio } from './components/radio/index.vue';
|
|
76
|
-
export
|
|
77
|
-
export { default as MaRate } from './components/rate/index.vue';
|
|
78
|
+
export { default as MaRadioCard } from './components/radio-card/index.vue';
|
|
78
79
|
export * from './components/rate/types';
|
|
80
|
+
export { default as MaRate } from './components/rate/index.vue';
|
|
79
81
|
export { default as MaResult } from './components/result/index.vue';
|
|
80
82
|
export { default as MaSelect2Option } from './components/select-2/components/selectOption.vue';
|
|
81
83
|
export { default as MaSelect2OptionGroup } from './components/select-2/components/selectOptionGroup.vue';
|
|
82
84
|
export { default as MaSelect2 } from './components/select-2/index.vue';
|
|
83
85
|
export { default as MaSelectOption } from './components/select/components/option.vue';
|
|
84
|
-
export { default as MaSelect } from './components/select/index.vue';
|
|
85
86
|
export * from './components/select/types';
|
|
86
|
-
export { default as
|
|
87
|
+
export { default as MaSelect } from './components/select/index.vue';
|
|
87
88
|
export * from './components/side-menu-2/menu-button/types';
|
|
89
|
+
export { default as MaSideMenuButton2 } from './components/side-menu-2/menu-button/index.vue';
|
|
88
90
|
export { default as MaSideMenuItem2 } from './components/side-menu-2/menu-item/index.vue';
|
|
89
91
|
export { default as MaSideMenuAddNewAppButton } from './components/side-menu/add-new-app-button/index.vue';
|
|
90
92
|
export { default as MaSideMenuAppButton } from './components/side-menu/app-button/index.vue';
|
|
93
|
+
export * from './components/side-menu/menu-item/types';
|
|
94
|
+
export { default as MaSideMenuItem } from './components/side-menu/menu-item/index.vue';
|
|
91
95
|
export { default as MaSideMenuButton } from './components/side-menu/button/index.vue';
|
|
92
96
|
export { default as MaSideMenuIconButton } from './components/side-menu/icon-button/index.vue';
|
|
93
|
-
export { default as MaSideMenuItem } from './components/side-menu/menu-item/index.vue';
|
|
94
|
-
export * from './components/side-menu/menu-item/types';
|
|
95
97
|
export { default as MaSideMenuRoundIconButton } from './components/side-menu/round-icon-button/index.vue';
|
|
96
98
|
export { default as MaSlider } from './components/slider/index.vue';
|
|
97
99
|
export { default as MaSpin } from './components/spin/index.vue';
|
|
98
100
|
export * from './components/spin/types';
|
|
99
|
-
export { default as MaStepItem } from './components/step-items/components/index.vue';
|
|
100
|
-
export { default as MaStepItems } from './components/step-items/index.vue';
|
|
101
101
|
export { default as MaStep } from './components/steps/components/index.vue';
|
|
102
102
|
export { default as MaSteps } from './components/steps/index.vue';
|
|
103
|
-
export { default as
|
|
103
|
+
export { default as MaStepItem } from './components/step-items/components/index.vue';
|
|
104
|
+
export { default as MaStepItems } from './components/step-items/index.vue';
|
|
104
105
|
export * from './components/switch/types';
|
|
106
|
+
export { default as MaSwitch } from './components/switch/index.vue';
|
|
107
|
+
export * from './components/steps/types';
|
|
108
|
+
export * from './components/tabs-2/types';
|
|
105
109
|
export { default as MaTabButton2 } from './components/tabs-2/components/tabButton.vue';
|
|
106
110
|
export { default as MaTabPane2 } from './components/tabs-2/components/tabPane.vue';
|
|
107
111
|
export { default as MaTabs2 } from './components/tabs-2/index.vue';
|
|
108
|
-
export * from './components/tabs
|
|
112
|
+
export * from './components/tabs/types';
|
|
109
113
|
export { default as MaTabPane } from './components/tabs/components/tabPane.vue';
|
|
110
114
|
export { default as MaTabs } from './components/tabs/index.vue';
|
|
111
|
-
export * from './components/tabs/types';
|
|
112
115
|
export { default as MaTagInput } from './components/tag-input/index.vue';
|
|
113
116
|
export { default as MaToggle } from './components/toggle/index.vue';
|
|
114
117
|
export * from './components/toggle/types';
|
|
115
|
-
export { default as MaTooltip2 } from './components/tooltip-2/index.vue';
|
|
116
118
|
export * from './components/tooltip-2/types';
|
|
117
|
-
export { default as
|
|
119
|
+
export { default as MaTooltip2 } from './components/tooltip-2/index.vue';
|
|
118
120
|
export * from './components/tooltip/types';
|
|
121
|
+
export { default as MaTooltip } from './components/tooltip/index.vue';
|
|
119
122
|
export { default as MaTrackButton } from './components/track-button/index.vue';
|
|
120
123
|
export * from './components/track-button/types';
|
|
121
124
|
export { default as MaTree } from './components/tree/index.vue';
|
|
122
125
|
export * from './components/tree/types';
|
|
123
126
|
export { default as MaTypography } from './components/typography/index.vue';
|
|
127
|
+
export * from './components/upload/types';
|
|
124
128
|
export * from './components/typography/types';
|
|
125
129
|
export { default as MaUpload } from './components/upload/index.vue';
|
|
126
|
-
export * from './components/upload/types';
|
|
127
130
|
export { default as MaWatchlistButton } from './components/watchlist-button/index.vue';
|
|
128
|
-
export * from './config';
|
|
131
|
+
export * from './config/types';
|
|
132
|
+
export { default as ActionKit } from './config/plugin';
|
|
133
|
+
export { ActionKitSymbol } from './config/constants';
|
|
134
|
+
export { useActionKit } from './config/use-action-kit';
|
|
129
135
|
export { maCountry } from './lib/country/country';
|
|
130
|
-
export * from './locales';
|
|
136
|
+
export * from './locales/types';
|
|
137
|
+
export { default as ACTION_KIT_LOCALE_EN } from './locales/en.json';
|
|
138
|
+
export { default as ACTION_KIT_LOCALE_JA } from './locales/ja.json';
|
|
139
|
+
export { default as ACTION_KIT_LOCALE_KO } from './locales/ko.json';
|
|
140
|
+
export { default as ACTION_KIT_LOCALE_ZH } from './locales/zh.json';
|
|
131
141
|
export { SelectOptGroup as MaSelectOptGroup } from 'ant-design-vue';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export type ActionKitSupportedLocales = 'en' | 'zh' | 'ja' | 'ko';
|
|
2
|
+
export interface ActionKitLocaleAriaOptions {
|
|
3
|
+
close?: string;
|
|
4
|
+
closeDrawer?: string;
|
|
5
|
+
closeModal?: string;
|
|
6
|
+
expandModal?: string;
|
|
7
|
+
collapseModal?: string;
|
|
8
|
+
page?: string;
|
|
9
|
+
pagination?: string;
|
|
10
|
+
prev?: string;
|
|
11
|
+
goNextPage?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ActionKitLocaleOptions {
|
|
14
|
+
total?: string;
|
|
15
|
+
itemsPerPage?: string;
|
|
16
|
+
page?: string;
|
|
17
|
+
dragDrop?: string;
|
|
18
|
+
clickToUpload?: string;
|
|
19
|
+
or?: string;
|
|
20
|
+
uploading?: string;
|
|
21
|
+
removeFile?: string;
|
|
22
|
+
selectFile?: string;
|
|
23
|
+
maxFileSizeMessage?: string;
|
|
24
|
+
allowedFileTypesMessage?: string;
|
|
25
|
+
ok?: string;
|
|
26
|
+
cancel?: string;
|
|
27
|
+
confirm?: string;
|
|
28
|
+
noData?: string;
|
|
29
|
+
loading?: string;
|
|
30
|
+
search?: string;
|
|
31
|
+
itemSelected?: string;
|
|
32
|
+
itemsSelected?: string;
|
|
33
|
+
aria?: ActionKitLocaleAriaOptions;
|
|
34
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as it } from "./index-
|
|
1
|
+
import { g as it } from "./index-BMJ65LdY.js";
|
|
2
2
|
function lt(O, B) {
|
|
3
3
|
for (var m = 0; m < B.length; m++) {
|
|
4
4
|
const x = B[m];
|
|
@@ -15,9 +15,9 @@ function lt(O, B) {
|
|
|
15
15
|
}
|
|
16
16
|
return Object.freeze(Object.defineProperty(O, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
var R = { exports: {} }, st = R.exports,
|
|
18
|
+
var R = { exports: {} }, st = R.exports, T;
|
|
19
19
|
function ft() {
|
|
20
|
-
return
|
|
20
|
+
return T || (T = 1, function(O, B) {
|
|
21
21
|
/**
|
|
22
22
|
* Highcharts JS v12.3.0 (2025-06-21)
|
|
23
23
|
* @module highcharts/modules/offline-exporting
|
|
@@ -56,7 +56,7 @@ function ft() {
|
|
|
56
56
|
f.d(_, { default: () => at });
|
|
57
57
|
var V = f(944), b = f.n(V);
|
|
58
58
|
let { isSafari: I, win: d, win: { document: L } } = b(), { error: z } = b(), H = d.URL || d.webkitURL || d;
|
|
59
|
-
function
|
|
59
|
+
function $(t) {
|
|
60
60
|
let o = t.replace(/filename=.*;/, "").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);
|
|
61
61
|
if (o && o.length > 3 && d.atob && d.ArrayBuffer && d.Uint8Array && d.Blob && H.createObjectURL) {
|
|
62
62
|
let n = d.atob(o[3]), u = new d.ArrayBuffer(n.length), e = new d.Uint8Array(u);
|
|
@@ -64,12 +64,12 @@ function ft() {
|
|
|
64
64
|
return H.createObjectURL(new d.Blob([e], { type: o[1] }));
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
let C = { dataURLtoBlob:
|
|
67
|
+
let C = { dataURLtoBlob: $, downloadURL: function(t, o) {
|
|
68
68
|
let n = d.navigator, u = L.createElement("a");
|
|
69
69
|
if (typeof t != "string" && !(t instanceof String) && n.msSaveOrOpenBlob) return void n.msSaveOrOpenBlob(t, o);
|
|
70
70
|
if (t = "" + t, n.userAgent.length > 1e3) throw Error("Input too long");
|
|
71
71
|
let e = /Edge\/\d+/.test(n.userAgent);
|
|
72
|
-
if ((I && typeof t == "string" && t.indexOf("data:application/pdf") === 0 || e || t.length > 2e6) && !(t =
|
|
72
|
+
if ((I && typeof t == "string" && t.indexOf("data:application/pdf") === 0 || e || t.length > 2e6) && !(t = $(t) || "")) throw Error("Failed to convert to blob");
|
|
73
73
|
if (u.download !== void 0) u.href = t, u.download = o, L.body.appendChild(u), u.click(), L.body.removeChild(u);
|
|
74
74
|
else try {
|
|
75
75
|
if (!d.open(t, "chart")) throw Error("Failed to open window");
|
|
@@ -87,7 +87,7 @@ function ft() {
|
|
|
87
87
|
});
|
|
88
88
|
} };
|
|
89
89
|
var M = f(660), Z = f.n(M), J = f(960), K = f.n(J);
|
|
90
|
-
let Q = { exporting: {} }, { getOptions: W, setOptions: X } = b(), { downloadURL: Y, getScript:
|
|
90
|
+
let Q = { exporting: {} }, { getOptions: W, setOptions: X } = b(), { downloadURL: Y, getScript: q } = C, { composed: tt, doc: et, win: j } = b(), { addEvent: ot, extend: rt, pushUnique: nt } = b();
|
|
91
91
|
(function(t) {
|
|
92
92
|
async function o(e, a, g, p) {
|
|
93
93
|
let l = function(s, h) {
|
|
@@ -160,7 +160,7 @@ function ft() {
|
|
|
160
160
|
h?.();
|
|
161
161
|
try {
|
|
162
162
|
let { type: r, filename: y, scale: i, libURL: F } = b().Exporting.prepareImageOptions(l);
|
|
163
|
-
r === "application/pdf" && (j.jspdf?.jsPDF || (await
|
|
163
|
+
r === "application/pdf" && (j.jspdf?.jsPDF || (await q(`${F}jspdf.js`), await q(`${F}svg2pdf.js`)), await o(p, i, y, l?.pdfFont));
|
|
164
164
|
} catch (r) {
|
|
165
165
|
await s?.fallbackToServer(l, r);
|
|
166
166
|
}
|
|
@@ -175,8 +175,8 @@ function ft() {
|
|
|
175
175
|
await b().Exporting.prototype.downloadSVG.call(void 0, e, a);
|
|
176
176
|
};
|
|
177
177
|
})(E || (E = {}));
|
|
178
|
-
let
|
|
179
|
-
S.dataURLtoBlob = S.dataURLtoBlob || C.dataURLtoBlob, S.downloadSVGLocal =
|
|
178
|
+
let D = E, S = b();
|
|
179
|
+
S.dataURLtoBlob = S.dataURLtoBlob || C.dataURLtoBlob, S.downloadSVGLocal = D.downloadSVGLocal, S.downloadURL = S.downloadURL || C.downloadURL, D.compose(S.Exporting);
|
|
180
180
|
let at = b();
|
|
181
181
|
return _.default;
|
|
182
182
|
})());
|