vue-data-ui 2.6.6 → 2.6.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DFWjAvCY.js → Arrow-BHD3VBsD.js} +1 -1
- package/dist/{Arrow-BYqxz6UG.cjs → Arrow-YuEygGzC.cjs} +1 -1
- package/dist/{BaseIcon-COe_H-UB.cjs → BaseIcon-D326yPTV.cjs} +1 -1
- package/dist/{BaseIcon-t20JEZNG.js → BaseIcon-dThl5uNa.js} +1 -1
- package/dist/{DataTable-Du7nJ0TM.cjs → DataTable-CaD8j-SL.cjs} +1 -1
- package/dist/{DataTable-CJN0sipt.js → DataTable-D0-zzsJg.js} +2 -2
- package/dist/{Legend-CM7IGBC3.cjs → Legend-CEw2uq9s.cjs} +1 -1
- package/dist/{Legend-BDyPoYfp.js → Legend-Oaw0MY8Y.js} +2 -2
- package/dist/{PackageVersion-qeLvq6l8.cjs → PackageVersion-CCgJTyH9.cjs} +1 -1
- package/dist/{PackageVersion-DqmHcoqz.js → PackageVersion-J_USnljf.js} +1 -1
- package/dist/{PenAndPaper-6UYizrkQ.js → PenAndPaper-CoEXEMcN.js} +3 -3
- package/dist/{PenAndPaper-BYqaxOpk.cjs → PenAndPaper-DvNBHCpq.cjs} +1 -1
- package/dist/Shape-Cwx-wRaK.cjs +1 -0
- package/dist/{Shape-C_qIhG3J.js → Shape-Dtm6toQp.js} +26 -23
- package/dist/{Slicer-DPae3p1M.cjs → Slicer-7z_6bjyU.cjs} +1 -1
- package/dist/{Slicer-BQP3UIW-.js → Slicer-BAcq2vD0.js} +2 -2
- package/dist/{Title-BGiQdt7J.cjs → Title-BQSh4ukk.cjs} +1 -1
- package/dist/{Title-D6h1gTvZ.js → Title-DePxeqVl.js} +1 -1
- package/dist/{Tooltip-BonEVaob.js → Tooltip-DRw9RoFp.js} +23 -20
- package/dist/Tooltip-DtqrGu-Q.cjs +1 -0
- package/dist/{index-B9qF6XbP.js → index-CZlI7PiS.js} +1 -1
- package/dist/{index-kZKcQZM_.cjs → index-DD4PT0Pl.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/useChartAccessibility-BWojgys7.js +13 -0
- package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
- package/dist/{useNestedProp-g5oKzlVy.js → useNestedProp-Cg0NIwr6.js} +1 -1
- package/dist/{useNestedProp-D4Jn2Oxr.cjs → useNestedProp-DU7JFxpL.cjs} +1 -1
- package/dist/{usePrinter-DR42gTOS.cjs → usePrinter-BtJq2wwh.cjs} +1 -1
- package/dist/{usePrinter-DsiBLAy1.js → usePrinter-D-sSdR2l.js} +1 -1
- package/dist/{vue-data-ui-DB2kdhYH.js → vue-data-ui-Dh3BJvUF.js} +61 -61
- package/dist/{vue-data-ui-DbhVASfn.cjs → vue-data-ui-DzVmFW3P.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-DHeSFJ5z.js → vue-ui-3d-bar-Ckd-GTWY.js} +171 -168
- package/dist/vue-ui-3d-bar-llxfgI9N.cjs +19 -0
- package/dist/{vue-ui-accordion-BfDu7hTY.cjs → vue-ui-accordion-2He8z0Sy.cjs} +1 -1
- package/dist/{vue-ui-accordion-DBmchkva.js → vue-ui-accordion-DVtmOO3I.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CvUCPqxa.js → vue-ui-age-pyramid-BUGAES7K.js} +85 -82
- package/dist/vue-ui-age-pyramid-CxBb12yp.cjs +1 -0
- package/dist/{vue-ui-annotator-BV9t6ro7.cjs → vue-ui-annotator-BDUanFLb.cjs} +1 -1
- package/dist/{vue-ui-annotator-Dr5PLrJx.js → vue-ui-annotator-gIa7-tAI.js} +1 -1
- package/dist/vue-ui-bullet-Bg8f_RzX.cjs +34 -0
- package/dist/{vue-ui-bullet-D7Uw9tez.js → vue-ui-bullet-DNfzMdcg.js} +92 -89
- package/dist/vue-ui-candlestick-CnKPX6xB.cjs +2 -0
- package/dist/{vue-ui-candlestick-BFmh-zx1.js → vue-ui-candlestick-jErGIOZA.js} +155 -152
- package/dist/{vue-ui-carousel-table-CUhkylz_.js → vue-ui-carousel-table-DHyvpjWL.js} +4 -4
- package/dist/{vue-ui-carousel-table-C30Gvanv.cjs → vue-ui-carousel-table-DsY9Mrdg.cjs} +1 -1
- package/dist/vue-ui-chestnut-BTCxF3dU.cjs +6 -0
- package/dist/{vue-ui-chestnut-C53wdHmR.js → vue-ui-chestnut-kQjk4FqR.js} +186 -183
- package/dist/{vue-ui-circle-pack-Bj3sA7RV.js → vue-ui-circle-pack-BQbwIDRa.js} +99 -96
- package/dist/vue-ui-circle-pack-D-eMMNzU.cjs +1 -0
- package/dist/{vue-ui-cursor-ZBrt-jTo.cjs → vue-ui-cursor-Dd2eSMAz.cjs} +1 -1
- package/dist/{vue-ui-cursor-0GY46Ywr.js → vue-ui-cursor-xy62w2ep.js} +2 -2
- package/dist/{vue-ui-dashboard-BX787_or.js → vue-ui-dashboard-DPjU-kPn.js} +2 -2
- package/dist/{vue-ui-dashboard-pzZD8J2y.cjs → vue-ui-dashboard-nMODKstD.cjs} +1 -1
- package/dist/{vue-ui-digits-BvCMwL0L.js → vue-ui-digits-BNTE0Lsb.js} +2 -2
- package/dist/{vue-ui-digits-Blb8fghV.cjs → vue-ui-digits-Beuy8wvV.cjs} +1 -1
- package/dist/vue-ui-donut-DWKUDr7k.cjs +1 -0
- package/dist/vue-ui-donut-evolution-BICtQ8ke.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-DRfJVMrP.js → vue-ui-donut-evolution-DfHfXqar.js} +133 -131
- package/dist/{vue-ui-donut-yBjSgsTz.js → vue-ui-donut-ipVF2Pk6.js} +158 -155
- package/dist/{vue-ui-dumbbell-4-hWZn-o.js → vue-ui-dumbbell-D04To0aO.js} +125 -122
- package/dist/vue-ui-dumbbell-DPZYa6RZ.cjs +9 -0
- package/dist/{vue-ui-flow-aH6xSdwn.js → vue-ui-flow-DYpBU4gG.js} +96 -93
- package/dist/vue-ui-flow-HFjfjzgX.cjs +1 -0
- package/dist/vue-ui-funnel-BwClLXO6.cjs +1 -0
- package/dist/{vue-ui-funnel-BZy4SvlW.js → vue-ui-funnel-CVQHETom.js} +88 -85
- package/dist/vue-ui-galaxy-B0W8yBZU.cjs +1 -0
- package/dist/{vue-ui-galaxy-GDXdZqjm.js → vue-ui-galaxy-DseGnRIL.js} +123 -120
- package/dist/vue-ui-gauge-0vhiDi19.cjs +1 -0
- package/dist/{vue-ui-gauge-CeyHdkuS.js → vue-ui-gauge-B7nCLtyI.js} +86 -83
- package/dist/{vue-ui-gizmo-veFxjktw.js → vue-ui-gizmo-C1fpqm2H.js} +3 -3
- package/dist/{vue-ui-gizmo-CRTzb1J_.cjs → vue-ui-gizmo-CTMnMH7C.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BizLgjJ8.js → vue-ui-heatmap-B0a6TegZ.js} +109 -106
- package/dist/vue-ui-heatmap-DjxXVFyU.cjs +1 -0
- package/dist/vue-ui-history-plot-CfjWg_3c.cjs +1 -0
- package/dist/{vue-ui-history-plot-gzx5uGyY.js → vue-ui-history-plot-DsLgXpZ8.js} +130 -127
- package/dist/{vue-ui-kpi-CP08PB51.cjs → vue-ui-kpi-CTsWQvCi.cjs} +1 -1
- package/dist/{vue-ui-kpi-MdyAQjdJ.js → vue-ui-kpi-be1EaVNS.js} +3 -3
- package/dist/{vue-ui-mini-loader-CYVr1K6S.js → vue-ui-mini-loader-BHm2QQQF.js} +2 -2
- package/dist/{vue-ui-mini-loader-BRmtJ6az.cjs → vue-ui-mini-loader-DLdlPE48.cjs} +1 -1
- package/dist/{vue-ui-molecule-CJ05ddhf.js → vue-ui-molecule--G2QIMak.js} +147 -144
- package/dist/vue-ui-molecule-DQOP_2JN.cjs +1 -0
- package/dist/{vue-ui-mood-radar-DG1pF6Ii.js → vue-ui-mood-radar-Bhr5Q9pC.js} +97 -94
- package/dist/vue-ui-mood-radar-HxyTIDLP.cjs +1 -0
- package/dist/vue-ui-nested-donuts-C0aK_Cmr.cjs +17 -0
- package/dist/{vue-ui-nested-donuts-CDjZ6KfI.js → vue-ui-nested-donuts-Dtll0W-x.js} +99 -96
- package/dist/{vue-ui-onion-DsskQUiP.js → vue-ui-onion-CRRZ8ajr.js} +105 -102
- package/dist/vue-ui-onion-DJFv8ezH.cjs +5 -0
- package/dist/vue-ui-parallel-coordinate-plot-BTkf3dkR.cjs +8 -0
- package/dist/{vue-ui-parallel-coordinate-plot-D7r71vdp.js → vue-ui-parallel-coordinate-plot-DMk3iobe.js} +97 -94
- package/dist/vue-ui-quadrant-B7iHGaqG.cjs +1 -0
- package/dist/{vue-ui-quadrant-DCHEhvMX.js → vue-ui-quadrant-EcGC8p0U.js} +155 -152
- package/dist/vue-ui-quick-chart-BOla8Yse.cjs +15 -0
- package/dist/{vue-ui-quick-chart-BB5b4AQ1.js → vue-ui-quick-chart-D6AS1YSx.js} +164 -161
- package/dist/vue-ui-radar-DmM3tCiY.cjs +1 -0
- package/dist/{vue-ui-radar-CNEXWSEx.js → vue-ui-radar-LzAasUWm.js} +105 -102
- package/dist/{vue-ui-rating-ClvF4LPg.cjs → vue-ui-rating-D9K7meNL.cjs} +1 -1
- package/dist/{vue-ui-rating-DJLSl0-4.js → vue-ui-rating-DK4hwg8z.js} +2 -2
- package/dist/{vue-ui-relation-circle-Hdzt7fOS.js → vue-ui-relation-circle-CbOCYAmF.js} +127 -124
- package/dist/vue-ui-relation-circle-DIJuJZrt.cjs +1 -0
- package/dist/vue-ui-rings-BWgF92GG.cjs +2 -0
- package/dist/{vue-ui-rings-BAFkqjcL.js → vue-ui-rings-Cqzy5T3m.js} +114 -111
- package/dist/{vue-ui-scatter-Ca67EOrI.js → vue-ui-scatter-DXvyWQYL.js} +157 -154
- package/dist/vue-ui-scatter-F-gNKXpp.cjs +1 -0
- package/dist/{vue-ui-screenshot-CsdnwhSO.js → vue-ui-screenshot-BL75IkNz.js} +1 -1
- package/dist/{vue-ui-screenshot-CFcvBOJm.cjs → vue-ui-screenshot-BXngAa8V.cjs} +1 -1
- package/dist/{vue-ui-skeleton-CHEZlRpn.js → vue-ui-skeleton-D8r-yAkW.js} +3 -3
- package/dist/{vue-ui-skeleton-BBNX7lud.cjs → vue-ui-skeleton-Tk4j6G2D.cjs} +1 -1
- package/dist/{vue-ui-smiley-Dth6gRqg.js → vue-ui-smiley-BKWWVHh7.js} +2 -2
- package/dist/{vue-ui-smiley-EngC6Vc4.cjs → vue-ui-smiley-BLnMEG6Z.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-33sBlF-n.js → vue-ui-spark-trend-Bb7xpmpt.js} +5 -5
- package/dist/{vue-ui-spark-trend-DJ8yhFMx.cjs → vue-ui-spark-trend-CqG-PKFp.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-D9QLpB7G.cjs → vue-ui-sparkbar-0h661dcM.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-mJu95295.js → vue-ui-sparkbar-JIpGYhbq.js} +4 -4
- package/dist/vue-ui-sparkgauge-BLglWMCN.cjs +1 -0
- package/dist/{vue-ui-sparkgauge-nFFf8h-x.js → vue-ui-sparkgauge-Cc-l_NLU.js} +56 -53
- package/dist/{vue-ui-sparkhistogram-Bh6R737O.js → vue-ui-sparkhistogram-BysifQmq.js} +93 -90
- package/dist/vue-ui-sparkhistogram-CCbcvIJ1.cjs +1 -0
- package/dist/vue-ui-sparkline-CDJX8K9i.cjs +1 -0
- package/dist/{vue-ui-sparkline-BfBiA1O5.js → vue-ui-sparkline-CV-N3Wio.js} +109 -106
- package/dist/vue-ui-sparkstackbar-Bo4JAlsR.cjs +1 -0
- package/dist/{vue-ui-sparkstackbar-BNTFNUIA.js → vue-ui-sparkstackbar-WOO_AbtI.js} +59 -56
- package/dist/{vue-ui-stackbar-BbFUifMU.js → vue-ui-stackbar-CP0igpri.js} +136 -133
- package/dist/vue-ui-stackbar-D7odU6jb.cjs +6 -0
- package/dist/vue-ui-strip-plot-CUqC58Ki.cjs +1 -0
- package/dist/{vue-ui-strip-plot-wsxpyqrw.js → vue-ui-strip-plot-_3AJWLnm.js} +127 -124
- package/dist/{vue-ui-table-DUokotBj.cjs → vue-ui-table-8O19epjz.cjs} +1 -1
- package/dist/{vue-ui-table-CQYM4uPf.js → vue-ui-table-WdE7p5Oy.js} +1 -1
- package/dist/{vue-ui-table-heatmap-OYQ9OOzo.js → vue-ui-table-heatmap-CXS6WfTi.js} +4 -4
- package/dist/{vue-ui-table-heatmap-Brk58nK_.cjs → vue-ui-table-heatmap-DH5kHmxx.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DUjDhg8A.js → vue-ui-table-sparkline-CWwjANqk.js} +5 -5
- package/dist/{vue-ui-table-sparkline-C9dOsIAB.cjs → vue-ui-table-sparkline-DnvQfr2p.cjs} +1 -1
- package/dist/{vue-ui-thermometer-WSMSVcM_.js → vue-ui-thermometer-BxrDTquG.js} +84 -81
- package/dist/vue-ui-thermometer-COmtpPaq.cjs +1 -0
- package/dist/vue-ui-timer-Bx3W4oUc.cjs +64 -0
- package/dist/{vue-ui-timer-DBP_fRcm.js → vue-ui-timer-DjKCOw9A.js} +183 -180
- package/dist/vue-ui-tiremarks--XDyJeJg.cjs +1 -0
- package/dist/{vue-ui-tiremarks-WWgS2mqw.js → vue-ui-tiremarks-VWxcZxB-.js} +59 -56
- package/dist/{vue-ui-treemap-CXoXEuSA.js → vue-ui-treemap-BGFmZcII.js} +123 -120
- package/dist/vue-ui-treemap-DTwjydy8.cjs +1 -0
- package/dist/vue-ui-vertical-bar-Bpv8mXW2.cjs +4 -0
- package/dist/{vue-ui-vertical-bar-COaAa4nz.js → vue-ui-vertical-bar-DC9czKCT.js} +108 -105
- package/dist/vue-ui-waffle-B_6ZAnKt.cjs +1 -0
- package/dist/{vue-ui-waffle-DD8pT7JN.js → vue-ui-waffle-Cu63K9Iy.js} +107 -104
- package/dist/{vue-ui-wheel-BLlKekiu.js → vue-ui-wheel-AOt-pfpa.js} +75 -72
- package/dist/vue-ui-wheel-BQM-dxTa.cjs +1 -0
- package/dist/vue-ui-word-cloud-Bam3-7P_.cjs +1 -0
- package/dist/{vue-ui-word-cloud-CcYtTXW6.js → vue-ui-word-cloud-CrILrx6m.js} +97 -94
- package/dist/{vue-ui-xy-DYzfiZnJ.js → vue-ui-xy-BuLymzS3.js} +179 -150
- package/dist/vue-ui-xy-CSmObuR7.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-CkB7VDhF.cjs → vue-ui-xy-canvas-BQ0Lbxbd.cjs} +2 -2
- package/dist/{vue-ui-xy-canvas-DqnK_i0Q.js → vue-ui-xy-canvas-DPnb5mqS.js} +82 -81
- package/package.json +1 -1
- package/dist/Shape-BN3-_2DI.cjs +0 -1
- package/dist/Tooltip-DSPKrQcQ.cjs +0 -1
- package/dist/vue-ui-3d-bar-DEu24HHj.cjs +0 -19
- package/dist/vue-ui-age-pyramid-CRYYDXFo.cjs +0 -1
- package/dist/vue-ui-bullet-Dy71N3Jf.cjs +0 -34
- package/dist/vue-ui-candlestick-aZ1YN4hh.cjs +0 -2
- package/dist/vue-ui-chestnut-DuycsDaB.cjs +0 -6
- package/dist/vue-ui-circle-pack-BFF5_9Sm.cjs +0 -1
- package/dist/vue-ui-donut-BO6RWqZ6.cjs +0 -1
- package/dist/vue-ui-donut-evolution-BgJMw_a4.cjs +0 -1
- package/dist/vue-ui-dumbbell-BSXxNjyK.cjs +0 -9
- package/dist/vue-ui-flow-LNlNIRfb.cjs +0 -1
- package/dist/vue-ui-funnel-BhDmLkFj.cjs +0 -1
- package/dist/vue-ui-galaxy-BcwAAgUh.cjs +0 -1
- package/dist/vue-ui-gauge-BCf-2H4T.cjs +0 -1
- package/dist/vue-ui-heatmap-Bxhy4dCf.cjs +0 -1
- package/dist/vue-ui-history-plot-CTBCFIG0.cjs +0 -1
- package/dist/vue-ui-molecule-pTMJG_3k.cjs +0 -1
- package/dist/vue-ui-mood-radar-DXLYUXbX.cjs +0 -1
- package/dist/vue-ui-nested-donuts-yztsnsjM.cjs +0 -17
- package/dist/vue-ui-onion-BgbKMVNe.cjs +0 -5
- package/dist/vue-ui-parallel-coordinate-plot-Cha1Em8k.cjs +0 -8
- package/dist/vue-ui-quadrant-BzYnR_Hc.cjs +0 -1
- package/dist/vue-ui-quick-chart-BcW7URue.cjs +0 -15
- package/dist/vue-ui-radar-D-XPVXa9.cjs +0 -1
- package/dist/vue-ui-relation-circle-DfxnHEqR.cjs +0 -1
- package/dist/vue-ui-rings-C9NFME3F.cjs +0 -2
- package/dist/vue-ui-scatter-D0UloS1C.cjs +0 -1
- package/dist/vue-ui-sparkgauge-CBCbyOG2.cjs +0 -1
- package/dist/vue-ui-sparkhistogram-BstSpbti.cjs +0 -1
- package/dist/vue-ui-sparkline-DTRZ-_Qw.cjs +0 -1
- package/dist/vue-ui-sparkstackbar-CuU8Vpcv.cjs +0 -1
- package/dist/vue-ui-stackbar-B5uNBkxp.cjs +0 -6
- package/dist/vue-ui-strip-plot-7G7BAGQM.cjs +0 -1
- package/dist/vue-ui-thermometer-VnlcJh4G.cjs +0 -1
- package/dist/vue-ui-timer-Bh8RpM2u.cjs +0 -64
- package/dist/vue-ui-tiremarks-Ct96o_fd.cjs +0 -1
- package/dist/vue-ui-treemap-BfDk53pM.cjs +0 -1
- package/dist/vue-ui-vertical-bar-EIy7A0dV.cjs +0 -4
- package/dist/vue-ui-waffle-BB3l0zZU.cjs +0 -1
- package/dist/vue-ui-wheel-DfpXZJ8A.cjs +0 -1
- package/dist/vue-ui-word-cloud-DdaMzF2e.cjs +0 -1
- package/dist/vue-ui-xy-B4Mzyy81.cjs +0 -3
|
@@ -1,35 +1,36 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import { u as Se } from "./useNestedProp-
|
|
8
|
-
import { _ as
|
|
9
|
-
import { P as
|
|
10
|
-
import { u as
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { useCssVars as He, computed as m, ref as T, watch as We, onMounted as Ke, createElementBlock as o, openBlock as a, unref as n, normalizeStyle as h, normalizeClass as k, createBlock as K, createCommentVNode as f, renderSlot as F, createSlots as Je, withCtx as X, normalizeProps as ue, guardReactiveProps as ne, createVNode as $e, createElementVNode as s, toDisplayString as c, Fragment as g, renderList as _, createTextVNode as J, withKeys as Qe, nextTick as Ce } from "vue";
|
|
2
|
+
import { u as Ze, c as et, t as tt, p as P, a as lt, b as at, g as re, e as Q, d as ie, o as ot, X as st, s as S, w as Te, i as G, f as z, G as ze, m as Ne, j as ut, k as H, n as V, q as nt, r as rt } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { u as it, U as ct } from "./usePrinter-D-sSdR2l.js";
|
|
4
|
+
import dt from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
5
|
+
import vt from "./BaseIcon-dThl5uNa.js";
|
|
6
|
+
import yt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
7
|
+
import { u as Se } from "./useNestedProp-Cg0NIwr6.js";
|
|
8
|
+
import { _ as ht } from "./PackageVersion-J_USnljf.js";
|
|
9
|
+
import { P as ft } from "./PenAndPaper-CoEXEMcN.js";
|
|
10
|
+
import { u as bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
11
|
+
import { u as pt } from "./useChartAccessibility-BWojgys7.js";
|
|
12
|
+
import { _ as gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const _t = ["id"], xt = {
|
|
13
14
|
key: 1,
|
|
14
15
|
ref: "noTitle",
|
|
15
16
|
class: "vue-data-ui-no-title-space",
|
|
16
17
|
style: "height:36px; width: 100%;background:transparent"
|
|
17
|
-
},
|
|
18
|
+
}, mt = ["xmlns", "viewBox"], kt = ["width", "height"], wt = { key: 1 }, $t = ["fill", "font-weight", "font-size", "x", "y"], Ct = ["fill", "font-weight", "font-size", "x", "y"], Tt = ["id"], zt = ["stop-color"], Nt = ["stop-color"], St = ["id"], Ft = ["stop-color"], Lt = ["stop-color"], It = ["id"], Pt = ["stop-color"], Vt = ["stop-color"], Ot = ["stop-color"], Rt = ["id"], Mt = ["stop-color"], Bt = ["stop-color"], jt = ["stop-color"], At = ["id"], Xt = ["stop-color"], Gt = ["stop-color"], Et = ["stop-color"], Ut = { key: 2 }, Dt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["x", "y", "font-size", "font-weight", "fill"], qt = ["d", "stroke"], Ht = ["cx", "cy", "r", "fill"], Wt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick"], Kt = { key: 3 }, Jt = ["x", "y", "font-size", "fill", "onClick"], Qt = { key: 0 }, Zt = ["x", "y", "fill", "font-size", "font-weight"], el = ["x", "y", "height", "width", "fill", "rx", "onClick"], tl = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width", "onClick"], ll = { key: 4 }, al = ["x", "y", "fill", "font-size", "onClick"], ol = ["d", "stroke"], sl = ["fill", "cx", "cy", "r", "onClick"], ul = { key: 5 }, nl = ["x", "y", "font-size", "font-weight", "fill"], rl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], il = ["y", "height", "width"], cl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, dl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, vl = {
|
|
18
19
|
viewBox: "0 0 20 20",
|
|
19
20
|
height: "16",
|
|
20
21
|
width: "16"
|
|
21
|
-
},
|
|
22
|
+
}, yl = ["fill"], hl = { key: 7 }, fl = ["y", "height", "width"], bl = { style: { width: "100%", height: "100%", display: "flex", "align-items": "center", "justify-content": "center", "flex-direction": "column" } }, pl = { style: { display: "flex", "align-items": "center", "justify-content": "center", gap: "12px", "flex-wrap": "wrap", "flex-direction": "row" } }, gl = {
|
|
22
23
|
viewBox: "0 0 20 20",
|
|
23
24
|
height: "16",
|
|
24
25
|
width: "16"
|
|
25
|
-
},
|
|
26
|
+
}, _l = ["fill"], xl = ["cx", "cy", "fill"], ml = ["d", "stroke"], kl = ["cx", "cy", "fill"], wl = ["d", "stroke"], $l = ["cx", "cy", "fill"], Cl = ["cx", "cy", "fill"], Tl = ["x", "y", "fill", "font-size", "font-weight"], zl = ["x", "y", "fill", "font-size", "font-weight"], Nl = ["x", "text-anchor", "y", "fill", "font-size"], Sl = ["x", "text-anchor", "y", "fill", "font-size"], Fl = ["x", "text-anchor", "y", "fill", "font-size"], Ll = ["x", "text-anchor", "y", "fill", "font-size"], Il = ["x", "text-anchor", "y", "fill", "font-size"], Pl = ["x", "y", "font-size", "fill"], Vl = ["x", "y", "font-size", "fill"], Ol = ["x", "y", "font-size", "fill"], Rl = {
|
|
26
27
|
key: 4,
|
|
27
28
|
class: "vue-data-ui-watermark"
|
|
28
|
-
},
|
|
29
|
+
}, Ml = {
|
|
29
30
|
key: 6,
|
|
30
31
|
ref: "source",
|
|
31
32
|
dir: "auto"
|
|
32
|
-
},
|
|
33
|
+
}, Bl = { style: { "padding-top": "36px", position: "relative" } }, jl = { class: "vue-ui-data-table" }, Al = { key: 0 }, Xl = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = { key: 0 }, Ul = { key: 1 }, Dl = ["data-cell"], Yl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ql = { key: 0 }, Hl = { key: 1 }, Wl = ["data-cell"], Kl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Jl = { key: 0 }, Ql = { key: 1 }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = { key: 0 }, la = { key: 1 }, aa = ["data-cell"], oa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, sa = { key: 0 }, ua = { key: 1 }, na = ["data-cell"], ra = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ia = { key: 0 }, ca = { key: 1 }, da = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ya = { key: 0 }, ha = { key: 1 }, fa = ["data-cell"], ba = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pa = ["data-cell"], ga = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, _a = ["data-cell"], xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ma = ["data-cell"], ka = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, wa = ["data-cell"], $a = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ca = {
|
|
33
34
|
__name: "vue-ui-chestnut",
|
|
34
35
|
props: {
|
|
35
36
|
config: {
|
|
@@ -47,13 +48,13 @@ const pt = ["id"], gt = {
|
|
|
47
48
|
},
|
|
48
49
|
emits: ["selectRoot", "selectBranch", "selectNut"],
|
|
49
50
|
setup(Fe, { expose: Le, emit: Ie }) {
|
|
50
|
-
|
|
51
|
-
|
|
51
|
+
He((l) => ({
|
|
52
|
+
c4a0f022: l.tdo
|
|
52
53
|
}));
|
|
53
|
-
const { vue_ui_chestnut: Pe } =
|
|
54
|
+
const { vue_ui_chestnut: Pe } = Ze(), O = Fe, Y = m(() => !!O.dataset && O.dataset.length), w = T(et()), Z = T(null), Ve = T(null), ce = T(0), e = m({
|
|
54
55
|
get: () => ye(),
|
|
55
56
|
set: (l) => l
|
|
56
|
-
}), { userOptionsVisible: ee, setUserOptionsVisibility: de, keepUserOptionState: ve } =
|
|
57
|
+
}), { userOptionsVisible: ee, setUserOptionsVisibility: de, keepUserOptionState: ve } = bt({ config: e.value }), { svgRef: Oe } = pt({ config: e.value.style.chart.layout.title });
|
|
57
58
|
function ye() {
|
|
58
59
|
const l = Se({
|
|
59
60
|
userConfig: O.config,
|
|
@@ -61,19 +62,19 @@ const pt = ["id"], gt = {
|
|
|
61
62
|
});
|
|
62
63
|
return l.theme ? {
|
|
63
64
|
...Se({
|
|
64
|
-
userConfig:
|
|
65
|
+
userConfig: lt.vue_ui_chestnut[l.theme] || O.config,
|
|
65
66
|
defaultConfig: l
|
|
66
67
|
}),
|
|
67
|
-
customPalette:
|
|
68
|
+
customPalette: tt[l.theme] || P
|
|
68
69
|
} : l;
|
|
69
70
|
}
|
|
70
|
-
|
|
71
|
+
We(() => O.config, (l) => {
|
|
71
72
|
e.value = ye(), ee.value = !e.value.userOptions.showOnChartHover, E.value.showTable = e.value.table.show, me();
|
|
72
73
|
}, { deep: !0 });
|
|
73
|
-
const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: pe } =
|
|
74
|
+
const { isPrinting: he, isImaging: fe, generatePdf: be, generateImage: pe } = it({
|
|
74
75
|
elementId: `vue-ui-chestnut_${w.value}`,
|
|
75
76
|
fileName: e.value.style.chart.layout.title.text || "vue-ui-chestnut"
|
|
76
|
-
}),
|
|
77
|
+
}), Re = m(() => e.value.userOptions.show), te = m(() => at(e.value.customPalette)), E = T({
|
|
77
78
|
showTable: e.value.table.show
|
|
78
79
|
}), le = T(null), ge = T(!1), Me = m(() => e.value.table.responsiveBreakpoint), r = T({
|
|
79
80
|
gap: 6,
|
|
@@ -95,7 +96,7 @@ const pt = ["id"], gt = {
|
|
|
95
96
|
width: r.value.width - (r.value.padding.left + r.value.padding.right),
|
|
96
97
|
height: r.value.height - (r.value.padding.top + r.value.padding.bottom),
|
|
97
98
|
seedX: r.value.padding.left + 64
|
|
98
|
-
})),
|
|
99
|
+
})), R = m(() => Y.value ? O.dataset.flatMap((l) => (l.branches || []).map((i) => i.value || 0)).reduce((l, i) => l + i, 0) : 0), N = m(() => (O.dataset.forEach((l, i) => {
|
|
99
100
|
re({
|
|
100
101
|
datasetObject: l,
|
|
101
102
|
requiredAttributes: ["name", "branches"]
|
|
@@ -153,14 +154,14 @@ const pt = ["id"], gt = {
|
|
|
153
154
|
table: {
|
|
154
155
|
rootName: l.name,
|
|
155
156
|
rootValue: t,
|
|
156
|
-
rootToTotal: t /
|
|
157
|
+
rootToTotal: t / R.value,
|
|
157
158
|
branchName: u.name,
|
|
158
159
|
branchValue: u.value,
|
|
159
|
-
branchToTotal: u.value /
|
|
160
|
+
branchToTotal: u.value / R.value,
|
|
160
161
|
branchToRoot: u.value / t,
|
|
161
162
|
nutName: y.name,
|
|
162
163
|
nutValue: y.value,
|
|
163
|
-
nutToTotal: y.value /
|
|
164
|
+
nutToTotal: y.value / R.value,
|
|
164
165
|
nutToRoot: y.value / t,
|
|
165
166
|
nutToBranch: y.value / u.value
|
|
166
167
|
},
|
|
@@ -171,7 +172,7 @@ const pt = ["id"], gt = {
|
|
|
171
172
|
branchTotal: u.value >= 0 ? u.value : 0,
|
|
172
173
|
proportionToBranch: y.value / u.value,
|
|
173
174
|
proportionToRoot: y.value / t,
|
|
174
|
-
proportionToTree: y.value /
|
|
175
|
+
proportionToTree: y.value / R.value,
|
|
175
176
|
rootIndex: i,
|
|
176
177
|
id: y.id || `nut_${i}_${b}_${p}_${w.value}`,
|
|
177
178
|
color: ie(y.color) || te.value[p] || P[p] || P[p % P.length],
|
|
@@ -180,38 +181,38 @@ const pt = ["id"], gt = {
|
|
|
180
181
|
}))
|
|
181
182
|
};
|
|
182
183
|
})));
|
|
183
|
-
function
|
|
184
|
+
function Be() {
|
|
184
185
|
return N.value;
|
|
185
186
|
}
|
|
186
|
-
const U = Ie,
|
|
187
|
-
const t = C.value.height / N.value.length / 2, u = l.total /
|
|
187
|
+
const U = Ie, je = m(() => N.value.flatMap((l) => l.branches).length), Ae = m(() => Math.max(...N.value.map((l) => l.branches.map((i) => i.value).reduce((i, t) => i + t, 0)))), Xe = m(() => Math.max(...N.value.flatMap((l) => l.branches.map((i) => i.value)))), _e = m(() => 256 + r.value.padding.left), B = m(() => N.value.sort((l, i) => i.total - l.total).map((l, i) => {
|
|
188
|
+
const t = C.value.height / N.value.length / 2, u = l.total / Ae.value * (t > 64 ? 64 : t);
|
|
188
189
|
return {
|
|
189
190
|
...l,
|
|
190
191
|
x: C.value.seedX,
|
|
191
192
|
y: C.value.top + C.value.height / N.value.length * (i + 1) - (C.value.height / N.value.length / 2 + r.value.gap / 2),
|
|
192
193
|
r: u < r.value.branchSize / 2 ? r.value.branchSize / 2 : u
|
|
193
194
|
};
|
|
194
|
-
})),
|
|
195
|
+
})), Ge = m(() => e.value.style.chart.layout.branches.widthRatio <= 0 ? 0.1 : e.value.style.chart.layout.branches.widthRatio > 1.8 ? 1.8 : e.value.style.chart.layout.branches.widthRatio), Ee = m(() => B.value.flatMap((l) => l.branches)), j = m(() => Ee.value.sort((l, i) => i.value - l.value).map((l, i) => ({
|
|
195
196
|
...l,
|
|
196
197
|
y1: i * r.value.branchSize + C.value.top + i * r.value.gap,
|
|
197
198
|
y2: i * r.value.branchSize + r.value.branchSize,
|
|
198
199
|
x1: _e.value,
|
|
199
|
-
x2: 384 * l.value /
|
|
200
|
+
x2: 384 * l.value / Xe.value * Ge.value + _e.value
|
|
200
201
|
})));
|
|
201
202
|
function ae(l) {
|
|
202
203
|
const i = B.value.find((t) => t.rootIndex === l.rootIndex);
|
|
203
204
|
return { x: i.x, y: i.y, r: i.r };
|
|
204
205
|
}
|
|
205
|
-
const d = T(null),
|
|
206
|
+
const d = T(null), M = T(null), x = T(null), L = T(null);
|
|
206
207
|
function $() {
|
|
207
208
|
d.value = null, x.value = null, L.value = null;
|
|
208
209
|
}
|
|
209
210
|
function I(l) {
|
|
210
211
|
return L.value ? L.value === null ? !0 : l.type === "root" ? l.id === L.value.id : l.rootIndex === L.value.rootIndex : d.value === null && x.value === null ? !0 : l.type === "nut" ? d.value.id === l.id : l.type === "branch" ? x.value.id === l.id : l.type === "root" ? x.value && x.value.rootIndex === l.rootIndex || d.value && d.value.rootIndex === l.rootIndex : !1;
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function Ue(l) {
|
|
213
214
|
$(), Ce(() => {
|
|
214
|
-
d.value = l, x.value = l,
|
|
215
|
+
d.value = l, x.value = l, M.value = Ne(
|
|
215
216
|
{ series: l.breakdown, base: 1 },
|
|
216
217
|
l.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
217
218
|
l.y1 + r.value.branchSize / 2,
|
|
@@ -221,7 +222,7 @@ const pt = ["id"], gt = {
|
|
|
221
222
|
});
|
|
222
223
|
}
|
|
223
224
|
function A() {
|
|
224
|
-
d.value = null,
|
|
225
|
+
d.value = null, M.value = null, U("selectNut", null);
|
|
225
226
|
}
|
|
226
227
|
function oe(l) {
|
|
227
228
|
x.value && x.value.id === l.id ? (x.value = null, $(), U("selectBranch", null)) : ($(), x.value = l, U("selectBranch", l));
|
|
@@ -229,13 +230,13 @@ const pt = ["id"], gt = {
|
|
|
229
230
|
function xe(l) {
|
|
230
231
|
L.value && L.value.id === l.id ? ($(), U("selectRoot", null)) : ($(), L.value = l, U("selectRoot", l));
|
|
231
232
|
}
|
|
232
|
-
function
|
|
233
|
+
function De() {
|
|
233
234
|
return C.value.bottom - (d.value.y1 + 180) < 0 ? 0 : C.value.bottom;
|
|
234
235
|
}
|
|
235
236
|
function D(l) {
|
|
236
237
|
return l.proportion * 100 > e.value.style.chart.layout.nuts.selected.labels.dataLabels.hideUnderValue;
|
|
237
238
|
}
|
|
238
|
-
function
|
|
239
|
+
function Ye() {
|
|
239
240
|
const l = new ResizeObserver((i) => {
|
|
240
241
|
i.forEach((t) => {
|
|
241
242
|
ge.value = t.contentRect.width < Me.value;
|
|
@@ -243,16 +244,16 @@ const pt = ["id"], gt = {
|
|
|
243
244
|
});
|
|
244
245
|
le.value && l.observe(le.value);
|
|
245
246
|
}
|
|
246
|
-
|
|
247
|
+
Ke(() => {
|
|
247
248
|
me();
|
|
248
249
|
});
|
|
249
250
|
function me() {
|
|
250
|
-
|
|
251
|
+
ot(O.dataset) && Q({
|
|
251
252
|
componentName: "VueUiChestnut",
|
|
252
253
|
type: "dataset"
|
|
253
254
|
});
|
|
254
|
-
const l =
|
|
255
|
-
r.value.height = l,
|
|
255
|
+
const l = je.value * (r.value.branchSize + r.value.gap) + r.value.padding.top + r.value.padding.bottom;
|
|
256
|
+
r.value.height = l, Ye();
|
|
256
257
|
}
|
|
257
258
|
const v = m(() => {
|
|
258
259
|
const l = [
|
|
@@ -268,12 +269,12 @@ const pt = ["id"], gt = {
|
|
|
268
269
|
e.value.table.th.translations.nutToBranch,
|
|
269
270
|
e.value.table.th.translations.nutToRoot,
|
|
270
271
|
e.value.table.th.translations.nutToTotal
|
|
271
|
-
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p,
|
|
272
|
+
], i = N.value.flatMap((t, u) => t.branches.flatMap((b, y) => b.breakdown.flatMap((p, Ta) => p.table)));
|
|
272
273
|
return { head: l, body: i };
|
|
273
274
|
});
|
|
274
275
|
function ke() {
|
|
275
276
|
Ce(() => {
|
|
276
|
-
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total",
|
|
277
|
+
const l = [[e.value.style.chart.layout.title.text], [e.value.style.chart.layout.title.subtitle.text], [""], ["Grand total", R.value], [""]], i = v.value.head, t = v.value.body.map((y, p) => [
|
|
277
278
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootName,
|
|
278
279
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootValue,
|
|
279
280
|
v.value.body[p - 1] && v.value.body[p - 1].rootName === y.rootName ? "" : y.rootToTotal,
|
|
@@ -286,12 +287,12 @@ const pt = ["id"], gt = {
|
|
|
286
287
|
y.nutToBranch,
|
|
287
288
|
y.nutToRoot,
|
|
288
289
|
y.nutToTotal
|
|
289
|
-
]), u = l.concat([i]).concat(t), b =
|
|
290
|
-
|
|
290
|
+
]), u = l.concat([i]).concat(t), b = nt(u);
|
|
291
|
+
rt({ csvContent: b, title: e.value.style.chart.layout.title.text || "vue-ui-chestnut" });
|
|
291
292
|
});
|
|
292
293
|
}
|
|
293
294
|
const q = T(!1);
|
|
294
|
-
function
|
|
295
|
+
function qe(l) {
|
|
295
296
|
q.value = l, ce.value += 1;
|
|
296
297
|
}
|
|
297
298
|
function we() {
|
|
@@ -302,7 +303,7 @@ const pt = ["id"], gt = {
|
|
|
302
303
|
W.value = !W.value;
|
|
303
304
|
}
|
|
304
305
|
return Le({
|
|
305
|
-
getData:
|
|
306
|
+
getData: Be,
|
|
306
307
|
generatePdf: be,
|
|
307
308
|
generateCsv: ke,
|
|
308
309
|
generateImage: pe,
|
|
@@ -317,7 +318,7 @@ const pt = ["id"], gt = {
|
|
|
317
318
|
onMouseenter: i[2] || (i[2] = () => n(de)(!0)),
|
|
318
319
|
onMouseleave: i[3] || (i[3] = () => n(de)(!1))
|
|
319
320
|
}, [
|
|
320
|
-
e.value.userOptions.buttons.annotator ? (a(), K(
|
|
321
|
+
e.value.userOptions.buttons.annotator ? (a(), K(ft, {
|
|
321
322
|
key: 0,
|
|
322
323
|
parent: Z.value,
|
|
323
324
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -325,8 +326,8 @@ const pt = ["id"], gt = {
|
|
|
325
326
|
active: W.value,
|
|
326
327
|
onClose: se
|
|
327
328
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
328
|
-
|
|
329
|
-
e.value.userOptions.show && Y.value && (n(ve) || n(ee)) ? (a(), K(
|
|
329
|
+
Re.value ? (a(), o("div", xt, null, 512)) : f("", !0),
|
|
330
|
+
e.value.userOptions.show && Y.value && (n(ve) || n(ee)) ? (a(), K(ct, {
|
|
330
331
|
ref_key: "details",
|
|
331
332
|
ref: Ve,
|
|
332
333
|
key: `user_options_${ce.value}`,
|
|
@@ -346,7 +347,7 @@ const pt = ["id"], gt = {
|
|
|
346
347
|
position: e.value.userOptions.position,
|
|
347
348
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
348
349
|
isAnnotation: W.value,
|
|
349
|
-
onToggleFullscreen:
|
|
350
|
+
onToggleFullscreen: qe,
|
|
350
351
|
onGeneratePdf: n(be),
|
|
351
352
|
onGenerateCsv: ke,
|
|
352
353
|
onGenerateImage: n(pe),
|
|
@@ -355,7 +356,7 @@ const pt = ["id"], gt = {
|
|
|
355
356
|
style: h({
|
|
356
357
|
visibility: n(ve) ? n(ee) ? "visible" : "hidden" : "visible"
|
|
357
358
|
})
|
|
358
|
-
},
|
|
359
|
+
}, Je({ _: 2 }, [
|
|
359
360
|
l.$slots.optionPdf ? {
|
|
360
361
|
name: "optionPdf",
|
|
361
362
|
fn: X(() => [
|
|
@@ -401,12 +402,14 @@ const pt = ["id"], gt = {
|
|
|
401
402
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
402
403
|
r.value.height > 0 && Y.value ? (a(), o("svg", {
|
|
403
404
|
key: 3,
|
|
404
|
-
|
|
405
|
+
ref_key: "svgRef",
|
|
406
|
+
ref: Oe,
|
|
407
|
+
xmlns: n(st),
|
|
405
408
|
class: k({ "vue-data-ui-fullscreen--on": q.value, "vue-data-ui-fulscreen--off": !q.value }),
|
|
406
409
|
viewBox: `0 0 ${r.value.width <= 0 ? 10 : r.value.width} ${r.value.height <= 0 ? 10 : r.value.height}`,
|
|
407
410
|
style: h(`overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
408
411
|
}, [
|
|
409
|
-
$e(
|
|
412
|
+
$e(ht),
|
|
410
413
|
l.$slots["chart-background"] ? (a(), o("foreignObject", {
|
|
411
414
|
key: 0,
|
|
412
415
|
x: 0,
|
|
@@ -418,8 +421,8 @@ const pt = ["id"], gt = {
|
|
|
418
421
|
}
|
|
419
422
|
}, [
|
|
420
423
|
F(l.$slots, "chart-background", {}, void 0, !0)
|
|
421
|
-
], 8,
|
|
422
|
-
d.value ? f("", !0) : (a(), o("g",
|
|
424
|
+
], 8, kt)) : f("", !0),
|
|
425
|
+
d.value ? f("", !0) : (a(), o("g", wt, [
|
|
423
426
|
e.value.style.chart.layout.title.text ? (a(), o("text", {
|
|
424
427
|
key: 0,
|
|
425
428
|
"text-anchor": "middle",
|
|
@@ -429,7 +432,7 @@ const pt = ["id"], gt = {
|
|
|
429
432
|
x: r.value.width / 2,
|
|
430
433
|
y: 12 + e.value.style.chart.layout.title.fontSize + e.value.style.chart.layout.title.offsetY,
|
|
431
434
|
onClick: $
|
|
432
|
-
}, c(e.value.style.chart.layout.title.text), 9,
|
|
435
|
+
}, c(e.value.style.chart.layout.title.text), 9, $t)) : f("", !0),
|
|
433
436
|
e.value.style.chart.layout.title.subtitle.text ? (a(), o("text", {
|
|
434
437
|
key: 1,
|
|
435
438
|
"text-anchor": "middle",
|
|
@@ -439,7 +442,7 @@ const pt = ["id"], gt = {
|
|
|
439
442
|
x: r.value.width / 2,
|
|
440
443
|
y: 48 + e.value.style.chart.layout.title.subtitle.fontSize + e.value.style.chart.layout.title.subtitle.offsetY,
|
|
441
444
|
onClick: $
|
|
442
|
-
}, c(e.value.style.chart.layout.title.subtitle.text), 9,
|
|
445
|
+
}, c(e.value.style.chart.layout.title.subtitle.text), 9, Ct)) : f("", !0)
|
|
443
446
|
])),
|
|
444
447
|
s("defs", null, [
|
|
445
448
|
(a(!0), o(g, null, _(N.value, (t, u) => (a(), o("radialGradient", {
|
|
@@ -453,12 +456,12 @@ const pt = ["id"], gt = {
|
|
|
453
456
|
s("stop", {
|
|
454
457
|
offset: "0%",
|
|
455
458
|
"stop-color": n(S)(n(Te)(t.color, 0.05), 100 - e.value.style.chart.layout.roots.gradientIntensity)
|
|
456
|
-
}, null, 8,
|
|
459
|
+
}, null, 8, zt),
|
|
457
460
|
s("stop", {
|
|
458
461
|
offset: "100%",
|
|
459
462
|
"stop-color": t.color
|
|
460
|
-
}, null, 8,
|
|
461
|
-
], 8,
|
|
463
|
+
}, null, 8, Nt)
|
|
464
|
+
], 8, Tt))), 256)),
|
|
462
465
|
(a(!0), o(g, null, _(N.value, (t) => (a(), o("linearGradient", {
|
|
463
466
|
x1: "0%",
|
|
464
467
|
y1: "0%",
|
|
@@ -469,12 +472,12 @@ const pt = ["id"], gt = {
|
|
|
469
472
|
s("stop", {
|
|
470
473
|
offset: "0%",
|
|
471
474
|
"stop-color": t.color
|
|
472
|
-
}, null, 8,
|
|
475
|
+
}, null, 8, Ft),
|
|
473
476
|
s("stop", {
|
|
474
477
|
offset: "100%",
|
|
475
478
|
"stop-color": n(S)(n(Te)(t.color, 0.02), 100 - e.value.style.chart.layout.branches.gradientIntensity)
|
|
476
|
-
}, null, 8,
|
|
477
|
-
], 8,
|
|
479
|
+
}, null, 8, Lt)
|
|
480
|
+
], 8, St))), 256)),
|
|
478
481
|
s("radialGradient", {
|
|
479
482
|
cx: "50%",
|
|
480
483
|
cy: "50%",
|
|
@@ -486,16 +489,16 @@ const pt = ["id"], gt = {
|
|
|
486
489
|
s("stop", {
|
|
487
490
|
offset: "0%",
|
|
488
491
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
489
|
-
}, null, 8,
|
|
492
|
+
}, null, 8, Pt),
|
|
490
493
|
s("stop", {
|
|
491
494
|
offset: "80%",
|
|
492
495
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.selected.gradientIntensity)
|
|
493
|
-
}, null, 8,
|
|
496
|
+
}, null, 8, Vt),
|
|
494
497
|
s("stop", {
|
|
495
498
|
offset: "100%",
|
|
496
499
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
497
|
-
}, null, 8,
|
|
498
|
-
], 8,
|
|
500
|
+
}, null, 8, Ot)
|
|
501
|
+
], 8, It),
|
|
499
502
|
s("radialGradient", {
|
|
500
503
|
cx: "50%",
|
|
501
504
|
cy: "50%",
|
|
@@ -507,16 +510,16 @@ const pt = ["id"], gt = {
|
|
|
507
510
|
s("stop", {
|
|
508
511
|
offset: "0%",
|
|
509
512
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
510
|
-
}, null, 8,
|
|
513
|
+
}, null, 8, Mt),
|
|
511
514
|
s("stop", {
|
|
512
515
|
offset: "80%",
|
|
513
516
|
"stop-color": n(S)("#FFFFFF", e.value.style.chart.layout.nuts.gradientIntensity)
|
|
514
|
-
}, null, 8,
|
|
517
|
+
}, null, 8, Bt),
|
|
515
518
|
s("stop", {
|
|
516
519
|
offset: "100%",
|
|
517
520
|
"stop-color": n(S)("#FFFFFF", 0)
|
|
518
|
-
}, null, 8,
|
|
519
|
-
], 8,
|
|
521
|
+
}, null, 8, jt)
|
|
522
|
+
], 8, Rt),
|
|
520
523
|
s("radialGradient", {
|
|
521
524
|
cx: "50%",
|
|
522
525
|
cy: "50%",
|
|
@@ -528,18 +531,18 @@ const pt = ["id"], gt = {
|
|
|
528
531
|
s("stop", {
|
|
529
532
|
offset: "0%",
|
|
530
533
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 100)
|
|
531
|
-
}, null, 8,
|
|
534
|
+
}, null, 8, Xt),
|
|
532
535
|
s("stop", {
|
|
533
536
|
offset: "80%",
|
|
534
537
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 60)
|
|
535
|
-
}, null, 8,
|
|
538
|
+
}, null, 8, Gt),
|
|
536
539
|
s("stop", {
|
|
537
540
|
offset: "100%",
|
|
538
541
|
"stop-color": n(S)(e.value.style.chart.backgroundColor, 0)
|
|
539
|
-
}, null, 8,
|
|
540
|
-
], 8,
|
|
542
|
+
}, null, 8, Et)
|
|
543
|
+
], 8, At)
|
|
541
544
|
]),
|
|
542
|
-
e.value.style.chart.layout.grandTotal.show ? (a(), o("g",
|
|
545
|
+
e.value.style.chart.layout.grandTotal.show ? (a(), o("g", Ut, [
|
|
543
546
|
s("text", {
|
|
544
547
|
x: C.value.seedX,
|
|
545
548
|
y: 32 + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -548,7 +551,7 @@ const pt = ["id"], gt = {
|
|
|
548
551
|
fill: e.value.style.chart.layout.grandTotal.color,
|
|
549
552
|
"text-anchor": "middle",
|
|
550
553
|
onClick: $
|
|
551
|
-
}, c(e.value.style.chart.layout.grandTotal.text), 9,
|
|
554
|
+
}, c(e.value.style.chart.layout.grandTotal.text), 9, Dt),
|
|
552
555
|
s("text", {
|
|
553
556
|
x: C.value.seedX,
|
|
554
557
|
y: 38 + e.value.style.chart.layout.grandTotal.fontSize + e.value.style.chart.layout.grandTotal.offsetY,
|
|
@@ -559,14 +562,14 @@ const pt = ["id"], gt = {
|
|
|
559
562
|
onClick: $
|
|
560
563
|
}, c(n(G)(
|
|
561
564
|
e.value.style.chart.layout.grandTotal.formatter,
|
|
562
|
-
|
|
565
|
+
R.value,
|
|
563
566
|
n(z)({
|
|
564
567
|
p: e.value.style.chart.layout.grandTotal.prefix,
|
|
565
|
-
v:
|
|
568
|
+
v: R.value,
|
|
566
569
|
s: e.value.style.chart.layout.grandTotal.suffix,
|
|
567
570
|
r: e.value.style.chart.layout.grandTotal.roundingValue
|
|
568
571
|
})
|
|
569
|
-
)), 9,
|
|
572
|
+
)), 9, Yt)
|
|
570
573
|
])) : f("", !0),
|
|
571
574
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
572
575
|
(a(!0), o(g, null, _(r.value.branchSize, (u, b) => (a(), o("path", {
|
|
@@ -582,7 +585,7 @@ const pt = ["id"], gt = {
|
|
|
582
585
|
"shape-rendering": "cirspEdges",
|
|
583
586
|
style: h(`opacity:${I(t) ? 1 : 0}`),
|
|
584
587
|
onClick: $
|
|
585
|
-
}, null, 12,
|
|
588
|
+
}, null, 12, qt))), 256))
|
|
586
589
|
]))), 256)),
|
|
587
590
|
(a(!0), o(g, null, _(B.value, (t) => (a(), o("circle", {
|
|
588
591
|
cx: t.x,
|
|
@@ -591,7 +594,7 @@ const pt = ["id"], gt = {
|
|
|
591
594
|
fill: e.value.style.chart.layout.roots.underlayerColor,
|
|
592
595
|
stroke: "none",
|
|
593
596
|
style: h(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`)
|
|
594
|
-
}, null, 12,
|
|
597
|
+
}, null, 12, Ht))), 256)),
|
|
595
598
|
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("circle", {
|
|
596
599
|
cx: t.x,
|
|
597
600
|
cy: t.y,
|
|
@@ -601,8 +604,8 @@ const pt = ["id"], gt = {
|
|
|
601
604
|
"stroke-width": e.value.style.chart.layout.roots.strokeWidth,
|
|
602
605
|
style: h(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
603
606
|
onClick: (b) => xe(t)
|
|
604
|
-
}, null, 12,
|
|
605
|
-
e.value.style.chart.layout.roots.labels.show ? (a(), o("g",
|
|
607
|
+
}, null, 12, Wt))), 256)),
|
|
608
|
+
e.value.style.chart.layout.roots.labels.show ? (a(), o("g", Kt, [
|
|
606
609
|
(a(!0), o(g, null, _(B.value, (t, u) => (a(), o("text", {
|
|
607
610
|
x: t.x,
|
|
608
611
|
y: t.y + e.value.style.chart.layout.roots.labels.fontSize / 2.6,
|
|
@@ -622,9 +625,9 @@ const pt = ["id"], gt = {
|
|
|
622
625
|
r: e.value.style.chart.layout.roots.labels.roundingValue
|
|
623
626
|
}),
|
|
624
627
|
{ datapoint: t }
|
|
625
|
-
)), 13,
|
|
628
|
+
)), 13, Jt))), 256)),
|
|
626
629
|
(a(!0), o(g, null, _(B.value, (t) => (a(), o("g", null, [
|
|
627
|
-
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g",
|
|
630
|
+
d.value && t.rootIndex === d.value.rootIndex || x.value && t.rootIndex === x.value.rootIndex || L.value && t.rootIndex === L.value.rootIndex ? (a(), o("g", Qt, [
|
|
628
631
|
s("text", {
|
|
629
632
|
x: t.x,
|
|
630
633
|
y: t.y + t.r + 24,
|
|
@@ -633,7 +636,7 @@ const pt = ["id"], gt = {
|
|
|
633
636
|
"font-size": e.value.style.chart.layout.roots.labels.name.fontSize,
|
|
634
637
|
"font-weight": e.value.style.chart.layout.roots.labels.name.bold ? "bold" : "normal",
|
|
635
638
|
onClick: $
|
|
636
|
-
}, c(t.name), 9,
|
|
639
|
+
}, c(t.name), 9, Zt)
|
|
637
640
|
])) : f("", !0)
|
|
638
641
|
]))), 256))
|
|
639
642
|
])) : f("", !0),
|
|
@@ -647,7 +650,7 @@ const pt = ["id"], gt = {
|
|
|
647
650
|
stroke: "none",
|
|
648
651
|
style: h(`opacity:${I(t) ? 1 : 0.05}`),
|
|
649
652
|
onClick: (u) => oe(t)
|
|
650
|
-
}, null, 12,
|
|
653
|
+
}, null, 12, el))), 256)),
|
|
651
654
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("rect", {
|
|
652
655
|
x: t.x1,
|
|
653
656
|
y: t.y1,
|
|
@@ -659,8 +662,8 @@ const pt = ["id"], gt = {
|
|
|
659
662
|
"stroke-width": e.value.style.chart.layout.branches.strokeWidth,
|
|
660
663
|
style: h(`cursor:pointer; opacity:${I(t) ? 1 : 0.05}`),
|
|
661
664
|
onClick: (b) => oe(t)
|
|
662
|
-
}, null, 12,
|
|
663
|
-
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g",
|
|
665
|
+
}, null, 12, tl))), 256)),
|
|
666
|
+
e.value.style.chart.layout.branches.labels.dataLabels.show ? (a(), o("g", ll, [
|
|
664
667
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
665
668
|
t.proportionToRoot * 100 > e.value.style.chart.layout.branches.labels.dataLabels.hideUnderValue ? (a(), o("text", {
|
|
666
669
|
key: 0,
|
|
@@ -682,7 +685,7 @@ const pt = ["id"], gt = {
|
|
|
682
685
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
683
686
|
}),
|
|
684
687
|
{ datapoint: t }
|
|
685
|
-
)), 13,
|
|
688
|
+
)), 13, al)) : f("", !0)
|
|
686
689
|
]))), 256))
|
|
687
690
|
])) : f("", !0),
|
|
688
691
|
(a(!0), o(g, null, _(j.value, (t, u) => (a(), o("g", null, [
|
|
@@ -698,17 +701,17 @@ const pt = ["id"], gt = {
|
|
|
698
701
|
"stroke-width": 10,
|
|
699
702
|
fill: "none",
|
|
700
703
|
style: h(`opacity:${I(t) ? 1 : 0.1}`)
|
|
701
|
-
}, null, 12,
|
|
704
|
+
}, null, 12, ol))), 256)),
|
|
702
705
|
s("circle", {
|
|
703
706
|
fill: e.value.style.chart.layout.nuts.useGradient ? `url(#nut_${w.value})` : "transparent",
|
|
704
707
|
cx: t.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
705
708
|
cy: t.y1 + r.value.branchSize / 2,
|
|
706
709
|
r: r.value.branchSize / 2 + 2,
|
|
707
|
-
onClick: (b) =>
|
|
710
|
+
onClick: (b) => Ue(t),
|
|
708
711
|
style: h(`cursor:pointer;opacity:${I(t) ? 1 : 0.1}`)
|
|
709
|
-
}, null, 12,
|
|
712
|
+
}, null, 12, sl)
|
|
710
713
|
]))), 256)),
|
|
711
|
-
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g",
|
|
714
|
+
e.value.style.chart.layout.branches.labels.show && !x.value ? (a(), o("g", ul, [
|
|
712
715
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("text", {
|
|
713
716
|
x: t.x2 + r.value.branchSize + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
714
717
|
y: t.y1 + r.value.branchSize / 2 + 5,
|
|
@@ -717,7 +720,7 @@ const pt = ["id"], gt = {
|
|
|
717
720
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
718
721
|
"text-anchor": "start",
|
|
719
722
|
style: h(`opacity:${I(t) ? 1 : 0.1}`)
|
|
720
|
-
}, c(t.name), 13,
|
|
723
|
+
}, c(t.name), 13, nl))), 256))
|
|
721
724
|
])) : f("", !0),
|
|
722
725
|
s("line", {
|
|
723
726
|
x1: 256 + r.value.padding.left,
|
|
@@ -726,7 +729,7 @@ const pt = ["id"], gt = {
|
|
|
726
729
|
y2: C.value.bottom,
|
|
727
730
|
stroke: e.value.style.chart.layout.verticalSeparator.stroke,
|
|
728
731
|
"stroke-width": e.value.style.chart.layout.verticalSeparator.strokeWidth
|
|
729
|
-
}, null, 8,
|
|
732
|
+
}, null, 8, rl),
|
|
730
733
|
!d.value && !x.value ? (a(), o("foreignObject", {
|
|
731
734
|
key: 6,
|
|
732
735
|
x: 0,
|
|
@@ -736,19 +739,19 @@ const pt = ["id"], gt = {
|
|
|
736
739
|
style: { overflow: "visible" },
|
|
737
740
|
onClick: $
|
|
738
741
|
}, [
|
|
739
|
-
s("div",
|
|
740
|
-
s("div",
|
|
742
|
+
s("div", cl, [
|
|
743
|
+
s("div", dl, [
|
|
741
744
|
(a(!0), o(g, null, _(B.value, (t) => (a(), o("div", {
|
|
742
745
|
style: h(`display:flex;align-items:center;gap:3px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
743
746
|
}, [
|
|
744
|
-
(a(), o("svg",
|
|
747
|
+
(a(), o("svg", vl, [
|
|
745
748
|
s("circle", {
|
|
746
749
|
cx: "10",
|
|
747
750
|
cy: "10",
|
|
748
751
|
r: "10",
|
|
749
752
|
fill: t.color,
|
|
750
753
|
stroke: "none"
|
|
751
|
-
}, null, 8,
|
|
754
|
+
}, null, 8, yl)
|
|
752
755
|
])),
|
|
753
756
|
s("span", null, c(t.name) + ":", 1),
|
|
754
757
|
s("b", null, c(n(G)(
|
|
@@ -763,37 +766,37 @@ const pt = ["id"], gt = {
|
|
|
763
766
|
{ datapoint: t }
|
|
764
767
|
)), 1),
|
|
765
768
|
J(" (" + c(n(z)({
|
|
766
|
-
v: t.total /
|
|
769
|
+
v: t.total / R.value * 100,
|
|
767
770
|
s: "%",
|
|
768
771
|
r: e.value.style.chart.layout.legend.roundingPercentage
|
|
769
772
|
})) + ") ", 1)
|
|
770
773
|
], 4))), 256))
|
|
771
774
|
])
|
|
772
775
|
])
|
|
773
|
-
], 8,
|
|
774
|
-
d.value &&
|
|
776
|
+
], 8, il)) : f("", !0),
|
|
777
|
+
d.value && M.value ? (a(), o("g", hl, [
|
|
775
778
|
(a(), o("foreignObject", {
|
|
776
779
|
x: 0,
|
|
777
|
-
y:
|
|
780
|
+
y: De(),
|
|
778
781
|
height: r.value.height - C.value.bottom,
|
|
779
782
|
width: r.value.width,
|
|
780
783
|
style: { overflow: "visible" },
|
|
781
784
|
onClick: $
|
|
782
785
|
}, [
|
|
783
|
-
s("div",
|
|
786
|
+
s("div", bl, [
|
|
784
787
|
s("b", null, c(d.value.name), 1),
|
|
785
|
-
s("div",
|
|
788
|
+
s("div", pl, [
|
|
786
789
|
(a(!0), o(g, null, _(d.value.breakdown, (t, u) => (a(), o("div", {
|
|
787
790
|
style: h(`display:flex;align-items:center;gap:6px;flex-direction:row;font-size:${e.value.style.chart.layout.legend.fontSize}px;`)
|
|
788
791
|
}, [
|
|
789
|
-
(a(), o("svg",
|
|
792
|
+
(a(), o("svg", gl, [
|
|
790
793
|
s("circle", {
|
|
791
794
|
cx: "10",
|
|
792
795
|
cy: "10",
|
|
793
796
|
r: "10",
|
|
794
797
|
fill: t.color,
|
|
795
798
|
stroke: "none"
|
|
796
|
-
}, null, 8,
|
|
799
|
+
}, null, 8, _l)
|
|
797
800
|
])),
|
|
798
801
|
s("span", null, [
|
|
799
802
|
J(c(t.name) + ": ", 1),
|
|
@@ -803,7 +806,7 @@ const pt = ["id"], gt = {
|
|
|
803
806
|
], 4))), 256))
|
|
804
807
|
])
|
|
805
808
|
])
|
|
806
|
-
], 8,
|
|
809
|
+
], 8, fl)),
|
|
807
810
|
s("circle", {
|
|
808
811
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
809
812
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -811,11 +814,11 @@ const pt = ["id"], gt = {
|
|
|
811
814
|
fill: `url(#nut_underlayer_${w.value})`,
|
|
812
815
|
onClick: A,
|
|
813
816
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
814
|
-
}, null, 10,
|
|
815
|
-
(a(!0), o(g, null, _(
|
|
817
|
+
}, null, 10, xl),
|
|
818
|
+
(a(!0), o(g, null, _(M.value, (t) => (a(), o("g", null, [
|
|
816
819
|
D(t) ? (a(), o("path", {
|
|
817
820
|
key: 0,
|
|
818
|
-
d: n(
|
|
821
|
+
d: n(ut)(
|
|
819
822
|
t,
|
|
820
823
|
{
|
|
821
824
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -833,7 +836,7 @@ const pt = ["id"], gt = {
|
|
|
833
836
|
"stroke-linejoin": "round",
|
|
834
837
|
fill: "none",
|
|
835
838
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
836
|
-
}, null, 10,
|
|
839
|
+
}, null, 10, ml)) : f("", !0)
|
|
837
840
|
]))), 256)),
|
|
838
841
|
s("circle", {
|
|
839
842
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
@@ -842,15 +845,15 @@ const pt = ["id"], gt = {
|
|
|
842
845
|
fill: e.value.style.chart.backgroundColor,
|
|
843
846
|
onClick: A,
|
|
844
847
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
845
|
-
}, null, 10,
|
|
846
|
-
(a(!0), o(g, null, _(
|
|
848
|
+
}, null, 10, kl),
|
|
849
|
+
(a(!0), o(g, null, _(M.value, (t) => (a(), o("path", {
|
|
847
850
|
d: t.path,
|
|
848
851
|
stroke: t.color,
|
|
849
852
|
"stroke-width": 64,
|
|
850
853
|
fill: "none",
|
|
851
854
|
onClick: A,
|
|
852
855
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
853
|
-
}, null, 10,
|
|
856
|
+
}, null, 10, wl))), 256)),
|
|
854
857
|
s("circle", {
|
|
855
858
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
856
859
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -858,7 +861,7 @@ const pt = ["id"], gt = {
|
|
|
858
861
|
fill: `url(#nutpick_${w.value})`,
|
|
859
862
|
onClick: A,
|
|
860
863
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
861
|
-
}, null, 10,
|
|
864
|
+
}, null, 10, $l),
|
|
862
865
|
s("circle", {
|
|
863
866
|
cx: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
864
867
|
cy: d.value.y1 + r.value.branchSize / 2,
|
|
@@ -866,7 +869,7 @@ const pt = ["id"], gt = {
|
|
|
866
869
|
fill: e.value.style.chart.backgroundColor,
|
|
867
870
|
onClick: A,
|
|
868
871
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
869
|
-
}, null, 10,
|
|
872
|
+
}, null, 10, Cl),
|
|
870
873
|
s("text", {
|
|
871
874
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
872
875
|
y: d.value.y1 + 8,
|
|
@@ -876,7 +879,7 @@ const pt = ["id"], gt = {
|
|
|
876
879
|
"text-anchor": "middle",
|
|
877
880
|
onClick: A,
|
|
878
881
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
879
|
-
}, c(e.value.translations.total), 11,
|
|
882
|
+
}, c(e.value.translations.total), 11, Tl),
|
|
880
883
|
s("text", {
|
|
881
884
|
x: d.value.x2 + 24 + e.value.style.chart.layout.nuts.offsetX,
|
|
882
885
|
y: d.value.y1 + 36,
|
|
@@ -896,8 +899,8 @@ const pt = ["id"], gt = {
|
|
|
896
899
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
897
900
|
}),
|
|
898
901
|
{ datapoint: d.value }
|
|
899
|
-
)), 11,
|
|
900
|
-
(a(!0), o(g, null, _(
|
|
902
|
+
)), 11, zl),
|
|
903
|
+
(a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
|
|
901
904
|
D(t) ? (a(), o("text", {
|
|
902
905
|
key: 0,
|
|
903
906
|
x: n(V)(t).x,
|
|
@@ -907,7 +910,7 @@ const pt = ["id"], gt = {
|
|
|
907
910
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
908
911
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
909
912
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
910
|
-
}, " ⬤ ", 14,
|
|
913
|
+
}, " ⬤ ", 14, Nl)) : f("", !0),
|
|
911
914
|
D(t) ? (a(), o("text", {
|
|
912
915
|
key: 1,
|
|
913
916
|
x: n(V)(t, !0).x,
|
|
@@ -917,9 +920,9 @@ const pt = ["id"], gt = {
|
|
|
917
920
|
"font-size": e.value.style.chart.layout.nuts.selected.labels.dataLabels.fontSize,
|
|
918
921
|
style: h(`font-weight:${e.value.style.chart.layout.nuts.selected.labels.dataLabels.bold ? "bold" : ""}`),
|
|
919
922
|
class: k(e.value.style.chart.layout.nuts.selected.useMotion ? "vue-ui-chestnut-animated" : "")
|
|
920
|
-
}, c(d.value.breakdown[u].name), 15,
|
|
923
|
+
}, c(d.value.breakdown[u].name), 15, Sl)) : f("", !0)
|
|
921
924
|
]))), 256)),
|
|
922
|
-
(a(!0), o(g, null, _(
|
|
925
|
+
(a(!0), o(g, null, _(M.value, (t, u) => (a(), o("g", null, [
|
|
923
926
|
D(t) ? (a(), o("text", {
|
|
924
927
|
key: 0,
|
|
925
928
|
x: n(V)(t, !0).x,
|
|
@@ -942,8 +945,8 @@ const pt = ["id"], gt = {
|
|
|
942
945
|
s: e.value.style.chart.layout.nuts.selected.labels.dataLabels.suffix,
|
|
943
946
|
r: e.value.style.chart.layout.nuts.selected.roundingValue
|
|
944
947
|
}),
|
|
945
|
-
{ datapoint:
|
|
946
|
-
)), 15,
|
|
948
|
+
{ datapoint: M.value, seriesIndex: u }
|
|
949
|
+
)), 15, Fl)) : f("", !0),
|
|
947
950
|
D(t) ? (a(), o("text", {
|
|
948
951
|
key: 1,
|
|
949
952
|
x: n(V)(t, !0).x,
|
|
@@ -957,7 +960,7 @@ const pt = ["id"], gt = {
|
|
|
957
960
|
v: d.value.breakdown[u].proportionToRoot * 100,
|
|
958
961
|
s: "%",
|
|
959
962
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
960
|
-
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15,
|
|
963
|
+
})) + " " + c(e.value.translations.of) + " " + c(d.value.breakdown[u].rootName), 15, Ll)) : f("", !0),
|
|
961
964
|
D(t) ? (a(), o("text", {
|
|
962
965
|
key: 2,
|
|
963
966
|
x: n(V)(t, !0).x,
|
|
@@ -971,7 +974,7 @@ const pt = ["id"], gt = {
|
|
|
971
974
|
v: d.value.breakdown[u].proportionToTree * 100,
|
|
972
975
|
s: "%",
|
|
973
976
|
r: e.value.style.chart.layout.nuts.selected.labels.roundingPercentage
|
|
974
|
-
})) + " " + c(e.value.translations.proportionToTree), 15,
|
|
977
|
+
})) + " " + c(e.value.translations.proportionToTree), 15, Il)) : f("", !0)
|
|
975
978
|
]))), 256))
|
|
976
979
|
])) : f("", !0),
|
|
977
980
|
(a(!0), o(g, null, _(j.value, (t) => (a(), o("g", null, [
|
|
@@ -994,7 +997,7 @@ const pt = ["id"], gt = {
|
|
|
994
997
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingValue
|
|
995
998
|
}),
|
|
996
999
|
{ datapoint: t }
|
|
997
|
-
)), 9,
|
|
1000
|
+
)), 9, Pl)) : f("", !0),
|
|
998
1001
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
999
1002
|
key: 1,
|
|
1000
1003
|
x: t.x1 + 6,
|
|
@@ -1007,7 +1010,7 @@ const pt = ["id"], gt = {
|
|
|
1007
1010
|
v: t.proportionToRoot * 100,
|
|
1008
1011
|
s: "%",
|
|
1009
1012
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1010
|
-
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9,
|
|
1013
|
+
})) + " " + c(e.value.translations.of) + " " + c(t.rootName), 9, Vl)) : f("", !0),
|
|
1011
1014
|
x.value && x.value.id === t.id && !d.value ? (a(), o("text", {
|
|
1012
1015
|
key: 2,
|
|
1013
1016
|
x: t.x1 + 6,
|
|
@@ -1017,17 +1020,17 @@ const pt = ["id"], gt = {
|
|
|
1017
1020
|
fill: e.value.style.chart.layout.branches.labels.color,
|
|
1018
1021
|
onClick: $
|
|
1019
1022
|
}, c(n(z)({
|
|
1020
|
-
v: t.value /
|
|
1023
|
+
v: t.value / R.value * 100,
|
|
1021
1024
|
s: "%",
|
|
1022
1025
|
r: e.value.style.chart.layout.branches.labels.dataLabels.roundingPercentage
|
|
1023
|
-
})) + " " + c(e.value.translations.proportionToTree), 9,
|
|
1026
|
+
})) + " " + c(e.value.translations.proportionToTree), 9, Ol)) : f("", !0)
|
|
1024
1027
|
]))), 256)),
|
|
1025
1028
|
F(l.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
1026
|
-
], 14,
|
|
1027
|
-
l.$slots.watermark ? (a(), o("div",
|
|
1029
|
+
], 14, mt)) : f("", !0),
|
|
1030
|
+
l.$slots.watermark ? (a(), o("div", Rl, [
|
|
1028
1031
|
F(l.$slots, "watermark", ue(ne({ isPrinting: n(he) || n(fe) })), void 0, !0)
|
|
1029
1032
|
])) : f("", !0),
|
|
1030
|
-
Y.value ? f("", !0) : (a(), K(
|
|
1033
|
+
Y.value ? f("", !0) : (a(), K(dt, {
|
|
1031
1034
|
key: 5,
|
|
1032
1035
|
config: {
|
|
1033
1036
|
type: "chestnut",
|
|
@@ -1040,10 +1043,10 @@ const pt = ["id"], gt = {
|
|
|
1040
1043
|
}
|
|
1041
1044
|
}, null, 8, ["config"])),
|
|
1042
1045
|
F(l.$slots, "legend", { legend: N.value }, void 0, !0),
|
|
1043
|
-
l.$slots.source ? (a(), o("div",
|
|
1046
|
+
l.$slots.source ? (a(), o("div", Ml, [
|
|
1044
1047
|
F(l.$slots, "source", {}, void 0, !0)
|
|
1045
1048
|
], 512)) : f("", !0),
|
|
1046
|
-
Y.value ? (a(), K(
|
|
1049
|
+
Y.value ? (a(), K(yt, {
|
|
1047
1050
|
key: 7,
|
|
1048
1051
|
hideDetails: "",
|
|
1049
1052
|
config: {
|
|
@@ -1065,15 +1068,15 @@ const pt = ["id"], gt = {
|
|
|
1065
1068
|
ref: le,
|
|
1066
1069
|
class: "vue-ui-chestnut-table"
|
|
1067
1070
|
}, [
|
|
1068
|
-
s("div",
|
|
1071
|
+
s("div", Bl, [
|
|
1069
1072
|
s("div", {
|
|
1070
1073
|
role: "button",
|
|
1071
1074
|
tabindex: "0",
|
|
1072
1075
|
style: h(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
|
|
1073
1076
|
onClick: i[0] || (i[0] = (t) => E.value.showTable = !1),
|
|
1074
|
-
onKeypress: i[1] || (i[1] =
|
|
1077
|
+
onKeypress: i[1] || (i[1] = Qe((t) => E.value.showTable = !1, ["enter"]))
|
|
1075
1078
|
}, [
|
|
1076
|
-
$e(
|
|
1079
|
+
$e(vt, {
|
|
1077
1080
|
name: "close",
|
|
1078
1081
|
stroke: e.value.table.th.color,
|
|
1079
1082
|
"stroke-width": 2
|
|
@@ -1083,13 +1086,13 @@ const pt = ["id"], gt = {
|
|
|
1083
1086
|
style: { width: "100%" },
|
|
1084
1087
|
class: k({ "vue-ui-responsive": ge.value })
|
|
1085
1088
|
}, [
|
|
1086
|
-
s("table",
|
|
1089
|
+
s("table", jl, [
|
|
1087
1090
|
s("caption", {
|
|
1088
1091
|
style: h({ backgroundColor: e.value.table.th.backgroundColor, color: e.value.table.th.color, outline: e.value.table.th.outline }),
|
|
1089
1092
|
class: "vue-ui-data-table__caption"
|
|
1090
1093
|
}, [
|
|
1091
1094
|
J(c(e.value.style.chart.layout.title.text) + " ", 1),
|
|
1092
|
-
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span",
|
|
1095
|
+
e.value.style.chart.layout.title.subtitle.text ? (a(), o("span", Al, c(e.value.style.chart.layout.title.subtitle.text), 1)) : f("", !0)
|
|
1093
1096
|
], 4),
|
|
1094
1097
|
s("thead", null, [
|
|
1095
1098
|
s("tr", {
|
|
@@ -1111,99 +1114,99 @@ const pt = ["id"], gt = {
|
|
|
1111
1114
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1112
1115
|
"data-cell": v.value.head[0]
|
|
1113
1116
|
}, [
|
|
1114
|
-
s("div",
|
|
1115
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1117
|
+
s("div", Gl, [
|
|
1118
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", El)) : (a(), o("span", Ul, c(t.rootName), 1))
|
|
1116
1119
|
])
|
|
1117
|
-
], 12,
|
|
1120
|
+
], 12, Xl),
|
|
1118
1121
|
s("td", {
|
|
1119
1122
|
class: "vue-ui-data-table__tbody__td",
|
|
1120
1123
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1121
1124
|
"data-cell": v.value.head[1]
|
|
1122
1125
|
}, [
|
|
1123
|
-
s("div",
|
|
1124
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1126
|
+
s("div", Yl, [
|
|
1127
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", ql)) : (a(), o("span", Hl, c(t.rootValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1125
1128
|
])
|
|
1126
|
-
], 12,
|
|
1129
|
+
], 12, Dl),
|
|
1127
1130
|
s("td", {
|
|
1128
1131
|
class: "vue-ui-data-table__tbody__td",
|
|
1129
1132
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1130
1133
|
"data-cell": v.value.head[2]
|
|
1131
1134
|
}, [
|
|
1132
|
-
s("div",
|
|
1133
|
-
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span",
|
|
1135
|
+
s("div", Kl, [
|
|
1136
|
+
v.value.body[u - 1] && v.value.body[u - 1].rootName === t.rootName ? (a(), o("span", Jl)) : (a(), o("span", Ql, c((t.rootToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1134
1137
|
])
|
|
1135
|
-
], 12,
|
|
1138
|
+
], 12, Wl),
|
|
1136
1139
|
s("td", {
|
|
1137
1140
|
class: "vue-ui-data-table__tbody__td",
|
|
1138
1141
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1139
1142
|
"data-cell": v.value.head[3]
|
|
1140
1143
|
}, [
|
|
1141
|
-
s("div",
|
|
1142
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1144
|
+
s("div", ea, [
|
|
1145
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ta)) : (a(), o("span", la, c(t.branchName), 1))
|
|
1143
1146
|
])
|
|
1144
|
-
], 12,
|
|
1147
|
+
], 12, Zl),
|
|
1145
1148
|
s("td", {
|
|
1146
1149
|
class: "vue-ui-data-table__tbody__td",
|
|
1147
1150
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1148
1151
|
"data-cell": v.value.head[4]
|
|
1149
1152
|
}, [
|
|
1150
|
-
s("div",
|
|
1151
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1153
|
+
s("div", oa, [
|
|
1154
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", sa)) : (a(), o("span", ua, c(t.branchValue.toFixed(e.value.table.td.roundingValue)), 1))
|
|
1152
1155
|
])
|
|
1153
|
-
], 12,
|
|
1156
|
+
], 12, aa),
|
|
1154
1157
|
s("td", {
|
|
1155
1158
|
class: "vue-ui-data-table__tbody__td",
|
|
1156
1159
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1157
1160
|
"data-cell": v.value.head[5]
|
|
1158
1161
|
}, [
|
|
1159
|
-
s("div",
|
|
1160
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1162
|
+
s("div", ra, [
|
|
1163
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ia)) : (a(), o("span", ca, c((t.branchToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1161
1164
|
])
|
|
1162
|
-
], 12,
|
|
1165
|
+
], 12, na),
|
|
1163
1166
|
s("td", {
|
|
1164
1167
|
class: "vue-ui-data-table__tbody__td",
|
|
1165
1168
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1166
1169
|
"data-cell": v.value.head[6]
|
|
1167
1170
|
}, [
|
|
1168
|
-
s("div",
|
|
1169
|
-
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span",
|
|
1171
|
+
s("div", va, [
|
|
1172
|
+
v.value.body[u - 1] && v.value.body[u - 1].branchName === t.branchName ? (a(), o("span", ya)) : (a(), o("span", ha, c((t.branchToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1))
|
|
1170
1173
|
])
|
|
1171
|
-
], 12,
|
|
1174
|
+
], 12, da),
|
|
1172
1175
|
s("td", {
|
|
1173
1176
|
class: "vue-ui-data-table__tbody__td",
|
|
1174
1177
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1175
1178
|
"data-cell": v.value.head[7]
|
|
1176
1179
|
}, [
|
|
1177
|
-
s("div",
|
|
1178
|
-
], 12,
|
|
1180
|
+
s("div", ba, c(t.nutName), 1)
|
|
1181
|
+
], 12, fa),
|
|
1179
1182
|
s("td", {
|
|
1180
1183
|
class: "vue-ui-data-table__tbody__td",
|
|
1181
1184
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1182
1185
|
"data-cell": v.value.head[8]
|
|
1183
1186
|
}, [
|
|
1184
|
-
s("div",
|
|
1185
|
-
], 12,
|
|
1187
|
+
s("div", ga, c(t.nutValue.toFixed(e.value.table.td.roundingValue)), 1)
|
|
1188
|
+
], 12, pa),
|
|
1186
1189
|
s("td", {
|
|
1187
1190
|
class: "vue-ui-data-table__tbody__td",
|
|
1188
1191
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1189
1192
|
"data-cell": v.value.head[9]
|
|
1190
1193
|
}, [
|
|
1191
|
-
s("div",
|
|
1192
|
-
], 12,
|
|
1194
|
+
s("div", xa, c((t.nutToBranch * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1195
|
+
], 12, _a),
|
|
1193
1196
|
s("td", {
|
|
1194
1197
|
class: "vue-ui-data-table__tbody__td",
|
|
1195
1198
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1196
1199
|
"data-cell": v.value.head[10]
|
|
1197
1200
|
}, [
|
|
1198
|
-
s("div",
|
|
1199
|
-
], 12,
|
|
1201
|
+
s("div", ka, c((t.nutToRoot * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1202
|
+
], 12, ma),
|
|
1200
1203
|
s("td", {
|
|
1201
1204
|
class: "vue-ui-data-table__tbody__td",
|
|
1202
1205
|
style: h(`outline:${e.value.table.td.outline}`),
|
|
1203
1206
|
"data-cell": v.value.head[11]
|
|
1204
1207
|
}, [
|
|
1205
|
-
s("div",
|
|
1206
|
-
], 12,
|
|
1208
|
+
s("div", $a, c((t.nutToTotal * 100).toFixed(e.value.table.td.roundingPercentage)) + "% ", 1)
|
|
1209
|
+
], 12, wa)
|
|
1207
1210
|
], 6))), 256))
|
|
1208
1211
|
])
|
|
1209
1212
|
])
|
|
@@ -1213,9 +1216,9 @@ const pt = ["id"], gt = {
|
|
|
1213
1216
|
]),
|
|
1214
1217
|
_: 1
|
|
1215
1218
|
}, 8, ["config"])) : f("", !0)
|
|
1216
|
-
], 46,
|
|
1219
|
+
], 46, _t));
|
|
1217
1220
|
}
|
|
1218
|
-
},
|
|
1221
|
+
}, ja = /* @__PURE__ */ gt(Ca, [["__scopeId", "data-v-5a1bb2e2"]]);
|
|
1219
1222
|
export {
|
|
1220
|
-
|
|
1223
|
+
ja as default
|
|
1221
1224
|
};
|