vue-data-ui 3.17.9 → 3.17.11
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/{PackageVersion-Ov37I8ii.js → PackageVersion-CHNfLQ9Q.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/{vue-data-ui-C1Z1RCcf.js → vue-data-ui-BhpgB8UJ.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-BqqCv_L2.js → vue-ui-3d-bar-DlLiXS6Z.js} +1 -1
- package/dist/{vue-ui-age-pyramid-C-2sRuVe.js → vue-ui-age-pyramid-DraVdYRy.js} +1 -1
- package/dist/{vue-ui-bullet-CkBMlG46.js → vue-ui-bullet-WnD9rJbc.js} +19 -18
- package/dist/{vue-ui-bump-DxBzf8_x.js → vue-ui-bump-DwgahfiC.js} +1 -1
- package/dist/{vue-ui-candlestick-CQw6E5XK.js → vue-ui-candlestick-BleQTpuq.js} +1 -1
- package/dist/{vue-ui-carousel-table-ehHnnwYQ.js → vue-ui-carousel-table-BjXxtjCZ.js} +1 -1
- package/dist/{vue-ui-chestnut-CEG1n9Bg.js → vue-ui-chestnut-xBDbJ9su.js} +1 -1
- package/dist/{vue-ui-chord-Bm8sj1jg.js → vue-ui-chord-D_pGtRHt.js} +36 -35
- package/dist/{vue-ui-circle-pack-BhtBzyoU.js → vue-ui-circle-pack-C7-wxx3Y.js} +1 -1
- package/dist/{vue-ui-cursor-KjOp9R9e.js → vue-ui-cursor-DBvL5KTg.js} +1 -1
- package/dist/{vue-ui-dag-DsBuepaA.js → vue-ui-dag-BKGTFMQK.js} +1 -1
- package/dist/{vue-ui-dashboard-ClvBMAzA.js → vue-ui-dashboard-CEtNOoBY.js} +58 -58
- package/dist/{vue-ui-digits-CUN5zijI.js → vue-ui-digits-BeIq6BVd.js} +1 -1
- package/dist/{vue-ui-donut-B1EgAu-L.js → vue-ui-donut-BjV5_nf1.js} +44 -43
- package/dist/{vue-ui-donut-evolution-5PjaWTvx.js → vue-ui-donut-evolution-B7hCGAIO.js} +30 -29
- package/dist/{vue-ui-dumbbell-D8hAgMko.js → vue-ui-dumbbell-ZMLefa9v.js} +85 -86
- package/dist/{vue-ui-flow-jJLellQk.js → vue-ui-flow-BYjkId4Z.js} +63 -62
- package/dist/{vue-ui-funnel-C4JIWkGm.js → vue-ui-funnel-BZtpP-Of.js} +2 -2
- package/dist/{vue-ui-galaxy-CuqTB4XR.js → vue-ui-galaxy-bdIj6ERd.js} +56 -55
- package/dist/{vue-ui-gauge-B5bJUzMr.js → vue-ui-gauge-DT5-qFXl.js} +1 -1
- package/dist/{vue-ui-geo-BJiW5vL1.js → vue-ui-geo-nXp15sZ5.js} +1 -1
- package/dist/{vue-ui-gizmo-D5e5T4fu.js → vue-ui-gizmo-J5MTo522.js} +1 -1
- package/dist/{vue-ui-heatmap-Bsr9R8ek.js → vue-ui-heatmap-G7DzkGq2.js} +1 -1
- package/dist/{vue-ui-history-plot-pXrD1Fm7.js → vue-ui-history-plot-BLoxv5uS.js} +35 -36
- package/dist/{vue-ui-horizontal-bar-7HugQ0dT.js → vue-ui-horizontal-bar-B8wbIiWo.js} +1 -1
- package/dist/{vue-ui-kpi-BLVCrWfG.js → vue-ui-kpi-AT8jIXnu.js} +1 -1
- package/dist/{vue-ui-molecule-DhIWpt07.js → vue-ui-molecule-j5opFMNQ.js} +1 -1
- package/dist/{vue-ui-mood-radar-BUpDYe22.js → vue-ui-mood-radar-Opwn9CwC.js} +84 -83
- package/dist/{vue-ui-nested-donuts-JhqmPAhH.js → vue-ui-nested-donuts-Cc_5aNFc.js} +117 -120
- package/dist/{vue-ui-onion-DUSgz_9-.js → vue-ui-onion-CjDIGb68.js} +62 -63
- package/dist/{vue-ui-parallel-coordinate-plot-Cbn9N0y0.js → vue-ui-parallel-coordinate-plot-CcQZTqNS.js} +35 -36
- package/dist/{vue-ui-quadrant-Foz7WuoD.js → vue-ui-quadrant-FoV76r7G.js} +32 -33
- package/dist/{vue-ui-quick-chart-DVH6A-Nr.js → vue-ui-quick-chart-BPu7QR35.js} +3 -3
- package/dist/{vue-ui-radar-CDpMulQa.js → vue-ui-radar-C60tBqYo.js} +72 -73
- package/dist/{vue-ui-relation-circle-ChtfTtXY.js → vue-ui-relation-circle-CaeT1NKV.js} +1 -1
- package/dist/{vue-ui-ridgeline-DXs-IeYj.js → vue-ui-ridgeline-DpLnKVx2.js} +2 -2
- package/dist/{vue-ui-rings-BfhsTTW_.js → vue-ui-rings-Bp1MqbOV.js} +171 -172
- package/dist/{vue-ui-scatter-CYWGf_oA.js → vue-ui-scatter-C73P-oBq.js} +100 -101
- package/dist/{vue-ui-skeleton-BPUPkwbA.js → vue-ui-skeleton-BSR3VLyw.js} +1 -1
- package/dist/{vue-ui-spark-trend-Cz7B6dw6.js → vue-ui-spark-trend-BqlM3vP7.js} +1 -1
- package/dist/{vue-ui-sparkbar-Dv89_7Pf.js → vue-ui-sparkbar-DqtEGBj9.js} +1 -1
- package/dist/{vue-ui-sparkgauge-BOPXQq5e.js → vue-ui-sparkgauge-DWOru6YE.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-BXYBq4wu.js → vue-ui-sparkhistogram-DfYv2pHk.js} +1 -1
- package/dist/{vue-ui-sparkline-B-CVRLdL.js → vue-ui-sparkline-Bu5xssk9.js} +1 -1
- package/dist/{vue-ui-sparkstackbar-Dg3wvlR7.js → vue-ui-sparkstackbar-D-a14Bay.js} +1 -1
- package/dist/{vue-ui-stackbar-Dojc9vet.js → vue-ui-stackbar-BB-KLlR-.js} +45 -46
- package/dist/{vue-ui-stackline-BrZw5IXj.js → vue-ui-stackline-fWtYk_Aa.js} +119 -120
- package/dist/{vue-ui-strip-plot-Jqkr7XWO.js → vue-ui-strip-plot-D0QC2wVw.js} +1 -1
- package/dist/{vue-ui-table-B_TE9dWt.js → vue-ui-table-Rk5HCqBr.js} +2 -2
- package/dist/{vue-ui-table-sparkline-DtryAFeu.js → vue-ui-table-sparkline-Cb6fl-Ux.js} +1 -1
- package/dist/{vue-ui-thermometer-Cf2u4_lH.js → vue-ui-thermometer-ConedyG6.js} +1 -1
- package/dist/{vue-ui-timer-BCw6IHHQ.js → vue-ui-timer-B-GcfZX7.js} +1 -1
- package/dist/{vue-ui-tiremarks-AOLQC2Pm.js → vue-ui-tiremarks-BGyILItf.js} +1 -1
- package/dist/{vue-ui-treemap-C8MtnLLV.js → vue-ui-treemap-C4PiafoY.js} +33 -34
- package/dist/{vue-ui-waffle-DvQ-_joz.js → vue-ui-waffle-DvHrxSIL.js} +44 -45
- package/dist/{vue-ui-wheel-BzBzZw1d.js → vue-ui-wheel-DeKJJliu.js} +1 -1
- package/dist/{vue-ui-word-cloud-LrVTAPzW.js → vue-ui-word-cloud-IAom94Mg.js} +1 -1
- package/dist/{vue-ui-world-7DPU6qqx.js → vue-ui-world-CH9uc5uY.js} +78 -77
- package/dist/{vue-ui-xy-XsqGdS48.js → vue-ui-xy-C11EO1Ja.js} +187 -188
- package/dist/{vue-ui-xy-canvas--zevqB3i.js → vue-ui-xy-canvas-DLvVyHZO.js} +103 -104
- package/package.json +1 -1
|
@@ -20,7 +20,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
20
20
|
ref: "noTitle",
|
|
21
21
|
class: "vue-data-ui-no-title-space",
|
|
22
22
|
style: "height:36px; width: 100%;background:transparent"
|
|
23
|
-
}, Pl = ["id"], Il = { style: { position: "relative" } }, Nl = ["xmlns", "aria-describedby", "viewBox"], Ol = ["width", "height"], El = ["id"],
|
|
23
|
+
}, Pl = ["id"], Il = { style: { position: "relative" } }, Nl = ["xmlns", "aria-describedby", "viewBox"], Ol = ["width", "height"], El = ["id"], Fl = ["stop-color"], _l = ["stop-color"], Ml = ["d", "fill", "stroke", "stroke-width"], Dl = ["data-a11y-node-id", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx", "aria-label", "onMouseenter", "onMouseleave", "onClick"], Ll = { key: 1 }, Bl = ["x", "y", "font-size", "fill"], Yl = ["x", "y", "font-size", "fill"], zl = {
|
|
24
24
|
key: 0,
|
|
25
25
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
26
26
|
"data-dom-to-png-ignore": "",
|
|
@@ -51,10 +51,10 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
51
51
|
), po = te(
|
|
52
52
|
() => import("./UserOptions-DVduN6X7.js")
|
|
53
53
|
), go = te(
|
|
54
|
-
() => import("./PackageVersion-
|
|
54
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
55
55
|
), yo = te(
|
|
56
56
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
57
|
-
), { vue_ui_flow: mo } = dl(), { isThemeValid: bo, warnInvalidTheme: Co } = gl(), N = so, ko = uo, U = r(Ue()), V = r(null), ft = r(0), ht = r(0), Ne = r(!1), Ve = r(""), pt = r(null), gt = r(null), yt = r(null), ye = r(null), Oe = r(null), mt = r(!1), me = r(null), Ge = r(null), wo = r(null), Ee = r(!1),
|
|
57
|
+
), { vue_ui_flow: mo } = dl(), { isThemeValid: bo, warnInvalidTheme: Co } = gl(), N = so, ko = uo, U = r(Ue()), V = r(null), ft = r(0), ht = r(0), Ne = r(!1), Ve = r(""), pt = r(null), gt = r(null), yt = r(null), ye = r(null), Oe = r(null), mt = r(!1), me = r(null), Ge = r(null), wo = r(null), Ee = r(!1), Fe = r(!1), be = r(null), de = r(null), bt = r({ x: 0, y: 0 }), je = r("pointer"), _e = r(!1), Ct = i(() => !!N.dataset && N.dataset.length);
|
|
58
58
|
Xo(() => {
|
|
59
59
|
mt.value = !0, wt();
|
|
60
60
|
});
|
|
@@ -216,28 +216,28 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
216
216
|
const m = l[s]?.level ?? 0, R = m + 1;
|
|
217
217
|
a(s, m), a(d, R), l[s].children.push({ target: d, value: g }), l[s].outflow += g, l[d].inflow += g;
|
|
218
218
|
});
|
|
219
|
-
const n = new Set(t.map(([s]) => s)), p = new Set(t.map(([, s]) => s)), O = Array.from(n).filter((s) => !p.has(s)),
|
|
219
|
+
const n = new Set(t.map(([s]) => s)), p = new Set(t.map(([, s]) => s)), O = Array.from(n).filter((s) => !p.has(s)), _ = {};
|
|
220
220
|
O.forEach((s, d) => {
|
|
221
|
-
|
|
221
|
+
_[s] = De.value[d] || q[d % q.length];
|
|
222
222
|
});
|
|
223
223
|
const z = {};
|
|
224
224
|
t.forEach(([s, d, g, m]) => {
|
|
225
225
|
m && (z[s] = m, z[d] = m);
|
|
226
226
|
}), Object.keys(l).forEach((s, d) => {
|
|
227
227
|
const g = e.value.nodeCategories?.[s], m = g ? e.value.nodeCategoryColors?.[g] : null;
|
|
228
|
-
l[s].color = z[s] || m || (O.includes(s) ?
|
|
228
|
+
l[s].color = z[s] || m || (O.includes(s) ? _[s] : null) || q[d % q.length];
|
|
229
229
|
}), Object.keys(l).forEach((s) => {
|
|
230
230
|
l[s].value = Math.max(l[s].inflow, l[s].outflow);
|
|
231
231
|
});
|
|
232
232
|
const W = ke.value, G = Et.value.width, j = Et.value.height, C = Object.keys(o).map(Number).sort((s, d) => s - d), E = C.length || 1, M = E > 1 ? G / (E - 1) : 0, rt = Number(Ce.value), Te = Number(
|
|
233
233
|
e.value.style.chart.nodes.gapPx ?? e.value.style.chart.nodes.gap ?? 8
|
|
234
|
-
),
|
|
234
|
+
), F = Number(
|
|
235
235
|
e.value.style.chart.nodes.minHeight || 0
|
|
236
236
|
);
|
|
237
237
|
function Z(s) {
|
|
238
238
|
const d = o[s], g = d.length;
|
|
239
239
|
if (!g) return 1 / 0;
|
|
240
|
-
const m = Math.max(0, (g - 1) * Te), R = Math.max(0, j - m), Q = Math.min(
|
|
240
|
+
const m = Math.max(0, (g - 1) * Te), R = Math.max(0, j - m), Q = Math.min(F, g ? R / g : 0);
|
|
241
241
|
let x = 0, D = d.map((k) => l[k].value || 0), T = D.reduce((k, L) => k + L, 0);
|
|
242
242
|
for (let k = 0; k < 12; k += 1) {
|
|
243
243
|
const L = T > 0 ? (R - x) / T : 0, ee = [];
|
|
@@ -254,7 +254,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
254
254
|
}
|
|
255
255
|
const Se = C.map(Z), h = Se.length ? Math.min(...Se) : 0, y = {};
|
|
256
256
|
C.forEach((s) => {
|
|
257
|
-
const d = o[s], g = d.length, m = Math.max(0, (g - 1) * Te), R = Math.max(0, j - m), Q = Math.min(
|
|
257
|
+
const d = o[s], g = d.length, m = Math.max(0, (g - 1) * Te), R = Math.max(0, j - m), Q = Math.min(F, g ? R / g : 0), x = d.map(
|
|
258
258
|
(k) => Math.max(Q, (l[k].value || 0) * h)
|
|
259
259
|
), D = x.reduce((k, L) => k + L, 0) + m;
|
|
260
260
|
let T = Math.max(0, (j - D) / 2);
|
|
@@ -356,32 +356,32 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
356
356
|
function tt(t, l, o = "pointer", a = null) {
|
|
357
357
|
re.value = [], A.value = So(t.name), ne.value = t.name, $e.value = t.id, je.value = o, be.value = a, de.value = t.id;
|
|
358
358
|
const n = t.name, p = It.value;
|
|
359
|
-
let O = 0,
|
|
359
|
+
let O = 0, _ = 0, z = [], W = [];
|
|
360
360
|
const G = new Set(p.map(([h]) => h)), j = new Set(p.map(([, h]) => h)), C = Array.from(G).filter((h) => !j.has(h)), E = p.filter(([h]) => C.includes(h)).reduce((h, [y, J, ue]) => h + ue, 0), M = {};
|
|
361
361
|
$.value.nodes.forEach((h) => {
|
|
362
362
|
M[h.name] = h.color;
|
|
363
363
|
}), p.forEach(([h, y, J]) => {
|
|
364
|
-
y === n && (O += J, z.push({ source: h, value: J, color: M[h] })), h === n && (
|
|
364
|
+
y === n && (O += J, z.push({ source: h, value: J, color: M[h] })), h === n && (_ += J, W.push({ target: y, value: J, color: M[y] }));
|
|
365
365
|
});
|
|
366
|
-
const rt = Math.max(O,
|
|
366
|
+
const rt = Math.max(O, _), Te = E > 0 ? rt / E * 100 : 0, F = {
|
|
367
367
|
name: n,
|
|
368
368
|
inflow: O,
|
|
369
|
-
outflow:
|
|
369
|
+
outflow: _,
|
|
370
370
|
from: z,
|
|
371
371
|
to: W,
|
|
372
372
|
percentOfTotal: Te,
|
|
373
373
|
color: M[n] || "#000000"
|
|
374
374
|
};
|
|
375
375
|
e.value.events.datapointEnter && e.value.events.datapointEnter({
|
|
376
|
-
datapoint:
|
|
376
|
+
datapoint: F,
|
|
377
377
|
seriesIndex: l
|
|
378
|
-
}), fe.value = { datapoint:
|
|
378
|
+
}), fe.value = { datapoint: F }, Ne.value = !0;
|
|
379
379
|
let Z = "";
|
|
380
380
|
const Se = e.value.style.chart.tooltip.customFormat;
|
|
381
381
|
if (Le.value = !1, ul(Se))
|
|
382
382
|
try {
|
|
383
383
|
const h = Se({
|
|
384
|
-
datapoint:
|
|
384
|
+
datapoint: F,
|
|
385
385
|
series: $.value,
|
|
386
386
|
config: e.value
|
|
387
387
|
});
|
|
@@ -392,11 +392,11 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
392
392
|
if (!Le.value) {
|
|
393
393
|
const h = e.value.style.chart.tooltip.showPercentage ? `<div>${ge({
|
|
394
394
|
p: e.value.style.chart.tooltip.translations.percentOfTotal,
|
|
395
|
-
v:
|
|
395
|
+
v: F.percentOfTotal,
|
|
396
396
|
s: "%",
|
|
397
397
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
398
398
|
})}</div>` : "";
|
|
399
|
-
Z += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${
|
|
399
|
+
Z += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;"><span style="margin-right:4px; color:${F.color}">⏹</span>${F.name}${h}</div>`, F.from.length && (Z += `<div>${e.value.style.chart.tooltip.translations.from}</div>`, F.from.forEach((y) => {
|
|
400
400
|
Z += `<div><span style="color:${y.color}">⏹←</span> ${y.source}: ${We(
|
|
401
401
|
e.value.style.chart.nodes.labels.formatter,
|
|
402
402
|
y.value,
|
|
@@ -407,7 +407,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
407
407
|
r: e.value.style.chart.nodes.labels.rounding
|
|
408
408
|
})
|
|
409
409
|
)}</div>`;
|
|
410
|
-
})),
|
|
410
|
+
})), F.to.length && (Z += `<div style="margin-top:6px;">${e.value.style.chart.tooltip.translations.to}</div>`, F.to.forEach((y) => {
|
|
411
411
|
Z += `<div><span style="color:${y.color}">⏹→</span> ${y.target}: ${We(
|
|
412
412
|
e.value.style.chart.nodes.labels.formatter,
|
|
413
413
|
y.value,
|
|
@@ -424,14 +424,14 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
424
424
|
Po(t.id);
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
function
|
|
427
|
+
function Ft(t) {
|
|
428
428
|
const l = fe.value;
|
|
429
429
|
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
430
430
|
datapoint: l,
|
|
431
431
|
seriesIndex: t
|
|
432
432
|
}), !(je.value === "keyboard" && de.value) && ($e.value = null, A.value = null, ne.value = null, Ne.value = !1);
|
|
433
433
|
}
|
|
434
|
-
function
|
|
434
|
+
function _t(t) {
|
|
435
435
|
const l = fe.value;
|
|
436
436
|
e.value.events.datapointClick && e.value.events.datapointClick({
|
|
437
437
|
datapoint: l,
|
|
@@ -649,15 +649,15 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
649
649
|
const Eo = i(() => nt.value.map((t) => ({
|
|
650
650
|
...t,
|
|
651
651
|
name: t.display
|
|
652
|
-
}))),
|
|
652
|
+
}))), Fo = i(() => e.value.style.chart.backgroundColor), _o = i(() => e.value.style.chart.legend), Mo = i(() => e.value.style.chart.title), { exportSvg: Do, getSvg: Lo } = pl({
|
|
653
653
|
svg: ae,
|
|
654
654
|
title: Mo,
|
|
655
|
-
legend:
|
|
655
|
+
legend: _o,
|
|
656
656
|
legendItems: Eo,
|
|
657
|
-
backgroundColor:
|
|
657
|
+
backgroundColor: Fo
|
|
658
658
|
});
|
|
659
659
|
async function zt({ isCb: t }) {
|
|
660
|
-
|
|
660
|
+
Fe.value = !0, await dt();
|
|
661
661
|
try {
|
|
662
662
|
if (t) {
|
|
663
663
|
const { blob: l, url: o, text: a, dataUrl: n } = await Lo();
|
|
@@ -672,7 +672,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
672
672
|
} else
|
|
673
673
|
await Promise.resolve(Do());
|
|
674
674
|
} finally {
|
|
675
|
-
|
|
675
|
+
Fe.value = !1;
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
function Bo(t) {
|
|
@@ -717,16 +717,16 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
717
717
|
if (!o || !o.nodes.length) return null;
|
|
718
718
|
let a = o.nodes[0], n = Math.abs(a.centerY - l);
|
|
719
719
|
for (let p = 1; p < o.nodes.length; p += 1) {
|
|
720
|
-
const O = o.nodes[p],
|
|
721
|
-
|
|
720
|
+
const O = o.nodes[p], _ = Math.abs(O.centerY - l);
|
|
721
|
+
_ < n && (a = O, n = _);
|
|
722
722
|
}
|
|
723
723
|
return a;
|
|
724
724
|
}
|
|
725
725
|
function Ho() {
|
|
726
|
-
be.value = null, de.value = null,
|
|
726
|
+
be.value = null, de.value = null, _e.value = !0;
|
|
727
727
|
}
|
|
728
728
|
function Uo() {
|
|
729
|
-
et(),
|
|
729
|
+
et(), _e.value = !1;
|
|
730
730
|
}
|
|
731
731
|
function Wo(t) {
|
|
732
732
|
if (!ae.value || Ae.value || document.activeElement !== ae.value || !Be.value.length) return;
|
|
@@ -739,7 +739,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
739
739
|
}
|
|
740
740
|
if (p) {
|
|
741
741
|
if (be.value === null) return;
|
|
742
|
-
|
|
742
|
+
_t(be.value);
|
|
743
743
|
return;
|
|
744
744
|
}
|
|
745
745
|
if (de.value === null) {
|
|
@@ -749,9 +749,9 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
749
749
|
tt(C, E, "keyboard", E);
|
|
750
750
|
return;
|
|
751
751
|
}
|
|
752
|
-
const
|
|
753
|
-
if (
|
|
754
|
-
const z = Be.value[
|
|
752
|
+
const _ = Ye.value.get(de.value);
|
|
753
|
+
if (_ === void 0) return;
|
|
754
|
+
const z = Be.value[_];
|
|
755
755
|
if (!z) return;
|
|
756
756
|
const W = Yo(z.id);
|
|
757
757
|
if (W < 0) return;
|
|
@@ -789,7 +789,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
789
789
|
toggleAnnotator: at,
|
|
790
790
|
toggleTooltip: Lt,
|
|
791
791
|
drillCategory: st,
|
|
792
|
-
unselectNode:
|
|
792
|
+
unselectNode: Ft,
|
|
793
793
|
toggleFullscreen: kt,
|
|
794
794
|
copyAlt: Rt
|
|
795
795
|
}), (t, l) => (c(), b("div", {
|
|
@@ -800,7 +800,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
800
800
|
id: `flow_${U.value}`,
|
|
801
801
|
onMouseenter: l[2] || (l[2] = () => u($t)(!0)),
|
|
802
802
|
onMouseleave: l[3] || (l[3] = () => {
|
|
803
|
-
u($t)(!1),
|
|
803
|
+
u($t)(!1), _e.value || et();
|
|
804
804
|
})
|
|
805
805
|
}, [
|
|
806
806
|
H("div", {
|
|
@@ -1028,11 +1028,11 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
1028
1028
|
H("stop", {
|
|
1029
1029
|
offset: "0%",
|
|
1030
1030
|
"stop-color": o.sourceColor
|
|
1031
|
-
}, null, 8,
|
|
1031
|
+
}, null, 8, Fl),
|
|
1032
1032
|
H("stop", {
|
|
1033
1033
|
offset: "100%",
|
|
1034
1034
|
"stop-color": o.targetColor
|
|
1035
|
-
}, null, 8,
|
|
1035
|
+
}, null, 8, _l)
|
|
1036
1036
|
], 8, El))), 256))
|
|
1037
1037
|
]),
|
|
1038
1038
|
(c(!0), b(Pe, null, Ie($.value.links, (o) => (c(), b("path", {
|
|
@@ -1080,8 +1080,8 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
1080
1080
|
"pointer",
|
|
1081
1081
|
Ye.value.get(o.id)
|
|
1082
1082
|
),
|
|
1083
|
-
onMouseleave: (n) =>
|
|
1084
|
-
onClick: (n) =>
|
|
1083
|
+
onMouseleave: (n) => Ft(a),
|
|
1084
|
+
onClick: (n) => _t(a)
|
|
1085
1085
|
}, null, 44, Dl))), 256)),
|
|
1086
1086
|
e.value.style.chart.nodes.labels.show ? (c(), b("g", Ll, [
|
|
1087
1087
|
(c(!0), b(Pe, null, Ie($.value.nodes, (o, a) => (c(), b("text", {
|
|
@@ -1122,26 +1122,26 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
1122
1122
|
svg: {
|
|
1123
1123
|
...we.value,
|
|
1124
1124
|
isPrintingImg: u(Je) | u(Qe) | Ee.value,
|
|
1125
|
-
isPrintingSvg:
|
|
1125
|
+
isPrintingSvg: Fe.value
|
|
1126
1126
|
}
|
|
1127
1127
|
}, void 0, !0)
|
|
1128
1128
|
], 46, Nl)),
|
|
1129
1129
|
t.$slots.hint ? (c(), b("div", zl, [
|
|
1130
1130
|
v(t.$slots, "hint", S(P({
|
|
1131
1131
|
hint: e.value.a11y.translations.keyboardNavigation,
|
|
1132
|
-
isVisible:
|
|
1132
|
+
isVisible: _e.value
|
|
1133
1133
|
})), void 0, !0)
|
|
1134
1134
|
])) : w("", !0)
|
|
1135
1135
|
]),
|
|
1136
1136
|
t.$slots.watermark ? (c(), b("div", Rl, [
|
|
1137
1137
|
v(t.$slots, "watermark", S(P({
|
|
1138
|
-
isPrinting: u(Je) || u(Qe) || Ee.value ||
|
|
1138
|
+
isPrinting: u(Je) || u(Qe) || Ee.value || Fe.value
|
|
1139
1139
|
})), void 0, !0)
|
|
1140
1140
|
])) : w("", !0),
|
|
1141
1141
|
H("div", {
|
|
1142
1142
|
id: `legend-bottom-${U.value}`
|
|
1143
1143
|
}, null, 8, Hl),
|
|
1144
|
-
mt.value ? (c(), oe(Zo, {
|
|
1144
|
+
mt.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (c(), oe(Zo, {
|
|
1145
1145
|
key: 6,
|
|
1146
1146
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${U.value}` : `#legend-bottom-${U.value}`
|
|
1147
1147
|
}, [
|
|
@@ -1149,23 +1149,24 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
1149
1149
|
ref_key: "chartLegend",
|
|
1150
1150
|
ref: pt
|
|
1151
1151
|
}, [
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1152
|
+
v(t.$slots, "legend", { legend: Bt.value }, () => [
|
|
1153
|
+
e.value.style.chart.legend.show && nt.value.length ? (c(), oe(wl, {
|
|
1154
|
+
key: 0,
|
|
1155
|
+
legendSet: nt.value,
|
|
1156
|
+
config: No.value,
|
|
1157
|
+
isCursorPointer: ve.value,
|
|
1158
|
+
onClickMarker: l[0] || (l[0] = (o) => st(o))
|
|
1159
|
+
}, {
|
|
1160
|
+
item: f(({ legend: o, index: a }) => [
|
|
1161
|
+
u(Ke) ? w("", !0) : (c(), b("div", {
|
|
1162
|
+
key: 0,
|
|
1163
|
+
onClick: (n) => o.segregate(),
|
|
1164
|
+
style: X(`opacity:${re.value.length ? re.value.includes(a) ? 1 : 0.5 : 1}`)
|
|
1165
|
+
}, pe(o.display), 13, Ul))
|
|
1166
|
+
]),
|
|
1167
|
+
_: 1
|
|
1168
|
+
}, 8, ["legendSet", "config", "isCursorPointer"])) : w("", !0)
|
|
1169
|
+
], !0)
|
|
1169
1170
|
], 512)
|
|
1170
1171
|
], 8, ["to"])) : w("", !0),
|
|
1171
1172
|
t.$slots.source ? (c(), b("div", {
|
|
@@ -1272,7 +1273,7 @@ const xl = ["id"], Tl = ["id"], Sl = {
|
|
|
1272
1273
|
], !0)
|
|
1273
1274
|
], 46, xl));
|
|
1274
1275
|
}
|
|
1275
|
-
}, ia = /* @__PURE__ */ Al(Vl, [["__scopeId", "data-v-
|
|
1276
|
+
}, ia = /* @__PURE__ */ Al(Vl, [["__scopeId", "data-v-4ba591ed"]]);
|
|
1276
1277
|
export {
|
|
1277
1278
|
ia as default
|
|
1278
1279
|
};
|
|
@@ -36,12 +36,12 @@ const Dt = ["id"], zt = ["xmlns", "viewBox"], It = ["width", "height"], Nt = ["i
|
|
|
36
36
|
rt((t) => ({
|
|
37
37
|
v3170e5db: Ze.value
|
|
38
38
|
}));
|
|
39
|
-
const Re = x(() => import("./BaseIcon-DX0hTWa-.js")), Ue = x(() => import("./vue-ui-skeleton-
|
|
39
|
+
const Re = x(() => import("./BaseIcon-DX0hTWa-.js")), Ue = x(() => import("./vue-ui-skeleton-BSR3VLyw.js")), Me = x(() => import("./vue-ui-accordion-_zwPlx0H.js")), Ve = x(() => import("./DataTable-cMnb68Ik.js")), Ee = x(
|
|
40
40
|
() => import("./UserOptions-DVduN6X7.js")
|
|
41
41
|
), Ge = x(
|
|
42
42
|
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
43
43
|
), je = x(
|
|
44
|
-
() => import("./PackageVersion-
|
|
44
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
45
45
|
), He = x(
|
|
46
46
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
47
47
|
), { vue_ui_funnel: Xe } = wt(), { isThemeValid: We, warnInvalidTheme: qe } = At(), p = Ne, Ye = Be, L = c(null), B = c(vt()), ue = c(0), ie = c(0), ce = c(0), ve = c(null), de = c(null), he = c(null), A = Te(null), _ = Te(null), S = c(!1), R = c(null), Q = c(null), G = c(!1), j = c(!1), P = v(() => !!p.dataset && p.dataset.length);
|
|
@@ -17,7 +17,7 @@ import Tl from "./vue_ui_galaxy-D95AN4FT.js";
|
|
|
17
17
|
import { A as $l } from "./A11yDataTable-BpmuNomI.js";
|
|
18
18
|
import { B as xl } from "./BaseLegendToggle-cMP8M2u0.js";
|
|
19
19
|
import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
20
|
-
const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"], Fl = ["id"],
|
|
20
|
+
const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative" } }, Ll = ["xmlns", "aria-describedby", "viewBox"], Dl = ["width", "height"], Fl = ["id"], Nl = ["stdDeviation"], _l = ["d", "stroke", "stroke-width"], Bl = ["d", "stroke", "stroke-width"], Vl = ["filter"], El = ["d", "stroke", "stroke-width"], Ml = ["data-a11y-serie-id", "d", "stroke-width", "aria-label", "onMouseenter", "onMouseleave", "onClick"], Rl = {
|
|
21
21
|
key: 0,
|
|
22
22
|
style: { position: "absolute", top: "100%", left: "0", width: "100%" },
|
|
23
23
|
"data-dom-to-png-ignore": "",
|
|
@@ -48,7 +48,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
48
48
|
), yt = L(
|
|
49
49
|
() => import("./UserOptions-DVduN6X7.js")
|
|
50
50
|
), bt = L(
|
|
51
|
-
() => import("./PackageVersion-
|
|
51
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
52
52
|
), mt = L(
|
|
53
53
|
() => import("./BaseDraggableDialog-Di8Hlru3.js")
|
|
54
54
|
), { vue_ui_galaxy: kt } = dl(), { isThemeValid: Ct, warnInvalidTheme: wt } = yl(), T = it, k = n(at()), x = n(null), j = n(!1), ue = n(""), P = n(null), we = n(0), Te = n(0), $e = n(0), xe = n(0), Se = n(null), Pe = n(null), Ae = n(null), Oe = n(null), M = n(null), K = n(null), Ie = n(!1), R = n(null), re = n(null), Y = n(!1), q = n(!1), B = n(null), J = n(null), Le = n({ x: 0, y: 0 }), ie = n("pointer"), Q = n(!1), De = d(() => !!T.dataset && T.dataset.length), e = n(ve()), U = d(
|
|
@@ -88,14 +88,14 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
88
88
|
})
|
|
89
89
|
});
|
|
90
90
|
Yt(() => {
|
|
91
|
-
Ie.value = !0,
|
|
91
|
+
Ie.value = !0, _e();
|
|
92
92
|
});
|
|
93
|
-
const
|
|
94
|
-
function
|
|
93
|
+
const Ne = d(() => !!e.value.debug);
|
|
94
|
+
function _e() {
|
|
95
95
|
if (Zt(T.dataset) ? nt({
|
|
96
96
|
componentName: "VueUiGalaxy",
|
|
97
97
|
type: "dataset",
|
|
98
|
-
debug:
|
|
98
|
+
debug: Ne.value
|
|
99
99
|
}) : T.dataset.forEach((t, a) => {
|
|
100
100
|
el({
|
|
101
101
|
datasetObject: t,
|
|
@@ -106,7 +106,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
106
106
|
type: "datasetSerieAttribute",
|
|
107
107
|
property: l,
|
|
108
108
|
index: a,
|
|
109
|
-
debug:
|
|
109
|
+
debug: Ne.value
|
|
110
110
|
});
|
|
111
111
|
});
|
|
112
112
|
}), e.value.responsive) {
|
|
@@ -151,7 +151,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
151
151
|
Qe(
|
|
152
152
|
() => T.config,
|
|
153
153
|
(t) => {
|
|
154
|
-
e.value = ve(), ce.value = !e.value.userOptions.showOnChartHover,
|
|
154
|
+
e.value = ve(), ce.value = !e.value.userOptions.showOnChartHover, _e(), Te.value += 1, $e.value += 1, xe.value += 1, f.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, f.value.showTable = e.value.table.show, f.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
155
155
|
},
|
|
156
156
|
{ deep: !0 }
|
|
157
157
|
);
|
|
@@ -250,15 +250,15 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
250
250
|
blur: s / 180 * a
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
const
|
|
253
|
+
const N = n(!1);
|
|
254
254
|
function We(t) {
|
|
255
|
-
|
|
255
|
+
N.value = t, we.value += 1;
|
|
256
256
|
}
|
|
257
257
|
const le = n(null);
|
|
258
258
|
function fe() {
|
|
259
259
|
j.value = !1, P.value = null, B.value = null, J.value = null;
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function Nt(t) {
|
|
262
262
|
if (!F.value || !t) return;
|
|
263
263
|
const a = F.value.querySelector(
|
|
264
264
|
`[data-a11y-serie-id="${t}"]`
|
|
@@ -270,7 +270,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
270
270
|
y: l.top + l.height / 2
|
|
271
271
|
};
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function _t(t) {
|
|
274
274
|
e.value.events.datapointLeave && e.value.events.datapointLeave({
|
|
275
275
|
datapoint: t,
|
|
276
276
|
seriesIndex: t.absoluteIndex
|
|
@@ -344,7 +344,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
344
344
|
r: e.value.style.chart.tooltip.roundingPercentage
|
|
345
345
|
})
|
|
346
346
|
})}</b></div>`, ue.value = `<div>${y}</div>`), v === "keyboard" && ne(() => {
|
|
347
|
-
|
|
347
|
+
Nt(t.id);
|
|
348
348
|
});
|
|
349
349
|
}
|
|
350
350
|
const W = d(() => w.value.map((t, a) => {
|
|
@@ -500,7 +500,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
500
500
|
color: e.value.table.th.color,
|
|
501
501
|
headerColor: e.value.table.th.color,
|
|
502
502
|
headerBg: e.value.table.th.backgroundColor,
|
|
503
|
-
isFullscreen:
|
|
503
|
+
isFullscreen: N.value,
|
|
504
504
|
fullscreenParent: x.value,
|
|
505
505
|
forcedWidth: Math.min(500, window.innerWidth * 0.8),
|
|
506
506
|
isCursorPointer: U.value
|
|
@@ -594,7 +594,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
594
594
|
fe(), Q.value = !1;
|
|
595
595
|
}
|
|
596
596
|
function jt(t) {
|
|
597
|
-
if (!F.value || G.value || document.activeElement !== F.value || !
|
|
597
|
+
if (!F.value || G.value || document.activeElement !== F.value || !_.value.length) return;
|
|
598
598
|
const a = t.key === "ArrowLeft" || t.key === "ArrowUp", l = t.key === "ArrowRight" || t.key === "ArrowDown", o = t.key === "Enter" || t.key === " ", v = t.key === "Escape";
|
|
599
599
|
if (!a && !l && !o && !v)
|
|
600
600
|
return;
|
|
@@ -604,14 +604,14 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
604
604
|
}
|
|
605
605
|
if (o) {
|
|
606
606
|
if (B.value === null) return;
|
|
607
|
-
const I =
|
|
607
|
+
const I = _.value[B.value];
|
|
608
608
|
if (!I) return;
|
|
609
609
|
Ge(I.datapoint);
|
|
610
610
|
return;
|
|
611
611
|
}
|
|
612
612
|
let s = B.value;
|
|
613
|
-
s === null || s < 0 || s >=
|
|
614
|
-
const y =
|
|
613
|
+
s === null || s < 0 || s >= _.value.length ? s = l ? 0 : _.value.length - 1 : (s += l ? 1 : -1, s < 0 && (s = _.value.length - 1), s >= _.value.length && (s = 0));
|
|
614
|
+
const y = _.value[s];
|
|
615
615
|
y && Xe({
|
|
616
616
|
datapoint: y.datapoint,
|
|
617
617
|
seriesIndex: y.datapoint.seriesIndex,
|
|
@@ -623,7 +623,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
623
623
|
const me = d(() => {
|
|
624
624
|
const t = E.value?.colNames ?? [], a = E.value?.body ?? [];
|
|
625
625
|
return { headers: t, rows: a };
|
|
626
|
-
}),
|
|
626
|
+
}), _ = d(() => V.value.map((t, a) => ({
|
|
627
627
|
datapoint: t,
|
|
628
628
|
index: a
|
|
629
629
|
})));
|
|
@@ -644,7 +644,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
644
644
|
}), (t, a) => (u(), p("div", {
|
|
645
645
|
ref_key: "galaxyChart",
|
|
646
646
|
ref: x,
|
|
647
|
-
class: ae(`vue-data-ui-component vue-ui-galaxy ${
|
|
647
|
+
class: ae(`vue-data-ui-component vue-ui-galaxy ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"} ${r(Z) ? "loading" : ""}`),
|
|
648
648
|
style: X(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
649
649
|
id: `galaxy_${k.value}`,
|
|
650
650
|
onMouseenter: a[2] || (a[2] = () => r(Be)(!0)),
|
|
@@ -743,7 +743,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
743
743
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
744
744
|
hasAltCopy: e.value.userOptions.buttons.altCopy,
|
|
745
745
|
isTooltip: f.value.showTooltip,
|
|
746
|
-
isFullscreen:
|
|
746
|
+
isFullscreen: N.value,
|
|
747
747
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
748
748
|
chartElement: x.value,
|
|
749
749
|
position: e.value.userOptions.position,
|
|
@@ -844,8 +844,8 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
844
844
|
xmlns: r(nl),
|
|
845
845
|
"aria-describedby": `chart-instructions-${k.value}`,
|
|
846
846
|
class: ae({
|
|
847
|
-
"vue-data-ui-fullscreen--on":
|
|
848
|
-
"vue-data-ui-fulscreen--off": !
|
|
847
|
+
"vue-data-ui-fullscreen--on": N.value,
|
|
848
|
+
"vue-data-ui-fulscreen--off": !N.value
|
|
849
849
|
}),
|
|
850
850
|
viewBox: A.value.viewBox,
|
|
851
851
|
style: X(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
|
|
@@ -878,7 +878,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
878
878
|
C("feGaussianBlur", {
|
|
879
879
|
in: "SourceGraphic",
|
|
880
880
|
stdDeviation: 100 / e.value.style.chart.layout.arcs.gradient.intensity
|
|
881
|
-
}, null, 8,
|
|
881
|
+
}, null, 8, Nl)
|
|
882
882
|
], 8, Fl)
|
|
883
883
|
]),
|
|
884
884
|
(u(!0), p(et, null, tt(V.value, (l) => (u(), p("g", null, [
|
|
@@ -889,7 +889,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
889
889
|
stroke: e.value.style.chart.backgroundColor,
|
|
890
890
|
"stroke-width": pe(l).border,
|
|
891
891
|
"stroke-linecap": "round"
|
|
892
|
-
}, null, 8,
|
|
892
|
+
}, null, 8, _l)) : h("", !0),
|
|
893
893
|
l.value ? (u(), p("path", {
|
|
894
894
|
key: 1,
|
|
895
895
|
d: l.path,
|
|
@@ -935,7 +935,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
935
935
|
triggerMode: "pointer",
|
|
936
936
|
flatIndex: o
|
|
937
937
|
}),
|
|
938
|
-
onMouseleave: (v) =>
|
|
938
|
+
onMouseleave: (v) => _t(l),
|
|
939
939
|
onClick: (v) => Ge(l)
|
|
940
940
|
}, null, 40, Ml)) : h("", !0)
|
|
941
941
|
]))), 256)),
|
|
@@ -962,7 +962,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
962
962
|
C("div", {
|
|
963
963
|
id: `legend-bottom-${k.value}`
|
|
964
964
|
}, null, 8, zl),
|
|
965
|
-
Ie.value ? (u(), $(qt, {
|
|
965
|
+
Ie.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (u(), $(qt, {
|
|
966
966
|
key: 6,
|
|
967
967
|
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
|
|
968
968
|
}, [
|
|
@@ -970,32 +970,33 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
970
970
|
ref_key: "chartLegend",
|
|
971
971
|
ref: Pe
|
|
972
972
|
}, [
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
973
|
+
c(t.$slots, "legend", { legend: W.value }, () => [
|
|
974
|
+
e.value.style.chart.legend.show ? (u(), $(wl, {
|
|
975
|
+
key: `legend_${xe.value}`,
|
|
976
|
+
legendSet: W.value,
|
|
977
|
+
config: Bt.value,
|
|
978
|
+
onClickMarker: a[0] || (a[0] = ({ legend: l }) => z(l))
|
|
979
|
+
}, {
|
|
980
|
+
item: i(({ legend: l, index: o }) => [
|
|
981
|
+
r(Z) ? h("", !0) : (u(), p("div", {
|
|
982
|
+
key: 0,
|
|
983
|
+
onClick: (v) => z(l),
|
|
984
|
+
style: X(`opacity:${g.value.includes(l.id) ? 0.5 : 1}`)
|
|
985
|
+
}, oe(l.display), 13, Wl))
|
|
986
|
+
]),
|
|
987
|
+
legendToggle: i(() => [
|
|
988
|
+
W.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !r(Z) ? (u(), $(xl, {
|
|
989
|
+
key: 0,
|
|
990
|
+
backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
991
|
+
color: e.value.style.chart.legend.selectAllToggle.color,
|
|
992
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
993
|
+
checked: g.value.length > 0,
|
|
994
|
+
onToggle: At
|
|
995
|
+
}, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) : h("", !0)
|
|
996
|
+
]),
|
|
997
|
+
_: 1
|
|
998
|
+
}, 8, ["legendSet", "config"])) : h("", !0)
|
|
999
|
+
], !0)
|
|
999
1000
|
], 512)
|
|
1000
1001
|
], 8, ["to"])) : h("", !0),
|
|
1001
1002
|
t.$slots.source ? (u(), p("div", {
|
|
@@ -1020,7 +1021,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
1020
1021
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1021
1022
|
parent: x.value,
|
|
1022
1023
|
content: ue.value,
|
|
1023
|
-
isFullscreen:
|
|
1024
|
+
isFullscreen: N.value,
|
|
1024
1025
|
isCustom: r(rt)(e.value.style.chart.tooltip.customFormat),
|
|
1025
1026
|
smooth: e.value.style.chart.tooltip.smooth,
|
|
1026
1027
|
backdropFilter: e.value.style.chart.tooltip.backdropFilter,
|
|
@@ -1101,7 +1102,7 @@ const Pl = ["id"], Al = ["id"], Ol = ["id"], Il = { style: { position: "relative
|
|
|
1101
1102
|
], !0)
|
|
1102
1103
|
], 46, Pl));
|
|
1103
1104
|
}
|
|
1104
|
-
}, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-
|
|
1105
|
+
}, va = /* @__PURE__ */ Sl(Hl, [["__scopeId", "data-v-e02aecef"]]);
|
|
1105
1106
|
export {
|
|
1106
1107
|
va as default
|
|
1107
1108
|
};
|
|
@@ -40,7 +40,7 @@ const jt = ["id"], Bt = { key: 0 }, Dt = ["xmlns", "viewBox"], Wt = ["width", "h
|
|
|
40
40
|
), Ue = ae(
|
|
41
41
|
() => import("./UserOptions-DVduN6X7.js")
|
|
42
42
|
), je = ae(
|
|
43
|
-
() => import("./PackageVersion-
|
|
43
|
+
() => import("./PackageVersion-CHNfLQ9Q.js")
|
|
44
44
|
), { vue_ui_gauge: Be } = Nt(), { isThemeValid: De, warnInvalidTheme: We } = Xt(), g = Te, Ve = Le, He = d(() => !!g.dataset && Object.keys(g.dataset).length > 0 && g.dataset.series && g.dataset.series.length), C = f(kt()), qe = f(null), ve = f(0), N = f(null), de = f(null), he = f(null), fe = f(null), ye = f(null), ge = f(0), G = f(!1), U = f(!1), e = f(Z()), me = d(
|
|
45
45
|
() => e.value.userOptions.useCursorPointer
|
|
46
46
|
), Ze = d(() => Ie({
|