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,31 +1,32 @@
|
|
|
1
|
-
import { ref as L, computed as B, watch as Fe, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import Pe from "./BaseIcon-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as
|
|
8
|
-
import
|
|
9
|
-
import { u as ut } from "./useNestedProp-
|
|
10
|
-
import { _ as
|
|
11
|
-
import { P as
|
|
12
|
-
import {
|
|
1
|
+
import { ref as L, computed as B, watch as Fe, onMounted as wt, onBeforeUnmount as At, nextTick as Ie, createElementBlock as l, openBlock as a, normalizeStyle as N, normalizeClass as re, createBlock as Ee, createCommentVNode as f, createVNode as se, unref as g, createSlots as _t, withCtx as J, renderSlot as F, normalizeProps as ve, guardReactiveProps as de, toDisplayString as P, createElementVNode as _, Fragment as m, renderList as $, mergeProps as Me } from "vue";
|
|
2
|
+
import { u as zt, c as Lt, t as $t, p as q, a as Ct, C as ot, b as It, J as Et, e as Tt, d as Ue, m as Pt, D as it, X as Ot, j as Rt, k as Be, n as ke, i as G, f as D, S as nt, v as X, x as Te, y as De } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as Nt, u as Ft } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import Pe from "./BaseIcon-dThl5uNa.js";
|
|
5
|
+
import { _ as Mt } from "./Tooltip-DRw9RoFp.js";
|
|
6
|
+
import { u as Ut, U as Bt } from "./usePrinter-D-sSdR2l.js";
|
|
7
|
+
import { S as Dt } from "./Slicer-BAcq2vD0.js";
|
|
8
|
+
import Vt from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
9
|
+
import { u as ut } from "./useNestedProp-Cg0NIwr6.js";
|
|
10
|
+
import { _ as qt } from "./PackageVersion-J_USnljf.js";
|
|
11
|
+
import { P as Wt } from "./PenAndPaper-CoEXEMcN.js";
|
|
12
|
+
import { u as Ht } from "./useChartAccessibility-BWojgys7.js";
|
|
13
|
+
import { _ as jt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
14
|
const A = {
|
|
14
15
|
LINE: "LINE",
|
|
15
16
|
BAR: "BAR",
|
|
16
17
|
DONUT: "DONUT"
|
|
17
|
-
},
|
|
18
|
-
function
|
|
18
|
+
}, Gt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
19
|
+
function Xt({ dataset: c, barLineSwitch: C = 6 }) {
|
|
19
20
|
let p = null, M = null, O = 0;
|
|
20
21
|
if ((typeof c == "number" || typeof c == "string") && console.warn(`The provided dataset (${c}) is not sufficient to build a chart`), be(c) && (Z(c) && (c.length < C ? p = A.BAR : p = A.LINE, M = c, O = c.length), Oe(c))) {
|
|
21
|
-
if (!
|
|
22
|
+
if (!Yt(c))
|
|
22
23
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
23
24
|
const le = Object.keys(c[0]), ce = Object.values(c[0]);
|
|
24
|
-
if (!le.some((E) =>
|
|
25
|
+
if (!le.some((E) => Jt(E)))
|
|
25
26
|
return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
26
27
|
rt(ce, (E) => typeof E == "number") && (p = A.DONUT, M = c), rt(ce, (E) => Array.isArray(E) && Z(E)) && (st(c) > C ? p = A.LINE : p = A.BAR, O = st(c), M = c.map((E) => ({
|
|
27
28
|
...E,
|
|
28
|
-
data:
|
|
29
|
+
data: Qt(E, (j) => Z(j))
|
|
29
30
|
}))), c = c.map((E) => vt(E)), M = M.map((E) => vt(E));
|
|
30
31
|
}
|
|
31
32
|
return be(c) && [...new Set(c.flatMap((le) => Array.isArray(le)))][0], {
|
|
@@ -49,7 +50,7 @@ function Z(c) {
|
|
|
49
50
|
function Oe(c) {
|
|
50
51
|
return !be(c) || dt(c) || !![...new Set(c.flatMap((p) => typeof p == "object" && !Array.isArray(p)))].includes(!1) ? !1 : !c.map((p) => Object.keys(p).length > 0).includes(!1);
|
|
51
52
|
}
|
|
52
|
-
function
|
|
53
|
+
function Zt(c, C) {
|
|
53
54
|
const p = Object.keys(c).sort(), M = Object.keys(C).sort();
|
|
54
55
|
if (p.length !== M.length)
|
|
55
56
|
return !1;
|
|
@@ -60,16 +61,16 @@ function Gt(c, C) {
|
|
|
60
61
|
}
|
|
61
62
|
return !0;
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function Yt(c) {
|
|
64
65
|
if (c.length <= 1) return !0;
|
|
65
66
|
for (let C = 0; C < c.length; C += 1)
|
|
66
67
|
for (let p = C + 1; p < c.length; p += 1)
|
|
67
|
-
if (!
|
|
68
|
+
if (!Zt(c[C], c[p]))
|
|
68
69
|
return !1;
|
|
69
70
|
return !0;
|
|
70
71
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
72
|
+
function Jt(c) {
|
|
73
|
+
return Gt.includes(c.toUpperCase());
|
|
73
74
|
}
|
|
74
75
|
function rt(c, C) {
|
|
75
76
|
let p = [];
|
|
@@ -80,7 +81,7 @@ function rt(c, C) {
|
|
|
80
81
|
function st(c) {
|
|
81
82
|
return Math.max(...[...c].flatMap((C) => Object.values(C).filter((p) => Z(p)).map((p) => p.length)));
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
+
function Qt(c, C) {
|
|
84
85
|
return Object.values(c).filter((p) => C(p))[0];
|
|
85
86
|
}
|
|
86
87
|
function vt(c) {
|
|
@@ -89,55 +90,55 @@ function vt(c) {
|
|
|
89
90
|
c.hasOwnProperty(p) && (C[p.toUpperCase()] = c[p]);
|
|
90
91
|
return C;
|
|
91
92
|
}
|
|
92
|
-
const
|
|
93
|
+
const Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["x", "y", "width", "height"], aa = ["x", "y", "width", "height"], la = ["width", "height"], oa = ["id"], ia = ["id"], na = ["id"], ua = ["flood-color"], ra = {
|
|
93
94
|
key: 0,
|
|
94
95
|
class: "donut-label-connectors"
|
|
95
|
-
},
|
|
96
|
+
}, sa = ["d", "stroke", "stroke-width", "filter"], va = ["cx", "cy", "r", "fill", "filter"], da = { class: "donut" }, ca = ["d", "fill", "stroke", "stroke-width", "filter"], ha = ["d", "onMouseenter", "onClick"], fa = {
|
|
96
97
|
key: 1,
|
|
97
98
|
class: "donut-labels quick-animation"
|
|
98
|
-
},
|
|
99
|
+
}, ga = ["cx", "cy", "fill", "stroke", "filter"], ma = ["text-anchor", "x", "y", "fill", "font-size", "filter"], pa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], xa = {
|
|
99
100
|
key: 2,
|
|
100
101
|
class: "donut-hollow quick-animation"
|
|
101
|
-
},
|
|
102
|
+
}, ya = ["x", "y", "font-size", "fill"], ka = ["x", "y", "font-size", "fill"], ba = {
|
|
102
103
|
key: 0,
|
|
103
104
|
class: "line-grid"
|
|
104
|
-
},
|
|
105
|
+
}, Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = {
|
|
105
106
|
key: 1,
|
|
106
107
|
class: "line-axis"
|
|
107
|
-
},
|
|
108
|
+
}, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = {
|
|
108
109
|
key: 2,
|
|
109
110
|
class: "yLabels"
|
|
110
|
-
},
|
|
111
|
+
}, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x", "y", "font-size", "fill"], Ia = {
|
|
111
112
|
key: 3,
|
|
112
113
|
class: "periodLabels"
|
|
113
|
-
},
|
|
114
|
+
}, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ta = ["font-size", "text-anchor", "fill", "transform"], Pa = { class: "plots" }, Oa = { class: "line-plot-series" }, Ra = ["d", "stroke", "stroke-width"], Na = ["d", "stroke", "stroke-width"], Fa = ["d", "stroke", "stroke-width"], Ma = ["d", "stroke", "stroke-width"], Ua = ["cx", "cy", "fill", "stroke"], Ba = {
|
|
114
115
|
key: 4,
|
|
115
116
|
class: "dataLabels"
|
|
116
|
-
},
|
|
117
|
+
}, Da = ["font-size", "fill", "x", "y"], Va = { class: "tooltip-traps" }, qa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Wa = {
|
|
117
118
|
key: 0,
|
|
118
119
|
class: "line-grid"
|
|
119
|
-
},
|
|
120
|
+
}, Ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ga = {
|
|
120
121
|
key: 1,
|
|
121
122
|
class: "line-axis"
|
|
122
|
-
},
|
|
123
|
+
}, Xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = {
|
|
123
124
|
key: 2,
|
|
124
125
|
class: "yLabels"
|
|
125
|
-
},
|
|
126
|
+
}, Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = ["x", "y", "font-size", "fill"], Ka = {
|
|
126
127
|
key: 3,
|
|
127
128
|
class: "periodLabels"
|
|
128
|
-
},
|
|
129
|
+
}, el = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], tl = ["font-size", "text-anchor", "transform", "fill"], al = { class: "plots" }, ll = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], ol = ["to"], il = ["from", "to"], nl = {
|
|
129
130
|
key: 4,
|
|
130
131
|
class: "dataLabels"
|
|
131
|
-
},
|
|
132
|
+
}, ul = ["x", "y", "font-size", "fill"], rl = { class: "tooltip-traps" }, sl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], vl = {
|
|
132
133
|
key: 6,
|
|
133
134
|
class: "axis-labels"
|
|
134
|
-
},
|
|
135
|
+
}, dl = { key: 0 }, cl = ["font-size", "fill", "x", "y"], hl = { key: 1 }, fl = ["font-size", "fill", "x", "y"], gl = { key: 2 }, ml = ["font-size", "fill", "transform"], pl = { key: 3 }, xl = ["font-size", "fill", "transform"], yl = {
|
|
135
136
|
key: 6,
|
|
136
137
|
class: "vue-data-ui-watermark"
|
|
137
|
-
},
|
|
138
|
+
}, kl = ["onClick"], bl = ["onClick"], Sl = ["onClick"], wl = {
|
|
138
139
|
key: 1,
|
|
139
140
|
class: "vue-ui-quick-chart-not-processable"
|
|
140
|
-
},
|
|
141
|
+
}, Al = {
|
|
141
142
|
__name: "vue-ui-quick-chart",
|
|
142
143
|
props: {
|
|
143
144
|
config: {
|
|
@@ -155,12 +156,12 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
155
156
|
},
|
|
156
157
|
emits: ["selectDatapoint", "selectLegend"],
|
|
157
158
|
setup(c, { expose: C, emit: p }) {
|
|
158
|
-
const { vue_ui_quick_chart: M } =
|
|
159
|
+
const { vue_ui_quick_chart: M } = zt(), O = c, W = L(null), ae = L(null), le = L(null), ce = L(null), E = L(Lt()), j = L(!1), he = L(null), Q = L(""), H = L(null), Ve = L(null), qe = L(null), w = L([]), We = L(0), Se = L(0), e = B({
|
|
159
160
|
get: () => Ge(),
|
|
160
161
|
set: (o) => o
|
|
161
|
-
}), ct = B(() => e.value.showUserOptionsOnChartHover), He = B(() => e.value.keepUserOptionsStateOnChartLeave), we = L(!e.value.showUserOptionsOnChartHover);
|
|
162
|
+
}), { svgRef: ct } = Ht({ config: { text: e.value.title } }), ht = B(() => e.value.showUserOptionsOnChartHover), He = B(() => e.value.keepUserOptionsStateOnChartLeave), we = L(!e.value.showUserOptionsOnChartHover);
|
|
162
163
|
function je(o = !1) {
|
|
163
|
-
|
|
164
|
+
ht.value && (we.value = o);
|
|
164
165
|
}
|
|
165
166
|
function Ge() {
|
|
166
167
|
const o = ut({
|
|
@@ -170,10 +171,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
170
171
|
let s = {};
|
|
171
172
|
return o.theme ? s = {
|
|
172
173
|
...ut({
|
|
173
|
-
userConfig:
|
|
174
|
+
userConfig: Ct.vue_ui_quick_chart[o.theme] || O.config,
|
|
174
175
|
defaultConfig: o
|
|
175
176
|
}),
|
|
176
|
-
customPalette:
|
|
177
|
+
customPalette: $t[o.theme] || q
|
|
177
178
|
} : s = o, O.config && ot(O.config, "zoomStartIndex") ? s.zoomStartIndex = O.config.zoomStartIndex : s.zoomStartIndex = null, O.config && ot(O.config, "zoomEndIndex") ? s.zoomEndIndex = O.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
178
179
|
}
|
|
179
180
|
Fe(() => O.config, (o) => {
|
|
@@ -181,8 +182,8 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
181
182
|
}, { deep: !0 }), Fe(() => O.dataset, (o) => {
|
|
182
183
|
x.value = ge.value, b.value.start = 0, b.value.end = x.value.maxSeriesLength, Se.value += 1;
|
|
183
184
|
}, { deep: !0 });
|
|
184
|
-
const fe = B(() =>
|
|
185
|
-
const o =
|
|
185
|
+
const fe = B(() => It(e.value.customPalette)), oe = p, ge = B(() => {
|
|
186
|
+
const o = Xt({ dataset: Et(O.dataset, [
|
|
186
187
|
"serie",
|
|
187
188
|
"series",
|
|
188
189
|
"data",
|
|
@@ -191,29 +192,29 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
191
192
|
"num"
|
|
192
193
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
193
194
|
return o || console.error("VueUiQuickChart : Dataset is not processable"), o;
|
|
194
|
-
}), x = L(ge.value),
|
|
195
|
+
}), x = L(ge.value), ft = B(() => !!x.value), z = B(() => x.value ? x.value.type : null);
|
|
195
196
|
Fe(() => z.value, (o) => {
|
|
196
|
-
o ||
|
|
197
|
+
o || Tt({
|
|
197
198
|
componentName: "VueUiQuickChart",
|
|
198
199
|
type: "dataset"
|
|
199
200
|
});
|
|
200
201
|
}, { immediate: !0 });
|
|
201
|
-
const { isPrinting: Ae, isImaging: _e, generatePdf: Xe, generateImage: Ze } =
|
|
202
|
+
const { isPrinting: Ae, isImaging: _e, generatePdf: Xe, generateImage: Ze } = Ut({
|
|
202
203
|
elementId: `${z.value}_${E.value}`,
|
|
203
204
|
fileName: e.value.title || z.value
|
|
204
|
-
}),
|
|
205
|
+
}), gt = B(() => e.value.showUserOptions && !e.value.title), k = L({
|
|
205
206
|
width: e.value.width,
|
|
206
207
|
height: e.value.height
|
|
207
208
|
}), me = L({
|
|
208
209
|
showTooltip: e.value.showTooltip
|
|
209
210
|
}), ze = L(null);
|
|
210
|
-
|
|
211
|
+
wt(() => {
|
|
211
212
|
Ye();
|
|
212
213
|
});
|
|
213
214
|
function Ye() {
|
|
214
215
|
if (e.value.responsive) {
|
|
215
|
-
const o =
|
|
216
|
-
const { width: s, height: t } =
|
|
216
|
+
const o = Nt(() => {
|
|
217
|
+
const { width: s, height: t } = Ft({
|
|
217
218
|
chart: W.value,
|
|
218
219
|
title: e.value.title ? ae.value : null,
|
|
219
220
|
legend: e.value.showLegend ? le.value : null,
|
|
@@ -229,10 +230,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
229
230
|
}
|
|
230
231
|
at();
|
|
231
232
|
}
|
|
232
|
-
|
|
233
|
+
At(() => {
|
|
233
234
|
ze.value && ze.value.disconnect();
|
|
234
235
|
});
|
|
235
|
-
const
|
|
236
|
+
const mt = B(() => {
|
|
236
237
|
switch (z.value) {
|
|
237
238
|
case A.LINE:
|
|
238
239
|
return `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`;
|
|
@@ -254,7 +255,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
254
255
|
w.value.includes(o) ? w.value = w.value.filter((t) => t !== o) : w.value.length < s && w.value.push(o);
|
|
255
256
|
}
|
|
256
257
|
const Ke = L(null), et = L(null), Le = L(!1);
|
|
257
|
-
function
|
|
258
|
+
function pt(o, s) {
|
|
258
259
|
Le.value = !0;
|
|
259
260
|
let t = o.value;
|
|
260
261
|
const u = ge.value.dataset.find((r, h) => o.id === `donut_${h}`).VALUE;
|
|
@@ -299,7 +300,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
299
300
|
}
|
|
300
301
|
}
|
|
301
302
|
const Y = L(null);
|
|
302
|
-
function
|
|
303
|
+
function xt(o) {
|
|
303
304
|
Y.value = o;
|
|
304
305
|
}
|
|
305
306
|
const tt = B(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), I = B(() => {
|
|
@@ -384,7 +385,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
384
385
|
cx: K,
|
|
385
386
|
cy: ue,
|
|
386
387
|
radius: ee,
|
|
387
|
-
chart:
|
|
388
|
+
chart: Pt(
|
|
388
389
|
{ series: o.filter((i) => !w.value.includes(i.id)) },
|
|
389
390
|
K,
|
|
390
391
|
ue,
|
|
@@ -402,21 +403,21 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
402
403
|
start: 0,
|
|
403
404
|
end: x.value.maxSeriesLength
|
|
404
405
|
});
|
|
405
|
-
function
|
|
406
|
+
function yt() {
|
|
406
407
|
at();
|
|
407
408
|
}
|
|
408
409
|
const ie = L(null);
|
|
409
410
|
async function at() {
|
|
410
|
-
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ie.value ? (e.value.zoomStartIndex !== null && (await Ie(), await Ie(), ie.value && ie.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Ie(), await Ie(), ie.value && ie.value.setEndValue(
|
|
411
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ie.value ? (e.value.zoomStartIndex !== null && (await Ie(), await Ie(), ie.value && ie.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await Ie(), await Ie(), ie.value && ie.value.setEndValue(kt(e.value.zoomEndIndex + 1)))) : (b.value = {
|
|
411
412
|
start: 0,
|
|
412
413
|
end: x.value.maxSeriesLength
|
|
413
414
|
}, Se.value += 1);
|
|
414
415
|
}
|
|
415
|
-
function
|
|
416
|
+
function kt(o) {
|
|
416
417
|
const s = x.value.maxSeriesLength;
|
|
417
418
|
return o > s ? s : o < 0 || e.value.zoomStartIndex !== null && o < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : o;
|
|
418
419
|
}
|
|
419
|
-
const
|
|
420
|
+
const bt = B(() => {
|
|
420
421
|
if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
|
|
421
422
|
let o = [];
|
|
422
423
|
Z(x.value.dataset) && (o = x.value.dataset), Oe(x.value.dataset) && (o = x.value.dataset.map((r, h) => ({
|
|
@@ -676,7 +677,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
676
677
|
killTooltip: i
|
|
677
678
|
};
|
|
678
679
|
}), $e = L(!1);
|
|
679
|
-
function
|
|
680
|
+
function St(o) {
|
|
680
681
|
$e.value = o, We.value += 1;
|
|
681
682
|
}
|
|
682
683
|
function lt() {
|
|
@@ -691,7 +692,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
691
692
|
generateImage: Ze,
|
|
692
693
|
toggleTooltip: lt,
|
|
693
694
|
toggleAnnotator: Re
|
|
694
|
-
}), (o, s) =>
|
|
695
|
+
}), (o, s) => ft.value ? (a(), l("div", {
|
|
695
696
|
key: 0,
|
|
696
697
|
id: `${z.value}_${E.value}`,
|
|
697
698
|
ref_key: "quickChart",
|
|
@@ -701,7 +702,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
701
702
|
onMouseenter: s[5] || (s[5] = () => je(!0)),
|
|
702
703
|
onMouseleave: s[6] || (s[6] = () => je(!1))
|
|
703
704
|
}, [
|
|
704
|
-
e.value.userOptionsButtons.annotator ? (a(), Ee(
|
|
705
|
+
e.value.userOptionsButtons.annotator ? (a(), Ee(Wt, {
|
|
705
706
|
key: 0,
|
|
706
707
|
parent: W.value,
|
|
707
708
|
backgroundColor: e.value.backgroundColor,
|
|
@@ -709,14 +710,14 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
709
710
|
active: Ce.value,
|
|
710
711
|
onClose: Re
|
|
711
712
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
712
|
-
|
|
713
|
+
gt.value ? (a(), l("div", {
|
|
713
714
|
key: 1,
|
|
714
715
|
ref_key: "noTitle",
|
|
715
716
|
ref: qe,
|
|
716
717
|
class: "vue-data-ui-no-title-space",
|
|
717
718
|
style: "height:36px; width: 100%;background:transparent"
|
|
718
719
|
}, null, 512)) : f("", !0),
|
|
719
|
-
e.value.showUserOptions && (He.value || we.value) ? (a(), Ee(
|
|
720
|
+
e.value.showUserOptions && (He.value || we.value) ? (a(), Ee(Bt, {
|
|
720
721
|
ref: "details",
|
|
721
722
|
key: `user_option_${We.value}`,
|
|
722
723
|
backgroundColor: e.value.backgroundColor,
|
|
@@ -736,7 +737,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
736
737
|
position: e.value.userOptionsPosition,
|
|
737
738
|
hasAnnotator: e.value.userOptionsButtons.annotator,
|
|
738
739
|
isAnnotation: Ce.value,
|
|
739
|
-
onToggleFullscreen:
|
|
740
|
+
onToggleFullscreen: St,
|
|
740
741
|
onGeneratePdf: g(Xe),
|
|
741
742
|
onGenerateImage: g(Ze),
|
|
742
743
|
onToggleTooltip: lt,
|
|
@@ -744,7 +745,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
744
745
|
style: N({
|
|
745
746
|
visibility: He.value ? we.value ? "visible" : "hidden" : "visible"
|
|
746
747
|
})
|
|
747
|
-
},
|
|
748
|
+
}, _t({ _: 2 }, [
|
|
748
749
|
o.$slots.optionTooltip ? {
|
|
749
750
|
name: "optionTooltip",
|
|
750
751
|
fn: J(() => [
|
|
@@ -790,11 +791,13 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
790
791
|
}, P(e.value.title), 5)) : f("", !0),
|
|
791
792
|
z.value ? (a(), l("svg", {
|
|
792
793
|
key: 4,
|
|
793
|
-
|
|
794
|
-
|
|
794
|
+
ref_key: "svgRef",
|
|
795
|
+
ref: ct,
|
|
796
|
+
xmlns: g(Ot),
|
|
797
|
+
viewBox: mt.value,
|
|
795
798
|
style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
796
799
|
}, [
|
|
797
|
-
se(
|
|
800
|
+
se(qt),
|
|
798
801
|
o.$slots["chart-background"] && z.value === A.BAR ? (a(), l("foreignObject", {
|
|
799
802
|
key: 0,
|
|
800
803
|
x: v.value.drawingArea.left,
|
|
@@ -806,7 +809,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
806
809
|
}
|
|
807
810
|
}, [
|
|
808
811
|
F(o.$slots, "chart-background", {}, void 0, !0)
|
|
809
|
-
], 8,
|
|
812
|
+
], 8, ta)) : f("", !0),
|
|
810
813
|
o.$slots["chart-background"] && z.value === A.LINE ? (a(), l("foreignObject", {
|
|
811
814
|
key: 1,
|
|
812
815
|
x: d.value.drawingArea.left,
|
|
@@ -818,7 +821,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
818
821
|
}
|
|
819
822
|
}, [
|
|
820
823
|
F(o.$slots, "chart-background", {}, void 0, !0)
|
|
821
|
-
], 8,
|
|
824
|
+
], 8, aa)) : f("", !0),
|
|
822
825
|
o.$slots["chart-background"] && z.value === A.DONUT ? (a(), l("foreignObject", {
|
|
823
826
|
key: 2,
|
|
824
827
|
x: 0,
|
|
@@ -830,7 +833,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
830
833
|
}
|
|
831
834
|
}, [
|
|
832
835
|
F(o.$slots, "chart-background", {}, void 0, !0)
|
|
833
|
-
], 8,
|
|
836
|
+
], 8, la)) : f("", !0),
|
|
834
837
|
_("defs", null, [
|
|
835
838
|
_("filter", {
|
|
836
839
|
id: `blur_${E.value}`,
|
|
@@ -843,12 +846,12 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
843
846
|
in: "SourceGraphic",
|
|
844
847
|
stdDeviation: 2,
|
|
845
848
|
id: `blur_std_${E.value}`
|
|
846
|
-
}, null, 8,
|
|
849
|
+
}, null, 8, ia),
|
|
847
850
|
s[7] || (s[7] = _("feColorMatrix", {
|
|
848
851
|
type: "saturate",
|
|
849
852
|
values: "0"
|
|
850
853
|
}, null, -1))
|
|
851
|
-
], 8,
|
|
854
|
+
], 8, oa),
|
|
852
855
|
_("filter", {
|
|
853
856
|
id: `shadow_${E.value}`,
|
|
854
857
|
"color-interpolation-filters": "sRGB"
|
|
@@ -859,22 +862,22 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
859
862
|
stdDeviation: "10",
|
|
860
863
|
"flood-opacity": "0.5",
|
|
861
864
|
"flood-color": e.value.donutShadowColor
|
|
862
|
-
}, null, 8,
|
|
863
|
-
], 8,
|
|
865
|
+
}, null, 8, ua)
|
|
866
|
+
], 8, na)
|
|
864
867
|
]),
|
|
865
868
|
z.value === A.DONUT ? (a(), l(m, { key: 3 }, [
|
|
866
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
869
|
+
e.value.showDataLabels ? (a(), l("g", ra, [
|
|
867
870
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
|
|
868
871
|
I.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
869
872
|
key: 0,
|
|
870
|
-
d: g(
|
|
873
|
+
d: g(Rt)(t, { x: k.value.width / 2, y: k.value.height / 2 }, 16, 16, !1, !1, k.value.height * tt.value),
|
|
871
874
|
stroke: t.color,
|
|
872
875
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
873
876
|
"stroke-linecap": "round",
|
|
874
877
|
"stroke-linejoin": "round",
|
|
875
878
|
fill: "none",
|
|
876
879
|
filter: pe(t.id)
|
|
877
|
-
}, null, 8,
|
|
880
|
+
}, null, 8, sa)) : f("", !0)
|
|
878
881
|
], 64))), 256))
|
|
879
882
|
])) : f("", !0),
|
|
880
883
|
_("circle", {
|
|
@@ -883,24 +886,24 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
883
886
|
r: I.value.radius,
|
|
884
887
|
fill: e.value.backgroundColor,
|
|
885
888
|
filter: e.value.donutUseShadow ? `url(#shadow_${E.value})` : ""
|
|
886
|
-
}, null, 8,
|
|
887
|
-
_("g",
|
|
889
|
+
}, null, 8, va),
|
|
890
|
+
_("g", da, [
|
|
888
891
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
|
|
889
892
|
d: t.arcSlice,
|
|
890
893
|
fill: t.color,
|
|
891
894
|
stroke: e.value.backgroundColor,
|
|
892
895
|
"stroke-width": e.value.donutStrokeWidth,
|
|
893
896
|
filter: pe(t.id)
|
|
894
|
-
}, null, 8,
|
|
897
|
+
}, null, 8, ca))), 256)),
|
|
895
898
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l("path", {
|
|
896
899
|
d: t.arcSlice,
|
|
897
900
|
fill: "transparent",
|
|
898
901
|
onMouseenter: (r) => I.value.useTooltip({ datapoint: t, seriesIndex: u }),
|
|
899
902
|
onMouseout: s[0] || (s[0] = (r) => I.value.killTooltip()),
|
|
900
903
|
onClick: (r) => oe("selectDatapoint", t)
|
|
901
|
-
}, null, 40,
|
|
904
|
+
}, null, 40, ha))), 256))
|
|
902
905
|
]),
|
|
903
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
906
|
+
e.value.showDataLabels ? (a(), l("g", fa, [
|
|
904
907
|
(a(!0), l(m, null, $(I.value.chart, (t, u) => (a(), l(m, null, [
|
|
905
908
|
I.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
906
909
|
key: 0,
|
|
@@ -911,7 +914,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
911
914
|
"stroke-width": 1,
|
|
912
915
|
r: 3,
|
|
913
916
|
filter: pe(t.id)
|
|
914
|
-
}, null, 8,
|
|
917
|
+
}, null, 8, ga)) : f("", !0),
|
|
915
918
|
I.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
916
919
|
key: 1,
|
|
917
920
|
"text-anchor": g(ke)(t, !0, 20).anchor,
|
|
@@ -930,7 +933,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
930
933
|
r: e.value.dataLabelRoundingValue
|
|
931
934
|
}),
|
|
932
935
|
{ datapoint: t, seriesIndex: u }
|
|
933
|
-
)) + ") ", 9,
|
|
936
|
+
)) + ") ", 9, ma)) : f("", !0),
|
|
934
937
|
I.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
935
938
|
key: 2,
|
|
936
939
|
"text-anchor": g(ke)(t).anchor,
|
|
@@ -939,17 +942,17 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
939
942
|
fill: e.value.color,
|
|
940
943
|
"font-size": e.value.dataLabelFontSize,
|
|
941
944
|
filter: pe(t.id)
|
|
942
|
-
}, P(t.name), 9,
|
|
945
|
+
}, P(t.name), 9, pa)) : f("", !0)
|
|
943
946
|
], 64))), 256))
|
|
944
947
|
])) : f("", !0),
|
|
945
|
-
e.value.donutShowTotal ? (a(), l("g",
|
|
948
|
+
e.value.donutShowTotal ? (a(), l("g", xa, [
|
|
946
949
|
_("text", {
|
|
947
950
|
"text-anchor": "middle",
|
|
948
951
|
x: I.value.drawingArea.centerX,
|
|
949
952
|
y: I.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
950
953
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
951
954
|
fill: e.value.color
|
|
952
|
-
}, P(e.value.donutTotalLabelText), 9,
|
|
955
|
+
}, P(e.value.donutTotalLabelText), 9, ya),
|
|
953
956
|
_("text", {
|
|
954
957
|
"text-anchor": "middle",
|
|
955
958
|
x: I.value.drawingArea.centerX,
|
|
@@ -961,11 +964,11 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
961
964
|
v: I.value.total,
|
|
962
965
|
s: e.value.valueSuffix,
|
|
963
966
|
r: e.value.dataLabelRoundingValue
|
|
964
|
-
})), 9,
|
|
967
|
+
})), 9, ka)
|
|
965
968
|
])) : f("", !0)
|
|
966
969
|
], 64)) : f("", !0),
|
|
967
970
|
z.value === A.LINE ? (a(), l(m, { key: 4 }, [
|
|
968
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
971
|
+
e.value.xyShowGrid ? (a(), l("g", ba, [
|
|
969
972
|
(a(!0), l(m, null, $(d.value.yLabels, (t) => (a(), l(m, null, [
|
|
970
973
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
971
974
|
key: 0,
|
|
@@ -976,7 +979,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
976
979
|
stroke: e.value.xyGridStroke,
|
|
977
980
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
978
981
|
"stroke-linecap": "round"
|
|
979
|
-
}, null, 8,
|
|
982
|
+
}, null, 8, Sa)) : f("", !0)
|
|
980
983
|
], 64))), 256)),
|
|
981
984
|
(a(!0), l(m, null, $(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
|
|
982
985
|
x1: d.value.drawingArea.left + d.value.slotSize * u,
|
|
@@ -986,9 +989,9 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
986
989
|
stroke: e.value.xyGridStroke,
|
|
987
990
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
988
991
|
"stroke-linecap": "round"
|
|
989
|
-
}, null, 8,
|
|
992
|
+
}, null, 8, wa))), 256))
|
|
990
993
|
])) : f("", !0),
|
|
991
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
994
|
+
e.value.xyShowAxis ? (a(), l("g", Aa, [
|
|
992
995
|
_("line", {
|
|
993
996
|
x1: d.value.drawingArea.left,
|
|
994
997
|
x2: d.value.drawingArea.left,
|
|
@@ -997,7 +1000,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
997
1000
|
stroke: e.value.xyAxisStroke,
|
|
998
1001
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
999
1002
|
"stroke-linecap": "round"
|
|
1000
|
-
}, null, 8,
|
|
1003
|
+
}, null, 8, _a),
|
|
1001
1004
|
_("line", {
|
|
1002
1005
|
x1: d.value.drawingArea.left,
|
|
1003
1006
|
x2: d.value.drawingArea.right,
|
|
@@ -1006,9 +1009,9 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1006
1009
|
stroke: e.value.xyAxisStroke,
|
|
1007
1010
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1008
1011
|
"stroke-linecap": "round"
|
|
1009
|
-
}, null, 8,
|
|
1012
|
+
}, null, 8, za)
|
|
1010
1013
|
])) : f("", !0),
|
|
1011
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1014
|
+
e.value.xyShowScale ? (a(), l("g", La, [
|
|
1012
1015
|
(a(!0), l(m, null, $(d.value.yLabels, (t, u) => (a(), l(m, null, [
|
|
1013
1016
|
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1014
1017
|
key: 0,
|
|
@@ -1019,7 +1022,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1019
1022
|
stroke: e.value.xyAxisStroke,
|
|
1020
1023
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1021
1024
|
"stroke-linecap": "round"
|
|
1022
|
-
}, null, 8,
|
|
1025
|
+
}, null, 8, $a)) : f("", !0),
|
|
1023
1026
|
t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
|
|
1024
1027
|
key: 1,
|
|
1025
1028
|
x: t.x,
|
|
@@ -1037,10 +1040,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1037
1040
|
r: e.value.dataLabelRoundingValue
|
|
1038
1041
|
}),
|
|
1039
1042
|
{ datapoint: t, seriesIndex: u }
|
|
1040
|
-
)), 9,
|
|
1043
|
+
)), 9, Ca)) : f("", !0)
|
|
1041
1044
|
], 64))), 256))
|
|
1042
1045
|
])) : f("", !0),
|
|
1043
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1046
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ia, [
|
|
1044
1047
|
(a(!0), l(m, null, $(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, u) => (a(), l("line", {
|
|
1045
1048
|
x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
1046
1049
|
x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
|
|
@@ -1049,16 +1052,16 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1049
1052
|
stroke: e.value.xyAxisStroke,
|
|
1050
1053
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1051
1054
|
"stroke-linecap": "round"
|
|
1052
|
-
}, null, 8,
|
|
1055
|
+
}, null, 8, Ea))), 256)),
|
|
1053
1056
|
(a(!0), l(m, null, $(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, u) => (a(), l("text", {
|
|
1054
1057
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1055
1058
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1056
1059
|
fill: e.value.color,
|
|
1057
1060
|
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1058
|
-
}, P(t), 9,
|
|
1061
|
+
}, P(t), 9, Ta))), 256))
|
|
1059
1062
|
])) : f("", !0),
|
|
1060
|
-
_("g",
|
|
1061
|
-
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l("g",
|
|
1063
|
+
_("g", Pa, [
|
|
1064
|
+
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l("g", Oa, [
|
|
1062
1065
|
e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
|
|
1063
1066
|
_("path", {
|
|
1064
1067
|
d: `M ${g(nt)(t.coordinates)}`,
|
|
@@ -1068,7 +1071,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1068
1071
|
fill: "none",
|
|
1069
1072
|
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1070
1073
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1071
|
-
}, null, 10,
|
|
1074
|
+
}, null, 10, Ra),
|
|
1072
1075
|
_("path", {
|
|
1073
1076
|
d: `M ${g(nt)(t.coordinates)}`,
|
|
1074
1077
|
stroke: t.color,
|
|
@@ -1077,7 +1080,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1077
1080
|
fill: "none",
|
|
1078
1081
|
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1079
1082
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1080
|
-
}, null, 10,
|
|
1083
|
+
}, null, 10, Na)
|
|
1081
1084
|
], 64)) : (a(), l(m, { key: 1 }, [
|
|
1082
1085
|
_("path", {
|
|
1083
1086
|
d: `M ${t.linePath}`,
|
|
@@ -1087,7 +1090,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1087
1090
|
fill: "none",
|
|
1088
1091
|
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1089
1092
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1090
|
-
}, null, 10,
|
|
1093
|
+
}, null, 10, Fa),
|
|
1091
1094
|
_("path", {
|
|
1092
1095
|
d: `M ${t.linePath}`,
|
|
1093
1096
|
stroke: t.color,
|
|
@@ -1096,7 +1099,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1096
1099
|
fill: "none",
|
|
1097
1100
|
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1098
1101
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1099
|
-
}, null, 10,
|
|
1102
|
+
}, null, 10, Ma)
|
|
1100
1103
|
], 64)),
|
|
1101
1104
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1102
1105
|
cx: r.x,
|
|
@@ -1107,10 +1110,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1107
1110
|
"stroke-width": "0.5",
|
|
1108
1111
|
class: "quick-animation",
|
|
1109
1112
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1110
|
-
}, null, 8,
|
|
1113
|
+
}, null, 8, Ua))), 256))
|
|
1111
1114
|
]))), 256))
|
|
1112
1115
|
]),
|
|
1113
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1116
|
+
e.value.showDataLabels ? (a(), l("g", Ba, [
|
|
1114
1117
|
(a(!0), l(m, null, $(d.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1115
1118
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1116
1119
|
"text-anchor": "middle",
|
|
@@ -1130,10 +1133,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1130
1133
|
r: e.value.dataLabelRoundingValue
|
|
1131
1134
|
}),
|
|
1132
1135
|
{ datapoint: r, seriesIndex: h }
|
|
1133
|
-
)), 9,
|
|
1136
|
+
)), 9, Da))), 256))
|
|
1134
1137
|
], 64))), 256))
|
|
1135
1138
|
])) : f("", !0),
|
|
1136
|
-
_("g",
|
|
1139
|
+
_("g", Va, [
|
|
1137
1140
|
(a(!0), l(m, null, $(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
|
|
1138
1141
|
x: d.value.drawingArea.left + u * d.value.slotSize,
|
|
1139
1142
|
y: d.value.drawingArea.top,
|
|
@@ -1147,11 +1150,11 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1147
1150
|
...h,
|
|
1148
1151
|
value: h.values[u]
|
|
1149
1152
|
})))
|
|
1150
|
-
}, null, 44,
|
|
1153
|
+
}, null, 44, qa))), 256))
|
|
1151
1154
|
])
|
|
1152
1155
|
], 64)) : f("", !0),
|
|
1153
1156
|
z.value === A.BAR ? (a(), l(m, { key: 5 }, [
|
|
1154
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
1157
|
+
e.value.xyShowGrid ? (a(), l("g", Wa, [
|
|
1155
1158
|
(a(!0), l(m, null, $(v.value.yLabels, (t) => (a(), l(m, null, [
|
|
1156
1159
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1157
1160
|
key: 0,
|
|
@@ -1162,7 +1165,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1162
1165
|
stroke: e.value.xyGridStroke,
|
|
1163
1166
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1164
1167
|
"stroke-linecap": "round"
|
|
1165
|
-
}, null, 8,
|
|
1168
|
+
}, null, 8, Ha)) : f("", !0)
|
|
1166
1169
|
], 64))), 256)),
|
|
1167
1170
|
(a(!0), l(m, null, $(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
|
|
1168
1171
|
x1: v.value.drawingArea.left + v.value.slotSize * u,
|
|
@@ -1172,9 +1175,9 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1172
1175
|
stroke: e.value.xyGridStroke,
|
|
1173
1176
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1174
1177
|
"stroke-linecap": "round"
|
|
1175
|
-
}, null, 8,
|
|
1178
|
+
}, null, 8, ja))), 256))
|
|
1176
1179
|
])) : f("", !0),
|
|
1177
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1180
|
+
e.value.xyShowAxis ? (a(), l("g", Ga, [
|
|
1178
1181
|
_("line", {
|
|
1179
1182
|
x1: v.value.drawingArea.left,
|
|
1180
1183
|
x2: v.value.drawingArea.left,
|
|
@@ -1183,7 +1186,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1183
1186
|
stroke: e.value.xyAxisStroke,
|
|
1184
1187
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1185
1188
|
"stroke-linecap": "round"
|
|
1186
|
-
}, null, 8,
|
|
1189
|
+
}, null, 8, Xa),
|
|
1187
1190
|
_("line", {
|
|
1188
1191
|
x1: v.value.drawingArea.left,
|
|
1189
1192
|
x2: v.value.drawingArea.right,
|
|
@@ -1192,9 +1195,9 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1192
1195
|
stroke: e.value.xyAxisStroke,
|
|
1193
1196
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1194
1197
|
"stroke-linecap": "round"
|
|
1195
|
-
}, null, 8,
|
|
1198
|
+
}, null, 8, Za)
|
|
1196
1199
|
])) : f("", !0),
|
|
1197
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1200
|
+
e.value.xyShowScale ? (a(), l("g", Ya, [
|
|
1198
1201
|
(a(!0), l(m, null, $(v.value.yLabels, (t, u) => (a(), l(m, null, [
|
|
1199
1202
|
t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
|
|
1200
1203
|
key: 0,
|
|
@@ -1205,7 +1208,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1205
1208
|
stroke: e.value.xyAxisStroke,
|
|
1206
1209
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1207
1210
|
"stroke-linecap": "round"
|
|
1208
|
-
}, null, 8,
|
|
1211
|
+
}, null, 8, Ja)) : f("", !0),
|
|
1209
1212
|
t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
|
|
1210
1213
|
key: 1,
|
|
1211
1214
|
x: t.x,
|
|
@@ -1223,10 +1226,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1223
1226
|
r: e.value.dataLabelRoundingValue
|
|
1224
1227
|
}),
|
|
1225
1228
|
{ datapoint: t, seriesIndex: u }
|
|
1226
|
-
)), 9,
|
|
1229
|
+
)), 9, Qa)) : f("", !0)
|
|
1227
1230
|
], 64))), 256))
|
|
1228
1231
|
])) : f("", !0),
|
|
1229
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1232
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ka, [
|
|
1230
1233
|
(a(!0), l(m, null, $(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, u) => (a(), l("line", {
|
|
1231
1234
|
x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
1232
1235
|
x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
|
|
@@ -1235,15 +1238,15 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1235
1238
|
stroke: e.value.xyAxisStroke,
|
|
1236
1239
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1237
1240
|
"stroke-linecap": "round"
|
|
1238
|
-
}, null, 8,
|
|
1241
|
+
}, null, 8, el))), 256)),
|
|
1239
1242
|
(a(!0), l(m, null, $(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, u) => (a(), l("text", {
|
|
1240
1243
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1241
1244
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1242
1245
|
transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1243
1246
|
fill: e.value.color
|
|
1244
|
-
}, P(t), 9,
|
|
1247
|
+
}, P(t), 9, tl))), 256))
|
|
1245
1248
|
])) : f("", !0),
|
|
1246
|
-
_("g",
|
|
1249
|
+
_("g", al, [
|
|
1247
1250
|
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1248
1251
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1249
1252
|
x: r.x,
|
|
@@ -1262,18 +1265,18 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1262
1265
|
from: 0,
|
|
1263
1266
|
to: r.height,
|
|
1264
1267
|
dur: "0.5s"
|
|
1265
|
-
}, null, 8,
|
|
1268
|
+
}, null, 8, ol)) : f("", !0),
|
|
1266
1269
|
e.value.barAnimated && r.value > 0 && !g(Ae) && !g(_e) ? (a(), l("animate", {
|
|
1267
1270
|
key: 1,
|
|
1268
1271
|
attributeName: "y",
|
|
1269
1272
|
from: v.value.absoluteZero,
|
|
1270
1273
|
to: v.value.absoluteZero - r.height,
|
|
1271
1274
|
dur: "0.5s"
|
|
1272
|
-
}, null, 8,
|
|
1273
|
-
], 10,
|
|
1275
|
+
}, null, 8, il)) : f("", !0)
|
|
1276
|
+
], 10, ll))), 256))
|
|
1274
1277
|
], 64))), 256))
|
|
1275
1278
|
]),
|
|
1276
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1279
|
+
e.value.showDataLabels ? (a(), l("g", nl, [
|
|
1277
1280
|
(a(!0), l(m, null, $(v.value.dataset, (t, u) => (a(), l(m, null, [
|
|
1278
1281
|
(a(!0), l(m, null, $(t.coordinates, (r, h) => (a(), l("text", {
|
|
1279
1282
|
x: r.x + r.width / 2,
|
|
@@ -1292,10 +1295,10 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1292
1295
|
r: e.value.dataLabelRoundingValue
|
|
1293
1296
|
}),
|
|
1294
1297
|
{ datapoint: r, seriesIndex: h }
|
|
1295
|
-
)), 9,
|
|
1298
|
+
)), 9, ul))), 256))
|
|
1296
1299
|
], 64))), 256))
|
|
1297
1300
|
])) : f("", !0),
|
|
1298
|
-
_("g",
|
|
1301
|
+
_("g", rl, [
|
|
1299
1302
|
(a(!0), l(m, null, $(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
|
|
1300
1303
|
x: v.value.drawingArea.left + u * v.value.slotSize,
|
|
1301
1304
|
y: v.value.drawingArea.top,
|
|
@@ -1309,47 +1312,47 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1309
1312
|
...h,
|
|
1310
1313
|
value: h.values[u]
|
|
1311
1314
|
})))
|
|
1312
|
-
}, null, 44,
|
|
1315
|
+
}, null, 44, sl))), 256))
|
|
1313
1316
|
])
|
|
1314
1317
|
], 64)) : f("", !0),
|
|
1315
|
-
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g",
|
|
1316
|
-
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1318
|
+
[A.LINE, A.BAR].includes(z.value) ? (a(), l("g", vl, [
|
|
1319
|
+
e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", dl, [
|
|
1317
1320
|
_("text", {
|
|
1318
1321
|
"font-size": e.value.axisLabelsFontSize,
|
|
1319
1322
|
fill: e.value.color,
|
|
1320
1323
|
"text-anchor": "middle",
|
|
1321
1324
|
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1322
1325
|
y: k.value.height - e.value.axisLabelsFontSize / 3
|
|
1323
|
-
}, P(e.value.xAxisLabel), 9,
|
|
1326
|
+
}, P(e.value.xAxisLabel), 9, cl)
|
|
1324
1327
|
])) : f("", !0),
|
|
1325
|
-
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1328
|
+
e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", hl, [
|
|
1326
1329
|
_("text", {
|
|
1327
1330
|
"font-size": e.value.axisLabelsFontSize,
|
|
1328
1331
|
fill: e.value.color,
|
|
1329
1332
|
"text-anchor": "middle",
|
|
1330
1333
|
x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
|
|
1331
1334
|
y: k.value.height - e.value.axisLabelsFontSize / 3
|
|
1332
|
-
}, P(e.value.xAxisLabel), 9,
|
|
1335
|
+
}, P(e.value.xAxisLabel), 9, fl)
|
|
1333
1336
|
])) : f("", !0),
|
|
1334
|
-
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g",
|
|
1337
|
+
e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", gl, [
|
|
1335
1338
|
_("text", {
|
|
1336
1339
|
"font-size": e.value.axisLabelsFontSize,
|
|
1337
1340
|
fill: e.value.color,
|
|
1338
1341
|
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1339
1342
|
"text-anchor": "middle"
|
|
1340
|
-
}, P(e.value.yAxisLabel), 9,
|
|
1343
|
+
}, P(e.value.yAxisLabel), 9, ml)
|
|
1341
1344
|
])) : f("", !0),
|
|
1342
|
-
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g",
|
|
1345
|
+
e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", pl, [
|
|
1343
1346
|
_("text", {
|
|
1344
1347
|
"font-size": e.value.axisLabelsFontSize,
|
|
1345
1348
|
fill: e.value.color,
|
|
1346
1349
|
transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1347
1350
|
"text-anchor": "middle"
|
|
1348
|
-
}, P(e.value.yAxisLabel), 9,
|
|
1351
|
+
}, P(e.value.yAxisLabel), 9, xl)
|
|
1349
1352
|
])) : f("", !0)
|
|
1350
1353
|
])) : f("", !0)
|
|
1351
|
-
], 12,
|
|
1352
|
-
z.value ? f("", !0) : (a(), Ee(
|
|
1354
|
+
], 12, ea)) : f("", !0),
|
|
1355
|
+
z.value ? f("", !0) : (a(), Ee(Vt, {
|
|
1353
1356
|
key: 5,
|
|
1354
1357
|
config: {
|
|
1355
1358
|
type: "line",
|
|
@@ -1367,7 +1370,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1367
1370
|
}
|
|
1368
1371
|
}
|
|
1369
1372
|
}, null, 8, ["config"])),
|
|
1370
|
-
o.$slots.watermark ? (a(), l("div",
|
|
1373
|
+
o.$slots.watermark ? (a(), l("div", yl, [
|
|
1371
1374
|
F(o.$slots, "watermark", ve(de({ isPrinting: g(Ae) || g(_e) })), void 0, !0)
|
|
1372
1375
|
])) : f("", !0),
|
|
1373
1376
|
[A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
@@ -1375,7 +1378,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1375
1378
|
ref_key: "quickChartSlicer",
|
|
1376
1379
|
ref: ce
|
|
1377
1380
|
}, [
|
|
1378
|
-
(a(), Ee(
|
|
1381
|
+
(a(), Ee(Dt, {
|
|
1379
1382
|
ref_key: "slicerComponent",
|
|
1380
1383
|
ref: ie,
|
|
1381
1384
|
key: `slicer_${Se.value}`,
|
|
@@ -1397,7 +1400,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1397
1400
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1398
1401
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1399
1402
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1400
|
-
minimap:
|
|
1403
|
+
minimap: bt.value,
|
|
1401
1404
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1402
1405
|
verticalHandles: e.value.zoomMinimap.verticalHandles,
|
|
1403
1406
|
minimapSelectedIndex: Y.value,
|
|
@@ -1409,8 +1412,8 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1409
1412
|
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
|
|
1410
1413
|
enableRangeHandles: e.value.zoomEnableRangeHandles,
|
|
1411
1414
|
enableSelectionDrag: e.value.zoomEnableSelectionDrag,
|
|
1412
|
-
onReset:
|
|
1413
|
-
onTrapMouse:
|
|
1415
|
+
onReset: yt,
|
|
1416
|
+
onTrapMouse: xt
|
|
1414
1417
|
}, {
|
|
1415
1418
|
"reset-action": J(({ reset: t }) => [
|
|
1416
1419
|
F(o.$slots, "reset-action", ve(de({ reset: t })), void 0, !0)
|
|
@@ -1428,7 +1431,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1428
1431
|
z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, $(I.value.legend, (t, u) => (a(), l("div", {
|
|
1429
1432
|
class: "vue-ui-quick-chart-legend-item",
|
|
1430
1433
|
onClick: (r) => {
|
|
1431
|
-
|
|
1434
|
+
pt(t, I.value.dataset), oe("selectLegend", t);
|
|
1432
1435
|
},
|
|
1433
1436
|
style: N(`cursor: ${I.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1434
1437
|
}, [
|
|
@@ -1472,7 +1475,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1472
1475
|
r: e.value.dataLabelRoundingPercentage
|
|
1473
1476
|
})) + ") ", 5))
|
|
1474
1477
|
], 64))
|
|
1475
|
-
], 12,
|
|
1478
|
+
], 12, kl))), 256)) : f("", !0),
|
|
1476
1479
|
z.value === A.LINE ? (a(!0), l(m, { key: 1 }, $(d.value.legend, (t, u) => (a(), l("div", {
|
|
1477
1480
|
class: "vue-ui-quick-chart-legend-item",
|
|
1478
1481
|
onClick: (r) => {
|
|
@@ -1493,7 +1496,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1493
1496
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1494
1497
|
}, P(t.name), 5)
|
|
1495
1498
|
], 64))
|
|
1496
|
-
], 12,
|
|
1499
|
+
], 12, bl))), 256)) : f("", !0),
|
|
1497
1500
|
z.value === A.BAR ? (a(!0), l(m, { key: 2 }, $(v.value.legend, (t, u) => (a(), l("div", {
|
|
1498
1501
|
class: "vue-ui-quick-chart-legend-item",
|
|
1499
1502
|
onClick: (r) => {
|
|
@@ -1514,7 +1517,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1514
1517
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1515
1518
|
}, P(t.name), 5)
|
|
1516
1519
|
], 64))
|
|
1517
|
-
], 12,
|
|
1520
|
+
], 12, Sl))), 256)) : f("", !0)
|
|
1518
1521
|
], 4)) : f("", !0),
|
|
1519
1522
|
o.$slots.source ? (a(), l("div", {
|
|
1520
1523
|
key: 9,
|
|
@@ -1524,7 +1527,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1524
1527
|
}, [
|
|
1525
1528
|
F(o.$slots, "source", {}, void 0, !0)
|
|
1526
1529
|
], 512)) : f("", !0),
|
|
1527
|
-
se(
|
|
1530
|
+
se(Mt, {
|
|
1528
1531
|
show: me.value.showTooltip && j.value,
|
|
1529
1532
|
backgroundColor: e.value.backgroundColor,
|
|
1530
1533
|
color: e.value.color,
|
|
@@ -1548,7 +1551,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1548
1551
|
]),
|
|
1549
1552
|
_: 3
|
|
1550
1553
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1551
|
-
], 46,
|
|
1554
|
+
], 46, Kt)) : (a(), l("div", wl, [
|
|
1552
1555
|
se(Pe, {
|
|
1553
1556
|
name: "circleCancel",
|
|
1554
1557
|
stroke: "red"
|
|
@@ -1556,7 +1559,7 @@ const Jt = ["id"], Qt = ["xmlns", "viewBox"], Kt = ["x", "y", "width", "height"]
|
|
|
1556
1559
|
s[8] || (s[8] = _("span", null, "Dataset is not processable", -1))
|
|
1557
1560
|
]));
|
|
1558
1561
|
}
|
|
1559
|
-
},
|
|
1562
|
+
}, Ml = /* @__PURE__ */ jt(Al, [["__scopeId", "data-v-4a4f9953"]]);
|
|
1560
1563
|
export {
|
|
1561
|
-
|
|
1564
|
+
Ml as default
|
|
1562
1565
|
};
|