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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),n=require("./index-DD4PT0Pl.cjs"),ne=require("./useResponsive-YQYQrAZ_.cjs"),Pe=require("./Title-BQSh4ukk.cjs"),se=require("./usePrinter-BtJq2wwh.cjs"),_e=require("./Tooltip-DtqrGu-Q.cjs"),$e=require("./vue-ui-sparkbar-0h661dcM.cjs"),Te=require("./Legend-CEw2uq9s.cjs"),xe=require("./DataTable-CaD8j-SL.cjs"),Ne=require("./vue-ui-skeleton-Tk4j6G2D.cjs"),Se=require("./vue-ui-accordion-2He8z0Sy.cjs"),ue=require("./useNestedProp-DU7JFxpL.cjs"),Ee=require("./PackageVersion-CCgJTyH9.cjs"),Ve=require("./PenAndPaper-DvNBHCpq.cjs"),Ae=require("./useUserOptionState-BgepsfED.cjs"),Fe=require("./useChartAccessibility-Cm7nkzTG.cjs"),Oe=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Le=["id"],ze=["xmlns","viewBox"],Ie=["width","height"],Re=["id"],qe=["stop-color"],Me=["stop-color"],Ue={key:1},De=["x1","y1","x2","y2","stroke","stroke-width"],Ge={key:0},We=["d","stroke","stroke-width"],He=["d","stroke","stroke-width"],je={key:2},Xe=["x","y","text-anchor","font-size","fill","onMouseenter"],Ye=["points","stroke","stroke-width"],Je=["points","stroke","stroke-width","fill"],Ke={key:3},Qe=["cx","cy","fill","r","stroke"],Ze={key:5,class:"vue-data-ui-watermark"},et=["onClick"],tt={key:0,style:{"max-width":"200px",margin:"0 auto"}},ot={__name:"vue-ui-radar",props:{config:{type:Object,default(){return{}}},dataset:{type:Object,default(){return{}}}},emits:["selectLegend"],setup(ie,{expose:ce,emit:de}){const{vue_ui_radar:ve}=n.useConfig(),d=ie,C=e.computed(()=>!!d.dataset&&Object.keys(d.dataset).length),f=e.ref(n.createUid()),pe=e.ref(null),T=e.ref(!1),x=e.ref(""),L=e.ref(0),m=e.ref(null),z=e.ref(null),I=e.ref(null),R=e.ref(null),q=e.ref(null),M=e.ref(0),U=e.ref(0),D=e.ref(0),t=e.computed({get:()=>H(),set:o=>o}),{userOptionsVisible:N,setUserOptionsVisibility:G,keepUserOptionState:W}=Ae.useUserOptionState({config:t.value}),{svgRef:he}=Fe.useChartAccessibility({config:t.value.style.chart.title});function H(){const o=ue.useNestedProp({userConfig:d.config,defaultConfig:ve});return o.theme?{...ue.useNestedProp({userConfig:n.themes.vue_ui_radar[o.theme]||d.config,defaultConfig:o}),customPalette:n.themePalettes[o.theme]||n.palette}:o}e.watch(()=>d.config,o=>{t.value=H(),N.value=!t.value.userOptions.showOnChartHover,j(),M.value+=1,U.value+=1,D.value+=1,p.value.dataLabels.show=t.value.style.chart.layout.labels.dataLabels.show,p.value.showTable=t.value.table.show,p.value.showTooltip=t.value.style.chart.tootlip.show},{deep:!0});const B=e.ref(null);function j(){if(n.objectIsEmpty(d.dataset)&&n.error({componentName:"VueUiRadar",type:"dataset"}),t.value.responsive){const o=ne.throttle(()=>{const{width:a,height:l}=ne.useResponsive({chart:m.value,title:t.value.style.chart.title.text?z.value:null,legend:t.value.style.chart.legend.show?I.value:null,source:R.value,noTitle:q.value});requestAnimationFrame(()=>{u.value.width=a,u.value.height=l})});B.value=new ResizeObserver(o),B.value.observe(m.value.parentNode)}}e.onMounted(()=>{j()}),e.onBeforeUnmount(()=>{B.value&&B.value.disconnect()});const{isPrinting:X,isImaging:Y,generatePdf:J,generateImage:K}=se.usePrinter({elementId:`vue-ui-radar_${f.value}`,fileName:t.value.style.chart.title.text||"vue-ui-radar"}),ge=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),Q=e.computed(()=>n.convertCustomPalette(t.value.customPalette)),p=e.ref({dataLabels:{show:t.value.style.chart.layout.labels.dataLabels.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),fe=e.computed(()=>({style:{backgroundColor:"#FFFFFF00",animation:{show:t.value.style.chart.tooltip.animation.show,animationFrames:t.value.style.chart.tooltip.animation.animationFrames},labels:{fontSize:t.value.style.chart.tooltip.fontSize,name:{color:t.value.style.chart.tooltip.color}},gutter:{backgroundColor:"#CCCCCC",opacity:30}}})),u=e.ref({height:312,width:512}),me=de,i=e.ref([]),w=e.ref(null),y=e.ref(!1);function Z(o){y.value=!0,i.value.includes(o)?(w.value=o,i.value=i.value.filter(a=>a!==o),setTimeout(()=>{y.value=!1,w.value=null},500)):(i.value.push(o),setTimeout(()=>{y.value=!1},500)),me("selectLegend",k.value.filter((a,l)=>!i.value.includes(l)).map(a=>({name:a.name,color:a.color,proportion:a.totalProportion})))}function ye(){return k.value.map(o=>({name:o.name,color:o.color,proportion:o.totalProportion}))}const v=e.computed(()=>[null,void 0].includes(d.dataset.categories)?(n.error({componentName:"VueUiRadar",type:"datasetAttribute",property:"categories ({ name: string; prefix?: string; suffix?: string}[])"}),[]):(d.dataset.categories.length===0?n.error({componentName:"VueUiRadar",type:"datasetAttributeEmpty",property:"categories"}):d.dataset.categories.forEach((o,a)=>{n.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name"]}).forEach(l=>{n.error({componentName:"VueUiRadar",type:"datasetAttribute",property:`category.${l} at index ${a}`,index:a})})}),[null,void 0].includes(d.dataset.series)?n.error({componentName:"VueUiRadar",type:"datasetAttribute",property:"series ({ name: string; values: number[]; color?: string; target: number}[])"}):d.dataset.series.forEach((o,a)=>{n.getMissingDatasetAttributes({datasetObject:o,requiredAttributes:["name","values","target"]}).forEach(l=>{n.error({componentName:"VueUiRadar",type:"datasetSerieAttribute",key:"series",property:l,index:a})})}),d.dataset.categories.map((o,a)=>({name:o.name,categoryId:`radar_category_${f.value}_${a}`,color:n.convertColorToHex(o.color)||Q.value[a]||n.palette[a]||n.palette[a%n.palette.length],prefix:o.prefix??"",suffix:o.suffix??""})))),h=e.computed(()=>C.value?d.dataset.series.map((o,a)=>({...o,color:n.convertColorToHex(o.color)||Q.value[a]||n.palette[a]||n.palette[a%n.palette.length],serieId:`radar_serie_${f.value}_${a}`,formatter:o.formatter||null})):[]),ee=e.computed(()=>Math.max(...h.value.flatMap(o=>o.values))),te=e.computed(()=>h.value.length),S=e.computed(()=>Math.min(u.value.width,u.value.height)/3),oe=e.computed(()=>n.createPolygonPath({plot:{x:u.value.width/2,y:u.value.height/2},radius:S.value,sides:te.value,rotation:0})),ke=e.computed(()=>{const o=[];for(let a=0;a<S.value;a+=S.value/t.value.style.chart.layout.grid.graduations)o.push(a);return o}),g=e.computed(()=>oe.value.coordinates.map((o,a)=>{const l=h.value[a].values.map(r=>be({centerX:u.value.width/2,centerY:u.value.height/2,apexX:o.x,apexY:o.y,proportion:r/(h.value[a].target||ee.value)}));return{...o,...h.value[a],plots:l}}));function E({x:o,y:a}){let l="middle";return o=Math.round(o),a=Math.round(a),o>u.value.width/2&&(o+=12,l="start"),o<u.value.width/2&&(o-=12,l="end"),a>u.value.height/2&&(a+=20),a<u.value.height/2&&(a-=12),a===u.value.height/2&&(a+=4),{x:o,y:a,anchor:l}}function be({centerX:o,centerY:a,apexX:l,apexY:r,proportion:s}){return{x:o+(l-o)*s,y:a+(r-a)*s}}const k=e.computed(()=>{const o=h.value.map((a,l)=>a.values.map(r=>r/(a.target||ee.value)));return v.value.map((a,l)=>({...a,totalProportion:n.checkNaN(o.map(r=>r[l]).reduce((r,s)=>r+s,0)/h.value.length),shape:"circle",opacity:i.value.includes(l)?.5:1,segregate:()=>Z(l),isSegregated:i.value.includes(l)}))}),Ce=e.computed(()=>({cy:"radar-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),P=e.computed(()=>{const o=[{name:t.value.translations.datapoint,color:""},{name:t.value.translations.target,color:""},...k.value],a=d.dataset.series.map(r=>[r.name,n.applyDataLabel(r.formatter,r.target,n.dataLabel({p:r.prefix,v:r.target,s:r.suffix,r:t.value.table.td.roundingValue})),...r.values.map((s,c)=>`${n.applyDataLabel(r.formatter,s,n.dataLabel({p:v.value[c].prefix,v:s,s:v.value[c].suffix,r:t.value.table.td.roundingValue}))} (${isNaN(s/r.target)?"":n.dataLabel({v:s/r.target*100,s:"%",r:t.value.table.td.roundingPercentage})})`)]),l={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint};return{head:o,body:a,config:l,colNames:o}}),_=e.ref(null),V=e.ref([]),A=e.ref(null);function we(o,a){V.value=[],_.value=a,T.value=!0;let l="";A.value={datapoint:o,seriesIndex:a,series:{categories:v.value,datapoints:h.value,radar:g.value},config:t.value};const r=t.value.style.chart.tooltip.customFormat;if(n.isFunction(r)&&n.functionReturnsString(()=>r({seriesIndex:a,datapoint:o,series:{categories:v.value,datapoints:h.value,radar:g.value},config:t.value})))x.value=r({seriesIndex:a,datapoint:o,series:{categories:v.value,datapoints:h.value,radar:g.value},config:t.value});else{l+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`;for(let s=0;s<o.values.length;s+=1)i.value.includes(s)||V.value.push({name:v.value[s].name,value:o.values[s]/o.target*100,color:v.value[s].color,suffix:"%)",prefix:`${n.dataLabel({p:v.value[s].prefix??"",v:o.values[s],s:v.value[s].suffix??"",r:t.value.style.chart.tooltip.roundingValue})} (`,rounding:t.value.style.chart.tooltip.roundingPercentage,formatter:o.formatter});x.value=l}}function ae(){e.nextTick(()=>{const o=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],a=[[""],[t.value.translations.target],...k.value.flatMap(c=>[[c.name],["%"]])],l=d.dataset.series.map((c,lt)=>[c.name,c.target,...c.values.flatMap(O=>[O,isNaN(O/c.target)?"":O/c.target*100])]),r=o.concat([a]).concat(l),s=n.createCsvContent(r);n.downloadCsv({csvContent:s,title:t.value.style.chart.title.text||"vue-ui-radar"})})}const b=e.ref(!1);function Be(o){b.value=o,L.value+=1}function le(){p.value.showTable=!p.value.showTable}function re(){p.value.showTooltip=!p.value.showTooltip}const $=e.ref(!1);function F(){$.value=!$.value}return ce({getData:ye,generatePdf:J,generateCsv:ae,generateImage:K,toggleTable:le,toggleTooltip:re,toggleAnnotator:F}),(o,a)=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(`vue-ui-radar ${b.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),ref_key:"radarChart",ref:m,id:`vue-ui-radar_${f.value}`,style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; ${t.value.responsive?"height: 100%;":""} text-align:center;background:${t.value.style.chart.backgroundColor}`),onMouseenter:a[3]||(a[3]=()=>e.unref(G)(!0)),onMouseleave:a[4]||(a[4]=()=>e.unref(G)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Ve.PenAndPaper,{key:0,parent:m.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:$.value,onClose:F},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ge.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:q,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:z,style:"width:100%;background:transparent;padding-bottom:12px"},[(e.openBlock(),e.createBlock(Pe._sfc_main,{key:`title_${M.value}`,config:{title:{cy:"radar-div-title",...t.value.style.chart.title},subtitle:{cy:"radar-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&C.value&&(e.unref(W)||e.unref(N))?(e.openBlock(),e.createBlock(se.UserOptions,{ref_key:"details",ref:pe,key:`user_options_${L.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isImaging:e.unref(Y),isPrinting:e.unref(X),uid:f.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasImg:t.value.userOptions.buttons.img,hasXls:t.value.userOptions.buttons.csv,hasTable:t.value.userOptions.buttons.table,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:b.value,isTooltip:p.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:m.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:$.value,onToggleFullscreen:Be,onGeneratePdf:e.unref(J),onGenerateCsv:ae,onGenerateImage:e.unref(K),onToggleTable:le,onToggleTooltip:re,onToggleAnnotator:F,style:e.normalizeStyle({visibility:e.unref(W)?e.unref(N)?"visible":"hidden":"visible"})},e.createSlots({_:2},[o.$slots.optionTooltip?{name:"optionTooltip",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTooltip",{},void 0,!0)]),key:"0"}:void 0,o.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionPdf",{},void 0,!0)]),key:"1"}:void 0,o.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionCsv",{},void 0,!0)]),key:"2"}:void 0,o.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionImg",{},void 0,!0)]),key:"3"}:void 0,o.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(o.$slots,"optionTable",{},void 0,!0)]),key:"4"}:void 0,o.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:l,isFullscreen:r})=>[e.renderSlot(o.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:l,isFullscreen:r})),void 0,!0)]),key:"5"}:void 0,o.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:l,isAnnotator:r})=>[e.renderSlot(o.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:l,isAnnotator:r})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isImaging","isPrinting","uid","hasTooltip","hasPdf","hasImg","hasXls","hasTable","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),C.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:he,xmlns:e.unref(n.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":b.value,"vue-data-ui-fulscreen--off":!b.value}),viewBox:`0 0 ${u.value.width<=0?10:u.value.width} ${u.value.height<=0?10:u.value.height}`,style:e.normalizeStyle(`max-width:100%;overflow:visible;background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Ee._sfc_main),o.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:0,y:0,width:u.value.width<=0?10:u.value.width,height:u.value.height<=0?10:u.value.height,style:{pointerEvents:"none"}},[e.renderSlot(o.$slots,"chart-background",{},void 0,!0)],8,Ie)):e.createCommentVNode("",!0),e.createElementVNode("defs",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,r)=>(e.openBlock(),e.createElementBlock("radialGradient",{cx:"50%",cy:"50%",r:"50%",fx:"50%",fy:"50%",id:`radar_gradient_${f.value}_${r}`},[e.createElementVNode("stop",{offset:"0%","stop-color":e.unref(n.setOpacity)(e.unref(n.shiftHue)(l.color,.05),t.value.style.chart.layout.dataPolygon.opacity)},null,8,qe),e.createElementVNode("stop",{offset:"100%","stop-color":e.unref(n.setOpacity)(l.color,t.value.style.chart.layout.dataPolygon.opacity)},null,8,Me)],8,Re))),256))]),t.value.style.chart.layout.grid.show?(e.openBlock(),e.createElementBlock("g",Ue,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,l=>(e.openBlock(),e.createElementBlock("line",{x1:u.value.width/2,y1:u.value.height/2,x2:l.x,y2:l.y,stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth},null,8,De))),256)),t.value.style.chart.layout.grid.graduations>0?(e.openBlock(),e.createElementBlock("g",Ge,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ke.value,l=>(e.openBlock(),e.createElementBlock("path",{d:e.unref(n.createPolygonPath)({plot:{x:u.value.width/2,y:u.value.height/2},radius:l,sides:te.value,rotation:0}).path,fill:"none",stroke:t.value.style.chart.layout.grid.stroke,"stroke-width":t.value.style.chart.layout.grid.strokeWidth},null,8,We))),256))])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),e.createElementVNode("path",{d:oe.value.path,fill:"none",stroke:t.value.style.chart.layout.outerPolygon.stroke,"stroke-width":t.value.style.chart.layout.outerPolygon.strokeWidth,"stroke-linejoin":"round","stroke-linecap":"round"},null,8,He),t.value.style.chart.layout.labels.dataLabels.show?(e.openBlock(),e.createElementBlock("g",je,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(l,r)=>(e.openBlock(),e.createElementBlock("text",{x:E(l).x,y:E(l).y,"text-anchor":E(l).anchor,"font-size":t.value.style.chart.layout.labels.dataLabels.fontSize,fill:t.value.style.chart.layout.labels.dataLabels.color,onMouseenter:s=>we(l,r),onMouseleave:a[0]||(a[0]=s=>{T.value=!1,_.value=null})},e.toDisplayString(l.name),41,Xe))),256))])):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(v.value,(l,r)=>(e.openBlock(),e.createElementBlock("g",null,[e.createElementVNode("g",null,[t.value.useCssAnimation||!t.value.useCssAnimation&&!i.value.includes(r)?(e.openBlock(),e.createElementBlock("polygon",{key:0,points:e.unref(n.makePath)(g.value.map(s=>s.plots[r]),!1,!0),stroke:t.value.style.chart.backgroundColor,"stroke-width":t.value.style.chart.layout.dataPolygon.strokeWidth+1,fill:"none",class:e.normalizeClass({"animated-out":i.value.includes(r)&&t.value.useCssAnimation,"animated-in":y.value&&w.value===r&&t.value.useCssAnimation})},null,10,Ye)):e.createCommentVNode("",!0),t.value.useCssAnimation||!t.value.useCssAnimation&&!i.value.includes(r)?(e.openBlock(),e.createElementBlock("polygon",{key:1,points:e.unref(n.makePath)(g.value.map(s=>s.plots[r]),!1,!0),stroke:l.color,"stroke-width":t.value.style.chart.layout.dataPolygon.strokeWidth,fill:t.value.style.chart.layout.dataPolygon.transparent?"transparent":t.value.style.chart.layout.dataPolygon.useGradient?`url(#radar_gradient_${f.value}_${r})`:e.unref(n.setOpacity)(l.color,t.value.style.chart.layout.dataPolygon.opacity),class:e.normalizeClass({"animated-out":i.value.includes(r)&&t.value.useCssAnimation,"animated-in":y.value&&w.value===r&&t.value.useCssAnimation})},null,10,Je)):e.createCommentVNode("",!0)])]))),256)),t.value.style.chart.layout.plots.show?(e.openBlock(),e.createElementBlock("g",Ke,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(g.value,(l,r)=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(l.plots,(s,c)=>(e.openBlock(),e.createElementBlock("circle",{cx:s.x,cy:s.y,fill:i.value.includes(c)?"transparent":v.value[c].color,r:_.value!==null&&_.value===r?t.value.style.chart.layout.plots.radius*1.6:t.value.style.chart.layout.plots.radius,stroke:i.value.includes(c)?"transparent":t.value.style.chart.backgroundColor,"stroke-width":.5,class:e.normalizeClass({"animated-out":i.value.includes(c)&&t.value.useCssAnimation,"animated-in":y.value&&w.value===c&&t.value.useCssAnimation})},null,10,Qe))),256))]))),256))])):e.createCommentVNode("",!0),e.renderSlot(o.$slots,"svg",{svg:u.value},void 0,!0)],14,ze)):e.createCommentVNode("",!0),o.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ze,[e.renderSlot(o.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(X)||e.unref(Y)})),void 0,!0)])):e.createCommentVNode("",!0),C.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ne.default,{key:6,config:{type:"radar",style:{backgroundColor:t.value.style.chart.backgroundColor,radar:{grid:{color:t.value.style.chart.layout.outerPolygon.stroke},shapes:{color:t.value.style.chart.layout.outerPolygon.stroke}}}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:I},[t.value.style.chart.legend.show?(e.openBlock(),e.createBlock(Te.Legend,{key:`legend_${D.value}`,legendSet:k.value,config:Ce.value,onClickMarker:a[1]||(a[1]=({i:l})=>Z(l))},{item:e.withCtx(({legend:l,index:r})=>[e.createElementVNode("div",{onClick:s=>l.segregate(),style:e.normalizeStyle(`opacity:${i.value.includes(r)?.5:1}`)},e.toDisplayString(l.name)+": "+e.toDisplayString(e.unref(n.dataLabel)({v:l.totalProportion*100,s:"%",r:t.value.style.chart.legend.roundingPercentage})),13,et)]),_:1},8,["legendSet","config"])):e.renderSlot(o.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),o.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:R,dir:"auto"},[e.renderSlot(o.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(_e._sfc_main,{show:p.value.showTooltip&&T.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,fontSize:t.value.style.chart.tooltip.fontSize,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:m.value,content:x.value,isFullscreen:b.value,isCustom:t.value.style.chart.tooltip.customFormat&&typeof t.value.style.chart.tooltip.customFormat=="function"},{"tooltip-before":e.withCtx(()=>[e.renderSlot(o.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({...A.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[["function"].includes(typeof t.value.style.chart.tooltip.customFormat)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tt,[e.createVNode($e.default,{dataset:V.value,config:fe.value,backgroundOpacity:0},null,8,["dataset","config"])])),e.renderSlot(o.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...A.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","borderRadius","borderColor","borderWidth","backgroundOpacity","fontSize","position","offsetY","parent","content","isFullscreen","isCustom"]),C.value?(e.openBlock(),e.createBlock(Se.default,{key:8,hideDetails:"",config:{open:p.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(xe.DataTable,{key:`table_${U.value}`,colNames:P.value.colNames,head:P.value.head,body:P.value.body,config:P.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:a[2]||(a[2]=l=>p.value.showTable=!1)},{th:e.withCtx(({th:l})=>[e.createTextVNode(e.toDisplayString(l.name),1)]),td:e.withCtx(({td:l})=>[e.createTextVNode(e.toDisplayString(l),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Le))}},at=Oe._export_sfc(ot,[["__scopeId","data-v-9ba7e341"]]);exports.default=at;
|
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
import { computed as p, ref as i, watch as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { u as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import { L as
|
|
9
|
-
import { D as
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { u as Se } from "./useNestedProp-
|
|
13
|
-
import { _ as
|
|
14
|
-
import { P as
|
|
15
|
-
import { u as
|
|
16
|
-
import {
|
|
17
|
-
|
|
1
|
+
import { computed as p, ref as i, watch as He, onMounted as Ye, onBeforeUnmount as Qe, createElementBlock as n, openBlock as r, unref as c, normalizeStyle as W, normalizeClass as R, createBlock as _, createCommentVNode as d, createElementVNode as $, createVNode as ee, createSlots as Je, withCtx as m, renderSlot as f, normalizeProps as z, guardReactiveProps as M, Fragment as T, renderList as P, toDisplayString as U, createTextVNode as Pe, nextTick as Ke } from "vue";
|
|
2
|
+
import { u as Ze, c as et, t as tt, p as x, a as at, o as ot, e as S, b as lt, g as xe, d as Ae, P as Oe, v as rt, i as Fe, f as V, X as st, s as te, w as nt, Q as Ne, q as ut, r as it, x as ct, y as dt } from "./index-CZlI7PiS.js";
|
|
3
|
+
import { t as vt, u as ht } from "./useResponsive-BWapHhVH.js";
|
|
4
|
+
import { _ as pt } from "./Title-DePxeqVl.js";
|
|
5
|
+
import { u as gt, U as ft } from "./usePrinter-D-sSdR2l.js";
|
|
6
|
+
import { _ as yt } from "./Tooltip-DRw9RoFp.js";
|
|
7
|
+
import mt from "./vue-ui-sparkbar-JIpGYhbq.js";
|
|
8
|
+
import { L as bt } from "./Legend-Oaw0MY8Y.js";
|
|
9
|
+
import { D as kt } from "./DataTable-D0-zzsJg.js";
|
|
10
|
+
import Ct from "./vue-ui-skeleton-D8r-yAkW.js";
|
|
11
|
+
import wt from "./vue-ui-accordion-DVtmOO3I.js";
|
|
12
|
+
import { u as Se } from "./useNestedProp-Cg0NIwr6.js";
|
|
13
|
+
import { _ as _t } from "./PackageVersion-J_USnljf.js";
|
|
14
|
+
import { P as $t } from "./PenAndPaper-CoEXEMcN.js";
|
|
15
|
+
import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
16
|
+
import { u as Pt } from "./useChartAccessibility-BWojgys7.js";
|
|
17
|
+
import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
const At = ["id"], Ot = ["xmlns", "viewBox"], Ft = ["width", "height"], Nt = ["id"], St = ["stop-color"], It = ["stop-color"], Lt = { key: 1 }, Rt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width"], zt = { key: 0 }, Mt = ["d", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Vt = { key: 2 }, Et = ["x", "y", "text-anchor", "font-size", "fill", "onMouseenter"], Bt = ["points", "stroke", "stroke-width"], Dt = ["points", "stroke", "stroke-width", "fill"], Gt = { key: 3 }, Wt = ["cx", "cy", "fill", "r", "stroke"], Xt = {
|
|
18
19
|
key: 5,
|
|
19
20
|
class: "vue-data-ui-watermark"
|
|
20
|
-
},
|
|
21
|
+
}, jt = ["onClick"], qt = {
|
|
21
22
|
key: 0,
|
|
22
23
|
style: { "max-width": "200px", margin: "0 auto" }
|
|
23
|
-
},
|
|
24
|
+
}, Ht = {
|
|
24
25
|
__name: "vue-ui-radar",
|
|
25
26
|
props: {
|
|
26
27
|
config: {
|
|
@@ -37,35 +38,35 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
37
38
|
}
|
|
38
39
|
},
|
|
39
40
|
emits: ["selectLegend"],
|
|
40
|
-
setup(Ie, { expose: Le, emit:
|
|
41
|
-
const { vue_ui_radar:
|
|
41
|
+
setup(Ie, { expose: Le, emit: Re }) {
|
|
42
|
+
const { vue_ui_radar: ze } = Ze(), g = Ie, I = p(() => !!g.dataset && Object.keys(g.dataset).length), w = i(et()), Me = i(null), X = i(!1), j = i(""), ae = i(0), A = i(null), oe = i(null), le = i(null), re = i(null), se = i(null), ne = i(0), ue = i(0), ie = i(0), e = p({
|
|
42
43
|
get: () => ve(),
|
|
43
44
|
set: (t) => t
|
|
44
|
-
}), { userOptionsVisible: q, setUserOptionsVisibility: ce, keepUserOptionState: de } =
|
|
45
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: ce, keepUserOptionState: de } = Tt({ config: e.value }), { svgRef: Ue } = Pt({ config: e.value.style.chart.title });
|
|
45
46
|
function ve() {
|
|
46
47
|
const t = Se({
|
|
47
48
|
userConfig: g.config,
|
|
48
|
-
defaultConfig:
|
|
49
|
+
defaultConfig: ze
|
|
49
50
|
});
|
|
50
51
|
return t.theme ? {
|
|
51
52
|
...Se({
|
|
52
|
-
userConfig:
|
|
53
|
+
userConfig: at.vue_ui_radar[t.theme] || g.config,
|
|
53
54
|
defaultConfig: t
|
|
54
55
|
}),
|
|
55
|
-
customPalette:
|
|
56
|
+
customPalette: tt[t.theme] || x
|
|
56
57
|
} : t;
|
|
57
58
|
}
|
|
58
|
-
|
|
59
|
+
He(() => g.config, (t) => {
|
|
59
60
|
e.value = ve(), q.value = !e.value.userOptions.showOnChartHover, he(), ne.value += 1, ue.value += 1, ie.value += 1, b.value.dataLabels.show = e.value.style.chart.layout.labels.dataLabels.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tootlip.show;
|
|
60
61
|
}, { deep: !0 });
|
|
61
62
|
const E = i(null);
|
|
62
63
|
function he() {
|
|
63
|
-
if (
|
|
64
|
+
if (ot(g.dataset) && S({
|
|
64
65
|
componentName: "VueUiRadar",
|
|
65
66
|
type: "dataset"
|
|
66
67
|
}), e.value.responsive) {
|
|
67
|
-
const t =
|
|
68
|
-
const { width: a, height: o } =
|
|
68
|
+
const t = vt(() => {
|
|
69
|
+
const { width: a, height: o } = ht({
|
|
69
70
|
chart: A.value,
|
|
70
71
|
title: e.value.style.chart.title.text ? oe.value : null,
|
|
71
72
|
legend: e.value.style.chart.legend.show ? le.value : null,
|
|
@@ -79,21 +80,21 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
79
80
|
E.value = new ResizeObserver(t), E.value.observe(A.value.parentNode);
|
|
80
81
|
}
|
|
81
82
|
}
|
|
82
|
-
|
|
83
|
+
Ye(() => {
|
|
83
84
|
he();
|
|
84
|
-
}),
|
|
85
|
+
}), Qe(() => {
|
|
85
86
|
E.value && E.value.disconnect();
|
|
86
87
|
});
|
|
87
|
-
const { isPrinting: pe, isImaging: ge, generatePdf: fe, generateImage: ye } =
|
|
88
|
+
const { isPrinting: pe, isImaging: ge, generatePdf: fe, generateImage: ye } = gt({
|
|
88
89
|
elementId: `vue-ui-radar_${w.value}`,
|
|
89
90
|
fileName: e.value.style.chart.title.text || "vue-ui-radar"
|
|
90
|
-
}),
|
|
91
|
+
}), Ve = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), me = p(() => lt(e.value.customPalette)), b = i({
|
|
91
92
|
dataLabels: {
|
|
92
93
|
show: e.value.style.chart.layout.labels.dataLabels.show
|
|
93
94
|
},
|
|
94
95
|
showTable: e.value.table.show,
|
|
95
96
|
showTooltip: e.value.style.chart.tooltip.show
|
|
96
|
-
}),
|
|
97
|
+
}), Ee = p(() => ({
|
|
97
98
|
style: {
|
|
98
99
|
backgroundColor: "#FFFFFF00",
|
|
99
100
|
animation: {
|
|
@@ -114,19 +115,19 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
114
115
|
})), u = i({
|
|
115
116
|
height: 312,
|
|
116
117
|
width: 512
|
|
117
|
-
}),
|
|
118
|
+
}), Be = Re, v = i([]), L = i(null), O = i(!1);
|
|
118
119
|
function be(t) {
|
|
119
120
|
O.value = !0, v.value.includes(t) ? (L.value = t, v.value = v.value.filter((a) => a !== t), setTimeout(() => {
|
|
120
121
|
O.value = !1, L.value = null;
|
|
121
122
|
}, 500)) : (v.value.push(t), setTimeout(() => {
|
|
122
123
|
O.value = !1;
|
|
123
|
-
}, 500)),
|
|
124
|
+
}, 500)), Be("selectLegend", F.value.filter((a, o) => !v.value.includes(o)).map((a) => ({
|
|
124
125
|
name: a.name,
|
|
125
126
|
color: a.color,
|
|
126
127
|
proportion: a.totalProportion
|
|
127
128
|
})));
|
|
128
129
|
}
|
|
129
|
-
function
|
|
130
|
+
function De() {
|
|
130
131
|
return F.value.map((t) => ({
|
|
131
132
|
name: t.name,
|
|
132
133
|
color: t.color,
|
|
@@ -186,13 +187,13 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
186
187
|
radius: H.value,
|
|
187
188
|
sides: Ce.value,
|
|
188
189
|
rotation: 0
|
|
189
|
-
})),
|
|
190
|
+
})), Ge = p(() => {
|
|
190
191
|
const t = [];
|
|
191
192
|
for (let a = 0; a < H.value; a += H.value / e.value.style.chart.layout.grid.graduations)
|
|
192
193
|
t.push(a);
|
|
193
194
|
return t;
|
|
194
195
|
}), C = p(() => we.value.coordinates.map((t, a) => {
|
|
195
|
-
const o = k.value[a].values.map((l) =>
|
|
196
|
+
const o = k.value[a].values.map((l) => We({
|
|
196
197
|
centerX: u.value.width / 2,
|
|
197
198
|
centerY: u.value.height / 2,
|
|
198
199
|
apexX: t.x,
|
|
@@ -209,7 +210,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
209
210
|
let o = "middle";
|
|
210
211
|
return t = Math.round(t), a = Math.round(a), t > u.value.width / 2 && (t += 12, o = "start"), t < u.value.width / 2 && (t -= 12, o = "end"), a > u.value.height / 2 && (a += 20), a < u.value.height / 2 && (a -= 12), a === u.value.height / 2 && (a += 4), { x: t, y: a, anchor: o };
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function We({ centerX: t, centerY: a, apexX: o, apexY: l, proportion: s }) {
|
|
213
214
|
return {
|
|
214
215
|
x: t + (o - t) * s,
|
|
215
216
|
y: a + (l - a) * s
|
|
@@ -219,13 +220,13 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
219
220
|
const t = k.value.map((a, o) => a.values.map((l) => l / (a.target || ke.value)));
|
|
220
221
|
return y.value.map((a, o) => ({
|
|
221
222
|
...a,
|
|
222
|
-
totalProportion:
|
|
223
|
+
totalProportion: rt(t.map((l) => l[o]).reduce((l, s) => l + s, 0) / k.value.length),
|
|
223
224
|
shape: "circle",
|
|
224
225
|
opacity: v.value.includes(o) ? 0.5 : 1,
|
|
225
226
|
segregate: () => be(o),
|
|
226
227
|
isSegregated: v.value.includes(o)
|
|
227
228
|
}));
|
|
228
|
-
}),
|
|
229
|
+
}), Xe = p(() => ({
|
|
229
230
|
cy: "radar-div-legend",
|
|
230
231
|
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
231
232
|
color: e.value.style.chart.legend.color,
|
|
@@ -273,7 +274,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
273
274
|
};
|
|
274
275
|
return { head: t, body: a, config: o, colNames: t };
|
|
275
276
|
}), D = i(null), Q = i([]), J = i(null);
|
|
276
|
-
function
|
|
277
|
+
function je(t, a) {
|
|
277
278
|
Q.value = [], D.value = a, X.value = !0;
|
|
278
279
|
let o = "";
|
|
279
280
|
J.value = {
|
|
@@ -287,7 +288,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
287
288
|
config: e.value
|
|
288
289
|
};
|
|
289
290
|
const l = e.value.style.chart.tooltip.customFormat;
|
|
290
|
-
if (
|
|
291
|
+
if (ct(l) && dt(() => l({
|
|
291
292
|
seriesIndex: a,
|
|
292
293
|
datapoint: t,
|
|
293
294
|
series: { categories: y.value, datapoints: k.value, radar: C.value },
|
|
@@ -315,16 +316,16 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
315
316
|
}
|
|
316
317
|
}
|
|
317
318
|
function _e() {
|
|
318
|
-
|
|
319
|
-
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((h) => [[h.name], ["%"]])], o = g.dataset.series.map((h,
|
|
319
|
+
Ke(() => {
|
|
320
|
+
const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = [[""], [e.value.translations.target], ...F.value.flatMap((h) => [[h.name], ["%"]])], o = g.dataset.series.map((h, Yt) => [h.name, h.target, ...h.values.flatMap((Z) => [
|
|
320
321
|
Z,
|
|
321
322
|
isNaN(Z / h.target) ? "" : Z / h.target * 100
|
|
322
|
-
])]), l = t.concat([a]).concat(o), s =
|
|
323
|
-
|
|
323
|
+
])]), l = t.concat([a]).concat(o), s = ut(l);
|
|
324
|
+
it({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-radar" });
|
|
324
325
|
});
|
|
325
326
|
}
|
|
326
327
|
const N = i(!1);
|
|
327
|
-
function
|
|
328
|
+
function qe(t) {
|
|
328
329
|
N.value = t, ae.value += 1;
|
|
329
330
|
}
|
|
330
331
|
function $e() {
|
|
@@ -338,7 +339,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
338
339
|
G.value = !G.value;
|
|
339
340
|
}
|
|
340
341
|
return Le({
|
|
341
|
-
getData:
|
|
342
|
+
getData: De,
|
|
342
343
|
generatePdf: fe,
|
|
343
344
|
generateCsv: _e,
|
|
344
345
|
generateImage: ye,
|
|
@@ -346,7 +347,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
346
347
|
toggleTooltip: Te,
|
|
347
348
|
toggleAnnotator: K
|
|
348
349
|
}), (t, a) => (r(), n("div", {
|
|
349
|
-
class:
|
|
350
|
+
class: R(`vue-ui-radar ${N.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
350
351
|
ref_key: "radarChart",
|
|
351
352
|
ref: A,
|
|
352
353
|
id: `vue-ui-radar_${w.value}`,
|
|
@@ -354,7 +355,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
354
355
|
onMouseenter: a[3] || (a[3] = () => c(ce)(!0)),
|
|
355
356
|
onMouseleave: a[4] || (a[4] = () => c(ce)(!1))
|
|
356
357
|
}, [
|
|
357
|
-
e.value.userOptions.buttons.annotator ? (r(), _(
|
|
358
|
+
e.value.userOptions.buttons.annotator ? (r(), _($t, {
|
|
358
359
|
key: 0,
|
|
359
360
|
parent: A.value,
|
|
360
361
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -362,7 +363,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
362
363
|
active: G.value,
|
|
363
364
|
onClose: K
|
|
364
365
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
365
|
-
|
|
366
|
+
Ve.value ? (r(), n("div", {
|
|
366
367
|
key: 1,
|
|
367
368
|
ref_key: "noTitle",
|
|
368
369
|
ref: se,
|
|
@@ -375,7 +376,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
375
376
|
ref: oe,
|
|
376
377
|
style: "width:100%;background:transparent;padding-bottom:12px"
|
|
377
378
|
}, [
|
|
378
|
-
(r(), _(
|
|
379
|
+
(r(), _(pt, {
|
|
379
380
|
key: `title_${ne.value}`,
|
|
380
381
|
config: {
|
|
381
382
|
title: {
|
|
@@ -389,9 +390,9 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
389
390
|
}
|
|
390
391
|
}, null, 8, ["config"]))
|
|
391
392
|
], 512)) : d("", !0),
|
|
392
|
-
e.value.userOptions.show && I.value && (c(de) || c(q)) ? (r(), _(
|
|
393
|
+
e.value.userOptions.show && I.value && (c(de) || c(q)) ? (r(), _(ft, {
|
|
393
394
|
ref_key: "details",
|
|
394
|
-
ref:
|
|
395
|
+
ref: Me,
|
|
395
396
|
key: `user_options_${ae.value}`,
|
|
396
397
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
397
398
|
color: e.value.style.chart.color,
|
|
@@ -411,7 +412,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
411
412
|
position: e.value.userOptions.position,
|
|
412
413
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
413
414
|
isAnnotation: G.value,
|
|
414
|
-
onToggleFullscreen:
|
|
415
|
+
onToggleFullscreen: qe,
|
|
415
416
|
onGeneratePdf: c(fe),
|
|
416
417
|
onGenerateCsv: _e,
|
|
417
418
|
onGenerateImage: c(ye),
|
|
@@ -421,7 +422,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
421
422
|
style: W({
|
|
422
423
|
visibility: c(de) ? c(q) ? "visible" : "hidden" : "visible"
|
|
423
424
|
})
|
|
424
|
-
},
|
|
425
|
+
}, Je({ _: 2 }, [
|
|
425
426
|
t.$slots.optionTooltip ? {
|
|
426
427
|
name: "optionTooltip",
|
|
427
428
|
fn: m(() => [
|
|
@@ -460,26 +461,28 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
460
461
|
t.$slots.optionFullscreen ? {
|
|
461
462
|
name: "optionFullscreen",
|
|
462
463
|
fn: m(({ toggleFullscreen: o, isFullscreen: l }) => [
|
|
463
|
-
f(t.$slots, "optionFullscreen", M(
|
|
464
|
+
f(t.$slots, "optionFullscreen", z(M({ toggleFullscreen: o, isFullscreen: l })), void 0, !0)
|
|
464
465
|
]),
|
|
465
466
|
key: "5"
|
|
466
467
|
} : void 0,
|
|
467
468
|
t.$slots.optionAnnotator ? {
|
|
468
469
|
name: "optionAnnotator",
|
|
469
470
|
fn: m(({ toggleAnnotator: o, isAnnotator: l }) => [
|
|
470
|
-
f(t.$slots, "optionAnnotator", M(
|
|
471
|
+
f(t.$slots, "optionAnnotator", z(M({ toggleAnnotator: o, isAnnotator: l })), void 0, !0)
|
|
471
472
|
]),
|
|
472
473
|
key: "6"
|
|
473
474
|
} : void 0
|
|
474
475
|
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
|
|
475
476
|
I.value ? (r(), n("svg", {
|
|
476
477
|
key: 4,
|
|
477
|
-
|
|
478
|
-
|
|
478
|
+
ref_key: "svgRef",
|
|
479
|
+
ref: Ue,
|
|
480
|
+
xmlns: c(st),
|
|
481
|
+
class: R({ "vue-data-ui-fullscreen--on": N.value, "vue-data-ui-fulscreen--off": !N.value }),
|
|
479
482
|
viewBox: `0 0 ${u.value.width <= 0 ? 10 : u.value.width} ${u.value.height <= 0 ? 10 : u.value.height}`,
|
|
480
483
|
style: W(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
481
484
|
}, [
|
|
482
|
-
ee(
|
|
485
|
+
ee(_t),
|
|
483
486
|
t.$slots["chart-background"] ? (r(), n("foreignObject", {
|
|
484
487
|
key: 0,
|
|
485
488
|
x: 0,
|
|
@@ -491,7 +494,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
491
494
|
}
|
|
492
495
|
}, [
|
|
493
496
|
f(t.$slots, "chart-background", {}, void 0, !0)
|
|
494
|
-
], 8,
|
|
497
|
+
], 8, Ft)) : d("", !0),
|
|
495
498
|
$("defs", null, [
|
|
496
499
|
(r(!0), n(T, null, P(y.value, (o, l) => (r(), n("radialGradient", {
|
|
497
500
|
cx: "50%",
|
|
@@ -503,15 +506,15 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
503
506
|
}, [
|
|
504
507
|
$("stop", {
|
|
505
508
|
offset: "0%",
|
|
506
|
-
"stop-color": c(te)(c(
|
|
507
|
-
}, null, 8,
|
|
509
|
+
"stop-color": c(te)(c(nt)(o.color, 0.05), e.value.style.chart.layout.dataPolygon.opacity)
|
|
510
|
+
}, null, 8, St),
|
|
508
511
|
$("stop", {
|
|
509
512
|
offset: "100%",
|
|
510
513
|
"stop-color": c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity)
|
|
511
|
-
}, null, 8,
|
|
512
|
-
], 8,
|
|
514
|
+
}, null, 8, It)
|
|
515
|
+
], 8, Nt))), 256))
|
|
513
516
|
]),
|
|
514
|
-
e.value.style.chart.layout.grid.show ? (r(), n("g",
|
|
517
|
+
e.value.style.chart.layout.grid.show ? (r(), n("g", Lt, [
|
|
515
518
|
(r(!0), n(T, null, P(C.value, (o) => (r(), n("line", {
|
|
516
519
|
x1: u.value.width / 2,
|
|
517
520
|
y1: u.value.height / 2,
|
|
@@ -519,9 +522,9 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
519
522
|
y2: o.y,
|
|
520
523
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
521
524
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
522
|
-
}, null, 8,
|
|
523
|
-
e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g",
|
|
524
|
-
(r(!0), n(T, null, P(
|
|
525
|
+
}, null, 8, Rt))), 256)),
|
|
526
|
+
e.value.style.chart.layout.grid.graduations > 0 ? (r(), n("g", zt, [
|
|
527
|
+
(r(!0), n(T, null, P(Ge.value, (o) => (r(), n("path", {
|
|
525
528
|
d: c(Oe)({
|
|
526
529
|
plot: { x: u.value.width / 2, y: u.value.height / 2 },
|
|
527
530
|
radius: o,
|
|
@@ -531,7 +534,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
531
534
|
fill: "none",
|
|
532
535
|
stroke: e.value.style.chart.layout.grid.stroke,
|
|
533
536
|
"stroke-width": e.value.style.chart.layout.grid.strokeWidth
|
|
534
|
-
}, null, 8,
|
|
537
|
+
}, null, 8, Mt))), 256))
|
|
535
538
|
])) : d("", !0)
|
|
536
539
|
])) : d("", !0),
|
|
537
540
|
$("path", {
|
|
@@ -541,19 +544,19 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
541
544
|
"stroke-width": e.value.style.chart.layout.outerPolygon.strokeWidth,
|
|
542
545
|
"stroke-linejoin": "round",
|
|
543
546
|
"stroke-linecap": "round"
|
|
544
|
-
}, null, 8,
|
|
545
|
-
e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g",
|
|
547
|
+
}, null, 8, Ut),
|
|
548
|
+
e.value.style.chart.layout.labels.dataLabels.show ? (r(), n("g", Vt, [
|
|
546
549
|
(r(!0), n(T, null, P(C.value, (o, l) => (r(), n("text", {
|
|
547
550
|
x: Y(o).x,
|
|
548
551
|
y: Y(o).y,
|
|
549
552
|
"text-anchor": Y(o).anchor,
|
|
550
553
|
"font-size": e.value.style.chart.layout.labels.dataLabels.fontSize,
|
|
551
554
|
fill: e.value.style.chart.layout.labels.dataLabels.color,
|
|
552
|
-
onMouseenter: (s) =>
|
|
555
|
+
onMouseenter: (s) => je(o, l),
|
|
553
556
|
onMouseleave: a[0] || (a[0] = (s) => {
|
|
554
557
|
X.value = !1, D.value = null;
|
|
555
558
|
})
|
|
556
|
-
}, U(o.name), 41,
|
|
559
|
+
}, U(o.name), 41, Et))), 256))
|
|
557
560
|
])) : d("", !0),
|
|
558
561
|
(r(!0), n(T, null, P(y.value, (o, l) => (r(), n("g", null, [
|
|
559
562
|
$("g", null, [
|
|
@@ -563,19 +566,19 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
563
566
|
stroke: e.value.style.chart.backgroundColor,
|
|
564
567
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth + 1,
|
|
565
568
|
fill: "none",
|
|
566
|
-
class:
|
|
567
|
-
}, null, 10,
|
|
569
|
+
class: R({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
|
|
570
|
+
}, null, 10, Bt)) : d("", !0),
|
|
568
571
|
e.value.useCssAnimation || !e.value.useCssAnimation && !v.value.includes(l) ? (r(), n("polygon", {
|
|
569
572
|
key: 1,
|
|
570
573
|
points: c(Ne)(C.value.map((s) => s.plots[l]), !1, !0),
|
|
571
574
|
stroke: o.color,
|
|
572
575
|
"stroke-width": e.value.style.chart.layout.dataPolygon.strokeWidth,
|
|
573
576
|
fill: e.value.style.chart.layout.dataPolygon.transparent ? "transparent" : e.value.style.chart.layout.dataPolygon.useGradient ? `url(#radar_gradient_${w.value}_${l})` : c(te)(o.color, e.value.style.chart.layout.dataPolygon.opacity),
|
|
574
|
-
class:
|
|
575
|
-
}, null, 10,
|
|
577
|
+
class: R({ "animated-out": v.value.includes(l) && e.value.useCssAnimation, "animated-in": O.value && L.value === l && e.value.useCssAnimation })
|
|
578
|
+
}, null, 10, Dt)) : d("", !0)
|
|
576
579
|
])
|
|
577
580
|
]))), 256)),
|
|
578
|
-
e.value.style.chart.layout.plots.show ? (r(), n("g",
|
|
581
|
+
e.value.style.chart.layout.plots.show ? (r(), n("g", Gt, [
|
|
579
582
|
(r(!0), n(T, null, P(C.value, (o, l) => (r(), n("g", null, [
|
|
580
583
|
(r(!0), n(T, null, P(o.plots, (s, h) => (r(), n("circle", {
|
|
581
584
|
cx: s.x,
|
|
@@ -584,16 +587,16 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
584
587
|
r: D.value !== null && D.value === l ? e.value.style.chart.layout.plots.radius * 1.6 : e.value.style.chart.layout.plots.radius,
|
|
585
588
|
stroke: v.value.includes(h) ? "transparent" : e.value.style.chart.backgroundColor,
|
|
586
589
|
"stroke-width": 0.5,
|
|
587
|
-
class:
|
|
588
|
-
}, null, 10,
|
|
590
|
+
class: R({ "animated-out": v.value.includes(h) && e.value.useCssAnimation, "animated-in": O.value && L.value === h && e.value.useCssAnimation })
|
|
591
|
+
}, null, 10, Wt))), 256))
|
|
589
592
|
]))), 256))
|
|
590
593
|
])) : d("", !0),
|
|
591
594
|
f(t.$slots, "svg", { svg: u.value }, void 0, !0)
|
|
592
|
-
], 14,
|
|
593
|
-
t.$slots.watermark ? (r(), n("div",
|
|
594
|
-
f(t.$slots, "watermark", M(
|
|
595
|
+
], 14, Ot)) : d("", !0),
|
|
596
|
+
t.$slots.watermark ? (r(), n("div", Xt, [
|
|
597
|
+
f(t.$slots, "watermark", z(M({ isPrinting: c(pe) || c(ge) })), void 0, !0)
|
|
595
598
|
])) : d("", !0),
|
|
596
|
-
I.value ? d("", !0) : (r(), _(
|
|
599
|
+
I.value ? d("", !0) : (r(), _(Ct, {
|
|
597
600
|
key: 6,
|
|
598
601
|
config: {
|
|
599
602
|
type: "radar",
|
|
@@ -614,10 +617,10 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
614
617
|
ref_key: "chartLegend",
|
|
615
618
|
ref: le
|
|
616
619
|
}, [
|
|
617
|
-
e.value.style.chart.legend.show ? (r(), _(
|
|
620
|
+
e.value.style.chart.legend.show ? (r(), _(bt, {
|
|
618
621
|
key: `legend_${ie.value}`,
|
|
619
622
|
legendSet: F.value,
|
|
620
|
-
config:
|
|
623
|
+
config: Xe.value,
|
|
621
624
|
onClickMarker: a[1] || (a[1] = ({ i: o }) => be(o))
|
|
622
625
|
}, {
|
|
623
626
|
item: m(({ legend: o, index: l }) => [
|
|
@@ -628,7 +631,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
628
631
|
v: o.totalProportion * 100,
|
|
629
632
|
s: "%",
|
|
630
633
|
r: e.value.style.chart.legend.roundingPercentage
|
|
631
|
-
})), 13,
|
|
634
|
+
})), 13, jt)
|
|
632
635
|
]),
|
|
633
636
|
_: 1
|
|
634
637
|
}, 8, ["legendSet", "config"])) : f(t.$slots, "legend", {
|
|
@@ -644,7 +647,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
644
647
|
}, [
|
|
645
648
|
f(t.$slots, "source", {}, void 0, !0)
|
|
646
649
|
], 512)) : d("", !0),
|
|
647
|
-
ee(
|
|
650
|
+
ee(yt, {
|
|
648
651
|
show: b.value.showTooltip && X.value,
|
|
649
652
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
650
653
|
color: e.value.style.chart.tooltip.color,
|
|
@@ -661,21 +664,21 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
661
664
|
isCustom: e.value.style.chart.tooltip.customFormat && typeof e.value.style.chart.tooltip.customFormat == "function"
|
|
662
665
|
}, {
|
|
663
666
|
"tooltip-before": m(() => [
|
|
664
|
-
f(t.$slots, "tooltip-before", M(
|
|
667
|
+
f(t.$slots, "tooltip-before", z(M({ ...J.value })), void 0, !0)
|
|
665
668
|
]),
|
|
666
669
|
"tooltip-after": m(() => [
|
|
667
|
-
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), n("div",
|
|
668
|
-
ee(
|
|
670
|
+
["function"].includes(typeof e.value.style.chart.tooltip.customFormat) ? d("", !0) : (r(), n("div", qt, [
|
|
671
|
+
ee(mt, {
|
|
669
672
|
dataset: Q.value,
|
|
670
|
-
config:
|
|
673
|
+
config: Ee.value,
|
|
671
674
|
backgroundOpacity: 0
|
|
672
675
|
}, null, 8, ["dataset", "config"])
|
|
673
676
|
])),
|
|
674
|
-
f(t.$slots, "tooltip-after", M(
|
|
677
|
+
f(t.$slots, "tooltip-after", z(M({ ...J.value })), void 0, !0)
|
|
675
678
|
]),
|
|
676
679
|
_: 3
|
|
677
680
|
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "fontSize", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
678
|
-
I.value ? (r(), _(
|
|
681
|
+
I.value ? (r(), _(wt, {
|
|
679
682
|
key: 8,
|
|
680
683
|
hideDetails: "",
|
|
681
684
|
config: {
|
|
@@ -692,7 +695,7 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
692
695
|
}
|
|
693
696
|
}, {
|
|
694
697
|
content: m(() => [
|
|
695
|
-
(r(), _(
|
|
698
|
+
(r(), _(kt, {
|
|
696
699
|
key: `table_${ue.value}`,
|
|
697
700
|
colNames: B.value.colNames,
|
|
698
701
|
head: B.value.head,
|
|
@@ -712,9 +715,9 @@ const Pt = ["id"], xt = ["xmlns", "viewBox"], At = ["width", "height"], Ot = ["i
|
|
|
712
715
|
]),
|
|
713
716
|
_: 1
|
|
714
717
|
}, 8, ["config"])) : d("", !0)
|
|
715
|
-
], 46,
|
|
718
|
+
], 46, At));
|
|
716
719
|
}
|
|
717
|
-
},
|
|
720
|
+
}, ha = /* @__PURE__ */ xt(Ht, [["__scopeId", "data-v-9ba7e341"]]);
|
|
718
721
|
export {
|
|
719
|
-
|
|
722
|
+
ha as default
|
|
720
723
|
};
|