vue-data-ui 2.4.49 → 2.4.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (199) hide show
  1. package/README.md +12 -0
  2. package/dist/{Arrow-CTukks_V.cjs → Arrow-2a_SwBgz.cjs} +1 -1
  3. package/dist/{Arrow-Q0cOmO5p.js → Arrow-BUz63pb2.js} +1 -1
  4. package/dist/{BaseIcon-2ZD3jgGz.cjs → BaseIcon-BASl_NFX.cjs} +1 -1
  5. package/dist/{BaseIcon-CaYP30Aq.js → BaseIcon-CmiukQBl.js} +1 -1
  6. package/dist/{DataTable-CO5C8Cmb.js → DataTable-DGf6RrOJ.js} +2 -2
  7. package/dist/{DataTable-kMUhutQ4.cjs → DataTable-G3ICK-5h.cjs} +1 -1
  8. package/dist/{Legend-FZN9UHoI.js → Legend-BLaZxMge.js} +1 -1
  9. package/dist/{Legend-DPHcmrzd.cjs → Legend-BiuPlEMg.cjs} +1 -1
  10. package/dist/{PackageVersion-rnWHRWGI.cjs → PackageVersion-Bj34UNnQ.cjs} +1 -1
  11. package/dist/{PackageVersion-DYk2hOG1.js → PackageVersion-CxJghxYD.js} +1 -1
  12. package/dist/{PenAndPaper-BQl9-uX0.cjs → PenAndPaper-D9yQnc0e.cjs} +1 -1
  13. package/dist/{PenAndPaper-BfgS_5ux.js → PenAndPaper-ZdZEumki.js} +3 -3
  14. package/dist/{Shape-BqkMzXqo.js → Shape-DIKzzpFm.js} +1 -1
  15. package/dist/{Shape-BblkpCyL.cjs → Shape-yducHWd0.cjs} +1 -1
  16. package/dist/{Slicer-yEeqKUDF.cjs → Slicer-BHS9W4MJ.cjs} +1 -1
  17. package/dist/{Slicer-DlgqsI5C.js → Slicer-Cxdl3cDt.js} +2 -2
  18. package/dist/{Title-5Vedk01J.cjs → Title-Bk_55doC.cjs} +1 -1
  19. package/dist/{Title-DED-PQ7X.js → Title-aSAft5dl.js} +1 -1
  20. package/dist/{Tooltip-DjCKBAC4.cjs → Tooltip-G7ENx87_.cjs} +1 -1
  21. package/dist/{Tooltip-CHseiJu8.js → Tooltip-smutPF--.js} +1 -1
  22. package/dist/{index-igxqCP2w.js → index-BbPeL8Gp.js} +5 -1
  23. package/dist/index-DhDYBLBe.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +5 -1
  26. package/dist/types/vue-data-ui.d.ts +5 -1
  27. package/dist/{useNestedProp-CSVnZVwZ.js → useNestedProp-BN8claGG.js} +1 -1
  28. package/dist/{useNestedProp-CwpqC_aE.cjs → useNestedProp-BphUExEh.cjs} +1 -1
  29. package/dist/{usePrinter-DVgxBO4o.cjs → usePrinter-2_QjJFdH.cjs} +1 -1
  30. package/dist/{usePrinter-CnZYDQXB.js → usePrinter-DaybDVqP.js} +1 -1
  31. package/dist/useUserOptionState-BIvW1Kz7.js +17 -0
  32. package/dist/useUserOptionState-BgepsfED.cjs +1 -0
  33. package/dist/{vue-data-ui-BrRTkOqu.cjs → vue-data-ui-C5vsHRHD.cjs} +1 -1
  34. package/dist/{vue-data-ui-B--WWkUM.js → vue-data-ui-Ckbp-yIf.js} +60 -60
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-DUgumRsg.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-OzzLYbUl.js → vue-ui-3d-bar-wDYs3sVe.js} +345 -339
  39. package/dist/{vue-ui-accordion-lF7yVkiT.js → vue-ui-accordion-5d5iVpr7.js} +3 -3
  40. package/dist/{vue-ui-accordion-CRVWlHxs.cjs → vue-ui-accordion-B7tNzRWB.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-5Vj8AtW1.js → vue-ui-age-pyramid-BH1khaaq.js} +260 -254
  42. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +1 -0
  43. package/dist/{vue-ui-annotator-BmO78L3H.js → vue-ui-annotator-B9VKE_qz.js} +1 -1
  44. package/dist/{vue-ui-annotator-D8Hx1BFF.cjs → vue-ui-annotator-jXkB5XnD.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-DwFD41hN.js → vue-ui-bullet-BLi9CSZw.js} +152 -146
  46. package/dist/vue-ui-bullet-QrXtipbT.cjs +34 -0
  47. package/dist/{vue-ui-candlestick-By609gwn.js → vue-ui-candlestick-Bjz1uFbv.js} +223 -217
  48. package/dist/vue-ui-candlestick-Da4ygGXR.cjs +2 -0
  49. package/dist/{vue-ui-carousel-table-wwMoteEN.js → vue-ui-carousel-table-B6zgTL-W.js} +160 -154
  50. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +1 -0
  51. package/dist/vue-ui-chestnut-C_N7EbjQ.cjs +6 -0
  52. package/dist/{vue-ui-chestnut-hqorA5EW.js → vue-ui-chestnut-D5HpkuIa.js} +237 -231
  53. package/dist/{vue-ui-cursor-BCg5VZUb.cjs → vue-ui-cursor-A_siHYBc.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-GSkn7N7Z.js → vue-ui-cursor-DZNIbvR2.js} +2 -2
  55. package/dist/{vue-ui-dashboard-Bkm9bcAc.cjs → vue-ui-dashboard-BfPJyiY9.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-DIoYWyXB.js → vue-ui-dashboard-DCqe4BZg.js} +2 -2
  57. package/dist/{vue-ui-digits-niqTltAv.js → vue-ui-digits-BEWCnojc.js} +2 -2
  58. package/dist/{vue-ui-digits-CpBBTAI9.cjs → vue-ui-digits-BEhLa3jI.cjs} +1 -1
  59. package/dist/vue-ui-donut-By3QRfkV.cjs +1 -0
  60. package/dist/{vue-ui-donut-evolution-XQp6R0e_.js → vue-ui-donut-evolution-Cu6dmlT2.js} +300 -294
  61. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +1 -0
  62. package/dist/{vue-ui-donut-DfufBrkk.js → vue-ui-donut-g5ZLhYPx.js} +376 -370
  63. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-DSS8sHHU.js → vue-ui-dumbbell-bb4-Ep6o.js} +256 -250
  65. package/dist/vue-ui-flow-CCvTnu7z.cjs +1 -0
  66. package/dist/{vue-ui-flow-BBNuPVgI.js → vue-ui-flow-hD0F6mTK.js} +164 -158
  67. package/dist/vue-ui-funnel-DKxAPRi_.cjs +1 -0
  68. package/dist/{vue-ui-funnel-BDGggRXE.js → vue-ui-funnel-hcbE4yky.js} +178 -172
  69. package/dist/{vue-ui-galaxy-6Odi2CwM.js → vue-ui-galaxy-ByKjxVWV.js} +187 -181
  70. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +1 -0
  71. package/dist/vue-ui-gauge-BFA_unjg.cjs +1 -0
  72. package/dist/{vue-ui-gauge-DeYvNVnR.js → vue-ui-gauge-PGirbe6O.js} +220 -214
  73. package/dist/{vue-ui-gizmo-DXQt_8D0.cjs → vue-ui-gizmo-CHMApil6.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-BcAr2dTN.js → vue-ui-gizmo-ChSfBYZ_.js} +3 -3
  75. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +1 -0
  76. package/dist/{vue-ui-heatmap-Btm1mK6D.js → vue-ui-heatmap-CK3FIWpo.js} +270 -264
  77. package/dist/vue-ui-history-plot-BmGodgUx.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-OY6N31Ka.js → vue-ui-history-plot-EmQ-Byiz.js} +236 -230
  79. package/dist/{vue-ui-kpi-CQIbWQMk.cjs → vue-ui-kpi-BdungaO2.cjs} +1 -1
  80. package/dist/{vue-ui-kpi-D5oNUDVm.js → vue-ui-kpi-DjC68pSz.js} +3 -3
  81. package/dist/{vue-ui-mini-loader-BjqV22Co.js → vue-ui-mini-loader-CzrblCCD.js} +2 -2
  82. package/dist/{vue-ui-mini-loader-ByDKGMAp.cjs → vue-ui-mini-loader-jwL_pZjb.cjs} +1 -1
  83. package/dist/{vue-ui-molecule-FsLf3YTj.js → vue-ui-molecule-DBQJQs4Y.js} +294 -289
  84. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +1 -0
  85. package/dist/{vue-ui-mood-radar-31BX-GNG.js → vue-ui-mood-radar-Ca9wPZpJ.js} +205 -199
  86. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +1 -0
  87. package/dist/{vue-ui-nested-donuts-BMJW2oHk.js → vue-ui-nested-donuts-C8at93dN.js} +286 -280
  88. package/dist/vue-ui-nested-donuts-DEdS6dpj.cjs +17 -0
  89. package/dist/{vue-ui-onion-BUpGgnWA.js → vue-ui-onion-B-PXxNu6.js} +198 -192
  90. package/dist/vue-ui-onion-B2ioudP5.cjs +5 -0
  91. package/dist/{vue-ui-parallel-coordinate-plot-9I00rQEM.js → vue-ui-parallel-coordinate-plot-ByM3So9k.js} +236 -230
  92. package/dist/vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs +8 -0
  93. package/dist/{vue-ui-quadrant-CEmoMAL7.js → vue-ui-quadrant-BqOJBcsI.js} +255 -249
  94. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +1 -0
  95. package/dist/{vue-ui-quick-chart-T_oeRTqY.js → vue-ui-quick-chart-BfXxT3KM.js} +474 -466
  96. package/dist/vue-ui-quick-chart-Bt9KA82P.cjs +15 -0
  97. package/dist/{vue-ui-radar-DG_Zir8w.js → vue-ui-radar-BKpD9xDr.js} +256 -250
  98. package/dist/vue-ui-radar-Czmsd_uv.cjs +1 -0
  99. package/dist/{vue-ui-rating-Juprijdi.cjs → vue-ui-rating-BE545aI4.cjs} +1 -1
  100. package/dist/{vue-ui-rating-gswAA28b.js → vue-ui-rating-DQRuqev5.js} +2 -2
  101. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +1 -0
  102. package/dist/vue-ui-relation-circle-nZ2nBpWX.js +498 -0
  103. package/dist/vue-ui-rings-B7JzZ3ub.cjs +2 -0
  104. package/dist/{vue-ui-rings-D3g-ORch.js → vue-ui-rings-C1PV0873.js} +177 -172
  105. package/dist/vue-ui-scatter-CTI943ks.cjs +1 -0
  106. package/dist/{vue-ui-scatter-DBO-XViT.js → vue-ui-scatter-dgs1m3-2.js} +310 -304
  107. package/dist/{vue-ui-screenshot-3MDyr6v3.cjs → vue-ui-screenshot--cHV0jG3.cjs} +1 -1
  108. package/dist/{vue-ui-screenshot-K0a-DVD6.js → vue-ui-screenshot-Dxj0l8Jg.js} +1 -1
  109. package/dist/{vue-ui-skeleton-CWjNNx-k.js → vue-ui-skeleton-Bniq21d9.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DUNkS05l.cjs → vue-ui-skeleton-lkPDknHn.cjs} +1 -1
  111. package/dist/{vue-ui-smiley-Cbqg-N-L.cjs → vue-ui-smiley-CozXoiti.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-MwX1c6qK.js → vue-ui-smiley-D4DAZIpA.js} +2 -2
  113. package/dist/{vue-ui-spark-trend-CN5JUPhn.cjs → vue-ui-spark-trend-CSqyvI_K.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-D9eWTtbE.js → vue-ui-spark-trend-ZqrwhwqS.js} +5 -5
  115. package/dist/{vue-ui-sparkbar-IphZ8jXh.cjs → vue-ui-sparkbar-Bph8KIjk.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CPF7YNDd.js → vue-ui-sparkbar-q0G4GvFm.js} +4 -4
  117. package/dist/{vue-ui-sparkgauge-B29V7ZTv.js → vue-ui-sparkgauge-DA_h9jcN.js} +4 -4
  118. package/dist/{vue-ui-sparkgauge-BRMGqR9Z.cjs → vue-ui-sparkgauge-nSAW83dN.cjs} +1 -1
  119. package/dist/{vue-ui-sparkhistogram-BJTgOWF5.js → vue-ui-sparkhistogram-B1WyBiq_.js} +5 -5
  120. package/dist/{vue-ui-sparkhistogram-rvYaVHmw.cjs → vue-ui-sparkhistogram-BLYhRNpt.cjs} +1 -1
  121. package/dist/{vue-ui-sparkline-BI9jqI0h.cjs → vue-ui-sparkline-PNix1-R9.cjs} +1 -1
  122. package/dist/{vue-ui-sparkline-DX79otAB.js → vue-ui-sparkline-ccfl0s3m.js} +4 -4
  123. package/dist/{vue-ui-sparkstackbar-DuollcwK.cjs → vue-ui-sparkstackbar-DpuvEumy.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-vP28A6AT.js → vue-ui-sparkstackbar-PNKwVRu8.js} +5 -5
  125. package/dist/{vue-ui-stackbar-DnJEgIaA.js → vue-ui-stackbar-BBYnF8qm.js} +367 -361
  126. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +6 -0
  127. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +1 -0
  128. package/dist/{vue-ui-strip-plot-DqcHBwd_.js → vue-ui-strip-plot-TVlnzXFq.js} +269 -263
  129. package/dist/{vue-ui-table-BMJ0I5nr.cjs → vue-ui-table-CHdv3KuM.cjs} +1 -1
  130. package/dist/{vue-ui-table-D8cgqIJl.js → vue-ui-table-CsEajH9S.js} +1 -1
  131. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +1 -0
  132. package/dist/vue-ui-table-heatmap-CubRipoB.js +262 -0
  133. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +1 -0
  134. package/dist/{vue-ui-table-sparkline-B_Po0RuC.js → vue-ui-table-sparkline-YV8DUOqh.js} +256 -239
  135. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +1 -0
  136. package/dist/{vue-ui-thermometer-C6nfW6uY.js → vue-ui-thermometer-DmMjSLc1.js} +170 -164
  137. package/dist/{vue-ui-timer-ldINTqND.cjs → vue-ui-timer-DteYgv9y.cjs} +1 -1
  138. package/dist/{vue-ui-timer-CfwmMRdZ.js → vue-ui-timer-DvE_nqd9.js} +5 -5
  139. package/dist/vue-ui-tiremarks-CCrkDgjX.js +323 -0
  140. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +1 -0
  141. package/dist/vue-ui-treemap-BzRVKqXL.cjs +1 -0
  142. package/dist/{vue-ui-treemap-CwMnkcOi.js → vue-ui-treemap-C4A4spvg.js} +243 -237
  143. package/dist/{vue-ui-vertical-bar-BZR4YOLh.js → vue-ui-vertical-bar-8iL1xiaz.js} +238 -232
  144. package/dist/vue-ui-vertical-bar-B60lSXNq.cjs +4 -0
  145. package/dist/{vue-ui-waffle-D2BccJmB.js → vue-ui-waffle-CaYNz-Kd.js} +316 -310
  146. package/dist/vue-ui-waffle-O8pAEf4X.cjs +1 -0
  147. package/dist/vue-ui-wheel-BRR2rGou.js +305 -0
  148. package/dist/vue-ui-wheel-CnFdB_B1.cjs +1 -0
  149. package/dist/vue-ui-word-cloud-X4mp280j.cjs +1 -0
  150. package/dist/{vue-ui-word-cloud-DiG8DHOr.js → vue-ui-word-cloud-y2GGxwoq.js} +246 -240
  151. package/dist/{vue-ui-xy-DicLnkBA.js → vue-ui-xy-CXoWP8bh.js} +708 -697
  152. package/dist/vue-ui-xy-CbM75yXK.cjs +3 -0
  153. package/dist/{vue-ui-xy-canvas-D6CYL9A8.js → vue-ui-xy-canvas-D7MrUJj7.js} +334 -328
  154. package/dist/vue-ui-xy-canvas-DWvIvSry.cjs +9 -0
  155. package/package.json +1 -1
  156. package/dist/index-BHQZE19X.cjs +0 -9
  157. package/dist/vue-ui-3d-bar-BGVLnjCh.cjs +0 -19
  158. package/dist/vue-ui-age-pyramid-Cv0Rddsx.cjs +0 -1
  159. package/dist/vue-ui-bullet-C0Q2Vs5p.cjs +0 -34
  160. package/dist/vue-ui-candlestick-C7kRHFF3.cjs +0 -2
  161. package/dist/vue-ui-carousel-table-1_Hy8sGL.cjs +0 -1
  162. package/dist/vue-ui-chestnut-D3LGylRp.cjs +0 -6
  163. package/dist/vue-ui-donut-CQEOtlxM.cjs +0 -1
  164. package/dist/vue-ui-donut-evolution-Dg_XJyX8.cjs +0 -1
  165. package/dist/vue-ui-dumbbell-RAkNYRoJ.cjs +0 -9
  166. package/dist/vue-ui-flow-BUmSGSmR.cjs +0 -1
  167. package/dist/vue-ui-funnel-B9HR0owO.cjs +0 -1
  168. package/dist/vue-ui-galaxy-DmsMWB1a.cjs +0 -1
  169. package/dist/vue-ui-gauge-Dvv0v56Z.cjs +0 -1
  170. package/dist/vue-ui-heatmap-DZ02dS5q.cjs +0 -1
  171. package/dist/vue-ui-history-plot-DPQWcN0P.cjs +0 -1
  172. package/dist/vue-ui-molecule-C8O_ViVy.cjs +0 -1
  173. package/dist/vue-ui-mood-radar-4u98wGWl.cjs +0 -1
  174. package/dist/vue-ui-nested-donuts-BPc_OBoe.cjs +0 -17
  175. package/dist/vue-ui-onion-IhkIHn1A.cjs +0 -5
  176. package/dist/vue-ui-parallel-coordinate-plot-DzjggyLA.cjs +0 -8
  177. package/dist/vue-ui-quadrant-EZqQ-7Ev.cjs +0 -1
  178. package/dist/vue-ui-quick-chart-BKUUR-A1.cjs +0 -15
  179. package/dist/vue-ui-radar-QBwo6ybW.cjs +0 -1
  180. package/dist/vue-ui-relation-circle-BWX8zrfH.cjs +0 -1
  181. package/dist/vue-ui-relation-circle-DtnXrnOP.js +0 -492
  182. package/dist/vue-ui-rings-Damuv7g9.cjs +0 -2
  183. package/dist/vue-ui-scatter-RUeAe7Sx.cjs +0 -1
  184. package/dist/vue-ui-stackbar-BumFmZZF.cjs +0 -6
  185. package/dist/vue-ui-strip-plot-DupREfRd.cjs +0 -1
  186. package/dist/vue-ui-table-heatmap-D43pTFli.cjs +0 -1
  187. package/dist/vue-ui-table-heatmap-D4qeClXn.js +0 -256
  188. package/dist/vue-ui-table-sparkline-B7OPOium.cjs +0 -1
  189. package/dist/vue-ui-thermometer-CaV3JF3h.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-BlyxL_IU.cjs +0 -1
  191. package/dist/vue-ui-tiremarks-iNKMnu3P.js +0 -317
  192. package/dist/vue-ui-treemap-YdRDlSHA.cjs +0 -1
  193. package/dist/vue-ui-vertical-bar-Bji3-X8i.cjs +0 -4
  194. package/dist/vue-ui-waffle-rO_LJaHR.cjs +0 -1
  195. package/dist/vue-ui-wheel-BTrpdV-C.cjs +0 -1
  196. package/dist/vue-ui-wheel-GqWFopE1.js +0 -299
  197. package/dist/vue-ui-word-cloud-DD-pKUen.cjs +0 -1
  198. package/dist/vue-ui-xy-C32KNdyx.cjs +0 -3
  199. package/dist/vue-ui-xy-canvas-9e630nJX.cjs +0 -9
@@ -1,21 +1,22 @@
1
- import { ref as i, computed as x, watch as _, nextTick as ce, onMounted as za, onBeforeUnmount as Sa, openBlock as z, createElementBlock as J, normalizeStyle as K, normalizeClass as $a, createBlock as F, createCommentVNode as A, unref as D, createSlots as Ia, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as U, createElementVNode as Q, createVNode as Ta, toDisplayString as Ke, createTextVNode as Ma } from "vue";
2
- import { u as Pa, c as Ra, t as Oa, a as Fa, p as H, C as de, b as Ea, D as Ce, i as ee, f as ae, Y as Na, J as _a, d as Qe, a2 as Aa, o as Da, e as Ha, x as ea, y as Wa, q as Xa, r as Ya, s as le, l as Ba } from "./index-igxqCP2w.js";
3
- import { d as Ua, c as Za, a as aa, t as Ga, l as k, r as we, b as E, p as la, u as Va } from "./useResponsive-CoxXLe23.js";
4
- import { _ as ja } from "./Tooltip-CHseiJu8.js";
5
- import { L as qa } from "./Legend-FZN9UHoI.js";
6
- import { _ as Ja } from "./Title-DED-PQ7X.js";
7
- import { S as Ka } from "./Slicer-DlgqsI5C.js";
8
- import { u as Qa, U as el } from "./usePrinter-CnZYDQXB.js";
9
- import al from "./vue-ui-accordion-lF7yVkiT.js";
10
- import { D as ll } from "./DataTable-CO5C8Cmb.js";
11
- import tl from "./vue-ui-skeleton-CWjNNx-k.js";
12
- import { u as ta } from "./useNestedProp-CSVnZVwZ.js";
13
- import { P as ol } from "./PenAndPaper-BfgS_5ux.js";
14
- import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const ul = ["id"], sl = ["onClick"], nl = {
1
+ import { ref as i, computed as x, watch as D, nextTick as ce, onMounted as Ia, onBeforeUnmount as Ma, openBlock as z, createElementBlock as K, normalizeStyle as Y, normalizeClass as Ta, unref as S, createBlock as E, createCommentVNode as _, createSlots as Oa, withCtx as b, renderSlot as L, normalizeProps as B, guardReactiveProps as V, createElementVNode as Q, createVNode as Pa, toDisplayString as aa, createTextVNode as Ra } from "vue";
2
+ import { u as Fa, c as Ea, t as Na, a as Aa, p as H, C as de, b as Da, D as Ce, i as ee, f as ae, Y as _a, J as Ha, d as la, a2 as Ua, o as Wa, e as Xa, x as ta, y as Ya, q as Ba, r as Va, s as le, l as Za } from "./index-BbPeL8Gp.js";
3
+ import { d as Ga, c as ja, a as oa, t as qa, l as k, r as we, b as N, p as ra, u as Ja } from "./useResponsive-CoxXLe23.js";
4
+ import { _ as Ka } from "./Tooltip-smutPF--.js";
5
+ import { L as Qa } from "./Legend-BLaZxMge.js";
6
+ import { _ as el } from "./Title-aSAft5dl.js";
7
+ import { S as al } from "./Slicer-Cxdl3cDt.js";
8
+ import { u as ll, U as tl } from "./usePrinter-DaybDVqP.js";
9
+ import ol from "./vue-ui-accordion-5d5iVpr7.js";
10
+ import { D as rl } from "./DataTable-DGf6RrOJ.js";
11
+ import ul from "./vue-ui-skeleton-Bniq21d9.js";
12
+ import { u as ua } from "./useNestedProp-BN8claGG.js";
13
+ import { P as sl } from "./PenAndPaper-ZdZEumki.js";
14
+ import { u as nl } from "./useUserOptionState-BIvW1Kz7.js";
15
+ import { _ as il } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const vl = ["id"], cl = ["onClick"], dl = {
16
17
  key: 2,
17
18
  class: "vue-data-ui-watermark"
18
- }, il = ["innerHTML"], vl = {
19
+ }, hl = ["innerHTML"], yl = {
19
20
  __name: "vue-ui-xy-canvas",
20
21
  props: {
21
22
  dataset: {
@@ -32,31 +33,31 @@ const ul = ["id"], sl = ["onClick"], nl = {
32
33
  }
33
34
  },
34
35
  emits: ["selectLegend"],
35
- setup(ze, { expose: oa, emit: ra }) {
36
- const f = ze, { vue_ui_xy_canvas: ua } = Pa(), he = i(Ra()), Z = i(null), I = i(null), G = i(null), s = i(null), y = i(1), P = i(1), te = i(!1), d = i(null), oe = i(""), Se = i(null), S = i([]), W = i(1), N = i(!0), T = i(!0), ye = i(null), $e = i(0), Ie = i(0), re = i(!1), Te = i(null), Me = i(null), Pe = i(null), Re = i(null), fe = i(0), ge = i(0), pe = i(0), me = x(() => !!f.dataset && f.dataset.length), a = x({
37
- get: () => Oe(),
36
+ setup(ze, { expose: sa, emit: na }) {
37
+ const f = ze, { vue_ui_xy_canvas: ia } = Fa(), he = i(Ea()), Z = i(null), M = i(null), G = i(null), s = i(null), y = i(1), P = i(1), te = i(!1), d = i(null), oe = i(""), Se = i(null), $ = i([]), U = i(1), A = i(!0), T = i(!0), ye = i(null), $e = i(0), Ie = i(0), re = i(!1), Me = i(null), Te = i(null), Oe = i(null), Pe = i(null), fe = i(0), ge = i(0), pe = i(0), me = x(() => !!f.dataset && f.dataset.length), a = x({
38
+ get: () => Ne(),
38
39
  set: (e) => e
39
- });
40
- function Oe() {
41
- const e = ta({
40
+ }), { userOptionsVisible: Re, setUserOptionsVisibility: Fe, keepUserOptionState: Ee } = nl({ config: a.value });
41
+ function Ne() {
42
+ const e = ua({
42
43
  userConfig: f.config,
43
- defaultConfig: ua
44
+ defaultConfig: ia
44
45
  });
45
- let t = {};
46
- return e.theme ? t = {
47
- ...ta({
48
- userConfig: Oa.vue_ui_xy_canvas[e.theme] || f.config,
46
+ let l = {};
47
+ return e.theme ? l = {
48
+ ...ua({
49
+ userConfig: Na.vue_ui_xy_canvas[e.theme] || f.config,
49
50
  defaultConfig: e
50
51
  }),
51
- customPalette: Fa[e.theme] || H
52
- } : 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;
52
+ customPalette: Aa[e.theme] || H
53
+ } : 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;
53
54
  }
54
- _(() => f.config, (e) => {
55
- a.value = Oe(), xe(), fe.value += 1, ge.value += 1, pe.value += 1;
56
- }, { deep: !0 }), _(() => f.dataset, () => {
55
+ D(() => f.config, (e) => {
56
+ a.value = Ne(), xe(), fe.value += 1, ge.value += 1, pe.value += 1;
57
+ }, { deep: !0 }), D(() => f.dataset, () => {
57
58
  xe(), fe.value += 1, ge.value += 1, pe.value += 1;
58
59
  }, { deep: !0 });
59
- const Fe = i(a.value.style.chart.aspectRatio), { isPrinting: Ee, isImaging: Ne, generatePdf: _e, generateImage: Ae } = Qa({
60
+ const Ae = i(a.value.style.chart.aspectRatio), { isPrinting: De, isImaging: _e, generatePdf: He, generateImage: Ue } = ll({
60
61
  elementId: `xy_canvas_${he.value}`,
61
62
  fileName: a.value.style.chart.title.text || "vue-ui-xy-canvas"
62
63
  }), u = i({
@@ -65,10 +66,10 @@ const ul = ["id"], sl = ["onClick"], nl = {
65
66
  stacked: a.value.style.chart.stacked,
66
67
  showTooltip: a.value.style.chart.tooltip.show
67
68
  });
68
- function sa(e) {
69
+ function va(e) {
69
70
  re.value = e, Ie.value += 1;
70
71
  }
71
- const De = x(() => Ea(a.value.customPalette)), $ = x(() => X.value ? Math.max(...X.value.filter((e, t) => !S.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0), l = x(() => {
72
+ const We = x(() => Da(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(() => {
72
73
  const e = y.value - y.value * (a.value.style.chart.paddingProportions.left + a.value.style.chart.paddingProportions.right);
73
74
  return {
74
75
  canvasWidth: y.value,
@@ -82,37 +83,37 @@ const ul = ["id"], sl = ["onClick"], nl = {
82
83
  slot: e / (r.value.end - r.value.start)
83
84
  };
84
85
  });
85
- function He(e, t) {
86
- return e / t;
86
+ function Xe(e, l) {
87
+ return e / l;
87
88
  }
88
- function na({ hasAutoScale: e, series: t, min: o, max: v, scale: c, yOffset: g, individualHeight: n, stackIndex: p = null }) {
89
- return t.map((w, ke) => {
90
- const M = c.min < 0 ? Math.abs(c.min) : 0, R = He(w + M, M + c.max);
91
- let O, V;
92
- e && (O = Math.abs(c.min), V = He(w + O, c.max + O));
93
- let j = 0;
94
- return p === null ? j = l.value.bottom - l.value.height * (e ? V : R) : j = l.value.bottom - g - n * (e ? V : R), {
95
- x: l.value.left + l.value.slot * ke + l.value.slot / 2,
96
- y: j,
89
+ function ca({ hasAutoScale: e, series: l, min: o, max: v, scale: c, yOffset: g, individualHeight: n, stackIndex: p = null }) {
90
+ return l.map((w, ke) => {
91
+ const O = c.min < 0 ? Math.abs(c.min) : 0, R = Xe(w + O, O + c.max);
92
+ let F, j;
93
+ e && (F = Math.abs(c.min), j = Xe(w + F, c.max + F));
94
+ let q = 0;
95
+ return p === null ? q = t.value.bottom - t.value.height * (e ? j : R) : q = t.value.bottom - g - n * (e ? j : R), {
96
+ x: t.value.left + t.value.slot * ke + t.value.slot / 2,
97
+ y: q,
97
98
  value: w
98
99
  };
99
100
  });
100
101
  }
101
102
  const m = x(() => {
102
- const e = a.value.style.chart.scale.min !== null ? a.value.style.chart.scale.min : Math.min(...X.value.filter((n, p) => !S.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(...X.value.filter((n, p) => !S.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), o = Ce(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) => ({
103
- y: l.value.bottom - l.value.height * ((n + v) / (o.max + v)),
104
- x: l.value.left - 8,
103
+ 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 = Ce(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) => ({
104
+ y: t.value.bottom - t.value.height * ((n + v) / (o.max + v)),
105
+ x: t.value.left - 8,
105
106
  value: n
106
107
  }));
107
108
  return {
108
109
  absoluteMin: v,
109
- max: t,
110
+ max: l,
110
111
  min: e,
111
112
  scale: o,
112
113
  yLabels: g,
113
114
  zero: c
114
115
  };
115
- }), ia = x(() => h.value.map((e) => `
116
+ }), da = x(() => h.value.map((e) => `
116
117
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
117
118
  <svg viewBox="0 0 10 10" height="12" width="12">
118
119
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
@@ -130,99 +131,99 @@ const ul = ["id"], sl = ["onClick"], nl = {
130
131
  { datapoint: e, seriesIndex: d.value }
131
132
  )}</span>
132
133
  </div>
133
- `)), X = x(() => f.dataset.map((e, t) => ({
134
+ `)), W = x(() => f.dataset.map((e, l) => ({
134
135
  ...e,
135
- series: Na({
136
- data: _a(e.series),
136
+ series: _a({
137
+ data: Ha(e.series),
137
138
  threshold: a.value.downsample.threshold
138
139
  }),
139
- absoluteIndex: t,
140
- color: Qe(e.color || De.value[t] || H[t] || H[t % H.length])
140
+ absoluteIndex: l,
141
+ color: la(e.color || We.value[l] || H[l] || H[l % H.length])
141
142
  })));
142
- _($, (e) => {
143
- e && We();
143
+ D(I, (e) => {
144
+ e && Ye();
144
145
  });
145
- const h = x(() => Aa(X.value.filter((e, t) => !S.value.includes(e.absoluteIndex))).map((e, t) => ({
146
+ const h = x(() => Ua(W.value.filter((e, l) => !$.value.includes(e.absoluteIndex))).map((e, l) => ({
146
147
  ...e,
147
148
  series: e.series.slice(r.value.start, r.value.end)
148
- })).map((e, t) => {
149
+ })).map((e, l) => {
149
150
  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;
150
151
  o === v && (o = o >= 0 ? v - 1 : o, v = v >= 0 ? v : o + 1);
151
152
  const g = {
152
- ratios: e.series.filter((q) => ![null, void 0].includes(q)).map((q) => (q - o) / (v - o)),
153
+ ratios: e.series.filter((J) => ![null, void 0].includes(J)).map((J) => (J - o) / (v - o)),
153
154
  valueMin: o,
154
155
  valueMax: v
155
156
  }, n = e.scaleSteps || a.value.style.chart.scale.ticks;
156
157
  let p;
157
158
  e.autoScaling ? p = Ce(g.valueMin, g.valueMax, n) : p = Ce(g.valueMin < 0 ? g.valueMin : 0, g.valueMax <= 0 ? 0 : g.valueMax, n);
158
- const w = u.value.stacked ? l.value.height * (1 - e.cumulatedStackRatio) : 0, ke = u.value.stacked ? l.value.height / a.value.style.chart.stackGap : 0, M = u.value.stacked ? l.value.height * e.stackRatio - ke : l.value.height, R = p.min < 0 ? Math.abs(p.min) : 0;
159
- let O;
160
- e.autoScaling && u.value.stacked && v <= 0 ? O = l.value.bottom - w - M : O = l.value.bottom - w - M * (R / (p.max + R));
161
- const V = p.ticks.map((q, wa) => ({
162
- y: l.value.bottom - w - M * (wa / (p.ticks.length - 1)),
163
- x: l.value.left - 8,
164
- value: q
165
- })), j = na({
159
+ const w = u.value.stacked ? t.value.height * (1 - e.cumulatedStackRatio) : 0, ke = u.value.stacked ? t.value.height / a.value.style.chart.stackGap : 0, O = u.value.stacked ? t.value.height * e.stackRatio - ke : t.value.height, R = p.min < 0 ? Math.abs(p.min) : 0;
160
+ let F;
161
+ e.autoScaling && u.value.stacked && v <= 0 ? F = t.value.bottom - w - O : F = t.value.bottom - w - O * (R / (p.max + R));
162
+ const j = p.ticks.map((J, $a) => ({
163
+ y: t.value.bottom - w - O * ($a / (p.ticks.length - 1)),
164
+ x: t.value.left - 8,
165
+ value: J
166
+ })), q = ca({
166
167
  hasAutoScale: u.value.stacked && e.autoScaling,
167
168
  series: e.series,
168
169
  min: u.value.stacked ? o : m.value.min,
169
170
  max: u.value.stacked ? v : m.value.max,
170
171
  scale: u.value.stacked ? p : m.value.scale,
171
172
  yOffset: w,
172
- individualHeight: M,
173
- stackIndex: u.value.stacked ? t : null
173
+ individualHeight: O,
174
+ stackIndex: u.value.stacked ? l : null
174
175
  });
175
176
  return {
176
177
  ...e,
177
- coordinatesLine: j,
178
+ coordinatesLine: q,
178
179
  min: o,
179
180
  max: v,
180
181
  localScale: p,
181
- localZero: O,
182
+ localZero: F,
182
183
  localMin: R,
183
- localYLabels: V,
184
+ localYLabels: j,
184
185
  yOffset: w,
185
- individualHeight: M
186
+ individualHeight: O
186
187
  };
187
188
  })), r = i({
188
189
  start: 0,
189
- end: $.value
190
+ end: I.value
190
191
  });
191
- function We() {
192
- Xe();
192
+ function Ye() {
193
+ Be();
193
194
  }
194
- const Y = i(null);
195
- async function Xe() {
196
- (a.value.style.chart.zoom.startIndex !== null || a.value.style.chart.zoom.endIndex !== null) && Y.value ? (a.value.style.chart.zoom.startIndex !== null && (await ce(), await ce(), Y.value && Y.value.setStartValue(a.value.style.chart.zoom.startIndex)), a.value.style.chart.zoom.endIndex !== null && (await ce(), await ce(), Y.value && Y.value.setEndValue(va(a.value.style.chart.zoom.endIndex + 1)))) : (r.value = {
195
+ const X = i(null);
196
+ async function Be() {
197
+ (a.value.style.chart.zoom.startIndex !== null || a.value.style.chart.zoom.endIndex !== null) && X.value ? (a.value.style.chart.zoom.startIndex !== null && (await ce(), await ce(), X.value && X.value.setStartValue(a.value.style.chart.zoom.startIndex)), a.value.style.chart.zoom.endIndex !== null && (await ce(), await ce(), X.value && X.value.setEndValue(ha(a.value.style.chart.zoom.endIndex + 1)))) : (r.value = {
197
198
  start: 0,
198
- end: $.value
199
+ end: I.value
199
200
  }, $e.value += 1);
200
201
  }
201
- function va(e) {
202
- const t = $.value;
203
- 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;
202
+ function ha(e) {
203
+ const l = I.value;
204
+ 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;
204
205
  }
205
- const ca = x(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = x(() => h.value.filter((e) => e.type === "bar"));
206
- function da() {
207
- if (!I.value)
206
+ const ya = x(() => h.value.filter((e) => ["line", "plot", void 0].includes(e.type))), C = x(() => h.value.filter((e) => e.type === "bar"));
207
+ function fa() {
208
+ if (!M.value)
208
209
  return;
209
- const e = G.value.offsetWidth, t = G.value.offsetHeight;
210
- I.value.width = e * W.value * 2, I.value.height = t * W.value * 2, y.value = e * W.value * 2, P.value = t * W.value * 2, s.value.scale(W.value, W.value), be();
210
+ const e = G.value.offsetWidth, l = G.value.offsetHeight;
211
+ M.value.width = e * U.value * 2, M.value.height = l * U.value * 2, y.value = e * U.value * 2, P.value = l * U.value * 2, s.value.scale(U.value, U.value), be();
211
212
  }
212
- function ha() {
213
- 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)
213
+ function ga() {
214
+ 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)
214
215
  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) => {
215
- for (let t = 0; t < r.value.end - r.value.start + 1; t += 1)
216
+ for (let l = 0; l < r.value.end - r.value.start + 1; l += 1)
216
217
  k(
217
218
  s.value,
218
219
  [
219
220
  {
220
- x: l.value.left + l.value.slot * t,
221
- y: l.value.bottom - e.yOffset - e.individualHeight
221
+ x: t.value.left + t.value.slot * l,
222
+ y: t.value.bottom - e.yOffset - e.individualHeight
222
223
  },
223
224
  {
224
- x: l.value.left + l.value.slot * t,
225
- y: l.value.bottom - e.yOffset
225
+ x: t.value.left + t.value.slot * l,
226
+ y: t.value.bottom - e.yOffset
226
227
  }
227
228
  ],
228
229
  {
@@ -230,17 +231,17 @@ const ul = ["id"], sl = ["onClick"], nl = {
230
231
  }
231
232
  );
232
233
  }) : 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) => {
233
- for (let t = r.value.start; t < r.value.end; t += 1)
234
- t % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
234
+ for (let l = r.value.start; l < r.value.end; l += 1)
235
+ l % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
235
236
  s.value,
236
237
  [
237
238
  {
238
- x: l.value.left + l.value.slot * (t - r.value.start) + l.value.slot / 2,
239
- y: l.value.bottom - e.yOffset - e.individualHeight
239
+ x: t.value.left + t.value.slot * (l - r.value.start) + t.value.slot / 2,
240
+ y: t.value.bottom - e.yOffset - e.individualHeight
240
241
  },
241
242
  {
242
- x: l.value.left + l.value.slot * (t - r.value.start) + l.value.slot / 2,
243
- y: l.value.bottom - e.yOffset
243
+ x: t.value.left + t.value.slot * (l - r.value.start) + t.value.slot / 2,
244
+ y: t.value.bottom - e.yOffset
244
245
  }
245
246
  ],
246
247
  {
@@ -248,14 +249,14 @@ const ul = ["id"], sl = ["onClick"], nl = {
248
249
  }
249
250
  );
250
251
  }), a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? h.value.forEach((e) => {
251
- e.localYLabels.forEach((t, o) => {
252
+ e.localYLabels.forEach((l, o) => {
252
253
  o < e.localYLabels.length - 1 && we(
253
254
  s.value,
254
255
  [
255
- { x: l.value.left, y: t.y },
256
- { x: l.value.right, y: t.y },
257
- { x: l.value.right, y: e.localYLabels[o + 1].y },
258
- { x: l.value.left, y: e.localYLabels[o + 1].y }
256
+ { x: t.value.left, y: l.y },
257
+ { x: t.value.right, y: l.y },
258
+ { x: t.value.right, y: e.localYLabels[o + 1].y },
259
+ { x: t.value.left, y: e.localYLabels[o + 1].y }
259
260
  ],
260
261
  {
261
262
  fillColor: o % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
@@ -264,12 +265,12 @@ const ul = ["id"], sl = ["onClick"], nl = {
264
265
  );
265
266
  });
266
267
  }) : h.value.forEach((e) => {
267
- e.localYLabels.slice(r.value.start, r.value.end).forEach((t) => {
268
+ e.localYLabels.slice(r.value.start, r.value.end).forEach((l) => {
268
269
  k(
269
270
  s.value,
270
271
  [
271
- { x: l.value.left, y: t.y },
272
- { x: l.value.right, y: t.y }
272
+ { x: t.value.left, y: l.y },
273
+ { x: t.value.right, y: l.y }
273
274
  ],
274
275
  {
275
276
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -280,8 +281,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
280
281
  k(
281
282
  s.value,
282
283
  [
283
- { x: l.value.left, y: e.localZero },
284
- { x: l.value.right, y: e.localZero }
284
+ { x: t.value.left, y: e.localZero },
285
+ { x: t.value.right, y: e.localZero }
285
286
  ],
286
287
  {
287
288
  color: a.value.style.chart.grid.zeroLine.color,
@@ -292,8 +293,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
292
293
  k(
293
294
  s.value,
294
295
  [
295
- { x: l.value.left, y: l.value.bottom - e.yOffset },
296
- { x: l.value.left, y: l.value.bottom - e.yOffset - e.individualHeight }
296
+ { x: t.value.left, y: t.value.bottom - e.yOffset },
297
+ { x: t.value.left, y: t.value.bottom - e.yOffset - e.individualHeight }
297
298
  ],
298
299
  {
299
300
  color: e.color
@@ -301,28 +302,28 @@ const ul = ["id"], sl = ["onClick"], nl = {
301
302
  ), k(
302
303
  s.value,
303
304
  [
304
- { x: l.value.right, y: l.value.bottom - e.yOffset },
305
- { x: l.value.right, y: l.value.bottom - e.yOffset - e.individualHeight }
305
+ { x: t.value.right, y: t.value.bottom - e.yOffset },
306
+ { x: t.value.right, y: t.value.bottom - e.yOffset - e.individualHeight }
306
307
  ],
307
308
  {
308
309
  color: e.color
309
310
  }
310
- ), e.localYLabels.forEach((t, o) => {
311
- E(
311
+ ), e.localYLabels.forEach((l, o) => {
312
+ N(
312
313
  s.value,
313
314
  ee(
314
315
  a.value.style.chart.dataLabels.formatter,
315
- t.value,
316
+ l.value,
316
317
  ae({
317
318
  p: e.prefix || a.value.style.chart.grid.y.axisLabels.prefix || "",
318
- v: t.value,
319
+ v: l.value,
319
320
  s: e.suffix || a.value.style.chart.grid.y.axisLabels.suffix || "",
320
321
  r: e.rounding || a.value.style.chart.grid.y.axisLabels.rounding || 0
321
322
  }),
322
- { datapoint: t, seriesIndex: o }
323
+ { datapoint: l, seriesIndex: o }
323
324
  ),
324
- t.x + a.value.style.chart.grid.y.axisLabels.offsetX,
325
- t.y,
325
+ l.x + a.value.style.chart.grid.y.axisLabels.offsetX,
326
+ l.y,
326
327
  {
327
328
  align: "right",
328
329
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -331,11 +332,11 @@ const ul = ["id"], sl = ["onClick"], nl = {
331
332
  );
332
333
  });
333
334
  }), h.value.forEach((e) => {
334
- E(
335
+ N(
335
336
  s.value,
336
337
  e.name,
337
338
  y.value / 35,
338
- l.value.bottom - e.yOffset - e.individualHeight / 2,
339
+ t.value.bottom - e.yOffset - e.individualHeight / 2,
339
340
  {
340
341
  align: "center",
341
342
  rotation: -90,
@@ -350,8 +351,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
350
351
  k(
351
352
  s.value,
352
353
  [
353
- { x: l.value.left + l.value.slot * e, y: l.value.top },
354
- { x: l.value.left + l.value.slot * e, y: l.value.bottom }
354
+ { x: t.value.left + t.value.slot * e, y: t.value.top },
355
+ { x: t.value.left + t.value.slot * e, y: t.value.bottom }
355
356
  ],
356
357
  {
357
358
  color: a.value.style.chart.grid.y.verticalLines.color
@@ -362,24 +363,24 @@ const ul = ["id"], sl = ["onClick"], nl = {
362
363
  e % Math.floor((r.value.end - r.value.start) / a.value.style.chart.grid.y.timeLabels.modulo) === 0 && k(
363
364
  s.value,
364
365
  [
365
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.top },
366
- { x: l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2, y: l.value.bottom }
366
+ { x: t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2, y: t.value.top },
367
+ { x: t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2, y: t.value.bottom }
367
368
  ],
368
369
  {
369
370
  color: a.value.style.chart.grid.y.verticalLines.color
370
371
  }
371
372
  );
372
- a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, t) => {
373
- t < m.value.yLabels.length - 1 && we(
373
+ a.value.style.chart.grid.x.horizontalLines.show && (a.value.style.chart.grid.x.horizontalLines.alternate ? m.value.yLabels.forEach((e, l) => {
374
+ l < m.value.yLabels.length - 1 && we(
374
375
  s.value,
375
376
  [
376
- { x: l.value.left, y: e.y },
377
- { x: l.value.right, y: e.y },
378
- { x: l.value.right, y: m.value.yLabels[t + 1].y },
379
- { x: l.value.left, y: m.value.yLabels[t + 1].y }
377
+ { x: t.value.left, y: e.y },
378
+ { x: t.value.right, y: e.y },
379
+ { x: t.value.right, y: m.value.yLabels[l + 1].y },
380
+ { x: t.value.left, y: m.value.yLabels[l + 1].y }
380
381
  ],
381
382
  {
382
- fillColor: t % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
383
+ fillColor: l % 2 === 0 ? "transparent" : le(a.value.style.chart.grid.x.horizontalLines.color, a.value.style.chart.grid.x.horizontalLines.opacity),
383
384
  strokeColor: "transparent"
384
385
  }
385
386
  );
@@ -387,8 +388,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
387
388
  k(
388
389
  s.value,
389
390
  [
390
- { x: l.value.left, y: e.y },
391
- { x: l.value.right, y: e.y }
391
+ { x: t.value.left, y: e.y },
392
+ { x: t.value.right, y: e.y }
392
393
  ],
393
394
  {
394
395
  color: a.value.style.chart.grid.x.horizontalLines.color
@@ -397,8 +398,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
397
398
  })), a.value.style.chart.grid.y.showAxis && k(
398
399
  s.value,
399
400
  [
400
- { x: l.value.left, y: l.value.top },
401
- { x: l.value.left, y: l.value.bottom }
401
+ { x: t.value.left, y: t.value.top },
402
+ { x: t.value.left, y: t.value.bottom }
402
403
  ],
403
404
  {
404
405
  color: a.value.style.chart.grid.y.axisColor,
@@ -407,8 +408,8 @@ const ul = ["id"], sl = ["onClick"], nl = {
407
408
  ), a.value.style.chart.grid.x.showAxis && k(
408
409
  s.value,
409
410
  [
410
- { x: l.value.left, y: l.value.bottom },
411
- { x: l.value.right, y: l.value.bottom }
411
+ { x: t.value.left, y: t.value.bottom },
412
+ { x: t.value.right, y: t.value.bottom }
412
413
  ],
413
414
  {
414
415
  color: a.value.style.chart.grid.x.axisColor,
@@ -417,15 +418,15 @@ const ul = ["id"], sl = ["onClick"], nl = {
417
418
  ), a.value.style.chart.grid.zeroLine.show && k(
418
419
  s.value,
419
420
  [
420
- { x: l.value.left, y: m.value.zero },
421
- { x: l.value.right, y: m.value.zero }
421
+ { x: t.value.left, y: m.value.zero },
422
+ { x: t.value.right, y: m.value.zero }
422
423
  ],
423
424
  {
424
425
  color: a.value.style.chart.grid.zeroLine.color,
425
426
  lineDash: a.value.style.chart.grid.zeroLine.dashed ? [10, 10] : [0, 0]
426
427
  }
427
- ), a.value.style.chart.grid.y.axisLabels.show && m.value.yLabels.forEach((e, t) => {
428
- E(
428
+ ), a.value.style.chart.grid.y.axisLabels.show && m.value.yLabels.forEach((e, l) => {
429
+ N(
429
430
  s.value,
430
431
  ee(
431
432
  a.value.style.chart.dataLabels.formatter,
@@ -436,7 +437,7 @@ const ul = ["id"], sl = ["onClick"], nl = {
436
437
  s: a.value.style.chart.grid.y.axisLabels.suffix || "",
437
438
  r: a.value.style.chart.grid.y.axisLabels.rounding || 0
438
439
  }),
439
- { datapoint: e, seriesIndex: t }
440
+ { datapoint: e, seriesIndex: l }
440
441
  ),
441
442
  e.x + a.value.style.chart.grid.y.axisLabels.offsetX,
442
443
  e.y,
@@ -448,18 +449,18 @@ const ul = ["id"], sl = ["onClick"], nl = {
448
449
  );
449
450
  });
450
451
  }
451
- a.value.style.chart.grid.y.axisName && E(
452
+ a.value.style.chart.grid.y.axisName && N(
452
453
  s.value,
453
454
  a.value.style.chart.grid.y.axisName,
454
455
  y.value - y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio * 1.2,
455
- l.value.bottom - l.value.height / 2,
456
+ t.value.bottom - t.value.height / 2,
456
457
  {
457
458
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
458
459
  color: a.value.style.chart.color,
459
460
  align: "center",
460
461
  rotation: 90
461
462
  }
462
- ), a.value.style.chart.grid.x.axisName && E(
463
+ ), a.value.style.chart.grid.x.axisName && N(
463
464
  s.value,
464
465
  a.value.style.chart.grid.x.axisName,
465
466
  y.value / 2,
@@ -471,12 +472,12 @@ const ul = ["id"], sl = ["onClick"], nl = {
471
472
  }
472
473
  );
473
474
  }
474
- function ya(e) {
475
- for (let t = 0; t < e.coordinatesLine.length; t += 1) {
476
- 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;
477
- aa(
475
+ function pa(e) {
476
+ for (let l = 0; l < e.coordinatesLine.length; l += 1) {
477
+ 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;
478
+ oa(
478
479
  s.value,
479
- { x: e.coordinatesLine[t].x, y: e.coordinatesLine[t].y },
480
+ { x: e.coordinatesLine[l].x, y: e.coordinatesLine[l].y },
480
481
  o,
481
482
  {
482
483
  color: a.value.style.chart.backgroundColor,
@@ -486,23 +487,23 @@ const ul = ["id"], sl = ["onClick"], nl = {
486
487
  );
487
488
  }
488
489
  }
489
- function fa(e) {
490
- for (let t = 0; t < e.coordinatesLine.length; t += 1)
491
- E(
490
+ function ma(e) {
491
+ for (let l = 0; l < e.coordinatesLine.length; l += 1)
492
+ N(
492
493
  s.value,
493
494
  ee(
494
495
  a.value.style.chart.dataLabels.formatter,
495
- e.coordinatesLine[t].value,
496
+ e.coordinatesLine[l].value,
496
497
  ae({
497
498
  p: e.prefix || "",
498
- v: e.coordinatesLine[t].value,
499
+ v: e.coordinatesLine[l].value,
499
500
  s: e.suffix || "",
500
501
  r: e.rounding || 0
501
502
  }),
502
- { datapoint: e.coordinatesLine[t], seriesIndex: t }
503
+ { datapoint: e.coordinatesLine[l], seriesIndex: l }
503
504
  ),
504
- e.coordinatesLine[t].x,
505
- e.coordinatesLine[t].y + a.value.style.chart.dataLabels.offsetY,
505
+ e.coordinatesLine[l].x,
506
+ e.coordinatesLine[l].y + a.value.style.chart.dataLabels.offsetY,
506
507
  {
507
508
  align: "center",
508
509
  font: `${Math.round(y.value / 40 * a.value.style.chart.dataLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -512,13 +513,13 @@ const ul = ["id"], sl = ["onClick"], nl = {
512
513
  }
513
514
  );
514
515
  }
515
- function ga() {
516
+ function ba() {
516
517
  for (let e = r.value.start; e < r.value.end; e += 1)
517
- (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)) && E(
518
+ (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(
518
519
  s.value,
519
520
  a.value.style.chart.grid.y.timeLabels.values[e] || e + 1,
520
- l.value.left + l.value.slot * (e - r.value.start) + l.value.slot / 2,
521
- l.value.bottom + y.value / a.value.style.chart.grid.y.timeLabels.offsetY,
521
+ t.value.left + t.value.slot * (e - r.value.start) + t.value.slot / 2,
522
+ t.value.bottom + y.value / a.value.style.chart.grid.y.timeLabels.offsetY,
522
523
  {
523
524
  align: a.value.style.chart.grid.y.timeLabels.rotation === 0 ? "center" : a.value.style.chart.grid.y.timeLabels.rotation > 0 ? "left" : "right",
524
525
  font: `${Math.round(y.value / 40 * a.value.style.chart.grid.y.timeLabels.fontSizeRatio)}px ${a.value.style.fontFamily}`,
@@ -527,12 +528,12 @@ const ul = ["id"], sl = ["onClick"], nl = {
527
528
  }
528
529
  );
529
530
  }
530
- function Ye() {
531
+ function Ve() {
531
532
  k(
532
533
  s.value,
533
534
  [
534
- { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.top },
535
- { x: l.value.left + l.value.slot * d.value + l.value.slot / 2, y: l.value.bottom }
535
+ { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.top },
536
+ { x: t.value.left + t.value.slot * d.value + t.value.slot / 2, y: t.value.bottom }
536
537
  ],
537
538
  {
538
539
  color: a.value.style.chart.selector.color,
@@ -542,26 +543,26 @@ const ul = ["id"], sl = ["onClick"], nl = {
542
543
  }
543
544
  );
544
545
  }
545
- function pa() {
546
- C.value.forEach((e, t) => {
546
+ function xa() {
547
+ C.value.forEach((e, l) => {
547
548
  for (let o = 0; o < e.coordinatesLine.length; o += 1)
548
549
  we(
549
550
  s.value,
550
551
  [
551
552
  {
552
- 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)),
553
+ 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)),
553
554
  y: u.value.stacked ? e.localZero : m.value.zero
554
555
  },
555
556
  {
556
- 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),
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)) + t.value.slot * 0.8 / (u.value.stacked ? 1 : C.value.length),
557
558
  y: u.value.stacked ? e.localZero : m.value.zero
558
559
  },
559
560
  {
560
- 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),
561
562
  y: e.coordinatesLine[o].y
562
563
  },
563
564
  {
564
- 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)),
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)),
565
566
  y: e.coordinatesLine[o].y
566
567
  }
567
568
  ],
@@ -579,11 +580,11 @@ const ul = ["id"], sl = ["onClick"], nl = {
579
580
  },
580
581
  stops: [
581
582
  { offset: 0, color: e.color },
582
- { offset: 1, color: Ba(e.color, 0.5) }
583
+ { offset: 1, color: Za(e.color, 0.5) }
583
584
  ]
584
585
  }
585
586
  }
586
- ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && E(
587
+ ), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && N(
587
588
  s.value,
588
589
  ee(
589
590
  a.value.style.chart.dataLabels.formatter,
@@ -596,7 +597,7 @@ const ul = ["id"], sl = ["onClick"], nl = {
596
597
  }),
597
598
  { datapoint: e.coordinatesLine[o], seriesIndex: o }
598
599
  ),
599
- 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),
600
+ 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),
600
601
  (e.coordinatesLine[o].value < 0 ? u.value.stacked ? e.localZero : m.value.zero : e.coordinatesLine[o].y) + a.value.style.chart.dataLabels.offsetY,
601
602
  {
602
603
  align: "center",
@@ -608,15 +609,15 @@ const ul = ["id"], sl = ["onClick"], nl = {
608
609
  );
609
610
  });
610
611
  }
611
- function ma(e) {
612
- e.useArea ? u.value.stacked ? la(
612
+ function La(e) {
613
+ e.useArea ? u.value.stacked ? ra(
613
614
  s.value,
614
615
  [{ x: e.coordinatesLine[0].x, y: e.localZero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: e.localZero }],
615
616
  {
616
617
  fillColor: le(e.color, a.value.style.chart.area.opacity),
617
618
  strokeColor: "transparent"
618
619
  }
619
- ) : la(
620
+ ) : ra(
620
621
  s.value,
621
622
  [{ x: e.coordinatesLine[0].x, y: m.value.zero }, ...e.coordinatesLine, { x: e.coordinatesLine.at(-1).x, y: m.value.zero }],
622
623
  {
@@ -628,13 +629,13 @@ const ul = ["id"], sl = ["onClick"], nl = {
628
629
  lineWidth: 3
629
630
  });
630
631
  }
631
- function ba() {
632
- h.value.forEach((e, t) => {
632
+ function ka() {
633
+ h.value.forEach((e, l) => {
633
634
  k(
634
635
  s.value,
635
636
  [
636
- { x: l.value.left, y: l.value.bottom - e.yOffset },
637
- { x: l.value.right, y: l.value.bottom - e.yOffset }
637
+ { x: t.value.left, y: t.value.bottom - e.yOffset },
638
+ { x: t.value.right, y: t.value.bottom - e.yOffset }
638
639
  ],
639
640
  {
640
641
  color: a.value.style.chart.grid.x.horizontalLines.color,
@@ -644,12 +645,12 @@ const ul = ["id"], sl = ["onClick"], nl = {
644
645
  });
645
646
  }
646
647
  function be() {
647
- ha(), N.value ? (T.value && d.value !== null && a.value.style.chart.selector.show && Ye(), pa(), u.value.stacked && a.value.style.chart.grid.x.showAxis && ba(), ca.value.forEach((e) => {
648
- (e.type === "line" || !e.type) && ma(e), T.value && (ya(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && fa(e));
649
- }), ye.value = Za(I.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 && Ye(), T.value && d.value !== null && h.value.forEach((e) => {
648
+ ga(), A.value ? (T.value && d.value !== null && a.value.style.chart.selector.show && Ve(), xa(), u.value.stacked && a.value.style.chart.grid.x.showAxis && ka(), ya.value.forEach((e) => {
649
+ (e.type === "line" || !e.type) && La(e), T.value && (pa(e), u.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && ma(e));
650
+ }), 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) => {
650
651
  if (e.type === "line" || !e.type || e.type === "plot") {
651
652
  if (!e.coordinatesLine[d.value]) return;
652
- e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && aa(
653
+ e.coordinatesLine[d.value].x !== void 0 && e.coordinatesLine[d.value].y !== void 0 && oa(
653
654
  s.value,
654
655
  {
655
656
  x: e.coordinatesLine[d.value].x,
@@ -663,22 +664,22 @@ const ul = ["id"], sl = ["onClick"], nl = {
663
664
  }
664
665
  );
665
666
  }
666
- })), a.value.style.chart.grid.y.timeLabels.show && ga(), N.value = !1;
667
+ })), a.value.style.chart.grid.y.timeLabels.show && ba(), A.value = !1;
667
668
  }
668
- const ue = Ua(() => {
669
- T.value = !0, da();
670
- }, $.value > 200 ? 10 : 1, !T.value);
671
- function xa(e) {
672
- const { left: t } = I.value.getBoundingClientRect(), o = e.clientX - t;
673
- if (o * 2 < l.value.left || o * 2 > l.value.right) {
669
+ const ue = Ga(() => {
670
+ T.value = !0, fa();
671
+ }, I.value > 200 ? 10 : 1, !T.value);
672
+ function Ca(e) {
673
+ const { left: l } = M.value.getBoundingClientRect(), o = e.clientX - l;
674
+ if (o * 2 < t.value.left || o * 2 > t.value.right) {
674
675
  te.value = !1, d.value = null;
675
676
  return;
676
677
  }
677
- const v = o * 2 - l.value.left;
678
- if (d.value = Math.floor(v / l.value.slot), te.value = !0, !T.value) return;
678
+ const v = o * 2 - t.value.left;
679
+ if (d.value = Math.floor(v / t.value.slot), te.value = !0, !T.value) return;
679
680
  let c = "";
680
681
  const g = a.value.style.chart.tooltip.customFormat;
681
- ea(g) && Wa(() => g({
682
+ ta(g) && Ya(() => g({
682
683
  seriesIndex: d.value,
683
684
  datapoint: h.value.map((n) => ({
684
685
  shape: n.shape || null,
@@ -700,68 +701,68 @@ const ul = ["id"], sl = ["onClick"], nl = {
700
701
  })),
701
702
  series: h.value,
702
703
  config: a.value
703
- }) : (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 += ia.value.join(""), oe.value = c), T.value = !1;
704
+ }) : (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 += da.value.join(""), oe.value = c), T.value = !1;
704
705
  }
705
- _(() => d.value, (e) => {
706
+ D(() => d.value, (e) => {
706
707
  ue();
707
- }), _(() => r.value, (e) => {
708
- N.value = !0, be();
708
+ }), D(() => r.value, (e) => {
709
+ A.value = !0, be();
709
710
  }, {
710
711
  deep: !0
711
- }), _(() => u.value.showDataLabels, (e) => {
712
- N.value = !0, be();
713
- }), _(() => u.value.stacked, (e) => {
714
- N.value = !0, T.value = !0, ue();
712
+ }), D(() => u.value.showDataLabels, (e) => {
713
+ A.value = !0, be();
714
+ }), D(() => u.value.stacked, (e) => {
715
+ A.value = !0, T.value = !0, ue();
715
716
  });
716
- function La() {
717
+ function wa() {
717
718
  te.value = !1, d.value = null, oe.value = "";
718
719
  }
719
720
  const se = i(null), ne = i(null);
720
- za(() => {
721
+ Ia(() => {
721
722
  xe();
722
723
  });
723
724
  function xe() {
724
- if (Da(f.dataset) ? Ha({
725
+ if (Wa(f.dataset) ? Xa({
725
726
  componentName: "VueUiXyCanvas",
726
727
  type: "dataset"
727
- }) : I.value && (s.value = I.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
728
- const e = Ga(() => {
729
- const { width: t, height: o } = Va({
728
+ }) : M.value && (s.value = M.value.getContext("2d", { willReadFrequently: !0 })), a.value.responsive) {
729
+ const e = qa(() => {
730
+ const { width: l, height: o } = Ja({
730
731
  chart: Z.value,
731
- title: a.value.style.chart.title.text ? Te.value : null,
732
- legend: a.value.style.chart.legend.show ? Me.value : null,
733
- slicer: a.value.style.chart.zoom.show && $.value > 1 ? Pe.value : null,
734
- source: Re.value
732
+ title: a.value.style.chart.title.text ? Me.value : null,
733
+ legend: a.value.style.chart.legend.show ? Te.value : null,
734
+ slicer: a.value.style.chart.zoom.show && I.value > 1 ? Oe.value : null,
735
+ source: Pe.value
735
736
  });
736
- Fe.value = `${t} / ${o}`;
737
+ Ae.value = `${l} / ${o}`;
737
738
  });
738
739
  se.value = new ResizeObserver(e), se.value.observe(Z.value.parentNode);
739
740
  }
740
741
  ne.value = new ResizeObserver((e) => {
741
- for (const t of e)
742
- t.contentBoxSize && G.value && (N.value = !0, ue());
743
- }), ne.value.observe(G.value), Xe();
742
+ for (const l of e)
743
+ l.contentBoxSize && G.value && (A.value = !0, ue());
744
+ }), ne.value.observe(G.value), Be();
744
745
  }
745
- Sa(() => {
746
+ Ma(() => {
746
747
  ne.value && ne.value.disconnect(), se.value && se.value.disconnect();
747
748
  });
748
- function Be(e) {
749
- ra("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, ue();
749
+ function Ze(e) {
750
+ na("selectLegend", h.value.find((l) => l.absoluteIndex === e)), $.value.includes(e) ? $.value = $.value.filter((l) => l !== e) : $.value.push(e), A.value = !0, ue();
750
751
  }
751
- const Ue = x(() => X.value.map((e, t) => ({
752
+ const Ge = x(() => W.value.map((e, l) => ({
752
753
  ...e,
753
754
  name: e.name,
754
- color: Qe(e.color) || De.value[t] || H[t] || H[t % H.length],
755
+ color: la(e.color) || We.value[l] || H[l] || H[l % H.length],
755
756
  shape: e.shape || "circle",
756
757
  prefix: e.prefix || "",
757
758
  suffix: e.suffix || "",
758
759
  rounding: e.rounding || 0
759
760
  })).map((e) => ({
760
761
  ...e,
761
- opacity: S.value.includes(e.absoluteIndex) ? 0.5 : 1,
762
- segregate: () => Be(e.absoluteIndex),
763
- isSegregated: S.value.includes(e.absoluteIndex)
764
- }))), ka = x(() => ({
762
+ opacity: $.value.includes(e.absoluteIndex) ? 0.5 : 1,
763
+ segregate: () => Ze(e.absoluteIndex),
764
+ isSegregated: $.value.includes(e.absoluteIndex)
765
+ }))), za = x(() => ({
765
766
  cy: "donut-div-legend",
766
767
  backgroundColor: a.value.style.chart.legend.backgroundColor,
767
768
  color: a.value.style.chart.legend.color,
@@ -770,10 +771,10 @@ const ul = ["id"], sl = ["onClick"], nl = {
770
771
  fontWeight: a.value.style.chart.legend.bold ? "bold" : ""
771
772
  })), ie = x(() => {
772
773
  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>');
773
- let t = [];
774
- for (let c = 0; c < $.value; c += 1) {
774
+ let l = [];
775
+ for (let c = 0; c < I.value; c += 1) {
775
776
  const g = h.value.map((n) => n.series[c] ?? 0).reduce((n, p) => n + p, 0);
776
- 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)));
777
+ 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)));
777
778
  }
778
779
  const o = {
779
780
  th: {
@@ -788,69 +789,71 @@ const ul = ["id"], sl = ["onClick"], nl = {
788
789
  },
789
790
  breakpoint: a.value.table.responsiveBreakpoint
790
791
  }, v = [a.value.table.columnNames.period].concat(h.value.map((c) => c.name)).concat(a.value.table.columnNames.total);
791
- return { head: e, body: t.slice(0, r.value.end - r.value.start), config: o, colNames: v };
792
- }), Ze = x(() => {
792
+ return { head: e, body: l.slice(0, r.value.end - r.value.start), config: o, colNames: v };
793
+ }), je = x(() => {
793
794
  if (h.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
794
795
  const e = h.value.map((o) => ({
795
796
  label: o.name,
796
797
  color: o.color,
797
798
  type: o.type
798
- })), t = [];
799
+ })), l = [];
799
800
  for (let o = r.value.start; o < r.value.end; o += 1) {
800
801
  const v = [a.value.style.chart.grid.y.timeLabels.values[o] || o + 1];
801
802
  h.value.forEach((c) => {
802
803
  v.push(Number((c.series[o] || 0).toFixed(a.value.table.rounding)));
803
- }), t.push(v);
804
+ }), l.push(v);
804
805
  }
805
- return { head: e, body: t };
806
+ return { head: e, body: l };
806
807
  });
807
- function Ge() {
808
- const e = [[a.value.style.chart.title.text], [a.value.style.chart.title.subtitle.text], [""]], t = ["", ...Ze.value.head.map((g) => g.label)], o = Ze.value.body, v = e.concat([t]).concat(o), c = Xa(v);
809
- Ya({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
808
+ function qe() {
809
+ 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 = Ba(v);
810
+ Va({ csvContent: c, title: a.value.style.chart.title.text || "vue-ui-xy-canvas" });
810
811
  }
811
- function Ca() {
812
+ function Sa() {
812
813
  return h.value;
813
814
  }
814
- function Ve() {
815
+ function Je() {
815
816
  u.value.showTable = !u.value.showTable;
816
817
  }
817
- function je() {
818
+ function Ke() {
818
819
  u.value.showDataLabels = !u.value.showDataLabels;
819
820
  }
820
- function qe() {
821
+ function Qe() {
821
822
  u.value.stacked = !u.value.stacked;
822
823
  }
823
- function Je() {
824
+ function ea() {
824
825
  u.value.showTooltip = !u.value.showTooltip;
825
826
  }
826
827
  const ve = i(!1);
827
828
  function Le() {
828
829
  ve.value = !ve.value;
829
830
  }
830
- return oa({
831
- getData: Ca,
832
- generateCsv: Ge,
833
- generatePdf: _e,
834
- generateImage: Ae,
835
- toggleTable: Ve,
836
- toggleLabels: je,
837
- toggleStack: qe,
838
- toggleTooltip: Je,
831
+ return sa({
832
+ getData: Sa,
833
+ generateCsv: qe,
834
+ generatePdf: He,
835
+ generateImage: Ue,
836
+ toggleTable: Je,
837
+ toggleLabels: Ke,
838
+ toggleStack: Qe,
839
+ toggleTooltip: ea,
839
840
  toggleAnnotator: Le
840
- }), (e, t) => (z(), J("div", {
841
- style: K(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
841
+ }), (e, l) => (z(), K("div", {
842
+ style: Y(`width:100%; position:relative; ${a.value.responsive ? "height: 100%" : ""}`),
842
843
  ref_key: "xy",
843
844
  ref: Z,
844
845
  id: `xy_canvas_${he.value}`,
845
- class: $a(`vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""}`)
846
+ class: Ta(`vue-ui-donut ${re.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
847
+ onMouseenter: l[5] || (l[5] = () => S(Fe)(!0)),
848
+ onMouseleave: l[6] || (l[6] = () => S(Fe)(!1))
846
849
  }, [
847
- a.value.style.chart.title.text ? (z(), J("div", {
850
+ a.value.style.chart.title.text ? (z(), K("div", {
848
851
  key: 0,
849
852
  ref_key: "chartTitle",
850
- ref: Te,
851
- style: K(`width:100%;background:${a.value.style.chart.backgroundColor};`)
853
+ ref: Me,
854
+ style: Y(`width:100%;background:${a.value.style.chart.backgroundColor};`)
852
855
  }, [
853
- (z(), F(Ja, {
856
+ (z(), E(el, {
854
857
  key: `title_${fe.value}`,
855
858
  config: {
856
859
  title: {
@@ -863,14 +866,14 @@ const ul = ["id"], sl = ["onClick"], nl = {
863
866
  }
864
867
  }
865
868
  }, null, 8, ["config"]))
866
- ], 4)) : A("", !0),
867
- a.value.userOptions.show && me.value ? (z(), F(el, {
869
+ ], 4)) : _("", !0),
870
+ a.value.userOptions.show && me.value && (S(Ee) || S(Re)) ? (z(), E(tl, {
868
871
  ref: "details",
869
872
  key: `user_option_${Ie.value}`,
870
873
  backgroundColor: a.value.style.chart.backgroundColor,
871
874
  color: a.value.style.chart.color,
872
- isPrinting: D(Ee),
873
- isImaging: D(Ne),
875
+ isPrinting: S(De),
876
+ isImaging: S(_e),
874
877
  uid: he.value,
875
878
  hasTooltip: a.value.userOptions.buttons.tooltip && a.value.style.chart.tooltip.show,
876
879
  hasPdf: a.value.userOptions.buttons.pdf,
@@ -888,16 +891,19 @@ const ul = ["id"], sl = ["onClick"], nl = {
888
891
  position: a.value.userOptions.position,
889
892
  hasAnnotator: a.value.userOptions.buttons.annotator,
890
893
  isAnnotation: ve.value,
891
- onToggleFullscreen: sa,
892
- onGeneratePdf: D(_e),
893
- onGenerateCsv: Ge,
894
- onGenerateImage: D(Ae),
895
- onToggleTable: Ve,
896
- onToggleLabels: je,
897
- onToggleStack: qe,
898
- onToggleTooltip: Je,
899
- onToggleAnnotator: Le
900
- }, Ia({ _: 2 }, [
894
+ onToggleFullscreen: va,
895
+ onGeneratePdf: S(He),
896
+ onGenerateCsv: qe,
897
+ onGenerateImage: S(Ue),
898
+ onToggleTable: Je,
899
+ onToggleLabels: Ke,
900
+ onToggleStack: Qe,
901
+ onToggleTooltip: ea,
902
+ onToggleAnnotator: Le,
903
+ style: Y({
904
+ visibility: S(Ee) ? S(Re) ? "visible" : "hidden" : "visible"
905
+ })
906
+ }, Oa({ _: 2 }, [
901
907
  e.$slots.optionTooltip ? {
902
908
  name: "optionTooltip",
903
909
  fn: b(() => [
@@ -950,32 +956,32 @@ const ul = ["id"], sl = ["onClick"], nl = {
950
956
  e.$slots.optionFullscreen ? {
951
957
  name: "optionFullscreen",
952
958
  fn: b(({ toggleFullscreen: o, isFullscreen: v }) => [
953
- L(e.$slots, "optionFullscreen", B(U({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
959
+ L(e.$slots, "optionFullscreen", B(V({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
954
960
  ]),
955
961
  key: "7"
956
962
  } : void 0,
957
963
  e.$slots.optionAnnotator ? {
958
964
  name: "optionAnnotator",
959
965
  fn: b(({ toggleAnnotator: o, isAnnotator: v }) => [
960
- L(e.$slots, "optionAnnotator", B(U({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
966
+ L(e.$slots, "optionAnnotator", B(V({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
961
967
  ]),
962
968
  key: "8"
963
969
  } : void 0
964
- ]), 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),
970
+ ]), 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),
965
971
  Q("div", {
966
972
  class: "vue-ui-xy-canvas",
967
- style: K(`position: relative; aspect-ratio: ${Fe.value}`),
973
+ style: Y(`position: relative; aspect-ratio: ${Ae.value}`),
968
974
  ref_key: "container",
969
975
  ref: G
970
976
  }, [
971
- me.value ? (z(), J("canvas", {
977
+ me.value ? (z(), K("canvas", {
972
978
  key: 0,
973
979
  ref_key: "canvas",
974
- ref: I,
980
+ ref: M,
975
981
  style: { width: "100%", height: "100%" },
976
- onMousemove: t[0] || (t[0] = (o) => xa(o)),
977
- onMouseleave: La
978
- }, null, 544)) : (z(), F(tl, {
982
+ onMousemove: l[0] || (l[0] = (o) => Ca(o)),
983
+ onMouseleave: wa
984
+ }, null, 544)) : (z(), E(ul, {
979
985
  key: 1,
980
986
  config: {
981
987
  type: "line",
@@ -993,7 +999,7 @@ const ul = ["id"], sl = ["onClick"], nl = {
993
999
  }
994
1000
  }
995
1001
  }, null, 8, ["config"])),
996
- Ta(ja, {
1002
+ Pa(Ka, {
997
1003
  show: u.value.showTooltip && te.value,
998
1004
  backgroundColor: a.value.style.chart.tooltip.backgroundColor,
999
1005
  color: a.value.style.chart.tooltip.color,
@@ -1003,30 +1009,30 @@ const ul = ["id"], sl = ["onClick"], nl = {
1003
1009
  borderWidth: a.value.style.chart.tooltip.borderWidth,
1004
1010
  position: a.value.style.chart.tooltip.position,
1005
1011
  offsetY: a.value.style.chart.tooltip.offsetY,
1006
- parent: I.value,
1012
+ parent: M.value,
1007
1013
  content: oe.value,
1008
1014
  isFullscreen: re.value,
1009
1015
  backgroundOpacity: a.value.style.chart.tooltip.backgroundOpacity,
1010
- isCustom: D(ea)(a.value.style.chart.tooltip.customFormat)
1016
+ isCustom: S(ta)(a.value.style.chart.tooltip.customFormat)
1011
1017
  }, {
1012
1018
  "tooltip-before": b(() => [
1013
- L(e.$slots, "tooltip-before", B(U({ ...Se.value })), void 0, !0)
1019
+ L(e.$slots, "tooltip-before", B(V({ ...Se.value })), void 0, !0)
1014
1020
  ]),
1015
1021
  "tooltip-after": b(() => [
1016
- L(e.$slots, "tooltip-after", B(U({ ...Se.value })), void 0, !0)
1022
+ L(e.$slots, "tooltip-after", B(V({ ...Se.value })), void 0, !0)
1017
1023
  ]),
1018
1024
  _: 3
1019
1025
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom"])
1020
1026
  ], 4),
1021
1027
  Q("div", {
1022
1028
  ref_key: "chartSlicer",
1023
- ref: Pe,
1024
- style: K(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1029
+ ref: Oe,
1030
+ style: Y(`width:100%;background:${a.value.style.chart.backgroundColor}`),
1025
1031
  "data-html2canvas-ignore": ""
1026
1032
  }, [
1027
- a.value.style.chart.zoom.show && $.value > 1 ? (z(), F(Ka, {
1033
+ a.value.style.chart.zoom.show && I.value > 1 ? (z(), E(al, {
1028
1034
  ref_key: "slicerComponent",
1029
- ref: Y,
1035
+ ref: X,
1030
1036
  key: `slicer_${$e.value}`,
1031
1037
  background: a.value.style.chart.zoom.color,
1032
1038
  borderColor: a.value.style.chart.backgroundColor,
@@ -1037,58 +1043,58 @@ const ul = ["id"], sl = ["onClick"], nl = {
1037
1043
  textColor: a.value.style.chart.color,
1038
1044
  inputColor: a.value.style.chart.zoom.color,
1039
1045
  selectColor: a.value.style.chart.zoom.highlightColor,
1040
- max: $.value,
1046
+ max: I.value,
1041
1047
  min: 0,
1042
1048
  valueStart: r.value.start,
1043
1049
  valueEnd: r.value.end,
1044
1050
  start: r.value.start,
1045
- "onUpdate:start": t[1] || (t[1] = (o) => r.value.start = o),
1051
+ "onUpdate:start": l[1] || (l[1] = (o) => r.value.start = o),
1046
1052
  end: r.value.end,
1047
- "onUpdate:end": t[2] || (t[2] = (o) => r.value.end = o),
1053
+ "onUpdate:end": l[2] || (l[2] = (o) => r.value.end = o),
1048
1054
  refreshStartPoint: a.value.style.chart.zoom.startIndex !== null ? a.value.style.chart.zoom.startIndex : 0,
1049
- refreshEndPoint: a.value.style.chart.zoom.endIndex !== null ? a.value.style.chart.zoom.endIndex + 1 : $.value,
1050
- onReset: We
1055
+ refreshEndPoint: a.value.style.chart.zoom.endIndex !== null ? a.value.style.chart.zoom.endIndex + 1 : I.value,
1056
+ onReset: Ye
1051
1057
  }, {
1052
1058
  "reset-action": b(({ reset: o }) => [
1053
- L(e.$slots, "reset-action", B(U({ reset: o })), void 0, !0)
1059
+ L(e.$slots, "reset-action", B(V({ reset: o })), void 0, !0)
1054
1060
  ]),
1055
1061
  _: 3
1056
- }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : A("", !0)
1062
+ }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : _("", !0)
1057
1063
  ], 4),
1058
1064
  Q("div", {
1059
1065
  ref_key: "chartLegend",
1060
- ref: Me
1066
+ ref: Te
1061
1067
  }, [
1062
- a.value.style.chart.legend.show && me.value ? (z(), F(qa, {
1063
- legendSet: Ue.value,
1064
- config: ka.value,
1068
+ a.value.style.chart.legend.show && me.value ? (z(), E(Qa, {
1069
+ legendSet: Ge.value,
1070
+ config: za.value,
1065
1071
  key: `legend_${pe.value}`,
1066
- onClickMarker: t[3] || (t[3] = ({ i: o }) => Be(o))
1072
+ onClickMarker: l[3] || (l[3] = ({ i: o }) => Ze(o))
1067
1073
  }, {
1068
1074
  item: b(({ legend: o, index: v }) => [
1069
1075
  Q("div", {
1070
1076
  onClick: (c) => o.segregate(),
1071
- style: K(`opacity:${S.value.includes(v) ? 0.5 : 1}`)
1072
- }, Ke(o.name), 13, sl)
1077
+ style: Y(`opacity:${$.value.includes(v) ? 0.5 : 1}`)
1078
+ }, aa(o.name), 13, cl)
1073
1079
  ]),
1074
1080
  _: 1
1075
1081
  }, 8, ["legendSet", "config"])) : L(e.$slots, "legend", {
1076
1082
  key: 1,
1077
- legend: Ue.value
1083
+ legend: Ge.value
1078
1084
  }, void 0, !0)
1079
1085
  ], 512),
1080
- e.$slots.watermark ? (z(), J("div", nl, [
1081
- L(e.$slots, "watermark", B(U({ isPrinting: D(Ee) || D(Ne) })), void 0, !0)
1082
- ])) : A("", !0),
1083
- e.$slots.source ? (z(), J("div", {
1086
+ e.$slots.watermark ? (z(), K("div", dl, [
1087
+ L(e.$slots, "watermark", B(V({ isPrinting: S(De) || S(_e) })), void 0, !0)
1088
+ ])) : _("", !0),
1089
+ e.$slots.source ? (z(), K("div", {
1084
1090
  key: 3,
1085
1091
  ref_key: "source",
1086
- ref: Re,
1092
+ ref: Pe,
1087
1093
  dir: "auto"
1088
1094
  }, [
1089
1095
  L(e.$slots, "source", {}, void 0, !0)
1090
- ], 512)) : A("", !0),
1091
- r.value.end - r.value.start < 200 ? (z(), F(al, {
1096
+ ], 512)) : _("", !0),
1097
+ r.value.end - r.value.start < 200 ? (z(), E(ol, {
1092
1098
  key: 4,
1093
1099
  hideDetails: "",
1094
1100
  config: {
@@ -1105,37 +1111,37 @@ const ul = ["id"], sl = ["onClick"], nl = {
1105
1111
  }
1106
1112
  }, {
1107
1113
  content: b(() => [
1108
- (z(), F(ll, {
1114
+ (z(), E(rl, {
1109
1115
  key: `table_${ge.value}`,
1110
1116
  colNames: ie.value.colNames,
1111
1117
  head: ie.value.head,
1112
1118
  body: ie.value.body,
1113
1119
  config: ie.value.config,
1114
1120
  title: `${a.value.style.chart.title.text}${a.value.style.chart.title.subtitle.text ? ` : ${a.value.style.chart.title.subtitle.text}` : ""}`,
1115
- onClose: t[4] || (t[4] = (o) => u.value.showTable = !1)
1121
+ onClose: l[4] || (l[4] = (o) => u.value.showTable = !1)
1116
1122
  }, {
1117
1123
  th: b(({ th: o }) => [
1118
- Q("div", { innerHTML: o }, null, 8, il)
1124
+ Q("div", { innerHTML: o }, null, 8, hl)
1119
1125
  ]),
1120
1126
  td: b(({ td: o }) => [
1121
- Ma(Ke(o), 1)
1127
+ Ra(aa(o), 1)
1122
1128
  ]),
1123
1129
  _: 1
1124
1130
  }, 8, ["colNames", "head", "body", "config", "title"]))
1125
1131
  ]),
1126
1132
  _: 1
1127
- }, 8, ["config"])) : A("", !0),
1128
- a.value.userOptions.buttons.annotator && h.value.length ? (z(), F(ol, {
1133
+ }, 8, ["config"])) : _("", !0),
1134
+ a.value.userOptions.buttons.annotator && h.value.length ? (z(), E(sl, {
1129
1135
  key: 5,
1130
1136
  parent: Z.value,
1131
1137
  backgroundColor: a.value.style.chart.backgroundColor,
1132
1138
  color: a.value.style.chart.color,
1133
1139
  active: ve.value,
1134
1140
  onClose: Le
1135
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : A("", !0)
1136
- ], 14, ul));
1141
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
1142
+ ], 46, vl));
1137
1143
  }
1138
- }, zl = /* @__PURE__ */ rl(vl, [["__scopeId", "data-v-a8e374ca"]]);
1144
+ }, Tl = /* @__PURE__ */ il(yl, [["__scopeId", "data-v-f3b0e7c8"]]);
1139
1145
  export {
1140
- zl as default
1146
+ Tl as default
1141
1147
  };