vue-data-ui 2.6.36 → 2.6.38

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 (160) hide show
  1. package/dist/{Arrow-N2GJrlZ5.cjs → Arrow-DH-nqfuu.cjs} +1 -1
  2. package/dist/{Arrow-gL2x8gBV.js → Arrow-xcaRkI_P.js} +1 -1
  3. package/dist/{BaseIcon-BeYtmHYP.js → BaseIcon-CCOXJ43P.js} +1 -1
  4. package/dist/{BaseIcon-CKGrammw.cjs → BaseIcon-Dhgv4Qgl.cjs} +1 -1
  5. package/dist/{ColorPicker-DnxHVSYm.cjs → ColorPicker-DdX3Ab75.cjs} +1 -1
  6. package/dist/{ColorPicker-Ci1h5-O2.js → ColorPicker-DwgQNiHO.js} +3 -3
  7. package/dist/{DataTable-CzdnyXwf.js → DataTable--Aq5n5mR.js} +2 -2
  8. package/dist/{DataTable-D8BtUoMR.cjs → DataTable-DhEDo7W6.cjs} +1 -1
  9. package/dist/{Legend-DIS7P475.cjs → Legend-2PWaf6Bj.cjs} +1 -1
  10. package/dist/{Legend-DlmKiU2-.js → Legend-BbSQMgm3.js} +2 -2
  11. package/dist/{PackageVersion-D3YmcdiE.js → PackageVersion-CZ0-Jk6A.js} +1 -1
  12. package/dist/{PackageVersion-BO8DjgSz.cjs → PackageVersion-DdCp9lqS.cjs} +1 -1
  13. package/dist/{PenAndPaper-CcfHGdzR.cjs → PenAndPaper-4dibNTrE.cjs} +1 -1
  14. package/dist/{PenAndPaper-Dp6WplHM.js → PenAndPaper-BFkX-O1c.js} +3 -3
  15. package/dist/{Shape-L4y8ots7.cjs → Shape-Ba8jxKwR.cjs} +1 -1
  16. package/dist/{Shape-B0AhdeF9.js → Shape-CxNXalS-.js} +1 -1
  17. package/dist/{Slicer-alO3bh4c.js → Slicer-m9Y8-Ul1.js} +2 -2
  18. package/dist/{Slicer-B9K_7oxI.cjs → Slicer-rJxCx_c3.cjs} +1 -1
  19. package/dist/{Title-Bl_liOmz.cjs → Title-BGQhFU2C.cjs} +1 -1
  20. package/dist/{Title-piAm9Tnd.js → Title-xPTli3hs.js} +1 -1
  21. package/dist/{Tooltip-CFY5zGjZ.cjs → Tooltip-CnSZ7sO1.cjs} +1 -1
  22. package/dist/{Tooltip-cN2TpnrW.js → Tooltip-D42o7dze.js} +1 -1
  23. package/dist/{index-D7Ewdm4E.js → index-BsIlHNy8.js} +41 -22
  24. package/dist/index-CtzlfT2i.cjs +9 -0
  25. package/dist/style.css +1 -1
  26. package/dist/types/vue-data-ui.d.cts +19 -0
  27. package/dist/types/vue-data-ui.d.ts +19 -0
  28. package/dist/{useNestedProp-DRJssOTC.cjs → useNestedProp-B5jFEsaz.cjs} +1 -1
  29. package/dist/{useNestedProp-C8VbY0xY.js → useNestedProp-CyyJlG5K.js} +1 -1
  30. package/dist/{usePrinter-DuhxcNIN.js → usePrinter-D5N6w7Rg.js} +1 -1
  31. package/dist/{usePrinter-BxutFFjw.cjs → usePrinter-LlH3giBA.cjs} +1 -1
  32. package/dist/{vue-data-ui-DXuMkWTC.js → vue-data-ui-BLYRqJkx.js} +61 -61
  33. package/dist/{vue-data-ui-DJOzOOXH.cjs → vue-data-ui-Ba8lztG5.cjs} +1 -1
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-BLSl2tDn.cjs → vue-ui-3d-bar-BGJLygG0.cjs} +1 -1
  37. package/dist/{vue-ui-3d-bar-CJkVltOV.js → vue-ui-3d-bar-BJZ5zSaf.js} +9 -9
  38. package/dist/{vue-ui-accordion-ySvYUHFf.js → vue-ui-accordion-COi2Xtsr.js} +3 -3
  39. package/dist/{vue-ui-accordion-CtgNWNEP.cjs → vue-ui-accordion-tUPDXqYS.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-iM6u-9Ma.cjs → vue-ui-age-pyramid-2Fxcq3FV.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-jHBz2IVM.js → vue-ui-age-pyramid-k5Fu7j2-.js} +10 -10
  42. package/dist/{vue-ui-annotator-B4pfkWCP.js → vue-ui-annotator-BZ0Yy6ia.js} +1 -1
  43. package/dist/{vue-ui-annotator-DpS13K21.cjs → vue-ui-annotator-MPzfaArN.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DVJzVi6v.cjs → vue-ui-bullet-CQ7tn9wm.cjs} +1 -1
  45. package/dist/{vue-ui-bullet-Dr3oGjcd.js → vue-ui-bullet-u2ESqCXp.js} +8 -8
  46. package/dist/{vue-ui-candlestick-CokeFE_v.cjs → vue-ui-candlestick-4-kNBi7o.cjs} +1 -1
  47. package/dist/{vue-ui-candlestick-BxAxfhIT.js → vue-ui-candlestick-CwJ_u0fV.js} +11 -11
  48. package/dist/{vue-ui-carousel-table-Bajl3mg-.js → vue-ui-carousel-table-BoC8-DRG.js} +4 -4
  49. package/dist/{vue-ui-carousel-table-LYGNkIOD.cjs → vue-ui-carousel-table-C0_aau0U.cjs} +1 -1
  50. package/dist/{vue-ui-chestnut-mDJHkFXO.cjs → vue-ui-chestnut-C7fb69a8.cjs} +1 -1
  51. package/dist/{vue-ui-chestnut-CB793NSQ.js → vue-ui-chestnut-DPuTvEo_.js} +8 -8
  52. package/dist/{vue-ui-circle-pack-DwqiOLoh.cjs → vue-ui-circle-pack-DDQON0rO.cjs} +1 -1
  53. package/dist/{vue-ui-circle-pack-CPRsncLh.js → vue-ui-circle-pack-_hLdrihN.js} +9 -9
  54. package/dist/{vue-ui-cursor-B4mdSJZh.js → vue-ui-cursor-BWDfw2Ie.js} +2 -2
  55. package/dist/{vue-ui-cursor-D5Ii40BK.cjs → vue-ui-cursor-gcJigUgC.cjs} +1 -1
  56. package/dist/{vue-ui-dashboard-XbXml9zX.js → vue-ui-dashboard-BkGZ-fol.js} +2 -2
  57. package/dist/{vue-ui-dashboard-CMpfKMTh.cjs → vue-ui-dashboard-DesRs2ZI.cjs} +1 -1
  58. package/dist/{vue-ui-digits-BTCU_FMZ.js → vue-ui-digits-BTsRKOh6.js} +2 -2
  59. package/dist/{vue-ui-digits-BiaPI1za.cjs → vue-ui-digits-D7S2s6dm.cjs} +1 -1
  60. package/dist/{vue-ui-donut-BZZ66joN.cjs → vue-ui-donut-C8YIBga9.cjs} +1 -1
  61. package/dist/{vue-ui-donut-BxqtuaoC.js → vue-ui-donut-CHFJ4llc.js} +12 -12
  62. package/dist/{vue-ui-donut-evolution-BpQMtoLc.cjs → vue-ui-donut-evolution-Dpvf2iFq.cjs} +1 -1
  63. package/dist/{vue-ui-donut-evolution-kNH3n2fH.js → vue-ui-donut-evolution-Du7EzpBa.js} +11 -11
  64. package/dist/{vue-ui-dumbbell-BWviTcM9.cjs → vue-ui-dumbbell-D52rmaD-.cjs} +1 -1
  65. package/dist/{vue-ui-dumbbell-lFN2RAWw.js → vue-ui-dumbbell-D_ZrpG52.js} +10 -10
  66. package/dist/{vue-ui-flow-DX7Fs1BI.cjs → vue-ui-flow-CR8zPj0k.cjs} +1 -1
  67. package/dist/{vue-ui-flow-C66HjSFo.js → vue-ui-flow-EOVRHoOo.js} +9 -9
  68. package/dist/{vue-ui-funnel-lsOuqc3g.js → vue-ui-funnel-BeEfwpch.js} +9 -9
  69. package/dist/{vue-ui-funnel-WL0WKRum.cjs → vue-ui-funnel-DttSlnhO.cjs} +1 -1
  70. package/dist/{vue-ui-galaxy-CrYwVVFY.cjs → vue-ui-galaxy-BiG7_RQM.cjs} +1 -1
  71. package/dist/{vue-ui-galaxy-Bt6u8odG.js → vue-ui-galaxy-CV_lO5aH.js} +11 -11
  72. package/dist/{vue-ui-gauge-D2NcZ0JK.js → vue-ui-gauge-DLN6zs3X.js} +7 -7
  73. package/dist/{vue-ui-gauge-D1mAs9p0.cjs → vue-ui-gauge-DcTEz7z0.cjs} +1 -1
  74. package/dist/{vue-ui-gizmo-D1Au9pal.cjs → vue-ui-gizmo-DB55cesa.cjs} +1 -1
  75. package/dist/{vue-ui-gizmo-D1FliTrf.js → vue-ui-gizmo-G1WtSE2E.js} +3 -3
  76. package/dist/vue-ui-heatmap-BdWCJv-X.js +853 -0
  77. package/dist/vue-ui-heatmap-D2mxryA0.cjs +1 -0
  78. package/dist/{vue-ui-history-plot-XO5ZKDNX.cjs → vue-ui-history-plot-B1UvPHEt.cjs} +1 -1
  79. package/dist/{vue-ui-history-plot-b7PwRPRf.js → vue-ui-history-plot-Bch7yEUY.js} +11 -11
  80. package/dist/{vue-ui-kpi-C4zF2o6a.js → vue-ui-kpi-B9HqS8K-.js} +3 -3
  81. package/dist/{vue-ui-kpi-DneC8BkA.cjs → vue-ui-kpi-D_x-1qay.cjs} +1 -1
  82. package/dist/{vue-ui-mini-loader-DlrrjOiN.cjs → vue-ui-mini-loader-CVUQ6Jdq.cjs} +1 -1
  83. package/dist/{vue-ui-mini-loader-1B_5M3k4.js → vue-ui-mini-loader-sTAHynyd.js} +2 -2
  84. package/dist/{vue-ui-molecule-D2Movk5N.js → vue-ui-molecule-CBY0mkv6.js} +10 -10
  85. package/dist/{vue-ui-molecule-BX7U1WTo.cjs → vue-ui-molecule-CzV5mFr9.cjs} +1 -1
  86. package/dist/{vue-ui-mood-radar-DQa9BahX.js → vue-ui-mood-radar-0l5kOwOS.js} +11 -11
  87. package/dist/{vue-ui-mood-radar-D2uAfuwm.cjs → vue-ui-mood-radar-CjZZdlwC.cjs} +1 -1
  88. package/dist/{vue-ui-nested-donuts-Cggv-zeT.js → vue-ui-nested-donuts-CaMgxVbA.js} +11 -11
  89. package/dist/{vue-ui-nested-donuts-BBvwAf7R.cjs → vue-ui-nested-donuts-DmAwQmwD.cjs} +1 -1
  90. package/dist/{vue-ui-onion-BD3r54OZ.js → vue-ui-onion-LcKtpoza.js} +11 -11
  91. package/dist/{vue-ui-onion-BXZIEMVN.cjs → vue-ui-onion-dzs4bSVa.cjs} +1 -1
  92. package/dist/{vue-ui-parallel-coordinate-plot-CJikL6gT.cjs → vue-ui-parallel-coordinate-plot-BF8Erw_q.cjs} +1 -1
  93. package/dist/{vue-ui-parallel-coordinate-plot-uZvEbgR2.js → vue-ui-parallel-coordinate-plot-BNLSWVnA.js} +12 -12
  94. package/dist/{vue-ui-quadrant-ChMILvlU.js → vue-ui-quadrant-DNIbdRlI.js} +12 -12
  95. package/dist/{vue-ui-quadrant-P2-ZkSQP.cjs → vue-ui-quadrant-DQgc8mxK.cjs} +1 -1
  96. package/dist/{vue-ui-quick-chart-BIndXg0D.js → vue-ui-quick-chart-Bd2xUcYS.js} +9 -9
  97. package/dist/{vue-ui-quick-chart-vav6olrR.cjs → vue-ui-quick-chart-DD6Dgaf_.cjs} +1 -1
  98. package/dist/{vue-ui-radar-DARcNkq9.js → vue-ui-radar-CO7-BuKy.js} +12 -12
  99. package/dist/{vue-ui-radar-BkPF3Jeu.cjs → vue-ui-radar-D0aFz3M1.cjs} +1 -1
  100. package/dist/{vue-ui-rating-3-i3OH4l.js → vue-ui-rating-BXw-c2re.js} +2 -2
  101. package/dist/{vue-ui-rating-Bxv4df9w.cjs → vue-ui-rating-DBQcGPBa.cjs} +1 -1
  102. package/dist/{vue-ui-relation-circle-zNLV1U2L.js → vue-ui-relation-circle-BVEursNY.js} +7 -7
  103. package/dist/{vue-ui-relation-circle-CMbFOjlL.cjs → vue-ui-relation-circle-CrCtoGdS.cjs} +1 -1
  104. package/dist/{vue-ui-rings-CtG_3iHa.cjs → vue-ui-rings-B_NxR1q-.cjs} +1 -1
  105. package/dist/{vue-ui-rings-BFeGt1zp.js → vue-ui-rings-DW_FdNSK.js} +12 -12
  106. package/dist/{vue-ui-scatter-DMPBaoxy.cjs → vue-ui-scatter-Bly8ezts.cjs} +1 -1
  107. package/dist/{vue-ui-scatter-DUPlxrBM.js → vue-ui-scatter-CNltzVkT.js} +12 -12
  108. package/dist/{vue-ui-screenshot-Co3A5NRW.cjs → vue-ui-screenshot-B3_3bmXo.cjs} +1 -1
  109. package/dist/{vue-ui-screenshot-DRx_J0ja.js → vue-ui-screenshot-iEAAudBg.js} +1 -1
  110. package/dist/{vue-ui-skeleton-xKlKI0a0.js → vue-ui-skeleton-DApuwwZF.js} +3 -3
  111. package/dist/{vue-ui-skeleton-BLaR1CnV.cjs → vue-ui-skeleton-MFudy6Nx.cjs} +1 -1
  112. package/dist/{vue-ui-smiley-CEOeQC3U.js → vue-ui-smiley-C-RH5eaS.js} +2 -2
  113. package/dist/{vue-ui-smiley-D8kwZ46X.cjs → vue-ui-smiley-D17Lq5EM.cjs} +1 -1
  114. package/dist/{vue-ui-spark-trend-CWz13Uvn.js → vue-ui-spark-trend-CY_5HSpU.js} +5 -5
  115. package/dist/{vue-ui-spark-trend-BZUODh_y.cjs → vue-ui-spark-trend-q3XeHnoN.cjs} +1 -1
  116. package/dist/{vue-ui-sparkbar-CShtXDO2.js → vue-ui-sparkbar-DSsaunzO.js} +4 -4
  117. package/dist/{vue-ui-sparkbar-DYcWTih2.cjs → vue-ui-sparkbar-FsR-gK2w.cjs} +1 -1
  118. package/dist/{vue-ui-sparkgauge-DsdWEp_U.cjs → vue-ui-sparkgauge-BBBk29g7.cjs} +1 -1
  119. package/dist/{vue-ui-sparkgauge-B5PjkMMc.js → vue-ui-sparkgauge-DS_jMTUO.js} +4 -4
  120. package/dist/{vue-ui-sparkhistogram-BnWykleJ.cjs → vue-ui-sparkhistogram-BFd0lABr.cjs} +1 -1
  121. package/dist/{vue-ui-sparkhistogram-DHgPrCp6.js → vue-ui-sparkhistogram-D_gxEiyc.js} +5 -5
  122. package/dist/{vue-ui-sparkline-BQPpJkzd.js → vue-ui-sparkline-BJBtHg1Z.js} +4 -4
  123. package/dist/{vue-ui-sparkline-DOPInRh9.cjs → vue-ui-sparkline-BQhNHjjY.cjs} +1 -1
  124. package/dist/{vue-ui-sparkstackbar-BIb9AMmJ.cjs → vue-ui-sparkstackbar-D8i69QTv.cjs} +1 -1
  125. package/dist/{vue-ui-sparkstackbar-xV1Z0YvP.js → vue-ui-sparkstackbar-sk6RTxgo.js} +5 -5
  126. package/dist/{vue-ui-stackbar-zggYEepp.cjs → vue-ui-stackbar-BxbovsxZ.cjs} +1 -1
  127. package/dist/{vue-ui-stackbar-YLypx-MG.js → vue-ui-stackbar-usPJtqEt.js} +13 -13
  128. package/dist/{vue-ui-strip-plot-6HPRyTMm.js → vue-ui-strip-plot-Y_MY3klS.js} +11 -11
  129. package/dist/{vue-ui-strip-plot-DLbUrTCO.cjs → vue-ui-strip-plot-xeKRF2hz.cjs} +1 -1
  130. package/dist/{vue-ui-table-DnZgJLEZ.js → vue-ui-table-CiYMFIvc.js} +1 -1
  131. package/dist/{vue-ui-table-C_doFZgt.cjs → vue-ui-table-gdZlpeCl.cjs} +1 -1
  132. package/dist/{vue-ui-table-heatmap-D4-15I10.js → vue-ui-table-heatmap-E_W8ydlD.js} +4 -4
  133. package/dist/{vue-ui-table-heatmap-C63mns1l.cjs → vue-ui-table-heatmap-RAhNv1Yt.cjs} +1 -1
  134. package/dist/{vue-ui-table-sparkline-MKRsBbm1.cjs → vue-ui-table-sparkline-BoW8p8nM.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-LfQUNNiv.js → vue-ui-table-sparkline-qnUHp7_y.js} +5 -5
  136. package/dist/{vue-ui-thermometer-DwS-Oa-u.js → vue-ui-thermometer-B1pc1sTh.js} +7 -7
  137. package/dist/{vue-ui-thermometer-DNqcKOLp.cjs → vue-ui-thermometer-Cgknp6e4.cjs} +1 -1
  138. package/dist/{vue-ui-timer-Ctk6g3hd.js → vue-ui-timer-aBhtv50v.js} +5 -5
  139. package/dist/{vue-ui-timer-bL33Olqk.cjs → vue-ui-timer-artBhlnJ.cjs} +1 -1
  140. package/dist/{vue-ui-tiremarks-HcQb6R3A.cjs → vue-ui-tiremarks-BzacI8bL.cjs} +1 -1
  141. package/dist/{vue-ui-tiremarks-Cxg-9Zea.js → vue-ui-tiremarks-DiWKoU3P.js} +7 -7
  142. package/dist/{vue-ui-treemap-Dp9X6on1.cjs → vue-ui-treemap-CQaOFvON.cjs} +1 -1
  143. package/dist/{vue-ui-treemap-DxYk1DWA.js → vue-ui-treemap-gTJuFH2s.js} +11 -11
  144. package/dist/{vue-ui-vertical-bar-BLaZPh-V.js → vue-ui-vertical-bar-BBuDOBoW.js} +12 -12
  145. package/dist/{vue-ui-vertical-bar-WOIy7ko_.cjs → vue-ui-vertical-bar-CmhO5QXM.cjs} +1 -1
  146. package/dist/{vue-ui-waffle-DbP7wRRF.js → vue-ui-waffle-BL0NYWzA.js} +12 -12
  147. package/dist/{vue-ui-waffle-DlCT2jB9.cjs → vue-ui-waffle-BSelvhkc.cjs} +1 -1
  148. package/dist/{vue-ui-wheel-DTqfeQ4i.cjs → vue-ui-wheel-6MfSLLjP.cjs} +1 -1
  149. package/dist/{vue-ui-wheel-D1pRUGqU.js → vue-ui-wheel-Di-LA-Pk.js} +7 -7
  150. package/dist/{vue-ui-word-cloud-N6eYDJtR.js → vue-ui-word-cloud-CIL5uwJc.js} +10 -10
  151. package/dist/{vue-ui-word-cloud-DM6dHiiN.cjs → vue-ui-word-cloud-cO7rCys5.cjs} +1 -1
  152. package/dist/{vue-ui-xy-Dfz8T77S.js → vue-ui-xy-Caw1sPOs.js} +17 -17
  153. package/dist/vue-ui-xy-HQqWXfCj.cjs +3 -0
  154. package/dist/{vue-ui-xy-canvas-CP8-xr3t.js → vue-ui-xy-canvas-CO_1a0bx.js} +12 -12
  155. package/dist/{vue-ui-xy-canvas-BWGsDEfm.cjs → vue-ui-xy-canvas-CZffRCNl.cjs} +1 -1
  156. package/package.json +1 -1
  157. package/dist/index-Ce9ZD8zz.cjs +0 -9
  158. package/dist/vue-ui-heatmap-BIkcoCBo.js +0 -748
  159. package/dist/vue-ui-heatmap-CWnkF0Ea.cjs +0 -1
  160. package/dist/vue-ui-xy-CZo_tphg.cjs +0 -3
@@ -0,0 +1,853 @@
1
+ import { useCssVars as Ee, computed as p, ref as b, watch as Te, onMounted as Ge, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as Q, createBlock as H, createCommentVNode as d, createVNode as ie, createSlots as Ue, withCtx as A, renderSlot as m, normalizeProps as R, guardReactiveProps as X, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as Ye, createTextVNode as He, nextTick as De } from "vue";
2
+ import { u as je, o as We, e as Ae, c as re, a as qe, C as Ke, O as D, g as Je, X as Qe, G as ve, i as O, f as M, v as N, q as Ze, r as el, x as ll, y as tl } from "./index-BsIlHNy8.js";
3
+ import { _ as al } from "./Title-xPTli3hs.js";
4
+ import { u as ol, U as sl } from "./usePrinter-D5N6w7Rg.js";
5
+ import { _ as ul } from "./Tooltip-D42o7dze.js";
6
+ import nl from "./vue-ui-skeleton-DApuwwZF.js";
7
+ import il from "./BaseIcon-CCOXJ43P.js";
8
+ import rl from "./vue-ui-accordion-COi2Xtsr.js";
9
+ import { u as ze } from "./useNestedProp-CyyJlG5K.js";
10
+ import { _ as vl } from "./PackageVersion-CZ0-Jk6A.js";
11
+ import { P as yl } from "./PenAndPaper-BFkX-O1c.js";
12
+ import { u as dl } from "./useUserOptionState-BIvW1Kz7.js";
13
+ import { u as cl } from "./useChartAccessibility-BWojgys7.js";
14
+ import { _ as hl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const gl = ["id"], fl = {
16
+ key: 2,
17
+ style: "width:100%;background:transparent"
18
+ }, pl = ["xmlns", "viewBox"], bl = ["width", "height"], ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "onMouseover"], Ll = { key: 0 }, Cl = ["font-size", "fill", "x", "y", "font-weight"], Tl = ["font-size", "fill", "x", "y", "font-weight"], Al = { key: 1 }, zl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Sl = { key: 2 }, Ol = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Vl = { key: 4 }, Fl = ["x", "y", "width", "height", "stroke", "stroke-width"], Il = { key: 5 }, Pl = ["id"], Rl = ["stop-color"], Xl = ["stop-color"], Bl = ["x", "y", "font-size", "fill"], El = ["x", "y", "height", "rx", "fill"], Gl = ["x", "y", "font-size", "fill"], Ul = ["stroke", "x1", "x2", "y1", "y2"], Yl = ["fill", "d"], Hl = { key: 6 }, Dl = {
19
+ id: "colorScaleHorizontal",
20
+ x1: "0%",
21
+ x2: "100%",
22
+ y1: "0%",
23
+ y2: "0%"
24
+ }, jl = ["stop-color"], Wl = ["stop-color"], ql = ["x", "y", "width", "height", "rx"], Kl = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "font-size", "fill"], Ql = ["stroke", "x1", "x2", "y1", "y2"], Zl = ["fill", "d"], et = {
25
+ key: 5,
26
+ class: "vue-data-ui-watermark"
27
+ }, lt = {
28
+ key: 6,
29
+ ref: "source",
30
+ dir: "auto"
31
+ }, tt = { class: "vue-ui-data-table" }, at = { key: 0 }, ot = ["data-cell"], st = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ut = ["data-cell"], nt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, it = {
32
+ __name: "vue-ui-heatmap",
33
+ props: {
34
+ config: {
35
+ type: Object,
36
+ default() {
37
+ return {};
38
+ }
39
+ },
40
+ dataset: {
41
+ type: Array,
42
+ default() {
43
+ return [];
44
+ }
45
+ }
46
+ },
47
+ setup(j, { expose: Me }) {
48
+ Ee((l) => ({
49
+ "05be67bb": l.tdo
50
+ }));
51
+ const { vue_ui_heatmap: Se } = je(), y = j, W = p(() => !!y.dataset && y.dataset.length);
52
+ We(y.dataset) && Ae({
53
+ componentName: "VueUiHeatmap",
54
+ type: "dataset"
55
+ });
56
+ const B = b(re()), Z = b(null), Oe = b(null), ee = b(!1), le = b(""), ye = b(void 0), E = b(null), de = b(0), ce = b(null), Ne = b(null), he = b(!1), ge = b(0), e = p({
57
+ get: () => me(),
58
+ set: (l) => l
59
+ }), { userOptionsVisible: te, setUserOptionsVisibility: fe, keepUserOptionState: pe } = dl({ config: e.value }), { svgRef: be } = cl({ config: e.value.style.title });
60
+ function me() {
61
+ const l = ze({
62
+ userConfig: y.config,
63
+ defaultConfig: Se
64
+ });
65
+ let s = {};
66
+ return l.theme ? s = {
67
+ ...ze({
68
+ userConfig: qe.vue_ui_heatmap[l.theme] || y.config,
69
+ defaultConfig: l
70
+ })
71
+ } : s = l, y.config && Ke(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
72
+ }
73
+ Te(() => y.config, (l) => {
74
+ e.value = me(), te.value = !e.value.userOptions.showOnChartHover, ae(), ge.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.tooltip.show;
75
+ }, { deep: !0 }), Te(() => y.dataset, () => {
76
+ ae();
77
+ }, { deep: !0 });
78
+ const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } = ol({
79
+ elementId: `heatmap__${B.value}`,
80
+ fileName: e.value.style.title.text || "vue-ui-heatmap"
81
+ }), Ve = p(() => e.value.userOptions.show && !e.value.style.title.text), $ = b({
82
+ showTable: e.value.table.show,
83
+ showTooltip: e.value.style.tooltip.show
84
+ }), Fe = p(() => e.value.table.responsiveBreakpoint);
85
+ function Ie() {
86
+ new ResizeObserver((s) => {
87
+ s.forEach((n) => {
88
+ he.value = n.contentRect.width < Fe.value;
89
+ });
90
+ }).observe(ce.value);
91
+ }
92
+ Ge(ae);
93
+ function ae() {
94
+ Ie();
95
+ }
96
+ const V = p(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), L = p(() => {
97
+ const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
98
+ return {
99
+ height: l,
100
+ heightWithLegend: n,
101
+ width: s
102
+ };
103
+ }), q = p(() => e.value.style.legend.position), t = p(() => ({
104
+ top: e.value.style.layout.padding.top,
105
+ left: e.value.style.layout.padding.left,
106
+ right: L.value.width - e.value.style.layout.padding.right - (q.value === "right" && e.value.style.legend.show ? 92 : 0),
107
+ bottom: L.value.height - e.value.style.layout.padding.bottom,
108
+ height: L.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
109
+ width: L.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (q.value === "right" && e.value.style.legend.show ? 92 : 0)
110
+ })), oe = p(() => a.value.height * y.dataset.length), C = p(() => Math.max(...y.dataset.flatMap((l) => l.values))), F = p(() => Math.min(...y.dataset.flatMap((l) => l.values))), I = p(() => {
111
+ const l = y.dataset.flatMap((n) => n.values);
112
+ return l.reduce((n, u) => n + u, 0) / l.length;
113
+ }), a = p(() => ({
114
+ width: t.value.width / V.value,
115
+ height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
116
+ })), g = p(() => {
117
+ const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), c = Math.min(...n), f = [];
118
+ for (let h = 0; h < V.value; h += 1)
119
+ f.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, ne) => w + ne, 0));
120
+ const k = Math.max(...f), ue = Math.min(...f);
121
+ return {
122
+ yTotals: n.map((h) => {
123
+ const w = isNaN(h / u) ? 0 : h / u;
124
+ return {
125
+ total: h,
126
+ proportion: w,
127
+ color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, c, u, h)
128
+ };
129
+ }),
130
+ xTotals: f.map((h) => {
131
+ const w = isNaN(h / k) ? 0 : h / k;
132
+ return {
133
+ total: h,
134
+ proportion: w,
135
+ color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ue, k, h)
136
+ };
137
+ }),
138
+ yLabels: l,
139
+ xLabels: s.slice(0, V.value)
140
+ };
141
+ }), K = p(() => (y.dataset.forEach((l, s) => {
142
+ Je({
143
+ datasetObject: l,
144
+ requiredAttributes: ["values"]
145
+ }).forEach((n) => {
146
+ Ae({
147
+ componentName: "VueUiHeatmap",
148
+ type: "datasetSerieAttribute",
149
+ property: "values",
150
+ index: s
151
+ });
152
+ });
153
+ }), y.dataset.map((l) => ({
154
+ ...l,
155
+ temperatures: (l.values || []).map((s, n) => s >= I.value ? {
156
+ side: "up",
157
+ color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, s),
158
+ ratio: Math.abs(Math.abs(s - I.value) / Math.abs(C.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(s - I.value) / Math.abs(C.value - I.value)),
159
+ value: s,
160
+ yAxisName: l.name,
161
+ xAxisName: g.value.xLabels[n],
162
+ id: `vue-data-ui-heatmap-cell-${re()}`
163
+ } : {
164
+ side: "down",
165
+ ratio: Math.abs(1 - Math.abs(s) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(s) / Math.abs(I.value)),
166
+ color: D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, s),
167
+ value: s,
168
+ yAxisName: l.name,
169
+ xAxisName: g.value.xLabels[n],
170
+ id: `vue-data-ui-heatmap-cell-${re()}`
171
+ })
172
+ })))), S = b(null), G = b(null);
173
+ function Pe(l, s, n, u) {
174
+ E.value = { x: n, y: u };
175
+ const { value: c, yAxisName: f, xAxisName: k, id: ue } = l;
176
+ ye.value = ue, S.value = c, G.value = {
177
+ datapoint: l,
178
+ seriesIndex: s,
179
+ series: K.value,
180
+ config: e.value
181
+ }, ee.value = !0;
182
+ let h = "";
183
+ const w = e.value.style.tooltip.customFormat;
184
+ ll(w) && tl(() => w({
185
+ datapoint: l,
186
+ seriesIndex: s,
187
+ series: K.value,
188
+ config: e.value
189
+ })) ? le.value = w({
190
+ datapoint: l,
191
+ seriesIndex: s,
192
+ series: K.value,
193
+ config: e.value
194
+ }) : (h += `<div>${f} ${k ? `${k}` : ""}</div>`, h += `<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:${D(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, C.value, c)}">⬤</span><span>${isNaN(c) ? "-" : O(
195
+ e.value.style.layout.cells.value.formatter,
196
+ c,
197
+ M({
198
+ p: e.value.style.layout.dataLabels.prefix,
199
+ v: c,
200
+ s: e.value.style.layout.dataLabels.suffix,
201
+ r: e.value.style.tooltip.roundingValue
202
+ }),
203
+ { datapoint: l, seriesIndex: s }
204
+ )}</span></div>`, le.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
205
+ }
206
+ const U = p(() => t.value.top + oe.value * (1 - S.value / C.value)), Y = p(() => t.value.left + (L.value.width - t.value.left - e.value.style.layout.padding.right) * (S.value / C.value));
207
+ function Re(l) {
208
+ return O(
209
+ e.value.style.layout.cells.value.formatter,
210
+ g.value.yTotals[l].total,
211
+ M({
212
+ p: e.value.style.layout.dataLabels.prefix,
213
+ v: g.value.yTotals[l].total,
214
+ s: e.value.style.layout.dataLabels.suffix,
215
+ r: e.value.style.layout.cells.value.roundingValue
216
+ }),
217
+ { datapoint: g.value.yTotals[l], rowIndex: l }
218
+ );
219
+ }
220
+ function Xe(l) {
221
+ return O(
222
+ e.value.style.layout.cells.value.formatter,
223
+ g.value.xTotals[l].total,
224
+ M({
225
+ p: e.value.style.layout.dataLabels.prefix,
226
+ v: g.value.xTotals[l].total,
227
+ s: e.value.style.layout.dataLabels.suffix,
228
+ r: e.value.style.layout.cells.value.roundingValue
229
+ }),
230
+ { datapoint: g.value.xTotals[l], colIndex: l }
231
+ );
232
+ }
233
+ p(() => {
234
+ const l = y.dataset.map((n) => ({
235
+ name: n.name
236
+ })), s = y.dataset.map((n) => n.values);
237
+ return { head: l, body: s };
238
+ });
239
+ function $e() {
240
+ De(() => {
241
+ const l = ["", ...y.dataset.map((c, f) => c.name)], s = [];
242
+ for (let c = 0; c < g.value.xLabels.length; c += 1) {
243
+ const f = [g.value.xLabels[c]];
244
+ for (let k = 0; k < y.dataset.length; k += 1)
245
+ f.push([y.dataset[k].values[c]]);
246
+ s.push(f);
247
+ }
248
+ const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = Ze(n);
249
+ el({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
250
+ });
251
+ }
252
+ const P = b(!1);
253
+ function Be(l) {
254
+ P.value = l, de.value += 1;
255
+ }
256
+ function Le() {
257
+ $.value.showTable = !$.value.showTable;
258
+ }
259
+ function Ce() {
260
+ $.value.showTooltip = !$.value.showTooltip;
261
+ }
262
+ const J = b(!1);
263
+ function se() {
264
+ J.value = !J.value;
265
+ }
266
+ return Me({
267
+ generatePdf: ke,
268
+ generateCsv: $e,
269
+ generateImage: _e,
270
+ toggleTable: Le,
271
+ toggleTooltip: Ce,
272
+ toggleAnnotator: se
273
+ }), (l, s) => (o(), i("div", {
274
+ ref_key: "heatmapChart",
275
+ ref: Z,
276
+ class: Q(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
277
+ style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
278
+ id: `heatmap__${B.value}`,
279
+ onMouseenter: s[3] || (s[3] = () => r(fe)(!0)),
280
+ onMouseleave: s[4] || (s[4] = () => r(fe)(!1))
281
+ }, [
282
+ e.value.userOptions.buttons.annotator ? (o(), H(yl, {
283
+ key: 0,
284
+ svgRef: r(be),
285
+ backgroundColor: e.value.style.backgroundColor,
286
+ color: e.value.style.color,
287
+ active: J.value,
288
+ onClose: se
289
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
290
+ Ve.value ? (o(), i("div", {
291
+ key: 1,
292
+ ref_key: "noTitle",
293
+ ref: Ne,
294
+ class: "vue-data-ui-no-title-space",
295
+ style: "height:36px; width: 100%;background:transparent"
296
+ }, null, 512)) : d("", !0),
297
+ e.value.style.title.text ? (o(), i("div", fl, [
298
+ (o(), H(al, {
299
+ key: `title_${ge.value}`,
300
+ config: {
301
+ title: {
302
+ cy: "heatmap-div-title",
303
+ ...e.value.style.title
304
+ },
305
+ subtitle: {
306
+ cy: "heatmap-div-subtitle",
307
+ ...e.value.style.title.subtitle
308
+ }
309
+ }
310
+ }, null, 8, ["config"]))
311
+ ])) : d("", !0),
312
+ e.value.userOptions.show && W.value && (r(pe) || r(te)) ? (o(), H(sl, {
313
+ ref_key: "details",
314
+ ref: Oe,
315
+ key: `user_options_${de.value}`,
316
+ backgroundColor: e.value.style.backgroundColor,
317
+ color: e.value.style.color,
318
+ isImaging: r(we),
319
+ isPrinting: r(xe),
320
+ uid: B.value,
321
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
322
+ hasPdf: e.value.userOptions.buttons.pdf,
323
+ hasImg: e.value.userOptions.buttons.img,
324
+ hasXls: e.value.userOptions.buttons.csv,
325
+ hasTable: e.value.userOptions.buttons.table,
326
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
327
+ isFullscreen: P.value,
328
+ isTooltip: $.value.showTooltip,
329
+ titles: { ...e.value.userOptions.buttonTitles },
330
+ chartElement: Z.value,
331
+ position: e.value.userOptions.position,
332
+ hasAnnotator: e.value.userOptions.buttons.annotator,
333
+ isAnnotation: J.value,
334
+ onToggleFullscreen: Be,
335
+ onGeneratePdf: r(ke),
336
+ onGenerateCsv: $e,
337
+ onGenerateImage: r(_e),
338
+ onToggleTable: Le,
339
+ onToggleTooltip: Ce,
340
+ onToggleAnnotator: se,
341
+ style: T({
342
+ visibility: r(pe) ? r(te) ? "visible" : "hidden" : "visible"
343
+ })
344
+ }, Ue({ _: 2 }, [
345
+ l.$slots.menuIcon ? {
346
+ name: "menuIcon",
347
+ fn: A(({ isOpen: n, color: u }) => [
348
+ m(l.$slots, "menuIcon", R(X({ isOpen: n, color: u })), void 0, !0)
349
+ ]),
350
+ key: "0"
351
+ } : void 0,
352
+ l.$slots.optionTooltip ? {
353
+ name: "optionTooltip",
354
+ fn: A(() => [
355
+ m(l.$slots, "optionTooltip", {}, void 0, !0)
356
+ ]),
357
+ key: "1"
358
+ } : void 0,
359
+ l.$slots.optionPdf ? {
360
+ name: "optionPdf",
361
+ fn: A(() => [
362
+ m(l.$slots, "optionPdf", {}, void 0, !0)
363
+ ]),
364
+ key: "2"
365
+ } : void 0,
366
+ l.$slots.optionCsv ? {
367
+ name: "optionCsv",
368
+ fn: A(() => [
369
+ m(l.$slots, "optionCsv", {}, void 0, !0)
370
+ ]),
371
+ key: "3"
372
+ } : void 0,
373
+ l.$slots.optionImg ? {
374
+ name: "optionImg",
375
+ fn: A(() => [
376
+ m(l.$slots, "optionImg", {}, void 0, !0)
377
+ ]),
378
+ key: "4"
379
+ } : void 0,
380
+ l.$slots.optionTable ? {
381
+ name: "optionTable",
382
+ fn: A(() => [
383
+ m(l.$slots, "optionTable", {}, void 0, !0)
384
+ ]),
385
+ key: "5"
386
+ } : void 0,
387
+ l.$slots.optionFullscreen ? {
388
+ name: "optionFullscreen",
389
+ fn: A(({ toggleFullscreen: n, isFullscreen: u }) => [
390
+ m(l.$slots, "optionFullscreen", R(X({ toggleFullscreen: n, isFullscreen: u })), void 0, !0)
391
+ ]),
392
+ key: "6"
393
+ } : void 0,
394
+ l.$slots.optionAnnotator ? {
395
+ name: "optionAnnotator",
396
+ fn: A(({ toggleAnnotator: n, isAnnotator: u }) => [
397
+ m(l.$slots, "optionAnnotator", R(X({ toggleAnnotator: n, isAnnotator: u })), void 0, !0)
398
+ ]),
399
+ key: "7"
400
+ } : void 0
401
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
402
+ W.value ? (o(), i("svg", {
403
+ key: 4,
404
+ ref_key: "svgRef",
405
+ ref: be,
406
+ xmlns: r(Qe),
407
+ class: Q({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
408
+ viewBox: `0 0 ${L.value.width} ${L.value.heightWithLegend}`,
409
+ style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
410
+ }, [
411
+ ie(vl),
412
+ l.$slots["chart-background"] ? (o(), i("foreignObject", {
413
+ key: 0,
414
+ x: 0,
415
+ y: 0,
416
+ width: L.value.width,
417
+ height: L.value.heightWithLegend,
418
+ style: {
419
+ pointerEvents: "none"
420
+ }
421
+ }, [
422
+ m(l.$slots, "chart-background", {}, void 0, !0)
423
+ ], 8, bl)) : d("", !0),
424
+ e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
425
+ (o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
426
+ x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
427
+ y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
428
+ height: a.value.height / 3,
429
+ width: a.value.width - e.value.style.layout.cells.spacing,
430
+ fill: e.value.style.layout.cells.colors.underlayer,
431
+ stroke: e.value.style.backgroundColor,
432
+ "stroke-width": e.value.style.layout.cells.spacing
433
+ }, null, 8, ml))), 256)),
434
+ (o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
435
+ x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
436
+ y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
437
+ height: a.value.height / 3,
438
+ width: a.value.width - e.value.style.layout.cells.spacing,
439
+ fill: n.color,
440
+ stroke: e.value.style.backgroundColor,
441
+ "stroke-width": e.value.style.layout.cells.spacing
442
+ }, null, 8, xl))), 256))
443
+ ], 64)) : d("", !0),
444
+ (o(!0), i(_, null, z(K.value, (n, u) => (o(), i("g", null, [
445
+ (o(!0), i(_, null, z(n.temperatures, (c, f) => (o(), i("g", null, [
446
+ v("rect", {
447
+ x: t.value.left + a.value.width * f + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
448
+ y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
449
+ width: a.value.width - e.value.style.layout.cells.spacing,
450
+ height: a.value.height - e.value.style.layout.cells.spacing,
451
+ fill: e.value.style.layout.cells.colors.underlayer,
452
+ stroke: e.value.style.backgroundColor,
453
+ "stroke-width": e.value.style.layout.cells.spacing
454
+ }, null, 8, wl),
455
+ v("rect", {
456
+ x: t.value.left + a.value.width * f + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
457
+ y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
458
+ width: a.value.width - e.value.style.layout.cells.spacing,
459
+ height: a.value.height - e.value.style.layout.cells.spacing,
460
+ fill: c.color,
461
+ stroke: e.value.style.backgroundColor,
462
+ "stroke-width": e.value.style.layout.cells.spacing
463
+ }, null, 8, kl),
464
+ e.value.style.layout.cells.value.show ? (o(), i("text", {
465
+ key: 0,
466
+ "text-anchor": "middle",
467
+ "font-size": e.value.style.layout.cells.value.fontSize,
468
+ "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
469
+ fill: r(ve)(c.color),
470
+ x: t.value.left + a.value.width * f + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
471
+ y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
472
+ }, x(r(O)(
473
+ e.value.style.layout.cells.value.formatter,
474
+ c.value,
475
+ r(M)({
476
+ p: e.value.style.layout.dataLabels.prefix,
477
+ v: c.value,
478
+ s: e.value.style.layout.dataLabels.suffix,
479
+ r: e.value.style.layout.cells.value.roundingValue
480
+ }),
481
+ { datapoint: c }
482
+ )), 9, _l)) : d("", !0)
483
+ ]))), 256)),
484
+ (o(!0), i(_, null, z(n.temperatures, (c, f) => (o(), i("g", null, [
485
+ v("rect", {
486
+ x: t.value.left + a.value.width * f + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
487
+ y: t.value.top + a.value.height * u,
488
+ width: a.value.width,
489
+ height: a.value.height,
490
+ fill: "transparent",
491
+ stroke: "none",
492
+ onMouseover: (k) => Pe(c, u, t.value.left + a.value.width * f, t.value.top + a.value.height * u),
493
+ onMouseout: s[0] || (s[0] = (k) => {
494
+ ee.value = !1, ye.value = void 0, S.value = null, E.value = null;
495
+ })
496
+ }, null, 40, $l)
497
+ ]))), 256)),
498
+ e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Ll, [
499
+ v("text", {
500
+ class: "vue-ui-heatmap-row-name",
501
+ "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
502
+ fill: e.value.style.layout.dataLabels.yAxis.color,
503
+ x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
504
+ y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
505
+ "text-anchor": "end",
506
+ "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
507
+ }, x(g.value.yLabels[u]), 9, Cl),
508
+ e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
509
+ key: 0,
510
+ class: "vue-ui-heatmap-row-total",
511
+ "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
512
+ fill: e.value.style.layout.dataLabels.yAxis.color,
513
+ x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
514
+ y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
515
+ "text-anchor": "end",
516
+ "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
517
+ }, x(Re(u)), 9, Tl)) : d("", !0)
518
+ ])) : d("", !0),
519
+ e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Al, [
520
+ v("rect", {
521
+ x: t.value.left,
522
+ y: t.value.top + a.value.height * u,
523
+ width: a.value.height / 3,
524
+ height: a.value.height - e.value.style.layout.cells.spacing,
525
+ fill: e.value.style.layout.cells.colors.underlayer,
526
+ stroke: e.value.style.backgroundColor,
527
+ "stroke-width": e.value.style.layout.cells.spacing
528
+ }, null, 8, zl),
529
+ v("rect", {
530
+ x: t.value.left,
531
+ y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
532
+ width: a.value.height / 3,
533
+ height: a.value.height - e.value.style.layout.cells.spacing,
534
+ fill: g.value.yTotals[u].color,
535
+ stroke: e.value.style.backgroundColor,
536
+ "stroke-width": e.value.style.layout.cells.spacing
537
+ }, null, 8, Ml)
538
+ ])) : d("", !0)
539
+ ]))), 256)),
540
+ e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Sl, [
541
+ (o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i(_, null, [
542
+ !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && u % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
543
+ key: 0,
544
+ class: "vue-ui-heatmap-col-name",
545
+ "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
546
+ "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
547
+ fill: e.value.style.layout.dataLabels.xAxis.color,
548
+ "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
549
+ transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
550
+ }, x(n), 9, Ol)) : d("", !0)
551
+ ], 64))), 256))
552
+ ])) : d("", !0),
553
+ e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(g.value.xLabels, (n, u) => (o(), i("text", {
554
+ class: "vue-ui-heatmap-col-total",
555
+ "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
556
+ "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
557
+ fill: e.value.style.layout.dataLabels.xAxis.color,
558
+ "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
559
+ transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.bottom - e.value.style.layout.dataLabels.xAxis.fontSize + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
560
+ }, x(Xe(u)), 9, Nl))), 256)) : d("", !0),
561
+ E.value ? (o(), i("g", Vl, [
562
+ v("rect", {
563
+ style: { "pointer-events": "none" },
564
+ x: E.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
565
+ y: E.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
566
+ width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
567
+ height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
568
+ fill: "transparent",
569
+ stroke: e.value.style.layout.cells.selected.color,
570
+ "stroke-width": e.value.style.layout.cells.selected.border,
571
+ rx: 1
572
+ }, null, 8, Fl)
573
+ ])) : d("", !0),
574
+ e.value.style.legend.show && q.value === "right" ? (o(), i("g", Il, [
575
+ v("defs", null, [
576
+ v("linearGradient", {
577
+ id: `colorScaleVertical_${B.value}`,
578
+ x2: "0%",
579
+ y2: "100%"
580
+ }, [
581
+ v("stop", {
582
+ offset: "0%",
583
+ "stop-color": e.value.style.layout.cells.colors.hot
584
+ }, null, 8, Rl),
585
+ v("stop", {
586
+ offset: "100%",
587
+ "stop-color": e.value.style.layout.cells.colors.cold
588
+ }, null, 8, Xl)
589
+ ], 8, Pl)
590
+ ]),
591
+ v("text", {
592
+ x: t.value.right + 36 + 18,
593
+ y: t.value.top - e.value.style.legend.fontSize * 1.5,
594
+ "text-anchor": "middle",
595
+ "font-size": e.value.style.legend.fontSize * 2,
596
+ fill: e.value.style.legend.color
597
+ }, x(r(O)(
598
+ e.value.style.layout.cells.value.formatter,
599
+ r(N)(C.value),
600
+ r(M)({
601
+ p: e.value.style.layout.dataLabels.prefix,
602
+ v: r(N)(C.value),
603
+ s: e.value.style.layout.dataLabels.suffix,
604
+ r: e.value.style.legend.roundingValue
605
+ })
606
+ )), 9, Bl),
607
+ v("rect", {
608
+ x: t.value.right + 36,
609
+ y: t.value.top,
610
+ width: 36,
611
+ height: oe.value,
612
+ rx: e.value.style.legend.scaleBorderRadius,
613
+ fill: `url(#colorScaleVertical_${B.value})`
614
+ }, null, 8, El),
615
+ v("text", {
616
+ x: t.value.right + 36 + 18,
617
+ y: t.value.top + oe.value + e.value.style.legend.fontSize * 2.5,
618
+ "text-anchor": "middle",
619
+ "font-size": e.value.style.legend.fontSize * 2,
620
+ fill: e.value.style.legend.color
621
+ }, x(r(O)(
622
+ e.value.style.layout.cells.value.formatter,
623
+ r(N)(F.value),
624
+ r(M)({
625
+ p: e.value.style.layout.dataLabels.prefix,
626
+ v: r(N)(F.value),
627
+ s: e.value.style.layout.dataLabels.suffix,
628
+ r: e.value.style.legend.roundingValue
629
+ })
630
+ )), 9, Gl),
631
+ S.value !== null ? (o(), i("line", {
632
+ key: 0,
633
+ stroke: r(ve)(G.value.datapoint.color),
634
+ "stroke-width": "2",
635
+ x1: t.value.right + 36,
636
+ x2: t.value.right + 72,
637
+ y1: U.value,
638
+ y2: U.value
639
+ }, null, 8, Ul)) : d("", !0),
640
+ S.value !== null ? (o(), i("path", {
641
+ key: 1,
642
+ fill: e.value.style.color,
643
+ stroke: "none",
644
+ d: `M ${t.value.right + 36},${U.value} ${t.value.right + 26},${U.value - 8} ${t.value.right + 26},${U.value + 8}z`
645
+ }, null, 8, Yl)) : d("", !0)
646
+ ])) : d("", !0),
647
+ e.value.style.legend.show && q.value === "bottom" ? (o(), i("g", Hl, [
648
+ v("defs", null, [
649
+ v("linearGradient", Dl, [
650
+ v("stop", {
651
+ offset: "0%",
652
+ "stop-color": e.value.style.layout.cells.colors.cold
653
+ }, null, 8, jl),
654
+ v("stop", {
655
+ offset: "100%",
656
+ "stop-color": e.value.style.layout.cells.colors.hot
657
+ }, null, 8, Wl)
658
+ ])
659
+ ]),
660
+ v("rect", {
661
+ x: t.value.left,
662
+ y: t.value.bottom + e.value.style.layout.cells.height,
663
+ width: L.value.width - t.value.left - e.value.style.layout.padding.right,
664
+ height: e.value.style.layout.cells.height,
665
+ 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,
666
+ fill: "url(#colorScaleHorizontal)"
667
+ }, null, 8, ql),
668
+ v("text", {
669
+ x: t.value.left,
670
+ y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
671
+ "text-anchor": "start",
672
+ "font-size": e.value.style.legend.fontSize * 2,
673
+ fill: e.value.style.legend.color
674
+ }, x(r(O)(
675
+ e.value.style.layout.cells.value.formatter,
676
+ r(N)(F.value),
677
+ r(M)({
678
+ p: e.value.style.layout.dataLabels.prefix,
679
+ v: r(N)(F.value),
680
+ s: e.value.style.layout.dataLabels.suffix,
681
+ r: e.value.style.legend.roundingValue
682
+ })
683
+ )), 9, Kl),
684
+ v("text", {
685
+ x: t.value.right,
686
+ y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
687
+ "text-anchor": "end",
688
+ "font-size": e.value.style.legend.fontSize * 2,
689
+ fill: e.value.style.legend.color
690
+ }, x(r(O)(
691
+ e.value.style.layout.cells.value.formatter,
692
+ r(N)(C.value),
693
+ r(M)({
694
+ p: e.value.style.layout.dataLabels.prefix,
695
+ v: r(N)(C.value),
696
+ s: e.value.style.layout.dataLabels.suffix,
697
+ r: e.value.style.legend.roundingValue
698
+ })
699
+ )), 9, Jl),
700
+ S.value !== null ? (o(), i("line", {
701
+ key: 0,
702
+ stroke: r(ve)(G.value.datapoint.color),
703
+ "stroke-width": "2",
704
+ x1: Y.value,
705
+ x2: Y.value,
706
+ y1: t.value.bottom + e.value.style.layout.cells.height,
707
+ y2: t.value.bottom + e.value.style.layout.cells.height * 2
708
+ }, null, 8, Ql)) : d("", !0),
709
+ S.value !== null ? (o(), i("path", {
710
+ key: 1,
711
+ fill: e.value.style.color,
712
+ stroke: "none",
713
+ d: `M ${Y.value},${t.value.bottom + e.value.style.layout.cells.height} ${Y.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${Y.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
714
+ }, null, 8, Zl)) : d("", !0)
715
+ ])) : d("", !0),
716
+ m(l.$slots, "svg", { svg: L.value }, void 0, !0)
717
+ ], 14, pl)) : d("", !0),
718
+ l.$slots.watermark ? (o(), i("div", et, [
719
+ m(l.$slots, "watermark", R(X({ isPrinting: r(xe) || r(we) })), void 0, !0)
720
+ ])) : d("", !0),
721
+ l.$slots.source ? (o(), i("div", lt, [
722
+ m(l.$slots, "source", {}, void 0, !0)
723
+ ], 512)) : d("", !0),
724
+ W.value ? d("", !0) : (o(), H(nl, {
725
+ key: 7,
726
+ config: {
727
+ type: "heatmap",
728
+ style: {
729
+ backgroundColor: e.value.style.backgroundColor,
730
+ heatmap: {
731
+ color: "#CCCCCC"
732
+ }
733
+ }
734
+ }
735
+ }, null, 8, ["config"])),
736
+ ie(ul, {
737
+ show: $.value.showTooltip && ee.value,
738
+ backgroundColor: e.value.style.tooltip.backgroundColor,
739
+ color: e.value.style.tooltip.color,
740
+ borderRadius: e.value.style.tooltip.borderRadius,
741
+ borderColor: e.value.style.tooltip.borderColor,
742
+ borderWidth: e.value.style.tooltip.borderWidth,
743
+ fontSize: e.value.style.tooltip.fontSize,
744
+ backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
745
+ position: e.value.style.tooltip.position,
746
+ offsetY: e.value.style.tooltip.offsetY,
747
+ parent: Z.value,
748
+ content: le.value,
749
+ isFullscreen: P.value,
750
+ isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
751
+ }, {
752
+ "tooltip-before": A(() => [
753
+ m(l.$slots, "tooltip-before", R(X({ ...G.value })), void 0, !0)
754
+ ]),
755
+ "tooltip-after": A(() => [
756
+ m(l.$slots, "tooltip-after", R(X({ ...G.value })), void 0, !0)
757
+ ]),
758
+ _: 3
759
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
760
+ W.value ? (o(), H(rl, {
761
+ key: 8,
762
+ hideDetails: "",
763
+ config: {
764
+ open: $.value.showTable,
765
+ maxHeight: 1e4,
766
+ body: {
767
+ backgroundColor: e.value.style.backgroundColor,
768
+ color: e.value.style.color
769
+ },
770
+ head: {
771
+ backgroundColor: e.value.style.backgroundColor,
772
+ color: e.value.style.color
773
+ }
774
+ }
775
+ }, {
776
+ content: A(() => [
777
+ v("div", {
778
+ ref_key: "tableContainer",
779
+ ref: ce,
780
+ class: "vue-ui-heatmap-table atom-data-table"
781
+ }, [
782
+ v("div", {
783
+ style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
784
+ class: Q({ "vue-ui-responsive": he.value })
785
+ }, [
786
+ v("div", {
787
+ role: "button",
788
+ tabindex: "0",
789
+ style: T(`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};`),
790
+ onClick: s[1] || (s[1] = (n) => $.value.showTable = !1),
791
+ onKeypress: s[2] || (s[2] = Ye((n) => $.value.showTable = !1, ["enter"]))
792
+ }, [
793
+ ie(il, {
794
+ name: "close",
795
+ stroke: e.value.table.th.color,
796
+ "stroke-width": 2
797
+ }, null, 8, ["stroke"])
798
+ ], 36),
799
+ v("table", tt, [
800
+ v("caption", {
801
+ style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
802
+ }, [
803
+ He(x(e.value.style.title.text) + " ", 1),
804
+ e.value.style.title.subtitle.text ? (o(), i("span", at, x(e.value.style.title.subtitle.text), 1)) : d("", !0)
805
+ ], 4),
806
+ v("thead", null, [
807
+ v("tr", {
808
+ role: "row",
809
+ style: T(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
810
+ }, [
811
+ v("th", {
812
+ style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
813
+ }, null, 4),
814
+ (o(!0), i(_, null, z(j.dataset, (n, u) => (o(), i("th", {
815
+ align: "right",
816
+ style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
817
+ }, x(n.name), 5))), 256))
818
+ ], 4)
819
+ ]),
820
+ v("tbody", null, [
821
+ (o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i("tr", {
822
+ role: "row",
823
+ class: Q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
824
+ style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
825
+ }, [
826
+ v("td", {
827
+ "data-cell": e.value.table.colNames.xAxis,
828
+ class: "vue-ui-data-table__tbody__td",
829
+ style: T(`outline:${e.value.table.td.outline}`)
830
+ }, [
831
+ v("div", st, x(n), 1)
832
+ ], 12, ot),
833
+ (o(!0), i(_, null, z(j.dataset, (c, f) => (o(), i("td", {
834
+ class: "vue-ui-data-table__tbody__td",
835
+ "data-cell": j.dataset[f].name,
836
+ style: T(`outline:${e.value.table.td.outline}`)
837
+ }, [
838
+ v("div", nt, x(isNaN(c.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: c.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
839
+ ], 12, ut))), 256))
840
+ ], 6))), 256))
841
+ ])
842
+ ])
843
+ ], 2)
844
+ ], 512)
845
+ ]),
846
+ _: 1
847
+ }, 8, ["config"])) : d("", !0)
848
+ ], 46, gl));
849
+ }
850
+ }, _t = /* @__PURE__ */ hl(it, [["__scopeId", "data-v-dc92b3af"]]);
851
+ export {
852
+ _t as default
853
+ };