vue-data-ui 2.3.82 → 2.3.84

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/dist/{Arrow-D-Ef1hLL.js → Arrow-CQ1ubni5.js} +1 -1
  2. package/dist/{Arrow-BTO6BS7p.cjs → Arrow-Uk_vwKtL.cjs} +1 -1
  3. package/dist/{BaseIcon-CVe5ECp8.js → BaseIcon-B9ZZ6wkT.js} +1 -1
  4. package/dist/{BaseIcon-DS9Fpauh.cjs → BaseIcon-CF1HQdM0.cjs} +1 -1
  5. package/dist/{DataTable-OKHTStDc.js → DataTable-C-iU_7h7.js} +2 -2
  6. package/dist/{DataTable-BfvpbyB5.cjs → DataTable-CEtr89Og.cjs} +1 -1
  7. package/dist/{Legend-B3B4K_lr.cjs → Legend-D2ZBCCXe.cjs} +1 -1
  8. package/dist/{Legend-Bt4nNAHo.js → Legend-pU_BwhaW.js} +1 -1
  9. package/dist/{Shape-Dg4DHNlU.cjs → Shape-BO_KyCq8.cjs} +1 -1
  10. package/dist/{Shape-C0HIiqHY.js → Shape-CyM44biU.js} +1 -1
  11. package/dist/{Slicer-BPvgOo6Z.cjs → Slicer-BAMZ4wsl.cjs} +1 -1
  12. package/dist/{Slicer-CB-YgfIM.js → Slicer-CZobytqL.js} +2 -2
  13. package/dist/{Title-B238VbIb.cjs → Title-B1_d29Eh.cjs} +1 -1
  14. package/dist/{Title-CXeDgAE7.js → Title-Bk3h09h9.js} +1 -1
  15. package/dist/{Tooltip-hihJcWT0.cjs → Tooltip-BU4cSEF0.cjs} +1 -1
  16. package/dist/{Tooltip-_e0VoMC-.js → Tooltip-CdB80DsD.js} +1 -1
  17. package/dist/index-Cx-40Fnz.cjs +4 -0
  18. package/dist/{index-B6m-GhsP.js → index-DI4DaxVG.js} +2 -1
  19. package/dist/style.css +1 -1
  20. package/dist/types/vue-data-ui.d.cts +3 -0
  21. package/dist/types/vue-data-ui.d.ts +3 -0
  22. package/dist/{useNestedProp-CD3RA8XO.cjs → useNestedProp-BdsfyHWU.cjs} +1 -1
  23. package/dist/{useNestedProp-BrcBWysp.js → useNestedProp-COsQo-tX.js} +1 -1
  24. package/dist/{usePrinter-BkKBQlCO.js → usePrinter-D9bNzUQP.js} +1 -1
  25. package/dist/{usePrinter-_rbdfvVi.cjs → usePrinter-DbhL59iY.cjs} +1 -1
  26. package/dist/{vue-data-ui-wvh5ZEeD.js → vue-data-ui-9nofTL7J.js} +57 -57
  27. package/dist/{vue-data-ui-BgHHdUNr.cjs → vue-data-ui-kGaLyV0o.cjs} +1 -1
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/{vue-ui-3d-bar-ia_wUTc1.cjs → vue-ui-3d-bar-1aTroDle.cjs} +1 -1
  31. package/dist/{vue-ui-3d-bar-DNHZheVL.js → vue-ui-3d-bar-lKgwKkVj.js} +7 -7
  32. package/dist/{vue-ui-accordion-CH_rY04P.cjs → vue-ui-accordion-C8ka_Ot0.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-BygOGjRr.js → vue-ui-accordion-DsN9lxvc.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-BZrN9gk2.js → vue-ui-age-pyramid-D2lSXDX6.js} +8 -8
  35. package/dist/{vue-ui-age-pyramid-DftioDeW.cjs → vue-ui-age-pyramid-D8Tr8jvT.cjs} +1 -1
  36. package/dist/{vue-ui-annotator-BGYJrkr0.cjs → vue-ui-annotator-DmfAqbqB.cjs} +1 -1
  37. package/dist/{vue-ui-annotator-DRpBiqTN.js → vue-ui-annotator-DoLG0N5e.js} +1 -1
  38. package/dist/{vue-ui-candlestick-CVgaOkTY.cjs → vue-ui-candlestick-BAuWAMct.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-BP5nrvrA.js → vue-ui-candlestick-vhHV9d6O.js} +9 -9
  40. package/dist/{vue-ui-carousel-table-Dtkm1_OH.js → vue-ui-carousel-table-BmyArloA.js} +4 -4
  41. package/dist/{vue-ui-carousel-table-Cd93n0fJ.cjs → vue-ui-carousel-table-DaQV2SlJ.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-CKviQSxK.js → vue-ui-chestnut-DgbbDtL0.js} +6 -6
  43. package/dist/{vue-ui-chestnut-B6_rC31R.cjs → vue-ui-chestnut-DvNW2Y0z.cjs} +1 -1
  44. package/dist/{vue-ui-cursor-_egqr6DD.js → vue-ui-cursor-7-jKCnOY.js} +2 -2
  45. package/dist/{vue-ui-cursor-C4FRP_Nc.cjs → vue-ui-cursor-zXDNHCZv.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-DUgt8PIq.js → vue-ui-dashboard-B_pnIQ5P.js} +2 -2
  47. package/dist/{vue-ui-dashboard-iPdvuNQ9.cjs → vue-ui-dashboard-DMossMh1.cjs} +1 -1
  48. package/dist/{vue-ui-digits-OWEvFsfq.cjs → vue-ui-digits-BL8Vyod-.cjs} +1 -1
  49. package/dist/{vue-ui-digits-CcrjtXtk.js → vue-ui-digits-C-lpZ-rg.js} +2 -2
  50. package/dist/{vue-ui-donut-Dmr11NmB.js → vue-ui-donut-e-p-l-_7.js} +9 -9
  51. package/dist/{vue-ui-donut-evolution-PtyzK7G6.cjs → vue-ui-donut-evolution-DsdzjA88.cjs} +1 -1
  52. package/dist/{vue-ui-donut-evolution-D1LXnQfC.js → vue-ui-donut-evolution-Ol1YS2OF.js} +9 -9
  53. package/dist/{vue-ui-donut-D2SQezST.cjs → vue-ui-donut-w1eqaTu0.cjs} +1 -1
  54. package/dist/{vue-ui-dumbbell-CNX0gxiM.js → vue-ui-dumbbell-BjTXdj83.js} +8 -8
  55. package/dist/{vue-ui-dumbbell-Bbv_WYY2.cjs → vue-ui-dumbbell-CMFNfda1.cjs} +1 -1
  56. package/dist/{vue-ui-flow-FsawfZQj.js → vue-ui-flow-B4mdXrld.js} +7 -7
  57. package/dist/{vue-ui-flow-DRjha-Xx.cjs → vue-ui-flow-oBnzNN4s.cjs} +1 -1
  58. package/dist/{vue-ui-galaxy-BCMTqPX1.cjs → vue-ui-galaxy-DgxKqf6u.cjs} +1 -1
  59. package/dist/{vue-ui-galaxy-Eev5Q8w4.js → vue-ui-galaxy-Eg1e5SG7.js} +9 -9
  60. package/dist/{vue-ui-gauge-CPMlQvxU.cjs → vue-ui-gauge-B64pcc54.cjs} +1 -1
  61. package/dist/{vue-ui-gauge-DBxTCkge.js → vue-ui-gauge-BTt63SCn.js} +5 -5
  62. package/dist/{vue-ui-gizmo-BAiNxz8X.js → vue-ui-gizmo-C0aF0qVF.js} +2 -2
  63. package/dist/{vue-ui-gizmo-CxnoYWwd.cjs → vue-ui-gizmo-bFlUFJa8.cjs} +1 -1
  64. package/dist/{vue-ui-heatmap-DvsH2Au0.cjs → vue-ui-heatmap-cjY0mi4a.cjs} +1 -1
  65. package/dist/{vue-ui-heatmap-BpHByyVR.js → vue-ui-heatmap-kiVWYvjC.js} +8 -8
  66. package/dist/{vue-ui-kpi-CyvW8X1f.js → vue-ui-kpi-DdtZLwfi.js} +3 -3
  67. package/dist/{vue-ui-kpi-DFquN6Ls.cjs → vue-ui-kpi-qw5ofS-z.cjs} +1 -1
  68. package/dist/{vue-ui-mini-loader-DIa_OVyM.cjs → vue-ui-mini-loader-B8YrB3X-.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader--6qogu7d.js → vue-ui-mini-loader-DcL5v-Tv.js} +2 -2
  70. package/dist/{vue-ui-molecule-CbLmk-Fv.cjs → vue-ui-molecule-B8cYtnHq.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-YJ0bXwbB.js → vue-ui-molecule-BpomHzqe.js} +9 -9
  72. package/dist/{vue-ui-mood-radar-BV5RnpiH.cjs → vue-ui-mood-radar-BA2VVPO5.cjs} +1 -1
  73. package/dist/{vue-ui-mood-radar-B8QHrApG.js → vue-ui-mood-radar-BV9xC9xF.js} +9 -9
  74. package/dist/{vue-ui-nested-donuts-DKAkxEPd.cjs → vue-ui-nested-donuts-C3CMWjgk.cjs} +1 -1
  75. package/dist/{vue-ui-nested-donuts-CLhrY6y1.js → vue-ui-nested-donuts-D7D20nJu.js} +9 -9
  76. package/dist/{vue-ui-onion-BXdEzlmA.js → vue-ui-onion-4wR10l5H.js} +9 -9
  77. package/dist/{vue-ui-onion-CkknGnDm.cjs → vue-ui-onion-CVp0g8MP.cjs} +1 -1
  78. package/dist/{vue-ui-parallel-coordinate-plot-CE31yJK_.cjs → vue-ui-parallel-coordinate-plot-CmaHQR6-.cjs} +1 -1
  79. package/dist/{vue-ui-parallel-coordinate-plot-4XBOTcO8.js → vue-ui-parallel-coordinate-plot-DA3byJV2.js} +10 -10
  80. package/dist/{vue-ui-quadrant-D9_7g38o.cjs → vue-ui-quadrant-B8ffMNIS.cjs} +1 -1
  81. package/dist/{vue-ui-quadrant-CgMsyw3Q.js → vue-ui-quadrant-D5wvd5h3.js} +10 -10
  82. package/dist/{vue-ui-quick-chart-Cgbq5tLg.js → vue-ui-quick-chart-CTSq5JJE.js} +7 -7
  83. package/dist/{vue-ui-quick-chart-sMi9mLRt.cjs → vue-ui-quick-chart-hnVT9GKL.cjs} +1 -1
  84. package/dist/{vue-ui-radar-BvN2WTtC.js → vue-ui-radar-OW6awckj.js} +10 -10
  85. package/dist/{vue-ui-radar-CkcPJX_6.cjs → vue-ui-radar-ySl7KzoX.cjs} +1 -1
  86. package/dist/{vue-ui-rating-Cl-ncmAS.cjs → vue-ui-rating-3ZVG38br.cjs} +1 -1
  87. package/dist/{vue-ui-rating-DfKMxLTK.js → vue-ui-rating-C6gyJWJF.js} +2 -2
  88. package/dist/{vue-ui-relation-circle-CJP9zuqV.cjs → vue-ui-relation-circle-CMW26dvv.cjs} +1 -1
  89. package/dist/{vue-ui-relation-circle-DV5lMEvZ.js → vue-ui-relation-circle-Dr9-ozKG.js} +5 -5
  90. package/dist/{vue-ui-rings-C8u__5v-.cjs → vue-ui-rings-CR1t6iss.cjs} +1 -1
  91. package/dist/{vue-ui-rings-Bu-zVpHc.js → vue-ui-rings-Ce6tFKrN.js} +9 -9
  92. package/dist/{vue-ui-scatter-D3FTfnsR.cjs → vue-ui-scatter-CKtgbptk.cjs} +1 -1
  93. package/dist/{vue-ui-scatter-WeSsnz6H.js → vue-ui-scatter-C_3WQPMf.js} +10 -10
  94. package/dist/{vue-ui-screenshot-B9Mbp_0-.js → vue-ui-screenshot-BvE2dsvU.js} +1 -1
  95. package/dist/{vue-ui-screenshot-BFL-8cPa.cjs → vue-ui-screenshot-D6N4GbAL.cjs} +1 -1
  96. package/dist/{vue-ui-skeleton-dfikkXQa.cjs → vue-ui-skeleton-CkSlhfsB.cjs} +1 -1
  97. package/dist/{vue-ui-skeleton-BOhyMEA5.js → vue-ui-skeleton-DH4t1hrL.js} +2 -2
  98. package/dist/{vue-ui-smiley-CwYjTYN8.js → vue-ui-smiley-C-92SyPZ.js} +2 -2
  99. package/dist/{vue-ui-smiley-BVd6D7fu.cjs → vue-ui-smiley-CSA28QLT.cjs} +1 -1
  100. package/dist/{vue-ui-spark-trend-D6IwslA-.js → vue-ui-spark-trend-CrElvUcG.js} +4 -4
  101. package/dist/{vue-ui-spark-trend-DuIEXk8W.cjs → vue-ui-spark-trend-D4d4Mr24.cjs} +1 -1
  102. package/dist/{vue-ui-sparkbar-woU3TqMe.cjs → vue-ui-sparkbar-DDqy0UBm.cjs} +1 -1
  103. package/dist/{vue-ui-sparkbar-1v_BypP0.js → vue-ui-sparkbar-DrbkUcOX.js} +3 -3
  104. package/dist/{vue-ui-sparkgauge-B4wnbfIi.cjs → vue-ui-sparkgauge-D6cG2rb8.cjs} +1 -1
  105. package/dist/{vue-ui-sparkgauge-Cwu4aQUR.js → vue-ui-sparkgauge-PSRf_u0V.js} +3 -3
  106. package/dist/{vue-ui-sparkhistogram-wRqt6OJx.cjs → vue-ui-sparkhistogram-B9sVdLfh.cjs} +1 -1
  107. package/dist/{vue-ui-sparkhistogram-BTdWXIO8.js → vue-ui-sparkhistogram-pZslBri7.js} +4 -4
  108. package/dist/{vue-ui-sparkline-B2v0wJH3.js → vue-ui-sparkline-BPExupWx.js} +3 -3
  109. package/dist/{vue-ui-sparkline-DE3oMNsY.cjs → vue-ui-sparkline-CqgArzCs.cjs} +1 -1
  110. package/dist/{vue-ui-sparkstackbar-DIk48oMu.cjs → vue-ui-sparkstackbar-BbGJ75_9.cjs} +1 -1
  111. package/dist/{vue-ui-sparkstackbar-B4lRHLJK.js → vue-ui-sparkstackbar-i02y9FzO.js} +3 -3
  112. package/dist/{vue-ui-stackbar-DVdBUu5U.cjs → vue-ui-stackbar-CRbcnnwn.cjs} +1 -1
  113. package/dist/{vue-ui-stackbar-DSc8j8LH.js → vue-ui-stackbar-DfXxN_P3.js} +10 -10
  114. package/dist/{vue-ui-strip-plot-6hhRMLCq.js → vue-ui-strip-plot-BZ-we0b1.js} +9 -9
  115. package/dist/{vue-ui-strip-plot-Cjays3PT.cjs → vue-ui-strip-plot-oZBXDxc-.cjs} +1 -1
  116. package/dist/{vue-ui-table-DQkiNDaZ.js → vue-ui-table-BqLbMTHt.js} +1 -1
  117. package/dist/{vue-ui-table-D-_a1UzS.cjs → vue-ui-table-Dy26T2oy.cjs} +1 -1
  118. package/dist/{vue-ui-table-heatmap-BRvVWrf1.cjs → vue-ui-table-heatmap-BnwiB4id.cjs} +1 -1
  119. package/dist/{vue-ui-table-heatmap-_KVKSH7q.js → vue-ui-table-heatmap-KzoqT8nX.js} +4 -4
  120. package/dist/{vue-ui-table-sparkline-kyYy6tk8.cjs → vue-ui-table-sparkline-BBEsDDnN.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-C_0i15kC.js → vue-ui-table-sparkline-BakiSjV4.js} +5 -5
  122. package/dist/{vue-ui-thermometer-y3Hm1mwz.js → vue-ui-thermometer-D7cgRJoy.js} +5 -5
  123. package/dist/{vue-ui-thermometer-BjU-T5A0.cjs → vue-ui-thermometer-E0mrvP4G.cjs} +1 -1
  124. package/dist/{vue-ui-timer-CVHz7dT6.cjs → vue-ui-timer-COLXZ1J1.cjs} +1 -1
  125. package/dist/{vue-ui-timer-7ouUkgHq.js → vue-ui-timer-r4VFny9D.js} +4 -4
  126. package/dist/{vue-ui-tiremarks-Dr9qSWVo.cjs → vue-ui-tiremarks-C15sglnJ.cjs} +1 -1
  127. package/dist/{vue-ui-tiremarks-8-riUzAT.js → vue-ui-tiremarks-DNQpuz8A.js} +5 -5
  128. package/dist/{vue-ui-treemap-ChYWvnSf.js → vue-ui-treemap-CD5GoXrU.js} +9 -9
  129. package/dist/{vue-ui-treemap-CmoQK2_G.cjs → vue-ui-treemap-CsHaQjwu.cjs} +1 -1
  130. package/dist/{vue-ui-vertical-bar-Ecx25LWQ.js → vue-ui-vertical-bar-DRH98pOw.js} +9 -9
  131. package/dist/{vue-ui-vertical-bar-Doj3k8dI.cjs → vue-ui-vertical-bar-DucujxOR.cjs} +1 -1
  132. package/dist/{vue-ui-waffle-BgoDu9wa.cjs → vue-ui-waffle-DhroAZB3.cjs} +1 -1
  133. package/dist/{vue-ui-waffle-BlqBRA5E.js → vue-ui-waffle-l9NGD_0B.js} +9 -9
  134. package/dist/{vue-ui-wheel-BlVmj1yz.cjs → vue-ui-wheel-Bd87HcGT.cjs} +1 -1
  135. package/dist/{vue-ui-wheel-DNndo4fU.js → vue-ui-wheel-BpqWo_KY.js} +5 -5
  136. package/dist/{vue-ui-word-cloud-Cvyev8yY.cjs → vue-ui-word-cloud-D5JLdr9g.cjs} +1 -1
  137. package/dist/{vue-ui-word-cloud-C9XDZjPt.js → vue-ui-word-cloud-DLaAm8t8.js} +7 -7
  138. package/dist/vue-ui-xy-BHzOpYm9.cjs +3 -0
  139. package/dist/{vue-ui-xy-DkNi0ZJ4.js → vue-ui-xy-Ct-9OxiZ.js} +946 -906
  140. package/dist/{vue-ui-xy-canvas-DIFlyxki.js → vue-ui-xy-canvas-BU3nj2M1.js} +10 -10
  141. package/dist/{vue-ui-xy-canvas-a3pNJKYd.cjs → vue-ui-xy-canvas-Bub1qCm9.cjs} +1 -1
  142. package/package.json +1 -1
  143. package/dist/index-CeMgFh6-.cjs +0 -4
  144. package/dist/vue-ui-xy-x5TSd-hr.cjs +0 -3
@@ -1,17 +1,17 @@
1
1
  import { p as Q } from "./pdf-97UbtKC2.js";
2
- import { U as K, s as j } from "./usePrinter-BkKBQlCO.js";
3
- import { c as J, a as $, t as ee, z as te, p as ae, T as X, N as P, f as Z, I as ie, F as le, i as re, Z as se, W as ne, _ as ce, v as oe, $ as he, d as de, B as ue, b as ge, q as fe, Q as me, a0 as Ne, r as Ie, e as be, y as xe, L as _e, x as Fe, a1 as ye, o as Ae, s as Le, w as Ce, E as Se, A as ke, u as we } from "./index-B6m-GhsP.js";
4
- import { D as Oe } from "./DataTable-OKHTStDc.js";
5
- import { _ as ve } from "./Title-CXeDgAE7.js";
6
- import { _ as Ge, u as ze } from "./Tooltip-_e0VoMC-.js";
7
- import { _ as Me } from "./Shape-C0HIiqHY.js";
8
- import pe from "./BaseIcon-CVe5ECp8.js";
9
- import Pe from "./vue-ui-table-sparkline-C_0i15kC.js";
10
- import Te from "./vue-ui-skeleton-BOhyMEA5.js";
11
- import { S as Ve } from "./Slicer-CB-YgfIM.js";
12
- import Re from "./vue-ui-accordion-BygOGjRr.js";
13
- import { u as U } from "./useNestedProp-BrcBWysp.js";
14
- import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as p, normalizeStyle as A, createBlock as V, createCommentVNode as h, createSlots as De, withCtx as z, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as m, renderList as b, toDisplayString as C, createVNode as q, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
2
+ import { U as K, s as j } from "./usePrinter-D9bNzUQP.js";
3
+ import { c as J, a as $, t as ee, z as te, p as ae, T as X, N as P, f as Z, I as ie, F as le, i as re, Z as se, W as ne, _ as he, v as ce, $ as oe, d as de, B as ue, b as ge, q as fe, Q as Ne, a0 as me, r as Ie, e as xe, y as be, L as Fe, x as _e, a1 as ye, o as Ae, s as Le, w as Ce, E as Se, A as ke, u as we } from "./index-DI4DaxVG.js";
4
+ import { D as Oe } from "./DataTable-C-iU_7h7.js";
5
+ import { _ as ve } from "./Title-Bk3h09h9.js";
6
+ import { _ as Ge, u as pe } from "./Tooltip-CdB80DsD.js";
7
+ import { _ as ze } from "./Shape-CyM44biU.js";
8
+ import Me from "./BaseIcon-B9ZZ6wkT.js";
9
+ import Pe from "./vue-ui-table-sparkline-BakiSjV4.js";
10
+ import Te from "./vue-ui-skeleton-DH4t1hrL.js";
11
+ import { S as Ve } from "./Slicer-CZobytqL.js";
12
+ import Re from "./vue-ui-accordion-DsN9lxvc.js";
13
+ import { u as U } from "./useNestedProp-COsQo-tX.js";
14
+ import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as M, normalizeStyle as C, createBlock as V, createCommentVNode as o, createSlots as De, withCtx as p, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as N, renderList as I, toDisplayString as S, createVNode as q, withDirectives as He, vModelCheckbox as We, createTextVNode as Ee } from "vue";
15
15
  import { _ as Be } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const Ye = J(), Xe = {
17
17
  name: "vue-ui-xy",
@@ -31,28 +31,28 @@ const Ye = J(), Xe = {
31
31
  },
32
32
  components: {
33
33
  DataTable: Oe,
34
- Shape: Me,
34
+ Shape: ze,
35
35
  Title: ve,
36
36
  Tooltip: Ge,
37
37
  UserOptions: K,
38
- BaseIcon: pe,
38
+ BaseIcon: Me,
39
39
  TableSparkline: Pe,
40
40
  Skeleton: Te,
41
41
  Slicer: Ve,
42
42
  Accordion: Re
43
43
  },
44
44
  data() {
45
- this.dataset.forEach((o, f) => {
46
- [null, void 0].includes(o.series) && this.error({
45
+ this.dataset.forEach((c, f) => {
46
+ [null, void 0].includes(c.series) && this.error({
47
47
  componentName: "VueUiXy",
48
48
  type: "datasetSerieAttribute",
49
49
  property: "series (number[])",
50
50
  index: f
51
51
  });
52
52
  });
53
- const i = Math.max(...this.dataset.map((o) => o.series.length)), s = {
53
+ const a = Math.max(...this.dataset.map((c) => c.series.length)), s = {
54
54
  start: 0,
55
- end: i
55
+ end: a
56
56
  };
57
57
  return {
58
58
  themePalettes: $,
@@ -102,7 +102,7 @@ const Ye = J(), Xe = {
102
102
  titleStep: 0,
103
103
  slicer: s,
104
104
  __to__: null,
105
- maxX: i,
105
+ maxX: a,
106
106
  showSparklineTable: !0,
107
107
  segregateStep: 0,
108
108
  sliderId: Ye,
@@ -121,8 +121,8 @@ const Ye = J(), Xe = {
121
121
  },
122
122
  watch: {
123
123
  dataset: {
124
- handler(i, s) {
125
- this.maxX = Math.max(...this.dataset.map((o) => o.series.length)), this.slicer = {
124
+ handler(a, s) {
125
+ this.maxX = Math.max(...this.dataset.map((c) => c.series.length)), this.slicer = {
126
126
  start: 0,
127
127
  end: this.maxX
128
128
  }, this.slicerStep += 1, this.segregateStep += 1;
@@ -130,7 +130,7 @@ const Ye = J(), Xe = {
130
130
  deep: !0
131
131
  },
132
132
  config: {
133
- handler(i, s) {
133
+ handler(a, s) {
134
134
  this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
135
135
  },
136
136
  deep: !0
@@ -139,11 +139,11 @@ const Ye = J(), Xe = {
139
139
  computed: {
140
140
  minimap() {
141
141
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
142
- const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), o = [];
143
- for (let t = 0; t < s; t += 1)
144
- o.push(i.map((e) => e.series[t] || 0).reduce((e, I) => (e || 0) + (I || 0), 0));
145
- const f = Math.min(...o);
146
- return o.map((t) => t + (f < 0 ? Math.abs(f) : 0));
142
+ const a = this.datasetWithIds.filter((i) => !this.segregatedSeries.includes(i.id)), s = Math.max(...a.map((i) => i.series.length)), c = [];
143
+ for (let i = 0; i < s; i += 1)
144
+ c.push(a.map((e) => e.series[i] || 0).reduce((e, x) => (e || 0) + (x || 0), 0));
145
+ const f = Math.min(...c);
146
+ return c.map((i) => i + (f < 0 ? Math.abs(f) : 0));
147
147
  },
148
148
  customPalette() {
149
149
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -155,54 +155,54 @@ const Ye = J(), Xe = {
155
155
  return this.FINAL_CONFIG.chart.zoom.color;
156
156
  },
157
157
  allScales() {
158
- const i = this.lineSet.map((t) => ({
159
- name: t.name,
160
- color: t.color,
161
- scale: t.individualScale,
162
- scaleYLabels: t.scaleYLabels,
163
- zero: t.zeroPosition,
164
- max: t.individualMax,
165
- scaleLabel: t.scaleLabel || "",
166
- id: t.id,
167
- yOffset: t.yOffset || 0,
168
- individualHeight: t.individualHeight || this.drawingArea.height,
169
- autoScaleYLabels: t.autoScaleYLabels
170
- })), s = this.barSet.map((t) => ({
171
- name: t.name,
172
- color: t.color,
173
- scale: t.individualScale,
174
- scaleYLabels: t.scaleYLabels,
175
- zero: t.zeroPosition,
176
- max: t.individualMax,
177
- scaleLabel: t.scaleLabel || "",
178
- id: t.id,
179
- yOffset: t.yOffset || 0,
180
- individualHeight: t.individualHeight || this.drawingArea.height
181
- })), o = this.plotSet.map((t) => ({
182
- name: t.name,
183
- color: t.color,
184
- scale: t.individualScale,
185
- scaleYLabels: t.scaleYLabels,
158
+ const a = this.lineSet.map((i) => ({
159
+ name: i.name,
160
+ color: i.color,
161
+ scale: i.individualScale,
162
+ scaleYLabels: i.scaleYLabels,
163
+ zero: i.zeroPosition,
164
+ max: i.individualMax,
165
+ scaleLabel: i.scaleLabel || "",
166
+ id: i.id,
167
+ yOffset: i.yOffset || 0,
168
+ individualHeight: i.individualHeight || this.drawingArea.height,
169
+ autoScaleYLabels: i.autoScaleYLabels
170
+ })), s = this.barSet.map((i) => ({
171
+ name: i.name,
172
+ color: i.color,
173
+ scale: i.individualScale,
174
+ scaleYLabels: i.scaleYLabels,
175
+ zero: i.zeroPosition,
176
+ max: i.individualMax,
177
+ scaleLabel: i.scaleLabel || "",
178
+ id: i.id,
179
+ yOffset: i.yOffset || 0,
180
+ individualHeight: i.individualHeight || this.drawingArea.height
181
+ })), c = this.plotSet.map((i) => ({
182
+ name: i.name,
183
+ color: i.color,
184
+ scale: i.individualScale,
185
+ scaleYLabels: i.scaleYLabels,
186
186
  // FIX
187
- zero: t.zeroPosition,
188
- max: t.individualMax,
189
- scaleLabel: t.scaleLabel || "",
190
- id: t.id,
191
- yOffset: t.yOffset || 0,
192
- individualHeight: t.individualHeight || this.drawingArea.height
193
- })), f = [...i, ...s, ...o].flatMap((t) => t).length;
194
- return [...i, ...s, ...o].flatMap((t, e) => ({
195
- id: t.id,
196
- scaleLabel: t.scaleLabel,
197
- name: t.name,
198
- color: t.color,
199
- scale: t.scale,
200
- yOffset: t.yOffset,
201
- individualHeight: t.individualHeight,
187
+ zero: i.zeroPosition,
188
+ max: i.individualMax,
189
+ scaleLabel: i.scaleLabel || "",
190
+ id: i.id,
191
+ yOffset: i.yOffset || 0,
192
+ individualHeight: i.individualHeight || this.drawingArea.height
193
+ })), f = [...a, ...s, ...c].flatMap((i) => i).length;
194
+ return [...a, ...s, ...c].flatMap((i, e) => ({
195
+ id: i.id,
196
+ scaleLabel: i.scaleLabel,
197
+ name: i.name,
198
+ color: i.color,
199
+ scale: i.scale,
200
+ yOffset: i.yOffset,
201
+ individualHeight: i.individualHeight,
202
202
  x: this.mutableConfig.isStacked ? this.drawingArea.left : this.drawingArea.left / f * (e + 1),
203
- yLabels: t.scaleYLabels || t.scale.ticks.map((I) => ({
204
- y: I >= 0 ? t.zero - t.individualHeight * (I / t.max) : t.zero + t.individualHeight * Math.abs(I) / t.max,
205
- value: I
203
+ yLabels: i.scaleYLabels || i.scale.ticks.map((x) => ({
204
+ y: x >= 0 ? i.zero - i.individualHeight * (x / i.max) : i.zero + i.individualHeight * Math.abs(x) / i.max,
205
+ value: x
206
206
  }))
207
207
  }));
208
208
  },
@@ -210,19 +210,19 @@ const Ye = J(), Xe = {
210
210
  return !!this.dataset && this.dataset.length;
211
211
  },
212
212
  chartFont() {
213
- const i = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
214
- return window.getComputedStyle(i, null).getPropertyValue("font-family");
213
+ const a = document.getElementById(`vue-ui-xy_${this.uniqueId}`);
214
+ return window.getComputedStyle(a, null).getPropertyValue("font-family");
215
215
  },
216
216
  FINAL_CONFIG: {
217
217
  get: function() {
218
218
  return this.prepareConfig();
219
219
  },
220
- set: function(i) {
221
- return i;
220
+ set: function(a) {
221
+ return a;
222
222
  }
223
223
  },
224
224
  hasHighlightArea() {
225
- 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;
225
+ return Array.isArray(this.FINAL_CONFIG.chart.highlightArea) ? this.FINAL_CONFIG.chart.highlightArea.some((a) => a.show) : this.FINAL_CONFIG.chart.highlightArea && this.FINAL_CONFIG.chart.highlightArea.show;
226
226
  },
227
227
  highlightAreas() {
228
228
  if (Array.isArray(this.FINAL_CONFIG.chart.highlightArea))
@@ -230,8 +230,8 @@ const Ye = J(), Xe = {
230
230
  ...s,
231
231
  span: s.from === s.to ? 1 : s.to < s.from ? 0 : s.to - s.from + 1
232
232
  }));
233
- const i = this.FINAL_CONFIG.chart.highlightArea;
234
- return [{ ...i, span: i.from === i.to ? 1 : i.to < i.from ? 0 : i.to - i.from + 1 }];
233
+ const a = this.FINAL_CONFIG.chart.highlightArea;
234
+ return [{ ...a, span: a.from === a.to ? 1 : a.to < a.from ? 0 : a.to - a.from + 1 }];
235
235
  },
236
236
  xPadding() {
237
237
  return this.FINAL_CONFIG.chart.grid.position === "middle" ? 0 : this.drawingArea.width / this.maxSeries / 2;
@@ -243,33 +243,33 @@ const Ye = J(), Xe = {
243
243
  return this.niceScale.max + this.relativeZero;
244
244
  },
245
245
  datasetWithIds() {
246
- return this.useSafeValues ? this.dataset.map((i, s) => ({
247
- ...i,
246
+ return this.useSafeValues ? this.dataset.map((a, s) => ({
247
+ ...a,
248
248
  id: `uniqueId_${s}`
249
249
  })) : this.dataset;
250
250
  },
251
251
  safeDataset() {
252
- return this.useSafeValues ? this.dataset.map((i, s) => ({
253
- ...i,
254
- series: i.series.map((o) => this.isSafeValue(o) ? o : null).slice(this.slicer.start, this.slicer.end),
255
- color: this.convertColorToHex(i.color ? i.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
252
+ return this.useSafeValues ? this.dataset.map((a, s) => ({
253
+ ...a,
254
+ series: a.series.map((c) => this.isSafeValue(c) ? c : null).slice(this.slicer.start, this.slicer.end),
255
+ color: this.convertColorToHex(a.color ? a.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
256
256
  id: `uniqueId_${s}`
257
257
  })) : this.dataset;
258
258
  },
259
259
  relativeDataset() {
260
- return this.safeDataset.map((i, s) => ({
261
- ...i,
262
- series: i.series.map((o) => o + this.relativeZero),
263
- absoluteValues: i.series
264
- })).filter((i) => !this.segregatedSeries.includes(i.id));
260
+ return this.safeDataset.map((a, s) => ({
261
+ ...a,
262
+ series: a.series.map((c) => c + this.relativeZero),
263
+ absoluteValues: a.series
264
+ })).filter((a) => !this.segregatedSeries.includes(a.id));
265
265
  },
266
266
  tableSparklineDataset() {
267
- return this.relativeDataset.map((i) => {
268
- const s = i.absoluteValues.map((o) => [void 0, null].includes(o) ? 0 : o);
267
+ return this.relativeDataset.map((a) => {
268
+ const s = a.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
269
269
  return {
270
- id: i.id,
271
- name: i.name,
272
- color: i.color,
270
+ id: a.id,
271
+ name: a.name,
272
+ color: a.color,
273
273
  values: this.fillArray(this.maxSeries, s)
274
274
  };
275
275
  });
@@ -301,69 +301,75 @@ const Ye = J(), Xe = {
301
301
  };
302
302
  },
303
303
  absoluteDataset() {
304
- return this.safeDataset.map((i, s) => ({
304
+ return this.safeDataset.map((a, s) => ({
305
305
  absoluteIndex: s,
306
- ...i,
307
- series: i.series.map((o) => o + this.relativeZero),
308
- absoluteValues: i.series,
309
- segregate: () => this.segregate(i),
310
- isSegregated: this.segregatedSeries.includes(i.id)
306
+ ...a,
307
+ series: a.series.map((c) => c + this.relativeZero),
308
+ absoluteValues: a.series,
309
+ segregate: () => this.segregate(a),
310
+ isSegregated: this.segregatedSeries.includes(a.id)
311
311
  }));
312
312
  },
313
313
  barSet() {
314
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "bar").map((i, s) => {
315
- this.checkAutoScaleError(i);
316
- const o = Math.min(...i.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...i.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
317
- ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - o) / (f - o)),
318
- valueMin: o,
314
+ return this.activeSeriesWithStackRatios.filter((a) => a.type === "bar").map((a, s) => {
315
+ this.checkAutoScaleError(a);
316
+ const c = Math.min(...a.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...a.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
317
+ ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - c) / (f - c)),
318
+ valueMin: c,
319
319
  valueMax: f < 0 ? 0 : f
320
- }, I = {
321
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
322
- min: i.scaleMin || Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((d) => ![null, void 0].includes(d)))
323
- }, w = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, L = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(I.min, I.max === I.min ? I.max * L : I.max, w), y = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * L : e.valueMax, w), M = N.min >= 0 ? 0 : Math.abs(N.min), S = 0, G = N.max + M, v = y.max + Math.abs(S), x = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, a = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, c = this.drawingArea.bottom - x - a * M / G, n = this.drawingArea.bottom - x - a * S / v, g = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, R = i.series.map((d, _) => {
324
- const W = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + M) / G : this.ratioToMax(d), E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * _ : this.drawingArea.left + this.slot.bar * s + this.slot.bar * _ * g - this.barSlot / 2 - s * this.barPeriodGap;
320
+ }, x = {
321
+ max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
322
+ min: a.scaleMin || Math.min(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))) > 0 ? 0 : Math.min(...a.absoluteValues.filter((d) => ![null, void 0].includes(d)))
323
+ }, _ = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, A = 1.0000001, m = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * A : x.max, _), L = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * A : e.valueMax, _), z = m.min >= 0 ? 0 : Math.abs(m.min), k = 0, G = m.max + z, v = L.max + Math.abs(k), b = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, t = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, h = this.drawingArea.bottom - b - t * z / G, n = this.drawingArea.bottom - b - t * k / v, g = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, R = a.series.map((d, F) => {
324
+ const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + z) / G : this.ratioToMax(d), E = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left + this.slot.bar * s + this.slot.bar * F * g - this.barSlot / 2 - s * this.barPeriodGap;
325
325
  return {
326
- yOffset: this.checkNaN(x),
327
- individualHeight: this.checkNaN(a),
326
+ yOffset: this.checkNaN(b),
327
+ individualHeight: this.checkNaN(t),
328
328
  x: this.checkNaN(E),
329
- y: this.drawingArea.bottom - x - a * W,
330
- value: i.absoluteValues[_],
331
- zeroPosition: this.checkNaN(c),
329
+ y: this.drawingArea.bottom - b - t * W,
330
+ value: a.absoluteValues[F],
331
+ zeroPosition: this.checkNaN(h),
332
332
  individualMax: this.checkNaN(G),
333
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
333
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
334
334
  };
335
- }), H = i.absoluteValues.map((d) => y.min >= 0 ? (d - Math.abs(y.min)) / (y.max - Math.abs(y.min)) : (d + Math.abs(y.min)) / (y.max + Math.abs(y.min))), D = i.series.map((d, _) => {
336
- const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * _ : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * _ * this.absoluteDataset.filter((E) => E.type === "bar").filter((E) => !this.segregatedSeries.includes(E.id)).length;
335
+ }), H = a.absoluteValues.map((d) => L.min >= 0 ? (d - Math.abs(L.min)) / (L.max - Math.abs(L.min)) : (d + Math.abs(L.min)) / (L.max + Math.abs(L.min))), D = a.series.map((d, F) => {
336
+ const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * F : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * F * this.absoluteDataset.filter((E) => E.type === "bar").filter((E) => !this.segregatedSeries.includes(E.id)).length;
337
337
  return {
338
- yOffset: this.checkNaN(x),
339
- individualHeight: this.checkNaN(a),
338
+ yOffset: this.checkNaN(b),
339
+ individualHeight: this.checkNaN(t),
340
340
  x: this.checkNaN(W),
341
- y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(x) - (this.checkNaN(a) * H[_] || 0)),
342
- value: i.absoluteValues[_],
343
- zeroPosition: this.checkNaN(c),
341
+ y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(b) - (this.checkNaN(t) * H[F] || 0)),
342
+ value: a.absoluteValues[F],
343
+ zeroPosition: this.checkNaN(h),
344
344
  individualMax: this.checkNaN(G),
345
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
345
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
346
346
  };
347
- }), F = N.ticks.map((d) => ({
348
- y: d >= 0 ? c - a * (d / G) : c + a * Math.abs(d) / G,
349
- value: d
350
- })), k = y.ticks.map((d) => {
351
- const _ = (d - y.min) / (y.max - y.min);
347
+ }), y = m.ticks.map((d) => ({
348
+ y: d >= 0 ? h - t * (d / G) : h + t * Math.abs(d) / G,
349
+ value: d,
350
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
351
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
352
+ datapoint: a
353
+ })), w = L.ticks.map((d) => {
354
+ const F = (d - L.min) / (L.max - L.min);
352
355
  return {
353
- y: d >= 0 ? n - a * _ : n + a * _,
354
- value: d
356
+ y: d >= 0 ? n - t * F : n + t * F,
357
+ value: d,
358
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
359
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
360
+ datapoint: a
355
361
  };
356
362
  });
357
363
  return {
358
- ...i,
359
- yOffset: x,
360
- autoScaleYLabels: k,
361
- individualHeight: a,
362
- scaleYLabels: i.autoScaling ? k : F,
363
- individualScale: i.autoScaling ? y : N,
364
- individualMax: i.autoScaling ? v : G,
365
- zeroPosition: i.autoScaling ? n : c,
366
- plots: i.autoScaling ? D : R
364
+ ...a,
365
+ yOffset: b,
366
+ autoScaleYLabels: w,
367
+ individualHeight: t,
368
+ scaleYLabels: a.autoScaling ? w : y,
369
+ individualScale: a.autoScaling ? L : m,
370
+ individualMax: a.autoScaling ? v : G,
371
+ zeroPosition: a.autoScaling ? n : h,
372
+ plots: a.autoScaling ? D : R
367
373
  };
368
374
  });
369
375
  },
@@ -371,124 +377,136 @@ const Ye = J(), Xe = {
371
377
  return this.absoluteDataset.length;
372
378
  },
373
379
  activeSeriesWithStackRatios() {
374
- return this.assignStackRatios(this.absoluteDataset.filter((i) => !this.segregatedSeries.includes(i.id)));
380
+ return this.assignStackRatios(this.absoluteDataset.filter((a) => !this.segregatedSeries.includes(a.id)));
375
381
  },
376
382
  lineSet() {
377
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "line").map((i) => {
378
- this.checkAutoScaleError(i);
379
- const s = Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))), o = Math.max(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, t = {
380
- ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (o - s)),
383
+ return this.activeSeriesWithStackRatios.filter((a) => a.type === "line").map((a) => {
384
+ this.checkAutoScaleError(a);
385
+ const s = Math.min(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = Math.max(...a.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, i = {
386
+ ratios: a.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (c - s)),
381
387
  valueMin: s,
382
- valueMax: o
388
+ valueMax: c
383
389
  }, e = {
384
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
385
- min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
386
- }, I = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * w : e.max, I), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * w : t.valueMax, I), y = L.min >= 0 ? 0 : Math.abs(L.min), M = 0, S = L.max + Math.abs(y), G = N.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - v - x * y / S, c = this.drawingArea.bottom - v - x * M / G, n = i.series.map((d, _) => {
387
- const W = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + Math.abs(y)) / S : this.ratioToMax(d);
390
+ max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
391
+ min: a.scaleMin || (Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues))
392
+ }, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), m = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), L = A.min >= 0 ? 0 : Math.abs(A.min), z = 0, k = A.max + Math.abs(L), G = m.max + Math.abs(z), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, t = this.drawingArea.bottom - v - b * L / k, h = this.drawingArea.bottom - v - b * z / G, n = a.series.map((d, F) => {
393
+ const W = this.mutableConfig.useIndividualScale ? (a.absoluteValues[F] + Math.abs(L)) / k : this.ratioToMax(d);
388
394
  return {
389
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * _),
390
- y: this.checkNaN(this.drawingArea.bottom - v - x * W),
391
- value: i.absoluteValues[_],
392
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
395
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
396
+ y: this.checkNaN(this.drawingArea.bottom - v - b * W),
397
+ value: a.absoluteValues[F],
398
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
393
399
  };
394
- }), g = i.absoluteValues.map((d) => N.min >= 0 ? (d - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (d + Math.abs(N.min)) / (N.max + Math.abs(N.min))), R = i.series.map((d, _) => {
395
- if (![void 0, null].includes(i.absoluteValues[_]))
400
+ }), g = a.absoluteValues.map((d) => m.min >= 0 ? (d - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (d + Math.abs(m.min)) / (m.max + Math.abs(m.min))), R = a.series.map((d, F) => {
401
+ if (![void 0, null].includes(a.absoluteValues[F]))
396
402
  return {
397
- x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * _),
398
- y: this.checkNaN(this.drawingArea.bottom - v - (x * g[_] || 0)),
399
- value: i.absoluteValues[_],
400
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
403
+ x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * F),
404
+ y: this.checkNaN(this.drawingArea.bottom - v - (b * g[F] || 0)),
405
+ value: a.absoluteValues[F],
406
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[F] || ""
401
407
  };
402
- }), H = this.createSmoothPath(n), D = this.createSmoothPath(R), F = L.ticks.map((d) => ({
403
- y: d >= 0 ? a - x * (d / S) : a + x * Math.abs(d) / S,
404
- value: d
405
- })), k = N.ticks.map((d) => {
406
- const _ = (d - N.min) / (N.max - N.min);
408
+ }), H = this.createSmoothPath(n), D = this.createSmoothPath(R), y = A.ticks.map((d) => ({
409
+ y: d >= 0 ? t - b * (d / k) : t + b * Math.abs(d) / k,
410
+ value: d,
411
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
412
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
413
+ datapoint: a
414
+ })), w = m.ticks.map((d) => {
415
+ const F = (d - m.min) / (m.max - m.min);
407
416
  return {
408
- y: d >= 0 ? c - x * _ : c + x * _,
409
- value: d
417
+ y: d >= 0 ? h - b * F : h + b * F,
418
+ value: d,
419
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
420
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
421
+ datapoint: a
410
422
  };
411
423
  });
412
424
  return {
413
- ...i,
425
+ ...a,
414
426
  yOffset: v,
415
- autoScaleYLabels: k,
416
- individualHeight: x,
417
- scaleYLabels: i.autoScaling ? k : F,
418
- individualScale: i.autoScaling ? N : L,
419
- individualMax: i.autoScaling ? G : S,
420
- zeroPosition: i.autoScaling ? c : a,
421
- curve: i.autoScaling ? D : H,
422
- plots: i.autoScaling ? R : n,
423
- area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? R : n, i.autoScaling ? c : a) : this.createArea(n) : ""
427
+ autoScaleYLabels: w,
428
+ individualHeight: b,
429
+ scaleYLabels: a.autoScaling ? w : y,
430
+ individualScale: a.autoScaling ? m : A,
431
+ individualMax: a.autoScaling ? G : k,
432
+ zeroPosition: a.autoScaling ? h : t,
433
+ curve: a.autoScaling ? D : H,
434
+ plots: a.autoScaling ? R : n,
435
+ area: a.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(a.autoScaling ? R : n, a.autoScaling ? h : t) : this.createArea(n) : ""
424
436
  };
425
437
  });
426
438
  },
427
439
  plotSet() {
428
- return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
429
- this.checkAutoScaleError(i);
430
- const s = Math.min(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))), o = Math.max(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))) || 1, t = {
431
- ratios: i.absoluteValues.filter((F) => ![null, void 0].includes(F)).map((F) => (F - s) / (o - s)),
440
+ return this.activeSeriesWithStackRatios.filter((a) => a.type === "plot").map((a) => {
441
+ this.checkAutoScaleError(a);
442
+ const s = Math.min(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))), c = Math.max(...a.absoluteValues.filter((y) => ![null, void 0].includes(y))) || 1, i = {
443
+ ratios: a.absoluteValues.filter((y) => ![null, void 0].includes(y)).map((y) => (y - s) / (c - s)),
432
444
  valueMin: s,
433
- valueMax: o
445
+ valueMax: c
434
446
  }, e = {
435
- max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
436
- min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
437
- }, I = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, w = 1.0000001, L = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * w : e.max, I), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * w : t.valueMax, I), y = L.min >= 0 ? 0 : Math.abs(L.min), M = 0, S = L.max + y, G = N.max + Math.abs(M), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, x = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, a = this.drawingArea.bottom - v - x * y / S, c = this.drawingArea.bottom - v - x * M / G, n = i.series.map((F, k) => {
438
- const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[k] + Math.abs(y)) / S : this.ratioToMax(F);
447
+ max: a.scaleMax || Math.max(...a.absoluteValues) || 1,
448
+ min: a.scaleMin || Math.min(...a.absoluteValues) > 0 ? 0 : Math.min(...a.absoluteValues)
449
+ }, x = a.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, _ = 1.0000001, A = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * _ : e.max, x), m = this.calculateNiceScaleWithExactExtremes(i.valueMin, i.valueMax === i.valueMin ? i.valueMax * _ : i.valueMax, x), L = A.min >= 0 ? 0 : Math.abs(A.min), z = 0, k = A.max + L, G = m.max + Math.abs(z), v = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - a.cumulatedStackRatio) : 0, b = this.mutableConfig.isStacked ? this.drawingArea.height * a.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, t = this.drawingArea.bottom - v - b * L / k, h = this.drawingArea.bottom - v - b * z / G, n = a.series.map((y, w) => {
450
+ const d = this.mutableConfig.useIndividualScale ? (a.absoluteValues[w] + Math.abs(L)) / k : this.ratioToMax(y);
439
451
  return {
440
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * k),
441
- y: this.checkNaN(this.drawingArea.bottom - v - x * d),
442
- value: i.absoluteValues[k],
443
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
452
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * w),
453
+ y: this.checkNaN(this.drawingArea.bottom - v - b * d),
454
+ value: a.absoluteValues[w],
455
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[w] || ""
444
456
  };
445
- }), g = i.absoluteValues.map((F) => N.min >= 0 ? (F - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (F + Math.abs(N.min)) / (N.max + Math.abs(N.min))), R = i.series.map((F, k) => ({
446
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * k),
447
- y: this.checkNaN(this.drawingArea.bottom - v - (x * g[k] || 0)),
448
- value: i.absoluteValues[k],
449
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
450
- })), H = L.ticks.map((F) => ({
451
- y: F >= 0 ? a - x * (F / S) : a + x * Math.abs(F) / S,
452
- value: F
453
- })), D = N.ticks.map((F) => {
454
- const k = (F - N.min) / (N.max - N.min);
457
+ }), g = a.absoluteValues.map((y) => m.min >= 0 ? (y - Math.abs(m.min)) / (m.max - Math.abs(m.min)) : (y + Math.abs(m.min)) / (m.max + Math.abs(m.min))), R = a.series.map((y, w) => ({
458
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * w),
459
+ y: this.checkNaN(this.drawingArea.bottom - v - (b * g[w] || 0)),
460
+ value: a.absoluteValues[w],
461
+ comment: a.comments && a.comments.slice(this.slicer.start, this.slicer.end)[w] || ""
462
+ })), H = A.ticks.map((y) => ({
463
+ y: y >= 0 ? t - b * (y / k) : t + b * Math.abs(y) / k,
464
+ value: y,
465
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
466
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
467
+ datapoint: a
468
+ })), D = m.ticks.map((y) => {
469
+ const w = (y - m.min) / (m.max - m.min);
455
470
  return {
456
- y: F >= 0 ? c - x * k : c + x * k,
457
- value: F
471
+ y: y >= 0 ? h - b * w : h + b * w,
472
+ value: y,
473
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
474
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix,
475
+ datapoint: a
458
476
  };
459
477
  });
460
478
  return {
461
- ...i,
479
+ ...a,
462
480
  yOffset: v,
463
481
  autoScaleYLabels: D,
464
- individualHeight: x,
465
- scaleYLabels: i.autoScaling ? D : H,
466
- individualScale: i.autoScaling ? N : L,
467
- individualMax: i.autoScaling ? G : S,
468
- zeroPosition: i.autoScaling ? c : a,
469
- plots: i.autoScaling ? R : n
482
+ individualHeight: b,
483
+ scaleYLabels: a.autoScaling ? D : H,
484
+ individualScale: a.autoScaling ? m : A,
485
+ individualMax: a.autoScaling ? G : k,
486
+ zeroPosition: a.autoScaling ? h : t,
487
+ plots: a.autoScaling ? R : n
470
488
  };
471
489
  });
472
490
  },
473
491
  drawingArea() {
474
- const i = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((s) => !this.segregatedSeries.includes(s.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
492
+ const a = this.mutableConfig.useIndividualScale && this.FINAL_CONFIG.chart.grid.labels.show ? this.absoluteDataset.filter((s) => !this.segregatedSeries.includes(s.id)).length * (this.mutableConfig.isStacked ? 0 : this.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth) : 0;
475
493
  return {
476
494
  top: this.FINAL_CONFIG.chart.padding.top,
477
495
  right: this.width - this.FINAL_CONFIG.chart.padding.right,
478
496
  bottom: this.height - this.FINAL_CONFIG.chart.padding.bottom,
479
- left: this.FINAL_CONFIG.chart.padding.left + i,
497
+ left: this.FINAL_CONFIG.chart.padding.left + a,
480
498
  height: this.height - (this.FINAL_CONFIG.chart.padding.top + this.FINAL_CONFIG.chart.padding.bottom),
481
- width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + i)
499
+ width: this.width - (this.FINAL_CONFIG.chart.padding.right + this.FINAL_CONFIG.chart.padding.left + a)
482
500
  };
483
501
  },
484
502
  max() {
485
- 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)));
503
+ return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax ? this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMax : Math.max(...this.safeDataset.filter((a) => !this.segregatedSeries.includes(a.id)).map((a) => Math.max(...a.series)));
486
504
  },
487
505
  min() {
488
506
  if (this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin !== null)
489
507
  return this.FINAL_CONFIG.chart.grid.labels.yAxis.scaleMin;
490
- const i = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
491
- return i > 0 ? 0 : i;
508
+ const a = Math.min(...this.safeDataset.filter((s) => !this.segregatedSeries.includes(s.id)).map((s) => Math.min(...s.series)));
509
+ return a > 0 ? 0 : a;
492
510
  },
493
511
  niceScale() {
494
512
  return this.calculateNiceScaleWithExactExtremes(this.min, this.max < 0 ? 0 : this.max, this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps);
@@ -501,43 +519,60 @@ const Ye = J(), Xe = {
501
519
  },
502
520
  slot() {
503
521
  return {
504
- bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((i) => i.type === "bar").filter((i) => !this.segregatedSeries.includes(i.id)).length,
522
+ bar: this.drawingArea.width / this.maxSeries / this.safeDataset.filter((a) => a.type === "bar").filter((a) => !this.segregatedSeries.includes(a.id)).length,
505
523
  plot: this.drawingArea.width / this.maxSeries,
506
524
  line: this.drawingArea.width / this.maxSeries
507
525
  };
508
526
  },
509
527
  barSlot() {
510
- const i = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
511
- return this.drawingArea.width / this.maxSeries / i - this.barPeriodGap * i;
528
+ const a = this.safeDataset.filter((s) => s.type === "bar").filter((s) => !this.segregatedSeries.includes(s.id)).length;
529
+ return this.drawingArea.width / this.maxSeries / a - this.barPeriodGap * a;
512
530
  },
513
531
  barPeriodGap() {
514
532
  return this.slot.line * this.FINAL_CONFIG.bar.periodGap;
515
533
  },
516
534
  maxSlot() {
517
- return Math.max(...Object.values(this.slot).filter((i) => i !== 1 / 0));
535
+ return Math.max(...Object.values(this.slot).filter((a) => a !== 1 / 0));
518
536
  },
519
537
  table() {
520
538
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
521
- const i = this.relativeDataset.map((o) => ({
522
- label: o.name,
523
- color: o.color,
524
- type: o.type
539
+ const a = this.relativeDataset.map((c) => ({
540
+ label: c.name,
541
+ color: c.color,
542
+ type: c.type
525
543
  })), s = [];
526
- return this.timeLabels.forEach((o, f) => {
527
- const t = [o];
544
+ return this.timeLabels.forEach((c, f) => {
545
+ const i = [c];
528
546
  this.relativeDataset.forEach((e) => {
529
- t.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
530
- }), s.push(t);
531
- }), { head: i, body: s };
547
+ i.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
548
+ }), s.push(i);
549
+ }), { head: a, body: s };
532
550
  },
533
551
  dataTable() {
534
- const i = [""].concat(this.relativeDataset.map((t) => t.name)).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>');
535
- let s = [];
536
- for (let t = 0; t < this.maxSeries; t += 1) {
537
- const e = this.relativeDataset.map((I) => I.absoluteValues[t] ?? 0).reduce((I, w) => I + w, 0);
538
- s.push([this.timeLabels[t] ?? "-"].concat(this.relativeDataset.map((I) => (I.absoluteValues[t] ?? 0).toFixed(this.FINAL_CONFIG.table.rounding))).concat((e ?? 0).toFixed(this.FINAL_CONFIG.table.rounding)));
552
+ const a = this.FINAL_CONFIG.table.showSum;
553
+ let s = [""].concat(this.relativeDataset.map((e) => e.name));
554
+ a && (s = s.concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>'));
555
+ let c = [];
556
+ for (let e = 0; e < this.maxSeries; e += 1) {
557
+ const x = this.relativeDataset.map((_) => _.absoluteValues[e] ?? 0).reduce((_, A) => _ + A, 0);
558
+ c.push(
559
+ [
560
+ this.timeLabels[e] ?? "-"
561
+ ].concat(this.relativeDataset.map(
562
+ (_) => this.applyDataLabel(
563
+ _.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : _.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
564
+ _.absoluteValues[e] ?? 0,
565
+ this.dataLabel({
566
+ p: _.prefix || this.FINAL_CONFIG.chart.labels.prefix,
567
+ v: _.absoluteValues[e] ?? 0,
568
+ s: _.suffix || this.FINAL_CONFIG.chart.labels.suffix,
569
+ r: this.FINAL_CONFIG.table.rounding
570
+ })
571
+ )
572
+ )).concat(a ? (x ?? 0).toFixed(this.FINAL_CONFIG.table.rounding) : [])
573
+ );
539
574
  }
540
- const o = {
575
+ const f = {
541
576
  th: {
542
577
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
543
578
  color: this.FINAL_CONFIG.table.th.color,
@@ -549,8 +584,8 @@ const Ye = J(), Xe = {
549
584
  outline: this.FINAL_CONFIG.table.td.outline
550
585
  },
551
586
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
552
- }, f = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((t) => t.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
553
- return { head: i, body: s, config: o, colNames: f };
587
+ }, i = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((e) => e.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
588
+ return { head: s, body: c, config: f, colNames: i };
554
589
  },
555
590
  dataTooltipSlot() {
556
591
  return {
@@ -564,18 +599,20 @@ const Ye = J(), Xe = {
564
599
  };
565
600
  },
566
601
  selectedSeries() {
567
- return this.relativeDataset.map((i) => ({
568
- shape: i.shape || null,
569
- name: i.name,
570
- color: i.color,
571
- type: i.type,
572
- value: i.absoluteValues.find((s, o) => o === this.selectedSerieIndex),
573
- comments: i.comments || []
602
+ return this.relativeDataset.map((a) => ({
603
+ shape: a.shape || null,
604
+ name: a.name,
605
+ color: a.color,
606
+ type: a.type,
607
+ value: a.absoluteValues.find((s, c) => c === this.selectedSerieIndex),
608
+ comments: a.comments || [],
609
+ prefix: a.prefix || this.FINAL_CONFIG.chart.labels.prefix,
610
+ suffix: a.suffix || this.FINAL_CONFIG.chart.labels.suffix
574
611
  }));
575
612
  },
576
613
  tooltipContent() {
577
- let i = "", s = this.selectedSeries.map((t) => t.value).filter((t) => this.isSafeValue(t) && t !== null).reduce((t, e) => Math.abs(t) + Math.abs(e), 0);
578
- const o = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
614
+ let a = "", s = this.selectedSeries.map((i) => i.value).filter((i) => this.isSafeValue(i) && i !== null).reduce((i, e) => Math.abs(i) + Math.abs(e), 0);
615
+ const c = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
579
616
  return this.isFunction(f) && this.functionReturnsString(() => f({
580
617
  seriesIndex: this.selectedSerieIndex,
581
618
  datapoint: this.selectedSeries,
@@ -592,63 +629,63 @@ const Ye = J(), Xe = {
592
629
  lines: this.lineSet,
593
630
  plots: this.plotSet,
594
631
  config: this.FINAL_CONFIG
595
- }) : (o && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${o}</div>`), this.selectedSeries.forEach((t) => {
596
- if (this.isSafeValue(t.value)) {
597
- let e = "", I = "";
598
- switch (this.icons[t.type]) {
632
+ }) : (c && (a += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${c}</div>`), this.selectedSeries.forEach((i) => {
633
+ if (this.isSafeValue(i.value)) {
634
+ let e = "", x = "";
635
+ switch (this.icons[i.type]) {
599
636
  case "bar":
600
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${t.color}" /></svg>`;
637
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><rect x="0" y="0" rx="1" stroke="none" height="12" width="12" fill="${i.color}" /></svg>`;
601
638
  break;
602
639
  case "line":
603
- !t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape) ? I = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" />` : t.shape === "triangle" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "square" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "diamond" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "pentagon" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "hexagon" ? I = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${t.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : t.shape === "star" && (I = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" 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="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${I}</svg>`;
640
+ !i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape) ? x = `<circle cx="10" cy="8" r="4" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" />` : i.shape === "triangle" ? x = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "square" ? x = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "diamond" ? x = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "pentagon" ? x = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "hexagon" ? x = `<path d="${P({ plot: { x: 10, y: 8 }, radius: 4, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" />` : i.shape === "star" && (x = `<polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" points="${X({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${i.color}" />${x}</svg>`;
604
641
  break;
605
642
  case "plot":
606
- if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
607
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" /></svg>`;
643
+ if (!i.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(i.shape)) {
644
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" /></svg>`;
608
645
  break;
609
646
  }
610
- if (t.shape === "star") {
611
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${X({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
647
+ if (i.shape === "star") {
648
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${i.color}" points="${X({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
612
649
  break;
613
650
  }
614
- if (t.shape === "triangle") {
615
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ 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>`;
651
+ if (i.shape === "triangle") {
652
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 6, sides: 3, rotation: 0.52 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
616
653
  break;
617
654
  }
618
- if (t.shape === "square") {
619
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ 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>`;
655
+ if (i.shape === "square") {
656
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 6, sides: 4, rotation: 0.8 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
620
657
  break;
621
658
  }
622
- if (t.shape === "diamond") {
623
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ 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>`;
659
+ if (i.shape === "diamond") {
660
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 4, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
624
661
  break;
625
662
  }
626
- if (t.shape === "pentagon") {
627
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ 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>`;
663
+ if (i.shape === "pentagon") {
664
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 5, rotation: 0.95 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
628
665
  break;
629
666
  }
630
- if (t.shape === "hexagon") {
631
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ 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>`;
667
+ if (i.shape === "hexagon") {
668
+ e = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${P({ plot: { x: 6, y: 6 }, radius: 5, sides: 6, rotation: 0 }).path}" fill="${i.color}" stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" /></svg>`;
632
669
  break;
633
670
  }
634
671
  }
635
- 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(
636
- t.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : t.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
637
- t.value,
672
+ a += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;"><div style="width:20px">${e}</div> ${i.name}: <b>${this.FINAL_CONFIG.chart.tooltip.showValue ? this.applyDataLabel(
673
+ i.type === "line" ? this.FINAL_CONFIG.line.labels.formatter : i.type === "bar" ? this.FINAL_CONFIG.bar.labels.formatter : this.FINAL_CONFIG.plot.labels.formatter,
674
+ i.value,
638
675
  this.dataLabel({
639
- p: this.FINAL_CONFIG.chart.labels.prefix,
640
- v: t.value,
641
- s: this.FINAL_CONFIG.chart.labels.suffix,
676
+ p: i.prefix,
677
+ v: i.value,
678
+ s: i.suffix,
642
679
  r: this.FINAL_CONFIG.chart.tooltip.roundingValue
643
680
  }),
644
- { datapoint: t }
681
+ { datapoint: i }
645
682
  ) : ""}</b> ${this.FINAL_CONFIG.chart.tooltip.showPercentage ? `(${Z({
646
- v: this.checkNaN(Math.abs(t.value) / s * 100),
683
+ v: this.checkNaN(Math.abs(i.value) / s * 100),
647
684
  s: "%",
648
685
  r: this.FINAL_CONFIG.chart.tooltip.roundingPercentage
649
- })})` : ""}</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>`);
686
+ })})` : ""}</div>`, this.FINAL_CONFIG.chart.comments.showInTooltip && i.comments.length && i.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex] && (a += `<div class="vue-data-ui-tooltip-comment" style="background:${i.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${i.color}">${i.comments.slice(this.slicer.start, this.slicer.end)[this.selectedSerieIndex]}</div>`);
650
687
  }
651
- }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${i}</div>`);
688
+ }), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${this.FINAL_CONFIG.chart.tooltip.color}">${a}</div>`);
652
689
  },
653
690
  svg() {
654
691
  return {
@@ -657,9 +694,11 @@ const Ye = J(), Xe = {
657
694
  };
658
695
  },
659
696
  yLabels() {
660
- return this.niceScale.ticks.map((i) => ({
661
- y: i >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(i) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(i)),
662
- value: i
697
+ return this.niceScale.ticks.map((a) => ({
698
+ y: a >= 0 ? this.zero - this.drawingArea.height * this.ratioToMax(a) : this.zero + this.drawingArea.height * this.ratioToMax(Math.abs(a)),
699
+ value: a,
700
+ prefix: this.FINAL_CONFIG.chart.labels.prefix,
701
+ suffix: this.FINAL_CONFIG.chart.labels.suffix
663
702
  }));
664
703
  },
665
704
  zero() {
@@ -667,10 +706,10 @@ const Ye = J(), Xe = {
667
706
  }
668
707
  },
669
708
  mounted() {
670
- this.prepareChart(), document.addEventListener("mousemove", (i) => {
709
+ this.prepareChart(), document.addEventListener("mousemove", (a) => {
671
710
  this.clientPosition = {
672
- x: i.clientX,
673
- y: i.clientY
711
+ x: a.clientX,
712
+ y: a.clientY
674
713
  };
675
714
  });
676
715
  },
@@ -680,22 +719,22 @@ const Ye = J(), Xe = {
680
719
  applyDataLabel: re,
681
720
  assignStackRatios: se,
682
721
  calcLinearProgression: ne,
683
- calculateNiceScaleWithExactExtremes: ce,
684
- checkNaN: oe,
685
- closestDecimal: he,
722
+ calculateNiceScaleWithExactExtremes: he,
723
+ checkNaN: ce,
724
+ closestDecimal: oe,
686
725
  convertColorToHex: de,
687
726
  convertConfigColors: ue,
688
727
  convertCustomPalette: ge,
689
728
  createCsvContent: fe,
690
- createSmoothPath: me,
691
- createTSpans: Ne,
729
+ createSmoothPath: Ne,
730
+ createTSpans: me,
692
731
  dataLabel: Z,
693
732
  downloadCsv: Ie,
694
- error: be,
695
- functionReturnsString: xe,
696
- hasDeepProperty: _e,
733
+ error: xe,
734
+ functionReturnsString: be,
735
+ hasDeepProperty: Fe,
697
736
  img: j,
698
- isFunction: Fe,
737
+ isFunction: _e,
699
738
  isSafeValue: ye,
700
739
  objectIsEmpty: Ae,
701
740
  pdf: Q,
@@ -703,15 +742,15 @@ const Ye = J(), Xe = {
703
742
  shiftHue: Ce,
704
743
  translateSize: Se,
705
744
  treeShake: ke,
706
- useMouse: ze,
745
+ useMouse: pe,
707
746
  useNestedProp: U,
708
747
  prepareConfig() {
709
- const i = we().vue_ui_xy;
748
+ const a = we().vue_ui_xy;
710
749
  if (!Object.keys(this.config || {}).length)
711
- return i;
750
+ return a;
712
751
  const s = this.useNestedProp({
713
752
  userConfig: this.config,
714
- defaultConfig: i
753
+ defaultConfig: a
715
754
  });
716
755
  return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, s.theme ? {
717
756
  ...U({
@@ -725,17 +764,17 @@ const Ye = J(), Xe = {
725
764
  if (this.objectIsEmpty(this.dataset) ? this.error({
726
765
  componentName: "VueUiXy",
727
766
  type: "dataset"
728
- }) : this.dataset.forEach((i, s) => {
729
- [null, void 0].includes(i.name) && this.error({
767
+ }) : this.dataset.forEach((a, s) => {
768
+ [null, void 0].includes(a.name) && this.error({
730
769
  componentName: "VueUiXy",
731
770
  type: "datasetSerieAttribute",
732
771
  property: "name (string)",
733
772
  index: s
734
773
  });
735
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
736
- i.series.forEach((s, o) => {
774
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((a) => {
775
+ a.series.forEach((s, c) => {
737
776
  this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
738
- -----> The serie '${i.name}' contains the value '${s}' at index ${o}.
777
+ -----> The serie '${a.name}' contains the value '${s}' at index ${c}.
739
778
  '${s}' was converted to null to allow the chart to display.`);
740
779
  });
741
780
  }), this.mutableConfig = {
@@ -747,21 +786,21 @@ const Ye = J(), Xe = {
747
786
  isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
748
787
  useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
749
788
  }, this.FINAL_CONFIG.responsive) {
750
- const s = this.$refs.chart.parentNode, { height: o, width: f } = s.getBoundingClientRect();
751
- let t = null, e = 0;
752
- this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
753
- let I = null, w = 0;
754
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (I = this.$refs.chartSlicer.$el, w = I.getBoundingClientRect().height);
755
- let L = null, N = 0;
756
- this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend, N = L.getBoundingClientRect().height), this.height = o - e - N - w, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((M) => {
757
- for (const S of M)
758
- this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (w = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.height = S.contentBoxSize[0].blockSize - e - N - w - 24, this.width = S.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
789
+ const s = this.$refs.chart.parentNode, { height: c, width: f } = s.getBoundingClientRect();
790
+ let i = null, e = 0;
791
+ this.FINAL_CONFIG.chart.title.show && (i = this.$refs.chartTitle, e = i.getBoundingClientRect().height);
792
+ let x = null, _ = 0;
793
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, _ = x.getBoundingClientRect().height);
794
+ let A = null, m = 0;
795
+ this.FINAL_CONFIG.chart.legend.show && (A = this.$refs.chartLegend, m = A.getBoundingClientRect().height), this.height = c - e - m - _, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((z) => {
796
+ for (const k of z)
797
+ this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (_ = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (m = this.$refs.chartLegend.getBoundingClientRect().height), this.height = k.contentBoxSize[0].blockSize - e - m - _ - 24, this.width = k.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
759
798
  }).observe(s);
760
799
  } else
761
800
  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;
762
801
  },
763
- selectMinimapIndex(i) {
764
- this.selectedMinimapIndex = i;
802
+ selectMinimapIndex(a) {
803
+ this.selectedMinimapIndex = a;
765
804
  },
766
805
  convertSizes() {
767
806
  this.fontSizes.dataLabels = this.translateSize({
@@ -814,98 +853,98 @@ const Ye = J(), Xe = {
814
853
  toggleTooltip() {
815
854
  this.mutableConfig.showTooltip = !this.mutableConfig.showTooltip;
816
855
  },
817
- checkAutoScaleError(i) {
818
- 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`));
856
+ checkAutoScaleError(a) {
857
+ a.autoScaling && (this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.useIndividualScale is set to true`), this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked || console.warn(`VueUiXy (datapoint: ${a.name}) : autoScaling only works when config.chart.grid.labels.yAxis.stacked is set to true`));
819
858
  },
820
- createArea(i) {
821
- if (!i[0]) return [-10, -10, "", -10, -10];
822
- const s = { x: i[0].x, y: this.zero }, o = { x: i.at(-1).x, y: this.zero }, f = [];
823
- return i.forEach((t) => {
824
- f.push(`${t.x},${t.y} `);
825
- }), [s.x, s.y, ...f, o.x, o.y].toString();
859
+ createArea(a) {
860
+ if (!a[0]) return [-10, -10, "", -10, -10];
861
+ const s = { x: a[0].x, y: this.zero }, c = { x: a.at(-1).x, y: this.zero }, f = [];
862
+ return a.forEach((i) => {
863
+ f.push(`${i.x},${i.y} `);
864
+ }), [s.x, s.y, ...f, c.x, c.y].toString();
826
865
  },
827
- createIndividualArea(i, s) {
828
- if (!i[0]) return [-10, -10, "", -10, -10];
829
- const o = { x: i[0] ? i[0].x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: i.at(-1) ? i.at(-1).x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, t = [];
830
- return i.filter((e) => !!e).forEach((e) => {
831
- t.push(`${e.x},${e.y} `);
832
- }), [o.x, o.y, ...t, f.x, f.y].toString();
866
+ createIndividualArea(a, s) {
867
+ if (!a[0]) return [-10, -10, "", -10, -10];
868
+ const c = { x: a[0] ? a[0].x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: a.at(-1) ? a.at(-1).x : Math.min(...a.filter((e) => !!e).map((e) => e.x)), y: s }, i = [];
869
+ return a.filter((e) => !!e).forEach((e) => {
870
+ i.push(`${e.x},${e.y} `);
871
+ }), [c.x, c.y, ...i, f.x, f.y].toString();
833
872
  },
834
873
  createStar: X,
835
874
  createPolygonPath: P,
836
- fillArray(i, s) {
837
- let o = Array(i).fill(0);
838
- for (let f = 0; f < s.length && f < i; f += 1)
839
- o[f] = s[f];
840
- return o;
875
+ fillArray(a, s) {
876
+ let c = Array(a).fill(0);
877
+ for (let f = 0; f < s.length && f < a; f += 1)
878
+ c[f] = s[f];
879
+ return c;
841
880
  },
842
881
  refreshSlicer() {
843
882
  this.slicer = {
844
883
  start: 0,
845
- end: Math.max(...this.dataset.map((i) => i.series.length))
884
+ end: Math.max(...this.dataset.map((a) => a.series.length))
846
885
  }, this.slicerStep += 1;
847
886
  },
848
- calcRectHeight(i) {
849
- return i.value >= 0 ? this.checkNaN(this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
887
+ calcRectHeight(a) {
888
+ return a.value >= 0 ? this.checkNaN(this.zero - a.y <= 0 ? 1e-5 : this.zero - a.y) : this.checkNaN(a.y - this.zero <= 0 ? 1e-5 : a.y - this.zero);
850
889
  },
851
- calcIndividualHeight(i) {
852
- 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);
890
+ calcIndividualHeight(a) {
891
+ return a.value >= 0 ? this.checkNaN(a.zeroPosition - a.y <= 0 ? 1e-5 : a.zeroPosition - a.y) : this.checkNaN(a.y - a.zeroPosition <= 0 ? 1e-5 : a.zeroPosition - a.y);
853
892
  },
854
893
  calcRectWidth() {
855
894
  return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.slot.line - this.drawingArea.width / this.maxSeries * 0.1 : this.slot.bar;
856
895
  },
857
- calcRectX(i) {
858
- return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? i.x + this.drawingArea.width / this.maxSeries * 0.05 : i.x + this.slot.bar / 2;
896
+ calcRectX(a) {
897
+ return this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? a.x + this.drawingArea.width / this.maxSeries * 0.05 : a.x + this.slot.bar / 2;
859
898
  },
860
- calcRectY(i) {
861
- return i.value >= 0 ? i.y : this.zero;
899
+ calcRectY(a) {
900
+ return a.value >= 0 ? a.y : this.zero;
862
901
  },
863
- calcIndividualRectY(i) {
864
- return i.value >= 0 ? i.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(i.zeroPosition) ? 0 : i.zeroPosition;
902
+ calcIndividualRectY(a) {
903
+ return a.value >= 0 ? a.y : [null, void 0, NaN, 1 / 0, -1 / 0].includes(a.zeroPosition) ? 0 : a.zeroPosition;
865
904
  },
866
- canShowValue(i) {
867
- return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
905
+ canShowValue(a) {
906
+ return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(a);
868
907
  },
869
- findClosestValue(i, s) {
870
- let o = s[0], f = Math.abs(i - s[0]);
871
- for (let t = 1; t < s.length; t += 1) {
872
- const e = Math.abs(i - s[t]);
873
- e < f && s[t] < i && (o = s[t], f = e);
908
+ findClosestValue(a, s) {
909
+ let c = s[0], f = Math.abs(a - s[0]);
910
+ for (let i = 1; i < s.length; i += 1) {
911
+ const e = Math.abs(a - s[i]);
912
+ e < f && s[i] < a && (c = s[i], f = e);
874
913
  }
875
- return o;
914
+ return c;
876
915
  },
877
- ratioToMax(i) {
878
- return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
916
+ ratioToMax(a) {
917
+ return a / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
879
918
  },
880
- selectX(i) {
919
+ selectX(a) {
881
920
  this.$emit(
882
921
  "selectX",
883
922
  {
884
923
  dataset: this.relativeDataset.map((s) => ({
885
924
  name: s.name,
886
- value: [null, void 0, NaN].includes(s.absoluteValues[i]) ? null : s.absoluteValues[i],
925
+ value: [null, void 0, NaN].includes(s.absoluteValues[a]) ? null : s.absoluteValues[a],
887
926
  color: s.color,
888
927
  type: s.type
889
928
  })),
890
- index: i,
891
- indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i]
929
+ index: a,
930
+ indexLabel: this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[a]
892
931
  }
893
932
  );
894
933
  },
895
934
  getData() {
896
- return this.absoluteDataset.map((i) => ({
897
- values: i.absoluteValues,
898
- color: i.color,
899
- name: i.name,
900
- type: i.type
935
+ return this.absoluteDataset.map((a) => ({
936
+ values: a.absoluteValues,
937
+ color: a.color,
938
+ name: a.name,
939
+ type: a.type
901
940
  }));
902
941
  },
903
- segregate(i) {
904
- if (this.segregatedSeries.includes(i.id))
905
- this.segregatedSeries = this.segregatedSeries.filter((s) => s !== i.id);
942
+ segregate(a) {
943
+ if (this.segregatedSeries.includes(a.id))
944
+ this.segregatedSeries = this.segregatedSeries.filter((s) => s !== a.id);
906
945
  else {
907
946
  if (this.segregatedSeries.length + 1 === this.safeDataset.length) return;
908
- this.segregatedSeries.push(i.id);
947
+ this.segregatedSeries.push(a.id);
909
948
  }
910
949
  this.$emit("selectLegend", this.relativeDataset.map((s) => ({
911
950
  name: s.name,
@@ -914,11 +953,11 @@ const Ye = J(), Xe = {
914
953
  type: s.type
915
954
  }))), this.segregateStep += 1;
916
955
  },
917
- toggleTooltipVisibility(i, s = null) {
918
- this.isTooltip = i, i ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
956
+ toggleTooltipVisibility(a, s = null) {
957
+ this.isTooltip = a, a ? this.selectedSerieIndex = s : this.selectedSerieIndex = null;
919
958
  },
920
- toggleFullscreen(i) {
921
- this.isFullscreen = i, this.step += 1;
959
+ toggleFullscreen(a) {
960
+ this.isFullscreen = a, this.step += 1;
922
961
  },
923
962
  showSpinnerPdf() {
924
963
  this.isPrinting = !0;
@@ -934,8 +973,8 @@ const Ye = J(), Xe = {
934
973
  }, 100);
935
974
  },
936
975
  generateCsv() {
937
- const i = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], o = this.table.body, f = i.concat([s]).concat(o), t = this.createCsvContent(f);
938
- this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
976
+ const a = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], c = this.table.body, f = a.concat([s]).concat(c), i = this.createCsvContent(f);
977
+ this.downloadCsv({ csvContent: i, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
939
978
  },
940
979
  showSpinnerImage() {
941
980
  this.isImaging = !0;
@@ -952,7 +991,7 @@ const Ye = J(), Xe = {
952
991
  }, 100);
953
992
  }
954
993
  }
955
- }, qe = ["id"], Ze = ["viewBox"], Ue = { key: 0 }, Je = { class: "vue-ui-xy-grid" }, Qe = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], je = { key: 1 }, $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = { key: 3 }, it = ["x1", "x2", "y1", "y2", "stroke"], lt = ["id"], rt = ["stop-color"], st = ["stop-color"], nt = ["stop-color"], ct = ["id"], ot = ["stop-color"], ht = ["stop-color"], dt = ["stop-color"], ut = ["id"], gt = ["stop-color"], ft = ["stop-color"], mt = ["id"], Nt = ["stop-color"], It = ["stop-color"], bt = ["id"], xt = ["stop-color"], _t = ["stop-color"], Ft = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "width"], At = ["x", "y", "height", "width", "fill"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ct = ["width", "x", "y"], St = { key: 0 }, kt = ["id"], wt = ["fill"], Ot = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vt = ["x", "y", "font-size", "fill"], Gt = ["stroke", "x1", "x2", "y1", "y2"], zt = { key: 2 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = ["y", "width", "height", "fill"], Pt = ["x", "y", "width", "height", "fill"], Tt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Zt = ["id"], Ut = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Qt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = { key: 0 }, ta = ["d", "fill"], aa = ["d", "fill"], ia = ["d", "stroke", "stroke-width", "stroke-dasharray"], la = { key: 2 }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sa = ["width", "x", "y"], na = { style: { width: "100%" } }, ca = { key: 3 }, oa = ["id"], ha = ["fill"], da = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], ga = { key: 5 }, fa = ["x", "y", "font-size", "fill"], ma = ["x", "y", "font-size", "fill", "font-weight"], Na = { key: 6 }, Ia = ["x", "y", "font-size", "fill"], ba = ["x", "y"], xa = ["x", "y"], _a = { key: 7 }, Fa = ["x", "y", "font-size", "fill"], ya = ["x", "y"], Aa = ["x", "y"], La = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], wa = ["x", "y", "width", "height", "fill", "onMouseenter"], Oa = ["font-size", "fill", "transform"], va = ["x", "y", "font-size", "fill"], Ga = { key: 9 }, za = ["text-anchor", "font-size", "fill", "transform"], Ma = ["x", "y", "height", "width", "onMouseenter", "onClick"], pa = { key: 10 }, Pa = ["x", "y"], Ta = ["cx", "cy", "r", "fill"], Va = {
994
+ }, qe = ["id"], Ze = ["viewBox"], Ue = { key: 0 }, Je = { class: "vue-ui-xy-grid" }, Qe = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], je = { key: 1 }, $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = ["x1", "x2", "y1", "y2", "stroke"], at = { key: 3 }, it = ["x1", "x2", "y1", "y2", "stroke"], lt = ["id"], rt = ["stop-color"], st = ["stop-color"], nt = ["stop-color"], ht = ["id"], ct = ["stop-color"], ot = ["stop-color"], dt = ["stop-color"], ut = ["id"], gt = ["stop-color"], ft = ["stop-color"], Nt = ["id"], mt = ["stop-color"], It = ["stop-color"], xt = ["id"], bt = ["stop-color"], Ft = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], yt = ["x", "y", "width"], At = ["x", "y", "height", "width", "fill"], Lt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ct = ["width", "x", "y"], St = { key: 0 }, kt = ["id"], wt = ["fill"], Ot = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], vt = ["x", "y", "font-size", "fill"], Gt = ["stroke", "x1", "x2", "y1", "y2"], pt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["y", "width", "height", "fill"], Pt = ["x", "y", "width", "height", "fill"], Tt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Bt = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Zt = ["id"], Ut = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Qt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ea = { key: 0 }, ta = ["d", "fill"], aa = ["d", "fill"], ia = ["d", "stroke", "stroke-width", "stroke-dasharray"], la = { key: 2 }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], sa = ["width", "x", "y"], na = { style: { width: "100%" } }, ha = { key: 3 }, ca = ["id"], oa = ["fill"], da = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ua = ["x", "y", "font-size", "fill"], ga = { key: 5 }, fa = ["x", "y", "font-size", "fill"], Na = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Ia = ["x", "y", "font-size", "fill"], xa = ["x", "y"], ba = ["x", "y"], Fa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], ya = ["x", "y"], Aa = ["x", "y"], La = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], wa = ["x", "y", "width", "height", "fill", "onMouseenter"], Oa = ["font-size", "fill", "transform"], va = ["x", "y", "font-size", "fill"], Ga = { key: 9 }, pa = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, Pa = ["x", "y"], Ta = ["cx", "cy", "r", "fill"], Va = {
956
995
  key: 3,
957
996
  class: "vue-data-ui-watermark"
958
997
  }, Ra = ["onClick"], Da = {
@@ -972,22 +1011,22 @@ const Ye = J(), Xe = {
972
1011
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
973
1012
  "data-html2canvas-ignore": ""
974
1013
  }, Xa = ["innerHTML"];
975
- function qa(i, s, o, f, t, e) {
976
- const I = T("Title"), w = T("UserOptions"), L = T("Shape"), N = T("Skeleton"), y = T("Slicer"), M = T("Tooltip"), S = T("BaseIcon"), G = T("TableSparkline"), v = T("DataTable"), x = T("Accordion");
1014
+ function qa(a, s, c, f, i, e) {
1015
+ const x = T("Title"), _ = T("UserOptions"), A = T("Shape"), m = T("Skeleton"), L = T("Slicer"), z = T("Tooltip"), k = T("BaseIcon"), G = T("TableSparkline"), v = T("DataTable"), b = T("Accordion");
977
1016
  return l(), r("div", {
978
- id: `vue-ui-xy_${t.uniqueId}`,
979
- class: p(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
1017
+ id: `vue-ui-xy_${i.uniqueId}`,
1018
+ class: M(`vue-ui-xy ${i.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
980
1019
  ref: "chart",
981
- style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
1020
+ style: C(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color};width:100%;${e.FINAL_CONFIG.chart.title.text ? "" : "padding-top:36px"};font-family:${e.FINAL_CONFIG.chart.fontFamily};${e.FINAL_CONFIG.responsive ? "height: 100%" : ""}`)
982
1021
  }, [
983
1022
  e.FINAL_CONFIG.chart.title.show ? (l(), r("div", {
984
1023
  key: 0,
985
1024
  ref: "chartTitle",
986
1025
  class: "vue-ui-xy-title",
987
- style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1026
+ style: C(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
988
1027
  }, [
989
- (l(), V(I, {
990
- key: `title_${t.titleStep}`,
1028
+ (l(), V(x, {
1029
+ key: `title_${i.titleStep}`,
991
1030
  config: {
992
1031
  title: {
993
1032
  cy: "xy-div-title",
@@ -999,27 +1038,27 @@ function qa(i, s, o, f, t, e) {
999
1038
  }
1000
1039
  }
1001
1040
  }, null, 8, ["config"]))
1002
- ], 4)) : h("", !0),
1003
- e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (l(), V(w, {
1041
+ ], 4)) : o("", !0),
1042
+ e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (l(), V(_, {
1004
1043
  ref: "defails",
1005
- key: `user_options_${t.step}`,
1044
+ key: `user_options_${i.step}`,
1006
1045
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
1007
1046
  color: e.FINAL_CONFIG.chart.color,
1008
- isPrinting: t.isPrinting,
1009
- isImaging: t.isImaging,
1010
- uid: t.uniqueId,
1047
+ isPrinting: i.isPrinting,
1048
+ isImaging: i.isImaging,
1049
+ uid: i.uniqueId,
1011
1050
  hasTooltip: e.FINAL_CONFIG.chart.userOptions.buttons.tooltip && e.FINAL_CONFIG.chart.tooltip.show,
1012
1051
  hasPdf: e.FINAL_CONFIG.chart.userOptions.buttons.pdf,
1013
1052
  hasXls: e.FINAL_CONFIG.chart.userOptions.buttons.csv,
1014
1053
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
1015
1054
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
1016
1055
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
1017
- hasStack: o.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1056
+ hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1018
1057
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
1019
- isStacked: t.mutableConfig.isStacked,
1020
- isFullscreen: t.isFullscreen,
1021
- chartElement: i.$refs.chart,
1022
- isTooltip: t.mutableConfig.showTooltip,
1058
+ isStacked: i.mutableConfig.isStacked,
1059
+ isFullscreen: i.isFullscreen,
1060
+ chartElement: a.$refs.chart,
1061
+ isTooltip: i.mutableConfig.showTooltip,
1023
1062
  titles: { ...e.FINAL_CONFIG.chart.userOptions.buttonTitles },
1024
1063
  onToggleFullscreen: e.toggleFullscreen,
1025
1064
  onGeneratePdf: e.generatePdf,
@@ -1030,70 +1069,70 @@ function qa(i, s, o, f, t, e) {
1030
1069
  onToggleStack: e.toggleStack,
1031
1070
  onToggleTooltip: e.toggleTooltip
1032
1071
  }, De({ _: 2 }, [
1033
- i.$slots.optionTooltip ? {
1072
+ a.$slots.optionTooltip ? {
1034
1073
  name: "optionTooltip",
1035
- fn: z(() => [
1036
- O(i.$slots, "optionTooltip", {}, void 0, !0)
1074
+ fn: p(() => [
1075
+ O(a.$slots, "optionTooltip", {}, void 0, !0)
1037
1076
  ]),
1038
1077
  key: "0"
1039
1078
  } : void 0,
1040
- i.$slots.optionPdf ? {
1079
+ a.$slots.optionPdf ? {
1041
1080
  name: "optionPdf",
1042
- fn: z(() => [
1043
- O(i.$slots, "optionPdf", {}, void 0, !0)
1081
+ fn: p(() => [
1082
+ O(a.$slots, "optionPdf", {}, void 0, !0)
1044
1083
  ]),
1045
1084
  key: "1"
1046
1085
  } : void 0,
1047
- i.$slots.optionCsv ? {
1086
+ a.$slots.optionCsv ? {
1048
1087
  name: "optionCsv",
1049
- fn: z(() => [
1050
- O(i.$slots, "optionCsv", {}, void 0, !0)
1088
+ fn: p(() => [
1089
+ O(a.$slots, "optionCsv", {}, void 0, !0)
1051
1090
  ]),
1052
1091
  key: "2"
1053
1092
  } : void 0,
1054
- i.$slots.optionImg ? {
1093
+ a.$slots.optionImg ? {
1055
1094
  name: "optionImg",
1056
- fn: z(() => [
1057
- O(i.$slots, "optionImg", {}, void 0, !0)
1095
+ fn: p(() => [
1096
+ O(a.$slots, "optionImg", {}, void 0, !0)
1058
1097
  ]),
1059
1098
  key: "3"
1060
1099
  } : void 0,
1061
- i.$slots.optionTable ? {
1100
+ a.$slots.optionTable ? {
1062
1101
  name: "optionTable",
1063
- fn: z(() => [
1064
- O(i.$slots, "optionTable", {}, void 0, !0)
1102
+ fn: p(() => [
1103
+ O(a.$slots, "optionTable", {}, void 0, !0)
1065
1104
  ]),
1066
1105
  key: "4"
1067
1106
  } : void 0,
1068
- i.$slots.optionLabels ? {
1107
+ a.$slots.optionLabels ? {
1069
1108
  name: "optionLabels",
1070
- fn: z(() => [
1071
- O(i.$slots, "optionLabels", {}, void 0, !0)
1109
+ fn: p(() => [
1110
+ O(a.$slots, "optionLabels", {}, void 0, !0)
1072
1111
  ]),
1073
1112
  key: "5"
1074
1113
  } : void 0,
1075
- i.$slots.optionStack ? {
1114
+ a.$slots.optionStack ? {
1076
1115
  name: "optionStack",
1077
- fn: z(() => [
1078
- O(i.$slots, "optionStack", {}, void 0, !0)
1116
+ fn: p(() => [
1117
+ O(a.$slots, "optionStack", {}, void 0, !0)
1079
1118
  ]),
1080
1119
  key: "6"
1081
1120
  } : void 0,
1082
- i.$slots.optionFullscreen ? {
1121
+ a.$slots.optionFullscreen ? {
1083
1122
  name: "optionFullscreen",
1084
- fn: z(({ toggleFullscreen: a, isFullscreen: c }) => [
1085
- O(i.$slots, "optionFullscreen", B(Y({ toggleFullscreen: a, isFullscreen: c })), void 0, !0)
1123
+ fn: p(({ toggleFullscreen: t, isFullscreen: h }) => [
1124
+ O(a.$slots, "optionFullscreen", B(Y({ toggleFullscreen: t, isFullscreen: h })), void 0, !0)
1086
1125
  ]),
1087
1126
  key: "7"
1088
1127
  } : void 0
1089
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : h("", !0),
1128
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasLabel", "hasTable", "hasStack", "hasFullscreen", "isStacked", "isFullscreen", "chartElement", "isTooltip", "titles", "onToggleFullscreen", "onGeneratePdf", "onGenerateCsv", "onGenerateImage", "onToggleTable", "onToggleLabels", "onToggleStack", "onToggleTooltip"])) : o("", !0),
1090
1129
  e.isDataset ? (l(), r("svg", {
1091
1130
  key: 2,
1092
1131
  xmlns: "http://www.w3.org/2000/svg",
1093
- class: p([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1132
+ class: M([{ "vue-data-ui-fullscreen--on": i.isFullscreen, "vue-data-ui-fulscreen--off": !i.isFullscreen }, "vue-ui-xy-svg"]),
1094
1133
  width: "100%",
1095
- viewBox: t.viewBox,
1096
- style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1134
+ viewBox: i.viewBox,
1135
+ style: C(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
1097
1136
  }, [
1098
1137
  e.maxSeries > 0 ? (l(), r("g", Ue, [
1099
1138
  u("g", Je, [
@@ -1106,26 +1145,26 @@ function qa(i, s, o, f, t, e) {
1106
1145
  y1: e.drawingArea.bottom,
1107
1146
  y2: e.drawingArea.bottom,
1108
1147
  "stroke-linecap": "round"
1109
- }, null, 8, Qe)) : h("", !0),
1110
- t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(m, { key: 2 }, b(e.allScales, (a) => (l(), r("g", null, [
1111
- a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(m, { key: 0 }, b(a.yLabels, (c) => (l(), r("line", {
1148
+ }, null, 8, Qe)) : o("", !0),
1149
+ i.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(N, { key: 2 }, I(e.allScales, (t) => (l(), r("g", null, [
1150
+ t.id === i.selectedScale && t.yLabels.length ? (l(!0), r(N, { key: 0 }, I(t.yLabels, (h) => (l(), r("line", {
1112
1151
  x1: e.drawingArea.left + e.xPadding,
1113
1152
  x2: e.drawingArea.right - e.xPadding,
1114
- y1: e.checkNaN(c.y),
1115
- y2: e.checkNaN(c.y),
1116
- stroke: a.color,
1153
+ y1: e.checkNaN(h.y),
1154
+ y2: e.checkNaN(h.y),
1155
+ stroke: t.color,
1117
1156
  "stroke-width": 0.5,
1118
1157
  "stroke-linecap": "round"
1119
- }, null, 8, et))), 256)) : a.yLabels.length ? (l(!0), r(m, { key: 1 }, b(a.yLabels, (c) => (l(), r("line", {
1158
+ }, null, 8, et))), 256)) : t.yLabels.length ? (l(!0), r(N, { key: 1 }, I(t.yLabels, (h) => (l(), r("line", {
1120
1159
  x1: e.drawingArea.left + e.xPadding,
1121
1160
  x2: e.drawingArea.right - e.xPadding,
1122
- y1: e.checkNaN(c.y),
1123
- y2: e.checkNaN(c.y),
1161
+ y1: e.checkNaN(h.y),
1162
+ y2: e.checkNaN(h.y),
1124
1163
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1125
1164
  "stroke-width": 0.5,
1126
1165
  "stroke-linecap": "round"
1127
- }, null, 8, tt))), 256)) : h("", !0)
1128
- ]))), 256)) : h("", !0) : (l(), r(m, { key: 1 }, [
1166
+ }, null, 8, tt))), 256)) : o("", !0)
1167
+ ]))), 256)) : o("", !0) : (l(), r(N, { key: 1 }, [
1129
1168
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (l(), r("line", {
1130
1169
  key: 0,
1131
1170
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1135,76 +1174,76 @@ function qa(i, s, o, f, t, e) {
1135
1174
  y1: e.drawingArea.top,
1136
1175
  y2: e.drawingArea.bottom,
1137
1176
  "stroke-linecap": "round"
1138
- }, null, 8, Ke)) : h("", !0),
1177
+ }, null, 8, Ke)) : o("", !0),
1139
1178
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), r("g", je, [
1140
- (l(!0), r(m, null, b(e.yLabels, (a) => (l(), r("line", {
1179
+ (l(!0), r(N, null, I(e.yLabels, (t) => (l(), r("line", {
1141
1180
  x1: e.drawingArea.left + e.xPadding,
1142
1181
  x2: e.drawingArea.right - e.xPadding,
1143
- y1: e.checkNaN(a.y),
1144
- y2: e.checkNaN(a.y),
1182
+ y1: e.checkNaN(t.y),
1183
+ y2: e.checkNaN(t.y),
1145
1184
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1146
1185
  "stroke-width": 0.5,
1147
1186
  "stroke-linecap": "round"
1148
1187
  }, null, 8, $e))), 256))
1149
- ])) : h("", !0)
1188
+ ])) : o("", !0)
1150
1189
  ], 64)),
1151
1190
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), r("g", at, [
1152
- (l(!0), r(m, null, b(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, c) => (l(), r("line", {
1153
- key: `grid_vertical_line_${c}`,
1154
- x1: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1155
- x2: e.drawingArea.width / e.maxSeries * c + e.drawingArea.left + e.xPadding,
1191
+ (l(!0), r(N, null, I(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (t, h) => (l(), r("line", {
1192
+ key: `grid_vertical_line_${h}`,
1193
+ x1: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1194
+ x2: e.drawingArea.width / e.maxSeries * h + e.drawingArea.left + e.xPadding,
1156
1195
  y1: e.drawingArea.top,
1157
1196
  y2: e.drawingArea.bottom,
1158
1197
  "stroke-width": "0.5",
1159
1198
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1160
1199
  }, null, 8, it))), 128))
1161
- ])) : h("", !0)
1200
+ ])) : o("", !0)
1162
1201
  ]),
1163
- (l(!0), r(m, null, b(e.barSet, (a, c) => (l(), r("defs", {
1164
- key: `def_rect_${c}`
1202
+ (l(!0), r(N, null, I(e.barSet, (t, h) => (l(), r("defs", {
1203
+ key: `def_rect_${h}`
1165
1204
  }, [
1166
1205
  u("linearGradient", {
1167
- id: `rectGradient_pos_${c}_${t.uniqueId}`,
1206
+ id: `rectGradient_pos_${h}_${i.uniqueId}`,
1168
1207
  x2: "0%",
1169
1208
  y2: "100%"
1170
1209
  }, [
1171
1210
  u("stop", {
1172
1211
  offset: "0%",
1173
- "stop-color": a.color
1212
+ "stop-color": t.color
1174
1213
  }, null, 8, rt),
1175
1214
  u("stop", {
1176
1215
  offset: "62%",
1177
- "stop-color": `${e.shiftHue(a.color, 0.02)}`
1216
+ "stop-color": `${e.shiftHue(t.color, 0.02)}`
1178
1217
  }, null, 8, st),
1179
1218
  u("stop", {
1180
1219
  offset: "100%",
1181
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1220
+ "stop-color": `${e.shiftHue(t.color, 0.05)}`
1182
1221
  }, null, 8, nt)
1183
1222
  ], 8, lt),
1184
1223
  u("linearGradient", {
1185
- id: `rectGradient_neg_${c}_${t.uniqueId}`,
1224
+ id: `rectGradient_neg_${h}_${i.uniqueId}`,
1186
1225
  x2: "0%",
1187
1226
  y2: "100%"
1188
1227
  }, [
1189
1228
  u("stop", {
1190
1229
  offset: "0%",
1191
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1192
- }, null, 8, ot),
1230
+ "stop-color": `${e.shiftHue(t.color, 0.05)}`
1231
+ }, null, 8, ct),
1193
1232
  u("stop", {
1194
1233
  offset: "38%",
1195
- "stop-color": `${e.shiftHue(a.color, 0.02)}`
1196
- }, null, 8, ht),
1234
+ "stop-color": `${e.shiftHue(t.color, 0.02)}`
1235
+ }, null, 8, ot),
1197
1236
  u("stop", {
1198
1237
  offset: "100%",
1199
- "stop-color": a.color
1238
+ "stop-color": t.color
1200
1239
  }, null, 8, dt)
1201
- ], 8, ct)
1240
+ ], 8, ht)
1202
1241
  ]))), 128)),
1203
- (l(!0), r(m, null, b(e.plotSet, (a, c) => (l(), r("defs", {
1204
- key: `def_plot_${c}`
1242
+ (l(!0), r(N, null, I(e.plotSet, (t, h) => (l(), r("defs", {
1243
+ key: `def_plot_${h}`
1205
1244
  }, [
1206
1245
  u("radialGradient", {
1207
- id: `plotGradient_${c}_${t.uniqueId}`,
1246
+ id: `plotGradient_${h}_${i.uniqueId}`,
1208
1247
  cx: "50%",
1209
1248
  cy: "50%",
1210
1249
  r: "50%",
@@ -1213,19 +1252,19 @@ function qa(i, s, o, f, t, e) {
1213
1252
  }, [
1214
1253
  u("stop", {
1215
1254
  offset: "0%",
1216
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1255
+ "stop-color": `${e.shiftHue(t.color, 0.05)}`
1217
1256
  }, null, 8, gt),
1218
1257
  u("stop", {
1219
1258
  offset: "100%",
1220
- "stop-color": a.color
1259
+ "stop-color": t.color
1221
1260
  }, null, 8, ft)
1222
1261
  ], 8, ut)
1223
1262
  ]))), 128)),
1224
- (l(!0), r(m, null, b(e.lineSet, (a, c) => (l(), r("defs", {
1225
- key: `def_line_${c}`
1263
+ (l(!0), r(N, null, I(e.lineSet, (t, h) => (l(), r("defs", {
1264
+ key: `def_line_${h}`
1226
1265
  }, [
1227
1266
  u("radialGradient", {
1228
- id: `lineGradient_${c}_${t.uniqueId}`,
1267
+ id: `lineGradient_${h}_${i.uniqueId}`,
1229
1268
  cx: "50%",
1230
1269
  cy: "50%",
1231
1270
  r: "50%",
@@ -1234,15 +1273,15 @@ function qa(i, s, o, f, t, e) {
1234
1273
  }, [
1235
1274
  u("stop", {
1236
1275
  offset: "0%",
1237
- "stop-color": `${e.shiftHue(a.color, 0.05)}`
1238
- }, null, 8, Nt),
1276
+ "stop-color": `${e.shiftHue(t.color, 0.05)}`
1277
+ }, null, 8, mt),
1239
1278
  u("stop", {
1240
1279
  offset: "100%",
1241
- "stop-color": a.color
1280
+ "stop-color": t.color
1242
1281
  }, null, 8, It)
1243
- ], 8, mt),
1282
+ ], 8, Nt),
1244
1283
  u("linearGradient", {
1245
- id: `areaGradient_${c}_${t.uniqueId}`,
1284
+ id: `areaGradient_${h}_${i.uniqueId}`,
1246
1285
  x1: "0%",
1247
1286
  x2: "100%",
1248
1287
  y1: "0%",
@@ -1250,87 +1289,87 @@ function qa(i, s, o, f, t, e) {
1250
1289
  }, [
1251
1290
  u("stop", {
1252
1291
  offset: "0%",
1253
- "stop-color": `${e.setOpacity(e.shiftHue(a.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1254
- }, null, 8, xt),
1292
+ "stop-color": `${e.setOpacity(e.shiftHue(t.color, 0.03), e.FINAL_CONFIG.line.area.opacity)}`
1293
+ }, null, 8, bt),
1255
1294
  u("stop", {
1256
1295
  offset: "100%",
1257
- "stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
1258
- }, null, 8, _t)
1259
- ], 8, bt)
1296
+ "stop-color": `${e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)}`
1297
+ }, null, 8, Ft)
1298
+ ], 8, xt)
1260
1299
  ]))), 128)),
1261
- (l(!0), r(m, null, b(e.highlightAreas, (a) => (l(), r("g", null, [
1262
- a.show ? (l(), r(m, { key: 0 }, [
1300
+ (l(!0), r(N, null, I(e.highlightAreas, (t) => (l(), r("g", null, [
1301
+ t.show ? (l(), r(N, { key: 0 }, [
1263
1302
  u("rect", {
1264
1303
  style: { transition: "none" },
1265
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start),
1304
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from - i.slicer.start),
1266
1305
  y: e.drawingArea.top,
1267
1306
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1268
- width: e.drawingArea.width / e.maxSeries * a.span < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * a.span,
1269
- fill: e.setOpacity(a.color, a.opacity)
1270
- }, null, 8, Ft),
1271
- a.caption.text ? (l(), r("foreignObject", {
1307
+ width: e.drawingArea.width / e.maxSeries * t.span < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries * t.span,
1308
+ fill: e.setOpacity(t.color, t.opacity)
1309
+ }, null, 8, _t),
1310
+ t.caption.text ? (l(), r("foreignObject", {
1272
1311
  key: 0,
1273
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (a.from - t.slicer.start) - (a.caption.width === "auto" ? 0 : a.caption.width / 2 - e.drawingArea.width / e.maxSeries * a.span / 2),
1274
- y: e.drawingArea.top + a.caption.offsetY,
1312
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.from - i.slicer.start) - (t.caption.width === "auto" ? 0 : t.caption.width / 2 - e.drawingArea.width / e.maxSeries * t.span / 2),
1313
+ y: e.drawingArea.top + t.caption.offsetY,
1275
1314
  style: { overflow: "visible" },
1276
1315
  height: "1",
1277
- width: a.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * a.span : a.caption.width
1316
+ width: t.caption.width === "auto" ? e.drawingArea.width / e.maxSeries * t.span : t.caption.width
1278
1317
  }, [
1279
1318
  u("div", {
1280
- style: A(`padding:${a.caption.padding}px;text-align:${a.caption.textAlign};font-size:${a.caption.fontSize}px;color:${a.caption.color};font-weight:${a.caption.bold ? "bold" : "normal"}`)
1281
- }, C(a.caption.text), 5)
1282
- ], 8, yt)) : h("", !0)
1283
- ], 64)) : h("", !0)
1319
+ style: C(`padding:${t.caption.padding}px;text-align:${t.caption.textAlign};font-size:${t.caption.fontSize}px;color:${t.caption.color};font-weight:${t.caption.bold ? "bold" : "normal"}`)
1320
+ }, S(t.caption.text), 5)
1321
+ ], 8, yt)) : o("", !0)
1322
+ ], 64)) : o("", !0)
1284
1323
  ]))), 256)),
1285
1324
  u("g", null, [
1286
- (l(!0), r(m, null, b(e.maxSeries, (a, c) => (l(), r("g", {
1287
- key: `tooltip_trap_${c}`
1325
+ (l(!0), r(N, null, I(e.maxSeries, (t, h) => (l(), r("g", {
1326
+ key: `tooltip_trap_${h}`
1288
1327
  }, [
1289
1328
  u("rect", {
1290
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
1329
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
1291
1330
  y: e.drawingArea.top,
1292
1331
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1293
1332
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
1294
- fill: [t.selectedMinimapIndex, t.selectedSerieIndex, t.selectedRowIndex].includes(c) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1333
+ fill: [i.selectedMinimapIndex, i.selectedSerieIndex, i.selectedRowIndex].includes(h) ? e.setOpacity(e.FINAL_CONFIG.chart.highlighter.color, e.FINAL_CONFIG.chart.highlighter.opacity) : "transparent"
1295
1334
  }, null, 8, At)
1296
1335
  ]))), 128))
1297
1336
  ]),
1298
- e.barSet.length ? (l(!0), r(m, { key: 0 }, b(e.barSet, (a, c) => (l(), r("g", {
1299
- key: `serie_bar_${c}`,
1300
- class: p(`serie_bar_${c}`),
1301
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1337
+ e.barSet.length ? (l(!0), r(N, { key: 0 }, I(e.barSet, (t, h) => (l(), r("g", {
1338
+ key: `serie_bar_${h}`,
1339
+ class: M(`serie_bar_${h}`),
1340
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1302
1341
  }, [
1303
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1304
- key: `bar_plot_${c}_${g}`
1342
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1343
+ key: `bar_plot_${h}_${g}`
1305
1344
  }, [
1306
1345
  e.canShowValue(n.value) ? (l(), r("rect", {
1307
1346
  key: 0,
1308
1347
  x: e.calcRectX(n),
1309
- y: t.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1310
- height: t.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1311
- 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),
1348
+ y: i.mutableConfig.useIndividualScale ? e.calcIndividualRectY(n) : e.calcRectY(n),
1349
+ height: i.mutableConfig.useIndividualScale ? Math.abs(e.calcIndividualHeight(n)) : Math.abs(e.calcRectHeight(n)),
1350
+ width: e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap),
1312
1351
  rx: e.FINAL_CONFIG.bar.borderRadius,
1313
- fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${c}_${t.uniqueId})` : `url(#rectGradient_neg_${c}_${t.uniqueId})` : a.color,
1314
- stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1352
+ fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${h}_${i.uniqueId})` : `url(#rectGradient_neg_${h}_${i.uniqueId})` : t.color,
1353
+ stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? t.color : e.FINAL_CONFIG.bar.border.stroke,
1315
1354
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1316
- }, null, 8, Lt)) : h("", !0),
1355
+ }, null, 8, Lt)) : o("", !0),
1317
1356
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1318
1357
  key: 1,
1319
1358
  style: { overflow: "visible" },
1320
1359
  height: "12",
1321
- width: (e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1360
+ width: (e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) < 0 ? 1e-5 : e.calcRectWidth() - (i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? 0 : e.barPeriodGap) / 2) + e.FINAL_CONFIG.chart.comments.width,
1322
1361
  x: e.calcRectX(n) - e.FINAL_CONFIG.chart.comments.width / 2 + e.FINAL_CONFIG.chart.comments.offsetX,
1323
1362
  y: e.checkNaN(n.y) + e.FINAL_CONFIG.chart.comments.offsetY + 6
1324
1363
  }, [
1325
- O(i.$slots, "plot-comment", {
1326
- plot: { ...n, color: a.color }
1364
+ O(a.$slots, "plot-comment", {
1365
+ plot: { ...n, color: t.color }
1327
1366
  }, void 0, !0)
1328
- ], 8, Ct)) : h("", !0)
1367
+ ], 8, Ct)) : o("", !0)
1329
1368
  ]))), 128)),
1330
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", St, [
1369
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (l(), r("g", St, [
1331
1370
  u("defs", null, [
1332
1371
  u("marker", {
1333
- id: `bar_arrow_${c}`,
1372
+ id: `bar_arrow_${h}`,
1334
1373
  markerWidth: 7,
1335
1374
  markerHeight: 7,
1336
1375
  refX: "0",
@@ -1339,36 +1378,36 @@ function qa(i, s, o, f, t, e) {
1339
1378
  }, [
1340
1379
  u("polygon", {
1341
1380
  points: `0 0, 7 ${7 / 2}, 0 7`,
1342
- fill: a.color
1381
+ fill: t.color
1343
1382
  }, null, 8, wt)
1344
1383
  ], 8, kt)
1345
1384
  ]),
1346
- a.plots.length > 1 ? (l(), r("line", {
1385
+ t.plots.length > 1 ? (l(), r("line", {
1347
1386
  key: 0,
1348
- x1: e.calcLinearProgression(a.plots).x1,
1349
- x2: e.calcLinearProgression(a.plots).x2,
1350
- y1: e.calcLinearProgression(a.plots).y1,
1351
- y2: e.calcLinearProgression(a.plots).y2,
1387
+ x1: e.calcLinearProgression(t.plots).x1,
1388
+ x2: e.calcLinearProgression(t.plots).x2,
1389
+ y1: e.calcLinearProgression(t.plots).y1,
1390
+ y2: e.calcLinearProgression(t.plots).y2,
1352
1391
  "stroke-width": 1,
1353
- stroke: a.color,
1392
+ stroke: t.color,
1354
1393
  "stroke-dasharray": 2,
1355
- "marker-end": `url(#bar_arrow_${c})`
1356
- }, null, 8, Ot)) : h("", !0),
1357
- a.plots.length > 1 ? (l(), r("text", {
1394
+ "marker-end": `url(#bar_arrow_${h})`
1395
+ }, null, 8, Ot)) : o("", !0),
1396
+ t.plots.length > 1 ? (l(), r("text", {
1358
1397
  key: 1,
1359
1398
  "text-anchor": "middle",
1360
- x: e.calcLinearProgression(a.plots).x2,
1361
- y: e.calcLinearProgression(a.plots).y2 - 6,
1362
- "font-size": t.fontSizes.plotLabels,
1363
- fill: a.color
1364
- }, C(e.dataLabel({
1365
- v: e.calcLinearProgression(a.plots).trend * 100,
1399
+ x: e.calcLinearProgression(t.plots).x2,
1400
+ y: e.calcLinearProgression(t.plots).y2 - 6,
1401
+ "font-size": i.fontSizes.plotLabels,
1402
+ fill: t.color
1403
+ }, S(e.dataLabel({
1404
+ v: e.calcLinearProgression(t.plots).trend * 100,
1366
1405
  s: "%",
1367
1406
  r: 2
1368
- })), 9, vt)) : h("", !0)
1369
- ])) : h("", !0)
1370
- ], 6))), 128)) : h("", !0),
1371
- !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), r("line", {
1407
+ })), 9, vt)) : o("", !0)
1408
+ ])) : o("", !0)
1409
+ ], 6))), 128)) : o("", !0),
1410
+ !i.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), r("line", {
1372
1411
  key: 1,
1373
1412
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1374
1413
  "stroke-width": "1",
@@ -1377,11 +1416,11 @@ function qa(i, s, o, f, t, e) {
1377
1416
  y1: e.checkNaN(e.zero),
1378
1417
  y2: e.checkNaN(e.zero),
1379
1418
  "stroke-linecap": "round"
1380
- }, null, 8, Gt)) : h("", !0),
1381
- e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || t.selectedMinimapIndex !== null) ? (l(), r("g", zt, [
1419
+ }, null, 8, Gt)) : o("", !0),
1420
+ e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(i.selectedSerieIndex) || i.selectedMinimapIndex !== null) ? (l(), r("g", pt, [
1382
1421
  u("line", {
1383
- x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.selectedSerieIndex || t.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1384
- x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.selectedSerieIndex || t.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1422
+ x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1423
+ x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (i.selectedSerieIndex || i.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
1385
1424
  y1: e.drawingArea.top,
1386
1425
  y2: e.drawingArea.bottom,
1387
1426
  stroke: e.FINAL_CONFIG.chart.highlighter.color,
@@ -1389,8 +1428,8 @@ function qa(i, s, o, f, t, e) {
1389
1428
  "stroke-dasharray": e.FINAL_CONFIG.chart.highlighter.lineDasharray,
1390
1429
  "stroke-linecap": "round",
1391
1430
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1392
- }, null, 8, Mt)
1393
- ])) : h("", !0),
1431
+ }, null, 8, zt)
1432
+ ])) : o("", !0),
1394
1433
  u("g", null, [
1395
1434
  u("rect", {
1396
1435
  style: { transition: "none" },
@@ -1399,7 +1438,7 @@ function qa(i, s, o, f, t, e) {
1399
1438
  width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
1400
1439
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1401
1440
  fill: e.FINAL_CONFIG.chart.backgroundColor
1402
- }, null, 8, pt),
1441
+ }, null, 8, Mt),
1403
1442
  u("rect", {
1404
1443
  style: { transition: "none" },
1405
1444
  x: e.drawingArea.right + 1 - e.xPadding,
@@ -1422,105 +1461,106 @@ function qa(i, s, o, f, t, e) {
1422
1461
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1423
1462
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1424
1463
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1425
- }, null, 8, Tt)) : h("", !0),
1464
+ }, null, 8, Tt)) : o("", !0),
1426
1465
  e.FINAL_CONFIG.chart.grid.labels.show ? (l(), r("g", Vt, [
1427
- t.mutableConfig.useIndividualScale ? (l(), r(m, { key: 0 }, [
1428
- (l(!0), r(m, null, b(e.allScales, (a) => (l(), r("g", null, [
1466
+ i.mutableConfig.useIndividualScale ? (l(), r(N, { key: 0 }, [
1467
+ (l(!0), r(N, null, I(e.allScales, (t) => (l(), r("g", null, [
1429
1468
  u("line", {
1430
- x1: a.x + e.xPadding,
1431
- x2: a.x + e.xPadding,
1432
- y1: t.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset - a.individualHeight) : e.checkNaN(e.drawingArea.top),
1433
- y2: t.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - a.yOffset) : e.checkNaN(e.drawingArea.bottom),
1434
- stroke: a.color,
1469
+ x1: t.x + e.xPadding,
1470
+ x2: t.x + e.xPadding,
1471
+ y1: i.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - t.yOffset - t.individualHeight) : e.checkNaN(e.drawingArea.top),
1472
+ y2: i.mutableConfig.isStacked ? e.checkNaN(e.drawingArea.bottom - t.yOffset) : e.checkNaN(e.drawingArea.bottom),
1473
+ stroke: t.color,
1435
1474
  "stroke-width": e.FINAL_CONFIG.chart.grid.stroke,
1436
1475
  "stroke-linecap": "round",
1437
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1476
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1438
1477
  }, null, 12, Rt)
1439
1478
  ]))), 256)),
1440
- (l(!0), r(m, null, b(e.allScales, (a) => (l(), r("g", {
1441
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1479
+ (l(!0), r(N, null, I(e.allScales, (t) => (l(), r("g", {
1480
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
1442
1481
  }, [
1443
1482
  u("text", {
1444
- fill: a.color,
1445
- "font-size": t.fontSizes.dataLabels,
1483
+ fill: t.color,
1484
+ "font-size": i.fontSizes.dataLabels,
1446
1485
  "text-anchor": "middle",
1447
- transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1448
- }, C(a.name) + " " + C(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Dt),
1449
- (l(!0), r(m, null, b(a.yLabels, (c, n) => (l(), r("line", {
1450
- x1: a.x - 3 + e.xPadding,
1451
- x2: a.x + e.xPadding,
1452
- y1: e.checkNaN(c.y),
1453
- y2: e.checkNaN(c.y),
1454
- stroke: a.color,
1486
+ transform: `translate(${t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset - t.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
1487
+ }, S(t.name) + " " + S(t.scaleLabel ? `- ${t.scaleLabel}` : ""), 9, Dt),
1488
+ (l(!0), r(N, null, I(t.yLabels, (h, n) => (l(), r("line", {
1489
+ x1: t.x - 3 + e.xPadding,
1490
+ x2: t.x + e.xPadding,
1491
+ y1: e.checkNaN(h.y),
1492
+ y2: e.checkNaN(h.y),
1493
+ stroke: t.color,
1455
1494
  "stroke-width": 1,
1456
1495
  "stroke-linecap": "round"
1457
1496
  }, null, 8, Ht))), 256)),
1458
- (l(!0), r(m, null, b(a.yLabels, (c, n) => (l(), r("text", {
1459
- x: a.x - 5 + e.xPadding,
1460
- y: e.checkNaN(c.y) + t.fontSizes.dataLabels / 3,
1461
- "font-size": t.fontSizes.dataLabels,
1497
+ (l(!0), r(N, null, I(t.yLabels, (h, n) => (l(), r("text", {
1498
+ x: t.x - 5 + e.xPadding,
1499
+ y: e.checkNaN(h.y) + i.fontSizes.dataLabels / 3,
1500
+ "font-size": i.fontSizes.dataLabels,
1462
1501
  "text-anchor": "end",
1463
- fill: a.color
1464
- }, C(e.applyDataLabel(
1502
+ fill: t.color
1503
+ }, S(e.applyDataLabel(
1465
1504
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1466
- c.value,
1505
+ h.value,
1467
1506
  e.dataLabel({
1468
- p: e.FINAL_CONFIG.chart.labels.prefix,
1469
- v: c.value,
1470
- s: e.FINAL_CONFIG.chart.labels.suffix,
1507
+ p: h.prefix,
1508
+ v: h.value,
1509
+ s: h.suffix,
1471
1510
  r: 1
1472
- })
1511
+ }),
1512
+ { datapoint: h.datapoint, seriesIndex: n }
1473
1513
  )), 9, Wt))), 256))
1474
1514
  ], 4))), 256))
1475
- ], 64)) : (l(!0), r(m, { key: 1 }, b(e.yLabels, (a, c) => (l(), r("g", {
1476
- key: `yLabel_${c}`
1515
+ ], 64)) : (l(!0), r(N, { key: 1 }, I(e.yLabels, (t, h) => (l(), r("g", {
1516
+ key: `yLabel_${h}`
1477
1517
  }, [
1478
- e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("line", {
1518
+ e.canShowValue(t) && t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (l(), r("line", {
1479
1519
  key: 0,
1480
1520
  x1: e.drawingArea.left + e.xPadding,
1481
1521
  x2: e.drawingArea.left - 5 + e.xPadding,
1482
- y1: e.checkNaN(a.y),
1483
- y2: e.checkNaN(a.y),
1522
+ y1: e.checkNaN(t.y),
1523
+ y2: e.checkNaN(t.y),
1484
1524
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1485
1525
  "stroke-width": "1",
1486
1526
  "stroke-linecap": "round"
1487
- }, null, 8, Et)) : h("", !0),
1488
- a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("text", {
1527
+ }, null, 8, Et)) : o("", !0),
1528
+ t.value >= e.niceScale.min && t.value <= e.niceScale.max ? (l(), r("text", {
1489
1529
  key: 1,
1490
1530
  x: e.drawingArea.left - 7 + e.xPadding,
1491
- y: e.checkNaN(a.y + t.fontSizes.dataLabels / 3),
1492
- "font-size": t.fontSizes.dataLabels,
1531
+ y: e.checkNaN(t.y + i.fontSizes.dataLabels / 3),
1532
+ "font-size": i.fontSizes.dataLabels,
1493
1533
  "text-anchor": "end",
1494
1534
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1495
- }, C(e.canShowValue(a.value) ? e.applyDataLabel(
1535
+ }, S(e.canShowValue(t.value) ? e.applyDataLabel(
1496
1536
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1497
- a.value,
1537
+ t.value,
1498
1538
  e.dataLabel({
1499
- p: e.FINAL_CONFIG.chart.labels.prefix,
1500
- v: a.value,
1501
- s: e.FINAL_CONFIG.chart.labels.suffix,
1539
+ p: t.prefix,
1540
+ v: t.value,
1541
+ s: t.suffix,
1502
1542
  r: 1
1503
1543
  })
1504
- ) : ""), 9, Bt)) : h("", !0)
1544
+ ) : ""), 9, Bt)) : o("", !0)
1505
1545
  ]))), 128))
1506
- ])) : h("", !0),
1507
- (l(!0), r(m, null, b(e.plotSet, (a, c) => (l(), r("g", {
1508
- key: `serie_plot_${c}`,
1509
- class: p(`serie_plot_${c}`),
1510
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1546
+ ])) : o("", !0),
1547
+ (l(!0), r(N, null, I(e.plotSet, (t, h) => (l(), r("g", {
1548
+ key: `serie_plot_${h}`,
1549
+ class: M(`serie_plot_${h}`),
1550
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1511
1551
  }, [
1512
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1513
- key: `circle_plot_${c}_${g}`
1552
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1553
+ key: `circle_plot_${h}_${g}`
1514
1554
  }, [
1515
- e.canShowValue(n.value) ? (l(), V(L, {
1555
+ e.canShowValue(n.value) ? (l(), V(A, {
1516
1556
  key: 0,
1517
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1518
- color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${c}_${t.uniqueId})` : a.color,
1557
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
1558
+ color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${h}_${i.uniqueId})` : t.color,
1519
1559
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1520
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1560
+ radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === g || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === g ? (i.plotRadii.plot || 6) * 1.5 : i.plotRadii.plot || 6,
1521
1561
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1522
1562
  strokeWidth: 0.5
1523
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1563
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
1524
1564
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1525
1565
  key: 1,
1526
1566
  style: { overflow: "visible" },
@@ -1530,16 +1570,16 @@ function qa(i, s, o, f, t, e) {
1530
1570
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1531
1571
  }, [
1532
1572
  u("div", Xt, [
1533
- O(i.$slots, "plot-comment", {
1534
- plot: { ...n, color: a.color }
1573
+ O(a.$slots, "plot-comment", {
1574
+ plot: { ...n, color: t.color }
1535
1575
  }, void 0, !0)
1536
1576
  ])
1537
- ], 8, Yt)) : h("", !0)
1577
+ ], 8, Yt)) : o("", !0)
1538
1578
  ]))), 128)),
1539
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", qt, [
1579
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (l(), r("g", qt, [
1540
1580
  u("defs", null, [
1541
1581
  u("marker", {
1542
- id: `plot_arrow_${c}`,
1582
+ id: `plot_arrow_${h}`,
1543
1583
  markerWidth: 7,
1544
1584
  markerHeight: 7,
1545
1585
  refX: "0",
@@ -1548,119 +1588,119 @@ function qa(i, s, o, f, t, e) {
1548
1588
  }, [
1549
1589
  u("polygon", {
1550
1590
  points: `0 0, 7 ${7 / 2}, 0 7`,
1551
- fill: a.color
1591
+ fill: t.color
1552
1592
  }, null, 8, Ut)
1553
1593
  ], 8, Zt)
1554
1594
  ]),
1555
- a.plots.length > 1 ? (l(), r("line", {
1595
+ t.plots.length > 1 ? (l(), r("line", {
1556
1596
  key: 0,
1557
- x1: e.calcLinearProgression(a.plots).x1,
1558
- x2: e.calcLinearProgression(a.plots).x2,
1559
- y1: e.calcLinearProgression(a.plots).y1,
1560
- y2: e.calcLinearProgression(a.plots).y2,
1597
+ x1: e.calcLinearProgression(t.plots).x1,
1598
+ x2: e.calcLinearProgression(t.plots).x2,
1599
+ y1: e.calcLinearProgression(t.plots).y1,
1600
+ y2: e.calcLinearProgression(t.plots).y2,
1561
1601
  "stroke-width": 1,
1562
- stroke: a.color,
1602
+ stroke: t.color,
1563
1603
  "stroke-dasharray": 2,
1564
- "marker-end": `url(#plot_arrow_${c})`
1565
- }, null, 8, Jt)) : h("", !0),
1566
- a.plots.length > 1 ? (l(), r("text", {
1604
+ "marker-end": `url(#plot_arrow_${h})`
1605
+ }, null, 8, Jt)) : o("", !0),
1606
+ t.plots.length > 1 ? (l(), r("text", {
1567
1607
  key: 1,
1568
1608
  "text-anchor": "middle",
1569
- x: e.calcLinearProgression(a.plots).x2,
1570
- y: e.calcLinearProgression(a.plots).y2 - 6,
1571
- "font-size": t.fontSizes.plotLabels,
1572
- fill: a.color
1573
- }, C(e.dataLabel({
1574
- v: e.calcLinearProgression(a.plots).trend * 100,
1609
+ x: e.calcLinearProgression(t.plots).x2,
1610
+ y: e.calcLinearProgression(t.plots).y2 - 6,
1611
+ "font-size": i.fontSizes.plotLabels,
1612
+ fill: t.color
1613
+ }, S(e.dataLabel({
1614
+ v: e.calcLinearProgression(t.plots).trend * 100,
1575
1615
  s: "%",
1576
1616
  r: 2
1577
- })), 9, Qt)) : h("", !0)
1578
- ])) : h("", !0)
1617
+ })), 9, Qt)) : o("", !0)
1618
+ ])) : o("", !0)
1579
1619
  ], 6))), 128)),
1580
- (l(!0), r(m, null, b(e.lineSet, (a, c) => (l(), r("g", {
1581
- key: `serie_line_${c}`,
1582
- class: p(`serie_line_${c}`),
1583
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1620
+ (l(!0), r(N, null, I(e.lineSet, (t, h) => (l(), r("g", {
1621
+ key: `serie_line_${h}`,
1622
+ class: M(`serie_line_${h}`),
1623
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1584
1624
  }, [
1585
- a.smooth && a.plots.length > 1 ? (l(), r("path", {
1625
+ t.smooth && t.plots.length > 1 ? (l(), r("path", {
1586
1626
  key: 0,
1587
- d: `M${a.curve}`,
1627
+ d: `M${t.curve}`,
1588
1628
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1589
1629
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1590
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1630
+ "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1591
1631
  fill: "none"
1592
- }, null, 8, Kt)) : a.plots.length > 1 ? (l(), r("g", jt, [
1593
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1594
- key: `line_${c}_${g}`
1632
+ }, null, 8, Kt)) : t.plots.length > 1 ? (l(), r("g", jt, [
1633
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1634
+ key: `line_${h}_${g}`
1595
1635
  }, [
1596
- n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
1636
+ n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (l(), r("line", {
1597
1637
  key: 0,
1598
1638
  x1: n.x,
1599
- x2: a.plots[g + 1].x,
1639
+ x2: t.plots[g + 1].x,
1600
1640
  y1: n.y,
1601
- y2: a.plots[g + 1].y,
1641
+ y2: t.plots[g + 1].y,
1602
1642
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1603
1643
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth + 1,
1604
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1644
+ "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1605
1645
  "stroke-linejoin": "round",
1606
1646
  "stroke-linecap": "round"
1607
- }, null, 8, $t)) : h("", !0)
1647
+ }, null, 8, $t)) : o("", !0)
1608
1648
  ]))), 128))
1609
- ])) : h("", !0)
1649
+ ])) : o("", !0)
1610
1650
  ], 6))), 128)),
1611
- (l(!0), r(m, null, b(e.lineSet, (a, c) => (l(), r("g", {
1612
- key: `serie_line_${c}`,
1613
- class: p(`serie_line_${c}`),
1614
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1651
+ (l(!0), r(N, null, I(e.lineSet, (t, h) => (l(), r("g", {
1652
+ key: `serie_line_${h}`,
1653
+ class: M(`serie_line_${h}`),
1654
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1615
1655
  }, [
1616
- a.useArea && a.plots.length > 1 ? (l(), r("g", ea, [
1617
- a.smooth ? (l(), r("path", {
1656
+ t.useArea && t.plots.length > 1 ? (l(), r("g", ea, [
1657
+ t.smooth ? (l(), r("path", {
1618
1658
  key: 0,
1619
- d: `M ${a.plots[0] ? a.plots[0].x : Math.min(...a.plots.filter((n) => !!n).map((n) => n.x))},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} ${a.curve} L ${a.plots.at(-1) ? a.plots.at(-1).x : e.drawingArea.left + e.slot.line * c + e.slot.line / 2},${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset : e.drawingArea.bottom} Z`,
1620
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1659
+ d: `M ${t.plots[0] ? t.plots[0].x : Math.min(...t.plots.filter((n) => !!n).map((n) => n.x))},${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset : e.drawingArea.bottom} ${t.curve} L ${t.plots.at(-1) ? t.plots.at(-1).x : e.drawingArea.left + e.slot.line * h + e.slot.line / 2},${i.mutableConfig.isStacked ? e.drawingArea.bottom - t.yOffset : e.drawingArea.bottom} Z`,
1660
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
1621
1661
  }, null, 8, ta)) : (l(), r("path", {
1622
1662
  key: 1,
1623
- d: `M${a.area}Z`,
1624
- fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${c}_${t.uniqueId})` : e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)
1663
+ d: `M${t.area}Z`,
1664
+ fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${h}_${i.uniqueId})` : e.setOpacity(t.color, e.FINAL_CONFIG.line.area.opacity)
1625
1665
  }, null, 8, aa))
1626
- ])) : h("", !0),
1627
- a.smooth && a.plots.length > 1 ? (l(), r("path", {
1666
+ ])) : o("", !0),
1667
+ t.smooth && t.plots.length > 1 ? (l(), r("path", {
1628
1668
  key: 1,
1629
- d: `M${a.curve}`,
1630
- stroke: a.color,
1669
+ d: `M${t.curve}`,
1670
+ stroke: t.color,
1631
1671
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1632
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1672
+ "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1633
1673
  fill: "none"
1634
- }, null, 8, ia)) : a.plots.length > 1 ? (l(), r("g", la, [
1635
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1636
- key: `line_${c}_${g}`
1674
+ }, null, 8, ia)) : t.plots.length > 1 ? (l(), r("g", la, [
1675
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1676
+ key: `line_${h}_${g}`
1637
1677
  }, [
1638
- n && g < a.plots.length - 1 && a.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[g + 1].value) ? (l(), r("line", {
1678
+ n && g < t.plots.length - 1 && t.plots[g + 1] && e.canShowValue(n.value) && e.canShowValue(t.plots[g + 1].value) ? (l(), r("line", {
1639
1679
  key: 0,
1640
1680
  x1: n.x,
1641
- x2: a.plots[g + 1].x,
1681
+ x2: t.plots[g + 1].x,
1642
1682
  y1: n.y,
1643
- y2: a.plots[g + 1].y,
1644
- stroke: a.color,
1683
+ y2: t.plots[g + 1].y,
1684
+ stroke: t.color,
1645
1685
  "stroke-width": e.FINAL_CONFIG.line.strokeWidth,
1646
- "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1686
+ "stroke-dasharray": t.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1647
1687
  "stroke-linejoin": "round",
1648
1688
  "stroke-linecap": "round"
1649
- }, null, 8, ra)) : h("", !0)
1689
+ }, null, 8, ra)) : o("", !0)
1650
1690
  ]))), 128))
1651
- ])) : h("", !0),
1652
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1653
- key: `circle_line_${c}_${g}`
1691
+ ])) : o("", !0),
1692
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1693
+ key: `circle_line_${h}_${g}`
1654
1694
  }, [
1655
- n && e.canShowValue(n.value) ? (l(), V(L, {
1695
+ n && e.canShowValue(n.value) ? (l(), V(A, {
1656
1696
  key: 0,
1657
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
1658
- color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${c}_${t.uniqueId})` : a.color,
1697
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
1698
+ color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${h}_${i.uniqueId})` : t.color,
1659
1699
  plot: { x: e.checkNaN(n.x), y: e.checkNaN(n.y) },
1660
- radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1700
+ radius: i.selectedSerieIndex !== null && i.selectedSerieIndex === g || i.selectedMinimapIndex !== null && i.selectedMinimapIndex === g ? (i.plotRadii.line || 6) * 1.5 : i.plotRadii.line || 6,
1661
1701
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1662
1702
  strokeWidth: 0.5
1663
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1703
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : o("", !0),
1664
1704
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1665
1705
  key: 1,
1666
1706
  style: { overflow: "visible" },
@@ -1670,16 +1710,16 @@ function qa(i, s, o, f, t, e) {
1670
1710
  y: n.y + e.FINAL_CONFIG.chart.comments.offsetY + 6
1671
1711
  }, [
1672
1712
  u("div", na, [
1673
- O(i.$slots, "plot-comment", {
1674
- plot: { ...n, color: a.color }
1713
+ O(a.$slots, "plot-comment", {
1714
+ plot: { ...n, color: t.color }
1675
1715
  }, void 0, !0)
1676
1716
  ])
1677
- ], 8, sa)) : h("", !0)
1717
+ ], 8, sa)) : o("", !0)
1678
1718
  ]))), 128)),
1679
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", ca, [
1719
+ Object.hasOwn(t, "useProgression") && t.useProgression === !0 && !isNaN(e.calcLinearProgression(t.plots).trend) ? (l(), r("g", ha, [
1680
1720
  u("defs", null, [
1681
1721
  u("marker", {
1682
- id: `line_arrow_${c}`,
1722
+ id: `line_arrow_${h}`,
1683
1723
  markerWidth: 7,
1684
1724
  markerHeight: 7,
1685
1725
  refX: "0",
@@ -1688,108 +1728,108 @@ function qa(i, s, o, f, t, e) {
1688
1728
  }, [
1689
1729
  u("polygon", {
1690
1730
  points: `0 0, 7 ${7 / 2}, 0 7`,
1691
- fill: a.color
1692
- }, null, 8, ha)
1693
- ], 8, oa)
1731
+ fill: t.color
1732
+ }, null, 8, oa)
1733
+ ], 8, ca)
1694
1734
  ]),
1695
- a.plots.length > 1 ? (l(), r("line", {
1735
+ t.plots.length > 1 ? (l(), r("line", {
1696
1736
  key: 0,
1697
- x1: e.calcLinearProgression(a.plots).x1,
1698
- x2: e.calcLinearProgression(a.plots).x2,
1699
- y1: e.calcLinearProgression(a.plots).y1,
1700
- y2: e.calcLinearProgression(a.plots).y2,
1737
+ x1: e.calcLinearProgression(t.plots).x1,
1738
+ x2: e.calcLinearProgression(t.plots).x2,
1739
+ y1: e.calcLinearProgression(t.plots).y1,
1740
+ y2: e.calcLinearProgression(t.plots).y2,
1701
1741
  "stroke-width": 1,
1702
- stroke: a.color,
1742
+ stroke: t.color,
1703
1743
  "stroke-dasharray": 2,
1704
- "marker-end": `url(#line_arrow_${c})`
1705
- }, null, 8, da)) : h("", !0),
1706
- a.plots.length > 1 ? (l(), r("text", {
1744
+ "marker-end": `url(#line_arrow_${h})`
1745
+ }, null, 8, da)) : o("", !0),
1746
+ t.plots.length > 1 ? (l(), r("text", {
1707
1747
  key: 1,
1708
1748
  "text-anchor": "middle",
1709
- x: e.calcLinearProgression(a.plots).x2,
1710
- y: e.calcLinearProgression(a.plots).y2 - 6,
1711
- "font-size": t.fontSizes.plotLabels,
1712
- fill: a.color
1713
- }, C(e.dataLabel({
1714
- v: e.calcLinearProgression(a.plots).trend * 100,
1749
+ x: e.calcLinearProgression(t.plots).x2,
1750
+ y: e.calcLinearProgression(t.plots).y2 - 6,
1751
+ "font-size": i.fontSizes.plotLabels,
1752
+ fill: t.color
1753
+ }, S(e.dataLabel({
1754
+ v: e.calcLinearProgression(t.plots).trend * 100,
1715
1755
  s: "%",
1716
1756
  r: 2
1717
- })), 9, ua)) : h("", !0)
1718
- ])) : h("", !0)
1757
+ })), 9, ua)) : o("", !0)
1758
+ ])) : o("", !0)
1719
1759
  ], 6))), 128)),
1720
- (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), r("g", ga, [
1721
- (l(!0), r(m, null, b(e.barSet, (a, c) => (l(), r("g", {
1722
- key: `xLabel_bar_${c}`,
1723
- class: p(`xLabel_bar_${c}`),
1724
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1760
+ (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && i.mutableConfig.dataLabels.show ? (l(), r("g", ga, [
1761
+ (l(!0), r(N, null, I(e.barSet, (t, h) => (l(), r("g", {
1762
+ key: `xLabel_bar_${h}`,
1763
+ class: M(`xLabel_bar_${h}`),
1764
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1725
1765
  }, [
1726
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1727
- key: `xLabel_bar_${c}_${g}`
1766
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1767
+ key: `xLabel_bar_${h}_${g}`
1728
1768
  }, [
1729
- n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (l(), r("text", {
1769
+ n && (!Object.hasOwn(t, "dataLabels") || t.dataLabels === !0) && e.FINAL_CONFIG.bar.labels.show ? (l(), r("text", {
1730
1770
  key: 0,
1731
- x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1771
+ x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : e.calcRectX(n) + e.calcRectWidth() / 2 - e.barPeriodGap / 2,
1732
1772
  y: e.checkNaN(n.y) + (n.value > 0 ? e.FINAL_CONFIG.bar.labels.offsetY : -e.FINAL_CONFIG.bar.labels.offsetY * 3),
1733
1773
  "text-anchor": "middle",
1734
- "font-size": t.fontSizes.plotLabels,
1774
+ "font-size": i.fontSizes.plotLabels,
1735
1775
  fill: e.FINAL_CONFIG.bar.labels.color
1736
- }, C(e.canShowValue(n.value) ? e.applyDataLabel(
1776
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1737
1777
  e.FINAL_CONFIG.bar.labels.formatter,
1738
1778
  n.value,
1739
1779
  e.dataLabel({
1740
- p: e.FINAL_CONFIG.chart.labels.prefix,
1780
+ p: t.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1741
1781
  v: n.value,
1742
- s: e.FINAL_CONFIG.chart.labels.suffix,
1782
+ s: t.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1743
1783
  r: e.FINAL_CONFIG.bar.labels.rounding
1744
1784
  }),
1745
1785
  {
1746
1786
  datapoint: n,
1747
- serie: a
1787
+ serie: t
1748
1788
  }
1749
- ) : ""), 9, fa)) : h("", !0),
1789
+ ) : ""), 9, fa)) : o("", !0),
1750
1790
  n && e.FINAL_CONFIG.bar.serieName.show ? (l(), r("text", {
1751
1791
  key: 1,
1752
- x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1792
+ x: i.mutableConfig.useIndividualScale && i.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
1753
1793
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.bar.serieName.offsetY : -e.FINAL_CONFIG.bar.serieName.offsetY * 3),
1754
1794
  "text-anchor": "middle",
1755
- "font-size": t.fontSizes.plotLabels,
1756
- fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1795
+ "font-size": i.fontSizes.plotLabels,
1796
+ fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? t.color : e.FINAL_CONFIG.bar.serieName.color,
1757
1797
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1758
- }, C(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, ma)) : h("", !0)
1798
+ }, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: t.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : t.name), 9, Na)) : o("", !0)
1759
1799
  ]))), 128))
1760
1800
  ], 6))), 128))
1761
- ])) : h("", !0),
1762
- e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", Na, [
1763
- (l(!0), r(m, null, b(e.plotSet, (a, c) => (l(), r("g", {
1764
- key: `xLabel_plot_${c}`,
1765
- class: p(`xLabel_plot_${c}`),
1766
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1801
+ ])) : o("", !0),
1802
+ e.FINAL_CONFIG.plot.labels.show && i.mutableConfig.dataLabels.show ? (l(), r("g", ma, [
1803
+ (l(!0), r(N, null, I(e.plotSet, (t, h) => (l(), r("g", {
1804
+ key: `xLabel_plot_${h}`,
1805
+ class: M(`xLabel_plot_${h}`),
1806
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1767
1807
  }, [
1768
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1769
- key: `xLabel_plot_${c}_${g}`
1808
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1809
+ key: `xLabel_plot_${h}_${g}`
1770
1810
  }, [
1771
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
1811
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (l(), r("text", {
1772
1812
  key: 0,
1773
1813
  x: n.x,
1774
1814
  y: n.y + e.FINAL_CONFIG.plot.labels.offsetY,
1775
1815
  "text-anchor": "middle",
1776
- "font-size": t.fontSizes.plotLabels,
1816
+ "font-size": i.fontSizes.plotLabels,
1777
1817
  fill: e.FINAL_CONFIG.plot.labels.color
1778
- }, C(e.canShowValue(n.value) ? e.applyDataLabel(
1818
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1779
1819
  e.FINAL_CONFIG.plot.labels.formatter,
1780
1820
  n.value,
1781
1821
  e.dataLabel({
1782
- p: e.FINAL_CONFIG.chart.labels.prefix,
1822
+ p: t.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1783
1823
  v: n.value,
1784
- s: e.FINAL_CONFIG.chart.labels.suffix,
1824
+ s: t.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1785
1825
  r: e.FINAL_CONFIG.plot.labels.rounding
1786
1826
  }),
1787
1827
  {
1788
1828
  datapoint: n,
1789
- serie: a
1829
+ serie: t
1790
1830
  }
1791
- ) : ""), 9, Ia)) : h("", !0),
1792
- n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
1831
+ ) : ""), 9, Ia)) : o("", !0),
1832
+ n && g === 0 && t.useTag && t.useTag === "start" ? (l(), r("foreignObject", {
1793
1833
  key: 1,
1794
1834
  x: n.x,
1795
1835
  y: n.y - 20,
@@ -1798,55 +1838,55 @@ function qa(i, s, o, f, t, e) {
1798
1838
  style: { overflow: "visible" }
1799
1839
  }, [
1800
1840
  u("div", {
1801
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1802
- }, C(a.name), 5)
1803
- ], 8, ba)) : h("", !0),
1804
- n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
1841
+ style: C(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1842
+ }, S(t.name), 5)
1843
+ ], 8, xa)) : o("", !0),
1844
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (l(), r("foreignObject", {
1805
1845
  key: 2,
1806
- x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
1846
+ x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
1807
1847
  y: n.y - 20,
1808
1848
  height: 24,
1809
1849
  width: "150",
1810
1850
  style: { overflow: "visible" }
1811
1851
  }, [
1812
1852
  u("div", {
1813
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1814
- }, C(a.name), 5)
1815
- ], 8, xa)) : h("", !0)
1853
+ style: C(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1854
+ }, S(t.name), 5)
1855
+ ], 8, ba)) : o("", !0)
1816
1856
  ]))), 128))
1817
1857
  ], 6))), 128))
1818
- ])) : h("", !0),
1819
- e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", _a, [
1820
- (l(!0), r(m, null, b(e.lineSet, (a, c) => (l(), r("g", {
1821
- key: `xLabel_line_${c}`,
1822
- class: p(`xLabel_line_${c}`),
1823
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1858
+ ])) : o("", !0),
1859
+ e.FINAL_CONFIG.line.labels.show && i.mutableConfig.dataLabels.show ? (l(), r("g", Fa, [
1860
+ (l(!0), r(N, null, I(e.lineSet, (t, h) => (l(), r("g", {
1861
+ key: `xLabel_line_${h}`,
1862
+ class: M(`xLabel_line_${h}`),
1863
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1824
1864
  }, [
1825
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1826
- key: `xLabel_line_${c}_${g}`
1865
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1866
+ key: `xLabel_line_${h}_${g}`
1827
1867
  }, [
1828
- n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 ? (l(), r("text", {
1868
+ n && !Object.hasOwn(t, "dataLabels") || t.dataLabels === !0 ? (l(), r("text", {
1829
1869
  key: 0,
1830
1870
  x: n.x,
1831
1871
  y: n.y + (n.value > 0 ? e.FINAL_CONFIG.line.labels.offsetY : -e.FINAL_CONFIG.line.labels.offsetY * 3),
1832
1872
  "text-anchor": "middle",
1833
- "font-size": t.fontSizes.plotLabels,
1873
+ "font-size": i.fontSizes.plotLabels,
1834
1874
  fill: e.FINAL_CONFIG.line.labels.color
1835
- }, C(e.canShowValue(n.value) ? e.applyDataLabel(
1875
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1836
1876
  e.FINAL_CONFIG.line.labels.formatter,
1837
1877
  n.value,
1838
1878
  e.dataLabel({
1839
- p: e.FINAL_CONFIG.chart.labels.prefix,
1879
+ p: t.prefix || e.FINAL_CONFIG.chart.labels.prefix,
1840
1880
  v: n.value,
1841
- s: e.FINAL_CONFIG.chart.labels.suffix,
1881
+ s: t.suffix || e.FINAL_CONFIG.chart.labels.suffix,
1842
1882
  r: e.FINAL_CONFIG.line.labels.rounding
1843
1883
  }),
1844
1884
  {
1845
1885
  datapoint: n,
1846
- serie: a
1886
+ serie: t
1847
1887
  }
1848
- ) : ""), 9, Fa)) : h("", !0),
1849
- n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
1888
+ ) : ""), 9, _a)) : o("", !0),
1889
+ n && g === 0 && t.useTag && t.useTag === "start" ? (l(), r("foreignObject", {
1850
1890
  key: 1,
1851
1891
  x: n.x,
1852
1892
  y: n.y - 20,
@@ -1855,168 +1895,168 @@ function qa(i, s, o, f, t, e) {
1855
1895
  style: { overflow: "visible" }
1856
1896
  }, [
1857
1897
  u("div", {
1858
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1859
- }, C(a.name), 5)
1860
- ], 8, ya)) : h("", !0),
1861
- n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
1898
+ style: C(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1899
+ }, S(t.name), 5)
1900
+ ], 8, ya)) : o("", !0),
1901
+ n && g === t.plots.length - 1 && t.useTag && t.useTag === "end" ? (l(), r("foreignObject", {
1862
1902
  key: 2,
1863
- x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
1903
+ x: n.x - t.name.length * (i.fontSizes.plotLabels / 2),
1864
1904
  y: n.y - 20,
1865
1905
  height: 24,
1866
1906
  width: "150",
1867
1907
  style: { overflow: "visible" }
1868
1908
  }, [
1869
1909
  u("div", {
1870
- style: A(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1871
- }, C(a.name), 5)
1872
- ], 8, Aa)) : h("", !0)
1910
+ style: C(`padding: 3px; background:${e.setOpacity(t.color, 80)};color:${e.adaptColorToBackground(t.color)};width:fit-content;font-size:${i.fontSizes.plotLabels}px;border-radius: 2px;`)
1911
+ }, S(t.name), 5)
1912
+ ], 8, Aa)) : o("", !0)
1873
1913
  ]))), 128))
1874
1914
  ], 6))), 128))
1875
- ])) : h("", !0),
1876
- (l(!0), r(m, null, b(e.lineSet, (a, c) => (l(), r("g", {
1877
- key: `xLabel_line_${c}`,
1878
- class: p(`xLabel_line_${c}`),
1879
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1915
+ ])) : o("", !0),
1916
+ (l(!0), r(N, null, I(e.lineSet, (t, h) => (l(), r("g", {
1917
+ key: `xLabel_line_${h}`,
1918
+ class: M(`xLabel_line_${h}`),
1919
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1880
1920
  }, [
1881
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1882
- key: `xLabel_line_${c}_${g}`
1921
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1922
+ key: `xLabel_line_${h}_${g}`
1883
1923
  }, [
1884
- n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
1924
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (l(), r("text", {
1885
1925
  key: 0,
1886
- x: n.x - t.fontSizes.plotLabels,
1926
+ x: n.x - i.fontSizes.plotLabels,
1887
1927
  y: n.y,
1888
- "font-size": t.fontSizes.plotLabels,
1928
+ "font-size": i.fontSizes.plotLabels,
1889
1929
  "text-anchor": "end",
1890
- fill: a.color,
1930
+ fill: t.color,
1891
1931
  innerHTML: e.createTSpans({
1892
- content: a.name,
1893
- fontSize: t.fontSizes.plotLabels,
1894
- fill: a.color,
1895
- x: n.x - t.fontSizes.plotLabels,
1932
+ content: t.name,
1933
+ fontSize: i.fontSizes.plotLabels,
1934
+ fill: t.color,
1935
+ x: n.x - i.fontSizes.plotLabels,
1896
1936
  y: n.y,
1897
1937
  maxWords: 2
1898
1938
  })
1899
- }, null, 8, La)) : h("", !0),
1900
- n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
1939
+ }, null, 8, La)) : o("", !0),
1940
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (l(), r("text", {
1901
1941
  key: 1,
1902
- x: n.x + t.fontSizes.plotLabels,
1942
+ x: n.x + i.fontSizes.plotLabels,
1903
1943
  y: n.y,
1904
- "font-size": t.fontSizes.plotLabels,
1944
+ "font-size": i.fontSizes.plotLabels,
1905
1945
  "text-anchor": "start",
1906
- fill: a.color,
1946
+ fill: t.color,
1907
1947
  innerHTML: e.createTSpans({
1908
- content: a.name,
1909
- fontSize: t.fontSizes.plotLabels,
1910
- fill: a.color,
1911
- x: n.x + t.fontSizes.plotLabels,
1948
+ content: t.name,
1949
+ fontSize: i.fontSizes.plotLabels,
1950
+ fill: t.color,
1951
+ x: n.x + i.fontSizes.plotLabels,
1912
1952
  y: n.y,
1913
1953
  maxWords: 2
1914
1954
  })
1915
- }, null, 8, Ca)) : h("", !0)
1955
+ }, null, 8, Ca)) : o("", !0)
1916
1956
  ]))), 128))
1917
1957
  ], 6))), 128)),
1918
- (l(!0), r(m, null, b(e.plotSet, (a, c) => (l(), r("g", {
1919
- key: `xLabel_plot_${c}`,
1920
- class: p(`xLabel_plot_${c}`),
1921
- style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1958
+ (l(!0), r(N, null, I(e.plotSet, (t, h) => (l(), r("g", {
1959
+ key: `xLabel_plot_${h}`,
1960
+ class: M(`xLabel_plot_${h}`),
1961
+ style: C(`opacity:${i.selectedScale ? i.selectedScale === t.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1922
1962
  }, [
1923
- (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1924
- key: `xLabel_plot_${c}_${g}`
1963
+ (l(!0), r(N, null, I(t.plots, (n, g) => (l(), r("g", {
1964
+ key: `xLabel_plot_${h}_${g}`
1925
1965
  }, [
1926
- n && g === 0 && a.showSerieName && a.showSerieName === "start" ? (l(), r("text", {
1966
+ n && g === 0 && t.showSerieName && t.showSerieName === "start" ? (l(), r("text", {
1927
1967
  key: 0,
1928
- x: n.x - t.fontSizes.plotLabels,
1968
+ x: n.x - i.fontSizes.plotLabels,
1929
1969
  y: n.y,
1930
- "font-size": t.fontSizes.plotLabels,
1970
+ "font-size": i.fontSizes.plotLabels,
1931
1971
  "text-anchor": "end",
1932
- fill: a.color,
1972
+ fill: t.color,
1933
1973
  innerHTML: e.createTSpans({
1934
- content: a.name,
1935
- fontSize: t.fontSizes.plotLabels,
1936
- fill: a.color,
1937
- x: n.x - t.fontSizes.plotLabels,
1974
+ content: t.name,
1975
+ fontSize: i.fontSizes.plotLabels,
1976
+ fill: t.color,
1977
+ x: n.x - i.fontSizes.plotLabels,
1938
1978
  y: n.y,
1939
1979
  maxWords: 2
1940
1980
  })
1941
- }, null, 8, Sa)) : h("", !0),
1942
- n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
1981
+ }, null, 8, Sa)) : o("", !0),
1982
+ n && g === t.plots.length - 1 && t.showSerieName && t.showSerieName === "end" ? (l(), r("text", {
1943
1983
  key: 1,
1944
- x: n.x + t.fontSizes.plotLabels,
1984
+ x: n.x + i.fontSizes.plotLabels,
1945
1985
  y: n.y,
1946
- "font-size": t.fontSizes.plotLabels,
1986
+ "font-size": i.fontSizes.plotLabels,
1947
1987
  "text-anchor": "start",
1948
- fill: a.color,
1988
+ fill: t.color,
1949
1989
  innerHTML: e.createTSpans({
1950
- content: a.name,
1951
- fontSize: t.fontSizes.plotLabels,
1952
- fill: a.color,
1953
- x: n.x + t.fontSizes.plotLabels,
1990
+ content: t.name,
1991
+ fontSize: i.fontSizes.plotLabels,
1992
+ fill: t.color,
1993
+ x: n.x + i.fontSizes.plotLabels,
1954
1994
  y: n.y,
1955
1995
  maxWords: 2
1956
1996
  })
1957
- }, null, 8, ka)) : h("", !0)
1997
+ }, null, 8, ka)) : o("", !0)
1958
1998
  ]))), 128))
1959
1999
  ], 6))), 128)),
1960
- t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(m, { key: 8 }, b(e.allScales, (a) => (l(), r("rect", {
1961
- x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
2000
+ i.mutableConfig.useIndividualScale && !i.mutableConfig.isStacked ? (l(!0), r(N, { key: 8 }, I(e.allScales, (t) => (l(), r("rect", {
2001
+ x: t.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
1962
2002
  y: e.drawingArea.top,
1963
2003
  width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
1964
2004
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1965
- fill: t.selectedScale === a.id ? e.setOpacity(a.color, 20) : "transparent",
1966
- onMouseenter: (c) => t.selectedScale = a.id,
1967
- onMouseleave: s[0] || (s[0] = (c) => t.selectedScale = null)
1968
- }, null, 40, wa))), 256)) : h("", !0),
2005
+ fill: i.selectedScale === t.id ? e.setOpacity(t.color, 20) : "transparent",
2006
+ onMouseenter: (h) => i.selectedScale = t.id,
2007
+ onMouseleave: s[0] || (s[0] = (h) => i.selectedScale = null)
2008
+ }, null, 40, wa))), 256)) : o("", !0),
1969
2009
  u("g", null, [
1970
- e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (l(), r("text", {
2010
+ e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !i.mutableConfig.useIndividualScale ? (l(), r("text", {
1971
2011
  key: 0,
1972
- "font-size": t.fontSizes.yAxis,
2012
+ "font-size": i.fontSizes.yAxis,
1973
2013
  fill: e.FINAL_CONFIG.chart.grid.labels.color,
1974
- transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
2014
+ transform: `translate(${i.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
1975
2015
  "text-anchor": "middle",
1976
2016
  style: { transition: "none" }
1977
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Oa)) : h("", !0),
2017
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, Oa)) : o("", !0),
1978
2018
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (l(), r("text", {
1979
2019
  key: 1,
1980
2020
  "text-anchor": "middle",
1981
- x: t.width / 2,
1982
- y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
1983
- "font-size": t.fontSizes.yAxis,
2021
+ x: i.width / 2,
2022
+ y: e.drawingArea.bottom + i.fontSizes.yAxis + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
2023
+ "font-size": i.fontSizes.yAxis,
1984
2024
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1985
- }, C(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, va)) : h("", !0)
2025
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, va)) : o("", !0)
1986
2026
  ]),
1987
2027
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), r("g", Ga, [
1988
- (l(!0), r(m, null, b(e.timeLabels, (a, c) => (l(), r("g", {
1989
- key: `time_label_${c}`
2028
+ (l(!0), r(N, null, I(e.timeLabels, (t, h) => (l(), r("g", {
2029
+ key: `time_label_${h}`
1990
2030
  }, [
1991
- a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (c === 0 || c === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === c && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && c % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (l(), r("text", {
2031
+ t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (h === 0 || h === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && i.selectedSerieIndex === h && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || t && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && h % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (l(), r("text", {
1992
2032
  key: 0,
1993
2033
  "text-anchor": e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
1994
- "font-size": t.fontSizes.xAxis,
2034
+ "font-size": i.fontSizes.xAxis,
1995
2035
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
1996
- transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * c + 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})`
1997
- }, C(a || ""), 9, za)) : h("", !0)
2036
+ transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * h + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + i.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
2037
+ }, S(t || ""), 9, pa)) : o("", !0)
1998
2038
  ]))), 128))
1999
- ])) : h("", !0),
2039
+ ])) : o("", !0),
2000
2040
  u("g", null, [
2001
- (l(!0), r(m, null, b(e.maxSeries, (a, c) => (l(), r("g", {
2002
- key: `tooltip_trap_${c}`
2041
+ (l(!0), r(N, null, I(e.maxSeries, (t, h) => (l(), r("g", {
2042
+ key: `tooltip_trap_${h}`
2003
2043
  }, [
2004
2044
  u("rect", {
2005
2045
  "data-cy-trap": "",
2006
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * c,
2046
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * h,
2007
2047
  y: e.drawingArea.top,
2008
2048
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
2009
2049
  width: e.drawingArea.width / e.maxSeries < 0 ? 1e-5 : e.drawingArea.width / e.maxSeries,
2010
2050
  fill: "transparent",
2011
- onMouseenter: (n) => e.toggleTooltipVisibility(!0, c),
2051
+ onMouseenter: (n) => e.toggleTooltipVisibility(!0, h),
2012
2052
  onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
2013
- onClick: (n) => e.selectX(c)
2014
- }, null, 40, Ma)
2053
+ onClick: (n) => e.selectX(h)
2054
+ }, null, 40, za)
2015
2055
  ]))), 128))
2016
2056
  ]),
2017
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (l(), r("g", pa, [
2057
+ e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(i.selectedSerieIndex) ? (l(), r("g", Ma, [
2018
2058
  (l(), r("foreignObject", {
2019
- x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2059
+ x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
2020
2060
  y: e.drawingArea.bottom,
2021
2061
  width: "200",
2022
2062
  height: "40",
@@ -2024,23 +2064,23 @@ function qa(i, s, o, f, t, e) {
2024
2064
  }, [
2025
2065
  u("div", {
2026
2066
  class: "vue-ui-xy-time-tag",
2027
- style: A(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2028
- }, C(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
2067
+ style: C(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${e.FINAL_CONFIG.chart.timeTag.backgroundColor};color:${e.FINAL_CONFIG.chart.timeTag.color};font-size:${e.FINAL_CONFIG.chart.timeTag.fontSize}px`)
2068
+ }, S(e.timeLabels[i.selectedSerieIndex] || i.selectedSerieIndex), 5)
2029
2069
  ], 8, Pa)),
2030
2070
  u("circle", {
2031
- cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2071
+ cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * i.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2032
2072
  cy: e.drawingArea.bottom,
2033
2073
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2034
2074
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2035
2075
  }, null, 8, Ta)
2036
- ])) : h("", !0)
2037
- ])) : h("", !0),
2038
- O(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2039
- ], 14, Ze)) : h("", !0),
2040
- i.$slots.watermark ? (l(), r("div", Va, [
2041
- O(i.$slots, "watermark", B(Y({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2042
- ])) : h("", !0),
2043
- e.isDataset ? h("", !0) : (l(), V(N, {
2076
+ ])) : o("", !0)
2077
+ ])) : o("", !0),
2078
+ O(a.$slots, "svg", { svg: e.svg }, void 0, !0)
2079
+ ], 14, Ze)) : o("", !0),
2080
+ a.$slots.watermark ? (l(), r("div", Va, [
2081
+ O(a.$slots, "watermark", B(Y({ isPrinting: i.isPrinting || i.isImaging })), void 0, !0)
2082
+ ])) : o("", !0),
2083
+ e.isDataset ? o("", !0) : (l(), V(m, {
2044
2084
  key: 4,
2045
2085
  config: {
2046
2086
  type: "line",
@@ -2058,14 +2098,14 @@ function qa(i, s, o, f, t, e) {
2058
2098
  }
2059
2099
  }
2060
2100
  }, null, 8, ["config"])),
2061
- e.FINAL_CONFIG.chart.zoom.show && t.maxX > 6 && e.isDataset ? (l(), V(y, {
2101
+ e.FINAL_CONFIG.chart.zoom.show && i.maxX > 6 && e.isDataset ? (l(), V(L, {
2062
2102
  ref: "chartSlicer",
2063
- key: `slicer_${t.slicerStep}`,
2103
+ key: `slicer_${i.slicerStep}`,
2064
2104
  background: e.FINAL_CONFIG.chart.zoom.color,
2065
2105
  fontSize: e.FINAL_CONFIG.chart.zoom.fontSize,
2066
2106
  useResetSlot: e.FINAL_CONFIG.chart.zoom.useResetSlot,
2067
- labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t.slicer.start],
2068
- labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[t.slicer.end - 1],
2107
+ labelLeft: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i.slicer.start],
2108
+ labelRight: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.values[i.slicer.end - 1],
2069
2109
  textColor: e.FINAL_CONFIG.chart.color,
2070
2110
  inputColor: e.FINAL_CONFIG.chart.zoom.color,
2071
2111
  selectColor: e.FINAL_CONFIG.chart.zoom.highlightColor,
@@ -2076,36 +2116,36 @@ function qa(i, s, o, f, t, e) {
2076
2116
  minimapSelectionRadius: e.FINAL_CONFIG.chart.zoom.minimap.selectionRadius,
2077
2117
  minimapLineColor: e.FINAL_CONFIG.chart.zoom.minimap.lineColor,
2078
2118
  minimapSelectedColorOpacity: e.FINAL_CONFIG.chart.zoom.minimap.selectedColorOpacity,
2079
- minimapSelectedIndex: t.selectedSerieIndex,
2119
+ minimapSelectedIndex: i.selectedSerieIndex,
2080
2120
  minimapIndicatorColor: e.FINAL_CONFIG.chart.zoom.minimap.indicatorColor,
2081
- max: t.maxX,
2121
+ max: i.maxX,
2082
2122
  min: 0,
2083
- valueStart: t.slicer.start,
2084
- valueEnd: t.slicer.end,
2085
- start: t.slicer.start,
2086
- "onUpdate:start": s[2] || (s[2] = (a) => t.slicer.start = a),
2087
- end: t.slicer.end,
2088
- "onUpdate:end": s[3] || (s[3] = (a) => t.slicer.end = a),
2123
+ valueStart: i.slicer.start,
2124
+ valueEnd: i.slicer.end,
2125
+ start: i.slicer.start,
2126
+ "onUpdate:start": s[2] || (s[2] = (t) => i.slicer.start = t),
2127
+ end: i.slicer.end,
2128
+ "onUpdate:end": s[3] || (s[3] = (t) => i.slicer.end = t),
2089
2129
  onReset: e.refreshSlicer,
2090
2130
  onTrapMouse: e.selectMinimapIndex
2091
2131
  }, {
2092
- "reset-action": z(({ reset: a }) => [
2093
- O(i.$slots, "reset-action", B(Y({ reset: a })), void 0, !0)
2132
+ "reset-action": p(({ reset: t }) => [
2133
+ O(a.$slots, "reset-action", B(Y({ reset: t })), void 0, !0)
2094
2134
  ]),
2095
2135
  _: 3
2096
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : h("", !0),
2136
+ }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : o("", !0),
2097
2137
  e.FINAL_CONFIG.chart.legend.show ? (l(), r("div", {
2098
2138
  key: 6,
2099
2139
  ref: "chartLegend",
2100
2140
  class: "vue-ui-xy-legend",
2101
- style: A(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2141
+ style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
2102
2142
  }, [
2103
- (l(!0), r(m, null, b(e.absoluteDataset, (a, c) => (l(), r("div", {
2104
- key: `div_legend_item_${c}`,
2105
- onClick: (n) => e.segregate(a),
2106
- class: p({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2143
+ (l(!0), r(N, null, I(e.absoluteDataset, (t, h) => (l(), r("div", {
2144
+ key: `div_legend_item_${h}`,
2145
+ onClick: (n) => e.segregate(t),
2146
+ class: M({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": i.segregatedSeries.includes(t.id) })
2107
2147
  }, [
2108
- t.icons[a.type] === "line" ? (l(), r("svg", Da, [
2148
+ i.icons[t.type] === "line" ? (l(), r("svg", Da, [
2109
2149
  u("rect", {
2110
2150
  x: "0",
2111
2151
  y: "7",
@@ -2113,18 +2153,18 @@ function qa(i, s, o, f, t, e) {
2113
2153
  stroke: "none",
2114
2154
  height: "4",
2115
2155
  width: "20",
2116
- fill: a.color
2156
+ fill: t.color
2117
2157
  }, null, 8, Ha),
2118
- q(L, {
2158
+ q(A, {
2119
2159
  plot: { x: 10, y: 9 },
2120
2160
  radius: 4,
2121
- color: a.color,
2122
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
2161
+ color: t.color,
2162
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle",
2123
2163
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
2124
2164
  strokeWidth: 1
2125
2165
  }, null, 8, ["color", "shape", "stroke"])
2126
2166
  ])) : (l(), r("svg", Wa, [
2127
- t.icons[a.type] === "bar" ? (l(), r("rect", {
2167
+ i.icons[t.type] === "bar" ? (l(), r("rect", {
2128
2168
  key: 0,
2129
2169
  x: "0",
2130
2170
  y: "0",
@@ -2132,24 +2172,24 @@ function qa(i, s, o, f, t, e) {
2132
2172
  height: "12",
2133
2173
  width: "12",
2134
2174
  stroke: "none",
2135
- fill: a.color
2136
- }, null, 8, Ea)) : (l(), V(L, {
2175
+ fill: t.color
2176
+ }, null, 8, Ea)) : (l(), V(A, {
2137
2177
  key: 1,
2138
2178
  plot: { x: 6, y: 6 },
2139
2179
  radius: 5,
2140
- color: a.color,
2141
- shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle"
2180
+ color: t.color,
2181
+ shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(t.shape) ? t.shape : "circle"
2142
2182
  }, null, 8, ["color", "shape"]))
2143
2183
  ])),
2144
2184
  u("span", {
2145
- style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2146
- }, C(a.name), 5)
2185
+ style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2186
+ }, S(t.name), 5)
2147
2187
  ], 10, Ra))), 128))
2148
2188
  ], 4)) : (l(), r("div", Ba, [
2149
- O(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2189
+ O(a.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2150
2190
  ], 512)),
2151
- q(M, {
2152
- show: t.mutableConfig.showTooltip && t.isTooltip,
2191
+ q(z, {
2192
+ show: i.mutableConfig.showTooltip && i.isTooltip,
2153
2193
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2154
2194
  color: e.FINAL_CONFIG.chart.tooltip.color,
2155
2195
  fontSize: e.FINAL_CONFIG.chart.tooltip.fontSize,
@@ -2159,23 +2199,23 @@ function qa(i, s, o, f, t, e) {
2159
2199
  backgroundOpacity: e.FINAL_CONFIG.chart.tooltip.backgroundOpacity,
2160
2200
  position: e.FINAL_CONFIG.chart.tooltip.position,
2161
2201
  offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
2162
- parent: i.$refs.chart,
2202
+ parent: a.$refs.chart,
2163
2203
  content: e.tooltipContent,
2164
2204
  isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
2165
2205
  }, {
2166
- "tooltip-before": z(() => [
2167
- O(i.$slots, "tooltip-before", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2206
+ "tooltip-before": p(() => [
2207
+ O(a.$slots, "tooltip-before", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2168
2208
  ]),
2169
- "tooltip-after": z(() => [
2170
- O(i.$slots, "tooltip-after", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2209
+ "tooltip-after": p(() => [
2210
+ O(a.$slots, "tooltip-after", B(Y({ ...e.dataTooltipSlot })), void 0, !0)
2171
2211
  ]),
2172
2212
  _: 3
2173
2213
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
2174
- e.isDataset ? (l(), V(x, {
2214
+ e.isDataset ? (l(), V(b, {
2175
2215
  key: 8,
2176
2216
  hideDetails: "",
2177
2217
  config: {
2178
- open: t.mutableConfig.showTable,
2218
+ open: i.mutableConfig.showTable,
2179
2219
  maxHeight: 1e4,
2180
2220
  body: {
2181
2221
  backgroundColor: e.FINAL_CONFIG.chart.backgroundColor,
@@ -2187,48 +2227,48 @@ function qa(i, s, o, f, t, e) {
2187
2227
  }
2188
2228
  }
2189
2229
  }, {
2190
- content: z(() => [
2230
+ content: p(() => [
2191
2231
  u("div", {
2192
- style: A(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2232
+ style: C(`${i.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
2193
2233
  }, [
2194
2234
  u("div", Ya, [
2195
2235
  He(u("input", {
2196
2236
  type: "checkbox",
2197
- "onUpdate:modelValue": s[4] || (s[4] = (a) => t.showSparklineTable = a)
2237
+ "onUpdate:modelValue": s[4] || (s[4] = (t) => i.showSparklineTable = t)
2198
2238
  }, null, 512), [
2199
- [We, t.showSparklineTable]
2239
+ [We, i.showSparklineTable]
2200
2240
  ]),
2201
2241
  u("div", {
2202
- onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2242
+ onClick: s[5] || (s[5] = (t) => i.showSparklineTable = !i.showSparklineTable),
2203
2243
  style: { cursor: "pointer" }
2204
2244
  }, [
2205
- q(S, {
2245
+ q(k, {
2206
2246
  name: "chartLine",
2207
2247
  size: 20,
2208
2248
  stroke: e.FINAL_CONFIG.chart.color
2209
2249
  }, null, 8, ["stroke"])
2210
2250
  ])
2211
2251
  ]),
2212
- t.showSparklineTable ? (l(), V(G, {
2213
- key: `sparkline_${t.segregateStep}`,
2252
+ i.showSparklineTable ? (l(), V(G, {
2253
+ key: `sparkline_${i.segregateStep}`,
2214
2254
  dataset: e.tableSparklineDataset,
2215
2255
  config: e.tableSparklineConfig
2216
2256
  }, null, 8, ["dataset", "config"])) : (l(), V(v, {
2217
- key: `table_${t.tableStep}`,
2257
+ key: `table_${i.tableStep}`,
2218
2258
  colNames: e.dataTable.colNames,
2219
2259
  head: e.dataTable.head,
2220
2260
  body: e.dataTable.body,
2221
2261
  config: e.dataTable.config,
2222
2262
  title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
2223
- onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
2263
+ onClose: s[6] || (s[6] = (t) => i.mutableConfig.showTable = !1)
2224
2264
  }, {
2225
- th: z(({ th: a }) => [
2226
- u("div", { innerHTML: a }, null, 8, Xa)
2265
+ th: p(({ th: t }) => [
2266
+ u("div", { innerHTML: t }, null, 8, Xa)
2227
2267
  ]),
2228
- td: z(({ td: a }) => [
2229
- Ee(C(isNaN(Number(a)) ? a : e.dataLabel({
2268
+ td: p(({ td: t }) => [
2269
+ Ee(S(isNaN(Number(t)) ? t : e.dataLabel({
2230
2270
  p: e.FINAL_CONFIG.chart.labels.prefix,
2231
- v: a,
2271
+ v: t,
2232
2272
  s: e.FINAL_CONFIG.chart.labels.suffix,
2233
2273
  r: e.FINAL_CONFIG.table.rounding
2234
2274
  })), 1)
@@ -2238,10 +2278,10 @@ function qa(i, s, o, f, t, e) {
2238
2278
  ], 4)
2239
2279
  ]),
2240
2280
  _: 1
2241
- }, 8, ["config"])) : h("", !0)
2281
+ }, 8, ["config"])) : o("", !0)
2242
2282
  ], 14, qe);
2243
2283
  }
2244
- const ci = /* @__PURE__ */ Be(Xe, [["render", qa], ["__scopeId", "data-v-0874a101"]]);
2284
+ const hi = /* @__PURE__ */ Be(Xe, [["render", qa], ["__scopeId", "data-v-7fe10bbc"]]);
2245
2285
  export {
2246
- ci as default
2286
+ hi as default
2247
2287
  };