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 { computed as p, ref as n, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import { D as
|
|
8
|
-
import
|
|
9
|
-
import { _ as yt } from "./Shape-
|
|
10
|
-
import
|
|
11
|
-
import { u as Ae } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import {
|
|
16
|
-
|
|
1
|
+
import { computed as p, ref as n, watch as Ve, onMounted as Ee, onBeforeUnmount as Re, createElementBlock as u, openBlock as s, unref as v, normalizeStyle as B, normalizeClass as F, createBlock as T, createCommentVNode as c, createVNode as $e, createSlots as He, withCtx as y, renderSlot as f, normalizeProps as M, guardReactiveProps as W, createElementVNode as k, Fragment as g, renderList as w, toDisplayString as L, mergeProps as Be, createTextVNode as Xe, nextTick as je } from "vue";
|
|
2
|
+
import { u as Ye, c as ee, t as qe, p as A, a as Je, o as Ke, e as te, g as _e, b as Qe, d as Te, v as Ze, D as et, f as X, X as tt, i as le, l as lt, h as at, x as Le, F as ot, q as st, r as rt, y as ut } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as it, u as nt } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as vt } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as ct, U as ht } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { _ as dt } from "./Tooltip-DRw9RoFp.js";
|
|
7
|
+
import { D as pt } from "./DataTable-D0-zzsJg.js";
|
|
8
|
+
import ft from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
9
|
+
import { _ as yt } from "./Shape-Dtm6toQp.js";
|
|
10
|
+
import bt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { u as Ae } from "./useNestedProp-Cg0NIwr6.js";
|
|
12
|
+
import { _ as mt } from "./PackageVersion-J_USnljf.js";
|
|
13
|
+
import { P as gt } from "./PenAndPaper-CoEXEMcN.js";
|
|
14
|
+
import { u as kt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { u as xt } from "./useChartAccessibility-BWojgys7.js";
|
|
16
|
+
import { _ as wt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
|
+
const Ct = ["id"], $t = ["xmlns", "viewBox"], _t = ["x", "y", "width", "height"], Tt = { key: 1 }, Lt = { key: 0 }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = { key: 1 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size"], Ft = ["x", "y", "font-size", "fill"], Mt = ["fill", "font-size", "transform"], Wt = ["fill", "font-size", "x", "y"], It = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["cx", "cy", "fill"], Gt = ["cx", "cy", "fill"], Ut = ["id"], Vt = ["stop-color"], Et = ["stop-color"], Rt = ["stop-color"], Ht = { key: 0 }, Bt = ["x", "y", "font-size", "fill"], Xt = {
|
|
17
18
|
key: 5,
|
|
18
19
|
class: "vue-data-ui-watermark"
|
|
19
|
-
},
|
|
20
|
+
}, jt = ["innerHTML"], Yt = {
|
|
20
21
|
__name: "vue-ui-strip-plot",
|
|
21
22
|
props: {
|
|
22
23
|
config: {
|
|
@@ -34,7 +35,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
34
35
|
},
|
|
35
36
|
emits: ["selectDatapoint"],
|
|
36
37
|
setup(Pe, { expose: Se, emit: Oe }) {
|
|
37
|
-
const { vue_ui_strip_plot: ze } =
|
|
38
|
+
const { vue_ui_strip_plot: ze } = Ye(), b = Pe, Ne = Oe, C = p({
|
|
38
39
|
get() {
|
|
39
40
|
return !!b.dataset && b.dataset.length;
|
|
40
41
|
},
|
|
@@ -44,7 +45,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
44
45
|
}), j = n(ee()), ae = n(0), Y = n(!1), q = n(""), P = n(null), oe = n(null), se = n(null), re = n(null), ue = n(!1), ie = n(0), ne = n(0), e = p({
|
|
45
46
|
get: () => he(),
|
|
46
47
|
set: (t) => t
|
|
47
|
-
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } =
|
|
48
|
+
}), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: ce } = kt({ config: e.value }), { svgRef: Fe } = xt({ config: e.value.style.chart.title });
|
|
48
49
|
function he() {
|
|
49
50
|
const t = Ae({
|
|
50
51
|
userConfig: b.config,
|
|
@@ -52,21 +53,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
52
53
|
});
|
|
53
54
|
return t.theme ? {
|
|
54
55
|
...Ae({
|
|
55
|
-
userConfig:
|
|
56
|
+
userConfig: Je.vue_ui_strip_plot[t.theme] || b.config,
|
|
56
57
|
defaultConfig: t
|
|
57
58
|
}),
|
|
58
|
-
customPalette:
|
|
59
|
+
customPalette: qe[t.theme] || A
|
|
59
60
|
} : t;
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
+
Ve(() => b.config, (t) => {
|
|
62
63
|
e.value = he(), J.value = !e.value.userOptions.showOnChartHover, de(), ie.value += 1, ne.value += 1, d.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, d.value.showTable = e.value.table.show, d.value.showTooltip = e.value.style.chart.tooltip.show;
|
|
63
64
|
}, { deep: !0 });
|
|
64
65
|
const I = n(null);
|
|
65
|
-
|
|
66
|
+
Ee(() => {
|
|
66
67
|
de();
|
|
67
68
|
});
|
|
68
69
|
function de() {
|
|
69
|
-
if (
|
|
70
|
+
if (Ke(b.dataset) ? te({
|
|
70
71
|
componentName: "VueUiStripPlot",
|
|
71
72
|
type: "dataset"
|
|
72
73
|
}) : b.dataset.forEach((t, o) => {
|
|
@@ -94,15 +95,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
94
95
|
});
|
|
95
96
|
});
|
|
96
97
|
}), e.value.responsive) {
|
|
97
|
-
const t =
|
|
98
|
-
const { width: o, height: l } =
|
|
98
|
+
const t = it(() => {
|
|
99
|
+
const { width: o, height: l } = nt({
|
|
99
100
|
chart: P.value,
|
|
100
101
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
101
102
|
source: se.value,
|
|
102
103
|
noTitle: re.value
|
|
103
104
|
});
|
|
104
105
|
requestAnimationFrame(() => {
|
|
105
|
-
D.value = l, S.value.width = o, S.value.height = l, N.value = (o - m.value.left - m.value.right) / b.dataset.length, G.value =
|
|
106
|
+
D.value = l, S.value.width = o, S.value.height = l, N.value = (o - m.value.left - m.value.right) / b.dataset.length, G.value = ot({
|
|
106
107
|
relator: Math.min(l, o),
|
|
107
108
|
adjuster: 600,
|
|
108
109
|
source: e.value.style.chart.plots.radius,
|
|
@@ -115,15 +116,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
115
116
|
}
|
|
116
117
|
ue.value = !0, setTimeout(() => {
|
|
117
118
|
z.value = !1;
|
|
118
|
-
},
|
|
119
|
+
}, We.value * 50);
|
|
119
120
|
}
|
|
120
|
-
|
|
121
|
+
Re(() => {
|
|
121
122
|
I.value && I.value.disconnect();
|
|
122
123
|
});
|
|
123
|
-
const { isPrinting: pe, isImaging:
|
|
124
|
+
const { isPrinting: pe, isImaging: fe, generatePdf: ye, generateImage: be } = ct({
|
|
124
125
|
elementId: `strip-plot_${j.value}`,
|
|
125
126
|
fileName: e.value.style.chart.title.text || "vue-ui-strip-plot"
|
|
126
|
-
}),
|
|
127
|
+
}), Me = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => Qe(e.value.customPalette)), z = n(e.value.useCssAnimation), d = n({
|
|
127
128
|
showTable: e.value.table.show,
|
|
128
129
|
dataLabels: {
|
|
129
130
|
show: e.value.style.chart.labels.bestPlotLabel.show
|
|
@@ -158,7 +159,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
158
159
|
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
159
160
|
plots: t.plots.map((r) => ({
|
|
160
161
|
...r,
|
|
161
|
-
value:
|
|
162
|
+
value: Ze(r.value),
|
|
162
163
|
parentId: l,
|
|
163
164
|
color: t.color ? Te(t.color) : me.value[o] || A[o] || A[o % A.length],
|
|
164
165
|
id: ee()
|
|
@@ -170,13 +171,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
170
171
|
...l,
|
|
171
172
|
x: a.value.left + (o + 1) * a.value.stripWidth - a.value.stripWidth / 2
|
|
172
173
|
}))
|
|
173
|
-
}))),
|
|
174
|
+
}))), We = p(() => Math.max(...x.value.map((t) => t.plots.length))), K = p(() => {
|
|
174
175
|
const t = x.value.flatMap((o) => o.plots.map((l) => l.value));
|
|
175
176
|
return {
|
|
176
177
|
max: Math.max(...t),
|
|
177
178
|
min: Math.min(...t)
|
|
178
179
|
};
|
|
179
|
-
}), $ = p(() =>
|
|
180
|
+
}), $ = p(() => et(K.value.min < 0 ? K.value.min : 0, K.value.max, e.value.style.chart.grid.scaleSteps)), Ie = p(() => (x.value || []).map((t, o) => ({
|
|
180
181
|
...t,
|
|
181
182
|
plots: t.plots.map((l) => ({
|
|
182
183
|
...l,
|
|
@@ -188,10 +189,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
188
189
|
x2: a.value.right,
|
|
189
190
|
value: t
|
|
190
191
|
}))), Q = n(null), h = n(null);
|
|
191
|
-
function
|
|
192
|
+
function De({ datapoint: t, seriesIndex: o }) {
|
|
192
193
|
Q.value = { datapoint: t, seriesIndex: o, config: e.value, series: U.value }, Y.value = !0, h.value = t;
|
|
193
194
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
194
|
-
if (Le(l) &&
|
|
195
|
+
if (Le(l) && ut(() => l({
|
|
195
196
|
seriesIndex: o,
|
|
196
197
|
datapoint: t,
|
|
197
198
|
series: U.value,
|
|
@@ -226,11 +227,11 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
226
227
|
return { head: t, body: o };
|
|
227
228
|
});
|
|
228
229
|
function ke() {
|
|
229
|
-
|
|
230
|
+
je(() => {
|
|
230
231
|
const t = V.value.head.map((r, i) => [[
|
|
231
232
|
r.name
|
|
232
|
-
], [V.value.body[i]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l =
|
|
233
|
-
|
|
233
|
+
], [V.value.body[i]]]), o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(t), l = st(o);
|
|
234
|
+
rt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
|
|
234
235
|
});
|
|
235
236
|
}
|
|
236
237
|
const E = p(() => {
|
|
@@ -238,7 +239,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
238
239
|
e.value.table.columnNames.series,
|
|
239
240
|
e.value.table.columnNames.value
|
|
240
241
|
], o = V.value.head.map((i, _) => {
|
|
241
|
-
const
|
|
242
|
+
const H = X({
|
|
242
243
|
p: e.value.style.chart.labels.prefix,
|
|
243
244
|
v: V.value.body[_],
|
|
244
245
|
s: e.value.style.chart.labels.suffix,
|
|
@@ -249,7 +250,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
249
250
|
color: i.color,
|
|
250
251
|
name: i.name
|
|
251
252
|
},
|
|
252
|
-
|
|
253
|
+
H
|
|
253
254
|
];
|
|
254
255
|
}), l = {
|
|
255
256
|
th: {
|
|
@@ -274,10 +275,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
274
275
|
config: l
|
|
275
276
|
};
|
|
276
277
|
}), O = n(!1);
|
|
277
|
-
function
|
|
278
|
+
function Ge(t) {
|
|
278
279
|
O.value = t, ae.value += 1;
|
|
279
280
|
}
|
|
280
|
-
function
|
|
281
|
+
function Ue() {
|
|
281
282
|
return x.value;
|
|
282
283
|
}
|
|
283
284
|
function xe() {
|
|
@@ -289,13 +290,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
289
290
|
function Ce() {
|
|
290
291
|
d.value.showTooltip = !d.value.showTooltip;
|
|
291
292
|
}
|
|
292
|
-
const
|
|
293
|
+
const R = n(!1);
|
|
293
294
|
function Z() {
|
|
294
|
-
|
|
295
|
+
R.value = !R.value;
|
|
295
296
|
}
|
|
296
297
|
return Se({
|
|
297
|
-
getData:
|
|
298
|
-
generatePdf:
|
|
298
|
+
getData: Ue,
|
|
299
|
+
generatePdf: ye,
|
|
299
300
|
generateCsv: ke,
|
|
300
301
|
generateImage: be,
|
|
301
302
|
toggleTable: xe,
|
|
@@ -311,15 +312,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
311
312
|
onMouseenter: o[2] || (o[2] = () => v(ve)(!0)),
|
|
312
313
|
onMouseleave: o[3] || (o[3] = () => v(ve)(!1))
|
|
313
314
|
}, [
|
|
314
|
-
e.value.userOptions.buttons.annotator ? (s(), T(
|
|
315
|
+
e.value.userOptions.buttons.annotator ? (s(), T(gt, {
|
|
315
316
|
key: 0,
|
|
316
317
|
parent: P.value,
|
|
317
318
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
318
319
|
color: e.value.style.chart.color,
|
|
319
|
-
active:
|
|
320
|
+
active: R.value,
|
|
320
321
|
onClose: Z
|
|
321
322
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
|
|
322
|
-
|
|
323
|
+
Me.value ? (s(), u("div", {
|
|
323
324
|
key: 1,
|
|
324
325
|
ref_key: "noTitle",
|
|
325
326
|
ref: re,
|
|
@@ -332,7 +333,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
332
333
|
ref: oe,
|
|
333
334
|
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
334
335
|
}, [
|
|
335
|
-
(s(), T(
|
|
336
|
+
(s(), T(vt, {
|
|
336
337
|
key: `title_${ie.value}`,
|
|
337
338
|
config: {
|
|
338
339
|
title: {
|
|
@@ -346,13 +347,13 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
346
347
|
}
|
|
347
348
|
}, null, 8, ["config"]))
|
|
348
349
|
], 512)) : c("", !0),
|
|
349
|
-
e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(
|
|
350
|
+
e.value.userOptions.show && C.value && (v(ce) || v(J)) ? (s(), T(ht, {
|
|
350
351
|
ref: "details",
|
|
351
352
|
key: `user_option_${ae.value}`,
|
|
352
353
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
353
354
|
color: e.value.style.chart.color,
|
|
354
355
|
isPrinting: v(pe),
|
|
355
|
-
isImaging: v(
|
|
356
|
+
isImaging: v(fe),
|
|
356
357
|
uid: j.value,
|
|
357
358
|
hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
|
|
358
359
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
@@ -367,9 +368,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
367
368
|
chartElement: P.value,
|
|
368
369
|
position: e.value.userOptions.position,
|
|
369
370
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
370
|
-
isAnnotation:
|
|
371
|
-
onToggleFullscreen:
|
|
372
|
-
onGeneratePdf: v(
|
|
371
|
+
isAnnotation: R.value,
|
|
372
|
+
onToggleFullscreen: Ge,
|
|
373
|
+
onGeneratePdf: v(ye),
|
|
373
374
|
onGenerateCsv: ke,
|
|
374
375
|
onGenerateImage: v(be),
|
|
375
376
|
onToggleTable: xe,
|
|
@@ -382,69 +383,71 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
382
383
|
}, He({ _: 2 }, [
|
|
383
384
|
t.$slots.optionTooltip ? {
|
|
384
385
|
name: "optionTooltip",
|
|
385
|
-
fn:
|
|
386
|
-
|
|
386
|
+
fn: y(() => [
|
|
387
|
+
f(t.$slots, "optionTooltip", {}, void 0, !0)
|
|
387
388
|
]),
|
|
388
389
|
key: "0"
|
|
389
390
|
} : void 0,
|
|
390
391
|
t.$slots.optionPdf ? {
|
|
391
392
|
name: "optionPdf",
|
|
392
|
-
fn:
|
|
393
|
-
|
|
393
|
+
fn: y(() => [
|
|
394
|
+
f(t.$slots, "optionPdf", {}, void 0, !0)
|
|
394
395
|
]),
|
|
395
396
|
key: "1"
|
|
396
397
|
} : void 0,
|
|
397
398
|
t.$slots.optionCsv ? {
|
|
398
399
|
name: "optionCsv",
|
|
399
|
-
fn:
|
|
400
|
-
|
|
400
|
+
fn: y(() => [
|
|
401
|
+
f(t.$slots, "optionCsv", {}, void 0, !0)
|
|
401
402
|
]),
|
|
402
403
|
key: "2"
|
|
403
404
|
} : void 0,
|
|
404
405
|
t.$slots.optionImg ? {
|
|
405
406
|
name: "optionImg",
|
|
406
|
-
fn:
|
|
407
|
-
|
|
407
|
+
fn: y(() => [
|
|
408
|
+
f(t.$slots, "optionImg", {}, void 0, !0)
|
|
408
409
|
]),
|
|
409
410
|
key: "3"
|
|
410
411
|
} : void 0,
|
|
411
412
|
t.$slots.optionTable ? {
|
|
412
413
|
name: "optionTable",
|
|
413
|
-
fn:
|
|
414
|
-
|
|
414
|
+
fn: y(() => [
|
|
415
|
+
f(t.$slots, "optionTable", {}, void 0, !0)
|
|
415
416
|
]),
|
|
416
417
|
key: "4"
|
|
417
418
|
} : void 0,
|
|
418
419
|
t.$slots.optionLabels ? {
|
|
419
420
|
name: "optionLabels",
|
|
420
|
-
fn:
|
|
421
|
-
|
|
421
|
+
fn: y(() => [
|
|
422
|
+
f(t.$slots, "optionLabels", {}, void 0, !0)
|
|
422
423
|
]),
|
|
423
424
|
key: "5"
|
|
424
425
|
} : void 0,
|
|
425
426
|
t.$slots.optionFullscreen ? {
|
|
426
427
|
name: "optionFullscreen",
|
|
427
|
-
fn:
|
|
428
|
-
|
|
428
|
+
fn: y(({ toggleFullscreen: l, isFullscreen: r }) => [
|
|
429
|
+
f(t.$slots, "optionFullscreen", M(W({ toggleFullscreen: l, isFullscreen: r })), void 0, !0)
|
|
429
430
|
]),
|
|
430
431
|
key: "6"
|
|
431
432
|
} : void 0,
|
|
432
433
|
t.$slots.optionAnnotator ? {
|
|
433
434
|
name: "optionAnnotator",
|
|
434
|
-
fn:
|
|
435
|
-
|
|
435
|
+
fn: y(({ toggleAnnotator: l, isAnnotator: r }) => [
|
|
436
|
+
f(t.$slots, "optionAnnotator", M(W({ toggleAnnotator: l, isAnnotator: r })), void 0, !0)
|
|
436
437
|
]),
|
|
437
438
|
key: "7"
|
|
438
439
|
} : void 0
|
|
439
440
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
440
441
|
C.value ? (s(), u("svg", {
|
|
441
442
|
key: 4,
|
|
442
|
-
|
|
443
|
+
ref_key: "svgRef",
|
|
444
|
+
ref: Fe,
|
|
445
|
+
xmlns: v(tt),
|
|
443
446
|
class: F({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
|
|
444
447
|
viewBox: `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`,
|
|
445
448
|
style: B(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`)
|
|
446
449
|
}, [
|
|
447
|
-
$e(
|
|
450
|
+
$e(mt),
|
|
448
451
|
t.$slots["chart-background"] ? (s(), u("foreignObject", {
|
|
449
452
|
key: 0,
|
|
450
453
|
x: a.value.left,
|
|
@@ -455,10 +458,10 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
455
458
|
pointerEvents: "none"
|
|
456
459
|
}
|
|
457
460
|
}, [
|
|
458
|
-
|
|
459
|
-
], 8,
|
|
460
|
-
e.value.style.chart.grid.show ? (s(), u("g",
|
|
461
|
-
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g",
|
|
461
|
+
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
462
|
+
], 8, _t)) : c("", !0),
|
|
463
|
+
e.value.style.chart.grid.show ? (s(), u("g", Tt, [
|
|
464
|
+
e.value.style.chart.grid.horizontalGrid.show ? (s(), u("g", Lt, [
|
|
462
465
|
(s(!0), u(g, null, w(ge.value, (l) => (s(), u("line", {
|
|
463
466
|
x1: l.x1,
|
|
464
467
|
x2: l.x2,
|
|
@@ -468,9 +471,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
468
471
|
"stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
|
|
469
472
|
"stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
|
|
470
473
|
"stroke-linecap": "round"
|
|
471
|
-
}, null, 8,
|
|
474
|
+
}, null, 8, At))), 256))
|
|
472
475
|
])) : c("", !0),
|
|
473
|
-
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g",
|
|
476
|
+
e.value.style.chart.grid.verticalGrid.show ? (s(), u("g", Pt, [
|
|
474
477
|
(s(!0), u(g, null, w(x.value, (l, r) => (s(), u("line", {
|
|
475
478
|
x1: a.value.left + (r + 1) * a.value.stripWidth,
|
|
476
479
|
x2: a.value.left + (r + 1) * a.value.stripWidth,
|
|
@@ -480,7 +483,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
480
483
|
"stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
|
|
481
484
|
"stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
|
|
482
485
|
"stroke-linecap": "round"
|
|
483
|
-
}, null, 8,
|
|
486
|
+
}, null, 8, St))), 256))
|
|
484
487
|
])) : c("", !0),
|
|
485
488
|
k("line", {
|
|
486
489
|
x1: a.value.left,
|
|
@@ -490,7 +493,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
490
493
|
stroke: e.value.style.chart.grid.stroke,
|
|
491
494
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
492
495
|
"stroke-linecap": "round"
|
|
493
|
-
}, null, 8,
|
|
496
|
+
}, null, 8, Ot),
|
|
494
497
|
k("line", {
|
|
495
498
|
x1: a.value.left,
|
|
496
499
|
x2: a.value.right,
|
|
@@ -499,7 +502,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
499
502
|
stroke: e.value.style.chart.grid.stroke,
|
|
500
503
|
"stroke-width": e.value.style.chart.grid.strokeWidth,
|
|
501
504
|
"stroke-linecap": "round"
|
|
502
|
-
}, null, 8,
|
|
505
|
+
}, null, 8, zt)
|
|
503
506
|
])) : c("", !0),
|
|
504
507
|
e.value.style.chart.labels.yAxisLabels.show ? (s(!0), u(g, { key: 2 }, w(ge.value, (l, r) => (s(), u("text", {
|
|
505
508
|
x: l.x1 - e.value.style.chart.labels.yAxisLabels.fontSize / 2 + e.value.style.chart.labels.yAxisLabels.offsetX,
|
|
@@ -517,21 +520,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
517
520
|
r: e.value.style.chart.labels.yAxisLabels.rounding
|
|
518
521
|
}),
|
|
519
522
|
{ datapoint: l, seriesIndex: r }
|
|
520
|
-
)), 9,
|
|
523
|
+
)), 9, Nt))), 256)) : c("", !0),
|
|
521
524
|
e.value.style.chart.labels.xAxisLabels.show ? (s(!0), u(g, { key: 3 }, w(x.value, (l, r) => (s(), u("text", {
|
|
522
525
|
x: a.value.left + (r + 1) * a.value.stripWidth - a.value.stripWidth / 2,
|
|
523
526
|
y: a.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY,
|
|
524
527
|
"font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
|
|
525
528
|
fill: e.value.style.chart.labels.xAxisLabels.color,
|
|
526
529
|
"text-anchor": "middle"
|
|
527
|
-
}, L(l.name), 9,
|
|
530
|
+
}, L(l.name), 9, Ft))), 256)) : c("", !0),
|
|
528
531
|
e.value.style.chart.labels.axis.yLabel ? (s(), u("text", {
|
|
529
532
|
key: 4,
|
|
530
533
|
fill: e.value.style.chart.labels.axis.color,
|
|
531
534
|
"font-size": e.value.style.chart.labels.axis.fontSize,
|
|
532
535
|
transform: `translate(${e.value.style.chart.labels.axis.fontSize + e.value.style.chart.labels.axis.yLabelOffsetX}, ${a.value.top + a.value.height / 2}) rotate(-90)`,
|
|
533
536
|
"text-anchor": "middle"
|
|
534
|
-
}, L(e.value.style.chart.labels.axis.yLabel), 9,
|
|
537
|
+
}, L(e.value.style.chart.labels.axis.yLabel), 9, Mt)) : c("", !0),
|
|
535
538
|
e.value.style.chart.labels.axis.xLabel ? (s(), u("text", {
|
|
536
539
|
key: 5,
|
|
537
540
|
fill: e.value.style.chart.labels.axis.color,
|
|
@@ -539,7 +542,7 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
539
542
|
x: a.value.left + a.value.width / 2,
|
|
540
543
|
y: a.value.absoluteHeight,
|
|
541
544
|
"text-anchor": "middle"
|
|
542
|
-
}, L(e.value.style.chart.labels.axis.xLabel), 9,
|
|
545
|
+
}, L(e.value.style.chart.labels.axis.xLabel), 9, Wt)) : c("", !0),
|
|
543
546
|
h.value ? (s(), u(g, { key: 6 }, [
|
|
544
547
|
k("line", {
|
|
545
548
|
x1: a.value.left,
|
|
@@ -549,21 +552,21 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
549
552
|
stroke: h.value.color,
|
|
550
553
|
"stroke-width": 1,
|
|
551
554
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
552
|
-
}, null, 10,
|
|
555
|
+
}, null, 10, It),
|
|
553
556
|
k("circle", {
|
|
554
557
|
cx: a.value.left,
|
|
555
558
|
cy: h.value.y,
|
|
556
559
|
r: 3,
|
|
557
560
|
fill: h.value.color,
|
|
558
561
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
559
|
-
}, null, 10,
|
|
562
|
+
}, null, 10, Dt),
|
|
560
563
|
k("circle", {
|
|
561
564
|
cx: a.value.right,
|
|
562
565
|
cy: h.value.y,
|
|
563
566
|
r: 3,
|
|
564
567
|
fill: h.value.color,
|
|
565
568
|
class: F({ "select-circle": e.value.useCssAnimation })
|
|
566
|
-
}, null, 10,
|
|
569
|
+
}, null, 10, Gt)
|
|
567
570
|
], 64)) : c("", !0),
|
|
568
571
|
k("defs", null, [
|
|
569
572
|
(s(!0), u(g, null, w(x.value, (l) => (s(), u("radialGradient", {
|
|
@@ -572,36 +575,36 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
572
575
|
}, [
|
|
573
576
|
k("stop", {
|
|
574
577
|
offset: "10%",
|
|
575
|
-
"stop-color": v(
|
|
576
|
-
}, null, 8,
|
|
578
|
+
"stop-color": v(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
|
|
579
|
+
}, null, 8, Vt),
|
|
577
580
|
k("stop", {
|
|
578
581
|
offset: "90%",
|
|
579
|
-
"stop-color": v(
|
|
580
|
-
}, null, 8,
|
|
582
|
+
"stop-color": v(at)(l.color, 0.1)
|
|
583
|
+
}, null, 8, Et),
|
|
581
584
|
k("stop", {
|
|
582
585
|
offset: "100%",
|
|
583
586
|
"stop-color": l.color
|
|
584
|
-
}, null, 8,
|
|
585
|
-
], 8,
|
|
587
|
+
}, null, 8, Rt)
|
|
588
|
+
], 8, Ut))), 256))
|
|
586
589
|
]),
|
|
587
|
-
(s(!0), u(g, null, w(
|
|
588
|
-
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(yt,
|
|
590
|
+
(s(!0), u(g, null, w(Ie.value, (l, r) => (s(), u(g, null, [
|
|
591
|
+
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), T(yt, Be({
|
|
589
592
|
plot: { x: i.x, y: ue.value ? i.y : a.value.top },
|
|
590
593
|
radius: h.value && h.value.id === i.id ? G.value * 1.5 : G.value,
|
|
591
594
|
shape: e.value.style.chart.plots.shape,
|
|
592
595
|
stroke: e.value.style.chart.plots.stroke,
|
|
593
596
|
strokeWidth: e.value.style.chart.plots.strokeWidth,
|
|
594
597
|
color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
|
|
595
|
-
onMouseenter: (
|
|
596
|
-
onMouseleave: o[0] || (o[0] = (
|
|
598
|
+
onMouseenter: (H) => De({ datapoint: i, seriesIndex: _ }),
|
|
599
|
+
onMouseleave: o[0] || (o[0] = (H) => {
|
|
597
600
|
Y.value = !1, h.value = null;
|
|
598
601
|
}),
|
|
599
|
-
onClick: (
|
|
602
|
+
onClick: (H) => Ne("selectDatapoint", i),
|
|
600
603
|
style: `transition: all 0.2s ease-in-out; opacity:${h.value ? h.value.id === i.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${z.value ? `transition-delay:${_ * 50}ms` : ""}`,
|
|
601
604
|
class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && z.value, "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !z.value },
|
|
602
605
|
ref_for: !0
|
|
603
606
|
}, t.$attrs), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "onMouseenter", "onClick", "style", "class"]))), 256)),
|
|
604
|
-
d.value.dataLabels.show ? (s(), u("g",
|
|
607
|
+
d.value.dataLabels.show ? (s(), u("g", Ht, [
|
|
605
608
|
(s(!0), u(g, null, w(l.plots, (i, _) => (s(), u(g, null, [
|
|
606
609
|
_ === l.plots.length - 1 || h.value && h.value.id === i.id && !d.value.showTooltip ? (s(), u("text", {
|
|
607
610
|
key: 0,
|
|
@@ -621,16 +624,16 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
621
624
|
r: e.value.style.chart.labels.bestPlotLabel.rounding
|
|
622
625
|
}),
|
|
623
626
|
{ datapoint: i, seriesIndex: _ }
|
|
624
|
-
) : ""), 13,
|
|
627
|
+
) : ""), 13, Bt)) : c("", !0)
|
|
625
628
|
], 64))), 256))
|
|
626
629
|
])) : c("", !0)
|
|
627
630
|
], 64))), 256)),
|
|
628
|
-
|
|
629
|
-
], 14,
|
|
630
|
-
t.$slots.watermark ? (s(), u("div",
|
|
631
|
-
|
|
631
|
+
f(t.$slots, "svg", { svg: a.value }, void 0, !0)
|
|
632
|
+
], 14, $t)) : c("", !0),
|
|
633
|
+
t.$slots.watermark ? (s(), u("div", Xt, [
|
|
634
|
+
f(t.$slots, "watermark", M(W({ isPrinting: v(pe) || v(fe) })), void 0, !0)
|
|
632
635
|
])) : c("", !0),
|
|
633
|
-
C.value ? c("", !0) : (s(), T(
|
|
636
|
+
C.value ? c("", !0) : (s(), T(ft, {
|
|
634
637
|
key: 6,
|
|
635
638
|
config: {
|
|
636
639
|
type: "stripPlot",
|
|
@@ -648,9 +651,9 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
648
651
|
ref: se,
|
|
649
652
|
dir: "auto"
|
|
650
653
|
}, [
|
|
651
|
-
|
|
654
|
+
f(t.$slots, "source", {}, void 0, !0)
|
|
652
655
|
], 512)) : c("", !0),
|
|
653
|
-
$e(
|
|
656
|
+
$e(dt, {
|
|
654
657
|
show: d.value.showTooltip && Y.value,
|
|
655
658
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
656
659
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -666,15 +669,15 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
666
669
|
isFullscreen: O.value,
|
|
667
670
|
isCustom: v(Le)(e.value.style.chart.tooltip.customFormat)
|
|
668
671
|
}, {
|
|
669
|
-
"tooltip-before":
|
|
670
|
-
|
|
672
|
+
"tooltip-before": y(() => [
|
|
673
|
+
f(t.$slots, "tooltip-before", M(W({ ...Q.value })), void 0, !0)
|
|
671
674
|
]),
|
|
672
|
-
"tooltip-after":
|
|
673
|
-
|
|
675
|
+
"tooltip-after": y(() => [
|
|
676
|
+
f(t.$slots, "tooltip-after", M(W({ ...Q.value })), void 0, !0)
|
|
674
677
|
]),
|
|
675
678
|
_: 3
|
|
676
679
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
677
|
-
C.value ? (s(), T(
|
|
680
|
+
C.value ? (s(), T(bt, {
|
|
678
681
|
key: 8,
|
|
679
682
|
hideDetails: "",
|
|
680
683
|
config: {
|
|
@@ -690,8 +693,8 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
690
693
|
}
|
|
691
694
|
}
|
|
692
695
|
}, {
|
|
693
|
-
content:
|
|
694
|
-
(s(), T(
|
|
696
|
+
content: y(() => [
|
|
697
|
+
(s(), T(pt, {
|
|
695
698
|
key: `table_${ne.value}`,
|
|
696
699
|
colNames: E.value.colNames,
|
|
697
700
|
head: E.value.head,
|
|
@@ -700,23 +703,23 @@ const xt = ["id"], wt = ["xmlns", "viewBox"], Ct = ["x", "y", "width", "height"]
|
|
|
700
703
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
701
704
|
onClose: o[1] || (o[1] = (l) => d.value.showTable = !1)
|
|
702
705
|
}, {
|
|
703
|
-
th:
|
|
706
|
+
th: y(({ th: l }) => [
|
|
704
707
|
k("div", {
|
|
705
708
|
innerHTML: l,
|
|
706
709
|
style: { display: "flex", "align-items": "center" }
|
|
707
|
-
}, null, 8,
|
|
710
|
+
}, null, 8, jt)
|
|
708
711
|
]),
|
|
709
|
-
td:
|
|
710
|
-
|
|
712
|
+
td: y(({ td: l }) => [
|
|
713
|
+
Xe(L(l.name || l), 1)
|
|
711
714
|
]),
|
|
712
715
|
_: 1
|
|
713
716
|
}, 8, ["colNames", "head", "body", "config", "title"]))
|
|
714
717
|
]),
|
|
715
718
|
_: 1
|
|
716
719
|
}, 8, ["config"])) : c("", !0)
|
|
717
|
-
], 46,
|
|
720
|
+
], 46, Ct));
|
|
718
721
|
}
|
|
719
|
-
},
|
|
722
|
+
}, cl = /* @__PURE__ */ wt(Yt, [["__scopeId", "data-v-a6cdb6b5"]]);
|
|
720
723
|
export {
|
|
721
|
-
|
|
724
|
+
cl as default
|
|
722
725
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("./index-DD4PT0Pl.cjs"),e=require("vue"),p=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),b={name:"vue-ui-table",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},data(){return{uid:`vue-ui-table-${Math.random()}`,bodyCopy:JSON.parse(JSON.stringify(this.dataset.body)).map((n,o)=>({...n,absoluteIndex:o})),buttonTimeout:null,canMoveChart:!1,chart:{height:316,type:"bar",width:512},constants:{ASC:1,BAR:"bar",DATE:"date",DESC:-1,DONUT:"donut",LINE:"line",NUMERIC:"numeric",PERCENTAGE:"percentage",TEXT:"text"},clientX:100,clientY:100,cssClass:{CELL:"smart-td-selected",FIRST_TD:"smart-td-selected-first",LAST_TD:"smart-td-selected-last",ROW:"smart-td-selected-neighbor"},currentDonut:void 0,currentFilter:void 0,currentSearch:void 0,currentSelectionSpan:{col:void 0,rows:[]},currentPage:0,dates:{},filteredDatesIndexes:{},hasNaN:{},iconColor:"#2D353C",iconSize:20,immutableRangeFilters:{},isExportRequest:!1,isLoading:!1,itemsPerPage:this.config.rowsPerPage?this.config.rowsPerPage:25,multiselects:{},paginatorOptions:[...new Set([10,25,50,100,250,500,this.config.rowsPerPage?this.config.rowsPerPage:25,this.dataset.body.length])].sort((n,o)=>n-o),palette:m.palette,percentages:{},rafId:null,rangeFilters:{},searches:{},selectedColumn:void 0,selectedDonutCategory:void 0,selectedPlot:void 0,showChart:!1,showDonutOptions:!1,sorts:{},tableBody:JSON.parse(JSON.stringify(this.dataset.body)).map((n,o)=>({...n,absoluteIndex:o})),tableHead:JSON.parse(JSON.stringify(this.dataset.header)).map(n=>({average:Object.hasOwn(n,"average")?n.average:!1,decimals:Object.hasOwn(n,"decimals")?n.decimals:0,isMultiselect:Object.hasOwn(n,"isMultiselect")?n.isMultiselect:!1,isPercentage:Object.hasOwn(n,"isPercentage")?n.isPercentage:!1,isSearch:Object.hasOwn(n,"isSearch")?n.isSearch:!1,isSort:Object.hasOwn(n,"isSort")?n.isSort:!1,name:n.name,percentageTo:Object.hasOwn(n,"percentageTo")?n.percentageTo:void 0,prefix:Object.hasOwn(n,"prefix")?n.prefix:"",rangeFilter:Object.hasOwn(n,"rangeFilter")?n.rangeFilter:!1,suffix:Object.hasOwn(n,"suffix")?n.suffix:"",sum:Object.hasOwn(n,"sum")?n.sum:!1,type:n.type}))}},mounted(){if(this.dataset.header.length===0)throw new Error(`vue-ui-table error: missing header data.
|
|
2
2
|
Provide an array of objects of type:
|
|
3
3
|
{
|
|
4
4
|
name: string;
|