vue-data-ui 2.3.84 → 2.3.86
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-CQ1ubni5.js → Arrow-CJ7hmWgf.js} +1 -1
- package/dist/{Arrow-Uk_vwKtL.cjs → Arrow-CebZn6E4.cjs} +1 -1
- package/dist/{BaseIcon-B9ZZ6wkT.js → BaseIcon-B9istAKo.js} +1 -1
- package/dist/{BaseIcon-CF1HQdM0.cjs → BaseIcon-DnG75_Ol.cjs} +1 -1
- package/dist/{DataTable-CEtr89Og.cjs → DataTable-BA_BCbHC.cjs} +1 -1
- package/dist/{DataTable-C-iU_7h7.js → DataTable-tSDSY14n.js} +2 -2
- package/dist/{Legend-D2ZBCCXe.cjs → Legend-BOY57qwA.cjs} +1 -1
- package/dist/{Legend-pU_BwhaW.js → Legend-D3hovFqM.js} +1 -1
- package/dist/{Shape-BO_KyCq8.cjs → Shape-D6jrLLku.cjs} +1 -1
- package/dist/{Shape-CyM44biU.js → Shape-XiTBfhJM.js} +1 -1
- package/dist/{Slicer-CZobytqL.js → Slicer-BMvzmCKt.js} +2 -2
- package/dist/{Slicer-BAMZ4wsl.cjs → Slicer-sZ-DArc4.cjs} +1 -1
- package/dist/{Title-B1_d29Eh.cjs → Title-Ahj4TYHa.cjs} +1 -1
- package/dist/{Title-Bk3h09h9.js → Title-DJ2FNrSN.js} +1 -1
- package/dist/{Tooltip-CdB80DsD.js → Tooltip-CQpXRqRC.js} +1 -1
- package/dist/{Tooltip-BU4cSEF0.cjs → Tooltip-XhevgJmm.cjs} +1 -1
- package/dist/index-CVgBMJU6.cjs +4 -0
- package/dist/{index-DI4DaxVG.js → index-D2epy0rJ.js} +4 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-BdsfyHWU.cjs → useNestedProp-B-NmF2LO.cjs} +1 -1
- package/dist/{useNestedProp-COsQo-tX.js → useNestedProp-C_ZrJBd9.js} +1 -1
- package/dist/usePrinter-B6qtXaHk.js +527 -0
- package/dist/usePrinter-DN-6Hoh5.cjs +1 -0
- package/dist/{vue-data-ui-kGaLyV0o.cjs → vue-data-ui-DlNasA0G.cjs} +1 -1
- package/dist/{vue-data-ui-9nofTL7J.js → vue-data-ui-vegY0BJm.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-CqRRjlUU.cjs +19 -0
- package/dist/{vue-ui-3d-bar-lKgwKkVj.js → vue-ui-3d-bar-D-0SSMOt.js} +165 -164
- package/dist/{vue-ui-accordion-C8ka_Ot0.cjs → vue-ui-accordion-BaV9R6cy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DsN9lxvc.js → vue-ui-accordion-DzTB2FL0.js} +3 -3
- package/dist/vue-ui-age-pyramid-Bx4BuL3K.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-D2lSXDX6.js → vue-ui-age-pyramid-_eo2DGen.js} +68 -67
- package/dist/{vue-ui-annotator-DoLG0N5e.js → vue-ui-annotator-8j2dJ0CU.js} +1 -1
- package/dist/{vue-ui-annotator-DmfAqbqB.cjs → vue-ui-annotator-CDZtr6tp.cjs} +1 -1
- package/dist/{vue-ui-candlestick-vhHV9d6O.js → vue-ui-candlestick-CsF7OSvJ.js} +83 -82
- package/dist/vue-ui-candlestick-NypxP0Uu.cjs +2 -0
- package/dist/{vue-ui-carousel-table-BmyArloA.js → vue-ui-carousel-table-CMHd2i-6.js} +7 -7
- package/dist/{vue-ui-carousel-table-DaQV2SlJ.cjs → vue-ui-carousel-table-CV0eVeRd.cjs} +1 -1
- package/dist/{vue-ui-chestnut-DvNW2Y0z.cjs → vue-ui-chestnut-B9miwyAN.cjs} +2 -2
- package/dist/{vue-ui-chestnut-DgbbDtL0.js → vue-ui-chestnut-CVftKftk.js} +11 -10
- package/dist/{vue-ui-cursor-zXDNHCZv.cjs → vue-ui-cursor-Bsrt107X.cjs} +1 -1
- package/dist/{vue-ui-cursor-7-jKCnOY.js → vue-ui-cursor-wujy8n_T.js} +2 -2
- package/dist/{vue-ui-dashboard-DMossMh1.cjs → vue-ui-dashboard-BCN0BhjL.cjs} +1 -1
- package/dist/{vue-ui-dashboard-B_pnIQ5P.js → vue-ui-dashboard-Cvy0gI52.js} +2 -2
- package/dist/{vue-ui-digits-BL8Vyod-.cjs → vue-ui-digits-CnHgzHPI.cjs} +1 -1
- package/dist/{vue-ui-digits-C-lpZ-rg.js → vue-ui-digits-J-WrKKHg.js} +2 -2
- package/dist/{vue-ui-donut-e-p-l-_7.js → vue-ui-donut-BOhWcHY_.js} +91 -90
- package/dist/vue-ui-donut-CZ1iKZq6.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Ol1YS2OF.js → vue-ui-donut-evolution-CSSYuoti.js} +83 -82
- package/dist/vue-ui-donut-evolution-DuY2883r.cjs +1 -0
- package/dist/{vue-ui-dumbbell-BjTXdj83.js → vue-ui-dumbbell-Cm0Rp_6W.js} +23 -22
- package/dist/{vue-ui-dumbbell-CMFNfda1.cjs → vue-ui-dumbbell-i9QcsSVO.cjs} +2 -2
- package/dist/{vue-ui-flow-B4mdXrld.js → vue-ui-flow-0m7a1NP7.js} +54 -53
- package/dist/vue-ui-flow-DXCBGdQT.cjs +1 -0
- package/dist/vue-ui-galaxy-D6GyjAnX.cjs +1 -0
- package/dist/{vue-ui-galaxy-Eg1e5SG7.js → vue-ui-galaxy-DCHEdZAl.js} +87 -86
- package/dist/{vue-ui-gauge-BTt63SCn.js → vue-ui-gauge-HcM2JJpg.js} +78 -77
- package/dist/vue-ui-gauge-wbHQGQro.cjs +1 -0
- package/dist/{vue-ui-gizmo-bFlUFJa8.cjs → vue-ui-gizmo-B-zMyi1m.cjs} +1 -1
- package/dist/{vue-ui-gizmo-C0aF0qVF.js → vue-ui-gizmo-Bfo_nUnZ.js} +2 -2
- package/dist/{vue-ui-heatmap-kiVWYvjC.js → vue-ui-heatmap-CxIHmv0t.js} +170 -169
- package/dist/vue-ui-heatmap-Du2vI5Ae.cjs +1 -0
- package/dist/{vue-ui-kpi-qw5ofS-z.cjs → vue-ui-kpi-BOe7-M9V.cjs} +1 -1
- package/dist/{vue-ui-kpi-DdtZLwfi.js → vue-ui-kpi-DibULfkp.js} +3 -3
- package/dist/{vue-ui-mini-loader-B8YrB3X-.cjs → vue-ui-mini-loader-Bv7l-Kx3.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DcL5v-Tv.js → vue-ui-mini-loader-qFRhERid.js} +2 -2
- package/dist/{vue-ui-molecule-BpomHzqe.js → vue-ui-molecule-4cIGPnWg.js} +282 -278
- package/dist/vue-ui-molecule-eOj3ZjvT.cjs +1 -0
- package/dist/{vue-ui-mood-radar-BV9xC9xF.js → vue-ui-mood-radar-BTe21WKk.js} +144 -143
- package/dist/vue-ui-mood-radar-tUFqqekd.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-D7D20nJu.js → vue-ui-nested-donuts-BVzabOga.js} +65 -64
- package/dist/vue-ui-nested-donuts-BigBLrFR.cjs +17 -0
- package/dist/{vue-ui-onion-4wR10l5H.js → vue-ui-onion-C3TAKqro.js} +90 -89
- package/dist/vue-ui-onion-_ZC3vbIS.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BiXGkfj7.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-DA3byJV2.js → vue-ui-parallel-coordinate-plot-CKoCQXqj.js} +40 -39
- package/dist/vue-ui-quadrant-B67wGTic.cjs +1 -0
- package/dist/{vue-ui-quadrant-D5wvd5h3.js → vue-ui-quadrant-CKnyfJoi.js} +51 -50
- package/dist/vue-ui-quick-chart-DEjdx0AB.cjs +15 -0
- package/dist/{vue-ui-quick-chart-CTSq5JJE.js → vue-ui-quick-chart-DZDYYnsI.js} +63 -62
- package/dist/vue-ui-radar-Cm_QkYGb.cjs +1 -0
- package/dist/{vue-ui-radar-OW6awckj.js → vue-ui-radar-v9yayJxu.js} +44 -43
- package/dist/{vue-ui-rating-C6gyJWJF.js → vue-ui-rating-Cc_N7qbe.js} +2 -2
- package/dist/{vue-ui-rating-3ZVG38br.cjs → vue-ui-rating-DV4cCZbB.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Dr9-ozKG.js → vue-ui-relation-circle-Clqo4kkb.js} +74 -73
- package/dist/vue-ui-relation-circle-DcpIVbI6.cjs +1 -0
- package/dist/{vue-ui-rings-Ce6tFKrN.js → vue-ui-rings-D27xNq9q.js} +78 -77
- package/dist/vue-ui-rings-DTn3t8Ku.cjs +2 -0
- package/dist/{vue-ui-scatter-C_3WQPMf.js → vue-ui-scatter-C07Mon-6.js} +53 -52
- package/dist/vue-ui-scatter-CXbrqLFm.cjs +1 -0
- package/dist/{vue-ui-screenshot-BvE2dsvU.js → vue-ui-screenshot-CsxqbqlJ.js} +1 -1
- package/dist/{vue-ui-screenshot-D6N4GbAL.cjs → vue-ui-screenshot-D8TAvQYN.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DH4t1hrL.js → vue-ui-skeleton-BLiYyX95.js} +2 -2
- package/dist/{vue-ui-skeleton-CkSlhfsB.cjs → vue-ui-skeleton-Br1K3exH.cjs} +1 -1
- package/dist/{vue-ui-smiley-C-92SyPZ.js → vue-ui-smiley-BUHatT3Z.js} +2 -2
- package/dist/{vue-ui-smiley-CSA28QLT.cjs → vue-ui-smiley-CR_TkSYT.cjs} +1 -1
- package/dist/vue-ui-spark-trend-CnUz6s1m.cjs +1 -0
- package/dist/{vue-ui-spark-trend-CrElvUcG.js → vue-ui-spark-trend-GY2CfYRt.js} +29 -29
- package/dist/vue-ui-sparkbar-DaFwUA6Z.cjs +1 -0
- package/dist/{vue-ui-sparkbar-DrbkUcOX.js → vue-ui-sparkbar-tdgek1gv.js} +27 -27
- package/dist/{vue-ui-sparkgauge-PSRf_u0V.js → vue-ui-sparkgauge-1zu5KmTA.js} +22 -22
- package/dist/vue-ui-sparkgauge-D8P01Hem.cjs +1 -0
- package/dist/{vue-ui-sparkhistogram-pZslBri7.js → vue-ui-sparkhistogram-b68QStxA.js} +52 -52
- package/dist/vue-ui-sparkhistogram-mg6yuwLH.cjs +1 -0
- package/dist/{vue-ui-sparkline-CqgArzCs.cjs → vue-ui-sparkline-CAqav9Gn.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BPExupWx.js → vue-ui-sparkline-CMmtp8MK.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-i02y9FzO.js → vue-ui-sparkstackbar-Cz8tOM3m.js} +6 -6
- package/dist/vue-ui-sparkstackbar-DOrquZvw.cjs +1 -0
- package/dist/vue-ui-stackbar-DUa5F_Zl.cjs +6 -0
- package/dist/{vue-ui-stackbar-DfXxN_P3.js → vue-ui-stackbar-DeQkP1dj.js} +64 -63
- package/dist/vue-ui-strip-plot-KNL9ToYG.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BZ-we0b1.js → vue-ui-strip-plot-vqOCzdFV.js} +73 -72
- package/dist/{vue-ui-table-Dy26T2oy.cjs → vue-ui-table-BCdHNku5.cjs} +1 -1
- package/dist/{vue-ui-table-BqLbMTHt.js → vue-ui-table-DDdVqdHt.js} +1 -1
- package/dist/vue-ui-table-heatmap-BJDnZMZN.cjs +1 -0
- package/dist/{vue-ui-table-heatmap-KzoqT8nX.js → vue-ui-table-heatmap-DQg_jtYq.js} +27 -26
- package/dist/{vue-ui-table-sparkline-BakiSjV4.js → vue-ui-table-sparkline-Bg-VFq7X.js} +25 -24
- package/dist/{vue-ui-table-sparkline-BBEsDDnN.cjs → vue-ui-table-sparkline-D8DJxb5J.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D7cgRJoy.js → vue-ui-thermometer-CajBbbYc.js} +60 -59
- package/dist/vue-ui-thermometer-eYM8DX7u.cjs +1 -0
- package/dist/{vue-ui-timer-r4VFny9D.js → vue-ui-timer-D3VRVK-8.js} +4 -4
- package/dist/{vue-ui-timer-COLXZ1J1.cjs → vue-ui-timer-RclP4Tql.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-DNQpuz8A.js → vue-ui-tiremarks-BT0k_3xi.js} +93 -92
- package/dist/vue-ui-tiremarks-Bc8bBBAw.cjs +1 -0
- package/dist/{vue-ui-treemap-CsHaQjwu.cjs → vue-ui-treemap-BjWDt2b2.cjs} +1 -1
- package/dist/{vue-ui-treemap-CD5GoXrU.js → vue-ui-treemap-DMhe3zCm.js} +14 -13
- package/dist/vue-ui-vertical-bar-DWzafNBH.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-DRH98pOw.js → vue-ui-vertical-bar-hH9R9V-K.js} +180 -179
- package/dist/vue-ui-waffle-BvYE9hAY.cjs +1 -0
- package/dist/{vue-ui-waffle-l9NGD_0B.js → vue-ui-waffle-DnNd6Iba.js} +85 -84
- package/dist/{vue-ui-wheel-BpqWo_KY.js → vue-ui-wheel-Bx9_m-7W.js} +72 -71
- package/dist/vue-ui-wheel-CVBmY6h7.cjs +1 -0
- package/dist/vue-ui-word-cloud-3R-mYkIW.cjs +1 -0
- package/dist/{vue-ui-word-cloud-DLaAm8t8.js → vue-ui-word-cloud-DUk0Xt8q.js} +109 -108
- package/dist/{vue-ui-xy-Ct-9OxiZ.js → vue-ui-xy-FtaqoNK8.js} +401 -405
- package/dist/{vue-ui-xy-canvas-BU3nj2M1.js → vue-ui-xy-canvas-Bp4PTl_E.js} +54 -53
- package/dist/{vue-ui-xy-canvas-Bub1qCm9.cjs → vue-ui-xy-canvas-Ctw_3PzN.cjs} +2 -2
- package/dist/vue-ui-xy-rX-aml0b.cjs +3 -0
- package/package.json +1 -1
- package/dist/index-Cx-40Fnz.cjs +0 -4
- package/dist/usePrinter-D9bNzUQP.js +0 -513
- package/dist/usePrinter-DbhL59iY.cjs +0 -1
- package/dist/vue-ui-3d-bar-1aTroDle.cjs +0 -19
- package/dist/vue-ui-age-pyramid-D8Tr8jvT.cjs +0 -1
- package/dist/vue-ui-candlestick-BAuWAMct.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DsdzjA88.cjs +0 -1
- package/dist/vue-ui-donut-w1eqaTu0.cjs +0 -1
- package/dist/vue-ui-flow-oBnzNN4s.cjs +0 -1
- package/dist/vue-ui-galaxy-DgxKqf6u.cjs +0 -1
- package/dist/vue-ui-gauge-B64pcc54.cjs +0 -1
- package/dist/vue-ui-heatmap-cjY0mi4a.cjs +0 -1
- package/dist/vue-ui-molecule-B8cYtnHq.cjs +0 -1
- package/dist/vue-ui-mood-radar-BA2VVPO5.cjs +0 -1
- package/dist/vue-ui-nested-donuts-C3CMWjgk.cjs +0 -17
- package/dist/vue-ui-onion-CVp0g8MP.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs +0 -8
- package/dist/vue-ui-quadrant-B8ffMNIS.cjs +0 -1
- package/dist/vue-ui-quick-chart-hnVT9GKL.cjs +0 -15
- package/dist/vue-ui-radar-ySl7KzoX.cjs +0 -1
- package/dist/vue-ui-relation-circle-CMW26dvv.cjs +0 -1
- package/dist/vue-ui-rings-CR1t6iss.cjs +0 -2
- package/dist/vue-ui-scatter-CKtgbptk.cjs +0 -1
- package/dist/vue-ui-spark-trend-D4d4Mr24.cjs +0 -1
- package/dist/vue-ui-sparkbar-DDqy0UBm.cjs +0 -1
- package/dist/vue-ui-sparkgauge-D6cG2rb8.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-B9sVdLfh.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-BbGJ75_9.cjs +0 -1
- package/dist/vue-ui-stackbar-CRbcnnwn.cjs +0 -6
- package/dist/vue-ui-strip-plot-oZBXDxc-.cjs +0 -1
- package/dist/vue-ui-table-heatmap-BnwiB4id.cjs +0 -1
- package/dist/vue-ui-thermometer-E0mrvP4G.cjs +0 -1
- package/dist/vue-ui-tiremarks-C15sglnJ.cjs +0 -1
- package/dist/vue-ui-vertical-bar-DucujxOR.cjs +0 -4
- package/dist/vue-ui-waffle-DhroAZB3.cjs +0 -1
- package/dist/vue-ui-wheel-Bd87HcGT.cjs +0 -1
- package/dist/vue-ui-word-cloud-D5JLdr9g.cjs +0 -1
- package/dist/vue-ui-xy-BHzOpYm9.cjs +0 -3
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as
|
|
2
|
-
import { u as Ze, o as et, e as
|
|
3
|
-
import { _ as ct } from "./Title-
|
|
4
|
-
import { u as vt, U as dt } from "./usePrinter-
|
|
5
|
-
import { D as ht } from "./DataTable-
|
|
6
|
-
import { L as yt } from "./Legend-
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import bt from "./vue-ui-accordion-
|
|
10
|
-
import { u as He } from "./useNestedProp-
|
|
1
|
+
import { computed as x, ref as m, onMounted as Ke, watch as Fe, openBlock as a, createElementBlock as u, normalizeClass as F, normalizeStyle as ae, createBlock as E, createCommentVNode as d, unref as c, createSlots as qe, withCtx as P, renderSlot as T, normalizeProps as ue, guardReactiveProps as oe, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as Je, createTextVNode as Pe, nextTick as Qe } from "vue";
|
|
2
|
+
import { u as Ze, o as et, e as B, g as tt, c as De, t as lt, a as at, p as Y, b as ut, G as ot, d as se, C as Te, m as re, X as st, s as U, D as rt, i as ne, f as K, j as Ie, k as q, n as Ee, H as Oe, q as nt, r as it } from "./index-D2epy0rJ.js";
|
|
3
|
+
import { _ as ct } from "./Title-DJ2FNrSN.js";
|
|
4
|
+
import { u as vt, U as dt } from "./usePrinter-B6qtXaHk.js";
|
|
5
|
+
import { D as ht } from "./DataTable-tSDSY14n.js";
|
|
6
|
+
import { L as yt } from "./Legend-D3hovFqM.js";
|
|
7
|
+
import ft from "./vue-ui-skeleton-BLiYyX95.js";
|
|
8
|
+
import { S as gt } from "./Slicer-BMvzmCKt.js";
|
|
9
|
+
import bt from "./vue-ui-accordion-DzTB2FL0.js";
|
|
10
|
+
import { u as He } from "./useNestedProp-C_ZrJBd9.js";
|
|
11
11
|
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
12
12
|
const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"], Ct = ["stop-color"], wt = ["id"], Lt = ["stop-color"], $t = ["stop-color"], St = ["stop-color"], At = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "fill", "font-weight"], It = ["text-anchor", "font-size", "fill", "transform"], Et = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Ot = { key: 1 }, Ht = ["cx", "cy", "r", "fill"], Mt = { key: 0 }, Vt = { key: 0 }, Wt = ["d", "stroke"], Rt = ["text-anchor", "x", "y", "fill"], Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = ["cx", "cy", "fill"], jt = { key: 1 }, Bt = ["d", "fill", "stroke"], Yt = { key: 2 }, Kt = ["d", "fill", "stroke"], qt = ["x", "y", "font-size", "fill"], Jt = ["x", "y", "width", "fill", "onClick"], Qt = ["x", "y", "width", "height", "onMouseenter", "onClick"], Zt = {
|
|
13
13
|
key: 3,
|
|
@@ -16,7 +16,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
16
16
|
}, el = ["x", "y", "width", "height", "fill"], tl = ["x1", "y1", "x2", "y2", "stroke"], ll = ["x1", "y2", "x2", "y1", "stroke"], al = ["onKeypress", "cx", "cy", "r"], ul = ["d", "stroke"], ol = ["cx", "cy", "r", "fill"], sl = ["d", "fill", "stroke"], rl = { class: "vue-ui-donut-evolution-focus" }, nl = ["text-anchor", "x", "y", "fill"], il = ["cx", "cy", "r", "fill"], cl = ["cx", "cy", "r", "fill"], vl = ["x", "y", "fill"], dl = ["x", "y", "font-size", "fill"], hl = {
|
|
17
17
|
key: 3,
|
|
18
18
|
class: "vue-data-ui-watermark"
|
|
19
|
-
}, yl = ["onClick"],
|
|
19
|
+
}, yl = ["onClick"], fl = { key: 0 }, gl = { key: 1 }, bl = { key: 0 }, xl = { key: 1 }, ml = {
|
|
20
20
|
__name: "vue-ui-donut-evolution",
|
|
21
21
|
props: {
|
|
22
22
|
config: {
|
|
@@ -48,7 +48,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
48
48
|
ve();
|
|
49
49
|
});
|
|
50
50
|
function ve() {
|
|
51
|
-
et($.dataset) ?
|
|
51
|
+
et($.dataset) ? B({
|
|
52
52
|
componentName: "VueUiDonutEvolution",
|
|
53
53
|
type: "dataset"
|
|
54
54
|
}) : $.dataset.length && $.dataset.forEach((l, i) => {
|
|
@@ -56,7 +56,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
56
56
|
datasetObject: l,
|
|
57
57
|
requiredAttributes: ["name", "values"]
|
|
58
58
|
}).forEach((t) => {
|
|
59
|
-
|
|
59
|
+
B({
|
|
60
60
|
componentName: "VueUiDonutEvolution",
|
|
61
61
|
type: "datasetSerieAttribute",
|
|
62
62
|
property: t,
|
|
@@ -65,7 +65,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
|
-
const I = m(De()), _ = m([]),
|
|
68
|
+
const I = m(De()), _ = m([]), g = m(null), J = m(null), S = m(!1), A = m(null), de = m(null), he = m(0), ye = m(0), fe = m(0), ge = m(0), be = m(0), e = x({
|
|
69
69
|
get: () => xe(),
|
|
70
70
|
set: (l) => l
|
|
71
71
|
});
|
|
@@ -79,11 +79,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
79
79
|
userConfig: lt.vue_ui_donut_evolution[l.theme] || $.config,
|
|
80
80
|
defaultConfig: l
|
|
81
81
|
}),
|
|
82
|
-
customPalette: at[l.theme] ||
|
|
82
|
+
customPalette: at[l.theme] || Y
|
|
83
83
|
} : l;
|
|
84
84
|
}
|
|
85
85
|
Fe(() => $.config, (l) => {
|
|
86
|
-
e.value = xe(), ve(),
|
|
86
|
+
e.value = xe(), ve(), fe.value += 1, ge.value += 1, be.value += 1;
|
|
87
87
|
}, { deep: !0 }), Fe(() => $.dataset, (l) => {
|
|
88
88
|
ce();
|
|
89
89
|
}, { deep: !0 });
|
|
@@ -108,12 +108,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
108
108
|
width: n
|
|
109
109
|
};
|
|
110
110
|
}), D = x(() => ($.dataset.forEach((l, i) => {
|
|
111
|
-
[null, void 0].includes(l.name) &&
|
|
111
|
+
[null, void 0].includes(l.name) && B({
|
|
112
112
|
componentName: "VueUiDonutEvolution",
|
|
113
113
|
type: "datasetSerieAttribute",
|
|
114
114
|
property: "name",
|
|
115
115
|
index: i
|
|
116
|
-
}), [null, void 0].includes(l.values) &&
|
|
116
|
+
}), [null, void 0].includes(l.values) && B({
|
|
117
117
|
componentName: "VueUiDonutEvolution",
|
|
118
118
|
type: "datasetSerieAttribute",
|
|
119
119
|
property: "values",
|
|
@@ -122,7 +122,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
122
122
|
}), $.dataset.map((l, i) => ({
|
|
123
123
|
...l,
|
|
124
124
|
values: ot(l.values),
|
|
125
|
-
color: se(l.color) || Re.value[i] ||
|
|
125
|
+
color: se(l.color) || Re.value[i] || Y[i] || Y[i % Y.length],
|
|
126
126
|
length: (l.values || []).length,
|
|
127
127
|
uid: De()
|
|
128
128
|
})))), V = x(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
@@ -131,43 +131,43 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
131
131
|
}))), W = x(() => Math.max(...V.value.map((l) => l.length))), w = x(() => r.value.width / (h.value.end - h.value.start)), C = x(() => {
|
|
132
132
|
const l = [];
|
|
133
133
|
for (let o = 0; o < h.value.end - h.value.start; o += 1) {
|
|
134
|
-
const
|
|
134
|
+
const f = V.value.map((z) => z.values[o] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), le = f.map((z) => z / N), M = s.value.left + w.value * o + w.value / 2;
|
|
135
135
|
l.push({
|
|
136
136
|
index: o,
|
|
137
|
-
percentages:
|
|
137
|
+
percentages: le,
|
|
138
138
|
subtotal: y || N < 0 ? null : N,
|
|
139
|
-
values:
|
|
139
|
+
values: f,
|
|
140
140
|
x: M
|
|
141
141
|
});
|
|
142
142
|
}
|
|
143
143
|
const i = 0, t = Math.max(...l.map((o) => o.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
144
|
-
return l.map((o,
|
|
145
|
-
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y,
|
|
144
|
+
return l.map((o, f) => {
|
|
145
|
+
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, le = g.value === o.index ? r.value.width / 16 : N, M = l.length > 4 ? y * 2 : y * 2 > w.value / 2 * 0.7 ? w.value / 2 * 0.7 : y * 2, z = r.value.absoluteHeight - s.value.bottom - r.value.height * o.subtotal / Te(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
146
146
|
return {
|
|
147
147
|
...o,
|
|
148
148
|
y: z,
|
|
149
149
|
radius: N,
|
|
150
|
-
activeRadius:
|
|
150
|
+
activeRadius: le,
|
|
151
151
|
hoverRadius: M,
|
|
152
152
|
donut: re({
|
|
153
153
|
series: V.value.map((L, ze) => ({
|
|
154
154
|
color: L.color,
|
|
155
155
|
name: L.name,
|
|
156
|
-
value: L.values[
|
|
156
|
+
value: L.values[f] ?? 0
|
|
157
157
|
}))
|
|
158
158
|
}, o.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
159
159
|
donutHover: re({
|
|
160
160
|
series: V.value.map((L, ze) => ({
|
|
161
161
|
color: L.color,
|
|
162
162
|
name: L.name,
|
|
163
|
-
value: L.values[
|
|
163
|
+
value: L.values[f] ?? 0
|
|
164
164
|
}))
|
|
165
165
|
}, o.x, z, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
166
166
|
donutFocus: re({
|
|
167
167
|
series: V.value.map((L, ze) => ({
|
|
168
168
|
color: L.color,
|
|
169
169
|
name: L.name,
|
|
170
|
-
value: L.values[
|
|
170
|
+
value: L.values[f] ?? 0
|
|
171
171
|
}))
|
|
172
172
|
}, r.value.centerX, r.value.centerY, r.value.height / 3.6, r.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, r.value.height / 6)
|
|
173
173
|
};
|
|
@@ -177,7 +177,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
177
177
|
return ne(
|
|
178
178
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
179
179
|
l,
|
|
180
|
-
|
|
180
|
+
K({
|
|
181
181
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
182
182
|
v: l,
|
|
183
183
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -186,12 +186,12 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
186
186
|
{ datapoint: i, index: t }
|
|
187
187
|
);
|
|
188
188
|
}
|
|
189
|
-
const
|
|
189
|
+
const Q = x(() => ({
|
|
190
190
|
max: Math.max(...C.value.map((l) => l.subtotal)),
|
|
191
191
|
min: 0
|
|
192
192
|
})), O = x(() => {
|
|
193
|
-
const l = C.value.length === 1 ?
|
|
194
|
-
return Te(
|
|
193
|
+
const l = C.value.length === 1 ? Q.value.max * 2 : Q.value.max;
|
|
194
|
+
return Te(Q.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
195
195
|
});
|
|
196
196
|
function Ue(l) {
|
|
197
197
|
return l / O.value.max;
|
|
@@ -204,17 +204,17 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
204
204
|
return isNaN(l.value / Oe(i, "value")) ? 0 : (l.value / Oe(i, "value") * 100).toFixed(0) + "%";
|
|
205
205
|
}
|
|
206
206
|
function we() {
|
|
207
|
-
S.value || (
|
|
207
|
+
S.value || (g.value = null, J.value = null);
|
|
208
208
|
}
|
|
209
209
|
function Ge(l) {
|
|
210
|
-
S.value || (
|
|
210
|
+
S.value || (g.value = l.index, J.value = l);
|
|
211
211
|
}
|
|
212
|
-
const
|
|
213
|
-
function
|
|
214
|
-
l.subtotal && (
|
|
212
|
+
const Z = m(null);
|
|
213
|
+
function ee(l, i) {
|
|
214
|
+
l.subtotal && (J.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(i) || (Z.value = i));
|
|
215
215
|
}
|
|
216
216
|
function Le() {
|
|
217
|
-
A.value = null, S.value = !1,
|
|
217
|
+
A.value = null, S.value = !1, Z.value = null;
|
|
218
218
|
}
|
|
219
219
|
const $e = x(() => D.value.map((l, i) => ({
|
|
220
220
|
name: l.name,
|
|
@@ -225,7 +225,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
225
225
|
})).sort((l, i) => i.value - l.value).map((l) => ({
|
|
226
226
|
...l,
|
|
227
227
|
opacity: _.value.includes(l.uid) ? 0.5 : 1,
|
|
228
|
-
segregate: () =>
|
|
228
|
+
segregate: () => te(l.uid),
|
|
229
229
|
isSegregated: _.value.includes(l.uid)
|
|
230
230
|
}))), Se = x(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), je = x(() => ({
|
|
231
231
|
cy: "donut-div-legend",
|
|
@@ -235,14 +235,14 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
235
235
|
paddingBottom: 12,
|
|
236
236
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
237
237
|
}));
|
|
238
|
-
function
|
|
238
|
+
function te(l) {
|
|
239
239
|
if (_.value.includes(l))
|
|
240
240
|
_.value = _.value.filter((i) => i !== l), ie("selectLegend", null);
|
|
241
241
|
else {
|
|
242
242
|
if (_.value.length === D.value.length - 1) return;
|
|
243
243
|
_.value.push(l), ie("selectLegend", D.value.find((i) => i.uid === l));
|
|
244
244
|
}
|
|
245
|
-
A.value &&
|
|
245
|
+
A.value && ee(C.value.find((i, t) => t === Z.value));
|
|
246
246
|
}
|
|
247
247
|
const H = x(() => {
|
|
248
248
|
const l = [""].concat(D.value.filter((o) => !_.value.includes(o.uid)).map((o) => ({
|
|
@@ -251,11 +251,11 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
251
251
|
}))).concat(["Σ"]);
|
|
252
252
|
let i = [];
|
|
253
253
|
for (let o = 0; o < W.value; o += 1) {
|
|
254
|
-
const
|
|
254
|
+
const f = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[o] ?? 0).reduce((y, N) => y + N, 0);
|
|
255
255
|
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[o] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
|
|
256
256
|
value: y.values[o] ?? 0,
|
|
257
|
-
percentage: y.values[o] ? y.values[o] /
|
|
258
|
-
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(
|
|
257
|
+
percentage: y.values[o] ? y.values[o] / f * 100 : 0
|
|
258
|
+
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
259
259
|
}
|
|
260
260
|
const t = {
|
|
261
261
|
th: {
|
|
@@ -279,7 +279,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
279
279
|
}
|
|
280
280
|
function Ae() {
|
|
281
281
|
Qe(() => {
|
|
282
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((
|
|
282
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), o = nt(n);
|
|
283
283
|
it({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
284
284
|
});
|
|
285
285
|
}
|
|
@@ -300,16 +300,16 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
300
300
|
ref_key: "donutEvolutionChart",
|
|
301
301
|
ref: de,
|
|
302
302
|
class: F(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
303
|
-
style:
|
|
303
|
+
style: ae(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor}`),
|
|
304
304
|
id: I.value
|
|
305
305
|
}, [
|
|
306
306
|
e.value.style.chart.title.text ? (a(), u("div", {
|
|
307
307
|
key: 0,
|
|
308
|
-
style:
|
|
308
|
+
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
309
309
|
onMouseleave: we
|
|
310
310
|
}, [
|
|
311
311
|
(a(), E(ct, {
|
|
312
|
-
key: `title_${
|
|
312
|
+
key: `title_${fe.value}`,
|
|
313
313
|
config: {
|
|
314
314
|
title: {
|
|
315
315
|
cy: "donut-evolution-div-title",
|
|
@@ -321,7 +321,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
321
321
|
}
|
|
322
322
|
}
|
|
323
323
|
}, null, 8, ["config"]))
|
|
324
|
-
],
|
|
324
|
+
], 32)) : d("", !0),
|
|
325
325
|
e.value.userOptions.show && X.value ? (a(), E(dt, {
|
|
326
326
|
ref: "details",
|
|
327
327
|
key: `user_options_${he.value}`,
|
|
@@ -338,6 +338,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
338
338
|
isFullscreen: R.value,
|
|
339
339
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
340
340
|
chartElement: de.value,
|
|
341
|
+
position: e.value.userOptions.position,
|
|
341
342
|
onToggleFullscreen: Ye,
|
|
342
343
|
onGeneratePdf: c(ke),
|
|
343
344
|
onGenerateCsv: Ae,
|
|
@@ -379,13 +380,13 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
379
380
|
]),
|
|
380
381
|
key: "4"
|
|
381
382
|
} : void 0
|
|
382
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
383
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
383
384
|
X.value ? (a(), u("svg", {
|
|
384
385
|
key: 2,
|
|
385
386
|
xmlns: c(st),
|
|
386
387
|
class: F({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
387
388
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
388
|
-
style:
|
|
389
|
+
style: ae(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
389
390
|
}, [
|
|
390
391
|
v("defs", null, [
|
|
391
392
|
v("linearGradient", {
|
|
@@ -454,7 +455,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
454
455
|
])) : d("", !0),
|
|
455
456
|
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
456
457
|
key: 1,
|
|
457
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
458
|
+
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
|
|
458
459
|
}, [
|
|
459
460
|
(a(!0), u(p, null, k(Xe.value, (t, n) => (a(), u("g", null, [
|
|
460
461
|
t.value >= O.value.min && t.value <= O.value.max ? (a(), u("line", {
|
|
@@ -477,7 +478,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
477
478
|
}, b(c(rt)(t.value) ? c(ne)(
|
|
478
479
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
479
480
|
t.value,
|
|
480
|
-
c(
|
|
481
|
+
c(K)({
|
|
481
482
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
482
483
|
v: t.value,
|
|
483
484
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -504,7 +505,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
504
505
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", null, [
|
|
505
506
|
e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), u("line", {
|
|
506
507
|
key: 0,
|
|
507
|
-
class: F({ "donut-opacity": !0, "donut-behind":
|
|
508
|
+
class: F({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
|
|
508
509
|
x1: t.x,
|
|
509
510
|
y1: t.y,
|
|
510
511
|
x2: C.value[n + 1].x,
|
|
@@ -525,10 +526,10 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
525
526
|
])) : d("", !0)
|
|
526
527
|
]))), 256)),
|
|
527
528
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
528
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
529
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
529
530
|
}, [
|
|
530
531
|
t.subtotal ? (a(), u("g", Mt, [
|
|
531
|
-
|
|
532
|
+
g.value !== null && g.value === n ? (a(), u("g", Vt, [
|
|
532
533
|
(a(!0), u(p, null, k(t.donutHover, (o) => (a(), u("g", null, [
|
|
533
534
|
v("path", {
|
|
534
535
|
d: c(Ie)(o, { x: o.center.endX, y: o.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
@@ -539,16 +540,16 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
539
540
|
fill: "none"
|
|
540
541
|
}, null, 8, Wt)
|
|
541
542
|
]))), 256)),
|
|
542
|
-
(a(!0), u(p, null, k(t.donutHover, (o,
|
|
543
|
+
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("g", null, [
|
|
543
544
|
v("text", {
|
|
544
545
|
"data-cy-hover-label": "",
|
|
545
|
-
"text-anchor": c(
|
|
546
|
-
x: c(
|
|
546
|
+
"text-anchor": c(q)(o, !0, 0).anchor,
|
|
547
|
+
x: c(q)(o, !0, 3).x,
|
|
547
548
|
y: c(Ee)(o),
|
|
548
549
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
549
550
|
"font-size": 8,
|
|
550
551
|
"font-weight": "bold"
|
|
551
|
-
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o,
|
|
552
|
+
}, b(o.name) + ": " + b(Ce(o, t.donut)) + " (" + b(o.value === null ? "-" : j(o.value, o, f)) + ") ", 9, Rt)
|
|
552
553
|
]))), 256)),
|
|
553
554
|
v("g", null, [
|
|
554
555
|
v("circle", {
|
|
@@ -562,7 +563,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
562
563
|
])) : d("", !0)
|
|
563
564
|
], 2))), 256)),
|
|
564
565
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
565
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
566
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
566
567
|
}, [
|
|
567
568
|
t.subtotal !== null ? (a(), u("g", Xt, [
|
|
568
569
|
t.subtotal === 0 ? (a(), u("circle", {
|
|
@@ -571,15 +572,15 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
571
572
|
cy: t.y,
|
|
572
573
|
r: 3,
|
|
573
574
|
fill: e.value.style.chart.color
|
|
574
|
-
}, null, 8, Gt)) :
|
|
575
|
-
(a(!0), u(p, null, k(t.donutHover, (o,
|
|
575
|
+
}, null, 8, Gt)) : g.value !== null && g.value === n ? (a(), u("g", jt, [
|
|
576
|
+
(a(!0), u(p, null, k(t.donutHover, (o, f) => (a(), u("path", {
|
|
576
577
|
d: o.arcSlice,
|
|
577
578
|
fill: `${o.color}`,
|
|
578
579
|
"stroke-width": 1,
|
|
579
580
|
stroke: e.value.style.chart.backgroundColor
|
|
580
581
|
}, null, 8, Bt))), 256))
|
|
581
582
|
])) : (a(), u("g", Yt, [
|
|
582
|
-
(a(!0), u(p, null, k(t.donut, (o,
|
|
583
|
+
(a(!0), u(p, null, k(t.donut, (o, f) => (a(), u("path", {
|
|
583
584
|
d: o.arcSlice,
|
|
584
585
|
fill: `${o.color}`,
|
|
585
586
|
"stroke-width": 0.5,
|
|
@@ -589,13 +590,13 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
589
590
|
])) : d("", !0)
|
|
590
591
|
], 2))), 256)),
|
|
591
592
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("g", {
|
|
592
|
-
class: F({ "donut-opacity": !0, "donut-behind": n !==
|
|
593
|
+
class: F({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || S.value })
|
|
593
594
|
}, [
|
|
594
595
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
|
|
595
596
|
key: 0,
|
|
596
597
|
"text-anchor": "middle",
|
|
597
598
|
x: t.x,
|
|
598
|
-
y:
|
|
599
|
+
y: g.value === t.index && t.subtotal ? t.y + e.value.style.chart.layout.dataLabels.fontSize / 3 : t.y - t.radius - e.value.style.chart.layout.dataLabels.fontSize + e.value.style.chart.layout.dataLabels.offsetY,
|
|
599
600
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
600
601
|
"font-weight": "bold",
|
|
601
602
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
@@ -606,9 +607,9 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
606
607
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
607
608
|
width: w.value,
|
|
608
609
|
height: 10,
|
|
609
|
-
fill:
|
|
610
|
-
onClick: (o) =>
|
|
611
|
-
class: F({ "donut-hover":
|
|
610
|
+
fill: g.value === t.index ? `url(#hover_${I.value})` : "transparent",
|
|
611
|
+
onClick: (o) => ee(t, n),
|
|
612
|
+
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
612
613
|
}, null, 10, Jt))), 256)),
|
|
613
614
|
(a(!0), u(p, null, k(C.value, (t, n) => (a(), u("rect", {
|
|
614
615
|
"data-cy-trap": "",
|
|
@@ -619,8 +620,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
619
620
|
fill: "transparent",
|
|
620
621
|
onMouseenter: (o) => Ge(t),
|
|
621
622
|
onMouseleave: we,
|
|
622
|
-
onClick: (o) =>
|
|
623
|
-
class: F({ "donut-hover":
|
|
623
|
+
onClick: (o) => ee(t, n),
|
|
624
|
+
class: F({ "donut-hover": g.value === t.index && t.subtotal })
|
|
624
625
|
}, null, 42, Qt))), 256)),
|
|
625
626
|
S.value ? (a(), u("g", Zt, [
|
|
626
627
|
v("rect", {
|
|
@@ -690,8 +691,8 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
690
691
|
}, null, 8, sl))), 256)),
|
|
691
692
|
(a(!0), u(p, null, k(A.value.donutFocus, (t, n) => (a(), u("g", rl, [
|
|
692
693
|
v("text", {
|
|
693
|
-
"text-anchor": c(
|
|
694
|
-
x: c(
|
|
694
|
+
"text-anchor": c(q)(t, !0, 20).anchor,
|
|
695
|
+
x: c(q)(t, !0, 10).x,
|
|
695
696
|
y: c(Ee)(t),
|
|
696
697
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
697
698
|
"font-size": 10,
|
|
@@ -732,7 +733,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
732
733
|
l.$slots.watermark ? (a(), u("div", hl, [
|
|
733
734
|
T(l.$slots, "watermark", ue(oe({ isPrinting: c(me) || c(pe) })), void 0, !0)
|
|
734
735
|
])) : d("", !0),
|
|
735
|
-
X.value ? d("", !0) : (a(), E(
|
|
736
|
+
X.value ? d("", !0) : (a(), E(ft, {
|
|
736
737
|
key: 4,
|
|
737
738
|
config: {
|
|
738
739
|
type: "donutEvolution",
|
|
@@ -749,7 +750,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
749
750
|
}
|
|
750
751
|
}
|
|
751
752
|
}, null, 8, ["config"])),
|
|
752
|
-
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(
|
|
753
|
+
W.value > 1 && e.value.style.chart.zoom.show ? (a(), E(gt, {
|
|
753
754
|
key: `slicer_${ye.value}`,
|
|
754
755
|
background: e.value.style.chart.zoom.color,
|
|
755
756
|
borderColor: e.value.style.chart.backgroundColor,
|
|
@@ -779,18 +780,18 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
779
780
|
key: `legend_${be.value}`,
|
|
780
781
|
legendSet: $e.value,
|
|
781
782
|
config: je.value,
|
|
782
|
-
onClickMarker: i[2] || (i[2] = ({ legend: t }) =>
|
|
783
|
+
onClickMarker: i[2] || (i[2] = ({ legend: t }) => te(t.uid))
|
|
783
784
|
}, {
|
|
784
785
|
item: P(({ legend: t, index: n }) => [
|
|
785
786
|
v("div", {
|
|
786
787
|
"data-cy-legend-item": "",
|
|
787
|
-
onClick: (o) =>
|
|
788
|
-
style:
|
|
788
|
+
onClick: (o) => te(t.uid),
|
|
789
|
+
style: ae(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
|
|
789
790
|
}, [
|
|
790
791
|
Pe(b(t.name) + ": " + b(c(ne)(
|
|
791
792
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
792
793
|
t.value,
|
|
793
|
-
c(
|
|
794
|
+
c(K)({
|
|
794
795
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
795
796
|
v: t.value,
|
|
796
797
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -798,7 +799,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
798
799
|
}),
|
|
799
800
|
{ datapoint: t, seriesIndex: n }
|
|
800
801
|
)) + " ", 1),
|
|
801
|
-
_.value.includes(t.uid) ? (a(), u("span",
|
|
802
|
+
_.value.includes(t.uid) ? (a(), u("span", gl, " ( - % ) ")) : (a(), u("span", fl, " (" + b(isNaN(t.value / Se.value) ? "-" : c(K)({
|
|
802
803
|
v: t.value / Se.value * 100,
|
|
803
804
|
s: "%",
|
|
804
805
|
r: e.value.style.chart.legend.roundingPercentage
|
|
@@ -826,7 +827,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
826
827
|
}, {
|
|
827
828
|
content: P(() => [
|
|
828
829
|
(a(), E(ht, {
|
|
829
|
-
key: `table_${
|
|
830
|
+
key: `table_${ge.value}`,
|
|
830
831
|
colNames: H.value.colNames,
|
|
831
832
|
head: H.value.head,
|
|
832
833
|
body: H.value.body,
|
|
@@ -848,7 +849,7 @@ const mt = ["id"], pt = ["xmlns", "viewBox"], kt = ["id"], _t = ["stop-color"],
|
|
|
848
849
|
}, 8, ["config"])) : d("", !0)
|
|
849
850
|
], 14, mt));
|
|
850
851
|
}
|
|
851
|
-
}, Fl = /* @__PURE__ */ xt(ml, [["__scopeId", "data-v-
|
|
852
|
+
}, Fl = /* @__PURE__ */ xt(ml, [["__scopeId", "data-v-ccc93573"]]);
|
|
852
853
|
export {
|
|
853
854
|
Fl as default
|
|
854
855
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-CVgBMJU6.cjs"),be=require("./Title-Ahj4TYHa.cjs"),se=require("./usePrinter-DN-6Hoh5.cjs"),xe=require("./DataTable-BA_BCbHC.cjs"),Be=require("./Legend-BOY57qwA.cjs"),Ce=require("./vue-ui-skeleton-Br1K3exH.cjs"),_e=require("./Slicer-sZ-DArc4.cjs"),Ee=require("./vue-ui-accordion-BaV9R6cy.cjs"),ce=require("./useNestedProp-B-NmF2LO.cjs"),Ne=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),we=["id"],Se=["xmlns","viewBox"],Le=["id"],Ve=["stop-color"],ze=["stop-color"],$e=["id"],Fe=["stop-color"],Ae=["stop-color"],De=["stop-color"],Pe={key:0},Te=["x1","x2","y1","y2","stroke","stroke-width"],Oe=["x1","x2","y1","y2","stroke","stroke-width"],Ie={key:0},Me=["x1","x2","y1","y2","stroke","stroke-width"],He=["x1","x2","y1","y2","stroke","stroke-width"],Re=["x","y","font-size","fill","font-weight"],We=["text-anchor","font-size","fill","transform"],Ue=["x1","y1","x2","y2","stroke","stroke-width"],Xe={key:1},qe=["cx","cy","r","fill"],Ge={key:0},Ye={key:0},je=["d","stroke"],Ke=["text-anchor","x","y","fill"],Je=["cx","cy","r","fill"],Qe={key:0},Ze=["cx","cy","fill"],et={key:1},tt=["d","fill","stroke"],lt={key:2},at=["d","fill","stroke"],ot=["x","y","font-size","fill"],ut=["x","y","width","fill","onClick"],nt=["x","y","width","height","onMouseenter","onClick"],rt={key:3,"data-cy-zoom":"",class:"vue-ui-donut-evolution-dialog"},st=["x","y","width","height","fill"],ct=["x1","y1","x2","y2","stroke"],it=["x1","y2","x2","y1","stroke"],dt=["onKeypress","cx","cy","r"],vt=["d","stroke"],ht=["cx","cy","r","fill"],yt=["d","fill","stroke"],mt={class:"vue-ui-donut-evolution-focus"},ft=["text-anchor","x","y","fill"],gt=["cx","cy","r","fill"],pt=["cx","cy","r","fill"],kt=["x","y","fill"],bt=["x","y","font-size","fill"],xt={key:3,class:"vue-data-ui-watermark"},Bt=["onClick"],Ct={key:0},_t={key:1},Et={key:0},Nt={key:1},wt={__name:"vue-ui-donut-evolution",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend"],setup(ie,{expose:de,emit:M}){const p=ie,{vue_ui_donut_evolution:ve}=n.useConfig(),z=e.computed(()=>!!p.dataset&&p.dataset.length),i=e.ref({start:0,end:Math.max(...p.dataset.map(a=>a.values.length))});function H(){i.value={start:0,end:L.value},X.value+=1}e.onMounted(()=>{R()});function R(){n.objectIsEmpty(p.dataset)?n.error({componentName:"VueUiDonutEvolution",type:"dataset"}):p.dataset.length&&p.dataset.forEach((a,c)=>{n.getMissingDatasetAttributes({datasetObject:a,requiredAttributes:["name","values"]}).forEach(l=>{n.error({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:l,index:c})})})}const _=e.ref(n.createUid()),y=e.ref([]),h=e.ref(null),A=e.ref(null),k=e.ref(!1),b=e.ref(null),W=e.ref(null),U=e.ref(0),X=e.ref(0),q=e.ref(0),G=e.ref(0),Y=e.ref(0),t=e.computed({get:()=>j(),set:a=>a});function j(){const a=ce.useNestedProp({userConfig:p.config,defaultConfig:ve});return a.theme?{...ce.useNestedProp({userConfig:n.themes.vue_ui_donut_evolution[a.theme]||p.config,defaultConfig:a}),customPalette:n.themePalettes[a.theme]||n.palette}:a}e.watch(()=>p.config,a=>{t.value=j(),R(),q.value+=1,G.value+=1,Y.value+=1},{deep:!0}),e.watch(()=>p.dataset,a=>{H()},{deep:!0});const{isPrinting:K,isImaging:J,generatePdf:Q,generateImage:Z}=se.usePrinter({elementId:_.value,fileName:t.value.style.chart.title.text||"vue-ui-donut-evolution"}),he=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),$=e.ref({showTable:t.value.table.show}),u=e.computed(()=>({top:t.value.style.chart.layout.padding.top,right:t.value.style.chart.layout.padding.right,bottom:t.value.style.chart.layout.padding.bottom,left:t.value.style.chart.layout.padding.left})),r=e.computed(()=>{const a=t.value.style.chart.layout.height,c=t.value.style.chart.layout.width,l=a-u.value.top-u.value.bottom,s=c-u.value.left-u.value.right;return{absoluteHeight:a,absoluteWidth:c,centerX:u.value.left+s/2,centerY:u.value.top+l/2,height:l,width:s}}),C=e.computed(()=>(p.dataset.forEach((a,c)=>{[null,void 0].includes(a.name)&&n.error({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"name",index:c}),[null,void 0].includes(a.values)&&n.error({componentName:"VueUiDonutEvolution",type:"datasetSerieAttribute",property:"values",index:c})}),p.dataset.map((a,c)=>({...a,values:n.sanitizeArray(a.values),color:n.convertColorToHex(a.color)||he.value[c]||n.palette[c]||n.palette[c%n.palette.length],length:(a.values||[]).length,uid:n.createUid()})))),S=e.computed(()=>C.value.filter(a=>!y.value.includes(a.uid)).map(a=>({...a,values:a.values.filter((c,l)=>l>=i.value.start&&l<=i.value.end)}))),L=e.computed(()=>Math.max(...S.value.map(a=>a.length))),f=e.computed(()=>r.value.width/(i.value.end-i.value.start)),m=e.computed(()=>{const a=[];for(let o=0;o<i.value.end-i.value.start;o+=1){const v=S.value.map(B=>B.values[o]??null),d=v.filter(B=>[void 0,null].includes(B)).length===v.length,x=v.reduce((B,g)=>B+g,0),I=v.map(B=>B/x),w=u.value.left+f.value*o+f.value/2;a.push({index:o,percentages:I,subtotal:d||x<0?null:x,values:v,x:w})}const c=0,l=Math.max(...a.map(o=>o.subtotal)),s=a.length===1?l*2:l;return a.map((o,v)=>{const d=f.value/2*.7,x=d>r.value.width/16?r.value.width/16:d,I=h.value===o.index?r.value.width/16:x,w=a.length>4?d*2:d*2>f.value/2*.7?f.value/2*.7:d*2,B=r.value.absoluteHeight-u.value.bottom-r.value.height*o.subtotal/n.calculateNiceScale(c,s,t.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;return{...o,y:B,radius:x,activeRadius:I,hoverRadius:w,donut:n.makeDonut({series:S.value.map((g,re)=>({color:g.color,name:g.name,value:g.values[v]??0}))},o.x,B,x,x,1.99999,2,1,360,105.25,x/2),donutHover:n.makeDonut({series:S.value.map((g,re)=>({color:g.color,name:g.name,value:g.values[v]??0}))},o.x,B,w,w,1.99999,2,1,360,105.25,w/2),donutFocus:n.makeDonut({series:S.value.map((g,re)=>({color:g.color,name:g.name,value:g.values[v]??0}))},r.value.centerX,r.value.centerY,r.value.height/3.6,r.value.height/3.6,1.99999,2,1,360,105.25,r.value.height/6)}})});function F(a,c,l){return n.applyDataLabel(t.value.style.chart.layout.dataLabels.formatter,a,n.dataLabel({p:t.value.style.chart.layout.dataLabels.prefix,v:a,s:t.value.style.chart.layout.dataLabels.suffix,r:t.value.style.chart.layout.dataLabels.rounding}),{datapoint:c,index:l})}const D=e.computed(()=>({max:Math.max(...m.value.map(a=>a.subtotal)),min:0})),E=e.computed(()=>{const a=m.value.length===1?D.value.max*2:D.value.max;return n.calculateNiceScale(D.value.min,a,t.value.style.chart.layout.grid.yAxis.dataLabels.steps)});function ye(a){return a/E.value.max}const me=e.computed(()=>E.value.ticks.map(a=>({y:r.value.absoluteHeight-u.value.bottom-r.value.height*ye(a),value:a})));function ee(a,c){return isNaN(a.value/n.sumByAttribute(c,"value"))?0:(a.value/n.sumByAttribute(c,"value")*100).toFixed(0)+"%"}function te(){k.value||(h.value=null,A.value=null)}function fe(a){k.value||(h.value=a.index,A.value=a)}const P=e.ref(null);function T(a,c){a.subtotal&&(A.value=null,h.value=null,k.value=!0,b.value=a,[null,void 0].includes(c)||(P.value=c))}function le(){b.value=null,k.value=!1,P.value=null}const ae=e.computed(()=>C.value.map((a,c)=>({name:a.name,value:a.values.slice(i.value.start,i.value.end).reduce((l,s)=>l+s,0),shape:"circle",uid:a.uid,color:a.color})).sort((a,c)=>c.value-a.value).map(a=>({...a,opacity:y.value.includes(a.uid)?.5:1,segregate:()=>O(a.uid),isSegregated:y.value.includes(a.uid)}))),oe=e.computed(()=>m.value.map(a=>a.subtotal).reduce((a,c)=>a+c,0)),ge=e.computed(()=>({cy:"donut-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""}));function O(a){if(y.value.includes(a))y.value=y.value.filter(c=>c!==a),M("selectLegend",null);else{if(y.value.length===C.value.length-1)return;y.value.push(a),M("selectLegend",C.value.find(c=>c.uid===a))}b.value&&T(m.value.find((c,l)=>l===P.value))}const N=e.computed(()=>{const a=[""].concat(C.value.filter(o=>!y.value.includes(o.uid)).map(o=>({name:o.name,color:o.color}))).concat(["Σ"]);let c=[];for(let o=0;o<L.value;o+=1){const v=C.value.filter(d=>!y.value.includes(d.uid)).map(d=>d.values[o]??0).reduce((d,x)=>d+x,0);c.push([t.value.style.chart.layout.grid.xAxis.dataLabels.values[o]??"-"].concat(C.value.filter(d=>!y.value.includes(d.uid)).map(d=>({value:d.values[o]??0,percentage:d.values[o]?d.values[o]/v*100:0}))).concat([`${t.value.style.chart.layout.dataLabels.prefix}${Number(v.toFixed(t.value.table.td.roundingValue))}${t.value.style.chart.layout.dataLabels.suffix}`]))}const l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},s=[t.value.table.columnNames.period].concat(C.value.filter(o=>!y.value.includes(o.uid)).map(o=>o.name)).concat(t.value.table.columnNames.total);return{head:a,body:c,config:l,colNames:s}});function pe(){return C.value}function ue(){e.nextTick(()=>{const a=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],c=[...N.value.head.map(v=>v.name??v)],l=[...N.value.body.map(v=>v.map(d=>d.value??d))],s=a.concat([c]).concat(l),o=n.createCsvContent(s);n.downloadCsv({csvContent:o,title:t.value.style.chart.title.text||"vue-ui-donut-evolution"})})}const V=e.ref(!1);function ke(a){V.value=a,U.value+=1}function ne(){$.value.showTable=!$.value.showTable}return de({getData:pe,generatePdf:Q,generateCsv:ue,generateImage:Z,toggleTable:ne}),(a,c)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"donutEvolutionChart",ref:W,class:e.normalizeClass(`vue-ui-donut-evolution ${V.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor}`),id:_.value},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,style:"width:100%;background:transparent;padding-bottom:24px",onMouseleave:te},[(e.openBlock(),e.createBlock(be._sfc_main,{key:`title_${q.value}`,config:{title:{cy:"donut-evolution-div-title",...t.value.style.chart.title},subtitle:{cy:"donut-evolution-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],32)):e.createCommentVNode("",!0),t.value.userOptions.show&&z.value?(e.openBlock(),e.createBlock(se.UserOptions,{ref:"details",key:`user_options_${U.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(K),isImaging:e.unref(J),uid:_.value,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:V.value,titles:{...t.value.userOptions.buttonTitles},chartElement:W.value,position:t.value.userOptions.position,onToggleFullscreen:ke,onGeneratePdf:e.unref(Q),onGenerateCsv:ue,onGenerateImage:e.unref(Z),onToggleTable:ne},e.createSlots({_:2},[a.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,a.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,a.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,a.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(a.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,a.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:s})=>[e.renderSlot(a.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:s})),void 0,!0)]),key:"4"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":V.value,"vue-data-ui-fulscreen--off":!V.value}),viewBox:`0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createElementVNode("defs",null,[e.createElementVNode("linearGradient",{id:`hover_${_.value}`,x1:"0%",y1:"0%",x2:"0%",y2:"100%"},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.setOpacity)(t.value.style.chart.backgroundColor,t.value.style.chart.layout.highlighter.opacity)},null,8,Ve),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(n.setOpacity)(t.value.style.chart.layout.highlighter.color,t.value.style.chart.layout.highlighter.opacity)},null,8,ze)],8,Le),e.createElementVNode("radialGradient",{id:`focus_${_.value}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.setOpacity)(e.unref(n.convertColorToHex)(t.value.style.chart.backgroundColor),0)},null,8,Fe),e.createElementVNode("stop",{offset:"77%","stop-color":e.unref(n.setOpacity)("#FFFFFF",30)},null,8,Ae),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(n.setOpacity)(e.unref(n.convertColorToHex)(t.value.style.chart.backgroundColor),0)},null,8,De)],8,$e)]),t.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Pe,[e.createElementVNode("line",{x1:u.value.left,x2:u.value.left,y1:u.value.top,y2:u.value.top+r.value.height,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Te),e.createElementVNode("line",{x1:u.value.left,x2:r.value.absoluteWidth-u.value.right,y1:r.value.absoluteHeight-u.value.bottom,y2:r.value.absoluteHeight-u.value.bottom,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Oe),t.value.style.chart.layout.grid.showVerticalLines?(e.openBlock(),e.createElementBlock("g",Ie,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.end-i.value.start,(l,s)=>(e.openBlock(),e.createElementBlock("line",{x1:u.value.left+(s+1)*f.value,x2:u.value.left+(s+1)*f.value,y1:u.value.top,y2:r.value.absoluteHeight-u.value.bottom,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth,"stroke-linecap":"round"},null,8,Me))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),t.value.style.chart.layout.grid.yAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:1,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":h.value!==null||k.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(me.value,(l,s)=>(e.openBlock(),e.createElementBlock("g",null,[l.value>=E.value.min&&l.value<=E.value.max?(e.openBlock(),e.createElementBlock("line",{key:0,x1:u.value.left,x2:u.value.left-5,y1:l.y,y2:l.y,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth},null,8,He)):e.createCommentVNode("",!0),l.value>=E.value.min&&l.value<=E.value.max?(e.openBlock(),e.createElementBlock("text",{key:1,x:u.value.left-8+t.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,y:l.y+t.value.style.chart.layout.grid.yAxis.dataLabels.fontSize/3,"font-size":t.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,"text-anchor":"end",fill:t.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-weight":t.value.style.chart.layout.grid.yAxis.dataLabels.bold?"bold":"normal"},e.toDisplayString(e.unref(n.canShowValue)(l.value)?e.unref(n.applyDataLabel)(t.value.style.chart.layout.dataLabels.formatter,l.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.dataLabels.suffix,r:t.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue}),{datapoint:l,seriesIndex:s}):""),9,Re)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),t.value.style.chart.layout.grid.xAxis.dataLabels.show?(e.openBlock(),e.createElementBlock("g",{key:2,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":k.value})},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(i.value.end-i.value.start,(l,s)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast&&(s===0||s===L.value-1)||!t.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":t.value.style.chart.layout.grid.xAxis.dataLabels.rotation>0?"start":t.value.style.chart.layout.grid.xAxis.dataLabels.rotation<0?"end":"middle","font-size":t.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,fill:t.value.style.chart.layout.grid.xAxis.dataLabels.color,transform:`translate(${u.value.left+f.value*s+f.value/2}, ${t.value.style.chart.layout.grid.xAxis.dataLabels.offsetY+r.value.absoluteHeight-u.value.bottom+t.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2}), rotate(${t.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`},e.toDisplayString(t.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(s)+Number(i.value.start)]??""),9,We)):e.createCommentVNode("",!0)]))),256))],2)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.layout.line.show&&s<m.value.length-1&&![l.subtotal,m.value[s+1].subtotal].includes(null)?(e.openBlock(),e.createElementBlock("line",{key:0,class:e.normalizeClass({"donut-opacity":!0,"donut-behind":h.value!==null||k.value}),x1:l.x,y1:l.y,x2:m.value[s+1].x,y2:m.value[s+1].y,stroke:t.value.style.chart.layout.line.stroke,"stroke-width":t.value.style.chart.layout.line.strokeWidth,"stroke-linecap":"round","stroke-linejoin":"round"},null,10,Ue)):e.createCommentVNode("",!0),l.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Xe,[l.subtotal?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:l.activeRadius,fill:t.value.style.chart.backgroundColor},null,8,qe)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":s!==h.value&&h.value!==null||k.value})},[l.subtotal?(e.openBlock(),e.createElementBlock("g",Ge,[h.value!==null&&h.value===s?(e.openBlock(),e.createElementBlock("g",Ye,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.donutHover,o=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{d:e.unref(n.calcNutArrowPath)(o,{x:o.center.endX,y:o.center.endY},12,12,{x:l.x,y:l.y},!0,20),stroke:o.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none"},null,8,je)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.donutHover,(o,v)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("text",{"data-cy-hover-label":"","text-anchor":e.unref(n.calcMarkerOffsetX)(o,!0,0).anchor,x:e.unref(n.calcMarkerOffsetX)(o,!0,3).x,y:e.unref(n.calcMarkerOffsetY)(o),fill:t.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":8,"font-weight":"bold"},e.toDisplayString(o.name)+": "+e.toDisplayString(ee(o,l.donut))+" ("+e.toDisplayString(o.value===null?"-":F(o.value,o,v))+") ",9,Ke)]))),256)),e.createElementVNode("g",null,[e.createElementVNode("circle",{cx:l.x,cy:l.y,r:l.hoverRadius,fill:t.value.style.chart.backgroundColor},null,8,Je)])])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":s!==h.value&&h.value!==null||k.value})},[l.subtotal!==null?(e.openBlock(),e.createElementBlock("g",Qe,[l.subtotal===0?(e.openBlock(),e.createElementBlock("circle",{key:0,cx:l.x,cy:l.y,r:3,fill:t.value.style.chart.color},null,8,Ze)):h.value!==null&&h.value===s?(e.openBlock(),e.createElementBlock("g",et,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.donutHover,(o,v)=>(e.openBlock(),e.createElementBlock("path",{d:o.arcSlice,fill:`${o.color}`,"stroke-width":1,stroke:t.value.style.chart.backgroundColor},null,8,tt))),256))])):(e.openBlock(),e.createElementBlock("g",lt,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.donut,(o,v)=>(e.openBlock(),e.createElementBlock("path",{d:o.arcSlice,fill:`${o.color}`,"stroke-width":.5,stroke:t.value.style.chart.backgroundColor},null,8,at))),256))]))])):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("g",{class:e.normalizeClass({"donut-opacity":!0,"donut-behind":s!==h.value&&h.value!==null||k.value})},[l.subtotal!==null&&t.value.style.chart.layout.dataLabels.show?(e.openBlock(),e.createElementBlock("text",{key:0,"text-anchor":"middle",x:l.x,y:h.value===l.index&&l.subtotal?l.y+t.value.style.chart.layout.dataLabels.fontSize/3:l.y-l.radius-t.value.style.chart.layout.dataLabels.fontSize+t.value.style.chart.layout.dataLabels.offsetY,"font-size":t.value.style.chart.layout.dataLabels.fontSize,"font-weight":"bold",fill:t.value.style.chart.layout.dataLabels.color},e.toDisplayString(F(l.subtotal,l,s)),9,ot)):e.createCommentVNode("",!0)],2))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("rect",{x:u.value.left+s*f.value,y:r.value.absoluteHeight-u.value.bottom-10,width:f.value,height:10,fill:h.value===l.index?`url(#hover_${_.value})`:"transparent",onClick:o=>T(l,s),class:e.normalizeClass({"donut-hover":h.value===l.index&&l.subtotal})},null,10,ut))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(l,s)=>(e.openBlock(),e.createElementBlock("rect",{"data-cy-trap":"",x:u.value.left+s*f.value,y:u.value.top,width:f.value,height:r.value.height,fill:"transparent",onMouseenter:o=>fe(l),onMouseleave:te,onClick:o=>T(l,s),class:e.normalizeClass({"donut-hover":h.value===l.index&&l.subtotal})},null,42,nt))),256)),k.value?(e.openBlock(),e.createElementBlock("g",rt,[e.createElementVNode("rect",{rx:4,x:u.value.left,y:u.value.top,width:r.value.width,height:r.value.height,fill:t.value.style.chart.backgroundColor,style:{filter:"drop-shadow(0 12px 12px rgba(0,0,0,0.3))"}},null,8,st),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:r.value.absoluteWidth-u.value.right-15,y1:u.value.top+5,x2:r.value.absoluteWidth-u.value.right-4,y2:u.value.top+15.5,"stroke-linecap":"round",stroke:t.value.style.chart.color,"stroke-width":"1.5"},null,8,ct),e.createElementVNode("line",{"data-html2canvas-ignore":"",x1:r.value.absoluteWidth-u.value.right-15,y2:u.value.top+5,x2:r.value.absoluteWidth-u.value.right-4,y1:u.value.top+15.5,"stroke-linecap":"round",stroke:t.value.style.chart.color,"stroke-width":"1.5"},null,8,it),e.createElementVNode("circle",{"data-cy-close":"",onClick:le,onKeypress:e.withKeys(le,["enter"]),cx:r.value.absoluteWidth-u.value.right-r.value.width/40,cy:u.value.top+r.value.height/30,r:r.value.height/12,fill:"transparent",style:{cursor:"pointer"},tabindex:"0"},null,40,dt),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.donutFocus,l=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("path",{"data-cy-zoom-donut":"",d:e.unref(n.calcNutArrowPath)(l,{x:r.value.centerX,y:r.value.centerY},12,12,!1,!1,15),stroke:l.color,"stroke-width":"1","stroke-linecap":"round","stroke-linejoin":"round",fill:"none",class:"vue-ui-donut-evolution-focus"},null,8,vt)]))),256)),e.createElementVNode("circle",{cx:u.value.left+r.value.width/2,cy:u.value.top+r.value.height/2,r:r.value.height/7,fill:t.value.style.chart.backgroundColor},null,8,ht),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.donutFocus,(l,s)=>(e.openBlock(),e.createElementBlock("path",{d:l.arcSlice,fill:`${l.color}`,"stroke-width":1,stroke:t.value.style.chart.backgroundColor,class:"vue-ui-donut-evolution-focus"},null,8,yt))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(b.value.donutFocus,(l,s)=>(e.openBlock(),e.createElementBlock("g",mt,[e.createElementVNode("text",{"text-anchor":e.unref(n.calcMarkerOffsetX)(l,!0,20).anchor,x:e.unref(n.calcMarkerOffsetX)(l,!0,10).x,y:e.unref(n.calcMarkerOffsetY)(l),fill:t.value.style.chart.layout.grid.yAxis.dataLabels.color,"font-size":10,"font-weight":"bold"},e.toDisplayString(l.name)+": "+e.toDisplayString(ee(l,b.value.donutFocus))+" ("+e.toDisplayString(l.value===null?"-":F(l.value,l,s))+") ",9,ft)]))),256)),e.createElementVNode("circle",{cx:u.value.left+r.value.width/2,cy:u.value.top+r.value.height/2,r:r.value.height/3.8,fill:`url(#focus_${_.value})`},null,8,gt),e.createElementVNode("circle",{cx:u.value.left+r.value.width/2,cy:u.value.top+r.value.height/2,r:r.value.height/7.7,fill:t.value.style.chart.backgroundColor},null,8,pt),e.createElementVNode("text",{"text-anchor":"middle",x:u.value.left+r.value.width/2,y:u.value.top+r.value.height/2+14/3,"font-size":14,"font-weight":"bold",fill:t.value.style.chart.layout.dataLabels.color,class:"vue-ui-donut-evolution-focus"},e.toDisplayString(F(b.value.subtotal,b.value,null)),9,kt),t.value.style.chart.layout.grid.xAxis.dataLabels.values[b.value.index]?(e.openBlock(),e.createElementBlock("text",{key:0,x:u.value.left+6,y:u.value.top+t.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*2,"font-size":t.value.style.chart.layout.grid.xAxis.dataLabels.fontSize*1.6,fill:t.value.style.chart.layout.dataLabels.color},e.toDisplayString(t.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(b.value.index)+Number(i.value.start)]),9,bt)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"svg",{svg:r.value},void 0,!0)],14,Se)):e.createCommentVNode("",!0),a.$slots.watermark?(e.openBlock(),e.createElementBlock("div",xt,[e.renderSlot(a.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(K)||e.unref(J)})),void 0,!0)])):e.createCommentVNode("",!0),z.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ce.default,{key:4,config:{type:"donutEvolution",style:{backgroundColor:t.value.style.chart.backgroundColor,donutEvolution:{axis:{color:"#CCCCCC"},donuts:{color:"#CCCCCC"}}}}},null,8,["config"])),L.value>1&&t.value.style.chart.zoom.show?(e.openBlock(),e.createBlock(_e.Slicer,{key:`slicer_${X.value}`,background:t.value.style.chart.zoom.color,borderColor:t.value.style.chart.backgroundColor,fontSize:t.value.style.chart.zoom.fontSize,useResetSlot:t.value.style.chart.zoom.useResetSlot,labelLeft:t.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(i.value.start)]||"",labelRight:t.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(i.value.end)-1]||"",textColor:t.value.style.chart.color,inputColor:t.value.style.chart.zoom.color,selectColor:t.value.style.chart.zoom.highlightColor,max:L.value,min:0,valueStart:i.value.start,valueEnd:i.value.end,start:i.value.start,"onUpdate:start":c[0]||(c[0]=l=>i.value.start=l),end:i.value.end,"onUpdate:end":c[1]||(c[1]=l=>i.value.end=l),onReset:H},{"reset-action":e.withCtx(({reset:l})=>[e.renderSlot(a.$slots,"reset-action",e.normalizeProps(e.guardReactiveProps({reset:l})),void 0,!0)]),_:3},8,["background","borderColor","fontSize","useResetSlot","labelLeft","labelRight","textColor","inputColor","selectColor","max","valueStart","valueEnd","start","end"])):e.createCommentVNode("",!0),t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Be.Legend,{key:`legend_${Y.value}`,legendSet:ae.value,config:ge.value,onClickMarker:c[2]||(c[2]=({legend:l})=>O(l.uid))},{item:e.withCtx(({legend:l,index:s})=>[e.createElementVNode("div",{"data-cy-legend-item":"",onClick:o=>O(l.uid),style:e.normalizeStyle(`opacity:${y.value.includes(l.uid)?.5:1}`)},[e.createTextVNode(e.toDisplayString(l.name)+": "+e.toDisplayString(e.unref(n.applyDataLabel)(t.value.style.chart.layout.dataLabels.formatter,l.value,e.unref(n.dataLabel)({p:t.value.style.chart.layout.dataLabels.prefix,v:l.value,s:t.value.style.chart.layout.dataLabels.suffix,r:t.value.style.chart.legend.roundingValue}),{datapoint:l,seriesIndex:s}))+" ",1),y.value.includes(l.uid)?(e.openBlock(),e.createElementBlock("span",_t," ( - % ) ")):(e.openBlock(),e.createElementBlock("span",Ct," ("+e.toDisplayString(isNaN(l.value/oe.value)?"-":e.unref(n.dataLabel)({v:l.value/oe.value*100,s:"%",r:t.value.style.chart.legend.roundingPercentage}))+") ",1))],12,Bt)]),_:1},8,["legendSet","config"])):e.createCommentVNode("",!0),e.renderSlot(a.$slots,"legend",{legend:ae.value},void 0,!0),z.value?(e.openBlock(),e.createBlock(Ee.default,{key:7,hideDetails:"",config:{open:$.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(xe.DataTable,{key:`table_${G.value}`,colNames:N.value.colNames,head:N.value.head,body:N.value.body,config:N.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:c[3]||(c[3]=l=>$.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createTextVNode(e.toDisplayString(l.name??l),1)]),td:e.withCtx(({td:l})=>[l.value===null?(e.openBlock(),e.createElementBlock("span",Et,"-")):(e.openBlock(),e.createElementBlock("b",Nt,e.toDisplayString(isNaN(l.value)?"":t.value.style.chart.layout.dataLabels.prefix)+e.toDisplayString(!isNaN(l.value)&&l.value!==null?Number(l.value.toFixed(t.value.table.td.roundingValue)).toLocaleString():l)+e.toDisplayString(isNaN(l.value)?"":t.value.style.chart.layout.dataLabels.suffix),1)),e.createElementVNode("span",null,e.toDisplayString(l.percentage&&!isNaN(l.percentage)?`(${Number(l.percentage.toFixed(t.value.table.td.roundingPercentage)).toLocaleString()}%)`:""),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,we))}},St=Ne._export_sfc(wt,[["__scopeId","data-v-ccc93573"]]);exports.default=St;
|