vue-data-ui 2.4.50 → 2.4.51

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 (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-DuuEh1Nr.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-D1z9KkQN.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-DemqZ_13.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-BHwqOTt4.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CQ8fQnex.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-CovKV5Yy.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-Br7MWNDo.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-Bbz-hKDf.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-BEtuCME5.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-BV3fHO46.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BIcmfBvD.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-CCOywdmm.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-B7Mekpyf.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BD37ZaX9.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-CWvkt-8k.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-ahFReg7h.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-C2siG5N2.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-CIsKiWgN.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-CS4C58T7.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-B1LgrF9R.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-BtL_cLa8.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CEAfm1tu.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-D_feh7A_.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-B4xDG31F.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-sRt2SKr2.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-CuEYAddV.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-NkhaiK6y.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  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-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-BeXYzdzu.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-Cjc683tN.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CBxsUoGb.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-rnt8M-Qz.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-CFU5Zyfk.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-Yu-mHS2N.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-CRbW1ON6.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-D-ERLtI1.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-I1m4HMWf.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-CqJRKECX.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-S83QIsxQ.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-jrrdh8Lf.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-DW1mIInG.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DR_Bhwa3.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-1jZdiwHJ.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-s5f9eFtW.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-DsHTZ9T2.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-BAYiPsxp.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DcMmBxLy.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BTXEmIQG.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BB_h0FKg.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-DlBk1FUz.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-1SFhSMfU.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-C8rLR4n5.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-CtX6KFN2.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-BzyvTePn.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-BEoHuZ3N.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-LO4KKRR9.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-BYOyJjYg.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-ChHdx5me.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-wlUD77O6.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-Bo7XYpf-.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-DXj4Ce6l.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BBLpNVwF.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-DC8VIInA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-Cl1wiHsK.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-b5cuEH9z.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-CFBPYw2J.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DP8360kx.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-D7b-kfyp.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-DIthBSp_.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-y9Zx-DaI.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-Cbu5GDc1.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-oH-YnZBE.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-BZh_sgjP.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-DjFU2X3P.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-Nuju6X7l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-DtQVEc4B.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-DdnzzEYS.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-B36zW41F.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CaIGk_53.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-iQKGtxo8.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-DixeozKp.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-C01VB6KP.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-DEvgucF7.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-C_6lHF3O.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-CTUuxOma.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-DrZWPGOG.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-Btm4HVgi.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-7pcfCNMr.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-D0UGUm-1.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-BPMDmY04.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-BfWQMGXy.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-Cdo265Yt.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8GaLhM9.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-DMHf03C9.js → vue-ui-table-sparkline-YV8DUOqh.js} +173 -167
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-BCVqil7E.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-gxiLCP1n.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-DF5HkeeS.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CIZaPmbi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-dQoTddqU.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-CnvWOEVU.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-o3zU6r0-.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-GR4PGBDy.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-BKGOnjut.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-DoD-GxZR.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-RduHvzwG.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-DVtbyRJw.cjs +0 -1
  159. package/dist/vue-ui-bullet-Be5aYhtp.cjs +0 -34
  160. package/dist/vue-ui-candlestick-B6wSs-JC.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-7reErH8M.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D-WzX16q.cjs +0 -6
  163. package/dist/vue-ui-donut-Ce1SaXNu.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-DI8yeIa4.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-CFJkwtM8.cjs +0 -9
  166. package/dist/vue-ui-flow-B4MtorhO.cjs +0 -1
  167. package/dist/vue-ui-funnel-DNL12vLQ.cjs +0 -1
  168. package/dist/vue-ui-galaxy-CmCZGOKz.cjs +0 -1
  169. package/dist/vue-ui-gauge-B7ieQMud.cjs +0 -1
  170. package/dist/vue-ui-heatmap-Bfi3KJwS.cjs +0 -1
  171. package/dist/vue-ui-history-plot-5kZ54hgy.cjs +0 -1
  172. package/dist/vue-ui-molecule-D-4cRS5w.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-C3x_LH7Q.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-DrL7-SUd.cjs +0 -17
  175. package/dist/vue-ui-onion-8Vz3lPbn.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-D6q4WQ0B.cjs +0 -8
  177. package/dist/vue-ui-quadrant-DBZS5jFQ.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-Cno_1mzu.cjs +0 -15
  179. package/dist/vue-ui-radar-ChcBO21S.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-C5pO0iHY.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-D2iwmChn.js +0 -492
  182. package/dist/vue-ui-rings-C_NLJYs8.cjs +0 -2
  183. package/dist/vue-ui-scatter-BNeMGDNk.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BwRdmPvB.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-CLN9LikJ.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-C4DRSfsE.js +0 -256
  187. package/dist/vue-ui-table-heatmap-CDAf1IIk.cjs +0 -1
  188. package/dist/vue-ui-table-sparkline-Cw7NOiYx.cjs +0 -1
  189. package/dist/vue-ui-thermometer-7BORZJjd.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-CwGnFx4f.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-lidhcJsi.js +0 -317
  192. package/dist/vue-ui-treemap-BZ_LmiBK.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-venrkqjM.cjs +0 -4
  194. package/dist/vue-ui-waffle-oR54BbIg.cjs +0 -1
  195. package/dist/vue-ui-wheel-BUHZEzPr.cjs +0 -1
  196. package/dist/vue-ui-wheel-D3itrMku.js +0 -299
  197. package/dist/vue-ui-word-cloud-87gwksmM.cjs +0 -1
  198. package/dist/vue-ui-xy-D56pm4L0.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-uikeVe72.cjs +0 -9
@@ -1,146 +1,146 @@
1
- import { ref as L, computed as D, watch as Oe, onMounted as xt, onBeforeUnmount as yt, nextTick as $e, openBlock as a, createElementBlock as l, normalizeClass as re, normalizeStyle as N, createBlock as Ce, createCommentVNode as f, unref as g, createSlots as kt, withCtx as Q, renderSlot as M, normalizeProps as H, guardReactiveProps as se, toDisplayString as R, createVNode as ve, createElementVNode as A, Fragment as p, renderList as z, mergeProps as Ne, pushScopeId as St, popScopeId as bt } from "vue";
2
- import { u as wt, c as At, t as _t, a as zt, p as V, C as et, b as Lt, J as $t, e as Ct, d as Fe, m as It, D as tt, X as Et, j as Pt, k as xe, n as Me, i as X, f as B, R as at, v as Z, x as Ie, y as Be } from "./index-BtL_cLa8.js";
3
- import { t as Tt, u as Rt } from "./useResponsive-CoxXLe23.js";
4
- import Ee from "./BaseIcon-BHwqOTt4.js";
5
- import { _ as Ot } from "./Tooltip-B1LgrF9R.js";
6
- import { u as Nt, U as Ft } from "./usePrinter-sRt2SKr2.js";
7
- import { S as Mt } from "./Slicer-ahFReg7h.js";
8
- import Bt from "./vue-ui-skeleton-DjFU2X3P.js";
9
- import { u as lt } from "./useNestedProp-CEAfm1tu.js";
10
- import { _ as Ut } from "./PackageVersion-BV3fHO46.js";
11
- import { P as Dt } from "./PenAndPaper-CCOywdmm.js";
12
- import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
1
+ import { ref as z, computed as M, watch as Ne, onMounted as bt, onBeforeUnmount as wt, nextTick as $e, openBlock as a, createElementBlock as l, normalizeClass as re, normalizeStyle as R, createBlock as Ie, createCommentVNode as f, unref as g, createSlots as At, withCtx as Q, renderSlot as U, normalizeProps as H, guardReactiveProps as se, toDisplayString as O, createVNode as ve, createElementVNode as A, Fragment as p, renderList as L, mergeProps as Fe, pushScopeId as _t, popScopeId as zt } from "vue";
2
+ import { u as Lt, c as Ct, t as $t, a as It, p as V, C as lt, b as Et, J as Pt, e as Tt, d as Me, m as Ot, D as ot, X as Rt, j as Nt, k as xe, n as Ue, i as X, f as B, R as it, v as Z, x as Ee, y as Be } from "./index-BbPeL8Gp.js";
3
+ import { t as Ft, u as Mt } from "./useResponsive-CoxXLe23.js";
4
+ import Pe from "./BaseIcon-CmiukQBl.js";
5
+ import { _ as Ut } from "./Tooltip-smutPF--.js";
6
+ import { u as Bt, U as Dt } from "./usePrinter-DaybDVqP.js";
7
+ import { S as Vt } from "./Slicer-Cxdl3cDt.js";
8
+ import qt from "./vue-ui-skeleton-Bniq21d9.js";
9
+ import { u as ut } from "./useNestedProp-BN8claGG.js";
10
+ import { _ as Wt } from "./PackageVersion-CxJghxYD.js";
11
+ import { P as jt } from "./PenAndPaper-ZdZEumki.js";
12
+ import { _ as Gt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
13
  const _ = {
14
14
  LINE: "LINE",
15
15
  BAR: "BAR",
16
16
  DONUT: "DONUT"
17
- }, qt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
18
- function Wt({ dataset: v, barLineSwitch: I = 6 }) {
19
- let m = null, $ = null, q = 0;
20
- if ((typeof v == "number" || typeof v == "string") && console.warn(`The provided dataset (${v}) is not sufficient to build a chart`), ye(v) && (Y(v) && (v.length < I ? m = _.BAR : m = _.LINE, $ = v, q = v.length), Pe(v))) {
21
- if (!Gt(v))
17
+ }, Ht = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
18
+ function Xt({ dataset: v, barLineSwitch: I = 6 }) {
19
+ let m = null, C = null, q = 0;
20
+ if ((typeof v == "number" || typeof v == "string") && console.warn(`The provided dataset (${v}) is not sufficient to build a chart`), ye(v) && (Y(v) && (v.length < I ? m = _.BAR : m = _.LINE, C = v, q = v.length), Te(v))) {
21
+ if (!Yt(v))
22
22
  return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
23
23
  const oe = Object.keys(v[0]), de = Object.values(v[0]);
24
- if (!oe.some((P) => Ht(P)))
24
+ if (!oe.some((P) => Jt(P)))
25
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;
26
- ot(de, (P) => typeof P == "number") && (m = _.DONUT, $ = v), ot(de, (P) => Array.isArray(P) && Y(P)) && (ut(v) > I ? m = _.LINE : m = _.BAR, q = ut(v), $ = v.map((P) => ({
26
+ nt(de, (P) => typeof P == "number") && (m = _.DONUT, C = v), nt(de, (P) => Array.isArray(P) && Y(P)) && (rt(v) > I ? m = _.LINE : m = _.BAR, q = rt(v), C = v.map((P) => ({
27
27
  ...P,
28
- data: Xt(P, (G) => Y(G))
29
- }))), v = v.map((P) => it(P)), $ = $.map((P) => it(P));
28
+ data: Qt(P, (G) => Y(G))
29
+ }))), v = v.map((P) => st(P)), C = C.map((P) => st(P));
30
30
  }
31
31
  return ye(v) && [...new Set(v.flatMap((oe) => Array.isArray(oe)))][0], {
32
32
  dataset: v,
33
33
  type: m,
34
- usableDataset: $,
34
+ usableDataset: C,
35
35
  maxSeriesLength: q
36
36
  };
37
37
  }
38
- function nt(v) {
38
+ function vt(v) {
39
39
  return !v || ye(v) && !v.length;
40
40
  }
41
41
  function ye(v) {
42
42
  return Array.isArray(v);
43
43
  }
44
44
  function Y(v) {
45
- if (!ye(v) || nt(v)) return !1;
45
+ if (!ye(v) || vt(v)) return !1;
46
46
  const I = v.map((m) => Number(m));
47
47
  return ![...new Set(I.flatMap((m) => typeof m == "number" && !isNaN(m)))].includes(!1);
48
48
  }
49
- function Pe(v) {
50
- return !ye(v) || nt(v) || !![...new Set(v.flatMap((m) => typeof m == "object" && !Array.isArray(m)))].includes(!1) ? !1 : !v.map((m) => Object.keys(m).length > 0).includes(!1);
49
+ function Te(v) {
50
+ return !ye(v) || vt(v) || !![...new Set(v.flatMap((m) => typeof m == "object" && !Array.isArray(m)))].includes(!1) ? !1 : !v.map((m) => Object.keys(m).length > 0).includes(!1);
51
51
  }
52
- function jt(v, I) {
53
- const m = Object.keys(v).sort(), $ = Object.keys(I).sort();
54
- if (m.length !== $.length)
52
+ function Zt(v, I) {
53
+ const m = Object.keys(v).sort(), C = Object.keys(I).sort();
54
+ if (m.length !== C.length)
55
55
  return !1;
56
56
  for (let q = 0; q < m.length; q += 1) {
57
- const W = m[q], le = $[q];
57
+ const W = m[q], le = C[q];
58
58
  if (W !== le || typeof v[W] != typeof I[le])
59
59
  return !1;
60
60
  }
61
61
  return !0;
62
62
  }
63
- function Gt(v) {
63
+ function Yt(v) {
64
64
  if (v.length <= 1) return !0;
65
65
  for (let I = 0; I < v.length; I += 1)
66
66
  for (let m = I + 1; m < v.length; m += 1)
67
- if (!jt(v[I], v[m]))
67
+ if (!Zt(v[I], v[m]))
68
68
  return !1;
69
69
  return !0;
70
70
  }
71
- function Ht(v) {
72
- return qt.includes(v.toUpperCase());
71
+ function Jt(v) {
72
+ return Ht.includes(v.toUpperCase());
73
73
  }
74
- function ot(v, I) {
74
+ function nt(v, I) {
75
75
  let m = [];
76
- for (let $ = 0; $ < v.length; $ += 1)
77
- m.push(I(v[$]));
76
+ for (let C = 0; C < v.length; C += 1)
77
+ m.push(I(v[C]));
78
78
  return m.includes(!0);
79
79
  }
80
- function ut(v) {
80
+ function rt(v) {
81
81
  return Math.max(...[...v].flatMap((I) => Object.values(I).filter((m) => Y(m)).map((m) => m.length)));
82
82
  }
83
- function Xt(v, I) {
83
+ function Qt(v, I) {
84
84
  return Object.values(v).filter((m) => I(m))[0];
85
85
  }
86
- function it(v) {
86
+ function st(v) {
87
87
  const I = {};
88
88
  for (let m in v)
89
89
  v.hasOwnProperty(m) && (I[m.toUpperCase()] = v[m]);
90
90
  return I;
91
91
  }
92
- const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = ["xmlns", "viewBox"], Jt = ["id"], Qt = ["id"], Kt = /* @__PURE__ */ rt(() => /* @__PURE__ */ A("feColorMatrix", {
92
+ const dt = (v) => (_t("data-v-c31c33da"), v = v(), zt(), v), Kt = ["id"], ea = ["xmlns", "viewBox"], ta = ["id"], aa = ["id"], la = /* @__PURE__ */ dt(() => /* @__PURE__ */ A("feColorMatrix", {
93
93
  type: "saturate",
94
94
  values: "0"
95
- }, null, -1)), ea = ["id"], ta = ["flood-color"], aa = {
95
+ }, null, -1)), oa = ["id"], ia = ["flood-color"], ua = {
96
96
  key: 0,
97
97
  class: "donut-label-connectors"
98
- }, la = ["d", "stroke", "stroke-width", "filter"], oa = ["cx", "cy", "r", "fill", "filter"], ua = { class: "donut" }, ia = ["d", "fill", "stroke", "stroke-width", "filter"], na = ["d", "onMouseenter", "onClick"], ra = {
98
+ }, na = ["d", "stroke", "stroke-width", "filter"], ra = ["cx", "cy", "r", "fill", "filter"], sa = { class: "donut" }, va = ["d", "fill", "stroke", "stroke-width", "filter"], da = ["d", "onMouseenter", "onClick"], ca = {
99
99
  key: 1,
100
100
  class: "donut-labels quick-animation"
101
- }, sa = ["cx", "cy", "fill", "stroke", "filter"], va = ["text-anchor", "x", "y", "fill", "font-size", "filter"], da = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ca = {
101
+ }, ha = ["cx", "cy", "fill", "stroke", "filter"], fa = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ga = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ma = {
102
102
  key: 2,
103
103
  class: "donut-hollow quick-animation"
104
- }, ha = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill"], ga = {
104
+ }, pa = ["x", "y", "font-size", "fill"], xa = ["x", "y", "font-size", "fill"], ya = {
105
105
  key: 0,
106
106
  class: "line-grid"
107
- }, ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xa = {
107
+ }, ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ba = {
108
108
  key: 1,
109
109
  class: "line-axis"
110
- }, ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sa = {
110
+ }, wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _a = {
111
111
  key: 2,
112
112
  class: "yLabels"
113
- }, ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["x", "y", "font-size", "fill"], Aa = {
113
+ }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], La = ["x", "y", "font-size", "fill"], Ca = {
114
114
  key: 3,
115
115
  class: "periodLabels"
116
- }, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["font-size", "text-anchor", "fill", "transform"], La = { class: "plots" }, $a = { class: "line-plot-series" }, Ca = ["d", "stroke", "stroke-width"], Ia = ["d", "stroke", "stroke-width"], Ea = ["d", "stroke", "stroke-width"], Pa = ["d", "stroke", "stroke-width"], Ta = ["cx", "cy", "fill", "stroke"], Ra = {
116
+ }, $a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ia = ["font-size", "text-anchor", "fill", "transform"], Ea = { class: "plots" }, Pa = { class: "line-plot-series" }, Ta = ["d", "stroke", "stroke-width"], Oa = ["d", "stroke", "stroke-width"], Ra = ["d", "stroke", "stroke-width"], Na = ["d", "stroke", "stroke-width"], Fa = ["cx", "cy", "fill", "stroke"], Ma = {
117
117
  key: 4,
118
118
  class: "dataLabels"
119
- }, Oa = ["font-size", "fill", "x", "y"], Na = { class: "tooltip-traps" }, Fa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ma = {
119
+ }, Ua = ["font-size", "fill", "x", "y"], Ba = { class: "tooltip-traps" }, Da = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Va = {
120
120
  key: 0,
121
121
  class: "line-grid"
122
- }, Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Da = {
122
+ }, qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ja = {
123
123
  key: 1,
124
124
  class: "line-axis"
125
- }, Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wa = {
125
+ }, Ga = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Xa = {
126
126
  key: 2,
127
127
  class: "yLabels"
128
- }, ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ga = ["x", "y", "font-size", "fill"], Ha = {
128
+ }, Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ya = ["x", "y", "font-size", "fill"], Ja = {
129
129
  key: 3,
130
130
  class: "periodLabels"
131
- }, Xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Za = ["font-size", "text-anchor", "transform", "fill"], Ya = { class: "plots" }, Ja = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Qa = ["to"], Ka = ["from", "to"], el = {
131
+ }, Qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ka = ["font-size", "text-anchor", "transform", "fill"], el = { class: "plots" }, tl = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], al = ["to"], ll = ["from", "to"], ol = {
132
132
  key: 4,
133
133
  class: "dataLabels"
134
- }, tl = ["x", "y", "font-size", "fill"], al = { class: "tooltip-traps" }, ll = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], ol = {
134
+ }, il = ["x", "y", "font-size", "fill"], ul = { class: "tooltip-traps" }, nl = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], rl = {
135
135
  key: 3,
136
136
  class: "axis-labels"
137
- }, ul = { key: 0 }, il = ["font-size", "fill", "x", "y"], nl = { key: 1 }, rl = ["font-size", "fill", "x", "y"], sl = { key: 2 }, vl = ["font-size", "fill", "transform"], dl = { key: 3 }, cl = ["font-size", "fill", "transform"], hl = {
137
+ }, sl = { key: 0 }, vl = ["font-size", "fill", "x", "y"], dl = { key: 1 }, cl = ["font-size", "fill", "x", "y"], hl = { key: 2 }, fl = ["font-size", "fill", "transform"], gl = { key: 3 }, ml = ["font-size", "fill", "transform"], pl = {
138
138
  key: 6,
139
139
  class: "vue-data-ui-watermark"
140
- }, fl = ["onClick"], gl = ["onClick"], ml = ["onClick"], pl = {
140
+ }, xl = ["onClick"], yl = ["onClick"], kl = ["onClick"], Sl = {
141
141
  key: 1,
142
142
  class: "vue-ui-quick-chart-not-processable"
143
- }, xl = /* @__PURE__ */ rt(() => /* @__PURE__ */ A("span", null, "Dataset is not processable", -1)), yl = {
143
+ }, bl = /* @__PURE__ */ dt(() => /* @__PURE__ */ A("span", null, "Dataset is not processable", -1)), wl = {
144
144
  __name: "vue-ui-quick-chart",
145
145
  props: {
146
146
  config: {
@@ -158,31 +158,34 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
158
158
  },
159
159
  emits: ["selectDatapoint", "selectLegend"],
160
160
  setup(v, { expose: I, emit: m }) {
161
- const $ = v, { vue_ui_quick_chart: q } = wt(), W = L(null), le = L(null), oe = L(null), de = L(null), P = L(At()), G = L(!1), ce = L(null), K = L(""), j = L(null), Ue = L(null), De = L(null), w = L([]), Ve = L(0), ke = L(0), e = D({
162
- get: () => qe(),
163
- set: (i) => i
164
- });
165
- function qe() {
166
- const i = lt({
167
- userConfig: $.config,
161
+ const C = v, { vue_ui_quick_chart: q } = Lt(), W = z(null), le = z(null), oe = z(null), de = z(null), P = z(Ct()), G = z(!1), ce = z(null), K = z(""), j = z(null), De = z(null), Ve = z(null), w = z([]), qe = z(0), ke = z(0), e = M({
162
+ get: () => Ge(),
163
+ set: (u) => u
164
+ }), ct = M(() => e.value.showUserOptionsOnChartHover), We = M(() => e.value.keepUserOptionsStateOnChartLeave), Se = z(!e.value.showUserOptionsOnChartHover);
165
+ function je(u = !1) {
166
+ ct.value && (Se.value = u);
167
+ }
168
+ function Ge() {
169
+ const u = ut({
170
+ userConfig: C.config,
168
171
  defaultConfig: q
169
172
  });
170
173
  let s = {};
171
- return i.theme ? s = {
172
- ...lt({
173
- userConfig: _t.vue_ui_quick_chart[i.theme] || $.config,
174
- defaultConfig: i
174
+ return u.theme ? s = {
175
+ ...ut({
176
+ userConfig: $t.vue_ui_quick_chart[u.theme] || C.config,
177
+ defaultConfig: u
175
178
  }),
176
- customPalette: zt[i.theme] || V
177
- } : s = i, $.config && et($.config, "zoomStartIndex") ? s.zoomStartIndex = $.config.zoomStartIndex : s.zoomStartIndex = null, $.config && et($.config, "zoomEndIndex") ? s.zoomEndIndex = $.config.zoomEndIndex : s.zoomEndIndex = null, s;
179
+ customPalette: It[u.theme] || V
180
+ } : s = u, C.config && lt(C.config, "zoomStartIndex") ? s.zoomStartIndex = C.config.zoomStartIndex : s.zoomStartIndex = null, C.config && lt(C.config, "zoomEndIndex") ? s.zoomEndIndex = C.config.zoomEndIndex : s.zoomEndIndex = null, s;
178
181
  }
179
- Oe(() => $.config, (i) => {
180
- e.value = qe(), b.value.width = e.value.width, b.value.height = e.value.height, Ge();
181
- }, { deep: !0 }), Oe(() => $.dataset, (i) => {
182
+ Ne(() => C.config, (u) => {
183
+ e.value = Ge(), b.value.width = e.value.width, b.value.height = e.value.height, Se.value = !e.value.showUserOptionsOnChartHover, Ze();
184
+ }, { deep: !0 }), Ne(() => C.dataset, (u) => {
182
185
  x.value = fe.value, k.value.start = 0, k.value.end = x.value.maxSeriesLength, ke.value += 1;
183
186
  }, { deep: !0 });
184
- const he = D(() => Lt(e.value.customPalette)), fe = D(() => {
185
- const i = Wt({ dataset: $t($.dataset, [
187
+ const he = M(() => Et(e.value.customPalette)), fe = M(() => {
188
+ const u = Xt({ dataset: Pt(C.dataset, [
186
189
  "serie",
187
190
  "series",
188
191
  "data",
@@ -190,48 +193,48 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
190
193
  "values",
191
194
  "num"
192
195
  ]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
193
- return i || console.error("VueUiQuickChart : Dataset is not processable"), i;
194
- }), x = L(fe.value), st = D(() => !!x.value), C = D(() => x.value ? x.value.type : null);
195
- Oe(() => C.value, (i) => {
196
- i || Ct({
196
+ return u || console.error("VueUiQuickChart : Dataset is not processable"), u;
197
+ }), x = z(fe.value), ht = M(() => !!x.value), $ = M(() => x.value ? x.value.type : null);
198
+ Ne(() => $.value, (u) => {
199
+ u || Tt({
197
200
  componentName: "VueUiQuickChart",
198
201
  type: "dataset"
199
202
  });
200
203
  }, { immediate: !0 });
201
- const { isPrinting: Se, isImaging: be, generatePdf: We, generateImage: je } = Nt({
202
- elementId: `${C.value}_${P.value}`,
203
- fileName: e.value.title || C.value
204
- }), vt = D(() => e.value.showUserOptions && !e.value.title), b = L({
204
+ const { isPrinting: be, isImaging: we, generatePdf: He, generateImage: Xe } = Bt({
205
+ elementId: `${$.value}_${P.value}`,
206
+ fileName: e.value.title || $.value
207
+ }), ft = M(() => e.value.showUserOptions && !e.value.title), b = z({
205
208
  width: e.value.width,
206
209
  height: e.value.height
207
- }), we = L({
210
+ }), Ae = z({
208
211
  showTooltip: e.value.showTooltip
209
- }), Ae = L(null);
210
- xt(() => {
211
- Ge();
212
+ }), _e = z(null);
213
+ bt(() => {
214
+ Ze();
212
215
  });
213
- function Ge() {
216
+ function Ze() {
214
217
  if (e.value.responsive) {
215
- const i = Tt(() => {
216
- const { width: s, height: t } = Rt({
218
+ const u = Ft(() => {
219
+ const { width: s, height: t } = Mt({
217
220
  chart: W.value,
218
221
  title: e.value.title ? le.value : null,
219
222
  legend: e.value.showLegend ? oe.value : null,
220
- slicer: [_.BAR, _.LINE].includes(C.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? de.value : null,
221
- source: Ue.value,
222
- noTitle: De.value
223
+ slicer: [_.BAR, _.LINE].includes($.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? de.value : null,
224
+ source: De.value,
225
+ noTitle: Ve.value
223
226
  });
224
227
  b.value.width = s, b.value.height = t;
225
228
  });
226
- Ae.value = new ResizeObserver(i), Ae.value.observe(W.value.parentNode);
229
+ _e.value = new ResizeObserver(u), _e.value.observe(W.value.parentNode);
227
230
  }
228
- Qe();
231
+ tt();
229
232
  }
230
- yt(() => {
231
- Ae.value && Ae.value.disconnect();
233
+ wt(() => {
234
+ _e.value && _e.value.disconnect();
232
235
  });
233
- const dt = D(() => {
234
- switch (C.value) {
236
+ const gt = M(() => {
237
+ switch ($.value) {
235
238
  case _.LINE:
236
239
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
237
240
  case _.BAR:
@@ -242,80 +245,80 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
242
245
  return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
243
246
  }
244
247
  });
245
- function He(i) {
246
- return [...i].map((s) => s.value).reduce((s, t) => s + t, 0);
248
+ function Ye(u) {
249
+ return [...u].map((s) => s.value).reduce((s, t) => s + t, 0);
247
250
  }
248
- function ge(i) {
249
- return e.value.blurOnHover && ![null, void 0].includes(j.value) && j.value !== i ? `url(#blur_${P.value})` : "";
251
+ function ge(u) {
252
+ return e.value.blurOnHover && ![null, void 0].includes(j.value) && j.value !== u ? `url(#blur_${P.value})` : "";
250
253
  }
251
- function Xe(i, s) {
252
- w.value.includes(i) ? w.value = w.value.filter((t) => t !== i) : w.value.length < s && w.value.push(i);
254
+ function Je(u, s) {
255
+ w.value.includes(u) ? w.value = w.value.filter((t) => t !== u) : w.value.length < s && w.value.push(u);
253
256
  }
254
- const Ze = L(null), Ye = L(null), _e = L(!1);
255
- function ct(i, s) {
256
- _e.value = !0;
257
- let t = i.value;
258
- if (w.value.includes(i.id)) {
257
+ const Qe = z(null), Ke = z(null), ze = z(!1);
258
+ function mt(u, s) {
259
+ ze.value = !0;
260
+ let t = u.value;
261
+ if (w.value.includes(u.id)) {
259
262
  let r = function() {
260
- t > n ? (_e.value = !1, cancelAnimationFrame(Ye.value), x.value = {
263
+ t > n ? (ze.value = !1, cancelAnimationFrame(Ke.value), x.value = {
261
264
  ...x.value,
262
- dataset: x.value.dataset.map((h, O) => i.id === `donut_${O}` ? {
265
+ dataset: x.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
263
266
  ...h,
264
267
  value: n,
265
268
  VALUE: n
266
269
  } : h)
267
270
  }) : (t += n * 0.025, x.value = {
268
271
  ...x.value,
269
- dataset: x.value.dataset.map((h, O) => i.id === `donut_${O}` ? {
272
+ dataset: x.value.dataset.map((h, N) => u.id === `donut_${N}` ? {
270
273
  ...h,
271
274
  value: t,
272
275
  VALUE: t
273
276
  } : h)
274
- }, Ye.value = requestAnimationFrame(r));
277
+ }, Ke.value = requestAnimationFrame(r));
275
278
  };
276
- w.value = w.value.filter((h) => h !== i.id);
277
- const n = fe.value.dataset.find((h, O) => i.id === `donut_${O}`).VALUE;
279
+ w.value = w.value.filter((h) => h !== u.id);
280
+ const n = fe.value.dataset.find((h, N) => u.id === `donut_${N}`).VALUE;
278
281
  r();
279
282
  } else if (s.length > 1) {
280
283
  let n = function() {
281
- t < 0.1 ? (_e.value = !1, cancelAnimationFrame(Ze.value), w.value.push(i.id), x.value = {
284
+ t < 0.1 ? (ze.value = !1, cancelAnimationFrame(Qe.value), w.value.push(u.id), x.value = {
282
285
  ...x.value,
283
- dataset: x.value.dataset.map((r, h) => i.id === `donut_${h}` ? {
286
+ dataset: x.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
284
287
  ...r,
285
288
  value: 0,
286
289
  VALUE: 0
287
290
  } : r)
288
291
  }) : (t /= 1.1, x.value = {
289
292
  ...x.value,
290
- dataset: x.value.dataset.map((r, h) => i.id === `donut_${h}` ? {
293
+ dataset: x.value.dataset.map((r, h) => u.id === `donut_${h}` ? {
291
294
  ...r,
292
295
  value: t,
293
296
  VALUE: t
294
297
  } : r)
295
- }, Ze.value = requestAnimationFrame(n));
298
+ }, Qe.value = requestAnimationFrame(n));
296
299
  };
297
300
  n();
298
301
  }
299
302
  }
300
- const J = L(null);
301
- function ht(i) {
302
- J.value = i;
303
+ const J = z(null);
304
+ function pt(u) {
305
+ J.value = u;
303
306
  }
304
- const Je = D(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), E = D(() => {
305
- if (C.value !== _.DONUT) return null;
306
- const i = x.value.dataset.map((o, u) => ({
307
+ const et = M(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), E = M(() => {
308
+ if ($.value !== _.DONUT) return null;
309
+ const u = x.value.dataset.map((o, i) => ({
307
310
  ...o,
308
311
  value: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
309
- name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${u}`,
310
- id: `donut_${u}`
311
- })).map((o, u) => ({
312
+ name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
313
+ id: `donut_${i}`
314
+ })).map((o, i) => ({
312
315
  ...o,
313
- color: o.COLOR ? Fe(o.COLOR) : he.value[u + e.value.paletteStartIndex] || V[u + e.value.paletteStartIndex] || V[(u + e.value.paletteStartIndex) % V.length],
316
+ color: o.COLOR ? Me(o.COLOR) : he.value[i + e.value.paletteStartIndex] || V[i + e.value.paletteStartIndex] || V[(i + e.value.paletteStartIndex) % V.length],
314
317
  immutableValue: o.value
315
318
  }));
316
- function s(o, u) {
319
+ function s(o, i) {
317
320
  return B({
318
- v: isNaN(o.value / He(u)) ? 0 : o.value / He(u) * 100,
321
+ v: isNaN(o.value / Ye(i)) ? 0 : o.value / Ye(i) * 100,
319
322
  s: "%",
320
323
  r: e.value.dataLabelRoundingPercentage
321
324
  });
@@ -323,23 +326,23 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
323
326
  function t(o) {
324
327
  return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
325
328
  }
326
- function n(o, u) {
329
+ function n(o, i) {
327
330
  const S = fe.value.dataset.find((T, F) => `donut_${F}` === o).VALUE;
328
- return Math.abs(String(Number(S.toFixed(0))).length - String(Number(u.toFixed(0))).length);
331
+ return Math.abs(String(Number(S.toFixed(0))).length - String(Number(i.toFixed(0))).length);
329
332
  }
330
- function r({ datapoint: o, seriesIndex: u }) {
331
- ce.value = { datapoint: o, seriesIndex: u, config: e.value, dataset: i }, j.value = o.id;
333
+ function r({ datapoint: o, seriesIndex: i }) {
334
+ ce.value = { datapoint: o, seriesIndex: i, config: e.value, dataset: u }, j.value = o.id;
332
335
  const S = e.value.tooltipCustomFormat;
333
- if (Ie(S) && Be(() => S({
336
+ if (Ee(S) && Be(() => S({
334
337
  datapoint: o,
335
- seriesIndex: u,
336
- series: i,
338
+ seriesIndex: i,
339
+ series: u,
337
340
  config: e.value
338
341
  })))
339
342
  K.value = S({
340
343
  datapoint: o,
341
- seriesIndex: u,
342
- series: i,
344
+ seriesIndex: i,
345
+ series: u,
343
346
  config: e.value
344
347
  });
345
348
  else {
@@ -353,7 +356,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
353
356
  s: e.value.valueSuffix,
354
357
  r: e.value.dataLabelRoundingValue
355
358
  }),
356
- { datapoint: o, seriesIndex: u }
359
+ { datapoint: o, seriesIndex: i }
357
360
  )}</b>`, y += `<span>(${B({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, K.value = `<div>${y}</div>`;
358
361
  }
359
362
  G.value = !0;
@@ -361,30 +364,30 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
361
364
  function h() {
362
365
  G.value = !1, j.value = null, J.value = null;
363
366
  }
364
- const O = {
367
+ const N = {
365
368
  centerX: b.value.width / 2,
366
369
  centerY: b.value.height / 2
367
- }, U = i.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, u) => o + u, 0), ie = i.map((o, u) => ({
370
+ }, D = u.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, i) => o + i, 0), ue = u.map((o, i) => ({
368
371
  ...o,
369
- proportion: (o.value || 0) / U,
372
+ proportion: (o.value || 0) / D,
370
373
  value: o.value || 0,
371
374
  absoluteValue: fe.value.dataset.find((S, y) => `donut_${y}` === o.id).VALUE
372
375
  })), ee = b.value.width / 2, ne = b.value.height / 2, te = b.value.height * e.value.donutRadiusRatio;
373
376
  return {
374
- dataset: ie.filter((o) => !w.value.includes(o.id)),
375
- legend: ie,
376
- drawingArea: O,
377
+ dataset: ue.filter((o) => !w.value.includes(o.id)),
378
+ legend: ue,
379
+ drawingArea: N,
377
380
  displayArcPercentage: s,
378
381
  isArcBigEnough: t,
379
382
  useTooltip: r,
380
383
  killTooltip: h,
381
384
  getSpaces: n,
382
- total: U,
385
+ total: D,
383
386
  cx: ee,
384
387
  cy: ne,
385
388
  radius: te,
386
- chart: It(
387
- { series: i.filter((o) => !w.value.includes(o.id)) },
389
+ chart: Ot(
390
+ { series: u.filter((o) => !w.value.includes(o.id)) },
388
391
  ee,
389
392
  ne,
390
393
  te,
@@ -394,73 +397,73 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
394
397
  1,
395
398
  360,
396
399
  105.25,
397
- b.value.height * Je.value
400
+ b.value.height * et.value
398
401
  )
399
402
  };
400
- }), k = L({
403
+ }), k = z({
401
404
  start: 0,
402
405
  end: x.value.maxSeriesLength
403
406
  });
404
- function ft() {
405
- Qe();
407
+ function xt() {
408
+ tt();
406
409
  }
407
- const ue = L(null);
408
- async function Qe() {
409
- (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ue.value ? (e.value.zoomStartIndex !== null && (await $e(), await $e(), ue.value && ue.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await $e(), await $e(), ue.value && ue.value.setEndValue(gt(e.value.zoomEndIndex + 1)))) : (k.value = {
410
+ const ie = z(null);
411
+ async function tt() {
412
+ (e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ie.value ? (e.value.zoomStartIndex !== null && (await $e(), await $e(), ie.value && ie.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await $e(), await $e(), ie.value && ie.value.setEndValue(yt(e.value.zoomEndIndex + 1)))) : (k.value = {
410
413
  start: 0,
411
414
  end: x.value.maxSeriesLength
412
415
  }, ke.value += 1);
413
416
  }
414
- function gt(i) {
417
+ function yt(u) {
415
418
  const s = x.value.maxSeriesLength;
416
- return i > s ? s : i < 0 || e.value.zoomStartIndex !== null && i < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : i;
419
+ return u > s ? s : u < 0 || e.value.zoomStartIndex !== null && u < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : u;
417
420
  }
418
- const mt = D(() => {
419
- if (!e.value.zoomMinimap.show || C.value === _.DONUT) return [];
420
- let i = [];
421
- Y(x.value.dataset) && (i = x.value.dataset), Pe(x.value.dataset) && (i = x.value.dataset.map((r, h) => ({
421
+ const kt = M(() => {
422
+ if (!e.value.zoomMinimap.show || $.value === _.DONUT) return [];
423
+ let u = [];
424
+ Y(x.value.dataset) && (u = x.value.dataset), Te(x.value.dataset) && (u = x.value.dataset.map((r, h) => ({
422
425
  values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
423
- id: C.value === _.LINE ? `line_${h}` : `bar_${h}`
426
+ id: $.value === _.LINE ? `line_${h}` : `bar_${h}`
424
427
  })).filter((r) => !w.value.includes(r.id)));
425
- const s = Y(i) ? i.length : Math.max(...i.map((r) => r.values.length));
428
+ const s = Y(u) ? u.length : Math.max(...u.map((r) => r.values.length));
426
429
  let t = [];
427
- if (Y(i))
428
- t = i;
430
+ if (Y(u))
431
+ t = u;
429
432
  else
430
433
  for (let r = 0; r < s; r += 1)
431
- t.push(i.map((h) => h.values[r] || 0).reduce((h, O) => (h || 0) + (O || 0), 0));
434
+ t.push(u.map((h) => h.values[r] || 0).reduce((h, N) => (h || 0) + (N || 0), 0));
432
435
  const n = Math.min(...t);
433
436
  return t.map((r) => r + (n < 0 ? Math.abs(n) : 0));
434
- }), c = D(() => {
435
- if (C.value !== _.LINE) return null;
436
- const i = {
437
+ }), c = M(() => {
438
+ if ($.value !== _.LINE) return null;
439
+ const u = {
437
440
  height: b.value.height,
438
441
  width: b.value.width
439
442
  }, s = {
440
443
  left: e.value.xyPaddingLeft,
441
444
  top: e.value.xyPaddingTop,
442
- right: i.width - e.value.xyPaddingRight,
443
- bottom: i.height - e.value.xyPaddingBottom,
444
- width: i.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
445
- height: i.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
445
+ right: u.width - e.value.xyPaddingRight,
446
+ bottom: u.height - e.value.xyPaddingBottom,
447
+ width: u.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
448
+ height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
446
449
  };
447
450
  let t = [];
448
451
  Y(x.value.dataset) && (t = [
449
452
  {
450
453
  values: x.value.dataset.slice(k.value.start, k.value.end),
451
- absoluteIndices: x.value.dataset.map((o, u) => u).slice(k.value.start, k.value.end),
454
+ absoluteIndices: x.value.dataset.map((o, i) => i).slice(k.value.start, k.value.end),
452
455
  name: e.value.title,
453
456
  color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
454
457
  id: "line_0"
455
458
  }
456
- ]), Pe(x.value.dataset) && (t = x.value.dataset.map((o, u) => ({
459
+ ]), Te(x.value.dataset) && (t = x.value.dataset.map((o, i) => ({
457
460
  ...o,
458
461
  values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
459
- name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${u}`,
460
- id: `line_${u}`
461
- })).map((o, u) => ({
462
+ name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${i}`,
463
+ id: `line_${i}`
464
+ })).map((o, i) => ({
462
465
  ...o,
463
- color: o.COLOR ? Fe(o.COLOR) : he.value[u + e.value.paletteStartIndex] || V[u + e.value.paletteStartIndex] || V[(u + e.value.paletteStartIndex) % V.length],
466
+ color: o.COLOR ? Me(o.COLOR) : he.value[i + e.value.paletteStartIndex] || V[i + e.value.paletteStartIndex] || V[(i + e.value.paletteStartIndex) % V.length],
464
467
  values: o.values.slice(k.value.start, k.value.end),
465
468
  absoluteIndices: o.values.map((S, y) => y).slice(k.value.start, k.value.end)
466
469
  })));
@@ -468,50 +471,50 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
468
471
  max: Math.max(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
469
472
  min: Math.min(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
470
473
  maxSeries: Math.max(...t.map((o) => o.values.length))
471
- }, r = tt(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 ? s.top : s.bottom - h / (r.max + h) * s.height, U = s.width / n.maxSeries, ie = r.ticks.map((o) => ({
474
+ }, r = ot(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 ? s.top : s.bottom - h / (r.max + h) * s.height, D = s.width / n.maxSeries, ue = r.ticks.map((o) => ({
472
475
  y: s.bottom - s.height * ((o + h) / (r.max + h)),
473
476
  x: s.left - 8,
474
477
  value: o
475
- })), ee = t.map((o, u) => ({
478
+ })), ee = t.map((o, i) => ({
476
479
  ...o,
477
480
  coordinates: o.values.map((S, y) => ({
478
- x: s.left + U * (y + 1) - U / 2,
481
+ x: s.left + D * (y + 1) - D / 2,
479
482
  y: s.bottom - (S + h) / (r.max + h) * s.height,
480
483
  value: S
481
484
  }))
482
485
  })).map((o) => {
483
- let u = [];
486
+ let i = [];
484
487
  return o.coordinates.forEach((S) => {
485
- u.push(`${S.x},${S.y} `);
488
+ i.push(`${S.x},${S.y} `);
486
489
  }), {
487
490
  ...o,
488
- linePath: u.join(" ")
491
+ linePath: i.join(" ")
489
492
  };
490
493
  });
491
494
  function ne(o) {
492
495
  j.value = o, J.value = o;
493
- const u = t.map((y) => ({
496
+ const i = t.map((y) => ({
494
497
  ...y,
495
498
  value: y.values[o],
496
499
  absoluteIndex: y.absoluteIndices[o]
497
500
  })).filter((y) => !w.value.includes(y.id));
498
- ce.value = { datapoint: u, seriesIndex: o, config: e.value, dataset: t };
501
+ ce.value = { datapoint: i, seriesIndex: o, config: e.value, dataset: t };
499
502
  const S = e.value.tooltipCustomFormat;
500
- if (Ie(S) && Be(() => S({
501
- datapoint: u,
503
+ if (Ee(S) && Be(() => S({
504
+ datapoint: i,
502
505
  seriesIndex: o,
503
506
  series: t,
504
507
  config: e.value
505
508
  })))
506
509
  K.value = S({
507
- datapoint: u,
510
+ datapoint: i,
508
511
  seriesIndex: o,
509
512
  series: t,
510
513
  config: e.value
511
514
  });
512
515
  else {
513
516
  let y = "";
514
- e.value.xyPeriods[u[0].absoluteIndex] && (y += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[u[0].absoluteIndex]}</div>`), u.forEach((T, F) => {
517
+ 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((T, F) => {
515
518
  y += `
516
519
  <div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
517
520
  <svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${T.color}"/></svg>
@@ -538,100 +541,100 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
538
541
  j.value = null, G.value = !1;
539
542
  }
540
543
  return {
541
- absoluteZero: O,
544
+ absoluteZero: N,
542
545
  dataset: ee.filter((o) => !w.value.includes(o.id)),
543
546
  legend: ee,
544
547
  drawingArea: s,
545
548
  extremes: n,
546
- slotSize: U,
547
- yLabels: ie,
549
+ slotSize: D,
550
+ yLabels: ue,
548
551
  useTooltip: ne,
549
552
  killTooltip: te
550
553
  };
551
- }), d = D(() => {
552
- if (C.value !== _.BAR) return null;
553
- const i = {
554
+ }), d = M(() => {
555
+ if ($.value !== _.BAR) return null;
556
+ const u = {
554
557
  height: b.value.height,
555
558
  width: b.value.width
556
559
  }, s = {
557
560
  left: e.value.xyPaddingLeft,
558
561
  top: e.value.xyPaddingTop,
559
- right: i.width - e.value.xyPaddingRight,
560
- bottom: i.height - e.value.xyPaddingBottom,
561
- width: i.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
562
- height: i.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
562
+ right: u.width - e.value.xyPaddingRight,
563
+ bottom: u.height - e.value.xyPaddingBottom,
564
+ width: u.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
565
+ height: u.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
563
566
  };
564
567
  let t = [];
565
568
  Y(x.value.dataset) && (t = [
566
569
  {
567
570
  values: x.value.dataset.slice(k.value.start, k.value.end),
568
- absoluteIndices: x.value.dataset.map((u, S) => S).slice(k.value.start, k.value.end),
571
+ absoluteIndices: x.value.dataset.map((i, S) => S).slice(k.value.start, k.value.end),
569
572
  name: e.value.title,
570
573
  color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
571
574
  id: "bar_0"
572
575
  }
573
- ]), Pe(x.value.dataset) && (t = x.value.dataset.map((u, S) => ({
574
- ...u,
575
- values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
576
- name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${S}`,
576
+ ]), Te(x.value.dataset) && (t = x.value.dataset.map((i, S) => ({
577
+ ...i,
578
+ values: i.VALUE || i.DATA || i.SERIE || i.SERIES || i.VALUES || i.NUM || 0,
579
+ name: i.NAME || i.DESCRIPTION || i.TITLE || i.LABEL || `Serie ${S}`,
577
580
  id: `bar_${S}`
578
- })).map((u, S) => ({
579
- ...u,
580
- color: u.COLOR ? Fe(u.COLOR) : he.value[S + e.value.paletteStartIndex] || V[S + e.value.paletteStartIndex] || V[(S + e.value.paletteStartIndex) % V.length],
581
- values: u.values.slice(k.value.start, k.value.end),
582
- absoluteIndices: u.values.map((y, T) => T).slice(k.value.start, k.value.end)
581
+ })).map((i, S) => ({
582
+ ...i,
583
+ color: i.COLOR ? Me(i.COLOR) : he.value[S + e.value.paletteStartIndex] || V[S + e.value.paletteStartIndex] || V[(S + e.value.paletteStartIndex) % V.length],
584
+ values: i.values.slice(k.value.start, k.value.end),
585
+ absoluteIndices: i.values.map((y, T) => T).slice(k.value.start, k.value.end)
583
586
  })));
584
587
  const n = {
585
- max: Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
586
- min: Math.min(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
587
- maxSeries: Math.max(...t.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length))
588
- }, r = tt(n.min < 0 ? n.min : 0, n.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, O = s.bottom - h / (r.max + h) * s.height, U = s.width / n.maxSeries, ie = r.ticks.map((u) => ({
589
- y: s.bottom - s.height * ((u + h) / (r.max + h)),
588
+ 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)),
589
+ min: Math.min(...t.filter((i) => !w.value.includes(i.id)).flatMap((i) => i.values)),
590
+ maxSeries: Math.max(...t.filter((i) => !w.value.includes(i.id)).map((i) => i.values.length))
591
+ }, r = ot(n.min < 0 ? n.min : 0, n.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, N = s.bottom - h / (r.max + h) * s.height, D = s.width / n.maxSeries, ue = r.ticks.map((i) => ({
592
+ y: s.bottom - s.height * ((i + h) / (r.max + h)),
590
593
  x: s.left - 8,
591
- value: u
592
- })), ee = t.map((u, S) => ({
593
- ...u,
594
- coordinates: u.values.map((y, T) => {
595
- const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / Math.abs(n.min) * (s.height - O), Re = h / (n.max + h) * s.height, pe = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
594
+ value: i
595
+ })), ee = t.map((i, S) => ({
596
+ ...i,
597
+ coordinates: i.values.map((y, T) => {
598
+ const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / Math.abs(n.min) * (s.height - N), Re = h / (n.max + h) * s.height, pe = D / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
596
599
  return {
597
- x: s.left + U * T + pe * S + e.value.barGap / 2,
598
- y: y > 0 ? s.bottom - F : O,
600
+ x: s.left + D * T + pe * S + e.value.barGap / 2,
601
+ y: y > 0 ? s.bottom - F : N,
599
602
  height: y > 0 ? F - Re : me,
600
603
  value: y,
601
604
  width: pe
602
605
  };
603
606
  })
604
- })), ne = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
605
- ...u,
606
- coordinates: u.values.map((y, T) => {
607
- const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / (n.max + h) * s.height, Re = h / (n.max + h) * s.height, pe = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
607
+ })), ne = t.filter((i) => !w.value.includes(i.id)).map((i, S) => ({
608
+ ...i,
609
+ coordinates: i.values.map((y, T) => {
610
+ const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / (n.max + h) * s.height, Re = h / (n.max + h) * s.height, pe = D / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
608
611
  return {
609
- x: s.left + U * T + pe * S + e.value.barGap / 2,
610
- y: y > 0 ? s.bottom - F : O,
612
+ x: s.left + D * T + pe * S + e.value.barGap / 2,
613
+ y: y > 0 ? s.bottom - F : N,
611
614
  height: y > 0 ? F - Re : me,
612
615
  value: y,
613
616
  width: pe
614
617
  };
615
618
  })
616
619
  }));
617
- function te(u) {
618
- j.value = u, J.value = u;
620
+ function te(i) {
621
+ j.value = i, J.value = i;
619
622
  const S = t.map((T) => ({
620
623
  ...T,
621
- value: T.values[u],
622
- absoluteIndex: T.absoluteIndices[u]
624
+ value: T.values[i],
625
+ absoluteIndex: T.absoluteIndices[i]
623
626
  })).filter((T) => !w.value.includes(T.id));
624
- ce.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
627
+ ce.value = { datapoint: S, seriesIndex: i, config: e.value, dataset: t };
625
628
  const y = e.value.tooltipCustomFormat;
626
- if (Ie(y) && Be(() => y({
629
+ if (Ee(y) && Be(() => y({
627
630
  datapoint: S,
628
- seriesIndex: u,
631
+ seriesIndex: i,
629
632
  series: t,
630
633
  config: e.value
631
634
  })))
632
635
  K.value = y({
633
636
  point: S,
634
- seriesIndex: u,
637
+ seriesIndex: i,
635
638
  series: t,
636
639
  config: e.value
637
640
  });
@@ -664,131 +667,136 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
664
667
  G.value = !1, j.value = null, J.value = null;
665
668
  }
666
669
  return {
667
- absoluteZero: O,
668
- dataset: ne.filter((u) => !w.value.includes(u.id)),
670
+ absoluteZero: N,
671
+ dataset: ne.filter((i) => !w.value.includes(i.id)),
669
672
  legend: ee,
670
673
  drawingArea: s,
671
674
  extremes: n,
672
- slotSize: U,
673
- yLabels: ie,
675
+ slotSize: D,
676
+ yLabels: ue,
674
677
  useTooltip: te,
675
678
  killTooltip: o
676
679
  };
677
- }), ze = L(!1);
678
- function pt(i) {
679
- ze.value = i, Ve.value += 1;
680
+ }), Le = z(!1);
681
+ function St(u) {
682
+ Le.value = u, qe.value += 1;
680
683
  }
681
- function Ke() {
682
- we.value.showTooltip = !we.value.showTooltip;
684
+ function at() {
685
+ Ae.value.showTooltip = !Ae.value.showTooltip;
683
686
  }
684
- const Le = L(!1);
685
- function Te() {
686
- Le.value = !Le.value;
687
+ const Ce = z(!1);
688
+ function Oe() {
689
+ Ce.value = !Ce.value;
687
690
  }
688
691
  return I({
689
- generatePdf: We,
690
- generateImage: je,
691
- toggleTooltip: Ke,
692
- toggleAnnotator: Te
693
- }), (i, s) => st.value ? (a(), l("div", {
692
+ generatePdf: He,
693
+ generateImage: Xe,
694
+ toggleTooltip: at,
695
+ toggleAnnotator: Oe
696
+ }), (u, s) => ht.value ? (a(), l("div", {
694
697
  key: 0,
695
- id: `${C.value}_${P.value}`,
698
+ id: `${$.value}_${P.value}`,
696
699
  ref_key: "quickChart",
697
700
  ref: W,
698
- class: re({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": ze.value }),
699
- style: N(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
701
+ class: re({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": Le.value }),
702
+ style: R(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
703
+ onMouseenter: s[5] || (s[5] = () => je(!0)),
704
+ onMouseleave: s[6] || (s[6] = () => je(!1))
700
705
  }, [
701
- e.value.userOptionsButtons.annotator ? (a(), Ce(Dt, {
706
+ e.value.userOptionsButtons.annotator ? (a(), Ie(jt, {
702
707
  key: 0,
703
708
  parent: W.value,
704
709
  backgroundColor: e.value.backgroundColor,
705
710
  color: e.value.color,
706
- active: Le.value,
707
- onClose: Te
711
+ active: Ce.value,
712
+ onClose: Oe
708
713
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
709
- vt.value ? (a(), l("div", {
714
+ ft.value ? (a(), l("div", {
710
715
  key: 1,
711
716
  ref_key: "noTitle",
712
- ref: De,
717
+ ref: Ve,
713
718
  class: "vue-data-ui-no-title-space",
714
719
  style: "height:36px; width: 100%;background:transparent"
715
720
  }, null, 512)) : f("", !0),
716
- e.value.showUserOptions ? (a(), Ce(Ft, {
721
+ e.value.showUserOptions && (We.value || Se.value) ? (a(), Ie(Dt, {
717
722
  ref: "details",
718
- key: `user_option_${Ve.value}`,
723
+ key: `user_option_${qe.value}`,
719
724
  backgroundColor: e.value.backgroundColor,
720
725
  color: e.value.color,
721
- isPrinting: g(Se),
722
- isImaging: g(be),
726
+ isPrinting: g(be),
727
+ isImaging: g(we),
723
728
  uid: P.value,
724
729
  hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
725
730
  hasPdf: e.value.userOptionsButtons.pdf,
726
731
  hasImg: e.value.userOptionsButtons.img,
727
732
  hasFullscreen: e.value.userOptionsButtons.fullscreen,
728
733
  hasXls: !1,
729
- isTooltip: we.value.showTooltip,
730
- isFullscreen: ze.value,
734
+ isTooltip: Ae.value.showTooltip,
735
+ isFullscreen: Le.value,
731
736
  titles: { ...e.value.userOptionsButtonTitles },
732
737
  chartElement: W.value,
733
738
  position: e.value.userOptionsPosition,
734
739
  hasAnnotator: e.value.userOptionsButtons.annotator,
735
- isAnnotation: Le.value,
736
- onToggleFullscreen: pt,
737
- onGeneratePdf: g(We),
738
- onGenerateImage: g(je),
739
- onToggleTooltip: Ke,
740
- onToggleAnnotator: Te
741
- }, kt({ _: 2 }, [
742
- i.$slots.optionTooltip ? {
740
+ isAnnotation: Ce.value,
741
+ onToggleFullscreen: St,
742
+ onGeneratePdf: g(He),
743
+ onGenerateImage: g(Xe),
744
+ onToggleTooltip: at,
745
+ onToggleAnnotator: Oe,
746
+ style: R({
747
+ visibility: We.value ? Se.value ? "visible" : "hidden" : "visible"
748
+ })
749
+ }, At({ _: 2 }, [
750
+ u.$slots.optionTooltip ? {
743
751
  name: "optionTooltip",
744
752
  fn: Q(() => [
745
- M(i.$slots, "optionTooltip", {}, void 0, !0)
753
+ U(u.$slots, "optionTooltip", {}, void 0, !0)
746
754
  ]),
747
755
  key: "0"
748
756
  } : void 0,
749
- i.$slots.optionPdf ? {
757
+ u.$slots.optionPdf ? {
750
758
  name: "optionPdf",
751
759
  fn: Q(() => [
752
- M(i.$slots, "optionPdf", {}, void 0, !0)
760
+ U(u.$slots, "optionPdf", {}, void 0, !0)
753
761
  ]),
754
762
  key: "1"
755
763
  } : void 0,
756
- i.$slots.optionImg ? {
764
+ u.$slots.optionImg ? {
757
765
  name: "optionImg",
758
766
  fn: Q(() => [
759
- M(i.$slots, "optionImg", {}, void 0, !0)
767
+ U(u.$slots, "optionImg", {}, void 0, !0)
760
768
  ]),
761
769
  key: "2"
762
770
  } : void 0,
763
- i.$slots.optionFullscreen ? {
771
+ u.$slots.optionFullscreen ? {
764
772
  name: "optionFullscreen",
765
773
  fn: Q(({ toggleFullscreen: t, isFullscreen: n }) => [
766
- M(i.$slots, "optionFullscreen", H(se({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
774
+ U(u.$slots, "optionFullscreen", H(se({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
767
775
  ]),
768
776
  key: "3"
769
777
  } : void 0,
770
- i.$slots.optionAnnotator ? {
778
+ u.$slots.optionAnnotator ? {
771
779
  name: "optionAnnotator",
772
780
  fn: Q(({ toggleAnnotator: t, isAnnotator: n }) => [
773
- M(i.$slots, "optionAnnotator", H(se({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
781
+ U(u.$slots, "optionAnnotator", H(se({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
774
782
  ]),
775
783
  key: "4"
776
784
  } : void 0
777
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : f("", !0),
785
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasFullscreen", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
778
786
  e.value.title ? (a(), l("div", {
779
787
  key: 3,
780
788
  ref_key: "quickChartTitle",
781
789
  ref: le,
782
790
  class: "vue-ui-quick-chart-title",
783
- 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}`)
784
- }, R(e.value.title), 5)) : f("", !0),
785
- C.value ? (a(), l("svg", {
791
+ style: R(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
792
+ }, O(e.value.title), 5)) : f("", !0),
793
+ $.value ? (a(), l("svg", {
786
794
  key: 4,
787
- xmlns: g(Et),
788
- viewBox: dt.value,
789
- style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
795
+ xmlns: g(Rt),
796
+ viewBox: gt.value,
797
+ style: R(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
790
798
  }, [
791
- ve(Ut),
799
+ ve(Wt),
792
800
  A("defs", null, [
793
801
  A("filter", {
794
802
  id: `blur_${P.value}`,
@@ -801,9 +809,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
801
809
  in: "SourceGraphic",
802
810
  stdDeviation: 2,
803
811
  id: `blur_std_${P.value}`
804
- }, null, 8, Qt),
805
- Kt
806
- ], 8, Jt),
812
+ }, null, 8, aa),
813
+ la
814
+ ], 8, ta),
807
815
  A("filter", {
808
816
  id: `shadow_${P.value}`,
809
817
  "color-interpolation-filters": "sRGB"
@@ -814,22 +822,22 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
814
822
  stdDeviation: "10",
815
823
  "flood-opacity": "0.5",
816
824
  "flood-color": e.value.donutShadowColor
817
- }, null, 8, ta)
818
- ], 8, ea)
825
+ }, null, 8, ia)
826
+ ], 8, oa)
819
827
  ]),
820
- C.value === _.DONUT ? (a(), l(p, { key: 0 }, [
821
- e.value.showDataLabels ? (a(), l("g", aa, [
822
- (a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l(p, null, [
828
+ $.value === _.DONUT ? (a(), l(p, { key: 0 }, [
829
+ e.value.showDataLabels ? (a(), l("g", ua, [
830
+ (a(!0), l(p, null, L(E.value.chart, (t, n) => (a(), l(p, null, [
823
831
  E.value.isArcBigEnough(t) ? (a(), l("path", {
824
832
  key: 0,
825
- d: g(Pt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * Je.value),
833
+ d: g(Nt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * et.value),
826
834
  stroke: t.color,
827
835
  "stroke-width": e.value.donutLabelMarkerStrokeWidth,
828
836
  "stroke-linecap": "round",
829
837
  "stroke-linejoin": "round",
830
838
  fill: "none",
831
839
  filter: ge(t.id)
832
- }, null, 8, la)) : f("", !0)
840
+ }, null, 8, na)) : f("", !0)
833
841
  ], 64))), 256))
834
842
  ])) : f("", !0),
835
843
  A("circle", {
@@ -838,44 +846,44 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
838
846
  r: E.value.radius,
839
847
  fill: e.value.backgroundColor,
840
848
  filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
841
- }, null, 8, oa),
842
- A("g", ua, [
843
- (a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l("path", {
849
+ }, null, 8, ra),
850
+ A("g", sa, [
851
+ (a(!0), l(p, null, L(E.value.chart, (t, n) => (a(), l("path", {
844
852
  d: t.arcSlice,
845
853
  fill: t.color,
846
854
  stroke: e.value.backgroundColor,
847
855
  "stroke-width": e.value.donutStrokeWidth,
848
856
  filter: ge(t.id)
849
- }, null, 8, ia))), 256)),
850
- (a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l("path", {
857
+ }, null, 8, va))), 256)),
858
+ (a(!0), l(p, null, L(E.value.chart, (t, n) => (a(), l("path", {
851
859
  d: t.arcSlice,
852
860
  fill: "transparent",
853
861
  onMouseenter: (r) => E.value.useTooltip({ datapoint: t, seriesIndex: n }),
854
862
  onMouseout: s[0] || (s[0] = (r) => E.value.killTooltip()),
855
863
  onClick: (r) => m("selectDatapoint", t)
856
- }, null, 40, na))), 256))
864
+ }, null, 40, da))), 256))
857
865
  ]),
858
- e.value.showDataLabels ? (a(), l("g", ra, [
859
- (a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l(p, null, [
866
+ e.value.showDataLabels ? (a(), l("g", ca, [
867
+ (a(!0), l(p, null, L(E.value.chart, (t, n) => (a(), l(p, null, [
860
868
  E.value.isArcBigEnough(t) ? (a(), l("circle", {
861
869
  key: 0,
862
870
  cx: g(xe)(t).x,
863
- cy: g(Me)(t) - 3.7,
871
+ cy: g(Ue)(t) - 3.7,
864
872
  fill: t.color,
865
873
  stroke: e.value.backgroundColor,
866
874
  "stroke-width": 1,
867
875
  r: 3,
868
876
  filter: ge(t.id)
869
- }, null, 8, sa)) : f("", !0),
877
+ }, null, 8, ha)) : f("", !0),
870
878
  E.value.isArcBigEnough(t) ? (a(), l("text", {
871
879
  key: 1,
872
880
  "text-anchor": g(xe)(t, !0, 20).anchor,
873
881
  x: g(xe)(t, !0).x,
874
- y: g(Me)(t),
882
+ y: g(Ue)(t),
875
883
  fill: e.value.color,
876
884
  "font-size": e.value.dataLabelFontSize,
877
885
  filter: ge(t.id)
878
- }, R(E.value.displayArcPercentage(t, E.value.chart)) + " (" + R(g(X)(
886
+ }, O(E.value.displayArcPercentage(t, E.value.chart)) + " (" + O(g(X)(
879
887
  e.value.formatter,
880
888
  t.value,
881
889
  g(B)({
@@ -885,43 +893,43 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
885
893
  r: e.value.dataLabelRoundingValue
886
894
  }),
887
895
  { datapoint: t, seriesIndex: n }
888
- )) + ") ", 9, va)) : f("", !0),
896
+ )) + ") ", 9, fa)) : f("", !0),
889
897
  E.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
890
898
  key: 2,
891
899
  "text-anchor": g(xe)(t).anchor,
892
900
  x: g(xe)(t, !0).x,
893
- y: g(Me)(t) + e.value.dataLabelFontSize,
901
+ y: g(Ue)(t) + e.value.dataLabelFontSize,
894
902
  fill: e.value.color,
895
903
  "font-size": e.value.dataLabelFontSize,
896
904
  filter: ge(t.id)
897
- }, R(t.name), 9, da)) : f("", !0)
905
+ }, O(t.name), 9, ga)) : f("", !0)
898
906
  ], 64))), 256))
899
907
  ])) : f("", !0),
900
- e.value.donutShowTotal ? (a(), l("g", ca, [
908
+ e.value.donutShowTotal ? (a(), l("g", ma, [
901
909
  A("text", {
902
910
  "text-anchor": "middle",
903
911
  x: E.value.drawingArea.centerX,
904
912
  y: E.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
905
913
  "font-size": e.value.donutTotalLabelFontSize,
906
914
  fill: e.value.color
907
- }, R(e.value.donutTotalLabelText), 9, ha),
915
+ }, O(e.value.donutTotalLabelText), 9, pa),
908
916
  A("text", {
909
917
  "text-anchor": "middle",
910
918
  x: E.value.drawingArea.centerX,
911
919
  y: E.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
912
920
  "font-size": e.value.donutTotalLabelFontSize,
913
921
  fill: e.value.color
914
- }, R(g(B)({
922
+ }, O(g(B)({
915
923
  p: e.value.valuePrefix,
916
924
  v: E.value.total,
917
925
  s: e.value.valueSuffix,
918
926
  r: e.value.dataLabelRoundingValue
919
- })), 9, fa)
927
+ })), 9, xa)
920
928
  ])) : f("", !0)
921
929
  ], 64)) : f("", !0),
922
- C.value === _.LINE ? (a(), l(p, { key: 1 }, [
923
- e.value.xyShowGrid ? (a(), l("g", ga, [
924
- (a(!0), l(p, null, z(c.value.yLabels, (t) => (a(), l(p, null, [
930
+ $.value === _.LINE ? (a(), l(p, { key: 1 }, [
931
+ e.value.xyShowGrid ? (a(), l("g", ya, [
932
+ (a(!0), l(p, null, L(c.value.yLabels, (t) => (a(), l(p, null, [
925
933
  t.y <= c.value.drawingArea.bottom ? (a(), l("line", {
926
934
  key: 0,
927
935
  x1: c.value.drawingArea.left,
@@ -931,9 +939,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
931
939
  stroke: e.value.xyGridStroke,
932
940
  "stroke-width": e.value.xyGridStrokeWidth,
933
941
  "stroke-linecap": "round"
934
- }, null, 8, ma)) : f("", !0)
942
+ }, null, 8, ka)) : f("", !0)
935
943
  ], 64))), 256)),
936
- (a(!0), l(p, null, z(c.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
944
+ (a(!0), l(p, null, L(c.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
937
945
  x1: c.value.drawingArea.left + c.value.slotSize * n,
938
946
  x2: c.value.drawingArea.left + c.value.slotSize * n,
939
947
  y1: c.value.drawingArea.top,
@@ -941,9 +949,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
941
949
  stroke: e.value.xyGridStroke,
942
950
  "stroke-width": e.value.xyGridStrokeWidth,
943
951
  "stroke-linecap": "round"
944
- }, null, 8, pa))), 256))
952
+ }, null, 8, Sa))), 256))
945
953
  ])) : f("", !0),
946
- e.value.xyShowAxis ? (a(), l("g", xa, [
954
+ e.value.xyShowAxis ? (a(), l("g", ba, [
947
955
  A("line", {
948
956
  x1: c.value.drawingArea.left,
949
957
  x2: c.value.drawingArea.left,
@@ -952,7 +960,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
952
960
  stroke: e.value.xyAxisStroke,
953
961
  "stroke-width": e.value.xyAxisStrokeWidth,
954
962
  "stroke-linecap": "round"
955
- }, null, 8, ya),
963
+ }, null, 8, wa),
956
964
  A("line", {
957
965
  x1: c.value.drawingArea.left,
958
966
  x2: c.value.drawingArea.right,
@@ -961,10 +969,10 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
961
969
  stroke: e.value.xyAxisStroke,
962
970
  "stroke-width": e.value.xyAxisStrokeWidth,
963
971
  "stroke-linecap": "round"
964
- }, null, 8, ka)
972
+ }, null, 8, Aa)
965
973
  ])) : f("", !0),
966
- e.value.xyShowScale ? (a(), l("g", Sa, [
967
- (a(!0), l(p, null, z(c.value.yLabels, (t, n) => (a(), l(p, null, [
974
+ e.value.xyShowScale ? (a(), l("g", _a, [
975
+ (a(!0), l(p, null, L(c.value.yLabels, (t, n) => (a(), l(p, null, [
968
976
  t.y <= c.value.drawingArea.bottom ? (a(), l("line", {
969
977
  key: 0,
970
978
  x1: t.x + 4,
@@ -974,7 +982,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
974
982
  stroke: e.value.xyAxisStroke,
975
983
  "stroke-width": e.value.xyAxisStrokeWidth,
976
984
  "stroke-linecap": "round"
977
- }, null, 8, ba)) : f("", !0),
985
+ }, null, 8, za)) : f("", !0),
978
986
  t.y <= c.value.drawingArea.bottom ? (a(), l("text", {
979
987
  key: 1,
980
988
  x: t.x,
@@ -982,7 +990,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
982
990
  "text-anchor": "end",
983
991
  "font-size": e.value.xyLabelsYFontSize,
984
992
  fill: e.value.color
985
- }, R(g(X)(
993
+ }, O(g(X)(
986
994
  e.value.formatter,
987
995
  t.value,
988
996
  g(B)({
@@ -992,11 +1000,11 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
992
1000
  r: e.value.dataLabelRoundingValue
993
1001
  }),
994
1002
  { datapoint: t, seriesIndex: n }
995
- )), 9, wa)) : f("", !0)
1003
+ )), 9, La)) : f("", !0)
996
1004
  ], 64))), 256))
997
1005
  ])) : f("", !0),
998
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Aa, [
999
- (a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1006
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ca, [
1007
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1000
1008
  x1: c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2,
1001
1009
  x2: c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2,
1002
1010
  y1: c.value.drawingArea.bottom,
@@ -1004,35 +1012,35 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1004
1012
  stroke: e.value.xyAxisStroke,
1005
1013
  "stroke-width": e.value.xyAxisStrokeWidth,
1006
1014
  "stroke-linecap": "round"
1007
- }, null, 8, _a))), 256)),
1008
- (a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1015
+ }, null, 8, $a))), 256)),
1016
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1009
1017
  "font-size": e.value.xyLabelsXFontSize,
1010
1018
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1011
1019
  fill: e.value.color,
1012
1020
  transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
1013
- }, R(t), 9, za))), 256))
1021
+ }, O(t), 9, Ia))), 256))
1014
1022
  ])) : f("", !0),
1015
- A("g", La, [
1016
- (a(!0), l(p, null, z(c.value.dataset, (t, n) => (a(), l("g", $a, [
1023
+ A("g", Ea, [
1024
+ (a(!0), l(p, null, L(c.value.dataset, (t, n) => (a(), l("g", Pa, [
1017
1025
  e.value.lineSmooth ? (a(), l(p, { key: 0 }, [
1018
1026
  A("path", {
1019
- d: `M ${g(at)(t.coordinates)}`,
1027
+ d: `M ${g(it)(t.coordinates)}`,
1020
1028
  stroke: e.value.backgroundColor,
1021
1029
  "stroke-width": e.value.lineStrokeWidth + 1,
1022
1030
  "stroke-linecap": "round",
1023
1031
  fill: "none",
1024
1032
  class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1025
1033
  style: { transition: "all 0.3s ease-in-out" }
1026
- }, null, 10, Ca),
1034
+ }, null, 10, Ta),
1027
1035
  A("path", {
1028
- d: `M ${g(at)(t.coordinates)}`,
1036
+ d: `M ${g(it)(t.coordinates)}`,
1029
1037
  stroke: t.color,
1030
1038
  "stroke-width": e.value.lineStrokeWidth,
1031
1039
  "stroke-linecap": "round",
1032
1040
  fill: "none",
1033
1041
  class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1034
1042
  style: { transition: "all 0.3s ease-in-out" }
1035
- }, null, 10, Ia)
1043
+ }, null, 10, Oa)
1036
1044
  ], 64)) : (a(), l(p, { key: 1 }, [
1037
1045
  A("path", {
1038
1046
  d: `M ${t.linePath}`,
@@ -1042,7 +1050,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1042
1050
  fill: "none",
1043
1051
  class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1044
1052
  style: { transition: "all 0.3s ease-in-out" }
1045
- }, null, 10, Ea),
1053
+ }, null, 10, Ra),
1046
1054
  A("path", {
1047
1055
  d: `M ${t.linePath}`,
1048
1056
  stroke: t.color,
@@ -1051,9 +1059,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1051
1059
  fill: "none",
1052
1060
  class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
1053
1061
  style: { transition: "all 0.3s ease-in-out" }
1054
- }, null, 10, Pa)
1062
+ }, null, 10, Na)
1055
1063
  ], 64)),
1056
- (a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("circle", {
1064
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("circle", {
1057
1065
  cx: r.x,
1058
1066
  cy: g(Z)(r.y),
1059
1067
  r: 3,
@@ -1062,12 +1070,12 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1062
1070
  "stroke-width": "0.5",
1063
1071
  class: "quick-animation",
1064
1072
  style: { transition: "all 0.3s ease-in-out" }
1065
- }, null, 8, Ta))), 256))
1073
+ }, null, 8, Fa))), 256))
1066
1074
  ]))), 256))
1067
1075
  ]),
1068
- e.value.showDataLabels ? (a(), l("g", Ra, [
1069
- (a(!0), l(p, null, z(c.value.dataset, (t, n) => (a(), l(p, null, [
1070
- (a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("text", {
1076
+ e.value.showDataLabels ? (a(), l("g", Ma, [
1077
+ (a(!0), l(p, null, L(c.value.dataset, (t, n) => (a(), l(p, null, [
1078
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("text", {
1071
1079
  "text-anchor": "middle",
1072
1080
  "font-size": e.value.dataLabelFontSize,
1073
1081
  fill: t.color,
@@ -1075,7 +1083,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1075
1083
  y: g(Z)(r.y) - e.value.dataLabelFontSize / 2,
1076
1084
  class: "quick-animation",
1077
1085
  style: { transition: "all 0.3s ease-in-out" }
1078
- }, R(g(X)(
1086
+ }, O(g(X)(
1079
1087
  e.value.formatter,
1080
1088
  g(Z)(r.value),
1081
1089
  g(B)({
@@ -1085,29 +1093,29 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1085
1093
  r: e.value.dataLabelRoundingValue
1086
1094
  }),
1087
1095
  { datapoint: r, seriesIndex: h }
1088
- )), 9, Oa))), 256))
1096
+ )), 9, Ua))), 256))
1089
1097
  ], 64))), 256))
1090
1098
  ])) : f("", !0),
1091
- A("g", Na, [
1092
- (a(!0), l(p, null, z(c.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1099
+ A("g", Ba, [
1100
+ (a(!0), l(p, null, L(c.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1093
1101
  x: c.value.drawingArea.left + n * c.value.slotSize,
1094
1102
  y: c.value.drawingArea.top,
1095
1103
  height: c.value.drawingArea.height <= 0 ? 1e-5 : c.value.drawingArea.height,
1096
1104
  width: c.value.slotSize <= 0 ? 1e-5 : c.value.slotSize,
1097
1105
  fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1098
- style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1106
+ style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1099
1107
  onMouseenter: (r) => c.value.useTooltip(n),
1100
1108
  onMouseleave: s[1] || (s[1] = (r) => c.value.killTooltip()),
1101
1109
  onClick: (r) => m("selectDatapoint", c.value.dataset.map((h) => ({
1102
1110
  ...h,
1103
1111
  value: h.values[n]
1104
1112
  })))
1105
- }, null, 44, Fa))), 256))
1113
+ }, null, 44, Da))), 256))
1106
1114
  ])
1107
1115
  ], 64)) : f("", !0),
1108
- C.value === _.BAR ? (a(), l(p, { key: 2 }, [
1109
- e.value.xyShowGrid ? (a(), l("g", Ma, [
1110
- (a(!0), l(p, null, z(d.value.yLabels, (t) => (a(), l(p, null, [
1116
+ $.value === _.BAR ? (a(), l(p, { key: 2 }, [
1117
+ e.value.xyShowGrid ? (a(), l("g", Va, [
1118
+ (a(!0), l(p, null, L(d.value.yLabels, (t) => (a(), l(p, null, [
1111
1119
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1112
1120
  key: 0,
1113
1121
  x1: d.value.drawingArea.left,
@@ -1117,9 +1125,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1117
1125
  stroke: e.value.xyGridStroke,
1118
1126
  "stroke-width": e.value.xyGridStrokeWidth,
1119
1127
  "stroke-linecap": "round"
1120
- }, null, 8, Ba)) : f("", !0)
1128
+ }, null, 8, qa)) : f("", !0)
1121
1129
  ], 64))), 256)),
1122
- (a(!0), l(p, null, z(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
1130
+ (a(!0), l(p, null, L(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
1123
1131
  x1: d.value.drawingArea.left + d.value.slotSize * n,
1124
1132
  x2: d.value.drawingArea.left + d.value.slotSize * n,
1125
1133
  y1: d.value.drawingArea.top,
@@ -1127,9 +1135,9 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1127
1135
  stroke: e.value.xyGridStroke,
1128
1136
  "stroke-width": e.value.xyGridStrokeWidth,
1129
1137
  "stroke-linecap": "round"
1130
- }, null, 8, Ua))), 256))
1138
+ }, null, 8, Wa))), 256))
1131
1139
  ])) : f("", !0),
1132
- e.value.xyShowAxis ? (a(), l("g", Da, [
1140
+ e.value.xyShowAxis ? (a(), l("g", ja, [
1133
1141
  A("line", {
1134
1142
  x1: d.value.drawingArea.left,
1135
1143
  x2: d.value.drawingArea.left,
@@ -1138,7 +1146,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1138
1146
  stroke: e.value.xyAxisStroke,
1139
1147
  "stroke-width": e.value.xyAxisStrokeWidth,
1140
1148
  "stroke-linecap": "round"
1141
- }, null, 8, Va),
1149
+ }, null, 8, Ga),
1142
1150
  A("line", {
1143
1151
  x1: d.value.drawingArea.left,
1144
1152
  x2: d.value.drawingArea.right,
@@ -1147,10 +1155,10 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1147
1155
  stroke: e.value.xyAxisStroke,
1148
1156
  "stroke-width": e.value.xyAxisStrokeWidth,
1149
1157
  "stroke-linecap": "round"
1150
- }, null, 8, qa)
1158
+ }, null, 8, Ha)
1151
1159
  ])) : f("", !0),
1152
- e.value.xyShowScale ? (a(), l("g", Wa, [
1153
- (a(!0), l(p, null, z(d.value.yLabels, (t, n) => (a(), l(p, null, [
1160
+ e.value.xyShowScale ? (a(), l("g", Xa, [
1161
+ (a(!0), l(p, null, L(d.value.yLabels, (t, n) => (a(), l(p, null, [
1154
1162
  t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
1155
1163
  key: 0,
1156
1164
  x1: t.x + 4,
@@ -1160,7 +1168,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1160
1168
  stroke: e.value.xyAxisStroke,
1161
1169
  "stroke-width": e.value.xyAxisStrokeWidth,
1162
1170
  "stroke-linecap": "round"
1163
- }, null, 8, ja)) : f("", !0),
1171
+ }, null, 8, Za)) : f("", !0),
1164
1172
  t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
1165
1173
  key: 1,
1166
1174
  x: t.x,
@@ -1168,7 +1176,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1168
1176
  "text-anchor": "end",
1169
1177
  "font-size": e.value.xyLabelsYFontSize,
1170
1178
  fill: e.value.color
1171
- }, R(g(X)(
1179
+ }, O(g(X)(
1172
1180
  e.value.formatter,
1173
1181
  t.value,
1174
1182
  g(B)({
@@ -1178,11 +1186,11 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1178
1186
  r: e.value.dataLabelRoundingValue
1179
1187
  }),
1180
1188
  { datapoint: t, seriesIndex: n }
1181
- )), 9, Ga)) : f("", !0)
1189
+ )), 9, Ya)) : f("", !0)
1182
1190
  ], 64))), 256))
1183
1191
  ])) : f("", !0),
1184
- e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ha, [
1185
- (a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1192
+ e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ja, [
1193
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
1186
1194
  x1: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
1187
1195
  x2: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
1188
1196
  y1: d.value.drawingArea.bottom,
@@ -1190,17 +1198,17 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1190
1198
  stroke: e.value.xyAxisStroke,
1191
1199
  "stroke-width": e.value.xyAxisStrokeWidth,
1192
1200
  "stroke-linecap": "round"
1193
- }, null, 8, Xa))), 256)),
1194
- (a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1201
+ }, null, 8, Qa))), 256)),
1202
+ (a(!0), l(p, null, L(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
1195
1203
  "font-size": e.value.xyLabelsXFontSize,
1196
1204
  "text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
1197
1205
  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})`,
1198
1206
  fill: e.value.color
1199
- }, R(t), 9, Za))), 256))
1207
+ }, O(t), 9, Ka))), 256))
1200
1208
  ])) : f("", !0),
1201
- A("g", Ya, [
1202
- (a(!0), l(p, null, z(d.value.dataset, (t, n) => (a(), l(p, null, [
1203
- (a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("rect", {
1209
+ A("g", el, [
1210
+ (a(!0), l(p, null, L(d.value.dataset, (t, n) => (a(), l(p, null, [
1211
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("rect", {
1204
1212
  x: r.x,
1205
1213
  width: r.width <= 0 ? 1e-5 : r.width,
1206
1214
  height: g(Z)(r.height <= 0 ? 1e-5 : r.height),
@@ -1211,33 +1219,33 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1211
1219
  "stroke-linecap": "round",
1212
1220
  class: re({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
1213
1221
  }, [
1214
- e.value.barAnimated && r.value > 0 && !g(Se) && !g(be) ? (a(), l("animate", {
1222
+ e.value.barAnimated && r.value > 0 && !g(be) && !g(we) ? (a(), l("animate", {
1215
1223
  key: 0,
1216
1224
  attributeName: "height",
1217
1225
  from: 0,
1218
1226
  to: r.height,
1219
1227
  dur: "0.5s"
1220
- }, null, 8, Qa)) : f("", !0),
1221
- e.value.barAnimated && r.value > 0 && !g(Se) && !g(be) ? (a(), l("animate", {
1228
+ }, null, 8, al)) : f("", !0),
1229
+ e.value.barAnimated && r.value > 0 && !g(be) && !g(we) ? (a(), l("animate", {
1222
1230
  key: 1,
1223
1231
  attributeName: "y",
1224
1232
  from: d.value.absoluteZero,
1225
1233
  to: d.value.absoluteZero - r.height,
1226
1234
  dur: "0.5s"
1227
- }, null, 8, Ka)) : f("", !0)
1228
- ], 10, Ja))), 256))
1235
+ }, null, 8, ll)) : f("", !0)
1236
+ ], 10, tl))), 256))
1229
1237
  ], 64))), 256))
1230
1238
  ]),
1231
- e.value.showDataLabels ? (a(), l("g", el, [
1232
- (a(!0), l(p, null, z(d.value.dataset, (t, n) => (a(), l(p, null, [
1233
- (a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("text", {
1239
+ e.value.showDataLabels ? (a(), l("g", ol, [
1240
+ (a(!0), l(p, null, L(d.value.dataset, (t, n) => (a(), l(p, null, [
1241
+ (a(!0), l(p, null, L(t.coordinates, (r, h) => (a(), l("text", {
1234
1242
  x: r.x + r.width / 2,
1235
1243
  y: g(Z)(r.y) - e.value.dataLabelFontSize / 2,
1236
1244
  "text-anchor": "middle",
1237
1245
  "font-size": e.value.dataLabelFontSize,
1238
1246
  fill: t.color,
1239
1247
  class: "quick-animation"
1240
- }, R(g(X)(
1248
+ }, O(g(X)(
1241
1249
  e.value.formatter,
1242
1250
  g(Z)(r.value),
1243
1251
  g(B)({
@@ -1247,64 +1255,64 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1247
1255
  r: e.value.dataLabelRoundingValue
1248
1256
  }),
1249
1257
  { datapoint: r, seriesIndex: h }
1250
- )), 9, tl))), 256))
1258
+ )), 9, il))), 256))
1251
1259
  ], 64))), 256))
1252
1260
  ])) : f("", !0),
1253
- A("g", al, [
1254
- (a(!0), l(p, null, z(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1261
+ A("g", ul, [
1262
+ (a(!0), l(p, null, L(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
1255
1263
  x: d.value.drawingArea.left + n * d.value.slotSize,
1256
1264
  y: d.value.drawingArea.top,
1257
1265
  height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
1258
1266
  width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
1259
1267
  fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
1260
- style: N(`opacity:${e.value.xyHighlighterOpacity}`),
1268
+ style: R(`opacity:${e.value.xyHighlighterOpacity}`),
1261
1269
  onMouseenter: (r) => d.value.useTooltip(n),
1262
1270
  onMouseleave: s[2] || (s[2] = (r) => d.value.killTooltip()),
1263
1271
  onClick: (r) => m("selectDatapoint", d.value.dataset.map((h) => ({
1264
1272
  ...h,
1265
1273
  value: h.values[n]
1266
1274
  })))
1267
- }, null, 44, ll))), 256))
1275
+ }, null, 44, nl))), 256))
1268
1276
  ])
1269
1277
  ], 64)) : f("", !0),
1270
- [_.LINE, _.BAR].includes(C.value) ? (a(), l("g", ol, [
1271
- e.value.xAxisLabel && C.value === _.LINE ? (a(), l("g", ul, [
1278
+ [_.LINE, _.BAR].includes($.value) ? (a(), l("g", rl, [
1279
+ e.value.xAxisLabel && $.value === _.LINE ? (a(), l("g", sl, [
1272
1280
  A("text", {
1273
1281
  "font-size": e.value.axisLabelsFontSize,
1274
1282
  fill: e.value.color,
1275
1283
  "text-anchor": "middle",
1276
1284
  x: c.value.drawingArea.left + c.value.drawingArea.width / 2,
1277
1285
  y: b.value.height - e.value.axisLabelsFontSize / 3
1278
- }, R(e.value.xAxisLabel), 9, il)
1286
+ }, O(e.value.xAxisLabel), 9, vl)
1279
1287
  ])) : f("", !0),
1280
- e.value.xAxisLabel && C.value === _.BAR ? (a(), l("g", nl, [
1288
+ e.value.xAxisLabel && $.value === _.BAR ? (a(), l("g", dl, [
1281
1289
  A("text", {
1282
1290
  "font-size": e.value.axisLabelsFontSize,
1283
1291
  fill: e.value.color,
1284
1292
  "text-anchor": "middle",
1285
1293
  x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
1286
1294
  y: b.value.height - e.value.axisLabelsFontSize / 3
1287
- }, R(e.value.xAxisLabel), 9, rl)
1295
+ }, O(e.value.xAxisLabel), 9, cl)
1288
1296
  ])) : f("", !0),
1289
- e.value.yAxisLabel && C.value === _.LINE ? (a(), l("g", sl, [
1297
+ e.value.yAxisLabel && $.value === _.LINE ? (a(), l("g", hl, [
1290
1298
  A("text", {
1291
1299
  "font-size": e.value.axisLabelsFontSize,
1292
1300
  fill: e.value.color,
1293
1301
  transform: `translate(${e.value.axisLabelsFontSize}, ${c.value.drawingArea.top + c.value.drawingArea.height / 2}) rotate(-90)`,
1294
1302
  "text-anchor": "middle"
1295
- }, R(e.value.yAxisLabel), 9, vl)
1303
+ }, O(e.value.yAxisLabel), 9, fl)
1296
1304
  ])) : f("", !0),
1297
- e.value.yAxisLabel && C.value === _.BAR ? (a(), l("g", dl, [
1305
+ e.value.yAxisLabel && $.value === _.BAR ? (a(), l("g", gl, [
1298
1306
  A("text", {
1299
1307
  "font-size": e.value.axisLabelsFontSize,
1300
1308
  fill: e.value.color,
1301
1309
  transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
1302
1310
  "text-anchor": "middle"
1303
- }, R(e.value.yAxisLabel), 9, cl)
1311
+ }, O(e.value.yAxisLabel), 9, ml)
1304
1312
  ])) : f("", !0)
1305
1313
  ])) : f("", !0)
1306
- ], 12, Yt)) : f("", !0),
1307
- C.value ? f("", !0) : (a(), Ce(Bt, {
1314
+ ], 12, ea)) : f("", !0),
1315
+ $.value ? f("", !0) : (a(), Ie(qt, {
1308
1316
  key: 5,
1309
1317
  config: {
1310
1318
  type: "line",
@@ -1322,17 +1330,17 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1322
1330
  }
1323
1331
  }
1324
1332
  }, null, 8, ["config"])),
1325
- i.$slots.watermark ? (a(), l("div", hl, [
1326
- M(i.$slots, "watermark", H(se({ isPrinting: g(Se) || g(be) })), void 0, !0)
1333
+ u.$slots.watermark ? (a(), l("div", pl, [
1334
+ U(u.$slots, "watermark", H(se({ isPrinting: g(be) || g(we) })), void 0, !0)
1327
1335
  ])) : f("", !0),
1328
- [_.BAR, _.LINE].includes(C.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
1336
+ [_.BAR, _.LINE].includes($.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
1329
1337
  key: `slicer_${ke.value}`,
1330
1338
  ref_key: "quickChartSlicer",
1331
1339
  ref: de
1332
1340
  }, [
1333
- (a(), Ce(Mt, {
1341
+ (a(), Ie(Vt, {
1334
1342
  ref_key: "slicerComponent",
1335
- ref: ue,
1343
+ ref: ie,
1336
1344
  key: `slicer_${ke.value}`,
1337
1345
  background: e.value.zoomColor,
1338
1346
  borderColor: e.value.backgroundColor,
@@ -1352,7 +1360,7 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1352
1360
  minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
1353
1361
  minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
1354
1362
  minimapLineColor: e.value.zoomMinimap.lineColor,
1355
- minimap: mt.value,
1363
+ minimap: kt.value,
1356
1364
  minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
1357
1365
  minimapSelectedIndex: J.value,
1358
1366
  start: k.value.start,
@@ -1361,11 +1369,11 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1361
1369
  "onUpdate:end": s[4] || (s[4] = (t) => k.value.end = t),
1362
1370
  refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
1363
1371
  refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
1364
- onReset: ft,
1365
- onTrapMouse: ht
1372
+ onReset: xt,
1373
+ onTrapMouse: pt
1366
1374
  }, {
1367
1375
  "reset-action": Q(({ reset: t }) => [
1368
- M(i.$slots, "reset-action", H(se({ reset: t })), void 0, !0)
1376
+ U(u.$slots, "reset-action", H(se({ reset: t })), void 0, !0)
1369
1377
  ]),
1370
1378
  _: 3
1371
1379
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint"]))
@@ -1375,27 +1383,27 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1375
1383
  ref_key: "quickChartLegend",
1376
1384
  ref: oe,
1377
1385
  class: "vue-ui-quick-chart-legend",
1378
- style: N(`background:transparent;color:${e.value.color}`)
1386
+ style: R(`background:transparent;color:${e.value.color}`)
1379
1387
  }, [
1380
- C.value === _.DONUT ? (a(!0), l(p, { key: 0 }, z(E.value.legend, (t, n) => (a(), l("div", {
1388
+ $.value === _.DONUT ? (a(!0), l(p, { key: 0 }, L(E.value.legend, (t, n) => (a(), l("div", {
1381
1389
  class: "vue-ui-quick-chart-legend-item",
1382
1390
  onClick: (r) => {
1383
- ct(t, E.value.dataset), m("selectLegend", t);
1391
+ mt(t, E.value.dataset), m("selectLegend", t);
1384
1392
  },
1385
- style: N(`cursor: ${E.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1393
+ style: R(`cursor: ${E.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1386
1394
  }, [
1387
- e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1388
- ve(Ee, {
1395
+ e.value.useCustomLegend ? U(u.$slots, "legend", H(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1396
+ ve(Pe, {
1389
1397
  name: e.value.legendIcon,
1390
1398
  stroke: t.color,
1391
1399
  size: e.value.legendIconSize
1392
1400
  }, null, 8, ["name", "stroke", "size"]),
1393
1401
  A("span", {
1394
- style: N(`font-size:${e.value.legendFontSize}px`)
1395
- }, R(t.name), 5),
1402
+ style: R(`font-size:${e.value.legendFontSize}px`)
1403
+ }, O(t.name), 5),
1396
1404
  A("span", {
1397
- style: N(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1398
- }, R(w.value.includes(t.id) ? "-" : g(X)(
1405
+ style: R(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
1406
+ }, O(w.value.includes(t.id) ? "-" : g(X)(
1399
1407
  e.value.formatter,
1400
1408
  t.absoluteValue,
1401
1409
  g(B)({
@@ -1408,67 +1416,67 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1408
1416
  )), 5),
1409
1417
  w.value.includes(t.id) ? (a(), l("span", {
1410
1418
  key: 0,
1411
- style: N(`font-size:${e.value.legendFontSize}px`)
1412
- }, " ( - % ) ", 4)) : _e.value ? (a(), l("span", {
1419
+ style: R(`font-size:${e.value.legendFontSize}px`)
1420
+ }, " ( - % ) ", 4)) : ze.value ? (a(), l("span", {
1413
1421
  key: 1,
1414
- style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1422
+ style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1415
1423
  }, " ( - % ) ", 4)) : (a(), l("span", {
1416
1424
  key: 2,
1417
- style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1418
- }, " (" + R(g(B)({
1425
+ style: R(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
1426
+ }, " (" + O(g(B)({
1419
1427
  v: t.value / E.value.total * 100,
1420
1428
  s: "%",
1421
1429
  r: e.value.dataLabelRoundingPercentage
1422
1430
  })) + ") ", 5))
1423
1431
  ], 64))
1424
- ], 12, fl))), 256)) : f("", !0),
1425
- C.value === _.LINE ? (a(!0), l(p, { key: 1 }, z(c.value.legend, (t, n) => (a(), l("div", {
1432
+ ], 12, xl))), 256)) : f("", !0),
1433
+ $.value === _.LINE ? (a(!0), l(p, { key: 1 }, L(c.value.legend, (t, n) => (a(), l("div", {
1426
1434
  class: "vue-ui-quick-chart-legend-item",
1427
1435
  onClick: (r) => {
1428
- Xe(t.id, c.value.legend.length - 1), m("selectLegend", t);
1436
+ Je(t.id, c.value.legend.length - 1), m("selectLegend", t);
1429
1437
  },
1430
- style: N(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1438
+ style: R(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1431
1439
  }, [
1432
- e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1433
- ve(Ee, {
1440
+ e.value.useCustomLegend ? U(u.$slots, "legend", H(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1441
+ ve(Pe, {
1434
1442
  name: e.value.legendIcon,
1435
1443
  stroke: t.color,
1436
1444
  size: e.value.legendIconSize
1437
1445
  }, null, 8, ["name", "stroke", "size"]),
1438
1446
  A("span", {
1439
- style: N(`font-size:${e.value.legendFontSize}px`)
1440
- }, R(t.name), 5)
1447
+ style: R(`font-size:${e.value.legendFontSize}px`)
1448
+ }, O(t.name), 5)
1441
1449
  ], 64))
1442
- ], 12, gl))), 256)) : f("", !0),
1443
- C.value === _.BAR ? (a(!0), l(p, { key: 2 }, z(d.value.legend, (t, n) => (a(), l("div", {
1450
+ ], 12, yl))), 256)) : f("", !0),
1451
+ $.value === _.BAR ? (a(!0), l(p, { key: 2 }, L(d.value.legend, (t, n) => (a(), l("div", {
1444
1452
  class: "vue-ui-quick-chart-legend-item",
1445
1453
  onClick: (r) => {
1446
- Xe(t.id, d.value.legend.length - 1), m("selectLegend", t);
1454
+ Je(t.id, d.value.legend.length - 1), m("selectLegend", t);
1447
1455
  },
1448
- style: N(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1456
+ style: R(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
1449
1457
  }, [
1450
- e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1451
- ve(Ee, {
1458
+ e.value.useCustomLegend ? U(u.$slots, "legend", H(Fe({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
1459
+ ve(Pe, {
1452
1460
  name: e.value.legendIcon,
1453
1461
  stroke: t.color,
1454
1462
  size: e.value.legendIconSize
1455
1463
  }, null, 8, ["name", "stroke", "size"]),
1456
1464
  A("span", {
1457
- style: N(`font-size:${e.value.legendFontSize}px`)
1458
- }, R(t.name), 5)
1465
+ style: R(`font-size:${e.value.legendFontSize}px`)
1466
+ }, O(t.name), 5)
1459
1467
  ], 64))
1460
- ], 12, ml))), 256)) : f("", !0)
1468
+ ], 12, kl))), 256)) : f("", !0)
1461
1469
  ], 4)) : f("", !0),
1462
- i.$slots.source ? (a(), l("div", {
1470
+ u.$slots.source ? (a(), l("div", {
1463
1471
  key: 9,
1464
1472
  ref_key: "source",
1465
- ref: Ue,
1473
+ ref: De,
1466
1474
  dir: "auto"
1467
1475
  }, [
1468
- M(i.$slots, "source", {}, void 0, !0)
1476
+ U(u.$slots, "source", {}, void 0, !0)
1469
1477
  ], 512)) : f("", !0),
1470
- ve(Ot, {
1471
- show: we.value.showTooltip && G.value,
1478
+ ve(Ut, {
1479
+ show: Ae.value.showTooltip && G.value,
1472
1480
  backgroundColor: e.value.backgroundColor,
1473
1481
  color: e.value.color,
1474
1482
  borderRadius: e.value.tooltipBorderRadius,
@@ -1480,26 +1488,26 @@ const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = [
1480
1488
  offsetY: e.value.tooltipOffsetY,
1481
1489
  parent: W.value,
1482
1490
  content: K.value,
1483
- isFullscreen: ze.value,
1484
- isCustom: g(Ie)(e.value.tooltipCustomFormat)
1491
+ isFullscreen: Le.value,
1492
+ isCustom: g(Ee)(e.value.tooltipCustomFormat)
1485
1493
  }, {
1486
1494
  "tooltip-before": Q(() => [
1487
- M(i.$slots, "tooltip-before", H(se({ ...ce.value })), void 0, !0)
1495
+ U(u.$slots, "tooltip-before", H(se({ ...ce.value })), void 0, !0)
1488
1496
  ]),
1489
1497
  "tooltip-after": Q(() => [
1490
- M(i.$slots, "tooltip-after", H(se({ ...ce.value })), void 0, !0)
1498
+ U(u.$slots, "tooltip-after", H(se({ ...ce.value })), void 0, !0)
1491
1499
  ]),
1492
1500
  _: 3
1493
1501
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
1494
- ], 14, Zt)) : (a(), l("div", pl, [
1495
- ve(Ee, {
1502
+ ], 46, Kt)) : (a(), l("div", Sl, [
1503
+ ve(Pe, {
1496
1504
  name: "circleCancel",
1497
1505
  stroke: "red"
1498
1506
  }),
1499
- xl
1507
+ bl
1500
1508
  ]));
1501
1509
  }
1502
- }, Pl = /* @__PURE__ */ Vt(yl, [["__scopeId", "data-v-7c8df607"]]);
1510
+ }, Nl = /* @__PURE__ */ Gt(wl, [["__scopeId", "data-v-c31c33da"]]);
1503
1511
  export {
1504
- Pl as default
1512
+ Nl as default
1505
1513
  };