vue-data-ui 3.25.7 → 3.25.9

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 (163) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-UfoQuPMf.js → PackageVersion-KBMdaOXg.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-bump.js +1 -1
  9. package/dist/components/vue-ui-candlestick.js +1 -1
  10. package/dist/components/vue-ui-carousel-table.js +1 -1
  11. package/dist/components/vue-ui-chestnut.js +1 -1
  12. package/dist/components/vue-ui-chord.js +1 -1
  13. package/dist/components/vue-ui-circle-pack.js +1 -1
  14. package/dist/components/vue-ui-cursor.js +1 -1
  15. package/dist/components/vue-ui-dag.js +1 -1
  16. package/dist/components/vue-ui-dashboard.js +1 -1
  17. package/dist/components/vue-ui-digits.js +1 -1
  18. package/dist/components/vue-ui-donut-evolution.js +1 -1
  19. package/dist/components/vue-ui-donut.js +1 -1
  20. package/dist/components/vue-ui-dumbbell.js +1 -1
  21. package/dist/components/vue-ui-flow.js +1 -1
  22. package/dist/components/vue-ui-funnel.js +1 -1
  23. package/dist/components/vue-ui-galaxy.js +1 -1
  24. package/dist/components/vue-ui-gauge.js +1 -1
  25. package/dist/components/vue-ui-geo.js +1 -1
  26. package/dist/components/vue-ui-gizmo.js +1 -1
  27. package/dist/components/vue-ui-heatmap.js +1 -1
  28. package/dist/components/vue-ui-hill.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-label.js +1 -1
  33. package/dist/components/vue-ui-mini-loader.js +1 -1
  34. package/dist/components/vue-ui-molecule.js +1 -1
  35. package/dist/components/vue-ui-mood-radar.js +1 -1
  36. package/dist/components/vue-ui-nested-donuts.js +1 -1
  37. package/dist/components/vue-ui-onion.js +1 -1
  38. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  39. package/dist/components/vue-ui-quadrant.js +1 -1
  40. package/dist/components/vue-ui-quick-chart.js +1 -1
  41. package/dist/components/vue-ui-radar.js +1 -1
  42. package/dist/components/vue-ui-rating.js +1 -1
  43. package/dist/components/vue-ui-relation-circle.js +1 -1
  44. package/dist/components/vue-ui-ridgeline.js +1 -1
  45. package/dist/components/vue-ui-rings.js +1 -1
  46. package/dist/components/vue-ui-scatter.js +1 -1
  47. package/dist/components/vue-ui-skeleton.js +1 -1
  48. package/dist/components/vue-ui-smiley.js +1 -1
  49. package/dist/components/vue-ui-spark-trend.js +1 -1
  50. package/dist/components/vue-ui-sparkbar.js +1 -1
  51. package/dist/components/vue-ui-sparkgauge.js +1 -1
  52. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  53. package/dist/components/vue-ui-sparkline.js +1 -1
  54. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  55. package/dist/components/vue-ui-stackbar.js +1 -1
  56. package/dist/components/vue-ui-stackline.js +1 -1
  57. package/dist/components/vue-ui-strip-plot.js +1 -1
  58. package/dist/components/vue-ui-table-heatmap.js +1 -1
  59. package/dist/components/vue-ui-table-sparkline.js +1 -1
  60. package/dist/components/vue-ui-table.js +1 -1
  61. package/dist/components/vue-ui-thermometer.js +1 -1
  62. package/dist/components/vue-ui-timer.js +1 -1
  63. package/dist/components/vue-ui-tiremarks.js +1 -1
  64. package/dist/components/vue-ui-treemap.js +1 -1
  65. package/dist/components/vue-ui-vertical-bar.js +1 -1
  66. package/dist/components/vue-ui-waffle.js +1 -1
  67. package/dist/components/vue-ui-wheel.js +1 -1
  68. package/dist/components/vue-ui-word-cloud.js +1 -1
  69. package/dist/components/vue-ui-world.js +1 -1
  70. package/dist/components/vue-ui-xy-canvas.js +1 -1
  71. package/dist/components/vue-ui-xy.js +1 -1
  72. package/dist/{package-B-3S5q00.js → package-BL27Ev_h.js} +1 -1
  73. package/dist/{render-common-CAXK7ycr.js → render-common-By8J0AE-.js} +1 -1
  74. package/dist/ssr/vue-ui-donut.js +1 -1
  75. package/dist/ssr/vue-ui-xy.js +1 -1
  76. package/dist/ssr.js +2 -2
  77. package/dist/style.css +1 -1
  78. package/dist/types/vue-data-ui.d.ts +2 -0
  79. package/dist/{useConfig-CIQZ6_r7.js → useConfig-D32D002m.js} +2 -0
  80. package/dist/{useObjectBindings---mHNfbS.js → useObjectBindings-Cd_WuYIn.js} +1 -1
  81. package/dist/utils.js +1 -1
  82. package/dist/{vue-data-ui-DlWT702n.js → vue-data-ui-CBWuUAXT.js} +69 -69
  83. package/dist/vue-data-ui.js +70 -70
  84. package/dist/{vue-ui-3d-bar-DbOk2kpM.js → vue-ui-3d-bar-BSbq90H3.js} +3 -3
  85. package/dist/{vue-ui-accordion-BSmBUjwZ.js → vue-ui-accordion-DmkL8A59.js} +1 -1
  86. package/dist/{vue-ui-age-pyramid-C7_mGIRk.js → vue-ui-age-pyramid-CrXl71iC.js} +263 -251
  87. package/dist/{vue-ui-annotator-CTQHAPho.js → vue-ui-annotator-BO5ihHOB.js} +2 -2
  88. package/dist/{vue-ui-bullet-CDy_dkYz.js → vue-ui-bullet-B2Y3Wqh9.js} +3 -3
  89. package/dist/{vue-ui-bump-DP24leiD.js → vue-ui-bump-DXvvjG4I.js} +3 -3
  90. package/dist/{vue-ui-candlestick-kJLmYaR7.js → vue-ui-candlestick-CFqR6W56.js} +453 -441
  91. package/dist/{vue-ui-carousel-table-BQzAQDw6.js → vue-ui-carousel-table-D-ZkPRta.js} +2 -2
  92. package/dist/{vue-ui-chestnut-DnnRp3Kl.js → vue-ui-chestnut-CyW3IoYC.js} +3 -3
  93. package/dist/{vue-ui-chord-DO15ZDCS.js → vue-ui-chord-DS0jni9A.js} +3 -3
  94. package/dist/{vue-ui-circle-pack-DYTllMPV.js → vue-ui-circle-pack-j2ChgLWr.js} +494 -482
  95. package/dist/{vue-ui-cursor-CtViSjNp.js → vue-ui-cursor-qOONOtcv.js} +2 -2
  96. package/dist/{vue-ui-dag-NXtGYzqg.js → vue-ui-dag-CmeFsKhR.js} +3 -3
  97. package/dist/{vue-ui-dashboard-D3_4QohV.js → vue-ui-dashboard-C7Z5BTN4.js} +65 -65
  98. package/dist/{vue-ui-digits-CB09pLQx.js → vue-ui-digits-Bf68x6fb.js} +2 -2
  99. package/dist/{vue-ui-donut-yTE6D8yV.js → vue-ui-donut-CkBPJW_T.js} +837 -825
  100. package/dist/{vue-ui-donut-eysaEyTy.js → vue-ui-donut-DzDSYgVp.js} +2 -2
  101. package/dist/{vue-ui-donut-evolution-DhrtxvAd.js → vue-ui-donut-evolution-CDJumo0t.js} +3 -3
  102. package/dist/{vue-ui-dumbbell-CmGIeULQ.js → vue-ui-dumbbell-Cr__26dN.js} +3 -3
  103. package/dist/vue-ui-flow-Cz6WRi2c.js +1229 -0
  104. package/dist/{vue-ui-funnel-CLAii4wi.js → vue-ui-funnel-BlC7KxS6.js} +2 -2
  105. package/dist/vue-ui-galaxy-Bg2smlcI.js +1097 -0
  106. package/dist/{vue-ui-gauge-D76-4Z_0.js → vue-ui-gauge-BHsaent1.js} +3 -3
  107. package/dist/{vue-ui-geo-BQ7-UnuG.js → vue-ui-geo-CE3Cr0or.js} +407 -395
  108. package/dist/{vue-ui-gizmo-C47zjcs-.js → vue-ui-gizmo-DqFUBEai.js} +3 -3
  109. package/dist/{vue-ui-heatmap-XJef60IZ.js → vue-ui-heatmap-DXqj9ial.js} +478 -446
  110. package/dist/{vue-ui-hill-D5BYGPXB.js → vue-ui-hill-B3fPAfhL.js} +2 -2
  111. package/dist/vue-ui-history-plot-CrnTnpaM.js +1710 -0
  112. package/dist/{vue-ui-horizontal-bar-BgFHi6_7.js → vue-ui-horizontal-bar-DqvN3imH.js} +432 -420
  113. package/dist/{vue-ui-kpi-Cb8QJeaj.js → vue-ui-kpi-Mf318HvK.js} +2 -2
  114. package/dist/{vue-ui-label-ClMQ5Gez.js → vue-ui-label-C1UAzvAu.js} +1 -1
  115. package/dist/{vue-ui-mini-loader-DtPOVIkK.js → vue-ui-mini-loader-wGeACd-Y.js} +1 -1
  116. package/dist/{vue-ui-molecule-BzwMl-in.js → vue-ui-molecule-CaLReo4h.js} +346 -334
  117. package/dist/{vue-ui-mood-radar-BUR_YCcr.js → vue-ui-mood-radar-jkE2ENX5.js} +3 -3
  118. package/dist/{vue-ui-nested-donuts-BEB4nfsD.js → vue-ui-nested-donuts-BgMOKjil.js} +360 -348
  119. package/dist/vue-ui-onion-DBN3Ev4j.js +1247 -0
  120. package/dist/{vue-ui-parallel-coordinate-plot-CSO4johj.js → vue-ui-parallel-coordinate-plot-BcJzEGJ-.js} +387 -375
  121. package/dist/{vue-ui-quadrant-CKav0I6g.js → vue-ui-quadrant-BvoVlxTI.js} +418 -406
  122. package/dist/{vue-ui-quick-chart-BAQNS9_2.js → vue-ui-quick-chart-2hn8-F_C.js} +550 -538
  123. package/dist/{vue-ui-radar-ClPAgf5I.js → vue-ui-radar-O3AjGrc-.js} +330 -318
  124. package/dist/{vue-ui-rating-CWFMoYpE.js → vue-ui-rating-Criq0ofQ.js} +1 -1
  125. package/dist/{vue-ui-relation-circle-Da2MhrVe.js → vue-ui-relation-circle-CRnH2ikm.js} +3 -3
  126. package/dist/{vue-ui-ridgeline-D7gFs8yR.js → vue-ui-ridgeline-Blejn8LY.js} +3 -3
  127. package/dist/{vue-ui-rings-DkDJ0k5b.js → vue-ui-rings-C1U38Bp0.js} +321 -309
  128. package/dist/{vue-ui-scatter-yv4JzJID.js → vue-ui-scatter-DTsCc9hg.js} +584 -572
  129. package/dist/{vue-ui-skeleton-oFnh5zWs.js → vue-ui-skeleton-BPr3u7IL.js} +2 -2
  130. package/dist/{vue-ui-smiley-DJVusLnp.js → vue-ui-smiley-BIjAIpJ9.js} +1 -1
  131. package/dist/{vue-ui-spark-trend-IqZWPvSB.js → vue-ui-spark-trend-B7w4Mg8O.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-_FW47iYj.js → vue-ui-sparkbar-lVDnYEYA.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge--2vk2Y23.js → vue-ui-sparkgauge-BryoGCoc.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-CFEIPa5n.js → vue-ui-sparkhistogram-BdNoLb9L.js} +3 -3
  135. package/dist/{vue-ui-sparkline-Cs9CJR6W.js → vue-ui-sparkline-CNFD5K6z.js} +3 -3
  136. package/dist/vue-ui-sparkstackbar-CZ4tGL-_.js +750 -0
  137. package/dist/vue-ui-stackbar-DfsgaZy7.js +2369 -0
  138. package/dist/vue-ui-stackline-Cx7q2sGF.js +2483 -0
  139. package/dist/vue-ui-strip-plot-BcYhLPHM.js +1752 -0
  140. package/dist/{vue-ui-table-CiccGbRB.js → vue-ui-table-BzF75YjN.js} +3 -3
  141. package/dist/{vue-ui-table-heatmap-DnP3pzh2.js → vue-ui-table-heatmap-BSUab4fG.js} +1 -1
  142. package/dist/{vue-ui-table-sparkline-Bp7RiZh4.js → vue-ui-table-sparkline-B9ICTtoE.js} +2 -2
  143. package/dist/{vue-ui-thermometer-CawumQKP.js → vue-ui-thermometer-Am7llqdI.js} +3 -3
  144. package/dist/{vue-ui-timer-CXinMW7q.js → vue-ui-timer-D6EvkM31.js} +2 -2
  145. package/dist/{vue-ui-tiremarks-BnI2uhki.js → vue-ui-tiremarks-DiQJu8Em.js} +3 -3
  146. package/dist/{vue-ui-treemap-DTlFbfD6.js → vue-ui-treemap-wUZpijpr.js} +310 -298
  147. package/dist/vue-ui-waffle-6hO0flDT.js +1633 -0
  148. package/dist/{vue-ui-wheel-B02tiG0p.js → vue-ui-wheel-DnyCE0CK.js} +3 -3
  149. package/dist/{vue-ui-word-cloud-BZnCOMHx.js → vue-ui-word-cloud-D_MZ3gCS.js} +385 -372
  150. package/dist/{vue-ui-world-DO2VZ-T-.js → vue-ui-world-QNGY2WPz.js} +474 -462
  151. package/dist/{vue-ui-xy-CD6BiP_g.js → vue-ui-xy-BD-ighya.js} +2 -2
  152. package/dist/{vue-ui-xy-BC9GVdWE.js → vue-ui-xy-Ctcwn7Rk.js} +1447 -1432
  153. package/dist/{vue-ui-xy-canvas-DANPuyf4.js → vue-ui-xy-canvas-DUeglcdP.js} +523 -511
  154. package/package.json +1 -1
  155. package/dist/vue-ui-flow-qYAq3Rmn.js +0 -1217
  156. package/dist/vue-ui-galaxy-BVX-o2f-.js +0 -1085
  157. package/dist/vue-ui-history-plot-D-d-1ZiM.js +0 -1698
  158. package/dist/vue-ui-onion-CG6myK7a.js +0 -1235
  159. package/dist/vue-ui-sparkstackbar-Cvbue77A.js +0 -738
  160. package/dist/vue-ui-stackbar-C5ANS2hd.js +0 -2355
  161. package/dist/vue-ui-stackline-7yajJFW4.js +0 -2469
  162. package/dist/vue-ui-strip-plot-BT6Eqhup.js +0 -1740
  163. package/dist/vue-ui-waffle-CjgRkQAp.js +0 -1621
@@ -1,27 +1,27 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, Ct as r, D as i, Pt as a, X as o, Zt as s, b as c, ht as l, i as u, lt as d, nt as f, q as p, r as m, t as ee, xt as te } from "./lib-Dql7cqyA.js";
3
- import { n as ne, t as re } from "./useHints-Dq_w2E8B.js";
4
- import { t as ie } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as ae } from "./useConfig-CIQZ6_r7.js";
6
- import { t as oe } from "./usePrinter-DISD7q5m.js";
7
- import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
8
- import { t as le } from "./useNestedProp-Chvyfpl-.js";
9
- import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as de } from "./useChartExport-iwOqiIWX.js";
11
- import { t as fe } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as pe } from "./img-DhGApYG0.js";
13
- import { n as me } from "./Title-CPHi-evi.js";
14
- import { t as he } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { l as ge, t as _e } from "./useResponsive-ZtArZtUf.js";
16
- import { t as ve } from "./vue-ui-accordion-BSmBUjwZ.js";
17
- import { t as ye } from "./A11yDataTable-DdRsVULz.js";
18
- import { t as be } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as xe } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Se } from "./useTableResponsive-BAqJPR68.js";
21
- import { t as Ce } from "./vue_ui_heatmap-B2BBBSWG.js";
22
- import { Fragment as h, computed as g, createBlock as we, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Te, createTextVNode as Ee, createVNode as De, defineAsyncComponent as Oe, guardReactiveProps as b, mergeProps as ke, nextTick as Ae, normalizeClass as je, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Me, onMounted as Ne, openBlock as C, reactive as Pe, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Fe, shallowRef as Ie, toDisplayString as D, toRefs as Le, unref as O, useCssVars as Re, vShow as ze, watch as Be, watchEffect as Ve, withCtx as k, withDirectives as He, withKeys as Ue } from "vue";
2
+ import { $ as t, $t as n, Ct as r, D as i, Pt as a, X as o, Z as s, Zt as c, b as l, ht as u, i as d, lt as ee, nt as f, q as p, r as m, t as te, xt as ne } from "./lib-Dql7cqyA.js";
3
+ import { n as re, t as ie } from "./useHints-Dq_w2E8B.js";
4
+ import { t as ae } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as oe } from "./useConfig-D32D002m.js";
6
+ import { t as se } from "./usePrinter-DISD7q5m.js";
7
+ import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
8
+ import { t as ue } from "./useNestedProp-Chvyfpl-.js";
9
+ import { t as de } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as fe } from "./useChartExport-iwOqiIWX.js";
11
+ import { t as pe } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
+ import { t as me } from "./img-DhGApYG0.js";
13
+ import { n as he } from "./Title-CPHi-evi.js";
14
+ import { t as ge } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { l as _e, t as ve } from "./useResponsive-ZtArZtUf.js";
16
+ import { t as ye } from "./vue-ui-accordion-DmkL8A59.js";
17
+ import { t as be } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as xe } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Se } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Ce } from "./useTableResponsive-BAqJPR68.js";
21
+ import { t as we } from "./vue_ui_heatmap-B2BBBSWG.js";
22
+ import { Fragment as h, computed as g, createBlock as Te, createCommentVNode as _, createElementBlock as v, createElementVNode as y, createSlots as Ee, createTextVNode as De, createVNode as Oe, defineAsyncComponent as ke, guardReactiveProps as b, mergeProps as Ae, nextTick as je, normalizeClass as Me, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as Ne, onMounted as Pe, openBlock as C, reactive as Fe, ref as w, renderList as T, renderSlot as E, resolveDynamicComponent as Ie, shallowRef as Le, toDisplayString as D, toRefs as Re, unref as O, useCssVars as ze, vShow as Be, watch as Ve, watchEffect as He, withCtx as k, withDirectives as Ue, withKeys as We } from "vue";
23
23
  //#region src/useLabelObserverEfffect.js
24
- function We({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
24
+ function Ge({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFrames: i = 12, alsoAfterFontsReady: a = !0 }) {
25
25
  if (r) return;
26
26
  let o = (e) => {
27
27
  if (!e) return;
@@ -38,12 +38,12 @@ function We({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFra
38
38
  }
39
39
  typeof r == "number" && !Number.isNaN(r) && t(r);
40
40
  };
41
- Ve((t) => {
41
+ He((t) => {
42
42
  let n = e.value;
43
43
  if (!n) return;
44
44
  let r = !1;
45
45
  (async () => {
46
- await Ae();
46
+ await je();
47
47
  for (let t = 0; t < i; t += 1) {
48
48
  if (r) return;
49
49
  await new Promise((e) => requestAnimationFrame(e));
@@ -89,22 +89,22 @@ function We({ elementRef: e, callback: t, attr: n, earlyReturn: r = !1, retryFra
89
89
  }
90
90
  //#endregion
91
91
  //#region src/directives/vFitText.js
92
- var Ge = {
92
+ var Ke = {
93
93
  mounted(e, t) {
94
- Ke(e, t.value);
94
+ qe(e, t.value);
95
95
  },
96
96
  updated(e, t) {
97
- Ke(e, t.value);
97
+ qe(e, t.value);
98
98
  }
99
99
  };
100
- function Ke(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, index: a, reportRotation: o, reportHide: s, rotateAll: c, hideAll: l }) {
100
+ function qe(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, index: a, reportRotation: o, reportHide: s, rotateAll: c, hideAll: l }) {
101
101
  e.removeAttribute("transform"), e.removeAttribute("visibility");
102
102
  let u = !1, d = !1;
103
103
  e.setAttribute("font-size", r);
104
- let f = e.getComputedTextLength();
105
- if (f <= t) o(a, !1), s(a, !1);
104
+ let ee = e.getComputedTextLength();
105
+ if (ee <= t) o(a, !1), s(a, !1);
106
106
  else {
107
- let n = Math.floor(r * t / f);
107
+ let n = Math.floor(r * t / ee);
108
108
  n >= i ? (e.setAttribute("font-size", n), o(a, !1), s(a, !1)) : (o(a, !0), s(a, !1), u = !0);
109
109
  }
110
110
  if (c && (u = !0), u) {
@@ -122,16 +122,16 @@ function Ke(e, { cellWidth: t, cellHeight: n, maxFontSize: r, minFontSize: i, in
122
122
  }
123
123
  //#endregion
124
124
  //#region src/components/vue-ui-heatmap.vue
125
- var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe = [
125
+ var Je = /* @__PURE__ */ e({ default: () => Et }), Ye = ["id"], Xe = ["id"], Ze = [
126
126
  "xmlns",
127
127
  "aria-describedby",
128
128
  "viewBox"
129
- ], Ze = [
129
+ ], Qe = [
130
130
  "x",
131
131
  "y",
132
132
  "width",
133
133
  "height"
134
- ], Qe = [
134
+ ], $e = [
135
135
  "x",
136
136
  "y",
137
137
  "height",
@@ -139,7 +139,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
139
139
  "fill",
140
140
  "stroke",
141
141
  "stroke-width"
142
- ], $e = [
142
+ ], et = [
143
143
  "x",
144
144
  "y",
145
145
  "height",
@@ -147,7 +147,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
147
147
  "fill",
148
148
  "stroke",
149
149
  "stroke-width"
150
- ], et = [
150
+ ], tt = [
151
151
  "x",
152
152
  "y",
153
153
  "width",
@@ -155,7 +155,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
155
155
  "fill",
156
156
  "stroke",
157
157
  "stroke-width"
158
- ], tt = [
158
+ ], nt = [
159
159
  "data-a11y-cell-id",
160
160
  "x",
161
161
  "y",
@@ -168,13 +168,13 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
168
168
  "onMouseover",
169
169
  "onMouseout",
170
170
  "onClick"
171
- ], nt = [
171
+ ], rt = [
172
172
  "font-size",
173
173
  "font-weight",
174
174
  "fill",
175
175
  "x",
176
176
  "y"
177
- ], rt = [
177
+ ], it = [
178
178
  "x",
179
179
  "y",
180
180
  "width",
@@ -182,7 +182,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
182
182
  "fill",
183
183
  "stroke",
184
184
  "stroke-width"
185
- ], it = [
185
+ ], at = [
186
186
  "x",
187
187
  "y",
188
188
  "width",
@@ -190,38 +190,38 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
190
190
  "fill",
191
191
  "stroke",
192
192
  "stroke-width"
193
- ], at = [
193
+ ], ot = [
194
194
  "font-size",
195
195
  "fill",
196
196
  "x",
197
197
  "y",
198
198
  "font-weight"
199
- ], ot = [
199
+ ], st = [
200
200
  "font-size",
201
201
  "fill",
202
202
  "x",
203
203
  "y",
204
204
  "font-weight"
205
- ], st = [
205
+ ], ct = [
206
206
  "text-anchor",
207
207
  "font-size",
208
208
  "fill",
209
209
  "font-weight",
210
210
  "transform"
211
- ], ct = [
211
+ ], lt = [
212
212
  "text-anchor",
213
213
  "font-size",
214
214
  "fill",
215
215
  "font-weight",
216
216
  "transform"
217
- ], lt = { key: 6 }, ut = [
217
+ ], ut = { key: 6 }, dt = [
218
218
  "x",
219
219
  "y",
220
220
  "width",
221
221
  "height",
222
222
  "stroke",
223
223
  "stroke-width"
224
- ], dt = { key: 7 }, ft = [
224
+ ], ft = { key: 7 }, pt = [
225
225
  "x1",
226
226
  "x2",
227
227
  "y1",
@@ -229,7 +229,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
229
229
  "stroke",
230
230
  "stroke-width",
231
231
  "stroke-dasharray"
232
- ], pt = [
232
+ ], mt = [
233
233
  "x1",
234
234
  "x2",
235
235
  "y1",
@@ -237,7 +237,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
237
237
  "stroke",
238
238
  "stroke-width",
239
239
  "stroke-dasharray"
240
- ], mt = { class: "vue-ui-heatmap-legend-gauge-right" }, ht = ["data-value"], gt = { class: "vue-ui-heatmap-gauge-indicator-value" }, _t = {
240
+ ], ht = { class: "vue-ui-heatmap-legend-gauge-right" }, gt = ["data-value"], _t = { class: "vue-ui-heatmap-gauge-indicator-value" }, vt = {
241
241
  key: 1,
242
242
  style: {
243
243
  position: "absolute",
@@ -247,24 +247,24 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
247
247
  },
248
248
  "data-dom-to-png-ignore": "",
249
249
  "aria-hidden": "true"
250
- }, vt = {
250
+ }, yt = {
251
251
  key: 5,
252
252
  class: "vue-data-ui-watermark"
253
- }, yt = { class: "vue-ui-data-table" }, bt = { key: 0 }, xt = ["data-cell"], St = { style: {
253
+ }, bt = { class: "vue-ui-data-table" }, xt = { key: 0 }, St = ["data-cell"], Ct = { style: {
254
254
  display: "flex",
255
255
  "align-items": "center",
256
256
  gap: "5px",
257
257
  "justify-content": "flex-end",
258
258
  width: "100%",
259
259
  "padding-right": "3px"
260
- } }, Ct = ["data-cell"], wt = { style: {
260
+ } }, wt = ["data-cell"], Tt = { style: {
261
261
  display: "flex",
262
262
  "align-items": "center",
263
263
  gap: "5px",
264
264
  "justify-content": "flex-end",
265
265
  width: "100%",
266
266
  "padding-right": "3px"
267
- } }, Tt = /*#__PURE__*/ he({
267
+ } }, Et = /*#__PURE__*/ ge({
268
268
  __name: "vue-ui-heatmap",
269
269
  props: {
270
270
  config: {
@@ -281,27 +281,27 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
281
281
  }
282
282
  },
283
283
  emits: ["selectDatapoint", "copyAlt"],
284
- setup(e, { expose: he, emit: Ke }) {
285
- Re((e) => ({ v057989b1: e.tdo }));
286
- let qe = Oe(() => import("./Tooltip-hhrkQ3Lk.js")), Tt = Oe(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Et = Oe(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Dt = Oe(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), Ot = Oe(() => import("./PackageVersion-UfoQuPMf.js").then((e) => e.t)), kt = Oe(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_heatmap: At } = ae(), { isThemeValid: jt, warnInvalidTheme: Mt } = ue(), A = e, Nt = Ke, Pt = g({
284
+ setup(e, { expose: ge, emit: qe }) {
285
+ ze((e) => ({ c8b0ccd2: e.tdo }));
286
+ let Je = ke(() => import("./Tooltip-hhrkQ3Lk.js")), Et = ke(() => import("./BaseIcon-D8R6_sKH.js").then((e) => e.n)), Dt = ke(() => import("./PenAndPaper-KFzKlvbi.js").then((e) => e.t)), Ot = ke(() => import("./UserOptions-2x4VklMW.js").then((e) => e.n)), kt = ke(() => import("./PackageVersion-KBMdaOXg.js").then((e) => e.t)), At = ke(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_heatmap: jt } = oe(), { isThemeValid: Mt, warnInvalidTheme: Nt } = de(), A = e, Pt = qe, Ft = g({
287
287
  get() {
288
288
  return !!A.dataset && A.dataset.length;
289
289
  },
290
290
  set(e) {
291
291
  return e;
292
292
  }
293
- }), Ft = w(p()), j = w(null), It = w(!1), Lt = w(""), Rt = w(void 0), M = w(null), zt = w(0), Bt = w(null), Vt = w(0), Ht = w(null), Ut = w(null), Wt = w(null), Gt = w(null), Kt = w(null), qt = w(null), Jt = w(null), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = Ie(null), N = w(null), tn = w(null), nn = w({
293
+ }), It = w(p()), j = w(null), Lt = w(!1), Rt = w(""), zt = w(void 0), M = w(null), Bt = w(0), Vt = w(null), Ht = w(0), Ut = w(null), Wt = w(null), Gt = w(null), Kt = w(null), qt = w(null), Jt = w(null), Yt = w(null), Xt = w(null), Zt = w(null), Qt = w(null), $t = w(null), en = w(null), tn = Le(null), N = w(null), nn = w(null), rn = w({
294
294
  x: 0,
295
295
  y: 0
296
- }), rn = w("pointer"), an = w(!1), P = w(hn()), F = g(() => P.value.style.layout.cells), I = g(() => P.value.style.layout.dataLabels), L = g(() => P.value.style.layout);
297
- ne({
296
+ }), an = w("pointer"), on = w(!1), P = w(gn()), F = g(() => P.value.style.layout.cells), I = g(() => P.value.style.layout.dataLabels), L = g(() => P.value.style.layout);
297
+ re({
298
298
  config: () => P.value,
299
299
  dataset: () => A.dataset,
300
300
  component: "VueUiHeatmap",
301
- rules: [re.emptyArray, re.noHint]
301
+ rules: [ie.emptyArray, ie.noHint]
302
302
  });
303
- let on = g(() => P.value.userOptions.useCursorPointer);
304
- function sn() {
303
+ let sn = g(() => P.value.userOptions.useCursorPointer);
304
+ function cn() {
305
305
  let e = Array(7).fill("_"), t = [], n = e.length;
306
306
  for (let r = 0; r < n; r += 1) {
307
307
  let n = [];
@@ -313,7 +313,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
313
313
  }
314
314
  return t;
315
315
  }
316
- let cn = g(() => s({
316
+ let ln = g(() => c({
317
317
  defaultConfig: {
318
318
  table: { show: !1 },
319
319
  userOptions: { show: !1 },
@@ -337,40 +337,40 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
337
337
  }
338
338
  },
339
339
  userConfig: P.value.skeletonConfig ?? {}
340
- })), { loading: ln, FINAL_DATASET: R, manualLoading: un } = se({
341
- ...Le(A),
340
+ })), { loading: un, FINAL_DATASET: R, manualLoading: dn } = ce({
341
+ ...Re(A),
342
342
  FINAL_CONFIG: P,
343
- prepareConfig: hn,
343
+ prepareConfig: gn,
344
344
  callback: () => {
345
345
  Promise.resolve().then(async () => {
346
- await Ae(), j.value && n(j.value, {
346
+ await je(), j.value && n(j.value, {
347
347
  delta: .1,
348
348
  delay: 250
349
349
  });
350
350
  });
351
351
  },
352
- skeletonDataset: A.config?.skeletonDataset ?? sn(),
353
- skeletonConfig: s({
352
+ skeletonDataset: A.config?.skeletonDataset ?? cn(),
353
+ skeletonConfig: c({
354
354
  defaultConfig: P.value,
355
- userConfig: cn.value
355
+ userConfig: ln.value
356
356
  })
357
- }), { userOptionsVisible: dn, setUserOptionsVisibility: fn, keepUserOptionState: pn } = be({ config: P.value }), { svgRef: z } = xe({ config: P.value.style.title });
358
- function mn(e) {
359
- fn(e);
357
+ }), { userOptionsVisible: fn, setUserOptionsVisibility: pn, keepUserOptionState: mn } = xe({ config: P.value }), { svgRef: z } = Se({ config: P.value.style.title });
358
+ function hn(e) {
359
+ pn(e);
360
360
  }
361
- function hn() {
362
- let e = le({
361
+ function gn() {
362
+ let e = ue({
363
363
  userConfig: A.config,
364
- defaultConfig: At
364
+ defaultConfig: jt
365
365
  }), t = {}, n = e.theme;
366
366
  if (n) {
367
- if (!jt.value(e)) Mt(e), t = e;
367
+ if (!Mt.value(e)) Nt(e), t = e;
368
368
  else {
369
- let r = le({
370
- userConfig: Ce[n] || A.config,
369
+ let r = ue({
370
+ userConfig: we[n] || A.config,
371
371
  defaultConfig: e
372
372
  });
373
- t = { ...le({
373
+ t = { ...ue({
374
374
  userConfig: A.config,
375
375
  defaultConfig: r
376
376
  }) };
@@ -378,155 +378,187 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
378
378
  } else t = e;
379
379
  return t;
380
380
  }
381
- Be(() => A.config, (e) => {
382
- ln.value || (P.value = hn()), dn.value = !P.value.userOptions.showOnChartHover, Cn(), Vt.value += 1, B.value.showTable = P.value.table.show, B.value.showTooltip = P.value.style.tooltip.show, wn.value = L.value.width, Tn.value = L.value.height;
383
- }, { deep: !0 }), Be(() => A.dataset, (e) => {
384
- Array.isArray(e) && e.length > 0 && (un.value = !1), Cn();
381
+ function _n(e) {
382
+ let t = s(e);
383
+ return t?.style && delete t.style.tooltip, JSON.stringify(t);
384
+ }
385
+ let vn = _n(A.config);
386
+ Ve(() => A.config, (e, t) => {
387
+ let n = _n(e), r = n !== vn;
388
+ vn = n;
389
+ let i = gn();
390
+ if (!r) {
391
+ P.value.style.tooltip = i.style.tooltip, B.value.showTooltip = P.value.style.tooltip.show;
392
+ return;
393
+ }
394
+ un.value || (P.value = i), fn.value = !P.value.userOptions.showOnChartHover, En(), Ht.value += 1, B.value.showTable = P.value.table.show, B.value.showTooltip = P.value.style.tooltip.show, Dn.value = L.value.width, On.value = L.value.height;
395
+ }, { deep: !0 }), Ve(() => A.dataset, (e) => {
396
+ Array.isArray(e) && e.length > 0 && (dn.value = !1), En();
385
397
  }, { deep: !0 });
386
- let { isPrinting: gn, isImaging: _n, generatePdf: vn, generateImage: yn } = oe({
387
- elementId: `heatmap__${Ft.value}`,
398
+ let { isPrinting: yn, isImaging: bn, generatePdf: xn, generateImage: Sn } = se({
399
+ elementId: `heatmap__${It.value}`,
388
400
  fileName: P.value.style.title.text || "vue-ui-heatmap",
389
401
  options: P.value.userOptions.print
390
- }), bn = g(() => P.value.userOptions.show && !P.value.style.title.text), B = w({
402
+ }), Cn = g(() => P.value.userOptions.show && !P.value.style.title.text), B = w({
391
403
  showTable: P.value.table.show,
392
404
  showTooltip: P.value.style.tooltip.show
393
405
  });
394
- Be(P, () => {
406
+ Ve(P, () => {
395
407
  B.value = {
396
408
  showTable: P.value.table.show,
397
409
  showTooltip: P.value.style.tooltip.show
398
410
  };
399
411
  }, { immediate: !0 });
400
- let xn = g(() => P.value.table.responsiveBreakpoint), V = w(null), Sn = g(() => P.value.debug);
401
- function Cn() {
412
+ let wn = g(() => P.value.table.responsiveBreakpoint), V = w(null), Tn = g(() => P.value.debug);
413
+ function En() {
402
414
  if (a(A.dataset) && (f({
403
415
  componentName: "VueUiHeatmap",
404
416
  type: "dataset",
405
- debug: Sn.value
406
- }), Pt.value = !1, un.value = !0), a(A.dataset) || (un.value = P.value.loading), P.value.responsive) {
407
- let e = ge(() => {
408
- let { width: e, height: t } = _e({
417
+ debug: Tn.value
418
+ }), Ft.value = !1, dn.value = !0), a(A.dataset) || (dn.value = P.value.loading), P.value.responsive) {
419
+ let e = _e(() => {
420
+ let { width: e, height: t } = ve({
409
421
  chart: j.value,
410
- title: P.value.style.title.text ? Gt.value : null,
411
- source: $t.value,
412
- noTitle: Kt.value
422
+ title: P.value.style.title.text ? Kt.value : null,
423
+ source: en.value,
424
+ noTitle: qt.value
413
425
  });
414
426
  requestAnimationFrame(() => {
415
- wn.value = e, Tn.value = t;
427
+ Dn.value = e, On.value = t;
416
428
  });
417
429
  });
418
- V.value && (en.value && V.value.unobserve(en.value), V.value.disconnect()), V.value = new ResizeObserver(e), en.value = j.value.parentNode, V.value.observe(en.value);
430
+ V.value && (tn.value && V.value.unobserve(tn.value), V.value.disconnect()), V.value = new ResizeObserver(e), tn.value = j.value.parentNode, V.value.observe(tn.value);
419
431
  }
420
432
  }
421
- Me(() => {
422
- V.value && (en.value && V.value.unobserve(en.value), V.value.disconnect());
423
- }), Ne(() => {
424
- Cn();
433
+ Ne(() => {
434
+ V.value && (tn.value && V.value.unobserve(tn.value), V.value.disconnect());
435
+ }), Pe(() => {
436
+ En();
425
437
  });
426
- let H = g(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), wn = w(L.value.width), Tn = w(L.value.height), U = g(() => ({
427
- width: Math.max(10, wn.value),
428
- height: Math.max(10, Tn.value)
429
- })), En = w(0);
430
- We({
431
- elementRef: Xt,
432
- callback: ge((e) => {
433
- e !== En.value && (En.value = e);
438
+ let H = g(() => Math.max(...R.value.flatMap((e) => (e.values || []).length))), Dn = w(L.value.width), On = w(L.value.height), U = g(() => ({
439
+ width: Math.max(10, Dn.value),
440
+ height: Math.max(10, On.value)
441
+ })), kn = w(0);
442
+ Ge({
443
+ elementRef: Zt,
444
+ callback: _e((e) => {
445
+ e !== kn.value && (kn.value = e);
434
446
  }, 100),
435
447
  attr: "height"
436
448
  });
437
449
  let W = w(0);
438
- We({
439
- elementRef: Jt,
440
- callback: ge((e) => {
450
+ Ge({
451
+ elementRef: Yt,
452
+ callback: _e((e) => {
441
453
  e !== W.value && (W.value = e);
442
454
  }, 100),
443
455
  attr: "width"
444
456
  });
445
- let Dn = w(0);
446
- We({
447
- elementRef: Zt,
448
- callback: ge((e) => {
449
- e !== Dn.value && (Dn.value = e);
457
+ let An = w(0);
458
+ Ge({
459
+ elementRef: Qt,
460
+ callback: _e((e) => {
461
+ e !== An.value && (An.value = e);
450
462
  }, 100),
451
463
  attr: "height"
452
- }), Me(() => {
453
- En.value = 0, W.value = 0, Dn.value = 0;
464
+ }), Ne(() => {
465
+ kn.value = 0, W.value = 0, An.value = 0;
454
466
  });
455
467
  let G = g(() => Math.min(U.value.height, U.value.width) / 1e3 * F.value.spacing), K = g(() => {
456
468
  let e = 0;
457
469
  P.value.style.legend.show && (e = P.value.style.legend.width);
458
- let t = L.value.padding, n = I.value.xAxis.fontSize / 3, r = I.value.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - En.value - n, a = U.value.width / 60, o = {
470
+ let t = L.value.padding, n = I.value.xAxis.fontSize / 3, r = I.value.xAxis.fontSize / 2, i = U.value.height - t.top - t.bottom - kn.value - n, a = U.value.width / 60, o = {
459
471
  x: G.value * H.value,
460
472
  y: G.value * ((R.value || []).length + 1)
461
- }, s = U.value.width - t.left - t.right - o.x - a * 2 - 2 - e - W.value, c = i - a - o.y - Dn.value - r - F.value.columnTotal.value.offsetY, l = {
473
+ }, s = U.value.width - t.left - t.right - o.x - a * 2 - 2 - e - W.value, c = i - a - o.y - An.value - r - F.value.columnTotal.value.offsetY, l = {
462
474
  width: Math.max(3, s / H.value),
463
475
  height: Math.max(3, c / (R.value.length ?? 1))
464
476
  };
465
477
  return {
466
- top: t.top + En.value + a + n,
467
- topLabelsHeight: En.value,
478
+ top: t.top + kn.value + a + n,
479
+ topLabelsHeight: kn.value,
468
480
  sumCellXHeight: a,
469
481
  height: c,
470
482
  left: t.left + W.value + a / 2,
471
483
  right: t.right - e,
472
- bottom: U.value.height - t.bottom - Dn.value,
484
+ bottom: U.value.height - t.bottom - An.value,
473
485
  width: s,
474
486
  cellSize: l
475
487
  };
476
- }), q = g(() => Math.max(...R.value.flatMap((e) => e.values))), On = g(() => Math.min(...R.value.flatMap((e) => e.values))), J = g(() => {
488
+ }), jn = g(() => Math.max(...R.value.flatMap((e) => e.values))), Mn = g(() => Math.min(...R.value.flatMap((e) => e.values))), q = g(() => F.value.scaleMax === null ? jn.value : F.value.scaleMax), J = g(() => F.value.scaleMin === null ? Mn.value : F.value.scaleMin), Y = g(() => {
477
489
  let e = R.value.flatMap((e) => e.values);
478
490
  return e.reduce((e, t) => e + t, 0) / e.length;
479
- }), kn = w([]), An = w([]), jn = 0;
480
- Ve(() => {
481
- let e = ++jn;
491
+ }), Nn = w([]), Pn = w([]), Fn = 0;
492
+ He(() => {
493
+ let e = ++Fn;
482
494
  (async () => {
483
- let t = I.value.yAxis, n = await ie({
495
+ let t = I.value.yAxis, n = await ae({
484
496
  values: t.values.length ? t.values : R.value.map((e) => e.name),
485
497
  maxDatapoints: R.value.length,
486
498
  formatter: t.datetimeFormatter,
487
499
  start: 0,
488
500
  end: R.value.length
489
501
  });
490
- e === jn && (kn.value = n);
502
+ e === Fn && (Nn.value = n);
491
503
  })();
492
504
  });
493
- let Mn = 0;
494
- Ve(() => {
495
- let e = ++Mn;
505
+ let In = 0;
506
+ He(() => {
507
+ let e = ++In;
496
508
  (async () => {
497
- let t = I.value.xAxis, n = await ie({
509
+ let t = I.value.xAxis, n = await ae({
498
510
  values: t.values,
499
511
  maxDatapoints: H.value,
500
512
  formatter: t.datetimeFormatter,
501
513
  start: 0,
502
514
  end: H.value
503
515
  });
504
- e === Mn && (An.value = n);
516
+ e === In && (Pn.value = n);
505
517
  })();
506
518
  });
507
- function Nn(e, t, n) {
508
- return t === n ? F.value.colors.hot : te(F.value.colors.cold, F.value.colors.hot, t, n, e);
519
+ function X(e, t, n) {
520
+ if (t === n) return F.value.colors.hot;
521
+ let r = Math.min(Math.max(e, t), n);
522
+ return ne(F.value.colors.cold, F.value.colors.hot, t, n, r);
523
+ }
524
+ function Ln(e) {
525
+ if ([void 0, null].includes(e)) return 0;
526
+ let t = J.value, n = q.value;
527
+ if (t === n) return 0;
528
+ let r = (e - t) / (n - t);
529
+ return (1 - Math.min(Math.max(r, 0), 1)) * 100;
509
530
  }
510
- let Y = g(() => {
511
- let e = kn.value.map((e) => e.text), t = An.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 = [];
512
- 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));
513
- let o = Math.max(...a), s = Math.min(...a);
531
+ let Z = g(() => {
532
+ let e = Nn.value.map((e) => e.text), t = Pn.value.map((e) => e.text), n = F.value.scaleMin !== null || F.value.scaleMax !== null, r = R.value.map((e) => e.values.reduce((e, t) => e + t, 0)), i = R.value.map((e) => Math.max(1, e.values.length)), a = Math.max(...r), o = Math.min(...r), s = [], c = [];
533
+ for (let e = 0; e < H.value; e += 1) {
534
+ let t = 0, n = 0;
535
+ R.value.forEach((r) => {
536
+ e < r.values.length && (t += r.values[e] || 0, n += 1);
537
+ }), s.push(t), c.push(Math.max(1, n));
538
+ }
539
+ let l = Math.max(...s), u = Math.min(...s);
514
540
  return {
515
- yTotals: n.map((e) => ({
516
- total: e,
517
- proportion: isNaN(e / r) ? 0 : e / r,
518
- color: Nn(e, i, r)
519
- })),
520
- xTotals: a.map((e) => ({
521
- total: e,
522
- proportion: isNaN(e / o) ? 0 : e / o,
523
- color: Nn(e, s, o)
524
- })),
541
+ yTotals: r.map((e, t) => {
542
+ let r = isNaN(e / a) ? 0 : e / a, s = i[t], c = J.value * s, l = q.value * s;
543
+ return {
544
+ total: e,
545
+ proportion: r,
546
+ color: n ? X(e, c, l) : X(e, o, a)
547
+ };
548
+ }),
549
+ xTotals: s.map((e, t) => {
550
+ let r = isNaN(e / l) ? 0 : e / l, i = c[t], a = J.value * i, o = q.value * i;
551
+ return {
552
+ total: e,
553
+ proportion: r,
554
+ color: n ? X(e, a, o) : X(e, u, l)
555
+ };
556
+ }),
525
557
  yLabels: e,
526
558
  xLabels: t.slice(0, H.value)
527
559
  };
528
- }), X = g(() => (R.value.forEach((e, t) => {
529
- l({
560
+ }), Q = g(() => (R.value.forEach((e, t) => {
561
+ u({
530
562
  datasetObject: e,
531
563
  requiredAttributes: ["values"]
532
564
  }).forEach((e) => {
@@ -535,78 +567,78 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
535
567
  type: "datasetSerieAttribute",
536
568
  property: "values",
537
569
  index: t,
538
- debug: Sn.value
570
+ debug: Tn.value
539
571
  });
540
572
  });
541
573
  }), R.value.map((e, t) => ({
542
574
  ...e,
543
- temperatures: (e.values || []).map((e, n) => e >= J.value ? {
575
+ temperatures: (e.values || []).map((e, n) => e >= Y.value ? {
544
576
  side: "up",
545
- color: Nn(e, On.value, q.value),
546
- 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)),
577
+ color: X(e, J.value, q.value),
578
+ ratio: Math.abs(Math.abs(e - Y.value) / Math.abs(jn.value - Y.value)) > 1 ? 1 : Math.abs(Math.abs(e - Y.value) / Math.abs(jn.value - Y.value)),
547
579
  value: e,
548
- yAxisName: Y.value.yLabels[t],
549
- xAxisName: Y.value.xLabels[n],
580
+ yAxisName: Z.value.yLabels[t],
581
+ xAxisName: Z.value.xLabels[n],
550
582
  id: `vue-data-ui-heatmap-cell-${p()}`
551
583
  } : {
552
584
  side: "down",
553
- ratio: Math.abs(1 - Math.abs(e) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(J.value)),
554
- color: Nn(e, On.value, q.value),
585
+ ratio: Math.abs(1 - Math.abs(e) / Math.abs(Y.value)) > 1 ? 1 : Math.abs(1 - Math.abs(e) / Math.abs(Y.value)),
586
+ color: X(e, J.value, q.value),
555
587
  value: e,
556
- yAxisName: Y.value.yLabels[t],
557
- xAxisName: Y.value.xLabels[n],
588
+ yAxisName: Z.value.yLabels[t],
589
+ xAxisName: Z.value.xLabels[n],
558
590
  id: `vue-data-ui-heatmap-cell-${p()}`
559
591
  })
560
- })))), Pn = g(() => R.value.length), Fn = Pe(Array(Pn.value * H.value || 1).fill(!1)), In = g(() => Fn.some((e) => e));
561
- function Ln(e, t) {
562
- Fn[e] = t;
592
+ })))), Rn = g(() => R.value.length), zn = Fe(Array(Rn.value * H.value || 1).fill(!1)), Bn = g(() => zn.some((e) => e));
593
+ function Vn(e, t) {
594
+ zn[e] = t;
563
595
  }
564
- let Rn = Pe(Array(Pn.value * H.value || 1).fill(!1)), zn = g(() => Rn.some((e) => e));
565
- function Bn(e, t) {
566
- Rn[e] = t;
596
+ let Hn = Fe(Array(Rn.value * H.value || 1).fill(!1)), Un = g(() => Hn.some((e) => e));
597
+ function Wn(e, t) {
598
+ Hn[e] = t;
567
599
  }
568
- let Z = w(null), Vn = w(null);
569
- function Hn() {
570
- It.value = !1, Rt.value = void 0, Z.value = null, M.value = null, N.value = null, tn.value = null;
600
+ let $ = w(null), Gn = w(null);
601
+ function Kn() {
602
+ Lt.value = !1, zt.value = void 0, $.value = null, M.value = null, N.value = null, nn.value = null;
571
603
  }
572
- function Un(e) {
604
+ function qn(e) {
573
605
  if (!z.value || !e) return;
574
606
  let t = z.value.querySelector(`[data-a11y-cell-id="${e}"]`);
575
607
  if (!t) return;
576
608
  let n = t.getBoundingClientRect();
577
- nn.value = {
609
+ rn.value = {
578
610
  x: n.left + n.width / 2,
579
611
  y: n.top + n.height / 2
580
612
  };
581
613
  }
582
- function Wn(e, t, n, i, a = "pointer", s = null) {
614
+ function Jn(e, t, n, i, a = "pointer", s = null) {
583
615
  if (P.value.events.datapointEnter && P.value.events.datapointEnter({
584
616
  datapoint: e,
585
617
  seriesIndex: t
586
618
  }), !B.value.showTooltip) return;
587
- rn.value = a, N.value = s, tn.value = e.id, M.value = {
619
+ an.value = a, N.value = s, nn.value = e.id, M.value = {
588
620
  x: n,
589
621
  y: i
590
622
  };
591
- let { value: c, yAxisName: l, xAxisName: f, id: p } = e;
592
- Rt.value = p, Z.value = c, Vn.value = {
623
+ let { value: c, yAxisName: l, xAxisName: u, id: f } = e;
624
+ zt.value = f, $.value = c, Gn.value = {
593
625
  datapoint: e,
594
626
  seriesIndex: t,
595
- series: X.value,
627
+ series: Q.value,
596
628
  config: P.value
597
- }, It.value = !0;
598
- let m = "", ee = P.value.style.tooltip.customFormat;
599
- r(ee) && d(() => ee({
629
+ }, Lt.value = !0;
630
+ let p = "", m = P.value.style.tooltip.customFormat;
631
+ r(m) && ee(() => m({
600
632
  datapoint: e,
601
633
  seriesIndex: t,
602
- series: X.value,
634
+ series: Q.value,
603
635
  config: P.value
604
- })) ? Lt.value = ee({
636
+ })) ? Rt.value = m({
605
637
  datapoint: e,
606
638
  seriesIndex: t,
607
- series: X.value,
639
+ series: Q.value,
608
640
  config: P.value
609
- }) : (m += `<div>${l} ${f ? l ? ` - ${f}` : `${f}` : ""}</div>`, m += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Nn(c, On.value, q.value)}">⬤</span><span>${isNaN(c) ? "-" : u(F.value.value.formatter, c, o({
641
+ }) : (p += `<div>${l} ${u ? l ? ` - ${u}` : `${u}` : ""}</div>`, p += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${P.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${X(c, J.value, q.value)}">⬤</span><span>${isNaN(c) ? "-" : d(F.value.value.formatter, c, o({
610
642
  p: I.value.prefix,
611
643
  v: c,
612
644
  s: I.value.suffix,
@@ -614,35 +646,35 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
614
646
  }), {
615
647
  datapoint: e,
616
648
  seriesIndex: t
617
- })}</span></div>`, Lt.value = `<div style="font-size:${P.value.style.tooltip.fontSize}px">${m}</div>`), a === "keyboard" && Ae(() => {
618
- Un(e.id);
649
+ })}</span></div>`, Rt.value = `<div style="font-size:${P.value.style.tooltip.fontSize}px">${p}</div>`), a === "keyboard" && je(() => {
650
+ qn(e.id);
619
651
  });
620
652
  }
621
- function Gn({ datapoint: e, seriesIndex: t }) {
653
+ function Yn({ datapoint: e, seriesIndex: t }) {
622
654
  P.value.events.datapointLeave && P.value.events.datapointLeave({
623
655
  datapoint: e,
624
656
  seriesIndex: t
625
- }), (tn.value !== e.id || rn.value !== "keyboard") && (It.value = !1, Rt.value = void 0, Z.value = null, M.value = null);
657
+ }), (nn.value !== e.id || an.value !== "keyboard") && (Lt.value = !1, zt.value = void 0, $.value = null, M.value = null);
626
658
  }
627
- function Kn(e) {
628
- return u(F.value.value.formatter, Y.value.yTotals[e].total, o({
659
+ function Xn(e) {
660
+ return d(F.value.value.formatter, Z.value.yTotals[e].total, o({
629
661
  p: I.value.prefix,
630
- v: Y.value.yTotals[e].total,
662
+ v: Z.value.yTotals[e].total,
631
663
  s: I.value.suffix,
632
664
  r: F.value.value.roundingValue
633
665
  }), {
634
- datapoint: Y.value.yTotals[e],
666
+ datapoint: Z.value.yTotals[e],
635
667
  rowIndex: e
636
668
  });
637
669
  }
638
- function qn(e) {
639
- return u(F.value.value.formatter, Y.value.xTotals[e].total, o({
670
+ function Zn(e) {
671
+ return d(F.value.value.formatter, Z.value.xTotals[e].total, o({
640
672
  p: I.value.prefix,
641
- v: Y.value.xTotals[e].total,
673
+ v: Z.value.xTotals[e].total,
642
674
  s: I.value.suffix,
643
675
  r: F.value.value.roundingValue
644
676
  }), {
645
- datapoint: Y.value.xTotals[e],
677
+ datapoint: Z.value.xTotals[e],
646
678
  colIndex: e
647
679
  });
648
680
  }
@@ -650,11 +682,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
650
682
  head: R.value.map((e) => ({ name: e.name })),
651
683
  body: R.value.map((e) => e.values)
652
684
  }));
653
- function Jn(e = null) {
654
- Ae(() => {
685
+ function Qn(e = null) {
686
+ je(() => {
655
687
  let n = ["", ...R.value.map((e, t) => e.name)], r = [];
656
- for (let e = 0; e < Y.value.xLabels.length; e += 1) {
657
- let t = [Y.value.xLabels[e]];
688
+ for (let e = 0; e < Z.value.xLabels.length; e += 1) {
689
+ let t = [Z.value.xLabels[e]];
658
690
  for (let n = 0; n < R.value.length; n += 1) t.push([R.value[n].values[e]]);
659
691
  r.push(t);
660
692
  }
@@ -674,32 +706,32 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
674
706
  });
675
707
  });
676
708
  }
677
- let Q = w(!1);
678
- function Yn(e) {
679
- Q.value = e, zt.value += 1;
709
+ let $n = w(!1);
710
+ function er(e) {
711
+ $n.value = e, Bt.value += 1;
680
712
  }
681
- function Xn() {
713
+ function tr() {
682
714
  B.value.showTable = !B.value.showTable;
683
715
  }
684
- function Zn() {
716
+ function nr() {
685
717
  B.value.showTooltip = !B.value.showTooltip;
686
718
  }
687
- let Qn = w(!1);
688
- function $n() {
689
- Qn.value = !Qn.value;
719
+ let rr = w(!1);
720
+ function ir() {
721
+ rr.value = !rr.value;
690
722
  }
691
- function er(e, t) {
723
+ function ar(e, t) {
692
724
  P.value.events.datapointClick && P.value.events.datapointClick({
693
725
  datapoint: e,
694
726
  seriesIndex: t
695
- }), Nt("selectDatapoint", e);
727
+ }), Pt("selectDatapoint", e);
696
728
  }
697
- function tr() {
698
- return X.value;
729
+ function or() {
730
+ return Q.value;
699
731
  }
700
- async function nr({ scale: e = 2 } = {}) {
732
+ async function sr({ scale: e = 2 } = {}) {
701
733
  if (!j.value) return;
702
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await pe({
734
+ let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await me({
703
735
  domElement: j.value,
704
736
  base64: !0,
705
737
  img: !0,
@@ -714,14 +746,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
714
746
  aspectRatio: r
715
747
  };
716
748
  }
717
- let rr = g(() => ({
749
+ let cr = g(() => ({
718
750
  start: 0,
719
751
  end: H.value
720
- })), ir = g(() => Y.value.xLabels);
721
- fe({
722
- timeLabelsEls: Xt,
723
- timeLabels: ir,
724
- slicer: rr,
752
+ })), lr = g(() => Z.value.xLabels);
753
+ pe({
754
+ timeLabelsEls: Zt,
755
+ timeLabels: lr,
756
+ slicer: cr,
725
757
  configRef: P,
726
758
  rotationPath: [
727
759
  "style",
@@ -741,12 +773,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
741
773
  isAutoSize: !1,
742
774
  targetClass: ".vue-ui-heatmap-col-name",
743
775
  rotation: I.value.xAxis.autoRotate.angle,
744
- width: wn,
745
- height: Tn
746
- }), fe({
747
- timeLabelsEls: Zt,
748
- timeLabels: ir,
749
- slicer: rr,
776
+ width: Dn,
777
+ height: On
778
+ }), pe({
779
+ timeLabelsEls: Qt,
780
+ timeLabels: lr,
781
+ slicer: cr,
750
782
  configRef: P,
751
783
  rotationPath: [
752
784
  "style",
@@ -768,23 +800,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
768
800
  isAutoSize: !1,
769
801
  targetClass: ".vue-ui-heatmap-col-total",
770
802
  rotation: F.value.columnTotal.value.autoRotate.angle,
771
- width: wn,
772
- height: Tn
803
+ width: Dn,
804
+ height: On
773
805
  });
774
- let ar = g(() => {
806
+ let ur = g(() => {
775
807
  let e = P.value.table.useDialog && !P.value.table.show, t = B.value.showTable;
776
808
  return {
777
- component: e ? kt : ve,
809
+ component: e ? At : ye,
778
810
  title: `${P.value.style.title.text}${P.value.style.title.subtitle.text ? `: ${P.value.style.title.subtitle.text}` : ""}`,
779
811
  props: e ? {
780
812
  backgroundColor: P.value.table.th.backgroundColor,
781
813
  color: P.value.table.th.color,
782
814
  headerColor: P.value.table.th.color,
783
815
  headerBg: P.value.table.th.backgroundColor,
784
- isFullscreen: Q.value,
816
+ isFullscreen: $n.value,
785
817
  fullscreenParent: j.value,
786
818
  forcedWidth: Math.min(800, window.innerWidth * .8),
787
- isCursorPointer: on.value
819
+ isCursorPointer: sn.value
788
820
  } : {
789
821
  hideDetails: !0,
790
822
  config: {
@@ -802,37 +834,37 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
802
834
  }
803
835
  };
804
836
  });
805
- Be(() => B.value.showTable, async (e) => {
806
- P.value.table.show || (e && P.value.table.useDialog && Ut.value ? (await Ae(), Ut.value.open()) : "close" in Ut.value && Ut.value.close());
837
+ Ve(() => B.value.showTable, async (e) => {
838
+ P.value.table.show || (e && P.value.table.useDialog && Wt.value ? (await je(), Wt.value.open()) : "close" in Wt.value && Wt.value.close());
807
839
  });
808
- let { isResponsive: or } = Se(Bt, xn);
809
- function sr() {
810
- B.value.showTable = !1, Wt.value && Wt.value.setTableIconState(!1);
840
+ let { isResponsive: dr } = Ce(Vt, wn);
841
+ function fr() {
842
+ B.value.showTable = !1, Gt.value && Gt.value.setTableIconState(!1);
811
843
  }
812
- let cr = g(() => P.value.style.backgroundColor), lr = g(() => P.value.style.title), { isCallbackImaging: ur, isCallbackSvg: dr, generateSvg: fr, onGenerateImage: pr } = de({
844
+ let pr = g(() => P.value.style.backgroundColor), mr = g(() => P.value.style.title), { isCallbackImaging: hr, isCallbackSvg: gr, generateSvg: _r, onGenerateImage: vr } = fe({
813
845
  svg: z,
814
- title: lr,
846
+ title: mr,
815
847
  legend: null,
816
848
  legendItems: null,
817
- backgroundColor: cr,
849
+ backgroundColor: pr,
818
850
  getSvgCallback: () => P.value.userOptions.callbacks.svg,
819
- generateImage: yn
851
+ generateImage: Sn
820
852
  });
821
- async function mr() {
822
- if (Nt("copyAlt", {
853
+ async function yr() {
854
+ if (Pt("copyAlt", {
823
855
  config: P.value,
824
- dataset: X.value
856
+ dataset: Q.value
825
857
  }), !P.value.userOptions.callbacks.altCopy) {
826
858
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
827
859
  return;
828
860
  }
829
861
  await Promise.resolve(P.value.userOptions.callbacks.altCopy({
830
862
  config: P.value,
831
- dataset: X.value
863
+ dataset: Q.value
832
864
  }));
833
865
  }
834
- function hr(e, t) {
835
- let n = X.value[e];
866
+ function br(e, t) {
867
+ let n = Q.value[e];
836
868
  if (!n) return null;
837
869
  let r = n.temperatures[t];
838
870
  return r ? {
@@ -841,76 +873,76 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
841
873
  columnIndex: t
842
874
  } : null;
843
875
  }
844
- function gr(e, t) {
876
+ function xr(e, t) {
845
877
  let n = 0;
846
- for (let t = 0; t < e; t += 1) n += X.value[t]?.temperatures?.length || 0;
878
+ for (let t = 0; t < e; t += 1) n += Q.value[t]?.temperatures?.length || 0;
847
879
  return n + t;
848
880
  }
849
- function _r() {
850
- N.value = null, tn.value = null, an.value = !0;
881
+ function Sr() {
882
+ N.value = null, nn.value = null, on.value = !0;
851
883
  }
852
- function vr() {
853
- Hn(), an.value = !1;
884
+ function Cr() {
885
+ Kn(), on.value = !1;
854
886
  }
855
- function yr(e) {
856
- if (!z.value || Qn.value || document.activeElement !== z.value || !$.value.length) return;
887
+ function wr(e) {
888
+ if (!z.value || rr.value || document.activeElement !== z.value || !Dr.value.length) return;
857
889
  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";
858
890
  if (!t && !n && !r && !i && !a && !o) return;
859
891
  if (e.preventDefault(), e.stopPropagation(), o) {
860
- Hn();
892
+ Kn();
861
893
  return;
862
894
  }
863
895
  if (a) {
864
896
  if (N.value === null) return;
865
- let e = $.value[N.value];
897
+ let e = Dr.value[N.value];
866
898
  if (!e) return;
867
- er(e.cell, e.rowIndex);
899
+ ar(e.cell, e.rowIndex);
868
900
  return;
869
901
  }
870
- let s = N.value === null ? null : $.value[N.value];
902
+ let s = N.value === null ? null : Dr.value[N.value];
871
903
  if (!s) {
872
- let e = Rt.value ? $.value.findIndex((e) => e.cell.id === Rt.value) : null;
873
- if (e !== null && e >= 0 && e < $.value.length) {
874
- let a = $.value[e];
904
+ let e = zt.value ? Dr.value.findIndex((e) => e.cell.id === zt.value) : null;
905
+ if (e !== null && e >= 0 && e < Dr.value.length) {
906
+ let a = Dr.value[e];
875
907
  if (!a) return;
876
908
  let o = a.rowIndex, s = a.columnIndex;
877
909
  n ? s += 1 : t ? --s : i ? o += 1 : r && --o;
878
- let c = xr.value.rowCount;
910
+ let c = Er.value.rowCount;
879
911
  if (c <= 0) return;
880
912
  o < 0 && (o = c - 1), o >= c && (o = 0);
881
- let l = X.value[o];
913
+ let l = Q.value[o];
882
914
  if (!l || !l.temperatures.length) return;
883
915
  let u = l.temperatures.length;
884
916
  s < 0 && (s = u - 1), s >= u && (s = 0);
885
- let d = hr(o, s);
917
+ let d = br(o, s);
886
918
  if (!d) return;
887
- let f = gr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
888
- Wn(d.cell, d.rowIndex, p, m, "keyboard", f);
919
+ let ee = xr(o, s), f = K.value.left + K.value.cellSize.width * d.columnIndex, p = K.value.top + K.value.cellSize.height * d.rowIndex;
920
+ Jn(d.cell, d.rowIndex, f, p, "keyboard", ee);
889
921
  return;
890
922
  }
891
- let a = $.value[0];
923
+ let a = Dr.value[0];
892
924
  if (!a) return;
893
925
  let o = K.value.left + K.value.cellSize.width * a.columnIndex, s = K.value.top + K.value.cellSize.height * a.rowIndex;
894
- Wn(a.cell, a.rowIndex, o, s, "keyboard", 0);
926
+ Jn(a.cell, a.rowIndex, o, s, "keyboard", 0);
895
927
  return;
896
928
  }
897
929
  let c = s.rowIndex, l = s.columnIndex;
898
930
  n ? l += 1 : t ? --l : i ? c += 1 : r && --c;
899
- let u = xr.value.rowCount;
931
+ let u = Er.value.rowCount;
900
932
  if (u <= 0) return;
901
933
  c < 0 && (c = u - 1), c >= u && (c = 0);
902
- let d = X.value[c];
934
+ let d = Q.value[c];
903
935
  if (!d || !d.temperatures.length) return;
904
- let f = d.temperatures.length;
905
- l < 0 && (l = f - 1), l >= f && (l = 0);
906
- let p = hr(c, l);
907
- if (!p) return;
908
- let m = gr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, te = K.value.top + K.value.cellSize.height * p.rowIndex;
909
- Wn(p.cell, p.rowIndex, ee, te, "keyboard", m);
936
+ let ee = d.temperatures.length;
937
+ l < 0 && (l = ee - 1), l >= ee && (l = 0);
938
+ let f = br(c, l);
939
+ if (!f) return;
940
+ let p = xr(c, l), m = K.value.left + K.value.cellSize.width * f.columnIndex, te = K.value.top + K.value.cellSize.height * f.rowIndex;
941
+ Jn(f.cell, f.rowIndex, m, te, "keyboard", p);
910
942
  }
911
- let br = g(() => ({
943
+ let Tr = g(() => ({
912
944
  headers: [P.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
913
- rows: Y.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
945
+ rows: Z.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
914
946
  let n = e.values?.[t];
915
947
  return isNaN(n) ? "-" : o({
916
948
  p: I.value.prefix,
@@ -919,46 +951,46 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
919
951
  r: P.value.table.td.roundingValue
920
952
  });
921
953
  })])
922
- })), xr = g(() => ({
923
- rowCount: X.value.length,
924
- columnCount: Math.max(0, ...X.value.map((e) => e.temperatures.length))
925
- })), $ = g(() => X.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
954
+ })), Er = g(() => ({
955
+ rowCount: Q.value.length,
956
+ columnCount: Math.max(0, ...Q.value.map((e) => e.temperatures.length))
957
+ })), Dr = g(() => Q.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
926
958
  cell: e,
927
959
  rowIndex: t,
928
960
  columnIndex: n
929
961
  }))));
930
- return he({
931
- getData: tr,
932
- getImage: nr,
933
- generatePdf: vn,
934
- generateCsv: Jn,
935
- generateImage: yn,
936
- generateSvg: fr,
937
- toggleTable: Xn,
938
- toggleTooltip: Zn,
939
- toggleAnnotator: $n,
940
- toggleFullscreen: Yn,
941
- copyAlt: mr
962
+ return ge({
963
+ getData: or,
964
+ getImage: sr,
965
+ generatePdf: xn,
966
+ generateCsv: Qn,
967
+ generateImage: Sn,
968
+ generateSvg: _r,
969
+ toggleTable: tr,
970
+ toggleTooltip: nr,
971
+ toggleAnnotator: ir,
972
+ toggleFullscreen: er,
973
+ copyAlt: yr
942
974
  }), (t, n) => (C(), v("div", {
943
975
  ref_key: "heatmapChart",
944
976
  ref: j,
945
- class: je(`vue-data-ui-component vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
977
+ class: Me(`vue-data-ui-component vue-ui-heatmap ${$n.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
946
978
  style: S(`font-family:${P.value.style.fontFamily};width:100%;${P.value.responsive ? "height: 100%;" : ""} text-align:center;background:${P.value.style.backgroundColor}`),
947
- id: `heatmap__${Ft.value}`,
948
- onMouseenter: n[1] ||= () => mn(!0),
979
+ id: `heatmap__${It.value}`,
980
+ onMouseenter: n[1] ||= () => hn(!0),
949
981
  onMouseleave: n[2] ||= () => {
950
- mn(!1), an.value || Hn();
982
+ hn(!1), on.value || Kn();
951
983
  }
952
984
  }, [
953
985
  y("div", {
954
- id: `chart-instructions-${Ft.value}`,
986
+ id: `chart-instructions-${It.value}`,
955
987
  class: "sr-only"
956
- }, [y("p", null, D(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
957
- br.value?.rows?.length ? (C(), we(ye, {
988
+ }, [y("p", null, D(P.value.a11y.translations.keyboardNavigation), 1)], 8, Xe),
989
+ Tr.value?.rows?.length ? (C(), Te(be, {
958
990
  key: 0,
959
- uid: Ft.value,
960
- head: br.value.headers,
961
- body: br.value.rows,
991
+ uid: It.value,
992
+ head: Tr.value.headers,
993
+ body: Tr.value.rows,
962
994
  notice: P.value.a11y.translations.tableAvailable,
963
995
  caption: P.value.a11y.translations.tableCaption
964
996
  }, null, 8, [
@@ -968,15 +1000,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
968
1000
  "notice",
969
1001
  "caption"
970
1002
  ])) : _("", !0),
971
- P.value.userOptions.buttons.annotator ? (C(), we(O(Et), {
1003
+ P.value.userOptions.buttons.annotator ? (C(), Te(O(Dt), {
972
1004
  key: 1,
973
1005
  svgRef: O(z),
974
1006
  backgroundColor: P.value.style.backgroundColor,
975
1007
  color: P.value.style.color,
976
- active: Qn.value,
977
- isCursorPointer: on.value,
1008
+ active: rr.value,
1009
+ isCursorPointer: sn.value,
978
1010
  palette: P.value.userOptions.annotatorPalette,
979
- onClose: $n
1011
+ onClose: ir
980
1012
  }, {
981
1013
  "annotator-action-close": k(() => [E(t.$slots, "annotator-action-close", {}, void 0, !0)]),
982
1014
  "annotator-action-color": k(({ color: e }) => [E(t.$slots, "annotator-action-color", x(b({ color: e })), void 0, !0)]),
@@ -993,20 +1025,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
993
1025
  "isCursorPointer",
994
1026
  "palette"
995
1027
  ])) : _("", !0),
996
- bn.value ? (C(), v("div", {
1028
+ Cn.value ? (C(), v("div", {
997
1029
  key: 2,
998
1030
  ref_key: "noTitle",
999
- ref: Kt,
1031
+ ref: qt,
1000
1032
  class: "vue-data-ui-no-title-space",
1001
1033
  style: "height:36px; width: 100%;background:transparent"
1002
1034
  }, null, 512)) : _("", !0),
1003
1035
  P.value.style.title.text ? (C(), v("div", {
1004
1036
  key: 3,
1005
1037
  ref_key: "chartTitle",
1006
- ref: Gt,
1038
+ ref: Kt,
1007
1039
  style: "width:100%;background:transparent"
1008
- }, [(C(), we(me, {
1009
- key: `title_${Vt.value}`,
1040
+ }, [(C(), Te(he, {
1041
+ key: `title_${Ht.value}`,
1010
1042
  config: {
1011
1043
  title: {
1012
1044
  cy: "heatmap-div-title",
@@ -1018,15 +1050,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1018
1050
  }
1019
1051
  }
1020
1052
  }, null, 8, ["config"]))], 512)) : _("", !0),
1021
- P.value.userOptions.show && Pt.value && (O(pn) || O(dn)) ? (C(), we(O(Dt), {
1053
+ P.value.userOptions.show && Ft.value && (O(mn) || O(fn)) ? (C(), Te(O(Ot), {
1022
1054
  ref_key: "userOptionsRef",
1023
- ref: Wt,
1024
- key: `user_options_${zt.value}`,
1055
+ ref: Gt,
1056
+ key: `user_options_${Bt.value}`,
1025
1057
  backgroundColor: P.value.style.backgroundColor,
1026
1058
  color: P.value.style.color,
1027
- isImaging: O(_n),
1028
- isPrinting: O(gn),
1029
- uid: Ft.value,
1059
+ isImaging: O(bn),
1060
+ isPrinting: O(yn),
1061
+ uid: It.value,
1030
1062
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.tooltip.show,
1031
1063
  hasPdf: P.value.userOptions.buttons.pdf,
1032
1064
  hasImg: P.value.userOptions.buttons.img,
@@ -1035,28 +1067,28 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1035
1067
  hasTable: P.value.userOptions.buttons.table,
1036
1068
  hasFullscreen: P.value.userOptions.buttons.fullscreen,
1037
1069
  hasAltCopy: P.value.userOptions.buttons.altCopy,
1038
- isFullscreen: Q.value,
1070
+ isFullscreen: $n.value,
1039
1071
  isTooltip: B.value.showTooltip,
1040
1072
  titles: { ...P.value.userOptions.buttonTitles },
1041
1073
  chartElement: j.value,
1042
1074
  position: P.value.userOptions.position,
1043
1075
  hasAnnotator: P.value.userOptions.buttons.annotator,
1044
- isAnnotation: Qn.value,
1076
+ isAnnotation: rr.value,
1045
1077
  callbacks: P.value.userOptions.callbacks,
1046
1078
  printScale: P.value.userOptions.print.scale,
1047
1079
  tableDialog: P.value.table.useDialog,
1048
- isCursorPointer: on.value,
1049
- onToggleFullscreen: Yn,
1050
- onGeneratePdf: O(vn),
1051
- onGenerateCsv: Jn,
1052
- onGenerateImage: O(pr),
1053
- onGenerateSvg: O(fr),
1054
- onToggleTable: Xn,
1055
- onToggleTooltip: Zn,
1056
- onToggleAnnotator: $n,
1057
- onCopyAlt: mr,
1058
- style: S({ visibility: O(pn) ? O(dn) ? "visible" : "hidden" : "visible" })
1059
- }, Te({ _: 2 }, [
1080
+ isCursorPointer: sn.value,
1081
+ onToggleFullscreen: er,
1082
+ onGeneratePdf: O(xn),
1083
+ onGenerateCsv: Qn,
1084
+ onGenerateImage: O(vr),
1085
+ onGenerateSvg: O(_r),
1086
+ onToggleTable: tr,
1087
+ onToggleTooltip: nr,
1088
+ onToggleAnnotator: ir,
1089
+ onCopyAlt: yr,
1090
+ style: S({ visibility: O(mn) ? O(fn) ? "visible" : "hidden" : "visible" })
1091
+ }, Ee({ _: 2 }, [
1060
1092
  t.$slots.menuIcon ? {
1061
1093
  name: "menuIcon",
1062
1094
  fn: k(({ isOpen: e, color: n }) => [E(t.$slots, "menuIcon", x(b({
@@ -1127,18 +1159,18 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1127
1159
  key: "11"
1128
1160
  } : void 0
1129
1161
  ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : _("", !0),
1130
- y("div", { class: je({
1162
+ y("div", { class: Me({
1131
1163
  "vue-ui-heatmap-chart-wrapper": !0,
1132
1164
  "vue-ui-heatmap-chart-wrapper-legend-right": P.value.style.legend.show
1133
1165
  }) }, [
1134
1166
  (C(), v("svg", {
1135
1167
  ref_key: "svgRef",
1136
1168
  ref: z,
1137
- xmlns: O(ee),
1138
- "aria-describedby": `chart-instructions-${Ft.value}`,
1139
- class: je({
1140
- "vue-data-ui-fullscreen--on": Q.value,
1141
- "vue-data-ui-fulscreen--off": !Q.value
1169
+ xmlns: O(te),
1170
+ "aria-describedby": `chart-instructions-${It.value}`,
1171
+ class: Me({
1172
+ "vue-data-ui-fullscreen--on": $n.value,
1173
+ "vue-data-ui-fulscreen--off": !$n.value
1142
1174
  }),
1143
1175
  viewBox: `0 0 ${U.value.width} ${U.value.height}`,
1144
1176
  width: "100%",
@@ -1147,11 +1179,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1147
1179
  role: "img",
1148
1180
  preserveAspectRatio: "xMidYMid",
1149
1181
  tabindex: "0",
1150
- onFocus: _r,
1151
- onBlur: vr,
1152
- onKeydown: yr
1182
+ onFocus: Sr,
1183
+ onBlur: Cr,
1184
+ onKeydown: wr
1153
1185
  }, [
1154
- De(O(Ot)),
1186
+ Oe(O(kt)),
1155
1187
  t.$slots["chart-background"] ? (C(), v("foreignObject", {
1156
1188
  key: 0,
1157
1189
  x: K.value.left,
@@ -1159,12 +1191,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1159
1191
  width: K.value.width,
1160
1192
  height: K.value.height,
1161
1193
  style: { pointerEvents: "none" }
1162
- }, [E(t.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : _("", !0),
1194
+ }, [E(t.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : _("", !0),
1163
1195
  F.value.columnTotal.color.show ? (C(), v("g", {
1164
1196
  key: 1,
1165
1197
  ref_key: "xAxisSumRects",
1166
- ref: Qt
1167
- }, [(C(!0), v(h, null, T(Y.value.xTotals, (e, t) => (C(), v("rect", {
1198
+ ref: $t
1199
+ }, [(C(!0), v(h, null, T(Z.value.xTotals, (e, t) => (C(), v("rect", {
1168
1200
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1169
1201
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
1170
1202
  height: K.value.sumCellXHeight,
@@ -1172,7 +1204,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1172
1204
  fill: F.value.colors.underlayer,
1173
1205
  stroke: P.value.style.backgroundColor,
1174
1206
  "stroke-width": G.value
1175
- }, null, 8, Qe))), 256)), (C(!0), v(h, null, T(Y.value.xTotals, (e, t) => (C(), v("rect", {
1207
+ }, null, 8, $e))), 256)), (C(!0), v(h, null, T(Z.value.xTotals, (e, t) => (C(), v("rect", {
1176
1208
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1177
1209
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
1178
1210
  height: K.value.sumCellXHeight,
@@ -1180,11 +1212,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1180
1212
  fill: e.color,
1181
1213
  stroke: P.value.style.backgroundColor,
1182
1214
  "stroke-width": G.value
1183
- }, null, 8, $e))), 256))], 512)) : _("", !0),
1215
+ }, null, 8, et))), 256))], 512)) : _("", !0),
1184
1216
  y("g", {
1185
1217
  ref_key: "datapoints",
1186
- ref: Ht
1187
- }, [(C(!0), v(h, null, T(X.value, (e, t) => (C(), v(h, null, [(C(!0), v(h, null, T(e.temperatures, (e, n) => (C(), v("g", null, [
1218
+ ref: Ut
1219
+ }, [(C(!0), v(h, null, T(Q.value, (e, t) => (C(), v(h, null, [(C(!0), v(h, null, T(e.temperatures, (e, n) => (C(), v("g", null, [
1188
1220
  y("rect", {
1189
1221
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
1190
1222
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
@@ -1193,7 +1225,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1193
1225
  fill: F.value.colors.underlayer,
1194
1226
  stroke: P.value.style.backgroundColor,
1195
1227
  "stroke-width": G.value
1196
- }, null, 8, et),
1228
+ }, null, 8, tt),
1197
1229
  y("rect", {
1198
1230
  "data-a11y-cell-id": e.id,
1199
1231
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
@@ -1204,14 +1236,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1204
1236
  stroke: P.value.style.backgroundColor,
1205
1237
  "stroke-width": G.value,
1206
1238
  "aria-label": `${e.yAxisName}${e.xAxisName ? ` - ${e.xAxisName}` : ""}: ${isNaN(e.value) ? "-" : e.value}`,
1207
- onMouseover: (r) => Wn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", gr(t, n)),
1208
- onMouseout: () => Gn({
1239
+ onMouseover: (r) => Jn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", xr(t, n)),
1240
+ onMouseout: () => Yn({
1209
1241
  datapoint: e,
1210
1242
  seriesIndex: t
1211
1243
  }),
1212
- onClick: () => er(e, t)
1213
- }, null, 40, tt),
1214
- F.value.value.show ? He((C(), v("text", {
1244
+ onClick: () => ar(e, t)
1245
+ }, null, 40, nt),
1246
+ F.value.value.show ? Ue((C(), v("text", {
1215
1247
  key: 0,
1216
1248
  "text-anchor": "middle",
1217
1249
  "font-size": F.value.value.fontSize,
@@ -1223,28 +1255,28 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1223
1255
  pointerEvents: "none",
1224
1256
  userSelect: "none"
1225
1257
  }
1226
- }, [Ee(D(O(u)(F.value.value.formatter, e.value, O(o)({
1258
+ }, [De(D(O(d)(F.value.value.formatter, e.value, O(o)({
1227
1259
  p: I.value.prefix,
1228
1260
  v: e.value,
1229
1261
  s: I.value.suffix,
1230
1262
  r: F.value.value.roundingValue
1231
- }), { datapoint: e })), 1)], 8, nt)), [[O(Ge), {
1263
+ }), { datapoint: e })), 1)], 8, rt)), [[O(Ke), {
1232
1264
  cellWidth: K.value.cellSize.width - G.value,
1233
1265
  cellHeight: K.value.cellSize.height - G.value,
1234
1266
  maxFontSize: F.value.value.fontSize,
1235
1267
  minFontSize: 10,
1236
1268
  index: t * H.value + n,
1237
- reportHide: Bn,
1238
- reportRotation: Ln,
1239
- hideAll: zn.value,
1240
- rotateAll: In.value
1269
+ reportHide: Wn,
1270
+ reportRotation: Vn,
1271
+ hideAll: Un.value,
1272
+ rotateAll: Bn.value
1241
1273
  }]]) : _("", !0)
1242
1274
  ]))), 256))], 64))), 256))], 512),
1243
1275
  F.value.rowTotal.color.show ? (C(), v("g", {
1244
1276
  key: 2,
1245
1277
  ref_key: "yAxisSumRects",
1246
- ref: Yt
1247
- }, [(C(!0), v(h, null, T(X.value, (e, t) => (C(), v(h, null, [y("rect", {
1278
+ ref: Xt
1279
+ }, [(C(!0), v(h, null, T(Q.value, (e, t) => (C(), v(h, null, [y("rect", {
1248
1280
  x: K.value.left,
1249
1281
  y: K.value.top + K.value.cellSize.height * t,
1250
1282
  width: K.value.sumCellXHeight,
@@ -1252,20 +1284,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1252
1284
  fill: F.value.colors.underlayer,
1253
1285
  stroke: P.value.style.backgroundColor,
1254
1286
  "stroke-width": G.value
1255
- }, null, 8, rt), y("rect", {
1287
+ }, null, 8, it), y("rect", {
1256
1288
  x: K.value.left,
1257
1289
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
1258
1290
  width: K.value.sumCellXHeight,
1259
1291
  height: K.value.cellSize.height - G.value,
1260
- fill: Y.value.yTotals[t].color,
1292
+ fill: Z.value.yTotals[t].color,
1261
1293
  stroke: P.value.style.backgroundColor,
1262
1294
  "stroke-width": G.value
1263
- }, null, 8, it)], 64))), 256))], 512)) : _("", !0),
1295
+ }, null, 8, at)], 64))), 256))], 512)) : _("", !0),
1264
1296
  I.value.yAxis.show ? (C(), v("g", {
1265
1297
  key: 3,
1266
1298
  ref_key: "yAxisLabels",
1267
- ref: Jt
1268
- }, [(C(!0), v(h, null, T(X.value, (e, t) => (C(), v(h, null, [y("text", {
1299
+ ref: Yt
1300
+ }, [(C(!0), v(h, null, T(Q.value, (e, t) => (C(), v(h, null, [y("text", {
1269
1301
  class: "vue-ui-heatmap-row-name",
1270
1302
  "font-size": I.value.yAxis.fontSize,
1271
1303
  fill: I.value.yAxis.color,
@@ -1273,7 +1305,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1273
1305
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + I.value.yAxis.fontSize / 3 + I.value.yAxis.offsetY - (F.value.rowTotal.value.show ? I.value.yAxis.fontSize / 1.5 : 0),
1274
1306
  "text-anchor": "end",
1275
1307
  "font-weight": I.value.yAxis.bold ? "bold" : "normal"
1276
- }, D(Y.value.yLabels[t]), 9, at), F.value.rowTotal.value.show ? (C(), v("text", {
1308
+ }, D(Z.value.yLabels[t]), 9, ot), F.value.rowTotal.value.show ? (C(), v("text", {
1277
1309
  key: 0,
1278
1310
  class: "vue-ui-heatmap-row-total",
1279
1311
  "font-size": I.value.yAxis.fontSize,
@@ -1282,33 +1314,33 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1282
1314
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + I.value.yAxis.fontSize + I.value.yAxis.offsetY,
1283
1315
  "text-anchor": "end",
1284
1316
  "font-weight": I.value.yAxis.bold ? "bold" : "normal"
1285
- }, D(Kn(t)), 9, ot)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1317
+ }, D(Xn(t)), 9, st)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1286
1318
  I.value.xAxis.show ? (C(), v("g", {
1287
1319
  key: 4,
1288
1320
  ref_key: "xAxisLabels",
1289
- ref: Xt
1290
- }, [(C(!0), v(h, null, T(Y.value.xLabels, (e, t) => (C(), v(h, null, [!I.value.xAxis.showOnlyAtModulo || I.value.xAxis.showOnlyAtModulo && t % I.value.xAxis.showOnlyAtModulo === 0 ? (C(), v("text", {
1321
+ ref: Zt
1322
+ }, [(C(!0), v(h, null, T(Z.value.xLabels, (e, t) => (C(), v(h, null, [!I.value.xAxis.showOnlyAtModulo || I.value.xAxis.showOnlyAtModulo && t % I.value.xAxis.showOnlyAtModulo === 0 ? (C(), v("text", {
1291
1323
  key: 0,
1292
1324
  class: "vue-ui-heatmap-col-name",
1293
1325
  "text-anchor": I.value.xAxis.rotation === 0 ? "middle" : I.value.xAxis.rotation < 0 ? "start" : "end",
1294
1326
  "font-size": I.value.xAxis.fontSize,
1295
1327
  fill: I.value.xAxis.color,
1296
1328
  "font-weight": I.value.xAxis.bold ? "bold" : "normal",
1297
- transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + I.value.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${I.value.xAxis.rotation})`
1298
- }, D(e), 9, st)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1329
+ transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Z.value.xLabels.length * t + I.value.xAxis.offsetX + K.value.sumCellXHeight}, ${K.value.topLabelsHeight}), rotate(${I.value.xAxis.rotation})`
1330
+ }, D(e), 9, ct)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1299
1331
  F.value.columnTotal.value.show ? (C(), v("g", {
1300
1332
  key: 5,
1301
1333
  ref_key: "xAxisSums",
1302
- ref: Zt
1303
- }, [(C(!0), v(h, null, T(Y.value.xLabels, (e, t) => (C(), v("text", {
1334
+ ref: Qt
1335
+ }, [(C(!0), v(h, null, T(Z.value.xLabels, (e, t) => (C(), v("text", {
1304
1336
  class: "vue-ui-heatmap-col-total",
1305
1337
  "text-anchor": F.value.columnTotal.value.rotation === 0 ? "middle" : F.value.columnTotal.value.rotation < 0 ? "end" : "start",
1306
1338
  "font-size": I.value.xAxis.fontSize,
1307
1339
  fill: I.value.xAxis.color,
1308
1340
  "font-weight": I.value.xAxis.bold ? "bold" : "normal",
1309
- transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Y.value.xLabels.length * t + I.value.xAxis.offsetX + F.value.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + I.value.xAxis.fontSize / 2}), rotate(${F.value.columnTotal.value.rotation})`
1310
- }, D(qn(t)), 9, ct))), 256))], 512)) : _("", !0),
1311
- M.value ? (C(), v("g", lt, [y("rect", {
1341
+ transform: `translate(${K.value.left + K.value.cellSize.width / 2 + K.value.width / Z.value.xLabels.length * t + I.value.xAxis.offsetX + F.value.columnTotal.value.offsetX + K.value.sumCellXHeight}, ${K.value.bottom + I.value.xAxis.fontSize / 2}), rotate(${F.value.columnTotal.value.rotation})`
1342
+ }, D(Zn(t)), 9, lt))), 256))], 512)) : _("", !0),
1343
+ M.value ? (C(), v("g", ut, [y("rect", {
1312
1344
  style: { "pointer-events": "none" },
1313
1345
  x: M.value.x - F.value.selected.border / 2 + G.value + K.value.sumCellXHeight,
1314
1346
  y: M.value.y - F.value.selected.border / 2 + G.value,
@@ -1318,8 +1350,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1318
1350
  stroke: F.value.selected.color,
1319
1351
  "stroke-width": F.value.selected.border,
1320
1352
  rx: 1
1321
- }, null, 8, ut)])) : _("", !0),
1322
- L.value.crosshairs.show && M.value ? (C(), v("g", dt, [y("line", {
1353
+ }, null, 8, dt)])) : _("", !0),
1354
+ L.value.crosshairs.show && M.value ? (C(), v("g", ft, [y("line", {
1323
1355
  x1: K.value.left + K.value.sumCellXHeight,
1324
1356
  x2: M.value.x + K.value.sumCellXHeight,
1325
1357
  y1: M.value.y + (K.value.cellSize.height - G.value) / 2,
@@ -1328,7 +1360,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1328
1360
  "stroke-width": L.value.crosshairs.strokeWidth,
1329
1361
  "stroke-dasharray": L.value.crosshairs.strokeDasharray,
1330
1362
  "stroke-linecap": "round"
1331
- }, null, 8, ft), y("line", {
1363
+ }, null, 8, pt), y("line", {
1332
1364
  x1: M.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1333
1365
  x2: M.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1334
1366
  y1: M.value.y,
@@ -1337,42 +1369,42 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1337
1369
  "stroke-width": L.value.crosshairs.strokeWidth,
1338
1370
  "stroke-dasharray": L.value.crosshairs.strokeDasharray,
1339
1371
  "stroke-linecap": "round"
1340
- }, null, 8, pt)])) : _("", !0),
1372
+ }, null, 8, mt)])) : _("", !0),
1341
1373
  E(t.$slots, "svg", { svg: {
1342
1374
  ...U.value,
1343
1375
  drawingArea: K.value,
1344
- isPrintingImg: O(gn) || O(_n) || O(ur),
1345
- isPrintingSvg: O(dr)
1376
+ isPrintingImg: O(yn) || O(bn) || O(hr),
1377
+ isPrintingSvg: O(gr)
1346
1378
  } }, void 0, !0)
1347
- ], 46, Xe)),
1379
+ ], 46, Ze)),
1348
1380
  P.value.style.legend.show ? (C(), v("div", {
1349
1381
  key: 0,
1350
1382
  ref_key: "legendRight",
1351
- ref: qt,
1383
+ ref: Jt,
1352
1384
  class: "vue-ui-heatmap-legend-right",
1353
1385
  style: S({ "--legend-width": P.value.style.legend.width + "px" })
1354
1386
  }, [
1355
- O(ln) ? _("", !0) : (C(), v("div", {
1387
+ O(un) ? _("", !0) : (C(), v("div", {
1356
1388
  key: 0,
1357
1389
  class: "vue-ui-heatmap-legend-label-max",
1358
1390
  style: S({
1359
1391
  fontSize: P.value.style.legend.fontSize + "px",
1360
1392
  color: P.value.style.legend.color
1361
1393
  })
1362
- }, D(O(u)(F.value.value.formatter, O(c)(q.value), O(o)({
1394
+ }, D(O(d)(F.value.value.formatter, O(l)(q.value), O(o)({
1363
1395
  p: I.value.prefix,
1364
- v: O(c)(q.value),
1396
+ v: O(l)(q.value),
1365
1397
  s: I.value.suffix,
1366
1398
  r: P.value.style.legend.roundingValue
1367
1399
  }))), 5)),
1368
- y("div", mt, [y("div", {
1400
+ y("div", ht, [y("div", {
1369
1401
  class: "vue-ui-heatmap-gauge",
1370
1402
  style: S({ background: `linear-gradient(to bottom, ${F.value.colors.hot}, ${F.value.colors.cold})` })
1371
- }, [He(y("div", {
1403
+ }, [Ue(y("div", {
1372
1404
  class: "vue-ui-heatmap-gauge-indicator",
1373
- "data-value": O(u)(F.value.value.formatter, O(c)(Z.value), O(o)({
1405
+ "data-value": O(d)(F.value.value.formatter, O(l)($.value), O(o)({
1374
1406
  p: I.value.prefix,
1375
- v: O(c)(Z.value),
1407
+ v: O(l)($.value),
1376
1408
  s: I.value.suffix,
1377
1409
  r: P.value.style.legend.roundingValue
1378
1410
  })),
@@ -1380,50 +1412,50 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1380
1412
  position: "absolute",
1381
1413
  width: "100%",
1382
1414
  height: "2px",
1383
- background: [void 0, null].includes(Z.value) ? "transparent" : O(m)(Vn.value.datapoint.color),
1384
- top: `${[void 0, null].includes(Z.value) ? 0 : (1 - Z.value / q.value) * 100}%`,
1415
+ background: [void 0, null].includes($.value) ? "transparent" : O(m)(Gn.value.datapoint.color),
1416
+ top: `${Ln($.value)}%`,
1385
1417
  transition: "all 0.2s ease-in-out",
1386
1418
  "--background-color": P.value.style.backgroundColor,
1387
1419
  "--gauge-arrow-color": O(m)(P.value.style.backgroundColor),
1388
1420
  "--gauge-arrow-text-color": O(m)(P.value.style.backgroundColor),
1389
- "--gauge-arrow-value": Z.value,
1421
+ "--gauge-arrow-value": $.value,
1390
1422
  "--gauge-arrow-font-size": P.value.style.legend.fontSize + "px"
1391
1423
  })
1392
- }, [y("div", gt, D(O(u)(F.value.value.formatter, O(c)(Z.value), O(o)({
1424
+ }, [y("div", _t, D(O(d)(F.value.value.formatter, O(l)($.value), O(o)({
1393
1425
  p: I.value.prefix,
1394
- v: O(c)(Z.value),
1426
+ v: O(l)($.value),
1395
1427
  s: I.value.suffix,
1396
1428
  r: P.value.style.legend.roundingValue
1397
- }))), 1)], 12, ht), [[ze, ![void 0, null].includes(Z.value)]])], 4)]),
1398
- O(ln) ? _("", !0) : (C(), v("div", {
1429
+ }))), 1)], 12, gt), [[Be, ![void 0, null].includes($.value)]])], 4)]),
1430
+ O(un) ? _("", !0) : (C(), v("div", {
1399
1431
  key: 1,
1400
1432
  class: "vue-ui-heatmap-legend-label-min",
1401
1433
  style: S({
1402
1434
  fontSize: P.value.style.legend.fontSize + "px",
1403
1435
  color: P.value.style.legend.color
1404
1436
  })
1405
- }, D(O(u)(F.value.value.formatter, O(c)(On.value), O(o)({
1437
+ }, D(O(d)(F.value.value.formatter, O(l)(J.value), O(o)({
1406
1438
  p: I.value.prefix,
1407
- v: O(c)(On.value),
1439
+ v: O(l)(J.value),
1408
1440
  s: I.value.suffix,
1409
1441
  r: P.value.style.legend.roundingValue
1410
1442
  }))), 5))
1411
1443
  ], 4)) : _("", !0),
1412
- t.$slots.hint ? (C(), v("div", _t, [E(t.$slots, "hint", x(b({
1444
+ t.$slots.hint ? (C(), v("div", vt, [E(t.$slots, "hint", x(b({
1413
1445
  hint: P.value.a11y.translations.keyboardNavigation,
1414
- isVisible: an.value
1446
+ isVisible: on.value
1415
1447
  })), void 0, !0)])) : _("", !0)
1416
1448
  ], 2),
1417
- t.$slots.watermark ? (C(), v("div", vt, [E(t.$slots, "watermark", x(b({ isPrinting: O(gn) || O(_n) || O(ur) || O(dr) })), void 0, !0)])) : _("", !0),
1449
+ t.$slots.watermark ? (C(), v("div", yt, [E(t.$slots, "watermark", x(b({ isPrinting: O(yn) || O(bn) || O(hr) || O(gr) })), void 0, !0)])) : _("", !0),
1418
1450
  t.$slots.source ? (C(), v("div", {
1419
1451
  key: 6,
1420
1452
  ref_key: "source",
1421
- ref: $t,
1453
+ ref: en,
1422
1454
  dir: "auto"
1423
1455
  }, [E(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
1424
- De(O(qe), {
1456
+ Oe(O(Je), {
1425
1457
  teleportTo: P.value.style.tooltip.teleportTo,
1426
- show: B.value.showTooltip && It.value,
1458
+ show: B.value.showTooltip && Lt.value,
1427
1459
  backgroundColor: P.value.style.tooltip.backgroundColor,
1428
1460
  color: P.value.style.tooltip.color,
1429
1461
  borderRadius: P.value.style.tooltip.borderRadius,
@@ -1435,19 +1467,19 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1435
1467
  offsetX: P.value.style.tooltip.offsetX,
1436
1468
  offsetY: P.value.style.tooltip.offsetY,
1437
1469
  parent: j.value,
1438
- content: Lt.value,
1439
- isFullscreen: Q.value,
1470
+ content: Rt.value,
1471
+ isFullscreen: $n.value,
1440
1472
  isCustom: P.value.style.tooltip.customFormat && typeof P.value.style.tooltip.customFormat == "function",
1441
1473
  smooth: P.value.style.tooltip.smooth,
1442
1474
  backdropFilter: P.value.style.tooltip.backdropFilter,
1443
1475
  smoothForce: P.value.style.tooltip.smoothForce,
1444
1476
  smoothSnapThreshold: P.value.style.tooltip.smoothSnapThreshold,
1445
- isA11yMode: rn.value === "keyboard",
1446
- a11yPosition: nn.value
1477
+ isA11yMode: an.value === "keyboard",
1478
+ a11yPosition: rn.value
1447
1479
  }, {
1448
- "tooltip-before": k(() => [E(t.$slots, "tooltip-before", x(b({ ...Vn.value })), void 0, !0)]),
1449
- tooltip: k(() => [E(t.$slots, "tooltip", x(b({ ...Vn.value })), void 0, !0)]),
1450
- "tooltip-after": k(() => [E(t.$slots, "tooltip-after", x(b({ ...Vn.value })), void 0, !0)]),
1480
+ "tooltip-before": k(() => [E(t.$slots, "tooltip-before", x(b({ ...Gn.value })), void 0, !0)]),
1481
+ tooltip: k(() => [E(t.$slots, "tooltip", x(b({ ...Gn.value })), void 0, !0)]),
1482
+ "tooltip-after": k(() => [E(t.$slots, "tooltip-after", x(b({ ...Gn.value })), void 0, !0)]),
1451
1483
  _: 3
1452
1484
  }, 8, [
1453
1485
  "teleportTo",
@@ -1473,35 +1505,35 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1473
1505
  "isA11yMode",
1474
1506
  "a11yPosition"
1475
1507
  ]),
1476
- Pt.value && P.value.userOptions.buttons.table ? (C(), we(Fe(ar.value.component), ke({ key: 7 }, ar.value.props, {
1508
+ Ft.value && P.value.userOptions.buttons.table ? (C(), Te(Ie(ur.value.component), Ae({ key: 7 }, ur.value.props, {
1477
1509
  ref_key: "tableUnit",
1478
- ref: Ut,
1479
- onClose: sr
1480
- }), Te({
1510
+ ref: Wt,
1511
+ onClose: fr
1512
+ }), Ee({
1481
1513
  content: k(() => [y("div", {
1482
1514
  ref_key: "tableContainer",
1483
- ref: Bt,
1515
+ ref: Vt,
1484
1516
  class: "vue-ui-heatmap-table atom-data-table",
1485
1517
  style: S(`${P.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1486
1518
  }, [y("div", {
1487
1519
  style: S(`width:100%;overflow-x:auto;position:relative;${P.value.table.useDialog ? "" : "padding-top:36px"};`),
1488
- class: je({ "vue-ui-responsive": O(or) })
1520
+ class: Me({ "vue-ui-responsive": O(dr) })
1489
1521
  }, [P.value.table.useDialog ? _("", !0) : (C(), v("div", {
1490
1522
  key: 0,
1491
1523
  role: "button",
1492
1524
  tabindex: "0",
1493
1525
  style: S(`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:${P.value.table.th.backgroundColor};`),
1494
- onClick: sr,
1495
- onKeypress: Ue(sr, ["enter"])
1496
- }, [De(O(Tt), {
1526
+ onClick: fr,
1527
+ onKeypress: We(fr, ["enter"])
1528
+ }, [Oe(O(Et), {
1497
1529
  name: "close",
1498
1530
  stroke: P.value.table.th.color,
1499
1531
  "stroke-width": 2
1500
- }, null, 8, ["stroke"])], 36)), y("table", yt, [
1532
+ }, null, 8, ["stroke"])], 36)), y("table", bt, [
1501
1533
  P.value.table.useDialog ? _("", !0) : (C(), v("caption", {
1502
1534
  key: 0,
1503
1535
  style: S(`backgroundColor:${P.value.table.th.backgroundColor};color:${P.value.table.th.color};outline:${P.value.table.th.outline}`)
1504
- }, [Ee(D(P.value.style.title.text) + " ", 1), P.value.style.title.subtitle.text ? (C(), v("span", bt, D(P.value.style.title.subtitle.text), 1)) : _("", !0)], 4)),
1536
+ }, [De(D(P.value.style.title.text) + " ", 1), P.value.style.title.subtitle.text ? (C(), v("span", xt, D(P.value.style.title.subtitle.text), 1)) : _("", !0)], 4)),
1505
1537
  y("thead", null, [y("tr", {
1506
1538
  role: "row",
1507
1539
  style: S(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color}`)
@@ -1509,9 +1541,9 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1509
1541
  align: "right",
1510
1542
  style: S(`outline:${P.value.table.th.outline};padding-right:6px`)
1511
1543
  }, D(e.name), 5))), 256))], 4)]),
1512
- y("tbody", null, [(C(!0), v(h, null, T(Y.value.xLabels, (t, n) => (C(), v("tr", {
1544
+ y("tbody", null, [(C(!0), v(h, null, T(Z.value.xLabels, (t, n) => (C(), v("tr", {
1513
1545
  role: "row",
1514
- class: je({
1546
+ class: Me({
1515
1547
  "vue-ui-data-table__tbody__row": !0,
1516
1548
  "vue-ui-data-table__tbody__row-even": n % 2 == 0,
1517
1549
  "vue-ui-data-table__tbody__row-odd": n % 2 != 0
@@ -1521,38 +1553,38 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1521
1553
  "data-cell": P.value.table.colNames.xAxis,
1522
1554
  class: "vue-ui-data-table__tbody__td",
1523
1555
  style: S(`outline:${P.value.table.td.outline}`)
1524
- }, [y("div", St, D(t), 1)], 12, xt), (C(!0), v(h, null, T(e.dataset, (t, r) => (C(), v("td", {
1556
+ }, [y("div", Ct, D(t), 1)], 12, St), (C(!0), v(h, null, T(e.dataset, (t, r) => (C(), v("td", {
1525
1557
  class: "vue-ui-data-table__tbody__td",
1526
1558
  "data-cell": e.dataset[r].name,
1527
1559
  style: S(`outline:${P.value.table.td.outline}`)
1528
- }, [y("div", wt, D(isNaN(t.values[n]) ? "-" : O(o)({
1560
+ }, [y("div", Tt, D(isNaN(t.values[n]) ? "-" : O(o)({
1529
1561
  p: I.value.prefix,
1530
1562
  v: t.values[n],
1531
1563
  s: I.value.suffix,
1532
1564
  r: P.value.table.td.roundingValue
1533
- })), 1)], 12, Ct))), 256))], 6))), 256))])
1565
+ })), 1)], 12, wt))), 256))], 6))), 256))])
1534
1566
  ])], 6)], 4)]),
1535
1567
  _: 2
1536
1568
  }, [P.value.table.useDialog ? {
1537
1569
  name: "title",
1538
- fn: k(() => [Ee(D(ar.value.title), 1)]),
1570
+ fn: k(() => [De(D(ur.value.title), 1)]),
1539
1571
  key: "0"
1540
1572
  } : void 0, P.value.table.useDialog ? {
1541
1573
  name: "actions",
1542
1574
  fn: k(() => [y("button", {
1543
1575
  tabindex: "0",
1544
1576
  class: "vue-ui-user-options-button",
1545
- onClick: n[0] ||= (e) => Jn(P.value.userOptions.callbacks.csv),
1546
- style: S({ cursor: on.value ? "pointer" : "default" })
1547
- }, [De(O(Tt), {
1577
+ onClick: n[0] ||= (e) => Qn(P.value.userOptions.callbacks.csv),
1578
+ style: S({ cursor: sn.value ? "pointer" : "default" })
1579
+ }, [Oe(O(Et), {
1548
1580
  name: "fileCsv",
1549
- stroke: ar.value.props.color
1581
+ stroke: ur.value.props.color
1550
1582
  }, null, 8, ["stroke"])], 4)]),
1551
1583
  key: "1"
1552
1584
  } : void 0]), 1040)) : _("", !0),
1553
- E(t.$slots, "skeleton", {}, () => [O(ln) ? (C(), we(ce, { key: 0 })) : _("", !0)], !0)
1554
- ], 46, Je));
1585
+ E(t.$slots, "skeleton", {}, () => [O(un) ? (C(), Te(le, { key: 0 })) : _("", !0)], !0)
1586
+ ], 46, Ye));
1555
1587
  }
1556
- }, [["__scopeId", "data-v-4d48d63e"]]);
1588
+ }, [["__scopeId", "data-v-cffecfe2"]]);
1557
1589
  //#endregion
1558
- export { qe as n, Tt as t };
1590
+ export { Je as n, Et as t };