vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. 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-DnVHQ2xI.js";
2
+ import { D as Se } from "./DataTable-DTk7C4Pr.js";
3
+ import { _ as ke } from "./Title-5VmBwT4i.js";
4
+ import { _ as we, u as Oe } from "./Tooltip-Cj4EF7v1.js";
5
+ import { U as Ge } from "./usePrinter-BEeNAqS5.js";
6
+ import { _ as ve } from "./Shape-BpPn4eWR.js";
7
+ import pe from "./BaseIcon-rRli6Sfv.js";
8
+ import ze from "./vue-ui-table-sparkline-DdwVrfUj.js";
9
+ import Me from "./vue-ui-skeleton-aZmkNzAe.js";
10
+ import { S as Pe } from "./Slicer-CU7dRZR0.js";
11
+ import Te from "./vue-ui-accordion-DspS4q3f.js";
12
+ import { u as Z } from "./useNestedProp-Cox0K0Y5.js";
13
+ import { _ as Ve } from "./PackageVersion-CvCRsT5_.js";
14
+ import { P as Re } from "./PenAndPaper-Jb0pLt3G.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 G, 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), _ = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, y), P = m.min >= 0 ? 0 : Math.abs(m.min), w = 0, z = m.max + P, v = _.max + Math.abs(w), F = 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, p = this.drawingArea.bottom - F - L * P / z, i = this.drawingArea.bottom - F - L * w / v, o = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, n = t.series.map((d, b) => {
328
+ const B = this.mutableConfig.useIndividualScale ? (t.absoluteValues[b] + P) / z : this.ratioToMax(d), Y = 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 * o - this.barSlot / 2 - s * this.barPeriodGap;
326
329
  return {
327
330
  yOffset: this.checkNaN(F),
328
- individualHeight: this.checkNaN(C),
329
- x: this.checkNaN(E),
330
- y: this.drawingArea.bottom - F - C * H,
331
+ individualHeight: this.checkNaN(L),
332
+ x: this.checkNaN(Y),
333
+ y: this.drawingArea.bottom - F - L * B,
331
334
  value: t.absoluteValues[b],
332
- zeroPosition: this.checkNaN(a),
333
- individualMax: this.checkNaN(p),
335
+ zeroPosition: this.checkNaN(p),
336
+ individualMax: this.checkNaN(z),
334
337
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
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) => _.min >= 0 ? (d - Math.abs(_.min)) / (_.max - Math.abs(_.min)) : (d + Math.abs(_.min)) / (_.max + Math.abs(_.min))), W = t.series.map((d, b) => {
340
+ const B = 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((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
338
341
  return {
339
342
  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
+ individualHeight: this.checkNaN(L),
344
+ x: this.checkNaN(B),
345
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(L) * g[b] || 0)),
343
346
  value: t.absoluteValues[b],
344
- zeroPosition: this.checkNaN(a),
345
- individualMax: this.checkNaN(p),
347
+ zeroPosition: this.checkNaN(p),
348
+ individualMax: this.checkNaN(z),
346
349
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
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 ? p - L * (d / z) : p + L * Math.abs(d) / z,
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
+ })), O = _.ticks.map((d) => {
358
+ const b = (d - _.min) / (_.max - _.min);
356
359
  return {
357
- y: d >= 0 ? o - C * b : o + C * b,
360
+ y: d >= 0 ? i - L * b : i + L * b,
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,
@@ -365,12 +368,12 @@ const Be = J(), Ye = {
365
368
  ...t,
366
369
  yOffset: F,
367
370
  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
371
+ individualHeight: L,
372
+ scaleYLabels: t.autoScaling ? O : A,
373
+ individualScale: t.autoScaling ? _ : m,
374
+ individualMax: t.autoScaling ? v : z,
375
+ zeroPosition: t.autoScaling ? i : p,
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), _ = k.min >= 0 ? 0 : Math.abs(k.min), P = 0, w = k.max + Math.abs(_), z = m.max + Math.abs(P), 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, L = this.drawingArea.bottom - v - F * _ / w, p = this.drawingArea.bottom - v - F * P / z, i = t.series.map((d, b) => {
397
+ const B = this.mutableConfig.useIndividualScale ? (t.absoluteValues[b] + Math.abs(_)) / w : this.ratioToMax(d);
395
398
  return {
396
399
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
397
- y: this.checkNaN(this.drawingArea.bottom - v - F * H),
400
+ y: this.checkNaN(this.drawingArea.bottom - v - F * B),
398
401
  value: t.absoluteValues[b],
399
402
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
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]) ? {
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, b) => [void 0, null].includes(t.absoluteValues[b]) ? {
402
405
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
403
- y: C,
406
+ y: L,
404
407
  value: t.absoluteValues[b],
405
408
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
406
409
  } : {
407
410
  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)),
411
+ y: this.checkNaN(this.drawingArea.bottom - v - (F * o[b] || 0)),
409
412
  value: t.absoluteValues[b],
410
413
  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,
414
+ }), g = this.createSmoothPath(i), W = this.createSmoothPath(n), A = k.ticks.map((d) => ({
415
+ y: d >= 0 ? L - F * (d / w) : L + F * Math.abs(d) / w,
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
+ })), O = m.ticks.map((d) => {
421
+ const b = (d - m.min) / (m.max - m.min);
419
422
  return {
420
- y: d >= 0 ? a - F * b : a + F * b,
423
+ y: d >= 0 ? p - F * b : p + F * b,
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,
@@ -429,50 +432,50 @@ const Be = J(), Ye = {
429
432
  yOffset: v,
430
433
  autoScaleYLabels: O,
431
434
  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) : ""
435
+ scaleYLabels: t.autoScaling ? O : A,
436
+ individualScale: t.autoScaling ? m : k,
437
+ individualMax: t.autoScaling ? z : w,
438
+ zeroPosition: t.autoScaling ? p : 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 ? p : 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), _ = k.min >= 0 ? 0 : Math.abs(k.min), P = 0, w = k.max + _, z = m.max + Math.abs(P), 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, L = this.drawingArea.bottom - v - F * _ / w, p = this.drawingArea.bottom - v - F * P / z, i = t.series.map((A, O) => {
456
+ const d = this.mutableConfig.useIndividualScale ? (t.absoluteValues[O] + Math.abs(_)) / w : this.ratioToMax(A);
454
457
  return {
455
458
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * O),
456
459
  y: this.checkNaN(this.drawingArea.bottom - v - F * d),
457
460
  value: t.absoluteValues[O],
458
461
  comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[O] || ""
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) => ({
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, O) => ({
461
464
  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)),
465
+ y: this.checkNaN(this.drawingArea.bottom - v - (F * o[O] || 0)),
463
466
  value: t.absoluteValues[O],
464
467
  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,
468
+ })), g = k.ticks.map((A) => ({
469
+ y: A >= 0 ? L - F * (A / w) : L + F * Math.abs(A) / w,
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 O = (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 ? p - F * O : p + F * O,
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
@@ -481,13 +484,13 @@ const Be = J(), Ye = {
481
484
  return {
482
485
  ...t,
483
486
  yOffset: v,
484
- autoScaleYLabels: D,
487
+ autoScaleYLabels: W,
485
488
  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
489
+ scaleYLabels: t.autoScaling ? W : g,
490
+ individualScale: t.autoScaling ? m : k,
491
+ individualMax: t.autoScaling ? z : w,
492
+ zeroPosition: t.autoScaling ? p : 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,15 @@ 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), this.height = c - e - m - y, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((P) => {
810
+ for (const w of P)
811
+ 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.height = w.contentBoxSize[0].blockSize - e - m - y - 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();
806
812
  }).observe(s);
807
813
  } else
808
814
  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 +872,24 @@ const Be = J(), Ye = {
866
872
  },
867
873
  createArea(t) {
868
874
  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();
875
+ const s = { x: t[0].x, y: this.zero }, c = { x: t.at(-1).x, y: this.zero }, f = [];
876
+ return t.forEach((a) => {
877
+ f.push(`${a.x},${a.y} `);
878
+ }), [s.x, s.y, ...f, c.x, c.y].toString();
873
879
  },
874
880
  createIndividualArea(t, s) {
875
881
  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 = [];
882
+ 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
883
  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();
884
+ a.push(`${e.x},${e.y} `);
885
+ }), [c.x, c.y, ...a, f.x, f.y].toString();
880
886
  },
881
887
  createStar: q,
882
- createPolygonPath: T,
888
+ createPolygonPath: R,
883
889
  fillArray(t, s) {
884
890
  let c = Array(t).fill(0);
885
- for (let N = 0; N < s.length && N < t; N += 1)
886
- c[N] = s[N];
891
+ for (let f = 0; f < s.length && f < t; f += 1)
892
+ c[f] = s[f];
887
893
  return c;
888
894
  },
889
895
  refreshSlicer() {
@@ -914,10 +920,10 @@ const Be = J(), Ye = {
914
920
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
915
921
  },
916
922
  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);
923
+ let c = s[0], f = Math.abs(t - s[0]);
924
+ for (let a = 1; a < s.length; a += 1) {
925
+ const e = Math.abs(t - s[a]);
926
+ e < f && s[a] < t && (c = s[a], f = e);
921
927
  }
922
928
  return c;
923
929
  },
@@ -986,8 +992,8 @@ const Be = J(), Ye = {
986
992
  }, 100);
987
993
  },
988
994
  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" });
995
+ 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);
996
+ this.downloadCsv({ csvContent: a, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
991
997
  },
992
998
  showSpinnerImage() {
993
999
  this.isImaging = !0;
@@ -1009,42 +1015,50 @@ const Be = J(), Ye = {
1009
1015
  }, 100);
1010
1016
  }
1011
1017
  }
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,
1018
+ }, 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 = {
1019
+ key: 4,
1014
1020
  class: "vue-data-ui-watermark"
1015
- }, Pa = ["onClick"], Ta = {
1021
+ }, Ta = ["onClick"], Va = {
1016
1022
  key: 0,
1017
1023
  viewBox: "0 0 20 12",
1018
1024
  height: "14",
1019
1025
  width: "20"
1020
- }, Va = ["fill"], Ra = {
1026
+ }, Ra = ["fill"], Da = {
1021
1027
  key: 1,
1022
1028
  viewBox: "0 0 12 12",
1023
1029
  height: "14",
1024
1030
  width: "14"
1025
- }, Da = ["fill"], Wa = {
1026
- key: 7,
1031
+ }, Wa = ["fill"], Ha = {
1032
+ key: 8,
1027
1033
  ref: "chartLegend"
1028
- }, Ha = {
1034
+ }, Ea = {
1029
1035
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1030
1036
  "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");
1037
+ }, Ba = ["innerHTML"];
1038
+ function Ya(t, s, c, f, a, e) {
1039
+ const x = T("PenAndPaper"), y = T("Title"), k = T("UserOptions"), m = T("PackageVersion"), _ = T("Shape"), P = T("Skeleton"), w = T("Slicer"), z = T("Tooltip"), v = T("BaseIcon"), F = T("TableSparkline"), L = T("DataTable"), p = T("Accordion");
1034
1040
  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"}`),
1041
+ id: `vue-ui-xy_${a.uniqueId}`,
1042
+ class: V(`vue-ui-xy ${a.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1037
1043
  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%" : ""}`)
1044
+ 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
1045
  }, [
1040
- e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
1046
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), D(x, {
1041
1047
  key: 0,
1048
+ parent: t.$refs.chart,
1049
+ backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1050
+ color: e.FINAL_CONFIG.chart.color,
1051
+ active: a.isAnnotator,
1052
+ onClose: e.toggleAnnotator
1053
+ }, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1054
+ e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
1055
+ key: 1,
1042
1056
  ref: "chartTitle",
1043
1057
  class: "vue-ui-xy-title",
1044
- style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1058
+ style: C(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1045
1059
  }, [
1046
- (r(), R(x, {
1047
- key: `title_${i.titleStep}`,
1060
+ (r(), D(y, {
1061
+ key: `title_${a.titleStep}`,
1048
1062
  config: {
1049
1063
  title: {
1050
1064
  cy: "xy-div-title",
@@ -1057,14 +1071,14 @@ function Ba(t, s, c, N, i, e) {
1057
1071
  }
1058
1072
  }, null, 8, ["config"]))
1059
1073
  ], 4)) : h("", !0),
1060
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), R(_, {
1074
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(k, {
1061
1075
  ref: "defails",
1062
- key: `user_options_${i.step}`,
1076
+ key: `user_options_${a.step}`,
1063
1077
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1064
1078
  color: e.FINAL_CONFIG.chart.color,
1065
- isPrinting: i.isPrinting,
1066
- isImaging: i.isImaging,
1067
- uid: i.uniqueId,
1079
+ isPrinting: a.isPrinting,
1080
+ isImaging: a.isImaging,
1081
+ uid: a.uniqueId,
1068
1082
  hasTooltip: e.FINAL_CONFIG.chart.userOptions.buttons.tooltip && e.FINAL_CONFIG.chart.tooltip.show,
1069
1083
  hasPdf: e.FINAL_CONFIG.chart.userOptions.buttons.pdf,
1070
1084
  hasXls: e.FINAL_CONFIG.chart.userOptions.buttons.csv,
@@ -1073,12 +1087,14 @@ function Ba(t, s, c, N, i, e) {
1073
1087
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
1074
1088
  hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1075
1089
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1076
- isStacked: i.mutableConfig.isStacked,
1077
- isFullscreen: i.isFullscreen,
1090
+ isStacked: a.mutableConfig.isStacked,
1091
+ isFullscreen: a.isFullscreen,
1078
1092
  chartElement: t.$refs.chart,
1079
1093
  position: e.FINAL_CONFIG.chart.userOptions.position,
1080
- isTooltip: i.mutableConfig.showTooltip,
1094
+ isTooltip: a.mutableConfig.showTooltip,
1081
1095
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
1096
+ hasAnnotator: e.FINAL_CONFIG.chart.userOptions.buttons.annotator,
1097
+ isAnnotation: a.isAnnotator,
1082
1098
  onToggleFullscreen: e.toggleFullscreen,
1083
1099
  onGeneratePdf: e.generatePdf,
1084
1100
  onGenerateCsv: e.generateCsv,
@@ -1086,76 +1102,84 @@ function Ba(t, s, c, N, i, e) {
1086
1102
  onToggleTable: e.toggleTable,
1087
1103
  onToggleLabels: e.toggleLabels,
1088
1104
  onToggleStack: e.toggleStack,
1089
- onToggleTooltip: e.toggleTooltip
1090
- }, Re({ _: 2 }, [
1105
+ onToggleTooltip: e.toggleTooltip,
1106
+ onToggleAnnotator: e.toggleAnnotator
1107
+ }, De({ _: 2 }, [
1091
1108
  t.$slots.optionTooltip ? {
1092
1109
  name: "optionTooltip",
1093
- fn: z(() => [
1110
+ fn: M(() => [
1094
1111
  G(t.$slots, "optionTooltip", {}, void 0, !0)
1095
1112
  ]),
1096
1113
  key: "0"
1097
1114
  } : void 0,
1098
1115
  t.$slots.optionPdf ? {
1099
1116
  name: "optionPdf",
1100
- fn: z(() => [
1117
+ fn: M(() => [
1101
1118
  G(t.$slots, "optionPdf", {}, void 0, !0)
1102
1119
  ]),
1103
1120
  key: "1"
1104
1121
  } : void 0,
1105
1122
  t.$slots.optionCsv ? {
1106
1123
  name: "optionCsv",
1107
- fn: z(() => [
1124
+ fn: M(() => [
1108
1125
  G(t.$slots, "optionCsv", {}, void 0, !0)
1109
1126
  ]),
1110
1127
  key: "2"
1111
1128
  } : void 0,
1112
1129
  t.$slots.optionImg ? {
1113
1130
  name: "optionImg",
1114
- fn: z(() => [
1131
+ fn: M(() => [
1115
1132
  G(t.$slots, "optionImg", {}, void 0, !0)
1116
1133
  ]),
1117
1134
  key: "3"
1118
1135
  } : void 0,
1119
1136
  t.$slots.optionTable ? {
1120
1137
  name: "optionTable",
1121
- fn: z(() => [
1138
+ fn: M(() => [
1122
1139
  G(t.$slots, "optionTable", {}, void 0, !0)
1123
1140
  ]),
1124
1141
  key: "4"
1125
1142
  } : void 0,
1126
1143
  t.$slots.optionLabels ? {
1127
1144
  name: "optionLabels",
1128
- fn: z(() => [
1145
+ fn: M(() => [
1129
1146
  G(t.$slots, "optionLabels", {}, void 0, !0)
1130
1147
  ]),
1131
1148
  key: "5"
1132
1149
  } : void 0,
1133
1150
  t.$slots.optionStack ? {
1134
1151
  name: "optionStack",
1135
- fn: z(() => [
1152
+ fn: M(() => [
1136
1153
  G(t.$slots, "optionStack", {}, void 0, !0)
1137
1154
  ]),
1138
1155
  key: "6"
1139
1156
  } : void 0,
1140
1157
  t.$slots.optionFullscreen ? {
1141
1158
  name: "optionFullscreen",
1142
- fn: z(({ toggleFullscreen: a, isFullscreen: o }) => [
1143
- G(t.$slots, "optionFullscreen", B(Y({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
1159
+ fn: M(({ toggleFullscreen: i, isFullscreen: o }) => [
1160
+ G(t.$slots, "optionFullscreen", H(E({ toggleFullscreen: i, isFullscreen: o })), void 0, !0)
1144
1161
  ]),
1145
1162
  key: "7"
1163
+ } : void 0,
1164
+ t.$slots.optionAnnotator ? {
1165
+ name: "optionAnnotator",
1166
+ fn: M(({ toggleAnnotator: i, isAnnotator: o }) => [
1167
+ G(t.$slots, "optionAnnotator", H(E({ toggleAnnotator: i, isAnnotator: o })), void 0, !0)
1168
+ ]),
1169
+ key: "8"
1146
1170
  } : 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),
1171
+ ]), 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
1172
  e.isDataset ? (r(), l("svg", {
1149
- key: 2,
1173
+ key: 3,
1150
1174
  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"]),
1175
+ class: V([{ "vue-data-ui-fullscreen--on": a.isFullscreen, "vue-data-ui-fulscreen--off": !a.isFullscreen }, "vue-ui-xy-svg"]),
1152
1176
  width: "100%",
1153
- viewBox: i.viewBox,
1154
- style: A(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1177
+ viewBox: a.viewBox,
1178
+ style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1155
1179
  }, [
1156
- X(k),
1157
- e.maxSeries > 0 ? (r(), l("g", Ue, [
1158
- g("g", Ze, [
1180
+ X(m),
1181
+ e.maxSeries > 0 ? (r(), l("g", Ze, [
1182
+ u("g", Je, [
1159
1183
  e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
1160
1184
  key: 0,
1161
1185
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1165,17 +1189,17 @@ function Ba(t, s, c, N, i, e) {
1165
1189
  y1: e.drawingArea.bottom,
1166
1190
  y2: e.drawingArea.bottom,
1167
1191
  "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", {
1192
+ }, null, 8, Ke)) : h("", !0),
1193
+ a.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (i) => (r(), l("g", null, [
1194
+ i.id === a.selectedScale && i.yLabels.length ? (r(!0), l(N, { key: 0 }, I(i.yLabels, (o) => (r(), l("line", {
1171
1195
  x1: e.drawingArea.left + e.xPadding,
1172
1196
  x2: e.drawingArea.right - e.xPadding,
1173
1197
  y1: e.checkNaN(o.y),
1174
1198
  y2: e.checkNaN(o.y),
1175
- stroke: a.color,
1199
+ stroke: i.color,
1176
1200
  "stroke-width": 0.5,
1177
1201
  "stroke-linecap": "round"
1178
- }, null, 8, $e))), 256)) : a.yLabels.length ? (r(!0), l(m, { key: 1 }, I(a.yLabels, (o) => (r(), l("line", {
1202
+ }, null, 8, et))), 256)) : i.yLabels.length ? (r(!0), l(N, { key: 1 }, I(i.yLabels, (o) => (r(), l("line", {
1179
1203
  x1: e.drawingArea.left + e.xPadding,
1180
1204
  x2: e.drawingArea.right - e.xPadding,
1181
1205
  y1: e.checkNaN(o.y),
@@ -1183,8 +1207,8 @@ function Ba(t, s, c, N, i, e) {
1183
1207
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1184
1208
  "stroke-width": 0.5,
1185
1209
  "stroke-linecap": "round"
1186
- }, null, 8, et))), 256)) : h("", !0)
1187
- ]))), 256)) : h("", !0) : (r(), l(m, { key: 1 }, [
1210
+ }, null, 8, tt))), 256)) : h("", !0)
1211
+ ]))), 256)) : h("", !0) : (r(), l(N, { key: 1 }, [
1188
1212
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
1189
1213
  key: 0,
1190
1214
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1194,21 +1218,21 @@ function Ba(t, s, c, N, i, e) {
1194
1218
  y1: e.drawingArea.top,
1195
1219
  y2: e.drawingArea.bottom,
1196
1220
  "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", {
1221
+ }, null, 8, Qe)) : h("", !0),
1222
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", je, [
1223
+ (r(!0), l(N, null, I(e.yLabels, (i) => (r(), l("line", {
1200
1224
  x1: e.drawingArea.left + e.xPadding,
1201
1225
  x2: e.drawingArea.right - e.xPadding,
1202
- y1: e.checkNaN(a.y),
1203
- y2: e.checkNaN(a.y),
1226
+ y1: e.checkNaN(i.y),
1227
+ y2: e.checkNaN(i.y),
1204
1228
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1205
1229
  "stroke-width": 0.5,
1206
1230
  "stroke-linecap": "round"
1207
- }, null, 8, je))), 256))
1231
+ }, null, 8, $e))), 256))
1208
1232
  ])) : h("", !0)
1209
1233
  ], 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", {
1234
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", at, [
1235
+ (r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, o) => (r(), l("line", {
1212
1236
  key: `grid_vertical_line_${o}`,
1213
1237
  x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
1214
1238
  x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
@@ -1216,185 +1240,185 @@ function Ba(t, s, c, N, i, e) {
1216
1240
  y2: e.drawingArea.bottom,
1217
1241
  "stroke-width": "0.5",
1218
1242
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1219
- }, null, 8, at))), 128))
1243
+ }, null, 8, it))), 128))
1220
1244
  ])) : h("", !0)
1221
1245
  ]),
1222
- (r(!0), l(m, null, I(e.barSet, (a, o) => (r(), l("defs", {
1246
+ (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("defs", {
1223
1247
  key: `def_rect_${o}`
1224
1248
  }, [
1225
- g("linearGradient", {
1226
- id: `rectGradient_pos_${o}_${i.uniqueId}`,
1249
+ u("linearGradient", {
1250
+ id: `rectGradient_pos_${o}_${a.uniqueId}`,
1227
1251
  x2: "0%",
1228
1252
  y2: "100%"
1229
1253
  }, [
1230
- g("stop", {
1254
+ u("stop", {
1231
1255
  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)}`
1256
+ "stop-color": i.color
1237
1257
  }, null, 8, lt),
1238
- g("stop", {
1258
+ u("stop", {
1259
+ offset: "62%",
1260
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1261
+ }, null, 8, st),
1262
+ u("stop", {
1239
1263
  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}`,
1264
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1265
+ }, null, 8, nt)
1266
+ ], 8, rt),
1267
+ u("linearGradient", {
1268
+ id: `rectGradient_neg_${o}_${a.uniqueId}`,
1245
1269
  x2: "0%",
1246
1270
  y2: "100%"
1247
1271
  }, [
1248
- g("stop", {
1272
+ u("stop", {
1249
1273
  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)}`
1274
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1255
1275
  }, null, 8, ct),
1256
- g("stop", {
1276
+ u("stop", {
1277
+ offset: "38%",
1278
+ "stop-color": `${e.shiftHue(i.color, 0.02)}`
1279
+ }, null, 8, ht),
1280
+ u("stop", {
1257
1281
  offset: "100%",
1258
- "stop-color": a.color
1259
- }, null, 8, ht)
1260
- ], 8, nt)
1282
+ "stop-color": i.color
1283
+ }, null, 8, dt)
1284
+ ], 8, ot)
1261
1285
  ]))), 128)),
1262
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("defs", {
1286
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("defs", {
1263
1287
  key: `def_plot_${o}`
1264
1288
  }, [
1265
- g("radialGradient", {
1266
- id: `plotGradient_${o}_${i.uniqueId}`,
1289
+ u("radialGradient", {
1290
+ id: `plotGradient_${o}_${a.uniqueId}`,
1267
1291
  cx: "50%",
1268
1292
  cy: "50%",
1269
1293
  r: "50%",
1270
1294
  fx: "50%",
1271
1295
  fy: "50%"
1272
1296
  }, [
1273
- g("stop", {
1297
+ u("stop", {
1274
1298
  offset: "0%",
1275
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1276
- }, null, 8, ut),
1277
- g("stop", {
1299
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1300
+ }, null, 8, gt),
1301
+ u("stop", {
1278
1302
  offset: "100%",
1279
- "stop-color": a.color
1280
- }, null, 8, gt)
1281
- ], 8, dt)
1303
+ "stop-color": i.color
1304
+ }, null, 8, ft)
1305
+ ], 8, ut)
1282
1306
  ]))), 128)),
1283
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("defs", {
1307
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("defs", {
1284
1308
  key: `def_line_${o}`
1285
1309
  }, [
1286
- g("radialGradient", {
1287
- id: `lineGradient_${o}_${i.uniqueId}`,
1310
+ u("radialGradient", {
1311
+ id: `lineGradient_${o}_${a.uniqueId}`,
1288
1312
  cx: "50%",
1289
1313
  cy: "50%",
1290
1314
  r: "50%",
1291
1315
  fx: "50%",
1292
1316
  fy: "50%"
1293
1317
  }, [
1294
- g("stop", {
1318
+ u("stop", {
1295
1319
  offset: "0%",
1296
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1297
- }, null, 8, Nt),
1298
- g("stop", {
1320
+ "stop-color": `${e.shiftHue(i.color, 0.05)}`
1321
+ }, null, 8, mt),
1322
+ u("stop", {
1299
1323
  offset: "100%",
1300
- "stop-color": a.color
1301
- }, null, 8, mt)
1302
- ], 8, ft),
1303
- g("linearGradient", {
1304
- id: `areaGradient_${o}_${i.uniqueId}`,
1324
+ "stop-color": i.color
1325
+ }, null, 8, It)
1326
+ ], 8, Nt),
1327
+ u("linearGradient", {
1328
+ id: `areaGradient_${o}_${a.uniqueId}`,
1305
1329
  x1: "0%",
1306
1330
  x2: "100%",
1307
1331
  y1: "0%",
1308
1332
  y2: "0%"
1309
1333
  }, [
1310
- g("stop", {
1334
+ u("stop", {
1311
1335
  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", {
1336
+ "stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1337
+ }, null, 8, bt),
1338
+ u("stop", {
1315
1339
  offset: "100%",
1316
- "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1317
- }, null, 8, bt)
1318
- ], 8, It)
1340
+ "stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
1341
+ }, null, 8, Ft)
1342
+ ], 8, xt)
1319
1343
  ]))), 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({
1344
+ (r(!0), l(N, null, I(e.highlightAreas, (i) => (r(), l("g", null, [
1345
+ i.show ? (r(!0), l(N, { key: 0 }, I(i.span, (o, n) => (r(), l("g", null, [
1346
+ u("rect", {
1347
+ style: C({
1324
1348
  transition: "none",
1325
- opacity: a.from + n >= i.slicer.start && a.from + n <= i.slicer.end - 1 ? 1 : 0
1349
+ opacity: i.from + n >= a.slicer.start && i.from + n <= a.slicer.end - 1 ? 1 : 0
1326
1350
  }),
1327
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - i.slicer.start),
1351
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start),
1328
1352
  y: e.drawingArea.top,
1329
1353
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1330
1354
  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", {
1355
+ fill: e.setOpacity(i.color, i.opacity)
1356
+ }, null, 12, _t),
1357
+ i.caption.text && n === 0 ? (r(), l("foreignObject", {
1334
1358
  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({
1359
+ 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),
1360
+ y: e.drawingArea.top + i.caption.offsetY,
1361
+ style: C({
1338
1362
  overflow: "visible",
1339
- opacity: a.to >= i.slicer.start && a.from < i.slicer.end ? 1 : 0
1363
+ opacity: i.to >= a.slicer.start && i.from < a.slicer.end ? 1 : 0
1340
1364
  }),
1341
1365
  height: "1",
1342
- width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1366
+ width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
1343
1367
  }, [
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)
1368
+ u("div", {
1369
+ 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"}`)
1370
+ }, S(i.caption.text), 5)
1371
+ ], 12, yt)) : h("", !0)
1348
1372
  ]))), 256)) : h("", !0)
1349
1373
  ]))), 256)),
1350
- g("g", null, [
1351
- (r(!0), l(m, null, I(e.maxSeries, (a, o) => (r(), l("g", {
1374
+ u("g", null, [
1375
+ (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
1352
1376
  key: `tooltip_trap_${o}`
1353
1377
  }, [
1354
- g("rect", {
1378
+ u("rect", {
1355
1379
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
1356
1380
  y: e.drawingArea.top,
1357
1381
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1358
1382
  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)
1383
+ fill: [a.selectedMinimapIndex, a.selectedSerieIndex, a.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1384
+ }, null, 8, At)
1361
1385
  ]))), 128))
1362
1386
  ]),
1363
- e.barSet.length ? (r(!0), l(m, { key: 0 }, I(e.barSet, (a, o) => (r(), l("g", {
1387
+ e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (i, o) => (r(), l("g", {
1364
1388
  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`)
1389
+ class: V(`serie_bar_${o}`),
1390
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1367
1391
  }, [
1368
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1369
- key: `bar_plot_${o}_${u}`
1392
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1393
+ key: `bar_plot_${o}_${g}`
1370
1394
  }, [
1371
1395
  e.canShowValue(n.value) ? (r(), l("rect", {
1372
1396
  key: 0,
1373
1397
  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),
1398
+ y: a.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1399
+ height: a.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1400
+ 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
1401
  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,
1402
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${a.uniqueId})` : `url(#rectGradient_neg_${o}_${a.uniqueId})` : i.color,
1403
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1380
1404
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1381
- }, null, 8, At)) : h("", !0),
1405
+ }, null, 8, Ct)) : h("", !0),
1382
1406
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
1383
1407
  key: 1,
1384
1408
  style: { overflow: "visible" },
1385
1409
  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,
1410
+ 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
1411
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1388
1412
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1389
1413
  }, [
1390
1414
  G(t.$slots, "plot-comment", {
1391
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1415
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1392
1416
  }, void 0, !0)
1393
1417
  ], 8, Lt)) : h("", !0)
1394
1418
  ]))), 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", {
1419
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", St, [
1420
+ u("defs", null, [
1421
+ u("marker", {
1398
1422
  id: `bar_arrow_${o}`,
1399
1423
  markerWidth: 7,
1400
1424
  markerHeight: 7,
@@ -1402,38 +1426,38 @@ function Ba(t, s, c, N, i, e) {
1402
1426
  refY: 7 / 2,
1403
1427
  orient: "auto"
1404
1428
  }, [
1405
- g("polygon", {
1429
+ u("polygon", {
1406
1430
  points: `0 0, 7 ${7 / 2}, 0 7`,
1407
- fill: a.color
1408
- }, null, 8, kt)
1409
- ], 8, St)
1431
+ fill: i.color
1432
+ }, null, 8, wt)
1433
+ ], 8, kt)
1410
1434
  ]),
1411
- a.plots.length > 1 ? (r(), l("line", {
1435
+ i.plots.length > 1 ? (r(), l("line", {
1412
1436
  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,
1437
+ x1: e.calcLinearProgression(i.plots).x1,
1438
+ x2: e.calcLinearProgression(i.plots).x2,
1439
+ y1: e.calcLinearProgression(i.plots).y1,
1440
+ y2: e.calcLinearProgression(i.plots).y2,
1417
1441
  "stroke-width": 1,
1418
- stroke: a.color,
1442
+ stroke: i.color,
1419
1443
  "stroke-dasharray": 2,
1420
1444
  "marker-end": `url(#bar_arrow_${o})`
1421
- }, null, 8, wt)) : h("", !0),
1422
- a.plots.length > 1 ? (r(), l("text", {
1445
+ }, null, 8, Ot)) : h("", !0),
1446
+ i.plots.length > 1 ? (r(), l("text", {
1423
1447
  key: 1,
1424
1448
  "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
1449
+ x: e.calcLinearProgression(i.plots).x2,
1450
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1451
+ "font-size": a.fontSizes.plotLabels,
1452
+ fill: i.color
1429
1453
  }, S(e.dataLabel({
1430
- v: e.calcLinearProgression(a.plots).trend * 100,
1454
+ v: e.calcLinearProgression(i.plots).trend * 100,
1431
1455
  s: "%",
1432
1456
  r: 2
1433
- })), 9, Ot)) : h("", !0)
1457
+ })), 9, Gt)) : h("", !0)
1434
1458
  ])) : h("", !0)
1435
1459
  ], 6))), 128)) : h("", !0),
1436
- !i.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1460
+ !a.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1437
1461
  key: 1,
1438
1462
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1439
1463
  "stroke-width": "1",
@@ -1442,11 +1466,11 @@ function Ba(t, s, c, N, i, e) {
1442
1466
  y1: e.checkNaN(e.zero),
1443
1467
  y2: e.checkNaN(e.zero),
1444
1468
  "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,
1469
+ }, null, 8, vt)) : h("", !0),
1470
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g", pt, [
1471
+ u("line", {
1472
+ x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1473
+ x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1450
1474
  y1: e.drawingArea.top,
1451
1475
  y2: e.drawingArea.bottom,
1452
1476
  stroke: e.FINAL_CONFIG.chart.highlighter.color,
@@ -1454,7 +1478,7 @@ function Ba(t, s, c, N, i, e) {
1454
1478
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1455
1479
  "stroke-linecap": "round",
1456
1480
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1457
- }, null, 8, pt)
1481
+ }, null, 8, zt)
1458
1482
  ])) : h("", !0),
1459
1483
  e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
1460
1484
  key: 3,
@@ -1469,45 +1493,45 @@ function Ba(t, s, c, N, i, e) {
1469
1493
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1470
1494
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1471
1495
  "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,
1496
+ }, null, 8, Mt)) : h("", !0),
1497
+ e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Pt, [
1498
+ a.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
1499
+ (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", null, [
1500
+ u("line", {
1501
+ x1: i.x + e.xPadding,
1502
+ x2: i.x + e.xPadding,
1503
+ y1: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.checkNaN(e.drawingArea.top),
1504
+ y2: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset) : e.checkNaN(e.drawingArea.bottom),
1505
+ stroke: i.color,
1482
1506
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1483
1507
  "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)
1508
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1509
+ }, null, 12, Tt)
1486
1510
  ]))), 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`)
1511
+ (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", {
1512
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1489
1513
  }, [
1490
- g("text", {
1491
- fill: a.color,
1492
- "font-size": i.fontSizes.dataLabels,
1514
+ u("text", {
1515
+ fill: i.color,
1516
+ "font-size": a.fontSizes.dataLabels,
1493
1517
  "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,
1518
+ 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)`
1519
+ }, S(i.name) + " " + S(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, Vt),
1520
+ (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("line", {
1521
+ x1: i.x - 3 + e.xPadding,
1522
+ x2: i.x + e.xPadding,
1499
1523
  y1: e.checkNaN(o.y),
1500
1524
  y2: e.checkNaN(o.y),
1501
- stroke: a.color,
1525
+ stroke: i.color,
1502
1526
  "stroke-width": 1,
1503
1527
  "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,
1528
+ }, null, 8, Rt))), 256)),
1529
+ (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("text", {
1530
+ x: i.x - 5 + e.xPadding,
1531
+ y: e.checkNaN(o.y) + a.fontSizes.dataLabels / 3,
1532
+ "font-size": a.fontSizes.dataLabels,
1509
1533
  "text-anchor": "end",
1510
- fill: a.color
1534
+ fill: i.color
1511
1535
  }, S(e.applyDataLabel(
1512
1536
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1513
1537
  o.value,
@@ -1518,55 +1542,55 @@ function Ba(t, s, c, N, i, e) {
1518
1542
  r: 1
1519
1543
  }),
1520
1544
  { datapoint: o.datapoint, seriesIndex: n }
1521
- )), 9, Rt))), 256))
1545
+ )), 9, Dt))), 256))
1522
1546
  ], 4))), 256))
1523
- ], 64)) : (r(!0), l(m, { key: 1 }, I(e.yLabels, (a, o) => (r(), l("g", {
1547
+ ], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (i, o) => (r(), l("g", {
1524
1548
  key: `yLabel_${o}`
1525
1549
  }, [
1526
- e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("line", {
1550
+ e.canShowValue(i) && i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("line", {
1527
1551
  key: 0,
1528
1552
  x1: e.drawingArea.left + e.xPadding,
1529
1553
  x2: e.drawingArea.left - 5 + e.xPadding,
1530
- y1: e.checkNaN(a.y),
1531
- y2: e.checkNaN(a.y),
1554
+ y1: e.checkNaN(i.y),
1555
+ y2: e.checkNaN(i.y),
1532
1556
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1533
1557
  "stroke-width": "1",
1534
1558
  "stroke-linecap": "round"
1535
- }, null, 8, Dt)) : h("", !0),
1536
- a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("text", {
1559
+ }, null, 8, Wt)) : h("", !0),
1560
+ i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("text", {
1537
1561
  key: 1,
1538
1562
  x: e.drawingArea.left - 7 + e.xPadding,
1539
- y: e.checkNaN(a.y + i.fontSizes.dataLabels / 3),
1540
- "font-size": i.fontSizes.dataLabels,
1563
+ y: e.checkNaN(i.y + a.fontSizes.dataLabels / 3),
1564
+ "font-size": a.fontSizes.dataLabels,
1541
1565
  "text-anchor": "end",
1542
1566
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1543
- }, S(e.canShowValue(a.value) ? e.applyDataLabel(
1567
+ }, S(e.canShowValue(i.value) ? e.applyDataLabel(
1544
1568
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1545
- a.value,
1569
+ i.value,
1546
1570
  e.dataLabel({
1547
- p: a.prefix,
1548
- v: a.value,
1549
- s: a.suffix,
1571
+ p: i.prefix,
1572
+ v: i.value,
1573
+ s: i.suffix,
1550
1574
  r: 1
1551
1575
  })
1552
- ) : ""), 9, Wt)) : h("", !0)
1576
+ ) : ""), 9, Ht)) : h("", !0)
1553
1577
  ]))), 128))
1554
1578
  ])) : h("", !0),
1555
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("g", {
1579
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1556
1580
  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`)
1581
+ class: V(`serie_plot_${o}`),
1582
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1559
1583
  }, [
1560
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1561
- key: `circle_plot_${o}_${u}`
1584
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1585
+ key: `circle_plot_${o}_${g}`
1562
1586
  }, [
1563
- n && e.canShowValue(n.value) ? (r(), R(f, {
1587
+ n && e.canShowValue(n.value) ? (r(), D(_, {
1564
1588
  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,
1589
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1590
+ 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
1591
  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,
1592
+ radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === g || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === g ? (a.plotRadii.plot || 6) * 1.5 : a.plotRadii.plot || 6,
1593
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1570
1594
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1571
1595
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1572
1596
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
@@ -1577,16 +1601,16 @@ function Ba(t, s, c, N, i, e) {
1577
1601
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1578
1602
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1579
1603
  }, [
1580
- g("div", Et, [
1604
+ u("div", Bt, [
1581
1605
  G(t.$slots, "plot-comment", {
1582
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1606
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1583
1607
  }, void 0, !0)
1584
1608
  ])
1585
- ], 8, Ht)) : h("", !0)
1609
+ ], 8, Et)) : h("", !0)
1586
1610
  ]))), 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", {
1611
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", Yt, [
1612
+ u("defs", null, [
1613
+ u("marker", {
1590
1614
  id: `plot_arrow_${o}`,
1591
1615
  markerWidth: 7,
1592
1616
  markerHeight: 7,
@@ -1594,119 +1618,119 @@ function Ba(t, s, c, N, i, e) {
1594
1618
  refY: 7 / 2,
1595
1619
  orient: "auto"
1596
1620
  }, [
1597
- g("polygon", {
1621
+ u("polygon", {
1598
1622
  points: `0 0, 7 ${7 / 2}, 0 7`,
1599
- fill: a.color
1600
- }, null, 8, Xt)
1601
- ], 8, Yt)
1623
+ fill: i.color
1624
+ }, null, 8, qt)
1625
+ ], 8, Xt)
1602
1626
  ]),
1603
- a.plots.length > 1 ? (r(), l("line", {
1627
+ i.plots.length > 1 ? (r(), l("line", {
1604
1628
  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,
1629
+ x1: e.calcLinearProgression(i.plots).x1,
1630
+ x2: e.calcLinearProgression(i.plots).x2,
1631
+ y1: e.calcLinearProgression(i.plots).y1,
1632
+ y2: e.calcLinearProgression(i.plots).y2,
1609
1633
  "stroke-width": 1,
1610
- stroke: a.color,
1634
+ stroke: i.color,
1611
1635
  "stroke-dasharray": 2,
1612
1636
  "marker-end": `url(#plot_arrow_${o})`
1613
- }, null, 8, qt)) : h("", !0),
1614
- a.plots.length > 1 ? (r(), l("text", {
1637
+ }, null, 8, Ut)) : h("", !0),
1638
+ i.plots.length > 1 ? (r(), l("text", {
1615
1639
  key: 1,
1616
1640
  "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
1641
+ x: e.calcLinearProgression(i.plots).x2,
1642
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1643
+ "font-size": a.fontSizes.plotLabels,
1644
+ fill: i.color
1621
1645
  }, S(e.dataLabel({
1622
- v: e.calcLinearProgression(a.plots).trend * 100,
1646
+ v: e.calcLinearProgression(i.plots).trend * 100,
1623
1647
  s: "%",
1624
1648
  r: 2
1625
- })), 9, Ut)) : h("", !0)
1649
+ })), 9, Zt)) : h("", !0)
1626
1650
  ])) : h("", !0)
1627
1651
  ], 6))), 128)),
1628
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1652
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1629
1653
  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`)
1654
+ class: V(`serie_line_${o}`),
1655
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1632
1656
  }, [
1633
- a.smooth && a.plots.length > 1 ? (r(), l("path", {
1657
+ i.smooth && i.plots.length > 1 ? (r(), l("path", {
1634
1658
  key: 0,
1635
- d: `M${a.curve}`,
1659
+ d: `M${i.curve}`,
1636
1660
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1637
1661
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1638
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1662
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1639
1663
  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}`
1664
+ }, null, 8, Jt)) : i.plots.length > 1 ? (r(), l("g", Kt, [
1665
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1666
+ key: `line_${o}_${g}`
1643
1667
  }, [
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", {
1668
+ 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
1669
  key: 0,
1646
1670
  x1: n.x,
1647
- x2: a.plots[u + 1].x,
1671
+ x2: i.plots[g + 1].x,
1648
1672
  y1: n.y,
1649
- y2: a.plots[u + 1].y,
1673
+ y2: i.plots[g + 1].y,
1650
1674
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1651
1675
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1652
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1676
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1653
1677
  "stroke-linejoin": "round",
1654
1678
  "stroke-linecap": "round"
1655
- }, null, 8, Kt)) : h("", !0)
1679
+ }, null, 8, Qt)) : h("", !0)
1656
1680
  ]))), 128))
1657
1681
  ])) : h("", !0)
1658
1682
  ], 6))), 128)),
1659
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1683
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1660
1684
  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`)
1685
+ class: V(`serie_line_${o}`),
1686
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1663
1687
  }, [
1664
- a.useArea && a.plots.length > 1 ? (r(), l("g", Qt, [
1665
- a.smooth ? (r(), l("path", {
1688
+ i.useArea && i.plots.length > 1 ? (r(), l("g", jt, [
1689
+ i.smooth ? (r(), l("path", {
1666
1690
  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", {
1691
+ 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`,
1692
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1693
+ }, null, 8, $t)) : (r(), l("path", {
1670
1694
  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))
1695
+ d: `M${i.area}Z`,
1696
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1697
+ }, null, 8, ea))
1674
1698
  ])) : h("", !0),
1675
- a.smooth && a.plots.length > 1 ? (r(), l("path", {
1699
+ i.smooth && i.plots.length > 1 ? (r(), l("path", {
1676
1700
  key: 1,
1677
- d: `M${a.curve}`,
1678
- stroke: a.color,
1701
+ d: `M${i.curve}`,
1702
+ stroke: i.color,
1679
1703
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1680
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1704
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1681
1705
  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}`
1706
+ }, null, 8, ta)) : i.plots.length > 1 ? (r(), l("g", aa, [
1707
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1708
+ key: `line_${o}_${g}`
1685
1709
  }, [
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", {
1710
+ 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
1711
  key: 0,
1688
1712
  x1: n.x,
1689
- x2: a.plots[u + 1].x,
1713
+ x2: i.plots[g + 1].x,
1690
1714
  y1: n.y,
1691
- y2: a.plots[u + 1].y,
1692
- stroke: a.color,
1715
+ y2: i.plots[g + 1].y,
1716
+ stroke: i.color,
1693
1717
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1694
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1718
+ "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1695
1719
  "stroke-linejoin": "round",
1696
1720
  "stroke-linecap": "round"
1697
- }, null, 8, aa)) : h("", !0)
1721
+ }, null, 8, ia)) : h("", !0)
1698
1722
  ]))), 128))
1699
1723
  ])) : h("", !0),
1700
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1701
- key: `circle_line_${o}_${u}`
1724
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1725
+ key: `circle_line_${o}_${g}`
1702
1726
  }, [
1703
- n && e.canShowValue(n.value) ? (r(), R(f, {
1727
+ n && e.canShowValue(n.value) ? (r(), D(_, {
1704
1728
  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,
1729
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1730
+ 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
1731
  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,
1732
+ radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === g || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === g ? (a.plotRadii.line || 6) * 1.5 : a.plotRadii.line || 6,
1733
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1710
1734
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1711
1735
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1712
1736
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
@@ -1717,16 +1741,16 @@ function Ba(t, s, c, N, i, e) {
1717
1741
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1718
1742
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1719
1743
  }, [
1720
- g("div", ra, [
1744
+ u("div", la, [
1721
1745
  G(t.$slots, "plot-comment", {
1722
- plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: u }
1746
+ plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: g }
1723
1747
  }, void 0, !0)
1724
1748
  ])
1725
- ], 8, ia)) : h("", !0)
1749
+ ], 8, ra)) : h("", !0)
1726
1750
  ]))), 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", {
1751
+ Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", sa, [
1752
+ u("defs", null, [
1753
+ u("marker", {
1730
1754
  id: `line_arrow_${o}`,
1731
1755
  markerWidth: 7,
1732
1756
  markerHeight: 7,
@@ -1734,110 +1758,110 @@ function Ba(t, s, c, N, i, e) {
1734
1758
  refY: 7 / 2,
1735
1759
  orient: "auto"
1736
1760
  }, [
1737
- g("polygon", {
1761
+ u("polygon", {
1738
1762
  points: `0 0, 7 ${7 / 2}, 0 7`,
1739
- fill: a.color
1740
- }, null, 8, na)
1741
- ], 8, sa)
1763
+ fill: i.color
1764
+ }, null, 8, oa)
1765
+ ], 8, na)
1742
1766
  ]),
1743
- a.plots.length > 1 ? (r(), l("line", {
1767
+ i.plots.length > 1 ? (r(), l("line", {
1744
1768
  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,
1769
+ x1: e.calcLinearProgression(i.plots).x1,
1770
+ x2: e.calcLinearProgression(i.plots).x2,
1771
+ y1: e.calcLinearProgression(i.plots).y1,
1772
+ y2: e.calcLinearProgression(i.plots).y2,
1749
1773
  "stroke-width": 1,
1750
- stroke: a.color,
1774
+ stroke: i.color,
1751
1775
  "stroke-dasharray": 2,
1752
1776
  "marker-end": `url(#line_arrow_${o})`
1753
- }, null, 8, oa)) : h("", !0),
1754
- a.plots.length > 1 ? (r(), l("text", {
1777
+ }, null, 8, ca)) : h("", !0),
1778
+ i.plots.length > 1 ? (r(), l("text", {
1755
1779
  key: 1,
1756
1780
  "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
1781
+ x: e.calcLinearProgression(i.plots).x2,
1782
+ y: e.calcLinearProgression(i.plots).y2 - 6,
1783
+ "font-size": a.fontSizes.plotLabels,
1784
+ fill: i.color
1761
1785
  }, S(e.dataLabel({
1762
- v: e.calcLinearProgression(a.plots).trend * 100,
1786
+ v: e.calcLinearProgression(i.plots).trend * 100,
1763
1787
  s: "%",
1764
1788
  r: 2
1765
- })), 9, ca)) : h("", !0)
1789
+ })), 9, ha)) : h("", !0)
1766
1790
  ])) : h("", !0)
1767
1791
  ], 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", {
1792
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g", da, [
1793
+ (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("g", {
1770
1794
  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`)
1795
+ class: V(`xLabel_bar_${o}`),
1796
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1773
1797
  }, [
1774
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1775
- key: `xLabel_bar_${o}_${u}`
1798
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1799
+ key: `xLabel_bar_${o}_${g}`
1776
1800
  }, [
1777
- n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1801
+ n && (!Object.hasOwn(i, "dataLabels") || i.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1778
1802
  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,
1803
+ x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1780
1804
  y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1781
1805
  "text-anchor": "middle",
1782
- "font-size": i.fontSizes.plotLabels,
1806
+ "font-size": a.fontSizes.plotLabels,
1783
1807
  fill: e.FINAL_CONFIG.bar.labels.color
1784
1808
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1785
1809
  e.FINAL_CONFIG.bar.labels.formatter,
1786
1810
  n.value,
1787
1811
  e.dataLabel({
1788
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1812
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1789
1813
  v: n.value,
1790
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1814
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1791
1815
  r: e.FINAL_CONFIG.bar.labels.rounding
1792
1816
  }),
1793
1817
  {
1794
1818
  datapoint: n,
1795
- serie: a
1819
+ serie: i
1796
1820
  }
1797
- ) : ""), 9, da)) : h("", !0),
1821
+ ) : ""), 9, ua)) : h("", !0),
1798
1822
  n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
1799
1823
  key: 1,
1800
- x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1824
+ x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1801
1825
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1802
1826
  "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,
1827
+ "font-size": a.fontSizes.plotLabels,
1828
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
1805
1829
  "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)
1830
+ }, 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
1831
  ]))), 128))
1808
1832
  ], 6))), 128))
1809
1833
  ])) : 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", {
1834
+ e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", fa, [
1835
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1812
1836
  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`)
1837
+ class: V(`xLabel_plot_${o}`),
1838
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1815
1839
  }, [
1816
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1817
- key: `xLabel_plot_${o}_${u}`
1840
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1841
+ key: `xLabel_plot_${o}_${g}`
1818
1842
  }, [
1819
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), l("text", {
1843
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 ? (r(), l("text", {
1820
1844
  key: 0,
1821
1845
  x: n.x,
1822
1846
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1823
1847
  "text-anchor": "middle",
1824
- "font-size": i.fontSizes.plotLabels,
1848
+ "font-size": a.fontSizes.plotLabels,
1825
1849
  fill: e.FINAL_CONFIG.plot.labels.color
1826
1850
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1827
1851
  e.FINAL_CONFIG.plot.labels.formatter,
1828
1852
  n.value,
1829
1853
  e.dataLabel({
1830
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1854
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1831
1855
  v: n.value,
1832
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1856
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1833
1857
  r: e.FINAL_CONFIG.plot.labels.rounding
1834
1858
  }),
1835
1859
  {
1836
1860
  datapoint: n,
1837
- serie: a
1861
+ serie: i
1838
1862
  }
1839
- ) : ""), 9, fa)) : h("", !0),
1840
- n && u === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1863
+ ) : ""), 9, Na)) : h("", !0),
1864
+ n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1841
1865
  key: 1,
1842
1866
  x: n.x,
1843
1867
  y: n.y - 20,
@@ -1845,56 +1869,56 @@ function Ba(t, s, c, N, i, e) {
1845
1869
  width: "150",
1846
1870
  style: { overflow: "visible" }
1847
1871
  }, [
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", {
1872
+ u("div", {
1873
+ 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;`)
1874
+ }, S(i.name), 5)
1875
+ ], 8, ma)) : h("", !0),
1876
+ n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1853
1877
  key: 2,
1854
- x: n.x - a.name.length * (i.fontSizes.plotLabels / 2),
1878
+ x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1855
1879
  y: n.y - 20,
1856
1880
  height: 24,
1857
1881
  width: "150",
1858
1882
  style: { overflow: "visible" }
1859
1883
  }, [
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)
1884
+ u("div", {
1885
+ 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;`)
1886
+ }, S(i.name), 5)
1887
+ ], 8, Ia)) : h("", !0)
1864
1888
  ]))), 128))
1865
1889
  ], 6))), 128))
1866
1890
  ])) : 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", {
1891
+ e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", xa, [
1892
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1869
1893
  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`)
1894
+ class: V(`xLabel_line_${o}`),
1895
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1872
1896
  }, [
1873
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1874
- key: `xLabel_line_${o}_${u}`
1897
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1898
+ key: `xLabel_line_${o}_${g}`
1875
1899
  }, [
1876
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (r(), l("text", {
1900
+ n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 ? (r(), l("text", {
1877
1901
  key: 0,
1878
1902
  x: n.x,
1879
1903
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1880
1904
  "text-anchor": "middle",
1881
- "font-size": i.fontSizes.plotLabels,
1905
+ "font-size": a.fontSizes.plotLabels,
1882
1906
  fill: e.FINAL_CONFIG.line.labels.color
1883
1907
  }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1884
1908
  e.FINAL_CONFIG.line.labels.formatter,
1885
1909
  n.value,
1886
1910
  e.dataLabel({
1887
- p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1911
+ p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1888
1912
  v: n.value,
1889
- s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1913
+ s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1890
1914
  r: e.FINAL_CONFIG.line.labels.rounding
1891
1915
  }),
1892
1916
  {
1893
1917
  datapoint: n,
1894
- serie: a
1918
+ serie: i
1895
1919
  }
1896
- ) : ""), 9, xa)) : h("", !0),
1897
- n && u === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1920
+ ) : ""), 9, ba)) : h("", !0),
1921
+ n && g === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1898
1922
  key: 1,
1899
1923
  x: n.x,
1900
1924
  y: n.y - 20,
@@ -1902,154 +1926,154 @@ function Ba(t, s, c, N, i, e) {
1902
1926
  width: "150",
1903
1927
  style: { overflow: "visible" }
1904
1928
  }, [
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", {
1929
+ u("div", {
1930
+ 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;`)
1931
+ }, S(i.name), 5)
1932
+ ], 8, Fa)) : h("", !0),
1933
+ n && g === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1910
1934
  key: 2,
1911
- x: n.x - a.name.length * (i.fontSizes.plotLabels / 2),
1935
+ x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1912
1936
  y: n.y - 20,
1913
1937
  height: 24,
1914
1938
  width: "150",
1915
1939
  style: { overflow: "visible" }
1916
1940
  }, [
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)
1941
+ u("div", {
1942
+ 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;`)
1943
+ }, S(i.name), 5)
1944
+ ], 8, _a)) : h("", !0)
1921
1945
  ]))), 128))
1922
1946
  ], 6))), 128))
1923
1947
  ])) : h("", !0),
1924
- (r(!0), l(m, null, I(e.lineSet, (a, o) => (r(), l("g", {
1948
+ (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1925
1949
  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`)
1950
+ class: V(`xLabel_line_${o}`),
1951
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1928
1952
  }, [
1929
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1930
- key: `xLabel_line_${o}_${u}`
1953
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1954
+ key: `xLabel_line_${o}_${g}`
1931
1955
  }, [
1932
- n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
1956
+ n && g === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
1933
1957
  key: 0,
1934
- x: n.x - i.fontSizes.plotLabels,
1958
+ x: n.x - a.fontSizes.plotLabels,
1935
1959
  y: n.y,
1936
- "font-size": i.fontSizes.plotLabels,
1960
+ "font-size": a.fontSizes.plotLabels,
1937
1961
  "text-anchor": "end",
1938
- fill: a.color,
1962
+ fill: i.color,
1939
1963
  innerHTML: e.createTSpans({
1940
- content: a.name,
1941
- fontSize: i.fontSizes.plotLabels,
1942
- fill: a.color,
1943
- x: n.x - i.fontSizes.plotLabels,
1964
+ content: i.name,
1965
+ fontSize: a.fontSizes.plotLabels,
1966
+ fill: i.color,
1967
+ x: n.x - a.fontSizes.plotLabels,
1944
1968
  y: n.y,
1945
1969
  maxWords: 2
1946
1970
  })
1947
- }, null, 8, _a)) : h("", !0),
1948
- n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
1971
+ }, null, 8, ya)) : h("", !0),
1972
+ n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
1949
1973
  key: 1,
1950
- x: n.x + i.fontSizes.plotLabels,
1974
+ x: n.x + a.fontSizes.plotLabels,
1951
1975
  y: n.y,
1952
- "font-size": i.fontSizes.plotLabels,
1976
+ "font-size": a.fontSizes.plotLabels,
1953
1977
  "text-anchor": "start",
1954
- fill: a.color,
1978
+ fill: i.color,
1955
1979
  innerHTML: e.createTSpans({
1956
- content: a.name,
1957
- fontSize: i.fontSizes.plotLabels,
1958
- fill: a.color,
1959
- x: n.x + i.fontSizes.plotLabels,
1980
+ content: i.name,
1981
+ fontSize: a.fontSizes.plotLabels,
1982
+ fill: i.color,
1983
+ x: n.x + a.fontSizes.plotLabels,
1960
1984
  y: n.y,
1961
1985
  maxWords: 2
1962
1986
  })
1963
- }, null, 8, ya)) : h("", !0)
1987
+ }, null, 8, Aa)) : h("", !0)
1964
1988
  ]))), 128))
1965
1989
  ], 6))), 128)),
1966
- (r(!0), l(m, null, I(e.plotSet, (a, o) => (r(), l("g", {
1990
+ (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1967
1991
  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`)
1992
+ class: V(`xLabel_plot_${o}`),
1993
+ style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1970
1994
  }, [
1971
- (r(!0), l(m, null, I(a.plots, (n, u) => (r(), l("g", {
1972
- key: `xLabel_plot_${o}_${u}`
1995
+ (r(!0), l(N, null, I(i.plots, (n, g) => (r(), l("g", {
1996
+ key: `xLabel_plot_${o}_${g}`
1973
1997
  }, [
1974
- n && u === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
1998
+ n && g === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
1975
1999
  key: 0,
1976
- x: n.x - i.fontSizes.plotLabels,
2000
+ x: n.x - a.fontSizes.plotLabels,
1977
2001
  y: n.y,
1978
- "font-size": i.fontSizes.plotLabels,
2002
+ "font-size": a.fontSizes.plotLabels,
1979
2003
  "text-anchor": "end",
1980
- fill: a.color,
2004
+ fill: i.color,
1981
2005
  innerHTML: e.createTSpans({
1982
- content: a.name,
1983
- fontSize: i.fontSizes.plotLabels,
1984
- fill: a.color,
1985
- x: n.x - i.fontSizes.plotLabels,
2006
+ content: i.name,
2007
+ fontSize: a.fontSizes.plotLabels,
2008
+ fill: i.color,
2009
+ x: n.x - a.fontSizes.plotLabels,
1986
2010
  y: n.y,
1987
2011
  maxWords: 2
1988
2012
  })
1989
- }, null, 8, Aa)) : h("", !0),
1990
- n && u === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
2013
+ }, null, 8, Ca)) : h("", !0),
2014
+ n && g === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
1991
2015
  key: 1,
1992
- x: n.x + i.fontSizes.plotLabels,
2016
+ x: n.x + a.fontSizes.plotLabels,
1993
2017
  y: n.y,
1994
- "font-size": i.fontSizes.plotLabels,
2018
+ "font-size": a.fontSizes.plotLabels,
1995
2019
  "text-anchor": "start",
1996
- fill: a.color,
2020
+ fill: i.color,
1997
2021
  innerHTML: e.createTSpans({
1998
- content: a.name,
1999
- fontSize: i.fontSizes.plotLabels,
2000
- fill: a.color,
2001
- x: n.x + i.fontSizes.plotLabels,
2022
+ content: i.name,
2023
+ fontSize: a.fontSizes.plotLabels,
2024
+ fill: i.color,
2025
+ x: n.x + a.fontSizes.plotLabels,
2002
2026
  y: n.y,
2003
2027
  maxWords: 2
2004
2028
  })
2005
2029
  }, null, 8, La)) : h("", !0)
2006
2030
  ]))), 128))
2007
2031
  ], 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,
2032
+ a.mutableConfig.useIndividualScale && !a.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (i) => (r(), l("rect", {
2033
+ x: i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2010
2034
  y: e.drawingArea.top,
2011
2035
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2012
2036
  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", {
2037
+ fill: a.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
2038
+ onMouseenter: (o) => a.selectedScale = i.id,
2039
+ onMouseleave: s[0] || (s[0] = (o) => a.selectedScale = null)
2040
+ }, null, 40, Sa))), 256)) : h("", !0),
2041
+ u("g", null, [
2042
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !a.mutableConfig.useIndividualScale ? (r(), l("text", {
2019
2043
  key: 0,
2020
- "font-size": i.fontSizes.yAxis,
2044
+ "font-size": a.fontSizes.yAxis,
2021
2045
  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)`,
2046
+ transform: `translate(${a.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2023
2047
  "text-anchor": "middle",
2024
2048
  style: { transition: "none" }
2025
- }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Sa)) : h("", !0),
2049
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, ka)) : h("", !0),
2026
2050
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
2027
2051
  key: 1,
2028
2052
  "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,
2053
+ x: a.width / 2,
2054
+ y: e.drawingArea.bottom + a.fontSizes.yAxis + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2055
+ "font-size": a.fontSizes.yAxis,
2032
2056
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2033
- }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, ka)) : h("", !0)
2057
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, wa)) : h("", !0)
2034
2058
  ]),
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", {
2059
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", Oa, [
2060
+ (r(!0), l(N, null, I(e.timeLabels, (i, o) => (r(), l("g", {
2037
2061
  key: `time_label_${o}`
2038
2062
  }, [
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", {
2063
+ 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
2064
  key: 0,
2041
2065
  "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,
2066
+ "font-size": a.fontSizes.xAxis,
2043
2067
  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)
2068
+ 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})`
2069
+ }, S(i || ""), 9, Ga)) : h("", !0)
2046
2070
  ]))), 128))
2047
2071
  ])) : h("", !0),
2048
- g("g", null, [
2049
- (r(!0), l(m, null, I(e.maxSeries, (a, o) => (r(), l("g", {
2072
+ u("g", null, [
2073
+ (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
2050
2074
  key: `tooltip_trap_${o}`
2051
2075
  }, [
2052
- g("rect", {
2076
+ u("rect", {
2053
2077
  "data-cy-trap": "",
2054
2078
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * o,
2055
2079
  y: e.drawingArea.top,
@@ -2059,37 +2083,37 @@ function Ba(t, s, c, N, i, e) {
2059
2083
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
2060
2084
  onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2061
2085
  onClick: (n) => e.selectX(o)
2062
- }, null, 40, Ga)
2086
+ }, null, 40, va)
2063
2087
  ]))), 128))
2064
2088
  ]),
2065
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (r(), l("g", va, [
2089
+ e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) ? (r(), l("g", pa, [
2066
2090
  (r(), l("foreignObject", {
2067
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2091
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2068
2092
  y: e.drawingArea.bottom,
2069
2093
  width: "200",
2070
2094
  height: "40",
2071
2095
  style: { overflow: "visible !important" }
2072
2096
  }, [
2073
- g("div", {
2097
+ u("div", {
2074
2098
  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,
2099
+ 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`)
2100
+ }, S(e.timeLabels[a.selectedSerieIndex] || a.selectedSerieIndex), 5)
2101
+ ], 8, za)),
2102
+ u("circle", {
2103
+ cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * a.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2080
2104
  cy: e.drawingArea.bottom,
2081
2105
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2082
2106
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2083
- }, null, 8, za)
2107
+ }, null, 8, Ma)
2084
2108
  ])) : h("", !0)
2085
2109
  ])) : h("", !0),
2086
2110
  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)
2111
+ ], 14, Ue)) : h("", !0),
2112
+ t.$slots.watermark ? (r(), l("div", Pa, [
2113
+ G(t.$slots, "watermark", H(E({ isPrinting: a.isPrinting || a.isImaging })), void 0, !0)
2090
2114
  ])) : h("", !0),
2091
- e.isDataset ? h("", !0) : (r(), R(L, {
2092
- key: 4,
2115
+ e.isDataset ? h("", !0) : (r(), D(P, {
2116
+ key: 5,
2093
2117
  config: {
2094
2118
  type: "line",
2095
2119
  style: {
@@ -2106,14 +2130,14 @@ function Ba(t, s, c, N, i, e) {
2106
2130
  }
2107
2131
  }
2108
2132
  }, null, 8, ["config"])),
2109
- e.FINAL_CONFIG.chart.zoom.show && i.maxX > 6 && e.isDataset ? (r(), R(M, {
2133
+ e.FINAL_CONFIG.chart.zoom.show && a.maxX > 6 && e.isDataset ? (r(), D(w, {
2110
2134
  ref: "chartSlicer",
2111
- key: `slicer_${i.slicerStep}`,
2135
+ key: `slicer_${a.slicerStep}`,
2112
2136
  background: e.FINAL_CONFIG.chart.zoom.color,
2113
2137
  fontSize: e.FINAL_CONFIG.chart.zoom.fontSize,
2114
2138
  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],
2139
+ labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.start],
2140
+ labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.end - 1],
2117
2141
  textColor: e.FINAL_CONFIG.chart.color,
2118
2142
  inputColor: e.FINAL_CONFIG.chart.zoom.color,
2119
2143
  selectColor: e.FINAL_CONFIG.chart.zoom.highlightColor,
@@ -2124,55 +2148,55 @@ function Ba(t, s, c, N, i, e) {
2124
2148
  minimapSelectionRadius: e.FINAL_CONFIG.chart.zoom.minimap.selectionRadius,
2125
2149
  minimapLineColor: e.FINAL_CONFIG.chart.zoom.minimap.lineColor,
2126
2150
  minimapSelectedColorOpacity: e.FINAL_CONFIG.chart.zoom.minimap.selectedColorOpacity,
2127
- minimapSelectedIndex: i.selectedSerieIndex,
2151
+ minimapSelectedIndex: a.selectedSerieIndex,
2128
2152
  minimapIndicatorColor: e.FINAL_CONFIG.chart.zoom.minimap.indicatorColor,
2129
- max: i.maxX,
2153
+ max: a.maxX,
2130
2154
  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),
2155
+ valueStart: a.slicer.start,
2156
+ valueEnd: a.slicer.end,
2157
+ start: a.slicer.start,
2158
+ "onUpdate:start": s[2] || (s[2] = (i) => a.slicer.start = i),
2159
+ end: a.slicer.end,
2160
+ "onUpdate:end": s[3] || (s[3] = (i) => a.slicer.end = i),
2137
2161
  onReset: e.refreshSlicer,
2138
2162
  onTrapMouse: e.selectMinimapIndex
2139
2163
  }, {
2140
- "reset-action": z(({ reset: a }) => [
2141
- G(t.$slots, "reset-action", B(Y({ reset: a })), void 0, !0)
2164
+ "reset-action": M(({ reset: i }) => [
2165
+ G(t.$slots, "reset-action", H(E({ reset: i })), void 0, !0)
2142
2166
  ]),
2143
2167
  _: 3
2144
2168
  }, 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
2169
  e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
2146
- key: 6,
2170
+ key: 7,
2147
2171
  ref: "chartLegend",
2148
2172
  class: "vue-ui-xy-legend",
2149
- style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2173
+ style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2150
2174
  }, [
2151
- (r(!0), l(m, null, I(e.absoluteDataset, (a, o) => (r(), l("div", {
2175
+ (r(!0), l(N, null, I(e.absoluteDataset, (i, o) => (r(), l("div", {
2152
2176
  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) })
2177
+ onClick: (n) => e.segregate(i),
2178
+ class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": a.segregatedSeries.includes(i.id) })
2155
2179
  }, [
2156
- i.icons[a.type] === "line" ? (r(), l("svg", Ta, [
2157
- g("rect", {
2180
+ a.icons[i.type] === "line" ? (r(), l("svg", Va, [
2181
+ u("rect", {
2158
2182
  x: "0",
2159
2183
  y: "7",
2160
2184
  rx: "3",
2161
2185
  stroke: "none",
2162
2186
  height: "4",
2163
2187
  width: "20",
2164
- fill: a.color
2165
- }, null, 8, Va),
2166
- X(f, {
2188
+ fill: i.color
2189
+ }, null, 8, Ra),
2190
+ X(_, {
2167
2191
  plot: { x: 10, y: 9 },
2168
2192
  radius: 4,
2169
- color: a.color,
2170
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2193
+ color: i.color,
2194
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
2171
2195
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2172
2196
  strokeWidth: 1
2173
2197
  }, null, 8, ["color", "shape", "stroke"])
2174
- ])) : (r(), l("svg", Ra, [
2175
- i.icons[a.type] === "bar" ? (r(), l("rect", {
2198
+ ])) : (r(), l("svg", Da, [
2199
+ a.icons[i.type] === "bar" ? (r(), l("rect", {
2176
2200
  key: 0,
2177
2201
  x: "0",
2178
2202
  y: "0",
@@ -2180,24 +2204,24 @@ function Ba(t, s, c, N, i, e) {
2180
2204
  height: "12",
2181
2205
  width: "12",
2182
2206
  stroke: "none",
2183
- fill: a.color
2184
- }, null, 8, Da)) : (r(), R(f, {
2207
+ fill: i.color
2208
+ }, null, 8, Wa)) : (r(), D(_, {
2185
2209
  key: 1,
2186
2210
  plot: { x: 6, y: 6 },
2187
2211
  radius: 5,
2188
- color: a.color,
2189
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2212
+ color: i.color,
2213
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
2190
2214
  }, null, 8, ["color", "shape"]))
2191
2215
  ])),
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, [
2216
+ u("span", {
2217
+ style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2218
+ }, S(i.name), 5)
2219
+ ], 10, Ta))), 128))
2220
+ ], 4)) : (r(), l("div", Ha, [
2197
2221
  G(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2198
2222
  ], 512)),
2199
- X(w, {
2200
- show: i.mutableConfig.showTooltip && i.isTooltip,
2223
+ X(z, {
2224
+ show: a.mutableConfig.showTooltip && a.isTooltip,
2201
2225
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2202
2226
  color: e.FINAL_CONFIG.chart.tooltip.color,
2203
2227
  fontSize: e.FINAL_CONFIG.chart.tooltip.fontSize,
@@ -2211,19 +2235,19 @@ function Ba(t, s, c, N, i, e) {
2211
2235
  content: e.tooltipContent,
2212
2236
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2213
2237
  }, {
2214
- "tooltip-before": z(() => [
2215
- G(t.$slots, "tooltip-before", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2238
+ "tooltip-before": M(() => [
2239
+ G(t.$slots, "tooltip-before", H(E({ ...e.dataTooltipSlot })), void 0, !0)
2216
2240
  ]),
2217
- "tooltip-after": z(() => [
2218
- G(t.$slots, "tooltip-after", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2241
+ "tooltip-after": M(() => [
2242
+ G(t.$slots, "tooltip-after", H(E({ ...e.dataTooltipSlot })), void 0, !0)
2219
2243
  ]),
2220
2244
  _: 3
2221
2245
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
2222
- e.isDataset ? (r(), R(C, {
2223
- key: 8,
2246
+ e.isDataset ? (r(), D(p, {
2247
+ key: 9,
2224
2248
  hideDetails: "",
2225
2249
  config: {
2226
- open: i.mutableConfig.showTable,
2250
+ open: a.mutableConfig.showTable,
2227
2251
  maxHeight: 1e4,
2228
2252
  body: {
2229
2253
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -2235,48 +2259,48 @@ function Ba(t, s, c, N, i, e) {
2235
2259
  }
2236
2260
  }
2237
2261
  }, {
2238
- content: z(() => [
2239
- g("div", {
2240
- style: A(`${i.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2262
+ content: M(() => [
2263
+ u("div", {
2264
+ style: C(`${a.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2241
2265
  }, [
2242
- g("div", Ha, [
2243
- De(g("input", {
2266
+ u("div", Ea, [
2267
+ We(u("input", {
2244
2268
  type: "checkbox",
2245
- "onUpdate:modelValue": s[4] || (s[4] = (a) => i.showSparklineTable = a)
2269
+ "onUpdate:modelValue": s[4] || (s[4] = (i) => a.showSparklineTable = i)
2246
2270
  }, null, 512), [
2247
- [We, i.showSparklineTable]
2271
+ [He, a.showSparklineTable]
2248
2272
  ]),
2249
- g("div", {
2250
- onClick: s[5] || (s[5] = (a) => i.showSparklineTable = !i.showSparklineTable),
2273
+ u("div", {
2274
+ onClick: s[5] || (s[5] = (i) => a.showSparklineTable = !a.showSparklineTable),
2251
2275
  style: { cursor: "pointer" }
2252
2276
  }, [
2253
- X(p, {
2277
+ X(v, {
2254
2278
  name: "chartLine",
2255
2279
  size: 20,
2256
2280
  stroke: e.FINAL_CONFIG.chart.color
2257
2281
  }, null, 8, ["stroke"])
2258
2282
  ])
2259
2283
  ]),
2260
- i.showSparklineTable ? (r(), R(v, {
2261
- key: `sparkline_${i.segregateStep}`,
2284
+ a.showSparklineTable ? (r(), D(F, {
2285
+ key: `sparkline_${a.segregateStep}`,
2262
2286
  dataset: e.tableSparklineDataset,
2263
2287
  config: e.tableSparklineConfig
2264
- }, null, 8, ["dataset", "config"])) : (r(), R(F, {
2265
- key: `table_${i.tableStep}`,
2288
+ }, null, 8, ["dataset", "config"])) : (r(), D(L, {
2289
+ key: `table_${a.tableStep}`,
2266
2290
  colNames: e.dataTable.colNames,
2267
2291
  head: e.dataTable.head,
2268
2292
  body: e.dataTable.body,
2269
2293
  config: e.dataTable.config,
2270
2294
  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)
2295
+ onClose: s[6] || (s[6] = (i) => a.mutableConfig.showTable = !1)
2272
2296
  }, {
2273
- th: z(({ th: a }) => [
2274
- g("div", { innerHTML: a }, null, 8, Ea)
2297
+ th: M(({ th: i }) => [
2298
+ u("div", { innerHTML: i }, null, 8, Ba)
2275
2299
  ]),
2276
- td: z(({ td: a }) => [
2277
- He(S(isNaN(Number(a)) ? a : e.dataLabel({
2300
+ td: M(({ td: i }) => [
2301
+ Ee(S(isNaN(Number(i)) ? i : e.dataLabel({
2278
2302
  p: e.FINAL_CONFIG.chart.labels.prefix,
2279
- v: a,
2303
+ v: i,
2280
2304
  s: e.FINAL_CONFIG.chart.labels.suffix,
2281
2305
  r: e.FINAL_CONFIG.table.rounding
2282
2306
  })), 1)
@@ -2287,9 +2311,9 @@ function Ba(t, s, c, N, i, e) {
2287
2311
  ]),
2288
2312
  _: 1
2289
2313
  }, 8, ["config"])) : h("", !0)
2290
- ], 14, Xe);
2314
+ ], 14, qe);
2291
2315
  }
2292
- const li = /* @__PURE__ */ Ee(Ye, [["render", Ba], ["__scopeId", "data-v-fe7409df"]]);
2316
+ const ni = /* @__PURE__ */ Be(Xe, [["render", Ya], ["__scopeId", "data-v-8d96cbc4"]]);
2293
2317
  export {
2294
- li as default
2318
+ ni as default
2295
2319
  };