vue-data-ui 2.4.1 → 2.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,27 +1,32 @@
1
- import { useCssVars as Me, computed as h, ref as p, watch as me, onMounted as Se, openBlock as s, createElementBlock as n, normalizeClass as U, normalizeStyle as m, createBlock as Y, createCommentVNode as c, unref as i, createSlots as Ne, withCtx as k, renderSlot as x, normalizeProps as j, guardReactiveProps as W, createVNode as le, Fragment as A, renderList as S, createElementVNode as u, toDisplayString as f, withKeys as Oe, createTextVNode as Fe, nextTick as Ve } from "vue";
2
- import { u as Pe, o as Ie, e as xe, c as ae, t as Be, M as Re, g as Ee, N as oe, X as Ge, F as se, i as F, f as N, v as z, x as Xe, y as He, q as De, r as Ue } from "./index-DDXisDKy.js";
3
- import { _ as Ye } from "./Title-DYNLqCCT.js";
4
- import { u as je, U as We } from "./usePrinter-8ofTb2MJ.js";
5
- import { _ as qe } from "./Tooltip-CICAYyQj.js";
6
- import Ke from "./vue-ui-skeleton-B2sRnIXX.js";
7
- import Je from "./BaseIcon-CXDdkPfN.js";
8
- import Qe from "./vue-ui-accordion-D_1fE5EF.js";
9
- import { u as we } from "./useNestedProp-S1UXxUgm.js";
10
- import { _ as Ze } from "./PackageVersion-DtnhR89q.js";
11
- import { _ as et } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const tt = ["id"], lt = {
13
- key: 0,
1
+ import { useCssVars as Oe, computed as h, ref as p, watch as we, onMounted as Ne, openBlock as s, createElementBlock as u, normalizeClass as K, normalizeStyle as x, createBlock as G, createCommentVNode as c, unref as i, createSlots as Fe, withCtx as w, renderSlot as f, normalizeProps as X, guardReactiveProps as H, createVNode as oe, Fragment as A, renderList as S, createElementVNode as n, toDisplayString as b, withKeys as Pe, createTextVNode as Ve, nextTick as Ie } from "vue";
2
+ import { u as Be, o as Re, e as _e, c as se, t as Ee, M as Ge, g as Xe, N as ue, X as He, F as ne, i as F, f as O, v as z, x as De, y as Ue, q as Ye, r as je } from "./index-Bya_q1J-.js";
3
+ import { _ as We } from "./Title-C5pIfQAz.js";
4
+ import { u as qe, U as Ke } from "./usePrinter-CiHd1FwD.js";
5
+ import { _ as Je } from "./Tooltip-Cz24YLfw.js";
6
+ import Qe from "./vue-ui-skeleton-BYssP0K4.js";
7
+ import Ze from "./BaseIcon-BbvG1AlW.js";
8
+ import et from "./vue-ui-accordion-DfUfL2dI.js";
9
+ import { u as ke } from "./useNestedProp-B33hazbH.js";
10
+ import { _ as tt } from "./PackageVersion-VkaUzgmt.js";
11
+ import { P as lt } from "./PenAndPaper-DAZYA8Ew.js";
12
+ import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const ot = ["id"], st = {
14
+ key: 1,
14
15
  style: "width:100%;background:transparent"
15
- }, at = ["xmlns", "viewBox"], ot = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], st = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ut = ["font-size", "font-weight", "fill", "x", "y"], nt = ["x", "y", "width", "height", "onMouseover"], it = { key: 0 }, rt = ["font-size", "fill", "x", "y", "font-weight"], vt = { key: 0 }, dt = ["text-anchor", "font-size", "fill", "font-weight", "transform"], yt = { key: 1 }, ct = ["x", "y", "width", "height", "stroke", "stroke-width"], ht = { key: 2 }, pt = ["id"], gt = ["stop-color"], ft = ["stop-color"], bt = ["x", "y", "font-size", "fill"], mt = ["x", "y", "height", "rx", "fill"], xt = ["x", "y", "font-size", "fill"], wt = ["stroke", "x1", "x2", "y1", "y2"], _t = ["fill", "d"], kt = { key: 3 }, $t = {
16
+ }, ut = ["xmlns", "viewBox"], nt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], it = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], rt = ["font-size", "font-weight", "fill", "x", "y"], vt = ["x", "y", "width", "height", "onMouseover"], dt = { key: 0 }, yt = ["font-size", "fill", "x", "y", "font-weight"], ct = { key: 0 }, ht = ["text-anchor", "font-size", "fill", "font-weight", "transform"], pt = { key: 1 }, gt = ["x", "y", "width", "height", "stroke", "stroke-width"], ft = { key: 2 }, bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], wt = ["x", "y", "font-size", "fill"], _t = ["x", "y", "height", "rx", "fill"], kt = ["x", "y", "font-size", "fill"], $t = ["stroke", "x1", "x2", "y1", "y2"], Ct = ["fill", "d"], Lt = { key: 3 }, At = {
16
17
  id: "colorScaleHorizontal",
17
18
  x1: "0%",
18
19
  x2: "100%",
19
20
  y1: "0%",
20
21
  y2: "0%"
21
- }, Ct = ["stop-color"], Lt = ["stop-color"], At = ["x", "y", "width", "height", "rx"], zt = ["x", "y", "font-size", "fill"], Tt = ["x", "y", "font-size", "fill"], Mt = ["stroke", "x1", "x2", "y1", "y2"], St = ["fill", "d"], Nt = {
22
- key: 3,
22
+ }, zt = ["stop-color"], Tt = ["stop-color"], Mt = ["x", "y", "width", "height", "rx"], St = ["x", "y", "font-size", "fill"], Ot = ["x", "y", "font-size", "fill"], Nt = ["stroke", "x1", "x2", "y1", "y2"], Ft = ["fill", "d"], Pt = {
23
+ key: 4,
23
24
  class: "vue-data-ui-watermark"
24
- }, Ot = { class: "vue-ui-data-table" }, Ft = { key: 0 }, Vt = ["data-cell"], Pt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, It = ["data-cell"], Bt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Rt = {
25
+ }, Vt = {
26
+ key: 5,
27
+ ref: "source",
28
+ dir: "auto"
29
+ }, It = { class: "vue-ui-data-table" }, Bt = { key: 0 }, Rt = ["data-cell"], Et = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Gt = ["data-cell"], Xt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ht = {
25
30
  __name: "vue-ui-heatmap",
26
31
  props: {
27
32
  config: {
@@ -37,88 +42,88 @@ const tt = ["id"], lt = {
37
42
  }
38
43
  }
39
44
  },
40
- setup(G, { expose: _e }) {
41
- const r = G;
42
- Me((t) => ({
43
- "1678b056": t.tdo
45
+ setup(D, { expose: $e }) {
46
+ const r = D;
47
+ Oe((t) => ({
48
+ "7cf48471": t.tdo
44
49
  }));
45
- const { vue_ui_heatmap: ke } = Pe(), X = h(() => !!r.dataset && r.dataset.length);
46
- Ie(r.dataset) && xe({
50
+ const { vue_ui_heatmap: Ce } = Be(), U = h(() => !!r.dataset && r.dataset.length);
51
+ Re(r.dataset) && _e({
47
52
  componentName: "VueUiHeatmap",
48
53
  type: "dataset"
49
54
  });
50
- const V = p(ae()), q = p(null), $e = p(null), K = p(!1), J = p(""), ue = p(void 0), P = p(null), ne = p(0), ie = p(null), re = p(!1), ve = p(0), e = h({
51
- get: () => de(),
55
+ const P = p(se()), Y = p(null), Le = p(null), J = p(!1), Q = p(""), ie = p(void 0), V = p(null), re = p(0), ve = p(null), de = p(!1), ye = p(0), e = h({
56
+ get: () => ce(),
52
57
  set: (t) => t
53
58
  });
54
- function de() {
55
- const t = we({
59
+ function ce() {
60
+ const t = ke({
56
61
  userConfig: r.config,
57
- defaultConfig: ke
62
+ defaultConfig: Ce
58
63
  });
59
64
  let a = {};
60
65
  return t.theme ? a = {
61
- ...we({
62
- userConfig: Be.vue_ui_heatmap[t.theme] || r.config,
66
+ ...ke({
67
+ userConfig: Ee.vue_ui_heatmap[t.theme] || r.config,
63
68
  defaultConfig: t
64
69
  })
65
- } : a = t, r.config && Re(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
70
+ } : a = t, r.config && Ge(r.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = r.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
66
71
  }
67
- me(() => r.config, (t) => {
68
- e.value = de(), Q(), ve.value += 1;
69
- }, { deep: !0 }), me(() => r.dataset, () => {
70
- Q();
72
+ we(() => r.config, (t) => {
73
+ e.value = ce(), Z(), ye.value += 1;
74
+ }, { deep: !0 }), we(() => r.dataset, () => {
75
+ Z();
71
76
  }, { deep: !0 });
72
- const { isPrinting: ye, isImaging: ce, generatePdf: he, generateImage: pe } = je({
73
- elementId: `heatmap__${V.value}`,
77
+ const { isPrinting: he, isImaging: pe, generatePdf: ge, generateImage: fe } = qe({
78
+ elementId: `heatmap__${P.value}`,
74
79
  fileName: e.value.style.title.text || "vue-ui-heatmap"
75
- }), w = p({
80
+ }), _ = p({
76
81
  showTable: e.value.table.show,
77
82
  showTooltip: e.value.style.tooltip.show
78
- }), Ce = h(() => e.value.table.responsiveBreakpoint);
79
- function Le() {
83
+ }), Ae = h(() => e.value.table.responsiveBreakpoint);
84
+ function ze() {
80
85
  new ResizeObserver((a) => {
81
86
  a.forEach((o) => {
82
- re.value = o.contentRect.width < Ce.value;
87
+ de.value = o.contentRect.width < Ae.value;
83
88
  });
84
- }).observe(ie.value);
89
+ }).observe(ve.value);
85
90
  }
86
- Se(Q);
87
- function Q() {
88
- Le();
91
+ Ne(Z);
92
+ function Z() {
93
+ ze();
89
94
  }
90
- const O = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), _ = h(() => {
91
- const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, a = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (O.value < r.dataset.length ? r.dataset.length : O.value) * e.value.style.layout.cells.height, o = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
95
+ const N = h(() => Math.max(...r.dataset.flatMap((t) => (t.values || []).length))), k = h(() => {
96
+ const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + r.dataset.length * e.value.style.layout.cells.height, a = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < r.dataset.length ? r.dataset.length : N.value) * e.value.style.layout.cells.height, o = t + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
92
97
  return {
93
98
  height: t,
94
99
  heightWithLegend: o,
95
100
  width: a
96
101
  };
97
- }), H = h(() => e.value.style.legend.position), l = h(() => ({
102
+ }), j = h(() => e.value.style.legend.position), l = h(() => ({
98
103
  top: e.value.style.layout.padding.top,
99
104
  left: e.value.style.layout.padding.left,
100
- right: _.value.width - e.value.style.layout.padding.right - (H.value === "right" && e.value.style.legend.show ? 92 : 0),
101
- bottom: _.value.height - e.value.style.layout.padding.bottom,
102
- height: _.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
103
- width: _.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (H.value === "right" && e.value.style.legend.show ? 92 : 0)
104
- })), Z = h(() => d.value.height * r.dataset.length), b = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), T = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
105
+ right: k.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
106
+ bottom: k.value.height - e.value.style.layout.padding.bottom,
107
+ height: k.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
108
+ width: k.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (j.value === "right" && e.value.style.legend.show ? 92 : 0)
109
+ })), ee = h(() => d.value.height * r.dataset.length), m = h(() => Math.max(...r.dataset.flatMap((t) => t.values))), T = h(() => Math.min(...r.dataset.flatMap((t) => t.values))), M = h(() => {
105
110
  const t = r.dataset.flatMap((o) => o.values);
106
111
  return t.reduce((o, v) => o + v, 0) / t.length;
107
112
  }), d = h(() => ({
108
- width: l.value.width / O.value,
109
- height: l.value.width / (O.value < r.dataset.length ? r.dataset.length : O.value)
113
+ width: l.value.width / N.value,
114
+ height: l.value.width / (N.value < r.dataset.length ? r.dataset.length : N.value)
110
115
  })), $ = h(() => {
111
116
  const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : r.dataset.map((o) => o.name), a = e.value.style.layout.dataLabels.xAxis.values;
112
117
  return {
113
118
  yLabels: t,
114
- xLabels: a.slice(0, O.value)
119
+ xLabels: a.slice(0, N.value)
115
120
  };
116
- }), D = h(() => (r.dataset.forEach((t, a) => {
117
- Ee({
121
+ }), W = h(() => (r.dataset.forEach((t, a) => {
122
+ Xe({
118
123
  datasetObject: t,
119
124
  requiredAttributes: ["values"]
120
125
  }).forEach((o) => {
121
- xe({
126
+ _e({
122
127
  componentName: "VueUiHeatmap",
123
128
  type: "datasetSerieAttribute",
124
129
  property: "values",
@@ -129,64 +134,64 @@ const tt = ["id"], lt = {
129
134
  ...t,
130
135
  temperatures: (t.values || []).map((a, o) => a >= M.value ? {
131
136
  side: "up",
132
- color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
133
- ratio: Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(b.value - M.value)),
137
+ color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, m.value, a),
138
+ ratio: Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)) > 1 ? 1 : Math.abs(Math.abs(a - M.value) / Math.abs(m.value - M.value)),
134
139
  value: a,
135
140
  yAxisName: t.name,
136
141
  xAxisName: $.value.xLabels[o],
137
- id: `vue-data-ui-heatmap-cell-${ae()}`
142
+ id: `vue-data-ui-heatmap-cell-${se()}`
138
143
  } : {
139
144
  side: "down",
140
145
  ratio: Math.abs(1 - Math.abs(a) / Math.abs(M.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(M.value)),
141
- color: oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, a),
146
+ color: ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, m.value, a),
142
147
  value: a,
143
148
  yAxisName: t.name,
144
149
  xAxisName: $.value.xLabels[o],
145
- id: `vue-data-ui-heatmap-cell-${ae()}`
150
+ id: `vue-data-ui-heatmap-cell-${se()}`
146
151
  })
147
152
  })))), C = p(null), I = p(null);
148
- function Ae(t, a, o, v) {
149
- P.value = { x: o, y: v };
150
- const { value: y, yAxisName: g, xAxisName: L, id: Te } = t;
151
- ue.value = Te, C.value = y, I.value = {
153
+ function Te(t, a, o, v) {
154
+ V.value = { x: o, y: v };
155
+ const { value: y, yAxisName: g, xAxisName: L, id: Se } = t;
156
+ ie.value = Se, C.value = y, I.value = {
152
157
  datapoint: t,
153
158
  seriesIndex: a,
154
- series: D.value,
159
+ series: W.value,
155
160
  config: e.value
156
- }, K.value = !0;
157
- let ee = "";
158
- const te = e.value.style.tooltip.customFormat;
159
- Xe(te) && He(() => te({
161
+ }, J.value = !0;
162
+ let le = "";
163
+ const ae = e.value.style.tooltip.customFormat;
164
+ De(ae) && Ue(() => ae({
160
165
  datapoint: t,
161
166
  seriesIndex: a,
162
- series: D.value,
167
+ series: W.value,
163
168
  config: e.value
164
- })) ? J.value = te({
169
+ })) ? Q.value = ae({
165
170
  datapoint: t,
166
171
  seriesIndex: a,
167
- series: D.value,
172
+ series: W.value,
168
173
  config: e.value
169
- }) : (ee += `<div>${g} ${L ? `${L}` : ""}</div>`, ee += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${oe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, b.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
174
+ }) : (le += `<div>${g} ${L ? `${L}` : ""}</div>`, le += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ue(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, T.value, m.value, y)}">⬤</span><span>${isNaN(y) ? "-" : F(
170
175
  e.value.style.layout.cells.value.formatter,
171
176
  y,
172
- N({
177
+ O({
173
178
  p: e.value.style.layout.dataLabels.prefix,
174
179
  v: y,
175
180
  s: e.value.style.layout.dataLabels.suffix,
176
181
  r: e.value.style.tooltip.roundingValue
177
182
  }),
178
183
  { datapoint: t, seriesIndex: a }
179
- )}</span></div>`, J.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ee}</div>`);
184
+ )}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${le}</div>`);
180
185
  }
181
- const B = h(() => l.value.top + Z.value * (1 - C.value / b.value)), R = h(() => l.value.left + (_.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / b.value));
186
+ const B = h(() => l.value.top + ee.value * (1 - C.value / m.value)), R = h(() => l.value.left + (k.value.width - l.value.left - e.value.style.layout.padding.right) * (C.value / m.value));
182
187
  h(() => {
183
188
  const t = r.dataset.map((o) => ({
184
189
  name: o.name
185
190
  })), a = r.dataset.map((o) => o.values);
186
191
  return { head: t, body: a };
187
192
  });
188
- function ge() {
189
- Ve(() => {
193
+ function be() {
194
+ Ie(() => {
190
195
  const t = ["", ...r.dataset.map((y, g) => y.name)], a = [];
191
196
  for (let y = 0; y < $.value.xLabels.length; y += 1) {
192
197
  const g = [$.value.xLabels[y]];
@@ -194,36 +199,49 @@ const tt = ["id"], lt = {
194
199
  g.push([r.dataset[L].values[y]]);
195
200
  a.push(g);
196
201
  }
197
- const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = De(o);
198
- Ue({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
202
+ const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), v = Ye(o);
203
+ je({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
199
204
  });
200
205
  }
201
206
  const E = p(!1);
202
- function ze(t) {
203
- E.value = t, ne.value += 1;
207
+ function Me(t) {
208
+ E.value = t, re.value += 1;
204
209
  }
205
- function fe() {
206
- w.value.showTable = !w.value.showTable;
210
+ function me() {
211
+ _.value.showTable = !_.value.showTable;
207
212
  }
208
- function be() {
209
- w.value.showTooltip = !w.value.showTooltip;
213
+ function xe() {
214
+ _.value.showTooltip = !_.value.showTooltip;
210
215
  }
211
- return _e({
212
- generatePdf: he,
213
- generateCsv: ge,
214
- generateImage: pe,
215
- toggleTable: fe,
216
- toggleTooltip: be
217
- }), (t, a) => (s(), n("div", {
216
+ const q = p(!1);
217
+ function te() {
218
+ q.value = !q.value;
219
+ }
220
+ return $e({
221
+ generatePdf: ge,
222
+ generateCsv: be,
223
+ generateImage: fe,
224
+ toggleTable: me,
225
+ toggleTooltip: xe,
226
+ toggleAnnotator: te
227
+ }), (t, a) => (s(), u("div", {
218
228
  ref_key: "heatmapChart",
219
- ref: q,
220
- class: U(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
221
- style: m(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
222
- id: `heatmap__${V.value}`
229
+ ref: Y,
230
+ class: K(`vue-ui-heatmap ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
231
+ style: x(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
232
+ id: `heatmap__${P.value}`
223
233
  }, [
224
- e.value.style.title.text ? (s(), n("div", lt, [
225
- (s(), Y(Ye, {
226
- key: `title_${ve.value}`,
234
+ e.value.userOptions.buttons.annotator ? (s(), G(lt, {
235
+ key: 0,
236
+ parent: Y.value,
237
+ backgroundColor: e.value.style.backgroundColor,
238
+ color: e.value.style.color,
239
+ active: q.value,
240
+ onClose: te
241
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : c("", !0),
242
+ e.value.style.title.text ? (s(), u("div", st, [
243
+ (s(), G(We, {
244
+ key: `title_${ye.value}`,
227
245
  config: {
228
246
  title: {
229
247
  cy: "heatmap-div-title",
@@ -236,15 +254,15 @@ const tt = ["id"], lt = {
236
254
  }
237
255
  }, null, 8, ["config"]))
238
256
  ])) : c("", !0),
239
- e.value.userOptions.show && X.value ? (s(), Y(We, {
257
+ e.value.userOptions.show && U.value ? (s(), G(Ke, {
240
258
  ref_key: "details",
241
- ref: $e,
242
- key: `user_options_${ne.value}`,
259
+ ref: Le,
260
+ key: `user_options_${re.value}`,
243
261
  backgroundColor: e.value.style.backgroundColor,
244
262
  color: e.value.style.color,
245
- isImaging: i(ce),
246
- isPrinting: i(ye),
247
- uid: V.value,
263
+ isImaging: i(pe),
264
+ isPrinting: i(he),
265
+ uid: P.value,
248
266
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
249
267
  hasPdf: e.value.userOptions.buttons.pdf,
250
268
  hasImg: e.value.userOptions.buttons.img,
@@ -252,71 +270,81 @@ const tt = ["id"], lt = {
252
270
  hasTable: e.value.userOptions.buttons.table,
253
271
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
254
272
  isFullscreen: E.value,
255
- isTooltip: w.value.showTooltip,
273
+ isTooltip: _.value.showTooltip,
256
274
  titles: { ...e.value.userOptions.buttonTitles },
257
- chartElement: q.value,
275
+ chartElement: Y.value,
258
276
  position: e.value.userOptions.position,
259
- onToggleFullscreen: ze,
260
- onGeneratePdf: i(he),
261
- onGenerateCsv: ge,
262
- onGenerateImage: i(pe),
263
- onToggleTable: fe,
264
- onToggleTooltip: be
265
- }, Ne({ _: 2 }, [
277
+ hasAnnotator: e.value.userOptions.buttons.annotator,
278
+ isAnnotation: q.value,
279
+ onToggleFullscreen: Me,
280
+ onGeneratePdf: i(ge),
281
+ onGenerateCsv: be,
282
+ onGenerateImage: i(fe),
283
+ onToggleTable: me,
284
+ onToggleTooltip: xe,
285
+ onToggleAnnotator: te
286
+ }, Fe({ _: 2 }, [
266
287
  t.$slots.optionTooltip ? {
267
288
  name: "optionTooltip",
268
- fn: k(() => [
269
- x(t.$slots, "optionTooltip", {}, void 0, !0)
289
+ fn: w(() => [
290
+ f(t.$slots, "optionTooltip", {}, void 0, !0)
270
291
  ]),
271
292
  key: "0"
272
293
  } : void 0,
273
294
  t.$slots.optionPdf ? {
274
295
  name: "optionPdf",
275
- fn: k(() => [
276
- x(t.$slots, "optionPdf", {}, void 0, !0)
296
+ fn: w(() => [
297
+ f(t.$slots, "optionPdf", {}, void 0, !0)
277
298
  ]),
278
299
  key: "1"
279
300
  } : void 0,
280
301
  t.$slots.optionCsv ? {
281
302
  name: "optionCsv",
282
- fn: k(() => [
283
- x(t.$slots, "optionCsv", {}, void 0, !0)
303
+ fn: w(() => [
304
+ f(t.$slots, "optionCsv", {}, void 0, !0)
284
305
  ]),
285
306
  key: "2"
286
307
  } : void 0,
287
308
  t.$slots.optionImg ? {
288
309
  name: "optionImg",
289
- fn: k(() => [
290
- x(t.$slots, "optionImg", {}, void 0, !0)
310
+ fn: w(() => [
311
+ f(t.$slots, "optionImg", {}, void 0, !0)
291
312
  ]),
292
313
  key: "3"
293
314
  } : void 0,
294
315
  t.$slots.optionTable ? {
295
316
  name: "optionTable",
296
- fn: k(() => [
297
- x(t.$slots, "optionTable", {}, void 0, !0)
317
+ fn: w(() => [
318
+ f(t.$slots, "optionTable", {}, void 0, !0)
298
319
  ]),
299
320
  key: "4"
300
321
  } : void 0,
301
322
  t.$slots.optionFullscreen ? {
302
323
  name: "optionFullscreen",
303
- fn: k(({ toggleFullscreen: o, isFullscreen: v }) => [
304
- x(t.$slots, "optionFullscreen", j(W({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
324
+ fn: w(({ toggleFullscreen: o, isFullscreen: v }) => [
325
+ f(t.$slots, "optionFullscreen", X(H({ toggleFullscreen: o, isFullscreen: v })), void 0, !0)
305
326
  ]),
306
327
  key: "5"
328
+ } : void 0,
329
+ t.$slots.optionAnnotator ? {
330
+ name: "optionAnnotator",
331
+ fn: w(({ toggleAnnotator: o, isAnnotator: v }) => [
332
+ f(t.$slots, "optionAnnotator", X(H({ toggleAnnotator: o, isAnnotator: v })), void 0, !0)
333
+ ]),
334
+ key: "6"
307
335
  } : void 0
308
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
309
- X.value ? (s(), n("svg", {
310
- key: 2,
311
- xmlns: i(Ge),
312
- class: U({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
313
- viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
314
- style: m(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
336
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
337
+ U.value ? (s(), u("svg", {
338
+ key: 3,
339
+ xmlns: i(He),
340
+ class: K({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
341
+ viewBox: `0 0 ${k.value.width} ${k.value.heightWithLegend}`,
342
+ style: x(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
315
343
  }, [
316
- le(Ze),
317
- (s(!0), n(A, null, S(D.value, (o, v) => (s(), n("g", null, [
318
- (s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
319
- u("rect", {
344
+ oe(tt),
345
+ (s(!0), u(A, null, S(W.value, (o, v) => (s(), u("g", null, [
346
+ (s(!0), u(A, null, S(o.temperatures, (y, g) => (s(), u("g", null, [
347
+ n("rect", {
320
348
  x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
321
349
  y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
322
350
  width: d.value.width - e.value.style.layout.cells.spacing,
@@ -324,8 +352,8 @@ const tt = ["id"], lt = {
324
352
  fill: e.value.style.layout.cells.colors.underlayer,
325
353
  stroke: e.value.style.backgroundColor,
326
354
  "stroke-width": e.value.style.layout.cells.spacing
327
- }, null, 8, ot),
328
- u("rect", {
355
+ }, null, 8, nt),
356
+ n("rect", {
329
357
  x: l.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
330
358
  y: l.value.top + d.value.height * v + e.value.style.layout.cells.spacing / 2,
331
359
  width: d.value.width - e.value.style.layout.cells.spacing,
@@ -333,226 +361,229 @@ const tt = ["id"], lt = {
333
361
  fill: y.color,
334
362
  stroke: e.value.style.backgroundColor,
335
363
  "stroke-width": e.value.style.layout.cells.spacing
336
- }, null, 8, st),
337
- e.value.style.layout.cells.value.show ? (s(), n("text", {
364
+ }, null, 8, it),
365
+ e.value.style.layout.cells.value.show ? (s(), u("text", {
338
366
  key: 0,
339
367
  "text-anchor": "middle",
340
368
  "font-size": e.value.style.layout.cells.value.fontSize,
341
369
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
342
- fill: i(se)(y.color),
370
+ fill: i(ne)(y.color),
343
371
  x: l.value.left + d.value.width * g + d.value.width / 2,
344
372
  y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
345
- }, f(i(F)(
373
+ }, b(i(F)(
346
374
  e.value.style.layout.cells.value.formatter,
347
375
  y.value,
348
- i(N)({
376
+ i(O)({
349
377
  p: e.value.style.layout.dataLabels.prefix,
350
378
  v: y.value,
351
379
  s: e.value.style.layout.dataLabels.suffix,
352
380
  r: e.value.style.layout.cells.value.roundingValue
353
381
  }),
354
382
  { datapoint: y }
355
- )), 9, ut)) : c("", !0)
383
+ )), 9, rt)) : c("", !0)
356
384
  ]))), 256)),
357
- (s(!0), n(A, null, S(o.temperatures, (y, g) => (s(), n("g", null, [
358
- u("rect", {
385
+ (s(!0), u(A, null, S(o.temperatures, (y, g) => (s(), u("g", null, [
386
+ n("rect", {
359
387
  x: l.value.left + d.value.width * g,
360
388
  y: l.value.top + d.value.height * v,
361
389
  width: d.value.width,
362
390
  height: d.value.height,
363
391
  fill: "transparent",
364
392
  stroke: "none",
365
- onMouseover: (L) => Ae(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
393
+ onMouseover: (L) => Te(y, v, l.value.left + d.value.width * g, l.value.top + d.value.height * v),
366
394
  onMouseout: a[0] || (a[0] = (L) => {
367
- K.value = !1, ue.value = void 0, C.value = null, P.value = null;
395
+ J.value = !1, ie.value = void 0, C.value = null, V.value = null;
368
396
  })
369
- }, null, 40, nt)
397
+ }, null, 40, vt)
370
398
  ]))), 256)),
371
- e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", it, [
372
- u("text", {
399
+ e.value.style.layout.dataLabels.yAxis.show ? (s(), u("g", dt, [
400
+ n("text", {
373
401
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
374
402
  fill: e.value.style.layout.dataLabels.yAxis.color,
375
403
  x: l.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
376
404
  y: l.value.top + d.value.height * v + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
377
405
  "text-anchor": "end",
378
406
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
379
- }, f($.value.yLabels[v]), 9, rt)
407
+ }, b($.value.yLabels[v]), 9, yt)
380
408
  ])) : c("", !0)
381
409
  ]))), 256)),
382
- e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", vt, [
383
- (s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n(A, null, [
384
- !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
410
+ e.value.style.layout.dataLabels.xAxis.show ? (s(), u("g", ct, [
411
+ (s(!0), u(A, null, S($.value.xLabels, (o, v) => (s(), u(A, null, [
412
+ !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && v % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), u("text", {
385
413
  key: 0,
386
414
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
387
415
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
388
416
  fill: e.value.style.layout.dataLabels.xAxis.color,
389
417
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
390
418
  transform: `translate(${l.value.left + d.value.width / 2 + l.value.width / $.value.xLabels.length * v + e.value.style.layout.dataLabels.xAxis.offsetX}, ${l.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
391
- }, f(o), 9, dt)) : c("", !0)
419
+ }, b(o), 9, ht)) : c("", !0)
392
420
  ], 64))), 256))
393
421
  ])) : c("", !0),
394
- P.value ? (s(), n("g", yt, [
395
- u("rect", {
422
+ V.value ? (s(), u("g", pt, [
423
+ n("rect", {
396
424
  style: { "pointer-events": "none" },
397
- x: P.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
398
- y: P.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
425
+ x: V.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
426
+ y: V.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
399
427
  width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
400
428
  height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
401
429
  fill: "transparent",
402
430
  stroke: e.value.style.layout.cells.selected.color,
403
431
  "stroke-width": e.value.style.layout.cells.selected.border,
404
432
  rx: 1
405
- }, null, 8, ct)
433
+ }, null, 8, gt)
406
434
  ])) : c("", !0),
407
- e.value.style.legend.show && H.value === "right" ? (s(), n("g", ht, [
408
- u("defs", null, [
409
- u("linearGradient", {
410
- id: `colorScaleVertical_${V.value}`,
435
+ e.value.style.legend.show && j.value === "right" ? (s(), u("g", ft, [
436
+ n("defs", null, [
437
+ n("linearGradient", {
438
+ id: `colorScaleVertical_${P.value}`,
411
439
  x2: "0%",
412
440
  y2: "100%"
413
441
  }, [
414
- u("stop", {
442
+ n("stop", {
415
443
  offset: "0%",
416
444
  "stop-color": e.value.style.layout.cells.colors.hot
417
- }, null, 8, gt),
418
- u("stop", {
445
+ }, null, 8, mt),
446
+ n("stop", {
419
447
  offset: "100%",
420
448
  "stop-color": e.value.style.layout.cells.colors.cold
421
- }, null, 8, ft)
422
- ], 8, pt)
449
+ }, null, 8, xt)
450
+ ], 8, bt)
423
451
  ]),
424
- u("text", {
452
+ n("text", {
425
453
  x: l.value.right + 36 + 18,
426
454
  y: l.value.top - e.value.style.legend.fontSize * 1.5,
427
455
  "text-anchor": "middle",
428
456
  "font-size": e.value.style.legend.fontSize * 2,
429
457
  fill: e.value.style.legend.color
430
- }, f(i(F)(
458
+ }, b(i(F)(
431
459
  e.value.style.layout.cells.value.formatter,
432
- i(z)(b.value),
433
- i(N)({
460
+ i(z)(m.value),
461
+ i(O)({
434
462
  p: e.value.style.layout.dataLabels.prefix,
435
- v: i(z)(b.value),
463
+ v: i(z)(m.value),
436
464
  s: e.value.style.layout.dataLabels.suffix,
437
465
  r: e.value.style.legend.roundingValue
438
466
  })
439
- )), 9, bt),
440
- u("rect", {
467
+ )), 9, wt),
468
+ n("rect", {
441
469
  x: l.value.right + 36,
442
470
  y: l.value.top,
443
471
  width: 36,
444
- height: Z.value,
472
+ height: ee.value,
445
473
  rx: e.value.style.legend.scaleBorderRadius,
446
- fill: `url(#colorScaleVertical_${V.value})`
447
- }, null, 8, mt),
448
- u("text", {
474
+ fill: `url(#colorScaleVertical_${P.value})`
475
+ }, null, 8, _t),
476
+ n("text", {
449
477
  x: l.value.right + 36 + 18,
450
- y: l.value.top + Z.value + e.value.style.legend.fontSize * 2.5,
478
+ y: l.value.top + ee.value + e.value.style.legend.fontSize * 2.5,
451
479
  "text-anchor": "middle",
452
480
  "font-size": e.value.style.legend.fontSize * 2,
453
481
  fill: e.value.style.legend.color
454
- }, f(i(F)(
482
+ }, b(i(F)(
455
483
  e.value.style.layout.cells.value.formatter,
456
484
  i(z)(T.value),
457
- i(N)({
485
+ i(O)({
458
486
  p: e.value.style.layout.dataLabels.prefix,
459
487
  v: i(z)(T.value),
460
488
  s: e.value.style.layout.dataLabels.suffix,
461
489
  r: e.value.style.legend.roundingValue
462
490
  })
463
- )), 9, xt),
464
- C.value !== null ? (s(), n("line", {
491
+ )), 9, kt),
492
+ C.value !== null ? (s(), u("line", {
465
493
  key: 0,
466
- stroke: i(se)(I.value.datapoint.color),
494
+ stroke: i(ne)(I.value.datapoint.color),
467
495
  "stroke-width": "2",
468
496
  x1: l.value.right + 36,
469
497
  x2: l.value.right + 72,
470
498
  y1: B.value,
471
499
  y2: B.value
472
- }, null, 8, wt)) : c("", !0),
473
- C.value !== null ? (s(), n("path", {
500
+ }, null, 8, $t)) : c("", !0),
501
+ C.value !== null ? (s(), u("path", {
474
502
  key: 1,
475
503
  fill: e.value.style.color,
476
504
  stroke: "none",
477
505
  d: `M ${l.value.right + 36},${B.value} ${l.value.right + 26},${B.value - 8} ${l.value.right + 26},${B.value + 8}z`
478
- }, null, 8, _t)) : c("", !0)
506
+ }, null, 8, Ct)) : c("", !0)
479
507
  ])) : c("", !0),
480
- e.value.style.legend.show && H.value === "bottom" ? (s(), n("g", kt, [
481
- u("defs", null, [
482
- u("linearGradient", $t, [
483
- u("stop", {
508
+ e.value.style.legend.show && j.value === "bottom" ? (s(), u("g", Lt, [
509
+ n("defs", null, [
510
+ n("linearGradient", At, [
511
+ n("stop", {
484
512
  offset: "0%",
485
513
  "stop-color": e.value.style.layout.cells.colors.cold
486
- }, null, 8, Ct),
487
- u("stop", {
514
+ }, null, 8, zt),
515
+ n("stop", {
488
516
  offset: "100%",
489
517
  "stop-color": e.value.style.layout.cells.colors.hot
490
- }, null, 8, Lt)
518
+ }, null, 8, Tt)
491
519
  ])
492
520
  ]),
493
- u("rect", {
521
+ n("rect", {
494
522
  x: l.value.left,
495
523
  y: l.value.bottom + e.value.style.layout.cells.height,
496
- width: _.value.width - l.value.left - e.value.style.layout.padding.right,
524
+ width: k.value.width - l.value.left - e.value.style.layout.padding.right,
497
525
  height: e.value.style.layout.cells.height,
498
526
  rx: e.value.style.legend.scaleBorderRadius > e.value.style.layout.cells.height / 2 ? e.value.style.layout.cells.height / 2 : e.value.style.legend.scaleBorderRadius,
499
527
  fill: "url(#colorScaleHorizontal)"
500
- }, null, 8, At),
501
- u("text", {
528
+ }, null, 8, Mt),
529
+ n("text", {
502
530
  x: l.value.left,
503
531
  y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
504
532
  "text-anchor": "start",
505
533
  "font-size": e.value.style.legend.fontSize * 2,
506
534
  fill: e.value.style.legend.color
507
- }, f(i(F)(
535
+ }, b(i(F)(
508
536
  e.value.style.layout.cells.value.formatter,
509
537
  i(z)(T.value),
510
- i(N)({
538
+ i(O)({
511
539
  p: e.value.style.layout.dataLabels.prefix,
512
540
  v: i(z)(T.value),
513
541
  s: e.value.style.layout.dataLabels.suffix,
514
542
  r: e.value.style.legend.roundingValue
515
543
  })
516
- )), 9, zt),
517
- u("text", {
544
+ )), 9, St),
545
+ n("text", {
518
546
  x: l.value.right,
519
547
  y: l.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
520
548
  "text-anchor": "end",
521
549
  "font-size": e.value.style.legend.fontSize * 2,
522
550
  fill: e.value.style.legend.color
523
- }, f(i(F)(
551
+ }, b(i(F)(
524
552
  e.value.style.layout.cells.value.formatter,
525
- i(z)(b.value),
526
- i(N)({
553
+ i(z)(m.value),
554
+ i(O)({
527
555
  p: e.value.style.layout.dataLabels.prefix,
528
- v: i(z)(b.value),
556
+ v: i(z)(m.value),
529
557
  s: e.value.style.layout.dataLabels.suffix,
530
558
  r: e.value.style.legend.roundingValue
531
559
  })
532
- )), 9, Tt),
533
- C.value !== null ? (s(), n("line", {
560
+ )), 9, Ot),
561
+ C.value !== null ? (s(), u("line", {
534
562
  key: 0,
535
- stroke: i(se)(I.value.datapoint.color),
563
+ stroke: i(ne)(I.value.datapoint.color),
536
564
  "stroke-width": "2",
537
565
  x1: R.value,
538
566
  x2: R.value,
539
567
  y1: l.value.bottom + e.value.style.layout.cells.height,
540
568
  y2: l.value.bottom + e.value.style.layout.cells.height * 2
541
- }, null, 8, Mt)) : c("", !0),
542
- C.value !== null ? (s(), n("path", {
569
+ }, null, 8, Nt)) : c("", !0),
570
+ C.value !== null ? (s(), u("path", {
543
571
  key: 1,
544
572
  fill: e.value.style.color,
545
573
  stroke: "none",
546
574
  d: `M ${R.value},${l.value.bottom + e.value.style.layout.cells.height} ${R.value - 12},${l.value.bottom + e.value.style.layout.cells.height - 20} ${R.value + 12},${l.value.bottom + e.value.style.layout.cells.height - 20}z`
547
- }, null, 8, St)) : c("", !0)
575
+ }, null, 8, Ft)) : c("", !0)
548
576
  ])) : c("", !0),
549
- x(t.$slots, "svg", { svg: _.value }, void 0, !0)
550
- ], 14, at)) : c("", !0),
551
- t.$slots.watermark ? (s(), n("div", Nt, [
552
- x(t.$slots, "watermark", j(W({ isPrinting: i(ye) || i(ce) })), void 0, !0)
577
+ f(t.$slots, "svg", { svg: k.value }, void 0, !0)
578
+ ], 14, ut)) : c("", !0),
579
+ t.$slots.watermark ? (s(), u("div", Pt, [
580
+ f(t.$slots, "watermark", X(H({ isPrinting: i(he) || i(pe) })), void 0, !0)
553
581
  ])) : c("", !0),
554
- X.value ? c("", !0) : (s(), Y(Ke, {
555
- key: 4,
582
+ t.$slots.source ? (s(), u("div", Vt, [
583
+ f(t.$slots, "source", {}, void 0, !0)
584
+ ], 512)) : c("", !0),
585
+ U.value ? c("", !0) : (s(), G(Qe, {
586
+ key: 6,
556
587
  config: {
557
588
  type: "heatmap",
558
589
  style: {
@@ -563,8 +594,8 @@ const tt = ["id"], lt = {
563
594
  }
564
595
  }
565
596
  }, null, 8, ["config"])),
566
- le(qe, {
567
- show: w.value.showTooltip && K.value,
597
+ oe(Je, {
598
+ show: _.value.showTooltip && J.value,
568
599
  backgroundColor: e.value.style.tooltip.backgroundColor,
569
600
  color: e.value.style.tooltip.color,
570
601
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -574,23 +605,23 @@ const tt = ["id"], lt = {
574
605
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
575
606
  position: e.value.style.tooltip.position,
576
607
  offsetY: e.value.style.tooltip.offsetY,
577
- parent: q.value,
578
- content: J.value,
608
+ parent: Y.value,
609
+ content: Q.value,
579
610
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
580
611
  }, {
581
- "tooltip-before": k(() => [
582
- x(t.$slots, "tooltip-before", j(W({ ...I.value })), void 0, !0)
612
+ "tooltip-before": w(() => [
613
+ f(t.$slots, "tooltip-before", X(H({ ...I.value })), void 0, !0)
583
614
  ]),
584
- "tooltip-after": k(() => [
585
- x(t.$slots, "tooltip-after", j(W({ ...I.value })), void 0, !0)
615
+ "tooltip-after": w(() => [
616
+ f(t.$slots, "tooltip-after", X(H({ ...I.value })), void 0, !0)
586
617
  ]),
587
618
  _: 3
588
619
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
589
- X.value ? (s(), Y(Qe, {
590
- key: 5,
620
+ U.value ? (s(), G(et, {
621
+ key: 7,
591
622
  hideDetails: "",
592
623
  config: {
593
- open: w.value.showTable,
624
+ open: _.value.showTable,
594
625
  maxHeight: 1e4,
595
626
  body: {
596
627
  backgroundColor: e.value.style.backgroundColor,
@@ -602,70 +633,70 @@ const tt = ["id"], lt = {
602
633
  }
603
634
  }
604
635
  }, {
605
- content: k(() => [
606
- u("div", {
636
+ content: w(() => [
637
+ n("div", {
607
638
  ref_key: "tableContainer",
608
- ref: ie,
639
+ ref: ve,
609
640
  class: "vue-ui-heatmap-table"
610
641
  }, [
611
- u("div", {
642
+ n("div", {
612
643
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
613
- class: U({ "vue-ui-responsive": re.value })
644
+ class: K({ "vue-ui-responsive": de.value })
614
645
  }, [
615
- u("div", {
646
+ n("div", {
616
647
  role: "button",
617
648
  tabindex: "0",
618
- style: m(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
619
- onClick: a[1] || (a[1] = (o) => w.value.showTable = !1),
620
- onKeypress: a[2] || (a[2] = Oe((o) => w.value.showTable = !1, ["enter"]))
649
+ style: x(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
650
+ onClick: a[1] || (a[1] = (o) => _.value.showTable = !1),
651
+ onKeypress: a[2] || (a[2] = Pe((o) => _.value.showTable = !1, ["enter"]))
621
652
  }, [
622
- le(Je, {
653
+ oe(Ze, {
623
654
  name: "close",
624
655
  stroke: e.value.table.th.color,
625
656
  "stroke-width": 2
626
657
  }, null, 8, ["stroke"])
627
658
  ], 36),
628
- u("table", Ot, [
629
- u("caption", {
630
- style: m(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
659
+ n("table", It, [
660
+ n("caption", {
661
+ style: x(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
631
662
  }, [
632
- Fe(f(e.value.style.title.text) + " ", 1),
633
- e.value.style.title.subtitle.text ? (s(), n("span", Ft, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
663
+ Ve(b(e.value.style.title.text) + " ", 1),
664
+ e.value.style.title.subtitle.text ? (s(), u("span", Bt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
634
665
  ], 4),
635
- u("thead", null, [
636
- u("tr", {
666
+ n("thead", null, [
667
+ n("tr", {
637
668
  role: "row",
638
- style: m(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
669
+ style: x(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
639
670
  }, [
640
- u("th", {
641
- style: m(`outline:${e.value.table.th.outline};padding-right:6px`)
671
+ n("th", {
672
+ style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
642
673
  }, null, 4),
643
- (s(!0), n(A, null, S(G.dataset, (o, v) => (s(), n("th", {
674
+ (s(!0), u(A, null, S(D.dataset, (o, v) => (s(), u("th", {
644
675
  align: "right",
645
- style: m(`outline:${e.value.table.th.outline};padding-right:6px`)
646
- }, f(o.name), 5))), 256))
676
+ style: x(`outline:${e.value.table.th.outline};padding-right:6px`)
677
+ }, b(o.name), 5))), 256))
647
678
  ], 4)
648
679
  ]),
649
- u("tbody", null, [
650
- (s(!0), n(A, null, S($.value.xLabels, (o, v) => (s(), n("tr", {
680
+ n("tbody", null, [
681
+ (s(!0), u(A, null, S($.value.xLabels, (o, v) => (s(), u("tr", {
651
682
  role: "row",
652
- class: U({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": v % 2 === 0, "vue-ui-data-table__tbody__row-odd": v % 2 !== 0 }),
653
- style: m(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
683
+ class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": v % 2 === 0, "vue-ui-data-table__tbody__row-odd": v % 2 !== 0 }),
684
+ style: x(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
654
685
  }, [
655
- u("td", {
686
+ n("td", {
656
687
  "data-cell": e.value.table.colNames.xAxis,
657
688
  class: "vue-ui-data-table__tbody__td",
658
- style: m(`outline:${e.value.table.td.outline}`)
689
+ style: x(`outline:${e.value.table.td.outline}`)
659
690
  }, [
660
- u("div", Pt, f(o), 1)
661
- ], 12, Vt),
662
- (s(!0), n(A, null, S(G.dataset, (y, g) => (s(), n("td", {
691
+ n("div", Et, b(o), 1)
692
+ ], 12, Rt),
693
+ (s(!0), u(A, null, S(D.dataset, (y, g) => (s(), u("td", {
663
694
  class: "vue-ui-data-table__tbody__td",
664
- "data-cell": G.dataset[g].name,
665
- style: m(`outline:${e.value.table.td.outline}`)
695
+ "data-cell": D.dataset[g].name,
696
+ style: x(`outline:${e.value.table.td.outline}`)
666
697
  }, [
667
- u("div", Bt, f(isNaN(y.values[v]) ? "-" : i(N)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
668
- ], 12, It))), 256))
698
+ n("div", Xt, b(isNaN(y.values[v]) ? "-" : i(O)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[v], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
699
+ ], 12, Gt))), 256))
669
700
  ], 6))), 256))
670
701
  ])
671
702
  ])
@@ -674,9 +705,9 @@ const tt = ["id"], lt = {
674
705
  ]),
675
706
  _: 1
676
707
  }, 8, ["config"])) : c("", !0)
677
- ], 14, tt));
708
+ ], 14, ot));
678
709
  }
679
- }, Jt = /* @__PURE__ */ et(Rt, [["__scopeId", "data-v-c67467bd"]]);
710
+ }, ll = /* @__PURE__ */ at(Ht, [["__scopeId", "data-v-f1071e4f"]]);
680
711
  export {
681
- Jt as default
712
+ ll as default
682
713
  };