vue-data-ui 2.4.85 → 2.4.86

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