vue-data-ui 2.4.83 → 2.4.85

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 (172) hide show
  1. package/dist/{Arrow-DdtSSnUZ.cjs → Arrow-Ajt3NMEa.cjs} +1 -1
  2. package/dist/{Arrow-Bl2aigOV.js → Arrow-Qayb_B0s.js} +1 -1
  3. package/dist/{BaseIcon-DG_iYn4X.js → BaseIcon-B8U62FEj.js} +1 -1
  4. package/dist/{BaseIcon-D92qdnv7.cjs → BaseIcon-BVrsMbvi.cjs} +1 -1
  5. package/dist/{DataTable-DyvnYg-x.cjs → DataTable-1PQD-SFb.cjs} +1 -1
  6. package/dist/{DataTable-CaiuB_-j.js → DataTable-C0tCPQ9i.js} +2 -2
  7. package/dist/{Legend-D2J3bvDm.cjs → Legend-BJ2Wbqut.cjs} +1 -1
  8. package/dist/{Legend-Br9uWuyZ.js → Legend-BTpe6qQB.js} +2 -2
  9. package/dist/{PackageVersion-Bxz2crF7.cjs → PackageVersion-BjfedMsH.cjs} +1 -1
  10. package/dist/{PackageVersion-tmgQTzP2.js → PackageVersion-CENy3Lm2.js} +1 -1
  11. package/dist/{PenAndPaper-CJ3Rnk2Q.js → PenAndPaper-Dr7ndoP_.js} +3 -3
  12. package/dist/{PenAndPaper-BFCXiNMF.cjs → PenAndPaper-nqRtAh6J.cjs} +1 -1
  13. package/dist/{Shape-qjsquBuY.cjs → Shape-Boa32JEn.cjs} +1 -1
  14. package/dist/{Shape-6QlwV5xV.js → Shape-zFv85Gc2.js} +1 -1
  15. package/dist/{Slicer-B9BStSWS.js → Slicer-BUYuk07t.js} +109 -124
  16. package/dist/Slicer-D6QLMg5N.cjs +1 -0
  17. package/dist/{Title-Bhq6SOYu.js → Title-CaET2xuF.js} +1 -1
  18. package/dist/{Title-BqNuK5vc.cjs → Title-DJUxOiaO.cjs} +1 -1
  19. package/dist/{Tooltip-CeBpQ6yn.js → Tooltip-Bkc4233T.js} +1 -1
  20. package/dist/{Tooltip-Kn7RnF0L.cjs → Tooltip-C5QuW94e.cjs} +1 -1
  21. package/dist/{index-BqR_a-C7.js → index-B7nCQFK0.js} +2 -1
  22. package/dist/index-COIn1phv.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +1 -0
  25. package/dist/types/vue-data-ui.d.ts +1 -0
  26. package/dist/{useNestedProp-DqofSFeh.js → useNestedProp-C9rlBRTT.js} +1 -1
  27. package/dist/{useNestedProp-D_XfpfnF.cjs → useNestedProp-CbMuGGl3.cjs} +1 -1
  28. package/dist/{usePrinter-BPjMJmKg.js → usePrinter-CQMn1b4E.js} +1 -1
  29. package/dist/{usePrinter-Bfrr3DDK.cjs → usePrinter-CXXfgFFN.cjs} +1 -1
  30. package/dist/{vue-data-ui-DsBOcTDd.js → vue-data-ui-BnsKGbqb.js} +60 -60
  31. package/dist/{vue-data-ui-oW2xn5YG.cjs → vue-data-ui-Bu_VIHgr.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-DL4o7lJD.cjs → vue-ui-3d-bar-D39F2dKF.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-D5BCQifA.js → vue-ui-3d-bar-V5FBS9MA.js} +9 -9
  36. package/dist/{vue-ui-accordion-Cz3VCEN0.js → vue-ui-accordion-B8ptB5BQ.js} +3 -3
  37. package/dist/{vue-ui-accordion-Sqna6-tk.cjs → vue-ui-accordion-CGlnNTr8.cjs} +1 -1
  38. package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +1 -0
  39. package/dist/{vue-ui-age-pyramid-Cl9eaBGr.js → vue-ui-age-pyramid-Bjp1R8Ku.js} +14 -12
  40. package/dist/{vue-ui-annotator-Ctx3YK1X.cjs → vue-ui-annotator-BoWZZRPg.cjs} +1 -1
  41. package/dist/{vue-ui-annotator-DQKvjXgI.js → vue-ui-annotator-V9m5fTGG.js} +1 -1
  42. package/dist/{vue-ui-bullet-CsMr2xzr.js → vue-ui-bullet-Bqvb5PV-.js} +8 -8
  43. package/dist/{vue-ui-bullet-CWJzycj2.cjs → vue-ui-bullet-DLIxlhFF.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-DKjfum_x.cjs → vue-ui-candlestick-D4BD8LyJ.cjs} +2 -2
  45. package/dist/{vue-ui-candlestick-BZ12fWHz.js → vue-ui-candlestick-DHCtmsh3.js} +72 -70
  46. package/dist/{vue-ui-carousel-table-CDR1Vv5V.js → vue-ui-carousel-table-Cn2RJkSb.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-C6L5d_Fz.cjs → vue-ui-carousel-table-VIuoh2QI.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-CAnxXvl6.js → vue-ui-chestnut-C5qUO1uK.js} +8 -8
  49. package/dist/{vue-ui-chestnut-DFgQWktZ.cjs → vue-ui-chestnut-ClG9HZoC.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-BHKTewso.cjs → vue-ui-cursor-Bo8et-dD.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-CEG5U4Hg.js → vue-ui-cursor-eJau3iyr.js} +2 -2
  52. package/dist/{vue-ui-dashboard-CAZvucxS.js → vue-ui-dashboard-DnaH9bCw.js} +2 -2
  53. package/dist/{vue-ui-dashboard-cCxI_-fr.cjs → vue-ui-dashboard-WJqGQ8iR.cjs} +1 -1
  54. package/dist/{vue-ui-digits-xPdav4hy.js → vue-ui-digits-Cqjts2eq.js} +2 -2
  55. package/dist/{vue-ui-digits-Dl0z8lL5.cjs → vue-ui-digits-qIckO4-r.cjs} +1 -1
  56. package/dist/vue-ui-donut-BP7yj2DU.cjs +1 -0
  57. package/dist/{vue-ui-donut-evolution-BgXDvYij.cjs → vue-ui-donut-evolution-Cz8uFJp8.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-DtfH9oY2.js → vue-ui-donut-evolution-EzYvP11F.js} +11 -11
  59. package/dist/{vue-ui-donut-BX4NBJNA.js → vue-ui-donut-pprcnbIw.js} +17 -15
  60. package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +9 -0
  61. package/dist/{vue-ui-dumbbell-DgTOdhga.js → vue-ui-dumbbell-DaxcxmnU.js} +48 -46
  62. package/dist/{vue-ui-flow-DIbRLuAg.js → vue-ui-flow-DbRgaKBu.js} +9 -9
  63. package/dist/{vue-ui-flow-Bt0sz3lA.cjs → vue-ui-flow-HeRCplGL.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-CedEHtHD.js → vue-ui-funnel-B2del8KB.js} +37 -35
  65. package/dist/vue-ui-funnel-DxniWNkD.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-aqDlVOGG.cjs → vue-ui-galaxy-BDA64dud.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-BcBicruu.js → vue-ui-galaxy-pUYeASJf.js} +11 -11
  68. package/dist/vue-ui-gauge-BOXoAgWk.cjs +1 -0
  69. package/dist/{vue-ui-gauge-B8ybUmVP.js → vue-ui-gauge-DpsXpEaW.js} +28 -26
  70. package/dist/{vue-ui-gizmo-J759kkHO.js → vue-ui-gizmo-BpYrhkon.js} +3 -3
  71. package/dist/{vue-ui-gizmo-DAzVCVgd.cjs → vue-ui-gizmo-Bq9uAmqd.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-5PChWU--.cjs → vue-ui-heatmap-CbKgGLtN.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-zXe_ZfjW.js → vue-ui-heatmap-Cz6_9Veh.js} +10 -10
  74. package/dist/vue-ui-history-plot-BoMdvItE.cjs +1 -0
  75. package/dist/{vue-ui-history-plot-DpCqc_J5.js → vue-ui-history-plot-DAotUjSF.js} +56 -54
  76. package/dist/{vue-ui-kpi-B0YGZB0U.js → vue-ui-kpi-Ch2p7m-i.js} +3 -3
  77. package/dist/{vue-ui-kpi-C-7Ihvt0.cjs → vue-ui-kpi-D6mp6EQ2.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-Cn4Q6TSw.cjs → vue-ui-mini-loader-CO-KGVlC.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-7sjb3XBu.js → vue-ui-mini-loader-E13lmwfO.js} +2 -2
  80. package/dist/{vue-ui-molecule-DZpXgYuN.js → vue-ui-molecule-C69K6EPO.js} +11 -11
  81. package/dist/{vue-ui-molecule-BDumH6dl.cjs → vue-ui-molecule-CeoDnPXB.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-pnwFktum.cjs → vue-ui-mood-radar-BwOqQUuT.cjs} +1 -1
  83. package/dist/{vue-ui-mood-radar-CKqyK1Hp.js → vue-ui-mood-radar-DDtky572.js} +11 -11
  84. package/dist/{vue-ui-nested-donuts-DbxWMbwd.js → vue-ui-nested-donuts-AYPYIRrE.js} +16 -14
  85. package/dist/{vue-ui-nested-donuts-CHpsvVxD.cjs → vue-ui-nested-donuts-DMCd6DqT.cjs} +2 -2
  86. package/dist/{vue-ui-onion-F9rcTxc5.cjs → vue-ui-onion-BedLvfFe.cjs} +2 -2
  87. package/dist/{vue-ui-onion-q54wqIiz.js → vue-ui-onion-Bsa88sKK.js} +31 -29
  88. package/dist/{vue-ui-parallel-coordinate-plot-Cwnja7PH.cjs → vue-ui-parallel-coordinate-plot-CSOMIABF.cjs} +2 -2
  89. package/dist/{vue-ui-parallel-coordinate-plot-myA1ugJ6.js → vue-ui-parallel-coordinate-plot-KCEb4iRs.js} +62 -60
  90. package/dist/vue-ui-quadrant-BXQVOvpY.cjs +1 -0
  91. package/dist/{vue-ui-quadrant-OoCEzm12.js → vue-ui-quadrant-Bd_88Eht.js} +16 -14
  92. package/dist/{vue-ui-quick-chart-5lnK5fYa.js → vue-ui-quick-chart-CXAYKYHa.js} +55 -53
  93. package/dist/{vue-ui-quick-chart-CazRj-4z.cjs → vue-ui-quick-chart-dLItYwM_.cjs} +2 -2
  94. package/dist/vue-ui-radar-BuNtocmn.cjs +1 -0
  95. package/dist/{vue-ui-radar-BDKh_0GC.js → vue-ui-radar-De397oTB.js} +100 -98
  96. package/dist/{vue-ui-rating-BOzhaiSc.cjs → vue-ui-rating-BjiMVoyX.cjs} +1 -1
  97. package/dist/{vue-ui-rating-Dt3vyE2H.js → vue-ui-rating-wK3_ZWE5.js} +2 -2
  98. package/dist/vue-ui-relation-circle-BEGyr1h-.cjs +1 -0
  99. package/dist/{vue-ui-relation-circle-BOMeOf10.js → vue-ui-relation-circle-BxlK8MVs.js} +56 -54
  100. package/dist/{vue-ui-rings-3O2lFlg1.js → vue-ui-rings-BXrtMSML.js} +39 -37
  101. package/dist/{vue-ui-rings-DIA0oj1w.cjs → vue-ui-rings-BcNMBXxq.cjs} +2 -2
  102. package/dist/{vue-ui-scatter-SRz39O4w.js → vue-ui-scatter-BWZfLJ9P.js} +52 -50
  103. package/dist/vue-ui-scatter-DTy3yPVu.cjs +1 -0
  104. package/dist/{vue-ui-screenshot-OBhZYkuN.cjs → vue-ui-screenshot-BJgOwFMW.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DeseMlsh.js → vue-ui-screenshot-hw4PC9Uu.js} +1 -1
  106. package/dist/{vue-ui-skeleton-6_VzxeeY.cjs → vue-ui-skeleton-BIqMxXV7.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-DbI8wJH-.js → vue-ui-skeleton-D66ZIUln.js} +3 -3
  108. package/dist/{vue-ui-smiley-BqRjGeM4.js → vue-ui-smiley-DWPYdcDB.js} +2 -2
  109. package/dist/{vue-ui-smiley-CQYCG8iR.cjs → vue-ui-smiley-Duy5Xo-j.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-YKlzV5ph.js → vue-ui-spark-trend-Ce4IaqPz.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-C1MfKChb.cjs → vue-ui-spark-trend-DP5foaNi.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-BGc7K3E7.cjs → vue-ui-sparkbar-Bbns4V16.cjs} +1 -1
  113. package/dist/{vue-ui-sparkbar-BEY67Uh8.js → vue-ui-sparkbar-Fa-Kc9Fr.js} +4 -4
  114. package/dist/{vue-ui-sparkgauge-DBJ6JcY4.cjs → vue-ui-sparkgauge-BrLrvNLH.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-COy9kS3g.js → vue-ui-sparkgauge-DUWcJ7cM.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-Kof1NLnh.cjs → vue-ui-sparkhistogram-B0rhs_UN.cjs} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-TOZ7cGZE.js → vue-ui-sparkhistogram-PgC-c-5a.js} +5 -5
  118. package/dist/{vue-ui-sparkline-Corg_lTS.js → vue-ui-sparkline-BqNlrKjb.js} +37 -35
  119. package/dist/vue-ui-sparkline-c5Awoj8J.cjs +1 -0
  120. package/dist/{vue-ui-sparkstackbar-2Vwz74c6.cjs → vue-ui-sparkstackbar-BmYIcpVZ.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-D-W-02aO.js → vue-ui-sparkstackbar-DyJIUulr.js} +5 -5
  122. package/dist/{vue-ui-stackbar-DRLdPZii.js → vue-ui-stackbar-BebRtOYL.js} +55 -53
  123. package/dist/{vue-ui-stackbar-DZvxTz3J.cjs → vue-ui-stackbar-DJ9NH_l1.cjs} +2 -2
  124. package/dist/{vue-ui-strip-plot-tQk3HsSn.js → vue-ui-strip-plot-BGHj1BHd.js} +77 -75
  125. package/dist/vue-ui-strip-plot-f7vejZht.cjs +1 -0
  126. package/dist/{vue-ui-table-G09LTync.cjs → vue-ui-table-BFdGppRF.cjs} +1 -1
  127. package/dist/{vue-ui-table-CNsJsvNH.js → vue-ui-table-ClPMKcMn.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-Dl4lMTS6.cjs → vue-ui-table-heatmap-B7wTjM-H.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-CTs7AxUi.js → vue-ui-table-heatmap-DVQtPt-M.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-Dy5shfoJ.cjs → vue-ui-table-sparkline-DaKODjfM.cjs} +1 -1
  131. package/dist/{vue-ui-table-sparkline-ZtfktJZh.js → vue-ui-table-sparkline-DjxKXWQm.js} +5 -5
  132. package/dist/{vue-ui-thermometer-CaFnSru6.js → vue-ui-thermometer-CV_9k37V.js} +7 -7
  133. package/dist/{vue-ui-thermometer-039Cyhc2.cjs → vue-ui-thermometer-DE9r0emf.cjs} +1 -1
  134. package/dist/{vue-ui-timer-ChuLD5VW.js → vue-ui-timer-2w5Ayq7G.js} +35 -33
  135. package/dist/vue-ui-timer-Ct-KYWSX.cjs +64 -0
  136. package/dist/{vue-ui-tiremarks-nDFTQjHJ.js → vue-ui-tiremarks-BJnh0GBj.js} +7 -7
  137. package/dist/{vue-ui-tiremarks-BiLfVwpF.cjs → vue-ui-tiremarks-Cf04zARl.cjs} +1 -1
  138. package/dist/{vue-ui-treemap-Dv9HNV59.js → vue-ui-treemap-BD546LBi.js} +37 -35
  139. package/dist/vue-ui-treemap-D0vi4bv4.cjs +1 -0
  140. package/dist/{vue-ui-vertical-bar-W7AgfJa9.cjs → vue-ui-vertical-bar-D3QKHHnS.cjs} +2 -2
  141. package/dist/{vue-ui-vertical-bar-M3IDlqbG.js → vue-ui-vertical-bar-E5CTb1Bd.js} +53 -51
  142. package/dist/{vue-ui-waffle-CJYfXE-I.js → vue-ui-waffle-BAJIMbZK.js} +50 -48
  143. package/dist/vue-ui-waffle-BL0e3Yeq.cjs +1 -0
  144. package/dist/{vue-ui-wheel-BaMfH-RC.js → vue-ui-wheel-CPPLUSFq.js} +22 -20
  145. package/dist/vue-ui-wheel-Dy_B7BTG.cjs +1 -0
  146. package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +1 -0
  147. package/dist/{vue-ui-word-cloud-qympaTse.js → vue-ui-word-cloud-BVZcDY7m.js} +47 -45
  148. package/dist/vue-ui-xy-D4hRtHAi.cjs +3 -0
  149. package/dist/{vue-ui-xy-canvas-Dn_4rMul.cjs → vue-ui-xy-canvas-BSZTrqci.cjs} +2 -2
  150. package/dist/{vue-ui-xy-canvas-qk5Vd9ng.js → vue-ui-xy-canvas-DFUfTZwz.js} +36 -34
  151. package/dist/{vue-ui-xy-BB_4gujH.js → vue-ui-xy-tB-6IP2y.js} +833 -839
  152. package/package.json +1 -1
  153. package/dist/Slicer-BZ-tooWv.cjs +0 -1
  154. package/dist/index-D4M1RdVn.cjs +0 -9
  155. package/dist/vue-ui-age-pyramid-BP3AgRGA.cjs +0 -1
  156. package/dist/vue-ui-donut--6AZz6OL.cjs +0 -1
  157. package/dist/vue-ui-dumbbell-6eYMBh5-.cjs +0 -9
  158. package/dist/vue-ui-funnel-CnyUx_rr.cjs +0 -1
  159. package/dist/vue-ui-gauge-Cg5wvQOF.cjs +0 -1
  160. package/dist/vue-ui-history-plot-N8Okj-iE.cjs +0 -1
  161. package/dist/vue-ui-quadrant-BSaMyYkS.cjs +0 -1
  162. package/dist/vue-ui-radar-BBKYxxex.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-COKOM6l_.cjs +0 -1
  164. package/dist/vue-ui-scatter-oA9YA_np.cjs +0 -1
  165. package/dist/vue-ui-sparkline-De42544c.cjs +0 -1
  166. package/dist/vue-ui-strip-plot-CY7AKOJ8.cjs +0 -1
  167. package/dist/vue-ui-timer-BIAfoC2X.cjs +0 -64
  168. package/dist/vue-ui-treemap-8aBLlF51.cjs +0 -1
  169. package/dist/vue-ui-waffle-DefdpuXf.cjs +0 -1
  170. package/dist/vue-ui-wheel-DicUDLkK.cjs +0 -1
  171. package/dist/vue-ui-word-cloud-B5n21JbB.cjs +0 -1
  172. package/dist/vue-ui-xy-Du5PZnkC.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { c as J, a as K, t as Q, z as j, p as $, V as X, O as R, f as U, L as ee, G as te, i as ae, a4 as re, a1 as le, a5 as ie, v as se, a6 as ne, d as he, B as oe, b as ce, q as de, R as ue, a7 as ge, r as fe, e as Ie, a2 as me, y as Ne, C as xe, x as be, a8 as Fe, Z as _e, o as Ae, s as ye, w as Le, F as Ce, A as Se, u as ke } from "./index-BqR_a-C7.js";
2
- import { D as we } from "./DataTable-CaiuB_-j.js";
3
- import { _ as Oe } from "./Title-Bhq6SOYu.js";
4
- import { _ as Ge, u as ve } from "./Tooltip-CeBpQ6yn.js";
5
- import { U as ze } from "./usePrinter-BPjMJmKg.js";
6
- import { _ as Me } from "./Shape-6QlwV5xV.js";
7
- import pe from "./BaseIcon-DG_iYn4X.js";
8
- import Ve from "./vue-ui-table-sparkline-ZtfktJZh.js";
9
- import Te from "./vue-ui-skeleton-DbI8wJH-.js";
10
- import { S as Pe } from "./Slicer-B9BStSWS.js";
11
- import Re from "./vue-ui-accordion-Cz3VCEN0.js";
12
- import { u as Z } from "./useNestedProp-DqofSFeh.js";
13
- import { _ as De } from "./PackageVersion-tmgQTzP2.js";
14
- import { P as He } from "./PenAndPaper-CJ3Rnk2Q.js";
15
- import { resolveComponent as T, openBlock as l, createElementBlock as i, normalizeClass as P, normalizeStyle as L, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as p, renderSlot as S, normalizeProps as H, guardReactiveProps as B, createVNode as q, createElementVNode as f, Fragment as I, renderList as m, toDisplayString as k, mergeProps as We, withDirectives as Ee, vModelCheckbox as Ye, createTextVNode as qe } from "vue";
16
- import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Ue = J(), Ze = {
1
+ import { c as J, a as K, t as j, z as $, p as ee, V as X, O as H, f as U, L as te, G as ie, i as re, a4 as ae, a1 as le, a5 as se, v as ne, a6 as he, d as oe, B as ce, b as de, q as ue, R as ge, Q as fe, a7 as Ie, r as me, e as Ne, a2 as xe, y as be, C as Fe, x as _e, a8 as Ae, Z as ye, o as Le, s as Ce, w as Se, F as ke, A as we, u as Oe } from "./index-B7nCQFK0.js";
2
+ import { D as Ge } from "./DataTable-C0tCPQ9i.js";
3
+ import { _ as ve } from "./Title-CaET2xuF.js";
4
+ import { _ as ze, u as Me } from "./Tooltip-Bkc4233T.js";
5
+ import { U as pe } from "./usePrinter-CQMn1b4E.js";
6
+ import { _ as Te } from "./Shape-zFv85Gc2.js";
7
+ import Pe from "./BaseIcon-B8U62FEj.js";
8
+ import Ve from "./vue-ui-table-sparkline-DjxKXWQm.js";
9
+ import Re from "./vue-ui-skeleton-D66ZIUln.js";
10
+ import { S as De } from "./Slicer-BUYuk07t.js";
11
+ import He from "./vue-ui-accordion-B8ptB5BQ.js";
12
+ import { u as Z } from "./useNestedProp-C9rlBRTT.js";
13
+ import { _ as Be } from "./PackageVersion-CENy3Lm2.js";
14
+ import { P as We } from "./PenAndPaper-Dr7ndoP_.js";
15
+ import { resolveComponent as R, openBlock as a, createElementBlock as s, normalizeClass as D, normalizeStyle as L, createBlock as B, createCommentVNode as c, createSlots as Ee, withCtx as P, renderSlot as k, normalizeProps as W, guardReactiveProps as E, createVNode as q, createElementVNode as u, Fragment as f, renderList as m, toDisplayString as w, mergeProps as Ye, withDirectives as qe, vModelCheckbox as Xe, createTextVNode as Ue } from "vue";
16
+ import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
+ const Je = J(), Qe = {
18
18
  name: "vue-ui-xy",
19
19
  props: {
20
20
  config: {
@@ -31,42 +31,42 @@ const Ue = J(), Ze = {
31
31
  }
32
32
  },
33
33
  components: {
34
- DataTable: we,
35
- Shape: Me,
36
- Title: Oe,
37
- Tooltip: Ge,
38
- UserOptions: ze,
39
- BaseIcon: pe,
34
+ DataTable: Ge,
35
+ Shape: Te,
36
+ Title: ve,
37
+ Tooltip: ze,
38
+ UserOptions: pe,
39
+ BaseIcon: Pe,
40
40
  TableSparkline: Ve,
41
- Skeleton: Te,
42
- Slicer: Pe,
43
- Accordion: Re,
44
- PackageVersion: De,
45
- PenAndPaper: He
41
+ Skeleton: Re,
42
+ Slicer: De,
43
+ Accordion: He,
44
+ PackageVersion: Be,
45
+ PenAndPaper: We
46
46
  },
47
47
  data() {
48
- this.dataset.forEach((u, t) => {
49
- [null, void 0].includes(u.series) && this.error({
48
+ this.dataset.forEach((d, t) => {
49
+ [null, void 0].includes(d.series) && this.error({
50
50
  componentName: "VueUiXy",
51
51
  type: "datasetSerieAttribute",
52
52
  property: "series (number[])",
53
53
  index: t
54
54
  });
55
55
  });
56
- const a = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((u) => this.largestTriangleThreeBucketsArray({ data: u.series, threshold: a }).length)), o = {
56
+ const i = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, l = Math.max(...this.dataset.map((d) => this.largestTriangleThreeBucketsArray({ data: d.series, threshold: i }).length)), o = {
57
57
  start: 0,
58
- end: s
58
+ end: l
59
59
  };
60
60
  return {
61
61
  themePalettes: K,
62
- themes: Q,
62
+ themes: j,
63
63
  slicerStep: 0,
64
64
  selectedScale: null,
65
65
  CTX: null,
66
66
  CANVAS: null,
67
- opacity: j,
67
+ opacity: $,
68
68
  useSafeValues: !0,
69
- palette: $,
69
+ palette: ee,
70
70
  height: 600,
71
71
  width: 1e3,
72
72
  viewBox: "0 0 1000 600",
@@ -106,10 +106,10 @@ const Ue = J(), Ze = {
106
106
  titleStep: 0,
107
107
  slicer: o,
108
108
  __to__: null,
109
- maxX: s,
109
+ maxX: l,
110
110
  showSparklineTable: !0,
111
111
  segregateStep: 0,
112
- sliderId: Ue,
112
+ sliderId: Je,
113
113
  fontSizes: {
114
114
  xAxis: 18,
115
115
  yAxis: 12,
@@ -128,7 +128,7 @@ const Ue = J(), Ze = {
128
128
  },
129
129
  watch: {
130
130
  dataset: {
131
- handler(a, s) {
131
+ handler(i, l) {
132
132
  this.maxX = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({
133
133
  data: o.series,
134
134
  threshold: this.FINAL_CONFIG.downsample.threshold
@@ -140,23 +140,28 @@ const Ue = J(), Ze = {
140
140
  deep: !0
141
141
  },
142
142
  config: {
143
- handler(a, s) {
143
+ handler(i, l) {
144
144
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
145
145
  },
146
146
  deep: !0
147
147
  }
148
148
  },
149
149
  computed: {
150
+ optimize() {
151
+ return {
152
+ linePlot: this.maxSeries > this.FINAL_CONFIG.line.dot.hideAboveMaxSerieLength
153
+ };
154
+ },
150
155
  hasOptionsNoTitle() {
151
156
  return this.FINAL_CONFIG.chart.userOptions.show && (!this.FINAL_CONFIG.chart.title.show || !this.FINAL_CONFIG.chart.title.text);
152
157
  },
153
158
  minimap() {
154
159
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
155
- const a = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...a.map((t) => t.series.length)), o = [];
156
- for (let t = 0; t < s; t += 1)
157
- o.push(a.map((e) => e.series[t] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
158
- const u = Math.min(...o);
159
- return o.map((t) => t + (u < 0 ? Math.abs(u) : 0));
160
+ const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), l = Math.max(...i.map((t) => t.series.length)), o = [];
161
+ for (let t = 0; t < l; t += 1)
162
+ o.push(i.map((e) => e.series[t] || 0).reduce((e, N) => (e || 0) + (N || 0), 0));
163
+ const d = Math.min(...o);
164
+ return o.map((t) => t + (d < 0 ? Math.abs(d) : 0));
160
165
  },
161
166
  customPalette() {
162
167
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -168,7 +173,7 @@ const Ue = J(), Ze = {
168
173
  return this.FINAL_CONFIG.chart.zoom.color;
169
174
  },
170
175
  allScales() {
171
- const a = this.lineSet.map((t) => ({
176
+ const i = this.lineSet.map((t) => ({
172
177
  name: t.name,
173
178
  color: t.color,
174
179
  scale: t.individualScale,
@@ -180,7 +185,7 @@ const Ue = J(), Ze = {
180
185
  yOffset: t.yOffset || 0,
181
186
  individualHeight: t.individualHeight || this.drawingArea.height,
182
187
  autoScaleYLabels: t.autoScaleYLabels
183
- })), s = this.barSet.map((t) => ({
188
+ })), l = this.barSet.map((t) => ({
184
189
  name: t.name,
185
190
  color: t.color,
186
191
  scale: t.individualScale,
@@ -203,8 +208,8 @@ const Ue = J(), Ze = {
203
208
  id: t.id,
204
209
  yOffset: t.yOffset || 0,
205
210
  individualHeight: t.individualHeight || this.drawingArea.height
206
- })), u = [...a, ...s, ...o].flatMap((t) => t).length;
207
- return [...a, ...s, ...o].flatMap((t, e) => ({
211
+ })), d = [...i, ...l, ...o].flatMap((t) => t).length;
212
+ return [...i, ...l, ...o].flatMap((t, e) => ({
208
213
  id: t.id,
209
214
  scaleLabel: t.scaleLabel,
210
215
  name: t.name,
@@ -212,10 +217,10 @@ const Ue = J(), Ze = {
212
217
  scale: t.scale,
213
218
  yOffset: t.yOffset,
214
219
  individualHeight: t.individualHeight,
215
- x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / u * (e + 1),
216
- yLabels: t.scaleYLabels || t.scale.ticks.map((x) => ({
217
- y: x >= 0 ? t.zero - t.individualHeight * (x / t.max) : t.zero + t.individualHeight * Math.abs(x) / t.max,
218
- value: x
220
+ x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / d * (e + 1),
221
+ yLabels: t.scaleYLabels || t.scale.ticks.map((N) => ({
222
+ y: N >= 0 ? t.zero - t.individualHeight * (N / t.max) : t.zero + t.individualHeight * Math.abs(N) / t.max,
223
+ value: N
219
224
  }))
220
225
  }));
221
226
  },
@@ -223,28 +228,28 @@ const Ue = J(), Ze = {
223
228
  return !!this.dataset && this.dataset.length;
224
229
  },
225
230
  chartFont() {
226
- const a = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
227
- return window.getComputedStyle(a, null).getPropertyValue("font-family");
231
+ const i = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
232
+ return window.getComputedStyle(i, null).getPropertyValue("font-family");
228
233
  },
229
234
  FINAL_CONFIG: {
230
235
  get: function() {
231
236
  return this.prepareConfig();
232
237
  },
233
- set: function(a) {
234
- return a;
238
+ set: function(i) {
239
+ return i;
235
240
  }
236
241
  },
237
242
  hasHighlightArea() {
238
- return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((a) => a.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
243
+ return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((i) => i.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
239
244
  },
240
245
  highlightAreas() {
241
246
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
242
- return this.FINAL_CONFIG.chart.highlightArea.map((s) => ({
243
- ...s,
244
- span: s.from === s.to ? 1 : s.to < s.from ? 0 : s.to - s.from + 1
247
+ return this.FINAL_CONFIG.chart.highlightArea.map((l) => ({
248
+ ...l,
249
+ span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1
245
250
  }));
246
- const a = this.FINAL_CONFIG.chart.highlightArea;
247
- return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
251
+ const i = this.FINAL_CONFIG.chart.highlightArea;
252
+ return [{ ...i, span: i.from === i.to ? 1 : i.to < i.from ? 0 : i.to - i.from + 1 }];
248
253
  },
249
254
  xPadding() {
250
255
  return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
@@ -256,45 +261,45 @@ const Ue = J(), Ze = {
256
261
  return this.niceScale.max + this.relativeZero;
257
262
  },
258
263
  datasetWithIds() {
259
- return this.useSafeValues ? this.dataset.map((a, s) => ({
260
- ...a,
264
+ return this.useSafeValues ? this.dataset.map((i, l) => ({
265
+ ...i,
261
266
  series: this.largestTriangleThreeBucketsArray({
262
- data: a.series,
267
+ data: i.series,
263
268
  threshold: this.FINAL_CONFIG.downsample.threshold
264
269
  }),
265
- id: `uniqueId_${s}`
270
+ id: `uniqueId_${l}`
266
271
  })) : this.dataset;
267
272
  },
268
273
  safeDataset() {
269
- return this.useSafeValues ? this.dataset.map((a, s) => {
274
+ return this.useSafeValues ? this.dataset.map((i, l) => {
270
275
  const o = this.largestTriangleThreeBucketsArray({
271
- data: a.series,
276
+ data: i.series,
272
277
  threshold: this.FINAL_CONFIG.downsample.threshold
273
278
  });
274
279
  return {
275
- ...a,
276
- slotAbsoluteIndex: s,
277
- series: o.map((u) => this.isSafeValue(u) ? u : null).slice(this.slicer.start, this.slicer.end),
278
- color: this.convertColorToHex(a.color ? a.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
279
- id: `uniqueId_${s}`
280
+ ...i,
281
+ slotAbsoluteIndex: l,
282
+ series: o.map((d) => this.isSafeValue(d) ? d : null).slice(this.slicer.start, this.slicer.end),
283
+ color: this.convertColorToHex(i.color ? i.color : this.customPalette[l] ? this.customPalette[l] : this.palette[l]),
284
+ id: `uniqueId_${l}`
280
285
  };
281
286
  }) : this.dataset;
282
287
  },
283
288
  relativeDataset() {
284
- return this.safeDataset.map((a, s) => ({
285
- ...a,
286
- series: a.series.map((o) => o + this.relativeZero),
287
- absoluteValues: a.series
288
- })).filter((a) => !this.segregatedSeries.includes(a.id));
289
+ return this.safeDataset.map((i, l) => ({
290
+ ...i,
291
+ series: i.series.map((o) => o + this.relativeZero),
292
+ absoluteValues: i.series
293
+ })).filter((i) => !this.segregatedSeries.includes(i.id));
289
294
  },
290
295
  tableSparklineDataset() {
291
- return this.relativeDataset.map((a) => {
292
- const s = a.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
296
+ return this.relativeDataset.map((i) => {
297
+ const l = i.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
293
298
  return {
294
- id: a.id,
295
- name: a.name,
296
- color: a.color,
297
- values: this.fillArray(this.maxSeries, s)
299
+ id: i.id,
300
+ name: i.name,
301
+ color: i.color,
302
+ values: this.fillArray(this.maxSeries, l)
298
303
  };
299
304
  });
300
305
  },
@@ -325,75 +330,75 @@ const Ue = J(), Ze = {
325
330
  };
326
331
  },
327
332
  absoluteDataset() {
328
- return this.safeDataset.map((a, s) => ({
329
- absoluteIndex: s,
330
- ...a,
331
- series: a.series.map((o) => o + this.relativeZero),
332
- absoluteValues: a.series,
333
- segregate: () => this.segregate(a),
334
- isSegregated: this.segregatedSeries.includes(a.id)
333
+ return this.safeDataset.map((i, l) => ({
334
+ absoluteIndex: l,
335
+ ...i,
336
+ series: i.series.map((o) => o + this.relativeZero),
337
+ absoluteValues: i.series,
338
+ segregate: () => this.segregate(i),
339
+ isSegregated: this.segregatedSeries.includes(i.id)
335
340
  }));
336
341
  },
337
342
  barSet() {
338
- return this.activeSeriesWithStackRatios.filter((a) => a.type === "bar").map((a, s) => {
339
- this.checkAutoScaleError(a);
340
- const o = Math.min(...a.absoluteValues.filter((g) => ![null, void 0].includes(g))), u = Math.max(...a.absoluteValues.filter((g) => ![null, void 0].includes(g))), e = {
341
- ratios: a.absoluteValues.filter((g) => ![null, void 0].includes(g)).map((g) => (g - o) / (u - o)),
343
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "bar").map((i, l) => {
344
+ this.checkAutoScaleError(i);
345
+ const o = Math.min(...i.absoluteValues.filter((x) => ![null, void 0].includes(x))), d = Math.max(...i.absoluteValues.filter((x) => ![null, void 0].includes(x))), e = {
346
+ ratios: i.absoluteValues.filter((x) => ![null, void 0].includes(x)).map((x) => (x - o) / (d - o)),
342
347
  valueMin: o,
343
- valueMax: u < 0 ? 0 : u
344
- }, x = {
345
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
346
- min: a.scaleMin || Math.min(...a.absoluteValues.filter((g) => ![void 0, null].includes(g))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((g) => ![null, void 0].includes(g)))
347
- }, A = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * w : x.max, A), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * w : e.valueMax, A), V = N.min >= 0 ? 0 : Math.abs(N.min), v = 0, z = N.max + V, O = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, M = this.drawingArea.bottom - _ - C * V / z, r = this.drawingArea.bottom - _ - C * v / O, h = this.absoluteDataset.filter((g) => g.type === "bar").filter((g) => !this.segregatedSeries.includes(g.id)).length, n = a.series.map((g, F) => {
348
- const E = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + V) / z : this.ratioToMax(g), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * h - this.barSlot / 2 - s * this.barPeriodGap;
348
+ valueMax: d < 0 ? 0 : d
349
+ }, N = {
350
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
351
+ min: i.scaleMin || Math.min(...i.absoluteValues.filter((x) => ![void 0, null].includes(x))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((x) => ![null, void 0].includes(x)))
352
+ }, _ = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, O = 1.0000001, I = this.calculateNiceScaleWithExactExtremes(N.min, N.max === N.min ? N.max * O : N.max, _), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * O : e.valueMax, _), V = I.min >= 0 ? 0 : Math.abs(I.min), v = 0, z = I.max + V, G = b.max + Math.abs(v), F = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, C = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, T = this.drawingArea.bottom - F - C * V / z, r = this.drawingArea.bottom - F - C * v / G, h = this.absoluteDataset.filter((x) => x.type === "bar").filter((x) => !this.segregatedSeries.includes(x.id)).length, n = i.series.map((x, p) => {
353
+ const y = this.mutableConfig.useIndividualScale ? (i.absoluteValues[p] + V) / z : this.ratioToMax(x), S = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left + this.slot.bar * l + this.slot.bar * p * h - this.barSlot / 2 - l * this.barPeriodGap;
349
354
  return {
350
- yOffset: this.checkNaN(_),
355
+ yOffset: this.checkNaN(F),
351
356
  individualHeight: this.checkNaN(C),
352
- x: this.checkNaN(Y),
353
- y: this.drawingArea.bottom - _ - C * E,
354
- value: a.absoluteValues[F],
355
- zeroPosition: this.checkNaN(M),
357
+ x: this.checkNaN(S),
358
+ y: this.drawingArea.bottom - F - C * y,
359
+ value: i.absoluteValues[p],
360
+ zeroPosition: this.checkNaN(T),
356
361
  individualMax: this.checkNaN(z),
357
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
362
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
358
363
  };
359
- }), d = a.absoluteValues.map((g) => b.min >= 0 ? (g - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (g + Math.abs(b.min)) / (b.max + Math.abs(b.min))), W = a.series.map((g, F) => {
360
- const E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
364
+ }), g = i.absoluteValues.map((x) => b.min >= 0 ? (x - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (x + Math.abs(b.min)) / (b.max + Math.abs(b.min))), Y = i.series.map((x, p) => {
365
+ const y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * p : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * l + this.slot.bar * p * this.absoluteDataset.filter((S) => S.type === "bar").filter((S) => !this.segregatedSeries.includes(S.id)).length;
361
366
  return {
362
- yOffset: this.checkNaN(_),
367
+ yOffset: this.checkNaN(F),
363
368
  individualHeight: this.checkNaN(C),
364
- x: this.checkNaN(E),
365
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(C) * d[F] || 0)),
366
- value: a.absoluteValues[F],
367
- zeroPosition: this.checkNaN(M),
369
+ x: this.checkNaN(y),
370
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(F) - (this.checkNaN(C) * g[p] || 0)),
371
+ value: i.absoluteValues[p],
372
+ zeroPosition: this.checkNaN(T),
368
373
  individualMax: this.checkNaN(z),
369
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
374
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[p] || ""
370
375
  };
371
- }), y = N.ticks.map((g) => ({
372
- y: g >= 0 ? M - C * (g / z) : M + C * Math.abs(g) / z,
373
- value: g,
374
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
375
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
376
- datapoint: a
377
- })), G = b.ticks.map((g) => {
378
- const F = (g - b.min) / (b.max - b.min);
376
+ }), A = I.ticks.map((x) => ({
377
+ y: x >= 0 ? T - C * (x / z) : T + C * Math.abs(x) / z,
378
+ value: x,
379
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
380
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
381
+ datapoint: i
382
+ })), M = b.ticks.map((x) => {
383
+ const p = (x - b.min) / (b.max - b.min);
379
384
  return {
380
- y: g >= 0 ? r - C * F : r + C * F,
381
- value: g,
382
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
383
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
384
- datapoint: a
385
+ y: x >= 0 ? r - C * p : r + C * p,
386
+ value: x,
387
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
388
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
389
+ datapoint: i
385
390
  };
386
391
  });
387
392
  return {
388
- ...a,
389
- yOffset: _,
390
- autoScaleYLabels: G,
393
+ ...i,
394
+ yOffset: F,
395
+ autoScaleYLabels: M,
391
396
  individualHeight: C,
392
- scaleYLabels: a.autoScaling ? G : y,
393
- individualScale: a.autoScaling ? b : N,
394
- individualMax: a.autoScaling ? O : z,
395
- zeroPosition: a.autoScaling ? r : M,
396
- plots: a.autoScaling ? W : n
397
+ scaleYLabels: i.autoScaling ? M : A,
398
+ individualScale: i.autoScaling ? b : I,
399
+ individualMax: i.autoScaling ? G : z,
400
+ zeroPosition: i.autoScaling ? r : T,
401
+ plots: i.autoScaling ? Y : n
397
402
  };
398
403
  });
399
404
  },
@@ -401,138 +406,139 @@ const Ue = J(), Ze = {
401
406
  return this.absoluteDataset.length;
402
407
  },
403
408
  activeSeriesWithStackRatios() {
404
- return this.assignStackRatios(this.absoluteDataset.filter((a) => !this.segregatedSeries.includes(a.id)));
409
+ return this.assignStackRatios(this.absoluteDataset.filter((i) => !this.segregatedSeries.includes(i.id)));
405
410
  },
406
411
  lineSet() {
407
- return this.activeSeriesWithStackRatios.filter((a) => a.type === "line").map((a) => {
408
- this.checkAutoScaleError(a);
409
- const s = Math.min(...a.absoluteValues.filter((g) => ![void 0, null].includes(g))), o = Math.max(...a.absoluteValues.filter((g) => ![void 0, null].includes(g))) || 1, t = {
410
- ratios: a.absoluteValues.filter((g) => ![null, void 0].includes(g)).map((g) => (g - s) / (o - s)),
411
- valueMin: s,
412
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "line").map((i) => {
413
+ this.checkAutoScaleError(i);
414
+ const l = Math.min(...i.absoluteValues.filter((y) => ![void 0, null].includes(y))), o = Math.max(...i.absoluteValues.filter((y) => ![void 0, null].includes(y))) || 1, t = {
415
+ ratios: i.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - l) / (o - l)),
416
+ valueMin: l,
412
417
  valueMax: o
413
418
  }, e = {
414
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
415
- min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
416
- }, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + Math.abs(b), z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, M = this.drawingArea.bottom - O - _ * V / z, r = a.series.map((g, F) => {
417
- const E = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(g);
419
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
420
+ min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
421
+ }, N = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, O = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = O.min >= 0 ? 0 : Math.abs(O.min), V = 0, v = O.max + Math.abs(b), z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, r = i.series.map((y, S) => {
422
+ const Q = this.mutableConfig.useIndividualScale ? (i.absoluteValues[S] + Math.abs(b)) / v : this.ratioToMax(y);
418
423
  return {
419
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
420
- y: this.checkNaN(this.drawingArea.bottom - O - _ * E),
421
- value: a.absoluteValues[F],
422
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
424
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
425
+ y: this.checkNaN(this.drawingArea.bottom - G - F * Q),
426
+ value: i.absoluteValues[S],
427
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
423
428
  };
424
- }), h = a.absoluteValues.map((g) => N.min >= 0 ? (g - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (g + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = a.series.map((g, F) => [void 0, null].includes(a.absoluteValues[F]) ? {
425
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
429
+ }), h = i.absoluteValues.map((y) => I.min >= 0 ? (y - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (y + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = i.series.map((y, S) => [void 0, null].includes(i.absoluteValues[S]) ? {
430
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
426
431
  y: C,
427
- value: a.absoluteValues[F],
428
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
432
+ value: i.absoluteValues[S],
433
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
429
434
  } : {
430
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
431
- y: this.checkNaN(this.drawingArea.bottom - O - (_ * h[F] || 0)),
432
- value: a.absoluteValues[F],
433
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
434
- }), d = this.createSmoothPath(r), W = this.createSmoothPath(n), y = w.ticks.map((g) => ({
435
- y: g >= 0 ? C - _ * (g / v) : C + _ * Math.abs(g) / v,
436
- value: g,
437
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
438
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
439
- datapoint: a
440
- })), G = N.ticks.map((g) => {
441
- const F = (g - N.min) / (N.max - N.min);
435
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * S),
436
+ y: this.checkNaN(this.drawingArea.bottom - G - (F * h[S] || 0)),
437
+ value: i.absoluteValues[S],
438
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[S] || ""
439
+ }), g = this.createSmoothPath(r), Y = this.createSmoothPath(n), A = this.createStraightPath(r), M = this.createStraightPath(n), x = O.ticks.map((y) => ({
440
+ y: y >= 0 ? C - F * (y / v) : C + F * Math.abs(y) / v,
441
+ value: y,
442
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
443
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
444
+ datapoint: i
445
+ })), p = I.ticks.map((y) => {
446
+ const S = (y - I.min) / (I.max - I.min);
442
447
  return {
443
- y: g >= 0 ? M - _ * F : M + _ * F,
444
- value: g,
445
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
446
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
447
- datapoint: a
448
+ y: y >= 0 ? T - F * S : T + F * S,
449
+ value: y,
450
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
451
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
452
+ datapoint: i
448
453
  };
449
454
  });
450
455
  return {
451
- ...a,
452
- yOffset: O,
453
- autoScaleYLabels: G,
454
- individualHeight: _,
455
- scaleYLabels: a.autoScaling ? G : y,
456
- individualScale: a.autoScaling ? N : w,
457
- individualMax: a.autoScaling ? z : v,
458
- zeroPosition: a.autoScaling ? M : C,
459
- curve: a.autoScaling ? W : d,
460
- plots: a.autoScaling ? n : r,
461
- area: a.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(a.autoScaling ? n : r, a.autoScaling ? M : C) : this.createArea(r) : ""
456
+ ...i,
457
+ yOffset: G,
458
+ autoScaleYLabels: p,
459
+ individualHeight: F,
460
+ scaleYLabels: i.autoScaling ? p : x,
461
+ individualScale: i.autoScaling ? I : O,
462
+ individualMax: i.autoScaling ? z : v,
463
+ zeroPosition: i.autoScaling ? T : C,
464
+ curve: i.autoScaling ? Y : g,
465
+ plots: i.autoScaling ? n : r,
466
+ area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? n : r, i.autoScaling ? T : C) : this.createArea(r) : "",
467
+ straight: i.autoScaling ? M : A
462
468
  };
463
469
  });
464
470
  },
465
471
  plotSet() {
466
- return this.activeSeriesWithStackRatios.filter((a) => a.type === "plot").map((a) => {
467
- this.checkAutoScaleError(a);
468
- const s = Math.min(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))), o = Math.max(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, t = {
469
- ratios: a.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (o - s)),
470
- valueMin: s,
472
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
473
+ this.checkAutoScaleError(i);
474
+ const l = Math.min(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))), o = Math.max(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, t = {
475
+ ratios: i.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - l) / (o - l)),
476
+ valueMin: l,
471
477
  valueMax: o
472
478
  }, e = {
473
- max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
474
- min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
475
- }, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, w = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * A : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * A : t.valueMax, x), b = w.min >= 0 ? 0 : Math.abs(w.min), V = 0, v = w.max + b, z = N.max + Math.abs(V), O = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - O - _ * b / v, M = this.drawingArea.bottom - O - _ * V / z, r = a.series.map((y, G) => {
476
- const g = this.mutableConfig.useIndividualScale ? (a.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(y);
479
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
480
+ min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
481
+ }, N = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, O = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, N), I = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * _ : t.valueMax, N), b = O.min >= 0 ? 0 : Math.abs(O.min), V = 0, v = O.max + b, z = I.max + Math.abs(V), G = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, F = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, C = this.drawingArea.bottom - G - F * b / v, T = this.drawingArea.bottom - G - F * V / z, r = i.series.map((A, M) => {
482
+ const x = this.mutableConfig.useIndividualScale ? (i.absoluteValues[M] + Math.abs(b)) / v : this.ratioToMax(A);
477
483
  return {
478
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
479
- y: this.checkNaN(this.drawingArea.bottom - O - _ * g),
480
- value: a.absoluteValues[G],
481
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
484
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
485
+ y: this.checkNaN(this.drawingArea.bottom - G - F * x),
486
+ value: i.absoluteValues[M],
487
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
482
488
  };
483
- }), h = a.absoluteValues.map((y) => N.min >= 0 ? (y - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (y + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = a.series.map((y, G) => ({
484
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
485
- y: this.checkNaN(this.drawingArea.bottom - O - (_ * h[G] || 0)),
486
- value: a.absoluteValues[G],
487
- comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
488
- })), d = w.ticks.map((y) => ({
489
- y: y >= 0 ? C - _ * (y / v) : C + _ * Math.abs(y) / v,
490
- value: y,
491
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
492
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
493
- datapoint: a
494
- })), W = N.ticks.map((y) => {
495
- const G = (y - N.min) / (N.max - N.min);
489
+ }), h = i.absoluteValues.map((A) => I.min >= 0 ? (A - Math.abs(I.min)) / (I.max - Math.abs(I.min)) : (A + Math.abs(I.min)) / (I.max + Math.abs(I.min))), n = i.series.map((A, M) => ({
490
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * M),
491
+ y: this.checkNaN(this.drawingArea.bottom - G - (F * h[M] || 0)),
492
+ value: i.absoluteValues[M],
493
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[M] || ""
494
+ })), g = O.ticks.map((A) => ({
495
+ y: A >= 0 ? C - F * (A / v) : C + F * Math.abs(A) / v,
496
+ value: A,
497
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
498
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
499
+ datapoint: i
500
+ })), Y = I.ticks.map((A) => {
501
+ const M = (A - I.min) / (I.max - I.min);
496
502
  return {
497
- y: y >= 0 ? M - _ * G : M + _ * G,
498
- value: y,
499
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
500
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
501
- datapoint: a
503
+ y: A >= 0 ? T - F * M : T + F * M,
504
+ value: A,
505
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
506
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
507
+ datapoint: i
502
508
  };
503
509
  });
504
510
  return {
505
- ...a,
506
- yOffset: O,
507
- autoScaleYLabels: W,
508
- individualHeight: _,
509
- scaleYLabels: a.autoScaling ? W : d,
510
- individualScale: a.autoScaling ? N : w,
511
- individualMax: a.autoScaling ? z : v,
512
- zeroPosition: a.autoScaling ? M : C,
513
- plots: a.autoScaling ? n : r
511
+ ...i,
512
+ yOffset: G,
513
+ autoScaleYLabels: Y,
514
+ individualHeight: F,
515
+ scaleYLabels: i.autoScaling ? Y : g,
516
+ individualScale: i.autoScaling ? I : O,
517
+ individualMax: i.autoScaling ? z : v,
518
+ zeroPosition: i.autoScaling ? T : C,
519
+ plots: i.autoScaling ? n : r
514
520
  };
515
521
  });
516
522
  },
517
523
  drawingArea() {
518
- const a = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((s) => !this.segregatedSeries.includes(s.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
524
+ const i = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((l) => !this.segregatedSeries.includes(l.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
519
525
  return {
520
526
  top: this.FINAL_CONFIG.chart.padding.top,
521
527
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
522
528
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
523
- left: this.FINAL_CONFIG.chart.padding.left + a,
529
+ left: this.FINAL_CONFIG.chart.padding.left + i,
524
530
  height: this.height - (this.FINAL_CONFIG.chart.padding.top + this.FINAL_CONFIG.chart.padding.bottom),
525
- width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + a)
531
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + i)
526
532
  };
527
533
  },
528
534
  max() {
529
- return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((a) => !this.segregatedSeries.includes(a.id)).map((a) => Math.max(...a.series)));
535
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((i) => !this.segregatedSeries.includes(i.id)).map((i) => Math.max(...i.series)));
530
536
  },
531
537
  min() {
532
538
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
533
539
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
534
- const a = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
535
- return a > 0 ? 0 : a;
540
+ const i = Math.min(...this.safeDataset.filter((l) => !this.segregatedSeries.includes(l.id)).map((l) => Math.min(...l.series)));
541
+ return i > 0 ? 0 : i;
536
542
  },
537
543
  niceScale() {
538
544
  return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
@@ -541,70 +547,70 @@ const Ue = J(), Ze = {
541
547
  return this.slicer.end - this.slicer.start;
542
548
  },
543
549
  timeLabels() {
544
- const a = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), s = [];
545
- for (let o = 0; o < a; o += 1)
546
- s.push({
550
+ const i = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length)), l = [];
551
+ for (let o = 0; o < i; o += 1)
552
+ l.push({
547
553
  text: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[o] || String(o),
548
554
  absoluteIndex: o
549
555
  });
550
- return s.slice(this.slicer.start, this.slicer.end);
556
+ return l.slice(this.slicer.start, this.slicer.end);
551
557
  },
552
558
  slot() {
553
559
  return {
554
- bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((a) => a.type === "bar").filter((a) => !this.segregatedSeries.includes(a.id)).length,
560
+ bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((i) => i.type === "bar").filter((i) => !this.segregatedSeries.includes(i.id)).length,
555
561
  plot: this.drawingArea.width / this.maxSeries,
556
562
  line: this.drawingArea.width / this.maxSeries
557
563
  };
558
564
  },
559
565
  barSlot() {
560
- const a = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
561
- return this.drawingArea.width / this.maxSeries / a - this.barPeriodGap * a;
566
+ const i = this.safeDataset.filter((l) => l.type === "bar").filter((l) => !this.segregatedSeries.includes(l.id)).length;
567
+ return this.drawingArea.width / this.maxSeries / i - this.barPeriodGap * i;
562
568
  },
563
569
  barPeriodGap() {
564
570
  return this.slot.line * this.FINAL_CONFIG.bar.periodGap;
565
571
  },
566
572
  maxSlot() {
567
- return Math.max(...Object.values(this.slot).filter((a) => a !== 1 / 0));
573
+ return Math.max(...Object.values(this.slot).filter((i) => i !== 1 / 0));
568
574
  },
569
575
  table() {
570
576
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
571
- const a = this.relativeDataset.map((o) => ({
577
+ const i = this.relativeDataset.map((o) => ({
572
578
  label: o.name,
573
579
  color: o.color,
574
580
  type: o.type
575
- })), s = [];
576
- return this.timeLabels.forEach((o, u) => {
581
+ })), l = [];
582
+ return this.timeLabels.forEach((o, d) => {
577
583
  const t = [o.text];
578
584
  this.relativeDataset.forEach((e) => {
579
- t.push(this.canShowValue(e.absoluteValues[u]) ? Number(e.absoluteValues[u].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
580
- }), s.push(t);
581
- }), { head: a, body: s };
585
+ t.push(this.canShowValue(e.absoluteValues[d]) ? Number(e.absoluteValues[d].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
586
+ }), l.push(t);
587
+ }), { head: i, body: l };
582
588
  },
583
589
  dataTable() {
584
- const a = this.FINAL_CONFIG.table.showSum;
585
- let s = [""].concat(this.relativeDataset.map((e) => e.name));
586
- a && (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>'));
590
+ const i = this.FINAL_CONFIG.table.showSum;
591
+ let l = [""].concat(this.relativeDataset.map((e) => e.name));
592
+ i && (l = l.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>'));
587
593
  let o = [];
588
594
  for (let e = 0; e < this.maxSeries; e += 1) {
589
- const x = this.relativeDataset.map((A) => A.absoluteValues[e] ?? 0).reduce((A, w) => A + w, 0);
595
+ const N = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, O) => _ + O, 0);
590
596
  o.push(
591
597
  [
592
598
  this.timeLabels[e].text ?? "-"
593
599
  ].concat(this.relativeDataset.map(
594
- (A) => this.applyDataLabel(
595
- A.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : A.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
596
- A.absoluteValues[e] ?? 0,
600
+ (_) => this.applyDataLabel(
601
+ _.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : _.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
602
+ _.absoluteValues[e] ?? 0,
597
603
  this.dataLabel({
598
- p: A.prefix || this.FINAL_CONFIG.chart.labels.prefix,
599
- v: A.absoluteValues[e] ?? 0,
600
- s: A.suffix || this.FINAL_CONFIG.chart.labels.suffix,
604
+ p: _.prefix || this.FINAL_CONFIG.chart.labels.prefix,
605
+ v: _.absoluteValues[e] ?? 0,
606
+ s: _.suffix || this.FINAL_CONFIG.chart.labels.suffix,
601
607
  r: this.FINAL_CONFIG.table.rounding
602
608
  })
603
609
  )
604
- )).concat(a ? (x ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
610
+ )).concat(i ? (N ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
605
611
  );
606
612
  }
607
- const u = {
613
+ const d = {
608
614
  th: {
609
615
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
610
616
  color: this.FINAL_CONFIG.table.th.color,
@@ -617,7 +623,7 @@ const Ue = J(), Ze = {
617
623
  },
618
624
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
619
625
  }, t = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
620
- return { head: s, body: o, config: u, colNames: t };
626
+ return { head: l, body: o, config: d, colNames: t };
621
627
  },
622
628
  dataTooltipSlot() {
623
629
  return {
@@ -631,22 +637,22 @@ const Ue = J(), Ze = {
631
637
  };
632
638
  },
633
639
  selectedSeries() {
634
- return this.relativeDataset.map((a) => ({
635
- slotAbsoluteIndex: a.slotAbsoluteIndex,
636
- shape: a.shape || null,
637
- name: a.name,
638
- color: a.color,
639
- type: a.type,
640
- value: a.absoluteValues.find((s, o) => o === this.selectedSerieIndex),
641
- comments: a.comments || [],
642
- prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
643
- suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix
640
+ return this.relativeDataset.map((i) => ({
641
+ slotAbsoluteIndex: i.slotAbsoluteIndex,
642
+ shape: i.shape || null,
643
+ name: i.name,
644
+ color: i.color,
645
+ type: i.type,
646
+ value: i.absoluteValues.find((l, o) => o === this.selectedSerieIndex),
647
+ comments: i.comments || [],
648
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
649
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix
644
650
  }));
645
651
  },
646
652
  tooltipContent() {
647
- let a = "", s = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
648
- const o = this.timeLabels[this.selectedSerieIndex], u = this.FINAL_CONFIG.chart.tooltip.customFormat;
649
- return this.isFunction(u) && this.functionReturnsString(() => u({
653
+ let i = "", l = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
654
+ const o = this.timeLabels[this.selectedSerieIndex], d = this.FINAL_CONFIG.chart.tooltip.customFormat;
655
+ return this.isFunction(d) && this.functionReturnsString(() => d({
650
656
  seriesIndex: this.selectedSerieIndex,
651
657
  datapoint: this.selectedSeries,
652
658
  series: this.absoluteDataset,
@@ -654,7 +660,7 @@ const Ue = J(), Ze = {
654
660
  lines: this.lineSet,
655
661
  plots: this.plotSet,
656
662
  config: this.FINAL_CONFIG
657
- })) ? u({
663
+ })) ? d({
658
664
  seriesIndex: this.selectedSerieIndex,
659
665
  datapoint: this.selectedSeries,
660
666
  series: this.absoluteDataset,
@@ -662,15 +668,15 @@ const Ue = J(), Ze = {
662
668
  lines: this.lineSet,
663
669
  plots: this.plotSet,
664
670
  config: this.FINAL_CONFIG
665
- }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
671
+ }) : (o && o.text && this.FINAL_CONFIG.chart.tooltip.showTimeLabel && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o.text}</div>`), this.selectedSeries.forEach((t) => {
666
672
  if (this.isSafeValue(t.value)) {
667
- let e = "", x = "";
673
+ let e = "", N = "";
668
674
  switch (this.icons[t.type]) {
669
675
  case "bar":
670
676
  e = `<svg viewBox="0 0 40 40" height="14" width="14">${this.$slots.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${t.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${this.$slots.pattern ? `url(#pattern_${this.uniqueId}_${t.slotAbsoluteIndex}` : t.color}" /></svg>`;
671
677
  break;
672
678
  case "line":
673
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${x}</svg>`;
679
+ !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? N = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" />` : t.shape === "triangle" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "square" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "diamond" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "pentagon" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "hexagon" ? N = `<path d="${H({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" />` : t.shape === "star" && (N = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" fill="${t.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="0.5" height="3" width="20" fill="${t.color}" />${N}</svg>`;
674
680
  break;
675
681
  case "plot":
676
682
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -682,27 +688,27 @@ const Ue = J(), Ze = {
682
688
  break;
683
689
  }
684
690
  if (t.shape === "triangle") {
685
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
691
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
686
692
  break;
687
693
  }
688
694
  if (t.shape === "square") {
689
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
695
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
690
696
  break;
691
697
  }
692
698
  if (t.shape === "diamond") {
693
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
699
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
694
700
  break;
695
701
  }
696
702
  if (t.shape === "pentagon") {
697
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
703
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
698
704
  break;
699
705
  }
700
706
  if (t.shape === "hexagon") {
701
- 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="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
707
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${H({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
702
708
  break;
703
709
  }
704
710
  }
705
- a += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
711
+ i += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${t.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
706
712
  t.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : t.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
707
713
  t.value,
708
714
  this.dataLabel({
@@ -713,12 +719,12 @@ const Ue = J(), Ze = {
713
719
  }),
714
720
  { datapoint: t }
715
721
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${U({
716
- v: this.checkNaN(Math.abs(t.value) / s * 100),
722
+ v: this.checkNaN(Math.abs(t.value) / l * 100),
717
723
  s: "%",
718
724
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
719
- })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && t.comments.length && t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
725
+ })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && t.comments.length && t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
720
726
  }
721
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${a}</div>`);
727
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${i}</div>`);
722
728
  },
723
729
  svg() {
724
730
  return {
@@ -727,9 +733,9 @@ const Ue = J(), Ze = {
727
733
  };
728
734
  },
729
735
  yLabels() {
730
- return this.niceScale.ticks.map((a) => ({
731
- y: a >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(a) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(a)),
732
- value: a,
736
+ return this.niceScale.ticks.map((i) => ({
737
+ y: i >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(i) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(i)),
738
+ value: i,
733
739
  prefix: this.FINAL_CONFIG.chart.labels.prefix,
734
740
  suffix: this.FINAL_CONFIG.chart.labels.suffix
735
741
  }));
@@ -739,106 +745,107 @@ const Ue = J(), Ze = {
739
745
  }
740
746
  },
741
747
  mounted() {
742
- this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (a) => {
748
+ this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (i) => {
743
749
  this.clientPosition = {
744
- x: a.clientX,
745
- y: a.clientY
750
+ x: i.clientX,
751
+ y: i.clientY
746
752
  };
747
753
  });
748
754
  },
749
755
  methods: {
750
- abbreviate: ee,
751
- adaptColorToBackground: te,
752
- applyDataLabel: ae,
753
- assignStackRatios: re,
756
+ abbreviate: te,
757
+ adaptColorToBackground: ie,
758
+ applyDataLabel: re,
759
+ assignStackRatios: ae,
754
760
  calcLinearProgression: le,
755
- calculateNiceScaleWithExactExtremes: ie,
756
- checkNaN: se,
757
- closestDecimal: ne,
758
- convertColorToHex: he,
759
- convertConfigColors: oe,
760
- convertCustomPalette: ce,
761
- createCsvContent: de,
762
- createSmoothPath: ue,
763
- createTSpans: ge,
761
+ calculateNiceScaleWithExactExtremes: se,
762
+ checkNaN: ne,
763
+ closestDecimal: he,
764
+ convertColorToHex: oe,
765
+ convertConfigColors: ce,
766
+ convertCustomPalette: de,
767
+ createCsvContent: ue,
768
+ createSmoothPath: ge,
769
+ createStraightPath: fe,
770
+ createTSpans: Ie,
764
771
  dataLabel: U,
765
- downloadCsv: fe,
766
- error: Ie,
767
- forceValidValue: me,
768
- functionReturnsString: Ne,
769
- hasDeepProperty: xe,
770
- isFunction: be,
771
- isSafeValue: Fe,
772
- largestTriangleThreeBucketsArray: _e,
773
- objectIsEmpty: Ae,
774
- setOpacity: ye,
775
- shiftHue: Le,
776
- translateSize: Ce,
777
- treeShake: Se,
778
- useMouse: ve,
772
+ downloadCsv: me,
773
+ error: Ne,
774
+ forceValidValue: xe,
775
+ functionReturnsString: be,
776
+ hasDeepProperty: Fe,
777
+ isFunction: _e,
778
+ isSafeValue: Ae,
779
+ largestTriangleThreeBucketsArray: ye,
780
+ objectIsEmpty: Le,
781
+ setOpacity: Ce,
782
+ shiftHue: Se,
783
+ translateSize: ke,
784
+ treeShake: we,
785
+ useMouse: Me,
779
786
  useNestedProp: Z,
780
- setUserOptionsVisibility(a = !1) {
781
- this.showUserOptionsOnChartHover && (this.userOptionsVisible = a);
787
+ setUserOptionsVisibility(i = !1) {
788
+ this.showUserOptionsOnChartHover && (this.userOptionsVisible = i);
782
789
  },
783
790
  toggleAnnotator() {
784
791
  this.isAnnotator = !this.isAnnotator;
785
792
  },
786
- selectTimeLabel(a, s) {
787
- const o = this.relativeDataset.map((u) => ({
788
- shape: u.shape || null,
789
- name: u.name,
790
- color: u.color,
791
- type: u.type,
792
- value: u.absoluteValues.find((t, e) => e === s),
793
- comments: u.comments || [],
794
- prefix: u.prefix || this.FINAL_CONFIG.chart.labels.prefix,
795
- suffix: u.suffix || this.FINAL_CONFIG.chart.labels.suffix
793
+ selectTimeLabel(i, l) {
794
+ const o = this.relativeDataset.map((d) => ({
795
+ shape: d.shape || null,
796
+ name: d.name,
797
+ color: d.color,
798
+ type: d.type,
799
+ value: d.absoluteValues.find((t, e) => e === l),
800
+ comments: d.comments || [],
801
+ prefix: d.prefix || this.FINAL_CONFIG.chart.labels.prefix,
802
+ suffix: d.suffix || this.FINAL_CONFIG.chart.labels.suffix
796
803
  }));
797
804
  this.$emit("selectTimeLabel", {
798
805
  datapoint: o,
799
- absoluteIndex: a.absoluteIndex,
800
- label: a.text
806
+ absoluteIndex: i.absoluteIndex,
807
+ label: i.text
801
808
  });
802
809
  },
803
- getHighlightAreaPosition(a) {
804
- const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (a.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * a.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * a.span;
810
+ getHighlightAreaPosition(i) {
811
+ const l = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (i.from - this.slicer.start), o = this.drawingArea.width / (this.slicer.end - this.slicer.start) * i.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * i.span;
805
812
  return {
806
- x: s < this.drawingArea.left ? this.drawingArea.left : s,
813
+ x: l < this.drawingArea.left ? this.drawingArea.left : l,
807
814
  width: o
808
815
  };
809
816
  },
810
817
  prepareConfig() {
811
- const a = ke().vue_ui_xy;
818
+ const i = Oe().vue_ui_xy;
812
819
  if (!Object.keys(this.config || {}).length)
813
- return a;
814
- const s = this.useNestedProp({
820
+ return i;
821
+ const l = this.useNestedProp({
815
822
  userConfig: this.config,
816
- defaultConfig: a
823
+ defaultConfig: i
817
824
  });
818
- return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? s.chart.zoom.startIndex = this.config.chart.zoom.startIndex : s.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? s.chart.zoom.endIndex = this.config.chart.zoom.endIndex : s.chart.zoom.endIndex = null, s.theme ? {
825
+ return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? l.chart.highlightArea = this.config.chart.highlightArea : l.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = this.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = this.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, l.theme ? {
819
826
  ...Z({
820
- userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
821
- defaultConfig: s
827
+ userConfig: this.themes.vue_ui_xy[l.theme] || this.config,
828
+ defaultConfig: l
822
829
  }),
823
- customPalette: this.themePalettes[s.theme] || this.palette
824
- } : s;
830
+ customPalette: this.themePalettes[l.theme] || this.palette
831
+ } : l;
825
832
  },
826
833
  prepareChart() {
827
834
  if (this.objectIsEmpty(this.dataset) ? this.error({
828
835
  componentName: "VueUiXy",
829
836
  type: "dataset"
830
- }) : this.dataset.forEach((a, s) => {
831
- [null, void 0].includes(a.name) && this.error({
837
+ }) : this.dataset.forEach((i, l) => {
838
+ [null, void 0].includes(i.name) && this.error({
832
839
  componentName: "VueUiXy",
833
840
  type: "datasetSerieAttribute",
834
841
  property: "name (string)",
835
- index: s
842
+ index: l
836
843
  });
837
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((a) => {
838
- a.series.forEach((s, o) => {
839
- this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
840
- -----> The serie '${a.name}' contains the value '${s}' at index ${o}.
841
- '${s}' was converted to null to allow the chart to display.`);
844
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
845
+ i.series.forEach((l, o) => {
846
+ this.isSafeValue(l) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
847
+ -----> The serie '${i.name}' contains the value '${l}' at index ${o}.
848
+ '${l}' was converted to null to allow the chart to display.`);
842
849
  });
843
850
  }), this.showUserOptionsOnChartHover = this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.keepUserOptionState = this.FINAL_CONFIG.chart.userOptions.keepStateOnChartLeave, this.userOptionsVisible = !this.FINAL_CONFIG.chart.userOptions.showOnChartHover, this.mutableConfig = {
844
851
  dataLabels: {
@@ -849,25 +856,27 @@ const Ue = J(), Ze = {
849
856
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
850
857
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
851
858
  }, this.FINAL_CONFIG.responsive) {
852
- const s = this.$refs.chart.parentNode, { height: o, width: u } = s.getBoundingClientRect();
859
+ const l = this.$refs.chart.parentNode, { height: o, width: d } = l.getBoundingClientRect();
853
860
  let t = null, e = 0;
854
861
  this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
855
- let x = null, A = 0;
856
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, A = x.getBoundingClientRect().height);
857
- let w = null, N = 0;
858
- this.FINAL_CONFIG.chart.legend.show && (w = this.$refs.chartLegend, N = w.getBoundingClientRect().height);
862
+ let N = null, _ = 0;
863
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (N = this.$refs.chartSlicer.$el, _ = N.getBoundingClientRect().height);
864
+ let O = null, I = 0;
865
+ this.FINAL_CONFIG.chart.legend.show && (O = this.$refs.chartLegend, I = O.getBoundingClientRect().height);
859
866
  let b = 0;
860
867
  this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
861
868
  let V = 0;
862
- this.$refs.noTitle && (V = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - N - A - b - V, this.width = u, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((z) => {
863
- for (const O of z)
864
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (A = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = O.contentBoxSize[0].blockSize - e - N - A - b - 24, this.width = O.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
865
- }).observe(s);
869
+ this.$refs.noTitle && (V = this.$refs.noTitle.getBoundingClientRect().height), this.height = o - e - I - _ - b - V, this.width = d, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((z) => {
870
+ for (const G of z)
871
+ 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 && (I = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), requestAnimationFrame(() => {
872
+ this.height = G.contentBoxSize[0].blockSize - e - I - _ - b - 24, this.width = G.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
873
+ });
874
+ }).observe(l);
866
875
  } else
867
876
  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;
868
877
  },
869
- selectMinimapIndex(a) {
870
- this.selectedMinimapIndex = a;
878
+ selectMinimapIndex(i) {
879
+ this.selectedMinimapIndex = i;
871
880
  },
872
881
  convertSizes() {
873
882
  this.fontSizes.dataLabels = this.translateSize({
@@ -920,119 +929,119 @@ const Ue = J(), Ze = {
920
929
  toggleTooltip() {
921
930
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
922
931
  },
923
- checkAutoScaleError(a) {
924
- a.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
932
+ checkAutoScaleError(i) {
933
+ i.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${i.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${i.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
925
934
  },
926
- createArea(a) {
927
- if (!a[0]) return [-10, -10, "", -10, -10];
928
- const s = { x: a[0].x, y: this.zero }, o = { x: a.at(-1).x, y: this.zero }, u = [];
929
- return a.forEach((t) => {
930
- u.push(`${t.x},${t.y} `);
931
- }), [s.x, s.y, ...u, o.x, o.y].toString();
935
+ createArea(i) {
936
+ if (!i[0]) return [-10, -10, "", -10, -10];
937
+ const l = { x: i[0].x, y: this.zero }, o = { x: i.at(-1).x, y: this.zero }, d = [];
938
+ return i.forEach((t) => {
939
+ d.push(`${t.x},${t.y} `);
940
+ }), [l.x, l.y, ...d, o.x, o.y].toString();
932
941
  },
933
- createIndividualArea(a, s) {
934
- if (!a[0]) return [-10, -10, "", -10, -10];
935
- const o = { x: a[0] ? a[0].x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, u = { x: a.at(-1) ? a.at(-1).x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, t = [];
936
- return a.filter((e) => !!e).forEach((e) => {
942
+ createIndividualArea(i, l) {
943
+ if (!i[0]) return [-10, -10, "", -10, -10];
944
+ const o = { x: i[0] ? i[0].x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: l }, d = { x: i.at(-1) ? i.at(-1).x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: l }, t = [];
945
+ return i.filter((e) => !!e).forEach((e) => {
937
946
  t.push(`${e.x},${e.y} `);
938
- }), [o.x, o.y, ...t, u.x, u.y].toString();
947
+ }), [o.x, o.y, ...t, d.x, d.y].toString();
939
948
  },
940
949
  createStar: X,
941
- createPolygonPath: R,
942
- fillArray(a, s) {
943
- let o = Array(a).fill(0);
944
- for (let u = 0; u < s.length && u < a; u += 1)
945
- o[u] = s[u];
950
+ createPolygonPath: H,
951
+ fillArray(i, l) {
952
+ let o = Array(i).fill(0);
953
+ for (let d = 0; d < l.length && d < i; d += 1)
954
+ o[d] = l[d];
946
955
  return o;
947
956
  },
948
957
  async setupSlicer() {
949
958
  (this.FINAL_CONFIG.chart.zoom.startIndex !== null || this.FINAL_CONFIG.chart.zoom.endIndex !== null) && this.$refs.chartSlicer ? (this.FINAL_CONFIG.chart.zoom.startIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setStartValue(this.FINAL_CONFIG.chart.zoom.startIndex)), this.FINAL_CONFIG.chart.zoom.endIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setEndValue(this.validSlicerEnd(this.FINAL_CONFIG.chart.zoom.endIndex + 1)))) : (this.slicer = {
950
959
  start: 0,
951
- end: Math.max(...this.dataset.map((a) => this.largestTriangleThreeBucketsArray({ data: a.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
960
+ end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
952
961
  }, this.slicerStep += 1);
953
962
  },
954
963
  refreshSlicer() {
955
964
  this.setupSlicer();
956
965
  },
957
- validSlicerEnd(a) {
958
- const s = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
959
- return a > s ? s : a < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && a < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : a;
966
+ validSlicerEnd(i) {
967
+ const l = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
968
+ return i > l ? l : i < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && i < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : i;
960
969
  },
961
- calcRectHeight(a) {
962
- const s = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
963
- return a.value >= 0 ? this.checkNaN(s - a.y <= 0 ? 1e-5 : s - a.y) : this.checkNaN(a.y - this.zero <= 0 ? 1e-5 : a.y - this.zero);
970
+ calcRectHeight(i) {
971
+ const l = ![null, void 0].includes(this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin) && this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin > 0 && this.min >= 0 ? this.drawingArea.bottom : this.zero;
972
+ return i.value >= 0 ? this.checkNaN(l - i.y <= 0 ? 1e-5 : l - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
964
973
  },
965
- calcIndividualHeight(a) {
966
- return a.value >= 0 ? this.checkNaN(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : this.checkNaN(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
974
+ calcIndividualHeight(i) {
975
+ return i.value >= 0 ? this.checkNaN(i.zeroPosition - i.y <= 0 ? 1e-5 : i.zeroPosition - i.y) : this.checkNaN(i.y - i.zeroPosition <= 0 ? 1e-5 : i.zeroPosition - i.y);
967
976
  },
968
977
  calcRectWidth() {
969
978
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
970
979
  },
971
- calcRectX(a) {
972
- return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? a.x + this.drawingArea.width / this.maxSeries * 0.05 : a.x + this.slot.bar / 2;
980
+ calcRectX(i) {
981
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
973
982
  },
974
- calcRectY(a) {
975
- return a.value >= 0 ? a.y : this.zero;
983
+ calcRectY(i) {
984
+ return i.value >= 0 ? i.y : this.zero;
976
985
  },
977
- calcIndividualRectY(a) {
978
- return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
986
+ calcIndividualRectY(i) {
987
+ return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
979
988
  },
980
- canShowValue(a) {
981
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
989
+ canShowValue(i) {
990
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
982
991
  },
983
- findClosestValue(a, s) {
984
- let o = s[0], u = Math.abs(a - s[0]);
985
- for (let t = 1; t < s.length; t += 1) {
986
- const e = Math.abs(a - s[t]);
987
- e < u && s[t] < a && (o = s[t], u = e);
992
+ findClosestValue(i, l) {
993
+ let o = l[0], d = Math.abs(i - l[0]);
994
+ for (let t = 1; t < l.length; t += 1) {
995
+ const e = Math.abs(i - l[t]);
996
+ e < d && l[t] < i && (o = l[t], d = e);
988
997
  }
989
998
  return o;
990
999
  },
991
- ratioToMax(a) {
992
- return a / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
1000
+ ratioToMax(i) {
1001
+ return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
993
1002
  },
994
- selectX(a) {
1003
+ selectX(i) {
995
1004
  this.$emit(
996
1005
  "selectX",
997
1006
  {
998
- dataset: this.relativeDataset.map((s) => ({
999
- name: s.name,
1000
- value: [null, void 0, NaN].includes(s.absoluteValues[a]) ? null : s.absoluteValues[a],
1001
- color: s.color,
1002
- type: s.type
1007
+ dataset: this.relativeDataset.map((l) => ({
1008
+ name: l.name,
1009
+ value: [null, void 0, NaN].includes(l.absoluteValues[i]) ? null : l.absoluteValues[i],
1010
+ color: l.color,
1011
+ type: l.type
1003
1012
  })),
1004
- index: a,
1005
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a]
1013
+ index: i,
1014
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
1006
1015
  }
1007
1016
  );
1008
1017
  },
1009
1018
  getData() {
1010
- return this.absoluteDataset.map((a) => ({
1011
- values: a.absoluteValues,
1012
- color: a.color,
1013
- name: a.name,
1014
- type: a.type
1019
+ return this.absoluteDataset.map((i) => ({
1020
+ values: i.absoluteValues,
1021
+ color: i.color,
1022
+ name: i.name,
1023
+ type: i.type
1015
1024
  }));
1016
1025
  },
1017
- segregate(a) {
1018
- if (this.segregatedSeries.includes(a.id))
1019
- this.segregatedSeries = this.segregatedSeries.filter((s) => s !== a.id);
1026
+ segregate(i) {
1027
+ if (this.segregatedSeries.includes(i.id))
1028
+ this.segregatedSeries = this.segregatedSeries.filter((l) => l !== i.id);
1020
1029
  else {
1021
1030
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1022
- this.segregatedSeries.push(a.id);
1031
+ this.segregatedSeries.push(i.id);
1023
1032
  }
1024
- this.$emit("selectLegend", this.relativeDataset.map((s) => ({
1025
- name: s.name,
1026
- values: s.absoluteValues,
1027
- color: s.color,
1028
- type: s.type
1033
+ this.$emit("selectLegend", this.relativeDataset.map((l) => ({
1034
+ name: l.name,
1035
+ values: l.absoluteValues,
1036
+ color: l.color,
1037
+ type: l.type
1029
1038
  }))), this.segregateStep += 1;
1030
1039
  },
1031
- toggleTooltipVisibility(a, s = null) {
1032
- this.isTooltip = a, a ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
1040
+ toggleTooltipVisibility(i, l = null) {
1041
+ this.isTooltip = i, i ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1033
1042
  },
1034
- toggleFullscreen(a) {
1035
- this.isFullscreen = a, this.step += 1;
1043
+ toggleFullscreen(i) {
1044
+ this.isFullscreen = i, this.step += 1;
1036
1045
  },
1037
1046
  showSpinnerPdf() {
1038
1047
  this.isPrinting = !0;
@@ -1040,20 +1049,20 @@ const Ue = J(), Ze = {
1040
1049
  async generatePdf() {
1041
1050
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1042
1051
  try {
1043
- const { default: a } = await import("./pdf-B7oVat64.js");
1044
- await a({
1052
+ const { default: i } = await import("./pdf-B7oVat64.js");
1053
+ await i({
1045
1054
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1046
1055
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy"
1047
1056
  });
1048
- } catch (a) {
1049
- console.error("Error generating PDF:", a);
1057
+ } catch (i) {
1058
+ console.error("Error generating PDF:", i);
1050
1059
  } finally {
1051
1060
  this.isPrinting = !1;
1052
1061
  }
1053
1062
  }, 100);
1054
1063
  },
1055
1064
  generateCsv() {
1056
- const a = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, u = a.concat([s]).concat(o), t = this.createCsvContent(u);
1065
+ const i = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], l = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, d = i.concat([l]).concat(o), t = this.createCsvContent(d);
1057
1066
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1058
1067
  },
1059
1068
  showSpinnerImage() {
@@ -1062,47 +1071,47 @@ const Ue = J(), Ze = {
1062
1071
  async generateImage() {
1063
1072
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1064
1073
  try {
1065
- const { default: a } = await import("./img-DGzWcJ4Y.js");
1066
- await a({
1074
+ const { default: i } = await import("./img-DGzWcJ4Y.js");
1075
+ await i({
1067
1076
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1068
1077
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
1069
1078
  format: "png"
1070
1079
  });
1071
- } catch (a) {
1072
- console.error("Error generating image:", a);
1080
+ } catch (i) {
1081
+ console.error("Error generating image:", i);
1073
1082
  } finally {
1074
1083
  this.isImaging = !1;
1075
1084
  }
1076
1085
  }, 100);
1077
1086
  }
1078
1087
  }
1079
- }, Je = ["id"], Ke = {
1088
+ }, Ke = ["id"], je = {
1080
1089
  key: 1,
1081
1090
  ref: "noTitle",
1082
1091
  class: "vue-data-ui-no-title-space",
1083
1092
  style: "height:36px; width: 100%; background:transparent"
1084
- }, Qe = ["viewBox"], je = ["x", "y", "width", "height"], $e = { key: 1 }, et = { class: "vue-ui-xy-grid" }, tt = ["stroke", "x1", "x2", "y1", "y2"], at = ["stroke", "x1", "x2", "y1", "y2"], rt = { key: 1 }, lt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], st = ["x1", "x2", "y1", "y2", "stroke"], nt = { key: 3 }, ht = ["x1", "x2", "y1", "y2", "stroke"], ot = ["id"], ct = ["stop-color"], dt = ["stop-color"], ut = ["stop-color"], gt = ["id"], ft = ["stop-color"], It = ["stop-color"], mt = ["stop-color"], Nt = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], At = ["stop-color"], yt = ["id"], Lt = ["stop-color"], Ct = ["stop-color"], St = ["x", "y", "height", "width", "fill"], kt = ["x", "y", "width"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Gt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], vt = ["width", "x", "y"], zt = { key: 0 }, Mt = ["id"], pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Tt = ["x", "y", "font-size", "fill"], Pt = ["stroke", "x1", "x2", "y1", "y2"], Rt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ht = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Bt = { key: 4 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["fill", "font-size", "transform"], Yt = ["x1", "x2", "y1", "y2", "stroke"], qt = ["x", "y", "font-size", "fill"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["width", "x", "y"], Jt = { style: { width: "100%" } }, Kt = { key: 0 }, Qt = ["id"], jt = ["fill"], $t = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ea = ["x", "y", "font-size", "fill"], ta = ["d", "stroke", "stroke-width", "stroke-dasharray"], aa = { key: 1 }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], la = { key: 5 }, ia = { key: 0 }, sa = ["d", "fill"], na = ["d", "fill"], ha = ["d", "fill"], oa = ["d", "fill"], ca = ["d", "stroke", "stroke-width", "stroke-dasharray"], da = { key: 2 }, ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ga = ["width", "x", "y"], fa = { style: { width: "100%" } }, Ia = { key: 3 }, ma = ["id"], Na = ["fill"], xa = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ba = ["x", "y", "font-size", "fill"], Fa = { key: 6 }, _a = ["x", "y", "font-size", "fill"], Aa = ["x", "y", "font-size", "fill", "font-weight"], ya = { key: 7 }, La = ["x", "y", "font-size", "fill"], Ca = ["x", "y"], Sa = ["x", "y"], ka = { key: 8 }, wa = ["x", "y", "font-size", "fill"], Oa = ["x", "y"], Ga = ["x", "y"], va = ["x", "y", "font-size", "fill", "innerHTML"], za = ["x", "y", "font-size", "fill", "innerHTML"], Ma = ["x", "y", "font-size", "fill", "innerHTML"], pa = ["x", "y", "font-size", "fill", "innerHTML"], Va = ["x", "y", "width", "height", "fill", "onMouseenter"], Ta = ["font-size", "fill", "transform"], Pa = ["x", "y", "font-size", "fill"], Ra = { key: 10 }, Da = ["text-anchor", "font-size", "fill", "transform", "onClick"], Ha = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ba = { key: 11 }, Wa = ["x", "y"], Ea = ["cx", "cy", "r", "fill"], Ya = {
1093
+ }, $e = ["viewBox"], et = ["x", "y", "width", "height"], tt = { key: 1 }, it = { class: "vue-ui-xy-grid" }, rt = ["stroke", "x1", "x2", "y1", "y2"], at = ["stroke", "x1", "x2", "y1", "y2"], lt = { key: 1 }, st = ["x1", "x2", "y1", "y2", "stroke"], nt = ["x1", "x2", "y1", "y2", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke"], ot = { key: 3 }, ct = ["x1", "x2", "y1", "y2", "stroke"], dt = ["id"], ut = ["stop-color"], gt = ["stop-color"], ft = ["stop-color"], It = ["id"], mt = ["stop-color"], Nt = ["stop-color"], xt = ["stop-color"], bt = ["id"], Ft = ["stop-color"], _t = ["stop-color"], At = ["id"], yt = ["stop-color"], Lt = ["stop-color"], Ct = ["id"], St = ["stop-color"], kt = ["stop-color"], wt = ["x", "y", "height", "width", "fill"], Ot = ["x", "y", "width"], Gt = ["x", "y", "height", "width", "fill"], vt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], zt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Mt = ["width", "x", "y"], pt = { key: 0 }, Tt = ["id"], Pt = ["fill"], Vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Rt = ["x", "y", "font-size", "fill"], Dt = ["stroke", "x1", "x2", "y1", "y2"], Ht = { key: 2 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Wt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Et = { key: 4 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["fill", "font-size", "transform"], Xt = ["x1", "x2", "y1", "y2", "stroke"], Ut = ["x", "y", "font-size", "fill"], Zt = ["x1", "x2", "y1", "y2", "stroke"], Jt = ["x", "y", "font-size", "fill"], Qt = ["width", "x", "y"], Kt = { style: { width: "100%" } }, jt = { key: 0 }, $t = ["id"], ei = ["fill"], ti = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ii = ["x", "y", "font-size", "fill"], ri = ["d", "stroke", "stroke-width", "stroke-dasharray"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], li = { key: 5 }, si = { key: 0 }, ni = ["d", "fill"], hi = ["d", "fill"], oi = ["d", "fill"], ci = ["d", "fill"], di = ["d", "stroke", "stroke-width", "stroke-dasharray"], ui = ["d", "stroke", "stroke-width", "stroke-dasharray"], gi = ["width", "x", "y"], fi = { style: { width: "100%" } }, Ii = { key: 3 }, mi = ["id"], Ni = ["fill"], xi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], bi = ["x", "y", "font-size", "fill"], Fi = { key: 6 }, _i = ["x", "y", "font-size", "fill"], Ai = ["x", "y", "font-size", "fill", "font-weight"], yi = { key: 7 }, Li = ["x", "y", "font-size", "fill"], Ci = ["x", "y"], Si = ["x", "y"], ki = { key: 8 }, wi = ["x", "y", "font-size", "fill"], Oi = ["x", "y"], Gi = ["x", "y"], vi = ["x", "y", "font-size", "fill", "innerHTML"], zi = ["x", "y", "font-size", "fill", "innerHTML"], Mi = ["x", "y", "font-size", "fill", "innerHTML"], pi = ["x", "y", "font-size", "fill", "innerHTML"], Ti = ["x", "y", "width", "height", "fill", "onMouseenter"], Pi = ["font-size", "fill", "transform"], Vi = ["x", "y", "font-size", "fill"], Ri = { key: 10 }, Di = ["text-anchor", "font-size", "fill", "transform", "onClick"], Hi = ["x", "y", "height", "width", "onMouseenter", "onClick"], Bi = { key: 11 }, Wi = ["x", "y"], Ei = ["cx", "cy", "r", "fill"], Yi = {
1085
1094
  key: 5,
1086
1095
  class: "vue-data-ui-watermark"
1087
- }, qa = ["onClick"], Xa = {
1096
+ }, qi = ["onClick"], Xi = {
1088
1097
  key: 0,
1089
1098
  viewBox: "0 0 20 12",
1090
1099
  height: "14",
1091
1100
  width: "20"
1092
- }, Ua = ["stroke", "fill"], Za = {
1101
+ }, Ui = ["stroke", "fill"], Zi = {
1093
1102
  key: 1,
1094
1103
  viewBox: "0 0 40 40",
1095
1104
  height: "14",
1096
1105
  width: "14"
1097
- }, Ja = ["fill"], Ka = ["fill"], Qa = {
1106
+ }, Ji = ["fill"], Qi = ["fill"], Ki = {
1098
1107
  key: 2,
1099
1108
  viewBox: "0 0 12 12",
1100
1109
  height: "14",
1101
1110
  width: "14"
1102
- }, ja = {
1111
+ }, ji = {
1103
1112
  key: 9,
1104
1113
  ref: "chartLegend"
1105
- }, $a = {
1114
+ }, $i = {
1106
1115
  key: 10,
1107
1116
  ref: "source",
1108
1117
  dir: "auto"
@@ -1110,32 +1119,32 @@ const Ue = J(), Ze = {
1110
1119
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1111
1120
  "data-html2canvas-ignore": ""
1112
1121
  }, tr = ["innerHTML"];
1113
- function ar(a, s, o, u, t, e) {
1114
- const x = T("PenAndPaper"), A = T("Title"), w = T("UserOptions"), N = T("PackageVersion"), b = T("Shape"), V = T("Skeleton"), v = T("Slicer"), z = T("Tooltip"), O = T("BaseIcon"), _ = T("TableSparkline"), C = T("DataTable"), M = T("Accordion");
1115
- return l(), i("div", {
1122
+ function ir(i, l, o, d, t, e) {
1123
+ const N = R("PenAndPaper"), _ = R("Title"), O = R("UserOptions"), I = R("PackageVersion"), b = R("Shape"), V = R("Skeleton"), v = R("Slicer"), z = R("Tooltip"), G = R("BaseIcon"), F = R("TableSparkline"), C = R("DataTable"), T = R("Accordion");
1124
+ return a(), s("div", {
1116
1125
  id: `vue-ui-xy_${t.uniqueId}`,
1117
- class: P(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1126
+ class: D(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1118
1127
  ref: "chart",
1119
1128
  style: L(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`),
1120
- onMouseenter: s[7] || (s[7] = () => e.setUserOptionsVisibility(!0)),
1121
- onMouseleave: s[8] || (s[8] = () => e.setUserOptionsVisibility(!1))
1129
+ onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
1130
+ onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
1122
1131
  }, [
1123
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (l(), D(x, {
1132
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), B(N, {
1124
1133
  key: 0,
1125
- parent: a.$refs.chart,
1134
+ parent: i.$refs.chart,
1126
1135
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1127
1136
  color: e.FINAL_CONFIG.chart.color,
1128
1137
  active: t.isAnnotator,
1129
1138
  onClose: e.toggleAnnotator
1130
1139
  }, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : c("", !0),
1131
- e.hasOptionsNoTitle ? (l(), i("div", Ke, null, 512)) : c("", !0),
1132
- e.FINAL_CONFIG.chart.title.show ? (l(), i("div", {
1140
+ e.hasOptionsNoTitle ? (a(), s("div", je, null, 512)) : c("", !0),
1141
+ e.FINAL_CONFIG.chart.title.show ? (a(), s("div", {
1133
1142
  key: 2,
1134
1143
  ref: "chartTitle",
1135
1144
  class: "vue-ui-xy-title",
1136
1145
  style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1137
1146
  }, [
1138
- (l(), D(A, {
1147
+ (a(), B(_, {
1139
1148
  key: `title_${t.titleStep}`,
1140
1149
  config: {
1141
1150
  title: {
@@ -1149,7 +1158,7 @@ function ar(a, s, o, u, t, e) {
1149
1158
  }
1150
1159
  }, null, 8, ["config"]))
1151
1160
  ], 4)) : c("", !0),
1152
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (l(), D(w, {
1161
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), B(O, {
1153
1162
  ref: "defails",
1154
1163
  key: `user_options_${t.step}`,
1155
1164
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1167,7 +1176,7 @@ function ar(a, s, o, u, t, e) {
1167
1176
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1168
1177
  isStacked: t.mutableConfig.isStacked,
1169
1178
  isFullscreen: t.isFullscreen,
1170
- chartElement: a.$refs.chart,
1179
+ chartElement: i.$refs.chart,
1171
1180
  position: e.FINAL_CONFIG.chart.userOptions.position,
1172
1181
  isTooltip: t.mutableConfig.showTooltip,
1173
1182
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
@@ -1185,81 +1194,81 @@ function ar(a, s, o, u, t, e) {
1185
1194
  style: L({
1186
1195
  visibility: t.keepUserOptionState ? t.userOptionsVisible ? "visible" : "hidden" : "visible"
1187
1196
  })
1188
- }, Be({ _: 2 }, [
1189
- a.$slots.optionTooltip ? {
1197
+ }, Ee({ _: 2 }, [
1198
+ i.$slots.optionTooltip ? {
1190
1199
  name: "optionTooltip",
1191
- fn: p(() => [
1192
- S(a.$slots, "optionTooltip", {}, void 0, !0)
1200
+ fn: P(() => [
1201
+ k(i.$slots, "optionTooltip", {}, void 0, !0)
1193
1202
  ]),
1194
1203
  key: "0"
1195
1204
  } : void 0,
1196
- a.$slots.optionPdf ? {
1205
+ i.$slots.optionPdf ? {
1197
1206
  name: "optionPdf",
1198
- fn: p(() => [
1199
- S(a.$slots, "optionPdf", {}, void 0, !0)
1207
+ fn: P(() => [
1208
+ k(i.$slots, "optionPdf", {}, void 0, !0)
1200
1209
  ]),
1201
1210
  key: "1"
1202
1211
  } : void 0,
1203
- a.$slots.optionCsv ? {
1212
+ i.$slots.optionCsv ? {
1204
1213
  name: "optionCsv",
1205
- fn: p(() => [
1206
- S(a.$slots, "optionCsv", {}, void 0, !0)
1214
+ fn: P(() => [
1215
+ k(i.$slots, "optionCsv", {}, void 0, !0)
1207
1216
  ]),
1208
1217
  key: "2"
1209
1218
  } : void 0,
1210
- a.$slots.optionImg ? {
1219
+ i.$slots.optionImg ? {
1211
1220
  name: "optionImg",
1212
- fn: p(() => [
1213
- S(a.$slots, "optionImg", {}, void 0, !0)
1221
+ fn: P(() => [
1222
+ k(i.$slots, "optionImg", {}, void 0, !0)
1214
1223
  ]),
1215
1224
  key: "3"
1216
1225
  } : void 0,
1217
- a.$slots.optionTable ? {
1226
+ i.$slots.optionTable ? {
1218
1227
  name: "optionTable",
1219
- fn: p(() => [
1220
- S(a.$slots, "optionTable", {}, void 0, !0)
1228
+ fn: P(() => [
1229
+ k(i.$slots, "optionTable", {}, void 0, !0)
1221
1230
  ]),
1222
1231
  key: "4"
1223
1232
  } : void 0,
1224
- a.$slots.optionLabels ? {
1233
+ i.$slots.optionLabels ? {
1225
1234
  name: "optionLabels",
1226
- fn: p(() => [
1227
- S(a.$slots, "optionLabels", {}, void 0, !0)
1235
+ fn: P(() => [
1236
+ k(i.$slots, "optionLabels", {}, void 0, !0)
1228
1237
  ]),
1229
1238
  key: "5"
1230
1239
  } : void 0,
1231
- a.$slots.optionStack ? {
1240
+ i.$slots.optionStack ? {
1232
1241
  name: "optionStack",
1233
- fn: p(() => [
1234
- S(a.$slots, "optionStack", {}, void 0, !0)
1242
+ fn: P(() => [
1243
+ k(i.$slots, "optionStack", {}, void 0, !0)
1235
1244
  ]),
1236
1245
  key: "6"
1237
1246
  } : void 0,
1238
- a.$slots.optionFullscreen ? {
1247
+ i.$slots.optionFullscreen ? {
1239
1248
  name: "optionFullscreen",
1240
- fn: p(({ toggleFullscreen: r, isFullscreen: h }) => [
1241
- S(a.$slots, "optionFullscreen", H(B({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1249
+ fn: P(({ toggleFullscreen: r, isFullscreen: h }) => [
1250
+ k(i.$slots, "optionFullscreen", W(E({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1242
1251
  ]),
1243
1252
  key: "7"
1244
1253
  } : void 0,
1245
- a.$slots.optionAnnotator ? {
1254
+ i.$slots.optionAnnotator ? {
1246
1255
  name: "optionAnnotator",
1247
- fn: p(({ toggleAnnotator: r, isAnnotator: h }) => [
1248
- S(a.$slots, "optionAnnotator", H(B({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1256
+ fn: P(({ toggleAnnotator: r, isAnnotator: h }) => [
1257
+ k(i.$slots, "optionAnnotator", W(E({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1249
1258
  ]),
1250
1259
  key: "8"
1251
1260
  } : void 0
1252
1261
  ]), 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", "style"])) : c("", !0),
1253
- e.isDataset ? (l(), i("svg", {
1262
+ e.isDataset ? (a(), s("svg", {
1254
1263
  key: 4,
1255
1264
  xmlns: "http://www.w3.org/2000/svg",
1256
- class: P([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1265
+ class: D([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1257
1266
  width: "100%",
1258
1267
  viewBox: t.viewBox,
1259
1268
  style: L(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1260
1269
  }, [
1261
- q(N),
1262
- a.$slots["chart-background"] ? (l(), i("foreignObject", {
1270
+ q(I),
1271
+ i.$slots["chart-background"] ? (a(), s("foreignObject", {
1263
1272
  key: 0,
1264
1273
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1265
1274
  y: e.drawingArea.top,
@@ -1269,11 +1278,11 @@ function ar(a, s, o, u, t, e) {
1269
1278
  pointerEvents: "none"
1270
1279
  }
1271
1280
  }, [
1272
- S(a.$slots, "chart-background", {}, void 0, !0)
1273
- ], 8, je)) : c("", !0),
1274
- e.maxSeries > 0 ? (l(), i("g", $e, [
1275
- f("g", et, [
1276
- e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (l(), i("line", {
1281
+ k(i.$slots, "chart-background", {}, void 0, !0)
1282
+ ], 8, et)) : c("", !0),
1283
+ e.maxSeries > 0 ? (a(), s("g", tt, [
1284
+ u("g", it, [
1285
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
1277
1286
  key: 0,
1278
1287
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1279
1288
  "stroke-width": "1",
@@ -1282,9 +1291,9 @@ function ar(a, s, o, u, t, e) {
1282
1291
  y1: e.forceValidValue(e.drawingArea.bottom),
1283
1292
  y2: e.forceValidValue(e.drawingArea.bottom),
1284
1293
  "stroke-linecap": "round"
1285
- }, null, 8, tt)) : c("", !0),
1286
- t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), i(I, { key: 2 }, m(e.allScales, (r) => (l(), i("g", null, [
1287
- r.id === t.selectedScale && r.yLabels.length ? (l(!0), i(I, { key: 0 }, m(r.yLabels, (h) => (l(), i("line", {
1294
+ }, null, 8, rt)) : c("", !0),
1295
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(f, { key: 2 }, m(e.allScales, (r) => (a(), s("g", null, [
1296
+ r.id === t.selectedScale && r.yLabels.length ? (a(!0), s(f, { key: 0 }, m(r.yLabels, (h) => (a(), s("line", {
1288
1297
  x1: e.drawingArea.left + e.xPadding,
1289
1298
  x2: e.drawingArea.right - e.xPadding,
1290
1299
  y1: e.forceValidValue(h.y),
@@ -1292,7 +1301,7 @@ function ar(a, s, o, u, t, e) {
1292
1301
  stroke: r.color,
1293
1302
  "stroke-width": 0.5,
1294
1303
  "stroke-linecap": "round"
1295
- }, null, 8, it))), 256)) : r.yLabels.length ? (l(!0), i(I, { key: 1 }, m(r.yLabels, (h) => (l(), i("line", {
1304
+ }, null, 8, nt))), 256)) : r.yLabels.length ? (a(!0), s(f, { key: 1 }, m(r.yLabels, (h) => (a(), s("line", {
1296
1305
  x1: e.drawingArea.left + e.xPadding,
1297
1306
  x2: e.drawingArea.right - e.xPadding,
1298
1307
  y1: e.forceValidValue(h.y),
@@ -1300,9 +1309,9 @@ function ar(a, s, o, u, t, e) {
1300
1309
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1301
1310
  "stroke-width": 0.5,
1302
1311
  "stroke-linecap": "round"
1303
- }, null, 8, st))), 256)) : c("", !0)
1304
- ]))), 256)) : c("", !0) : (l(), i(I, { key: 1 }, [
1305
- e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (l(), i("line", {
1312
+ }, null, 8, ht))), 256)) : c("", !0)
1313
+ ]))), 256)) : c("", !0) : (a(), s(f, { key: 1 }, [
1314
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
1306
1315
  key: 0,
1307
1316
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1308
1317
  "stroke-width": "1",
@@ -1312,8 +1321,8 @@ function ar(a, s, o, u, t, e) {
1312
1321
  y2: e.forceValidValue(e.drawingArea.bottom),
1313
1322
  "stroke-linecap": "round"
1314
1323
  }, null, 8, at)) : c("", !0),
1315
- e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), i("g", rt, [
1316
- (l(!0), i(I, null, m(e.yLabels, (r) => (l(), i("line", {
1324
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", lt, [
1325
+ (a(!0), s(f, null, m(e.yLabels, (r) => (a(), s("line", {
1317
1326
  x1: e.drawingArea.left + e.xPadding,
1318
1327
  x2: e.drawingArea.right - e.xPadding,
1319
1328
  y1: e.forceValidValue(r.y),
@@ -1321,11 +1330,11 @@ function ar(a, s, o, u, t, e) {
1321
1330
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1322
1331
  "stroke-width": 0.5,
1323
1332
  "stroke-linecap": "round"
1324
- }, null, 8, lt))), 256))
1333
+ }, null, 8, st))), 256))
1325
1334
  ])) : c("", !0)
1326
1335
  ], 64)),
1327
- e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), i("g", nt, [
1328
- (l(!0), i(I, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, h) => (l(), i("line", {
1336
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", ot, [
1337
+ (a(!0), s(f, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, h) => (a(), s("line", {
1329
1338
  key: `grid_vertical_line_${h}`,
1330
1339
  x1: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1331
1340
  x2: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
@@ -1333,53 +1342,53 @@ function ar(a, s, o, u, t, e) {
1333
1342
  y2: e.forceValidValue(e.drawingArea.bottom),
1334
1343
  "stroke-width": "0.5",
1335
1344
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1336
- }, null, 8, ht))), 128))
1345
+ }, null, 8, ct))), 128))
1337
1346
  ])) : c("", !0)
1338
1347
  ]),
1339
- (l(!0), i(I, null, m(e.barSet, (r, h) => (l(), i("defs", {
1348
+ (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("defs", {
1340
1349
  key: `def_rect_${h}`
1341
1350
  }, [
1342
- f("linearGradient", {
1351
+ u("linearGradient", {
1343
1352
  id: `rectGradient_pos_${h}_${t.uniqueId}`,
1344
1353
  x2: "0%",
1345
1354
  y2: "100%"
1346
1355
  }, [
1347
- f("stop", {
1356
+ u("stop", {
1348
1357
  offset: "0%",
1349
1358
  "stop-color": r.color
1350
- }, null, 8, ct),
1351
- f("stop", {
1359
+ }, null, 8, ut),
1360
+ u("stop", {
1352
1361
  offset: "62%",
1353
1362
  "stop-color": `${e.shiftHue(r.color, 0.02)}`
1354
- }, null, 8, dt),
1355
- f("stop", {
1363
+ }, null, 8, gt),
1364
+ u("stop", {
1356
1365
  offset: "100%",
1357
1366
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1358
- }, null, 8, ut)
1359
- ], 8, ot),
1360
- f("linearGradient", {
1367
+ }, null, 8, ft)
1368
+ ], 8, dt),
1369
+ u("linearGradient", {
1361
1370
  id: `rectGradient_neg_${h}_${t.uniqueId}`,
1362
1371
  x2: "0%",
1363
1372
  y2: "100%"
1364
1373
  }, [
1365
- f("stop", {
1374
+ u("stop", {
1366
1375
  offset: "0%",
1367
1376
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1368
- }, null, 8, ft),
1369
- f("stop", {
1377
+ }, null, 8, mt),
1378
+ u("stop", {
1370
1379
  offset: "38%",
1371
1380
  "stop-color": `${e.shiftHue(r.color, 0.02)}`
1372
- }, null, 8, It),
1373
- f("stop", {
1381
+ }, null, 8, Nt),
1382
+ u("stop", {
1374
1383
  offset: "100%",
1375
1384
  "stop-color": r.color
1376
- }, null, 8, mt)
1377
- ], 8, gt)
1385
+ }, null, 8, xt)
1386
+ ], 8, It)
1378
1387
  ]))), 128)),
1379
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("defs", {
1388
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("defs", {
1380
1389
  key: `def_plot_${h}`
1381
1390
  }, [
1382
- f("radialGradient", {
1391
+ u("radialGradient", {
1383
1392
  id: `plotGradient_${h}_${t.uniqueId}`,
1384
1393
  cx: "50%",
1385
1394
  cy: "50%",
@@ -1387,20 +1396,20 @@ function ar(a, s, o, u, t, e) {
1387
1396
  fx: "50%",
1388
1397
  fy: "50%"
1389
1398
  }, [
1390
- f("stop", {
1399
+ u("stop", {
1391
1400
  offset: "0%",
1392
1401
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1393
- }, null, 8, xt),
1394
- f("stop", {
1402
+ }, null, 8, Ft),
1403
+ u("stop", {
1395
1404
  offset: "100%",
1396
1405
  "stop-color": r.color
1397
- }, null, 8, bt)
1398
- ], 8, Nt)
1406
+ }, null, 8, _t)
1407
+ ], 8, bt)
1399
1408
  ]))), 128)),
1400
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("defs", {
1409
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("defs", {
1401
1410
  key: `def_line_${h}`
1402
1411
  }, [
1403
- f("radialGradient", {
1412
+ u("radialGradient", {
1404
1413
  id: `lineGradient_${h}_${t.uniqueId}`,
1405
1414
  cx: "50%",
1406
1415
  cy: "50%",
@@ -1408,35 +1417,35 @@ function ar(a, s, o, u, t, e) {
1408
1417
  fx: "50%",
1409
1418
  fy: "50%"
1410
1419
  }, [
1411
- f("stop", {
1420
+ u("stop", {
1412
1421
  offset: "0%",
1413
1422
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1414
- }, null, 8, _t),
1415
- f("stop", {
1423
+ }, null, 8, yt),
1424
+ u("stop", {
1416
1425
  offset: "100%",
1417
1426
  "stop-color": r.color
1418
- }, null, 8, At)
1419
- ], 8, Ft),
1420
- f("linearGradient", {
1427
+ }, null, 8, Lt)
1428
+ ], 8, At),
1429
+ u("linearGradient", {
1421
1430
  id: `areaGradient_${h}_${t.uniqueId}`,
1422
1431
  x1: "0%",
1423
1432
  x2: "100%",
1424
1433
  y1: "0%",
1425
1434
  y2: "0%"
1426
1435
  }, [
1427
- f("stop", {
1436
+ u("stop", {
1428
1437
  offset: "0%",
1429
1438
  "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1430
- }, null, 8, Lt),
1431
- f("stop", {
1439
+ }, null, 8, St),
1440
+ u("stop", {
1432
1441
  offset: "100%",
1433
1442
  "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1434
- }, null, 8, Ct)
1435
- ], 8, yt)
1443
+ }, null, 8, kt)
1444
+ ], 8, Ct)
1436
1445
  ]))), 128)),
1437
- (l(!0), i(I, null, m(e.highlightAreas, (r) => (l(), i("g", null, [
1438
- r.show ? (l(!0), i(I, { key: 0 }, m(r.span, (h, n) => (l(), i("g", null, [
1439
- f("rect", {
1446
+ (a(!0), s(f, null, m(e.highlightAreas, (r) => (a(), s("g", null, [
1447
+ r.show ? (a(!0), s(f, { key: 0 }, m(r.span, (h, n) => (a(), s("g", null, [
1448
+ u("rect", {
1440
1449
  style: L({
1441
1450
  transition: "none",
1442
1451
  opacity: r.from + n >= t.slicer.start && r.from + n <= t.slicer.end - 1 ? 1 : 0
@@ -1446,8 +1455,8 @@ function ar(a, s, o, u, t, e) {
1446
1455
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1447
1456
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1448
1457
  fill: e.setOpacity(r.color, r.opacity)
1449
- }, null, 12, St),
1450
- r.caption.text && n === 0 ? (l(), i("foreignObject", {
1458
+ }, null, 12, wt),
1459
+ r.caption.text && n === 0 ? (a(), s("foreignObject", {
1451
1460
  key: 0,
1452
1461
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (r.from + n - t.slicer.start) - (r.caption.width === "auto" ? 0 : r.caption.width / 2 - e.drawingArea.width / e.maxSeries * r.span / 2),
1453
1462
  y: e.drawingArea.top + r.caption.offsetY,
@@ -1458,34 +1467,34 @@ function ar(a, s, o, u, t, e) {
1458
1467
  height: "1",
1459
1468
  width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1460
1469
  }, [
1461
- f("div", {
1470
+ u("div", {
1462
1471
  style: L(`padding:${r.caption.padding}px;text-align:${r.caption.textAlign};font-size:${r.caption.fontSize}px;color:${r.caption.color};font-weight:${r.caption.bold ? "bold" : "normal"}`)
1463
- }, k(r.caption.text), 5)
1464
- ], 12, kt)) : c("", !0)
1472
+ }, w(r.caption.text), 5)
1473
+ ], 12, Ot)) : c("", !0)
1465
1474
  ]))), 256)) : c("", !0)
1466
1475
  ]))), 256)),
1467
- f("g", null, [
1468
- (l(!0), i(I, null, m(e.maxSeries, (r, h) => (l(), i("g", {
1476
+ u("g", null, [
1477
+ (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
1469
1478
  key: `tooltip_trap_highlighter_${h}`
1470
1479
  }, [
1471
- f("rect", {
1480
+ u("rect", {
1472
1481
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
1473
1482
  y: e.drawingArea.top,
1474
1483
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1475
1484
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1476
1485
  fill: [t.selectedMinimapIndex, t.selectedSerieIndex, t.selectedRowIndex].includes(h) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1477
- }, null, 8, wt)
1486
+ }, null, 8, Gt)
1478
1487
  ]))), 128))
1479
1488
  ]),
1480
- e.barSet.length ? (l(!0), i(I, { key: 0 }, m(e.barSet, (r, h) => (l(), i("g", {
1489
+ e.barSet.length ? (a(!0), s(f, { key: 0 }, m(e.barSet, (r, h) => (a(), s("g", {
1481
1490
  key: `serie_bar_${h}`,
1482
- class: P(`serie_bar_${h}`),
1491
+ class: D(`serie_bar_${h}`),
1483
1492
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1484
1493
  }, [
1485
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1486
- key: `bar_plot_${h}_${d}`
1494
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1495
+ key: `bar_plot_${h}_${g}`
1487
1496
  }, [
1488
- e.canShowValue(n.value) ? (l(), i("rect", {
1497
+ e.canShowValue(n.value) ? (a(), s("rect", {
1489
1498
  key: 0,
1490
1499
  x: e.calcRectX(n),
1491
1500
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1495,8 +1504,8 @@ function ar(a, s, o, u, t, e) {
1495
1504
  fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : r.color,
1496
1505
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1497
1506
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1498
- }, null, 8, Ot)) : c("", !0),
1499
- e.canShowValue(n.value) && a.$slots.pattern ? (l(), i("rect", {
1507
+ }, null, 8, vt)) : c("", !0),
1508
+ e.canShowValue(n.value) && i.$slots.pattern ? (a(), s("rect", {
1500
1509
  key: 1,
1501
1510
  x: e.calcRectX(n),
1502
1511
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1506,8 +1515,8 @@ function ar(a, s, o, u, t, e) {
1506
1515
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`,
1507
1516
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1508
1517
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1509
- }, null, 8, Gt)) : c("", !0),
1510
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), i("foreignObject", {
1518
+ }, null, 8, zt)) : c("", !0),
1519
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1511
1520
  key: 2,
1512
1521
  style: { overflow: "visible" },
1513
1522
  height: "12",
@@ -1515,14 +1524,14 @@ function ar(a, s, o, u, t, e) {
1515
1524
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1516
1525
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1517
1526
  }, [
1518
- S(a.$slots, "plot-comment", {
1519
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1527
+ k(i.$slots, "plot-comment", {
1528
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1520
1529
  }, void 0, !0)
1521
- ], 8, vt)) : c("", !0)
1530
+ ], 8, Mt)) : c("", !0)
1522
1531
  ]))), 128)),
1523
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (l(), i("g", zt, [
1524
- f("defs", null, [
1525
- f("marker", {
1532
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", pt, [
1533
+ u("defs", null, [
1534
+ u("marker", {
1526
1535
  id: `bar_arrow_${h}`,
1527
1536
  markerWidth: 7,
1528
1537
  markerHeight: 7,
@@ -1530,13 +1539,13 @@ function ar(a, s, o, u, t, e) {
1530
1539
  refY: 7 / 2,
1531
1540
  orient: "auto"
1532
1541
  }, [
1533
- f("polygon", {
1542
+ u("polygon", {
1534
1543
  points: `0 0, 7 ${7 / 2}, 0 7`,
1535
1544
  fill: r.color
1536
- }, null, 8, pt)
1537
- ], 8, Mt)
1545
+ }, null, 8, Pt)
1546
+ ], 8, Tt)
1538
1547
  ]),
1539
- r.plots.length > 1 ? (l(), i("line", {
1548
+ r.plots.length > 1 ? (a(), s("line", {
1540
1549
  key: 0,
1541
1550
  x1: e.calcLinearProgression(r.plots).x1,
1542
1551
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1547,21 +1556,21 @@ function ar(a, s, o, u, t, e) {
1547
1556
  "stroke-dasharray": 2,
1548
1557
  "marker-end": `url(#bar_arrow_${h})`
1549
1558
  }, null, 8, Vt)) : c("", !0),
1550
- r.plots.length > 1 ? (l(), i("text", {
1559
+ r.plots.length > 1 ? (a(), s("text", {
1551
1560
  key: 1,
1552
1561
  "text-anchor": "middle",
1553
1562
  x: e.calcLinearProgression(r.plots).x2,
1554
1563
  y: e.calcLinearProgression(r.plots).y2 - 6,
1555
1564
  "font-size": t.fontSizes.plotLabels,
1556
1565
  fill: r.color
1557
- }, k(e.dataLabel({
1566
+ }, w(e.dataLabel({
1558
1567
  v: e.calcLinearProgression(r.plots).trend * 100,
1559
1568
  s: "%",
1560
1569
  r: 2
1561
- })), 9, Tt)) : c("", !0)
1570
+ })), 9, Rt)) : c("", !0)
1562
1571
  ])) : c("", !0)
1563
1572
  ], 6))), 128)) : c("", !0),
1564
- !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), i("line", {
1573
+ !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (a(), s("line", {
1565
1574
  key: 1,
1566
1575
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1567
1576
  "stroke-width": "1",
@@ -1570,9 +1579,9 @@ function ar(a, s, o, u, t, e) {
1570
1579
  y1: e.forceValidValue(e.zero),
1571
1580
  y2: e.forceValidValue(e.zero),
1572
1581
  "stroke-linecap": "round"
1573
- }, null, 8, Pt)) : c("", !0),
1574
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (l(), i("g", Rt, [
1575
- f("line", {
1582
+ }, null, 8, Dt)) : c("", !0),
1583
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Ht, [
1584
+ u("line", {
1576
1585
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1577
1586
  x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
1578
1587
  y1: e.forceValidValue(e.drawingArea.top),
@@ -1582,9 +1591,9 @@ function ar(a, s, o, u, t, e) {
1582
1591
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1583
1592
  "stroke-linecap": "round",
1584
1593
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1585
- }, null, 8, Dt)
1594
+ }, null, 8, Bt)
1586
1595
  ])) : c("", !0),
1587
- e.FINAL_CONFIG.chart.grid.frame.show ? (l(), i("rect", {
1596
+ e.FINAL_CONFIG.chart.grid.frame.show ? (a(), s("rect", {
1588
1597
  key: 3,
1589
1598
  style: { pointerEvents: "none", transition: "none" },
1590
1599
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1597,11 +1606,11 @@ function ar(a, s, o, u, t, e) {
1597
1606
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1598
1607
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1599
1608
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1600
- }, null, 8, Ht)) : c("", !0),
1601
- e.FINAL_CONFIG.chart.grid.labels.show ? (l(), i("g", Bt, [
1602
- t.mutableConfig.useIndividualScale ? (l(), i(I, { key: 0 }, [
1603
- (l(!0), i(I, null, m(e.allScales, (r) => (l(), i("g", null, [
1604
- f("line", {
1609
+ }, null, 8, Wt)) : c("", !0),
1610
+ e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", Et, [
1611
+ t.mutableConfig.useIndividualScale ? (a(), s(f, { key: 0 }, [
1612
+ (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", null, [
1613
+ u("line", {
1605
1614
  x1: r.x + e.xPadding,
1606
1615
  x2: r.x + e.xPadding,
1607
1616
  y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
@@ -1610,18 +1619,18 @@ function ar(a, s, o, u, t, e) {
1610
1619
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1611
1620
  "stroke-linecap": "round",
1612
1621
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1613
- }, null, 12, Wt)
1622
+ }, null, 12, Yt)
1614
1623
  ]))), 256)),
1615
- (l(!0), i(I, null, m(e.allScales, (r) => (l(), i("g", {
1624
+ (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", {
1616
1625
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1617
1626
  }, [
1618
- f("text", {
1627
+ u("text", {
1619
1628
  fill: r.color,
1620
1629
  "font-size": t.fontSizes.dataLabels,
1621
1630
  "text-anchor": "middle",
1622
1631
  transform: `translate(${r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5 + e.xPadding}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset - r.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1623
- }, k(r.name) + " " + k(r.scaleLabel ? `- ${r.scaleLabel}` : ""), 9, Et),
1624
- (l(!0), i(I, null, m(r.yLabels, (h, n) => (l(), i("line", {
1632
+ }, w(r.name) + " " + w(r.scaleLabel ? `- ${r.scaleLabel}` : ""), 9, qt),
1633
+ (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("line", {
1625
1634
  x1: r.x - 3 + e.xPadding,
1626
1635
  x2: r.x + e.xPadding,
1627
1636
  y1: e.forceValidValue(h.y),
@@ -1629,14 +1638,14 @@ function ar(a, s, o, u, t, e) {
1629
1638
  stroke: r.color,
1630
1639
  "stroke-width": 1,
1631
1640
  "stroke-linecap": "round"
1632
- }, null, 8, Yt))), 256)),
1633
- (l(!0), i(I, null, m(r.yLabels, (h, n) => (l(), i("text", {
1641
+ }, null, 8, Xt))), 256)),
1642
+ (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("text", {
1634
1643
  x: r.x - 5 + e.xPadding,
1635
1644
  y: e.forceValidValue(h.y) + t.fontSizes.dataLabels / 3,
1636
1645
  "font-size": t.fontSizes.dataLabels,
1637
1646
  "text-anchor": "end",
1638
1647
  fill: r.color
1639
- }, k(e.applyDataLabel(
1648
+ }, w(e.applyDataLabel(
1640
1649
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1641
1650
  h.value,
1642
1651
  e.dataLabel({
@@ -1646,12 +1655,12 @@ function ar(a, s, o, u, t, e) {
1646
1655
  r: 1
1647
1656
  }),
1648
1657
  { datapoint: h.datapoint, seriesIndex: n }
1649
- )), 9, qt))), 256))
1658
+ )), 9, Ut))), 256))
1650
1659
  ], 4))), 256))
1651
- ], 64)) : (l(!0), i(I, { key: 1 }, m(e.yLabels, (r, h) => (l(), i("g", {
1660
+ ], 64)) : (a(!0), s(f, { key: 1 }, m(e.yLabels, (r, h) => (a(), s("g", {
1652
1661
  key: `yLabel_${h}`
1653
1662
  }, [
1654
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (l(), i("line", {
1663
+ e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("line", {
1655
1664
  key: 0,
1656
1665
  x1: e.drawingArea.left + e.xPadding,
1657
1666
  x2: e.drawingArea.left - 5 + e.xPadding,
@@ -1660,15 +1669,15 @@ function ar(a, s, o, u, t, e) {
1660
1669
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1661
1670
  "stroke-width": "1",
1662
1671
  "stroke-linecap": "round"
1663
- }, null, 8, Xt)) : c("", !0),
1664
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (l(), i("text", {
1672
+ }, null, 8, Zt)) : c("", !0),
1673
+ r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("text", {
1665
1674
  key: 1,
1666
1675
  x: e.drawingArea.left - 7 + e.xPadding,
1667
1676
  y: e.checkNaN(r.y + t.fontSizes.dataLabels / 3),
1668
1677
  "font-size": t.fontSizes.dataLabels,
1669
1678
  "text-anchor": "end",
1670
1679
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1671
- }, k(e.canShowValue(r.value) ? e.applyDataLabel(
1680
+ }, w(e.canShowValue(r.value) ? e.applyDataLabel(
1672
1681
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1673
1682
  r.value,
1674
1683
  e.dataLabel({
@@ -1677,27 +1686,27 @@ function ar(a, s, o, u, t, e) {
1677
1686
  s: r.suffix,
1678
1687
  r: 1
1679
1688
  })
1680
- ) : ""), 9, Ut)) : c("", !0)
1689
+ ) : ""), 9, Jt)) : c("", !0)
1681
1690
  ]))), 128))
1682
1691
  ])) : c("", !0),
1683
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("g", {
1692
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1684
1693
  key: `serie_plot_${h}`,
1685
- class: P(`serie_plot_${h}`),
1694
+ class: D(`serie_plot_${h}`),
1686
1695
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1687
1696
  }, [
1688
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1689
- key: `circle_plot_${h}_${d}`
1697
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1698
+ key: `circle_plot_${h}_${g}`
1690
1699
  }, [
1691
- n && e.canShowValue(n.value) ? (l(), D(b, {
1700
+ n && e.canShowValue(n.value) ? (a(), B(b, {
1692
1701
  key: 0,
1693
1702
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1694
1703
  color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? r.color : e.FINAL_CONFIG.plot.dot.fill,
1695
1704
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1696
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1705
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1697
1706
  stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1698
1707
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1699
1708
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1700
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), i("foreignObject", {
1709
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1701
1710
  key: 1,
1702
1711
  style: { overflow: "visible" },
1703
1712
  height: "12",
@@ -1705,16 +1714,16 @@ function ar(a, s, o, u, t, e) {
1705
1714
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1706
1715
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1707
1716
  }, [
1708
- f("div", Jt, [
1709
- S(a.$slots, "plot-comment", {
1710
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1717
+ u("div", Kt, [
1718
+ k(i.$slots, "plot-comment", {
1719
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1711
1720
  }, void 0, !0)
1712
1721
  ])
1713
- ], 8, Zt)) : c("", !0)
1722
+ ], 8, Qt)) : c("", !0)
1714
1723
  ]))), 128)),
1715
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (l(), i("g", Kt, [
1716
- f("defs", null, [
1717
- f("marker", {
1724
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", jt, [
1725
+ u("defs", null, [
1726
+ u("marker", {
1718
1727
  id: `plot_arrow_${h}`,
1719
1728
  markerWidth: 7,
1720
1729
  markerHeight: 7,
@@ -1722,13 +1731,13 @@ function ar(a, s, o, u, t, e) {
1722
1731
  refY: 7 / 2,
1723
1732
  orient: "auto"
1724
1733
  }, [
1725
- f("polygon", {
1734
+ u("polygon", {
1726
1735
  points: `0 0, 7 ${7 / 2}, 0 7`,
1727
1736
  fill: r.color
1728
- }, null, 8, jt)
1729
- ], 8, Qt)
1737
+ }, null, 8, ei)
1738
+ ], 8, $t)
1730
1739
  ]),
1731
- r.plots.length > 1 ? (l(), i("line", {
1740
+ r.plots.length > 1 ? (a(), s("line", {
1732
1741
  key: 0,
1733
1742
  x1: e.calcLinearProgression(r.plots).x1,
1734
1743
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1738,123 +1747,108 @@ function ar(a, s, o, u, t, e) {
1738
1747
  stroke: r.color,
1739
1748
  "stroke-dasharray": 2,
1740
1749
  "marker-end": `url(#plot_arrow_${h})`
1741
- }, null, 8, $t)) : c("", !0),
1742
- r.plots.length > 1 ? (l(), i("text", {
1750
+ }, null, 8, ti)) : c("", !0),
1751
+ r.plots.length > 1 ? (a(), s("text", {
1743
1752
  key: 1,
1744
1753
  "text-anchor": "middle",
1745
1754
  x: e.calcLinearProgression(r.plots).x2,
1746
1755
  y: e.calcLinearProgression(r.plots).y2 - 6,
1747
1756
  "font-size": t.fontSizes.plotLabels,
1748
1757
  fill: r.color
1749
- }, k(e.dataLabel({
1758
+ }, w(e.dataLabel({
1750
1759
  v: e.calcLinearProgression(r.plots).trend * 100,
1751
1760
  s: "%",
1752
1761
  r: 2
1753
- })), 9, ea)) : c("", !0)
1762
+ })), 9, ii)) : c("", !0)
1754
1763
  ])) : c("", !0)
1755
1764
  ], 6))), 128)),
1756
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
1765
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1757
1766
  key: `serie_line_${h}`,
1758
- class: P(`serie_line_${h}`),
1767
+ class: D(`serie_line_${h}`),
1759
1768
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1760
1769
  }, [
1761
- r.smooth && r.plots.length > 1 ? (l(), i("path", {
1770
+ r.smooth && r.plots.length > 1 ? (a(), s("path", {
1762
1771
  key: 0,
1763
1772
  d: `M${r.curve}`,
1764
1773
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1765
1774
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1766
1775
  "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1767
1776
  fill: "none"
1768
- }, null, 8, ta)) : r.plots.length > 1 ? (l(), i("g", aa, [
1769
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1770
- key: `line_${h}_${d}`
1771
- }, [
1772
- n && d < r.plots.length - 1 && r.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(r.plots[d + 1].value) ? (l(), i("line", {
1773
- key: 0,
1774
- x1: n.x,
1775
- x2: r.plots[d + 1].x,
1776
- y1: e.forceValidValue(n.y),
1777
- y2: e.forceValidValue(r.plots[d + 1].y),
1778
- stroke: e.FINAL_CONFIG.chart.backgroundColor,
1779
- "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1780
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1781
- "stroke-linejoin": "round",
1782
- "stroke-linecap": "round"
1783
- }, null, 8, ra)) : c("", !0)
1784
- ]))), 128))
1785
- ])) : c("", !0)
1777
+ }, null, 8, ri)) : r.plots.length > 1 ? (a(), s("path", {
1778
+ key: 1,
1779
+ d: `M${r.straight}`,
1780
+ stroke: e.FINAL_CONFIG.chart.backgroundColor,
1781
+ "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1782
+ "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1783
+ fill: "none",
1784
+ "stroke-linecap": "round",
1785
+ "stroke-linejoin": "round"
1786
+ }, null, 8, ai)) : c("", !0)
1786
1787
  ], 6))), 128)),
1787
- a.$slots.pattern ? (l(), i("defs", la, [
1788
- (l(!0), i(I, null, m(e.safeDataset, (r, h) => S(a.$slots, "pattern", We({
1788
+ i.$slots.pattern ? (a(), s("defs", li, [
1789
+ (a(!0), s(f, null, m(e.safeDataset, (r, h) => k(i.$slots, "pattern", Ye({
1789
1790
  key: `serie_pattern_slot_${h}`
1790
1791
  }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1791
1792
  ])) : c("", !0),
1792
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
1793
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1793
1794
  key: `serie_line_${h}`,
1794
- class: P(`serie_line_${h}`),
1795
+ class: D(`serie_line_${h}`),
1795
1796
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1796
1797
  }, [
1797
- r.useArea && r.plots.length > 1 ? (l(), i("g", ia, [
1798
- r.smooth ? (l(), i(I, { key: 0 }, [
1799
- f("path", {
1798
+ r.useArea && r.plots.length > 1 ? (a(), s("g", si, [
1799
+ r.smooth ? (a(), s(f, { key: 0 }, [
1800
+ u("path", {
1800
1801
  d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} ${r.curve} L ${r.plots.at(-1) ? r.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1801
1802
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1802
- }, null, 8, sa),
1803
- a.$slots.pattern ? (l(), i("path", {
1803
+ }, null, 8, ni),
1804
+ i.$slots.pattern ? (a(), s("path", {
1804
1805
  key: 0,
1805
1806
  d: `M ${r.plots[0] ? r.plots[0].x : Math.min(...r.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} ${r.curve} L ${r.plots.at(-1) ? r.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - r.yOffset : e.drawingArea.bottom} Z`,
1806
1807
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1807
- }, null, 8, na)) : c("", !0)
1808
- ], 64)) : (l(), i(I, { key: 1 }, [
1809
- f("path", {
1808
+ }, null, 8, hi)) : c("", !0)
1809
+ ], 64)) : (a(), s(f, { key: 1 }, [
1810
+ u("path", {
1810
1811
  d: `M${r.area}Z`,
1811
1812
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${t.uniqueId})` : e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)
1812
- }, null, 8, ha),
1813
- a.$slots.pattern ? (l(), i("path", {
1813
+ }, null, 8, oi),
1814
+ i.$slots.pattern ? (a(), s("path", {
1814
1815
  key: 0,
1815
1816
  d: `M${r.area}Z`,
1816
1817
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1817
- }, null, 8, oa)) : c("", !0)
1818
+ }, null, 8, ci)) : c("", !0)
1818
1819
  ], 64))
1819
1820
  ])) : c("", !0),
1820
- r.smooth && r.plots.length > 1 ? (l(), i("path", {
1821
+ r.smooth && r.plots.length > 1 ? (a(), s("path", {
1821
1822
  key: 1,
1822
1823
  d: `M${r.curve}`,
1823
1824
  stroke: r.color,
1824
1825
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1825
1826
  "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1826
- fill: "none"
1827
- }, null, 8, ca)) : r.plots.length > 1 ? (l(), i("g", da, [
1828
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1829
- key: `line_${h}_${d}`
1830
- }, [
1831
- n && d < r.plots.length - 1 && r.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(r.plots[d + 1].value) ? (l(), i("line", {
1832
- key: 0,
1833
- x1: n.x,
1834
- x2: r.plots[d + 1].x,
1835
- y1: e.forceValidValue(n.y),
1836
- y2: e.forceValidValue(r.plots[d + 1].y),
1837
- stroke: r.color,
1838
- "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1839
- "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1840
- "stroke-linejoin": "round",
1841
- "stroke-linecap": "round"
1842
- }, null, 8, ua)) : c("", !0)
1843
- ]))), 128))
1844
- ])) : c("", !0),
1845
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1846
- key: `circle_line_${h}_${d}`
1827
+ fill: "none",
1828
+ "stroke-linecap": "round"
1829
+ }, null, 8, di)) : r.plots.length > 1 ? (a(), s("path", {
1830
+ key: 2,
1831
+ d: `M${r.straight}`,
1832
+ stroke: r.color,
1833
+ "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1834
+ "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1835
+ fill: "none",
1836
+ "stroke-linecap": "round",
1837
+ "stroke-linejoin": "round"
1838
+ }, null, 8, ui)) : c("", !0),
1839
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1840
+ key: `circle_line_${h}_${g}`
1847
1841
  }, [
1848
- n && e.canShowValue(n.value) ? (l(), D(b, {
1842
+ !e.optimize.linePlot && n && e.canShowValue(n.value) || e.optimize.linePlot && n && e.canShowValue(n.value) && (t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g) ? (a(), B(b, {
1849
1843
  key: 0,
1850
1844
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1851
1845
  color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${h}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? r.color : e.FINAL_CONFIG.line.dot.fill,
1852
1846
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1853
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1847
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1854
1848
  stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1855
1849
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1856
1850
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1857
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), i("foreignObject", {
1851
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1858
1852
  key: 1,
1859
1853
  style: { overflow: "visible" },
1860
1854
  height: "12",
@@ -1862,16 +1856,16 @@ function ar(a, s, o, u, t, e) {
1862
1856
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1863
1857
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1864
1858
  }, [
1865
- f("div", fa, [
1866
- S(a.$slots, "plot-comment", {
1867
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1859
+ u("div", fi, [
1860
+ k(i.$slots, "plot-comment", {
1861
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1868
1862
  }, void 0, !0)
1869
1863
  ])
1870
- ], 8, ga)) : c("", !0)
1864
+ ], 8, gi)) : c("", !0)
1871
1865
  ]))), 128)),
1872
- Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (l(), i("g", Ia, [
1873
- f("defs", null, [
1874
- f("marker", {
1866
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", Ii, [
1867
+ u("defs", null, [
1868
+ u("marker", {
1875
1869
  id: `line_arrow_${h}`,
1876
1870
  markerWidth: 7,
1877
1871
  markerHeight: 7,
@@ -1879,13 +1873,13 @@ function ar(a, s, o, u, t, e) {
1879
1873
  refY: 7 / 2,
1880
1874
  orient: "auto"
1881
1875
  }, [
1882
- f("polygon", {
1876
+ u("polygon", {
1883
1877
  points: `0 0, 7 ${7 / 2}, 0 7`,
1884
1878
  fill: r.color
1885
- }, null, 8, Na)
1886
- ], 8, ma)
1879
+ }, null, 8, Ni)
1880
+ ], 8, mi)
1887
1881
  ]),
1888
- r.plots.length > 1 ? (l(), i("line", {
1882
+ r.plots.length > 1 ? (a(), s("line", {
1889
1883
  key: 0,
1890
1884
  x1: e.calcLinearProgression(r.plots).x1,
1891
1885
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1895,38 +1889,38 @@ function ar(a, s, o, u, t, e) {
1895
1889
  stroke: r.color,
1896
1890
  "stroke-dasharray": 2,
1897
1891
  "marker-end": `url(#line_arrow_${h})`
1898
- }, null, 8, xa)) : c("", !0),
1899
- r.plots.length > 1 ? (l(), i("text", {
1892
+ }, null, 8, xi)) : c("", !0),
1893
+ r.plots.length > 1 ? (a(), s("text", {
1900
1894
  key: 1,
1901
1895
  "text-anchor": "middle",
1902
1896
  x: e.calcLinearProgression(r.plots).x2,
1903
1897
  y: e.calcLinearProgression(r.plots).y2 - 6,
1904
1898
  "font-size": t.fontSizes.plotLabels,
1905
1899
  fill: r.color
1906
- }, k(e.dataLabel({
1900
+ }, w(e.dataLabel({
1907
1901
  v: e.calcLinearProgression(r.plots).trend * 100,
1908
1902
  s: "%",
1909
1903
  r: 2
1910
- })), 9, ba)) : c("", !0)
1904
+ })), 9, bi)) : c("", !0)
1911
1905
  ])) : c("", !0)
1912
1906
  ], 6))), 128)),
1913
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), i("g", Fa, [
1914
- (l(!0), i(I, null, m(e.barSet, (r, h) => (l(), i("g", {
1907
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fi, [
1908
+ (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("g", {
1915
1909
  key: `xLabel_bar_${h}`,
1916
- class: P(`xLabel_bar_${h}`),
1910
+ class: D(`xLabel_bar_${h}`),
1917
1911
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1918
1912
  }, [
1919
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1920
- key: `xLabel_bar_${h}_${d}`
1913
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1914
+ key: `xLabel_bar_${h}_${g}`
1921
1915
  }, [
1922
- n && (!Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d) && e.FINAL_CONFIG.bar.labels.show ? (l(), i("text", {
1916
+ n && (!Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g) && e.FINAL_CONFIG.bar.labels.show ? (a(), s("text", {
1923
1917
  key: 0,
1924
1918
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1925
1919
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1926
1920
  "text-anchor": "middle",
1927
1921
  "font-size": t.fontSizes.plotLabels,
1928
1922
  fill: e.FINAL_CONFIG.bar.labels.color
1929
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1923
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1930
1924
  e.FINAL_CONFIG.bar.labels.formatter,
1931
1925
  n.value,
1932
1926
  e.dataLabel({
@@ -1939,8 +1933,8 @@ function ar(a, s, o, u, t, e) {
1939
1933
  datapoint: n,
1940
1934
  serie: r
1941
1935
  }
1942
- ) : ""), 9, _a)) : c("", !0),
1943
- n && e.FINAL_CONFIG.bar.serieName.show ? (l(), i("text", {
1936
+ ) : ""), 9, _i)) : c("", !0),
1937
+ n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
1944
1938
  key: 1,
1945
1939
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1946
1940
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
@@ -1948,27 +1942,27 @@ function ar(a, s, o, u, t, e) {
1948
1942
  "font-size": t.fontSizes.plotLabels,
1949
1943
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
1950
1944
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1951
- }, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: r.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : r.name), 9, Aa)) : c("", !0)
1945
+ }, w(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: r.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : r.name), 9, Ai)) : c("", !0)
1952
1946
  ]))), 128))
1953
1947
  ], 6))), 128))
1954
1948
  ])) : c("", !0),
1955
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), i("g", ya, [
1956
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("g", {
1949
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yi, [
1950
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1957
1951
  key: `xLabel_plot_${h}`,
1958
- class: P(`xLabel_plot_${h}`),
1952
+ class: D(`xLabel_plot_${h}`),
1959
1953
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1960
1954
  }, [
1961
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1962
- key: `xLabel_plot_${h}_${d}`
1955
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1956
+ key: `xLabel_plot_${h}_${g}`
1963
1957
  }, [
1964
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (l(), i("text", {
1958
+ n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
1965
1959
  key: 0,
1966
1960
  x: n.x,
1967
1961
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1968
1962
  "text-anchor": "middle",
1969
1963
  "font-size": t.fontSizes.plotLabels,
1970
1964
  fill: e.FINAL_CONFIG.plot.labels.color
1971
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1965
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1972
1966
  e.FINAL_CONFIG.plot.labels.formatter,
1973
1967
  n.value,
1974
1968
  e.dataLabel({
@@ -1981,8 +1975,8 @@ function ar(a, s, o, u, t, e) {
1981
1975
  datapoint: n,
1982
1976
  serie: r
1983
1977
  }
1984
- ) : ""), 9, La)) : c("", !0),
1985
- n && d === 0 && r.useTag && r.useTag === "start" ? (l(), i("foreignObject", {
1978
+ ) : ""), 9, Li)) : c("", !0),
1979
+ n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
1986
1980
  key: 1,
1987
1981
  x: n.x,
1988
1982
  y: n.y - 20,
@@ -1990,11 +1984,11 @@ function ar(a, s, o, u, t, e) {
1990
1984
  width: "150",
1991
1985
  style: { overflow: "visible" }
1992
1986
  }, [
1993
- f("div", {
1987
+ u("div", {
1994
1988
  style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1995
- }, k(r.name), 5)
1996
- ], 8, Ca)) : c("", !0),
1997
- n && d === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (l(), i("foreignObject", {
1989
+ }, w(r.name), 5)
1990
+ ], 8, Ci)) : c("", !0),
1991
+ n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
1998
1992
  key: 2,
1999
1993
  x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2000
1994
  y: n.y - 20,
@@ -2002,30 +1996,30 @@ function ar(a, s, o, u, t, e) {
2002
1996
  width: "150",
2003
1997
  style: { overflow: "visible" }
2004
1998
  }, [
2005
- f("div", {
1999
+ u("div", {
2006
2000
  style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2007
- }, k(r.name), 5)
2008
- ], 8, Sa)) : c("", !0)
2001
+ }, w(r.name), 5)
2002
+ ], 8, Si)) : c("", !0)
2009
2003
  ]))), 128))
2010
2004
  ], 6))), 128))
2011
2005
  ])) : c("", !0),
2012
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), i("g", ka, [
2013
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
2006
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", ki, [
2007
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2014
2008
  key: `xLabel_line_${h}`,
2015
- class: P(`xLabel_line_${h}`),
2009
+ class: D(`xLabel_line_${h}`),
2016
2010
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2017
2011
  }, [
2018
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2019
- key: `xLabel_line_${h}_${d}`
2012
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2013
+ key: `xLabel_line_${h}_${g}`
2020
2014
  }, [
2021
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (l(), i("text", {
2015
+ n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
2022
2016
  key: 0,
2023
2017
  x: n.x,
2024
2018
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2025
2019
  "text-anchor": "middle",
2026
2020
  "font-size": t.fontSizes.plotLabels,
2027
2021
  fill: e.FINAL_CONFIG.line.labels.color
2028
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
2022
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2029
2023
  e.FINAL_CONFIG.line.labels.formatter,
2030
2024
  n.value,
2031
2025
  e.dataLabel({
@@ -2038,8 +2032,8 @@ function ar(a, s, o, u, t, e) {
2038
2032
  datapoint: n,
2039
2033
  serie: r
2040
2034
  }
2041
- ) : ""), 9, wa)) : c("", !0),
2042
- n && d === 0 && r.useTag && r.useTag === "start" ? (l(), i("foreignObject", {
2035
+ ) : ""), 9, wi)) : c("", !0),
2036
+ n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
2043
2037
  key: 1,
2044
2038
  x: n.x,
2045
2039
  y: n.y - 20,
@@ -2047,11 +2041,11 @@ function ar(a, s, o, u, t, e) {
2047
2041
  width: "150",
2048
2042
  style: { overflow: "visible" }
2049
2043
  }, [
2050
- f("div", {
2044
+ u("div", {
2051
2045
  style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2052
- }, k(r.name), 5)
2053
- ], 8, Oa)) : c("", !0),
2054
- n && d === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (l(), i("foreignObject", {
2046
+ }, w(r.name), 5)
2047
+ ], 8, Oi)) : c("", !0),
2048
+ n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
2055
2049
  key: 2,
2056
2050
  x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2057
2051
  y: n.y - 20,
@@ -2059,22 +2053,22 @@ function ar(a, s, o, u, t, e) {
2059
2053
  width: "150",
2060
2054
  style: { overflow: "visible" }
2061
2055
  }, [
2062
- f("div", {
2056
+ u("div", {
2063
2057
  style: L(`padding: 3px; background:${e.setOpacity(r.color, 80)};color:${e.adaptColorToBackground(r.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
2064
- }, k(r.name), 5)
2065
- ], 8, Ga)) : c("", !0)
2058
+ }, w(r.name), 5)
2059
+ ], 8, Gi)) : c("", !0)
2066
2060
  ]))), 128))
2067
2061
  ], 6))), 128))
2068
2062
  ])) : c("", !0),
2069
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
2063
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2070
2064
  key: `xLabel_line_${h}`,
2071
- class: P(`xLabel_line_${h}`),
2065
+ class: D(`xLabel_line_${h}`),
2072
2066
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2073
2067
  }, [
2074
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2075
- key: `xLabel_line_${h}_${d}`
2068
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2069
+ key: `xLabel_line_${h}_${g}`
2076
2070
  }, [
2077
- n && d === 0 && r.showSerieName && r.showSerieName === "start" ? (l(), i("text", {
2071
+ n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2078
2072
  key: 0,
2079
2073
  x: n.x - t.fontSizes.plotLabels,
2080
2074
  y: n.y,
@@ -2089,8 +2083,8 @@ function ar(a, s, o, u, t, e) {
2089
2083
  y: n.y,
2090
2084
  maxWords: 2
2091
2085
  })
2092
- }, null, 8, va)) : c("", !0),
2093
- n && d === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (l(), i("text", {
2086
+ }, null, 8, vi)) : c("", !0),
2087
+ n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2094
2088
  key: 1,
2095
2089
  x: n.x + t.fontSizes.plotLabels,
2096
2090
  y: n.y,
@@ -2105,18 +2099,18 @@ function ar(a, s, o, u, t, e) {
2105
2099
  y: n.y,
2106
2100
  maxWords: 2
2107
2101
  })
2108
- }, null, 8, za)) : c("", !0)
2102
+ }, null, 8, zi)) : c("", !0)
2109
2103
  ]))), 128))
2110
2104
  ], 6))), 128)),
2111
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("g", {
2105
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
2112
2106
  key: `xLabel_plot_${h}`,
2113
- class: P(`xLabel_plot_${h}`),
2107
+ class: D(`xLabel_plot_${h}`),
2114
2108
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2115
2109
  }, [
2116
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2117
- key: `xLabel_plot_${h}_${d}`
2110
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2111
+ key: `xLabel_plot_${h}_${g}`
2118
2112
  }, [
2119
- n && d === 0 && r.showSerieName && r.showSerieName === "start" ? (l(), i("text", {
2113
+ n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2120
2114
  key: 0,
2121
2115
  x: n.x - t.fontSizes.plotLabels,
2122
2116
  y: n.y,
@@ -2131,8 +2125,8 @@ function ar(a, s, o, u, t, e) {
2131
2125
  y: n.y,
2132
2126
  maxWords: 2
2133
2127
  })
2134
- }, null, 8, Ma)) : c("", !0),
2135
- n && d === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (l(), i("text", {
2128
+ }, null, 8, Mi)) : c("", !0),
2129
+ n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2136
2130
  key: 1,
2137
2131
  x: n.x + t.fontSizes.plotLabels,
2138
2132
  y: n.y,
@@ -2147,41 +2141,41 @@ function ar(a, s, o, u, t, e) {
2147
2141
  y: n.y,
2148
2142
  maxWords: 2
2149
2143
  })
2150
- }, null, 8, pa)) : c("", !0)
2144
+ }, null, 8, pi)) : c("", !0)
2151
2145
  ]))), 128))
2152
2146
  ], 6))), 128)),
2153
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), i(I, { key: 9 }, m(e.allScales, (r) => (l(), i("rect", {
2147
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(f, { key: 9 }, m(e.allScales, (r) => (a(), s("rect", {
2154
2148
  x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2155
2149
  y: e.drawingArea.top,
2156
2150
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2157
2151
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2158
2152
  fill: t.selectedScale === r.id ? e.setOpacity(r.color, 20) : "transparent",
2159
2153
  onMouseenter: (h) => t.selectedScale = r.id,
2160
- onMouseleave: s[0] || (s[0] = (h) => t.selectedScale = null)
2161
- }, null, 40, Va))), 256)) : c("", !0),
2162
- f("g", null, [
2163
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (l(), i("text", {
2154
+ onMouseleave: l[0] || (l[0] = (h) => t.selectedScale = null)
2155
+ }, null, 40, Ti))), 256)) : c("", !0),
2156
+ u("g", null, [
2157
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (a(), s("text", {
2164
2158
  key: 0,
2165
2159
  "font-size": t.fontSizes.yAxis,
2166
2160
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2167
2161
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2168
2162
  "text-anchor": "middle",
2169
2163
  style: { transition: "none" }
2170
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Ta)) : c("", !0),
2171
- e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (l(), i("text", {
2164
+ }, w(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pi)) : c("", !0),
2165
+ e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
2172
2166
  key: 1,
2173
2167
  "text-anchor": "middle",
2174
2168
  x: t.width / 2,
2175
2169
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2176
2170
  "font-size": t.fontSizes.yAxis,
2177
2171
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2178
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Pa)) : c("", !0)
2172
+ }, w(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vi)) : c("", !0)
2179
2173
  ]),
2180
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), i("g", Ra, [
2181
- a.$slots["time-label"] ? (l(!0), i(I, { key: 0 }, m(e.timeLabels, (r, h) => (l(), i("g", {
2174
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Ri, [
2175
+ i.$slots["time-label"] ? (a(!0), s(f, { key: 0 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2182
2176
  key: `time_label_${h}`
2183
2177
  }, [
2184
- S(a.$slots, "time-label", H(B({
2178
+ k(i.$slots, "time-label", W(E({
2185
2179
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2186
2180
  y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2187
2181
  fontSize: t.fontSizes.xAxis,
@@ -2192,10 +2186,10 @@ function ar(a, s, o, u, t, e) {
2192
2186
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2193
2187
  show: r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0
2194
2188
  })), void 0, !0)
2195
- ]))), 128)) : (l(!0), i(I, { key: 1 }, m(e.timeLabels, (r, h) => (l(), i("g", {
2189
+ ]))), 128)) : (a(!0), s(f, { key: 1 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2196
2190
  key: `time_label_${h}`
2197
2191
  }, [
2198
- r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (l(), i("text", {
2192
+ r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || r && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (a(), s("text", {
2199
2193
  key: 0,
2200
2194
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2201
2195
  "font-size": t.fontSizes.xAxis,
@@ -2205,14 +2199,14 @@ function ar(a, s, o, u, t, e) {
2205
2199
  cursor: "pointer"
2206
2200
  },
2207
2201
  onClick: () => e.selectTimeLabel(r, h)
2208
- }, k(r.text || ""), 9, Da)) : c("", !0)
2202
+ }, w(r.text || ""), 9, Di)) : c("", !0)
2209
2203
  ]))), 128))
2210
2204
  ])) : c("", !0),
2211
- f("g", null, [
2212
- (l(!0), i(I, null, m(e.maxSeries, (r, h) => (l(), i("g", {
2205
+ u("g", null, [
2206
+ (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
2213
2207
  key: `tooltip_trap_${h}`
2214
2208
  }, [
2215
- f("rect", {
2209
+ u("rect", {
2216
2210
  "data-cy-trap": "",
2217
2211
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2218
2212
  y: e.drawingArea.top,
@@ -2220,38 +2214,38 @@ function ar(a, s, o, u, t, e) {
2220
2214
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2221
2215
  fill: "transparent",
2222
2216
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2223
- onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2217
+ onMouseleave: l[1] || (l[1] = (n) => e.toggleTooltipVisibility(!1)),
2224
2218
  onClick: (n) => e.selectX(h)
2225
- }, null, 40, Ha)
2219
+ }, null, 40, Hi)
2226
2220
  ]))), 128))
2227
2221
  ]),
2228
- e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (l(), i("g", Ba, [
2229
- (l(), i("foreignObject", {
2222
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Bi, [
2223
+ (a(), s("foreignObject", {
2230
2224
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
2231
2225
  y: e.drawingArea.bottom,
2232
2226
  width: "200",
2233
2227
  height: "40",
2234
2228
  style: { overflow: "visible !important" }
2235
2229
  }, [
2236
- f("div", {
2230
+ u("div", {
2237
2231
  class: "vue-ui-xy-time-tag",
2238
2232
  style: L(`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`)
2239
- }, k(e.timeLabels[(t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)].text || (t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)), 5)
2240
- ], 8, Wa)),
2241
- f("circle", {
2233
+ }, w(e.timeLabels[(t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)].text || (t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)), 5)
2234
+ ], 8, Wi)),
2235
+ u("circle", {
2242
2236
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
2243
2237
  cy: e.drawingArea.bottom,
2244
2238
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2245
2239
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2246
- }, null, 8, Ea)
2240
+ }, null, 8, Ei)
2247
2241
  ])) : c("", !0)
2248
2242
  ])) : c("", !0),
2249
- S(a.$slots, "svg", { svg: e.svg }, void 0, !0)
2250
- ], 14, Qe)) : c("", !0),
2251
- a.$slots.watermark ? (l(), i("div", Ya, [
2252
- S(a.$slots, "watermark", H(B({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2243
+ k(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2244
+ ], 14, $e)) : c("", !0),
2245
+ i.$slots.watermark ? (a(), s("div", Yi, [
2246
+ k(i.$slots, "watermark", W(E({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2253
2247
  ])) : c("", !0),
2254
- e.isDataset ? c("", !0) : (l(), D(V, {
2248
+ e.isDataset ? c("", !0) : (a(), B(V, {
2255
2249
  key: 6,
2256
2250
  config: {
2257
2251
  type: "line",
@@ -2269,7 +2263,7 @@ function ar(a, s, o, u, t, e) {
2269
2263
  }
2270
2264
  }
2271
2265
  }, null, 8, ["config"])),
2272
- e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), D(v, {
2266
+ e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), B(v, {
2273
2267
  ref: "chartSlicer",
2274
2268
  key: `slicer_${t.slicerStep}`,
2275
2269
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2295,9 +2289,9 @@ function ar(a, s, o, u, t, e) {
2295
2289
  valueStart: t.slicer.start,
2296
2290
  valueEnd: t.slicer.end,
2297
2291
  start: t.slicer.start,
2298
- "onUpdate:start": s[2] || (s[2] = (r) => t.slicer.start = r),
2292
+ "onUpdate:start": l[2] || (l[2] = (r) => t.slicer.start = r),
2299
2293
  end: t.slicer.end,
2300
- "onUpdate:end": s[3] || (s[3] = (r) => t.slicer.end = r),
2294
+ "onUpdate:end": l[3] || (l[3] = (r) => t.slicer.end = r),
2301
2295
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2302
2296
  refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...o.dataset.map((r) => e.largestTriangleThreeBucketsArray({ data: r.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
2303
2297
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
@@ -2305,24 +2299,24 @@ function ar(a, s, o, u, t, e) {
2305
2299
  onReset: e.refreshSlicer,
2306
2300
  onTrapMouse: e.selectMinimapIndex
2307
2301
  }, {
2308
- "reset-action": p(({ reset: r }) => [
2309
- S(a.$slots, "reset-action", H(B({ reset: r })), void 0, !0)
2302
+ "reset-action": P(({ reset: r }) => [
2303
+ k(i.$slots, "reset-action", W(E({ reset: r })), void 0, !0)
2310
2304
  ]),
2311
2305
  _: 3
2312
2306
  }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "verticalHandles", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag", "onReset", "onTrapMouse"])) : c("", !0),
2313
- e.FINAL_CONFIG.chart.legend.show ? (l(), i("div", {
2307
+ e.FINAL_CONFIG.chart.legend.show ? (a(), s("div", {
2314
2308
  key: 8,
2315
2309
  ref: "chartLegend",
2316
2310
  class: "vue-ui-xy-legend",
2317
2311
  style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2318
2312
  }, [
2319
- (l(!0), i(I, null, m(e.absoluteDataset, (r, h) => (l(), i("div", {
2313
+ (a(!0), s(f, null, m(e.absoluteDataset, (r, h) => (a(), s("div", {
2320
2314
  key: `div_legend_item_${h}`,
2321
2315
  onClick: (n) => e.segregate(r),
2322
- class: P({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(r.id) })
2316
+ class: D({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(r.id) })
2323
2317
  }, [
2324
- t.icons[r.type] === "line" ? (l(), i("svg", Xa, [
2325
- f("rect", {
2318
+ t.icons[r.type] === "line" ? (a(), s("svg", Xi, [
2319
+ u("rect", {
2326
2320
  x: "0",
2327
2321
  y: "7.5",
2328
2322
  rx: "1.5",
@@ -2331,7 +2325,7 @@ function ar(a, s, o, u, t, e) {
2331
2325
  height: "3",
2332
2326
  width: "20",
2333
2327
  fill: r.color
2334
- }, null, 8, Ua),
2328
+ }, null, 8, Ui),
2335
2329
  q(b, {
2336
2330
  plot: { x: 10, y: 9 },
2337
2331
  radius: 4,
@@ -2340,8 +2334,8 @@ function ar(a, s, o, u, t, e) {
2340
2334
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2341
2335
  strokeWidth: 0.5
2342
2336
  }, null, 8, ["color", "shape", "stroke"])
2343
- ])) : t.icons[r.type] === "bar" ? (l(), i("svg", Za, [
2344
- t.icons[r.type] === "bar" && a.$slots.pattern ? (l(), i("rect", {
2337
+ ])) : t.icons[r.type] === "bar" ? (a(), s("svg", Zi, [
2338
+ t.icons[r.type] === "bar" && i.$slots.pattern ? (a(), s("rect", {
2345
2339
  key: 0,
2346
2340
  x: "0",
2347
2341
  y: "0",
@@ -2350,8 +2344,8 @@ function ar(a, s, o, u, t, e) {
2350
2344
  width: "40",
2351
2345
  stroke: "none",
2352
2346
  fill: r.color
2353
- }, null, 8, Ja)) : c("", !0),
2354
- t.icons[r.type] === "bar" ? (l(), i("rect", {
2347
+ }, null, 8, Ji)) : c("", !0),
2348
+ t.icons[r.type] === "bar" ? (a(), s("rect", {
2355
2349
  key: 1,
2356
2350
  x: "0",
2357
2351
  y: "0",
@@ -2359,9 +2353,9 @@ function ar(a, s, o, u, t, e) {
2359
2353
  height: "40",
2360
2354
  width: "40",
2361
2355
  stroke: "none",
2362
- fill: a.$slots.pattern ? `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2363
- }, null, 8, Ka)) : c("", !0)
2364
- ])) : (l(), i("svg", Qa, [
2356
+ fill: i.$slots.pattern ? `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2357
+ }, null, 8, Qi)) : c("", !0)
2358
+ ])) : (a(), s("svg", Ki, [
2365
2359
  q(b, {
2366
2360
  plot: { x: 6, y: 6 },
2367
2361
  radius: 5,
@@ -2369,15 +2363,15 @@ function ar(a, s, o, u, t, e) {
2369
2363
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2370
2364
  }, null, 8, ["color", "shape"])
2371
2365
  ])),
2372
- f("span", {
2366
+ u("span", {
2373
2367
  style: L(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2374
- }, k(r.name), 5)
2375
- ], 10, qa))), 128))
2376
- ], 4)) : (l(), i("div", ja, [
2377
- S(a.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2368
+ }, w(r.name), 5)
2369
+ ], 10, qi))), 128))
2370
+ ], 4)) : (a(), s("div", ji, [
2371
+ k(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2378
2372
  ], 512)),
2379
- a.$slots.source ? (l(), i("div", $a, [
2380
- S(a.$slots, "source", {}, void 0, !0)
2373
+ i.$slots.source ? (a(), s("div", $i, [
2374
+ k(i.$slots, "source", {}, void 0, !0)
2381
2375
  ], 512)) : c("", !0),
2382
2376
  q(z, {
2383
2377
  show: t.mutableConfig.showTooltip && t.isTooltip,
@@ -2390,20 +2384,20 @@ function ar(a, s, o, u, t, e) {
2390
2384
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2391
2385
  position: e.FINAL_CONFIG.chart.tooltip.position,
2392
2386
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2393
- parent: a.$refs.chart,
2387
+ parent: i.$refs.chart,
2394
2388
  content: e.tooltipContent,
2395
2389
  isFullscreen: t.isFullscreen,
2396
2390
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2397
2391
  }, {
2398
- "tooltip-before": p(() => [
2399
- S(a.$slots, "tooltip-before", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2392
+ "tooltip-before": P(() => [
2393
+ k(i.$slots, "tooltip-before", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2400
2394
  ]),
2401
- "tooltip-after": p(() => [
2402
- S(a.$slots, "tooltip-after", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2395
+ "tooltip-after": P(() => [
2396
+ k(i.$slots, "tooltip-after", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2403
2397
  ]),
2404
2398
  _: 3
2405
2399
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2406
- e.isDataset ? (l(), D(M, {
2400
+ e.isDataset ? (a(), B(T, {
2407
2401
  key: 11,
2408
2402
  hideDetails: "",
2409
2403
  config: {
@@ -2419,46 +2413,46 @@ function ar(a, s, o, u, t, e) {
2419
2413
  }
2420
2414
  }
2421
2415
  }, {
2422
- content: p(() => [
2423
- f("div", {
2416
+ content: P(() => [
2417
+ u("div", {
2424
2418
  style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2425
2419
  }, [
2426
- f("div", er, [
2427
- Ee(f("input", {
2420
+ u("div", er, [
2421
+ qe(u("input", {
2428
2422
  type: "checkbox",
2429
- "onUpdate:modelValue": s[4] || (s[4] = (r) => t.showSparklineTable = r)
2423
+ "onUpdate:modelValue": l[4] || (l[4] = (r) => t.showSparklineTable = r)
2430
2424
  }, null, 512), [
2431
- [Ye, t.showSparklineTable]
2425
+ [Xe, t.showSparklineTable]
2432
2426
  ]),
2433
- f("div", {
2434
- onClick: s[5] || (s[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2427
+ u("div", {
2428
+ onClick: l[5] || (l[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2435
2429
  style: { cursor: "pointer" }
2436
2430
  }, [
2437
- q(O, {
2431
+ q(G, {
2438
2432
  name: "chartLine",
2439
2433
  size: 20,
2440
2434
  stroke: e.FINAL_CONFIG.chart.color
2441
2435
  }, null, 8, ["stroke"])
2442
2436
  ])
2443
2437
  ]),
2444
- t.showSparklineTable ? (l(), D(_, {
2438
+ t.showSparklineTable ? (a(), B(F, {
2445
2439
  key: `sparkline_${t.segregateStep}`,
2446
2440
  dataset: e.tableSparklineDataset,
2447
2441
  config: e.tableSparklineConfig
2448
- }, null, 8, ["dataset", "config"])) : (l(), D(C, {
2442
+ }, null, 8, ["dataset", "config"])) : (a(), B(C, {
2449
2443
  key: `table_${t.tableStep}`,
2450
2444
  colNames: e.dataTable.colNames,
2451
2445
  head: e.dataTable.head,
2452
2446
  body: e.dataTable.body,
2453
2447
  config: e.dataTable.config,
2454
2448
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2455
- onClose: s[6] || (s[6] = (r) => t.mutableConfig.showTable = !1)
2449
+ onClose: l[6] || (l[6] = (r) => t.mutableConfig.showTable = !1)
2456
2450
  }, {
2457
- th: p(({ th: r }) => [
2458
- f("div", { innerHTML: r }, null, 8, tr)
2451
+ th: P(({ th: r }) => [
2452
+ u("div", { innerHTML: r }, null, 8, tr)
2459
2453
  ]),
2460
- td: p(({ td: r }) => [
2461
- qe(k(isNaN(Number(r)) ? r : e.dataLabel({
2454
+ td: P(({ td: r }) => [
2455
+ Ue(w(isNaN(Number(r)) ? r : e.dataLabel({
2462
2456
  p: e.FINAL_CONFIG.chart.labels.prefix,
2463
2457
  v: r,
2464
2458
  s: e.FINAL_CONFIG.chart.labels.suffix,
@@ -2471,9 +2465,9 @@ function ar(a, s, o, u, t, e) {
2471
2465
  ]),
2472
2466
  _: 1
2473
2467
  }, 8, ["config"])) : c("", !0)
2474
- ], 46, Je);
2468
+ ], 46, Ke);
2475
2469
  }
2476
- const br = /* @__PURE__ */ Xe(Ze, [["render", ar], ["__scopeId", "data-v-7d74eded"]]);
2470
+ const br = /* @__PURE__ */ Ze(Qe, [["render", ir], ["__scopeId", "data-v-55fe5db9"]]);
2477
2471
  export {
2478
2472
  br as default
2479
2473
  };