vue-data-ui 3.25.8 → 3.25.10

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 (164) hide show
  1. package/dist/{BaseScanner-DZvpgOjM.js → BaseScanner-Dzc8VT3j.js} +6 -3
  2. package/dist/{PackageVersion-ekRvV3aF.js → PackageVersion-CZZayD-D.js} +1 -1
  3. package/dist/{PenAndPaper-KFzKlvbi.js → PenAndPaper-Cd3nItcO.js} +3 -3
  4. package/dist/{SlicerPreview-B6iHOC9L.js → SlicerPreview-Ccss7Vsq.js} +2 -2
  5. package/dist/{SparkTooltip-C-Y-mDrc.js → SparkTooltip-L3SliZbR.js} +1 -1
  6. package/dist/{UserOptions-2x4VklMW.js → UserOptions-qo_Tsqci.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-age-pyramid.js +1 -1
  9. package/dist/components/vue-ui-annotator.js +1 -1
  10. package/dist/components/vue-ui-bullet.js +1 -1
  11. package/dist/components/vue-ui-bump.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dag.js +1 -1
  19. package/dist/components/vue-ui-dashboard.js +1 -1
  20. package/dist/components/vue-ui-digits.js +1 -1
  21. package/dist/components/vue-ui-donut-evolution.js +1 -1
  22. package/dist/components/vue-ui-donut.js +1 -1
  23. package/dist/components/vue-ui-dumbbell.js +1 -1
  24. package/dist/components/vue-ui-flow.js +1 -1
  25. package/dist/components/vue-ui-funnel.js +1 -1
  26. package/dist/components/vue-ui-galaxy.js +1 -1
  27. package/dist/components/vue-ui-gauge.js +1 -1
  28. package/dist/components/vue-ui-geo.js +1 -1
  29. package/dist/components/vue-ui-gizmo.js +1 -1
  30. package/dist/components/vue-ui-heatmap.js +1 -1
  31. package/dist/components/vue-ui-hill.js +1 -1
  32. package/dist/components/vue-ui-history-plot.js +1 -1
  33. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  34. package/dist/components/vue-ui-kpi.js +1 -1
  35. package/dist/components/vue-ui-label.js +1 -1
  36. package/dist/components/vue-ui-molecule.js +1 -1
  37. package/dist/components/vue-ui-mood-radar.js +1 -1
  38. package/dist/components/vue-ui-nested-donuts.js +1 -1
  39. package/dist/components/vue-ui-onion.js +1 -1
  40. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  41. package/dist/components/vue-ui-quadrant.js +1 -1
  42. package/dist/components/vue-ui-quick-chart.js +1 -1
  43. package/dist/components/vue-ui-radar.js +1 -1
  44. package/dist/components/vue-ui-relation-circle.js +1 -1
  45. package/dist/components/vue-ui-ridgeline.js +1 -1
  46. package/dist/components/vue-ui-rings.js +1 -1
  47. package/dist/components/vue-ui-scatter.js +1 -1
  48. package/dist/components/vue-ui-skeleton.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/composables.js +1 -1
  73. package/dist/{dom-to-png-C6cQJ5Hq.js → dom-to-png-BR4imuKV.js} +1 -1
  74. package/dist/{geoProjections-CEo3dVaL.js → geoProjections-BYthUA8l.js} +2 -2
  75. package/dist/{img-DhGApYG0.js → img-BkMKbWsI.js} +1 -1
  76. package/dist/{package-C4XeEHJx.js → package-CYtJq7s7.js} +1 -1
  77. package/dist/{pdf-Di5yPEw9.js → pdf-BSOs_GZz.js} +1 -1
  78. package/dist/{render-common-CQUp12xB.js → render-common-CpHpPc5s.js} +1 -1
  79. package/dist/ssr/vue-ui-donut.js +1 -1
  80. package/dist/ssr/vue-ui-xy.js +1 -1
  81. package/dist/ssr.js +2 -2
  82. package/dist/style.css +1 -1
  83. package/dist/types/utils.d.ts +5 -5
  84. package/dist/types/vue-data-ui.d.ts +5 -5
  85. package/dist/{usePrinter-DISD7q5m.js → usePrinter-hohanNCX.js} +4 -4
  86. package/dist/{useTooltipPosition-DifeoeQW.js → useTooltipPosition-BCrtQa9H.js} +1 -1
  87. package/dist/{vue-data-ui-BChCkqtW.js → vue-data-ui-ChB3aXCO.js} +65 -65
  88. package/dist/vue-data-ui.js +66 -66
  89. package/dist/{vue-ui-3d-bar-BkVOy4Y_.js → vue-ui-3d-bar-DcXbkO19.js} +5 -5
  90. package/dist/{vue-ui-age-pyramid-1_yQ64LX.js → vue-ui-age-pyramid-Cnaxt9NI.js} +263 -251
  91. package/dist/{vue-ui-annotator-BO5ihHOB.js → vue-ui-annotator-BLYRy--7.js} +12 -12
  92. package/dist/{vue-ui-bullet-BF1FeBst.js → vue-ui-bullet-DOfD2TSb.js} +4 -4
  93. package/dist/{vue-ui-bump-ZtKya76Y.js → vue-ui-bump-DL2lDZbE.js} +3 -3
  94. package/dist/{vue-ui-candlestick-P-clTYIt.js → vue-ui-candlestick-ijujiVJ5.js} +453 -441
  95. package/dist/{vue-ui-carousel-table-BVS-4A3h.js → vue-ui-carousel-table-DFtWb2-C.js} +3 -3
  96. package/dist/{vue-ui-chestnut-DHOIbpib.js → vue-ui-chestnut-BGXr0s08.js} +5 -5
  97. package/dist/{vue-ui-chord-CX_Mc3Fp.js → vue-ui-chord-DgBzLfbv.js} +5 -5
  98. package/dist/{vue-ui-circle-pack-Caqvblsl.js → vue-ui-circle-pack-88qDJbt0.js} +494 -482
  99. package/dist/{vue-ui-cursor-BFF4tWUb.js → vue-ui-cursor-CcEB7Ypx.js} +1 -1
  100. package/dist/{vue-ui-dag-CtG3HUh4.js → vue-ui-dag-BeoFmTDs.js} +6 -6
  101. package/dist/{vue-ui-dashboard-DASHNFPT.js → vue-ui-dashboard-NOVcGMCa.js} +63 -63
  102. package/dist/{vue-ui-digits-BQWHzntO.js → vue-ui-digits-BGmT7H1z.js} +1 -1
  103. package/dist/{vue-ui-donut-DHP_lm0m.js → vue-ui-donut-CP7ilveE.js} +838 -826
  104. package/dist/{vue-ui-donut-vbqlIlij.js → vue-ui-donut-CtXzuWzy.js} +1 -1
  105. package/dist/{vue-ui-donut-evolution-Cio3lNLz.js → vue-ui-donut-evolution-D_-y7BZi.js} +6 -6
  106. package/dist/{vue-ui-dumbbell-C2lQhCfq.js → vue-ui-dumbbell-BR1Cn4wm.js} +4 -4
  107. package/dist/vue-ui-flow-Bm6TgD8I.js +1229 -0
  108. package/dist/{vue-ui-funnel-DDncfHgI.js → vue-ui-funnel-CQ0-9nZT.js} +3 -3
  109. package/dist/vue-ui-galaxy-DUto0BOw.js +1097 -0
  110. package/dist/{vue-ui-gauge-OQbET2bh.js → vue-ui-gauge-B6pyA6Jh.js} +4 -4
  111. package/dist/{vue-ui-geo-Ddw87hVT.js → vue-ui-geo-BlG7s8MH.js} +408 -396
  112. package/dist/{vue-ui-gizmo-DJVWEvWS.js → vue-ui-gizmo-BlyehpxE.js} +2 -2
  113. package/dist/{vue-ui-heatmap-BKG4xt6j.js → vue-ui-heatmap-DqbWkKAE.js} +405 -393
  114. package/dist/{vue-ui-hill-BAruBiw6.js → vue-ui-hill-CGE0NdNk.js} +7 -7
  115. package/dist/vue-ui-history-plot-CaxqIiTb.js +1710 -0
  116. package/dist/{vue-ui-horizontal-bar-CXT7-P_o.js → vue-ui-horizontal-bar-Ykwe4M1n.js} +401 -389
  117. package/dist/{vue-ui-kpi-uOGX20hs.js → vue-ui-kpi-B7Nfet0o.js} +1 -1
  118. package/dist/{vue-ui-label-C1UAzvAu.js → vue-ui-label-Cs4ZlAqr.js} +10 -10
  119. package/dist/{vue-ui-molecule-BcA064dR.js → vue-ui-molecule-DWq98OSc.js} +347 -335
  120. package/dist/{vue-ui-mood-radar-CXtC0IqT.js → vue-ui-mood-radar-DDfimq6c.js} +5 -5
  121. package/dist/{vue-ui-nested-donuts-BFE0oXF_.js → vue-ui-nested-donuts-Bt-r6uXS.js} +360 -348
  122. package/dist/vue-ui-onion-D8gOhQHP.js +1247 -0
  123. package/dist/{vue-ui-parallel-coordinate-plot-5kKVnNmE.js → vue-ui-parallel-coordinate-plot-BbPbJiiu.js} +387 -375
  124. package/dist/{vue-ui-quadrant-BPg8L6Sw.js → vue-ui-quadrant-BJlf3qW1.js} +418 -406
  125. package/dist/{vue-ui-quick-chart-DQ_rhjqc.js → vue-ui-quick-chart-Cb8x00-X.js} +550 -538
  126. package/dist/{vue-ui-radar-C65wD7cW.js → vue-ui-radar-30PF-qqr.js} +330 -318
  127. package/dist/{vue-ui-relation-circle-nZaZcCh1.js → vue-ui-relation-circle-CRiC4PnL.js} +4 -4
  128. package/dist/{vue-ui-ridgeline-Bsi2hN14.js → vue-ui-ridgeline-CSs4Tq_c.js} +4 -4
  129. package/dist/{vue-ui-rings-DkCzxDyQ.js → vue-ui-rings-BqRWK5rY.js} +321 -309
  130. package/dist/{vue-ui-scatter-V01qkcN8.js → vue-ui-scatter-Bsh6jbdW.js} +584 -572
  131. package/dist/{vue-ui-skeleton-BgYtv_I2.js → vue-ui-skeleton-DbPSsEKV.js} +1 -1
  132. package/dist/{vue-ui-spark-trend-Dm1OyGyr.js → vue-ui-spark-trend--8QokOII.js} +2 -2
  133. package/dist/{vue-ui-sparkbar-D3hChHHS.js → vue-ui-sparkbar-DkX9Demg.js} +2 -2
  134. package/dist/{vue-ui-sparkgauge-CAeJapmG.js → vue-ui-sparkgauge-Ci_xD5B7.js} +2 -2
  135. package/dist/{vue-ui-sparkhistogram-ZIo_Vg7F.js → vue-ui-sparkhistogram-Qe3ZCPRd.js} +2 -2
  136. package/dist/{vue-ui-sparkline-BjvSeM83.js → vue-ui-sparkline-BwldgOYW.js} +2 -2
  137. package/dist/vue-ui-sparkstackbar-Divd0hL_.js +750 -0
  138. package/dist/vue-ui-stackbar-BWPSGzN-.js +2369 -0
  139. package/dist/vue-ui-stackline-BQroSnwZ.js +2483 -0
  140. package/dist/vue-ui-strip-plot-BCUPHkCp.js +1752 -0
  141. package/dist/{vue-ui-table-C8cvK-x_.js → vue-ui-table-DJeXLYly.js} +2 -2
  142. package/dist/{vue-ui-table-heatmap-BSUab4fG.js → vue-ui-table-heatmap-D5F5bLx5.js} +2 -2
  143. package/dist/{vue-ui-table-sparkline-Dam9BFsU.js → vue-ui-table-sparkline-DCm8S2uK.js} +2 -2
  144. package/dist/{vue-ui-thermometer-zyBeCINd.js → vue-ui-thermometer-xu4R8d2f.js} +4 -4
  145. package/dist/{vue-ui-timer-CDXczagK.js → vue-ui-timer-i_3bMu3h.js} +1 -1
  146. package/dist/{vue-ui-tiremarks-CG8LNC9c.js → vue-ui-tiremarks-DGuMI0yH.js} +4 -4
  147. package/dist/{vue-ui-treemap-DfDRwoZc.js → vue-ui-treemap-Bvl7elni.js} +311 -299
  148. package/dist/vue-ui-waffle-CVuYg0yU.js +1633 -0
  149. package/dist/{vue-ui-wheel-DDJIPE_z.js → vue-ui-wheel-DqHD09iA.js} +4 -4
  150. package/dist/{vue-ui-word-cloud-DBOXRp-e.js → vue-ui-word-cloud-BDCuTQ8Q.js} +385 -372
  151. package/dist/{vue-ui-world-CiIyp7WH.js → vue-ui-world-B0oVwEDj.js} +474 -462
  152. package/dist/{vue-ui-xy-s_IZ573M.js → vue-ui-xy-BJJi0E4D.js} +1 -1
  153. package/dist/{vue-ui-xy-AGYE0Vsz.js → vue-ui-xy-D1dPd68D.js} +1447 -1432
  154. package/dist/{vue-ui-xy-canvas-MOMyUdJg.js → vue-ui-xy-canvas-R2xbgDOy.js} +523 -511
  155. package/package.json +3 -3
  156. package/dist/vue-ui-flow-Dmnz4LCl.js +0 -1217
  157. package/dist/vue-ui-galaxy-Dw7TyOH0.js +0 -1085
  158. package/dist/vue-ui-history-plot-BKUg8Gz_.js +0 -1698
  159. package/dist/vue-ui-onion-DhedgEnV.js +0 -1235
  160. package/dist/vue-ui-sparkstackbar-DGQcpWK4.js +0 -738
  161. package/dist/vue-ui-stackbar-D0qmFn5Y.js +0 -2355
  162. package/dist/vue-ui-stackline-BBtEVl9V.js +0 -2469
  163. package/dist/vue-ui-strip-plot-CkU-nCt4.js +0 -1740
  164. package/dist/vue-ui-waffle-D6_cGi1-.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-D32D002m.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-DmkL8A59.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-hohanNCX.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-BkMKbWsI.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) => ({ v28b068ba: 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-ekRvV3aF.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-Cd3nItcO.js").then((e) => e.t)), Ot = ke(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), kt = ke(() => import("./PackageVersion-CZZayD-D.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,138 +378,150 @@ 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
- }), On = g(() => Math.max(...R.value.flatMap((e) => e.values))), kn = g(() => Math.min(...R.value.flatMap((e) => e.values))), q = g(() => F.value.scaleMax === null ? On.value : F.value.scaleMax), J = g(() => F.value.scaleMin === null ? kn.value : F.value.scaleMin), Y = 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
- }), An = w([]), jn = w([]), Mn = 0;
480
- Ve(() => {
481
- let e = ++Mn;
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 === Mn && (An.value = n);
502
+ e === Fn && (Nn.value = n);
491
503
  })();
492
504
  });
493
- let Nn = 0;
494
- Ve(() => {
495
- let e = ++Nn;
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 === Nn && (jn.value = n);
516
+ e === In && (Pn.value = n);
505
517
  })();
506
518
  });
507
519
  function X(e, t, n) {
508
520
  if (t === n) return F.value.colors.hot;
509
521
  let r = Math.min(Math.max(e, t), n);
510
- return te(F.value.colors.cold, F.value.colors.hot, t, n, r);
522
+ return ne(F.value.colors.cold, F.value.colors.hot, t, n, r);
511
523
  }
512
- function Pn(e) {
524
+ function Ln(e) {
513
525
  if ([void 0, null].includes(e)) return 0;
514
526
  let t = J.value, n = q.value;
515
527
  if (t === n) return 0;
@@ -517,7 +529,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
517
529
  return (1 - Math.min(Math.max(r, 0), 1)) * 100;
518
530
  }
519
531
  let Z = g(() => {
520
- let e = An.value.map((e) => e.text), t = jn.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 = [];
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 = [];
521
533
  for (let e = 0; e < H.value; e += 1) {
522
534
  let t = 0, n = 0;
523
535
  R.value.forEach((r) => {
@@ -546,7 +558,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
546
558
  xLabels: t.slice(0, H.value)
547
559
  };
548
560
  }), Q = g(() => (R.value.forEach((e, t) => {
549
- l({
561
+ u({
550
562
  datasetObject: e,
551
563
  requiredAttributes: ["values"]
552
564
  }).forEach((e) => {
@@ -555,7 +567,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
555
567
  type: "datasetSerieAttribute",
556
568
  property: "values",
557
569
  index: t,
558
- debug: Sn.value
570
+ debug: Tn.value
559
571
  });
560
572
  });
561
573
  }), R.value.map((e, t) => ({
@@ -563,7 +575,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
563
575
  temperatures: (e.values || []).map((e, n) => e >= Y.value ? {
564
576
  side: "up",
565
577
  color: X(e, J.value, q.value),
566
- ratio: Math.abs(Math.abs(e - Y.value) / Math.abs(On.value - Y.value)) > 1 ? 1 : Math.abs(Math.abs(e - Y.value) / Math.abs(On.value - Y.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)),
567
579
  value: e,
568
580
  yAxisName: Z.value.yLabels[t],
569
581
  xAxisName: Z.value.xLabels[n],
@@ -577,56 +589,56 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
577
589
  xAxisName: Z.value.xLabels[n],
578
590
  id: `vue-data-ui-heatmap-cell-${p()}`
579
591
  })
580
- })))), Fn = g(() => R.value.length), In = Pe(Array(Fn.value * H.value || 1).fill(!1)), Ln = g(() => In.some((e) => e));
581
- function Rn(e, t) {
582
- In[e] = t;
583
- }
584
- let zn = Pe(Array(Fn.value * H.value || 1).fill(!1)), Bn = g(() => zn.some((e) => e));
592
+ })))), Rn = g(() => R.value.length), zn = Fe(Array(Rn.value * H.value || 1).fill(!1)), Bn = g(() => zn.some((e) => e));
585
593
  function Vn(e, t) {
586
594
  zn[e] = t;
587
595
  }
588
- let $ = w(null), Hn = w(null);
589
- function Un() {
590
- It.value = !1, Rt.value = void 0, $.value = null, M.value = null, N.value = null, tn.value = null;
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;
599
+ }
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;
591
603
  }
592
- function Wn(e) {
604
+ function qn(e) {
593
605
  if (!z.value || !e) return;
594
606
  let t = z.value.querySelector(`[data-a11y-cell-id="${e}"]`);
595
607
  if (!t) return;
596
608
  let n = t.getBoundingClientRect();
597
- nn.value = {
609
+ rn.value = {
598
610
  x: n.left + n.width / 2,
599
611
  y: n.top + n.height / 2
600
612
  };
601
613
  }
602
- function Gn(e, t, n, i, a = "pointer", s = null) {
614
+ function Jn(e, t, n, i, a = "pointer", s = null) {
603
615
  if (P.value.events.datapointEnter && P.value.events.datapointEnter({
604
616
  datapoint: e,
605
617
  seriesIndex: t
606
618
  }), !B.value.showTooltip) return;
607
- 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 = {
608
620
  x: n,
609
621
  y: i
610
622
  };
611
- let { value: c, yAxisName: l, xAxisName: f, id: p } = e;
612
- Rt.value = p, $.value = c, Hn.value = {
623
+ let { value: c, yAxisName: l, xAxisName: u, id: f } = e;
624
+ zt.value = f, $.value = c, Gn.value = {
613
625
  datapoint: e,
614
626
  seriesIndex: t,
615
627
  series: Q.value,
616
628
  config: P.value
617
- }, It.value = !0;
618
- let m = "", ee = P.value.style.tooltip.customFormat;
619
- r(ee) && d(() => ee({
629
+ }, Lt.value = !0;
630
+ let p = "", m = P.value.style.tooltip.customFormat;
631
+ r(m) && ee(() => m({
620
632
  datapoint: e,
621
633
  seriesIndex: t,
622
634
  series: Q.value,
623
635
  config: P.value
624
- })) ? Lt.value = ee({
636
+ })) ? Rt.value = m({
625
637
  datapoint: e,
626
638
  seriesIndex: t,
627
639
  series: Q.value,
628
640
  config: P.value
629
- }) : (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:${X(c, J.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({
630
642
  p: I.value.prefix,
631
643
  v: c,
632
644
  s: I.value.suffix,
@@ -634,18 +646,18 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
634
646
  }), {
635
647
  datapoint: e,
636
648
  seriesIndex: t
637
- })}</span></div>`, Lt.value = `<div style="font-size:${P.value.style.tooltip.fontSize}px">${m}</div>`), a === "keyboard" && Ae(() => {
638
- Wn(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);
639
651
  });
640
652
  }
641
- function Kn({ datapoint: e, seriesIndex: t }) {
653
+ function Yn({ datapoint: e, seriesIndex: t }) {
642
654
  P.value.events.datapointLeave && P.value.events.datapointLeave({
643
655
  datapoint: e,
644
656
  seriesIndex: t
645
- }), (tn.value !== e.id || rn.value !== "keyboard") && (It.value = !1, Rt.value = void 0, $.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);
646
658
  }
647
- function qn(e) {
648
- return u(F.value.value.formatter, Z.value.yTotals[e].total, o({
659
+ function Xn(e) {
660
+ return d(F.value.value.formatter, Z.value.yTotals[e].total, o({
649
661
  p: I.value.prefix,
650
662
  v: Z.value.yTotals[e].total,
651
663
  s: I.value.suffix,
@@ -655,8 +667,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
655
667
  rowIndex: e
656
668
  });
657
669
  }
658
- function Jn(e) {
659
- return u(F.value.value.formatter, Z.value.xTotals[e].total, o({
670
+ function Zn(e) {
671
+ return d(F.value.value.formatter, Z.value.xTotals[e].total, o({
660
672
  p: I.value.prefix,
661
673
  v: Z.value.xTotals[e].total,
662
674
  s: I.value.suffix,
@@ -670,8 +682,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
670
682
  head: R.value.map((e) => ({ name: e.name })),
671
683
  body: R.value.map((e) => e.values)
672
684
  }));
673
- function Yn(e = null) {
674
- Ae(() => {
685
+ function Qn(e = null) {
686
+ je(() => {
675
687
  let n = ["", ...R.value.map((e, t) => e.name)], r = [];
676
688
  for (let e = 0; e < Z.value.xLabels.length; e += 1) {
677
689
  let t = [Z.value.xLabels[e]];
@@ -694,32 +706,32 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
694
706
  });
695
707
  });
696
708
  }
697
- let Xn = w(!1);
698
- function Zn(e) {
699
- Xn.value = e, zt.value += 1;
709
+ let $n = w(!1);
710
+ function er(e) {
711
+ $n.value = e, Bt.value += 1;
700
712
  }
701
- function Qn() {
713
+ function tr() {
702
714
  B.value.showTable = !B.value.showTable;
703
715
  }
704
- function $n() {
716
+ function nr() {
705
717
  B.value.showTooltip = !B.value.showTooltip;
706
718
  }
707
- let er = w(!1);
708
- function tr() {
709
- er.value = !er.value;
719
+ let rr = w(!1);
720
+ function ir() {
721
+ rr.value = !rr.value;
710
722
  }
711
- function nr(e, t) {
723
+ function ar(e, t) {
712
724
  P.value.events.datapointClick && P.value.events.datapointClick({
713
725
  datapoint: e,
714
726
  seriesIndex: t
715
- }), Nt("selectDatapoint", e);
727
+ }), Pt("selectDatapoint", e);
716
728
  }
717
- function rr() {
729
+ function or() {
718
730
  return Q.value;
719
731
  }
720
- async function ir({ scale: e = 2 } = {}) {
732
+ async function sr({ scale: e = 2 } = {}) {
721
733
  if (!j.value) return;
722
- 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({
723
735
  domElement: j.value,
724
736
  base64: !0,
725
737
  img: !0,
@@ -734,14 +746,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
734
746
  aspectRatio: r
735
747
  };
736
748
  }
737
- let ar = g(() => ({
749
+ let cr = g(() => ({
738
750
  start: 0,
739
751
  end: H.value
740
- })), or = g(() => Z.value.xLabels);
741
- fe({
742
- timeLabelsEls: Xt,
743
- timeLabels: or,
744
- slicer: ar,
752
+ })), lr = g(() => Z.value.xLabels);
753
+ pe({
754
+ timeLabelsEls: Zt,
755
+ timeLabels: lr,
756
+ slicer: cr,
745
757
  configRef: P,
746
758
  rotationPath: [
747
759
  "style",
@@ -761,12 +773,12 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
761
773
  isAutoSize: !1,
762
774
  targetClass: ".vue-ui-heatmap-col-name",
763
775
  rotation: I.value.xAxis.autoRotate.angle,
764
- width: wn,
765
- height: Tn
766
- }), fe({
767
- timeLabelsEls: Zt,
768
- timeLabels: or,
769
- slicer: ar,
776
+ width: Dn,
777
+ height: On
778
+ }), pe({
779
+ timeLabelsEls: Qt,
780
+ timeLabels: lr,
781
+ slicer: cr,
770
782
  configRef: P,
771
783
  rotationPath: [
772
784
  "style",
@@ -788,23 +800,23 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
788
800
  isAutoSize: !1,
789
801
  targetClass: ".vue-ui-heatmap-col-total",
790
802
  rotation: F.value.columnTotal.value.autoRotate.angle,
791
- width: wn,
792
- height: Tn
803
+ width: Dn,
804
+ height: On
793
805
  });
794
- let sr = g(() => {
806
+ let ur = g(() => {
795
807
  let e = P.value.table.useDialog && !P.value.table.show, t = B.value.showTable;
796
808
  return {
797
- component: e ? kt : ve,
809
+ component: e ? At : ye,
798
810
  title: `${P.value.style.title.text}${P.value.style.title.subtitle.text ? `: ${P.value.style.title.subtitle.text}` : ""}`,
799
811
  props: e ? {
800
812
  backgroundColor: P.value.table.th.backgroundColor,
801
813
  color: P.value.table.th.color,
802
814
  headerColor: P.value.table.th.color,
803
815
  headerBg: P.value.table.th.backgroundColor,
804
- isFullscreen: Xn.value,
816
+ isFullscreen: $n.value,
805
817
  fullscreenParent: j.value,
806
818
  forcedWidth: Math.min(800, window.innerWidth * .8),
807
- isCursorPointer: on.value
819
+ isCursorPointer: sn.value
808
820
  } : {
809
821
  hideDetails: !0,
810
822
  config: {
@@ -822,24 +834,24 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
822
834
  }
823
835
  };
824
836
  });
825
- Be(() => B.value.showTable, async (e) => {
826
- 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());
827
839
  });
828
- let { isResponsive: cr } = Se(Bt, xn);
829
- function lr() {
830
- 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);
831
843
  }
832
- let ur = g(() => P.value.style.backgroundColor), dr = g(() => P.value.style.title), { isCallbackImaging: fr, isCallbackSvg: pr, generateSvg: mr, onGenerateImage: hr } = de({
844
+ let pr = g(() => P.value.style.backgroundColor), mr = g(() => P.value.style.title), { isCallbackImaging: hr, isCallbackSvg: gr, generateSvg: _r, onGenerateImage: vr } = fe({
833
845
  svg: z,
834
- title: dr,
846
+ title: mr,
835
847
  legend: null,
836
848
  legendItems: null,
837
- backgroundColor: ur,
849
+ backgroundColor: pr,
838
850
  getSvgCallback: () => P.value.userOptions.callbacks.svg,
839
- generateImage: yn
851
+ generateImage: Sn
840
852
  });
841
- async function gr() {
842
- if (Nt("copyAlt", {
853
+ async function yr() {
854
+ if (Pt("copyAlt", {
843
855
  config: P.value,
844
856
  dataset: Q.value
845
857
  }), !P.value.userOptions.callbacks.altCopy) {
@@ -851,7 +863,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
851
863
  dataset: Q.value
852
864
  }));
853
865
  }
854
- function _r(e, t) {
866
+ function br(e, t) {
855
867
  let n = Q.value[e];
856
868
  if (!n) return null;
857
869
  let r = n.temperatures[t];
@@ -861,74 +873,74 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
861
873
  columnIndex: t
862
874
  } : null;
863
875
  }
864
- function vr(e, t) {
876
+ function xr(e, t) {
865
877
  let n = 0;
866
878
  for (let t = 0; t < e; t += 1) n += Q.value[t]?.temperatures?.length || 0;
867
879
  return n + t;
868
880
  }
869
- function yr() {
870
- N.value = null, tn.value = null, an.value = !0;
881
+ function Sr() {
882
+ N.value = null, nn.value = null, on.value = !0;
871
883
  }
872
- function br() {
873
- Un(), an.value = !1;
884
+ function Cr() {
885
+ Kn(), on.value = !1;
874
886
  }
875
- function xr(e) {
876
- if (!z.value || er.value || document.activeElement !== z.value || !wr.value.length) return;
887
+ function wr(e) {
888
+ if (!z.value || rr.value || document.activeElement !== z.value || !Dr.value.length) return;
877
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";
878
890
  if (!t && !n && !r && !i && !a && !o) return;
879
891
  if (e.preventDefault(), e.stopPropagation(), o) {
880
- Un();
892
+ Kn();
881
893
  return;
882
894
  }
883
895
  if (a) {
884
896
  if (N.value === null) return;
885
- let e = wr.value[N.value];
897
+ let e = Dr.value[N.value];
886
898
  if (!e) return;
887
- nr(e.cell, e.rowIndex);
899
+ ar(e.cell, e.rowIndex);
888
900
  return;
889
901
  }
890
- let s = N.value === null ? null : wr.value[N.value];
902
+ let s = N.value === null ? null : Dr.value[N.value];
891
903
  if (!s) {
892
- let e = Rt.value ? wr.value.findIndex((e) => e.cell.id === Rt.value) : null;
893
- if (e !== null && e >= 0 && e < wr.value.length) {
894
- let a = wr.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];
895
907
  if (!a) return;
896
908
  let o = a.rowIndex, s = a.columnIndex;
897
909
  n ? s += 1 : t ? --s : i ? o += 1 : r && --o;
898
- let c = Cr.value.rowCount;
910
+ let c = Er.value.rowCount;
899
911
  if (c <= 0) return;
900
912
  o < 0 && (o = c - 1), o >= c && (o = 0);
901
913
  let l = Q.value[o];
902
914
  if (!l || !l.temperatures.length) return;
903
915
  let u = l.temperatures.length;
904
916
  s < 0 && (s = u - 1), s >= u && (s = 0);
905
- let d = _r(o, s);
917
+ let d = br(o, s);
906
918
  if (!d) return;
907
- let f = vr(o, s), p = K.value.left + K.value.cellSize.width * d.columnIndex, m = K.value.top + K.value.cellSize.height * d.rowIndex;
908
- Gn(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);
909
921
  return;
910
922
  }
911
- let a = wr.value[0];
923
+ let a = Dr.value[0];
912
924
  if (!a) return;
913
925
  let o = K.value.left + K.value.cellSize.width * a.columnIndex, s = K.value.top + K.value.cellSize.height * a.rowIndex;
914
- Gn(a.cell, a.rowIndex, o, s, "keyboard", 0);
926
+ Jn(a.cell, a.rowIndex, o, s, "keyboard", 0);
915
927
  return;
916
928
  }
917
929
  let c = s.rowIndex, l = s.columnIndex;
918
930
  n ? l += 1 : t ? --l : i ? c += 1 : r && --c;
919
- let u = Cr.value.rowCount;
931
+ let u = Er.value.rowCount;
920
932
  if (u <= 0) return;
921
933
  c < 0 && (c = u - 1), c >= u && (c = 0);
922
934
  let d = Q.value[c];
923
935
  if (!d || !d.temperatures.length) return;
924
- let f = d.temperatures.length;
925
- l < 0 && (l = f - 1), l >= f && (l = 0);
926
- let p = _r(c, l);
927
- if (!p) return;
928
- let m = vr(c, l), ee = K.value.left + K.value.cellSize.width * p.columnIndex, te = K.value.top + K.value.cellSize.height * p.rowIndex;
929
- Gn(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);
930
942
  }
931
- let Sr = g(() => ({
943
+ let Tr = g(() => ({
932
944
  headers: [P.value.table.colNames.xAxis, ...R.value.map((e) => e.name)],
933
945
  rows: Z.value.xLabels.map((e, t) => [e, ...R.value.map((e) => {
934
946
  let n = e.values?.[t];
@@ -939,46 +951,46 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
939
951
  r: P.value.table.td.roundingValue
940
952
  });
941
953
  })])
942
- })), Cr = g(() => ({
954
+ })), Er = g(() => ({
943
955
  rowCount: Q.value.length,
944
956
  columnCount: Math.max(0, ...Q.value.map((e) => e.temperatures.length))
945
- })), wr = g(() => Q.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
957
+ })), Dr = g(() => Q.value.flatMap((e, t) => e.temperatures.map((e, n) => ({
946
958
  cell: e,
947
959
  rowIndex: t,
948
960
  columnIndex: n
949
961
  }))));
950
- return he({
951
- getData: rr,
952
- getImage: ir,
953
- generatePdf: vn,
954
- generateCsv: Yn,
955
- generateImage: yn,
956
- generateSvg: mr,
957
- toggleTable: Qn,
958
- toggleTooltip: $n,
959
- toggleAnnotator: tr,
960
- toggleFullscreen: Zn,
961
- copyAlt: gr
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
962
974
  }), (t, n) => (C(), v("div", {
963
975
  ref_key: "heatmapChart",
964
976
  ref: j,
965
- class: je(`vue-data-ui-component vue-ui-heatmap ${Xn.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
977
+ class: Me(`vue-data-ui-component vue-ui-heatmap ${$n.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
966
978
  style: S(`font-family:${P.value.style.fontFamily};width:100%;${P.value.responsive ? "height: 100%;" : ""} text-align:center;background:${P.value.style.backgroundColor}`),
967
- id: `heatmap__${Ft.value}`,
968
- onMouseenter: n[1] ||= () => mn(!0),
979
+ id: `heatmap__${It.value}`,
980
+ onMouseenter: n[1] ||= () => hn(!0),
969
981
  onMouseleave: n[2] ||= () => {
970
- mn(!1), an.value || Un();
982
+ hn(!1), on.value || Kn();
971
983
  }
972
984
  }, [
973
985
  y("div", {
974
- id: `chart-instructions-${Ft.value}`,
986
+ id: `chart-instructions-${It.value}`,
975
987
  class: "sr-only"
976
- }, [y("p", null, D(P.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
977
- Sr.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, {
978
990
  key: 0,
979
- uid: Ft.value,
980
- head: Sr.value.headers,
981
- body: Sr.value.rows,
991
+ uid: It.value,
992
+ head: Tr.value.headers,
993
+ body: Tr.value.rows,
982
994
  notice: P.value.a11y.translations.tableAvailable,
983
995
  caption: P.value.a11y.translations.tableCaption
984
996
  }, null, 8, [
@@ -988,15 +1000,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
988
1000
  "notice",
989
1001
  "caption"
990
1002
  ])) : _("", !0),
991
- P.value.userOptions.buttons.annotator ? (C(), we(O(Et), {
1003
+ P.value.userOptions.buttons.annotator ? (C(), Te(O(Dt), {
992
1004
  key: 1,
993
1005
  svgRef: O(z),
994
1006
  backgroundColor: P.value.style.backgroundColor,
995
1007
  color: P.value.style.color,
996
- active: er.value,
997
- isCursorPointer: on.value,
1008
+ active: rr.value,
1009
+ isCursorPointer: sn.value,
998
1010
  palette: P.value.userOptions.annotatorPalette,
999
- onClose: tr
1011
+ onClose: ir
1000
1012
  }, {
1001
1013
  "annotator-action-close": k(() => [E(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1002
1014
  "annotator-action-color": k(({ color: e }) => [E(t.$slots, "annotator-action-color", x(b({ color: e })), void 0, !0)]),
@@ -1013,20 +1025,20 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1013
1025
  "isCursorPointer",
1014
1026
  "palette"
1015
1027
  ])) : _("", !0),
1016
- bn.value ? (C(), v("div", {
1028
+ Cn.value ? (C(), v("div", {
1017
1029
  key: 2,
1018
1030
  ref_key: "noTitle",
1019
- ref: Kt,
1031
+ ref: qt,
1020
1032
  class: "vue-data-ui-no-title-space",
1021
1033
  style: "height:36px; width: 100%;background:transparent"
1022
1034
  }, null, 512)) : _("", !0),
1023
1035
  P.value.style.title.text ? (C(), v("div", {
1024
1036
  key: 3,
1025
1037
  ref_key: "chartTitle",
1026
- ref: Gt,
1038
+ ref: Kt,
1027
1039
  style: "width:100%;background:transparent"
1028
- }, [(C(), we(me, {
1029
- key: `title_${Vt.value}`,
1040
+ }, [(C(), Te(he, {
1041
+ key: `title_${Ht.value}`,
1030
1042
  config: {
1031
1043
  title: {
1032
1044
  cy: "heatmap-div-title",
@@ -1038,15 +1050,15 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1038
1050
  }
1039
1051
  }
1040
1052
  }, null, 8, ["config"]))], 512)) : _("", !0),
1041
- 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), {
1042
1054
  ref_key: "userOptionsRef",
1043
- ref: Wt,
1044
- key: `user_options_${zt.value}`,
1055
+ ref: Gt,
1056
+ key: `user_options_${Bt.value}`,
1045
1057
  backgroundColor: P.value.style.backgroundColor,
1046
1058
  color: P.value.style.color,
1047
- isImaging: O(_n),
1048
- isPrinting: O(gn),
1049
- uid: Ft.value,
1059
+ isImaging: O(bn),
1060
+ isPrinting: O(yn),
1061
+ uid: It.value,
1050
1062
  hasTooltip: P.value.userOptions.buttons.tooltip && P.value.style.tooltip.show,
1051
1063
  hasPdf: P.value.userOptions.buttons.pdf,
1052
1064
  hasImg: P.value.userOptions.buttons.img,
@@ -1055,28 +1067,28 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1055
1067
  hasTable: P.value.userOptions.buttons.table,
1056
1068
  hasFullscreen: P.value.userOptions.buttons.fullscreen,
1057
1069
  hasAltCopy: P.value.userOptions.buttons.altCopy,
1058
- isFullscreen: Xn.value,
1070
+ isFullscreen: $n.value,
1059
1071
  isTooltip: B.value.showTooltip,
1060
1072
  titles: { ...P.value.userOptions.buttonTitles },
1061
1073
  chartElement: j.value,
1062
1074
  position: P.value.userOptions.position,
1063
1075
  hasAnnotator: P.value.userOptions.buttons.annotator,
1064
- isAnnotation: er.value,
1076
+ isAnnotation: rr.value,
1065
1077
  callbacks: P.value.userOptions.callbacks,
1066
1078
  printScale: P.value.userOptions.print.scale,
1067
1079
  tableDialog: P.value.table.useDialog,
1068
- isCursorPointer: on.value,
1069
- onToggleFullscreen: Zn,
1070
- onGeneratePdf: O(vn),
1071
- onGenerateCsv: Yn,
1072
- onGenerateImage: O(hr),
1073
- onGenerateSvg: O(mr),
1074
- onToggleTable: Qn,
1075
- onToggleTooltip: $n,
1076
- onToggleAnnotator: tr,
1077
- onCopyAlt: gr,
1078
- style: S({ visibility: O(pn) ? O(dn) ? "visible" : "hidden" : "visible" })
1079
- }, 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 }, [
1080
1092
  t.$slots.menuIcon ? {
1081
1093
  name: "menuIcon",
1082
1094
  fn: k(({ isOpen: e, color: n }) => [E(t.$slots, "menuIcon", x(b({
@@ -1147,18 +1159,18 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1147
1159
  key: "11"
1148
1160
  } : void 0
1149
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),
1150
- y("div", { class: je({
1162
+ y("div", { class: Me({
1151
1163
  "vue-ui-heatmap-chart-wrapper": !0,
1152
1164
  "vue-ui-heatmap-chart-wrapper-legend-right": P.value.style.legend.show
1153
1165
  }) }, [
1154
1166
  (C(), v("svg", {
1155
1167
  ref_key: "svgRef",
1156
1168
  ref: z,
1157
- xmlns: O(ee),
1158
- "aria-describedby": `chart-instructions-${Ft.value}`,
1159
- class: je({
1160
- "vue-data-ui-fullscreen--on": Xn.value,
1161
- "vue-data-ui-fulscreen--off": !Xn.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
1162
1174
  }),
1163
1175
  viewBox: `0 0 ${U.value.width} ${U.value.height}`,
1164
1176
  width: "100%",
@@ -1167,11 +1179,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1167
1179
  role: "img",
1168
1180
  preserveAspectRatio: "xMidYMid",
1169
1181
  tabindex: "0",
1170
- onFocus: yr,
1171
- onBlur: br,
1172
- onKeydown: xr
1182
+ onFocus: Sr,
1183
+ onBlur: Cr,
1184
+ onKeydown: wr
1173
1185
  }, [
1174
- De(O(Ot)),
1186
+ Oe(O(kt)),
1175
1187
  t.$slots["chart-background"] ? (C(), v("foreignObject", {
1176
1188
  key: 0,
1177
1189
  x: K.value.left,
@@ -1179,11 +1191,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1179
1191
  width: K.value.width,
1180
1192
  height: K.value.height,
1181
1193
  style: { pointerEvents: "none" }
1182
- }, [E(t.$slots, "chart-background", {}, void 0, !0)], 8, Ze)) : _("", !0),
1194
+ }, [E(t.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : _("", !0),
1183
1195
  F.value.columnTotal.color.show ? (C(), v("g", {
1184
1196
  key: 1,
1185
1197
  ref_key: "xAxisSumRects",
1186
- ref: Qt
1198
+ ref: $t
1187
1199
  }, [(C(!0), v(h, null, T(Z.value.xTotals, (e, t) => (C(), v("rect", {
1188
1200
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1189
1201
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
@@ -1192,7 +1204,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1192
1204
  fill: F.value.colors.underlayer,
1193
1205
  stroke: P.value.style.backgroundColor,
1194
1206
  "stroke-width": G.value
1195
- }, null, 8, Qe))), 256)), (C(!0), v(h, null, T(Z.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", {
1196
1208
  x: K.value.left + K.value.cellSize.width * t + G.value / 2 + K.value.sumCellXHeight,
1197
1209
  y: K.value.top - K.value.sumCellXHeight + G.value * (U.value.height / U.value.width),
1198
1210
  height: K.value.sumCellXHeight,
@@ -1200,10 +1212,10 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1200
1212
  fill: e.color,
1201
1213
  stroke: P.value.style.backgroundColor,
1202
1214
  "stroke-width": G.value
1203
- }, null, 8, $e))), 256))], 512)) : _("", !0),
1215
+ }, null, 8, et))), 256))], 512)) : _("", !0),
1204
1216
  y("g", {
1205
1217
  ref_key: "datapoints",
1206
- ref: Ht
1218
+ ref: Ut
1207
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, [
1208
1220
  y("rect", {
1209
1221
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
@@ -1213,7 +1225,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1213
1225
  fill: F.value.colors.underlayer,
1214
1226
  stroke: P.value.style.backgroundColor,
1215
1227
  "stroke-width": G.value
1216
- }, null, 8, et),
1228
+ }, null, 8, tt),
1217
1229
  y("rect", {
1218
1230
  "data-a11y-cell-id": e.id,
1219
1231
  x: K.value.left + K.value.cellSize.width * n + G.value / 2 + K.value.sumCellXHeight,
@@ -1224,14 +1236,14 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1224
1236
  stroke: P.value.style.backgroundColor,
1225
1237
  "stroke-width": G.value,
1226
1238
  "aria-label": `${e.yAxisName}${e.xAxisName ? ` - ${e.xAxisName}` : ""}: ${isNaN(e.value) ? "-" : e.value}`,
1227
- onMouseover: (r) => Gn(e, t, K.value.left + K.value.cellSize.width * n, K.value.top + K.value.cellSize.height * t, "pointer", vr(t, n)),
1228
- onMouseout: () => Kn({
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({
1229
1241
  datapoint: e,
1230
1242
  seriesIndex: t
1231
1243
  }),
1232
- onClick: () => nr(e, t)
1233
- }, null, 40, tt),
1234
- 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", {
1235
1247
  key: 0,
1236
1248
  "text-anchor": "middle",
1237
1249
  "font-size": F.value.value.fontSize,
@@ -1243,27 +1255,27 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1243
1255
  pointerEvents: "none",
1244
1256
  userSelect: "none"
1245
1257
  }
1246
- }, [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)({
1247
1259
  p: I.value.prefix,
1248
1260
  v: e.value,
1249
1261
  s: I.value.suffix,
1250
1262
  r: F.value.value.roundingValue
1251
- }), { datapoint: e })), 1)], 8, nt)), [[O(Ge), {
1263
+ }), { datapoint: e })), 1)], 8, rt)), [[O(Ke), {
1252
1264
  cellWidth: K.value.cellSize.width - G.value,
1253
1265
  cellHeight: K.value.cellSize.height - G.value,
1254
1266
  maxFontSize: F.value.value.fontSize,
1255
1267
  minFontSize: 10,
1256
1268
  index: t * H.value + n,
1257
- reportHide: Vn,
1258
- reportRotation: Rn,
1259
- hideAll: Bn.value,
1260
- rotateAll: Ln.value
1269
+ reportHide: Wn,
1270
+ reportRotation: Vn,
1271
+ hideAll: Un.value,
1272
+ rotateAll: Bn.value
1261
1273
  }]]) : _("", !0)
1262
1274
  ]))), 256))], 64))), 256))], 512),
1263
1275
  F.value.rowTotal.color.show ? (C(), v("g", {
1264
1276
  key: 2,
1265
1277
  ref_key: "yAxisSumRects",
1266
- ref: Yt
1278
+ ref: Xt
1267
1279
  }, [(C(!0), v(h, null, T(Q.value, (e, t) => (C(), v(h, null, [y("rect", {
1268
1280
  x: K.value.left,
1269
1281
  y: K.value.top + K.value.cellSize.height * t,
@@ -1272,7 +1284,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1272
1284
  fill: F.value.colors.underlayer,
1273
1285
  stroke: P.value.style.backgroundColor,
1274
1286
  "stroke-width": G.value
1275
- }, null, 8, rt), y("rect", {
1287
+ }, null, 8, it), y("rect", {
1276
1288
  x: K.value.left,
1277
1289
  y: K.value.top + K.value.cellSize.height * t + G.value / 2,
1278
1290
  width: K.value.sumCellXHeight,
@@ -1280,11 +1292,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1280
1292
  fill: Z.value.yTotals[t].color,
1281
1293
  stroke: P.value.style.backgroundColor,
1282
1294
  "stroke-width": G.value
1283
- }, null, 8, it)], 64))), 256))], 512)) : _("", !0),
1295
+ }, null, 8, at)], 64))), 256))], 512)) : _("", !0),
1284
1296
  I.value.yAxis.show ? (C(), v("g", {
1285
1297
  key: 3,
1286
1298
  ref_key: "yAxisLabels",
1287
- ref: Jt
1299
+ ref: Yt
1288
1300
  }, [(C(!0), v(h, null, T(Q.value, (e, t) => (C(), v(h, null, [y("text", {
1289
1301
  class: "vue-ui-heatmap-row-name",
1290
1302
  "font-size": I.value.yAxis.fontSize,
@@ -1293,7 +1305,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1293
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),
1294
1306
  "text-anchor": "end",
1295
1307
  "font-weight": I.value.yAxis.bold ? "bold" : "normal"
1296
- }, D(Z.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", {
1297
1309
  key: 0,
1298
1310
  class: "vue-ui-heatmap-row-total",
1299
1311
  "font-size": I.value.yAxis.fontSize,
@@ -1302,11 +1314,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1302
1314
  y: K.value.top + K.value.cellSize.height * t + K.value.cellSize.height / 2 + I.value.yAxis.fontSize + I.value.yAxis.offsetY,
1303
1315
  "text-anchor": "end",
1304
1316
  "font-weight": I.value.yAxis.bold ? "bold" : "normal"
1305
- }, D(qn(t)), 9, ot)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1317
+ }, D(Xn(t)), 9, st)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1306
1318
  I.value.xAxis.show ? (C(), v("g", {
1307
1319
  key: 4,
1308
1320
  ref_key: "xAxisLabels",
1309
- ref: Xt
1321
+ ref: Zt
1310
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", {
1311
1323
  key: 0,
1312
1324
  class: "vue-ui-heatmap-col-name",
@@ -1315,11 +1327,11 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1315
1327
  fill: I.value.xAxis.color,
1316
1328
  "font-weight": I.value.xAxis.bold ? "bold" : "normal",
1317
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})`
1318
- }, D(e), 9, st)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1330
+ }, D(e), 9, ct)) : _("", !0)], 64))), 256))], 512)) : _("", !0),
1319
1331
  F.value.columnTotal.value.show ? (C(), v("g", {
1320
1332
  key: 5,
1321
1333
  ref_key: "xAxisSums",
1322
- ref: Zt
1334
+ ref: Qt
1323
1335
  }, [(C(!0), v(h, null, T(Z.value.xLabels, (e, t) => (C(), v("text", {
1324
1336
  class: "vue-ui-heatmap-col-total",
1325
1337
  "text-anchor": F.value.columnTotal.value.rotation === 0 ? "middle" : F.value.columnTotal.value.rotation < 0 ? "end" : "start",
@@ -1327,8 +1339,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1327
1339
  fill: I.value.xAxis.color,
1328
1340
  "font-weight": I.value.xAxis.bold ? "bold" : "normal",
1329
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})`
1330
- }, D(Jn(t)), 9, ct))), 256))], 512)) : _("", !0),
1331
- M.value ? (C(), v("g", lt, [y("rect", {
1342
+ }, D(Zn(t)), 9, lt))), 256))], 512)) : _("", !0),
1343
+ M.value ? (C(), v("g", ut, [y("rect", {
1332
1344
  style: { "pointer-events": "none" },
1333
1345
  x: M.value.x - F.value.selected.border / 2 + G.value + K.value.sumCellXHeight,
1334
1346
  y: M.value.y - F.value.selected.border / 2 + G.value,
@@ -1338,8 +1350,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1338
1350
  stroke: F.value.selected.color,
1339
1351
  "stroke-width": F.value.selected.border,
1340
1352
  rx: 1
1341
- }, null, 8, ut)])) : _("", !0),
1342
- 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", {
1343
1355
  x1: K.value.left + K.value.sumCellXHeight,
1344
1356
  x2: M.value.x + K.value.sumCellXHeight,
1345
1357
  y1: M.value.y + (K.value.cellSize.height - G.value) / 2,
@@ -1348,7 +1360,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1348
1360
  "stroke-width": L.value.crosshairs.strokeWidth,
1349
1361
  "stroke-dasharray": L.value.crosshairs.strokeDasharray,
1350
1362
  "stroke-linecap": "round"
1351
- }, null, 8, ft), y("line", {
1363
+ }, null, 8, pt), y("line", {
1352
1364
  x1: M.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1353
1365
  x2: M.value.x + K.value.sumCellXHeight + (K.value.cellSize.width - G.value) / 2,
1354
1366
  y1: M.value.y,
@@ -1357,42 +1369,42 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1357
1369
  "stroke-width": L.value.crosshairs.strokeWidth,
1358
1370
  "stroke-dasharray": L.value.crosshairs.strokeDasharray,
1359
1371
  "stroke-linecap": "round"
1360
- }, null, 8, pt)])) : _("", !0),
1372
+ }, null, 8, mt)])) : _("", !0),
1361
1373
  E(t.$slots, "svg", { svg: {
1362
1374
  ...U.value,
1363
1375
  drawingArea: K.value,
1364
- isPrintingImg: O(gn) || O(_n) || O(fr),
1365
- isPrintingSvg: O(pr)
1376
+ isPrintingImg: O(yn) || O(bn) || O(hr),
1377
+ isPrintingSvg: O(gr)
1366
1378
  } }, void 0, !0)
1367
- ], 46, Xe)),
1379
+ ], 46, Ze)),
1368
1380
  P.value.style.legend.show ? (C(), v("div", {
1369
1381
  key: 0,
1370
1382
  ref_key: "legendRight",
1371
- ref: qt,
1383
+ ref: Jt,
1372
1384
  class: "vue-ui-heatmap-legend-right",
1373
1385
  style: S({ "--legend-width": P.value.style.legend.width + "px" })
1374
1386
  }, [
1375
- O(ln) ? _("", !0) : (C(), v("div", {
1387
+ O(un) ? _("", !0) : (C(), v("div", {
1376
1388
  key: 0,
1377
1389
  class: "vue-ui-heatmap-legend-label-max",
1378
1390
  style: S({
1379
1391
  fontSize: P.value.style.legend.fontSize + "px",
1380
1392
  color: P.value.style.legend.color
1381
1393
  })
1382
- }, 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)({
1383
1395
  p: I.value.prefix,
1384
- v: O(c)(q.value),
1396
+ v: O(l)(q.value),
1385
1397
  s: I.value.suffix,
1386
1398
  r: P.value.style.legend.roundingValue
1387
1399
  }))), 5)),
1388
- y("div", mt, [y("div", {
1400
+ y("div", ht, [y("div", {
1389
1401
  class: "vue-ui-heatmap-gauge",
1390
1402
  style: S({ background: `linear-gradient(to bottom, ${F.value.colors.hot}, ${F.value.colors.cold})` })
1391
- }, [He(y("div", {
1403
+ }, [Ue(y("div", {
1392
1404
  class: "vue-ui-heatmap-gauge-indicator",
1393
- "data-value": O(u)(F.value.value.formatter, O(c)($.value), O(o)({
1405
+ "data-value": O(d)(F.value.value.formatter, O(l)($.value), O(o)({
1394
1406
  p: I.value.prefix,
1395
- v: O(c)($.value),
1407
+ v: O(l)($.value),
1396
1408
  s: I.value.suffix,
1397
1409
  r: P.value.style.legend.roundingValue
1398
1410
  })),
@@ -1400,8 +1412,8 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1400
1412
  position: "absolute",
1401
1413
  width: "100%",
1402
1414
  height: "2px",
1403
- background: [void 0, null].includes($.value) ? "transparent" : O(m)(Hn.value.datapoint.color),
1404
- top: `${Pn($.value)}%`,
1415
+ background: [void 0, null].includes($.value) ? "transparent" : O(m)(Gn.value.datapoint.color),
1416
+ top: `${Ln($.value)}%`,
1405
1417
  transition: "all 0.2s ease-in-out",
1406
1418
  "--background-color": P.value.style.backgroundColor,
1407
1419
  "--gauge-arrow-color": O(m)(P.value.style.backgroundColor),
@@ -1409,41 +1421,41 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1409
1421
  "--gauge-arrow-value": $.value,
1410
1422
  "--gauge-arrow-font-size": P.value.style.legend.fontSize + "px"
1411
1423
  })
1412
- }, [y("div", gt, D(O(u)(F.value.value.formatter, O(c)($.value), O(o)({
1424
+ }, [y("div", _t, D(O(d)(F.value.value.formatter, O(l)($.value), O(o)({
1413
1425
  p: I.value.prefix,
1414
- v: O(c)($.value),
1426
+ v: O(l)($.value),
1415
1427
  s: I.value.suffix,
1416
1428
  r: P.value.style.legend.roundingValue
1417
- }))), 1)], 12, ht), [[ze, ![void 0, null].includes($.value)]])], 4)]),
1418
- O(ln) ? _("", !0) : (C(), v("div", {
1429
+ }))), 1)], 12, gt), [[Be, ![void 0, null].includes($.value)]])], 4)]),
1430
+ O(un) ? _("", !0) : (C(), v("div", {
1419
1431
  key: 1,
1420
1432
  class: "vue-ui-heatmap-legend-label-min",
1421
1433
  style: S({
1422
1434
  fontSize: P.value.style.legend.fontSize + "px",
1423
1435
  color: P.value.style.legend.color
1424
1436
  })
1425
- }, D(O(u)(F.value.value.formatter, O(c)(J.value), O(o)({
1437
+ }, D(O(d)(F.value.value.formatter, O(l)(J.value), O(o)({
1426
1438
  p: I.value.prefix,
1427
- v: O(c)(J.value),
1439
+ v: O(l)(J.value),
1428
1440
  s: I.value.suffix,
1429
1441
  r: P.value.style.legend.roundingValue
1430
1442
  }))), 5))
1431
1443
  ], 4)) : _("", !0),
1432
- 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({
1433
1445
  hint: P.value.a11y.translations.keyboardNavigation,
1434
- isVisible: an.value
1446
+ isVisible: on.value
1435
1447
  })), void 0, !0)])) : _("", !0)
1436
1448
  ], 2),
1437
- t.$slots.watermark ? (C(), v("div", vt, [E(t.$slots, "watermark", x(b({ isPrinting: O(gn) || O(_n) || O(fr) || O(pr) })), 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),
1438
1450
  t.$slots.source ? (C(), v("div", {
1439
1451
  key: 6,
1440
1452
  ref_key: "source",
1441
- ref: $t,
1453
+ ref: en,
1442
1454
  dir: "auto"
1443
1455
  }, [E(t.$slots, "source", {}, void 0, !0)], 512)) : _("", !0),
1444
- De(O(qe), {
1456
+ Oe(O(Je), {
1445
1457
  teleportTo: P.value.style.tooltip.teleportTo,
1446
- show: B.value.showTooltip && It.value,
1458
+ show: B.value.showTooltip && Lt.value,
1447
1459
  backgroundColor: P.value.style.tooltip.backgroundColor,
1448
1460
  color: P.value.style.tooltip.color,
1449
1461
  borderRadius: P.value.style.tooltip.borderRadius,
@@ -1455,19 +1467,19 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1455
1467
  offsetX: P.value.style.tooltip.offsetX,
1456
1468
  offsetY: P.value.style.tooltip.offsetY,
1457
1469
  parent: j.value,
1458
- content: Lt.value,
1459
- isFullscreen: Xn.value,
1470
+ content: Rt.value,
1471
+ isFullscreen: $n.value,
1460
1472
  isCustom: P.value.style.tooltip.customFormat && typeof P.value.style.tooltip.customFormat == "function",
1461
1473
  smooth: P.value.style.tooltip.smooth,
1462
1474
  backdropFilter: P.value.style.tooltip.backdropFilter,
1463
1475
  smoothForce: P.value.style.tooltip.smoothForce,
1464
1476
  smoothSnapThreshold: P.value.style.tooltip.smoothSnapThreshold,
1465
- isA11yMode: rn.value === "keyboard",
1466
- a11yPosition: nn.value
1477
+ isA11yMode: an.value === "keyboard",
1478
+ a11yPosition: rn.value
1467
1479
  }, {
1468
- "tooltip-before": k(() => [E(t.$slots, "tooltip-before", x(b({ ...Hn.value })), void 0, !0)]),
1469
- tooltip: k(() => [E(t.$slots, "tooltip", x(b({ ...Hn.value })), void 0, !0)]),
1470
- "tooltip-after": k(() => [E(t.$slots, "tooltip-after", x(b({ ...Hn.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)]),
1471
1483
  _: 3
1472
1484
  }, 8, [
1473
1485
  "teleportTo",
@@ -1493,35 +1505,35 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1493
1505
  "isA11yMode",
1494
1506
  "a11yPosition"
1495
1507
  ]),
1496
- Pt.value && P.value.userOptions.buttons.table ? (C(), we(Fe(sr.value.component), ke({ key: 7 }, sr.value.props, {
1508
+ Ft.value && P.value.userOptions.buttons.table ? (C(), Te(Ie(ur.value.component), Ae({ key: 7 }, ur.value.props, {
1497
1509
  ref_key: "tableUnit",
1498
- ref: Ut,
1499
- onClose: lr
1500
- }), Te({
1510
+ ref: Wt,
1511
+ onClose: fr
1512
+ }), Ee({
1501
1513
  content: k(() => [y("div", {
1502
1514
  ref_key: "tableContainer",
1503
- ref: Bt,
1515
+ ref: Vt,
1504
1516
  class: "vue-ui-heatmap-table atom-data-table",
1505
1517
  style: S(`${P.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1506
1518
  }, [y("div", {
1507
1519
  style: S(`width:100%;overflow-x:auto;position:relative;${P.value.table.useDialog ? "" : "padding-top:36px"};`),
1508
- class: je({ "vue-ui-responsive": O(cr) })
1520
+ class: Me({ "vue-ui-responsive": O(dr) })
1509
1521
  }, [P.value.table.useDialog ? _("", !0) : (C(), v("div", {
1510
1522
  key: 0,
1511
1523
  role: "button",
1512
1524
  tabindex: "0",
1513
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};`),
1514
- onClick: lr,
1515
- onKeypress: Ue(lr, ["enter"])
1516
- }, [De(O(Tt), {
1526
+ onClick: fr,
1527
+ onKeypress: We(fr, ["enter"])
1528
+ }, [Oe(O(Et), {
1517
1529
  name: "close",
1518
1530
  stroke: P.value.table.th.color,
1519
1531
  "stroke-width": 2
1520
- }, null, 8, ["stroke"])], 36)), y("table", yt, [
1532
+ }, null, 8, ["stroke"])], 36)), y("table", bt, [
1521
1533
  P.value.table.useDialog ? _("", !0) : (C(), v("caption", {
1522
1534
  key: 0,
1523
1535
  style: S(`backgroundColor:${P.value.table.th.backgroundColor};color:${P.value.table.th.color};outline:${P.value.table.th.outline}`)
1524
- }, [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)),
1525
1537
  y("thead", null, [y("tr", {
1526
1538
  role: "row",
1527
1539
  style: S(`background:${P.value.table.th.backgroundColor};color:${P.value.table.th.color}`)
@@ -1531,7 +1543,7 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1531
1543
  }, D(e.name), 5))), 256))], 4)]),
1532
1544
  y("tbody", null, [(C(!0), v(h, null, T(Z.value.xLabels, (t, n) => (C(), v("tr", {
1533
1545
  role: "row",
1534
- class: je({
1546
+ class: Me({
1535
1547
  "vue-ui-data-table__tbody__row": !0,
1536
1548
  "vue-ui-data-table__tbody__row-even": n % 2 == 0,
1537
1549
  "vue-ui-data-table__tbody__row-odd": n % 2 != 0
@@ -1541,38 +1553,38 @@ var qe = /* @__PURE__ */ e({ default: () => Tt }), Je = ["id"], Ye = ["id"], Xe
1541
1553
  "data-cell": P.value.table.colNames.xAxis,
1542
1554
  class: "vue-ui-data-table__tbody__td",
1543
1555
  style: S(`outline:${P.value.table.td.outline}`)
1544
- }, [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", {
1545
1557
  class: "vue-ui-data-table__tbody__td",
1546
1558
  "data-cell": e.dataset[r].name,
1547
1559
  style: S(`outline:${P.value.table.td.outline}`)
1548
- }, [y("div", wt, D(isNaN(t.values[n]) ? "-" : O(o)({
1560
+ }, [y("div", Tt, D(isNaN(t.values[n]) ? "-" : O(o)({
1549
1561
  p: I.value.prefix,
1550
1562
  v: t.values[n],
1551
1563
  s: I.value.suffix,
1552
1564
  r: P.value.table.td.roundingValue
1553
- })), 1)], 12, Ct))), 256))], 6))), 256))])
1565
+ })), 1)], 12, wt))), 256))], 6))), 256))])
1554
1566
  ])], 6)], 4)]),
1555
1567
  _: 2
1556
1568
  }, [P.value.table.useDialog ? {
1557
1569
  name: "title",
1558
- fn: k(() => [Ee(D(sr.value.title), 1)]),
1570
+ fn: k(() => [De(D(ur.value.title), 1)]),
1559
1571
  key: "0"
1560
1572
  } : void 0, P.value.table.useDialog ? {
1561
1573
  name: "actions",
1562
1574
  fn: k(() => [y("button", {
1563
1575
  tabindex: "0",
1564
1576
  class: "vue-ui-user-options-button",
1565
- onClick: n[0] ||= (e) => Yn(P.value.userOptions.callbacks.csv),
1566
- style: S({ cursor: on.value ? "pointer" : "default" })
1567
- }, [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), {
1568
1580
  name: "fileCsv",
1569
- stroke: sr.value.props.color
1581
+ stroke: ur.value.props.color
1570
1582
  }, null, 8, ["stroke"])], 4)]),
1571
1583
  key: "1"
1572
1584
  } : void 0]), 1040)) : _("", !0),
1573
- E(t.$slots, "skeleton", {}, () => [O(ln) ? (C(), we(ce, { key: 0 })) : _("", !0)], !0)
1574
- ], 46, Je));
1585
+ E(t.$slots, "skeleton", {}, () => [O(un) ? (C(), Te(le, { key: 0 })) : _("", !0)], !0)
1586
+ ], 46, Ye));
1575
1587
  }
1576
- }, [["__scopeId", "data-v-d48668ed"]]);
1588
+ }, [["__scopeId", "data-v-cffecfe2"]]);
1577
1589
  //#endregion
1578
- export { qe as n, Tt as t };
1590
+ export { Je as n, Et as t };