vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -0,0 +1,719 @@
1
+ import { computed as g, ref as c, watch as Be, onMounted as Re, onBeforeUnmount as je, openBlock as u, createElementBlock as r, normalizeClass as U, normalizeStyle as T, createBlock as z, createCommentVNode as y, unref as M, createSlots as Ue, withCtx as x, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as $e, Fragment as C, renderList as I, createElementVNode as P, toDisplayString as L, createTextVNode as Ve } from "vue";
2
+ import { u as Ge, c as Z, t as He, a as Xe, p as V, o as Ye, e as we, g as qe, b as Qe, d as Je, C as Ke, Q as Ze, R as et, S as tt, X as at, x as Ae, i as _e, f as Te, y as lt, q as ot, r as st, E as G } from "./index-Bya_q1J-.js";
3
+ import { t as nt, u as ut } from "./useResponsive-BY8tgM1n.js";
4
+ import { _ as rt } from "./Title-C5pIfQAz.js";
5
+ import { L as it } from "./Legend-DNgTCgEK.js";
6
+ import { _ as ct } from "./Tooltip-Cz24YLfw.js";
7
+ import { _ as vt } from "./Shape-Bwon0l0g.js";
8
+ import { u as dt, U as ht } from "./usePrinter-CiHd1FwD.js";
9
+ import { D as pt } from "./DataTable-DYqC2pqu.js";
10
+ import mt from "./vue-ui-accordion-DfUfL2dI.js";
11
+ import yt from "./vue-ui-skeleton-BYssP0K4.js";
12
+ import { u as ze } from "./useNestedProp-B33hazbH.js";
13
+ import { _ as ft } from "./PackageVersion-VkaUzgmt.js";
14
+ import { P as gt } from "./PenAndPaper-DAZYA8Ew.js";
15
+ import { _ as bt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const xt = ["id"], kt = ["xmlns", "viewBox"], Ct = { style: { "pointer-events": "none" } }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wt = ["x", "y", "fill", "font-size", "font-weight"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x", "y", "fill", "font-size", "font-weight"], Tt = { key: 0 }, zt = ["x", "y", "font-size", "fill"], Mt = ["width", "x", "y"], It = { style: { width: "100%" } }, Pt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ft = ["d", "stroke", "stroke-width", "onMouseenter"], Nt = {
17
+ key: 4,
18
+ class: "vue-data-ui-watermark"
19
+ }, St = ["onClick"], Lt = ["innerHTML"], Ot = {
20
+ __name: "vue-ui-parallel-coordinate-plot",
21
+ props: {
22
+ config: {
23
+ type: Object,
24
+ default() {
25
+ return {};
26
+ }
27
+ },
28
+ dataset: {
29
+ type: Array,
30
+ default() {
31
+ return [];
32
+ }
33
+ }
34
+ },
35
+ emits: ["selectLegend", "selectDatapoint"],
36
+ setup(Me, { expose: Ie, emit: ee }) {
37
+ const A = Me, { vue_ui_parallel_coordinate_plot: Pe } = Ge(), F = g({
38
+ get() {
39
+ return !!A.dataset && A.dataset.length;
40
+ },
41
+ set(t) {
42
+ return t;
43
+ }
44
+ }), te = c(0), N = c(null), ae = c(null), le = c(null), oe = c(null), se = c(0), ne = c(0), ue = c(0), H = c(Z()), O = c(!1);
45
+ function Fe(t) {
46
+ O.value = t, te.value += 1;
47
+ }
48
+ const e = g({
49
+ get: () => re(),
50
+ set: (t) => t
51
+ });
52
+ function re() {
53
+ const t = ze({
54
+ userConfig: A.config,
55
+ defaultConfig: Pe
56
+ });
57
+ return t.theme ? {
58
+ ...ze({
59
+ userConfig: He.vue_ui_parallel_coordinate_plot[t.theme] || A.config,
60
+ defaultConfig: t
61
+ }),
62
+ customPalette: Xe[t.theme] || V
63
+ } : t;
64
+ }
65
+ Be(() => A.config, (t) => {
66
+ e.value = re(), ie(), se.value += 1, ue.value += 1, ne.value += 1;
67
+ }, { deep: !0 });
68
+ const B = c(null);
69
+ Re(() => {
70
+ ie();
71
+ });
72
+ function ie() {
73
+ if (Ye(A.dataset) ? we({
74
+ componentName: "VueUiParallelCoordinatePlot",
75
+ type: "dataset"
76
+ }) : A.dataset.forEach((t, l) => {
77
+ qe({
78
+ datasetObject: t,
79
+ requiredAttributes: ["name", "series"]
80
+ }).forEach((a) => {
81
+ F.value = !1, we({
82
+ componentName: "VueUiParallelCoordinatePlot",
83
+ type: "datasetSerieAttribute",
84
+ property: a,
85
+ index: l
86
+ });
87
+ });
88
+ }), e.value.responsive) {
89
+ const t = nt(() => {
90
+ const { width: l, height: a } = ut({
91
+ chart: N.value,
92
+ title: e.value.style.chart.title.text ? ae.value : null,
93
+ legend: e.value.style.chart.legend.show ? le.value : null,
94
+ source: oe.value
95
+ });
96
+ v.value.width = l, v.value.height = a, v.value.plotSize = G({
97
+ relator: Math.min(l, a),
98
+ adjuster: 600,
99
+ source: e.value.style.chart.plots.radius,
100
+ threshold: 2,
101
+ fallback: 2
102
+ }), v.value.ticksFontSize = G({
103
+ relator: Math.min(l, a),
104
+ adjuster: 600,
105
+ source: e.value.style.chart.yAxis.labels.ticks.fontSize,
106
+ threshold: 10,
107
+ fallback: 10
108
+ }), v.value.datapointFontSize = G({
109
+ relator: Math.min(l, a),
110
+ adjuster: 600,
111
+ source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
112
+ threshold: 10,
113
+ fallback: 10
114
+ }), v.value.axisNameFontSize = G({
115
+ relator: Math.min(l, a),
116
+ adjuster: 600,
117
+ source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
118
+ threshold: 12,
119
+ fallback: 12
120
+ });
121
+ });
122
+ B.value = new ResizeObserver(t), B.value.observe(N.value.parentNode);
123
+ }
124
+ }
125
+ je(() => {
126
+ B.value && B.value.disconnect();
127
+ });
128
+ const { isPrinting: ce, isImaging: ve, generatePdf: de, generateImage: he } = dt({
129
+ elementId: `pcp_${H.value}`,
130
+ fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
131
+ }), v = c({
132
+ height: e.value.style.chart.height,
133
+ width: e.value.style.chart.width,
134
+ plotSize: e.value.style.chart.plots.radius,
135
+ // ratio 100
136
+ ticksFontSize: e.value.style.chart.yAxis.labels.ticks.fontSize,
137
+ // ratio 42.85
138
+ datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
139
+ axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
140
+ }), d = g(() => {
141
+ const { top: t, right: l, bottom: a, left: o } = e.value.style.chart.padding, n = v.value.height, s = v.value.width;
142
+ return {
143
+ chartHeight: n,
144
+ chartWidth: s,
145
+ height: n - t - a,
146
+ width: s - o - l,
147
+ top: t,
148
+ left: o,
149
+ right: s - l,
150
+ bottom: n - a
151
+ };
152
+ }), Ne = g(() => Qe(e.value.customPalette)), f = c({
153
+ dataLabels: {
154
+ show: e.value.style.chart.yAxis.labels.datapoints.show
155
+ },
156
+ showTable: e.value.table.show,
157
+ showTooltip: e.value.style.chart.tooltip.show
158
+ }), $ = c([]);
159
+ function pe(t) {
160
+ $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
161
+ }
162
+ const _ = g(() => A.dataset.map((t, l) => {
163
+ const a = Je(t.color) || Ne.value[l] || V[l] || V[l % V.length];
164
+ return {
165
+ ...t,
166
+ series: t.series.map((o) => ({
167
+ ...o,
168
+ id: Z(),
169
+ color: a
170
+ })),
171
+ seriesIndex: l,
172
+ color: a,
173
+ id: Z(),
174
+ shape: t.shape || "circle"
175
+ };
176
+ })), Se = g(() => _.value.map((t) => ({
177
+ ...t,
178
+ opacity: $.value.includes(t.id) ? 0.5 : 1,
179
+ segregate: () => pe(t.id),
180
+ isSegregated: $.value.includes(t.id)
181
+ }))), Le = g(() => ({
182
+ cy: "pcp-div-legend",
183
+ backgroundColor: e.value.style.chart.legend.backgroundColor,
184
+ color: e.value.style.chart.legend.color,
185
+ fontSize: e.value.style.chart.legend.fontSize,
186
+ paddingBottom: 12,
187
+ fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
188
+ })), me = g(() => Math.max(
189
+ ..._.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
190
+ )), k = g(() => d.value.width / me.value), X = g(() => _.value.filter((t) => !$.value.includes(t.id))), m = g(() => {
191
+ let t = [];
192
+ for (let l = 0; l < me.value; l += 1) {
193
+ const a = Math.min(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...X.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, i = Ke(n, s, e.value.style.chart.yAxis.scaleTicks), w = i.ticks.map((h, j) => {
194
+ const We = i.min < 0 ? h + Math.abs(i.min) : h - Math.abs(i.min), Ee = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
195
+ return {
196
+ y: d.value.bottom - d.value.height * (We / Ee),
197
+ x: d.value.left + k.value * l + k.value / 2,
198
+ value: h
199
+ };
200
+ });
201
+ t.push({
202
+ scale: i,
203
+ ticks: w,
204
+ name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
205
+ });
206
+ }
207
+ return t;
208
+ }), Y = g(() => X.value.map((t, l) => ({
209
+ ...t,
210
+ series: t.series.map((a, o) => ({
211
+ ...a,
212
+ datapoints: a.values.map((n, s) => {
213
+ const i = m.value[s].scale.min < 0 ? (n || 0) + Math.abs(m.value[s].scale.min) : (n || 0) - Math.abs(m.value[s].scale.min), w = 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);
214
+ return {
215
+ name: a.name,
216
+ seriesName: t.name,
217
+ axisIndex: s,
218
+ datapointIndex: o,
219
+ seriesIndex: l,
220
+ value: n || 0,
221
+ x: d.value.left + k.value * s + k.value / 2,
222
+ y: d.value.bottom - d.value.height * (i / w),
223
+ comment: a.comments && a.comments[s] || ""
224
+ };
225
+ })
226
+ }))
227
+ })).map((t) => ({
228
+ ...t,
229
+ series: t.series.map((l) => {
230
+ const a = Ze(l.datapoints), o = et(l.datapoints), n = tt(e.value.style.chart.lines.smooth ? `M ${o}` : `M ${a}`);
231
+ return {
232
+ ...l,
233
+ smoothPath: o,
234
+ straightPath: a,
235
+ pathLength: n
236
+ };
237
+ })
238
+ })));
239
+ function ye({ value: t, index: l, datapoint: a }) {
240
+ return _e(
241
+ e.value.style.chart.yAxis.labels.formatters[l] || null,
242
+ t,
243
+ Te({
244
+ p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
245
+ v: t,
246
+ s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
247
+ r: e.value.style.chart.yAxis.labels.roundings[l] || 0
248
+ }),
249
+ { datapoint: a, seriesIndex: l }
250
+ );
251
+ }
252
+ const p = c(null), q = c(null), D = c(!1), Q = c("");
253
+ function J({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
254
+ q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: _.value, scales: m.value }, D.value = !0, p.value = a.id;
255
+ let s = "";
256
+ const i = e.value.style.chart.tooltip.customFormat;
257
+ Ae(i) && lt(() => i({
258
+ serie: a,
259
+ seriesIndex: a.seriesIndex,
260
+ series: _.value,
261
+ config: e.value,
262
+ scales: m.value
263
+ })) ? Q.value = i({
264
+ serie: a,
265
+ seriesIndex: a.seriesIndex,
266
+ series: _.value,
267
+ config: e.value,
268
+ scales: m.value
269
+ }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, m.value.map((w) => w.name).forEach((w, h) => {
270
+ s += `
271
+ <div class="vue-ui-tooltip-item" style="text-align:left">
272
+ <span>${w}: </span>
273
+ <span>
274
+ ${_e(
275
+ e.value.style.chart.yAxis.labels.formatters[h] || null,
276
+ a.datapoints[h].value,
277
+ Te({
278
+ p: e.value.style.chart.yAxis.labels.prefixes[h] || "",
279
+ v: a.datapoints[h].value,
280
+ s: e.value.style.chart.yAxis.labels.suffixes[h] || "",
281
+ r: e.value.style.chart.yAxis.labels.roundings[h] || ""
282
+ }),
283
+ { datapoint: a.datapoints[h], seriesIndex: h }
284
+ )}
285
+ </span>
286
+ </div>
287
+ `, e.value.style.chart.comments.showInTooltip && a.datapoints[h].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[h].comment}</div>`);
288
+ }), Q.value = `<div>${s}</div>`);
289
+ }
290
+ function Oe() {
291
+ return _.value;
292
+ }
293
+ const S = g(() => {
294
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(m.value.map((n) => n.name)), l = Y.value.flatMap((n, s) => n.series.map((i) => [n.name].concat([i.name]).concat(i.values))), a = {
295
+ th: {
296
+ backgroundColor: e.value.table.th.backgroundColor,
297
+ color: e.value.table.th.color,
298
+ outline: e.value.table.th.outline
299
+ },
300
+ td: {
301
+ backgroundColor: e.value.table.td.backgroundColor,
302
+ color: e.value.table.td.color,
303
+ outline: e.value.table.td.outline
304
+ },
305
+ breakpoint: e.value.table.responsiveBreakpoint
306
+ }, o = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(m.value.map((n) => n.name));
307
+ return {
308
+ body: l,
309
+ head: t,
310
+ config: a,
311
+ colNames: o
312
+ };
313
+ }), fe = g(() => Y.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
314
+ head: S.value.head,
315
+ body: S.value.body
316
+ });
317
+ function ge() {
318
+ const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = fe.value.head, a = fe.value.body, o = t.concat([l]).concat(a), n = ot(o);
319
+ st({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
320
+ }
321
+ function De(t) {
322
+ ee("selectDatapoint", t);
323
+ }
324
+ function be(t) {
325
+ ee("selectLegend", {
326
+ ...t,
327
+ isSegregated: !t.isSegregated,
328
+ opacity: t.isSegregated ? 1 : 0.5
329
+ });
330
+ }
331
+ function xe() {
332
+ f.value.showTable = !f.value.showTable;
333
+ }
334
+ function ke() {
335
+ f.value.dataLabels.show = !f.value.dataLabels.show;
336
+ }
337
+ function Ce() {
338
+ f.value.showTooltip = !f.value.showTooltip;
339
+ }
340
+ const R = c(!1);
341
+ function K() {
342
+ R.value = !R.value;
343
+ }
344
+ return Ie({
345
+ getData: Oe,
346
+ generateCsv: ge,
347
+ generatePdf: de,
348
+ generateImage: he,
349
+ toggleTable: xe,
350
+ toggleLabels: ke,
351
+ toggleTooltip: Ce,
352
+ toggleAnnotator: K
353
+ }), (t, l) => (u(), r("div", {
354
+ ref_key: "pcpChart",
355
+ ref: N,
356
+ class: U(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
+ style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
358
+ id: `pcp_${H.value}`
359
+ }, [
360
+ e.value.userOptions.buttons.annotator ? (u(), z(gt, {
361
+ key: 0,
362
+ parent: N.value,
363
+ backgroundColor: e.value.style.chart.backgroundColor,
364
+ color: e.value.style.chart.color,
365
+ active: R.value,
366
+ onClose: K
367
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
368
+ e.value.style.chart.title.text ? (u(), r("div", {
369
+ key: 1,
370
+ ref_key: "chartTitle",
371
+ ref: ae,
372
+ style: "width:100%;background:transparent;padding-bottom:24px"
373
+ }, [
374
+ (u(), z(rt, {
375
+ key: `title_${se.value}`,
376
+ config: {
377
+ title: {
378
+ cy: "pcp-div-title",
379
+ ...e.value.style.chart.title
380
+ },
381
+ subtitle: {
382
+ cy: "pcp-div-subtitle",
383
+ ...e.value.style.chart.title.subtitle
384
+ }
385
+ }
386
+ }, null, 8, ["config"]))
387
+ ], 512)) : y("", !0),
388
+ e.value.userOptions.show && F.value ? (u(), z(ht, {
389
+ ref: "details",
390
+ key: `user_options_${te.value}`,
391
+ backgroundColor: e.value.style.chart.backgroundColor,
392
+ color: e.value.style.chart.color,
393
+ isPrinting: M(ce),
394
+ isImaging: M(ve),
395
+ uid: H.value,
396
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
397
+ hasPdf: e.value.userOptions.buttons.pdf,
398
+ hasXls: e.value.userOptions.buttons.csv,
399
+ hasImg: e.value.userOptions.buttons.img,
400
+ hasTable: e.value.userOptions.buttons.table,
401
+ hasLabel: e.value.userOptions.buttons.labels,
402
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
403
+ isFullscreen: O.value,
404
+ isTooltip: f.value.showTooltip,
405
+ titles: { ...e.value.userOptions.buttonTitles },
406
+ chartElement: N.value,
407
+ position: e.value.userOptions.position,
408
+ hasAnnotator: e.value.userOptions.buttons.annotator,
409
+ isAnnotation: R.value,
410
+ onToggleFullscreen: Fe,
411
+ onGeneratePdf: M(de),
412
+ onGenerateCsv: ge,
413
+ onGenerateImage: M(he),
414
+ onToggleTable: xe,
415
+ onToggleLabels: ke,
416
+ onToggleTooltip: Ce,
417
+ onToggleAnnotator: K
418
+ }, Ue({ _: 2 }, [
419
+ t.$slots.optionPdf ? {
420
+ name: "optionPdf",
421
+ fn: x(() => [
422
+ b(t.$slots, "optionPdf", {}, void 0, !0)
423
+ ]),
424
+ key: "0"
425
+ } : void 0,
426
+ t.$slots.optionCsv ? {
427
+ name: "optionCsv",
428
+ fn: x(() => [
429
+ b(t.$slots, "optionCsv", {}, void 0, !0)
430
+ ]),
431
+ key: "1"
432
+ } : void 0,
433
+ t.$slots.optionImg ? {
434
+ name: "optionImg",
435
+ fn: x(() => [
436
+ b(t.$slots, "optionImg", {}, void 0, !0)
437
+ ]),
438
+ key: "2"
439
+ } : void 0,
440
+ t.$slots.optionTable ? {
441
+ name: "optionTable",
442
+ fn: x(() => [
443
+ b(t.$slots, "optionTable", {}, void 0, !0)
444
+ ]),
445
+ key: "3"
446
+ } : void 0,
447
+ t.$slots.optionLabels ? {
448
+ name: "optionLabels",
449
+ fn: x(() => [
450
+ b(t.$slots, "optionLabels", {}, void 0, !0)
451
+ ]),
452
+ key: "4"
453
+ } : void 0,
454
+ t.$slots.optionFullscreen ? {
455
+ name: "optionFullscreen",
456
+ fn: x(({ toggleFullscreen: a, isFullscreen: o }) => [
457
+ b(t.$slots, "optionFullscreen", W(E({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
458
+ ]),
459
+ key: "5"
460
+ } : void 0,
461
+ t.$slots.optionAnnotator ? {
462
+ name: "optionAnnotator",
463
+ fn: x(({ toggleAnnotator: a, isAnnotator: o }) => [
464
+ b(t.$slots, "optionAnnotator", W(E({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
465
+ ]),
466
+ key: "6"
467
+ } : void 0
468
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
469
+ F.value ? (u(), r("svg", {
470
+ key: 3,
471
+ xmlns: M(at),
472
+ class: U({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
473
+ viewBox: `0 0 ${d.value.chartWidth <= 0 ? 10 : d.value.chartWidth} ${d.value.chartHeight <= 0 ? 10 : d.value.chartHeight}`,
474
+ style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
475
+ }, [
476
+ $e(ft),
477
+ (u(!0), r(C, null, I(m.value, (a, o) => (u(), r("g", Ct, [
478
+ P("line", {
479
+ x1: d.value.left + k.value * o + k.value / 2,
480
+ x2: d.value.left + k.value * o + k.value / 2,
481
+ y1: d.value.top,
482
+ y2: d.value.bottom,
483
+ stroke: e.value.style.chart.yAxis.stroke,
484
+ "stroke-width": e.value.style.chart.yAxis.strokeWidth
485
+ }, null, 8, $t),
486
+ P("text", {
487
+ x: d.value.left + k.value * o + k.value / 2,
488
+ y: d.value.top - 24,
489
+ fill: e.value.style.chart.yAxis.labels.axisNamesColor,
490
+ "font-size": v.value.axisNameFontSize,
491
+ "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
492
+ "text-anchor": "middle"
493
+ }, L(a.name), 9, wt),
494
+ e.value.style.chart.yAxis.labels.ticks.show ? (u(), r(C, { key: 0 }, [
495
+ (u(!0), r(C, null, I(a.ticks, (n) => (u(), r("line", {
496
+ x1: n.x,
497
+ x2: n.x - 10,
498
+ y1: n.y,
499
+ y2: n.y,
500
+ stroke: e.value.style.chart.yAxis.stroke,
501
+ "stroke-width": e.value.style.chart.yAxis.strokeWidth,
502
+ style: T(`opacity:${p.value && !f.value.showTooltip ? 0.2 : 1}`)
503
+ }, null, 12, At))), 256)),
504
+ (u(!0), r(C, null, I(a.ticks, (n) => (u(), r("text", {
505
+ x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
506
+ y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + v.value.ticksFontSize / 3,
507
+ fill: e.value.style.chart.yAxis.labels.ticks.color,
508
+ "text-anchor": "end",
509
+ "font-size": v.value.ticksFontSize,
510
+ "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
511
+ style: T(`opacity:${p.value && !f.value.showTooltip ? 0.2 : 1}`)
512
+ }, L(ye({ value: n.value, index: o, datapoint: n })), 13, _t))), 256))
513
+ ], 64)) : y("", !0)
514
+ ]))), 256)),
515
+ (u(!0), r(C, null, I(Y.value, (a) => (u(), r("g", null, [
516
+ (u(!0), r(C, null, I(a.series, (o, n) => (u(), r("g", null, [
517
+ e.value.style.chart.plots.show ? (u(), r("g", Tt, [
518
+ (u(!0), r(C, null, I(o.datapoints, (s) => (u(), z(vt, {
519
+ plot: { x: s.x, y: s.y },
520
+ color: a.color,
521
+ shape: a.shape,
522
+ radius: a.shape === "triangle" ? v.value.plotSize * 1.2 : v.value.plotSize,
523
+ stroke: e.value.style.chart.backgroundColor,
524
+ strokeWidth: 0.5,
525
+ onMouseenter: (i) => J({
526
+ shape: a.shape,
527
+ serieName: a.name,
528
+ serie: o,
529
+ relativeIndex: n,
530
+ seriesIndex: o.seriesIndex
531
+ }),
532
+ onMouseleave: l[0] || (l[0] = (i) => {
533
+ p.value = null, D.value = !1;
534
+ }),
535
+ style: T(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
536
+ onClick: () => De(s)
537
+ }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
538
+ f.value.showTooltip ? y("", !0) : (u(), r(C, { key: 0 }, [
539
+ p.value && p.value === o.id && o.datapoints.length ? (u(), r("text", {
540
+ key: 0,
541
+ x: o.datapoints[0].x - v.value.ticksFontSize,
542
+ y: o.datapoints[0].y + v.value.ticksFontSize / 3,
543
+ "text-anchor": "end",
544
+ "font-size": v.value.ticksFontSize,
545
+ fill: a.color,
546
+ "font-weight": "bold"
547
+ }, L(o.name), 9, zt)) : y("", !0)
548
+ ], 64)),
549
+ e.value.style.chart.comments.show ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s) => (u(), r("g", null, [
550
+ s.comment ? (u(), r("foreignObject", {
551
+ key: 0,
552
+ style: { overflow: "visible" },
553
+ height: "12",
554
+ width: e.value.style.chart.comments.width,
555
+ x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
556
+ y: s.y + e.value.style.chart.comments.offsetY + 6
557
+ }, [
558
+ P("div", It, [
559
+ b(t.$slots, "plot-comment", {
560
+ plot: { ...s, color: a.color }
561
+ }, void 0, !0)
562
+ ])
563
+ ], 8, Mt)) : y("", !0)
564
+ ]))), 256)) : y("", !0)
565
+ ])) : y("", !0),
566
+ f.value.dataLabels.show || p.value && p.value === o.id ? (u(!0), r(C, { key: 1 }, I(o.datapoints, (s, i) => (u(), r("text", {
567
+ x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
568
+ y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + v.value.datapointFontSize / 3,
569
+ fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
570
+ "text-anchor": "start",
571
+ "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
572
+ class: U({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !0 }),
573
+ "font-size": v.value.datapointFontSize,
574
+ onMouseenter: (w) => J({
575
+ shape: a.shape,
576
+ serieName: a.name,
577
+ serie: o,
578
+ relativeIndex: n,
579
+ seriesIndex: o.seriesIndex
580
+ }),
581
+ onMouseleave: l[1] || (l[1] = (w) => {
582
+ p.value = null, D.value = !1;
583
+ }),
584
+ style: T(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
585
+ }, L(ye({ value: s.value, index: i, datapoint: s })), 45, Pt))), 256)) : y("", !0),
586
+ P("path", {
587
+ d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
588
+ stroke: a.color,
589
+ "stroke-width": e.value.style.chart.lines.strokeWidth,
590
+ fill: "none",
591
+ class: U({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !0 }),
592
+ onMouseenter: (s) => J({
593
+ shape: a.shape,
594
+ serieName: a.name,
595
+ serie: o,
596
+ relativeIndex: n,
597
+ seriesIndex: o.seriesIndex
598
+ }),
599
+ onMouseleave: l[2] || (l[2] = (s) => {
600
+ p.value = null, D.value = !1;
601
+ }),
602
+ style: T(`opacity:${p.value ? p.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}`)
603
+ }, null, 46, Ft)
604
+ ]))), 256))
605
+ ]))), 256)),
606
+ b(t.$slots, "svg", { svg: d.value }, void 0, !0)
607
+ ], 14, kt)) : y("", !0),
608
+ t.$slots.watermark ? (u(), r("div", Nt, [
609
+ b(t.$slots, "watermark", W(E({ isPrinting: M(ce) || M(ve) })), void 0, !0)
610
+ ])) : y("", !0),
611
+ F.value ? y("", !0) : (u(), z(yt, {
612
+ key: 5,
613
+ config: {
614
+ type: "parallelCoordinatePlot",
615
+ style: {
616
+ backgroundColor: e.value.style.chart.backgroundColor
617
+ }
618
+ }
619
+ }, null, 8, ["config"])),
620
+ P("div", {
621
+ ref_key: "chartLegend",
622
+ ref: le
623
+ }, [
624
+ e.value.style.chart.legend.show && F.value ? (u(), z(it, {
625
+ key: `legend_${ne.value}`,
626
+ legendSet: Se.value,
627
+ config: Le.value,
628
+ onClickMarker: l[3] || (l[3] = ({ legend: a }) => {
629
+ pe(a.id), be(a);
630
+ })
631
+ }, {
632
+ item: x(({ legend: a, index: o }) => [
633
+ P("div", {
634
+ onClick: (n) => {
635
+ a.segregate(), be(a);
636
+ },
637
+ style: T(`opacity:${$.value.includes(a.id) ? 0.5 : 1}`)
638
+ }, L(a.name), 13, St)
639
+ ]),
640
+ _: 1
641
+ }, 8, ["legendSet", "config"])) : b(t.$slots, "legend", {
642
+ key: 1,
643
+ legend: _.value
644
+ }, void 0, !0)
645
+ ], 512),
646
+ t.$slots.source ? (u(), r("div", {
647
+ key: 6,
648
+ ref_key: "source",
649
+ ref: oe,
650
+ dir: "auto"
651
+ }, [
652
+ b(t.$slots, "source", {}, void 0, !0)
653
+ ], 512)) : y("", !0),
654
+ $e(ct, {
655
+ show: f.value.showTooltip && D.value,
656
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
657
+ color: e.value.style.chart.tooltip.color,
658
+ fontSize: e.value.style.chart.tooltip.fontSize,
659
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
660
+ borderColor: e.value.style.chart.tooltip.borderColor,
661
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
662
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
663
+ position: e.value.style.chart.tooltip.position,
664
+ offsetY: e.value.style.chart.tooltip.offsetY,
665
+ parent: N.value,
666
+ content: Q.value,
667
+ isCustom: M(Ae)(e.value.style.chart.tooltip.customFormat)
668
+ }, {
669
+ "tooltip-before": x(() => [
670
+ b(t.$slots, "tooltip-before", W(E({ ...q.value })), void 0, !0)
671
+ ]),
672
+ "tooltip-after": x(() => [
673
+ b(t.$slots, "tooltip-after", W(E({ ...q.value })), void 0, !0)
674
+ ]),
675
+ _: 3
676
+ }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
677
+ F.value ? (u(), z(mt, {
678
+ key: 7,
679
+ hideDetails: "",
680
+ config: {
681
+ open: f.value.showTable,
682
+ maxHeight: 1e4,
683
+ body: {
684
+ backgroundColor: e.value.style.chart.backgroundColor,
685
+ color: e.value.style.chart.color
686
+ },
687
+ head: {
688
+ backgroundColor: e.value.style.chart.backgroundColor,
689
+ color: e.value.style.chart.color
690
+ }
691
+ }
692
+ }, {
693
+ content: x(() => [
694
+ (u(), z(pt, {
695
+ key: `table_${ue.value}`,
696
+ colNames: S.value.colNames,
697
+ head: S.value.head,
698
+ body: S.value.body,
699
+ config: S.value.config,
700
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
701
+ onClose: l[4] || (l[4] = (a) => f.value.showTable = !1)
702
+ }, {
703
+ th: x(({ th: a }) => [
704
+ P("div", { innerHTML: a }, null, 8, Lt)
705
+ ]),
706
+ td: x(({ td: a }) => [
707
+ Ve(L(a), 1)
708
+ ]),
709
+ _: 1
710
+ }, 8, ["colNames", "head", "body", "config", "title"]))
711
+ ]),
712
+ _: 1
713
+ }, 8, ["config"])) : y("", !0)
714
+ ], 14, xt));
715
+ }
716
+ }, Kt = /* @__PURE__ */ bt(Ot, [["__scopeId", "data-v-1fae112e"]]);
717
+ export {
718
+ Kt as default
719
+ };