vue-data-ui 2.4.50 → 2.4.51
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 +12 -0
- package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
- package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
- package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
- package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
- package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
- package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
- package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
- package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
- package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
- package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
- package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
- package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
- package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
- package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
- package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
- package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
- package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
- package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
- package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
- package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
- package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
- package/dist/index-DhDYBLBe.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +5 -1
- package/dist/types/vue-data-ui.d.ts +5 -1
- package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
- package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
- package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
- package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
- package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
- package/dist/useUserOptionState-BgepsfED.cjs +1 -0
- package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
- package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
- package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
- package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
- package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
- package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
- package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
- package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
- package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
- package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
- package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
- package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
- package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
- package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
- package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
- package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
- package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
- package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
- package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
- package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
- package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
- package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
- package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
- package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
- package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
- package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
- package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
- package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
- package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
- package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
- package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
- package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
- package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
- package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
- package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
- package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
- package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
- package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
- package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
- package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
- package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
- package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
- package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
- package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
- package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
- package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
- package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
- package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
- package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
- package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
- package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
- package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
- package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
- package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
- package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
- package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
- package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
- package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
- package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
- package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
- package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
- package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
- package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
- package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
- package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
- package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
- package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
- package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
- package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
- package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
- package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
- package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
- package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
- package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
- package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
- package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
- package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
- package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
- package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
- package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
- package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
- package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
- package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
- package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
- package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
- package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
- package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
- package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
- package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
- package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
- package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
- package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
- package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
- package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
- package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
- package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
- package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
- package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
- package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
- package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
- package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
- package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
- package/package.json +1 -1
- package/dist/index-DoD-GxZR.cjs +0 -9
- package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
- package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
- package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
- package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
- package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
- package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
- package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
- package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
- package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
- package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
- package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
- package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
- package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
- package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
- package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
- package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
- package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
- package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
- package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
- package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
- package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
- package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
- package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
- package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
- package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
- package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
- package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
- package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
- package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
- package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
- package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
- package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
- package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
- package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
- package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
- package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
- package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
- package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
- package/dist/vue-ui-wheel-D3itrMku.js +0 -299
- package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
- package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
- package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { computed as p, ref as m, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { L as
|
|
7
|
-
import
|
|
8
|
-
import { S as
|
|
9
|
-
import
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import {
|
|
14
|
-
|
|
1
|
+
import { computed as p, ref as m, onMounted as nt, watch as Me, openBlock as a, createElementBlock as u, normalizeClass as P, normalizeStyle as q, unref as c, createBlock as T, createCommentVNode as v, createSlots as rt, withCtx as I, renderSlot as F, normalizeProps as J, guardReactiveProps as Q, createVNode as it, createElementVNode as d, Fragment as k, renderList as _, toDisplayString as b, withKeys as ct, createTextVNode as He, nextTick as X } from "vue";
|
|
2
|
+
import { u as vt, o as dt, e as Z, g as ht, c as Ue, t as yt, a as ft, p as ee, C as We, b as gt, J as mt, d as ve, D as Re, m as de, X as bt, s as G, E as xt, i as he, f as te, j as Xe, k as le, n as Ge, K as je, q as pt, r as kt } from "./index-BbPeL8Gp.js";
|
|
3
|
+
import { _ as _t } from "./Title-aSAft5dl.js";
|
|
4
|
+
import { u as Ct, U as wt } from "./usePrinter-DaybDVqP.js";
|
|
5
|
+
import { D as Lt } from "./DataTable-DGf6RrOJ.js";
|
|
6
|
+
import { L as zt } from "./Legend-BLaZxMge.js";
|
|
7
|
+
import St from "./vue-ui-skeleton-Bniq21d9.js";
|
|
8
|
+
import { S as At } from "./Slicer-Cxdl3cDt.js";
|
|
9
|
+
import $t from "./vue-ui-accordion-5d5iVpr7.js";
|
|
10
|
+
import { u as Be } from "./useNestedProp-BN8claGG.js";
|
|
11
|
+
import { _ as Nt } from "./PackageVersion-CxJghxYD.js";
|
|
12
|
+
import { P as It } from "./PenAndPaper-ZdZEumki.js";
|
|
13
|
+
import { u as Ft } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
15
|
+
const Ot = ["id"], Tt = ["xmlns", "viewBox"], Dt = ["id"], Et = ["stop-color"], Vt = ["stop-color"], Mt = ["id"], Ht = ["stop-color"], Ut = ["stop-color"], Wt = ["stop-color"], Rt = { key: 0 }, Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 0 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["x", "y", "font-size", "fill", "font-weight"], qt = ["text-anchor", "font-size", "fill", "transform"], Jt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Qt = { key: 1 }, Zt = ["cx", "cy", "r", "fill"], el = { key: 0 }, tl = { key: 0 }, ll = ["d", "stroke"], al = ["text-anchor", "x", "y", "fill"], ol = ["cx", "cy", "r", "fill"], ul = { key: 0 }, sl = ["cx", "cy", "fill"], nl = { key: 1 }, rl = ["d", "fill", "stroke"], il = { key: 2 }, cl = ["d", "fill", "stroke"], vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "width", "fill", "onClick"], hl = ["x", "y", "width", "height", "onMouseenter", "onClick"], yl = {
|
|
15
16
|
key: 3,
|
|
16
17
|
"data-cy-zoom": "",
|
|
17
18
|
class: "vue-ui-donut-evolution-dialog"
|
|
18
|
-
},
|
|
19
|
+
}, fl = ["x", "y", "width", "height", "fill"], gl = ["x1", "y1", "x2", "y2", "stroke"], ml = ["x1", "y2", "x2", "y1", "stroke"], bl = ["onKeypress", "cx", "cy", "r"], xl = ["d", "stroke"], pl = ["cx", "cy", "r", "fill"], kl = ["d", "fill", "stroke"], _l = { class: "vue-ui-donut-evolution-focus" }, Cl = ["text-anchor", "x", "y", "fill"], wl = ["cx", "cy", "r", "fill"], Ll = ["cx", "cy", "r", "fill"], zl = ["x", "y", "fill"], Sl = ["x", "y", "font-size", "fill"], Al = {
|
|
19
20
|
key: 5,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, $l = ["onClick"], Nl = { key: 0 }, Il = { key: 1 }, Fl = {
|
|
22
23
|
key: 9,
|
|
23
24
|
ref: "source",
|
|
24
25
|
dir: "auto"
|
|
25
|
-
},
|
|
26
|
+
}, Pl = { key: 0 }, Ol = { key: 1 }, Tl = {
|
|
26
27
|
__name: "vue-ui-donut-evolution",
|
|
27
28
|
props: {
|
|
28
29
|
config: {
|
|
@@ -39,8 +40,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
39
40
|
}
|
|
40
41
|
},
|
|
41
42
|
emits: ["selectLegend"],
|
|
42
|
-
setup(
|
|
43
|
-
const x =
|
|
43
|
+
setup(Ye, { expose: Ke, emit: ye }) {
|
|
44
|
+
const x = Ye, { vue_ui_donut_evolution: qe } = vt(), j = p(() => !!x.dataset && x.dataset.length), h = m({
|
|
44
45
|
start: 0,
|
|
45
46
|
end: Math.max(...x.dataset.map((l) => l.values.length))
|
|
46
47
|
});
|
|
@@ -49,63 +50,63 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
49
50
|
}
|
|
50
51
|
const V = m(null);
|
|
51
52
|
async function ge() {
|
|
52
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await X(), await X(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await X(), await X(), V.value && V.value.setEndValue(
|
|
53
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && V.value ? (e.value.style.chart.zoom.startIndex !== null && (await X(), await X(), V.value && V.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await X(), await X(), V.value && V.value.setEndValue(Je(e.value.style.chart.zoom.endIndex + 1)))) : (h.value = {
|
|
53
54
|
start: 0,
|
|
54
|
-
end:
|
|
55
|
+
end: E.value
|
|
55
56
|
}, xe.value += 1);
|
|
56
57
|
}
|
|
57
|
-
function
|
|
58
|
-
const
|
|
59
|
-
return l >
|
|
58
|
+
function Je(l) {
|
|
59
|
+
const o = E.value;
|
|
60
|
+
return l > o ? o : l < 0 || e.value.style.chart.zoom.startIndex !== null && l < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : l;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
nt(() => {
|
|
62
63
|
me();
|
|
63
64
|
});
|
|
64
65
|
function me() {
|
|
65
|
-
|
|
66
|
+
dt(x.dataset) ? Z({
|
|
66
67
|
componentName: "VueUiDonutEvolution",
|
|
67
68
|
type: "dataset"
|
|
68
|
-
}) : x.dataset.length && x.dataset.forEach((l,
|
|
69
|
-
|
|
69
|
+
}) : x.dataset.length && x.dataset.forEach((l, o) => {
|
|
70
|
+
ht({
|
|
70
71
|
datasetObject: l,
|
|
71
72
|
requiredAttributes: ["name", "values"]
|
|
72
73
|
}).forEach((t) => {
|
|
73
|
-
|
|
74
|
+
Z({
|
|
74
75
|
componentName: "VueUiDonutEvolution",
|
|
75
76
|
type: "datasetSerieAttribute",
|
|
76
77
|
property: t,
|
|
77
|
-
index:
|
|
78
|
+
index: o
|
|
78
79
|
});
|
|
79
80
|
});
|
|
80
81
|
}), ge();
|
|
81
82
|
}
|
|
82
|
-
const
|
|
83
|
-
get: () =>
|
|
83
|
+
const D = m(Ue()), C = m([]), g = m(null), ae = m(null), S = m(!1), A = m(null), oe = m(null), Qe = m(null), be = m(0), xe = m(0), pe = m(0), ke = m(0), _e = m(0), e = p({
|
|
84
|
+
get: () => ze(),
|
|
84
85
|
set: (l) => l
|
|
85
|
-
});
|
|
86
|
-
function
|
|
87
|
-
const l =
|
|
86
|
+
}), { userOptionsVisible: Ce, setUserOptionsVisibility: we, keepUserOptionState: Le } = Ft({ config: e.value });
|
|
87
|
+
function ze() {
|
|
88
|
+
const l = Be({
|
|
88
89
|
userConfig: x.config,
|
|
89
|
-
defaultConfig:
|
|
90
|
+
defaultConfig: qe
|
|
90
91
|
});
|
|
91
|
-
let
|
|
92
|
-
return l.theme ?
|
|
93
|
-
...
|
|
94
|
-
userConfig:
|
|
92
|
+
let o = {};
|
|
93
|
+
return l.theme ? o = {
|
|
94
|
+
...Be({
|
|
95
|
+
userConfig: yt.vue_ui_donut_evolution[l.theme] || x.config,
|
|
95
96
|
defaultConfig: l
|
|
96
97
|
}),
|
|
97
|
-
customPalette:
|
|
98
|
-
} :
|
|
98
|
+
customPalette: ft[l.theme] || ee
|
|
99
|
+
} : o = l, x.config && We(x.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = x.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, x.config && We(x.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = x.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
-
e.value =
|
|
102
|
-
}, { deep: !0 }),
|
|
101
|
+
Me(() => x.config, (l) => {
|
|
102
|
+
e.value = ze(), me(), pe.value += 1, ke.value += 1, _e.value += 1;
|
|
103
|
+
}, { deep: !0 }), Me(() => x.dataset, (l) => {
|
|
103
104
|
fe();
|
|
104
105
|
}, { deep: !0 });
|
|
105
|
-
const { isPrinting:
|
|
106
|
-
elementId:
|
|
106
|
+
const { isPrinting: Se, isImaging: Ae, generatePdf: $e, generateImage: Ne } = Ct({
|
|
107
|
+
elementId: D.value,
|
|
107
108
|
fileName: e.value.style.chart.title.text || "vue-ui-donut-evolution"
|
|
108
|
-
}),
|
|
109
|
+
}), Ze = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), et = p(() => gt(e.value.customPalette)), B = m({
|
|
109
110
|
showTable: e.value.table.show
|
|
110
111
|
}), n = p(() => ({
|
|
111
112
|
top: e.value.style.chart.layout.padding.top,
|
|
@@ -113,73 +114,73 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
113
114
|
bottom: e.value.style.chart.layout.padding.bottom,
|
|
114
115
|
left: e.value.style.chart.layout.padding.left
|
|
115
116
|
})), i = p(() => {
|
|
116
|
-
const l = e.value.style.chart.layout.height,
|
|
117
|
+
const l = e.value.style.chart.layout.height, o = e.value.style.chart.layout.width, t = l - n.value.top - n.value.bottom, r = o - n.value.left - n.value.right;
|
|
117
118
|
return {
|
|
118
119
|
absoluteHeight: l,
|
|
119
|
-
absoluteWidth:
|
|
120
|
+
absoluteWidth: o,
|
|
120
121
|
centerX: n.value.left + r / 2,
|
|
121
122
|
centerY: n.value.top + t / 2,
|
|
122
123
|
height: t,
|
|
123
124
|
width: r
|
|
124
125
|
};
|
|
125
|
-
}),
|
|
126
|
-
[null, void 0].includes(l.name) &&
|
|
126
|
+
}), O = p(() => (x.dataset.forEach((l, o) => {
|
|
127
|
+
[null, void 0].includes(l.name) && Z({
|
|
127
128
|
componentName: "VueUiDonutEvolution",
|
|
128
129
|
type: "datasetSerieAttribute",
|
|
129
130
|
property: "name",
|
|
130
|
-
index:
|
|
131
|
-
}), [null, void 0].includes(l.values) &&
|
|
131
|
+
index: o
|
|
132
|
+
}), [null, void 0].includes(l.values) && Z({
|
|
132
133
|
componentName: "VueUiDonutEvolution",
|
|
133
134
|
type: "datasetSerieAttribute",
|
|
134
135
|
property: "values",
|
|
135
|
-
index:
|
|
136
|
+
index: o
|
|
136
137
|
});
|
|
137
|
-
}), x.dataset.map((l,
|
|
138
|
+
}), x.dataset.map((l, o) => ({
|
|
138
139
|
...l,
|
|
139
|
-
values:
|
|
140
|
-
color: ve(l.color) ||
|
|
140
|
+
values: mt(l.values),
|
|
141
|
+
color: ve(l.color) || et.value[o] || ee[o] || ee[o % ee.length],
|
|
141
142
|
length: (l.values || []).length,
|
|
142
|
-
uid:
|
|
143
|
-
})))),
|
|
143
|
+
uid: Ue()
|
|
144
|
+
})))), W = p(() => O.value.filter((l) => !C.value.includes(l.uid)).map((l) => ({
|
|
144
145
|
...l,
|
|
145
|
-
values: l.values.filter((
|
|
146
|
-
}))),
|
|
146
|
+
values: l.values.filter((o, t) => t >= h.value.start && t <= h.value.end)
|
|
147
|
+
}))), E = p(() => Math.max(...W.value.map((l) => l.length))), L = p(() => i.value.width / (h.value.end - h.value.start)), w = p(() => {
|
|
147
148
|
const l = [];
|
|
148
149
|
for (let s = 0; s < h.value.end - h.value.start; s += 1) {
|
|
149
|
-
const f =
|
|
150
|
+
const f = W.value.map((N) => N.values[s] ?? null), y = f.filter((N) => [void 0, null].includes(N)).length === f.length, $ = f.reduce((N, z) => N + z, 0), ce = f.map((N) => N / $), U = n.value.left + L.value * s + L.value / 2;
|
|
150
151
|
l.push({
|
|
151
152
|
index: s,
|
|
152
|
-
percentages:
|
|
153
|
+
percentages: ce,
|
|
153
154
|
subtotal: y || $ < 0 ? null : $,
|
|
154
155
|
values: f,
|
|
155
|
-
x:
|
|
156
|
+
x: U
|
|
156
157
|
});
|
|
157
158
|
}
|
|
158
|
-
const
|
|
159
|
+
const o = 0, t = Math.max(...l.map((s) => s.subtotal)), r = l.length === 1 ? t * 2 : t;
|
|
159
160
|
return l.map((s, f) => {
|
|
160
|
-
const y = L.value / 2 * 0.7, $ = y > i.value.width / 16 ? i.value.width / 16 : y,
|
|
161
|
+
const y = L.value / 2 * 0.7, $ = y > i.value.width / 16 ? i.value.width / 16 : y, ce = g.value === s.index ? i.value.width / 16 : $, U = l.length > 4 ? y * 2 : y * 2 > L.value / 2 * 0.7 ? L.value / 2 * 0.7 : y * 2, N = i.value.absoluteHeight - n.value.bottom - i.value.height * s.subtotal / Re(o, r, e.value.style.chart.layout.grid.yAxis.dataLabels.steps).max;
|
|
161
162
|
return {
|
|
162
163
|
...s,
|
|
163
164
|
y: N,
|
|
164
165
|
radius: $,
|
|
165
|
-
activeRadius:
|
|
166
|
-
hoverRadius:
|
|
166
|
+
activeRadius: ce,
|
|
167
|
+
hoverRadius: U,
|
|
167
168
|
donut: de({
|
|
168
|
-
series:
|
|
169
|
+
series: W.value.map((z, Ve) => ({
|
|
169
170
|
color: z.color,
|
|
170
171
|
name: z.name,
|
|
171
172
|
value: z.values[f] ?? 0
|
|
172
173
|
}))
|
|
173
174
|
}, s.x, N, $, $, 1.99999, 2, 1, 360, 105.25, $ / 2),
|
|
174
175
|
donutHover: de({
|
|
175
|
-
series:
|
|
176
|
+
series: W.value.map((z, Ve) => ({
|
|
176
177
|
color: z.color,
|
|
177
178
|
name: z.name,
|
|
178
179
|
value: z.values[f] ?? 0
|
|
179
180
|
}))
|
|
180
|
-
}, s.x, N,
|
|
181
|
+
}, s.x, N, U, U, 1.99999, 2, 1, 360, 105.25, U / 2),
|
|
181
182
|
donutFocus: de({
|
|
182
|
-
series:
|
|
183
|
+
series: W.value.map((z, Ve) => ({
|
|
183
184
|
color: z.color,
|
|
184
185
|
name: z.name,
|
|
185
186
|
value: z.values[f] ?? 0
|
|
@@ -188,61 +189,61 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
188
189
|
};
|
|
189
190
|
});
|
|
190
191
|
});
|
|
191
|
-
function Y(l,
|
|
192
|
+
function Y(l, o, t) {
|
|
192
193
|
return he(
|
|
193
194
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
194
195
|
l,
|
|
195
|
-
|
|
196
|
+
te({
|
|
196
197
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
197
198
|
v: l,
|
|
198
199
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
199
200
|
r: e.value.style.chart.layout.dataLabels.rounding
|
|
200
201
|
}),
|
|
201
|
-
{ datapoint:
|
|
202
|
+
{ datapoint: o, index: t }
|
|
202
203
|
);
|
|
203
204
|
}
|
|
204
|
-
const
|
|
205
|
+
const ue = p(() => ({
|
|
205
206
|
max: Math.max(...w.value.map((l) => l.subtotal)),
|
|
206
207
|
min: 0
|
|
207
|
-
})),
|
|
208
|
-
const l = w.value.length === 1 ?
|
|
209
|
-
return
|
|
208
|
+
})), M = p(() => {
|
|
209
|
+
const l = w.value.length === 1 ? ue.value.max * 2 : ue.value.max;
|
|
210
|
+
return Re(ue.value.min, l, e.value.style.chart.layout.grid.yAxis.dataLabels.steps);
|
|
210
211
|
});
|
|
211
|
-
function
|
|
212
|
-
return l /
|
|
212
|
+
function tt(l) {
|
|
213
|
+
return l / M.value.max;
|
|
213
214
|
}
|
|
214
|
-
const
|
|
215
|
-
y: i.value.absoluteHeight - n.value.bottom - i.value.height *
|
|
215
|
+
const lt = p(() => M.value.ticks.map((l) => ({
|
|
216
|
+
y: i.value.absoluteHeight - n.value.bottom - i.value.height * tt(l),
|
|
216
217
|
value: l
|
|
217
218
|
})));
|
|
218
|
-
function
|
|
219
|
-
return isNaN(l.value /
|
|
219
|
+
function Ie(l, o) {
|
|
220
|
+
return isNaN(l.value / je(o, "value")) ? 0 : (l.value / je(o, "value") * 100).toFixed(0) + "%";
|
|
220
221
|
}
|
|
221
|
-
function
|
|
222
|
-
|
|
222
|
+
function Fe() {
|
|
223
|
+
S.value || (g.value = null, ae.value = null);
|
|
223
224
|
}
|
|
224
|
-
function
|
|
225
|
-
|
|
225
|
+
function at(l) {
|
|
226
|
+
S.value || (g.value = l.index, ae.value = l);
|
|
226
227
|
}
|
|
227
|
-
const
|
|
228
|
-
function
|
|
229
|
-
l.subtotal && (
|
|
228
|
+
const se = m(null);
|
|
229
|
+
function ne(l, o) {
|
|
230
|
+
l.subtotal && (ae.value = null, g.value = null, S.value = !0, A.value = l, [null, void 0].includes(o) || (se.value = o));
|
|
230
231
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
232
|
+
function Pe() {
|
|
233
|
+
A.value = null, S.value = !1, se.value = null;
|
|
233
234
|
}
|
|
234
|
-
const
|
|
235
|
+
const Oe = p(() => O.value.map((l, o) => ({
|
|
235
236
|
name: l.name,
|
|
236
237
|
value: l.values.slice(h.value.start, h.value.end).reduce((t, r) => t + r, 0),
|
|
237
238
|
shape: "circle",
|
|
238
239
|
uid: l.uid,
|
|
239
240
|
color: l.color
|
|
240
|
-
})).sort((l,
|
|
241
|
+
})).sort((l, o) => o.value - l.value).map((l) => ({
|
|
241
242
|
...l,
|
|
242
243
|
opacity: C.value.includes(l.uid) ? 0.5 : 1,
|
|
243
|
-
segregate: () =>
|
|
244
|
+
segregate: () => re(l.uid),
|
|
244
245
|
isSegregated: C.value.includes(l.uid)
|
|
245
|
-
}))),
|
|
246
|
+
}))), Te = p(() => w.value.map((l) => l.subtotal).reduce((l, o) => l + o, 0)), ot = p(() => ({
|
|
246
247
|
cy: "donut-div-legend",
|
|
247
248
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
248
249
|
color: e.value.style.chart.legend.color,
|
|
@@ -250,24 +251,24 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
250
251
|
paddingBottom: 12,
|
|
251
252
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
252
253
|
}));
|
|
253
|
-
function
|
|
254
|
+
function re(l) {
|
|
254
255
|
if (C.value.includes(l))
|
|
255
|
-
C.value = C.value.filter((
|
|
256
|
+
C.value = C.value.filter((o) => o !== l), ye("selectLegend", null);
|
|
256
257
|
else {
|
|
257
|
-
if (C.value.length ===
|
|
258
|
-
C.value.push(l), ye("selectLegend",
|
|
258
|
+
if (C.value.length === O.value.length - 1) return;
|
|
259
|
+
C.value.push(l), ye("selectLegend", O.value.find((o) => o.uid === l));
|
|
259
260
|
}
|
|
260
|
-
|
|
261
|
+
A.value && ne(w.value.find((o, t) => t === se.value));
|
|
261
262
|
}
|
|
262
|
-
const
|
|
263
|
-
const l = [""].concat(
|
|
263
|
+
const H = p(() => {
|
|
264
|
+
const l = [""].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => ({
|
|
264
265
|
name: s.name,
|
|
265
266
|
color: s.color
|
|
266
267
|
}))).concat(["Σ"]);
|
|
267
|
-
let
|
|
268
|
-
for (let s = 0; s <
|
|
269
|
-
const f =
|
|
270
|
-
|
|
268
|
+
let o = [];
|
|
269
|
+
for (let s = 0; s < E.value; s += 1) {
|
|
270
|
+
const f = O.value.filter((y) => !C.value.includes(y.uid)).map((y) => y.values[s] ?? 0).reduce((y, $) => y + $, 0);
|
|
271
|
+
o.push([e.value.style.chart.layout.grid.xAxis.dataLabels.values[s] ?? "-"].concat(O.value.filter((y) => !C.value.includes(y.uid)).map((y) => ({
|
|
271
272
|
value: y.values[s] ?? 0,
|
|
272
273
|
percentage: y.values[s] ? y.values[s] / f * 100 : 0
|
|
273
274
|
}))).concat([`${e.value.style.chart.layout.dataLabels.prefix}${Number(f.toFixed(e.value.table.td.roundingValue))}${e.value.style.chart.layout.dataLabels.suffix}`]));
|
|
@@ -286,64 +287,66 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
286
287
|
breakpoint: e.value.table.responsiveBreakpoint
|
|
287
288
|
}, r = [
|
|
288
289
|
e.value.table.columnNames.period
|
|
289
|
-
].concat(
|
|
290
|
-
return { head: l, body:
|
|
290
|
+
].concat(O.value.filter((s) => !C.value.includes(s.uid)).map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
291
|
+
return { head: l, body: o, config: t, colNames: r };
|
|
291
292
|
});
|
|
292
|
-
function
|
|
293
|
-
return
|
|
293
|
+
function ut() {
|
|
294
|
+
return O.value;
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
+
function De() {
|
|
296
297
|
X(() => {
|
|
297
|
-
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]],
|
|
298
|
-
|
|
298
|
+
const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = [...H.value.head.map((f) => f.name ?? f)], t = [...H.value.body.map((f) => f.map((y) => y.value ?? y))], r = l.concat([o]).concat(t), s = pt(r);
|
|
299
|
+
kt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-donut-evolution" });
|
|
299
300
|
});
|
|
300
301
|
}
|
|
301
|
-
const
|
|
302
|
-
function
|
|
303
|
-
|
|
302
|
+
const R = m(!1);
|
|
303
|
+
function st(l) {
|
|
304
|
+
R.value = l, be.value += 1;
|
|
304
305
|
}
|
|
305
|
-
function
|
|
306
|
+
function Ee() {
|
|
306
307
|
B.value.showTable = !B.value.showTable;
|
|
307
308
|
}
|
|
308
309
|
const K = m(!1);
|
|
309
|
-
function
|
|
310
|
+
function ie() {
|
|
310
311
|
K.value = !K.value;
|
|
311
312
|
}
|
|
312
|
-
return
|
|
313
|
-
getData:
|
|
314
|
-
generatePdf:
|
|
315
|
-
generateCsv:
|
|
316
|
-
generateImage:
|
|
317
|
-
toggleTable:
|
|
318
|
-
toggleAnnotator:
|
|
319
|
-
}), (l,
|
|
313
|
+
return Ke({
|
|
314
|
+
getData: ut,
|
|
315
|
+
generatePdf: $e,
|
|
316
|
+
generateCsv: De,
|
|
317
|
+
generateImage: Ne,
|
|
318
|
+
toggleTable: Ee,
|
|
319
|
+
toggleAnnotator: ie
|
|
320
|
+
}), (l, o) => (a(), u("div", {
|
|
320
321
|
ref_key: "donutEvolutionChart",
|
|
321
|
-
ref:
|
|
322
|
-
class: P(`vue-ui-donut-evolution ${
|
|
323
|
-
style:
|
|
324
|
-
id:
|
|
322
|
+
ref: oe,
|
|
323
|
+
class: P(`vue-ui-donut-evolution ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
324
|
+
style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor}`),
|
|
325
|
+
id: D.value,
|
|
326
|
+
onMouseenter: o[4] || (o[4] = () => c(we)(!0)),
|
|
327
|
+
onMouseleave: o[5] || (o[5] = () => c(we)(!1))
|
|
325
328
|
}, [
|
|
326
|
-
e.value.userOptions.buttons.annotator ? (a(),
|
|
329
|
+
e.value.userOptions.buttons.annotator ? (a(), T(It, {
|
|
327
330
|
key: 0,
|
|
328
|
-
parent:
|
|
331
|
+
parent: oe.value,
|
|
329
332
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
330
333
|
color: e.value.style.chart.color,
|
|
331
334
|
active: K.value,
|
|
332
|
-
onClose:
|
|
335
|
+
onClose: ie
|
|
333
336
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
334
|
-
|
|
337
|
+
Ze.value ? (a(), u("div", {
|
|
335
338
|
key: 1,
|
|
336
339
|
ref_key: "noTitle",
|
|
337
|
-
ref:
|
|
340
|
+
ref: Qe,
|
|
338
341
|
class: "vue-data-ui-no-title-space",
|
|
339
342
|
style: "height:36px; width: 100%;background:transparent"
|
|
340
343
|
}, null, 512)) : v("", !0),
|
|
341
|
-
e.value.style.chart.title.text ? (a(),
|
|
344
|
+
e.value.style.chart.title.text ? (a(), u("div", {
|
|
342
345
|
key: 2,
|
|
343
346
|
style: "width:100%;background:transparent;padding-bottom:24px",
|
|
344
|
-
onMouseleave:
|
|
347
|
+
onMouseleave: Fe
|
|
345
348
|
}, [
|
|
346
|
-
(a(),
|
|
349
|
+
(a(), T(_t, {
|
|
347
350
|
key: `title_${pe.value}`,
|
|
348
351
|
config: {
|
|
349
352
|
title: {
|
|
@@ -357,32 +360,35 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
357
360
|
}
|
|
358
361
|
}, null, 8, ["config"]))
|
|
359
362
|
], 32)) : v("", !0),
|
|
360
|
-
e.value.userOptions.show && j.value ? (a(),
|
|
363
|
+
e.value.userOptions.show && j.value && (c(Le) || c(Ce)) ? (a(), T(wt, {
|
|
361
364
|
ref: "details",
|
|
362
365
|
key: `user_options_${be.value}`,
|
|
363
366
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
364
367
|
color: e.value.style.chart.color,
|
|
365
|
-
isPrinting: c(
|
|
366
|
-
isImaging: c(
|
|
367
|
-
uid:
|
|
368
|
+
isPrinting: c(Se),
|
|
369
|
+
isImaging: c(Ae),
|
|
370
|
+
uid: D.value,
|
|
368
371
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
369
372
|
hasImg: e.value.userOptions.buttons.img,
|
|
370
373
|
hasXls: e.value.userOptions.buttons.csv,
|
|
371
374
|
hasTable: e.value.userOptions.buttons.table,
|
|
372
375
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
373
|
-
isFullscreen:
|
|
376
|
+
isFullscreen: R.value,
|
|
374
377
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
375
|
-
chartElement:
|
|
378
|
+
chartElement: oe.value,
|
|
376
379
|
position: e.value.userOptions.position,
|
|
377
380
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
378
381
|
isAnnotation: K.value,
|
|
379
|
-
onToggleFullscreen:
|
|
380
|
-
onGeneratePdf: c(
|
|
381
|
-
onGenerateCsv:
|
|
382
|
-
onGenerateImage: c(
|
|
383
|
-
onToggleTable:
|
|
384
|
-
onToggleAnnotator:
|
|
385
|
-
|
|
382
|
+
onToggleFullscreen: st,
|
|
383
|
+
onGeneratePdf: c($e),
|
|
384
|
+
onGenerateCsv: De,
|
|
385
|
+
onGenerateImage: c(Ne),
|
|
386
|
+
onToggleTable: Ee,
|
|
387
|
+
onToggleAnnotator: ie,
|
|
388
|
+
style: q({
|
|
389
|
+
visibility: c(Le) ? c(Ce) ? "visible" : "hidden" : "visible"
|
|
390
|
+
})
|
|
391
|
+
}, rt({ _: 2 }, [
|
|
386
392
|
l.$slots.optionPdf ? {
|
|
387
393
|
name: "optionPdf",
|
|
388
394
|
fn: I(() => [
|
|
@@ -414,29 +420,29 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
414
420
|
l.$slots.optionFullscreen ? {
|
|
415
421
|
name: "optionFullscreen",
|
|
416
422
|
fn: I(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
417
|
-
F(l.$slots, "optionFullscreen",
|
|
423
|
+
F(l.$slots, "optionFullscreen", J(Q({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
418
424
|
]),
|
|
419
425
|
key: "4"
|
|
420
426
|
} : void 0,
|
|
421
427
|
l.$slots.optionAnnotator ? {
|
|
422
428
|
name: "optionAnnotator",
|
|
423
429
|
fn: I(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
424
|
-
F(l.$slots, "optionAnnotator",
|
|
430
|
+
F(l.$slots, "optionAnnotator", J(Q({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
425
431
|
]),
|
|
426
432
|
key: "5"
|
|
427
433
|
} : void 0
|
|
428
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
|
|
429
|
-
j.value ? (a(),
|
|
434
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
435
|
+
j.value ? (a(), u("svg", {
|
|
430
436
|
key: 4,
|
|
431
|
-
xmlns: c(
|
|
432
|
-
class: P({ "vue-data-ui-fullscreen--on":
|
|
437
|
+
xmlns: c(bt),
|
|
438
|
+
class: P({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
433
439
|
viewBox: `0 0 ${i.value.absoluteWidth} ${i.value.absoluteHeight}`,
|
|
434
|
-
style:
|
|
440
|
+
style: q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
435
441
|
}, [
|
|
436
|
-
|
|
442
|
+
it(Nt),
|
|
437
443
|
d("defs", null, [
|
|
438
444
|
d("linearGradient", {
|
|
439
|
-
id: `hover_${
|
|
445
|
+
id: `hover_${D.value}`,
|
|
440
446
|
x1: "0%",
|
|
441
447
|
y1: "0%",
|
|
442
448
|
x2: "0%",
|
|
@@ -445,30 +451,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
445
451
|
d("stop", {
|
|
446
452
|
offset: "0%",
|
|
447
453
|
"stop-color": c(G)(e.value.style.chart.backgroundColor, e.value.style.chart.layout.highlighter.opacity)
|
|
448
|
-
}, null, 8,
|
|
454
|
+
}, null, 8, Et),
|
|
449
455
|
d("stop", {
|
|
450
456
|
offset: "100%",
|
|
451
457
|
"stop-color": c(G)(e.value.style.chart.layout.highlighter.color, e.value.style.chart.layout.highlighter.opacity)
|
|
452
|
-
}, null, 8,
|
|
453
|
-
], 8,
|
|
458
|
+
}, null, 8, Vt)
|
|
459
|
+
], 8, Dt),
|
|
454
460
|
d("radialGradient", {
|
|
455
|
-
id: `focus_${
|
|
461
|
+
id: `focus_${D.value}`
|
|
456
462
|
}, [
|
|
457
463
|
d("stop", {
|
|
458
464
|
offset: "0%",
|
|
459
465
|
"stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
460
|
-
}, null, 8,
|
|
466
|
+
}, null, 8, Ht),
|
|
461
467
|
d("stop", {
|
|
462
468
|
offset: "77%",
|
|
463
469
|
"stop-color": c(G)("#FFFFFF", 30)
|
|
464
|
-
}, null, 8,
|
|
470
|
+
}, null, 8, Ut),
|
|
465
471
|
d("stop", {
|
|
466
472
|
offset: "100%",
|
|
467
473
|
"stop-color": c(G)(c(ve)(e.value.style.chart.backgroundColor), 0)
|
|
468
|
-
}, null, 8,
|
|
469
|
-
], 8,
|
|
474
|
+
}, null, 8, Wt)
|
|
475
|
+
], 8, Mt)
|
|
470
476
|
]),
|
|
471
|
-
e.value.style.chart.layout.grid.show ? (a(),
|
|
477
|
+
e.value.style.chart.layout.grid.show ? (a(), u("g", Rt, [
|
|
472
478
|
d("line", {
|
|
473
479
|
x1: n.value.left,
|
|
474
480
|
x2: n.value.left,
|
|
@@ -477,7 +483,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
477
483
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
478
484
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
479
485
|
"stroke-linecap": "round"
|
|
480
|
-
}, null, 8,
|
|
486
|
+
}, null, 8, Xt),
|
|
481
487
|
d("line", {
|
|
482
488
|
x1: n.value.left,
|
|
483
489
|
x2: i.value.absoluteWidth - n.value.right,
|
|
@@ -486,9 +492,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
486
492
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
487
493
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
488
494
|
"stroke-linecap": "round"
|
|
489
|
-
}, null, 8,
|
|
490
|
-
e.value.style.chart.layout.grid.showVerticalLines ? (a(),
|
|
491
|
-
(a(!0),
|
|
495
|
+
}, null, 8, Gt),
|
|
496
|
+
e.value.style.chart.layout.grid.showVerticalLines ? (a(), u("g", jt, [
|
|
497
|
+
(a(!0), u(k, null, _(h.value.end - h.value.start, (t, r) => (a(), u("line", {
|
|
492
498
|
x1: n.value.left + (r + 1) * L.value,
|
|
493
499
|
x2: n.value.left + (r + 1) * L.value,
|
|
494
500
|
y1: n.value.top,
|
|
@@ -496,15 +502,15 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
496
502
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
497
503
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth,
|
|
498
504
|
"stroke-linecap": "round"
|
|
499
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, Bt))), 256))
|
|
500
506
|
])) : v("", !0)
|
|
501
507
|
])) : v("", !0),
|
|
502
|
-
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(),
|
|
508
|
+
e.value.style.chart.layout.grid.yAxis.dataLabels.show ? (a(), u("g", {
|
|
503
509
|
key: 1,
|
|
504
|
-
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null ||
|
|
510
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value })
|
|
505
511
|
}, [
|
|
506
|
-
(a(!0),
|
|
507
|
-
t.value >=
|
|
512
|
+
(a(!0), u(k, null, _(lt.value, (t, r) => (a(), u("g", null, [
|
|
513
|
+
t.value >= M.value.min && t.value <= M.value.max ? (a(), u("line", {
|
|
508
514
|
key: 0,
|
|
509
515
|
x1: n.value.left,
|
|
510
516
|
x2: n.value.left - 5,
|
|
@@ -512,8 +518,8 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
512
518
|
y2: t.y,
|
|
513
519
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
514
520
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
515
|
-
}, null, 8,
|
|
516
|
-
t.value >=
|
|
521
|
+
}, null, 8, Yt)) : v("", !0),
|
|
522
|
+
t.value >= M.value.min && t.value <= M.value.max ? (a(), u("text", {
|
|
517
523
|
key: 1,
|
|
518
524
|
x: n.value.left - 8 + e.value.style.chart.layout.grid.yAxis.dataLabels.offsetX,
|
|
519
525
|
y: t.y + e.value.style.chart.layout.grid.yAxis.dataLabels.fontSize / 3,
|
|
@@ -521,37 +527,37 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
521
527
|
"text-anchor": "end",
|
|
522
528
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
523
529
|
"font-weight": e.value.style.chart.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
|
|
524
|
-
}, b(c(
|
|
530
|
+
}, b(c(xt)(t.value) ? c(he)(
|
|
525
531
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
526
532
|
t.value,
|
|
527
|
-
c(
|
|
533
|
+
c(te)({
|
|
528
534
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
529
535
|
v: t.value,
|
|
530
536
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
531
537
|
r: e.value.style.chart.layout.grid.yAxis.dataLabels.roundingValue
|
|
532
538
|
}),
|
|
533
539
|
{ datapoint: t, seriesIndex: r }
|
|
534
|
-
) : ""), 9,
|
|
540
|
+
) : ""), 9, Kt)) : v("", !0)
|
|
535
541
|
]))), 256))
|
|
536
542
|
], 2)) : v("", !0),
|
|
537
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(),
|
|
543
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.show ? (a(), u("g", {
|
|
538
544
|
key: 2,
|
|
539
|
-
class: P({ "donut-opacity": !0, "donut-behind":
|
|
545
|
+
class: P({ "donut-opacity": !0, "donut-behind": S.value })
|
|
540
546
|
}, [
|
|
541
|
-
(a(!0),
|
|
542
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.showOnlyFirstAndLast && (r === 0 || r ===
|
|
547
|
+
(a(!0), u(k, null, _(h.value.end - h.value.start, (t, r) => (a(), u("g", null, [
|
|
548
|
+
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(), u("text", {
|
|
543
549
|
key: 0,
|
|
544
550
|
"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",
|
|
545
551
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize,
|
|
546
552
|
fill: e.value.style.chart.layout.grid.xAxis.dataLabels.color,
|
|
547
553
|
transform: `translate(${n.value.left + L.value * r + L.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})`
|
|
548
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9,
|
|
554
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(r) + Number(h.value.start)] ?? ""), 9, qt)) : v("", !0)
|
|
549
555
|
]))), 256))
|
|
550
556
|
], 2)) : v("", !0),
|
|
551
|
-
(a(!0),
|
|
552
|
-
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(),
|
|
557
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", null, [
|
|
558
|
+
e.value.style.chart.layout.line.show && r < w.value.length - 1 && ![t.subtotal, w.value[r + 1].subtotal].includes(null) ? (a(), u("line", {
|
|
553
559
|
key: 0,
|
|
554
|
-
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null ||
|
|
560
|
+
class: P({ "donut-opacity": !0, "donut-behind": g.value !== null || S.value }),
|
|
555
561
|
x1: t.x,
|
|
556
562
|
y1: t.y,
|
|
557
563
|
x2: w.value[r + 1].x,
|
|
@@ -560,42 +566,42 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
560
566
|
"stroke-width": e.value.style.chart.layout.line.strokeWidth,
|
|
561
567
|
"stroke-linecap": "round",
|
|
562
568
|
"stroke-linejoin": "round"
|
|
563
|
-
}, null, 10,
|
|
564
|
-
t.subtotal !== null ? (a(),
|
|
565
|
-
t.subtotal ? (a(),
|
|
569
|
+
}, null, 10, Jt)) : v("", !0),
|
|
570
|
+
t.subtotal !== null ? (a(), u("g", Qt, [
|
|
571
|
+
t.subtotal ? (a(), u("circle", {
|
|
566
572
|
key: 0,
|
|
567
573
|
cx: t.x,
|
|
568
574
|
cy: t.y,
|
|
569
575
|
r: t.activeRadius,
|
|
570
576
|
fill: e.value.style.chart.backgroundColor
|
|
571
|
-
}, null, 8,
|
|
577
|
+
}, null, 8, Zt)) : v("", !0)
|
|
572
578
|
])) : v("", !0)
|
|
573
579
|
]))), 256)),
|
|
574
|
-
(a(!0),
|
|
575
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
580
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
|
|
581
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
|
|
576
582
|
}, [
|
|
577
|
-
t.subtotal ? (a(),
|
|
578
|
-
g.value !== null && g.value === r ? (a(),
|
|
579
|
-
(a(!0),
|
|
583
|
+
t.subtotal ? (a(), u("g", el, [
|
|
584
|
+
g.value !== null && g.value === r ? (a(), u("g", tl, [
|
|
585
|
+
(a(!0), u(k, null, _(t.donutHover, (s) => (a(), u("g", null, [
|
|
580
586
|
d("path", {
|
|
581
|
-
d: c(
|
|
587
|
+
d: c(Xe)(s, { x: s.center.endX, y: s.center.endY }, 12, 12, { x: t.x, y: t.y }, !0, 20),
|
|
582
588
|
stroke: s.color,
|
|
583
589
|
"stroke-width": "1",
|
|
584
590
|
"stroke-linecap": "round",
|
|
585
591
|
"stroke-linejoin": "round",
|
|
586
592
|
fill: "none"
|
|
587
|
-
}, null, 8,
|
|
593
|
+
}, null, 8, ll)
|
|
588
594
|
]))), 256)),
|
|
589
|
-
(a(!0),
|
|
595
|
+
(a(!0), u(k, null, _(t.donutHover, (s, f) => (a(), u("g", null, [
|
|
590
596
|
d("text", {
|
|
591
597
|
"data-cy-hover-label": "",
|
|
592
|
-
"text-anchor": c(
|
|
593
|
-
x: c(
|
|
594
|
-
y: c(
|
|
598
|
+
"text-anchor": c(le)(s, !0, 0).anchor,
|
|
599
|
+
x: c(le)(s, !0, 3).x,
|
|
600
|
+
y: c(Ge)(s),
|
|
595
601
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
596
602
|
"font-size": 8,
|
|
597
603
|
"font-weight": "bold"
|
|
598
|
-
}, b(s.name) + ": " + b(
|
|
604
|
+
}, b(s.name) + ": " + b(Ie(s, t.donut)) + " (" + b(s.value === null ? "-" : Y(s.value, s, f)) + ") ", 9, al)
|
|
599
605
|
]))), 256)),
|
|
600
606
|
d("g", null, [
|
|
601
607
|
d("circle", {
|
|
@@ -603,42 +609,42 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
603
609
|
cy: t.y,
|
|
604
610
|
r: t.hoverRadius,
|
|
605
611
|
fill: e.value.style.chart.backgroundColor
|
|
606
|
-
}, null, 8,
|
|
612
|
+
}, null, 8, ol)
|
|
607
613
|
])
|
|
608
614
|
])) : v("", !0)
|
|
609
615
|
])) : v("", !0)
|
|
610
616
|
], 2))), 256)),
|
|
611
|
-
(a(!0),
|
|
612
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
617
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
|
|
618
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
|
|
613
619
|
}, [
|
|
614
|
-
t.subtotal !== null ? (a(),
|
|
615
|
-
t.subtotal === 0 ? (a(),
|
|
620
|
+
t.subtotal !== null ? (a(), u("g", ul, [
|
|
621
|
+
t.subtotal === 0 ? (a(), u("circle", {
|
|
616
622
|
key: 0,
|
|
617
623
|
cx: t.x,
|
|
618
624
|
cy: t.y,
|
|
619
625
|
r: 3,
|
|
620
626
|
fill: e.value.style.chart.color
|
|
621
|
-
}, null, 8,
|
|
622
|
-
(a(!0),
|
|
627
|
+
}, null, 8, sl)) : g.value !== null && g.value === r ? (a(), u("g", nl, [
|
|
628
|
+
(a(!0), u(k, null, _(t.donutHover, (s, f) => (a(), u("path", {
|
|
623
629
|
d: s.arcSlice,
|
|
624
630
|
fill: `${s.color}`,
|
|
625
631
|
"stroke-width": 1,
|
|
626
632
|
stroke: e.value.style.chart.backgroundColor
|
|
627
|
-
}, null, 8,
|
|
628
|
-
])) : (a(),
|
|
629
|
-
(a(!0),
|
|
633
|
+
}, null, 8, rl))), 256))
|
|
634
|
+
])) : (a(), u("g", il, [
|
|
635
|
+
(a(!0), u(k, null, _(t.donut, (s, f) => (a(), u("path", {
|
|
630
636
|
d: s.arcSlice,
|
|
631
637
|
fill: `${s.color}`,
|
|
632
638
|
"stroke-width": 0.5,
|
|
633
639
|
stroke: e.value.style.chart.backgroundColor
|
|
634
|
-
}, null, 8,
|
|
640
|
+
}, null, 8, cl))), 256))
|
|
635
641
|
]))
|
|
636
642
|
])) : v("", !0)
|
|
637
643
|
], 2))), 256)),
|
|
638
|
-
(a(!0),
|
|
639
|
-
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null ||
|
|
644
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("g", {
|
|
645
|
+
class: P({ "donut-opacity": !0, "donut-behind": r !== g.value && g.value !== null || S.value })
|
|
640
646
|
}, [
|
|
641
|
-
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(),
|
|
647
|
+
t.subtotal !== null && e.value.style.chart.layout.dataLabels.show ? (a(), u("text", {
|
|
642
648
|
key: 0,
|
|
643
649
|
"text-anchor": "middle",
|
|
644
650
|
x: t.x,
|
|
@@ -646,30 +652,30 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
646
652
|
"font-size": e.value.style.chart.layout.dataLabels.fontSize,
|
|
647
653
|
"font-weight": "bold",
|
|
648
654
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
649
|
-
}, b(Y(t.subtotal, t, r)), 9,
|
|
655
|
+
}, b(Y(t.subtotal, t, r)), 9, vl)) : v("", !0)
|
|
650
656
|
], 2))), 256)),
|
|
651
|
-
(a(!0),
|
|
657
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("rect", {
|
|
652
658
|
x: n.value.left + r * L.value,
|
|
653
659
|
y: i.value.absoluteHeight - n.value.bottom - 10,
|
|
654
660
|
width: L.value,
|
|
655
661
|
height: 10,
|
|
656
|
-
fill: g.value === t.index ? `url(#hover_${
|
|
657
|
-
onClick: (s) =>
|
|
662
|
+
fill: g.value === t.index ? `url(#hover_${D.value})` : "transparent",
|
|
663
|
+
onClick: (s) => ne(t, r),
|
|
658
664
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
659
|
-
}, null, 10,
|
|
660
|
-
(a(!0),
|
|
665
|
+
}, null, 10, dl))), 256)),
|
|
666
|
+
(a(!0), u(k, null, _(w.value, (t, r) => (a(), u("rect", {
|
|
661
667
|
"data-cy-trap": "",
|
|
662
668
|
x: n.value.left + r * L.value,
|
|
663
669
|
y: n.value.top,
|
|
664
670
|
width: L.value,
|
|
665
671
|
height: i.value.height,
|
|
666
672
|
fill: "transparent",
|
|
667
|
-
onMouseenter: (s) =>
|
|
668
|
-
onMouseleave:
|
|
669
|
-
onClick: (s) =>
|
|
673
|
+
onMouseenter: (s) => at(t),
|
|
674
|
+
onMouseleave: Fe,
|
|
675
|
+
onClick: (s) => ne(t, r),
|
|
670
676
|
class: P({ "donut-hover": g.value === t.index && t.subtotal })
|
|
671
|
-
}, null, 42,
|
|
672
|
-
|
|
677
|
+
}, null, 42, hl))), 256)),
|
|
678
|
+
S.value ? (a(), u("g", yl, [
|
|
673
679
|
d("rect", {
|
|
674
680
|
rx: 4,
|
|
675
681
|
x: n.value.left,
|
|
@@ -678,7 +684,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
678
684
|
height: i.value.height,
|
|
679
685
|
fill: e.value.style.chart.backgroundColor,
|
|
680
686
|
style: { filter: "drop-shadow(0 12px 12px rgba(0,0,0,0.3))" }
|
|
681
|
-
}, null, 8,
|
|
687
|
+
}, null, 8, fl),
|
|
682
688
|
d("line", {
|
|
683
689
|
"data-html2canvas-ignore": "",
|
|
684
690
|
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
@@ -688,7 +694,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
688
694
|
"stroke-linecap": "round",
|
|
689
695
|
stroke: e.value.style.chart.color,
|
|
690
696
|
"stroke-width": "1.5"
|
|
691
|
-
}, null, 8,
|
|
697
|
+
}, null, 8, gl),
|
|
692
698
|
d("line", {
|
|
693
699
|
"data-html2canvas-ignore": "",
|
|
694
700
|
x1: i.value.absoluteWidth - n.value.right - 15,
|
|
@@ -698,65 +704,65 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
698
704
|
"stroke-linecap": "round",
|
|
699
705
|
stroke: e.value.style.chart.color,
|
|
700
706
|
"stroke-width": "1.5"
|
|
701
|
-
}, null, 8,
|
|
707
|
+
}, null, 8, ml),
|
|
702
708
|
d("circle", {
|
|
703
709
|
"data-cy-close": "",
|
|
704
|
-
onClick:
|
|
705
|
-
onKeypress:
|
|
710
|
+
onClick: Pe,
|
|
711
|
+
onKeypress: ct(Pe, ["enter"]),
|
|
706
712
|
cx: i.value.absoluteWidth - n.value.right - i.value.width / 40,
|
|
707
713
|
cy: n.value.top + i.value.height / 30,
|
|
708
714
|
r: i.value.height / 12,
|
|
709
715
|
fill: "transparent",
|
|
710
716
|
style: { cursor: "pointer" },
|
|
711
717
|
tabindex: "0"
|
|
712
|
-
}, null, 40,
|
|
713
|
-
(a(!0),
|
|
718
|
+
}, null, 40, bl),
|
|
719
|
+
(a(!0), u(k, null, _(A.value.donutFocus, (t) => (a(), u("g", null, [
|
|
714
720
|
d("path", {
|
|
715
721
|
"data-cy-zoom-donut": "",
|
|
716
|
-
d: c(
|
|
722
|
+
d: c(Xe)(t, { x: i.value.centerX, y: i.value.centerY }, 12, 12, !1, !1, 15),
|
|
717
723
|
stroke: t.color,
|
|
718
724
|
"stroke-width": "1",
|
|
719
725
|
"stroke-linecap": "round",
|
|
720
726
|
"stroke-linejoin": "round",
|
|
721
727
|
fill: "none",
|
|
722
728
|
class: "vue-ui-donut-evolution-focus"
|
|
723
|
-
}, null, 8,
|
|
729
|
+
}, null, 8, xl)
|
|
724
730
|
]))), 256)),
|
|
725
731
|
d("circle", {
|
|
726
732
|
cx: n.value.left + i.value.width / 2,
|
|
727
733
|
cy: n.value.top + i.value.height / 2,
|
|
728
734
|
r: i.value.height / 7,
|
|
729
735
|
fill: e.value.style.chart.backgroundColor
|
|
730
|
-
}, null, 8,
|
|
731
|
-
(a(!0),
|
|
736
|
+
}, null, 8, pl),
|
|
737
|
+
(a(!0), u(k, null, _(A.value.donutFocus, (t, r) => (a(), u("path", {
|
|
732
738
|
d: t.arcSlice,
|
|
733
739
|
fill: `${t.color}`,
|
|
734
740
|
"stroke-width": 1,
|
|
735
741
|
stroke: e.value.style.chart.backgroundColor,
|
|
736
742
|
class: "vue-ui-donut-evolution-focus"
|
|
737
|
-
}, null, 8,
|
|
738
|
-
(a(!0),
|
|
743
|
+
}, null, 8, kl))), 256)),
|
|
744
|
+
(a(!0), u(k, null, _(A.value.donutFocus, (t, r) => (a(), u("g", _l, [
|
|
739
745
|
d("text", {
|
|
740
|
-
"text-anchor": c(
|
|
741
|
-
x: c(
|
|
742
|
-
y: c(
|
|
746
|
+
"text-anchor": c(le)(t, !0, 20).anchor,
|
|
747
|
+
x: c(le)(t, !0, 10).x,
|
|
748
|
+
y: c(Ge)(t),
|
|
743
749
|
fill: e.value.style.chart.layout.grid.yAxis.dataLabels.color,
|
|
744
750
|
"font-size": 10,
|
|
745
751
|
"font-weight": "bold"
|
|
746
|
-
}, b(t.name) + ": " + b(
|
|
752
|
+
}, b(t.name) + ": " + b(Ie(t, A.value.donutFocus)) + " (" + b(t.value === null ? "-" : Y(t.value, t, r)) + ") ", 9, Cl)
|
|
747
753
|
]))), 256)),
|
|
748
754
|
d("circle", {
|
|
749
755
|
cx: n.value.left + i.value.width / 2,
|
|
750
756
|
cy: n.value.top + i.value.height / 2,
|
|
751
757
|
r: i.value.height / 3.8,
|
|
752
|
-
fill: `url(#focus_${
|
|
753
|
-
}, null, 8,
|
|
758
|
+
fill: `url(#focus_${D.value})`
|
|
759
|
+
}, null, 8, wl),
|
|
754
760
|
d("circle", {
|
|
755
761
|
cx: n.value.left + i.value.width / 2,
|
|
756
762
|
cy: n.value.top + i.value.height / 2,
|
|
757
763
|
r: i.value.height / 7.7,
|
|
758
764
|
fill: e.value.style.chart.backgroundColor
|
|
759
|
-
}, null, 8,
|
|
765
|
+
}, null, 8, Ll),
|
|
760
766
|
d("text", {
|
|
761
767
|
"text-anchor": "middle",
|
|
762
768
|
x: n.value.left + i.value.width / 2,
|
|
@@ -765,21 +771,21 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
765
771
|
"font-weight": "bold",
|
|
766
772
|
fill: e.value.style.chart.layout.dataLabels.color,
|
|
767
773
|
class: "vue-ui-donut-evolution-focus"
|
|
768
|
-
}, b(Y(
|
|
769
|
-
e.value.style.chart.layout.grid.xAxis.dataLabels.values[
|
|
774
|
+
}, b(Y(A.value.subtotal, A.value, null)), 9, zl),
|
|
775
|
+
e.value.style.chart.layout.grid.xAxis.dataLabels.values[A.value.index] ? (a(), u("text", {
|
|
770
776
|
key: 0,
|
|
771
777
|
x: n.value.left + 6,
|
|
772
778
|
y: n.value.top + e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 2,
|
|
773
779
|
"font-size": e.value.style.chart.layout.grid.xAxis.dataLabels.fontSize * 1.6,
|
|
774
780
|
fill: e.value.style.chart.layout.dataLabels.color
|
|
775
|
-
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(
|
|
781
|
+
}, b(e.value.style.chart.layout.grid.xAxis.dataLabels.values[Number(A.value.index) + Number(h.value.start)]), 9, Sl)) : v("", !0)
|
|
776
782
|
])) : v("", !0),
|
|
777
783
|
F(l.$slots, "svg", { svg: i.value }, void 0, !0)
|
|
778
|
-
], 14,
|
|
779
|
-
l.$slots.watermark ? (a(),
|
|
780
|
-
F(l.$slots, "watermark",
|
|
784
|
+
], 14, Tt)) : v("", !0),
|
|
785
|
+
l.$slots.watermark ? (a(), u("div", Al, [
|
|
786
|
+
F(l.$slots, "watermark", J(Q({ isPrinting: c(Se) || c(Ae) })), void 0, !0)
|
|
781
787
|
])) : v("", !0),
|
|
782
|
-
j.value ? v("", !0) : (a(),
|
|
788
|
+
j.value ? v("", !0) : (a(), T(St, {
|
|
783
789
|
key: 6,
|
|
784
790
|
config: {
|
|
785
791
|
type: "donutEvolution",
|
|
@@ -796,7 +802,7 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
796
802
|
}
|
|
797
803
|
}
|
|
798
804
|
}, null, 8, ["config"])),
|
|
799
|
-
|
|
805
|
+
E.value > 1 && e.value.style.chart.zoom.show ? (a(), T(At, {
|
|
800
806
|
ref_key: "slicerComponent",
|
|
801
807
|
ref: V,
|
|
802
808
|
key: `slicer_${xe.value}`,
|
|
@@ -809,39 +815,39 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
809
815
|
textColor: e.value.style.chart.color,
|
|
810
816
|
inputColor: e.value.style.chart.zoom.color,
|
|
811
817
|
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
812
|
-
max:
|
|
818
|
+
max: E.value,
|
|
813
819
|
min: 0,
|
|
814
820
|
valueStart: h.value.start,
|
|
815
821
|
valueEnd: h.value.end,
|
|
816
822
|
start: h.value.start,
|
|
817
|
-
"onUpdate:start":
|
|
823
|
+
"onUpdate:start": o[0] || (o[0] = (t) => h.value.start = t),
|
|
818
824
|
end: h.value.end,
|
|
819
|
-
"onUpdate:end":
|
|
825
|
+
"onUpdate:end": o[1] || (o[1] = (t) => h.value.end = t),
|
|
820
826
|
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
821
|
-
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 :
|
|
827
|
+
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : E.value,
|
|
822
828
|
onReset: fe
|
|
823
829
|
}, {
|
|
824
830
|
"reset-action": I(({ reset: t }) => [
|
|
825
|
-
F(l.$slots, "reset-action",
|
|
831
|
+
F(l.$slots, "reset-action", J(Q({ reset: t })), void 0, !0)
|
|
826
832
|
]),
|
|
827
833
|
_: 3
|
|
828
834
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : v("", !0),
|
|
829
|
-
e.value.style.chart.legend.show ? (a(),
|
|
835
|
+
e.value.style.chart.legend.show ? (a(), T(zt, {
|
|
830
836
|
key: `legend_${_e.value}`,
|
|
831
|
-
legendSet:
|
|
832
|
-
config:
|
|
833
|
-
onClickMarker:
|
|
837
|
+
legendSet: Oe.value,
|
|
838
|
+
config: ot.value,
|
|
839
|
+
onClickMarker: o[2] || (o[2] = ({ legend: t }) => re(t.uid))
|
|
834
840
|
}, {
|
|
835
841
|
item: I(({ legend: t, index: r }) => [
|
|
836
842
|
d("div", {
|
|
837
843
|
"data-cy-legend-item": "",
|
|
838
|
-
onClick: (s) =>
|
|
839
|
-
style:
|
|
844
|
+
onClick: (s) => re(t.uid),
|
|
845
|
+
style: q(`opacity:${C.value.includes(t.uid) ? 0.5 : 1}`)
|
|
840
846
|
}, [
|
|
841
|
-
|
|
847
|
+
He(b(t.name) + ": " + b(c(he)(
|
|
842
848
|
e.value.style.chart.layout.dataLabels.formatter,
|
|
843
849
|
t.value,
|
|
844
|
-
c(
|
|
850
|
+
c(te)({
|
|
845
851
|
p: e.value.style.chart.layout.dataLabels.prefix,
|
|
846
852
|
v: t.value,
|
|
847
853
|
s: e.value.style.chart.layout.dataLabels.suffix,
|
|
@@ -849,20 +855,20 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
849
855
|
}),
|
|
850
856
|
{ datapoint: t, seriesIndex: r }
|
|
851
857
|
)) + " ", 1),
|
|
852
|
-
C.value.includes(t.uid) ? (a(),
|
|
853
|
-
v: t.value /
|
|
858
|
+
C.value.includes(t.uid) ? (a(), u("span", Il, " ( - % ) ")) : (a(), u("span", Nl, " (" + b(isNaN(t.value / Te.value) ? "-" : c(te)({
|
|
859
|
+
v: t.value / Te.value * 100,
|
|
854
860
|
s: "%",
|
|
855
861
|
r: e.value.style.chart.legend.roundingPercentage
|
|
856
862
|
})) + ") ", 1))
|
|
857
|
-
], 12,
|
|
863
|
+
], 12, $l)
|
|
858
864
|
]),
|
|
859
865
|
_: 1
|
|
860
866
|
}, 8, ["legendSet", "config"])) : v("", !0),
|
|
861
|
-
F(l.$slots, "legend", { legend:
|
|
862
|
-
l.$slots.source ? (a(),
|
|
867
|
+
F(l.$slots, "legend", { legend: Oe.value }, void 0, !0),
|
|
868
|
+
l.$slots.source ? (a(), u("div", Fl, [
|
|
863
869
|
F(l.$slots, "source", {}, void 0, !0)
|
|
864
870
|
], 512)) : v("", !0),
|
|
865
|
-
j.value ? (a(),
|
|
871
|
+
j.value ? (a(), T($t, {
|
|
866
872
|
key: 10,
|
|
867
873
|
hideDetails: "",
|
|
868
874
|
config: {
|
|
@@ -879,20 +885,20 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
879
885
|
}
|
|
880
886
|
}, {
|
|
881
887
|
content: I(() => [
|
|
882
|
-
(a(),
|
|
888
|
+
(a(), T(Lt, {
|
|
883
889
|
key: `table_${ke.value}`,
|
|
884
|
-
colNames:
|
|
885
|
-
head:
|
|
886
|
-
body:
|
|
887
|
-
config:
|
|
890
|
+
colNames: H.value.colNames,
|
|
891
|
+
head: H.value.head,
|
|
892
|
+
body: H.value.body,
|
|
893
|
+
config: H.value.config,
|
|
888
894
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
889
|
-
onClose:
|
|
895
|
+
onClose: o[3] || (o[3] = (t) => B.value.showTable = !1)
|
|
890
896
|
}, {
|
|
891
897
|
th: I(({ th: t }) => [
|
|
892
|
-
|
|
898
|
+
He(b(t.name ?? t), 1)
|
|
893
899
|
]),
|
|
894
900
|
td: I(({ td: t }) => [
|
|
895
|
-
t.value === null ? (a(),
|
|
901
|
+
t.value === null ? (a(), u("span", Pl, "-")) : (a(), u("b", Ol, 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)),
|
|
896
902
|
d("span", null, b(t.percentage && !isNaN(t.percentage) ? `(${Number(t.percentage.toFixed(e.value.table.td.roundingPercentage)).toLocaleString()}%)` : ""), 1)
|
|
897
903
|
]),
|
|
898
904
|
_: 1
|
|
@@ -900,9 +906,9 @@ const Nt = ["id"], It = ["xmlns", "viewBox"], Ft = ["id"], Pt = ["stop-color"],
|
|
|
900
906
|
]),
|
|
901
907
|
_: 1
|
|
902
908
|
}, 8, ["config"])) : v("", !0)
|
|
903
|
-
],
|
|
909
|
+
], 46, Ot));
|
|
904
910
|
}
|
|
905
|
-
},
|
|
911
|
+
}, ql = /* @__PURE__ */ Pt(Tl, [["__scopeId", "data-v-49a97983"]]);
|
|
906
912
|
export {
|
|
907
|
-
|
|
913
|
+
ql as default
|
|
908
914
|
};
|