vue-data-ui 2.4.1 → 2.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +44 -44
- package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
- package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
- package/dist/BaseIcon-BGExhz6v.cjs +1 -0
- package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
- package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
- package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
- package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
- package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
- package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
- package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
- package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
- package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
- package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
- package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
- package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
- package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
- package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
- package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
- package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
- package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
- package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
- package/dist/index-FfZRtJ6A.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +18 -16
- package/dist/types/vue-data-ui.d.ts +18 -16
- package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
- package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
- package/dist/usePrinter-BCAFeO_J.cjs +1 -0
- package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
- package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
- package/dist/vue-data-ui-W7nnqn0v.js +261 -0
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
- package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
- package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
- package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
- package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
- package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
- package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
- package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
- package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
- package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
- package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
- package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
- package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
- package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
- package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
- package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
- package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
- package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
- package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
- package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
- package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
- package/dist/vue-ui-donut-CplNylps.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
- package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
- package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
- package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
- package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
- package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
- package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
- package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
- package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
- package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
- package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
- package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
- package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
- package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
- package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
- package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
- package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
- package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
- package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
- package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
- package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
- package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
- package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
- package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
- package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
- package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
- package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
- package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
- package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
- package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
- package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
- package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
- package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
- package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
- package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
- package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
- package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
- package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
- package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
- package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
- package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
- package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
- package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
- package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
- package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
- package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
- package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
- package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
- package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
- package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
- package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
- package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
- package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
- package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
- package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
- package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
- package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
- package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
- package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
- package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
- package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
- package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
- package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
- package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
- package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
- package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
- package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
- package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
- package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
- package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
- package/package.json +1 -1
- package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
- package/dist/index-C7_6YjWN.cjs +0 -9
- package/dist/usePrinter-8EP4iaGm.cjs +0 -1
- package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
- package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
- package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
- package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
- package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
- package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
- package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
- package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
- package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
- package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
- package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
- package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
- package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
- package/dist/vue-ui-gauge-BXiy515T.js +0 -494
- package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
- package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
- package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
- package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
- package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
- package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
- package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
- package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
- package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
- package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
- package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
- package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
- package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
- package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
- package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
- package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
- package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
- package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
- package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
- package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
- package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
- package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
- package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
- package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
- package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
- package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
- package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
- package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
- package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
- package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
- package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
- package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import { computed as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import {
|
|
13
|
-
|
|
1
|
+
import { computed as m, ref as x, onMounted as Je, watch as De, openBlock as a, createElementBlock as o, normalizeClass as P, normalizeStyle as re, createBlock as I, createCommentVNode as d, unref as c, createSlots as Qe, withCtx as F, renderSlot as D, normalizeProps as Y, guardReactiveProps as K, createVNode as Ze, createElementVNode as v, Fragment as p, renderList as k, toDisplayString as b, withKeys as et, createTextVNode as Te, nextTick as tt } from "vue";
|
|
2
|
+
import { u as lt, o as at, e as q, g as ot, c as Ie, t as ut, a as st, p as J, b as nt, I as rt, d as ie, C as Ee, m as ce, X as it, s as U, D as ct, i as ve, f as Q, j as Oe, k as Z, n as Ve, J as He, q as vt, r as dt } from "./index-DnVHQ2xI.js";
|
|
3
|
+
import { _ as ht } from "./Title-5VmBwT4i.js";
|
|
4
|
+
import { u as yt, U as ft } from "./usePrinter-BEeNAqS5.js";
|
|
5
|
+
import { D as gt } from "./DataTable-DTk7C4Pr.js";
|
|
6
|
+
import { L as bt } from "./Legend-CYF2gpXG.js";
|
|
7
|
+
import mt from "./vue-ui-skeleton-aZmkNzAe.js";
|
|
8
|
+
import { S as xt } from "./Slicer-CU7dRZR0.js";
|
|
9
|
+
import pt from "./vue-ui-accordion-DspS4q3f.js";
|
|
10
|
+
import { u as Me } from "./useNestedProp-Cox0K0Y5.js";
|
|
11
|
+
import { _ as kt } from "./PackageVersion-CvCRsT5_.js";
|
|
12
|
+
import { P as _t } from "./PenAndPaper-Jb0pLt3G.js";
|
|
13
|
+
import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const wt = ["id"], Lt = ["xmlns", "viewBox"], At = ["id"], $t = ["stop-color"], St = ["stop-color"], Nt = ["id"], zt = ["stop-color"], Ft = ["stop-color"], Pt = ["stop-color"], Dt = { key: 0 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Mt = ["text-anchor", "font-size", "fill", "transform"], Wt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Rt = { key: 1 }, Ut = ["cx", "cy", "r", "fill"], Xt = { key: 0 }, Gt = { key: 0 }, jt = ["d", "stroke"], Bt = ["text-anchor", "x", "y", "fill"], Yt = ["cx", "cy", "r", "fill"], Kt = { key: 0 }, qt = ["cx", "cy", "fill"], Jt = { key: 1 }, Qt = ["d", "fill", "stroke"], Zt = { key: 2 }, el = ["d", "fill", "stroke"], tl = ["x", "y", "font-size", "fill"], ll = ["x", "y", "width", "fill", "onClick"], al = ["x", "y", "width", "height", "onMouseenter", "onClick"], ol = {
|
|
14
15
|
key: 3,
|
|
15
16
|
"data-cy-zoom": "",
|
|
16
17
|
class: "vue-ui-donut-evolution-dialog"
|
|
17
|
-
},
|
|
18
|
-
key:
|
|
18
|
+
}, ul = ["x", "y", "width", "height", "fill"], sl = ["x1", "y1", "x2", "y2", "stroke"], nl = ["x1", "y2", "x2", "y1", "stroke"], rl = ["onKeypress", "cx", "cy", "r"], il = ["d", "stroke"], cl = ["cx", "cy", "r", "fill"], vl = ["d", "fill", "stroke"], dl = { class: "vue-ui-donut-evolution-focus" }, hl = ["text-anchor", "x", "y", "fill"], yl = ["cx", "cy", "r", "fill"], fl = ["cx", "cy", "r", "fill"], gl = ["x", "y", "fill"], bl = ["x", "y", "font-size", "fill"], ml = {
|
|
19
|
+
key: 4,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, xl = ["onClick"], pl = { key: 0 }, kl = { key: 1 }, _l = { key: 0 }, Cl = { key: 1 }, wl = {
|
|
21
22
|
__name: "vue-ui-donut-evolution",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -34,30 +35,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
|
-
setup(
|
|
38
|
-
const
|
|
38
|
+
setup(We, { expose: Re, emit: de }) {
|
|
39
|
+
const A = We, { vue_ui_donut_evolution: Ue } = lt(), X = m(() => !!A.dataset && A.dataset.length), h = x({
|
|
39
40
|
start: 0,
|
|
40
|
-
end: Math.max(
|
|
41
|
+
end: Math.max(...A.dataset.map((l) => l.values.length))
|
|
41
42
|
});
|
|
42
|
-
function
|
|
43
|
+
function he() {
|
|
43
44
|
h.value = {
|
|
44
45
|
start: 0,
|
|
45
46
|
end: W.value
|
|
46
|
-
},
|
|
47
|
+
}, ge.value += 1;
|
|
47
48
|
}
|
|
48
|
-
|
|
49
|
-
|
|
49
|
+
Je(() => {
|
|
50
|
+
ye();
|
|
50
51
|
});
|
|
51
|
-
function
|
|
52
|
-
|
|
52
|
+
function ye() {
|
|
53
|
+
at(A.dataset) ? q({
|
|
53
54
|
componentName: "VueUiDonutEvolution",
|
|
54
55
|
type: "dataset"
|
|
55
|
-
}) :
|
|
56
|
-
|
|
56
|
+
}) : A.dataset.length && A.dataset.forEach((l, i) => {
|
|
57
|
+
ot({
|
|
57
58
|
datasetObject: l,
|
|
58
59
|
requiredAttributes: ["name", "values"]
|
|
59
60
|
}).forEach((t) => {
|
|
60
|
-
|
|
61
|
+
q({
|
|
61
62
|
componentName: "VueUiDonutEvolution",
|
|
62
63
|
type: "datasetSerieAttribute",
|
|
63
64
|
property: t,
|
|
@@ -66,39 +67,39 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
66
67
|
});
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
|
-
const
|
|
70
|
-
get: () =>
|
|
70
|
+
const E = x(Ie()), _ = x([]), g = x(null), ee = x(null), $ = x(!1), S = x(null), te = x(null), fe = x(0), ge = x(0), be = x(0), me = x(0), xe = x(0), e = m({
|
|
71
|
+
get: () => pe(),
|
|
71
72
|
set: (l) => l
|
|
72
73
|
});
|
|
73
|
-
function
|
|
74
|
-
const l =
|
|
75
|
-
userConfig:
|
|
76
|
-
defaultConfig:
|
|
74
|
+
function pe() {
|
|
75
|
+
const l = Me({
|
|
76
|
+
userConfig: A.config,
|
|
77
|
+
defaultConfig: Ue
|
|
77
78
|
});
|
|
78
79
|
return l.theme ? {
|
|
79
|
-
...
|
|
80
|
-
userConfig:
|
|
80
|
+
...Me({
|
|
81
|
+
userConfig: ut.vue_ui_donut_evolution[l.theme] || A.config,
|
|
81
82
|
defaultConfig: l
|
|
82
83
|
}),
|
|
83
|
-
customPalette:
|
|
84
|
+
customPalette: st[l.theme] || J
|
|
84
85
|
} : l;
|
|
85
86
|
}
|
|
86
|
-
|
|
87
|
-
e.value =
|
|
88
|
-
}, { deep: !0 }),
|
|
89
|
-
|
|
87
|
+
De(() => A.config, (l) => {
|
|
88
|
+
e.value = pe(), ye(), be.value += 1, me.value += 1, xe.value += 1;
|
|
89
|
+
}, { deep: !0 }), De(() => A.dataset, (l) => {
|
|
90
|
+
he();
|
|
90
91
|
}, { deep: !0 });
|
|
91
|
-
const { isPrinting:
|
|
92
|
-
elementId:
|
|
92
|
+
const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: we } = yt({
|
|
93
|
+
elementId: E.value,
|
|
93
94
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
94
|
-
}),
|
|
95
|
+
}), Xe = m(() => nt(e.value.customPalette)), G = x({
|
|
95
96
|
showTable: e.value.table.show
|
|
96
|
-
}), s =
|
|
97
|
+
}), s = m(() => ({
|
|
97
98
|
top: e.value.style.chart.layout.padding.top,
|
|
98
99
|
right: e.value.style.chart.layout.padding.right,
|
|
99
100
|
bottom: e.value.style.chart.layout.padding.bottom,
|
|
100
101
|
left: e.value.style.chart.layout.padding.left
|
|
101
|
-
})), r =
|
|
102
|
+
})), r = m(() => {
|
|
102
103
|
const l = e.value.style.chart.layout.height, i = e.value.style.chart.layout.width, t = l - s.value.top - s.value.bottom, n = i - s.value.left - s.value.right;
|
|
103
104
|
return {
|
|
104
105
|
absoluteHeight: l,
|
|
@@ -108,64 +109,64 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
108
109
|
height: t,
|
|
109
110
|
width: n
|
|
110
111
|
};
|
|
111
|
-
}),
|
|
112
|
-
[null, void 0].includes(l.name) &&
|
|
112
|
+
}), T = m(() => (A.dataset.forEach((l, i) => {
|
|
113
|
+
[null, void 0].includes(l.name) && q({
|
|
113
114
|
componentName: "VueUiDonutEvolution",
|
|
114
115
|
type: "datasetSerieAttribute",
|
|
115
116
|
property: "name",
|
|
116
117
|
index: i
|
|
117
|
-
}), [null, void 0].includes(l.values) &&
|
|
118
|
+
}), [null, void 0].includes(l.values) && q({
|
|
118
119
|
componentName: "VueUiDonutEvolution",
|
|
119
120
|
type: "datasetSerieAttribute",
|
|
120
121
|
property: "values",
|
|
121
122
|
index: i
|
|
122
123
|
});
|
|
123
|
-
}),
|
|
124
|
+
}), A.dataset.map((l, i) => ({
|
|
124
125
|
...l,
|
|
125
|
-
values:
|
|
126
|
-
color:
|
|
126
|
+
values: rt(l.values),
|
|
127
|
+
color: ie(l.color) || Xe.value[i] || J[i] || J[i % J.length],
|
|
127
128
|
length: (l.values || []).length,
|
|
128
|
-
uid:
|
|
129
|
-
})))), M =
|
|
129
|
+
uid: Ie()
|
|
130
|
+
})))), M = m(() => T.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
130
131
|
...l,
|
|
131
132
|
values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
|
|
132
|
-
}))), W =
|
|
133
|
+
}))), W = m(() => Math.max(...M.value.map((l) => l.length))), w = m(() => r.value.width / (h.value.end - h.value.start)), C = m(() => {
|
|
133
134
|
const l = [];
|
|
134
|
-
for (let
|
|
135
|
-
const f = M.value.map((z) => z.values[
|
|
135
|
+
for (let u = 0; u < h.value.end - h.value.start; u += 1) {
|
|
136
|
+
const f = M.value.map((z) => z.values[u] ?? null), y = f.filter((z) => [void 0, null].includes(z)).length === f.length, N = f.reduce((z, L) => z + L, 0), ne = f.map((z) => z / N), H = s.value.left + w.value * u + w.value / 2;
|
|
136
137
|
l.push({
|
|
137
|
-
index:
|
|
138
|
-
percentages:
|
|
138
|
+
index: u,
|
|
139
|
+
percentages: ne,
|
|
139
140
|
subtotal: y || N < 0 ? null : N,
|
|
140
141
|
values: f,
|
|
141
142
|
x: H
|
|
142
143
|
});
|
|
143
144
|
}
|
|
144
|
-
const i = 0, t = Math.max(...l.map((
|
|
145
|
-
return l.map((
|
|
146
|
-
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y,
|
|
145
|
+
const i = 0, t = Math.max(...l.map((u) => u.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
146
|
+
return l.map((u, f) => {
|
|
147
|
+
const y = w.value / 2 * 0.7, N = y > r.value.width / 16 ? r.value.width / 16 : y, ne = g.value === u.index ? r.value.width / 16 : N, H = 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 * u.subtotal / Ee(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
147
148
|
return {
|
|
148
|
-
...
|
|
149
|
+
...u,
|
|
149
150
|
y: z,
|
|
150
151
|
radius: N,
|
|
151
|
-
activeRadius:
|
|
152
|
+
activeRadius: ne,
|
|
152
153
|
hoverRadius: H,
|
|
153
|
-
donut:
|
|
154
|
-
series: M.value.map((L,
|
|
154
|
+
donut: ce({
|
|
155
|
+
series: M.value.map((L, Pe) => ({
|
|
155
156
|
color: L.color,
|
|
156
157
|
name: L.name,
|
|
157
158
|
value: L.values[f] ?? 0
|
|
158
159
|
}))
|
|
159
|
-
},
|
|
160
|
-
donutHover:
|
|
161
|
-
series: M.value.map((L,
|
|
160
|
+
}, u.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
161
|
+
donutHover: ce({
|
|
162
|
+
series: M.value.map((L, Pe) => ({
|
|
162
163
|
color: L.color,
|
|
163
164
|
name: L.name,
|
|
164
165
|
value: L.values[f] ?? 0
|
|
165
166
|
}))
|
|
166
|
-
},
|
|
167
|
-
donutFocus:
|
|
168
|
-
series: M.value.map((L,
|
|
167
|
+
}, u.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
|
|
168
|
+
donutFocus: ce({
|
|
169
|
+
series: M.value.map((L, Pe) => ({
|
|
169
170
|
color: L.color,
|
|
170
171
|
name: L.name,
|
|
171
172
|
value: L.values[f] ?? 0
|
|
@@ -175,10 +176,10 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
175
176
|
});
|
|
176
177
|
});
|
|
177
178
|
function j(l, i, t) {
|
|
178
|
-
return
|
|
179
|
+
return ve(
|
|
179
180
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
180
181
|
l,
|
|
181
|
-
|
|
182
|
+
Q({
|
|
182
183
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
183
184
|
v: l,
|
|
184
185
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -187,37 +188,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
187
188
|
{ datapoint: i, index: t }
|
|
188
189
|
);
|
|
189
190
|
}
|
|
190
|
-
const
|
|
191
|
+
const le = m(() => ({
|
|
191
192
|
max: Math.max(...C.value.map((l) => l.subtotal)),
|
|
192
193
|
min: 0
|
|
193
|
-
})), O =
|
|
194
|
-
const l = C.value.length === 1 ?
|
|
195
|
-
return
|
|
194
|
+
})), O = m(() => {
|
|
195
|
+
const l = C.value.length === 1 ? le.value.max * 2 : le.value.max;
|
|
196
|
+
return Ee(le.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
196
197
|
});
|
|
197
|
-
function
|
|
198
|
+
function Ge(l) {
|
|
198
199
|
return l / O.value.max;
|
|
199
200
|
}
|
|
200
|
-
const
|
|
201
|
-
y: r.value.absoluteHeight - s.value.bottom - r.value.height *
|
|
201
|
+
const je = m(() => O.value.ticks.map((l) => ({
|
|
202
|
+
y: r.value.absoluteHeight - s.value.bottom - r.value.height * Ge(l),
|
|
202
203
|
value: l
|
|
203
204
|
})));
|
|
204
|
-
function
|
|
205
|
-
return isNaN(l.value /
|
|
205
|
+
function Le(l, i) {
|
|
206
|
+
return isNaN(l.value / He(i, "value")) ? 0 : (l.value / He(i, "value") * 100).toFixed(0) + "%";
|
|
206
207
|
}
|
|
207
|
-
function
|
|
208
|
-
|
|
208
|
+
function Ae() {
|
|
209
|
+
$.value || (g.value = null, ee.value = null);
|
|
209
210
|
}
|
|
210
|
-
function
|
|
211
|
-
|
|
211
|
+
function Be(l) {
|
|
212
|
+
$.value || (g.value = l.index, ee.value = l);
|
|
212
213
|
}
|
|
213
|
-
const
|
|
214
|
-
function
|
|
215
|
-
l.subtotal && (
|
|
214
|
+
const ae = x(null);
|
|
215
|
+
function oe(l, i) {
|
|
216
|
+
l.subtotal && (ee.value = null, g.value = null, $.value = !0, S.value = l, [null, void 0].includes(i) || (ae.value = i));
|
|
216
217
|
}
|
|
217
|
-
function
|
|
218
|
-
|
|
218
|
+
function $e() {
|
|
219
|
+
S.value = null, $.value = !1, ae.value = null;
|
|
219
220
|
}
|
|
220
|
-
const
|
|
221
|
+
const Se = m(() => T.value.map((l, i) => ({
|
|
221
222
|
name: l.name,
|
|
222
223
|
value: l.values.slice(h.value.start, h.value.end).reduce((t, n) => t + n, 0),
|
|
223
224
|
shape: "circle",
|
|
@@ -226,9 +227,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
226
227
|
})).sort((l, i) => i.value - l.value).map((l) => ({
|
|
227
228
|
...l,
|
|
228
229
|
opacity: _.value.includes(l.uid) ? 0.5 : 1,
|
|
229
|
-
segregate: () =>
|
|
230
|
+
segregate: () => ue(l.uid),
|
|
230
231
|
isSegregated: _.value.includes(l.uid)
|
|
231
|
-
}))),
|
|
232
|
+
}))), Ne = m(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), Ye = m(() => ({
|
|
232
233
|
cy: "donut-div-legend",
|
|
233
234
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
234
235
|
color: e.value.style.chart.legend.color,
|
|
@@ -236,26 +237,26 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
236
237
|
paddingBottom: 12,
|
|
237
238
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
238
239
|
}));
|
|
239
|
-
function
|
|
240
|
+
function ue(l) {
|
|
240
241
|
if (_.value.includes(l))
|
|
241
|
-
_.value = _.value.filter((i) => i !== l),
|
|
242
|
+
_.value = _.value.filter((i) => i !== l), de("selectLegend", null);
|
|
242
243
|
else {
|
|
243
|
-
if (_.value.length ===
|
|
244
|
-
_.value.push(l),
|
|
244
|
+
if (_.value.length === T.value.length - 1) return;
|
|
245
|
+
_.value.push(l), de("selectLegend", T.value.find((i) => i.uid === l));
|
|
245
246
|
}
|
|
246
|
-
|
|
247
|
+
S.value && oe(C.value.find((i, t) => t === ae.value));
|
|
247
248
|
}
|
|
248
|
-
const V =
|
|
249
|
-
const l = [""].concat(
|
|
250
|
-
name:
|
|
251
|
-
color:
|
|
249
|
+
const V = m(() => {
|
|
250
|
+
const l = [""].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => ({
|
|
251
|
+
name: u.name,
|
|
252
|
+
color: u.color
|
|
252
253
|
}))).concat(["Σ"]);
|
|
253
254
|
let i = [];
|
|
254
|
-
for (let
|
|
255
|
-
const f =
|
|
256
|
-
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
257
|
-
value: y.values[
|
|
258
|
-
percentage: y.values[
|
|
255
|
+
for (let u = 0; u < W.value; u += 1) {
|
|
256
|
+
const f = T.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[u] ?? 0).reduce((y, N) => y + N, 0);
|
|
257
|
+
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(T.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
|
|
258
|
+
value: y.values[u] ?? 0,
|
|
259
|
+
percentage: y.values[u] ? y.values[u] / f * 100 : 0
|
|
259
260
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
260
261
|
}
|
|
261
262
|
const t = {
|
|
@@ -272,45 +273,58 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
272
273
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
273
274
|
}, n = [
|
|
274
275
|
e.value.table.columnNames.period
|
|
275
|
-
].concat(
|
|
276
|
+
].concat(T.value.filter((u) => !_.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
|
|
276
277
|
return { head: l, body: i, config: t, colNames: n };
|
|
277
278
|
});
|
|
278
|
-
function
|
|
279
|
-
return
|
|
279
|
+
function Ke() {
|
|
280
|
+
return T.value;
|
|
280
281
|
}
|
|
281
|
-
function
|
|
282
|
-
|
|
283
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t),
|
|
284
|
-
|
|
282
|
+
function ze() {
|
|
283
|
+
tt(() => {
|
|
284
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], i = [...V.value.head.map((f) => f.name ?? f)], t = [...V.value.body.map((f) => f.map((y) => y.value ?? y))], n = l.concat([i]).concat(t), u = vt(n);
|
|
285
|
+
dt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
285
286
|
});
|
|
286
287
|
}
|
|
287
|
-
const R =
|
|
288
|
-
function
|
|
289
|
-
R.value = l,
|
|
288
|
+
const R = x(!1);
|
|
289
|
+
function qe(l) {
|
|
290
|
+
R.value = l, fe.value += 1;
|
|
290
291
|
}
|
|
291
|
-
function
|
|
292
|
+
function Fe() {
|
|
292
293
|
G.value.showTable = !G.value.showTable;
|
|
293
294
|
}
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
295
|
+
const B = x(!1);
|
|
296
|
+
function se() {
|
|
297
|
+
B.value = !B.value;
|
|
298
|
+
}
|
|
299
|
+
return Re({
|
|
300
|
+
getData: Ke,
|
|
301
|
+
generatePdf: Ce,
|
|
302
|
+
generateCsv: ze,
|
|
303
|
+
generateImage: we,
|
|
304
|
+
toggleTable: Fe,
|
|
305
|
+
toggleAnnotator: se
|
|
306
|
+
}), (l, i) => (a(), o("div", {
|
|
301
307
|
ref_key: "donutEvolutionChart",
|
|
302
|
-
ref:
|
|
303
|
-
class:
|
|
304
|
-
style:
|
|
305
|
-
id:
|
|
308
|
+
ref: te,
|
|
309
|
+
class: P(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
310
|
+
style: re(`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}`),
|
|
311
|
+
id: E.value
|
|
306
312
|
}, [
|
|
307
|
-
e.value.
|
|
313
|
+
e.value.userOptions.buttons.annotator ? (a(), I(_t, {
|
|
308
314
|
key: 0,
|
|
315
|
+
parent: te.value,
|
|
316
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
317
|
+
color: e.value.style.chart.color,
|
|
318
|
+
active: B.value,
|
|
319
|
+
onClose: se
|
|
320
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
321
|
+
e.value.style.chart.title.text ? (a(), o("div", {
|
|
322
|
+
key: 1,
|
|
309
323
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
310
|
-
onMouseleave:
|
|
324
|
+
onMouseleave: Ae
|
|
311
325
|
}, [
|
|
312
|
-
(a(),
|
|
313
|
-
key: `title_${
|
|
326
|
+
(a(), I(ht, {
|
|
327
|
+
key: `title_${be.value}`,
|
|
314
328
|
config: {
|
|
315
329
|
title: {
|
|
316
330
|
cy: "donut-evolution-div-title",
|
|
@@ -323,14 +337,14 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
323
337
|
}
|
|
324
338
|
}, null, 8, ["config"]))
|
|
325
339
|
], 32)) : d("", !0),
|
|
326
|
-
e.value.userOptions.show && X.value ? (a(),
|
|
340
|
+
e.value.userOptions.show && X.value ? (a(), I(ft, {
|
|
327
341
|
ref: "details",
|
|
328
|
-
key: `user_options_${
|
|
342
|
+
key: `user_options_${fe.value}`,
|
|
329
343
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
330
344
|
color: e.value.style.chart.color,
|
|
331
|
-
isPrinting: c(
|
|
332
|
-
isImaging: c(
|
|
333
|
-
uid:
|
|
345
|
+
isPrinting: c(ke),
|
|
346
|
+
isImaging: c(_e),
|
|
347
|
+
uid: E.value,
|
|
334
348
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
335
349
|
hasImg: e.value.userOptions.buttons.img,
|
|
336
350
|
hasXls: e.value.userOptions.buttons.csv,
|
|
@@ -338,61 +352,71 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
338
352
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
339
353
|
isFullscreen: R.value,
|
|
340
354
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
341
|
-
chartElement:
|
|
355
|
+
chartElement: te.value,
|
|
342
356
|
position: e.value.userOptions.position,
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
357
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
358
|
+
isAnnotation: B.value,
|
|
359
|
+
onToggleFullscreen: qe,
|
|
360
|
+
onGeneratePdf: c(Ce),
|
|
361
|
+
onGenerateCsv: ze,
|
|
362
|
+
onGenerateImage: c(we),
|
|
363
|
+
onToggleTable: Fe,
|
|
364
|
+
onToggleAnnotator: se
|
|
365
|
+
}, Qe({ _: 2 }, [
|
|
349
366
|
l.$slots.optionPdf ? {
|
|
350
367
|
name: "optionPdf",
|
|
351
|
-
fn:
|
|
352
|
-
|
|
368
|
+
fn: F(() => [
|
|
369
|
+
D(l.$slots, "optionPdf", {}, void 0, !0)
|
|
353
370
|
]),
|
|
354
371
|
key: "0"
|
|
355
372
|
} : void 0,
|
|
356
373
|
l.$slots.optionCsv ? {
|
|
357
374
|
name: "optionCsv",
|
|
358
|
-
fn:
|
|
359
|
-
|
|
375
|
+
fn: F(() => [
|
|
376
|
+
D(l.$slots, "optionCsv", {}, void 0, !0)
|
|
360
377
|
]),
|
|
361
378
|
key: "1"
|
|
362
379
|
} : void 0,
|
|
363
380
|
l.$slots.optionImg ? {
|
|
364
381
|
name: "optionImg",
|
|
365
|
-
fn:
|
|
366
|
-
|
|
382
|
+
fn: F(() => [
|
|
383
|
+
D(l.$slots, "optionImg", {}, void 0, !0)
|
|
367
384
|
]),
|
|
368
385
|
key: "2"
|
|
369
386
|
} : void 0,
|
|
370
387
|
l.$slots.optionTable ? {
|
|
371
388
|
name: "optionTable",
|
|
372
|
-
fn:
|
|
373
|
-
|
|
389
|
+
fn: F(() => [
|
|
390
|
+
D(l.$slots, "optionTable", {}, void 0, !0)
|
|
374
391
|
]),
|
|
375
392
|
key: "3"
|
|
376
393
|
} : void 0,
|
|
377
394
|
l.$slots.optionFullscreen ? {
|
|
378
395
|
name: "optionFullscreen",
|
|
379
|
-
fn:
|
|
380
|
-
|
|
396
|
+
fn: F(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
397
|
+
D(l.$slots, "optionFullscreen", Y(K({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
381
398
|
]),
|
|
382
399
|
key: "4"
|
|
400
|
+
} : void 0,
|
|
401
|
+
l.$slots.optionAnnotator ? {
|
|
402
|
+
name: "optionAnnotator",
|
|
403
|
+
fn: F(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
404
|
+
D(l.$slots, "optionAnnotator", Y(K({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
405
|
+
]),
|
|
406
|
+
key: "5"
|
|
383
407
|
} : void 0
|
|
384
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
385
|
-
X.value ? (a(),
|
|
386
|
-
key:
|
|
387
|
-
xmlns: c(
|
|
388
|
-
class:
|
|
408
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
409
|
+
X.value ? (a(), o("svg", {
|
|
410
|
+
key: 3,
|
|
411
|
+
xmlns: c(it),
|
|
412
|
+
class: P({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
389
413
|
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
390
|
-
style:
|
|
414
|
+
style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
391
415
|
}, [
|
|
392
|
-
|
|
416
|
+
Ze(kt),
|
|
393
417
|
v("defs", null, [
|
|
394
418
|
v("linearGradient", {
|
|
395
|
-
id: `hover_${
|
|
419
|
+
id: `hover_${E.value}`,
|
|
396
420
|
x1: "0%",
|
|
397
421
|
y1: "0%",
|
|
398
422
|
x2: "0%",
|
|
@@ -401,30 +425,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
401
425
|
v("stop", {
|
|
402
426
|
offset: "0%",
|
|
403
427
|
"stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
404
|
-
}, null, 8,
|
|
428
|
+
}, null, 8, $t),
|
|
405
429
|
v("stop", {
|
|
406
430
|
offset: "100%",
|
|
407
431
|
"stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
408
|
-
}, null, 8,
|
|
409
|
-
], 8,
|
|
432
|
+
}, null, 8, St)
|
|
433
|
+
], 8, At),
|
|
410
434
|
v("radialGradient", {
|
|
411
|
-
id: `focus_${
|
|
435
|
+
id: `focus_${E.value}`
|
|
412
436
|
}, [
|
|
413
437
|
v("stop", {
|
|
414
438
|
offset: "0%",
|
|
415
|
-
"stop-color": c(U)(c(
|
|
416
|
-
}, null, 8,
|
|
439
|
+
"stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
|
|
440
|
+
}, null, 8, zt),
|
|
417
441
|
v("stop", {
|
|
418
442
|
offset: "77%",
|
|
419
443
|
"stop-color": c(U)("#FFFFFF", 30)
|
|
420
|
-
}, null, 8,
|
|
444
|
+
}, null, 8, Ft),
|
|
421
445
|
v("stop", {
|
|
422
446
|
offset: "100%",
|
|
423
|
-
"stop-color": c(U)(c(
|
|
424
|
-
}, null, 8,
|
|
425
|
-
], 8,
|
|
447
|
+
"stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
|
|
448
|
+
}, null, 8, Pt)
|
|
449
|
+
], 8, Nt)
|
|
426
450
|
]),
|
|
427
|
-
e.value.style.chart.layout.grid.show ? (a(),
|
|
451
|
+
e.value.style.chart.layout.grid.show ? (a(), o("g", Dt, [
|
|
428
452
|
v("line", {
|
|
429
453
|
x1: s.value.left,
|
|
430
454
|
x2: s.value.left,
|
|
@@ -433,7 +457,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
433
457
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
434
458
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
435
459
|
"stroke-linecap": "round"
|
|
436
|
-
}, null, 8,
|
|
460
|
+
}, null, 8, Tt),
|
|
437
461
|
v("line", {
|
|
438
462
|
x1: s.value.left,
|
|
439
463
|
x2: r.value.absoluteWidth - s.value.right,
|
|
@@ -442,9 +466,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
442
466
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
443
467
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
444
468
|
"stroke-linecap": "round"
|
|
445
|
-
}, null, 8,
|
|
446
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(),
|
|
447
|
-
(a(!0),
|
|
469
|
+
}, null, 8, It),
|
|
470
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Et, [
|
|
471
|
+
(a(!0), o(p, null, k(h.value.end - h.value.start, (t, n) => (a(), o("line", {
|
|
448
472
|
x1: s.value.left + (n + 1) * w.value,
|
|
449
473
|
x2: s.value.left + (n + 1) * w.value,
|
|
450
474
|
y1: s.value.top,
|
|
@@ -452,15 +476,15 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
452
476
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
453
477
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
454
478
|
"stroke-linecap": "round"
|
|
455
|
-
}, null, 8,
|
|
479
|
+
}, null, 8, Ot))), 256))
|
|
456
480
|
])) : d("", !0)
|
|
457
481
|
])) : d("", !0),
|
|
458
|
-
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(),
|
|
482
|
+
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
|
|
459
483
|
key: 1,
|
|
460
|
-
class:
|
|
484
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
461
485
|
}, [
|
|
462
|
-
(a(!0),
|
|
463
|
-
t.value >= O.value.min && t.value <= O.value.max ? (a(),
|
|
486
|
+
(a(!0), o(p, null, k(je.value, (t, n) => (a(), o("g", null, [
|
|
487
|
+
t.value >= O.value.min && t.value <= O.value.max ? (a(), o("line", {
|
|
464
488
|
key: 0,
|
|
465
489
|
x1: s.value.left,
|
|
466
490
|
x2: s.value.left - 5,
|
|
@@ -468,8 +492,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
468
492
|
y2: t.y,
|
|
469
493
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
470
494
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
471
|
-
}, null, 8,
|
|
472
|
-
t.value >= O.value.min && t.value <= O.value.max ? (a(),
|
|
495
|
+
}, null, 8, Vt)) : d("", !0),
|
|
496
|
+
t.value >= O.value.min && t.value <= O.value.max ? (a(), o("text", {
|
|
473
497
|
key: 1,
|
|
474
498
|
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
475
499
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -477,37 +501,37 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
477
501
|
"text-anchor": "end",
|
|
478
502
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
479
503
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
480
|
-
}, b(c(
|
|
504
|
+
}, b(c(ct)(t.value) ? c(ve)(
|
|
481
505
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
482
506
|
t.value,
|
|
483
|
-
c(
|
|
507
|
+
c(Q)({
|
|
484
508
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
485
509
|
v: t.value,
|
|
486
510
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
487
511
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
488
512
|
}),
|
|
489
513
|
{ datapoint: t, seriesIndex: n }
|
|
490
|
-
) : ""), 9,
|
|
514
|
+
) : ""), 9, Ht)) : d("", !0)
|
|
491
515
|
]))), 256))
|
|
492
516
|
], 2)) : d("", !0),
|
|
493
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(),
|
|
517
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
|
|
494
518
|
key: 2,
|
|
495
|
-
class:
|
|
519
|
+
class: P({ "donut-opacity": !0, "donut-behind": $.value })
|
|
496
520
|
}, [
|
|
497
|
-
(a(!0),
|
|
498
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(),
|
|
521
|
+
(a(!0), o(p, null, k(h.value.end - h.value.start, (t, n) => (a(), o("g", null, [
|
|
522
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (n === 0 || n === W.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
499
523
|
key: 0,
|
|
500
524
|
"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",
|
|
501
525
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
502
526
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
503
527
|
transform: `translate(${s.value.left + w.value * n + w.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + r.value.absoluteHeight - s.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
504
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9,
|
|
528
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Mt)) : d("", !0)
|
|
505
529
|
]))), 256))
|
|
506
530
|
], 2)) : d("", !0),
|
|
507
|
-
(a(!0),
|
|
508
|
-
e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(),
|
|
531
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", null, [
|
|
532
|
+
e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
509
533
|
key: 0,
|
|
510
|
-
class:
|
|
534
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
|
|
511
535
|
x1: t.x,
|
|
512
536
|
y1: t.y,
|
|
513
537
|
x2: C.value[n + 1].x,
|
|
@@ -516,42 +540,42 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
516
540
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
517
541
|
"stroke-linecap": "round",
|
|
518
542
|
"stroke-linejoin": "round"
|
|
519
|
-
}, null, 10,
|
|
520
|
-
t.subtotal !== null ? (a(),
|
|
521
|
-
t.subtotal ? (a(),
|
|
543
|
+
}, null, 10, Wt)) : d("", !0),
|
|
544
|
+
t.subtotal !== null ? (a(), o("g", Rt, [
|
|
545
|
+
t.subtotal ? (a(), o("circle", {
|
|
522
546
|
key: 0,
|
|
523
547
|
cx: t.x,
|
|
524
548
|
cy: t.y,
|
|
525
549
|
r: t.activeRadius,
|
|
526
550
|
fill: e.value.style.chart.backgroundColor
|
|
527
|
-
}, null, 8,
|
|
551
|
+
}, null, 8, Ut)) : d("", !0)
|
|
528
552
|
])) : d("", !0)
|
|
529
553
|
]))), 256)),
|
|
530
|
-
(a(!0),
|
|
531
|
-
class:
|
|
554
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
|
|
555
|
+
class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
532
556
|
}, [
|
|
533
|
-
t.subtotal ? (a(),
|
|
534
|
-
g.value !== null && g.value === n ? (a(),
|
|
535
|
-
(a(!0),
|
|
557
|
+
t.subtotal ? (a(), o("g", Xt, [
|
|
558
|
+
g.value !== null && g.value === n ? (a(), o("g", Gt, [
|
|
559
|
+
(a(!0), o(p, null, k(t.donutHover, (u) => (a(), o("g", null, [
|
|
536
560
|
v("path", {
|
|
537
|
-
d: c(
|
|
538
|
-
stroke:
|
|
561
|
+
d: c(Oe)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
562
|
+
stroke: u.color,
|
|
539
563
|
"stroke-width": "1",
|
|
540
564
|
"stroke-linecap": "round",
|
|
541
565
|
"stroke-linejoin": "round",
|
|
542
566
|
fill: "none"
|
|
543
|
-
}, null, 8,
|
|
567
|
+
}, null, 8, jt)
|
|
544
568
|
]))), 256)),
|
|
545
|
-
(a(!0),
|
|
569
|
+
(a(!0), o(p, null, k(t.donutHover, (u, f) => (a(), o("g", null, [
|
|
546
570
|
v("text", {
|
|
547
571
|
"data-cy-hover-label": "",
|
|
548
|
-
"text-anchor": c(
|
|
549
|
-
x: c(
|
|
550
|
-
y: c(
|
|
572
|
+
"text-anchor": c(Z)(u, !0, 0).anchor,
|
|
573
|
+
x: c(Z)(u, !0, 3).x,
|
|
574
|
+
y: c(Ve)(u),
|
|
551
575
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
552
576
|
"font-size": 8,
|
|
553
577
|
"font-weight": "bold"
|
|
554
|
-
}, b(
|
|
578
|
+
}, b(u.name) + ": " + b(Le(u, t.donut)) + " (" + b(u.value === null ? "-" : j(u.value, u, f)) + ") ", 9, Bt)
|
|
555
579
|
]))), 256)),
|
|
556
580
|
v("g", null, [
|
|
557
581
|
v("circle", {
|
|
@@ -559,42 +583,42 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
559
583
|
cy: t.y,
|
|
560
584
|
r: t.hoverRadius,
|
|
561
585
|
fill: e.value.style.chart.backgroundColor
|
|
562
|
-
}, null, 8,
|
|
586
|
+
}, null, 8, Yt)
|
|
563
587
|
])
|
|
564
588
|
])) : d("", !0)
|
|
565
589
|
])) : d("", !0)
|
|
566
590
|
], 2))), 256)),
|
|
567
|
-
(a(!0),
|
|
568
|
-
class:
|
|
591
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
|
|
592
|
+
class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
569
593
|
}, [
|
|
570
|
-
t.subtotal !== null ? (a(),
|
|
571
|
-
t.subtotal === 0 ? (a(),
|
|
594
|
+
t.subtotal !== null ? (a(), o("g", Kt, [
|
|
595
|
+
t.subtotal === 0 ? (a(), o("circle", {
|
|
572
596
|
key: 0,
|
|
573
597
|
cx: t.x,
|
|
574
598
|
cy: t.y,
|
|
575
599
|
r: 3,
|
|
576
600
|
fill: e.value.style.chart.color
|
|
577
|
-
}, null, 8,
|
|
578
|
-
(a(!0),
|
|
579
|
-
d:
|
|
580
|
-
fill: `${
|
|
601
|
+
}, null, 8, qt)) : g.value !== null && g.value === n ? (a(), o("g", Jt, [
|
|
602
|
+
(a(!0), o(p, null, k(t.donutHover, (u, f) => (a(), o("path", {
|
|
603
|
+
d: u.arcSlice,
|
|
604
|
+
fill: `${u.color}`,
|
|
581
605
|
"stroke-width": 1,
|
|
582
606
|
stroke: e.value.style.chart.backgroundColor
|
|
583
|
-
}, null, 8,
|
|
584
|
-
])) : (a(),
|
|
585
|
-
(a(!0),
|
|
586
|
-
d:
|
|
587
|
-
fill: `${
|
|
607
|
+
}, null, 8, Qt))), 256))
|
|
608
|
+
])) : (a(), o("g", Zt, [
|
|
609
|
+
(a(!0), o(p, null, k(t.donut, (u, f) => (a(), o("path", {
|
|
610
|
+
d: u.arcSlice,
|
|
611
|
+
fill: `${u.color}`,
|
|
588
612
|
"stroke-width": 0.5,
|
|
589
613
|
stroke: e.value.style.chart.backgroundColor
|
|
590
|
-
}, null, 8,
|
|
614
|
+
}, null, 8, el))), 256))
|
|
591
615
|
]))
|
|
592
616
|
])) : d("", !0)
|
|
593
617
|
], 2))), 256)),
|
|
594
|
-
(a(!0),
|
|
595
|
-
class:
|
|
618
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("g", {
|
|
619
|
+
class: P({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
596
620
|
}, [
|
|
597
|
-
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(),
|
|
621
|
+
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
598
622
|
key: 0,
|
|
599
623
|
"text-anchor": "middle",
|
|
600
624
|
x: t.x,
|
|
@@ -602,30 +626,30 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
602
626
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
603
627
|
"font-weight": "bold",
|
|
604
628
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
605
|
-
}, b(j(t.subtotal, t, n)), 9,
|
|
629
|
+
}, b(j(t.subtotal, t, n)), 9, tl)) : d("", !0)
|
|
606
630
|
], 2))), 256)),
|
|
607
|
-
(a(!0),
|
|
631
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("rect", {
|
|
608
632
|
x: s.value.left + n * w.value,
|
|
609
633
|
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
610
634
|
width: w.value,
|
|
611
635
|
height: 10,
|
|
612
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
613
|
-
onClick: (
|
|
614
|
-
class:
|
|
615
|
-
}, null, 10,
|
|
616
|
-
(a(!0),
|
|
636
|
+
fill: g.value === t.index ? `url(#hover_${E.value})` : "transparent",
|
|
637
|
+
onClick: (u) => oe(t, n),
|
|
638
|
+
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
639
|
+
}, null, 10, ll))), 256)),
|
|
640
|
+
(a(!0), o(p, null, k(C.value, (t, n) => (a(), o("rect", {
|
|
617
641
|
"data-cy-trap": "",
|
|
618
642
|
x: s.value.left + n * w.value,
|
|
619
643
|
y: s.value.top,
|
|
620
644
|
width: w.value,
|
|
621
645
|
height: r.value.height,
|
|
622
646
|
fill: "transparent",
|
|
623
|
-
onMouseenter: (
|
|
624
|
-
onMouseleave:
|
|
625
|
-
onClick: (
|
|
626
|
-
class:
|
|
627
|
-
}, null, 42,
|
|
628
|
-
|
|
647
|
+
onMouseenter: (u) => Be(t),
|
|
648
|
+
onMouseleave: Ae,
|
|
649
|
+
onClick: (u) => oe(t, n),
|
|
650
|
+
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
651
|
+
}, null, 42, al))), 256)),
|
|
652
|
+
$.value ? (a(), o("g", ol, [
|
|
629
653
|
v("rect", {
|
|
630
654
|
rx: 4,
|
|
631
655
|
x: s.value.left,
|
|
@@ -634,7 +658,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
634
658
|
height: r.value.height,
|
|
635
659
|
fill: e.value.style.chart.backgroundColor,
|
|
636
660
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
637
|
-
}, null, 8,
|
|
661
|
+
}, null, 8, ul),
|
|
638
662
|
v("line", {
|
|
639
663
|
"data-html2canvas-ignore": "",
|
|
640
664
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -644,7 +668,7 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
644
668
|
"stroke-linecap": "round",
|
|
645
669
|
stroke: e.value.style.chart.color,
|
|
646
670
|
"stroke-width": "1.5"
|
|
647
|
-
}, null, 8,
|
|
671
|
+
}, null, 8, sl),
|
|
648
672
|
v("line", {
|
|
649
673
|
"data-html2canvas-ignore": "",
|
|
650
674
|
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
@@ -654,65 +678,65 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
654
678
|
"stroke-linecap": "round",
|
|
655
679
|
stroke: e.value.style.chart.color,
|
|
656
680
|
"stroke-width": "1.5"
|
|
657
|
-
}, null, 8,
|
|
681
|
+
}, null, 8, nl),
|
|
658
682
|
v("circle", {
|
|
659
683
|
"data-cy-close": "",
|
|
660
|
-
onClick:
|
|
661
|
-
onKeypress:
|
|
684
|
+
onClick: $e,
|
|
685
|
+
onKeypress: et($e, ["enter"]),
|
|
662
686
|
cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
|
|
663
687
|
cy: s.value.top + r.value.height / 30,
|
|
664
688
|
r: r.value.height / 12,
|
|
665
689
|
fill: "transparent",
|
|
666
690
|
style: { cursor: "pointer" },
|
|
667
691
|
tabindex: "0"
|
|
668
|
-
}, null, 40,
|
|
669
|
-
(a(!0),
|
|
692
|
+
}, null, 40, rl),
|
|
693
|
+
(a(!0), o(p, null, k(S.value.donutFocus, (t) => (a(), o("g", null, [
|
|
670
694
|
v("path", {
|
|
671
695
|
"data-cy-zoom-donut": "",
|
|
672
|
-
d: c(
|
|
696
|
+
d: c(Oe)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
|
|
673
697
|
stroke: t.color,
|
|
674
698
|
"stroke-width": "1",
|
|
675
699
|
"stroke-linecap": "round",
|
|
676
700
|
"stroke-linejoin": "round",
|
|
677
701
|
fill: "none",
|
|
678
702
|
class: "vue-ui-donut-evolution-focus"
|
|
679
|
-
}, null, 8,
|
|
703
|
+
}, null, 8, il)
|
|
680
704
|
]))), 256)),
|
|
681
705
|
v("circle", {
|
|
682
706
|
cx: s.value.left + r.value.width / 2,
|
|
683
707
|
cy: s.value.top + r.value.height / 2,
|
|
684
708
|
r: r.value.height / 7,
|
|
685
709
|
fill: e.value.style.chart.backgroundColor
|
|
686
|
-
}, null, 8,
|
|
687
|
-
(a(!0),
|
|
710
|
+
}, null, 8, cl),
|
|
711
|
+
(a(!0), o(p, null, k(S.value.donutFocus, (t, n) => (a(), o("path", {
|
|
688
712
|
d: t.arcSlice,
|
|
689
713
|
fill: `${t.color}`,
|
|
690
714
|
"stroke-width": 1,
|
|
691
715
|
stroke: e.value.style.chart.backgroundColor,
|
|
692
716
|
class: "vue-ui-donut-evolution-focus"
|
|
693
|
-
}, null, 8,
|
|
694
|
-
(a(!0),
|
|
717
|
+
}, null, 8, vl))), 256)),
|
|
718
|
+
(a(!0), o(p, null, k(S.value.donutFocus, (t, n) => (a(), o("g", dl, [
|
|
695
719
|
v("text", {
|
|
696
|
-
"text-anchor": c(
|
|
697
|
-
x: c(
|
|
698
|
-
y: c(
|
|
720
|
+
"text-anchor": c(Z)(t, !0, 20).anchor,
|
|
721
|
+
x: c(Z)(t, !0, 10).x,
|
|
722
|
+
y: c(Ve)(t),
|
|
699
723
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
700
724
|
"font-size": 10,
|
|
701
725
|
"font-weight": "bold"
|
|
702
|
-
}, b(t.name) + ": " + b(
|
|
726
|
+
}, b(t.name) + ": " + b(Le(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, hl)
|
|
703
727
|
]))), 256)),
|
|
704
728
|
v("circle", {
|
|
705
729
|
cx: s.value.left + r.value.width / 2,
|
|
706
730
|
cy: s.value.top + r.value.height / 2,
|
|
707
731
|
r: r.value.height / 3.8,
|
|
708
|
-
fill: `url(#focus_${
|
|
709
|
-
}, null, 8,
|
|
732
|
+
fill: `url(#focus_${E.value})`
|
|
733
|
+
}, null, 8, yl),
|
|
710
734
|
v("circle", {
|
|
711
735
|
cx: s.value.left + r.value.width / 2,
|
|
712
736
|
cy: s.value.top + r.value.height / 2,
|
|
713
737
|
r: r.value.height / 7.7,
|
|
714
738
|
fill: e.value.style.chart.backgroundColor
|
|
715
|
-
}, null, 8,
|
|
739
|
+
}, null, 8, fl),
|
|
716
740
|
v("text", {
|
|
717
741
|
"text-anchor": "middle",
|
|
718
742
|
x: s.value.left + r.value.width / 2,
|
|
@@ -721,22 +745,22 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
721
745
|
"font-weight": "bold",
|
|
722
746
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
723
747
|
class: "vue-ui-donut-evolution-focus"
|
|
724
|
-
}, b(j(
|
|
725
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
748
|
+
}, b(j(S.value.subtotal, S.value, null)), 9, gl),
|
|
749
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), o("text", {
|
|
726
750
|
key: 0,
|
|
727
751
|
x: s.value.left + 6,
|
|
728
752
|
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
729
753
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
730
754
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
731
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
755
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, bl)) : d("", !0)
|
|
732
756
|
])) : d("", !0),
|
|
733
|
-
|
|
734
|
-
], 14,
|
|
735
|
-
l.$slots.watermark ? (a(),
|
|
736
|
-
|
|
757
|
+
D(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
758
|
+
], 14, Lt)) : d("", !0),
|
|
759
|
+
l.$slots.watermark ? (a(), o("div", ml, [
|
|
760
|
+
D(l.$slots, "watermark", Y(K({ isPrinting: c(ke) || c(_e) })), void 0, !0)
|
|
737
761
|
])) : d("", !0),
|
|
738
|
-
X.value ? d("", !0) : (a(),
|
|
739
|
-
key:
|
|
762
|
+
X.value ? d("", !0) : (a(), I(mt, {
|
|
763
|
+
key: 5,
|
|
740
764
|
config: {
|
|
741
765
|
type: "donutEvolution",
|
|
742
766
|
style: {
|
|
@@ -752,8 +776,8 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
752
776
|
}
|
|
753
777
|
}
|
|
754
778
|
}, null, 8, ["config"])),
|
|
755
|
-
W.value > 1 && e.value.style.chart.zoom.show ? (a(),
|
|
756
|
-
key: `slicer_${
|
|
779
|
+
W.value > 1 && e.value.style.chart.zoom.show ? (a(), I(xt, {
|
|
780
|
+
key: `slicer_${ge.value}`,
|
|
757
781
|
background: e.value.style.chart.zoom.color,
|
|
758
782
|
borderColor: e.value.style.chart.backgroundColor,
|
|
759
783
|
fontSize: e.value.style.chart.zoom.fontSize,
|
|
@@ -771,29 +795,29 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
771
795
|
"onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
|
|
772
796
|
end: h.value.end,
|
|
773
797
|
"onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
|
|
774
|
-
onReset:
|
|
798
|
+
onReset: he
|
|
775
799
|
}, {
|
|
776
|
-
"reset-action":
|
|
777
|
-
|
|
800
|
+
"reset-action": F(({ reset: t }) => [
|
|
801
|
+
D(l.$slots, "reset-action", Y(K({ reset: t })), void 0, !0)
|
|
778
802
|
]),
|
|
779
803
|
_: 3
|
|
780
804
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0),
|
|
781
|
-
e.value.style.chart.legend.show ? (a(),
|
|
782
|
-
key: `legend_${
|
|
783
|
-
legendSet:
|
|
784
|
-
config:
|
|
785
|
-
onClickMarker: i[2] || (i[2] = ({ legend: t }) =>
|
|
805
|
+
e.value.style.chart.legend.show ? (a(), I(bt, {
|
|
806
|
+
key: `legend_${xe.value}`,
|
|
807
|
+
legendSet: Se.value,
|
|
808
|
+
config: Ye.value,
|
|
809
|
+
onClickMarker: i[2] || (i[2] = ({ legend: t }) => ue(t.uid))
|
|
786
810
|
}, {
|
|
787
|
-
item:
|
|
811
|
+
item: F(({ legend: t, index: n }) => [
|
|
788
812
|
v("div", {
|
|
789
813
|
"data-cy-legend-item": "",
|
|
790
|
-
onClick: (
|
|
791
|
-
style:
|
|
814
|
+
onClick: (u) => ue(t.uid),
|
|
815
|
+
style: re(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
|
|
792
816
|
}, [
|
|
793
|
-
|
|
817
|
+
Te(b(t.name) + ": " + b(c(ve)(
|
|
794
818
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
795
819
|
t.value,
|
|
796
|
-
c(
|
|
820
|
+
c(Q)({
|
|
797
821
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
798
822
|
v: t.value,
|
|
799
823
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -801,18 +825,18 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
801
825
|
}),
|
|
802
826
|
{ datapoint: t, seriesIndex: n }
|
|
803
827
|
)) + " ", 1),
|
|
804
|
-
_.value.includes(t.uid) ? (a(),
|
|
805
|
-
v: t.value /
|
|
828
|
+
_.value.includes(t.uid) ? (a(), o("span", kl, " ( - % ) ")) : (a(), o("span", pl, " (" + b(isNaN(t.value / Ne.value) ? "-" : c(Q)({
|
|
829
|
+
v: t.value / Ne.value * 100,
|
|
806
830
|
s: "%",
|
|
807
831
|
r: e.value.style.chart.legend.roundingPercentage
|
|
808
832
|
})) + ") ", 1))
|
|
809
|
-
], 12,
|
|
833
|
+
], 12, xl)
|
|
810
834
|
]),
|
|
811
835
|
_: 1
|
|
812
836
|
}, 8, ["legendSet", "config"])) : d("", !0),
|
|
813
|
-
|
|
814
|
-
X.value ? (a(),
|
|
815
|
-
key:
|
|
837
|
+
D(l.$slots, "legend", { legend: Se.value }, void 0, !0),
|
|
838
|
+
X.value ? (a(), I(pt, {
|
|
839
|
+
key: 8,
|
|
816
840
|
hideDetails: "",
|
|
817
841
|
config: {
|
|
818
842
|
open: G.value.showTable,
|
|
@@ -827,9 +851,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
827
851
|
}
|
|
828
852
|
}
|
|
829
853
|
}, {
|
|
830
|
-
content:
|
|
831
|
-
(a(),
|
|
832
|
-
key: `table_${
|
|
854
|
+
content: F(() => [
|
|
855
|
+
(a(), I(gt, {
|
|
856
|
+
key: `table_${me.value}`,
|
|
833
857
|
colNames: V.value.colNames,
|
|
834
858
|
head: V.value.head,
|
|
835
859
|
body: V.value.body,
|
|
@@ -837,11 +861,11 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
837
861
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
838
862
|
onClose: i[3] || (i[3] = (t) => G.value.showTable = !1)
|
|
839
863
|
}, {
|
|
840
|
-
th:
|
|
841
|
-
|
|
864
|
+
th: F(({ th: t }) => [
|
|
865
|
+
Te(b(t.name ?? t), 1)
|
|
842
866
|
]),
|
|
843
|
-
td:
|
|
844
|
-
t.value === null ? (a(),
|
|
867
|
+
td: F(({ td: t }) => [
|
|
868
|
+
t.value === null ? (a(), o("span", _l, "-")) : (a(), o("b", Cl, b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + b(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + b(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
845
869
|
v("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
846
870
|
]),
|
|
847
871
|
_: 1
|
|
@@ -849,9 +873,9 @@ const kt = ["id"], _t = ["xmlns", "viewBox"], Ct = ["id"], wt = ["stop-color"],
|
|
|
849
873
|
]),
|
|
850
874
|
_: 1
|
|
851
875
|
}, 8, ["config"])) : d("", !0)
|
|
852
|
-
], 14,
|
|
876
|
+
], 14, wt));
|
|
853
877
|
}
|
|
854
|
-
},
|
|
878
|
+
}, Vl = /* @__PURE__ */ Ct(wl, [["__scopeId", "data-v-aa1d86f3"]]);
|
|
855
879
|
export {
|
|
856
|
-
|
|
880
|
+
Vl as default
|
|
857
881
|
};
|