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,23 +1,24 @@
|
|
|
1
|
-
import { useSlots 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 { L as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { u as De } from "./useNestedProp-
|
|
12
|
-
import { _ as
|
|
13
|
-
import { P as
|
|
14
|
-
import { u as
|
|
15
|
-
import { _ as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { useSlots as at, computed as d, ref as v, watch as ze, onMounted as ot, onBeforeUnmount as ut, createElementBlock as s, openBlock as r, unref as c, normalizeStyle as W, normalizeClass as Ne, createBlock as N, createCommentVNode as y, createElementVNode as x, createVNode as se, createSlots as Be, withCtx as m, renderSlot as g, normalizeProps as q, guardReactiveProps as H, Fragment as $, renderList as L, mergeProps as Ve, toDisplayString as A, createTextVNode as Me, nextTick as rt } from "vue";
|
|
2
|
+
import { u as st, c as nt, t as it, p as B, a as vt, o as ct, e as ne, g as dt, b as ht, i as G, f as _, X as pt, s as yt, w as ft, G as gt, L as mt, d as bt, q as wt, r as kt, x as xt, y as Ct } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as $t, u as _t } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as Tt } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as It, U as St } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { _ as Pt } from "./Tooltip-DRw9RoFp.js";
|
|
7
|
+
import { D as Ot } from "./DataTable-D0-zzsJg.js";
|
|
8
|
+
import { L as Lt } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import At from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
10
|
+
import Ft from "./vue-ui-accordion-DVtmOO3I.js";
|
|
11
|
+
import { u as De } from "./useNestedProp-Cg0NIwr6.js";
|
|
12
|
+
import { _ as zt } from "./PackageVersion-J_USnljf.js";
|
|
13
|
+
import { P as Nt } from "./PenAndPaper-CoEXEMcN.js";
|
|
14
|
+
import { u as Bt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
15
|
+
import { _ as Vt } from "./Shape-Dtm6toQp.js";
|
|
16
|
+
import { u as Mt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as Dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const Ut = ["id"], Rt = ["xmlns", "viewBox"], Gt = ["id"], jt = ["stop-color"], Et = ["stop-color"], Wt = ["id"], qt = ["x", "y", "height", "width"], Ht = ["height", "width"], Xt = { key: 0 }, Yt = ["rx", "x", "y", "height", "width", "stroke", "stroke-width", "filter"], Jt = ["rx", "x", "y", "height", "width", "fill", "stroke", "stroke-width", "filter"], Kt = { key: 1 }, Qt = ["rx", "x", "y", "height", "width", "fill", "filter"], Zt = ["x", "y", "height", "width", "filter"], el = { key: 0 }, tl = { key: 1 }, ll = { key: 2 }, al = { key: 3 }, ol = ["onMouseover", "x", "y", "height", "width"], ul = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, rl = ["onClick"], sl = { key: 0 }, nl = { key: 1 }, il = ["innerHTML"], vl = {
|
|
21
22
|
__name: "vue-ui-waffle",
|
|
22
23
|
props: {
|
|
23
24
|
config: {
|
|
@@ -34,11 +35,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
34
35
|
}
|
|
35
36
|
},
|
|
36
37
|
emits: ["selectLegend"],
|
|
37
|
-
setup(Ue, { expose:
|
|
38
|
-
const { vue_ui_waffle: je } =
|
|
38
|
+
setup(Ue, { expose: Re, emit: Ge }) {
|
|
39
|
+
const { vue_ui_waffle: je } = st(), b = Ue, Ee = at(), X = d(() => !!b.dataset && b.dataset.length), k = v(nt()), We = v(null), ee = v(!1), te = v(""), V = v(null), ie = v(0), M = v(null), ve = v(null), ce = v(null), de = v(null), he = v(null), pe = v(0), ye = v(0), fe = v(0), e = d({
|
|
39
40
|
get: () => be(),
|
|
40
41
|
set: (t) => t
|
|
41
|
-
}), { userOptionsVisible: le, setUserOptionsVisibility: ge, keepUserOptionState: me } =
|
|
42
|
+
}), { userOptionsVisible: le, setUserOptionsVisibility: ge, keepUserOptionState: me } = Bt({ config: e.value }), { svgRef: qe } = Mt({ config: e.value.style.chart.title });
|
|
42
43
|
function be() {
|
|
43
44
|
const t = De({
|
|
44
45
|
userConfig: b.config,
|
|
@@ -46,10 +47,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
46
47
|
});
|
|
47
48
|
return t.theme ? {
|
|
48
49
|
...De({
|
|
49
|
-
userConfig:
|
|
50
|
+
userConfig: vt.vue_ui_waffle[t.theme] || b.config,
|
|
50
51
|
defaultConfig: t
|
|
51
52
|
}),
|
|
52
|
-
customPalette:
|
|
53
|
+
customPalette: it[t.theme] || B
|
|
53
54
|
} : t;
|
|
54
55
|
}
|
|
55
56
|
ze(() => b.config, (t) => {
|
|
@@ -57,11 +58,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
57
58
|
}, { deep: !0 });
|
|
58
59
|
const Y = v(null);
|
|
59
60
|
function we() {
|
|
60
|
-
if (
|
|
61
|
+
if (ct(b.dataset) ? ne({
|
|
61
62
|
componentName: "VueUiWaffle",
|
|
62
63
|
type: "dataset"
|
|
63
64
|
}) : b.dataset.forEach((t, a) => {
|
|
64
|
-
|
|
65
|
+
dt({
|
|
65
66
|
datasetObject: t,
|
|
66
67
|
requiredAttributes: ["name", "values"]
|
|
67
68
|
}).forEach((l) => {
|
|
@@ -73,8 +74,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
73
74
|
});
|
|
74
75
|
});
|
|
75
76
|
}), e.value.responsive) {
|
|
76
|
-
const t =
|
|
77
|
-
const { width: a, height: l } =
|
|
77
|
+
const t = $t(() => {
|
|
78
|
+
const { width: a, height: l } = _t({
|
|
78
79
|
chart: M.value,
|
|
79
80
|
title: e.value.style.chart.title.text ? ve.value : null,
|
|
80
81
|
legend: e.value.style.chart.legend.show ? ce.value : null,
|
|
@@ -88,15 +89,15 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
88
89
|
Y.value = new ResizeObserver(t), Y.value.observe(M.value.parentNode);
|
|
89
90
|
}
|
|
90
91
|
}
|
|
91
|
-
|
|
92
|
+
ot(() => {
|
|
92
93
|
we();
|
|
93
|
-
}),
|
|
94
|
+
}), ut(() => {
|
|
94
95
|
Y.value && Y.value.disconnect();
|
|
95
96
|
});
|
|
96
|
-
const { isPrinting: ke, isImaging: xe, generatePdf: Ce, generateImage: $e } =
|
|
97
|
+
const { isPrinting: ke, isImaging: xe, generatePdf: Ce, generateImage: $e } = It({
|
|
97
98
|
elementId: `vue-ui-waffle_${k.value}`,
|
|
98
99
|
fileName: e.value.style.chart.title.text || "vue-ui-waffle"
|
|
99
|
-
}),
|
|
100
|
+
}), He = d(() => e.value.userOptions.show && !e.value.style.chart.title.text), _e = d(() => ht(e.value.customPalette)), C = v({
|
|
100
101
|
showTable: e.value.table.show,
|
|
101
102
|
showTooltip: e.value.style.chart.tooltip.show
|
|
102
103
|
}), F = v({
|
|
@@ -120,7 +121,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
120
121
|
function Ie() {
|
|
121
122
|
return b.dataset.map((t, a) => ({
|
|
122
123
|
...t,
|
|
123
|
-
color:
|
|
124
|
+
color: bt(t.color) || _e.value[a] || B[a] || B[a % B.length],
|
|
124
125
|
uid: `serie_${a}`,
|
|
125
126
|
absoluteIndex: a
|
|
126
127
|
}));
|
|
@@ -129,10 +130,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
129
130
|
ze(() => b.dataset, (t) => {
|
|
130
131
|
h.value = Ie();
|
|
131
132
|
}, { deep: !0 });
|
|
132
|
-
const
|
|
133
|
+
const Xe = d(() => {
|
|
133
134
|
const t = h.value.filter((a, l) => !p.value.includes(a.uid)).map((a, l) => (a.values || []).reduce((o, u) => o + u, 0));
|
|
134
135
|
return Te(t);
|
|
135
|
-
}),
|
|
136
|
+
}), Ye = d(() => {
|
|
136
137
|
const t = h.value.map((a, l) => (a.values || []).reduce((o, u) => o + u));
|
|
137
138
|
return Te(t);
|
|
138
139
|
}), E = d(() => (b.dataset.forEach((t, a) => {
|
|
@@ -149,25 +150,25 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
149
150
|
color: t.color,
|
|
150
151
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
151
152
|
absoluteValues: t.values || [],
|
|
152
|
-
proportion:
|
|
153
|
-
})))),
|
|
153
|
+
proportion: Xe.value[a]
|
|
154
|
+
})))), Je = d(() => h.value.map((t, a) => ({
|
|
154
155
|
absoluteIndex: t.absoluteIndex,
|
|
155
156
|
uid: t.uid,
|
|
156
157
|
name: t.name,
|
|
157
158
|
color: t.color,
|
|
158
159
|
value: (t.values || []).reduce((l, o) => l + o, 0),
|
|
159
160
|
absoluteValues: t.values || [],
|
|
160
|
-
proportion:
|
|
161
|
+
proportion: Ye.value[a]
|
|
161
162
|
})));
|
|
162
|
-
function
|
|
163
|
-
return
|
|
163
|
+
function Ke() {
|
|
164
|
+
return Je.value.map((t) => ({
|
|
164
165
|
name: t.name,
|
|
165
166
|
color: t.color,
|
|
166
167
|
value: t.value,
|
|
167
168
|
proportion: t.proportion
|
|
168
169
|
}));
|
|
169
170
|
}
|
|
170
|
-
const
|
|
171
|
+
const Qe = d(() => {
|
|
171
172
|
let t = 0;
|
|
172
173
|
return E.value.map((a, l) => {
|
|
173
174
|
const o = t, u = o + a.proportion, i = [];
|
|
@@ -179,7 +180,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
179
180
|
rects: i
|
|
180
181
|
};
|
|
181
182
|
});
|
|
182
|
-
}), n = d(() =>
|
|
183
|
+
}), n = d(() => Qe.value.flatMap((t, a) => t.rects.map((l, o) => ({
|
|
183
184
|
isFirst: o === 0,
|
|
184
185
|
isLongEnough: l.length > 2,
|
|
185
186
|
name: t.name,
|
|
@@ -236,7 +237,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
236
237
|
};
|
|
237
238
|
u();
|
|
238
239
|
}
|
|
239
|
-
|
|
240
|
+
tt("selectLegend", E.value.map((u) => ({
|
|
240
241
|
name: u.name,
|
|
241
242
|
color: u.color,
|
|
242
243
|
value: u.value,
|
|
@@ -255,7 +256,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
255
256
|
opacity: p.value.includes(t.uid) ? 0.5 : 1,
|
|
256
257
|
segregate: () => Oe(t.uid),
|
|
257
258
|
isSegregated: p.value.includes(t.uid)
|
|
258
|
-
}))),
|
|
259
|
+
}))), Ze = d(() => ({
|
|
259
260
|
cy: "waffle-div-legend",
|
|
260
261
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
261
262
|
color: e.value.style.chart.legend.color,
|
|
@@ -263,7 +264,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
263
264
|
paddingBottom: 12,
|
|
264
265
|
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
265
266
|
})), P = d(() => E.value.map((t) => t.value).reduce((t, a) => t + a, 0)), oe = v(null);
|
|
266
|
-
function
|
|
267
|
+
function et(t) {
|
|
267
268
|
if (p.value.length === b.dataset.length) return;
|
|
268
269
|
const a = n.value[t];
|
|
269
270
|
oe.value = {
|
|
@@ -273,7 +274,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
273
274
|
config: e.value
|
|
274
275
|
}, ee.value = !0, V.value = n.value[t].serieIndex;
|
|
275
276
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
276
|
-
if (
|
|
277
|
+
if (xt(l) && Ct(() => l({
|
|
277
278
|
seriesIndex: n.value[t].absoluteIndex,
|
|
278
279
|
datapoint: a,
|
|
279
280
|
series: h.value,
|
|
@@ -287,7 +288,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
287
288
|
});
|
|
288
289
|
else {
|
|
289
290
|
let o = "";
|
|
290
|
-
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${Ee.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${
|
|
291
|
+
if (o += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${a.name}</div>`, o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 60 60" height="14" width="14"><rect x="0" y="0" height="60" width="60" stroke="none" rx="1" fill="${a.color}" />${Ee.pattern ? `<rect x="0" y="0" height="60" width="60" stroke="none" rx="1" stroke="none" fill="url(#pattern_${k.value}_${a.absoluteIndex})"/>` : ""}</svg>`, e.value.style.chart.tooltip.showValue && (o += `<b>${G(
|
|
291
292
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
292
293
|
a.value,
|
|
293
294
|
_({
|
|
@@ -312,7 +313,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
312
313
|
te.value = o;
|
|
313
314
|
}
|
|
314
315
|
}
|
|
315
|
-
const
|
|
316
|
+
const tt = Ge, O = d(() => {
|
|
316
317
|
const t = E.value.map((l) => ({
|
|
317
318
|
name: l.name,
|
|
318
319
|
color: l.color
|
|
@@ -323,17 +324,17 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
323
324
|
return e.value.useBlurOnHover && ![null, void 0].includes(V.value) && V.value !== t ? `url(#blur_${k.value})` : "";
|
|
324
325
|
}
|
|
325
326
|
function Le() {
|
|
326
|
-
|
|
327
|
+
rt(() => {
|
|
327
328
|
const t = O.value.head.map((o, u) => [[
|
|
328
329
|
o.name
|
|
329
|
-
], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l =
|
|
330
|
-
|
|
330
|
+
], [O.value.body[u]], [isNaN(O.value.body[u] / P.value) ? "-" : O.value.body[u] / P.value * 100]]), a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[""], ["val"], ["%"]]].concat(t), l = wt(a);
|
|
331
|
+
kt({ csvContent: l, title: e.value.style.chart.title.text || "vue-ui-waffle" });
|
|
331
332
|
});
|
|
332
333
|
}
|
|
333
334
|
const Q = d(() => {
|
|
334
335
|
const t = [
|
|
335
336
|
' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>',
|
|
336
|
-
|
|
337
|
+
G(
|
|
337
338
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
338
339
|
P.value,
|
|
339
340
|
_({
|
|
@@ -349,7 +350,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
349
350
|
color: u.color,
|
|
350
351
|
name: u.name
|
|
351
352
|
},
|
|
352
|
-
|
|
353
|
+
G(
|
|
353
354
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
354
355
|
O.value.body[i],
|
|
355
356
|
_({
|
|
@@ -388,9 +389,9 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
388
389
|
config: l,
|
|
389
390
|
colNames: o
|
|
390
391
|
};
|
|
391
|
-
}),
|
|
392
|
-
function
|
|
393
|
-
|
|
392
|
+
}), R = v(!1);
|
|
393
|
+
function lt(t) {
|
|
394
|
+
R.value = t, ie.value += 1;
|
|
394
395
|
}
|
|
395
396
|
function Ae() {
|
|
396
397
|
C.value.showTable = !C.value.showTable;
|
|
@@ -402,8 +403,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
402
403
|
function ue() {
|
|
403
404
|
Z.value = !Z.value;
|
|
404
405
|
}
|
|
405
|
-
return
|
|
406
|
-
getData:
|
|
406
|
+
return Re({
|
|
407
|
+
getData: Ke,
|
|
407
408
|
generatePdf: Ce,
|
|
408
409
|
generateCsv: Le,
|
|
409
410
|
generateImage: $e,
|
|
@@ -411,7 +412,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
411
412
|
toggleTooltip: Fe,
|
|
412
413
|
toggleAnnotator: ue
|
|
413
414
|
}), (t, a) => (r(), s("div", {
|
|
414
|
-
class: Ne(`vue-ui-waffle ${
|
|
415
|
+
class: Ne(`vue-ui-waffle ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
415
416
|
ref_key: "waffleChart",
|
|
416
417
|
ref: M,
|
|
417
418
|
id: `vue-ui-waffle_${k.value}`,
|
|
@@ -419,7 +420,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
419
420
|
onMouseenter: a[3] || (a[3] = () => c(ge)(!0)),
|
|
420
421
|
onMouseleave: a[4] || (a[4] = () => c(ge)(!1))
|
|
421
422
|
}, [
|
|
422
|
-
e.value.userOptions.buttons.annotator ? (r(), N(
|
|
423
|
+
e.value.userOptions.buttons.annotator ? (r(), N(Nt, {
|
|
423
424
|
key: 0,
|
|
424
425
|
parent: M.value,
|
|
425
426
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -427,7 +428,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
427
428
|
active: Z.value,
|
|
428
429
|
onClose: ue
|
|
429
430
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
|
|
430
|
-
|
|
431
|
+
He.value ? (r(), s("div", {
|
|
431
432
|
key: 1,
|
|
432
433
|
ref_key: "noTitle",
|
|
433
434
|
ref: he,
|
|
@@ -440,7 +441,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
440
441
|
ref: ve,
|
|
441
442
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
442
443
|
}, [
|
|
443
|
-
(r(), N(
|
|
444
|
+
(r(), N(Tt, {
|
|
444
445
|
key: `title_${pe.value}`,
|
|
445
446
|
config: {
|
|
446
447
|
title: {
|
|
@@ -454,7 +455,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
454
455
|
}
|
|
455
456
|
}, null, 8, ["config"]))
|
|
456
457
|
], 512)) : y("", !0),
|
|
457
|
-
e.value.userOptions.show && X.value && (c(me) || c(le)) ? (r(), N(
|
|
458
|
+
e.value.userOptions.show && X.value && (c(me) || c(le)) ? (r(), N(St, {
|
|
458
459
|
ref_key: "details",
|
|
459
460
|
ref: We,
|
|
460
461
|
key: `user_options_${ie.value}`,
|
|
@@ -469,14 +470,14 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
469
470
|
hasXls: e.value.userOptions.buttons.csv,
|
|
470
471
|
hasTable: e.value.userOptions.buttons.table,
|
|
471
472
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
472
|
-
isFullscreen:
|
|
473
|
+
isFullscreen: R.value,
|
|
473
474
|
isTooltip: C.value.showTooltip,
|
|
474
475
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
475
476
|
chartElement: M.value,
|
|
476
477
|
position: e.value.userOptions.position,
|
|
477
478
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
478
479
|
isAnnotation: Z.value,
|
|
479
|
-
onToggleFullscreen:
|
|
480
|
+
onToggleFullscreen: lt,
|
|
480
481
|
onGeneratePdf: c(Ce),
|
|
481
482
|
onGenerateCsv: Le,
|
|
482
483
|
onGenerateImage: c($e),
|
|
@@ -539,12 +540,14 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
539
540
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : y("", !0),
|
|
540
541
|
X.value ? (r(), s("svg", {
|
|
541
542
|
key: 4,
|
|
542
|
-
|
|
543
|
-
|
|
543
|
+
ref_key: "svgRef",
|
|
544
|
+
ref: qe,
|
|
545
|
+
xmlns: c(pt),
|
|
546
|
+
class: Ne({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
|
|
544
547
|
viewBox: `0 0 ${F.value.width <= 0 ? 10 : F.value.width} ${F.value.height <= 0 ? 10 : F.value.height}`,
|
|
545
548
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
546
549
|
}, [
|
|
547
|
-
se(
|
|
550
|
+
se(zt),
|
|
548
551
|
x("defs", null, [
|
|
549
552
|
(r(!0), s($, null, L(n.value, (l, o) => (r(), s("radialGradient", {
|
|
550
553
|
cx: "50%",
|
|
@@ -556,13 +559,13 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
556
559
|
}, [
|
|
557
560
|
x("stop", {
|
|
558
561
|
offset: "0%",
|
|
559
|
-
"stop-color": c(
|
|
560
|
-
}, null, 8,
|
|
562
|
+
"stop-color": c(yt)(c(ft)(l.color, 0.05), 100 - e.value.style.chart.layout.rect.gradientIntensity)
|
|
563
|
+
}, null, 8, jt),
|
|
561
564
|
x("stop", {
|
|
562
565
|
offset: "100%",
|
|
563
566
|
"stop-color": l.color
|
|
564
|
-
}, null, 8,
|
|
565
|
-
], 8,
|
|
567
|
+
}, null, 8, Et)
|
|
568
|
+
], 8, Gt))), 256))
|
|
566
569
|
]),
|
|
567
570
|
x("defs", null, [
|
|
568
571
|
x("filter", {
|
|
@@ -580,7 +583,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
580
583
|
type: "saturate",
|
|
581
584
|
values: "0"
|
|
582
585
|
}, null, -1)
|
|
583
|
-
]), 8,
|
|
586
|
+
]), 8, Wt)
|
|
584
587
|
]),
|
|
585
588
|
e.value.useCustomCells && n.value.length ? (r(!0), s($, { key: 0 }, L(D.value, (l, o) => (r(), s("foreignObject", {
|
|
586
589
|
x: l.x,
|
|
@@ -590,7 +593,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
590
593
|
class: "vue-ui-waffle-custom-cell-foreignObject"
|
|
591
594
|
}, [
|
|
592
595
|
g(t.$slots, "cell", Ve({ ref_for: !0 }, { cell: { ...l, color: n.value[o].color, ...n.value[o] }, isSelected: [null, void 0].includes(V.value) ? !0 : n.value[o].serieIndex === V.value }), void 0, !0)
|
|
593
|
-
], 8,
|
|
596
|
+
], 8, qt))), 256)) : y("", !0),
|
|
594
597
|
!n.value.length && !e.value.useCustomCells ? (r(), s("rect", {
|
|
595
598
|
key: 1,
|
|
596
599
|
x: 12,
|
|
@@ -600,8 +603,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
600
603
|
rx: 3,
|
|
601
604
|
fill: "none",
|
|
602
605
|
stroke: "black"
|
|
603
|
-
}, null, 8,
|
|
604
|
-
t.$slots.pattern ? (r(), s("g",
|
|
606
|
+
}, null, 8, Ht)) : n.value.length && !e.value.useCustomCells ? (r(), s($, { key: 2 }, [
|
|
607
|
+
t.$slots.pattern ? (r(), s("g", Xt, [
|
|
605
608
|
(r(!0), s($, null, L(ae.value, (l) => (r(), s("defs", null, [
|
|
606
609
|
g(t.$slots, "pattern", Ve({ ref_for: !0 }, { seriesIndex: l.absoluteIndex, patternId: `pattern_${k.value}_${l.absoluteIndex}` }), void 0, !0)
|
|
607
610
|
]))), 256))
|
|
@@ -616,7 +619,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
616
619
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
617
620
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
618
621
|
filter: K(n.value[o].serieIndex)
|
|
619
|
-
}, null, 8,
|
|
622
|
+
}, null, 8, Yt))), 256)),
|
|
620
623
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
621
624
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
622
625
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -627,8 +630,8 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
627
630
|
stroke: e.value.style.chart.layout.rect.stroke,
|
|
628
631
|
"stroke-width": e.value.style.chart.layout.rect.strokeWidth,
|
|
629
632
|
filter: K(n.value[o].serieIndex)
|
|
630
|
-
}, null, 8,
|
|
631
|
-
t.$slots.pattern ? (r(), s("g",
|
|
633
|
+
}, null, 8, Jt))), 256)),
|
|
634
|
+
t.$slots.pattern ? (r(), s("g", Kt, [
|
|
632
635
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
633
636
|
rx: e.value.style.chart.layout.rect.rounded ? e.value.style.chart.layout.rect.rounding : 0,
|
|
634
637
|
x: l.x + e.value.style.chart.layout.grid.spaceBetween / 2,
|
|
@@ -638,7 +641,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
638
641
|
fill: `url(#pattern_${k.value}_${n.value[o].absoluteIndex})`,
|
|
639
642
|
stroke: "none",
|
|
640
643
|
filter: K(n.value[o].serieIndex)
|
|
641
|
-
}, null, 8,
|
|
644
|
+
}, null, 8, Qt))), 256))
|
|
642
645
|
])) : y("", !0)
|
|
643
646
|
], 64)) : y("", !0),
|
|
644
647
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s($, null, [
|
|
@@ -652,11 +655,11 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
652
655
|
}, [
|
|
653
656
|
x("div", {
|
|
654
657
|
class: "vue-ui-waffle-caption",
|
|
655
|
-
style: W(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${j.value / 12}px;color:${c(
|
|
658
|
+
style: W(`height: 100%; width: 100%; font-size:${e.value.style.chart.layout.labels.captions.fontSize}px;display:flex;align-items:center;justify-content:flex-start;padding: 0 ${j.value / 12}px;color:${c(gt)(n.value[o].color)};gap:2px`)
|
|
656
659
|
}, [
|
|
657
|
-
e.value.style.chart.layout.labels.captions.showSerieName ? (r(), s("span",
|
|
658
|
-
e.value.style.chart.layout.labels.captions.showPercentage ? (r(), s("span",
|
|
659
|
-
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span",
|
|
660
|
+
e.value.style.chart.layout.labels.captions.showSerieName ? (r(), s("span", el, A(e.value.style.chart.layout.labels.captions.serieNameAbbreviation ? c(mt)({ source: n.value[o].name, length: e.value.style.chart.layout.labels.captions.serieNameMaxAbbreviationSize }) : n.value[o].name) + ": ", 1)) : y("", !0),
|
|
661
|
+
e.value.style.chart.layout.labels.captions.showPercentage ? (r(), s("span", tl, A(c(_)({ v: n.value[o].proportion, s: "%", r: e.value.style.chart.layout.labels.captions.roundingPercentage })), 1)) : y("", !0),
|
|
662
|
+
e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span", ll, " (" + A(c(G)(
|
|
660
663
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
661
664
|
n.value[o].value,
|
|
662
665
|
c(_)({
|
|
@@ -667,7 +670,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
667
670
|
}),
|
|
668
671
|
{ datapoint: n.value[o], position: l }
|
|
669
672
|
)) + ") ", 1)) : y("", !0),
|
|
670
|
-
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span",
|
|
673
|
+
!e.value.style.chart.layout.labels.captions.showPercentage && e.value.style.chart.layout.labels.captions.showValue ? (r(), s("span", al, A(c(G)(
|
|
671
674
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
672
675
|
n.value[o].value,
|
|
673
676
|
c(_)({
|
|
@@ -679,10 +682,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
679
682
|
{ datapoint: n.value[o], position: l }
|
|
680
683
|
)), 1)) : y("", !0)
|
|
681
684
|
], 4)
|
|
682
|
-
], 8,
|
|
685
|
+
], 8, Zt)) : y("", !0)
|
|
683
686
|
], 64))), 256)),
|
|
684
687
|
(r(!0), s($, null, L(D.value, (l, o) => (r(), s("rect", {
|
|
685
|
-
onMouseover: (u) =>
|
|
688
|
+
onMouseover: (u) => et(o),
|
|
686
689
|
onMouseleave: a[0] || (a[0] = (u) => {
|
|
687
690
|
ee.value = !1, V.value = null;
|
|
688
691
|
}),
|
|
@@ -692,13 +695,13 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
692
695
|
width: j.value <= 0 ? 1e-4 : j.value,
|
|
693
696
|
fill: "transparent",
|
|
694
697
|
stroke: "none"
|
|
695
|
-
}, null, 40,
|
|
698
|
+
}, null, 40, ol))), 256)),
|
|
696
699
|
g(t.$slots, "svg", { svg: F.value }, void 0, !0)
|
|
697
|
-
], 14,
|
|
698
|
-
t.$slots.watermark ? (r(), s("div",
|
|
700
|
+
], 14, Rt)) : y("", !0),
|
|
701
|
+
t.$slots.watermark ? (r(), s("div", ul, [
|
|
699
702
|
g(t.$slots, "watermark", q(H({ isPrinting: c(ke) || c(xe) })), void 0, !0)
|
|
700
703
|
])) : y("", !0),
|
|
701
|
-
X.value ? y("", !0) : (r(), N(
|
|
704
|
+
X.value ? y("", !0) : (r(), N(At, {
|
|
702
705
|
key: 6,
|
|
703
706
|
config: {
|
|
704
707
|
type: "waffle",
|
|
@@ -714,10 +717,10 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
714
717
|
ref_key: "chartLegend",
|
|
715
718
|
ref: ce
|
|
716
719
|
}, [
|
|
717
|
-
e.value.style.chart.legend.show ? (r(), N(
|
|
720
|
+
e.value.style.chart.legend.show ? (r(), N(Lt, {
|
|
718
721
|
key: `legend_${fe.value}`,
|
|
719
722
|
legendSet: U.value,
|
|
720
|
-
config:
|
|
723
|
+
config: Ze.value,
|
|
721
724
|
onClickMarker: a[1] || (a[1] = ({ legend: l }) => Oe(l.uid))
|
|
722
725
|
}, Be({
|
|
723
726
|
item: m(({ legend: l }) => [
|
|
@@ -725,7 +728,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
725
728
|
onClick: (o) => l.segregate(),
|
|
726
729
|
style: W(`opacity:${p.value.includes(l.uid) ? 0.5 : 1}`)
|
|
727
730
|
}, [
|
|
728
|
-
Me(A(l.name) + ": " + A(c(
|
|
731
|
+
Me(A(l.name) + ": " + A(c(G)(
|
|
729
732
|
e.value.style.chart.layout.labels.dataLabels.formatter,
|
|
730
733
|
l.value,
|
|
731
734
|
c(_)({
|
|
@@ -737,15 +740,15 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
737
740
|
}),
|
|
738
741
|
{ datapoint: l }
|
|
739
742
|
)) + " ", 1),
|
|
740
|
-
p.value.includes(l.uid) ? (r(), s("span",
|
|
741
|
-
], 12,
|
|
743
|
+
p.value.includes(l.uid) ? (r(), s("span", nl, " ( - % ) ")) : (r(), s("span", sl, " (" + A(isNaN(l.value / P.value) ? "-" : c(_)({ v: l.value / P.value * 100, s: "%", r: e.value.style.chart.legend.roundingPercentage, isAnimating: z.value })) + ") ", 1))
|
|
744
|
+
], 12, rl)
|
|
742
745
|
]),
|
|
743
746
|
_: 2
|
|
744
747
|
}, [
|
|
745
748
|
t.$slots.pattern ? {
|
|
746
749
|
name: "legend-pattern",
|
|
747
750
|
fn: m(({ legend: l, index: o }) => [
|
|
748
|
-
se(
|
|
751
|
+
se(Vt, {
|
|
749
752
|
shape: l.shape,
|
|
750
753
|
radius: 30,
|
|
751
754
|
stroke: "none",
|
|
@@ -768,7 +771,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
768
771
|
}, [
|
|
769
772
|
g(t.$slots, "source", {}, void 0, !0)
|
|
770
773
|
], 512)) : y("", !0),
|
|
771
|
-
se(
|
|
774
|
+
se(Pt, {
|
|
772
775
|
show: C.value.showTooltip && ee.value && p.value.length < b.dataset.length,
|
|
773
776
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
774
777
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -782,7 +785,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
782
785
|
content: te.value,
|
|
783
786
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function",
|
|
784
787
|
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
785
|
-
isFullscreen:
|
|
788
|
+
isFullscreen: R.value
|
|
786
789
|
}, {
|
|
787
790
|
"tooltip-before": m(() => [
|
|
788
791
|
g(t.$slots, "tooltip-before", q(H({ ...oe.value })), void 0, !0)
|
|
@@ -792,7 +795,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
792
795
|
]),
|
|
793
796
|
_: 3
|
|
794
797
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "fontSize", "isFullscreen"]),
|
|
795
|
-
X.value ? (r(), N(
|
|
798
|
+
X.value ? (r(), N(Ft, {
|
|
796
799
|
key: 8,
|
|
797
800
|
hideDetails: "",
|
|
798
801
|
config: {
|
|
@@ -809,7 +812,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
809
812
|
}
|
|
810
813
|
}, {
|
|
811
814
|
content: m(() => [
|
|
812
|
-
(r(), N(
|
|
815
|
+
(r(), N(Ot, {
|
|
813
816
|
key: `table_${ye.value}`,
|
|
814
817
|
colNames: Q.value.colNames,
|
|
815
818
|
head: Q.value.head,
|
|
@@ -822,7 +825,7 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
822
825
|
x("div", {
|
|
823
826
|
innerHTML: l,
|
|
824
827
|
style: { display: "flex", "align-items": "center" }
|
|
825
|
-
}, null, 8,
|
|
828
|
+
}, null, 8, il)
|
|
826
829
|
]),
|
|
827
830
|
td: m(({ td: l }) => [
|
|
828
831
|
Me(A(l.name || l), 1)
|
|
@@ -832,9 +835,9 @@ const Mt = ["id"], Dt = ["xmlns", "viewBox"], Ut = ["id"], Gt = ["stop-color"],
|
|
|
832
835
|
]),
|
|
833
836
|
_: 1
|
|
834
837
|
}, 8, ["config"])) : y("", !0)
|
|
835
|
-
], 46,
|
|
838
|
+
], 46, Ut));
|
|
836
839
|
}
|
|
837
|
-
},
|
|
840
|
+
}, Sl = /* @__PURE__ */ Dt(vl, [["__scopeId", "data-v-059288a6"]]);
|
|
838
841
|
export {
|
|
839
|
-
|
|
842
|
+
Sl as default
|
|
840
843
|
};
|