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.
Files changed (197) hide show
  1. package/dist/{Arrow-DFWjAvCY.js → Arrow-BHD3VBsD.js} +1 -1
  2. package/dist/{Arrow-BYqxz6UG.cjs → Arrow-YuEygGzC.cjs} +1 -1
  3. package/dist/{BaseIcon-COe_H-UB.cjs → BaseIcon-D326yPTV.cjs} +1 -1
  4. package/dist/{BaseIcon-t20JEZNG.js → BaseIcon-dThl5uNa.js} +1 -1
  5. package/dist/{DataTable-Du7nJ0TM.cjs → DataTable-CaD8j-SL.cjs} +1 -1
  6. package/dist/{DataTable-CJN0sipt.js → DataTable-D0-zzsJg.js} +2 -2
  7. package/dist/{Legend-CM7IGBC3.cjs → Legend-CEw2uq9s.cjs} +1 -1
  8. package/dist/{Legend-BDyPoYfp.js → Legend-Oaw0MY8Y.js} +2 -2
  9. package/dist/{PackageVersion-qeLvq6l8.cjs → PackageVersion-CCgJTyH9.cjs} +1 -1
  10. package/dist/{PackageVersion-DqmHcoqz.js → PackageVersion-J_USnljf.js} +1 -1
  11. package/dist/{PenAndPaper-6UYizrkQ.js → PenAndPaper-CoEXEMcN.js} +3 -3
  12. package/dist/{PenAndPaper-BYqaxOpk.cjs → PenAndPaper-DvNBHCpq.cjs} +1 -1
  13. package/dist/Shape-Cwx-wRaK.cjs +1 -0
  14. package/dist/{Shape-C_qIhG3J.js → Shape-Dtm6toQp.js} +26 -23
  15. package/dist/{Slicer-DPae3p1M.cjs → Slicer-7z_6bjyU.cjs} +1 -1
  16. package/dist/{Slicer-BQP3UIW-.js → Slicer-BAcq2vD0.js} +2 -2
  17. package/dist/{Title-BGiQdt7J.cjs → Title-BQSh4ukk.cjs} +1 -1
  18. package/dist/{Title-D6h1gTvZ.js → Title-DePxeqVl.js} +1 -1
  19. package/dist/{Tooltip-BonEVaob.js → Tooltip-DRw9RoFp.js} +23 -20
  20. package/dist/Tooltip-DtqrGu-Q.cjs +1 -0
  21. package/dist/{index-B9qF6XbP.js → index-CZlI7PiS.js} +1 -1
  22. package/dist/{index-kZKcQZM_.cjs → index-DD4PT0Pl.cjs} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-BWojgys7.js +13 -0
  25. package/dist/useChartAccessibility-Cm7nkzTG.cjs +1 -0
  26. package/dist/{useNestedProp-g5oKzlVy.js → useNestedProp-Cg0NIwr6.js} +1 -1
  27. package/dist/{useNestedProp-D4Jn2Oxr.cjs → useNestedProp-DU7JFxpL.cjs} +1 -1
  28. package/dist/{usePrinter-DR42gTOS.cjs → usePrinter-BtJq2wwh.cjs} +1 -1
  29. package/dist/{usePrinter-DsiBLAy1.js → usePrinter-D-sSdR2l.js} +1 -1
  30. package/dist/{vue-data-ui-DB2kdhYH.js → vue-data-ui-Dh3BJvUF.js} +61 -61
  31. package/dist/{vue-data-ui-DbhVASfn.cjs → vue-data-ui-DzVmFW3P.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-DHeSFJ5z.js → vue-ui-3d-bar-Ckd-GTWY.js} +171 -168
  35. package/dist/vue-ui-3d-bar-llxfgI9N.cjs +19 -0
  36. package/dist/{vue-ui-accordion-BfDu7hTY.cjs → vue-ui-accordion-2He8z0Sy.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-DBmchkva.js → vue-ui-accordion-DVtmOO3I.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-CvUCPqxa.js → vue-ui-age-pyramid-BUGAES7K.js} +85 -82
  39. package/dist/vue-ui-age-pyramid-CxBb12yp.cjs +1 -0
  40. package/dist/{vue-ui-annotator-BV9t6ro7.cjs → vue-ui-annotator-BDUanFLb.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-Dr5PLrJx.js → vue-ui-annotator-gIa7-tAI.js} +1 -1
  42. package/dist/vue-ui-bullet-Bg8f_RzX.cjs +34 -0
  43. package/dist/{vue-ui-bullet-D7Uw9tez.js → vue-ui-bullet-DNfzMdcg.js} +92 -89
  44. package/dist/vue-ui-candlestick-CnKPX6xB.cjs +2 -0
  45. package/dist/{vue-ui-candlestick-BFmh-zx1.js → vue-ui-candlestick-jErGIOZA.js} +155 -152
  46. package/dist/{vue-ui-carousel-table-CUhkylz_.js → vue-ui-carousel-table-DHyvpjWL.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-C30Gvanv.cjs → vue-ui-carousel-table-DsY9Mrdg.cjs} +1 -1
  48. package/dist/vue-ui-chestnut-BTCxF3dU.cjs +6 -0
  49. package/dist/{vue-ui-chestnut-C53wdHmR.js → vue-ui-chestnut-kQjk4FqR.js} +186 -183
  50. package/dist/{vue-ui-circle-pack-Bj3sA7RV.js → vue-ui-circle-pack-BQbwIDRa.js} +99 -96
  51. package/dist/vue-ui-circle-pack-D-eMMNzU.cjs +1 -0
  52. package/dist/{vue-ui-cursor-ZBrt-jTo.cjs → vue-ui-cursor-Dd2eSMAz.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-0GY46Ywr.js → vue-ui-cursor-xy62w2ep.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BX787_or.js → vue-ui-dashboard-DPjU-kPn.js} +2 -2
  55. package/dist/{vue-ui-dashboard-pzZD8J2y.cjs → vue-ui-dashboard-nMODKstD.cjs} +1 -1
  56. package/dist/{vue-ui-digits-BvCMwL0L.js → vue-ui-digits-BNTE0Lsb.js} +2 -2
  57. package/dist/{vue-ui-digits-Blb8fghV.cjs → vue-ui-digits-Beuy8wvV.cjs} +1 -1
  58. package/dist/vue-ui-donut-DWKUDr7k.cjs +1 -0
  59. package/dist/vue-ui-donut-evolution-BICtQ8ke.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DRfJVMrP.js → vue-ui-donut-evolution-DfHfXqar.js} +133 -131
  61. package/dist/{vue-ui-donut-yBjSgsTz.js → vue-ui-donut-ipVF2Pk6.js} +158 -155
  62. package/dist/{vue-ui-dumbbell-4-hWZn-o.js → vue-ui-dumbbell-D04To0aO.js} +125 -122
  63. package/dist/vue-ui-dumbbell-DPZYa6RZ.cjs +9 -0
  64. package/dist/{vue-ui-flow-aH6xSdwn.js → vue-ui-flow-DYpBU4gG.js} +96 -93
  65. package/dist/vue-ui-flow-HFjfjzgX.cjs +1 -0
  66. package/dist/vue-ui-funnel-BwClLXO6.cjs +1 -0
  67. package/dist/{vue-ui-funnel-BZy4SvlW.js → vue-ui-funnel-CVQHETom.js} +88 -85
  68. package/dist/vue-ui-galaxy-B0W8yBZU.cjs +1 -0
  69. package/dist/{vue-ui-galaxy-GDXdZqjm.js → vue-ui-galaxy-DseGnRIL.js} +123 -120
  70. package/dist/vue-ui-gauge-0vhiDi19.cjs +1 -0
  71. package/dist/{vue-ui-gauge-CeyHdkuS.js → vue-ui-gauge-B7nCLtyI.js} +86 -83
  72. package/dist/{vue-ui-gizmo-veFxjktw.js → vue-ui-gizmo-C1fpqm2H.js} +3 -3
  73. package/dist/{vue-ui-gizmo-CRTzb1J_.cjs → vue-ui-gizmo-CTMnMH7C.cjs} +1 -1
  74. package/dist/{vue-ui-heatmap-BizLgjJ8.js → vue-ui-heatmap-B0a6TegZ.js} +109 -106
  75. package/dist/vue-ui-heatmap-DjxXVFyU.cjs +1 -0
  76. package/dist/vue-ui-history-plot-CfjWg_3c.cjs +1 -0
  77. package/dist/{vue-ui-history-plot-gzx5uGyY.js → vue-ui-history-plot-DsLgXpZ8.js} +130 -127
  78. package/dist/{vue-ui-kpi-CP08PB51.cjs → vue-ui-kpi-CTsWQvCi.cjs} +1 -1
  79. package/dist/{vue-ui-kpi-MdyAQjdJ.js → vue-ui-kpi-be1EaVNS.js} +3 -3
  80. package/dist/{vue-ui-mini-loader-CYVr1K6S.js → vue-ui-mini-loader-BHm2QQQF.js} +2 -2
  81. package/dist/{vue-ui-mini-loader-BRmtJ6az.cjs → vue-ui-mini-loader-DLdlPE48.cjs} +1 -1
  82. package/dist/{vue-ui-molecule-CJ05ddhf.js → vue-ui-molecule--G2QIMak.js} +147 -144
  83. package/dist/vue-ui-molecule-DQOP_2JN.cjs +1 -0
  84. package/dist/{vue-ui-mood-radar-DG1pF6Ii.js → vue-ui-mood-radar-Bhr5Q9pC.js} +97 -94
  85. package/dist/vue-ui-mood-radar-HxyTIDLP.cjs +1 -0
  86. package/dist/vue-ui-nested-donuts-C0aK_Cmr.cjs +17 -0
  87. package/dist/{vue-ui-nested-donuts-CDjZ6KfI.js → vue-ui-nested-donuts-Dtll0W-x.js} +99 -96
  88. package/dist/{vue-ui-onion-DsskQUiP.js → vue-ui-onion-CRRZ8ajr.js} +105 -102
  89. package/dist/vue-ui-onion-DJFv8ezH.cjs +5 -0
  90. package/dist/vue-ui-parallel-coordinate-plot-BTkf3dkR.cjs +8 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-D7r71vdp.js → vue-ui-parallel-coordinate-plot-DMk3iobe.js} +97 -94
  92. package/dist/vue-ui-quadrant-B7iHGaqG.cjs +1 -0
  93. package/dist/{vue-ui-quadrant-DCHEhvMX.js → vue-ui-quadrant-EcGC8p0U.js} +155 -152
  94. package/dist/vue-ui-quick-chart-BOla8Yse.cjs +15 -0
  95. package/dist/{vue-ui-quick-chart-BB5b4AQ1.js → vue-ui-quick-chart-D6AS1YSx.js} +164 -161
  96. package/dist/vue-ui-radar-DmM3tCiY.cjs +1 -0
  97. package/dist/{vue-ui-radar-CNEXWSEx.js → vue-ui-radar-LzAasUWm.js} +105 -102
  98. package/dist/{vue-ui-rating-ClvF4LPg.cjs → vue-ui-rating-D9K7meNL.cjs} +1 -1
  99. package/dist/{vue-ui-rating-DJLSl0-4.js → vue-ui-rating-DK4hwg8z.js} +2 -2
  100. package/dist/{vue-ui-relation-circle-Hdzt7fOS.js → vue-ui-relation-circle-CbOCYAmF.js} +127 -124
  101. package/dist/vue-ui-relation-circle-DIJuJZrt.cjs +1 -0
  102. package/dist/vue-ui-rings-BWgF92GG.cjs +2 -0
  103. package/dist/{vue-ui-rings-BAFkqjcL.js → vue-ui-rings-Cqzy5T3m.js} +114 -111
  104. package/dist/{vue-ui-scatter-Ca67EOrI.js → vue-ui-scatter-DXvyWQYL.js} +157 -154
  105. package/dist/vue-ui-scatter-F-gNKXpp.cjs +1 -0
  106. package/dist/{vue-ui-screenshot-CsdnwhSO.js → vue-ui-screenshot-BL75IkNz.js} +1 -1
  107. package/dist/{vue-ui-screenshot-CFcvBOJm.cjs → vue-ui-screenshot-BXngAa8V.cjs} +1 -1
  108. package/dist/{vue-ui-skeleton-CHEZlRpn.js → vue-ui-skeleton-D8r-yAkW.js} +3 -3
  109. package/dist/{vue-ui-skeleton-BBNX7lud.cjs → vue-ui-skeleton-Tk4j6G2D.cjs} +1 -1
  110. package/dist/{vue-ui-smiley-Dth6gRqg.js → vue-ui-smiley-BKWWVHh7.js} +2 -2
  111. package/dist/{vue-ui-smiley-EngC6Vc4.cjs → vue-ui-smiley-BLnMEG6Z.cjs} +1 -1
  112. package/dist/{vue-ui-spark-trend-33sBlF-n.js → vue-ui-spark-trend-Bb7xpmpt.js} +5 -5
  113. package/dist/{vue-ui-spark-trend-DJ8yhFMx.cjs → vue-ui-spark-trend-CqG-PKFp.cjs} +1 -1
  114. package/dist/{vue-ui-sparkbar-D9QLpB7G.cjs → vue-ui-sparkbar-0h661dcM.cjs} +1 -1
  115. package/dist/{vue-ui-sparkbar-mJu95295.js → vue-ui-sparkbar-JIpGYhbq.js} +4 -4
  116. package/dist/vue-ui-sparkgauge-BLglWMCN.cjs +1 -0
  117. package/dist/{vue-ui-sparkgauge-nFFf8h-x.js → vue-ui-sparkgauge-Cc-l_NLU.js} +56 -53
  118. package/dist/{vue-ui-sparkhistogram-Bh6R737O.js → vue-ui-sparkhistogram-BysifQmq.js} +93 -90
  119. package/dist/vue-ui-sparkhistogram-CCbcvIJ1.cjs +1 -0
  120. package/dist/vue-ui-sparkline-CDJX8K9i.cjs +1 -0
  121. package/dist/{vue-ui-sparkline-BfBiA1O5.js → vue-ui-sparkline-CV-N3Wio.js} +109 -106
  122. package/dist/vue-ui-sparkstackbar-Bo4JAlsR.cjs +1 -0
  123. package/dist/{vue-ui-sparkstackbar-BNTFNUIA.js → vue-ui-sparkstackbar-WOO_AbtI.js} +59 -56
  124. package/dist/{vue-ui-stackbar-BbFUifMU.js → vue-ui-stackbar-CP0igpri.js} +136 -133
  125. package/dist/vue-ui-stackbar-D7odU6jb.cjs +6 -0
  126. package/dist/vue-ui-strip-plot-CUqC58Ki.cjs +1 -0
  127. package/dist/{vue-ui-strip-plot-wsxpyqrw.js → vue-ui-strip-plot-_3AJWLnm.js} +127 -124
  128. package/dist/{vue-ui-table-DUokotBj.cjs → vue-ui-table-8O19epjz.cjs} +1 -1
  129. package/dist/{vue-ui-table-CQYM4uPf.js → vue-ui-table-WdE7p5Oy.js} +1 -1
  130. package/dist/{vue-ui-table-heatmap-OYQ9OOzo.js → vue-ui-table-heatmap-CXS6WfTi.js} +4 -4
  131. package/dist/{vue-ui-table-heatmap-Brk58nK_.cjs → vue-ui-table-heatmap-DH5kHmxx.cjs} +1 -1
  132. package/dist/{vue-ui-table-sparkline-DUjDhg8A.js → vue-ui-table-sparkline-CWwjANqk.js} +5 -5
  133. package/dist/{vue-ui-table-sparkline-C9dOsIAB.cjs → vue-ui-table-sparkline-DnvQfr2p.cjs} +1 -1
  134. package/dist/{vue-ui-thermometer-WSMSVcM_.js → vue-ui-thermometer-BxrDTquG.js} +84 -81
  135. package/dist/vue-ui-thermometer-COmtpPaq.cjs +1 -0
  136. package/dist/vue-ui-timer-Bx3W4oUc.cjs +64 -0
  137. package/dist/{vue-ui-timer-DBP_fRcm.js → vue-ui-timer-DjKCOw9A.js} +183 -180
  138. package/dist/vue-ui-tiremarks--XDyJeJg.cjs +1 -0
  139. package/dist/{vue-ui-tiremarks-WWgS2mqw.js → vue-ui-tiremarks-VWxcZxB-.js} +59 -56
  140. package/dist/{vue-ui-treemap-CXoXEuSA.js → vue-ui-treemap-BGFmZcII.js} +123 -120
  141. package/dist/vue-ui-treemap-DTwjydy8.cjs +1 -0
  142. package/dist/vue-ui-vertical-bar-Bpv8mXW2.cjs +4 -0
  143. package/dist/{vue-ui-vertical-bar-COaAa4nz.js → vue-ui-vertical-bar-DC9czKCT.js} +108 -105
  144. package/dist/vue-ui-waffle-B_6ZAnKt.cjs +1 -0
  145. package/dist/{vue-ui-waffle-DD8pT7JN.js → vue-ui-waffle-Cu63K9Iy.js} +107 -104
  146. package/dist/{vue-ui-wheel-BLlKekiu.js → vue-ui-wheel-AOt-pfpa.js} +75 -72
  147. package/dist/vue-ui-wheel-BQM-dxTa.cjs +1 -0
  148. package/dist/vue-ui-word-cloud-Bam3-7P_.cjs +1 -0
  149. package/dist/{vue-ui-word-cloud-CcYtTXW6.js → vue-ui-word-cloud-CrILrx6m.js} +97 -94
  150. package/dist/{vue-ui-xy-DYzfiZnJ.js → vue-ui-xy-BuLymzS3.js} +179 -150
  151. package/dist/vue-ui-xy-CSmObuR7.cjs +3 -0
  152. package/dist/{vue-ui-xy-canvas-CkB7VDhF.cjs → vue-ui-xy-canvas-BQ0Lbxbd.cjs} +2 -2
  153. package/dist/{vue-ui-xy-canvas-DqnK_i0Q.js → vue-ui-xy-canvas-DPnb5mqS.js} +82 -81
  154. package/package.json +1 -1
  155. package/dist/Shape-BN3-_2DI.cjs +0 -1
  156. package/dist/Tooltip-DSPKrQcQ.cjs +0 -1
  157. package/dist/vue-ui-3d-bar-DEu24HHj.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-CRYYDXFo.cjs +0 -1
  159. package/dist/vue-ui-bullet-Dy71N3Jf.cjs +0 -34
  160. package/dist/vue-ui-candlestick-aZ1YN4hh.cjs +0 -2
  161. package/dist/vue-ui-chestnut-DuycsDaB.cjs +0 -6
  162. package/dist/vue-ui-circle-pack-BFF5_9Sm.cjs +0 -1
  163. package/dist/vue-ui-donut-BO6RWqZ6.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-BgJMw_a4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-BSXxNjyK.cjs +0 -9
  166. package/dist/vue-ui-flow-LNlNIRfb.cjs +0 -1
  167. package/dist/vue-ui-funnel-BhDmLkFj.cjs +0 -1
  168. package/dist/vue-ui-galaxy-BcwAAgUh.cjs +0 -1
  169. package/dist/vue-ui-gauge-BCf-2H4T.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bxhy4dCf.cjs +0 -1
  171. package/dist/vue-ui-history-plot-CTBCFIG0.cjs +0 -1
  172. package/dist/vue-ui-molecule-pTMJG_3k.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-DXLYUXbX.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-yztsnsjM.cjs +0 -17
  175. package/dist/vue-ui-onion-BgbKMVNe.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-Cha1Em8k.cjs +0 -8
  177. package/dist/vue-ui-quadrant-BzYnR_Hc.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BcW7URue.cjs +0 -15
  179. package/dist/vue-ui-radar-D-XPVXa9.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-DfxnHEqR.cjs +0 -1
  181. package/dist/vue-ui-rings-C9NFME3F.cjs +0 -2
  182. package/dist/vue-ui-scatter-D0UloS1C.cjs +0 -1
  183. package/dist/vue-ui-sparkgauge-CBCbyOG2.cjs +0 -1
  184. package/dist/vue-ui-sparkhistogram-BstSpbti.cjs +0 -1
  185. package/dist/vue-ui-sparkline-DTRZ-_Qw.cjs +0 -1
  186. package/dist/vue-ui-sparkstackbar-CuU8Vpcv.cjs +0 -1
  187. package/dist/vue-ui-stackbar-B5uNBkxp.cjs +0 -6
  188. package/dist/vue-ui-strip-plot-7G7BAGQM.cjs +0 -1
  189. package/dist/vue-ui-thermometer-VnlcJh4G.cjs +0 -1
  190. package/dist/vue-ui-timer-Bh8RpM2u.cjs +0 -64
  191. package/dist/vue-ui-tiremarks-Ct96o_fd.cjs +0 -1
  192. package/dist/vue-ui-treemap-BfDk53pM.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-EIy7A0dV.cjs +0 -4
  194. package/dist/vue-ui-waffle-BB3l0zZU.cjs +0 -1
  195. package/dist/vue-ui-wheel-DfpXZJ8A.cjs +0 -1
  196. package/dist/vue-ui-word-cloud-DdaMzF2e.cjs +0 -1
  197. package/dist/vue-ui-xy-B4Mzyy81.cjs +0 -3
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-DD4PT0Pl.cjs"),ue=require("./useResponsive-YQYQrAZ_.cjs"),Se=require("./Title-BQSh4ukk.cjs"),ze=require("./Legend-CEw2uq9s.cjs"),Ne=require("./Tooltip-DtqrGu-Q.cjs"),Ae=require("./Shape-Cwx-wRaK.cjs"),ce=require("./usePrinter-BtJq2wwh.cjs"),Te=require("./DataTable-CaD8j-SL.cjs"),Pe=require("./vue-ui-accordion-2He8z0Sy.cjs"),Fe=require("./vue-ui-skeleton-Tk4j6G2D.cjs"),de=require("./useNestedProp-DU7JFxpL.cjs"),Me=require("./PackageVersion-CCgJTyH9.cjs"),_e=require("./PenAndPaper-DvNBHCpq.cjs"),Ee=require("./useUserOptionState-BgepsfED.cjs"),Ie=require("./useChartAccessibility-Cm7nkzTG.cjs"),Le=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ve=["id"],Oe=["xmlns","viewBox"],De=["x","y","width","height"],qe={style:{"pointer-events":"none"}},Re=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],We=["x1","x2","y1","y2","stroke","stroke-width"],je=["x","y","fill","font-size","font-weight"],He={key:0},Ge=["x","y","font-size","fill"],Ye=["width","x","y"],Xe={style:{width:"100%"}},Je=["x","y","fill","font-weight","font-size","onMouseenter"],Ke=["d","stroke","stroke-width","onMouseenter"],Qe=["d","onMouseenter"],Ze={key:5,class:"vue-data-ui-watermark"},et=["onClick"],tt=["innerHTML"],lt={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:he}){const{vue_ui_parallel_coordinate_plot:me}=i.useConfig(),b=ve,x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),L=e.ref(0),C=e.ref(null),V=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),R=e.ref(0),U=e.ref(0),W=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function ye(l){w.value=l,L.value+=1}const t=e.computed({get:()=>G(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:j,keepUserOptionState:H}=Ee.useUserOptionState({config:t.value}),{svgRef:fe}=Ie.useChartAccessibility({config:t.value.style.chart.title});function G(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:me});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=G(),P.value=!t.value.userOptions.showOnChartHover,Y(),R.value+=1,W.value+=1,U.value+=1,v.value.dataLabels.show=t.value.style.chart.yAxis.labels.datapoints.show,v.value.showTable=t.value.table.show,v.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const S=e.ref(null);e.onMounted(()=>{Y()});function Y(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?V.value:null,legend:t.value.style.chart.legend.show?O.value:null,source:D.value,noTitle:q.value});requestAnimationFrame(()=>{d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:X,isImaging:J,generatePdf:K,generateImage:Q}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ge=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),be=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function Z(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||be.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ke=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>Z(l.id),isSegregated:f.value.includes(l.id)}))),xe=e.computed(()=>({cy:"pcp-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":""})),ee=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/ee.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<ee.value;o+=1){const a=Math.min(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((p,A)=>{const Be=u.min<0?p+Math.abs(u.min):p-Math.abs(u.min),$e=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Be/$e),x:c.value.left+y.value*o+y.value/2,value:p}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function te({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,h.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,p)=>{s+=`
2
+ <div class="vue-ui-tooltip-item" style="text-align:left">
3
+ <span>${g}: </span>
4
+ <span>
5
+ ${i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[p]||null,a.datapoints[p].value,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[p]||"",v:a.datapoints[p].value,s:t.value.style.chart.yAxis.labels.suffixes[p]||"",r:t.value.style.chart.yAxis.labels.roundings[p]||""}),{datapoint:a.datapoints[p],seriesIndex:p})}
6
+ </span>
7
+ </div>
8
+ `,t.value.style.chart.comments.showInTooltip&&a.datapoints[p].comment&&(s+=`<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[p].comment}</div>`)}),E.value=`<div>${s}</div>`)}function Ce(){return k.value}const $=e.computed(()=>{const l=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name)),o=M.value.flatMap((r,s)=>r.series.map(u=>[r.name].concat([u.name]).concat(u.values))),a={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},n=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name));return{body:o,head:l,config:a,colNames:n}}),le=e.computed(()=>M.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:$.value.head,body:$.value.body});function ae(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=le.value.head,a=le.value.body,n=l.concat([o]).concat(a),r=i.createCsvContent(n);i.downloadCsv({csvContent:r,title:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"})}const oe=he;function we(l){oe("selectDatapoint",l)}function ne(l){oe("selectLegend",{...l,isSegregated:!l.isSegregated,opacity:l.isSegregated?1:.5})}function se(){v.value.showTable=!v.value.showTable}function re(){v.value.dataLabels.show=!v.value.dataLabels.show}function ie(){v.value.showTooltip=!v.value.showTooltip}const N=e.ref(!1);function I(){N.value=!N.value}return pe({getData:Ce,generateCsv:ae,generatePdf:K,generateImage:Q,toggleTable:se,toggleLabels:re,toggleTooltip:ie,toggleAnnotator:I}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"pcpChart",ref:C,class:e.normalizeClass(`vue-ui-pcp ${w.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`pcp_${T.value}`,onMouseenter:o[6]||(o[6]=()=>e.unref(j)(!0)),onMouseleave:o[7]||(o[7]=()=>e.unref(j)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(_e.PenAndPaper,{key:0,parent:C.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:N.value,onClose:I},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:V,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Se._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"pcp-div-title",...t.value.style.chart.title},subtitle:{cy:"pcp-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value&&(e.unref(H)||e.unref(P))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_options_${L.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(X),isImaging:e.unref(J),uid:T.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:w.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:N.value,onToggleFullscreen:ye,onGeneratePdf:e.unref(K),onGenerateCsv:ae,onGenerateImage:e.unref(Q),onToggleTable:se,onToggleLabels:re,onToggleTooltip:ie,onToggleAnnotator:I,style:e.normalizeStyle({visibility:e.unref(H)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:4,ref_key:"svgRef",ref:fe,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":w.value,"vue-data-ui-fulscreen--off":!w.value}),viewBox:`0 0 ${c.value.chartWidth<=0?10:c.value.chartWidth} ${c.value.chartHeight<=0?10:c.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Me._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:c.value.left,y:c.value.top,width:c.value.width,height:c.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,De)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",qe,[e.createElementVNode("line",{x1:c.value.left+y.value*n+y.value/2,x2:c.value.left+y.value*n+y.value/2,y1:c.value.top,y2:c.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Re),e.createElementVNode("text",{x:c.value.left+y.value*n+y.value/2,y:c.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":d.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,Ue),t.value.style.chart.yAxis.labels.ticks.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("line",{x1:r.x,x2:r.x-10,y1:r.y,y2:r.y,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth,style:e.normalizeStyle(`opacity:${h.value&&!v.value.showTooltip?.2:1}`)},null,12,We))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("text",{x:r.x-12+t.value.style.chart.yAxis.labels.ticks.offsetX,y:r.y+t.value.style.chart.yAxis.labels.ticks.offsetY+d.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":d.value.ticksFontSize,"font-weight":t.value.style.chart.yAxis.labels.ticks.bold?"bold":"normal",style:e.normalizeStyle(`opacity:${h.value&&!v.value.showTooltip?.2:1}`)},e.toDisplayString(te({value:r.value,index:n,datapoint:r})),13,je))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,a=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.series,(n,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.plots.show?(e.openBlock(),e.createElementBlock("g",He,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.datapoints,s=>(e.openBlock(),e.createBlock(Ae._sfc_main,{plot:{x:s.x,y:s.y},color:a.color,shape:a.shape,radius:a.shape==="triangle"?d.value.plotSize*1.2:d.value.plotSize,stroke:t.value.style.chart.backgroundColor,strokeWidth:.5,onMouseenter:u=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[0]||(o[0]=u=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?t.value.style.chart.plots.opacity:.2:t.value.style.chart.plots.opacity}`),onClick:()=>we(s)},null,8,["plot","color","shape","radius","stroke","onMouseenter","style","onClick"]))),256)),v.value.showTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[h.value&&h.value===n.id&&n.datapoints.length?(e.openBlock(),e.createElementBlock("text",{key:0,x:n.datapoints[0].x-d.value.ticksFontSize,y:n.datapoints[0].y+d.value.ticksFontSize/3,"text-anchor":"end","font-size":d.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,Ge)):e.createCommentVNode("",!0)],64)),t.value.style.chart.comments.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,s=>(e.openBlock(),e.createElementBlock("g",null,[s.comment?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,style:{overflow:"visible"},height:"12",width:t.value.style.chart.comments.width,x:s.x-t.value.style.chart.comments.width/2+t.value.style.chart.comments.offsetX,y:s.y+t.value.style.chart.comments.offsetY+6},[e.createElementVNode("div",Xe,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,Ye)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.value.dataLabels.show||h.value&&h.value===n.id?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,(s,u)=>(e.openBlock(),e.createElementBlock("text",{x:s.x+12+t.value.style.chart.yAxis.labels.datapoints.offsetX,y:s.y+t.value.style.chart.yAxis.labels.datapoints.offsetY+d.value.datapointFontSize/3,fill:t.value.style.chart.yAxis.labels.datapoints.useSerieColor?a.color:t.value.style.chart.yAxis.labels.datapoints.color,"text-anchor":"start","font-weight":t.value.style.chart.yAxis.labels.datapoints.bold?"bold":"normal",class:e.normalizeClass({"vue-ui-pcp-animated":!1,"vue-ui-pcp-transition":!0}),"font-size":d.value.datapointFontSize,onMouseenter:g=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[1]||(o[1]=g=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?1:.2:1}`)},e.toDisplayString(te({value:s.value,index:u,datapoint:s})),45,Je))),256)):e.createCommentVNode("",!0),e.createElementVNode("path",{d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:a.color,"stroke-width":t.value.style.chart.lines.strokeWidth,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[2]||(o[2]=s=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?t.value.style.chart.lines.opacity:.2:t.value.style.chart.lines.opacity}; stroke-dasharray:${n.pathLength}; stroke-dashoffset: ${t.value.useCssAnimation?n.pathLength:0}`)},null,46,Ke),v.value.showTooltip?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:"transparent","stroke-width":12,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[3]||(o[3]=s=>{h.value=null,B.value=!1}),style:{opacity:"0"}},null,42,Qe)):e.createCommentVNode("",!0)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:c.value},void 0,!0)],14,Oe)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ze,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(X)||e.unref(J)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Fe.default,{key:6,config:{type:"parallelCoordinatePlot",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:O},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock(ze.Legend,{key:`legend_${U.value}`,legendSet:ke.value,config:xe.value,onClickMarker:o[4]||(o[4]=({legend:a})=>{Z(a.id),ne(a)})},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:r=>{a.segregate(),ne(a)},style:e.normalizeStyle(`opacity:${f.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,et)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:D,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Ne._sfc_main,{show:v.value.showTooltip&&B.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,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,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:E.value,isFullscreen:w.value,isCustom:e.unref(i.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),x.value?(e.openBlock(),e.createBlock(Pe.default,{key:8,hideDetails:"",config:{open:v.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(Te.DataTable,{key:`table_${W.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[5]||(o[5]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,tt)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ve))}},at=Le._export_sfc(lt,[["__scopeId","data-v-573524fc"]]);exports.default=at;
@@ -1,23 +1,24 @@
1
- import { computed as g, ref as v, watch as Ge, onMounted as Xe, onBeforeUnmount as Ye, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as U, createBlock as z, createCommentVNode as m, createElementVNode as I, createVNode as _e, createSlots as qe, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, Fragment as C, renderList as F, toDisplayString as D, createTextVNode as Je } from "vue";
2
- import { u as Ke, c as ee, t as Qe, p as H, a as Ze, o as et, e as Me, g as tt, b as at, d as lt, D as ot, R as st, S as nt, T as ut, X as it, x as ze, F as G, q as rt, r as ct, i as Fe, f as Ie, y as vt } from "./index-B9qF6XbP.js";
3
- import { t as dt, u as ht } from "./useResponsive-BWapHhVH.js";
4
- import { _ as pt } from "./Title-D6h1gTvZ.js";
5
- import { L as mt } from "./Legend-BDyPoYfp.js";
6
- import { _ as yt } from "./Tooltip-BonEVaob.js";
7
- import { _ as ft } from "./Shape-C_qIhG3J.js";
8
- import { u as gt, U as bt } from "./usePrinter-DsiBLAy1.js";
9
- import { D as xt } from "./DataTable-CJN0sipt.js";
10
- import kt from "./vue-ui-accordion-DBmchkva.js";
11
- import wt from "./vue-ui-skeleton-CHEZlRpn.js";
12
- import { u as Pe } from "./useNestedProp-g5oKzlVy.js";
13
- import { _ as Ct } from "./PackageVersion-DqmHcoqz.js";
14
- import { P as $t } from "./PenAndPaper-6UYizrkQ.js";
15
- import { u as At } from "./useUserOptionState-BIvW1Kz7.js";
16
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"], Ft = { style: { "pointer-events": "none" } }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x", "y", "fill", "font-size", "font-weight"], Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x", "y", "fill", "font-size", "font-weight"], Ot = { key: 0 }, St = ["x", "y", "font-size", "fill"], Dt = ["width", "x", "y"], Ut = { style: { width: "100%" } }, Wt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Et = ["d", "stroke", "stroke-width", "onMouseenter"], Vt = ["d", "onMouseenter"], jt = {
1
+ import { computed as g, ref as v, watch as Xe, onMounted as Ye, onBeforeUnmount as qe, createElementBlock as i, openBlock as u, unref as x, normalizeStyle as T, normalizeClass as R, createBlock as z, createCommentVNode as m, createElementVNode as I, createVNode as _e, createSlots as Je, withCtx as k, renderSlot as b, normalizeProps as U, guardReactiveProps as W, Fragment as C, renderList as F, toDisplayString as D, createTextVNode as Ke } from "vue";
2
+ import { u as Qe, c as ee, t as Ze, p as H, a as et, o as tt, e as Me, g as at, b as lt, d as ot, D as st, R as nt, S as ut, T as it, X as rt, x as ze, F as G, q as ct, r as vt, i as Fe, f as Ie, y as dt } from "./index-CZlI7PiS.js";
3
+ import { t as ht, u as pt } from "./useResponsive-BWapHhVH.js";
4
+ import { _ as mt } from "./Title-DePxeqVl.js";
5
+ import { L as yt } from "./Legend-Oaw0MY8Y.js";
6
+ import { _ as ft } from "./Tooltip-DRw9RoFp.js";
7
+ import { _ as gt } from "./Shape-Dtm6toQp.js";
8
+ import { u as bt, U as xt } from "./usePrinter-D-sSdR2l.js";
9
+ import { D as kt } from "./DataTable-D0-zzsJg.js";
10
+ import wt from "./vue-ui-accordion-DVtmOO3I.js";
11
+ import Ct from "./vue-ui-skeleton-D8r-yAkW.js";
12
+ import { u as Pe } from "./useNestedProp-Cg0NIwr6.js";
13
+ import { _ as $t } from "./PackageVersion-J_USnljf.js";
14
+ import { P as At } from "./PenAndPaper-CoEXEMcN.js";
15
+ import { u as Tt } from "./useUserOptionState-BIvW1Kz7.js";
16
+ import { u as _t } from "./useChartAccessibility-BWojgys7.js";
17
+ import { _ as Mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const zt = ["id"], Ft = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"], Pt = { style: { "pointer-events": "none" } }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x", "y", "fill", "font-size", "font-weight"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "fill", "font-size", "font-weight"], Dt = { key: 0 }, Rt = ["x", "y", "font-size", "fill"], Ut = ["width", "x", "y"], Wt = { style: { width: "100%" } }, Et = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Vt = ["d", "stroke", "stroke-width", "onMouseenter"], jt = ["d", "onMouseenter"], Bt = {
18
19
  key: 5,
19
20
  class: "vue-data-ui-watermark"
20
- }, Bt = ["onClick"], Rt = ["innerHTML"], Ht = {
21
+ }, Ht = ["onClick"], Gt = ["innerHTML"], Xt = {
21
22
  __name: "vue-ui-parallel-coordinate-plot",
22
23
  props: {
23
24
  config: {
@@ -35,7 +36,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
35
36
  },
36
37
  emits: ["selectLegend", "selectDatapoint"],
37
38
  setup(Ne, { expose: Le, emit: Oe }) {
38
- const { vue_ui_parallel_coordinate_plot: Se } = Ke(), _ = Ne, P = g({
39
+ const { vue_ui_parallel_coordinate_plot: Se } = Qe(), _ = Ne, P = g({
39
40
  get() {
40
41
  return !!_.dataset && _.dataset.length;
41
42
  },
@@ -49,7 +50,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
49
50
  const e = g({
50
51
  get: () => ve(),
51
52
  set: (t) => t
52
- }), { userOptionsVisible: Y, setUserOptionsVisibility: re, keepUserOptionState: ce } = At({ config: e.value });
53
+ }), { userOptionsVisible: Y, setUserOptionsVisibility: re, keepUserOptionState: ce } = Tt({ config: e.value }), { svgRef: Re } = _t({ config: e.value.style.chart.title });
53
54
  function ve() {
54
55
  const t = Pe({
55
56
  userConfig: _.config,
@@ -57,25 +58,25 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
57
58
  });
58
59
  return t.theme ? {
59
60
  ...Pe({
60
- userConfig: Ze.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
61
+ userConfig: et.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
61
62
  defaultConfig: t
62
63
  }),
63
- customPalette: Qe[t.theme] || H
64
+ customPalette: Ze[t.theme] || H
64
65
  } : t;
65
66
  }
66
- Ge(() => _.config, (t) => {
67
+ Xe(() => _.config, (t) => {
67
68
  e.value = ve(), Y.value = !e.value.userOptions.showOnChartHover, de(), ne.value += 1, ie.value += 1, ue.value += 1, h.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
68
69
  }, { deep: !0 });
69
- const V = v(null);
70
- Xe(() => {
70
+ const E = v(null);
71
+ Ye(() => {
71
72
  de();
72
73
  });
73
74
  function de() {
74
- if (et(_.dataset) ? Me({
75
+ if (tt(_.dataset) ? Me({
75
76
  componentName: "VueUiParallelCoordinatePlot",
76
77
  type: "dataset"
77
78
  }) : _.dataset.forEach((t, l) => {
78
- tt({
79
+ at({
79
80
  datasetObject: t,
80
81
  requiredAttributes: ["name", "series"]
81
82
  }).forEach((a) => {
@@ -87,8 +88,8 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
87
88
  });
88
89
  });
89
90
  }), e.value.responsive) {
90
- const t = dt(() => {
91
- const { width: l, height: a } = ht({
91
+ const t = ht(() => {
92
+ const { width: l, height: a } = pt({
92
93
  chart: N.value,
93
94
  title: e.value.style.chart.title.text ? ae.value : null,
94
95
  legend: e.value.style.chart.legend.show ? le.value : null,
@@ -123,13 +124,13 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
123
124
  });
124
125
  });
125
126
  });
126
- V.value = new ResizeObserver(t), V.value.observe(N.value.parentNode);
127
+ E.value = new ResizeObserver(t), E.value.observe(N.value.parentNode);
127
128
  }
128
129
  }
129
- Ye(() => {
130
- V.value && V.value.disconnect();
130
+ qe(() => {
131
+ E.value && E.value.disconnect();
131
132
  });
132
- const { isPrinting: he, isImaging: pe, generatePdf: me, generateImage: ye } = gt({
133
+ const { isPrinting: he, isImaging: pe, generatePdf: me, generateImage: ye } = bt({
133
134
  elementId: `pcp_${X.value}`,
134
135
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
135
136
  }), Ue = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), d = v({
@@ -153,7 +154,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
153
154
  right: s - l,
154
155
  bottom: n - a
155
156
  };
156
- }), We = g(() => at(e.value.customPalette)), h = v({
157
+ }), We = g(() => lt(e.value.customPalette)), h = v({
157
158
  dataLabels: {
158
159
  show: e.value.style.chart.yAxis.labels.datapoints.show
159
160
  },
@@ -164,7 +165,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
164
165
  $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
165
166
  }
166
167
  const M = g(() => _.dataset.map((t, l) => {
167
- const a = lt(t.color) || We.value[l] || H[l] || H[l % H.length];
168
+ const a = ot(t.color) || We.value[l] || H[l] || H[l % H.length];
168
169
  return {
169
170
  ...t,
170
171
  series: t.series.map((o) => ({
@@ -194,10 +195,10 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
194
195
  )), w = g(() => c.value.width / ge.value), q = g(() => M.value.filter((t) => !$.value.includes(t.id))), f = g(() => {
195
196
  let t = [];
196
197
  for (let l = 0; l < ge.value; l += 1) {
197
- const a = Math.min(...q.value.flatMap((p) => p.series.map((R) => R.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((p) => p.series.map((R) => R.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = ot(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((p, R) => {
198
- const Re = r.min < 0 ? p + Math.abs(r.min) : p - Math.abs(r.min), He = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
198
+ const a = Math.min(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((p) => p.series.map((B) => B.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = st(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((p, B) => {
199
+ const He = r.min < 0 ? p + Math.abs(r.min) : p - Math.abs(r.min), Ge = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
199
200
  return {
200
- y: c.value.bottom - c.value.height * (Re / He),
201
+ y: c.value.bottom - c.value.height * (He / Ge),
201
202
  x: c.value.left + w.value * l + w.value / 2,
202
203
  value: p
203
204
  };
@@ -231,7 +232,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
231
232
  })).map((t) => ({
232
233
  ...t,
233
234
  series: t.series.map((l) => {
234
- const a = st(l.datapoints), o = nt(l.datapoints), n = ut(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
235
+ const a = nt(l.datapoints), o = ut(l.datapoints), n = it(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
235
236
  return {
236
237
  ...l,
237
238
  smoothPath: o,
@@ -254,11 +255,11 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
254
255
  );
255
256
  }
256
257
  const y = v(null), K = v(null), O = v(!1), Q = v("");
257
- function j({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
258
+ function V({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
258
259
  K.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, O.value = !0, y.value = a.id;
259
260
  let s = "";
260
261
  const r = e.value.style.chart.tooltip.customFormat;
261
- ze(r) && vt(() => r({
262
+ ze(r) && dt(() => r({
262
263
  serie: a,
263
264
  seriesIndex: a.seriesIndex,
264
265
  series: M.value,
@@ -319,8 +320,8 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
319
320
  body: S.value.body
320
321
  });
321
322
  function ke() {
322
- const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = xe.value.head, a = xe.value.body, o = t.concat([l]).concat(a), n = rt(o);
323
- ct({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
323
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = xe.value.head, a = xe.value.body, o = t.concat([l]).concat(a), n = ct(o);
324
+ vt({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
324
325
  }
325
326
  const we = Oe;
326
327
  function Be(t) {
@@ -342,9 +343,9 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
342
343
  function Te() {
343
344
  h.value.showTooltip = !h.value.showTooltip;
344
345
  }
345
- const B = v(!1);
346
+ const j = v(!1);
346
347
  function Z() {
347
- B.value = !B.value;
348
+ j.value = !j.value;
348
349
  }
349
350
  return Le({
350
351
  getData: je,
@@ -358,18 +359,18 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
358
359
  }), (t, l) => (u(), i("div", {
359
360
  ref_key: "pcpChart",
360
361
  ref: N,
361
- class: U(`vue-ui-pcp ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
362
+ class: R(`vue-ui-pcp ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
362
363
  style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
363
364
  id: `pcp_${X.value}`,
364
365
  onMouseenter: l[6] || (l[6] = () => x(re)(!0)),
365
366
  onMouseleave: l[7] || (l[7] = () => x(re)(!1))
366
367
  }, [
367
- e.value.userOptions.buttons.annotator ? (u(), z($t, {
368
+ e.value.userOptions.buttons.annotator ? (u(), z(At, {
368
369
  key: 0,
369
370
  parent: N.value,
370
371
  backgroundColor: e.value.style.chart.backgroundColor,
371
372
  color: e.value.style.chart.color,
372
- active: B.value,
373
+ active: j.value,
373
374
  onClose: Z
374
375
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
375
376
  Ue.value ? (u(), i("div", {
@@ -385,7 +386,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
385
386
  ref: ae,
386
387
  style: "width:100%;background:transparent;padding-bottom:24px"
387
388
  }, [
388
- (u(), z(pt, {
389
+ (u(), z(mt, {
389
390
  key: `title_${ne.value}`,
390
391
  config: {
391
392
  title: {
@@ -399,7 +400,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
399
400
  }
400
401
  }, null, 8, ["config"]))
401
402
  ], 512)) : m("", !0),
402
- e.value.userOptions.show && P.value && (x(ce) || x(Y)) ? (u(), z(bt, {
403
+ e.value.userOptions.show && P.value && (x(ce) || x(Y)) ? (u(), z(xt, {
403
404
  ref: "details",
404
405
  key: `user_options_${te.value}`,
405
406
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -420,7 +421,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
420
421
  chartElement: N.value,
421
422
  position: e.value.userOptions.position,
422
423
  hasAnnotator: e.value.userOptions.buttons.annotator,
423
- isAnnotation: B.value,
424
+ isAnnotation: j.value,
424
425
  onToggleFullscreen: De,
425
426
  onGeneratePdf: x(me),
426
427
  onGenerateCsv: ke,
@@ -432,7 +433,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
432
433
  style: T({
433
434
  visibility: x(ce) ? x(Y) ? "visible" : "hidden" : "visible"
434
435
  })
435
- }, qe({ _: 2 }, [
436
+ }, Je({ _: 2 }, [
436
437
  t.$slots.optionPdf ? {
437
438
  name: "optionPdf",
438
439
  fn: k(() => [
@@ -471,26 +472,28 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
471
472
  t.$slots.optionFullscreen ? {
472
473
  name: "optionFullscreen",
473
474
  fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
474
- b(t.$slots, "optionFullscreen", W(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
475
+ b(t.$slots, "optionFullscreen", U(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
475
476
  ]),
476
477
  key: "5"
477
478
  } : void 0,
478
479
  t.$slots.optionAnnotator ? {
479
480
  name: "optionAnnotator",
480
481
  fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
481
- b(t.$slots, "optionAnnotator", W(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
482
+ b(t.$slots, "optionAnnotator", U(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
482
483
  ]),
483
484
  key: "6"
484
485
  } : void 0
485
486
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
486
487
  P.value ? (u(), i("svg", {
487
488
  key: 4,
488
- xmlns: x(it),
489
- class: U({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
489
+ ref_key: "svgRef",
490
+ ref: Re,
491
+ xmlns: x(rt),
492
+ class: R({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
490
493
  viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
491
494
  style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
492
495
  }, [
493
- _e(Ct),
496
+ _e($t),
494
497
  t.$slots["chart-background"] ? (u(), i("foreignObject", {
495
498
  key: 0,
496
499
  x: c.value.left,
@@ -502,8 +505,8 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
502
505
  }
503
506
  }, [
504
507
  b(t.$slots, "chart-background", {}, void 0, !0)
505
- ], 8, zt)) : m("", !0),
506
- (u(!0), i(C, null, F(f.value, (a, o) => (u(), i("g", Ft, [
508
+ ], 8, It)) : m("", !0),
509
+ (u(!0), i(C, null, F(f.value, (a, o) => (u(), i("g", Pt, [
507
510
  I("line", {
508
511
  x1: c.value.left + w.value * o + w.value / 2,
509
512
  x2: c.value.left + w.value * o + w.value / 2,
@@ -511,7 +514,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
511
514
  y2: c.value.bottom,
512
515
  stroke: e.value.style.chart.yAxis.stroke,
513
516
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
514
- }, null, 8, It),
517
+ }, null, 8, Nt),
515
518
  I("text", {
516
519
  x: c.value.left + w.value * o + w.value / 2,
517
520
  y: c.value.top - 24,
@@ -519,7 +522,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
519
522
  "font-size": d.value.axisNameFontSize,
520
523
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
521
524
  "text-anchor": "middle"
522
- }, D(a.name), 9, Pt),
525
+ }, D(a.name), 9, Lt),
523
526
  e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
524
527
  (u(!0), i(C, null, F(a.ticks, (n) => (u(), i("line", {
525
528
  x1: n.x,
@@ -529,7 +532,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
529
532
  stroke: e.value.style.chart.yAxis.stroke,
530
533
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
531
534
  style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
532
- }, null, 12, Nt))), 256)),
535
+ }, null, 12, Ot))), 256)),
533
536
  (u(!0), i(C, null, F(a.ticks, (n) => (u(), i("text", {
534
537
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
535
538
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + d.value.ticksFontSize / 3,
@@ -538,20 +541,20 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
538
541
  "font-size": d.value.ticksFontSize,
539
542
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
540
543
  style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
541
- }, D(be({ value: n.value, index: o, datapoint: n })), 13, Lt))), 256))
544
+ }, D(be({ value: n.value, index: o, datapoint: n })), 13, St))), 256))
542
545
  ], 64)) : m("", !0)
543
546
  ]))), 256)),
544
547
  (u(!0), i(C, null, F(J.value, (a) => (u(), i("g", null, [
545
548
  (u(!0), i(C, null, F(a.series, (o, n) => (u(), i("g", null, [
546
- e.value.style.chart.plots.show ? (u(), i("g", Ot, [
547
- (u(!0), i(C, null, F(o.datapoints, (s) => (u(), z(ft, {
549
+ e.value.style.chart.plots.show ? (u(), i("g", Dt, [
550
+ (u(!0), i(C, null, F(o.datapoints, (s) => (u(), z(gt, {
548
551
  plot: { x: s.x, y: s.y },
549
552
  color: a.color,
550
553
  shape: a.shape,
551
554
  radius: a.shape === "triangle" ? d.value.plotSize * 1.2 : d.value.plotSize,
552
555
  stroke: e.value.style.chart.backgroundColor,
553
556
  strokeWidth: 0.5,
554
- onMouseenter: (r) => j({
557
+ onMouseenter: (r) => V({
555
558
  shape: a.shape,
556
559
  serieName: a.name,
557
560
  serie: o,
@@ -573,7 +576,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
573
576
  "font-size": d.value.ticksFontSize,
574
577
  fill: a.color,
575
578
  "font-weight": "bold"
576
- }, D(o.name), 9, St)) : m("", !0)
579
+ }, D(o.name), 9, Rt)) : m("", !0)
577
580
  ], 64)),
578
581
  e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, F(o.datapoints, (s) => (u(), i("g", null, [
579
582
  s.comment ? (u(), i("foreignObject", {
@@ -584,12 +587,12 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
584
587
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
585
588
  y: s.y + e.value.style.chart.comments.offsetY + 6
586
589
  }, [
587
- I("div", Ut, [
590
+ I("div", Wt, [
588
591
  b(t.$slots, "plot-comment", {
589
592
  plot: { ...s, color: a.color }
590
593
  }, void 0, !0)
591
594
  ])
592
- ], 8, Dt)) : m("", !0)
595
+ ], 8, Ut)) : m("", !0)
593
596
  ]))), 256)) : m("", !0)
594
597
  ])) : m("", !0),
595
598
  h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i(C, { key: 1 }, F(o.datapoints, (s, r) => (u(), i("text", {
@@ -598,9 +601,9 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
598
601
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
599
602
  "text-anchor": "start",
600
603
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
601
- class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
604
+ class: R({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
602
605
  "font-size": d.value.datapointFontSize,
603
- onMouseenter: (A) => j({
606
+ onMouseenter: (A) => V({
604
607
  shape: a.shape,
605
608
  serieName: a.name,
606
609
  serie: o,
@@ -611,14 +614,14 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
611
614
  y.value = null, O.value = !1;
612
615
  }),
613
616
  style: T(`opacity:${y.value ? y.value === o.id ? 1 : 0.2 : 1}`)
614
- }, D(be({ value: s.value, index: r, datapoint: s })), 45, Wt))), 256)) : m("", !0),
617
+ }, D(be({ value: s.value, index: r, datapoint: s })), 45, Et))), 256)) : m("", !0),
615
618
  I("path", {
616
619
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
617
620
  stroke: a.color,
618
621
  "stroke-width": e.value.style.chart.lines.strokeWidth,
619
622
  fill: "none",
620
- class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
621
- onMouseenter: (s) => j({
623
+ class: R({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
624
+ onMouseenter: (s) => V({
622
625
  shape: a.shape,
623
626
  serieName: a.name,
624
627
  serie: o,
@@ -629,15 +632,15 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
629
632
  y.value = null, O.value = !1;
630
633
  }),
631
634
  style: T(`opacity:${y.value ? y.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
632
- }, null, 46, Et),
635
+ }, null, 46, Vt),
633
636
  h.value.showTooltip ? (u(), i("path", {
634
637
  key: 2,
635
638
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
636
639
  stroke: "transparent",
637
640
  "stroke-width": 12,
638
641
  fill: "none",
639
- class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
640
- onMouseenter: (s) => j({
642
+ class: R({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
643
+ onMouseenter: (s) => V({
641
644
  shape: a.shape,
642
645
  serieName: a.name,
643
646
  serie: o,
@@ -648,15 +651,15 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
648
651
  y.value = null, O.value = !1;
649
652
  }),
650
653
  style: { opacity: "0" }
651
- }, null, 42, Vt)) : m("", !0)
654
+ }, null, 42, jt)) : m("", !0)
652
655
  ]))), 256))
653
656
  ]))), 256)),
654
657
  b(t.$slots, "svg", { svg: c.value }, void 0, !0)
655
- ], 14, Mt)) : m("", !0),
656
- t.$slots.watermark ? (u(), i("div", jt, [
657
- b(t.$slots, "watermark", W(E({ isPrinting: x(he) || x(pe) })), void 0, !0)
658
+ ], 14, Ft)) : m("", !0),
659
+ t.$slots.watermark ? (u(), i("div", Bt, [
660
+ b(t.$slots, "watermark", U(W({ isPrinting: x(he) || x(pe) })), void 0, !0)
658
661
  ])) : m("", !0),
659
- P.value ? m("", !0) : (u(), z(wt, {
662
+ P.value ? m("", !0) : (u(), z(Ct, {
660
663
  key: 6,
661
664
  config: {
662
665
  type: "parallelCoordinatePlot",
@@ -669,7 +672,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
669
672
  ref_key: "chartLegend",
670
673
  ref: le
671
674
  }, [
672
- e.value.style.chart.legend.show && P.value ? (u(), z(mt, {
675
+ e.value.style.chart.legend.show && P.value ? (u(), z(yt, {
673
676
  key: `legend_${ue.value}`,
674
677
  legendSet: Ee.value,
675
678
  config: Ve.value,
@@ -683,7 +686,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
683
686
  a.segregate(), Ce(a);
684
687
  },
685
688
  style: T(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
686
- }, D(a.name), 13, Bt)
689
+ }, D(a.name), 13, Ht)
687
690
  ]),
688
691
  _: 1
689
692
  }, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
@@ -699,7 +702,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
699
702
  }, [
700
703
  b(t.$slots, "source", {}, void 0, !0)
701
704
  ], 512)) : m("", !0),
702
- _e(yt, {
705
+ _e(ft, {
703
706
  show: h.value.showTooltip && O.value,
704
707
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
705
708
  color: e.value.style.chart.tooltip.color,
@@ -716,14 +719,14 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
716
719
  isCustom: x(ze)(e.value.style.chart.tooltip.customFormat)
717
720
  }, {
718
721
  "tooltip-before": k(() => [
719
- b(t.$slots, "tooltip-before", W(E({ ...K.value })), void 0, !0)
722
+ b(t.$slots, "tooltip-before", U(W({ ...K.value })), void 0, !0)
720
723
  ]),
721
724
  "tooltip-after": k(() => [
722
- b(t.$slots, "tooltip-after", W(E({ ...K.value })), void 0, !0)
725
+ b(t.$slots, "tooltip-after", U(W({ ...K.value })), void 0, !0)
723
726
  ]),
724
727
  _: 3
725
728
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
726
- P.value ? (u(), z(kt, {
729
+ P.value ? (u(), z(wt, {
727
730
  key: 8,
728
731
  hideDetails: "",
729
732
  config: {
@@ -740,7 +743,7 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
740
743
  }
741
744
  }, {
742
745
  content: k(() => [
743
- (u(), z(xt, {
746
+ (u(), z(kt, {
744
747
  key: `table_${ie.value}`,
745
748
  colNames: S.value.colNames,
746
749
  head: S.value.head,
@@ -750,19 +753,19 @@ const _t = ["id"], Mt = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"]
750
753
  onClose: l[5] || (l[5] = (a) => h.value.showTable = !1)
751
754
  }, {
752
755
  th: k(({ th: a }) => [
753
- I("div", { innerHTML: a }, null, 8, Rt)
756
+ I("div", { innerHTML: a }, null, 8, Gt)
754
757
  ]),
755
758
  td: k(({ td: a }) => [
756
- Je(D(a), 1)
759
+ Ke(D(a), 1)
757
760
  ]),
758
761
  _: 1
759
762
  }, 8, ["colNames", "head", "body", "config", "title"]))
760
763
  ]),
761
764
  _: 1
762
765
  }, 8, ["config"])) : m("", !0)
763
- ], 46, _t));
766
+ ], 46, zt));
764
767
  }
765
- }, ia = /* @__PURE__ */ Tt(Ht, [["__scopeId", "data-v-8fe134b3"]]);
768
+ }, va = /* @__PURE__ */ Mt(Xt, [["__scopeId", "data-v-573524fc"]]);
766
769
  export {
767
- ia as default
770
+ va as default
768
771
  };