vue-data-ui 2.4.61 → 2.4.63

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 (157) hide show
  1. package/dist/{Arrow-C4JCfYUu.cjs → Arrow-BpZBF7Ak.cjs} +1 -1
  2. package/dist/{Arrow-NyYxjtAV.js → Arrow-nOy23OOV.js} +1 -1
  3. package/dist/{BaseIcon-a81b_5b0.js → BaseIcon-CrqNvGTs.js} +1 -1
  4. package/dist/{BaseIcon-B1zKYJGk.cjs → BaseIcon-rzIvDo2Q.cjs} +1 -1
  5. package/dist/{DataTable-CcW8SHH2.js → DataTable-BBh7_ttv.js} +2 -2
  6. package/dist/{DataTable-BVwnM0tQ.cjs → DataTable-CCJGHIVo.cjs} +1 -1
  7. package/dist/{Legend-fpW6iFgA.cjs → Legend-CqilK5CI.cjs} +1 -1
  8. package/dist/{Legend-Cq1rcFzv.js → Legend-WOejx9sp.js} +1 -1
  9. package/dist/{PackageVersion-LRbiiLp0.js → PackageVersion-dR8EUy_P.js} +1 -1
  10. package/dist/{PackageVersion-B7-YDa6h.cjs → PackageVersion-eZ5Dmuid.cjs} +1 -1
  11. package/dist/{PenAndPaper-BCjJ-td_.js → PenAndPaper-CrXlqi9I.js} +3 -3
  12. package/dist/{PenAndPaper-JkRknDt7.cjs → PenAndPaper-D_w2N2qM.cjs} +1 -1
  13. package/dist/{Shape-hFNcMth4.js → Shape-CwmKWYzq.js} +1 -1
  14. package/dist/{Shape-QZcWXoYb.cjs → Shape-qkkvCKyp.cjs} +1 -1
  15. package/dist/Slicer-DvdU-uf8.js +484 -0
  16. package/dist/Slicer-oNEtv1s3.cjs +1 -0
  17. package/dist/{Title-CQVviDIQ.cjs → Title-CoNtoGH9.cjs} +1 -1
  18. package/dist/{Title-Zm0LCGPS.js → Title-obqvTiXP.js} +1 -1
  19. package/dist/{Tooltip-CoahRzyE.js → Tooltip-BK-ACGDE.js} +1 -1
  20. package/dist/{Tooltip-DZ1uTqBW.cjs → Tooltip-Dz4wVJkz.cjs} +1 -1
  21. package/dist/index-ChOY3hT9.cjs +9 -0
  22. package/dist/{index-CG_OTzik.js → index-Z_vzxZTo.js} +8 -3
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +5 -0
  25. package/dist/types/vue-data-ui.d.ts +5 -0
  26. package/dist/{useNestedProp-BZZvruew.js → useNestedProp-Buhi5uyL.js} +1 -1
  27. package/dist/{useNestedProp--db71Vbu.cjs → useNestedProp-CA8PjFJH.cjs} +1 -1
  28. package/dist/{usePrinter-CxBwzZkb.js → usePrinter-Ck0oiMlt.js} +1 -1
  29. package/dist/{usePrinter-D0LQ1CyY.cjs → usePrinter-c3c7_uAW.cjs} +1 -1
  30. package/dist/{vue-data-ui-C4A5zIHI.js → vue-data-ui-BGng_wXI.js} +60 -60
  31. package/dist/{vue-data-ui-CUyuYhwT.cjs → vue-data-ui-CihfnXFF.cjs} +1 -1
  32. package/dist/vue-data-ui.cjs +1 -1
  33. package/dist/vue-data-ui.js +1 -1
  34. package/dist/{vue-ui-3d-bar-DAh8koX4.js → vue-ui-3d-bar-B7k4LzL1.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-DKiYqw0u.cjs → vue-ui-3d-bar-BsxFEhMN.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-C2IbGLRv.js → vue-ui-accordion-CV2-8b1O.js} +3 -3
  37. package/dist/{vue-ui-accordion-B7VpkrPR.cjs → vue-ui-accordion-CZ8AlriN.cjs} +1 -1
  38. package/dist/{vue-ui-age-pyramid-me4GgQNb.js → vue-ui-age-pyramid-Bc4DaLIy.js} +10 -10
  39. package/dist/{vue-ui-age-pyramid-BmqvzA-d.cjs → vue-ui-age-pyramid-C1crnKk7.cjs} +1 -1
  40. package/dist/{vue-ui-annotator-XOzj9Bpg.js → vue-ui-annotator-DLbAn_Mz.js} +1 -1
  41. package/dist/{vue-ui-annotator-Bg9Juc1l.cjs → vue-ui-annotator-DNKcAaEh.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-BsHk8Y0E.cjs → vue-ui-bullet-CEO3AsWC.cjs} +1 -1
  43. package/dist/{vue-ui-bullet-D1ElgM95.js → vue-ui-bullet-ClODxNrk.js} +8 -8
  44. package/dist/{vue-ui-candlestick-Ba4yv9ZM.cjs → vue-ui-candlestick-B00zQB4B.cjs} +2 -2
  45. package/dist/{vue-ui-candlestick-DLhwvS6l.js → vue-ui-candlestick-DI7t6jqz.js} +75 -73
  46. package/dist/{vue-ui-carousel-table-cEaGm232.js → vue-ui-carousel-table-5jXlkslq.js} +4 -4
  47. package/dist/{vue-ui-carousel-table-DSoV6GBf.cjs → vue-ui-carousel-table-Bm2D_0pZ.cjs} +1 -1
  48. package/dist/{vue-ui-chestnut-DCURZY6w.js → vue-ui-chestnut-CRZsXRUH.js} +8 -8
  49. package/dist/{vue-ui-chestnut-D6D5Zr4r.cjs → vue-ui-chestnut-DP6-Gie6.cjs} +1 -1
  50. package/dist/{vue-ui-cursor-CqDpaKei.cjs → vue-ui-cursor-BGe0gZK8.cjs} +1 -1
  51. package/dist/{vue-ui-cursor-B9eASI3M.js → vue-ui-cursor-DA8bsmEc.js} +2 -2
  52. package/dist/{vue-ui-dashboard-B2rw-G-R.js → vue-ui-dashboard-BZD-6Pz7.js} +43 -43
  53. package/dist/vue-ui-dashboard-D2v4oSiB.cjs +1 -0
  54. package/dist/{vue-ui-digits-BAG_spWA.js → vue-ui-digits-CKvrL9Wc.js} +2 -2
  55. package/dist/{vue-ui-digits-CagcmtFs.cjs → vue-ui-digits-DC8ZuHOj.cjs} +1 -1
  56. package/dist/{vue-ui-donut-5jgX6ZLE.cjs → vue-ui-donut-D5mDCNky.cjs} +1 -1
  57. package/dist/{vue-ui-donut-BJl5Isgy.js → vue-ui-donut-DDayabSz.js} +11 -11
  58. package/dist/{vue-ui-donut-evolution-CnqdY8LW.cjs → vue-ui-donut-evolution-AlCGLfzy.cjs} +1 -1
  59. package/dist/{vue-ui-donut-evolution-DMhkt7mf.js → vue-ui-donut-evolution-CBsxmrTO.js} +127 -125
  60. package/dist/{vue-ui-dumbbell-Be0B-LgS.cjs → vue-ui-dumbbell-B9cELz3z.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-Dg3mYtw3.js → vue-ui-dumbbell-DB7jNjQP.js} +10 -10
  62. package/dist/{vue-ui-flow-BKyhoEjt.cjs → vue-ui-flow-CCM51fzQ.cjs} +1 -1
  63. package/dist/{vue-ui-flow-Cq8-bQr_.js → vue-ui-flow-Cw1Vfk_e.js} +9 -9
  64. package/dist/{vue-ui-funnel-DFk4PKvj.cjs → vue-ui-funnel--4JhwVwW.cjs} +1 -1
  65. package/dist/{vue-ui-funnel-DHFbd45-.js → vue-ui-funnel-CU72MuGg.js} +9 -9
  66. package/dist/{vue-ui-galaxy-Y1gaT5UE.cjs → vue-ui-galaxy-BJrkygeR.cjs} +1 -1
  67. package/dist/{vue-ui-galaxy-rYHDLCt9.js → vue-ui-galaxy-BKInqdOk.js} +11 -11
  68. package/dist/{vue-ui-gauge-Ba14Ybvo.js → vue-ui-gauge-DBPB11Eo.js} +7 -7
  69. package/dist/{vue-ui-gauge-Bmuasq4t.cjs → vue-ui-gauge-Uo_1rs0Z.cjs} +1 -1
  70. package/dist/{vue-ui-gizmo-CuMablqV.js → vue-ui-gizmo-BSDdKP_q.js} +3 -3
  71. package/dist/{vue-ui-gizmo-CF11m0cq.cjs → vue-ui-gizmo-D7hHruEs.cjs} +1 -1
  72. package/dist/{vue-ui-heatmap-BekQJ_O8.cjs → vue-ui-heatmap-CysVyR78.cjs} +1 -1
  73. package/dist/{vue-ui-heatmap-B0Ry1OTW.js → vue-ui-heatmap-DhoDd6I_.js} +10 -10
  74. package/dist/{vue-ui-history-plot-DkJdYX5N.js → vue-ui-history-plot-C1IcR5tn.js} +11 -11
  75. package/dist/{vue-ui-history-plot-BTVojhgQ.cjs → vue-ui-history-plot-D97p0C8E.cjs} +1 -1
  76. package/dist/{vue-ui-kpi-BQwuGH5_.js → vue-ui-kpi-C43FJnkn.js} +3 -3
  77. package/dist/{vue-ui-kpi-BLreWPBQ.cjs → vue-ui-kpi-Cu2PoWud.cjs} +1 -1
  78. package/dist/{vue-ui-mini-loader-C-61eqcR.cjs → vue-ui-mini-loader-Bdr0862F.cjs} +1 -1
  79. package/dist/{vue-ui-mini-loader-DOGNwMhX.js → vue-ui-mini-loader-DgPnsWaW.js} +2 -2
  80. package/dist/{vue-ui-molecule-BRM8s9SD.cjs → vue-ui-molecule-CEJzQ7RY.cjs} +1 -1
  81. package/dist/{vue-ui-molecule-DHBRDC8t.js → vue-ui-molecule-CvxtHapj.js} +11 -11
  82. package/dist/{vue-ui-mood-radar-dfN44AZx.js → vue-ui-mood-radar-B6EmzBGf.js} +11 -11
  83. package/dist/{vue-ui-mood-radar-MXQgj0yp.cjs → vue-ui-mood-radar-DIn_Oars.cjs} +1 -1
  84. package/dist/{vue-ui-nested-donuts-C-nDnw6v.js → vue-ui-nested-donuts-D4pAkaZH.js} +11 -11
  85. package/dist/{vue-ui-nested-donuts-BAtJgYOg.cjs → vue-ui-nested-donuts-c2pJF_ex.cjs} +1 -1
  86. package/dist/{vue-ui-onion-D8OvxeHr.js → vue-ui-onion-98XPhnVF.js} +11 -11
  87. package/dist/{vue-ui-onion-EO8dPufp.cjs → vue-ui-onion-DHOhnx2s.cjs} +1 -1
  88. package/dist/{vue-ui-parallel-coordinate-plot-Cxl3bY0H.cjs → vue-ui-parallel-coordinate-plot-CrVVxflg.cjs} +1 -1
  89. package/dist/{vue-ui-parallel-coordinate-plot-3BNXcNsy.js → vue-ui-parallel-coordinate-plot-DLOtv_NO.js} +12 -12
  90. package/dist/{vue-ui-quadrant-BOReLkSm.js → vue-ui-quadrant-DWM3zE7x.js} +12 -12
  91. package/dist/{vue-ui-quadrant-DiU08Q5X.cjs → vue-ui-quadrant-DbDQtcxz.cjs} +1 -1
  92. package/dist/{vue-ui-quick-chart-D4UZCrzj.js → vue-ui-quick-chart-CFVAisN4.js} +214 -212
  93. package/dist/{vue-ui-quick-chart-BRERkFkI.cjs → vue-ui-quick-chart-DP0hSesI.cjs} +3 -3
  94. package/dist/{vue-ui-radar-DduWN5dL.cjs → vue-ui-radar-CDhwXWfs.cjs} +1 -1
  95. package/dist/{vue-ui-radar-C2ePOuIW.js → vue-ui-radar-CNBN5GF9.js} +12 -12
  96. package/dist/{vue-ui-rating-BYfD1N57.js → vue-ui-rating-CEfg8aGb.js} +2 -2
  97. package/dist/{vue-ui-rating-BtzMW1EB.cjs → vue-ui-rating-cHW6zh7i.cjs} +1 -1
  98. package/dist/{vue-ui-relation-circle-BKjs6DR1.js → vue-ui-relation-circle-92LvehQf.js} +7 -7
  99. package/dist/{vue-ui-relation-circle-DhLvWetz.cjs → vue-ui-relation-circle-olDAN0lU.cjs} +1 -1
  100. package/dist/{vue-ui-rings-BNwvxf2K.js → vue-ui-rings-Bp0WLW4E.js} +11 -11
  101. package/dist/{vue-ui-rings-CzZyxYeS.cjs → vue-ui-rings-BwvTmRCE.cjs} +1 -1
  102. package/dist/{vue-ui-scatter-thYwTZhC.js → vue-ui-scatter-6wDrQ5fP.js} +12 -12
  103. package/dist/{vue-ui-scatter-D3Cl-rFL.cjs → vue-ui-scatter-BvdgtUHX.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-9y8wYnc3.js → vue-ui-screenshot-CIAlcAvq.js} +1 -1
  105. package/dist/{vue-ui-screenshot-DFHP0ThC.cjs → vue-ui-screenshot-ChB7VFUO.cjs} +1 -1
  106. package/dist/{vue-ui-skeleton-B6hyEcxy.js → vue-ui-skeleton-BMRe3SzB.js} +3 -3
  107. package/dist/{vue-ui-skeleton-D56sSIBO.cjs → vue-ui-skeleton-DlnPFtb4.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-B-4Fqh2J.js → vue-ui-smiley-CN5FWJ1G.js} +2 -2
  109. package/dist/{vue-ui-smiley-BsWAahKv.cjs → vue-ui-smiley-DkrQ5gDD.cjs} +1 -1
  110. package/dist/{vue-ui-spark-trend-MAq0VlUq.cjs → vue-ui-spark-trend-BlOdnAb4.cjs} +1 -1
  111. package/dist/{vue-ui-spark-trend-DJcpI-ZY.js → vue-ui-spark-trend-MNkadB41.js} +5 -5
  112. package/dist/{vue-ui-sparkbar-DZqE8qN3.js → vue-ui-sparkbar-CBPO2mUa.js} +4 -4
  113. package/dist/{vue-ui-sparkbar-DMlzP8ZM.cjs → vue-ui-sparkbar-ChTbwY11.cjs} +1 -1
  114. package/dist/{vue-ui-sparkgauge-CvOP9U7-.cjs → vue-ui-sparkgauge-B7yvQfZW.cjs} +1 -1
  115. package/dist/{vue-ui-sparkgauge-B-kRhMYK.js → vue-ui-sparkgauge-VLkIev3p.js} +4 -4
  116. package/dist/{vue-ui-sparkhistogram-EOeboT7_.js → vue-ui-sparkhistogram-DbOxX4Ks.js} +5 -5
  117. package/dist/{vue-ui-sparkhistogram-DjUvwlYU.cjs → vue-ui-sparkhistogram-mYU6RAK_.cjs} +1 -1
  118. package/dist/vue-ui-sparkline-DO496Tk5.cjs +1 -0
  119. package/dist/{vue-ui-sparkline-BgB5km-f.js → vue-ui-sparkline-D_-31O2S.js} +117 -114
  120. package/dist/{vue-ui-sparkstackbar-DSTz24kS.cjs → vue-ui-sparkstackbar-KaFMlIAL.cjs} +1 -1
  121. package/dist/{vue-ui-sparkstackbar-DGihKtGC.js → vue-ui-sparkstackbar-gW7rpJmQ.js} +5 -5
  122. package/dist/{vue-ui-stackbar-m-5t4Otk.cjs → vue-ui-stackbar-CYHsSzEK.cjs} +2 -2
  123. package/dist/{vue-ui-stackbar-DrJ3au6w.js → vue-ui-stackbar-vIyS6oag.js} +80 -78
  124. package/dist/{vue-ui-strip-plot-4uC5MD3e.js → vue-ui-strip-plot-4o1zAxG_.js} +11 -11
  125. package/dist/{vue-ui-strip-plot-Yy2DIoMg.cjs → vue-ui-strip-plot-MlP5pDNx.cjs} +1 -1
  126. package/dist/{vue-ui-table-DCe_BTaV.cjs → vue-ui-table-B0PFrkLI.cjs} +1 -1
  127. package/dist/{vue-ui-table-DN498EB2.js → vue-ui-table-DWNrd7zM.js} +1 -1
  128. package/dist/{vue-ui-table-heatmap-PvopeKyW.cjs → vue-ui-table-heatmap-4k74Ux7O.cjs} +1 -1
  129. package/dist/{vue-ui-table-heatmap-CMVmFTPi.js → vue-ui-table-heatmap-BSKCS8Lq.js} +4 -4
  130. package/dist/{vue-ui-table-sparkline-DpXxi6al.js → vue-ui-table-sparkline-BrImSTh0.js} +5 -5
  131. package/dist/{vue-ui-table-sparkline-BtUV0t4I.cjs → vue-ui-table-sparkline-DCCogh2-.cjs} +1 -1
  132. package/dist/{vue-ui-thermometer-CB38vNj3.js → vue-ui-thermometer-DHEoT4yB.js} +7 -7
  133. package/dist/{vue-ui-thermometer-B9YyPrvt.cjs → vue-ui-thermometer-DswmMXiU.cjs} +1 -1
  134. package/dist/{vue-ui-timer-BmFFjMb9.js → vue-ui-timer-BNFihNgK.js} +5 -5
  135. package/dist/{vue-ui-timer-D6GsFvTy.cjs → vue-ui-timer-Tv94CYqL.cjs} +1 -1
  136. package/dist/{vue-ui-tiremarks--CrAFWU2.cjs → vue-ui-tiremarks-B2kuKLe-.cjs} +1 -1
  137. package/dist/{vue-ui-tiremarks-CJ2y_2T1.js → vue-ui-tiremarks-DzaUfiET.js} +7 -7
  138. package/dist/{vue-ui-treemap-HpoEGWKV.cjs → vue-ui-treemap-Dmt3RPF2.cjs} +1 -1
  139. package/dist/{vue-ui-treemap-Z3t2YGoE.js → vue-ui-treemap-qKZJcEYe.js} +11 -11
  140. package/dist/{vue-ui-vertical-bar-B_x2w4L8.js → vue-ui-vertical-bar-CMXtevyE.js} +11 -11
  141. package/dist/{vue-ui-vertical-bar-LdxXCg3W.cjs → vue-ui-vertical-bar-CQ_qEJ_O.cjs} +1 -1
  142. package/dist/{vue-ui-waffle-BKrNIOiM.js → vue-ui-waffle-DjJoezg-.js} +11 -11
  143. package/dist/{vue-ui-waffle-BDkOv8M4.cjs → vue-ui-waffle-fWQvVbAH.cjs} +1 -1
  144. package/dist/{vue-ui-wheel-DgzJQSl_.cjs → vue-ui-wheel-2qIHyZe1.cjs} +1 -1
  145. package/dist/{vue-ui-wheel-BCs1b_hk.js → vue-ui-wheel-DOrWSWt6.js} +7 -7
  146. package/dist/{vue-ui-word-cloud-BHm3q6eZ.cjs → vue-ui-word-cloud-Tgg5jCE6.cjs} +1 -1
  147. package/dist/{vue-ui-word-cloud-CO47t4OJ.js → vue-ui-word-cloud-UPPKGsXt.js} +10 -10
  148. package/dist/{vue-ui-xy-c7YLqedj.cjs → vue-ui-xy-CMde0Kq-.cjs} +3 -3
  149. package/dist/{vue-ui-xy-canvas-CY1JxJvm.cjs → vue-ui-xy-canvas-Dm3YUQ3g.cjs} +2 -2
  150. package/dist/{vue-ui-xy-canvas-Q6mKl1B-.js → vue-ui-xy-canvas-paHHRtqs.js} +227 -225
  151. package/dist/{vue-ui-xy-RDecyidx.js → vue-ui-xy-zCJv-Vao.js} +35 -33
  152. package/package.json +1 -1
  153. package/dist/Slicer-DGn72_0M.js +0 -423
  154. package/dist/Slicer-DMYxCNLb.cjs +0 -1
  155. package/dist/index-V6tl1xgQ.cjs +0 -9
  156. package/dist/vue-ui-dashboard-Q-ILTgqP.cjs +0 -1
  157. package/dist/vue-ui-sparkline-BS_ZXXei.cjs +0 -1
@@ -1,22 +1,22 @@
1
- import { ref as i, computed as x, useSlots as Ta, onMounted as aa, watch as D, nextTick as ce, onBeforeUnmount as Oa, openBlock as z, createElementBlock as K, normalizeStyle as Y, normalizeClass as Pa, unref as S, createBlock as E, createCommentVNode as _, createSlots as Ra, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as V, createElementVNode as Q, createVNode as Fa, toDisplayString as ta, createTextVNode as Ea } from "vue";
2
- import { u as Na, c as Aa, t as Da, a as _a, p as H, C as de, b as Ha, D as we, i as ee, f as ae, Y as Ua, J as Wa, d as la, a2 as Xa, o as Ya, e as Ba, x as oa, y as Va, q as Za, r as Ga, s as te, l as ja } from "./index-CG_OTzik.js";
3
- import { d as qa, c as Ja, a as ra, t as Ka, l as k, r as ze, b as N, p as ua, u as Qa } from "./useResponsive-CoxXLe23.js";
4
- import { _ as et } from "./Tooltip-CoahRzyE.js";
5
- import { L as at } from "./Legend-Cq1rcFzv.js";
6
- import { _ as tt } from "./Title-Zm0LCGPS.js";
7
- import { S as lt } from "./Slicer-DGn72_0M.js";
8
- import { u as ot, U as rt } from "./usePrinter-CxBwzZkb.js";
9
- import ut from "./vue-ui-accordion-C2IbGLRv.js";
10
- import { D as st } from "./DataTable-CcW8SHH2.js";
11
- import nt from "./vue-ui-skeleton-B6hyEcxy.js";
12
- import { u as sa } from "./useNestedProp-BZZvruew.js";
13
- import { P as it } from "./PenAndPaper-BCjJ-td_.js";
14
- import { u as vt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
- const dt = ["id"], ht = ["onClick"], yt = {
1
+ import { ref as i, computed as x, useSlots as Ta, onMounted as aa, watch as A, nextTick as ce, onBeforeUnmount as Oa, openBlock as z, createElementBlock as K, normalizeStyle as Y, normalizeClass as Ra, unref as S, createBlock as E, createCommentVNode as H, createSlots as Pa, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as V, createElementVNode as Q, createVNode as Fa, toDisplayString as la, createTextVNode as Ea } from "vue";
2
+ import { u as Da, c as Na, t as Aa, a as Ha, p as _, C as de, b as _a, D as we, i as ee, f as ae, Y as Ua, J as Wa, d as ta, a2 as Xa, o as Ya, e as Ba, x as oa, y as Va, q as Za, r as Ga, s as le, l as ja } from "./index-Z_vzxZTo.js";
3
+ import { d as qa, c as Ja, a as ra, t as Ka, l as k, r as ze, b as D, p as ua, u as Qa } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as el } from "./Tooltip-BK-ACGDE.js";
5
+ import { L as al } from "./Legend-WOejx9sp.js";
6
+ import { _ as ll } from "./Title-obqvTiXP.js";
7
+ import { S as tl } from "./Slicer-DvdU-uf8.js";
8
+ import { u as ol, U as rl } from "./usePrinter-Ck0oiMlt.js";
9
+ import ul from "./vue-ui-accordion-CV2-8b1O.js";
10
+ import { D as sl } from "./DataTable-BBh7_ttv.js";
11
+ import nl from "./vue-ui-skeleton-BMRe3SzB.js";
12
+ import { u as sa } from "./useNestedProp-Buhi5uyL.js";
13
+ import { P as il } from "./PenAndPaper-CrXlqi9I.js";
14
+ import { u as vl } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const dl = ["id"], hl = ["onClick"], yl = {
17
17
  key: 2,
18
18
  class: "vue-data-ui-watermark"
19
- }, ft = ["innerHTML"], gt = {
19
+ }, fl = ["innerHTML"], gl = {
20
20
  __name: "vue-ui-xy-canvas",
21
21
  props: {
22
22
  dataset: {
@@ -34,34 +34,34 @@ const dt = ["id"], ht = ["onClick"], yt = {
34
34
  },
35
35
  emits: ["selectLegend"],
36
36
  setup(Se, { expose: na, emit: ia }) {
37
- const f = Se, { vue_ui_xy_canvas: va } = Na(), he = i(Aa()), Z = i(null), M = i(null), G = i(null), s = i(null), y = i(1), P = i(1), le = i(!1), d = i(null), oe = i(""), $e = i(null), $ = i([]), U = i(1), A = i(!0), T = i(!0), ye = i(null), Ie = i(0), Me = i(0), re = i(!1), Te = i(null), Oe = i(null), Pe = i(null), Re = i(null), fe = i(0), ge = i(0), pe = i(0), me = x(() => !!f.dataset && f.dataset.length), ca = Ta();
37
+ const f = Se, { vue_ui_xy_canvas: va } = Da(), he = i(Na()), Z = i(null), M = i(null), G = i(null), s = i(null), y = i(1), R = i(1), te = i(!1), d = i(null), oe = i(""), $e = i(null), $ = i([]), U = i(1), N = i(!0), T = i(!0), ye = i(null), Ie = i(0), Me = i(0), re = i(!1), Te = i(null), Oe = i(null), Re = i(null), Pe = i(null), fe = i(0), ge = i(0), pe = i(0), me = x(() => !!f.dataset && f.dataset.length), ca = Ta();
38
38
  aa(() => {
39
39
  ca["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
40
40
  });
41
41
  const a = x({
42
- get: () => Ne(),
42
+ get: () => De(),
43
43
  set: (e) => e
44
- }), { userOptionsVisible: be, setUserOptionsVisibility: Fe, keepUserOptionState: Ee } = vt({ config: a.value });
45
- function Ne() {
44
+ }), { userOptionsVisible: be, setUserOptionsVisibility: Fe, keepUserOptionState: Ee } = vl({ config: a.value });
45
+ function De() {
46
46
  const e = sa({
47
47
  userConfig: f.config,
48
48
  defaultConfig: va
49
49
  });
50
- let t = {};
51
- return e.theme ? t = {
50
+ let l = {};
51
+ return e.theme ? l = {
52
52
  ...sa({
53
- userConfig: Da.vue_ui_xy_canvas[e.theme] || f.config,
53
+ userConfig: Aa.vue_ui_xy_canvas[e.theme] || f.config,
54
54
  defaultConfig: e
55
55
  }),
56
- customPalette: _a[e.theme] || H
57
- } : t = e, f.config && de(f.config, "style.chart.scale.min") ? t.style.chart.scale.min = f.config.style.chart.scale.min : t.style.chart.scale.min = null, f.config && de(f.config, "style.chart.scale.max") ? t.style.chart.scale.max = f.config.style.chart.scale.max : t.style.chart.scale.max = null, f.config && de(f.config, "style.chart.zoom.startIndex") ? t.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : t.style.chart.zoom.startIndex = null, f.config && de(f.config, "style.chart.zoom.endIndex") ? t.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : t.style.chart.zoom.endIndex = null, t;
56
+ customPalette: Ha[e.theme] || _
57
+ } : l = e, f.config && de(f.config, "style.chart.scale.min") ? l.style.chart.scale.min = f.config.style.chart.scale.min : l.style.chart.scale.min = null, f.config && de(f.config, "style.chart.scale.max") ? l.style.chart.scale.max = f.config.style.chart.scale.max : l.style.chart.scale.max = null, f.config && de(f.config, "style.chart.zoom.startIndex") ? l.style.chart.zoom.startIndex = f.config.style.chart.zoom.startIndex : l.style.chart.zoom.startIndex = null, f.config && de(f.config, "style.chart.zoom.endIndex") ? l.style.chart.zoom.endIndex = f.config.style.chart.zoom.endIndex : l.style.chart.zoom.endIndex = null, l;
58
58
  }
59
- D(() => f.config, (e) => {
60
- a.value = Ne(), be.value = !a.value.showOnChartHover, Le(), fe.value += 1, ge.value += 1, pe.value += 1;
61
- }, { deep: !0 }), D(() => f.dataset, () => {
59
+ A(() => f.config, (e) => {
60
+ a.value = De(), be.value = !a.value.showOnChartHover, Le(), fe.value += 1, ge.value += 1, pe.value += 1;
61
+ }, { deep: !0 }), A(() => f.dataset, () => {
62
62
  Le(), fe.value += 1, ge.value += 1, pe.value += 1;
63
63
  }, { deep: !0 });
64
- const Ae = i(a.value.style.chart.aspectRatio), { isPrinting: De, isImaging: _e, generatePdf: He, generateImage: Ue } = ot({
64
+ const Ne = i(a.value.style.chart.aspectRatio), { isPrinting: Ae, isImaging: He, generatePdf: _e, generateImage: Ue } = ol({
65
65
  elementId: `xy_canvas_${he.value}`,
66
66
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
67
67
  }), u = i({
@@ -73,45 +73,45 @@ const dt = ["id"], ht = ["onClick"], yt = {
73
73
  function da(e) {
74
74
  re.value = e, Me.value += 1;
75
75
  }
76
- const We = x(() => Ha(a.value.customPalette)), I = x(() => W.value ? Math.max(...W.value.filter((e, t) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = x(() => {
76
+ const We = x(() => _a(a.value.customPalette)), I = x(() => W.value ? Math.max(...W.value.filter((e, l) => !$.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = x(() => {
77
77
  const e = y.value - y.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
78
78
  return {
79
79
  canvasWidth: y.value,
80
- canvasHeight: P.value,
80
+ canvasHeight: R.value,
81
81
  left: y.value * a.value.style.chart.paddingProportions.left,
82
- top: P.value * a.value.style.chart.paddingProportions.top,
82
+ top: R.value * a.value.style.chart.paddingProportions.top,
83
83
  right: y.value - y.value * a.value.style.chart.paddingProportions.right,
84
- bottom: P.value - P.value * a.value.style.chart.paddingProportions.bottom,
84
+ bottom: R.value - R.value * a.value.style.chart.paddingProportions.bottom,
85
85
  width: e,
86
- height: P.value - P.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
86
+ height: R.value - R.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
87
87
  slot: e / (r.value.end - r.value.start)
88
88
  };
89
89
  });
90
- function Xe(e, t) {
91
- return e / t;
90
+ function Xe(e, l) {
91
+ return e / l;
92
92
  }
93
- function ha({ hasAutoScale: e, series: t, min: o, max: v, scale: c, yOffset: g, individualHeight: n, stackIndex: p = null }) {
94
- return t.map((w, Ce) => {
95
- const O = c.min < 0 ? Math.abs(c.min) : 0, R = Xe(w + O, O + c.max);
93
+ function ha({ hasAutoScale: e, series: l, min: o, max: v, scale: c, yOffset: g, individualHeight: n, stackIndex: p = null }) {
94
+ return l.map((w, Ce) => {
95
+ const O = c.min < 0 ? Math.abs(c.min) : 0, P = Xe(w + O, O + c.max);
96
96
  let F, j;
97
97
  e && (F = Math.abs(c.min), j = Xe(w + F, c.max + F));
98
98
  let q = 0;
99
- return p === null ? q = l.value.bottom - l.value.height * (e ? j : R) : q = l.value.bottom - g - n * (e ? j : R), {
100
- x: l.value.left + l.value.slot * Ce + l.value.slot / 2,
99
+ return p === null ? q = t.value.bottom - t.value.height * (e ? j : P) : q = t.value.bottom - g - n * (e ? j : P), {
100
+ x: t.value.left + t.value.slot * Ce + t.value.slot / 2,
101
101
  y: q,
102
102
  value: w
103
103
  };
104
104
  });
105
105
  }
106
106
  const m = x(() => {
107
- const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...W.value.filter((n, p) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...W.value.filter((n, p) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = we(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), v = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (v / (o.max + v)), g = o.ticks.map((n) => ({
108
- y: l.value.bottom - l.value.height * ((n + v) / (o.max + v)),
109
- x: l.value.left - 8,
107
+ const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...W.value.filter((n, p) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), l = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...W.value.filter((n, p) => !$.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = we(e < 0 ? e : 0, l === e ? e + 1 < 0 ? 0 : e + 1 : l < 0 ? 0 : l, a.value.style.chart.scale.ticks), v = o.min < 0 ? Math.abs(o.min) : 0, c = t.value.bottom - t.value.height * (v / (o.max + v)), g = o.ticks.map((n) => ({
108
+ y: t.value.bottom - t.value.height * ((n + v) / (o.max + v)),
109
+ x: t.value.left - 8,
110
110
  value: n
111
111
  }));
112
112
  return {
113
113
  absoluteMin: v,
114
- max: t,
114
+ max: l,
115
115
  min: e,
116
116
  scale: o,
117
117
  yLabels: g,
@@ -135,22 +135,22 @@ const dt = ["id"], ht = ["onClick"], yt = {
135
135
  { datapoint: e, seriesIndex: d.value }
136
136
  )}</span>
137
137
  </div>
138
- `)), W = x(() => f.dataset.map((e, t) => ({
138
+ `)), W = x(() => f.dataset.map((e, l) => ({
139
139
  ...e,
140
140
  series: Ua({
141
141
  data: Wa(e.series),
142
142
  threshold: a.value.downsample.threshold
143
143
  }),
144
- absoluteIndex: t,
145
- color: la(e.color || We.value[t] || H[t] || H[t % H.length])
144
+ absoluteIndex: l,
145
+ color: ta(e.color || We.value[l] || _[l] || _[l % _.length])
146
146
  })));
147
- D(I, (e) => {
147
+ A(I, (e) => {
148
148
  e && Ye();
149
149
  });
150
- const h = x(() => Xa(W.value.filter((e, t) => !$.value.includes(e.absoluteIndex))).map((e, t) => ({
150
+ const h = x(() => Xa(W.value.filter((e, l) => !$.value.includes(e.absoluteIndex))).map((e, l) => ({
151
151
  ...e,
152
152
  series: e.series.slice(r.value.start, r.value.end)
153
- })).map((e, t) => {
153
+ })).map((e, l) => {
154
154
  let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, v = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
155
155
  o === v && (o = o >= 0 ? v - 1 : o, v = v >= 0 ? v : o + 1);
156
156
  const g = {
@@ -160,12 +160,12 @@ const dt = ["id"], ht = ["onClick"], yt = {
160
160
  }, n = e.scaleSteps || a.value.style.chart.scale.ticks;
161
161
  let p;
162
162
  e.autoScaling ? p = we(g.valueMin, g.valueMax, n) : p = we(g.valueMin < 0 ? g.valueMin : 0, g.valueMax <= 0 ? 0 : g.valueMax, n);
163
- const w = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, Ce = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, O = u.value.stacked ? l.value.height * e.stackRatio - Ce : l.value.height, R = p.min < 0 ? Math.abs(p.min) : 0;
163
+ const w = u.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, Ce = u.value.stacked ? t.value.height / a.value.style.chart.stackGap : 0, O = u.value.stacked ? t.value.height * e.stackRatio - Ce : t.value.height, P = p.min < 0 ? Math.abs(p.min) : 0;
164
164
  let F;
165
- e.autoScaling && u.value.stacked && v <= 0 ? F = l.value.bottom - w - O : F = l.value.bottom - w - O * (R / (p.max + R));
165
+ e.autoScaling && u.value.stacked && v <= 0 ? F = t.value.bottom - w - O : F = t.value.bottom - w - O * (P / (p.max + P));
166
166
  const j = p.ticks.map((J, Ma) => ({
167
- y: l.value.bottom - w - O * (Ma / (p.ticks.length - 1)),
168
- x: l.value.left - 8,
167
+ y: t.value.bottom - w - O * (Ma / (p.ticks.length - 1)),
168
+ x: t.value.left - 8,
169
169
  value: J
170
170
  })), q = ha({
171
171
  hasAutoScale: u.value.stacked && e.autoScaling,
@@ -175,7 +175,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
175
175
  scale: u.value.stacked ? p : m.value.scale,
176
176
  yOffset: w,
177
177
  individualHeight: O,
178
- stackIndex: u.value.stacked ? t : null
178
+ stackIndex: u.value.stacked ? l : null
179
179
  });
180
180
  return {
181
181
  ...e,
@@ -184,7 +184,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
184
184
  max: v,
185
185
  localScale: p,
186
186
  localZero: F,
187
- localMin: R,
187
+ localMin: P,
188
188
  localYLabels: j,
189
189
  yOffset: w,
190
190
  individualHeight: O
@@ -204,30 +204,30 @@ const dt = ["id"], ht = ["onClick"], yt = {
204
204
  }, Ie.value += 1);
205
205
  }
206
206
  function fa(e) {
207
- const t = I.value;
208
- return e > t ? t : e < 0 || a.value.style.chart.zoom.startIndex !== null && e < a.value.style.chart.zoom.startIndex ? a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex + 1 : 1 : e;
207
+ const l = I.value;
208
+ return e > l ? l : e < 0 || a.value.style.chart.zoom.startIndex !== null && e < a.value.style.chart.zoom.startIndex ? a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex + 1 : 1 : e;
209
209
  }
210
210
  const ga = x(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = x(() => h.value.filter((e) => e.type === "bar"));
211
211
  function pa() {
212
212
  if (!M.value)
213
213
  return;
214
- const e = G.value.offsetWidth, t = G.value.offsetHeight;
215
- M.value.width = e * U.value * 2, M.value.height = t * U.value * 2, y.value = e * U.value * 2, P.value = t * U.value * 2, s.value.scale(U.value, U.value), xe();
214
+ const e = G.value.offsetWidth, l = G.value.offsetHeight;
215
+ M.value.width = e * U.value * 2, M.value.height = l * U.value * 2, y.value = e * U.value * 2, R.value = l * U.value * 2, s.value.scale(U.value, U.value), xe();
216
216
  }
217
217
  function ma() {
218
- if (s.value.clearRect(0, 0, 1e4, 1e4), s.value.fillStyle = a.value.style.chart.backgroundColor, s.value.fillRect(0, 0, l.value.canvasWidth, l.value.canvasHeight), u.value.stacked)
218
+ if (s.value.clearRect(0, 0, 1e4, 1e4), s.value.fillStyle = a.value.style.chart.backgroundColor, s.value.fillRect(0, 0, t.value.canvasWidth, t.value.canvasHeight), u.value.stacked)
219
219
  a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength ? h.value.forEach((e) => {
220
- for (let t = 0; t < r.value.end - r.value.start + 1; t += 1)
220
+ for (let l = 0; l < r.value.end - r.value.start + 1; l += 1)
221
221
  k(
222
222
  s.value,
223
223
  [
224
224
  {
225
- x: l.value.left + l.value.slot * t,
226
- y: l.value.bottom - e.yOffset - e.individualHeight
225
+ x: t.value.left + t.value.slot * l,
226
+ y: t.value.bottom - e.yOffset - e.individualHeight
227
227
  },
228
228
  {
229
- x: l.value.left + l.value.slot * t,
230
- y: l.value.bottom - e.yOffset
229
+ x: t.value.left + t.value.slot * l,
230
+ y: t.value.bottom - e.yOffset
231
231
  }
232
232
  ],
233
233
  {
@@ -235,17 +235,17 @@ const dt = ["id"], ht = ["onClick"], yt = {
235
235
  }
236
236
  );
237
237
  }) : a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start >= a.value.style.chart.grid.y.verticalLines.hideUnderXLength && h.value.forEach((e) => {
238
- for (let t = r.value.start; t < r.value.end; t += 1)
239
- t % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
238
+ for (let l = r.value.start; l < r.value.end; l += 1)
239
+ l % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
240
240
  s.value,
241
241
  [
242
242
  {
243
- x: l.value.left + l.value.slot * (t - r.value.start) + l.value.slot / 2,
244
- y: l.value.bottom - e.yOffset - e.individualHeight
243
+ x: t.value.left + t.value.slot * (l - r.value.start) + t.value.slot / 2,
244
+ y: t.value.bottom - e.yOffset - e.individualHeight
245
245
  },
246
246
  {
247
- x: l.value.left + l.value.slot * (t - r.value.start) + l.value.slot / 2,
248
- y: l.value.bottom - e.yOffset
247
+ x: t.value.left + t.value.slot * (l - r.value.start) + t.value.slot / 2,
248
+ y: t.value.bottom - e.yOffset
249
249
  }
250
250
  ],
251
251
  {
@@ -253,28 +253,28 @@ const dt = ["id"], ht = ["onClick"], yt = {
253
253
  }
254
254
  );
255
255
  }), a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? h.value.forEach((e) => {
256
- e.localYLabels.forEach((t, o) => {
256
+ e.localYLabels.forEach((l, o) => {
257
257
  o < e.localYLabels.length - 1 && ze(
258
258
  s.value,
259
259
  [
260
- { x: l.value.left, y: t.y },
261
- { x: l.value.right, y: t.y },
262
- { x: l.value.right, y: e.localYLabels[o + 1].y },
263
- { x: l.value.left, y: e.localYLabels[o + 1].y }
260
+ { x: t.value.left, y: l.y },
261
+ { x: t.value.right, y: l.y },
262
+ { x: t.value.right, y: e.localYLabels[o + 1].y },
263
+ { x: t.value.left, y: e.localYLabels[o + 1].y }
264
264
  ],
265
265
  {
266
- fillColor: o % 2 === 0 ? "transparent" : te(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
266
+ fillColor: o % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
267
267
  strokeColor: "transparent"
268
268
  }
269
269
  );
270
270
  });
271
271
  }) : h.value.forEach((e) => {
272
- e.localYLabels.slice(r.value.start, r.value.end).forEach((t) => {
272
+ e.localYLabels.slice(r.value.start, r.value.end).forEach((l) => {
273
273
  k(
274
274
  s.value,
275
275
  [
276
- { x: l.value.left, y: t.y },
277
- { x: l.value.right, y: t.y }
276
+ { x: t.value.left, y: l.y },
277
+ { x: t.value.right, y: l.y }
278
278
  ],
279
279
  {
280
280
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -285,8 +285,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
285
285
  k(
286
286
  s.value,
287
287
  [
288
- { x: l.value.left, y: e.localZero },
289
- { x: l.value.right, y: e.localZero }
288
+ { x: t.value.left, y: e.localZero },
289
+ { x: t.value.right, y: e.localZero }
290
290
  ],
291
291
  {
292
292
  color: a.value.style.chart.grid.zeroLine.color,
@@ -297,8 +297,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
297
297
  k(
298
298
  s.value,
299
299
  [
300
- { x: l.value.left, y: l.value.bottom - e.yOffset },
301
- { x: l.value.left, y: l.value.bottom - e.yOffset - e.individualHeight }
300
+ { x: t.value.left, y: t.value.bottom - e.yOffset },
301
+ { x: t.value.left, y: t.value.bottom - e.yOffset - e.individualHeight }
302
302
  ],
303
303
  {
304
304
  color: e.color
@@ -306,28 +306,28 @@ const dt = ["id"], ht = ["onClick"], yt = {
306
306
  ), k(
307
307
  s.value,
308
308
  [
309
- { x: l.value.right, y: l.value.bottom - e.yOffset },
310
- { x: l.value.right, y: l.value.bottom - e.yOffset - e.individualHeight }
309
+ { x: t.value.right, y: t.value.bottom - e.yOffset },
310
+ { x: t.value.right, y: t.value.bottom - e.yOffset - e.individualHeight }
311
311
  ],
312
312
  {
313
313
  color: e.color
314
314
  }
315
- ), e.localYLabels.forEach((t, o) => {
316
- N(
315
+ ), e.localYLabels.forEach((l, o) => {
316
+ D(
317
317
  s.value,
318
318
  ee(
319
319
  a.value.style.chart.dataLabels.formatter,
320
- t.value,
320
+ l.value,
321
321
  ae({
322
322
  p: e.prefix || a.value.style.chart.grid.y.axisLabels.prefix || "",
323
- v: t.value,
323
+ v: l.value,
324
324
  s: e.suffix || a.value.style.chart.grid.y.axisLabels.suffix || "",
325
325
  r: e.rounding || a.value.style.chart.grid.y.axisLabels.rounding || 0
326
326
  }),
327
- { datapoint: t, seriesIndex: o }
327
+ { datapoint: l, seriesIndex: o }
328
328
  ),
329
- t.x + a.value.style.chart.grid.y.axisLabels.offsetX,
330
- t.y,
329
+ l.x + a.value.style.chart.grid.y.axisLabels.offsetX,
330
+ l.y,
331
331
  {
332
332
  align: "right",
333
333
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -336,11 +336,11 @@ const dt = ["id"], ht = ["onClick"], yt = {
336
336
  );
337
337
  });
338
338
  }), h.value.forEach((e) => {
339
- N(
339
+ D(
340
340
  s.value,
341
341
  e.name,
342
342
  y.value / 35,
343
- l.value.bottom - e.yOffset - e.individualHeight / 2,
343
+ t.value.bottom - e.yOffset - e.individualHeight / 2,
344
344
  {
345
345
  align: "center",
346
346
  rotation: -90,
@@ -355,8 +355,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
355
355
  k(
356
356
  s.value,
357
357
  [
358
- { x: l.value.left + l.value.slot * e, y: l.value.top },
359
- { x: l.value.left + l.value.slot * e, y: l.value.bottom }
358
+ { x: t.value.left + t.value.slot * e, y: t.value.top },
359
+ { x: t.value.left + t.value.slot * e, y: t.value.bottom }
360
360
  ],
361
361
  {
362
362
  color: a.value.style.chart.grid.y.verticalLines.color
@@ -367,24 +367,24 @@ const dt = ["id"], ht = ["onClick"], yt = {
367
367
  e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
368
368
  s.value,
369
369
  [
370
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.top },
371
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.bottom }
370
+ { x: t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2, y: t.value.top },
371
+ { x: t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2, y: t.value.bottom }
372
372
  ],
373
373
  {
374
374
  color: a.value.style.chart.grid.y.verticalLines.color
375
375
  }
376
376
  );
377
- a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, t) => {
378
- t < m.value.yLabels.length - 1 && ze(
377
+ a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, l) => {
378
+ l < m.value.yLabels.length - 1 && ze(
379
379
  s.value,
380
380
  [
381
- { x: l.value.left, y: e.y },
382
- { x: l.value.right, y: e.y },
383
- { x: l.value.right, y: m.value.yLabels[t + 1].y },
384
- { x: l.value.left, y: m.value.yLabels[t + 1].y }
381
+ { x: t.value.left, y: e.y },
382
+ { x: t.value.right, y: e.y },
383
+ { x: t.value.right, y: m.value.yLabels[l + 1].y },
384
+ { x: t.value.left, y: m.value.yLabels[l + 1].y }
385
385
  ],
386
386
  {
387
- fillColor: t % 2 === 0 ? "transparent" : te(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
387
+ fillColor: l % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
388
388
  strokeColor: "transparent"
389
389
  }
390
390
  );
@@ -392,8 +392,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
392
392
  k(
393
393
  s.value,
394
394
  [
395
- { x: l.value.left, y: e.y },
396
- { x: l.value.right, y: e.y }
395
+ { x: t.value.left, y: e.y },
396
+ { x: t.value.right, y: e.y }
397
397
  ],
398
398
  {
399
399
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -402,8 +402,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
402
402
  })), a.value.style.chart.grid.y.showAxis && k(
403
403
  s.value,
404
404
  [
405
- { x: l.value.left, y: l.value.top },
406
- { x: l.value.left, y: l.value.bottom }
405
+ { x: t.value.left, y: t.value.top },
406
+ { x: t.value.left, y: t.value.bottom }
407
407
  ],
408
408
  {
409
409
  color: a.value.style.chart.grid.y.axisColor,
@@ -412,8 +412,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
412
412
  ), a.value.style.chart.grid.x.showAxis && k(
413
413
  s.value,
414
414
  [
415
- { x: l.value.left, y: l.value.bottom },
416
- { x: l.value.right, y: l.value.bottom }
415
+ { x: t.value.left, y: t.value.bottom },
416
+ { x: t.value.right, y: t.value.bottom }
417
417
  ],
418
418
  {
419
419
  color: a.value.style.chart.grid.x.axisColor,
@@ -422,15 +422,15 @@ const dt = ["id"], ht = ["onClick"], yt = {
422
422
  ), a.value.style.chart.grid.zeroLine.show && k(
423
423
  s.value,
424
424
  [
425
- { x: l.value.left, y: m.value.zero },
426
- { x: l.value.right, y: m.value.zero }
425
+ { x: t.value.left, y: m.value.zero },
426
+ { x: t.value.right, y: m.value.zero }
427
427
  ],
428
428
  {
429
429
  color: a.value.style.chart.grid.zeroLine.color,
430
430
  lineDash: a.value.style.chart.grid.zeroLine.dashed ? [10, 10] : [0, 0]
431
431
  }
432
- ), a.value.style.chart.grid.y.axisLabels.show && m.value.yLabels.forEach((e, t) => {
433
- N(
432
+ ), a.value.style.chart.grid.y.axisLabels.show && m.value.yLabels.forEach((e, l) => {
433
+ D(
434
434
  s.value,
435
435
  ee(
436
436
  a.value.style.chart.dataLabels.formatter,
@@ -441,7 +441,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
441
441
  s: a.value.style.chart.grid.y.axisLabels.suffix || "",
442
442
  r: a.value.style.chart.grid.y.axisLabels.rounding || 0
443
443
  }),
444
- { datapoint: e, seriesIndex: t }
444
+ { datapoint: e, seriesIndex: l }
445
445
  ),
446
446
  e.x + a.value.style.chart.grid.y.axisLabels.offsetX,
447
447
  e.y,
@@ -453,22 +453,22 @@ const dt = ["id"], ht = ["onClick"], yt = {
453
453
  );
454
454
  });
455
455
  }
456
- a.value.style.chart.grid.y.axisName && N(
456
+ a.value.style.chart.grid.y.axisName && D(
457
457
  s.value,
458
458
  a.value.style.chart.grid.y.axisName,
459
459
  y.value - y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
460
- l.value.bottom - l.value.height / 2,
460
+ t.value.bottom - t.value.height / 2,
461
461
  {
462
462
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
463
463
  color: a.value.style.chart.color,
464
464
  align: "center",
465
465
  rotation: 90
466
466
  }
467
- ), a.value.style.chart.grid.x.axisName && N(
467
+ ), a.value.style.chart.grid.x.axisName && D(
468
468
  s.value,
469
469
  a.value.style.chart.grid.x.axisName,
470
470
  y.value / 2,
471
- P.value,
471
+ R.value,
472
472
  {
473
473
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
474
474
  color: a.value.style.chart.color,
@@ -477,11 +477,11 @@ const dt = ["id"], ht = ["onClick"], yt = {
477
477
  );
478
478
  }
479
479
  function ba(e) {
480
- for (let t = 0; t < e.coordinatesLine.length; t += 1) {
481
- const o = (d.value === t ? y.value / 150 : a.value.style.chart.line.plots.show ? y.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
480
+ for (let l = 0; l < e.coordinatesLine.length; l += 1) {
481
+ const o = (d.value === l ? y.value / 150 : a.value.style.chart.line.plots.show ? y.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
482
482
  ra(
483
483
  s.value,
484
- { x: e.coordinatesLine[t].x, y: e.coordinatesLine[t].y },
484
+ { x: e.coordinatesLine[l].x, y: e.coordinatesLine[l].y },
485
485
  o,
486
486
  {
487
487
  color: a.value.style.chart.backgroundColor,
@@ -492,22 +492,22 @@ const dt = ["id"], ht = ["onClick"], yt = {
492
492
  }
493
493
  }
494
494
  function xa(e) {
495
- for (let t = 0; t < e.coordinatesLine.length; t += 1)
496
- N(
495
+ for (let l = 0; l < e.coordinatesLine.length; l += 1)
496
+ D(
497
497
  s.value,
498
498
  ee(
499
499
  a.value.style.chart.dataLabels.formatter,
500
- e.coordinatesLine[t].value,
500
+ e.coordinatesLine[l].value,
501
501
  ae({
502
502
  p: e.prefix || "",
503
- v: e.coordinatesLine[t].value,
503
+ v: e.coordinatesLine[l].value,
504
504
  s: e.suffix || "",
505
505
  r: e.rounding || 0
506
506
  }),
507
- { datapoint: e.coordinatesLine[t], seriesIndex: t }
507
+ { datapoint: e.coordinatesLine[l], seriesIndex: l }
508
508
  ),
509
- e.coordinatesLine[t].x,
510
- e.coordinatesLine[t].y + a.value.style.chart.dataLabels.offsetY,
509
+ e.coordinatesLine[l].x,
510
+ e.coordinatesLine[l].y + a.value.style.chart.dataLabels.offsetY,
511
511
  {
512
512
  align: "center",
513
513
  font: `${Math.round(y.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -519,15 +519,15 @@ const dt = ["id"], ht = ["onClick"], yt = {
519
519
  }
520
520
  function La() {
521
521
  for (let e = r.value.start; e < r.value.end; e += 1)
522
- (r.value.end - r.value.start < a.value.style.chart.grid.y.timeLabels.modulo || r.value.end - r.value.start >= a.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + r.value.start)) && N(
522
+ (r.value.end - r.value.start < a.value.style.chart.grid.y.timeLabels.modulo || r.value.end - r.value.start >= a.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + r.value.start)) && D(
523
523
  s.value,
524
524
  a.value.style.chart.grid.y.timeLabels.values[e] || e + 1,
525
- l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2,
526
- l.value.bottom + y.value / a.value.style.chart.grid.y.timeLabels.offsetY,
525
+ t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2,
526
+ t.value.bottom + y.value / a.value.style.chart.grid.y.timeLabels.offsetY,
527
527
  {
528
528
  align: a.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : a.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
529
529
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
530
- color: te(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
530
+ color: le(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
531
531
  rotation: a.value.style.chart.grid.y.timeLabels.rotation
532
532
  }
533
533
  );
@@ -536,8 +536,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
536
536
  k(
537
537
  s.value,
538
538
  [
539
- { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.top },
540
- { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.bottom }
539
+ { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.top },
540
+ { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.bottom }
541
541
  ],
542
542
  {
543
543
  color: a.value.style.chart.selector.color,
@@ -548,25 +548,25 @@ const dt = ["id"], ht = ["onClick"], yt = {
548
548
  );
549
549
  }
550
550
  function ka() {
551
- C.value.forEach((e, t) => {
551
+ C.value.forEach((e, l) => {
552
552
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
553
553
  ze(
554
554
  s.value,
555
555
  [
556
556
  {
557
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)),
557
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / C.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * C.value.length) * l)),
558
558
  y: u.value.stacked ? e.localZero : m.value.zero
559
559
  },
560
560
  {
561
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
561
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / C.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * C.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
562
562
  y: u.value.stacked ? e.localZero : m.value.zero
563
563
  },
564
564
  {
565
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
565
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / C.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * C.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
566
566
  y: e.coordinatesLine[o].y
567
567
  },
568
568
  {
569
- x: l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)),
569
+ x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / C.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * C.value.length) * l)),
570
570
  y: e.coordinatesLine[o].y
571
571
  }
572
572
  ],
@@ -588,7 +588,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
588
588
  ]
589
589
  }
590
590
  }
591
- ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && N(
591
+ ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && D(
592
592
  s.value,
593
593
  ee(
594
594
  a.value.style.chart.dataLabels.formatter,
@@ -601,7 +601,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
601
601
  }),
602
602
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
603
603
  ),
604
- l.value.left + l.value.slot * o + l.value.slot / 10 + (u.value.stacked ? 0 : l.value.slot / C.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * C.value.length) * t)) + l.value.slot * 0.4 / (u.value.stacked ? 1 : C.value.length),
604
+ t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / C.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * C.value.length) * l)) + t.value.slot * 0.4 / (u.value.stacked ? 1 : C.value.length),
605
605
  (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : m.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
606
606
  {
607
607
  align: "center",
@@ -618,14 +618,14 @@ const dt = ["id"], ht = ["onClick"], yt = {
618
618
  s.value,
619
619
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
620
620
  {
621
- fillColor: te(e.color, a.value.style.chart.area.opacity),
621
+ fillColor: le(e.color, a.value.style.chart.area.opacity),
622
622
  strokeColor: "transparent"
623
623
  }
624
624
  ) : ua(
625
625
  s.value,
626
626
  [{ x: e.coordinatesLine[0].x, y: m.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: m.value.zero }],
627
627
  {
628
- fillColor: te(e.color, a.value.style.chart.area.opacity),
628
+ fillColor: le(e.color, a.value.style.chart.area.opacity),
629
629
  strokeColor: "transparent"
630
630
  }
631
631
  ) : k(s.value, e.coordinatesLine, {
@@ -634,12 +634,12 @@ const dt = ["id"], ht = ["onClick"], yt = {
634
634
  });
635
635
  }
636
636
  function wa() {
637
- h.value.forEach((e, t) => {
637
+ h.value.forEach((e, l) => {
638
638
  k(
639
639
  s.value,
640
640
  [
641
- { x: l.value.left, y: l.value.bottom - e.yOffset },
642
- { x: l.value.right, y: l.value.bottom - e.yOffset }
641
+ { x: t.value.left, y: t.value.bottom - e.yOffset },
642
+ { x: t.value.right, y: t.value.bottom - e.yOffset }
643
643
  ],
644
644
  {
645
645
  color: a.value.style.chart.grid.x.horizontalLines.color,
@@ -649,7 +649,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
649
649
  });
650
650
  }
651
651
  function xe() {
652
- ma(), A.value ? (T.value && d.value !== null && a.value.style.chart.selector.show && Ve(), ka(), u.value.stacked && a.value.style.chart.grid.x.showAxis && wa(), ga.value.forEach((e) => {
652
+ ma(), N.value ? (T.value && d.value !== null && a.value.style.chart.selector.show && Ve(), ka(), u.value.stacked && a.value.style.chart.grid.x.showAxis && wa(), ga.value.forEach((e) => {
653
653
  (e.type === "line" || !e.type) && Ca(e), T.value && (ba(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && xa(e));
654
654
  }), ye.value = Ja(M.value)) : (ye.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ye.value, 0, 0)), T.value && d.value !== null && a.value.style.chart.selector.show && Ve(), T.value && d.value !== null && h.value.forEach((e) => {
655
655
  if (e.type === "line" || !e.type || e.type === "plot") {
@@ -668,19 +668,19 @@ const dt = ["id"], ht = ["onClick"], yt = {
668
668
  }
669
669
  );
670
670
  }
671
- })), a.value.style.chart.grid.y.timeLabels.show && La(), A.value = !1;
671
+ })), a.value.style.chart.grid.y.timeLabels.show && La(), N.value = !1;
672
672
  }
673
673
  const ue = qa(() => {
674
674
  T.value = !0, pa();
675
675
  }, I.value > 200 ? 10 : 1, !T.value);
676
676
  function za(e) {
677
- const { left: t } = M.value.getBoundingClientRect(), o = e.clientX - t;
678
- if (o * 2 < l.value.left || o * 2 > l.value.right) {
679
- le.value = !1, d.value = null;
677
+ const { left: l } = M.value.getBoundingClientRect(), o = e.clientX - l;
678
+ if (o * 2 < t.value.left || o * 2 > t.value.right) {
679
+ te.value = !1, d.value = null;
680
680
  return;
681
681
  }
682
- const v = o * 2 - l.value.left;
683
- if (d.value = Math.floor(v / l.value.slot), le.value = !0, !T.value) return;
682
+ const v = o * 2 - t.value.left;
683
+ if (d.value = Math.floor(v / t.value.slot), te.value = !0, !T.value) return;
684
684
  let c = "";
685
685
  const g = a.value.style.chart.tooltip.customFormat;
686
686
  oa(g) && Va(() => g({
@@ -707,19 +707,19 @@ const dt = ["id"], ht = ["onClick"], yt = {
707
707
  config: a.value
708
708
  }) : (a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value] && (c += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${a.value.style.chart.tooltip.borderColor}; width:100%">${a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[d.value]}</div>`), c += ya.value.join(""), oe.value = c), T.value = !1;
709
709
  }
710
- D(() => d.value, (e) => {
710
+ A(() => d.value, (e) => {
711
711
  ue();
712
- }), D(() => r.value, (e) => {
713
- A.value = !0, xe();
712
+ }), A(() => r.value, (e) => {
713
+ N.value = !0, xe();
714
714
  }, {
715
715
  deep: !0
716
- }), D(() => u.value.showDataLabels, (e) => {
717
- A.value = !0, xe();
718
- }), D(() => u.value.stacked, (e) => {
719
- A.value = !0, T.value = !0, ue();
716
+ }), A(() => u.value.showDataLabels, (e) => {
717
+ N.value = !0, xe();
718
+ }), A(() => u.value.stacked, (e) => {
719
+ N.value = !0, T.value = !0, ue();
720
720
  });
721
721
  function Sa() {
722
- le.value = !1, d.value = null, oe.value = "";
722
+ te.value = !1, d.value = null, oe.value = "";
723
723
  }
724
724
  const se = i(null), ne = i(null);
725
725
  aa(() => {
@@ -731,32 +731,32 @@ const dt = ["id"], ht = ["onClick"], yt = {
731
731
  type: "dataset"
732
732
  }) : M.value && (s.value = M.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
733
733
  const e = Ka(() => {
734
- const { width: t, height: o } = Qa({
734
+ const { width: l, height: o } = Qa({
735
735
  chart: Z.value,
736
736
  title: a.value.style.chart.title.text ? Te.value : null,
737
737
  legend: a.value.style.chart.legend.show ? Oe.value : null,
738
- slicer: a.value.style.chart.zoom.show && I.value > 1 ? Pe.value : null,
739
- source: Re.value
738
+ slicer: a.value.style.chart.zoom.show && I.value > 1 ? Re.value : null,
739
+ source: Pe.value
740
740
  });
741
- Ae.value = `${t} / ${o}`;
741
+ Ne.value = `${l} / ${o}`;
742
742
  });
743
743
  se.value = new ResizeObserver(e), se.value.observe(Z.value.parentNode);
744
744
  }
745
745
  ne.value = new ResizeObserver((e) => {
746
- for (const t of e)
747
- t.contentBoxSize && G.value && (A.value = !0, ue());
746
+ for (const l of e)
747
+ l.contentBoxSize && G.value && (N.value = !0, ue());
748
748
  }), ne.value.observe(G.value), Be();
749
749
  }
750
750
  Oa(() => {
751
751
  ne.value && ne.value.disconnect(), se.value && se.value.disconnect();
752
752
  });
753
753
  function Ze(e) {
754
- ia("selectLegend", h.value.find((t) => t.absoluteIndex === e)), $.value.includes(e) ? $.value = $.value.filter((t) => t !== e) : $.value.push(e), A.value = !0, ue();
754
+ ia("selectLegend", h.value.find((l) => l.absoluteIndex === e)), $.value.includes(e) ? $.value = $.value.filter((l) => l !== e) : $.value.push(e), N.value = !0, ue();
755
755
  }
756
- const Ge = x(() => W.value.map((e, t) => ({
756
+ const Ge = x(() => W.value.map((e, l) => ({
757
757
  ...e,
758
758
  name: e.name,
759
- color: la(e.color) || We.value[t] || H[t] || H[t % H.length],
759
+ color: ta(e.color) || We.value[l] || _[l] || _[l % _.length],
760
760
  shape: e.shape || "circle",
761
761
  prefix: e.prefix || "",
762
762
  suffix: e.suffix || "",
@@ -775,10 +775,10 @@ const dt = ["id"], ht = ["onClick"], yt = {
775
775
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
776
776
  })), ie = x(() => {
777
777
  const e = [""].concat(h.value.map((c) => c.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
778
- let t = [];
778
+ let l = [];
779
779
  for (let c = 0; c < I.value; c += 1) {
780
780
  const g = h.value.map((n) => n.series[c] ?? 0).reduce((n, p) => n + p, 0);
781
- t.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((n) => (n.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((g ?? 0).toFixed(a.value.table.rounding)));
781
+ l.push([a.value.style.chart.grid.y.timeLabels.values.slice(r.value.start, r.value.end)[c] ?? c + 1].concat(h.value.map((n) => (n.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((g ?? 0).toFixed(a.value.table.rounding)));
782
782
  }
783
783
  const o = {
784
784
  th: {
@@ -793,24 +793,24 @@ const dt = ["id"], ht = ["onClick"], yt = {
793
793
  },
794
794
  breakpoint: a.value.table.responsiveBreakpoint
795
795
  }, v = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
796
- return { head: e, body: t.slice(0, r.value.end - r.value.start), config: o, colNames: v };
796
+ return { head: e, body: l.slice(0, r.value.end - r.value.start), config: o, colNames: v };
797
797
  }), je = x(() => {
798
798
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
799
799
  const e = h.value.map((o) => ({
800
800
  label: o.name,
801
801
  color: o.color,
802
802
  type: o.type
803
- })), t = [];
803
+ })), l = [];
804
804
  for (let o = r.value.start; o < r.value.end; o += 1) {
805
805
  const v = [a.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
806
806
  h.value.forEach((c) => {
807
807
  v.push(Number((c.series[o] || 0).toFixed(a.value.table.rounding)));
808
- }), t.push(v);
808
+ }), l.push(v);
809
809
  }
810
- return { head: e, body: t };
810
+ return { head: e, body: l };
811
811
  });
812
812
  function qe() {
813
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...je.value.head.map((g) => g.label)], o = je.value.body, v = e.concat([t]).concat(o), c = Za(v);
813
+ const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...je.value.head.map((g) => g.label)], o = je.value.body, v = e.concat([l]).concat(o), c = Za(v);
814
814
  Ga({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
815
815
  }
816
816
  function Ia() {
@@ -835,21 +835,21 @@ const dt = ["id"], ht = ["onClick"], yt = {
835
835
  return na({
836
836
  getData: Ia,
837
837
  generateCsv: qe,
838
- generatePdf: He,
838
+ generatePdf: _e,
839
839
  generateImage: Ue,
840
840
  toggleTable: Je,
841
841
  toggleLabels: Ke,
842
842
  toggleStack: Qe,
843
843
  toggleTooltip: ea,
844
844
  toggleAnnotator: ke
845
- }), (e, t) => (z(), K("div", {
845
+ }), (e, l) => (z(), K("div", {
846
846
  style: Y(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
847
847
  ref_key: "xy",
848
848
  ref: Z,
849
849
  id: `xy_canvas_${he.value}`,
850
- class: Pa(`vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
851
- onMouseenter: t[5] || (t[5] = () => S(Fe)(!0)),
852
- onMouseleave: t[6] || (t[6] = () => S(Fe)(!1))
850
+ class: Ra(`vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
851
+ onMouseenter: l[5] || (l[5] = () => S(Fe)(!0)),
852
+ onMouseleave: l[6] || (l[6] = () => S(Fe)(!1))
853
853
  }, [
854
854
  a.value.style.chart.title.text ? (z(), K("div", {
855
855
  key: 0,
@@ -857,7 +857,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
857
857
  ref: Te,
858
858
  style: Y(`width:100%;background:${a.value.style.chart.backgroundColor};`)
859
859
  }, [
860
- (z(), E(tt, {
860
+ (z(), E(ll, {
861
861
  key: `title_${fe.value}`,
862
862
  config: {
863
863
  title: {
@@ -870,14 +870,14 @@ const dt = ["id"], ht = ["onClick"], yt = {
870
870
  }
871
871
  }
872
872
  }, null, 8, ["config"]))
873
- ], 4)) : _("", !0),
874
- a.value.userOptions.show && me.value && (S(Ee) || S(be)) ? (z(), E(rt, {
873
+ ], 4)) : H("", !0),
874
+ a.value.userOptions.show && me.value && (S(Ee) || S(be)) ? (z(), E(rl, {
875
875
  ref: "details",
876
876
  key: `user_option_${Me.value}`,
877
877
  backgroundColor: a.value.style.chart.backgroundColor,
878
878
  color: a.value.style.chart.color,
879
- isPrinting: S(De),
880
- isImaging: S(_e),
879
+ isPrinting: S(Ae),
880
+ isImaging: S(He),
881
881
  uid: he.value,
882
882
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
883
883
  hasPdf: a.value.userOptions.buttons.pdf,
@@ -896,7 +896,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
896
896
  hasAnnotator: a.value.userOptions.buttons.annotator,
897
897
  isAnnotation: ve.value,
898
898
  onToggleFullscreen: da,
899
- onGeneratePdf: S(He),
899
+ onGeneratePdf: S(_e),
900
900
  onGenerateCsv: qe,
901
901
  onGenerateImage: S(Ue),
902
902
  onToggleTable: Je,
@@ -907,7 +907,7 @@ const dt = ["id"], ht = ["onClick"], yt = {
907
907
  style: Y({
908
908
  visibility: S(Ee) ? S(be) ? "visible" : "hidden" : "visible"
909
909
  })
910
- }, Ra({ _: 2 }, [
910
+ }, Pa({ _: 2 }, [
911
911
  e.$slots.optionTooltip ? {
912
912
  name: "optionTooltip",
913
913
  fn: b(() => [
@@ -971,10 +971,10 @@ const dt = ["id"], ht = ["onClick"], yt = {
971
971
  ]),
972
972
  key: "8"
973
973
  } : void 0
974
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : _("", !0),
974
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : H("", !0),
975
975
  Q("div", {
976
976
  class: "vue-ui-xy-canvas",
977
- style: Y(`position: relative; aspect-ratio: ${Ae.value}`),
977
+ style: Y(`position: relative; aspect-ratio: ${Ne.value}`),
978
978
  ref_key: "container",
979
979
  ref: G
980
980
  }, [
@@ -983,9 +983,9 @@ const dt = ["id"], ht = ["onClick"], yt = {
983
983
  ref_key: "canvas",
984
984
  ref: M,
985
985
  style: { width: "100%", height: "100%" },
986
- onMousemove: t[0] || (t[0] = (o) => za(o)),
986
+ onMousemove: l[0] || (l[0] = (o) => za(o)),
987
987
  onMouseleave: Sa
988
- }, null, 544)) : (z(), E(nt, {
988
+ }, null, 544)) : (z(), E(nl, {
989
989
  key: 1,
990
990
  config: {
991
991
  type: "line",
@@ -1003,8 +1003,8 @@ const dt = ["id"], ht = ["onClick"], yt = {
1003
1003
  }
1004
1004
  }
1005
1005
  }, null, 8, ["config"])),
1006
- Fa(et, {
1007
- show: u.value.showTooltip && le.value,
1006
+ Fa(el, {
1007
+ show: u.value.showTooltip && te.value,
1008
1008
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
1009
1009
  color: a.value.style.chart.tooltip.color,
1010
1010
  fontSize: a.value.style.chart.tooltip.fontSize,
@@ -1030,11 +1030,11 @@ const dt = ["id"], ht = ["onClick"], yt = {
1030
1030
  ], 4),
1031
1031
  Q("div", {
1032
1032
  ref_key: "chartSlicer",
1033
- ref: Pe,
1033
+ ref: Re,
1034
1034
  style: Y(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1035
1035
  "data-html2canvas-ignore": ""
1036
1036
  }, [
1037
- a.value.style.chart.zoom.show && I.value > 1 ? (z(), E(lt, {
1037
+ a.value.style.chart.zoom.show && I.value > 1 ? (z(), E(tl, {
1038
1038
  ref_key: "slicerComponent",
1039
1039
  ref: X,
1040
1040
  key: `slicer_${Ie.value}`,
@@ -1052,34 +1052,36 @@ const dt = ["id"], ht = ["onClick"], yt = {
1052
1052
  valueStart: r.value.start,
1053
1053
  valueEnd: r.value.end,
1054
1054
  start: r.value.start,
1055
- "onUpdate:start": t[1] || (t[1] = (o) => r.value.start = o),
1055
+ "onUpdate:start": l[1] || (l[1] = (o) => r.value.start = o),
1056
1056
  end: r.value.end,
1057
- "onUpdate:end": t[2] || (t[2] = (o) => r.value.end = o),
1057
+ "onUpdate:end": l[2] || (l[2] = (o) => r.value.end = o),
1058
1058
  refreshStartPoint: a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex : 0,
1059
1059
  refreshEndPoint: a.value.style.chart.zoom.endIndex !== null ? a.value.style.chart.zoom.endIndex + 1 : I.value,
1060
+ enableRangeHandles: a.value.style.chart.zoom.enableRangeHandles,
1061
+ enableSelectionDrag: a.value.style.chart.zoom.enableSelectionDrag,
1060
1062
  onReset: Ye
1061
1063
  }, {
1062
1064
  "reset-action": b(({ reset: o }) => [
1063
1065
  L(e.$slots, "reset-action", B(V({ reset: o })), void 0, !0)
1064
1066
  ]),
1065
1067
  _: 3
1066
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : _("", !0)
1068
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "enableRangeHandles", "enableSelectionDrag"])) : H("", !0)
1067
1069
  ], 4),
1068
1070
  Q("div", {
1069
1071
  ref_key: "chartLegend",
1070
1072
  ref: Oe
1071
1073
  }, [
1072
- a.value.style.chart.legend.show && me.value ? (z(), E(at, {
1074
+ a.value.style.chart.legend.show && me.value ? (z(), E(al, {
1073
1075
  legendSet: Ge.value,
1074
1076
  config: $a.value,
1075
1077
  key: `legend_${pe.value}`,
1076
- onClickMarker: t[3] || (t[3] = ({ i: o }) => Ze(o))
1078
+ onClickMarker: l[3] || (l[3] = ({ i: o }) => Ze(o))
1077
1079
  }, {
1078
1080
  item: b(({ legend: o, index: v }) => [
1079
1081
  Q("div", {
1080
1082
  onClick: (c) => o.segregate(),
1081
1083
  style: Y(`opacity:${$.value.includes(v) ? 0.5 : 1}`)
1082
- }, ta(o.name), 13, ht)
1084
+ }, la(o.name), 13, hl)
1083
1085
  ]),
1084
1086
  _: 1
1085
1087
  }, 8, ["legendSet", "config"])) : L(e.$slots, "legend", {
@@ -1087,18 +1089,18 @@ const dt = ["id"], ht = ["onClick"], yt = {
1087
1089
  legend: Ge.value
1088
1090
  }, void 0, !0)
1089
1091
  ], 512),
1090
- e.$slots.watermark ? (z(), K("div", yt, [
1091
- L(e.$slots, "watermark", B(V({ isPrinting: S(De) || S(_e) })), void 0, !0)
1092
- ])) : _("", !0),
1092
+ e.$slots.watermark ? (z(), K("div", yl, [
1093
+ L(e.$slots, "watermark", B(V({ isPrinting: S(Ae) || S(He) })), void 0, !0)
1094
+ ])) : H("", !0),
1093
1095
  e.$slots.source ? (z(), K("div", {
1094
1096
  key: 3,
1095
1097
  ref_key: "source",
1096
- ref: Re,
1098
+ ref: Pe,
1097
1099
  dir: "auto"
1098
1100
  }, [
1099
1101
  L(e.$slots, "source", {}, void 0, !0)
1100
- ], 512)) : _("", !0),
1101
- r.value.end - r.value.start < 200 ? (z(), E(ut, {
1102
+ ], 512)) : H("", !0),
1103
+ r.value.end - r.value.start < 200 ? (z(), E(ul, {
1102
1104
  key: 4,
1103
1105
  hideDetails: "",
1104
1106
  config: {
@@ -1115,37 +1117,37 @@ const dt = ["id"], ht = ["onClick"], yt = {
1115
1117
  }
1116
1118
  }, {
1117
1119
  content: b(() => [
1118
- (z(), E(st, {
1120
+ (z(), E(sl, {
1119
1121
  key: `table_${ge.value}`,
1120
1122
  colNames: ie.value.colNames,
1121
1123
  head: ie.value.head,
1122
1124
  body: ie.value.body,
1123
1125
  config: ie.value.config,
1124
1126
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1125
- onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1127
+ onClose: l[4] || (l[4] = (o) => u.value.showTable = !1)
1126
1128
  }, {
1127
1129
  th: b(({ th: o }) => [
1128
- Q("div", { innerHTML: o }, null, 8, ft)
1130
+ Q("div", { innerHTML: o }, null, 8, fl)
1129
1131
  ]),
1130
1132
  td: b(({ td: o }) => [
1131
- Ea(ta(o), 1)
1133
+ Ea(la(o), 1)
1132
1134
  ]),
1133
1135
  _: 1
1134
1136
  }, 8, ["colNames", "head", "body", "config", "title"]))
1135
1137
  ]),
1136
1138
  _: 1
1137
- }, 8, ["config"])) : _("", !0),
1138
- a.value.userOptions.buttons.annotator && h.value.length ? (z(), E(it, {
1139
+ }, 8, ["config"])) : H("", !0),
1140
+ a.value.userOptions.buttons.annotator && h.value.length ? (z(), E(il, {
1139
1141
  key: 5,
1140
1142
  parent: Z.value,
1141
1143
  backgroundColor: a.value.style.chart.backgroundColor,
1142
1144
  color: a.value.style.chart.color,
1143
1145
  active: ve.value,
1144
1146
  onClose: ke
1145
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
1146
- ], 46, dt));
1147
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : H("", !0)
1148
+ ], 46, dl));
1147
1149
  }
1148
- }, Pt = /* @__PURE__ */ ct(gt, [["__scopeId", "data-v-c9593b73"]]);
1150
+ }, Rl = /* @__PURE__ */ cl(gl, [["__scopeId", "data-v-fbe7238f"]]);
1149
1151
  export {
1150
- Pt as default
1152
+ Rl as default
1151
1153
  };