vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,145 +1,146 @@
1
- import { ref as I, computed as D, watch as Pe, onMounted as rt, onBeforeUnmount as st, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as O, createBlock as Te, unref as f, createSlots as vt, withCtx as ae, renderSlot as V, normalizeProps as J, guardReactiveProps as me, createCommentVNode as p, toDisplayString as E, createVNode as re, createElementVNode as _, Fragment as m, renderList as L, mergeProps as Ie, pushScopeId as dt, popScopeId as ct } from "vue";
2
- import { u as ht, c as ft, t as gt, a as mt, p as U, b as pt, I as xt, e as yt, d as Ee, m as kt, C as He, X as bt, j as St, k as pe, n as Re, i as H, f as M, R as Xe, v as X, x as Ae, y as Ne } from "./index-DDXisDKy.js";
3
- import { t as wt, u as _t } from "./useResponsive-NZB-WLRF.js";
4
- import Le from "./BaseIcon-CXDdkPfN.js";
5
- import { _ as At } from "./Tooltip-CICAYyQj.js";
6
- import { u as Lt, U as zt } from "./usePrinter-8ofTb2MJ.js";
7
- import { S as $t } from "./Slicer-BZfUZr1J.js";
8
- import Ct from "./vue-ui-skeleton-B2sRnIXX.js";
9
- import { u as Ze } from "./useNestedProp-S1UXxUgm.js";
10
- import { _ as Pt } from "./PackageVersion-DtnhR89q.js";
11
- import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const A = {
1
+ import { ref as P, computed as V, watch as Ee, onMounted as dt, onBeforeUnmount as ct, openBlock as a, createElementBlock as l, normalizeClass as ne, normalizeStyle as N, createBlock as Le, createCommentVNode as g, unref as f, createSlots as ht, withCtx as Q, renderSlot as M, normalizeProps as H, guardReactiveProps as re, toDisplayString as E, createVNode as se, createElementVNode as A, Fragment as p, renderList as L, mergeProps as Re, pushScopeId as ft, popScopeId as gt } from "vue";
2
+ import { u as mt, c as pt, t as yt, a as xt, p as D, b as kt, I as bt, e as St, d as Oe, m as wt, C as Ye, X as At, j as _t, k as pe, n as Ne, i as X, f as B, R as Je, v as Z, x as ze, y as Fe } from "./index-Bya_q1J-.js";
3
+ import { t as Lt, u as zt } from "./useResponsive-BY8tgM1n.js";
4
+ import $e from "./BaseIcon-BbvG1AlW.js";
5
+ import { _ as $t } from "./Tooltip-Cz24YLfw.js";
6
+ import { u as Ct, U as Pt } from "./usePrinter-CiHd1FwD.js";
7
+ import { S as Tt } from "./Slicer-TfpN2Cr4.js";
8
+ import It from "./vue-ui-skeleton-BYssP0K4.js";
9
+ import { u as Qe } from "./useNestedProp-B33hazbH.js";
10
+ import { _ as Et } from "./PackageVersion-VkaUzgmt.js";
11
+ import { P as Rt } from "./PenAndPaper-DAZYA8Ew.js";
12
+ import { _ as Ot } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const _ = {
13
14
  LINE: "LINE",
14
15
  BAR: "BAR",
15
16
  DONUT: "DONUT"
16
- }, It = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
17
- function Et({ dataset: s, barLineSwitch: $ = 6 }) {
18
- let g = null, R = null, q = 0;
19
- 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, q = s.length), ze(s))) {
20
- if (!Nt(s))
17
+ }, Nt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
18
+ function Ft({ dataset: s, barLineSwitch: $ = 6 }) {
19
+ let m = null, R = null, q = 0;
20
+ if ((typeof s == "number" || typeof s == "string") && console.warn(`The provided dataset (${s}) is not sufficient to build a chart`), ye(s) && (Y(s) && (s.length < $ ? m = _.BAR : m = _.LINE, R = s, q = s.length), Ce(s))) {
21
+ if (!Bt(s))
21
22
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
22
- const oe = Object.keys(s[0]), se = Object.values(s[0]);
23
- if (!oe.some((P) => Ot(P)))
23
+ const oe = Object.keys(s[0]), ve = Object.values(s[0]);
24
+ if (!oe.some((T) => Ut(T)))
24
25
  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;
25
- Ye(se, (P) => typeof P == "number") && (g = A.DONUT, R = s), Ye(se, (P) => Array.isArray(P) && Z(P)) && (Je(s) > $ ? g = A.LINE : g = A.BAR, q = Je(s), R = s.map((P) => ({
26
- ...P,
27
- data: Ft(P, (G) => Z(G))
28
- }))), s = s.map((P) => Qe(P)), R = R.map((P) => Qe(P));
26
+ Ke(ve, (T) => typeof T == "number") && (m = _.DONUT, R = s), Ke(ve, (T) => Array.isArray(T) && Y(T)) && (et(s) > $ ? m = _.LINE : m = _.BAR, q = et(s), R = s.map((T) => ({
27
+ ...T,
28
+ data: Dt(T, (G) => Y(G))
29
+ }))), s = s.map((T) => tt(T)), R = R.map((T) => tt(T));
29
30
  }
30
- return xe(s) && [...new Set(s.flatMap((oe) => Array.isArray(oe)))][0], {
31
+ return ye(s) && [...new Set(s.flatMap((oe) => Array.isArray(oe)))][0], {
31
32
  dataset: s,
32
- type: g,
33
+ type: m,
33
34
  usableDataset: R,
34
35
  maxSeriesLength: q
35
36
  };
36
37
  }
37
- function Ke(s) {
38
- return !s || xe(s) && !s.length;
38
+ function at(s) {
39
+ return !s || ye(s) && !s.length;
39
40
  }
40
- function xe(s) {
41
+ function ye(s) {
41
42
  return Array.isArray(s);
42
43
  }
43
- function Z(s) {
44
- if (!xe(s) || Ke(s)) return !1;
45
- const $ = s.map((g) => Number(g));
46
- return ![...new Set($.flatMap((g) => typeof g == "number" && !isNaN(g)))].includes(!1);
44
+ function Y(s) {
45
+ if (!ye(s) || at(s)) return !1;
46
+ const $ = s.map((m) => Number(m));
47
+ return ![...new Set($.flatMap((m) => typeof m == "number" && !isNaN(m)))].includes(!1);
47
48
  }
48
- function ze(s) {
49
- return !xe(s) || Ke(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
+ function Ce(s) {
50
+ return !ye(s) || at(s) || !![...new Set(s.flatMap((m) => typeof m == "object" && !Array.isArray(m)))].includes(!1) ? !1 : !s.map((m) => Object.keys(m).length > 0).includes(!1);
50
51
  }
51
- function Rt(s, $) {
52
- const g = Object.keys(s).sort(), R = Object.keys($).sort();
53
- if (g.length !== R.length)
52
+ function Mt(s, $) {
53
+ const m = Object.keys(s).sort(), R = Object.keys($).sort();
54
+ if (m.length !== R.length)
54
55
  return !1;
55
- for (let q = 0; q < g.length; q += 1) {
56
- const j = g[q], le = R[q];
57
- if (j !== le || typeof s[j] != typeof $[le])
56
+ for (let q = 0; q < m.length; q += 1) {
57
+ const W = m[q], le = R[q];
58
+ if (W !== le || typeof s[W] != typeof $[le])
58
59
  return !1;
59
60
  }
60
61
  return !0;
61
62
  }
62
- function Nt(s) {
63
+ function Bt(s) {
63
64
  if (s.length <= 1) return !0;
64
65
  for (let $ = 0; $ < s.length; $ += 1)
65
- for (let g = $ + 1; g < s.length; g += 1)
66
- if (!Rt(s[$], s[g]))
66
+ for (let m = $ + 1; m < s.length; m += 1)
67
+ if (!Mt(s[$], s[m]))
67
68
  return !1;
68
69
  return !0;
69
70
  }
70
- function Ot(s) {
71
- return It.includes(s.toUpperCase());
71
+ function Ut(s) {
72
+ return Nt.includes(s.toUpperCase());
72
73
  }
73
- function Ye(s, $) {
74
- let g = [];
74
+ function Ke(s, $) {
75
+ let m = [];
75
76
  for (let R = 0; R < s.length; R += 1)
76
- g.push($(s[R]));
77
- return g.includes(!0);
77
+ m.push($(s[R]));
78
+ return m.includes(!0);
78
79
  }
79
- function Je(s) {
80
- return Math.max(...[...s].flatMap(($) => Object.values($).filter((g) => Z(g)).map((g) => g.length)));
80
+ function et(s) {
81
+ return Math.max(...[...s].flatMap(($) => Object.values($).filter((m) => Y(m)).map((m) => m.length)));
81
82
  }
82
- function Ft(s, $) {
83
- return Object.values(s).filter((g) => $(g))[0];
83
+ function Dt(s, $) {
84
+ return Object.values(s).filter((m) => $(m))[0];
84
85
  }
85
- function Qe(s) {
86
+ function tt(s) {
86
87
  const $ = {};
87
- for (let g in s)
88
- s.hasOwnProperty(g) && ($[g.toUpperCase()] = s[g]);
88
+ for (let m in s)
89
+ s.hasOwnProperty(m) && ($[m.toUpperCase()] = s[m]);
89
90
  return $;
90
91
  }
91
- const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = ["xmlns", "viewBox"], Ut = ["id"], Dt = ["id"], Vt = /* @__PURE__ */ et(() => /* @__PURE__ */ _("feColorMatrix", {
92
+ const lt = (s) => (ft("data-v-606895e6"), s = s(), gt(), s), Vt = ["id"], qt = ["xmlns", "viewBox"], Wt = ["id"], jt = ["id"], Gt = /* @__PURE__ */ lt(() => /* @__PURE__ */ A("feColorMatrix", {
92
93
  type: "saturate",
93
94
  values: "0"
94
- }, null, -1)), qt = ["id"], Wt = ["flood-color"], jt = {
95
+ }, null, -1)), Ht = ["id"], Xt = ["flood-color"], Zt = {
95
96
  key: 0,
96
97
  class: "donut-label-connectors"
97
- }, Gt = ["d", "stroke", "stroke-width", "filter"], Ht = ["cx", "cy", "r", "fill", "filter"], Xt = { class: "donut" }, Zt = ["d", "fill", "stroke", "stroke-width", "filter"], Yt = ["d", "onMouseenter", "onClick"], Jt = {
98
+ }, Yt = ["d", "stroke", "stroke-width", "filter"], Jt = ["cx", "cy", "r", "fill", "filter"], Qt = { class: "donut" }, Kt = ["d", "fill", "stroke", "stroke-width", "filter"], ea = ["d", "onMouseenter", "onClick"], ta = {
98
99
  key: 1,
99
100
  class: "donut-labels quick-animation"
100
- }, Qt = ["cx", "cy", "fill", "stroke", "filter"], Kt = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ea = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ta = {
101
+ }, aa = ["cx", "cy", "fill", "stroke", "filter"], la = ["text-anchor", "x", "y", "fill", "font-size", "filter"], oa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ia = {
101
102
  key: 2,
102
103
  class: "donut-hollow quick-animation"
103
- }, aa = ["x", "y", "font-size", "fill"], la = ["x", "y", "font-size", "fill"], oa = {
104
+ }, ua = ["x", "y", "font-size", "fill"], na = ["x", "y", "font-size", "fill"], ra = {
104
105
  key: 0,
105
106
  class: "line-grid"
106
- }, ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = {
107
+ }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], da = {
107
108
  key: 1,
108
109
  class: "line-axis"
109
- }, ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], va = {
110
+ }, ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], fa = {
110
111
  key: 2,
111
112
  class: "yLabels"
112
- }, da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ca = ["x", "y", "font-size", "fill"], ha = {
113
+ }, ga = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x", "y", "font-size", "fill"], pa = {
113
114
  key: 3,
114
115
  class: "periodLabels"
115
- }, fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ga = ["font-size", "text-anchor", "fill", "transform"], ma = { class: "plots" }, pa = { class: "line-plot-series" }, xa = ["d", "stroke", "stroke-width"], ya = ["d", "stroke", "stroke-width"], ka = ["d", "stroke", "stroke-width"], ba = ["d", "stroke", "stroke-width"], Sa = ["cx", "cy", "fill", "stroke"], wa = {
116
+ }, ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xa = ["font-size", "text-anchor", "fill", "transform"], ka = { class: "plots" }, ba = { class: "line-plot-series" }, Sa = ["d", "stroke", "stroke-width"], wa = ["d", "stroke", "stroke-width"], Aa = ["d", "stroke", "stroke-width"], _a = ["d", "stroke", "stroke-width"], La = ["cx", "cy", "fill", "stroke"], za = {
116
117
  key: 4,
117
118
  class: "dataLabels"
118
- }, _a = ["font-size", "fill", "x", "y"], Aa = { class: "tooltip-traps" }, La = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], za = {
119
+ }, $a = ["font-size", "fill", "x", "y"], Ca = { class: "tooltip-traps" }, Pa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ta = {
119
120
  key: 0,
120
121
  class: "line-grid"
121
- }, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ca = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pa = {
122
+ }, Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ra = {
122
123
  key: 1,
123
124
  class: "line-axis"
124
- }, Ta = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ea = {
125
+ }, Oa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Fa = {
125
126
  key: 2,
126
127
  class: "yLabels"
127
- }, Ra = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x", "y", "font-size", "fill"], Oa = {
128
+ }, Ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["x", "y", "font-size", "fill"], Ua = {
128
129
  key: 3,
129
130
  class: "periodLabels"
130
- }, Fa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ma = ["font-size", "text-anchor", "transform", "fill"], Ba = { class: "plots" }, Ua = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Da = ["to"], Va = ["from", "to"], qa = {
131
+ }, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Va = ["font-size", "text-anchor", "transform", "fill"], qa = { class: "plots" }, Wa = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], ja = ["to"], Ga = ["from", "to"], Ha = {
131
132
  key: 4,
132
133
  class: "dataLabels"
133
- }, Wa = ["x", "y", "font-size", "fill"], ja = { class: "tooltip-traps" }, Ga = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ha = {
134
+ }, Xa = ["x", "y", "font-size", "fill"], Za = { class: "tooltip-traps" }, Ya = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ja = {
134
135
  key: 3,
135
136
  class: "axis-labels"
136
- }, Xa = { key: 0 }, Za = ["font-size", "fill", "x", "y"], Ya = { key: 1 }, Ja = ["font-size", "fill", "x", "y"], Qa = { key: 2 }, Ka = ["font-size", "fill", "transform"], el = { key: 3 }, tl = ["font-size", "fill", "transform"], al = {
137
- key: 4,
137
+ }, Qa = { key: 0 }, Ka = ["font-size", "fill", "x", "y"], el = { key: 1 }, tl = ["font-size", "fill", "x", "y"], al = { key: 2 }, ll = ["font-size", "fill", "transform"], ol = { key: 3 }, il = ["font-size", "fill", "transform"], ul = {
138
+ key: 5,
138
139
  class: "vue-data-ui-watermark"
139
- }, ll = ["onClick"], ol = ["onClick"], il = ["onClick"], ul = {
140
+ }, nl = ["onClick"], rl = ["onClick"], sl = ["onClick"], vl = {
140
141
  key: 1,
141
142
  class: "vue-ui-quick-chart-not-processable"
142
- }, nl = /* @__PURE__ */ et(() => /* @__PURE__ */ _("span", null, "Dataset is not processable", -1)), rl = {
143
+ }, dl = /* @__PURE__ */ lt(() => /* @__PURE__ */ A("span", null, "Dataset is not processable", -1)), cl = {
143
144
  __name: "vue-ui-quick-chart",
144
145
  props: {
145
146
  config: {
@@ -156,31 +157,31 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
156
157
  }
157
158
  },
158
159
  emits: ["selectDatapoint", "selectLegend"],
159
- setup(s, { expose: $, emit: g }) {
160
- const R = s, { vue_ui_quick_chart: q } = ht(), j = I(null), le = I(null), oe = I(null), se = I(null), P = I(ft()), G = I(!1), ve = I(null), Q = I(""), W = I(null), w = I([]), Oe = I(0), ye = I(0), e = D({
161
- get: () => Fe(),
160
+ setup(s, { expose: $, emit: m }) {
161
+ const R = s, { vue_ui_quick_chart: q } = mt(), W = P(null), le = P(null), oe = P(null), ve = P(null), T = P(pt()), G = P(!1), de = P(null), K = P(""), j = P(null), Me = P(null), w = P([]), Be = P(0), xe = P(0), e = V({
162
+ get: () => Ue(),
162
163
  set: (u) => u
163
164
  });
164
- function Fe() {
165
- const u = Ze({
165
+ function Ue() {
166
+ const u = Qe({
166
167
  userConfig: R.config,
167
168
  defaultConfig: q
168
169
  });
169
170
  return u.theme ? {
170
- ...Ze({
171
- userConfig: gt.vue_ui_quick_chart[u.theme] || R.config,
171
+ ...Qe({
172
+ userConfig: yt.vue_ui_quick_chart[u.theme] || R.config,
172
173
  defaultConfig: u
173
174
  }),
174
- customPalette: mt[u.theme] || U
175
+ customPalette: xt[u.theme] || D
175
176
  } : u;
176
177
  }
177
- Pe(() => R.config, (u) => {
178
- e.value = Fe(), S.value.width = e.value.width, S.value.height = e.value.height, Ue();
179
- }, { deep: !0 }), Pe(() => R.dataset, (u) => {
180
- y.value = ce.value, k.value.start = 0, k.value.end = y.value.maxSeriesLength, ye.value += 1;
178
+ Ee(() => R.config, (u) => {
179
+ e.value = Ue(), S.value.width = e.value.width, S.value.height = e.value.height, qe();
180
+ }, { deep: !0 }), Ee(() => R.dataset, (u) => {
181
+ x.value = he.value, k.value.start = 0, k.value.end = x.value.maxSeriesLength, xe.value += 1;
181
182
  }, { deep: !0 });
182
- const de = D(() => pt(e.value.customPalette)), ce = D(() => {
183
- const u = Et({ dataset: xt(R.dataset, [
183
+ const ce = V(() => kt(e.value.customPalette)), he = V(() => {
184
+ const u = Ft({ dataset: bt(R.dataset, [
184
185
  "serie",
185
186
  "series",
186
187
  "data",
@@ -189,128 +190,129 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
189
190
  "num"
190
191
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
191
192
  return u || console.error("VueUiQuickChart : Dataset is not processable"), u;
192
- }), y = I(ce.value), tt = D(() => !!y.value), z = D(() => y.value ? y.value.type : null);
193
- Pe(() => z.value, (u) => {
194
- u || yt({
193
+ }), x = P(he.value), ot = V(() => !!x.value), z = V(() => x.value ? x.value.type : null);
194
+ Ee(() => z.value, (u) => {
195
+ u || St({
195
196
  componentName: "VueUiQuickChart",
196
197
  type: "dataset"
197
198
  });
198
199
  }, { immediate: !0 });
199
- const { isPrinting: ke, isImaging: be, generatePdf: Me, generateImage: Be } = Lt({
200
- elementId: `${z.value}_${P.value}`,
200
+ const { isPrinting: ke, isImaging: be, generatePdf: De, generateImage: Ve } = Ct({
201
+ elementId: `${z.value}_${T.value}`,
201
202
  fileName: e.value.title || z.value
202
- }), S = I({
203
+ }), S = P({
203
204
  width: e.value.width,
204
205
  height: e.value.height
205
- }), Se = I({
206
+ }), Se = P({
206
207
  showTooltip: e.value.showTooltip
207
- }), we = I(null);
208
- rt(() => {
209
- Ue();
208
+ }), we = P(null);
209
+ dt(() => {
210
+ qe();
210
211
  });
211
- function Ue() {
212
+ function qe() {
212
213
  if (e.value.responsive) {
213
- const u = wt(() => {
214
- const { width: c, height: t } = _t({
215
- chart: j.value,
214
+ const u = Lt(() => {
215
+ const { width: c, height: t } = zt({
216
+ chart: W.value,
216
217
  title: e.value.title ? le.value : null,
217
218
  legend: e.value.showLegend ? oe.value : null,
218
- slicer: [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && y.value.maxSeriesLength > 1 ? se.value : null
219
+ slicer: [_.BAR, _.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? ve.value : null,
220
+ source: Me.value
219
221
  });
220
222
  S.value.width = c, S.value.height = t;
221
223
  });
222
- we.value = new ResizeObserver(u), we.value.observe(j.value.parentNode);
224
+ we.value = new ResizeObserver(u), we.value.observe(W.value.parentNode);
223
225
  }
224
226
  }
225
- st(() => {
227
+ ct(() => {
226
228
  we.value && we.value.disconnect();
227
229
  });
228
- const at = D(() => {
230
+ const it = V(() => {
229
231
  switch (z.value) {
230
- case A.LINE:
232
+ case _.LINE:
231
233
  return `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`;
232
- case A.BAR:
234
+ case _.BAR:
233
235
  return `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`;
234
- case A.DONUT:
236
+ case _.DONUT:
235
237
  return `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`;
236
238
  default:
237
239
  return `0 0 ${S.value.width <= 0 ? 10 : S.value.width} ${S.value.height <= 0 ? 10 : S.value.height}`;
238
240
  }
239
241
  });
240
- function De(u) {
242
+ function We(u) {
241
243
  return [...u].map((c) => c.value).reduce((c, t) => c + t, 0);
242
244
  }
243
- function he(u) {
244
- return e.value.blurOnHover && ![null, void 0].includes(W.value) && W.value !== u ? `url(#blur_${P.value})` : "";
245
+ function fe(u) {
246
+ return e.value.blurOnHover && ![null, void 0].includes(j.value) && j.value !== u ? `url(#blur_${T.value})` : "";
245
247
  }
246
- function Ve(u, c) {
248
+ function je(u, c) {
247
249
  w.value.includes(u) ? w.value = w.value.filter((t) => t !== u) : w.value.length < c && w.value.push(u);
248
250
  }
249
- const qe = I(null), We = I(null), _e = I(!1);
250
- function lt(u, c) {
251
- _e.value = !0;
251
+ const Ge = P(null), He = P(null), Ae = P(!1);
252
+ function ut(u, c) {
253
+ Ae.value = !0;
252
254
  let t = u.value;
253
255
  if (w.value.includes(u.id)) {
254
256
  let r = function() {
255
- t > n ? (_e.value = !1, cancelAnimationFrame(We.value), y.value = {
256
- ...y.value,
257
- dataset: y.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
257
+ t > n ? (Ae.value = !1, cancelAnimationFrame(He.value), x.value = {
258
+ ...x.value,
259
+ dataset: x.value.dataset.map((h, O) => u.id === `donut_${O}` ? {
258
260
  ...h,
259
261
  value: n,
260
262
  VALUE: n
261
263
  } : h)
262
- }) : (t += n * 0.025, y.value = {
263
- ...y.value,
264
- dataset: y.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
264
+ }) : (t += n * 0.025, x.value = {
265
+ ...x.value,
266
+ dataset: x.value.dataset.map((h, O) => u.id === `donut_${O}` ? {
265
267
  ...h,
266
268
  value: t,
267
269
  VALUE: t
268
270
  } : h)
269
- }, We.value = requestAnimationFrame(r));
271
+ }, He.value = requestAnimationFrame(r));
270
272
  };
271
273
  w.value = w.value.filter((h) => h !== u.id);
272
- const n = ce.value.dataset.find((h, N) => u.id === `donut_${N}`).VALUE;
274
+ const n = he.value.dataset.find((h, O) => u.id === `donut_${O}`).VALUE;
273
275
  r();
274
276
  } else if (c.length > 1) {
275
277
  let n = function() {
276
- t < 0.1 ? (_e.value = !1, cancelAnimationFrame(qe.value), w.value.push(u.id), y.value = {
277
- ...y.value,
278
- dataset: y.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
278
+ t < 0.1 ? (Ae.value = !1, cancelAnimationFrame(Ge.value), w.value.push(u.id), x.value = {
279
+ ...x.value,
280
+ dataset: x.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
279
281
  ...r,
280
282
  value: 0,
281
283
  VALUE: 0
282
284
  } : r)
283
- }) : (t /= 1.1, y.value = {
284
- ...y.value,
285
- dataset: y.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
285
+ }) : (t /= 1.1, x.value = {
286
+ ...x.value,
287
+ dataset: x.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
286
288
  ...r,
287
289
  value: t,
288
290
  VALUE: t
289
291
  } : r)
290
- }, qe.value = requestAnimationFrame(n));
292
+ }, Ge.value = requestAnimationFrame(n));
291
293
  };
292
294
  n();
293
295
  }
294
296
  }
295
- const Y = I(null);
296
- function ot(u) {
297
- Y.value = u;
297
+ const J = P(null);
298
+ function nt(u) {
299
+ J.value = u;
298
300
  }
299
- const je = D(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), C = D(() => {
300
- if (z.value !== A.DONUT) return null;
301
- const u = y.value.dataset.map((o, i) => ({
301
+ const Xe = V(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), C = V(() => {
302
+ if (z.value !== _.DONUT) return null;
303
+ const u = x.value.dataset.map((o, i) => ({
302
304
  ...o,
303
305
  value: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
304
306
  name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
305
307
  id: `donut_${i}`
306
308
  })).map((o, i) => ({
307
309
  ...o,
308
- color: o.COLOR ? Ee(o.COLOR) : de.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
310
+ color: o.COLOR ? Oe(o.COLOR) : ce.value[i + e.value.paletteStartIndex] || D[i + e.value.paletteStartIndex] || D[(i + e.value.paletteStartIndex) % D.length],
309
311
  immutableValue: o.value
310
312
  }));
311
313
  function c(o, i) {
312
- return M({
313
- v: isNaN(o.value / De(i)) ? 0 : o.value / De(i) * 100,
314
+ return B({
315
+ v: isNaN(o.value / We(i)) ? 0 : o.value / We(i) * 100,
314
316
  s: "%",
315
317
  r: e.value.dataLabelRoundingPercentage
316
318
  });
@@ -319,107 +321,107 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
319
321
  return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
320
322
  }
321
323
  function n(o, i) {
322
- const b = ce.value.dataset.find((T, F) => `donut_${F}` === o).VALUE;
324
+ const b = he.value.dataset.find((I, F) => `donut_${F}` === o).VALUE;
323
325
  return Math.abs(String(Number(b.toFixed(0))).length - String(Number(i.toFixed(0))).length);
324
326
  }
325
327
  function r({ datapoint: o, seriesIndex: i }) {
326
- ve.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: u }, W.value = o.id;
328
+ de.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: u }, j.value = o.id;
327
329
  const b = e.value.tooltipCustomFormat;
328
- if (Ae(b) && Ne(() => b({
330
+ if (ze(b) && Fe(() => b({
329
331
  datapoint: o,
330
332
  seriesIndex: i,
331
333
  series: u,
332
334
  config: e.value
333
335
  })))
334
- Q.value = b({
336
+ K.value = b({
335
337
  datapoint: o,
336
338
  seriesIndex: i,
337
339
  series: u,
338
340
  config: e.value
339
341
  });
340
342
  else {
341
- let x = "";
342
- x += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, x += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${o.color}"/></svg>`, x += `<b>${H(
343
+ let y = "";
344
+ y += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${o.name}</div>`, y += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${o.color}"/></svg>`, y += `<b>${X(
343
345
  e.value.formatter,
344
346
  o.value,
345
- M({
347
+ B({
346
348
  p: e.value.valuePrefix,
347
349
  v: o.value,
348
350
  s: e.value.valueSuffix,
349
351
  r: e.value.dataLabelRoundingValue
350
352
  }),
351
353
  { datapoint: o, seriesIndex: i }
352
- )}</b>`, x += `<span>(${M({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, Q.value = `<div>${x}</div>`;
354
+ )}</b>`, y += `<span>(${B({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, K.value = `<div>${y}</div>`;
353
355
  }
354
356
  G.value = !0;
355
357
  }
356
358
  function h() {
357
- G.value = !1, W.value = null, Y.value = null;
359
+ G.value = !1, j.value = null, J.value = null;
358
360
  }
359
- const N = {
361
+ const O = {
360
362
  centerX: S.value.width / 2,
361
363
  centerY: S.value.height / 2
362
- }, 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) => ({
364
+ }, U = u.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), ie = u.map((o, i) => ({
363
365
  ...o,
364
- proportion: (o.value || 0) / B,
366
+ proportion: (o.value || 0) / U,
365
367
  value: o.value || 0,
366
- absoluteValue: ce.value.dataset.find((b, x) => `donut_${x}` === o.id).VALUE
367
- })), K = S.value.width / 2, ue = S.value.height / 2, ee = S.value.height * e.value.donutRadiusRatio;
368
+ absoluteValue: he.value.dataset.find((b, y) => `donut_${y}` === o.id).VALUE
369
+ })), ee = S.value.width / 2, ue = S.value.height / 2, te = S.value.height * e.value.donutRadiusRatio;
368
370
  return {
369
371
  dataset: ie.filter((o) => !w.value.includes(o.id)),
370
372
  legend: ie,
371
- drawingArea: N,
373
+ drawingArea: O,
372
374
  displayArcPercentage: c,
373
375
  isArcBigEnough: t,
374
376
  useTooltip: r,
375
377
  killTooltip: h,
376
378
  getSpaces: n,
377
- total: B,
378
- cx: K,
379
+ total: U,
380
+ cx: ee,
379
381
  cy: ue,
380
- radius: ee,
381
- chart: kt(
382
+ radius: te,
383
+ chart: wt(
382
384
  { series: u.filter((o) => !w.value.includes(o.id)) },
383
- K,
384
- ue,
385
- ee,
386
385
  ee,
386
+ ue,
387
+ te,
388
+ te,
387
389
  1.99999,
388
390
  2,
389
391
  1,
390
392
  360,
391
393
  105.25,
392
- S.value.height * je.value
394
+ S.value.height * Xe.value
393
395
  )
394
396
  };
395
- }), k = I({
397
+ }), k = P({
396
398
  start: 0,
397
- end: y.value.maxSeriesLength
399
+ end: x.value.maxSeriesLength
398
400
  });
399
- function it() {
401
+ function rt() {
400
402
  k.value = {
401
403
  start: 0,
402
- end: y.value.maxSeriesLength
403
- }, ye.value += 1;
404
+ end: x.value.maxSeriesLength
405
+ }, xe.value += 1;
404
406
  }
405
- const ut = D(() => {
406
- if (!e.value.zoomMinimap.show || z.value === A.DONUT) return [];
407
+ const st = V(() => {
408
+ if (!e.value.zoomMinimap.show || z.value === _.DONUT) return [];
407
409
  let u = [];
408
- Z(y.value.dataset) && (u = y.value.dataset), ze(y.value.dataset) && (u = y.value.dataset.map((r, h) => ({
410
+ Y(x.value.dataset) && (u = x.value.dataset), Ce(x.value.dataset) && (u = x.value.dataset.map((r, h) => ({
409
411
  values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
410
- id: z.value === A.LINE ? `line_${h}` : `bar_${h}`
412
+ id: z.value === _.LINE ? `line_${h}` : `bar_${h}`
411
413
  })).filter((r) => !w.value.includes(r.id)));
412
- const c = Z(u) ? u.length : Math.max(...u.map((r) => r.values.length));
414
+ const c = Y(u) ? u.length : Math.max(...u.map((r) => r.values.length));
413
415
  let t = [];
414
- if (Z(u))
416
+ if (Y(u))
415
417
  t = u;
416
418
  else
417
419
  for (let r = 0; r < c; r += 1)
418
- t.push(u.map((h) => h.values[r] || 0).reduce((h, N) => (h || 0) + (N || 0), 0));
420
+ t.push(u.map((h) => h.values[r] || 0).reduce((h, O) => (h || 0) + (O || 0), 0));
419
421
  const n = Math.min(...t);
420
422
  return t.map((r) => r + (n < 0 ? Math.abs(n) : 0));
421
- }), d = D(() => {
422
- if (z.value !== A.LINE) return null;
423
+ }), d = V(() => {
424
+ if (z.value !== _.LINE) return null;
423
425
  const u = {
424
426
  height: S.value.height,
425
427
  width: S.value.width
@@ -432,37 +434,37 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
432
434
  height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
433
435
  };
434
436
  let t = [];
435
- Z(y.value.dataset) && (t = [
437
+ Y(x.value.dataset) && (t = [
436
438
  {
437
- values: y.value.dataset.slice(k.value.start, k.value.end),
438
- absoluteIndices: y.value.dataset.map((o, i) => i).slice(k.value.start, k.value.end),
439
+ values: x.value.dataset.slice(k.value.start, k.value.end),
440
+ absoluteIndices: x.value.dataset.map((o, i) => i).slice(k.value.start, k.value.end),
439
441
  name: e.value.title,
440
- color: de.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
442
+ color: ce.value[e.value.paletteStartIndex] || D[e.value.paletteStartIndex],
441
443
  id: "line_0"
442
444
  }
443
- ]), ze(y.value.dataset) && (t = y.value.dataset.map((o, i) => ({
445
+ ]), Ce(x.value.dataset) && (t = x.value.dataset.map((o, i) => ({
444
446
  ...o,
445
447
  values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
446
448
  name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
447
449
  id: `line_${i}`
448
450
  })).map((o, i) => ({
449
451
  ...o,
450
- color: o.COLOR ? Ee(o.COLOR) : de.value[i + e.value.paletteStartIndex] || U[i + e.value.paletteStartIndex] || U[(i + e.value.paletteStartIndex) % U.length],
452
+ color: o.COLOR ? Oe(o.COLOR) : ce.value[i + e.value.paletteStartIndex] || D[i + e.value.paletteStartIndex] || D[(i + e.value.paletteStartIndex) % D.length],
451
453
  values: o.values.slice(k.value.start, k.value.end),
452
- absoluteIndices: o.values.map((b, x) => x).slice(k.value.start, k.value.end)
454
+ absoluteIndices: o.values.map((b, y) => y).slice(k.value.start, k.value.end)
453
455
  })));
454
456
  const n = {
455
457
  max: Math.max(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
456
458
  min: Math.min(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
457
459
  maxSeries: Math.max(...t.map((o) => o.values.length))
458
- }, r = He(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) => ({
460
+ }, r = Ye(n.min < 0 ? n.min : 0, n.max < 0 ? 0 : n.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, O = n.max < 0 ? c.top : c.bottom - h / (r.max + h) * c.height, U = c.width / n.maxSeries, ie = r.ticks.map((o) => ({
459
461
  y: c.bottom - c.height * ((o + h) / (r.max + h)),
460
462
  x: c.left - 8,
461
463
  value: o
462
- })), K = t.map((o, i) => ({
464
+ })), ee = t.map((o, i) => ({
463
465
  ...o,
464
- coordinates: o.values.map((b, x) => ({
465
- x: c.left + B * (x + 1) - B / 2,
466
+ coordinates: o.values.map((b, y) => ({
467
+ x: c.left + U * (y + 1) - U / 2,
466
468
  y: c.bottom - (b + h) / (r.max + h) * c.height,
467
469
  value: b
468
470
  }))
@@ -476,67 +478,67 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
476
478
  };
477
479
  });
478
480
  function ue(o) {
479
- W.value = o, Y.value = o;
480
- const i = t.map((x) => ({
481
- ...x,
482
- value: x.values[o],
483
- absoluteIndex: x.absoluteIndices[o]
484
- })).filter((x) => !w.value.includes(x.id));
485
- ve.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
481
+ j.value = o, J.value = o;
482
+ const i = t.map((y) => ({
483
+ ...y,
484
+ value: y.values[o],
485
+ absoluteIndex: y.absoluteIndices[o]
486
+ })).filter((y) => !w.value.includes(y.id));
487
+ de.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
486
488
  const b = e.value.tooltipCustomFormat;
487
- if (Ae(b) && Ne(() => b({
489
+ if (ze(b) && Fe(() => b({
488
490
  datapoint: i,
489
491
  seriesIndex: o,
490
492
  series: t,
491
493
  config: e.value
492
494
  })))
493
- Q.value = b({
495
+ K.value = b({
494
496
  datapoint: i,
495
497
  seriesIndex: o,
496
498
  series: t,
497
499
  config: e.value
498
500
  });
499
501
  else {
500
- let x = "";
501
- e.value.xyPeriods[i[0].absoluteIndex] && (x += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[i[0].absoluteIndex]}</div>`), i.forEach((T, F) => {
502
- x += `
502
+ let y = "";
503
+ e.value.xyPeriods[i[0].absoluteIndex] && (y += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[i[0].absoluteIndex]}</div>`), i.forEach((I, F) => {
504
+ y += `
503
505
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
504
- <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${T.color}"/></svg>
505
- <span>${T.name}:</span>
506
- <b>${H(
506
+ <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${I.color}"/></svg>
507
+ <span>${I.name}:</span>
508
+ <b>${X(
507
509
  e.value.formatter,
508
- T.value,
509
- M({
510
+ I.value,
511
+ B({
510
512
  p: e.value.valuePrefix,
511
- v: T.value,
513
+ v: I.value,
512
514
  s: e.value.valueSuffix,
513
515
  r: e.value.dataLabelRoundingValue
514
516
  }),
515
- { datapoint: T, seriesIndex: F }
517
+ { datapoint: I, seriesIndex: F }
516
518
  )}
517
519
  </b>
518
520
  </div>
519
521
  `;
520
- }), Q.value = x;
522
+ }), K.value = y;
521
523
  }
522
524
  G.value = !0;
523
525
  }
524
- function ee() {
525
- W.value = null, G.value = !1;
526
+ function te() {
527
+ j.value = null, G.value = !1;
526
528
  }
527
529
  return {
528
- absoluteZero: N,
529
- dataset: K.filter((o) => !w.value.includes(o.id)),
530
- legend: K,
530
+ absoluteZero: O,
531
+ dataset: ee.filter((o) => !w.value.includes(o.id)),
532
+ legend: ee,
531
533
  drawingArea: c,
532
534
  extremes: n,
533
- slotSize: B,
535
+ slotSize: U,
534
536
  yLabels: ie,
535
537
  useTooltip: ue,
536
- killTooltip: ee
538
+ killTooltip: te
537
539
  };
538
- }), v = D(() => {
539
- if (z.value !== A.BAR) return null;
540
+ }), v = V(() => {
541
+ if (z.value !== _.BAR) return null;
540
542
  const u = {
541
543
  height: S.value.height,
542
544
  width: S.value.width
@@ -549,336 +551,359 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
549
551
  height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
550
552
  };
551
553
  let t = [];
552
- Z(y.value.dataset) && (t = [
554
+ Y(x.value.dataset) && (t = [
553
555
  {
554
- values: y.value.dataset.slice(k.value.start, k.value.end),
555
- absoluteIndices: y.value.dataset.map((i, b) => b).slice(k.value.start, k.value.end),
556
+ values: x.value.dataset.slice(k.value.start, k.value.end),
557
+ absoluteIndices: x.value.dataset.map((i, b) => b).slice(k.value.start, k.value.end),
556
558
  name: e.value.title,
557
- color: de.value[e.value.paletteStartIndex] || U[e.value.paletteStartIndex],
559
+ color: ce.value[e.value.paletteStartIndex] || D[e.value.paletteStartIndex],
558
560
  id: "bar_0"
559
561
  }
560
- ]), ze(y.value.dataset) && (t = y.value.dataset.map((i, b) => ({
562
+ ]), Ce(x.value.dataset) && (t = x.value.dataset.map((i, b) => ({
561
563
  ...i,
562
564
  values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
563
565
  name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${b}`,
564
566
  id: `bar_${b}`
565
567
  })).map((i, b) => ({
566
568
  ...i,
567
- color: i.COLOR ? Ee(i.COLOR) : de.value[b + e.value.paletteStartIndex] || U[b + e.value.paletteStartIndex] || U[(b + e.value.paletteStartIndex) % U.length],
569
+ color: i.COLOR ? Oe(i.COLOR) : ce.value[b + e.value.paletteStartIndex] || D[b + e.value.paletteStartIndex] || D[(b + e.value.paletteStartIndex) % D.length],
568
570
  values: i.values.slice(k.value.start, k.value.end),
569
- absoluteIndices: i.values.map((x, T) => T).slice(k.value.start, k.value.end)
571
+ absoluteIndices: i.values.map((y, I) => I).slice(k.value.start, k.value.end)
570
572
  })));
571
573
  const n = {
572
574
  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)),
573
575
  min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
574
576
  maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
575
- }, r = He(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) => ({
577
+ }, r = Ye(n.min < 0 ? n.min : 0, n.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, O = c.bottom - h / (r.max + h) * c.height, U = c.width / n.maxSeries, ie = r.ticks.map((i) => ({
576
578
  y: c.bottom - c.height * ((i + h) / (r.max + h)),
577
579
  x: c.left - 8,
578
580
  value: i
579
- })), K = t.map((i, b) => ({
581
+ })), ee = t.map((i, b) => ({
580
582
  ...i,
581
- coordinates: i.values.map((x, T) => {
582
- const F = (x + h) / (n.max + h) * c.height, fe = Math.abs(x) / Math.abs(n.min) * (c.height - N), Ce = h / (n.max + h) * c.height, ge = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
583
+ coordinates: i.values.map((y, I) => {
584
+ const F = (y + h) / (n.max + h) * c.height, ge = Math.abs(y) / Math.abs(n.min) * (c.height - O), Ie = h / (n.max + h) * c.height, me = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
583
585
  return {
584
- x: c.left + B * T + ge * b + e.value.barGap / 2,
585
- y: x > 0 ? c.bottom - F : N,
586
- height: x > 0 ? F - Ce : fe,
587
- value: x,
588
- width: ge
586
+ x: c.left + U * I + me * b + e.value.barGap / 2,
587
+ y: y > 0 ? c.bottom - F : O,
588
+ height: y > 0 ? F - Ie : ge,
589
+ value: y,
590
+ width: me
589
591
  };
590
592
  })
591
593
  })), ue = t.filter((i) => !w.value.includes(i.id)).map((i, b) => ({
592
594
  ...i,
593
- coordinates: i.values.map((x, T) => {
594
- const F = (x + h) / (n.max + h) * c.height, fe = Math.abs(x) / (n.max + h) * c.height, Ce = h / (n.max + h) * c.height, ge = B / t.filter((te) => !w.value.includes(te.id)).length - e.value.barGap / t.filter((te) => !w.value.includes(te.id)).length;
595
+ coordinates: i.values.map((y, I) => {
596
+ const F = (y + h) / (n.max + h) * c.height, ge = Math.abs(y) / (n.max + h) * c.height, Ie = h / (n.max + h) * c.height, me = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
595
597
  return {
596
- x: c.left + B * T + ge * b + e.value.barGap / 2,
597
- y: x > 0 ? c.bottom - F : N,
598
- height: x > 0 ? F - Ce : fe,
599
- value: x,
600
- width: ge
598
+ x: c.left + U * I + me * b + e.value.barGap / 2,
599
+ y: y > 0 ? c.bottom - F : O,
600
+ height: y > 0 ? F - Ie : ge,
601
+ value: y,
602
+ width: me
601
603
  };
602
604
  })
603
605
  }));
604
- function ee(i) {
605
- W.value = i, Y.value = i;
606
- const b = t.map((T) => ({
607
- ...T,
608
- value: T.values[i],
609
- absoluteIndex: T.absoluteIndices[i]
610
- })).filter((T) => !w.value.includes(T.id));
611
- ve.value = { datapoint: b, seriesIndex: i, config: e.value, dataset: t };
612
- const x = e.value.tooltipCustomFormat;
613
- if (Ae(x) && Ne(() => x({
606
+ function te(i) {
607
+ j.value = i, J.value = i;
608
+ const b = t.map((I) => ({
609
+ ...I,
610
+ value: I.values[i],
611
+ absoluteIndex: I.absoluteIndices[i]
612
+ })).filter((I) => !w.value.includes(I.id));
613
+ de.value = { datapoint: b, seriesIndex: i, config: e.value, dataset: t };
614
+ const y = e.value.tooltipCustomFormat;
615
+ if (ze(y) && Fe(() => y({
614
616
  datapoint: b,
615
617
  seriesIndex: i,
616
618
  series: t,
617
619
  config: e.value
618
620
  })))
619
- Q.value = x({
621
+ K.value = y({
620
622
  point: b,
621
623
  seriesIndex: i,
622
624
  series: t,
623
625
  config: e.value
624
626
  });
625
627
  else {
626
- let T = "";
627
- e.value.xyPeriods[b[0].absoluteIndex] && (T += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[b[0].absoluteIndex]}</div>`), b.forEach((F, fe) => {
628
- T += `
628
+ let I = "";
629
+ e.value.xyPeriods[b[0].absoluteIndex] && (I += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[b[0].absoluteIndex]}</div>`), b.forEach((F, ge) => {
630
+ I += `
629
631
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
630
632
  <svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
631
633
  <span>${F.name}:</span>
632
- <b>${H(
634
+ <b>${X(
633
635
  e.value.formatter,
634
636
  F.value,
635
- M({
637
+ B({
636
638
  p: e.value.valuePrefix,
637
639
  v: F.value,
638
640
  s: e.value.valueSuffix,
639
641
  r: e.value.dataLabelRoundingValue
640
642
  }),
641
- { datapoint: F, seriesIndex: fe }
643
+ { datapoint: F, seriesIndex: ge }
642
644
  )}
643
645
  </b>
644
646
  </div>
645
647
  `;
646
- }), Q.value = T;
648
+ }), K.value = I;
647
649
  }
648
650
  G.value = !0;
649
651
  }
650
652
  function o() {
651
- G.value = !1, W.value = null, Y.value = null;
653
+ G.value = !1, j.value = null, J.value = null;
652
654
  }
653
655
  return {
654
- absoluteZero: N,
656
+ absoluteZero: O,
655
657
  dataset: ue.filter((i) => !w.value.includes(i.id)),
656
- legend: K,
658
+ legend: ee,
657
659
  drawingArea: c,
658
660
  extremes: n,
659
- slotSize: B,
661
+ slotSize: U,
660
662
  yLabels: ie,
661
- useTooltip: ee,
663
+ useTooltip: te,
662
664
  killTooltip: o
663
665
  };
664
- }), $e = I(!1);
665
- function nt(u) {
666
- $e.value = u, Oe.value += 1;
666
+ }), Pe = P(!1);
667
+ function vt(u) {
668
+ Pe.value = u, Be.value += 1;
667
669
  }
668
- function Ge() {
670
+ function Ze() {
669
671
  Se.value.showTooltip = !Se.value.showTooltip;
670
672
  }
673
+ const _e = P(!1);
674
+ function Te() {
675
+ _e.value = !_e.value;
676
+ }
671
677
  return $({
672
- generatePdf: Me,
673
- generateImage: Be,
674
- toggleTooltip: Ge
675
- }), (u, c) => tt.value ? (a(), l("div", {
678
+ generatePdf: De,
679
+ generateImage: Ve,
680
+ toggleTooltip: Ze,
681
+ toggleAnnotator: Te
682
+ }), (u, c) => ot.value ? (a(), l("div", {
676
683
  key: 0,
677
- id: `${z.value}_${P.value}`,
684
+ id: `${z.value}_${T.value}`,
678
685
  ref_key: "quickChart",
679
- ref: j,
680
- class: ne({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": $e.value }),
681
- style: O(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
686
+ ref: W,
687
+ class: ne({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Pe.value }),
688
+ style: N(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
682
689
  }, [
683
- e.value.showUserOptions ? (a(), Te(zt, {
690
+ e.value.userOptionsButtons.annotator ? (a(), Le(Rt, {
691
+ key: 0,
692
+ parent: W.value,
693
+ backgroundColor: e.value.backgroundColor,
694
+ color: e.value.color,
695
+ active: _e.value,
696
+ onClose: Te
697
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : g("", !0),
698
+ e.value.showUserOptions ? (a(), Le(Pt, {
684
699
  ref: "details",
685
- key: `user_option_${Oe.value}`,
700
+ key: `user_option_${Be.value}`,
686
701
  backgroundColor: e.value.backgroundColor,
687
702
  color: e.value.color,
688
703
  isPrinting: f(ke),
689
704
  isImaging: f(be),
690
- uid: P.value,
705
+ uid: T.value,
691
706
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
692
707
  hasPdf: e.value.userOptionsButtons.pdf,
693
708
  hasImg: e.value.userOptionsButtons.img,
694
709
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
695
710
  hasXls: !1,
696
711
  isTooltip: Se.value.showTooltip,
697
- isFullscreen: $e.value,
712
+ isFullscreen: Pe.value,
698
713
  titles: { ...e.value.userOptionsButtonTitles },
699
- chartElement: j.value,
714
+ chartElement: W.value,
700
715
  position: e.value.userOptionsPosition,
701
- onToggleFullscreen: nt,
702
- onGeneratePdf: f(Me),
703
- onGenerateImage: f(Be),
704
- onToggleTooltip: Ge
705
- }, vt({ _: 2 }, [
716
+ hasAnnotator: e.value.userOptionsButtons.annotator,
717
+ isAnnotation: _e.value,
718
+ onToggleFullscreen: vt,
719
+ onGeneratePdf: f(De),
720
+ onGenerateImage: f(Ve),
721
+ onToggleTooltip: Ze,
722
+ onToggleAnnotator: Te
723
+ }, ht({ _: 2 }, [
706
724
  u.$slots.optionTooltip ? {
707
725
  name: "optionTooltip",
708
- fn: ae(() => [
709
- V(u.$slots, "optionTooltip", {}, void 0, !0)
726
+ fn: Q(() => [
727
+ M(u.$slots, "optionTooltip", {}, void 0, !0)
710
728
  ]),
711
729
  key: "0"
712
730
  } : void 0,
713
731
  u.$slots.optionPdf ? {
714
732
  name: "optionPdf",
715
- fn: ae(() => [
716
- V(u.$slots, "optionPdf", {}, void 0, !0)
733
+ fn: Q(() => [
734
+ M(u.$slots, "optionPdf", {}, void 0, !0)
717
735
  ]),
718
736
  key: "1"
719
737
  } : void 0,
720
738
  u.$slots.optionImg ? {
721
739
  name: "optionImg",
722
- fn: ae(() => [
723
- V(u.$slots, "optionImg", {}, void 0, !0)
740
+ fn: Q(() => [
741
+ M(u.$slots, "optionImg", {}, void 0, !0)
724
742
  ]),
725
743
  key: "2"
726
744
  } : void 0,
727
745
  u.$slots.optionFullscreen ? {
728
746
  name: "optionFullscreen",
729
- fn: ae(({ toggleFullscreen: t, isFullscreen: n }) => [
730
- V(u.$slots, "optionFullscreen", J(me({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
747
+ fn: Q(({ toggleFullscreen: t, isFullscreen: n }) => [
748
+ M(u.$slots, "optionFullscreen", H(re({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
731
749
  ]),
732
750
  key: "3"
751
+ } : void 0,
752
+ u.$slots.optionAnnotator ? {
753
+ name: "optionAnnotator",
754
+ fn: Q(({ toggleAnnotator: t, isAnnotator: n }) => [
755
+ M(u.$slots, "optionAnnotator", H(re({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
756
+ ]),
757
+ key: "4"
733
758
  } : void 0
734
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : p("", !0),
759
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
735
760
  e.value.title ? (a(), l("div", {
736
- key: 1,
761
+ key: 2,
737
762
  ref_key: "quickChartTitle",
738
763
  ref: le,
739
764
  class: "vue-ui-quick-chart-title",
740
- style: O(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
741
- }, E(e.value.title), 5)) : p("", !0),
765
+ style: N(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
766
+ }, E(e.value.title), 5)) : g("", !0),
742
767
  z.value ? (a(), l("svg", {
743
- key: 2,
744
- xmlns: f(bt),
745
- viewBox: at.value,
746
- style: O(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
768
+ key: 3,
769
+ xmlns: f(At),
770
+ viewBox: it.value,
771
+ style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
747
772
  }, [
748
- re(Pt),
749
- _("defs", null, [
750
- _("filter", {
751
- id: `blur_${P.value}`,
773
+ se(Et),
774
+ A("defs", null, [
775
+ A("filter", {
776
+ id: `blur_${T.value}`,
752
777
  x: "-50%",
753
778
  y: "-50%",
754
779
  width: "200%",
755
780
  height: "200%"
756
781
  }, [
757
- _("feGaussianBlur", {
782
+ A("feGaussianBlur", {
758
783
  in: "SourceGraphic",
759
784
  stdDeviation: 2,
760
- id: `blur_std_${P.value}`
761
- }, null, 8, Dt),
762
- Vt
763
- ], 8, Ut),
764
- _("filter", {
765
- id: `shadow_${P.value}`,
785
+ id: `blur_std_${T.value}`
786
+ }, null, 8, jt),
787
+ Gt
788
+ ], 8, Wt),
789
+ A("filter", {
790
+ id: `shadow_${T.value}`,
766
791
  "color-interpolation-filters": "sRGB"
767
792
  }, [
768
- _("feDropShadow", {
793
+ A("feDropShadow", {
769
794
  dx: "0",
770
795
  dy: "0",
771
796
  stdDeviation: "10",
772
797
  "flood-opacity": "0.5",
773
798
  "flood-color": e.value.donutShadowColor
774
- }, null, 8, Wt)
775
- ], 8, qt)
799
+ }, null, 8, Xt)
800
+ ], 8, Ht)
776
801
  ]),
777
- z.value === A.DONUT ? (a(), l(m, { key: 0 }, [
778
- e.value.showDataLabels ? (a(), l("g", jt, [
779
- (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
802
+ z.value === _.DONUT ? (a(), l(p, { key: 0 }, [
803
+ e.value.showDataLabels ? (a(), l("g", Zt, [
804
+ (a(!0), l(p, null, L(C.value.chart, (t, n) => (a(), l(p, null, [
780
805
  C.value.isArcBigEnough(t) ? (a(), l("path", {
781
806
  key: 0,
782
- d: f(St)(t, { x: S.value.width / 2, y: S.value.height / 2 }, 16, 16, !1, !1, S.value.height * je.value),
807
+ d: f(_t)(t, { x: S.value.width / 2, y: S.value.height / 2 }, 16, 16, !1, !1, S.value.height * Xe.value),
783
808
  stroke: t.color,
784
809
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
785
810
  "stroke-linecap": "round",
786
811
  "stroke-linejoin": "round",
787
812
  fill: "none",
788
- filter: he(t.id)
789
- }, null, 8, Gt)) : p("", !0)
813
+ filter: fe(t.id)
814
+ }, null, 8, Yt)) : g("", !0)
790
815
  ], 64))), 256))
791
- ])) : p("", !0),
792
- _("circle", {
816
+ ])) : g("", !0),
817
+ A("circle", {
793
818
  cx: C.value.cx,
794
819
  cy: C.value.cy,
795
820
  r: C.value.radius,
796
821
  fill: e.value.backgroundColor,
797
- filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
798
- }, null, 8, Ht),
799
- _("g", Xt, [
800
- (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
822
+ filter: e.value.donutUseShadow ? `url(#shadow_${T.value})` : ""
823
+ }, null, 8, Jt),
824
+ A("g", Qt, [
825
+ (a(!0), l(p, null, L(C.value.chart, (t, n) => (a(), l("path", {
801
826
  d: t.arcSlice,
802
827
  fill: t.color,
803
828
  stroke: e.value.backgroundColor,
804
829
  "stroke-width": e.value.donutStrokeWidth,
805
- filter: he(t.id)
806
- }, null, 8, Zt))), 256)),
807
- (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l("path", {
830
+ filter: fe(t.id)
831
+ }, null, 8, Kt))), 256)),
832
+ (a(!0), l(p, null, L(C.value.chart, (t, n) => (a(), l("path", {
808
833
  d: t.arcSlice,
809
834
  fill: "transparent",
810
835
  onMouseenter: (r) => C.value.useTooltip({ datapoint: t, seriesIndex: n }),
811
836
  onMouseout: c[0] || (c[0] = (r) => C.value.killTooltip()),
812
- onClick: (r) => g("selectDatapoint", t)
813
- }, null, 40, Yt))), 256))
837
+ onClick: (r) => m("selectDatapoint", t)
838
+ }, null, 40, ea))), 256))
814
839
  ]),
815
- e.value.showDataLabels ? (a(), l("g", Jt, [
816
- (a(!0), l(m, null, L(C.value.chart, (t, n) => (a(), l(m, null, [
840
+ e.value.showDataLabels ? (a(), l("g", ta, [
841
+ (a(!0), l(p, null, L(C.value.chart, (t, n) => (a(), l(p, null, [
817
842
  C.value.isArcBigEnough(t) ? (a(), l("circle", {
818
843
  key: 0,
819
844
  cx: f(pe)(t).x,
820
- cy: f(Re)(t) - 3.7,
845
+ cy: f(Ne)(t) - 3.7,
821
846
  fill: t.color,
822
847
  stroke: e.value.backgroundColor,
823
848
  "stroke-width": 1,
824
849
  r: 3,
825
- filter: he(t.id)
826
- }, null, 8, Qt)) : p("", !0),
850
+ filter: fe(t.id)
851
+ }, null, 8, aa)) : g("", !0),
827
852
  C.value.isArcBigEnough(t) ? (a(), l("text", {
828
853
  key: 1,
829
854
  "text-anchor": f(pe)(t, !0, 20).anchor,
830
855
  x: f(pe)(t, !0).x,
831
- y: f(Re)(t),
856
+ y: f(Ne)(t),
832
857
  fill: e.value.color,
833
858
  "font-size": e.value.dataLabelFontSize,
834
- filter: he(t.id)
835
- }, E(C.value.displayArcPercentage(t, C.value.chart)) + " (" + E(f(H)(
859
+ filter: fe(t.id)
860
+ }, E(C.value.displayArcPercentage(t, C.value.chart)) + " (" + E(f(X)(
836
861
  e.value.formatter,
837
862
  t.value,
838
- f(M)({
863
+ f(B)({
839
864
  p: e.value.valuePrefix,
840
865
  v: t.value,
841
866
  s: e.value.valueSuffix,
842
867
  r: e.value.dataLabelRoundingValue
843
868
  }),
844
869
  { datapoint: t, seriesIndex: n }
845
- )) + ") ", 9, Kt)) : p("", !0),
870
+ )) + ") ", 9, la)) : g("", !0),
846
871
  C.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
847
872
  key: 2,
848
873
  "text-anchor": f(pe)(t).anchor,
849
874
  x: f(pe)(t, !0).x,
850
- y: f(Re)(t) + e.value.dataLabelFontSize,
875
+ y: f(Ne)(t) + e.value.dataLabelFontSize,
851
876
  fill: e.value.color,
852
877
  "font-size": e.value.dataLabelFontSize,
853
- filter: he(t.id)
854
- }, E(t.name), 9, ea)) : p("", !0)
878
+ filter: fe(t.id)
879
+ }, E(t.name), 9, oa)) : g("", !0)
855
880
  ], 64))), 256))
856
- ])) : p("", !0),
857
- e.value.donutShowTotal ? (a(), l("g", ta, [
858
- _("text", {
881
+ ])) : g("", !0),
882
+ e.value.donutShowTotal ? (a(), l("g", ia, [
883
+ A("text", {
859
884
  "text-anchor": "middle",
860
885
  x: C.value.drawingArea.centerX,
861
886
  y: C.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
862
887
  "font-size": e.value.donutTotalLabelFontSize,
863
888
  fill: e.value.color
864
- }, E(e.value.donutTotalLabelText), 9, aa),
865
- _("text", {
889
+ }, E(e.value.donutTotalLabelText), 9, ua),
890
+ A("text", {
866
891
  "text-anchor": "middle",
867
892
  x: C.value.drawingArea.centerX,
868
893
  y: C.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
869
894
  "font-size": e.value.donutTotalLabelFontSize,
870
895
  fill: e.value.color
871
- }, E(f(M)({
896
+ }, E(f(B)({
872
897
  p: e.value.valuePrefix,
873
898
  v: C.value.total,
874
899
  s: e.value.valueSuffix,
875
900
  r: e.value.dataLabelRoundingValue
876
- })), 9, la)
877
- ])) : p("", !0)
878
- ], 64)) : p("", !0),
879
- z.value === A.LINE ? (a(), l(m, { key: 1 }, [
880
- e.value.xyShowGrid ? (a(), l("g", oa, [
881
- (a(!0), l(m, null, L(d.value.yLabels, (t) => (a(), l(m, null, [
901
+ })), 9, na)
902
+ ])) : g("", !0)
903
+ ], 64)) : g("", !0),
904
+ z.value === _.LINE ? (a(), l(p, { key: 1 }, [
905
+ e.value.xyShowGrid ? (a(), l("g", ra, [
906
+ (a(!0), l(p, null, L(d.value.yLabels, (t) => (a(), l(p, null, [
882
907
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
883
908
  key: 0,
884
909
  x1: d.value.drawingArea.left,
@@ -888,9 +913,9 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
888
913
  stroke: e.value.xyGridStroke,
889
914
  "stroke-width": e.value.xyGridStrokeWidth,
890
915
  "stroke-linecap": "round"
891
- }, null, 8, ia)) : p("", !0)
916
+ }, null, 8, sa)) : g("", !0)
892
917
  ], 64))), 256)),
893
- (a(!0), l(m, null, L(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
918
+ (a(!0), l(p, null, L(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
894
919
  x1: d.value.drawingArea.left + d.value.slotSize * n,
895
920
  x2: d.value.drawingArea.left + d.value.slotSize * n,
896
921
  y1: d.value.drawingArea.top,
@@ -898,10 +923,10 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
898
923
  stroke: e.value.xyGridStroke,
899
924
  "stroke-width": e.value.xyGridStrokeWidth,
900
925
  "stroke-linecap": "round"
901
- }, null, 8, ua))), 256))
902
- ])) : p("", !0),
903
- e.value.xyShowAxis ? (a(), l("g", na, [
904
- _("line", {
926
+ }, null, 8, va))), 256))
927
+ ])) : g("", !0),
928
+ e.value.xyShowAxis ? (a(), l("g", da, [
929
+ A("line", {
905
930
  x1: d.value.drawingArea.left,
906
931
  x2: d.value.drawingArea.left,
907
932
  y1: d.value.drawingArea.top,
@@ -909,8 +934,8 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
909
934
  stroke: e.value.xyAxisStroke,
910
935
  "stroke-width": e.value.xyAxisStrokeWidth,
911
936
  "stroke-linecap": "round"
912
- }, null, 8, ra),
913
- _("line", {
937
+ }, null, 8, ca),
938
+ A("line", {
914
939
  x1: d.value.drawingArea.left,
915
940
  x2: d.value.drawingArea.right,
916
941
  y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
@@ -918,10 +943,10 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
918
943
  stroke: e.value.xyAxisStroke,
919
944
  "stroke-width": e.value.xyAxisStrokeWidth,
920
945
  "stroke-linecap": "round"
921
- }, null, 8, sa)
922
- ])) : p("", !0),
923
- e.value.xyShowScale ? (a(), l("g", va, [
924
- (a(!0), l(m, null, L(d.value.yLabels, (t, n) => (a(), l(m, null, [
946
+ }, null, 8, ha)
947
+ ])) : g("", !0),
948
+ e.value.xyShowScale ? (a(), l("g", fa, [
949
+ (a(!0), l(p, null, L(d.value.yLabels, (t, n) => (a(), l(p, null, [
925
950
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
926
951
  key: 0,
927
952
  x1: t.x + 4,
@@ -931,7 +956,7 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
931
956
  stroke: e.value.xyAxisStroke,
932
957
  "stroke-width": e.value.xyAxisStrokeWidth,
933
958
  "stroke-linecap": "round"
934
- }, null, 8, da)) : p("", !0),
959
+ }, null, 8, ga)) : g("", !0),
935
960
  t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
936
961
  key: 1,
937
962
  x: t.x,
@@ -939,21 +964,21 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
939
964
  "text-anchor": "end",
940
965
  "font-size": e.value.xyLabelsYFontSize,
941
966
  fill: e.value.color
942
- }, E(f(H)(
967
+ }, E(f(X)(
943
968
  e.value.formatter,
944
969
  t.value,
945
- f(M)({
970
+ f(B)({
946
971
  p: e.value.valuePrefix,
947
972
  v: t.value,
948
973
  s: e.value.valueSuffix,
949
974
  r: e.value.dataLabelRoundingValue
950
975
  }),
951
976
  { datapoint: t, seriesIndex: n }
952
- )), 9, ca)) : p("", !0)
977
+ )), 9, ma)) : g("", !0)
953
978
  ], 64))), 256))
954
- ])) : p("", !0),
955
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", ha, [
956
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
979
+ ])) : g("", !0),
980
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", pa, [
981
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
957
982
  x1: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
958
983
  x2: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
959
984
  y1: d.value.drawingArea.bottom,
@@ -961,37 +986,37 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
961
986
  stroke: e.value.xyAxisStroke,
962
987
  "stroke-width": e.value.xyAxisStrokeWidth,
963
988
  "stroke-linecap": "round"
964
- }, null, 8, fa))), 256)),
965
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
989
+ }, null, 8, ya))), 256)),
990
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
966
991
  "font-size": e.value.xyLabelsXFontSize,
967
992
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
968
993
  fill: e.value.color,
969
994
  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})`
970
- }, E(t), 9, ga))), 256))
971
- ])) : p("", !0),
972
- _("g", ma, [
973
- (a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l("g", pa, [
974
- e.value.lineSmooth ? (a(), l(m, { key: 0 }, [
975
- _("path", {
976
- d: `M ${f(Xe)(t.coordinates)}`,
995
+ }, E(t), 9, xa))), 256))
996
+ ])) : g("", !0),
997
+ A("g", ka, [
998
+ (a(!0), l(p, null, L(d.value.dataset, (t, n) => (a(), l("g", ba, [
999
+ e.value.lineSmooth ? (a(), l(p, { key: 0 }, [
1000
+ A("path", {
1001
+ d: `M ${f(Je)(t.coordinates)}`,
977
1002
  stroke: e.value.backgroundColor,
978
1003
  "stroke-width": e.value.lineStrokeWidth + 1,
979
1004
  "stroke-linecap": "round",
980
1005
  fill: "none",
981
1006
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
982
1007
  style: { transition: "all 0.3s ease-in-out" }
983
- }, null, 10, xa),
984
- _("path", {
985
- d: `M ${f(Xe)(t.coordinates)}`,
1008
+ }, null, 10, Sa),
1009
+ A("path", {
1010
+ d: `M ${f(Je)(t.coordinates)}`,
986
1011
  stroke: t.color,
987
1012
  "stroke-width": e.value.lineStrokeWidth,
988
1013
  "stroke-linecap": "round",
989
1014
  fill: "none",
990
1015
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
991
1016
  style: { transition: "all 0.3s ease-in-out" }
992
- }, null, 10, ya)
993
- ], 64)) : (a(), l(m, { key: 1 }, [
994
- _("path", {
1017
+ }, null, 10, wa)
1018
+ ], 64)) : (a(), l(p, { key: 1 }, [
1019
+ A("path", {
995
1020
  d: `M ${t.linePath}`,
996
1021
  stroke: e.value.backgroundColor,
997
1022
  "stroke-width": e.value.lineStrokeWidth + 1,
@@ -999,8 +1024,8 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
999
1024
  fill: "none",
1000
1025
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1001
1026
  style: { transition: "all 0.3s ease-in-out" }
1002
- }, null, 10, ka),
1003
- _("path", {
1027
+ }, null, 10, Aa),
1028
+ A("path", {
1004
1029
  d: `M ${t.linePath}`,
1005
1030
  stroke: t.color,
1006
1031
  "stroke-width": e.value.lineStrokeWidth,
@@ -1008,63 +1033,63 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1008
1033
  fill: "none",
1009
1034
  class: ne({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1010
1035
  style: { transition: "all 0.3s ease-in-out" }
1011
- }, null, 10, ba)
1036
+ }, null, 10, _a)
1012
1037
  ], 64)),
1013
- (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("circle", {
1038
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("circle", {
1014
1039
  cx: r.x,
1015
- cy: f(X)(r.y),
1040
+ cy: f(Z)(r.y),
1016
1041
  r: 3,
1017
1042
  fill: t.color,
1018
1043
  stroke: e.value.backgroundColor,
1019
1044
  "stroke-width": "0.5",
1020
1045
  class: "quick-animation",
1021
1046
  style: { transition: "all 0.3s ease-in-out" }
1022
- }, null, 8, Sa))), 256))
1047
+ }, null, 8, La))), 256))
1023
1048
  ]))), 256))
1024
1049
  ]),
1025
- e.value.showDataLabels ? (a(), l("g", wa, [
1026
- (a(!0), l(m, null, L(d.value.dataset, (t, n) => (a(), l(m, null, [
1027
- (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
1050
+ e.value.showDataLabels ? (a(), l("g", za, [
1051
+ (a(!0), l(p, null, L(d.value.dataset, (t, n) => (a(), l(p, null, [
1052
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("text", {
1028
1053
  "text-anchor": "middle",
1029
1054
  "font-size": e.value.dataLabelFontSize,
1030
1055
  fill: t.color,
1031
1056
  x: r.x,
1032
- y: f(X)(r.y) - e.value.dataLabelFontSize / 2,
1057
+ y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1033
1058
  class: "quick-animation",
1034
1059
  style: { transition: "all 0.3s ease-in-out" }
1035
- }, E(f(H)(
1060
+ }, E(f(X)(
1036
1061
  e.value.formatter,
1037
- f(X)(r.value),
1038
- f(M)({
1062
+ f(Z)(r.value),
1063
+ f(B)({
1039
1064
  p: e.value.valuePrefix,
1040
- v: f(X)(r.value),
1065
+ v: f(Z)(r.value),
1041
1066
  s: e.value.valueSuffix,
1042
1067
  r: e.value.dataLabelRoundingValue
1043
1068
  }),
1044
1069
  { datapoint: r, seriesIndex: h }
1045
- )), 9, _a))), 256))
1070
+ )), 9, $a))), 256))
1046
1071
  ], 64))), 256))
1047
- ])) : p("", !0),
1048
- _("g", Aa, [
1049
- (a(!0), l(m, null, L(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1072
+ ])) : g("", !0),
1073
+ A("g", Ca, [
1074
+ (a(!0), l(p, null, L(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1050
1075
  x: d.value.drawingArea.left + n * d.value.slotSize,
1051
1076
  y: d.value.drawingArea.top,
1052
1077
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1053
1078
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1054
- fill: [W.value, Y.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1055
- style: O(`opacity:${e.value.xyHighlighterOpacity}`),
1079
+ fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1080
+ style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1056
1081
  onMouseenter: (r) => d.value.useTooltip(n),
1057
1082
  onMouseleave: c[1] || (c[1] = (r) => d.value.killTooltip()),
1058
- onClick: (r) => g("selectDatapoint", d.value.dataset.map((h) => ({
1083
+ onClick: (r) => m("selectDatapoint", d.value.dataset.map((h) => ({
1059
1084
  ...h,
1060
1085
  value: h.values[n]
1061
1086
  })))
1062
- }, null, 44, La))), 256))
1087
+ }, null, 44, Pa))), 256))
1063
1088
  ])
1064
- ], 64)) : p("", !0),
1065
- z.value === A.BAR ? (a(), l(m, { key: 2 }, [
1066
- e.value.xyShowGrid ? (a(), l("g", za, [
1067
- (a(!0), l(m, null, L(v.value.yLabels, (t) => (a(), l(m, null, [
1089
+ ], 64)) : g("", !0),
1090
+ z.value === _.BAR ? (a(), l(p, { key: 2 }, [
1091
+ e.value.xyShowGrid ? (a(), l("g", Ta, [
1092
+ (a(!0), l(p, null, L(v.value.yLabels, (t) => (a(), l(p, null, [
1068
1093
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1069
1094
  key: 0,
1070
1095
  x1: v.value.drawingArea.left,
@@ -1074,9 +1099,9 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1074
1099
  stroke: e.value.xyGridStroke,
1075
1100
  "stroke-width": e.value.xyGridStrokeWidth,
1076
1101
  "stroke-linecap": "round"
1077
- }, null, 8, $a)) : p("", !0)
1102
+ }, null, 8, Ia)) : g("", !0)
1078
1103
  ], 64))), 256)),
1079
- (a(!0), l(m, null, L(v.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
1104
+ (a(!0), l(p, null, L(v.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
1080
1105
  x1: v.value.drawingArea.left + v.value.slotSize * n,
1081
1106
  x2: v.value.drawingArea.left + v.value.slotSize * n,
1082
1107
  y1: v.value.drawingArea.top,
@@ -1084,10 +1109,10 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1084
1109
  stroke: e.value.xyGridStroke,
1085
1110
  "stroke-width": e.value.xyGridStrokeWidth,
1086
1111
  "stroke-linecap": "round"
1087
- }, null, 8, Ca))), 256))
1088
- ])) : p("", !0),
1089
- e.value.xyShowAxis ? (a(), l("g", Pa, [
1090
- _("line", {
1112
+ }, null, 8, Ea))), 256))
1113
+ ])) : g("", !0),
1114
+ e.value.xyShowAxis ? (a(), l("g", Ra, [
1115
+ A("line", {
1091
1116
  x1: v.value.drawingArea.left,
1092
1117
  x2: v.value.drawingArea.left,
1093
1118
  y1: v.value.drawingArea.top,
@@ -1095,8 +1120,8 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1095
1120
  stroke: e.value.xyAxisStroke,
1096
1121
  "stroke-width": e.value.xyAxisStrokeWidth,
1097
1122
  "stroke-linecap": "round"
1098
- }, null, 8, Ta),
1099
- _("line", {
1123
+ }, null, 8, Oa),
1124
+ A("line", {
1100
1125
  x1: v.value.drawingArea.left,
1101
1126
  x2: v.value.drawingArea.right,
1102
1127
  y1: isNaN(v.value.absoluteZero) ? v.value.drawingArea.bottom : v.value.absoluteZero,
@@ -1104,10 +1129,10 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1104
1129
  stroke: e.value.xyAxisStroke,
1105
1130
  "stroke-width": e.value.xyAxisStrokeWidth,
1106
1131
  "stroke-linecap": "round"
1107
- }, null, 8, Ia)
1108
- ])) : p("", !0),
1109
- e.value.xyShowScale ? (a(), l("g", Ea, [
1110
- (a(!0), l(m, null, L(v.value.yLabels, (t, n) => (a(), l(m, null, [
1132
+ }, null, 8, Na)
1133
+ ])) : g("", !0),
1134
+ e.value.xyShowScale ? (a(), l("g", Fa, [
1135
+ (a(!0), l(p, null, L(v.value.yLabels, (t, n) => (a(), l(p, null, [
1111
1136
  t.y <= v.value.drawingArea.bottom ? (a(), l("line", {
1112
1137
  key: 0,
1113
1138
  x1: t.x + 4,
@@ -1117,7 +1142,7 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1117
1142
  stroke: e.value.xyAxisStroke,
1118
1143
  "stroke-width": e.value.xyAxisStrokeWidth,
1119
1144
  "stroke-linecap": "round"
1120
- }, null, 8, Ra)) : p("", !0),
1145
+ }, null, 8, Ma)) : g("", !0),
1121
1146
  t.y <= v.value.drawingArea.bottom ? (a(), l("text", {
1122
1147
  key: 1,
1123
1148
  x: t.x,
@@ -1125,21 +1150,21 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1125
1150
  "text-anchor": "end",
1126
1151
  "font-size": e.value.xyLabelsYFontSize,
1127
1152
  fill: e.value.color
1128
- }, E(f(H)(
1153
+ }, E(f(X)(
1129
1154
  e.value.formatter,
1130
1155
  t.value,
1131
- f(M)({
1156
+ f(B)({
1132
1157
  p: e.value.valuePrefix,
1133
1158
  v: t.value,
1134
1159
  s: e.value.valueSuffix,
1135
1160
  r: e.value.dataLabelRoundingValue
1136
1161
  }),
1137
1162
  { datapoint: t, seriesIndex: n }
1138
- )), 9, Na)) : p("", !0)
1163
+ )), 9, Ba)) : g("", !0)
1139
1164
  ], 64))), 256))
1140
- ])) : p("", !0),
1141
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Oa, [
1142
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1165
+ ])) : g("", !0),
1166
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ua, [
1167
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1143
1168
  x1: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
1144
1169
  x2: v.value.drawingArea.left + v.value.slotSize * (n + 1) - v.value.slotSize / 2,
1145
1170
  y1: v.value.drawingArea.bottom,
@@ -1147,21 +1172,21 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1147
1172
  stroke: e.value.xyAxisStroke,
1148
1173
  "stroke-width": e.value.xyAxisStrokeWidth,
1149
1174
  "stroke-linecap": "round"
1150
- }, null, 8, Fa))), 256)),
1151
- (a(!0), l(m, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1175
+ }, null, 8, Da))), 256)),
1176
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1152
1177
  "font-size": e.value.xyLabelsXFontSize,
1153
1178
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1154
1179
  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})`,
1155
1180
  fill: e.value.color
1156
- }, E(t), 9, Ma))), 256))
1157
- ])) : p("", !0),
1158
- _("g", Ba, [
1159
- (a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
1160
- (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("rect", {
1181
+ }, E(t), 9, Va))), 256))
1182
+ ])) : g("", !0),
1183
+ A("g", qa, [
1184
+ (a(!0), l(p, null, L(v.value.dataset, (t, n) => (a(), l(p, null, [
1185
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("rect", {
1161
1186
  x: r.x,
1162
1187
  width: r.width <= 0 ? 1e-5 : r.width,
1163
- height: f(X)(r.height <= 0 ? 1e-5 : r.height),
1164
- y: f(X)(r.y),
1188
+ height: f(Z)(r.height <= 0 ? 1e-5 : r.height),
1189
+ y: f(Z)(r.y),
1165
1190
  fill: t.color,
1166
1191
  stroke: e.value.backgroundColor,
1167
1192
  "stroke-width": e.value.barStrokeWidth,
@@ -1174,95 +1199,95 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1174
1199
  from: 0,
1175
1200
  to: r.height,
1176
1201
  dur: "0.5s"
1177
- }, null, 8, Da)) : p("", !0),
1202
+ }, null, 8, ja)) : g("", !0),
1178
1203
  e.value.barAnimated && r.value > 0 && !f(ke) && !f(be) ? (a(), l("animate", {
1179
1204
  key: 1,
1180
1205
  attributeName: "y",
1181
1206
  from: v.value.absoluteZero,
1182
1207
  to: v.value.absoluteZero - r.height,
1183
1208
  dur: "0.5s"
1184
- }, null, 8, Va)) : p("", !0)
1185
- ], 10, Ua))), 256))
1209
+ }, null, 8, Ga)) : g("", !0)
1210
+ ], 10, Wa))), 256))
1186
1211
  ], 64))), 256))
1187
1212
  ]),
1188
- e.value.showDataLabels ? (a(), l("g", qa, [
1189
- (a(!0), l(m, null, L(v.value.dataset, (t, n) => (a(), l(m, null, [
1190
- (a(!0), l(m, null, L(t.coordinates, (r, h) => (a(), l("text", {
1213
+ e.value.showDataLabels ? (a(), l("g", Ha, [
1214
+ (a(!0), l(p, null, L(v.value.dataset, (t, n) => (a(), l(p, null, [
1215
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("text", {
1191
1216
  x: r.x + r.width / 2,
1192
- y: f(X)(r.y) - e.value.dataLabelFontSize / 2,
1217
+ y: f(Z)(r.y) - e.value.dataLabelFontSize / 2,
1193
1218
  "text-anchor": "middle",
1194
1219
  "font-size": e.value.dataLabelFontSize,
1195
1220
  fill: t.color,
1196
1221
  class: "quick-animation"
1197
- }, E(f(H)(
1222
+ }, E(f(X)(
1198
1223
  e.value.formatter,
1199
- f(X)(r.value),
1200
- f(M)({
1224
+ f(Z)(r.value),
1225
+ f(B)({
1201
1226
  p: e.value.valuePrefix,
1202
- v: f(X)(r.value),
1227
+ v: f(Z)(r.value),
1203
1228
  s: e.value.valueSuffix,
1204
1229
  r: e.value.dataLabelRoundingValue
1205
1230
  }),
1206
1231
  { datapoint: r, seriesIndex: h }
1207
- )), 9, Wa))), 256))
1232
+ )), 9, Xa))), 256))
1208
1233
  ], 64))), 256))
1209
- ])) : p("", !0),
1210
- _("g", ja, [
1211
- (a(!0), l(m, null, L(v.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1234
+ ])) : g("", !0),
1235
+ A("g", Za, [
1236
+ (a(!0), l(p, null, L(v.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1212
1237
  x: v.value.drawingArea.left + n * v.value.slotSize,
1213
1238
  y: v.value.drawingArea.top,
1214
1239
  height: v.value.drawingArea.height <= 0 ? 1e-5 : v.value.drawingArea.height,
1215
1240
  width: v.value.slotSize <= 0 ? 1e-5 : v.value.slotSize,
1216
- fill: [W.value, Y.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1217
- style: O(`opacity:${e.value.xyHighlighterOpacity}`),
1241
+ fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1242
+ style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1218
1243
  onMouseenter: (r) => v.value.useTooltip(n),
1219
1244
  onMouseleave: c[2] || (c[2] = (r) => v.value.killTooltip()),
1220
- onClick: (r) => g("selectDatapoint", v.value.dataset.map((h) => ({
1245
+ onClick: (r) => m("selectDatapoint", v.value.dataset.map((h) => ({
1221
1246
  ...h,
1222
1247
  value: h.values[n]
1223
1248
  })))
1224
- }, null, 44, Ga))), 256))
1249
+ }, null, 44, Ya))), 256))
1225
1250
  ])
1226
- ], 64)) : p("", !0),
1227
- [A.LINE, A.BAR].includes(z.value) ? (a(), l("g", Ha, [
1228
- e.value.xAxisLabel && z.value === A.LINE ? (a(), l("g", Xa, [
1229
- _("text", {
1251
+ ], 64)) : g("", !0),
1252
+ [_.LINE, _.BAR].includes(z.value) ? (a(), l("g", Ja, [
1253
+ e.value.xAxisLabel && z.value === _.LINE ? (a(), l("g", Qa, [
1254
+ A("text", {
1230
1255
  "font-size": e.value.axisLabelsFontSize,
1231
1256
  fill: e.value.color,
1232
1257
  "text-anchor": "middle",
1233
1258
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1234
1259
  y: S.value.height - e.value.axisLabelsFontSize / 3
1235
- }, E(e.value.xAxisLabel), 9, Za)
1236
- ])) : p("", !0),
1237
- e.value.xAxisLabel && z.value === A.BAR ? (a(), l("g", Ya, [
1238
- _("text", {
1260
+ }, E(e.value.xAxisLabel), 9, Ka)
1261
+ ])) : g("", !0),
1262
+ e.value.xAxisLabel && z.value === _.BAR ? (a(), l("g", el, [
1263
+ A("text", {
1239
1264
  "font-size": e.value.axisLabelsFontSize,
1240
1265
  fill: e.value.color,
1241
1266
  "text-anchor": "middle",
1242
1267
  x: v.value.drawingArea.left + v.value.drawingArea.width / 2,
1243
1268
  y: S.value.height - e.value.axisLabelsFontSize / 3
1244
- }, E(e.value.xAxisLabel), 9, Ja)
1245
- ])) : p("", !0),
1246
- e.value.yAxisLabel && z.value === A.LINE ? (a(), l("g", Qa, [
1247
- _("text", {
1269
+ }, E(e.value.xAxisLabel), 9, tl)
1270
+ ])) : g("", !0),
1271
+ e.value.yAxisLabel && z.value === _.LINE ? (a(), l("g", al, [
1272
+ A("text", {
1248
1273
  "font-size": e.value.axisLabelsFontSize,
1249
1274
  fill: e.value.color,
1250
1275
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1251
1276
  "text-anchor": "middle"
1252
- }, E(e.value.yAxisLabel), 9, Ka)
1253
- ])) : p("", !0),
1254
- e.value.yAxisLabel && z.value === A.BAR ? (a(), l("g", el, [
1255
- _("text", {
1277
+ }, E(e.value.yAxisLabel), 9, ll)
1278
+ ])) : g("", !0),
1279
+ e.value.yAxisLabel && z.value === _.BAR ? (a(), l("g", ol, [
1280
+ A("text", {
1256
1281
  "font-size": e.value.axisLabelsFontSize,
1257
1282
  fill: e.value.color,
1258
1283
  transform: `translate(${e.value.axisLabelsFontSize}, ${v.value.drawingArea.top + v.value.drawingArea.height / 2}) rotate(-90)`,
1259
1284
  "text-anchor": "middle"
1260
- }, E(e.value.yAxisLabel), 9, tl)
1261
- ])) : p("", !0)
1262
- ])) : p("", !0)
1263
- ], 12, Bt)) : p("", !0),
1264
- z.value ? p("", !0) : (a(), Te(Ct, {
1265
- key: 3,
1285
+ }, E(e.value.yAxisLabel), 9, il)
1286
+ ])) : g("", !0)
1287
+ ])) : g("", !0)
1288
+ ], 12, qt)) : g("", !0),
1289
+ z.value ? g("", !0) : (a(), Le(It, {
1290
+ key: 4,
1266
1291
  config: {
1267
1292
  type: "line",
1268
1293
  style: {
@@ -1279,16 +1304,16 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1279
1304
  }
1280
1305
  }
1281
1306
  }, null, 8, ["config"])),
1282
- u.$slots.watermark ? (a(), l("div", al, [
1283
- V(u.$slots, "watermark", J(me({ isPrinting: f(ke) || f(be) })), void 0, !0)
1284
- ])) : p("", !0),
1285
- [A.BAR, A.LINE].includes(z.value) && e.value.zoomXy && y.value.maxSeriesLength > 1 ? (a(), l("div", {
1286
- key: `slicer_${ye.value}`,
1307
+ u.$slots.watermark ? (a(), l("div", ul, [
1308
+ M(u.$slots, "watermark", H(re({ isPrinting: f(ke) || f(be) })), void 0, !0)
1309
+ ])) : g("", !0),
1310
+ [_.BAR, _.LINE].includes(z.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
1311
+ key: `slicer_${xe.value}`,
1287
1312
  ref_key: "quickChartSlicer",
1288
- ref: se
1313
+ ref: ve
1289
1314
  }, [
1290
- (a(), Te($t, {
1291
- key: `slicer_${ye.value}`,
1315
+ (a(), Le(Tt, {
1316
+ key: `slicer_${xe.value}`,
1292
1317
  background: e.value.zoomColor,
1293
1318
  borderColor: e.value.backgroundColor,
1294
1319
  fontSize: e.value.zoomFontSize,
@@ -1298,7 +1323,7 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1298
1323
  textColor: e.value.color,
1299
1324
  inputColor: e.value.zoomColor,
1300
1325
  selectColor: e.value.zoomHighlightColor,
1301
- max: y.value.maxSeriesLength,
1326
+ max: x.value.maxSeriesLength,
1302
1327
  min: 0,
1303
1328
  valueStart: k.value.start,
1304
1329
  valueEnd: k.value.end,
@@ -1307,51 +1332,51 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1307
1332
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
1308
1333
  minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
1309
1334
  minimapLineColor: e.value.zoomMinimap.lineColor,
1310
- minimap: ut.value,
1335
+ minimap: st.value,
1311
1336
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1312
- minimapSelectedIndex: Y.value,
1337
+ minimapSelectedIndex: J.value,
1313
1338
  start: k.value.start,
1314
1339
  "onUpdate:start": c[3] || (c[3] = (t) => k.value.start = t),
1315
1340
  end: k.value.end,
1316
1341
  "onUpdate:end": c[4] || (c[4] = (t) => k.value.end = t),
1317
- onReset: it,
1318
- onTrapMouse: ot
1342
+ onReset: rt,
1343
+ onTrapMouse: nt
1319
1344
  }, {
1320
- "reset-action": ae(({ reset: t }) => [
1321
- V(u.$slots, "reset-action", J(me({ reset: t })), void 0, !0)
1345
+ "reset-action": Q(({ reset: t }) => [
1346
+ M(u.$slots, "reset-action", H(re({ reset: t })), void 0, !0)
1322
1347
  ]),
1323
1348
  _: 3
1324
1349
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end"]))
1325
- ])) : p("", !0),
1350
+ ])) : g("", !0),
1326
1351
  e.value.showLegend ? (a(), l("div", {
1327
- key: 6,
1352
+ key: 7,
1328
1353
  ref_key: "quickChartLegend",
1329
1354
  ref: oe,
1330
1355
  class: "vue-ui-quick-chart-legend",
1331
- style: O(`background:transparent;color:${e.value.color}`)
1356
+ style: N(`background:transparent;color:${e.value.color}`)
1332
1357
  }, [
1333
- z.value === A.DONUT ? (a(!0), l(m, { key: 0 }, L(C.value.legend, (t, n) => (a(), l("div", {
1358
+ z.value === _.DONUT ? (a(!0), l(p, { key: 0 }, L(C.value.legend, (t, n) => (a(), l("div", {
1334
1359
  class: "vue-ui-quick-chart-legend-item",
1335
1360
  onClick: (r) => {
1336
- lt(t, C.value.dataset), g("selectLegend", t);
1361
+ ut(t, C.value.dataset), m("selectLegend", t);
1337
1362
  },
1338
- style: O(`cursor: ${C.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1363
+ style: N(`cursor: ${C.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1339
1364
  }, [
1340
- e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1341
- re(Le, {
1365
+ e.value.useCustomLegend ? M(u.$slots, "legend", H(Re({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1366
+ se($e, {
1342
1367
  name: e.value.legendIcon,
1343
1368
  stroke: t.color,
1344
1369
  size: e.value.legendIconSize
1345
1370
  }, null, 8, ["name", "stroke", "size"]),
1346
- _("span", {
1347
- style: O(`font-size:${e.value.legendFontSize}px`)
1371
+ A("span", {
1372
+ style: N(`font-size:${e.value.legendFontSize}px`)
1348
1373
  }, E(t.name), 5),
1349
- _("span", {
1350
- style: O(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1351
- }, E(w.value.includes(t.id) ? "-" : f(H)(
1374
+ A("span", {
1375
+ style: N(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1376
+ }, E(w.value.includes(t.id) ? "-" : f(X)(
1352
1377
  e.value.formatter,
1353
1378
  t.absoluteValue,
1354
- f(M)({
1379
+ f(B)({
1355
1380
  p: e.value.valuePrefix,
1356
1381
  v: t.absoluteValue,
1357
1382
  s: e.value.valueSuffix,
@@ -1361,58 +1386,66 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1361
1386
  )), 5),
1362
1387
  w.value.includes(t.id) ? (a(), l("span", {
1363
1388
  key: 0,
1364
- style: O(`font-size:${e.value.legendFontSize}px`)
1365
- }, " ( - % ) ", 4)) : _e.value ? (a(), l("span", {
1389
+ style: N(`font-size:${e.value.legendFontSize}px`)
1390
+ }, " ( - % ) ", 4)) : Ae.value ? (a(), l("span", {
1366
1391
  key: 1,
1367
- style: O(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1392
+ style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1368
1393
  }, " ( - % ) ", 4)) : (a(), l("span", {
1369
1394
  key: 2,
1370
- style: O(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1371
- }, " (" + E(f(M)({
1395
+ style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1396
+ }, " (" + E(f(B)({
1372
1397
  v: t.value / C.value.total * 100,
1373
1398
  s: "%",
1374
1399
  r: e.value.dataLabelRoundingPercentage
1375
1400
  })) + ") ", 5))
1376
1401
  ], 64))
1377
- ], 12, ll))), 256)) : p("", !0),
1378
- z.value === A.LINE ? (a(!0), l(m, { key: 1 }, L(d.value.legend, (t, n) => (a(), l("div", {
1402
+ ], 12, nl))), 256)) : g("", !0),
1403
+ z.value === _.LINE ? (a(!0), l(p, { key: 1 }, L(d.value.legend, (t, n) => (a(), l("div", {
1379
1404
  class: "vue-ui-quick-chart-legend-item",
1380
1405
  onClick: (r) => {
1381
- Ve(t.id, d.value.legend.length - 1), g("selectLegend", t);
1406
+ je(t.id, d.value.legend.length - 1), m("selectLegend", t);
1382
1407
  },
1383
- style: O(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1408
+ style: N(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1384
1409
  }, [
1385
- e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1386
- re(Le, {
1410
+ e.value.useCustomLegend ? M(u.$slots, "legend", H(Re({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1411
+ se($e, {
1387
1412
  name: e.value.legendIcon,
1388
1413
  stroke: t.color,
1389
1414
  size: e.value.legendIconSize
1390
1415
  }, null, 8, ["name", "stroke", "size"]),
1391
- _("span", {
1392
- style: O(`font-size:${e.value.legendFontSize}px`)
1416
+ A("span", {
1417
+ style: N(`font-size:${e.value.legendFontSize}px`)
1393
1418
  }, E(t.name), 5)
1394
1419
  ], 64))
1395
- ], 12, ol))), 256)) : p("", !0),
1396
- z.value === A.BAR ? (a(!0), l(m, { key: 2 }, L(v.value.legend, (t, n) => (a(), l("div", {
1420
+ ], 12, rl))), 256)) : g("", !0),
1421
+ z.value === _.BAR ? (a(!0), l(p, { key: 2 }, L(v.value.legend, (t, n) => (a(), l("div", {
1397
1422
  class: "vue-ui-quick-chart-legend-item",
1398
1423
  onClick: (r) => {
1399
- Ve(t.id, v.value.legend.length - 1), g("selectLegend", t);
1424
+ je(t.id, v.value.legend.length - 1), m("selectLegend", t);
1400
1425
  },
1401
- style: O(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1426
+ style: N(`cursor: ${v.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1402
1427
  }, [
1403
- e.value.useCustomLegend ? V(u.$slots, "legend", J(Ie({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(m, { key: 1 }, [
1404
- re(Le, {
1428
+ e.value.useCustomLegend ? M(u.$slots, "legend", H(Re({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1429
+ se($e, {
1405
1430
  name: e.value.legendIcon,
1406
1431
  stroke: t.color,
1407
1432
  size: e.value.legendIconSize
1408
1433
  }, null, 8, ["name", "stroke", "size"]),
1409
- _("span", {
1410
- style: O(`font-size:${e.value.legendFontSize}px`)
1434
+ A("span", {
1435
+ style: N(`font-size:${e.value.legendFontSize}px`)
1411
1436
  }, E(t.name), 5)
1412
1437
  ], 64))
1413
- ], 12, il))), 256)) : p("", !0)
1414
- ], 4)) : p("", !0),
1415
- re(At, {
1438
+ ], 12, sl))), 256)) : g("", !0)
1439
+ ], 4)) : g("", !0),
1440
+ u.$slots.source ? (a(), l("div", {
1441
+ key: 8,
1442
+ ref_key: "source",
1443
+ ref: Me,
1444
+ dir: "auto"
1445
+ }, [
1446
+ M(u.$slots, "source", {}, void 0, !0)
1447
+ ], 512)) : g("", !0),
1448
+ se($t, {
1416
1449
  show: Se.value.showTooltip && G.value,
1417
1450
  backgroundColor: e.value.backgroundColor,
1418
1451
  color: e.value.color,
@@ -1423,27 +1456,27 @@ const et = (s) => (dt("data-v-b839026c"), s = s(), ct(), s), Mt = ["id"], Bt = [
1423
1456
  backgroundOpacity: e.value.tooltipBackgroundOpacity,
1424
1457
  position: e.value.tooltipPosition,
1425
1458
  offsetY: e.value.tooltipOffsetY,
1426
- parent: j.value,
1427
- content: Q.value,
1428
- isCustom: f(Ae)(e.value.tooltipCustomFormat)
1459
+ parent: W.value,
1460
+ content: K.value,
1461
+ isCustom: f(ze)(e.value.tooltipCustomFormat)
1429
1462
  }, {
1430
- "tooltip-before": ae(() => [
1431
- V(u.$slots, "tooltip-before", J(me({ ...ve.value })), void 0, !0)
1463
+ "tooltip-before": Q(() => [
1464
+ M(u.$slots, "tooltip-before", H(re({ ...de.value })), void 0, !0)
1432
1465
  ]),
1433
- "tooltip-after": ae(() => [
1434
- V(u.$slots, "tooltip-after", J(me({ ...ve.value })), void 0, !0)
1466
+ "tooltip-after": Q(() => [
1467
+ M(u.$slots, "tooltip-after", H(re({ ...de.value })), void 0, !0)
1435
1468
  ]),
1436
1469
  _: 3
1437
1470
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"])
1438
- ], 14, Mt)) : (a(), l("div", ul, [
1439
- re(Le, {
1471
+ ], 14, Vt)) : (a(), l("div", vl, [
1472
+ se($e, {
1440
1473
  name: "circleCancel",
1441
1474
  stroke: "red"
1442
1475
  }),
1443
- nl
1476
+ dl
1444
1477
  ]));
1445
1478
  }
1446
- }, kl = /* @__PURE__ */ Tt(rl, [["__scopeId", "data-v-b839026c"]]);
1479
+ }, _l = /* @__PURE__ */ Ot(cl, [["__scopeId", "data-v-606895e6"]]);
1447
1480
  export {
1448
- kl as default
1481
+ _l as default
1449
1482
  };