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,53 +1,53 @@
1
- import { ref as E, computed as W, watch as ot, onMounted as it, onBeforeUnmount as ut, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as F, createBlock as Pe, unref as f, createSlots as nt, withCtx as ae, renderSlot as D, normalizeProps as J, guardReactiveProps as fe, createCommentVNode as p, toDisplayString as T, createElementVNode as _, Fragment as m, renderList as L, mergeProps as Ie, createVNode as ge, pushScopeId as rt, popScopeId as st } from "vue";
2
- import { u as vt, c as dt, t as ct, a as ht, p as U, b as ft, F as gt, e as mt, d as Ee, m as pt, B as qe, X as xt, j as yt, k as me, n as Te, i as H, f as O, P as We, s as X, x as _e, y as Re } from "./index-Dvs5Ra-u.js";
3
- import { t as kt, u as bt } from "./useResponsive-NZB-WLRF.js";
4
- import Ae from "./BaseIcon-_V_BEdy8.js";
5
- import { _ as St } from "./Tooltip-BCtg7xYX.js";
6
- import { u as wt, U as _t } from "./usePrinter-B8-keRMa.js";
7
- import { S as At } from "./Slicer-8Gg45iGX.js";
8
- import Lt from "./vue-ui-skeleton-CAvlIcgk.js";
9
- import { u as je } from "./useNestedProp-UohhCyBz.js";
10
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { ref as E, computed as W, watch as Pe, onMounted as nt, onBeforeUnmount as rt, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as F, createBlock as Ie, unref as f, createSlots as st, withCtx as ae, renderSlot as D, normalizeProps as J, guardReactiveProps as ge, createCommentVNode as p, toDisplayString as T, createElementVNode as _, Fragment as m, renderList as L, mergeProps as Ee, createVNode as me, pushScopeId as vt, popScopeId as dt } from "vue";
2
+ import { u as ct, c as ht, t as ft, a as gt, p as U, b as mt, F as pt, e as xt, d as Te, m as yt, B as Ge, X as kt, j as bt, k as pe, n as Re, i as H, f as O, P as He, s as X, x as Ae, y as Ne } from "./index-Cm4Iry5c.js";
3
+ import { t as St, u as wt } from "./useResponsive-NZB-WLRF.js";
4
+ import Le from "./BaseIcon-BAOfPaXs.js";
5
+ import { _ as _t } from "./Tooltip-CH8GmDCG.js";
6
+ import { u as At, U as Lt } from "./usePrinter-B8RnF8_q.js";
7
+ import { S as zt } from "./Slicer-yaJs-izT.js";
8
+ import $t from "./vue-ui-skeleton-C1oUnz7R.js";
9
+ import { u as Xe } from "./useNestedProp-CurQIHTa.js";
10
+ import { _ as Ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
11
  const A = {
12
12
  LINE: "LINE",
13
13
  BAR: "BAR",
14
14
  DONUT: "DONUT"
15
- }, $t = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
16
- function Ct({ dataset: s, barLineSwitch: $ = 6 }) {
15
+ }, Pt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
16
+ function It({ dataset: s, barLineSwitch: $ = 6 }) {
17
17
  let g = null, R = null, V = 0;
18
- if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), pe(s) && (Z(s) && (s.length < $ ? g = A.BAR : g = A.LINE, R = s, V = s.length), Le(s))) {
19
- if (!It(s))
18
+ if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), xe(s) && (Z(s) && (s.length < $ ? g = A.BAR : g = A.LINE, R = s, V = s.length), ze(s))) {
19
+ if (!Tt(s))
20
20
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
21
21
  const oe = Object.keys(s[0]), re = Object.values(s[0]);
22
- if (!oe.some((P) => Et(P)))
22
+ if (!oe.some((P) => Rt(P)))
23
23
  return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
24
- Ge(re, (P) => typeof P == "number") && (g = A.DONUT, R = s), Ge(re, (P) => Array.isArray(P) && Z(P)) && (He(s) > $ ? g = A.LINE : g = A.BAR, V = He(s), R = s.map((P) => ({
24
+ Ze(re, (P) => typeof P == "number") && (g = A.DONUT, R = s), Ze(re, (P) => Array.isArray(P) && Z(P)) && (Ye(s) > $ ? g = A.LINE : g = A.BAR, V = Ye(s), R = s.map((P) => ({
25
25
  ...P,
26
- data: Tt(P, (G) => Z(G))
27
- }))), s = s.map((P) => Xe(P)), R = R.map((P) => Xe(P));
26
+ data: Nt(P, (G) => Z(G))
27
+ }))), s = s.map((P) => Je(P)), R = R.map((P) => Je(P));
28
28
  }
29
- return pe(s) && [...new Set(s.flatMap((oe) => Array.isArray(oe)))][0], {
29
+ return xe(s) && [...new Set(s.flatMap((oe) => Array.isArray(oe)))][0], {
30
30
  dataset: s,
31
31
  type: g,
32
32
  usableDataset: R,
33
33
  maxSeriesLength: V
34
34
  };
35
35
  }
36
- function Ze(s) {
37
- return !s || pe(s) && !s.length;
36
+ function Qe(s) {
37
+ return !s || xe(s) && !s.length;
38
38
  }
39
- function pe(s) {
39
+ function xe(s) {
40
40
  return Array.isArray(s);
41
41
  }
42
42
  function Z(s) {
43
- if (!pe(s) || Ze(s)) return !1;
43
+ if (!xe(s) || Qe(s)) return !1;
44
44
  const $ = s.map((g) => Number(g));
45
45
  return ![...new Set($.flatMap((g) => typeof g == "number" && !isNaN(g)))].includes(!1);
46
46
  }
47
- function Le(s) {
48
- return !pe(s) || Ze(s) || !![...new Set(s.flatMap((g) => typeof g == "object" && !Array.isArray(g)))].includes(!1) ? !1 : !s.map((g) => Object.keys(g).length > 0).includes(!1);
47
+ function ze(s) {
48
+ return !xe(s) || Qe(s) || !![...new Set(s.flatMap((g) => typeof g == "object" && !Array.isArray(g)))].includes(!1) ? !1 : !s.map((g) => Object.keys(g).length > 0).includes(!1);
49
49
  }
50
- function Pt(s, $) {
50
+ function Et(s, $) {
51
51
  const g = Object.keys(s).sort(), R = Object.keys($).sort();
52
52
  if (g.length !== R.length)
53
53
  return !1;
@@ -58,87 +58,87 @@ function Pt(s, $) {
58
58
  }
59
59
  return !0;
60
60
  }
61
- function It(s) {
61
+ function Tt(s) {
62
62
  if (s.length <= 1) return !0;
63
63
  for (let $ = 0; $ < s.length; $ += 1)
64
64
  for (let g = $ + 1; g < s.length; g += 1)
65
- if (!Pt(s[$], s[g]))
65
+ if (!Et(s[$], s[g]))
66
66
  return !1;
67
67
  return !0;
68
68
  }
69
- function Et(s) {
70
- return $t.includes(s.toUpperCase());
69
+ function Rt(s) {
70
+ return Pt.includes(s.toUpperCase());
71
71
  }
72
- function Ge(s, $) {
72
+ function Ze(s, $) {
73
73
  let g = [];
74
74
  for (let R = 0; R < s.length; R += 1)
75
75
  g.push($(s[R]));
76
76
  return g.includes(!0);
77
77
  }
78
- function He(s) {
78
+ function Ye(s) {
79
79
  return Math.max(...[...s].flatMap(($) => Object.values($).filter((g) => Z(g)).map((g) => g.length)));
80
80
  }
81
- function Tt(s, $) {
81
+ function Nt(s, $) {
82
82
  return Object.values(s).filter((g) => $(g))[0];
83
83
  }
84
- function Xe(s) {
84
+ function Je(s) {
85
85
  const $ = {};
86
86
  for (let g in s)
87
87
  s.hasOwnProperty(g) && ($[g.toUpperCase()] = s[g]);
88
88
  return $;
89
89
  }
90
- const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = ["xmlns", "viewBox"], Ft = ["id"], Mt = ["id"], Ot = /* @__PURE__ */ Ye(() => /* @__PURE__ */ _("feColorMatrix", {
90
+ const Ke = (s) => (vt("data-v-0b4fa3fa"), s = s(), dt(), s), Ft = ["id"], Mt = ["xmlns", "viewBox"], Ot = ["id"], Bt = ["id"], Ut = /* @__PURE__ */ Ke(() => /* @__PURE__ */ _("feColorMatrix", {
91
91
  type: "saturate",
92
92
  values: "0"
93
- }, null, -1)), Bt = ["id"], Ut = ["flood-color"], Dt = {
93
+ }, null, -1)), Dt = ["id"], Vt = ["flood-color"], qt = {
94
94
  key: 0,
95
95
  class: "donut-label-connectors"
96
- }, Vt = ["d", "stroke", "stroke-width", "filter"], qt = ["cx", "cy", "r", "fill"], Wt = ["cx", "cy", "r", "fill", "filter"], jt = { class: "donut" }, Gt = ["d", "fill", "stroke", "stroke-width", "filter"], Ht = ["d", "onMouseenter", "onClick"], Xt = {
96
+ }, Wt = ["d", "stroke", "stroke-width", "filter"], jt = ["cx", "cy", "r", "fill"], Gt = ["cx", "cy", "r", "fill", "filter"], Ht = { class: "donut" }, Xt = ["d", "fill", "stroke", "stroke-width", "filter"], Zt = ["d", "onMouseenter", "onClick"], Yt = {
97
97
  key: 1,
98
98
  class: "donut-labels quick-animation"
99
- }, Zt = ["cx", "cy", "fill", "filter"], Yt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Jt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Qt = {
99
+ }, Jt = ["cx", "cy", "fill", "filter"], Qt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], Kt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ea = {
100
100
  key: 2,
101
101
  class: "donut-hollow quick-animation"
102
- }, Kt = ["x", "y", "font-size", "fill"], ea = ["x", "y", "font-size", "fill"], ta = {
102
+ }, ta = ["x", "y", "font-size", "fill"], aa = ["x", "y", "font-size", "fill"], la = {
103
103
  key: 0,
104
104
  class: "line-grid"
105
- }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = {
105
+ }, oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = {
106
106
  key: 1,
107
107
  class: "line-axis"
108
- }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = {
108
+ }, na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sa = {
109
109
  key: 2,
110
110
  class: "yLabels"
111
- }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sa = ["x", "y", "font-size", "fill"], va = {
111
+ }, va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], da = ["x", "y", "font-size", "fill"], ca = {
112
112
  key: 3,
113
113
  class: "periodLabels"
114
- }, da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["font-size", "text-anchor", "fill", "transform"], ha = { class: "plots" }, fa = { class: "line-plot-series" }, ga = ["d", "stroke", "stroke-width"], ma = ["d", "stroke", "stroke-width"], pa = ["d", "stroke", "stroke-width"], xa = ["d", "stroke", "stroke-width"], ya = ["cx", "cy", "fill", "stroke"], ka = {
114
+ }, ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = ["font-size", "text-anchor", "fill", "transform"], ga = { class: "plots" }, ma = { class: "line-plot-series" }, pa = ["d", "stroke", "stroke-width"], xa = ["d", "stroke", "stroke-width"], ya = ["d", "stroke", "stroke-width"], ka = ["d", "stroke", "stroke-width"], ba = ["cx", "cy", "fill", "stroke"], Sa = {
115
115
  key: 4,
116
116
  class: "dataLabels"
117
- }, ba = ["font-size", "fill", "x", "y"], Sa = { class: "tooltip-traps" }, wa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], _a = {
117
+ }, wa = ["font-size", "fill", "x", "y"], _a = { class: "tooltip-traps" }, Aa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], La = {
118
118
  key: 0,
119
119
  class: "line-grid"
120
- }, Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = {
120
+ }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = {
121
121
  key: 1,
122
122
  class: "line-axis"
123
- }, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = {
123
+ }, Pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = {
124
124
  key: 2,
125
125
  class: "yLabels"
126
- }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x", "y", "font-size", "fill"], Ta = {
126
+ }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = ["x", "y", "font-size", "fill"], Na = {
127
127
  key: 3,
128
128
  class: "periodLabels"
129
- }, Ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["font-size", "text-anchor", "transform", "fill"], Fa = { class: "plots" }, Ma = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Oa = ["to"], Ba = ["from", "to"], Ua = {
129
+ }, Fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ma = ["font-size", "text-anchor", "transform", "fill"], Oa = { class: "plots" }, Ba = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Ua = ["to"], Da = ["from", "to"], Va = {
130
130
  key: 4,
131
131
  class: "dataLabels"
132
- }, Da = ["x", "y", "font-size", "fill"], Va = { class: "tooltip-traps" }, qa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Wa = {
132
+ }, qa = ["x", "y", "font-size", "fill"], Wa = { class: "tooltip-traps" }, ja = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ga = {
133
133
  key: 3,
134
134
  class: "axis-labels"
135
- }, ja = { key: 0 }, Ga = ["font-size", "fill", "x", "y"], Ha = { key: 1 }, Xa = ["font-size", "fill", "x", "y"], Za = { key: 2 }, Ya = ["font-size", "fill", "transform"], Ja = { key: 3 }, Qa = ["font-size", "fill", "transform"], Ka = {
135
+ }, Ha = { key: 0 }, Xa = ["font-size", "fill", "x", "y"], Za = { key: 1 }, Ya = ["font-size", "fill", "x", "y"], Ja = { key: 2 }, Qa = ["font-size", "fill", "transform"], Ka = { key: 3 }, el = ["font-size", "fill", "transform"], tl = {
136
136
  key: 4,
137
137
  class: "vue-data-ui-watermark"
138
- }, el = ["onClick"], tl = ["onClick"], al = ["onClick"], ll = {
138
+ }, al = ["onClick"], ll = ["onClick"], ol = ["onClick"], il = {
139
139
  key: 1,
140
140
  class: "vue-ui-quick-chart-not-processable"
141
- }, ol = /* @__PURE__ */ Ye(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), il = {
141
+ }, ul = /* @__PURE__ */ Ke(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), nl = {
142
142
  __name: "vue-ui-quick-chart",
143
143
  props: {
144
144
  config: {
@@ -156,20 +156,30 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
156
156
  },
157
157
  emits: ["selectDatapoint", "selectLegend"],
158
158
  setup(s, { expose: $, emit: g }) {
159
- const R = s, { vue_ui_quick_chart: V } = vt(), j = E(null), le = E(null), oe = E(null), re = E(null), P = E(dt()), G = E(!1), se = E(null), Q = E(""), q = E(null), w = E([]), Ne = E(0), ze = E(0), e = W(() => {
160
- const r = je({
159
+ const R = s, { vue_ui_quick_chart: V } = ct(), j = E(null), le = E(null), oe = E(null), re = E(null), P = E(ht()), G = E(!1), se = E(null), Q = E(""), q = E(null), w = E([]), Fe = E(0), ye = E(0), e = W({
160
+ get: () => Me(),
161
+ set: (u) => u
162
+ });
163
+ function Me() {
164
+ const u = Xe({
161
165
  userConfig: R.config,
162
166
  defaultConfig: V
163
167
  });
164
- return r.theme ? {
165
- ...je({
166
- userConfig: ct.vue_ui_quick_chart[r.theme] || R.config,
167
- defaultConfig: r
168
+ return u.theme ? {
169
+ ...Xe({
170
+ userConfig: ft.vue_ui_quick_chart[u.theme] || R.config,
171
+ defaultConfig: u
168
172
  }),
169
- customPalette: ht[r.theme] || U
170
- } : r;
171
- }), ve = W(() => ft(e.value.customPalette)), xe = W(() => {
172
- const r = Ct({ dataset: gt(R.dataset, [
173
+ customPalette: gt[u.theme] || U
174
+ } : u;
175
+ }
176
+ Pe(() => R.config, (u) => {
177
+ e.value = Me(), k.value.width = e.value.width, k.value.height = e.value.height, Ue();
178
+ }, { deep: !0 }), Pe(() => R.dataset, (u) => {
179
+ y.value = de.value, b.value.start = 0, b.value.end = y.value.maxSeriesLength, ye.value += 1;
180
+ }, { deep: !0 });
181
+ const ve = W(() => mt(e.value.customPalette)), de = W(() => {
182
+ const u = It({ dataset: pt(R.dataset, [
173
183
  "serie",
174
184
  "series",
175
185
  "data",
@@ -177,125 +187,129 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
177
187
  "values",
178
188
  "num"
179
189
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
180
- return r || console.error("VueUiQuickChart : Dataset is not processable"), r;
181
- }), k = E(xe.value), Je = W(() => !!k.value), z = W(() => k.value ? k.value.type : null);
182
- ot(() => z.value, (r) => {
183
- r || mt({
190
+ return u || console.error("VueUiQuickChart : Dataset is not processable"), u;
191
+ }), y = E(de.value), et = W(() => !!y.value), z = W(() => y.value ? y.value.type : null);
192
+ Pe(() => z.value, (u) => {
193
+ u || xt({
184
194
  componentName: "VueUiQuickChart",
185
195
  type: "dataset"
186
196
  });
187
197
  }, { immediate: !0 });
188
- const { isPrinting: ye, isImaging: ke, generatePdf: Fe, generateImage: Me } = wt({
198
+ const { isPrinting: ke, isImaging: be, generatePdf: Oe, generateImage: Be } = At({
189
199
  elementId: `${z.value}_${P.value}`,
190
200
  fileName: e.value.title || z.value
191
- }), b = E({
201
+ }), k = E({
192
202
  width: e.value.width,
193
203
  height: e.value.height
194
- }), be = E({
204
+ }), Se = E({
195
205
  showTooltip: e.value.showTooltip
196
- }), Se = E(null);
197
- it(() => {
206
+ }), we = E(null);
207
+ nt(() => {
208
+ Ue();
209
+ });
210
+ function Ue() {
198
211
  if (e.value.responsive) {
199
- const r = kt(() => {
200
- const { width: c, height: t } = bt({
212
+ const u = St(() => {
213
+ const { width: c, height: t } = wt({
201
214
  chart: j.value,
202
215
  title: e.value.title ? le.value : null,
203
216
  legend: e.value.showLegend ? oe.value : null,
204
- slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? re.value : null
217
+ slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && y.value.maxSeriesLength > 1 ? re.value : null
205
218
  });
206
- b.value.width = c, b.value.height = t;
219
+ k.value.width = c, k.value.height = t;
207
220
  });
208
- Se.value = new ResizeObserver(r), Se.value.observe(j.value.parentNode);
221
+ we.value = new ResizeObserver(u), we.value.observe(j.value.parentNode);
209
222
  }
210
- }), ut(() => {
211
- Se.value && Se.value.disconnect();
223
+ }
224
+ rt(() => {
225
+ we.value && we.value.disconnect();
212
226
  });
213
- const Qe = W(() => {
227
+ const tt = W(() => {
214
228
  switch (z.value) {
215
229
  case A.LINE:
216
- return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
230
+ return `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`;
217
231
  case A.BAR:
218
- return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
232
+ return `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`;
219
233
  case A.DONUT:
220
- return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
234
+ return `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`;
221
235
  default:
222
- return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
236
+ return `0 0 ${k.value.width <= 0 ? 10 : k.value.width} ${k.value.height <= 0 ? 10 : k.value.height}`;
223
237
  }
224
238
  });
225
- function Oe(r) {
226
- return [...r].map((c) => c.value).reduce((c, t) => c + t, 0);
239
+ function De(u) {
240
+ return [...u].map((c) => c.value).reduce((c, t) => c + t, 0);
227
241
  }
228
- function de(r) {
229
- return e.value.blurOnHover && ![null, void 0].includes(q.value) && q.value !== r ? `url(#blur_${P.value})` : "";
242
+ function ce(u) {
243
+ return e.value.blurOnHover && ![null, void 0].includes(q.value) && q.value !== u ? `url(#blur_${P.value})` : "";
230
244
  }
231
- function Be(r, c) {
232
- w.value.includes(r) ? w.value = w.value.filter((t) => t !== r) : w.value.length < c && w.value.push(r);
245
+ function Ve(u, c) {
246
+ w.value.includes(u) ? w.value = w.value.filter((t) => t !== u) : w.value.length < c && w.value.push(u);
233
247
  }
234
- const Ue = E(null), De = E(null), we = E(!1);
235
- function Ke(r, c) {
236
- we.value = !0;
237
- let t = r.value;
238
- if (w.value.includes(r.id)) {
239
- let n = function() {
240
- t > u ? (we.value = !1, cancelAnimationFrame(De.value), k.value = {
241
- ...k.value,
242
- dataset: k.value.dataset.map((h, N) => r.id === `donut_${N}` ? {
248
+ const qe = E(null), We = E(null), _e = E(!1);
249
+ function at(u, c) {
250
+ _e.value = !0;
251
+ let t = u.value;
252
+ if (w.value.includes(u.id)) {
253
+ let r = function() {
254
+ t > n ? (_e.value = !1, cancelAnimationFrame(We.value), y.value = {
255
+ ...y.value,
256
+ dataset: y.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
243
257
  ...h,
244
- value: u,
245
- VALUE: u
258
+ value: n,
259
+ VALUE: n
246
260
  } : h)
247
- }) : (t += u * 0.025, k.value = {
248
- ...k.value,
249
- dataset: k.value.dataset.map((h, N) => r.id === `donut_${N}` ? {
261
+ }) : (t += n * 0.025, y.value = {
262
+ ...y.value,
263
+ dataset: y.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
250
264
  ...h,
251
265
  value: t,
252
266
  VALUE: t
253
267
  } : h)
254
- }, De.value = requestAnimationFrame(n));
268
+ }, We.value = requestAnimationFrame(r));
255
269
  };
256
- w.value = w.value.filter((h) => h !== r.id);
257
- const u = xe.value.dataset.find((h, N) => r.id === `donut_${N}`).VALUE;
258
- n();
270
+ w.value = w.value.filter((h) => h !== u.id);
271
+ const n = de.value.dataset.find((h, N) => u.id === `donut_${N}`).VALUE;
272
+ r();
259
273
  } else if (c.length > 1) {
260
- let u = function() {
261
- t < 0.1 ? (we.value = !1, cancelAnimationFrame(Ue.value), w.value.push(r.id), k.value = {
262
- ...k.value,
263
- dataset: k.value.dataset.map((n, h) => r.id === `donut_${h}` ? {
264
- ...n,
274
+ let n = function() {
275
+ t < 0.1 ? (_e.value = !1, cancelAnimationFrame(qe.value), w.value.push(u.id), y.value = {
276
+ ...y.value,
277
+ dataset: y.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
278
+ ...r,
265
279
  value: 0,
266
280
  VALUE: 0
267
- } : n)
268
- }) : (t /= 1.1, k.value = {
269
- ...k.value,
270
- dataset: k.value.dataset.map((n, h) => r.id === `donut_${h}` ? {
271
- ...n,
281
+ } : r)
282
+ }) : (t /= 1.1, y.value = {
283
+ ...y.value,
284
+ dataset: y.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
285
+ ...r,
272
286
  value: t,
273
287
  VALUE: t
274
- } : n)
275
- }, Ue.value = requestAnimationFrame(u));
288
+ } : r)
289
+ }, qe.value = requestAnimationFrame(n));
276
290
  };
277
- u();
291
+ n();
278
292
  }
279
293
  }
280
294
  const Y = E(null);
281
- function et(r) {
282
- Y.value = r;
295
+ function lt(u) {
296
+ Y.value = u;
283
297
  }
284
298
  const C = W(() => {
285
299
  if (z.value !== A.DONUT) return null;
286
- const r = k.value.dataset.map((o, i) => ({
300
+ const u = y.value.dataset.map((o, i) => ({
287
301
  ...o,
288
302
  value: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
289
303
  name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
290
304
  id: `donut_${i}`
291
305
  })).map((o, i) => ({
292
306
  ...o,
293
- color: o.COLOR ? Ee(o.COLOR) : ve.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
307
+ color: o.COLOR ? Te(o.COLOR) : ve.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
294
308
  immutableValue: o.value
295
309
  }));
296
310
  function c(o, i) {
297
311
  return O({
298
- v: isNaN(o.value / Oe(i)) ? 0 : o.value / Oe(i) * 100,
312
+ v: isNaN(o.value / De(i)) ? 0 : o.value / De(i) * 100,
299
313
  s: "%",
300
314
  r: e.value.dataLabelRoundingPercentage
301
315
  });
@@ -303,23 +317,23 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
303
317
  function t(o) {
304
318
  return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
305
319
  }
306
- function u(o, i) {
307
- const y = xe.value.dataset.find((I, M) => `donut_${M}` === o).VALUE;
308
- return Math.abs(String(Number(y.toFixed(0))).length - String(Number(i.toFixed(0))).length);
320
+ function n(o, i) {
321
+ const S = de.value.dataset.find((I, M) => `donut_${M}` === o).VALUE;
322
+ return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
309
323
  }
310
- function n({ datapoint: o, seriesIndex: i }) {
311
- se.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: r }, q.value = o.id;
312
- const y = e.value.tooltipCustomFormat;
313
- if (_e(y) && Re(() => y({
324
+ function r({ datapoint: o, seriesIndex: i }) {
325
+ se.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: u }, q.value = o.id;
326
+ const S = e.value.tooltipCustomFormat;
327
+ if (Ae(S) && Ne(() => S({
314
328
  datapoint: o,
315
329
  seriesIndex: i,
316
- series: r,
330
+ series: u,
317
331
  config: e.value
318
332
  })))
319
- Q.value = y({
333
+ Q.value = S({
320
334
  datapoint: o,
321
335
  seriesIndex: i,
322
- series: r,
336
+ series: u,
323
337
  config: e.value
324
338
  });
325
339
  else {
@@ -342,29 +356,29 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
342
356
  G.value = !1, q.value = null, Y.value = null;
343
357
  }
344
358
  const N = {
345
- centerX: b.value.width / 2,
346
- centerY: b.value.height / 2
347
- }, B = r.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), ie = r.map((o, i) => ({
359
+ centerX: k.value.width / 2,
360
+ centerY: k.value.height / 2
361
+ }, B = u.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), ie = u.map((o, i) => ({
348
362
  ...o,
349
363
  proportion: (o.value || 0) / B,
350
364
  value: o.value || 0,
351
- absoluteValue: xe.value.dataset.find((y, x) => `donut_${x}` === o.id).VALUE
352
- })), K = b.value.width / 2, ue = b.value.height / 2, ee = b.value.height * e.value.donutRadiusRatio;
365
+ absoluteValue: de.value.dataset.find((S, x) => `donut_${x}` === o.id).VALUE
366
+ })), K = k.value.width / 2, ue = k.value.height / 2, ee = k.value.height * e.value.donutRadiusRatio;
353
367
  return {
354
368
  dataset: ie.filter((o) => !w.value.includes(o.id)),
355
369
  legend: ie,
356
370
  drawingArea: N,
357
371
  displayArcPercentage: c,
358
372
  isArcBigEnough: t,
359
- useTooltip: n,
373
+ useTooltip: r,
360
374
  killTooltip: h,
361
- getSpaces: u,
375
+ getSpaces: n,
362
376
  total: B,
363
377
  cx: K,
364
378
  cy: ue,
365
379
  radius: ee,
366
- chart: pt(
367
- { series: r.filter((o) => !w.value.includes(o.id)) },
380
+ chart: yt(
381
+ { series: u.filter((o) => !w.value.includes(o.id)) },
368
382
  K,
369
383
  ue,
370
384
  ee,
@@ -374,87 +388,87 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
374
388
  1,
375
389
  360,
376
390
  105.25,
377
- b.value.height * e.value.donutThicknessRatio
391
+ k.value.height * e.value.donutThicknessRatio
378
392
  )
379
393
  };
380
- }), S = E({
394
+ }), b = E({
381
395
  start: 0,
382
- end: k.value.maxSeriesLength
396
+ end: y.value.maxSeriesLength
383
397
  });
384
- function tt() {
385
- S.value = {
398
+ function ot() {
399
+ b.value = {
386
400
  start: 0,
387
- end: k.value.maxSeriesLength
388
- }, ze.value += 1;
401
+ end: y.value.maxSeriesLength
402
+ }, ye.value += 1;
389
403
  }
390
- const at = W(() => {
404
+ const it = W(() => {
391
405
  if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
392
- let r = [];
393
- Z(k.value.dataset) && (r = k.value.dataset), Le(k.value.dataset) && (r = k.value.dataset.map((n, h) => ({
394
- values: n.VALUE || n.DATA || n.SERIE || n.SERIES || n.VALUES || n.NUM || 0,
406
+ let u = [];
407
+ Z(y.value.dataset) && (u = y.value.dataset), ze(y.value.dataset) && (u = y.value.dataset.map((r, h) => ({
408
+ values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
395
409
  id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
396
- })).filter((n) => !w.value.includes(n.id)));
397
- const c = Z(r) ? r.length : Math.max(...r.map((n) => n.values.length));
410
+ })).filter((r) => !w.value.includes(r.id)));
411
+ const c = Z(u) ? u.length : Math.max(...u.map((r) => r.values.length));
398
412
  let t = [];
399
- if (Z(r))
400
- t = r;
413
+ if (Z(u))
414
+ t = u;
401
415
  else
402
- for (let n = 0; n < c; n += 1)
403
- t.push(r.map((h) => h.values[n] || 0).reduce((h, N) => (h || 0) + (N || 0), 0));
404
- const u = Math.min(...t);
405
- return t.map((n) => n + (u < 0 ? Math.abs(u) : 0));
416
+ for (let r = 0; r < c; r += 1)
417
+ t.push(u.map((h) => h.values[r] || 0).reduce((h, N) => (h || 0) + (N || 0), 0));
418
+ const n = Math.min(...t);
419
+ return t.map((r) => r + (n < 0 ? Math.abs(n) : 0));
406
420
  }), d = W(() => {
407
421
  if (z.value !== A.LINE) return null;
408
- const r = {
409
- height: b.value.height,
410
- width: b.value.width
422
+ const u = {
423
+ height: k.value.height,
424
+ width: k.value.width
411
425
  }, c = {
412
426
  left: e.value.xyPaddingLeft,
413
427
  top: e.value.xyPaddingTop,
414
- right: r.width - e.value.xyPaddingRight,
415
- bottom: r.height - e.value.xyPaddingBottom,
416
- width: r.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
417
- height: r.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
428
+ right: u.width - e.value.xyPaddingRight,
429
+ bottom: u.height - e.value.xyPaddingBottom,
430
+ width: u.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
431
+ height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
418
432
  };
419
433
  let t = [];
420
- Z(k.value.dataset) && (t = [
434
+ Z(y.value.dataset) && (t = [
421
435
  {
422
- values: k.value.dataset.slice(S.value.start, S.value.end),
423
- absoluteIndices: k.value.dataset.map((o, i) => i).slice(S.value.start, S.value.end),
436
+ values: y.value.dataset.slice(b.value.start, b.value.end),
437
+ absoluteIndices: y.value.dataset.map((o, i) => i).slice(b.value.start, b.value.end),
424
438
  name: e.value.title,
425
439
  color: ve.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
426
440
  id: "line_0"
427
441
  }
428
- ]), Le(k.value.dataset) && (t = k.value.dataset.map((o, i) => ({
442
+ ]), ze(y.value.dataset) && (t = y.value.dataset.map((o, i) => ({
429
443
  ...o,
430
444
  values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
431
445
  name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
432
446
  id: `line_${i}`
433
447
  })).map((o, i) => ({
434
448
  ...o,
435
- color: o.COLOR ? Ee(o.COLOR) : ve.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
436
- values: o.values.slice(S.value.start, S.value.end),
437
- absoluteIndices: o.values.map((y, x) => x).slice(S.value.start, S.value.end)
449
+ color: o.COLOR ? Te(o.COLOR) : ve.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
450
+ values: o.values.slice(b.value.start, b.value.end),
451
+ absoluteIndices: o.values.map((S, x) => x).slice(b.value.start, b.value.end)
438
452
  })));
439
- const u = {
453
+ const n = {
440
454
  max: Math.max(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
441
455
  min: Math.min(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
442
456
  maxSeries: Math.max(...t.map((o) => o.values.length))
443
- }, n = qe(u.min < 0 ? u.min : 0, u.max < 0 ? 0 : u.max, e.value.xyScaleSegments), h = u.min < 0 ? Math.abs(u.min) : 0, N = u.max < 0 ? c.top : c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, ie = n.ticks.map((o) => ({
444
- y: c.bottom - c.height * ((o + h) / (n.max + h)),
457
+ }, r = Ge(n.min < 0 ? n.min : 0, n.max < 0 ? 0 : n.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, N = n.max < 0 ? c.top : c.bottom - h / (r.max + h) * c.height, B = c.width / n.maxSeries, ie = r.ticks.map((o) => ({
458
+ y: c.bottom - c.height * ((o + h) / (r.max + h)),
445
459
  x: c.left - 8,
446
460
  value: o
447
461
  })), K = t.map((o, i) => ({
448
462
  ...o,
449
- coordinates: o.values.map((y, x) => ({
463
+ coordinates: o.values.map((S, x) => ({
450
464
  x: c.left + B * (x + 1) - B / 2,
451
- y: c.bottom - (y + h) / (n.max + h) * c.height,
452
- value: y
465
+ y: c.bottom - (S + h) / (r.max + h) * c.height,
466
+ value: S
453
467
  }))
454
468
  })).map((o) => {
455
469
  let i = [];
456
- return o.coordinates.forEach((y) => {
457
- i.push(`${y.x},${y.y} `);
470
+ return o.coordinates.forEach((S) => {
471
+ i.push(`${S.x},${S.y} `);
458
472
  }), {
459
473
  ...o,
460
474
  linePath: i.join(" ")
@@ -468,14 +482,14 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
468
482
  absoluteIndex: x.absoluteIndices[o]
469
483
  })).filter((x) => !w.value.includes(x.id));
470
484
  se.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
471
- const y = e.value.tooltipCustomFormat;
472
- if (_e(y) && Re(() => y({
485
+ const S = e.value.tooltipCustomFormat;
486
+ if (Ae(S) && Ne(() => S({
473
487
  datapoint: i,
474
488
  seriesIndex: o,
475
489
  series: t,
476
490
  config: e.value
477
491
  })))
478
- Q.value = y({
492
+ Q.value = S({
479
493
  datapoint: i,
480
494
  seriesIndex: o,
481
495
  series: t,
@@ -514,7 +528,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
514
528
  dataset: K.filter((o) => !w.value.includes(o.id)),
515
529
  legend: K,
516
530
  drawingArea: c,
517
- extremes: u,
531
+ extremes: n,
518
532
  slotSize: B,
519
533
  yLabels: ie,
520
534
  useTooltip: ue,
@@ -522,94 +536,94 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
522
536
  };
523
537
  }), v = W(() => {
524
538
  if (z.value !== A.BAR) return null;
525
- const r = {
526
- height: b.value.height,
527
- width: b.value.width
539
+ const u = {
540
+ height: k.value.height,
541
+ width: k.value.width
528
542
  }, c = {
529
543
  left: e.value.xyPaddingLeft,
530
544
  top: e.value.xyPaddingTop,
531
- right: r.width - e.value.xyPaddingRight,
532
- bottom: r.height - e.value.xyPaddingBottom,
533
- width: r.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
534
- height: r.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
545
+ right: u.width - e.value.xyPaddingRight,
546
+ bottom: u.height - e.value.xyPaddingBottom,
547
+ width: u.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
548
+ height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
535
549
  };
536
550
  let t = [];
537
- Z(k.value.dataset) && (t = [
551
+ Z(y.value.dataset) && (t = [
538
552
  {
539
- values: k.value.dataset.slice(S.value.start, S.value.end),
540
- absoluteIndices: k.value.dataset.map((i, y) => y).slice(S.value.start, S.value.end),
553
+ values: y.value.dataset.slice(b.value.start, b.value.end),
554
+ absoluteIndices: y.value.dataset.map((i, S) => S).slice(b.value.start, b.value.end),
541
555
  name: e.value.title,
542
556
  color: ve.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
543
557
  id: "bar_0"
544
558
  }
545
- ]), Le(k.value.dataset) && (t = k.value.dataset.map((i, y) => ({
559
+ ]), ze(y.value.dataset) && (t = y.value.dataset.map((i, S) => ({
546
560
  ...i,
547
561
  values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
548
- name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${y}`,
549
- id: `bar_${y}`
550
- })).map((i, y) => ({
562
+ name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${S}`,
563
+ id: `bar_${S}`
564
+ })).map((i, S) => ({
551
565
  ...i,
552
- color: i.COLOR ? Ee(i.COLOR) : ve.value[y + e.value.paletteStartIndex] || U[y + e.value.paletteStartIndex] || U[(y + e.value.paletteStartIndex) % U.length],
553
- values: i.values.slice(S.value.start, S.value.end),
554
- absoluteIndices: i.values.map((x, I) => I).slice(S.value.start, S.value.end)
566
+ color: i.COLOR ? Te(i.COLOR) : ve.value[S + e.value.paletteStartIndex] || U[S + e.value.paletteStartIndex] || U[(S + e.value.paletteStartIndex) % U.length],
567
+ values: i.values.slice(b.value.start, b.value.end),
568
+ absoluteIndices: i.values.map((x, I) => I).slice(b.value.start, b.value.end)
555
569
  })));
556
- const u = {
570
+ const n = {
557
571
  max: Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)) < 0 ? 0 : Math.max(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
558
572
  min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
559
573
  maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
560
- }, n = qe(u.min < 0 ? u.min : 0, u.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, N = c.bottom - h / (n.max + h) * c.height, B = c.width / u.maxSeries, ie = n.ticks.map((i) => ({
561
- y: c.bottom - c.height * ((i + h) / (n.max + h)),
574
+ }, r = Ge(n.min < 0 ? n.min : 0, n.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, N = c.bottom - h / (r.max + h) * c.height, B = c.width / n.maxSeries, ie = r.ticks.map((i) => ({
575
+ y: c.bottom - c.height * ((i + h) / (r.max + h)),
562
576
  x: c.left - 8,
563
577
  value: i
564
- })), K = t.map((i, y) => ({
578
+ })), K = t.map((i, S) => ({
565
579
  ...i,
566
580
  coordinates: i.values.map((x, I) => {
567
- const M = (x + h) / (u.max + h) * c.height, ce = Math.abs(x) / Math.abs(u.min) * (c.height - N), Ce = h / (u.max + h) * c.height, he = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
581
+ const M = (x + h) / (n.max + h) * c.height, he = Math.abs(x) / Math.abs(n.min) * (c.height - N), Ce = h / (n.max + h) * c.height, fe = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
568
582
  return {
569
- x: c.left + B * I + he * y + e.value.barGap / 2,
583
+ x: c.left + B * I + fe * S + e.value.barGap / 2,
570
584
  y: x > 0 ? c.bottom - M : N,
571
- height: x > 0 ? M - Ce : ce,
585
+ height: x > 0 ? M - Ce : he,
572
586
  value: x,
573
- width: he
587
+ width: fe
574
588
  };
575
589
  })
576
- })), ue = t.filter((i) => !w.value.includes(i.id)).map((i, y) => ({
590
+ })), ue = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
577
591
  ...i,
578
592
  coordinates: i.values.map((x, I) => {
579
- const M = (x + h) / (u.max + h) * c.height, ce = Math.abs(x) / (u.max + h) * c.height, Ce = h / (u.max + h) * c.height, he = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
593
+ const M = (x + h) / (n.max + h) * c.height, he = Math.abs(x) / (n.max + h) * c.height, Ce = h / (n.max + h) * c.height, fe = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
580
594
  return {
581
- x: c.left + B * I + he * y + e.value.barGap / 2,
595
+ x: c.left + B * I + fe * S + e.value.barGap / 2,
582
596
  y: x > 0 ? c.bottom - M : N,
583
- height: x > 0 ? M - Ce : ce,
597
+ height: x > 0 ? M - Ce : he,
584
598
  value: x,
585
- width: he
599
+ width: fe
586
600
  };
587
601
  })
588
602
  }));
589
603
  function ee(i) {
590
604
  q.value = i, Y.value = i;
591
- const y = t.map((I) => ({
605
+ const S = t.map((I) => ({
592
606
  ...I,
593
607
  value: I.values[i],
594
608
  absoluteIndex: I.absoluteIndices[i]
595
609
  })).filter((I) => !w.value.includes(I.id));
596
- se.value = { datapoint: y, seriesIndex: i, config: e.value, dataset: t };
610
+ se.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
597
611
  const x = e.value.tooltipCustomFormat;
598
- if (_e(x) && Re(() => x({
599
- datapoint: y,
612
+ if (Ae(x) && Ne(() => x({
613
+ datapoint: S,
600
614
  seriesIndex: i,
601
615
  series: t,
602
616
  config: e.value
603
617
  })))
604
618
  Q.value = x({
605
- point: y,
619
+ point: S,
606
620
  seriesIndex: i,
607
621
  series: t,
608
622
  config: e.value
609
623
  });
610
624
  else {
611
625
  let I = "";
612
- e.value.xyPeriods[y[0].absoluteIndex] && (I += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[y[0].absoluteIndex]}</div>`), y.forEach((M, ce) => {
626
+ e.value.xyPeriods[S[0].absoluteIndex] && (I += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((M, he) => {
613
627
  I += `
614
628
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
615
629
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${M.color}"/></svg>
@@ -623,7 +637,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
623
637
  s: e.value.valueSuffix,
624
638
  r: e.value.dataLabelRoundingValue
625
639
  }),
626
- { datapoint: M, seriesIndex: ce }
640
+ { datapoint: M, seriesIndex: he }
627
641
  )}
628
642
  </b>
629
643
  </div>
@@ -640,24 +654,24 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
640
654
  dataset: ue.filter((i) => !w.value.includes(i.id)),
641
655
  legend: K,
642
656
  drawingArea: c,
643
- extremes: u,
657
+ extremes: n,
644
658
  slotSize: B,
645
659
  yLabels: ie,
646
660
  useTooltip: ee,
647
661
  killTooltip: o
648
662
  };
649
663
  }), $e = E(!1);
650
- function lt(r) {
651
- $e.value = r, Ne.value += 1;
664
+ function ut(u) {
665
+ $e.value = u, Fe.value += 1;
652
666
  }
653
- function Ve() {
654
- be.value.showTooltip = !be.value.showTooltip;
667
+ function je() {
668
+ Se.value.showTooltip = !Se.value.showTooltip;
655
669
  }
656
670
  return $({
657
- generatePdf: Fe,
658
- generateImage: Me,
659
- toggleTooltip: Ve
660
- }), (r, c) => Je.value ? (a(), l("div", {
671
+ generatePdf: Oe,
672
+ generateImage: Be,
673
+ toggleTooltip: je
674
+ }), (u, c) => et.value ? (a(), l("div", {
661
675
  key: 0,
662
676
  id: `${z.value}_${P.value}`,
663
677
  ref_key: "quickChart",
@@ -665,53 +679,53 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
665
679
  class: ne({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": $e.value }),
666
680
  style: F(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
667
681
  }, [
668
- e.value.showUserOptions ? (a(), Pe(_t, {
682
+ e.value.showUserOptions ? (a(), Ie(Lt, {
669
683
  ref: "details",
670
- key: `user_option_${Ne.value}`,
684
+ key: `user_option_${Fe.value}`,
671
685
  backgroundColor: e.value.backgroundColor,
672
686
  color: e.value.color,
673
- isPrinting: f(ye),
674
- isImaging: f(ke),
687
+ isPrinting: f(ke),
688
+ isImaging: f(be),
675
689
  uid: P.value,
676
690
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
677
691
  hasPdf: e.value.userOptionsButtons.pdf,
678
692
  hasImg: e.value.userOptionsButtons.img,
679
693
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
680
694
  hasXls: !1,
681
- isTooltip: be.value.showTooltip,
695
+ isTooltip: Se.value.showTooltip,
682
696
  isFullscreen: $e.value,
683
697
  titles: { ...e.value.userOptionsButtonTitles },
684
698
  chartElement: j.value,
685
- onToggleFullscreen: lt,
686
- onGeneratePdf: f(Fe),
687
- onGenerateImage: f(Me),
688
- onToggleTooltip: Ve
689
- }, nt({ _: 2 }, [
690
- r.$slots.optionTooltip ? {
699
+ onToggleFullscreen: ut,
700
+ onGeneratePdf: f(Oe),
701
+ onGenerateImage: f(Be),
702
+ onToggleTooltip: je
703
+ }, st({ _: 2 }, [
704
+ u.$slots.optionTooltip ? {
691
705
  name: "optionTooltip",
692
706
  fn: ae(() => [
693
- D(r.$slots, "optionTooltip", {}, void 0, !0)
707
+ D(u.$slots, "optionTooltip", {}, void 0, !0)
694
708
  ]),
695
709
  key: "0"
696
710
  } : void 0,
697
- r.$slots.optionPdf ? {
711
+ u.$slots.optionPdf ? {
698
712
  name: "optionPdf",
699
713
  fn: ae(() => [
700
- D(r.$slots, "optionPdf", {}, void 0, !0)
714
+ D(u.$slots, "optionPdf", {}, void 0, !0)
701
715
  ]),
702
716
  key: "1"
703
717
  } : void 0,
704
- r.$slots.optionImg ? {
718
+ u.$slots.optionImg ? {
705
719
  name: "optionImg",
706
720
  fn: ae(() => [
707
- D(r.$slots, "optionImg", {}, void 0, !0)
721
+ D(u.$slots, "optionImg", {}, void 0, !0)
708
722
  ]),
709
723
  key: "2"
710
724
  } : void 0,
711
- r.$slots.optionFullscreen ? {
725
+ u.$slots.optionFullscreen ? {
712
726
  name: "optionFullscreen",
713
- fn: ae(({ toggleFullscreen: t, isFullscreen: u }) => [
714
- D(r.$slots, "optionFullscreen", J(fe({ toggleFullscreen: t, isFullscreen: u })), void 0, !0)
727
+ fn: ae(({ toggleFullscreen: t, isFullscreen: n }) => [
728
+ D(u.$slots, "optionFullscreen", J(ge({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
715
729
  ]),
716
730
  key: "3"
717
731
  } : void 0
@@ -725,8 +739,8 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
725
739
  }, T(e.value.title), 5)) : p("", !0),
726
740
  z.value ? (a(), l("svg", {
727
741
  key: 2,
728
- xmlns: f(xt),
729
- viewBox: Qe.value,
742
+ xmlns: f(kt),
743
+ viewBox: tt.value,
730
744
  style: F(`max-width:100%;overflow:visible;background:${e.value.backgroundColor};color:${e.value.color}`)
731
745
  }, [
732
746
  _("defs", null, [
@@ -741,9 +755,9 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
741
755
  in: "SourceGraphic",
742
756
  stdDeviation: 2,
743
757
  id: `blur_std_${P.value}`
744
- }, null, 8, Mt),
745
- Ot
746
- ], 8, Ft),
758
+ }, null, 8, Bt),
759
+ Ut
760
+ ], 8, Ot),
747
761
  _("filter", {
748
762
  id: `shadow_${P.value}`,
749
763
  "color-interpolation-filters": "sRGB"
@@ -754,72 +768,72 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
754
768
  stdDeviation: "10",
755
769
  "flood-opacity": "0.5",
756
770
  "flood-color": e.value.donutShadowColor
757
- }, null, 8, Ut)
758
- ], 8, Bt)
771
+ }, null, 8, Vt)
772
+ ], 8, Dt)
759
773
  ]),
760
774
  z.value === A.DONUT ? (a(), l(m, { key: 0 }, [
761
- e.value.showDataLabels ? (a(), l("g", Dt, [
762
- (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l(m, null, [
775
+ e.value.showDataLabels ? (a(), l("g", qt, [
776
+ (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
763
777
  C.value.isArcBigEnough(t) ? (a(), l("path", {
764
778
  key: 0,
765
- d: f(yt)(t, { x: (e.value.width || b.value.width) / 2, y: (e.value.height || b.value.height) / 2 }, 16, 16, !1, !1, e.value.donutLabelMarkerStrokeWidth),
779
+ d: f(bt)(t, { x: (e.value.width || k.value.width) / 2, y: (e.value.height || k.value.height) / 2 }, 16, 16, !1, !1, e.value.donutLabelMarkerStrokeWidth),
766
780
  stroke: t.color,
767
781
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
768
782
  "stroke-linecap": "round",
769
783
  "stroke-linejoin": "round",
770
784
  fill: "none",
771
- filter: de(t.id)
772
- }, null, 8, Vt)) : p("", !0)
785
+ filter: ce(t.id)
786
+ }, null, 8, Wt)) : p("", !0)
773
787
  ], 64))), 256))
774
788
  ])) : p("", !0),
775
789
  _("circle", {
776
790
  class: "donut-hollow",
777
- cx: (e.value.width || b.value.width) / 2,
778
- cy: (e.value.height || b.value.height) / 2,
779
- r: (e.value.height || b.value.height) * e.value.donutRadiusRatio,
791
+ cx: (e.value.width || k.value.width) / 2,
792
+ cy: (e.value.height || k.value.height) / 2,
793
+ r: (e.value.height || k.value.height) * e.value.donutRadiusRatio,
780
794
  fill: e.value.backgroundColor
781
- }, null, 8, qt),
795
+ }, null, 8, jt),
782
796
  _("circle", {
783
797
  cx: C.value.cx,
784
798
  cy: C.value.cy,
785
799
  r: C.value.radius,
786
800
  fill: e.value.backgroundColor,
787
801
  filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
788
- }, null, 8, Wt),
789
- _("g", jt, [
790
- (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l("path", {
802
+ }, null, 8, Gt),
803
+ _("g", Ht, [
804
+ (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
791
805
  d: t.arcSlice,
792
806
  fill: t.color,
793
807
  stroke: e.value.backgroundColor,
794
808
  "stroke-width": e.value.donutStrokeWidth,
795
- filter: de(t.id)
796
- }, null, 8, Gt))), 256)),
797
- (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l("path", {
809
+ filter: ce(t.id)
810
+ }, null, 8, Xt))), 256)),
811
+ (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
798
812
  d: t.arcSlice,
799
813
  fill: "transparent",
800
- onMouseenter: (n) => C.value.useTooltip({ datapoint: t, seriesIndex: u }),
801
- onMouseout: c[0] || (c[0] = (n) => C.value.killTooltip()),
802
- onClick: (n) => g("selectDatapoint", t)
803
- }, null, 40, Ht))), 256))
814
+ onMouseenter: (r) => C.value.useTooltip({ datapoint: t, seriesIndex: n }),
815
+ onMouseout: c[0] || (c[0] = (r) => C.value.killTooltip()),
816
+ onClick: (r) => g("selectDatapoint", t)
817
+ }, null, 40, Zt))), 256))
804
818
  ]),
805
- e.value.showDataLabels ? (a(), l("g", Xt, [
806
- (a(!0), l(m, null, L(C.value.chart, (t, u) => (a(), l(m, null, [
819
+ e.value.showDataLabels ? (a(), l("g", Yt, [
820
+ (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
807
821
  C.value.isArcBigEnough(t) ? (a(), l("circle", {
808
822
  key: 0,
809
- cx: f(me)(t).x,
810
- cy: f(Te)(t) - 3.7,
823
+ cx: f(pe)(t).x,
824
+ cy: f(Re)(t) - 3.7,
811
825
  fill: t.color,
812
826
  r: 3,
813
- filter: de(t.id)
814
- }, null, 8, Zt)) : p("", !0),
827
+ filter: ce(t.id)
828
+ }, null, 8, Jt)) : p("", !0),
815
829
  C.value.isArcBigEnough(t) ? (a(), l("text", {
816
830
  key: 1,
817
- "text-anchor": f(me)(t, !0, 20).anchor,
818
- x: f(me)(t, !0).x,
819
- y: f(Te)(t),
831
+ "text-anchor": f(pe)(t, !0, 20).anchor,
832
+ x: f(pe)(t, !0).x,
833
+ y: f(Re)(t),
820
834
  fill: e.value.color,
821
835
  "font-size": e.value.dataLabelFontSize,
822
- filter: de(t.id)
836
+ filter: ce(t.id)
823
837
  }, T(C.value.displayArcPercentage(t, C.value.chart)) + " (" + T(f(H)(
824
838
  e.value.formatter,
825
839
  t.value,
@@ -829,27 +843,27 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
829
843
  s: e.value.valueSuffix,
830
844
  r: e.value.dataLabelRoundingValue
831
845
  }),
832
- { datapoint: t, seriesIndex: u }
833
- )) + ") ", 9, Yt)) : p("", !0),
846
+ { datapoint: t, seriesIndex: n }
847
+ )) + ") ", 9, Qt)) : p("", !0),
834
848
  C.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
835
849
  key: 2,
836
- "text-anchor": f(me)(t).anchor,
837
- x: f(me)(t, !0).x,
838
- y: f(Te)(t) + e.value.dataLabelFontSize,
850
+ "text-anchor": f(pe)(t).anchor,
851
+ x: f(pe)(t, !0).x,
852
+ y: f(Re)(t) + e.value.dataLabelFontSize,
839
853
  fill: e.value.color,
840
854
  "font-size": e.value.dataLabelFontSize,
841
- filter: de(t.id)
842
- }, T(t.name), 9, Jt)) : p("", !0)
855
+ filter: ce(t.id)
856
+ }, T(t.name), 9, Kt)) : p("", !0)
843
857
  ], 64))), 256))
844
858
  ])) : p("", !0),
845
- e.value.donutShowTotal ? (a(), l("g", Qt, [
859
+ e.value.donutShowTotal ? (a(), l("g", ea, [
846
860
  _("text", {
847
861
  "text-anchor": "middle",
848
862
  x: C.value.drawingArea.centerX,
849
863
  y: C.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
850
864
  "font-size": e.value.donutTotalLabelFontSize,
851
865
  fill: e.value.color
852
- }, T(e.value.donutTotalLabelText), 9, Kt),
866
+ }, T(e.value.donutTotalLabelText), 9, ta),
853
867
  _("text", {
854
868
  "text-anchor": "middle",
855
869
  x: C.value.drawingArea.centerX,
@@ -861,11 +875,11 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
861
875
  v: C.value.total,
862
876
  s: e.value.valueSuffix,
863
877
  r: e.value.dataLabelRoundingValue
864
- })), 9, ea)
878
+ })), 9, aa)
865
879
  ])) : p("", !0)
866
880
  ], 64)) : p("", !0),
867
881
  z.value === A.LINE ? (a(), l(m, { key: 1 }, [
868
- e.value.xyShowGrid ? (a(), l("g", ta, [
882
+ e.value.xyShowGrid ? (a(), l("g", la, [
869
883
  (a(!0), l(m, null, L(d.value.yLabels, (t) => (a(), l(m, null, [
870
884
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
871
885
  key: 0,
@@ -876,19 +890,19 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
876
890
  stroke: e.value.xyGridStroke,
877
891
  "stroke-width": e.value.xyGridStrokeWidth,
878
892
  "stroke-linecap": "round"
879
- }, null, 8, aa)) : p("", !0)
893
+ }, null, 8, oa)) : p("", !0)
880
894
  ], 64))), 256)),
881
- (a(!0), l(m, null, L(d.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
882
- x1: d.value.drawingArea.left + d.value.slotSize * u,
883
- x2: d.value.drawingArea.left + d.value.slotSize * u,
895
+ (a(!0), l(m, null, L(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
896
+ x1: d.value.drawingArea.left + d.value.slotSize * n,
897
+ x2: d.value.drawingArea.left + d.value.slotSize * n,
884
898
  y1: d.value.drawingArea.top,
885
899
  y2: d.value.drawingArea.bottom,
886
900
  stroke: e.value.xyGridStroke,
887
901
  "stroke-width": e.value.xyGridStrokeWidth,
888
902
  "stroke-linecap": "round"
889
- }, null, 8, la))), 256))
903
+ }, null, 8, ia))), 256))
890
904
  ])) : p("", !0),
891
- e.value.xyShowAxis ? (a(), l("g", oa, [
905
+ e.value.xyShowAxis ? (a(), l("g", ua, [
892
906
  _("line", {
893
907
  x1: d.value.drawingArea.left,
894
908
  x2: d.value.drawingArea.left,
@@ -897,7 +911,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
897
911
  stroke: e.value.xyAxisStroke,
898
912
  "stroke-width": e.value.xyAxisStrokeWidth,
899
913
  "stroke-linecap": "round"
900
- }, null, 8, ia),
914
+ }, null, 8, na),
901
915
  _("line", {
902
916
  x1: d.value.drawingArea.left,
903
917
  x2: d.value.drawingArea.right,
@@ -906,10 +920,10 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
906
920
  stroke: e.value.xyAxisStroke,
907
921
  "stroke-width": e.value.xyAxisStrokeWidth,
908
922
  "stroke-linecap": "round"
909
- }, null, 8, ua)
923
+ }, null, 8, ra)
910
924
  ])) : p("", !0),
911
- e.value.xyShowScale ? (a(), l("g", na, [
912
- (a(!0), l(m, null, L(d.value.yLabels, (t, u) => (a(), l(m, null, [
925
+ e.value.xyShowScale ? (a(), l("g", sa, [
926
+ (a(!0), l(m, null, L(d.value.yLabels, (t, n) => (a(), l(m, null, [
913
927
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
914
928
  key: 0,
915
929
  x1: t.x + 4,
@@ -919,7 +933,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
919
933
  stroke: e.value.xyAxisStroke,
920
934
  "stroke-width": e.value.xyAxisStrokeWidth,
921
935
  "stroke-linecap": "round"
922
- }, null, 8, ra)) : p("", !0),
936
+ }, null, 8, va)) : p("", !0),
923
937
  t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
924
938
  key: 1,
925
939
  x: t.x,
@@ -936,48 +950,48 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
936
950
  s: e.value.valueSuffix,
937
951
  r: e.value.dataLabelRoundingValue
938
952
  }),
939
- { datapoint: t, seriesIndex: u }
940
- )), 9, sa)) : p("", !0)
953
+ { datapoint: t, seriesIndex: n }
954
+ )), 9, da)) : p("", !0)
941
955
  ], 64))), 256))
942
956
  ])) : p("", !0),
943
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", va, [
944
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
945
- x1: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
946
- x2: d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2,
957
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ca, [
958
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("line", {
959
+ x1: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
960
+ x2: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
947
961
  y1: d.value.drawingArea.bottom,
948
962
  y2: d.value.drawingArea.bottom + 4,
949
963
  stroke: e.value.xyAxisStroke,
950
964
  "stroke-width": e.value.xyAxisStrokeWidth,
951
965
  "stroke-linecap": "round"
952
- }, null, 8, da))), 256)),
953
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
966
+ }, null, 8, ha))), 256)),
967
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("text", {
954
968
  "font-size": e.value.xyLabelsXFontSize,
955
969
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
956
970
  fill: e.value.color,
957
- transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (u + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
958
- }, T(t), 9, ca))), 256))
971
+ transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
972
+ }, T(t), 9, fa))), 256))
959
973
  ])) : p("", !0),
960
- _("g", ha, [
961
- (a(!0), l(m, null, L(d.value.dataset, (t, u) => (a(), l("g", fa, [
974
+ _("g", ga, [
975
+ (a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l("g", ma, [
962
976
  e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
963
977
  _("path", {
964
- d: `M ${f(We)(t.coordinates)}`,
978
+ d: `M ${f(He)(t.coordinates)}`,
965
979
  stroke: e.value.backgroundColor,
966
980
  "stroke-width": e.value.lineStrokeWidth + 1,
967
981
  "stroke-linecap": "round",
968
982
  fill: "none",
969
983
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
970
984
  style: { transition: "all 0.3s ease-in-out" }
971
- }, null, 10, ga),
985
+ }, null, 10, pa),
972
986
  _("path", {
973
- d: `M ${f(We)(t.coordinates)}`,
987
+ d: `M ${f(He)(t.coordinates)}`,
974
988
  stroke: t.color,
975
989
  "stroke-width": e.value.lineStrokeWidth,
976
990
  "stroke-linecap": "round",
977
991
  fill: "none",
978
992
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
979
993
  style: { transition: "all 0.3s ease-in-out" }
980
- }, null, 10, ma)
994
+ }, null, 10, xa)
981
995
  ], 64)) : (a(), l(m, { key: 1 }, [
982
996
  _("path", {
983
997
  d: `M ${t.linePath}`,
@@ -987,7 +1001,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
987
1001
  fill: "none",
988
1002
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
989
1003
  style: { transition: "all 0.3s ease-in-out" }
990
- }, null, 10, pa),
1004
+ }, null, 10, ya),
991
1005
  _("path", {
992
1006
  d: `M ${t.linePath}`,
993
1007
  stroke: t.color,
@@ -996,62 +1010,62 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
996
1010
  fill: "none",
997
1011
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
998
1012
  style: { transition: "all 0.3s ease-in-out" }
999
- }, null, 10, xa)
1013
+ }, null, 10, ka)
1000
1014
  ], 64)),
1001
- (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("circle", {
1002
- cx: n.x,
1003
- cy: f(X)(n.y),
1015
+ (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("circle", {
1016
+ cx: r.x,
1017
+ cy: f(X)(r.y),
1004
1018
  r: 3,
1005
1019
  fill: t.color,
1006
1020
  stroke: e.value.backgroundColor,
1007
1021
  "stroke-width": "0.5",
1008
1022
  class: "quick-animation",
1009
1023
  style: { transition: "all 0.3s ease-in-out" }
1010
- }, null, 8, ya))), 256))
1024
+ }, null, 8, ba))), 256))
1011
1025
  ]))), 256))
1012
1026
  ]),
1013
- e.value.showDataLabels ? (a(), l("g", ka, [
1014
- (a(!0), l(m, null, L(d.value.dataset, (t, u) => (a(), l(m, null, [
1015
- (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("text", {
1027
+ e.value.showDataLabels ? (a(), l("g", Sa, [
1028
+ (a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l(m, null, [
1029
+ (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
1016
1030
  "text-anchor": "middle",
1017
1031
  "font-size": e.value.dataLabelFontSize,
1018
1032
  fill: t.color,
1019
- x: n.x,
1020
- y: f(X)(n.y) - e.value.dataLabelFontSize / 2,
1033
+ x: r.x,
1034
+ y: f(X)(r.y) - e.value.dataLabelFontSize / 2,
1021
1035
  class: "quick-animation",
1022
1036
  style: { transition: "all 0.3s ease-in-out" }
1023
1037
  }, T(f(H)(
1024
1038
  e.value.formatter,
1025
- f(X)(n.value),
1039
+ f(X)(r.value),
1026
1040
  f(O)({
1027
1041
  p: e.value.valuePrefix,
1028
- v: f(X)(n.value),
1042
+ v: f(X)(r.value),
1029
1043
  s: e.value.valueSuffix,
1030
1044
  r: e.value.dataLabelRoundingValue
1031
1045
  }),
1032
- { datapoint: n, seriesIndex: h }
1033
- )), 9, ba))), 256))
1046
+ { datapoint: r, seriesIndex: h }
1047
+ )), 9, wa))), 256))
1034
1048
  ], 64))), 256))
1035
1049
  ])) : p("", !0),
1036
- _("g", Sa, [
1037
- (a(!0), l(m, null, L(d.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1038
- x: d.value.drawingArea.left + u * d.value.slotSize,
1050
+ _("g", _a, [
1051
+ (a(!0), l(m, null, L(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1052
+ x: d.value.drawingArea.left + n * d.value.slotSize,
1039
1053
  y: d.value.drawingArea.top,
1040
1054
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1041
1055
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1042
- fill: [q.value, Y.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1056
+ fill: [q.value, Y.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1043
1057
  style: F(`opacity:${e.value.xyHighlighterOpacity}`),
1044
- onMouseenter: (n) => d.value.useTooltip(u),
1045
- onMouseleave: c[1] || (c[1] = (n) => d.value.killTooltip()),
1046
- onClick: (n) => g("selectDatapoint", d.value.dataset.map((h) => ({
1058
+ onMouseenter: (r) => d.value.useTooltip(n),
1059
+ onMouseleave: c[1] || (c[1] = (r) => d.value.killTooltip()),
1060
+ onClick: (r) => g("selectDatapoint", d.value.dataset.map((h) => ({
1047
1061
  ...h,
1048
- value: h.values[u]
1062
+ value: h.values[n]
1049
1063
  })))
1050
- }, null, 44, wa))), 256))
1064
+ }, null, 44, Aa))), 256))
1051
1065
  ])
1052
1066
  ], 64)) : p("", !0),
1053
1067
  z.value === A.BAR ? (a(), l(m, { key: 2 }, [
1054
- e.value.xyShowGrid ? (a(), l("g", _a, [
1068
+ e.value.xyShowGrid ? (a(), l("g", La, [
1055
1069
  (a(!0), l(m, null, L(v.value.yLabels, (t) => (a(), l(m, null, [
1056
1070
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1057
1071
  key: 0,
@@ -1062,19 +1076,19 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1062
1076
  stroke: e.value.xyGridStroke,
1063
1077
  "stroke-width": e.value.xyGridStrokeWidth,
1064
1078
  "stroke-linecap": "round"
1065
- }, null, 8, Aa)) : p("", !0)
1079
+ }, null, 8, za)) : p("", !0)
1066
1080
  ], 64))), 256)),
1067
- (a(!0), l(m, null, L(v.value.extremes.maxSeries + 1, (t, u) => (a(), l("line", {
1068
- x1: v.value.drawingArea.left + v.value.slotSize * u,
1069
- x2: v.value.drawingArea.left + v.value.slotSize * u,
1081
+ (a(!0), l(m, null, L(v.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
1082
+ x1: v.value.drawingArea.left + v.value.slotSize * n,
1083
+ x2: v.value.drawingArea.left + v.value.slotSize * n,
1070
1084
  y1: v.value.drawingArea.top,
1071
1085
  y2: v.value.drawingArea.bottom,
1072
1086
  stroke: e.value.xyGridStroke,
1073
1087
  "stroke-width": e.value.xyGridStrokeWidth,
1074
1088
  "stroke-linecap": "round"
1075
- }, null, 8, La))), 256))
1089
+ }, null, 8, $a))), 256))
1076
1090
  ])) : p("", !0),
1077
- e.value.xyShowAxis ? (a(), l("g", za, [
1091
+ e.value.xyShowAxis ? (a(), l("g", Ca, [
1078
1092
  _("line", {
1079
1093
  x1: v.value.drawingArea.left,
1080
1094
  x2: v.value.drawingArea.left,
@@ -1083,7 +1097,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1083
1097
  stroke: e.value.xyAxisStroke,
1084
1098
  "stroke-width": e.value.xyAxisStrokeWidth,
1085
1099
  "stroke-linecap": "round"
1086
- }, null, 8, $a),
1100
+ }, null, 8, Pa),
1087
1101
  _("line", {
1088
1102
  x1: v.value.drawingArea.left,
1089
1103
  x2: v.value.drawingArea.right,
@@ -1092,10 +1106,10 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1092
1106
  stroke: e.value.xyAxisStroke,
1093
1107
  "stroke-width": e.value.xyAxisStrokeWidth,
1094
1108
  "stroke-linecap": "round"
1095
- }, null, 8, Ca)
1109
+ }, null, 8, Ia)
1096
1110
  ])) : p("", !0),
1097
- e.value.xyShowScale ? (a(), l("g", Pa, [
1098
- (a(!0), l(m, null, L(v.value.yLabels, (t, u) => (a(), l(m, null, [
1111
+ e.value.xyShowScale ? (a(), l("g", Ea, [
1112
+ (a(!0), l(m, null, L(v.value.yLabels, (t, n) => (a(), l(m, null, [
1099
1113
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1100
1114
  key: 0,
1101
1115
  x1: t.x + 4,
@@ -1105,7 +1119,7 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1105
1119
  stroke: e.value.xyAxisStroke,
1106
1120
  "stroke-width": e.value.xyAxisStrokeWidth,
1107
1121
  "stroke-linecap": "round"
1108
- }, null, 8, Ia)) : p("", !0),
1122
+ }, null, 8, Ta)) : p("", !0),
1109
1123
  t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1110
1124
  key: 1,
1111
1125
  x: t.x,
@@ -1122,134 +1136,134 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1122
1136
  s: e.value.valueSuffix,
1123
1137
  r: e.value.dataLabelRoundingValue
1124
1138
  }),
1125
- { datapoint: t, seriesIndex: u }
1126
- )), 9, Ea)) : p("", !0)
1139
+ { datapoint: t, seriesIndex: n }
1140
+ )), 9, Ra)) : p("", !0)
1127
1141
  ], 64))), 256))
1128
1142
  ])) : p("", !0),
1129
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ta, [
1130
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("line", {
1131
- x1: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1132
- x2: v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2,
1143
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Na, [
1144
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("line", {
1145
+ x1: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
1146
+ x2: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
1133
1147
  y1: v.value.drawingArea.bottom,
1134
1148
  y2: v.value.drawingArea.bottom + 4,
1135
1149
  stroke: e.value.xyAxisStroke,
1136
1150
  "stroke-width": e.value.xyAxisStrokeWidth,
1137
1151
  "stroke-linecap": "round"
1138
- }, null, 8, Ra))), 256)),
1139
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(S.value.start, S.value.end), (t, u) => (a(), l("text", {
1152
+ }, null, 8, Fa))), 256)),
1153
+ (a(!0), l(m, null, L(e.value.xyPeriods.slice(b.value.start, b.value.end), (t, n) => (a(), l("text", {
1140
1154
  "font-size": e.value.xyLabelsXFontSize,
1141
1155
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1142
- transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (u + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1156
+ transform: `translate(${v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2}, ${v.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
1143
1157
  fill: e.value.color
1144
- }, T(t), 9, Na))), 256))
1158
+ }, T(t), 9, Ma))), 256))
1145
1159
  ])) : p("", !0),
1146
- _("g", Fa, [
1147
- (a(!0), l(m, null, L(v.value.dataset, (t, u) => (a(), l(m, null, [
1148
- (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("rect", {
1149
- x: n.x,
1150
- width: n.width <= 0 ? 1e-5 : n.width,
1151
- height: f(X)(n.height <= 0 ? 1e-5 : n.height),
1152
- y: f(X)(n.y),
1160
+ _("g", Oa, [
1161
+ (a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
1162
+ (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("rect", {
1163
+ x: r.x,
1164
+ width: r.width <= 0 ? 1e-5 : r.width,
1165
+ height: f(X)(r.height <= 0 ? 1e-5 : r.height),
1166
+ y: f(X)(r.y),
1153
1167
  fill: t.color,
1154
1168
  stroke: e.value.backgroundColor,
1155
1169
  "stroke-width": e.value.barStrokeWidth,
1156
1170
  "stroke-linecap": "round",
1157
- class: ne({ "vue-data-ui-bar-animated": e.value.barAnimated && n.value < 0 })
1171
+ class: ne({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1158
1172
  }, [
1159
- e.value.barAnimated && n.value > 0 && !f(ye) && !f(ke) ? (a(), l("animate", {
1173
+ e.value.barAnimated && r.value > 0 && !f(ke) && !f(be) ? (a(), l("animate", {
1160
1174
  key: 0,
1161
1175
  attributeName: "height",
1162
1176
  from: 0,
1163
- to: n.height,
1177
+ to: r.height,
1164
1178
  dur: "0.5s"
1165
- }, null, 8, Oa)) : p("", !0),
1166
- e.value.barAnimated && n.value > 0 && !f(ye) && !f(ke) ? (a(), l("animate", {
1179
+ }, null, 8, Ua)) : p("", !0),
1180
+ e.value.barAnimated && r.value > 0 && !f(ke) && !f(be) ? (a(), l("animate", {
1167
1181
  key: 1,
1168
1182
  attributeName: "y",
1169
1183
  from: v.value.absoluteZero,
1170
- to: v.value.absoluteZero - n.height,
1184
+ to: v.value.absoluteZero - r.height,
1171
1185
  dur: "0.5s"
1172
- }, null, 8, Ba)) : p("", !0)
1173
- ], 10, Ma))), 256))
1186
+ }, null, 8, Da)) : p("", !0)
1187
+ ], 10, Ba))), 256))
1174
1188
  ], 64))), 256))
1175
1189
  ]),
1176
- e.value.showDataLabels ? (a(), l("g", Ua, [
1177
- (a(!0), l(m, null, L(v.value.dataset, (t, u) => (a(), l(m, null, [
1178
- (a(!0), l(m, null, L(t.coordinates, (n, h) => (a(), l("text", {
1179
- x: n.x + n.width / 2,
1180
- y: f(X)(n.y) - e.value.dataLabelFontSize / 2,
1190
+ e.value.showDataLabels ? (a(), l("g", Va, [
1191
+ (a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
1192
+ (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
1193
+ x: r.x + r.width / 2,
1194
+ y: f(X)(r.y) - e.value.dataLabelFontSize / 2,
1181
1195
  "text-anchor": "middle",
1182
1196
  "font-size": e.value.dataLabelFontSize,
1183
1197
  fill: t.color,
1184
1198
  class: "quick-animation"
1185
1199
  }, T(f(H)(
1186
1200
  e.value.formatter,
1187
- f(X)(n.value),
1201
+ f(X)(r.value),
1188
1202
  f(O)({
1189
1203
  p: e.value.valuePrefix,
1190
- v: f(X)(n.value),
1204
+ v: f(X)(r.value),
1191
1205
  s: e.value.valueSuffix,
1192
1206
  r: e.value.dataLabelRoundingValue
1193
1207
  }),
1194
- { datapoint: n, seriesIndex: h }
1195
- )), 9, Da))), 256))
1208
+ { datapoint: r, seriesIndex: h }
1209
+ )), 9, qa))), 256))
1196
1210
  ], 64))), 256))
1197
1211
  ])) : p("", !0),
1198
- _("g", Va, [
1199
- (a(!0), l(m, null, L(v.value.extremes.maxSeries, (t, u) => (a(), l("rect", {
1200
- x: v.value.drawingArea.left + u * v.value.slotSize,
1212
+ _("g", Wa, [
1213
+ (a(!0), l(m, null, L(v.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1214
+ x: v.value.drawingArea.left + n * v.value.slotSize,
1201
1215
  y: v.value.drawingArea.top,
1202
1216
  height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1203
1217
  width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1204
- fill: [q.value, Y.value].includes(u) ? e.value.xyHighlighterColor : "transparent",
1218
+ fill: [q.value, Y.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1205
1219
  style: F(`opacity:${e.value.xyHighlighterOpacity}`),
1206
- onMouseenter: (n) => v.value.useTooltip(u),
1207
- onMouseleave: c[2] || (c[2] = (n) => v.value.killTooltip()),
1208
- onClick: (n) => g("selectDatapoint", v.value.dataset.map((h) => ({
1220
+ onMouseenter: (r) => v.value.useTooltip(n),
1221
+ onMouseleave: c[2] || (c[2] = (r) => v.value.killTooltip()),
1222
+ onClick: (r) => g("selectDatapoint", v.value.dataset.map((h) => ({
1209
1223
  ...h,
1210
- value: h.values[u]
1224
+ value: h.values[n]
1211
1225
  })))
1212
- }, null, 44, qa))), 256))
1226
+ }, null, 44, ja))), 256))
1213
1227
  ])
1214
1228
  ], 64)) : p("", !0),
1215
- [A.LINE, A.BAR].includes(z.value) ? (a(), l("g", Wa, [
1216
- e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", ja, [
1229
+ [A.LINE, A.BAR].includes(z.value) ? (a(), l("g", Ga, [
1230
+ e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", Ha, [
1217
1231
  _("text", {
1218
1232
  "font-size": e.value.axisLabelsFontSize,
1219
1233
  fill: e.value.color,
1220
1234
  "text-anchor": "middle",
1221
1235
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1222
- y: b.value.height - e.value.axisLabelsFontSize / 3
1223
- }, T(e.value.xAxisLabel), 9, Ga)
1236
+ y: k.value.height - e.value.axisLabelsFontSize / 3
1237
+ }, T(e.value.xAxisLabel), 9, Xa)
1224
1238
  ])) : p("", !0),
1225
- e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", Ha, [
1239
+ e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", Za, [
1226
1240
  _("text", {
1227
1241
  "font-size": e.value.axisLabelsFontSize,
1228
1242
  fill: e.value.color,
1229
1243
  "text-anchor": "middle",
1230
1244
  x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1231
- y: b.value.height - e.value.axisLabelsFontSize / 3
1232
- }, T(e.value.xAxisLabel), 9, Xa)
1245
+ y: k.value.height - e.value.axisLabelsFontSize / 3
1246
+ }, T(e.value.xAxisLabel), 9, Ya)
1233
1247
  ])) : p("", !0),
1234
- e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", Za, [
1248
+ e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", Ja, [
1235
1249
  _("text", {
1236
1250
  "font-size": e.value.axisLabelsFontSize,
1237
1251
  fill: e.value.color,
1238
1252
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1239
1253
  "text-anchor": "middle"
1240
- }, T(e.value.yAxisLabel), 9, Ya)
1254
+ }, T(e.value.yAxisLabel), 9, Qa)
1241
1255
  ])) : p("", !0),
1242
- e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", Ja, [
1256
+ e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", Ka, [
1243
1257
  _("text", {
1244
1258
  "font-size": e.value.axisLabelsFontSize,
1245
1259
  fill: e.value.color,
1246
1260
  transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1247
1261
  "text-anchor": "middle"
1248
- }, T(e.value.yAxisLabel), 9, Qa)
1262
+ }, T(e.value.yAxisLabel), 9, el)
1249
1263
  ])) : p("", !0)
1250
1264
  ])) : p("", !0)
1251
- ], 12, Nt)) : p("", !0),
1252
- z.value ? p("", !0) : (a(), Pe(Lt, {
1265
+ ], 12, Mt)) : p("", !0),
1266
+ z.value ? p("", !0) : (a(), Ie($t, {
1253
1267
  key: 3,
1254
1268
  config: {
1255
1269
  type: "line",
@@ -1267,46 +1281,46 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1267
1281
  }
1268
1282
  }
1269
1283
  }, null, 8, ["config"])),
1270
- r.$slots.watermark ? (a(), l("div", Ka, [
1271
- D(r.$slots, "watermark", J(fe({ isPrinting: f(ye) || f(ke) })), void 0, !0)
1284
+ u.$slots.watermark ? (a(), l("div", tl, [
1285
+ D(u.$slots, "watermark", J(ge({ isPrinting: f(ke) || f(be) })), void 0, !0)
1272
1286
  ])) : p("", !0),
1273
- [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && k.value.maxSeriesLength > 1 ? (a(), l("div", {
1274
- key: `slicer_${ze.value}`,
1287
+ [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && y.value.maxSeriesLength > 1 ? (a(), l("div", {
1288
+ key: `slicer_${ye.value}`,
1275
1289
  ref_key: "quickChartSlicer",
1276
1290
  ref: re
1277
1291
  }, [
1278
- (a(), Pe(At, {
1279
- key: `slicer_${ze.value}`,
1292
+ (a(), Ie(zt, {
1293
+ key: `slicer_${ye.value}`,
1280
1294
  background: e.value.zoomColor,
1281
1295
  borderColor: e.value.backgroundColor,
1282
1296
  fontSize: e.value.zoomFontSize,
1283
1297
  useResetSlot: e.value.zoomUseResetSlot,
1284
- labelLeft: e.value.xyPeriods[S.value.start] ? e.value.xyPeriods[S.value.start] : "",
1285
- labelRight: e.value.xyPeriods[S.value.end - 1] ? e.value.xyPeriods[S.value.end - 1] : "",
1298
+ labelLeft: e.value.xyPeriods[b.value.start] ? e.value.xyPeriods[b.value.start] : "",
1299
+ labelRight: e.value.xyPeriods[b.value.end - 1] ? e.value.xyPeriods[b.value.end - 1] : "",
1286
1300
  textColor: e.value.color,
1287
1301
  inputColor: e.value.zoomColor,
1288
1302
  selectColor: e.value.zoomHighlightColor,
1289
- max: k.value.maxSeriesLength,
1303
+ max: y.value.maxSeriesLength,
1290
1304
  min: 0,
1291
- valueStart: S.value.start,
1292
- valueEnd: S.value.end,
1305
+ valueStart: b.value.start,
1306
+ valueEnd: b.value.end,
1293
1307
  smoothMinimap: e.value.zoomMinimap.smooth,
1294
1308
  minimapSelectedColor: e.value.zoomMinimap.selectedColor,
1295
1309
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
1296
1310
  minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
1297
1311
  minimapLineColor: e.value.zoomMinimap.lineColor,
1298
- minimap: at.value,
1312
+ minimap: it.value,
1299
1313
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1300
1314
  minimapSelectedIndex: Y.value,
1301
- start: S.value.start,
1302
- "onUpdate:start": c[3] || (c[3] = (t) => S.value.start = t),
1303
- end: S.value.end,
1304
- "onUpdate:end": c[4] || (c[4] = (t) => S.value.end = t),
1305
- onReset: tt,
1306
- onTrapMouse: et
1315
+ start: b.value.start,
1316
+ "onUpdate:start": c[3] || (c[3] = (t) => b.value.start = t),
1317
+ end: b.value.end,
1318
+ "onUpdate:end": c[4] || (c[4] = (t) => b.value.end = t),
1319
+ onReset: ot,
1320
+ onTrapMouse: lt
1307
1321
  }, {
1308
1322
  "reset-action": ae(({ reset: t }) => [
1309
- D(r.$slots, "reset-action", J(fe({ reset: t })), void 0, !0)
1323
+ D(u.$slots, "reset-action", J(ge({ reset: t })), void 0, !0)
1310
1324
  ]),
1311
1325
  _: 3
1312
1326
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end"]))
@@ -1318,15 +1332,15 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1318
1332
  class: "vue-ui-quick-chart-legend",
1319
1333
  style: F(`background:${e.value.backgroundColor};color:${e.value.color}`)
1320
1334
  }, [
1321
- z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, L(C.value.legend, (t, u) => (a(), l("div", {
1335
+ z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, L(C.value.legend, (t, n) => (a(), l("div", {
1322
1336
  class: "vue-ui-quick-chart-legend-item",
1323
- onClick: (n) => {
1324
- Ke(t, C.value.dataset), g("selectLegend", t);
1337
+ onClick: (r) => {
1338
+ at(t, C.value.dataset), g("selectLegend", t);
1325
1339
  },
1326
1340
  style: F(`cursor: ${C.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1327
1341
  }, [
1328
- e.value.useCustomLegend ? D(r.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1329
- ge(Ae, {
1342
+ e.value.useCustomLegend ? D(u.$slots, "legend", J(Ee({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1343
+ me(Le, {
1330
1344
  name: e.value.legendIcon,
1331
1345
  stroke: t.color,
1332
1346
  size: e.value.legendIconSize
@@ -1345,12 +1359,12 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1345
1359
  s: e.value.valueSuffix,
1346
1360
  r: e.value.dataLabelRoundingValue
1347
1361
  }),
1348
- { datapoint: t, seriesIndex: u }
1362
+ { datapoint: t, seriesIndex: n }
1349
1363
  )), 5),
1350
1364
  w.value.includes(t.id) ? (a(), l("span", {
1351
1365
  key: 0,
1352
1366
  style: F(`font-size:${e.value.legendFontSize}px`)
1353
- }, " ( - % ) ", 4)) : we.value ? (a(), l("span", {
1367
+ }, " ( - % ) ", 4)) : _e.value ? (a(), l("span", {
1354
1368
  key: 1,
1355
1369
  style: F(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1356
1370
  }, " ( - % ) ", 4)) : (a(), l("span", {
@@ -1362,16 +1376,16 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1362
1376
  r: e.value.dataLabelRoundingPercentage
1363
1377
  })) + ") ", 5))
1364
1378
  ], 64))
1365
- ], 12, el))), 256)) : p("", !0),
1366
- z.value === A.LINE ? (a(!0), l(m, { key: 1 }, L(d.value.legend, (t, u) => (a(), l("div", {
1379
+ ], 12, al))), 256)) : p("", !0),
1380
+ z.value === A.LINE ? (a(!0), l(m, { key: 1 }, L(d.value.legend, (t, n) => (a(), l("div", {
1367
1381
  class: "vue-ui-quick-chart-legend-item",
1368
- onClick: (n) => {
1369
- Be(t.id, d.value.legend.length - 1), g("selectLegend", t);
1382
+ onClick: (r) => {
1383
+ Ve(t.id, d.value.legend.length - 1), g("selectLegend", t);
1370
1384
  },
1371
1385
  style: F(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1372
1386
  }, [
1373
- e.value.useCustomLegend ? D(r.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1374
- ge(Ae, {
1387
+ e.value.useCustomLegend ? D(u.$slots, "legend", J(Ee({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1388
+ me(Le, {
1375
1389
  name: e.value.legendIcon,
1376
1390
  stroke: t.color,
1377
1391
  size: e.value.legendIconSize
@@ -1380,16 +1394,16 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1380
1394
  style: F(`font-size:${e.value.legendFontSize}px`)
1381
1395
  }, T(t.name), 5)
1382
1396
  ], 64))
1383
- ], 12, tl))), 256)) : p("", !0),
1384
- z.value === A.BAR ? (a(!0), l(m, { key: 2 }, L(v.value.legend, (t, u) => (a(), l("div", {
1397
+ ], 12, ll))), 256)) : p("", !0),
1398
+ z.value === A.BAR ? (a(!0), l(m, { key: 2 }, L(v.value.legend, (t, n) => (a(), l("div", {
1385
1399
  class: "vue-ui-quick-chart-legend-item",
1386
- onClick: (n) => {
1387
- Be(t.id, v.value.legend.length - 1), g("selectLegend", t);
1400
+ onClick: (r) => {
1401
+ Ve(t.id, v.value.legend.length - 1), g("selectLegend", t);
1388
1402
  },
1389
1403
  style: F(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1390
1404
  }, [
1391
- e.value.useCustomLegend ? D(r.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1392
- ge(Ae, {
1405
+ e.value.useCustomLegend ? D(u.$slots, "legend", J(Ee({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1406
+ me(Le, {
1393
1407
  name: e.value.legendIcon,
1394
1408
  stroke: t.color,
1395
1409
  size: e.value.legendIconSize
@@ -1398,10 +1412,10 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1398
1412
  style: F(`font-size:${e.value.legendFontSize}px`)
1399
1413
  }, T(t.name), 5)
1400
1414
  ], 64))
1401
- ], 12, al))), 256)) : p("", !0)
1415
+ ], 12, ol))), 256)) : p("", !0)
1402
1416
  ], 4)) : p("", !0),
1403
- ge(St, {
1404
- show: be.value.showTooltip && G.value,
1417
+ me(_t, {
1418
+ show: Se.value.showTooltip && G.value,
1405
1419
  backgroundColor: e.value.backgroundColor,
1406
1420
  color: e.value.color,
1407
1421
  borderRadius: e.value.tooltipBorderRadius,
@@ -1413,25 +1427,25 @@ const Ye = (s) => (rt("data-v-bf59d888"), s = s(), st(), s), Rt = ["id"], Nt = [
1413
1427
  offsetY: e.value.tooltipOffsetY,
1414
1428
  parent: j.value,
1415
1429
  content: Q.value,
1416
- isCustom: f(_e)(e.value.tooltipCustomFormat)
1430
+ isCustom: f(Ae)(e.value.tooltipCustomFormat)
1417
1431
  }, {
1418
1432
  "tooltip-before": ae(() => [
1419
- D(r.$slots, "tooltip-before", J(fe({ ...se.value })), void 0, !0)
1433
+ D(u.$slots, "tooltip-before", J(ge({ ...se.value })), void 0, !0)
1420
1434
  ]),
1421
1435
  "tooltip-after": ae(() => [
1422
- D(r.$slots, "tooltip-after", J(fe({ ...se.value })), void 0, !0)
1436
+ D(u.$slots, "tooltip-after", J(ge({ ...se.value })), void 0, !0)
1423
1437
  ]),
1424
1438
  _: 3
1425
1439
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"])
1426
- ], 14, Rt)) : (a(), l("div", ll, [
1427
- ge(Ae, {
1440
+ ], 14, Ft)) : (a(), l("div", il, [
1441
+ me(Le, {
1428
1442
  name: "circleCancel",
1429
1443
  stroke: "red"
1430
1444
  }),
1431
- ol
1445
+ ul
1432
1446
  ]));
1433
1447
  }
1434
- }, ml = /* @__PURE__ */ zt(il, [["__scopeId", "data-v-bf59d888"]]);
1448
+ }, xl = /* @__PURE__ */ Ct(nl, [["__scopeId", "data-v-0b4fa3fa"]]);
1435
1449
  export {
1436
- ml as default
1450
+ xl as default
1437
1451
  };