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
@@ -1,32 +1,33 @@
1
- import { computed as k, ref as g, watch as Ue, onMounted as He, onBeforeUnmount as Je, openBlock as o, createElementBlock as r, normalizeClass as Fe, normalizeStyle as R, createBlock as q, createCommentVNode as d, unref as y, createSlots as Ke, withCtx as w, renderSlot as T, normalizeProps as ae, guardReactiveProps as oe, createVNode as ce, createElementVNode as c, Fragment as P, renderList as X, toDisplayString as M, createTextVNode as Qe, nextTick as Ze } from "vue";
2
- import { u as et, c as tt, t as lt, a as at, p as U, o as ot, e as de, b as st, g as Oe, R as ut, V as rt, X as it, T as nt, s as he, i as Y, v as $, f as W, x as yt, y as vt, q as ct, r as dt } from "./index-DDXisDKy.js";
3
- import { t as ht, u as pt } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as ft } from "./Title-DYNLqCCT.js";
5
- import { u as gt, U as xt } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as mt } from "./Tooltip-CICAYyQj.js";
7
- import { L as bt } from "./Legend-DXLiSLHd.js";
8
- import { _ as Xe } from "./Shape-CO_Ak9Zm.js";
9
- import { D as kt } from "./DataTable-DL2agEJ3.js";
10
- import _t from "./vue-ui-skeleton-B2sRnIXX.js";
11
- import wt from "./vue-ui-accordion-D_1fE5EF.js";
12
- import { u as Ie } from "./useNestedProp-S1UXxUgm.js";
13
- import { _ as Mt } from "./PackageVersion-DtnhR89q.js";
14
- import { _ as $t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Lt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = { key: 1 }, Bt = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Nt = { key: 0 }, Pt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], Wt = { key: 1 }, Ft = { key: 2 }, Ot = ["id"], Xt = ["stop-color"], It = ["stop-color"], Dt = ["id"], Yt = ["stop-color"], jt = ["stop-color"], Vt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], Et = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Gt = { key: 0 }, Rt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Ut = ["d", "stroke", "stroke-width"], Ht = ["d", "stroke", "stroke-width"], Jt = {
1
+ import { computed as k, ref as h, watch as Ke, onMounted as Qe, onBeforeUnmount as Ze, openBlock as o, createElementBlock as r, normalizeClass as Ie, normalizeStyle as q, createBlock as Y, createCommentVNode as c, unref as v, createSlots as et, withCtx as _, renderSlot as $, normalizeProps as Q, guardReactiveProps as Z, createVNode as he, createElementVNode as d, Fragment as P, renderList as X, toDisplayString as M, createTextVNode as tt, nextTick as lt } from "vue";
2
+ import { u as at, c as ot, t as st, a as ut, p as U, o as rt, e as pe, b as it, g as De, R as nt, V as vt, X as yt, T as ct, s as fe, i as j, v as C, f as W, x as dt, y as ht, q as pt, r as ft } from "./index-Bya_q1J-.js";
3
+ import { t as gt, u as xt } from "./useResponsive-BY8tgM1n.js";
4
+ import { _ as mt } from "./Title-C5pIfQAz.js";
5
+ import { u as bt, U as kt } from "./usePrinter-CiHd1FwD.js";
6
+ import { _ as _t } from "./Tooltip-Cz24YLfw.js";
7
+ import { L as wt } from "./Legend-DNgTCgEK.js";
8
+ import { _ as Ye } from "./Shape-Bwon0l0g.js";
9
+ import { D as $t } from "./DataTable-DYqC2pqu.js";
10
+ import Mt from "./vue-ui-skeleton-BYssP0K4.js";
11
+ import Ct from "./vue-ui-accordion-DfUfL2dI.js";
12
+ import { u as je } from "./useNestedProp-B33hazbH.js";
13
+ import { _ as zt } from "./PackageVersion-VkaUzgmt.js";
14
+ import { P as At } from "./PenAndPaper-DAZYA8Ew.js";
15
+ import { _ as St } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const Lt = ["id"], Tt = ["xmlns", "viewBox"], Bt = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 1 }, Ot = ["points", "fill", "stroke-width", "stroke-dasharray", "stroke"], Ft = { key: 0 }, Xt = ["cx", "cy", "r", "fill", "stroke", "stroke-width", "onMouseover"], It = { key: 1 }, Dt = { key: 2 }, Yt = ["id"], jt = ["stop-color"], Vt = ["stop-color"], Et = ["id"], Gt = ["stop-color"], Rt = ["stop-color"], qt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "rx"], Ut = ["x", "y", "height", "width", "fill", "stroke", "stroke-width", "rx"], Ht = { key: 0 }, Jt = ["d", "stroke", "stroke-width"], Kt = ["d", "stroke", "stroke-width"], Qt = ["d", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], el = {
16
17
  key: 3,
17
18
  style: { "pointer-events": "none !important" }
18
- }, Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Zt = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], el = ["x", "y", "font-size", "fill", "font-weight"], tl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ll = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], al = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ol = { key: 4 }, sl = ["x", "y", "font-size", "fill"], ul = ["x", "y", "font-size", "fill"], rl = ["id", "transform", "font-size", "font-weight", "fill"], il = { key: 5 }, nl = ["x", "y", "font-size", "fill"], yl = ["x", "y", "font-size", "fill"], vl = ["font-size", "font-weight", "fill", "x", "y"], cl = ["id"], dl = ["x", "y", "width", "height"], hl = { key: 6 }, pl = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], fl = ["x", "y", "fill", "font-size", "font-weight"], gl = {
19
- key: 3,
19
+ }, tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], al = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], ol = ["x", "y", "font-size", "fill", "font-weight"], sl = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], ul = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], rl = ["x", "y", "font-size", "fill", "font-weight", "text-anchor"], il = { key: 4 }, nl = ["x", "y", "font-size", "fill"], vl = ["x", "y", "font-size", "fill"], yl = ["id", "transform", "font-size", "font-weight", "fill"], cl = { key: 5 }, dl = ["x", "y", "font-size", "fill"], hl = ["x", "y", "font-size", "fill"], pl = ["font-size", "font-weight", "fill", "x", "y"], fl = ["id"], gl = ["x", "y", "width", "height"], xl = { key: 6 }, ml = ["x1", "x2", "y1", "y2", "stroke-dasharray", "stroke", "stroke-width", "clip-path"], bl = ["x", "y", "fill", "font-size", "font-weight"], kl = {
20
+ key: 4,
20
21
  class: "vue-data-ui-watermark"
21
- }, xl = ["onClick"], ml = {
22
+ }, _l = ["onClick"], wl = {
22
23
  key: 0,
23
24
  style: { width: "100%", display: "flex", "align-items": "center", "justify-content": "center" }
24
- }, bl = {
25
+ }, $l = {
25
26
  viewBox: "0 0 20 20",
26
27
  height: "20",
27
28
  width: "20",
28
29
  style: { overflow: "hidden", background: "transparent" }
29
- }, kl = { key: 0 }, _l = ["innerHTML"], wl = {
30
+ }, Ml = { key: 0 }, Cl = ["innerHTML"], zl = {
30
31
  __name: "vue-ui-scatter",
31
32
  props: {
32
33
  config: {
@@ -42,196 +43,197 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
42
43
  }
43
44
  }
44
45
  },
45
- setup(De, { expose: Ye }) {
46
- const F = De, { vue_ui_scatter: je } = et(), Q = k(() => !!F.dataset && F.dataset.length), C = g(tt()), Ve = g(null), se = g(!1), ue = g(""), pe = g(0), J = g(null), fe = g(null), ge = g(null), xe = g(0), me = g(0), be = g(0), e = k({
47
- get: () => ke(),
46
+ setup(Ve, { expose: Ee }) {
47
+ const O = Ve, { vue_ui_scatter: Ge } = at(), ee = k(() => !!O.dataset && O.dataset.length), z = h(ot()), Re = h(null), ue = h(!1), re = h(""), ge = h(0), H = h(null), xe = h(null), me = h(null), be = h(null), ke = h(0), _e = h(0), we = h(0), e = k({
48
+ get: () => $e(),
48
49
  set: (l) => l
49
50
  });
50
- function ke() {
51
- const l = Ie({
52
- userConfig: F.config,
53
- defaultConfig: je
51
+ function $e() {
52
+ const l = je({
53
+ userConfig: O.config,
54
+ defaultConfig: Ge
54
55
  });
55
56
  return l.theme ? {
56
- ...Ie({
57
- userConfig: lt.vue_ui_scatter[l.theme] || F.config,
57
+ ...je({
58
+ userConfig: st.vue_ui_scatter[l.theme] || O.config,
58
59
  defaultConfig: l
59
60
  }),
60
- customPalette: at[l.theme] || U
61
+ customPalette: ut[l.theme] || U
61
62
  } : l;
62
63
  }
63
- Ue(() => F.config, (l) => {
64
- e.value = ke(), _e(), xe.value += 1, me.value += 1, be.value += 1;
64
+ Ke(() => O.config, (l) => {
65
+ e.value = $e(), Me(), ke.value += 1, _e.value += 1, we.value += 1;
65
66
  }, { deep: !0 });
66
- const Z = g(null);
67
- He(() => {
68
- _e();
67
+ const te = h(null);
68
+ Qe(() => {
69
+ Me();
69
70
  });
70
- function _e() {
71
- if (ot(F.dataset) && de({
71
+ function Me() {
72
+ if (rt(O.dataset) && pe({
72
73
  componentName: "VueUiScatter",
73
74
  type: "dataset"
74
75
  }), e.value.responsive) {
75
- const l = ht(() => {
76
- const { width: i, height: t } = pt({
77
- chart: J.value,
78
- title: e.value.style.title.text ? fe.value : null,
79
- legend: e.value.style.legend.show ? ge.value : null
76
+ const l = gt(() => {
77
+ const { width: i, height: t } = xt({
78
+ chart: H.value,
79
+ title: e.value.style.title.text ? xe.value : null,
80
+ legend: e.value.style.legend.show ? me.value : null,
81
+ source: be.value
80
82
  });
81
- z.value.width = i, z.value.height = t;
83
+ A.value.width = i, A.value.height = t;
82
84
  });
83
- Z.value = new ResizeObserver(l), Z.value.observe(J.value.parentNode);
85
+ te.value = new ResizeObserver(l), te.value.observe(H.value.parentNode);
84
86
  }
85
87
  }
86
- Je(() => {
87
- Z.value && Z.value.disconnect();
88
+ Ze(() => {
89
+ te.value && te.value.disconnect();
88
90
  });
89
- const { isPrinting: we, isImaging: Me, generatePdf: $e, generateImage: Ce } = gt({
90
- elementId: `vue-ui-scatter_${C.value}`,
91
+ const { isPrinting: Ce, isImaging: ze, generatePdf: Ae, generateImage: Se } = bt({
92
+ elementId: `vue-ui-scatter_${z.value}`,
91
93
  fileName: e.value.style.title.text || "vue-ui-scatter"
92
- }), ze = k(() => st(e.value.customPalette)), I = g({
94
+ }), Le = k(() => it(e.value.customPalette)), I = h({
93
95
  showTable: e.value.table.show,
94
96
  showTooltip: e.value.style.tooltip.show
95
- }), z = g({
97
+ }), A = h({
96
98
  height: e.value.style.layout.height,
97
99
  width: e.value.style.layout.width
98
- }), ee = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
99
- top: e.value.style.layout.padding.top + ee.value,
100
- right: z.value.width - e.value.style.layout.padding.right - ee.value,
101
- bottom: z.value.height - e.value.style.layout.padding.bottom,
100
+ }), le = k(() => e.value.style.layout.marginalBars.show ? e.value.style.layout.marginalBars.size + e.value.style.layout.marginalBars.offset : 0), u = k(() => ({
101
+ top: e.value.style.layout.padding.top + le.value,
102
+ right: A.value.width - e.value.style.layout.padding.right - le.value,
103
+ bottom: A.value.height - e.value.style.layout.padding.bottom,
102
104
  left: e.value.style.layout.padding.left,
103
- height: z.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - ee.value,
104
- width: z.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - ee.value
105
- })), h = k(() => {
106
- F.dataset.forEach((a, n) => {
107
- Oe({
105
+ height: A.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom - le.value,
106
+ width: A.value.width - e.value.style.layout.padding.left - e.value.style.layout.padding.right - le.value
107
+ })), p = k(() => {
108
+ O.dataset.forEach((a, n) => {
109
+ De({
108
110
  datasetObject: a,
109
111
  requiredAttributes: ["values"]
110
112
  }).forEach((m) => {
111
- de({
113
+ pe({
112
114
  componentName: "VueUiScatter",
113
115
  type: "datasetSerieAttribute",
114
116
  property: m,
115
117
  index: n
116
118
  });
117
- }), a.values && a.values.forEach((m, V) => {
118
- Oe({
119
+ }), a.values && a.values.forEach((m, E) => {
120
+ De({
119
121
  datasetObject: m,
120
122
  requiredAttributes: ["x", "y"]
121
- }).forEach((H) => {
122
- de({
123
+ }).forEach((J) => {
124
+ pe({
123
125
  componentName: "VueUiScatter",
124
126
  type: "datasetSerieAttribute",
125
- property: `values.${H}`,
126
- index: `${n} - ${V}`
127
+ property: `values.${J}`,
128
+ index: `${n} - ${E}`
127
129
  });
128
130
  });
129
131
  });
130
132
  });
131
- const l = Math.min(...j.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...j.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...j.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), s = Math.max(...j.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
133
+ const l = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), i = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.x))), t = Math.min(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y))), s = Math.max(...V.value.filter((a) => !x.value.includes(a.id)).flatMap((a) => a.values.map((n) => n.y)));
132
134
  return { xMin: l >= 0 ? 0 : l, xMax: i, yMin: t >= 0 ? 0 : t, yMax: s };
133
- }), p = k(() => ({
134
- x: u.value.left + Math.abs(h.value.xMin) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
135
- y: u.value.bottom - Math.abs(h.value.yMin) / (h.value.yMax + Math.abs(h.value.yMin)) * u.value.height
136
- })), j = k(() => F.dataset.map((l, i) => {
137
- const t = `cluster_${C.value}_${i}`;
135
+ }), f = k(() => ({
136
+ x: u.value.left + Math.abs(p.value.xMin) / (p.value.xMax + Math.abs(p.value.xMin)) * u.value.width,
137
+ y: u.value.bottom - Math.abs(p.value.yMin) / (p.value.yMax + Math.abs(p.value.yMin)) * u.value.height
138
+ })), V = k(() => O.dataset.map((l, i) => {
139
+ const t = `cluster_${z.value}_${i}`;
138
140
  return {
139
141
  ...l,
140
142
  id: t,
141
- color: l.color ? l.color : ze.value[i] || U[i] || U[i % U.length],
143
+ color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
142
144
  opacity: x.value.includes(t) ? 0.5 : 1,
143
145
  shape: l.shape ?? "circle",
144
- segregate: () => Be(t),
146
+ segregate: () => We(t),
145
147
  isSegregated: x.value.includes(t)
146
148
  };
147
- })), Ee = k(() => ({
149
+ })), qe = k(() => ({
148
150
  cy: "scatter-div-legend",
149
151
  backgroundColor: e.value.style.legend.backgroundColor,
150
152
  color: e.value.style.legend.color,
151
153
  fontSize: e.value.style.legend.fontSize,
152
154
  paddingBottom: 12,
153
155
  fontWeight: e.value.style.legend.bold ? "bold" : ""
154
- })), re = k(() => j.value.map((l, i) => ({
156
+ })), ie = k(() => V.value.map((l, i) => ({
155
157
  ...l,
156
158
  plots: l.values.map((t) => ({
157
- x: u.value.left + (t.x + Math.abs(h.value.xMin)) / (h.value.xMax + Math.abs(h.value.xMin)) * u.value.width,
158
- y: u.value.bottom - (t.y + Math.abs(h.value.yMin)) / (h.value.yMax + Math.abs(h.value.yMin)) * u.value.height,
159
+ x: u.value.left + (t.x + Math.abs(p.value.xMin)) / (p.value.xMax + Math.abs(p.value.xMin)) * u.value.width,
160
+ y: u.value.bottom - (t.y + Math.abs(p.value.yMin)) / (p.value.yMax + Math.abs(p.value.yMin)) * u.value.height,
159
161
  v: {
160
162
  ...t,
161
163
  name: t.name || ""
162
164
  },
163
165
  clusterName: l.name,
164
- color: l.color ? l.color : ze.value[i] || U[i] || U[i % U.length],
165
- id: `plot_${C.value}_${Math.random()}`,
166
+ color: l.color ? l.color : Le.value[i] || U[i] || U[i % U.length],
167
+ id: `plot_${z.value}_${Math.random()}`,
166
168
  weight: t.weight ?? e.value.style.layout.plots.radius
167
169
  }))
168
- })).filter((l) => !x.value.includes(l.id))), S = k(() => re.value.map((l) => {
169
- const i = l.plots.reduce((f, E) => f + E.x, 0) / l.plots.length, t = l.plots.reduce((f, E) => f + E.y, 0) / l.plots.length;
170
+ })).filter((l) => !x.value.includes(l.id))), S = k(() => ie.value.map((l) => {
171
+ const i = l.plots.reduce((g, G) => g + G.x, 0) / l.plots.length, t = l.plots.reduce((g, G) => g + G.y, 0) / l.plots.length;
170
172
  let s = 0, a = 0, n = 0;
171
- for (const f of l.plots)
172
- s += (f.x - i) * (f.y - t), a += (f.x - i) ** 2, n += (f.y - t) ** 2;
173
- const m = s / Math.sqrt(a * n), V = m * (Math.sqrt(n) / Math.sqrt(a)), H = t - V * i, N = {
173
+ for (const g of l.plots)
174
+ s += (g.x - i) * (g.y - t), a += (g.x - i) ** 2, n += (g.y - t) ** 2;
175
+ const m = s / Math.sqrt(a * n), E = m * (Math.sqrt(n) / Math.sqrt(a)), J = t - E * i, N = {
174
176
  x1: u.value.left,
175
177
  x2: u.value.right,
176
- y1: V * u.value.left + H,
177
- y2: V * u.value.right + H,
178
+ y1: E * u.value.left + J,
179
+ y2: E * u.value.right + J,
178
180
  coefficient: m
179
- }, _ = (N.y2 - N.y1) / (N.x2 - N.x1), L = N.y1 - _ * N.x1, O = Math.min(z.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (u.value.top - L) / _)), le = {
180
- x: O,
181
- y: _ * O + L <= e.value.style.layout.padding.top ? u.value.top : _ * O + L
181
+ }, w = (N.y2 - N.y1) / (N.x2 - N.x1), T = N.y1 - w * N.x1, F = Math.min(A.value.width - e.value.style.layout.padding.right, Math.max(e.value.style.layout.padding.left, (u.value.top - T) / w)), se = {
182
+ x: F,
183
+ y: w * F + T <= e.value.style.layout.padding.top ? u.value.top : w * F + T
182
184
  };
183
185
  return {
184
186
  ...l,
185
187
  correlation: N,
186
- label: le,
187
- plots: l.plots.map((f) => {
188
- const E = (f.x + _ * f.y - _ * L) / (1 + Math.pow(_, 2)), ne = (_ * f.x + Math.pow(_, 2) * f.y + L) / (1 + Math.pow(_, 2)), b = Math.sqrt(Math.pow(f.x - E, 2) + Math.pow(f.y - ne, 2));
188
+ label: se,
189
+ plots: l.plots.map((g) => {
190
+ const G = (g.x + w * g.y - w * T) / (1 + Math.pow(w, 2)), ye = (w * g.x + Math.pow(w, 2) * g.y + T) / (1 + Math.pow(w, 2)), b = Math.sqrt(Math.pow(g.x - G, 2) + Math.pow(g.y - ye, 2));
189
191
  return {
190
- ...f,
192
+ ...g,
191
193
  deviation: b,
192
194
  shape: l.shape,
193
195
  color: l.color
194
196
  };
195
197
  })
196
198
  };
197
- })), Se = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
198
- function Ge() {
199
+ })), Te = k(() => Math.max(...S.value.flatMap((l) => l.plots.map((i) => Math.abs(i.deviation)))));
200
+ function Ue() {
199
201
  return S.value;
200
202
  }
201
- function Ae(l, i) {
202
- const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((G) => ({
203
- x: G.x,
204
- y: G.y
203
+ function Be(l, i) {
204
+ const t = Array.isArray(l) ? l.flatMap((b) => b.plots.map((R) => ({
205
+ x: R.x,
206
+ y: R.y
205
207
  }))) : l.plots.map((b) => ({
206
208
  x: b.x,
207
209
  y: b.y
208
210
  }));
209
211
  let s = 1 / 0, a = -1 / 0, n = 1 / 0, m = -1 / 0;
210
- t.forEach(({ x: b, y: G }) => {
211
- s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n, G), m = Math.max(m, G);
212
+ t.forEach(({ x: b, y: R }) => {
213
+ s = Math.min(s, b), a = Math.max(a, b), n = Math.min(n, R), m = Math.max(m, R);
212
214
  });
213
- const V = a - s, H = m - n, N = V / i, _ = H / i, L = Array(i).fill(0), O = Array(i).fill(0);
214
- t.forEach(({ x: b, y: G }) => {
215
- const ye = Math.floor((b - s) / N), ve = Math.floor((G - n) / _);
216
- L[ye] || (L[ye] = 0), O[ve] || (O[ve] = 0), L[ye] += 1, O[ve] += 1;
215
+ const E = a - s, J = m - n, N = E / i, w = J / i, T = Array(i).fill(0), F = Array(i).fill(0);
216
+ t.forEach(({ x: b, y: R }) => {
217
+ const ce = Math.floor((b - s) / N), de = Math.floor((R - n) / w);
218
+ T[ce] || (T[ce] = 0), F[de] || (F[de] = 0), T[ce] += 1, F[de] += 1;
217
219
  });
218
- const le = [], f = [];
220
+ const se = [], g = [];
219
221
  for (let b = 0; b < i; b += 1)
220
- le.push(s + (b + 0.5) * N), f.push(n + (b + 0.5) * _);
221
- const E = Math.max(...L), ne = Math.max(...O);
222
- return { x: L, y: O, avgX: le, avgY: f, maxX: E, maxY: ne };
222
+ se.push(s + (b + 0.5) * N), g.push(n + (b + 0.5) * w);
223
+ const G = Math.max(...T), ye = Math.max(...F);
224
+ return { x: T, y: F, avgX: se, avgY: g, maxX: G, maxY: ye };
223
225
  }
224
- const D = k(() => e.value.style.layout.marginalBars.tranches), A = k(() => Ae(re.value, D.value)), Re = k(() => {
226
+ const D = k(() => e.value.style.layout.marginalBars.tranches), L = k(() => Be(ie.value, D.value)), He = k(() => {
225
227
  const l = u.value.top - e.value.style.layout.marginalBars.offset, i = u.value.right + e.value.style.layout.marginalBars.offset;
226
- return re.value.map((t) => {
227
- const s = Ae(t, D.value);
228
+ return ie.value.map((t) => {
229
+ const s = Be(t, D.value);
228
230
  return {
229
231
  coords: s,
230
- dX: ut(s.avgX.map((a, n) => ({
232
+ dX: nt(s.avgX.map((a, n) => ({
231
233
  x: a,
232
234
  y: l - s.x[n] / s.maxX * e.value.style.layout.marginalBars.size
233
235
  }))),
234
- dY: rt(s.avgY.map((a, n) => ({
236
+ dY: vt(s.avgY.map((a, n) => ({
235
237
  y: a,
236
238
  x: i + e.value.style.layout.marginalBars.size * s.y[n] / s.maxY
237
239
  }))),
@@ -239,28 +241,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
239
241
  id: t.id
240
242
  };
241
243
  });
242
- }), B = g(void 0), v = g(null), ie = g(null);
243
- function Le(l, i) {
244
- B.value = l.id, v.value = l;
244
+ }), B = h(void 0), y = h(null), ne = h(null);
245
+ function Ne(l, i) {
246
+ B.value = l.id, y.value = l;
245
247
  let t = "";
246
- ie.value = {
248
+ ne.value = {
247
249
  datapoint: l,
248
250
  seriesIndex: i,
249
251
  series: S.value,
250
252
  config: e.value
251
253
  };
252
254
  const s = e.value.style.tooltip.customFormat;
253
- yt(s) && vt(() => s({
255
+ dt(s) && ht(() => s({
254
256
  datapoint: l,
255
257
  seriesIndex: i,
256
258
  series: S.value,
257
259
  config: e.value
258
- })) ? ue.value = s({
260
+ })) ? re.value = s({
259
261
  datapoint: l,
260
262
  seriesIndex: i,
261
263
  series: S.value,
262
264
  config: e.value
263
- }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : Y(
265
+ }) : (l.clusterName && (t += `<div style="display:flex;gap:3px;align-items:center">${l.clusterName}</div>`), l.v.name && (t += `<div>${l.v.name}</div>`), t += `<div style="text-align:left;margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, t += `<div>${e.value.style.layout.dataLabels.xAxis.name}: <b>${isNaN(l.v.x) ? "-" : j(
264
266
  e.value.style.layout.plots.selectors.labels.x.formatter,
265
267
  l.v.x,
266
268
  W({
@@ -270,7 +272,7 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
270
272
  r: e.value.style.tooltip.roundingValue
271
273
  }),
272
274
  { datapoint: l, seriesIndex: i }
273
- )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : Y(
275
+ )}</b></div>`, t += `<div>${e.value.style.layout.dataLabels.yAxis.name}: <b>${isNaN(l.v.y) ? "-" : j(
274
276
  e.value.style.layout.plots.selectors.labels.y.formatter,
275
277
  l.v.y,
276
278
  W({
@@ -283,28 +285,28 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
283
285
  )}</b></div>`, t += `${e.value.style.layout.plots.deviation.translation}: <b>${W({
284
286
  v: l.deviation,
285
287
  r: e.value.style.layout.plots.deviation.roundingValue
286
- })}</b>`, t += "</div>", ue.value = `<div>${t}</div>`), se.value = !0;
288
+ })}</b>`, t += "</div>", re.value = `<div>${t}</div>`), ue.value = !0;
287
289
  }
288
- function Te() {
289
- se.value = !1, B.value = void 0, v.value = null;
290
+ function Pe() {
291
+ ue.value = !1, B.value = void 0, y.value = null;
290
292
  }
291
- const x = g([]);
292
- function Be(l) {
293
- x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < F.dataset.length - 1 && x.value.push(l);
293
+ const x = h([]);
294
+ function We(l) {
295
+ x.value.includes(l) ? x.value = x.value.filter((i) => i !== l) : x.value.length < O.dataset.length - 1 && x.value.push(l);
294
296
  }
295
- function Ne() {
296
- Ze(() => {
297
+ function Oe() {
298
+ lt(() => {
297
299
  const l = ["", e.value.table.translations.correlationCoefficient, e.value.table.translations.nbrPlots, `${e.value.style.layout.dataLabels.xAxis.name} ${e.value.table.translations.average}`, `${e.value.style.layout.dataLabels.yAxis.name} ${e.value.table.translations.average}`], i = S.value.map((a) => [
298
300
  a.name,
299
301
  a.correlation.coefficient,
300
302
  a.plots.length,
301
303
  a.plots.map((n) => n.v.x).reduce((n, m) => n + m, 0) / a.plots.length,
302
304
  a.plots.map((n) => n.v.y).reduce((n, m) => n + m, 0) / a.plots.length
303
- ]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s = ct(t);
304
- dt({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
305
+ ]), t = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(i), s = pt(t);
306
+ ft({ csvContent: s, title: e.value.style.title.text || "vue-ui-heatmap" });
305
307
  });
306
308
  }
307
- const te = k(() => {
309
+ const ae = k(() => {
308
310
  const l = [
309
311
  e.value.table.translations.series,
310
312
  e.value.table.translations.correlationCoefficient,
@@ -335,38 +337,51 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
335
337
  breakpoint: e.value.table.responsiveBreakpoint
336
338
  };
337
339
  return { head: l, body: i, config: t, colNames: l };
338
- }), K = g(!1);
339
- function qe(l) {
340
- K.value = l, pe.value += 1;
340
+ }), K = h(!1);
341
+ function Je(l) {
342
+ K.value = l, ge.value += 1;
341
343
  }
342
- function Pe() {
344
+ function Fe() {
343
345
  I.value.showTable = !I.value.showTable;
344
346
  }
345
- function We() {
347
+ function Xe() {
346
348
  I.value.showTooltip = !I.value.showTooltip;
347
349
  }
348
- return Ye({
349
- getData: Ge,
350
- generatePdf: $e,
351
- generateCsv: Ne,
352
- generateImage: Ce,
353
- toggleTable: Pe,
354
- toggleTooltip: We
350
+ const oe = h(!1);
351
+ function ve() {
352
+ oe.value = !oe.value;
353
+ }
354
+ return Ee({
355
+ getData: Ue,
356
+ generatePdf: Ae,
357
+ generateCsv: Oe,
358
+ generateImage: Se,
359
+ toggleTable: Fe,
360
+ toggleTooltip: Xe,
361
+ toggleAnnotator: ve
355
362
  }), (l, i) => (o(), r("div", {
356
- class: Fe(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
363
+ class: Ie(`vue-ui-scatter ${K.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
357
364
  ref_key: "scatterChart",
358
- ref: J,
359
- id: `vue-ui-scatter_${C.value}`,
360
- style: R(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
365
+ ref: H,
366
+ id: `vue-ui-scatter_${z.value}`,
367
+ style: q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor};${e.value.responsive ? "height: 100%" : ""}`)
361
368
  }, [
362
- e.value.style.title.text ? (o(), r("div", {
369
+ e.value.userOptions.buttons.annotator ? (o(), Y(At, {
363
370
  key: 0,
371
+ parent: H.value,
372
+ backgroundColor: e.value.style.backgroundColor,
373
+ color: e.value.style.color,
374
+ active: oe.value,
375
+ onClose: ve
376
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
377
+ e.value.style.title.text ? (o(), r("div", {
378
+ key: 1,
364
379
  ref_key: "chartTitle",
365
- ref: fe,
380
+ ref: xe,
366
381
  style: "width:100%;background:transparent"
367
382
  }, [
368
- (o(), q(ft, {
369
- key: `title_${xe.value}`,
383
+ (o(), Y(mt, {
384
+ key: `title_${ke.value}`,
370
385
  config: {
371
386
  title: {
372
387
  cy: "scatter-div-title",
@@ -378,16 +393,16 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
378
393
  }
379
394
  }
380
395
  }, null, 8, ["config"]))
381
- ], 512)) : d("", !0),
382
- e.value.userOptions.show && Q.value ? (o(), q(xt, {
396
+ ], 512)) : c("", !0),
397
+ e.value.userOptions.show && ee.value ? (o(), Y(kt, {
383
398
  ref_key: "details",
384
- ref: Ve,
385
- key: `user_options_${pe.value}`,
399
+ ref: Re,
400
+ key: `user_options_${ge.value}`,
386
401
  backgroundColor: e.value.style.backgroundColor,
387
402
  color: e.value.style.color,
388
- isImaging: y(Me),
389
- isPrinting: y(we),
390
- uid: C.value,
403
+ isImaging: v(ze),
404
+ isPrinting: v(Ce),
405
+ uid: z.value,
391
406
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
392
407
  hasPdf: e.value.userOptions.buttons.pdf,
393
408
  hasImg: e.value.userOptions.buttons.img,
@@ -397,193 +412,203 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
397
412
  isTooltip: I.value.showTooltip,
398
413
  isFullscreen: K.value,
399
414
  titles: { ...e.value.userOptions.buttonTitles },
400
- chartElement: J.value,
415
+ chartElement: H.value,
401
416
  position: e.value.userOptions.position,
402
- onToggleFullscreen: qe,
403
- onGeneratePdf: y($e),
404
- onGenerateCsv: Ne,
405
- onGenerateImage: y(Ce),
406
- onToggleTable: Pe,
407
- onToggleTooltip: We
408
- }, Ke({ _: 2 }, [
417
+ hasAnnotator: e.value.userOptions.buttons.annotator,
418
+ isAnnotation: oe.value,
419
+ onToggleFullscreen: Je,
420
+ onGeneratePdf: v(Ae),
421
+ onGenerateCsv: Oe,
422
+ onGenerateImage: v(Se),
423
+ onToggleTable: Fe,
424
+ onToggleTooltip: Xe,
425
+ onToggleAnnotator: ve
426
+ }, et({ _: 2 }, [
409
427
  l.$slots.optionTooltip ? {
410
428
  name: "optionTooltip",
411
- fn: w(() => [
412
- T(l.$slots, "optionTooltip", {}, void 0, !0)
429
+ fn: _(() => [
430
+ $(l.$slots, "optionTooltip", {}, void 0, !0)
413
431
  ]),
414
432
  key: "0"
415
433
  } : void 0,
416
434
  l.$slots.optionPdf ? {
417
435
  name: "optionPdf",
418
- fn: w(() => [
419
- T(l.$slots, "optionPdf", {}, void 0, !0)
436
+ fn: _(() => [
437
+ $(l.$slots, "optionPdf", {}, void 0, !0)
420
438
  ]),
421
439
  key: "1"
422
440
  } : void 0,
423
441
  l.$slots.optionCsv ? {
424
442
  name: "optionCsv",
425
- fn: w(() => [
426
- T(l.$slots, "optionCsv", {}, void 0, !0)
443
+ fn: _(() => [
444
+ $(l.$slots, "optionCsv", {}, void 0, !0)
427
445
  ]),
428
446
  key: "2"
429
447
  } : void 0,
430
448
  l.$slots.optionImg ? {
431
449
  name: "optionImg",
432
- fn: w(() => [
433
- T(l.$slots, "optionImg", {}, void 0, !0)
450
+ fn: _(() => [
451
+ $(l.$slots, "optionImg", {}, void 0, !0)
434
452
  ]),
435
453
  key: "3"
436
454
  } : void 0,
437
455
  l.$slots.optionTable ? {
438
456
  name: "optionTable",
439
- fn: w(() => [
440
- T(l.$slots, "optionTable", {}, void 0, !0)
457
+ fn: _(() => [
458
+ $(l.$slots, "optionTable", {}, void 0, !0)
441
459
  ]),
442
460
  key: "4"
443
461
  } : void 0,
444
462
  l.$slots.optionFullscreen ? {
445
463
  name: "optionFullscreen",
446
- fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
447
- T(l.$slots, "optionFullscreen", ae(oe({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
464
+ fn: _(({ toggleFullscreen: t, isFullscreen: s }) => [
465
+ $(l.$slots, "optionFullscreen", Q(Z({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
448
466
  ]),
449
467
  key: "5"
468
+ } : void 0,
469
+ l.$slots.optionAnnotator ? {
470
+ name: "optionAnnotator",
471
+ fn: _(({ toggleAnnotator: t, isAnnotator: s }) => [
472
+ $(l.$slots, "optionAnnotator", Q(Z({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
473
+ ]),
474
+ key: "6"
450
475
  } : void 0
451
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
452
- Q.value ? (o(), r("svg", {
453
- key: 2,
454
- xmlns: y(it),
455
- class: Fe({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
456
- viewBox: `0 0 ${z.value.width <= 0 ? 10 : z.value.width} ${z.value.height <= 0 ? 10 : z.value.height}`,
457
- style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
476
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
477
+ ee.value ? (o(), r("svg", {
478
+ key: 3,
479
+ xmlns: v(yt),
480
+ class: Ie({ "vue-data-ui-fullscreen--on": K.value, "vue-data-ui-fulscreen--off": !K.value }),
481
+ viewBox: `0 0 ${A.value.width <= 0 ? 10 : A.value.width} ${A.value.height <= 0 ? 10 : A.value.height}`,
482
+ style: q(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
458
483
  }, [
459
- ce(Mt),
460
- e.value.style.layout.axis.show ? (o(), r("g", St, [
461
- c("line", {
462
- x1: p.value.x,
463
- x2: p.value.x,
484
+ he(zt),
485
+ e.value.style.layout.axis.show ? (o(), r("g", Bt, [
486
+ d("line", {
487
+ x1: f.value.x,
488
+ x2: f.value.x,
464
489
  y1: u.value.top,
465
490
  y2: u.value.bottom,
466
491
  stroke: e.value.style.layout.axis.stroke,
467
492
  "stroke-width": e.value.style.layout.axis.strokeWidth,
468
493
  "stroke-linecap": "round"
469
- }, null, 8, At),
470
- c("line", {
494
+ }, null, 8, Nt),
495
+ d("line", {
471
496
  x1: u.value.left,
472
497
  x2: u.value.right,
473
- y1: p.value.y,
474
- y2: p.value.y,
498
+ y1: f.value.y,
499
+ y2: f.value.y,
475
500
  stroke: e.value.style.layout.axis.stroke,
476
501
  "stroke-width": e.value.style.layout.axis.strokeWidth,
477
502
  "stroke-linecap": "round"
478
- }, null, 8, Lt)
479
- ])) : d("", !0),
480
- e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Tt, [
503
+ }, null, 8, Pt)
504
+ ])) : c("", !0),
505
+ e.value.style.layout.plots.giftWrap.show ? (o(), r("g", Wt, [
481
506
  (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
482
507
  t.plots.length > 2 ? (o(), r("polygon", {
483
508
  key: 0,
484
- points: y(nt)({ series: t.plots }),
485
- fill: y(he)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
509
+ points: v(ct)({ series: t.plots }),
510
+ fill: v(fe)(t.color, e.value.style.layout.plots.giftWrap.fillOpacity * 100),
486
511
  "stroke-width": e.value.style.layout.plots.giftWrap.strokeWidth,
487
512
  "stroke-dasharray": e.value.style.layout.plots.giftWrap.strokeDasharray,
488
513
  stroke: t.color,
489
514
  "stroke-linejoin": "round",
490
515
  "stroke-linecap": "round"
491
- }, null, 8, Bt)) : d("", !0)
516
+ }, null, 8, Ot)) : c("", !0)
492
517
  ]))), 256))
493
- ])) : d("", !0),
518
+ ])) : c("", !0),
494
519
  (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
495
- !t.shape || t.shape === "circle" ? (o(), r("g", Nt, [
520
+ !t.shape || t.shape === "circle" ? (o(), r("g", Ft, [
496
521
  (o(!0), r(P, null, X(t.plots, (a, n) => (o(), r("circle", {
497
522
  cx: a.x,
498
523
  cy: a.y,
499
524
  r: B.value && B.value === a.id ? a.weight * 2 : a.weight,
500
- fill: y(he)(t.color, e.value.style.layout.plots.opacity * 100),
525
+ fill: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
501
526
  stroke: e.value.style.layout.plots.stroke,
502
527
  "stroke-width": e.value.style.layout.plots.strokeWidth,
503
- onMouseover: (m) => Le(a, s),
504
- onMouseleave: Te,
505
- style: R(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Se.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
506
- }, null, 44, Pt))), 256))
507
- ])) : (o(), r("g", Wt, [
508
- (o(!0), r(P, null, X(t.plots, (a, n) => (o(), q(Xe, {
528
+ onMouseover: (m) => Ne(a, s),
529
+ onMouseleave: Pe,
530
+ style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Te.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
531
+ }, null, 44, Xt))), 256))
532
+ ])) : (o(), r("g", It, [
533
+ (o(!0), r(P, null, X(t.plots, (a, n) => (o(), Y(Ye, {
509
534
  plot: { x: a.x, y: a.y },
510
535
  radius: B.value && B.value === a.id ? a.weight * 2 : a.weight,
511
536
  shape: t.shape,
512
- color: y(he)(t.color, e.value.style.layout.plots.opacity * 100),
537
+ color: v(fe)(t.color, e.value.style.layout.plots.opacity * 100),
513
538
  stroke: e.value.style.layout.plots.stroke,
514
539
  strokeWidth: e.value.style.layout.plots.strokeWidth,
515
- onMouseover: (m) => Le(a, s),
516
- onMouseleave: Te,
517
- style: R(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Se.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
540
+ onMouseover: (m) => Ne(a, s),
541
+ onMouseleave: Pe,
542
+ style: q(`opacity:${B.value && B.value === a.id ? 1 : e.value.style.layout.plots.significance.useDistanceOpacity ? 1 - Math.abs(a.deviation) / Te.value : e.value.style.layout.plots.significance.show && Math.abs(a.deviation) > e.value.style.layout.plots.significance.deviationThreshold ? e.value.style.layout.plots.significance.opacity : 1}`)
518
543
  }, null, 8, ["plot", "radius", "shape", "color", "stroke", "strokeWidth", "onMouseover", "style"]))), 256))
519
544
  ]))
520
545
  ]))), 256)),
521
- e.value.style.layout.marginalBars.show ? (o(), r("g", Ft, [
522
- c("defs", null, [
523
- c("linearGradient", {
524
- id: `marginal_x_${C.value}`,
546
+ e.value.style.layout.marginalBars.show ? (o(), r("g", Dt, [
547
+ d("defs", null, [
548
+ d("linearGradient", {
549
+ id: `marginal_x_${z.value}`,
525
550
  x1: "0%",
526
551
  y1: "0%",
527
552
  x2: "0%",
528
553
  y2: "100%"
529
554
  }, [
530
- c("stop", {
555
+ d("stop", {
531
556
  offset: "0%",
532
557
  "stop-color": e.value.style.layout.marginalBars.fill
533
- }, null, 8, Xt),
534
- c("stop", {
558
+ }, null, 8, jt),
559
+ d("stop", {
535
560
  offset: "100%",
536
561
  "stop-color": e.value.style.backgroundColor
537
- }, null, 8, It)
538
- ], 8, Ot),
539
- c("linearGradient", {
540
- id: `marginal_y_${C.value}`,
562
+ }, null, 8, Vt)
563
+ ], 8, Yt),
564
+ d("linearGradient", {
565
+ id: `marginal_y_${z.value}`,
541
566
  x1: "0%",
542
567
  x2: "100%",
543
568
  y1: "0%",
544
569
  y2: "0%"
545
570
  }, [
546
- c("stop", {
571
+ d("stop", {
547
572
  offset: "0%",
548
573
  "stop-color": e.value.style.backgroundColor
549
- }, null, 8, Yt),
550
- c("stop", {
574
+ }, null, 8, Gt),
575
+ d("stop", {
551
576
  offset: "100%",
552
577
  "stop-color": e.value.style.layout.marginalBars.fill
553
- }, null, 8, jt)
554
- ], 8, Dt)
578
+ }, null, 8, Rt)
579
+ ], 8, Et)
555
580
  ]),
556
- (o(!0), r(P, null, X(A.value.x, (t, s) => (o(), r("g", null, [
557
- t && A.value.avgX[s] ? (o(), r("rect", {
581
+ (o(!0), r(P, null, X(L.value.x, (t, s) => (o(), r("g", null, [
582
+ t && L.value.avgX[s] ? (o(), r("rect", {
558
583
  key: 0,
559
- x: A.value.avgX[s] - u.value.width / D.value / 2,
560
- y: u.value.top - e.value.style.layout.marginalBars.offset - t / A.value.maxX * e.value.style.layout.marginalBars.size,
584
+ x: L.value.avgX[s] - u.value.width / D.value / 2,
585
+ y: u.value.top - e.value.style.layout.marginalBars.offset - t / L.value.maxX * e.value.style.layout.marginalBars.size,
561
586
  width: u.value.width / D.value <= 0 ? 1e-4 : u.value.width / D.value,
562
- height: t / A.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxX * e.value.style.layout.marginalBars.size,
563
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${C.value})` : e.value.style.layout.marginalBars.fill,
564
- style: R(`opacity:${e.value.style.layout.marginalBars.opacity}`),
587
+ height: t / L.value.maxX * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxX * e.value.style.layout.marginalBars.size,
588
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_x_${z.value})` : e.value.style.layout.marginalBars.fill,
589
+ style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
565
590
  stroke: e.value.style.backgroundColor,
566
591
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
567
592
  rx: e.value.style.layout.marginalBars.borderRadius
568
- }, null, 12, Vt)) : d("", !0)
593
+ }, null, 12, qt)) : c("", !0)
569
594
  ]))), 256)),
570
- (o(!0), r(P, null, X(A.value.y, (t, s) => (o(), r("g", null, [
571
- t && A.value.avgY[s] ? (o(), r("rect", {
595
+ (o(!0), r(P, null, X(L.value.y, (t, s) => (o(), r("g", null, [
596
+ t && L.value.avgY[s] ? (o(), r("rect", {
572
597
  key: 0,
573
598
  x: u.value.right + e.value.style.layout.marginalBars.offset,
574
- y: A.value.avgY[s] - u.value.height / D.value / 2,
599
+ y: L.value.avgY[s] - u.value.height / D.value / 2,
575
600
  height: u.value.height / D.value <= 0 ? 1e-4 : u.value.height / D.value,
576
- width: t / A.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / A.value.maxY * e.value.style.layout.marginalBars.size,
577
- fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${C.value})` : e.value.style.layout.marginalBars.fill,
578
- style: R(`opacity:${e.value.style.layout.marginalBars.opacity}`),
601
+ width: t / L.value.maxY * e.value.style.layout.marginalBars.size <= 0 ? 1e-4 : t / L.value.maxY * e.value.style.layout.marginalBars.size,
602
+ fill: e.value.style.layout.marginalBars.useGradient ? `url(#marginal_y_${z.value})` : e.value.style.layout.marginalBars.fill,
603
+ style: q(`opacity:${e.value.style.layout.marginalBars.opacity}`),
579
604
  stroke: e.value.style.backgroundColor,
580
605
  "stroke-width": e.value.style.layout.marginalBars.strokeWidth,
581
606
  rx: e.value.style.layout.marginalBars.borderRadius
582
- }, null, 12, Et)) : d("", !0)
607
+ }, null, 12, Ut)) : c("", !0)
583
608
  ]))), 256)),
584
- e.value.style.layout.marginalBars.showLines ? (o(), r("g", Gt, [
585
- (o(!0), r(P, null, X(Re.value, (t) => (o(), r(P, null, [
586
- x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
609
+ e.value.style.layout.marginalBars.showLines ? (o(), r("g", Ht, [
610
+ (o(!0), r(P, null, X(He.value, (t) => (o(), r(P, null, [
611
+ x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
587
612
  key: 0,
588
613
  d: `M ${t.dX}`,
589
614
  stroke: e.value.style.backgroundColor,
@@ -591,8 +616,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
591
616
  "stroke-linecap": "round",
592
617
  "stroke-linejoin": "round",
593
618
  fill: "none"
594
- }, null, 8, Rt)),
595
- x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
619
+ }, null, 8, Jt)),
620
+ x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
596
621
  key: 1,
597
622
  d: `M ${t.dX}`,
598
623
  stroke: t.color,
@@ -600,8 +625,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
600
625
  "stroke-linecap": "round",
601
626
  "stroke-linejoin": "round",
602
627
  fill: "none"
603
- }, null, 8, qt)),
604
- x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
628
+ }, null, 8, Kt)),
629
+ x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
605
630
  key: 2,
606
631
  d: `M ${t.dY}`,
607
632
  stroke: e.value.style.backgroundColor,
@@ -609,8 +634,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
609
634
  "stroke-linecap": "round",
610
635
  "stroke-linejoin": "round",
611
636
  fill: "none"
612
- }, null, 8, Ut)),
613
- x.value.includes(t.id) ? d("", !0) : (o(), r("path", {
637
+ }, null, 8, Qt)),
638
+ x.value.includes(t.id) ? c("", !0) : (o(), r("path", {
614
639
  key: 3,
615
640
  d: `M ${t.dY}`,
616
641
  stroke: t.color,
@@ -618,192 +643,192 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
618
643
  "stroke-linecap": "round",
619
644
  "stroke-linejoin": "round",
620
645
  fill: "none"
621
- }, null, 8, Ht))
646
+ }, null, 8, Zt))
622
647
  ], 64))), 256))
623
- ])) : d("", !0)
624
- ])) : d("", !0),
625
- v.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", Jt, [
626
- c("line", {
627
- x1: p.value.x,
628
- x2: v.value.x,
629
- y1: v.value.y,
630
- y2: v.value.y,
648
+ ])) : c("", !0)
649
+ ])) : c("", !0),
650
+ y.value && e.value.style.layout.plots.selectors.show ? (o(), r("g", el, [
651
+ d("line", {
652
+ x1: f.value.x,
653
+ x2: y.value.x,
654
+ y1: y.value.y,
655
+ y2: y.value.y,
631
656
  stroke: e.value.style.layout.plots.selectors.stroke,
632
657
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
633
658
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
634
659
  "stroke-linecap": "round",
635
660
  class: "line-pointer"
636
- }, null, 8, Kt),
637
- c("line", {
638
- x1: v.value.x,
639
- x2: v.value.x,
640
- y1: p.value.y,
641
- y2: v.value.y,
661
+ }, null, 8, tl),
662
+ d("line", {
663
+ x1: y.value.x,
664
+ x2: y.value.x,
665
+ y1: f.value.y,
666
+ y2: y.value.y,
642
667
  stroke: e.value.style.layout.plots.selectors.stroke,
643
668
  "stroke-width": e.value.style.layout.plots.selectors.strokeWidth,
644
669
  "stroke-dasharray": e.value.style.layout.plots.selectors.strokeDasharray,
645
670
  "stroke-linecap": "round",
646
671
  class: "line-pointer"
647
- }, null, 8, Qt),
648
- c("text", {
649
- x: p.value.x + (v.value.x > p.value.x ? -6 : 6),
650
- y: v.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
672
+ }, null, 8, ll),
673
+ d("text", {
674
+ x: f.value.x + (y.value.x > f.value.x ? -6 : 6),
675
+ y: y.value.y + e.value.style.layout.plots.selectors.labels.fontSize / 3,
651
676
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
652
677
  fill: e.value.style.layout.plots.selectors.labels.color,
653
678
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
654
- "text-anchor": v.value.x > p.value.x ? "end" : "start"
655
- }, M(y(Y)(
679
+ "text-anchor": y.value.x > f.value.x ? "end" : "start"
680
+ }, M(v(j)(
656
681
  e.value.style.layout.plots.selectors.labels.y.formatter,
657
- y($)(v.value.v.y),
658
- y(W)({
682
+ v(C)(y.value.v.y),
683
+ v(W)({
659
684
  p: e.value.style.layout.plots.selectors.labels.prefix,
660
- v: y($)(v.value.v.y),
685
+ v: v(C)(y.value.v.y),
661
686
  s: e.value.style.layout.plots.selectors.labels.suffix,
662
687
  r: e.value.style.layout.plots.selectors.labels.rounding
663
688
  }),
664
- { datapoint: v.value }
665
- )), 9, Zt),
666
- c("text", {
667
- x: v.value.x,
668
- y: p.value.y + (v.value.y > p.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
689
+ { datapoint: y.value }
690
+ )), 9, al),
691
+ d("text", {
692
+ x: y.value.x,
693
+ y: f.value.y + (y.value.y > f.value.y ? -6 : e.value.style.layout.plots.selectors.labels.fontSize + 6),
669
694
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
670
695
  fill: e.value.style.layout.plots.selectors.labels.color,
671
696
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
672
697
  "text-anchor": "middle"
673
- }, M(y(Y)(
698
+ }, M(v(j)(
674
699
  e.value.style.layout.plots.selectors.labels.y.formatter,
675
- y($)(v.value.v.x),
676
- y(W)({
700
+ v(C)(y.value.v.x),
701
+ v(W)({
677
702
  p: e.value.style.layout.plots.selectors.labels.prefix,
678
- v: y($)(v.value.v.x),
703
+ v: v(C)(y.value.v.x),
679
704
  s: e.value.style.layout.plots.selectors.labels.suffix,
680
705
  r: e.value.style.layout.plots.selectors.labels.rounding
681
706
  }),
682
- { datapoint: v.value }
683
- )), 9, el),
684
- c("circle", {
685
- cx: p.value.x,
686
- cy: v.value.y,
707
+ { datapoint: y.value }
708
+ )), 9, ol),
709
+ d("circle", {
710
+ cx: f.value.x,
711
+ cy: y.value.y,
687
712
  r: e.value.style.layout.plots.selectors.markers.radius,
688
713
  fill: e.value.style.layout.plots.selectors.markers.fill,
689
714
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
690
715
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
691
716
  class: "line-pointer"
692
- }, null, 8, tl),
693
- c("circle", {
694
- cx: v.value.x,
695
- cy: p.value.y,
717
+ }, null, 8, sl),
718
+ d("circle", {
719
+ cx: y.value.x,
720
+ cy: f.value.y,
696
721
  r: e.value.style.layout.plots.selectors.markers.radius,
697
722
  fill: e.value.style.layout.plots.selectors.markers.fill,
698
723
  stroke: e.value.style.layout.plots.selectors.markers.stroke,
699
724
  "stroke-width": e.value.style.layout.plots.selectors.markers.strokeWidth,
700
725
  class: "line-pointer"
701
- }, null, 8, ll),
726
+ }, null, 8, ul),
702
727
  e.value.style.layout.plots.selectors.labels.showName ? (o(), r("text", {
703
728
  key: 0,
704
- x: v.value.x,
705
- y: v.value.y + (v.value.y < p.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
729
+ x: y.value.x,
730
+ y: y.value.y + (y.value.y < f.value.y ? -e.value.style.layout.plots.selectors.labels.fontSize / 2 : e.value.style.layout.plots.selectors.labels.fontSize),
706
731
  "font-size": e.value.style.layout.plots.selectors.labels.fontSize,
707
732
  fill: e.value.style.layout.plots.selectors.labels.color,
708
733
  "font-weight": e.value.style.layout.plots.selectors.labels.bold ? "bold" : "normal",
709
- "text-anchor": v.value.x < u.value.left + 100 ? "start" : v.value.x > u.value.right - 100 ? "end" : v.value.x > p.value.x ? "start" : "end"
710
- }, M(v.value.v.name), 9, al)) : d("", !0)
711
- ])) : d("", !0),
712
- e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", ol, [
713
- c("text", {
734
+ "text-anchor": y.value.x < u.value.left + 100 ? "start" : y.value.x > u.value.right - 100 ? "end" : y.value.x > f.value.x ? "start" : "end"
735
+ }, M(y.value.v.name), 9, rl)) : c("", !0)
736
+ ])) : c("", !0),
737
+ e.value.style.layout.dataLabels.xAxis.show ? (o(), r("g", il, [
738
+ d("text", {
714
739
  x: u.value.left - 5,
715
- y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
740
+ y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
716
741
  "text-anchor": "end",
717
742
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
718
743
  fill: e.value.style.layout.dataLabels.xAxis.color
719
- }, M(y(Y)(
744
+ }, M(v(j)(
720
745
  e.value.style.layout.plots.selectors.labels.x.formatter,
721
- y($)(h.value.xMin),
722
- y(W)({
746
+ v(C)(p.value.xMin),
747
+ v(W)({
723
748
  p: e.value.style.layout.plots.selectors.labels.prefix,
724
- v: y($)(h.value.xMin),
749
+ v: v(C)(p.value.xMin),
725
750
  s: e.value.style.layout.plots.selectors.labels.suffix,
726
751
  r: e.value.style.layout.dataLabels.xAxis.rounding
727
752
  })
728
- )), 9, sl),
729
- c("text", {
753
+ )), 9, nl),
754
+ d("text", {
730
755
  x: u.value.right + 3,
731
- y: p.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
756
+ y: f.value.y + e.value.style.layout.dataLabels.xAxis.fontSize / 3,
732
757
  "text-anchor": "start",
733
758
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
734
759
  fill: e.value.style.layout.dataLabels.xAxis.color
735
- }, M(y(Y)(
760
+ }, M(v(j)(
736
761
  e.value.style.layout.plots.selectors.labels.x.formatter,
737
- y($)(h.value.xMax),
738
- y(W)({
762
+ v(C)(p.value.xMax),
763
+ v(W)({
739
764
  p: e.value.style.layout.plots.selectors.labels.prefix,
740
- v: y($)(h.value.xMax),
765
+ v: v(C)(p.value.xMax),
741
766
  s: e.value.style.layout.plots.selectors.labels.suffix,
742
767
  r: e.value.style.layout.dataLabels.xAxis.rounding
743
768
  })
744
- )), 9, ul),
745
- c("text", {
746
- id: `vue-ui-scatter-xAxis-label-${C.value}`,
769
+ )), 9, vl),
770
+ d("text", {
771
+ id: `vue-ui-scatter-xAxis-label-${z.value}`,
747
772
  transform: `translate(${e.value.style.layout.dataLabels.xAxis.fontSize * 2}, ${u.value.top + u.value.height / 2}), rotate(-90)`,
748
773
  "text-anchor": "middle",
749
774
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
750
775
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
751
776
  fill: e.value.style.layout.dataLabels.xAxis.color
752
- }, M(e.value.style.layout.dataLabels.xAxis.name), 9, rl)
753
- ])) : d("", !0),
754
- e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", il, [
755
- c("text", {
756
- x: p.value.x,
777
+ }, M(e.value.style.layout.dataLabels.xAxis.name), 9, yl)
778
+ ])) : c("", !0),
779
+ e.value.style.layout.dataLabels.yAxis.show ? (o(), r("g", cl, [
780
+ d("text", {
781
+ x: f.value.x,
757
782
  y: u.value.bottom + e.value.style.layout.dataLabels.yAxis.fontSize + 3,
758
783
  "text-anchor": "middle",
759
784
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
760
785
  fill: e.value.style.layout.dataLabels.yAxis.color
761
- }, M(y(Y)(
786
+ }, M(v(j)(
762
787
  e.value.style.layout.plots.selectors.labels.y.formatter,
763
- y($)(h.value.yMin),
764
- y(W)({
788
+ v(C)(p.value.yMin),
789
+ v(W)({
765
790
  p: e.value.style.layout.plots.selectors.labels.prefix,
766
- v: y($)(h.value.yMin),
791
+ v: v(C)(p.value.yMin),
767
792
  s: e.value.style.layout.plots.selectors.labels.suffix,
768
793
  r: e.value.style.layout.dataLabels.yAxis.rounding
769
794
  })
770
- )), 9, nl),
771
- c("text", {
772
- x: p.value.x,
795
+ )), 9, dl),
796
+ d("text", {
797
+ x: f.value.x,
773
798
  y: u.value.top - e.value.style.layout.dataLabels.yAxis.fontSize / 2,
774
799
  "text-anchor": "middle",
775
800
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
776
801
  fill: e.value.style.layout.dataLabels.yAxis.color
777
- }, M(y(Y)(
802
+ }, M(v(j)(
778
803
  e.value.style.layout.plots.selectors.labels.y.formatter,
779
- y($)(h.value.yMax),
780
- y(W)({
804
+ v(C)(p.value.yMax),
805
+ v(W)({
781
806
  p: e.value.style.layout.plots.selectors.labels.prefix,
782
- v: y($)(h.value.yMax),
807
+ v: v(C)(p.value.yMax),
783
808
  s: e.value.style.layout.plots.selectors.labels.suffix,
784
809
  r: e.value.style.layout.dataLabels.yAxis.rounding
785
810
  })
786
- )), 9, yl),
787
- c("text", {
811
+ )), 9, hl),
812
+ d("text", {
788
813
  "text-anchor": "middle",
789
814
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
790
815
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal",
791
816
  fill: e.value.style.layout.dataLabels.yAxis.color,
792
817
  x: u.value.left + u.value.width / 2,
793
818
  y: u.value.bottom + 8 + e.value.style.layout.dataLabels.yAxis.fontSize * 2
794
- }, M(e.value.style.layout.dataLabels.yAxis.name), 9, vl)
795
- ])) : d("", !0),
796
- c("clipPath", {
797
- id: `clip_path_${C.value}`
819
+ }, M(e.value.style.layout.dataLabels.yAxis.name), 9, pl)
820
+ ])) : c("", !0),
821
+ d("clipPath", {
822
+ id: `clip_path_${z.value}`
798
823
  }, [
799
- c("rect", {
824
+ d("rect", {
800
825
  x: u.value.left,
801
826
  y: u.value.top,
802
827
  width: u.value.width <= 0 ? 1e-4 : u.value.width,
803
828
  height: u.value.height <= 0 ? 1e-4 : u.value.height
804
- }, null, 8, dl)
805
- ], 8, cl),
806
- e.value.style.layout.correlation.show ? (o(), r("g", hl, [
829
+ }, null, 8, gl)
830
+ ], 8, fl),
831
+ e.value.style.layout.correlation.show ? (o(), r("g", xl, [
807
832
  (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("line", {
808
833
  x1: t.correlation.x1,
809
834
  x2: t.correlation.x2,
@@ -812,8 +837,8 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
812
837
  "stroke-dasharray": e.value.style.layout.correlation.strokeDasharray,
813
838
  stroke: t.color,
814
839
  "stroke-width": e.value.style.layout.correlation.strokeWidth,
815
- "clip-path": `url(#clip_path_${C.value})`
816
- }, null, 8, pl))), 256)),
840
+ "clip-path": `url(#clip_path_${z.value})`
841
+ }, null, 8, ml))), 256)),
817
842
  (o(!0), r(P, null, X(S.value, (t, s) => (o(), r("g", null, [
818
843
  e.value.style.layout.correlation.label.show ? (o(), r("text", {
819
844
  key: 0,
@@ -822,19 +847,19 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
822
847
  fill: e.value.style.layout.correlation.label.useSerieColor ? t.color : e.value.style.layout.correlation.label.color,
823
848
  "font-size": e.value.style.layout.correlation.label.fontSize,
824
849
  "font-weight": e.value.style.layout.correlation.label.bold ? "bold" : "normal"
825
- }, M(y(W)({
826
- v: y($)(t.correlation.coefficient),
850
+ }, M(v(W)({
851
+ v: v(C)(t.correlation.coefficient),
827
852
  r: e.value.style.layout.correlation.label.roundingValue
828
- })), 9, fl)) : d("", !0)
853
+ })), 9, bl)) : c("", !0)
829
854
  ]))), 256))
830
- ])) : d("", !0),
831
- T(l.$slots, "svg", { svg: z.value }, void 0, !0)
832
- ], 14, zt)) : d("", !0),
833
- l.$slots.watermark ? (o(), r("div", gl, [
834
- T(l.$slots, "watermark", ae(oe({ isPrinting: y(we) || y(Me) })), void 0, !0)
835
- ])) : d("", !0),
836
- Q.value ? d("", !0) : (o(), q(_t, {
837
- key: 4,
855
+ ])) : c("", !0),
856
+ $(l.$slots, "svg", { svg: A.value }, void 0, !0)
857
+ ], 14, Tt)) : c("", !0),
858
+ l.$slots.watermark ? (o(), r("div", kl, [
859
+ $(l.$slots, "watermark", Q(Z({ isPrinting: v(Ce) || v(ze) })), void 0, !0)
860
+ ])) : c("", !0),
861
+ ee.value ? c("", !0) : (o(), Y(Mt, {
862
+ key: 5,
838
863
  config: {
839
864
  type: "quadrant",
840
865
  style: {
@@ -851,30 +876,38 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
851
876
  }
852
877
  }
853
878
  }, null, 8, ["config"])),
854
- c("div", {
879
+ d("div", {
855
880
  ref_key: "chartLegend",
856
- ref: ge
881
+ ref: me
857
882
  }, [
858
- e.value.style.legend.show ? (o(), q(bt, {
859
- key: `legend_${be.value}`,
860
- legendSet: j.value,
861
- config: Ee.value,
862
- onClickMarker: i[0] || (i[0] = ({ legend: t }) => Be(t.id))
883
+ e.value.style.legend.show ? (o(), Y(wt, {
884
+ key: `legend_${we.value}`,
885
+ legendSet: V.value,
886
+ config: qe.value,
887
+ onClickMarker: i[0] || (i[0] = ({ legend: t }) => We(t.id))
863
888
  }, {
864
- item: w(({ legend: t }) => [
865
- c("div", {
889
+ item: _(({ legend: t }) => [
890
+ d("div", {
866
891
  onClick: (s) => t.segregate(),
867
- style: R(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
868
- }, M(t.name), 13, xl)
892
+ style: q(`opacity:${x.value.includes(t.id) ? 0.5 : 1}`)
893
+ }, M(t.name), 13, _l)
869
894
  ]),
870
895
  _: 1
871
- }, 8, ["legendSet", "config"])) : T(l.$slots, "legend", {
896
+ }, 8, ["legendSet", "config"])) : $(l.$slots, "legend", {
872
897
  key: 1,
873
- legend: j.value
898
+ legend: V.value
874
899
  }, void 0, !0)
875
900
  ], 512),
876
- ce(mt, {
877
- show: I.value.showTooltip && se.value,
901
+ l.$slots.source ? (o(), r("div", {
902
+ key: 6,
903
+ ref_key: "source",
904
+ ref: be,
905
+ dir: "auto"
906
+ }, [
907
+ $(l.$slots, "source", {}, void 0, !0)
908
+ ], 512)) : c("", !0),
909
+ he(_t, {
910
+ show: I.value.showTooltip && ue.value,
878
911
  backgroundColor: e.value.style.tooltip.backgroundColor,
879
912
  color: e.value.style.tooltip.color,
880
913
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -884,32 +917,32 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
884
917
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
885
918
  position: e.value.style.tooltip.position,
886
919
  offsetY: e.value.style.tooltip.offsetY,
887
- parent: J.value,
888
- content: ue.value,
920
+ parent: H.value,
921
+ content: re.value,
889
922
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
890
923
  }, {
891
- "tooltip-before": w(() => [
892
- T(l.$slots, "tooltip-before", ae(oe({ ...ie.value })), void 0, !0)
924
+ "tooltip-before": _(() => [
925
+ $(l.$slots, "tooltip-before", Q(Z({ ...ne.value })), void 0, !0)
893
926
  ]),
894
- "tooltip-after": w(() => [
895
- T(l.$slots, "tooltip-after", ae(oe({ ...ie.value })), void 0, !0)
927
+ "tooltip-after": _(() => [
928
+ $(l.$slots, "tooltip-after", Q(Z({ ...ne.value })), void 0, !0)
896
929
  ]),
897
- default: w(() => [
898
- e.value.style.tooltip.showShape ? (o(), r("div", ml, [
899
- (o(), r("svg", bl, [
900
- ce(Xe, {
901
- shape: v.value.shape,
902
- color: v.value.color,
930
+ default: _(() => [
931
+ e.value.style.tooltip.showShape ? (o(), r("div", wl, [
932
+ (o(), r("svg", $l, [
933
+ he(Ye, {
934
+ shape: y.value.shape,
935
+ color: y.value.color,
903
936
  plot: { x: 10, y: 10 },
904
937
  radius: 7
905
938
  }, null, 8, ["shape", "color"])
906
939
  ]))
907
- ])) : d("", !0)
940
+ ])) : c("", !0)
908
941
  ]),
909
942
  _: 3
910
943
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
911
- Q.value ? (o(), q(wt, {
912
- key: 5,
944
+ ee.value ? (o(), Y(Ct, {
945
+ key: 7,
913
946
  hideDetails: "",
914
947
  config: {
915
948
  open: I.value.showTable,
@@ -924,35 +957,35 @@ const Ct = ["id"], zt = ["xmlns", "viewBox"], St = { key: 0 }, At = ["x1", "x2",
924
957
  }
925
958
  }
926
959
  }, {
927
- content: w(() => [
928
- (o(), q(kt, {
929
- key: `table_${me.value}`,
930
- colNames: te.value.colNames,
931
- head: te.value.head,
932
- body: te.value.body,
933
- config: te.value.config,
960
+ content: _(() => [
961
+ (o(), Y($t, {
962
+ key: `table_${_e.value}`,
963
+ colNames: ae.value.colNames,
964
+ head: ae.value.head,
965
+ body: ae.value.body,
966
+ config: ae.value.config,
934
967
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
935
968
  onClose: i[1] || (i[1] = (t) => I.value.showTable = !1)
936
969
  }, {
937
- th: w(({ th: t }) => [
938
- Qe(M(t), 1)
970
+ th: _(({ th: t }) => [
971
+ tt(M(t), 1)
939
972
  ]),
940
- td: w(({ td: t }) => [
941
- t.shape ? (o(), r("div", kl, [
942
- c("span", null, M(t.content), 1)
973
+ td: _(({ td: t }) => [
974
+ t.shape ? (o(), r("div", Ml, [
975
+ d("span", null, M(t.content), 1)
943
976
  ])) : (o(), r("div", {
944
977
  key: 1,
945
978
  innerHTML: t
946
- }, null, 8, _l))
979
+ }, null, 8, Cl))
947
980
  ]),
948
981
  _: 1
949
982
  }, 8, ["colNames", "head", "body", "config", "title"]))
950
983
  ]),
951
984
  _: 1
952
- }, 8, ["config"])) : d("", !0)
953
- ], 14, Ct));
985
+ }, 8, ["config"])) : c("", !0)
986
+ ], 14, Lt));
954
987
  }
955
- }, Xl = /* @__PURE__ */ $t(wl, [["__scopeId", "data-v-a6514d5f"]]);
988
+ }, Vl = /* @__PURE__ */ St(zl, [["__scopeId", "data-v-8bf19e2f"]]);
956
989
  export {
957
- Xl as default
990
+ Vl as default
958
991
  };