@mobileaction/action-kit 1.52.2 → 1.53.0-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 CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.53.0](https://github.com/mobileaction/action-kit/compare/v1.52.3...v1.53.0) (2025-07-29)
6
+
7
+
8
+ ### Features
9
+
10
+ * **PEC-6098:** add new icons ([9dd4219](https://github.com/mobileaction/action-kit/commit/9dd4219912669561a942b837f5076645deb6a137))
11
+
12
+ ## [1.52.3](https://github.com/mobileaction/action-kit/compare/v1.52.2...v1.52.3) (2025-07-23)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * **DUV-8192:** fix dynamic module imports in MaChart component ([#981](https://github.com/mobileaction/action-kit/issues/981)) ([839aea8](https://github.com/mobileaction/action-kit/commit/839aea8c9f7aebbcb5ba5713de15d8694a7222b4))
18
+
5
19
  ## [1.52.2](https://github.com/mobileaction/action-kit/compare/v1.52.1...v1.52.2) (2025-07-09)
6
20
 
7
21
 
@@ -1,4 +1,4 @@
1
- import { aD as e, aH as o, aJ as t, aI as M, aU as n, aY as i, aZ as p, aW as r, aV as l, aX as b, aT as c, bF as u, bE as S, b3 as T, b1 as d, bm as m, aP as g, aQ as y, _ as C, aG as I, aE as B, aF as P, a as h, b as A, c as z, d as k, e as R, aN as f, aM as O, aL as x, aK as w, aO as G, f as D, j as L, a_ as v, b0 as N, a$ as V, k as E, l as F, r as U, p as K, n as W, o as H, q as j, t as q, s as J, b2 as Q, bi as X, u as Y, v as Z, w as _, y as $, x as aa, z as sa, A as ea, b4 as oa, b5 as ta, B as Ma, C as na, b8 as ia, b6 as pa, b7 as ra, bb as la, E as ba, D as ca, b9 as ua, G as Sa, F as Ta, bc as da, ba as ma, M as ga, J as ya, L as Ca, I as Ia, K as Ba, O as Pa, bf as ha, N as Aa, be as za, bd as ka, h as Ra, Q as fa, bK as Oa, P as xa, R as wa, bj as Ga, bq as Da, bp as La, S as va, T as Na, U as Va, W as Ea, V as Fa, Y as Ua, X as Ka, Z as Wa, bx as Ha, bw as ja, by as qa, bv as Ja, a1 as Qa, $ as Xa, a0 as Ya, bz as Za, a2 as _a, bB as $a, bA as as, a3 as ss, a8 as es, a6 as os, a4 as ts, a5 as Ms, a7 as ns, ab as is, ac as ps, ad as rs, a9 as ls, ae as bs, af as cs, aa as us, bL as Ss, ag as Ts, ah as ds, i as ms, ai as gs, bN as ys, bM as Cs, al as Is, aj as Bs, ak as Ps, am as hs, an as As, ao as zs, bU as ks, ar as Rs, ap as fs, bR as Os, bS as xs, bT as ws, as as Gs, aq as Ds, bQ as Ls, bP as vs, at as Ns, au as Vs, aw as Es, av as Fs, ax as Us, ay as Ks, az as Ws, aA as Hs, c5 as js, c4 as qs, c3 as Js, aB as Qs, bn as Xs, bl as Ys, bH as Zs, bG as _s, br as $s, bs as ae, bu as se, bt as ee, bD as oe, bJ as te, bI as Me, bC as ne, aR as ie, aS as pe, bO as re, bV as le, bW as be, bX as ce, bZ as ue, bY as Se, b_ as Te, b$ as de, c1 as me, c0 as ge, c2 as ye, bh as Ce, bg as Ie, H as Be, m as Pe, bo as he, aC as Ae, bk as ze } from "./index-DsARzyti.js";
1
+ import { aD as e, aH as o, aJ as t, aI as M, aU as n, aY as i, aZ as p, aW as r, aV as l, aX as b, aT as c, bF as u, bE as S, b3 as T, b1 as d, bm as m, aP as g, aQ as y, _ as C, aG as I, aE as B, aF as P, a as h, b as A, c as z, d as k, e as R, aN as f, aM as O, aL as x, aK as w, aO as G, f as D, j as L, a_ as v, b0 as N, a$ as V, k as E, l as F, r as U, p as K, n as W, o as H, q as j, t as q, s as J, b2 as Q, bi as X, u as Y, v as Z, w as _, y as $, x as aa, z as sa, A as ea, b4 as oa, b5 as ta, B as Ma, C as na, b8 as ia, b6 as pa, b7 as ra, bb as la, E as ba, D as ca, b9 as ua, G as Sa, F as Ta, bc as da, ba as ma, M as ga, J as ya, L as Ca, I as Ia, K as Ba, O as Pa, bf as ha, N as Aa, be as za, bd as ka, h as Ra, Q as fa, bK as Oa, P as xa, R as wa, bj as Ga, bq as Da, bp as La, S as va, T as Na, U as Va, W as Ea, V as Fa, Y as Ua, X as Ka, Z as Wa, bx as Ha, bw as ja, by as qa, bv as Ja, a1 as Qa, $ as Xa, a0 as Ya, bz as Za, a2 as _a, bB as $a, bA as as, a3 as ss, a8 as es, a6 as os, a4 as ts, a5 as Ms, a7 as ns, ab as is, ac as ps, ad as rs, a9 as ls, ae as bs, af as cs, aa as us, bL as Ss, ag as Ts, ah as ds, i as ms, ai as gs, bN as ys, bM as Cs, al as Is, aj as Bs, ak as Ps, am as hs, an as As, ao as zs, bU as ks, ar as Rs, ap as fs, bR as Os, bS as xs, bT as ws, as as Gs, aq as Ds, bQ as Ls, bP as vs, at as Ns, au as Vs, aw as Es, av as Fs, ax as Us, ay as Ks, az as Ws, aA as Hs, c5 as js, c4 as qs, c3 as Js, aB as Qs, bn as Xs, bl as Ys, bH as Zs, bG as _s, br as $s, bs as ae, bu as se, bt as ee, bD as oe, bJ as te, bI as Me, bC as ne, aR as ie, aS as pe, bO as re, bV as le, bW as be, bX as ce, bZ as ue, bY as Se, b_ as Te, b$ as de, c1 as me, c0 as ge, c2 as ye, bh as Ce, bg as Ie, H as Be, m as Pe, bo as he, aC as Ae, bk as ze } from "./index-vKorPu9N.js";
2
2
  import { SelectOptGroup as Re } from "ant-design-vue";
3
3
  export {
4
4
  e as ActionKitConfig,
@@ -1,4 +1,4 @@
1
- import { g as ts } from "./index-DsARzyti.js";
1
+ import { g as ts } from "./index-vKorPu9N.js";
2
2
  function is(W, Z) {
3
3
  for (var C = 0; C < Z.length; C++) {
4
4
  const B = Z[C];
@@ -0,0 +1,7 @@
1
+ const r = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
2
+ <path fill="currentColor" d="m9.624 8.33 7.876 7.876-1.294 1.294L8.33 9.624v6.942H6.5V6.5h10.066v1.83H9.624Z" />
3
+ </svg>
4
+ `;
5
+ export {
6
+ r as default
7
+ };
@@ -0,0 +1,19 @@
1
+ import { createElementBlock as r, openBlock as t, createElementVNode as o } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "currentColor",
5
+ viewBox: "0 0 24 24"
6
+ };
7
+ function l(c, e) {
8
+ return t(), r("svg", n, e[0] || (e[0] = [
9
+ o("path", {
10
+ fill: "currentColor",
11
+ d: "m9.624 8.33 7.876 7.876-1.294 1.294L8.33 9.624v6.942H6.5V6.5h10.066v1.83H9.624Z"
12
+ }, null, -1)
13
+ ]));
14
+ }
15
+ const s = { render: l };
16
+ export {
17
+ s as default,
18
+ l as render
19
+ };
@@ -0,0 +1,19 @@
1
+ import { createElementBlock as r, openBlock as o, createElementVNode as t } from "vue";
2
+ const n = {
3
+ xmlns: "http://www.w3.org/2000/svg",
4
+ fill: "currentColor",
5
+ viewBox: "0 0 24 24"
6
+ };
7
+ function l(c, e) {
8
+ return o(), r("svg", n, e[0] || (e[0] = [
9
+ t("path", {
10
+ fill: "currentColor",
11
+ d: "M14.377 15.67 6.5 7.794 7.794 6.5l7.876 7.875v-6.94h1.83V17.5H7.434v-1.83h6.943Z"
12
+ }, null, -1)
13
+ ]));
14
+ }
15
+ const s = { render: l };
16
+ export {
17
+ s as default,
18
+ l as render
19
+ };
@@ -0,0 +1,7 @@
1
+ const o = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 24 24">
2
+ <path fill="currentColor" d="M14.377 15.67 6.5 7.794 7.794 6.5l7.876 7.875v-6.94h1.83V17.5H7.434v-1.83h6.943Z" />
3
+ </svg>
4
+ `;
5
+ export {
6
+ o as default
7
+ };
@@ -14,6 +14,8 @@ declare const _default: import("vue").DefineComponent<MaChartProps, {
14
14
  constructorType: import("./types").ChartConstructorType;
15
15
  updateArgs: import("./types").ChartUpdateArgs;
16
16
  deepCopyOnUpdate: boolean;
17
+ modulesToLoad: import("./types").ModulesToLoad;
18
+ astConfig: import("./types").ASTConfig;
17
19
  loadingOverlayComponentParams: any;
18
20
  noDataOverlayComponentParams: any;
19
21
  showWatermark: boolean;
@@ -0,0 +1,6 @@
1
+ import type { ChartModuleName } from './types';
2
+ export declare class ModuleLoader {
3
+ private static readonly initPromises;
4
+ static loadModule(name: ChartModuleName): Promise<void>;
5
+ static loadModulesSequentially(names: ChartModuleName[]): Promise<void>;
6
+ }
@@ -15,12 +15,10 @@ export interface MaChartProps {
15
15
  */
16
16
  loading?: boolean;
17
17
  /**
18
- * Reference to the chart factory.
19
- * Options: `chart`, `stockChart`, `mapChart`
20
- *
21
- * When set to a constructor type other than `chart` (e.g. `stockChart`), the corresponding module
22
- * must be included in the `moduleNames` array (e.g. 'stock').
23
- * (Default: `chart`)
18
+ * Chart constructor to use: 'chart' | 'stockChart' | 'mapChart'.
19
+ * @default 'chart'
20
+ * @remarks
21
+ * Load matching modules (e.g. 'stock' for 'stockChart') via `modulesToLoad`.
24
22
  */
25
23
  constructorType?: ChartConstructorType;
26
24
  /**
@@ -46,11 +44,26 @@ export interface MaChartProps {
46
44
  */
47
45
  deepCopyOnUpdate?: boolean;
48
46
  /**
49
- * Array of Highcharts module names to be dynamically imported.
50
- * Specify additional modules required for extended chart types or functionalities,
51
- * such as 'stock', 'map', 'sankey', etc.
47
+ * Configuration for dynamic Highcharts module loading.
48
+ *
49
+ * @property {ChartModuleName[]} [sequential]
50
+ * Modules with inter‑dependencies; loaded one after another.
51
+ * @property {ChartModuleName[]} [parallel]
52
+ * Independent modules; loaded in parallel for faster startup.
53
+ */
54
+ modulesToLoad?: ModulesToLoad;
55
+ /**
56
+ * Configuration for Highcharts AST whitelisting and sanitization.
57
+ *
58
+ * @property {string[]} [allowedTags]
59
+ * Additional HTML/SVG tag names to allow when Highcharts sanitizes
60
+ * dynamic content (e.g. tooltips with useHTML, data labels).
61
+ *
62
+ * @property {string[]} [allowedAttributes]
63
+ * Additional HTML/SVG attribute names to allow when Highcharts sanitizes
64
+ * dynamic content (e.g. `data-*`, `aria-*`, custom SVG attributes).
52
65
  */
53
- moduleNames?: ChartModuleName[];
66
+ astConfig?: ASTConfig;
54
67
  /**
55
68
  * Provide a custom loading overlay component.
56
69
  */
@@ -96,3 +109,11 @@ export type ChartConstructor = Highcharts.Chart;
96
109
  export type ChartOptions = Highcharts.Options;
97
110
  export type ChartUpdateArgs = [boolean] | [boolean, boolean] | [boolean, boolean, boolean];
98
111
  export type ChartModuleName = 'stock' | 'map' | 'wordcloud' | 'venn' | 'annotations' | 'exporting' | 'offline-exporting' | 'export-data';
112
+ export interface ModulesToLoad {
113
+ parallel?: ChartModuleName[];
114
+ sequential?: ChartModuleName[];
115
+ }
116
+ export interface ASTConfig {
117
+ allowedTags?: string[];
118
+ allowedAttributes?: string[];
119
+ }
@@ -8,7 +8,10 @@ declare var __VLS_21: {
8
8
  presetDate: any;
9
9
  }, __VLS_83: {}, __VLS_85: {
10
10
  value: Date | Date[];
11
- }, __VLS_95: {};
11
+ }, __VLS_95: {
12
+ date: Date;
13
+ day: number;
14
+ }, __VLS_97: {};
12
15
  type __VLS_Slots = {} & {
13
16
  input?: (props: typeof __VLS_21) => any;
14
17
  } & {
@@ -20,7 +23,9 @@ type __VLS_Slots = {} & {
20
23
  } & {
21
24
  'action-buttons'?: (props: typeof __VLS_85) => any;
22
25
  } & {
23
- 'menu-header'?: (props: typeof __VLS_95) => any;
26
+ day?: (props: typeof __VLS_95) => any;
27
+ } & {
28
+ 'menu-header'?: (props: typeof __VLS_97) => any;
24
29
  };
25
30
  declare const __VLS_component: import("vue").DefineComponent<MaDatePickerProps, {
26
31
  open: () => any;
@@ -1,57 +1,13 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- data: {
3
- type: ArrayConstructor;
4
- required: true;
5
- };
6
- columns: {
7
- type: ArrayConstructor;
8
- required: true;
9
- };
10
- advancedFilter: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- domLayout: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- showStatusBar: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- secondary: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
27
- data: {
28
- type: ArrayConstructor;
29
- required: true;
30
- };
31
- columns: {
32
- type: ArrayConstructor;
33
- required: true;
34
- };
35
- advancedFilter: {
36
- type: BooleanConstructor;
37
- default: boolean;
38
- };
39
- domLayout: {
40
- type: StringConstructor;
41
- default: string;
42
- };
43
- showStatusBar: {
44
- type: BooleanConstructor;
45
- default: boolean;
46
- };
47
- secondary: {
48
- type: BooleanConstructor;
49
- default: boolean;
50
- };
51
- }>> & Readonly<{}>, {
52
- secondary: boolean;
53
- advancedFilter: boolean;
54
- domLayout: string;
55
- showStatusBar: boolean;
56
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ import type { ColDef, DomLayoutType } from 'ag-grid-enterprise';
2
+ interface TableProps {
3
+ data: any[];
4
+ columns: ColDef[];
5
+ advancedFilter?: boolean;
6
+ domLayout?: DomLayoutType;
7
+ showStatusBar?: boolean;
8
+ secondary?: boolean;
9
+ }
10
+ declare const _default: import("vue").DefineComponent<TableProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TableProps> & Readonly<{}>, {
11
+ domLayout: DomLayoutType;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
57
13
  export default _default;
@@ -1,108 +1,5 @@
1
- export declare const Fields: ({
2
- field: string;
3
- headerName: string;
4
- filter: string;
5
- pinned: boolean;
6
- cellRenderer: string;
7
- minWidth: number;
8
- cellClass?: undefined;
9
- sortable?: undefined;
10
- filterParams?: undefined;
11
- type?: undefined;
12
- aggFunc?: undefined;
13
- headerClass?: undefined;
14
- valueFormatter?: undefined;
15
- cellDataType?: undefined;
16
- } | {
17
- field: string;
18
- headerName: string;
19
- pinned: boolean;
20
- cellClass: string;
21
- sortable: boolean;
22
- cellRenderer: {
23
- props: string[];
24
- setup(props: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
25
- [key: string]: any;
26
- }>;
27
- };
28
- filter?: undefined;
29
- minWidth?: undefined;
30
- filterParams?: undefined;
31
- type?: undefined;
32
- aggFunc?: undefined;
33
- headerClass?: undefined;
34
- valueFormatter?: undefined;
35
- cellDataType?: undefined;
36
- } | {
37
- field: string;
38
- headerName: string;
39
- filter: string;
40
- filterParams: {
41
- buttons: string[];
42
- };
43
- type: string;
44
- aggFunc: string;
45
- headerClass: string;
46
- pinned?: undefined;
47
- cellRenderer?: undefined;
48
- minWidth?: undefined;
49
- cellClass?: undefined;
50
- sortable?: undefined;
51
- valueFormatter?: undefined;
52
- cellDataType?: undefined;
53
- } | {
54
- field: string;
55
- headerName: string;
56
- filter: string;
57
- type: string;
58
- aggFunc: string;
59
- headerClass: string;
60
- pinned?: undefined;
61
- cellRenderer?: undefined;
62
- minWidth?: undefined;
63
- cellClass?: undefined;
64
- sortable?: undefined;
65
- filterParams?: undefined;
66
- valueFormatter?: undefined;
67
- cellDataType?: undefined;
68
- } | {
69
- field: string;
70
- headerName: string;
71
- filter: string;
72
- type: string;
73
- aggFunc: string;
74
- valueFormatter: ({ value }: {
75
- value: number;
76
- }) => string;
77
- headerClass: string;
78
- pinned?: undefined;
79
- cellRenderer?: undefined;
80
- minWidth?: undefined;
81
- cellClass?: undefined;
82
- sortable?: undefined;
83
- filterParams?: undefined;
84
- cellDataType?: undefined;
85
- } | {
86
- field: string;
87
- headerName: string;
88
- filter: string;
89
- cellDataType: string;
90
- cellRenderer: {
91
- props: string[];
92
- setup(props: any): () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
93
- [key: string]: any;
94
- }>;
95
- };
96
- pinned?: undefined;
97
- minWidth?: undefined;
98
- cellClass?: undefined;
99
- sortable?: undefined;
100
- filterParams?: undefined;
101
- type?: undefined;
102
- aggFunc?: undefined;
103
- headerClass?: undefined;
104
- valueFormatter?: undefined;
105
- })[];
1
+ import type { ColDef } from 'ag-grid-enterprise';
2
+ export declare const Fields: ColDef[];
106
3
  export declare const SecondaryFields: ({
107
4
  field: string;
108
5
  headerName: string;
@@ -1,4 +1,4 @@
1
- import { g as Ge } from "./index-DsARzyti.js";
1
+ import { g as Ge } from "./index-vKorPu9N.js";
2
2
  function ze(G, le) {
3
3
  for (var R = 0; R < le.length; R++) {
4
4
  const k = le[R];
@@ -1,4 +1,4 @@
1
- import { g as Bt } from "./index-DsARzyti.js";
1
+ import { g as Bt } from "./index-vKorPu9N.js";
2
2
  function Gt(U, $) {
3
3
  for (var k = 0; k < $.length; k++) {
4
4
  const F = $[k];