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,18 +1,19 @@
|
|
|
1
|
-
import { toRef as ce, resolveComponent as de, createElementBlock as n, openBlock as
|
|
2
|
-
import { u as
|
|
3
|
-
import { _ as
|
|
4
|
-
import { u as
|
|
5
|
-
import { D as
|
|
6
|
-
import { _ as
|
|
7
|
-
import J from "./BaseIcon-
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import { u as De } from "./useNestedProp-
|
|
11
|
-
import { _ as
|
|
12
|
-
import { P as
|
|
13
|
-
import { u as
|
|
14
|
-
import {
|
|
15
|
-
|
|
1
|
+
import { toRef as ce, resolveComponent as de, createElementBlock as n, openBlock as s, Fragment as m, renderList as D, createCommentVNode as f, createBlock as S, withModifiers as z, createElementVNode as F, toDisplayString as Ie, normalizeStyle as _, createVNode as A, computed as U, onMounted as ot, ref as v, watch as lt, unref as C, normalizeClass as Oe, createSlots as st, withCtx as x, renderSlot as $, normalizeProps as q, guardReactiveProps as Z, createTextVNode as at, nextTick as Ae } from "vue";
|
|
2
|
+
import { u as nt, o as rt, e as it, c as Le, t as ut, p as Ue, a as ct, b as dt, X as vt, l as ht, P as ft, q as pt, r as gt, x as yt, y as mt } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { _ as bt } from "./Title-DePxeqVl.js";
|
|
4
|
+
import { u as kt, U as Ct } from "./usePrinter-D-sSdR2l.js";
|
|
5
|
+
import { D as $t } from "./DataTable-D0-zzsJg.js";
|
|
6
|
+
import { _ as wt } from "./Tooltip-DRw9RoFp.js";
|
|
7
|
+
import J from "./BaseIcon-dThl5uNa.js";
|
|
8
|
+
import xt from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
9
|
+
import Pt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
10
|
+
import { u as De } from "./useNestedProp-Cg0NIwr6.js";
|
|
11
|
+
import { _ as Tt } from "./PackageVersion-J_USnljf.js";
|
|
12
|
+
import { P as Ft } from "./PenAndPaper-CoEXEMcN.js";
|
|
13
|
+
import { u as Rt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
14
|
+
import { u as St } from "./useChartAccessibility-BWojgys7.js";
|
|
15
|
+
import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const At = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMouseover"], Lt = {
|
|
16
17
|
__name: "RecursiveCircles",
|
|
17
18
|
props: {
|
|
18
19
|
color: {
|
|
@@ -41,8 +42,8 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
44
|
emits: ["zoom", "hover"],
|
|
44
|
-
setup(
|
|
45
|
-
const R =
|
|
45
|
+
setup(a, { emit: I }) {
|
|
46
|
+
const R = a, p = I;
|
|
46
47
|
function r(i) {
|
|
47
48
|
p("zoom", i);
|
|
48
49
|
}
|
|
@@ -55,27 +56,27 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
55
56
|
});
|
|
56
57
|
}), (i, P) => {
|
|
57
58
|
const B = de("RecursiveCircles", !0);
|
|
58
|
-
return
|
|
59
|
-
h.polygonPath && h.polygonPath.coordinates ? (
|
|
60
|
-
(
|
|
59
|
+
return s(!0), n(m, null, D(a.dataset, (h) => (s(), n(m, null, [
|
|
60
|
+
h.polygonPath && h.polygonPath.coordinates ? (s(), n(m, { key: 0 }, [
|
|
61
|
+
(s(!0), n(m, null, D(h.polygonPath.coordinates, (M, H) => (s(), n("circle", {
|
|
61
62
|
cx: M.x,
|
|
62
63
|
cy: M.y,
|
|
63
64
|
r: h.circleRadius,
|
|
64
65
|
fill: `url(#gradient_${h.color})`,
|
|
65
|
-
stroke:
|
|
66
|
-
"stroke-width":
|
|
66
|
+
stroke: a.hoveredUid && a.hoveredUid === h.uid ? a.strokeHovered : a.stroke,
|
|
67
|
+
"stroke-width": a.hoveredUid && a.hoveredUid === h.uid ? h.circleRadius / 6 : h.circleRadius / 12,
|
|
67
68
|
style: { cursor: "pointer" },
|
|
68
69
|
onClick: z((k) => r(h), ["stop"]),
|
|
69
70
|
onMouseover: (k) => b(h),
|
|
70
71
|
onMouseleave: P[0] || (P[0] = (k) => b(null))
|
|
71
|
-
}, null, 40,
|
|
72
|
-
h.nodes && h.nodes.length > 0 ? (
|
|
72
|
+
}, null, 40, At))), 256)),
|
|
73
|
+
h.nodes && h.nodes.length > 0 ? (s(), S(B, {
|
|
73
74
|
key: 0,
|
|
74
75
|
dataset: h.nodes,
|
|
75
|
-
color:
|
|
76
|
-
stroke:
|
|
77
|
-
strokeHovered:
|
|
78
|
-
hoveredUid:
|
|
76
|
+
color: a.color,
|
|
77
|
+
stroke: a.stroke,
|
|
78
|
+
strokeHovered: a.strokeHovered,
|
|
79
|
+
hoveredUid: a.hoveredUid,
|
|
79
80
|
onZoom: r,
|
|
80
81
|
onHover: b
|
|
81
82
|
}, null, 8, ["dataset", "color", "stroke", "strokeHovered", "hoveredUid"])) : f("", !0)
|
|
@@ -83,7 +84,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
83
84
|
], 64))), 256);
|
|
84
85
|
};
|
|
85
86
|
}
|
|
86
|
-
},
|
|
87
|
+
}, Ut = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], Dt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], It = {
|
|
87
88
|
__name: "RecursiveLinks",
|
|
88
89
|
props: {
|
|
89
90
|
dataset: {
|
|
@@ -99,50 +100,50 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
99
100
|
default: "#FFFFFF"
|
|
100
101
|
}
|
|
101
102
|
},
|
|
102
|
-
setup(
|
|
103
|
-
return ce(
|
|
103
|
+
setup(a) {
|
|
104
|
+
return ce(a, "dataset").value.forEach((p) => {
|
|
104
105
|
p.nodes && p.nodes.length > 0 && p.nodes.forEach((r) => {
|
|
105
106
|
r.ancestor = p;
|
|
106
107
|
});
|
|
107
108
|
}), (p, r) => {
|
|
108
109
|
const b = de("RecursiveLinks", !0);
|
|
109
|
-
return
|
|
110
|
-
(
|
|
111
|
-
c.polygonPath && c.polygonPath.coordinates ? (
|
|
112
|
-
c.ancestor && c.ancestor.polygonPath ? (
|
|
110
|
+
return s(), n(m, null, [
|
|
111
|
+
(s(!0), n(m, null, D(a.dataset, (c) => (s(), n(m, null, [
|
|
112
|
+
c.polygonPath && c.polygonPath.coordinates ? (s(!0), n(m, { key: 0 }, D(c.polygonPath.coordinates, (i, P) => (s(), n(m, null, [
|
|
113
|
+
c.ancestor && c.ancestor.polygonPath ? (s(), n(m, { key: 0 }, [
|
|
113
114
|
F("line", {
|
|
114
115
|
x1: i.x,
|
|
115
116
|
y1: i.y,
|
|
116
117
|
x2: c.ancestor.polygonPath.coordinates[0].x,
|
|
117
118
|
y2: c.ancestor.polygonPath.coordinates[0].y,
|
|
118
|
-
stroke:
|
|
119
|
+
stroke: a.backgroundColor,
|
|
119
120
|
"stroke-width": c.circleRadius / 1.5
|
|
120
|
-
}, null, 8,
|
|
121
|
+
}, null, 8, Ut),
|
|
121
122
|
F("line", {
|
|
122
123
|
x1: i.x,
|
|
123
124
|
y1: i.y,
|
|
124
125
|
x2: c.ancestor.polygonPath.coordinates[0].x,
|
|
125
126
|
y2: c.ancestor.polygonPath.coordinates[0].y,
|
|
126
|
-
stroke:
|
|
127
|
+
stroke: a.color,
|
|
127
128
|
"stroke-width": c.circleRadius / 2
|
|
128
|
-
}, null, 8,
|
|
129
|
+
}, null, 8, Dt)
|
|
129
130
|
], 64)) : f("", !0)
|
|
130
131
|
], 64))), 256)) : f("", !0)
|
|
131
132
|
], 64))), 256)),
|
|
132
|
-
(
|
|
133
|
-
c.polygonPath && c.polygonPath.coordinates ? (
|
|
134
|
-
c.nodes && c.nodes.length > 0 ? (
|
|
133
|
+
(s(!0), n(m, null, D(a.dataset, (c) => (s(), n(m, null, [
|
|
134
|
+
c.polygonPath && c.polygonPath.coordinates ? (s(), n(m, { key: 0 }, [
|
|
135
|
+
c.nodes && c.nodes.length > 0 ? (s(), S(b, {
|
|
135
136
|
key: 0,
|
|
136
137
|
dataset: c.nodes,
|
|
137
|
-
color:
|
|
138
|
-
backgroundColor:
|
|
138
|
+
color: a.color,
|
|
139
|
+
backgroundColor: a.backgroundColor
|
|
139
140
|
}, null, 8, ["dataset", "color", "backgroundColor"])) : f("", !0)
|
|
140
141
|
], 64)) : f("", !0)
|
|
141
142
|
], 64))), 256))
|
|
142
143
|
], 64);
|
|
143
144
|
};
|
|
144
145
|
}
|
|
145
|
-
},
|
|
146
|
+
}, Nt = ["x", "y", "fill", "font-size"], zt = {
|
|
146
147
|
__name: "RecursiveLabels",
|
|
147
148
|
props: {
|
|
148
149
|
color: {
|
|
@@ -159,34 +160,34 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
159
160
|
}
|
|
160
161
|
},
|
|
161
162
|
emits: ["zoom", "hover"],
|
|
162
|
-
setup(
|
|
163
|
-
return ce(
|
|
163
|
+
setup(a, { emit: I }) {
|
|
164
|
+
return ce(a, "dataset").value.forEach((r) => {
|
|
164
165
|
r.nodes && r.nodes.length > 0 && r.nodes.forEach((b) => {
|
|
165
166
|
b.ancestor = r;
|
|
166
167
|
});
|
|
167
168
|
}), (r, b) => {
|
|
168
169
|
const c = de("RecursiveLabels", !0);
|
|
169
|
-
return
|
|
170
|
-
i.polygonPath && i.polygonPath.coordinates ? (
|
|
171
|
-
(
|
|
170
|
+
return s(!0), n(m, null, D(a.dataset, (i) => (s(), n(m, null, [
|
|
171
|
+
i.polygonPath && i.polygonPath.coordinates ? (s(), n(m, { key: 0 }, [
|
|
172
|
+
(s(!0), n(m, null, D(i.polygonPath.coordinates, (P) => (s(), n("text", {
|
|
172
173
|
x: P.x,
|
|
173
174
|
y: P.y + i.circleRadius * 2,
|
|
174
|
-
fill:
|
|
175
|
+
fill: a.color,
|
|
175
176
|
"font-size": i.circleRadius,
|
|
176
177
|
"text-anchor": "middle",
|
|
177
178
|
style: { opacity: "0.8", "pointer-events": "none" }
|
|
178
|
-
}, Ie(i.name), 9,
|
|
179
|
-
i.nodes && i.nodes.length > 0 ? (
|
|
179
|
+
}, Ie(i.name), 9, Nt))), 256)),
|
|
180
|
+
i.nodes && i.nodes.length > 0 ? (s(), S(c, {
|
|
180
181
|
key: 0,
|
|
181
182
|
dataset: i.nodes,
|
|
182
|
-
color:
|
|
183
|
-
hoveredUid:
|
|
183
|
+
color: a.color,
|
|
184
|
+
hoveredUid: a.hoveredUid
|
|
184
185
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0)
|
|
185
186
|
], 64)) : f("", !0)
|
|
186
187
|
], 64))), 256);
|
|
187
188
|
};
|
|
188
189
|
}
|
|
189
|
-
},
|
|
190
|
+
}, Bt = { style: { position: "relative", height: "100%", width: "100%" } }, Mt = {
|
|
190
191
|
__name: "BaseDirectionPad",
|
|
191
192
|
props: {
|
|
192
193
|
color: {
|
|
@@ -199,19 +200,19 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
199
200
|
}
|
|
200
201
|
},
|
|
201
202
|
emits: ["moveLeft", "moveTop", "moveRight", "moveBottom", "reset"],
|
|
202
|
-
setup(
|
|
203
|
+
setup(a, { emit: I }) {
|
|
203
204
|
const R = I;
|
|
204
|
-
return (p, r) => (
|
|
205
|
-
style: _(`position: ${
|
|
205
|
+
return (p, r) => (s(), n("div", {
|
|
206
|
+
style: _(`position: ${a.isFullscreen ? "fixed" : "absolute"};bottom:0;right:${a.isFullscreen ? "12px" : "0"};width:80px;height:80px`),
|
|
206
207
|
"data-html2canvas-ignore": ""
|
|
207
208
|
}, [
|
|
208
|
-
F("div",
|
|
209
|
+
F("div", Bt, [
|
|
209
210
|
F("button", {
|
|
210
211
|
onClick: r[0] || (r[0] = z((b) => R("moveLeft"), ["stop"])),
|
|
211
212
|
style: { position: "absolute", left: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
212
213
|
}, [
|
|
213
214
|
A(J, {
|
|
214
|
-
stroke:
|
|
215
|
+
stroke: a.color,
|
|
215
216
|
name: "arrowLeft",
|
|
216
217
|
style: { cursor: "pointer" }
|
|
217
218
|
}, null, 8, ["stroke"])
|
|
@@ -221,7 +222,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
221
222
|
style: { position: "absolute", top: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
222
223
|
}, [
|
|
223
224
|
A(J, {
|
|
224
|
-
stroke:
|
|
225
|
+
stroke: a.color,
|
|
225
226
|
name: "arrowTop",
|
|
226
227
|
style: { cursor: "pointer" }
|
|
227
228
|
}, null, 8, ["stroke"])
|
|
@@ -231,7 +232,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
231
232
|
style: { position: "absolute", right: "0", top: "50%", transform: "translateY(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
232
233
|
}, [
|
|
233
234
|
A(J, {
|
|
234
|
-
stroke:
|
|
235
|
+
stroke: a.color,
|
|
235
236
|
name: "arrowRight",
|
|
236
237
|
style: { cursor: "pointer" }
|
|
237
238
|
}, null, 8, ["stroke"])
|
|
@@ -241,7 +242,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
241
242
|
style: { position: "absolute", bottom: "0", left: "50%", transform: "translateX(-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
242
243
|
}, [
|
|
243
244
|
A(J, {
|
|
244
|
-
stroke:
|
|
245
|
+
stroke: a.color,
|
|
245
246
|
name: "arrowBottom",
|
|
246
247
|
style: { cursor: "pointer" }
|
|
247
248
|
}, null, 8, ["stroke"])
|
|
@@ -251,7 +252,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
251
252
|
style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%,-50%)", height: "24px", width: "24px", padding: "0", background: "transparent", border: "none", display: "flex", "align-items": "center", "justify-content": "center" }
|
|
252
253
|
}, [
|
|
253
254
|
A(J, {
|
|
254
|
-
stroke:
|
|
255
|
+
stroke: a.color,
|
|
255
256
|
name: "close",
|
|
256
257
|
style: { cursor: "pointer" },
|
|
257
258
|
strokeWidth: 2
|
|
@@ -260,22 +261,22 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
260
261
|
])
|
|
261
262
|
], 4));
|
|
262
263
|
}
|
|
263
|
-
},
|
|
264
|
+
}, Ht = ["id"], Et = {
|
|
264
265
|
key: 1,
|
|
265
266
|
ref: "noTitle",
|
|
266
267
|
class: "vue-data-ui-no-title-space",
|
|
267
268
|
style: "height:36px; width: 100%;background:transparent"
|
|
268
|
-
},
|
|
269
|
+
}, Vt = {
|
|
269
270
|
key: 2,
|
|
270
271
|
style: "width:100%;background:transparent;"
|
|
271
|
-
},
|
|
272
|
+
}, Xt = ["xmlns", "viewBox"], jt = ["width", "height"], Gt = ["id"], Yt = ["stop-color"], Wt = ["stop-color"], qt = {
|
|
272
273
|
key: 6,
|
|
273
274
|
class: "vue-data-ui-watermark"
|
|
274
|
-
},
|
|
275
|
+
}, Zt = {
|
|
275
276
|
key: 8,
|
|
276
277
|
ref: "source",
|
|
277
278
|
dir: "auto"
|
|
278
|
-
},
|
|
279
|
+
}, Jt = ["innerHTML"], Kt = {
|
|
279
280
|
__name: "vue-ui-molecule",
|
|
280
281
|
props: {
|
|
281
282
|
config: {
|
|
@@ -291,13 +292,13 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
291
292
|
}
|
|
292
293
|
}
|
|
293
294
|
},
|
|
294
|
-
setup(
|
|
295
|
-
const { vue_ui_molecule: R } =
|
|
296
|
-
|
|
295
|
+
setup(a, { expose: I }) {
|
|
296
|
+
const { vue_ui_molecule: R } = nt(), p = a, r = U(() => !!p.dataset && p.dataset.length);
|
|
297
|
+
ot(() => {
|
|
297
298
|
b();
|
|
298
299
|
});
|
|
299
300
|
function b() {
|
|
300
|
-
|
|
301
|
+
rt(p.dataset) && it({
|
|
301
302
|
componentName: "VueUiMolecule",
|
|
302
303
|
type: "dataset"
|
|
303
304
|
});
|
|
@@ -305,7 +306,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
305
306
|
const c = v(Le()), i = v(null), P = v(!1), B = v(""), h = v(null), M = v(null), H = v(!1), k = v(null), ve = v(null), ee = v(0), he = v(0), fe = v(0), t = U({
|
|
306
307
|
get: () => ye(),
|
|
307
308
|
set: (e) => e
|
|
308
|
-
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: ge } =
|
|
309
|
+
}), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: ge } = Rt({ config: t.value }), { svgRef: Ne } = St({ config: t.value.style.chart.title });
|
|
309
310
|
function ye() {
|
|
310
311
|
const e = De({
|
|
311
312
|
userConfig: p.config,
|
|
@@ -313,19 +314,19 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
313
314
|
});
|
|
314
315
|
return e.theme ? {
|
|
315
316
|
...De({
|
|
316
|
-
userConfig:
|
|
317
|
+
userConfig: ct.vue_ui_molecule[e.theme] || p.config,
|
|
317
318
|
defaultConfig: e
|
|
318
319
|
}),
|
|
319
|
-
customPalette:
|
|
320
|
+
customPalette: ut[e.theme] || Ue
|
|
320
321
|
} : e;
|
|
321
322
|
}
|
|
322
|
-
|
|
323
|
+
lt(() => p.config, (e) => {
|
|
323
324
|
t.value = ye(), te.value = !t.value.userOptions.showOnChartHover, b(), he.value += 1, fe.value += 1, w.value.showTable = t.value.table.show, w.value.showTooltip = t.value.style.chart.tooltip.show;
|
|
324
325
|
}, { deep: !0 });
|
|
325
|
-
const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } =
|
|
326
|
+
const { isPrinting: me, isImaging: be, generatePdf: ke, generateImage: Ce } = kt({
|
|
326
327
|
elementId: `cluster_${c.value}`,
|
|
327
328
|
fileName: t.value.style.chart.title.text || "vue-ui-molecule"
|
|
328
|
-
}),
|
|
329
|
+
}), ze = U(() => t.value.userOptions.show && !t.value.style.chart.title.text), Be = U(() => dt(t.value.customPalette)), w = v({
|
|
329
330
|
showTable: t.value.table.show,
|
|
330
331
|
showDataLabels: !0,
|
|
331
332
|
showTooltip: t.value.style.chart.tooltip.show
|
|
@@ -333,7 +334,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
333
334
|
function $e(e, o = 0) {
|
|
334
335
|
return Array.isArray(e) && e.length > 0 && e[0].nodes ? $e(e[0].nodes, o + 1) : o;
|
|
335
336
|
}
|
|
336
|
-
function
|
|
337
|
+
function Me() {
|
|
337
338
|
const e = $e(p.dataset);
|
|
338
339
|
let o = 100, l = o;
|
|
339
340
|
for (let d = 0; d < e; d += 1)
|
|
@@ -343,10 +344,10 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
343
344
|
width: l
|
|
344
345
|
};
|
|
345
346
|
}
|
|
346
|
-
const T = v(
|
|
347
|
+
const T = v(Me()), oe = v(`0 0 ${T.value.width} ${T.value.height}`);
|
|
347
348
|
function we(e, o = { x: -T.value.width / 2.43, y: T.value.height / 2 }, l = T.value.width / 1.1, d = 24, u = 0, g = 0, G = "#BBBBBB") {
|
|
348
349
|
if (e && e.length > 0) {
|
|
349
|
-
const ie =
|
|
350
|
+
const ie = ft({
|
|
350
351
|
plot: o,
|
|
351
352
|
radius: l,
|
|
352
353
|
sides: e.length,
|
|
@@ -355,7 +356,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
355
356
|
e.forEach((y, N) => {
|
|
356
357
|
const Y = ie.coordinates[N];
|
|
357
358
|
let L;
|
|
358
|
-
if (y.ancestor ? y.ancestor.ancestor ? L = y.ancestor.color || G : (L =
|
|
359
|
+
if (y.ancestor ? y.ancestor.ancestor ? L = y.ancestor.color || G : (L = Be.value[g] || Ue[g] || G, g += 1) : L = G, y.polygonPath = {
|
|
359
360
|
coordinates: [Y]
|
|
360
361
|
}, y.circleRadius = d, y.color = L, y.uid = Le(), y.nodes && y.nodes.length > 0) {
|
|
361
362
|
const ue = !y.ancestor || !y.ancestor.ancestor ? g : 0;
|
|
@@ -373,7 +374,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
373
374
|
}
|
|
374
375
|
return e;
|
|
375
376
|
}
|
|
376
|
-
function
|
|
377
|
+
function He(e) {
|
|
377
378
|
const o = /* @__PURE__ */ new Set();
|
|
378
379
|
function l(u) {
|
|
379
380
|
u.forEach((g) => {
|
|
@@ -386,43 +387,43 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
386
387
|
d[u] = `gradient_${g}`;
|
|
387
388
|
}), d;
|
|
388
389
|
}
|
|
389
|
-
const
|
|
390
|
+
const Ee = U(() => He(O.value)), O = U(() => we(p.dataset));
|
|
390
391
|
function le() {
|
|
391
|
-
H.value = !1, M.value = null, ve.value = null, k.value = null,
|
|
392
|
+
H.value = !1, M.value = null, ve.value = null, k.value = null, ae({
|
|
392
393
|
polygonPath: {
|
|
393
394
|
coordinates: [{ x: T.value.width / 2, y: T.value.height / 2 }]
|
|
394
395
|
},
|
|
395
396
|
circleRadius: 24
|
|
396
397
|
});
|
|
397
398
|
}
|
|
398
|
-
const
|
|
399
|
-
function
|
|
399
|
+
const se = v(null);
|
|
400
|
+
function ae(e) {
|
|
400
401
|
h.value.focus(), Ae(() => {
|
|
401
|
-
|
|
402
|
-
const o = oe.value.split(" "), l = parseFloat(o[0]), d = parseFloat(o[1]), u = parseFloat(o[2]), g = parseFloat(o[3]), { x: G, y: ie } = e.polygonPath.coordinates[0], { circleRadius: y } = e, N = 8.34, Y = G - y * N, L = ie - y * N, ue = y * N * 2,
|
|
402
|
+
se.value && cancelAnimationFrame(se.value);
|
|
403
|
+
const o = oe.value.split(" "), l = parseFloat(o[0]), d = parseFloat(o[1]), u = parseFloat(o[2]), g = parseFloat(o[3]), { x: G, y: ie } = e.polygonPath.coordinates[0], { circleRadius: y } = e, N = 8.34, Y = G - y * N, L = ie - y * N, ue = y * N * 2, Je = y * N * 2, Ke = Math.sqrt((Y - l) ** 2 + (L - d) ** 2), W = Math.min(1200, Math.max(20, Math.floor(Ke / 10))), Qe = (Y - l) / W, _e = (L - d) / W, et = (ue - u) / W, tt = (Je - g) / W;
|
|
403
404
|
let X = 0;
|
|
404
405
|
function Se() {
|
|
405
|
-
oe.value = `${l +
|
|
406
|
+
oe.value = `${l + Qe * X} ${d + _e * X} ${u + et * X} ${g + tt * X}`, X += t.value.style.chart.zoom.speed, X <= W && (se.value = requestAnimationFrame(Se));
|
|
406
407
|
}
|
|
407
408
|
Se();
|
|
408
409
|
});
|
|
409
410
|
}
|
|
410
|
-
function
|
|
411
|
+
function Ve(e) {
|
|
411
412
|
M.value === e.uid ? le() : (M.value = e.uid, ve.value = e, k.value = {
|
|
412
413
|
circleRadius: e.circleRadius,
|
|
413
414
|
polygonPath: {
|
|
414
415
|
coordinates: [{ x: e.polygonPath.coordinates[0].x, y: e.polygonPath.coordinates[0].y }]
|
|
415
416
|
}
|
|
416
|
-
},
|
|
417
|
+
}, ae(e), H.value = e.uid !== O.value[0].uid);
|
|
417
418
|
}
|
|
418
|
-
function
|
|
419
|
+
function Xe(e) {
|
|
419
420
|
if (e.target.nodeName !== "circle")
|
|
420
421
|
le(), H.value = !1;
|
|
421
422
|
else
|
|
422
423
|
return;
|
|
423
424
|
}
|
|
424
425
|
const ne = v(null);
|
|
425
|
-
function
|
|
426
|
+
function je(e) {
|
|
426
427
|
ne.value = {
|
|
427
428
|
datapoint: e,
|
|
428
429
|
seriesIndex: -1,
|
|
@@ -430,7 +431,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
430
431
|
config: t.value
|
|
431
432
|
};
|
|
432
433
|
const o = t.value.style.chart.tooltip.customFormat;
|
|
433
|
-
if (
|
|
434
|
+
if (yt(o) && mt(() => o({
|
|
434
435
|
seriesIndex: -1,
|
|
435
436
|
datapoint: e,
|
|
436
437
|
series: O.value,
|
|
@@ -449,13 +450,13 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
449
450
|
}
|
|
450
451
|
}
|
|
451
452
|
const xe = v(null), j = v(null);
|
|
452
|
-
function
|
|
453
|
-
xe.value = e, e ? (P.value = !0,
|
|
453
|
+
function Ge(e) {
|
|
454
|
+
xe.value = e, e ? (P.value = !0, je(e), j.value = e.uid) : (P.value = !1, B.value = "", j.value = null);
|
|
454
455
|
}
|
|
455
456
|
function K(e) {
|
|
456
|
-
e === "right" && (k.value.polygonPath.coordinates[0].x += k.value.circleRadius), e === "left" && (k.value.polygonPath.coordinates[0].x -= k.value.circleRadius), e === "top" && (k.value.polygonPath.coordinates[0].y -= k.value.circleRadius), e === "bottom" && (k.value.polygonPath.coordinates[0].y += k.value.circleRadius),
|
|
457
|
+
e === "right" && (k.value.polygonPath.coordinates[0].x += k.value.circleRadius), e === "left" && (k.value.polygonPath.coordinates[0].x -= k.value.circleRadius), e === "top" && (k.value.polygonPath.coordinates[0].y -= k.value.circleRadius), e === "bottom" && (k.value.polygonPath.coordinates[0].y += k.value.circleRadius), ae(k.value);
|
|
457
458
|
}
|
|
458
|
-
function
|
|
459
|
+
function Ye(e) {
|
|
459
460
|
const o = [];
|
|
460
461
|
function l(d) {
|
|
461
462
|
d.forEach((u) => {
|
|
@@ -470,12 +471,12 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
470
471
|
}
|
|
471
472
|
return l(e), o;
|
|
472
473
|
}
|
|
473
|
-
const
|
|
474
|
+
const We = U(() => Ye(O.value)), E = U(() => {
|
|
474
475
|
const e = [
|
|
475
476
|
t.value.table.translations.nodeName,
|
|
476
477
|
t.value.table.translations.details,
|
|
477
478
|
t.value.table.translations.ancestor
|
|
478
|
-
], o =
|
|
479
|
+
], o = We.value.map((u, g) => [
|
|
479
480
|
{
|
|
480
481
|
color: u.color,
|
|
481
482
|
name: u.name
|
|
@@ -508,15 +509,15 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
508
509
|
});
|
|
509
510
|
function Pe() {
|
|
510
511
|
Ae(() => {
|
|
511
|
-
const e = E.value.body.map((d, u) => [[d[0].name], [d[1]], [d[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...E.value.head]]].concat(e), l =
|
|
512
|
-
|
|
512
|
+
const e = E.value.body.map((d, u) => [[d[0].name], [d[1]], [d[2]]]), o = [[t.value.style.chart.title.text], [t.value.style.chart.title.subtitle.text], [[...E.value.head]]].concat(e), l = pt(o);
|
|
513
|
+
gt({ csvContent: l, title: t.value.style.chart.title.text || "vue-ui-molecule" });
|
|
513
514
|
});
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
+
function qe() {
|
|
516
517
|
return O.value;
|
|
517
518
|
}
|
|
518
519
|
const V = v(!1);
|
|
519
|
-
function
|
|
520
|
+
function Ze(e) {
|
|
520
521
|
V.value = e, ee.value += 1;
|
|
521
522
|
}
|
|
522
523
|
function Te() {
|
|
@@ -533,7 +534,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
533
534
|
Q.value = !Q.value;
|
|
534
535
|
}
|
|
535
536
|
return I({
|
|
536
|
-
getData:
|
|
537
|
+
getData: qe,
|
|
537
538
|
generatePdf: ke,
|
|
538
539
|
generateCsv: Pe,
|
|
539
540
|
generateImage: Ce,
|
|
@@ -541,7 +542,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
541
542
|
toggleLabels: Fe,
|
|
542
543
|
toggleTooltip: Re,
|
|
543
544
|
toggleAnnotator: re
|
|
544
|
-
}), (e, o) => (
|
|
545
|
+
}), (e, o) => (s(), n("div", {
|
|
545
546
|
ref_key: "moleculeChart",
|
|
546
547
|
ref: h,
|
|
547
548
|
class: Oe(`vue-ui-molecule ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
@@ -552,7 +553,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
552
553
|
}),
|
|
553
554
|
onMouseenter: o[8] || (o[8] = () => C(pe)(!0))
|
|
554
555
|
}, [
|
|
555
|
-
t.value.userOptions.buttons.annotator ? (
|
|
556
|
+
t.value.userOptions.buttons.annotator ? (s(), S(Ft, {
|
|
556
557
|
key: 0,
|
|
557
558
|
parent: h.value,
|
|
558
559
|
backgroundColor: t.value.style.chart.backgroundColor,
|
|
@@ -560,9 +561,9 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
560
561
|
active: Q.value,
|
|
561
562
|
onClose: re
|
|
562
563
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
563
|
-
|
|
564
|
-
t.value.style.chart.title.text ? (
|
|
565
|
-
(
|
|
564
|
+
ze.value ? (s(), n("div", Et, null, 512)) : f("", !0),
|
|
565
|
+
t.value.style.chart.title.text ? (s(), n("div", Vt, [
|
|
566
|
+
(s(), S(bt, {
|
|
566
567
|
key: `title_${he.value}`,
|
|
567
568
|
config: {
|
|
568
569
|
title: {
|
|
@@ -576,7 +577,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
576
577
|
}
|
|
577
578
|
}, null, 8, ["config"]))
|
|
578
579
|
])) : f("", !0),
|
|
579
|
-
t.value.userOptions.show && r.value && (C(ge) || C(te)) ? (
|
|
580
|
+
t.value.userOptions.show && r.value && (C(ge) || C(te)) ? (s(), S(Ct, {
|
|
580
581
|
ref_key: "details",
|
|
581
582
|
ref: i,
|
|
582
583
|
key: `user_options_${ee.value}`,
|
|
@@ -598,7 +599,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
598
599
|
position: t.value.userOptions.position,
|
|
599
600
|
hasAnnotator: t.value.userOptions.buttons.annotator,
|
|
600
601
|
isAnnotation: Q.value,
|
|
601
|
-
onToggleFullscreen:
|
|
602
|
+
onToggleFullscreen: Ze,
|
|
602
603
|
onGeneratePdf: C(ke),
|
|
603
604
|
onGenerateCsv: Pe,
|
|
604
605
|
onGenerateImage: C(Ce),
|
|
@@ -609,7 +610,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
609
610
|
style: _({
|
|
610
611
|
visibility: C(ge) ? C(te) ? "visible" : "hidden" : "visible"
|
|
611
612
|
})
|
|
612
|
-
},
|
|
613
|
+
}, st({ _: 2 }, [
|
|
613
614
|
e.$slots.optionTooltip ? {
|
|
614
615
|
name: "optionTooltip",
|
|
615
616
|
fn: x(() => [
|
|
@@ -667,16 +668,18 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
667
668
|
key: "7"
|
|
668
669
|
} : void 0
|
|
669
670
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
|
|
670
|
-
r.value ? (
|
|
671
|
+
r.value ? (s(), n("svg", {
|
|
671
672
|
key: 4,
|
|
672
|
-
|
|
673
|
+
ref_key: "svgRef",
|
|
674
|
+
ref: Ne,
|
|
675
|
+
xmlns: C(vt),
|
|
673
676
|
viewBox: oe.value,
|
|
674
677
|
class: Oe({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
|
|
675
678
|
style: _(`overflow: hidden; background:transparent;color:${t.value.style.chart.color}`),
|
|
676
|
-
onClick: o[0] || (o[0] = z((l) =>
|
|
679
|
+
onClick: o[0] || (o[0] = z((l) => Xe(l), ["stop"]))
|
|
677
680
|
}, [
|
|
678
|
-
A(
|
|
679
|
-
e.$slots["chart-background"] ? (
|
|
681
|
+
A(Tt),
|
|
682
|
+
e.$slots["chart-background"] ? (s(), n("foreignObject", {
|
|
680
683
|
key: 0,
|
|
681
684
|
x: 0,
|
|
682
685
|
y: 0,
|
|
@@ -687,9 +690,9 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
687
690
|
}
|
|
688
691
|
}, [
|
|
689
692
|
$(e.$slots, "chart-background", {}, void 0, !0)
|
|
690
|
-
], 8,
|
|
693
|
+
], 8, jt)) : f("", !0),
|
|
691
694
|
F("defs", null, [
|
|
692
|
-
(
|
|
695
|
+
(s(!0), n(m, null, D(Object.keys(Ee.value), (l) => (s(), n("radialGradient", {
|
|
693
696
|
id: `gradient_${l}`,
|
|
694
697
|
cx: "50%",
|
|
695
698
|
cy: "30%",
|
|
@@ -699,36 +702,36 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
699
702
|
}, [
|
|
700
703
|
F("stop", {
|
|
701
704
|
offset: "0%",
|
|
702
|
-
"stop-color": C(
|
|
703
|
-
}, null, 8,
|
|
705
|
+
"stop-color": C(ht)(l, 0.5)
|
|
706
|
+
}, null, 8, Yt),
|
|
704
707
|
F("stop", {
|
|
705
708
|
offset: "100%",
|
|
706
709
|
"stop-color": l
|
|
707
|
-
}, null, 8,
|
|
708
|
-
], 8,
|
|
710
|
+
}, null, 8, Wt)
|
|
711
|
+
], 8, Gt))), 256))
|
|
709
712
|
]),
|
|
710
|
-
A(
|
|
713
|
+
A(It, {
|
|
711
714
|
dataset: O.value,
|
|
712
715
|
color: t.value.style.chart.links.stroke,
|
|
713
716
|
backgroundColor: t.value.style.chart.backgroundColor
|
|
714
717
|
}, null, 8, ["dataset", "color", "backgroundColor"]),
|
|
715
|
-
A(
|
|
718
|
+
A(Lt, {
|
|
716
719
|
dataset: O.value,
|
|
717
720
|
hoveredUid: j.value,
|
|
718
721
|
stroke: t.value.style.chart.nodes.stroke,
|
|
719
722
|
strokeHovered: t.value.style.chart.nodes.strokeHovered,
|
|
720
|
-
onZoom:
|
|
721
|
-
onHover:
|
|
723
|
+
onZoom: Ve,
|
|
724
|
+
onHover: Ge
|
|
722
725
|
}, null, 8, ["dataset", "hoveredUid", "stroke", "strokeHovered"]),
|
|
723
|
-
w.value.showDataLabels ? (
|
|
726
|
+
w.value.showDataLabels ? (s(), S(zt, {
|
|
724
727
|
key: 1,
|
|
725
728
|
dataset: O.value,
|
|
726
729
|
color: t.value.style.chart.color,
|
|
727
730
|
hoveredUid: j.value
|
|
728
731
|
}, null, 8, ["dataset", "color", "hoveredUid"])) : f("", !0),
|
|
729
732
|
$(e.$slots, "svg", { svg: T.value }, void 0, !0)
|
|
730
|
-
], 14,
|
|
731
|
-
H.value ? (
|
|
733
|
+
], 14, Xt)) : f("", !0),
|
|
734
|
+
H.value ? (s(), S(Mt, {
|
|
732
735
|
key: `direction_pad_${ee.value}`,
|
|
733
736
|
color: t.value.style.chart.color,
|
|
734
737
|
isFullscreen: V.value,
|
|
@@ -740,10 +743,10 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
740
743
|
le(), H.value = !1;
|
|
741
744
|
})
|
|
742
745
|
}, null, 8, ["color", "isFullscreen"])) : f("", !0),
|
|
743
|
-
e.$slots.watermark ? (
|
|
746
|
+
e.$slots.watermark ? (s(), n("div", qt, [
|
|
744
747
|
$(e.$slots, "watermark", q(Z({ isPrinting: C(me) || C(be) })), void 0, !0)
|
|
745
748
|
])) : f("", !0),
|
|
746
|
-
r.value ? f("", !0) : (
|
|
749
|
+
r.value ? f("", !0) : (s(), S(xt, {
|
|
747
750
|
key: 7,
|
|
748
751
|
config: {
|
|
749
752
|
type: "molecule",
|
|
@@ -755,10 +758,10 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
755
758
|
}
|
|
756
759
|
}
|
|
757
760
|
}, null, 8, ["config"])),
|
|
758
|
-
e.$slots.source ? (
|
|
761
|
+
e.$slots.source ? (s(), n("div", Zt, [
|
|
759
762
|
$(e.$slots, "source", {}, void 0, !0)
|
|
760
763
|
], 512)) : f("", !0),
|
|
761
|
-
A(
|
|
764
|
+
A(wt, {
|
|
762
765
|
show: w.value.showTooltip && P.value,
|
|
763
766
|
backgroundColor: t.value.style.chart.tooltip.backgroundColor,
|
|
764
767
|
color: t.value.style.chart.tooltip.color,
|
|
@@ -782,7 +785,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
782
785
|
]),
|
|
783
786
|
_: 3
|
|
784
787
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
785
|
-
r.value ? (
|
|
788
|
+
r.value ? (s(), S(Pt, {
|
|
786
789
|
key: 9,
|
|
787
790
|
hideDetails: "",
|
|
788
791
|
config: {
|
|
@@ -799,7 +802,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
799
802
|
}
|
|
800
803
|
}, {
|
|
801
804
|
content: x(() => [
|
|
802
|
-
(
|
|
805
|
+
(s(), S($t, {
|
|
803
806
|
key: `table_${fe.value}`,
|
|
804
807
|
colNames: E.value.colNames,
|
|
805
808
|
head: E.value.head,
|
|
@@ -812,7 +815,7 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
812
815
|
F("div", {
|
|
813
816
|
innerHTML: l,
|
|
814
817
|
style: { display: "flex", "align-items": "center" }
|
|
815
|
-
}, null, 8,
|
|
818
|
+
}, null, 8, Jt)
|
|
816
819
|
]),
|
|
817
820
|
td: x(({ td: l }) => [
|
|
818
821
|
at(Ie(l.name || l), 1)
|
|
@@ -822,9 +825,9 @@ const St = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onClick", "onMou
|
|
|
822
825
|
]),
|
|
823
826
|
_: 1
|
|
824
827
|
}, 8, ["config"])) : f("", !0)
|
|
825
|
-
], 46,
|
|
828
|
+
], 46, Ht));
|
|
826
829
|
}
|
|
827
|
-
},
|
|
830
|
+
}, fo = /* @__PURE__ */ Ot(Kt, [["__scopeId", "data-v-52f81e11"]]);
|
|
828
831
|
export {
|
|
829
|
-
|
|
832
|
+
fo as default
|
|
830
833
|
};
|