vue-data-ui 2.3.28 → 2.3.29

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 (180) hide show
  1. package/README.md +15 -0
  2. package/dist/{Arrow-C6lQ94rK.cjs → Arrow-B8z06v67.cjs} +1 -1
  3. package/dist/{Arrow-BPoxM_Tq.js → Arrow-Bh7WeO_g.js} +1 -1
  4. package/dist/{BaseIcon-Op8_v5x7.js → BaseIcon-BG_bJS3R.js} +1 -1
  5. package/dist/{BaseIcon-BK5xYOzV.cjs → BaseIcon-DDCJA3rm.cjs} +1 -1
  6. package/dist/{DataTable-bEXuvNn5.js → DataTable-CsPidn0_.js} +23 -20
  7. package/dist/DataTable-Doh_4M84.cjs +1 -0
  8. package/dist/{Legend-BNfS77GS.cjs → Legend-B20rRwGi.cjs} +1 -1
  9. package/dist/{Legend-DwludSgp.js → Legend-CkQ_zypV.js} +1 -1
  10. package/dist/{Shape-COYAxpcP.js → Shape-B4gGeBLI.js} +1 -1
  11. package/dist/{Shape-CcWWIf-s.cjs → Shape-B8O8_E6l.cjs} +1 -1
  12. package/dist/{Slicer-DGkm-5p-.cjs → Slicer-BXveU40S.cjs} +1 -1
  13. package/dist/{Slicer-Cv-2s_-r.js → Slicer-DaEfxscP.js} +1 -1
  14. package/dist/{Title-DQz9dO4d.cjs → Title-BU6E8Xld.cjs} +1 -1
  15. package/dist/{Title-CtWGLaoz.js → Title-eBTH8iGJ.js} +1 -1
  16. package/dist/{Tooltip-D6BUVHr1.js → Tooltip-B11OahTD.js} +1 -1
  17. package/dist/{Tooltip-DQgBkgFk.cjs → Tooltip-Oicp_EIo.cjs} +1 -1
  18. package/dist/{index-BhCM2QF1.js → index-BlXzlBwZ.js} +443 -364
  19. package/dist/index-hKWfT7Wa.cjs +4 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +65 -0
  22. package/dist/types/vue-data-ui.d.ts +65 -0
  23. package/dist/{useNestedProp-CH3PVhvc.js → useNestedProp-BoNl5H_z.js} +1 -1
  24. package/dist/{useNestedProp-C2H2jmU6.cjs → useNestedProp-Cggpoz7e.cjs} +1 -1
  25. package/dist/{usePrinter-B75HLwzw.js → usePrinter-CZ8F5Cth.js} +1 -1
  26. package/dist/{usePrinter-DTF28E03.cjs → usePrinter-DoYKBzst.cjs} +1 -1
  27. package/dist/{vue-data-ui-DdhV5Pth.js → vue-data-ui-BOqzG_nZ.js} +57 -57
  28. package/dist/{vue-data-ui-cqeqQWwY.cjs → vue-data-ui-CGgiWEo3.cjs} +1 -1
  29. package/dist/vue-data-ui.cjs +1 -1
  30. package/dist/vue-data-ui.js +6 -6
  31. package/dist/{vue-ui-3d-bar-gi0fEJUl.js → vue-ui-3d-bar-CjnVg4YI.js} +342 -294
  32. package/dist/vue-ui-3d-bar-CpntMt7p.cjs +19 -0
  33. package/dist/{vue-ui-accordion-CVrj6roI.cjs → vue-ui-accordion-CTYvdLLH.cjs} +1 -1
  34. package/dist/{vue-ui-accordion-CSZdj7wA.js → vue-ui-accordion-wHRG3nXl.js} +3 -3
  35. package/dist/vue-ui-age-pyramid-DDiL1Zje.cjs +1 -0
  36. package/dist/{vue-ui-age-pyramid-CFSWDX3d.js → vue-ui-age-pyramid-vmCwgRy9.js} +258 -219
  37. package/dist/{vue-ui-annotator-DqZU11ky.js → vue-ui-annotator-9FGJdNLY.js} +1 -1
  38. package/dist/{vue-ui-annotator-u5YbenPl.cjs → vue-ui-annotator-DQ3wKf9n.cjs} +1 -1
  39. package/dist/{vue-ui-candlestick-C3xswSm3.cjs → vue-ui-candlestick-6joQ9JKQ.cjs} +1 -1
  40. package/dist/{vue-ui-candlestick-Dph2PhZC.js → vue-ui-candlestick-DpMr2r0i.js} +9 -9
  41. package/dist/{vue-ui-carousel-table-0S6lSZnt.cjs → vue-ui-carousel-table-BV0EOLqU.cjs} +1 -1
  42. package/dist/{vue-ui-carousel-table-eY08SE2G.js → vue-ui-carousel-table-CgR4ADOz.js} +4 -4
  43. package/dist/{vue-ui-chestnut-BikYCrjQ.js → vue-ui-chestnut-Ca2878kV.js} +439 -347
  44. package/dist/vue-ui-chestnut-CxoCcw_B.cjs +6 -0
  45. package/dist/{vue-ui-cursor-OFgeAFSo.js → vue-ui-cursor-BW8C6oUc.js} +2 -2
  46. package/dist/{vue-ui-cursor-DUA57VkZ.cjs → vue-ui-cursor-DxF_gXQf.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-BTG0m9YL.cjs → vue-ui-dashboard-BGrVyITN.cjs} +1 -1
  48. package/dist/{vue-ui-dashboard-DA4M1Z0-.js → vue-ui-dashboard-DN4nErBZ.js} +2 -2
  49. package/dist/{vue-ui-digits-55Zmunkv.js → vue-ui-digits-CmSFSs5S.js} +2 -2
  50. package/dist/{vue-ui-digits-COxRiMVI.cjs → vue-ui-digits-CpSKBG2c.cjs} +1 -1
  51. package/dist/vue-ui-donut-BqfRwAIM.js +857 -0
  52. package/dist/vue-ui-donut-C29yXH3H.cjs +1 -0
  53. package/dist/vue-ui-donut-evolution-COFG73Xl.cjs +1 -0
  54. package/dist/vue-ui-donut-evolution-DIR7yBUC.js +839 -0
  55. package/dist/{vue-ui-dumbbell-BSFT-Bce.cjs → vue-ui-dumbbell-1NA60u3h.cjs} +2 -2
  56. package/dist/{vue-ui-dumbbell-BtEXt5Ox.js → vue-ui-dumbbell-BASuPAvI.js} +202 -187
  57. package/dist/{vue-ui-flow-BPEGOFRZ.cjs → vue-ui-flow-DBK7d0DQ.cjs} +1 -1
  58. package/dist/{vue-ui-flow-BBoXBTkC.js → vue-ui-flow-wq0aqc5r.js} +98 -93
  59. package/dist/vue-ui-galaxy-BgdVvk4N.cjs +1 -0
  60. package/dist/{vue-ui-galaxy-ZFEufIyy.js → vue-ui-galaxy-CFQ2hQAl.js} +180 -144
  61. package/dist/{vue-ui-gauge-CfZ9XJW_.cjs → vue-ui-gauge-C4_kEbgg.cjs} +1 -1
  62. package/dist/{vue-ui-gauge-BqZp_V5m.js → vue-ui-gauge-CIN265dN.js} +158 -149
  63. package/dist/vue-ui-gizmo-BpT3iwC9.cjs +1 -0
  64. package/dist/{vue-ui-gizmo-DitbWAJp.js → vue-ui-gizmo-DRXWEpqU.js} +63 -49
  65. package/dist/vue-ui-heatmap-CVD7FVfk.cjs +1 -0
  66. package/dist/vue-ui-heatmap-Dc0ft_Ga.js +644 -0
  67. package/dist/{vue-ui-kpi-BWuzEkyY.js → vue-ui-kpi-DDL1TvBP.js} +19 -10
  68. package/dist/{vue-ui-kpi-B2Bo26hh.cjs → vue-ui-kpi-WDZIt76s.cjs} +1 -1
  69. package/dist/{vue-ui-mini-loader-BwAWiK3k.js → vue-ui-mini-loader-B2C5U55l.js} +2 -2
  70. package/dist/{vue-ui-mini-loader-C_Nb-qVd.cjs → vue-ui-mini-loader-BcGSpUfg.cjs} +1 -1
  71. package/dist/{vue-ui-molecule-CSbXNrvu.cjs → vue-ui-molecule-C5BmRi2R.cjs} +1 -1
  72. package/dist/{vue-ui-molecule-BD2UW2lJ.js → vue-ui-molecule-CD3cPNOq.js} +9 -9
  73. package/dist/{vue-ui-mood-radar-CbMab8pJ.js → vue-ui-mood-radar-D0KbeV5j.js} +213 -187
  74. package/dist/vue-ui-mood-radar-afS64zg-.cjs +1 -0
  75. package/dist/{vue-ui-nested-donuts-SDaiotgC.js → vue-ui-nested-donuts-BGoc1RFX.js} +295 -228
  76. package/dist/vue-ui-nested-donuts-D-TeyOtL.cjs +17 -0
  77. package/dist/{vue-ui-onion-BamHJBdP.js → vue-ui-onion-B_khL0Kv.js} +230 -196
  78. package/dist/vue-ui-onion-CFdbWLu3.cjs +1 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-BaAa3t1h.cjs → vue-ui-parallel-coordinate-plot-BmXvVt8r.cjs} +2 -2
  80. package/dist/{vue-ui-parallel-coordinate-plot-1R4CyBdQ.js → vue-ui-parallel-coordinate-plot-CP4V0K8m.js} +87 -87
  81. package/dist/{vue-ui-quadrant-CKCLhAS7.js → vue-ui-quadrant-C1YbjeI7.js} +455 -397
  82. package/dist/vue-ui-quadrant-C6-A8Gx_.cjs +1 -0
  83. package/dist/vue-ui-quick-chart-ConXdEsU.cjs +15 -0
  84. package/dist/vue-ui-quick-chart-CtWhs_2c.js +1374 -0
  85. package/dist/{vue-ui-radar-BY-y8Mal.js → vue-ui-radar-B2vAPYa7.js} +237 -214
  86. package/dist/vue-ui-radar-DMJLLVWb.cjs +1 -0
  87. package/dist/{vue-ui-rating-DGEgzOaB.cjs → vue-ui-rating-DhZ0tltR.cjs} +1 -1
  88. package/dist/{vue-ui-rating-Bq1SsByA.js → vue-ui-rating-xGz4av68.js} +9 -9
  89. package/dist/{vue-ui-relation-circle-BPzLP6U6.js → vue-ui-relation-circle-BQK8wMQE.js} +5 -5
  90. package/dist/{vue-ui-relation-circle-pdZ79G9r.cjs → vue-ui-relation-circle-hb4Q051h.cjs} +1 -1
  91. package/dist/vue-ui-rings-D1EW3d4M.cjs +2 -0
  92. package/dist/{vue-ui-rings-C5ce6pEf.js → vue-ui-rings-ZKjhNx5K.js} +191 -162
  93. package/dist/{vue-ui-scatter-CMetujXJ.js → vue-ui-scatter-CHONk8k0.js} +437 -381
  94. package/dist/vue-ui-scatter-CMRe2b2K.cjs +1 -0
  95. package/dist/{vue-ui-screenshot-BqzljUT3.cjs → vue-ui-screenshot-DcKhT745.cjs} +1 -1
  96. package/dist/{vue-ui-screenshot--2aeIH_x.js → vue-ui-screenshot-DmGe5ptH.js} +6 -6
  97. package/dist/{vue-ui-skeleton-_VMQ594N.js → vue-ui-skeleton-CJ2R5R6u.js} +37 -37
  98. package/dist/{vue-ui-skeleton-B5Z4craS.cjs → vue-ui-skeleton-j-IOiy5w.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-CL-bubXk.cjs → vue-ui-smiley-D5Jn6d5f.cjs} +1 -1
  100. package/dist/{vue-ui-smiley-Cty3e_yE.js → vue-ui-smiley-DXVcosKR.js} +2 -2
  101. package/dist/{vue-ui-spark-trend-DT1fMqf_.cjs → vue-ui-spark-trend-CWH3W7h3.cjs} +1 -1
  102. package/dist/{vue-ui-spark-trend-pgdWTEqG.js → vue-ui-spark-trend-Gg6TxR4m.js} +63 -58
  103. package/dist/vue-ui-sparkbar-BsoKTXr2.cjs +1 -0
  104. package/dist/vue-ui-sparkbar-DUx1qVzQ.js +280 -0
  105. package/dist/{vue-ui-sparkgauge-DdzlyDsm.cjs → vue-ui-sparkgauge-DPusPoRv.cjs} +1 -1
  106. package/dist/{vue-ui-sparkgauge-Dx2gFX6H.js → vue-ui-sparkgauge-xrvp9g87.js} +60 -50
  107. package/dist/vue-ui-sparkhistogram---JRg2R1.cjs +1 -0
  108. package/dist/{vue-ui-sparkhistogram-Bg_fJsT5.js → vue-ui-sparkhistogram-DzYXMNj8.js} +99 -90
  109. package/dist/{vue-ui-sparkline-WMI-RgkW.cjs → vue-ui-sparkline-1Z6GnwoN.cjs} +1 -1
  110. package/dist/{vue-ui-sparkline-BWl_B6LX.js → vue-ui-sparkline-CGWePkVI.js} +114 -105
  111. package/dist/{vue-ui-sparkstackbar-Skcshn6g.cjs → vue-ui-sparkstackbar-DCc68t8g.cjs} +1 -1
  112. package/dist/{vue-ui-sparkstackbar-MMGRG9eS.js → vue-ui-sparkstackbar-DFgeRAbQ.js} +52 -47
  113. package/dist/{vue-ui-stackbar-NZFO3R77.js → vue-ui-stackbar-B0dWToaf.js} +211 -196
  114. package/dist/vue-ui-stackbar-Cz0mT8Mo.cjs +15 -0
  115. package/dist/{vue-ui-strip-plot-CJmCgC_a.js → vue-ui-strip-plot-BFqd-S7c.js} +213 -198
  116. package/dist/vue-ui-strip-plot-DZt1Wq20.cjs +1 -0
  117. package/dist/{vue-ui-table-jJ3daLHe.cjs → vue-ui-table-CMvyMuc4.cjs} +1 -1
  118. package/dist/{vue-ui-table-B-vHHlRw.js → vue-ui-table-DtwEoIzI.js} +9 -9
  119. package/dist/{vue-ui-table-heatmap-YCyFyq8J.cjs → vue-ui-table-heatmap-3RSMOHkc.cjs} +1 -1
  120. package/dist/{vue-ui-table-heatmap-BfzDb2H7.js → vue-ui-table-heatmap-C8b3pE04.js} +12 -12
  121. package/dist/vue-ui-table-sparkline-BKOaVFtt.cjs +1 -0
  122. package/dist/vue-ui-table-sparkline-BrqhBv29.js +467 -0
  123. package/dist/vue-ui-thermometer-CKgIqM5y.cjs +1 -0
  124. package/dist/{vue-ui-thermometer-CdtG1AoI.js → vue-ui-thermometer-DMkLvJgE.js} +118 -108
  125. package/dist/{vue-ui-timer-Cb95XSdn.cjs → vue-ui-timer-D7fvoR77.cjs} +1 -1
  126. package/dist/{vue-ui-timer-DBqMb9iX.js → vue-ui-timer-RA9yfgBk.js} +8 -8
  127. package/dist/{vue-ui-tiremarks-CHKETcHr.js → vue-ui-tiremarks-B_EncUi6.js} +79 -71
  128. package/dist/{vue-ui-tiremarks-BqXfvQ4t.cjs → vue-ui-tiremarks-C7y6Mbxe.cjs} +1 -1
  129. package/dist/{vue-ui-treemap-DxKunHfW.js → vue-ui-treemap-BuGZgQsr.js} +274 -236
  130. package/dist/vue-ui-treemap-CfngjVUS.cjs +1 -0
  131. package/dist/vue-ui-vertical-bar-DKbq4bX4.cjs +4 -0
  132. package/dist/vue-ui-vertical-bar-T4bFd3JF.js +792 -0
  133. package/dist/vue-ui-waffle-BJFbhWnA.cjs +1 -0
  134. package/dist/vue-ui-waffle-CrxmrYsV.js +735 -0
  135. package/dist/{vue-ui-wheel-kMVi976p.cjs → vue-ui-wheel-BDRvKR1Z.cjs} +1 -1
  136. package/dist/{vue-ui-wheel-4HKXl04I.js → vue-ui-wheel-DOyC7NgR.js} +73 -65
  137. package/dist/{vue-ui-word-cloud-CrC3iKGd.js → vue-ui-word-cloud-DBxVNlJ3.js} +7 -7
  138. package/dist/{vue-ui-word-cloud-WgbYJhMF.cjs → vue-ui-word-cloud-Dmcelg3z.cjs} +1 -1
  139. package/dist/{vue-ui-xy-BN_H7q0X.js → vue-ui-xy-BIbvJSh2.js} +367 -288
  140. package/dist/vue-ui-xy-CVKaR90p.cjs +3 -0
  141. package/dist/vue-ui-xy-canvas-2AaNivzI.cjs +9 -0
  142. package/dist/{vue-ui-xy-canvas-DAY9Ylzs.js → vue-ui-xy-canvas-CXVni3kC.js} +284 -259
  143. package/package.json +1 -1
  144. package/dist/DataTable-B4_9ynlY.cjs +0 -1
  145. package/dist/index-Y23HeR26.cjs +0 -4
  146. package/dist/vue-ui-3d-bar-BB6yidY7.cjs +0 -19
  147. package/dist/vue-ui-age-pyramid-CrTadT86.cjs +0 -1
  148. package/dist/vue-ui-chestnut-C3XOHDgw.cjs +0 -6
  149. package/dist/vue-ui-donut-CG3VWjnG.js +0 -751
  150. package/dist/vue-ui-donut-JA9hlLlV.cjs +0 -1
  151. package/dist/vue-ui-donut-evolution-CA8sDbwX.js +0 -805
  152. package/dist/vue-ui-donut-evolution-_E0xUI9Y.cjs +0 -1
  153. package/dist/vue-ui-galaxy-DPrJum3L.cjs +0 -1
  154. package/dist/vue-ui-gizmo-CrSaW32p.cjs +0 -1
  155. package/dist/vue-ui-heatmap-CTRjjhmd.cjs +0 -1
  156. package/dist/vue-ui-heatmap-zV0pg2Q5.js +0 -606
  157. package/dist/vue-ui-mood-radar-zpxdsZ4u.cjs +0 -1
  158. package/dist/vue-ui-nested-donuts-07UI_VlW.cjs +0 -16
  159. package/dist/vue-ui-onion-DiychUul.cjs +0 -1
  160. package/dist/vue-ui-quadrant-DxLYb8Mk.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-CAXuRSdm.js +0 -1318
  162. package/dist/vue-ui-quick-chart-DgCRM6WA.cjs +0 -13
  163. package/dist/vue-ui-radar-iETP_3US.cjs +0 -1
  164. package/dist/vue-ui-rings-DdpKT3DJ.cjs +0 -1
  165. package/dist/vue-ui-scatter-Dsc6RABP.cjs +0 -1
  166. package/dist/vue-ui-sparkbar-BVQPOz2O.js +0 -257
  167. package/dist/vue-ui-sparkbar-kfA-BPVJ.cjs +0 -1
  168. package/dist/vue-ui-sparkhistogram-B5xstgQG.cjs +0 -1
  169. package/dist/vue-ui-stackbar-DZ0CArmk.cjs +0 -15
  170. package/dist/vue-ui-strip-plot-Db_dqjd9.cjs +0 -1
  171. package/dist/vue-ui-table-sparkline-4Qbmxxsy.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-DZt-bo2D.js +0 -420
  173. package/dist/vue-ui-thermometer-HXWDU2wD.cjs +0 -1
  174. package/dist/vue-ui-treemap-CW9JmJ2d.cjs +0 -1
  175. package/dist/vue-ui-vertical-bar-83AMwsHD.cjs +0 -4
  176. package/dist/vue-ui-vertical-bar-DRLwZjIz.js +0 -745
  177. package/dist/vue-ui-waffle-BRuDxyDU.js +0 -650
  178. package/dist/vue-ui-waffle-BwUbvdOE.cjs +0 -1
  179. package/dist/vue-ui-xy-BXfP5pz5.cjs +0 -3
  180. package/dist/vue-ui-xy-canvas-NrhVgFsv.cjs +0 -9
@@ -0,0 +1,644 @@
1
+ import { useCssVars as Ce, computed as y, ref as p, onMounted as Le, openBlock as s, createElementBlock as n, normalizeClass as H, normalizeStyle as b, createVNode as Z, createCommentVNode as c, createBlock as ee, unref as h, createSlots as ze, withCtx as k, renderSlot as x, normalizeProps as D, guardReactiveProps as U, Fragment as T, renderList as S, createElementVNode as u, toDisplayString as f, withKeys as Te, createTextVNode as Se, nextTick as Ae } from "vue";
2
+ import { u as Me, o as Ne, e as ge, c as le, t as Fe, g as Ve, I as te, X as Ie, D as ae, i as Y, f as B, w as Oe, x as Pe, q as Be, r as Re } from "./index-BlXzlBwZ.js";
3
+ import { _ as Ee } from "./Title-eBTH8iGJ.js";
4
+ import { u as Ge, U as Xe } from "./usePrinter-CZ8F5Cth.js";
5
+ import { _ as He } from "./Tooltip-B11OahTD.js";
6
+ import De from "./vue-ui-skeleton-CJ2R5R6u.js";
7
+ import Ue from "./BaseIcon-BG_bJS3R.js";
8
+ import Ye from "./vue-ui-accordion-wHRG3nXl.js";
9
+ import { u as pe } from "./useNestedProp-BoNl5H_z.js";
10
+ import { _ as je } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const We = ["id"], qe = ["xmlns", "viewBox"], Ke = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Je = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Qe = ["font-size", "font-weight", "fill", "x", "y"], Ze = ["x", "y", "width", "height", "onMouseover"], el = { key: 0 }, ll = ["font-size", "fill", "x", "y", "font-weight"], tl = { key: 0 }, al = ["x", "y", "font-size", "fill", "font-weight"], ol = { key: 1 }, sl = ["x", "y", "width", "height", "stroke", "stroke-width"], ul = { key: 2 }, nl = ["id"], il = ["stop-color"], rl = ["stop-color"], vl = ["x", "y", "font-size", "fill"], dl = ["x", "y", "height", "rx", "fill"], yl = ["x", "y", "font-size", "fill"], cl = ["stroke", "x1", "x2", "y1", "y2"], hl = ["fill", "d"], gl = { key: 3 }, pl = {
12
+ id: "colorScaleHorizontal",
13
+ x1: "0%",
14
+ x2: "100%",
15
+ y1: "0%",
16
+ y2: "0%"
17
+ }, fl = ["stop-color"], bl = ["stop-color"], ml = ["x", "y", "width", "height", "rx"], xl = ["x", "y", "font-size", "fill"], wl = ["x", "y", "font-size", "fill"], _l = ["stroke", "x1", "x2", "y1", "y2"], kl = ["fill", "d"], $l = {
18
+ key: 3,
19
+ class: "vue-data-ui-watermark"
20
+ }, Cl = { class: "vue-ui-data-table" }, Ll = { key: 0 }, zl = ["data-cell"], Tl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Sl = ["data-cell"], Al = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ml = {
21
+ __name: "vue-ui-heatmap",
22
+ props: {
23
+ config: {
24
+ type: Object,
25
+ default() {
26
+ return {};
27
+ }
28
+ },
29
+ dataset: {
30
+ type: Array,
31
+ default() {
32
+ return [];
33
+ }
34
+ }
35
+ },
36
+ setup(R, { expose: fe }) {
37
+ const v = R;
38
+ Ce((l) => ({
39
+ "47c413d2": l.tdo
40
+ }));
41
+ const { vue_ui_heatmap: be } = Me(), E = y(() => !!v.dataset && v.dataset.length);
42
+ Ne(v.dataset) && ge({
43
+ componentName: "VueUiHeatmap",
44
+ type: "dataset"
45
+ });
46
+ const N = p(le()), j = p(null), me = p(null), W = p(!1), q = p(""), oe = p(void 0), F = p(null), se = p(0), ue = p(null), ne = p(!1), e = y(() => {
47
+ const l = pe({
48
+ userConfig: v.config,
49
+ defaultConfig: be
50
+ });
51
+ return l.theme ? {
52
+ ...pe({
53
+ userConfig: Fe.vue_ui_heatmap[l.theme] || v.config,
54
+ defaultConfig: l
55
+ })
56
+ } : l;
57
+ }), { isPrinting: ie, isImaging: re, generatePdf: ve, generateImage: de } = Ge({
58
+ elementId: `heatmap__${N.value}`,
59
+ fileName: e.value.style.title.text || "vue-ui-heatmap"
60
+ }), w = p({
61
+ showTable: e.value.table.show,
62
+ showTooltip: e.value.style.tooltip.show
63
+ }), xe = y(() => e.value.table.responsiveBreakpoint);
64
+ function we() {
65
+ new ResizeObserver((a) => {
66
+ a.forEach((o) => {
67
+ ne.value = o.contentRect.width < xe.value;
68
+ });
69
+ }).observe(ue.value);
70
+ }
71
+ Le(we);
72
+ const A = y(() => Math.max(...v.dataset.flatMap((l) => (l.values || []).length))), _ = y(() => {
73
+ const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + v.dataset.length * e.value.style.layout.cells.height, a = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (A.value < v.dataset.length ? v.dataset.length : A.value) * e.value.style.layout.cells.height, o = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
74
+ return {
75
+ height: l,
76
+ heightWithLegend: o,
77
+ width: a
78
+ };
79
+ }), G = y(() => e.value.style.legend.position), t = y(() => ({
80
+ top: e.value.style.layout.padding.top,
81
+ left: e.value.style.layout.padding.left,
82
+ right: _.value.width - e.value.style.layout.padding.right - (G.value === "right" && e.value.style.legend.show ? 92 : 0),
83
+ bottom: _.value.height - e.value.style.layout.padding.bottom,
84
+ height: _.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
85
+ width: _.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (G.value === "right" && e.value.style.legend.show ? 92 : 0)
86
+ })), K = y(() => i.value.height * v.dataset.length), m = y(() => Math.max(...v.dataset.flatMap((l) => l.values))), M = y(() => Math.min(...v.dataset.flatMap((l) => l.values))), z = y(() => {
87
+ const l = v.dataset.flatMap((o) => o.values);
88
+ return l.reduce((o, r) => o + r, 0) / l.length;
89
+ }), i = y(() => ({
90
+ width: t.value.width / A.value,
91
+ height: t.value.width / (A.value < v.dataset.length ? v.dataset.length : A.value)
92
+ })), $ = y(() => {
93
+ const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : v.dataset.map((o) => o.name), a = e.value.style.layout.dataLabels.xAxis.values;
94
+ return {
95
+ yLabels: l,
96
+ xLabels: a.slice(0, A.value)
97
+ };
98
+ }), X = y(() => (v.dataset.forEach((l, a) => {
99
+ Ve({
100
+ datasetObject: l,
101
+ requiredAttributes: ["values"]
102
+ }).forEach((o) => {
103
+ ge({
104
+ componentName: "VueUiHeatmap",
105
+ type: "datasetSerieAttribute",
106
+ property: "values",
107
+ index: a
108
+ });
109
+ });
110
+ }), v.dataset.map((l) => ({
111
+ ...l,
112
+ temperatures: (l.values || []).map((a, o) => a >= z.value ? {
113
+ side: "up",
114
+ color: te(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, M.value, m.value, a),
115
+ ratio: Math.abs(Math.abs(a - z.value) / Math.abs(m.value - z.value)) > 1 ? 1 : Math.abs(Math.abs(a - z.value) / Math.abs(m.value - z.value)),
116
+ value: a,
117
+ yAxisName: l.name,
118
+ xAxisName: $.value.xLabels[o],
119
+ id: `vue-data-ui-heatmap-cell-${le()}`
120
+ } : {
121
+ side: "down",
122
+ ratio: Math.abs(1 - Math.abs(a) / Math.abs(z.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(z.value)),
123
+ color: te(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, M.value, m.value, a),
124
+ value: a,
125
+ yAxisName: l.name,
126
+ xAxisName: $.value.xLabels[o],
127
+ id: `vue-data-ui-heatmap-cell-${le()}`
128
+ })
129
+ })))), C = p(null), V = p(null);
130
+ function _e(l, a, o, r) {
131
+ F.value = { x: o, y: r };
132
+ const { value: d, yAxisName: g, xAxisName: L, id: $e } = l;
133
+ oe.value = $e, C.value = d, V.value = {
134
+ datapoint: l,
135
+ seriesIndex: a,
136
+ series: X.value,
137
+ config: e.value
138
+ }, W.value = !0;
139
+ let J = "";
140
+ const Q = e.value.style.tooltip.customFormat;
141
+ Oe(Q) && Pe(() => Q({
142
+ datapoint: l,
143
+ seriesIndex: a,
144
+ series: X.value,
145
+ config: e.value
146
+ })) ? q.value = Q({
147
+ datapoint: l,
148
+ seriesIndex: a,
149
+ series: X.value,
150
+ config: e.value
151
+ }) : (J += `<div>${g} ${L ? `${L}` : ""}</div>`, J += `<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:${te(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, M.value, m.value, d)}">⬤</span><span>${isNaN(d) ? "-" : Y(
152
+ e.value.style.layout.cells.value.formatter,
153
+ d,
154
+ B({
155
+ p: e.value.style.layout.dataLabels.prefix,
156
+ v: d,
157
+ s: e.value.style.layout.dataLabels.suffix,
158
+ r: e.value.style.tooltip.roundingValue
159
+ }),
160
+ { datapoint: l, seriesIndex: a }
161
+ )}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${J}</div>`);
162
+ }
163
+ const I = y(() => t.value.top + K.value * (1 - C.value / m.value)), O = y(() => t.value.left + (_.value.width - t.value.left - e.value.style.layout.padding.right) * (C.value / m.value));
164
+ y(() => {
165
+ const l = v.dataset.map((o) => ({
166
+ name: o.name
167
+ })), a = v.dataset.map((o) => o.values);
168
+ return { head: l, body: a };
169
+ });
170
+ function ye() {
171
+ Ae(() => {
172
+ const l = ["", ...v.dataset.map((d, g) => d.name)], a = [];
173
+ for (let d = 0; d < $.value.xLabels.length; d += 1) {
174
+ const g = [$.value.xLabels[d]];
175
+ for (let L = 0; L < v.dataset.length; L += 1)
176
+ g.push([v.dataset[L].values[d]]);
177
+ a.push(g);
178
+ }
179
+ const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(a), r = Be(o);
180
+ Re({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
181
+ });
182
+ }
183
+ const P = p(!1);
184
+ function ke(l) {
185
+ P.value = l, se.value += 1;
186
+ }
187
+ function ce() {
188
+ w.value.showTable = !w.value.showTable;
189
+ }
190
+ function he() {
191
+ w.value.showTooltip = !w.value.showTooltip;
192
+ }
193
+ return fe({
194
+ generatePdf: ve,
195
+ generateCsv: ye,
196
+ generateImage: de,
197
+ toggleTable: ce,
198
+ toggleTooltip: he
199
+ }), (l, a) => (s(), n("div", {
200
+ ref_key: "heatmapChart",
201
+ ref: j,
202
+ class: H(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
203
+ style: b(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}`),
204
+ id: `heatmap__${N.value}`
205
+ }, [
206
+ e.value.style.title.text ? (s(), n("div", {
207
+ key: 0,
208
+ style: b(`width:100%;background:${e.value.style.backgroundColor}`)
209
+ }, [
210
+ Z(Ee, {
211
+ config: {
212
+ title: {
213
+ cy: "heatmap-div-title",
214
+ ...e.value.style.title
215
+ },
216
+ subtitle: {
217
+ cy: "heatmap-div-subtitle",
218
+ ...e.value.style.title.subtitle
219
+ }
220
+ }
221
+ }, null, 8, ["config"])
222
+ ], 4)) : c("", !0),
223
+ e.value.userOptions.show && E.value ? (s(), ee(Xe, {
224
+ ref_key: "details",
225
+ ref: me,
226
+ key: `user_options_${se.value}`,
227
+ backgroundColor: e.value.style.backgroundColor,
228
+ color: e.value.style.color,
229
+ isImaging: h(re),
230
+ isPrinting: h(ie),
231
+ uid: N.value,
232
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
233
+ hasPdf: e.value.userOptions.buttons.pdf,
234
+ hasImg: e.value.userOptions.buttons.img,
235
+ hasXls: e.value.userOptions.buttons.csv,
236
+ hasTable: e.value.userOptions.buttons.table,
237
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
238
+ isFullscreen: P.value,
239
+ isTooltip: w.value.showTooltip,
240
+ titles: { ...e.value.userOptions.buttonTitles },
241
+ chartElement: j.value,
242
+ onToggleFullscreen: ke,
243
+ onGeneratePdf: h(ve),
244
+ onGenerateCsv: ye,
245
+ onGenerateImage: h(de),
246
+ onToggleTable: ce,
247
+ onToggleTooltip: he
248
+ }, ze({ _: 2 }, [
249
+ l.$slots.optionTooltip ? {
250
+ name: "optionTooltip",
251
+ fn: k(() => [
252
+ x(l.$slots, "optionTooltip", {}, void 0, !0)
253
+ ]),
254
+ key: "0"
255
+ } : void 0,
256
+ l.$slots.optionPdf ? {
257
+ name: "optionPdf",
258
+ fn: k(() => [
259
+ x(l.$slots, "optionPdf", {}, void 0, !0)
260
+ ]),
261
+ key: "1"
262
+ } : void 0,
263
+ l.$slots.optionCsv ? {
264
+ name: "optionCsv",
265
+ fn: k(() => [
266
+ x(l.$slots, "optionCsv", {}, void 0, !0)
267
+ ]),
268
+ key: "2"
269
+ } : void 0,
270
+ l.$slots.optionImg ? {
271
+ name: "optionImg",
272
+ fn: k(() => [
273
+ x(l.$slots, "optionImg", {}, void 0, !0)
274
+ ]),
275
+ key: "3"
276
+ } : void 0,
277
+ l.$slots.optionTable ? {
278
+ name: "optionTable",
279
+ fn: k(() => [
280
+ x(l.$slots, "optionTable", {}, void 0, !0)
281
+ ]),
282
+ key: "4"
283
+ } : void 0,
284
+ l.$slots.optionFullscreen ? {
285
+ name: "optionFullscreen",
286
+ fn: k(({ toggleFullscreen: o, isFullscreen: r }) => [
287
+ x(l.$slots, "optionFullscreen", D(U({ toggleFullscreen: o, isFullscreen: r })), void 0, !0)
288
+ ]),
289
+ key: "5"
290
+ } : void 0
291
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
292
+ E.value ? (s(), n("svg", {
293
+ key: 2,
294
+ xmlns: h(Ie),
295
+ class: H({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
296
+ viewBox: `0 0 ${_.value.width} ${_.value.heightWithLegend}`,
297
+ style: b(`max-width:100%;overflow:visible;background:${e.value.style.backgroundColor};color:${e.value.style.color}`)
298
+ }, [
299
+ (s(!0), n(T, null, S(X.value, (o, r) => (s(), n("g", null, [
300
+ (s(!0), n(T, null, S(o.temperatures, (d, g) => (s(), n("g", null, [
301
+ u("rect", {
302
+ x: t.value.left + i.value.width * g + e.value.style.layout.cells.spacing / 2,
303
+ y: t.value.top + i.value.height * r + e.value.style.layout.cells.spacing / 2,
304
+ width: i.value.width - e.value.style.layout.cells.spacing,
305
+ height: i.value.height - e.value.style.layout.cells.spacing,
306
+ fill: e.value.style.layout.cells.colors.underlayer,
307
+ stroke: e.value.style.backgroundColor,
308
+ "stroke-width": e.value.style.layout.cells.spacing
309
+ }, null, 8, Ke),
310
+ u("rect", {
311
+ x: t.value.left + i.value.width * g + e.value.style.layout.cells.spacing / 2,
312
+ y: t.value.top + i.value.height * r + e.value.style.layout.cells.spacing / 2,
313
+ width: i.value.width - e.value.style.layout.cells.spacing,
314
+ height: i.value.height - e.value.style.layout.cells.spacing,
315
+ fill: d.color,
316
+ stroke: e.value.style.backgroundColor,
317
+ "stroke-width": e.value.style.layout.cells.spacing
318
+ }, null, 8, Je),
319
+ e.value.style.layout.cells.value.show ? (s(), n("text", {
320
+ key: 0,
321
+ "text-anchor": "middle",
322
+ "font-size": e.value.style.layout.cells.value.fontSize,
323
+ "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
324
+ fill: h(ae)(d.color),
325
+ x: t.value.left + i.value.width * g + i.value.width / 2,
326
+ y: t.value.top + i.value.height * r + i.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
327
+ }, f(h(Y)(
328
+ e.value.style.layout.cells.value.formatter,
329
+ d.value,
330
+ h(B)({
331
+ p: e.value.style.layout.dataLabels.prefix,
332
+ v: d.value,
333
+ s: e.value.style.layout.dataLabels.suffix,
334
+ r: e.value.style.layout.cells.value.roundingValue
335
+ }),
336
+ { datapoint: d }
337
+ )), 9, Qe)) : c("", !0)
338
+ ]))), 256)),
339
+ (s(!0), n(T, null, S(o.temperatures, (d, g) => (s(), n("g", null, [
340
+ u("rect", {
341
+ x: t.value.left + i.value.width * g,
342
+ y: t.value.top + i.value.height * r,
343
+ width: i.value.width,
344
+ height: i.value.height,
345
+ fill: "transparent",
346
+ stroke: "none",
347
+ onMouseover: (L) => _e(d, r, t.value.left + i.value.width * g, t.value.top + i.value.height * r),
348
+ onMouseout: a[0] || (a[0] = (L) => {
349
+ W.value = !1, oe.value = void 0, C.value = null, F.value = null;
350
+ })
351
+ }, null, 40, Ze)
352
+ ]))), 256)),
353
+ e.value.style.layout.dataLabels.yAxis.show ? (s(), n("g", el, [
354
+ u("text", {
355
+ "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
356
+ fill: e.value.style.layout.dataLabels.yAxis.color,
357
+ x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
358
+ y: t.value.top + i.value.height * r + i.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY,
359
+ "text-anchor": "end",
360
+ "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
361
+ }, f($.value.yLabels[r]), 9, ll)
362
+ ])) : c("", !0)
363
+ ]))), 256)),
364
+ e.value.style.layout.dataLabels.xAxis.show ? (s(), n("g", tl, [
365
+ (s(!0), n(T, null, S($.value.xLabels, (o, r) => (s(), n("text", {
366
+ x: t.value.left + i.value.width / 2 + t.value.width / $.value.xLabels.length * r + e.value.style.layout.dataLabels.xAxis.offsetX,
367
+ y: t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6,
368
+ "text-anchor": "middle",
369
+ "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
370
+ fill: e.value.style.layout.dataLabels.xAxis.color,
371
+ "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal"
372
+ }, f(o), 9, al))), 256))
373
+ ])) : c("", !0),
374
+ F.value ? (s(), n("g", ol, [
375
+ u("rect", {
376
+ style: { "pointer-events": "none" },
377
+ x: F.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
378
+ y: F.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
379
+ width: i.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
380
+ height: i.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
381
+ fill: "transparent",
382
+ stroke: e.value.style.layout.cells.selected.color,
383
+ "stroke-width": e.value.style.layout.cells.selected.border,
384
+ rx: 1
385
+ }, null, 8, sl)
386
+ ])) : c("", !0),
387
+ e.value.style.legend.show && G.value === "right" ? (s(), n("g", ul, [
388
+ u("defs", null, [
389
+ u("linearGradient", {
390
+ id: `colorScaleVertical_${N.value}`,
391
+ x2: "0%",
392
+ y2: "100%"
393
+ }, [
394
+ u("stop", {
395
+ offset: "0%",
396
+ "stop-color": e.value.style.layout.cells.colors.hot
397
+ }, null, 8, il),
398
+ u("stop", {
399
+ offset: "100%",
400
+ "stop-color": e.value.style.layout.cells.colors.cold
401
+ }, null, 8, rl)
402
+ ], 8, nl)
403
+ ]),
404
+ u("text", {
405
+ x: t.value.right + 36 + 18,
406
+ y: t.value.top - e.value.style.legend.fontSize * 1.5,
407
+ "text-anchor": "middle",
408
+ "font-size": e.value.style.legend.fontSize * 2,
409
+ fill: e.value.style.legend.color
410
+ }, f(h(Y)(
411
+ e.value.style.layout.cells.value.formatter,
412
+ m.value,
413
+ h(B)({
414
+ p: e.value.style.layout.dataLabels.prefix,
415
+ v: m.value,
416
+ s: e.value.style.layout.dataLabels.suffix,
417
+ r: e.value.style.legend.roundingValue
418
+ })
419
+ )), 9, vl),
420
+ u("rect", {
421
+ x: t.value.right + 36,
422
+ y: t.value.top,
423
+ width: 36,
424
+ height: K.value,
425
+ rx: e.value.style.legend.scaleBorderRadius,
426
+ fill: `url(#colorScaleVertical_${N.value})`
427
+ }, null, 8, dl),
428
+ u("text", {
429
+ x: t.value.right + 36 + 18,
430
+ y: t.value.top + K.value + e.value.style.legend.fontSize * 2.5,
431
+ "text-anchor": "middle",
432
+ "font-size": e.value.style.legend.fontSize * 2,
433
+ fill: e.value.style.legend.color
434
+ }, f(h(Y)(
435
+ e.value.style.layout.cells.value.formatter,
436
+ M.value,
437
+ h(B)({
438
+ p: e.value.style.layout.dataLabels.prefix,
439
+ v: M.value,
440
+ s: e.value.style.layout.dataLabels.suffix,
441
+ r: e.value.style.legend.roundingValue
442
+ })
443
+ )), 9, yl),
444
+ C.value !== null ? (s(), n("line", {
445
+ key: 0,
446
+ stroke: h(ae)(V.value.datapoint.color),
447
+ "stroke-width": "2",
448
+ x1: t.value.right + 36,
449
+ x2: t.value.right + 72,
450
+ y1: I.value,
451
+ y2: I.value
452
+ }, null, 8, cl)) : c("", !0),
453
+ C.value !== null ? (s(), n("path", {
454
+ key: 1,
455
+ fill: e.value.style.color,
456
+ stroke: "none",
457
+ d: `M ${t.value.right + 36},${I.value} ${t.value.right + 26},${I.value - 8} ${t.value.right + 26},${I.value + 8}z`
458
+ }, null, 8, hl)) : c("", !0)
459
+ ])) : c("", !0),
460
+ e.value.style.legend.show && G.value === "bottom" ? (s(), n("g", gl, [
461
+ u("defs", null, [
462
+ u("linearGradient", pl, [
463
+ u("stop", {
464
+ offset: "0%",
465
+ "stop-color": e.value.style.layout.cells.colors.cold
466
+ }, null, 8, fl),
467
+ u("stop", {
468
+ offset: "100%",
469
+ "stop-color": e.value.style.layout.cells.colors.hot
470
+ }, null, 8, bl)
471
+ ])
472
+ ]),
473
+ u("rect", {
474
+ x: t.value.left,
475
+ y: t.value.bottom + e.value.style.layout.cells.height,
476
+ width: _.value.width - t.value.left - e.value.style.layout.padding.right,
477
+ height: e.value.style.layout.cells.height,
478
+ 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,
479
+ fill: "url(#colorScaleHorizontal)"
480
+ }, null, 8, ml),
481
+ u("text", {
482
+ x: t.value.left,
483
+ y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
484
+ "text-anchor": "start",
485
+ "font-size": e.value.style.legend.fontSize * 2,
486
+ fill: e.value.style.legend.color
487
+ }, f(Number(M.value.toFixed(e.value.style.legend.roundingValue)).toLocaleString()), 9, xl),
488
+ u("text", {
489
+ x: t.value.right,
490
+ y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
491
+ "text-anchor": "end",
492
+ "font-size": e.value.style.legend.fontSize * 2,
493
+ fill: e.value.style.legend.color
494
+ }, f(Number(m.value.toFixed(e.value.style.legend.roundingValue)).toLocaleString()), 9, wl),
495
+ C.value !== null ? (s(), n("line", {
496
+ key: 0,
497
+ stroke: h(ae)(V.value.datapoint.color),
498
+ "stroke-width": "2",
499
+ x1: O.value,
500
+ x2: O.value,
501
+ y1: t.value.bottom + e.value.style.layout.cells.height,
502
+ y2: t.value.bottom + e.value.style.layout.cells.height * 2
503
+ }, null, 8, _l)) : c("", !0),
504
+ C.value !== null ? (s(), n("path", {
505
+ key: 1,
506
+ fill: e.value.style.color,
507
+ stroke: "none",
508
+ d: `M ${O.value},${t.value.bottom + e.value.style.layout.cells.height} ${O.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${O.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
509
+ }, null, 8, kl)) : c("", !0)
510
+ ])) : c("", !0),
511
+ x(l.$slots, "svg", { svg: _.value }, void 0, !0)
512
+ ], 14, qe)) : c("", !0),
513
+ l.$slots.watermark ? (s(), n("div", $l, [
514
+ x(l.$slots, "watermark", D(U({ isPrinting: h(ie) || h(re) })), void 0, !0)
515
+ ])) : c("", !0),
516
+ E.value ? c("", !0) : (s(), ee(De, {
517
+ key: 4,
518
+ config: {
519
+ type: "heatmap",
520
+ style: {
521
+ backgroundColor: e.value.style.backgroundColor,
522
+ heatmap: {
523
+ color: "#CCCCCC"
524
+ }
525
+ }
526
+ }
527
+ }, null, 8, ["config"])),
528
+ Z(He, {
529
+ show: w.value.showTooltip && W.value,
530
+ backgroundColor: e.value.style.tooltip.backgroundColor,
531
+ color: e.value.style.tooltip.color,
532
+ borderRadius: e.value.style.tooltip.borderRadius,
533
+ borderColor: e.value.style.tooltip.borderColor,
534
+ borderWidth: e.value.style.tooltip.borderWidth,
535
+ fontSize: e.value.style.tooltip.fontSize,
536
+ backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
537
+ position: e.value.style.tooltip.position,
538
+ offsetY: e.value.style.tooltip.offsetY,
539
+ parent: j.value,
540
+ content: q.value,
541
+ isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
542
+ }, {
543
+ "tooltip-before": k(() => [
544
+ x(l.$slots, "tooltip-before", D(U({ ...V.value })), void 0, !0)
545
+ ]),
546
+ "tooltip-after": k(() => [
547
+ x(l.$slots, "tooltip-after", D(U({ ...V.value })), void 0, !0)
548
+ ]),
549
+ _: 3
550
+ }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
551
+ E.value ? (s(), ee(Ye, {
552
+ key: 5,
553
+ hideDetails: "",
554
+ config: {
555
+ open: w.value.showTable,
556
+ maxHeight: 1e4,
557
+ body: {
558
+ backgroundColor: e.value.style.backgroundColor,
559
+ color: e.value.style.color
560
+ },
561
+ head: {
562
+ backgroundColor: e.value.style.backgroundColor,
563
+ color: e.value.style.color
564
+ }
565
+ }
566
+ }, {
567
+ content: k(() => [
568
+ u("div", {
569
+ ref_key: "tableContainer",
570
+ ref: ue,
571
+ class: "vue-ui-heatmap-table"
572
+ }, [
573
+ u("div", {
574
+ style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
575
+ class: H({ "vue-ui-responsive": ne.value })
576
+ }, [
577
+ u("div", {
578
+ role: "button",
579
+ tabindex: "0",
580
+ style: b(`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};`),
581
+ onClick: a[1] || (a[1] = (o) => w.value.showTable = !1),
582
+ onKeypress: a[2] || (a[2] = Te((o) => w.value.showTable = !1, ["enter"]))
583
+ }, [
584
+ Z(Ue, {
585
+ name: "close",
586
+ stroke: e.value.table.th.color,
587
+ "stroke-width": 2
588
+ }, null, 8, ["stroke"])
589
+ ], 36),
590
+ u("table", Cl, [
591
+ u("caption", {
592
+ style: b(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
593
+ }, [
594
+ Se(f(e.value.style.title.text) + " ", 1),
595
+ e.value.style.title.subtitle.text ? (s(), n("span", Ll, f(e.value.style.title.subtitle.text), 1)) : c("", !0)
596
+ ], 4),
597
+ u("thead", null, [
598
+ u("tr", {
599
+ role: "row",
600
+ style: b(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
601
+ }, [
602
+ u("th", {
603
+ style: b(`outline:${e.value.table.th.outline};padding-right:6px`)
604
+ }, null, 4),
605
+ (s(!0), n(T, null, S(R.dataset, (o, r) => (s(), n("th", {
606
+ align: "right",
607
+ style: b(`outline:${e.value.table.th.outline};padding-right:6px`)
608
+ }, f(o.name), 5))), 256))
609
+ ], 4)
610
+ ]),
611
+ u("tbody", null, [
612
+ (s(!0), n(T, null, S($.value.xLabels, (o, r) => (s(), n("tr", {
613
+ role: "row",
614
+ class: H({ "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 }),
615
+ style: b(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
616
+ }, [
617
+ u("td", {
618
+ "data-cell": e.value.table.colNames.xAxis,
619
+ class: "vue-ui-data-table__tbody__td",
620
+ style: b(`outline:${e.value.table.td.outline}`)
621
+ }, [
622
+ u("div", Tl, f(o), 1)
623
+ ], 12, zl),
624
+ (s(!0), n(T, null, S(R.dataset, (d, g) => (s(), n("td", {
625
+ class: "vue-ui-data-table__tbody__td",
626
+ "data-cell": R.dataset[g].name,
627
+ style: b(`outline:${e.value.table.td.outline}`)
628
+ }, [
629
+ u("div", Al, f(isNaN(d.values[r]) ? "-" : h(B)({ p: e.value.style.layout.dataLabels.prefix, v: d.values[r], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
630
+ ], 12, Sl))), 256))
631
+ ], 6))), 256))
632
+ ])
633
+ ])
634
+ ], 2)
635
+ ], 512)
636
+ ]),
637
+ _: 1
638
+ }, 8, ["config"])) : c("", !0)
639
+ ], 14, We));
640
+ }
641
+ }, Xl = /* @__PURE__ */ je(Ml, [["__scopeId", "data-v-cadccec6"]]);
642
+ export {
643
+ Xl as default
644
+ };