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,21 +1,22 @@
|
|
|
1
|
-
import { computed as g, ref as d, watch as ye, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { D as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
10
|
-
import { u as Ce } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { computed as g, ref as d, watch as ye, onMounted as fe, onBeforeUnmount as Ge, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as F, normalizeClass as be, createBlock as L, createCommentVNode as v, createElementVNode as i, createSlots as Me, withCtx as _, renderSlot as m, normalizeProps as W, guardReactiveProps as U, createVNode as De, Fragment as C, renderList as $, toDisplayString as A, createTextVNode as ge, nextTick as Ie } from "vue";
|
|
2
|
+
import { u as Fe, c as pe, a as Ve, o as Ee, e as me, g as He, v as _e, D as Re, f as z, X as ke, i as B, l as xe, h as we, q as We, r as Ue } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as Be, u as je } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as qe } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as Ye, U as Ze } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { D as Je } from "./DataTable-D0-zzsJg.js";
|
|
7
|
+
import Ke from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
8
|
+
import { L as Qe } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import et from "./vue-ui-accordion-DVtmOO3I.js";
|
|
10
|
+
import { u as Ce } from "./useNestedProp-Cg0NIwr6.js";
|
|
11
|
+
import { _ as tt } from "./PackageVersion-J_USnljf.js";
|
|
12
|
+
import { P as lt } from "./PenAndPaper-CoEXEMcN.js";
|
|
13
|
+
import { u as at } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { u as st } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
+
import { _ as ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const rt = ["id"], nt = ["xmlns", "viewBox"], ut = ["x", "y", "width", "height"], it = { key: 1 }, ct = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], dt = { key: 2 }, vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], yt = { key: 3 }, ft = ["x", "y", "font-size", "fill", "font-weight"], bt = ["x", "y", "font-size", "fill"], gt = { key: 4 }, pt = ["x", "y", "font-size", "fill", "font-weight"], mt = ["id"], _t = ["stop-color"], kt = ["stop-color"], xt = ["stop-color"], wt = ["id"], Ct = ["stop-color"], $t = ["stop-color"], Lt = ["stop-color"], At = ["id"], zt = ["stop-color"], St = ["stop-color"], Xt = ["id"], Nt = ["stop-color"], Tt = ["stop-color"], Pt = { key: 0 }, Ot = ["d", "fill"], Gt = { key: 1 }, Mt = ["x", "y", "height", "width", "fill"], Dt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], It = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ft = { key: 5 }, Vt = ["x", "y", "fill", "font-size"], Et = { key: 6 }, Ht = ["x", "y", "fill", "font-size"], Rt = {
|
|
16
17
|
key: 5,
|
|
17
18
|
class: "vue-data-ui-watermark"
|
|
18
|
-
},
|
|
19
|
+
}, Wt = ["xmlns", "height", "width"], Ut = ["fill"], Bt = ["innerHTML"], jt = {
|
|
19
20
|
__name: "vue-ui-dumbbell",
|
|
20
21
|
props: {
|
|
21
22
|
config: {
|
|
@@ -32,10 +33,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
32
33
|
}
|
|
33
34
|
},
|
|
34
35
|
emits: ["selectDatapoint"],
|
|
35
|
-
setup($e, { expose: Le, emit:
|
|
36
|
-
const { vue_ui_dumbbell: Ae } =
|
|
36
|
+
setup($e, { expose: Le, emit: qt }) {
|
|
37
|
+
const { vue_ui_dumbbell: Ae } = Fe(), b = $e, S = g({
|
|
37
38
|
get() {
|
|
38
|
-
return !!
|
|
39
|
+
return !!b.dataset && b.dataset.length;
|
|
39
40
|
},
|
|
40
41
|
set(l) {
|
|
41
42
|
return l;
|
|
@@ -43,34 +44,34 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
43
44
|
}), y = d(pe()), j = d(0), X = d(null), q = d(null), Y = d(null), Z = d(null), J = d(null), K = d(0), Q = d(0), ee = d(0), e = g({
|
|
44
45
|
get: () => ae(),
|
|
45
46
|
set: (l) => l
|
|
46
|
-
}), { userOptionsVisible: V, setUserOptionsVisibility: te, keepUserOptionState: le } =
|
|
47
|
+
}), { userOptionsVisible: V, setUserOptionsVisibility: te, keepUserOptionState: le } = at({ config: e.value }), { svgRef: ze } = st({ config: e.value.style.chart.title });
|
|
47
48
|
function ae() {
|
|
48
49
|
const l = Ce({
|
|
49
|
-
userConfig:
|
|
50
|
+
userConfig: b.config,
|
|
50
51
|
defaultConfig: Ae
|
|
51
52
|
});
|
|
52
53
|
return l.theme ? {
|
|
53
54
|
...Ce({
|
|
54
|
-
userConfig:
|
|
55
|
+
userConfig: Ve.vue_ui_dumbbell[l.theme] || b.config,
|
|
55
56
|
defaultConfig: l
|
|
56
57
|
})
|
|
57
58
|
} : l;
|
|
58
59
|
}
|
|
59
|
-
ye(() =>
|
|
60
|
+
ye(() => b.config, (l) => {
|
|
60
61
|
e.value = ae(), V.value = !e.value.userOptions.showOnChartHover, se(), K.value += 1, Q.value += 1, ee.value += 1, h.value = e.value.style.chart.rowHeight, T.value = e.value.style.chart.width, N.value.showTable = e.value.table.show;
|
|
61
|
-
}, { deep: !0 }), ye(() =>
|
|
62
|
+
}, { deep: !0 }), ye(() => b.dataset, (l) => {
|
|
62
63
|
ce();
|
|
63
64
|
}, { deep: !0 });
|
|
64
65
|
const O = d(null);
|
|
65
|
-
|
|
66
|
+
fe(() => {
|
|
66
67
|
se();
|
|
67
68
|
});
|
|
68
69
|
function se() {
|
|
69
|
-
if (
|
|
70
|
+
if (Ee(b.dataset) ? me({
|
|
70
71
|
componentName: "VueUiDumbbell",
|
|
71
72
|
type: "dataset"
|
|
72
|
-
}) :
|
|
73
|
-
|
|
73
|
+
}) : b.dataset.forEach((l, n) => {
|
|
74
|
+
He({
|
|
74
75
|
datasetObject: l,
|
|
75
76
|
requiredAttributes: ["name", "start", "end"]
|
|
76
77
|
}).forEach((t) => {
|
|
@@ -82,8 +83,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
82
83
|
});
|
|
83
84
|
});
|
|
84
85
|
}), e.value.responsive) {
|
|
85
|
-
const l =
|
|
86
|
-
const { width: n, height: t } =
|
|
86
|
+
const l = Be(() => {
|
|
87
|
+
const { width: n, height: t } = je({
|
|
87
88
|
chart: X.value,
|
|
88
89
|
title: e.value.style.chart.title.text ? q.value : null,
|
|
89
90
|
legend: e.value.style.chart.legend.show ? Y.value : null,
|
|
@@ -91,21 +92,21 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
91
92
|
noTitle: J.value
|
|
92
93
|
});
|
|
93
94
|
requestAnimationFrame(() => {
|
|
94
|
-
T.value = n, h.value = t /
|
|
95
|
+
T.value = n, h.value = t / b.dataset.length, f.value = G();
|
|
95
96
|
});
|
|
96
97
|
});
|
|
97
98
|
O.value = new ResizeObserver(l), O.value.observe(X.value.parentNode);
|
|
98
99
|
}
|
|
99
100
|
}
|
|
100
|
-
|
|
101
|
+
Ge(() => {
|
|
101
102
|
O.value && O.value.disconnect();
|
|
102
103
|
});
|
|
103
|
-
const { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } =
|
|
104
|
+
const { isPrinting: oe, isImaging: re, generatePdf: ne, generateImage: ue } = Ye({
|
|
104
105
|
elementId: `dumbbell_${y.value}`,
|
|
105
106
|
fileName: e.value.style.chart.title.text || "vue-ui-dumbbell"
|
|
106
|
-
}),
|
|
107
|
+
}), Se = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), N = d({
|
|
107
108
|
showTable: e.value.table.show
|
|
108
|
-
}), k = g(() =>
|
|
109
|
+
}), k = g(() => b.dataset.map((l, n) => ({
|
|
109
110
|
...l,
|
|
110
111
|
start: _e(l.start),
|
|
111
112
|
end: _e(l.end),
|
|
@@ -113,15 +114,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
113
114
|
}))), E = g(() => ({
|
|
114
115
|
max: Math.max(...k.value.flatMap((l) => [l.start, l.end])),
|
|
115
116
|
min: Math.min(...k.value.flatMap((l) => [l.start, l.end]))
|
|
116
|
-
})), c = g(() =>
|
|
117
|
-
const l = h.value, n = e.value.style.chart.padding.left + e.value.style.chart.padding.right + T.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l *
|
|
117
|
+
})), c = g(() => Re(E.value.min < 0 ? E.value.min : 0, E.value.max, e.value.style.chart.grid.scaleSteps)), h = d(e.value.style.chart.rowHeight), T = d(e.value.style.chart.width), s = g(() => {
|
|
118
|
+
const l = h.value, n = e.value.style.chart.padding.left + e.value.style.chart.padding.right + T.value, t = e.value.style.chart.padding.top + e.value.style.chart.padding.bottom + l * b.dataset.length, a = c.value.ticks.length * (T.value / c.value.ticks.length);
|
|
118
119
|
return {
|
|
119
120
|
left: e.value.style.chart.padding.left,
|
|
120
121
|
right: n - e.value.style.chart.padding.right,
|
|
121
122
|
top: e.value.style.chart.padding.top,
|
|
122
123
|
bottom: t - e.value.style.chart.padding.bottom,
|
|
123
124
|
width: T.value,
|
|
124
|
-
height: l *
|
|
125
|
+
height: l * b.dataset.length,
|
|
125
126
|
rowHeight: l,
|
|
126
127
|
absoluteHeight: t,
|
|
127
128
|
absoluteWidth: n,
|
|
@@ -141,34 +142,34 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
141
142
|
};
|
|
142
143
|
});
|
|
143
144
|
}
|
|
144
|
-
const
|
|
145
|
-
|
|
145
|
+
const f = d([]), ie = d(null), Xe = g(() => k.value.map((l) => l.end).reduce((l, n) => l + n, 0));
|
|
146
|
+
fe(() => {
|
|
146
147
|
ce();
|
|
147
148
|
});
|
|
148
149
|
function ce() {
|
|
149
|
-
|
|
150
|
-
let l =
|
|
150
|
+
f.value = G();
|
|
151
|
+
let l = f.value.map((t) => t.start).reduce((t, a) => t + a, 0);
|
|
151
152
|
function n() {
|
|
152
153
|
const t = k.value.map((a) => a.end - a.start);
|
|
153
|
-
l >=
|
|
154
|
+
l >= Xe.value ? (cancelAnimationFrame(ie.value), f.value = G()) : (f.value = f.value.map((a, p) => {
|
|
154
155
|
a.endVal += t[p] * (e.value.animationSpeed / 100);
|
|
155
|
-
const w = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, I = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference,
|
|
156
|
+
const w = s.value.left + (a.start + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, I = s.value.left + (a.endVal + Math.abs(c.value.min)) / (c.value.max + Math.abs(c.value.min)) * s.value.widthPlotReference, R = w + (I - w) / 2;
|
|
156
157
|
return {
|
|
157
158
|
...a,
|
|
158
159
|
startX: w,
|
|
159
160
|
endX: I,
|
|
160
|
-
centerX:
|
|
161
|
+
centerX: R,
|
|
161
162
|
y: s.value.top + p * h.value + h.value / 2,
|
|
162
163
|
endVal: a.endVal
|
|
163
164
|
};
|
|
164
|
-
}), l =
|
|
165
|
+
}), l = f.value.map((a) => a.endVal).reduce((a, p) => a + p, 0), ie.value = requestAnimationFrame(n));
|
|
165
166
|
}
|
|
166
|
-
e.value.useAnimation ? n() :
|
|
167
|
+
e.value.useAnimation ? n() : f.value = G();
|
|
167
168
|
}
|
|
168
169
|
const de = g(() => [
|
|
169
170
|
{ name: e.value.style.chart.legend.labelStart, color: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor },
|
|
170
171
|
{ name: e.value.style.chart.legend.labelEnd, color: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor }
|
|
171
|
-
]),
|
|
172
|
+
]), Ne = g(() => ({
|
|
172
173
|
cy: "donut-div-legend",
|
|
173
174
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
174
175
|
color: e.value.style.chart.legend.color,
|
|
@@ -177,9 +178,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
177
178
|
paddingTop: 12,
|
|
178
179
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
179
180
|
})), x = g(() => {
|
|
180
|
-
const l =
|
|
181
|
+
const l = f.value.map((t) => ({
|
|
181
182
|
name: t.name
|
|
182
|
-
})), n =
|
|
183
|
+
})), n = f.value.map((t) => ({
|
|
183
184
|
start: t.start,
|
|
184
185
|
end: t.end
|
|
185
186
|
}));
|
|
@@ -196,12 +197,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
196
197
|
v: x.value.body[w].start,
|
|
197
198
|
s: e.value.style.chart.labels.suffix,
|
|
198
199
|
r: e.value.table.td.roundingValue
|
|
199
|
-
}),
|
|
200
|
+
}), R = z({
|
|
200
201
|
p: e.value.style.chart.labels.prefix,
|
|
201
202
|
v: x.value.body[w].end,
|
|
202
203
|
s: e.value.style.chart.labels.suffix,
|
|
203
204
|
r: e.value.table.td.roundingValue
|
|
204
|
-
}),
|
|
205
|
+
}), Oe = z({
|
|
205
206
|
v: 100 * (x.value.body[w].end / x.value.body[w].start - 1),
|
|
206
207
|
s: "%",
|
|
207
208
|
r: e.value.table.td.roundingPercentage
|
|
@@ -209,8 +210,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
209
210
|
return [
|
|
210
211
|
{ name: p.name },
|
|
211
212
|
I,
|
|
212
|
-
|
|
213
|
-
|
|
213
|
+
R,
|
|
214
|
+
Oe
|
|
214
215
|
];
|
|
215
216
|
}), t = {
|
|
216
217
|
th: {
|
|
@@ -238,7 +239,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
238
239
|
};
|
|
239
240
|
});
|
|
240
241
|
function ve() {
|
|
241
|
-
|
|
242
|
+
Ie(() => {
|
|
242
243
|
const l = x.value.head.map((a, p) => [[
|
|
243
244
|
a.name
|
|
244
245
|
], [x.value.body[p].start], [x.value.body[p].end]]), n = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.start], [e.value.table.columnNames.end]]].concat(l), t = We(n);
|
|
@@ -246,11 +247,11 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
246
247
|
});
|
|
247
248
|
}
|
|
248
249
|
const P = d(!1);
|
|
249
|
-
function
|
|
250
|
+
function Te(l) {
|
|
250
251
|
P.value = l, j.value += 1;
|
|
251
252
|
}
|
|
252
|
-
function
|
|
253
|
-
return
|
|
253
|
+
function Pe() {
|
|
254
|
+
return f.value;
|
|
254
255
|
}
|
|
255
256
|
function he() {
|
|
256
257
|
N.value.showTable = !N.value.showTable;
|
|
@@ -260,7 +261,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
260
261
|
D.value = !D.value;
|
|
261
262
|
}
|
|
262
263
|
return Le({
|
|
263
|
-
getData:
|
|
264
|
+
getData: Pe,
|
|
264
265
|
generatePdf: ne,
|
|
265
266
|
generateCsv: ve,
|
|
266
267
|
generateImage: ue,
|
|
@@ -269,13 +270,13 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
269
270
|
}), (l, n) => (o(), r("div", {
|
|
270
271
|
ref_key: "dumbbellChart",
|
|
271
272
|
ref: X,
|
|
272
|
-
class:
|
|
273
|
+
class: be(`vue-ui-dumbbell ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
273
274
|
style: F(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
|
|
274
275
|
id: `dumbbell_${y.value}`,
|
|
275
276
|
onMouseenter: n[1] || (n[1] = () => u(te)(!0)),
|
|
276
277
|
onMouseleave: n[2] || (n[2] = () => u(te)(!1))
|
|
277
278
|
}, [
|
|
278
|
-
e.value.userOptions.buttons.annotator ? (o(), L(
|
|
279
|
+
e.value.userOptions.buttons.annotator ? (o(), L(lt, {
|
|
279
280
|
key: 0,
|
|
280
281
|
parent: X.value,
|
|
281
282
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -283,7 +284,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
283
284
|
active: D.value,
|
|
284
285
|
onClose: H
|
|
285
286
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
286
|
-
|
|
287
|
+
Se.value ? (o(), r("div", {
|
|
287
288
|
key: 1,
|
|
288
289
|
ref_key: "noTitle",
|
|
289
290
|
ref: J,
|
|
@@ -296,7 +297,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
296
297
|
ref: q,
|
|
297
298
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
298
299
|
}, [
|
|
299
|
-
(o(), L(
|
|
300
|
+
(o(), L(qe, {
|
|
300
301
|
key: `title_${K.value}`,
|
|
301
302
|
config: {
|
|
302
303
|
title: {
|
|
@@ -310,7 +311,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
310
311
|
}
|
|
311
312
|
}, null, 8, ["config"]))
|
|
312
313
|
], 512)) : v("", !0),
|
|
313
|
-
e.value.userOptions.show && S.value && (u(le) || u(V)) ? (o(), L(
|
|
314
|
+
e.value.userOptions.show && S.value && (u(le) || u(V)) ? (o(), L(Ze, {
|
|
314
315
|
ref: "details",
|
|
315
316
|
key: `user_option_${j.value}`,
|
|
316
317
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -329,7 +330,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
329
330
|
position: e.value.userOptions.position,
|
|
330
331
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
331
332
|
isAnnotation: D.value,
|
|
332
|
-
onToggleFullscreen:
|
|
333
|
+
onToggleFullscreen: Te,
|
|
333
334
|
onGeneratePdf: u(ne),
|
|
334
335
|
onGenerateCsv: ve,
|
|
335
336
|
onGenerateImage: u(ue),
|
|
@@ -338,7 +339,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
338
339
|
style: F({
|
|
339
340
|
visibility: u(le) ? u(V) ? "visible" : "hidden" : "visible"
|
|
340
341
|
})
|
|
341
|
-
},
|
|
342
|
+
}, Me({ _: 2 }, [
|
|
342
343
|
l.$slots.optionPdf ? {
|
|
343
344
|
name: "optionPdf",
|
|
344
345
|
fn: _(() => [
|
|
@@ -370,26 +371,28 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
370
371
|
l.$slots.optionFullscreen ? {
|
|
371
372
|
name: "optionFullscreen",
|
|
372
373
|
fn: _(({ toggleFullscreen: t, isFullscreen: a }) => [
|
|
373
|
-
m(l.$slots, "optionFullscreen", U(
|
|
374
|
+
m(l.$slots, "optionFullscreen", W(U({ toggleFullscreen: t, isFullscreen: a })), void 0, !0)
|
|
374
375
|
]),
|
|
375
376
|
key: "4"
|
|
376
377
|
} : void 0,
|
|
377
378
|
l.$slots.optionAnnotator ? {
|
|
378
379
|
name: "optionAnnotator",
|
|
379
380
|
fn: _(({ toggleAnnotator: t, isAnnotator: a }) => [
|
|
380
|
-
m(l.$slots, "optionAnnotator", U(
|
|
381
|
+
m(l.$slots, "optionAnnotator", W(U({ toggleAnnotator: t, isAnnotator: a })), void 0, !0)
|
|
381
382
|
]),
|
|
382
383
|
key: "5"
|
|
383
384
|
} : void 0
|
|
384
385
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasTable", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
385
386
|
S.value ? (o(), r("svg", {
|
|
386
387
|
key: 4,
|
|
388
|
+
ref_key: "svgRef",
|
|
389
|
+
ref: ze,
|
|
387
390
|
xmlns: u(ke),
|
|
388
|
-
class:
|
|
391
|
+
class: be({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
|
|
389
392
|
viewBox: `0 0 ${s.value.absoluteWidth <= 0 ? 10 : s.value.absoluteWidth} ${s.value.absoluteHeight <= 0 ? 10 : s.value.absoluteHeight}`,
|
|
390
393
|
style: F(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
|
|
391
394
|
}, [
|
|
392
|
-
|
|
395
|
+
De(tt),
|
|
393
396
|
l.$slots["chart-background"] ? (o(), r("foreignObject", {
|
|
394
397
|
key: 0,
|
|
395
398
|
x: s.value.left,
|
|
@@ -401,8 +404,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
401
404
|
}
|
|
402
405
|
}, [
|
|
403
406
|
m(l.$slots, "chart-background", {}, void 0, !0)
|
|
404
|
-
], 8,
|
|
405
|
-
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g",
|
|
407
|
+
], 8, ut)) : v("", !0),
|
|
408
|
+
e.value.style.chart.grid.verticalGrid.show ? (o(), r("g", it, [
|
|
406
409
|
(o(!0), r(C, null, $(c.value.ticks, (t, a) => (o(), r("line", {
|
|
407
410
|
x1: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
408
411
|
x2: s.value.left + a * s.value.width / (c.value.ticks.length - 1),
|
|
@@ -411,9 +414,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
411
414
|
stroke: e.value.style.chart.grid.verticalGrid.stroke,
|
|
412
415
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
413
416
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray
|
|
414
|
-
}, null, 8,
|
|
417
|
+
}, null, 8, ct))), 256))
|
|
415
418
|
])) : v("", !0),
|
|
416
|
-
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g",
|
|
419
|
+
e.value.style.chart.grid.horizontalGrid.show ? (o(), r("g", dt, [
|
|
417
420
|
(o(!0), r(C, null, $(k.value, (t, a) => (o(), r("line", {
|
|
418
421
|
x1: s.value.left,
|
|
419
422
|
x2: s.value.right,
|
|
@@ -422,7 +425,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
422
425
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
423
426
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
424
427
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
425
|
-
}, null, 8,
|
|
428
|
+
}, null, 8, vt))), 256)),
|
|
426
429
|
i("line", {
|
|
427
430
|
x1: s.value.left,
|
|
428
431
|
x2: s.value.right,
|
|
@@ -431,9 +434,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
431
434
|
stroke: e.value.style.chart.grid.horizontalGrid.stroke,
|
|
432
435
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
433
436
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray
|
|
434
|
-
}, null, 8,
|
|
437
|
+
}, null, 8, ht)
|
|
435
438
|
])) : v("", !0),
|
|
436
|
-
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g",
|
|
439
|
+
e.value.style.chart.labels.yAxisLabels.show ? (o(), r("g", yt, [
|
|
437
440
|
(o(!0), r(C, null, $(k.value, (t, a) => (o(), r("text", {
|
|
438
441
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
439
442
|
y: s.value.top + a * h.value + (e.value.style.chart.labels.yAxisLabels.showProgression ? h.value / 3 : h.value / 2) + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -441,7 +444,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
441
444
|
fill: e.value.style.chart.labels.yAxisLabels.color,
|
|
442
445
|
"font-weight": e.value.style.chart.labels.yAxisLabels.bold ? "bold" : "normal",
|
|
443
446
|
"text-anchor": "end"
|
|
444
|
-
}, A(t.name), 9,
|
|
447
|
+
}, A(t.name), 9, ft))), 256)),
|
|
445
448
|
e.value.style.chart.labels.yAxisLabels.showProgression ? (o(!0), r(C, { key: 0 }, $(k.value, (t, a) => (o(), r("text", {
|
|
446
449
|
x: s.value.left - 6 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
447
450
|
y: s.value.top + a * h.value + h.value / 1.3 + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
|
|
@@ -452,9 +455,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
452
455
|
v: 100 * (t.end / t.start - 1),
|
|
453
456
|
s: "%",
|
|
454
457
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
455
|
-
})), 9,
|
|
458
|
+
})), 9, bt))), 256)) : v("", !0)
|
|
456
459
|
])) : v("", !0),
|
|
457
|
-
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g",
|
|
460
|
+
e.value.style.chart.labels.xAxisLabels.show ? (o(), r("g", gt, [
|
|
458
461
|
(o(!0), r(C, null, $(c.value.ticks, (t, a) => (o(), r("text", {
|
|
459
462
|
x: s.value.left + a * (s.value.width / (c.value.ticks.length - 1)),
|
|
460
463
|
y: s.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
@@ -472,7 +475,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
472
475
|
r: e.value.style.chart.labels.xAxisLabels.rounding
|
|
473
476
|
}),
|
|
474
477
|
{ datapoint: t, seriesIndex: a }
|
|
475
|
-
)), 9,
|
|
478
|
+
)), 9, pt))), 256))
|
|
476
479
|
])) : v("", !0),
|
|
477
480
|
i("defs", null, [
|
|
478
481
|
i("radialGradient", {
|
|
@@ -482,16 +485,16 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
482
485
|
i("stop", {
|
|
483
486
|
offset: "10%",
|
|
484
487
|
"stop-color": u(xe)(e.value.style.chart.plots.startColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
485
|
-
}, null, 8,
|
|
488
|
+
}, null, 8, _t),
|
|
486
489
|
i("stop", {
|
|
487
490
|
offset: "90%",
|
|
488
491
|
"stop-color": u(we)(e.value.style.chart.plots.startColor, 0.1)
|
|
489
|
-
}, null, 8,
|
|
492
|
+
}, null, 8, kt),
|
|
490
493
|
i("stop", {
|
|
491
494
|
offset: "100%",
|
|
492
495
|
"stop-color": e.value.style.chart.plots.startColor
|
|
493
|
-
}, null, 8,
|
|
494
|
-
], 8,
|
|
496
|
+
}, null, 8, xt)
|
|
497
|
+
], 8, mt),
|
|
495
498
|
i("radialGradient", {
|
|
496
499
|
id: `end_grad_${y.value}`,
|
|
497
500
|
fy: "30%"
|
|
@@ -499,18 +502,18 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
499
502
|
i("stop", {
|
|
500
503
|
offset: "10%",
|
|
501
504
|
"stop-color": u(xe)(e.value.style.chart.plots.endColor, e.value.style.chart.plots.gradient.intensity / 100)
|
|
502
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, Ct),
|
|
503
506
|
i("stop", {
|
|
504
507
|
offset: "90%",
|
|
505
508
|
"stop-color": u(we)(e.value.style.chart.plots.endColor, 0.1)
|
|
506
|
-
}, null, 8,
|
|
509
|
+
}, null, 8, $t),
|
|
507
510
|
i("stop", {
|
|
508
511
|
offset: "100%",
|
|
509
512
|
"stop-color": e.value.style.chart.plots.endColor
|
|
510
|
-
}, null, 8,
|
|
511
|
-
], 8,
|
|
513
|
+
}, null, 8, Lt)
|
|
514
|
+
], 8, wt)
|
|
512
515
|
]),
|
|
513
|
-
(o(!0), r(C, null, $(
|
|
516
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("g", null, [
|
|
514
517
|
i("defs", null, [
|
|
515
518
|
i("linearGradient", {
|
|
516
519
|
id: `grad_positive_${y.value}`,
|
|
@@ -522,12 +525,12 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
522
525
|
i("stop", {
|
|
523
526
|
offset: "0%",
|
|
524
527
|
"stop-color": e.value.style.chart.plots.startColor
|
|
525
|
-
}, null, 8,
|
|
528
|
+
}, null, 8, zt),
|
|
526
529
|
i("stop", {
|
|
527
530
|
offset: "100%",
|
|
528
531
|
"stop-color": e.value.style.chart.plots.endColor
|
|
529
|
-
}, null, 8,
|
|
530
|
-
], 8,
|
|
532
|
+
}, null, 8, St)
|
|
533
|
+
], 8, At),
|
|
531
534
|
i("linearGradient", {
|
|
532
535
|
id: `grad_negative_${y.value}`,
|
|
533
536
|
x1: "0%",
|
|
@@ -538,14 +541,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
538
541
|
i("stop", {
|
|
539
542
|
offset: "0%",
|
|
540
543
|
"stop-color": e.value.style.chart.plots.endColor
|
|
541
|
-
}, null, 8,
|
|
544
|
+
}, null, 8, Nt),
|
|
542
545
|
i("stop", {
|
|
543
546
|
offset: "100%",
|
|
544
547
|
"stop-color": e.value.style.chart.plots.startColor
|
|
545
|
-
}, null, 8,
|
|
546
|
-
], 8,
|
|
548
|
+
}, null, 8, Tt)
|
|
549
|
+
], 8, Xt)
|
|
547
550
|
]),
|
|
548
|
-
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g",
|
|
551
|
+
e.value.style.chart.plots.link.type === "curved" ? (o(), r("g", Pt, [
|
|
549
552
|
i("path", {
|
|
550
553
|
d: `M
|
|
551
554
|
${t.startX},${t.y + e.value.style.chart.plots.radius / 2}
|
|
@@ -557,15 +560,15 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
557
560
|
Z
|
|
558
561
|
`,
|
|
559
562
|
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
560
|
-
}, null, 8,
|
|
561
|
-
])) : (o(), r("g",
|
|
563
|
+
}, null, 8, Ot)
|
|
564
|
+
])) : (o(), r("g", Gt, [
|
|
562
565
|
i("rect", {
|
|
563
566
|
x: t.endX > t.startX ? t.startX : t.endX,
|
|
564
567
|
y: t.y - e.value.style.chart.plots.link.strokeWidth / 2,
|
|
565
568
|
height: e.value.style.chart.plots.link.strokeWidth,
|
|
566
569
|
width: Math.abs(t.endX - t.startX),
|
|
567
570
|
fill: t.endX > t.startX ? `url(#grad_positive_${y.value})` : `url(#grad_negative_${y.value})`
|
|
568
|
-
}, null, 8,
|
|
571
|
+
}, null, 8, Mt)
|
|
569
572
|
])),
|
|
570
573
|
i("circle", {
|
|
571
574
|
cx: t.startX,
|
|
@@ -574,7 +577,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
574
577
|
fill: e.value.style.chart.plots.gradient.show ? `url(#start_grad_${y.value})` : e.value.style.chart.plots.startColor,
|
|
575
578
|
stroke: e.value.style.chart.plots.stroke,
|
|
576
579
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
577
|
-
}, null, 8,
|
|
580
|
+
}, null, 8, Dt),
|
|
578
581
|
i("circle", {
|
|
579
582
|
cx: t.endX,
|
|
580
583
|
cy: t.y,
|
|
@@ -582,10 +585,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
582
585
|
fill: e.value.style.chart.plots.gradient.show ? `url(#end_grad_${y.value})` : e.value.style.chart.plots.endColor,
|
|
583
586
|
stroke: e.value.style.chart.plots.stroke,
|
|
584
587
|
"stroke-width": e.value.style.chart.plots.strokeWidth
|
|
585
|
-
}, null, 8,
|
|
588
|
+
}, null, 8, It)
|
|
586
589
|
]))), 256)),
|
|
587
|
-
e.value.style.chart.labels.startLabels.show ? (o(), r("g",
|
|
588
|
-
(o(!0), r(C, null, $(
|
|
590
|
+
e.value.style.chart.labels.startLabels.show ? (o(), r("g", Ft, [
|
|
591
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("text", {
|
|
589
592
|
x: t.startX,
|
|
590
593
|
y: s.value.top + (a + 1) * h.value - e.value.style.chart.labels.startLabels.fontSize / 3 + e.value.style.chart.labels.startLabels.offsetY,
|
|
591
594
|
fill: e.value.style.chart.labels.startLabels.useStartColor ? e.value.style.chart.plots.startColor : e.value.style.chart.labels.startLabels.color,
|
|
@@ -601,10 +604,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
601
604
|
r: e.value.style.chart.labels.startLabels.rounding
|
|
602
605
|
}),
|
|
603
606
|
{ datapoint: t, seriesIndex: a }
|
|
604
|
-
)), 9,
|
|
607
|
+
)), 9, Vt))), 256))
|
|
605
608
|
])) : v("", !0),
|
|
606
|
-
e.value.style.chart.labels.endLabels.show ? (o(), r("g",
|
|
607
|
-
(o(!0), r(C, null, $(
|
|
609
|
+
e.value.style.chart.labels.endLabels.show ? (o(), r("g", Et, [
|
|
610
|
+
(o(!0), r(C, null, $(f.value, (t, a) => (o(), r("text", {
|
|
608
611
|
x: t.endX,
|
|
609
612
|
y: s.value.top + a * h.value + e.value.style.chart.labels.endLabels.fontSize + e.value.style.chart.labels.endLabels.offsetY,
|
|
610
613
|
fill: e.value.style.chart.labels.endLabels.useEndColor ? e.value.style.chart.plots.endColor : e.value.style.chart.labels.endLabels.color,
|
|
@@ -620,14 +623,14 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
620
623
|
r: e.value.style.chart.labels.endLabels.rounding
|
|
621
624
|
}),
|
|
622
625
|
{ datapoint: t, seriesIndex: a }
|
|
623
|
-
)), 9,
|
|
626
|
+
)), 9, Ht))), 256))
|
|
624
627
|
])) : v("", !0),
|
|
625
628
|
m(l.$slots, "svg", { svg: s.value }, void 0, !0)
|
|
626
|
-
], 14,
|
|
627
|
-
l.$slots.watermark ? (o(), r("div",
|
|
628
|
-
m(l.$slots, "watermark", U(
|
|
629
|
+
], 14, nt)) : v("", !0),
|
|
630
|
+
l.$slots.watermark ? (o(), r("div", Rt, [
|
|
631
|
+
m(l.$slots, "watermark", W(U({ isPrinting: u(oe) || u(re) })), void 0, !0)
|
|
629
632
|
])) : v("", !0),
|
|
630
|
-
S.value ? v("", !0) : (o(), L(
|
|
633
|
+
S.value ? v("", !0) : (o(), L(Ke, {
|
|
631
634
|
key: 6,
|
|
632
635
|
config: {
|
|
633
636
|
type: "dumbbell",
|
|
@@ -643,10 +646,10 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
643
646
|
ref_key: "chartLegend",
|
|
644
647
|
ref: Y
|
|
645
648
|
}, [
|
|
646
|
-
e.value.style.chart.legend.show && S.value ? (o(), L(
|
|
649
|
+
e.value.style.chart.legend.show && S.value ? (o(), L(Qe, {
|
|
647
650
|
key: `legend_${ee.value}`,
|
|
648
651
|
legendSet: de.value,
|
|
649
|
-
config:
|
|
652
|
+
config: Ne.value
|
|
650
653
|
}, {
|
|
651
654
|
item: _(({ legend: t }) => [
|
|
652
655
|
i("div", {
|
|
@@ -663,8 +666,8 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
663
666
|
cy: 10,
|
|
664
667
|
r: 9,
|
|
665
668
|
fill: t.color
|
|
666
|
-
}, null, 8,
|
|
667
|
-
], 8,
|
|
669
|
+
}, null, 8, Ut)
|
|
670
|
+
], 8, Wt)),
|
|
668
671
|
ge(" " + A(t.name), 1)
|
|
669
672
|
], 4)
|
|
670
673
|
]),
|
|
@@ -682,7 +685,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
682
685
|
}, [
|
|
683
686
|
m(l.$slots, "source", {}, void 0, !0)
|
|
684
687
|
], 512)) : v("", !0),
|
|
685
|
-
S.value ? (o(), L(
|
|
688
|
+
S.value ? (o(), L(et, {
|
|
686
689
|
key: 8,
|
|
687
690
|
hideDetails: "",
|
|
688
691
|
config: {
|
|
@@ -699,7 +702,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
699
702
|
}
|
|
700
703
|
}, {
|
|
701
704
|
content: _(() => [
|
|
702
|
-
(o(), L(
|
|
705
|
+
(o(), L(Je, {
|
|
703
706
|
key: `table_${Q.value}`,
|
|
704
707
|
colNames: M.value.colNames,
|
|
705
708
|
head: M.value.head,
|
|
@@ -712,7 +715,7 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
712
715
|
i("div", {
|
|
713
716
|
innerHTML: t,
|
|
714
717
|
style: { display: "flex", "align-items": "center" }
|
|
715
|
-
}, null, 8,
|
|
718
|
+
}, null, 8, Bt)
|
|
716
719
|
]),
|
|
717
720
|
td: _(({ td: t }) => [
|
|
718
721
|
ge(A(t.name || t), 1)
|
|
@@ -722,9 +725,9 @@ const st = ["id"], ot = ["xmlns", "viewBox"], rt = ["x", "y", "width", "height"]
|
|
|
722
725
|
]),
|
|
723
726
|
_: 1
|
|
724
727
|
}, 8, ["config"])) : v("", !0)
|
|
725
|
-
], 46,
|
|
728
|
+
], 46, rt));
|
|
726
729
|
}
|
|
727
|
-
},
|
|
730
|
+
}, cl = /* @__PURE__ */ ot(jt, [["__scopeId", "data-v-922fa05c"]]);
|
|
728
731
|
export {
|
|
729
|
-
|
|
732
|
+
cl as default
|
|
730
733
|
};
|