vue-data-ui 2.4.41 → 2.4.42
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-6z0ZQva_.js → Arrow-DE71uBJZ.js} +1 -1
- package/dist/{Arrow-Cht76m69.cjs → Arrow-DTscDttD.cjs} +1 -1
- package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-C8XxmpRq.js} +1 -1
- package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
- package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DEdQvqB1.cjs} +1 -1
- package/dist/{DataTable-B5DiCrf_.js → DataTable-D_w08xos.js} +2 -2
- package/dist/{Legend-DzxQIjDO.js → Legend-BWDoQii_.js} +1 -1
- package/dist/{Legend-BXG_XPom.cjs → Legend-C4rlR-Ge.cjs} +1 -1
- package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CH6MCx6T.js} +1 -1
- package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
- package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-BWTR3U2d.js} +3 -3
- package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
- package/dist/{Shape-CvL90fNe.cjs → Shape-BLS-KzBD.cjs} +1 -1
- package/dist/{Shape-C3ywBhkW.js → Shape-xrlfL_v4.js} +1 -1
- package/dist/Slicer-8gKX0l4Q.cjs +1 -0
- package/dist/Slicer-DIYseEL1.js +423 -0
- package/dist/{Title-D9gPXVTT.cjs → Title-B-xkTfi8.cjs} +1 -1
- package/dist/{Title-BB0O0yol.js → Title-Cnl9ySNH.js} +1 -1
- package/dist/Tooltip-Brbj6DqX.cjs +1 -0
- package/dist/{Tooltip-GvLaModr.js → Tooltip-DEAOBZ8h.js} +33 -25
- package/dist/index-B68kzBN9.cjs +9 -0
- package/dist/{index-B6Q1Fyk0.js → index-DnukYspq.js} +45 -41
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-CVOQGx-X.js} +1 -1
- package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
- package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-C9yUesCc.cjs} +1 -1
- package/dist/{usePrinter-D8dIU7aG.js → usePrinter-DVIALk5e.js} +1 -1
- package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-BmmjmNbb.js} +60 -60
- package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-LA94HAVo.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +3 -3
- package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
- package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
- package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
- package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-f9NTID9e.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
- package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-C82vEb7R.js} +1 -1
- package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
- package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
- package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-D6KC5yoe.cjs} +1 -1
- package/dist/vue-ui-candlestick-Duf3yfwR.js +740 -0
- package/dist/vue-ui-candlestick-lunuQ9Ka.cjs +2 -0
- package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
- package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
- package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
- package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
- package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
- package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DtNvb8lM.js} +2 -2
- package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-C028OlzU.js} +99 -98
- package/dist/vue-ui-donut-evolution-2vQPsBFq.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CprYApXF.js +908 -0
- package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
- package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
- package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-QRimZUXT.js} +46 -46
- package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
- package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
- package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-CBymVSdd.js} +19 -19
- package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
- package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
- package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
- package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
- package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
- package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
- package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
- package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
- package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
- package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
- package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
- package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
- package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-CZi84tUl.js} +26 -25
- package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
- package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
- package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
- package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-CIRGvycb.js} +49 -48
- package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
- package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
- package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
- package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
- package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-CXXAYowO.js} +38 -37
- package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
- package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-DOqMciYJ.js} +2 -2
- package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-BEv568py.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-CR3iWQV_.js} +19 -19
- package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-B--CFaNX.js} +49 -48
- package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
- package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-C-RD4h73.js} +26 -25
- package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
- package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
- package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
- package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
- package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
- package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
- package/dist/{vue-ui-stackbar-BZbOagnf.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
- package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
- package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
- package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-CS-NSZjj.js} +1 -1
- package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
- package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
- package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
- package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
- package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
- package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
- package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
- package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
- package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
- package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
- package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DYdcFM17.js} +79 -78
- package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
- package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
- package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
- package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-B3346TfB.js} +195 -185
- package/dist/vue-ui-xy-DHYbKvBg.cjs +3 -0
- package/dist/vue-ui-xy-canvas-DtPqmu7B.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
- package/package.json +1 -1
- package/dist/Slicer-B2aHb4bj.cjs +0 -1
- package/dist/Slicer-D9ASV60L.js +0 -400
- package/dist/Tooltip-ypQtmi99.cjs +0 -1
- package/dist/index-B5Ugkauv.cjs +0 -9
- package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
- package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
- package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
- package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
- package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
- package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
- package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
- package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
- package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
|
@@ -1,895 +0,0 @@
|
|
|
1
|
-
import { computed as m, ref as p, onMounted as Ze, watch as Te, openBlock as a, createElementBlock as o, normalizeClass as T, normalizeStyle as re, createBlock as I, createCommentVNode as v, unref as c, createSlots as et, withCtx as F, renderSlot as P, normalizeProps as Y, guardReactiveProps as K, createVNode as tt, createElementVNode as d, Fragment as x, renderList as k, toDisplayString as b, withKeys as lt, createTextVNode as De, nextTick as at } from "vue";
|
|
2
|
-
import { u as ot, o as ut, e as q, g as st, c as Ie, t as nt, a as rt, p as J, b as it, I as ct, d as ie, C as Oe, m as ce, X as vt, s as U, D as dt, i as ve, f as Q, j as Ee, k as Z, n as Ve, J as He, q as ht, r as yt } from "./index-B6Q1Fyk0.js";
|
|
3
|
-
import { _ as ft } from "./Title-BB0O0yol.js";
|
|
4
|
-
import { u as gt, U as bt } from "./usePrinter-D8dIU7aG.js";
|
|
5
|
-
import { D as mt } from "./DataTable-B5DiCrf_.js";
|
|
6
|
-
import { L as pt } from "./Legend-DzxQIjDO.js";
|
|
7
|
-
import xt from "./vue-ui-skeleton-D7rg5vFC.js";
|
|
8
|
-
import { S as kt } from "./Slicer-D9ASV60L.js";
|
|
9
|
-
import _t from "./vue-ui-accordion-BOHicozd.js";
|
|
10
|
-
import { u as Me } from "./useNestedProp-DQpuJSz3.js";
|
|
11
|
-
import { _ as Ct } from "./PackageVersion-S7OD_s5u.js";
|
|
12
|
-
import { P as wt } from "./PenAndPaper-BxJZd7k9.js";
|
|
13
|
-
import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
const At = ["id"], $t = ["xmlns", "viewBox"], St = ["id"], Nt = ["stop-color"], zt = ["stop-color"], Ft = ["id"], Pt = ["stop-color"], Tt = ["stop-color"], Dt = ["stop-color"], It = { key: 0 }, Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 0 }, Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x", "y", "font-size", "fill", "font-weight"], Rt = ["text-anchor", "font-size", "fill", "transform"], Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Xt = { key: 1 }, Gt = ["cx", "cy", "r", "fill"], jt = { key: 0 }, Bt = { key: 0 }, Yt = ["d", "stroke"], Kt = ["text-anchor", "x", "y", "fill"], qt = ["cx", "cy", "r", "fill"], Jt = { key: 0 }, Qt = ["cx", "cy", "fill"], Zt = { key: 1 }, el = ["d", "fill", "stroke"], tl = { key: 2 }, ll = ["d", "fill", "stroke"], al = ["x", "y", "font-size", "fill"], ol = ["x", "y", "width", "fill", "onClick"], ul = ["x", "y", "width", "height", "onMouseenter", "onClick"], sl = {
|
|
15
|
-
key: 3,
|
|
16
|
-
"data-cy-zoom": "",
|
|
17
|
-
class: "vue-ui-donut-evolution-dialog"
|
|
18
|
-
}, nl = ["x", "y", "width", "height", "fill"], rl = ["x1", "y1", "x2", "y2", "stroke"], il = ["x1", "y2", "x2", "y1", "stroke"], cl = ["onKeypress", "cx", "cy", "r"], vl = ["d", "stroke"], dl = ["cx", "cy", "r", "fill"], hl = ["d", "fill", "stroke"], yl = { class: "vue-ui-donut-evolution-focus" }, fl = ["text-anchor", "x", "y", "fill"], gl = ["cx", "cy", "r", "fill"], bl = ["cx", "cy", "r", "fill"], ml = ["x", "y", "fill"], pl = ["x", "y", "font-size", "fill"], xl = {
|
|
19
|
-
key: 5,
|
|
20
|
-
class: "vue-data-ui-watermark"
|
|
21
|
-
}, kl = ["onClick"], _l = { key: 0 }, Cl = { key: 1 }, wl = {
|
|
22
|
-
key: 9,
|
|
23
|
-
ref: "source",
|
|
24
|
-
dir: "auto"
|
|
25
|
-
}, Ll = { key: 0 }, Al = { key: 1 }, $l = {
|
|
26
|
-
__name: "vue-ui-donut-evolution",
|
|
27
|
-
props: {
|
|
28
|
-
config: {
|
|
29
|
-
type: Object,
|
|
30
|
-
default() {
|
|
31
|
-
return {};
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
dataset: {
|
|
35
|
-
type: Array,
|
|
36
|
-
default() {
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
emits: ["selectLegend"],
|
|
42
|
-
setup(We, { expose: Re, emit: de }) {
|
|
43
|
-
const A = We, { vue_ui_donut_evolution: Ue } = ot(), X = m(() => !!A.dataset && A.dataset.length), h = p({
|
|
44
|
-
start: 0,
|
|
45
|
-
end: Math.max(...A.dataset.map((l) => l.values.length))
|
|
46
|
-
});
|
|
47
|
-
function he() {
|
|
48
|
-
h.value = {
|
|
49
|
-
start: 0,
|
|
50
|
-
end: W.value
|
|
51
|
-
}, ge.value += 1;
|
|
52
|
-
}
|
|
53
|
-
Ze(() => {
|
|
54
|
-
ye();
|
|
55
|
-
});
|
|
56
|
-
function ye() {
|
|
57
|
-
ut(A.dataset) ? q({
|
|
58
|
-
componentName: "VueUiDonutEvolution",
|
|
59
|
-
type: "dataset"
|
|
60
|
-
}) : A.dataset.length && A.dataset.forEach((l, i) => {
|
|
61
|
-
st({
|
|
62
|
-
datasetObject: l,
|
|
63
|
-
requiredAttributes: ["name", "values"]
|
|
64
|
-
}).forEach((t) => {
|
|
65
|
-
q({
|
|
66
|
-
componentName: "VueUiDonutEvolution",
|
|
67
|
-
type: "datasetSerieAttribute",
|
|
68
|
-
property: t,
|
|
69
|
-
index: i
|
|
70
|
-
});
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
const O = p(Ie()), _ = p([]), g = p(null), ee = p(null), $ = p(!1), S = p(null), te = p(null), Xe = p(null), fe = p(0), ge = p(0), be = p(0), me = p(0), pe = p(0), e = m({
|
|
75
|
-
get: () => xe(),
|
|
76
|
-
set: (l) => l
|
|
77
|
-
});
|
|
78
|
-
function xe() {
|
|
79
|
-
const l = Me({
|
|
80
|
-
userConfig: A.config,
|
|
81
|
-
defaultConfig: Ue
|
|
82
|
-
});
|
|
83
|
-
return l.theme ? {
|
|
84
|
-
...Me({
|
|
85
|
-
userConfig: nt.vue_ui_donut_evolution[l.theme] || A.config,
|
|
86
|
-
defaultConfig: l
|
|
87
|
-
}),
|
|
88
|
-
customPalette: rt[l.theme] || J
|
|
89
|
-
} : l;
|
|
90
|
-
}
|
|
91
|
-
Te(() => A.config, (l) => {
|
|
92
|
-
e.value = xe(), ye(), be.value += 1, me.value += 1, pe.value += 1;
|
|
93
|
-
}, { deep: !0 }), Te(() => A.dataset, (l) => {
|
|
94
|
-
he();
|
|
95
|
-
}, { deep: !0 });
|
|
96
|
-
const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: we } = gt({
|
|
97
|
-
elementId: O.value,
|
|
98
|
-
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
99
|
-
}), Ge = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), je = m(() => it(e.value.customPalette)), G = p({
|
|
100
|
-
showTable: e.value.table.show
|
|
101
|
-
}), s = m(() => ({
|
|
102
|
-
top: e.value.style.chart.layout.padding.top,
|
|
103
|
-
right: e.value.style.chart.layout.padding.right,
|
|
104
|
-
bottom: e.value.style.chart.layout.padding.bottom,
|
|
105
|
-
left: e.value.style.chart.layout.padding.left
|
|
106
|
-
})), r = m(() => {
|
|
107
|
-
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;
|
|
108
|
-
return {
|
|
109
|
-
absoluteHeight: l,
|
|
110
|
-
absoluteWidth: i,
|
|
111
|
-
centerX: s.value.left + n / 2,
|
|
112
|
-
centerY: s.value.top + t / 2,
|
|
113
|
-
height: t,
|
|
114
|
-
width: n
|
|
115
|
-
};
|
|
116
|
-
}), D = m(() => (A.dataset.forEach((l, i) => {
|
|
117
|
-
[null, void 0].includes(l.name) && q({
|
|
118
|
-
componentName: "VueUiDonutEvolution",
|
|
119
|
-
type: "datasetSerieAttribute",
|
|
120
|
-
property: "name",
|
|
121
|
-
index: i
|
|
122
|
-
}), [null, void 0].includes(l.values) && q({
|
|
123
|
-
componentName: "VueUiDonutEvolution",
|
|
124
|
-
type: "datasetSerieAttribute",
|
|
125
|
-
property: "values",
|
|
126
|
-
index: i
|
|
127
|
-
});
|
|
128
|
-
}), A.dataset.map((l, i) => ({
|
|
129
|
-
...l,
|
|
130
|
-
values: ct(l.values),
|
|
131
|
-
color: ie(l.color) || je.value[i] || J[i] || J[i % J.length],
|
|
132
|
-
length: (l.values || []).length,
|
|
133
|
-
uid: Ie()
|
|
134
|
-
})))), M = m(() => D.value.filter((l) => !_.value.includes(l.uid)).map((l) => ({
|
|
135
|
-
...l,
|
|
136
|
-
values: l.values.filter((i, t) => t >= h.value.start && t <= h.value.end)
|
|
137
|
-
}))), W = m(() => Math.max(...M.value.map((l) => l.length))), w = m(() => r.value.width / (h.value.end - h.value.start)), C = m(() => {
|
|
138
|
-
const l = [];
|
|
139
|
-
for (let u = 0; u < h.value.end - h.value.start; u += 1) {
|
|
140
|
-
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;
|
|
141
|
-
l.push({
|
|
142
|
-
index: u,
|
|
143
|
-
percentages: ne,
|
|
144
|
-
subtotal: y || N < 0 ? null : N,
|
|
145
|
-
values: f,
|
|
146
|
-
x: H
|
|
147
|
-
});
|
|
148
|
-
}
|
|
149
|
-
const i = 0, t = Math.max(...l.map((u) => u.subtotal)), n = l.length === 1 ? t * 2 : t;
|
|
150
|
-
return l.map((u, f) => {
|
|
151
|
-
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 / Oe(i, n, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
152
|
-
return {
|
|
153
|
-
...u,
|
|
154
|
-
y: z,
|
|
155
|
-
radius: N,
|
|
156
|
-
activeRadius: ne,
|
|
157
|
-
hoverRadius: H,
|
|
158
|
-
donut: ce({
|
|
159
|
-
series: M.value.map((L, Pe) => ({
|
|
160
|
-
color: L.color,
|
|
161
|
-
name: L.name,
|
|
162
|
-
value: L.values[f] ?? 0
|
|
163
|
-
}))
|
|
164
|
-
}, u.x, z, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
165
|
-
donutHover: ce({
|
|
166
|
-
series: M.value.map((L, Pe) => ({
|
|
167
|
-
color: L.color,
|
|
168
|
-
name: L.name,
|
|
169
|
-
value: L.values[f] ?? 0
|
|
170
|
-
}))
|
|
171
|
-
}, u.x, z, H, H, 1.99999, 2, 1, 360, 105.25, H / 2),
|
|
172
|
-
donutFocus: ce({
|
|
173
|
-
series: M.value.map((L, Pe) => ({
|
|
174
|
-
color: L.color,
|
|
175
|
-
name: L.name,
|
|
176
|
-
value: L.values[f] ?? 0
|
|
177
|
-
}))
|
|
178
|
-
}, 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)
|
|
179
|
-
};
|
|
180
|
-
});
|
|
181
|
-
});
|
|
182
|
-
function j(l, i, t) {
|
|
183
|
-
return ve(
|
|
184
|
-
e.value.style.chart.layout.dataLabels.formatter,
|
|
185
|
-
l,
|
|
186
|
-
Q({
|
|
187
|
-
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
188
|
-
v: l,
|
|
189
|
-
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
190
|
-
r: e.value.style.chart.layout.dataLabels.rounding
|
|
191
|
-
}),
|
|
192
|
-
{ datapoint: i, index: t }
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
const le = m(() => ({
|
|
196
|
-
max: Math.max(...C.value.map((l) => l.subtotal)),
|
|
197
|
-
min: 0
|
|
198
|
-
})), E = m(() => {
|
|
199
|
-
const l = C.value.length === 1 ? le.value.max * 2 : le.value.max;
|
|
200
|
-
return Oe(le.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
201
|
-
});
|
|
202
|
-
function Be(l) {
|
|
203
|
-
return l / E.value.max;
|
|
204
|
-
}
|
|
205
|
-
const Ye = m(() => E.value.ticks.map((l) => ({
|
|
206
|
-
y: r.value.absoluteHeight - s.value.bottom - r.value.height * Be(l),
|
|
207
|
-
value: l
|
|
208
|
-
})));
|
|
209
|
-
function Le(l, i) {
|
|
210
|
-
return isNaN(l.value / He(i, "value")) ? 0 : (l.value / He(i, "value") * 100).toFixed(0) + "%";
|
|
211
|
-
}
|
|
212
|
-
function Ae() {
|
|
213
|
-
$.value || (g.value = null, ee.value = null);
|
|
214
|
-
}
|
|
215
|
-
function Ke(l) {
|
|
216
|
-
$.value || (g.value = l.index, ee.value = l);
|
|
217
|
-
}
|
|
218
|
-
const ae = p(null);
|
|
219
|
-
function oe(l, i) {
|
|
220
|
-
l.subtotal && (ee.value = null, g.value = null, $.value = !0, S.value = l, [null, void 0].includes(i) || (ae.value = i));
|
|
221
|
-
}
|
|
222
|
-
function $e() {
|
|
223
|
-
S.value = null, $.value = !1, ae.value = null;
|
|
224
|
-
}
|
|
225
|
-
const Se = m(() => D.value.map((l, i) => ({
|
|
226
|
-
name: l.name,
|
|
227
|
-
value: l.values.slice(h.value.start, h.value.end).reduce((t, n) => t + n, 0),
|
|
228
|
-
shape: "circle",
|
|
229
|
-
uid: l.uid,
|
|
230
|
-
color: l.color
|
|
231
|
-
})).sort((l, i) => i.value - l.value).map((l) => ({
|
|
232
|
-
...l,
|
|
233
|
-
opacity: _.value.includes(l.uid) ? 0.5 : 1,
|
|
234
|
-
segregate: () => ue(l.uid),
|
|
235
|
-
isSegregated: _.value.includes(l.uid)
|
|
236
|
-
}))), Ne = m(() => C.value.map((l) => l.subtotal).reduce((l, i) => l + i, 0)), qe = m(() => ({
|
|
237
|
-
cy: "donut-div-legend",
|
|
238
|
-
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
239
|
-
color: e.value.style.chart.legend.color,
|
|
240
|
-
fontSize: e.value.style.chart.legend.fontSize,
|
|
241
|
-
paddingBottom: 12,
|
|
242
|
-
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
243
|
-
}));
|
|
244
|
-
function ue(l) {
|
|
245
|
-
if (_.value.includes(l))
|
|
246
|
-
_.value = _.value.filter((i) => i !== l), de("selectLegend", null);
|
|
247
|
-
else {
|
|
248
|
-
if (_.value.length === D.value.length - 1) return;
|
|
249
|
-
_.value.push(l), de("selectLegend", D.value.find((i) => i.uid === l));
|
|
250
|
-
}
|
|
251
|
-
S.value && oe(C.value.find((i, t) => t === ae.value));
|
|
252
|
-
}
|
|
253
|
-
const V = m(() => {
|
|
254
|
-
const l = [""].concat(D.value.filter((u) => !_.value.includes(u.uid)).map((u) => ({
|
|
255
|
-
name: u.name,
|
|
256
|
-
color: u.color
|
|
257
|
-
}))).concat(["Σ"]);
|
|
258
|
-
let i = [];
|
|
259
|
-
for (let u = 0; u < W.value; u += 1) {
|
|
260
|
-
const f = D.value.filter((y) => !_.value.includes(y.uid)).map((y) => y.values[u] ?? 0).reduce((y, N) => y + N, 0);
|
|
261
|
-
i.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[u] ?? "-"].concat(D.value.filter((y) => !_.value.includes(y.uid)).map((y) => ({
|
|
262
|
-
value: y.values[u] ?? 0,
|
|
263
|
-
percentage: y.values[u] ? y.values[u] / f * 100 : 0
|
|
264
|
-
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
265
|
-
}
|
|
266
|
-
const t = {
|
|
267
|
-
th: {
|
|
268
|
-
backgroundColor: e.value.table.th.backgroundColor,
|
|
269
|
-
color: e.value.table.th.color,
|
|
270
|
-
outline: e.value.table.th.outline
|
|
271
|
-
},
|
|
272
|
-
td: {
|
|
273
|
-
backgroundColor: e.value.table.td.backgroundColor,
|
|
274
|
-
color: e.value.table.td.color,
|
|
275
|
-
outline: e.value.table.td.outline
|
|
276
|
-
},
|
|
277
|
-
breakpoint: e.value.table.responsiveBreakpoint
|
|
278
|
-
}, n = [
|
|
279
|
-
e.value.table.columnNames.period
|
|
280
|
-
].concat(D.value.filter((u) => !_.value.includes(u.uid)).map((u) => u.name)).concat(e.value.table.columnNames.total);
|
|
281
|
-
return { head: l, body: i, config: t, colNames: n };
|
|
282
|
-
});
|
|
283
|
-
function Je() {
|
|
284
|
-
return D.value;
|
|
285
|
-
}
|
|
286
|
-
function ze() {
|
|
287
|
-
at(() => {
|
|
288
|
-
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 = ht(n);
|
|
289
|
-
yt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
290
|
-
});
|
|
291
|
-
}
|
|
292
|
-
const R = p(!1);
|
|
293
|
-
function Qe(l) {
|
|
294
|
-
R.value = l, fe.value += 1;
|
|
295
|
-
}
|
|
296
|
-
function Fe() {
|
|
297
|
-
G.value.showTable = !G.value.showTable;
|
|
298
|
-
}
|
|
299
|
-
const B = p(!1);
|
|
300
|
-
function se() {
|
|
301
|
-
B.value = !B.value;
|
|
302
|
-
}
|
|
303
|
-
return Re({
|
|
304
|
-
getData: Je,
|
|
305
|
-
generatePdf: Ce,
|
|
306
|
-
generateCsv: ze,
|
|
307
|
-
generateImage: we,
|
|
308
|
-
toggleTable: Fe,
|
|
309
|
-
toggleAnnotator: se
|
|
310
|
-
}), (l, i) => (a(), o("div", {
|
|
311
|
-
ref_key: "donutEvolutionChart",
|
|
312
|
-
ref: te,
|
|
313
|
-
class: T(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
314
|
-
style: re(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
315
|
-
id: O.value
|
|
316
|
-
}, [
|
|
317
|
-
e.value.userOptions.buttons.annotator ? (a(), I(wt, {
|
|
318
|
-
key: 0,
|
|
319
|
-
parent: te.value,
|
|
320
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
321
|
-
color: e.value.style.chart.color,
|
|
322
|
-
active: B.value,
|
|
323
|
-
onClose: se
|
|
324
|
-
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
325
|
-
Ge.value ? (a(), o("div", {
|
|
326
|
-
key: 1,
|
|
327
|
-
ref_key: "noTitle",
|
|
328
|
-
ref: Xe,
|
|
329
|
-
class: "vue-data-ui-no-title-space",
|
|
330
|
-
style: "height:36px; width: 100%;background:transparent"
|
|
331
|
-
}, null, 512)) : v("", !0),
|
|
332
|
-
e.value.style.chart.title.text ? (a(), o("div", {
|
|
333
|
-
key: 2,
|
|
334
|
-
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
335
|
-
onMouseleave: Ae
|
|
336
|
-
}, [
|
|
337
|
-
(a(), I(ft, {
|
|
338
|
-
key: `title_${be.value}`,
|
|
339
|
-
config: {
|
|
340
|
-
title: {
|
|
341
|
-
cy: "donut-evolution-div-title",
|
|
342
|
-
...e.value.style.chart.title
|
|
343
|
-
},
|
|
344
|
-
subtitle: {
|
|
345
|
-
cy: "donut-evolution-div-subtitle",
|
|
346
|
-
...e.value.style.chart.title.subtitle
|
|
347
|
-
}
|
|
348
|
-
}
|
|
349
|
-
}, null, 8, ["config"]))
|
|
350
|
-
], 32)) : v("", !0),
|
|
351
|
-
e.value.userOptions.show && X.value ? (a(), I(bt, {
|
|
352
|
-
ref: "details",
|
|
353
|
-
key: `user_options_${fe.value}`,
|
|
354
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
355
|
-
color: e.value.style.chart.color,
|
|
356
|
-
isPrinting: c(ke),
|
|
357
|
-
isImaging: c(_e),
|
|
358
|
-
uid: O.value,
|
|
359
|
-
hasPdf: e.value.userOptions.buttons.pdf,
|
|
360
|
-
hasImg: e.value.userOptions.buttons.img,
|
|
361
|
-
hasXls: e.value.userOptions.buttons.csv,
|
|
362
|
-
hasTable: e.value.userOptions.buttons.table,
|
|
363
|
-
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
364
|
-
isFullscreen: R.value,
|
|
365
|
-
titles: { ...e.value.userOptions.buttonTitles },
|
|
366
|
-
chartElement: te.value,
|
|
367
|
-
position: e.value.userOptions.position,
|
|
368
|
-
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
369
|
-
isAnnotation: B.value,
|
|
370
|
-
onToggleFullscreen: Qe,
|
|
371
|
-
onGeneratePdf: c(Ce),
|
|
372
|
-
onGenerateCsv: ze,
|
|
373
|
-
onGenerateImage: c(we),
|
|
374
|
-
onToggleTable: Fe,
|
|
375
|
-
onToggleAnnotator: se
|
|
376
|
-
}, et({ _: 2 }, [
|
|
377
|
-
l.$slots.optionPdf ? {
|
|
378
|
-
name: "optionPdf",
|
|
379
|
-
fn: F(() => [
|
|
380
|
-
P(l.$slots, "optionPdf", {}, void 0, !0)
|
|
381
|
-
]),
|
|
382
|
-
key: "0"
|
|
383
|
-
} : void 0,
|
|
384
|
-
l.$slots.optionCsv ? {
|
|
385
|
-
name: "optionCsv",
|
|
386
|
-
fn: F(() => [
|
|
387
|
-
P(l.$slots, "optionCsv", {}, void 0, !0)
|
|
388
|
-
]),
|
|
389
|
-
key: "1"
|
|
390
|
-
} : void 0,
|
|
391
|
-
l.$slots.optionImg ? {
|
|
392
|
-
name: "optionImg",
|
|
393
|
-
fn: F(() => [
|
|
394
|
-
P(l.$slots, "optionImg", {}, void 0, !0)
|
|
395
|
-
]),
|
|
396
|
-
key: "2"
|
|
397
|
-
} : void 0,
|
|
398
|
-
l.$slots.optionTable ? {
|
|
399
|
-
name: "optionTable",
|
|
400
|
-
fn: F(() => [
|
|
401
|
-
P(l.$slots, "optionTable", {}, void 0, !0)
|
|
402
|
-
]),
|
|
403
|
-
key: "3"
|
|
404
|
-
} : void 0,
|
|
405
|
-
l.$slots.optionFullscreen ? {
|
|
406
|
-
name: "optionFullscreen",
|
|
407
|
-
fn: F(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
408
|
-
P(l.$slots, "optionFullscreen", Y(K({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
409
|
-
]),
|
|
410
|
-
key: "4"
|
|
411
|
-
} : void 0,
|
|
412
|
-
l.$slots.optionAnnotator ? {
|
|
413
|
-
name: "optionAnnotator",
|
|
414
|
-
fn: F(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
415
|
-
P(l.$slots, "optionAnnotator", Y(K({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
416
|
-
]),
|
|
417
|
-
key: "5"
|
|
418
|
-
} : void 0
|
|
419
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
420
|
-
X.value ? (a(), o("svg", {
|
|
421
|
-
key: 4,
|
|
422
|
-
xmlns: c(vt),
|
|
423
|
-
class: T({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
424
|
-
viewBox: `0 0 ${r.value.absoluteWidth} ${r.value.absoluteHeight}`,
|
|
425
|
-
style: re(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
426
|
-
}, [
|
|
427
|
-
tt(Ct),
|
|
428
|
-
d("defs", null, [
|
|
429
|
-
d("linearGradient", {
|
|
430
|
-
id: `hover_${O.value}`,
|
|
431
|
-
x1: "0%",
|
|
432
|
-
y1: "0%",
|
|
433
|
-
x2: "0%",
|
|
434
|
-
y2: "100%"
|
|
435
|
-
}, [
|
|
436
|
-
d("stop", {
|
|
437
|
-
offset: "0%",
|
|
438
|
-
"stop-color": c(U)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
439
|
-
}, null, 8, Nt),
|
|
440
|
-
d("stop", {
|
|
441
|
-
offset: "100%",
|
|
442
|
-
"stop-color": c(U)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
443
|
-
}, null, 8, zt)
|
|
444
|
-
], 8, St),
|
|
445
|
-
d("radialGradient", {
|
|
446
|
-
id: `focus_${O.value}`
|
|
447
|
-
}, [
|
|
448
|
-
d("stop", {
|
|
449
|
-
offset: "0%",
|
|
450
|
-
"stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
|
|
451
|
-
}, null, 8, Pt),
|
|
452
|
-
d("stop", {
|
|
453
|
-
offset: "77%",
|
|
454
|
-
"stop-color": c(U)("#FFFFFF", 30)
|
|
455
|
-
}, null, 8, Tt),
|
|
456
|
-
d("stop", {
|
|
457
|
-
offset: "100%",
|
|
458
|
-
"stop-color": c(U)(c(ie)(e.value.style.chart.backgroundColor), 0)
|
|
459
|
-
}, null, 8, Dt)
|
|
460
|
-
], 8, Ft)
|
|
461
|
-
]),
|
|
462
|
-
e.value.style.chart.layout.grid.show ? (a(), o("g", It, [
|
|
463
|
-
d("line", {
|
|
464
|
-
x1: s.value.left,
|
|
465
|
-
x2: s.value.left,
|
|
466
|
-
y1: s.value.top,
|
|
467
|
-
y2: s.value.top + r.value.height,
|
|
468
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
469
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
470
|
-
"stroke-linecap": "round"
|
|
471
|
-
}, null, 8, Ot),
|
|
472
|
-
d("line", {
|
|
473
|
-
x1: s.value.left,
|
|
474
|
-
x2: r.value.absoluteWidth - s.value.right,
|
|
475
|
-
y1: r.value.absoluteHeight - s.value.bottom,
|
|
476
|
-
y2: r.value.absoluteHeight - s.value.bottom,
|
|
477
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
478
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
479
|
-
"stroke-linecap": "round"
|
|
480
|
-
}, null, 8, Et),
|
|
481
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", Vt, [
|
|
482
|
-
(a(!0), o(x, null, k(h.value.end - h.value.start, (t, n) => (a(), o("line", {
|
|
483
|
-
x1: s.value.left + (n + 1) * w.value,
|
|
484
|
-
x2: s.value.left + (n + 1) * w.value,
|
|
485
|
-
y1: s.value.top,
|
|
486
|
-
y2: r.value.absoluteHeight - s.value.bottom,
|
|
487
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
488
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
489
|
-
"stroke-linecap": "round"
|
|
490
|
-
}, null, 8, Ht))), 256))
|
|
491
|
-
])) : v("", !0)
|
|
492
|
-
])) : v("", !0),
|
|
493
|
-
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), o("g", {
|
|
494
|
-
key: 1,
|
|
495
|
-
class: T({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value })
|
|
496
|
-
}, [
|
|
497
|
-
(a(!0), o(x, null, k(Ye.value, (t, n) => (a(), o("g", null, [
|
|
498
|
-
t.value >= E.value.min && t.value <= E.value.max ? (a(), o("line", {
|
|
499
|
-
key: 0,
|
|
500
|
-
x1: s.value.left,
|
|
501
|
-
x2: s.value.left - 5,
|
|
502
|
-
y1: t.y,
|
|
503
|
-
y2: t.y,
|
|
504
|
-
stroke: e.value.style.chart.layout.grid.stroke,
|
|
505
|
-
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
506
|
-
}, null, 8, Mt)) : v("", !0),
|
|
507
|
-
t.value >= E.value.min && t.value <= E.value.max ? (a(), o("text", {
|
|
508
|
-
key: 1,
|
|
509
|
-
x: s.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
510
|
-
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
511
|
-
"font-size": e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize,
|
|
512
|
-
"text-anchor": "end",
|
|
513
|
-
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
514
|
-
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
515
|
-
}, b(c(dt)(t.value) ? c(ve)(
|
|
516
|
-
e.value.style.chart.layout.dataLabels.formatter,
|
|
517
|
-
t.value,
|
|
518
|
-
c(Q)({
|
|
519
|
-
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
520
|
-
v: t.value,
|
|
521
|
-
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
522
|
-
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
523
|
-
}),
|
|
524
|
-
{ datapoint: t, seriesIndex: n }
|
|
525
|
-
) : ""), 9, Wt)) : v("", !0)
|
|
526
|
-
]))), 256))
|
|
527
|
-
], 2)) : v("", !0),
|
|
528
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), o("g", {
|
|
529
|
-
key: 2,
|
|
530
|
-
class: T({ "donut-opacity": !0, "donut-behind": $.value })
|
|
531
|
-
}, [
|
|
532
|
-
(a(!0), o(x, null, k(h.value.end - h.value.start, (t, n) => (a(), o("g", null, [
|
|
533
|
-
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", {
|
|
534
|
-
key: 0,
|
|
535
|
-
"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",
|
|
536
|
-
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
537
|
-
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
538
|
-
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})`
|
|
539
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(n) + Number(h.value.start)] ?? ""), 9, Rt)) : v("", !0)
|
|
540
|
-
]))), 256))
|
|
541
|
-
], 2)) : v("", !0),
|
|
542
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", null, [
|
|
543
|
-
e.value.style.chart.layout.line.show && n < C.value.length - 1 && ![t.subtotal, C.value[n + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
544
|
-
key: 0,
|
|
545
|
-
class: T({ "donut-opacity": !0, "donut-behind": g.value !== null || $.value }),
|
|
546
|
-
x1: t.x,
|
|
547
|
-
y1: t.y,
|
|
548
|
-
x2: C.value[n + 1].x,
|
|
549
|
-
y2: C.value[n + 1].y,
|
|
550
|
-
stroke: e.value.style.chart.layout.line.stroke,
|
|
551
|
-
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
552
|
-
"stroke-linecap": "round",
|
|
553
|
-
"stroke-linejoin": "round"
|
|
554
|
-
}, null, 10, Ut)) : v("", !0),
|
|
555
|
-
t.subtotal !== null ? (a(), o("g", Xt, [
|
|
556
|
-
t.subtotal ? (a(), o("circle", {
|
|
557
|
-
key: 0,
|
|
558
|
-
cx: t.x,
|
|
559
|
-
cy: t.y,
|
|
560
|
-
r: t.activeRadius,
|
|
561
|
-
fill: e.value.style.chart.backgroundColor
|
|
562
|
-
}, null, 8, Gt)) : v("", !0)
|
|
563
|
-
])) : v("", !0)
|
|
564
|
-
]))), 256)),
|
|
565
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
|
|
566
|
-
class: T({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
567
|
-
}, [
|
|
568
|
-
t.subtotal ? (a(), o("g", jt, [
|
|
569
|
-
g.value !== null && g.value === n ? (a(), o("g", Bt, [
|
|
570
|
-
(a(!0), o(x, null, k(t.donutHover, (u) => (a(), o("g", null, [
|
|
571
|
-
d("path", {
|
|
572
|
-
d: c(Ee)(u, { x: u.center.endX, y: u.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
573
|
-
stroke: u.color,
|
|
574
|
-
"stroke-width": "1",
|
|
575
|
-
"stroke-linecap": "round",
|
|
576
|
-
"stroke-linejoin": "round",
|
|
577
|
-
fill: "none"
|
|
578
|
-
}, null, 8, Yt)
|
|
579
|
-
]))), 256)),
|
|
580
|
-
(a(!0), o(x, null, k(t.donutHover, (u, f) => (a(), o("g", null, [
|
|
581
|
-
d("text", {
|
|
582
|
-
"data-cy-hover-label": "",
|
|
583
|
-
"text-anchor": c(Z)(u, !0, 0).anchor,
|
|
584
|
-
x: c(Z)(u, !0, 3).x,
|
|
585
|
-
y: c(Ve)(u),
|
|
586
|
-
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
587
|
-
"font-size": 8,
|
|
588
|
-
"font-weight": "bold"
|
|
589
|
-
}, b(u.name) + ": " + b(Le(u, t.donut)) + " (" + b(u.value === null ? "-" : j(u.value, u, f)) + ") ", 9, Kt)
|
|
590
|
-
]))), 256)),
|
|
591
|
-
d("g", null, [
|
|
592
|
-
d("circle", {
|
|
593
|
-
cx: t.x,
|
|
594
|
-
cy: t.y,
|
|
595
|
-
r: t.hoverRadius,
|
|
596
|
-
fill: e.value.style.chart.backgroundColor
|
|
597
|
-
}, null, 8, qt)
|
|
598
|
-
])
|
|
599
|
-
])) : v("", !0)
|
|
600
|
-
])) : v("", !0)
|
|
601
|
-
], 2))), 256)),
|
|
602
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
|
|
603
|
-
class: T({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
604
|
-
}, [
|
|
605
|
-
t.subtotal !== null ? (a(), o("g", Jt, [
|
|
606
|
-
t.subtotal === 0 ? (a(), o("circle", {
|
|
607
|
-
key: 0,
|
|
608
|
-
cx: t.x,
|
|
609
|
-
cy: t.y,
|
|
610
|
-
r: 3,
|
|
611
|
-
fill: e.value.style.chart.color
|
|
612
|
-
}, null, 8, Qt)) : g.value !== null && g.value === n ? (a(), o("g", Zt, [
|
|
613
|
-
(a(!0), o(x, null, k(t.donutHover, (u, f) => (a(), o("path", {
|
|
614
|
-
d: u.arcSlice,
|
|
615
|
-
fill: `${u.color}`,
|
|
616
|
-
"stroke-width": 1,
|
|
617
|
-
stroke: e.value.style.chart.backgroundColor
|
|
618
|
-
}, null, 8, el))), 256))
|
|
619
|
-
])) : (a(), o("g", tl, [
|
|
620
|
-
(a(!0), o(x, null, k(t.donut, (u, f) => (a(), o("path", {
|
|
621
|
-
d: u.arcSlice,
|
|
622
|
-
fill: `${u.color}`,
|
|
623
|
-
"stroke-width": 0.5,
|
|
624
|
-
stroke: e.value.style.chart.backgroundColor
|
|
625
|
-
}, null, 8, ll))), 256))
|
|
626
|
-
]))
|
|
627
|
-
])) : v("", !0)
|
|
628
|
-
], 2))), 256)),
|
|
629
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("g", {
|
|
630
|
-
class: T({ "donut-opacity": !0, "donut-behind": n !== g.value && g.value !== null || $.value })
|
|
631
|
-
}, [
|
|
632
|
-
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
633
|
-
key: 0,
|
|
634
|
-
"text-anchor": "middle",
|
|
635
|
-
x: t.x,
|
|
636
|
-
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,
|
|
637
|
-
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
638
|
-
"font-weight": "bold",
|
|
639
|
-
fill: e.value.style.chart.layout.dataLabels.color
|
|
640
|
-
}, b(j(t.subtotal, t, n)), 9, al)) : v("", !0)
|
|
641
|
-
], 2))), 256)),
|
|
642
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("rect", {
|
|
643
|
-
x: s.value.left + n * w.value,
|
|
644
|
-
y: r.value.absoluteHeight - s.value.bottom - 10,
|
|
645
|
-
width: w.value,
|
|
646
|
-
height: 10,
|
|
647
|
-
fill: g.value === t.index ? `url(#hover_${O.value})` : "transparent",
|
|
648
|
-
onClick: (u) => oe(t, n),
|
|
649
|
-
class: T({ "donut-hover": g.value === t.index && t.subtotal })
|
|
650
|
-
}, null, 10, ol))), 256)),
|
|
651
|
-
(a(!0), o(x, null, k(C.value, (t, n) => (a(), o("rect", {
|
|
652
|
-
"data-cy-trap": "",
|
|
653
|
-
x: s.value.left + n * w.value,
|
|
654
|
-
y: s.value.top,
|
|
655
|
-
width: w.value,
|
|
656
|
-
height: r.value.height,
|
|
657
|
-
fill: "transparent",
|
|
658
|
-
onMouseenter: (u) => Ke(t),
|
|
659
|
-
onMouseleave: Ae,
|
|
660
|
-
onClick: (u) => oe(t, n),
|
|
661
|
-
class: T({ "donut-hover": g.value === t.index && t.subtotal })
|
|
662
|
-
}, null, 42, ul))), 256)),
|
|
663
|
-
$.value ? (a(), o("g", sl, [
|
|
664
|
-
d("rect", {
|
|
665
|
-
rx: 4,
|
|
666
|
-
x: s.value.left,
|
|
667
|
-
y: s.value.top,
|
|
668
|
-
width: r.value.width,
|
|
669
|
-
height: r.value.height,
|
|
670
|
-
fill: e.value.style.chart.backgroundColor,
|
|
671
|
-
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
672
|
-
}, null, 8, nl),
|
|
673
|
-
d("line", {
|
|
674
|
-
"data-html2canvas-ignore": "",
|
|
675
|
-
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
676
|
-
y1: s.value.top + 5,
|
|
677
|
-
x2: r.value.absoluteWidth - s.value.right - 4,
|
|
678
|
-
y2: s.value.top + 15.5,
|
|
679
|
-
"stroke-linecap": "round",
|
|
680
|
-
stroke: e.value.style.chart.color,
|
|
681
|
-
"stroke-width": "1.5"
|
|
682
|
-
}, null, 8, rl),
|
|
683
|
-
d("line", {
|
|
684
|
-
"data-html2canvas-ignore": "",
|
|
685
|
-
x1: r.value.absoluteWidth - s.value.right - 15,
|
|
686
|
-
y2: s.value.top + 5,
|
|
687
|
-
x2: r.value.absoluteWidth - s.value.right - 4,
|
|
688
|
-
y1: s.value.top + 15.5,
|
|
689
|
-
"stroke-linecap": "round",
|
|
690
|
-
stroke: e.value.style.chart.color,
|
|
691
|
-
"stroke-width": "1.5"
|
|
692
|
-
}, null, 8, il),
|
|
693
|
-
d("circle", {
|
|
694
|
-
"data-cy-close": "",
|
|
695
|
-
onClick: $e,
|
|
696
|
-
onKeypress: lt($e, ["enter"]),
|
|
697
|
-
cx: r.value.absoluteWidth - s.value.right - r.value.width / 40,
|
|
698
|
-
cy: s.value.top + r.value.height / 30,
|
|
699
|
-
r: r.value.height / 12,
|
|
700
|
-
fill: "transparent",
|
|
701
|
-
style: { cursor: "pointer" },
|
|
702
|
-
tabindex: "0"
|
|
703
|
-
}, null, 40, cl),
|
|
704
|
-
(a(!0), o(x, null, k(S.value.donutFocus, (t) => (a(), o("g", null, [
|
|
705
|
-
d("path", {
|
|
706
|
-
"data-cy-zoom-donut": "",
|
|
707
|
-
d: c(Ee)(t, { x: r.value.centerX, y: r.value.centerY }, 12, 12, !1, !1, 15),
|
|
708
|
-
stroke: t.color,
|
|
709
|
-
"stroke-width": "1",
|
|
710
|
-
"stroke-linecap": "round",
|
|
711
|
-
"stroke-linejoin": "round",
|
|
712
|
-
fill: "none",
|
|
713
|
-
class: "vue-ui-donut-evolution-focus"
|
|
714
|
-
}, null, 8, vl)
|
|
715
|
-
]))), 256)),
|
|
716
|
-
d("circle", {
|
|
717
|
-
cx: s.value.left + r.value.width / 2,
|
|
718
|
-
cy: s.value.top + r.value.height / 2,
|
|
719
|
-
r: r.value.height / 7,
|
|
720
|
-
fill: e.value.style.chart.backgroundColor
|
|
721
|
-
}, null, 8, dl),
|
|
722
|
-
(a(!0), o(x, null, k(S.value.donutFocus, (t, n) => (a(), o("path", {
|
|
723
|
-
d: t.arcSlice,
|
|
724
|
-
fill: `${t.color}`,
|
|
725
|
-
"stroke-width": 1,
|
|
726
|
-
stroke: e.value.style.chart.backgroundColor,
|
|
727
|
-
class: "vue-ui-donut-evolution-focus"
|
|
728
|
-
}, null, 8, hl))), 256)),
|
|
729
|
-
(a(!0), o(x, null, k(S.value.donutFocus, (t, n) => (a(), o("g", yl, [
|
|
730
|
-
d("text", {
|
|
731
|
-
"text-anchor": c(Z)(t, !0, 20).anchor,
|
|
732
|
-
x: c(Z)(t, !0, 10).x,
|
|
733
|
-
y: c(Ve)(t),
|
|
734
|
-
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
735
|
-
"font-size": 10,
|
|
736
|
-
"font-weight": "bold"
|
|
737
|
-
}, b(t.name) + ": " + b(Le(t, S.value.donutFocus)) + " (" + b(t.value === null ? "-" : j(t.value, t, n)) + ") ", 9, fl)
|
|
738
|
-
]))), 256)),
|
|
739
|
-
d("circle", {
|
|
740
|
-
cx: s.value.left + r.value.width / 2,
|
|
741
|
-
cy: s.value.top + r.value.height / 2,
|
|
742
|
-
r: r.value.height / 3.8,
|
|
743
|
-
fill: `url(#focus_${O.value})`
|
|
744
|
-
}, null, 8, gl),
|
|
745
|
-
d("circle", {
|
|
746
|
-
cx: s.value.left + r.value.width / 2,
|
|
747
|
-
cy: s.value.top + r.value.height / 2,
|
|
748
|
-
r: r.value.height / 7.7,
|
|
749
|
-
fill: e.value.style.chart.backgroundColor
|
|
750
|
-
}, null, 8, bl),
|
|
751
|
-
d("text", {
|
|
752
|
-
"text-anchor": "middle",
|
|
753
|
-
x: s.value.left + r.value.width / 2,
|
|
754
|
-
y: s.value.top + r.value.height / 2 + 14 / 3,
|
|
755
|
-
"font-size": 14,
|
|
756
|
-
"font-weight": "bold",
|
|
757
|
-
fill: e.value.style.chart.layout.dataLabels.color,
|
|
758
|
-
class: "vue-ui-donut-evolution-focus"
|
|
759
|
-
}, b(j(S.value.subtotal, S.value, null)), 9, ml),
|
|
760
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[S.value.index] ? (a(), o("text", {
|
|
761
|
-
key: 0,
|
|
762
|
-
x: s.value.left + 6,
|
|
763
|
-
y: s.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
764
|
-
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
765
|
-
fill: e.value.style.chart.layout.dataLabels.color
|
|
766
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(S.value.index) + Number(h.value.start)]), 9, pl)) : v("", !0)
|
|
767
|
-
])) : v("", !0),
|
|
768
|
-
P(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
769
|
-
], 14, $t)) : v("", !0),
|
|
770
|
-
l.$slots.watermark ? (a(), o("div", xl, [
|
|
771
|
-
P(l.$slots, "watermark", Y(K({ isPrinting: c(ke) || c(_e) })), void 0, !0)
|
|
772
|
-
])) : v("", !0),
|
|
773
|
-
X.value ? v("", !0) : (a(), I(xt, {
|
|
774
|
-
key: 6,
|
|
775
|
-
config: {
|
|
776
|
-
type: "donutEvolution",
|
|
777
|
-
style: {
|
|
778
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
779
|
-
donutEvolution: {
|
|
780
|
-
axis: {
|
|
781
|
-
color: "#CCCCCC"
|
|
782
|
-
},
|
|
783
|
-
donuts: {
|
|
784
|
-
color: "#CCCCCC"
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
}
|
|
788
|
-
}
|
|
789
|
-
}, null, 8, ["config"])),
|
|
790
|
-
W.value > 1 && e.value.style.chart.zoom.show ? (a(), I(kt, {
|
|
791
|
-
key: `slicer_${ge.value}`,
|
|
792
|
-
background: e.value.style.chart.zoom.color,
|
|
793
|
-
borderColor: e.value.style.chart.backgroundColor,
|
|
794
|
-
fontSize: e.value.style.chart.zoom.fontSize,
|
|
795
|
-
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
796
|
-
labelLeft: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.start)] || "",
|
|
797
|
-
labelRight: e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(h.value.end) - 1] || "",
|
|
798
|
-
textColor: e.value.style.chart.color,
|
|
799
|
-
inputColor: e.value.style.chart.zoom.color,
|
|
800
|
-
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
801
|
-
max: W.value,
|
|
802
|
-
min: 0,
|
|
803
|
-
valueStart: h.value.start,
|
|
804
|
-
valueEnd: h.value.end,
|
|
805
|
-
start: h.value.start,
|
|
806
|
-
"onUpdate:start": i[0] || (i[0] = (t) => h.value.start = t),
|
|
807
|
-
end: h.value.end,
|
|
808
|
-
"onUpdate:end": i[1] || (i[1] = (t) => h.value.end = t),
|
|
809
|
-
onReset: he
|
|
810
|
-
}, {
|
|
811
|
-
"reset-action": F(({ reset: t }) => [
|
|
812
|
-
P(l.$slots, "reset-action", Y(K({ reset: t })), void 0, !0)
|
|
813
|
-
]),
|
|
814
|
-
_: 3
|
|
815
|
-
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : v("", !0),
|
|
816
|
-
e.value.style.chart.legend.show ? (a(), I(pt, {
|
|
817
|
-
key: `legend_${pe.value}`,
|
|
818
|
-
legendSet: Se.value,
|
|
819
|
-
config: qe.value,
|
|
820
|
-
onClickMarker: i[2] || (i[2] = ({ legend: t }) => ue(t.uid))
|
|
821
|
-
}, {
|
|
822
|
-
item: F(({ legend: t, index: n }) => [
|
|
823
|
-
d("div", {
|
|
824
|
-
"data-cy-legend-item": "",
|
|
825
|
-
onClick: (u) => ue(t.uid),
|
|
826
|
-
style: re(`opacity:${_.value.includes(t.uid) ? 0.5 : 1}`)
|
|
827
|
-
}, [
|
|
828
|
-
De(b(t.name) + ": " + b(c(ve)(
|
|
829
|
-
e.value.style.chart.layout.dataLabels.formatter,
|
|
830
|
-
t.value,
|
|
831
|
-
c(Q)({
|
|
832
|
-
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
833
|
-
v: t.value,
|
|
834
|
-
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
835
|
-
r: e.value.style.chart.legend.roundingValue
|
|
836
|
-
}),
|
|
837
|
-
{ datapoint: t, seriesIndex: n }
|
|
838
|
-
)) + " ", 1),
|
|
839
|
-
_.value.includes(t.uid) ? (a(), o("span", Cl, " ( - % ) ")) : (a(), o("span", _l, " (" + b(isNaN(t.value / Ne.value) ? "-" : c(Q)({
|
|
840
|
-
v: t.value / Ne.value * 100,
|
|
841
|
-
s: "%",
|
|
842
|
-
r: e.value.style.chart.legend.roundingPercentage
|
|
843
|
-
})) + ") ", 1))
|
|
844
|
-
], 12, kl)
|
|
845
|
-
]),
|
|
846
|
-
_: 1
|
|
847
|
-
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
848
|
-
P(l.$slots, "legend", { legend: Se.value }, void 0, !0),
|
|
849
|
-
l.$slots.source ? (a(), o("div", wl, [
|
|
850
|
-
P(l.$slots, "source", {}, void 0, !0)
|
|
851
|
-
], 512)) : v("", !0),
|
|
852
|
-
X.value ? (a(), I(_t, {
|
|
853
|
-
key: 10,
|
|
854
|
-
hideDetails: "",
|
|
855
|
-
config: {
|
|
856
|
-
open: G.value.showTable,
|
|
857
|
-
maxHeight: 1e4,
|
|
858
|
-
body: {
|
|
859
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
860
|
-
color: e.value.style.chart.color
|
|
861
|
-
},
|
|
862
|
-
head: {
|
|
863
|
-
backgroundColor: e.value.style.chart.backgroundColor,
|
|
864
|
-
color: e.value.style.chart.color
|
|
865
|
-
}
|
|
866
|
-
}
|
|
867
|
-
}, {
|
|
868
|
-
content: F(() => [
|
|
869
|
-
(a(), I(mt, {
|
|
870
|
-
key: `table_${me.value}`,
|
|
871
|
-
colNames: V.value.colNames,
|
|
872
|
-
head: V.value.head,
|
|
873
|
-
body: V.value.body,
|
|
874
|
-
config: V.value.config,
|
|
875
|
-
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
876
|
-
onClose: i[3] || (i[3] = (t) => G.value.showTable = !1)
|
|
877
|
-
}, {
|
|
878
|
-
th: F(({ th: t }) => [
|
|
879
|
-
De(b(t.name ?? t), 1)
|
|
880
|
-
]),
|
|
881
|
-
td: F(({ td: t }) => [
|
|
882
|
-
t.value === null ? (a(), o("span", Ll, "-")) : (a(), o("b", Al, 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)),
|
|
883
|
-
d("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
884
|
-
]),
|
|
885
|
-
_: 1
|
|
886
|
-
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
887
|
-
]),
|
|
888
|
-
_: 1
|
|
889
|
-
}, 8, ["config"])) : v("", !0)
|
|
890
|
-
], 14, At));
|
|
891
|
-
}
|
|
892
|
-
}, Wl = /* @__PURE__ */ Lt($l, [["__scopeId", "data-v-800b47b9"]]);
|
|
893
|
-
export {
|
|
894
|
-
Wl as default
|
|
895
|
-
};
|