@mobileaction/action-kit 1.59.0-beta.20260824072801 → 1.59.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/dist/action-kit.mjs +1 -1
- package/dist/annotations-BotVbqYk.js +1275 -0
- 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/stories/default.stories.d.ts +16 -16
- package/dist/export-data-BR_-2Q3f.js +332 -0
- package/dist/exporting-DR0s0ify.js +601 -0
- package/dist/funnel-DL7kiG31.js +134 -0
- package/dist/{index-6Py-WZ9e.js → index-CBkR2AwI.js} +2355 -2349
- package/dist/map-CMb83okh.js +1731 -0
- package/dist/offline-exporting-YDP5IlMX.js +192 -0
- package/dist/stock-CBVAQBFc.js +2054 -0
- package/dist/venn-D6eKe_-O.js +453 -0
- package/dist/wordcloud-t7GdM2hM.js +227 -0
- package/package.json +30 -15
- package/dist/annotations-DSkf_ftr.js +0 -1496
- package/dist/export-data-DCTe5P_S.js +0 -404
- package/dist/exporting-DQGEobM-.js +0 -739
- package/dist/funnel-CqFEWYxB.js +0 -201
- package/dist/map-DAB70ark.js +0 -1928
- package/dist/offline-exporting-aCzMDQAJ.js +0 -203
- package/dist/stock-CYJWuEFp.js +0 -2216
- package/dist/venn-Dec0FzLN.js +0 -498
- package/dist/wordcloud-CjsQdxnL.js +0 -268
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { g as te } from "./index-6Py-WZ9e.js";
|
|
2
|
-
function re(j, R) {
|
|
3
|
-
for (var w = 0; w < R.length; w++) {
|
|
4
|
-
const x = R[w];
|
|
5
|
-
if (typeof x != "string" && !Array.isArray(x)) {
|
|
6
|
-
for (const F in x)
|
|
7
|
-
if (F !== "default" && !(F in j)) {
|
|
8
|
-
const O = Object.getOwnPropertyDescriptor(x, F);
|
|
9
|
-
O && Object.defineProperty(j, F, O.get ? O : {
|
|
10
|
-
enumerable: !0,
|
|
11
|
-
get: () => x[F]
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
return Object.freeze(Object.defineProperty(j, Symbol.toStringTag, { value: "Module" }));
|
|
17
|
-
}
|
|
18
|
-
var B = { exports: {} }, oe = B.exports, G;
|
|
19
|
-
function ne() {
|
|
20
|
-
return G || (G = 1, (function(j, R) {
|
|
21
|
-
/**
|
|
22
|
-
* Highcharts JS v12.6.0 (2026-04-13)
|
|
23
|
-
* @module highcharts/modules/offline-exporting
|
|
24
|
-
* @requires highcharts
|
|
25
|
-
* @requires highcharts/modules/exporting
|
|
26
|
-
*
|
|
27
|
-
* Client side exporting module
|
|
28
|
-
*
|
|
29
|
-
* (c) 2015-2026 Highsoft AS
|
|
30
|
-
* Author: Torstein Hønsi / Øystein Moseng
|
|
31
|
-
*
|
|
32
|
-
* A commercial license may be required depending on use.
|
|
33
|
-
* See www.highcharts.com/license
|
|
34
|
-
*/
|
|
35
|
-
(function(w, x) {
|
|
36
|
-
j.exports = x(w._Highcharts, w._Highcharts.AST, w._Highcharts.Chart);
|
|
37
|
-
})("u" < typeof window ? oe : window, (w, x, F) => (() => {
|
|
38
|
-
var O, I = { 660: (e) => {
|
|
39
|
-
e.exports = x;
|
|
40
|
-
}, 944: (e) => {
|
|
41
|
-
e.exports = w;
|
|
42
|
-
}, 960: (e) => {
|
|
43
|
-
e.exports = F;
|
|
44
|
-
} }, U = {};
|
|
45
|
-
function u(e) {
|
|
46
|
-
var n = U[e];
|
|
47
|
-
if (n !== void 0) return n.exports;
|
|
48
|
-
var f = U[e] = { exports: {} };
|
|
49
|
-
return I[e](f, f.exports, u), f.exports;
|
|
50
|
-
}
|
|
51
|
-
u.n = (e) => {
|
|
52
|
-
var n = e && e.__esModule ? () => e.default : () => e;
|
|
53
|
-
return u.d(n, { a: n }), n;
|
|
54
|
-
}, u.d = (e, n) => {
|
|
55
|
-
for (var f in n) u.o(n, f) && !u.o(e, f) && Object.defineProperty(e, f, { enumerable: !0, get: n[f] });
|
|
56
|
-
}, u.o = (e, n) => Object.prototype.hasOwnProperty.call(e, n);
|
|
57
|
-
var N = {};
|
|
58
|
-
u.d(N, { default: () => ee });
|
|
59
|
-
var _ = u(944), v = u.n(_);
|
|
60
|
-
let { isSafari: z, win: h, win: { document: L } } = v(), H = h.URL || h.webkitURL || h;
|
|
61
|
-
function T(e) {
|
|
62
|
-
let n = e.replace(/filename=.*;/, "").match(/data:([^;]*)(;base64)?,([A-Z+\d\/]+)/i);
|
|
63
|
-
if (n && n.length > 3 && h.atob && h.ArrayBuffer && h.Uint8Array && h.Blob && H.createObjectURL) {
|
|
64
|
-
let f = h.atob(n[3]), g = new h.ArrayBuffer(f.length), r = new h.Uint8Array(g);
|
|
65
|
-
for (let l = 0; l < r.length; ++l) r[l] = f.charCodeAt(l);
|
|
66
|
-
return H.createObjectURL(new h.Blob([r], { type: n[1] }));
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
function k(e, n) {
|
|
70
|
-
let f = h.navigator, g = L.createElement("a");
|
|
71
|
-
if (typeof e != "string" && !(e instanceof String) && f.msSaveOrOpenBlob) return void f.msSaveOrOpenBlob(e, n);
|
|
72
|
-
if (e = "" + e, f.userAgent.length > 1e3) throw Error("Input too long");
|
|
73
|
-
let r = /Edge\/\d+/.test(f.userAgent);
|
|
74
|
-
if ((z && typeof e == "string" && e.indexOf("data:application/pdf") === 0 || r || e.length > 2e6) && !(e = T(e) || "")) throw Error("Failed to convert to blob");
|
|
75
|
-
if (g.download !== void 0) g.href = e, g.download = n, L.body.appendChild(g), g.click(), L.body.removeChild(g);
|
|
76
|
-
else try {
|
|
77
|
-
if (!h.open(e, "chart")) throw Error("Failed to open window");
|
|
78
|
-
} catch {
|
|
79
|
-
h.location.href = e;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
function D(e) {
|
|
83
|
-
return new Promise((n, f) => {
|
|
84
|
-
let g = L.getElementsByTagName("head")[0], r = L.createElement("script");
|
|
85
|
-
r.type = "text/javascript", r.src = e, r.onload = () => {
|
|
86
|
-
n();
|
|
87
|
-
}, r.onerror = () => {
|
|
88
|
-
let l = `Error loading script ${e}`;
|
|
89
|
-
(0, _.error)(l), f(Error(l));
|
|
90
|
-
}, g.appendChild(r);
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
var M = u(660), Z = u.n(M), J = u(960), K = u.n(J);
|
|
94
|
-
let Q = { exporting: {} }, { doc: ie, win: le } = v(), { getOptions: W, setOptions: X } = v(), { composed: $, doc: Y, win: C } = v();
|
|
95
|
-
(function(e) {
|
|
96
|
-
async function n(r, l, b, t) {
|
|
97
|
-
var a, o;
|
|
98
|
-
let p, i, s, c, E, m = (a = r, o = t, s = Y.createElement("div"), Z().setElementHTML(s, a), c = s.getElementsByTagName("text"), E = function(d, y) {
|
|
99
|
-
let S = d;
|
|
100
|
-
for (; S && S !== s; ) {
|
|
101
|
-
if (S.style[y]) {
|
|
102
|
-
let P = S.style[y];
|
|
103
|
-
y === "fontSize" && /em$/.test(P) && (P = Math.round(16 * parseFloat(P)) + "px"), d.style[y] = P;
|
|
104
|
-
break;
|
|
105
|
-
}
|
|
106
|
-
S = S.parentNode;
|
|
107
|
-
}
|
|
108
|
-
}, [].forEach.call(c, function(d) {
|
|
109
|
-
for (["fontFamily", "fontSize"].forEach((y) => {
|
|
110
|
-
E(d, y);
|
|
111
|
-
}), d.style.fontFamily = o?.normal ? "HighchartsFont" : String(d.style.fontFamily && d.style.fontFamily.split(" ").splice(-1)), p = d.getElementsByTagName("title"), [].forEach.call(p, function(y) {
|
|
112
|
-
d.removeChild(y);
|
|
113
|
-
}), i = d.getElementsByClassName("highcharts-text-outline"); i.length > 0; ) {
|
|
114
|
-
let y = i[0];
|
|
115
|
-
y.parentNode && y.parentNode.removeChild(y);
|
|
116
|
-
}
|
|
117
|
-
}), s.querySelector("svg"));
|
|
118
|
-
m && (await f(m, t), k(await g(m, 0, l), b));
|
|
119
|
-
}
|
|
120
|
-
async function f(r, l) {
|
|
121
|
-
let b, t, a = (o, p) => {
|
|
122
|
-
C.jspdf.jsPDF.API.events.push(["initialized", function() {
|
|
123
|
-
this.addFileToVFS(o, p), this.addFont(o, "HighchartsFont", o), this.getFontList()?.HighchartsFont || this.setFont("HighchartsFont");
|
|
124
|
-
}]);
|
|
125
|
-
};
|
|
126
|
-
for (let o of (l && (t = r.textContent || "", !/[^\u0000-\u007F\u200B]+/.test(t)) && (l = void 0), ["normal", "italic", "bold", "bolditalic"])) {
|
|
127
|
-
let p = l?.[o];
|
|
128
|
-
if (p) try {
|
|
129
|
-
let i = await C.fetch(p);
|
|
130
|
-
if (!i.ok) throw Error(`Failed to fetch font: ${p}`);
|
|
131
|
-
let s = await i.blob(), c = new FileReader(), E = await new Promise((m, d) => {
|
|
132
|
-
c.onloadend = () => {
|
|
133
|
-
typeof c.result == "string" ? m(c.result.split(",")[1]) : d(Error("Failed to read font as base64"));
|
|
134
|
-
}, c.onerror = d, c.readAsDataURL(s);
|
|
135
|
-
});
|
|
136
|
-
a(o, E), o === "normal" && (b = E);
|
|
137
|
-
} catch {
|
|
138
|
-
}
|
|
139
|
-
else b && a(o, b);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
async function g(r, l, b) {
|
|
143
|
-
let t = (Number(r.getAttribute("width")) + 2 * l) * b, a = (Number(r.getAttribute("height")) + 2 * l) * b, o = new C.jspdf.jsPDF(a > t ? "p" : "l", "pt", [t, a]);
|
|
144
|
-
[].forEach.call(r.querySelectorAll('*[visibility="hidden"]'), function(i) {
|
|
145
|
-
i.parentNode.removeChild(i);
|
|
146
|
-
});
|
|
147
|
-
let p = r.querySelectorAll("linearGradient");
|
|
148
|
-
for (let i = 0; i < p.length; i++) {
|
|
149
|
-
let s = p[i].querySelectorAll("stop"), c = 0;
|
|
150
|
-
for (; c < s.length && s[c].getAttribute("offset") === "0" && s[c + 1].getAttribute("offset") === "0"; ) s[c].remove(), c++;
|
|
151
|
-
}
|
|
152
|
-
return [].forEach.call(r.querySelectorAll("tspan"), (i) => {
|
|
153
|
-
i.textContent === "" && (i.textContent = " ", i.setAttribute("dx", -5));
|
|
154
|
-
}), await o.svg(r, { x: 0, y: 0, width: t, height: a, removeInvalid: !0 }), o.output("datauristring");
|
|
155
|
-
}
|
|
156
|
-
e.compose = function(r) {
|
|
157
|
-
var l;
|
|
158
|
-
if ((function(t, a, o, p = {}) {
|
|
159
|
-
let i = typeof t == "function" && t.prototype || t;
|
|
160
|
-
Object.hasOwnProperty.call(i, "hcEvents") || (i.hcEvents = {});
|
|
161
|
-
let s = i.hcEvents;
|
|
162
|
-
v().Point && t instanceof v().Point && t.series && t.series.chart && (t.series.chart.runTrackerClick = !0);
|
|
163
|
-
let c = t.addEventListener;
|
|
164
|
-
c && c.call(t, a, o, !!v().supportsPassiveEvents && { passive: p.passive === void 0 ? a.indexOf("touch") !== -1 : p.passive, capture: !1 }), s[a] || (s[a] = []);
|
|
165
|
-
let E = { fn: o, order: typeof p.order == "number" ? p.order : 1 / 0 };
|
|
166
|
-
s[a].push(E), s[a].sort((m, d) => m.order - d.order);
|
|
167
|
-
})(r, "downloadSVG", async function(t) {
|
|
168
|
-
let { svg: a, exportingOptions: o, exporting: p, preventDefault: i } = t;
|
|
169
|
-
if (o?.type === "application/pdf") {
|
|
170
|
-
i?.();
|
|
171
|
-
try {
|
|
172
|
-
let { type: s, filename: c, scale: E, libURL: m } = v().Exporting.prepareImageOptions(o);
|
|
173
|
-
s === "application/pdf" && (C.jspdf?.jsPDF || (await D(`${m}jspdf.js`), await D(`${m}svg2pdf.js`)), await n(a, E, c, o?.pdfFont));
|
|
174
|
-
} catch (s) {
|
|
175
|
-
await p?.fallbackToServer(o, s);
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
}), l = "OfflineExporting", !(0 > $.indexOf(l) && $.push(l))) return;
|
|
179
|
-
(function(t, a) {
|
|
180
|
-
let o;
|
|
181
|
-
for (o in t || (t = {}), a) t[o] = a[o];
|
|
182
|
-
})(K().prototype, { exportChartLocal: async function(t, a) {
|
|
183
|
-
await this.exporting?.exportChart(t, a);
|
|
184
|
-
} }), X(Q), W().exporting?.buttons?.contextButton?.menuItems?.push("downloadPDF");
|
|
185
|
-
}, e.downloadSVGLocal = async function(r, l) {
|
|
186
|
-
await v().Exporting.prototype.downloadSVG.call(void 0, r, l);
|
|
187
|
-
};
|
|
188
|
-
})(O || (O = {}));
|
|
189
|
-
let q = O, A = v();
|
|
190
|
-
A.dataURLtoBlob = A.dataURLtoBlob || T, A.downloadSVGLocal = q.downloadSVGLocal, A.downloadURL = A.downloadURL || k, q.compose(A.Exporting);
|
|
191
|
-
let ee = v();
|
|
192
|
-
return N.default;
|
|
193
|
-
})());
|
|
194
|
-
})(B)), B.exports;
|
|
195
|
-
}
|
|
196
|
-
var V = ne();
|
|
197
|
-
const ae = /* @__PURE__ */ te(V), fe = /* @__PURE__ */ re({
|
|
198
|
-
__proto__: null,
|
|
199
|
-
default: ae
|
|
200
|
-
}, [V]);
|
|
201
|
-
export {
|
|
202
|
-
fe as o
|
|
203
|
-
};
|