vue-data-ui 3.9.13 → 3.9.15
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-D3cMhAlf.js → PackageVersion-BLzm8l_I.js} +1 -1
- package/dist/{Title-BhURirpm.js → Title-DGnfNZuO.js} +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.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-mini-loader.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-rating.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-smiley.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-heatmap.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-data-ui.d.ts +27 -0
- package/dist/{useNestedProp--5lL-kf1.js → useNestedProp-OFRiX4kU.js} +109 -98
- package/dist/{vue-data-ui-DE3O1T8n.js → vue-data-ui-DLBPk_qz.js} +66 -66
- package/dist/vue-data-ui.js +68 -68
- package/dist/{vue-ui-3d-bar-CVvhPzdH.js → vue-ui-3d-bar-B3kUXUiU.js} +3 -3
- package/dist/{vue-ui-accordion-tQNKwbVi.js → vue-ui-accordion-DUuwVsuJ.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DxTHqM7w.js → vue-ui-age-pyramid-ByKj9osZ.js} +3 -3
- package/dist/{vue-ui-annotator-Da5aL57a.js → vue-ui-annotator-BZuXK7ov.js} +2 -2
- package/dist/{vue-ui-bullet-DhpTML7L.js → vue-ui-bullet-DcFBb0YG.js} +3 -3
- package/dist/{vue-ui-candlestick-BDOKQqMm.js → vue-ui-candlestick-B0rV5Vhv.js} +3 -3
- package/dist/{vue-ui-carousel-table-BW6bKPsX.js → vue-ui-carousel-table-CKRr0PUC.js} +2 -2
- package/dist/{vue-ui-chestnut-Cc-lke6P.js → vue-ui-chestnut-CsTwZfmt.js} +2 -2
- package/dist/{vue-ui-chord-CB6w31Ex.js → vue-ui-chord-Ci7wdPU5.js} +3 -3
- package/dist/{vue-ui-circle-pack-CfihOmNV.js → vue-ui-circle-pack-CosGMpWi.js} +3 -3
- package/dist/{vue-ui-cursor-Dnpe76BQ.js → vue-ui-cursor-Druq_LcL.js} +2 -2
- package/dist/{vue-ui-dag-Dq3hKon7.js → vue-ui-dag-TkXJQIwo.js} +3 -3
- package/dist/{vue-ui-dashboard-eMwyGsuD.js → vue-ui-dashboard-C1PRSeLr.js} +64 -64
- package/dist/{vue-ui-digits-B5QhIbFD.js → vue-ui-digits-DDh5Vxvc.js} +1 -1
- package/dist/{vue-ui-donut-D3---CiY.js → vue-ui-donut-CKDYWkKE.js} +12 -9
- package/dist/{vue-ui-donut-evolution-C6H1Vr6m.js → vue-ui-donut-evolution-BvNNQtyL.js} +438 -444
- package/dist/{vue-ui-dumbbell-L1p0npq4.js → vue-ui-dumbbell-D4uWpexA.js} +3 -3
- package/dist/{vue-ui-flow-CgAIlvZF.js → vue-ui-flow-CTLxckNx.js} +3 -3
- package/dist/{vue-ui-funnel-CpgqO34n.js → vue-ui-funnel-BWyQixj8.js} +3 -3
- package/dist/{vue-ui-galaxy-DAi1I2Cr.js → vue-ui-galaxy-C0TDWUTS.js} +3 -3
- package/dist/{vue-ui-gauge-DY78U-uO.js → vue-ui-gauge-ChOANZyZ.js} +3 -3
- package/dist/{vue-ui-geo-Befu6fkT.js → vue-ui-geo-Cv7JzD1c.js} +3 -3
- package/dist/{vue-ui-gizmo-BM_oOeYY.js → vue-ui-gizmo-Cd8foemN.js} +2 -2
- package/dist/{vue-ui-heatmap-C_ze3bzX.js → vue-ui-heatmap-mxoacXPq.js} +4 -4
- package/dist/{vue-ui-history-plot-C-_zpLPH.js → vue-ui-history-plot-BsyGaRQT.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-DvLMeP44.js → vue-ui-horizontal-bar-e_tYBG4d.js} +4 -4
- package/dist/{vue-ui-kpi-IcOqABQz.js → vue-ui-kpi-DQRm5B2_.js} +2 -2
- package/dist/{vue-ui-mini-loader-DxlOXn6v.js → vue-ui-mini-loader-CObyi21D.js} +1 -1
- package/dist/{vue-ui-molecule-N938wMMB.js → vue-ui-molecule-DjucsQhe.js} +2 -2
- package/dist/{vue-ui-mood-radar-D1hHnpLB.js → vue-ui-mood-radar-DOd2rxuT.js} +3 -3
- package/dist/{vue-ui-nested-donuts-DeTGEb4T.js → vue-ui-nested-donuts-DE7p2Fgp.js} +46 -46
- package/dist/{vue-ui-onion-BwY998zT.js → vue-ui-onion-BATuVto7.js} +41 -38
- package/dist/{vue-ui-parallel-coordinate-plot-B4v3AheY.js → vue-ui-parallel-coordinate-plot-BLp7NM3E.js} +3 -3
- package/dist/{vue-ui-quadrant-4f1p9gSO.js → vue-ui-quadrant-AW-eksks.js} +3 -3
- package/dist/{vue-ui-quick-chart-CGbEBTS1.js → vue-ui-quick-chart-BCnCOAxm.js} +2 -2
- package/dist/{vue-ui-radar-B15r4HoM.js → vue-ui-radar-B710xZlD.js} +3 -3
- package/dist/{vue-ui-rating-CaRZVE71.js → vue-ui-rating-iq2tKZ_U.js} +1 -1
- package/dist/{vue-ui-relation-circle-CFEL1uYt.js → vue-ui-relation-circle-C4noyjHV.js} +3 -3
- package/dist/{vue-ui-ridgeline-LGH61-xE.js → vue-ui-ridgeline-Ciih1SOm.js} +3 -3
- package/dist/{vue-ui-rings-DNdUdKax.js → vue-ui-rings-Bwak5MGF.js} +3 -3
- package/dist/{vue-ui-scatter-Duxs0Ie_.js → vue-ui-scatter-Bbk87yp_.js} +3 -3
- package/dist/{vue-ui-skeleton-UoBAzUyN.js → vue-ui-skeleton-DTP-lHk-.js} +2 -2
- package/dist/{vue-ui-smiley-BhpJbcM8.js → vue-ui-smiley-Ccv9c7pA.js} +1 -1
- package/dist/{vue-ui-spark-trend-2c75iF9Y.js → vue-ui-spark-trend-BEVWCHis.js} +2 -2
- package/dist/{vue-ui-sparkbar-B2E5nzBF.js → vue-ui-sparkbar-BHfJPNZl.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DFkpaMkk.js → vue-ui-sparkgauge-3xNJCJ70.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-K6lo-KnY.js → vue-ui-sparkhistogram-_lV4WXS_.js} +2 -2
- package/dist/{vue-ui-sparkline-CsByZZt4.js → vue-ui-sparkline-BfFlV5kx.js} +2 -2
- package/dist/{vue-ui-sparkstackbar-ByUb6nk-.js → vue-ui-sparkstackbar-v3ayd3bl.js} +2 -2
- package/dist/{vue-ui-stackbar-D7SnQvr4.js → vue-ui-stackbar-YQygDhDd.js} +3 -3
- package/dist/{vue-ui-stackline-BnRxf3k_.js → vue-ui-stackline-x9MMyg_1.js} +3 -3
- package/dist/{vue-ui-strip-plot-CJWXdisu.js → vue-ui-strip-plot-Csh9RwiY.js} +3 -3
- package/dist/{vue-ui-table-BHWwypkc.js → vue-ui-table-BBmsVv1l.js} +3 -3
- package/dist/{vue-ui-table-heatmap-DvHKKwJA.js → vue-ui-table-heatmap-B-T8pWI-.js} +1 -1
- package/dist/{vue-ui-table-sparkline-uK0q-dO9.js → vue-ui-table-sparkline-BmkIssWR.js} +2 -2
- package/dist/{vue-ui-thermometer-Bxn0JNeJ.js → vue-ui-thermometer-HNdHuF-6.js} +3 -3
- package/dist/{vue-ui-timer-7o5Jrxf3.js → vue-ui-timer-BHHgGQZo.js} +3 -3
- package/dist/{vue-ui-tiremarks-DHoUaHOe.js → vue-ui-tiremarks-H585-mQM.js} +3 -3
- package/dist/{vue-ui-treemap-B_4cIAAI.js → vue-ui-treemap-YXAtO95p.js} +3 -3
- package/dist/{vue-ui-waffle-CddfqNWD.js → vue-ui-waffle-BE8SWjIj.js} +12 -9
- package/dist/{vue-ui-wheel-CGYJA-33.js → vue-ui-wheel-DWxbunQa.js} +3 -3
- package/dist/{vue-ui-word-cloud-oszTieHn.js → vue-ui-word-cloud-JwfLrZoU.js} +3 -3
- package/dist/{vue-ui-world-DQjHEyKe.js → vue-ui-world-CkgiS9TT.js} +2 -2
- package/dist/{vue-ui-xy-D5A8tR-O.js → vue-ui-xy-COxHwrGr.js} +4 -4
- package/dist/{vue-ui-xy-canvas-Bzd8pZdH.js → vue-ui-xy-canvas-Cg7fpBqF.js} +3 -3
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineAsyncComponent as
|
|
2
|
-
import { c as wt, o as
|
|
3
|
-
import { t as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { S as
|
|
17
|
-
import { _ as
|
|
1
|
+
import { defineAsyncComponent as R, ref as i, shallowRef as pt, computed as v, onMounted as pl, toRefs as xl, nextTick as Be, watch as ie, watchEffect as kl, onBeforeUnmount as wl, createElementBlock as n, openBlock as u, unref as c, normalizeStyle as ee, normalizeClass as z, createBlock as B, createCommentVNode as d, createElementVNode as m, withCtx as y, renderSlot as A, normalizeProps as T, guardReactiveProps as I, createSlots as xt, createVNode as kt, Fragment as L, renderList as _, toDisplayString as k, Teleport as Dl, resolveDynamicComponent as Ll, mergeProps as _l, createTextVNode as Ee } from "vue";
|
|
2
|
+
import { c as wt, o as Dt, g as ce, l as Sl, t as Fl, i as Bl, j as de, a1 as Lt, k as El, m as $e, a7 as $l, E as _t, N as zl, a3 as ze, a as Te, d as ve, X as Tl, s as te, a8 as Il, $ as Ol, a4 as Pl, a5 as Nl, a6 as St, v as Rl, r as Vl, a9 as Ft, aa as Ml } from "./lib-BwysEpWI.js";
|
|
3
|
+
import { t as Bt, u as Ul } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as Hl, a as Ie } from "./useNestedProp-OFRiX4kU.js";
|
|
5
|
+
import { u as Xl } from "./usePrinter-BJzHDpYF.js";
|
|
6
|
+
import { u as Wl, B as jl } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
+
import { u as Gl } from "./useSvgExport-ByUukOZt.js";
|
|
8
|
+
import { u as Yl } from "./useTimeLabels-DKoynYae.js";
|
|
9
|
+
import { u as ql } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
|
+
import { u as Jl } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as Kl } from "./useChartAccessibility-9icAAmYg.js";
|
|
12
|
+
import { u as Ql } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
13
|
+
import Zl from "./img-DKigoPDs.js";
|
|
14
|
+
import eo from "./Title-DGnfNZuO.js";
|
|
15
|
+
import to from "./Legend-D6z73edh.js";
|
|
16
|
+
import { S as lo } from "./Slicer-Bn8azYkD.js";
|
|
17
|
+
import { _ as oo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A" }, dialog: { backgroundColor: "#1A1A1A", color: "#CCCCCC", header: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { labels: { percentage: { color: "#CCCCCC" }, name: { color: "#CCCCCC" }, hollow: { total: { color: "#CCCCCC", value: { color: "#CCCCCC" } }, average: { color: "#CCCCCC", value: { color: "#CCCCCC" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5A5A5A", yAxis: { dataLabels: { color: "#CCCCCC" } }, xAxis: { dataLabels: { color: "#CCCCCC" } } }, line: { stroke: "#4A4A4A" }, highlighter: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, $t = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#FFF8E1", color: "#424242", header: { backgroundColor: "##FFF8E1", color: "#424242" }, donutChart: { style: { chart: { backgroundColor: "##FFF8E1", color: "#424242", layout: { labels: { percentage: { color: "#424242" }, name: { color: "#424242" }, hollow: { total: { color: "#424242", value: { color: "#424242" } }, average: { color: "#424242", value: { color: "#424242" } } } } }, legend: { backgroundColor: "##FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#424242" } }, xAxis: { dataLabels: { color: "#424242" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#424242" }, dataLabels: { color: "#424242" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, title: { color: "#424242", subtitle: { color: "#757575" } } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, zt = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, dialog: { backgroundColor: "#1E1E1E", color: "#BDBDBD", header: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { labels: { percentage: { color: "#BDBDBD" }, name: { color: "#BDBDBD" }, hollow: { total: { color: "#BDBDBD", value: { color: "#BDBDBD" } }, average: { color: "#BDBDBD", value: { color: "#BDBDBD" } } } } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#5D4037", showVerticalLines: !1, yAxis: { dataLabels: { color: "#BDBDBD" } }, xAxis: { dataLabels: { color: "#BDBDBD" } } }, line: { stroke: "#5D4037" }, highlighter: { color: "#FFF8E1" }, dataLabels: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Tt = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, dialog: { backgroundColor: "#1A1A1A", color: "#BDBDBD", header: { backgroundColor: "#1A1A1A", color: "#BDBDBD" }, donutChart: { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { labels: { percentage: { color: "#99AA99" }, name: { color: "#99AA99" }, hollow: { total: { color: "#99AA99", value: { color: "#99AA99" } }, average: { color: "#99AA99", value: { color: "#99AA99" } } } } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, stroke: "#5F6A5F", yAxis: { dataLabels: { color: "#AACCAA" } }, xAxis: { dataLabels: { color: "#AACCAA" } } }, line: { stroke: "#5F6A5F" }, highlighter: { color: "#66CC66" }, dataLabels: { color: "#AACCAA" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, It = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, dialog: { backgroundColor: "#fbfafa", color: "#8A9892", header: { backgroundColor: "#fbfafa", color: "#8A9892" }, donutChart: { style: { chart: { backgroundColor: "#fbfafa", color: "#99AA99", layout: { labels: { percentage: { color: "#A0AC94" }, name: { color: "#A0AC94" }, hollow: { total: { color: "#A0AC94", value: { color: "#A0AC94" } }, average: { color: "#A0AC94", value: { color: "#A0AC94" } } } } }, legend: { backgroundColor: "#fbfafa", color: "#A0AC94" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { show: !1, yAxis: { dataLabels: { show: !1 } }, xAxis: { dataLabels: { show: !1 } } }, line: { stroke: "#DCDFE7" }, highlighter: { color: "#8F837A" }, dataLabels: { color: "#A0AC94" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Ot = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, dialog: { backgroundColor: "#f6f6fb", color: "#50606C", header: { backgroundColor: "#f6f6fb", color: "#50606C" }, donutChart: { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { labels: { percentage: { color: "#61747E" }, name: { color: "#61747E" }, hollow: { total: { color: "#61747E", value: { color: "#61747E" } }, average: { color: "#61747E", value: { color: "#61747E" } } } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } } }, layout: { grid: { stroke: "#BBC4D3", yAxis: { dataLabels: { color: "#61747E" } }, xAxis: { dataLabels: { color: "#61747E" } } }, line: { stroke: "#92B0AB" }, highlighter: { color: "#50606C" }, dataLabels: { color: "#61747E" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Pt = {
|
|
19
19
|
default: {},
|
|
20
20
|
dark: Et,
|
|
@@ -23,7 +23,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
23
23
|
hack: Tt,
|
|
24
24
|
zen: It,
|
|
25
25
|
concrete: Ot
|
|
26
|
-
},
|
|
26
|
+
}, fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27
27
|
__proto__: null,
|
|
28
28
|
celebration: $t,
|
|
29
29
|
celebrationNight: zt,
|
|
@@ -32,10 +32,10 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
32
32
|
default: Pt,
|
|
33
33
|
hack: Tt,
|
|
34
34
|
zen: It
|
|
35
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
35
|
+
}, Symbol.toStringTag, { value: "Module" })), ao = ["id"], ro = ["id"], uo = ["xmlns", "viewBox"], no = ["x", "y", "width", "height"], so = ["id"], io = ["stop-color"], co = ["stop-color"], vo = ["id"], ho = ["stop-color"], go = ["stop-color"], fo = ["stop-color"], yo = { key: 1 }, bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Co = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], mo = { key: 0 }, Ao = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], po = ["font-size", "fill", "transform"], xo = ["x", "y", "font-size", "fill"], ko = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wo = ["x", "y", "font-size", "fill", "font-weight"], Do = { key: 0 }, Lo = ["text-anchor", "font-size", "fill", "transform"], _o = ["text-anchor", "font-size", "fill", "transform", "innerHTML"], So = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Fo = { key: 1 }, Bo = ["cx", "cy", "r", "fill"], Eo = { key: 0 }, $o = { key: 0 }, zo = ["d", "stroke"], To = ["text-anchor", "x", "y", "fill"], Io = ["cx", "cy", "r", "fill"], Oo = { key: 0 }, Po = ["cx", "cy", "fill"], No = { key: 1 }, Ro = ["d", "fill", "stroke"], Vo = { key: 2 }, Mo = ["d", "fill", "stroke"], Uo = ["x", "y", "font-size", "fill"], Ho = ["x", "y", "width", "height", "fill"], Xo = ["x", "y", "width", "height", "onMouseenter", "onMouseleave", "onClick"], Wo = {
|
|
36
36
|
key: 4,
|
|
37
37
|
class: "vue-data-ui-watermark"
|
|
38
|
-
},
|
|
38
|
+
}, jo = ["id"], Go = ["onClick"], Yo = { key: 0 }, qo = { key: 1 }, Jo = {
|
|
39
39
|
__name: "vue-ui-donut-evolution",
|
|
40
40
|
props: {
|
|
41
41
|
config: {
|
|
@@ -53,17 +53,17 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
53
53
|
},
|
|
54
54
|
emits: ["selectLegend"],
|
|
55
55
|
setup(Nt, { expose: Rt, emit: Vt }) {
|
|
56
|
-
const Mt =
|
|
56
|
+
const Mt = R(() => import("./vue-ui-accordion-DUuwVsuJ.js")), Ut = R(() => import("./BaseIcon-4i3dd7Ty.js")), Ht = R(() => import("./DataTable-WrXCJkfE.js")), Xt = R(() => import("./PackageVersion-BLzm8l_I.js")), Wt = R(() => import("./PenAndPaper-DxIUvoQ8.js")), jt = R(() => import("./UserOptions-CzJWRC4s.js")), Gt = R(() => import("./vue-ui-donut-CKDYWkKE.js").then((t) => t.a)), Oe = R(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_donut_evolution: Yt } = Hl(), { isThemeValid: qt, warnInvalidTheme: Jt } = ql(), p = Nt, E = i(wt()), x = i([]), b = i(null), le = i(null), he = i(!1), V = i(null), O = i(null), Kt = i(null), Pe = i(0), Ne = i(0), Re = i(0), Ve = i(0), Me = i(0), ge = i(null), oe = i(null), fe = i(null), ye = i(null), Ue = i(!1), j = i(null), be = i(null), He = i(null), Xe = i(null), We = i(null), je = i(null), Ge = i(null), Ce = i(!1), G = pt(null), ae = pt(null), Ye = i(null), qe = Vt, Je = v(() => !!p.dataset && p.dataset.length);
|
|
57
57
|
pl(() => {
|
|
58
58
|
Ue.value = !0, Ke();
|
|
59
59
|
});
|
|
60
|
-
const
|
|
60
|
+
const re = v(() => !!e.value.debug);
|
|
61
61
|
function Ke() {
|
|
62
|
-
if (
|
|
62
|
+
if (Dt(p.dataset) ? (ce({
|
|
63
63
|
componentName: "VueUiDonutEvolution",
|
|
64
64
|
type: "dataset",
|
|
65
|
-
debug:
|
|
66
|
-
}),
|
|
65
|
+
debug: re.value
|
|
66
|
+
}), ue.value = !0) : p.dataset.length && p.dataset.forEach((t, o) => {
|
|
67
67
|
Sl({
|
|
68
68
|
datasetObject: t,
|
|
69
69
|
requiredAttributes: ["name", "values"]
|
|
@@ -73,34 +73,34 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
73
73
|
type: "datasetSerieAttribute",
|
|
74
74
|
property: l,
|
|
75
75
|
index: o,
|
|
76
|
-
debug:
|
|
77
|
-
}),
|
|
76
|
+
debug: re.value
|
|
77
|
+
}), ue.value = !0;
|
|
78
78
|
});
|
|
79
|
-
}),
|
|
79
|
+
}), Dt(p.dataset) || (ue.value = e.value.loading), setTimeout(() => {
|
|
80
80
|
Ce.value = !0;
|
|
81
81
|
}, 10), Ae(), e.value.responsive) {
|
|
82
|
-
const t =
|
|
82
|
+
const t = Bt(() => {
|
|
83
83
|
Ce.value = !1;
|
|
84
|
-
const { width: o, height: l } =
|
|
85
|
-
chart:
|
|
84
|
+
const { width: o, height: l } = Ul({
|
|
85
|
+
chart: O.value,
|
|
86
86
|
title: e.value.style.chart.title.text ? He.value : null,
|
|
87
87
|
legend: e.value.style.chart.legend.show ? Xe.value : null,
|
|
88
88
|
slicer: e.value.style.chart.zoom.show && Ze.value > 1 ? Ge.value : null,
|
|
89
89
|
source: We.value
|
|
90
90
|
});
|
|
91
91
|
requestAnimationFrame(() => {
|
|
92
|
-
|
|
92
|
+
X.value.width = o, X.value.height = l - 12, clearTimeout(Ye.value), Ye.value = setTimeout(() => {
|
|
93
93
|
Ce.value = !0;
|
|
94
94
|
}, 10);
|
|
95
95
|
});
|
|
96
96
|
});
|
|
97
|
-
|
|
97
|
+
G.value && (ae.value && G.value.unobserve(ae.value), G.value.disconnect()), G.value = new ResizeObserver(t), ae.value = O.value.parentNode, G.value.observe(ae.value);
|
|
98
98
|
}
|
|
99
99
|
}
|
|
100
|
-
const e = i(
|
|
101
|
-
...
|
|
100
|
+
const e = i(ke()), { loading: Qe, FINAL_DATASET: me, manualLoading: ue } = Wl({
|
|
101
|
+
...xl(p),
|
|
102
102
|
FINAL_CONFIG: e,
|
|
103
|
-
prepareConfig:
|
|
103
|
+
prepareConfig: ke,
|
|
104
104
|
callback: () => {
|
|
105
105
|
Promise.resolve().then(async () => {
|
|
106
106
|
await Ae();
|
|
@@ -123,7 +123,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
123
123
|
color: "#CACACA"
|
|
124
124
|
}
|
|
125
125
|
],
|
|
126
|
-
skeletonConfig:
|
|
126
|
+
skeletonConfig: Fl({
|
|
127
127
|
defaultConfig: e.value,
|
|
128
128
|
userConfig: {
|
|
129
129
|
useCssAnimation: !1,
|
|
@@ -141,6 +141,9 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
141
141
|
xLabel: ""
|
|
142
142
|
},
|
|
143
143
|
yAxis: {
|
|
144
|
+
scaleMin: null,
|
|
145
|
+
scaleMax: null,
|
|
146
|
+
autoScale: !1,
|
|
144
147
|
dataLabels: { show: !1 }
|
|
145
148
|
},
|
|
146
149
|
xAxis: {
|
|
@@ -165,10 +168,10 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
165
168
|
}
|
|
166
169
|
}
|
|
167
170
|
})
|
|
168
|
-
}),
|
|
171
|
+
}), X = i({
|
|
169
172
|
width: e.value.style.chart.layout.width,
|
|
170
173
|
height: e.value.style.chart.layout.height
|
|
171
|
-
}), Ze =
|
|
174
|
+
}), Ze = v(() => Math.max(...me.value.map((t) => t.values.length))), h = i({
|
|
172
175
|
start: 0,
|
|
173
176
|
end: Ze.value
|
|
174
177
|
});
|
|
@@ -176,7 +179,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
176
179
|
Ae();
|
|
177
180
|
}
|
|
178
181
|
async function Ae() {
|
|
179
|
-
await
|
|
182
|
+
await Be(), await Be();
|
|
180
183
|
const { startIndex: t, endIndex: o } = e.value.style.chart.zoom, l = je.value;
|
|
181
184
|
h.value = { start: 0, max: F.value }, (t != null || o != null) && l ? (t != null ? l.setStartValue(t) : (h.value.start = 0, l.setStartValue(0)), o != null ? l.setEndValue(Qt(o + 1)) : (h.value.end = F.value, l.setEndValue(F.value))) : (h.value = {
|
|
182
185
|
start: 0,
|
|
@@ -187,10 +190,10 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
187
190
|
const o = F.value;
|
|
188
191
|
return t > o ? o : t < 0 || e.value.style.chart.zoom.startIndex !== null && t < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : t;
|
|
189
192
|
}
|
|
190
|
-
const { userOptionsVisible: pe, setUserOptionsVisibility: tt, keepUserOptionState: lt } =
|
|
191
|
-
function
|
|
193
|
+
const { userOptionsVisible: pe, setUserOptionsVisibility: tt, keepUserOptionState: lt } = Jl({ config: e.value }), { svgRef: xe } = Kl({ config: e.value.style.chart.title });
|
|
194
|
+
function ke() {
|
|
192
195
|
const t = Ie({
|
|
193
|
-
userConfig:
|
|
196
|
+
userConfig: p.config,
|
|
194
197
|
defaultConfig: Yt
|
|
195
198
|
});
|
|
196
199
|
let o = {};
|
|
@@ -199,40 +202,40 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
199
202
|
if (!qt.value(t))
|
|
200
203
|
Jt(t), o = t;
|
|
201
204
|
else {
|
|
202
|
-
const
|
|
203
|
-
userConfig: Pt[l] ||
|
|
205
|
+
const r = Ie({
|
|
206
|
+
userConfig: Pt[l] || p.config,
|
|
204
207
|
defaultConfig: t
|
|
205
208
|
});
|
|
206
209
|
o = {
|
|
207
210
|
...Ie({
|
|
208
|
-
userConfig:
|
|
209
|
-
defaultConfig:
|
|
211
|
+
userConfig: p.config,
|
|
212
|
+
defaultConfig: r
|
|
210
213
|
}),
|
|
211
|
-
customPalette: t.customPalette ? t.customPalette :
|
|
214
|
+
customPalette: t.customPalette ? t.customPalette : Bl[l] || de
|
|
212
215
|
};
|
|
213
216
|
}
|
|
214
217
|
else
|
|
215
218
|
o = t;
|
|
216
|
-
return
|
|
219
|
+
return p.config && Lt(p.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = p.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, p.config && Lt(p.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = p.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
|
|
217
220
|
}
|
|
218
|
-
ie(() =>
|
|
219
|
-
Qe.value || (e.value =
|
|
220
|
-
}, { deep: !0 }), ie(() =>
|
|
221
|
-
Array.isArray(t) && t.length > 0 && (
|
|
221
|
+
ie(() => p.config, (t) => {
|
|
222
|
+
Qe.value || (e.value = ke()), pe.value = !e.value.userOptions.showOnChartHover, Ke(), Re.value += 1, Ve.value += 1, Me.value += 1, M.value.showTable = e.value.table.show;
|
|
223
|
+
}, { deep: !0 }), ie(() => p.dataset, (t) => {
|
|
224
|
+
Array.isArray(t) && t.length > 0 && (ue.value = !1), et();
|
|
222
225
|
}, { deep: !0 });
|
|
223
|
-
const { isPrinting: ot, isImaging: at, generatePdf: rt, generateImage: ut } =
|
|
224
|
-
elementId:
|
|
226
|
+
const { isPrinting: ot, isImaging: at, generatePdf: rt, generateImage: ut } = Xl({
|
|
227
|
+
elementId: E.value,
|
|
225
228
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution",
|
|
226
229
|
options: e.value.userOptions.print
|
|
227
|
-
}), Zt =
|
|
230
|
+
}), Zt = v(() => e.value.userOptions.show && !e.value.style.chart.title.text), el = v(() => El(e.value.customPalette)), M = i({
|
|
228
231
|
showTable: e.value.table.show
|
|
229
232
|
});
|
|
230
233
|
ie(e, () => {
|
|
231
|
-
|
|
234
|
+
M.value = {
|
|
232
235
|
showTable: e.value.table.show
|
|
233
236
|
};
|
|
234
237
|
}, { immediate: !0 });
|
|
235
|
-
const
|
|
238
|
+
const U = v(() => ({
|
|
236
239
|
top: e.value.style.chart.layout.padding.top,
|
|
237
240
|
right: e.value.style.chart.layout.padding.right,
|
|
238
241
|
bottom: e.value.style.chart.layout.padding.bottom,
|
|
@@ -241,57 +244,57 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
241
244
|
function tl() {
|
|
242
245
|
let t = 0;
|
|
243
246
|
ge.value && (t = Array.from(ge.value.querySelectorAll("text")).reduce((a, f) => {
|
|
244
|
-
const
|
|
245
|
-
return
|
|
247
|
+
const g = f.getComputedTextLength();
|
|
248
|
+
return g > a ? g : a;
|
|
246
249
|
}, 0));
|
|
247
250
|
const o = ye.value ? ye.value.getBoundingClientRect().width + e.value.style.chart.layout.grid.axis.yLabelOffsetX + e.value.style.chart.layout.grid.axis.fontSize : 0;
|
|
248
251
|
return t + o + 5;
|
|
249
252
|
}
|
|
250
|
-
const we = i(0), ll =
|
|
253
|
+
const we = i(0), ll = Bt((t) => {
|
|
251
254
|
we.value = t;
|
|
252
255
|
}, 100);
|
|
253
|
-
|
|
254
|
-
const o =
|
|
256
|
+
kl((t) => {
|
|
257
|
+
const o = oe.value;
|
|
255
258
|
if (!o) return;
|
|
256
|
-
const l = new ResizeObserver((
|
|
257
|
-
ll(
|
|
259
|
+
const l = new ResizeObserver((r) => {
|
|
260
|
+
ll(r[0].contentRect.height);
|
|
258
261
|
});
|
|
259
262
|
l.observe(o), t(() => l.disconnect());
|
|
260
263
|
}), wl(() => {
|
|
261
264
|
we.value = 0;
|
|
262
265
|
});
|
|
263
|
-
const nt =
|
|
266
|
+
const nt = v(() => {
|
|
264
267
|
let t = 0;
|
|
265
268
|
fe.value && (t = fe.value.getBBox().height);
|
|
266
269
|
let o = 0;
|
|
267
|
-
return
|
|
268
|
-
}), s =
|
|
269
|
-
const t = tl(), o = e.value.style.chart.layout.dataLabels.fontSize * 3, l =
|
|
270
|
+
return oe.value && (o = we.value), t + o + e.value.style.chart.layout.grid.axis.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY;
|
|
271
|
+
}), s = v(() => {
|
|
272
|
+
const t = tl(), o = e.value.style.chart.layout.dataLabels.fontSize * 3, l = X.value.width, r = X.value.height, a = U.value.left + t, f = l - U.value.right, g = l - a - U.value.right, C = r - U.value.top - U.value.bottom - o - nt.value, N = U.value.top + o, Q = r - U.value.bottom - nt.value;
|
|
270
273
|
return {
|
|
271
|
-
top:
|
|
274
|
+
top: N,
|
|
272
275
|
left: a,
|
|
273
276
|
right: f,
|
|
274
|
-
bottom:
|
|
275
|
-
absoluteHeight:
|
|
277
|
+
bottom: Q,
|
|
278
|
+
absoluteHeight: r,
|
|
276
279
|
absoluteWidth: l,
|
|
277
|
-
centerX: a + Math.max(10,
|
|
278
|
-
centerY:
|
|
279
|
-
width: Math.max(10,
|
|
280
|
-
height: Math.max(10,
|
|
280
|
+
centerX: a + Math.max(10, g) / 2,
|
|
281
|
+
centerY: N + Math.max(10, C) / 2,
|
|
282
|
+
width: Math.max(10, g),
|
|
283
|
+
height: Math.max(10, C)
|
|
281
284
|
};
|
|
282
|
-
}),
|
|
285
|
+
}), $ = v(() => (me.value.forEach((t, o) => {
|
|
283
286
|
[null, void 0].includes(t.name) && ce({
|
|
284
287
|
componentName: "VueUiDonutEvolution",
|
|
285
288
|
type: "datasetSerieAttribute",
|
|
286
289
|
property: "name",
|
|
287
290
|
index: o,
|
|
288
|
-
debug:
|
|
291
|
+
debug: re.value
|
|
289
292
|
}), [null, void 0].includes(t.values) && ce({
|
|
290
293
|
componentName: "VueUiDonutEvolution",
|
|
291
294
|
type: "datasetSerieAttribute",
|
|
292
295
|
property: "values",
|
|
293
296
|
index: o,
|
|
294
|
-
debug:
|
|
297
|
+
debug: re.value
|
|
295
298
|
});
|
|
296
299
|
}), me.value.map((t, o) => ({
|
|
297
300
|
...t,
|
|
@@ -299,61 +302,66 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
299
302
|
color: $e(t.color) || el.value[o] || de[o] || de[o % de.length],
|
|
300
303
|
length: (t.values || []).length,
|
|
301
304
|
uid: wt()
|
|
302
|
-
})))),
|
|
305
|
+
})))), Y = v(() => $.value.filter((t) => !x.value.includes(t.uid)).map((t) => ({
|
|
303
306
|
...t,
|
|
304
307
|
values: t.values.filter((o, l) => l >= h.value.start && l <= h.value.end)
|
|
305
|
-
}))), F =
|
|
308
|
+
}))), F = v(() => Math.max(...Y.value.map((t) => t.length))), D = v(() => Yl({
|
|
306
309
|
values: e.value.style.chart.layout.grid.xAxis.dataLabels.values,
|
|
307
310
|
maxDatapoints: F.value,
|
|
308
311
|
formatter: e.value.style.chart.layout.grid.xAxis.dataLabels.datetimeFormatter,
|
|
309
312
|
start: h.value.start,
|
|
310
313
|
end: h.value.end
|
|
311
|
-
})), w =
|
|
314
|
+
})), w = v(() => s.value.width / (h.value.end - h.value.start)), ne = v(() => {
|
|
312
315
|
const t = [];
|
|
313
|
-
for (let
|
|
314
|
-
const
|
|
316
|
+
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
317
|
+
const l = Y.value.map((C) => C.values[o] ?? null), r = l.filter((C) => [void 0, null].includes(C)).length === l.length, a = l.reduce((C, N) => C + N, 0), f = l.map((C) => C / a), g = s.value.left + w.value * o + w.value / 2;
|
|
315
318
|
t.push({
|
|
316
|
-
index:
|
|
317
|
-
percentages:
|
|
318
|
-
subtotal:
|
|
319
|
-
values:
|
|
320
|
-
x:
|
|
319
|
+
index: o,
|
|
320
|
+
percentages: f,
|
|
321
|
+
subtotal: r || a < 0 ? null : a,
|
|
322
|
+
values: l,
|
|
323
|
+
x: g
|
|
321
324
|
});
|
|
322
325
|
}
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
+
return t;
|
|
327
|
+
}), De = v(() => {
|
|
328
|
+
const t = Math.max(...ne.value.map((a) => a.subtotal).filter((a) => _t(a))) ?? 1, o = Math.min(...ne.value.map((a) => a.subtotal).filter((a) => _t(a))) ?? 0;
|
|
329
|
+
let l = Math.max(e.value.style.chart.layout.grid.yAxis.scaleMax ?? 0, t), r;
|
|
330
|
+
return e.value.style.chart.layout.grid.yAxis.scaleMin != null ? r = Math.min(o, e.value.style.chart.layout.grid.yAxis.scaleMin) : r = 0, e.value.style.chart.layout.grid.yAxis.autoScale && (r = o, l = t), r === l && (r = l / 2, l *= 1.5), {
|
|
331
|
+
max: l,
|
|
332
|
+
min: r
|
|
333
|
+
};
|
|
334
|
+
}), P = v(() => {
|
|
335
|
+
const t = ne.value.length === 1 ? De.value.max * 2 : De.value.max;
|
|
336
|
+
return zl(De.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
337
|
+
});
|
|
338
|
+
function st(t) {
|
|
339
|
+
return (t - P.value.min) / (P.value.max - P.value.min);
|
|
340
|
+
}
|
|
341
|
+
const ol = v(() => P.value.ticks.map((t) => ({
|
|
342
|
+
y: s.value.bottom - s.value.height * st(t),
|
|
343
|
+
value: t
|
|
344
|
+
}))), S = v(() => {
|
|
345
|
+
const t = ne.value, o = Math.max(...t.map((l) => l.subtotal));
|
|
346
|
+
return t.length === 1 && o * 2, t.map((l, r) => {
|
|
347
|
+
const a = Math.min(s.value.width / 24, w.value / 2 * 0.7), f = a > s.value.width / 16 ? s.value.width / 16 : a, g = b.value === l.index ? s.value.width / 16 : f, C = t.length > 4 ? a * 2 : a * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : a * 2, N = s.value.bottom - s.value.height * st(l.subtotal), Q = Y.value.map((Z) => ({
|
|
348
|
+
color: Z.color,
|
|
349
|
+
name: Z.name,
|
|
350
|
+
value: Z.values[r] ?? 0
|
|
351
|
+
})).toSorted((Z, Al) => Al.value - Z.value);
|
|
326
352
|
return {
|
|
327
|
-
...
|
|
328
|
-
y:
|
|
329
|
-
radius:
|
|
330
|
-
activeRadius:
|
|
331
|
-
hoverRadius:
|
|
332
|
-
donut: ze({
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
name: _.name,
|
|
336
|
-
value: _.values[f] ?? 0
|
|
337
|
-
}))
|
|
338
|
-
}, a.x, E, p, p, 1.99999, 2, 1, 360, 105.25, p / 2),
|
|
339
|
-
donutHover: ze({
|
|
340
|
-
series: X.value.map((_, At) => ({
|
|
341
|
-
color: _.color,
|
|
342
|
-
name: _.name,
|
|
343
|
-
value: _.values[f] ?? 0
|
|
344
|
-
}))
|
|
345
|
-
}, a.x, E, R, R, 1.99999, 2, 1, 360, 105.25, R / 2),
|
|
346
|
-
donutFocus: ze({
|
|
347
|
-
series: X.value.map((_, At) => ({
|
|
348
|
-
color: _.color,
|
|
349
|
-
name: _.name,
|
|
350
|
-
value: _.values[f] ?? 0
|
|
351
|
-
}))
|
|
352
|
-
}, s.value.centerX, s.value.centerY, s.value.height / 3.6, s.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, s.value.height / 6)
|
|
353
|
+
...l,
|
|
354
|
+
y: N,
|
|
355
|
+
radius: f,
|
|
356
|
+
activeRadius: g,
|
|
357
|
+
hoverRadius: C,
|
|
358
|
+
donut: ze({ series: Q }, l.x, N, f, f, 1.99999, 2, 1, 360, 105.25, f / 2),
|
|
359
|
+
donutHover: ze({ series: Q }, l.x, N, C, C, 1.99999, 2, 1, 360, 105.25, C / 2),
|
|
360
|
+
donutFocus: ze({ series: Q }, s.value.centerX, s.value.centerY, s.value.height / 3.6, s.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, s.value.height / 6)
|
|
353
361
|
};
|
|
354
362
|
});
|
|
355
363
|
});
|
|
356
|
-
function
|
|
364
|
+
function it(t, o, l) {
|
|
357
365
|
return Te(
|
|
358
366
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
359
367
|
t,
|
|
@@ -366,44 +374,30 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
366
374
|
{ datapoint: o, index: l }
|
|
367
375
|
);
|
|
368
376
|
}
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
min: 0
|
|
372
|
-
})), G = g(() => {
|
|
373
|
-
const t = D.value.length === 1 ? Le.value.max * 2 : Le.value.max;
|
|
374
|
-
return _t(Le.value.min, t, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
375
|
-
});
|
|
376
|
-
function ol(t) {
|
|
377
|
-
return t / G.value.max;
|
|
378
|
-
}
|
|
379
|
-
const al = g(() => G.value.ticks.map((t) => ({
|
|
380
|
-
y: s.value.bottom - s.value.height * ol(t),
|
|
381
|
-
value: t
|
|
382
|
-
})));
|
|
383
|
-
function rl(t, o) {
|
|
384
|
-
return isNaN(t.value / Bt(o, "value")) ? 0 : (t.value / Bt(o, "value") * 100).toFixed(0) + "%";
|
|
377
|
+
function al(t, o) {
|
|
378
|
+
return isNaN(t.value / Ft(o, "value")) ? 0 : (t.value / Ft(o, "value") * 100).toFixed(0) + "%";
|
|
385
379
|
}
|
|
386
|
-
function
|
|
387
|
-
b.value = null,
|
|
380
|
+
function ct(t) {
|
|
381
|
+
b.value = null, le.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: t.seriesIndex + h.value.start });
|
|
388
382
|
}
|
|
389
|
-
function
|
|
390
|
-
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index,
|
|
383
|
+
function rl(t) {
|
|
384
|
+
e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: t.index + h.value.start }), b.value = t.index, le.value = t;
|
|
391
385
|
}
|
|
392
|
-
const
|
|
393
|
-
function
|
|
394
|
-
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (
|
|
386
|
+
const q = i(null);
|
|
387
|
+
function dt(t, o) {
|
|
388
|
+
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: t.index + h.value.start }), !(!t.subtotal || !e.value.style.chart.dialog.show) && (le.value = null, b.value = null, he.value = !0, V.value = t, cl(t), [null, void 0].includes(o) || (q.value = o));
|
|
395
389
|
}
|
|
396
|
-
const
|
|
390
|
+
const Le = v(() => $.value.map((t, o) => ({
|
|
397
391
|
name: t.name,
|
|
398
|
-
value: t.values.slice(h.value.start, h.value.end).reduce((l,
|
|
392
|
+
value: t.values.slice(h.value.start, h.value.end).reduce((l, r) => l + r, 0),
|
|
399
393
|
shape: "circle",
|
|
400
394
|
uid: t.uid,
|
|
401
395
|
color: t.color
|
|
402
396
|
})).sort((t, o) => o.value - t.value).map((t, o) => ({
|
|
403
397
|
...t,
|
|
404
|
-
opacity:
|
|
405
|
-
segregate: () =>
|
|
406
|
-
isSegregated:
|
|
398
|
+
opacity: x.value.includes(t.uid) ? 0.5 : 1,
|
|
399
|
+
segregate: () => J(t.uid),
|
|
400
|
+
isSegregated: x.value.includes(t.uid),
|
|
407
401
|
display: `${t.name}${e.value.style.chart.legend.showPercentage || e.value.style.chart.legend.showValue ? ": " : ""}${e.value.style.chart.legend.showValue ? Te(
|
|
408
402
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
409
403
|
t.value,
|
|
@@ -414,12 +408,12 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
414
408
|
r: e.value.style.chart.legend.roundingValue
|
|
415
409
|
}),
|
|
416
410
|
{ datapoint: t, seriesIndex: o }
|
|
417
|
-
) : ""}${e.value.style.chart.legend.showPercentage ?
|
|
418
|
-
v: t.value /
|
|
411
|
+
) : ""}${e.value.style.chart.legend.showPercentage ? x.value.includes(t.uid) ? `${e.value.style.chart.legend.showValue ? " (" : ""}- %${e.value.style.chart.legend.showValue ? ")" : ""}` : `${e.value.style.chart.legend.showValue ? " (" : ""}${isNaN(t.value / vt.value) ? "-" : ve({
|
|
412
|
+
v: t.value / vt.value * 100,
|
|
419
413
|
s: "%",
|
|
420
414
|
r: e.value.style.chart.legend.roundingPercentage
|
|
421
415
|
})}${e.value.style.chart.legend.showValue ? ")" : ""}` : ""}`
|
|
422
|
-
}))),
|
|
416
|
+
}))), vt = v(() => S.value.map((t) => t.subtotal).reduce((t, o) => t + o, 0)), ul = v(() => ({
|
|
423
417
|
cy: "donut-div-legend",
|
|
424
418
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
425
419
|
color: e.value.style.chart.legend.color,
|
|
@@ -427,40 +421,40 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
427
421
|
paddingBottom: 12,
|
|
428
422
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
429
423
|
}));
|
|
430
|
-
function
|
|
431
|
-
if (
|
|
432
|
-
|
|
424
|
+
function J(t) {
|
|
425
|
+
if (x.value.includes(t))
|
|
426
|
+
x.value = x.value.filter((o) => o !== t), qe("selectLegend", Y.value);
|
|
433
427
|
else {
|
|
434
|
-
if (
|
|
435
|
-
|
|
428
|
+
if (x.value.length === $.value.length - 1) return;
|
|
429
|
+
x.value.push(t), qe("selectLegend", Y.value);
|
|
436
430
|
}
|
|
437
|
-
|
|
431
|
+
V.value && dt(S.value.find((o, l) => l === q.value));
|
|
438
432
|
}
|
|
439
|
-
function
|
|
440
|
-
if (
|
|
433
|
+
function ht(t) {
|
|
434
|
+
if (!$.value.length)
|
|
441
435
|
return e.value.debug && console.warn("VueUiDonutEvolution - There are no series to show."), null;
|
|
442
|
-
const o =
|
|
436
|
+
const o = $.value.find((l) => l.name === t);
|
|
443
437
|
return o || (e.value.debug && console.warn(`VueUiDonutEvolution - Series name not found "${t}"`), null);
|
|
444
438
|
}
|
|
445
|
-
function
|
|
446
|
-
const o =
|
|
447
|
-
o !== null &&
|
|
439
|
+
function nl(t) {
|
|
440
|
+
const o = ht(t);
|
|
441
|
+
o !== null && x.value.includes(o.uid) && J(o.uid);
|
|
448
442
|
}
|
|
449
|
-
function
|
|
450
|
-
const o =
|
|
451
|
-
o !== null && (
|
|
443
|
+
function sl(t) {
|
|
444
|
+
const o = ht(t);
|
|
445
|
+
o !== null && (x.value.includes(o.uid) || J(o.uid));
|
|
452
446
|
}
|
|
453
|
-
const
|
|
454
|
-
const t = [""].concat(
|
|
447
|
+
const W = v(() => {
|
|
448
|
+
const t = [""].concat($.value.filter((a) => !x.value.includes(a.uid)).map((a) => ({
|
|
455
449
|
name: a.name,
|
|
456
450
|
color: a.color
|
|
457
451
|
}))).concat(["Σ"]);
|
|
458
452
|
let o = [];
|
|
459
453
|
for (let a = 0; a < F.value; a += 1) {
|
|
460
|
-
const f =
|
|
461
|
-
o.push([
|
|
462
|
-
value:
|
|
463
|
-
percentage:
|
|
454
|
+
const f = $.value.filter((g) => !x.value.includes(g.uid)).map((g) => g.values[a] ?? 0).reduce((g, C) => g + C, 0);
|
|
455
|
+
o.push([D.value[a] ? D.value[a].text : "-"].concat($.value.filter((g) => !x.value.includes(g.uid)).map((g) => ({
|
|
456
|
+
value: g.values[a] ?? 0,
|
|
457
|
+
percentage: g.values[a] ? g.values[a] / f * 100 : 0
|
|
464
458
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
465
459
|
}
|
|
466
460
|
const l = {
|
|
@@ -475,73 +469,73 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
475
469
|
outline: e.value.table.td.outline
|
|
476
470
|
},
|
|
477
471
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
478
|
-
},
|
|
472
|
+
}, r = [
|
|
479
473
|
e.value.table.columnNames.period
|
|
480
|
-
].concat(
|
|
481
|
-
return { head: t, body: o, config: l, colNames:
|
|
474
|
+
].concat($.value.filter((a) => !x.value.includes(a.uid)).map((a) => a.name)).concat(e.value.table.columnNames.total);
|
|
475
|
+
return { head: t, body: o, config: l, colNames: r };
|
|
482
476
|
});
|
|
483
|
-
function
|
|
484
|
-
return
|
|
477
|
+
function il() {
|
|
478
|
+
return $.value;
|
|
485
479
|
}
|
|
486
480
|
function _e(t = null) {
|
|
487
|
-
|
|
488
|
-
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...
|
|
489
|
-
t ? t(f) :
|
|
481
|
+
Be(() => {
|
|
482
|
+
const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = [...W.value.head.map((g) => g.name ?? g)], r = [...W.value.body.map((g) => g.map((C) => C.value ?? C))], a = o.concat([l]).concat(r), f = Rl(a);
|
|
483
|
+
t ? t(f) : Vl({ csvContent: f, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
490
484
|
});
|
|
491
485
|
}
|
|
492
|
-
const
|
|
493
|
-
function
|
|
494
|
-
|
|
486
|
+
const H = i(!1);
|
|
487
|
+
function gt(t) {
|
|
488
|
+
H.value = t, Pe.value += 1;
|
|
495
489
|
}
|
|
496
|
-
function
|
|
497
|
-
|
|
490
|
+
function ft() {
|
|
491
|
+
M.value.showTable = !M.value.showTable;
|
|
498
492
|
}
|
|
499
493
|
const se = i(!1);
|
|
500
494
|
function Se() {
|
|
501
495
|
se.value = !se.value;
|
|
502
496
|
}
|
|
503
|
-
function
|
|
497
|
+
function yt(t) {
|
|
504
498
|
return t.proportion * 100 > e.value.style.chart.donuts.hover.hideLabelsUnderValue;
|
|
505
499
|
}
|
|
506
|
-
const
|
|
507
|
-
function
|
|
508
|
-
|
|
500
|
+
const bt = i([]), Ct = i({}), Fe = i(null);
|
|
501
|
+
function cl(t) {
|
|
502
|
+
bt.value = t.donut.map((o) => ({
|
|
509
503
|
name: o.name,
|
|
510
504
|
values: [o.value],
|
|
511
505
|
color: o.color
|
|
512
|
-
})),
|
|
506
|
+
})), Ct.value = Ml({
|
|
513
507
|
...e.value.style.chart.dialog.donutChart,
|
|
514
508
|
responsive: !0,
|
|
515
509
|
theme: e.value.theme
|
|
516
|
-
}),
|
|
510
|
+
}), Fe.value && Fe.value.open();
|
|
517
511
|
}
|
|
518
|
-
async function
|
|
519
|
-
if (!
|
|
520
|
-
const { width: o, height: l } =
|
|
512
|
+
async function dl({ scale: t = 2 } = {}) {
|
|
513
|
+
if (!O.value) return;
|
|
514
|
+
const { width: o, height: l } = O.value.getBoundingClientRect(), r = o / l, { imageUri: a, base64: f } = await Zl({ domElement: O.value, base64: !0, img: !0, scale: t });
|
|
521
515
|
return {
|
|
522
516
|
imageUri: a,
|
|
523
517
|
base64: f,
|
|
524
518
|
title: e.value.style.chart.title.text,
|
|
525
519
|
width: o,
|
|
526
520
|
height: l,
|
|
527
|
-
aspectRatio:
|
|
521
|
+
aspectRatio: r
|
|
528
522
|
};
|
|
529
523
|
}
|
|
530
|
-
const
|
|
531
|
-
|
|
532
|
-
timeLabelsEls:
|
|
533
|
-
timeLabels:
|
|
524
|
+
const vl = v(() => X.value.width), hl = v(() => X.value.height);
|
|
525
|
+
Ql({
|
|
526
|
+
timeLabelsEls: oe,
|
|
527
|
+
timeLabels: D,
|
|
534
528
|
slicer: h,
|
|
535
529
|
configRef: e,
|
|
536
530
|
rotationPath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "rotation"],
|
|
537
531
|
autoRotatePath: ["style", "chart", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
|
|
538
532
|
isAutoSize: !1,
|
|
539
|
-
width:
|
|
540
|
-
height:
|
|
533
|
+
width: vl,
|
|
534
|
+
height: hl,
|
|
541
535
|
rotation: e.value.style.chart.layout.grid.xAxis.dataLabels.autoRotate.angle
|
|
542
536
|
});
|
|
543
|
-
const
|
|
544
|
-
const t = e.value.table.useDialog && !e.value.table.show, o =
|
|
537
|
+
const K = v(() => {
|
|
538
|
+
const t = e.value.table.useDialog && !e.value.table.show, o = M.value.showTable;
|
|
545
539
|
return {
|
|
546
540
|
component: t ? Oe : Mt,
|
|
547
541
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
@@ -550,8 +544,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
550
544
|
color: e.value.table.th.color,
|
|
551
545
|
headerColor: e.value.table.th.color,
|
|
552
546
|
headerBg: e.value.table.th.backgroundColor,
|
|
553
|
-
isFullscreen:
|
|
554
|
-
fullscreenParent:
|
|
547
|
+
isFullscreen: H.value,
|
|
548
|
+
fullscreenParent: O.value,
|
|
555
549
|
forcedWidth: Math.min(800, window.innerWidth * 0.8)
|
|
556
550
|
} : {
|
|
557
551
|
hideDetails: !0,
|
|
@@ -570,93 +564,93 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
570
564
|
}
|
|
571
565
|
};
|
|
572
566
|
});
|
|
573
|
-
ie(() =>
|
|
574
|
-
e.value.table.show || (t && e.value.table.useDialog &&
|
|
567
|
+
ie(() => M.value.showTable, (t) => {
|
|
568
|
+
e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
|
|
575
569
|
});
|
|
576
|
-
function
|
|
577
|
-
|
|
570
|
+
function mt() {
|
|
571
|
+
M.value.showTable = !1, be.value && be.value.setTableIconState(!1);
|
|
578
572
|
}
|
|
579
|
-
const
|
|
573
|
+
const gl = v(() => Le.value.map((t) => ({
|
|
580
574
|
...t,
|
|
581
575
|
name: t.display
|
|
582
|
-
}))),
|
|
583
|
-
svg:
|
|
584
|
-
title:
|
|
585
|
-
legend:
|
|
586
|
-
legendItems:
|
|
587
|
-
backgroundColor:
|
|
576
|
+
}))), fl = v(() => e.value.style.chart.backgroundColor), yl = v(() => e.value.style.chart.legend), bl = v(() => e.value.style.chart.title), { exportSvg: Cl, getSvg: ml } = Gl({
|
|
577
|
+
svg: xe,
|
|
578
|
+
title: bl,
|
|
579
|
+
legend: yl,
|
|
580
|
+
legendItems: gl,
|
|
581
|
+
backgroundColor: fl
|
|
588
582
|
});
|
|
589
|
-
async function
|
|
583
|
+
async function At({ isCb: t }) {
|
|
590
584
|
if (t) {
|
|
591
|
-
const { blob: o, url: l, text:
|
|
592
|
-
e.value.userOptions.callbacks.svg({ blob: o, url: l, text:
|
|
585
|
+
const { blob: o, url: l, text: r, dataUrl: a } = await ml();
|
|
586
|
+
e.value.userOptions.callbacks.svg({ blob: o, url: l, text: r, dataUrl: a });
|
|
593
587
|
} else
|
|
594
|
-
|
|
588
|
+
Cl();
|
|
595
589
|
}
|
|
596
590
|
return Rt({
|
|
597
|
-
getData:
|
|
598
|
-
getImage:
|
|
591
|
+
getData: il,
|
|
592
|
+
getImage: dl,
|
|
599
593
|
generatePdf: rt,
|
|
600
594
|
generateCsv: _e,
|
|
601
595
|
generateImage: ut,
|
|
602
|
-
generateSvg:
|
|
603
|
-
hideSeries:
|
|
604
|
-
showSeries:
|
|
605
|
-
toggleTable:
|
|
596
|
+
generateSvg: At,
|
|
597
|
+
hideSeries: sl,
|
|
598
|
+
showSeries: nl,
|
|
599
|
+
toggleTable: ft,
|
|
606
600
|
toggleAnnotator: Se,
|
|
607
|
-
toggleFullscreen:
|
|
608
|
-
}), (t, o) => (
|
|
601
|
+
toggleFullscreen: gt
|
|
602
|
+
}), (t, o) => (u(), n("div", {
|
|
609
603
|
ref_key: "donutEvolutionChart",
|
|
610
|
-
ref:
|
|
611
|
-
class:
|
|
612
|
-
style:
|
|
613
|
-
id:
|
|
604
|
+
ref: O,
|
|
605
|
+
class: z(`vue-data-ui-component vue-ui-donut-evolution ${H.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
606
|
+
style: ee(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
607
|
+
id: E.value,
|
|
614
608
|
onMouseenter: o[5] || (o[5] = () => c(tt)(!0)),
|
|
615
609
|
onMouseleave: o[6] || (o[6] = () => c(tt)(!1))
|
|
616
610
|
}, [
|
|
617
|
-
e.value.userOptions.buttons.annotator ? (
|
|
611
|
+
e.value.userOptions.buttons.annotator ? (u(), B(c(Wt), {
|
|
618
612
|
key: 0,
|
|
619
|
-
svgRef: c(
|
|
613
|
+
svgRef: c(xe),
|
|
620
614
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
621
615
|
color: e.value.style.chart.color,
|
|
622
616
|
active: se.value,
|
|
623
617
|
onClose: Se
|
|
624
618
|
}, {
|
|
625
619
|
"annotator-action-close": y(() => [
|
|
626
|
-
|
|
620
|
+
A(t.$slots, "annotator-action-close", {}, void 0, !0)
|
|
627
621
|
]),
|
|
628
622
|
"annotator-action-color": y(({ color: l }) => [
|
|
629
|
-
|
|
623
|
+
A(t.$slots, "annotator-action-color", T(I({ color: l })), void 0, !0)
|
|
630
624
|
]),
|
|
631
625
|
"annotator-action-draw": y(({ mode: l }) => [
|
|
632
|
-
|
|
626
|
+
A(t.$slots, "annotator-action-draw", T(I({ mode: l })), void 0, !0)
|
|
633
627
|
]),
|
|
634
628
|
"annotator-action-undo": y(({ disabled: l }) => [
|
|
635
|
-
|
|
629
|
+
A(t.$slots, "annotator-action-undo", T(I({ disabled: l })), void 0, !0)
|
|
636
630
|
]),
|
|
637
631
|
"annotator-action-redo": y(({ disabled: l }) => [
|
|
638
|
-
|
|
632
|
+
A(t.$slots, "annotator-action-redo", T(I({ disabled: l })), void 0, !0)
|
|
639
633
|
]),
|
|
640
634
|
"annotator-action-delete": y(({ disabled: l }) => [
|
|
641
|
-
|
|
635
|
+
A(t.$slots, "annotator-action-delete", T(I({ disabled: l })), void 0, !0)
|
|
642
636
|
]),
|
|
643
637
|
_: 3
|
|
644
638
|
}, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
|
|
645
|
-
Zt.value ? (
|
|
639
|
+
Zt.value ? (u(), n("div", {
|
|
646
640
|
key: 1,
|
|
647
641
|
ref_key: "noTitle",
|
|
648
642
|
ref: Kt,
|
|
649
643
|
class: "vue-data-ui-no-title-space",
|
|
650
644
|
style: "height:36px; width: 100%;background:transparent"
|
|
651
645
|
}, null, 512)) : d("", !0),
|
|
652
|
-
e.value.style.chart.title.text ? (
|
|
646
|
+
e.value.style.chart.title.text ? (u(), n("div", {
|
|
653
647
|
key: 2,
|
|
654
648
|
ref_key: "chartTitle",
|
|
655
649
|
ref: He,
|
|
656
650
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
657
|
-
onMouseleave:
|
|
651
|
+
onMouseleave: ct
|
|
658
652
|
}, [
|
|
659
|
-
(
|
|
653
|
+
(u(), B(eo, {
|
|
660
654
|
key: `title_${Re.value}`,
|
|
661
655
|
config: {
|
|
662
656
|
title: {
|
|
@@ -670,10 +664,10 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
670
664
|
}
|
|
671
665
|
}, null, 8, ["config"]))
|
|
672
666
|
], 544)) : d("", !0),
|
|
673
|
-
|
|
674
|
-
id: `legend-top-${
|
|
675
|
-
}, null, 8,
|
|
676
|
-
e.value.userOptions.show && Je.value && (c(lt) || c(pe)) ? (
|
|
667
|
+
m("div", {
|
|
668
|
+
id: `legend-top-${E.value}`
|
|
669
|
+
}, null, 8, ro),
|
|
670
|
+
e.value.userOptions.show && Je.value && (c(lt) || c(pe)) ? (u(), B(c(jt), {
|
|
677
671
|
ref_key: "userOptionsRef",
|
|
678
672
|
ref: be,
|
|
679
673
|
key: `user_options_${Pe.value}`,
|
|
@@ -681,100 +675,100 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
681
675
|
color: e.value.style.chart.color,
|
|
682
676
|
isPrinting: c(ot),
|
|
683
677
|
isImaging: c(at),
|
|
684
|
-
uid:
|
|
678
|
+
uid: E.value,
|
|
685
679
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
686
680
|
hasImg: e.value.userOptions.buttons.img,
|
|
687
681
|
hasSvg: e.value.userOptions.buttons.svg,
|
|
688
682
|
hasXls: e.value.userOptions.buttons.csv,
|
|
689
683
|
hasTable: e.value.userOptions.buttons.table,
|
|
690
684
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
691
|
-
isFullscreen:
|
|
685
|
+
isFullscreen: H.value,
|
|
692
686
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
693
|
-
chartElement:
|
|
687
|
+
chartElement: O.value,
|
|
694
688
|
position: e.value.userOptions.position,
|
|
695
689
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
696
690
|
isAnnotation: se.value,
|
|
697
691
|
callbacks: e.value.userOptions.callbacks,
|
|
698
692
|
printScale: e.value.userOptions.print.scale,
|
|
699
693
|
tableDialog: e.value.table.useDialog,
|
|
700
|
-
onToggleFullscreen:
|
|
694
|
+
onToggleFullscreen: gt,
|
|
701
695
|
onGeneratePdf: c(rt),
|
|
702
696
|
onGenerateCsv: _e,
|
|
703
697
|
onGenerateImage: c(ut),
|
|
704
|
-
onGenerateSvg:
|
|
705
|
-
onToggleTable:
|
|
698
|
+
onGenerateSvg: At,
|
|
699
|
+
onToggleTable: ft,
|
|
706
700
|
onToggleAnnotator: Se,
|
|
707
|
-
style:
|
|
701
|
+
style: ee({
|
|
708
702
|
visibility: c(lt) ? c(pe) ? "visible" : "hidden" : "visible"
|
|
709
703
|
})
|
|
710
|
-
},
|
|
704
|
+
}, xt({ _: 2 }, [
|
|
711
705
|
t.$slots.menuIcon ? {
|
|
712
706
|
name: "menuIcon",
|
|
713
|
-
fn: y(({ isOpen: l, color:
|
|
714
|
-
|
|
707
|
+
fn: y(({ isOpen: l, color: r }) => [
|
|
708
|
+
A(t.$slots, "menuIcon", T(I({ isOpen: l, color: r })), void 0, !0)
|
|
715
709
|
]),
|
|
716
710
|
key: "0"
|
|
717
711
|
} : void 0,
|
|
718
712
|
t.$slots.optionPdf ? {
|
|
719
713
|
name: "optionPdf",
|
|
720
714
|
fn: y(() => [
|
|
721
|
-
|
|
715
|
+
A(t.$slots, "optionPdf", {}, void 0, !0)
|
|
722
716
|
]),
|
|
723
717
|
key: "1"
|
|
724
718
|
} : void 0,
|
|
725
719
|
t.$slots.optionCsv ? {
|
|
726
720
|
name: "optionCsv",
|
|
727
721
|
fn: y(() => [
|
|
728
|
-
|
|
722
|
+
A(t.$slots, "optionCsv", {}, void 0, !0)
|
|
729
723
|
]),
|
|
730
724
|
key: "2"
|
|
731
725
|
} : void 0,
|
|
732
726
|
t.$slots.optionImg ? {
|
|
733
727
|
name: "optionImg",
|
|
734
728
|
fn: y(() => [
|
|
735
|
-
|
|
729
|
+
A(t.$slots, "optionImg", {}, void 0, !0)
|
|
736
730
|
]),
|
|
737
731
|
key: "3"
|
|
738
732
|
} : void 0,
|
|
739
733
|
t.$slots.optionSvg ? {
|
|
740
734
|
name: "optionSvg",
|
|
741
735
|
fn: y(() => [
|
|
742
|
-
|
|
736
|
+
A(t.$slots, "optionSvg", {}, void 0, !0)
|
|
743
737
|
]),
|
|
744
738
|
key: "4"
|
|
745
739
|
} : void 0,
|
|
746
740
|
t.$slots.optionTable ? {
|
|
747
741
|
name: "optionTable",
|
|
748
742
|
fn: y(() => [
|
|
749
|
-
|
|
743
|
+
A(t.$slots, "optionTable", {}, void 0, !0)
|
|
750
744
|
]),
|
|
751
745
|
key: "5"
|
|
752
746
|
} : void 0,
|
|
753
747
|
t.$slots.optionFullscreen ? {
|
|
754
748
|
name: "optionFullscreen",
|
|
755
|
-
fn: y(({ toggleFullscreen: l, isFullscreen:
|
|
756
|
-
|
|
749
|
+
fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
750
|
+
A(t.$slots, "optionFullscreen", T(I({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
757
751
|
]),
|
|
758
752
|
key: "6"
|
|
759
753
|
} : void 0,
|
|
760
754
|
t.$slots.optionAnnotator ? {
|
|
761
755
|
name: "optionAnnotator",
|
|
762
|
-
fn: y(({ toggleAnnotator: l, isAnnotator:
|
|
763
|
-
|
|
756
|
+
fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
757
|
+
A(t.$slots, "optionAnnotator", T(I({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
764
758
|
]),
|
|
765
759
|
key: "7"
|
|
766
760
|
} : void 0
|
|
767
761
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
768
|
-
(
|
|
762
|
+
(u(), n("svg", {
|
|
769
763
|
ref_key: "svgRef",
|
|
770
|
-
ref:
|
|
771
|
-
xmlns: c(
|
|
772
|
-
class:
|
|
764
|
+
ref: xe,
|
|
765
|
+
xmlns: c(Tl),
|
|
766
|
+
class: z({ "vue-data-ui-fullscreen--on": H.value, "vue-data-ui-fulscreen--off": !H.value }),
|
|
773
767
|
viewBox: `0 0 ${s.value.absoluteWidth} ${s.value.absoluteHeight}`,
|
|
774
|
-
style:
|
|
768
|
+
style: ee(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
775
769
|
}, [
|
|
776
|
-
|
|
777
|
-
t.$slots["chart-background"] ? (
|
|
770
|
+
kt(c(Xt)),
|
|
771
|
+
t.$slots["chart-background"] ? (u(), n("foreignObject", {
|
|
778
772
|
key: 0,
|
|
779
773
|
x: s.value.left,
|
|
780
774
|
y: s.value.top,
|
|
@@ -784,44 +778,44 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
784
778
|
pointerEvents: "none"
|
|
785
779
|
}
|
|
786
780
|
}, [
|
|
787
|
-
|
|
788
|
-
], 8,
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
id: `hover_${
|
|
781
|
+
A(t.$slots, "chart-background", {}, void 0, !0)
|
|
782
|
+
], 8, no)) : d("", !0),
|
|
783
|
+
m("defs", null, [
|
|
784
|
+
m("linearGradient", {
|
|
785
|
+
id: `hover_${E.value}`,
|
|
792
786
|
x1: "0%",
|
|
793
787
|
y1: "0%",
|
|
794
788
|
x2: "0%",
|
|
795
789
|
y2: "100%"
|
|
796
790
|
}, [
|
|
797
|
-
|
|
791
|
+
m("stop", {
|
|
798
792
|
offset: "0%",
|
|
799
|
-
"stop-color": c(
|
|
800
|
-
}, null, 8,
|
|
801
|
-
|
|
793
|
+
"stop-color": c(te)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
794
|
+
}, null, 8, io),
|
|
795
|
+
m("stop", {
|
|
802
796
|
offset: "100%",
|
|
803
|
-
"stop-color": c(
|
|
804
|
-
}, null, 8,
|
|
805
|
-
], 8,
|
|
806
|
-
|
|
807
|
-
id: `focus_${
|
|
797
|
+
"stop-color": c(te)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
798
|
+
}, null, 8, co)
|
|
799
|
+
], 8, so),
|
|
800
|
+
m("radialGradient", {
|
|
801
|
+
id: `focus_${E.value}`
|
|
808
802
|
}, [
|
|
809
|
-
|
|
803
|
+
m("stop", {
|
|
810
804
|
offset: "0%",
|
|
811
|
-
"stop-color": c(
|
|
812
|
-
}, null, 8, vo),
|
|
813
|
-
C("stop", {
|
|
814
|
-
offset: "77%",
|
|
815
|
-
"stop-color": c(le)("#FFFFFF", 30)
|
|
805
|
+
"stop-color": c(te)(c($e)(e.value.style.chart.backgroundColor), 0)
|
|
816
806
|
}, null, 8, ho),
|
|
817
|
-
|
|
807
|
+
m("stop", {
|
|
808
|
+
offset: "77%",
|
|
809
|
+
"stop-color": c(te)("#FFFFFF", 30)
|
|
810
|
+
}, null, 8, go),
|
|
811
|
+
m("stop", {
|
|
818
812
|
offset: "100%",
|
|
819
|
-
"stop-color": c(
|
|
820
|
-
}, null, 8,
|
|
821
|
-
], 8,
|
|
813
|
+
"stop-color": c(te)(c($e)(e.value.style.chart.backgroundColor), 0)
|
|
814
|
+
}, null, 8, fo)
|
|
815
|
+
], 8, vo)
|
|
822
816
|
]),
|
|
823
|
-
e.value.style.chart.layout.grid.show ? (
|
|
824
|
-
|
|
817
|
+
e.value.style.chart.layout.grid.show ? (u(), n("g", yo, [
|
|
818
|
+
m("line", {
|
|
825
819
|
x1: s.value.left,
|
|
826
820
|
x2: s.value.left,
|
|
827
821
|
y1: s.value.top,
|
|
@@ -829,8 +823,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
829
823
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
830
824
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
831
825
|
"stroke-linecap": "round"
|
|
832
|
-
}, null, 8,
|
|
833
|
-
|
|
826
|
+
}, null, 8, bo),
|
|
827
|
+
m("line", {
|
|
834
828
|
x1: s.value.left,
|
|
835
829
|
x2: s.value.right,
|
|
836
830
|
y1: s.value.bottom,
|
|
@@ -838,21 +832,21 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
838
832
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
839
833
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
840
834
|
"stroke-linecap": "round"
|
|
841
|
-
}, null, 8,
|
|
842
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (
|
|
843
|
-
(
|
|
844
|
-
x1: s.value.left + (
|
|
845
|
-
x2: s.value.left + (
|
|
835
|
+
}, null, 8, Co),
|
|
836
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (u(), n("g", mo, [
|
|
837
|
+
(u(!0), n(L, null, _(h.value.end - h.value.start, (l, r) => (u(), n("line", {
|
|
838
|
+
x1: s.value.left + (r + 1) * w.value,
|
|
839
|
+
x2: s.value.left + (r + 1) * w.value,
|
|
846
840
|
y1: s.value.top,
|
|
847
841
|
y2: s.value.bottom,
|
|
848
842
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
849
843
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
850
844
|
"stroke-linecap": "round"
|
|
851
|
-
}, null, 8,
|
|
845
|
+
}, null, 8, Ao))), 256))
|
|
852
846
|
])) : d("", !0)
|
|
853
847
|
])) : d("", !0),
|
|
854
|
-
|
|
855
|
-
e.value.style.chart.layout.grid.axis.yLabel ? (
|
|
848
|
+
m("g", null, [
|
|
849
|
+
e.value.style.chart.layout.grid.axis.yLabel ? (u(), n("text", {
|
|
856
850
|
key: 0,
|
|
857
851
|
ref_key: "yAxisLabel",
|
|
858
852
|
ref: ye,
|
|
@@ -861,8 +855,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
861
855
|
transform: `translate(${e.value.style.chart.layout.grid.axis.fontSize}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
|
|
862
856
|
"text-anchor": "middle",
|
|
863
857
|
style: { transition: "none" }
|
|
864
|
-
},
|
|
865
|
-
e.value.style.chart.layout.grid.axis.xLabel ? (
|
|
858
|
+
}, k(e.value.style.chart.layout.grid.axis.yLabel), 9, po)) : d("", !0),
|
|
859
|
+
e.value.style.chart.layout.grid.axis.xLabel ? (u(), n("text", {
|
|
866
860
|
key: 1,
|
|
867
861
|
ref_key: "xAxisLabel",
|
|
868
862
|
ref: fe,
|
|
@@ -871,16 +865,16 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
871
865
|
y: s.value.absoluteHeight - 3,
|
|
872
866
|
"font-size": e.value.style.chart.layout.grid.axis.fontSize,
|
|
873
867
|
fill: e.value.style.chart.layout.grid.axis.color
|
|
874
|
-
},
|
|
868
|
+
}, k(e.value.style.chart.layout.grid.axis.xLabel), 9, xo)) : d("", !0)
|
|
875
869
|
]),
|
|
876
|
-
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (
|
|
870
|
+
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (u(), n("g", {
|
|
877
871
|
key: 2,
|
|
878
872
|
ref_key: "scaleLabels",
|
|
879
873
|
ref: ge,
|
|
880
|
-
class:
|
|
874
|
+
class: z({ "donut-opacity": !0, "donut-behind": b.value !== null })
|
|
881
875
|
}, [
|
|
882
|
-
(
|
|
883
|
-
l.value >=
|
|
876
|
+
(u(!0), n(L, null, _(ol.value, (l, r) => (u(), n("g", null, [
|
|
877
|
+
l.value >= P.value.min && l.value <= P.value.max ? (u(), n("line", {
|
|
884
878
|
key: 0,
|
|
885
879
|
x1: s.value.left,
|
|
886
880
|
x2: s.value.left - 5,
|
|
@@ -889,7 +883,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
889
883
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
890
884
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
891
885
|
}, null, 8, ko)) : d("", !0),
|
|
892
|
-
l.value >=
|
|
886
|
+
l.value >= P.value.min && l.value <= P.value.max ? (u(), n("text", {
|
|
893
887
|
key: 1,
|
|
894
888
|
x: s.value.left + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX - 7,
|
|
895
889
|
y: l.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -897,7 +891,7 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
897
891
|
"text-anchor": "end",
|
|
898
892
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
899
893
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
900
|
-
},
|
|
894
|
+
}, k(c(Il)(l.value) ? c(Te)(
|
|
901
895
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
902
896
|
l.value,
|
|
903
897
|
c(ve)({
|
|
@@ -906,59 +900,59 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
906
900
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
907
901
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
908
902
|
}),
|
|
909
|
-
{ datapoint: l, seriesIndex:
|
|
910
|
-
) : ""), 9,
|
|
903
|
+
{ datapoint: l, seriesIndex: r }
|
|
904
|
+
) : ""), 9, wo)) : d("", !0)
|
|
911
905
|
]))), 256))
|
|
912
906
|
], 2)) : d("", !0),
|
|
913
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (
|
|
907
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (u(), n("g", {
|
|
914
908
|
key: 3,
|
|
915
909
|
ref_key: "timeLabelsEls",
|
|
916
|
-
ref:
|
|
917
|
-
class:
|
|
910
|
+
ref: oe,
|
|
911
|
+
class: z({ "donut-opacity": !0 })
|
|
918
912
|
}, [
|
|
919
|
-
(
|
|
920
|
-
(e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (
|
|
921
|
-
String(
|
|
922
|
-
`) ? (
|
|
913
|
+
(u(!0), n(L, null, _(h.value.end - h.value.start, (l, r) => (u(), n("g", null, [
|
|
914
|
+
(e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === F.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast) && D.value[r] && D.value[r].text ? (u(), n("g", Do, [
|
|
915
|
+
String(D.value[r].text).includes(`
|
|
916
|
+
`) ? (u(), n("text", {
|
|
923
917
|
key: 1,
|
|
924
918
|
class: "vue-data-ui-time-label",
|
|
925
919
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
926
920
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
927
921
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
928
|
-
transform: `translate(${s.value.left + w.value *
|
|
929
|
-
innerHTML: c(
|
|
930
|
-
content: String(
|
|
922
|
+
transform: `translate(${s.value.left + w.value * r + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`,
|
|
923
|
+
innerHTML: c(Ol)({
|
|
924
|
+
content: String(D.value[r].text),
|
|
931
925
|
fontSize: e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
932
926
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
933
927
|
x: 0,
|
|
934
928
|
y: 0
|
|
935
929
|
})
|
|
936
|
-
}, null, 8,
|
|
930
|
+
}, null, 8, _o)) : (u(), n("text", {
|
|
937
931
|
key: 0,
|
|
938
932
|
class: "vue-data-ui-time-label",
|
|
939
933
|
"text-anchor": e.value.style.chart.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.chart.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
|
|
940
934
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
941
935
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
942
|
-
transform: `translate(${s.value.left + w.value *
|
|
943
|
-
},
|
|
936
|
+
transform: `translate(${s.value.left + w.value * r + w.value / 2}, ${s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize + e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
937
|
+
}, k(D.value[r].text || ""), 9, Lo))
|
|
944
938
|
])) : d("", !0)
|
|
945
939
|
]))), 256))
|
|
946
940
|
], 512)) : d("", !0),
|
|
947
|
-
(
|
|
948
|
-
e.value.style.chart.layout.line.show &&
|
|
941
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", null, [
|
|
942
|
+
e.value.style.chart.layout.line.show && r < S.value.length - 1 && ![l.subtotal, S.value[r + 1].subtotal].includes(null) ? (u(), n("line", {
|
|
949
943
|
key: 0,
|
|
950
|
-
class:
|
|
944
|
+
class: z({ "donut-opacity": !0, "donut-behind": b.value !== null }),
|
|
951
945
|
x1: l.x,
|
|
952
946
|
y1: l.y,
|
|
953
|
-
x2:
|
|
954
|
-
y2:
|
|
947
|
+
x2: S.value[r + 1].x,
|
|
948
|
+
y2: S.value[r + 1].y,
|
|
955
949
|
stroke: e.value.style.chart.layout.line.stroke,
|
|
956
950
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
957
951
|
"stroke-linecap": "round",
|
|
958
952
|
"stroke-linejoin": "round"
|
|
959
|
-
}, null, 10,
|
|
960
|
-
l.subtotal !== null ? (
|
|
961
|
-
l.subtotal ? (
|
|
953
|
+
}, null, 10, So)) : d("", !0),
|
|
954
|
+
l.subtotal !== null ? (u(), n("g", Fo, [
|
|
955
|
+
l.subtotal ? (u(), n("circle", {
|
|
962
956
|
key: 0,
|
|
963
957
|
cx: l.x,
|
|
964
958
|
cy: l.y,
|
|
@@ -967,76 +961,76 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
967
961
|
}, null, 8, Bo)) : d("", !0)
|
|
968
962
|
])) : d("", !0)
|
|
969
963
|
]))), 256)),
|
|
970
|
-
(
|
|
971
|
-
class:
|
|
964
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
|
|
965
|
+
class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null })
|
|
972
966
|
}, [
|
|
973
|
-
l.subtotal ? (
|
|
974
|
-
b.value !== null && b.value ===
|
|
975
|
-
(
|
|
976
|
-
|
|
967
|
+
l.subtotal ? (u(), n("g", Eo, [
|
|
968
|
+
b.value !== null && b.value === r ? (u(), n("g", $o, [
|
|
969
|
+
(u(!0), n(L, null, _(l.donutHover, (a) => (u(), n("g", null, [
|
|
970
|
+
yt(a) ? (u(), n("path", {
|
|
977
971
|
key: 0,
|
|
978
|
-
d: c(
|
|
972
|
+
d: c(Pl)(a, { x: a.center.endX, y: a.center.endY }, 12, 12, { x: l.x, y: l.y }, !1, 20),
|
|
979
973
|
stroke: a.color,
|
|
980
974
|
"stroke-width": "1",
|
|
981
975
|
"stroke-linecap": "round",
|
|
982
976
|
"stroke-linejoin": "round",
|
|
983
977
|
fill: "none"
|
|
984
|
-
}, null, 8,
|
|
978
|
+
}, null, 8, zo)) : d("", !0)
|
|
985
979
|
]))), 256)),
|
|
986
|
-
(
|
|
987
|
-
|
|
980
|
+
(u(!0), n(L, null, _(l.donutHover, (a, f) => (u(), n("g", null, [
|
|
981
|
+
yt(a) ? (u(), n("text", {
|
|
988
982
|
key: 0,
|
|
989
983
|
"data-cy-hover-label": "",
|
|
990
984
|
"text-anchor": c(St)(a, !0, 0).anchor,
|
|
991
985
|
x: c(St)(a, !0, 9).x,
|
|
992
|
-
y: c(
|
|
986
|
+
y: c(Nl)(a, 14, 10),
|
|
993
987
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
994
988
|
"font-size": 8,
|
|
995
989
|
"font-weight": "bold"
|
|
996
|
-
},
|
|
990
|
+
}, k(a.name) + ": " + k(al(a, l.donut)) + " (" + k(a.value === null ? "-" : it(a.value, a, f)) + ") ", 9, To)) : d("", !0)
|
|
997
991
|
]))), 256)),
|
|
998
|
-
|
|
999
|
-
|
|
992
|
+
m("g", null, [
|
|
993
|
+
m("circle", {
|
|
1000
994
|
cx: l.x,
|
|
1001
995
|
cy: l.y,
|
|
1002
996
|
r: l.hoverRadius,
|
|
1003
997
|
fill: e.value.style.chart.backgroundColor
|
|
1004
|
-
}, null, 8,
|
|
998
|
+
}, null, 8, Io)
|
|
1005
999
|
])
|
|
1006
1000
|
])) : d("", !0)
|
|
1007
1001
|
])) : d("", !0)
|
|
1008
1002
|
], 2))), 256)),
|
|
1009
|
-
(
|
|
1010
|
-
class:
|
|
1003
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
|
|
1004
|
+
class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null })
|
|
1011
1005
|
}, [
|
|
1012
|
-
l.subtotal !== null ? (
|
|
1013
|
-
l.subtotal === 0 ? (
|
|
1006
|
+
l.subtotal !== null ? (u(), n("g", Oo, [
|
|
1007
|
+
l.subtotal === 0 ? (u(), n("circle", {
|
|
1014
1008
|
key: 0,
|
|
1015
1009
|
cx: l.x,
|
|
1016
1010
|
cy: l.y,
|
|
1017
1011
|
r: 3,
|
|
1018
1012
|
fill: e.value.style.chart.color
|
|
1019
|
-
}, null, 8,
|
|
1020
|
-
(
|
|
1013
|
+
}, null, 8, Po)) : b.value !== null && b.value === r ? (u(), n("g", No, [
|
|
1014
|
+
(u(!0), n(L, null, _(l.donutHover, (a, f) => (u(), n("path", {
|
|
1021
1015
|
d: a.arcSlice,
|
|
1022
1016
|
fill: `${a.color}`,
|
|
1023
1017
|
"stroke-width": 1,
|
|
1024
1018
|
stroke: e.value.style.chart.backgroundColor
|
|
1025
|
-
}, null, 8,
|
|
1026
|
-
])) : (
|
|
1027
|
-
(
|
|
1019
|
+
}, null, 8, Ro))), 256))
|
|
1020
|
+
])) : (u(), n("g", Vo, [
|
|
1021
|
+
(u(!0), n(L, null, _(l.donut, (a, f) => (u(), n("path", {
|
|
1028
1022
|
d: a.arcSlice,
|
|
1029
1023
|
fill: `${a.color}`,
|
|
1030
1024
|
"stroke-width": 0.5,
|
|
1031
1025
|
stroke: e.value.style.chart.backgroundColor
|
|
1032
|
-
}, null, 8,
|
|
1026
|
+
}, null, 8, Mo))), 256))
|
|
1033
1027
|
]))
|
|
1034
1028
|
])) : d("", !0)
|
|
1035
1029
|
], 2))), 256)),
|
|
1036
|
-
(
|
|
1037
|
-
class:
|
|
1030
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("g", {
|
|
1031
|
+
class: z({ "donut-opacity": !0, "donut-behind": r !== b.value && b.value !== null || he.value && r !== V.value.index })
|
|
1038
1032
|
}, [
|
|
1039
|
-
l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (
|
|
1033
|
+
l.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (u(), n("text", {
|
|
1040
1034
|
key: 0,
|
|
1041
1035
|
"text-anchor": "middle",
|
|
1042
1036
|
x: l.x,
|
|
@@ -1044,43 +1038,43 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1044
1038
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
1045
1039
|
"font-weight": "bold",
|
|
1046
1040
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
1047
|
-
},
|
|
1041
|
+
}, k(it(l.subtotal, l, r)), 9, Uo)) : d("", !0)
|
|
1048
1042
|
], 2))), 256)),
|
|
1049
|
-
(
|
|
1050
|
-
x: s.value.left +
|
|
1043
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("rect", {
|
|
1044
|
+
x: s.value.left + r * w.value,
|
|
1051
1045
|
y: s.value.top,
|
|
1052
1046
|
width: w.value,
|
|
1053
1047
|
height: s.value.height,
|
|
1054
|
-
fill: [b.value,
|
|
1055
|
-
class:
|
|
1048
|
+
fill: [b.value, q.value].includes(l.index) ? `url(#hover_${E.value})` : "transparent",
|
|
1049
|
+
class: z({ "donut-hover": l.subtotal && [b.value, q.value].includes(l.index) }),
|
|
1056
1050
|
style: {
|
|
1057
1051
|
pointerEvents: "none"
|
|
1058
1052
|
}
|
|
1059
|
-
}, null, 10,
|
|
1060
|
-
(
|
|
1053
|
+
}, null, 10, Ho))), 256)),
|
|
1054
|
+
(u(!0), n(L, null, _(S.value, (l, r) => (u(), n("rect", {
|
|
1061
1055
|
"data-cy-trap": "",
|
|
1062
|
-
x: s.value.left +
|
|
1056
|
+
x: s.value.left + r * w.value,
|
|
1063
1057
|
y: s.value.top,
|
|
1064
1058
|
width: w.value,
|
|
1065
1059
|
height: s.value.height,
|
|
1066
1060
|
fill: "transparent",
|
|
1067
|
-
onMouseenter: (a) =>
|
|
1068
|
-
onMouseleave: (a) =>
|
|
1069
|
-
onClick: (a) =>
|
|
1070
|
-
class:
|
|
1071
|
-
}, null, 42,
|
|
1072
|
-
|
|
1073
|
-
], 14,
|
|
1074
|
-
t.$slots.watermark ? (
|
|
1075
|
-
|
|
1061
|
+
onMouseenter: (a) => rl(l),
|
|
1062
|
+
onMouseleave: (a) => ct(l),
|
|
1063
|
+
onClick: (a) => dt(l, r),
|
|
1064
|
+
class: z({ "donut-hover": b.value === l.index && l.subtotal })
|
|
1065
|
+
}, null, 42, Xo))), 256)),
|
|
1066
|
+
A(t.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
1067
|
+
], 14, uo)),
|
|
1068
|
+
t.$slots.watermark ? (u(), n("div", Wo, [
|
|
1069
|
+
A(t.$slots, "watermark", T(I({ isPrinting: c(ot) || c(at) })), void 0, !0)
|
|
1076
1070
|
])) : d("", !0),
|
|
1077
|
-
|
|
1071
|
+
m("div", {
|
|
1078
1072
|
ref_key: "chartSlicer",
|
|
1079
1073
|
ref: Ge,
|
|
1080
|
-
style:
|
|
1074
|
+
style: ee(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
1081
1075
|
"data-dom-to-png-ignore": ""
|
|
1082
1076
|
}, [
|
|
1083
|
-
F.value > 1 && e.value.style.chart.zoom.show ? (
|
|
1077
|
+
F.value > 1 && e.value.style.chart.zoom.show ? (u(), B(lo, {
|
|
1084
1078
|
ref_key: "slicerComponent",
|
|
1085
1079
|
ref: je,
|
|
1086
1080
|
key: `slicer_${Ne.value}`,
|
|
@@ -1088,8 +1082,8 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1088
1082
|
borderColor: e.value.style.chart.backgroundColor,
|
|
1089
1083
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
1090
1084
|
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
1091
|
-
labelLeft:
|
|
1092
|
-
labelRight:
|
|
1085
|
+
labelLeft: D.value[0] ? D.value[0].text : "",
|
|
1086
|
+
labelRight: D.value.at(-1) ? D.value.at(-1).text : "",
|
|
1093
1087
|
textColor: e.value.style.chart.color,
|
|
1094
1088
|
inputColor: e.value.style.chart.zoom.color,
|
|
1095
1089
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
@@ -1110,69 +1104,69 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1110
1104
|
onReset: et
|
|
1111
1105
|
}, {
|
|
1112
1106
|
"reset-action": y(({ reset: l }) => [
|
|
1113
|
-
|
|
1107
|
+
A(t.$slots, "reset-action", T(I({ reset: l })), void 0, !0)
|
|
1114
1108
|
]),
|
|
1115
1109
|
_: 3
|
|
1116
1110
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "focusOnDrag", "focusRangeRatio"])) : d("", !0)
|
|
1117
1111
|
], 4),
|
|
1118
|
-
|
|
1119
|
-
id: `legend-bottom-${
|
|
1120
|
-
}, null, 8,
|
|
1121
|
-
Ue.value ? (
|
|
1112
|
+
m("div", {
|
|
1113
|
+
id: `legend-bottom-${E.value}`
|
|
1114
|
+
}, null, 8, jo),
|
|
1115
|
+
Ue.value ? (u(), B(Dl, {
|
|
1122
1116
|
key: 5,
|
|
1123
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1117
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
|
|
1124
1118
|
}, [
|
|
1125
|
-
|
|
1119
|
+
m("div", {
|
|
1126
1120
|
ref_key: "chartLegend",
|
|
1127
1121
|
ref: Xe
|
|
1128
1122
|
}, [
|
|
1129
|
-
e.value.style.chart.legend.show ? (
|
|
1123
|
+
e.value.style.chart.legend.show ? (u(), B(to, {
|
|
1130
1124
|
key: `legend_${Me.value}`,
|
|
1131
|
-
legendSet:
|
|
1132
|
-
config:
|
|
1133
|
-
onClickMarker: o[2] || (o[2] = ({ legend: l }) =>
|
|
1125
|
+
legendSet: Le.value,
|
|
1126
|
+
config: ul.value,
|
|
1127
|
+
onClickMarker: o[2] || (o[2] = ({ legend: l }) => J(l.uid))
|
|
1134
1128
|
}, {
|
|
1135
|
-
item: y(({ legend: l, index:
|
|
1136
|
-
|
|
1137
|
-
onClick: (a) =>
|
|
1138
|
-
style:
|
|
1139
|
-
},
|
|
1129
|
+
item: y(({ legend: l, index: r }) => [
|
|
1130
|
+
m("div", {
|
|
1131
|
+
onClick: (a) => J(l.uid),
|
|
1132
|
+
style: ee(`opacity:${x.value.includes(l.uid) ? 0.5 : 1}`)
|
|
1133
|
+
}, k(l.display), 13, Go)
|
|
1140
1134
|
]),
|
|
1141
1135
|
_: 1
|
|
1142
1136
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
1143
|
-
|
|
1137
|
+
A(t.$slots, "legend", { legend: Le.value }, void 0, !0)
|
|
1144
1138
|
], 512)
|
|
1145
1139
|
], 8, ["to"])) : d("", !0),
|
|
1146
|
-
t.$slots.source ? (
|
|
1140
|
+
t.$slots.source ? (u(), n("div", {
|
|
1147
1141
|
key: 6,
|
|
1148
1142
|
ref_key: "source",
|
|
1149
1143
|
ref: We,
|
|
1150
1144
|
dir: "auto"
|
|
1151
1145
|
}, [
|
|
1152
|
-
|
|
1146
|
+
A(t.$slots, "source", {}, void 0, !0)
|
|
1153
1147
|
], 512)) : d("", !0),
|
|
1154
|
-
Je.value && e.value.userOptions.buttons.table ? (
|
|
1148
|
+
Je.value && e.value.userOptions.buttons.table ? (u(), B(Ll(K.value.component), _l({ key: 7 }, K.value.props, {
|
|
1155
1149
|
ref_key: "tableUnit",
|
|
1156
|
-
ref:
|
|
1157
|
-
onClose:
|
|
1158
|
-
}),
|
|
1150
|
+
ref: j,
|
|
1151
|
+
onClose: mt
|
|
1152
|
+
}), xt({
|
|
1159
1153
|
content: y(() => [
|
|
1160
|
-
(
|
|
1154
|
+
(u(), B(c(Ht), {
|
|
1161
1155
|
key: `table_${Ve.value}`,
|
|
1162
|
-
colNames:
|
|
1163
|
-
head:
|
|
1164
|
-
body:
|
|
1165
|
-
config:
|
|
1166
|
-
title: e.value.table.useDialog ? "" :
|
|
1156
|
+
colNames: W.value.colNames,
|
|
1157
|
+
head: W.value.head,
|
|
1158
|
+
body: W.value.body,
|
|
1159
|
+
config: W.value.config,
|
|
1160
|
+
title: e.value.table.useDialog ? "" : K.value.title,
|
|
1167
1161
|
withCloseButton: !e.value.table.useDialog,
|
|
1168
|
-
onClose:
|
|
1162
|
+
onClose: mt
|
|
1169
1163
|
}, {
|
|
1170
1164
|
th: y(({ th: l }) => [
|
|
1171
|
-
Ee(
|
|
1165
|
+
Ee(k(l.name ?? l), 1)
|
|
1172
1166
|
]),
|
|
1173
1167
|
td: y(({ td: l }) => [
|
|
1174
|
-
l.value === null ? (
|
|
1175
|
-
|
|
1168
|
+
l.value === null ? (u(), n("span", Yo, "-")) : (u(), n("b", qo, k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + k(!isNaN(l.value) && l.value !== null ? Number(l.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : l) + k(isNaN(l.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
1169
|
+
m("span", null, k(l.percentage && !isNaN(l.percentage) ? `(${Number(l.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
1176
1170
|
]),
|
|
1177
1171
|
_: 1
|
|
1178
1172
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1182,62 +1176,62 @@ const Et = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1182
1176
|
e.value.table.useDialog ? {
|
|
1183
1177
|
name: "title",
|
|
1184
1178
|
fn: y(() => [
|
|
1185
|
-
Ee(
|
|
1179
|
+
Ee(k(K.value.title), 1)
|
|
1186
1180
|
]),
|
|
1187
1181
|
key: "0"
|
|
1188
1182
|
} : void 0,
|
|
1189
1183
|
e.value.table.useDialog ? {
|
|
1190
1184
|
name: "actions",
|
|
1191
1185
|
fn: y(() => [
|
|
1192
|
-
|
|
1186
|
+
m("button", {
|
|
1193
1187
|
tabindex: "0",
|
|
1194
1188
|
class: "vue-ui-user-options-button",
|
|
1195
1189
|
onClick: o[3] || (o[3] = (l) => _e(e.value.userOptions.callbacks.csv))
|
|
1196
1190
|
}, [
|
|
1197
|
-
|
|
1191
|
+
kt(c(Ut), {
|
|
1198
1192
|
name: "excel",
|
|
1199
|
-
stroke:
|
|
1193
|
+
stroke: K.value.props.color
|
|
1200
1194
|
}, null, 8, ["stroke"])
|
|
1201
1195
|
])
|
|
1202
1196
|
]),
|
|
1203
1197
|
key: "1"
|
|
1204
1198
|
} : void 0
|
|
1205
1199
|
]), 1040)) : d("", !0),
|
|
1206
|
-
e.value.style.chart.dialog.show ? (
|
|
1200
|
+
e.value.style.chart.dialog.show ? (u(), B(c(Oe), {
|
|
1207
1201
|
key: 8,
|
|
1208
1202
|
ref_key: "dialog",
|
|
1209
|
-
ref:
|
|
1203
|
+
ref: Fe,
|
|
1210
1204
|
onClose: o[4] || (o[4] = (l) => {
|
|
1211
|
-
|
|
1205
|
+
V.value = null, he.value = !1, le.value = null, b.value = null, q.value = null;
|
|
1212
1206
|
}),
|
|
1213
1207
|
backgroundColor: e.value.style.chart.dialog.backgroundColor,
|
|
1214
1208
|
color: e.value.style.chart.dialog.color,
|
|
1215
1209
|
headerBg: e.value.style.chart.dialog.header.backgroundColor,
|
|
1216
1210
|
headerColor: e.value.style.chart.dialog.header.color,
|
|
1217
|
-
isFullscreen:
|
|
1218
|
-
fullscreenParent:
|
|
1211
|
+
isFullscreen: H.value,
|
|
1212
|
+
fullscreenParent: O.value
|
|
1219
1213
|
}, {
|
|
1220
1214
|
title: y(() => [
|
|
1221
|
-
Ee(
|
|
1215
|
+
Ee(k(D.value[Number(V.value.index)] ? D.value[Number(V.value.index)].text : ""), 1)
|
|
1222
1216
|
]),
|
|
1223
1217
|
content: y(() => [
|
|
1224
|
-
|
|
1218
|
+
V.value ? (u(), B(c(Gt), {
|
|
1225
1219
|
key: 0,
|
|
1226
|
-
config:
|
|
1227
|
-
dataset:
|
|
1220
|
+
config: Ct.value,
|
|
1221
|
+
dataset: bt.value
|
|
1228
1222
|
}, null, 8, ["config", "dataset"])) : d("", !0)
|
|
1229
1223
|
]),
|
|
1230
1224
|
_: 1
|
|
1231
1225
|
}, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : d("", !0),
|
|
1232
|
-
c(Qe) ? (
|
|
1233
|
-
], 46,
|
|
1226
|
+
c(Qe) ? (u(), B(jl, { key: 9 })) : d("", !0)
|
|
1227
|
+
], 46, ao));
|
|
1234
1228
|
}
|
|
1235
|
-
},
|
|
1229
|
+
}, Ko = /* @__PURE__ */ oo(Jo, [["__scopeId", "data-v-e8783857"]]), ya = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1236
1230
|
__proto__: null,
|
|
1237
|
-
default:
|
|
1231
|
+
default: Ko
|
|
1238
1232
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1239
1233
|
export {
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1234
|
+
fa as a,
|
|
1235
|
+
ya as b,
|
|
1236
|
+
Ko as v
|
|
1243
1237
|
};
|