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
@@ -1,748 +0,0 @@
1
- import { useCssVars as Re, computed as h, ref as p, watch as Ce, onMounted as Be, createElementBlock as n, openBlock as s, unref as u, normalizeStyle as k, normalizeClass as q, createBlock as H, createCommentVNode as c, createVNode as se, createSlots as Ee, withCtx as _, renderSlot as f, normalizeProps as V, guardReactiveProps as P, Fragment as A, renderList as M, createElementVNode as i, toDisplayString as b, withKeys as Ge, createTextVNode as Ue, nextTick as He } from "vue";
2
- import { u as Xe, o as De, e as Le, c as ue, a as je, C as We, g as Ye, O as ne, X as qe, G as ie, i as I, f as S, v as T, q as Ke, r as Je, x as Qe, y as Ze } from "./index-D7Ewdm4E.js";
3
- import { _ as et } from "./Title-piAm9Tnd.js";
4
- import { u as tt, U as lt } from "./usePrinter-DuhxcNIN.js";
5
- import { _ as at } from "./Tooltip-cN2TpnrW.js";
6
- import ot from "./vue-ui-skeleton-xKlKI0a0.js";
7
- import st from "./BaseIcon-BeYtmHYP.js";
8
- import ut from "./vue-ui-accordion-ySvYUHFf.js";
9
- import { u as Ae } from "./useNestedProp-C8VbY0xY.js";
10
- import { _ as nt } from "./PackageVersion-D3YmcdiE.js";
11
- import { P as it } from "./PenAndPaper-Dp6WplHM.js";
12
- import { u as rt } from "./useUserOptionState-BIvW1Kz7.js";
13
- import { u as vt } from "./useChartAccessibility-BWojgys7.js";
14
- import { _ as dt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const yt = ["id"], ct = {
16
- key: 2,
17
- style: "width:100%;background:transparent"
18
- }, ht = ["xmlns", "viewBox"], pt = ["width", "height"], gt = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ft = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], bt = ["font-size", "font-weight", "fill", "x", "y"], mt = ["x", "y", "width", "height", "onMouseover"], xt = { key: 0 }, wt = ["font-size", "fill", "x", "y", "font-weight"], kt = { key: 1 }, _t = ["text-anchor", "font-size", "fill", "font-weight", "transform"], $t = { key: 2 }, Ct = ["x", "y", "width", "height", "stroke", "stroke-width"], Lt = { key: 3 }, At = ["id"], Tt = ["stop-color"], zt = ["stop-color"], Ot = ["x", "y", "font-size", "fill"], Mt = ["x", "y", "height", "rx", "fill"], St = ["x", "y", "font-size", "fill"], Nt = ["stroke", "x1", "x2", "y1", "y2"], Ft = ["fill", "d"], Vt = { key: 4 }, Pt = {
19
- id: "colorScaleHorizontal",
20
- x1: "0%",
21
- x2: "100%",
22
- y1: "0%",
23
- y2: "0%"
24
- }, It = ["stop-color"], Rt = ["stop-color"], Bt = ["x", "y", "width", "height", "rx"], Et = ["x", "y", "font-size", "fill"], Gt = ["x", "y", "font-size", "fill"], Ut = ["stroke", "x1", "x2", "y1", "y2"], Ht = ["fill", "d"], Xt = {
25
- key: 5,
26
- class: "vue-data-ui-watermark"
27
- }, Dt = {
28
- key: 6,
29
- ref: "source",
30
- dir: "auto"
31
- }, jt = { class: "vue-ui-data-table" }, Wt = { key: 0 }, Yt = ["data-cell"], qt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Kt = ["data-cell"], Jt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Qt = {
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(X, { expose: Te }) {
48
- Re((t) => ({
49
- d6e15a20: t.tdo
50
- }));
51
- const { vue_ui_heatmap: ze } = Xe(), v = X, D = h(() => !!v.dataset && v.dataset.length);
52
- De(v.dataset) && Le({
53
- componentName: "VueUiHeatmap",
54
- type: "dataset"
55
- });
56
- const R = p(ue()), K = p(null), Oe = p(null), J = p(!1), Q = p(""), re = p(void 0), B = p(null), ve = p(0), de = p(null), Me = p(null), ye = p(!1), ce = p(0), e = h({
57
- get: () => fe(),
58
- set: (t) => t
59
- }), { userOptionsVisible: Z, setUserOptionsVisibility: he, keepUserOptionState: pe } = rt({ config: e.value }), { svgRef: ge } = vt({ config: e.value.style.title });
60
- function fe() {
61
- const t = Ae({
62
- userConfig: v.config,
63
- defaultConfig: ze
64
- });
65
- let l = {};
66
- return t.theme ? l = {
67
- ...Ae({
68
- userConfig: je.vue_ui_heatmap[t.theme] || v.config,
69
- defaultConfig: t
70
- })
71
- } : l = t, v.config && We(v.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? l.style.layout.dataLabels.xAxis.showOnlyAtModulo = v.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : l.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, l;
72
- }
73
- Ce(() => v.config, (t) => {
74
- e.value = fe(), Z.value = !e.value.userOptions.showOnChartHover, ee(), ce.value += 1, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.tooltip.show;
75
- }, { deep: !0 }), Ce(() => v.dataset, () => {
76
- ee();
77
- }, { deep: !0 });
78
- const { isPrinting: be, isImaging: me, generatePdf: xe, generateImage: we } = tt({
79
- elementId: `heatmap__${R.value}`,
80
- fileName: e.value.style.title.text || "vue-ui-heatmap"
81
- }), Se = h(() => e.value.userOptions.show && !e.value.style.title.text), m = p({
82
- showTable: e.value.table.show,
83
- showTooltip: e.value.style.tooltip.show
84
- }), Ne = h(() => e.value.table.responsiveBreakpoint);
85
- function Fe() {
86
- new ResizeObserver((l) => {
87
- l.forEach((o) => {
88
- ye.value = o.contentRect.width < Ne.value;
89
- });
90
- }).observe(de.value);
91
- }
92
- Be(ee);
93
- function ee() {
94
- Fe();
95
- }
96
- const N = h(() => Math.max(...v.dataset.flatMap((t) => (t.values || []).length))), x = h(() => {
97
- const t = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + v.dataset.length * e.value.style.layout.cells.height, l = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (N.value < v.dataset.length ? v.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);
98
- return {
99
- height: t,
100
- heightWithLegend: o,
101
- width: l
102
- };
103
- }), j = h(() => e.value.style.legend.position), a = h(() => ({
104
- top: e.value.style.layout.padding.top,
105
- left: e.value.style.layout.padding.left,
106
- right: x.value.width - e.value.style.layout.padding.right - (j.value === "right" && e.value.style.legend.show ? 92 : 0),
107
- bottom: x.value.height - e.value.style.layout.padding.bottom,
108
- height: x.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
109
- width: x.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (j.value === "right" && e.value.style.legend.show ? 92 : 0)
110
- })), te = h(() => d.value.height * v.dataset.length), w = h(() => Math.max(...v.dataset.flatMap((t) => t.values))), z = h(() => Math.min(...v.dataset.flatMap((t) => t.values))), O = h(() => {
111
- const t = v.dataset.flatMap((o) => o.values);
112
- return t.reduce((o, r) => o + r, 0) / t.length;
113
- }), d = h(() => ({
114
- width: a.value.width / N.value,
115
- height: a.value.width / (N.value < v.dataset.length ? v.dataset.length : N.value)
116
- })), $ = h(() => {
117
- const t = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : v.dataset.map((o) => o.name), l = e.value.style.layout.dataLabels.xAxis.values;
118
- return {
119
- yLabels: t,
120
- xLabels: l.slice(0, N.value)
121
- };
122
- }), W = h(() => (v.dataset.forEach((t, l) => {
123
- Ye({
124
- datasetObject: t,
125
- requiredAttributes: ["values"]
126
- }).forEach((o) => {
127
- Le({
128
- componentName: "VueUiHeatmap",
129
- type: "datasetSerieAttribute",
130
- property: "values",
131
- index: l
132
- });
133
- });
134
- }), v.dataset.map((t) => ({
135
- ...t,
136
- temperatures: (t.values || []).map((l, o) => l >= O.value ? {
137
- side: "up",
138
- color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
139
- ratio: Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)) > 1 ? 1 : Math.abs(Math.abs(l - O.value) / Math.abs(w.value - O.value)),
140
- value: l,
141
- yAxisName: t.name,
142
- xAxisName: $.value.xLabels[o],
143
- id: `vue-data-ui-heatmap-cell-${ue()}`
144
- } : {
145
- side: "down",
146
- ratio: Math.abs(1 - Math.abs(l) / Math.abs(O.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(O.value)),
147
- color: ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, l),
148
- value: l,
149
- yAxisName: t.name,
150
- xAxisName: $.value.xLabels[o],
151
- id: `vue-data-ui-heatmap-cell-${ue()}`
152
- })
153
- })))), C = p(null), E = p(null);
154
- function Ve(t, l, o, r) {
155
- B.value = { x: o, y: r };
156
- const { value: y, yAxisName: g, xAxisName: L, id: Ie } = t;
157
- re.value = Ie, C.value = y, E.value = {
158
- datapoint: t,
159
- seriesIndex: l,
160
- series: W.value,
161
- config: e.value
162
- }, J.value = !0;
163
- let ae = "";
164
- const oe = e.value.style.tooltip.customFormat;
165
- Qe(oe) && Ze(() => oe({
166
- datapoint: t,
167
- seriesIndex: l,
168
- series: W.value,
169
- config: e.value
170
- })) ? Q.value = oe({
171
- datapoint: t,
172
- seriesIndex: l,
173
- series: W.value,
174
- config: e.value
175
- }) : (ae += `<div>${g} ${L ? `${L}` : ""}</div>`, ae += `<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:${ne(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, z.value, w.value, y)}">⬤</span><span>${isNaN(y) ? "-" : I(
176
- e.value.style.layout.cells.value.formatter,
177
- y,
178
- S({
179
- p: e.value.style.layout.dataLabels.prefix,
180
- v: y,
181
- s: e.value.style.layout.dataLabels.suffix,
182
- r: e.value.style.tooltip.roundingValue
183
- }),
184
- { datapoint: t, seriesIndex: l }
185
- )}</span></div>`, Q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${ae}</div>`);
186
- }
187
- const G = h(() => a.value.top + te.value * (1 - C.value / w.value)), U = h(() => a.value.left + (x.value.width - a.value.left - e.value.style.layout.padding.right) * (C.value / w.value));
188
- h(() => {
189
- const t = v.dataset.map((o) => ({
190
- name: o.name
191
- })), l = v.dataset.map((o) => o.values);
192
- return { head: t, body: l };
193
- });
194
- function ke() {
195
- He(() => {
196
- const t = ["", ...v.dataset.map((y, g) => y.name)], l = [];
197
- for (let y = 0; y < $.value.xLabels.length; y += 1) {
198
- const g = [$.value.xLabels[y]];
199
- for (let L = 0; L < v.dataset.length; L += 1)
200
- g.push([v.dataset[L].values[y]]);
201
- l.push(g);
202
- }
203
- const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(l), r = Ke(o);
204
- Je({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
205
- });
206
- }
207
- const F = p(!1);
208
- function Pe(t) {
209
- F.value = t, ve.value += 1;
210
- }
211
- function _e() {
212
- m.value.showTable = !m.value.showTable;
213
- }
214
- function $e() {
215
- m.value.showTooltip = !m.value.showTooltip;
216
- }
217
- const Y = p(!1);
218
- function le() {
219
- Y.value = !Y.value;
220
- }
221
- return Te({
222
- generatePdf: xe,
223
- generateCsv: ke,
224
- generateImage: we,
225
- toggleTable: _e,
226
- toggleTooltip: $e,
227
- toggleAnnotator: le
228
- }), (t, l) => (s(), n("div", {
229
- ref_key: "heatmapChart",
230
- ref: K,
231
- class: q(`vue-ui-heatmap ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
232
- style: k(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
233
- id: `heatmap__${R.value}`,
234
- onMouseenter: l[3] || (l[3] = () => u(he)(!0)),
235
- onMouseleave: l[4] || (l[4] = () => u(he)(!1))
236
- }, [
237
- e.value.userOptions.buttons.annotator ? (s(), H(it, {
238
- key: 0,
239
- svgRef: u(ge),
240
- backgroundColor: e.value.style.backgroundColor,
241
- color: e.value.style.color,
242
- active: Y.value,
243
- onClose: le
244
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
245
- Se.value ? (s(), n("div", {
246
- key: 1,
247
- ref_key: "noTitle",
248
- ref: Me,
249
- class: "vue-data-ui-no-title-space",
250
- style: "height:36px; width: 100%;background:transparent"
251
- }, null, 512)) : c("", !0),
252
- e.value.style.title.text ? (s(), n("div", ct, [
253
- (s(), H(et, {
254
- key: `title_${ce.value}`,
255
- config: {
256
- title: {
257
- cy: "heatmap-div-title",
258
- ...e.value.style.title
259
- },
260
- subtitle: {
261
- cy: "heatmap-div-subtitle",
262
- ...e.value.style.title.subtitle
263
- }
264
- }
265
- }, null, 8, ["config"]))
266
- ])) : c("", !0),
267
- e.value.userOptions.show && D.value && (u(pe) || u(Z)) ? (s(), H(lt, {
268
- ref_key: "details",
269
- ref: Oe,
270
- key: `user_options_${ve.value}`,
271
- backgroundColor: e.value.style.backgroundColor,
272
- color: e.value.style.color,
273
- isImaging: u(me),
274
- isPrinting: u(be),
275
- uid: R.value,
276
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
277
- hasPdf: e.value.userOptions.buttons.pdf,
278
- hasImg: e.value.userOptions.buttons.img,
279
- hasXls: e.value.userOptions.buttons.csv,
280
- hasTable: e.value.userOptions.buttons.table,
281
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
282
- isFullscreen: F.value,
283
- isTooltip: m.value.showTooltip,
284
- titles: { ...e.value.userOptions.buttonTitles },
285
- chartElement: K.value,
286
- position: e.value.userOptions.position,
287
- hasAnnotator: e.value.userOptions.buttons.annotator,
288
- isAnnotation: Y.value,
289
- onToggleFullscreen: Pe,
290
- onGeneratePdf: u(xe),
291
- onGenerateCsv: ke,
292
- onGenerateImage: u(we),
293
- onToggleTable: _e,
294
- onToggleTooltip: $e,
295
- onToggleAnnotator: le,
296
- style: k({
297
- visibility: u(pe) ? u(Z) ? "visible" : "hidden" : "visible"
298
- })
299
- }, Ee({ _: 2 }, [
300
- t.$slots.menuIcon ? {
301
- name: "menuIcon",
302
- fn: _(({ isOpen: o, color: r }) => [
303
- f(t.$slots, "menuIcon", V(P({ isOpen: o, color: r })), void 0, !0)
304
- ]),
305
- key: "0"
306
- } : void 0,
307
- t.$slots.optionTooltip ? {
308
- name: "optionTooltip",
309
- fn: _(() => [
310
- f(t.$slots, "optionTooltip", {}, void 0, !0)
311
- ]),
312
- key: "1"
313
- } : void 0,
314
- t.$slots.optionPdf ? {
315
- name: "optionPdf",
316
- fn: _(() => [
317
- f(t.$slots, "optionPdf", {}, void 0, !0)
318
- ]),
319
- key: "2"
320
- } : void 0,
321
- t.$slots.optionCsv ? {
322
- name: "optionCsv",
323
- fn: _(() => [
324
- f(t.$slots, "optionCsv", {}, void 0, !0)
325
- ]),
326
- key: "3"
327
- } : void 0,
328
- t.$slots.optionImg ? {
329
- name: "optionImg",
330
- fn: _(() => [
331
- f(t.$slots, "optionImg", {}, void 0, !0)
332
- ]),
333
- key: "4"
334
- } : void 0,
335
- t.$slots.optionTable ? {
336
- name: "optionTable",
337
- fn: _(() => [
338
- f(t.$slots, "optionTable", {}, void 0, !0)
339
- ]),
340
- key: "5"
341
- } : void 0,
342
- t.$slots.optionFullscreen ? {
343
- name: "optionFullscreen",
344
- fn: _(({ toggleFullscreen: o, isFullscreen: r }) => [
345
- f(t.$slots, "optionFullscreen", V(P({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
346
- ]),
347
- key: "6"
348
- } : void 0,
349
- t.$slots.optionAnnotator ? {
350
- name: "optionAnnotator",
351
- fn: _(({ toggleAnnotator: o, isAnnotator: r }) => [
352
- f(t.$slots, "optionAnnotator", V(P({ toggleAnnotator: o, isAnnotator: r })), void 0, !0)
353
- ]),
354
- key: "7"
355
- } : void 0
356
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
357
- D.value ? (s(), n("svg", {
358
- key: 4,
359
- ref_key: "svgRef",
360
- ref: ge,
361
- xmlns: u(qe),
362
- class: q({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
363
- viewBox: `0 0 ${x.value.width} ${x.value.heightWithLegend}`,
364
- style: k(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
365
- }, [
366
- se(nt),
367
- t.$slots["chart-background"] ? (s(), n("foreignObject", {
368
- key: 0,
369
- x: 0,
370
- y: 0,
371
- width: x.value.width,
372
- height: x.value.heightWithLegend,
373
- style: {
374
- pointerEvents: "none"
375
- }
376
- }, [
377
- f(t.$slots, "chart-background", {}, void 0, !0)
378
- ], 8, pt)) : c("", !0),
379
- (s(!0), n(A, null, M(W.value, (o, r) => (s(), n("g", null, [
380
- (s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
381
- i("rect", {
382
- x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
383
- y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
384
- width: d.value.width - e.value.style.layout.cells.spacing,
385
- height: d.value.height - e.value.style.layout.cells.spacing,
386
- fill: e.value.style.layout.cells.colors.underlayer,
387
- stroke: e.value.style.backgroundColor,
388
- "stroke-width": e.value.style.layout.cells.spacing
389
- }, null, 8, gt),
390
- i("rect", {
391
- x: a.value.left + d.value.width * g + e.value.style.layout.cells.spacing / 2,
392
- y: a.value.top + d.value.height * r + e.value.style.layout.cells.spacing / 2,
393
- width: d.value.width - e.value.style.layout.cells.spacing,
394
- height: d.value.height - e.value.style.layout.cells.spacing,
395
- fill: y.color,
396
- stroke: e.value.style.backgroundColor,
397
- "stroke-width": e.value.style.layout.cells.spacing
398
- }, null, 8, ft),
399
- e.value.style.layout.cells.value.show ? (s(), n("text", {
400
- key: 0,
401
- "text-anchor": "middle",
402
- "font-size": e.value.style.layout.cells.value.fontSize,
403
- "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
404
- fill: u(ie)(y.color),
405
- x: a.value.left + d.value.width * g + d.value.width / 2,
406
- y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
407
- }, b(u(I)(
408
- e.value.style.layout.cells.value.formatter,
409
- y.value,
410
- u(S)({
411
- p: e.value.style.layout.dataLabels.prefix,
412
- v: y.value,
413
- s: e.value.style.layout.dataLabels.suffix,
414
- r: e.value.style.layout.cells.value.roundingValue
415
- }),
416
- { datapoint: y }
417
- )), 9, bt)) : c("", !0)
418
- ]))), 256)),
419
- (s(!0), n(A, null, M(o.temperatures, (y, g) => (s(), n("g", null, [
420
- i("rect", {
421
- x: a.value.left + d.value.width * g,
422
- y: a.value.top + d.value.height * r,
423
- width: d.value.width,
424
- height: d.value.height,
425
- fill: "transparent",
426
- stroke: "none",
427
- onMouseover: (L) => Ve(y, r, a.value.left + d.value.width * g, a.value.top + d.value.height * r),
428
- onMouseout: l[0] || (l[0] = (L) => {
429
- J.value = !1, re.value = void 0, C.value = null, B.value = null;
430
- })
431
- }, null, 40, mt)
432
- ]))), 256)),
433
- e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", xt, [
434
- i("text", {
435
- "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
436
- fill: e.value.style.layout.dataLabels.yAxis.color,
437
- x: a.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
438
- y: a.value.top + d.value.height * r + d.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
439
- "text-anchor": "end",
440
- "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
441
- }, b($.value.yLabels[r]), 9, wt)
442
- ])) : c("", !0)
443
- ]))), 256)),
444
- e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", kt, [
445
- (s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n(A, null, [
446
- !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && r % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (s(), n("text", {
447
- key: 0,
448
- "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
449
- "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
450
- fill: e.value.style.layout.dataLabels.xAxis.color,
451
- "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
452
- transform: `translate(${a.value.left + d.value.width / 2 + a.value.width / $.value.xLabels.length * r + e.value.style.layout.dataLabels.xAxis.offsetX}, ${a.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
453
- }, b(o), 9, _t)) : c("", !0)
454
- ], 64))), 256))
455
- ])) : c("", !0),
456
- B.value ? (s(), n("g", $t, [
457
- i("rect", {
458
- style: { "pointer-events": "none" },
459
- x: B.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
460
- y: B.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
461
- width: d.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
462
- height: d.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
463
- fill: "transparent",
464
- stroke: e.value.style.layout.cells.selected.color,
465
- "stroke-width": e.value.style.layout.cells.selected.border,
466
- rx: 1
467
- }, null, 8, Ct)
468
- ])) : c("", !0),
469
- e.value.style.legend.show && j.value === "right" ? (s(), n("g", Lt, [
470
- i("defs", null, [
471
- i("linearGradient", {
472
- id: `colorScaleVertical_${R.value}`,
473
- x2: "0%",
474
- y2: "100%"
475
- }, [
476
- i("stop", {
477
- offset: "0%",
478
- "stop-color": e.value.style.layout.cells.colors.hot
479
- }, null, 8, Tt),
480
- i("stop", {
481
- offset: "100%",
482
- "stop-color": e.value.style.layout.cells.colors.cold
483
- }, null, 8, zt)
484
- ], 8, At)
485
- ]),
486
- i("text", {
487
- x: a.value.right + 36 + 18,
488
- y: a.value.top - e.value.style.legend.fontSize * 1.5,
489
- "text-anchor": "middle",
490
- "font-size": e.value.style.legend.fontSize * 2,
491
- fill: e.value.style.legend.color
492
- }, b(u(I)(
493
- e.value.style.layout.cells.value.formatter,
494
- u(T)(w.value),
495
- u(S)({
496
- p: e.value.style.layout.dataLabels.prefix,
497
- v: u(T)(w.value),
498
- s: e.value.style.layout.dataLabels.suffix,
499
- r: e.value.style.legend.roundingValue
500
- })
501
- )), 9, Ot),
502
- i("rect", {
503
- x: a.value.right + 36,
504
- y: a.value.top,
505
- width: 36,
506
- height: te.value,
507
- rx: e.value.style.legend.scaleBorderRadius,
508
- fill: `url(#colorScaleVertical_${R.value})`
509
- }, null, 8, Mt),
510
- i("text", {
511
- x: a.value.right + 36 + 18,
512
- y: a.value.top + te.value + e.value.style.legend.fontSize * 2.5,
513
- "text-anchor": "middle",
514
- "font-size": e.value.style.legend.fontSize * 2,
515
- fill: e.value.style.legend.color
516
- }, b(u(I)(
517
- e.value.style.layout.cells.value.formatter,
518
- u(T)(z.value),
519
- u(S)({
520
- p: e.value.style.layout.dataLabels.prefix,
521
- v: u(T)(z.value),
522
- s: e.value.style.layout.dataLabels.suffix,
523
- r: e.value.style.legend.roundingValue
524
- })
525
- )), 9, St),
526
- C.value !== null ? (s(), n("line", {
527
- key: 0,
528
- stroke: u(ie)(E.value.datapoint.color),
529
- "stroke-width": "2",
530
- x1: a.value.right + 36,
531
- x2: a.value.right + 72,
532
- y1: G.value,
533
- y2: G.value
534
- }, null, 8, Nt)) : c("", !0),
535
- C.value !== null ? (s(), n("path", {
536
- key: 1,
537
- fill: e.value.style.color,
538
- stroke: "none",
539
- d: `M ${a.value.right + 36},${G.value} ${a.value.right + 26},${G.value - 8} ${a.value.right + 26},${G.value + 8}z`
540
- }, null, 8, Ft)) : c("", !0)
541
- ])) : c("", !0),
542
- e.value.style.legend.show && j.value === "bottom" ? (s(), n("g", Vt, [
543
- i("defs", null, [
544
- i("linearGradient", Pt, [
545
- i("stop", {
546
- offset: "0%",
547
- "stop-color": e.value.style.layout.cells.colors.cold
548
- }, null, 8, It),
549
- i("stop", {
550
- offset: "100%",
551
- "stop-color": e.value.style.layout.cells.colors.hot
552
- }, null, 8, Rt)
553
- ])
554
- ]),
555
- i("rect", {
556
- x: a.value.left,
557
- y: a.value.bottom + e.value.style.layout.cells.height,
558
- width: x.value.width - a.value.left - e.value.style.layout.padding.right,
559
- height: e.value.style.layout.cells.height,
560
- 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,
561
- fill: "url(#colorScaleHorizontal)"
562
- }, null, 8, Bt),
563
- i("text", {
564
- x: a.value.left,
565
- y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
566
- "text-anchor": "start",
567
- "font-size": e.value.style.legend.fontSize * 2,
568
- fill: e.value.style.legend.color
569
- }, b(u(I)(
570
- e.value.style.layout.cells.value.formatter,
571
- u(T)(z.value),
572
- u(S)({
573
- p: e.value.style.layout.dataLabels.prefix,
574
- v: u(T)(z.value),
575
- s: e.value.style.layout.dataLabels.suffix,
576
- r: e.value.style.legend.roundingValue
577
- })
578
- )), 9, Et),
579
- i("text", {
580
- x: a.value.right,
581
- y: a.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
582
- "text-anchor": "end",
583
- "font-size": e.value.style.legend.fontSize * 2,
584
- fill: e.value.style.legend.color
585
- }, b(u(I)(
586
- e.value.style.layout.cells.value.formatter,
587
- u(T)(w.value),
588
- u(S)({
589
- p: e.value.style.layout.dataLabels.prefix,
590
- v: u(T)(w.value),
591
- s: e.value.style.layout.dataLabels.suffix,
592
- r: e.value.style.legend.roundingValue
593
- })
594
- )), 9, Gt),
595
- C.value !== null ? (s(), n("line", {
596
- key: 0,
597
- stroke: u(ie)(E.value.datapoint.color),
598
- "stroke-width": "2",
599
- x1: U.value,
600
- x2: U.value,
601
- y1: a.value.bottom + e.value.style.layout.cells.height,
602
- y2: a.value.bottom + e.value.style.layout.cells.height * 2
603
- }, null, 8, Ut)) : c("", !0),
604
- C.value !== null ? (s(), n("path", {
605
- key: 1,
606
- fill: e.value.style.color,
607
- stroke: "none",
608
- d: `M ${U.value},${a.value.bottom + e.value.style.layout.cells.height} ${U.value - 12},${a.value.bottom + e.value.style.layout.cells.height - 20} ${U.value + 12},${a.value.bottom + e.value.style.layout.cells.height - 20}z`
609
- }, null, 8, Ht)) : c("", !0)
610
- ])) : c("", !0),
611
- f(t.$slots, "svg", { svg: x.value }, void 0, !0)
612
- ], 14, ht)) : c("", !0),
613
- t.$slots.watermark ? (s(), n("div", Xt, [
614
- f(t.$slots, "watermark", V(P({ isPrinting: u(be) || u(me) })), void 0, !0)
615
- ])) : c("", !0),
616
- t.$slots.source ? (s(), n("div", Dt, [
617
- f(t.$slots, "source", {}, void 0, !0)
618
- ], 512)) : c("", !0),
619
- D.value ? c("", !0) : (s(), H(ot, {
620
- key: 7,
621
- config: {
622
- type: "heatmap",
623
- style: {
624
- backgroundColor: e.value.style.backgroundColor,
625
- heatmap: {
626
- color: "#CCCCCC"
627
- }
628
- }
629
- }
630
- }, null, 8, ["config"])),
631
- se(at, {
632
- show: m.value.showTooltip && J.value,
633
- backgroundColor: e.value.style.tooltip.backgroundColor,
634
- color: e.value.style.tooltip.color,
635
- borderRadius: e.value.style.tooltip.borderRadius,
636
- borderColor: e.value.style.tooltip.borderColor,
637
- borderWidth: e.value.style.tooltip.borderWidth,
638
- fontSize: e.value.style.tooltip.fontSize,
639
- backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
640
- position: e.value.style.tooltip.position,
641
- offsetY: e.value.style.tooltip.offsetY,
642
- parent: K.value,
643
- content: Q.value,
644
- isFullscreen: F.value,
645
- isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
646
- }, {
647
- "tooltip-before": _(() => [
648
- f(t.$slots, "tooltip-before", V(P({ ...E.value })), void 0, !0)
649
- ]),
650
- "tooltip-after": _(() => [
651
- f(t.$slots, "tooltip-after", V(P({ ...E.value })), void 0, !0)
652
- ]),
653
- _: 3
654
- }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
655
- D.value ? (s(), H(ut, {
656
- key: 8,
657
- hideDetails: "",
658
- config: {
659
- open: m.value.showTable,
660
- maxHeight: 1e4,
661
- body: {
662
- backgroundColor: e.value.style.backgroundColor,
663
- color: e.value.style.color
664
- },
665
- head: {
666
- backgroundColor: e.value.style.backgroundColor,
667
- color: e.value.style.color
668
- }
669
- }
670
- }, {
671
- content: _(() => [
672
- i("div", {
673
- ref_key: "tableContainer",
674
- ref: de,
675
- class: "vue-ui-heatmap-table atom-data-table"
676
- }, [
677
- i("div", {
678
- style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
679
- class: q({ "vue-ui-responsive": ye.value })
680
- }, [
681
- i("div", {
682
- role: "button",
683
- tabindex: "0",
684
- style: k(`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};`),
685
- onClick: l[1] || (l[1] = (o) => m.value.showTable = !1),
686
- onKeypress: l[2] || (l[2] = Ge((o) => m.value.showTable = !1, ["enter"]))
687
- }, [
688
- se(st, {
689
- name: "close",
690
- stroke: e.value.table.th.color,
691
- "stroke-width": 2
692
- }, null, 8, ["stroke"])
693
- ], 36),
694
- i("table", jt, [
695
- i("caption", {
696
- style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
697
- }, [
698
- Ue(b(e.value.style.title.text) + " ", 1),
699
- e.value.style.title.subtitle.text ? (s(), n("span", Wt, b(e.value.style.title.subtitle.text), 1)) : c("", !0)
700
- ], 4),
701
- i("thead", null, [
702
- i("tr", {
703
- role: "row",
704
- style: k(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
705
- }, [
706
- i("th", {
707
- style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
708
- }, null, 4),
709
- (s(!0), n(A, null, M(X.dataset, (o, r) => (s(), n("th", {
710
- align: "right",
711
- style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
712
- }, b(o.name), 5))), 256))
713
- ], 4)
714
- ]),
715
- i("tbody", null, [
716
- (s(!0), n(A, null, M($.value.xLabels, (o, r) => (s(), n("tr", {
717
- role: "row",
718
- class: q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": r % 2 === 0, "vue-ui-data-table__tbody__row-odd": r % 2 !== 0 }),
719
- style: k(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
720
- }, [
721
- i("td", {
722
- "data-cell": e.value.table.colNames.xAxis,
723
- class: "vue-ui-data-table__tbody__td",
724
- style: k(`outline:${e.value.table.td.outline}`)
725
- }, [
726
- i("div", qt, b(o), 1)
727
- ], 12, Yt),
728
- (s(!0), n(A, null, M(X.dataset, (y, g) => (s(), n("td", {
729
- class: "vue-ui-data-table__tbody__td",
730
- "data-cell": X.dataset[g].name,
731
- style: k(`outline:${e.value.table.td.outline}`)
732
- }, [
733
- i("div", Jt, b(isNaN(y.values[r]) ? "-" : u(S)({ p: e.value.style.layout.dataLabels.prefix, v: y.values[r], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
734
- ], 12, Kt))), 256))
735
- ], 6))), 256))
736
- ])
737
- ])
738
- ], 2)
739
- ], 512)
740
- ]),
741
- _: 1
742
- }, 8, ["config"])) : c("", !0)
743
- ], 46, yt));
744
- }
745
- }, cl = /* @__PURE__ */ dt(Qt, [["__scopeId", "data-v-83ad9004"]]);
746
- export {
747
- cl as default
748
- };