vue-data-ui 2.12.2 → 2.12.4
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/{Arrow-DIWP4RKK.js → Arrow-DWXcP0Gw.js} +1 -1
- package/dist/BaseDraggableDialog-DyV-BY6O.js +186 -0
- package/dist/{BaseIcon-C8PYAGSm.js → BaseIcon-DIIS9hFE.js} +1 -1
- package/dist/{ColorPicker-DVqKbGvI.js → ColorPicker-D09a5oTx.js} +3 -3
- package/dist/{DataTable-bu8svd8_.js → DataTable-BAr4XpSA.js} +2 -2
- package/dist/{Legend-DPhZp44K.js → Legend-CxZqkiNm.js} +4 -4
- package/dist/{PackageVersion-DV3lyC6_.js → PackageVersion-CQUs0b3q.js} +1 -1
- package/dist/{PenAndPaper-mmgChIlY.js → PenAndPaper-DmGOEcsD.js} +3 -3
- package/dist/{Shape-CqqGhNJ7.js → Shape-gJBc0QCq.js} +1 -1
- package/dist/{Slicer-4gNIAogU.js → Slicer-B81b2Jr1.js} +2 -2
- package/dist/{Title-BjMd4WGZ.js → Title-BQKp20eU.js} +1 -1
- package/dist/{Tooltip-QXYFefbw.js → Tooltip-Bjsc232E.js} +1 -1
- package/dist/{dom-to-png-xlji2G1x.js → dom-to-png-BAR1EMYe.js} +1 -1
- package/dist/{img-DazS1-Hk.js → img-BDqur_YP.js} +1 -1
- package/dist/{index-DISniBjo.js → index-BKDMQMKQ.js} +538 -491
- package/dist/{pdf-CQZKhr5c.js → pdf-CMw0Bw1w.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +12 -0
- package/dist/types/vue-data-ui.d.ts +12 -0
- package/dist/{useNestedProp-Cg1rd0rj.js → useNestedProp-B_1UW4X2.js} +1 -1
- package/dist/{usePrinter-Cw5Mv9xt.js → usePrinter-BNaQ2HUw.js} +3 -3
- package/dist/{vue-data-ui-BTvacIdS.js → vue-data-ui-RV3mQ1d3.js} +63 -63
- package/dist/vue-data-ui.js +23 -23
- package/dist/{vue-ui-3d-bar-BxHQK-2L.js → vue-ui-3d-bar-Bq4AcGdm.js} +9 -9
- package/dist/{vue-ui-accordion-CFpwBwSP.js → vue-ui-accordion-DyqkVlpC.js} +3 -3
- package/dist/{vue-ui-age-pyramid-MdH3FVAn.js → vue-ui-age-pyramid-BYn8ffyI.js} +10 -10
- package/dist/{vue-ui-annotator-CoTlk9ka.js → vue-ui-annotator-Biv6tN6c.js} +2 -2
- package/dist/{vue-ui-bullet-BXcym8wq.js → vue-ui-bullet-DVflwrvi.js} +8 -8
- package/dist/{vue-ui-candlestick-pPYXGx-u.js → vue-ui-candlestick-C-gmKrpa.js} +11 -11
- package/dist/{vue-ui-carousel-table-CSBqSz49.js → vue-ui-carousel-table-DJT77KEd.js} +4 -4
- package/dist/{vue-ui-chestnut-BIB3Y5Do.js → vue-ui-chestnut-CuF02nem.js} +8 -8
- package/dist/{vue-ui-chord-D7Zxwz-p.js → vue-ui-chord-7PHPveVU.js} +65 -65
- package/dist/{vue-ui-circle-pack-CshPHdim.js → vue-ui-circle-pack-BU_MxW6h.js} +9 -9
- package/dist/{vue-ui-cursor-Dy7yoURO.js → vue-ui-cursor-DSFHMrnK.js} +2 -2
- package/dist/{vue-ui-dashboard-CTcgQdrY.js → vue-ui-dashboard-CHyk8pO_.js} +62 -62
- package/dist/{vue-ui-digits-BgMG_ZD8.js → vue-ui-digits-GOVpxQeg.js} +2 -2
- package/dist/{vue-ui-donut-CD5UvHFF.js → vue-ui-donut-C5sXao7U.js} +105 -107
- package/dist/vue-ui-donut-evolution-BsoNZw0_.js +871 -0
- package/dist/{vue-ui-dumbbell-Bndr5fG2.js → vue-ui-dumbbell-BVX3en_Z.js} +10 -10
- package/dist/{vue-ui-flow-CEbuZB4v.js → vue-ui-flow-CrRVJbjl.js} +24 -24
- package/dist/{vue-ui-funnel-np6S0JDG.js → vue-ui-funnel-DyJvSMLV.js} +9 -9
- package/dist/{vue-ui-galaxy-CcRvS9jz.js → vue-ui-galaxy-B1WrIt-g.js} +32 -32
- package/dist/{vue-ui-gauge-DZHM1d1w.js → vue-ui-gauge-C7qvMFcc.js} +19 -19
- package/dist/{vue-ui-gizmo-VsNpWU8R.js → vue-ui-gizmo-Agt3kM2d.js} +3 -3
- package/dist/{vue-ui-heatmap-COGgS2DC.js → vue-ui-heatmap-Czh2uHtX.js} +32 -32
- package/dist/{vue-ui-history-plot-DP8d4EI1.js → vue-ui-history-plot-KGGrayk7.js} +11 -11
- package/dist/{vue-ui-kpi-DRE3-5BM.js → vue-ui-kpi-B-aYK4fp.js} +3 -3
- package/dist/{vue-ui-mini-loader-CXAQz2Au.js → vue-ui-mini-loader-C0W2_f3L.js} +2 -2
- package/dist/{vue-ui-molecule-CqszhlfW.js → vue-ui-molecule-DjWODfzW.js} +22 -22
- package/dist/{vue-ui-mood-radar-D5sAYfFF.js → vue-ui-mood-radar-CFEN6SOJ.js} +11 -11
- package/dist/{vue-ui-nested-donuts-C3FhBgMa.js → vue-ui-nested-donuts-Dw_TX78M.js} +56 -56
- package/dist/{vue-ui-onion-w4Bhv7xJ.js → vue-ui-onion-CiTCTFRi.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-CkP97yTg.js → vue-ui-parallel-coordinate-plot-YAyEWj2K.js} +36 -36
- package/dist/{vue-ui-quadrant-CjNqMQH1.js → vue-ui-quadrant-j54lbADV.js} +41 -41
- package/dist/{vue-ui-quick-chart-D-RFob0G.js → vue-ui-quick-chart-f9MTErUH.js} +9 -9
- package/dist/{vue-ui-radar-GGHlFIw7.js → vue-ui-radar-BQ45fltP.js} +12 -12
- package/dist/{vue-ui-rating-Kl95_moc.js → vue-ui-rating-BjTlb4Lj.js} +11 -11
- package/dist/{vue-ui-relation-circle-TKmNIsV8.js → vue-ui-relation-circle-NX-yzRRP.js} +7 -7
- package/dist/vue-ui-ridgeline-BezQ7Hj-.js +924 -0
- package/dist/{vue-ui-rings-9KoP64bM.js → vue-ui-rings-DJbgQBHR.js} +12 -12
- package/dist/{vue-ui-scatter-XvOvEdKX.js → vue-ui-scatter-17fw3Pcy.js} +60 -60
- package/dist/{vue-ui-skeleton-DCo7JrxG.js → vue-ui-skeleton-BgWQSBb-.js} +19 -19
- package/dist/{vue-ui-smiley-D4l-H6u5.js → vue-ui-smiley-Bo-A4uMV.js} +2 -2
- package/dist/{vue-ui-spark-trend-CCoAQ33g.js → vue-ui-spark-trend-BV9qCKr_.js} +5 -5
- package/dist/{vue-ui-sparkbar-DGIrdVjR.js → vue-ui-sparkbar-CSGGtPTT.js} +4 -4
- package/dist/{vue-ui-sparkgauge-B9ENwH2o.js → vue-ui-sparkgauge-BAia263V.js} +9 -9
- package/dist/{vue-ui-sparkhistogram-RhVUFKFA.js → vue-ui-sparkhistogram-CKexMmEN.js} +5 -5
- package/dist/{vue-ui-sparkline-BvRg6qp5.js → vue-ui-sparkline-DRtP5cMm.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-DMTAd6mK.js → vue-ui-sparkstackbar-D_bqkCIj.js} +5 -5
- package/dist/{vue-ui-stackbar-Dz3jTKsH.js → vue-ui-stackbar-u_kZc4Th.js} +13 -13
- package/dist/{vue-ui-strip-plot-gH9KxfjT.js → vue-ui-strip-plot-UQEhmlcX.js} +11 -11
- package/dist/{vue-ui-table-viiFQ5KP.js → vue-ui-table-4BTltNPf.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DzEL36oR.js → vue-ui-table-heatmap-BXlfBI5z.js} +4 -4
- package/dist/{vue-ui-table-sparkline-D5BCWZ-0.js → vue-ui-table-sparkline-DFqDxs2Y.js} +5 -5
- package/dist/{vue-ui-thermometer-ralhUVUt.js → vue-ui-thermometer-DD0QQ8b8.js} +7 -7
- package/dist/{vue-ui-timer-DThtG4by.js → vue-ui-timer-jlPkhU3j.js} +5 -5
- package/dist/{vue-ui-tiremarks-CykunRsN.js → vue-ui-tiremarks-DZ1kGvwG.js} +7 -7
- package/dist/{vue-ui-treemap-qk-p7xMT.js → vue-ui-treemap-Xo1ZAK3l.js} +12 -12
- package/dist/{vue-ui-vertical-bar-EWqYvvQn.js → vue-ui-vertical-bar-G3mo6Ms5.js} +12 -12
- package/dist/{vue-ui-waffle-6X5vGivF.js → vue-ui-waffle-B2Oz6oPQ.js} +27 -27
- package/dist/{vue-ui-wheel-BYjveZ2z.js → vue-ui-wheel-Ml-x_ere.js} +7 -7
- package/dist/{vue-ui-word-cloud-DmYJrVSa.js → vue-ui-word-cloud-3LB7Ntxy.js} +49 -49
- package/dist/{vue-ui-world-uRUcczm9.js → vue-ui-world-ttJISk8E.js} +11 -11
- package/dist/{vue-ui-xy-cUHI3LR_.js → vue-ui-xy-2Z_f3J92.js} +16 -16
- package/dist/{vue-ui-xy-canvas-BI49wqJK.js → vue-ui-xy-canvas-olPGemLS.js} +12 -12
- package/package.json +1 -1
- package/dist/vue-ui-donut-evolution-CTTMpOmA.js +0 -948
- package/dist/vue-ui-ridgeline-DZTiIMvd.js +0 -1102
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { computed as k, ref as v, watch as Ze, onMounted as je, nextTick as et, onBeforeUnmount as Tt, createElementBlock as r, openBlock as n, unref as i, normalizeStyle as se, normalizeClass as
|
|
2
|
-
import { u as Ot, c as St, t as It, p as _e, a as At, H as D, o as Nt, e as Y, b as Vt, d as Pt, m as ot, f as F, X as Dt, s as st,
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as Gt } from "./Title-
|
|
5
|
-
import { u as Yt, U as Xt } from "./usePrinter-
|
|
6
|
-
import { D as Ht } from "./DataTable-
|
|
7
|
-
import { _ as Wt } from "./Tooltip-
|
|
8
|
-
import { L as qt } from "./Legend-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as rt } from "./useNestedProp-
|
|
12
|
-
import { _ as Qt } from "./PackageVersion-
|
|
13
|
-
import { _ as Zt } from "./PenAndPaper-
|
|
1
|
+
import { computed as k, ref as v, watch as Ze, onMounted as je, nextTick as et, onBeforeUnmount as Tt, createElementBlock as r, openBlock as n, unref as i, normalizeStyle as se, normalizeClass as U, createBlock as B, createCommentVNode as g, createVNode as tt, createSlots as Ft, withCtx as _, renderSlot as L, normalizeProps as E, guardReactiveProps as G, createElementVNode as m, Fragment as T, renderList as S, toDisplayString as V, withDirectives as lt, vShow as at, createTextVNode as ue } from "vue";
|
|
2
|
+
import { u as Ot, c as St, t as It, p as _e, a as At, H as D, o as Nt, e as Y, b as Vt, d as Pt, m as ot, f as F, X as Dt, s as st, K as zt, k as Le, n as X, i as K, x as ut, q as Mt, r as Ut, y as Bt, S as nt } from "./index-BKDMQMKQ.js";
|
|
3
|
+
import { t as Rt, u as Et } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
+
import { _ as Gt } from "./Title-BQKp20eU.js";
|
|
5
|
+
import { u as Yt, U as Xt } from "./usePrinter-BNaQ2HUw.js";
|
|
6
|
+
import { D as Ht } from "./DataTable-BAr4XpSA.js";
|
|
7
|
+
import { _ as Wt } from "./Tooltip-Bjsc232E.js";
|
|
8
|
+
import { L as qt } from "./Legend-CxZqkiNm.js";
|
|
9
|
+
import Kt from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
10
|
+
import Jt from "./vue-ui-accordion-DyqkVlpC.js";
|
|
11
|
+
import { u as rt } from "./useNestedProp-B_1UW4X2.js";
|
|
12
|
+
import { _ as Qt } from "./PackageVersion-CQUs0b3q.js";
|
|
13
|
+
import { _ as Zt } from "./PenAndPaper-DmGOEcsD.js";
|
|
14
14
|
import { u as jt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as el } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -38,9 +38,9 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
38
38
|
},
|
|
39
39
|
emits: ["selectLegend", "selectDatapoint"],
|
|
40
40
|
setup(it, { expose: dt, emit: ct }) {
|
|
41
|
-
const { vue_ui_nested_donuts: vt } = Ot(), x = it,
|
|
41
|
+
const { vue_ui_nested_donuts: vt } = Ot(), x = it, J = k(() => !!x.dataset && x.dataset.length), y = v(St()), ne = v(!1), re = v(""), ft = v(null), xe = v(0), H = v(null), Ce = v(null), ie = v(null), Te = v(null), Fe = v(null), Oe = v(0), Se = v(0), Ie = v(0), z = v(!0), M = v([]), W = v([]), R = v(!1);
|
|
42
42
|
function ht(l) {
|
|
43
|
-
|
|
43
|
+
R.value = l, xe.value += 1;
|
|
44
44
|
}
|
|
45
45
|
const e = k({
|
|
46
46
|
get: () => Pe(),
|
|
@@ -159,7 +159,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
159
159
|
componentName: "VueUiNestedDonuts",
|
|
160
160
|
type: "dataset"
|
|
161
161
|
}), e.value.responsive) {
|
|
162
|
-
const l =
|
|
162
|
+
const l = Rt(() => {
|
|
163
163
|
const { width: s, height: a } = Et({
|
|
164
164
|
chart: H.value,
|
|
165
165
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
@@ -178,7 +178,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
178
178
|
Tt(() => {
|
|
179
179
|
Q.value && Q.value.disconnect();
|
|
180
180
|
});
|
|
181
|
-
const { isPrinting: ze, isImaging: Me, generatePdf:
|
|
181
|
+
const { isPrinting: ze, isImaging: Me, generatePdf: Ue, generateImage: Be } = Yt({
|
|
182
182
|
elementId: `nested_donuts_${y.value}`,
|
|
183
183
|
fileName: e.value.style.chart.title.text || "vue-ui-nested-donuts",
|
|
184
184
|
options: e.value.userOptions.print
|
|
@@ -191,9 +191,9 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
191
191
|
}), h = v({
|
|
192
192
|
height: 512,
|
|
193
193
|
width: 512
|
|
194
|
-
}),
|
|
194
|
+
}), Re = ct;
|
|
195
195
|
function gt({ datapoint: l, index: s }) {
|
|
196
|
-
|
|
196
|
+
Re("selectDatapoint", { datapoint: l, index: s });
|
|
197
197
|
}
|
|
198
198
|
function Ee({
|
|
199
199
|
from: l,
|
|
@@ -287,7 +287,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
287
287
|
);
|
|
288
288
|
function ve(l) {
|
|
289
289
|
var C;
|
|
290
|
-
|
|
290
|
+
Re("selectLegend", l);
|
|
291
291
|
const s = x.dataset.flatMap(
|
|
292
292
|
(d, f) => d.series.map((O, ge) => ({
|
|
293
293
|
value: D(O.values).reduce((ae, q) => ae + q, 0),
|
|
@@ -387,7 +387,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
387
387
|
config: e.value
|
|
388
388
|
};
|
|
389
389
|
const o = e.value.style.chart.tooltip.customFormat;
|
|
390
|
-
if (ut(o) &&
|
|
390
|
+
if (ut(o) && Bt(
|
|
391
391
|
() => o({
|
|
392
392
|
seriesIndex: a,
|
|
393
393
|
datapoint: l,
|
|
@@ -418,7 +418,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
418
418
|
</span>
|
|
419
419
|
</div>
|
|
420
420
|
<span>
|
|
421
|
-
${e.value.style.chart.tooltip.showValue ? `<b>${
|
|
421
|
+
${e.value.style.chart.tooltip.showValue ? `<b>${K(
|
|
422
422
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
423
423
|
l.value,
|
|
424
424
|
F({
|
|
@@ -440,7 +440,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
440
440
|
`;
|
|
441
441
|
});
|
|
442
442
|
} else
|
|
443
|
-
t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${
|
|
443
|
+
t += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l.arcOf ?? ""} - ${l.name}</div>`, t += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${l.color}"/></svg>`, e.value.style.chart.tooltip.showValue && (t += `<b>${K(
|
|
444
444
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
445
445
|
l.value,
|
|
446
446
|
F({
|
|
@@ -533,7 +533,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
533
533
|
[e.value.style.chart.title.subtitle.text],
|
|
534
534
|
[[""], ["val"], ["%"]]
|
|
535
535
|
].concat(l), a = Mt(s);
|
|
536
|
-
|
|
536
|
+
Ut({
|
|
537
537
|
csvContent: a,
|
|
538
538
|
title: e.value.style.chart.title.text || "vue-ui-nested-donuts"
|
|
539
539
|
});
|
|
@@ -590,10 +590,10 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
590
590
|
function kt() {
|
|
591
591
|
return I.value;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Ke() {
|
|
594
594
|
w.value.showTable = !w.value.showTable;
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function Je() {
|
|
597
597
|
w.value.dataLabels.show = !w.value.dataLabels.show;
|
|
598
598
|
}
|
|
599
599
|
function Qe() {
|
|
@@ -605,23 +605,23 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
605
605
|
}
|
|
606
606
|
return dt({
|
|
607
607
|
getData: kt,
|
|
608
|
-
generatePdf:
|
|
608
|
+
generatePdf: Ue,
|
|
609
609
|
generateCsv: qe,
|
|
610
|
-
generateImage:
|
|
611
|
-
toggleTable:
|
|
612
|
-
toggleLabels:
|
|
610
|
+
generateImage: Be,
|
|
611
|
+
toggleTable: Ke,
|
|
612
|
+
toggleLabels: Je,
|
|
613
613
|
toggleTooltip: Qe,
|
|
614
614
|
toggleAnnotator: be
|
|
615
615
|
}), (l, s) => (n(), r("div", {
|
|
616
616
|
ref_key: "nestedDonutsChart",
|
|
617
617
|
ref: H,
|
|
618
|
-
class:
|
|
618
|
+
class: U(`vue-ui-nested-donuts ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
619
619
|
style: se(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
620
620
|
id: `nested_donuts_${y.value}`,
|
|
621
621
|
onMouseenter: s[3] || (s[3] = () => i(Ae)(!0)),
|
|
622
622
|
onMouseleave: s[4] || (s[4] = () => i(Ae)(!1))
|
|
623
623
|
}, [
|
|
624
|
-
e.value.userOptions.buttons.annotator ? (n(),
|
|
624
|
+
e.value.userOptions.buttons.annotator ? (n(), B(Zt, {
|
|
625
625
|
key: 0,
|
|
626
626
|
svgRef: i(Ve),
|
|
627
627
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -641,7 +641,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
641
641
|
ref_key: "chartTitle",
|
|
642
642
|
ref: Ce
|
|
643
643
|
}, [
|
|
644
|
-
(n(),
|
|
644
|
+
(n(), B(Gt, {
|
|
645
645
|
key: `title_${Oe.value}`,
|
|
646
646
|
config: {
|
|
647
647
|
title: {
|
|
@@ -655,7 +655,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
655
655
|
}
|
|
656
656
|
}, null, 8, ["config"]))
|
|
657
657
|
], 512)) : g("", !0),
|
|
658
|
-
e.value.userOptions.show &&
|
|
658
|
+
e.value.userOptions.show && J.value && (i(Ne) || i(de)) ? (n(), B(Xt, {
|
|
659
659
|
ref: "details",
|
|
660
660
|
key: `user_option_${xe.value}`,
|
|
661
661
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -670,7 +670,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
670
670
|
hasTable: e.value.userOptions.buttons.table,
|
|
671
671
|
hasLabel: e.value.userOptions.buttons.labels,
|
|
672
672
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
673
|
-
isFullscreen:
|
|
673
|
+
isFullscreen: R.value,
|
|
674
674
|
isTooltip: w.value.showTooltip,
|
|
675
675
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
676
676
|
chartElement: H.value,
|
|
@@ -678,11 +678,11 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
678
678
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
679
679
|
isAnnotation: le.value,
|
|
680
680
|
onToggleFullscreen: ht,
|
|
681
|
-
onGeneratePdf: i(
|
|
681
|
+
onGeneratePdf: i(Ue),
|
|
682
682
|
onGenerateCsv: qe,
|
|
683
|
-
onGenerateImage: i(
|
|
684
|
-
onToggleTable:
|
|
685
|
-
onToggleLabels:
|
|
683
|
+
onGenerateImage: i(Be),
|
|
684
|
+
onToggleTable: Ke,
|
|
685
|
+
onToggleLabels: Je,
|
|
686
686
|
onToggleTooltip: Qe,
|
|
687
687
|
onToggleAnnotator: be,
|
|
688
688
|
style: se({
|
|
@@ -753,14 +753,14 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
753
753
|
key: "8"
|
|
754
754
|
} : void 0
|
|
755
755
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
|
|
756
|
-
|
|
756
|
+
J.value ? (n(), r("svg", {
|
|
757
757
|
key: 4,
|
|
758
758
|
ref_key: "svgRef",
|
|
759
759
|
ref: Ve,
|
|
760
760
|
xmlns: i(Dt),
|
|
761
|
-
class:
|
|
762
|
-
"vue-data-ui-fullscreen--on":
|
|
763
|
-
"vue-data-ui-fulscreen--off": !
|
|
761
|
+
class: U({
|
|
762
|
+
"vue-data-ui-fullscreen--on": R.value,
|
|
763
|
+
"vue-data-ui-fulscreen--off": !R.value
|
|
764
764
|
}),
|
|
765
765
|
viewBox: `0 0 ${h.value.width <= 0 ? 1e-3 : h.value.width} ${h.value.height < 0 ? 1e-3 : h.value.height}`,
|
|
766
766
|
style: se(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};${De.value.css}`)
|
|
@@ -862,7 +862,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
862
862
|
(n(!0), r(T, null, S(a.donut, (t, u) => (n(), r("g", null, [
|
|
863
863
|
u === 0 && h.value.width && h.value.height ? (n(), r("text", {
|
|
864
864
|
key: 0,
|
|
865
|
-
class:
|
|
865
|
+
class: U({ animated: e.value.useCssAnimation }),
|
|
866
866
|
x: h.value.width / 2,
|
|
867
867
|
y: t.startY - e.value.style.chart.layout.labels.dataLabels.fontSize + e.value.style.chart.layout.labels.dataLabels.donutNameOffsetY,
|
|
868
868
|
"text-anchor": "middle",
|
|
@@ -882,7 +882,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
882
882
|
filter: We(t, u)
|
|
883
883
|
}, [
|
|
884
884
|
lt(m("text", {
|
|
885
|
-
class:
|
|
885
|
+
class: U({ animated: e.value.useCssAnimation }),
|
|
886
886
|
opacity: pe(t) ? 1 : 0,
|
|
887
887
|
"text-anchor": i(X)(t, !0).anchor,
|
|
888
888
|
x: i(X)(
|
|
@@ -909,7 +909,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
909
909
|
]
|
|
910
910
|
]),
|
|
911
911
|
lt(m("text", {
|
|
912
|
-
class:
|
|
912
|
+
class: U({ animated: e.value.useCssAnimation }),
|
|
913
913
|
opacity: pe(t) ? 1 : 0,
|
|
914
914
|
"text-anchor": i(X)(t, !0).anchor,
|
|
915
915
|
x: i(X)(
|
|
@@ -925,7 +925,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
925
925
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
926
926
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
927
927
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
928
|
-
}, " (" + V(i(
|
|
928
|
+
}, " (" + V(i(K)(
|
|
929
929
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
930
930
|
t.value,
|
|
931
931
|
i(F)({
|
|
@@ -943,7 +943,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
943
943
|
]),
|
|
944
944
|
pe(t) && w.value.dataLabels.show && !e.value.style.chart.layout.labels.dataLabels.showPercentage && e.value.style.chart.layout.labels.dataLabels.showValue ? (n(), r("text", {
|
|
945
945
|
key: 0,
|
|
946
|
-
class:
|
|
946
|
+
class: U({ animated: e.value.useCssAnimation }),
|
|
947
947
|
"text-anchor": i(X)(t, !0).anchor,
|
|
948
948
|
x: i(X)(
|
|
949
949
|
t,
|
|
@@ -958,7 +958,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
958
958
|
fill: e.value.style.chart.layout.labels.dataLabels.useSerieColor ? t.color : e.value.style.chart.layout.labels.dataLabels.color,
|
|
959
959
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
960
960
|
"font-weight": e.value.style.chart.layout.labels.dataLabels.boldValue ? "bold" : "normal"
|
|
961
|
-
}, V(i(
|
|
961
|
+
}, V(i(K)(
|
|
962
962
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
963
963
|
t.value,
|
|
964
964
|
i(F)({
|
|
@@ -993,7 +993,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
993
993
|
l.$slots.watermark ? (n(), r("div", _l, [
|
|
994
994
|
L(l.$slots, "watermark", E(G({ isPrinting: i(ze) || i(Me) })), void 0, !0)
|
|
995
995
|
])) : g("", !0),
|
|
996
|
-
|
|
996
|
+
J.value ? g("", !0) : (n(), B(Kt, {
|
|
997
997
|
key: 6,
|
|
998
998
|
config: {
|
|
999
999
|
type: "donut",
|
|
@@ -1018,7 +1018,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
1018
1018
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
1019
1019
|
parent: H.value,
|
|
1020
1020
|
content: re.value,
|
|
1021
|
-
isFullscreen:
|
|
1021
|
+
isFullscreen: R.value,
|
|
1022
1022
|
isCustom: i(ut)(e.value.style.chart.tooltip.customFormat)
|
|
1023
1023
|
}, {
|
|
1024
1024
|
"tooltip-before": _(() => [
|
|
@@ -1033,9 +1033,9 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
1033
1033
|
key: 7,
|
|
1034
1034
|
ref_key: "chartLegend",
|
|
1035
1035
|
ref: ie,
|
|
1036
|
-
class:
|
|
1036
|
+
class: U({ "vue-ui-nested-donuts-legend": ye.value.length > 1 })
|
|
1037
1037
|
}, [
|
|
1038
|
-
(n(!0), r(T, null, S(ye.value, (a, o) => (n(),
|
|
1038
|
+
(n(!0), r(T, null, S(ye.value, (a, o) => (n(), B(qt, {
|
|
1039
1039
|
key: `legend_${o}_${Ie.value}`,
|
|
1040
1040
|
legendSet: a,
|
|
1041
1041
|
config: wt.value,
|
|
@@ -1049,7 +1049,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
1049
1049
|
onClick: (c) => ve(t),
|
|
1050
1050
|
style: se(`opacity:${$.value.includes(t.id) ? 0.5 : 1}`)
|
|
1051
1051
|
}, [
|
|
1052
|
-
ue(V(t.name) + ": " + V(i(
|
|
1052
|
+
ue(V(t.name) + ": " + V(i(K)(
|
|
1053
1053
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
1054
1054
|
t.value,
|
|
1055
1055
|
i(F)({
|
|
@@ -1089,7 +1089,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
1089
1089
|
}, [
|
|
1090
1090
|
L(l.$slots, "source", {}, void 0, !0)
|
|
1091
1091
|
], 512)) : g("", !0),
|
|
1092
|
-
|
|
1092
|
+
J.value ? (n(), B(Jt, {
|
|
1093
1093
|
key: 10,
|
|
1094
1094
|
hideDetails: "",
|
|
1095
1095
|
config: {
|
|
@@ -1106,7 +1106,7 @@ const ll = ["id"], al = ["xmlns", "viewBox"], ol = ["width", "height"], sl = ["i
|
|
|
1106
1106
|
}
|
|
1107
1107
|
}, {
|
|
1108
1108
|
content: _(() => [
|
|
1109
|
-
(n(),
|
|
1109
|
+
(n(), B(Ht, {
|
|
1110
1110
|
key: `table_${Se.value}`,
|
|
1111
1111
|
colNames: te.value.colNames,
|
|
1112
1112
|
head: te.value.head,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { computed as h, ref as r, watch as we, onMounted as Xe, onBeforeUnmount as Ge, createElementBlock as u, openBlock as n, unref as i, normalizeStyle as B, normalizeClass as U, createBlock as C, createCommentVNode as g, createElementVNode as _, createVNode as $e, createSlots as Ee, withCtx as f, renderSlot as d, normalizeProps as O, guardReactiveProps as P, Fragment as M, renderList as N, toDisplayString as I, createTextVNode as He, nextTick as We } from "vue";
|
|
2
|
-
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-
|
|
2
|
+
import { u as je, c as qe, t as Je, p as Ce, a as Ke, b as Qe, o as Ze, e as K, d as et, X as tt, f as R, i as Q, x as xe, q as at, r as lt, y as ot } from "./index-BKDMQMKQ.js";
|
|
3
3
|
import { t as st, u as nt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { _ as rt } from "./Title-
|
|
5
|
-
import { u as ut, U as it } from "./usePrinter-
|
|
6
|
-
import { L as ct } from "./Legend-
|
|
7
|
-
import { D as dt } from "./DataTable-
|
|
8
|
-
import { _ as vt } from "./Tooltip-
|
|
9
|
-
import ht from "./vue-ui-skeleton-
|
|
10
|
-
import ft from "./vue-ui-accordion-
|
|
11
|
-
import { u as Te } from "./useNestedProp-
|
|
12
|
-
import { _ as gt } from "./PackageVersion-
|
|
13
|
-
import { _ as pt } from "./PenAndPaper-
|
|
4
|
+
import { _ as rt } from "./Title-BQKp20eU.js";
|
|
5
|
+
import { u as ut, U as it } from "./usePrinter-BNaQ2HUw.js";
|
|
6
|
+
import { L as ct } from "./Legend-CxZqkiNm.js";
|
|
7
|
+
import { D as dt } from "./DataTable-BAr4XpSA.js";
|
|
8
|
+
import { _ as vt } from "./Tooltip-Bjsc232E.js";
|
|
9
|
+
import ht from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
10
|
+
import ft from "./vue-ui-accordion-DyqkVlpC.js";
|
|
11
|
+
import { u as Te } from "./useNestedProp-B_1UW4X2.js";
|
|
12
|
+
import { _ as gt } from "./PackageVersion-CQUs0b3q.js";
|
|
13
|
+
import { _ as pt } from "./PenAndPaper-DmGOEcsD.js";
|
|
14
14
|
import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
15
|
import { u as mt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
16
|
import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { computed as b, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as
|
|
2
|
-
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st,
|
|
1
|
+
import { computed as b, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as V, createBlock as z, createCommentVNode as m, createElementVNode as F, createVNode as Me, createSlots as Je, withCtx as k, renderSlot as f, normalizeProps as S, guardReactiveProps as D, Fragment as $, renderList as I, toDisplayString as R, createTextVNode as Ke } from "vue";
|
|
2
|
+
import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as ze, g as at, b as lt, d as ot, D as st, T as nt, U as ut, V as it, X as rt, x as Ie, F as G, q as ct, r as vt, i as Fe, f as Pe, y as dt } from "./index-BKDMQMKQ.js";
|
|
3
3
|
import { t as ht, u as pt } from "./useResponsive-JZ9xq-JV.js";
|
|
4
|
-
import { _ as mt } from "./Title-
|
|
5
|
-
import { L as yt } from "./Legend-
|
|
6
|
-
import { _ as ft } from "./Tooltip-
|
|
7
|
-
import { _ as gt } from "./Shape-
|
|
8
|
-
import { u as bt, U as xt } from "./usePrinter-
|
|
9
|
-
import { D as kt } from "./DataTable-
|
|
10
|
-
import wt from "./vue-ui-accordion-
|
|
11
|
-
import $t from "./vue-ui-skeleton-
|
|
12
|
-
import { u as Ne } from "./useNestedProp-
|
|
13
|
-
import { _ as Ct } from "./PackageVersion-
|
|
14
|
-
import { _ as At } from "./PenAndPaper-
|
|
4
|
+
import { _ as mt } from "./Title-BQKp20eU.js";
|
|
5
|
+
import { L as yt } from "./Legend-CxZqkiNm.js";
|
|
6
|
+
import { _ as ft } from "./Tooltip-Bjsc232E.js";
|
|
7
|
+
import { _ as gt } from "./Shape-gJBc0QCq.js";
|
|
8
|
+
import { u as bt, U as xt } from "./usePrinter-BNaQ2HUw.js";
|
|
9
|
+
import { D as kt } from "./DataTable-BAr4XpSA.js";
|
|
10
|
+
import wt from "./vue-ui-accordion-DyqkVlpC.js";
|
|
11
|
+
import $t from "./vue-ui-skeleton-BgWQSBb-.js";
|
|
12
|
+
import { u as Ne } from "./useNestedProp-B_1UW4X2.js";
|
|
13
|
+
import { _ as Ct } from "./PackageVersion-CQUs0b3q.js";
|
|
14
|
+
import { _ as At } from "./PenAndPaper-DmGOEcsD.js";
|
|
15
15
|
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
16
|
import { u as _t } from "./useChartAccessibility-BWojgys7.js";
|
|
17
17
|
import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Pt = { style: { "pointer-events": "none" } }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x", "y", "fill", "font-size", "font-weight"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size", "font-weight"], Dt = { key: 0 }, Rt = ["x", "y", "font-size", "fill"], Ut = ["width", "x", "y"],
|
|
18
|
+
const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"], Pt = { style: { "pointer-events": "none" } }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x", "y", "fill", "font-size", "font-weight"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size", "font-weight"], Dt = { key: 0 }, Rt = ["x", "y", "font-size", "fill"], Ut = ["width", "x", "y"], Vt = { style: { width: "100%" } }, Wt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Et = ["d", "stroke", "stroke-width", "onMouseenter"], jt = ["d", "onMouseenter"], Bt = {
|
|
19
19
|
key: 5,
|
|
20
20
|
class: "vue-data-ui-watermark"
|
|
21
21
|
}, Ht = ["onClick"], Gt = ["innerHTML"], Xt = {
|
|
@@ -67,7 +67,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
67
67
|
Xe(() => _.config, (t) => {
|
|
68
68
|
e.value = de(), Y.value = !e.value.userOptions.showOnChartHover, he(), ne.value += 1, ie.value += 1, ue.value += 1, h.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
69
69
|
}, { deep: !0 });
|
|
70
|
-
const
|
|
70
|
+
const W = v(null);
|
|
71
71
|
Ye(() => {
|
|
72
72
|
he();
|
|
73
73
|
});
|
|
@@ -124,11 +124,11 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
124
124
|
});
|
|
125
125
|
});
|
|
126
126
|
});
|
|
127
|
-
|
|
127
|
+
W.value = new ResizeObserver(t), W.value.observe(U.value.parentNode);
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
130
|
qe(() => {
|
|
131
|
-
|
|
131
|
+
W.value && W.value.disconnect();
|
|
132
132
|
});
|
|
133
133
|
const { isPrinting: pe, isImaging: me, generatePdf: ye, generateImage: fe } = bt({
|
|
134
134
|
elementId: `pcp_${X.value}`,
|
|
@@ -155,7 +155,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
155
155
|
right: s - l,
|
|
156
156
|
bottom: n - a
|
|
157
157
|
};
|
|
158
|
-
}),
|
|
158
|
+
}), Ve = b(() => lt(e.value.customPalette)), h = v({
|
|
159
159
|
dataLabels: {
|
|
160
160
|
show: e.value.style.chart.yAxis.labels.datapoints.show
|
|
161
161
|
},
|
|
@@ -166,7 +166,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
166
166
|
C.value.includes(t) ? C.value = C.value.filter((l) => l !== t) : C.value.push(t);
|
|
167
167
|
}
|
|
168
168
|
const M = b(() => _.dataset.map((t, l) => {
|
|
169
|
-
const a = ot(t.color) ||
|
|
169
|
+
const a = ot(t.color) || Ve.value[l] || H[l] || H[l % H.length];
|
|
170
170
|
return {
|
|
171
171
|
...t,
|
|
172
172
|
series: t.series.map((o) => ({
|
|
@@ -179,12 +179,12 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
179
179
|
id: ee(),
|
|
180
180
|
shape: t.shape || "circle"
|
|
181
181
|
};
|
|
182
|
-
})),
|
|
182
|
+
})), We = b(() => M.value.map((t) => ({
|
|
183
183
|
...t,
|
|
184
184
|
opacity: C.value.includes(t.id) ? 0.5 : 1,
|
|
185
185
|
segregate: () => ge(t.id),
|
|
186
186
|
isSegregated: C.value.includes(t.id)
|
|
187
|
-
}))),
|
|
187
|
+
}))), Ee = b(() => ({
|
|
188
188
|
cy: "pcp-div-legend",
|
|
189
189
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
190
190
|
color: e.value.style.chart.legend.color,
|
|
@@ -256,7 +256,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
256
256
|
);
|
|
257
257
|
}
|
|
258
258
|
const y = v(null), K = v(null), O = v(!1), Q = v("");
|
|
259
|
-
function
|
|
259
|
+
function E({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
|
|
260
260
|
K.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: g.value }, O.value = !0, y.value = a.id;
|
|
261
261
|
let s = "";
|
|
262
262
|
const r = e.value.style.chart.tooltip.customFormat;
|
|
@@ -360,7 +360,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
360
360
|
}), (t, l) => (u(), i("div", {
|
|
361
361
|
ref_key: "pcpChart",
|
|
362
362
|
ref: U,
|
|
363
|
-
class:
|
|
363
|
+
class: V(`vue-ui-pcp ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
364
364
|
style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
365
365
|
id: `pcp_${X.value}`,
|
|
366
366
|
onMouseenter: l[6] || (l[6] = () => x(re)(!0)),
|
|
@@ -497,7 +497,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
497
497
|
ref_key: "svgRef",
|
|
498
498
|
ref: ve,
|
|
499
499
|
xmlns: x(rt),
|
|
500
|
-
class:
|
|
500
|
+
class: V({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
501
501
|
viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
|
|
502
502
|
style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
503
503
|
}, [
|
|
@@ -562,7 +562,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
562
562
|
radius: a.shape === "triangle" ? d.value.plotSize * 1.2 : d.value.plotSize,
|
|
563
563
|
stroke: e.value.style.chart.backgroundColor,
|
|
564
564
|
strokeWidth: 0.5,
|
|
565
|
-
onMouseenter: (r) =>
|
|
565
|
+
onMouseenter: (r) => E({
|
|
566
566
|
shape: a.shape,
|
|
567
567
|
serieName: a.name,
|
|
568
568
|
serie: o,
|
|
@@ -595,7 +595,7 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
595
595
|
x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
|
|
596
596
|
y: s.y + e.value.style.chart.comments.offsetY + 6
|
|
597
597
|
}, [
|
|
598
|
-
F("div",
|
|
598
|
+
F("div", Vt, [
|
|
599
599
|
f(t.$slots, "plot-comment", {
|
|
600
600
|
plot: { ...s, color: a.color }
|
|
601
601
|
}, void 0, !0)
|
|
@@ -609,9 +609,9 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
609
609
|
fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
|
|
610
610
|
"text-anchor": "start",
|
|
611
611
|
"font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
|
|
612
|
-
class:
|
|
612
|
+
class: V({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
|
|
613
613
|
"font-size": d.value.datapointFontSize,
|
|
614
|
-
onMouseenter: (A) =>
|
|
614
|
+
onMouseenter: (A) => E({
|
|
615
615
|
shape: a.shape,
|
|
616
616
|
serieName: a.name,
|
|
617
617
|
serie: o,
|
|
@@ -622,14 +622,14 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
622
622
|
y.value = null, O.value = !1;
|
|
623
623
|
}),
|
|
624
624
|
style: T(`opacity:${y.value ? y.value === o.id ? 1 : 0.2 : 1}`)
|
|
625
|
-
}, R(xe({ value: s.value, index: r, datapoint: s })), 45,
|
|
625
|
+
}, R(xe({ value: s.value, index: r, datapoint: s })), 45, Wt))), 256)) : m("", !0),
|
|
626
626
|
F("path", {
|
|
627
627
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
628
628
|
stroke: a.color,
|
|
629
629
|
"stroke-width": e.value.style.chart.lines.strokeWidth,
|
|
630
630
|
fill: "none",
|
|
631
|
-
class:
|
|
632
|
-
onMouseenter: (s) =>
|
|
631
|
+
class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
632
|
+
onMouseenter: (s) => E({
|
|
633
633
|
shape: a.shape,
|
|
634
634
|
serieName: a.name,
|
|
635
635
|
serie: o,
|
|
@@ -640,15 +640,15 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
640
640
|
y.value = null, O.value = !1;
|
|
641
641
|
}),
|
|
642
642
|
style: T(`opacity:${y.value ? y.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
|
|
643
|
-
}, null, 46,
|
|
643
|
+
}, null, 46, Et),
|
|
644
644
|
h.value.showTooltip ? (u(), i("path", {
|
|
645
645
|
key: 2,
|
|
646
646
|
d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
|
|
647
647
|
stroke: "transparent",
|
|
648
648
|
"stroke-width": 12,
|
|
649
649
|
fill: "none",
|
|
650
|
-
class:
|
|
651
|
-
onMouseenter: (s) =>
|
|
650
|
+
class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
|
|
651
|
+
onMouseenter: (s) => E({
|
|
652
652
|
shape: a.shape,
|
|
653
653
|
serieName: a.name,
|
|
654
654
|
serie: o,
|
|
@@ -682,8 +682,8 @@ const zt = ["id"], It = ["xmlns", "viewBox"], Ft = ["x", "y", "width", "height"]
|
|
|
682
682
|
}, [
|
|
683
683
|
e.value.style.chart.legend.show && P.value ? (u(), z(yt, {
|
|
684
684
|
key: `legend_${ue.value}`,
|
|
685
|
-
legendSet:
|
|
686
|
-
config:
|
|
685
|
+
legendSet: We.value,
|
|
686
|
+
config: Ee.value,
|
|
687
687
|
onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
|
|
688
688
|
ge(a.id), Ce(a);
|
|
689
689
|
})
|