vue-data-ui 3.22.13 → 3.23.0

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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -1,26 +1,27 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, E as n, K as r, Q as i, Y as a, Yt as o, bt as s, et as c, ft as l, i as u, qt as d, r as f, st as p, t as m, vt as ee, y as h } from "./lib-CFm_J26b.js";
3
- import { t as te } from "./useTimeLabels-B9CEuiLZ.js";
4
- import { t as ne } from "./useConfig-C0V0eG7L.js";
5
- import { t as re } from "./usePrinter-BH-xle1O.js";
6
- import { n as ie, t as ae } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as oe } from "./useSvgExport-Ba9qBr9M.js";
8
- import { t as se } from "./useNestedProp-BY6DNN3i.js";
9
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as le } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as ue } from "./img-Bikk1dGb.js";
12
- import { n as de } from "./Title-BuPs74IB.js";
13
- import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { l as pe, t as me } from "./useResponsive-ZtArZtUf.js";
15
- import { t as he } from "./vue-ui-accordion-UA88lv4d.js";
16
- import { t as ge } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as _e } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as ve } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as ye } from "./useTableResponsive-BAqJPR68.js";
20
- import { t as be } from "./vue_ui_heatmap-B2BBBSWG.js";
21
- import { Fragment as g, computed as _, createBlock as xe, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createSlots as Se, createTextVNode as Ce, createVNode as we, defineAsyncComponent as x, guardReactiveProps as S, mergeProps as Te, nextTick as Ee, normalizeClass as De, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as Oe, onMounted as ke, openBlock as T, reactive as Ae, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as je, shallowRef as Me, toDisplayString as k, toRefs as Ne, unref as A, useCssVars as Pe, vShow as Fe, watch as Ie, watchEffect as Le, withCtx as j, withDirectives as Re, withKeys as ze } from "vue";
2
+ import { $ as t, D as n, Jt as r, X as i, Xt as a, b as o, ct as s, i as c, jt as l, pt as u, q as d, r as f, t as p, tt as m, xt as ee, yt as h } from "./lib-BuMGJ_a0.js";
3
+ import { n as te, t as ne } from "./useHints-Dq_w2E8B.js";
4
+ import { t as re } from "./useTimeLabels-B9CEuiLZ.js";
5
+ import { t as ie } from "./useConfig-BilxnBNr.js";
6
+ import { t as ae } from "./usePrinter-BFvi4jVy.js";
7
+ import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
8
+ import { t as ce } from "./useSvgExport-Ba9qBr9M.js";
9
+ import { t as le } from "./useNestedProp--NSEmhOH.js";
10
+ import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
11
+ import { t as de } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as fe } from "./img-DIQG5q8T.js";
13
+ import { n as pe } from "./Title-BODtwViI.js";
14
+ import { t as me } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as he, t as ge } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as _e } from "./vue-ui-accordion-61MlW-Ge.js";
17
+ import { t as ve } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as ye } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as be } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as xe } from "./useTableResponsive-BAqJPR68.js";
21
+ import { t as Se } from "./vue_ui_heatmap-B2BBBSWG.js";
22
+ import { Fragment as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as Ce, createTextVNode as we, createVNode as Te, defineAsyncComponent as S, guardReactiveProps as C, mergeProps as Ee, nextTick as De, normalizeClass as Oe, normalizeProps as w, normalizeStyle as T, onBeforeUnmount as ke, onMounted as Ae, openBlock as E, reactive as je, ref as D, renderList as O, renderSlot as k, resolveDynamicComponent as Me, shallowRef as Ne, toDisplayString as A, toRefs as Pe, unref as j, useCssVars as Fe, vShow as Ie, watch as Le, watchEffect as Re, withCtx as M, withDirectives as ze, withKeys as Be } from "vue";
22
23
  //#region src/useLabelObserverEfffect.js
23
- function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
24
+ function Ve({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
24
25
  if (r) return;
25
26
  let o = (e) => {
26
27
  if (!e) return;
@@ -37,12 +38,12 @@ function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFra
37
38
  }
38
39
  typeof r == "number" && !Number.isNaN(r) && t(r);
39
40
  };
40
- Le((t) => {
41
+ Re((t) => {
41
42
  let n = e.value;
42
43
  if (!n) return;
43
44
  let r = !1;
44
45
  (async () => {
45
- await Ee();
46
+ await De();
46
47
  for (let t = 0; t < i; t += 1) {
47
48
  if (r) return;
48
49
  await new Promise((e) => requestAnimationFrame(e));
@@ -88,15 +89,15 @@ function Be({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFra
88
89
  }
89
90
  //#endregion
90
91
  //#region src/directives/vFitText.js
91
- var Ve = {
92
+ var He = {
92
93
  mounted(e, t) {
93
- He(e, t.value);
94
+ Ue(e, t.value);
94
95
  },
95
96
  updated(e, t) {
96
- He(e, t.value);
97
+ Ue(e, t.value);
97
98
  }
98
99
  };
99
- function He(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, index: a, reportRotation: o, reportHide: s, rotateAll: c, hideAll: l }) {
100
+ function Ue(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, index: a, reportRotation: o, reportHide: s, rotateAll: c, hideAll: l }) {
100
101
  e.removeAttribute("transform"), e.removeAttribute("visibility");
101
102
  let u = !1, d = !1;
102
103
  e.setAttribute("font-size", r);
@@ -121,16 +122,16 @@ function He(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, in
121
122
  }
122
123
  //#endregion
123
124
  //#region src/components/vue-ui-heatmap.vue
124
- var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke = [
125
+ var We = /* @__PURE__ */ e({ default: () => St }), Ge = ["id"], Ke = ["id"], qe = [
125
126
  "xmlns",
126
127
  "aria-describedby",
127
128
  "viewBox"
128
- ], qe = [
129
+ ], Je = [
129
130
  "x",
130
131
  "y",
131
132
  "width",
132
133
  "height"
133
- ], Je = [
134
+ ], Ye = [
134
135
  "x",
135
136
  "y",
136
137
  "height",
@@ -138,7 +139,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
138
139
  "fill",
139
140
  "stroke",
140
141
  "stroke-width"
141
- ], Ye = [
142
+ ], Xe = [
142
143
  "x",
143
144
  "y",
144
145
  "height",
@@ -146,7 +147,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
146
147
  "fill",
147
148
  "stroke",
148
149
  "stroke-width"
149
- ], Xe = [
150
+ ], Ze = [
150
151
  "x",
151
152
  "y",
152
153
  "width",
@@ -154,7 +155,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
154
155
  "fill",
155
156
  "stroke",
156
157
  "stroke-width"
157
- ], Ze = [
158
+ ], Qe = [
158
159
  "data-a11y-cell-id",
159
160
  "x",
160
161
  "y",
@@ -167,13 +168,13 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
167
168
  "onMouseover",
168
169
  "onMouseout",
169
170
  "onClick"
170
- ], Qe = [
171
+ ], $e = [
171
172
  "font-size",
172
173
  "font-weight",
173
174
  "fill",
174
175
  "x",
175
176
  "y"
176
- ], $e = [
177
+ ], et = [
177
178
  "x",
178
179
  "y",
179
180
  "width",
@@ -181,7 +182,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
181
182
  "fill",
182
183
  "stroke",
183
184
  "stroke-width"
184
- ], et = [
185
+ ], tt = [
185
186
  "x",
186
187
  "y",
187
188
  "width",
@@ -189,38 +190,38 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
189
190
  "fill",
190
191
  "stroke",
191
192
  "stroke-width"
192
- ], tt = [
193
+ ], nt = [
193
194
  "font-size",
194
195
  "fill",
195
196
  "x",
196
197
  "y",
197
198
  "font-weight"
198
- ], nt = [
199
+ ], rt = [
199
200
  "font-size",
200
201
  "fill",
201
202
  "x",
202
203
  "y",
203
204
  "font-weight"
204
- ], rt = [
205
+ ], it = [
205
206
  "text-anchor",
206
207
  "font-size",
207
208
  "fill",
208
209
  "font-weight",
209
210
  "transform"
210
- ], it = [
211
+ ], at = [
211
212
  "text-anchor",
212
213
  "font-size",
213
214
  "fill",
214
215
  "font-weight",
215
216
  "transform"
216
- ], at = { key: 6 }, ot = [
217
+ ], ot = { key: 6 }, st = [
217
218
  "x",
218
219
  "y",
219
220
  "width",
220
221
  "height",
221
222
  "stroke",
222
223
  "stroke-width"
223
- ], st = { key: 7 }, ct = [
224
+ ], ct = { key: 7 }, lt = [
224
225
  "x1",
225
226
  "x2",
226
227
  "y1",
@@ -228,7 +229,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
228
229
  "stroke",
229
230
  "stroke-width",
230
231
  "stroke-dasharray"
231
- ], lt = [
232
+ ], ut = [
232
233
  "x1",
233
234
  "x2",
234
235
  "y1",
@@ -236,7 +237,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
236
237
  "stroke",
237
238
  "stroke-width",
238
239
  "stroke-dasharray"
239
- ], ut = { class: "vue-ui-heatmap-legend-gauge-right" }, dt = ["data-value"], ft = { class: "vue-ui-heatmap-gauge-indicator-value" }, pt = {
240
+ ], dt = { class: "vue-ui-heatmap-legend-gauge-right" }, ft = ["data-value"], pt = { class: "vue-ui-heatmap-gauge-indicator-value" }, mt = {
240
241
  key: 1,
241
242
  style: {
242
243
  position: "absolute",
@@ -246,24 +247,24 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
246
247
  },
247
248
  "data-dom-to-png-ignore": "",
248
249
  "aria-hidden": "true"
249
- }, mt = {
250
+ }, ht = {
250
251
  key: 5,
251
252
  class: "vue-data-ui-watermark"
252
- }, ht = { class: "vue-ui-data-table" }, gt = { key: 0 }, _t = ["data-cell"], vt = { style: {
253
+ }, gt = { class: "vue-ui-data-table" }, _t = { key: 0 }, vt = ["data-cell"], yt = { style: {
253
254
  display: "flex",
254
255
  "align-items": "center",
255
256
  gap: "5px",
256
257
  "justify-content": "flex-end",
257
258
  width: "100%",
258
259
  "padding-right": "3px"
259
- } }, yt = ["data-cell"], bt = { style: {
260
+ } }, bt = ["data-cell"], xt = { style: {
260
261
  display: "flex",
261
262
  "align-items": "center",
262
263
  gap: "5px",
263
264
  "justify-content": "flex-end",
264
265
  width: "100%",
265
266
  "padding-right": "3px"
266
- } }, xt = /*#__PURE__*/ fe({
267
+ } }, St = /*#__PURE__*/ me({
267
268
  __name: "vue-ui-heatmap",
268
269
  props: {
269
270
  config: {
@@ -280,20 +281,27 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
280
281
  }
281
282
  },
282
283
  emits: ["selectDatapoint", "copyAlt"],
283
- setup(e, { expose: fe, emit: He }) {
284
- Pe((e) => ({ v4596c7e2: e.tdo }));
285
- let Ue = x(() => import("./Tooltip-CA1rtSyl.js")), xt = x(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), St = x(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Ct = x(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), wt = x(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), Tt = x(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_heatmap: Et } = ne(), { isThemeValid: Dt, warnInvalidTheme: Ot } = ce(), M = e, kt = He, At = _({
284
+ setup(e, { expose: me, emit: Ue }) {
285
+ Fe((e) => ({ v1e3a906a: e.tdo }));
286
+ let We = S(() => import("./Tooltip-CMTGxeYO.js")), St = S(() => import("./BaseIcon-91MZoczJ.js").then((e) => e.n)), Ct = S(() => import("./PenAndPaper-cE4J8-rA.js").then((e) => e.t)), wt = S(() => import("./UserOptions-3ujTo3LD.js").then((e) => e.n)), Tt = S(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), Et = S(() => import("./BaseDraggableDialog-qTnfhLBz.js").then((e) => e.n)), { vue_ui_heatmap: Dt } = ie(), { isThemeValid: Ot, warnInvalidTheme: kt } = ue(), N = e, At = Ue, jt = _({
286
287
  get() {
287
- return !!M.dataset && M.dataset.length;
288
+ return !!N.dataset && N.dataset.length;
288
289
  },
289
290
  set(e) {
290
291
  return e;
291
292
  }
292
- }), jt = E(r()), N = E(null), Mt = E(!1), Nt = E(""), Pt = E(void 0), P = E(null), Ft = E(0), It = E(null), Lt = E(0), Rt = E(null), zt = E(null), Bt = E(null), Vt = E(!1), Ht = E(!1), Ut = E(null), Wt = E(null), Gt = E(null), Kt = E(null), qt = E(null), Jt = E(null), Yt = E(null), Xt = E(null), Zt = E(null), F = Me(null), I = E(null), Qt = E(null), $t = E({
293
+ }), Mt = D(d()), P = D(null), Nt = D(!1), Pt = D(""), Ft = D(void 0), F = D(null), It = D(0), Lt = D(null), Rt = D(0), zt = D(null), Bt = D(null), Vt = D(null), Ht = D(!1), Ut = D(!1), Wt = D(null), Gt = D(null), Kt = D(null), qt = D(null), Jt = D(null), Yt = D(null), Xt = D(null), Zt = D(null), Qt = D(null), $t = Ne(null), I = D(null), en = D(null), tn = D({
293
294
  x: 0,
294
295
  y: 0
295
- }), en = E("pointer"), tn = E(!1), L = E(fn()), nn = _(() => L.value.userOptions.useCursorPointer);
296
- function rn() {
296
+ }), nn = D("pointer"), rn = D(!1), L = D(mn());
297
+ te({
298
+ config: () => L.value,
299
+ dataset: () => N.dataset,
300
+ component: "VueUiHeatmap",
301
+ rules: [ne.emptyArray, ne.noHint]
302
+ });
303
+ let an = _(() => L.value.userOptions.useCursorPointer);
304
+ function on() {
297
305
  let e = Array(7).fill("_"), t = [], n = e.length;
298
306
  for (let r = 0; r < n; r += 1) {
299
307
  let n = [];
@@ -305,7 +313,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
305
313
  }
306
314
  return t;
307
315
  }
308
- let an = _(() => d({
316
+ let sn = _(() => r({
309
317
  defaultConfig: {
310
318
  table: { show: !1 },
311
319
  userOptions: { show: !1 },
@@ -329,291 +337,291 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
329
337
  }
330
338
  },
331
339
  userConfig: L.value.skeletonConfig ?? {}
332
- })), { loading: on, FINAL_DATASET: R, manualLoading: sn } = ie({
333
- ...Ne(M),
340
+ })), { loading: cn, FINAL_DATASET: R, manualLoading: ln } = oe({
341
+ ...Pe(N),
334
342
  FINAL_CONFIG: L,
335
- prepareConfig: fn,
343
+ prepareConfig: mn,
336
344
  callback: () => {
337
345
  Promise.resolve().then(async () => {
338
- await Ee(), N.value && o(N.value, {
346
+ await De(), P.value && a(P.value, {
339
347
  delta: .1,
340
348
  delay: 250
341
349
  });
342
350
  });
343
351
  },
344
- skeletonDataset: M.config?.skeletonDataset ?? rn(),
345
- skeletonConfig: d({
352
+ skeletonDataset: N.config?.skeletonDataset ?? on(),
353
+ skeletonConfig: r({
346
354
  defaultConfig: L.value,
347
- userConfig: an.value
355
+ userConfig: sn.value
348
356
  })
349
- }), { userOptionsVisible: cn, setUserOptionsVisibility: ln, keepUserOptionState: un } = _e({ config: L.value }), { svgRef: z } = ve({ config: L.value.style.title });
350
- function dn(e) {
351
- ln(e);
357
+ }), { userOptionsVisible: un, setUserOptionsVisibility: dn, keepUserOptionState: fn } = ye({ config: L.value }), { svgRef: z } = be({ config: L.value.style.title });
358
+ function pn(e) {
359
+ dn(e);
352
360
  }
353
- function fn() {
354
- let e = se({
355
- userConfig: M.config,
356
- defaultConfig: Et
361
+ function mn() {
362
+ let e = le({
363
+ userConfig: N.config,
364
+ defaultConfig: Dt
357
365
  }), t = {}, n = e.theme;
358
- if (n) if (!Dt.value(e)) Ot(e), t = e;
366
+ if (n) if (!Ot.value(e)) kt(e), t = e;
359
367
  else {
360
- let r = se({
361
- userConfig: be[n] || M.config,
368
+ let r = le({
369
+ userConfig: Se[n] || N.config,
362
370
  defaultConfig: e
363
371
  });
364
- t = { ...se({
365
- userConfig: M.config,
372
+ t = { ...le({
373
+ userConfig: N.config,
366
374
  defaultConfig: r
367
375
  }) };
368
376
  }
369
377
  else t = e;
370
378
  return t;
371
379
  }
372
- Ie(() => M.config, (e) => {
373
- on.value || (L.value = fn()), cn.value = !L.value.userOptions.showOnChartHover, bn(), Lt.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.tooltip.show, xn.value = L.value.style.layout.width, Sn.value = L.value.style.layout.height;
374
- }, { deep: !0 }), Ie(() => M.dataset, (e) => {
375
- Array.isArray(e) && e.length > 0 && (sn.value = !1), bn();
380
+ Le(() => N.config, (e) => {
381
+ cn.value || (L.value = mn()), un.value = !L.value.userOptions.showOnChartHover, Sn(), Rt.value += 1, B.value.showTable = L.value.table.show, B.value.showTooltip = L.value.style.tooltip.show, Cn.value = L.value.style.layout.width, wn.value = L.value.style.layout.height;
382
+ }, { deep: !0 }), Le(() => N.dataset, (e) => {
383
+ Array.isArray(e) && e.length > 0 && (ln.value = !1), Sn();
376
384
  }, { deep: !0 });
377
- let { isPrinting: pn, isImaging: mn, generatePdf: hn, generateImage: gn } = re({
378
- elementId: `heatmap__${jt.value}`,
385
+ let { isPrinting: hn, isImaging: gn, generatePdf: _n, generateImage: vn } = ae({
386
+ elementId: `heatmap__${Mt.value}`,
379
387
  fileName: L.value.style.title.text || "vue-ui-heatmap",
380
388
  options: L.value.userOptions.print
381
- }), _n = _(() => L.value.userOptions.show && !L.value.style.title.text), B = E({
389
+ }), yn = _(() => L.value.userOptions.show && !L.value.style.title.text), B = D({
382
390
  showTable: L.value.table.show,
383
391
  showTooltip: L.value.style.tooltip.show
384
392
  });
385
- Ie(L, () => {
393
+ Le(L, () => {
386
394
  B.value = {
387
395
  showTable: L.value.table.show,
388
396
  showTooltip: L.value.style.tooltip.show
389
397
  };
390
398
  }, { immediate: !0 });
391
- let vn = _(() => L.value.table.responsiveBreakpoint), V = E(null), yn = _(() => !!L.value.debug);
392
- function bn() {
393
- if (t(M.dataset) && (c({
399
+ let bn = _(() => L.value.table.responsiveBreakpoint), V = D(null), xn = _(() => !!L.value.debug);
400
+ function Sn() {
401
+ if (l(N.dataset) && (m({
394
402
  componentName: "VueUiHeatmap",
395
403
  type: "dataset",
396
- debug: yn.value
397
- }), At.value = !1, sn.value = !0), t(M.dataset) || (sn.value = L.value.loading), L.value.responsive) {
398
- let e = pe(() => {
399
- let { width: e, height: t } = me({
400
- chart: N.value,
401
- title: L.value.style.title.text ? Ut.value : null,
402
- source: Zt.value,
403
- noTitle: Wt.value
404
+ debug: xn.value
405
+ }), jt.value = !1, ln.value = !0), l(N.dataset) || (ln.value = L.value.loading), L.value.responsive) {
406
+ let e = he(() => {
407
+ let { width: e, height: t } = ge({
408
+ chart: P.value,
409
+ title: L.value.style.title.text ? Wt.value : null,
410
+ source: Qt.value,
411
+ noTitle: Gt.value
404
412
  });
405
413
  requestAnimationFrame(() => {
406
- xn.value = e, Sn.value = t;
414
+ Cn.value = e, wn.value = t;
407
415
  });
408
416
  });
409
- V.value && (F.value && V.value.unobserve(F.value), V.value.disconnect()), V.value = new ResizeObserver(e), F.value = N.value.parentNode, V.value.observe(F.value);
417
+ V.value && ($t.value && V.value.unobserve($t.value), V.value.disconnect()), V.value = new ResizeObserver(e), $t.value = P.value.parentNode, V.value.observe($t.value);
410
418
  }
411
419
  }
412
- Oe(() => {
413
- V.value && (F.value && V.value.unobserve(F.value), V.value.disconnect());
414
- }), ke(() => {
415
- bn();
420
+ ke(() => {
421
+ V.value && ($t.value && V.value.unobserve($t.value), V.value.disconnect());
422
+ }), Ae(() => {
423
+ Sn();
416
424
  });
417
- let H = _(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), xn = E(L.value.style.layout.width), Sn = E(L.value.style.layout.height), U = _(() => ({
418
- width: Math.max(10, xn.value),
419
- height: Math.max(10, Sn.value)
420
- })), Cn = E(0);
421
- Be({
422
- elementRef: Jt,
423
- callback: pe((e) => {
424
- e !== Cn.value && (Cn.value = e);
425
+ let H = _(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), Cn = D(L.value.style.layout.width), wn = D(L.value.style.layout.height), U = _(() => ({
426
+ width: Math.max(10, Cn.value),
427
+ height: Math.max(10, wn.value)
428
+ })), Tn = D(0);
429
+ Ve({
430
+ elementRef: Yt,
431
+ callback: he((e) => {
432
+ e !== Tn.value && (Tn.value = e);
425
433
  }, 100),
426
434
  attr: "height"
427
435
  });
428
- let W = E(0);
429
- Be({
430
- elementRef: Kt,
431
- callback: pe((e) => {
436
+ let W = D(0);
437
+ Ve({
438
+ elementRef: qt,
439
+ callback: he((e) => {
432
440
  e !== W.value && (W.value = e);
433
441
  }, 100),
434
442
  attr: "width"
435
443
  });
436
- let wn = E(0);
437
- Be({
438
- elementRef: Yt,
439
- callback: pe((e) => {
440
- e !== wn.value && (wn.value = e);
444
+ let En = D(0);
445
+ Ve({
446
+ elementRef: Xt,
447
+ callback: he((e) => {
448
+ e !== En.value && (En.value = e);
441
449
  }, 100),
442
450
  attr: "height"
443
- }), Oe(() => {
444
- Cn.value = 0, W.value = 0, wn.value = 0;
451
+ }), ke(() => {
452
+ Tn.value = 0, W.value = 0, En.value = 0;
445
453
  });
446
454
  let G = _(() => Math.min(U.value.height, U.value.width) / 1e3 * L.value.style.layout.cells.spacing), K = _(() => {
447
455
  let e = 0;
448
456
  L.value.style.legend.show && (e = L.value.style.legend.width);
449
- let t = L.value.style.layout.padding, n = L.value.style.layout.dataLabels.xAxis.fontSize / 3, r = L.value.style.layout.dataLabels.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - Cn.value - n, a = U.value.width / 60, o = {
457
+ let t = L.value.style.layout.padding, n = L.value.style.layout.dataLabels.xAxis.fontSize / 3, r = L.value.style.layout.dataLabels.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - Tn.value - n, a = U.value.width / 60, o = {
450
458
  x: G.value * H.value,
451
459
  y: G.value * ((R.value || []).length + 1)
452
- }, s = U.value.width - t.left - t.right - o.x - a * 2 - 2 - e - W.value, c = i - a - o.y - wn.value - r - L.value.style.layout.cells.columnTotal.value.offsetY, l = {
460
+ }, s = U.value.width - t.left - t.right - o.x - a * 2 - 2 - e - W.value, c = i - a - o.y - En.value - r - L.value.style.layout.cells.columnTotal.value.offsetY, l = {
453
461
  width: Math.max(3, s / H.value),
454
462
  height: Math.max(3, c / (R.value.length ?? 1))
455
463
  };
456
464
  return {
457
- top: t.top + Cn.value + a + n,
458
- topLabelsHeight: Cn.value,
465
+ top: t.top + Tn.value + a + n,
466
+ topLabelsHeight: Tn.value,
459
467
  sumCellXHeight: a,
460
468
  height: c,
461
469
  left: t.left + W.value + a / 2,
462
470
  right: t.right - e,
463
- bottom: U.value.height - t.bottom - wn.value,
471
+ bottom: U.value.height - t.bottom - En.value,
464
472
  width: s,
465
473
  cellSize: l
466
474
  };
467
- }), q = _(() => Math.max(...R.value.flatMap((e) => e.values))), Tn = _(() => Math.min(...R.value.flatMap((e) => e.values))), J = _(() => {
475
+ }), q = _(() => Math.max(...R.value.flatMap((e) => e.values))), Dn = _(() => Math.min(...R.value.flatMap((e) => e.values))), J = _(() => {
468
476
  let e = R.value.flatMap((e) => e.values);
469
477
  return e.reduce((e, t) => e + t, 0) / e.length;
470
- }), En = E([]), Dn = E([]), On = 0;
471
- Le(() => {
472
- let e = ++On;
478
+ }), On = D([]), kn = D([]), An = 0;
479
+ Re(() => {
480
+ let e = ++An;
473
481
  (async () => {
474
- let t = L.value.style.layout.dataLabels.yAxis, n = await te({
482
+ let t = L.value.style.layout.dataLabels.yAxis, n = await re({
475
483
  values: t.values.length ? t.values : R.value.map((e) => e.name),
476
484
  maxDatapoints: R.value.length,
477
485
  formatter: t.datetimeFormatter,
478
486
  start: 0,
479
487
  end: R.value.length
480
488
  });
481
- e === On && (En.value = n);
489
+ e === An && (On.value = n);
482
490
  })();
483
491
  });
484
- let kn = 0;
485
- Le(() => {
486
- let e = ++kn;
492
+ let jn = 0;
493
+ Re(() => {
494
+ let e = ++jn;
487
495
  (async () => {
488
- let t = L.value.style.layout.dataLabels.xAxis, n = await te({
496
+ let t = L.value.style.layout.dataLabels.xAxis, n = await re({
489
497
  values: t.values,
490
498
  maxDatapoints: H.value,
491
499
  formatter: t.datetimeFormatter,
492
500
  start: 0,
493
501
  end: H.value
494
502
  });
495
- e === kn && (Dn.value = n);
503
+ e === jn && (kn.value = n);
496
504
  })();
497
505
  });
498
506
  let Y = _(() => {
499
- let e = En.value.map((e) => e.text), t = Dn.value.map((e) => e.text), n = R.value.map((e) => e.values.reduce((e, t) => e + t, 0)), r = Math.max(...n), i = Math.min(...n), a = [];
507
+ let e = On.value.map((e) => e.text), t = kn.value.map((e) => e.text), n = R.value.map((e) => e.values.reduce((e, t) => e + t, 0)), r = Math.max(...n), i = Math.min(...n), a = [];
500
508
  for (let e = 0; e < H.value; e += 1) a.push(R.value.map((t) => t.values[e] || 0).reduce((e, t) => e + t, 0));
501
509
  let o = Math.max(...a), s = Math.min(...a);
502
510
  return {
503
511
  yTotals: n.map((e) => ({
504
512
  total: e,
505
513
  proportion: isNaN(e / r) ? 0 : e / r,
506
- color: ee(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, i, r, e)
514
+ color: h(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, i, r, e)
507
515
  })),
508
516
  xTotals: a.map((e) => ({
509
517
  total: e,
510
518
  proportion: isNaN(e / o) ? 0 : e / o,
511
- color: ee(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, s, o, e)
519
+ color: h(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, s, o, e)
512
520
  })),
513
521
  yLabels: e,
514
522
  xLabels: t.slice(0, H.value)
515
523
  };
516
524
  }), X = _(() => (R.value.forEach((e, t) => {
517
- l({
525
+ u({
518
526
  datasetObject: e,
519
527
  requiredAttributes: ["values"]
520
528
  }).forEach((e) => {
521
- c({
529
+ m({
522
530
  componentName: "VueUiHeatmap",
523
531
  type: "datasetSerieAttribute",
524
532
  property: "values",
525
533
  index: t,
526
- debug: yn.value
534
+ debug: xn.value
527
535
  });
528
536
  });
529
537
  }), R.value.map((e, t) => ({
530
538
  ...e,
531
539
  temperatures: (e.values || []).map((e, n) => e >= J.value ? {
532
540
  side: "up",
533
- color: ee(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
541
+ color: h(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Dn.value, q.value, e),
534
542
  ratio: Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)) > 1 ? 1 : Math.abs(Math.abs(e - J.value) / Math.abs(q.value - J.value)),
535
543
  value: e,
536
544
  yAxisName: Y.value.yLabels[t],
537
545
  xAxisName: Y.value.xLabels[n],
538
- id: `vue-data-ui-heatmap-cell-${r()}`
546
+ id: `vue-data-ui-heatmap-cell-${d()}`
539
547
  } : {
540
548
  side: "down",
541
549
  ratio: Math.abs(1 - Math.abs(e) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(J.value)),
542
- color: ee(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, e),
550
+ color: h(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Dn.value, q.value, e),
543
551
  value: e,
544
552
  yAxisName: Y.value.yLabels[t],
545
553
  xAxisName: Y.value.xLabels[n],
546
- id: `vue-data-ui-heatmap-cell-${r()}`
554
+ id: `vue-data-ui-heatmap-cell-${d()}`
547
555
  })
548
- })))), An = _(() => R.value.length), jn = Ae(Array(An.value * H.value || 1).fill(!1)), Mn = _(() => jn.some((e) => e));
549
- function Nn(e, t) {
550
- jn[e] = t;
556
+ })))), Mn = _(() => R.value.length), Nn = je(Array(Mn.value * H.value || 1).fill(!1)), Pn = _(() => Nn.some((e) => e));
557
+ function Fn(e, t) {
558
+ Nn[e] = t;
551
559
  }
552
- let Pn = Ae(Array(An.value * H.value || 1).fill(!1)), Fn = _(() => Pn.some((e) => e));
553
- function In(e, t) {
554
- Pn[e] = t;
560
+ let In = je(Array(Mn.value * H.value || 1).fill(!1)), Ln = _(() => In.some((e) => e));
561
+ function Rn(e, t) {
562
+ In[e] = t;
555
563
  }
556
- let Z = E(null), Ln = E(null);
557
- function Rn() {
558
- Mt.value = !1, Pt.value = void 0, Z.value = null, P.value = null, I.value = null, Qt.value = null;
564
+ let Z = D(null), zn = D(null);
565
+ function Bn() {
566
+ Nt.value = !1, Ft.value = void 0, Z.value = null, F.value = null, I.value = null, en.value = null;
559
567
  }
560
- function zn(e) {
568
+ function Vn(e) {
561
569
  if (!z.value || !e) return;
562
570
  let t = z.value.querySelector(`[data-a11y-cell-id="${e}"]`);
563
571
  if (!t) return;
564
572
  let n = t.getBoundingClientRect();
565
- $t.value = {
573
+ tn.value = {
566
574
  x: n.left + n.width / 2,
567
575
  y: n.top + n.height / 2
568
576
  };
569
577
  }
570
- function Bn(e, t, n, r, i = "pointer", o = null) {
578
+ function Hn(e, t, n, r, a = "pointer", o = null) {
571
579
  if (L.value.events.datapointEnter && L.value.events.datapointEnter({
572
580
  datapoint: e,
573
581
  seriesIndex: t
574
582
  }), !B.value.showTooltip) return;
575
- en.value = i, I.value = o, Qt.value = e.id, P.value = {
583
+ nn.value = a, I.value = o, en.value = e.id, F.value = {
576
584
  x: n,
577
585
  y: r
578
586
  };
579
- let { value: c, yAxisName: l, xAxisName: d, id: f } = e;
580
- Pt.value = f, Z.value = c, Ln.value = {
587
+ let { value: l, yAxisName: u, xAxisName: d, id: f } = e;
588
+ Ft.value = f, Z.value = l, zn.value = {
581
589
  datapoint: e,
582
590
  seriesIndex: t,
583
591
  series: X.value,
584
592
  config: L.value
585
- }, Mt.value = !0;
586
- let m = "", h = L.value.style.tooltip.customFormat;
587
- s(h) && p(() => h({
593
+ }, Nt.value = !0;
594
+ let p = "", m = L.value.style.tooltip.customFormat;
595
+ ee(m) && s(() => m({
588
596
  datapoint: e,
589
597
  seriesIndex: t,
590
598
  series: X.value,
591
599
  config: L.value
592
- })) ? Nt.value = h({
600
+ })) ? Pt.value = m({
593
601
  datapoint: e,
594
602
  seriesIndex: t,
595
603
  series: X.value,
596
604
  config: L.value
597
- }) : (m += `<div>${l} ${d ? l ? ` - ${d}` : `${d}` : ""}</div>`, m += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${ee(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Tn.value, q.value, c)}">⬤</span><span>${isNaN(c) ? "-" : u(L.value.style.layout.cells.value.formatter, c, a({
605
+ }) : (p += `<div>${u} ${d ? u ? ` - ${d}` : `${d}` : ""}</div>`, p += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${L.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${h(L.value.style.layout.cells.colors.cold, L.value.style.layout.cells.colors.hot, Dn.value, q.value, l)}">⬤</span><span>${isNaN(l) ? "-" : c(L.value.style.layout.cells.value.formatter, l, i({
598
606
  p: L.value.style.layout.dataLabels.prefix,
599
- v: c,
607
+ v: l,
600
608
  s: L.value.style.layout.dataLabels.suffix,
601
609
  r: L.value.style.tooltip.roundingValue
602
610
  }), {
603
611
  datapoint: e,
604
612
  seriesIndex: t
605
- })}</span></div>`, Nt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${m}</div>`), i === "keyboard" && Ee(() => {
606
- zn(e.id);
613
+ })}</span></div>`, Pt.value = `<div style="font-size:${L.value.style.tooltip.fontSize}px">${p}</div>`), a === "keyboard" && De(() => {
614
+ Vn(e.id);
607
615
  });
608
616
  }
609
- function Vn({ datapoint: e, seriesIndex: t }) {
617
+ function Un({ datapoint: e, seriesIndex: t }) {
610
618
  L.value.events.datapointLeave && L.value.events.datapointLeave({
611
619
  datapoint: e,
612
620
  seriesIndex: t
613
- }), !(Qt.value === e.id && en.value === "keyboard") && (Mt.value = !1, Pt.value = void 0, Z.value = null, P.value = null);
621
+ }), !(en.value === e.id && nn.value === "keyboard") && (Nt.value = !1, Ft.value = void 0, Z.value = null, F.value = null);
614
622
  }
615
- function Hn(e) {
616
- return u(L.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, a({
623
+ function Wn(e) {
624
+ return c(L.value.style.layout.cells.value.formatter, Y.value.yTotals[e].total, i({
617
625
  p: L.value.style.layout.dataLabels.prefix,
618
626
  v: Y.value.yTotals[e].total,
619
627
  s: L.value.style.layout.dataLabels.suffix,
@@ -623,8 +631,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
623
631
  rowIndex: e
624
632
  });
625
633
  }
626
- function Un(e) {
627
- return u(L.value.style.layout.cells.value.formatter, Y.value.xTotals[e].total, a({
634
+ function Gn(e) {
635
+ return c(L.value.style.layout.cells.value.formatter, Y.value.xTotals[e].total, i({
628
636
  p: L.value.style.layout.dataLabels.prefix,
629
637
  v: Y.value.xTotals[e].total,
630
638
  s: L.value.style.layout.dataLabels.suffix,
@@ -638,13 +646,13 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
638
646
  head: R.value.map((e) => ({ name: e.name })),
639
647
  body: R.value.map((e) => e.values)
640
648
  }));
641
- function Wn(e = null) {
642
- Ee(() => {
643
- let t = ["", ...R.value.map((e, t) => e.name)], r = [];
649
+ function Kn(e = null) {
650
+ De(() => {
651
+ let r = ["", ...R.value.map((e, t) => e.name)], i = [];
644
652
  for (let e = 0; e < Y.value.xLabels.length; e += 1) {
645
653
  let t = [Y.value.xLabels[e]];
646
654
  for (let n = 0; n < R.value.length; n += 1) t.push([R.value[n].values[e]]);
647
- r.push(t);
655
+ i.push(t);
648
656
  }
649
657
  let a = n([
650
658
  [L.value.style.title.text],
@@ -654,41 +662,41 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
654
662
  [""],
655
663
  [""]
656
664
  ],
657
- t
658
- ].concat(r));
659
- e ? e(a) : i({
665
+ r
666
+ ].concat(i));
667
+ e ? e(a) : t({
660
668
  csvContent: a,
661
669
  title: L.value.style.title.text || "vue-ui-heatmap"
662
670
  });
663
671
  });
664
672
  }
665
- let Q = E(!1);
666
- function Gn(e) {
667
- Q.value = e, Ft.value += 1;
673
+ let Q = D(!1);
674
+ function qn(e) {
675
+ Q.value = e, It.value += 1;
668
676
  }
669
- function Kn() {
677
+ function Jn() {
670
678
  B.value.showTable = !B.value.showTable;
671
679
  }
672
- function qn() {
680
+ function Yn() {
673
681
  B.value.showTooltip = !B.value.showTooltip;
674
682
  }
675
- let Jn = E(!1);
676
- function Yn() {
677
- Jn.value = !Jn.value;
683
+ let Xn = D(!1);
684
+ function Zn() {
685
+ Xn.value = !Xn.value;
678
686
  }
679
- function Xn(e, t) {
687
+ function Qn(e, t) {
680
688
  L.value.events.datapointClick && L.value.events.datapointClick({
681
689
  datapoint: e,
682
690
  seriesIndex: t
683
- }), kt("selectDatapoint", e);
691
+ }), At("selectDatapoint", e);
684
692
  }
685
- function Zn() {
693
+ function $n() {
686
694
  return X.value;
687
695
  }
688
- async function Qn({ scale: e = 2 } = {}) {
689
- if (!N.value) return;
690
- let { width: t, height: n } = N.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ue({
691
- domElement: N.value,
696
+ async function er({ scale: e = 2 } = {}) {
697
+ if (!P.value) return;
698
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await fe({
699
+ domElement: P.value,
692
700
  base64: !0,
693
701
  img: !0,
694
702
  scale: e
@@ -702,14 +710,14 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
702
710
  aspectRatio: r
703
711
  };
704
712
  }
705
- let $n = _(() => ({
713
+ let tr = _(() => ({
706
714
  start: 0,
707
715
  end: H.value
708
- })), er = _(() => Y.value.xLabels);
709
- le({
710
- timeLabelsEls: Jt,
711
- timeLabels: er,
712
- slicer: $n,
716
+ })), nr = _(() => Y.value.xLabels);
717
+ de({
718
+ timeLabelsEls: Yt,
719
+ timeLabels: nr,
720
+ slicer: tr,
713
721
  configRef: L,
714
722
  rotationPath: [
715
723
  "style",
@@ -729,12 +737,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
729
737
  isAutoSize: !1,
730
738
  targetClass: ".vue-ui-heatmap-col-name",
731
739
  rotation: L.value.style.layout.dataLabels.xAxis.autoRotate.angle,
732
- width: xn,
733
- height: Sn
734
- }), le({
735
- timeLabelsEls: Yt,
736
- timeLabels: er,
737
- slicer: $n,
740
+ width: Cn,
741
+ height: wn
742
+ }), de({
743
+ timeLabelsEls: Xt,
744
+ timeLabels: nr,
745
+ slicer: tr,
738
746
  configRef: L,
739
747
  rotationPath: [
740
748
  "style",
@@ -756,13 +764,13 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
756
764
  isAutoSize: !1,
757
765
  targetClass: ".vue-ui-heatmap-col-total",
758
766
  rotation: L.value.style.layout.cells.columnTotal.value.autoRotate.angle,
759
- width: xn,
760
- height: Sn
767
+ width: Cn,
768
+ height: wn
761
769
  });
762
- let tr = _(() => {
770
+ let rr = _(() => {
763
771
  let e = L.value.table.useDialog && !L.value.table.show, t = B.value.showTable;
764
772
  return {
765
- component: e ? Tt : he,
773
+ component: e ? Et : _e,
766
774
  title: `${L.value.style.title.text}${L.value.style.title.subtitle.text ? `: ${L.value.style.title.subtitle.text}` : ""}`,
767
775
  props: e ? {
768
776
  backgroundColor: L.value.table.th.backgroundColor,
@@ -770,9 +778,9 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
770
778
  headerColor: L.value.table.th.color,
771
779
  headerBg: L.value.table.th.backgroundColor,
772
780
  isFullscreen: Q.value,
773
- fullscreenParent: N.value,
781
+ fullscreenParent: P.value,
774
782
  forcedWidth: Math.min(800, window.innerWidth * .8),
775
- isCursorPointer: nn.value
783
+ isCursorPointer: an.value
776
784
  } : {
777
785
  hideDetails: !0,
778
786
  config: {
@@ -790,47 +798,47 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
790
798
  }
791
799
  };
792
800
  });
793
- Ie(() => B.value.showTable, async (e) => {
794
- L.value.table.show || (e && L.value.table.useDialog && zt.value ? (await Ee(), zt.value.open()) : "close" in zt.value && zt.value.close());
801
+ Le(() => B.value.showTable, async (e) => {
802
+ L.value.table.show || (e && L.value.table.useDialog && Bt.value ? (await De(), Bt.value.open()) : "close" in Bt.value && Bt.value.close());
795
803
  });
796
- let { isResponsive: nr } = ye(It, vn);
797
- function rr() {
798
- B.value.showTable = !1, Bt.value && Bt.value.setTableIconState(!1);
804
+ let { isResponsive: ir } = xe(Lt, bn);
805
+ function ar() {
806
+ B.value.showTable = !1, Vt.value && Vt.value.setTableIconState(!1);
799
807
  }
800
- let ir = _(() => L.value.style.backgroundColor), { exportSvg: ar, getSvg: or } = oe({
808
+ let or = _(() => L.value.style.backgroundColor), { exportSvg: sr, getSvg: cr } = ce({
801
809
  svg: z,
802
810
  title: _(() => L.value.style.title),
803
- backgroundColor: ir
811
+ backgroundColor: or
804
812
  });
805
- async function sr({ isCb: e }) {
806
- Ht.value = !0, await Ee();
813
+ async function lr({ isCb: e }) {
814
+ Ut.value = !0, await De();
807
815
  try {
808
816
  if (e) {
809
- let { blob: e, url: t, text: n, dataUrl: r } = await or();
817
+ let { blob: e, url: t, text: n, dataUrl: r } = await cr();
810
818
  await Promise.resolve(L.value.userOptions.callbacks.svg({
811
819
  blob: e,
812
820
  url: t,
813
821
  text: n,
814
822
  dataUrl: r
815
823
  }));
816
- } else await Promise.resolve(ar());
824
+ } else await Promise.resolve(sr());
817
825
  } finally {
818
- Ht.value = !1;
826
+ Ut.value = !1;
819
827
  }
820
828
  }
821
- function cr(e) {
829
+ function ur(e) {
822
830
  if (e?.stage === "start") {
823
- Vt.value = !0;
831
+ Ht.value = !0;
824
832
  return;
825
833
  }
826
834
  if (e?.stage === "end") {
827
- Vt.value = !1;
835
+ Ht.value = !1;
828
836
  return;
829
837
  }
830
- gn();
838
+ vn();
831
839
  }
832
- async function lr() {
833
- if (kt("copyAlt", {
840
+ async function dr() {
841
+ if (At("copyAlt", {
834
842
  config: L.value,
835
843
  dataset: X.value
836
844
  }), !L.value.userOptions.callbacks.altCopy) {
@@ -842,7 +850,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
842
850
  dataset: X.value
843
851
  }));
844
852
  }
845
- function ur(e, t) {
853
+ function fr(e, t) {
846
854
  let n = X.value[e];
847
855
  if (!n) return null;
848
856
  let r = n.temperatures[t];
@@ -852,85 +860,85 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
852
860
  columnIndex: t
853
861
  } : null;
854
862
  }
855
- function dr(e, t) {
863
+ function pr(e, t) {
856
864
  let n = 0;
857
865
  for (let t = 0; t < e; t += 1) n += X.value[t]?.temperatures?.length || 0;
858
866
  return n + t;
859
867
  }
860
- function fr() {
861
- I.value = null, Qt.value = null, tn.value = !0;
868
+ function mr() {
869
+ I.value = null, en.value = null, rn.value = !0;
862
870
  }
863
- function pr() {
864
- Rn(), tn.value = !1;
871
+ function hr() {
872
+ Bn(), rn.value = !1;
865
873
  }
866
- function mr(e) {
867
- if (!z.value || Jn.value || document.activeElement !== z.value || !$.value.length) return;
874
+ function gr(e) {
875
+ if (!z.value || Xn.value || document.activeElement !== z.value || !$.value.length) return;
868
876
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "ArrowUp", i = e.key === "ArrowDown", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
869
877
  if (!t && !n && !r && !i && !a && !o) return;
870
878
  if (e.preventDefault(), e.stopPropagation(), o) {
871
- Rn();
879
+ Bn();
872
880
  return;
873
881
  }
874
882
  if (a) {
875
883
  if (I.value === null) return;
876
884
  let e = $.value[I.value];
877
885
  if (!e) return;
878
- Xn(e.cell, e.rowIndex);
886
+ Qn(e.cell, e.rowIndex);
879
887
  return;
880
888
  }
881
889
  let s = I.value === null ? null : $.value[I.value];
882
890
  if (!s) {
883
- let e = Pt.value ? $.value.findIndex((e) => e.cell.id === Pt.value) : null;
891
+ let e = Ft.value ? $.value.findIndex((e) => e.cell.id === Ft.value) : null;
884
892
  if (e !== null && e >= 0 && e < $.value.length) {
885
893
  let a = $.value[e];
886
894
  if (!a) return;
887
895
  let o = a.rowIndex, s = a.columnIndex;
888
896
  n ? s += 1 : t ? --s : i ? o += 1 : r && --o;
889
- let c = gr.value.rowCount;
897
+ let c = vr.value.rowCount;
890
898
  if (c <= 0) return;
891
899
  o < 0 && (o = c - 1), o >= c && (o = 0);
892
900
  let l = X.value[o];
893
901
  if (!l || !l.temperatures.length) return;
894
902
  let u = l.temperatures.length;
895
903
  s < 0 && (s = u - 1), s >= u && (s = 0);
896
- let d = ur(o, s);
904
+ let d = fr(o, s);
897
905
  if (!d) return;
898
- let f = dr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
899
- Bn(d.cell, d.rowIndex, p, m, "keyboard", f);
906
+ let f = pr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
907
+ Hn(d.cell, d.rowIndex, p, m, "keyboard", f);
900
908
  return;
901
909
  }
902
910
  let a = $.value[0];
903
911
  if (!a) return;
904
912
  let o = K.value.left + K.value.cellSize.width * a.columnIndex, s = K.value.top + K.value.cellSize.height * a.rowIndex;
905
- Bn(a.cell, a.rowIndex, o, s, "keyboard", 0);
913
+ Hn(a.cell, a.rowIndex, o, s, "keyboard", 0);
906
914
  return;
907
915
  }
908
916
  let c = s.rowIndex, l = s.columnIndex;
909
917
  n ? l += 1 : t ? --l : i ? c += 1 : r && --c;
910
- let u = gr.value.rowCount;
918
+ let u = vr.value.rowCount;
911
919
  if (u <= 0) return;
912
920
  c < 0 && (c = u - 1), c >= u && (c = 0);
913
921
  let d = X.value[c];
914
922
  if (!d || !d.temperatures.length) return;
915
923
  let f = d.temperatures.length;
916
924
  l < 0 && (l = f - 1), l >= f && (l = 0);
917
- let p = ur(c, l);
925
+ let p = fr(c, l);
918
926
  if (!p) return;
919
- let m = dr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, h = K.value.top + K.value.cellSize.height * p.rowIndex;
920
- Bn(p.cell, p.rowIndex, ee, h, "keyboard", m);
927
+ let m = pr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, h = K.value.top + K.value.cellSize.height * p.rowIndex;
928
+ Hn(p.cell, p.rowIndex, ee, h, "keyboard", m);
921
929
  }
922
- let hr = _(() => ({
930
+ let _r = _(() => ({
923
931
  headers: [L.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
924
932
  rows: Y.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
925
933
  let n = e.values?.[t];
926
- return isNaN(n) ? "-" : a({
934
+ return isNaN(n) ? "-" : i({
927
935
  p: L.value.style.layout.dataLabels.prefix,
928
936
  v: n,
929
937
  s: L.value.style.layout.dataLabels.suffix,
930
938
  r: L.value.table.td.roundingValue
931
939
  });
932
940
  })])
933
- })), gr = _(() => ({
941
+ })), vr = _(() => ({
934
942
  rowCount: X.value.length,
935
943
  columnCount: Math.max(0, ...X.value.map((e) => e.temperatures.length))
936
944
  })), $ = _(() => X.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
@@ -938,38 +946,38 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
938
946
  rowIndex: t,
939
947
  columnIndex: n
940
948
  }))));
941
- return fe({
942
- getData: Zn,
943
- getImage: Qn,
944
- generatePdf: hn,
945
- generateCsv: Wn,
946
- generateImage: gn,
947
- generateSvg: sr,
948
- toggleTable: Kn,
949
- toggleTooltip: qn,
950
- toggleAnnotator: Yn,
951
- toggleFullscreen: Gn,
952
- copyAlt: lr
953
- }), (t, n) => (T(), y("div", {
949
+ return me({
950
+ getData: $n,
951
+ getImage: er,
952
+ generatePdf: _n,
953
+ generateCsv: Kn,
954
+ generateImage: vn,
955
+ generateSvg: lr,
956
+ toggleTable: Jn,
957
+ toggleTooltip: Yn,
958
+ toggleAnnotator: Zn,
959
+ toggleFullscreen: qn,
960
+ copyAlt: dr
961
+ }), (t, n) => (E(), b("div", {
954
962
  ref_key: "heatmapChart",
955
- ref: N,
956
- class: De(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
957
- style: w(`font-family:${L.value.style.fontFamily};width:100%;${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.backgroundColor}`),
958
- id: `heatmap__${jt.value}`,
959
- onMouseenter: n[1] ||= () => dn(!0),
963
+ ref: P,
964
+ class: Oe(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
965
+ style: T(`font-family:${L.value.style.fontFamily};width:100%;${L.value.responsive ? "height: 100%;" : ""} text-align:center;background:${L.value.style.backgroundColor}`),
966
+ id: `heatmap__${Mt.value}`,
967
+ onMouseenter: n[1] ||= () => pn(!0),
960
968
  onMouseleave: n[2] ||= () => {
961
- dn(!1), tn.value || Rn();
969
+ pn(!1), rn.value || Bn();
962
970
  }
963
971
  }, [
964
- b("div", {
965
- id: `chart-instructions-${jt.value}`,
972
+ x("div", {
973
+ id: `chart-instructions-${Mt.value}`,
966
974
  class: "sr-only"
967
- }, [b("p", null, k(L.value.a11y.translations.keyboardNavigation), 1)], 8, Ge),
968
- hr.value?.rows?.length ? (T(), xe(ge, {
975
+ }, [x("p", null, A(L.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
976
+ _r.value?.rows?.length ? (E(), v(ve, {
969
977
  key: 0,
970
- uid: jt.value,
971
- head: hr.value.headers,
972
- body: hr.value.rows,
978
+ uid: Mt.value,
979
+ head: _r.value.headers,
980
+ body: _r.value.rows,
973
981
  notice: L.value.a11y.translations.tableAvailable,
974
982
  caption: L.value.a11y.translations.tableCaption
975
983
  }, null, 8, [
@@ -978,22 +986,22 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
978
986
  "body",
979
987
  "notice",
980
988
  "caption"
981
- ])) : v("", !0),
982
- L.value.userOptions.buttons.annotator ? (T(), xe(A(St), {
989
+ ])) : y("", !0),
990
+ L.value.userOptions.buttons.annotator ? (E(), v(j(Ct), {
983
991
  key: 1,
984
- svgRef: A(z),
992
+ svgRef: j(z),
985
993
  backgroundColor: L.value.style.backgroundColor,
986
994
  color: L.value.style.color,
987
- active: Jn.value,
988
- isCursorPointer: nn.value,
989
- onClose: Yn
995
+ active: Xn.value,
996
+ isCursorPointer: an.value,
997
+ onClose: Zn
990
998
  }, {
991
- "annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
992
- "annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
993
- "annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
994
- "annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
995
- "annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
996
- "annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
999
+ "annotator-action-close": M(() => [k(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1000
+ "annotator-action-color": M(({ color: e }) => [k(t.$slots, "annotator-action-color", w(C({ color: e })), void 0, !0)]),
1001
+ "annotator-action-draw": M(({ mode: e }) => [k(t.$slots, "annotator-action-draw", w(C({ mode: e })), void 0, !0)]),
1002
+ "annotator-action-undo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-undo", w(C({ disabled: e })), void 0, !0)]),
1003
+ "annotator-action-redo": M(({ disabled: e }) => [k(t.$slots, "annotator-action-redo", w(C({ disabled: e })), void 0, !0)]),
1004
+ "annotator-action-delete": M(({ disabled: e }) => [k(t.$slots, "annotator-action-delete", w(C({ disabled: e })), void 0, !0)]),
997
1005
  _: 3
998
1006
  }, 8, [
999
1007
  "svgRef",
@@ -1001,21 +1009,21 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1001
1009
  "color",
1002
1010
  "active",
1003
1011
  "isCursorPointer"
1004
- ])) : v("", !0),
1005
- _n.value ? (T(), y("div", {
1012
+ ])) : y("", !0),
1013
+ yn.value ? (E(), b("div", {
1006
1014
  key: 2,
1007
1015
  ref_key: "noTitle",
1008
- ref: Wt,
1016
+ ref: Gt,
1009
1017
  class: "vue-data-ui-no-title-space",
1010
1018
  style: "height:36px; width: 100%;background:transparent"
1011
- }, null, 512)) : v("", !0),
1012
- L.value.style.title.text ? (T(), y("div", {
1019
+ }, null, 512)) : y("", !0),
1020
+ L.value.style.title.text ? (E(), b("div", {
1013
1021
  key: 3,
1014
1022
  ref_key: "chartTitle",
1015
- ref: Ut,
1023
+ ref: Wt,
1016
1024
  style: "width:100%;background:transparent"
1017
- }, [(T(), xe(de, {
1018
- key: `title_${Lt.value}`,
1025
+ }, [(E(), v(pe, {
1026
+ key: `title_${Rt.value}`,
1019
1027
  config: {
1020
1028
  title: {
1021
1029
  cy: "heatmap-div-title",
@@ -1026,16 +1034,16 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1026
1034
  ...L.value.style.title.subtitle
1027
1035
  }
1028
1036
  }
1029
- }, null, 8, ["config"]))], 512)) : v("", !0),
1030
- L.value.userOptions.show && At.value && (A(un) || A(cn)) ? (T(), xe(A(Ct), {
1037
+ }, null, 8, ["config"]))], 512)) : y("", !0),
1038
+ L.value.userOptions.show && jt.value && (j(fn) || j(un)) ? (E(), v(j(wt), {
1031
1039
  ref_key: "userOptionsRef",
1032
- ref: Bt,
1033
- key: `user_options_${Ft.value}`,
1040
+ ref: Vt,
1041
+ key: `user_options_${It.value}`,
1034
1042
  backgroundColor: L.value.style.backgroundColor,
1035
1043
  color: L.value.style.color,
1036
- isImaging: A(mn),
1037
- isPrinting: A(pn),
1038
- uid: jt.value,
1044
+ isImaging: j(gn),
1045
+ isPrinting: j(hn),
1046
+ uid: Mt.value,
1039
1047
  hasTooltip: L.value.userOptions.buttons.tooltip && L.value.style.tooltip.show,
1040
1048
  hasPdf: L.value.userOptions.buttons.pdf,
1041
1049
  hasImg: L.value.userOptions.buttons.img,
@@ -1047,28 +1055,28 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1047
1055
  isFullscreen: Q.value,
1048
1056
  isTooltip: B.value.showTooltip,
1049
1057
  titles: { ...L.value.userOptions.buttonTitles },
1050
- chartElement: N.value,
1058
+ chartElement: P.value,
1051
1059
  position: L.value.userOptions.position,
1052
1060
  hasAnnotator: L.value.userOptions.buttons.annotator,
1053
- isAnnotation: Jn.value,
1061
+ isAnnotation: Xn.value,
1054
1062
  callbacks: L.value.userOptions.callbacks,
1055
1063
  printScale: L.value.userOptions.print.scale,
1056
1064
  tableDialog: L.value.table.useDialog,
1057
- isCursorPointer: nn.value,
1058
- onToggleFullscreen: Gn,
1059
- onGeneratePdf: A(hn),
1060
- onGenerateCsv: Wn,
1061
- onGenerateImage: cr,
1062
- onGenerateSvg: sr,
1063
- onToggleTable: Kn,
1064
- onToggleTooltip: qn,
1065
- onToggleAnnotator: Yn,
1066
- onCopyAlt: lr,
1067
- style: w({ visibility: A(un) ? A(cn) ? "visible" : "hidden" : "visible" })
1068
- }, Se({ _: 2 }, [
1065
+ isCursorPointer: an.value,
1066
+ onToggleFullscreen: qn,
1067
+ onGeneratePdf: j(_n),
1068
+ onGenerateCsv: Kn,
1069
+ onGenerateImage: ur,
1070
+ onGenerateSvg: lr,
1071
+ onToggleTable: Jn,
1072
+ onToggleTooltip: Yn,
1073
+ onToggleAnnotator: Zn,
1074
+ onCopyAlt: dr,
1075
+ style: T({ visibility: j(fn) ? j(un) ? "visible" : "hidden" : "visible" })
1076
+ }, Ce({ _: 2 }, [
1069
1077
  t.$slots.menuIcon ? {
1070
1078
  name: "menuIcon",
1071
- fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
1079
+ fn: M(({ isOpen: e, color: n }) => [k(t.$slots, "menuIcon", w(C({
1072
1080
  isOpen: e,
1073
1081
  color: n
1074
1082
  })), void 0, !0)]),
@@ -1076,37 +1084,37 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1076
1084
  } : void 0,
1077
1085
  t.$slots.optionTooltip ? {
1078
1086
  name: "optionTooltip",
1079
- fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
1087
+ fn: M(() => [k(t.$slots, "optionTooltip", {}, void 0, !0)]),
1080
1088
  key: "1"
1081
1089
  } : void 0,
1082
1090
  t.$slots.optionPdf ? {
1083
1091
  name: "optionPdf",
1084
- fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
1092
+ fn: M(() => [k(t.$slots, "optionPdf", {}, void 0, !0)]),
1085
1093
  key: "2"
1086
1094
  } : void 0,
1087
1095
  t.$slots.optionCsv ? {
1088
1096
  name: "optionCsv",
1089
- fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
1097
+ fn: M(() => [k(t.$slots, "optionCsv", {}, void 0, !0)]),
1090
1098
  key: "3"
1091
1099
  } : void 0,
1092
1100
  t.$slots.optionImg ? {
1093
1101
  name: "optionImg",
1094
- fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
1102
+ fn: M(() => [k(t.$slots, "optionImg", {}, void 0, !0)]),
1095
1103
  key: "4"
1096
1104
  } : void 0,
1097
1105
  t.$slots.optionSvg ? {
1098
1106
  name: "optionSvg",
1099
- fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
1107
+ fn: M(() => [k(t.$slots, "optionSvg", {}, void 0, !0)]),
1100
1108
  key: "5"
1101
1109
  } : void 0,
1102
1110
  t.$slots.optionTable ? {
1103
1111
  name: "optionTable",
1104
- fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
1112
+ fn: M(() => [k(t.$slots, "optionTable", {}, void 0, !0)]),
1105
1113
  key: "6"
1106
1114
  } : void 0,
1107
1115
  t.$slots.optionFullscreen ? {
1108
1116
  name: "optionFullscreen",
1109
- fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
1117
+ fn: M(({ toggleFullscreen: e, isFullscreen: n }) => [k(t.$slots, "optionFullscreen", w(C({
1110
1118
  toggleFullscreen: e,
1111
1119
  isFullscreen: n
1112
1120
  })), void 0, !0)]),
@@ -1114,7 +1122,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1114
1122
  } : void 0,
1115
1123
  t.$slots.optionAnnotator ? {
1116
1124
  name: "optionAnnotator",
1117
- fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
1125
+ fn: M(({ toggleAnnotator: e, isAnnotator: n }) => [k(t.$slots, "optionAnnotator", w(C({
1118
1126
  toggleAnnotator: e,
1119
1127
  isAnnotator: n
1120
1128
  })), void 0, !0)]),
@@ -1122,58 +1130,58 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1122
1130
  } : void 0,
1123
1131
  t.$slots.optionAltCopy ? {
1124
1132
  name: "optionAltCopy",
1125
- fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
1133
+ fn: M(({ altCopy: e }) => [k(t.$slots, "optionAltCopy", w(C({ altCopy: e })), void 0, !0)]),
1126
1134
  key: "9"
1127
1135
  } : void 0,
1128
1136
  t.$slots["custom-menu-before"] ? {
1129
1137
  name: "custom-menu-before",
1130
- fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1138
+ fn: M(() => [k(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1131
1139
  key: "10"
1132
1140
  } : void 0,
1133
1141
  t.$slots["custom-menu-after"] ? {
1134
1142
  name: "custom-menu-after",
1135
- fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1143
+ fn: M(() => [k(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1136
1144
  key: "11"
1137
1145
  } : void 0
1138
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : v("", !0),
1139
- b("div", { class: De({
1146
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
1147
+ x("div", { class: Oe({
1140
1148
  "vue-ui-heatmap-chart-wrapper": !0,
1141
1149
  "vue-ui-heatmap-chart-wrapper-legend-right": L.value.style.legend.show
1142
1150
  }) }, [
1143
- (T(), y("svg", {
1151
+ (E(), b("svg", {
1144
1152
  ref_key: "svgRef",
1145
1153
  ref: z,
1146
- xmlns: A(m),
1147
- "aria-describedby": `chart-instructions-${jt.value}`,
1148
- class: De({
1154
+ xmlns: j(p),
1155
+ "aria-describedby": `chart-instructions-${Mt.value}`,
1156
+ class: Oe({
1149
1157
  "vue-data-ui-fullscreen--on": Q.value,
1150
1158
  "vue-data-ui-fulscreen--off": !Q.value
1151
1159
  }),
1152
1160
  viewBox: `0 0 ${U.value.width} ${U.value.height}`,
1153
1161
  width: "100%",
1154
- style: w(`overflow: visible; background:transparent;color:${L.value.style.color}`),
1162
+ style: T(`overflow: visible; background:transparent;color:${L.value.style.color}`),
1155
1163
  "aria-live": "polite",
1156
1164
  role: "img",
1157
1165
  preserveAspectRatio: "xMidYMid",
1158
1166
  tabindex: "0",
1159
- onFocus: fr,
1160
- onBlur: pr,
1161
- onKeydown: mr
1167
+ onFocus: mr,
1168
+ onBlur: hr,
1169
+ onKeydown: gr
1162
1170
  }, [
1163
- we(A(wt)),
1164
- t.$slots["chart-background"] ? (T(), y("foreignObject", {
1171
+ Te(j(Tt)),
1172
+ t.$slots["chart-background"] ? (E(), b("foreignObject", {
1165
1173
  key: 0,
1166
1174
  x: K.value.left,
1167
1175
  y: K.value.top,
1168
1176
  width: K.value.width,
1169
1177
  height: K.value.height,
1170
1178
  style: { pointerEvents: "none" }
1171
- }, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, qe)) : v("", !0),
1172
- L.value.style.layout.cells.columnTotal.color.show ? (T(), y("g", {
1179
+ }, [k(t.$slots, "chart-background", {}, void 0, !0)], 8, Je)) : y("", !0),
1180
+ L.value.style.layout.cells.columnTotal.color.show ? (E(), b("g", {
1173
1181
  key: 1,
1174
1182
  ref_key: "xAxisSumRects",
1175
- ref: Xt
1176
- }, [(T(!0), y(g, null, D(Y.value.xTotals, (e, t) => (T(), y("rect", {
1183
+ ref: Zt
1184
+ }, [(E(!0), b(g, null, O(Y.value.xTotals, (e, t) => (E(), b("rect", {
1177
1185
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1178
1186
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
1179
1187
  height: K.value.sumCellXHeight,
@@ -1181,7 +1189,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1181
1189
  fill: L.value.style.layout.cells.colors.underlayer,
1182
1190
  stroke: L.value.style.backgroundColor,
1183
1191
  "stroke-width": G.value
1184
- }, null, 8, Je))), 256)), (T(!0), y(g, null, D(Y.value.xTotals, (e, t) => (T(), y("rect", {
1192
+ }, null, 8, Ye))), 256)), (E(!0), b(g, null, O(Y.value.xTotals, (e, t) => (E(), b("rect", {
1185
1193
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1186
1194
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
1187
1195
  height: K.value.sumCellXHeight,
@@ -1189,12 +1197,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1189
1197
  fill: e.color,
1190
1198
  stroke: L.value.style.backgroundColor,
1191
1199
  "stroke-width": G.value
1192
- }, null, 8, Ye))), 256))], 512)) : v("", !0),
1193
- b("g", {
1200
+ }, null, 8, Xe))), 256))], 512)) : y("", !0),
1201
+ x("g", {
1194
1202
  ref_key: "datapoints",
1195
- ref: Rt
1196
- }, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [(T(!0), y(g, null, D(e.temperatures, (e, n) => (T(), y("g", null, [
1197
- b("rect", {
1203
+ ref: zt
1204
+ }, [(E(!0), b(g, null, O(X.value, (e, t) => (E(), b(g, null, [(E(!0), b(g, null, O(e.temperatures, (e, n) => (E(), b("g", null, [
1205
+ x("rect", {
1198
1206
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
1199
1207
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
1200
1208
  width: K.value.cellSize.width - G.value,
@@ -1202,8 +1210,8 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1202
1210
  fill: L.value.style.layout.cells.colors.underlayer,
1203
1211
  stroke: L.value.style.backgroundColor,
1204
1212
  "stroke-width": G.value
1205
- }, null, 8, Xe),
1206
- b("rect", {
1213
+ }, null, 8, Ze),
1214
+ x("rect", {
1207
1215
  "data-a11y-cell-id": e.id,
1208
1216
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
1209
1217
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
@@ -1213,47 +1221,47 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1213
1221
  stroke: L.value.style.backgroundColor,
1214
1222
  "stroke-width": G.value,
1215
1223
  "aria-label": `${e.yAxisName}${e.xAxisName ? ` - ${e.xAxisName}` : ""}: ${isNaN(e.value) ? "-" : e.value}`,
1216
- onMouseover: (r) => Bn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", dr(t, n)),
1217
- onMouseout: () => Vn({
1224
+ onMouseover: (r) => Hn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", pr(t, n)),
1225
+ onMouseout: () => Un({
1218
1226
  datapoint: e,
1219
1227
  seriesIndex: t
1220
1228
  }),
1221
- onClick: () => Xn(e, t)
1222
- }, null, 40, Ze),
1223
- L.value.style.layout.cells.value.show ? Re((T(), y("text", {
1229
+ onClick: () => Qn(e, t)
1230
+ }, null, 40, Qe),
1231
+ L.value.style.layout.cells.value.show ? ze((E(), b("text", {
1224
1232
  key: 0,
1225
1233
  "text-anchor": "middle",
1226
1234
  "font-size": L.value.style.layout.cells.value.fontSize,
1227
1235
  "font-weight": L.value.style.layout.cells.value.bold ? "bold" : "normal",
1228
- fill: A(f)(e.color),
1236
+ fill: j(f)(e.color),
1229
1237
  x: K.value.left + K.value.cellSize.width * n + K.value.cellSize.width / 2 + K.value.sumCellXHeight,
1230
1238
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.cells.value.fontSize / 3,
1231
1239
  style: {
1232
1240
  pointerEvents: "none",
1233
1241
  userSelect: "none"
1234
1242
  }
1235
- }, [Ce(k(A(u)(L.value.style.layout.cells.value.formatter, e.value, A(a)({
1243
+ }, [we(A(j(c)(L.value.style.layout.cells.value.formatter, e.value, j(i)({
1236
1244
  p: L.value.style.layout.dataLabels.prefix,
1237
1245
  v: e.value,
1238
1246
  s: L.value.style.layout.dataLabels.suffix,
1239
1247
  r: L.value.style.layout.cells.value.roundingValue
1240
- }), { datapoint: e })), 1)], 8, Qe)), [[A(Ve), {
1248
+ }), { datapoint: e })), 1)], 8, $e)), [[j(He), {
1241
1249
  cellWidth: K.value.cellSize.width - G.value,
1242
1250
  cellHeight: K.value.cellSize.height - G.value,
1243
1251
  maxFontSize: L.value.style.layout.cells.value.fontSize,
1244
1252
  minFontSize: 10,
1245
1253
  index: t * H.value + n,
1246
- reportHide: In,
1247
- reportRotation: Nn,
1248
- hideAll: Fn.value,
1249
- rotateAll: Mn.value
1250
- }]]) : v("", !0)
1254
+ reportHide: Rn,
1255
+ reportRotation: Fn,
1256
+ hideAll: Ln.value,
1257
+ rotateAll: Pn.value
1258
+ }]]) : y("", !0)
1251
1259
  ]))), 256))], 64))), 256))], 512),
1252
- L.value.style.layout.cells.rowTotal.color.show ? (T(), y("g", {
1260
+ L.value.style.layout.cells.rowTotal.color.show ? (E(), b("g", {
1253
1261
  key: 2,
1254
1262
  ref_key: "yAxisSumRects",
1255
- ref: qt
1256
- }, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [b("rect", {
1263
+ ref: Jt
1264
+ }, [(E(!0), b(g, null, O(X.value, (e, t) => (E(), b(g, null, [x("rect", {
1257
1265
  x: K.value.left,
1258
1266
  y: K.value.top + K.value.cellSize.height * t,
1259
1267
  width: K.value.sumCellXHeight,
@@ -1261,7 +1269,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1261
1269
  fill: L.value.style.layout.cells.colors.underlayer,
1262
1270
  stroke: L.value.style.backgroundColor,
1263
1271
  "stroke-width": G.value
1264
- }, null, 8, $e), b("rect", {
1272
+ }, null, 8, et), x("rect", {
1265
1273
  x: K.value.left,
1266
1274
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
1267
1275
  width: K.value.sumCellXHeight,
@@ -1269,12 +1277,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1269
1277
  fill: Y.value.yTotals[t].color,
1270
1278
  stroke: L.value.style.backgroundColor,
1271
1279
  "stroke-width": G.value
1272
- }, null, 8, et)], 64))), 256))], 512)) : v("", !0),
1273
- L.value.style.layout.dataLabels.yAxis.show ? (T(), y("g", {
1280
+ }, null, 8, tt)], 64))), 256))], 512)) : y("", !0),
1281
+ L.value.style.layout.dataLabels.yAxis.show ? (E(), b("g", {
1274
1282
  key: 3,
1275
1283
  ref_key: "yAxisLabels",
1276
- ref: Kt
1277
- }, [(T(!0), y(g, null, D(X.value, (e, t) => (T(), y(g, null, [b("text", {
1284
+ ref: qt
1285
+ }, [(E(!0), b(g, null, O(X.value, (e, t) => (E(), b(g, null, [x("text", {
1278
1286
  class: "vue-ui-heatmap-row-name",
1279
1287
  "font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
1280
1288
  fill: L.value.style.layout.dataLabels.yAxis.color,
@@ -1282,7 +1290,7 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1282
1290
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize / 3 + L.value.style.layout.dataLabels.yAxis.offsetY - (L.value.style.layout.cells.rowTotal.value.show ? L.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
1283
1291
  "text-anchor": "end",
1284
1292
  "font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1285
- }, k(Y.value.yLabels[t]), 9, tt), L.value.style.layout.cells.rowTotal.value.show ? (T(), y("text", {
1293
+ }, A(Y.value.yLabels[t]), 9, nt), L.value.style.layout.cells.rowTotal.value.show ? (E(), b("text", {
1286
1294
  key: 0,
1287
1295
  class: "vue-ui-heatmap-row-total",
1288
1296
  "font-size": L.value.style.layout.dataLabels.yAxis.fontSize,
@@ -1291,12 +1299,12 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1291
1299
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + L.value.style.layout.dataLabels.yAxis.fontSize + L.value.style.layout.dataLabels.yAxis.offsetY,
1292
1300
  "text-anchor": "end",
1293
1301
  "font-weight": L.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1294
- }, k(Hn(t)), 9, nt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
1295
- L.value.style.layout.dataLabels.xAxis.show ? (T(), y("g", {
1302
+ }, A(Wn(t)), 9, rt)) : y("", !0)], 64))), 256))], 512)) : y("", !0),
1303
+ L.value.style.layout.dataLabels.xAxis.show ? (E(), b("g", {
1296
1304
  key: 4,
1297
1305
  ref_key: "xAxisLabels",
1298
- ref: Jt
1299
- }, [(T(!0), y(g, null, D(Y.value.xLabels, (e, t) => (T(), y(g, null, [!L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && t % L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (T(), y("text", {
1306
+ ref: Yt
1307
+ }, [(E(!0), b(g, null, O(Y.value.xLabels, (e, t) => (E(), b(g, null, [!L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && t % L.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (E(), b("text", {
1300
1308
  key: 0,
1301
1309
  class: "vue-ui-heatmap-col-name",
1302
1310
  "text-anchor": L.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : L.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
@@ -1304,135 +1312,135 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1304
1312
  fill: L.value.style.layout.dataLabels.xAxis.color,
1305
1313
  "font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1306
1314
  transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${L.value.style.layout.dataLabels.xAxis.rotation})`
1307
- }, k(e), 9, rt)) : v("", !0)], 64))), 256))], 512)) : v("", !0),
1308
- L.value.style.layout.cells.columnTotal.value.show ? (T(), y("g", {
1315
+ }, A(e), 9, it)) : y("", !0)], 64))), 256))], 512)) : y("", !0),
1316
+ L.value.style.layout.cells.columnTotal.value.show ? (E(), b("g", {
1309
1317
  key: 5,
1310
1318
  ref_key: "xAxisSums",
1311
- ref: Yt
1312
- }, [(T(!0), y(g, null, D(Y.value.xLabels, (e, t) => (T(), y("text", {
1319
+ ref: Xt
1320
+ }, [(E(!0), b(g, null, O(Y.value.xLabels, (e, t) => (E(), b("text", {
1313
1321
  class: "vue-ui-heatmap-col-total",
1314
1322
  "text-anchor": L.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : L.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
1315
1323
  "font-size": L.value.style.layout.dataLabels.xAxis.fontSize,
1316
1324
  fill: L.value.style.layout.dataLabels.xAxis.color,
1317
1325
  "font-weight": L.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1318
1326
  transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + L.value.style.layout.dataLabels.xAxis.offsetX + L.value.style.layout.cells.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + L.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${L.value.style.layout.cells.columnTotal.value.rotation})`
1319
- }, k(Un(t)), 9, it))), 256))], 512)) : v("", !0),
1320
- P.value ? (T(), y("g", at, [b("rect", {
1327
+ }, A(Gn(t)), 9, at))), 256))], 512)) : y("", !0),
1328
+ F.value ? (E(), b("g", ot, [x("rect", {
1321
1329
  style: { "pointer-events": "none" },
1322
- x: P.value.x - L.value.style.layout.cells.selected.border / 2 + G.value + K.value.sumCellXHeight,
1323
- y: P.value.y - L.value.style.layout.cells.selected.border / 2 + G.value,
1330
+ x: F.value.x - L.value.style.layout.cells.selected.border / 2 + G.value + K.value.sumCellXHeight,
1331
+ y: F.value.y - L.value.style.layout.cells.selected.border / 2 + G.value,
1324
1332
  width: K.value.cellSize.width - G.value + L.value.style.layout.cells.selected.border - G.value,
1325
1333
  height: K.value.cellSize.height - G.value + L.value.style.layout.cells.selected.border - G.value,
1326
1334
  fill: "transparent",
1327
1335
  stroke: L.value.style.layout.cells.selected.color,
1328
1336
  "stroke-width": L.value.style.layout.cells.selected.border,
1329
1337
  rx: 1
1330
- }, null, 8, ot)])) : v("", !0),
1331
- L.value.style.layout.crosshairs.show && P.value ? (T(), y("g", st, [b("line", {
1338
+ }, null, 8, st)])) : y("", !0),
1339
+ L.value.style.layout.crosshairs.show && F.value ? (E(), b("g", ct, [x("line", {
1332
1340
  x1: K.value.left + K.value.sumCellXHeight,
1333
- x2: P.value.x + K.value.sumCellXHeight,
1334
- y1: P.value.y + (K.value.cellSize.height - G.value) / 2,
1335
- y2: P.value.y + (K.value.cellSize.height - G.value) / 2,
1341
+ x2: F.value.x + K.value.sumCellXHeight,
1342
+ y1: F.value.y + (K.value.cellSize.height - G.value) / 2,
1343
+ y2: F.value.y + (K.value.cellSize.height - G.value) / 2,
1336
1344
  stroke: L.value.style.layout.crosshairs.stroke,
1337
1345
  "stroke-width": L.value.style.layout.crosshairs.strokeWidth,
1338
1346
  "stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
1339
1347
  "stroke-linecap": "round"
1340
- }, null, 8, ct), b("line", {
1341
- x1: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1342
- x2: P.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1343
- y1: P.value.y,
1348
+ }, null, 8, lt), x("line", {
1349
+ x1: F.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1350
+ x2: F.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1351
+ y1: F.value.y,
1344
1352
  y2: K.value.top,
1345
1353
  stroke: L.value.style.layout.crosshairs.stroke,
1346
1354
  "stroke-width": L.value.style.layout.crosshairs.strokeWidth,
1347
1355
  "stroke-dasharray": L.value.style.layout.crosshairs.strokeDasharray,
1348
1356
  "stroke-linecap": "round"
1349
- }, null, 8, lt)])) : v("", !0),
1350
- O(t.$slots, "svg", { svg: {
1357
+ }, null, 8, ut)])) : y("", !0),
1358
+ k(t.$slots, "svg", { svg: {
1351
1359
  ...U.value,
1352
1360
  drawingArea: K.value,
1353
- isPrintingImg: A(pn) || A(mn) || Vt.value,
1354
- isPrintingSvg: Ht.value
1361
+ isPrintingImg: j(hn) || j(gn) || Ht.value,
1362
+ isPrintingSvg: Ut.value
1355
1363
  } }, void 0, !0)
1356
- ], 46, Ke)),
1357
- L.value.style.legend.show ? (T(), y("div", {
1364
+ ], 46, qe)),
1365
+ L.value.style.legend.show ? (E(), b("div", {
1358
1366
  key: 0,
1359
1367
  ref_key: "legendRight",
1360
- ref: Gt,
1368
+ ref: Kt,
1361
1369
  class: "vue-ui-heatmap-legend-right",
1362
- style: w({ "--legend-width": L.value.style.legend.width + "px" })
1370
+ style: T({ "--legend-width": L.value.style.legend.width + "px" })
1363
1371
  }, [
1364
- A(on) ? v("", !0) : (T(), y("div", {
1372
+ j(cn) ? y("", !0) : (E(), b("div", {
1365
1373
  key: 0,
1366
1374
  class: "vue-ui-heatmap-legend-label-max",
1367
- style: w({
1375
+ style: T({
1368
1376
  fontSize: L.value.style.legend.fontSize + "px",
1369
1377
  color: L.value.style.legend.color
1370
1378
  })
1371
- }, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(q.value), A(a)({
1379
+ }, A(j(c)(L.value.style.layout.cells.value.formatter, j(o)(q.value), j(i)({
1372
1380
  p: L.value.style.layout.dataLabels.prefix,
1373
- v: A(h)(q.value),
1381
+ v: j(o)(q.value),
1374
1382
  s: L.value.style.layout.dataLabels.suffix,
1375
1383
  r: L.value.style.legend.roundingValue
1376
1384
  }))), 5)),
1377
- b("div", ut, [b("div", {
1385
+ x("div", dt, [x("div", {
1378
1386
  class: "vue-ui-heatmap-gauge",
1379
- style: w({ background: `linear-gradient(to bottom, ${L.value.style.layout.cells.colors.hot}, ${L.value.style.layout.cells.colors.cold})` })
1380
- }, [Re(b("div", {
1387
+ style: T({ background: `linear-gradient(to bottom, ${L.value.style.layout.cells.colors.hot}, ${L.value.style.layout.cells.colors.cold})` })
1388
+ }, [ze(x("div", {
1381
1389
  class: "vue-ui-heatmap-gauge-indicator",
1382
- "data-value": A(u)(L.value.style.layout.cells.value.formatter, A(h)(Z.value), A(a)({
1390
+ "data-value": j(c)(L.value.style.layout.cells.value.formatter, j(o)(Z.value), j(i)({
1383
1391
  p: L.value.style.layout.dataLabels.prefix,
1384
- v: A(h)(Z.value),
1392
+ v: j(o)(Z.value),
1385
1393
  s: L.value.style.layout.dataLabels.suffix,
1386
1394
  r: L.value.style.legend.roundingValue
1387
1395
  })),
1388
- style: w({
1396
+ style: T({
1389
1397
  position: "absolute",
1390
1398
  width: "100%",
1391
1399
  height: "2px",
1392
- background: [void 0, null].includes(Z.value) ? "transparent" : A(f)(Ln.value.datapoint.color),
1400
+ background: [void 0, null].includes(Z.value) ? "transparent" : j(f)(zn.value.datapoint.color),
1393
1401
  top: `${[void 0, null].includes(Z.value) ? 0 : (1 - Z.value / q.value) * 100}%`,
1394
1402
  transition: "all 0.2s ease-in-out",
1395
1403
  "--background-color": L.value.style.backgroundColor,
1396
- "--gauge-arrow-color": A(f)(L.value.style.backgroundColor),
1397
- "--gauge-arrow-text-color": A(f)(L.value.style.backgroundColor),
1404
+ "--gauge-arrow-color": j(f)(L.value.style.backgroundColor),
1405
+ "--gauge-arrow-text-color": j(f)(L.value.style.backgroundColor),
1398
1406
  "--gauge-arrow-value": Z.value,
1399
1407
  "--gauge-arrow-font-size": L.value.style.legend.fontSize + "px"
1400
1408
  })
1401
- }, [b("div", ft, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(Z.value), A(a)({
1409
+ }, [x("div", pt, A(j(c)(L.value.style.layout.cells.value.formatter, j(o)(Z.value), j(i)({
1402
1410
  p: L.value.style.layout.dataLabels.prefix,
1403
- v: A(h)(Z.value),
1411
+ v: j(o)(Z.value),
1404
1412
  s: L.value.style.layout.dataLabels.suffix,
1405
1413
  r: L.value.style.legend.roundingValue
1406
- }))), 1)], 12, dt), [[Fe, ![void 0, null].includes(Z.value)]])], 4)]),
1407
- A(on) ? v("", !0) : (T(), y("div", {
1414
+ }))), 1)], 12, ft), [[Ie, ![void 0, null].includes(Z.value)]])], 4)]),
1415
+ j(cn) ? y("", !0) : (E(), b("div", {
1408
1416
  key: 1,
1409
1417
  class: "vue-ui-heatmap-legend-label-min",
1410
- style: w({
1418
+ style: T({
1411
1419
  fontSize: L.value.style.legend.fontSize + "px",
1412
1420
  color: L.value.style.legend.color
1413
1421
  })
1414
- }, k(A(u)(L.value.style.layout.cells.value.formatter, A(h)(Tn.value), A(a)({
1422
+ }, A(j(c)(L.value.style.layout.cells.value.formatter, j(o)(Dn.value), j(i)({
1415
1423
  p: L.value.style.layout.dataLabels.prefix,
1416
- v: A(h)(Tn.value),
1424
+ v: j(o)(Dn.value),
1417
1425
  s: L.value.style.layout.dataLabels.suffix,
1418
1426
  r: L.value.style.legend.roundingValue
1419
1427
  }))), 5))
1420
- ], 4)) : v("", !0),
1421
- t.$slots.hint ? (T(), y("div", pt, [O(t.$slots, "hint", C(S({
1428
+ ], 4)) : y("", !0),
1429
+ t.$slots.hint ? (E(), b("div", mt, [k(t.$slots, "hint", w(C({
1422
1430
  hint: L.value.a11y.translations.keyboardNavigation,
1423
- isVisible: tn.value
1424
- })), void 0, !0)])) : v("", !0)
1431
+ isVisible: rn.value
1432
+ })), void 0, !0)])) : y("", !0)
1425
1433
  ], 2),
1426
- t.$slots.watermark ? (T(), y("div", mt, [O(t.$slots, "watermark", C(S({ isPrinting: A(pn) || A(mn) || Vt.value || Ht.value })), void 0, !0)])) : v("", !0),
1427
- t.$slots.source ? (T(), y("div", {
1434
+ t.$slots.watermark ? (E(), b("div", ht, [k(t.$slots, "watermark", w(C({ isPrinting: j(hn) || j(gn) || Ht.value || Ut.value })), void 0, !0)])) : y("", !0),
1435
+ t.$slots.source ? (E(), b("div", {
1428
1436
  key: 6,
1429
1437
  ref_key: "source",
1430
- ref: Zt,
1438
+ ref: Qt,
1431
1439
  dir: "auto"
1432
- }, [O(t.$slots, "source", {}, void 0, !0)], 512)) : v("", !0),
1433
- we(A(Ue), {
1440
+ }, [k(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
1441
+ Te(j(We), {
1434
1442
  teleportTo: L.value.style.tooltip.teleportTo,
1435
- show: B.value.showTooltip && Mt.value,
1443
+ show: B.value.showTooltip && Nt.value,
1436
1444
  backgroundColor: L.value.style.tooltip.backgroundColor,
1437
1445
  color: L.value.style.tooltip.color,
1438
1446
  borderRadius: L.value.style.tooltip.borderRadius,
@@ -1443,20 +1451,20 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1443
1451
  position: L.value.style.tooltip.position,
1444
1452
  offsetX: L.value.style.tooltip.offsetX,
1445
1453
  offsetY: L.value.style.tooltip.offsetY,
1446
- parent: N.value,
1447
- content: Nt.value,
1454
+ parent: P.value,
1455
+ content: Pt.value,
1448
1456
  isFullscreen: Q.value,
1449
1457
  isCustom: L.value.style.tooltip.customFormat && typeof L.value.style.tooltip.customFormat == "function",
1450
1458
  smooth: L.value.style.tooltip.smooth,
1451
1459
  backdropFilter: L.value.style.tooltip.backdropFilter,
1452
1460
  smoothForce: L.value.style.tooltip.smoothForce,
1453
1461
  smoothSnapThreshold: L.value.style.tooltip.smoothSnapThreshold,
1454
- isA11yMode: en.value === "keyboard",
1455
- a11yPosition: $t.value
1462
+ isA11yMode: nn.value === "keyboard",
1463
+ a11yPosition: tn.value
1456
1464
  }, {
1457
- "tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...Ln.value })), void 0, !0)]),
1458
- tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...Ln.value })), void 0, !0)]),
1459
- "tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...Ln.value })), void 0, !0)]),
1465
+ "tooltip-before": M(() => [k(t.$slots, "tooltip-before", w(C({ ...zn.value })), void 0, !0)]),
1466
+ tooltip: M(() => [k(t.$slots, "tooltip", w(C({ ...zn.value })), void 0, !0)]),
1467
+ "tooltip-after": M(() => [k(t.$slots, "tooltip-after", w(C({ ...zn.value })), void 0, !0)]),
1460
1468
  _: 3
1461
1469
  }, 8, [
1462
1470
  "teleportTo",
@@ -1482,86 +1490,86 @@ var Ue = /* @__PURE__ */ e({ default: () => xt }), We = ["id"], Ge = ["id"], Ke
1482
1490
  "isA11yMode",
1483
1491
  "a11yPosition"
1484
1492
  ]),
1485
- At.value && L.value.userOptions.buttons.table ? (T(), xe(je(tr.value.component), Te({ key: 7 }, tr.value.props, {
1493
+ jt.value && L.value.userOptions.buttons.table ? (E(), v(Me(rr.value.component), Ee({ key: 7 }, rr.value.props, {
1486
1494
  ref_key: "tableUnit",
1487
- ref: zt,
1488
- onClose: rr
1489
- }), Se({
1490
- content: j(() => [b("div", {
1495
+ ref: Bt,
1496
+ onClose: ar
1497
+ }), Ce({
1498
+ content: M(() => [x("div", {
1491
1499
  ref_key: "tableContainer",
1492
- ref: It,
1500
+ ref: Lt,
1493
1501
  class: "vue-ui-heatmap-table atom-data-table",
1494
- style: w(`${L.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1495
- }, [b("div", {
1496
- style: w(`width:100%;overflow-x:auto;position:relative;${L.value.table.useDialog ? "" : "padding-top:36px"};`),
1497
- class: De({ "vue-ui-responsive": A(nr) })
1498
- }, [L.value.table.useDialog ? v("", !0) : (T(), y("div", {
1502
+ style: T(`${L.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1503
+ }, [x("div", {
1504
+ style: T(`width:100%;overflow-x:auto;position:relative;${L.value.table.useDialog ? "" : "padding-top:36px"};`),
1505
+ class: Oe({ "vue-ui-responsive": j(ir) })
1506
+ }, [L.value.table.useDialog ? y("", !0) : (E(), b("div", {
1499
1507
  key: 0,
1500
1508
  role: "button",
1501
1509
  tabindex: "0",
1502
- style: w(`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:${L.value.table.th.backgroundColor};`),
1503
- onClick: rr,
1504
- onKeypress: ze(rr, ["enter"])
1505
- }, [we(A(xt), {
1510
+ 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:${L.value.table.th.backgroundColor};`),
1511
+ onClick: ar,
1512
+ onKeypress: Be(ar, ["enter"])
1513
+ }, [Te(j(St), {
1506
1514
  name: "close",
1507
1515
  stroke: L.value.table.th.color,
1508
1516
  "stroke-width": 2
1509
- }, null, 8, ["stroke"])], 36)), b("table", ht, [
1510
- L.value.table.useDialog ? v("", !0) : (T(), y("caption", {
1517
+ }, null, 8, ["stroke"])], 36)), x("table", gt, [
1518
+ L.value.table.useDialog ? y("", !0) : (E(), b("caption", {
1511
1519
  key: 0,
1512
- style: w(`backgroundColor:${L.value.table.th.backgroundColor};color:${L.value.table.th.color};outline:${L.value.table.th.outline}`)
1513
- }, [Ce(k(L.value.style.title.text) + " ", 1), L.value.style.title.subtitle.text ? (T(), y("span", gt, k(L.value.style.title.subtitle.text), 1)) : v("", !0)], 4)),
1514
- b("thead", null, [b("tr", {
1520
+ style: T(`backgroundColor:${L.value.table.th.backgroundColor};color:${L.value.table.th.color};outline:${L.value.table.th.outline}`)
1521
+ }, [we(A(L.value.style.title.text) + " ", 1), L.value.style.title.subtitle.text ? (E(), b("span", _t, A(L.value.style.title.subtitle.text), 1)) : y("", !0)], 4)),
1522
+ x("thead", null, [x("tr", {
1515
1523
  role: "row",
1516
- style: w(`background:${L.value.table.th.backgroundColor};color:${L.value.table.th.color}`)
1517
- }, [b("th", { style: w(`outline:${L.value.table.th.outline};padding-right:6px`) }, null, 4), (T(!0), y(g, null, D(e.dataset, (e, t) => (T(), y("th", {
1524
+ style: T(`background:${L.value.table.th.backgroundColor};color:${L.value.table.th.color}`)
1525
+ }, [x("th", { style: T(`outline:${L.value.table.th.outline};padding-right:6px`) }, null, 4), (E(!0), b(g, null, O(e.dataset, (e, t) => (E(), b("th", {
1518
1526
  align: "right",
1519
- style: w(`outline:${L.value.table.th.outline};padding-right:6px`)
1520
- }, k(e.name), 5))), 256))], 4)]),
1521
- b("tbody", null, [(T(!0), y(g, null, D(Y.value.xLabels, (t, n) => (T(), y("tr", {
1527
+ style: T(`outline:${L.value.table.th.outline};padding-right:6px`)
1528
+ }, A(e.name), 5))), 256))], 4)]),
1529
+ x("tbody", null, [(E(!0), b(g, null, O(Y.value.xLabels, (t, n) => (E(), b("tr", {
1522
1530
  role: "row",
1523
- class: De({
1531
+ class: Oe({
1524
1532
  "vue-ui-data-table__tbody__row": !0,
1525
1533
  "vue-ui-data-table__tbody__row-even": n % 2 == 0,
1526
1534
  "vue-ui-data-table__tbody__row-odd": n % 2 != 0
1527
1535
  }),
1528
- style: w(`background:${L.value.table.td.backgroundColor};color:${L.value.table.td.color}`)
1529
- }, [b("td", {
1536
+ style: T(`background:${L.value.table.td.backgroundColor};color:${L.value.table.td.color}`)
1537
+ }, [x("td", {
1530
1538
  "data-cell": L.value.table.colNames.xAxis,
1531
1539
  class: "vue-ui-data-table__tbody__td",
1532
- style: w(`outline:${L.value.table.td.outline}`)
1533
- }, [b("div", vt, k(t), 1)], 12, _t), (T(!0), y(g, null, D(e.dataset, (t, r) => (T(), y("td", {
1540
+ style: T(`outline:${L.value.table.td.outline}`)
1541
+ }, [x("div", yt, A(t), 1)], 12, vt), (E(!0), b(g, null, O(e.dataset, (t, r) => (E(), b("td", {
1534
1542
  class: "vue-ui-data-table__tbody__td",
1535
1543
  "data-cell": e.dataset[r].name,
1536
- style: w(`outline:${L.value.table.td.outline}`)
1537
- }, [b("div", bt, k(isNaN(t.values[n]) ? "-" : A(a)({
1544
+ style: T(`outline:${L.value.table.td.outline}`)
1545
+ }, [x("div", xt, A(isNaN(t.values[n]) ? "-" : j(i)({
1538
1546
  p: L.value.style.layout.dataLabels.prefix,
1539
1547
  v: t.values[n],
1540
1548
  s: L.value.style.layout.dataLabels.suffix,
1541
1549
  r: L.value.table.td.roundingValue
1542
- })), 1)], 12, yt))), 256))], 6))), 256))])
1550
+ })), 1)], 12, bt))), 256))], 6))), 256))])
1543
1551
  ])], 6)], 4)]),
1544
1552
  _: 2
1545
1553
  }, [L.value.table.useDialog ? {
1546
1554
  name: "title",
1547
- fn: j(() => [Ce(k(tr.value.title), 1)]),
1555
+ fn: M(() => [we(A(rr.value.title), 1)]),
1548
1556
  key: "0"
1549
1557
  } : void 0, L.value.table.useDialog ? {
1550
1558
  name: "actions",
1551
- fn: j(() => [b("button", {
1559
+ fn: M(() => [x("button", {
1552
1560
  tabindex: "0",
1553
1561
  class: "vue-ui-user-options-button",
1554
- onClick: n[0] ||= (e) => Wn(L.value.userOptions.callbacks.csv),
1555
- style: w({ cursor: nn.value ? "pointer" : "default" })
1556
- }, [we(A(xt), {
1562
+ onClick: n[0] ||= (e) => Kn(L.value.userOptions.callbacks.csv),
1563
+ style: T({ cursor: an.value ? "pointer" : "default" })
1564
+ }, [Te(j(St), {
1557
1565
  name: "fileCsv",
1558
- stroke: tr.value.props.color
1566
+ stroke: rr.value.props.color
1559
1567
  }, null, 8, ["stroke"])], 4)]),
1560
1568
  key: "1"
1561
- } : void 0]), 1040)) : v("", !0),
1562
- O(t.$slots, "skeleton", {}, () => [A(on) ? (T(), xe(ae, { key: 0 })) : v("", !0)], !0)
1563
- ], 46, We));
1569
+ } : void 0]), 1040)) : y("", !0),
1570
+ k(t.$slots, "skeleton", {}, () => [j(cn) ? (E(), v(se, { key: 0 })) : y("", !0)], !0)
1571
+ ], 46, Ge));
1564
1572
  }
1565
- }, [["__scopeId", "data-v-57a8b077"]]);
1573
+ }, [["__scopeId", "data-v-2a26877c"]]);
1566
1574
  //#endregion
1567
- export { Ue as n, xt as t };
1575
+ export { We as n, St as t };