@mobileaction/action-kit 1.55.11 → 1.55.12-beta.0
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-CqDoD3cm.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/components/select-2/index.vue.d.ts +4 -0
- 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-B3X-19CF.js} +1 -1
- package/dist/{exporting-BTKGXorM.js → exporting-DBJiTTNi.js} +11 -11
- package/dist/{funnel-DKCGK0C1.js → funnel-DVffTPgh.js} +10 -10
- package/dist/{index-HRyHV1rP.js → index-3mtfxEqv.js} +7126 -7089
- package/dist/index.d.ts +43 -33
- package/dist/locales/types.d.ts +34 -0
- package/dist/{map-BE2Es3xO.js → map-9GpqkwC2.js} +1 -1
- package/dist/{offline-exporting-BCAnW-Iu.js → offline-exporting-BSEnjJRF.js} +10 -10
- package/dist/{stock-B-VO9Sdj.js → stock-a7_JPP9p.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/table.css +6 -0
- package/dist/{venn-DM7XImYO.js → venn-CMY1BSH9.js} +13 -13
- package/dist/{wordcloud-lhPkc6jG.js → wordcloud-CUlGOwx6.js} +5 -5
- package/package.json +5 -2
- package/dist/config/index.d.ts +0 -4
- package/dist/locales/index.d.ts +0 -5
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import type { MaChartProps } from './types';
|
|
2
|
-
|
|
3
|
-
declare function getChart(): Highcharts.Chart;
|
|
1
|
+
import type { ChartConstructor, MaChartProps } from './types';
|
|
2
|
+
declare function getChart(): ChartConstructor;
|
|
4
3
|
declare const _default: import("vue").DefineComponent<MaChartProps, {
|
|
5
4
|
getChart: typeof getChart;
|
|
6
5
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
7
|
-
chartReady: (chart:
|
|
6
|
+
chartReady: (chart: ChartConstructor) => any;
|
|
8
7
|
chartDestroyed: () => any;
|
|
9
8
|
}, string, import("vue").PublicProps, Readonly<MaChartProps> & Readonly<{
|
|
10
|
-
onChartReady?: (chart:
|
|
9
|
+
onChartReady?: (chart: ChartConstructor) => any;
|
|
11
10
|
onChartDestroyed?: () => any;
|
|
12
11
|
}>, {
|
|
13
12
|
constructorType: import("./types").ChartConstructorType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type Highcharts from 'highcharts';
|
|
2
|
+
export type * from 'highcharts';
|
|
2
3
|
export interface MaChartEvents {
|
|
3
4
|
/**
|
|
4
5
|
* Triggered when the chart is loaded.
|
|
@@ -103,10 +104,10 @@ export interface MaChartProps {
|
|
|
103
104
|
*/
|
|
104
105
|
suppressDefaultOptions?: boolean;
|
|
105
106
|
}
|
|
106
|
-
export type
|
|
107
|
-
export type ChartConstructorType =
|
|
108
|
-
export type ChartConstructor = Highcharts.Chart;
|
|
107
|
+
export type ChartConstructor = Highcharts.Chart | Highcharts.StockChart | Highcharts.MapChart;
|
|
108
|
+
export type ChartConstructorType = 'chart' | 'stockChart' | 'mapChart';
|
|
109
109
|
export type ChartOptions = Highcharts.Options;
|
|
110
|
+
export type ChartSeriesOptionsType = Highcharts.SeriesOptionsType;
|
|
110
111
|
export type ChartUpdateArgs = [boolean] | [boolean, boolean] | [boolean, boolean, boolean];
|
|
111
112
|
export type ChartModuleName = 'stock' | 'map' | 'wordcloud' | 'venn' | 'funnel' | 'annotations' | 'exporting' | 'offline-exporting' | 'export-data';
|
|
112
113
|
export interface ModulesToLoad {
|
|
@@ -3,6 +3,8 @@ export interface MaRadioCardProps extends RadioProps {
|
|
|
3
3
|
text?: string;
|
|
4
4
|
hint?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
|
+
width?: string;
|
|
7
|
+
height?: string;
|
|
6
8
|
}
|
|
7
9
|
declare var __VLS_8: {}, __VLS_10: {}, __VLS_12: {};
|
|
8
10
|
type __VLS_Slots = {} & {
|
|
@@ -16,7 +18,10 @@ declare const __VLS_component: import("vue").DefineComponent<MaRadioCardProps, {
|
|
|
16
18
|
"update:checked": (...args: any[]) => void;
|
|
17
19
|
}, string, import("vue").PublicProps, Readonly<MaRadioCardProps> & Readonly<{
|
|
18
20
|
"onUpdate:checked"?: (...args: any[]) => any;
|
|
19
|
-
}>, {
|
|
21
|
+
}>, {
|
|
22
|
+
width: string;
|
|
23
|
+
height: string;
|
|
24
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
25
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
21
26
|
export default _default;
|
|
22
27
|
type __VLS_WithSlots<T, S> = T & {
|
package/dist/config/plugin.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { App } from 'vue';
|
|
2
|
-
import type { ActionKitConfigOptions } from './
|
|
2
|
+
import type { ActionKitConfigOptions } from './types';
|
|
3
3
|
export declare const defaultOptions: {
|
|
4
4
|
locale: {
|
|
5
5
|
total: string;
|
|
@@ -18,6 +18,9 @@ export declare const defaultOptions: {
|
|
|
18
18
|
confirm: string;
|
|
19
19
|
noData: string;
|
|
20
20
|
loading: string;
|
|
21
|
+
search: string;
|
|
22
|
+
itemSelected: string;
|
|
23
|
+
itemsSelected: string;
|
|
21
24
|
aria: {
|
|
22
25
|
close: string;
|
|
23
26
|
closeDrawer: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { UseActionKitConfig } from './
|
|
1
|
+
import type { UseActionKitConfig } from './types';
|
|
2
2
|
export declare function useActionKit(): UseActionKitConfig;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { g as Bt } from "./index-
|
|
2
|
-
function Gt(U,
|
|
3
|
-
for (var k = 0; k <
|
|
4
|
-
const F =
|
|
1
|
+
import { g as Bt } from "./index-3mtfxEqv.js";
|
|
2
|
+
function Gt(U, q) {
|
|
3
|
+
for (var k = 0; k < q.length; k++) {
|
|
4
|
+
const F = q[k];
|
|
5
5
|
if (typeof F != "string" && !Array.isArray(F)) {
|
|
6
6
|
for (const R in F)
|
|
7
7
|
if (R !== "default" && !(R in U)) {
|
|
@@ -15,9 +15,9 @@ function Gt(U, $) {
|
|
|
15
15
|
}
|
|
16
16
|
return Object.freeze(Object.defineProperty(U, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
function
|
|
20
|
-
return st || (st = 1, function(U,
|
|
18
|
+
var $ = { exports: {} }, Vt = $.exports, st;
|
|
19
|
+
function $t() {
|
|
20
|
+
return st || (st = 1, function(U, q) {
|
|
21
21
|
/**
|
|
22
22
|
* Highcharts JS v12.3.0 (2025-06-21)
|
|
23
23
|
* @module highcharts/modules/exporting
|
|
@@ -523,12 +523,12 @@ function qt() {
|
|
|
523
523
|
let It = E();
|
|
524
524
|
return Z.default;
|
|
525
525
|
})());
|
|
526
|
-
}(
|
|
526
|
+
}($)), $.exports;
|
|
527
527
|
}
|
|
528
|
-
var lt =
|
|
529
|
-
const
|
|
528
|
+
var lt = $t();
|
|
529
|
+
const qt = /* @__PURE__ */ Bt(lt), zt = /* @__PURE__ */ Gt({
|
|
530
530
|
__proto__: null,
|
|
531
|
-
default:
|
|
531
|
+
default: qt
|
|
532
532
|
}, [lt]);
|
|
533
533
|
export {
|
|
534
534
|
zt as e
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { g as De } from "./index-
|
|
2
|
-
function He(
|
|
1
|
+
import { g as De } from "./index-3mtfxEqv.js";
|
|
2
|
+
function He($, J) {
|
|
3
3
|
for (var W = 0; W < J.length; W++) {
|
|
4
4
|
const m = J[W];
|
|
5
5
|
if (typeof m != "string" && !Array.isArray(m)) {
|
|
6
6
|
for (const _ in m)
|
|
7
|
-
if (_ !== "default" && !(_ in
|
|
7
|
+
if (_ !== "default" && !(_ in $)) {
|
|
8
8
|
const E = Object.getOwnPropertyDescriptor(m, _);
|
|
9
|
-
E && Object.defineProperty(
|
|
9
|
+
E && Object.defineProperty($, _, E.get ? E : {
|
|
10
10
|
enumerable: !0,
|
|
11
11
|
get: () => m[_]
|
|
12
12
|
});
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(
|
|
16
|
+
return Object.freeze(Object.defineProperty($, Symbol.toStringTag, { value: "Module" }));
|
|
17
17
|
}
|
|
18
18
|
var G = { exports: {} }, Te = G.exports, se;
|
|
19
19
|
function Ie() {
|
|
20
|
-
return se || (se = 1, function(
|
|
20
|
+
return se || (se = 1, function($, J) {
|
|
21
21
|
/**
|
|
22
22
|
* Highcharts JS v12.3.0 (2025-06-21)
|
|
23
23
|
* @module highcharts/modules/funnel
|
|
@@ -30,7 +30,7 @@ function Ie() {
|
|
|
30
30
|
* License: www.highcharts.com/license
|
|
31
31
|
*/
|
|
32
32
|
(function(W, m) {
|
|
33
|
-
|
|
33
|
+
$.exports = m(W._Highcharts, W._Highcharts.SeriesRegistry);
|
|
34
34
|
})(typeof window > "u" ? Te : window, (W, m) => (() => {
|
|
35
35
|
var _ = { 512: (i) => {
|
|
36
36
|
i.exports = m;
|
|
@@ -64,8 +64,8 @@ function Ie() {
|
|
|
64
64
|
}
|
|
65
65
|
class N extends K {
|
|
66
66
|
alignDataLabel(t, o, r, M, D) {
|
|
67
|
-
let P = t.series, k = P.options.reversed, h = t.dlBox || t.shapeArgs, { align:
|
|
68
|
-
c === "middle" ? Y = h.y - h.height / 2 + T / 2 : c === "top" && (Y = h.y - h.height + T + u), (c === "top" && !k || c === "bottom" && k || c === "middle") && (
|
|
67
|
+
let P = t.series, k = P.options.reversed, h = t.dlBox || t.shapeArgs, { align: q, padding: u = 0, verticalAlign: c } = r, H = ((P.options || {}).dataLabels || {}).inside, b = P.center[1], C = t.plotY || 0, T = o.height ?? o.getBBox().height, I = P.getWidthAt((k ? 2 * b - C : C) - h.height / 2 + T), S = c === "middle" ? (h.topWidth - h.bottomWidth) / 4 : (I - h.bottomWidth) / 2, Y = h.y, w = h.x;
|
|
68
|
+
c === "middle" ? Y = h.y - h.height / 2 + T / 2 : c === "top" && (Y = h.y - h.height + T + u), (c === "top" && !k || c === "bottom" && k || c === "middle") && (q === "right" ? w = h.x - u + S : q === "left" && (w = h.x + u - S)), M = { x: w, y: k ? Y - h.height : Y, width: h.bottomWidth, height: h.height }, r.verticalAlign = "bottom", H && (r.distance = void 0), H && t.visible && ke.call(P, t, o, r, M, D), H && (!t.visible && t.dataLabel && (t.dataLabel.placed = !1), t.contrastColor && o.css({ color: t.contrastColor }));
|
|
69
69
|
}
|
|
70
70
|
drawDataLabels() {
|
|
71
71
|
(Pe(this.options.dataLabels || {})[0].inside ? ye : K).prototype.drawDataLabels.call(this);
|
|
@@ -75,7 +75,7 @@ function Ie() {
|
|
|
75
75
|
return { distance: o, natural: { x: 0, y: r }, computed: {}, alignment: t.half ? "right" : "left", connectorPosition: { breakAt: { x: D + (o - 5) * M, y: r }, touchingSliceAt: { x: D + o * M, y: r } } };
|
|
76
76
|
}
|
|
77
77
|
translate() {
|
|
78
|
-
let t = this, o = t.chart, r = t.options, M = r.reversed, D = r.ignoreHiddenPoint, P = fe.optionsToObject(r.borderRadius), k = o.plotWidth, h = o.plotHeight,
|
|
78
|
+
let t = this, o = t.chart, r = t.options, M = r.reversed, D = r.ignoreHiddenPoint, P = fe.optionsToObject(r.borderRadius), k = o.plotWidth, h = o.plotHeight, q = r.center, u = F(q[0], k), c = F(q[1], h), H = F(r.width, k), b = F(r.height, h), C = F(r.neckWidth, k), T = F(r.neckHeight, h), I = c - b / 2 + b - T, S = t.points, Y = ie(P.radius, H), w = P.scope, _e = +(r.dataLabels.position === "left"), z = (s) => {
|
|
79
79
|
let y = Math.tan(s / 2), L = Math.cos(B), j = Math.sin(B), V = Y, e = V / y, g = Math.tan((Math.PI - s) / 3.2104);
|
|
80
80
|
return e > X && (V = (e = X) * y), { dx: [e * L, (e - (g *= V)) * L, e - g, e], dy: [e * j, (e - g) * j, e - g, e].map((ne) => M ? -ne : ne) };
|
|
81
81
|
}, ee = 0, re = 0, R, f, Z, B, X, A, p, v, n, a, l, d;
|