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,22 +1,23 @@
|
|
|
1
|
-
import { ref as c, computed as f, onMounted as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as $e } from "./useNestedProp-
|
|
4
|
-
import { u as
|
|
5
|
-
import { _ as
|
|
6
|
-
import { L as
|
|
7
|
-
import { _ as
|
|
8
|
-
import { _ as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import { P as
|
|
12
|
-
import
|
|
13
|
-
import { t as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { ref as c, computed as f, onMounted as He, onBeforeUnmount as Ee, watch as Ge, createElementBlock as r, openBlock as s, unref as y, normalizeStyle as M, normalizeClass as P, renderSlot as x, createBlock as z, createCommentVNode as v, createElementVNode as T, createVNode as ke, createSlots as Re, withCtx as m, normalizeProps as Y, guardReactiveProps as j, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as Ve, nextTick as qe } from "vue";
|
|
2
|
+
import { u as Ze, c as we, o as Je, e as Ce, g as Ke, b as Qe, d as et, p as E, D as _e, i as I, f as F, X as tt, l as lt, h as at, G as st, F as N, t as ot, a as rt, C as G, q as nt, r as ut, x as it } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { u as $e } from "./useNestedProp-Cg0NIwr6.js";
|
|
4
|
+
import { u as ct, U as vt } from "./usePrinter-D-sSdR2l.js";
|
|
5
|
+
import { _ as ht } from "./PackageVersion-J_USnljf.js";
|
|
6
|
+
import { L as yt } from "./Legend-Oaw0MY8Y.js";
|
|
7
|
+
import { _ as dt } from "./Title-DePxeqVl.js";
|
|
8
|
+
import { _ as ft } from "./Tooltip-DRw9RoFp.js";
|
|
9
|
+
import { D as xt } from "./DataTable-D0-zzsJg.js";
|
|
10
|
+
import pt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { P as mt } from "./PenAndPaper-CoEXEMcN.js";
|
|
12
|
+
import gt from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
13
|
+
import { t as bt, u as kt } from "./useResponsive-BWapHhVH.js";
|
|
14
|
+
import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const $t = ["id"], Mt = ["xmlns", "viewBox"], At = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = ["id"], St = ["stop-color"], zt = ["stop-color"], Nt = ["stop-color"], Ot = { key: 2 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = { key: 3 }, Ft = ["x", "y", "fill", "font-size"], Xt = ["transform", "font-size", "fill", "font-weight"], Dt = { key: 5 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 6 }, Bt = ["transform", "fill", "font-size", "text-anchor"], Ut = ["x", "y", "font-size", "fill", "font-weight"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["d", "stroke", "stroke-width"], Gt = ["d", "stroke", "stroke-width"], Rt = ["cx", "cy", "fill", "r"], Vt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], qt = { key: 1 }, Zt = ["x", "y", "font-size", "fill", "font-weight"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["cx", "cy", "r", "onMouseenter", "onClick"], el = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, tl = ["onClick"], ll = ["innerHTML"], al = {
|
|
20
21
|
__name: "vue-ui-history-plot",
|
|
21
22
|
props: {
|
|
22
23
|
config: {
|
|
@@ -33,20 +34,20 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectLegend", "selectDatapoint"],
|
|
36
|
-
setup(Me, { expose:
|
|
37
|
-
const { vue_ui_history_plot: Le } =
|
|
37
|
+
setup(Me, { expose: Ae, emit: Te }) {
|
|
38
|
+
const { vue_ui_history_plot: Le } = Ze(), h = Me, O = c(null), K = c(null), Q = c(0), ee = c(null), te = c(0), le = c(0), ae = c(0), B = c(null), se = c(null), X = c(we()), R = c(!1), V = c(""), g = c([]), U = c(!1), $ = c(null), D = c(!1), oe = c(null), w = f({
|
|
38
39
|
get: () => !!h.dataset && h.dataset.length,
|
|
39
40
|
set: (t) => t
|
|
40
|
-
}), re =
|
|
41
|
-
|
|
41
|
+
}), re = Te;
|
|
42
|
+
He(ne), Ee(() => {
|
|
42
43
|
B.value && B.value.disconnect();
|
|
43
44
|
});
|
|
44
45
|
function ne() {
|
|
45
|
-
if (
|
|
46
|
+
if (Je(h.dataset) ? Ce({
|
|
46
47
|
componentName: "VueUiHistoryPlot",
|
|
47
48
|
type: "dataset"
|
|
48
49
|
}) : h.dataset.forEach((t, a) => {
|
|
49
|
-
|
|
50
|
+
Ke({
|
|
50
51
|
datasetObject: t,
|
|
51
52
|
requiredAttributes: ["name", "values"]
|
|
52
53
|
}).forEach((l) => {
|
|
@@ -58,8 +59,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
58
59
|
});
|
|
59
60
|
});
|
|
60
61
|
}), e.value.responsive) {
|
|
61
|
-
const t =
|
|
62
|
-
const { width: a, height: l } =
|
|
62
|
+
const t = bt(() => {
|
|
63
|
+
const { width: a, height: l } = kt({
|
|
63
64
|
chart: O.value,
|
|
64
65
|
title: e.value.style.chart.title.text ? K.value : null,
|
|
65
66
|
noTitle: se.value,
|
|
@@ -123,23 +124,23 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
123
124
|
let a = {};
|
|
124
125
|
return t.theme ? a = {
|
|
125
126
|
...$e({
|
|
126
|
-
userConfig:
|
|
127
|
+
userConfig: rt.vue_ui_history_plot[t.theme] || h.config,
|
|
127
128
|
defaultConfig: t
|
|
128
129
|
}),
|
|
129
|
-
customPalette:
|
|
130
|
+
customPalette: ot[t.theme] || E
|
|
130
131
|
} : a = t, h.config && G(h.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = h.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, h.config && G(h.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = h.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, h.config && G(h.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = h.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, h.config && G(h.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = h.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
|
|
131
132
|
}
|
|
132
133
|
const e = f({
|
|
133
134
|
get: () => ue(),
|
|
134
135
|
set: (t) => t
|
|
135
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: ce } =
|
|
136
|
-
|
|
136
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: ce } = wt({ config: e.value }), { svgRef: Se } = Ct({ config: e.value.style.chart.title });
|
|
137
|
+
Ge(() => h.config, (t) => {
|
|
137
138
|
e.value = ue(), q.value = !e.value.userOptions.showOnChartHover, ne(), Q.value += 1, le.value += 1, te.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
138
139
|
}, { deep: !0 });
|
|
139
|
-
const { isPrinting: ve, isImaging: he, generatePdf: ye, generateImage: de } =
|
|
140
|
+
const { isPrinting: ve, isImaging: he, generatePdf: ye, generateImage: de } = ct({
|
|
140
141
|
elementId: `history_plot_${X.value}`,
|
|
141
142
|
fileName: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
142
|
-
}),
|
|
143
|
+
}), ze = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = f(() => Qe(e.value.customPalette)), C = c({
|
|
143
144
|
showTable: e.value.table.show,
|
|
144
145
|
showTooltip: e.value.style.chart.tooltip.show
|
|
145
146
|
}), d = c({
|
|
@@ -163,26 +164,26 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
163
164
|
xAxisName: e.value.style.chart.axes.x.name.fontSize,
|
|
164
165
|
yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
|
|
165
166
|
yAxisName: e.value.style.chart.axes.y.name.fontSize
|
|
166
|
-
}),
|
|
167
|
+
}), A = f(() => w.value ? h.dataset.map((t, a) => ({
|
|
167
168
|
...t,
|
|
168
|
-
color: t.color ?
|
|
169
|
+
color: t.color ? et(t.color) : Ne.value[a] || E[a] || E[a % E.length],
|
|
169
170
|
seriesIndex: a
|
|
170
|
-
})) : []),
|
|
171
|
+
})) : []), Oe = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Pe = f(() => {
|
|
171
172
|
if (!w.value) return 1;
|
|
172
|
-
const t = Math.min(...
|
|
173
|
+
const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
|
|
173
174
|
return t < 0 ? t : 0;
|
|
174
|
-
}),
|
|
175
|
+
}), Ie = f(() => w.value ? Math.max(...A.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Fe = f(() => {
|
|
175
176
|
if (!w.value) return 1;
|
|
176
|
-
const t = Math.min(...
|
|
177
|
+
const t = Math.min(...A.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
|
|
177
178
|
return t < 0 ? t : 0;
|
|
178
179
|
}), p = f(() => {
|
|
179
180
|
const t = _e(
|
|
180
|
-
e.value.style.chart.axes.x.scaleMin === null ?
|
|
181
|
-
e.value.style.chart.axes.x.scaleMax === null ?
|
|
181
|
+
e.value.style.chart.axes.x.scaleMin === null ? Pe.value : e.value.style.chart.axes.x.scaleMin,
|
|
182
|
+
e.value.style.chart.axes.x.scaleMax === null ? Oe.value : e.value.style.chart.axes.x.scaleMax,
|
|
182
183
|
e.value.style.chart.axes.x.ticks
|
|
183
184
|
), a = _e(
|
|
184
|
-
e.value.style.chart.axes.y.scaleMin === null ?
|
|
185
|
-
e.value.style.chart.axes.y.scaleMax === null ?
|
|
185
|
+
e.value.style.chart.axes.y.scaleMin === null ? Fe.value : e.value.style.chart.axes.y.scaleMin,
|
|
186
|
+
e.value.style.chart.axes.y.scaleMax === null ? Ie.value : e.value.style.chart.axes.y.scaleMax,
|
|
186
187
|
e.value.style.chart.axes.y.ticks
|
|
187
188
|
);
|
|
188
189
|
return {
|
|
@@ -202,21 +203,21 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
202
203
|
}))
|
|
203
204
|
};
|
|
204
205
|
});
|
|
205
|
-
function
|
|
206
|
+
function Xe(t) {
|
|
206
207
|
const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
|
|
207
208
|
return n.value.left + ((t || 0) + a) / (p.value.x.max + a) * n.value.width;
|
|
208
209
|
}
|
|
209
|
-
function
|
|
210
|
+
function De(t) {
|
|
210
211
|
const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
|
|
211
212
|
return n.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * n.value.height;
|
|
212
213
|
}
|
|
213
|
-
const S = f(() =>
|
|
214
|
+
const S = f(() => A.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
|
|
214
215
|
const l = t.values.map((o, _) => ({
|
|
215
216
|
valueX: o.x,
|
|
216
217
|
valueY: o.y,
|
|
217
218
|
label: o.label,
|
|
218
|
-
x:
|
|
219
|
-
y:
|
|
219
|
+
x: Xe(o.x),
|
|
220
|
+
y: De(o.y),
|
|
220
221
|
color: t.color,
|
|
221
222
|
seriesName: t.name,
|
|
222
223
|
id: we()
|
|
@@ -230,13 +231,13 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
230
231
|
function fe(t) {
|
|
231
232
|
g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
|
|
232
233
|
}
|
|
233
|
-
const xe = f(() =>
|
|
234
|
+
const xe = f(() => A.value.map((t) => ({
|
|
234
235
|
...t,
|
|
235
236
|
opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
|
|
236
237
|
segregate: () => fe(t.seriesIndex),
|
|
237
238
|
isSegregated: g.value.includes(t.seriesIndex),
|
|
238
239
|
shape: "circle"
|
|
239
|
-
}))),
|
|
240
|
+
}))), Ye = f(() => ({
|
|
240
241
|
cy: "history-plot-div-legend",
|
|
241
242
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
242
243
|
color: e.value.style.chart.legend.color,
|
|
@@ -244,7 +245,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
244
245
|
paddingBottom: 12,
|
|
245
246
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
246
247
|
}));
|
|
247
|
-
function
|
|
248
|
+
function je(t) {
|
|
248
249
|
re("selectDatapoint", t);
|
|
249
250
|
}
|
|
250
251
|
function pe(t) {
|
|
@@ -254,23 +255,23 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
254
255
|
opacity: t.isSegregated ? 1 : 0.5
|
|
255
256
|
});
|
|
256
257
|
}
|
|
257
|
-
function
|
|
258
|
+
function Be(t) {
|
|
258
259
|
U.value = t, ae.value += 1;
|
|
259
260
|
}
|
|
260
261
|
const Z = c(null);
|
|
261
|
-
function
|
|
262
|
-
Z.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series:
|
|
262
|
+
function Ue({ datapoint: t, plotIndex: a, seriesIndex: l }) {
|
|
263
|
+
Z.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: A.value }, $.value = t;
|
|
263
264
|
const i = e.value.style.chart.tooltip.customFormat;
|
|
264
|
-
if (D.value = !1,
|
|
265
|
+
if (D.value = !1, it(i))
|
|
265
266
|
try {
|
|
266
267
|
const o = i({
|
|
267
268
|
seriesIndex: l,
|
|
268
269
|
datapoint: t,
|
|
269
270
|
plotIndex: a,
|
|
270
|
-
series:
|
|
271
|
+
series: A.value,
|
|
271
272
|
config: e.value
|
|
272
273
|
});
|
|
273
|
-
typeof o == "string" && (
|
|
274
|
+
typeof o == "string" && (V.value = o, D.value = !0);
|
|
274
275
|
} catch {
|
|
275
276
|
console.warn("Custom format cannot be applied."), D.value = !1;
|
|
276
277
|
}
|
|
@@ -294,9 +295,9 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
294
295
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
295
296
|
r: e.value.style.chart.axes.y.labels.rounding
|
|
296
297
|
})
|
|
297
|
-
)}</div>`,
|
|
298
|
+
)}</div>`, V.value = `<div>${o}</div>`;
|
|
298
299
|
}
|
|
299
|
-
|
|
300
|
+
R.value = !0;
|
|
300
301
|
}
|
|
301
302
|
f(() => ({ head: S.value.map((a) => ({
|
|
302
303
|
name: a.name,
|
|
@@ -355,7 +356,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
355
356
|
};
|
|
356
357
|
});
|
|
357
358
|
function me() {
|
|
358
|
-
|
|
359
|
+
qe(() => {
|
|
359
360
|
const t = [
|
|
360
361
|
[e.value.table.columnNames.series],
|
|
361
362
|
[e.value.table.columnNames.datapoint],
|
|
@@ -370,8 +371,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
370
371
|
[e.value.style.chart.title.text],
|
|
371
372
|
[e.value.style.chart.title.subtitle.text],
|
|
372
373
|
t
|
|
373
|
-
].concat(a), i =
|
|
374
|
-
|
|
374
|
+
].concat(a), i = nt(l);
|
|
375
|
+
ut({
|
|
375
376
|
csvContent: i,
|
|
376
377
|
title: e.value.style.chart.title.text || "vue-ui-history-plot"
|
|
377
378
|
});
|
|
@@ -387,11 +388,11 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
387
388
|
function be() {
|
|
388
389
|
C.value.showTooltip = !C.value.showTooltip;
|
|
389
390
|
}
|
|
390
|
-
function
|
|
391
|
+
function We() {
|
|
391
392
|
return S.value;
|
|
392
393
|
}
|
|
393
|
-
return
|
|
394
|
-
getData:
|
|
394
|
+
return Ae({
|
|
395
|
+
getData: We,
|
|
395
396
|
generatePdf: ye,
|
|
396
397
|
generateCsv: me,
|
|
397
398
|
generateImage: de,
|
|
@@ -408,7 +409,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
408
409
|
onMouseleave: a[4] || (a[4] = () => y(ie)(!1))
|
|
409
410
|
}, [
|
|
410
411
|
x(t.$slots, "userConfig", {}, void 0, !0),
|
|
411
|
-
e.value.userOptions.buttons.annotator ? (s(), z(
|
|
412
|
+
e.value.userOptions.buttons.annotator ? (s(), z(mt, {
|
|
412
413
|
key: 0,
|
|
413
414
|
parent: O.value,
|
|
414
415
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -416,7 +417,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
416
417
|
active: H.value,
|
|
417
418
|
onClose: J
|
|
418
419
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : v("", !0),
|
|
419
|
-
|
|
420
|
+
ze.value ? (s(), r("div", {
|
|
420
421
|
key: 1,
|
|
421
422
|
ref_key: "noTitle",
|
|
422
423
|
ref: se,
|
|
@@ -430,7 +431,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
430
431
|
class: "vue-ui-xy-title",
|
|
431
432
|
style: M(`font-family:${e.value.style.fontFamily}`)
|
|
432
433
|
}, [
|
|
433
|
-
(s(), z(
|
|
434
|
+
(s(), z(dt, {
|
|
434
435
|
key: `title_${Q.value}`,
|
|
435
436
|
config: {
|
|
436
437
|
title: {
|
|
@@ -444,7 +445,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
444
445
|
}
|
|
445
446
|
}, null, 8, ["config"]))
|
|
446
447
|
], 4)) : v("", !0),
|
|
447
|
-
e.value.userOptions.show && w.value && (y(ce) || y(q)) ? (s(), z(
|
|
448
|
+
e.value.userOptions.show && w.value && (y(ce) || y(q)) ? (s(), z(vt, {
|
|
448
449
|
ref: "details",
|
|
449
450
|
key: `user_option_${ae.value}`,
|
|
450
451
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -466,7 +467,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
466
467
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
467
468
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
468
469
|
isAnnotation: H.value,
|
|
469
|
-
onToggleFullscreen:
|
|
470
|
+
onToggleFullscreen: Be,
|
|
470
471
|
onGeneratePdf: y(ye),
|
|
471
472
|
onGenerateCsv: me,
|
|
472
473
|
onGenerateImage: y(de),
|
|
@@ -476,7 +477,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
476
477
|
style: M({
|
|
477
478
|
visibility: y(ce) ? y(q) ? "visible" : "hidden" : "visible"
|
|
478
479
|
})
|
|
479
|
-
},
|
|
480
|
+
}, Re({ _: 2 }, [
|
|
480
481
|
t.$slots.optionTooltip ? {
|
|
481
482
|
name: "optionTooltip",
|
|
482
483
|
fn: m(() => [
|
|
@@ -529,11 +530,13 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
529
530
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
|
|
530
531
|
w.value ? (s(), r("svg", {
|
|
531
532
|
key: 4,
|
|
532
|
-
|
|
533
|
+
ref_key: "svgRef",
|
|
534
|
+
ref: Se,
|
|
535
|
+
xmlns: y(tt),
|
|
533
536
|
viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
|
|
534
537
|
style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
535
538
|
}, [
|
|
536
|
-
ke(
|
|
539
|
+
ke(ht),
|
|
537
540
|
t.$slots["chart-background"] ? (s(), r("foreignObject", {
|
|
538
541
|
key: 0,
|
|
539
542
|
x: n.value.left,
|
|
@@ -545,27 +548,27 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
545
548
|
}
|
|
546
549
|
}, [
|
|
547
550
|
x(t.$slots, "chart-background", {}, void 0, !0)
|
|
548
|
-
], 8,
|
|
549
|
-
e.value.style.chart.plots.gradient.show ? (s(), r("defs",
|
|
551
|
+
], 8, At)) : v("", !0),
|
|
552
|
+
e.value.style.chart.plots.gradient.show ? (s(), r("defs", Tt, [
|
|
550
553
|
(s(!0), r(b, null, k(S.value, (l, i) => (s(), r("radialGradient", {
|
|
551
554
|
id: `gradient_${i}_${X.value}`,
|
|
552
555
|
fy: "30%"
|
|
553
556
|
}, [
|
|
554
|
-
|
|
557
|
+
T("stop", {
|
|
555
558
|
offset: "10%",
|
|
556
|
-
"stop-color": y(
|
|
557
|
-
}, null, 8,
|
|
558
|
-
|
|
559
|
+
"stop-color": y(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
560
|
+
}, null, 8, St),
|
|
561
|
+
T("stop", {
|
|
559
562
|
offset: "90%",
|
|
560
|
-
"stop-color": y(
|
|
561
|
-
}, null, 8,
|
|
562
|
-
|
|
563
|
+
"stop-color": y(at)(l.color, 0.1)
|
|
564
|
+
}, null, 8, zt),
|
|
565
|
+
T("stop", {
|
|
563
566
|
offset: "100%",
|
|
564
567
|
"stop-color": l.color
|
|
565
|
-
}, null, 8,
|
|
566
|
-
], 8,
|
|
568
|
+
}, null, 8, Nt)
|
|
569
|
+
], 8, Lt))), 256))
|
|
567
570
|
])) : v("", !0),
|
|
568
|
-
e.value.style.chart.grid.verticalLines.show ? (s(), r("g",
|
|
571
|
+
e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Ot, [
|
|
569
572
|
(s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("line", {
|
|
570
573
|
x1: l.x,
|
|
571
574
|
x2: l.x,
|
|
@@ -574,9 +577,9 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
574
577
|
stroke: e.value.style.chart.grid.verticalLines.stroke,
|
|
575
578
|
"stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
|
|
576
579
|
"stroke-linecap": "round"
|
|
577
|
-
}, null, 8,
|
|
580
|
+
}, null, 8, Pt))), 256))
|
|
578
581
|
])) : v("", !0),
|
|
579
|
-
e.value.style.chart.axes.y.labels.show ? (s(), r("g",
|
|
582
|
+
e.value.style.chart.axes.y.labels.show ? (s(), r("g", It, [
|
|
580
583
|
(s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
|
|
581
584
|
x: n.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
|
|
582
585
|
y: l.y + u.value.yAxisLabels / 3,
|
|
@@ -592,7 +595,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
592
595
|
s: e.value.style.chart.axes.y.labels.suffix,
|
|
593
596
|
r: e.value.style.chart.axes.y.labels.rounding
|
|
594
597
|
})
|
|
595
|
-
)), 9,
|
|
598
|
+
)), 9, Ft))), 256))
|
|
596
599
|
])) : v("", !0),
|
|
597
600
|
e.value.style.chart.axes.y.name.text ? (s(), r("text", {
|
|
598
601
|
key: 4,
|
|
@@ -601,8 +604,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
601
604
|
fill: e.value.style.chart.axes.y.name.color,
|
|
602
605
|
"font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
|
|
603
606
|
"text-anchor": "middle"
|
|
604
|
-
}, L(e.value.style.chart.axes.y.name.text), 9,
|
|
605
|
-
e.value.style.chart.grid.horizontalLines.show ? (s(), r("g",
|
|
607
|
+
}, L(e.value.style.chart.axes.y.name.text), 9, Xt)) : v("", !0),
|
|
608
|
+
e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Dt, [
|
|
606
609
|
(s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("line", {
|
|
607
610
|
x1: l.x1,
|
|
608
611
|
x2: l.x2,
|
|
@@ -611,9 +614,9 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
611
614
|
stroke: e.value.style.chart.grid.horizontalLines.stroke,
|
|
612
615
|
"stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
|
|
613
616
|
"stroke-linecap": "round"
|
|
614
|
-
}, null, 8,
|
|
617
|
+
}, null, 8, Yt))), 256))
|
|
615
618
|
])) : v("", !0),
|
|
616
|
-
e.value.style.chart.axes.x.labels.show ? (s(), r("g",
|
|
619
|
+
e.value.style.chart.axes.x.labels.show ? (s(), r("g", jt, [
|
|
617
620
|
(s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
|
|
618
621
|
transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY + u.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
|
|
619
622
|
fill: e.value.style.chart.axes.x.labels.color,
|
|
@@ -628,7 +631,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
628
631
|
s: e.value.style.chart.axes.x.labels.suffix,
|
|
629
632
|
r: e.value.style.chart.axes.x.labels.rounding
|
|
630
633
|
})
|
|
631
|
-
)), 9,
|
|
634
|
+
)), 9, Bt))), 256))
|
|
632
635
|
])) : v("", !0),
|
|
633
636
|
e.value.style.chart.axes.x.name.text ? (s(), r("text", {
|
|
634
637
|
key: 7,
|
|
@@ -638,7 +641,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
638
641
|
fill: e.value.style.chart.axes.x.name.color,
|
|
639
642
|
"font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
|
|
640
643
|
"text-anchor": "middle"
|
|
641
|
-
}, L(e.value.style.chart.axes.x.name.text), 9,
|
|
644
|
+
}, L(e.value.style.chart.axes.x.name.text), 9, Ut)) : v("", !0),
|
|
642
645
|
e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
|
|
643
646
|
key: 8,
|
|
644
647
|
x1: n.value.left,
|
|
@@ -648,7 +651,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
648
651
|
stroke: e.value.style.chart.grid.xAxis.stroke,
|
|
649
652
|
"stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
|
|
650
653
|
"stroke-linecap": "round"
|
|
651
|
-
}, null, 8,
|
|
654
|
+
}, null, 8, Wt)) : v("", !0),
|
|
652
655
|
e.value.style.chart.grid.yAxis.show ? (s(), r("line", {
|
|
653
656
|
key: 9,
|
|
654
657
|
x1: n.value.left,
|
|
@@ -658,7 +661,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
658
661
|
stroke: e.value.style.chart.grid.yAxis.stroke,
|
|
659
662
|
"stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
|
|
660
663
|
"stroke-linecap": "round"
|
|
661
|
-
}, null, 8,
|
|
664
|
+
}, null, 8, Ht)) : v("", !0),
|
|
662
665
|
(s(!0), r(b, null, k(S.value, (l, i) => (s(), r("g", null, [
|
|
663
666
|
e.value.style.chart.paths.show ? (s(), r("g", {
|
|
664
667
|
key: 0,
|
|
@@ -666,7 +669,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
666
669
|
opacity: $.value === null ? 1 : 0.3
|
|
667
670
|
})
|
|
668
671
|
}, [
|
|
669
|
-
|
|
672
|
+
T("path", {
|
|
670
673
|
d: l.path,
|
|
671
674
|
stroke: e.value.style.chart.backgroundColor,
|
|
672
675
|
"stroke-width": e.value.style.chart.paths.strokeWidth + 4,
|
|
@@ -674,8 +677,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
674
677
|
"stroke-linecap": "round",
|
|
675
678
|
"stroke-linejoin": "round",
|
|
676
679
|
class: P({ animated: e.value.useCssAnimation })
|
|
677
|
-
}, null, 10,
|
|
678
|
-
|
|
680
|
+
}, null, 10, Et),
|
|
681
|
+
T("path", {
|
|
679
682
|
d: l.path,
|
|
680
683
|
stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
|
|
681
684
|
"stroke-width": e.value.style.chart.paths.strokeWidth,
|
|
@@ -683,7 +686,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
683
686
|
"stroke-linecap": "round",
|
|
684
687
|
"stroke-linejoin": "round",
|
|
685
688
|
class: P({ animated: e.value.useCssAnimation })
|
|
686
|
-
}, null, 10,
|
|
689
|
+
}, null, 10, Gt)
|
|
687
690
|
], 4)) : v("", !0),
|
|
688
691
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
|
|
689
692
|
cx: o.x,
|
|
@@ -691,7 +694,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
691
694
|
fill: e.value.style.chart.backgroundColor,
|
|
692
695
|
r: u.value.plots,
|
|
693
696
|
stroke: "none"
|
|
694
|
-
}, null, 8,
|
|
697
|
+
}, null, 8, Rt))), 256)),
|
|
695
698
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
|
|
696
699
|
cx: o.x,
|
|
697
700
|
cy: o.y,
|
|
@@ -704,8 +707,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
704
707
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
705
708
|
transition: "opacity 0.2s ease-in-out"
|
|
706
709
|
})
|
|
707
|
-
}, null, 14,
|
|
708
|
-
e.value.style.chart.plots.labels.show ? (s(), r("g",
|
|
710
|
+
}, null, 14, Vt))), 256)),
|
|
711
|
+
e.value.style.chart.plots.labels.show ? (s(), r("g", qt, [
|
|
709
712
|
(s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
|
|
710
713
|
x: o.x + e.value.style.chart.plots.labels.offsetX,
|
|
711
714
|
y: o.y + e.value.style.chart.plots.labels.offsetY + u.value.plots + u.value.labels,
|
|
@@ -718,22 +721,22 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
718
721
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
719
722
|
transition: "opacity 0.2s ease-in-out"
|
|
720
723
|
})
|
|
721
|
-
}, L(o.label), 15,
|
|
724
|
+
}, L(o.label), 15, Zt))), 256))
|
|
722
725
|
])) : v("", !0),
|
|
723
|
-
e.value.style.chart.plots.indexLabels.show ? (s(), r("g",
|
|
726
|
+
e.value.style.chart.plots.indexLabels.show ? (s(), r("g", Jt, [
|
|
724
727
|
(s(!0), r(b, null, k(l.plots, (o, _) => (s(), r("text", {
|
|
725
728
|
x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
|
|
726
729
|
y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
|
|
727
730
|
"font-size": u.value.indexLabels,
|
|
728
731
|
"font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
|
|
729
|
-
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? y(
|
|
732
|
+
fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? y(st)(l.color) : e.value.style.chart.plots.indexLabels.color,
|
|
730
733
|
"text-anchor": "middle",
|
|
731
734
|
class: P({ animated: e.value.useCssAnimation }),
|
|
732
735
|
style: M({
|
|
733
736
|
opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
|
|
734
737
|
transition: "opacity 0.2s ease-in-out"
|
|
735
738
|
})
|
|
736
|
-
}, L(e.value.style.chart.plots.indexLabels.startAtZero ? _ : _ + 1), 15,
|
|
739
|
+
}, L(e.value.style.chart.plots.indexLabels.startAtZero ? _ : _ + 1), 15, Kt))), 256))
|
|
737
740
|
])) : v("", !0)
|
|
738
741
|
]))), 256)),
|
|
739
742
|
(s(!0), r(b, null, k(S.value, (l) => (s(), r("g", null, [
|
|
@@ -743,23 +746,23 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
743
746
|
fill: "transparent",
|
|
744
747
|
r: u.value.plots,
|
|
745
748
|
stroke: "none",
|
|
746
|
-
onMouseenter: (_) =>
|
|
749
|
+
onMouseenter: (_) => Ue({
|
|
747
750
|
datapoint: i,
|
|
748
751
|
plotIndex: o,
|
|
749
752
|
seriesIndex: l.seriesIndex
|
|
750
753
|
}),
|
|
751
754
|
onMouseleave: a[0] || (a[0] = (_) => {
|
|
752
|
-
|
|
755
|
+
R.value = !1, $.value = null;
|
|
753
756
|
}),
|
|
754
|
-
onClick: () =>
|
|
755
|
-
}, null, 40,
|
|
757
|
+
onClick: () => je(i)
|
|
758
|
+
}, null, 40, Qt))), 256))
|
|
756
759
|
]))), 256)),
|
|
757
760
|
x(t.$slots, "svg", { svg: d.value }, void 0, !0)
|
|
758
|
-
], 12,
|
|
759
|
-
t.$slots.watermark ? (s(), r("div",
|
|
761
|
+
], 12, Mt)) : v("", !0),
|
|
762
|
+
t.$slots.watermark ? (s(), r("div", el, [
|
|
760
763
|
x(t.$slots, "watermark", Y(j({ isPrinting: y(ve) || y(he) })), void 0, !0)
|
|
761
764
|
])) : v("", !0),
|
|
762
|
-
w.value ? v("", !0) : (s(), z(
|
|
765
|
+
w.value ? v("", !0) : (s(), z(gt, {
|
|
763
766
|
key: 6,
|
|
764
767
|
config: {
|
|
765
768
|
type: "historyPlot",
|
|
@@ -771,25 +774,25 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
771
774
|
}
|
|
772
775
|
}
|
|
773
776
|
}, null, 8, ["config"])),
|
|
774
|
-
|
|
777
|
+
T("div", {
|
|
775
778
|
ref_key: "chartLegend",
|
|
776
779
|
ref: ee
|
|
777
780
|
}, [
|
|
778
|
-
e.value.style.chart.legend.show && w.value ? (s(), z(
|
|
781
|
+
e.value.style.chart.legend.show && w.value ? (s(), z(yt, {
|
|
779
782
|
key: `legend_${te.value}`,
|
|
780
783
|
legendSet: xe.value,
|
|
781
|
-
config:
|
|
784
|
+
config: Ye.value,
|
|
782
785
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
|
|
783
786
|
fe(l.seriesIndex), pe(l);
|
|
784
787
|
})
|
|
785
788
|
}, {
|
|
786
789
|
item: m(({ legend: l, index: i }) => [
|
|
787
|
-
|
|
790
|
+
T("div", {
|
|
788
791
|
onClick: (o) => {
|
|
789
792
|
l.segregate(), pe(l);
|
|
790
793
|
},
|
|
791
794
|
style: M(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
|
|
792
|
-
}, L(l.name), 13,
|
|
795
|
+
}, L(l.name), 13, tl)
|
|
793
796
|
]),
|
|
794
797
|
_: 1
|
|
795
798
|
}, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
|
|
@@ -805,8 +808,8 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
805
808
|
}, [
|
|
806
809
|
x(t.$slots, "source", {}, void 0, !0)
|
|
807
810
|
], 512)) : v("", !0),
|
|
808
|
-
ke(
|
|
809
|
-
show: C.value.showTooltip &&
|
|
811
|
+
ke(ft, {
|
|
812
|
+
show: C.value.showTooltip && R.value,
|
|
810
813
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
811
814
|
color: e.value.style.chart.tooltip.color,
|
|
812
815
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
@@ -817,7 +820,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
817
820
|
position: e.value.style.chart.tooltip.position,
|
|
818
821
|
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
819
822
|
parent: O.value,
|
|
820
|
-
content:
|
|
823
|
+
content: V.value,
|
|
821
824
|
isCustom: D.value,
|
|
822
825
|
isFullscreen: U.value
|
|
823
826
|
}, {
|
|
@@ -829,7 +832,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
829
832
|
]),
|
|
830
833
|
_: 3
|
|
831
834
|
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
|
|
832
|
-
w.value ? (s(), z(
|
|
835
|
+
w.value ? (s(), z(pt, {
|
|
833
836
|
key: 8,
|
|
834
837
|
hideDetails: "",
|
|
835
838
|
config: {
|
|
@@ -846,7 +849,7 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
846
849
|
}
|
|
847
850
|
}, {
|
|
848
851
|
content: m(() => [
|
|
849
|
-
(s(), z(
|
|
852
|
+
(s(), z(xt, {
|
|
850
853
|
key: `table_${le.value}`,
|
|
851
854
|
colNames: W.value.colNames,
|
|
852
855
|
head: W.value.head,
|
|
@@ -856,10 +859,10 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
856
859
|
onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
|
|
857
860
|
}, {
|
|
858
861
|
th: m(({ th: l }) => [
|
|
859
|
-
|
|
862
|
+
T("div", {
|
|
860
863
|
innerHTML: l,
|
|
861
864
|
style: { display: "flex", "align-items": "center" }
|
|
862
|
-
}, null, 8,
|
|
865
|
+
}, null, 8, ll)
|
|
863
866
|
]),
|
|
864
867
|
td: m(({ td: l }) => [
|
|
865
868
|
Ve(L(l.name || l), 1)
|
|
@@ -869,9 +872,9 @@ const Ct = ["id"], _t = ["xmlns", "viewBox"], $t = ["x", "y", "width", "height"]
|
|
|
869
872
|
]),
|
|
870
873
|
_: 1
|
|
871
874
|
}, 8, ["config"])) : v("", !0)
|
|
872
|
-
], 46,
|
|
875
|
+
], 46, $t));
|
|
873
876
|
}
|
|
874
|
-
},
|
|
877
|
+
}, bl = /* @__PURE__ */ _t(al, [["__scopeId", "data-v-72f2ea72"]]);
|
|
875
878
|
export {
|
|
876
|
-
|
|
879
|
+
bl as default
|
|
877
880
|
};
|