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,24 +1,25 @@
|
|
|
1
|
-
import { useSlots as Pt, computed as w, ref as g, onMounted as tt, watch as at, nextTick as he, createElementBlock as s, openBlock as o, unref as m, normalizeStyle as W, normalizeClass as te, createBlock as Z, createCommentVNode as v, renderSlot as x, createElementVNode as B, createVNode as ae, createSlots as lt, withCtx as _, normalizeProps as U, guardReactiveProps as Y, Fragment as h, renderList as y, mergeProps as we, toDisplayString as $, createTextVNode as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as ht } from "./useNestedProp-
|
|
4
|
-
import { t as
|
|
5
|
-
import { u as
|
|
6
|
-
import { S as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { L as
|
|
10
|
-
import
|
|
11
|
-
import { D as
|
|
12
|
-
import
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { u as
|
|
16
|
-
import { _ as
|
|
17
|
-
import {
|
|
18
|
-
|
|
1
|
+
import { useSlots as Pt, computed as w, ref as g, onMounted as tt, watch as at, nextTick as he, createElementBlock as s, openBlock as o, unref as m, normalizeStyle as W, normalizeClass as te, createBlock as Z, createCommentVNode as v, renderSlot as x, createElementVNode as B, createVNode as ae, createSlots as lt, withCtx as _, normalizeProps as U, guardReactiveProps as Y, Fragment as h, renderList as y, mergeProps as we, toDisplayString as $, createTextVNode as At } from "vue";
|
|
2
|
+
import { u as Vt, c as rt, t as Ft, p as ve, a as Dt, C as de, b as Et, o as Ht, e as ot, g as Wt, d as Bt, aa as ye, a8 as st, D as it, X as Ut, l as Yt, a3 as ge, G as nt, f as X, x as ut, q as Xt, r as Gt, i as ct, y as Jt } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { u as ht } from "./useNestedProp-Cg0NIwr6.js";
|
|
4
|
+
import { t as qt, u as Zt } from "./useResponsive-BWapHhVH.js";
|
|
5
|
+
import { u as Kt, U as Qt } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { S as jt } from "./Slicer-BAcq2vD0.js";
|
|
7
|
+
import { _ as ea } from "./Tooltip-DRw9RoFp.js";
|
|
8
|
+
import { _ as ta } from "./Title-DePxeqVl.js";
|
|
9
|
+
import { L as aa } from "./Legend-Oaw0MY8Y.js";
|
|
10
|
+
import la from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { D as ra } from "./DataTable-D0-zzsJg.js";
|
|
12
|
+
import oa from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
13
|
+
import { _ as sa } from "./PackageVersion-J_USnljf.js";
|
|
14
|
+
import { P as ia } from "./PenAndPaper-CoEXEMcN.js";
|
|
15
|
+
import { u as na } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
+
import { _ as ua } from "./Shape-Dtm6toQp.js";
|
|
17
|
+
import { u as ca } from "./useChartAccessibility-BWojgys7.js";
|
|
18
|
+
import { _ as ha } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
|
+
const va = ["id"], da = ["xmlns", "viewBox"], ya = ["x", "y", "width", "height"], ga = { key: 1 }, ba = ["id"], fa = ["stop-color"], ma = ["stop-color"], pa = ["stop-color"], xa = ["x1", "x2", "y1", "y2", "stroke"], ka = ["x1", "x2", "y1", "y2", "stroke"], wa = ["x1", "x2", "y1", "y2", "stroke"], za = ["x1", "x2", "y1", "y2", "stroke"], _a = { key: 0 }, Ca = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], La = { key: 0 }, Sa = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], $a = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Ma = { key: 0 }, Ta = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Oa = ["x", "y", "font-size", "fill", "font-weight"], Ra = ["transform", "font-size", "fill", "font-weight"], Pa = ["x", "y", "font-size", "fill", "font-weight"], Aa = { key: 0 }, Va = ["x", "y", "font-size", "font-weight", "fill"], Fa = ["x", "y", "font-size", "fill", "font-weight"], Da = { key: 0 }, Ea = ["x", "y", "font-size", "font-weight", "fill"], Ha = ["x1", "x2", "y1", "y2", "stroke"], Wa = ["x", "y", "font-size", "font-weight", "fill"], Ba = ["x1", "x2", "y1", "y2", "stroke"], Ua = ["font-size", "font-weight", "fill", "text-anchor", "transform"], Ya = { key: 0 }, Xa = { key: 1 }, Ga = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ja = { key: 0 }, qa = { key: 1 }, Za = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ka = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Qa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], ja = {
|
|
19
20
|
key: 4,
|
|
20
21
|
class: "vue-data-ui-watermark"
|
|
21
|
-
},
|
|
22
|
+
}, el = ["onClick"], tl = ["innerHTML"], al = {
|
|
22
23
|
__name: "vue-ui-stackbar",
|
|
23
24
|
props: {
|
|
24
25
|
config: {
|
|
@@ -36,7 +37,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
36
37
|
},
|
|
37
38
|
emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
|
|
38
39
|
setup(be, { expose: vt, emit: dt }) {
|
|
39
|
-
const { vue_ui_stackbar: yt } =
|
|
40
|
+
const { vue_ui_stackbar: yt } = Vt(), gt = Pt(), b = be, fe = dt, G = w({
|
|
40
41
|
get() {
|
|
41
42
|
return !!b.dataset && b.dataset.length;
|
|
42
43
|
},
|
|
@@ -50,7 +51,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
50
51
|
const e = w({
|
|
51
52
|
get: () => Ie(),
|
|
52
53
|
set: (a) => a
|
|
53
|
-
}), { userOptionsVisible: pe, setUserOptionsVisibility: Te, keepUserOptionState: Ne } =
|
|
54
|
+
}), { userOptionsVisible: pe, setUserOptionsVisibility: Te, keepUserOptionState: Ne } = na({ config: e.value }), { svgRef: pt } = ca({ config: e.value.style.chart.title });
|
|
54
55
|
function Ie() {
|
|
55
56
|
const a = ht({
|
|
56
57
|
userConfig: b.config,
|
|
@@ -59,10 +60,10 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
59
60
|
let l = {};
|
|
60
61
|
return a.theme ? l = {
|
|
61
62
|
...ht({
|
|
62
|
-
userConfig:
|
|
63
|
+
userConfig: Dt.vue_ui_stackbar[a.theme] || b.config,
|
|
63
64
|
defaultConfig: a
|
|
64
65
|
}),
|
|
65
|
-
customPalette:
|
|
66
|
+
customPalette: Ft[a.theme] || ve
|
|
66
67
|
} : l = a, b.config && de(b.config, "style.chart.grid.scale.scaleMin") ? l.style.chart.grid.scale.scaleMin = b.config.style.chart.grid.scale.scaleMin : l.style.chart.grid.scale.scaleMin = null, b.config && de(b.config, "style.chart.grid.scale.scaleMax") ? l.style.chart.grid.scale.scaleMax = b.config.style.chart.grid.scale.scaleMax : l.style.chart.grid.scale.scaleMax = null, b.config && de(b.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = b.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, b.config && de(b.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = b.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, l;
|
|
67
68
|
}
|
|
68
69
|
at(() => b.config, (a) => {
|
|
@@ -76,7 +77,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
76
77
|
},
|
|
77
78
|
showTable: e.value.table.show,
|
|
78
79
|
showTooltip: e.value.style.chart.tooltip.show
|
|
79
|
-
}), { isPrinting: Oe, isImaging:
|
|
80
|
+
}), { isPrinting: Oe, isImaging: Re, generatePdf: Pe, generateImage: Ae } = Kt({
|
|
80
81
|
elementId: `stackbar_${O.value}`,
|
|
81
82
|
fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
|
|
82
83
|
}), oe = g({
|
|
@@ -88,16 +89,16 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
88
89
|
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
89
90
|
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
90
91
|
}
|
|
91
|
-
}),
|
|
92
|
+
}), xt = w(() => Et(e.value.customPalette)), Ve = g(null), Fe = g(null);
|
|
92
93
|
tt(() => {
|
|
93
94
|
xe();
|
|
94
95
|
});
|
|
95
96
|
function xe() {
|
|
96
|
-
if (
|
|
97
|
+
if (Ht(b.dataset) ? ot({
|
|
97
98
|
componentName: "VueUiStackbar",
|
|
98
99
|
type: "dataset"
|
|
99
100
|
}) : b.dataset.forEach((a, l) => {
|
|
100
|
-
|
|
101
|
+
Wt({
|
|
101
102
|
datasetObject: a,
|
|
102
103
|
requiredAttributes: ["name", "series"]
|
|
103
104
|
}).forEach((t) => {
|
|
@@ -111,13 +112,13 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
111
112
|
}), setTimeout(() => {
|
|
112
113
|
V.value = !0;
|
|
113
114
|
}, 10), e.value.responsive) {
|
|
114
|
-
const a =
|
|
115
|
+
const a = qt(() => {
|
|
115
116
|
V.value = !1;
|
|
116
|
-
const { width: l, height: t } =
|
|
117
|
+
const { width: l, height: t } = Zt({
|
|
117
118
|
chart: J.value,
|
|
118
119
|
title: e.value.style.chart.title.text ? Ce.value : null,
|
|
119
120
|
legend: e.value.style.chart.legend.show ? Le.value : null,
|
|
120
|
-
slicer: e.value.style.chart.zoom.show &&
|
|
121
|
+
slicer: e.value.style.chart.zoom.show && P.value > 1 ? Se.value : null,
|
|
121
122
|
source: $e.value
|
|
122
123
|
});
|
|
123
124
|
requestAnimationFrame(() => {
|
|
@@ -142,8 +143,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
142
143
|
width: F,
|
|
143
144
|
height: D < 0 ? 0 : D
|
|
144
145
|
};
|
|
145
|
-
}),
|
|
146
|
-
const t =
|
|
146
|
+
}), R = w(() => b.dataset.map((a, l) => {
|
|
147
|
+
const t = Bt(a.color) || xt.value[l] || ve[l] || ve[l % ve.length];
|
|
147
148
|
return {
|
|
148
149
|
...a,
|
|
149
150
|
// In distributed mode, all values are converted to positive
|
|
@@ -154,7 +155,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
154
155
|
id: rt(),
|
|
155
156
|
color: t
|
|
156
157
|
};
|
|
157
|
-
})),
|
|
158
|
+
})), P = w(() => Math.max(...R.value.filter((a) => !L.value.includes(a.id)).map((a) => a.series.length))), c = g({
|
|
158
159
|
start: 0,
|
|
159
160
|
end: Math.max(...b.dataset.map((a) => a.series.length))
|
|
160
161
|
});
|
|
@@ -162,23 +163,23 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
162
163
|
Ee();
|
|
163
164
|
}
|
|
164
165
|
async function Ee() {
|
|
165
|
-
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && q.value ? (e.value.style.chart.zoom.startIndex !== null && (await he(), await he(), q.value && q.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await he(), await he(), q.value && q.value.setEndValue(
|
|
166
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && q.value ? (e.value.style.chart.zoom.startIndex !== null && (await he(), await he(), q.value && q.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await he(), await he(), q.value && q.value.setEndValue(kt(e.value.style.chart.zoom.endIndex + 1)))) : (c.value = {
|
|
166
167
|
start: 0,
|
|
167
168
|
end: Math.max(...b.dataset.map((a) => a.series.length))
|
|
168
169
|
}, Me.value += 1);
|
|
169
170
|
}
|
|
170
|
-
function
|
|
171
|
+
function kt(a) {
|
|
171
172
|
const l = Math.max(...b.dataset.map((t) => t.series.length));
|
|
172
173
|
return a > l ? l : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
|
|
173
174
|
}
|
|
174
175
|
const d = w(() => {
|
|
175
176
|
let a;
|
|
176
177
|
return e.value.orientation === "vertical" ? a = i.value.width / (c.value.end - c.value.start) : a = i.value.height / (c.value.end - c.value.start), a <= 0 ? 0 : a;
|
|
177
|
-
}), Q = w(() => ye(
|
|
178
|
+
}), Q = w(() => ye(R.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), wt = w(() => ye(R.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
|
|
178
179
|
...a,
|
|
179
180
|
series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
|
|
180
181
|
}))).slice(c.value.start, c.value.end)), se = w(() => {
|
|
181
|
-
const a =
|
|
182
|
+
const a = R.value.filter((l) => !L.value.includes(l.id));
|
|
182
183
|
return {
|
|
183
184
|
positive: ye(a.map((l) => ({
|
|
184
185
|
...l,
|
|
@@ -202,7 +203,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
202
203
|
}));
|
|
203
204
|
}), A = w(() => {
|
|
204
205
|
const a = [];
|
|
205
|
-
for (let l = 0; l <
|
|
206
|
+
for (let l = 0; l < P.value; l += 1)
|
|
206
207
|
a.push({
|
|
207
208
|
text: e.value.style.chart.grid.x.timeLabels.values[l] || String(l),
|
|
208
209
|
absoluteIndex: l
|
|
@@ -210,38 +211,38 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
210
211
|
return a.slice(c.value.start, c.value.end);
|
|
211
212
|
}), k = w(() => {
|
|
212
213
|
if (!G.value) return [];
|
|
213
|
-
let a = Array(
|
|
214
|
+
let a = Array(P.value).fill(0), l = Array(P.value).fill(0), t = Array(P.value).fill(0), r = Array(P.value).fill(0);
|
|
214
215
|
const u = Math.max(...se.value.positive) || 0, n = Math.min(...se.value.negative), C = [-1 / 0, 1 / 0, NaN, void 0, null].includes(n) ? 0 : n, F = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? st(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks) : it(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : C > 0 ? 0 : C, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : u < 0 ? 0 : u, e.value.style.chart.grid.scale.ticks), { min: D, max: j } = F, E = j + (D >= 0 ? 0 : Math.abs(D)) || 1, S = i.value.height, ce = i.value.width, je = N.value[0] ? N.value[0].zero : i.value.bottom, et = N.value[0] ? N.value[0].horizontal_zero : i.value.left;
|
|
215
|
-
return
|
|
216
|
-
const I = ee.series.slice(c.value.start, c.value.end),
|
|
216
|
+
return R.value.filter((ee) => !L.value.includes(ee.id)).map((ee) => {
|
|
217
|
+
const I = ee.series.slice(c.value.start, c.value.end), St = ee.signedSeries.slice(c.value.start, c.value.end), $t = I.map((f, p) => i.value.left + d.value * p + d.value * e.value.style.chart.bars.gapRatio / 4), Mt = I.map((f, p) => i.value.top + d.value * p + d.value * e.value.style.chart.bars.gapRatio / 4), Tt = I.map((f, p) => {
|
|
217
218
|
const M = e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) / E;
|
|
218
219
|
let H, T;
|
|
219
220
|
return f > 0 ? (T = S * M, H = je - T - a[p], a[p] += T) : (T = S * M, H = je + t[p], t[p] += Math.abs(T)), H;
|
|
220
|
-
}),
|
|
221
|
+
}), Nt = I.map((f, p) => {
|
|
221
222
|
const M = e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) / E;
|
|
222
223
|
let H, T;
|
|
223
224
|
return f > 0 ? (T = ce * M, H = et + l[p], l[p] += T) : (T = ce * M, H = et - Math.abs(T) - r[p], r[p] += Math.abs(T)), H;
|
|
224
|
-
}),
|
|
225
|
+
}), It = I.map((f, p) => {
|
|
225
226
|
const M = e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) / E;
|
|
226
227
|
return f > 0 ? S * M : S * Math.abs(M);
|
|
227
|
-
}),
|
|
228
|
+
}), Ot = I.map((f, p) => {
|
|
228
229
|
const M = e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) / E;
|
|
229
230
|
return f > 0 ? ce * M : ce * Math.abs(M);
|
|
230
|
-
}),
|
|
231
|
+
}), Rt = I.map((f) => Math.abs(f)).reduce((f, p) => f + p, 0);
|
|
231
232
|
return {
|
|
232
233
|
...ee,
|
|
233
|
-
proportions: I.map((f, p) => e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) /
|
|
234
|
+
proportions: I.map((f, p) => e.value.style.chart.bars.distributed ? (f || 0) / Q.value[p] : (f || 0) / Rt),
|
|
234
235
|
series: I,
|
|
235
|
-
signedSeries:
|
|
236
|
-
x:
|
|
237
|
-
y:
|
|
238
|
-
height:
|
|
239
|
-
horizontal_width:
|
|
240
|
-
horizontal_y:
|
|
241
|
-
horizontal_x:
|
|
236
|
+
signedSeries: St,
|
|
237
|
+
x: $t,
|
|
238
|
+
y: Tt,
|
|
239
|
+
height: It,
|
|
240
|
+
horizontal_width: Ot,
|
|
241
|
+
horizontal_y: Mt,
|
|
242
|
+
horizontal_x: Nt
|
|
242
243
|
};
|
|
243
244
|
});
|
|
244
|
-
}), He = w(() =>
|
|
245
|
+
}), He = w(() => wt.value.map((a, l) => ({
|
|
245
246
|
value: a,
|
|
246
247
|
sign: a >= 0 ? 1 : -1
|
|
247
248
|
})));
|
|
@@ -291,7 +292,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
291
292
|
color: u.color,
|
|
292
293
|
id: u.id
|
|
293
294
|
})), r = t.map((u) => Math.abs(u.value)).reduce((u, n) => u + n, 0);
|
|
294
|
-
if (ut(l) &&
|
|
295
|
+
if (ut(l) && Jt(() => l({
|
|
295
296
|
seriesIndex: a,
|
|
296
297
|
datapoint: t,
|
|
297
298
|
series: k.value,
|
|
@@ -337,7 +338,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
337
338
|
}), me.value = `<div>${j}</div>`;
|
|
338
339
|
}
|
|
339
340
|
}
|
|
340
|
-
function
|
|
341
|
+
function zt(a) {
|
|
341
342
|
re.value = a, _e.value += 1;
|
|
342
343
|
}
|
|
343
344
|
function Ye() {
|
|
@@ -349,7 +350,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
349
350
|
function Ge() {
|
|
350
351
|
z.value.showTooltip = !z.value.showTooltip;
|
|
351
352
|
}
|
|
352
|
-
function
|
|
353
|
+
function _t() {
|
|
353
354
|
return k.value;
|
|
354
355
|
}
|
|
355
356
|
const Je = w(() => {
|
|
@@ -360,20 +361,20 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
360
361
|
})), l = [];
|
|
361
362
|
for (let t = c.value.start; t < c.value.end; t += 1) {
|
|
362
363
|
const r = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
|
|
363
|
-
|
|
364
|
+
R.value.forEach((u) => {
|
|
364
365
|
r.push(Number((u.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
|
|
365
366
|
}), l.push(r);
|
|
366
367
|
}
|
|
367
368
|
return { head: a, body: l };
|
|
368
369
|
});
|
|
369
370
|
function qe() {
|
|
370
|
-
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...Je.value.head.map((n) => n.label)], t = Je.value.body, r = a.concat([l]).concat(t), u =
|
|
371
|
-
|
|
371
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...Je.value.head.map((n) => n.label)], t = Je.value.body, r = a.concat([l]).concat(t), u = Xt(r);
|
|
372
|
+
Gt({ csvContent: u, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
|
|
372
373
|
}
|
|
373
374
|
const ne = w(() => {
|
|
374
375
|
const a = [""].concat(k.value.map((u) => u.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
|
|
375
376
|
let l = [];
|
|
376
|
-
for (let u = 0; u <
|
|
377
|
+
for (let u = 0; u < P.value; u += 1) {
|
|
377
378
|
const n = k.value.map((C) => C.series[u] ?? 0).reduce((C, F) => C + F, 0);
|
|
378
379
|
l.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[u] ?? u + 1].concat(k.value.map((C) => (C.series[u] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((n ?? 0).toFixed(e.value.table.td.roundingValue)));
|
|
379
380
|
}
|
|
@@ -392,23 +393,23 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
392
393
|
}, r = [e.value.table.columnNames.period].concat(k.value.map((u) => u.name)).concat(e.value.table.columnNames.total);
|
|
393
394
|
return { head: a, body: l.slice(0, c.value.end - c.value.start), config: t, colNames: r };
|
|
394
395
|
});
|
|
395
|
-
function
|
|
396
|
+
function Ct(a, l) {
|
|
396
397
|
if (fe("selectLegend", k.value.find((t) => t.absoluteIndex === a)), L.value.includes(l.id))
|
|
397
398
|
L.value = L.value.filter((t) => t !== l.id);
|
|
398
399
|
else {
|
|
399
|
-
if (L.value.length ===
|
|
400
|
+
if (L.value.length === R.value.length - 1) return;
|
|
400
401
|
L.value.push(l.id);
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
|
-
const Ze = w(() =>
|
|
404
|
+
const Ze = w(() => R.value.map((a, l) => ({
|
|
404
405
|
...a,
|
|
405
406
|
shape: "square"
|
|
406
407
|
})).map((a) => ({
|
|
407
408
|
...a,
|
|
408
409
|
opacity: L.value.includes(a.id) ? 0.5 : 1,
|
|
409
|
-
segregate: () =>
|
|
410
|
+
segregate: () => Ct(a.absoluteIndex, a),
|
|
410
411
|
isSegregated: L.value.includes(a.id)
|
|
411
|
-
}))),
|
|
412
|
+
}))), Lt = w(() => ({
|
|
412
413
|
cy: "stackbar-legend",
|
|
413
414
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
414
415
|
color: e.value.style.chart.legend.color,
|
|
@@ -437,8 +438,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
437
438
|
return e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? e.value.style.chart.bars.dataLabels.hideEmptyPercentages ? l > 0 : !0 : e.value.style.chart.bars.dataLabels.hideEmptyValues ? a !== 0 : !0;
|
|
438
439
|
}
|
|
439
440
|
return vt({
|
|
440
|
-
getData:
|
|
441
|
-
generatePdf:
|
|
441
|
+
getData: _t,
|
|
442
|
+
generatePdf: Pe,
|
|
442
443
|
generateCsv: qe,
|
|
443
444
|
generateImage: Ae,
|
|
444
445
|
toggleTable: Ye,
|
|
@@ -454,7 +455,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
454
455
|
onMouseenter: l[6] || (l[6] = () => m(Te)(!0)),
|
|
455
456
|
onMouseleave: l[7] || (l[7] = () => m(Te)(!1))
|
|
456
457
|
}, [
|
|
457
|
-
e.value.userOptions.buttons.annotator ? (o(), Z(
|
|
458
|
+
e.value.userOptions.buttons.annotator ? (o(), Z(ia, {
|
|
458
459
|
key: 0,
|
|
459
460
|
parent: J.value,
|
|
460
461
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -469,7 +470,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
469
470
|
ref: Ce,
|
|
470
471
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
471
472
|
}, [
|
|
472
|
-
ae(
|
|
473
|
+
ae(ta, {
|
|
473
474
|
config: {
|
|
474
475
|
title: {
|
|
475
476
|
cy: "stackbar-title",
|
|
@@ -482,13 +483,13 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
482
483
|
}
|
|
483
484
|
}, null, 8, ["config"])
|
|
484
485
|
], 512)) : v("", !0),
|
|
485
|
-
e.value.userOptions.show && G.value && (m(Ne) || m(pe)) ? (o(), Z(
|
|
486
|
+
e.value.userOptions.show && G.value && (m(Ne) || m(pe)) ? (o(), Z(Qt, {
|
|
486
487
|
ref: "details",
|
|
487
488
|
key: `user_option_${_e.value}`,
|
|
488
489
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
489
490
|
color: e.value.style.chart.color,
|
|
490
491
|
isPrinting: m(Oe),
|
|
491
|
-
isImaging: m(
|
|
492
|
+
isImaging: m(Re),
|
|
492
493
|
uid: O.value,
|
|
493
494
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
494
495
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -504,8 +505,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
504
505
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
505
506
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
506
507
|
isAnnotation: ue.value,
|
|
507
|
-
onToggleFullscreen:
|
|
508
|
-
onGeneratePdf: m(
|
|
508
|
+
onToggleFullscreen: zt,
|
|
509
|
+
onGeneratePdf: m(Pe),
|
|
509
510
|
onGenerateCsv: qe,
|
|
510
511
|
onGenerateImage: m(Ae),
|
|
511
512
|
onToggleTable: Ye,
|
|
@@ -575,11 +576,13 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
575
576
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
576
577
|
G.value ? (o(), s("svg", {
|
|
577
578
|
key: 3,
|
|
578
|
-
|
|
579
|
+
ref_key: "svgRef",
|
|
580
|
+
ref: pt,
|
|
581
|
+
xmlns: m(Ut),
|
|
579
582
|
viewBox: `0 0 ${i.value.chartWidth <= 0 ? 10 : i.value.chartWidth} ${i.value.chartHeight <= 0 ? 10 : i.value.chartHeight}`,
|
|
580
583
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
581
584
|
}, [
|
|
582
|
-
ae(
|
|
585
|
+
ae(sa),
|
|
583
586
|
a.$slots["chart-background"] ? (o(), s("foreignObject", {
|
|
584
587
|
key: 0,
|
|
585
588
|
x: i.value.left,
|
|
@@ -591,8 +594,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
591
594
|
}
|
|
592
595
|
}, [
|
|
593
596
|
x(a.$slots, "chart-background", {}, void 0, !0)
|
|
594
|
-
], 8,
|
|
595
|
-
e.value.style.chart.bars.gradient.show ? (o(), s("defs",
|
|
597
|
+
], 8, ya)) : v("", !0),
|
|
598
|
+
e.value.style.chart.bars.gradient.show ? (o(), s("defs", ga, [
|
|
596
599
|
(o(!0), s(h, null, y(k.value, (t, r) => (o(), s("linearGradient", {
|
|
597
600
|
id: `gradient_${t.id}`,
|
|
598
601
|
x1: "0%",
|
|
@@ -603,16 +606,16 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
603
606
|
B("stop", {
|
|
604
607
|
offset: "0%",
|
|
605
608
|
"stop-color": t.color
|
|
606
|
-
}, null, 8,
|
|
609
|
+
}, null, 8, fa),
|
|
607
610
|
B("stop", {
|
|
608
611
|
offset: "61.8%",
|
|
609
|
-
"stop-color": m(
|
|
610
|
-
}, null, 8,
|
|
612
|
+
"stop-color": m(Yt)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
|
|
613
|
+
}, null, 8, ma),
|
|
611
614
|
B("stop", {
|
|
612
615
|
offset: "100%",
|
|
613
616
|
"stop-color": t.color
|
|
614
|
-
}, null, 8,
|
|
615
|
-
], 8,
|
|
617
|
+
}, null, 8, pa)
|
|
618
|
+
], 8, ba))), 256))
|
|
616
619
|
])) : v("", !0),
|
|
617
620
|
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (o(!0), s(h, { key: 2 }, y(N.value, (t, r) => (o(), s("line", {
|
|
618
621
|
x1: i.value.left,
|
|
@@ -622,7 +625,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
622
625
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
623
626
|
"stroke-width": 1,
|
|
624
627
|
"stroke-linecap": "round"
|
|
625
|
-
}, null, 8,
|
|
628
|
+
}, null, 8, xa))), 256)) : v("", !0),
|
|
626
629
|
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), s(h, { key: 3 }, y(c.value.end - c.value.start + 1, (t, r) => (o(), s("line", {
|
|
627
630
|
x1: i.value.left,
|
|
628
631
|
x2: i.value.right,
|
|
@@ -631,7 +634,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
631
634
|
stroke: e.value.style.chart.grid.y.axisColor,
|
|
632
635
|
"stroke-width": 1,
|
|
633
636
|
"stroke-linecap": "round"
|
|
634
|
-
}, null, 8,
|
|
637
|
+
}, null, 8, ka))), 256)) : v("", !0),
|
|
635
638
|
e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (o(!0), s(h, { key: 4 }, y(c.value.end - c.value.start + 1, (t, r) => (o(), s("line", {
|
|
636
639
|
x1: i.value.left + d.value * r,
|
|
637
640
|
x2: i.value.left + d.value * r,
|
|
@@ -640,7 +643,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
640
643
|
stroke: e.value.style.chart.grid.y.axisColor,
|
|
641
644
|
"stroke-width": 1,
|
|
642
645
|
"stroke-linecap": "round"
|
|
643
|
-
}, null, 8,
|
|
646
|
+
}, null, 8, wa))), 256)) : v("", !0),
|
|
644
647
|
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (o(!0), s(h, { key: 5 }, y(N.value, (t, r) => (o(), s("line", {
|
|
645
648
|
x1: t.horizontal_x,
|
|
646
649
|
x2: t.horizontal_x,
|
|
@@ -649,9 +652,9 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
649
652
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
650
653
|
"stroke-width": 1,
|
|
651
654
|
"stroke-linecap": "round"
|
|
652
|
-
}, null, 8,
|
|
655
|
+
}, null, 8, za))), 256)) : v("", !0),
|
|
653
656
|
(o(!0), s(h, null, y(k.value, (t, r) => (o(), s("g", null, [
|
|
654
|
-
a.$slots.pattern ? (o(), s("defs",
|
|
657
|
+
a.$slots.pattern ? (o(), s("defs", _a, [
|
|
655
658
|
x(a.$slots, "pattern", we({ ref_for: !0 }, { seriesIndex: t.absoluteIndex, patternId: `pattern_${O.value}_${t.absoluteIndex}` }), void 0, !0)
|
|
656
659
|
])) : v("", !0),
|
|
657
660
|
e.value.orientation === "vertical" ? (o(), s(h, { key: 1 }, [
|
|
@@ -667,8 +670,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
667
670
|
"stroke-linecap": "round",
|
|
668
671
|
"stroke-linejoin": "round",
|
|
669
672
|
class: te({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": V.value })
|
|
670
|
-
}, null, 10,
|
|
671
|
-
a.$slots.pattern ? (o(), s("g",
|
|
673
|
+
}, null, 10, Ca))), 256)),
|
|
674
|
+
a.$slots.pattern ? (o(), s("g", La, [
|
|
672
675
|
(o(!0), s(h, null, y(t.x, (u, n) => (o(), s("rect", {
|
|
673
676
|
x: u,
|
|
674
677
|
y: t.y[n] < 0 ? 0 : t.y[n],
|
|
@@ -681,7 +684,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
681
684
|
"stroke-linecap": "round",
|
|
682
685
|
"stroke-linejoin": "round",
|
|
683
686
|
class: te({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": V.value })
|
|
684
|
-
}, null, 10,
|
|
687
|
+
}, null, 10, Sa))), 256))
|
|
685
688
|
])) : v("", !0)
|
|
686
689
|
], 64)) : (o(), s(h, { key: 2 }, [
|
|
687
690
|
(o(!0), s(h, null, y(t.horizontal_x, (u, n) => (o(), s("rect", {
|
|
@@ -696,8 +699,8 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
696
699
|
"stroke-linecap": "round",
|
|
697
700
|
"stroke-linejoin": "round",
|
|
698
701
|
class: te({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": V.value })
|
|
699
|
-
}, null, 10,
|
|
700
|
-
a.$slots.pattern ? (o(), s("g",
|
|
702
|
+
}, null, 10, $a))), 256)),
|
|
703
|
+
a.$slots.pattern ? (o(), s("g", Ma, [
|
|
701
704
|
(o(!0), s(h, null, y(t.horizontal_x, (u, n) => (o(), s("rect", {
|
|
702
705
|
x: m(ge)(u, i.value.left),
|
|
703
706
|
y: t.horizontal_y[n] < 0 ? 0 : t.horizontal_y[n],
|
|
@@ -710,7 +713,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
710
713
|
"stroke-linecap": "round",
|
|
711
714
|
"stroke-linejoin": "round",
|
|
712
715
|
class: te({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": V.value })
|
|
713
|
-
}, null, 10,
|
|
716
|
+
}, null, 10, Ta))), 256))
|
|
714
717
|
])) : v("", !0)
|
|
715
718
|
], 64))
|
|
716
719
|
]))), 256)),
|
|
@@ -724,7 +727,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
724
727
|
"stroke-width": e.value.style.chart.grid.x.axisThickness,
|
|
725
728
|
"stroke-linecap": "round",
|
|
726
729
|
"stroke-linejoin": "round"
|
|
727
|
-
}, null, 8,
|
|
730
|
+
}, null, 8, Na)) : v("", !0),
|
|
728
731
|
e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (o(), s("line", {
|
|
729
732
|
key: 7,
|
|
730
733
|
x1: i.value.left,
|
|
@@ -735,7 +738,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
735
738
|
"stroke-width": e.value.style.chart.grid.y.axisThickness,
|
|
736
739
|
"stroke-linecap": "round",
|
|
737
740
|
"stroke-linejoin": "round"
|
|
738
|
-
}, null, 8,
|
|
741
|
+
}, null, 8, Ia)) : v("", !0),
|
|
739
742
|
e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (o(), s("text", {
|
|
740
743
|
key: 8,
|
|
741
744
|
x: i.value.left + i.value.width / 2,
|
|
@@ -744,7 +747,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
744
747
|
fill: e.value.style.chart.grid.x.axisName.color,
|
|
745
748
|
"font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
746
749
|
"text-anchor": "middle"
|
|
747
|
-
}, $(e.value.style.chart.grid.x.axisName.text), 9,
|
|
750
|
+
}, $(e.value.style.chart.grid.x.axisName.text), 9, Oa)) : v("", !0),
|
|
748
751
|
e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (o(), s("text", {
|
|
749
752
|
key: 9,
|
|
750
753
|
transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${i.value.top + i.value.height / 2}) rotate(-90)`,
|
|
@@ -752,7 +755,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
752
755
|
fill: e.value.style.chart.grid.y.axisName.color,
|
|
753
756
|
"font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
754
757
|
"text-anchor": "middle"
|
|
755
|
-
}, $(e.value.style.chart.grid.y.axisName.text), 9,
|
|
758
|
+
}, $(e.value.style.chart.grid.y.axisName.text), 9, Ra)) : v("", !0),
|
|
756
759
|
z.value.dataLabels.show && e.value.orientation === "vertical" ? (o(), s(h, { key: 10 }, [
|
|
757
760
|
(o(!0), s(h, null, y(k.value, (t, r) => (o(), s("g", null, [
|
|
758
761
|
(o(!0), s(h, null, y(t.x, (u, n) => (o(), s(h, null, [
|
|
@@ -764,10 +767,10 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
764
767
|
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? m(nt)(t.color) : e.value.style.chart.bars.dataLabels.color,
|
|
765
768
|
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
766
769
|
"text-anchor": "middle"
|
|
767
|
-
}, $(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? We(t.proportions[n] * 100, t, r, n) : ie(t.series[n], t, r, n, t.signedSeries[n])), 9,
|
|
770
|
+
}, $(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? We(t.proportions[n] * 100, t, r, n) : ie(t.series[n], t, r, n, t.signedSeries[n])), 9, Pa)) : v("", !0)
|
|
768
771
|
], 64))), 256))
|
|
769
772
|
]))), 256)),
|
|
770
|
-
e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (o(), s("g",
|
|
773
|
+
e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (o(), s("g", Aa, [
|
|
771
774
|
(o(!0), s(h, null, y(He.value, (t, r) => (o(), s(h, null, [
|
|
772
775
|
!e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), s("text", {
|
|
773
776
|
key: 0,
|
|
@@ -777,7 +780,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
777
780
|
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
778
781
|
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
779
782
|
fill: e.value.style.chart.bars.totalValues.color
|
|
780
|
-
}, $(ie(t.value, t, r, t.sign)), 9,
|
|
783
|
+
}, $(ie(t.value, t, r, t.sign)), 9, Va)) : v("", !0)
|
|
781
784
|
], 64))), 256))
|
|
782
785
|
])) : v("", !0)
|
|
783
786
|
], 64)) : v("", !0),
|
|
@@ -792,10 +795,10 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
792
795
|
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? m(nt)(t.color) : e.value.style.chart.bars.dataLabels.color,
|
|
793
796
|
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
794
797
|
"text-anchor": "middle"
|
|
795
|
-
}, $(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? We(t.proportions[n] * 100, t, r, n) : ie(t.series[n], t, r, n, t.signedSeries[n])), 9,
|
|
798
|
+
}, $(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? We(t.proportions[n] * 100, t, r, n) : ie(t.series[n], t, r, n, t.signedSeries[n])), 9, Fa)) : v("", !0)
|
|
796
799
|
], 64))), 256))
|
|
797
800
|
]))), 256)),
|
|
798
|
-
e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (o(), s("g",
|
|
801
|
+
e.value.style.chart.bars.totalValues.show && k.value.length > 1 ? (o(), s("g", Da, [
|
|
799
802
|
(o(!0), s(h, null, y(He.value, (t, r) => (o(), s(h, null, [
|
|
800
803
|
!e.value.style.chart.bars.dataLabels.hideEmptyValues || t.value !== 0 ? (o(), s("text", {
|
|
801
804
|
key: 0,
|
|
@@ -805,7 +808,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
805
808
|
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
806
809
|
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
807
810
|
fill: e.value.style.chart.bars.totalValues.color
|
|
808
|
-
}, $(ie(t.value, t, r, t.sign)), 9,
|
|
811
|
+
}, $(ie(t.value, t, r, t.sign)), 9, Ea)) : v("", !0)
|
|
809
812
|
], 64))), 256))
|
|
810
813
|
])) : v("", !0)
|
|
811
814
|
], 64)) : v("", !0),
|
|
@@ -817,7 +820,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
817
820
|
y2: t.y,
|
|
818
821
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
819
822
|
"stroke-width": 1
|
|
820
|
-
}, null, 8,
|
|
823
|
+
}, null, 8, Ha))), 256)),
|
|
821
824
|
(o(!0), s(h, null, y(N.value, (t, r) => (o(), s("text", {
|
|
822
825
|
x: t.x,
|
|
823
826
|
y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
@@ -830,7 +833,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
830
833
|
v: t.value,
|
|
831
834
|
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
832
835
|
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
833
|
-
})), 9,
|
|
836
|
+
})), 9, Wa))), 256))
|
|
834
837
|
], 64)) : v("", !0),
|
|
835
838
|
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (o(), s(h, { key: 13 }, [
|
|
836
839
|
(o(!0), s(h, null, y(N.value, (t, r) => (o(), s("line", {
|
|
@@ -841,7 +844,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
841
844
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
842
845
|
"stroke-width": 1,
|
|
843
846
|
"stroke-linecap": "round"
|
|
844
|
-
}, null, 8,
|
|
847
|
+
}, null, 8, Ba))), 256)),
|
|
845
848
|
(o(!0), s(h, null, y(N.value, (t, r) => (o(), s("text", {
|
|
846
849
|
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
847
850
|
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
@@ -853,10 +856,10 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
853
856
|
v: t.value,
|
|
854
857
|
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
855
858
|
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
856
|
-
})), 9,
|
|
859
|
+
})), 9, Ua))), 256))
|
|
857
860
|
], 64)) : v("", !0),
|
|
858
861
|
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (o(), s(h, { key: 14 }, [
|
|
859
|
-
a.$slots["time-label"] ? (o(), s("g",
|
|
862
|
+
a.$slots["time-label"] ? (o(), s("g", Ya, [
|
|
860
863
|
(o(!0), s(h, null, y(A.value, (t, r) => (o(), s("g", null, [
|
|
861
864
|
x(a.$slots, "time-label", we({ ref_for: !0 }, {
|
|
862
865
|
x: i.value.left + d.value * r + d.value / 2,
|
|
@@ -870,7 +873,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
870
873
|
show: !0
|
|
871
874
|
}), void 0, !0)
|
|
872
875
|
]))), 256))
|
|
873
|
-
])) : (o(), s("g",
|
|
876
|
+
])) : (o(), s("g", Xa, [
|
|
874
877
|
(o(!0), s(h, null, y(A.value, (t, r) => (o(), s("text", {
|
|
875
878
|
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
876
879
|
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
@@ -881,11 +884,11 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
881
884
|
cursor: "pointer"
|
|
882
885
|
},
|
|
883
886
|
onClick: () => Ke(t, r)
|
|
884
|
-
}, $(t.text), 9,
|
|
887
|
+
}, $(t.text), 9, Ga))), 256))
|
|
885
888
|
]))
|
|
886
889
|
], 64)) : v("", !0),
|
|
887
890
|
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (o(), s(h, { key: 15 }, [
|
|
888
|
-
a.$slots["time-label"] ? (o(), s("g",
|
|
891
|
+
a.$slots["time-label"] ? (o(), s("g", Ja, [
|
|
889
892
|
(o(!0), s(h, null, y(A.value, (t, r) => (o(), s("g", null, [
|
|
890
893
|
x(a.$slots, "time-label", we({ ref_for: !0 }, {
|
|
891
894
|
x: i.value.left - 8,
|
|
@@ -899,7 +902,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
899
902
|
show: !0
|
|
900
903
|
}), void 0, !0)
|
|
901
904
|
]))), 256))
|
|
902
|
-
])) : (o(), s("g",
|
|
905
|
+
])) : (o(), s("g", qa, [
|
|
903
906
|
(o(!0), s(h, null, y(A.value, (t, r) => (o(), s("text", {
|
|
904
907
|
"text-anchor": "end",
|
|
905
908
|
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
@@ -911,7 +914,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
911
914
|
cursor: "pointer"
|
|
912
915
|
},
|
|
913
916
|
onClick: () => Ke(t, r)
|
|
914
|
-
}, $(t.text), 9,
|
|
917
|
+
}, $(t.text), 9, Za))), 256))
|
|
915
918
|
]))
|
|
916
919
|
], 64)) : v("", !0),
|
|
917
920
|
z.value.showTooltip && e.value.orientation === "vertical" ? (o(!0), s(h, { key: 16 }, y(c.value.end - c.value.start, (t, r) => (o(), s("rect", {
|
|
@@ -926,7 +929,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
926
929
|
}),
|
|
927
930
|
fill: r === K.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
928
931
|
style: W({ opacity: e.value.style.chart.highlighter.opacity / 100 })
|
|
929
|
-
}, null, 44,
|
|
932
|
+
}, null, 44, Ka))), 256)) : v("", !0),
|
|
930
933
|
z.value.showTooltip && e.value.orientation === "horizontal" ? (o(!0), s(h, { key: 17 }, y(c.value.end - c.value.start, (t, r) => (o(), s("rect", {
|
|
931
934
|
x: i.value.left,
|
|
932
935
|
y: i.value.top + r * d.value,
|
|
@@ -939,13 +942,13 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
939
942
|
}),
|
|
940
943
|
fill: r === K.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
941
944
|
style: W({ opacity: e.value.style.chart.highlighter.opacity / 100 })
|
|
942
|
-
}, null, 44,
|
|
945
|
+
}, null, 44, Qa))), 256)) : v("", !0),
|
|
943
946
|
x(a.$slots, "svg", U(Y({ ...i.value })), void 0, !0)
|
|
944
|
-
], 12,
|
|
945
|
-
a.$slots.watermark ? (o(), s("div",
|
|
946
|
-
x(a.$slots, "watermark", U(Y({ isPrinting: m(Oe) || m(
|
|
947
|
+
], 12, da)) : v("", !0),
|
|
948
|
+
a.$slots.watermark ? (o(), s("div", ja, [
|
|
949
|
+
x(a.$slots, "watermark", U(Y({ isPrinting: m(Oe) || m(Re) })), void 0, !0)
|
|
947
950
|
])) : v("", !0),
|
|
948
|
-
G.value ? v("", !0) : (o(), Z(
|
|
951
|
+
G.value ? v("", !0) : (o(), Z(oa, {
|
|
949
952
|
key: 5,
|
|
950
953
|
config: {
|
|
951
954
|
type: "bar",
|
|
@@ -966,7 +969,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
966
969
|
style: W(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
967
970
|
"data-html2canvas-ignore": ""
|
|
968
971
|
}, [
|
|
969
|
-
e.value.style.chart.zoom.show &&
|
|
972
|
+
e.value.style.chart.zoom.show && P.value > 1 ? (o(), Z(jt, {
|
|
970
973
|
ref_key: "slicerComponent",
|
|
971
974
|
ref: q,
|
|
972
975
|
key: `slicer_${Me.value}`,
|
|
@@ -999,7 +1002,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
999
1002
|
_: 3
|
|
1000
1003
|
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : v("", !0)
|
|
1001
1004
|
], 4),
|
|
1002
|
-
ae(
|
|
1005
|
+
ae(ea, {
|
|
1003
1006
|
show: z.value.showTooltip && le.value,
|
|
1004
1007
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1005
1008
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -1027,24 +1030,24 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
1027
1030
|
ref_key: "chartLegend",
|
|
1028
1031
|
ref: Le
|
|
1029
1032
|
}, [
|
|
1030
|
-
e.value.style.chart.legend.show && G.value ? (o(), Z(
|
|
1033
|
+
e.value.style.chart.legend.show && G.value ? (o(), Z(aa, {
|
|
1031
1034
|
key: 0,
|
|
1032
1035
|
legendSet: Ze.value,
|
|
1033
|
-
config:
|
|
1036
|
+
config: Lt.value,
|
|
1034
1037
|
onClickMarker: l[4] || (l[4] = ({ legend: t }) => t.segregate())
|
|
1035
1038
|
}, lt({
|
|
1036
1039
|
item: _(({ legend: t }) => [
|
|
1037
1040
|
B("div", {
|
|
1038
1041
|
onClick: (r) => t.segregate(),
|
|
1039
1042
|
style: W(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
|
|
1040
|
-
}, $(t.name), 13,
|
|
1043
|
+
}, $(t.name), 13, el)
|
|
1041
1044
|
]),
|
|
1042
1045
|
_: 2
|
|
1043
1046
|
}, [
|
|
1044
1047
|
a.$slots.pattern ? {
|
|
1045
1048
|
name: "legend-pattern",
|
|
1046
1049
|
fn: _(({ legend: t, index: r }) => [
|
|
1047
|
-
ae(
|
|
1050
|
+
ae(ua, {
|
|
1048
1051
|
shape: t.shape,
|
|
1049
1052
|
radius: 30,
|
|
1050
1053
|
stroke: "none",
|
|
@@ -1067,7 +1070,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
1067
1070
|
}, [
|
|
1068
1071
|
x(a.$slots, "source", {}, void 0, !0)
|
|
1069
1072
|
], 512)) : v("", !0),
|
|
1070
|
-
c.value.end - c.value.start < 200 ? (o(), Z(
|
|
1073
|
+
c.value.end - c.value.start < 200 ? (o(), Z(la, {
|
|
1071
1074
|
key: 7,
|
|
1072
1075
|
hideDetails: "",
|
|
1073
1076
|
config: {
|
|
@@ -1084,7 +1087,7 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
1084
1087
|
}
|
|
1085
1088
|
}, {
|
|
1086
1089
|
content: _(() => [
|
|
1087
|
-
ae(
|
|
1090
|
+
ae(ra, {
|
|
1088
1091
|
colNames: ne.value.colNames,
|
|
1089
1092
|
head: ne.value.head,
|
|
1090
1093
|
body: ne.value.body,
|
|
@@ -1093,10 +1096,10 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
1093
1096
|
onClose: l[5] || (l[5] = (t) => z.value.showTable = !1)
|
|
1094
1097
|
}, {
|
|
1095
1098
|
th: _(({ th: t }) => [
|
|
1096
|
-
B("div", { innerHTML: t }, null, 8,
|
|
1099
|
+
B("div", { innerHTML: t }, null, 8, tl)
|
|
1097
1100
|
]),
|
|
1098
1101
|
td: _(({ td: t }) => [
|
|
1099
|
-
|
|
1102
|
+
At($(isNaN(Number(t)) ? t : m(X)({
|
|
1100
1103
|
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
1101
1104
|
v: t,
|
|
1102
1105
|
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
@@ -1108,9 +1111,9 @@ const ca = ["id"], ha = ["xmlns", "viewBox"], va = ["x", "y", "width", "height"]
|
|
|
1108
1111
|
]),
|
|
1109
1112
|
_: 1
|
|
1110
1113
|
}, 8, ["config"])) : v("", !0)
|
|
1111
|
-
], 46,
|
|
1114
|
+
], 46, va));
|
|
1112
1115
|
}
|
|
1113
|
-
},
|
|
1116
|
+
}, kl = /* @__PURE__ */ ha(al, [["__scopeId", "data-v-10e5d586"]]);
|
|
1114
1117
|
export {
|
|
1115
|
-
|
|
1118
|
+
kl as default
|
|
1116
1119
|
};
|