vue-data-ui 2.4.82 → 2.4.84

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 (155) hide show
  1. package/dist/{Arrow-BT-lmouw.js → Arrow-CExa0Dz7.js} +1 -1
  2. package/dist/{Arrow-5fWeb1w_.cjs → Arrow-DCfmf5dA.cjs} +1 -1
  3. package/dist/{BaseIcon-B7oE_tLN.cjs → BaseIcon-64qWZUaJ.cjs} +1 -1
  4. package/dist/{BaseIcon-DIxHp0nP.js → BaseIcon-I6DfuN0D.js} +1 -1
  5. package/dist/{DataTable-CISfs21D.cjs → DataTable-C_6KWwfC.cjs} +1 -1
  6. package/dist/{DataTable-dr19AFlT.js → DataTable-DYhXzoFM.js} +2 -2
  7. package/dist/{Legend-ChILUEFI.cjs → Legend-BkolTSZc.cjs} +1 -1
  8. package/dist/{Legend-C6VqGE0l.js → Legend-D8VMKZ6f.js} +2 -2
  9. package/dist/{PackageVersion-CNuNuAb9.cjs → PackageVersion-BV362f3w.cjs} +1 -1
  10. package/dist/{PackageVersion-6TSHlmr5.js → PackageVersion-CO2IMTO9.js} +1 -1
  11. package/dist/{PenAndPaper-C5Ug24R7.js → PenAndPaper-CnW2eqXw.js} +3 -3
  12. package/dist/{PenAndPaper-TVeCVXVN.cjs → PenAndPaper-DvN8ocWC.cjs} +1 -1
  13. package/dist/{Shape-C8l-pKBy.js → Shape-Bit--n_P.js} +1 -1
  14. package/dist/{Shape-Qq8Lt1_F.cjs → Shape-VkiqMBJb.cjs} +1 -1
  15. package/dist/{Slicer-CA7iwke8.js → Slicer-BIRZ38gw.js} +109 -124
  16. package/dist/Slicer-D8EYKe1g.cjs +1 -0
  17. package/dist/{Title-BfHZu6bz.cjs → Title-BVwrrnjn.cjs} +1 -1
  18. package/dist/{Title-BcYvD5u3.js → Title-C_gOJvlv.js} +1 -1
  19. package/dist/{Tooltip-fKt9YG50.cjs → Tooltip-CfsfUzgu.cjs} +1 -1
  20. package/dist/{Tooltip-CnEP60Ez.js → Tooltip-Czv48jTt.js} +1 -1
  21. package/dist/{index-CsThtcFA.js → index-CFW17vb1.js} +2 -1
  22. package/dist/index-DtU3BvTq.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +3 -2
  25. package/dist/types/vue-data-ui.d.ts +3 -2
  26. package/dist/{useNestedProp-Bjmt-GbY.cjs → useNestedProp-Bwqm-3kz.cjs} +1 -1
  27. package/dist/{useNestedProp-CYmg6HKV.js → useNestedProp-HPB1YHuD.js} +1 -1
  28. package/dist/{usePrinter-CHJnz2qB.js → usePrinter-19frcFuH.js} +1 -1
  29. package/dist/{usePrinter-CbaWB90M.cjs → usePrinter-CdEwyYTo.cjs} +1 -1
  30. package/dist/{vue-data-ui-a870gnq3.js → vue-data-ui-Cwa_3CUx.js} +60 -60
  31. package/dist/{vue-data-ui-ClVg2Y5S.cjs → vue-data-ui-Do7J2TPn.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-Dx1wzhEz.cjs → vue-ui-3d-bar-BHQnk6JC.cjs} +1 -1
  35. package/dist/{vue-ui-3d-bar-B2Q2fngm.js → vue-ui-3d-bar-DFyAJ8Js.js} +9 -9
  36. package/dist/{vue-ui-accordion-R1MtUDWQ.js → vue-ui-accordion-B8vShfXi.js} +3 -3
  37. package/dist/{vue-ui-accordion-BMncws2N.cjs → vue-ui-accordion-DP9u_TW0.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-BXXcKMhA.cjs → vue-ui-age-pyramid-DZM35V2u.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-CvZ4900w.js → vue-ui-age-pyramid-Dmve7QfH.js} +10 -10
  40. package/dist/{vue-ui-annotator-B6bMxIm1.js → vue-ui-annotator-BlXk3QBH.js} +1 -1
  41. package/dist/{vue-ui-annotator-D1cPic7r.cjs → vue-ui-annotator-D9EQpzhs.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-CbeR4GvU.js → vue-ui-bullet-C_689DzY.js} +8 -8
  43. package/dist/{vue-ui-bullet-B4RNYl7A.cjs → vue-ui-bullet-HVCVCTLU.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-LXQaBwq2.js → vue-ui-candlestick-BeoPugFC.js} +11 -11
  45. package/dist/{vue-ui-candlestick-fWCn56wl.cjs → vue-ui-candlestick-jaQCvTyL.cjs} +1 -1
  46. package/dist/{vue-ui-carousel-table-DY7iX4zw.cjs → vue-ui-carousel-table-C6TjkSgb.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-Dlk54jHH.js → vue-ui-carousel-table-DSJth2mn.js} +4 -4
  48. package/dist/{vue-ui-chestnut-Dbss-s8e.cjs → vue-ui-chestnut-B2ufyy3m.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-GBYmNV4D.js → vue-ui-chestnut-DYFaL9sS.js} +8 -8
  50. package/dist/{vue-ui-cursor-Uhbo_5YV.js → vue-ui-cursor-0SZiJ6tf.js} +2 -2
  51. package/dist/{vue-ui-cursor-_a97vjKf.cjs → vue-ui-cursor-B8ne66iS.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-CV6lepNo.js → vue-ui-dashboard-9JNDS8H_.js} +2 -2
  53. package/dist/{vue-ui-dashboard-C3kIRgS8.cjs → vue-ui-dashboard-Cc6YeOue.cjs} +1 -1
  54. package/dist/{vue-ui-digits-DtoCv8V3.js → vue-ui-digits-DNyhJL4P.js} +2 -2
  55. package/dist/{vue-ui-digits-r0hIfpvm.cjs → vue-ui-digits-lJ7p7zK0.cjs} +1 -1
  56. package/dist/{vue-ui-donut-ueAPKu-p.cjs → vue-ui-donut-B1pUA9f9.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-D21cjJEu.js → vue-ui-donut-evolution-BZgaPkPQ.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-BxD06YTP.cjs → vue-ui-donut-evolution-CNUN-Ibl.cjs} +1 -1
  59. package/dist/{vue-ui-donut-HK1nAqAJ.js → vue-ui-donut-rUTpcnu6.js} +12 -12
  60. package/dist/{vue-ui-dumbbell-BxQj5hna.cjs → vue-ui-dumbbell-Cvsoh0T7.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-D4xDpW8L.js → vue-ui-dumbbell-Dt0y6iAc.js} +10 -10
  62. package/dist/{vue-ui-flow-BzJzxkns.js → vue-ui-flow-CNJvuCPl.js} +9 -9
  63. package/dist/{vue-ui-flow-eaxLYKe-.cjs → vue-ui-flow-DoDnRTz2.cjs} +1 -1
  64. package/dist/{vue-ui-funnel-BtIOBN21.cjs → vue-ui-funnel-BuMkpJAC.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-DIdawbhb.js → vue-ui-funnel-CzxjqsPW.js} +9 -9
  66. package/dist/{vue-ui-galaxy-tr5z8bv6.js → vue-ui-galaxy-4lQvAV3d.js} +11 -11
  67. package/dist/{vue-ui-galaxy-CxvvMYCm.cjs → vue-ui-galaxy-Bd3A40CM.cjs} +1 -1
  68. package/dist/{vue-ui-gauge-DAy5qpGS.cjs → vue-ui-gauge-BE_j4sWG.cjs} +1 -1
  69. package/dist/{vue-ui-gauge-BTEuwgTK.js → vue-ui-gauge-C-VzxGad.js} +7 -7
  70. package/dist/{vue-ui-gizmo-CyoKhkTE.js → vue-ui-gizmo-CE_RL3QC.js} +3 -3
  71. package/dist/{vue-ui-gizmo-D2YvYKEm.cjs → vue-ui-gizmo-C_H8YGW3.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-DE0CkJHT.cjs → vue-ui-heatmap-9F3jF9Ph.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-CrhZjdV7.js → vue-ui-heatmap-GRSinjd8.js} +10 -10
  74. package/dist/{vue-ui-history-plot-DYFZMxHM.cjs → vue-ui-history-plot-CCRPcG-q.cjs} +1 -1
  75. package/dist/{vue-ui-history-plot-C6pcuMqp.js → vue-ui-history-plot-DmGaPsqO.js} +11 -11
  76. package/dist/{vue-ui-kpi-DkwXPmZL.js → vue-ui-kpi-BeGj6WIY.js} +3 -3
  77. package/dist/{vue-ui-kpi-C0u9ZU1f.cjs → vue-ui-kpi-Ce45VFCW.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-CVQ_qNNC.cjs → vue-ui-mini-loader-D3edtEz_.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-CLq0Otkj.js → vue-ui-mini-loader-DE8S92Sq.js} +2 -2
  80. package/dist/{vue-ui-molecule-HxXY9Y9M.js → vue-ui-molecule-B3DvbGKk.js} +11 -11
  81. package/dist/{vue-ui-molecule-DtaeRbOZ.cjs → vue-ui-molecule-CBXx1n83.cjs} +1 -1
  82. package/dist/{vue-ui-mood-radar-CODX8As4.js → vue-ui-mood-radar-D86fg_ce.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-sNI9CnUS.cjs → vue-ui-mood-radar-LiiA0Dc-.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-DtFEYjqG.cjs → vue-ui-nested-donuts-BXKM6dJG.cjs} +1 -1
  85. package/dist/{vue-ui-nested-donuts-DfslWJLV.js → vue-ui-nested-donuts-jk4b-l4R.js} +11 -11
  86. package/dist/{vue-ui-onion-CX8XeQ_l.js → vue-ui-onion-0OpNltFd.js} +11 -11
  87. package/dist/{vue-ui-onion-DiZRACmp.cjs → vue-ui-onion-DMDU5CNx.cjs} +1 -1
  88. package/dist/{vue-ui-parallel-coordinate-plot-DZYR4krE.cjs → vue-ui-parallel-coordinate-plot-C6z7ZrZv.cjs} +1 -1
  89. package/dist/{vue-ui-parallel-coordinate-plot-BHeEm0CR.js → vue-ui-parallel-coordinate-plot-CK1Npqa-.js} +12 -12
  90. package/dist/{vue-ui-quadrant-BgL1hao5.js → vue-ui-quadrant-BTXxbgGe.js} +12 -12
  91. package/dist/{vue-ui-quadrant-C9wYDYfI.cjs → vue-ui-quadrant-BseIxY55.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-ajTnMBSM.cjs → vue-ui-quick-chart-C648x_Ta.cjs} +1 -1
  93. package/dist/{vue-ui-quick-chart-Bu3Xcdlq.js → vue-ui-quick-chart-DxTYh43Q.js} +9 -9
  94. package/dist/{vue-ui-radar-Dt-kzWMo.cjs → vue-ui-radar-BRL3W3Na.cjs} +1 -1
  95. package/dist/{vue-ui-radar-Cf6_-n4V.js → vue-ui-radar-ogrYz2LM.js} +12 -12
  96. package/dist/{vue-ui-rating-DTNBXEgx.cjs → vue-ui-rating-BA3qzlLU.cjs} +1 -1
  97. package/dist/{vue-ui-rating-DuNJPTBF.js → vue-ui-rating-BDOw91i1.js} +2 -2
  98. package/dist/{vue-ui-relation-circle-CqdnjJWQ.js → vue-ui-relation-circle-DzIUtPsI.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-PMwBj9LN.cjs → vue-ui-relation-circle-lh7NE0h5.cjs} +1 -1
  100. package/dist/{vue-ui-rings-IvHrVEYG.cjs → vue-ui-rings-CC2lRhXV.cjs} +1 -1
  101. package/dist/{vue-ui-rings-BzXcjj0z.js → vue-ui-rings-ZT5FspBJ.js} +12 -12
  102. package/dist/{vue-ui-scatter-DfejYNwd.js → vue-ui-scatter-DWrEQi8R.js} +12 -12
  103. package/dist/{vue-ui-scatter-DjHl-XIs.cjs → vue-ui-scatter-ebuihNvY.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Bfl3heZK.cjs → vue-ui-screenshot-C5qnoqpN.cjs} +1 -1
  105. package/dist/{vue-ui-screenshot-DHY194Cs.js → vue-ui-screenshot-Cu9IDDlN.js} +1 -1
  106. package/dist/{vue-ui-skeleton-CA5wMVV8.cjs → vue-ui-skeleton-BJjc2poJ.cjs} +1 -1
  107. package/dist/{vue-ui-skeleton-nkyhyXuS.js → vue-ui-skeleton-RRyod9qq.js} +3 -3
  108. package/dist/{vue-ui-smiley-Dpq9NCdW.js → vue-ui-smiley-Ph-v2-Ai.js} +2 -2
  109. package/dist/{vue-ui-smiley-DihuGEvz.cjs → vue-ui-smiley-y9nTUBhA.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-CNf8eqXP.js → vue-ui-spark-trend-Bny5SJnu.js} +5 -5
  111. package/dist/{vue-ui-spark-trend-D4IpFyAT.cjs → vue-ui-spark-trend-CLToG1xM.cjs} +1 -1
  112. package/dist/{vue-ui-sparkbar-CRA8l9nA.js → vue-ui-sparkbar-Cte6J2j-.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-DyDAQS5l.cjs → vue-ui-sparkbar-XuIl0I-2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-q1_NKm6X.cjs → vue-ui-sparkgauge-85UuRRgo.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-DQO5INkx.js → vue-ui-sparkgauge-NGpDEiOA.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-CQu6JcH7.js → vue-ui-sparkhistogram-DC6GQfGG.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-Cz82BTxJ.cjs → vue-ui-sparkhistogram-g9PwZ66_.cjs} +1 -1
  118. package/dist/{vue-ui-sparkline-CvMlOA7f.cjs → vue-ui-sparkline-BiqTIIb1.cjs} +1 -1
  119. package/dist/{vue-ui-sparkline-ZbKFEB1a.js → vue-ui-sparkline-Cv0OStNn.js} +4 -4
  120. package/dist/{vue-ui-sparkstackbar-k4dcyRXf.cjs → vue-ui-sparkstackbar-Dvi0gC4_.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DOUIhmBs.js → vue-ui-sparkstackbar-lUSVcaQd.js} +5 -5
  122. package/dist/{vue-ui-stackbar-lt8TicVU.js → vue-ui-stackbar-CqbbJfYt.js} +13 -13
  123. package/dist/{vue-ui-stackbar-CIE2n1Cj.cjs → vue-ui-stackbar-DjJtIsdz.cjs} +1 -1
  124. package/dist/{vue-ui-strip-plot-Ch1RGWoV.js → vue-ui-strip-plot-BCg5ReEr.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-DIRlVsXS.cjs → vue-ui-strip-plot-y7iID0n4.cjs} +1 -1
  126. package/dist/{vue-ui-table-ifejCKXI.cjs → vue-ui-table-BLtxfmhY.cjs} +1 -1
  127. package/dist/{vue-ui-table-CWEb3B8S.js → vue-ui-table-C0gtq240.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-BW4pIWmr.cjs → vue-ui-table-heatmap-Df4MQoU-.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-DogGKS4T.js → vue-ui-table-heatmap-QuqCtJWs.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-CYL8rQT-.cjs → vue-ui-table-sparkline-CUD-P2XB.cjs} +1 -1
  131. package/dist/{vue-ui-table-sparkline-BBC4lVJM.js → vue-ui-table-sparkline-Cgt7aEwb.js} +5 -5
  132. package/dist/{vue-ui-thermometer-hKww43ns.js → vue-ui-thermometer-Dmba_BQM.js} +7 -7
  133. package/dist/{vue-ui-thermometer-32WmHGq2.cjs → vue-ui-thermometer-DwFIhO9V.cjs} +1 -1
  134. package/dist/{vue-ui-timer-4yQ-u1yo.js → vue-ui-timer-C7B7kC_T.js} +5 -5
  135. package/dist/{vue-ui-timer-Kz8NeyKP.cjs → vue-ui-timer-mYvuMMWA.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks-pkikDuDs.cjs → vue-ui-tiremarks-Cbu6E711.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-Ci1FA555.js → vue-ui-tiremarks-D5xKuhfo.js} +7 -7
  138. package/dist/{vue-ui-treemap-s0g9gFUq.js → vue-ui-treemap-4MV0XnQk.js} +11 -11
  139. package/dist/{vue-ui-treemap-Cam7JIbV.cjs → vue-ui-treemap-CE67vTLK.cjs} +1 -1
  140. package/dist/{vue-ui-vertical-bar-Dpf8M5Y2.js → vue-ui-vertical-bar-CXyj54xk.js} +12 -12
  141. package/dist/{vue-ui-vertical-bar-DCuXkLMy.cjs → vue-ui-vertical-bar-CoReGxcB.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-B0f6wQb5.cjs → vue-ui-waffle-8nA0-Wb6.cjs} +1 -1
  143. package/dist/{vue-ui-waffle-Cjt8sDM6.js → vue-ui-waffle-DEs7x_2T.js} +12 -12
  144. package/dist/{vue-ui-wheel-DUMSmVGA.cjs → vue-ui-wheel-CJr7fA0P.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-DnMqTLDg.js → vue-ui-wheel-g8X99gKX.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-DJx2N2OK.cjs → vue-ui-word-cloud-B6swJJCN.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-D4-GAo5m.js → vue-ui-word-cloud-CVa0GWD2.js} +11 -11
  148. package/dist/{vue-ui-xy-5YlIb5hC.js → vue-ui-xy-BGlQK1KX.js} +831 -839
  149. package/dist/{vue-ui-xy-canvas-D96s0y9X.cjs → vue-ui-xy-canvas-B8lWHhig.cjs} +1 -1
  150. package/dist/{vue-ui-xy-canvas-CM-75r6I.js → vue-ui-xy-canvas-C5WvLq7x.js} +11 -11
  151. package/dist/vue-ui-xy-lkMHpHRs.cjs +3 -0
  152. package/package.json +1 -1
  153. package/dist/Slicer-CPf6wtKj.cjs +0 -1
  154. package/dist/index-JEIXBRiX.cjs +0 -9
  155. package/dist/vue-ui-xy-DunM3FBg.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-CsThtcFA.js";
2
- import { D as we } from "./DataTable-dr19AFlT.js";
3
- import { _ as Oe } from "./Title-BcYvD5u3.js";
4
- import { _ as Ge, u as ve } from "./Tooltip-CnEP60Ez.js";
5
- import { U as ze } from "./usePrinter-CHJnz2qB.js";
6
- import { _ as Me } from "./Shape-C8l-pKBy.js";
7
- import pe from "./BaseIcon-DIxHp0nP.js";
8
- import Ve from "./vue-ui-table-sparkline-BBC4lVJM.js";
9
- import Te from "./vue-ui-skeleton-nkyhyXuS.js";
10
- import { S as Pe } from "./Slicer-CA7iwke8.js";
11
- import Re from "./vue-ui-accordion-R1MtUDWQ.js";
12
- import { u as Z } from "./useNestedProp-CYmg6HKV.js";
13
- import { _ as De } from "./PackageVersion-6TSHlmr5.js";
14
- import { P as He } from "./PenAndPaper-C5Ug24R7.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-CFW17vb1.js";
2
+ import { D as Ge } from "./DataTable-DYhXzoFM.js";
3
+ import { _ as ve } from "./Title-C_gOJvlv.js";
4
+ import { _ as ze, u as Me } from "./Tooltip-Czv48jTt.js";
5
+ import { U as pe } from "./usePrinter-19frcFuH.js";
6
+ import { _ as Te } from "./Shape-Bit--n_P.js";
7
+ import Pe from "./BaseIcon-I6DfuN0D.js";
8
+ import Ve from "./vue-ui-table-sparkline-Cgt7aEwb.js";
9
+ import Re from "./vue-ui-skeleton-RRyod9qq.js";
10
+ import { S as De } from "./Slicer-BIRZ38gw.js";
11
+ import He from "./vue-ui-accordion-B8vShfXi.js";
12
+ import { u as Z } from "./useNestedProp-HPB1YHuD.js";
13
+ import { _ as Be } from "./PackageVersion-CO2IMTO9.js";
14
+ import { P as We } from "./PenAndPaper-CnW2eqXw.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,25 @@ 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), 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();
872
+ }).observe(l);
866
873
  } else
867
874
  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
875
  },
869
- selectMinimapIndex(a) {
870
- this.selectedMinimapIndex = a;
876
+ selectMinimapIndex(i) {
877
+ this.selectedMinimapIndex = i;
871
878
  },
872
879
  convertSizes() {
873
880
  this.fontSizes.dataLabels = this.translateSize({
@@ -920,119 +927,119 @@ const Ue = J(), Ze = {
920
927
  toggleTooltip() {
921
928
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
922
929
  },
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`));
930
+ checkAutoScaleError(i) {
931
+ 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
932
  },
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();
933
+ createArea(i) {
934
+ if (!i[0]) return [-10, -10, "", -10, -10];
935
+ const l = { x: i[0].x, y: this.zero }, o = { x: i.at(-1).x, y: this.zero }, d = [];
936
+ return i.forEach((t) => {
937
+ d.push(`${t.x},${t.y} `);
938
+ }), [l.x, l.y, ...d, o.x, o.y].toString();
932
939
  },
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) => {
940
+ createIndividualArea(i, l) {
941
+ if (!i[0]) return [-10, -10, "", -10, -10];
942
+ 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 = [];
943
+ return i.filter((e) => !!e).forEach((e) => {
937
944
  t.push(`${e.x},${e.y} `);
938
- }), [o.x, o.y, ...t, u.x, u.y].toString();
945
+ }), [o.x, o.y, ...t, d.x, d.y].toString();
939
946
  },
940
947
  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];
948
+ createPolygonPath: H,
949
+ fillArray(i, l) {
950
+ let o = Array(i).fill(0);
951
+ for (let d = 0; d < l.length && d < i; d += 1)
952
+ o[d] = l[d];
946
953
  return o;
947
954
  },
948
955
  async setupSlicer() {
949
956
  (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
957
  start: 0,
951
- end: Math.max(...this.dataset.map((a) => this.largestTriangleThreeBucketsArray({ data: a.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
958
+ end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
952
959
  }, this.slicerStep += 1);
953
960
  },
954
961
  refreshSlicer() {
955
962
  this.setupSlicer();
956
963
  },
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;
964
+ validSlicerEnd(i) {
965
+ const l = Math.max(...this.dataset.map((o) => this.largestTriangleThreeBucketsArray({ data: o.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
966
+ 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
967
  },
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);
968
+ calcRectHeight(i) {
969
+ 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;
970
+ 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
971
  },
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);
972
+ calcIndividualHeight(i) {
973
+ 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
974
  },
968
975
  calcRectWidth() {
969
976
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
970
977
  },
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;
978
+ calcRectX(i) {
979
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
973
980
  },
974
- calcRectY(a) {
975
- return a.value >= 0 ? a.y : this.zero;
981
+ calcRectY(i) {
982
+ return i.value >= 0 ? i.y : this.zero;
976
983
  },
977
- calcIndividualRectY(a) {
978
- return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
984
+ calcIndividualRectY(i) {
985
+ return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
979
986
  },
980
- canShowValue(a) {
981
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
987
+ canShowValue(i) {
988
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
982
989
  },
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);
990
+ findClosestValue(i, l) {
991
+ let o = l[0], d = Math.abs(i - l[0]);
992
+ for (let t = 1; t < l.length; t += 1) {
993
+ const e = Math.abs(i - l[t]);
994
+ e < d && l[t] < i && (o = l[t], d = e);
988
995
  }
989
996
  return o;
990
997
  },
991
- ratioToMax(a) {
992
- return a / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
998
+ ratioToMax(i) {
999
+ return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
993
1000
  },
994
- selectX(a) {
1001
+ selectX(i) {
995
1002
  this.$emit(
996
1003
  "selectX",
997
1004
  {
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
1005
+ dataset: this.relativeDataset.map((l) => ({
1006
+ name: l.name,
1007
+ value: [null, void 0, NaN].includes(l.absoluteValues[i]) ? null : l.absoluteValues[i],
1008
+ color: l.color,
1009
+ type: l.type
1003
1010
  })),
1004
- index: a,
1005
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a]
1011
+ index: i,
1012
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
1006
1013
  }
1007
1014
  );
1008
1015
  },
1009
1016
  getData() {
1010
- return this.absoluteDataset.map((a) => ({
1011
- values: a.absoluteValues,
1012
- color: a.color,
1013
- name: a.name,
1014
- type: a.type
1017
+ return this.absoluteDataset.map((i) => ({
1018
+ values: i.absoluteValues,
1019
+ color: i.color,
1020
+ name: i.name,
1021
+ type: i.type
1015
1022
  }));
1016
1023
  },
1017
- segregate(a) {
1018
- if (this.segregatedSeries.includes(a.id))
1019
- this.segregatedSeries = this.segregatedSeries.filter((s) => s !== a.id);
1024
+ segregate(i) {
1025
+ if (this.segregatedSeries.includes(i.id))
1026
+ this.segregatedSeries = this.segregatedSeries.filter((l) => l !== i.id);
1020
1027
  else {
1021
1028
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
1022
- this.segregatedSeries.push(a.id);
1029
+ this.segregatedSeries.push(i.id);
1023
1030
  }
1024
- this.$emit("selectLegend", this.relativeDataset.map((s) => ({
1025
- name: s.name,
1026
- values: s.absoluteValues,
1027
- color: s.color,
1028
- type: s.type
1031
+ this.$emit("selectLegend", this.relativeDataset.map((l) => ({
1032
+ name: l.name,
1033
+ values: l.absoluteValues,
1034
+ color: l.color,
1035
+ type: l.type
1029
1036
  }))), this.segregateStep += 1;
1030
1037
  },
1031
- toggleTooltipVisibility(a, s = null) {
1032
- this.isTooltip = a, a ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
1038
+ toggleTooltipVisibility(i, l = null) {
1039
+ this.isTooltip = i, i ? this.selectedSerieIndex = l : this.selectedSerieIndex = null;
1033
1040
  },
1034
- toggleFullscreen(a) {
1035
- this.isFullscreen = a, this.step += 1;
1041
+ toggleFullscreen(i) {
1042
+ this.isFullscreen = i, this.step += 1;
1036
1043
  },
1037
1044
  showSpinnerPdf() {
1038
1045
  this.isPrinting = !0;
@@ -1040,20 +1047,20 @@ const Ue = J(), Ze = {
1040
1047
  async generatePdf() {
1041
1048
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1042
1049
  try {
1043
- const { default: a } = await import("./pdf-B7oVat64.js");
1044
- await a({
1050
+ const { default: i } = await import("./pdf-B7oVat64.js");
1051
+ await i({
1045
1052
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1046
1053
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy"
1047
1054
  });
1048
- } catch (a) {
1049
- console.error("Error generating PDF:", a);
1055
+ } catch (i) {
1056
+ console.error("Error generating PDF:", i);
1050
1057
  } finally {
1051
1058
  this.isPrinting = !1;
1052
1059
  }
1053
1060
  }, 100);
1054
1061
  },
1055
1062
  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);
1063
+ 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
1064
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1058
1065
  },
1059
1066
  showSpinnerImage() {
@@ -1062,47 +1069,47 @@ const Ue = J(), Ze = {
1062
1069
  async generateImage() {
1063
1070
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1064
1071
  try {
1065
- const { default: a } = await import("./img-DGzWcJ4Y.js");
1066
- await a({
1072
+ const { default: i } = await import("./img-DGzWcJ4Y.js");
1073
+ await i({
1067
1074
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1068
1075
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
1069
1076
  format: "png"
1070
1077
  });
1071
- } catch (a) {
1072
- console.error("Error generating image:", a);
1078
+ } catch (i) {
1079
+ console.error("Error generating image:", i);
1073
1080
  } finally {
1074
1081
  this.isImaging = !1;
1075
1082
  }
1076
1083
  }, 100);
1077
1084
  }
1078
1085
  }
1079
- }, Je = ["id"], Ke = {
1086
+ }, Ke = ["id"], je = {
1080
1087
  key: 1,
1081
1088
  ref: "noTitle",
1082
1089
  class: "vue-data-ui-no-title-space",
1083
1090
  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 = {
1091
+ }, $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
1092
  key: 5,
1086
1093
  class: "vue-data-ui-watermark"
1087
- }, qa = ["onClick"], Xa = {
1094
+ }, qi = ["onClick"], Xi = {
1088
1095
  key: 0,
1089
1096
  viewBox: "0 0 20 12",
1090
1097
  height: "14",
1091
1098
  width: "20"
1092
- }, Ua = ["stroke", "fill"], Za = {
1099
+ }, Ui = ["stroke", "fill"], Zi = {
1093
1100
  key: 1,
1094
1101
  viewBox: "0 0 40 40",
1095
1102
  height: "14",
1096
1103
  width: "14"
1097
- }, Ja = ["fill"], Ka = ["fill"], Qa = {
1104
+ }, Ji = ["fill"], Qi = ["fill"], Ki = {
1098
1105
  key: 2,
1099
1106
  viewBox: "0 0 12 12",
1100
1107
  height: "14",
1101
1108
  width: "14"
1102
- }, ja = {
1109
+ }, ji = {
1103
1110
  key: 9,
1104
1111
  ref: "chartLegend"
1105
- }, $a = {
1112
+ }, $i = {
1106
1113
  key: 10,
1107
1114
  ref: "source",
1108
1115
  dir: "auto"
@@ -1110,32 +1117,32 @@ const Ue = J(), Ze = {
1110
1117
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1111
1118
  "data-html2canvas-ignore": ""
1112
1119
  }, 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", {
1120
+ function ir(i, l, o, d, t, e) {
1121
+ 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");
1122
+ return a(), s("div", {
1116
1123
  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"}`),
1124
+ class: D(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1118
1125
  ref: "chart",
1119
1126
  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))
1127
+ onMouseenter: l[7] || (l[7] = () => e.setUserOptionsVisibility(!0)),
1128
+ onMouseleave: l[8] || (l[8] = () => e.setUserOptionsVisibility(!1))
1122
1129
  }, [
1123
- e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (l(), D(x, {
1130
+ e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (a(), B(N, {
1124
1131
  key: 0,
1125
- parent: a.$refs.chart,
1132
+ parent: i.$refs.chart,
1126
1133
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1127
1134
  color: e.FINAL_CONFIG.chart.color,
1128
1135
  active: t.isAnnotator,
1129
1136
  onClose: e.toggleAnnotator
1130
1137
  }, 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", {
1138
+ e.hasOptionsNoTitle ? (a(), s("div", je, null, 512)) : c("", !0),
1139
+ e.FINAL_CONFIG.chart.title.show ? (a(), s("div", {
1133
1140
  key: 2,
1134
1141
  ref: "chartTitle",
1135
1142
  class: "vue-ui-xy-title",
1136
1143
  style: L(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1137
1144
  }, [
1138
- (l(), D(A, {
1145
+ (a(), B(_, {
1139
1146
  key: `title_${t.titleStep}`,
1140
1147
  config: {
1141
1148
  title: {
@@ -1149,7 +1156,7 @@ function ar(a, s, o, u, t, e) {
1149
1156
  }
1150
1157
  }, null, 8, ["config"]))
1151
1158
  ], 4)) : c("", !0),
1152
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (l(), D(w, {
1159
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset && (t.keepUserOptionState || t.userOptionsVisible) ? (a(), B(O, {
1153
1160
  ref: "defails",
1154
1161
  key: `user_options_${t.step}`,
1155
1162
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -1167,7 +1174,7 @@ function ar(a, s, o, u, t, e) {
1167
1174
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1168
1175
  isStacked: t.mutableConfig.isStacked,
1169
1176
  isFullscreen: t.isFullscreen,
1170
- chartElement: a.$refs.chart,
1177
+ chartElement: i.$refs.chart,
1171
1178
  position: e.FINAL_CONFIG.chart.userOptions.position,
1172
1179
  isTooltip: t.mutableConfig.showTooltip,
1173
1180
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
@@ -1185,81 +1192,81 @@ function ar(a, s, o, u, t, e) {
1185
1192
  style: L({
1186
1193
  visibility: t.keepUserOptionState ? t.userOptionsVisible ? "visible" : "hidden" : "visible"
1187
1194
  })
1188
- }, Be({ _: 2 }, [
1189
- a.$slots.optionTooltip ? {
1195
+ }, Ee({ _: 2 }, [
1196
+ i.$slots.optionTooltip ? {
1190
1197
  name: "optionTooltip",
1191
- fn: p(() => [
1192
- S(a.$slots, "optionTooltip", {}, void 0, !0)
1198
+ fn: P(() => [
1199
+ k(i.$slots, "optionTooltip", {}, void 0, !0)
1193
1200
  ]),
1194
1201
  key: "0"
1195
1202
  } : void 0,
1196
- a.$slots.optionPdf ? {
1203
+ i.$slots.optionPdf ? {
1197
1204
  name: "optionPdf",
1198
- fn: p(() => [
1199
- S(a.$slots, "optionPdf", {}, void 0, !0)
1205
+ fn: P(() => [
1206
+ k(i.$slots, "optionPdf", {}, void 0, !0)
1200
1207
  ]),
1201
1208
  key: "1"
1202
1209
  } : void 0,
1203
- a.$slots.optionCsv ? {
1210
+ i.$slots.optionCsv ? {
1204
1211
  name: "optionCsv",
1205
- fn: p(() => [
1206
- S(a.$slots, "optionCsv", {}, void 0, !0)
1212
+ fn: P(() => [
1213
+ k(i.$slots, "optionCsv", {}, void 0, !0)
1207
1214
  ]),
1208
1215
  key: "2"
1209
1216
  } : void 0,
1210
- a.$slots.optionImg ? {
1217
+ i.$slots.optionImg ? {
1211
1218
  name: "optionImg",
1212
- fn: p(() => [
1213
- S(a.$slots, "optionImg", {}, void 0, !0)
1219
+ fn: P(() => [
1220
+ k(i.$slots, "optionImg", {}, void 0, !0)
1214
1221
  ]),
1215
1222
  key: "3"
1216
1223
  } : void 0,
1217
- a.$slots.optionTable ? {
1224
+ i.$slots.optionTable ? {
1218
1225
  name: "optionTable",
1219
- fn: p(() => [
1220
- S(a.$slots, "optionTable", {}, void 0, !0)
1226
+ fn: P(() => [
1227
+ k(i.$slots, "optionTable", {}, void 0, !0)
1221
1228
  ]),
1222
1229
  key: "4"
1223
1230
  } : void 0,
1224
- a.$slots.optionLabels ? {
1231
+ i.$slots.optionLabels ? {
1225
1232
  name: "optionLabels",
1226
- fn: p(() => [
1227
- S(a.$slots, "optionLabels", {}, void 0, !0)
1233
+ fn: P(() => [
1234
+ k(i.$slots, "optionLabels", {}, void 0, !0)
1228
1235
  ]),
1229
1236
  key: "5"
1230
1237
  } : void 0,
1231
- a.$slots.optionStack ? {
1238
+ i.$slots.optionStack ? {
1232
1239
  name: "optionStack",
1233
- fn: p(() => [
1234
- S(a.$slots, "optionStack", {}, void 0, !0)
1240
+ fn: P(() => [
1241
+ k(i.$slots, "optionStack", {}, void 0, !0)
1235
1242
  ]),
1236
1243
  key: "6"
1237
1244
  } : void 0,
1238
- a.$slots.optionFullscreen ? {
1245
+ i.$slots.optionFullscreen ? {
1239
1246
  name: "optionFullscreen",
1240
- fn: p(({ toggleFullscreen: r, isFullscreen: h }) => [
1241
- S(a.$slots, "optionFullscreen", H(B({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1247
+ fn: P(({ toggleFullscreen: r, isFullscreen: h }) => [
1248
+ k(i.$slots, "optionFullscreen", W(E({ toggleFullscreen: r, isFullscreen: h })), void 0, !0)
1242
1249
  ]),
1243
1250
  key: "7"
1244
1251
  } : void 0,
1245
- a.$slots.optionAnnotator ? {
1252
+ i.$slots.optionAnnotator ? {
1246
1253
  name: "optionAnnotator",
1247
- fn: p(({ toggleAnnotator: r, isAnnotator: h }) => [
1248
- S(a.$slots, "optionAnnotator", H(B({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1254
+ fn: P(({ toggleAnnotator: r, isAnnotator: h }) => [
1255
+ k(i.$slots, "optionAnnotator", W(E({ toggleAnnotator: r, isAnnotator: h })), void 0, !0)
1249
1256
  ]),
1250
1257
  key: "8"
1251
1258
  } : void 0
1252
1259
  ]), 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", {
1260
+ e.isDataset ? (a(), s("svg", {
1254
1261
  key: 4,
1255
1262
  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"]),
1263
+ class: D([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1257
1264
  width: "100%",
1258
1265
  viewBox: t.viewBox,
1259
1266
  style: L(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1260
1267
  }, [
1261
- q(N),
1262
- a.$slots["chart-background"] ? (l(), i("foreignObject", {
1268
+ q(I),
1269
+ i.$slots["chart-background"] ? (a(), s("foreignObject", {
1263
1270
  key: 0,
1264
1271
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
1265
1272
  y: e.drawingArea.top,
@@ -1269,11 +1276,11 @@ function ar(a, s, o, u, t, e) {
1269
1276
  pointerEvents: "none"
1270
1277
  }
1271
1278
  }, [
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", {
1279
+ k(i.$slots, "chart-background", {}, void 0, !0)
1280
+ ], 8, et)) : c("", !0),
1281
+ e.maxSeries > 0 ? (a(), s("g", tt, [
1282
+ u("g", it, [
1283
+ e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (a(), s("line", {
1277
1284
  key: 0,
1278
1285
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1279
1286
  "stroke-width": "1",
@@ -1282,9 +1289,9 @@ function ar(a, s, o, u, t, e) {
1282
1289
  y1: e.forceValidValue(e.drawingArea.bottom),
1283
1290
  y2: e.forceValidValue(e.drawingArea.bottom),
1284
1291
  "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", {
1292
+ }, null, 8, rt)) : c("", !0),
1293
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(!0), s(f, { key: 2 }, m(e.allScales, (r) => (a(), s("g", null, [
1294
+ r.id === t.selectedScale && r.yLabels.length ? (a(!0), s(f, { key: 0 }, m(r.yLabels, (h) => (a(), s("line", {
1288
1295
  x1: e.drawingArea.left + e.xPadding,
1289
1296
  x2: e.drawingArea.right - e.xPadding,
1290
1297
  y1: e.forceValidValue(h.y),
@@ -1292,7 +1299,7 @@ function ar(a, s, o, u, t, e) {
1292
1299
  stroke: r.color,
1293
1300
  "stroke-width": 0.5,
1294
1301
  "stroke-linecap": "round"
1295
- }, null, 8, it))), 256)) : r.yLabels.length ? (l(!0), i(I, { key: 1 }, m(r.yLabels, (h) => (l(), i("line", {
1302
+ }, null, 8, nt))), 256)) : r.yLabels.length ? (a(!0), s(f, { key: 1 }, m(r.yLabels, (h) => (a(), s("line", {
1296
1303
  x1: e.drawingArea.left + e.xPadding,
1297
1304
  x2: e.drawingArea.right - e.xPadding,
1298
1305
  y1: e.forceValidValue(h.y),
@@ -1300,9 +1307,9 @@ function ar(a, s, o, u, t, e) {
1300
1307
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1301
1308
  "stroke-width": 0.5,
1302
1309
  "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", {
1310
+ }, null, 8, ht))), 256)) : c("", !0)
1311
+ ]))), 256)) : c("", !0) : (a(), s(f, { key: 1 }, [
1312
+ e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (a(), s("line", {
1306
1313
  key: 0,
1307
1314
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1308
1315
  "stroke-width": "1",
@@ -1312,8 +1319,8 @@ function ar(a, s, o, u, t, e) {
1312
1319
  y2: e.forceValidValue(e.drawingArea.bottom),
1313
1320
  "stroke-linecap": "round"
1314
1321
  }, 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", {
1322
+ e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (a(), s("g", lt, [
1323
+ (a(!0), s(f, null, m(e.yLabels, (r) => (a(), s("line", {
1317
1324
  x1: e.drawingArea.left + e.xPadding,
1318
1325
  x2: e.drawingArea.right - e.xPadding,
1319
1326
  y1: e.forceValidValue(r.y),
@@ -1321,11 +1328,11 @@ function ar(a, s, o, u, t, e) {
1321
1328
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1322
1329
  "stroke-width": 0.5,
1323
1330
  "stroke-linecap": "round"
1324
- }, null, 8, lt))), 256))
1331
+ }, null, 8, st))), 256))
1325
1332
  ])) : c("", !0)
1326
1333
  ], 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", {
1334
+ e.FINAL_CONFIG.chart.grid.showVerticalLines ? (a(), s("g", ot, [
1335
+ (a(!0), s(f, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (r, h) => (a(), s("line", {
1329
1336
  key: `grid_vertical_line_${h}`,
1330
1337
  x1: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1331
1338
  x2: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
@@ -1333,53 +1340,53 @@ function ar(a, s, o, u, t, e) {
1333
1340
  y2: e.forceValidValue(e.drawingArea.bottom),
1334
1341
  "stroke-width": "0.5",
1335
1342
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1336
- }, null, 8, ht))), 128))
1343
+ }, null, 8, ct))), 128))
1337
1344
  ])) : c("", !0)
1338
1345
  ]),
1339
- (l(!0), i(I, null, m(e.barSet, (r, h) => (l(), i("defs", {
1346
+ (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("defs", {
1340
1347
  key: `def_rect_${h}`
1341
1348
  }, [
1342
- f("linearGradient", {
1349
+ u("linearGradient", {
1343
1350
  id: `rectGradient_pos_${h}_${t.uniqueId}`,
1344
1351
  x2: "0%",
1345
1352
  y2: "100%"
1346
1353
  }, [
1347
- f("stop", {
1354
+ u("stop", {
1348
1355
  offset: "0%",
1349
1356
  "stop-color": r.color
1350
- }, null, 8, ct),
1351
- f("stop", {
1357
+ }, null, 8, ut),
1358
+ u("stop", {
1352
1359
  offset: "62%",
1353
1360
  "stop-color": `${e.shiftHue(r.color, 0.02)}`
1354
- }, null, 8, dt),
1355
- f("stop", {
1361
+ }, null, 8, gt),
1362
+ u("stop", {
1356
1363
  offset: "100%",
1357
1364
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1358
- }, null, 8, ut)
1359
- ], 8, ot),
1360
- f("linearGradient", {
1365
+ }, null, 8, ft)
1366
+ ], 8, dt),
1367
+ u("linearGradient", {
1361
1368
  id: `rectGradient_neg_${h}_${t.uniqueId}`,
1362
1369
  x2: "0%",
1363
1370
  y2: "100%"
1364
1371
  }, [
1365
- f("stop", {
1372
+ u("stop", {
1366
1373
  offset: "0%",
1367
1374
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1368
- }, null, 8, ft),
1369
- f("stop", {
1375
+ }, null, 8, mt),
1376
+ u("stop", {
1370
1377
  offset: "38%",
1371
1378
  "stop-color": `${e.shiftHue(r.color, 0.02)}`
1372
- }, null, 8, It),
1373
- f("stop", {
1379
+ }, null, 8, Nt),
1380
+ u("stop", {
1374
1381
  offset: "100%",
1375
1382
  "stop-color": r.color
1376
- }, null, 8, mt)
1377
- ], 8, gt)
1383
+ }, null, 8, xt)
1384
+ ], 8, It)
1378
1385
  ]))), 128)),
1379
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("defs", {
1386
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("defs", {
1380
1387
  key: `def_plot_${h}`
1381
1388
  }, [
1382
- f("radialGradient", {
1389
+ u("radialGradient", {
1383
1390
  id: `plotGradient_${h}_${t.uniqueId}`,
1384
1391
  cx: "50%",
1385
1392
  cy: "50%",
@@ -1387,20 +1394,20 @@ function ar(a, s, o, u, t, e) {
1387
1394
  fx: "50%",
1388
1395
  fy: "50%"
1389
1396
  }, [
1390
- f("stop", {
1397
+ u("stop", {
1391
1398
  offset: "0%",
1392
1399
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1393
- }, null, 8, xt),
1394
- f("stop", {
1400
+ }, null, 8, Ft),
1401
+ u("stop", {
1395
1402
  offset: "100%",
1396
1403
  "stop-color": r.color
1397
- }, null, 8, bt)
1398
- ], 8, Nt)
1404
+ }, null, 8, _t)
1405
+ ], 8, bt)
1399
1406
  ]))), 128)),
1400
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("defs", {
1407
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("defs", {
1401
1408
  key: `def_line_${h}`
1402
1409
  }, [
1403
- f("radialGradient", {
1410
+ u("radialGradient", {
1404
1411
  id: `lineGradient_${h}_${t.uniqueId}`,
1405
1412
  cx: "50%",
1406
1413
  cy: "50%",
@@ -1408,35 +1415,35 @@ function ar(a, s, o, u, t, e) {
1408
1415
  fx: "50%",
1409
1416
  fy: "50%"
1410
1417
  }, [
1411
- f("stop", {
1418
+ u("stop", {
1412
1419
  offset: "0%",
1413
1420
  "stop-color": `${e.shiftHue(r.color, 0.05)}`
1414
- }, null, 8, _t),
1415
- f("stop", {
1421
+ }, null, 8, yt),
1422
+ u("stop", {
1416
1423
  offset: "100%",
1417
1424
  "stop-color": r.color
1418
- }, null, 8, At)
1419
- ], 8, Ft),
1420
- f("linearGradient", {
1425
+ }, null, 8, Lt)
1426
+ ], 8, At),
1427
+ u("linearGradient", {
1421
1428
  id: `areaGradient_${h}_${t.uniqueId}`,
1422
1429
  x1: "0%",
1423
1430
  x2: "100%",
1424
1431
  y1: "0%",
1425
1432
  y2: "0%"
1426
1433
  }, [
1427
- f("stop", {
1434
+ u("stop", {
1428
1435
  offset: "0%",
1429
1436
  "stop-color": `${e.setOpacity(e.shiftHue(r.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1430
- }, null, 8, Lt),
1431
- f("stop", {
1437
+ }, null, 8, St),
1438
+ u("stop", {
1432
1439
  offset: "100%",
1433
1440
  "stop-color": `${e.setOpacity(r.color, e.FINAL_CONFIG.line.area.opacity)}`
1434
- }, null, 8, Ct)
1435
- ], 8, yt)
1441
+ }, null, 8, kt)
1442
+ ], 8, Ct)
1436
1443
  ]))), 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", {
1444
+ (a(!0), s(f, null, m(e.highlightAreas, (r) => (a(), s("g", null, [
1445
+ r.show ? (a(!0), s(f, { key: 0 }, m(r.span, (h, n) => (a(), s("g", null, [
1446
+ u("rect", {
1440
1447
  style: L({
1441
1448
  transition: "none",
1442
1449
  opacity: r.from + n >= t.slicer.start && r.from + n <= t.slicer.end - 1 ? 1 : 0
@@ -1446,8 +1453,8 @@ function ar(a, s, o, u, t, e) {
1446
1453
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1447
1454
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1448
1455
  fill: e.setOpacity(r.color, r.opacity)
1449
- }, null, 12, St),
1450
- r.caption.text && n === 0 ? (l(), i("foreignObject", {
1456
+ }, null, 12, wt),
1457
+ r.caption.text && n === 0 ? (a(), s("foreignObject", {
1451
1458
  key: 0,
1452
1459
  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
1460
  y: e.drawingArea.top + r.caption.offsetY,
@@ -1458,34 +1465,34 @@ function ar(a, s, o, u, t, e) {
1458
1465
  height: "1",
1459
1466
  width: r.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * r.span : r.caption.width
1460
1467
  }, [
1461
- f("div", {
1468
+ u("div", {
1462
1469
  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)
1470
+ }, w(r.caption.text), 5)
1471
+ ], 12, Ot)) : c("", !0)
1465
1472
  ]))), 256)) : c("", !0)
1466
1473
  ]))), 256)),
1467
- f("g", null, [
1468
- (l(!0), i(I, null, m(e.maxSeries, (r, h) => (l(), i("g", {
1474
+ u("g", null, [
1475
+ (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
1469
1476
  key: `tooltip_trap_highlighter_${h}`
1470
1477
  }, [
1471
- f("rect", {
1478
+ u("rect", {
1472
1479
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
1473
1480
  y: e.drawingArea.top,
1474
1481
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1475
1482
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1476
1483
  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)
1484
+ }, null, 8, Gt)
1478
1485
  ]))), 128))
1479
1486
  ]),
1480
- e.barSet.length ? (l(!0), i(I, { key: 0 }, m(e.barSet, (r, h) => (l(), i("g", {
1487
+ e.barSet.length ? (a(!0), s(f, { key: 0 }, m(e.barSet, (r, h) => (a(), s("g", {
1481
1488
  key: `serie_bar_${h}`,
1482
- class: P(`serie_bar_${h}`),
1489
+ class: D(`serie_bar_${h}`),
1483
1490
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1484
1491
  }, [
1485
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1486
- key: `bar_plot_${h}_${d}`
1492
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1493
+ key: `bar_plot_${h}_${g}`
1487
1494
  }, [
1488
- e.canShowValue(n.value) ? (l(), i("rect", {
1495
+ e.canShowValue(n.value) ? (a(), s("rect", {
1489
1496
  key: 0,
1490
1497
  x: e.calcRectX(n),
1491
1498
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1495,8 +1502,8 @@ function ar(a, s, o, u, t, e) {
1495
1502
  fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${t.uniqueId})` : `url(#rectGradient_neg_${h}_${t.uniqueId})` : r.color,
1496
1503
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1497
1504
  "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", {
1505
+ }, null, 8, vt)) : c("", !0),
1506
+ e.canShowValue(n.value) && i.$slots.pattern ? (a(), s("rect", {
1500
1507
  key: 1,
1501
1508
  x: e.calcRectX(n),
1502
1509
  y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
@@ -1506,8 +1513,8 @@ function ar(a, s, o, u, t, e) {
1506
1513
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`,
1507
1514
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? r.color : e.FINAL_CONFIG.bar.border.stroke,
1508
1515
  "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", {
1516
+ }, null, 8, zt)) : c("", !0),
1517
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1511
1518
  key: 2,
1512
1519
  style: { overflow: "visible" },
1513
1520
  height: "12",
@@ -1515,14 +1522,14 @@ function ar(a, s, o, u, t, e) {
1515
1522
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1516
1523
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1517
1524
  }, [
1518
- S(a.$slots, "plot-comment", {
1519
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1525
+ k(i.$slots, "plot-comment", {
1526
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1520
1527
  }, void 0, !0)
1521
- ], 8, vt)) : c("", !0)
1528
+ ], 8, Mt)) : c("", !0)
1522
1529
  ]))), 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", {
1530
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", pt, [
1531
+ u("defs", null, [
1532
+ u("marker", {
1526
1533
  id: `bar_arrow_${h}`,
1527
1534
  markerWidth: 7,
1528
1535
  markerHeight: 7,
@@ -1530,13 +1537,13 @@ function ar(a, s, o, u, t, e) {
1530
1537
  refY: 7 / 2,
1531
1538
  orient: "auto"
1532
1539
  }, [
1533
- f("polygon", {
1540
+ u("polygon", {
1534
1541
  points: `0 0, 7 ${7 / 2}, 0 7`,
1535
1542
  fill: r.color
1536
- }, null, 8, pt)
1537
- ], 8, Mt)
1543
+ }, null, 8, Pt)
1544
+ ], 8, Tt)
1538
1545
  ]),
1539
- r.plots.length > 1 ? (l(), i("line", {
1546
+ r.plots.length > 1 ? (a(), s("line", {
1540
1547
  key: 0,
1541
1548
  x1: e.calcLinearProgression(r.plots).x1,
1542
1549
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1547,21 +1554,21 @@ function ar(a, s, o, u, t, e) {
1547
1554
  "stroke-dasharray": 2,
1548
1555
  "marker-end": `url(#bar_arrow_${h})`
1549
1556
  }, null, 8, Vt)) : c("", !0),
1550
- r.plots.length > 1 ? (l(), i("text", {
1557
+ r.plots.length > 1 ? (a(), s("text", {
1551
1558
  key: 1,
1552
1559
  "text-anchor": "middle",
1553
1560
  x: e.calcLinearProgression(r.plots).x2,
1554
1561
  y: e.calcLinearProgression(r.plots).y2 - 6,
1555
1562
  "font-size": t.fontSizes.plotLabels,
1556
1563
  fill: r.color
1557
- }, k(e.dataLabel({
1564
+ }, w(e.dataLabel({
1558
1565
  v: e.calcLinearProgression(r.plots).trend * 100,
1559
1566
  s: "%",
1560
1567
  r: 2
1561
- })), 9, Tt)) : c("", !0)
1568
+ })), 9, Rt)) : c("", !0)
1562
1569
  ])) : c("", !0)
1563
1570
  ], 6))), 128)) : c("", !0),
1564
- !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), i("line", {
1571
+ !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (a(), s("line", {
1565
1572
  key: 1,
1566
1573
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1567
1574
  "stroke-width": "1",
@@ -1570,9 +1577,9 @@ function ar(a, s, o, u, t, e) {
1570
1577
  y1: e.forceValidValue(e.zero),
1571
1578
  y2: e.forceValidValue(e.zero),
1572
1579
  "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", {
1580
+ }, null, 8, Dt)) : c("", !0),
1581
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Ht, [
1582
+ u("line", {
1576
1583
  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
1584
  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
1585
  y1: e.forceValidValue(e.drawingArea.top),
@@ -1582,9 +1589,9 @@ function ar(a, s, o, u, t, e) {
1582
1589
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1583
1590
  "stroke-linecap": "round",
1584
1591
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1585
- }, null, 8, Dt)
1592
+ }, null, 8, Bt)
1586
1593
  ])) : c("", !0),
1587
- e.FINAL_CONFIG.chart.grid.frame.show ? (l(), i("rect", {
1594
+ e.FINAL_CONFIG.chart.grid.frame.show ? (a(), s("rect", {
1588
1595
  key: 3,
1589
1596
  style: { pointerEvents: "none", transition: "none" },
1590
1597
  x: e.drawingArea.left + e.xPadding < 0 ? 0 : e.drawingArea.left + e.xPadding,
@@ -1597,11 +1604,11 @@ function ar(a, s, o, u, t, e) {
1597
1604
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1598
1605
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1599
1606
  "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", {
1607
+ }, null, 8, Wt)) : c("", !0),
1608
+ e.FINAL_CONFIG.chart.grid.labels.show ? (a(), s("g", Et, [
1609
+ t.mutableConfig.useIndividualScale ? (a(), s(f, { key: 0 }, [
1610
+ (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", null, [
1611
+ u("line", {
1605
1612
  x1: r.x + e.xPadding,
1606
1613
  x2: r.x + e.xPadding,
1607
1614
  y1: t.mutableConfig.isStacked ? e.forceValidValue(e.drawingArea.bottom - r.yOffset - r.individualHeight) : e.forceValidValue(e.drawingArea.top),
@@ -1610,18 +1617,18 @@ function ar(a, s, o, u, t, e) {
1610
1617
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1611
1618
  "stroke-linecap": "round",
1612
1619
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1613
- }, null, 12, Wt)
1620
+ }, null, 12, Yt)
1614
1621
  ]))), 256)),
1615
- (l(!0), i(I, null, m(e.allScales, (r) => (l(), i("g", {
1622
+ (a(!0), s(f, null, m(e.allScales, (r) => (a(), s("g", {
1616
1623
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1617
1624
  }, [
1618
- f("text", {
1625
+ u("text", {
1619
1626
  fill: r.color,
1620
1627
  "font-size": t.fontSizes.dataLabels,
1621
1628
  "text-anchor": "middle",
1622
1629
  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", {
1630
+ }, w(r.name) + " " + w(r.scaleLabel ? `- ${r.scaleLabel}` : ""), 9, qt),
1631
+ (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("line", {
1625
1632
  x1: r.x - 3 + e.xPadding,
1626
1633
  x2: r.x + e.xPadding,
1627
1634
  y1: e.forceValidValue(h.y),
@@ -1629,14 +1636,14 @@ function ar(a, s, o, u, t, e) {
1629
1636
  stroke: r.color,
1630
1637
  "stroke-width": 1,
1631
1638
  "stroke-linecap": "round"
1632
- }, null, 8, Yt))), 256)),
1633
- (l(!0), i(I, null, m(r.yLabels, (h, n) => (l(), i("text", {
1639
+ }, null, 8, Xt))), 256)),
1640
+ (a(!0), s(f, null, m(r.yLabels, (h, n) => (a(), s("text", {
1634
1641
  x: r.x - 5 + e.xPadding,
1635
1642
  y: e.forceValidValue(h.y) + t.fontSizes.dataLabels / 3,
1636
1643
  "font-size": t.fontSizes.dataLabels,
1637
1644
  "text-anchor": "end",
1638
1645
  fill: r.color
1639
- }, k(e.applyDataLabel(
1646
+ }, w(e.applyDataLabel(
1640
1647
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1641
1648
  h.value,
1642
1649
  e.dataLabel({
@@ -1646,12 +1653,12 @@ function ar(a, s, o, u, t, e) {
1646
1653
  r: 1
1647
1654
  }),
1648
1655
  { datapoint: h.datapoint, seriesIndex: n }
1649
- )), 9, qt))), 256))
1656
+ )), 9, Ut))), 256))
1650
1657
  ], 4))), 256))
1651
- ], 64)) : (l(!0), i(I, { key: 1 }, m(e.yLabels, (r, h) => (l(), i("g", {
1658
+ ], 64)) : (a(!0), s(f, { key: 1 }, m(e.yLabels, (r, h) => (a(), s("g", {
1652
1659
  key: `yLabel_${h}`
1653
1660
  }, [
1654
- e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (l(), i("line", {
1661
+ e.canShowValue(r) && r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("line", {
1655
1662
  key: 0,
1656
1663
  x1: e.drawingArea.left + e.xPadding,
1657
1664
  x2: e.drawingArea.left - 5 + e.xPadding,
@@ -1660,15 +1667,15 @@ function ar(a, s, o, u, t, e) {
1660
1667
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1661
1668
  "stroke-width": "1",
1662
1669
  "stroke-linecap": "round"
1663
- }, null, 8, Xt)) : c("", !0),
1664
- r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (l(), i("text", {
1670
+ }, null, 8, Zt)) : c("", !0),
1671
+ r.value >= e.niceScale.min && r.value <= e.niceScale.max ? (a(), s("text", {
1665
1672
  key: 1,
1666
1673
  x: e.drawingArea.left - 7 + e.xPadding,
1667
1674
  y: e.checkNaN(r.y + t.fontSizes.dataLabels / 3),
1668
1675
  "font-size": t.fontSizes.dataLabels,
1669
1676
  "text-anchor": "end",
1670
1677
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1671
- }, k(e.canShowValue(r.value) ? e.applyDataLabel(
1678
+ }, w(e.canShowValue(r.value) ? e.applyDataLabel(
1672
1679
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1673
1680
  r.value,
1674
1681
  e.dataLabel({
@@ -1677,27 +1684,27 @@ function ar(a, s, o, u, t, e) {
1677
1684
  s: r.suffix,
1678
1685
  r: 1
1679
1686
  })
1680
- ) : ""), 9, Ut)) : c("", !0)
1687
+ ) : ""), 9, Jt)) : c("", !0)
1681
1688
  ]))), 128))
1682
1689
  ])) : c("", !0),
1683
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("g", {
1690
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1684
1691
  key: `serie_plot_${h}`,
1685
- class: P(`serie_plot_${h}`),
1692
+ class: D(`serie_plot_${h}`),
1686
1693
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1687
1694
  }, [
1688
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1689
- key: `circle_plot_${h}_${d}`
1695
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1696
+ key: `circle_plot_${h}_${g}`
1690
1697
  }, [
1691
- n && e.canShowValue(n.value) ? (l(), D(b, {
1698
+ n && e.canShowValue(n.value) ? (a(), B(b, {
1692
1699
  key: 0,
1693
1700
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1694
1701
  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
1702
  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,
1703
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1697
1704
  stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1698
1705
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1699
1706
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1700
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), i("foreignObject", {
1707
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1701
1708
  key: 1,
1702
1709
  style: { overflow: "visible" },
1703
1710
  height: "12",
@@ -1705,16 +1712,16 @@ function ar(a, s, o, u, t, e) {
1705
1712
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1706
1713
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1707
1714
  }, [
1708
- f("div", Jt, [
1709
- S(a.$slots, "plot-comment", {
1710
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1715
+ u("div", Kt, [
1716
+ k(i.$slots, "plot-comment", {
1717
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1711
1718
  }, void 0, !0)
1712
1719
  ])
1713
- ], 8, Zt)) : c("", !0)
1720
+ ], 8, Qt)) : c("", !0)
1714
1721
  ]))), 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", {
1722
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", jt, [
1723
+ u("defs", null, [
1724
+ u("marker", {
1718
1725
  id: `plot_arrow_${h}`,
1719
1726
  markerWidth: 7,
1720
1727
  markerHeight: 7,
@@ -1722,13 +1729,13 @@ function ar(a, s, o, u, t, e) {
1722
1729
  refY: 7 / 2,
1723
1730
  orient: "auto"
1724
1731
  }, [
1725
- f("polygon", {
1732
+ u("polygon", {
1726
1733
  points: `0 0, 7 ${7 / 2}, 0 7`,
1727
1734
  fill: r.color
1728
- }, null, 8, jt)
1729
- ], 8, Qt)
1735
+ }, null, 8, ei)
1736
+ ], 8, $t)
1730
1737
  ]),
1731
- r.plots.length > 1 ? (l(), i("line", {
1738
+ r.plots.length > 1 ? (a(), s("line", {
1732
1739
  key: 0,
1733
1740
  x1: e.calcLinearProgression(r.plots).x1,
1734
1741
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1738,123 +1745,108 @@ function ar(a, s, o, u, t, e) {
1738
1745
  stroke: r.color,
1739
1746
  "stroke-dasharray": 2,
1740
1747
  "marker-end": `url(#plot_arrow_${h})`
1741
- }, null, 8, $t)) : c("", !0),
1742
- r.plots.length > 1 ? (l(), i("text", {
1748
+ }, null, 8, ti)) : c("", !0),
1749
+ r.plots.length > 1 ? (a(), s("text", {
1743
1750
  key: 1,
1744
1751
  "text-anchor": "middle",
1745
1752
  x: e.calcLinearProgression(r.plots).x2,
1746
1753
  y: e.calcLinearProgression(r.plots).y2 - 6,
1747
1754
  "font-size": t.fontSizes.plotLabels,
1748
1755
  fill: r.color
1749
- }, k(e.dataLabel({
1756
+ }, w(e.dataLabel({
1750
1757
  v: e.calcLinearProgression(r.plots).trend * 100,
1751
1758
  s: "%",
1752
1759
  r: 2
1753
- })), 9, ea)) : c("", !0)
1760
+ })), 9, ii)) : c("", !0)
1754
1761
  ])) : c("", !0)
1755
1762
  ], 6))), 128)),
1756
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
1763
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1757
1764
  key: `serie_line_${h}`,
1758
- class: P(`serie_line_${h}`),
1765
+ class: D(`serie_line_${h}`),
1759
1766
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1760
1767
  }, [
1761
- r.smooth && r.plots.length > 1 ? (l(), i("path", {
1768
+ r.smooth && r.plots.length > 1 ? (a(), s("path", {
1762
1769
  key: 0,
1763
1770
  d: `M${r.curve}`,
1764
1771
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1765
1772
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1766
1773
  "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1767
1774
  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)
1775
+ }, null, 8, ri)) : r.plots.length > 1 ? (a(), s("path", {
1776
+ key: 1,
1777
+ d: `M${r.straight}`,
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
+ fill: "none",
1782
+ "stroke-linecap": "round",
1783
+ "stroke-linejoin": "round"
1784
+ }, null, 8, ai)) : c("", !0)
1786
1785
  ], 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({
1786
+ i.$slots.pattern ? (a(), s("defs", li, [
1787
+ (a(!0), s(f, null, m(e.safeDataset, (r, h) => k(i.$slots, "pattern", Ye({
1789
1788
  key: `serie_pattern_slot_${h}`
1790
1789
  }, { ...r, seriesIndex: r.slotAbsoluteIndex, patternId: `pattern_${t.uniqueId}_${h}` }), void 0, !0)), 128))
1791
1790
  ])) : c("", !0),
1792
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
1791
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
1793
1792
  key: `serie_line_${h}`,
1794
- class: P(`serie_line_${h}`),
1793
+ class: D(`serie_line_${h}`),
1795
1794
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1796
1795
  }, [
1797
- r.useArea && r.plots.length > 1 ? (l(), i("g", ia, [
1798
- r.smooth ? (l(), i(I, { key: 0 }, [
1799
- f("path", {
1796
+ r.useArea && r.plots.length > 1 ? (a(), s("g", si, [
1797
+ r.smooth ? (a(), s(f, { key: 0 }, [
1798
+ u("path", {
1800
1799
  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
1800
  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", {
1801
+ }, null, 8, ni),
1802
+ i.$slots.pattern ? (a(), s("path", {
1804
1803
  key: 0,
1805
1804
  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
1805
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1807
- }, null, 8, na)) : c("", !0)
1808
- ], 64)) : (l(), i(I, { key: 1 }, [
1809
- f("path", {
1806
+ }, null, 8, hi)) : c("", !0)
1807
+ ], 64)) : (a(), s(f, { key: 1 }, [
1808
+ u("path", {
1810
1809
  d: `M${r.area}Z`,
1811
1810
  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", {
1811
+ }, null, 8, oi),
1812
+ i.$slots.pattern ? (a(), s("path", {
1814
1813
  key: 0,
1815
1814
  d: `M${r.area}Z`,
1816
1815
  fill: `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})`
1817
- }, null, 8, oa)) : c("", !0)
1816
+ }, null, 8, ci)) : c("", !0)
1818
1817
  ], 64))
1819
1818
  ])) : c("", !0),
1820
- r.smooth && r.plots.length > 1 ? (l(), i("path", {
1819
+ r.smooth && r.plots.length > 1 ? (a(), s("path", {
1821
1820
  key: 1,
1822
1821
  d: `M${r.curve}`,
1823
1822
  stroke: r.color,
1824
1823
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1825
1824
  "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}`
1825
+ fill: "none",
1826
+ "stroke-linecap": "round"
1827
+ }, null, 8, di)) : r.plots.length > 1 ? (a(), s("path", {
1828
+ key: 2,
1829
+ d: `M${r.straight}`,
1830
+ stroke: r.color,
1831
+ "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1832
+ "stroke-dasharray": r.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1833
+ fill: "none",
1834
+ "stroke-linecap": "round",
1835
+ "stroke-linejoin": "round"
1836
+ }, null, 8, ui)) : c("", !0),
1837
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1838
+ key: `circle_line_${h}_${g}`
1847
1839
  }, [
1848
- n && e.canShowValue(n.value) ? (l(), D(b, {
1840
+ !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
1841
  key: 0,
1850
1842
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle",
1851
1843
  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
1844
  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,
1845
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1854
1846
  stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : r.color,
1855
1847
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1856
1848
  }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1857
- n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), i("foreignObject", {
1849
+ n.comment && e.FINAL_CONFIG.chart.comments.show ? (a(), s("foreignObject", {
1858
1850
  key: 1,
1859
1851
  style: { overflow: "visible" },
1860
1852
  height: "12",
@@ -1862,16 +1854,16 @@ function ar(a, s, o, u, t, e) {
1862
1854
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1863
1855
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1864
1856
  }, [
1865
- f("div", fa, [
1866
- S(a.$slots, "plot-comment", {
1867
- plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: d }
1857
+ u("div", fi, [
1858
+ k(i.$slots, "plot-comment", {
1859
+ plot: { ...n, color: r.color, seriesIndex: h, datapointIndex: g }
1868
1860
  }, void 0, !0)
1869
1861
  ])
1870
- ], 8, ga)) : c("", !0)
1862
+ ], 8, gi)) : c("", !0)
1871
1863
  ]))), 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", {
1864
+ Object.hasOwn(r, "useProgression") && r.useProgression === !0 && !isNaN(e.calcLinearProgression(r.plots).trend) ? (a(), s("g", Ii, [
1865
+ u("defs", null, [
1866
+ u("marker", {
1875
1867
  id: `line_arrow_${h}`,
1876
1868
  markerWidth: 7,
1877
1869
  markerHeight: 7,
@@ -1879,13 +1871,13 @@ function ar(a, s, o, u, t, e) {
1879
1871
  refY: 7 / 2,
1880
1872
  orient: "auto"
1881
1873
  }, [
1882
- f("polygon", {
1874
+ u("polygon", {
1883
1875
  points: `0 0, 7 ${7 / 2}, 0 7`,
1884
1876
  fill: r.color
1885
- }, null, 8, Na)
1886
- ], 8, ma)
1877
+ }, null, 8, Ni)
1878
+ ], 8, mi)
1887
1879
  ]),
1888
- r.plots.length > 1 ? (l(), i("line", {
1880
+ r.plots.length > 1 ? (a(), s("line", {
1889
1881
  key: 0,
1890
1882
  x1: e.calcLinearProgression(r.plots).x1,
1891
1883
  x2: e.calcLinearProgression(r.plots).x2,
@@ -1895,38 +1887,38 @@ function ar(a, s, o, u, t, e) {
1895
1887
  stroke: r.color,
1896
1888
  "stroke-dasharray": 2,
1897
1889
  "marker-end": `url(#line_arrow_${h})`
1898
- }, null, 8, xa)) : c("", !0),
1899
- r.plots.length > 1 ? (l(), i("text", {
1890
+ }, null, 8, xi)) : c("", !0),
1891
+ r.plots.length > 1 ? (a(), s("text", {
1900
1892
  key: 1,
1901
1893
  "text-anchor": "middle",
1902
1894
  x: e.calcLinearProgression(r.plots).x2,
1903
1895
  y: e.calcLinearProgression(r.plots).y2 - 6,
1904
1896
  "font-size": t.fontSizes.plotLabels,
1905
1897
  fill: r.color
1906
- }, k(e.dataLabel({
1898
+ }, w(e.dataLabel({
1907
1899
  v: e.calcLinearProgression(r.plots).trend * 100,
1908
1900
  s: "%",
1909
1901
  r: 2
1910
- })), 9, ba)) : c("", !0)
1902
+ })), 9, bi)) : c("", !0)
1911
1903
  ])) : c("", !0)
1912
1904
  ], 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", {
1905
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (a(), s("g", Fi, [
1906
+ (a(!0), s(f, null, m(e.barSet, (r, h) => (a(), s("g", {
1915
1907
  key: `xLabel_bar_${h}`,
1916
- class: P(`xLabel_bar_${h}`),
1908
+ class: D(`xLabel_bar_${h}`),
1917
1909
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1918
1910
  }, [
1919
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1920
- key: `xLabel_bar_${h}_${d}`
1911
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1912
+ key: `xLabel_bar_${h}_${g}`
1921
1913
  }, [
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", {
1914
+ 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
1915
  key: 0,
1924
1916
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1925
1917
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1926
1918
  "text-anchor": "middle",
1927
1919
  "font-size": t.fontSizes.plotLabels,
1928
1920
  fill: e.FINAL_CONFIG.bar.labels.color
1929
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1921
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1930
1922
  e.FINAL_CONFIG.bar.labels.formatter,
1931
1923
  n.value,
1932
1924
  e.dataLabel({
@@ -1939,8 +1931,8 @@ function ar(a, s, o, u, t, e) {
1939
1931
  datapoint: n,
1940
1932
  serie: r
1941
1933
  }
1942
- ) : ""), 9, _a)) : c("", !0),
1943
- n && e.FINAL_CONFIG.bar.serieName.show ? (l(), i("text", {
1934
+ ) : ""), 9, _i)) : c("", !0),
1935
+ n && e.FINAL_CONFIG.bar.serieName.show ? (a(), s("text", {
1944
1936
  key: 1,
1945
1937
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1946
1938
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
@@ -1948,27 +1940,27 @@ function ar(a, s, o, u, t, e) {
1948
1940
  "font-size": t.fontSizes.plotLabels,
1949
1941
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? r.color : e.FINAL_CONFIG.bar.serieName.color,
1950
1942
  "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)
1943
+ }, 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
1944
  ]))), 128))
1953
1945
  ], 6))), 128))
1954
1946
  ])) : 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", {
1947
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", yi, [
1948
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
1957
1949
  key: `xLabel_plot_${h}`,
1958
- class: P(`xLabel_plot_${h}`),
1950
+ class: D(`xLabel_plot_${h}`),
1959
1951
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1960
1952
  }, [
1961
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
1962
- key: `xLabel_plot_${h}_${d}`
1953
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
1954
+ key: `xLabel_plot_${h}_${g}`
1963
1955
  }, [
1964
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (l(), i("text", {
1956
+ n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
1965
1957
  key: 0,
1966
1958
  x: n.x,
1967
1959
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1968
1960
  "text-anchor": "middle",
1969
1961
  "font-size": t.fontSizes.plotLabels,
1970
1962
  fill: e.FINAL_CONFIG.plot.labels.color
1971
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1963
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
1972
1964
  e.FINAL_CONFIG.plot.labels.formatter,
1973
1965
  n.value,
1974
1966
  e.dataLabel({
@@ -1981,8 +1973,8 @@ function ar(a, s, o, u, t, e) {
1981
1973
  datapoint: n,
1982
1974
  serie: r
1983
1975
  }
1984
- ) : ""), 9, La)) : c("", !0),
1985
- n && d === 0 && r.useTag && r.useTag === "start" ? (l(), i("foreignObject", {
1976
+ ) : ""), 9, Li)) : c("", !0),
1977
+ n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
1986
1978
  key: 1,
1987
1979
  x: n.x,
1988
1980
  y: n.y - 20,
@@ -1990,11 +1982,11 @@ function ar(a, s, o, u, t, e) {
1990
1982
  width: "150",
1991
1983
  style: { overflow: "visible" }
1992
1984
  }, [
1993
- f("div", {
1985
+ u("div", {
1994
1986
  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", {
1987
+ }, w(r.name), 5)
1988
+ ], 8, Ci)) : c("", !0),
1989
+ n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
1998
1990
  key: 2,
1999
1991
  x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2000
1992
  y: n.y - 20,
@@ -2002,30 +1994,30 @@ function ar(a, s, o, u, t, e) {
2002
1994
  width: "150",
2003
1995
  style: { overflow: "visible" }
2004
1996
  }, [
2005
- f("div", {
1997
+ u("div", {
2006
1998
  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)
1999
+ }, w(r.name), 5)
2000
+ ], 8, Si)) : c("", !0)
2009
2001
  ]))), 128))
2010
2002
  ], 6))), 128))
2011
2003
  ])) : 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", {
2004
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (a(), s("g", ki, [
2005
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2014
2006
  key: `xLabel_line_${h}`,
2015
- class: P(`xLabel_line_${h}`),
2007
+ class: D(`xLabel_line_${h}`),
2016
2008
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2017
2009
  }, [
2018
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2019
- key: `xLabel_line_${h}_${d}`
2010
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2011
+ key: `xLabel_line_${h}_${g}`
2020
2012
  }, [
2021
- n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (l(), i("text", {
2013
+ n && !Object.hasOwn(r, "dataLabels") || r.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (a(), s("text", {
2022
2014
  key: 0,
2023
2015
  x: n.x,
2024
2016
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
2025
2017
  "text-anchor": "middle",
2026
2018
  "font-size": t.fontSizes.plotLabels,
2027
2019
  fill: e.FINAL_CONFIG.line.labels.color
2028
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
2020
+ }, w(e.canShowValue(n.value) ? e.applyDataLabel(
2029
2021
  e.FINAL_CONFIG.line.labels.formatter,
2030
2022
  n.value,
2031
2023
  e.dataLabel({
@@ -2038,8 +2030,8 @@ function ar(a, s, o, u, t, e) {
2038
2030
  datapoint: n,
2039
2031
  serie: r
2040
2032
  }
2041
- ) : ""), 9, wa)) : c("", !0),
2042
- n && d === 0 && r.useTag && r.useTag === "start" ? (l(), i("foreignObject", {
2033
+ ) : ""), 9, wi)) : c("", !0),
2034
+ n && g === 0 && r.useTag && r.useTag === "start" ? (a(), s("foreignObject", {
2043
2035
  key: 1,
2044
2036
  x: n.x,
2045
2037
  y: n.y - 20,
@@ -2047,11 +2039,11 @@ function ar(a, s, o, u, t, e) {
2047
2039
  width: "150",
2048
2040
  style: { overflow: "visible" }
2049
2041
  }, [
2050
- f("div", {
2042
+ u("div", {
2051
2043
  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", {
2044
+ }, w(r.name), 5)
2045
+ ], 8, Oi)) : c("", !0),
2046
+ n && g === r.plots.length - 1 && r.useTag && r.useTag === "end" ? (a(), s("foreignObject", {
2055
2047
  key: 2,
2056
2048
  x: n.x - r.name.length * (t.fontSizes.plotLabels / 2),
2057
2049
  y: n.y - 20,
@@ -2059,22 +2051,22 @@ function ar(a, s, o, u, t, e) {
2059
2051
  width: "150",
2060
2052
  style: { overflow: "visible" }
2061
2053
  }, [
2062
- f("div", {
2054
+ u("div", {
2063
2055
  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)
2056
+ }, w(r.name), 5)
2057
+ ], 8, Gi)) : c("", !0)
2066
2058
  ]))), 128))
2067
2059
  ], 6))), 128))
2068
2060
  ])) : c("", !0),
2069
- (l(!0), i(I, null, m(e.lineSet, (r, h) => (l(), i("g", {
2061
+ (a(!0), s(f, null, m(e.lineSet, (r, h) => (a(), s("g", {
2070
2062
  key: `xLabel_line_${h}`,
2071
- class: P(`xLabel_line_${h}`),
2063
+ class: D(`xLabel_line_${h}`),
2072
2064
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2073
2065
  }, [
2074
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2075
- key: `xLabel_line_${h}_${d}`
2066
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2067
+ key: `xLabel_line_${h}_${g}`
2076
2068
  }, [
2077
- n && d === 0 && r.showSerieName && r.showSerieName === "start" ? (l(), i("text", {
2069
+ n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2078
2070
  key: 0,
2079
2071
  x: n.x - t.fontSizes.plotLabels,
2080
2072
  y: n.y,
@@ -2089,8 +2081,8 @@ function ar(a, s, o, u, t, e) {
2089
2081
  y: n.y,
2090
2082
  maxWords: 2
2091
2083
  })
2092
- }, null, 8, va)) : c("", !0),
2093
- n && d === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (l(), i("text", {
2084
+ }, null, 8, vi)) : c("", !0),
2085
+ n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2094
2086
  key: 1,
2095
2087
  x: n.x + t.fontSizes.plotLabels,
2096
2088
  y: n.y,
@@ -2105,18 +2097,18 @@ function ar(a, s, o, u, t, e) {
2105
2097
  y: n.y,
2106
2098
  maxWords: 2
2107
2099
  })
2108
- }, null, 8, za)) : c("", !0)
2100
+ }, null, 8, zi)) : c("", !0)
2109
2101
  ]))), 128))
2110
2102
  ], 6))), 128)),
2111
- (l(!0), i(I, null, m(e.plotSet, (r, h) => (l(), i("g", {
2103
+ (a(!0), s(f, null, m(e.plotSet, (r, h) => (a(), s("g", {
2112
2104
  key: `xLabel_plot_${h}`,
2113
- class: P(`xLabel_plot_${h}`),
2105
+ class: D(`xLabel_plot_${h}`),
2114
2106
  style: L(`opacity:${t.selectedScale ? t.selectedScale === r.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2115
2107
  }, [
2116
- (l(!0), i(I, null, m(r.plots, (n, d) => (l(), i("g", {
2117
- key: `xLabel_plot_${h}_${d}`
2108
+ (a(!0), s(f, null, m(r.plots, (n, g) => (a(), s("g", {
2109
+ key: `xLabel_plot_${h}_${g}`
2118
2110
  }, [
2119
- n && d === 0 && r.showSerieName && r.showSerieName === "start" ? (l(), i("text", {
2111
+ n && g === 0 && r.showSerieName && r.showSerieName === "start" ? (a(), s("text", {
2120
2112
  key: 0,
2121
2113
  x: n.x - t.fontSizes.plotLabels,
2122
2114
  y: n.y,
@@ -2131,8 +2123,8 @@ function ar(a, s, o, u, t, e) {
2131
2123
  y: n.y,
2132
2124
  maxWords: 2
2133
2125
  })
2134
- }, null, 8, Ma)) : c("", !0),
2135
- n && d === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (l(), i("text", {
2126
+ }, null, 8, Mi)) : c("", !0),
2127
+ n && g === r.plots.length - 1 && r.showSerieName && r.showSerieName === "end" ? (a(), s("text", {
2136
2128
  key: 1,
2137
2129
  x: n.x + t.fontSizes.plotLabels,
2138
2130
  y: n.y,
@@ -2147,41 +2139,41 @@ function ar(a, s, o, u, t, e) {
2147
2139
  y: n.y,
2148
2140
  maxWords: 2
2149
2141
  })
2150
- }, null, 8, pa)) : c("", !0)
2142
+ }, null, 8, pi)) : c("", !0)
2151
2143
  ]))), 128))
2152
2144
  ], 6))), 128)),
2153
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), i(I, { key: 9 }, m(e.allScales, (r) => (l(), i("rect", {
2145
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (a(!0), s(f, { key: 9 }, m(e.allScales, (r) => (a(), s("rect", {
2154
2146
  x: r.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + e.xPadding,
2155
2147
  y: e.drawingArea.top,
2156
2148
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2157
2149
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2158
2150
  fill: t.selectedScale === r.id ? e.setOpacity(r.color, 20) : "transparent",
2159
2151
  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", {
2152
+ onMouseleave: l[0] || (l[0] = (h) => t.selectedScale = null)
2153
+ }, null, 40, Ti))), 256)) : c("", !0),
2154
+ u("g", null, [
2155
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (a(), s("text", {
2164
2156
  key: 0,
2165
2157
  "font-size": t.fontSizes.yAxis,
2166
2158
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2167
2159
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2168
2160
  "text-anchor": "middle",
2169
2161
  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", {
2162
+ }, w(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Pi)) : c("", !0),
2163
+ e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (a(), s("text", {
2172
2164
  key: 1,
2173
2165
  "text-anchor": "middle",
2174
2166
  x: t.width / 2,
2175
2167
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2176
2168
  "font-size": t.fontSizes.yAxis,
2177
2169
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2178
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Pa)) : c("", !0)
2170
+ }, w(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Vi)) : c("", !0)
2179
2171
  ]),
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", {
2172
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (a(), s("g", Ri, [
2173
+ i.$slots["time-label"] ? (a(!0), s(f, { key: 0 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2182
2174
  key: `time_label_${h}`
2183
2175
  }, [
2184
- S(a.$slots, "time-label", H(B({
2176
+ k(i.$slots, "time-label", W(E({
2185
2177
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2,
2186
2178
  y: e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset,
2187
2179
  fontSize: t.fontSizes.xAxis,
@@ -2192,10 +2184,10 @@ function ar(a, s, o, u, t, e) {
2192
2184
  textAnchor: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2193
2185
  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
2186
  })), void 0, !0)
2195
- ]))), 128)) : (l(!0), i(I, { key: 1 }, m(e.timeLabels, (r, h) => (l(), i("g", {
2187
+ ]))), 128)) : (a(!0), s(f, { key: 1 }, m(e.timeLabels, (r, h) => (a(), s("g", {
2196
2188
  key: `time_label_${h}`
2197
2189
  }, [
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", {
2190
+ 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
2191
  key: 0,
2200
2192
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2201
2193
  "font-size": t.fontSizes.xAxis,
@@ -2205,14 +2197,14 @@ function ar(a, s, o, u, t, e) {
2205
2197
  cursor: "pointer"
2206
2198
  },
2207
2199
  onClick: () => e.selectTimeLabel(r, h)
2208
- }, k(r.text || ""), 9, Da)) : c("", !0)
2200
+ }, w(r.text || ""), 9, Di)) : c("", !0)
2209
2201
  ]))), 128))
2210
2202
  ])) : c("", !0),
2211
- f("g", null, [
2212
- (l(!0), i(I, null, m(e.maxSeries, (r, h) => (l(), i("g", {
2203
+ u("g", null, [
2204
+ (a(!0), s(f, null, m(e.maxSeries, (r, h) => (a(), s("g", {
2213
2205
  key: `tooltip_trap_${h}`
2214
2206
  }, [
2215
- f("rect", {
2207
+ u("rect", {
2216
2208
  "data-cy-trap": "",
2217
2209
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2218
2210
  y: e.drawingArea.top,
@@ -2220,38 +2212,38 @@ function ar(a, s, o, u, t, e) {
2220
2212
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2221
2213
  fill: "transparent",
2222
2214
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2223
- onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2215
+ onMouseleave: l[1] || (l[1] = (n) => e.toggleTooltipVisibility(!1)),
2224
2216
  onClick: (n) => e.selectX(h)
2225
- }, null, 40, Ha)
2217
+ }, null, 40, Hi)
2226
2218
  ]))), 128))
2227
2219
  ]),
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", {
2220
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (a(), s("g", Bi, [
2221
+ (a(), s("foreignObject", {
2230
2222
  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
2223
  y: e.drawingArea.bottom,
2232
2224
  width: "200",
2233
2225
  height: "40",
2234
2226
  style: { overflow: "visible !important" }
2235
2227
  }, [
2236
- f("div", {
2228
+ u("div", {
2237
2229
  class: "vue-ui-xy-time-tag",
2238
2230
  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", {
2231
+ }, 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)
2232
+ ], 8, Wi)),
2233
+ u("circle", {
2242
2234
  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
2235
  cy: e.drawingArea.bottom,
2244
2236
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2245
2237
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2246
- }, null, 8, Ea)
2238
+ }, null, 8, Ei)
2247
2239
  ])) : c("", !0)
2248
2240
  ])) : 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)
2241
+ k(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2242
+ ], 14, $e)) : c("", !0),
2243
+ i.$slots.watermark ? (a(), s("div", Yi, [
2244
+ k(i.$slots, "watermark", W(E({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2253
2245
  ])) : c("", !0),
2254
- e.isDataset ? c("", !0) : (l(), D(V, {
2246
+ e.isDataset ? c("", !0) : (a(), B(V, {
2255
2247
  key: 6,
2256
2248
  config: {
2257
2249
  type: "line",
@@ -2269,7 +2261,7 @@ function ar(a, s, o, u, t, e) {
2269
2261
  }
2270
2262
  }
2271
2263
  }, null, 8, ["config"])),
2272
- e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), D(v, {
2264
+ e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (a(), B(v, {
2273
2265
  ref: "chartSlicer",
2274
2266
  key: `slicer_${t.slicerStep}`,
2275
2267
  background: e.FINAL_CONFIG.chart.zoom.color,
@@ -2295,9 +2287,9 @@ function ar(a, s, o, u, t, e) {
2295
2287
  valueStart: t.slicer.start,
2296
2288
  valueEnd: t.slicer.end,
2297
2289
  start: t.slicer.start,
2298
- "onUpdate:start": s[2] || (s[2] = (r) => t.slicer.start = r),
2290
+ "onUpdate:start": l[2] || (l[2] = (r) => t.slicer.start = r),
2299
2291
  end: t.slicer.end,
2300
- "onUpdate:end": s[3] || (s[3] = (r) => t.slicer.end = r),
2292
+ "onUpdate:end": l[3] || (l[3] = (r) => t.slicer.end = r),
2301
2293
  refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
2302
2294
  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
2295
  enableRangeHandles: e.FINAL_CONFIG.chart.zoom.enableRangeHandles,
@@ -2305,24 +2297,24 @@ function ar(a, s, o, u, t, e) {
2305
2297
  onReset: e.refreshSlicer,
2306
2298
  onTrapMouse: e.selectMinimapIndex
2307
2299
  }, {
2308
- "reset-action": p(({ reset: r }) => [
2309
- S(a.$slots, "reset-action", H(B({ reset: r })), void 0, !0)
2300
+ "reset-action": P(({ reset: r }) => [
2301
+ k(i.$slots, "reset-action", W(E({ reset: r })), void 0, !0)
2310
2302
  ]),
2311
2303
  _: 3
2312
2304
  }, 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", {
2305
+ e.FINAL_CONFIG.chart.legend.show ? (a(), s("div", {
2314
2306
  key: 8,
2315
2307
  ref: "chartLegend",
2316
2308
  class: "vue-ui-xy-legend",
2317
2309
  style: L(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2318
2310
  }, [
2319
- (l(!0), i(I, null, m(e.absoluteDataset, (r, h) => (l(), i("div", {
2311
+ (a(!0), s(f, null, m(e.absoluteDataset, (r, h) => (a(), s("div", {
2320
2312
  key: `div_legend_item_${h}`,
2321
2313
  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) })
2314
+ class: D({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(r.id) })
2323
2315
  }, [
2324
- t.icons[r.type] === "line" ? (l(), i("svg", Xa, [
2325
- f("rect", {
2316
+ t.icons[r.type] === "line" ? (a(), s("svg", Xi, [
2317
+ u("rect", {
2326
2318
  x: "0",
2327
2319
  y: "7.5",
2328
2320
  rx: "1.5",
@@ -2331,7 +2323,7 @@ function ar(a, s, o, u, t, e) {
2331
2323
  height: "3",
2332
2324
  width: "20",
2333
2325
  fill: r.color
2334
- }, null, 8, Ua),
2326
+ }, null, 8, Ui),
2335
2327
  q(b, {
2336
2328
  plot: { x: 10, y: 9 },
2337
2329
  radius: 4,
@@ -2340,8 +2332,8 @@ function ar(a, s, o, u, t, e) {
2340
2332
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2341
2333
  strokeWidth: 0.5
2342
2334
  }, 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", {
2335
+ ])) : t.icons[r.type] === "bar" ? (a(), s("svg", Zi, [
2336
+ t.icons[r.type] === "bar" && i.$slots.pattern ? (a(), s("rect", {
2345
2337
  key: 0,
2346
2338
  x: "0",
2347
2339
  y: "0",
@@ -2350,8 +2342,8 @@ function ar(a, s, o, u, t, e) {
2350
2342
  width: "40",
2351
2343
  stroke: "none",
2352
2344
  fill: r.color
2353
- }, null, 8, Ja)) : c("", !0),
2354
- t.icons[r.type] === "bar" ? (l(), i("rect", {
2345
+ }, null, 8, Ji)) : c("", !0),
2346
+ t.icons[r.type] === "bar" ? (a(), s("rect", {
2355
2347
  key: 1,
2356
2348
  x: "0",
2357
2349
  y: "0",
@@ -2359,9 +2351,9 @@ function ar(a, s, o, u, t, e) {
2359
2351
  height: "40",
2360
2352
  width: "40",
2361
2353
  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, [
2354
+ fill: i.$slots.pattern ? `url(#pattern_${t.uniqueId}_${r.slotAbsoluteIndex})` : r.color
2355
+ }, null, 8, Qi)) : c("", !0)
2356
+ ])) : (a(), s("svg", Ki, [
2365
2357
  q(b, {
2366
2358
  plot: { x: 6, y: 6 },
2367
2359
  radius: 5,
@@ -2369,15 +2361,15 @@ function ar(a, s, o, u, t, e) {
2369
2361
  shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(r.shape) ? r.shape : "circle"
2370
2362
  }, null, 8, ["color", "shape"])
2371
2363
  ])),
2372
- f("span", {
2364
+ u("span", {
2373
2365
  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)
2366
+ }, w(r.name), 5)
2367
+ ], 10, qi))), 128))
2368
+ ], 4)) : (a(), s("div", ji, [
2369
+ k(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2378
2370
  ], 512)),
2379
- a.$slots.source ? (l(), i("div", $a, [
2380
- S(a.$slots, "source", {}, void 0, !0)
2371
+ i.$slots.source ? (a(), s("div", $i, [
2372
+ k(i.$slots, "source", {}, void 0, !0)
2381
2373
  ], 512)) : c("", !0),
2382
2374
  q(z, {
2383
2375
  show: t.mutableConfig.showTooltip && t.isTooltip,
@@ -2390,20 +2382,20 @@ function ar(a, s, o, u, t, e) {
2390
2382
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2391
2383
  position: e.FINAL_CONFIG.chart.tooltip.position,
2392
2384
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2393
- parent: a.$refs.chart,
2385
+ parent: i.$refs.chart,
2394
2386
  content: e.tooltipContent,
2395
2387
  isFullscreen: t.isFullscreen,
2396
2388
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2397
2389
  }, {
2398
- "tooltip-before": p(() => [
2399
- S(a.$slots, "tooltip-before", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2390
+ "tooltip-before": P(() => [
2391
+ k(i.$slots, "tooltip-before", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2400
2392
  ]),
2401
- "tooltip-after": p(() => [
2402
- S(a.$slots, "tooltip-after", H(B({ ...e.dataTooltipSlot })), void 0, !0)
2393
+ "tooltip-after": P(() => [
2394
+ k(i.$slots, "tooltip-after", W(E({ ...e.dataTooltipSlot })), void 0, !0)
2403
2395
  ]),
2404
2396
  _: 3
2405
2397
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
2406
- e.isDataset ? (l(), D(M, {
2398
+ e.isDataset ? (a(), B(T, {
2407
2399
  key: 11,
2408
2400
  hideDetails: "",
2409
2401
  config: {
@@ -2419,46 +2411,46 @@ function ar(a, s, o, u, t, e) {
2419
2411
  }
2420
2412
  }
2421
2413
  }, {
2422
- content: p(() => [
2423
- f("div", {
2414
+ content: P(() => [
2415
+ u("div", {
2424
2416
  style: L(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2425
2417
  }, [
2426
- f("div", er, [
2427
- Ee(f("input", {
2418
+ u("div", er, [
2419
+ qe(u("input", {
2428
2420
  type: "checkbox",
2429
- "onUpdate:modelValue": s[4] || (s[4] = (r) => t.showSparklineTable = r)
2421
+ "onUpdate:modelValue": l[4] || (l[4] = (r) => t.showSparklineTable = r)
2430
2422
  }, null, 512), [
2431
- [Ye, t.showSparklineTable]
2423
+ [Xe, t.showSparklineTable]
2432
2424
  ]),
2433
- f("div", {
2434
- onClick: s[5] || (s[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2425
+ u("div", {
2426
+ onClick: l[5] || (l[5] = (r) => t.showSparklineTable = !t.showSparklineTable),
2435
2427
  style: { cursor: "pointer" }
2436
2428
  }, [
2437
- q(O, {
2429
+ q(G, {
2438
2430
  name: "chartLine",
2439
2431
  size: 20,
2440
2432
  stroke: e.FINAL_CONFIG.chart.color
2441
2433
  }, null, 8, ["stroke"])
2442
2434
  ])
2443
2435
  ]),
2444
- t.showSparklineTable ? (l(), D(_, {
2436
+ t.showSparklineTable ? (a(), B(F, {
2445
2437
  key: `sparkline_${t.segregateStep}`,
2446
2438
  dataset: e.tableSparklineDataset,
2447
2439
  config: e.tableSparklineConfig
2448
- }, null, 8, ["dataset", "config"])) : (l(), D(C, {
2440
+ }, null, 8, ["dataset", "config"])) : (a(), B(C, {
2449
2441
  key: `table_${t.tableStep}`,
2450
2442
  colNames: e.dataTable.colNames,
2451
2443
  head: e.dataTable.head,
2452
2444
  body: e.dataTable.body,
2453
2445
  config: e.dataTable.config,
2454
2446
  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)
2447
+ onClose: l[6] || (l[6] = (r) => t.mutableConfig.showTable = !1)
2456
2448
  }, {
2457
- th: p(({ th: r }) => [
2458
- f("div", { innerHTML: r }, null, 8, tr)
2449
+ th: P(({ th: r }) => [
2450
+ u("div", { innerHTML: r }, null, 8, tr)
2459
2451
  ]),
2460
- td: p(({ td: r }) => [
2461
- qe(k(isNaN(Number(r)) ? r : e.dataLabel({
2452
+ td: P(({ td: r }) => [
2453
+ Ue(w(isNaN(Number(r)) ? r : e.dataLabel({
2462
2454
  p: e.FINAL_CONFIG.chart.labels.prefix,
2463
2455
  v: r,
2464
2456
  s: e.FINAL_CONFIG.chart.labels.suffix,
@@ -2471,9 +2463,9 @@ function ar(a, s, o, u, t, e) {
2471
2463
  ]),
2472
2464
  _: 1
2473
2465
  }, 8, ["config"])) : c("", !0)
2474
- ], 46, Je);
2466
+ ], 46, Ke);
2475
2467
  }
2476
- const br = /* @__PURE__ */ Xe(Ze, [["render", ar], ["__scopeId", "data-v-7d74eded"]]);
2468
+ const br = /* @__PURE__ */ Ze(Qe, [["render", ir], ["__scopeId", "data-v-fb685f15"]]);
2477
2469
  export {
2478
2470
  br as default
2479
2471
  };