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,19 +1,20 @@
1
- import { c as J, a as K, t as Q, z as j, p as $, U as q, O as T, f as U, K as ee, F as te, i as ae, $ as ie, Z as re, a0 as le, v as se, a1 as ne, d as oe, B as ce, b as he, q as de, R as ue, a2 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a3 as be, o as Fe, s as _e, w as ye, E as Ae, A as Le, u as Ce } from "./index-DDXisDKy.js";
2
- import { D as Se } from "./DataTable-DL2agEJ3.js";
3
- import { _ as ke } from "./Title-DYNLqCCT.js";
4
- import { _ as we, u as Oe } from "./Tooltip-CICAYyQj.js";
5
- import { U as Ge } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as ve } from "./Shape-CO_Ak9Zm.js";
7
- import pe from "./BaseIcon-CXDdkPfN.js";
8
- import ze from "./vue-ui-table-sparkline-eg2Qd8ws.js";
9
- import Me from "./vue-ui-skeleton-B2sRnIXX.js";
10
- import { S as Pe } from "./Slicer-BZfUZr1J.js";
11
- import Te from "./vue-ui-accordion-D_1fE5EF.js";
12
- import { u as Z } from "./useNestedProp-S1UXxUgm.js";
13
- import { _ as Ve } from "./PackageVersion-DtnhR89q.js";
14
- import { resolveComponent as V, openBlock as r, createElementBlock as l, normalizeClass as P, normalizeStyle as A, createBlock as R, createCommentVNode as h, createSlots as Re, withCtx as z, renderSlot as G, normalizeProps as B, guardReactiveProps as Y, createVNode as X, createElementVNode as g, Fragment as m, renderList as I, toDisplayString as S, withDirectives as De, vModelCheckbox as We, createTextVNode as He } from "vue";
15
- import { _ as Ee } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const Be = J(), Ye = {
1
+ import { c as J, a as K, t as Q, z as j, p as $, U as q, O as R, f as U, K as ee, F as te, i as ae, $ as ie, Z as re, a0 as le, v as se, a1 as ne, d as oe, B as ce, b as he, q as de, R as ue, a2 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a3 as be, o as Fe, s as _e, w as ye, E as Ae, A as Ce, u as Le } from "./index-Bya_q1J-.js";
2
+ import { D as Se } from "./DataTable-DYqC2pqu.js";
3
+ import { _ as ke } from "./Title-C5pIfQAz.js";
4
+ import { _ as we, u as Oe } from "./Tooltip-Cz24YLfw.js";
5
+ import { U as Ge } from "./usePrinter-CiHd1FwD.js";
6
+ import { _ as ve } from "./Shape-Bwon0l0g.js";
7
+ import pe from "./BaseIcon-BbvG1AlW.js";
8
+ import ze from "./vue-ui-table-sparkline-CbjfAaj2.js";
9
+ import Me from "./vue-ui-skeleton-BYssP0K4.js";
10
+ import { S as Pe } from "./Slicer-TfpN2Cr4.js";
11
+ import Te from "./vue-ui-accordion-DfUfL2dI.js";
12
+ import { u as Z } from "./useNestedProp-B33hazbH.js";
13
+ import { _ as Ve } from "./PackageVersion-VkaUzgmt.js";
14
+ import { P as Re } from "./PenAndPaper-DAZYA8Ew.js";
15
+ import { resolveComponent as T, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as h, createSlots as De, withCtx as M, renderSlot as w, normalizeProps as H, guardReactiveProps as E, createVNode as X, createElementVNode as u, Fragment as N, renderList as I, toDisplayString as S, withDirectives as We, vModelCheckbox as He, createTextVNode as Ee } from "vue";
16
+ import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Ye = J(), Xe = {
17
18
  name: "vue-ui-xy",
18
19
  props: {
19
20
  config: {
@@ -40,15 +41,16 @@ const Be = J(), Ye = {
40
41
  Skeleton: Me,
41
42
  Slicer: Pe,
42
43
  Accordion: Te,
43
- PackageVersion: Ve
44
+ PackageVersion: Ve,
45
+ PenAndPaper: Re
44
46
  },
45
47
  data() {
46
- this.dataset.forEach((c, N) => {
48
+ this.dataset.forEach((c, f) => {
47
49
  [null, void 0].includes(c.series) && this.error({
48
50
  componentName: "VueUiXy",
49
51
  type: "datasetSerieAttribute",
50
52
  property: "series (number[])",
51
- index: N
53
+ index: f
52
54
  });
53
55
  });
54
56
  const t = Math.max(...this.dataset.map((c) => c.series.length)), s = {
@@ -81,6 +83,7 @@ const Be = J(), Ye = {
81
83
  bar: "bar",
82
84
  plot: "plot"
83
85
  },
86
+ isAnnotator: !1,
84
87
  isFullscreen: !1,
85
88
  isPrinting: !1,
86
89
  isImaging: !1,
@@ -106,7 +109,7 @@ const Be = J(), Ye = {
106
109
  maxX: t,
107
110
  showSparklineTable: !0,
108
111
  segregateStep: 0,
109
- sliderId: Be,
112
+ sliderId: Ye,
110
113
  fontSizes: {
111
114
  xAxis: 18,
112
115
  yAxis: 12,
@@ -140,11 +143,11 @@ const Be = J(), Ye = {
140
143
  computed: {
141
144
  minimap() {
142
145
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
143
- const t = this.datasetWithIds.filter((i) => !this.segregatedSeries.includes(i.id)), s = Math.max(...t.map((i) => i.series.length)), c = [];
144
- for (let i = 0; i < s; i += 1)
145
- c.push(t.map((e) => e.series[i] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
146
- const N = Math.min(...c);
147
- return c.map((i) => i + (N < 0 ? Math.abs(N) : 0));
146
+ const t = this.datasetWithIds.filter((a) => !this.segregatedSeries.includes(a.id)), s = Math.max(...t.map((a) => a.series.length)), c = [];
147
+ for (let a = 0; a < s; a += 1)
148
+ c.push(t.map((e) => e.series[a] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
149
+ const f = Math.min(...c);
150
+ return c.map((a) => a + (f < 0 ? Math.abs(f) : 0));
148
151
  },
149
152
  customPalette() {
150
153
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -156,53 +159,53 @@ const Be = J(), Ye = {
156
159
  return this.FINAL_CONFIG.chart.zoom.color;
157
160
  },
158
161
  allScales() {
159
- const t = this.lineSet.map((i) => ({
160
- name: i.name,
161
- color: i.color,
162
- scale: i.individualScale,
163
- scaleYLabels: i.scaleYLabels,
164
- zero: i.zeroPosition,
165
- max: i.individualMax,
166
- scaleLabel: i.scaleLabel || "",
167
- id: i.id,
168
- yOffset: i.yOffset || 0,
169
- individualHeight: i.individualHeight || this.drawingArea.height,
170
- autoScaleYLabels: i.autoScaleYLabels
171
- })), s = this.barSet.map((i) => ({
172
- name: i.name,
173
- color: i.color,
174
- scale: i.individualScale,
175
- scaleYLabels: i.scaleYLabels,
176
- zero: i.zeroPosition,
177
- max: i.individualMax,
178
- scaleLabel: i.scaleLabel || "",
179
- id: i.id,
180
- yOffset: i.yOffset || 0,
181
- individualHeight: i.individualHeight || this.drawingArea.height
182
- })), c = this.plotSet.map((i) => ({
183
- name: i.name,
184
- color: i.color,
185
- scale: i.individualScale,
186
- scaleYLabels: i.scaleYLabels,
162
+ const t = this.lineSet.map((a) => ({
163
+ name: a.name,
164
+ color: a.color,
165
+ scale: a.individualScale,
166
+ scaleYLabels: a.scaleYLabels,
167
+ zero: a.zeroPosition,
168
+ max: a.individualMax,
169
+ scaleLabel: a.scaleLabel || "",
170
+ id: a.id,
171
+ yOffset: a.yOffset || 0,
172
+ individualHeight: a.individualHeight || this.drawingArea.height,
173
+ autoScaleYLabels: a.autoScaleYLabels
174
+ })), s = this.barSet.map((a) => ({
175
+ name: a.name,
176
+ color: a.color,
177
+ scale: a.individualScale,
178
+ scaleYLabels: a.scaleYLabels,
179
+ zero: a.zeroPosition,
180
+ max: a.individualMax,
181
+ scaleLabel: a.scaleLabel || "",
182
+ id: a.id,
183
+ yOffset: a.yOffset || 0,
184
+ individualHeight: a.individualHeight || this.drawingArea.height
185
+ })), c = this.plotSet.map((a) => ({
186
+ name: a.name,
187
+ color: a.color,
188
+ scale: a.individualScale,
189
+ scaleYLabels: a.scaleYLabels,
187
190
  // FIX
188
- zero: i.zeroPosition,
189
- max: i.individualMax,
190
- scaleLabel: i.scaleLabel || "",
191
- id: i.id,
192
- yOffset: i.yOffset || 0,
193
- individualHeight: i.individualHeight || this.drawingArea.height
194
- })), N = [...t, ...s, ...c].flatMap((i) => i).length;
195
- return [...t, ...s, ...c].flatMap((i, e) => ({
196
- id: i.id,
197
- scaleLabel: i.scaleLabel,
198
- name: i.name,
199
- color: i.color,
200
- scale: i.scale,
201
- yOffset: i.yOffset,
202
- individualHeight: i.individualHeight,
203
- x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / N * (e + 1),
204
- yLabels: i.scaleYLabels || i.scale.ticks.map((x) => ({
205
- y: x >= 0 ? i.zero - i.individualHeight * (x / i.max) : i.zero + i.individualHeight * Math.abs(x) / i.max,
191
+ zero: a.zeroPosition,
192
+ max: a.individualMax,
193
+ scaleLabel: a.scaleLabel || "",
194
+ id: a.id,
195
+ yOffset: a.yOffset || 0,
196
+ individualHeight: a.individualHeight || this.drawingArea.height
197
+ })), f = [...t, ...s, ...c].flatMap((a) => a).length;
198
+ return [...t, ...s, ...c].flatMap((a, e) => ({
199
+ id: a.id,
200
+ scaleLabel: a.scaleLabel,
201
+ name: a.name,
202
+ color: a.color,
203
+ scale: a.scale,
204
+ yOffset: a.yOffset,
205
+ individualHeight: a.individualHeight,
206
+ x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / f * (e + 1),
207
+ yLabels: a.scaleYLabels || a.scale.ticks.map((x) => ({
208
+ y: x >= 0 ? a.zero - a.individualHeight * (x / a.max) : a.zero + a.individualHeight * Math.abs(x) / a.max,
206
209
  value: x
207
210
  }))
208
211
  }));
@@ -314,47 +317,47 @@ const Be = J(), Ye = {
314
317
  barSet() {
315
318
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
316
319
  this.checkAutoScaleError(t);
317
- const c = Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), N = Math.max(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
318
- ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (N - c)),
320
+ const c = Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
321
+ ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (f - c)),
319
322
  valueMin: c,
320
- valueMax: N < 0 ? 0 : N
323
+ valueMax: f < 0 ? 0 : f
321
324
  }, x = {
322
325
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
323
326
  min: t.scaleMin || Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d)))
324
- }, _ = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, f = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, _), L = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, _), M = f.min >= 0 ? 0 : Math.abs(f.min), w = 0, p = f.max + M, v = L.max + Math.abs(w), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - F - C * M / p, o = this.drawingArea.bottom - F - C * w / v, n = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, u = t.series.map((d, b) => {
325
- const H = this.mutableConfig.useIndividualScale ? (t.absoluteValues[b] + M) / p : this.ratioToMax(d), E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left + this.slot.bar * s + this.slot.bar * b * n - this.barSlot / 2 - s * this.barPeriodGap;
327
+ }, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, y), P = m.min >= 0 ? 0 : Math.abs(m.min), O = 0, G = m.max + P, p = b.max + Math.abs(O), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - L * P / G, i = this.drawingArea.bottom - _ - L * O / p, o = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, n = t.series.map((d, F) => {
328
+ const B = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + P) / G : this.ratioToMax(d), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * o - this.barSlot / 2 - s * this.barPeriodGap;
326
329
  return {
327
- yOffset: this.checkNaN(F),
328
- individualHeight: this.checkNaN(C),
329
- x: this.checkNaN(E),
330
- y: this.drawingArea.bottom - F - C * H,
331
- value: t.absoluteValues[b],
332
- zeroPosition: this.checkNaN(a),
333
- individualMax: this.checkNaN(p),
334
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
330
+ yOffset: this.checkNaN(_),
331
+ individualHeight: this.checkNaN(L),
332
+ x: this.checkNaN(Y),
333
+ y: this.drawingArea.bottom - _ - L * B,
334
+ value: t.absoluteValues[F],
335
+ zeroPosition: this.checkNaN(z),
336
+ individualMax: this.checkNaN(G),
337
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
335
338
  };
336
- }), W = t.absoluteValues.map((d) => L.min >= 0 ? (d - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (d + Math.abs(L.min)) / (L.max + Math.abs(L.min))), D = t.series.map((d, b) => {
337
- const H = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * b * this.absoluteDataset.filter((E) => E.type === "bar").filter((E) => !this.segregatedSeries.includes(E.id)).length;
339
+ }), g = t.absoluteValues.map((d) => b.min >= 0 ? (d - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (d + Math.abs(b.min)) / (b.max + Math.abs(b.min))), W = t.series.map((d, F) => {
340
+ const B = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
338
341
  return {
339
- yOffset: this.checkNaN(F),
340
- individualHeight: this.checkNaN(C),
341
- x: this.checkNaN(H),
342
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * W[b] || 0)),
343
- value: t.absoluteValues[b],
344
- zeroPosition: this.checkNaN(a),
345
- individualMax: this.checkNaN(p),
346
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
342
+ yOffset: this.checkNaN(_),
343
+ individualHeight: this.checkNaN(L),
344
+ x: this.checkNaN(B),
345
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * g[F] || 0)),
346
+ value: t.absoluteValues[F],
347
+ zeroPosition: this.checkNaN(z),
348
+ individualMax: this.checkNaN(G),
349
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
347
350
  };
348
- }), y = f.ticks.map((d) => ({
349
- y: d >= 0 ? a - C * (d / p) : a + C * Math.abs(d) / p,
351
+ }), A = m.ticks.map((d) => ({
352
+ y: d >= 0 ? z - L * (d / G) : z + L * Math.abs(d) / G,
350
353
  value: d,
351
354
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
352
355
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
353
356
  datapoint: t
354
- })), O = L.ticks.map((d) => {
355
- const b = (d - L.min) / (L.max - L.min);
357
+ })), v = b.ticks.map((d) => {
358
+ const F = (d - b.min) / (b.max - b.min);
356
359
  return {
357
- y: d >= 0 ? o - C * b : o + C * b,
360
+ y: d >= 0 ? i - L * F : i + L * F,
358
361
  value: d,
359
362
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
360
363
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -363,14 +366,14 @@ const Be = J(), Ye = {
363
366
  });
364
367
  return {
365
368
  ...t,
366
- yOffset: F,
367
- autoScaleYLabels: O,
368
- individualHeight: C,
369
- scaleYLabels: t.autoScaling ? O : y,
370
- individualScale: t.autoScaling ? L : f,
371
- individualMax: t.autoScaling ? v : p,
372
- zeroPosition: t.autoScaling ? o : a,
373
- plots: t.autoScaling ? D : u
369
+ yOffset: _,
370
+ autoScaleYLabels: v,
371
+ individualHeight: L,
372
+ scaleYLabels: t.autoScaling ? v : A,
373
+ individualScale: t.autoScaling ? b : m,
374
+ individualMax: t.autoScaling ? p : G,
375
+ zeroPosition: t.autoScaling ? i : z,
376
+ plots: t.autoScaling ? W : n
374
377
  };
375
378
  });
376
379
  },
@@ -383,41 +386,41 @@ const Be = J(), Ye = {
383
386
  lineSet() {
384
387
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
385
388
  this.checkAutoScaleError(t);
386
- const s = Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, i = {
389
+ const s = Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, a = {
387
390
  ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (c - s)),
388
391
  valueMin: s,
389
392
  valueMax: c
390
393
  }, e = {
391
394
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
392
395
  min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
393
- }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), f = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), L = k.min >= 0 ? 0 : Math.abs(k.min), M = 0, w = k.max + Math.abs(L), p = f.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * L / w, a = this.drawingArea.bottom - v - F * M / p, o = t.series.map((d, b) => {
394
- const H = this.mutableConfig.useIndividualScale ? (t.absoluteValues[b] + Math.abs(L)) / w : this.ratioToMax(d);
396
+ }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = k.min >= 0 ? 0 : Math.abs(k.min), P = 0, O = k.max + Math.abs(b), G = m.max + Math.abs(P), p = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - p - _ * b / O, z = this.drawingArea.bottom - p - _ * P / G, i = t.series.map((d, F) => {
397
+ const B = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + Math.abs(b)) / O : this.ratioToMax(d);
395
398
  return {
396
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
397
- y: this.checkNaN(this.drawingArea.bottom - v - F * H),
398
- value: t.absoluteValues[b],
399
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
399
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
400
+ y: this.checkNaN(this.drawingArea.bottom - p - _ * B),
401
+ value: t.absoluteValues[F],
402
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
400
403
  };
401
- }), n = t.absoluteValues.map((d) => f.min >= 0 ? (d - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (d + Math.abs(f.min)) / (f.max + Math.abs(f.min))), u = t.series.map((d, b) => [void 0, null].includes(t.absoluteValues[b]) ? {
402
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
403
- y: C,
404
- value: t.absoluteValues[b],
405
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
404
+ }), o = t.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((d, F) => [void 0, null].includes(t.absoluteValues[F]) ? {
405
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
406
+ y: L,
407
+ value: t.absoluteValues[F],
408
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
406
409
  } : {
407
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
408
- y: this.checkNaN(this.drawingArea.bottom - v - (F * n[b] || 0)),
409
- value: t.absoluteValues[b],
410
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
411
- }), W = this.createSmoothPath(o), D = this.createSmoothPath(u), y = k.ticks.map((d) => ({
412
- y: d >= 0 ? C - F * (d / w) : C + F * Math.abs(d) / w,
410
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
411
+ y: this.checkNaN(this.drawingArea.bottom - p - (_ * o[F] || 0)),
412
+ value: t.absoluteValues[F],
413
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
414
+ }), g = this.createSmoothPath(i), W = this.createSmoothPath(n), A = k.ticks.map((d) => ({
415
+ y: d >= 0 ? L - _ * (d / O) : L + _ * Math.abs(d) / O,
413
416
  value: d,
414
417
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
415
418
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
416
419
  datapoint: t
417
- })), O = f.ticks.map((d) => {
418
- const b = (d - f.min) / (f.max - f.min);
420
+ })), v = m.ticks.map((d) => {
421
+ const F = (d - m.min) / (m.max - m.min);
419
422
  return {
420
- y: d >= 0 ? a - F * b : a + F * b,
423
+ y: d >= 0 ? z - _ * F : z + _ * F,
421
424
  value: d,
422
425
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
423
426
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
@@ -426,53 +429,53 @@ const Be = J(), Ye = {
426
429
  });
427
430
  return {
428
431
  ...t,
429
- yOffset: v,
430
- autoScaleYLabels: O,
431
- individualHeight: F,
432
- scaleYLabels: t.autoScaling ? O : y,
433
- individualScale: t.autoScaling ? f : k,
434
- individualMax: t.autoScaling ? p : w,
435
- zeroPosition: t.autoScaling ? a : C,
436
- curve: t.autoScaling ? D : W,
437
- plots: t.autoScaling ? u : o,
438
- area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? u : o, t.autoScaling ? a : C) : this.createArea(o) : ""
432
+ yOffset: p,
433
+ autoScaleYLabels: v,
434
+ individualHeight: _,
435
+ scaleYLabels: t.autoScaling ? v : A,
436
+ individualScale: t.autoScaling ? m : k,
437
+ individualMax: t.autoScaling ? G : O,
438
+ zeroPosition: t.autoScaling ? z : L,
439
+ curve: t.autoScaling ? W : g,
440
+ plots: t.autoScaling ? n : i,
441
+ area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? n : i, t.autoScaling ? z : L) : this.createArea(i) : ""
439
442
  };
440
443
  });
441
444
  },
442
445
  plotSet() {
443
446
  return this.activeSeriesWithStackRatios.filter((t) => t.type === "plot").map((t) => {
444
447
  this.checkAutoScaleError(t);
445
- const s = Math.min(...t.absoluteValues.filter((y) => ![null, void 0].includes(y))), c = Math.max(...t.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, i = {
446
- ratios: t.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (c - s)),
448
+ const s = Math.min(...t.absoluteValues.filter((A) => ![null, void 0].includes(A))), c = Math.max(...t.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, a = {
449
+ ratios: t.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - s) / (c - s)),
447
450
  valueMin: s,
448
451
  valueMax: c
449
452
  }, e = {
450
453
  max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
451
454
  min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
452
- }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), f = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), L = k.min >= 0 ? 0 : Math.abs(k.min), M = 0, w = k.max + L, p = f.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - v - F * L / w, a = this.drawingArea.bottom - v - F * M / p, o = t.series.map((y, O) => {
453
- const d = this.mutableConfig.useIndividualScale ? (t.absoluteValues[O] + Math.abs(L)) / w : this.ratioToMax(y);
455
+ }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = k.min >= 0 ? 0 : Math.abs(k.min), P = 0, O = k.max + b, G = m.max + Math.abs(P), p = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - p - _ * b / O, z = this.drawingArea.bottom - p - _ * P / G, i = t.series.map((A, v) => {
456
+ const d = this.mutableConfig.useIndividualScale ? (t.absoluteValues[v] + Math.abs(b)) / O : this.ratioToMax(A);
454
457
  return {
455
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O),
456
- y: this.checkNaN(this.drawingArea.bottom - v - F * d),
457
- value: t.absoluteValues[O],
458
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
458
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * v),
459
+ y: this.checkNaN(this.drawingArea.bottom - p - _ * d),
460
+ value: t.absoluteValues[v],
461
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[v] || ""
459
462
  };
460
- }), n = t.absoluteValues.map((y) => f.min >= 0 ? (y - Math.abs(f.min)) / (f.max - Math.abs(f.min)) : (y + Math.abs(f.min)) / (f.max + Math.abs(f.min))), u = t.series.map((y, O) => ({
461
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O),
462
- y: this.checkNaN(this.drawingArea.bottom - v - (F * n[O] || 0)),
463
- value: t.absoluteValues[O],
464
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
465
- })), W = k.ticks.map((y) => ({
466
- y: y >= 0 ? C - F * (y / w) : C + F * Math.abs(y) / w,
467
- value: y,
463
+ }), o = t.absoluteValues.map((A) => m.min >= 0 ? (A - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (A + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((A, v) => ({
464
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * v),
465
+ y: this.checkNaN(this.drawingArea.bottom - p - (_ * o[v] || 0)),
466
+ value: t.absoluteValues[v],
467
+ comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[v] || ""
468
+ })), g = k.ticks.map((A) => ({
469
+ y: A >= 0 ? L - _ * (A / O) : L + _ * Math.abs(A) / O,
470
+ value: A,
468
471
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
469
472
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
470
473
  datapoint: t
471
- })), D = f.ticks.map((y) => {
472
- const O = (y - f.min) / (f.max - f.min);
474
+ })), W = m.ticks.map((A) => {
475
+ const v = (A - m.min) / (m.max - m.min);
473
476
  return {
474
- y: y >= 0 ? a - F * O : a + F * O,
475
- value: y,
477
+ y: A >= 0 ? z - _ * v : z + _ * v,
478
+ value: A,
476
479
  prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
477
480
  suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
478
481
  datapoint: t
@@ -480,14 +483,14 @@ const Be = J(), Ye = {
480
483
  });
481
484
  return {
482
485
  ...t,
483
- yOffset: v,
484
- autoScaleYLabels: D,
485
- individualHeight: F,
486
- scaleYLabels: t.autoScaling ? D : W,
487
- individualScale: t.autoScaling ? f : k,
488
- individualMax: t.autoScaling ? p : w,
489
- zeroPosition: t.autoScaling ? a : C,
490
- plots: t.autoScaling ? u : o
486
+ yOffset: p,
487
+ autoScaleYLabels: W,
488
+ individualHeight: _,
489
+ scaleYLabels: t.autoScaling ? W : g,
490
+ individualScale: t.autoScaling ? m : k,
491
+ individualMax: t.autoScaling ? G : O,
492
+ zeroPosition: t.autoScaling ? z : L,
493
+ plots: t.autoScaling ? n : i
491
494
  };
492
495
  });
493
496
  },
@@ -544,11 +547,11 @@ const Be = J(), Ye = {
544
547
  color: c.color,
545
548
  type: c.type
546
549
  })), s = [];
547
- return this.timeLabels.forEach((c, N) => {
548
- const i = [c];
550
+ return this.timeLabels.forEach((c, f) => {
551
+ const a = [c];
549
552
  this.relativeDataset.forEach((e) => {
550
- i.push(this.canShowValue(e.absoluteValues[N]) ? Number(e.absoluteValues[N].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
551
- }), s.push(i);
553
+ a.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
554
+ }), s.push(a);
552
555
  }), { head: t, body: s };
553
556
  },
554
557
  dataTable() {
@@ -557,25 +560,25 @@ const Be = J(), Ye = {
557
560
  t && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
558
561
  let c = [];
559
562
  for (let e = 0; e < this.maxSeries; e += 1) {
560
- const x = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, k) => _ + k, 0);
563
+ const x = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, k) => y + k, 0);
561
564
  c.push(
562
565
  [
563
566
  this.timeLabels[e] ?? "-"
564
567
  ].concat(this.relativeDataset.map(
565
- (_) => this.applyDataLabel(
566
- _.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : _.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
567
- _.absoluteValues[e] ?? 0,
568
+ (y) => this.applyDataLabel(
569
+ y.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : y.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
570
+ y.absoluteValues[e] ?? 0,
568
571
  this.dataLabel({
569
- p: _.prefix || this.FINAL_CONFIG.chart.labels.prefix,
570
- v: _.absoluteValues[e] ?? 0,
571
- s: _.suffix || this.FINAL_CONFIG.chart.labels.suffix,
572
+ p: y.prefix || this.FINAL_CONFIG.chart.labels.prefix,
573
+ v: y.absoluteValues[e] ?? 0,
574
+ s: y.suffix || this.FINAL_CONFIG.chart.labels.suffix,
572
575
  r: this.FINAL_CONFIG.table.rounding
573
576
  })
574
577
  )
575
578
  )).concat(t ? (x ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
576
579
  );
577
580
  }
578
- const N = {
581
+ const f = {
579
582
  th: {
580
583
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
581
584
  color: this.FINAL_CONFIG.table.th.color,
@@ -587,8 +590,8 @@ const Be = J(), Ye = {
587
590
  outline: this.FINAL_CONFIG.table.td.outline
588
591
  },
589
592
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
590
- }, i = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
591
- return { head: s, body: c, config: N, colNames: i };
593
+ }, a = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
594
+ return { head: s, body: c, config: f, colNames: a };
592
595
  },
593
596
  dataTooltipSlot() {
594
597
  return {
@@ -614,9 +617,9 @@ const Be = J(), Ye = {
614
617
  }));
615
618
  },
616
619
  tooltipContent() {
617
- let t = "", s = this.selectedSeries.map((i) => i.value).filter((i) => this.isSafeValue(i) && i !== null).reduce((i, e) => Math.abs(i) + Math.abs(e), 0);
618
- const c = this.timeLabels[this.selectedSerieIndex], N = this.FINAL_CONFIG.chart.tooltip.customFormat;
619
- return this.isFunction(N) && this.functionReturnsString(() => N({
620
+ let t = "", s = this.selectedSeries.map((a) => a.value).filter((a) => this.isSafeValue(a) && a !== null).reduce((a, e) => Math.abs(a) + Math.abs(e), 0);
621
+ const c = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
622
+ return this.isFunction(f) && this.functionReturnsString(() => f({
620
623
  seriesIndex: this.selectedSerieIndex,
621
624
  datapoint: this.selectedSeries,
622
625
  series: this.absoluteDataset,
@@ -624,7 +627,7 @@ const Be = J(), Ye = {
624
627
  lines: this.lineSet,
625
628
  plots: this.plotSet,
626
629
  config: this.FINAL_CONFIG
627
- })) ? N({
630
+ })) ? f({
628
631
  seriesIndex: this.selectedSerieIndex,
629
632
  datapoint: this.selectedSeries,
630
633
  series: this.absoluteDataset,
@@ -632,61 +635,61 @@ const Be = J(), Ye = {
632
635
  lines: this.lineSet,
633
636
  plots: this.plotSet,
634
637
  config: this.FINAL_CONFIG
635
- }) : (c && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((i) => {
636
- if (this.isSafeValue(i.value)) {
638
+ }) : (c && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((a) => {
639
+ if (this.isSafeValue(a.value)) {
637
640
  let e = "", x = "";
638
- switch (this.icons[i.type]) {
641
+ switch (this.icons[a.type]) {
639
642
  case "bar":
640
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${i.color}" /></svg>`;
643
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${a.color}" /></svg>`;
641
644
  break;
642
645
  case "line":
643
- !i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" />` : i.shape === "triangle" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "square" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "diamond" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "pentagon" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "hexagon" ? x = `<path d="${T({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${i.color}" />${x}</svg>`;
646
+ !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" />` : a.shape === "triangle" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "square" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "diamond" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "pentagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "hexagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${a.color}" />${x}</svg>`;
644
647
  break;
645
648
  case "plot":
646
- if (!i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape)) {
647
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" /></svg>`;
649
+ if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
650
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" /></svg>`;
648
651
  break;
649
652
  }
650
- if (i.shape === "star") {
651
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
653
+ if (a.shape === "star") {
654
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
652
655
  break;
653
656
  }
654
- if (i.shape === "triangle") {
655
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
657
+ if (a.shape === "triangle") {
658
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
656
659
  break;
657
660
  }
658
- if (i.shape === "square") {
659
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
661
+ if (a.shape === "square") {
662
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
660
663
  break;
661
664
  }
662
- if (i.shape === "diamond") {
663
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
665
+ if (a.shape === "diamond") {
666
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
664
667
  break;
665
668
  }
666
- if (i.shape === "pentagon") {
667
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
669
+ if (a.shape === "pentagon") {
670
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
668
671
  break;
669
672
  }
670
- if (i.shape === "hexagon") {
671
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${T({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
673
+ if (a.shape === "hexagon") {
674
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
672
675
  break;
673
676
  }
674
677
  }
675
- t += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${i.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
676
- i.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : i.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
677
- i.value,
678
+ t += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${a.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
679
+ a.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : a.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
680
+ a.value,
678
681
  this.dataLabel({
679
- p: i.prefix,
680
- v: i.value,
681
- s: i.suffix,
682
+ p: a.prefix,
683
+ v: a.value,
684
+ s: a.suffix,
682
685
  r: this.FINAL_CONFIG.chart.tooltip.roundingValue
683
686
  }),
684
- { datapoint: i }
687
+ { datapoint: a }
685
688
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${U({
686
- v: this.checkNaN(Math.abs(i.value) / s * 100),
689
+ v: this.checkNaN(Math.abs(a.value) / s * 100),
687
690
  s: "%",
688
691
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
689
- })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && i.comments.length && i.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${i.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${i.color}">${i.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
692
+ })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && a.comments.length && a.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
690
693
  }
691
694
  }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${t}</div>`);
692
695
  },
@@ -742,9 +745,12 @@ const Be = J(), Ye = {
742
745
  setOpacity: _e,
743
746
  shiftHue: ye,
744
747
  translateSize: Ae,
745
- treeShake: Le,
748
+ treeShake: Ce,
746
749
  useMouse: Oe,
747
750
  useNestedProp: Z,
751
+ toggleAnnotator() {
752
+ this.isAnnotator = !this.isAnnotator;
753
+ },
748
754
  getHighlightAreaPosition(t) {
749
755
  const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (t.from - this.slicer.start), c = this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span;
750
756
  return {
@@ -753,7 +759,7 @@ const Be = J(), Ye = {
753
759
  };
754
760
  },
755
761
  prepareConfig() {
756
- const t = Ce().vue_ui_xy;
762
+ const t = Le().vue_ui_xy;
757
763
  if (!Object.keys(this.config || {}).length)
758
764
  return t;
759
765
  const s = this.useNestedProp({
@@ -794,15 +800,17 @@ const Be = J(), Ye = {
794
800
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
795
801
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
796
802
  }, this.FINAL_CONFIG.responsive) {
797
- const s = this.$refs.chart.parentNode, { height: c, width: N } = s.getBoundingClientRect();
798
- let i = null, e = 0;
799
- this.FINAL_CONFIG.chart.title.show && (i = this.$refs.chartTitle, e = i.getBoundingClientRect().height);
800
- let x = null, _ = 0;
801
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, _ = x.getBoundingClientRect().height);
802
- let k = null, f = 0;
803
- this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend, f = k.getBoundingClientRect().height), this.height = c - e - f - _, this.width = N, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((M) => {
804
- for (const w of M)
805
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (f = this.$refs.chartLegend.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - f - _ - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
803
+ const s = this.$refs.chart.parentNode, { height: c, width: f } = s.getBoundingClientRect();
804
+ let a = null, e = 0;
805
+ this.FINAL_CONFIG.chart.title.show && (a = this.$refs.chartTitle, e = a.getBoundingClientRect().height);
806
+ let x = null, y = 0;
807
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, y = x.getBoundingClientRect().height);
808
+ let k = null, m = 0;
809
+ this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend, m = k.getBoundingClientRect().height);
810
+ let b = 0;
811
+ this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = c - e - m - y - b, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((O) => {
812
+ for (const G of O)
813
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = G.contentBoxSize[0].blockSize - e - m - y - b - 24, this.width = G.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
806
814
  }).observe(s);
807
815
  } else
808
816
  this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
@@ -866,24 +874,24 @@ const Be = J(), Ye = {
866
874
  },
867
875
  createArea(t) {
868
876
  if (!t[0]) return [-10, -10, "", -10, -10];
869
- const s = { x: t[0].x, y: this.zero }, c = { x: t.at(-1).x, y: this.zero }, N = [];
870
- return t.forEach((i) => {
871
- N.push(`${i.x},${i.y} `);
872
- }), [s.x, s.y, ...N, c.x, c.y].toString();
877
+ const s = { x: t[0].x, y: this.zero }, c = { x: t.at(-1).x, y: this.zero }, f = [];
878
+ return t.forEach((a) => {
879
+ f.push(`${a.x},${a.y} `);
880
+ }), [s.x, s.y, ...f, c.x, c.y].toString();
873
881
  },
874
882
  createIndividualArea(t, s) {
875
883
  if (!t[0]) return [-10, -10, "", -10, -10];
876
- const c = { x: t[0] ? t[0].x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, N = { x: t.at(-1) ? t.at(-1).x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, i = [];
884
+ const c = { x: t[0] ? t[0].x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: t.at(-1) ? t.at(-1).x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, a = [];
877
885
  return t.filter((e) => !!e).forEach((e) => {
878
- i.push(`${e.x},${e.y} `);
879
- }), [c.x, c.y, ...i, N.x, N.y].toString();
886
+ a.push(`${e.x},${e.y} `);
887
+ }), [c.x, c.y, ...a, f.x, f.y].toString();
880
888
  },
881
889
  createStar: q,
882
- createPolygonPath: T,
890
+ createPolygonPath: R,
883
891
  fillArray(t, s) {
884
892
  let c = Array(t).fill(0);
885
- for (let N = 0; N < s.length && N < t; N += 1)
886
- c[N] = s[N];
893
+ for (let f = 0; f < s.length && f < t; f += 1)
894
+ c[f] = s[f];
887
895
  return c;
888
896
  },
889
897
  refreshSlicer() {
@@ -914,10 +922,10 @@ const Be = J(), Ye = {
914
922
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
915
923
  },
916
924
  findClosestValue(t, s) {
917
- let c = s[0], N = Math.abs(t - s[0]);
918
- for (let i = 1; i < s.length; i += 1) {
919
- const e = Math.abs(t - s[i]);
920
- e < N && s[i] < t && (c = s[i], N = e);
925
+ let c = s[0], f = Math.abs(t - s[0]);
926
+ for (let a = 1; a < s.length; a += 1) {
927
+ const e = Math.abs(t - s[a]);
928
+ e < f && s[a] < t && (c = s[a], f = e);
921
929
  }
922
930
  return c;
923
931
  },
@@ -986,8 +994,8 @@ const Be = J(), Ye = {
986
994
  }, 100);
987
995
  },
988
996
  generateCsv() {
989
- const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, N = t.concat([s]).concat(c), i = this.createCsvContent(N);
990
- this.downloadCsv({ csvContent: i, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
997
+ const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, f = t.concat([s]).concat(c), a = this.createCsvContent(f);
998
+ this.downloadCsv({ csvContent: a, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
991
999
  },
992
1000
  showSpinnerImage() {
993
1001
  this.isImaging = !0;
@@ -1009,42 +1017,54 @@ const Be = J(), Ye = {
1009
1017
  }, 100);
1010
1018
  }
1011
1019
  }
1012
- }, Xe = ["id"], qe = ["viewBox"], Ue = { key: 0 }, Ze = { class: "vue-ui-xy-grid" }, Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], Qe = { key: 1 }, je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = { key: 3 }, at = ["x1", "x2", "y1", "y2", "stroke"], it = ["id"], rt = ["stop-color"], lt = ["stop-color"], st = ["stop-color"], nt = ["id"], ot = ["stop-color"], ct = ["stop-color"], ht = ["stop-color"], dt = ["id"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], Nt = ["stop-color"], mt = ["stop-color"], It = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["x", "y", "height", "width", "fill"], _t = ["x", "y", "width"], yt = ["x", "y", "height", "width", "fill"], At = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["width", "x", "y"], Ct = { key: 0 }, St = ["id"], kt = ["fill"], wt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ot = ["x", "y", "font-size", "fill"], Gt = ["stroke", "x1", "x2", "y1", "y2"], vt = { key: 2 }, pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], zt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Mt = { key: 4 }, Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["fill", "font-size", "transform"], Vt = ["x1", "x2", "y1", "y2", "stroke"], Rt = ["x", "y", "font-size", "fill"], Dt = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Ht = ["width", "x", "y"], Et = { style: { width: "100%" } }, Bt = { key: 0 }, Yt = ["id"], Xt = ["fill"], qt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ut = ["x", "y", "font-size", "fill"], Zt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Jt = { key: 1 }, Kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 0 }, jt = ["d", "fill"], $t = ["d", "fill"], ea = ["d", "stroke", "stroke-width", "stroke-dasharray"], ta = { key: 2 }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ia = ["width", "x", "y"], ra = { style: { width: "100%" } }, la = { key: 3 }, sa = ["id"], na = ["fill"], oa = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ca = ["x", "y", "font-size", "fill"], ha = { key: 5 }, da = ["x", "y", "font-size", "fill"], ua = ["x", "y", "font-size", "fill", "font-weight"], ga = { key: 6 }, fa = ["x", "y", "font-size", "fill"], Na = ["x", "y"], ma = ["x", "y"], Ia = { key: 7 }, xa = ["x", "y", "font-size", "fill"], ba = ["x", "y"], Fa = ["x", "y"], _a = ["x", "y", "font-size", "fill", "innerHTML"], ya = ["x", "y", "font-size", "fill", "innerHTML"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "width", "height", "fill", "onMouseenter"], Sa = ["font-size", "fill", "transform"], ka = ["x", "y", "font-size", "fill"], wa = { key: 9 }, Oa = ["text-anchor", "font-size", "fill", "transform"], Ga = ["x", "y", "height", "width", "onMouseenter", "onClick"], va = { key: 10 }, pa = ["x", "y"], za = ["cx", "cy", "r", "fill"], Ma = {
1013
- key: 3,
1020
+ }, qe = ["id"], Ue = ["viewBox"], Ze = { key: 0 }, Je = { class: "vue-ui-xy-grid" }, Ke = ["stroke", "x1", "x2", "y1", "y2"], Qe = ["stroke", "x1", "x2", "y1", "y2"], je = { key: 1 }, $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = { key: 3 }, it = ["x1", "x2", "y1", "y2", "stroke"], rt = ["id"], lt = ["stop-color"], st = ["stop-color"], nt = ["stop-color"], ot = ["id"], ct = ["stop-color"], ht = ["stop-color"], dt = ["stop-color"], ut = ["id"], gt = ["stop-color"], ft = ["stop-color"], Nt = ["id"], mt = ["stop-color"], It = ["stop-color"], xt = ["id"], bt = ["stop-color"], Ft = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "width"], At = ["x", "y", "height", "width", "fill"], Ct = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["width", "x", "y"], St = { key: 0 }, kt = ["id"], wt = ["fill"], Ot = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Gt = ["x", "y", "font-size", "fill"], vt = ["stroke", "x1", "x2", "y1", "y2"], pt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Pt = { key: 4 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["fill", "font-size", "transform"], Rt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "font-size", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Et = ["width", "x", "y"], Bt = { style: { width: "100%" } }, Yt = { key: 0 }, Xt = ["id"], qt = ["fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Zt = ["x", "y", "font-size", "fill"], Jt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Kt = { key: 1 }, Qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 0 }, $t = ["d", "fill"], ea = ["d", "fill"], ta = ["d", "stroke", "stroke-width", "stroke-dasharray"], aa = { key: 2 }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], la = { style: { width: "100%" } }, sa = { key: 3 }, na = ["id"], oa = ["fill"], ca = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ha = ["x", "y", "font-size", "fill"], da = { key: 5 }, ua = ["x", "y", "font-size", "fill"], ga = ["x", "y", "font-size", "fill", "font-weight"], fa = { key: 6 }, Na = ["x", "y", "font-size", "fill"], ma = ["x", "y"], Ia = ["x", "y"], xa = { key: 7 }, ba = ["x", "y", "font-size", "fill"], Fa = ["x", "y"], _a = ["x", "y"], ya = ["x", "y", "font-size", "fill", "innerHTML"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "width", "height", "fill", "onMouseenter"], ka = ["font-size", "fill", "transform"], wa = ["x", "y", "font-size", "fill"], Oa = { key: 9 }, Ga = ["text-anchor", "font-size", "fill", "transform"], va = ["x", "y", "height", "width", "onMouseenter", "onClick"], pa = { key: 10 }, za = ["x", "y"], Ma = ["cx", "cy", "r", "fill"], Pa = {
1021
+ key: 4,
1014
1022
  class: "vue-data-ui-watermark"
1015
- }, Pa = ["onClick"], Ta = {
1023
+ }, Ta = ["onClick"], Va = {
1016
1024
  key: 0,
1017
1025
  viewBox: "0 0 20 12",
1018
1026
  height: "14",
1019
1027
  width: "20"
1020
- }, Va = ["fill"], Ra = {
1028
+ }, Ra = ["fill"], Da = {
1021
1029
  key: 1,
1022
1030
  viewBox: "0 0 12 12",
1023
1031
  height: "14",
1024
1032
  width: "14"
1025
- }, Da = ["fill"], Wa = {
1026
- key: 7,
1033
+ }, Wa = ["fill"], Ha = {
1034
+ key: 8,
1027
1035
  ref: "chartLegend"
1028
- }, Ha = {
1036
+ }, Ea = {
1037
+ key: 9,
1038
+ ref: "source",
1039
+ dir: "auto"
1040
+ }, Ba = {
1029
1041
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1030
1042
  "data-html2canvas-ignore": ""
1031
- }, Ea = ["innerHTML"];
1032
- function Ba(t, s, c, N, i, e) {
1033
- const x = V("Title"), _ = V("UserOptions"), k = V("PackageVersion"), f = V("Shape"), L = V("Skeleton"), M = V("Slicer"), w = V("Tooltip"), p = V("BaseIcon"), v = V("TableSparkline"), F = V("DataTable"), C = V("Accordion");
1043
+ }, Ya = ["innerHTML"];
1044
+ function Xa(t, s, c, f, a, e) {
1045
+ const x = T("PenAndPaper"), y = T("Title"), k = T("UserOptions"), m = T("PackageVersion"), b = T("Shape"), P = T("Skeleton"), O = T("Slicer"), G = T("Tooltip"), p = T("BaseIcon"), _ = T("TableSparkline"), L = T("DataTable"), z = T("Accordion");
1034
1046
  return r(), l("div", {
1035
- id: `vue-ui-xy_${i.uniqueId}`,
1036
- class: P(`vue-ui-xy ${i.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1047
+ id: `vue-ui-xy_${a.uniqueId}`,
1048
+ class: V(`vue-ui-xy ${a.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1037
1049
  ref: "chart",
1038
- style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
1050
+ style: C(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
1039
1051
  }, [
1040
- e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
1052
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), D(x, {
1041
1053
  key: 0,
1054
+ parent: t.$refs.chart,
1055
+ backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1056
+ color: e.FINAL_CONFIG.chart.color,
1057
+ active: a.isAnnotator,
1058
+ onClose: e.toggleAnnotator
1059
+ }, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1060
+ e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
1061
+ key: 1,
1042
1062
  ref: "chartTitle",
1043
1063
  class: "vue-ui-xy-title",
1044
- style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1064
+ style: C(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1045
1065
  }, [
1046
- (r(), R(x, {
1047
- key: `title_${i.titleStep}`,
1066
+ (r(), D(y, {
1067
+ key: `title_${a.titleStep}`,
1048
1068
  config: {
1049
1069
  title: {
1050
1070
  cy: "xy-div-title",
@@ -1057,14 +1077,14 @@ function Ba(t, s, c, N, i, e) {
1057
1077
  }
1058
1078
  }, null, 8, ["config"]))
1059
1079
  ], 4)) : h("", !0),
1060
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), R(_, {
1080
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(k, {
1061
1081
  ref: "defails",
1062
- key: `user_options_${i.step}`,
1082
+ key: `user_options_${a.step}`,
1063
1083
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1064
1084
  color: e.FINAL_CONFIG.chart.color,
1065
- isPrinting: i.isPrinting,
1066
- isImaging: i.isImaging,
1067
- uid: i.uniqueId,
1085
+ isPrinting: a.isPrinting,
1086
+ isImaging: a.isImaging,
1087
+ uid: a.uniqueId,
1068
1088
  hasTooltip: e.FINAL_CONFIG.chart.userOptions.buttons.tooltip && e.FINAL_CONFIG.chart.tooltip.show,
1069
1089
  hasPdf: e.FINAL_CONFIG.chart.userOptions.buttons.pdf,
1070
1090
  hasXls: e.FINAL_CONFIG.chart.userOptions.buttons.csv,
@@ -1073,12 +1093,14 @@ function Ba(t, s, c, N, i, e) {
1073
1093
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
1074
1094
  hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1075
1095
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1076
- isStacked: i.mutableConfig.isStacked,
1077
- isFullscreen: i.isFullscreen,
1096
+ isStacked: a.mutableConfig.isStacked,
1097
+ isFullscreen: a.isFullscreen,
1078
1098
  chartElement: t.$refs.chart,
1079
1099
  position: e.FINAL_CONFIG.chart.userOptions.position,
1080
- isTooltip: i.mutableConfig.showTooltip,
1100
+ isTooltip: a.mutableConfig.showTooltip,
1081
1101
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
1102
+ hasAnnotator: e.FINAL_CONFIG.chart.userOptions.buttons.annotator,
1103
+ isAnnotation: a.isAnnotator,
1082
1104
  onToggleFullscreen: e.toggleFullscreen,
1083
1105
  onGeneratePdf: e.generatePdf,
1084
1106
  onGenerateCsv: e.generateCsv,
@@ -1086,76 +1108,84 @@ function Ba(t, s, c, N, i, e) {
1086
1108
  onToggleTable: e.toggleTable,
1087
1109
  onToggleLabels: e.toggleLabels,
1088
1110
  onToggleStack: e.toggleStack,
1089
- onToggleTooltip: e.toggleTooltip
1090
- }, Re({ _: 2 }, [
1111
+ onToggleTooltip: e.toggleTooltip,
1112
+ onToggleAnnotator: e.toggleAnnotator
1113
+ }, De({ _: 2 }, [
1091
1114
  t.$slots.optionTooltip ? {
1092
1115
  name: "optionTooltip",
1093
- fn: z(() => [
1094
- G(t.$slots, "optionTooltip", {}, void 0, !0)
1116
+ fn: M(() => [
1117
+ w(t.$slots, "optionTooltip", {}, void 0, !0)
1095
1118
  ]),
1096
1119
  key: "0"
1097
1120
  } : void 0,
1098
1121
  t.$slots.optionPdf ? {
1099
1122
  name: "optionPdf",
1100
- fn: z(() => [
1101
- G(t.$slots, "optionPdf", {}, void 0, !0)
1123
+ fn: M(() => [
1124
+ w(t.$slots, "optionPdf", {}, void 0, !0)
1102
1125
  ]),
1103
1126
  key: "1"
1104
1127
  } : void 0,
1105
1128
  t.$slots.optionCsv ? {
1106
1129
  name: "optionCsv",
1107
- fn: z(() => [
1108
- G(t.$slots, "optionCsv", {}, void 0, !0)
1130
+ fn: M(() => [
1131
+ w(t.$slots, "optionCsv", {}, void 0, !0)
1109
1132
  ]),
1110
1133
  key: "2"
1111
1134
  } : void 0,
1112
1135
  t.$slots.optionImg ? {
1113
1136
  name: "optionImg",
1114
- fn: z(() => [
1115
- G(t.$slots, "optionImg", {}, void 0, !0)
1137
+ fn: M(() => [
1138
+ w(t.$slots, "optionImg", {}, void 0, !0)
1116
1139
  ]),
1117
1140
  key: "3"
1118
1141
  } : void 0,
1119
1142
  t.$slots.optionTable ? {
1120
1143
  name: "optionTable",
1121
- fn: z(() => [
1122
- G(t.$slots, "optionTable", {}, void 0, !0)
1144
+ fn: M(() => [
1145
+ w(t.$slots, "optionTable", {}, void 0, !0)
1123
1146
  ]),
1124
1147
  key: "4"
1125
1148
  } : void 0,
1126
1149
  t.$slots.optionLabels ? {
1127
1150
  name: "optionLabels",
1128
- fn: z(() => [
1129
- G(t.$slots, "optionLabels", {}, void 0, !0)
1151
+ fn: M(() => [
1152
+ w(t.$slots, "optionLabels", {}, void 0, !0)
1130
1153
  ]),
1131
1154
  key: "5"
1132
1155
  } : void 0,
1133
1156
  t.$slots.optionStack ? {
1134
1157
  name: "optionStack",
1135
- fn: z(() => [
1136
- G(t.$slots, "optionStack", {}, void 0, !0)
1158
+ fn: M(() => [
1159
+ w(t.$slots, "optionStack", {}, void 0, !0)
1137
1160
  ]),
1138
1161
  key: "6"
1139
1162
  } : void 0,
1140
1163
  t.$slots.optionFullscreen ? {
1141
1164
  name: "optionFullscreen",
1142
- fn: z(({ toggleFullscreen: a, isFullscreen: o }) => [
1143
- G(t.$slots, "optionFullscreen", B(Y({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
1165
+ fn: M(({ toggleFullscreen: i, isFullscreen: o }) => [
1166
+ w(t.$slots, "optionFullscreen", H(E({ toggleFullscreen: i, isFullscreen: o })), void 0, !0)
1144
1167
  ]),
1145
1168
  key: "7"
1169
+ } : void 0,
1170
+ t.$slots.optionAnnotator ? {
1171
+ name: "optionAnnotator",
1172
+ fn: M(({ toggleAnnotator: i, isAnnotator: o }) => [
1173
+ w(t.$slots, "optionAnnotator", H(E({ toggleAnnotator: i, isAnnotator: o })), void 0, !0)
1174
+ ]),
1175
+ key: "8"
1146
1176
  } : void 0
1147
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : h("", !0),
1177
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator"])) : h("", !0),
1148
1178
  e.isDataset ? (r(), l("svg", {
1149
- key: 2,
1179
+ key: 3,
1150
1180
  xmlns: "http://www.w3.org/2000/svg",
1151
- class: P([{ "vue-data-ui-fullscreen--on": i.isFullscreen, "vue-data-ui-fulscreen--off": !i.isFullscreen }, "vue-ui-xy-svg"]),
1181
+ class: V([{ "vue-data-ui-fullscreen--on": a.isFullscreen, "vue-data-ui-fulscreen--off": !a.isFullscreen }, "vue-ui-xy-svg"]),
1152
1182
  width: "100%",
1153
- viewBox: i.viewBox,
1154
- style: A(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1183
+ viewBox: a.viewBox,
1184
+ style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1155
1185
  }, [
1156
- X(k),
1157
- e.maxSeries > 0 ? (r(), l("g", Ue, [
1158
- g("g", Ze, [
1186
+ X(m),
1187
+ e.maxSeries > 0 ? (r(), l("g", Ze, [
1188
+ u("g", Je, [
1159
1189
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
1160
1190
  key: 0,
1161
1191
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1165,17 +1195,17 @@ function Ba(t, s, c, N, i, e) {
1165
1195
  y1: e.drawingArea.bottom,
1166
1196
  y2: e.drawingArea.bottom,
1167
1197
  "stroke-linecap": "round"
1168
- }, null, 8, Je)) : h("", !0),
1169
- i.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(m, { key: 2 }, I(e.allScales, (a) => (r(), l("g", null, [
1170
- a.id === i.selectedScale && a.yLabels.length ? (r(!0), l(m, { key: 0 }, I(a.yLabels, (o) => (r(), l("line", {
1198
+ }, null, 8, Ke)) : h("", !0),
1199
+ a.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (i) => (r(), l("g", null, [
1200
+ i.id === a.selectedScale && i.yLabels.length ? (r(!0), l(N, { key: 0 }, I(i.yLabels, (o) => (r(), l("line", {
1171
1201
  x1: e.drawingArea.left + e.xPadding,
1172
1202
  x2: e.drawingArea.right - e.xPadding,
1173
1203
  y1: e.checkNaN(o.y),
1174
1204
  y2: e.checkNaN(o.y),
1175
- stroke: a.color,
1205
+ stroke: i.color,
1176
1206
  "stroke-width": 0.5,
1177
1207
  "stroke-linecap": "round"
1178
- }, null, 8, $e))), 256)) : a.yLabels.length ? (r(!0), l(m, { key: 1 }, I(a.yLabels, (o) => (r(), l("line", {
1208
+ }, null, 8, et))), 256)) : i.yLabels.length ? (r(!0), l(N, { key: 1 }, I(i.yLabels, (o) => (r(), l("line", {
1179
1209
  x1: e.drawingArea.left + e.xPadding,
1180
1210
  x2: e.drawingArea.right - e.xPadding,
1181
1211
  y1: e.checkNaN(o.y),
@@ -1183,8 +1213,8 @@ function Ba(t, s, c, N, i, e) {
1183
1213
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1184
1214
  "stroke-width": 0.5,
1185
1215
  "stroke-linecap": "round"
1186
- }, null, 8, et))), 256)) : h("", !0)
1187
- ]))), 256)) : h("", !0) : (r(), l(m, { key: 1 }, [
1216
+ }, null, 8, tt))), 256)) : h("", !0)
1217
+ ]))), 256)) : h("", !0) : (r(), l(N, { key: 1 }, [
1188
1218
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
1189
1219
  key: 0,
1190
1220
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1194,21 +1224,21 @@ function Ba(t, s, c, N, i, e) {
1194
1224
  y1: e.drawingArea.top,
1195
1225
  y2: e.drawingArea.bottom,
1196
1226
  "stroke-linecap": "round"
1197
- }, null, 8, Ke)) : h("", !0),
1198
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", Qe, [
1199
- (r(!0), l(m, null, I(e.yLabels, (a) => (r(), l("line", {
1227
+ }, null, 8, Qe)) : h("", !0),
1228
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", je, [
1229
+ (r(!0), l(N, null, I(e.yLabels, (i) => (r(), l("line", {
1200
1230
  x1: e.drawingArea.left + e.xPadding,
1201
1231
  x2: e.drawingArea.right - e.xPadding,
1202
- y1: e.checkNaN(a.y),
1203
- y2: e.checkNaN(a.y),
1232
+ y1: e.checkNaN(i.y),
1233
+ y2: e.checkNaN(i.y),
1204
1234
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1205
1235
  "stroke-width": 0.5,
1206
1236
  "stroke-linecap": "round"
1207
- }, null, 8, je))), 256))
1237
+ }, null, 8, $e))), 256))
1208
1238
  ])) : h("", !0)
1209
1239
  ], 64)),
1210
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", tt, [
1211
- (r(!0), l(m, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (r(), l("line", {
1240
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", at, [
1241
+ (r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, o) => (r(), l("line", {
1212
1242
  key: `grid_vertical_line_${o}`,
1213
1243
  x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
1214
1244
  x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
@@ -1216,185 +1246,185 @@ function Ba(t, s, c, N, i, e) {
1216
1246
  y2: e.drawingArea.bottom,
1217
1247
  "stroke-width": "0.5",
1218
1248
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1219
- }, null, 8, at))), 128))
1249
+ }, null, 8, it))), 128))
1220
1250
  ])) : h("", !0)
1221
1251
  ]),
1222
- (r(!0), l(m, null, I(e.barSet, (a, o) => (r(), l("defs", {
1252
+ (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("defs", {
1223
1253
  key: `def_rect_${o}`
1224
1254
  }, [
1225
- g("linearGradient", {
1226
- id: `rectGradient_pos_${o}_${i.uniqueId}`,
1255
+ u("linearGradient", {
1256
+ id: `rectGradient_pos_${o}_${a.uniqueId}`,
1227
1257
  x2: "0%",
1228
1258
  y2: "100%"
1229
1259
  }, [
1230
- g("stop", {
1260
+ u("stop", {
1231
1261
  offset: "0%",
1232
- "stop-color": a.color
1233
- }, null, 8, rt),
1234
- g("stop", {
1235
- offset: "62%",
1236
- "stop-color": `${e.shiftHue(a.color, 0.02)}`
1262
+ "stop-color": i.color
1237
1263
  }, null, 8, lt),
1238
- g("stop", {
1264
+ u("stop", {
1265
+ offset: "62%",
1266
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1267
+ }, null, 8, st),
1268
+ u("stop", {
1239
1269
  offset: "100%",
1240
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1241
- }, null, 8, st)
1242
- ], 8, it),
1243
- g("linearGradient", {
1244
- id: `rectGradient_neg_${o}_${i.uniqueId}`,
1270
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1271
+ }, null, 8, nt)
1272
+ ], 8, rt),
1273
+ u("linearGradient", {
1274
+ id: `rectGradient_neg_${o}_${a.uniqueId}`,
1245
1275
  x2: "0%",
1246
1276
  y2: "100%"
1247
1277
  }, [
1248
- g("stop", {
1278
+ u("stop", {
1249
1279
  offset: "0%",
1250
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1251
- }, null, 8, ot),
1252
- g("stop", {
1253
- offset: "38%",
1254
- "stop-color": `${e.shiftHue(a.color, 0.02)}`
1280
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1255
1281
  }, null, 8, ct),
1256
- g("stop", {
1282
+ u("stop", {
1283
+ offset: "38%",
1284
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1285
+ }, null, 8, ht),
1286
+ u("stop", {
1257
1287
  offset: "100%",
1258
- "stop-color": a.color
1259
- }, null, 8, ht)
1260
- ], 8, nt)
1288
+ "stop-color": i.color
1289
+ }, null, 8, dt)
1290
+ ], 8, ot)
1261
1291
  ]))), 128)),
1262
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("defs", {
1292
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("defs", {
1263
1293
  key: `def_plot_${o}`
1264
1294
  }, [
1265
- g("radialGradient", {
1266
- id: `plotGradient_${o}_${i.uniqueId}`,
1295
+ u("radialGradient", {
1296
+ id: `plotGradient_${o}_${a.uniqueId}`,
1267
1297
  cx: "50%",
1268
1298
  cy: "50%",
1269
1299
  r: "50%",
1270
1300
  fx: "50%",
1271
1301
  fy: "50%"
1272
1302
  }, [
1273
- g("stop", {
1303
+ u("stop", {
1274
1304
  offset: "0%",
1275
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1276
- }, null, 8, ut),
1277
- g("stop", {
1305
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1306
+ }, null, 8, gt),
1307
+ u("stop", {
1278
1308
  offset: "100%",
1279
- "stop-color": a.color
1280
- }, null, 8, gt)
1281
- ], 8, dt)
1309
+ "stop-color": i.color
1310
+ }, null, 8, ft)
1311
+ ], 8, ut)
1282
1312
  ]))), 128)),
1283
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("defs", {
1313
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("defs", {
1284
1314
  key: `def_line_${o}`
1285
1315
  }, [
1286
- g("radialGradient", {
1287
- id: `lineGradient_${o}_${i.uniqueId}`,
1316
+ u("radialGradient", {
1317
+ id: `lineGradient_${o}_${a.uniqueId}`,
1288
1318
  cx: "50%",
1289
1319
  cy: "50%",
1290
1320
  r: "50%",
1291
1321
  fx: "50%",
1292
1322
  fy: "50%"
1293
1323
  }, [
1294
- g("stop", {
1324
+ u("stop", {
1295
1325
  offset: "0%",
1296
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1297
- }, null, 8, Nt),
1298
- g("stop", {
1326
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1327
+ }, null, 8, mt),
1328
+ u("stop", {
1299
1329
  offset: "100%",
1300
- "stop-color": a.color
1301
- }, null, 8, mt)
1302
- ], 8, ft),
1303
- g("linearGradient", {
1304
- id: `areaGradient_${o}_${i.uniqueId}`,
1330
+ "stop-color": i.color
1331
+ }, null, 8, It)
1332
+ ], 8, Nt),
1333
+ u("linearGradient", {
1334
+ id: `areaGradient_${o}_${a.uniqueId}`,
1305
1335
  x1: "0%",
1306
1336
  x2: "100%",
1307
1337
  y1: "0%",
1308
1338
  y2: "0%"
1309
1339
  }, [
1310
- g("stop", {
1340
+ u("stop", {
1311
1341
  offset: "0%",
1312
- "stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1313
- }, null, 8, xt),
1314
- g("stop", {
1342
+ "stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1343
+ }, null, 8, bt),
1344
+ u("stop", {
1315
1345
  offset: "100%",
1316
- "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1317
- }, null, 8, bt)
1318
- ], 8, It)
1346
+ "stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
1347
+ }, null, 8, Ft)
1348
+ ], 8, xt)
1319
1349
  ]))), 128)),
1320
- (r(!0), l(m, null, I(e.highlightAreas, (a) => (r(), l("g", null, [
1321
- a.show ? (r(!0), l(m, { key: 0 }, I(a.span, (o, n) => (r(), l("g", null, [
1322
- g("rect", {
1323
- style: A({
1350
+ (r(!0), l(N, null, I(e.highlightAreas, (i) => (r(), l("g", null, [
1351
+ i.show ? (r(!0), l(N, { key: 0 }, I(i.span, (o, n) => (r(), l("g", null, [
1352
+ u("rect", {
1353
+ style: C({
1324
1354
  transition: "none",
1325
- opacity: a.from + n >= i.slicer.start && a.from + n <= i.slicer.end - 1 ? 1 : 0
1355
+ opacity: i.from + n >= a.slicer.start && i.from + n <= a.slicer.end - 1 ? 1 : 0
1326
1356
  }),
1327
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - i.slicer.start),
1357
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start),
1328
1358
  y: e.drawingArea.top,
1329
1359
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1330
1360
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1331
- fill: e.setOpacity(a.color, a.opacity)
1332
- }, null, 12, Ft),
1333
- a.caption.text && n === 0 ? (r(), l("foreignObject", {
1361
+ fill: e.setOpacity(i.color, i.opacity)
1362
+ }, null, 12, _t),
1363
+ i.caption.text && n === 0 ? (r(), l("foreignObject", {
1334
1364
  key: 0,
1335
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - i.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
1336
- y: e.drawingArea.top + a.caption.offsetY,
1337
- style: A({
1365
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start) - (i.caption.width === "auto" ? 0 : i.caption.width / 2 - e.drawingArea.width / e.maxSeries * i.span / 2),
1366
+ y: e.drawingArea.top + i.caption.offsetY,
1367
+ style: C({
1338
1368
  overflow: "visible",
1339
- opacity: a.to >= i.slicer.start && a.from < i.slicer.end ? 1 : 0
1369
+ opacity: i.to >= a.slicer.start && i.from < a.slicer.end ? 1 : 0
1340
1370
  }),
1341
1371
  height: "1",
1342
- width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1372
+ width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
1343
1373
  }, [
1344
- g("div", {
1345
- style: A(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
1346
- }, S(a.caption.text), 5)
1347
- ], 12, _t)) : h("", !0)
1374
+ u("div", {
1375
+ style: C(`padding:${i.caption.padding}px;text-align:${i.caption.textAlign};font-size:${i.caption.fontSize}px;color:${i.caption.color};font-weight:${i.caption.bold ? "bold" : "normal"}`)
1376
+ }, S(i.caption.text), 5)
1377
+ ], 12, yt)) : h("", !0)
1348
1378
  ]))), 256)) : h("", !0)
1349
1379
  ]))), 256)),
1350
- g("g", null, [
1351
- (r(!0), l(m, null, I(e.maxSeries, (a, o) => (r(), l("g", {
1380
+ u("g", null, [
1381
+ (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
1352
1382
  key: `tooltip_trap_${o}`
1353
1383
  }, [
1354
- g("rect", {
1384
+ u("rect", {
1355
1385
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
1356
1386
  y: e.drawingArea.top,
1357
1387
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1358
1388
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1359
- fill: [i.selectedMinimapIndex, i.selectedSerieIndex, i.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1360
- }, null, 8, yt)
1389
+ fill: [a.selectedMinimapIndex, a.selectedSerieIndex, a.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1390
+ }, null, 8, At)
1361
1391
  ]))), 128))
1362
1392
  ]),
1363
- e.barSet.length ? (r(!0), l(m, { key: 0 }, I(e.barSet, (a, o) => (r(), l("g", {
1393
+ e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (i, o) => (r(), l("g", {
1364
1394
  key: `serie_bar_${o}`,
1365
- class: P(`serie_bar_${o}`),
1366
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1395
+ class: V(`serie_bar_${o}`),
1396
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1367
1397
  }, [
1368
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1369
- key: `bar_plot_${o}_${u}`
1398
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1399
+ key: `bar_plot_${o}_${g}`
1370
1400
  }, [
1371
1401
  e.canShowValue(n.value) ? (r(), l("rect", {
1372
1402
  key: 0,
1373
1403
  x: e.calcRectX(n),
1374
- y: i.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1375
- height: i.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1376
- width: e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1404
+ y: a.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1405
+ height: a.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1406
+ width: e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1377
1407
  rx: e.FINAL_CONFIG.bar.borderRadius,
1378
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${i.uniqueId})` : `url(#rectGradient_neg_${o}_${i.uniqueId})` : a.color,
1379
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1408
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${a.uniqueId})` : `url(#rectGradient_neg_${o}_${a.uniqueId})` : i.color,
1409
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1380
1410
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1381
- }, null, 8, At)) : h("", !0),
1411
+ }, null, 8, Ct)) : h("", !0),
1382
1412
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
1383
1413
  key: 1,
1384
1414
  style: { overflow: "visible" },
1385
1415
  height: "12",
1386
- width: (e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1416
+ width: (e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1387
1417
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1388
1418
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1389
1419
  }, [
1390
- G(t.$slots, "plot-comment", {
1391
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1420
+ w(t.$slots, "plot-comment", {
1421
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1392
1422
  }, void 0, !0)
1393
1423
  ], 8, Lt)) : h("", !0)
1394
1424
  ]))), 128)),
1395
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", Ct, [
1396
- g("defs", null, [
1397
- g("marker", {
1425
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", St, [
1426
+ u("defs", null, [
1427
+ u("marker", {
1398
1428
  id: `bar_arrow_${o}`,
1399
1429
  markerWidth: 7,
1400
1430
  markerHeight: 7,
@@ -1402,38 +1432,38 @@ function Ba(t, s, c, N, i, e) {
1402
1432
  refY: 7 / 2,
1403
1433
  orient: "auto"
1404
1434
  }, [
1405
- g("polygon", {
1435
+ u("polygon", {
1406
1436
  points: `0 0, 7 ${7 / 2}, 0 7`,
1407
- fill: a.color
1408
- }, null, 8, kt)
1409
- ], 8, St)
1437
+ fill: i.color
1438
+ }, null, 8, wt)
1439
+ ], 8, kt)
1410
1440
  ]),
1411
- a.plots.length > 1 ? (r(), l("line", {
1441
+ i.plots.length > 1 ? (r(), l("line", {
1412
1442
  key: 0,
1413
- x1: e.calcLinearProgression(a.plots).x1,
1414
- x2: e.calcLinearProgression(a.plots).x2,
1415
- y1: e.calcLinearProgression(a.plots).y1,
1416
- y2: e.calcLinearProgression(a.plots).y2,
1443
+ x1: e.calcLinearProgression(i.plots).x1,
1444
+ x2: e.calcLinearProgression(i.plots).x2,
1445
+ y1: e.calcLinearProgression(i.plots).y1,
1446
+ y2: e.calcLinearProgression(i.plots).y2,
1417
1447
  "stroke-width": 1,
1418
- stroke: a.color,
1448
+ stroke: i.color,
1419
1449
  "stroke-dasharray": 2,
1420
1450
  "marker-end": `url(#bar_arrow_${o})`
1421
- }, null, 8, wt)) : h("", !0),
1422
- a.plots.length > 1 ? (r(), l("text", {
1451
+ }, null, 8, Ot)) : h("", !0),
1452
+ i.plots.length > 1 ? (r(), l("text", {
1423
1453
  key: 1,
1424
1454
  "text-anchor": "middle",
1425
- x: e.calcLinearProgression(a.plots).x2,
1426
- y: e.calcLinearProgression(a.plots).y2 - 6,
1427
- "font-size": i.fontSizes.plotLabels,
1428
- fill: a.color
1455
+ x: e.calcLinearProgression(i.plots).x2,
1456
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1457
+ "font-size": a.fontSizes.plotLabels,
1458
+ fill: i.color
1429
1459
  }, S(e.dataLabel({
1430
- v: e.calcLinearProgression(a.plots).trend * 100,
1460
+ v: e.calcLinearProgression(i.plots).trend * 100,
1431
1461
  s: "%",
1432
1462
  r: 2
1433
- })), 9, Ot)) : h("", !0)
1463
+ })), 9, Gt)) : h("", !0)
1434
1464
  ])) : h("", !0)
1435
1465
  ], 6))), 128)) : h("", !0),
1436
- !i.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1466
+ !a.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1437
1467
  key: 1,
1438
1468
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1439
1469
  "stroke-width": "1",
@@ -1442,11 +1472,11 @@ function Ba(t, s, c, N, i, e) {
1442
1472
  y1: e.checkNaN(e.zero),
1443
1473
  y2: e.checkNaN(e.zero),
1444
1474
  "stroke-linecap": "round"
1445
- }, null, 8, Gt)) : h("", !0),
1446
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(i.selectedSerieIndex) || i.selectedMinimapIndex !== null) ? (r(), l("g", vt, [
1447
- g("line", {
1448
- x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1449
- x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1475
+ }, null, 8, vt)) : h("", !0),
1476
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g", pt, [
1477
+ u("line", {
1478
+ x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1479
+ x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1450
1480
  y1: e.drawingArea.top,
1451
1481
  y2: e.drawingArea.bottom,
1452
1482
  stroke: e.FINAL_CONFIG.chart.highlighter.color,
@@ -1454,7 +1484,7 @@ function Ba(t, s, c, N, i, e) {
1454
1484
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1455
1485
  "stroke-linecap": "round",
1456
1486
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1457
- }, null, 8, pt)
1487
+ }, null, 8, zt)
1458
1488
  ])) : h("", !0),
1459
1489
  e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
1460
1490
  key: 3,
@@ -1469,45 +1499,45 @@ function Ba(t, s, c, N, i, e) {
1469
1499
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1470
1500
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1471
1501
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1472
- }, null, 8, zt)) : h("", !0),
1473
- e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Mt, [
1474
- i.mutableConfig.useIndividualScale ? (r(), l(m, { key: 0 }, [
1475
- (r(!0), l(m, null, I(e.allScales, (a) => (r(), l("g", null, [
1476
- g("line", {
1477
- x1: a.x + e.xPadding,
1478
- x2: a.x + e.xPadding,
1479
- y1: i.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset - a.individualHeight) : e.checkNaN(e.drawingArea.top),
1480
- y2: i.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset) : e.checkNaN(e.drawingArea.bottom),
1481
- stroke: a.color,
1502
+ }, null, 8, Mt)) : h("", !0),
1503
+ e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Pt, [
1504
+ a.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
1505
+ (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", null, [
1506
+ u("line", {
1507
+ x1: i.x + e.xPadding,
1508
+ x2: i.x + e.xPadding,
1509
+ y1: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.checkNaN(e.drawingArea.top),
1510
+ y2: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset) : e.checkNaN(e.drawingArea.bottom),
1511
+ stroke: i.color,
1482
1512
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1483
1513
  "stroke-linecap": "round",
1484
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1485
- }, null, 12, Pt)
1514
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1515
+ }, null, 12, Tt)
1486
1516
  ]))), 256)),
1487
- (r(!0), l(m, null, I(e.allScales, (a) => (r(), l("g", {
1488
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1517
+ (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", {
1518
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1489
1519
  }, [
1490
- g("text", {
1491
- fill: a.color,
1492
- "font-size": i.fontSizes.dataLabels,
1520
+ u("text", {
1521
+ fill: i.color,
1522
+ "font-size": a.fontSizes.dataLabels,
1493
1523
  "text-anchor": "middle",
1494
- transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${i.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1495
- }, S(a.name) + " " + S(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Tt),
1496
- (r(!0), l(m, null, I(a.yLabels, (o, n) => (r(), l("line", {
1497
- x1: a.x - 3 + e.xPadding,
1498
- x2: a.x + e.xPadding,
1524
+ transform: `translate(${i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset - i.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1525
+ }, S(i.name) + " " + S(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, Vt),
1526
+ (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("line", {
1527
+ x1: i.x - 3 + e.xPadding,
1528
+ x2: i.x + e.xPadding,
1499
1529
  y1: e.checkNaN(o.y),
1500
1530
  y2: e.checkNaN(o.y),
1501
- stroke: a.color,
1531
+ stroke: i.color,
1502
1532
  "stroke-width": 1,
1503
1533
  "stroke-linecap": "round"
1504
- }, null, 8, Vt))), 256)),
1505
- (r(!0), l(m, null, I(a.yLabels, (o, n) => (r(), l("text", {
1506
- x: a.x - 5 + e.xPadding,
1507
- y: e.checkNaN(o.y) + i.fontSizes.dataLabels / 3,
1508
- "font-size": i.fontSizes.dataLabels,
1534
+ }, null, 8, Rt))), 256)),
1535
+ (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("text", {
1536
+ x: i.x - 5 + e.xPadding,
1537
+ y: e.checkNaN(o.y) + a.fontSizes.dataLabels / 3,
1538
+ "font-size": a.fontSizes.dataLabels,
1509
1539
  "text-anchor": "end",
1510
- fill: a.color
1540
+ fill: i.color
1511
1541
  }, S(e.applyDataLabel(
1512
1542
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1513
1543
  o.value,
@@ -1518,55 +1548,55 @@ function Ba(t, s, c, N, i, e) {
1518
1548
  r: 1
1519
1549
  }),
1520
1550
  { datapoint: o.datapoint, seriesIndex: n }
1521
- )), 9, Rt))), 256))
1551
+ )), 9, Dt))), 256))
1522
1552
  ], 4))), 256))
1523
- ], 64)) : (r(!0), l(m, { key: 1 }, I(e.yLabels, (a, o) => (r(), l("g", {
1553
+ ], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (i, o) => (r(), l("g", {
1524
1554
  key: `yLabel_${o}`
1525
1555
  }, [
1526
- e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("line", {
1556
+ e.canShowValue(i) && i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("line", {
1527
1557
  key: 0,
1528
1558
  x1: e.drawingArea.left + e.xPadding,
1529
1559
  x2: e.drawingArea.left - 5 + e.xPadding,
1530
- y1: e.checkNaN(a.y),
1531
- y2: e.checkNaN(a.y),
1560
+ y1: e.checkNaN(i.y),
1561
+ y2: e.checkNaN(i.y),
1532
1562
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1533
1563
  "stroke-width": "1",
1534
1564
  "stroke-linecap": "round"
1535
- }, null, 8, Dt)) : h("", !0),
1536
- a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("text", {
1565
+ }, null, 8, Wt)) : h("", !0),
1566
+ i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("text", {
1537
1567
  key: 1,
1538
1568
  x: e.drawingArea.left - 7 + e.xPadding,
1539
- y: e.checkNaN(a.y + i.fontSizes.dataLabels / 3),
1540
- "font-size": i.fontSizes.dataLabels,
1569
+ y: e.checkNaN(i.y + a.fontSizes.dataLabels / 3),
1570
+ "font-size": a.fontSizes.dataLabels,
1541
1571
  "text-anchor": "end",
1542
1572
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1543
- }, S(e.canShowValue(a.value) ? e.applyDataLabel(
1573
+ }, S(e.canShowValue(i.value) ? e.applyDataLabel(
1544
1574
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1545
- a.value,
1575
+ i.value,
1546
1576
  e.dataLabel({
1547
- p: a.prefix,
1548
- v: a.value,
1549
- s: a.suffix,
1577
+ p: i.prefix,
1578
+ v: i.value,
1579
+ s: i.suffix,
1550
1580
  r: 1
1551
1581
  })
1552
- ) : ""), 9, Wt)) : h("", !0)
1582
+ ) : ""), 9, Ht)) : h("", !0)
1553
1583
  ]))), 128))
1554
1584
  ])) : h("", !0),
1555
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("g", {
1585
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1556
1586
  key: `serie_plot_${o}`,
1557
- class: P(`serie_plot_${o}`),
1558
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1587
+ class: V(`serie_plot_${o}`),
1588
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1559
1589
  }, [
1560
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1561
- key: `circle_plot_${o}_${u}`
1590
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1591
+ key: `circle_plot_${o}_${g}`
1562
1592
  }, [
1563
- n && e.canShowValue(n.value) ? (r(), R(f, {
1593
+ n && e.canShowValue(n.value) ? (r(), D(b, {
1564
1594
  key: 0,
1565
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1566
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${i.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
1595
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1596
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${a.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? i.color : e.FINAL_CONFIG.plot.dot.fill,
1567
1597
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1568
- radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === u || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === u ? (i.plotRadii.plot || 6) * 1.5 : i.plotRadii.plot || 6,
1569
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1598
+ radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === g || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === g ? (a.plotRadii.plot || 6) * 1.5 : a.plotRadii.plot || 6,
1599
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1570
1600
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1571
1601
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1572
1602
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
@@ -1577,16 +1607,16 @@ function Ba(t, s, c, N, i, e) {
1577
1607
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1578
1608
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1579
1609
  }, [
1580
- g("div", Et, [
1581
- G(t.$slots, "plot-comment", {
1582
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1610
+ u("div", Bt, [
1611
+ w(t.$slots, "plot-comment", {
1612
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1583
1613
  }, void 0, !0)
1584
1614
  ])
1585
- ], 8, Ht)) : h("", !0)
1615
+ ], 8, Et)) : h("", !0)
1586
1616
  ]))), 128)),
1587
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", Bt, [
1588
- g("defs", null, [
1589
- g("marker", {
1617
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", Yt, [
1618
+ u("defs", null, [
1619
+ u("marker", {
1590
1620
  id: `plot_arrow_${o}`,
1591
1621
  markerWidth: 7,
1592
1622
  markerHeight: 7,
@@ -1594,119 +1624,119 @@ function Ba(t, s, c, N, i, e) {
1594
1624
  refY: 7 / 2,
1595
1625
  orient: "auto"
1596
1626
  }, [
1597
- g("polygon", {
1627
+ u("polygon", {
1598
1628
  points: `0 0, 7 ${7 / 2}, 0 7`,
1599
- fill: a.color
1600
- }, null, 8, Xt)
1601
- ], 8, Yt)
1629
+ fill: i.color
1630
+ }, null, 8, qt)
1631
+ ], 8, Xt)
1602
1632
  ]),
1603
- a.plots.length > 1 ? (r(), l("line", {
1633
+ i.plots.length > 1 ? (r(), l("line", {
1604
1634
  key: 0,
1605
- x1: e.calcLinearProgression(a.plots).x1,
1606
- x2: e.calcLinearProgression(a.plots).x2,
1607
- y1: e.calcLinearProgression(a.plots).y1,
1608
- y2: e.calcLinearProgression(a.plots).y2,
1635
+ x1: e.calcLinearProgression(i.plots).x1,
1636
+ x2: e.calcLinearProgression(i.plots).x2,
1637
+ y1: e.calcLinearProgression(i.plots).y1,
1638
+ y2: e.calcLinearProgression(i.plots).y2,
1609
1639
  "stroke-width": 1,
1610
- stroke: a.color,
1640
+ stroke: i.color,
1611
1641
  "stroke-dasharray": 2,
1612
1642
  "marker-end": `url(#plot_arrow_${o})`
1613
- }, null, 8, qt)) : h("", !0),
1614
- a.plots.length > 1 ? (r(), l("text", {
1643
+ }, null, 8, Ut)) : h("", !0),
1644
+ i.plots.length > 1 ? (r(), l("text", {
1615
1645
  key: 1,
1616
1646
  "text-anchor": "middle",
1617
- x: e.calcLinearProgression(a.plots).x2,
1618
- y: e.calcLinearProgression(a.plots).y2 - 6,
1619
- "font-size": i.fontSizes.plotLabels,
1620
- fill: a.color
1647
+ x: e.calcLinearProgression(i.plots).x2,
1648
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1649
+ "font-size": a.fontSizes.plotLabels,
1650
+ fill: i.color
1621
1651
  }, S(e.dataLabel({
1622
- v: e.calcLinearProgression(a.plots).trend * 100,
1652
+ v: e.calcLinearProgression(i.plots).trend * 100,
1623
1653
  s: "%",
1624
1654
  r: 2
1625
- })), 9, Ut)) : h("", !0)
1655
+ })), 9, Zt)) : h("", !0)
1626
1656
  ])) : h("", !0)
1627
1657
  ], 6))), 128)),
1628
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1658
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1629
1659
  key: `serie_line_${o}`,
1630
- class: P(`serie_line_${o}`),
1631
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1660
+ class: V(`serie_line_${o}`),
1661
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1632
1662
  }, [
1633
- a.smooth && a.plots.length > 1 ? (r(), l("path", {
1663
+ i.smooth && i.plots.length > 1 ? (r(), l("path", {
1634
1664
  key: 0,
1635
- d: `M${a.curve}`,
1665
+ d: `M${i.curve}`,
1636
1666
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1637
1667
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1638
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1668
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1639
1669
  fill: "none"
1640
- }, null, 8, Zt)) : a.plots.length > 1 ? (r(), l("g", Jt, [
1641
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1642
- key: `line_${o}_${u}`
1670
+ }, null, 8, Jt)) : i.plots.length > 1 ? (r(), l("g", Kt, [
1671
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1672
+ key: `line_${o}_${g}`
1643
1673
  }, [
1644
- n && u < a.plots.length - 1 && a.plots[u + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[u + 1].value) ? (r(), l("line", {
1674
+ n && g < i.plots.length - 1 && i.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(i.plots[g + 1].value) ? (r(), l("line", {
1645
1675
  key: 0,
1646
1676
  x1: n.x,
1647
- x2: a.plots[u + 1].x,
1677
+ x2: i.plots[g + 1].x,
1648
1678
  y1: n.y,
1649
- y2: a.plots[u + 1].y,
1679
+ y2: i.plots[g + 1].y,
1650
1680
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1651
1681
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1652
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1682
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1653
1683
  "stroke-linejoin": "round",
1654
1684
  "stroke-linecap": "round"
1655
- }, null, 8, Kt)) : h("", !0)
1685
+ }, null, 8, Qt)) : h("", !0)
1656
1686
  ]))), 128))
1657
1687
  ])) : h("", !0)
1658
1688
  ], 6))), 128)),
1659
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1689
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1660
1690
  key: `serie_line_${o}`,
1661
- class: P(`serie_line_${o}`),
1662
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1691
+ class: V(`serie_line_${o}`),
1692
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1663
1693
  }, [
1664
- a.useArea && a.plots.length > 1 ? (r(), l("g", Qt, [
1665
- a.smooth ? (r(), l("path", {
1694
+ i.useArea && i.plots.length > 1 ? (r(), l("g", jt, [
1695
+ i.smooth ? (r(), l("path", {
1666
1696
  key: 0,
1667
- d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${i.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${i.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
1668
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${i.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1669
- }, null, 8, jt)) : (r(), l("path", {
1697
+ d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} ${i.curve} L ${i.plots.at(-1) ? i.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
1698
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1699
+ }, null, 8, $t)) : (r(), l("path", {
1670
1700
  key: 1,
1671
- d: `M${a.area}Z`,
1672
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${i.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1673
- }, null, 8, $t))
1701
+ d: `M${i.area}Z`,
1702
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1703
+ }, null, 8, ea))
1674
1704
  ])) : h("", !0),
1675
- a.smooth && a.plots.length > 1 ? (r(), l("path", {
1705
+ i.smooth && i.plots.length > 1 ? (r(), l("path", {
1676
1706
  key: 1,
1677
- d: `M${a.curve}`,
1678
- stroke: a.color,
1707
+ d: `M${i.curve}`,
1708
+ stroke: i.color,
1679
1709
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1680
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1710
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1681
1711
  fill: "none"
1682
- }, null, 8, ea)) : a.plots.length > 1 ? (r(), l("g", ta, [
1683
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1684
- key: `line_${o}_${u}`
1712
+ }, null, 8, ta)) : i.plots.length > 1 ? (r(), l("g", aa, [
1713
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1714
+ key: `line_${o}_${g}`
1685
1715
  }, [
1686
- n && u < a.plots.length - 1 && a.plots[u + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[u + 1].value) ? (r(), l("line", {
1716
+ n && g < i.plots.length - 1 && i.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(i.plots[g + 1].value) ? (r(), l("line", {
1687
1717
  key: 0,
1688
1718
  x1: n.x,
1689
- x2: a.plots[u + 1].x,
1719
+ x2: i.plots[g + 1].x,
1690
1720
  y1: n.y,
1691
- y2: a.plots[u + 1].y,
1692
- stroke: a.color,
1721
+ y2: i.plots[g + 1].y,
1722
+ stroke: i.color,
1693
1723
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1694
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1724
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1695
1725
  "stroke-linejoin": "round",
1696
1726
  "stroke-linecap": "round"
1697
- }, null, 8, aa)) : h("", !0)
1727
+ }, null, 8, ia)) : h("", !0)
1698
1728
  ]))), 128))
1699
1729
  ])) : h("", !0),
1700
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1701
- key: `circle_line_${o}_${u}`
1730
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1731
+ key: `circle_line_${o}_${g}`
1702
1732
  }, [
1703
- n && e.canShowValue(n.value) ? (r(), R(f, {
1733
+ n && e.canShowValue(n.value) ? (r(), D(b, {
1704
1734
  key: 0,
1705
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1706
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${i.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
1735
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1736
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${a.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? i.color : e.FINAL_CONFIG.line.dot.fill,
1707
1737
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1708
- radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === u || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === u ? (i.plotRadii.line || 6) * 1.5 : i.plotRadii.line || 6,
1709
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1738
+ radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === g || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === g ? (a.plotRadii.line || 6) * 1.5 : a.plotRadii.line || 6,
1739
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1710
1740
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1711
1741
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1712
1742
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
@@ -1717,16 +1747,16 @@ function Ba(t, s, c, N, i, e) {
1717
1747
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1718
1748
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1719
1749
  }, [
1720
- g("div", ra, [
1721
- G(t.$slots, "plot-comment", {
1722
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1750
+ u("div", la, [
1751
+ w(t.$slots, "plot-comment", {
1752
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1723
1753
  }, void 0, !0)
1724
1754
  ])
1725
- ], 8, ia)) : h("", !0)
1755
+ ], 8, ra)) : h("", !0)
1726
1756
  ]))), 128)),
1727
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", la, [
1728
- g("defs", null, [
1729
- g("marker", {
1757
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", sa, [
1758
+ u("defs", null, [
1759
+ u("marker", {
1730
1760
  id: `line_arrow_${o}`,
1731
1761
  markerWidth: 7,
1732
1762
  markerHeight: 7,
@@ -1734,110 +1764,110 @@ function Ba(t, s, c, N, i, e) {
1734
1764
  refY: 7 / 2,
1735
1765
  orient: "auto"
1736
1766
  }, [
1737
- g("polygon", {
1767
+ u("polygon", {
1738
1768
  points: `0 0, 7 ${7 / 2}, 0 7`,
1739
- fill: a.color
1740
- }, null, 8, na)
1741
- ], 8, sa)
1769
+ fill: i.color
1770
+ }, null, 8, oa)
1771
+ ], 8, na)
1742
1772
  ]),
1743
- a.plots.length > 1 ? (r(), l("line", {
1773
+ i.plots.length > 1 ? (r(), l("line", {
1744
1774
  key: 0,
1745
- x1: e.calcLinearProgression(a.plots).x1,
1746
- x2: e.calcLinearProgression(a.plots).x2,
1747
- y1: e.calcLinearProgression(a.plots).y1,
1748
- y2: e.calcLinearProgression(a.plots).y2,
1775
+ x1: e.calcLinearProgression(i.plots).x1,
1776
+ x2: e.calcLinearProgression(i.plots).x2,
1777
+ y1: e.calcLinearProgression(i.plots).y1,
1778
+ y2: e.calcLinearProgression(i.plots).y2,
1749
1779
  "stroke-width": 1,
1750
- stroke: a.color,
1780
+ stroke: i.color,
1751
1781
  "stroke-dasharray": 2,
1752
1782
  "marker-end": `url(#line_arrow_${o})`
1753
- }, null, 8, oa)) : h("", !0),
1754
- a.plots.length > 1 ? (r(), l("text", {
1783
+ }, null, 8, ca)) : h("", !0),
1784
+ i.plots.length > 1 ? (r(), l("text", {
1755
1785
  key: 1,
1756
1786
  "text-anchor": "middle",
1757
- x: e.calcLinearProgression(a.plots).x2,
1758
- y: e.calcLinearProgression(a.plots).y2 - 6,
1759
- "font-size": i.fontSizes.plotLabels,
1760
- fill: a.color
1787
+ x: e.calcLinearProgression(i.plots).x2,
1788
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1789
+ "font-size": a.fontSizes.plotLabels,
1790
+ fill: i.color
1761
1791
  }, S(e.dataLabel({
1762
- v: e.calcLinearProgression(a.plots).trend * 100,
1792
+ v: e.calcLinearProgression(i.plots).trend * 100,
1763
1793
  s: "%",
1764
1794
  r: 2
1765
- })), 9, ca)) : h("", !0)
1795
+ })), 9, ha)) : h("", !0)
1766
1796
  ])) : h("", !0)
1767
1797
  ], 6))), 128)),
1768
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && i.mutableConfig.dataLabels.show ? (r(), l("g", ha, [
1769
- (r(!0), l(m, null, I(e.barSet, (a, o) => (r(), l("g", {
1798
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g", da, [
1799
+ (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("g", {
1770
1800
  key: `xLabel_bar_${o}`,
1771
- class: P(`xLabel_bar_${o}`),
1772
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1801
+ class: V(`xLabel_bar_${o}`),
1802
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1773
1803
  }, [
1774
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1775
- key: `xLabel_bar_${o}_${u}`
1804
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1805
+ key: `xLabel_bar_${o}_${g}`
1776
1806
  }, [
1777
- n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1807
+ n && (!Object.hasOwn(i, "dataLabels") || i.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1778
1808
  key: 0,
1779
- x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1809
+ x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1780
1810
  y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1781
1811
  "text-anchor": "middle",
1782
- "font-size": i.fontSizes.plotLabels,
1812
+ "font-size": a.fontSizes.plotLabels,
1783
1813
  fill: e.FINAL_CONFIG.bar.labels.color
1784
1814
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1785
1815
  e.FINAL_CONFIG.bar.labels.formatter,
1786
1816
  n.value,
1787
1817
  e.dataLabel({
1788
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1818
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1789
1819
  v: n.value,
1790
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1820
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1791
1821
  r: e.FINAL_CONFIG.bar.labels.rounding
1792
1822
  }),
1793
1823
  {
1794
1824
  datapoint: n,
1795
- serie: a
1825
+ serie: i
1796
1826
  }
1797
- ) : ""), 9, da)) : h("", !0),
1827
+ ) : ""), 9, ua)) : h("", !0),
1798
1828
  n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
1799
1829
  key: 1,
1800
- x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1830
+ x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1801
1831
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1802
1832
  "text-anchor": "middle",
1803
- "font-size": i.fontSizes.plotLabels,
1804
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1833
+ "font-size": a.fontSizes.plotLabels,
1834
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
1805
1835
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1806
- }, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, ua)) : h("", !0)
1836
+ }, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9, ga)) : h("", !0)
1807
1837
  ]))), 128))
1808
1838
  ], 6))), 128))
1809
1839
  ])) : h("", !0),
1810
- e.FINAL_CONFIG.plot.labels.show && i.mutableConfig.dataLabels.show ? (r(), l("g", ga, [
1811
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("g", {
1840
+ e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", fa, [
1841
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1812
1842
  key: `xLabel_plot_${o}`,
1813
- class: P(`xLabel_plot_${o}`),
1814
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1843
+ class: V(`xLabel_plot_${o}`),
1844
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1815
1845
  }, [
1816
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1817
- key: `xLabel_plot_${o}_${u}`
1846
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1847
+ key: `xLabel_plot_${o}_${g}`
1818
1848
  }, [
1819
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), l("text", {
1849
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 ? (r(), l("text", {
1820
1850
  key: 0,
1821
1851
  x: n.x,
1822
1852
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1823
1853
  "text-anchor": "middle",
1824
- "font-size": i.fontSizes.plotLabels,
1854
+ "font-size": a.fontSizes.plotLabels,
1825
1855
  fill: e.FINAL_CONFIG.plot.labels.color
1826
1856
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1827
1857
  e.FINAL_CONFIG.plot.labels.formatter,
1828
1858
  n.value,
1829
1859
  e.dataLabel({
1830
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1860
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1831
1861
  v: n.value,
1832
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1862
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1833
1863
  r: e.FINAL_CONFIG.plot.labels.rounding
1834
1864
  }),
1835
1865
  {
1836
1866
  datapoint: n,
1837
- serie: a
1867
+ serie: i
1838
1868
  }
1839
- ) : ""), 9, fa)) : h("", !0),
1840
- n && u === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1869
+ ) : ""), 9, Na)) : h("", !0),
1870
+ n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1841
1871
  key: 1,
1842
1872
  x: n.x,
1843
1873
  y: n.y - 20,
@@ -1845,56 +1875,56 @@ function Ba(t, s, c, N, i, e) {
1845
1875
  width: "150",
1846
1876
  style: { overflow: "visible" }
1847
1877
  }, [
1848
- g("div", {
1849
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1850
- }, S(a.name), 5)
1851
- ], 8, Na)) : h("", !0),
1852
- n && u === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), l("foreignObject", {
1878
+ u("div", {
1879
+ style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1880
+ }, S(i.name), 5)
1881
+ ], 8, ma)) : h("", !0),
1882
+ n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1853
1883
  key: 2,
1854
- x: n.x - a.name.length * (i.fontSizes.plotLabels / 2),
1884
+ x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1855
1885
  y: n.y - 20,
1856
1886
  height: 24,
1857
1887
  width: "150",
1858
1888
  style: { overflow: "visible" }
1859
1889
  }, [
1860
- g("div", {
1861
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1862
- }, S(a.name), 5)
1863
- ], 8, ma)) : h("", !0)
1890
+ u("div", {
1891
+ style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1892
+ }, S(i.name), 5)
1893
+ ], 8, Ia)) : h("", !0)
1864
1894
  ]))), 128))
1865
1895
  ], 6))), 128))
1866
1896
  ])) : h("", !0),
1867
- e.FINAL_CONFIG.line.labels.show && i.mutableConfig.dataLabels.show ? (r(), l("g", Ia, [
1868
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1897
+ e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", xa, [
1898
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1869
1899
  key: `xLabel_line_${o}`,
1870
- class: P(`xLabel_line_${o}`),
1871
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1900
+ class: V(`xLabel_line_${o}`),
1901
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1872
1902
  }, [
1873
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1874
- key: `xLabel_line_${o}_${u}`
1903
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1904
+ key: `xLabel_line_${o}_${g}`
1875
1905
  }, [
1876
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), l("text", {
1906
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 ? (r(), l("text", {
1877
1907
  key: 0,
1878
1908
  x: n.x,
1879
1909
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1880
1910
  "text-anchor": "middle",
1881
- "font-size": i.fontSizes.plotLabels,
1911
+ "font-size": a.fontSizes.plotLabels,
1882
1912
  fill: e.FINAL_CONFIG.line.labels.color
1883
1913
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1884
1914
  e.FINAL_CONFIG.line.labels.formatter,
1885
1915
  n.value,
1886
1916
  e.dataLabel({
1887
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1917
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1888
1918
  v: n.value,
1889
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1919
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1890
1920
  r: e.FINAL_CONFIG.line.labels.rounding
1891
1921
  }),
1892
1922
  {
1893
1923
  datapoint: n,
1894
- serie: a
1924
+ serie: i
1895
1925
  }
1896
- ) : ""), 9, xa)) : h("", !0),
1897
- n && u === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1926
+ ) : ""), 9, ba)) : h("", !0),
1927
+ n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1898
1928
  key: 1,
1899
1929
  x: n.x,
1900
1930
  y: n.y - 20,
@@ -1902,154 +1932,154 @@ function Ba(t, s, c, N, i, e) {
1902
1932
  width: "150",
1903
1933
  style: { overflow: "visible" }
1904
1934
  }, [
1905
- g("div", {
1906
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1907
- }, S(a.name), 5)
1908
- ], 8, ba)) : h("", !0),
1909
- n && u === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), l("foreignObject", {
1935
+ u("div", {
1936
+ style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1937
+ }, S(i.name), 5)
1938
+ ], 8, Fa)) : h("", !0),
1939
+ n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1910
1940
  key: 2,
1911
- x: n.x - a.name.length * (i.fontSizes.plotLabels / 2),
1941
+ x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1912
1942
  y: n.y - 20,
1913
1943
  height: 24,
1914
1944
  width: "150",
1915
1945
  style: { overflow: "visible" }
1916
1946
  }, [
1917
- g("div", {
1918
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1919
- }, S(a.name), 5)
1920
- ], 8, Fa)) : h("", !0)
1947
+ u("div", {
1948
+ style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1949
+ }, S(i.name), 5)
1950
+ ], 8, _a)) : h("", !0)
1921
1951
  ]))), 128))
1922
1952
  ], 6))), 128))
1923
1953
  ])) : h("", !0),
1924
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1954
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1925
1955
  key: `xLabel_line_${o}`,
1926
- class: P(`xLabel_line_${o}`),
1927
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1956
+ class: V(`xLabel_line_${o}`),
1957
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1928
1958
  }, [
1929
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1930
- key: `xLabel_line_${o}_${u}`
1959
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1960
+ key: `xLabel_line_${o}_${g}`
1931
1961
  }, [
1932
- n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
1962
+ n && g === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
1933
1963
  key: 0,
1934
- x: n.x - i.fontSizes.plotLabels,
1964
+ x: n.x - a.fontSizes.plotLabels,
1935
1965
  y: n.y,
1936
- "font-size": i.fontSizes.plotLabels,
1966
+ "font-size": a.fontSizes.plotLabels,
1937
1967
  "text-anchor": "end",
1938
- fill: a.color,
1968
+ fill: i.color,
1939
1969
  innerHTML: e.createTSpans({
1940
- content: a.name,
1941
- fontSize: i.fontSizes.plotLabels,
1942
- fill: a.color,
1943
- x: n.x - i.fontSizes.plotLabels,
1970
+ content: i.name,
1971
+ fontSize: a.fontSizes.plotLabels,
1972
+ fill: i.color,
1973
+ x: n.x - a.fontSizes.plotLabels,
1944
1974
  y: n.y,
1945
1975
  maxWords: 2
1946
1976
  })
1947
- }, null, 8, _a)) : h("", !0),
1948
- n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
1977
+ }, null, 8, ya)) : h("", !0),
1978
+ n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
1949
1979
  key: 1,
1950
- x: n.x + i.fontSizes.plotLabels,
1980
+ x: n.x + a.fontSizes.plotLabels,
1951
1981
  y: n.y,
1952
- "font-size": i.fontSizes.plotLabels,
1982
+ "font-size": a.fontSizes.plotLabels,
1953
1983
  "text-anchor": "start",
1954
- fill: a.color,
1984
+ fill: i.color,
1955
1985
  innerHTML: e.createTSpans({
1956
- content: a.name,
1957
- fontSize: i.fontSizes.plotLabels,
1958
- fill: a.color,
1959
- x: n.x + i.fontSizes.plotLabels,
1986
+ content: i.name,
1987
+ fontSize: a.fontSizes.plotLabels,
1988
+ fill: i.color,
1989
+ x: n.x + a.fontSizes.plotLabels,
1960
1990
  y: n.y,
1961
1991
  maxWords: 2
1962
1992
  })
1963
- }, null, 8, ya)) : h("", !0)
1993
+ }, null, 8, Aa)) : h("", !0)
1964
1994
  ]))), 128))
1965
1995
  ], 6))), 128)),
1966
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("g", {
1996
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1967
1997
  key: `xLabel_plot_${o}`,
1968
- class: P(`xLabel_plot_${o}`),
1969
- style: A(`opacity:${i.selectedScale ? i.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1998
+ class: V(`xLabel_plot_${o}`),
1999
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1970
2000
  }, [
1971
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1972
- key: `xLabel_plot_${o}_${u}`
2001
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
2002
+ key: `xLabel_plot_${o}_${g}`
1973
2003
  }, [
1974
- n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
2004
+ n && g === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
1975
2005
  key: 0,
1976
- x: n.x - i.fontSizes.plotLabels,
2006
+ x: n.x - a.fontSizes.plotLabels,
1977
2007
  y: n.y,
1978
- "font-size": i.fontSizes.plotLabels,
2008
+ "font-size": a.fontSizes.plotLabels,
1979
2009
  "text-anchor": "end",
1980
- fill: a.color,
2010
+ fill: i.color,
1981
2011
  innerHTML: e.createTSpans({
1982
- content: a.name,
1983
- fontSize: i.fontSizes.plotLabels,
1984
- fill: a.color,
1985
- x: n.x - i.fontSizes.plotLabels,
2012
+ content: i.name,
2013
+ fontSize: a.fontSizes.plotLabels,
2014
+ fill: i.color,
2015
+ x: n.x - a.fontSizes.plotLabels,
1986
2016
  y: n.y,
1987
2017
  maxWords: 2
1988
2018
  })
1989
- }, null, 8, Aa)) : h("", !0),
1990
- n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
2019
+ }, null, 8, Ca)) : h("", !0),
2020
+ n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
1991
2021
  key: 1,
1992
- x: n.x + i.fontSizes.plotLabels,
2022
+ x: n.x + a.fontSizes.plotLabels,
1993
2023
  y: n.y,
1994
- "font-size": i.fontSizes.plotLabels,
2024
+ "font-size": a.fontSizes.plotLabels,
1995
2025
  "text-anchor": "start",
1996
- fill: a.color,
2026
+ fill: i.color,
1997
2027
  innerHTML: e.createTSpans({
1998
- content: a.name,
1999
- fontSize: i.fontSizes.plotLabels,
2000
- fill: a.color,
2001
- x: n.x + i.fontSizes.plotLabels,
2028
+ content: i.name,
2029
+ fontSize: a.fontSizes.plotLabels,
2030
+ fill: i.color,
2031
+ x: n.x + a.fontSizes.plotLabels,
2002
2032
  y: n.y,
2003
2033
  maxWords: 2
2004
2034
  })
2005
2035
  }, null, 8, La)) : h("", !0)
2006
2036
  ]))), 128))
2007
2037
  ], 6))), 128)),
2008
- i.mutableConfig.useIndividualScale && !i.mutableConfig.isStacked ? (r(!0), l(m, { key: 8 }, I(e.allScales, (a) => (r(), l("rect", {
2009
- x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2038
+ a.mutableConfig.useIndividualScale && !a.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (i) => (r(), l("rect", {
2039
+ x: i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2010
2040
  y: e.drawingArea.top,
2011
2041
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2012
2042
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2013
- fill: i.selectedScale === a.id ? e.setOpacity(a.color, 20) : "transparent",
2014
- onMouseenter: (o) => i.selectedScale = a.id,
2015
- onMouseleave: s[0] || (s[0] = (o) => i.selectedScale = null)
2016
- }, null, 40, Ca))), 256)) : h("", !0),
2017
- g("g", null, [
2018
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !i.mutableConfig.useIndividualScale ? (r(), l("text", {
2043
+ fill: a.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
2044
+ onMouseenter: (o) => a.selectedScale = i.id,
2045
+ onMouseleave: s[0] || (s[0] = (o) => a.selectedScale = null)
2046
+ }, null, 40, Sa))), 256)) : h("", !0),
2047
+ u("g", null, [
2048
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !a.mutableConfig.useIndividualScale ? (r(), l("text", {
2019
2049
  key: 0,
2020
- "font-size": i.fontSizes.yAxis,
2050
+ "font-size": a.fontSizes.yAxis,
2021
2051
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2022
- transform: `translate(${i.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2052
+ transform: `translate(${a.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2023
2053
  "text-anchor": "middle",
2024
2054
  style: { transition: "none" }
2025
- }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Sa)) : h("", !0),
2055
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : h("", !0),
2026
2056
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
2027
2057
  key: 1,
2028
2058
  "text-anchor": "middle",
2029
- x: i.width / 2,
2030
- y: e.drawingArea.bottom + i.fontSizes.yAxis + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2031
- "font-size": i.fontSizes.yAxis,
2059
+ x: a.width / 2,
2060
+ y: e.drawingArea.bottom + a.fontSizes.yAxis + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2061
+ "font-size": a.fontSizes.yAxis,
2032
2062
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2033
- }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, ka)) : h("", !0)
2063
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : h("", !0)
2034
2064
  ]),
2035
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", wa, [
2036
- (r(!0), l(m, null, I(e.timeLabels, (a, o) => (r(), l("g", {
2065
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", Oa, [
2066
+ (r(!0), l(N, null, I(e.timeLabels, (i, o) => (r(), l("g", {
2037
2067
  key: `time_label_${o}`
2038
2068
  }, [
2039
- a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && i.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
2069
+ i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && a.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
2040
2070
  key: 0,
2041
2071
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2042
- "font-size": i.fontSizes.xAxis,
2072
+ "font-size": a.fontSizes.xAxis,
2043
2073
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2044
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
2045
- }, S(a || ""), 9, Oa)) : h("", !0)
2074
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
2075
+ }, S(i || ""), 9, Ga)) : h("", !0)
2046
2076
  ]))), 128))
2047
2077
  ])) : h("", !0),
2048
- g("g", null, [
2049
- (r(!0), l(m, null, I(e.maxSeries, (a, o) => (r(), l("g", {
2078
+ u("g", null, [
2079
+ (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
2050
2080
  key: `tooltip_trap_${o}`
2051
2081
  }, [
2052
- g("rect", {
2082
+ u("rect", {
2053
2083
  "data-cy-trap": "",
2054
2084
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
2055
2085
  y: e.drawingArea.top,
@@ -2059,37 +2089,37 @@ function Ba(t, s, c, N, i, e) {
2059
2089
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
2060
2090
  onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2061
2091
  onClick: (n) => e.selectX(o)
2062
- }, null, 40, Ga)
2092
+ }, null, 40, va)
2063
2093
  ]))), 128))
2064
2094
  ]),
2065
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (r(), l("g", va, [
2095
+ e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g", pa, [
2066
2096
  (r(), l("foreignObject", {
2067
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2097
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2068
2098
  y: e.drawingArea.bottom,
2069
2099
  width: "200",
2070
2100
  height: "40",
2071
2101
  style: { overflow: "visible !important" }
2072
2102
  }, [
2073
- g("div", {
2103
+ u("div", {
2074
2104
  class: "vue-ui-xy-time-tag",
2075
- style: A(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2076
- }, S(e.timeLabels[i.selectedSerieIndex] || i.selectedSerieIndex), 5)
2077
- ], 8, pa)),
2078
- g("circle", {
2079
- cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2105
+ style: C(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2106
+ }, S(e.timeLabels[a.selectedSerieIndex] || a.selectedSerieIndex), 5)
2107
+ ], 8, za)),
2108
+ u("circle", {
2109
+ cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2080
2110
  cy: e.drawingArea.bottom,
2081
2111
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2082
2112
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2083
- }, null, 8, za)
2113
+ }, null, 8, Ma)
2084
2114
  ])) : h("", !0)
2085
2115
  ])) : h("", !0),
2086
- G(t.$slots, "svg", { svg: e.svg }, void 0, !0)
2087
- ], 14, qe)) : h("", !0),
2088
- t.$slots.watermark ? (r(), l("div", Ma, [
2089
- G(t.$slots, "watermark", B(Y({ isPrinting: i.isPrinting || i.isImaging })), void 0, !0)
2116
+ w(t.$slots, "svg", { svg: e.svg }, void 0, !0)
2117
+ ], 14, Ue)) : h("", !0),
2118
+ t.$slots.watermark ? (r(), l("div", Pa, [
2119
+ w(t.$slots, "watermark", H(E({ isPrinting: a.isPrinting || a.isImaging })), void 0, !0)
2090
2120
  ])) : h("", !0),
2091
- e.isDataset ? h("", !0) : (r(), R(L, {
2092
- key: 4,
2121
+ e.isDataset ? h("", !0) : (r(), D(P, {
2122
+ key: 5,
2093
2123
  config: {
2094
2124
  type: "line",
2095
2125
  style: {
@@ -2106,14 +2136,14 @@ function Ba(t, s, c, N, i, e) {
2106
2136
  }
2107
2137
  }
2108
2138
  }, null, 8, ["config"])),
2109
- e.FINAL_CONFIG.chart.zoom.show && i.maxX > 6 && e.isDataset ? (r(), R(M, {
2139
+ e.FINAL_CONFIG.chart.zoom.show && a.maxX > 6 && e.isDataset ? (r(), D(O, {
2110
2140
  ref: "chartSlicer",
2111
- key: `slicer_${i.slicerStep}`,
2141
+ key: `slicer_${a.slicerStep}`,
2112
2142
  background: e.FINAL_CONFIG.chart.zoom.color,
2113
2143
  fontSize: e.FINAL_CONFIG.chart.zoom.fontSize,
2114
2144
  useResetSlot: e.FINAL_CONFIG.chart.zoom.useResetSlot,
2115
- labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i.slicer.start],
2116
- labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i.slicer.end - 1],
2145
+ labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.start],
2146
+ labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.end - 1],
2117
2147
  textColor: e.FINAL_CONFIG.chart.color,
2118
2148
  inputColor: e.FINAL_CONFIG.chart.zoom.color,
2119
2149
  selectColor: e.FINAL_CONFIG.chart.zoom.highlightColor,
@@ -2124,55 +2154,55 @@ function Ba(t, s, c, N, i, e) {
2124
2154
  minimapSelectionRadius: e.FINAL_CONFIG.chart.zoom.minimap.selectionRadius,
2125
2155
  minimapLineColor: e.FINAL_CONFIG.chart.zoom.minimap.lineColor,
2126
2156
  minimapSelectedColorOpacity: e.FINAL_CONFIG.chart.zoom.minimap.selectedColorOpacity,
2127
- minimapSelectedIndex: i.selectedSerieIndex,
2157
+ minimapSelectedIndex: a.selectedSerieIndex,
2128
2158
  minimapIndicatorColor: e.FINAL_CONFIG.chart.zoom.minimap.indicatorColor,
2129
- max: i.maxX,
2159
+ max: a.maxX,
2130
2160
  min: 0,
2131
- valueStart: i.slicer.start,
2132
- valueEnd: i.slicer.end,
2133
- start: i.slicer.start,
2134
- "onUpdate:start": s[2] || (s[2] = (a) => i.slicer.start = a),
2135
- end: i.slicer.end,
2136
- "onUpdate:end": s[3] || (s[3] = (a) => i.slicer.end = a),
2161
+ valueStart: a.slicer.start,
2162
+ valueEnd: a.slicer.end,
2163
+ start: a.slicer.start,
2164
+ "onUpdate:start": s[2] || (s[2] = (i) => a.slicer.start = i),
2165
+ end: a.slicer.end,
2166
+ "onUpdate:end": s[3] || (s[3] = (i) => a.slicer.end = i),
2137
2167
  onReset: e.refreshSlicer,
2138
2168
  onTrapMouse: e.selectMinimapIndex
2139
2169
  }, {
2140
- "reset-action": z(({ reset: a }) => [
2141
- G(t.$slots, "reset-action", B(Y({ reset: a })), void 0, !0)
2170
+ "reset-action": M(({ reset: i }) => [
2171
+ w(t.$slots, "reset-action", H(E({ reset: i })), void 0, !0)
2142
2172
  ]),
2143
2173
  _: 3
2144
2174
  }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : h("", !0),
2145
2175
  e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
2146
- key: 6,
2176
+ key: 7,
2147
2177
  ref: "chartLegend",
2148
2178
  class: "vue-ui-xy-legend",
2149
- style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2179
+ style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2150
2180
  }, [
2151
- (r(!0), l(m, null, I(e.absoluteDataset, (a, o) => (r(), l("div", {
2181
+ (r(!0), l(N, null, I(e.absoluteDataset, (i, o) => (r(), l("div", {
2152
2182
  key: `div_legend_item_${o}`,
2153
- onClick: (n) => e.segregate(a),
2154
- class: P({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": i.segregatedSeries.includes(a.id) })
2183
+ onClick: (n) => e.segregate(i),
2184
+ class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": a.segregatedSeries.includes(i.id) })
2155
2185
  }, [
2156
- i.icons[a.type] === "line" ? (r(), l("svg", Ta, [
2157
- g("rect", {
2186
+ a.icons[i.type] === "line" ? (r(), l("svg", Va, [
2187
+ u("rect", {
2158
2188
  x: "0",
2159
2189
  y: "7",
2160
2190
  rx: "3",
2161
2191
  stroke: "none",
2162
2192
  height: "4",
2163
2193
  width: "20",
2164
- fill: a.color
2165
- }, null, 8, Va),
2166
- X(f, {
2194
+ fill: i.color
2195
+ }, null, 8, Ra),
2196
+ X(b, {
2167
2197
  plot: { x: 10, y: 9 },
2168
2198
  radius: 4,
2169
- color: a.color,
2170
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2199
+ color: i.color,
2200
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
2171
2201
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2172
2202
  strokeWidth: 1
2173
2203
  }, null, 8, ["color", "shape", "stroke"])
2174
- ])) : (r(), l("svg", Ra, [
2175
- i.icons[a.type] === "bar" ? (r(), l("rect", {
2204
+ ])) : (r(), l("svg", Da, [
2205
+ a.icons[i.type] === "bar" ? (r(), l("rect", {
2176
2206
  key: 0,
2177
2207
  x: "0",
2178
2208
  y: "0",
@@ -2180,24 +2210,27 @@ function Ba(t, s, c, N, i, e) {
2180
2210
  height: "12",
2181
2211
  width: "12",
2182
2212
  stroke: "none",
2183
- fill: a.color
2184
- }, null, 8, Da)) : (r(), R(f, {
2213
+ fill: i.color
2214
+ }, null, 8, Wa)) : (r(), D(b, {
2185
2215
  key: 1,
2186
2216
  plot: { x: 6, y: 6 },
2187
2217
  radius: 5,
2188
- color: a.color,
2189
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2218
+ color: i.color,
2219
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
2190
2220
  }, null, 8, ["color", "shape"]))
2191
2221
  ])),
2192
- g("span", {
2193
- style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2194
- }, S(a.name), 5)
2195
- ], 10, Pa))), 128))
2196
- ], 4)) : (r(), l("div", Wa, [
2197
- G(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2222
+ u("span", {
2223
+ style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2224
+ }, S(i.name), 5)
2225
+ ], 10, Ta))), 128))
2226
+ ], 4)) : (r(), l("div", Ha, [
2227
+ w(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2198
2228
  ], 512)),
2199
- X(w, {
2200
- show: i.mutableConfig.showTooltip && i.isTooltip,
2229
+ t.$slots.source ? (r(), l("div", Ea, [
2230
+ w(t.$slots, "source", {}, void 0, !0)
2231
+ ], 512)) : h("", !0),
2232
+ X(G, {
2233
+ show: a.mutableConfig.showTooltip && a.isTooltip,
2201
2234
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2202
2235
  color: e.FINAL_CONFIG.chart.tooltip.color,
2203
2236
  fontSize: e.FINAL_CONFIG.chart.tooltip.fontSize,
@@ -2211,19 +2244,19 @@ function Ba(t, s, c, N, i, e) {
2211
2244
  content: e.tooltipContent,
2212
2245
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2213
2246
  }, {
2214
- "tooltip-before": z(() => [
2215
- G(t.$slots, "tooltip-before", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2247
+ "tooltip-before": M(() => [
2248
+ w(t.$slots, "tooltip-before", H(E({ ...e.dataTooltipSlot })), void 0, !0)
2216
2249
  ]),
2217
- "tooltip-after": z(() => [
2218
- G(t.$slots, "tooltip-after", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2250
+ "tooltip-after": M(() => [
2251
+ w(t.$slots, "tooltip-after", H(E({ ...e.dataTooltipSlot })), void 0, !0)
2219
2252
  ]),
2220
2253
  _: 3
2221
2254
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
2222
- e.isDataset ? (r(), R(C, {
2223
- key: 8,
2255
+ e.isDataset ? (r(), D(z, {
2256
+ key: 10,
2224
2257
  hideDetails: "",
2225
2258
  config: {
2226
- open: i.mutableConfig.showTable,
2259
+ open: a.mutableConfig.showTable,
2227
2260
  maxHeight: 1e4,
2228
2261
  body: {
2229
2262
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -2235,19 +2268,19 @@ function Ba(t, s, c, N, i, e) {
2235
2268
  }
2236
2269
  }
2237
2270
  }, {
2238
- content: z(() => [
2239
- g("div", {
2240
- style: A(`${i.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2271
+ content: M(() => [
2272
+ u("div", {
2273
+ style: C(`${a.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2241
2274
  }, [
2242
- g("div", Ha, [
2243
- De(g("input", {
2275
+ u("div", Ba, [
2276
+ We(u("input", {
2244
2277
  type: "checkbox",
2245
- "onUpdate:modelValue": s[4] || (s[4] = (a) => i.showSparklineTable = a)
2278
+ "onUpdate:modelValue": s[4] || (s[4] = (i) => a.showSparklineTable = i)
2246
2279
  }, null, 512), [
2247
- [We, i.showSparklineTable]
2280
+ [He, a.showSparklineTable]
2248
2281
  ]),
2249
- g("div", {
2250
- onClick: s[5] || (s[5] = (a) => i.showSparklineTable = !i.showSparklineTable),
2282
+ u("div", {
2283
+ onClick: s[5] || (s[5] = (i) => a.showSparklineTable = !a.showSparklineTable),
2251
2284
  style: { cursor: "pointer" }
2252
2285
  }, [
2253
2286
  X(p, {
@@ -2257,26 +2290,26 @@ function Ba(t, s, c, N, i, e) {
2257
2290
  }, null, 8, ["stroke"])
2258
2291
  ])
2259
2292
  ]),
2260
- i.showSparklineTable ? (r(), R(v, {
2261
- key: `sparkline_${i.segregateStep}`,
2293
+ a.showSparklineTable ? (r(), D(_, {
2294
+ key: `sparkline_${a.segregateStep}`,
2262
2295
  dataset: e.tableSparklineDataset,
2263
2296
  config: e.tableSparklineConfig
2264
- }, null, 8, ["dataset", "config"])) : (r(), R(F, {
2265
- key: `table_${i.tableStep}`,
2297
+ }, null, 8, ["dataset", "config"])) : (r(), D(L, {
2298
+ key: `table_${a.tableStep}`,
2266
2299
  colNames: e.dataTable.colNames,
2267
2300
  head: e.dataTable.head,
2268
2301
  body: e.dataTable.body,
2269
2302
  config: e.dataTable.config,
2270
2303
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2271
- onClose: s[6] || (s[6] = (a) => i.mutableConfig.showTable = !1)
2304
+ onClose: s[6] || (s[6] = (i) => a.mutableConfig.showTable = !1)
2272
2305
  }, {
2273
- th: z(({ th: a }) => [
2274
- g("div", { innerHTML: a }, null, 8, Ea)
2306
+ th: M(({ th: i }) => [
2307
+ u("div", { innerHTML: i }, null, 8, Ya)
2275
2308
  ]),
2276
- td: z(({ td: a }) => [
2277
- He(S(isNaN(Number(a)) ? a : e.dataLabel({
2309
+ td: M(({ td: i }) => [
2310
+ Ee(S(isNaN(Number(i)) ? i : e.dataLabel({
2278
2311
  p: e.FINAL_CONFIG.chart.labels.prefix,
2279
- v: a,
2312
+ v: i,
2280
2313
  s: e.FINAL_CONFIG.chart.labels.suffix,
2281
2314
  r: e.FINAL_CONFIG.table.rounding
2282
2315
  })), 1)
@@ -2287,9 +2320,9 @@ function Ba(t, s, c, N, i, e) {
2287
2320
  ]),
2288
2321
  _: 1
2289
2322
  }, 8, ["config"])) : h("", !0)
2290
- ], 14, Xe);
2323
+ ], 14, qe);
2291
2324
  }
2292
- const li = /* @__PURE__ */ Ee(Ye, [["render", Ba], ["__scopeId", "data-v-fe7409df"]]);
2325
+ const oi = /* @__PURE__ */ Be(Xe, [["render", Xa], ["__scopeId", "data-v-fd323aed"]]);
2293
2326
  export {
2294
- li as default
2327
+ oi as default
2295
2328
  };