vue-data-ui 3.19.8 → 3.19.9
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/README.md +1 -1
- package/dist/{PackageVersion-zJAUEmyB.js → PackageVersion-Dl9W5zJD.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/types/vue-ui-dag.d.ts +2 -0
- package/dist/{vue-data-ui-Dv8MNDbS.js → vue-data-ui-nsosW-n5.js} +61 -61
- package/dist/vue-data-ui.js +61 -61
- package/dist/{vue-ui-3d-bar-DVsF4qGd.js → vue-ui-3d-bar-CTvvvgBE.js} +1 -1
- package/dist/{vue-ui-age-pyramid-Bu3bocZx.js → vue-ui-age-pyramid-ckZtLlmH.js} +1 -1
- package/dist/{vue-ui-bullet-COSSZ7RU.js → vue-ui-bullet-3CkhGOSb.js} +1 -1
- package/dist/{vue-ui-bump-C1w-a4ad.js → vue-ui-bump-LQuPTOlm.js} +1 -1
- package/dist/{vue-ui-candlestick-zO0Jmsen.js → vue-ui-candlestick-BeO06tlH.js} +1 -1
- package/dist/{vue-ui-carousel-table-Q2uTIELA.js → vue-ui-carousel-table-nZJ1k6se.js} +1 -1
- package/dist/{vue-ui-chestnut-DdNKhXkN.js → vue-ui-chestnut-BWItE1hg.js} +1 -1
- package/dist/{vue-ui-chord-CYzGIRtA.js → vue-ui-chord-YflKRyWK.js} +1 -1
- package/dist/{vue-ui-circle-pack-Dp5_ugXW.js → vue-ui-circle-pack-DyTYvEg3.js} +1 -1
- package/dist/{vue-ui-cursor-DBViygOD.js → vue-ui-cursor-C5_wkWul.js} +1 -1
- package/dist/{vue-ui-dag-BA2vr2Ub.js → vue-ui-dag-mH0baWM3.js} +1 -1
- package/dist/{vue-ui-dashboard-D11FCHnp.js → vue-ui-dashboard-F7pEuJDh.js} +58 -58
- package/dist/{vue-ui-digits-CIXbRR97.js → vue-ui-digits-BYBtwXy_.js} +1 -1
- package/dist/{vue-ui-donut-BSanYbqb.js → vue-ui-donut-B3L7jeHL.js} +434 -432
- package/dist/{vue-ui-donut-evolution-BVttNIzH.js → vue-ui-donut-evolution-C46h0gLy.js} +356 -356
- package/dist/{vue-ui-dumbbell-D-KcBLOF.js → vue-ui-dumbbell-xekp1obI.js} +1 -1
- package/dist/{vue-ui-flow-Dly7N0Nb.js → vue-ui-flow-BYYyk5KL.js} +1 -1
- package/dist/{vue-ui-funnel-COwXzAbB.js → vue-ui-funnel-BfY509t-.js} +1 -1
- package/dist/{vue-ui-galaxy-Cg9VStNF.js → vue-ui-galaxy-D061gTYS.js} +260 -257
- package/dist/{vue-ui-gauge-DHWCS6jR.js → vue-ui-gauge-BRxZNBBS.js} +1 -1
- package/dist/{vue-ui-geo-CV0FBeuB.js → vue-ui-geo-BwOMFUVr.js} +1 -1
- package/dist/{vue-ui-gizmo-5rdIvscj.js → vue-ui-gizmo-CQsP8Nd3.js} +1 -1
- package/dist/{vue-ui-heatmap-kiQ6q3q4.js → vue-ui-heatmap-DOsulVoP.js} +1 -1
- package/dist/{vue-ui-history-plot-CgPjudHv.js → vue-ui-history-plot-CXW6lF42.js} +4 -8
- package/dist/{vue-ui-horizontal-bar-CpQCmBQD.js → vue-ui-horizontal-bar-CideXtlg.js} +4 -4
- package/dist/{vue-ui-kpi-Bz7QeCTV.js → vue-ui-kpi-CE-JFZ1o.js} +1 -1
- package/dist/{vue-ui-molecule-CvfwMxYY.js → vue-ui-molecule-B1Prm5Lk.js} +1 -1
- package/dist/{vue-ui-mood-radar-D0lanJ__.js → vue-ui-mood-radar-B29gVcTN.js} +1 -1
- package/dist/{vue-ui-nested-donuts-C-LWBXmg.js → vue-ui-nested-donuts-Bsx5f9Gv.js} +97 -94
- package/dist/{vue-ui-onion-u9hGe4VA.js → vue-ui-onion-MN-PjNJq.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BJ5OjYTH.js → vue-ui-parallel-coordinate-plot-C9zU7MP5.js} +91 -95
- package/dist/{vue-ui-quadrant-BVFJ5Vur.js → vue-ui-quadrant-h-QFG9O4.js} +3 -3
- package/dist/vue-ui-quick-chart-PAVz4c9z.js +2469 -0
- package/dist/{vue-ui-radar-BsRGxgXN.js → vue-ui-radar-D2pVd53z.js} +115 -112
- package/dist/{vue-ui-relation-circle-MxYh6hSt.js → vue-ui-relation-circle-BjB0J53V.js} +1 -1
- package/dist/{vue-ui-ridgeline-BtNEP6ba.js → vue-ui-ridgeline-DamvqiyJ.js} +3 -3
- package/dist/{vue-ui-rings-Pj7yMeOV.js → vue-ui-rings-DkHS5dwd.js} +105 -102
- package/dist/{vue-ui-scatter-DrS1nrwL.js → vue-ui-scatter-dFDowCVQ.js} +5 -5
- package/dist/{vue-ui-skeleton-Cqv1KG4y.js → vue-ui-skeleton-zhkS1cmh.js} +1 -1
- package/dist/{vue-ui-spark-trend-eHleRq-z.js → vue-ui-spark-trend-fQ10-UvM.js} +1 -1
- package/dist/{vue-ui-sparkbar-BHJTG_on.js → vue-ui-sparkbar-D5toou8V.js} +1 -1
- package/dist/{vue-ui-sparkgauge-DpAEwvLX.js → vue-ui-sparkgauge-DRZcIPYf.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-BlMH_NJk.js → vue-ui-sparkhistogram-YizEqFdN.js} +1 -1
- package/dist/{vue-ui-sparkline-BAWc3ROJ.js → vue-ui-sparkline-w2nclIW0.js} +1 -1
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +662 -0
- package/dist/{vue-ui-stackbar-28FVVqVu.js → vue-ui-stackbar-BFLCEsRk.js} +404 -404
- package/dist/{vue-ui-stackline-DwtlEdOE.js → vue-ui-stackline-CU6s-hhv.js} +125 -125
- package/dist/{vue-ui-strip-plot-DX36qFKk.js → vue-ui-strip-plot-ByaDLFSL.js} +1 -1
- package/dist/{vue-ui-table-DdZ_DkqT.js → vue-ui-table-DuA_CfGn.js} +2 -2
- package/dist/{vue-ui-table-sparkline-BSV1jn7r.js → vue-ui-table-sparkline-Dfei_QrJ.js} +1 -1
- package/dist/{vue-ui-thermometer-Io8LdW1o.js → vue-ui-thermometer-biw3ivMI.js} +1 -1
- package/dist/{vue-ui-timer-BkdpZ-lw.js → vue-ui-timer-9LNNDl4q.js} +1 -1
- package/dist/{vue-ui-tiremarks-GC773Hw1.js → vue-ui-tiremarks-kF0Baqia.js} +1 -1
- package/dist/{vue-ui-treemap-C0dtbfbZ.js → vue-ui-treemap-BexKMBhz.js} +373 -373
- package/dist/{vue-ui-waffle-BvzfNmJC.js → vue-ui-waffle-Dq50j_uw.js} +1 -1
- package/dist/{vue-ui-wheel-Dm9V8TAH.js → vue-ui-wheel-BETHlWsO.js} +1 -1
- package/dist/{vue-ui-word-cloud-Ne_B9Elc.js → vue-ui-word-cloud-D1AQtzmT.js} +1 -1
- package/dist/{vue-ui-world-Bp38MZij.js → vue-ui-world-CcgbuSp_.js} +1 -1
- package/dist/{vue-ui-xy-BCeOqJYR.js → vue-ui-xy-BQ1YONCq.js} +280 -277
- package/dist/{vue-ui-xy-canvas-B06Rit63.js → vue-ui-xy-canvas-4ABYnasj.js} +3 -3
- package/package.json +1 -1
- package/dist/vue-ui-quick-chart-Cd5lGyph.js +0 -2471
- package/dist/vue-ui-sparkstackbar-BI8zG-DG.js +0 -662
|
@@ -128,7 +128,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
128
128
|
"copyAlt"
|
|
129
129
|
],
|
|
130
130
|
setup(e, { expose: De, emit: Ye }) {
|
|
131
|
-
let xt = m(() => import("./Tooltip-CuWEYGr3.js")), St = m(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), wt = m(() => import("./DataTable-DmE8Oo4i.js")), Tt = m(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Et = m(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-
|
|
131
|
+
let xt = m(() => import("./Tooltip-CuWEYGr3.js")), St = m(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), wt = m(() => import("./DataTable-DmE8Oo4i.js")), Tt = m(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), Et = m(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: kt } = ge(), { isThemeValid: At, warnInvalidTheme: jt } = Se(), E = e, Mt = l({
|
|
132
132
|
get() {
|
|
133
133
|
return !!E.dataset && E.dataset.length;
|
|
134
134
|
},
|
|
@@ -362,7 +362,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
362
362
|
function hn() {
|
|
363
363
|
H.value.length ? H.value = [] : W.value.forEach((e) => {
|
|
364
364
|
H.value.push(e.id);
|
|
365
|
-
});
|
|
365
|
+
}), An("selectLegend", K.value);
|
|
366
366
|
}
|
|
367
367
|
function gn(e) {
|
|
368
368
|
H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e);
|
|
@@ -406,10 +406,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
406
406
|
fontSize: M.value.style.chart.legend.fontSize,
|
|
407
407
|
paddingBottom: 12,
|
|
408
408
|
fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
|
|
409
|
-
})), xn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / xn.value),
|
|
409
|
+
})), xn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / xn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
|
|
410
410
|
let e = [];
|
|
411
411
|
for (let t = 0; t < xn.value; t += 1) {
|
|
412
|
-
let n = Math.min(...
|
|
412
|
+
let n = Math.min(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = oe(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
|
|
413
413
|
let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
|
|
414
414
|
return {
|
|
415
415
|
y: B.value.bottom - B.value.height * (r / a),
|
|
@@ -424,12 +424,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
424
424
|
});
|
|
425
425
|
}
|
|
426
426
|
return e;
|
|
427
|
-
}),
|
|
427
|
+
}), J = l(() => K.value.map((e, t) => ({
|
|
428
428
|
...e,
|
|
429
429
|
series: e.series.map((n, r) => ({
|
|
430
430
|
...n,
|
|
431
431
|
datapoints: n.values.map((i, a) => {
|
|
432
|
-
let o =
|
|
432
|
+
let o = q.value[a].scale.min < 0 ? (i || 0) + Math.abs(q.value[a].scale.min) : (i || 0) - Math.abs(q.value[a].scale.min), ee = q.value[a].scale.min < 0 ? q.value[a].scale.max + Math.abs(q.value[a].scale.min) : q.value[a].scale.max - Math.abs(q.value[a].scale.min);
|
|
433
433
|
return {
|
|
434
434
|
name: n.name,
|
|
435
435
|
seriesName: e.name,
|
|
@@ -454,7 +454,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
454
454
|
pathLength: r
|
|
455
455
|
};
|
|
456
456
|
})
|
|
457
|
-
}))),
|
|
457
|
+
}))), Y = l(() => J.value.flatMap((e, t) => e.series.map((n, r) => ({
|
|
458
458
|
shape: e.shape,
|
|
459
459
|
serieName: e.name,
|
|
460
460
|
serie: n,
|
|
@@ -463,7 +463,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
463
463
|
S: t,
|
|
464
464
|
key: `${t}_${r}`
|
|
465
465
|
}))));
|
|
466
|
-
function
|
|
466
|
+
function Sn({ value: e, index: t, datapoint: r }) {
|
|
467
467
|
return se(M.value.style.chart.yAxis.labels.formatters[t] || null, e, n({
|
|
468
468
|
p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
|
|
469
469
|
v: e,
|
|
@@ -474,8 +474,8 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
474
474
|
seriesIndex: t
|
|
475
475
|
});
|
|
476
476
|
}
|
|
477
|
-
let
|
|
478
|
-
function
|
|
477
|
+
let X = b(null), Cn = b(null), wn = b(!1), Tn = b("");
|
|
478
|
+
function Z({ shape: e, serie: t, S: n }) {
|
|
479
479
|
M.value.events.datapointLeave && M.value.events.datapointLeave({
|
|
480
480
|
datapoint: {
|
|
481
481
|
...t,
|
|
@@ -483,46 +483,46 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
483
483
|
},
|
|
484
484
|
seriesIndex: n
|
|
485
485
|
});
|
|
486
|
-
let r = k.value === null ? null :
|
|
487
|
-
qt.value === "keyboard" && r && r.serie.id === t.id || (
|
|
486
|
+
let r = k.value === null ? null : Y.value[k.value];
|
|
487
|
+
qt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, wn.value = !1);
|
|
488
488
|
}
|
|
489
|
-
function
|
|
489
|
+
function En(e) {
|
|
490
490
|
if (!F.value || !e?.datapoints?.length) return;
|
|
491
491
|
let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
|
|
492
492
|
if (!t) return;
|
|
493
493
|
let n = a(t.x, t.y, F.value);
|
|
494
494
|
n && (Kt.value = n);
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Q({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: ee = "pointer" }) {
|
|
497
497
|
M.value.events.datapointEnter && M.value.events.datapointEnter({
|
|
498
498
|
datapoint: {
|
|
499
499
|
...r,
|
|
500
500
|
shape: e
|
|
501
501
|
},
|
|
502
502
|
seriesIndex: o
|
|
503
|
-
}), qt.value = ee,
|
|
503
|
+
}), qt.value = ee, Cn.value = {
|
|
504
504
|
config: M.value,
|
|
505
505
|
datapoint: r,
|
|
506
506
|
serie: r,
|
|
507
507
|
relativeIndex: i,
|
|
508
508
|
seriesIndex: a,
|
|
509
509
|
series: U.value,
|
|
510
|
-
scales:
|
|
511
|
-
},
|
|
510
|
+
scales: q.value
|
|
511
|
+
}, wn.value = !0, X.value = r.id;
|
|
512
512
|
let s = "", te = M.value.style.chart.tooltip.customFormat;
|
|
513
513
|
de(te) && le(() => te({
|
|
514
514
|
serie: r,
|
|
515
515
|
seriesIndex: r.seriesIndex,
|
|
516
516
|
series: U.value,
|
|
517
517
|
config: M.value,
|
|
518
|
-
scales:
|
|
519
|
-
})) ?
|
|
518
|
+
scales: q.value
|
|
519
|
+
})) ? Tn.value = te({
|
|
520
520
|
serie: r,
|
|
521
521
|
seriesIndex: r.seriesIndex,
|
|
522
522
|
series: U.value,
|
|
523
523
|
config: M.value,
|
|
524
|
-
scales:
|
|
525
|
-
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`,
|
|
524
|
+
scales: q.value
|
|
525
|
+
}) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, q.value.map((e) => e.name).forEach((e, t) => {
|
|
526
526
|
s += `
|
|
527
527
|
<div class="vue-ui-tooltip-item" style="text-align:left">
|
|
528
528
|
<span>${e}: </span>
|
|
@@ -539,17 +539,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
539
539
|
</span>
|
|
540
540
|
</div>
|
|
541
541
|
`, M.value.style.chart.comments.showInTooltip && r.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
|
|
542
|
-
}),
|
|
543
|
-
|
|
542
|
+
}), Tn.value = `<div>${s}</div>`), ee === "keyboard" && Ve(() => {
|
|
543
|
+
En(r);
|
|
544
544
|
});
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function Dn() {
|
|
547
547
|
return U.value;
|
|
548
548
|
}
|
|
549
|
-
let
|
|
550
|
-
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
549
|
+
let $ = l(() => {
|
|
550
|
+
let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
|
|
551
551
|
return {
|
|
552
|
-
body:
|
|
552
|
+
body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
|
|
553
553
|
head: e,
|
|
554
554
|
config: {
|
|
555
555
|
th: {
|
|
@@ -564,44 +564,40 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
564
564
|
},
|
|
565
565
|
breakpoint: M.value.table.responsiveBreakpoint
|
|
566
566
|
},
|
|
567
|
-
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(
|
|
567
|
+
colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
|
|
568
568
|
};
|
|
569
|
-
}),
|
|
569
|
+
}), On = l(() => J.value.length === 0 ? {
|
|
570
570
|
head: [],
|
|
571
571
|
body: [],
|
|
572
572
|
config: {},
|
|
573
573
|
columnNames: []
|
|
574
574
|
} : {
|
|
575
|
-
head:
|
|
576
|
-
body:
|
|
575
|
+
head: $.value.head,
|
|
576
|
+
body: $.value.body
|
|
577
577
|
});
|
|
578
|
-
function
|
|
578
|
+
function kn(e = null) {
|
|
579
579
|
let t = [
|
|
580
580
|
[M.value.style.chart.title.text],
|
|
581
581
|
[M.value.style.chart.title.subtitle.text],
|
|
582
582
|
[""]
|
|
583
|
-
], n =
|
|
583
|
+
], n = On.value.head, r = On.value.body, i = te(t.concat([n]).concat(r));
|
|
584
584
|
e ? e(i) : o({
|
|
585
585
|
csvContent: i,
|
|
586
586
|
title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
|
|
587
587
|
});
|
|
588
588
|
}
|
|
589
|
-
let
|
|
590
|
-
function
|
|
589
|
+
let An = Ye;
|
|
590
|
+
function jn({ serie: e, shape: t, S: n }) {
|
|
591
591
|
M.value.events.datapointClick && M.value.events.datapointClick({
|
|
592
592
|
datapoint: {
|
|
593
593
|
...e,
|
|
594
594
|
shape: t
|
|
595
595
|
},
|
|
596
596
|
seriesIndex: n
|
|
597
|
-
}),
|
|
597
|
+
}), An("selectDatapoint", e);
|
|
598
598
|
}
|
|
599
599
|
function Mn(e) {
|
|
600
|
-
|
|
601
|
-
...e,
|
|
602
|
-
isSegregated: !e.isSegregated,
|
|
603
|
-
opacity: e.isSegregated ? 1 : .5
|
|
604
|
-
});
|
|
600
|
+
An("selectLegend", K.value);
|
|
605
601
|
}
|
|
606
602
|
function Nn() {
|
|
607
603
|
V.value.showTable = !V.value.showTable;
|
|
@@ -639,7 +635,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
639
635
|
});
|
|
640
636
|
Ce({
|
|
641
637
|
timeLabelsEls: Gt,
|
|
642
|
-
timeLabels: l(() =>
|
|
638
|
+
timeLabels: l(() => q.value.map((e) => e.name)),
|
|
643
639
|
slicer: zn,
|
|
644
640
|
configRef: M,
|
|
645
641
|
rotationPath: [
|
|
@@ -735,32 +731,32 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
735
731
|
ln();
|
|
736
732
|
}
|
|
737
733
|
async function Jn() {
|
|
738
|
-
if (
|
|
734
|
+
if (An("copyAlt", {
|
|
739
735
|
config: M.value,
|
|
740
|
-
dataset:
|
|
736
|
+
dataset: J.value
|
|
741
737
|
}), !M.value.userOptions.callbacks.altCopy) {
|
|
742
738
|
console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
|
|
743
739
|
return;
|
|
744
740
|
}
|
|
745
741
|
await Promise.resolve(M.value.userOptions.callbacks.altCopy({
|
|
746
742
|
config: M.value,
|
|
747
|
-
dataset:
|
|
743
|
+
dataset: J.value
|
|
748
744
|
}));
|
|
749
745
|
}
|
|
750
746
|
function Yn(e) {
|
|
751
|
-
let t =
|
|
747
|
+
let t = Y.value.length;
|
|
752
748
|
return t ? (e % t + t) % t : null;
|
|
753
749
|
}
|
|
754
750
|
function Xn() {
|
|
755
751
|
if (k.value !== null) {
|
|
756
|
-
let e =
|
|
757
|
-
e &&
|
|
752
|
+
let e = Y.value[k.value];
|
|
753
|
+
e && Z({
|
|
758
754
|
shape: e.shape,
|
|
759
755
|
serie: e.serie,
|
|
760
756
|
S: e.S
|
|
761
757
|
});
|
|
762
758
|
}
|
|
763
|
-
k.value = null, qt.value = "pointer",
|
|
759
|
+
k.value = null, qt.value = "pointer", X.value = null, wn.value = !1;
|
|
764
760
|
}
|
|
765
761
|
function Zn() {
|
|
766
762
|
k.value = null, Jt.value = !0;
|
|
@@ -769,7 +765,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
769
765
|
Xn(), Jt.value = !1;
|
|
770
766
|
}
|
|
771
767
|
function $n(e) {
|
|
772
|
-
if (!F.value || In.value || document.activeElement !== F.value || !
|
|
768
|
+
if (!F.value || In.value || document.activeElement !== F.value || !Y.value.length) return;
|
|
773
769
|
let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
774
770
|
if (!t && !n && !r && !i) return;
|
|
775
771
|
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
@@ -778,9 +774,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
778
774
|
}
|
|
779
775
|
if (r) {
|
|
780
776
|
if (k.value === null) return;
|
|
781
|
-
let e =
|
|
777
|
+
let e = Y.value[k.value];
|
|
782
778
|
if (!e) return;
|
|
783
|
-
|
|
779
|
+
jn({
|
|
784
780
|
serie: e.serie,
|
|
785
781
|
shape: e.shape,
|
|
786
782
|
S: e.S
|
|
@@ -788,9 +784,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
788
784
|
return;
|
|
789
785
|
}
|
|
790
786
|
let a = k.value;
|
|
791
|
-
a = a === null ? n ? 0 :
|
|
792
|
-
let o =
|
|
793
|
-
o && (k.value = a,
|
|
787
|
+
a = a === null ? n ? 0 : Y.value.length - 1 : Yn(a + (n ? 1 : -1));
|
|
788
|
+
let o = Y.value[a];
|
|
789
|
+
o && (k.value = a, Q({
|
|
794
790
|
shape: o.shape,
|
|
795
791
|
serieName: o.serieName,
|
|
796
792
|
serie: o.serie,
|
|
@@ -801,8 +797,8 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
801
797
|
}));
|
|
802
798
|
}
|
|
803
799
|
let er = l(() => ({
|
|
804
|
-
head:
|
|
805
|
-
body:
|
|
800
|
+
head: $.value.head,
|
|
801
|
+
body: $.value.body.map((e) => [
|
|
806
802
|
e[0] ?? "",
|
|
807
803
|
e[1] ?? "",
|
|
808
804
|
...e.slice(2)
|
|
@@ -811,9 +807,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
811
807
|
notice: M.value.a11y.translations.tableAvailable
|
|
812
808
|
}));
|
|
813
809
|
return De({
|
|
814
|
-
getData:
|
|
810
|
+
getData: Dn,
|
|
815
811
|
getImage: Rn,
|
|
816
|
-
generateCsv:
|
|
812
|
+
generateCsv: kn,
|
|
817
813
|
generatePdf: cn,
|
|
818
814
|
generateImage: ln,
|
|
819
815
|
generateSvg: Kn,
|
|
@@ -932,7 +928,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
932
928
|
isCursorPointer: N.value,
|
|
933
929
|
onToggleFullscreen: Yt,
|
|
934
930
|
onGeneratePdf: w(cn),
|
|
935
|
-
onGenerateCsv:
|
|
931
|
+
onGenerateCsv: kn,
|
|
936
932
|
onGenerateImage: qn,
|
|
937
933
|
onGenerateSvg: Kn,
|
|
938
934
|
onToggleTable: Nn,
|
|
@@ -1042,7 +1038,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1042
1038
|
height: B.value.height,
|
|
1043
1039
|
style: { pointerEvents: "none" }
|
|
1044
1040
|
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : d("", !0),
|
|
1045
|
-
(y(!0), f(c, null, x(
|
|
1041
|
+
(y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", nt, [p("line", {
|
|
1046
1042
|
x1: B.value.left + G.value * t + G.value / 2,
|
|
1047
1043
|
x2: B.value.left + G.value * t + G.value / 2,
|
|
1048
1044
|
y1: B.value.top,
|
|
@@ -1056,7 +1052,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1056
1052
|
y2: e.y,
|
|
1057
1053
|
stroke: M.value.style.chart.yAxis.stroke,
|
|
1058
1054
|
"stroke-width": M.value.style.chart.yAxis.strokeWidth,
|
|
1059
|
-
style: v(`opacity:${
|
|
1055
|
+
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1060
1056
|
}, null, 12, it))), 256)), w(P) ? d("", !0) : (y(), f("g", at, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("text", {
|
|
1061
1057
|
x: e.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX,
|
|
1062
1058
|
y: e.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3,
|
|
@@ -1064,8 +1060,8 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1064
1060
|
"text-anchor": "end",
|
|
1065
1061
|
"font-size": R.value.ticksFontSize,
|
|
1066
1062
|
"font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
|
|
1067
|
-
style: v(`opacity:${
|
|
1068
|
-
}, C(
|
|
1063
|
+
style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
|
|
1064
|
+
}, C(Sn({
|
|
1069
1065
|
value: e.value,
|
|
1070
1066
|
index: t,
|
|
1071
1067
|
datapoint: e
|
|
@@ -1074,7 +1070,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1074
1070
|
key: 1,
|
|
1075
1071
|
ref_key: "xAxisLabels",
|
|
1076
1072
|
ref: Gt
|
|
1077
|
-
}, [(y(!0), f(c, null, x(
|
|
1073
|
+
}, [(y(!0), f(c, null, x(q.value, (e, n) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
|
|
1078
1074
|
key: 1,
|
|
1079
1075
|
class: "vue-ui-parallel-coordinate-plot-x-label",
|
|
1080
1076
|
fill: M.value.style.chart.yAxis.labels.axisNamesColor,
|
|
@@ -1098,7 +1094,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1098
1094
|
"text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
|
|
1099
1095
|
transform: `translate(${B.value.left + G.value * n + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
|
|
1100
1096
|
}, C(e.name), 9, st))], 64))), 256))], 512)) : d("", !0),
|
|
1101
|
-
(y(!0), f(c, null, x(
|
|
1097
|
+
(y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
|
|
1102
1098
|
M.value.style.chart.plots.show ? (y(), f("g", lt, [
|
|
1103
1099
|
(y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ee, {
|
|
1104
1100
|
plot: {
|
|
@@ -1110,7 +1106,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1110
1106
|
radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
|
|
1111
1107
|
stroke: M.value.style.chart.backgroundColor,
|
|
1112
1108
|
strokeWidth: .5,
|
|
1113
|
-
onMouseenter: (e) =>
|
|
1109
|
+
onMouseenter: (e) => Q({
|
|
1114
1110
|
shape: t.shape,
|
|
1115
1111
|
serieName: t.name,
|
|
1116
1112
|
serie: r,
|
|
@@ -1119,13 +1115,13 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1119
1115
|
S: n,
|
|
1120
1116
|
triggerMode: "pointer"
|
|
1121
1117
|
}),
|
|
1122
|
-
onMouseleave: (e) =>
|
|
1118
|
+
onMouseleave: (e) => Z({
|
|
1123
1119
|
serie: r,
|
|
1124
1120
|
shape: t.shape,
|
|
1125
1121
|
S: n
|
|
1126
1122
|
}),
|
|
1127
|
-
style: v(`opacity:${
|
|
1128
|
-
onClick: () =>
|
|
1123
|
+
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
|
|
1124
|
+
onClick: () => jn({
|
|
1129
1125
|
serie: r,
|
|
1130
1126
|
shape: t.shape,
|
|
1131
1127
|
S: n
|
|
@@ -1141,7 +1137,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1141
1137
|
"style",
|
|
1142
1138
|
"onClick"
|
|
1143
1139
|
]))), 256)),
|
|
1144
|
-
V.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [
|
|
1140
|
+
V.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [X.value && X.value === r.id && r.datapoints.length ? (y(), f("text", {
|
|
1145
1141
|
key: 0,
|
|
1146
1142
|
x: r.datapoints[0].x - R.value.ticksFontSize,
|
|
1147
1143
|
y: r.datapoints[0].y + R.value.ticksFontSize / 3,
|
|
@@ -1162,7 +1158,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1162
1158
|
color: t.color
|
|
1163
1159
|
} }, void 0, !0)])], 8, dt)) : d("", !0)]))), 256)) : d("", !0)
|
|
1164
1160
|
])) : d("", !0),
|
|
1165
|
-
!w(P) && (V.value.dataLabels.show ||
|
|
1161
|
+
!w(P) && (V.value.dataLabels.show || X.value && X.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
|
|
1166
1162
|
x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
|
|
1167
1163
|
y: e.y + M.value.style.chart.yAxis.labels.datapoints.offsetY + R.value.datapointFontSize / 3,
|
|
1168
1164
|
fill: M.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : M.value.style.chart.yAxis.labels.datapoints.color,
|
|
@@ -1173,7 +1169,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1173
1169
|
"vue-ui-pcp-transition": !w(P)
|
|
1174
1170
|
}),
|
|
1175
1171
|
"font-size": R.value.datapointFontSize,
|
|
1176
|
-
onMouseenter: (e) =>
|
|
1172
|
+
onMouseenter: (e) => Q({
|
|
1177
1173
|
shape: t.shape,
|
|
1178
1174
|
serieName: t.name,
|
|
1179
1175
|
serie: r,
|
|
@@ -1182,18 +1178,18 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1182
1178
|
S: n,
|
|
1183
1179
|
triggerMode: "pointer"
|
|
1184
1180
|
}),
|
|
1185
|
-
onMouseleave: (e) =>
|
|
1181
|
+
onMouseleave: (e) => Z({
|
|
1186
1182
|
serie: r,
|
|
1187
1183
|
shape: t.shape,
|
|
1188
1184
|
S: n
|
|
1189
1185
|
}),
|
|
1190
|
-
onClick: () =>
|
|
1186
|
+
onClick: () => jn({
|
|
1191
1187
|
serie: r,
|
|
1192
1188
|
shape: t.shape,
|
|
1193
1189
|
S: n
|
|
1194
1190
|
}),
|
|
1195
|
-
style: v(`opacity:${
|
|
1196
|
-
}, C(
|
|
1191
|
+
style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
|
|
1192
|
+
}, C(Sn({
|
|
1197
1193
|
value: e.value,
|
|
1198
1194
|
index: a,
|
|
1199
1195
|
datapoint: e
|
|
@@ -1207,7 +1203,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1207
1203
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1208
1204
|
"vue-ui-pcp-transition": !w(P)
|
|
1209
1205
|
}),
|
|
1210
|
-
onMouseenter: (e) =>
|
|
1206
|
+
onMouseenter: (e) => Q({
|
|
1211
1207
|
shape: t.shape,
|
|
1212
1208
|
serieName: t.name,
|
|
1213
1209
|
serie: r,
|
|
@@ -1216,17 +1212,17 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1216
1212
|
S: n,
|
|
1217
1213
|
triggerMode: "pointer"
|
|
1218
1214
|
}),
|
|
1219
|
-
onMouseleave: (e) =>
|
|
1215
|
+
onMouseleave: (e) => Z({
|
|
1220
1216
|
serie: r,
|
|
1221
1217
|
shape: t.shape,
|
|
1222
1218
|
S: n
|
|
1223
1219
|
}),
|
|
1224
|
-
onClick: () =>
|
|
1220
|
+
onClick: () => jn({
|
|
1225
1221
|
serie: r,
|
|
1226
1222
|
shape: t.shape,
|
|
1227
1223
|
S: n
|
|
1228
1224
|
}),
|
|
1229
|
-
style: v(`opacity:${
|
|
1225
|
+
style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
|
|
1230
1226
|
}, null, 46, mt),
|
|
1231
1227
|
V.value.showTooltip ? (y(), f("path", {
|
|
1232
1228
|
key: 2,
|
|
@@ -1238,7 +1234,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1238
1234
|
"vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
|
|
1239
1235
|
"vue-ui-pcp-transition": !w(P)
|
|
1240
1236
|
}),
|
|
1241
|
-
onMouseenter: (e) =>
|
|
1237
|
+
onMouseenter: (e) => Q({
|
|
1242
1238
|
shape: t.shape,
|
|
1243
1239
|
serieName: t.name,
|
|
1244
1240
|
serie: r,
|
|
@@ -1247,12 +1243,12 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1247
1243
|
S: n,
|
|
1248
1244
|
triggerMode: "pointer"
|
|
1249
1245
|
}),
|
|
1250
|
-
onMouseleave: (e) =>
|
|
1246
|
+
onMouseleave: (e) => Z({
|
|
1251
1247
|
serie: r,
|
|
1252
1248
|
shape: t.shape,
|
|
1253
1249
|
S: n
|
|
1254
1250
|
}),
|
|
1255
|
-
onClick: () =>
|
|
1251
|
+
onClick: () => jn({
|
|
1256
1252
|
serie: r,
|
|
1257
1253
|
shape: t.shape,
|
|
1258
1254
|
S: n
|
|
@@ -1321,7 +1317,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1321
1317
|
}, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
1322
1318
|
ze(w(xt), {
|
|
1323
1319
|
teleportTo: M.value.style.chart.tooltip.teleportTo,
|
|
1324
|
-
show: V.value.showTooltip &&
|
|
1320
|
+
show: V.value.showTooltip && wn.value,
|
|
1325
1321
|
backgroundColor: M.value.style.chart.tooltip.backgroundColor,
|
|
1326
1322
|
color: M.value.style.chart.tooltip.color,
|
|
1327
1323
|
fontSize: M.value.style.chart.tooltip.fontSize,
|
|
@@ -1333,7 +1329,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1333
1329
|
offsetX: M.value.style.chart.tooltip.offsetX,
|
|
1334
1330
|
offsetY: M.value.style.chart.tooltip.offsetY,
|
|
1335
1331
|
parent: D.value,
|
|
1336
|
-
content:
|
|
1332
|
+
content: Tn.value,
|
|
1337
1333
|
isFullscreen: j.value,
|
|
1338
1334
|
isCustom: w(de)(M.value.style.chart.tooltip.customFormat),
|
|
1339
1335
|
smooth: M.value.style.chart.tooltip.smooth,
|
|
@@ -1343,9 +1339,9 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1343
1339
|
isA11yMode: qt.value === "keyboard",
|
|
1344
1340
|
a11yPosition: Kt.value
|
|
1345
1341
|
}, {
|
|
1346
|
-
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...
|
|
1347
|
-
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...
|
|
1348
|
-
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...
|
|
1342
|
+
"tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Cn.value })), void 0, !0)]),
|
|
1343
|
+
tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Cn.value })), void 0, !0)]),
|
|
1344
|
+
"tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Cn.value })), void 0, !0)]),
|
|
1349
1345
|
_: 3
|
|
1350
1346
|
}, 8, [
|
|
1351
1347
|
"teleportTo",
|
|
@@ -1378,10 +1374,10 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1378
1374
|
}), Le({
|
|
1379
1375
|
content: T(() => [(y(), u(w(wt), {
|
|
1380
1376
|
key: `table_${Bt.value}`,
|
|
1381
|
-
colNames:
|
|
1382
|
-
head:
|
|
1383
|
-
body:
|
|
1384
|
-
config:
|
|
1377
|
+
colNames: $.value.colNames,
|
|
1378
|
+
head: $.value.head,
|
|
1379
|
+
body: $.value.body,
|
|
1380
|
+
config: $.value.config,
|
|
1385
1381
|
title: M.value.table.useDialog ? "" : Bn.value.title,
|
|
1386
1382
|
withCloseButton: !M.value.table.useDialog,
|
|
1387
1383
|
isCursorPointer: N.value,
|
|
@@ -1409,7 +1405,7 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1409
1405
|
fn: T(() => [p("button", {
|
|
1410
1406
|
tabindex: "0",
|
|
1411
1407
|
class: "vue-ui-user-options-button",
|
|
1412
|
-
onClick: n[1] ||= (e) =>
|
|
1408
|
+
onClick: n[1] ||= (e) => kn(M.value.userOptions.callbacks.csv),
|
|
1413
1409
|
style: v({ cursor: N.value ? "pointer" : "default" })
|
|
1414
1410
|
}, [ze(w(St), {
|
|
1415
1411
|
name: "fileCsv",
|
|
@@ -1420,6 +1416,6 @@ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe
|
|
|
1420
1416
|
S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
|
|
1421
1417
|
], 46, Xe));
|
|
1422
1418
|
}
|
|
1423
|
-
}, [["__scopeId", "data-v-
|
|
1419
|
+
}, [["__scopeId", "data-v-b86a949a"]]);
|
|
1424
1420
|
//#endregion
|
|
1425
1421
|
export { Ye as n, xt as t };
|
|
@@ -223,7 +223,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
223
223
|
"copyAlt"
|
|
224
224
|
],
|
|
225
225
|
setup(e, { expose: Ce, emit: We }) {
|
|
226
|
-
let tn = h(() => import("./Tooltip-CuWEYGr3.js")), nn = h(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), rn = h(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), an = h(() => import("./DataTable-DmE8Oo4i.js")), on = h(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), sn = h(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), cn = h(() => import("./PackageVersion-
|
|
226
|
+
let tn = h(() => import("./Tooltip-CuWEYGr3.js")), nn = h(() => import("./BaseIcon-DM1x8hQF.js").then((e) => e.n)), rn = h(() => import("./vue-ui-accordion-BX9WL-QF.js").then((e) => e.n)), an = h(() => import("./DataTable-DmE8Oo4i.js")), on = h(() => import("./PenAndPaper-DNgm6y3l.js").then((e) => e.t)), sn = h(() => import("./UserOptions-D7zR0tnR.js").then((e) => e.n)), cn = h(() => import("./PackageVersion-Dl9W5zJD.js").then((e) => e.t)), ln = h(() => import("./BaseDraggableDialog-DUUu2E2Q.js").then((e) => e.n)), { vue_ui_quadrant: un } = pe(), { isThemeValid: dn, warnInvalidTheme: fn } = ye(), D = e, pn = u(() => !!D.dataset && D.dataset.length), O = x(r()), mn = We, hn = x(!1), gn = x(""), _n = x(0), k = x(!1), A = x(null), vn = x(null), yn = x(null), bn = x(null), xn = x(null), Sn = x(0), Cn = x(0), wn = x(0), Tn = x(!1), En = x(null), Dn = x(null), On = x(!1), kn = x(!1), j = x(null), An = x(null), jn = x({
|
|
227
227
|
x: 0,
|
|
228
228
|
y: 0
|
|
229
229
|
}), Mn = x("pointer"), Nn = x(!1), M = x(Bn()), N = u(() => M.value.userOptions.useCursorPointer), Pn = u(() => ({
|
|
@@ -731,7 +731,7 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
731
731
|
function ar() {
|
|
732
732
|
q.value.length ? q.value = [] : Y.value.forEach((e) => {
|
|
733
733
|
q.value.push(e.id);
|
|
734
|
-
});
|
|
734
|
+
}), mn("selectLegend", br());
|
|
735
735
|
}
|
|
736
736
|
function or(e) {
|
|
737
737
|
q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), mn("selectLegend", br());
|
|
@@ -1973,6 +1973,6 @@ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe
|
|
|
1973
1973
|
C(e.$slots, "skeleton", {}, () => [T(Fn) ? (b(), d(ge, { key: 0 })) : f("", !0)], !0)
|
|
1974
1974
|
], 46, Ge));
|
|
1975
1975
|
}
|
|
1976
|
-
}, [["__scopeId", "data-v-
|
|
1976
|
+
}, [["__scopeId", "data-v-0dde82f9"]]);
|
|
1977
1977
|
//#endregion
|
|
1978
1978
|
export { We as n, tn as t };
|