vue-data-ui 2.3.73 → 2.3.75

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 (193) hide show
  1. package/dist/{Arrow-B9ZuNkP-.js → Arrow-BTG7M25z.js} +1 -1
  2. package/dist/{Arrow-B8nZeqNJ.cjs → Arrow-CZK77NmC.cjs} +1 -1
  3. package/dist/{BaseIcon-CXbZK6D-.cjs → BaseIcon--PMhZ3f-.cjs} +1 -1
  4. package/dist/{BaseIcon-_V_BEdy8.js → BaseIcon-BAOfPaXs.js} +1 -1
  5. package/dist/{DataTable-BOdJVZzF.js → DataTable-CQANRZju.js} +2 -2
  6. package/dist/{DataTable-wmKwMbsJ.cjs → DataTable-DjQzrklZ.cjs} +1 -1
  7. package/dist/{Legend-DdndVhHV.cjs → Legend-CtbPB0Bo.cjs} +1 -1
  8. package/dist/{Legend-CHd5QFPM.js → Legend-DX1kv21U.js} +1 -1
  9. package/dist/{Shape-CLRxBhyM.cjs → Shape-CadGs1Am.cjs} +1 -1
  10. package/dist/{Shape-DNbJlwSU.js → Shape-kqcyauhC.js} +1 -1
  11. package/dist/{Slicer-Dts-BToH.cjs → Slicer-i_oECHxH.cjs} +1 -1
  12. package/dist/{Slicer-8Gg45iGX.js → Slicer-yaJs-izT.js} +2 -2
  13. package/dist/{Title-Ngy9HNqO.js → Title-C26I_HC3.js} +1 -1
  14. package/dist/{Title-CujodUjt.cjs → Title-XBiDFYKD.cjs} +1 -1
  15. package/dist/{Tooltip-BCtg7xYX.js → Tooltip-CH8GmDCG.js} +1 -1
  16. package/dist/{Tooltip-DsmWz8gF.cjs → Tooltip-DxtWkIt5.cjs} +1 -1
  17. package/dist/{index-Dvs5Ra-u.js → index-Cm4Iry5c.js} +1 -1
  18. package/dist/{index-sFjJ2dIj.cjs → index-DYUBiaGS.cjs} +1 -1
  19. package/dist/style.css +1 -1
  20. package/dist/{useNestedProp-UohhCyBz.js → useNestedProp-CurQIHTa.js} +1 -1
  21. package/dist/{useNestedProp-ir0jEo5M.cjs → useNestedProp-w7AMWWmz.cjs} +1 -1
  22. package/dist/{usePrinter-B8-keRMa.js → usePrinter-B8RnF8_q.js} +1 -1
  23. package/dist/{usePrinter-DSMMs1w9.cjs → usePrinter-ZlHxdaEz.cjs} +1 -1
  24. package/dist/{vue-data-ui-NvV5qa--.cjs → vue-data-ui-B7amrpT-.cjs} +1 -1
  25. package/dist/{vue-data-ui-Bgo6YUhl.js → vue-data-ui-Bj6kEIpq.js} +57 -57
  26. package/dist/vue-data-ui.cjs +1 -1
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/vue-ui-3d-bar-BAz41kL7.cjs +19 -0
  29. package/dist/{vue-ui-3d-bar-DckNIYgA.js → vue-ui-3d-bar-Bg9IgVVc.js} +499 -486
  30. package/dist/{vue-ui-accordion-RuCkf_li.cjs → vue-ui-accordion-1WxrfiCH.cjs} +1 -1
  31. package/dist/{vue-ui-accordion-C-qAry7P.js → vue-ui-accordion-Cb6XBCbu.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CamjaXUw.js → vue-ui-age-pyramid-BhwmnQru.js} +182 -169
  33. package/dist/vue-ui-age-pyramid-CHNvRXx8.cjs +1 -0
  34. package/dist/{vue-ui-annotator-D0kYZ56C.cjs → vue-ui-annotator-B22cdlhA.cjs} +1 -1
  35. package/dist/{vue-ui-annotator-DMmdqorj.js → vue-ui-annotator-BiHQvMdW.js} +1 -1
  36. package/dist/{vue-ui-candlestick-DRi8lDTn.js → vue-ui-candlestick-Cl9dyh4l.js} +295 -279
  37. package/dist/vue-ui-candlestick-D7DjdYyw.cjs +2 -0
  38. package/dist/vue-ui-carousel-table-Do5cYRqN.cjs +1 -0
  39. package/dist/{vue-ui-carousel-table-u5OoOMr1.js → vue-ui-carousel-table-QsONwqNz.js} +106 -91
  40. package/dist/vue-ui-chestnut-CyE8MafY.cjs +6 -0
  41. package/dist/{vue-ui-chestnut-D5a4OH1D.js → vue-ui-chestnut-Drb01WMC.js} +215 -204
  42. package/dist/{vue-ui-cursor-Bp_PHbz4.js → vue-ui-cursor-BP04_XbB.js} +2 -2
  43. package/dist/{vue-ui-cursor-DpBsZNEE.cjs → vue-ui-cursor-DZeTQBKz.cjs} +1 -1
  44. package/dist/{vue-ui-dashboard-BwBYH8V_.js → vue-ui-dashboard-BWdx5gjZ.js} +2 -2
  45. package/dist/{vue-ui-dashboard--kjU0uMc.cjs → vue-ui-dashboard-Z63RE1XS.cjs} +1 -1
  46. package/dist/{vue-ui-digits-CIV9J3SW.cjs → vue-ui-digits-CBQaHW6a.cjs} +1 -1
  47. package/dist/{vue-ui-digits-t2G4B6uD.js → vue-ui-digits-DUhkLcmd.js} +2 -2
  48. package/dist/vue-ui-donut-D2YJYgOB.cjs +1 -0
  49. package/dist/{vue-ui-donut-BTug2gsP.js → vue-ui-donut-DRPSwmGr.js} +376 -362
  50. package/dist/{vue-ui-donut-evolution-DTD0Hfgh.js → vue-ui-donut-evolution-gRXAyxq8.js} +270 -255
  51. package/dist/vue-ui-donut-evolution-jAMVgNHQ.cjs +1 -0
  52. package/dist/{vue-ui-dumbbell-BZw7lntE.js → vue-ui-dumbbell-CQo5jqSK.js} +232 -213
  53. package/dist/vue-ui-dumbbell-DLfZcrXq.cjs +9 -0
  54. package/dist/vue-ui-flow-BQ3UbMUb.js +481 -0
  55. package/dist/vue-ui-flow-BlX2-eEC.cjs +1 -0
  56. package/dist/{vue-ui-galaxy-Bjlm3WtB.js → vue-ui-galaxy-BHWugUKG.js} +175 -162
  57. package/dist/vue-ui-galaxy-Cax5o6Yl.cjs +1 -0
  58. package/dist/vue-ui-gauge-DG6_kvKh.js +500 -0
  59. package/dist/vue-ui-gauge-DpGcv_00.cjs +1 -0
  60. package/dist/vue-ui-gizmo-D9Vh9Rmr.cjs +1 -0
  61. package/dist/{vue-ui-gizmo-CiutQM-A.js → vue-ui-gizmo-bV148qAf.js} +66 -53
  62. package/dist/{vue-ui-heatmap-C933pQPU.js → vue-ui-heatmap-BZZUvnMa.js} +157 -143
  63. package/dist/vue-ui-heatmap-B_ELXKKV.cjs +1 -0
  64. package/dist/vue-ui-kpi-C5v7qQvZ.js +98 -0
  65. package/dist/vue-ui-kpi-CwVAvTB2.cjs +1 -0
  66. package/dist/{vue-ui-mini-loader-B5XG2gKd.js → vue-ui-mini-loader-BdKizX_J.js} +2 -2
  67. package/dist/{vue-ui-mini-loader-C67Z1C6r.cjs → vue-ui-mini-loader-DZNY-3rr.cjs} +1 -1
  68. package/dist/{vue-ui-molecule-DzIeuL8t.js → vue-ui-molecule-MKyrhqqm.js} +177 -167
  69. package/dist/vue-ui-molecule-bva6OvPc.cjs +1 -0
  70. package/dist/{vue-ui-mood-radar-02L4M-n_.js → vue-ui-mood-radar-BNIFFvq0.js} +172 -161
  71. package/dist/vue-ui-mood-radar-CzQOAyNI.cjs +1 -0
  72. package/dist/{vue-ui-nested-donuts-BY50trfJ.js → vue-ui-nested-donuts-BDAlZrMF.js} +377 -364
  73. package/dist/vue-ui-nested-donuts-CxdZC6JF.cjs +17 -0
  74. package/dist/{vue-ui-onion-BmQ7B9xY.js → vue-ui-onion-CFa4VD-w.js} +191 -177
  75. package/dist/vue-ui-onion-Df7YcsVR.cjs +5 -0
  76. package/dist/vue-ui-parallel-coordinate-plot-D7Q2zfcR.cjs +8 -0
  77. package/dist/{vue-ui-parallel-coordinate-plot-BdfcqlfT.js → vue-ui-parallel-coordinate-plot-DmqYXT-U.js} +298 -284
  78. package/dist/{vue-ui-quadrant-CLimyRoA.js → vue-ui-quadrant-D5jHkq9g.js} +347 -334
  79. package/dist/vue-ui-quadrant-ZqhcVYf5.cjs +1 -0
  80. package/dist/{vue-ui-quick-chart-CX8Kas-o.js → vue-ui-quick-chart-BjXXSx7V.js} +483 -469
  81. package/dist/vue-ui-quick-chart-Dt9AsEU6.cjs +15 -0
  82. package/dist/vue-ui-radar-2EuZr7i2.cjs +1 -0
  83. package/dist/{vue-ui-radar-CK0PB5oY.js → vue-ui-radar-CW8EKW4o.js} +202 -189
  84. package/dist/{vue-ui-rating-Ceu3pXmF.cjs → vue-ui-rating-DrtLvVA0.cjs} +1 -1
  85. package/dist/{vue-ui-rating-BnqWN2ui.js → vue-ui-rating-eSWsmJUU.js} +2 -2
  86. package/dist/vue-ui-relation-circle-C60OTe88.cjs +1 -0
  87. package/dist/vue-ui-relation-circle-DiUCpEqa.js +322 -0
  88. package/dist/{vue-ui-rings-CYthauSM.js → vue-ui-rings-BxhLbyG0.js} +203 -189
  89. package/dist/vue-ui-rings-CHq-a5ZS.cjs +2 -0
  90. package/dist/{vue-ui-scatter-Cxr9eymz.js → vue-ui-scatter-DQchX_mM.js} +284 -270
  91. package/dist/vue-ui-scatter-DZUZUbnk.cjs +1 -0
  92. package/dist/{vue-ui-screenshot-CVWC5rbJ.js → vue-ui-screenshot-CLa9vMzM.js} +1 -1
  93. package/dist/{vue-ui-screenshot-sBd8-Oyh.cjs → vue-ui-screenshot-SLSIpqx2.cjs} +1 -1
  94. package/dist/{vue-ui-skeleton-CAvlIcgk.js → vue-ui-skeleton-C1oUnz7R.js} +2 -2
  95. package/dist/{vue-ui-skeleton-CqF0NJ4g.cjs → vue-ui-skeleton-ClpTCY1x.cjs} +1 -1
  96. package/dist/{vue-ui-smiley-CXbipVsb.js → vue-ui-smiley-CmWHSt1S.js} +2 -2
  97. package/dist/{vue-ui-smiley-c_I60YOy.cjs → vue-ui-smiley-Daw8fPDy.cjs} +1 -1
  98. package/dist/vue-ui-spark-trend-CO69Dg31.js +263 -0
  99. package/dist/vue-ui-spark-trend-DmDlv8ie.cjs +1 -0
  100. package/dist/{vue-ui-sparkbar-Dm-2_5Ef.js → vue-ui-sparkbar-BRlqpe4e.js} +95 -87
  101. package/dist/vue-ui-sparkbar-BUGdi0BY.cjs +1 -0
  102. package/dist/vue-ui-sparkgauge-CCxKzDjT.cjs +1 -0
  103. package/dist/vue-ui-sparkgauge-CbuFESsM.js +178 -0
  104. package/dist/{vue-ui-sparkhistogram-qf87TXA-.js → vue-ui-sparkhistogram-B4-hrDHz.js} +79 -68
  105. package/dist/vue-ui-sparkhistogram-XtqX10_t.cjs +1 -0
  106. package/dist/vue-ui-sparkline-BZTEi9YC.cjs +1 -0
  107. package/dist/{vue-ui-sparkline-CZBgvY1A.js → vue-ui-sparkline-DlXNmG6M.js} +142 -123
  108. package/dist/vue-ui-sparkstackbar-CDmZeXnq.cjs +1 -0
  109. package/dist/{vue-ui-sparkstackbar-GtkDZDXZ.js → vue-ui-sparkstackbar-J1YowQmP.js} +120 -104
  110. package/dist/{vue-ui-stackbar-D_Ui7xec.js → vue-ui-stackbar-CKIDqkkY.js} +235 -222
  111. package/dist/vue-ui-stackbar-CXGWukoJ.cjs +6 -0
  112. package/dist/vue-ui-strip-plot-CvmoRcYN.cjs +1 -0
  113. package/dist/{vue-ui-strip-plot--VJ3f5UV.js → vue-ui-strip-plot-JVLwIy0j.js} +246 -232
  114. package/dist/{vue-ui-table-BCQ7voEV.js → vue-ui-table-BSi_cHh7.js} +1 -1
  115. package/dist/{vue-ui-table-B_6N0VOD.cjs → vue-ui-table-Dqi64VE7.cjs} +1 -1
  116. package/dist/vue-ui-table-heatmap-BwghEh5t.cjs +1 -0
  117. package/dist/{vue-ui-table-heatmap-UwpQQMHB.js → vue-ui-table-heatmap-CfvW3rcm.js} +106 -95
  118. package/dist/{vue-ui-table-sparkline-Bzqs2Hcp.js → vue-ui-table-sparkline-Y6Lrrzxy.js} +151 -138
  119. package/dist/vue-ui-table-sparkline-bIy3kkHB.cjs +1 -0
  120. package/dist/{vue-ui-thermometer-BQbYzsSV.js → vue-ui-thermometer-BPTs7Nxc.js} +116 -104
  121. package/dist/vue-ui-thermometer-DDtxYr7w.cjs +1 -0
  122. package/dist/{vue-ui-timer-KGEswANF.js → vue-ui-timer-CkB7eZaE.js} +191 -176
  123. package/dist/vue-ui-timer-DRSSYxOX.cjs +64 -0
  124. package/dist/{vue-ui-tiremarks-BSkMCIu1.js → vue-ui-tiremarks-BbOaoY8S.js} +115 -103
  125. package/dist/vue-ui-tiremarks-Bttwg3-p.cjs +1 -0
  126. package/dist/vue-ui-treemap-Chq0WQPe.cjs +1 -0
  127. package/dist/{vue-ui-treemap-DIWveOrq.js → vue-ui-treemap-CoaK3wBl.js} +251 -237
  128. package/dist/{vue-ui-vertical-bar-Dx6wReOw.js → vue-ui-vertical-bar-BA43_uHV.js} +374 -358
  129. package/dist/vue-ui-vertical-bar-BLIUt-HT.cjs +4 -0
  130. package/dist/{vue-ui-waffle-D3jMPOd3.js → vue-ui-waffle-BoEf8CcG.js} +285 -265
  131. package/dist/vue-ui-waffle-NBjY0mko.cjs +1 -0
  132. package/dist/vue-ui-wheel-Bgo2jpj0.js +255 -0
  133. package/dist/vue-ui-wheel-t5bI4a-P.cjs +1 -0
  134. package/dist/vue-ui-word-cloud-DPW_-Hzz.cjs +1 -0
  135. package/dist/vue-ui-word-cloud-Jd9_JUyi.js +512 -0
  136. package/dist/{vue-ui-xy-9_2IHEOX.js → vue-ui-xy-BMBYAC4z.js} +300 -274
  137. package/dist/vue-ui-xy-CBHEBcZK.cjs +3 -0
  138. package/dist/vue-ui-xy-canvas-D5FqRF4p.cjs +9 -0
  139. package/dist/{vue-ui-xy-canvas-DGuGy69l.js → vue-ui-xy-canvas-LOsQ_DM-.js} +345 -327
  140. package/package.json +1 -1
  141. package/dist/vue-ui-3d-bar-DhzN0gd4.cjs +0 -19
  142. package/dist/vue-ui-age-pyramid-CfUUEeKt.cjs +0 -1
  143. package/dist/vue-ui-candlestick-DJIJnnI_.cjs +0 -2
  144. package/dist/vue-ui-carousel-table-uYt1zVjx.cjs +0 -1
  145. package/dist/vue-ui-chestnut-CG5krVO-.cjs +0 -6
  146. package/dist/vue-ui-donut-D6SrEIEJ.cjs +0 -1
  147. package/dist/vue-ui-donut-evolution-Cb45erSA.cjs +0 -1
  148. package/dist/vue-ui-dumbbell-DVabaAYH.cjs +0 -9
  149. package/dist/vue-ui-flow-Bn1EP9Z1.cjs +0 -1
  150. package/dist/vue-ui-flow-Cz_xaLAs.js +0 -469
  151. package/dist/vue-ui-galaxy-Drnhlmmw.cjs +0 -1
  152. package/dist/vue-ui-gauge-CxIVYnG2.js +0 -488
  153. package/dist/vue-ui-gauge-D2reVZ-b.cjs +0 -1
  154. package/dist/vue-ui-gizmo-B6ZwXwFY.cjs +0 -1
  155. package/dist/vue-ui-heatmap-ClFm7qUu.cjs +0 -1
  156. package/dist/vue-ui-kpi-CdPFWSHA.cjs +0 -1
  157. package/dist/vue-ui-kpi-ClreiT4V.js +0 -84
  158. package/dist/vue-ui-molecule-JJQ3af-R.cjs +0 -1
  159. package/dist/vue-ui-mood-radar-DT4JU_6B.cjs +0 -1
  160. package/dist/vue-ui-nested-donuts-D6Dihmne.cjs +0 -17
  161. package/dist/vue-ui-onion-DoNDCpth.cjs +0 -5
  162. package/dist/vue-ui-parallel-coordinate-plot-CJMjEDXR.cjs +0 -8
  163. package/dist/vue-ui-quadrant-DWqmU3-5.cjs +0 -1
  164. package/dist/vue-ui-quick-chart-CB5VelG0.cjs +0 -15
  165. package/dist/vue-ui-radar-aTceo-HQ.cjs +0 -1
  166. package/dist/vue-ui-relation-circle-D1z8MBVH.js +0 -310
  167. package/dist/vue-ui-relation-circle-DWGtziD_.cjs +0 -1
  168. package/dist/vue-ui-rings-gp0sEMy6.cjs +0 -2
  169. package/dist/vue-ui-scatter-BKl2fUIR.cjs +0 -1
  170. package/dist/vue-ui-spark-trend-C3sBXu8D.js +0 -251
  171. package/dist/vue-ui-spark-trend-CXkkMK6N.cjs +0 -1
  172. package/dist/vue-ui-sparkbar-BkN5iTUq.cjs +0 -1
  173. package/dist/vue-ui-sparkgauge-D4EqU3x3.cjs +0 -1
  174. package/dist/vue-ui-sparkgauge-FKTXvE7e.js +0 -167
  175. package/dist/vue-ui-sparkhistogram-BkJz2dBD.cjs +0 -1
  176. package/dist/vue-ui-sparkline-TPkuvKtA.cjs +0 -1
  177. package/dist/vue-ui-sparkstackbar-CzzfnPDS.cjs +0 -1
  178. package/dist/vue-ui-stackbar-NHgsl2-Z.cjs +0 -6
  179. package/dist/vue-ui-strip-plot-CU6OtKt7.cjs +0 -1
  180. package/dist/vue-ui-table-heatmap-DFMF1RZ0.cjs +0 -1
  181. package/dist/vue-ui-table-sparkline-DWvOKdPb.cjs +0 -1
  182. package/dist/vue-ui-thermometer-BOuuVWuf.cjs +0 -1
  183. package/dist/vue-ui-timer-BCiMjXdm.cjs +0 -64
  184. package/dist/vue-ui-tiremarks-DuEz8cO5.cjs +0 -1
  185. package/dist/vue-ui-treemap-BO8gKQ4O.cjs +0 -1
  186. package/dist/vue-ui-vertical-bar-Dpzyha_P.cjs +0 -4
  187. package/dist/vue-ui-waffle-C0-IVDjk.cjs +0 -1
  188. package/dist/vue-ui-wheel-B10kCoLD.js +0 -242
  189. package/dist/vue-ui-wheel-mWdIHlXV.cjs +0 -1
  190. package/dist/vue-ui-word-cloud-CYtRxpdV.cjs +0 -1
  191. package/dist/vue-ui-word-cloud-rhrsHes4.js +0 -498
  192. package/dist/vue-ui-xy-CFqs5rtd.cjs +0 -3
  193. package/dist/vue-ui-xy-canvas-sLH0pM-i.cjs +0 -9
@@ -1,17 +1,17 @@
1
1
  import { p as K } from "./pdf-97UbtKC2.js";
2
- import { U as Q, s as j } from "./usePrinter-B8-keRMa.js";
3
- import { c as J, a as $, t as ee, w as te, p as ae, u as ie, S as q, M as P, f as Z, H as le, E as re, i as se, Y as ne, V as oe, Z as ce, s as he, _ as de, d as ue, A as ge, b as fe, q as me, P as Ne, $ as Ie, r as be, e as xe, y as _e, K as Fe, x as ye, a0 as Ae, o as Le, v as ke, D as Se, z as Ce } from "./index-Dvs5Ra-u.js";
4
- import { D as we } from "./DataTable-BOdJVZzF.js";
5
- import { _ as Oe } from "./Title-Ngy9HNqO.js";
6
- import { _ as ve, u as Ge } from "./Tooltip-BCtg7xYX.js";
7
- import { _ as ze } from "./Shape-DNbJlwSU.js";
8
- import Me from "./BaseIcon-_V_BEdy8.js";
9
- import pe from "./vue-ui-table-sparkline-Bzqs2Hcp.js";
10
- import Pe from "./vue-ui-skeleton-CAvlIcgk.js";
11
- import { S as Te } from "./Slicer-8Gg45iGX.js";
12
- import Ve from "./vue-ui-accordion-C-qAry7P.js";
13
- import { u as U } from "./useNestedProp-UohhCyBz.js";
14
- import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as p, normalizeStyle as A, createVNode as X, createCommentVNode as c, createBlock as V, createSlots as Re, withCtx as z, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as m, renderList as b, toDisplayString as k, withDirectives as De, vModelCheckbox as He, createTextVNode as Ee } from "vue";
2
+ import { U as Q, s as j } from "./usePrinter-B8RnF8_q.js";
3
+ import { c as J, a as $, t as ee, w as te, p as ae, S as X, M as P, f as Z, H as ie, E as le, i as re, Y as se, V as ne, Z as oe, s as ce, _ as he, d as de, A as ue, b as ge, q as fe, P as me, $ as Ne, r as Ie, e as be, y as xe, K as _e, x as Fe, a0 as ye, o as Ae, v as Le, D as Se, z as Ce, u as ke } from "./index-Cm4Iry5c.js";
4
+ import { D as we } from "./DataTable-CQANRZju.js";
5
+ import { _ as Oe } from "./Title-C26I_HC3.js";
6
+ import { _ as ve, u as Ge } from "./Tooltip-CH8GmDCG.js";
7
+ import { _ as ze } from "./Shape-kqcyauhC.js";
8
+ import pe from "./BaseIcon-BAOfPaXs.js";
9
+ import Me from "./vue-ui-table-sparkline-Y6Lrrzxy.js";
10
+ import Pe from "./vue-ui-skeleton-C1oUnz7R.js";
11
+ import { S as Te } from "./Slicer-yaJs-izT.js";
12
+ import Ve from "./vue-ui-accordion-Cb6XBCbu.js";
13
+ import { u as U } from "./useNestedProp-CurQIHTa.js";
14
+ import { resolveComponent as T, openBlock as l, createElementBlock as r, normalizeClass as M, normalizeStyle as A, createBlock as V, createCommentVNode as h, createSlots as Re, withCtx as z, renderSlot as O, normalizeProps as B, guardReactiveProps as Y, createElementVNode as u, Fragment as m, renderList as b, toDisplayString as S, createVNode as q, withDirectives as De, vModelCheckbox as He, createTextVNode as Ee } from "vue";
15
15
  import { _ as We } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
16
  const Be = J(), Ye = {
17
17
  name: "vue-ui-xy",
@@ -35,22 +35,22 @@ const Be = J(), Ye = {
35
35
  Title: Oe,
36
36
  Tooltip: ve,
37
37
  UserOptions: Q,
38
- BaseIcon: Me,
39
- TableSparkline: pe,
38
+ BaseIcon: pe,
39
+ TableSparkline: Me,
40
40
  Skeleton: Pe,
41
41
  Slicer: Te,
42
42
  Accordion: Ve
43
43
  },
44
44
  data() {
45
- this.dataset.forEach((h, f) => {
46
- [null, void 0].includes(h.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((h) => h.series.length)), s = {
53
+ const i = Math.max(...this.dataset.map((c) => c.series.length)), s = {
54
54
  start: 0,
55
55
  end: i
56
56
  };
@@ -98,6 +98,8 @@ const Be = J(), Ye = {
98
98
  segregatedSeries: [],
99
99
  uniqueId: J(),
100
100
  step: 0,
101
+ tableStep: 0,
102
+ titleStep: 0,
101
103
  slicer: s,
102
104
  __to__: null,
103
105
  maxX: i,
@@ -117,14 +119,31 @@ const Be = J(), Ye = {
117
119
  selectedMinimapIndex: null
118
120
  };
119
121
  },
122
+ watch: {
123
+ dataset: {
124
+ handler(i, s) {
125
+ this.maxX = Math.max(...this.dataset.map((c) => c.series.length)), this.slicer = {
126
+ start: 0,
127
+ end: this.maxX
128
+ }, this.slicerStep += 1, this.segregateStep += 1;
129
+ },
130
+ deep: !0
131
+ },
132
+ config: {
133
+ handler(i, s) {
134
+ this.FINAL_CONFIG = this.prepareConfig(), this.prepareChart(), this.titleStep += 1, this.tableStep += 1;
135
+ },
136
+ deep: !0
137
+ }
138
+ },
120
139
  computed: {
121
140
  minimap() {
122
141
  if (!this.FINAL_CONFIG.chart.zoom.minimap.show) return [];
123
- const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), h = [];
142
+ const i = this.datasetWithIds.filter((t) => !this.segregatedSeries.includes(t.id)), s = Math.max(...i.map((t) => t.series.length)), c = [];
124
143
  for (let t = 0; t < s; t += 1)
125
- h.push(i.map((e) => e.series[t] || 0).reduce((e, I) => (e || 0) + (I || 0), 0));
126
- const f = Math.min(...h);
127
- return h.map((t) => t + (f < 0 ? Math.abs(f) : 0));
144
+ c.push(i.map((e) => e.series[t] || 0).reduce((e, I) => (e || 0) + (I || 0), 0));
145
+ const f = Math.min(...c);
146
+ return c.map((t) => t + (f < 0 ? Math.abs(f) : 0));
128
147
  },
129
148
  customPalette() {
130
149
  return this.convertCustomPalette(this.FINAL_CONFIG.customPalette);
@@ -159,7 +178,7 @@ const Be = J(), Ye = {
159
178
  id: t.id,
160
179
  yOffset: t.yOffset || 0,
161
180
  individualHeight: t.individualHeight || this.drawingArea.height
162
- })), h = this.plotSet.map((t) => ({
181
+ })), c = this.plotSet.map((t) => ({
163
182
  name: t.name,
164
183
  color: t.color,
165
184
  scale: t.individualScale,
@@ -171,8 +190,8 @@ const Be = J(), Ye = {
171
190
  id: t.id,
172
191
  yOffset: t.yOffset || 0,
173
192
  individualHeight: t.individualHeight || this.drawingArea.height
174
- })), f = [...i, ...s, ...h].flatMap((t) => t).length;
175
- return [...i, ...s, ...h].flatMap((t, e) => ({
193
+ })), f = [...i, ...s, ...c].flatMap((t) => t).length;
194
+ return [...i, ...s, ...c].flatMap((t, e) => ({
176
195
  id: t.id,
177
196
  scaleLabel: t.scaleLabel,
178
197
  name: t.name,
@@ -196,20 +215,7 @@ const Be = J(), Ye = {
196
215
  },
197
216
  FINAL_CONFIG: {
198
217
  get: function() {
199
- const i = ie().vue_ui_xy;
200
- if (!Object.keys(this.config || {}).length)
201
- return i;
202
- const s = this.useNestedProp({
203
- userConfig: this.config,
204
- defaultConfig: i
205
- });
206
- 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 ? {
207
- ...U({
208
- userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
209
- defaultConfig: s
210
- }),
211
- customPalette: this.themePalettes[s.theme] || this.palette
212
- } : s;
218
+ return this.prepareConfig();
213
219
  },
214
220
  set: function(i) {
215
221
  return i;
@@ -245,7 +251,7 @@ const Be = J(), Ye = {
245
251
  safeDataset() {
246
252
  return this.useSafeValues ? this.dataset.map((i, s) => ({
247
253
  ...i,
248
- series: i.series.map((h) => this.isSafeValue(h) ? h : null).slice(this.slicer.start, this.slicer.end),
254
+ series: i.series.map((c) => this.isSafeValue(c) ? c : null).slice(this.slicer.start, this.slicer.end),
249
255
  color: this.convertColorToHex(i.color ? i.color : this.customPalette[s] ? this.customPalette[s] : this.palette[s]),
250
256
  id: `uniqueId_${s}`
251
257
  })) : this.dataset;
@@ -253,13 +259,13 @@ const Be = J(), Ye = {
253
259
  relativeDataset() {
254
260
  return this.safeDataset.map((i, s) => ({
255
261
  ...i,
256
- series: i.series.map((h) => h + this.relativeZero),
262
+ series: i.series.map((c) => c + this.relativeZero),
257
263
  absoluteValues: i.series
258
264
  })).filter((i) => !this.segregatedSeries.includes(i.id));
259
265
  },
260
266
  tableSparklineDataset() {
261
267
  return this.relativeDataset.map((i) => {
262
- const s = i.absoluteValues.map((h) => [void 0, null].includes(h) ? 0 : h);
268
+ const s = i.absoluteValues.map((c) => [void 0, null].includes(c) ? 0 : c);
263
269
  return {
264
270
  id: i.id,
265
271
  name: i.name,
@@ -298,7 +304,7 @@ const Be = J(), Ye = {
298
304
  return this.safeDataset.map((i, s) => ({
299
305
  absoluteIndex: s,
300
306
  ...i,
301
- series: i.series.map((h) => h + this.relativeZero),
307
+ series: i.series.map((c) => c + this.relativeZero),
302
308
  absoluteValues: i.series,
303
309
  segregate: () => this.segregate(i),
304
310
  isSegregated: this.segregatedSeries.includes(i.id)
@@ -307,15 +313,15 @@ const Be = J(), Ye = {
307
313
  barSet() {
308
314
  return this.activeSeriesWithStackRatios.filter((i) => i.type === "bar").map((i, s) => {
309
315
  this.checkAutoScaleError(i);
310
- const h = Math.min(...i.absoluteValues.filter((d) => ![null, void 0].includes(d))), f = Math.max(...i.absoluteValues.filter((d) => ![null, void 0].includes(d))), e = {
311
- ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - h) / (f - h)),
312
- valueMin: h,
316
+ const c = 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 - c) / (f - c)),
318
+ valueMin: c,
313
319
  valueMax: f < 0 ? 0 : f
314
320
  }, I = {
315
321
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
316
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)))
317
- }, 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, o = 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, _) => {
318
- const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + M) / G : this.ratioToMax(d), W = 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;
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), p = N.min >= 0 ? 0 : Math.abs(N.min), C = 0, G = N.max + p, v = y.max + Math.abs(C), 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, o = this.drawingArea.bottom - x - a * p / G, n = this.drawingArea.bottom - x - a * C / v, g = this.absoluteDataset.filter((d) => d.type === "bar").filter((d) => !this.segregatedSeries.includes(d.id)).length, R = i.series.map((d, _) => {
324
+ const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + p) / G : this.ratioToMax(d), W = 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;
319
325
  return {
320
326
  yOffset: this.checkNaN(x),
321
327
  individualHeight: this.checkNaN(a),
@@ -341,7 +347,7 @@ const Be = J(), Ye = {
341
347
  }), F = N.ticks.map((d) => ({
342
348
  y: d >= 0 ? o - a * (d / G) : o + a * Math.abs(d) / G,
343
349
  value: d
344
- })), C = y.ticks.map((d) => {
350
+ })), k = y.ticks.map((d) => {
345
351
  const _ = (d - y.min) / (y.max - y.min);
346
352
  return {
347
353
  y: d >= 0 ? n - a * _ : n + a * _,
@@ -351,9 +357,9 @@ const Be = J(), Ye = {
351
357
  return {
352
358
  ...i,
353
359
  yOffset: x,
354
- autoScaleYLabels: C,
360
+ autoScaleYLabels: k,
355
361
  individualHeight: a,
356
- scaleYLabels: i.autoScaling ? C : F,
362
+ scaleYLabels: i.autoScaling ? k : F,
357
363
  individualScale: i.autoScaling ? y : N,
358
364
  individualMax: i.autoScaling ? v : G,
359
365
  zeroPosition: i.autoScaling ? n : o,
@@ -370,15 +376,15 @@ const Be = J(), Ye = {
370
376
  lineSet() {
371
377
  return this.activeSeriesWithStackRatios.filter((i) => i.type === "line").map((i) => {
372
378
  this.checkAutoScaleError(i);
373
- const s = Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))), h = Math.max(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))) || 1, t = {
374
- ratios: i.absoluteValues.filter((d) => ![null, void 0].includes(d)).map((d) => (d - s) / (h - s)),
379
+ const s = Math.min(...i.absoluteValues.filter((d) => ![void 0, null].includes(d))), c = 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) / (c - s)),
375
381
  valueMin: s,
376
- valueMax: h
382
+ valueMax: c
377
383
  }, e = {
378
384
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
379
385
  min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
380
- }, 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, o = this.drawingArea.bottom - v - x * M / G, n = i.series.map((d, _) => {
381
- const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + Math.abs(y)) / S : this.ratioToMax(d);
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), p = 0, C = L.max + Math.abs(y), G = N.max + Math.abs(p), 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 / C, o = this.drawingArea.bottom - v - x * p / G, n = i.series.map((d, _) => {
387
+ const E = this.mutableConfig.useIndividualScale ? (i.absoluteValues[_] + Math.abs(y)) / C : this.ratioToMax(d);
382
388
  return {
383
389
  x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * _),
384
390
  y: this.checkNaN(this.drawingArea.bottom - v - x * E),
@@ -394,9 +400,9 @@ const Be = J(), Ye = {
394
400
  comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[_] || ""
395
401
  };
396
402
  }), H = this.createSmoothPath(n), D = this.createSmoothPath(R), F = L.ticks.map((d) => ({
397
- y: d >= 0 ? a - x * (d / S) : a + x * Math.abs(d) / S,
403
+ y: d >= 0 ? a - x * (d / C) : a + x * Math.abs(d) / C,
398
404
  value: d
399
- })), C = N.ticks.map((d) => {
405
+ })), k = N.ticks.map((d) => {
400
406
  const _ = (d - N.min) / (N.max - N.min);
401
407
  return {
402
408
  y: d >= 0 ? o - x * _ : o + x * _,
@@ -406,11 +412,11 @@ const Be = J(), Ye = {
406
412
  return {
407
413
  ...i,
408
414
  yOffset: v,
409
- autoScaleYLabels: C,
415
+ autoScaleYLabels: k,
410
416
  individualHeight: x,
411
- scaleYLabels: i.autoScaling ? C : F,
417
+ scaleYLabels: i.autoScaling ? k : F,
412
418
  individualScale: i.autoScaling ? N : L,
413
- individualMax: i.autoScaling ? G : S,
419
+ individualMax: i.autoScaling ? G : C,
414
420
  zeroPosition: i.autoScaling ? o : a,
415
421
  curve: i.autoScaling ? D : H,
416
422
  plots: i.autoScaling ? R : n,
@@ -421,33 +427,33 @@ const Be = J(), Ye = {
421
427
  plotSet() {
422
428
  return this.activeSeriesWithStackRatios.filter((i) => i.type === "plot").map((i) => {
423
429
  this.checkAutoScaleError(i);
424
- const s = Math.min(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))), h = Math.max(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))) || 1, t = {
425
- ratios: i.absoluteValues.filter((F) => ![null, void 0].includes(F)).map((F) => (F - s) / (h - s)),
430
+ const s = Math.min(...i.absoluteValues.filter((F) => ![null, void 0].includes(F))), c = 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) / (c - s)),
426
432
  valueMin: s,
427
- valueMax: h
433
+ valueMax: c
428
434
  }, e = {
429
435
  max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
430
436
  min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
431
- }, 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, o = this.drawingArea.bottom - v - x * M / G, n = i.series.map((F, C) => {
432
- const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[C] + Math.abs(y)) / S : this.ratioToMax(F);
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), p = 0, C = L.max + y, G = N.max + Math.abs(p), 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 / C, o = this.drawingArea.bottom - v - x * p / G, n = i.series.map((F, k) => {
438
+ const d = this.mutableConfig.useIndividualScale ? (i.absoluteValues[k] + Math.abs(y)) / C : this.ratioToMax(F);
433
439
  return {
434
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * C),
440
+ x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * k),
435
441
  y: this.checkNaN(this.drawingArea.bottom - v - x * d),
436
- value: i.absoluteValues[C],
437
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[C] || ""
442
+ value: i.absoluteValues[k],
443
+ comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[k] || ""
438
444
  };
439
- }), 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, C) => ({
440
- x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * C),
441
- y: this.checkNaN(this.drawingArea.bottom - v - (x * g[C] || 0)),
442
- value: i.absoluteValues[C],
443
- comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[C] || ""
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] || ""
444
450
  })), H = L.ticks.map((F) => ({
445
- y: F >= 0 ? a - x * (F / S) : a + x * Math.abs(F) / S,
451
+ y: F >= 0 ? a - x * (F / C) : a + x * Math.abs(F) / C,
446
452
  value: F
447
453
  })), D = N.ticks.map((F) => {
448
- const C = (F - N.min) / (N.max - N.min);
454
+ const k = (F - N.min) / (N.max - N.min);
449
455
  return {
450
- y: F >= 0 ? o - x * C : o + x * C,
456
+ y: F >= 0 ? o - x * k : o + x * k,
451
457
  value: F
452
458
  };
453
459
  });
@@ -458,7 +464,7 @@ const Be = J(), Ye = {
458
464
  individualHeight: x,
459
465
  scaleYLabels: i.autoScaling ? D : H,
460
466
  individualScale: i.autoScaling ? N : L,
461
- individualMax: i.autoScaling ? G : S,
467
+ individualMax: i.autoScaling ? G : C,
462
468
  zeroPosition: i.autoScaling ? o : a,
463
469
  plots: i.autoScaling ? R : n
464
470
  };
@@ -512,13 +518,13 @@ const Be = J(), Ye = {
512
518
  },
513
519
  table() {
514
520
  if (this.safeDataset.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
515
- const i = this.relativeDataset.map((h) => ({
516
- label: h.name,
517
- color: h.color,
518
- type: h.type
521
+ const i = this.relativeDataset.map((c) => ({
522
+ label: c.name,
523
+ color: c.color,
524
+ type: c.type
519
525
  })), s = [];
520
- return this.timeLabels.forEach((h, f) => {
521
- const t = [h];
526
+ return this.timeLabels.forEach((c, f) => {
527
+ const t = [c];
522
528
  this.relativeDataset.forEach((e) => {
523
529
  t.push(this.canShowValue(e.absoluteValues[f]) ? Number(e.absoluteValues[f].toFixed(this.FINAL_CONFIG.table.rounding)) : "");
524
530
  }), s.push(t);
@@ -531,7 +537,7 @@ const Be = J(), Ye = {
531
537
  const e = this.relativeDataset.map((I) => I.absoluteValues[t] ?? 0).reduce((I, w) => I + w, 0);
532
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)));
533
539
  }
534
- const h = {
540
+ const c = {
535
541
  th: {
536
542
  backgroundColor: this.FINAL_CONFIG.table.th.backgroundColor,
537
543
  color: this.FINAL_CONFIG.table.th.color,
@@ -544,7 +550,7 @@ const Be = J(), Ye = {
544
550
  },
545
551
  breakpoint: this.FINAL_CONFIG.table.responsiveBreakpoint
546
552
  }, f = [this.FINAL_CONFIG.table.columnNames.period].concat(this.relativeDataset.map((t) => t.name)).concat(this.FINAL_CONFIG.table.columnNames.total);
547
- return { head: i, body: s, config: h, colNames: f };
553
+ return { head: i, body: s, config: c, colNames: f };
548
554
  },
549
555
  dataTooltipSlot() {
550
556
  return {
@@ -563,13 +569,13 @@ const Be = J(), Ye = {
563
569
  name: i.name,
564
570
  color: i.color,
565
571
  type: i.type,
566
- value: i.absoluteValues.find((s, h) => h === this.selectedSerieIndex),
572
+ value: i.absoluteValues.find((s, c) => c === this.selectedSerieIndex),
567
573
  comments: i.comments || []
568
574
  }));
569
575
  },
570
576
  tooltipContent() {
571
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);
572
- const h = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
578
+ const c = this.timeLabels[this.selectedSerieIndex], f = this.FINAL_CONFIG.chart.tooltip.customFormat;
573
579
  return this.isFunction(f) && this.functionReturnsString(() => f({
574
580
  seriesIndex: this.selectedSerieIndex,
575
581
  datapoint: this.selectedSeries,
@@ -586,7 +592,7 @@ const Be = J(), Ye = {
586
592
  lines: this.lineSet,
587
593
  plots: this.plotSet,
588
594
  config: this.FINAL_CONFIG
589
- }) : (h && (i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${this.FINAL_CONFIG.chart.tooltip.borderColor}; width:100%">${h}</div>`), this.selectedSeries.forEach((t) => {
595
+ }) : (c && (i += `<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((t) => {
590
596
  if (this.isSafeValue(t.value)) {
591
597
  let e = "", I = "";
592
598
  switch (this.icons[t.type]) {
@@ -594,7 +600,7 @@ const Be = J(), Ye = {
594
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>`;
595
601
  break;
596
602
  case "line":
597
- !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="${q({ plot: { x: 10, y: 8 }, radius: 4 })}" />`), e = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="3" x="0" y="6" stroke="none" height="4" width="20" fill="${t.color}" />${I}</svg>`;
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>`;
598
604
  break;
599
605
  case "plot":
600
606
  if (!t.shape || !["star", "triangle", "square", "diamond", "pentagon", "hexagon"].includes(t.shape)) {
@@ -602,7 +608,7 @@ const Be = J(), Ye = {
602
608
  break;
603
609
  }
604
610
  if (t.shape === "star") {
605
- e = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${this.FINAL_CONFIG.chart.tooltip.backgroundColor}" stroke-width="1" fill="${t.color}" points="${q({ plot: { x: 6, y: 6 }, radius: 5 })}" /></svg>`;
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>`;
606
612
  break;
607
613
  }
608
614
  if (t.shape === "triangle") {
@@ -661,79 +667,98 @@ const Be = J(), Ye = {
661
667
  }
662
668
  },
663
669
  mounted() {
664
- if (this.objectIsEmpty(this.dataset) ? this.error({
665
- componentName: "VueUiXy",
666
- type: "dataset"
667
- }) : this.dataset.forEach((i, s) => {
668
- [null, void 0].includes(i.name) && this.error({
669
- componentName: "VueUiXy",
670
- type: "datasetSerieAttribute",
671
- property: "name (string)",
672
- index: s
673
- });
674
- }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
675
- i.series.forEach((s, h) => {
676
- this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
677
- -----> The serie '${i.name}' contains the value '${s}' at index ${h}.
678
- '${s}' was converted to null to allow the chart to display.`);
679
- });
680
- }), document.addEventListener("mousemove", (i) => {
670
+ this.prepareChart(), document.addEventListener("mousemove", (i) => {
681
671
  this.clientPosition = {
682
672
  x: i.clientX,
683
673
  y: i.clientY
684
674
  };
685
- }), this.mutableConfig = {
686
- dataLabels: {
687
- show: !0
688
- },
689
- showTooltip: this.FINAL_CONFIG.chart.tooltip.show === !0,
690
- showTable: this.FINAL_CONFIG.showTable === !0,
691
- isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
692
- useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
693
- }, this.FINAL_CONFIG.responsive) {
694
- const s = this.$refs.chart.parentNode, { height: h, width: f } = s.getBoundingClientRect();
695
- let t = null, e = 0;
696
- this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
697
- let I = null, w = 0;
698
- this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (I = this.$refs.chartSlicer.$el, w = I.getBoundingClientRect().height);
699
- let L = null, N = 0;
700
- this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend, N = L.getBoundingClientRect().height), this.height = h - 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) => {
701
- for (const S of M)
702
- 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();
703
- }).observe(s);
704
- } else
705
- 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;
675
+ });
706
676
  },
707
677
  methods: {
708
- abbreviate: le,
709
- adaptColorToBackground: re,
710
- applyDataLabel: se,
711
- assignStackRatios: ne,
712
- calcLinearProgression: oe,
713
- calculateNiceScaleWithExactExtremes: ce,
714
- checkNaN: he,
715
- closestDecimal: de,
716
- convertColorToHex: ue,
717
- convertConfigColors: ge,
718
- convertCustomPalette: fe,
719
- createCsvContent: me,
720
- createSmoothPath: Ne,
721
- createTSpans: Ie,
678
+ abbreviate: ie,
679
+ adaptColorToBackground: le,
680
+ applyDataLabel: re,
681
+ assignStackRatios: se,
682
+ calcLinearProgression: ne,
683
+ calculateNiceScaleWithExactExtremes: oe,
684
+ checkNaN: ce,
685
+ closestDecimal: he,
686
+ convertColorToHex: de,
687
+ convertConfigColors: ue,
688
+ convertCustomPalette: ge,
689
+ createCsvContent: fe,
690
+ createSmoothPath: me,
691
+ createTSpans: Ne,
722
692
  dataLabel: Z,
723
- downloadCsv: be,
724
- error: xe,
725
- functionReturnsString: _e,
726
- hasDeepProperty: Fe,
693
+ downloadCsv: Ie,
694
+ error: be,
695
+ functionReturnsString: xe,
696
+ hasDeepProperty: _e,
727
697
  img: j,
728
- isFunction: ye,
729
- isSafeValue: Ae,
730
- objectIsEmpty: Le,
698
+ isFunction: Fe,
699
+ isSafeValue: ye,
700
+ objectIsEmpty: Ae,
731
701
  pdf: K,
732
- shiftHue: ke,
702
+ shiftHue: Le,
733
703
  translateSize: Se,
734
704
  treeShake: Ce,
735
705
  useMouse: Ge,
736
706
  useNestedProp: U,
707
+ prepareConfig() {
708
+ const i = ke().vue_ui_xy;
709
+ if (!Object.keys(this.config || {}).length)
710
+ return i;
711
+ const s = this.useNestedProp({
712
+ userConfig: this.config,
713
+ defaultConfig: i
714
+ });
715
+ 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 ? {
716
+ ...U({
717
+ userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
718
+ defaultConfig: s
719
+ }),
720
+ customPalette: this.themePalettes[s.theme] || this.palette
721
+ } : s;
722
+ },
723
+ prepareChart() {
724
+ if (this.objectIsEmpty(this.dataset) ? this.error({
725
+ componentName: "VueUiXy",
726
+ type: "dataset"
727
+ }) : this.dataset.forEach((i, s) => {
728
+ [null, void 0].includes(i.name) && this.error({
729
+ componentName: "VueUiXy",
730
+ type: "datasetSerieAttribute",
731
+ property: "name (string)",
732
+ index: s
733
+ });
734
+ }), this.FINAL_CONFIG.showWarnings && this.dataset.forEach((i) => {
735
+ i.series.forEach((s, c) => {
736
+ this.isSafeValue(s) || console.warn(`VueUiXy has detected an unsafe value in your dataset:
737
+ -----> The serie '${i.name}' contains the value '${s}' at index ${c}.
738
+ '${s}' was converted to null to allow the chart to display.`);
739
+ });
740
+ }), this.mutableConfig = {
741
+ dataLabels: {
742
+ show: !0
743
+ },
744
+ showTooltip: this.FINAL_CONFIG.chart.tooltip.show === !0,
745
+ showTable: this.FINAL_CONFIG.showTable === !0,
746
+ isStacked: this.FINAL_CONFIG.chart.grid.labels.yAxis.stacked,
747
+ useIndividualScale: this.FINAL_CONFIG.chart.grid.labels.yAxis.useIndividualScale
748
+ }, this.FINAL_CONFIG.responsive) {
749
+ const s = this.$refs.chart.parentNode, { height: c, width: f } = s.getBoundingClientRect();
750
+ let t = null, e = 0;
751
+ this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
752
+ let I = null, w = 0;
753
+ this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (I = this.$refs.chartSlicer.$el, w = I.getBoundingClientRect().height);
754
+ let L = null, N = 0;
755
+ this.FINAL_CONFIG.chart.legend.show && (L = this.$refs.chartLegend, N = L.getBoundingClientRect().height), this.height = c - 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((p) => {
756
+ for (const C of p)
757
+ 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 = C.contentBoxSize[0].blockSize - e - N - w - 24, this.width = C.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
758
+ }).observe(s);
759
+ } else
760
+ 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;
761
+ },
737
762
  selectMinimapIndex(i) {
738
763
  this.selectedMinimapIndex = i;
739
764
  },
@@ -793,25 +818,25 @@ const Be = J(), Ye = {
793
818
  },
794
819
  createArea(i) {
795
820
  if (!i[0]) return [-10, -10, "", -10, -10];
796
- const s = { x: i[0].x, y: this.zero }, h = { x: i.at(-1).x, y: this.zero }, f = [];
821
+ const s = { x: i[0].x, y: this.zero }, c = { x: i.at(-1).x, y: this.zero }, f = [];
797
822
  return i.forEach((t) => {
798
823
  f.push(`${t.x},${t.y} `);
799
- }), [s.x, s.y, ...f, h.x, h.y].toString();
824
+ }), [s.x, s.y, ...f, c.x, c.y].toString();
800
825
  },
801
826
  createIndividualArea(i, s) {
802
827
  if (!i[0]) return [-10, -10, "", -10, -10];
803
- const h = { x: i[0] ? i[0].x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, f = { x: i.at(-1) ? i.at(-1).x : Math.min(...i.filter((e) => !!e).map((e) => e.x)), y: s }, t = [];
828
+ const c = { 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 = [];
804
829
  return i.filter((e) => !!e).forEach((e) => {
805
830
  t.push(`${e.x},${e.y} `);
806
- }), [h.x, h.y, ...t, f.x, f.y].toString();
831
+ }), [c.x, c.y, ...t, f.x, f.y].toString();
807
832
  },
808
- createStar: q,
833
+ createStar: X,
809
834
  createPolygonPath: P,
810
835
  fillArray(i, s) {
811
- let h = Array(i).fill(0);
836
+ let c = Array(i).fill(0);
812
837
  for (let f = 0; f < s.length && f < i; f += 1)
813
- h[f] = s[f];
814
- return h;
838
+ c[f] = s[f];
839
+ return c;
815
840
  },
816
841
  refreshSlicer() {
817
842
  this.slicer = {
@@ -841,12 +866,12 @@ const Be = J(), Ye = {
841
866
  return ![null, void 0, NaN, 1 / 0, -1 / 0].includes(i);
842
867
  },
843
868
  findClosestValue(i, s) {
844
- let h = s[0], f = Math.abs(i - s[0]);
869
+ let c = s[0], f = Math.abs(i - s[0]);
845
870
  for (let t = 1; t < s.length; t += 1) {
846
871
  const e = Math.abs(i - s[t]);
847
- e < f && s[t] < i && (h = s[t], f = e);
872
+ e < f && s[t] < i && (c = s[t], f = e);
848
873
  }
849
- return h;
874
+ return c;
850
875
  },
851
876
  ratioToMax(i) {
852
877
  return i / (this.canShowValue(this.absoluteMax) ? this.absoluteMax : 1);
@@ -908,7 +933,7 @@ const Be = J(), Ye = {
908
933
  }, 100);
909
934
  },
910
935
  generateCsv() {
911
- const i = [[this.FINAL_CONFIG.chart.title.text], [this.FINAL_CONFIG.chart.title.subtitle.text], [""]], s = ["", ...this.table.head.map((e) => e.label)], h = this.table.body, f = i.concat([s]).concat(h), t = this.createCsvContent(f);
936
+ const i = [[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 = i.concat([s]).concat(c), t = this.createCsvContent(f);
912
937
  this.downloadCsv({ csvContent: t, title: this.FINAL_CONFIG.chart.title.text || "vue-ui-xy" });
913
938
  },
914
939
  showSpinnerImage() {
@@ -926,7 +951,7 @@ const Be = J(), Ye = {
926
951
  }, 100);
927
952
  }
928
953
  }
929
- }, Xe = ["id"], qe = ["viewBox"], Ze = { key: 0 }, Ue = { class: "vue-ui-xy-grid" }, Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], Qe = { key: 1 }, je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = { key: 3 }, at = ["x1", "x2", "y1", "y2", "stroke"], it = ["id"], lt = ["stop-color"], rt = ["stop-color"], st = ["stop-color"], nt = ["id"], ot = ["stop-color"], ct = ["stop-color"], ht = ["stop-color"], dt = ["id"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], mt = ["stop-color"], Nt = ["stop-color"], It = ["id"], bt = ["stop-color"], xt = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], Ft = ["x", "y", "width"], yt = ["x", "y", "height", "width", "fill"], At = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["width", "x", "y"], kt = { key: 0 }, St = ["id"], Ct = ["fill"], wt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ot = ["x", "y", "font-size", "fill"], vt = ["stroke", "x1", "x2", "y1", "y2"], Gt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Mt = ["y", "width", "height", "fill"], pt = ["x", "y", "width", "height", "fill"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Tt = { key: 4 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["fill", "font-size", "transform"], Dt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Bt = ["width", "x", "y"], Yt = { style: { width: "100%" } }, Xt = { key: 0 }, qt = ["id"], Zt = ["fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Jt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $t = { key: 0 }, ea = ["d", "fill"], ta = ["d", "fill"], aa = ["d", "stroke", "stroke-width", "stroke-dasharray"], ia = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], sa = { style: { width: "100%" } }, na = { key: 3 }, oa = ["id"], ca = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], da = ["x", "y", "font-size", "fill"], ua = { key: 5 }, ga = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Na = ["x", "y", "font-size", "fill"], Ia = ["x", "y"], ba = ["x", "y"], xa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], Fa = ["x", "y"], ya = ["x", "y"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "width", "height", "fill", "onMouseenter"], wa = ["font-size", "fill", "transform"], Oa = ["x", "y", "font-size", "fill"], va = { key: 9 }, Ga = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], Ma = { key: 10 }, pa = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Ta = {
954
+ }, Xe = ["id"], qe = ["viewBox"], Ze = { key: 0 }, Ue = { class: "vue-ui-xy-grid" }, Je = ["stroke", "x1", "x2", "y1", "y2"], Ke = ["stroke", "x1", "x2", "y1", "y2"], Qe = { key: 1 }, je = ["x1", "x2", "y1", "y2", "stroke"], $e = ["x1", "x2", "y1", "y2", "stroke"], et = ["x1", "x2", "y1", "y2", "stroke"], tt = { key: 3 }, at = ["x1", "x2", "y1", "y2", "stroke"], it = ["id"], lt = ["stop-color"], rt = ["stop-color"], st = ["stop-color"], nt = ["id"], ot = ["stop-color"], ct = ["stop-color"], ht = ["stop-color"], dt = ["id"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], mt = ["stop-color"], Nt = ["stop-color"], It = ["id"], bt = ["stop-color"], xt = ["stop-color"], _t = ["x", "y", "height", "width", "fill"], Ft = ["x", "y", "width"], yt = ["x", "y", "height", "width", "fill"], At = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Lt = ["width", "x", "y"], St = { key: 0 }, Ct = ["id"], kt = ["fill"], wt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ot = ["x", "y", "font-size", "fill"], vt = ["stroke", "x1", "x2", "y1", "y2"], Gt = { key: 2 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], pt = ["y", "width", "height", "fill"], Mt = ["x", "y", "width", "height", "fill"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Tt = { key: 4 }, Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Rt = ["fill", "font-size", "transform"], Dt = ["x1", "x2", "y1", "y2", "stroke"], Ht = ["x", "y", "font-size", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Bt = ["width", "x", "y"], Yt = { style: { width: "100%" } }, Xt = { key: 0 }, qt = ["id"], Zt = ["fill"], Ut = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Jt = ["x", "y", "font-size", "fill"], Kt = ["d", "stroke", "stroke-width", "stroke-dasharray"], Qt = { key: 1 }, jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], $t = { key: 0 }, ea = ["d", "fill"], ta = ["d", "fill"], aa = ["d", "stroke", "stroke-width", "stroke-dasharray"], ia = { key: 2 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ra = ["width", "x", "y"], sa = { style: { width: "100%" } }, na = { key: 3 }, oa = ["id"], ca = ["fill"], ha = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], da = ["x", "y", "font-size", "fill"], ua = { key: 5 }, ga = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill", "font-weight"], ma = { key: 6 }, Na = ["x", "y", "font-size", "fill"], Ia = ["x", "y"], ba = ["x", "y"], xa = { key: 7 }, _a = ["x", "y", "font-size", "fill"], Fa = ["x", "y"], ya = ["x", "y"], Aa = ["x", "y", "font-size", "fill", "innerHTML"], La = ["x", "y", "font-size", "fill", "innerHTML"], Sa = ["x", "y", "font-size", "fill", "innerHTML"], Ca = ["x", "y", "font-size", "fill", "innerHTML"], ka = ["x", "y", "width", "height", "fill", "onMouseenter"], wa = ["font-size", "fill", "transform"], Oa = ["x", "y", "font-size", "fill"], va = { key: 9 }, Ga = ["text-anchor", "font-size", "fill", "transform"], za = ["x", "y", "height", "width", "onMouseenter", "onClick"], pa = { key: 10 }, Ma = ["x", "y"], Pa = ["cx", "cy", "r", "fill"], Ta = {
930
955
  key: 3,
931
956
  class: "vue-data-ui-watermark"
932
957
  }, Va = ["onClick"], Ra = {
@@ -946,11 +971,11 @@ const Be = J(), Ye = {
946
971
  style: { display: "flex", "flex-direction": "row", gap: "6px", "align-items": "center", "padding-left": "6px" },
947
972
  "data-html2canvas-ignore": ""
948
973
  }, Ya = ["innerHTML"];
949
- function Xa(i, s, h, f, t, e) {
950
- 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");
974
+ function Xa(i, s, c, f, t, e) {
975
+ const I = T("Title"), w = T("UserOptions"), L = T("Shape"), N = T("Skeleton"), y = T("Slicer"), p = T("Tooltip"), C = T("BaseIcon"), G = T("TableSparkline"), v = T("DataTable"), x = T("Accordion");
951
976
  return l(), r("div", {
952
977
  id: `vue-ui-xy_${t.uniqueId}`,
953
- class: p(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
978
+ class: M(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
954
979
  ref: "chart",
955
980
  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%" : ""}`)
956
981
  }, [
@@ -960,7 +985,8 @@ function Xa(i, s, h, f, t, e) {
960
985
  class: "vue-ui-xy-title",
961
986
  style: A(`font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
962
987
  }, [
963
- X(I, {
988
+ (l(), V(I, {
989
+ key: `title_${t.titleStep}`,
964
990
  config: {
965
991
  title: {
966
992
  cy: "xy-div-title",
@@ -971,8 +997,8 @@ function Xa(i, s, h, f, t, e) {
971
997
  ...e.FINAL_CONFIG.chart.title.subtitle
972
998
  }
973
999
  }
974
- }, null, 8, ["config"])
975
- ], 4)) : c("", !0),
1000
+ }, null, 8, ["config"]))
1001
+ ], 4)) : h("", !0),
976
1002
  e.FINAL_CONFIG.chart.userOptions.show && e.isDataset ? (l(), V(w, {
977
1003
  ref: "defails",
978
1004
  key: `user_options_${t.step}`,
@@ -987,7 +1013,7 @@ function Xa(i, s, h, f, t, e) {
987
1013
  hasImg: e.FINAL_CONFIG.chart.userOptions.buttons.img,
988
1014
  hasLabel: e.FINAL_CONFIG.chart.userOptions.buttons.labels,
989
1015
  hasTable: e.FINAL_CONFIG.chart.userOptions.buttons.table,
990
- hasStack: h.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
1016
+ hasStack: c.dataset.length > 1 && e.FINAL_CONFIG.chart.userOptions.buttons.stack,
991
1017
  hasFullscreen: e.FINAL_CONFIG.chart.userOptions.buttons.fullscreen,
992
1018
  isStacked: t.mutableConfig.isStacked,
993
1019
  isFullscreen: t.isFullscreen,
@@ -1059,11 +1085,11 @@ function Xa(i, s, h, f, t, e) {
1059
1085
  ]),
1060
1086
  key: "7"
1061
1087
  } : void 0
1062
- ]), 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"])) : c("", !0),
1088
+ ]), 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),
1063
1089
  e.isDataset ? (l(), r("svg", {
1064
1090
  key: 2,
1065
1091
  xmlns: "http://www.w3.org/2000/svg",
1066
- class: p([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1092
+ class: M([{ "vue-data-ui-fullscreen--on": t.isFullscreen, "vue-data-ui-fulscreen--off": !t.isFullscreen }, "vue-ui-xy-svg"]),
1067
1093
  width: "100%",
1068
1094
  viewBox: t.viewBox,
1069
1095
  style: A(`background:${e.FINAL_CONFIG.chart.backgroundColor}; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
@@ -1079,7 +1105,7 @@ function Xa(i, s, h, f, t, e) {
1079
1105
  y1: e.drawingArea.bottom,
1080
1106
  y2: e.drawingArea.bottom,
1081
1107
  "stroke-linecap": "round"
1082
- }, null, 8, Je)) : c("", !0),
1108
+ }, null, 8, Je)) : h("", !0),
1083
1109
  t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(!0), r(m, { key: 2 }, b(e.allScales, (a) => (l(), r("g", null, [
1084
1110
  a.id === t.selectedScale && a.yLabels.length ? (l(!0), r(m, { key: 0 }, b(a.yLabels, (o) => (l(), r("line", {
1085
1111
  x1: e.drawingArea.left + e.xPadding,
@@ -1097,8 +1123,8 @@ function Xa(i, s, h, f, t, e) {
1097
1123
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1098
1124
  "stroke-width": 0.5,
1099
1125
  "stroke-linecap": "round"
1100
- }, null, 8, et))), 256)) : c("", !0)
1101
- ]))), 256)) : c("", !0) : (l(), r(m, { key: 1 }, [
1126
+ }, null, 8, et))), 256)) : h("", !0)
1127
+ ]))), 256)) : h("", !0) : (l(), r(m, { key: 1 }, [
1102
1128
  e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (l(), r("line", {
1103
1129
  key: 0,
1104
1130
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1108,7 +1134,7 @@ function Xa(i, s, h, f, t, e) {
1108
1134
  y1: e.drawingArea.top,
1109
1135
  y2: e.drawingArea.bottom,
1110
1136
  "stroke-linecap": "round"
1111
- }, null, 8, Ke)) : c("", !0),
1137
+ }, null, 8, Ke)) : h("", !0),
1112
1138
  e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (l(), r("g", Qe, [
1113
1139
  (l(!0), r(m, null, b(e.yLabels, (a) => (l(), r("line", {
1114
1140
  x1: e.drawingArea.left + e.xPadding,
@@ -1119,7 +1145,7 @@ function Xa(i, s, h, f, t, e) {
1119
1145
  "stroke-width": 0.5,
1120
1146
  "stroke-linecap": "round"
1121
1147
  }, null, 8, je))), 256))
1122
- ])) : c("", !0)
1148
+ ])) : h("", !0)
1123
1149
  ], 64)),
1124
1150
  e.FINAL_CONFIG.chart.grid.showVerticalLines ? (l(), r("g", tt, [
1125
1151
  (l(!0), r(m, null, b(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (l(), r("line", {
@@ -1131,7 +1157,7 @@ function Xa(i, s, h, f, t, e) {
1131
1157
  "stroke-width": "0.5",
1132
1158
  stroke: e.FINAL_CONFIG.chart.grid.stroke
1133
1159
  }, null, 8, at))), 128))
1134
- ])) : c("", !0)
1160
+ ])) : h("", !0)
1135
1161
  ]),
1136
1162
  (l(!0), r(m, null, b(e.barSet, (a, o) => (l(), r("defs", {
1137
1163
  key: `def_rect_${o}`
@@ -1251,9 +1277,9 @@ function Xa(i, s, h, f, t, e) {
1251
1277
  }, [
1252
1278
  u("div", {
1253
1279
  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"}`)
1254
- }, k(a.caption.text), 5)
1255
- ], 8, Ft)) : c("", !0)
1256
- ], 64)) : c("", !0)
1280
+ }, S(a.caption.text), 5)
1281
+ ], 8, Ft)) : h("", !0)
1282
+ ], 64)) : h("", !0)
1257
1283
  ]))), 256)),
1258
1284
  u("g", null, [
1259
1285
  (l(!0), r(m, null, b(e.maxSeries, (a, o) => (l(), r("g", {
@@ -1270,7 +1296,7 @@ function Xa(i, s, h, f, t, e) {
1270
1296
  ]),
1271
1297
  e.barSet.length ? (l(!0), r(m, { key: 0 }, b(e.barSet, (a, o) => (l(), r("g", {
1272
1298
  key: `serie_bar_${o}`,
1273
- class: p(`serie_bar_${o}`),
1299
+ class: M(`serie_bar_${o}`),
1274
1300
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1275
1301
  }, [
1276
1302
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1286,7 +1312,7 @@ function Xa(i, s, h, f, t, e) {
1286
1312
  fill: e.FINAL_CONFIG.bar.useGradient ? n.value >= 0 ? `url(#rectGradient_pos_${o}_${t.uniqueId})` : `url(#rectGradient_neg_${o}_${t.uniqueId})` : a.color,
1287
1313
  stroke: e.FINAL_CONFIG.bar.border.useSerieColor ? a.color : e.FINAL_CONFIG.bar.border.stroke,
1288
1314
  "stroke-width": e.FINAL_CONFIG.bar.border.strokeWidth
1289
- }, null, 8, At)) : c("", !0),
1315
+ }, null, 8, At)) : h("", !0),
1290
1316
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1291
1317
  key: 1,
1292
1318
  style: { overflow: "visible" },
@@ -1298,9 +1324,9 @@ function Xa(i, s, h, f, t, e) {
1298
1324
  O(i.$slots, "plot-comment", {
1299
1325
  plot: { ...n, color: a.color }
1300
1326
  }, void 0, !0)
1301
- ], 8, Lt)) : c("", !0)
1327
+ ], 8, Lt)) : h("", !0)
1302
1328
  ]))), 128)),
1303
- Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", kt, [
1329
+ Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", St, [
1304
1330
  u("defs", null, [
1305
1331
  u("marker", {
1306
1332
  id: `bar_arrow_${o}`,
@@ -1313,8 +1339,8 @@ function Xa(i, s, h, f, t, e) {
1313
1339
  u("polygon", {
1314
1340
  points: `0 0, 7 ${7 / 2}, 0 7`,
1315
1341
  fill: a.color
1316
- }, null, 8, Ct)
1317
- ], 8, St)
1342
+ }, null, 8, kt)
1343
+ ], 8, Ct)
1318
1344
  ]),
1319
1345
  a.plots.length > 1 ? (l(), r("line", {
1320
1346
  key: 0,
@@ -1326,7 +1352,7 @@ function Xa(i, s, h, f, t, e) {
1326
1352
  stroke: a.color,
1327
1353
  "stroke-dasharray": 2,
1328
1354
  "marker-end": `url(#bar_arrow_${o})`
1329
- }, null, 8, wt)) : c("", !0),
1355
+ }, null, 8, wt)) : h("", !0),
1330
1356
  a.plots.length > 1 ? (l(), r("text", {
1331
1357
  key: 1,
1332
1358
  "text-anchor": "middle",
@@ -1334,13 +1360,13 @@ function Xa(i, s, h, f, t, e) {
1334
1360
  y: e.calcLinearProgression(a.plots).y2 - 6,
1335
1361
  "font-size": t.fontSizes.plotLabels,
1336
1362
  fill: a.color
1337
- }, k(e.dataLabel({
1363
+ }, S(e.dataLabel({
1338
1364
  v: e.calcLinearProgression(a.plots).trend * 100,
1339
1365
  s: "%",
1340
1366
  r: 2
1341
- })), 9, Ot)) : c("", !0)
1342
- ])) : c("", !0)
1343
- ], 6))), 128)) : c("", !0),
1367
+ })), 9, Ot)) : h("", !0)
1368
+ ])) : h("", !0)
1369
+ ], 6))), 128)) : h("", !0),
1344
1370
  !t.mutableConfig.useIndividualScale && e.FINAL_CONFIG.chart.grid.labels.zeroLine.show ? (l(), r("line", {
1345
1371
  key: 1,
1346
1372
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
@@ -1350,7 +1376,7 @@ function Xa(i, s, h, f, t, e) {
1350
1376
  y1: e.checkNaN(e.zero),
1351
1377
  y2: e.checkNaN(e.zero),
1352
1378
  "stroke-linecap": "round"
1353
- }, null, 8, vt)) : c("", !0),
1379
+ }, null, 8, vt)) : h("", !0),
1354
1380
  e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || t.selectedMinimapIndex !== null) ? (l(), r("g", Gt, [
1355
1381
  u("line", {
1356
1382
  x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * (t.selectedSerieIndex || t.selectedMinimapIndex) + e.drawingArea.width / e.maxSeries / 2,
@@ -1363,7 +1389,7 @@ function Xa(i, s, h, f, t, e) {
1363
1389
  "stroke-linecap": "round",
1364
1390
  style: { transition: "none !important", animation: "none !important", "pointer-events": "none" }
1365
1391
  }, null, 8, zt)
1366
- ])) : c("", !0),
1392
+ ])) : h("", !0),
1367
1393
  u("g", null, [
1368
1394
  u("rect", {
1369
1395
  style: { transition: "none" },
@@ -1372,7 +1398,7 @@ function Xa(i, s, h, f, t, e) {
1372
1398
  width: e.FINAL_CONFIG.chart.padding.left - 1 + e.xPadding,
1373
1399
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1374
1400
  fill: e.FINAL_CONFIG.chart.backgroundColor
1375
- }, null, 8, Mt),
1401
+ }, null, 8, pt),
1376
1402
  u("rect", {
1377
1403
  style: { transition: "none" },
1378
1404
  x: e.drawingArea.right + 1 - e.xPadding,
@@ -1380,7 +1406,7 @@ function Xa(i, s, h, f, t, e) {
1380
1406
  width: e.FINAL_CONFIG.chart.padding.right - 1 + e.xPadding,
1381
1407
  height: e.drawingArea.height < 0 ? 10 : e.drawingArea.height,
1382
1408
  fill: e.FINAL_CONFIG.chart.backgroundColor
1383
- }, null, 8, pt)
1409
+ }, null, 8, Mt)
1384
1410
  ]),
1385
1411
  e.FINAL_CONFIG.chart.grid.frame.show ? (l(), r("rect", {
1386
1412
  key: 3,
@@ -1395,7 +1421,7 @@ function Xa(i, s, h, f, t, e) {
1395
1421
  "stroke-linecap": e.FINAL_CONFIG.chart.grid.frame.strokeLinecap,
1396
1422
  "stroke-linejoin": e.FINAL_CONFIG.chart.grid.frame.strokeLinejoin,
1397
1423
  "stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
1398
- }, null, 8, Pt)) : c("", !0),
1424
+ }, null, 8, Pt)) : h("", !0),
1399
1425
  e.FINAL_CONFIG.chart.grid.labels.show ? (l(), r("g", Tt, [
1400
1426
  t.mutableConfig.useIndividualScale ? (l(), r(m, { key: 0 }, [
1401
1427
  (l(!0), r(m, null, b(e.allScales, (a) => (l(), r("g", null, [
@@ -1418,7 +1444,7 @@ function Xa(i, s, h, f, t, e) {
1418
1444
  "font-size": t.fontSizes.dataLabels,
1419
1445
  "text-anchor": "middle",
1420
1446
  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)`
1421
- }, k(a.name) + " " + k(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Rt),
1447
+ }, S(a.name) + " " + S(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Rt),
1422
1448
  (l(!0), r(m, null, b(a.yLabels, (o, n) => (l(), r("line", {
1423
1449
  x1: a.x - 3 + e.xPadding,
1424
1450
  x2: a.x + e.xPadding,
@@ -1434,7 +1460,7 @@ function Xa(i, s, h, f, t, e) {
1434
1460
  "font-size": t.fontSizes.dataLabels,
1435
1461
  "text-anchor": "end",
1436
1462
  fill: a.color
1437
- }, k(e.applyDataLabel(
1463
+ }, S(e.applyDataLabel(
1438
1464
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1439
1465
  o.value,
1440
1466
  e.dataLabel({
@@ -1457,7 +1483,7 @@ function Xa(i, s, h, f, t, e) {
1457
1483
  stroke: e.FINAL_CONFIG.chart.grid.stroke,
1458
1484
  "stroke-width": "1",
1459
1485
  "stroke-linecap": "round"
1460
- }, null, 8, Et)) : c("", !0),
1486
+ }, null, 8, Et)) : h("", !0),
1461
1487
  a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (l(), r("text", {
1462
1488
  key: 1,
1463
1489
  x: e.drawingArea.left - 7 + e.xPadding,
@@ -1465,7 +1491,7 @@ function Xa(i, s, h, f, t, e) {
1465
1491
  "font-size": t.fontSizes.dataLabels,
1466
1492
  "text-anchor": "end",
1467
1493
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1468
- }, k(e.canShowValue(a.value) ? e.applyDataLabel(
1494
+ }, S(e.canShowValue(a.value) ? e.applyDataLabel(
1469
1495
  e.FINAL_CONFIG.chart.grid.labels.yAxis.formatter,
1470
1496
  a.value,
1471
1497
  e.dataLabel({
@@ -1474,12 +1500,12 @@ function Xa(i, s, h, f, t, e) {
1474
1500
  s: e.FINAL_CONFIG.chart.labels.suffix,
1475
1501
  r: 1
1476
1502
  })
1477
- ) : ""), 9, Wt)) : c("", !0)
1503
+ ) : ""), 9, Wt)) : h("", !0)
1478
1504
  ]))), 128))
1479
- ])) : c("", !0),
1505
+ ])) : h("", !0),
1480
1506
  (l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
1481
1507
  key: `serie_plot_${o}`,
1482
- class: p(`serie_plot_${o}`),
1508
+ class: M(`serie_plot_${o}`),
1483
1509
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1484
1510
  }, [
1485
1511
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1493,7 +1519,7 @@ function Xa(i, s, h, f, t, e) {
1493
1519
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.plot || 6) * 1.5 : t.plotRadii.plot || 6,
1494
1520
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1495
1521
  strokeWidth: 0.5
1496
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1522
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1497
1523
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1498
1524
  key: 1,
1499
1525
  style: { overflow: "visible" },
@@ -1507,7 +1533,7 @@ function Xa(i, s, h, f, t, e) {
1507
1533
  plot: { ...n, color: a.color }
1508
1534
  }, void 0, !0)
1509
1535
  ])
1510
- ], 8, Bt)) : c("", !0)
1536
+ ], 8, Bt)) : h("", !0)
1511
1537
  ]))), 128)),
1512
1538
  Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", Xt, [
1513
1539
  u("defs", null, [
@@ -1535,7 +1561,7 @@ function Xa(i, s, h, f, t, e) {
1535
1561
  stroke: a.color,
1536
1562
  "stroke-dasharray": 2,
1537
1563
  "marker-end": `url(#plot_arrow_${o})`
1538
- }, null, 8, Ut)) : c("", !0),
1564
+ }, null, 8, Ut)) : h("", !0),
1539
1565
  a.plots.length > 1 ? (l(), r("text", {
1540
1566
  key: 1,
1541
1567
  "text-anchor": "middle",
@@ -1543,16 +1569,16 @@ function Xa(i, s, h, f, t, e) {
1543
1569
  y: e.calcLinearProgression(a.plots).y2 - 6,
1544
1570
  "font-size": t.fontSizes.plotLabels,
1545
1571
  fill: a.color
1546
- }, k(e.dataLabel({
1572
+ }, S(e.dataLabel({
1547
1573
  v: e.calcLinearProgression(a.plots).trend * 100,
1548
1574
  s: "%",
1549
1575
  r: 2
1550
- })), 9, Jt)) : c("", !0)
1551
- ])) : c("", !0)
1576
+ })), 9, Jt)) : h("", !0)
1577
+ ])) : h("", !0)
1552
1578
  ], 6))), 128)),
1553
1579
  (l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
1554
1580
  key: `serie_line_${o}`,
1555
- class: p(`serie_line_${o}`),
1581
+ class: M(`serie_line_${o}`),
1556
1582
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1557
1583
  }, [
1558
1584
  a.smooth && a.plots.length > 1 ? (l(), r("path", {
@@ -1577,13 +1603,13 @@ function Xa(i, s, h, f, t, e) {
1577
1603
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1578
1604
  "stroke-linejoin": "round",
1579
1605
  "stroke-linecap": "round"
1580
- }, null, 8, jt)) : c("", !0)
1606
+ }, null, 8, jt)) : h("", !0)
1581
1607
  ]))), 128))
1582
- ])) : c("", !0)
1608
+ ])) : h("", !0)
1583
1609
  ], 6))), 128)),
1584
1610
  (l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
1585
1611
  key: `serie_line_${o}`,
1586
- class: p(`serie_line_${o}`),
1612
+ class: M(`serie_line_${o}`),
1587
1613
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1588
1614
  }, [
1589
1615
  a.useArea && a.plots.length > 1 ? (l(), r("g", $t, [
@@ -1596,7 +1622,7 @@ function Xa(i, s, h, f, t, e) {
1596
1622
  d: `M${a.area}Z`,
1597
1623
  fill: e.FINAL_CONFIG.line.area.useGradient ? `url(#areaGradient_${o}_${t.uniqueId})` : `${a.color}${t.opacity[e.FINAL_CONFIG.line.area.opacity]}`
1598
1624
  }, null, 8, ta))
1599
- ])) : c("", !0),
1625
+ ])) : h("", !0),
1600
1626
  a.smooth && a.plots.length > 1 ? (l(), r("path", {
1601
1627
  key: 1,
1602
1628
  d: `M${a.curve}`,
@@ -1619,9 +1645,9 @@ function Xa(i, s, h, f, t, e) {
1619
1645
  "stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
1620
1646
  "stroke-linejoin": "round",
1621
1647
  "stroke-linecap": "round"
1622
- }, null, 8, la)) : c("", !0)
1648
+ }, null, 8, la)) : h("", !0)
1623
1649
  ]))), 128))
1624
- ])) : c("", !0),
1650
+ ])) : h("", !0),
1625
1651
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
1626
1652
  key: `circle_line_${o}_${g}`
1627
1653
  }, [
@@ -1633,7 +1659,7 @@ function Xa(i, s, h, f, t, e) {
1633
1659
  radius: t.selectedSerieIndex !== null && t.selectedSerieIndex === g || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === g ? (t.plotRadii.line || 6) * 1.5 : t.plotRadii.line || 6,
1634
1660
  stroke: e.FINAL_CONFIG.chart.backgroundColor,
1635
1661
  strokeWidth: 0.5
1636
- }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : c("", !0),
1662
+ }, null, 8, ["shape", "color", "plot", "radius", "stroke"])) : h("", !0),
1637
1663
  n.comment && e.FINAL_CONFIG.chart.comments.show ? (l(), r("foreignObject", {
1638
1664
  key: 1,
1639
1665
  style: { overflow: "visible" },
@@ -1647,7 +1673,7 @@ function Xa(i, s, h, f, t, e) {
1647
1673
  plot: { ...n, color: a.color }
1648
1674
  }, void 0, !0)
1649
1675
  ])
1650
- ], 8, ra)) : c("", !0)
1676
+ ], 8, ra)) : h("", !0)
1651
1677
  ]))), 128)),
1652
1678
  Object.hasOwn(a, "useProgression") && a.useProgression === !0 && !isNaN(e.calcLinearProgression(a.plots).trend) ? (l(), r("g", na, [
1653
1679
  u("defs", null, [
@@ -1675,7 +1701,7 @@ function Xa(i, s, h, f, t, e) {
1675
1701
  stroke: a.color,
1676
1702
  "stroke-dasharray": 2,
1677
1703
  "marker-end": `url(#line_arrow_${o})`
1678
- }, null, 8, ha)) : c("", !0),
1704
+ }, null, 8, ha)) : h("", !0),
1679
1705
  a.plots.length > 1 ? (l(), r("text", {
1680
1706
  key: 1,
1681
1707
  "text-anchor": "middle",
@@ -1683,17 +1709,17 @@ function Xa(i, s, h, f, t, e) {
1683
1709
  y: e.calcLinearProgression(a.plots).y2 - 6,
1684
1710
  "font-size": t.fontSizes.plotLabels,
1685
1711
  fill: a.color
1686
- }, k(e.dataLabel({
1712
+ }, S(e.dataLabel({
1687
1713
  v: e.calcLinearProgression(a.plots).trend * 100,
1688
1714
  s: "%",
1689
1715
  r: 2
1690
- })), 9, da)) : c("", !0)
1691
- ])) : c("", !0)
1716
+ })), 9, da)) : h("", !0)
1717
+ ])) : h("", !0)
1692
1718
  ], 6))), 128)),
1693
1719
  (e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (l(), r("g", ua, [
1694
1720
  (l(!0), r(m, null, b(e.barSet, (a, o) => (l(), r("g", {
1695
1721
  key: `xLabel_bar_${o}`,
1696
- class: p(`xLabel_bar_${o}`),
1722
+ class: M(`xLabel_bar_${o}`),
1697
1723
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1698
1724
  }, [
1699
1725
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1706,7 +1732,7 @@ function Xa(i, s, h, f, t, e) {
1706
1732
  "text-anchor": "middle",
1707
1733
  "font-size": t.fontSizes.plotLabels,
1708
1734
  fill: e.FINAL_CONFIG.bar.labels.color
1709
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1735
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1710
1736
  e.FINAL_CONFIG.bar.labels.formatter,
1711
1737
  n.value,
1712
1738
  e.dataLabel({
@@ -1719,7 +1745,7 @@ function Xa(i, s, h, f, t, e) {
1719
1745
  datapoint: n,
1720
1746
  serie: a
1721
1747
  }
1722
- ) : ""), 9, ga)) : c("", !0),
1748
+ ) : ""), 9, ga)) : h("", !0),
1723
1749
  n && e.FINAL_CONFIG.bar.serieName.show ? (l(), r("text", {
1724
1750
  key: 1,
1725
1751
  x: t.mutableConfig.useIndividualScale && t.mutableConfig.isStacked ? n.x + e.slot.line / 2 : n.x + e.calcRectWidth() * 1.1,
@@ -1728,14 +1754,14 @@ function Xa(i, s, h, f, t, e) {
1728
1754
  "font-size": t.fontSizes.plotLabels,
1729
1755
  fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
1730
1756
  "font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
1731
- }, k(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, fa)) : c("", !0)
1757
+ }, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, fa)) : h("", !0)
1732
1758
  ]))), 128))
1733
1759
  ], 6))), 128))
1734
- ])) : c("", !0),
1760
+ ])) : h("", !0),
1735
1761
  e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", ma, [
1736
1762
  (l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
1737
1763
  key: `xLabel_plot_${o}`,
1738
- class: p(`xLabel_plot_${o}`),
1764
+ class: M(`xLabel_plot_${o}`),
1739
1765
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1740
1766
  }, [
1741
1767
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1748,7 +1774,7 @@ function Xa(i, s, h, f, t, e) {
1748
1774
  "text-anchor": "middle",
1749
1775
  "font-size": t.fontSizes.plotLabels,
1750
1776
  fill: e.FINAL_CONFIG.plot.labels.color
1751
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1777
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1752
1778
  e.FINAL_CONFIG.plot.labels.formatter,
1753
1779
  n.value,
1754
1780
  e.dataLabel({
@@ -1761,7 +1787,7 @@ function Xa(i, s, h, f, t, e) {
1761
1787
  datapoint: n,
1762
1788
  serie: a
1763
1789
  }
1764
- ) : ""), 9, Na)) : c("", !0),
1790
+ ) : ""), 9, Na)) : h("", !0),
1765
1791
  n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
1766
1792
  key: 1,
1767
1793
  x: n.x,
@@ -1772,8 +1798,8 @@ function Xa(i, s, h, f, t, e) {
1772
1798
  }, [
1773
1799
  u("div", {
1774
1800
  style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1775
- }, k(a.name), 5)
1776
- ], 8, Ia)) : c("", !0),
1801
+ }, S(a.name), 5)
1802
+ ], 8, Ia)) : h("", !0),
1777
1803
  n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
1778
1804
  key: 2,
1779
1805
  x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
@@ -1784,15 +1810,15 @@ function Xa(i, s, h, f, t, e) {
1784
1810
  }, [
1785
1811
  u("div", {
1786
1812
  style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1787
- }, k(a.name), 5)
1788
- ], 8, ba)) : c("", !0)
1813
+ }, S(a.name), 5)
1814
+ ], 8, ba)) : h("", !0)
1789
1815
  ]))), 128))
1790
1816
  ], 6))), 128))
1791
- ])) : c("", !0),
1817
+ ])) : h("", !0),
1792
1818
  e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (l(), r("g", xa, [
1793
1819
  (l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
1794
1820
  key: `xLabel_line_${o}`,
1795
- class: p(`xLabel_line_${o}`),
1821
+ class: M(`xLabel_line_${o}`),
1796
1822
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1797
1823
  }, [
1798
1824
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1805,7 +1831,7 @@ function Xa(i, s, h, f, t, e) {
1805
1831
  "text-anchor": "middle",
1806
1832
  "font-size": t.fontSizes.plotLabels,
1807
1833
  fill: e.FINAL_CONFIG.line.labels.color
1808
- }, k(e.canShowValue(n.value) ? e.applyDataLabel(
1834
+ }, S(e.canShowValue(n.value) ? e.applyDataLabel(
1809
1835
  e.FINAL_CONFIG.line.labels.formatter,
1810
1836
  n.value,
1811
1837
  e.dataLabel({
@@ -1818,7 +1844,7 @@ function Xa(i, s, h, f, t, e) {
1818
1844
  datapoint: n,
1819
1845
  serie: a
1820
1846
  }
1821
- ) : ""), 9, _a)) : c("", !0),
1847
+ ) : ""), 9, _a)) : h("", !0),
1822
1848
  n && g === 0 && a.useTag && a.useTag === "start" ? (l(), r("foreignObject", {
1823
1849
  key: 1,
1824
1850
  x: n.x,
@@ -1829,8 +1855,8 @@ function Xa(i, s, h, f, t, e) {
1829
1855
  }, [
1830
1856
  u("div", {
1831
1857
  style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1832
- }, k(a.name), 5)
1833
- ], 8, Fa)) : c("", !0),
1858
+ }, S(a.name), 5)
1859
+ ], 8, Fa)) : h("", !0),
1834
1860
  n && g === a.plots.length - 1 && a.useTag && a.useTag === "end" ? (l(), r("foreignObject", {
1835
1861
  key: 2,
1836
1862
  x: n.x - a.name.length * (t.fontSizes.plotLabels / 2),
@@ -1841,14 +1867,14 @@ function Xa(i, s, h, f, t, e) {
1841
1867
  }, [
1842
1868
  u("div", {
1843
1869
  style: A(`padding: 3px; background:${a.color}${t.opacity[80]};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
1844
- }, k(a.name), 5)
1845
- ], 8, ya)) : c("", !0)
1870
+ }, S(a.name), 5)
1871
+ ], 8, ya)) : h("", !0)
1846
1872
  ]))), 128))
1847
1873
  ], 6))), 128))
1848
- ])) : c("", !0),
1874
+ ])) : h("", !0),
1849
1875
  (l(!0), r(m, null, b(e.lineSet, (a, o) => (l(), r("g", {
1850
1876
  key: `xLabel_line_${o}`,
1851
- class: p(`xLabel_line_${o}`),
1877
+ class: M(`xLabel_line_${o}`),
1852
1878
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1853
1879
  }, [
1854
1880
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1869,7 +1895,7 @@ function Xa(i, s, h, f, t, e) {
1869
1895
  y: n.y,
1870
1896
  maxWords: 2
1871
1897
  })
1872
- }, null, 8, Aa)) : c("", !0),
1898
+ }, null, 8, Aa)) : h("", !0),
1873
1899
  n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
1874
1900
  key: 1,
1875
1901
  x: n.x + t.fontSizes.plotLabels,
@@ -1885,12 +1911,12 @@ function Xa(i, s, h, f, t, e) {
1885
1911
  y: n.y,
1886
1912
  maxWords: 2
1887
1913
  })
1888
- }, null, 8, La)) : c("", !0)
1914
+ }, null, 8, La)) : h("", !0)
1889
1915
  ]))), 128))
1890
1916
  ], 6))), 128)),
1891
1917
  (l(!0), r(m, null, b(e.plotSet, (a, o) => (l(), r("g", {
1892
1918
  key: `xLabel_plot_${o}`,
1893
- class: p(`xLabel_plot_${o}`),
1919
+ class: M(`xLabel_plot_${o}`),
1894
1920
  style: A(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
1895
1921
  }, [
1896
1922
  (l(!0), r(m, null, b(a.plots, (n, g) => (l(), r("g", {
@@ -1911,7 +1937,7 @@ function Xa(i, s, h, f, t, e) {
1911
1937
  y: n.y,
1912
1938
  maxWords: 2
1913
1939
  })
1914
- }, null, 8, ka)) : c("", !0),
1940
+ }, null, 8, Sa)) : h("", !0),
1915
1941
  n && g === a.plots.length - 1 && a.showSerieName && a.showSerieName === "end" ? (l(), r("text", {
1916
1942
  key: 1,
1917
1943
  x: n.x + t.fontSizes.plotLabels,
@@ -1927,7 +1953,7 @@ function Xa(i, s, h, f, t, e) {
1927
1953
  y: n.y,
1928
1954
  maxWords: 2
1929
1955
  })
1930
- }, null, 8, Sa)) : c("", !0)
1956
+ }, null, 8, Ca)) : h("", !0)
1931
1957
  ]))), 128))
1932
1958
  ], 6))), 128)),
1933
1959
  t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (l(!0), r(m, { key: 8 }, b(e.allScales, (a) => (l(), r("rect", {
@@ -1938,7 +1964,7 @@ function Xa(i, s, h, f, t, e) {
1938
1964
  fill: t.selectedScale === a.id ? `${a.color}20` : "transparent",
1939
1965
  onMouseenter: (o) => t.selectedScale = a.id,
1940
1966
  onMouseleave: s[0] || (s[0] = (o) => t.selectedScale = null)
1941
- }, null, 40, Ca))), 256)) : c("", !0),
1967
+ }, null, 40, ka))), 256)) : h("", !0),
1942
1968
  u("g", null, [
1943
1969
  e.FINAL_CONFIG.chart.grid.labels.axis.yLabel && !t.mutableConfig.useIndividualScale ? (l(), r("text", {
1944
1970
  key: 0,
@@ -1947,7 +1973,7 @@ function Xa(i, s, h, f, t, e) {
1947
1973
  transform: `translate(${t.fontSizes.yAxis + e.FINAL_CONFIG.chart.grid.labels.axis.yLabelOffsetX}, ${e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`,
1948
1974
  "text-anchor": "middle",
1949
1975
  style: { transition: "none" }
1950
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, wa)) : c("", !0),
1976
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.yLabel), 9, wa)) : h("", !0),
1951
1977
  e.FINAL_CONFIG.chart.grid.labels.axis.xLabel ? (l(), r("text", {
1952
1978
  key: 1,
1953
1979
  "text-anchor": "middle",
@@ -1955,7 +1981,7 @@ function Xa(i, s, h, f, t, e) {
1955
1981
  y: e.drawingArea.bottom + t.fontSizes.yAxis + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.axis.xLabelOffsetY,
1956
1982
  "font-size": t.fontSizes.yAxis,
1957
1983
  fill: e.FINAL_CONFIG.chart.grid.labels.color
1958
- }, k(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Oa)) : c("", !0)
1984
+ }, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Oa)) : h("", !0)
1959
1985
  ]),
1960
1986
  e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (l(), r("g", va, [
1961
1987
  (l(!0), r(m, null, b(e.timeLabels, (a, o) => (l(), r("g", {
@@ -1967,9 +1993,9 @@ function Xa(i, s, h, f, t, e) {
1967
1993
  "font-size": t.fontSizes.xAxis,
1968
1994
  fill: e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.color,
1969
1995
  transform: `translate(${e.drawingArea.left + e.drawingArea.width / e.maxSeries * o + e.drawingArea.width / e.maxSeries / 2}, ${e.drawingArea.bottom + t.fontSizes.xAxis * 1.3 + e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.yOffset}), rotate(${e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.rotation})`
1970
- }, k(a || ""), 9, Ga)) : c("", !0)
1996
+ }, S(a || ""), 9, Ga)) : h("", !0)
1971
1997
  ]))), 128))
1972
- ])) : c("", !0),
1998
+ ])) : h("", !0),
1973
1999
  u("g", null, [
1974
2000
  (l(!0), r(m, null, b(e.maxSeries, (a, o) => (l(), r("g", {
1975
2001
  key: `tooltip_trap_${o}`
@@ -1987,7 +2013,7 @@ function Xa(i, s, h, f, t, e) {
1987
2013
  }, null, 40, za)
1988
2014
  ]))), 128))
1989
2015
  ]),
1990
- e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (l(), r("g", Ma, [
2016
+ e.FINAL_CONFIG.chart.timeTag.show && ![null, void 0].includes(t.selectedSerieIndex) ? (l(), r("g", pa, [
1991
2017
  (l(), r("foreignObject", {
1992
2018
  x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex - 100 + e.drawingArea.width / e.maxSeries / 2,
1993
2019
  y: e.drawingArea.bottom,
@@ -1998,22 +2024,22 @@ function Xa(i, s, h, f, t, e) {
1998
2024
  u("div", {
1999
2025
  class: "vue-ui-xy-time-tag",
2000
2026
  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`)
2001
- }, k(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
2002
- ], 8, pa)),
2027
+ }, S(e.timeLabels[t.selectedSerieIndex] || t.selectedSerieIndex), 5)
2028
+ ], 8, Ma)),
2003
2029
  u("circle", {
2004
2030
  cx: e.drawingArea.left + e.drawingArea.width / e.maxSeries * t.selectedSerieIndex + e.drawingArea.width / e.maxSeries / 2,
2005
2031
  cy: e.drawingArea.bottom,
2006
2032
  r: e.FINAL_CONFIG.chart.timeTag.circleMarker.radius,
2007
2033
  fill: e.FINAL_CONFIG.chart.timeTag.circleMarker.color
2008
2034
  }, null, 8, Pa)
2009
- ])) : c("", !0)
2010
- ])) : c("", !0),
2035
+ ])) : h("", !0)
2036
+ ])) : h("", !0),
2011
2037
  O(i.$slots, "svg", { svg: e.svg }, void 0, !0)
2012
- ], 14, qe)) : c("", !0),
2038
+ ], 14, qe)) : h("", !0),
2013
2039
  i.$slots.watermark ? (l(), r("div", Ta, [
2014
2040
  O(i.$slots, "watermark", B(Y({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
2015
- ])) : c("", !0),
2016
- e.isDataset ? c("", !0) : (l(), V(N, {
2041
+ ])) : h("", !0),
2042
+ e.isDataset ? h("", !0) : (l(), V(N, {
2017
2043
  key: 4,
2018
2044
  config: {
2019
2045
  type: "line",
@@ -2066,7 +2092,7 @@ function Xa(i, s, h, f, t, e) {
2066
2092
  O(i.$slots, "reset-action", B(Y({ reset: a })), void 0, !0)
2067
2093
  ]),
2068
2094
  _: 3
2069
- }, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : c("", !0),
2095
+ }, 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),
2070
2096
  e.FINAL_CONFIG.chart.legend.show ? (l(), r("div", {
2071
2097
  key: 6,
2072
2098
  ref: "chartLegend",
@@ -2076,7 +2102,7 @@ function Xa(i, s, h, f, t, e) {
2076
2102
  (l(!0), r(m, null, b(e.absoluteDataset, (a, o) => (l(), r("div", {
2077
2103
  key: `div_legend_item_${o}`,
2078
2104
  onClick: (n) => e.segregate(a),
2079
- class: p({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2105
+ class: M({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
2080
2106
  }, [
2081
2107
  t.icons[a.type] === "line" ? (l(), r("svg", Ra, [
2082
2108
  u("rect", {
@@ -2088,7 +2114,7 @@ function Xa(i, s, h, f, t, e) {
2088
2114
  width: "20",
2089
2115
  fill: a.color
2090
2116
  }, null, 8, Da),
2091
- X(L, {
2117
+ q(L, {
2092
2118
  plot: { x: 10, y: 9 },
2093
2119
  radius: 4,
2094
2120
  color: a.color,
@@ -2116,12 +2142,12 @@ function Xa(i, s, h, f, t, e) {
2116
2142
  ])),
2117
2143
  u("span", {
2118
2144
  style: A(`color:${e.FINAL_CONFIG.chart.legend.color}`)
2119
- }, k(a.name), 5)
2145
+ }, S(a.name), 5)
2120
2146
  ], 10, Va))), 128))
2121
2147
  ], 4)) : (l(), r("div", Wa, [
2122
2148
  O(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
2123
2149
  ], 512)),
2124
- X(M, {
2150
+ q(p, {
2125
2151
  show: t.mutableConfig.showTooltip && t.isTooltip,
2126
2152
  backgroundColor: e.FINAL_CONFIG.chart.tooltip.backgroundColor,
2127
2153
  color: e.FINAL_CONFIG.chart.tooltip.color,
@@ -2175,7 +2201,7 @@ function Xa(i, s, h, f, t, e) {
2175
2201
  onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
2176
2202
  style: { cursor: "pointer" }
2177
2203
  }, [
2178
- X(S, {
2204
+ q(C, {
2179
2205
  name: "chartLine",
2180
2206
  size: 20,
2181
2207
  stroke: e.FINAL_CONFIG.chart.color
@@ -2187,7 +2213,7 @@ function Xa(i, s, h, f, t, e) {
2187
2213
  dataset: e.tableSparklineDataset,
2188
2214
  config: e.tableSparklineConfig
2189
2215
  }, null, 8, ["dataset", "config"])) : (l(), V(v, {
2190
- key: 1,
2216
+ key: `table_${t.tableStep}`,
2191
2217
  colNames: e.dataTable.colNames,
2192
2218
  head: e.dataTable.head,
2193
2219
  body: e.dataTable.body,
@@ -2199,7 +2225,7 @@ function Xa(i, s, h, f, t, e) {
2199
2225
  u("div", { innerHTML: a }, null, 8, Ya)
2200
2226
  ]),
2201
2227
  td: z(({ td: a }) => [
2202
- Ee(k(isNaN(Number(a)) ? a : e.dataLabel({
2228
+ Ee(S(isNaN(Number(a)) ? a : e.dataLabel({
2203
2229
  p: e.FINAL_CONFIG.chart.labels.prefix,
2204
2230
  v: a,
2205
2231
  s: e.FINAL_CONFIG.chart.labels.suffix,
@@ -2211,10 +2237,10 @@ function Xa(i, s, h, f, t, e) {
2211
2237
  ], 4)
2212
2238
  ]),
2213
2239
  _: 1
2214
- }, 8, ["config"])) : c("", !0)
2240
+ }, 8, ["config"])) : h("", !0)
2215
2241
  ], 14, Xe);
2216
2242
  }
2217
- const ni = /* @__PURE__ */ We(Ye, [["render", Xa], ["__scopeId", "data-v-19f5eb68"]]);
2243
+ const ni = /* @__PURE__ */ We(Ye, [["render", Xa], ["__scopeId", "data-v-b7919a68"]]);
2218
2244
  export {
2219
2245
  ni as default
2220
2246
  };