vue-data-ui 2.4.12 → 2.4.14

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 (147) hide show
  1. package/dist/{Arrow-CtkFVr5U.cjs → Arrow-B0eMJ0vD.cjs} +1 -1
  2. package/dist/{Arrow-CGKCROwz.js → Arrow-CcRzwcZw.js} +1 -1
  3. package/dist/{BaseIcon-CLoM8DDe.cjs → BaseIcon-BaBTKzCc.cjs} +1 -1
  4. package/dist/{BaseIcon-C4ndCspW.js → BaseIcon-f-0QUq0v.js} +1 -1
  5. package/dist/{DataTable-C1e5i-AQ.cjs → DataTable-CHfZ1IEy.cjs} +1 -1
  6. package/dist/{DataTable-CveCk6xW.js → DataTable-aYqFUYEK.js} +2 -2
  7. package/dist/{Legend-DDWzCGWe.js → Legend-B_Euf5BX.js} +1 -1
  8. package/dist/{Legend-XfQwPnB6.cjs → Legend-BmTkHhIn.cjs} +1 -1
  9. package/dist/{PackageVersion-BzA9shEH.cjs → PackageVersion-D6vG-BXj.cjs} +1 -1
  10. package/dist/{PackageVersion-Bi8RUX5W.js → PackageVersion-DFaMeCN6.js} +1 -1
  11. package/dist/{PenAndPaper-DnMUcq2C.js → PenAndPaper-DxGFlSh0.js} +2 -2
  12. package/dist/{PenAndPaper-DolOORON.cjs → PenAndPaper-i3jYHWwR.cjs} +1 -1
  13. package/dist/{Shape-BvB4qzcw.js → Shape-BBk-Sd19.js} +1 -1
  14. package/dist/{Shape-CmAme9xi.cjs → Shape-DFFQ_70v.cjs} +1 -1
  15. package/dist/{Slicer-BVuY0EjX.cjs → Slicer-CPM6S6sp.cjs} +1 -1
  16. package/dist/{Slicer-Be_ldy79.js → Slicer-D8UYq3Jo.js} +2 -2
  17. package/dist/{Title-CYDoc6j3.cjs → Title-4bXfWbx8.cjs} +1 -1
  18. package/dist/{Title-CAfojmIe.js → Title-JeqRfl2Z.js} +1 -1
  19. package/dist/{Tooltip-BABZKovD.cjs → Tooltip-BheHY6dV.cjs} +1 -1
  20. package/dist/{Tooltip-v1xcr7vF.js → Tooltip-DKlw-Q8v.js} +1 -1
  21. package/dist/{index-KDxAXZXP.cjs → index-BUVOYVSk.cjs} +1 -1
  22. package/dist/{index-CFa1LJja.js → index-Dy5GrFF-.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-DtAqKb0W.js → useNestedProp-Be6ZIo5i.js} +1 -1
  25. package/dist/{useNestedProp-CXjSKjKD.cjs → useNestedProp-nko1Exy-.cjs} +1 -1
  26. package/dist/{usePrinter-l7v2Rcgc.cjs → usePrinter-BGq-7Twb.cjs} +1 -1
  27. package/dist/{usePrinter-DEvTXkt_.js → usePrinter-B_9DGtW7.js} +1 -1
  28. package/dist/{vue-data-ui-C1RPDTzl.cjs → vue-data-ui-Dis9z9dY.cjs} +1 -1
  29. package/dist/{vue-data-ui-CXYOFCkg.js → vue-data-ui-Tfs27uUn.js} +58 -58
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-BCaGJcxZ.cjs → vue-ui-3d-bar-6TQgQ-xc.cjs} +1 -1
  33. package/dist/{vue-ui-3d-bar-BSiHb8c-.js → vue-ui-3d-bar-BOeqtR4u.js} +9 -9
  34. package/dist/{vue-ui-accordion-BjK5Zqcp.js → vue-ui-accordion-BmJX_0Fc.js} +3 -3
  35. package/dist/{vue-ui-accordion-D5b-rLq8.cjs → vue-ui-accordion-r9LcXEYX.cjs} +1 -1
  36. package/dist/{vue-ui-age-pyramid-DfYUkpdC.cjs → vue-ui-age-pyramid-D8mGzhwL.cjs} +1 -1
  37. package/dist/{vue-ui-age-pyramid-DaAUzEm9.js → vue-ui-age-pyramid-DyK3oWOz.js} +10 -10
  38. package/dist/{vue-ui-annotator-BdKHB-q4.js → vue-ui-annotator-Df4RXblk.js} +1 -1
  39. package/dist/{vue-ui-annotator-Cb0lPmzD.cjs → vue-ui-annotator-xLgkrAm4.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-C-nXv9dy.js → vue-ui-bullet--e2coNbi.js} +8 -8
  41. package/dist/{vue-ui-bullet-wx_gocM4.cjs → vue-ui-bullet-3DwuVRD1.cjs} +1 -1
  42. package/dist/{vue-ui-candlestick-DB00WcCz.cjs → vue-ui-candlestick-CGwBj_6g.cjs} +1 -1
  43. package/dist/{vue-ui-candlestick-DWO7x9nX.js → vue-ui-candlestick-Dy3B4hIY.js} +11 -11
  44. package/dist/{vue-ui-carousel-table-BLBPwKS8.js → vue-ui-carousel-table-UJGXkosj.js} +4 -4
  45. package/dist/{vue-ui-carousel-table-F-DEBome.cjs → vue-ui-carousel-table-kSl_zPtP.cjs} +1 -1
  46. package/dist/{vue-ui-chestnut-CXlm92u0.js → vue-ui-chestnut-Cgge1SHL.js} +8 -8
  47. package/dist/{vue-ui-chestnut-CzFwENN8.cjs → vue-ui-chestnut-DPLH4IcL.cjs} +1 -1
  48. package/dist/{vue-ui-cursor-D_pO4Spk.js → vue-ui-cursor-BHTLqu0Q.js} +2 -2
  49. package/dist/{vue-ui-cursor-DJLKYGcb.cjs → vue-ui-cursor-CwgV2VNu.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-COKACbCL.js → vue-ui-dashboard-CuToI1bg.js} +2 -2
  51. package/dist/{vue-ui-dashboard-4NILx623.cjs → vue-ui-dashboard-Dt4CAeDS.cjs} +1 -1
  52. package/dist/{vue-ui-digits-BPL49_3d.js → vue-ui-digits-DNO1xW8o.js} +2 -2
  53. package/dist/{vue-ui-digits-BTTzz0k1.cjs → vue-ui-digits-DpN3MjGn.cjs} +1 -1
  54. package/dist/{vue-ui-donut-DqJKys7z.js → vue-ui-donut-3FqWxnwU.js} +11 -11
  55. package/dist/{vue-ui-donut-DcEFUd-o.cjs → vue-ui-donut-DjyG3UJn.cjs} +1 -1
  56. package/dist/{vue-ui-donut-evolution-CYsUMYt3.js → vue-ui-donut-evolution-9op89n1-.js} +11 -11
  57. package/dist/{vue-ui-donut-evolution-BJhAsLVn.cjs → vue-ui-donut-evolution-BwzFYxmq.cjs} +1 -1
  58. package/dist/{vue-ui-dumbbell-By2gkcbi.cjs → vue-ui-dumbbell-CoU7gUYz.cjs} +1 -1
  59. package/dist/{vue-ui-dumbbell-Be6aaQry.js → vue-ui-dumbbell-CvTxJMMn.js} +10 -10
  60. package/dist/{vue-ui-flow-CJNjrSDE.cjs → vue-ui-flow-CEsZ6xBD.cjs} +1 -1
  61. package/dist/{vue-ui-flow-Bu2IHLu9.js → vue-ui-flow-DrlNzFnu.js} +9 -9
  62. package/dist/{vue-ui-galaxy--W8nCy3k.js → vue-ui-galaxy-BznpNqKq.js} +11 -11
  63. package/dist/{vue-ui-galaxy-Bl6v7ahB.cjs → vue-ui-galaxy-D11bLkvz.cjs} +1 -1
  64. package/dist/{vue-ui-gauge-CAKo27_R.js → vue-ui-gauge-Bjpv4Zbc.js} +7 -7
  65. package/dist/{vue-ui-gauge-D9dkzTLj.cjs → vue-ui-gauge-DE4v6VPS.cjs} +1 -1
  66. package/dist/{vue-ui-gizmo-CGSp6322.js → vue-ui-gizmo-CwDzD-hB.js} +3 -3
  67. package/dist/{vue-ui-gizmo-BnrcwQ_f.cjs → vue-ui-gizmo-fuA0CL_d.cjs} +1 -1
  68. package/dist/{vue-ui-heatmap-CGiaD-XX.js → vue-ui-heatmap-D-gVcVE2.js} +10 -10
  69. package/dist/{vue-ui-heatmap-5NsMNQC1.cjs → vue-ui-heatmap-m2eoABMv.cjs} +1 -1
  70. package/dist/{vue-ui-kpi-_o8oGkDo.js → vue-ui-kpi-B5I-d56Y.js} +3 -3
  71. package/dist/{vue-ui-kpi-DcvKKcCZ.cjs → vue-ui-kpi-BqwS47tL.cjs} +1 -1
  72. package/dist/{vue-ui-mini-loader-BwahnZ5M.js → vue-ui-mini-loader-DqgYZ3Bz.js} +2 -2
  73. package/dist/{vue-ui-mini-loader-BnWpe-Jx.cjs → vue-ui-mini-loader-kIT0EOzC.cjs} +1 -1
  74. package/dist/{vue-ui-molecule-EI0QZuPn.cjs → vue-ui-molecule-0eEs_27v.cjs} +1 -1
  75. package/dist/{vue-ui-molecule-DW45rSTG.js → vue-ui-molecule-C2XfrRB0.js} +11 -11
  76. package/dist/{vue-ui-mood-radar-Bgunn4sw.cjs → vue-ui-mood-radar-D7nKWrqV.cjs} +1 -1
  77. package/dist/{vue-ui-mood-radar-Sia4EwXF.js → vue-ui-mood-radar-ZOTBgqgJ.js} +11 -11
  78. package/dist/{vue-ui-nested-donuts-tWesxUCT.cjs → vue-ui-nested-donuts-BlHdXm6g.cjs} +1 -1
  79. package/dist/{vue-ui-nested-donuts-Cf7hGnwG.js → vue-ui-nested-donuts-CAnsSM44.js} +11 -11
  80. package/dist/{vue-ui-onion-BaZ_wTbo.js → vue-ui-onion-BM--M0jY.js} +11 -11
  81. package/dist/{vue-ui-onion-C6MaVU1K.cjs → vue-ui-onion-CWfQ992Z.cjs} +1 -1
  82. package/dist/{vue-ui-parallel-coordinate-plot-BtIKgxvv.js → vue-ui-parallel-coordinate-plot-DwLQh4tP.js} +12 -12
  83. package/dist/{vue-ui-parallel-coordinate-plot-DrV9F60N.cjs → vue-ui-parallel-coordinate-plot-WM9uQd0M.cjs} +1 -1
  84. package/dist/{vue-ui-quadrant-Cle11mCD.cjs → vue-ui-quadrant-BjHHETMe.cjs} +1 -1
  85. package/dist/{vue-ui-quadrant-L6SfZjpt.js → vue-ui-quadrant-Bux3R-Q7.js} +12 -12
  86. package/dist/{vue-ui-quick-chart-CqS3PeU-.cjs → vue-ui-quick-chart-G702BvIJ.cjs} +1 -1
  87. package/dist/{vue-ui-quick-chart-DYu27_hL.js → vue-ui-quick-chart-szGxcS9d.js} +9 -9
  88. package/dist/{vue-ui-radar-DSrgQE0m.cjs → vue-ui-radar-BQ05ebSC.cjs} +1 -1
  89. package/dist/{vue-ui-radar-BHirHWDO.js → vue-ui-radar-CNlzEasE.js} +12 -12
  90. package/dist/{vue-ui-rating-BBRC3Fex.js → vue-ui-rating-CPEoJems.js} +2 -2
  91. package/dist/{vue-ui-rating-BJHo9SsT.cjs → vue-ui-rating-Csfmwywp.cjs} +1 -1
  92. package/dist/{vue-ui-relation-circle-DzRQKnES.cjs → vue-ui-relation-circle-CFiSQjx9.cjs} +1 -1
  93. package/dist/{vue-ui-relation-circle-CpGiH1jp.js → vue-ui-relation-circle-D7NR9tCd.js} +7 -7
  94. package/dist/{vue-ui-rings-DT_F10Cs.cjs → vue-ui-rings-DsWRI78a.cjs} +1 -1
  95. package/dist/{vue-ui-rings-B7tPoi26.js → vue-ui-rings-o45LQxbP.js} +11 -11
  96. package/dist/{vue-ui-scatter-B5G15tC4.cjs → vue-ui-scatter-0KfyPHGN.cjs} +1 -1
  97. package/dist/{vue-ui-scatter-CTk2BZ_d.js → vue-ui-scatter-ByFq8cqv.js} +12 -12
  98. package/dist/{vue-ui-screenshot-DRe3Coog.cjs → vue-ui-screenshot-C36MC7_n.cjs} +1 -1
  99. package/dist/{vue-ui-screenshot-CZr_osbk.js → vue-ui-screenshot-CBlmxSOB.js} +1 -1
  100. package/dist/{vue-ui-skeleton-CdeslaC3.cjs → vue-ui-skeleton-B_yz8Eus.cjs} +1 -1
  101. package/dist/{vue-ui-skeleton-CHLsECtI.js → vue-ui-skeleton-lqzNF24A.js} +3 -3
  102. package/dist/{vue-ui-smiley-BcgpnSoO.cjs → vue-ui-smiley-D8zEHTsC.cjs} +1 -1
  103. package/dist/{vue-ui-smiley-esJYBMWC.js → vue-ui-smiley-axWZn-Gd.js} +2 -2
  104. package/dist/{vue-ui-spark-trend-B744D8Vm.cjs → vue-ui-spark-trend-B64f8Bya.cjs} +1 -1
  105. package/dist/{vue-ui-spark-trend-CLLnG7sn.js → vue-ui-spark-trend-BusH1eOa.js} +5 -5
  106. package/dist/{vue-ui-sparkbar-DP4IIvXP.js → vue-ui-sparkbar-C5nkxRVH.js} +4 -4
  107. package/dist/{vue-ui-sparkbar-sM0UolJY.cjs → vue-ui-sparkbar-CHBoXEkG.cjs} +1 -1
  108. package/dist/{vue-ui-sparkgauge-CdCvjUt1.cjs → vue-ui-sparkgauge-8yhMTt_s.cjs} +1 -1
  109. package/dist/{vue-ui-sparkgauge-DxXLjj0m.js → vue-ui-sparkgauge-Nchun2dD.js} +4 -4
  110. package/dist/{vue-ui-sparkhistogram-BKH_x2YZ.cjs → vue-ui-sparkhistogram-Dl6nxv92.cjs} +1 -1
  111. package/dist/{vue-ui-sparkhistogram-eiNFDU7_.js → vue-ui-sparkhistogram-tfNSyoTE.js} +5 -5
  112. package/dist/{vue-ui-sparkline-B2O2Ltg7.cjs → vue-ui-sparkline-CLUA9qSQ.cjs} +1 -1
  113. package/dist/{vue-ui-sparkline-5JHLo5sp.js → vue-ui-sparkline-DXoZ-AXQ.js} +4 -4
  114. package/dist/{vue-ui-sparkstackbar-5yePKW_I.cjs → vue-ui-sparkstackbar-B-ZG07ak.cjs} +1 -1
  115. package/dist/{vue-ui-sparkstackbar-R08GxmHX.js → vue-ui-sparkstackbar-C-3aj0Qg.js} +5 -5
  116. package/dist/{vue-ui-stackbar-7KA0-619.cjs → vue-ui-stackbar-CeyMa7nJ.cjs} +1 -1
  117. package/dist/{vue-ui-stackbar-DLdmXSKP.js → vue-ui-stackbar-IKAkG9EJ.js} +12 -12
  118. package/dist/{vue-ui-strip-plot-iJg6nab9.cjs → vue-ui-strip-plot-EeDRRLyD.cjs} +1 -1
  119. package/dist/{vue-ui-strip-plot-5JzjqmSe.js → vue-ui-strip-plot-f8gQv1R9.js} +11 -11
  120. package/dist/{vue-ui-table-BwjCx5AH.cjs → vue-ui-table-BMjDumNw.cjs} +1 -1
  121. package/dist/{vue-ui-table-DBuVWV5Y.js → vue-ui-table-Ci87YIZ1.js} +1 -1
  122. package/dist/{vue-ui-table-heatmap-DYCUCDMQ.js → vue-ui-table-heatmap-DBAAR6Yq.js} +4 -4
  123. package/dist/{vue-ui-table-heatmap-_bASSmfs.cjs → vue-ui-table-heatmap-_zvyT-r9.cjs} +1 -1
  124. package/dist/{vue-ui-table-sparkline-BEJ__c2i.cjs → vue-ui-table-sparkline-C4_6lbC0.cjs} +1 -1
  125. package/dist/{vue-ui-table-sparkline-BvozgKWZ.js → vue-ui-table-sparkline-ZMfDRnFs.js} +5 -5
  126. package/dist/{vue-ui-thermometer-Dc49W_uX.cjs → vue-ui-thermometer-CRDENrkH.cjs} +1 -1
  127. package/dist/{vue-ui-thermometer-1HmsfwA6.js → vue-ui-thermometer-CrAi04Vr.js} +7 -7
  128. package/dist/{vue-ui-timer-CzsWb_ok.cjs → vue-ui-timer-D3PdDbak.cjs} +1 -1
  129. package/dist/{vue-ui-timer-ccFYaDXI.js → vue-ui-timer-DgBKV7nS.js} +5 -5
  130. package/dist/{vue-ui-tiremarks-CqjOSr6y.cjs → vue-ui-tiremarks-Cf89IkXU.cjs} +1 -1
  131. package/dist/{vue-ui-tiremarks-CMQ6uKOm.js → vue-ui-tiremarks-DJNcDzAu.js} +7 -7
  132. package/dist/{vue-ui-treemap-CLTdGsvf.cjs → vue-ui-treemap-D_foZr6d.cjs} +1 -1
  133. package/dist/{vue-ui-treemap-Dbkr_rdH.js → vue-ui-treemap-wKiju8mu.js} +11 -11
  134. package/dist/{vue-ui-vertical-bar-BzIh5UUg.js → vue-ui-vertical-bar-BBPnVcf4.js} +11 -11
  135. package/dist/{vue-ui-vertical-bar-DzWoUrXd.cjs → vue-ui-vertical-bar-DL52aOVH.cjs} +1 -1
  136. package/dist/{vue-ui-waffle-CQw6Qf9H.js → vue-ui-waffle-B5RuBnB5.js} +11 -11
  137. package/dist/{vue-ui-waffle-GvNWX9QC.cjs → vue-ui-waffle-Cl6_0xMB.cjs} +1 -1
  138. package/dist/{vue-ui-wheel-Cafjyq_O.cjs → vue-ui-wheel-CBTReC9o.cjs} +1 -1
  139. package/dist/{vue-ui-wheel-CXmf0H03.js → vue-ui-wheel-hrqzLHBL.js} +7 -7
  140. package/dist/{vue-ui-word-cloud-CAJ-pqpM.js → vue-ui-word-cloud-Beq0Ncwv.js} +10 -10
  141. package/dist/{vue-ui-word-cloud-B-5D28w8.cjs → vue-ui-word-cloud-DN3j2VVh.cjs} +1 -1
  142. package/dist/{vue-ui-xy-BNCxzo7p.js → vue-ui-xy-4Cn2wWE-.js} +868 -868
  143. package/dist/vue-ui-xy-87QC07_q.cjs +3 -0
  144. package/dist/{vue-ui-xy-canvas-BCMw2wOS.cjs → vue-ui-xy-canvas-BzTohtt-.cjs} +1 -1
  145. package/dist/{vue-ui-xy-canvas-cnjS60Rg.js → vue-ui-xy-canvas-DNrAqCNu.js} +11 -11
  146. package/package.json +1 -1
  147. package/dist/vue-ui-xy-DejNMLt_.cjs +0 -3
@@ -1,18 +1,18 @@
1
- import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, K as ee, F as te, i as ae, a2 as ie, a0 as re, a3 as le, v as se, a4 as ne, d as oe, B as he, b as ce, q as de, R as ue, a5 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a6 as be, Y as Fe, o as _e, s as ye, w as Ae, E as Ce, A as Le, u as ke } from "./index-CFa1LJja.js";
2
- import { D as Se } from "./DataTable-CveCk6xW.js";
3
- import { _ as we } from "./Title-CAfojmIe.js";
4
- import { _ as Oe, u as Ge } from "./Tooltip-v1xcr7vF.js";
5
- import { U as ve } from "./usePrinter-DEvTXkt_.js";
6
- import { _ as pe } from "./Shape-BvB4qzcw.js";
7
- import ze from "./BaseIcon-C4ndCspW.js";
8
- import Me from "./vue-ui-table-sparkline-BvozgKWZ.js";
9
- import Te from "./vue-ui-skeleton-CHLsECtI.js";
10
- import { S as Pe } from "./Slicer-Be_ldy79.js";
11
- import Ve from "./vue-ui-accordion-BjK5Zqcp.js";
12
- import { u as Z } from "./useNestedProp-DtAqKb0W.js";
13
- import { _ as Re } from "./PackageVersion-Bi8RUX5W.js";
14
- import { P as De } from "./PenAndPaper-DnMUcq2C.js";
15
- import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as h, createSlots as Be, withCtx as M, renderSlot as O, normalizeProps as H, guardReactiveProps as W, createVNode as X, createElementVNode as g, Fragment as N, renderList as I, toDisplayString as k, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
1
+ import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, K as ee, F as te, i as ie, a2 as ae, a0 as re, a3 as le, v as se, a4 as ne, d as oe, B as ce, b as he, q as de, R as ue, a5 as ge, r as fe, e as Ne, y as me, M as Ie, x as xe, a6 as be, Y as Fe, o as _e, s as ye, w as Ae, E as Ce, A as Le, u as Se } from "./index-Dy5GrFF-.js";
2
+ import { D as ke } from "./DataTable-aYqFUYEK.js";
3
+ import { _ as we } from "./Title-JeqRfl2Z.js";
4
+ import { _ as Oe, u as Ge } from "./Tooltip-DKlw-Q8v.js";
5
+ import { U as ve } from "./usePrinter-B_9DGtW7.js";
6
+ import { _ as pe } from "./Shape-BBk-Sd19.js";
7
+ import Me from "./BaseIcon-f-0QUq0v.js";
8
+ import ze from "./vue-ui-table-sparkline-ZMfDRnFs.js";
9
+ import Te from "./vue-ui-skeleton-lqzNF24A.js";
10
+ import { S as Pe } from "./Slicer-D8UYq3Jo.js";
11
+ import Ve from "./vue-ui-accordion-BmJX_0Fc.js";
12
+ import { u as Z } from "./useNestedProp-Be6ZIo5i.js";
13
+ import { _ as Re } from "./PackageVersion-DFaMeCN6.js";
14
+ import { P as De } from "./PenAndPaper-DxGFlSh0.js";
15
+ import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as z, renderSlot as O, normalizeProps as H, guardReactiveProps as W, createVNode as X, createElementVNode as g, Fragment as N, renderList as I, toDisplayString as S, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
16
16
  import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Xe = J(), qe = {
18
18
  name: "vue-ui-xy",
@@ -31,13 +31,13 @@ const Xe = J(), qe = {
31
31
  }
32
32
  },
33
33
  components: {
34
- DataTable: Se,
34
+ DataTable: ke,
35
35
  Shape: pe,
36
36
  Title: we,
37
37
  Tooltip: Oe,
38
38
  UserOptions: ve,
39
- BaseIcon: ze,
40
- TableSparkline: Me,
39
+ BaseIcon: Me,
40
+ TableSparkline: ze,
41
41
  Skeleton: Te,
42
42
  Slicer: Pe,
43
43
  Accordion: Ve,
@@ -45,15 +45,15 @@ const Xe = J(), qe = {
45
45
  PenAndPaper: De
46
46
  },
47
47
  data() {
48
- this.dataset.forEach((f, a) => {
48
+ this.dataset.forEach((f, t) => {
49
49
  [null, void 0].includes(f.series) && this.error({
50
50
  componentName: "VueUiXy",
51
51
  type: "datasetSerieAttribute",
52
52
  property: "series (number[])",
53
- index: a
53
+ index: t
54
54
  });
55
55
  });
56
- const t = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: t }).length)), c = {
56
+ const i = this.config.downsample && this.config.downsample.threshold ? this.config.downsample.threshold : 500, s = Math.max(...this.dataset.map((f) => this.largestTriangleThreeBucketsArray({ data: f.series, threshold: i }).length)), h = {
57
57
  start: 0,
58
58
  end: s
59
59
  };
@@ -104,7 +104,7 @@ const Xe = J(), qe = {
104
104
  step: 0,
105
105
  tableStep: 0,
106
106
  titleStep: 0,
107
- slicer: c,
107
+ slicer: h,
108
108
  __to__: null,
109
109
  maxX: s,
110
110
  showSparklineTable: !0,
@@ -125,9 +125,9 @@ const Xe = J(), qe = {
125
125
  },
126
126
  watch: {
127
127
  dataset: {
128
- handler(t, s) {
129
- this.maxX = Math.max(...this.dataset.map((c) => this.largestTriangleThreeBucketsArray({
130
- data: c.series,
128
+ handler(i, s) {
129
+ this.maxX = Math.max(...this.dataset.map((h) => this.largestTriangleThreeBucketsArray({
130
+ data: h.series,
131
131
  threshold: this.FINAL_CONFIG.downsample.threshold
132
132
  }).length)), this.slicer = {
133
133
  start: 0,
@@ -137,7 +137,7 @@ const Xe = J(), qe = {
137
137
  deep: !0
138
138
  },
139
139
  config: {
140
- handler(t, s) {
140
+ handler(i, s) {
141
141
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
142
142
  },
143
143
  deep: !0
@@ -149,11 +149,11 @@ const Xe = J(), qe = {
149
149
  },
150
150
  minimap() {
151
151
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
152
- const t = this.datasetWithIds.filter((a) => !this.segregatedSeries.includes(a.id)), s = Math.max(...t.map((a) => a.series.length)), c = [];
153
- for (let a = 0; a < s; a += 1)
154
- c.push(t.map((e) => e.series[a] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
155
- const f = Math.min(...c);
156
- return c.map((a) => a + (f < 0 ? Math.abs(f) : 0));
152
+ const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), h = [];
153
+ for (let t = 0; t < s; t += 1)
154
+ h.push(i.map((e) => e.series[t] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
155
+ const f = Math.min(...h);
156
+ return h.map((t) => t + (f < 0 ? Math.abs(f) : 0));
157
157
  },
158
158
  customPalette() {
159
159
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -165,53 +165,53 @@ const Xe = J(), qe = {
165
165
  return this.FINAL_CONFIG.chart.zoom.color;
166
166
  },
167
167
  allScales() {
168
- const t = this.lineSet.map((a) => ({
169
- name: a.name,
170
- color: a.color,
171
- scale: a.individualScale,
172
- scaleYLabels: a.scaleYLabels,
173
- zero: a.zeroPosition,
174
- max: a.individualMax,
175
- scaleLabel: a.scaleLabel || "",
176
- id: a.id,
177
- yOffset: a.yOffset || 0,
178
- individualHeight: a.individualHeight || this.drawingArea.height,
179
- autoScaleYLabels: a.autoScaleYLabels
180
- })), s = this.barSet.map((a) => ({
181
- name: a.name,
182
- color: a.color,
183
- scale: a.individualScale,
184
- scaleYLabels: a.scaleYLabels,
185
- zero: a.zeroPosition,
186
- max: a.individualMax,
187
- scaleLabel: a.scaleLabel || "",
188
- id: a.id,
189
- yOffset: a.yOffset || 0,
190
- individualHeight: a.individualHeight || this.drawingArea.height
191
- })), c = this.plotSet.map((a) => ({
192
- name: a.name,
193
- color: a.color,
194
- scale: a.individualScale,
195
- scaleYLabels: a.scaleYLabels,
168
+ const i = this.lineSet.map((t) => ({
169
+ name: t.name,
170
+ color: t.color,
171
+ scale: t.individualScale,
172
+ scaleYLabels: t.scaleYLabels,
173
+ zero: t.zeroPosition,
174
+ max: t.individualMax,
175
+ scaleLabel: t.scaleLabel || "",
176
+ id: t.id,
177
+ yOffset: t.yOffset || 0,
178
+ individualHeight: t.individualHeight || this.drawingArea.height,
179
+ autoScaleYLabels: t.autoScaleYLabels
180
+ })), s = this.barSet.map((t) => ({
181
+ name: t.name,
182
+ color: t.color,
183
+ scale: t.individualScale,
184
+ scaleYLabels: t.scaleYLabels,
185
+ zero: t.zeroPosition,
186
+ max: t.individualMax,
187
+ scaleLabel: t.scaleLabel || "",
188
+ id: t.id,
189
+ yOffset: t.yOffset || 0,
190
+ individualHeight: t.individualHeight || this.drawingArea.height
191
+ })), h = this.plotSet.map((t) => ({
192
+ name: t.name,
193
+ color: t.color,
194
+ scale: t.individualScale,
195
+ scaleYLabels: t.scaleYLabels,
196
196
  // FIX
197
- zero: a.zeroPosition,
198
- max: a.individualMax,
199
- scaleLabel: a.scaleLabel || "",
200
- id: a.id,
201
- yOffset: a.yOffset || 0,
202
- individualHeight: a.individualHeight || this.drawingArea.height
203
- })), f = [...t, ...s, ...c].flatMap((a) => a).length;
204
- return [...t, ...s, ...c].flatMap((a, e) => ({
205
- id: a.id,
206
- scaleLabel: a.scaleLabel,
207
- name: a.name,
208
- color: a.color,
209
- scale: a.scale,
210
- yOffset: a.yOffset,
211
- individualHeight: a.individualHeight,
197
+ zero: t.zeroPosition,
198
+ max: t.individualMax,
199
+ scaleLabel: t.scaleLabel || "",
200
+ id: t.id,
201
+ yOffset: t.yOffset || 0,
202
+ individualHeight: t.individualHeight || this.drawingArea.height
203
+ })), f = [...i, ...s, ...h].flatMap((t) => t).length;
204
+ return [...i, ...s, ...h].flatMap((t, e) => ({
205
+ id: t.id,
206
+ scaleLabel: t.scaleLabel,
207
+ name: t.name,
208
+ color: t.color,
209
+ scale: t.scale,
210
+ yOffset: t.yOffset,
211
+ individualHeight: t.individualHeight,
212
212
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / f * (e + 1),
213
- yLabels: a.scaleYLabels || a.scale.ticks.map((x) => ({
214
- y: x >= 0 ? a.zero - a.individualHeight * (x / a.max) : a.zero + a.individualHeight * Math.abs(x) / a.max,
213
+ yLabels: t.scaleYLabels || t.scale.ticks.map((x) => ({
214
+ y: x >= 0 ? t.zero - t.individualHeight * (x / t.max) : t.zero + t.individualHeight * Math.abs(x) / t.max,
215
215
  value: x
216
216
  }))
217
217
  }));
@@ -220,19 +220,19 @@ const Xe = J(), qe = {
220
220
  return !!this.dataset && this.dataset.length;
221
221
  },
222
222
  chartFont() {
223
- const t = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
224
- return window.getComputedStyle(t, null).getPropertyValue("font-family");
223
+ const i = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
224
+ return window.getComputedStyle(i, null).getPropertyValue("font-family");
225
225
  },
226
226
  FINAL_CONFIG: {
227
227
  get: function() {
228
228
  return this.prepareConfig();
229
229
  },
230
- set: function(t) {
231
- return t;
230
+ set: function(i) {
231
+ return i;
232
232
  }
233
233
  },
234
234
  hasHighlightArea() {
235
- return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((t) => t.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
235
+ 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;
236
236
  },
237
237
  highlightAreas() {
238
238
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
@@ -240,8 +240,8 @@ const Xe = J(), qe = {
240
240
  ...s,
241
241
  span: s.from === s.to ? 1 : s.to < s.from ? 0 : s.to - s.from + 1
242
242
  }));
243
- const t = this.FINAL_CONFIG.chart.highlightArea;
244
- return [{ ...t, span: t.from === t.to ? 1 : t.to < t.from ? 0 : t.to - t.from + 1 }];
243
+ const i = this.FINAL_CONFIG.chart.highlightArea;
244
+ return [{ ...i, span: i.from === i.to ? 1 : i.to < i.from ? 0 : i.to - i.from + 1 }];
245
245
  },
246
246
  xPadding() {
247
247
  return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
@@ -253,43 +253,43 @@ const Xe = J(), qe = {
253
253
  return this.niceScale.max + this.relativeZero;
254
254
  },
255
255
  datasetWithIds() {
256
- return this.useSafeValues ? this.dataset.map((t, s) => ({
257
- ...t,
256
+ return this.useSafeValues ? this.dataset.map((i, s) => ({
257
+ ...i,
258
258
  series: this.largestTriangleThreeBucketsArray({
259
- data: t.series,
259
+ data: i.series,
260
260
  threshold: this.FINAL_CONFIG.downsample.threshold
261
261
  }),
262
262
  id: `uniqueId_${s}`
263
263
  })) : this.dataset;
264
264
  },
265
265
  safeDataset() {
266
- return this.useSafeValues ? this.dataset.map((t, s) => {
267
- const c = this.largestTriangleThreeBucketsArray({
268
- data: t.series,
266
+ return this.useSafeValues ? this.dataset.map((i, s) => {
267
+ const h = this.largestTriangleThreeBucketsArray({
268
+ data: i.series,
269
269
  threshold: this.FINAL_CONFIG.downsample.threshold
270
270
  });
271
271
  return {
272
- ...t,
273
- series: c.map((f) => this.isSafeValue(f) ? f : null).slice(this.slicer.start, this.slicer.end),
274
- color: this.convertColorToHex(t.color ? t.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
272
+ ...i,
273
+ series: h.map((f) => this.isSafeValue(f) ? f : null).slice(this.slicer.start, this.slicer.end),
274
+ color: this.convertColorToHex(i.color ? i.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
275
275
  id: `uniqueId_${s}`
276
276
  };
277
277
  }) : this.dataset;
278
278
  },
279
279
  relativeDataset() {
280
- return this.safeDataset.map((t, s) => ({
281
- ...t,
282
- series: t.series.map((c) => c + this.relativeZero),
283
- absoluteValues: t.series
284
- })).filter((t) => !this.segregatedSeries.includes(t.id));
280
+ return this.safeDataset.map((i, s) => ({
281
+ ...i,
282
+ series: i.series.map((h) => h + this.relativeZero),
283
+ absoluteValues: i.series
284
+ })).filter((i) => !this.segregatedSeries.includes(i.id));
285
285
  },
286
286
  tableSparklineDataset() {
287
- return this.relativeDataset.map((t) => {
288
- const s = t.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
287
+ return this.relativeDataset.map((i) => {
288
+ const s = i.absoluteValues.map((h) => [void 0, null].includes(h) ? 0 : h);
289
289
  return {
290
- id: t.id,
291
- name: t.name,
292
- color: t.color,
290
+ id: i.id,
291
+ name: i.name,
292
+ color: i.color,
293
293
  values: this.fillArray(this.maxSeries, s)
294
294
  };
295
295
  });
@@ -321,75 +321,75 @@ const Xe = J(), qe = {
321
321
  };
322
322
  },
323
323
  absoluteDataset() {
324
- return this.safeDataset.map((t, s) => ({
324
+ return this.safeDataset.map((i, s) => ({
325
325
  absoluteIndex: s,
326
- ...t,
327
- series: t.series.map((c) => c + this.relativeZero),
328
- absoluteValues: t.series,
329
- segregate: () => this.segregate(t),
330
- isSegregated: this.segregatedSeries.includes(t.id)
326
+ ...i,
327
+ series: i.series.map((h) => h + this.relativeZero),
328
+ absoluteValues: i.series,
329
+ segregate: () => this.segregate(i),
330
+ isSegregated: this.segregatedSeries.includes(i.id)
331
331
  }));
332
332
  },
333
333
  barSet() {
334
- return this.activeSeriesWithStackRatios.filter((t) => t.type === "bar").map((t, s) => {
335
- this.checkAutoScaleError(t);
336
- const c = Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...t.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
337
- ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (f - c)),
338
- valueMin: c,
334
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "bar").map((i, s) => {
335
+ this.checkAutoScaleError(i);
336
+ const h = Math.min(...i.absoluteValues.filter((u) => ![null, void 0].includes(u))), f = Math.max(...i.absoluteValues.filter((u) => ![null, void 0].includes(u))), e = {
337
+ ratios: i.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - h) / (f - h)),
338
+ valueMin: h,
339
339
  valueMax: f < 0 ? 0 : f
340
340
  }, x = {
341
- max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
342
- min: t.scaleMin || Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...t.absoluteValues.filter((d) => ![null, void 0].includes(d)))
343
- }, y = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, S = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * S : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * S : e.valueMax, y), T = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, p = m.max + T, w = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - L * T / p, i = this.drawingArea.bottom - _ - L * v / w, o = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, n = t.series.map((d, F) => {
344
- const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + T) / p : this.ratioToMax(d), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * o - this.barSlot / 2 - s * this.barPeriodGap;
341
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
342
+ min: i.scaleMin || Math.min(...i.absoluteValues.filter((u) => ![void 0, null].includes(u))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((u) => ![null, void 0].includes(u)))
343
+ }, y = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, y), b = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, y), T = m.min >= 0 ? 0 : Math.abs(m.min), v = 0, p = m.max + T, w = b.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, M = this.drawingArea.bottom - _ - L * T / p, a = this.drawingArea.bottom - _ - L * v / w, o = this.absoluteDataset.filter((u) => u.type === "bar").filter((u) => !this.segregatedSeries.includes(u.id)).length, n = i.series.map((u, F) => {
344
+ const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[F] + T) / p : this.ratioToMax(u), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * o - this.barSlot / 2 - s * this.barPeriodGap;
345
345
  return {
346
346
  yOffset: this.checkNaN(_),
347
347
  individualHeight: this.checkNaN(L),
348
348
  x: this.checkNaN(Y),
349
349
  y: this.drawingArea.bottom - _ - L * E,
350
- value: t.absoluteValues[F],
351
- zeroPosition: this.checkNaN(z),
350
+ value: i.absoluteValues[F],
351
+ zeroPosition: this.checkNaN(M),
352
352
  individualMax: this.checkNaN(p),
353
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
353
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
354
354
  };
355
- }), u = t.absoluteValues.map((d) => b.min >= 0 ? (d - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (d + Math.abs(b.min)) / (b.max + Math.abs(b.min))), B = t.series.map((d, F) => {
355
+ }), d = i.absoluteValues.map((u) => b.min >= 0 ? (u - Math.abs(b.min)) / (b.max - Math.abs(b.min)) : (u + Math.abs(b.min)) / (b.max + Math.abs(b.min))), B = i.series.map((u, F) => {
356
356
  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;
357
357
  return {
358
358
  yOffset: this.checkNaN(_),
359
359
  individualHeight: this.checkNaN(L),
360
360
  x: this.checkNaN(E),
361
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * u[F] || 0)),
362
- value: t.absoluteValues[F],
363
- zeroPosition: this.checkNaN(z),
361
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * d[F] || 0)),
362
+ value: i.absoluteValues[F],
363
+ zeroPosition: this.checkNaN(M),
364
364
  individualMax: this.checkNaN(p),
365
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
365
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
366
366
  };
367
- }), A = m.ticks.map((d) => ({
368
- y: d >= 0 ? z - L * (d / p) : z + L * Math.abs(d) / p,
369
- value: d,
370
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
371
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
372
- datapoint: t
373
- })), G = b.ticks.map((d) => {
374
- const F = (d - b.min) / (b.max - b.min);
367
+ }), A = m.ticks.map((u) => ({
368
+ y: u >= 0 ? M - L * (u / p) : M + L * Math.abs(u) / p,
369
+ value: u,
370
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
371
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
372
+ datapoint: i
373
+ })), G = b.ticks.map((u) => {
374
+ const F = (u - b.min) / (b.max - b.min);
375
375
  return {
376
- y: d >= 0 ? i - L * F : i + L * F,
377
- value: d,
378
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
379
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
380
- datapoint: t
376
+ y: u >= 0 ? a - L * F : a + L * F,
377
+ value: u,
378
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
379
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
380
+ datapoint: i
381
381
  };
382
382
  });
383
383
  return {
384
- ...t,
384
+ ...i,
385
385
  yOffset: _,
386
386
  autoScaleYLabels: G,
387
387
  individualHeight: L,
388
- scaleYLabels: t.autoScaling ? G : A,
389
- individualScale: t.autoScaling ? b : m,
390
- individualMax: t.autoScaling ? w : p,
391
- zeroPosition: t.autoScaling ? i : z,
392
- plots: t.autoScaling ? B : n
388
+ scaleYLabels: i.autoScaling ? G : A,
389
+ individualScale: i.autoScaling ? b : m,
390
+ individualMax: i.autoScaling ? w : p,
391
+ zeroPosition: i.autoScaling ? a : M,
392
+ plots: i.autoScaling ? B : n
393
393
  };
394
394
  });
395
395
  },
@@ -397,138 +397,138 @@ const Xe = J(), qe = {
397
397
  return this.absoluteDataset.length;
398
398
  },
399
399
  activeSeriesWithStackRatios() {
400
- return this.assignStackRatios(this.absoluteDataset.filter((t) => !this.segregatedSeries.includes(t.id)));
400
+ return this.assignStackRatios(this.absoluteDataset.filter((i) => !this.segregatedSeries.includes(i.id)));
401
401
  },
402
402
  lineSet() {
403
- return this.activeSeriesWithStackRatios.filter((t) => t.type === "line").map((t) => {
404
- this.checkAutoScaleError(t);
405
- const s = Math.min(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...t.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, a = {
406
- ratios: t.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (c - s)),
403
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "line").map((i) => {
404
+ this.checkAutoScaleError(i);
405
+ const s = Math.min(...i.absoluteValues.filter((u) => ![void 0, null].includes(u))), h = Math.max(...i.absoluteValues.filter((u) => ![void 0, null].includes(u))) || 1, t = {
406
+ ratios: i.absoluteValues.filter((u) => ![null, void 0].includes(u)).map((u) => (u - s) / (h - s)),
407
407
  valueMin: s,
408
- valueMax: c
408
+ valueMax: h
409
409
  }, e = {
410
- max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
411
- min: t.scaleMin || (Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues))
412
- }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), T = 0, v = S.max + Math.abs(b), p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * T / p, i = t.series.map((d, F) => {
413
- const E = this.mutableConfig.useIndividualScale ? (t.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(d);
410
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
411
+ min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
412
+ }, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * y : t.valueMax, x), b = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + Math.abs(b), p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, M = this.drawingArea.bottom - w - _ * T / p, a = i.series.map((u, F) => {
413
+ const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[F] + Math.abs(b)) / v : this.ratioToMax(u);
414
414
  return {
415
415
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
416
416
  y: this.checkNaN(this.drawingArea.bottom - w - _ * E),
417
- value: t.absoluteValues[F],
418
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
417
+ value: i.absoluteValues[F],
418
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
419
419
  };
420
- }), o = t.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((d, F) => [void 0, null].includes(t.absoluteValues[F]) ? {
420
+ }), o = i.absoluteValues.map((u) => m.min >= 0 ? (u - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (u + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = i.series.map((u, F) => [void 0, null].includes(i.absoluteValues[F]) ? {
421
421
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
422
422
  y: L,
423
- value: t.absoluteValues[F],
424
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
423
+ value: i.absoluteValues[F],
424
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
425
425
  } : {
426
426
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
427
427
  y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[F] || 0)),
428
- value: t.absoluteValues[F],
429
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
430
- }), u = this.createSmoothPath(i), B = this.createSmoothPath(n), A = S.ticks.map((d) => ({
431
- y: d >= 0 ? L - _ * (d / v) : L + _ * Math.abs(d) / v,
432
- value: d,
433
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
434
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
435
- datapoint: t
436
- })), G = m.ticks.map((d) => {
437
- const F = (d - m.min) / (m.max - m.min);
428
+ value: i.absoluteValues[F],
429
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
430
+ }), d = this.createSmoothPath(a), B = this.createSmoothPath(n), A = k.ticks.map((u) => ({
431
+ y: u >= 0 ? L - _ * (u / v) : L + _ * Math.abs(u) / v,
432
+ value: u,
433
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
434
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
435
+ datapoint: i
436
+ })), G = m.ticks.map((u) => {
437
+ const F = (u - m.min) / (m.max - m.min);
438
438
  return {
439
- y: d >= 0 ? z - _ * F : z + _ * F,
440
- value: d,
441
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
442
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
443
- datapoint: t
439
+ y: u >= 0 ? M - _ * F : M + _ * F,
440
+ value: u,
441
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
442
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
443
+ datapoint: i
444
444
  };
445
445
  });
446
446
  return {
447
- ...t,
447
+ ...i,
448
448
  yOffset: w,
449
449
  autoScaleYLabels: G,
450
450
  individualHeight: _,
451
- scaleYLabels: t.autoScaling ? G : A,
452
- individualScale: t.autoScaling ? m : S,
453
- individualMax: t.autoScaling ? p : v,
454
- zeroPosition: t.autoScaling ? z : L,
455
- curve: t.autoScaling ? B : u,
456
- plots: t.autoScaling ? n : i,
457
- area: t.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(t.autoScaling ? n : i, t.autoScaling ? z : L) : this.createArea(i) : ""
451
+ scaleYLabels: i.autoScaling ? G : A,
452
+ individualScale: i.autoScaling ? m : k,
453
+ individualMax: i.autoScaling ? p : v,
454
+ zeroPosition: i.autoScaling ? M : L,
455
+ curve: i.autoScaling ? B : d,
456
+ plots: i.autoScaling ? n : a,
457
+ area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? n : a, i.autoScaling ? M : L) : this.createArea(a) : ""
458
458
  };
459
459
  });
460
460
  },
461
461
  plotSet() {
462
- return this.activeSeriesWithStackRatios.filter((t) => t.type === "plot").map((t) => {
463
- this.checkAutoScaleError(t);
464
- const s = Math.min(...t.absoluteValues.filter((A) => ![null, void 0].includes(A))), c = Math.max(...t.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, a = {
465
- ratios: t.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - s) / (c - s)),
462
+ return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
463
+ this.checkAutoScaleError(i);
464
+ const s = Math.min(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))), h = Math.max(...i.absoluteValues.filter((A) => ![null, void 0].includes(A))) || 1, t = {
465
+ ratios: i.absoluteValues.filter((A) => ![null, void 0].includes(A)).map((A) => (A - s) / (h - s)),
466
466
  valueMin: s,
467
- valueMax: c
467
+ valueMax: h
468
468
  }, e = {
469
- max: t.scaleMax || Math.max(...t.absoluteValues) || 1,
470
- min: t.scaleMin || Math.min(...t.absoluteValues) > 0 ? 0 : Math.min(...t.absoluteValues)
471
- }, x = t.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, S = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(a.valueMin, a.valueMax === a.valueMin ? a.valueMax * y : a.valueMax, x), b = S.min >= 0 ? 0 : Math.abs(S.min), T = 0, v = S.max + b, p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - t.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * t.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, z = this.drawingArea.bottom - w - _ * T / p, i = t.series.map((A, G) => {
472
- const d = this.mutableConfig.useIndividualScale ? (t.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(A);
469
+ max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
470
+ min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
471
+ }, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), m = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * y : t.valueMax, x), b = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + b, p = m.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * b / v, M = this.drawingArea.bottom - w - _ * T / p, a = i.series.map((A, G) => {
472
+ const u = this.mutableConfig.useIndividualScale ? (i.absoluteValues[G] + Math.abs(b)) / v : this.ratioToMax(A);
473
473
  return {
474
474
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
475
- y: this.checkNaN(this.drawingArea.bottom - w - _ * d),
476
- value: t.absoluteValues[G],
477
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
475
+ y: this.checkNaN(this.drawingArea.bottom - w - _ * u),
476
+ value: i.absoluteValues[G],
477
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
478
478
  };
479
- }), o = t.absoluteValues.map((A) => m.min >= 0 ? (A - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (A + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = t.series.map((A, G) => ({
479
+ }), o = i.absoluteValues.map((A) => m.min >= 0 ? (A - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (A + Math.abs(m.min)) / (m.max + Math.abs(m.min))), n = i.series.map((A, G) => ({
480
480
  x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
481
481
  y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[G] || 0)),
482
- value: t.absoluteValues[G],
483
- comment: t.comments && t.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
484
- })), u = S.ticks.map((A) => ({
482
+ value: i.absoluteValues[G],
483
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
484
+ })), d = k.ticks.map((A) => ({
485
485
  y: A >= 0 ? L - _ * (A / v) : L + _ * Math.abs(A) / v,
486
486
  value: A,
487
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
488
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
489
- datapoint: t
487
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
488
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
489
+ datapoint: i
490
490
  })), B = m.ticks.map((A) => {
491
491
  const G = (A - m.min) / (m.max - m.min);
492
492
  return {
493
- y: A >= 0 ? z - _ * G : z + _ * G,
493
+ y: A >= 0 ? M - _ * G : M + _ * G,
494
494
  value: A,
495
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
496
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix,
497
- datapoint: t
495
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
496
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
497
+ datapoint: i
498
498
  };
499
499
  });
500
500
  return {
501
- ...t,
501
+ ...i,
502
502
  yOffset: w,
503
503
  autoScaleYLabels: B,
504
504
  individualHeight: _,
505
- scaleYLabels: t.autoScaling ? B : u,
506
- individualScale: t.autoScaling ? m : S,
507
- individualMax: t.autoScaling ? p : v,
508
- zeroPosition: t.autoScaling ? z : L,
509
- plots: t.autoScaling ? n : i
505
+ scaleYLabels: i.autoScaling ? B : d,
506
+ individualScale: i.autoScaling ? m : k,
507
+ individualMax: i.autoScaling ? p : v,
508
+ zeroPosition: i.autoScaling ? M : L,
509
+ plots: i.autoScaling ? n : a
510
510
  };
511
511
  });
512
512
  },
513
513
  drawingArea() {
514
- const t = 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;
514
+ const i = 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;
515
515
  return {
516
516
  top: this.FINAL_CONFIG.chart.padding.top,
517
517
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
518
518
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
519
- left: this.FINAL_CONFIG.chart.padding.left + t,
519
+ left: this.FINAL_CONFIG.chart.padding.left + i,
520
520
  height: this.height - (this.FINAL_CONFIG.chart.padding.top + this.FINAL_CONFIG.chart.padding.bottom),
521
- width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + t)
521
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + i)
522
522
  };
523
523
  },
524
524
  max() {
525
- return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((t) => !this.segregatedSeries.includes(t.id)).map((t) => Math.max(...t.series)));
525
+ 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)));
526
526
  },
527
527
  min() {
528
528
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
529
529
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
530
- const t = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
531
- return t > 0 ? 0 : t;
530
+ const i = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
531
+ return i > 0 ? 0 : i;
532
532
  },
533
533
  niceScale() {
534
534
  return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
@@ -541,43 +541,43 @@ const Xe = J(), qe = {
541
541
  },
542
542
  slot() {
543
543
  return {
544
- bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((t) => t.type === "bar").filter((t) => !this.segregatedSeries.includes(t.id)).length,
544
+ bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((i) => i.type === "bar").filter((i) => !this.segregatedSeries.includes(i.id)).length,
545
545
  plot: this.drawingArea.width / this.maxSeries,
546
546
  line: this.drawingArea.width / this.maxSeries
547
547
  };
548
548
  },
549
549
  barSlot() {
550
- const t = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
551
- return this.drawingArea.width / this.maxSeries / t - this.barPeriodGap * t;
550
+ const i = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
551
+ return this.drawingArea.width / this.maxSeries / i - this.barPeriodGap * i;
552
552
  },
553
553
  barPeriodGap() {
554
554
  return this.slot.line * this.FINAL_CONFIG.bar.periodGap;
555
555
  },
556
556
  maxSlot() {
557
- return Math.max(...Object.values(this.slot).filter((t) => t !== 1 / 0));
557
+ return Math.max(...Object.values(this.slot).filter((i) => i !== 1 / 0));
558
558
  },
559
559
  table() {
560
560
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
561
- const t = this.relativeDataset.map((c) => ({
562
- label: c.name,
563
- color: c.color,
564
- type: c.type
561
+ const i = this.relativeDataset.map((h) => ({
562
+ label: h.name,
563
+ color: h.color,
564
+ type: h.type
565
565
  })), s = [];
566
- return this.timeLabels.forEach((c, f) => {
567
- const a = [c];
566
+ return this.timeLabels.forEach((h, f) => {
567
+ const t = [h];
568
568
  this.relativeDataset.forEach((e) => {
569
- a.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
570
- }), s.push(a);
571
- }), { head: t, body: s };
569
+ t.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
570
+ }), s.push(t);
571
+ }), { head: i, body: s };
572
572
  },
573
573
  dataTable() {
574
- const t = this.FINAL_CONFIG.table.showSum;
574
+ const i = this.FINAL_CONFIG.table.showSum;
575
575
  let s = [""].concat(this.relativeDataset.map((e) => e.name));
576
- t && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
577
- let c = [];
576
+ i && (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>'));
577
+ let h = [];
578
578
  for (let e = 0; e < this.maxSeries; e += 1) {
579
- const x = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, S) => y + S, 0);
580
- c.push(
579
+ const x = this.relativeDataset.map((y) => y.absoluteValues[e] ?? 0).reduce((y, k) => y + k, 0);
580
+ h.push(
581
581
  [
582
582
  this.timeLabels[e] ?? "-"
583
583
  ].concat(this.relativeDataset.map(
@@ -591,7 +591,7 @@ const Xe = J(), qe = {
591
591
  r: this.FINAL_CONFIG.table.rounding
592
592
  })
593
593
  )
594
- )).concat(t ? (x ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
594
+ )).concat(i ? (x ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
595
595
  );
596
596
  }
597
597
  const f = {
@@ -606,8 +606,8 @@ const Xe = J(), qe = {
606
606
  outline: this.FINAL_CONFIG.table.td.outline
607
607
  },
608
608
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
609
- }, a = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
610
- return { head: s, body: c, config: f, colNames: a };
609
+ }, t = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
610
+ return { head: s, body: h, config: f, colNames: t };
611
611
  },
612
612
  dataTooltipSlot() {
613
613
  return {
@@ -621,20 +621,20 @@ const Xe = J(), qe = {
621
621
  };
622
622
  },
623
623
  selectedSeries() {
624
- return this.relativeDataset.map((t) => ({
625
- shape: t.shape || null,
626
- name: t.name,
627
- color: t.color,
628
- type: t.type,
629
- value: t.absoluteValues.find((s, c) => c === this.selectedSerieIndex),
630
- comments: t.comments || [],
631
- prefix: t.prefix || this.FINAL_CONFIG.chart.labels.prefix,
632
- suffix: t.suffix || this.FINAL_CONFIG.chart.labels.suffix
624
+ return this.relativeDataset.map((i) => ({
625
+ shape: i.shape || null,
626
+ name: i.name,
627
+ color: i.color,
628
+ type: i.type,
629
+ value: i.absoluteValues.find((s, h) => h === this.selectedSerieIndex),
630
+ comments: i.comments || [],
631
+ prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
632
+ suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix
633
633
  }));
634
634
  },
635
635
  tooltipContent() {
636
- let t = "", s = this.selectedSeries.map((a) => a.value).filter((a) => this.isSafeValue(a) && a !== null).reduce((a, e) => Math.abs(a) + Math.abs(e), 0);
637
- const c = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
636
+ let i = "", s = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
637
+ const h = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
638
638
  return this.isFunction(f) && this.functionReturnsString(() => f({
639
639
  seriesIndex: this.selectedSerieIndex,
640
640
  datapoint: this.selectedSeries,
@@ -651,63 +651,63 @@ const Xe = J(), qe = {
651
651
  lines: this.lineSet,
652
652
  plots: this.plotSet,
653
653
  config: this.FINAL_CONFIG
654
- }) : (c && (t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((a) => {
655
- if (this.isSafeValue(a.value)) {
654
+ }) : (h && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${h}</div>`), this.selectedSeries.forEach((t) => {
655
+ if (this.isSafeValue(t.value)) {
656
656
  let e = "", x = "";
657
- switch (this.icons[a.type]) {
657
+ switch (this.icons[t.type]) {
658
658
  case "bar":
659
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${a.color}" /></svg>`;
659
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${t.color}" /></svg>`;
660
660
  break;
661
661
  case "line":
662
- !a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" />` : a.shape === "triangle" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "square" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "diamond" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "pentagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "hexagon" ? x = `<path d="${R({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : a.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${a.color}" />${x}</svg>`;
662
+ !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="1" 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="1" />` : 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="1" />` : 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="1" />` : 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="1" />` : 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="1" />` : t.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${x}</svg>`;
663
663
  break;
664
664
  case "plot":
665
- if (!a.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(a.shape)) {
666
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" /></svg>`;
665
+ if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
666
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" /></svg>`;
667
667
  break;
668
668
  }
669
- if (a.shape === "star") {
670
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${a.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
669
+ if (t.shape === "star") {
670
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
671
671
  break;
672
672
  }
673
- if (a.shape === "triangle") {
674
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
673
+ if (t.shape === "triangle") {
674
+ 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>`;
675
675
  break;
676
676
  }
677
- if (a.shape === "square") {
678
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
677
+ if (t.shape === "square") {
678
+ 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>`;
679
679
  break;
680
680
  }
681
- if (a.shape === "diamond") {
682
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
681
+ if (t.shape === "diamond") {
682
+ 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>`;
683
683
  break;
684
684
  }
685
- if (a.shape === "pentagon") {
686
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
685
+ if (t.shape === "pentagon") {
686
+ 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>`;
687
687
  break;
688
688
  }
689
- if (a.shape === "hexagon") {
690
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${R({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${a.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
689
+ if (t.shape === "hexagon") {
690
+ 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>`;
691
691
  break;
692
692
  }
693
693
  }
694
- t += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${a.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
695
- a.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : a.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
696
- a.value,
694
+ 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(
695
+ t.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : t.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
696
+ t.value,
697
697
  this.dataLabel({
698
- p: a.prefix,
699
- v: a.value,
700
- s: a.suffix,
698
+ p: t.prefix,
699
+ v: t.value,
700
+ s: t.suffix,
701
701
  r: this.FINAL_CONFIG.chart.tooltip.roundingValue
702
702
  }),
703
- { datapoint: a }
703
+ { datapoint: t }
704
704
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${U({
705
- v: this.checkNaN(Math.abs(a.value) / s * 100),
705
+ v: this.checkNaN(Math.abs(t.value) / s * 100),
706
706
  s: "%",
707
707
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
708
- })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && a.comments.length && a.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (t += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
708
+ })})` : ""}</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>`);
709
709
  }
710
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${t}</div>`);
710
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${i}</div>`);
711
711
  },
712
712
  svg() {
713
713
  return {
@@ -716,9 +716,9 @@ const Xe = J(), qe = {
716
716
  };
717
717
  },
718
718
  yLabels() {
719
- return this.niceScale.ticks.map((t) => ({
720
- y: t >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(t) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(t)),
721
- value: t,
719
+ return this.niceScale.ticks.map((i) => ({
720
+ y: i >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(i) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(i)),
721
+ value: i,
722
722
  prefix: this.FINAL_CONFIG.chart.labels.prefix,
723
723
  suffix: this.FINAL_CONFIG.chart.labels.suffix
724
724
  }));
@@ -728,25 +728,25 @@ const Xe = J(), qe = {
728
728
  }
729
729
  },
730
730
  mounted() {
731
- this.prepareChart(), document.addEventListener("mousemove", (t) => {
731
+ this.prepareChart(), document.addEventListener("mousemove", (i) => {
732
732
  this.clientPosition = {
733
- x: t.clientX,
734
- y: t.clientY
733
+ x: i.clientX,
734
+ y: i.clientY
735
735
  };
736
736
  });
737
737
  },
738
738
  methods: {
739
739
  abbreviate: ee,
740
740
  adaptColorToBackground: te,
741
- applyDataLabel: ae,
742
- assignStackRatios: ie,
741
+ applyDataLabel: ie,
742
+ assignStackRatios: ae,
743
743
  calcLinearProgression: re,
744
744
  calculateNiceScaleWithExactExtremes: le,
745
745
  checkNaN: se,
746
746
  closestDecimal: ne,
747
747
  convertColorToHex: oe,
748
- convertConfigColors: he,
749
- convertCustomPalette: ce,
748
+ convertConfigColors: ce,
749
+ convertCustomPalette: he,
750
750
  createCsvContent: de,
751
751
  createSmoothPath: ue,
752
752
  createTSpans: ge,
@@ -768,20 +768,20 @@ const Xe = J(), qe = {
768
768
  toggleAnnotator() {
769
769
  this.isAnnotator = !this.isAnnotator;
770
770
  },
771
- getHighlightAreaPosition(t) {
772
- const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (t.from - this.slicer.start), c = this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span < 0 ? 1e-5 : this.drawingArea.width / (this.slicer.end - this.slicer.start) * t.span;
771
+ getHighlightAreaPosition(i) {
772
+ const s = this.drawingArea.left + this.drawingArea.width / this.maxSeries * (i.from - this.slicer.start), h = 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;
773
773
  return {
774
774
  x: s < this.drawingArea.left ? this.drawingArea.left : s,
775
- width: c
775
+ width: h
776
776
  };
777
777
  },
778
778
  prepareConfig() {
779
- const t = ke().vue_ui_xy;
779
+ const i = Se().vue_ui_xy;
780
780
  if (!Object.keys(this.config || {}).length)
781
- return t;
781
+ return i;
782
782
  const s = this.useNestedProp({
783
783
  userConfig: this.config,
784
- defaultConfig: t
784
+ defaultConfig: i
785
785
  });
786
786
  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, s.theme ? {
787
787
  ...Z({
@@ -795,17 +795,17 @@ const Xe = J(), qe = {
795
795
  if (this.objectIsEmpty(this.dataset) ? this.error({
796
796
  componentName: "VueUiXy",
797
797
  type: "dataset"
798
- }) : this.dataset.forEach((t, s) => {
799
- [null, void 0].includes(t.name) && this.error({
798
+ }) : this.dataset.forEach((i, s) => {
799
+ [null, void 0].includes(i.name) && this.error({
800
800
  componentName: "VueUiXy",
801
801
  type: "datasetSerieAttribute",
802
802
  property: "name (string)",
803
803
  index: s
804
804
  });
805
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((t) => {
806
- t.series.forEach((s, c) => {
805
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
806
+ i.series.forEach((s, h) => {
807
807
  this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
808
- -----> The serie '${t.name}' contains the value '${s}' at index ${c}.
808
+ -----> The serie '${i.name}' contains the value '${s}' at index ${h}.
809
809
  '${s}' was converted to null to allow the chart to display.`);
810
810
  });
811
811
  }), this.mutableConfig = {
@@ -817,25 +817,25 @@ const Xe = J(), qe = {
817
817
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
818
818
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
819
819
  }, this.FINAL_CONFIG.responsive) {
820
- const s = this.$refs.chart.parentNode, { height: c, width: f } = s.getBoundingClientRect();
821
- let a = null, e = 0;
822
- this.FINAL_CONFIG.chart.title.show && (a = this.$refs.chartTitle, e = a.getBoundingClientRect().height);
820
+ const s = this.$refs.chart.parentNode, { height: h, width: f } = s.getBoundingClientRect();
821
+ let t = null, e = 0;
822
+ this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
823
823
  let x = null, y = 0;
824
824
  this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, y = x.getBoundingClientRect().height);
825
- let S = null, m = 0;
826
- this.FINAL_CONFIG.chart.legend.show && (S = this.$refs.chartLegend, m = S.getBoundingClientRect().height);
825
+ let k = null, m = 0;
826
+ this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend, m = k.getBoundingClientRect().height);
827
827
  let b = 0;
828
828
  this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height);
829
829
  let T = 0;
830
- this.$refs.noTitle && (T = this.$refs.source.getBoundingClientRect().height), this.height = c - e - m - y - b - T, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
830
+ this.$refs.noTitle && (T = this.$refs.source.getBoundingClientRect().height), this.height = h - e - m - y - b - T, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
831
831
  for (const w of p)
832
832
  this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (b = this.$refs.source.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - m - y - b - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
833
833
  }).observe(s);
834
834
  } else
835
835
  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;
836
836
  },
837
- selectMinimapIndex(t) {
838
- this.selectedMinimapIndex = t;
837
+ selectMinimapIndex(i) {
838
+ this.selectedMinimapIndex = i;
839
839
  },
840
840
  convertSizes() {
841
841
  this.fontSizes.dataLabels = this.translateSize({
@@ -888,98 +888,98 @@ const Xe = J(), qe = {
888
888
  toggleTooltip() {
889
889
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
890
890
  },
891
- checkAutoScaleError(t) {
892
- t.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${t.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: ${t.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
891
+ checkAutoScaleError(i) {
892
+ 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`));
893
893
  },
894
- createArea(t) {
895
- if (!t[0]) return [-10, -10, "", -10, -10];
896
- const s = { x: t[0].x, y: this.zero }, c = { x: t.at(-1).x, y: this.zero }, f = [];
897
- return t.forEach((a) => {
898
- f.push(`${a.x},${a.y} `);
899
- }), [s.x, s.y, ...f, c.x, c.y].toString();
894
+ createArea(i) {
895
+ if (!i[0]) return [-10, -10, "", -10, -10];
896
+ const s = { x: i[0].x, y: this.zero }, h = { x: i.at(-1).x, y: this.zero }, f = [];
897
+ return i.forEach((t) => {
898
+ f.push(`${t.x},${t.y} `);
899
+ }), [s.x, s.y, ...f, h.x, h.y].toString();
900
900
  },
901
- createIndividualArea(t, s) {
902
- if (!t[0]) return [-10, -10, "", -10, -10];
903
- const c = { x: t[0] ? t[0].x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: t.at(-1) ? t.at(-1).x : Math.min(...t.filter((e) => !!e).map((e) => e.x)), y: s }, a = [];
904
- return t.filter((e) => !!e).forEach((e) => {
905
- a.push(`${e.x},${e.y} `);
906
- }), [c.x, c.y, ...a, f.x, f.y].toString();
901
+ createIndividualArea(i, s) {
902
+ if (!i[0]) return [-10, -10, "", -10, -10];
903
+ const h = { x: i[0] ? i[0].x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: i.at(-1) ? i.at(-1).x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, t = [];
904
+ return i.filter((e) => !!e).forEach((e) => {
905
+ t.push(`${e.x},${e.y} `);
906
+ }), [h.x, h.y, ...t, f.x, f.y].toString();
907
907
  },
908
908
  createStar: q,
909
909
  createPolygonPath: R,
910
- fillArray(t, s) {
911
- let c = Array(t).fill(0);
912
- for (let f = 0; f < s.length && f < t; f += 1)
913
- c[f] = s[f];
914
- return c;
910
+ fillArray(i, s) {
911
+ let h = Array(i).fill(0);
912
+ for (let f = 0; f < s.length && f < i; f += 1)
913
+ h[f] = s[f];
914
+ return h;
915
915
  },
916
916
  refreshSlicer() {
917
917
  this.slicer = {
918
918
  start: 0,
919
- end: Math.max(...this.dataset.map((t) => this.largestTriangleThreeBucketsArray({ data: t.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
919
+ end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
920
920
  }, this.slicerStep += 1;
921
921
  },
922
- calcRectHeight(t) {
923
- return t.value >= 0 ? this.checkNaN(this.zero - t.y <= 0 ? 1e-5 : this.zero - t.y) : this.checkNaN(t.y - this.zero <= 0 ? 1e-5 : t.y - this.zero);
922
+ calcRectHeight(i) {
923
+ return i.value >= 0 ? this.checkNaN(this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
924
924
  },
925
- calcIndividualHeight(t) {
926
- return t.value >= 0 ? this.checkNaN(t.zeroPosition - t.y <= 0 ? 1e-5 : t.zeroPosition - t.y) : this.checkNaN(t.y - t.zeroPosition <= 0 ? 1e-5 : t.zeroPosition - t.y);
925
+ calcIndividualHeight(i) {
926
+ 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);
927
927
  },
928
928
  calcRectWidth() {
929
929
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
930
930
  },
931
- calcRectX(t) {
932
- return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? t.x + this.drawingArea.width / this.maxSeries * 0.05 : t.x + this.slot.bar / 2;
931
+ calcRectX(i) {
932
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
933
933
  },
934
- calcRectY(t) {
935
- return t.value >= 0 ? t.y : this.zero;
934
+ calcRectY(i) {
935
+ return i.value >= 0 ? i.y : this.zero;
936
936
  },
937
- calcIndividualRectY(t) {
938
- return t.value >= 0 ? t.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(t.zeroPosition) ? 0 : t.zeroPosition;
937
+ calcIndividualRectY(i) {
938
+ return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
939
939
  },
940
- canShowValue(t) {
941
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(t);
940
+ canShowValue(i) {
941
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
942
942
  },
943
- findClosestValue(t, s) {
944
- let c = s[0], f = Math.abs(t - s[0]);
945
- for (let a = 1; a < s.length; a += 1) {
946
- const e = Math.abs(t - s[a]);
947
- e < f && s[a] < t && (c = s[a], f = e);
943
+ findClosestValue(i, s) {
944
+ let h = s[0], f = Math.abs(i - s[0]);
945
+ for (let t = 1; t < s.length; t += 1) {
946
+ const e = Math.abs(i - s[t]);
947
+ e < f && s[t] < i && (h = s[t], f = e);
948
948
  }
949
- return c;
949
+ return h;
950
950
  },
951
- ratioToMax(t) {
952
- return t / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
951
+ ratioToMax(i) {
952
+ return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
953
953
  },
954
- selectX(t) {
954
+ selectX(i) {
955
955
  this.$emit(
956
956
  "selectX",
957
957
  {
958
958
  dataset: this.relativeDataset.map((s) => ({
959
959
  name: s.name,
960
- value: [null, void 0, NaN].includes(s.absoluteValues[t]) ? null : s.absoluteValues[t],
960
+ value: [null, void 0, NaN].includes(s.absoluteValues[i]) ? null : s.absoluteValues[i],
961
961
  color: s.color,
962
962
  type: s.type
963
963
  })),
964
- index: t,
965
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t]
964
+ index: i,
965
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
966
966
  }
967
967
  );
968
968
  },
969
969
  getData() {
970
- return this.absoluteDataset.map((t) => ({
971
- values: t.absoluteValues,
972
- color: t.color,
973
- name: t.name,
974
- type: t.type
970
+ return this.absoluteDataset.map((i) => ({
971
+ values: i.absoluteValues,
972
+ color: i.color,
973
+ name: i.name,
974
+ type: i.type
975
975
  }));
976
976
  },
977
- segregate(t) {
978
- if (this.segregatedSeries.includes(t.id))
979
- this.segregatedSeries = this.segregatedSeries.filter((s) => s !== t.id);
977
+ segregate(i) {
978
+ if (this.segregatedSeries.includes(i.id))
979
+ this.segregatedSeries = this.segregatedSeries.filter((s) => s !== i.id);
980
980
  else {
981
981
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
982
- this.segregatedSeries.push(t.id);
982
+ this.segregatedSeries.push(i.id);
983
983
  }
984
984
  this.$emit("selectLegend", this.relativeDataset.map((s) => ({
985
985
  name: s.name,
@@ -988,11 +988,11 @@ const Xe = J(), qe = {
988
988
  type: s.type
989
989
  }))), this.segregateStep += 1;
990
990
  },
991
- toggleTooltipVisibility(t, s = null) {
992
- this.isTooltip = t, t ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
991
+ toggleTooltipVisibility(i, s = null) {
992
+ this.isTooltip = i, i ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
993
993
  },
994
- toggleFullscreen(t) {
995
- this.isFullscreen = t, this.step += 1;
994
+ toggleFullscreen(i) {
995
+ this.isFullscreen = i, this.step += 1;
996
996
  },
997
997
  showSpinnerPdf() {
998
998
  this.isPrinting = !0;
@@ -1000,21 +1000,21 @@ const Xe = J(), qe = {
1000
1000
  async generatePdf() {
1001
1001
  this.showSpinnerPdf(), clearTimeout(this.__to__), this.isPrinting = !0, this.__to__ = setTimeout(async () => {
1002
1002
  try {
1003
- const { default: t } = await import("./pdf-B7oVat64.js");
1004
- await t({
1003
+ const { default: i } = await import("./pdf-B7oVat64.js");
1004
+ await i({
1005
1005
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1006
1006
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy"
1007
1007
  });
1008
- } catch (t) {
1009
- console.error("Error generating PDF:", t);
1008
+ } catch (i) {
1009
+ console.error("Error generating PDF:", i);
1010
1010
  } finally {
1011
1011
  this.isPrinting = !1;
1012
1012
  }
1013
1013
  }, 100);
1014
1014
  },
1015
1015
  generateCsv() {
1016
- const t = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, f = t.concat([s]).concat(c), a = this.createCsvContent(f);
1017
- this.downloadCsv({ csvContent: a, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1016
+ const i = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], h = this.table.body, f = i.concat([s]).concat(h), t = this.createCsvContent(f);
1017
+ this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
1018
1018
  },
1019
1019
  showSpinnerImage() {
1020
1020
  this.isImaging = !0;
@@ -1022,14 +1022,14 @@ const Xe = J(), qe = {
1022
1022
  async generateImage() {
1023
1023
  this.showSpinnerImage(), clearTimeout(this.__to__), this.isImaging = !0, this.__to__ = setTimeout(async () => {
1024
1024
  try {
1025
- const { default: t } = await import("./img-DGzWcJ4Y.js");
1026
- await t({
1025
+ const { default: i } = await import("./img-DGzWcJ4Y.js");
1026
+ await i({
1027
1027
  domElement: document.getElementById(`vue-ui-xy_${this.uniqueId}`),
1028
1028
  fileName: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy",
1029
1029
  format: "png"
1030
1030
  });
1031
- } catch (t) {
1032
- console.error("Error generating image:", t);
1031
+ } catch (i) {
1032
+ console.error("Error generating image:", i);
1033
1033
  } finally {
1034
1034
  this.isImaging = !1;
1035
1035
  }
@@ -1041,47 +1041,47 @@ const Xe = J(), qe = {
1041
1041
  ref: "noTitle",
1042
1042
  class: "vue-data-ui-no-title-space",
1043
1043
  style: "height:36px; width: 100%; background:transparent"
1044
- }, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ht = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], Nt = ["stop-color"], mt = ["stop-color"], It = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], yt = ["stop-color"], At = ["x", "y", "height", "width", "fill"], Ct = ["x", "y", "width"], Lt = ["x", "y", "height", "width", "fill"], kt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], St = ["width", "x", "y"], wt = { key: 0 }, Ot = ["id"], Gt = ["fill"], vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pt = ["x", "y", "font-size", "fill"], zt = ["stroke", "x1", "x2", "y1", "y2"], Mt = { key: 2 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Bt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Ut = ["id"], Zt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Kt = ["x", "y", "font-size", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = { key: 0 }, ta = ["d", "fill"], aa = ["d", "fill"], ia = ["d", "stroke", "stroke-width", "stroke-dasharray"], ra = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sa = ["width", "x", "y"], na = { style: { width: "100%" } }, oa = { key: 3 }, ha = ["id"], ca = ["fill"], da = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], ga = { key: 5 }, fa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Ia = ["x", "y", "font-size", "fill"], xa = ["x", "y"], ba = ["x", "y"], Fa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], ya = ["x", "y"], Aa = ["x", "y"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], wa = ["x", "y", "width", "height", "fill", "onMouseenter"], Oa = ["font-size", "fill", "transform"], Ga = ["x", "y", "font-size", "fill"], va = { key: 9 }, pa = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, Ta = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Va = {
1044
+ }, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ct = ["stop-color"], ht = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], Nt = ["stop-color"], mt = ["stop-color"], It = ["id"], xt = ["stop-color"], bt = ["stop-color"], Ft = ["id"], _t = ["stop-color"], yt = ["stop-color"], At = ["x", "y", "height", "width", "fill"], Ct = ["x", "y", "width"], Lt = ["x", "y", "height", "width", "fill"], St = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], kt = ["width", "x", "y"], wt = { key: 0 }, Ot = ["id"], Gt = ["fill"], vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pt = ["x", "y", "font-size", "fill"], Mt = ["stroke", "x1", "x2", "y1", "y2"], zt = { key: 2 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Bt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Wt = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Ut = ["id"], Zt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Kt = ["x", "y", "font-size", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ei = { key: 0 }, ti = ["d", "fill"], ii = ["d", "fill"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], ri = { key: 2 }, li = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["width", "x", "y"], ni = { style: { width: "100%" } }, oi = { key: 3 }, ci = ["id"], hi = ["fill"], di = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ui = ["x", "y", "font-size", "fill"], gi = { key: 5 }, fi = ["x", "y", "font-size", "fill"], Ni = ["x", "y", "font-size", "fill", "font-weight"], mi = { key: 6 }, Ii = ["x", "y", "font-size", "fill"], xi = ["x", "y"], bi = ["x", "y"], Fi = { key: 7 }, _i = ["x", "y", "font-size", "fill"], yi = ["x", "y"], Ai = ["x", "y"], Ci = ["x", "y", "font-size", "fill", "innerHTML"], Li = ["x", "y", "font-size", "fill", "innerHTML"], Si = ["x", "y", "font-size", "fill", "innerHTML"], ki = ["x", "y", "font-size", "fill", "innerHTML"], wi = ["x", "y", "width", "height", "fill", "onMouseenter"], Oi = ["font-size", "fill", "transform"], Gi = ["x", "y", "font-size", "fill"], vi = { key: 9 }, pi = ["text-anchor", "font-size", "fill", "transform"], Mi = ["x", "y", "height", "width", "onMouseenter", "onClick"], zi = { key: 10 }, Ti = ["x", "y"], Pi = ["cx", "cy", "r", "fill"], Vi = {
1045
1045
  key: 5,
1046
1046
  class: "vue-data-ui-watermark"
1047
- }, Ra = ["onClick"], Da = {
1047
+ }, Ri = ["onClick"], Di = {
1048
1048
  key: 0,
1049
1049
  viewBox: "0 0 20 12",
1050
1050
  height: "14",
1051
1051
  width: "20"
1052
- }, Ba = ["fill"], Ha = {
1052
+ }, Bi = ["fill"], Hi = {
1053
1053
  key: 1,
1054
1054
  viewBox: "0 0 12 12",
1055
1055
  height: "14",
1056
1056
  width: "14"
1057
- }, Wa = ["fill"], Ea = {
1057
+ }, Wi = ["fill"], Ei = {
1058
1058
  key: 9,
1059
1059
  ref: "chartLegend"
1060
- }, Ya = {
1060
+ }, Yi = {
1061
1061
  key: 10,
1062
1062
  ref: "source",
1063
1063
  dir: "auto"
1064
- }, Xa = {
1064
+ }, Xi = {
1065
1065
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
1066
1066
  "data-html2canvas-ignore": ""
1067
- }, qa = ["innerHTML"];
1068
- function Ua(t, s, c, f, a, e) {
1069
- const x = P("PenAndPaper"), y = P("Title"), S = P("UserOptions"), m = P("PackageVersion"), b = P("Shape"), T = P("Skeleton"), v = P("Slicer"), p = P("Tooltip"), w = P("BaseIcon"), _ = P("TableSparkline"), L = P("DataTable"), z = P("Accordion");
1067
+ }, qi = ["innerHTML"];
1068
+ function Ui(i, s, h, f, t, e) {
1069
+ const x = P("PenAndPaper"), y = P("Title"), k = P("UserOptions"), m = P("PackageVersion"), b = P("Shape"), T = P("Skeleton"), v = P("Slicer"), p = P("Tooltip"), w = P("BaseIcon"), _ = P("TableSparkline"), L = P("DataTable"), M = P("Accordion");
1070
1070
  return r(), l("div", {
1071
- id: `vue-ui-xy_${a.uniqueId}`,
1072
- class: V(`vue-ui-xy ${a.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1071
+ id: `vue-ui-xy_${t.uniqueId}`,
1072
+ class: V(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1073
1073
  ref: "chart",
1074
1074
  style: C(`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%" : ""}`)
1075
1075
  }, [
1076
1076
  e.FINAL_CONFIG.chart.userOptions.buttons.annotator ? (r(), D(x, {
1077
1077
  key: 0,
1078
- parent: t.$refs.chart,
1078
+ parent: i.$refs.chart,
1079
1079
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1080
1080
  color: e.FINAL_CONFIG.chart.color,
1081
- active: a.isAnnotator,
1081
+ active: t.isAnnotator,
1082
1082
  onClose: e.toggleAnnotator
1083
- }, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : h("", !0),
1084
- e.hasOptionsNoTitle ? (r(), l("div", Ze, null, 512)) : h("", !0),
1083
+ }, null, 8, ["parent", "backgroundColor", "color", "active", "onClose"])) : c("", !0),
1084
+ e.hasOptionsNoTitle ? (r(), l("div", Ze, null, 512)) : c("", !0),
1085
1085
  e.FINAL_CONFIG.chart.title.show ? (r(), l("div", {
1086
1086
  key: 2,
1087
1087
  ref: "chartTitle",
@@ -1089,7 +1089,7 @@ function Ua(t, s, c, f, a, e) {
1089
1089
  style: C(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1090
1090
  }, [
1091
1091
  (r(), D(y, {
1092
- key: `title_${a.titleStep}`,
1092
+ key: `title_${t.titleStep}`,
1093
1093
  config: {
1094
1094
  title: {
1095
1095
  cy: "xy-div-title",
@@ -1101,31 +1101,31 @@ function Ua(t, s, c, f, a, e) {
1101
1101
  }
1102
1102
  }
1103
1103
  }, null, 8, ["config"]))
1104
- ], 4)) : h("", !0),
1105
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(S, {
1104
+ ], 4)) : c("", !0),
1105
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (r(), D(k, {
1106
1106
  ref: "defails",
1107
- key: `user_options_${a.step}`,
1107
+ key: `user_options_${t.step}`,
1108
1108
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1109
1109
  color: e.FINAL_CONFIG.chart.color,
1110
- isPrinting: a.isPrinting,
1111
- isImaging: a.isImaging,
1112
- uid: a.uniqueId,
1110
+ isPrinting: t.isPrinting,
1111
+ isImaging: t.isImaging,
1112
+ uid: t.uniqueId,
1113
1113
  hasTooltip: e.FINAL_CONFIG.chart.userOptions.buttons.tooltip && e.FINAL_CONFIG.chart.tooltip.show,
1114
1114
  hasPdf: e.FINAL_CONFIG.chart.userOptions.buttons.pdf,
1115
1115
  hasXls: e.FINAL_CONFIG.chart.userOptions.buttons.csv,
1116
1116
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
1117
1117
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
1118
1118
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
1119
- hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1119
+ hasStack: h.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1120
1120
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1121
- isStacked: a.mutableConfig.isStacked,
1122
- isFullscreen: a.isFullscreen,
1123
- chartElement: t.$refs.chart,
1121
+ isStacked: t.mutableConfig.isStacked,
1122
+ isFullscreen: t.isFullscreen,
1123
+ chartElement: i.$refs.chart,
1124
1124
  position: e.FINAL_CONFIG.chart.userOptions.position,
1125
- isTooltip: a.mutableConfig.showTooltip,
1125
+ isTooltip: t.mutableConfig.showTooltip,
1126
1126
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
1127
1127
  hasAnnotator: e.FINAL_CONFIG.chart.userOptions.buttons.annotator,
1128
- isAnnotation: a.isAnnotator,
1128
+ isAnnotation: t.isAnnotator,
1129
1129
  onToggleFullscreen: e.toggleFullscreen,
1130
1130
  onGeneratePdf: e.generatePdf,
1131
1131
  onGenerateCsv: e.generateCsv,
@@ -1136,76 +1136,76 @@ function Ua(t, s, c, f, a, e) {
1136
1136
  onToggleTooltip: e.toggleTooltip,
1137
1137
  onToggleAnnotator: e.toggleAnnotator
1138
1138
  }, Be({ _: 2 }, [
1139
- t.$slots.optionTooltip ? {
1139
+ i.$slots.optionTooltip ? {
1140
1140
  name: "optionTooltip",
1141
- fn: M(() => [
1142
- O(t.$slots, "optionTooltip", {}, void 0, !0)
1141
+ fn: z(() => [
1142
+ O(i.$slots, "optionTooltip", {}, void 0, !0)
1143
1143
  ]),
1144
1144
  key: "0"
1145
1145
  } : void 0,
1146
- t.$slots.optionPdf ? {
1146
+ i.$slots.optionPdf ? {
1147
1147
  name: "optionPdf",
1148
- fn: M(() => [
1149
- O(t.$slots, "optionPdf", {}, void 0, !0)
1148
+ fn: z(() => [
1149
+ O(i.$slots, "optionPdf", {}, void 0, !0)
1150
1150
  ]),
1151
1151
  key: "1"
1152
1152
  } : void 0,
1153
- t.$slots.optionCsv ? {
1153
+ i.$slots.optionCsv ? {
1154
1154
  name: "optionCsv",
1155
- fn: M(() => [
1156
- O(t.$slots, "optionCsv", {}, void 0, !0)
1155
+ fn: z(() => [
1156
+ O(i.$slots, "optionCsv", {}, void 0, !0)
1157
1157
  ]),
1158
1158
  key: "2"
1159
1159
  } : void 0,
1160
- t.$slots.optionImg ? {
1160
+ i.$slots.optionImg ? {
1161
1161
  name: "optionImg",
1162
- fn: M(() => [
1163
- O(t.$slots, "optionImg", {}, void 0, !0)
1162
+ fn: z(() => [
1163
+ O(i.$slots, "optionImg", {}, void 0, !0)
1164
1164
  ]),
1165
1165
  key: "3"
1166
1166
  } : void 0,
1167
- t.$slots.optionTable ? {
1167
+ i.$slots.optionTable ? {
1168
1168
  name: "optionTable",
1169
- fn: M(() => [
1170
- O(t.$slots, "optionTable", {}, void 0, !0)
1169
+ fn: z(() => [
1170
+ O(i.$slots, "optionTable", {}, void 0, !0)
1171
1171
  ]),
1172
1172
  key: "4"
1173
1173
  } : void 0,
1174
- t.$slots.optionLabels ? {
1174
+ i.$slots.optionLabels ? {
1175
1175
  name: "optionLabels",
1176
- fn: M(() => [
1177
- O(t.$slots, "optionLabels", {}, void 0, !0)
1176
+ fn: z(() => [
1177
+ O(i.$slots, "optionLabels", {}, void 0, !0)
1178
1178
  ]),
1179
1179
  key: "5"
1180
1180
  } : void 0,
1181
- t.$slots.optionStack ? {
1181
+ i.$slots.optionStack ? {
1182
1182
  name: "optionStack",
1183
- fn: M(() => [
1184
- O(t.$slots, "optionStack", {}, void 0, !0)
1183
+ fn: z(() => [
1184
+ O(i.$slots, "optionStack", {}, void 0, !0)
1185
1185
  ]),
1186
1186
  key: "6"
1187
1187
  } : void 0,
1188
- t.$slots.optionFullscreen ? {
1188
+ i.$slots.optionFullscreen ? {
1189
1189
  name: "optionFullscreen",
1190
- fn: M(({ toggleFullscreen: i, isFullscreen: o }) => [
1191
- O(t.$slots, "optionFullscreen", H(W({ toggleFullscreen: i, isFullscreen: o })), void 0, !0)
1190
+ fn: z(({ toggleFullscreen: a, isFullscreen: o }) => [
1191
+ O(i.$slots, "optionFullscreen", H(W({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
1192
1192
  ]),
1193
1193
  key: "7"
1194
1194
  } : void 0,
1195
- t.$slots.optionAnnotator ? {
1195
+ i.$slots.optionAnnotator ? {
1196
1196
  name: "optionAnnotator",
1197
- fn: M(({ toggleAnnotator: i, isAnnotator: o }) => [
1198
- O(t.$slots, "optionAnnotator", H(W({ toggleAnnotator: i, isAnnotator: o })), void 0, !0)
1197
+ fn: z(({ toggleAnnotator: a, isAnnotator: o }) => [
1198
+ O(i.$slots, "optionAnnotator", H(W({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
1199
1199
  ]),
1200
1200
  key: "8"
1201
1201
  } : void 0
1202
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip", "onToggleAnnotator"])) : h("", !0),
1202
+ ]), 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"])) : c("", !0),
1203
1203
  e.isDataset ? (r(), l("svg", {
1204
1204
  key: 4,
1205
1205
  xmlns: "http://www.w3.org/2000/svg",
1206
- class: V([{ "vue-data-ui-fullscreen--on": a.isFullscreen, "vue-data-ui-fulscreen--off": !a.isFullscreen }, "vue-ui-xy-svg"]),
1206
+ class: V([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1207
1207
  width: "100%",
1208
- viewBox: a.viewBox,
1208
+ viewBox: t.viewBox,
1209
1209
  style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1210
1210
  }, [
1211
1211
  X(m),
@@ -1220,17 +1220,17 @@ function Ua(t, s, c, f, a, e) {
1220
1220
  y1: e.drawingArea.bottom,
1221
1221
  y2: e.drawingArea.bottom,
1222
1222
  "stroke-linecap": "round"
1223
- }, null, 8, je)) : h("", !0),
1224
- a.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (i) => (r(), l("g", null, [
1225
- i.id === a.selectedScale && i.yLabels.length ? (r(!0), l(N, { key: 0 }, I(i.yLabels, (o) => (r(), l("line", {
1223
+ }, null, 8, je)) : c("", !0),
1224
+ t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(N, { key: 2 }, I(e.allScales, (a) => (r(), l("g", null, [
1225
+ a.id === t.selectedScale && a.yLabels.length ? (r(!0), l(N, { key: 0 }, I(a.yLabels, (o) => (r(), l("line", {
1226
1226
  x1: e.drawingArea.left + e.xPadding,
1227
1227
  x2: e.drawingArea.right - e.xPadding,
1228
1228
  y1: e.checkNaN(o.y),
1229
1229
  y2: e.checkNaN(o.y),
1230
- stroke: i.color,
1230
+ stroke: a.color,
1231
1231
  "stroke-width": 0.5,
1232
1232
  "stroke-linecap": "round"
1233
- }, null, 8, at))), 256)) : i.yLabels.length ? (r(!0), l(N, { key: 1 }, I(i.yLabels, (o) => (r(), l("line", {
1233
+ }, null, 8, it))), 256)) : a.yLabels.length ? (r(!0), l(N, { key: 1 }, I(a.yLabels, (o) => (r(), l("line", {
1234
1234
  x1: e.drawingArea.left + e.xPadding,
1235
1235
  x2: e.drawingArea.right - e.xPadding,
1236
1236
  y1: e.checkNaN(o.y),
@@ -1238,8 +1238,8 @@ function Ua(t, s, c, f, a, e) {
1238
1238
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1239
1239
  "stroke-width": 0.5,
1240
1240
  "stroke-linecap": "round"
1241
- }, null, 8, it))), 256)) : h("", !0)
1242
- ]))), 256)) : h("", !0) : (r(), l(N, { key: 1 }, [
1241
+ }, null, 8, at))), 256)) : c("", !0)
1242
+ ]))), 256)) : c("", !0) : (r(), l(N, { key: 1 }, [
1243
1243
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
1244
1244
  key: 0,
1245
1245
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1249,21 +1249,21 @@ function Ua(t, s, c, f, a, e) {
1249
1249
  y1: e.drawingArea.top,
1250
1250
  y2: e.drawingArea.bottom,
1251
1251
  "stroke-linecap": "round"
1252
- }, null, 8, $e)) : h("", !0),
1252
+ }, null, 8, $e)) : c("", !0),
1253
1253
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", et, [
1254
- (r(!0), l(N, null, I(e.yLabels, (i) => (r(), l("line", {
1254
+ (r(!0), l(N, null, I(e.yLabels, (a) => (r(), l("line", {
1255
1255
  x1: e.drawingArea.left + e.xPadding,
1256
1256
  x2: e.drawingArea.right - e.xPadding,
1257
- y1: e.checkNaN(i.y),
1258
- y2: e.checkNaN(i.y),
1257
+ y1: e.checkNaN(a.y),
1258
+ y2: e.checkNaN(a.y),
1259
1259
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1260
1260
  "stroke-width": 0.5,
1261
1261
  "stroke-linecap": "round"
1262
1262
  }, null, 8, tt))), 256))
1263
- ])) : h("", !0)
1263
+ ])) : c("", !0)
1264
1264
  ], 64)),
1265
1265
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", rt, [
1266
- (r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (i, o) => (r(), l("line", {
1266
+ (r(!0), l(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (r(), l("line", {
1267
1267
  key: `grid_vertical_line_${o}`,
1268
1268
  x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
1269
1269
  x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
@@ -1272,53 +1272,53 @@ function Ua(t, s, c, f, a, e) {
1272
1272
  "stroke-width": "0.5",
1273
1273
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1274
1274
  }, null, 8, lt))), 128))
1275
- ])) : h("", !0)
1275
+ ])) : c("", !0)
1276
1276
  ]),
1277
- (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("defs", {
1277
+ (r(!0), l(N, null, I(e.barSet, (a, o) => (r(), l("defs", {
1278
1278
  key: `def_rect_${o}`
1279
1279
  }, [
1280
1280
  g("linearGradient", {
1281
- id: `rectGradient_pos_${o}_${a.uniqueId}`,
1281
+ id: `rectGradient_pos_${o}_${t.uniqueId}`,
1282
1282
  x2: "0%",
1283
1283
  y2: "100%"
1284
1284
  }, [
1285
1285
  g("stop", {
1286
1286
  offset: "0%",
1287
- "stop-color": i.color
1287
+ "stop-color": a.color
1288
1288
  }, null, 8, nt),
1289
1289
  g("stop", {
1290
1290
  offset: "62%",
1291
- "stop-color": `${e.shiftHue(i.color, 0.02)}`
1291
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1292
1292
  }, null, 8, ot),
1293
1293
  g("stop", {
1294
1294
  offset: "100%",
1295
- "stop-color": `${e.shiftHue(i.color, 0.05)}`
1296
- }, null, 8, ht)
1295
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1296
+ }, null, 8, ct)
1297
1297
  ], 8, st),
1298
1298
  g("linearGradient", {
1299
- id: `rectGradient_neg_${o}_${a.uniqueId}`,
1299
+ id: `rectGradient_neg_${o}_${t.uniqueId}`,
1300
1300
  x2: "0%",
1301
1301
  y2: "100%"
1302
1302
  }, [
1303
1303
  g("stop", {
1304
1304
  offset: "0%",
1305
- "stop-color": `${e.shiftHue(i.color, 0.05)}`
1305
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1306
1306
  }, null, 8, dt),
1307
1307
  g("stop", {
1308
1308
  offset: "38%",
1309
- "stop-color": `${e.shiftHue(i.color, 0.02)}`
1309
+ "stop-color": `${e.shiftHue(a.color, 0.02)}`
1310
1310
  }, null, 8, ut),
1311
1311
  g("stop", {
1312
1312
  offset: "100%",
1313
- "stop-color": i.color
1313
+ "stop-color": a.color
1314
1314
  }, null, 8, gt)
1315
- ], 8, ct)
1315
+ ], 8, ht)
1316
1316
  ]))), 128)),
1317
- (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("defs", {
1317
+ (r(!0), l(N, null, I(e.plotSet, (a, o) => (r(), l("defs", {
1318
1318
  key: `def_plot_${o}`
1319
1319
  }, [
1320
1320
  g("radialGradient", {
1321
- id: `plotGradient_${o}_${a.uniqueId}`,
1321
+ id: `plotGradient_${o}_${t.uniqueId}`,
1322
1322
  cx: "50%",
1323
1323
  cy: "50%",
1324
1324
  r: "50%",
@@ -1327,19 +1327,19 @@ function Ua(t, s, c, f, a, e) {
1327
1327
  }, [
1328
1328
  g("stop", {
1329
1329
  offset: "0%",
1330
- "stop-color": `${e.shiftHue(i.color, 0.05)}`
1330
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1331
1331
  }, null, 8, Nt),
1332
1332
  g("stop", {
1333
1333
  offset: "100%",
1334
- "stop-color": i.color
1334
+ "stop-color": a.color
1335
1335
  }, null, 8, mt)
1336
1336
  ], 8, ft)
1337
1337
  ]))), 128)),
1338
- (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("defs", {
1338
+ (r(!0), l(N, null, I(e.lineSet, (a, o) => (r(), l("defs", {
1339
1339
  key: `def_line_${o}`
1340
1340
  }, [
1341
1341
  g("radialGradient", {
1342
- id: `lineGradient_${o}_${a.uniqueId}`,
1342
+ id: `lineGradient_${o}_${t.uniqueId}`,
1343
1343
  cx: "50%",
1344
1344
  cy: "50%",
1345
1345
  r: "50%",
@@ -1348,15 +1348,15 @@ function Ua(t, s, c, f, a, e) {
1348
1348
  }, [
1349
1349
  g("stop", {
1350
1350
  offset: "0%",
1351
- "stop-color": `${e.shiftHue(i.color, 0.05)}`
1351
+ "stop-color": `${e.shiftHue(a.color, 0.05)}`
1352
1352
  }, null, 8, xt),
1353
1353
  g("stop", {
1354
1354
  offset: "100%",
1355
- "stop-color": i.color
1355
+ "stop-color": a.color
1356
1356
  }, null, 8, bt)
1357
1357
  ], 8, It),
1358
1358
  g("linearGradient", {
1359
- id: `areaGradient_${o}_${a.uniqueId}`,
1359
+ id: `areaGradient_${o}_${t.uniqueId}`,
1360
1360
  x1: "0%",
1361
1361
  x2: "100%",
1362
1362
  y1: "0%",
@@ -1364,46 +1364,46 @@ function Ua(t, s, c, f, a, e) {
1364
1364
  }, [
1365
1365
  g("stop", {
1366
1366
  offset: "0%",
1367
- "stop-color": `${e.setOpacity(e.shiftHue(i.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1367
+ "stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1368
1368
  }, null, 8, _t),
1369
1369
  g("stop", {
1370
1370
  offset: "100%",
1371
- "stop-color": `${e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)}`
1371
+ "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1372
1372
  }, null, 8, yt)
1373
1373
  ], 8, Ft)
1374
1374
  ]))), 128)),
1375
- (r(!0), l(N, null, I(e.highlightAreas, (i) => (r(), l("g", null, [
1376
- i.show ? (r(!0), l(N, { key: 0 }, I(i.span, (o, n) => (r(), l("g", null, [
1375
+ (r(!0), l(N, null, I(e.highlightAreas, (a) => (r(), l("g", null, [
1376
+ a.show ? (r(!0), l(N, { key: 0 }, I(a.span, (o, n) => (r(), l("g", null, [
1377
1377
  g("rect", {
1378
1378
  style: C({
1379
1379
  transition: "none",
1380
- opacity: i.from + n >= a.slicer.start && i.from + n <= a.slicer.end - 1 ? 1 : 0
1380
+ opacity: a.from + n >= t.slicer.start && a.from + n <= t.slicer.end - 1 ? 1 : 0
1381
1381
  }),
1382
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start),
1382
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - t.slicer.start),
1383
1383
  y: e.drawingArea.top,
1384
1384
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1385
1385
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1386
- fill: e.setOpacity(i.color, i.opacity)
1386
+ fill: e.setOpacity(a.color, a.opacity)
1387
1387
  }, null, 12, At),
1388
- i.caption.text && n === 0 ? (r(), l("foreignObject", {
1388
+ a.caption.text && n === 0 ? (r(), l("foreignObject", {
1389
1389
  key: 0,
1390
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.from + n - a.slicer.start) - (i.caption.width === "auto" ? 0 : i.caption.width / 2 - e.drawingArea.width / e.maxSeries * i.span / 2),
1391
- y: e.drawingArea.top + i.caption.offsetY,
1390
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from + n - t.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
1391
+ y: e.drawingArea.top + a.caption.offsetY,
1392
1392
  style: C({
1393
1393
  overflow: "visible",
1394
- opacity: i.to >= a.slicer.start && i.from < a.slicer.end ? 1 : 0
1394
+ opacity: a.to >= t.slicer.start && a.from < t.slicer.end ? 1 : 0
1395
1395
  }),
1396
1396
  height: "1",
1397
- width: i.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * i.span : i.caption.width
1397
+ width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1398
1398
  }, [
1399
1399
  g("div", {
1400
- style: C(`padding:${i.caption.padding}px;text-align:${i.caption.textAlign};font-size:${i.caption.fontSize}px;color:${i.caption.color};font-weight:${i.caption.bold ? "bold" : "normal"}`)
1401
- }, k(i.caption.text), 5)
1402
- ], 12, Ct)) : h("", !0)
1403
- ]))), 256)) : h("", !0)
1400
+ style: C(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
1401
+ }, S(a.caption.text), 5)
1402
+ ], 12, Ct)) : c("", !0)
1403
+ ]))), 256)) : c("", !0)
1404
1404
  ]))), 256)),
1405
1405
  g("g", null, [
1406
- (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
1406
+ (r(!0), l(N, null, I(e.maxSeries, (a, o) => (r(), l("g", {
1407
1407
  key: `tooltip_trap_${o}`
1408
1408
  }, [
1409
1409
  g("rect", {
@@ -1411,43 +1411,43 @@ function Ua(t, s, c, f, a, e) {
1411
1411
  y: e.drawingArea.top,
1412
1412
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1413
1413
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1414
- fill: [a.selectedMinimapIndex, a.selectedSerieIndex, a.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1414
+ fill: [t.selectedMinimapIndex, t.selectedSerieIndex, t.selectedRowIndex].includes(o) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1415
1415
  }, null, 8, Lt)
1416
1416
  ]))), 128))
1417
1417
  ]),
1418
- e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (i, o) => (r(), l("g", {
1418
+ e.barSet.length ? (r(!0), l(N, { key: 0 }, I(e.barSet, (a, o) => (r(), l("g", {
1419
1419
  key: `serie_bar_${o}`,
1420
1420
  class: V(`serie_bar_${o}`),
1421
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1421
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1422
1422
  }, [
1423
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1424
- key: `bar_plot_${o}_${u}`
1423
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1424
+ key: `bar_plot_${o}_${d}`
1425
1425
  }, [
1426
1426
  e.canShowValue(n.value) ? (r(), l("rect", {
1427
1427
  key: 0,
1428
1428
  x: e.calcRectX(n),
1429
- y: a.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1430
- height: a.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1431
- width: e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1429
+ y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1430
+ height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1431
+ width: e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1432
1432
  rx: e.FINAL_CONFIG.bar.borderRadius,
1433
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${a.uniqueId})` : `url(#rectGradient_neg_${o}_${a.uniqueId})` : i.color,
1434
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? i.color : e.FINAL_CONFIG.bar.border.stroke,
1433
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${t.uniqueId})` : `url(#rectGradient_neg_${o}_${t.uniqueId})` : a.color,
1434
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1435
1435
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1436
- }, null, 8, kt)) : h("", !0),
1436
+ }, null, 8, St)) : c("", !0),
1437
1437
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
1438
1438
  key: 1,
1439
1439
  style: { overflow: "visible" },
1440
1440
  height: "12",
1441
- width: (e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1441
+ width: (e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1442
1442
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1443
1443
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1444
1444
  }, [
1445
- O(t.$slots, "plot-comment", {
1446
- plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: u }
1445
+ O(i.$slots, "plot-comment", {
1446
+ plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: d }
1447
1447
  }, void 0, !0)
1448
- ], 8, St)) : h("", !0)
1448
+ ], 8, kt)) : c("", !0)
1449
1449
  ]))), 128)),
1450
- Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", wt, [
1450
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", wt, [
1451
1451
  g("defs", null, [
1452
1452
  g("marker", {
1453
1453
  id: `bar_arrow_${o}`,
@@ -1459,36 +1459,36 @@ function Ua(t, s, c, f, a, e) {
1459
1459
  }, [
1460
1460
  g("polygon", {
1461
1461
  points: `0 0, 7 ${7 / 2}, 0 7`,
1462
- fill: i.color
1462
+ fill: a.color
1463
1463
  }, null, 8, Gt)
1464
1464
  ], 8, Ot)
1465
1465
  ]),
1466
- i.plots.length > 1 ? (r(), l("line", {
1466
+ a.plots.length > 1 ? (r(), l("line", {
1467
1467
  key: 0,
1468
- x1: e.calcLinearProgression(i.plots).x1,
1469
- x2: e.calcLinearProgression(i.plots).x2,
1470
- y1: e.calcLinearProgression(i.plots).y1,
1471
- y2: e.calcLinearProgression(i.plots).y2,
1468
+ x1: e.calcLinearProgression(a.plots).x1,
1469
+ x2: e.calcLinearProgression(a.plots).x2,
1470
+ y1: e.calcLinearProgression(a.plots).y1,
1471
+ y2: e.calcLinearProgression(a.plots).y2,
1472
1472
  "stroke-width": 1,
1473
- stroke: i.color,
1473
+ stroke: a.color,
1474
1474
  "stroke-dasharray": 2,
1475
1475
  "marker-end": `url(#bar_arrow_${o})`
1476
- }, null, 8, vt)) : h("", !0),
1477
- i.plots.length > 1 ? (r(), l("text", {
1476
+ }, null, 8, vt)) : c("", !0),
1477
+ a.plots.length > 1 ? (r(), l("text", {
1478
1478
  key: 1,
1479
1479
  "text-anchor": "middle",
1480
- x: e.calcLinearProgression(i.plots).x2,
1481
- y: e.calcLinearProgression(i.plots).y2 - 6,
1482
- "font-size": a.fontSizes.plotLabels,
1483
- fill: i.color
1484
- }, k(e.dataLabel({
1485
- v: e.calcLinearProgression(i.plots).trend * 100,
1480
+ x: e.calcLinearProgression(a.plots).x2,
1481
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1482
+ "font-size": t.fontSizes.plotLabels,
1483
+ fill: a.color
1484
+ }, S(e.dataLabel({
1485
+ v: e.calcLinearProgression(a.plots).trend * 100,
1486
1486
  s: "%",
1487
1487
  r: 2
1488
- })), 9, pt)) : h("", !0)
1489
- ])) : h("", !0)
1490
- ], 6))), 128)) : h("", !0),
1491
- !a.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1488
+ })), 9, pt)) : c("", !0)
1489
+ ])) : c("", !0)
1490
+ ], 6))), 128)) : c("", !0),
1491
+ !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (r(), l("line", {
1492
1492
  key: 1,
1493
1493
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1494
1494
  "stroke-width": "1",
@@ -1497,11 +1497,11 @@ function Ua(t, s, c, f, a, e) {
1497
1497
  y1: e.checkNaN(e.zero),
1498
1498
  y2: e.checkNaN(e.zero),
1499
1499
  "stroke-linecap": "round"
1500
- }, null, 8, zt)) : h("", !0),
1501
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null) ? (r(), l("g", Mt, [
1500
+ }, null, 8, Mt)) : c("", !0),
1501
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g", zt, [
1502
1502
  g("line", {
1503
- x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1504
- x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1503
+ 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,
1504
+ 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,
1505
1505
  y1: e.drawingArea.top,
1506
1506
  y2: e.drawingArea.bottom,
1507
1507
  stroke: e.FINAL_CONFIG.chart.highlighter.color,
@@ -1510,7 +1510,7 @@ function Ua(t, s, c, f, a, e) {
1510
1510
  "stroke-linecap": "round",
1511
1511
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1512
1512
  }, null, 8, Tt)
1513
- ])) : h("", !0),
1513
+ ])) : c("", !0),
1514
1514
  e.FINAL_CONFIG.chart.grid.frame.show ? (r(), l("rect", {
1515
1515
  key: 3,
1516
1516
  style: { pointerEvents: "none", transition: "none" },
@@ -1524,46 +1524,46 @@ function Ua(t, s, c, f, a, e) {
1524
1524
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1525
1525
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1526
1526
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1527
- }, null, 8, Pt)) : h("", !0),
1527
+ }, null, 8, Pt)) : c("", !0),
1528
1528
  e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Vt, [
1529
- a.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
1530
- (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", null, [
1529
+ t.mutableConfig.useIndividualScale ? (r(), l(N, { key: 0 }, [
1530
+ (r(!0), l(N, null, I(e.allScales, (a) => (r(), l("g", null, [
1531
1531
  g("line", {
1532
- x1: i.x + e.xPadding,
1533
- x2: i.x + e.xPadding,
1534
- y1: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset - i.individualHeight) : e.checkNaN(e.drawingArea.top),
1535
- y2: a.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - i.yOffset) : e.checkNaN(e.drawingArea.bottom),
1536
- stroke: i.color,
1532
+ x1: a.x + e.xPadding,
1533
+ x2: a.x + e.xPadding,
1534
+ y1: t.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset - a.individualHeight) : e.checkNaN(e.drawingArea.top),
1535
+ y2: t.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset) : e.checkNaN(e.drawingArea.bottom),
1536
+ stroke: a.color,
1537
1537
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1538
1538
  "stroke-linecap": "round",
1539
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1539
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1540
1540
  }, null, 12, Rt)
1541
1541
  ]))), 256)),
1542
- (r(!0), l(N, null, I(e.allScales, (i) => (r(), l("g", {
1543
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1542
+ (r(!0), l(N, null, I(e.allScales, (a) => (r(), l("g", {
1543
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1544
1544
  }, [
1545
1545
  g("text", {
1546
- fill: i.color,
1547
- "font-size": a.fontSizes.dataLabels,
1546
+ fill: a.color,
1547
+ "font-size": t.fontSizes.dataLabels,
1548
1548
  "text-anchor": "middle",
1549
- transform: `translate(${i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset - i.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1550
- }, k(i.name) + " " + k(i.scaleLabel ? `- ${i.scaleLabel}` : ""), 9, Dt),
1551
- (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("line", {
1552
- x1: i.x - 3 + e.xPadding,
1553
- x2: i.x + e.xPadding,
1549
+ transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1550
+ }, S(a.name) + " " + S(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Dt),
1551
+ (r(!0), l(N, null, I(a.yLabels, (o, n) => (r(), l("line", {
1552
+ x1: a.x - 3 + e.xPadding,
1553
+ x2: a.x + e.xPadding,
1554
1554
  y1: e.checkNaN(o.y),
1555
1555
  y2: e.checkNaN(o.y),
1556
- stroke: i.color,
1556
+ stroke: a.color,
1557
1557
  "stroke-width": 1,
1558
1558
  "stroke-linecap": "round"
1559
1559
  }, null, 8, Bt))), 256)),
1560
- (r(!0), l(N, null, I(i.yLabels, (o, n) => (r(), l("text", {
1561
- x: i.x - 5 + e.xPadding,
1562
- y: e.checkNaN(o.y) + a.fontSizes.dataLabels / 3,
1563
- "font-size": a.fontSizes.dataLabels,
1560
+ (r(!0), l(N, null, I(a.yLabels, (o, n) => (r(), l("text", {
1561
+ x: a.x - 5 + e.xPadding,
1562
+ y: e.checkNaN(o.y) + t.fontSizes.dataLabels / 3,
1563
+ "font-size": t.fontSizes.dataLabels,
1564
1564
  "text-anchor": "end",
1565
- fill: i.color
1566
- }, k(e.applyDataLabel(
1565
+ fill: a.color
1566
+ }, S(e.applyDataLabel(
1567
1567
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1568
1568
  o.value,
1569
1569
  e.dataLabel({
@@ -1575,55 +1575,55 @@ function Ua(t, s, c, f, a, e) {
1575
1575
  { datapoint: o.datapoint, seriesIndex: n }
1576
1576
  )), 9, Ht))), 256))
1577
1577
  ], 4))), 256))
1578
- ], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (i, o) => (r(), l("g", {
1578
+ ], 64)) : (r(!0), l(N, { key: 1 }, I(e.yLabels, (a, o) => (r(), l("g", {
1579
1579
  key: `yLabel_${o}`
1580
1580
  }, [
1581
- e.canShowValue(i) && i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("line", {
1581
+ e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("line", {
1582
1582
  key: 0,
1583
1583
  x1: e.drawingArea.left + e.xPadding,
1584
1584
  x2: e.drawingArea.left - 5 + e.xPadding,
1585
- y1: e.checkNaN(i.y),
1586
- y2: e.checkNaN(i.y),
1585
+ y1: e.checkNaN(a.y),
1586
+ y2: e.checkNaN(a.y),
1587
1587
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1588
1588
  "stroke-width": "1",
1589
1589
  "stroke-linecap": "round"
1590
- }, null, 8, Wt)) : h("", !0),
1591
- i.value >= e.niceScale.min && i.value <= e.niceScale.max ? (r(), l("text", {
1590
+ }, null, 8, Wt)) : c("", !0),
1591
+ a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("text", {
1592
1592
  key: 1,
1593
1593
  x: e.drawingArea.left - 7 + e.xPadding,
1594
- y: e.checkNaN(i.y + a.fontSizes.dataLabels / 3),
1595
- "font-size": a.fontSizes.dataLabels,
1594
+ y: e.checkNaN(a.y + t.fontSizes.dataLabels / 3),
1595
+ "font-size": t.fontSizes.dataLabels,
1596
1596
  "text-anchor": "end",
1597
1597
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1598
- }, k(e.canShowValue(i.value) ? e.applyDataLabel(
1598
+ }, S(e.canShowValue(a.value) ? e.applyDataLabel(
1599
1599
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1600
- i.value,
1600
+ a.value,
1601
1601
  e.dataLabel({
1602
- p: i.prefix,
1603
- v: i.value,
1604
- s: i.suffix,
1602
+ p: a.prefix,
1603
+ v: a.value,
1604
+ s: a.suffix,
1605
1605
  r: 1
1606
1606
  })
1607
- ) : ""), 9, Et)) : h("", !0)
1607
+ ) : ""), 9, Et)) : c("", !0)
1608
1608
  ]))), 128))
1609
- ])) : h("", !0),
1610
- (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1609
+ ])) : c("", !0),
1610
+ (r(!0), l(N, null, I(e.plotSet, (a, o) => (r(), l("g", {
1611
1611
  key: `serie_plot_${o}`,
1612
1612
  class: V(`serie_plot_${o}`),
1613
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1613
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1614
1614
  }, [
1615
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1616
- key: `circle_plot_${o}_${u}`
1615
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1616
+ key: `circle_plot_${o}_${d}`
1617
1617
  }, [
1618
1618
  n && e.canShowValue(n.value) ? (r(), D(b, {
1619
1619
  key: 0,
1620
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1621
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${a.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? i.color : e.FINAL_CONFIG.plot.dot.fill,
1620
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1621
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
1622
1622
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1623
- radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === u || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === u ? (a.plotRadii.plot || 6) * 1.5 : a.plotRadii.plot || 6,
1624
- stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1623
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1624
+ stroke: e.FINAL_CONFIG.plot.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1625
1625
  strokeWidth: e.FINAL_CONFIG.plot.dot.strokeWidth
1626
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1626
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1627
1627
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
1628
1628
  key: 1,
1629
1629
  style: { overflow: "visible" },
@@ -1633,13 +1633,13 @@ function Ua(t, s, c, f, a, e) {
1633
1633
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1634
1634
  }, [
1635
1635
  g("div", Xt, [
1636
- O(t.$slots, "plot-comment", {
1637
- plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: u }
1636
+ O(i.$slots, "plot-comment", {
1637
+ plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: d }
1638
1638
  }, void 0, !0)
1639
1639
  ])
1640
- ], 8, Yt)) : h("", !0)
1640
+ ], 8, Yt)) : c("", !0)
1641
1641
  ]))), 128)),
1642
- Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", qt, [
1642
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", qt, [
1643
1643
  g("defs", null, [
1644
1644
  g("marker", {
1645
1645
  id: `plot_arrow_${o}`,
@@ -1651,119 +1651,119 @@ function Ua(t, s, c, f, a, e) {
1651
1651
  }, [
1652
1652
  g("polygon", {
1653
1653
  points: `0 0, 7 ${7 / 2}, 0 7`,
1654
- fill: i.color
1654
+ fill: a.color
1655
1655
  }, null, 8, Zt)
1656
1656
  ], 8, Ut)
1657
1657
  ]),
1658
- i.plots.length > 1 ? (r(), l("line", {
1658
+ a.plots.length > 1 ? (r(), l("line", {
1659
1659
  key: 0,
1660
- x1: e.calcLinearProgression(i.plots).x1,
1661
- x2: e.calcLinearProgression(i.plots).x2,
1662
- y1: e.calcLinearProgression(i.plots).y1,
1663
- y2: e.calcLinearProgression(i.plots).y2,
1660
+ x1: e.calcLinearProgression(a.plots).x1,
1661
+ x2: e.calcLinearProgression(a.plots).x2,
1662
+ y1: e.calcLinearProgression(a.plots).y1,
1663
+ y2: e.calcLinearProgression(a.plots).y2,
1664
1664
  "stroke-width": 1,
1665
- stroke: i.color,
1665
+ stroke: a.color,
1666
1666
  "stroke-dasharray": 2,
1667
1667
  "marker-end": `url(#plot_arrow_${o})`
1668
- }, null, 8, Jt)) : h("", !0),
1669
- i.plots.length > 1 ? (r(), l("text", {
1668
+ }, null, 8, Jt)) : c("", !0),
1669
+ a.plots.length > 1 ? (r(), l("text", {
1670
1670
  key: 1,
1671
1671
  "text-anchor": "middle",
1672
- x: e.calcLinearProgression(i.plots).x2,
1673
- y: e.calcLinearProgression(i.plots).y2 - 6,
1674
- "font-size": a.fontSizes.plotLabels,
1675
- fill: i.color
1676
- }, k(e.dataLabel({
1677
- v: e.calcLinearProgression(i.plots).trend * 100,
1672
+ x: e.calcLinearProgression(a.plots).x2,
1673
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1674
+ "font-size": t.fontSizes.plotLabels,
1675
+ fill: a.color
1676
+ }, S(e.dataLabel({
1677
+ v: e.calcLinearProgression(a.plots).trend * 100,
1678
1678
  s: "%",
1679
1679
  r: 2
1680
- })), 9, Kt)) : h("", !0)
1681
- ])) : h("", !0)
1680
+ })), 9, Kt)) : c("", !0)
1681
+ ])) : c("", !0)
1682
1682
  ], 6))), 128)),
1683
- (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1683
+ (r(!0), l(N, null, I(e.lineSet, (a, o) => (r(), l("g", {
1684
1684
  key: `serie_line_${o}`,
1685
1685
  class: V(`serie_line_${o}`),
1686
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1686
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1687
1687
  }, [
1688
- i.smooth && i.plots.length > 1 ? (r(), l("path", {
1688
+ a.smooth && a.plots.length > 1 ? (r(), l("path", {
1689
1689
  key: 0,
1690
- d: `M${i.curve}`,
1690
+ d: `M${a.curve}`,
1691
1691
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1692
1692
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1693
- "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1693
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1694
1694
  fill: "none"
1695
- }, null, 8, Qt)) : i.plots.length > 1 ? (r(), l("g", jt, [
1696
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1697
- key: `line_${o}_${u}`
1695
+ }, null, 8, Qt)) : a.plots.length > 1 ? (r(), l("g", jt, [
1696
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1697
+ key: `line_${o}_${d}`
1698
1698
  }, [
1699
- n && u < i.plots.length - 1 && i.plots[u + 1] && e.canShowValue(n.value) && e.canShowValue(i.plots[u + 1].value) ? (r(), l("line", {
1699
+ n && d < a.plots.length - 1 && a.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[d + 1].value) ? (r(), l("line", {
1700
1700
  key: 0,
1701
1701
  x1: n.x,
1702
- x2: i.plots[u + 1].x,
1702
+ x2: a.plots[d + 1].x,
1703
1703
  y1: n.y,
1704
- y2: i.plots[u + 1].y,
1704
+ y2: a.plots[d + 1].y,
1705
1705
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1706
1706
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1707
- "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1707
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1708
1708
  "stroke-linejoin": "round",
1709
1709
  "stroke-linecap": "round"
1710
- }, null, 8, $t)) : h("", !0)
1710
+ }, null, 8, $t)) : c("", !0)
1711
1711
  ]))), 128))
1712
- ])) : h("", !0)
1712
+ ])) : c("", !0)
1713
1713
  ], 6))), 128)),
1714
- (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1714
+ (r(!0), l(N, null, I(e.lineSet, (a, o) => (r(), l("g", {
1715
1715
  key: `serie_line_${o}`,
1716
1716
  class: V(`serie_line_${o}`),
1717
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1717
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1718
1718
  }, [
1719
- i.useArea && i.plots.length > 1 ? (r(), l("g", ea, [
1720
- i.smooth ? (r(), l("path", {
1719
+ a.useArea && a.plots.length > 1 ? (r(), l("g", ei, [
1720
+ a.smooth ? (r(), l("path", {
1721
1721
  key: 0,
1722
- d: `M ${i.plots[0] ? i.plots[0].x : Math.min(...i.plots.filter((n) => !!n).map((n) => n.x))},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} ${i.curve} L ${i.plots.at(-1) ? i.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${a.mutableConfig.isStacked ? e.drawingArea.bottom - i.yOffset : e.drawingArea.bottom} Z`,
1723
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1724
- }, null, 8, ta)) : (r(), l("path", {
1722
+ d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * o + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
1723
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1724
+ }, null, 8, ti)) : (r(), l("path", {
1725
1725
  key: 1,
1726
- d: `M${i.area}Z`,
1727
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${a.uniqueId})` : e.setOpacity(i.color, e.FINAL_CONFIG.line.area.opacity)
1728
- }, null, 8, aa))
1729
- ])) : h("", !0),
1730
- i.smooth && i.plots.length > 1 ? (r(), l("path", {
1726
+ d: `M${a.area}Z`,
1727
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1728
+ }, null, 8, ii))
1729
+ ])) : c("", !0),
1730
+ a.smooth && a.plots.length > 1 ? (r(), l("path", {
1731
1731
  key: 1,
1732
- d: `M${i.curve}`,
1733
- stroke: i.color,
1732
+ d: `M${a.curve}`,
1733
+ stroke: a.color,
1734
1734
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1735
- "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1735
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1736
1736
  fill: "none"
1737
- }, null, 8, ia)) : i.plots.length > 1 ? (r(), l("g", ra, [
1738
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1739
- key: `line_${o}_${u}`
1737
+ }, null, 8, ai)) : a.plots.length > 1 ? (r(), l("g", ri, [
1738
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1739
+ key: `line_${o}_${d}`
1740
1740
  }, [
1741
- n && u < i.plots.length - 1 && i.plots[u + 1] && e.canShowValue(n.value) && e.canShowValue(i.plots[u + 1].value) ? (r(), l("line", {
1741
+ n && d < a.plots.length - 1 && a.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[d + 1].value) ? (r(), l("line", {
1742
1742
  key: 0,
1743
1743
  x1: n.x,
1744
- x2: i.plots[u + 1].x,
1744
+ x2: a.plots[d + 1].x,
1745
1745
  y1: n.y,
1746
- y2: i.plots[u + 1].y,
1747
- stroke: i.color,
1746
+ y2: a.plots[d + 1].y,
1747
+ stroke: a.color,
1748
1748
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1749
- "stroke-dasharray": i.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1749
+ "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1750
1750
  "stroke-linejoin": "round",
1751
1751
  "stroke-linecap": "round"
1752
- }, null, 8, la)) : h("", !0)
1752
+ }, null, 8, li)) : c("", !0)
1753
1753
  ]))), 128))
1754
- ])) : h("", !0),
1755
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1756
- key: `circle_line_${o}_${u}`
1754
+ ])) : c("", !0),
1755
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1756
+ key: `circle_line_${o}_${d}`
1757
1757
  }, [
1758
1758
  n && e.canShowValue(n.value) ? (r(), D(b, {
1759
1759
  key: 0,
1760
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
1761
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${a.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? i.color : e.FINAL_CONFIG.line.dot.fill,
1760
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1761
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
1762
1762
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1763
- radius: a.selectedSerieIndex !== null && a.selectedSerieIndex === u || a.selectedMinimapIndex !== null && a.selectedMinimapIndex === u ? (a.plotRadii.line || 6) * 1.5 : a.plotRadii.line || 6,
1764
- stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : i.color,
1763
+ radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1764
+ stroke: e.FINAL_CONFIG.line.dot.useSerieColor ? e.FINAL_CONFIG.chart.backgroundColor : a.color,
1765
1765
  strokeWidth: e.FINAL_CONFIG.line.dot.strokeWidth
1766
- }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : h("", !0),
1766
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke", "strokeWidth"])) : c("", !0),
1767
1767
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (r(), l("foreignObject", {
1768
1768
  key: 1,
1769
1769
  style: { overflow: "visible" },
@@ -1772,14 +1772,14 @@ function Ua(t, s, c, f, a, e) {
1772
1772
  x: n.x - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1773
1773
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1774
1774
  }, [
1775
- g("div", na, [
1776
- O(t.$slots, "plot-comment", {
1777
- plot: { ...n, color: i.color, seriesIndex: o, datapointIndex: u }
1775
+ g("div", ni, [
1776
+ O(i.$slots, "plot-comment", {
1777
+ plot: { ...n, color: a.color, seriesIndex: o, datapointIndex: d }
1778
1778
  }, void 0, !0)
1779
1779
  ])
1780
- ], 8, sa)) : h("", !0)
1780
+ ], 8, si)) : c("", !0)
1781
1781
  ]))), 128)),
1782
- Object.hasOwn(i, "useProgression") && i.useProgression === !0 && !isNaN(e.calcLinearProgression(i.plots).trend) ? (r(), l("g", oa, [
1782
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (r(), l("g", oi, [
1783
1783
  g("defs", null, [
1784
1784
  g("marker", {
1785
1785
  id: `line_arrow_${o}`,
@@ -1791,108 +1791,108 @@ function Ua(t, s, c, f, a, e) {
1791
1791
  }, [
1792
1792
  g("polygon", {
1793
1793
  points: `0 0, 7 ${7 / 2}, 0 7`,
1794
- fill: i.color
1795
- }, null, 8, ca)
1796
- ], 8, ha)
1794
+ fill: a.color
1795
+ }, null, 8, hi)
1796
+ ], 8, ci)
1797
1797
  ]),
1798
- i.plots.length > 1 ? (r(), l("line", {
1798
+ a.plots.length > 1 ? (r(), l("line", {
1799
1799
  key: 0,
1800
- x1: e.calcLinearProgression(i.plots).x1,
1801
- x2: e.calcLinearProgression(i.plots).x2,
1802
- y1: e.calcLinearProgression(i.plots).y1,
1803
- y2: e.calcLinearProgression(i.plots).y2,
1800
+ x1: e.calcLinearProgression(a.plots).x1,
1801
+ x2: e.calcLinearProgression(a.plots).x2,
1802
+ y1: e.calcLinearProgression(a.plots).y1,
1803
+ y2: e.calcLinearProgression(a.plots).y2,
1804
1804
  "stroke-width": 1,
1805
- stroke: i.color,
1805
+ stroke: a.color,
1806
1806
  "stroke-dasharray": 2,
1807
1807
  "marker-end": `url(#line_arrow_${o})`
1808
- }, null, 8, da)) : h("", !0),
1809
- i.plots.length > 1 ? (r(), l("text", {
1808
+ }, null, 8, di)) : c("", !0),
1809
+ a.plots.length > 1 ? (r(), l("text", {
1810
1810
  key: 1,
1811
1811
  "text-anchor": "middle",
1812
- x: e.calcLinearProgression(i.plots).x2,
1813
- y: e.calcLinearProgression(i.plots).y2 - 6,
1814
- "font-size": a.fontSizes.plotLabels,
1815
- fill: i.color
1816
- }, k(e.dataLabel({
1817
- v: e.calcLinearProgression(i.plots).trend * 100,
1812
+ x: e.calcLinearProgression(a.plots).x2,
1813
+ y: e.calcLinearProgression(a.plots).y2 - 6,
1814
+ "font-size": t.fontSizes.plotLabels,
1815
+ fill: a.color
1816
+ }, S(e.dataLabel({
1817
+ v: e.calcLinearProgression(a.plots).trend * 100,
1818
1818
  s: "%",
1819
1819
  r: 2
1820
- })), 9, ua)) : h("", !0)
1821
- ])) : h("", !0)
1820
+ })), 9, ui)) : c("", !0)
1821
+ ])) : c("", !0)
1822
1822
  ], 6))), 128)),
1823
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && a.mutableConfig.dataLabels.show ? (r(), l("g", ga, [
1824
- (r(!0), l(N, null, I(e.barSet, (i, o) => (r(), l("g", {
1823
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), l("g", gi, [
1824
+ (r(!0), l(N, null, I(e.barSet, (a, o) => (r(), l("g", {
1825
1825
  key: `xLabel_bar_${o}`,
1826
1826
  class: V(`xLabel_bar_${o}`),
1827
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1827
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1828
1828
  }, [
1829
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1830
- key: `xLabel_bar_${o}_${u}`
1829
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1830
+ key: `xLabel_bar_${o}_${d}`
1831
1831
  }, [
1832
- n && (!Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || (a.selectedSerieIndex || a.selectedMinimapIndex) === u) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1832
+ n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
1833
1833
  key: 0,
1834
- x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1834
+ x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1835
1835
  y: e.checkNaN(n.y) + (n.value >= 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1836
1836
  "text-anchor": "middle",
1837
- "font-size": a.fontSizes.plotLabels,
1837
+ "font-size": t.fontSizes.plotLabels,
1838
1838
  fill: e.FINAL_CONFIG.bar.labels.color
1839
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1839
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1840
1840
  e.FINAL_CONFIG.bar.labels.formatter,
1841
1841
  n.value,
1842
1842
  e.dataLabel({
1843
- p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1843
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1844
1844
  v: n.value,
1845
- s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1845
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1846
1846
  r: e.FINAL_CONFIG.bar.labels.rounding
1847
1847
  }),
1848
1848
  {
1849
1849
  datapoint: n,
1850
- serie: i
1850
+ serie: a
1851
1851
  }
1852
- ) : ""), 9, fa)) : h("", !0),
1852
+ ) : ""), 9, fi)) : c("", !0),
1853
1853
  n && e.FINAL_CONFIG.bar.serieName.show ? (r(), l("text", {
1854
1854
  key: 1,
1855
- x: a.mutableConfig.useIndividualScale && a.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1855
+ x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1856
1856
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1857
1857
  "text-anchor": "middle",
1858
- "font-size": a.fontSizes.plotLabels,
1859
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? i.color : e.FINAL_CONFIG.bar.serieName.color,
1858
+ "font-size": t.fontSizes.plotLabels,
1859
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1860
1860
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1861
- }, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: i.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : i.name), 9, Na)) : h("", !0)
1861
+ }, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, Ni)) : c("", !0)
1862
1862
  ]))), 128))
1863
1863
  ], 6))), 128))
1864
- ])) : h("", !0),
1865
- e.FINAL_CONFIG.plot.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", ma, [
1866
- (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
1864
+ ])) : c("", !0),
1865
+ e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g", mi, [
1866
+ (r(!0), l(N, null, I(e.plotSet, (a, o) => (r(), l("g", {
1867
1867
  key: `xLabel_plot_${o}`,
1868
1868
  class: V(`xLabel_plot_${o}`),
1869
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1869
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1870
1870
  }, [
1871
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1872
- key: `xLabel_plot_${o}_${u}`
1871
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1872
+ key: `xLabel_plot_${o}_${d}`
1873
1873
  }, [
1874
- n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || (a.selectedSerieIndex || a.selectedMinimapIndex) === u ? (r(), l("text", {
1874
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (r(), l("text", {
1875
1875
  key: 0,
1876
1876
  x: n.x,
1877
1877
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1878
1878
  "text-anchor": "middle",
1879
- "font-size": a.fontSizes.plotLabels,
1879
+ "font-size": t.fontSizes.plotLabels,
1880
1880
  fill: e.FINAL_CONFIG.plot.labels.color
1881
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1881
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1882
1882
  e.FINAL_CONFIG.plot.labels.formatter,
1883
1883
  n.value,
1884
1884
  e.dataLabel({
1885
- p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1885
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1886
1886
  v: n.value,
1887
- s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1887
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1888
1888
  r: e.FINAL_CONFIG.plot.labels.rounding
1889
1889
  }),
1890
1890
  {
1891
1891
  datapoint: n,
1892
- serie: i
1892
+ serie: a
1893
1893
  }
1894
- ) : ""), 9, Ia)) : h("", !0),
1895
- n && u === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1894
+ ) : ""), 9, Ii)) : c("", !0),
1895
+ n && d === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1896
1896
  key: 1,
1897
1897
  x: n.x,
1898
1898
  y: n.y - 20,
@@ -1901,55 +1901,55 @@ function Ua(t, s, c, f, a, e) {
1901
1901
  style: { overflow: "visible" }
1902
1902
  }, [
1903
1903
  g("div", {
1904
- style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1905
- }, k(i.name), 5)
1906
- ], 8, xa)) : h("", !0),
1907
- n && u === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1904
+ style: C(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1905
+ }, S(a.name), 5)
1906
+ ], 8, xi)) : c("", !0),
1907
+ n && d === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), l("foreignObject", {
1908
1908
  key: 2,
1909
- x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1909
+ x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
1910
1910
  y: n.y - 20,
1911
1911
  height: 24,
1912
1912
  width: "150",
1913
1913
  style: { overflow: "visible" }
1914
1914
  }, [
1915
1915
  g("div", {
1916
- style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1917
- }, k(i.name), 5)
1918
- ], 8, ba)) : h("", !0)
1916
+ style: C(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1917
+ }, S(a.name), 5)
1918
+ ], 8, bi)) : c("", !0)
1919
1919
  ]))), 128))
1920
1920
  ], 6))), 128))
1921
- ])) : h("", !0),
1922
- e.FINAL_CONFIG.line.labels.show && a.mutableConfig.dataLabels.show ? (r(), l("g", Fa, [
1923
- (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1921
+ ])) : c("", !0),
1922
+ e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g", Fi, [
1923
+ (r(!0), l(N, null, I(e.lineSet, (a, o) => (r(), l("g", {
1924
1924
  key: `xLabel_line_${o}`,
1925
1925
  class: V(`xLabel_line_${o}`),
1926
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1926
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1927
1927
  }, [
1928
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1929
- key: `xLabel_line_${o}_${u}`
1928
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1929
+ key: `xLabel_line_${o}_${d}`
1930
1930
  }, [
1931
- n && !Object.hasOwn(i, "dataLabels") || i.dataLabels === !0 || (a.selectedSerieIndex || a.selectedMinimapIndex) === u ? (r(), l("text", {
1931
+ n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (r(), l("text", {
1932
1932
  key: 0,
1933
1933
  x: n.x,
1934
1934
  y: n.y + (n.value >= 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1935
1935
  "text-anchor": "middle",
1936
- "font-size": a.fontSizes.plotLabels,
1936
+ "font-size": t.fontSizes.plotLabels,
1937
1937
  fill: e.FINAL_CONFIG.line.labels.color
1938
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1938
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1939
1939
  e.FINAL_CONFIG.line.labels.formatter,
1940
1940
  n.value,
1941
1941
  e.dataLabel({
1942
- p: i.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1942
+ p: a.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1943
1943
  v: n.value,
1944
- s: i.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1944
+ s: a.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1945
1945
  r: e.FINAL_CONFIG.line.labels.rounding
1946
1946
  }),
1947
1947
  {
1948
1948
  datapoint: n,
1949
- serie: i
1949
+ serie: a
1950
1950
  }
1951
- ) : ""), 9, _a)) : h("", !0),
1952
- n && u === 0 && i.useTag && i.useTag === "start" ? (r(), l("foreignObject", {
1951
+ ) : ""), 9, _i)) : c("", !0),
1952
+ n && d === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
1953
1953
  key: 1,
1954
1954
  x: n.x,
1955
1955
  y: n.y - 20,
@@ -1958,150 +1958,150 @@ function Ua(t, s, c, f, a, e) {
1958
1958
  style: { overflow: "visible" }
1959
1959
  }, [
1960
1960
  g("div", {
1961
- style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1962
- }, k(i.name), 5)
1963
- ], 8, ya)) : h("", !0),
1964
- n && u === i.plots.length - 1 && i.useTag && i.useTag === "end" ? (r(), l("foreignObject", {
1961
+ style: C(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1962
+ }, S(a.name), 5)
1963
+ ], 8, yi)) : c("", !0),
1964
+ n && d === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (r(), l("foreignObject", {
1965
1965
  key: 2,
1966
- x: n.x - i.name.length * (a.fontSizes.plotLabels / 2),
1966
+ x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
1967
1967
  y: n.y - 20,
1968
1968
  height: 24,
1969
1969
  width: "150",
1970
1970
  style: { overflow: "visible" }
1971
1971
  }, [
1972
1972
  g("div", {
1973
- style: C(`padding: 3px; background:${e.setOpacity(i.color, 80)};color:${e.adaptColorToBackground(i.color)};width:fit-content;font-size:${a.fontSizes.plotLabels}px;border-radius: 2px;`)
1974
- }, k(i.name), 5)
1975
- ], 8, Aa)) : h("", !0)
1973
+ style: C(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1974
+ }, S(a.name), 5)
1975
+ ], 8, Ai)) : c("", !0)
1976
1976
  ]))), 128))
1977
1977
  ], 6))), 128))
1978
- ])) : h("", !0),
1979
- (r(!0), l(N, null, I(e.lineSet, (i, o) => (r(), l("g", {
1978
+ ])) : c("", !0),
1979
+ (r(!0), l(N, null, I(e.lineSet, (a, o) => (r(), l("g", {
1980
1980
  key: `xLabel_line_${o}`,
1981
1981
  class: V(`xLabel_line_${o}`),
1982
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1982
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1983
1983
  }, [
1984
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
1985
- key: `xLabel_line_${o}_${u}`
1984
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
1985
+ key: `xLabel_line_${o}_${d}`
1986
1986
  }, [
1987
- n && u === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
1987
+ n && d === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
1988
1988
  key: 0,
1989
- x: n.x - a.fontSizes.plotLabels,
1989
+ x: n.x - t.fontSizes.plotLabels,
1990
1990
  y: n.y,
1991
- "font-size": a.fontSizes.plotLabels,
1991
+ "font-size": t.fontSizes.plotLabels,
1992
1992
  "text-anchor": "end",
1993
- fill: i.color,
1993
+ fill: a.color,
1994
1994
  innerHTML: e.createTSpans({
1995
- content: i.name,
1996
- fontSize: a.fontSizes.plotLabels,
1997
- fill: i.color,
1998
- x: n.x - a.fontSizes.plotLabels,
1995
+ content: a.name,
1996
+ fontSize: t.fontSizes.plotLabels,
1997
+ fill: a.color,
1998
+ x: n.x - t.fontSizes.plotLabels,
1999
1999
  y: n.y,
2000
2000
  maxWords: 2
2001
2001
  })
2002
- }, null, 8, Ca)) : h("", !0),
2003
- n && u === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
2002
+ }, null, 8, Ci)) : c("", !0),
2003
+ n && d === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
2004
2004
  key: 1,
2005
- x: n.x + a.fontSizes.plotLabels,
2005
+ x: n.x + t.fontSizes.plotLabels,
2006
2006
  y: n.y,
2007
- "font-size": a.fontSizes.plotLabels,
2007
+ "font-size": t.fontSizes.plotLabels,
2008
2008
  "text-anchor": "start",
2009
- fill: i.color,
2009
+ fill: a.color,
2010
2010
  innerHTML: e.createTSpans({
2011
- content: i.name,
2012
- fontSize: a.fontSizes.plotLabels,
2013
- fill: i.color,
2014
- x: n.x + a.fontSizes.plotLabels,
2011
+ content: a.name,
2012
+ fontSize: t.fontSizes.plotLabels,
2013
+ fill: a.color,
2014
+ x: n.x + t.fontSizes.plotLabels,
2015
2015
  y: n.y,
2016
2016
  maxWords: 2
2017
2017
  })
2018
- }, null, 8, La)) : h("", !0)
2018
+ }, null, 8, Li)) : c("", !0)
2019
2019
  ]))), 128))
2020
2020
  ], 6))), 128)),
2021
- (r(!0), l(N, null, I(e.plotSet, (i, o) => (r(), l("g", {
2021
+ (r(!0), l(N, null, I(e.plotSet, (a, o) => (r(), l("g", {
2022
2022
  key: `xLabel_plot_${o}`,
2023
2023
  class: V(`xLabel_plot_${o}`),
2024
- style: C(`opacity:${a.selectedScale ? a.selectedScale === i.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2024
+ style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
2025
2025
  }, [
2026
- (r(!0), l(N, null, I(i.plots, (n, u) => (r(), l("g", {
2027
- key: `xLabel_plot_${o}_${u}`
2026
+ (r(!0), l(N, null, I(a.plots, (n, d) => (r(), l("g", {
2027
+ key: `xLabel_plot_${o}_${d}`
2028
2028
  }, [
2029
- n && u === 0 && i.showSerieName && i.showSerieName === "start" ? (r(), l("text", {
2029
+ n && d === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
2030
2030
  key: 0,
2031
- x: n.x - a.fontSizes.plotLabels,
2031
+ x: n.x - t.fontSizes.plotLabels,
2032
2032
  y: n.y,
2033
- "font-size": a.fontSizes.plotLabels,
2033
+ "font-size": t.fontSizes.plotLabels,
2034
2034
  "text-anchor": "end",
2035
- fill: i.color,
2035
+ fill: a.color,
2036
2036
  innerHTML: e.createTSpans({
2037
- content: i.name,
2038
- fontSize: a.fontSizes.plotLabels,
2039
- fill: i.color,
2040
- x: n.x - a.fontSizes.plotLabels,
2037
+ content: a.name,
2038
+ fontSize: t.fontSizes.plotLabels,
2039
+ fill: a.color,
2040
+ x: n.x - t.fontSizes.plotLabels,
2041
2041
  y: n.y,
2042
2042
  maxWords: 2
2043
2043
  })
2044
- }, null, 8, ka)) : h("", !0),
2045
- n && u === i.plots.length - 1 && i.showSerieName && i.showSerieName === "end" ? (r(), l("text", {
2044
+ }, null, 8, Si)) : c("", !0),
2045
+ n && d === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (r(), l("text", {
2046
2046
  key: 1,
2047
- x: n.x + a.fontSizes.plotLabels,
2047
+ x: n.x + t.fontSizes.plotLabels,
2048
2048
  y: n.y,
2049
- "font-size": a.fontSizes.plotLabels,
2049
+ "font-size": t.fontSizes.plotLabels,
2050
2050
  "text-anchor": "start",
2051
- fill: i.color,
2051
+ fill: a.color,
2052
2052
  innerHTML: e.createTSpans({
2053
- content: i.name,
2054
- fontSize: a.fontSizes.plotLabels,
2055
- fill: i.color,
2056
- x: n.x + a.fontSizes.plotLabels,
2053
+ content: a.name,
2054
+ fontSize: t.fontSizes.plotLabels,
2055
+ fill: a.color,
2056
+ x: n.x + t.fontSizes.plotLabels,
2057
2057
  y: n.y,
2058
2058
  maxWords: 2
2059
2059
  })
2060
- }, null, 8, Sa)) : h("", !0)
2060
+ }, null, 8, ki)) : c("", !0)
2061
2061
  ]))), 128))
2062
2062
  ], 6))), 128)),
2063
- a.mutableConfig.useIndividualScale && !a.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (i) => (r(), l("rect", {
2064
- x: i.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2063
+ t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), l(N, { key: 8 }, I(e.allScales, (a) => (r(), l("rect", {
2064
+ x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2065
2065
  y: e.drawingArea.top,
2066
2066
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2067
2067
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2068
- fill: a.selectedScale === i.id ? e.setOpacity(i.color, 20) : "transparent",
2069
- onMouseenter: (o) => a.selectedScale = i.id,
2070
- onMouseleave: s[0] || (s[0] = (o) => a.selectedScale = null)
2071
- }, null, 40, wa))), 256)) : h("", !0),
2068
+ fill: t.selectedScale === a.id ? e.setOpacity(a.color, 20) : "transparent",
2069
+ onMouseenter: (o) => t.selectedScale = a.id,
2070
+ onMouseleave: s[0] || (s[0] = (o) => t.selectedScale = null)
2071
+ }, null, 40, wi))), 256)) : c("", !0),
2072
2072
  g("g", null, [
2073
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !a.mutableConfig.useIndividualScale ? (r(), l("text", {
2073
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (r(), l("text", {
2074
2074
  key: 0,
2075
- "font-size": a.fontSizes.yAxis,
2075
+ "font-size": t.fontSizes.yAxis,
2076
2076
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
2077
- transform: `translate(${a.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2077
+ transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2078
2078
  "text-anchor": "middle",
2079
2079
  style: { transition: "none" }
2080
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Oa)) : h("", !0),
2080
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Oi)) : c("", !0),
2081
2081
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (r(), l("text", {
2082
2082
  key: 1,
2083
2083
  "text-anchor": "middle",
2084
- x: a.width / 2,
2085
- y: e.drawingArea.bottom + a.fontSizes.yAxis + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2086
- "font-size": a.fontSizes.yAxis,
2084
+ x: t.width / 2,
2085
+ y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2086
+ "font-size": t.fontSizes.yAxis,
2087
2087
  fill: e.FINAL_CONFIG.chart.grid.labels.color
2088
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Ga)) : h("", !0)
2088
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Gi)) : c("", !0)
2089
2089
  ]),
2090
- e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", va, [
2091
- (r(!0), l(N, null, I(e.timeLabels, (i, o) => (r(), l("g", {
2090
+ e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", vi, [
2091
+ (r(!0), l(N, null, I(e.timeLabels, (a, o) => (r(), l("g", {
2092
2092
  key: `time_label_${o}`
2093
2093
  }, [
2094
- i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && a.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || i && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
2094
+ a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
2095
2095
  key: 0,
2096
2096
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
2097
- "font-size": a.fontSizes.xAxis,
2097
+ "font-size": t.fontSizes.xAxis,
2098
2098
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
2099
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + a.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
2100
- }, k(i || ""), 9, pa)) : h("", !0)
2099
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
2100
+ }, S(a || ""), 9, pi)) : c("", !0)
2101
2101
  ]))), 128))
2102
- ])) : h("", !0),
2102
+ ])) : c("", !0),
2103
2103
  g("g", null, [
2104
- (r(!0), l(N, null, I(e.maxSeries, (i, o) => (r(), l("g", {
2104
+ (r(!0), l(N, null, I(e.maxSeries, (a, o) => (r(), l("g", {
2105
2105
  key: `tooltip_trap_${o}`
2106
2106
  }, [
2107
2107
  g("rect", {
@@ -2114,12 +2114,12 @@ function Ua(t, s, c, f, a, e) {
2114
2114
  onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
2115
2115
  onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2116
2116
  onClick: (n) => e.selectX(o)
2117
- }, null, 40, za)
2117
+ }, null, 40, Mi)
2118
2118
  ]))), 128))
2119
2119
  ]),
2120
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(a.selectedSerieIndex) || a.selectedMinimapIndex !== null ? (r(), l("g", Ma, [
2120
+ e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g", zi, [
2121
2121
  (r(), l("foreignObject", {
2122
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) - 100 + e.drawingArea.width / e.maxSeries / 2,
2122
+ 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,
2123
2123
  y: e.drawingArea.bottom,
2124
2124
  width: "200",
2125
2125
  height: "40",
@@ -2128,22 +2128,22 @@ function Ua(t, s, c, f, a, e) {
2128
2128
  g("div", {
2129
2129
  class: "vue-ui-xy-time-tag",
2130
2130
  style: C(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2131
- }, k(e.timeLabels[a.selectedSerieIndex || a.selectedMinimapIndex] || a.selectedSerieIndex || a.selectedMinimapIndex), 5)
2132
- ], 8, Ta)),
2131
+ }, S(e.timeLabels[(t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)] || (t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)), 5)
2132
+ ], 8, Ti)),
2133
2133
  g("circle", {
2134
- cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.selectedSerieIndex || a.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
2134
+ 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,
2135
2135
  cy: e.drawingArea.bottom,
2136
2136
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2137
2137
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2138
- }, null, 8, Pa)
2139
- ])) : h("", !0)
2140
- ])) : h("", !0),
2141
- O(t.$slots, "svg", { svg: e.svg }, void 0, !0)
2142
- ], 14, Je)) : h("", !0),
2143
- t.$slots.watermark ? (r(), l("div", Va, [
2144
- O(t.$slots, "watermark", H(W({ isPrinting: a.isPrinting || a.isImaging })), void 0, !0)
2145
- ])) : h("", !0),
2146
- e.isDataset ? h("", !0) : (r(), D(T, {
2138
+ }, null, 8, Pi)
2139
+ ])) : c("", !0)
2140
+ ])) : c("", !0),
2141
+ O(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2142
+ ], 14, Je)) : c("", !0),
2143
+ i.$slots.watermark ? (r(), l("div", Vi, [
2144
+ O(i.$slots, "watermark", H(W({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2145
+ ])) : c("", !0),
2146
+ e.isDataset ? c("", !0) : (r(), D(T, {
2147
2147
  key: 6,
2148
2148
  config: {
2149
2149
  type: "line",
@@ -2161,14 +2161,14 @@ function Ua(t, s, c, f, a, e) {
2161
2161
  }
2162
2162
  }
2163
2163
  }, null, 8, ["config"])),
2164
- e.FINAL_CONFIG.chart.zoom.show && a.maxX > 6 && e.isDataset ? (r(), D(v, {
2164
+ e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (r(), D(v, {
2165
2165
  ref: "chartSlicer",
2166
- key: `slicer_${a.slicerStep}`,
2166
+ key: `slicer_${t.slicerStep}`,
2167
2167
  background: e.FINAL_CONFIG.chart.zoom.color,
2168
2168
  fontSize: e.FINAL_CONFIG.chart.zoom.fontSize,
2169
2169
  useResetSlot: e.FINAL_CONFIG.chart.zoom.useResetSlot,
2170
- labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.start],
2171
- labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a.slicer.end - 1],
2170
+ labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t.slicer.start],
2171
+ labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t.slicer.end - 1],
2172
2172
  textColor: e.FINAL_CONFIG.chart.color,
2173
2173
  inputColor: e.FINAL_CONFIG.chart.zoom.color,
2174
2174
  selectColor: e.FINAL_CONFIG.chart.zoom.highlightColor,
@@ -2179,36 +2179,36 @@ function Ua(t, s, c, f, a, e) {
2179
2179
  minimapSelectionRadius: e.FINAL_CONFIG.chart.zoom.minimap.selectionRadius,
2180
2180
  minimapLineColor: e.FINAL_CONFIG.chart.zoom.minimap.lineColor,
2181
2181
  minimapSelectedColorOpacity: e.FINAL_CONFIG.chart.zoom.minimap.selectedColorOpacity,
2182
- minimapSelectedIndex: a.selectedSerieIndex,
2182
+ minimapSelectedIndex: t.selectedSerieIndex,
2183
2183
  minimapIndicatorColor: e.FINAL_CONFIG.chart.zoom.minimap.indicatorColor,
2184
- max: a.maxX,
2184
+ max: t.maxX,
2185
2185
  min: 0,
2186
- valueStart: a.slicer.start,
2187
- valueEnd: a.slicer.end,
2188
- start: a.slicer.start,
2189
- "onUpdate:start": s[2] || (s[2] = (i) => a.slicer.start = i),
2190
- end: a.slicer.end,
2191
- "onUpdate:end": s[3] || (s[3] = (i) => a.slicer.end = i),
2186
+ valueStart: t.slicer.start,
2187
+ valueEnd: t.slicer.end,
2188
+ start: t.slicer.start,
2189
+ "onUpdate:start": s[2] || (s[2] = (a) => t.slicer.start = a),
2190
+ end: t.slicer.end,
2191
+ "onUpdate:end": s[3] || (s[3] = (a) => t.slicer.end = a),
2192
2192
  onReset: e.refreshSlicer,
2193
2193
  onTrapMouse: e.selectMinimapIndex
2194
2194
  }, {
2195
- "reset-action": M(({ reset: i }) => [
2196
- O(t.$slots, "reset-action", H(W({ reset: i })), void 0, !0)
2195
+ "reset-action": z(({ reset: a }) => [
2196
+ O(i.$slots, "reset-action", H(W({ reset: a })), void 0, !0)
2197
2197
  ]),
2198
2198
  _: 3
2199
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : h("", !0),
2199
+ }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : c("", !0),
2200
2200
  e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
2201
2201
  key: 8,
2202
2202
  ref: "chartLegend",
2203
2203
  class: "vue-ui-xy-legend",
2204
2204
  style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2205
2205
  }, [
2206
- (r(!0), l(N, null, I(e.absoluteDataset, (i, o) => (r(), l("div", {
2206
+ (r(!0), l(N, null, I(e.absoluteDataset, (a, o) => (r(), l("div", {
2207
2207
  key: `div_legend_item_${o}`,
2208
- onClick: (n) => e.segregate(i),
2209
- class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": a.segregatedSeries.includes(i.id) })
2208
+ onClick: (n) => e.segregate(a),
2209
+ class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2210
2210
  }, [
2211
- a.icons[i.type] === "line" ? (r(), l("svg", Da, [
2211
+ t.icons[a.type] === "line" ? (r(), l("svg", Di, [
2212
2212
  g("rect", {
2213
2213
  x: "0",
2214
2214
  y: "7",
@@ -2216,18 +2216,18 @@ function Ua(t, s, c, f, a, e) {
2216
2216
  stroke: "none",
2217
2217
  height: "4",
2218
2218
  width: "20",
2219
- fill: i.color
2220
- }, null, 8, Ba),
2219
+ fill: a.color
2220
+ }, null, 8, Bi),
2221
2221
  X(b, {
2222
2222
  plot: { x: 10, y: 9 },
2223
2223
  radius: 4,
2224
- color: i.color,
2225
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle",
2224
+ color: a.color,
2225
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2226
2226
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2227
2227
  strokeWidth: 1
2228
2228
  }, null, 8, ["color", "shape", "stroke"])
2229
- ])) : (r(), l("svg", Ha, [
2230
- a.icons[i.type] === "bar" ? (r(), l("rect", {
2229
+ ])) : (r(), l("svg", Hi, [
2230
+ t.icons[a.type] === "bar" ? (r(), l("rect", {
2231
2231
  key: 0,
2232
2232
  x: "0",
2233
2233
  y: "0",
@@ -2235,27 +2235,27 @@ function Ua(t, s, c, f, a, e) {
2235
2235
  height: "12",
2236
2236
  width: "12",
2237
2237
  stroke: "none",
2238
- fill: i.color
2239
- }, null, 8, Wa)) : (r(), D(b, {
2238
+ fill: a.color
2239
+ }, null, 8, Wi)) : (r(), D(b, {
2240
2240
  key: 1,
2241
2241
  plot: { x: 6, y: 6 },
2242
2242
  radius: 5,
2243
- color: i.color,
2244
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(i.shape) ? i.shape : "circle"
2243
+ color: a.color,
2244
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2245
2245
  }, null, 8, ["color", "shape"]))
2246
2246
  ])),
2247
2247
  g("span", {
2248
2248
  style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2249
- }, k(i.name), 5)
2250
- ], 10, Ra))), 128))
2251
- ], 4)) : (r(), l("div", Ea, [
2252
- O(t.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2249
+ }, S(a.name), 5)
2250
+ ], 10, Ri))), 128))
2251
+ ], 4)) : (r(), l("div", Ei, [
2252
+ O(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2253
2253
  ], 512)),
2254
- t.$slots.source ? (r(), l("div", Ya, [
2255
- O(t.$slots, "source", {}, void 0, !0)
2256
- ], 512)) : h("", !0),
2254
+ i.$slots.source ? (r(), l("div", Yi, [
2255
+ O(i.$slots, "source", {}, void 0, !0)
2256
+ ], 512)) : c("", !0),
2257
2257
  X(p, {
2258
- show: a.mutableConfig.showTooltip && a.isTooltip,
2258
+ show: t.mutableConfig.showTooltip && t.isTooltip,
2259
2259
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2260
2260
  color: e.FINAL_CONFIG.chart.tooltip.color,
2261
2261
  fontSize: e.FINAL_CONFIG.chart.tooltip.fontSize,
@@ -2265,23 +2265,23 @@ function Ua(t, s, c, f, a, e) {
2265
2265
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2266
2266
  position: e.FINAL_CONFIG.chart.tooltip.position,
2267
2267
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2268
- parent: t.$refs.chart,
2268
+ parent: i.$refs.chart,
2269
2269
  content: e.tooltipContent,
2270
2270
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2271
2271
  }, {
2272
- "tooltip-before": M(() => [
2273
- O(t.$slots, "tooltip-before", H(W({ ...e.dataTooltipSlot })), void 0, !0)
2272
+ "tooltip-before": z(() => [
2273
+ O(i.$slots, "tooltip-before", H(W({ ...e.dataTooltipSlot })), void 0, !0)
2274
2274
  ]),
2275
- "tooltip-after": M(() => [
2276
- O(t.$slots, "tooltip-after", H(W({ ...e.dataTooltipSlot })), void 0, !0)
2275
+ "tooltip-after": z(() => [
2276
+ O(i.$slots, "tooltip-after", H(W({ ...e.dataTooltipSlot })), void 0, !0)
2277
2277
  ]),
2278
2278
  _: 3
2279
2279
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
2280
- e.isDataset ? (r(), D(z, {
2280
+ e.isDataset ? (r(), D(M, {
2281
2281
  key: 11,
2282
2282
  hideDetails: "",
2283
2283
  config: {
2284
- open: a.mutableConfig.showTable,
2284
+ open: t.mutableConfig.showTable,
2285
2285
  maxHeight: 1e4,
2286
2286
  body: {
2287
2287
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -2293,19 +2293,19 @@ function Ua(t, s, c, f, a, e) {
2293
2293
  }
2294
2294
  }
2295
2295
  }, {
2296
- content: M(() => [
2296
+ content: z(() => [
2297
2297
  g("div", {
2298
- style: C(`${a.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2298
+ style: C(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2299
2299
  }, [
2300
- g("div", Xa, [
2300
+ g("div", Xi, [
2301
2301
  He(g("input", {
2302
2302
  type: "checkbox",
2303
- "onUpdate:modelValue": s[4] || (s[4] = (i) => a.showSparklineTable = i)
2303
+ "onUpdate:modelValue": s[4] || (s[4] = (a) => t.showSparklineTable = a)
2304
2304
  }, null, 512), [
2305
- [We, a.showSparklineTable]
2305
+ [We, t.showSparklineTable]
2306
2306
  ]),
2307
2307
  g("div", {
2308
- onClick: s[5] || (s[5] = (i) => a.showSparklineTable = !a.showSparklineTable),
2308
+ onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2309
2309
  style: { cursor: "pointer" }
2310
2310
  }, [
2311
2311
  X(w, {
@@ -2315,26 +2315,26 @@ function Ua(t, s, c, f, a, e) {
2315
2315
  }, null, 8, ["stroke"])
2316
2316
  ])
2317
2317
  ]),
2318
- a.showSparklineTable ? (r(), D(_, {
2319
- key: `sparkline_${a.segregateStep}`,
2318
+ t.showSparklineTable ? (r(), D(_, {
2319
+ key: `sparkline_${t.segregateStep}`,
2320
2320
  dataset: e.tableSparklineDataset,
2321
2321
  config: e.tableSparklineConfig
2322
2322
  }, null, 8, ["dataset", "config"])) : (r(), D(L, {
2323
- key: `table_${a.tableStep}`,
2323
+ key: `table_${t.tableStep}`,
2324
2324
  colNames: e.dataTable.colNames,
2325
2325
  head: e.dataTable.head,
2326
2326
  body: e.dataTable.body,
2327
2327
  config: e.dataTable.config,
2328
2328
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2329
- onClose: s[6] || (s[6] = (i) => a.mutableConfig.showTable = !1)
2329
+ onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
2330
2330
  }, {
2331
- th: M(({ th: i }) => [
2332
- g("div", { innerHTML: i }, null, 8, qa)
2331
+ th: z(({ th: a }) => [
2332
+ g("div", { innerHTML: a }, null, 8, qi)
2333
2333
  ]),
2334
- td: M(({ td: i }) => [
2335
- Ee(k(isNaN(Number(i)) ? i : e.dataLabel({
2334
+ td: z(({ td: a }) => [
2335
+ Ee(S(isNaN(Number(a)) ? a : e.dataLabel({
2336
2336
  p: e.FINAL_CONFIG.chart.labels.prefix,
2337
- v: i,
2337
+ v: a,
2338
2338
  s: e.FINAL_CONFIG.chart.labels.suffix,
2339
2339
  r: e.FINAL_CONFIG.table.rounding
2340
2340
  })), 1)
@@ -2344,10 +2344,10 @@ function Ua(t, s, c, f, a, e) {
2344
2344
  ], 4)
2345
2345
  ]),
2346
2346
  _: 1
2347
- }, 8, ["config"])) : h("", !0)
2347
+ }, 8, ["config"])) : c("", !0)
2348
2348
  ], 14, Ue);
2349
2349
  }
2350
- const ci = /* @__PURE__ */ Ye(qe, [["render", Ua], ["__scopeId", "data-v-35876619"]]);
2350
+ const ha = /* @__PURE__ */ Ye(qe, [["render", Ui], ["__scopeId", "data-v-94c8a0f5"]]);
2351
2351
  export {
2352
- ci as default
2352
+ ha as default
2353
2353
  };