vue-data-ui 2.6.18 → 2.6.20
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 +8 -0
- package/dist/{Arrow-Ci41JBXA.js → Arrow-C9wt_iwE.js} +1 -1
- package/dist/{Arrow-C-haYOvL.cjs → Arrow-mU42Peiq.cjs} +1 -1
- package/dist/{BaseIcon-D0Ifzd3J.js → BaseIcon-CR8s5lLC.js} +1 -1
- package/dist/{BaseIcon-Brc1PN_Z.cjs → BaseIcon-DMhDupLt.cjs} +1 -1
- package/dist/{DataTable-BH56SPdO.js → DataTable-CMUyDj6S.js} +2 -2
- package/dist/{DataTable-AQsQHTem.cjs → DataTable-Qba16zLZ.cjs} +1 -1
- package/dist/{Legend-w7VxyGN0.js → Legend-CaMKYW-V.js} +2 -2
- package/dist/{Legend-CNiGY3Yx.cjs → Legend-EauKcdAx.cjs} +1 -1
- package/dist/{PackageVersion-D1edJun6.js → PackageVersion-CURzw4q1.js} +1 -1
- package/dist/{PackageVersion-DO_17qoR.cjs → PackageVersion-Vv7wNIAl.cjs} +1 -1
- package/dist/{PenAndPaper-DWnLI5jM.js → PenAndPaper-CjiJra09.js} +3 -3
- package/dist/{PenAndPaper-BPAfK8a6.cjs → PenAndPaper-DSEAEpTs.cjs} +1 -1
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Bnwg64-7.js → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-BzSorLrT.js} +3 -3
- package/dist/{PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-Cw1RBp7H.cjs → PenAndPaper.vue_vue_type_style_index_0_scoped_c968a401_lang-DB_DsgPX.cjs} +1 -1
- package/dist/{Shape-RfSE_FzV.js → Shape-F5v4f45p.js} +1 -1
- package/dist/{Shape-J26jxMZ5.cjs → Shape-gLknKTb6.cjs} +1 -1
- package/dist/{Slicer-oASHP3Lx.cjs → Slicer-CVVRixhP.cjs} +1 -1
- package/dist/{Slicer-DMdxtlpr.js → Slicer-DQp19cm1.js} +2 -2
- package/dist/{Title-xfHZTDT9.js → Title-CUHNtIyE.js} +1 -1
- package/dist/{Title-ypQseB5s.cjs → Title-m1x23s4w.cjs} +1 -1
- package/dist/{Tooltip-DQZLR6XD.cjs → Tooltip-BXY2gKbA.cjs} +1 -1
- package/dist/{Tooltip-CF9cKbnr.js → Tooltip-BuAQ8HVL.js} +1 -1
- package/dist/{index-CkqI12gj.cjs → index-CmhvuQro.cjs} +1 -1
- package/dist/{index-Df45PKBw.js → index-Cq7-va_5.js} +2 -2
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-BaSIdRPe.js → useNestedProp-BEyJNlaO.js} +1 -1
- package/dist/{useNestedProp-B5QzQ7cl.cjs → useNestedProp-CnH-XcZU.cjs} +1 -1
- package/dist/usePrinter-DhZH4pcR.cjs +1 -0
- package/dist/{usePrinter-MC5pKUx5.js → usePrinter-jRjc8Naz.js} +72 -70
- package/dist/{vue-data-ui-BiXf5MnL.js → vue-data-ui-BPSCRfcK.js} +61 -61
- package/dist/{vue-data-ui--Yx3VAj0.cjs → vue-data-ui-DD5SV4SW.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BXW-ZMgi.cjs → vue-ui-3d-bar-BlCSdagh.cjs} +2 -2
- package/dist/{vue-ui-3d-bar-DBJJ2kqD.js → vue-ui-3d-bar-TB1XdncJ.js} +105 -98
- package/dist/{vue-ui-accordion-4ngKbp5a.cjs → vue-ui-accordion-C3Ljak65.cjs} +1 -1
- package/dist/{vue-ui-accordion-BbCvey8w.js → vue-ui-accordion-vAQ_LLoP.js} +3 -3
- package/dist/{vue-ui-age-pyramid-04E6Wqie.js → vue-ui-age-pyramid-BUWoRp_B.js} +75 -68
- package/dist/{vue-ui-age-pyramid-Cpi72E7Q.cjs → vue-ui-age-pyramid-CrDKpPil.cjs} +1 -1
- package/dist/{vue-ui-annotator-tv-3u5J-.js → vue-ui-annotator-BVE-xqSy.js} +1 -1
- package/dist/{vue-ui-annotator-BzdyBaoy.cjs → vue-ui-annotator-wjsB7Ihy.cjs} +1 -1
- package/dist/{vue-ui-bullet-B-UjWb-f.cjs → vue-ui-bullet-BcU0lGMw.cjs} +4 -4
- package/dist/{vue-ui-bullet-B0jpb3iz.js → vue-ui-bullet-Cj4GC_-F.js} +145 -138
- package/dist/{vue-ui-candlestick-Cx6UAvss.js → vue-ui-candlestick-C2hAp3Fi.js} +115 -108
- package/dist/{vue-ui-candlestick-DEK3P-Tu.cjs → vue-ui-candlestick-n--kSbN7.cjs} +2 -2
- package/dist/{vue-ui-carousel-table-BPvJKE6W.cjs → vue-ui-carousel-table-CU96d16y.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bk6LMH1D.js → vue-ui-carousel-table-Do1uzI_G.js} +130 -123
- package/dist/{vue-ui-chestnut-DKesYDji.cjs → vue-ui-chestnut-DJq8IWIL.cjs} +2 -2
- package/dist/{vue-ui-chestnut-BLYeNCKN.js → vue-ui-chestnut-fb3ioT4a.js} +131 -124
- package/dist/{vue-ui-circle-pack-DF8CPgPU.js → vue-ui-circle-pack-DByIHOMA.js} +165 -158
- package/dist/{vue-ui-circle-pack-D_2k6N20.cjs → vue-ui-circle-pack-DnwKX38S.cjs} +1 -1
- package/dist/{vue-ui-cursor-B29UJWQo.cjs → vue-ui-cursor-DSCiOK2l.cjs} +1 -1
- package/dist/{vue-ui-cursor-DySRIo_p.js → vue-ui-cursor-scYLETJY.js} +2 -2
- package/dist/{vue-ui-dashboard-5JkE1uRk.cjs → vue-ui-dashboard-BBDfkeCW.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CHO6UMlJ.js → vue-ui-dashboard-DjxJGI1j.js} +2 -2
- package/dist/{vue-ui-digits-D5h4HAzq.js → vue-ui-digits-7bQAdMhs.js} +2 -2
- package/dist/{vue-ui-digits-DvANBwd7.cjs → vue-ui-digits-Cmn1NNzQ.cjs} +1 -1
- package/dist/{vue-ui-donut-DLaBSyI4.cjs → vue-ui-donut-C291KoIU.cjs} +1 -1
- package/dist/{vue-ui-donut-rVvCGOGk.js → vue-ui-donut-RJQUTfyW.js} +117 -110
- package/dist/{vue-ui-donut-evolution-DjGFFyxj.js → vue-ui-donut-evolution-DPW_ITH8.js} +164 -157
- package/dist/{vue-ui-donut-evolution-B06eelN-.cjs → vue-ui-donut-evolution-Dp15D88c.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-B3AlzGCf.js → vue-ui-dumbbell-B8Zm8EVd.js} +74 -67
- package/dist/{vue-ui-dumbbell-9Oy-W4-B.cjs → vue-ui-dumbbell-BdEUvUV7.cjs} +2 -2
- package/dist/{vue-ui-flow-1eYWWjX-.js → vue-ui-flow-BNIgPNGy.js} +177 -170
- package/dist/{vue-ui-flow-BakKHKRq.cjs → vue-ui-flow-BukV6_Zl.cjs} +1 -1
- package/dist/{vue-ui-funnel-uSID1YS9.js → vue-ui-funnel-BrPqtGct.js} +128 -121
- package/dist/{vue-ui-funnel-IbAUMuoN.cjs → vue-ui-funnel-CIgZpg3T.cjs} +1 -1
- package/dist/{vue-ui-galaxy-3ksrzeio.js → vue-ui-galaxy-D1IYOUwX.js} +77 -70
- package/dist/{vue-ui-galaxy-BFGRkm7x.cjs → vue-ui-galaxy-FGqZ4tWB.cjs} +1 -1
- package/dist/{vue-ui-gauge-DgPnw4Q5.cjs → vue-ui-gauge-B00JvBFF.cjs} +1 -1
- package/dist/{vue-ui-gauge-DxUp_-uc.js → vue-ui-gauge-BsOXy5MV.js} +152 -145
- package/dist/{vue-ui-gizmo-Dw9HiCwa.js → vue-ui-gizmo-Cyl89etd.js} +3 -3
- package/dist/{vue-ui-gizmo-4T51Z8I8.cjs → vue-ui-gizmo-D_uv6qkV.cjs} +1 -1
- package/dist/vue-ui-heatmap-CGg2_xWH.cjs +1 -0
- package/dist/{vue-ui-heatmap-CwtUNQu0.js → vue-ui-heatmap-CgF4n8Bh.js} +139 -132
- package/dist/{vue-ui-history-plot-CC7sYtWu.cjs → vue-ui-history-plot-DR11Ips0.cjs} +1 -1
- package/dist/{vue-ui-history-plot-BaV1bX_U.js → vue-ui-history-plot-Rdjb-yOk.js} +121 -114
- package/dist/{vue-ui-kpi-DiuK6mKA.js → vue-ui-kpi-COfnJm-X.js} +3 -3
- package/dist/{vue-ui-kpi-DxXlf8be.cjs → vue-ui-kpi-CbAgFb-9.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-DQ_oXH1a.cjs → vue-ui-mini-loader-CizZv79e.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-Kwzi6dLA.js → vue-ui-mini-loader-DNM7jU2W.js} +2 -2
- package/dist/{vue-ui-molecule-Bfhay2Cw.cjs → vue-ui-molecule-CiOIVjFk.cjs} +1 -1
- package/dist/{vue-ui-molecule-BMiNGYBh.js → vue-ui-molecule-Cv6jp9D_.js} +249 -242
- package/dist/{vue-ui-mood-radar-j2_LSQyN.js → vue-ui-mood-radar-B-VE2pVS.js} +111 -104
- package/dist/{vue-ui-mood-radar-C6CXwCzk.cjs → vue-ui-mood-radar-CoHouhrl.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-CVsN5wLZ.js → vue-ui-nested-donuts-D-7tn_Qe.js} +116 -109
- package/dist/{vue-ui-nested-donuts-BEb5qHRa.cjs → vue-ui-nested-donuts-ITcu4gJW.cjs} +2 -2
- package/dist/{vue-ui-onion-DlqFOcMu.js → vue-ui-onion-B4SgCj8L.js} +143 -136
- package/dist/{vue-ui-onion-C-y9Jsfq.cjs → vue-ui-onion-fzXsWjjI.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-t2isL1XO.cjs → vue-ui-parallel-coordinate-plot-CTFOY5xi.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DxwECisr.js → vue-ui-parallel-coordinate-plot-CpQOyh-W.js} +112 -105
- package/dist/{vue-ui-quadrant-DMYZ6Rbh.cjs → vue-ui-quadrant-ByRNr-XD.cjs} +1 -1
- package/dist/{vue-ui-quadrant-rVy92h_8.js → vue-ui-quadrant-DhODDM5V.js} +111 -104
- package/dist/{vue-ui-quick-chart-CE-Qg_jo.cjs → vue-ui-quick-chart-BsQAMw9M.cjs} +3 -3
- package/dist/{vue-ui-quick-chart-DkUCMlp7.js → vue-ui-quick-chart-DpeGH277.js} +194 -187
- package/dist/{vue-ui-radar-j-mDD4Dn.js → vue-ui-radar-CWkrni4Y.js} +100 -93
- package/dist/{vue-ui-radar-DkL4kk1W.cjs → vue-ui-radar-D-qttZKw.cjs} +1 -1
- package/dist/{vue-ui-rating-K_pyDN_G.cjs → vue-ui-rating-CY25IY75.cjs} +1 -1
- package/dist/{vue-ui-rating-CpvfKsg0.js → vue-ui-rating-DB4nQsuM.js} +2 -2
- package/dist/{vue-ui-relation-circle-O0d-4bj0.js → vue-ui-relation-circle-B_PxY9ZN.js} +102 -95
- package/dist/{vue-ui-relation-circle-ChFxKSb0.cjs → vue-ui-relation-circle-KDFaFqqu.cjs} +1 -1
- package/dist/{vue-ui-rings-Cv5WcU9y.cjs → vue-ui-rings-C1Upd5ja.cjs} +2 -2
- package/dist/{vue-ui-rings-DK-HgFva.js → vue-ui-rings-D5-sTr38.js} +168 -161
- package/dist/{vue-ui-scatter-BHCYJgHS.cjs → vue-ui-scatter-B-aqlIcn.cjs} +1 -1
- package/dist/{vue-ui-scatter-CTmhFDqS.js → vue-ui-scatter-C8cn3MR5.js} +85 -78
- package/dist/{vue-ui-screenshot-Ci56oD2d.cjs → vue-ui-screenshot-D9EV_KXZ.cjs} +1 -1
- package/dist/{vue-ui-screenshot-Bpp3trys.js → vue-ui-screenshot-kQRZJHLO.js} +1 -1
- package/dist/{vue-ui-skeleton-BIYEApQO.js → vue-ui-skeleton-DIrE1OTF.js} +3 -3
- package/dist/{vue-ui-skeleton-CKwwTTRF.cjs → vue-ui-skeleton-DyJu1ibj.cjs} +1 -1
- package/dist/{vue-ui-smiley-BjcqO7zZ.cjs → vue-ui-smiley-B7dNRQyO.cjs} +1 -1
- package/dist/{vue-ui-smiley-B5ufG407.js → vue-ui-smiley-DVjsjIa4.js} +2 -2
- package/dist/{vue-ui-spark-trend-qz-BtG6X.cjs → vue-ui-spark-trend-DRtaXADG.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-DnB59fUO.js → vue-ui-spark-trend-DsUy3aw-.js} +5 -5
- package/dist/{vue-ui-sparkbar-D_sMmqjC.js → vue-ui-sparkbar-Dm8xksUj.js} +4 -4
- package/dist/{vue-ui-sparkbar-DQ-IFuy6.cjs → vue-ui-sparkbar-x0F1llCZ.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Ce5NGB8P.cjs → vue-ui-sparkgauge-B4DRMVOW.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-76-wdTdR.js → vue-ui-sparkgauge-_gF53YgV.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DviUQdRD.js → vue-ui-sparkhistogram-CD_0ihS9.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-DcSCtmaT.cjs → vue-ui-sparkhistogram-CIMJUDlb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-C75odp3q.js → vue-ui-sparkline-Cs0h6tKI.js} +6 -6
- package/dist/{vue-ui-sparkline-_nWAin6t.cjs → vue-ui-sparkline-DzOL1IDW.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-pRfBTPV0.cjs → vue-ui-sparkstackbar-BBz1lDg0.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-JgAJd1j5.js → vue-ui-sparkstackbar-Dhula5ka.js} +5 -5
- package/dist/{vue-ui-stackbar-DK4W1meR.cjs → vue-ui-stackbar-BuUtwfyC.cjs} +3 -3
- package/dist/{vue-ui-stackbar-Ctym-Udc.js → vue-ui-stackbar-DanAQnBd.js} +210 -203
- package/dist/{vue-ui-strip-plot-BU6tkAvd.cjs → vue-ui-strip-plot-95uUJ2fc.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-BLmj_-sa.js → vue-ui-strip-plot-DIlGTBzG.js} +82 -75
- package/dist/{vue-ui-table-Cvt9DTpO.cjs → vue-ui-table-CDS7xlZS.cjs} +1 -1
- package/dist/{vue-ui-table-Bot5LadX.js → vue-ui-table-FKZF6cxI.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DE1swMTl.js → vue-ui-table-heatmap-BcGX_vpU.js} +63 -56
- package/dist/{vue-ui-table-heatmap-fALEi4E_.cjs → vue-ui-table-heatmap-qVmiG576.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CWGl8LJc.js → vue-ui-table-sparkline-CVY9EZ7Q.js} +90 -83
- package/dist/{vue-ui-table-sparkline-pQlBn8xE.cjs → vue-ui-table-sparkline-CnVFXbUB.cjs} +1 -1
- package/dist/{vue-ui-thermometer-N5j1BAqA.cjs → vue-ui-thermometer-BTer1qaq.cjs} +1 -1
- package/dist/{vue-ui-thermometer-DDOVwF0r.js → vue-ui-thermometer-tcTgQiAu.js} +113 -106
- package/dist/{vue-ui-timer-CQ9pLz7T.cjs → vue-ui-timer-CmLGKRcK.cjs} +1 -1
- package/dist/{vue-ui-timer-1zEhowHL.js → vue-ui-timer-DO_VKZHm.js} +5 -5
- package/dist/{vue-ui-tiremarks-zlgbR7II.js → vue-ui-tiremarks-BKnAiR_H.js} +76 -69
- package/dist/{vue-ui-tiremarks-DOXxQKUB.cjs → vue-ui-tiremarks-BPxAgMQx.cjs} +1 -1
- package/dist/{vue-ui-treemap-ZJAvws86.cjs → vue-ui-treemap-BnKYnm8A.cjs} +1 -1
- package/dist/{vue-ui-treemap-C7oZrYCa.js → vue-ui-treemap-oE2QDc_9.js} +143 -136
- package/dist/{vue-ui-vertical-bar-rtqu_UjN.js → vue-ui-vertical-bar-BfFnXSO5.js} +119 -112
- package/dist/{vue-ui-vertical-bar-BFeF_dBM.cjs → vue-ui-vertical-bar-CHUZAnfv.cjs} +3 -3
- package/dist/{vue-ui-waffle-C0E54-ms.cjs → vue-ui-waffle-DxL_bhhX.cjs} +1 -1
- package/dist/{vue-ui-waffle-CgsNawVA.js → vue-ui-waffle-YwQAGMlZ.js} +77 -70
- package/dist/{vue-ui-wheel-StQOeYIO.cjs → vue-ui-wheel-CbEf5uhL.cjs} +1 -1
- package/dist/{vue-ui-wheel-Cm7g8eux.js → vue-ui-wheel-gZQIZUx1.js} +104 -97
- package/dist/{vue-ui-word-cloud-qNxRgN5J.js → vue-ui-word-cloud-CXpfOcDf.js} +122 -115
- package/dist/{vue-ui-word-cloud-Bc31_IfR.cjs → vue-ui-word-cloud-Ddmhs5i-.cjs} +1 -1
- package/dist/{vue-ui-xy-wbWmX1Zh.cjs → vue-ui-xy-BFdih9uG.cjs} +2 -2
- package/dist/{vue-ui-xy-BTjOTcAY.js → vue-ui-xy-BHGNHgRk.js} +72 -65
- package/dist/{vue-ui-xy-canvas-BpyntzCo.js → vue-ui-xy-canvas-BFZjHXBj.js} +200 -193
- package/dist/{vue-ui-xy-canvas-BljjkGUh.cjs → vue-ui-xy-canvas-hM1oa-dn.cjs} +2 -2
- package/package.json +1 -1
- package/dist/usePrinter-DB2FudbZ.cjs +0 -1
- package/dist/vue-ui-heatmap-Bz5l9BbM.cjs +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { computed as p, ref as b, onMounted as it, watch as Re, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as
|
|
2
|
-
import { u as ht, o as yt, e as Z, g as ft, c as Ue, t as gt, p as ee, a as bt, C as We, b as mt, d as ve, J as xt, D as Xe, m as de, X as pt, s as
|
|
3
|
-
import { _ as wt } from "./Title-
|
|
4
|
-
import { u as zt, U as Lt } from "./usePrinter-
|
|
5
|
-
import { D as St } from "./DataTable-
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as Ye } from "./useNestedProp-
|
|
11
|
-
import { _ as Ft } from "./PackageVersion-
|
|
12
|
-
import { P as Pt } from "./PenAndPaper-
|
|
1
|
+
import { computed as p, ref as b, onMounted as it, watch as Re, createElementBlock as o, openBlock as a, unref as c, normalizeStyle as Q, normalizeClass as P, createBlock as D, createCommentVNode as v, renderSlot as S, createSlots as ct, withCtx as $, normalizeProps as G, guardReactiveProps as j, createVNode as vt, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as m, withKeys as dt, createTextVNode as Me, nextTick as B } from "vue";
|
|
2
|
+
import { u as ht, o as yt, e as Z, g as ft, c as Ue, t as gt, p as ee, a as bt, C as We, b as mt, d as ve, J as xt, D as Xe, m as de, X as pt, s as Y, E as kt, i as he, f as te, j as Ge, k as je, n as le, q as _t, r as Ct, K as Be } from "./index-Cq7-va_5.js";
|
|
3
|
+
import { _ as wt } from "./Title-CUHNtIyE.js";
|
|
4
|
+
import { u as zt, U as Lt } from "./usePrinter-jRjc8Naz.js";
|
|
5
|
+
import { D as St } from "./DataTable-CMUyDj6S.js";
|
|
6
|
+
import { L as $t } from "./Legend-CaMKYW-V.js";
|
|
7
|
+
import At from "./vue-ui-skeleton-DIrE1OTF.js";
|
|
8
|
+
import { S as It } from "./Slicer-DQp19cm1.js";
|
|
9
|
+
import Nt from "./vue-ui-accordion-vAQ_LLoP.js";
|
|
10
|
+
import { u as Ye } from "./useNestedProp-BEyJNlaO.js";
|
|
11
|
+
import { _ as Ft } from "./PackageVersion-CURzw4q1.js";
|
|
12
|
+
import { P as Pt } from "./PenAndPaper-CjiJra09.js";
|
|
13
13
|
import { u as Ot } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
14
|
import { u as Dt } from "./useChartAccessibility-BWojgys7.js";
|
|
15
15
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
@@ -17,7 +17,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
17
17
|
key: 4,
|
|
18
18
|
"data-cy-zoom": "",
|
|
19
19
|
class: "vue-ui-donut-evolution-dialog"
|
|
20
|
-
}, xl = ["x", "y", "width", "height", "fill"], pl = ["x1", "y1", "x2", "y2", "stroke"], kl = ["x1", "y2", "x2", "y1", "stroke"], _l = ["cx", "cy", "r"], Cl = ["d", "stroke"], wl = ["cx", "cy", "r", "fill"], zl = ["d", "fill", "stroke"], Ll = { class: "vue-ui-donut-evolution-focus" }, Sl = ["text-anchor", "x", "y", "fill"],
|
|
20
|
+
}, xl = ["x", "y", "width", "height", "fill"], pl = ["x1", "y1", "x2", "y2", "stroke"], kl = ["x1", "y2", "x2", "y1", "stroke"], _l = ["cx", "cy", "r"], Cl = ["d", "stroke"], wl = ["cx", "cy", "r", "fill"], zl = ["d", "fill", "stroke"], Ll = { class: "vue-ui-donut-evolution-focus" }, Sl = ["text-anchor", "x", "y", "fill"], $l = ["cx", "cy", "r", "fill"], Al = ["cx", "cy", "r", "fill"], Il = ["x", "y", "fill"], Nl = ["x", "y", "font-size", "fill"], Fl = {
|
|
21
21
|
key: 5,
|
|
22
22
|
class: "vue-data-ui-watermark"
|
|
23
23
|
}, Pl = ["onClick"], Ol = { key: 0 }, Dl = { key: 1 }, Tl = {
|
|
@@ -42,7 +42,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
42
42
|
},
|
|
43
43
|
emits: ["selectLegend"],
|
|
44
44
|
setup(Ke, { expose: qe, emit: Je }) {
|
|
45
|
-
const { vue_ui_donut_evolution: Qe } = ht(), x = Ke,
|
|
45
|
+
const { vue_ui_donut_evolution: Qe } = ht(), x = Ke, K = p(() => !!x.dataset && x.dataset.length), h = b({
|
|
46
46
|
start: 0,
|
|
47
47
|
end: Math.max(...x.dataset.map((l) => l.values.length))
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
51
51
|
}
|
|
52
52
|
const V = b(null);
|
|
53
53
|
async function fe() {
|
|
54
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await
|
|
54
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await B(), await B(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await B(), await B(), V.value && V.value.setEndValue(Ze(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
55
55
|
start: 0,
|
|
56
56
|
end: E.value
|
|
57
57
|
}, xe.value += 1);
|
|
@@ -81,7 +81,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
81
81
|
});
|
|
82
82
|
}), fe();
|
|
83
83
|
}
|
|
84
|
-
const T = b(Ue()), C = b([]), g = b(null), ae = b(null), A = b(!1),
|
|
84
|
+
const T = b(Ue()), C = b([]), g = b(null), ae = b(null), A = b(!1), I = b(null), be = b(null), et = b(null), me = b(0), xe = b(0), pe = b(0), ke = b(0), _e = b(0), Ce = Je, e = p({
|
|
85
85
|
get: () => Se(),
|
|
86
86
|
set: (l) => l
|
|
87
87
|
}), { userOptionsVisible: oe, setUserOptionsVisibility: we, keepUserOptionState: ze } = Ot({ config: e.value }), { svgRef: Le } = Dt({ config: e.value.style.chart.title });
|
|
@@ -104,7 +104,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
104
104
|
}, { deep: !0 }), Re(() => x.dataset, (l) => {
|
|
105
105
|
ye();
|
|
106
106
|
}, { deep: !0 });
|
|
107
|
-
const { isPrinting:
|
|
107
|
+
const { isPrinting: $e, isImaging: Ae, generatePdf: Ie, generateImage: Ne } = zt({
|
|
108
108
|
elementId: T.value,
|
|
109
109
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
110
110
|
}), tt = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), lt = p(() => mt(e.value.customPalette)), U = b({
|
|
@@ -114,15 +114,15 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
114
114
|
right: e.value.style.chart.layout.padding.right,
|
|
115
115
|
bottom: e.value.style.chart.layout.padding.bottom,
|
|
116
116
|
left: e.value.style.chart.layout.padding.left
|
|
117
|
-
})),
|
|
118
|
-
const l = e.value.style.chart.layout.height, u = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom,
|
|
117
|
+
})), i = p(() => {
|
|
118
|
+
const l = e.value.style.chart.layout.height, u = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom, r = u - n.value.left - n.value.right;
|
|
119
119
|
return {
|
|
120
120
|
absoluteHeight: l,
|
|
121
121
|
absoluteWidth: u,
|
|
122
|
-
centerX: n.value.left +
|
|
122
|
+
centerX: n.value.left + r / 2,
|
|
123
123
|
centerY: n.value.top + t / 2,
|
|
124
124
|
height: t,
|
|
125
|
-
width:
|
|
125
|
+
width: r
|
|
126
126
|
};
|
|
127
127
|
}), O = p(() => (x.dataset.forEach((l, u) => {
|
|
128
128
|
[null, void 0].includes(l.name) && Z({
|
|
@@ -145,10 +145,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
145
145
|
})))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
146
146
|
...l,
|
|
147
147
|
values: l.values.filter((u, t) => t >= h.value.start && t <= h.value.end)
|
|
148
|
-
}))), E = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() =>
|
|
148
|
+
}))), E = p(() => Math.max(...W.value.map((l) => l.length))), z = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
|
|
149
149
|
const l = [];
|
|
150
150
|
for (let s = 0; s < h.value.end - h.value.start; s += 1) {
|
|
151
|
-
const f = W.value.map((
|
|
151
|
+
const f = W.value.map((F) => F.values[s] ?? null), y = f.filter((F) => [void 0, null].includes(F)).length === f.length, N = f.reduce((F, L) => F + L, 0), ce = f.map((F) => F / N), M = n.value.left + z.value * s + z.value / 2;
|
|
152
152
|
l.push({
|
|
153
153
|
index: s,
|
|
154
154
|
percentages: ce,
|
|
@@ -157,12 +157,12 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
157
157
|
x: M
|
|
158
158
|
});
|
|
159
159
|
}
|
|
160
|
-
const u = 0, t = Math.max(...l.map((s) => s.subtotal)),
|
|
160
|
+
const u = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
|
|
161
161
|
return l.map((s, f) => {
|
|
162
|
-
const y = z.value / 2 * 0.7, N = y >
|
|
162
|
+
const y = z.value / 2 * 0.7, N = y > i.value.width / 16 ? i.value.width / 16 : y, ce = g.value === s.index ? i.value.width / 16 : N, M = l.length > 4 ? y * 2 : y * 2 > z.value / 2 * 0.7 ? z.value / 2 * 0.7 : y * 2, F = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Xe(u, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
163
163
|
return {
|
|
164
164
|
...s,
|
|
165
|
-
y:
|
|
165
|
+
y: F,
|
|
166
166
|
radius: N,
|
|
167
167
|
activeRadius: ce,
|
|
168
168
|
hoverRadius: M,
|
|
@@ -172,25 +172,25 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
172
172
|
name: L.name,
|
|
173
173
|
value: L.values[f] ?? 0
|
|
174
174
|
}))
|
|
175
|
-
}, s.x,
|
|
175
|
+
}, s.x, F, N, N, 1.99999, 2, 1, 360, 105.25, N / 2),
|
|
176
176
|
donutHover: de({
|
|
177
177
|
series: W.value.map((L, He) => ({
|
|
178
178
|
color: L.color,
|
|
179
179
|
name: L.name,
|
|
180
180
|
value: L.values[f] ?? 0
|
|
181
181
|
}))
|
|
182
|
-
}, s.x,
|
|
182
|
+
}, s.x, F, M, M, 1.99999, 2, 1, 360, 105.25, M / 2),
|
|
183
183
|
donutFocus: de({
|
|
184
184
|
series: W.value.map((L, He) => ({
|
|
185
185
|
color: L.color,
|
|
186
186
|
name: L.name,
|
|
187
187
|
value: L.values[f] ?? 0
|
|
188
188
|
}))
|
|
189
|
-
},
|
|
189
|
+
}, i.value.centerX, i.value.centerY, i.value.height / 3.6, i.value.height / 3.6, 1.99999, 2, 1, 360, 105.25, i.value.height / 6)
|
|
190
190
|
};
|
|
191
191
|
});
|
|
192
192
|
});
|
|
193
|
-
function
|
|
193
|
+
function q(l, u, t) {
|
|
194
194
|
return he(
|
|
195
195
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
196
196
|
l,
|
|
@@ -214,7 +214,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
214
214
|
return l / H.value.max;
|
|
215
215
|
}
|
|
216
216
|
const ot = p(() => H.value.ticks.map((l) => ({
|
|
217
|
-
y:
|
|
217
|
+
y: i.value.absoluteHeight - n.value.bottom - i.value.height * at(l),
|
|
218
218
|
value: l
|
|
219
219
|
})));
|
|
220
220
|
function Fe(l, u) {
|
|
@@ -228,14 +228,14 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
228
228
|
}
|
|
229
229
|
const se = b(null);
|
|
230
230
|
function ne(l, u) {
|
|
231
|
-
l.subtotal && (ae.value = null, g.value = null, A.value = !0,
|
|
231
|
+
l.subtotal && (ae.value = null, g.value = null, A.value = !0, I.value = l, [null, void 0].includes(u) || (se.value = u));
|
|
232
232
|
}
|
|
233
233
|
function Oe() {
|
|
234
|
-
|
|
234
|
+
I.value = null, A.value = !1, se.value = null;
|
|
235
235
|
}
|
|
236
236
|
const De = p(() => O.value.map((l, u) => ({
|
|
237
237
|
name: l.name,
|
|
238
|
-
value: l.values.slice(h.value.start, h.value.end).reduce((t,
|
|
238
|
+
value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
|
|
239
239
|
shape: "circle",
|
|
240
240
|
uid: l.uid,
|
|
241
241
|
color: l.color
|
|
@@ -259,7 +259,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
259
259
|
if (C.value.length === O.value.length - 1) return;
|
|
260
260
|
C.value.push(l), Ce("selectLegend", O.value.find((u) => u.uid === l));
|
|
261
261
|
}
|
|
262
|
-
|
|
262
|
+
I.value && ne(w.value.find((u, t) => t === se.value));
|
|
263
263
|
}
|
|
264
264
|
const R = p(() => {
|
|
265
265
|
const l = [""].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
|
|
@@ -286,17 +286,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
286
286
|
outline: e.value.table.td.outline
|
|
287
287
|
},
|
|
288
288
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
289
|
-
},
|
|
289
|
+
}, r = [
|
|
290
290
|
e.value.table.columnNames.period
|
|
291
291
|
].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
292
|
-
return { head: l, body: u, config: t, colNames:
|
|
292
|
+
return { head: l, body: u, config: t, colNames: r };
|
|
293
293
|
});
|
|
294
294
|
function nt() {
|
|
295
295
|
return O.value;
|
|
296
296
|
}
|
|
297
297
|
function Ee() {
|
|
298
|
-
|
|
299
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((y) => y.value ?? y))],
|
|
298
|
+
B(() => {
|
|
299
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], u = [...R.value.head.map((f) => f.name ?? f)], t = [...R.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([u]).concat(t), s = _t(r);
|
|
300
300
|
Ct({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
301
301
|
});
|
|
302
302
|
}
|
|
@@ -307,22 +307,22 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
307
307
|
function Ve() {
|
|
308
308
|
U.value.showTable = !U.value.showTable;
|
|
309
309
|
}
|
|
310
|
-
const
|
|
310
|
+
const J = b(!1);
|
|
311
311
|
function ie() {
|
|
312
|
-
|
|
312
|
+
J.value = !J.value;
|
|
313
313
|
}
|
|
314
314
|
return qe({
|
|
315
315
|
getData: nt,
|
|
316
|
-
generatePdf:
|
|
316
|
+
generatePdf: Ie,
|
|
317
317
|
generateCsv: Ee,
|
|
318
|
-
generateImage:
|
|
318
|
+
generateImage: Ne,
|
|
319
319
|
toggleTable: Ve,
|
|
320
320
|
toggleAnnotator: ie
|
|
321
321
|
}), (l, u) => (a(), o("div", {
|
|
322
322
|
ref_key: "donutEvolutionChart",
|
|
323
323
|
ref: be,
|
|
324
324
|
class: P(`vue-ui-donut-evolution ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
325
|
-
style:
|
|
325
|
+
style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
326
326
|
id: T.value,
|
|
327
327
|
onMouseenter: u[4] || (u[4] = () => c(we)(!0)),
|
|
328
328
|
onMouseleave: u[5] || (u[5] = () => c(we)(!1))
|
|
@@ -332,7 +332,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
332
332
|
svgRef: c(Le),
|
|
333
333
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
334
334
|
color: e.value.style.chart.color,
|
|
335
|
-
active:
|
|
335
|
+
active: J.value,
|
|
336
336
|
onClose: ie
|
|
337
337
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
|
|
338
338
|
tt.value ? (a(), o("div", {
|
|
@@ -361,13 +361,13 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
361
361
|
}
|
|
362
362
|
}, null, 8, ["config"]))
|
|
363
363
|
], 32)) : v("", !0),
|
|
364
|
-
e.value.userOptions.show &&
|
|
364
|
+
e.value.userOptions.show && K.value && (c(ze) || c(oe)) ? (a(), D(Lt, {
|
|
365
365
|
ref: "details",
|
|
366
366
|
key: `user_options_${me.value}`,
|
|
367
367
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
368
368
|
color: e.value.style.chart.color,
|
|
369
|
-
isPrinting: c(
|
|
370
|
-
isImaging: c(
|
|
369
|
+
isPrinting: c($e),
|
|
370
|
+
isImaging: c(Ae),
|
|
371
371
|
uid: T.value,
|
|
372
372
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
373
373
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -379,76 +379,83 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
379
379
|
chartElement: be.value,
|
|
380
380
|
position: e.value.userOptions.position,
|
|
381
381
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
382
|
-
isAnnotation:
|
|
382
|
+
isAnnotation: J.value,
|
|
383
383
|
onToggleFullscreen: rt,
|
|
384
|
-
onGeneratePdf: c(
|
|
384
|
+
onGeneratePdf: c(Ie),
|
|
385
385
|
onGenerateCsv: Ee,
|
|
386
|
-
onGenerateImage: c(
|
|
386
|
+
onGenerateImage: c(Ne),
|
|
387
387
|
onToggleTable: Ve,
|
|
388
388
|
onToggleAnnotator: ie,
|
|
389
|
-
style:
|
|
389
|
+
style: Q({
|
|
390
390
|
visibility: c(ze) ? c(oe) ? "visible" : "hidden" : "visible"
|
|
391
391
|
})
|
|
392
392
|
}, ct({ _: 2 }, [
|
|
393
|
+
l.$slots.menuIcon ? {
|
|
394
|
+
name: "menuIcon",
|
|
395
|
+
fn: $(({ isOpen: t, color: r }) => [
|
|
396
|
+
S(l.$slots, "menuIcon", G(j({ isOpen: t, color: r })), void 0, !0)
|
|
397
|
+
]),
|
|
398
|
+
key: "0"
|
|
399
|
+
} : void 0,
|
|
393
400
|
l.$slots.optionPdf ? {
|
|
394
401
|
name: "optionPdf",
|
|
395
|
-
fn:
|
|
402
|
+
fn: $(() => [
|
|
396
403
|
S(l.$slots, "optionPdf", {}, void 0, !0)
|
|
397
404
|
]),
|
|
398
|
-
key: "
|
|
405
|
+
key: "1"
|
|
399
406
|
} : void 0,
|
|
400
407
|
l.$slots.optionCsv ? {
|
|
401
408
|
name: "optionCsv",
|
|
402
|
-
fn:
|
|
409
|
+
fn: $(() => [
|
|
403
410
|
S(l.$slots, "optionCsv", {}, void 0, !0)
|
|
404
411
|
]),
|
|
405
|
-
key: "
|
|
412
|
+
key: "2"
|
|
406
413
|
} : void 0,
|
|
407
414
|
l.$slots.optionImg ? {
|
|
408
415
|
name: "optionImg",
|
|
409
|
-
fn:
|
|
416
|
+
fn: $(() => [
|
|
410
417
|
S(l.$slots, "optionImg", {}, void 0, !0)
|
|
411
418
|
]),
|
|
412
|
-
key: "
|
|
419
|
+
key: "3"
|
|
413
420
|
} : void 0,
|
|
414
421
|
l.$slots.optionTable ? {
|
|
415
422
|
name: "optionTable",
|
|
416
|
-
fn:
|
|
423
|
+
fn: $(() => [
|
|
417
424
|
S(l.$slots, "optionTable", {}, void 0, !0)
|
|
418
425
|
]),
|
|
419
|
-
key: "
|
|
426
|
+
key: "4"
|
|
420
427
|
} : void 0,
|
|
421
428
|
l.$slots.optionFullscreen ? {
|
|
422
429
|
name: "optionFullscreen",
|
|
423
|
-
fn:
|
|
424
|
-
S(l.$slots, "optionFullscreen",
|
|
430
|
+
fn: $(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
431
|
+
S(l.$slots, "optionFullscreen", G(j({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
425
432
|
]),
|
|
426
|
-
key: "
|
|
433
|
+
key: "5"
|
|
427
434
|
} : void 0,
|
|
428
435
|
l.$slots.optionAnnotator ? {
|
|
429
436
|
name: "optionAnnotator",
|
|
430
|
-
fn:
|
|
431
|
-
S(l.$slots, "optionAnnotator",
|
|
437
|
+
fn: $(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
438
|
+
S(l.$slots, "optionAnnotator", G(j({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
432
439
|
]),
|
|
433
|
-
key: "
|
|
440
|
+
key: "6"
|
|
434
441
|
} : void 0
|
|
435
442
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
436
|
-
|
|
443
|
+
K.value ? (a(), o("svg", {
|
|
437
444
|
key: 4,
|
|
438
445
|
ref_key: "svgRef",
|
|
439
446
|
ref: Le,
|
|
440
447
|
xmlns: c(pt),
|
|
441
448
|
class: P({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
|
|
442
|
-
viewBox: `0 0 ${
|
|
443
|
-
style:
|
|
449
|
+
viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
|
|
450
|
+
style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
444
451
|
}, [
|
|
445
452
|
vt(Ft),
|
|
446
453
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
447
454
|
key: 0,
|
|
448
455
|
x: n.value.left,
|
|
449
456
|
y: n.value.top,
|
|
450
|
-
width:
|
|
451
|
-
height:
|
|
457
|
+
width: i.value.width,
|
|
458
|
+
height: i.value.height,
|
|
452
459
|
style: {
|
|
453
460
|
pointerEvents: "none"
|
|
454
461
|
}
|
|
@@ -465,11 +472,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
465
472
|
}, [
|
|
466
473
|
d("stop", {
|
|
467
474
|
offset: "0%",
|
|
468
|
-
"stop-color": c(
|
|
475
|
+
"stop-color": c(Y)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
469
476
|
}, null, 8, Mt),
|
|
470
477
|
d("stop", {
|
|
471
478
|
offset: "100%",
|
|
472
|
-
"stop-color": c(
|
|
479
|
+
"stop-color": c(Y)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
473
480
|
}, null, 8, Ut)
|
|
474
481
|
], 8, Rt),
|
|
475
482
|
d("radialGradient", {
|
|
@@ -477,15 +484,15 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
477
484
|
}, [
|
|
478
485
|
d("stop", {
|
|
479
486
|
offset: "0%",
|
|
480
|
-
"stop-color": c(
|
|
487
|
+
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
481
488
|
}, null, 8, Xt),
|
|
482
489
|
d("stop", {
|
|
483
490
|
offset: "77%",
|
|
484
|
-
"stop-color": c(
|
|
491
|
+
"stop-color": c(Y)("#FFFFFF", 30)
|
|
485
492
|
}, null, 8, Gt),
|
|
486
493
|
d("stop", {
|
|
487
494
|
offset: "100%",
|
|
488
|
-
"stop-color": c(
|
|
495
|
+
"stop-color": c(Y)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
489
496
|
}, null, 8, jt)
|
|
490
497
|
], 8, Wt)
|
|
491
498
|
]),
|
|
@@ -494,26 +501,26 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
494
501
|
x1: n.value.left,
|
|
495
502
|
x2: n.value.left,
|
|
496
503
|
y1: n.value.top,
|
|
497
|
-
y2: n.value.top +
|
|
504
|
+
y2: n.value.top + i.value.height,
|
|
498
505
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
499
506
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
500
507
|
"stroke-linecap": "round"
|
|
501
508
|
}, null, 8, Yt),
|
|
502
509
|
d("line", {
|
|
503
510
|
x1: n.value.left,
|
|
504
|
-
x2:
|
|
505
|
-
y1:
|
|
506
|
-
y2:
|
|
511
|
+
x2: i.value.absoluteWidth - n.value.right,
|
|
512
|
+
y1: i.value.absoluteHeight - n.value.bottom,
|
|
513
|
+
y2: i.value.absoluteHeight - n.value.bottom,
|
|
507
514
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
508
515
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
509
516
|
"stroke-linecap": "round"
|
|
510
517
|
}, null, 8, Kt),
|
|
511
518
|
e.value.style.chart.layout.grid.showVerticalLines ? (a(), o("g", qt, [
|
|
512
|
-
(a(!0), o(k, null, _(h.value.end - h.value.start, (t,
|
|
513
|
-
x1: n.value.left + (
|
|
514
|
-
x2: n.value.left + (
|
|
519
|
+
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("line", {
|
|
520
|
+
x1: n.value.left + (r + 1) * z.value,
|
|
521
|
+
x2: n.value.left + (r + 1) * z.value,
|
|
515
522
|
y1: n.value.top,
|
|
516
|
-
y2:
|
|
523
|
+
y2: i.value.absoluteHeight - n.value.bottom,
|
|
517
524
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
518
525
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
519
526
|
"stroke-linecap": "round"
|
|
@@ -524,7 +531,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
524
531
|
key: 2,
|
|
525
532
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value })
|
|
526
533
|
}, [
|
|
527
|
-
(a(!0), o(k, null, _(ot.value, (t,
|
|
534
|
+
(a(!0), o(k, null, _(ot.value, (t, r) => (a(), o("g", null, [
|
|
528
535
|
t.value >= H.value.min && t.value <= H.value.max ? (a(), o("line", {
|
|
529
536
|
key: 0,
|
|
530
537
|
x1: n.value.left,
|
|
@@ -551,7 +558,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
551
558
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
552
559
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
553
560
|
}),
|
|
554
|
-
{ datapoint: t, seriesIndex:
|
|
561
|
+
{ datapoint: t, seriesIndex: r }
|
|
555
562
|
) : ""), 9, Zt)) : v("", !0)
|
|
556
563
|
]))), 256))
|
|
557
564
|
], 2)) : v("", !0),
|
|
@@ -559,24 +566,24 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
559
566
|
key: 3,
|
|
560
567
|
class: P({ "donut-opacity": !0, "donut-behind": A.value })
|
|
561
568
|
}, [
|
|
562
|
-
(a(!0), o(k, null, _(h.value.end - h.value.start, (t,
|
|
563
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (
|
|
569
|
+
(a(!0), o(k, null, _(h.value.end - h.value.start, (t, r) => (a(), o("g", null, [
|
|
570
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r === E.value - 1) || !e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast ? (a(), o("text", {
|
|
564
571
|
key: 0,
|
|
565
572
|
"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",
|
|
566
573
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
567
574
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
568
|
-
transform: `translate(${n.value.left + z.value *
|
|
569
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
575
|
+
transform: `translate(${n.value.left + z.value * r + z.value / 2}, ${e.value.style.chart.layout.grid.xAxis.dataLabels.offsetY + i.value.absoluteHeight - n.value.bottom + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2}), rotate(${e.value.style.chart.layout.grid.xAxis.dataLabels.rotation})`
|
|
576
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, el)) : v("", !0)
|
|
570
577
|
]))), 256))
|
|
571
578
|
], 2)) : v("", !0),
|
|
572
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
573
|
-
e.value.style.chart.layout.line.show &&
|
|
579
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", null, [
|
|
580
|
+
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), o("line", {
|
|
574
581
|
key: 0,
|
|
575
582
|
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || A.value }),
|
|
576
583
|
x1: t.x,
|
|
577
584
|
y1: t.y,
|
|
578
|
-
x2: w.value[
|
|
579
|
-
y2: w.value[
|
|
585
|
+
x2: w.value[r + 1].x,
|
|
586
|
+
y2: w.value[r + 1].y,
|
|
580
587
|
stroke: e.value.style.chart.layout.line.stroke,
|
|
581
588
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
582
589
|
"stroke-linecap": "round",
|
|
@@ -592,11 +599,11 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
592
599
|
}, null, 8, al)) : v("", !0)
|
|
593
600
|
])) : v("", !0)
|
|
594
601
|
]))), 256)),
|
|
595
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
596
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
602
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
603
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
597
604
|
}, [
|
|
598
605
|
t.subtotal ? (a(), o("g", ol, [
|
|
599
|
-
g.value !== null && g.value ===
|
|
606
|
+
g.value !== null && g.value === r ? (a(), o("g", ul, [
|
|
600
607
|
(a(!0), o(k, null, _(t.donutHover, (s) => (a(), o("g", null, [
|
|
601
608
|
d("path", {
|
|
602
609
|
d: c(Ge)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
@@ -616,7 +623,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
616
623
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
617
624
|
"font-size": 8,
|
|
618
625
|
"font-weight": "bold"
|
|
619
|
-
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" :
|
|
626
|
+
}, m(s.name) + ": " + m(Fe(s, t.donut)) + " (" + m(s.value === null ? "-" : q(s.value, s, f)) + ") ", 9, nl)
|
|
620
627
|
]))), 256)),
|
|
621
628
|
d("g", null, [
|
|
622
629
|
d("circle", {
|
|
@@ -629,8 +636,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
629
636
|
])) : v("", !0)
|
|
630
637
|
])) : v("", !0)
|
|
631
638
|
], 2))), 256)),
|
|
632
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
633
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
639
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
640
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
634
641
|
}, [
|
|
635
642
|
t.subtotal !== null ? (a(), o("g", il, [
|
|
636
643
|
t.subtotal === 0 ? (a(), o("circle", {
|
|
@@ -639,7 +646,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
639
646
|
cy: t.y,
|
|
640
647
|
r: 3,
|
|
641
648
|
fill: e.value.style.chart.color
|
|
642
|
-
}, null, 8, cl)) : g.value !== null && g.value ===
|
|
649
|
+
}, null, 8, cl)) : g.value !== null && g.value === r ? (a(), o("g", vl, [
|
|
643
650
|
(a(!0), o(k, null, _(t.donutHover, (s, f) => (a(), o("path", {
|
|
644
651
|
d: s.arcSlice,
|
|
645
652
|
fill: `${s.color}`,
|
|
@@ -656,8 +663,8 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
656
663
|
]))
|
|
657
664
|
])) : v("", !0)
|
|
658
665
|
], 2))), 256)),
|
|
659
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
660
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
666
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("g", {
|
|
667
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || A.value })
|
|
661
668
|
}, [
|
|
662
669
|
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), o("text", {
|
|
663
670
|
key: 0,
|
|
@@ -667,27 +674,27 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
667
674
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
668
675
|
"font-weight": "bold",
|
|
669
676
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
670
|
-
}, m(
|
|
677
|
+
}, m(q(t.subtotal, t, r)), 9, fl)) : v("", !0)
|
|
671
678
|
], 2))), 256)),
|
|
672
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
673
|
-
x: n.value.left +
|
|
674
|
-
y:
|
|
679
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
680
|
+
x: n.value.left + r * z.value,
|
|
681
|
+
y: i.value.absoluteHeight - n.value.bottom - 10,
|
|
675
682
|
width: z.value,
|
|
676
683
|
height: 10,
|
|
677
684
|
fill: g.value === t.index ? `url(#hover_${T.value})` : "transparent",
|
|
678
|
-
onClick: (s) => ne(t,
|
|
685
|
+
onClick: (s) => ne(t, r),
|
|
679
686
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
680
687
|
}, null, 10, gl))), 256)),
|
|
681
|
-
(a(!0), o(k, null, _(w.value, (t,
|
|
688
|
+
(a(!0), o(k, null, _(w.value, (t, r) => (a(), o("rect", {
|
|
682
689
|
"data-cy-trap": "",
|
|
683
|
-
x: n.value.left +
|
|
690
|
+
x: n.value.left + r * z.value,
|
|
684
691
|
y: n.value.top,
|
|
685
692
|
width: z.value,
|
|
686
|
-
height:
|
|
693
|
+
height: i.value.height,
|
|
687
694
|
fill: "transparent",
|
|
688
695
|
onMouseenter: (s) => ut(t),
|
|
689
696
|
onMouseleave: Pe,
|
|
690
|
-
onClick: (s) => ne(t,
|
|
697
|
+
onClick: (s) => ne(t, r),
|
|
691
698
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
692
699
|
}, null, 42, bl))), 256)),
|
|
693
700
|
A.value ? (a(), o("g", ml, [
|
|
@@ -695,16 +702,16 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
695
702
|
rx: 4,
|
|
696
703
|
x: n.value.left,
|
|
697
704
|
y: n.value.top,
|
|
698
|
-
width:
|
|
699
|
-
height:
|
|
705
|
+
width: i.value.width,
|
|
706
|
+
height: i.value.height,
|
|
700
707
|
fill: e.value.style.chart.backgroundColor,
|
|
701
708
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
702
709
|
}, null, 8, xl),
|
|
703
710
|
d("line", {
|
|
704
711
|
"data-html2canvas-ignore": "",
|
|
705
|
-
x1:
|
|
712
|
+
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
706
713
|
y1: n.value.top + 5,
|
|
707
|
-
x2:
|
|
714
|
+
x2: i.value.absoluteWidth - n.value.right - 4,
|
|
708
715
|
y2: n.value.top + 15.5,
|
|
709
716
|
"stroke-linecap": "round",
|
|
710
717
|
stroke: e.value.style.chart.color,
|
|
@@ -712,9 +719,9 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
712
719
|
}, null, 8, pl),
|
|
713
720
|
d("line", {
|
|
714
721
|
"data-html2canvas-ignore": "",
|
|
715
|
-
x1:
|
|
722
|
+
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
716
723
|
y2: n.value.top + 5,
|
|
717
|
-
x2:
|
|
724
|
+
x2: i.value.absoluteWidth - n.value.right - 4,
|
|
718
725
|
y1: n.value.top + 15.5,
|
|
719
726
|
"stroke-linecap": "round",
|
|
720
727
|
stroke: e.value.style.chart.color,
|
|
@@ -724,17 +731,17 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
724
731
|
"data-cy-close": "",
|
|
725
732
|
onClick: Oe,
|
|
726
733
|
onKeypress: dt(Oe, ["enter"]),
|
|
727
|
-
cx:
|
|
728
|
-
cy: n.value.top +
|
|
729
|
-
r:
|
|
734
|
+
cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
|
|
735
|
+
cy: n.value.top + i.value.height / 30,
|
|
736
|
+
r: i.value.height / 12,
|
|
730
737
|
fill: "transparent",
|
|
731
738
|
style: { cursor: "pointer" },
|
|
732
739
|
tabindex: "0"
|
|
733
740
|
}, null, 40, _l),
|
|
734
|
-
(a(!0), o(k, null, _(
|
|
741
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t) => (a(), o("g", null, [
|
|
735
742
|
d("path", {
|
|
736
743
|
"data-cy-zoom-donut": "",
|
|
737
|
-
d: c(Ge)(t, { x:
|
|
744
|
+
d: c(Ge)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
|
|
738
745
|
stroke: t.color,
|
|
739
746
|
"stroke-width": "1",
|
|
740
747
|
"stroke-linecap": "round",
|
|
@@ -744,19 +751,19 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
744
751
|
}, null, 8, Cl)
|
|
745
752
|
]))), 256)),
|
|
746
753
|
d("circle", {
|
|
747
|
-
cx: n.value.left +
|
|
748
|
-
cy: n.value.top +
|
|
749
|
-
r:
|
|
754
|
+
cx: n.value.left + i.value.width / 2,
|
|
755
|
+
cy: n.value.top + i.value.height / 2,
|
|
756
|
+
r: i.value.height / 7,
|
|
750
757
|
fill: e.value.style.chart.backgroundColor
|
|
751
758
|
}, null, 8, wl),
|
|
752
|
-
(a(!0), o(k, null, _(
|
|
759
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("path", {
|
|
753
760
|
d: t.arcSlice,
|
|
754
761
|
fill: `${t.color}`,
|
|
755
762
|
"stroke-width": 1,
|
|
756
763
|
stroke: e.value.style.chart.backgroundColor,
|
|
757
764
|
class: "vue-ui-donut-evolution-focus"
|
|
758
765
|
}, null, 8, zl))), 256)),
|
|
759
|
-
(a(!0), o(k, null, _(
|
|
766
|
+
(a(!0), o(k, null, _(I.value.donutFocus, (t, r) => (a(), o("g", Ll, [
|
|
760
767
|
d("text", {
|
|
761
768
|
"text-anchor": c(le)(t, !0, 20).anchor,
|
|
762
769
|
x: c(le)(t, !0, 10).x,
|
|
@@ -764,43 +771,43 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
764
771
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
765
772
|
"font-size": 10,
|
|
766
773
|
"font-weight": "bold"
|
|
767
|
-
}, m(t.name) + ": " + m(Fe(t,
|
|
774
|
+
}, m(t.name) + ": " + m(Fe(t, I.value.donutFocus)) + " (" + m(t.value === null ? "-" : q(t.value, t, r)) + ") ", 9, Sl)
|
|
768
775
|
]))), 256)),
|
|
769
776
|
d("circle", {
|
|
770
|
-
cx: n.value.left +
|
|
771
|
-
cy: n.value.top +
|
|
772
|
-
r:
|
|
777
|
+
cx: n.value.left + i.value.width / 2,
|
|
778
|
+
cy: n.value.top + i.value.height / 2,
|
|
779
|
+
r: i.value.height / 3.8,
|
|
773
780
|
fill: `url(#focus_${T.value})`
|
|
774
|
-
}, null, 8,
|
|
781
|
+
}, null, 8, $l),
|
|
775
782
|
d("circle", {
|
|
776
|
-
cx: n.value.left +
|
|
777
|
-
cy: n.value.top +
|
|
778
|
-
r:
|
|
783
|
+
cx: n.value.left + i.value.width / 2,
|
|
784
|
+
cy: n.value.top + i.value.height / 2,
|
|
785
|
+
r: i.value.height / 7.7,
|
|
779
786
|
fill: e.value.style.chart.backgroundColor
|
|
780
|
-
}, null, 8,
|
|
787
|
+
}, null, 8, Al),
|
|
781
788
|
d("text", {
|
|
782
789
|
"text-anchor": "middle",
|
|
783
|
-
x: n.value.left +
|
|
784
|
-
y: n.value.top +
|
|
790
|
+
x: n.value.left + i.value.width / 2,
|
|
791
|
+
y: n.value.top + i.value.height / 2 + 14 / 3,
|
|
785
792
|
"font-size": 14,
|
|
786
793
|
"font-weight": "bold",
|
|
787
794
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
788
795
|
class: "vue-ui-donut-evolution-focus"
|
|
789
|
-
}, m(
|
|
790
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
796
|
+
}, m(q(I.value.subtotal, I.value, null)), 9, Il),
|
|
797
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.values[I.value.index] ? (a(), o("text", {
|
|
791
798
|
key: 0,
|
|
792
799
|
x: n.value.left + 6,
|
|
793
800
|
y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
794
801
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
795
802
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
796
|
-
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
803
|
+
}, m(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(I.value.index) + Number(h.value.start)]), 9, Nl)) : v("", !0)
|
|
797
804
|
])) : v("", !0),
|
|
798
|
-
S(l.$slots, "svg", { svg:
|
|
805
|
+
S(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
799
806
|
], 14, Vt)) : v("", !0),
|
|
800
807
|
l.$slots.watermark ? (a(), o("div", Fl, [
|
|
801
|
-
S(l.$slots, "watermark",
|
|
808
|
+
S(l.$slots, "watermark", G(j({ isPrinting: c($e) || c(Ae) })), void 0, !0)
|
|
802
809
|
])) : v("", !0),
|
|
803
|
-
|
|
810
|
+
K.value ? v("", !0) : (a(), D(At, {
|
|
804
811
|
key: 6,
|
|
805
812
|
config: {
|
|
806
813
|
type: "donutEvolution",
|
|
@@ -817,7 +824,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
817
824
|
}
|
|
818
825
|
}
|
|
819
826
|
}, null, 8, ["config"])),
|
|
820
|
-
E.value > 1 && e.value.style.chart.zoom.show ? (a(), D(
|
|
827
|
+
E.value > 1 && e.value.style.chart.zoom.show ? (a(), D(It, {
|
|
821
828
|
ref_key: "slicerComponent",
|
|
822
829
|
ref: V,
|
|
823
830
|
key: `slicer_${xe.value}`,
|
|
@@ -844,21 +851,21 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
844
851
|
enableSelectionDrag: e.value.style.chart.zoom.enableSelectionDrag,
|
|
845
852
|
onReset: ye
|
|
846
853
|
}, {
|
|
847
|
-
"reset-action":
|
|
848
|
-
S(l.$slots, "reset-action",
|
|
854
|
+
"reset-action": $(({ reset: t }) => [
|
|
855
|
+
S(l.$slots, "reset-action", G(j({ reset: t })), void 0, !0)
|
|
849
856
|
]),
|
|
850
857
|
_: 3
|
|
851
858
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0),
|
|
852
|
-
e.value.style.chart.legend.show ? (a(), D(
|
|
859
|
+
e.value.style.chart.legend.show ? (a(), D($t, {
|
|
853
860
|
key: `legend_${_e.value}`,
|
|
854
861
|
legendSet: De.value,
|
|
855
862
|
config: st.value,
|
|
856
863
|
onClickMarker: u[2] || (u[2] = ({ legend: t }) => re(t.uid))
|
|
857
864
|
}, {
|
|
858
|
-
item:
|
|
865
|
+
item: $(({ legend: t, index: r }) => [
|
|
859
866
|
d("div", {
|
|
860
867
|
onClick: (s) => re(t.uid),
|
|
861
|
-
style:
|
|
868
|
+
style: Q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
862
869
|
}, [
|
|
863
870
|
Me(m(t.name) + ": " + m(c(he)(
|
|
864
871
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
@@ -869,7 +876,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
869
876
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
870
877
|
r: e.value.style.chart.legend.roundingValue
|
|
871
878
|
}),
|
|
872
|
-
{ datapoint: t, seriesIndex:
|
|
879
|
+
{ datapoint: t, seriesIndex: r }
|
|
873
880
|
)) + " ", 1),
|
|
874
881
|
C.value.includes(t.uid) ? (a(), o("span", Dl, " ( - % ) ")) : (a(), o("span", Ol, " (" + m(isNaN(t.value / Te.value) ? "-" : c(te)({
|
|
875
882
|
v: t.value / Te.value * 100,
|
|
@@ -884,7 +891,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
884
891
|
l.$slots.source ? (a(), o("div", Tl, [
|
|
885
892
|
S(l.$slots, "source", {}, void 0, !0)
|
|
886
893
|
], 512)) : v("", !0),
|
|
887
|
-
|
|
894
|
+
K.value ? (a(), D(Nt, {
|
|
888
895
|
key: 10,
|
|
889
896
|
hideDetails: "",
|
|
890
897
|
config: {
|
|
@@ -900,7 +907,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
900
907
|
}
|
|
901
908
|
}
|
|
902
909
|
}, {
|
|
903
|
-
content:
|
|
910
|
+
content: $(() => [
|
|
904
911
|
(a(), D(St, {
|
|
905
912
|
key: `table_${ke.value}`,
|
|
906
913
|
colNames: R.value.colNames,
|
|
@@ -910,10 +917,10 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
910
917
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
911
918
|
onClose: u[3] || (u[3] = (t) => U.value.showTable = !1)
|
|
912
919
|
}, {
|
|
913
|
-
th:
|
|
920
|
+
th: $(({ th: t }) => [
|
|
914
921
|
Me(m(t.name ?? t), 1)
|
|
915
922
|
]),
|
|
916
|
-
td:
|
|
923
|
+
td: $(({ td: t }) => [
|
|
917
924
|
t.value === null ? (a(), o("span", El, "-")) : (a(), o("b", Vl, m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.prefix) + m(!isNaN(t.value) && t.value !== null ? Number(t.value.toFixed(e.value.table.td.roundingValue)).toLocaleString() : t) + m(isNaN(t.value) ? "" : e.value.style.chart.layout.dataLabels.suffix), 1)),
|
|
918
925
|
d("span", null, m(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
919
926
|
]),
|
|
@@ -924,7 +931,7 @@ const Et = ["id"], Vt = ["xmlns", "viewBox"], Ht = ["x", "y", "width", "height"]
|
|
|
924
931
|
}, 8, ["config"])) : v("", !0)
|
|
925
932
|
], 46, Et));
|
|
926
933
|
}
|
|
927
|
-
}, ta = /* @__PURE__ */ Tt(Hl, [["__scopeId", "data-v-
|
|
934
|
+
}, ta = /* @__PURE__ */ Tt(Hl, [["__scopeId", "data-v-7d7412e9"]]);
|
|
928
935
|
export {
|
|
929
936
|
ta as default
|
|
930
937
|
};
|