vue-data-ui 2.4.21 → 2.4.23

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 (150) hide show
  1. package/dist/{Arrow-BuVX2WoN.js → Arrow-9iDBAuSV.js} +1 -1
  2. package/dist/{Arrow-DDe-g8rw.cjs → Arrow-DHtg3zTZ.cjs} +1 -1
  3. package/dist/{BaseIcon-BdKOa64A.cjs → BaseIcon-CZcJp0BK.cjs} +1 -1
  4. package/dist/{BaseIcon-BRSPQaGQ.js → BaseIcon-Cupc3HpM.js} +1 -1
  5. package/dist/{DataTable-H-KTkjfv.cjs → DataTable-CKU2-3VH.cjs} +1 -1
  6. package/dist/{DataTable-BpVz3DBX.js → DataTable-DpgVCStr.js} +2 -2
  7. package/dist/{Legend-hnLfwhmm.js → Legend-BItqGLYs.js} +1 -1
  8. package/dist/{Legend-G5Zc4QaZ.cjs → Legend-Lx_cdBGO.cjs} +1 -1
  9. package/dist/{PackageVersion-wqab02xF.js → PackageVersion-COTfkq01.js} +1 -1
  10. package/dist/{PackageVersion-BbQFSVXm.cjs → PackageVersion-KNK0JwMQ.cjs} +1 -1
  11. package/dist/{PenAndPaper-C_laA5mt.js → PenAndPaper-CCFQ3lIj.js} +3 -3
  12. package/dist/{PenAndPaper-BX8pR5oV.cjs → PenAndPaper-CUZAR9sb.cjs} +1 -1
  13. package/dist/{Shape-CJbFv4bs.cjs → Shape-CHo_V5NA.cjs} +1 -1
  14. package/dist/{Shape-QdnXSUyn.js → Shape-CNgd2ODn.js} +1 -1
  15. package/dist/{Slicer-DV1kBscZ.js → Slicer-1C1usd0L.js} +2 -2
  16. package/dist/{Slicer-C1blYfez.cjs → Slicer-DFzd-3uU.cjs} +1 -1
  17. package/dist/{Title-DBozX6nP.js → Title-ZcAPoasN.js} +1 -1
  18. package/dist/{Title-BRqTk-nT.cjs → Title-kzPAj9Bx.cjs} +1 -1
  19. package/dist/{Tooltip-Com_T8vc.js → Tooltip-CUGz5S0n.js} +1 -1
  20. package/dist/{Tooltip-DvGSIp31.cjs → Tooltip-rrH-I4us.cjs} +1 -1
  21. package/dist/index-BkeVohkW.cjs +9 -0
  22. package/dist/{index-hV0hU1iE.js → index-CWlhzm6K.js} +4 -2
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -0
  25. package/dist/types/vue-data-ui.d.ts +4 -0
  26. package/dist/{useNestedProp-CRAUOmT5.js → useNestedProp-DH41HJ08.js} +1 -1
  27. package/dist/{useNestedProp-DSYpaLxP.cjs → useNestedProp-Dp6z-Sc4.cjs} +1 -1
  28. package/dist/{usePrinter-O2fMMTMe.cjs → usePrinter-DHOJP772.cjs} +1 -1
  29. package/dist/{usePrinter-y3d31M4g.js → usePrinter-DPAte4qe.js} +1 -1
  30. package/dist/{vue-data-ui-bEKZH8jG.js → vue-data-ui-pKAecUSS.js} +58 -58
  31. package/dist/{vue-data-ui-qBad3a6z.cjs → vue-data-ui-qgmGN1Q3.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-f7YaBbrh.js → vue-ui-3d-bar-BXCwShkR.js} +9 -9
  35. package/dist/{vue-ui-3d-bar-CkqKnqQt.cjs → vue-ui-3d-bar-DWuaVLbf.cjs} +1 -1
  36. package/dist/{vue-ui-accordion-CaktYQoo.cjs → vue-ui-accordion-C5v0z_Xf.cjs} +1 -1
  37. package/dist/{vue-ui-accordion-m-s-7akB.js → vue-ui-accordion-DOBaAopj.js} +3 -3
  38. package/dist/{vue-ui-age-pyramid-EKKYQu3N.cjs → vue-ui-age-pyramid-DbPAn9zq.cjs} +1 -1
  39. package/dist/{vue-ui-age-pyramid-DkfNZR86.js → vue-ui-age-pyramid-vyCFJjNt.js} +10 -10
  40. package/dist/{vue-ui-annotator-DrVu5Pu0.js → vue-ui-annotator-DGCuUvcA.js} +1 -1
  41. package/dist/{vue-ui-annotator-v07J6oQG.cjs → vue-ui-annotator-HVCwKP38.cjs} +1 -1
  42. package/dist/{vue-ui-bullet-CYDMehDZ.js → vue-ui-bullet-BQ6KtvIV.js} +8 -8
  43. package/dist/{vue-ui-bullet-CdG92x7A.cjs → vue-ui-bullet-gBARXd6m.cjs} +1 -1
  44. package/dist/{vue-ui-candlestick-D9yN-yRo.cjs → vue-ui-candlestick-CH00Pe-m.cjs} +1 -1
  45. package/dist/{vue-ui-candlestick-Bw1O3QmK.js → vue-ui-candlestick-Cp94bu6U.js} +11 -11
  46. package/dist/{vue-ui-carousel-table-Cg6hAEVv.cjs → vue-ui-carousel-table-ArXyyfTX.cjs} +1 -1
  47. package/dist/{vue-ui-carousel-table-kcQa0FHw.js → vue-ui-carousel-table-DMlpUpov.js} +4 -4
  48. package/dist/{vue-ui-chestnut-Qu8c3_vB.cjs → vue-ui-chestnut-CGFD2NmV.cjs} +1 -1
  49. package/dist/{vue-ui-chestnut-DE1AMXeX.js → vue-ui-chestnut-Ddab6epX.js} +8 -8
  50. package/dist/{vue-ui-cursor-DbfjKtpf.js → vue-ui-cursor-B7c72wC4.js} +2 -2
  51. package/dist/{vue-ui-cursor-DG8oufeh.cjs → vue-ui-cursor-BDlDJKU9.cjs} +1 -1
  52. package/dist/{vue-ui-dashboard-BbwgfxLx.cjs → vue-ui-dashboard-C3v2FoY4.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-CAkCNUBh.js → vue-ui-dashboard-D6YQysXz.js} +2 -2
  54. package/dist/{vue-ui-digits-DgQkxULm.cjs → vue-ui-digits-C5t5G6WA.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BaXAiH4u.js → vue-ui-digits-rKt3WYmo.js} +2 -2
  56. package/dist/{vue-ui-donut-BHzCOBu6.cjs → vue-ui-donut-CIaIft1i.cjs} +1 -1
  57. package/dist/{vue-ui-donut-evolution-C-TkUOr6.cjs → vue-ui-donut-evolution-EaxYPzHO.cjs} +1 -1
  58. package/dist/{vue-ui-donut-evolution-DbU4RlP6.js → vue-ui-donut-evolution-x154QZPU.js} +11 -11
  59. package/dist/{vue-ui-donut-7GM_Wd1Y.js → vue-ui-donut-xEiPs0jw.js} +11 -11
  60. package/dist/{vue-ui-dumbbell-DacMeiTU.cjs → vue-ui-dumbbell-Bhw-LZKD.cjs} +1 -1
  61. package/dist/{vue-ui-dumbbell-BacTx3zB.js → vue-ui-dumbbell-lk9voxo9.js} +10 -10
  62. package/dist/{vue-ui-flow-BUAvjG7i.cjs → vue-ui-flow-D282qMxZ.cjs} +1 -1
  63. package/dist/{vue-ui-flow-D2G0YWL9.js → vue-ui-flow-DDrRUTls.js} +9 -9
  64. package/dist/{vue-ui-galaxy-D6RFyIbQ.js → vue-ui-galaxy-CdrlGwj5.js} +11 -11
  65. package/dist/{vue-ui-galaxy-CxfV3BIw.cjs → vue-ui-galaxy-D1WO8wNh.cjs} +1 -1
  66. package/dist/{vue-ui-gauge-DNJXnyLw.js → vue-ui-gauge-BB0B-afr.js} +7 -7
  67. package/dist/{vue-ui-gauge-CJ5TKJpb.cjs → vue-ui-gauge-CLE1ripj.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-Db7-gRmB.js → vue-ui-gizmo-BwhKySbh.js} +3 -3
  69. package/dist/{vue-ui-gizmo-BBA51j_0.cjs → vue-ui-gizmo-YAVeHEMb.cjs} +1 -1
  70. package/dist/{vue-ui-heatmap-KQj8Jbpt.cjs → vue-ui-heatmap-CA3rX3aP.cjs} +1 -1
  71. package/dist/{vue-ui-heatmap-Ba6RMSTk.js → vue-ui-heatmap-HtfXbdDL.js} +10 -10
  72. package/dist/{vue-ui-kpi-C8wyHy1H.js → vue-ui-kpi-l3PRzR6k.js} +3 -3
  73. package/dist/{vue-ui-kpi-1srKxA1L.cjs → vue-ui-kpi-nA9x9jed.cjs} +1 -1
  74. package/dist/{vue-ui-mini-loader-DutVmCuC.js → vue-ui-mini-loader-08kgYVwW.js} +2 -2
  75. package/dist/{vue-ui-mini-loader-BgKTecng.cjs → vue-ui-mini-loader-C6NkSh4S.cjs} +1 -1
  76. package/dist/{vue-ui-molecule-BOkIojio.js → vue-ui-molecule-BAwlDL6Z.js} +11 -11
  77. package/dist/{vue-ui-molecule-CSezTn3m.cjs → vue-ui-molecule-BP_b5wFi.cjs} +1 -1
  78. package/dist/{vue-ui-mood-radar-CNTDrRs6.cjs → vue-ui-mood-radar-CiF-yLnM.cjs} +1 -1
  79. package/dist/{vue-ui-mood-radar-C8U8PHaq.js → vue-ui-mood-radar-D7R1sJ-s.js} +11 -11
  80. package/dist/{vue-ui-nested-donuts-DRWWnsdR.cjs → vue-ui-nested-donuts-BoiB2fYL.cjs} +1 -1
  81. package/dist/{vue-ui-nested-donuts-Bv2D1uFd.js → vue-ui-nested-donuts-mi_bKP5P.js} +11 -11
  82. package/dist/{vue-ui-onion-CsnwbXED.cjs → vue-ui-onion-B_9x-PDA.cjs} +1 -1
  83. package/dist/{vue-ui-onion-CT9YjU8v.js → vue-ui-onion-DDcm9VKG.js} +11 -11
  84. package/dist/{vue-ui-parallel-coordinate-plot-C8KCRAX1.cjs → vue-ui-parallel-coordinate-plot-B8Amex6j.cjs} +1 -1
  85. package/dist/{vue-ui-parallel-coordinate-plot-in5qpfXf.js → vue-ui-parallel-coordinate-plot-BLXVSCmi.js} +12 -12
  86. package/dist/{vue-ui-quadrant-Bw-0aW4F.cjs → vue-ui-quadrant-BFEprQ_j.cjs} +1 -1
  87. package/dist/{vue-ui-quadrant-C_9VNAXg.js → vue-ui-quadrant-BmPJLow1.js} +12 -12
  88. package/dist/{vue-ui-quick-chart-BDBlm9uu.js → vue-ui-quick-chart-B7Sotlr0.js} +9 -9
  89. package/dist/{vue-ui-quick-chart-C0YqMjyE.cjs → vue-ui-quick-chart-Cnb0C1nv.cjs} +1 -1
  90. package/dist/{vue-ui-radar-DXKMbeyW.cjs → vue-ui-radar-CYu4mixy.cjs} +1 -1
  91. package/dist/{vue-ui-radar-C2QM_ee9.js → vue-ui-radar-SYkVFE08.js} +12 -12
  92. package/dist/{vue-ui-rating-CsOknvaV.cjs → vue-ui-rating-36rj-wHU.cjs} +1 -1
  93. package/dist/{vue-ui-rating-DVpgv2AY.js → vue-ui-rating-452f1yMa.js} +2 -2
  94. package/dist/{vue-ui-relation-circle-OXfdAyky.js → vue-ui-relation-circle-CWbxQJsa.js} +7 -7
  95. package/dist/{vue-ui-relation-circle-ZA-M7aSc.cjs → vue-ui-relation-circle-DVuvBy9_.cjs} +1 -1
  96. package/dist/{vue-ui-rings-qLQ-gl21.js → vue-ui-rings-CDVcaS2n.js} +11 -11
  97. package/dist/{vue-ui-rings-rftqDu-q.cjs → vue-ui-rings-DBXvtevd.cjs} +1 -1
  98. package/dist/{vue-ui-scatter-4LbMvEAD.js → vue-ui-scatter-BG1X9kbp.js} +12 -12
  99. package/dist/{vue-ui-scatter-Cv2IcrVH.cjs → vue-ui-scatter-CjOuKwUh.cjs} +1 -1
  100. package/dist/{vue-ui-screenshot-BV6ZYQRk.js → vue-ui-screenshot-CZkWSgQw.js} +1 -1
  101. package/dist/{vue-ui-screenshot-BgjnQNxG.cjs → vue-ui-screenshot-UevcnZpH.cjs} +1 -1
  102. package/dist/{vue-ui-skeleton-DsRTbz6d.cjs → vue-ui-skeleton-Cu2s1RAC.cjs} +1 -1
  103. package/dist/{vue-ui-skeleton-BY8Jg9a_.js → vue-ui-skeleton-D8lu0qH2.js} +3 -3
  104. package/dist/{vue-ui-smiley-DB3y8CIb.cjs → vue-ui-smiley-D9S4GXJs.cjs} +1 -1
  105. package/dist/{vue-ui-smiley-BQ_3uicm.js → vue-ui-smiley-ogUjJC93.js} +2 -2
  106. package/dist/{vue-ui-spark-trend-BhCJfY_p.js → vue-ui-spark-trend-8QH7-7XF.js} +5 -5
  107. package/dist/{vue-ui-spark-trend-Cgn7ONtS.cjs → vue-ui-spark-trend-C7kB_1Vw.cjs} +1 -1
  108. package/dist/{vue-ui-sparkbar-DxXt-GHr.js → vue-ui-sparkbar-CjH_X0R-.js} +4 -4
  109. package/dist/{vue-ui-sparkbar-D4GIhUXT.cjs → vue-ui-sparkbar-h8ikA2Sx.cjs} +1 -1
  110. package/dist/{vue-ui-sparkgauge-BbltbIrq.cjs → vue-ui-sparkgauge-C9LFXNGj.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-BCPkJveV.js → vue-ui-sparkgauge-Cs41GkQn.js} +4 -4
  112. package/dist/{vue-ui-sparkhistogram-BKcr2mFc.js → vue-ui-sparkhistogram-DTKMNIQK.js} +5 -5
  113. package/dist/{vue-ui-sparkhistogram-DzX6lkk8.cjs → vue-ui-sparkhistogram-FSp_ueqT.cjs} +1 -1
  114. package/dist/{vue-ui-sparkline-DYHUFUOp.js → vue-ui-sparkline-BLA-tfpO.js} +4 -4
  115. package/dist/{vue-ui-sparkline-C-svTmFU.cjs → vue-ui-sparkline-Drr1pzx9.cjs} +1 -1
  116. package/dist/{vue-ui-sparkstackbar-Btag2osm.js → vue-ui-sparkstackbar-CfcRdnSX.js} +5 -5
  117. package/dist/{vue-ui-sparkstackbar-CL0uL_Te.cjs → vue-ui-sparkstackbar-CusKLPdp.cjs} +1 -1
  118. package/dist/{vue-ui-stackbar-C2mRU7ya.js → vue-ui-stackbar-D0eu-fwT.js} +12 -12
  119. package/dist/{vue-ui-stackbar-CML7v_yU.cjs → vue-ui-stackbar-skhdwzKu.cjs} +1 -1
  120. package/dist/{vue-ui-strip-plot-Vn5sEcME.cjs → vue-ui-strip-plot-BAhwCR9h.cjs} +1 -1
  121. package/dist/{vue-ui-strip-plot-BIXF3VxN.js → vue-ui-strip-plot-C8OUrG4s.js} +11 -11
  122. package/dist/{vue-ui-table-CyuRalnp.js → vue-ui-table-Bu2uIl2l.js} +1 -1
  123. package/dist/{vue-ui-table-BbVpmm0B.cjs → vue-ui-table-DEGpMRSo.cjs} +1 -1
  124. package/dist/{vue-ui-table-heatmap-DrQXQd41.cjs → vue-ui-table-heatmap-D8tpklnq.cjs} +1 -1
  125. package/dist/{vue-ui-table-heatmap-DlGeS3l9.js → vue-ui-table-heatmap-zO08g4xR.js} +4 -4
  126. package/dist/{vue-ui-table-sparkline-DauDTktD.cjs → vue-ui-table-sparkline-Di3fZVu4.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-Yg2I33yZ.js → vue-ui-table-sparkline-lYobxmx6.js} +5 -5
  128. package/dist/{vue-ui-thermometer-Bglz0dOQ.cjs → vue-ui-thermometer-B2xrgXt1.cjs} +1 -1
  129. package/dist/{vue-ui-thermometer-DXwbqNrn.js → vue-ui-thermometer-BenXeMXf.js} +7 -7
  130. package/dist/{vue-ui-timer-CpSEl8UD.cjs → vue-ui-timer-CDB9r1W2.cjs} +1 -1
  131. package/dist/{vue-ui-timer-Brr7buaM.js → vue-ui-timer-LJyKKC2o.js} +5 -5
  132. package/dist/{vue-ui-tiremarks-DJowPFwY.js → vue-ui-tiremarks-DoTYOuot.js} +7 -7
  133. package/dist/{vue-ui-tiremarks-zdGmZNjo.cjs → vue-ui-tiremarks-Dy9gG1gc.cjs} +1 -1
  134. package/dist/{vue-ui-treemap-a7NSP656.cjs → vue-ui-treemap-BPz_AwA2.cjs} +1 -1
  135. package/dist/{vue-ui-treemap-Bn5JU5BI.js → vue-ui-treemap-CY5sCBQp.js} +11 -11
  136. package/dist/{vue-ui-vertical-bar-CZxN7L9z.js → vue-ui-vertical-bar-B8kiRxLN.js} +11 -11
  137. package/dist/{vue-ui-vertical-bar-BYG1vGlT.cjs → vue-ui-vertical-bar-DTOcnkWX.cjs} +1 -1
  138. package/dist/{vue-ui-waffle-CzUpKfkZ.js → vue-ui-waffle-B4RCOwEg.js} +11 -11
  139. package/dist/{vue-ui-waffle-BbDBOivH.cjs → vue-ui-waffle-Dv2YchrJ.cjs} +1 -1
  140. package/dist/{vue-ui-wheel-lN3uYCr4.cjs → vue-ui-wheel-C7wEmgol.cjs} +1 -1
  141. package/dist/{vue-ui-wheel-CCje_ZSc.js → vue-ui-wheel-Zk6U_Lnd.js} +7 -7
  142. package/dist/{vue-ui-word-cloud-D_5y92zN.js → vue-ui-word-cloud-5fxQJ65o.js} +10 -10
  143. package/dist/{vue-ui-word-cloud-BjvG3n7x.cjs → vue-ui-word-cloud-DIF9KUX-.cjs} +1 -1
  144. package/dist/{vue-ui-xy-B-WlwJXZ.cjs → vue-ui-xy-Bcb7loPC.cjs} +1 -1
  145. package/dist/{vue-ui-xy-Drm1aAb-.js → vue-ui-xy-BnasTV4L.js} +14 -14
  146. package/dist/{vue-ui-xy-canvas-jieVsnBN.js → vue-ui-xy-canvas-BIULd1f-.js} +316 -314
  147. package/dist/vue-ui-xy-canvas-Dc4l_P9H.cjs +9 -0
  148. package/package.json +1 -1
  149. package/dist/index-CsQwCVqU.cjs +0 -9
  150. package/dist/vue-ui-xy-canvas-BHrq_CYD.cjs +0 -9
@@ -1,21 +1,21 @@
1
- import { ref as v, computed as m, watch as Y, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as P, createCommentVNode as A, unref as _, createSlots as Ca, withCtx as b, renderSlot as x, normalizeProps as B, guardReactiveProps as X, createElementVNode as K, createVNode as wa, toDisplayString as Ve, createTextVNode as Sa } from "vue";
2
- import { u as $a, c as za, t as Ta, a as Ma, p as D, b as Ra, C as ge, i as Q, f as ee, Y as Ia, I as Oa, d as je, a2 as Pa, o as Fa, e as Ea, x as qe, y as Na, q as Aa, r as _a, s as ae, l as Da } from "./index-hV0hU1iE.js";
3
- import { d as Ha, c as Wa, a as Je, t as Ya, l as w, r as pe, b as F, p as Ke, u as Ba } from "./useResponsive-CoxXLe23.js";
4
- import { _ as Xa } from "./Tooltip-Com_T8vc.js";
5
- import { L as Ua } from "./Legend-hnLfwhmm.js";
6
- import { _ as Za } from "./Title-DBozX6nP.js";
7
- import { S as Ga } from "./Slicer-DV1kBscZ.js";
8
- import { u as Va, U as ja } from "./usePrinter-y3d31M4g.js";
9
- import qa from "./vue-ui-accordion-m-s-7akB.js";
10
- import { D as Ja } from "./DataTable-BpVz3DBX.js";
11
- import Ka from "./vue-ui-skeleton-BY8Jg9a_.js";
12
- import { u as Qe } from "./useNestedProp-CRAUOmT5.js";
13
- import { P as Qa } from "./PenAndPaper-C_laA5mt.js";
14
- import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const at = ["id"], tt = ["onClick"], lt = {
1
+ import { ref as v, computed as b, watch as A, onMounted as xa, onBeforeUnmount as La, openBlock as C, createElementBlock as q, normalizeStyle as J, normalizeClass as ka, createBlock as F, createCommentVNode as _, unref as D, createSlots as Ca, withCtx as m, renderSlot as x, normalizeProps as B, guardReactiveProps as X, createElementVNode as K, createVNode as wa, toDisplayString as Ve, createTextVNode as Sa } from "vue";
2
+ import { u as $a, c as za, t as Ta, a as Ma, p as H, b as Ra, C as xe, i as Q, f as ee, Y as Ia, I as Oa, d as je, a2 as Pa, o as Fa, e as Ea, x as qe, y as Na, q as Aa, r as _a, s as ae, l as Da } from "./index-CWlhzm6K.js";
3
+ import { d as Ha, c as Wa, a as Je, t as Ya, l as w, r as Le, b as E, p as Ke, u as Ba } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Xa } from "./Tooltip-CUGz5S0n.js";
5
+ import { L as Ua } from "./Legend-BItqGLYs.js";
6
+ import { _ as Za } from "./Title-ZcAPoasN.js";
7
+ import { S as Ga } from "./Slicer-1C1usd0L.js";
8
+ import { u as Va, U as ja } from "./usePrinter-DPAte4qe.js";
9
+ import qa from "./vue-ui-accordion-DOBaAopj.js";
10
+ import { D as Ja } from "./DataTable-DpgVCStr.js";
11
+ import Ka from "./vue-ui-skeleton-D8lu0qH2.js";
12
+ import { u as Qe } from "./useNestedProp-DH41HJ08.js";
13
+ import { P as Qa } from "./PenAndPaper-CCFQ3lIj.js";
14
+ import { _ as el } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const al = ["id"], ll = ["onClick"], tl = {
16
16
  key: 2,
17
17
  class: "vue-data-ui-watermark"
18
- }, ot = ["innerHTML"], rt = {
18
+ }, ol = ["innerHTML"], ul = {
19
19
  __name: "vue-ui-xy-canvas",
20
20
  props: {
21
21
  dataset: {
@@ -32,84 +32,86 @@ const at = ["id"], tt = ["onClick"], lt = {
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend"],
35
- setup(be, { expose: ea, emit: aa }) {
36
- const E = be, { vue_ui_xy_canvas: ta } = $a(), ie = v(za()), U = v(null), $ = v(null), Z = v(null), s = v(null), f = v(1), M = v(1), te = v(!1), d = v(null), le = v(""), me = v(null), S = v([]), H = v(1), N = v(!0), z = v(!0), ve = v(null), xe = v(0), Le = v(0), ce = v(!1), ke = v(null), Ce = v(null), we = v(null), Se = v(null), $e = v(0), ze = v(0), Te = v(0), de = m(() => !!E.dataset && E.dataset.length), a = m({
37
- get: () => Me(),
35
+ setup(ke, { expose: ea, emit: aa }) {
36
+ const M = ke, { vue_ui_xy_canvas: la } = $a(), ie = v(za()), U = v(null), $ = v(null), Z = v(null), s = v(null), f = v(1), R = v(1), le = v(!1), d = v(null), te = v(""), Ce = v(null), S = v([]), W = v(1), N = v(!0), z = v(!0), ve = v(null), we = v(0), Se = v(0), ce = v(!1), $e = v(null), ze = v(null), Te = v(null), Me = v(null), de = v(0), he = v(0), fe = v(0), ye = b(() => !!M.dataset && M.dataset.length), a = b({
37
+ get: () => Re(),
38
38
  set: (e) => e
39
39
  });
40
- function Me() {
40
+ function Re() {
41
41
  const e = Qe({
42
- userConfig: E.config,
43
- defaultConfig: ta
42
+ userConfig: M.config,
43
+ defaultConfig: la
44
44
  });
45
45
  return e.theme ? {
46
46
  ...Qe({
47
- userConfig: Ta.vue_ui_xy_canvas[e.theme] || E.config,
47
+ userConfig: Ta.vue_ui_xy_canvas[e.theme] || M.config,
48
48
  defaultConfig: e
49
49
  }),
50
- customPalette: Ma[e.theme] || D
50
+ customPalette: Ma[e.theme] || H
51
51
  } : e;
52
52
  }
53
- Y(() => E.config, (e) => {
54
- a.value = Me(), De(), $e.value += 1, ze.value += 1, Te.value += 1;
53
+ A(() => M.config, (e) => {
54
+ a.value = Re(), pe(), de.value += 1, he.value += 1, fe.value += 1;
55
+ }, { deep: !0 }), A(() => M.dataset, () => {
56
+ pe(), de.value += 1, he.value += 1, fe.value += 1;
55
57
  }, { deep: !0 });
56
- const Re = v(a.value.style.chart.aspectRatio), { isPrinting: Ie, isImaging: Oe, generatePdf: Pe, generateImage: Fe } = Va({
58
+ const Ie = v(a.value.style.chart.aspectRatio), { isPrinting: Oe, isImaging: Pe, generatePdf: Fe, generateImage: Ee } = Va({
57
59
  elementId: `xy_canvas_${ie.value}`,
58
60
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
59
- }), u = v({
61
+ }), r = v({
60
62
  showTable: a.value.table.show,
61
63
  showDataLabels: a.value.style.chart.dataLabels.show,
62
64
  stacked: a.value.style.chart.stacked,
63
65
  showTooltip: a.value.style.chart.tooltip.show
64
66
  });
65
- function la(e) {
66
- ce.value = e, Le.value += 1;
67
+ function ta(e) {
68
+ ce.value = e, Se.value += 1;
67
69
  }
68
- const Ee = m(() => Ra(a.value.customPalette)), R = m(() => W.value ? Math.max(...W.value.filter((e, l) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), t = m(() => {
70
+ const Ne = b(() => Ra(a.value.customPalette)), I = b(() => Y.value ? Math.max(...Y.value.filter((e, t) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = b(() => {
69
71
  const e = f.value - f.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
70
72
  return {
71
73
  canvasWidth: f.value,
72
- canvasHeight: M.value,
74
+ canvasHeight: R.value,
73
75
  left: f.value * a.value.style.chart.paddingProportions.left,
74
- top: M.value * a.value.style.chart.paddingProportions.top,
76
+ top: R.value * a.value.style.chart.paddingProportions.top,
75
77
  right: f.value - f.value * a.value.style.chart.paddingProportions.right,
76
- bottom: M.value - M.value * a.value.style.chart.paddingProportions.bottom,
78
+ bottom: R.value - R.value * a.value.style.chart.paddingProportions.bottom,
77
79
  width: e,
78
- height: M.value - M.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
79
- slot: e / (r.value.end - r.value.start)
80
+ height: R.value - R.value * (a.value.style.chart.paddingProportions.top + a.value.style.chart.paddingProportions.bottom),
81
+ slot: e / (u.value.end - u.value.start)
80
82
  };
81
83
  });
82
- function Ne(e, l) {
83
- return e / l;
84
+ function Ae(e, t) {
85
+ return e / t;
84
86
  }
85
- function oa({ hasAutoScale: e, series: l, min: o, max: i, scale: c, yOffset: y, individualHeight: n, stackIndex: g = null }) {
86
- return l.map((k, ye) => {
87
- const T = c.min < 0 ? Math.abs(c.min) : 0, I = Ne(k + T, T + c.max);
88
- let O, G;
89
- e && (O = Math.abs(c.min), G = Ne(k + O, c.max + O));
87
+ function oa({ hasAutoScale: e, series: t, min: o, max: i, scale: c, yOffset: y, individualHeight: n, stackIndex: g = null }) {
88
+ return t.map((k, be) => {
89
+ const T = c.min < 0 ? Math.abs(c.min) : 0, O = Ae(k + T, T + c.max);
90
+ let P, G;
91
+ e && (P = Math.abs(c.min), G = Ae(k + P, c.max + P));
90
92
  let V = 0;
91
- return g === null ? V = t.value.bottom - t.value.height * (e ? G : I) : V = t.value.bottom - y - n * (e ? G : I), {
92
- x: t.value.left + t.value.slot * ye + t.value.slot / 2,
93
+ return g === null ? V = l.value.bottom - l.value.height * (e ? G : O) : V = l.value.bottom - y - n * (e ? G : O), {
94
+ x: l.value.left + l.value.slot * be + l.value.slot / 2,
93
95
  y: V,
94
96
  value: k
95
97
  };
96
98
  });
97
99
  }
98
- const p = m(() => {
99
- const e = Math.min(...W.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), l = Math.max(...W.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = ge(e < 0 ? e : 0, l === e ? e + 1 < 0 ? 0 : e + 1 : l < 0 ? 0 : l, a.value.style.chart.scale.ticks), i = o.min < 0 ? Math.abs(o.min) : 0, c = t.value.bottom - t.value.height * (i / (o.max + i)), y = o.ticks.map((n) => ({
100
- y: t.value.bottom - t.value.height * ((n + i) / (o.max + i)),
101
- x: t.value.left - 8,
100
+ const p = b(() => {
101
+ const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...Y.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(u.value.start, u.value.end))), t = a.value.style.chart.scale.max !== null ? a.value.style.chart.scale.max : Math.max(...Y.value.filter((n, g) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(u.value.start, u.value.end))), o = xe(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, a.value.style.chart.scale.ticks), i = o.min < 0 ? Math.abs(o.min) : 0, c = l.value.bottom - l.value.height * (i / (o.max + i)), y = o.ticks.map((n) => ({
102
+ y: l.value.bottom - l.value.height * ((n + i) / (o.max + i)),
103
+ x: l.value.left - 8,
102
104
  value: n
103
105
  }));
104
106
  return {
105
107
  absoluteMin: i,
106
- max: l,
108
+ max: t,
107
109
  min: e,
108
110
  scale: o,
109
111
  yLabels: y,
110
112
  zero: c
111
113
  };
112
- }), ra = m(() => h.value.map((e) => `
114
+ }), ua = b(() => h.value.map((e) => `
113
115
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
114
116
  <svg viewBox="0 0 10 10" height="12" width="12">
115
117
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -127,23 +129,23 @@ const at = ["id"], tt = ["onClick"], lt = {
127
129
  { datapoint: e, seriesIndex: d.value }
128
130
  )}</span>
129
131
  </div>
130
- `)), W = m(() => E.dataset.map((e, l) => ({
132
+ `)), Y = b(() => M.dataset.map((e, t) => ({
131
133
  ...e,
132
134
  series: Ia({
133
135
  data: Oa(e.series),
134
136
  threshold: a.value.downsample.threshold
135
137
  }),
136
- absoluteIndex: l,
137
- color: je(e.color || Ee.value[l] || D[l] || D[l % D.length])
138
+ absoluteIndex: t,
139
+ color: je(e.color || Ne.value[t] || H[t] || H[t % H.length])
138
140
  })));
139
- Y(R, (e) => {
140
- e && Ae();
141
+ A(I, (e) => {
142
+ e && _e();
141
143
  });
142
- const h = m(() => Pa(W.value.filter((e, l) => !S.value.includes(e.absoluteIndex))).map((e, l) => ({
144
+ const h = b(() => Pa(Y.value.filter((e, t) => !S.value.includes(e.absoluteIndex))).map((e, t) => ({
143
145
  ...e,
144
- series: e.series.slice(r.value.start, r.value.end)
145
- })).map((e, l) => {
146
- let o = Math.min(...e.series) || 0, i = Math.max(...e.series) || 1;
146
+ series: e.series.slice(u.value.start, u.value.end)
147
+ })).map((e, t) => {
148
+ let o = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, i = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
147
149
  o === i && (o = o >= 0 ? i - 1 : o, i = i >= 0 ? i : o + 1);
148
150
  const y = {
149
151
  ratios: e.series.filter((j) => ![null, void 0].includes(j)).map((j) => (j - o) / (i - o)),
@@ -151,23 +153,23 @@ const at = ["id"], tt = ["onClick"], lt = {
151
153
  valueMax: i
152
154
  }, n = e.scaleSteps || a.value.style.chart.scale.ticks;
153
155
  let g;
154
- e.autoScaling ? g = ge(y.valueMin, y.valueMax, n) : g = ge(y.valueMin < 0 ? y.valueMin : 0, y.valueMax <= 0 ? 0 : y.valueMax, n);
155
- const k = u.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, ye = u.value.stacked ? t.value.height / a.value.style.chart.stackGap : 0, T = u.value.stacked ? t.value.height * e.stackRatio - ye : t.value.height, I = g.min < 0 ? Math.abs(g.min) : 0;
156
- let O;
157
- e.autoScaling && u.value.stacked && i <= 0 ? O = t.value.bottom - k - T : O = t.value.bottom - k - T * (I / (g.max + I));
158
- const G = g.ticks.map((j, ma) => ({
159
- y: t.value.bottom - k - T * (ma / (g.ticks.length - 1)),
160
- x: t.value.left - 8,
156
+ e.autoScaling ? g = xe(y.valueMin, y.valueMax, n) : g = xe(y.valueMin < 0 ? y.valueMin : 0, y.valueMax <= 0 ? 0 : y.valueMax, n);
157
+ const k = r.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, be = r.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, T = r.value.stacked ? l.value.height * e.stackRatio - be : l.value.height, O = g.min < 0 ? Math.abs(g.min) : 0;
158
+ let P;
159
+ e.autoScaling && r.value.stacked && i <= 0 ? P = l.value.bottom - k - T : P = l.value.bottom - k - T * (O / (g.max + O));
160
+ const G = g.ticks.map((j, ba) => ({
161
+ y: l.value.bottom - k - T * (ba / (g.ticks.length - 1)),
162
+ x: l.value.left - 8,
161
163
  value: j
162
164
  })), V = oa({
163
- hasAutoScale: u.value.stacked && e.autoScaling,
165
+ hasAutoScale: r.value.stacked && e.autoScaling,
164
166
  series: e.series,
165
- min: u.value.stacked ? o : p.value.min,
166
- max: u.value.stacked ? i : p.value.max,
167
- scale: u.value.stacked ? g : p.value.scale,
167
+ min: r.value.stacked ? o : p.value.min,
168
+ max: r.value.stacked ? i : p.value.max,
169
+ scale: r.value.stacked ? g : p.value.scale,
168
170
  yOffset: k,
169
171
  individualHeight: T,
170
- stackIndex: u.value.stacked ? l : null
172
+ stackIndex: r.value.stacked ? t : null
171
173
  });
172
174
  return {
173
175
  ...e,
@@ -175,43 +177,43 @@ const at = ["id"], tt = ["onClick"], lt = {
175
177
  min: o,
176
178
  max: i,
177
179
  localScale: g,
178
- localZero: O,
179
- localMin: I,
180
+ localZero: P,
181
+ localMin: O,
180
182
  localYLabels: G,
181
183
  yOffset: k,
182
184
  individualHeight: T
183
185
  };
184
- })), r = v({
186
+ })), u = v({
185
187
  start: 0,
186
- end: R.value
188
+ end: I.value
187
189
  });
188
- function Ae() {
189
- r.value = {
190
+ function _e() {
191
+ u.value = {
190
192
  start: 0,
191
- end: R.value
192
- }, xe.value += 1;
193
+ end: I.value
194
+ }, we.value += 1;
193
195
  }
194
- const ua = m(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), L = m(() => h.value.filter((e) => e.type === "bar"));
196
+ const ra = b(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), L = b(() => h.value.filter((e) => e.type === "bar"));
195
197
  function sa() {
196
198
  if (!$.value)
197
199
  return;
198
- const e = Z.value.offsetWidth, l = Z.value.offsetHeight;
199
- $.value.width = e * H.value * 2, $.value.height = l * H.value * 2, f.value = e * H.value * 2, M.value = l * H.value * 2, s.value.scale(H.value, H.value), he();
200
+ const e = Z.value.offsetWidth, t = Z.value.offsetHeight;
201
+ $.value.width = e * W.value * 2, $.value.height = t * W.value * 2, f.value = e * W.value * 2, R.value = t * W.value * 2, s.value.scale(W.value, W.value), ge();
200
202
  }
201
203
  function na() {
202
- 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)
203
- 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) => {
204
- for (let l = 0; l < r.value.end - r.value.start + 1; l += 1)
204
+ 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), r.value.stacked)
205
+ a.value.style.chart.grid.y.verticalLines.show && u.value.end - u.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength && h.value.forEach((e) => {
206
+ for (let t = 0; t < u.value.end - u.value.start + 1; t += 1)
205
207
  w(
206
208
  s.value,
207
209
  [
208
210
  {
209
- x: t.value.left + t.value.slot * l,
210
- y: t.value.bottom - e.yOffset - e.individualHeight
211
+ x: l.value.left + l.value.slot * t,
212
+ y: l.value.bottom - e.yOffset - e.individualHeight
211
213
  },
212
214
  {
213
- x: t.value.left + t.value.slot * l,
214
- y: t.value.bottom - e.yOffset
215
+ x: l.value.left + l.value.slot * t,
216
+ y: l.value.bottom - e.yOffset
215
217
  }
216
218
  ],
217
219
  {
@@ -219,14 +221,14 @@ const at = ["id"], tt = ["onClick"], lt = {
219
221
  }
220
222
  );
221
223
  }), a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? h.value.forEach((e) => {
222
- e.localYLabels.forEach((l, o) => {
223
- o < e.localYLabels.length - 1 && pe(
224
+ e.localYLabels.forEach((t, o) => {
225
+ o < e.localYLabels.length - 1 && Le(
224
226
  s.value,
225
227
  [
226
- { x: t.value.left, y: l.y },
227
- { x: t.value.right, y: l.y },
228
- { x: t.value.right, y: e.localYLabels[o + 1].y },
229
- { x: t.value.left, y: e.localYLabels[o + 1].y }
228
+ { x: l.value.left, y: t.y },
229
+ { x: l.value.right, y: t.y },
230
+ { x: l.value.right, y: e.localYLabels[o + 1].y },
231
+ { x: l.value.left, y: e.localYLabels[o + 1].y }
230
232
  ],
231
233
  {
232
234
  fillColor: o % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
@@ -235,12 +237,12 @@ const at = ["id"], tt = ["onClick"], lt = {
235
237
  );
236
238
  });
237
239
  }) : h.value.forEach((e) => {
238
- e.localYLabels.slice(r.value.start, r.value.end).forEach((l) => {
240
+ e.localYLabels.slice(u.value.start, u.value.end).forEach((t) => {
239
241
  w(
240
242
  s.value,
241
243
  [
242
- { x: t.value.left, y: l.y },
243
- { x: t.value.right, y: l.y }
244
+ { x: l.value.left, y: t.y },
245
+ { x: l.value.right, y: t.y }
244
246
  ],
245
247
  {
246
248
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -251,8 +253,8 @@ const at = ["id"], tt = ["onClick"], lt = {
251
253
  w(
252
254
  s.value,
253
255
  [
254
- { x: t.value.left, y: e.localZero },
255
- { x: t.value.right, y: e.localZero }
256
+ { x: l.value.left, y: e.localZero },
257
+ { x: l.value.right, y: e.localZero }
256
258
  ],
257
259
  {
258
260
  color: a.value.style.chart.grid.zeroLine.color,
@@ -263,8 +265,8 @@ const at = ["id"], tt = ["onClick"], lt = {
263
265
  w(
264
266
  s.value,
265
267
  [
266
- { x: t.value.left, y: t.value.bottom - e.yOffset },
267
- { x: t.value.left, y: t.value.bottom - e.yOffset - e.individualHeight }
268
+ { x: l.value.left, y: l.value.bottom - e.yOffset },
269
+ { x: l.value.left, y: l.value.bottom - e.yOffset - e.individualHeight }
268
270
  ],
269
271
  {
270
272
  color: e.color
@@ -272,28 +274,28 @@ const at = ["id"], tt = ["onClick"], lt = {
272
274
  ), w(
273
275
  s.value,
274
276
  [
275
- { x: t.value.right, y: t.value.bottom - e.yOffset },
276
- { x: t.value.right, y: t.value.bottom - e.yOffset - e.individualHeight }
277
+ { x: l.value.right, y: l.value.bottom - e.yOffset },
278
+ { x: l.value.right, y: l.value.bottom - e.yOffset - e.individualHeight }
277
279
  ],
278
280
  {
279
281
  color: e.color
280
282
  }
281
- ), e.localYLabels.forEach((l, o) => {
282
- F(
283
+ ), e.localYLabels.forEach((t, o) => {
284
+ E(
283
285
  s.value,
284
286
  Q(
285
287
  a.value.style.chart.dataLabels.formatter,
286
- l.value,
288
+ t.value,
287
289
  ee({
288
290
  p: e.prefix || a.value.style.chart.grid.y.axisLabels.prefix || "",
289
- v: l.value,
291
+ v: t.value,
290
292
  s: e.suffix || a.value.style.chart.grid.y.axisLabels.suffix || "",
291
293
  r: e.rounding || a.value.style.chart.grid.y.axisLabels.rounding || 0
292
294
  }),
293
- { datapoint: l, seriesIndex: o }
295
+ { datapoint: t, seriesIndex: o }
294
296
  ),
295
- l.x + a.value.style.chart.grid.y.axisLabels.offsetX,
296
- l.y,
297
+ t.x + a.value.style.chart.grid.y.axisLabels.offsetX,
298
+ t.y,
297
299
  {
298
300
  align: "right",
299
301
  font: `${Math.round(f.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -302,11 +304,11 @@ const at = ["id"], tt = ["onClick"], lt = {
302
304
  );
303
305
  });
304
306
  }), h.value.forEach((e) => {
305
- F(
307
+ E(
306
308
  s.value,
307
309
  e.name,
308
310
  f.value / 35,
309
- t.value.bottom - e.yOffset - e.individualHeight / 2,
311
+ l.value.bottom - e.yOffset - e.individualHeight / 2,
310
312
  {
311
313
  align: "center",
312
314
  rotation: -90,
@@ -316,29 +318,29 @@ const at = ["id"], tt = ["onClick"], lt = {
316
318
  );
317
319
  });
318
320
  else {
319
- if (a.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength)
320
- for (let e = 0; e < r.value.end - r.value.start + 1; e += 1)
321
+ if (a.value.style.chart.grid.y.verticalLines.show && u.value.end - u.value.start < a.value.style.chart.grid.y.verticalLines.hideUnderXLength)
322
+ for (let e = 0; e < u.value.end - u.value.start + 1; e += 1)
321
323
  w(
322
324
  s.value,
323
325
  [
324
- { x: t.value.left + t.value.slot * e, y: t.value.top },
325
- { x: t.value.left + t.value.slot * e, y: t.value.bottom }
326
+ { x: l.value.left + l.value.slot * e, y: l.value.top },
327
+ { x: l.value.left + l.value.slot * e, y: l.value.bottom }
326
328
  ],
327
329
  {
328
330
  color: a.value.style.chart.grid.y.verticalLines.color
329
331
  }
330
332
  );
331
- a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? p.value.yLabels.forEach((e, l) => {
332
- l < p.value.yLabels.length - 1 && pe(
333
+ a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? p.value.yLabels.forEach((e, t) => {
334
+ t < p.value.yLabels.length - 1 && Le(
333
335
  s.value,
334
336
  [
335
- { x: t.value.left, y: e.y },
336
- { x: t.value.right, y: e.y },
337
- { x: t.value.right, y: p.value.yLabels[l + 1].y },
338
- { x: t.value.left, y: p.value.yLabels[l + 1].y }
337
+ { x: l.value.left, y: e.y },
338
+ { x: l.value.right, y: e.y },
339
+ { x: l.value.right, y: p.value.yLabels[t + 1].y },
340
+ { x: l.value.left, y: p.value.yLabels[t + 1].y }
339
341
  ],
340
342
  {
341
- fillColor: l % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
343
+ fillColor: t % 2 === 0 ? "transparent" : ae(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
342
344
  strokeColor: "transparent"
343
345
  }
344
346
  );
@@ -346,8 +348,8 @@ const at = ["id"], tt = ["onClick"], lt = {
346
348
  w(
347
349
  s.value,
348
350
  [
349
- { x: t.value.left, y: e.y },
350
- { x: t.value.right, y: e.y }
351
+ { x: l.value.left, y: e.y },
352
+ { x: l.value.right, y: e.y }
351
353
  ],
352
354
  {
353
355
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -356,8 +358,8 @@ const at = ["id"], tt = ["onClick"], lt = {
356
358
  })), a.value.style.chart.grid.y.showAxis && w(
357
359
  s.value,
358
360
  [
359
- { x: t.value.left, y: t.value.top },
360
- { x: t.value.left, y: t.value.bottom }
361
+ { x: l.value.left, y: l.value.top },
362
+ { x: l.value.left, y: l.value.bottom }
361
363
  ],
362
364
  {
363
365
  color: a.value.style.chart.grid.y.axisColor,
@@ -366,8 +368,8 @@ const at = ["id"], tt = ["onClick"], lt = {
366
368
  ), a.value.style.chart.grid.x.showAxis && w(
367
369
  s.value,
368
370
  [
369
- { x: t.value.left, y: t.value.bottom },
370
- { x: t.value.right, y: t.value.bottom }
371
+ { x: l.value.left, y: l.value.bottom },
372
+ { x: l.value.right, y: l.value.bottom }
371
373
  ],
372
374
  {
373
375
  color: a.value.style.chart.grid.x.axisColor,
@@ -376,15 +378,15 @@ const at = ["id"], tt = ["onClick"], lt = {
376
378
  ), a.value.style.chart.grid.zeroLine.show && w(
377
379
  s.value,
378
380
  [
379
- { x: t.value.left, y: p.value.zero },
380
- { x: t.value.right, y: p.value.zero }
381
+ { x: l.value.left, y: p.value.zero },
382
+ { x: l.value.right, y: p.value.zero }
381
383
  ],
382
384
  {
383
385
  color: a.value.style.chart.grid.zeroLine.color,
384
386
  lineDash: a.value.style.chart.grid.zeroLine.dashed ? [10, 10] : [0, 0]
385
387
  }
386
- ), a.value.style.chart.grid.y.axisLabels.show && p.value.yLabels.forEach((e, l) => {
387
- F(
388
+ ), a.value.style.chart.grid.y.axisLabels.show && p.value.yLabels.forEach((e, t) => {
389
+ E(
388
390
  s.value,
389
391
  Q(
390
392
  a.value.style.chart.dataLabels.formatter,
@@ -395,7 +397,7 @@ const at = ["id"], tt = ["onClick"], lt = {
395
397
  s: a.value.style.chart.grid.y.axisLabels.suffix || "",
396
398
  r: a.value.style.chart.grid.y.axisLabels.rounding || 0
397
399
  }),
398
- { datapoint: e, seriesIndex: l }
400
+ { datapoint: e, seriesIndex: t }
399
401
  ),
400
402
  e.x + a.value.style.chart.grid.y.axisLabels.offsetX,
401
403
  e.y,
@@ -407,22 +409,22 @@ const at = ["id"], tt = ["onClick"], lt = {
407
409
  );
408
410
  });
409
411
  }
410
- a.value.style.chart.grid.y.axisName && F(
412
+ a.value.style.chart.grid.y.axisName && E(
411
413
  s.value,
412
414
  a.value.style.chart.grid.y.axisName,
413
415
  f.value - f.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
414
- t.value.bottom - t.value.height / 2,
416
+ l.value.bottom - l.value.height / 2,
415
417
  {
416
418
  font: `${Math.round(f.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
417
419
  color: a.value.style.chart.color,
418
420
  align: "center",
419
421
  rotation: 90
420
422
  }
421
- ), a.value.style.chart.grid.x.axisName && F(
423
+ ), a.value.style.chart.grid.x.axisName && E(
422
424
  s.value,
423
425
  a.value.style.chart.grid.x.axisName,
424
426
  f.value / 2,
425
- M.value,
427
+ R.value,
426
428
  {
427
429
  font: `${Math.round(f.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
428
430
  color: a.value.style.chart.color,
@@ -431,11 +433,11 @@ const at = ["id"], tt = ["onClick"], lt = {
431
433
  );
432
434
  }
433
435
  function ia(e) {
434
- for (let l = 0; l < e.coordinatesLine.length; l += 1) {
435
- const o = (d.value === l ? f.value / 150 : a.value.style.chart.line.plots.show ? f.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
436
+ for (let t = 0; t < e.coordinatesLine.length; t += 1) {
437
+ const o = (d.value === t ? f.value / 150 : a.value.style.chart.line.plots.show ? f.value / 200 : 0) * a.value.style.chart.line.plots.radiusRatio;
436
438
  Je(
437
439
  s.value,
438
- { x: e.coordinatesLine[l].x, y: e.coordinatesLine[l].y },
440
+ { x: e.coordinatesLine[t].x, y: e.coordinatesLine[t].y },
439
441
  o,
440
442
  {
441
443
  color: a.value.style.chart.backgroundColor,
@@ -446,22 +448,22 @@ const at = ["id"], tt = ["onClick"], lt = {
446
448
  }
447
449
  }
448
450
  function va(e) {
449
- for (let l = 0; l < e.coordinatesLine.length; l += 1)
450
- F(
451
+ for (let t = 0; t < e.coordinatesLine.length; t += 1)
452
+ E(
451
453
  s.value,
452
454
  Q(
453
455
  a.value.style.chart.dataLabels.formatter,
454
- e.coordinatesLine[l].value,
456
+ e.coordinatesLine[t].value,
455
457
  ee({
456
458
  p: e.prefix || "",
457
- v: e.coordinatesLine[l].value,
459
+ v: e.coordinatesLine[t].value,
458
460
  s: e.suffix || "",
459
461
  r: e.rounding || 0
460
462
  }),
461
- { datapoint: e.coordinatesLine[l], seriesIndex: l }
463
+ { datapoint: e.coordinatesLine[t], seriesIndex: t }
462
464
  ),
463
- e.coordinatesLine[l].x,
464
- e.coordinatesLine[l].y + a.value.style.chart.dataLabels.offsetY,
465
+ e.coordinatesLine[t].x,
466
+ e.coordinatesLine[t].y + a.value.style.chart.dataLabels.offsetY,
465
467
  {
466
468
  align: "center",
467
469
  font: `${Math.round(f.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -472,26 +474,26 @@ const at = ["id"], tt = ["onClick"], lt = {
472
474
  );
473
475
  }
474
476
  function ca() {
475
- for (let e = r.value.start; e < r.value.end; e += 1)
476
- (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)) && F(
477
+ for (let e = u.value.start; e < u.value.end; e += 1)
478
+ (u.value.end - u.value.start < a.value.style.chart.grid.y.timeLabels.modulo || u.value.end - u.value.start >= a.value.style.chart.grid.y.timeLabels.modulo && (e % Math.floor((u.value.end - u.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 || e === d.value + u.value.start)) && E(
477
479
  s.value,
478
480
  a.value.style.chart.grid.y.timeLabels.values[e] || e + 1,
479
- t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2,
480
- t.value.bottom + f.value / a.value.style.chart.grid.y.timeLabels.offsetY,
481
+ l.value.left + l.value.slot * (e - u.value.start) + l.value.slot / 2,
482
+ l.value.bottom + f.value / a.value.style.chart.grid.y.timeLabels.offsetY,
481
483
  {
482
484
  align: a.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : a.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
483
485
  font: `${Math.round(f.value / 40 * a.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
484
- color: ae(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + r.value.start === e ? 100 : 20 : 100),
486
+ color: ae(a.value.style.chart.grid.y.timeLabels.color, d.value !== null ? d.value + u.value.start === e ? 100 : 20 : 100),
485
487
  rotation: a.value.style.chart.grid.y.timeLabels.rotation
486
488
  }
487
489
  );
488
490
  }
489
- function _e() {
491
+ function De() {
490
492
  w(
491
493
  s.value,
492
494
  [
493
- { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.top },
494
- { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.bottom }
495
+ { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.top },
496
+ { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.bottom }
495
497
  ],
496
498
  {
497
499
  color: a.value.style.chart.selector.color,
@@ -502,25 +504,25 @@ const at = ["id"], tt = ["onClick"], lt = {
502
504
  );
503
505
  }
504
506
  function da() {
505
- L.value.forEach((e, l) => {
507
+ L.value.forEach((e, t) => {
506
508
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
507
- pe(
509
+ Le(
508
510
  s.value,
509
511
  [
510
512
  {
511
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)),
512
- y: u.value.stacked ? e.localZero : p.value.zero
513
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (r.value.stacked ? 0 : l.value.slot / L.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * L.value.length) * t)),
514
+ y: r.value.stacked ? e.localZero : p.value.zero
513
515
  },
514
516
  {
515
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : L.value.length),
516
- y: u.value.stacked ? e.localZero : p.value.zero
517
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (r.value.stacked ? 0 : l.value.slot / L.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * L.value.length) * t)) + l.value.slot * 0.8 / (r.value.stacked ? 1 : L.value.length),
518
+ y: r.value.stacked ? e.localZero : p.value.zero
517
519
  },
518
520
  {
519
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : L.value.length),
521
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (r.value.stacked ? 0 : l.value.slot / L.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * L.value.length) * t)) + l.value.slot * 0.8 / (r.value.stacked ? 1 : L.value.length),
520
522
  y: e.coordinatesLine[o].y
521
523
  },
522
524
  {
523
- x: t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)),
525
+ x: l.value.left + l.value.slot * o + l.value.slot / 10 + (r.value.stacked ? 0 : l.value.slot / L.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * L.value.length) * t)),
524
526
  y: e.coordinatesLine[o].y
525
527
  }
526
528
  ],
@@ -534,7 +536,7 @@ const at = ["id"], tt = ["onClick"], lt = {
534
536
  },
535
537
  end: {
536
538
  x: e.coordinatesLine[o].x,
537
- y: u.value.stacked ? e.localZero : p.value.zero
539
+ y: r.value.stacked ? e.localZero : p.value.zero
538
540
  },
539
541
  stops: [
540
542
  { offset: 0, color: e.color },
@@ -542,7 +544,7 @@ const at = ["id"], tt = ["onClick"], lt = {
542
544
  ]
543
545
  }
544
546
  }
545
- ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && F(
547
+ ), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && E(
546
548
  s.value,
547
549
  Q(
548
550
  a.value.style.chart.dataLabels.formatter,
@@ -555,8 +557,8 @@ const at = ["id"], tt = ["onClick"], lt = {
555
557
  }),
556
558
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
557
559
  ),
558
- t.value.left + t.value.slot * o + t.value.slot / 10 + (u.value.stacked ? 0 : t.value.slot / L.value.length * l - (l === 0 ? 0 : t.value.slot / (5 * L.value.length) * l)) + t.value.slot * 0.4 / (u.value.stacked ? 1 : L.value.length),
559
- (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : p.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
560
+ l.value.left + l.value.slot * o + l.value.slot / 10 + (r.value.stacked ? 0 : l.value.slot / L.value.length * t - (t === 0 ? 0 : l.value.slot / (5 * L.value.length) * t)) + l.value.slot * 0.4 / (r.value.stacked ? 1 : L.value.length),
561
+ (e.coordinatesLine[o].value < 0 ? r.value.stacked ? e.localZero : p.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
560
562
  {
561
563
  align: "center",
562
564
  font: `${Math.round(f.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -568,7 +570,7 @@ const at = ["id"], tt = ["onClick"], lt = {
568
570
  });
569
571
  }
570
572
  function ha(e) {
571
- e.useArea ? u.value.stacked ? Ke(
573
+ e.useArea ? r.value.stacked ? Ke(
572
574
  s.value,
573
575
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
574
576
  {
@@ -588,12 +590,12 @@ const at = ["id"], tt = ["onClick"], lt = {
588
590
  });
589
591
  }
590
592
  function fa() {
591
- h.value.forEach((e, l) => {
593
+ h.value.forEach((e, t) => {
592
594
  w(
593
595
  s.value,
594
596
  [
595
- { x: t.value.left, y: t.value.bottom - e.yOffset },
596
- { x: t.value.right, y: t.value.bottom - e.yOffset }
597
+ { x: l.value.left, y: l.value.bottom - e.yOffset },
598
+ { x: l.value.right, y: l.value.bottom - e.yOffset }
597
599
  ],
598
600
  {
599
601
  color: a.value.style.chart.grid.x.horizontalLines.color,
@@ -602,10 +604,10 @@ const at = ["id"], tt = ["onClick"], lt = {
602
604
  );
603
605
  });
604
606
  }
605
- function he() {
606
- na(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show && _e(), da(), u.value.stacked && a.value.style.chart.grid.x.showAxis && fa(), ua.value.forEach((e) => {
607
- (e.type === "line" || !e.type) && ha(e), z.value && (ia(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && va(e));
608
- }), ve.value = Wa($.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), z.value && d.value !== null && a.value.style.chart.selector.show && _e(), z.value && d.value !== null && h.value.forEach((e) => {
607
+ function ge() {
608
+ na(), N.value ? (z.value && d.value !== null && a.value.style.chart.selector.show && De(), da(), r.value.stacked && a.value.style.chart.grid.x.showAxis && fa(), ra.value.forEach((e) => {
609
+ (e.type === "line" || !e.type) && ha(e), z.value && (ia(e), r.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && va(e));
610
+ }), ve.value = Wa($.value)) : (ve.value && (s.value.clearRect(0, 0, 1e4, 1e4), s.value.drawImage(ve.value, 0, 0)), z.value && d.value !== null && a.value.style.chart.selector.show && De(), z.value && d.value !== null && h.value.forEach((e) => {
609
611
  if (e.type === "line" || !e.type || e.type === "plot") {
610
612
  if (!e.coordinatesLine[d.value]) return;
611
613
  e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && Je(
@@ -626,15 +628,15 @@ const at = ["id"], tt = ["onClick"], lt = {
626
628
  }
627
629
  const oe = Ha(() => {
628
630
  z.value = !0, sa();
629
- }, R.value > 200 ? 10 : 1, !z.value);
631
+ }, I.value > 200 ? 10 : 1, !z.value);
630
632
  function ya(e) {
631
- const { left: l } = $.value.getBoundingClientRect(), o = e.clientX - l;
632
- if (o * 2 < t.value.left || o * 2 > t.value.right) {
633
- te.value = !1, d.value = null;
633
+ const { left: t } = $.value.getBoundingClientRect(), o = e.clientX - t;
634
+ if (o * 2 < l.value.left || o * 2 > l.value.right) {
635
+ le.value = !1, d.value = null;
634
636
  return;
635
637
  }
636
- const i = o * 2 - t.value.left;
637
- if (d.value = Math.floor(i / t.value.slot), te.value = !0, !z.value) return;
638
+ const i = o * 2 - l.value.left;
639
+ if (d.value = Math.floor(i / l.value.slot), le.value = !0, !z.value) return;
638
640
  let c = "";
639
641
  const y = a.value.style.chart.tooltip.customFormat;
640
642
  qe(y) && Na(() => y({
@@ -648,7 +650,7 @@ const at = ["id"], tt = ["onClick"], lt = {
648
650
  })),
649
651
  series: h.value,
650
652
  config: a.value
651
- })) ? le.value = y({
653
+ })) ? te.value = y({
652
654
  seriesIndex: d.value,
653
655
  datapoint: h.value.map((n) => ({
654
656
  shape: n.shape || null,
@@ -659,58 +661,58 @@ const at = ["id"], tt = ["onClick"], lt = {
659
661
  })),
660
662
  series: h.value,
661
663
  config: a.value
662
- }) : (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 += ra.value.join(""), le.value = c), z.value = !1;
664
+ }) : (a.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.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(u.value.start, u.value.end)[d.value]}</div>`), c += ua.value.join(""), te.value = c), z.value = !1;
663
665
  }
664
- Y(() => d.value, (e) => {
666
+ A(() => d.value, (e) => {
665
667
  oe();
666
- }), Y(() => r.value, (e) => {
667
- N.value = !0, he();
668
+ }), A(() => u.value, (e) => {
669
+ N.value = !0, ge();
668
670
  }, {
669
671
  deep: !0
670
- }), Y(() => u.value.showDataLabels, (e) => {
671
- N.value = !0, he();
672
- }), Y(() => u.value.stacked, (e) => {
672
+ }), A(() => r.value.showDataLabels, (e) => {
673
+ N.value = !0, ge();
674
+ }), A(() => r.value.stacked, (e) => {
673
675
  N.value = !0, z.value = !0, oe();
674
676
  });
675
677
  function ga() {
676
- te.value = !1, d.value = null, le.value = "";
678
+ le.value = !1, d.value = null, te.value = "";
677
679
  }
678
- const re = v(null), ue = v(null);
680
+ const ue = v(null), re = v(null);
679
681
  xa(() => {
680
- De();
682
+ pe();
681
683
  });
682
- function De() {
683
- if (Fa(E.dataset) ? Ea({
684
+ function pe() {
685
+ if (Fa(M.dataset) ? Ea({
684
686
  componentName: "VueUiXyCanvas",
685
687
  type: "dataset"
686
688
  }) : $.value && (s.value = $.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
687
689
  const e = Ya(() => {
688
- const { width: l, height: o } = Ba({
690
+ const { width: t, height: o } = Ba({
689
691
  chart: U.value,
690
- title: a.value.style.chart.title.text ? ke.value : null,
691
- legend: a.value.style.chart.legend.show ? Ce.value : null,
692
- slicer: a.value.style.chart.zoom.show && R.value > 1 ? we.value : null,
693
- source: Se.value
692
+ title: a.value.style.chart.title.text ? $e.value : null,
693
+ legend: a.value.style.chart.legend.show ? ze.value : null,
694
+ slicer: a.value.style.chart.zoom.show && I.value > 1 ? Te.value : null,
695
+ source: Me.value
694
696
  });
695
- Re.value = `${l} / ${o}`;
697
+ Ie.value = `${t} / ${o}`;
696
698
  });
697
- re.value = new ResizeObserver(e), re.value.observe(U.value.parentNode);
699
+ ue.value = new ResizeObserver(e), ue.value.observe(U.value.parentNode);
698
700
  }
699
- ue.value = new ResizeObserver((e) => {
700
- for (const l of e)
701
- l.contentBoxSize && Z.value && (N.value = !0, oe());
702
- }), ue.value.observe(Z.value);
701
+ re.value = new ResizeObserver((e) => {
702
+ for (const t of e)
703
+ t.contentBoxSize && Z.value && (N.value = !0, oe());
704
+ }), re.value.observe(Z.value);
703
705
  }
704
706
  La(() => {
705
- ue.value && ue.value.disconnect(), re.value && re.value.disconnect();
707
+ re.value && re.value.disconnect(), ue.value && ue.value.disconnect();
706
708
  });
707
709
  function He(e) {
708
- aa("selectLegend", h.value.find((l) => l.absoluteIndex === e)), S.value.includes(e) ? S.value = S.value.filter((l) => l !== e) : S.value.push(e), N.value = !0, oe();
710
+ aa("selectLegend", h.value.find((t) => t.absoluteIndex === e)), S.value.includes(e) ? S.value = S.value.filter((t) => t !== e) : S.value.push(e), N.value = !0, oe();
709
711
  }
710
- const We = m(() => W.value.map((e, l) => ({
712
+ const We = b(() => Y.value.map((e, t) => ({
711
713
  ...e,
712
714
  name: e.name,
713
- color: je(e.color) || Ee.value[l] || D[l] || D[l % D.length],
715
+ color: je(e.color) || Ne.value[t] || H[t] || H[t % H.length],
714
716
  shape: e.shape || "circle",
715
717
  prefix: e.prefix || "",
716
718
  suffix: e.suffix || "",
@@ -720,19 +722,19 @@ const at = ["id"], tt = ["onClick"], lt = {
720
722
  opacity: S.value.includes(e.absoluteIndex) ? 0.5 : 1,
721
723
  segregate: () => He(e.absoluteIndex),
722
724
  isSegregated: S.value.includes(e.absoluteIndex)
723
- }))), pa = m(() => ({
725
+ }))), pa = b(() => ({
724
726
  cy: "donut-div-legend",
725
727
  backgroundColor: a.value.style.chart.legend.backgroundColor,
726
728
  color: a.value.style.chart.legend.color,
727
729
  fontSize: a.value.style.chart.legend.fontSize,
728
730
  paddingBottom: 12,
729
731
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
730
- })), se = m(() => {
732
+ })), se = b(() => {
731
733
  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>');
732
- let l = [];
733
- for (let c = 0; c < R.value; c += 1) {
734
+ let t = [];
735
+ for (let c = 0; c < I.value; c += 1) {
734
736
  const y = h.value.map((n) => n.series[c] ?? 0).reduce((n, g) => n + g, 0);
735
- 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((y ?? 0).toFixed(a.value.table.rounding)));
737
+ t.push([a.value.style.chart.grid.y.timeLabels.values.slice(u.value.start, u.value.end)[c] ?? c + 1].concat(h.value.map((n) => (n.series[c] ?? 0).toFixed(a.value.table.rounding))).concat((y ?? 0).toFixed(a.value.table.rounding)));
736
738
  }
737
739
  const o = {
738
740
  th: {
@@ -747,56 +749,56 @@ const at = ["id"], tt = ["onClick"], lt = {
747
749
  },
748
750
  breakpoint: a.value.table.responsiveBreakpoint
749
751
  }, i = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
750
- return { head: e, body: l.slice(0, r.value.end - r.value.start), config: o, colNames: i };
751
- }), Ye = m(() => {
752
+ return { head: e, body: t.slice(0, u.value.end - u.value.start), config: o, colNames: i };
753
+ }), Ye = b(() => {
752
754
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
753
755
  const e = h.value.map((o) => ({
754
756
  label: o.name,
755
757
  color: o.color,
756
758
  type: o.type
757
- })), l = [];
758
- for (let o = r.value.start; o < r.value.end; o += 1) {
759
+ })), t = [];
760
+ for (let o = u.value.start; o < u.value.end; o += 1) {
759
761
  const i = [a.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
760
762
  h.value.forEach((c) => {
761
763
  i.push(Number((c.series[o] || 0).toFixed(a.value.table.rounding)));
762
- }), l.push(i);
764
+ }), t.push(i);
763
765
  }
764
- return { head: e, body: l };
766
+ return { head: e, body: t };
765
767
  });
766
768
  function Be() {
767
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], l = ["", ...Ye.value.head.map((y) => y.label)], o = Ye.value.body, i = e.concat([l]).concat(o), c = Aa(i);
769
+ const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...Ye.value.head.map((y) => y.label)], o = Ye.value.body, i = e.concat([t]).concat(o), c = Aa(i);
768
770
  _a({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
769
771
  }
770
- function ba() {
772
+ function ma() {
771
773
  return h.value;
772
774
  }
773
775
  function Xe() {
774
- u.value.showTable = !u.value.showTable;
776
+ r.value.showTable = !r.value.showTable;
775
777
  }
776
778
  function Ue() {
777
- u.value.showDataLabels = !u.value.showDataLabels;
779
+ r.value.showDataLabels = !r.value.showDataLabels;
778
780
  }
779
781
  function Ze() {
780
- u.value.stacked = !u.value.stacked;
782
+ r.value.stacked = !r.value.stacked;
781
783
  }
782
784
  function Ge() {
783
- u.value.showTooltip = !u.value.showTooltip;
785
+ r.value.showTooltip = !r.value.showTooltip;
784
786
  }
785
787
  const ne = v(!1);
786
- function fe() {
788
+ function me() {
787
789
  ne.value = !ne.value;
788
790
  }
789
791
  return ea({
790
- getData: ba,
792
+ getData: ma,
791
793
  generateCsv: Be,
792
- generatePdf: Pe,
793
- generateImage: Fe,
794
+ generatePdf: Fe,
795
+ generateImage: Ee,
794
796
  toggleTable: Xe,
795
797
  toggleLabels: Ue,
796
798
  toggleStack: Ze,
797
799
  toggleTooltip: Ge,
798
- toggleAnnotator: fe
799
- }), (e, l) => (C(), q("div", {
800
+ toggleAnnotator: me
801
+ }), (e, t) => (C(), q("div", {
800
802
  style: J(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
801
803
  ref_key: "xy",
802
804
  ref: U,
@@ -806,11 +808,11 @@ const at = ["id"], tt = ["onClick"], lt = {
806
808
  a.value.style.chart.title.text ? (C(), q("div", {
807
809
  key: 0,
808
810
  ref_key: "chartTitle",
809
- ref: ke,
811
+ ref: $e,
810
812
  style: J(`width:100%;background:${a.value.style.chart.backgroundColor};`)
811
813
  }, [
812
- (C(), P(Za, {
813
- key: `title_${$e.value}`,
814
+ (C(), F(Za, {
815
+ key: `title_${de.value}`,
814
816
  config: {
815
817
  title: {
816
818
  cy: "xy-canvas-title",
@@ -822,119 +824,119 @@ const at = ["id"], tt = ["onClick"], lt = {
822
824
  }
823
825
  }
824
826
  }, null, 8, ["config"]))
825
- ], 4)) : A("", !0),
826
- a.value.userOptions.show && de.value ? (C(), P(ja, {
827
+ ], 4)) : _("", !0),
828
+ a.value.userOptions.show && ye.value ? (C(), F(ja, {
827
829
  ref: "details",
828
- key: `user_option_${Le.value}`,
830
+ key: `user_option_${Se.value}`,
829
831
  backgroundColor: a.value.style.chart.backgroundColor,
830
832
  color: a.value.style.chart.color,
831
- isPrinting: _(Ie),
832
- isImaging: _(Oe),
833
+ isPrinting: D(Oe),
834
+ isImaging: D(Pe),
833
835
  uid: ie.value,
834
836
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
835
837
  hasPdf: a.value.userOptions.buttons.pdf,
836
838
  hasImg: a.value.userOptions.buttons.img,
837
839
  hasXls: a.value.userOptions.buttons.csv,
838
840
  hasLabel: a.value.userOptions.buttons.labels,
839
- hasStack: be.dataset.length > 1 && a.value.userOptions.buttons.stack,
841
+ hasStack: ke.dataset.length > 1 && a.value.userOptions.buttons.stack,
840
842
  hasFullscreen: a.value.userOptions.buttons.fullscreen,
841
- hasTable: r.value.end - r.value.start < 200 && a.value.userOptions.buttons.table,
843
+ hasTable: u.value.end - u.value.start < 200 && a.value.userOptions.buttons.table,
842
844
  isFullscreen: ce.value,
843
- isTooltip: u.value.showTooltip,
844
- isStacked: u.value.stacked,
845
+ isTooltip: r.value.showTooltip,
846
+ isStacked: r.value.stacked,
845
847
  titles: { ...a.value.userOptions.buttonTitles },
846
848
  chartElement: U.value,
847
849
  position: a.value.userOptions.position,
848
850
  hasAnnotator: a.value.userOptions.buttons.annotator,
849
851
  isAnnotation: ne.value,
850
- onToggleFullscreen: la,
851
- onGeneratePdf: _(Pe),
852
+ onToggleFullscreen: ta,
853
+ onGeneratePdf: D(Fe),
852
854
  onGenerateCsv: Be,
853
- onGenerateImage: _(Fe),
855
+ onGenerateImage: D(Ee),
854
856
  onToggleTable: Xe,
855
857
  onToggleLabels: Ue,
856
858
  onToggleStack: Ze,
857
859
  onToggleTooltip: Ge,
858
- onToggleAnnotator: fe
860
+ onToggleAnnotator: me
859
861
  }, Ca({ _: 2 }, [
860
862
  e.$slots.optionTooltip ? {
861
863
  name: "optionTooltip",
862
- fn: b(() => [
864
+ fn: m(() => [
863
865
  x(e.$slots, "optionTooltip", {}, void 0, !0)
864
866
  ]),
865
867
  key: "0"
866
868
  } : void 0,
867
869
  e.$slots.optionPdf ? {
868
870
  name: "optionPdf",
869
- fn: b(() => [
871
+ fn: m(() => [
870
872
  x(e.$slots, "optionPdf", {}, void 0, !0)
871
873
  ]),
872
874
  key: "1"
873
875
  } : void 0,
874
876
  e.$slots.optionCsv ? {
875
877
  name: "optionCsv",
876
- fn: b(() => [
878
+ fn: m(() => [
877
879
  x(e.$slots, "optionCsv", {}, void 0, !0)
878
880
  ]),
879
881
  key: "2"
880
882
  } : void 0,
881
883
  e.$slots.optionImg ? {
882
884
  name: "optionImg",
883
- fn: b(() => [
885
+ fn: m(() => [
884
886
  x(e.$slots, "optionImg", {}, void 0, !0)
885
887
  ]),
886
888
  key: "3"
887
889
  } : void 0,
888
890
  e.$slots.optionTable ? {
889
891
  name: "optionTable",
890
- fn: b(() => [
892
+ fn: m(() => [
891
893
  x(e.$slots, "optionTable", {}, void 0, !0)
892
894
  ]),
893
895
  key: "4"
894
896
  } : void 0,
895
897
  e.$slots.optionLabels ? {
896
898
  name: "optionLabels",
897
- fn: b(() => [
899
+ fn: m(() => [
898
900
  x(e.$slots, "optionLabels", {}, void 0, !0)
899
901
  ]),
900
902
  key: "5"
901
903
  } : void 0,
902
904
  e.$slots.optionStack ? {
903
905
  name: "optionStack",
904
- fn: b(() => [
906
+ fn: m(() => [
905
907
  x(e.$slots, "optionStack", {}, void 0, !0)
906
908
  ]),
907
909
  key: "6"
908
910
  } : void 0,
909
911
  e.$slots.optionFullscreen ? {
910
912
  name: "optionFullscreen",
911
- fn: b(({ toggleFullscreen: o, isFullscreen: i }) => [
913
+ fn: m(({ toggleFullscreen: o, isFullscreen: i }) => [
912
914
  x(e.$slots, "optionFullscreen", B(X({ toggleFullscreen: o, isFullscreen: i })), void 0, !0)
913
915
  ]),
914
916
  key: "7"
915
917
  } : void 0,
916
918
  e.$slots.optionAnnotator ? {
917
919
  name: "optionAnnotator",
918
- fn: b(({ toggleAnnotator: o, isAnnotator: i }) => [
920
+ fn: m(({ toggleAnnotator: o, isAnnotator: i }) => [
919
921
  x(e.$slots, "optionAnnotator", B(X({ toggleAnnotator: o, isAnnotator: i })), void 0, !0)
920
922
  ]),
921
923
  key: "8"
922
924
  } : void 0
923
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : A("", !0),
925
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : _("", !0),
924
926
  K("div", {
925
927
  class: "vue-ui-xy-canvas",
926
- style: J(`position: relative; aspect-ratio: ${Re.value}`),
928
+ style: J(`position: relative; aspect-ratio: ${Ie.value}`),
927
929
  ref_key: "container",
928
930
  ref: Z
929
931
  }, [
930
- de.value ? (C(), q("canvas", {
932
+ ye.value ? (C(), q("canvas", {
931
933
  key: 0,
932
934
  ref_key: "canvas",
933
935
  ref: $,
934
936
  style: { width: "100%", height: "100%" },
935
- onMousemove: l[0] || (l[0] = (o) => ya(o)),
937
+ onMousemove: t[0] || (t[0] = (o) => ya(o)),
936
938
  onMouseleave: ga
937
- }, null, 544)) : (C(), P(Ka, {
939
+ }, null, 544)) : (C(), F(Ka, {
938
940
  key: 1,
939
941
  config: {
940
942
  type: "line",
@@ -953,7 +955,7 @@ const at = ["id"], tt = ["onClick"], lt = {
953
955
  }
954
956
  }, null, 8, ["config"])),
955
957
  wa(Xa, {
956
- show: u.value.showTooltip && te.value,
958
+ show: r.value.showTooltip && le.value,
957
959
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
958
960
  color: a.value.style.chart.tooltip.color,
959
961
  fontSize: a.value.style.chart.tooltip.fontSize,
@@ -963,67 +965,67 @@ const at = ["id"], tt = ["onClick"], lt = {
963
965
  position: a.value.style.chart.tooltip.position,
964
966
  offsetY: a.value.style.chart.tooltip.offsetY,
965
967
  parent: $.value,
966
- content: le.value,
968
+ content: te.value,
967
969
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
968
- isCustom: _(qe)(a.value.style.chart.tooltip.customFormat)
970
+ isCustom: D(qe)(a.value.style.chart.tooltip.customFormat)
969
971
  }, {
970
- "tooltip-before": b(() => [
971
- x(e.$slots, "tooltip-before", B(X({ ...me.value })), void 0, !0)
972
+ "tooltip-before": m(() => [
973
+ x(e.$slots, "tooltip-before", B(X({ ...Ce.value })), void 0, !0)
972
974
  ]),
973
- "tooltip-after": b(() => [
974
- x(e.$slots, "tooltip-after", B(X({ ...me.value })), void 0, !0)
975
+ "tooltip-after": m(() => [
976
+ x(e.$slots, "tooltip-after", B(X({ ...Ce.value })), void 0, !0)
975
977
  ]),
976
978
  _: 3
977
979
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "backgroundOpacity", "isCustom"])
978
980
  ], 4),
979
981
  K("div", {
980
982
  ref_key: "chartSlicer",
981
- ref: we,
983
+ ref: Te,
982
984
  style: J(`width:100%;background:${a.value.style.chart.backgroundColor}`),
983
985
  "data-html2canvas-ignore": ""
984
986
  }, [
985
- a.value.style.chart.zoom.show && R.value > 1 ? (C(), P(Ga, {
986
- key: `slicer_${xe.value}`,
987
+ a.value.style.chart.zoom.show && I.value > 1 ? (C(), F(Ga, {
988
+ key: `slicer_${we.value}`,
987
989
  background: a.value.style.chart.zoom.color,
988
990
  borderColor: a.value.style.chart.backgroundColor,
989
991
  fontSize: a.value.style.chart.zoom.fontSize,
990
992
  useResetSlot: a.value.style.chart.zoom.useResetSlot,
991
- labelLeft: a.value.style.chart.grid.y.timeLabels.values[r.value.start] ? a.value.style.chart.grid.y.timeLabels.values[r.value.start] : "",
992
- labelRight: a.value.style.chart.grid.y.timeLabels.values[r.value.end - 1] ? a.value.style.chart.grid.y.timeLabels.values[r.value.end - 1] : "",
993
+ labelLeft: a.value.style.chart.grid.y.timeLabels.values[u.value.start] ? a.value.style.chart.grid.y.timeLabels.values[u.value.start] : "",
994
+ labelRight: a.value.style.chart.grid.y.timeLabels.values[u.value.end - 1] ? a.value.style.chart.grid.y.timeLabels.values[u.value.end - 1] : "",
993
995
  textColor: a.value.style.chart.color,
994
996
  inputColor: a.value.style.chart.zoom.color,
995
997
  selectColor: a.value.style.chart.zoom.highlightColor,
996
- max: R.value,
998
+ max: I.value,
997
999
  min: 0,
998
- valueStart: r.value.start,
999
- valueEnd: r.value.end,
1000
- start: r.value.start,
1001
- "onUpdate:start": l[1] || (l[1] = (o) => r.value.start = o),
1002
- end: r.value.end,
1003
- "onUpdate:end": l[2] || (l[2] = (o) => r.value.end = o),
1004
- onReset: Ae
1000
+ valueStart: u.value.start,
1001
+ valueEnd: u.value.end,
1002
+ start: u.value.start,
1003
+ "onUpdate:start": t[1] || (t[1] = (o) => u.value.start = o),
1004
+ end: u.value.end,
1005
+ "onUpdate:end": t[2] || (t[2] = (o) => u.value.end = o),
1006
+ onReset: _e
1005
1007
  }, {
1006
- "reset-action": b(({ reset: o }) => [
1008
+ "reset-action": m(({ reset: o }) => [
1007
1009
  x(e.$slots, "reset-action", B(X({ reset: o })), void 0, !0)
1008
1010
  ]),
1009
1011
  _: 3
1010
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : A("", !0)
1012
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : _("", !0)
1011
1013
  ], 4),
1012
1014
  K("div", {
1013
1015
  ref_key: "chartLegend",
1014
- ref: Ce
1016
+ ref: ze
1015
1017
  }, [
1016
- a.value.style.chart.legend.show && de.value ? (C(), P(Ua, {
1018
+ a.value.style.chart.legend.show && ye.value ? (C(), F(Ua, {
1017
1019
  legendSet: We.value,
1018
1020
  config: pa.value,
1019
- key: `legend_${Te.value}`,
1020
- onClickMarker: l[3] || (l[3] = ({ i: o }) => He(o))
1021
+ key: `legend_${fe.value}`,
1022
+ onClickMarker: t[3] || (t[3] = ({ i: o }) => He(o))
1021
1023
  }, {
1022
- item: b(({ legend: o, index: i }) => [
1024
+ item: m(({ legend: o, index: i }) => [
1023
1025
  K("div", {
1024
1026
  onClick: (c) => o.segregate(),
1025
1027
  style: J(`opacity:${S.value.includes(i) ? 0.5 : 1}`)
1026
- }, Ve(o.name), 13, tt)
1028
+ }, Ve(o.name), 13, ll)
1027
1029
  ]),
1028
1030
  _: 1
1029
1031
  }, 8, ["legendSet", "config"])) : x(e.$slots, "legend", {
@@ -1031,22 +1033,22 @@ const at = ["id"], tt = ["onClick"], lt = {
1031
1033
  legend: We.value
1032
1034
  }, void 0, !0)
1033
1035
  ], 512),
1034
- e.$slots.watermark ? (C(), q("div", lt, [
1035
- x(e.$slots, "watermark", B(X({ isPrinting: _(Ie) || _(Oe) })), void 0, !0)
1036
- ])) : A("", !0),
1036
+ e.$slots.watermark ? (C(), q("div", tl, [
1037
+ x(e.$slots, "watermark", B(X({ isPrinting: D(Oe) || D(Pe) })), void 0, !0)
1038
+ ])) : _("", !0),
1037
1039
  e.$slots.source ? (C(), q("div", {
1038
1040
  key: 3,
1039
1041
  ref_key: "source",
1040
- ref: Se,
1042
+ ref: Me,
1041
1043
  dir: "auto"
1042
1044
  }, [
1043
1045
  x(e.$slots, "source", {}, void 0, !0)
1044
- ], 512)) : A("", !0),
1045
- r.value.end - r.value.start < 200 ? (C(), P(qa, {
1046
+ ], 512)) : _("", !0),
1047
+ u.value.end - u.value.start < 200 ? (C(), F(qa, {
1046
1048
  key: 4,
1047
1049
  hideDetails: "",
1048
1050
  config: {
1049
- open: u.value.showTable,
1051
+ open: r.value.showTable,
1050
1052
  maxHeight: 1e4,
1051
1053
  body: {
1052
1054
  backgroundColor: a.value.style.chart.backgroundColor,
@@ -1058,38 +1060,38 @@ const at = ["id"], tt = ["onClick"], lt = {
1058
1060
  }
1059
1061
  }
1060
1062
  }, {
1061
- content: b(() => [
1062
- (C(), P(Ja, {
1063
- key: `table_${ze.value}`,
1063
+ content: m(() => [
1064
+ (C(), F(Ja, {
1065
+ key: `table_${he.value}`,
1064
1066
  colNames: se.value.colNames,
1065
1067
  head: se.value.head,
1066
1068
  body: se.value.body,
1067
1069
  config: se.value.config,
1068
1070
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1069
- onClose: l[4] || (l[4] = (o) => u.value.showTable = !1)
1071
+ onClose: t[4] || (t[4] = (o) => r.value.showTable = !1)
1070
1072
  }, {
1071
- th: b(({ th: o }) => [
1072
- K("div", { innerHTML: o }, null, 8, ot)
1073
+ th: m(({ th: o }) => [
1074
+ K("div", { innerHTML: o }, null, 8, ol)
1073
1075
  ]),
1074
- td: b(({ td: o }) => [
1076
+ td: m(({ td: o }) => [
1075
1077
  Sa(Ve(o), 1)
1076
1078
  ]),
1077
1079
  _: 1
1078
1080
  }, 8, ["colNames", "head", "body", "config", "title"]))
1079
1081
  ]),
1080
1082
  _: 1
1081
- }, 8, ["config"])) : A("", !0),
1082
- a.value.userOptions.buttons.annotator && h.value.length ? (C(), P(Qa, {
1083
+ }, 8, ["config"])) : _("", !0),
1084
+ a.value.userOptions.buttons.annotator && h.value.length ? (C(), F(Qa, {
1083
1085
  key: 5,
1084
1086
  parent: U.value,
1085
1087
  backgroundColor: a.value.style.chart.backgroundColor,
1086
1088
  color: a.value.style.chart.color,
1087
1089
  active: ne.value,
1088
- onClose: fe
1089
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : A("", !0)
1090
- ], 14, at));
1090
+ onClose: me
1091
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
1092
+ ], 14, al));
1091
1093
  }
1092
- }, xt = /* @__PURE__ */ et(rt, [["__scopeId", "data-v-433caf88"]]);
1094
+ }, xl = /* @__PURE__ */ el(ul, [["__scopeId", "data-v-bf3412d9"]]);
1093
1095
  export {
1094
- xt as default
1096
+ xl as default
1095
1097
  };