vue-data-ui 3.16.0 → 3.16.1

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 (136) hide show
  1. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  2. package/dist/{NonSvgPenAndPaper-vqweC0WU.js → NonSvgPenAndPaper-VyJFyJ6X.js} +1 -1
  3. package/dist/{PackageVersion-IIGK_e2C.js → PackageVersion-DPO-OOVI.js} +1 -1
  4. package/dist/{PenAndPaper-DARlvvKW.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  5. package/dist/{UserOptions-DWHf8jyO.js → UserOptions-rW2fRf3V.js} +2 -2
  6. package/dist/components/vue-ui-3d-bar.js +1 -1
  7. package/dist/components/vue-ui-age-pyramid.js +1 -1
  8. package/dist/components/vue-ui-annotator.js +1 -1
  9. package/dist/components/vue-ui-bullet.js +1 -1
  10. package/dist/components/vue-ui-bump.js +1 -1
  11. package/dist/components/vue-ui-candlestick.js +1 -1
  12. package/dist/components/vue-ui-carousel-table.js +1 -1
  13. package/dist/components/vue-ui-chestnut.js +1 -1
  14. package/dist/components/vue-ui-chord.js +1 -1
  15. package/dist/components/vue-ui-circle-pack.js +1 -1
  16. package/dist/components/vue-ui-cursor.js +1 -1
  17. package/dist/components/vue-ui-dag.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-geo.js +1 -1
  28. package/dist/components/vue-ui-gizmo.js +1 -1
  29. package/dist/components/vue-ui-heatmap.js +1 -1
  30. package/dist/components/vue-ui-history-plot.js +1 -1
  31. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  32. package/dist/components/vue-ui-kpi.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-relation-circle.js +1 -1
  42. package/dist/components/vue-ui-ridgeline.js +1 -1
  43. package/dist/components/vue-ui-rings.js +1 -1
  44. package/dist/components/vue-ui-scatter.js +1 -1
  45. package/dist/components/vue-ui-skeleton.js +1 -1
  46. package/dist/components/vue-ui-spark-trend.js +1 -1
  47. package/dist/components/vue-ui-sparkbar.js +1 -1
  48. package/dist/components/vue-ui-sparkgauge.js +1 -1
  49. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  50. package/dist/components/vue-ui-sparkline.js +1 -1
  51. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  52. package/dist/components/vue-ui-stackbar.js +1 -1
  53. package/dist/components/vue-ui-stackline.js +1 -1
  54. package/dist/components/vue-ui-strip-plot.js +1 -1
  55. package/dist/components/vue-ui-table-heatmap.js +1 -1
  56. package/dist/components/vue-ui-table-sparkline.js +1 -1
  57. package/dist/components/vue-ui-table.js +1 -1
  58. package/dist/components/vue-ui-thermometer.js +1 -1
  59. package/dist/components/vue-ui-timer.js +1 -1
  60. package/dist/components/vue-ui-tiremarks.js +1 -1
  61. package/dist/components/vue-ui-treemap.js +1 -1
  62. package/dist/components/vue-ui-vertical-bar.js +1 -1
  63. package/dist/components/vue-ui-waffle.js +1 -1
  64. package/dist/components/vue-ui-wheel.js +1 -1
  65. package/dist/components/vue-ui-word-cloud.js +1 -1
  66. package/dist/components/vue-ui-world.js +1 -1
  67. package/dist/components/vue-ui-xy-canvas.js +1 -1
  68. package/dist/components/vue-ui-xy.js +1 -1
  69. package/dist/style.css +1 -1
  70. package/dist/types/vue-data-ui.d.ts +1 -0
  71. package/dist/{vue-data-ui-CykQ4SW2.js → vue-data-ui-DXGkXRnC.js} +63 -63
  72. package/dist/vue-data-ui.js +63 -63
  73. package/dist/{vue-ui-3d-bar-D5KRiVmZ.js → vue-ui-3d-bar-BaFpQnd5.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-QfZ1J5Xx.js → vue-ui-age-pyramid-CRM498Pc.js} +342 -341
  75. package/dist/{vue-ui-annotator-CpSMITlP.js → vue-ui-annotator-CkPi9moo.js} +1 -1
  76. package/dist/{vue-ui-bullet-B-mo7tzz.js → vue-ui-bullet-BBiwof3c.js} +1 -1
  77. package/dist/{vue-ui-bump-NfZcJ9Q0.js → vue-ui-bump-Brxpu4xV.js} +1 -1
  78. package/dist/{vue-ui-candlestick-CGU-0rrF.js → vue-ui-candlestick-DAnZv77-.js} +240 -239
  79. package/dist/{vue-ui-carousel-table-BsdD3wU7.js → vue-ui-carousel-table-BHRZBYY0.js} +1 -1
  80. package/dist/{vue-ui-chestnut-JpoNeiHD.js → vue-ui-chestnut-CbrYnRgm.js} +1 -1
  81. package/dist/{vue-ui-chord-CxhxjRQz.js → vue-ui-chord-CaX_IUVs.js} +1 -1
  82. package/dist/{vue-ui-circle-pack-DbxOzzk2.js → vue-ui-circle-pack-CR3h53sc.js} +1 -1
  83. package/dist/{vue-ui-cursor-CZGKKkeT.js → vue-ui-cursor-Cjfazw7Z.js} +1 -1
  84. package/dist/{vue-ui-dag-gal2eIv-.js → vue-ui-dag-B9vH3c66.js} +1 -1
  85. package/dist/{vue-ui-dashboard-ClnkPMc5.js → vue-ui-dashboard-DWll05qs.js} +62 -62
  86. package/dist/{vue-ui-digits-DColgbmH.js → vue-ui-digits-DcM67rMx.js} +1 -1
  87. package/dist/{vue-ui-donut-Bckj-DX2.js → vue-ui-donut-Be5G38P5.js} +395 -394
  88. package/dist/{vue-ui-donut-evolution-B6HtvZVs.js → vue-ui-donut-evolution-BLSesj3c.js} +265 -264
  89. package/dist/{vue-ui-dumbbell-r3Jv9uut.js → vue-ui-dumbbell-DIMiCY4r.js} +1 -1
  90. package/dist/{vue-ui-flow-BxfLqYXa.js → vue-ui-flow-zvZylhgr.js} +1 -1
  91. package/dist/{vue-ui-funnel-B6Gevxqh.js → vue-ui-funnel-CSri-oWm.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BJr1ddJZ.js → vue-ui-galaxy-CGykxsAI.js} +1 -1
  93. package/dist/{vue-ui-gauge-Q-Slhgwx.js → vue-ui-gauge-D1MNB9Jq.js} +1 -1
  94. package/dist/{vue-ui-geo-Dow4oyTv.js → vue-ui-geo-DdJDGhG2.js} +1 -1
  95. package/dist/{vue-ui-gizmo-zpVjAoDG.js → vue-ui-gizmo-BZYRHGFm.js} +1 -1
  96. package/dist/{vue-ui-heatmap-mKX5Bzql.js → vue-ui-heatmap-CryOx6XK.js} +494 -482
  97. package/dist/{vue-ui-history-plot-D6kiRkhD.js → vue-ui-history-plot-C85iw9Kl.js} +1 -1
  98. package/dist/{vue-ui-horizontal-bar-FKkR13e7.js → vue-ui-horizontal-bar-BoBZOybC.js} +430 -429
  99. package/dist/{vue-ui-kpi-CMRe29m5.js → vue-ui-kpi-DHrolXw6.js} +1 -1
  100. package/dist/{vue-ui-molecule-7eT7D17p.js → vue-ui-molecule-DJ_BQ4DK.js} +1 -1
  101. package/dist/{vue-ui-mood-radar-DsC0X_C2.js → vue-ui-mood-radar-CBE02TpQ.js} +1 -1
  102. package/dist/{vue-ui-nested-donuts-FbiXKFZX.js → vue-ui-nested-donuts-YTFtb4CL.js} +284 -283
  103. package/dist/{vue-ui-onion-CjWiTq2x.js → vue-ui-onion-B9l81-PS.js} +1 -1
  104. package/dist/{vue-ui-parallel-coordinate-plot-kl1jgKIX.js → vue-ui-parallel-coordinate-plot-C1e_rs8J.js} +1 -1
  105. package/dist/{vue-ui-quadrant-CyalzEfW.js → vue-ui-quadrant-C1qsLCRn.js} +556 -555
  106. package/dist/{vue-ui-quick-chart-DgWwf7SJ.js → vue-ui-quick-chart-DFoz3WiA.js} +360 -359
  107. package/dist/{vue-ui-radar-Bw9veQKf.js → vue-ui-radar-Cmo3p-UA.js} +1 -1
  108. package/dist/{vue-ui-relation-circle-D4-9g-5t.js → vue-ui-relation-circle-BqwznVwf.js} +1 -1
  109. package/dist/{vue-ui-ridgeline-BZy69VT6.js → vue-ui-ridgeline-CDk9eXJq.js} +1 -1
  110. package/dist/{vue-ui-rings-LDs6OFnx.js → vue-ui-rings-BRkGoQdL.js} +1 -1
  111. package/dist/{vue-ui-scatter-i_hakuFa.js → vue-ui-scatter-BxDtWASQ.js} +479 -466
  112. package/dist/{vue-ui-skeleton-F2qaXsQ2.js → vue-ui-skeleton-D6kTb9aO.js} +1 -1
  113. package/dist/{vue-ui-spark-trend-ZIMooBi3.js → vue-ui-spark-trend-D8Mf2A1w.js} +1 -1
  114. package/dist/{vue-ui-sparkbar-BYRKG_Mm.js → vue-ui-sparkbar-BbYj56c3.js} +1 -1
  115. package/dist/{vue-ui-sparkgauge-BM0mnDHp.js → vue-ui-sparkgauge-DXzOSLRb.js} +1 -1
  116. package/dist/{vue-ui-sparkhistogram-z4-7Q6J8.js → vue-ui-sparkhistogram-DMfSx1iH.js} +1 -1
  117. package/dist/{vue-ui-sparkline-9m1__jVp.js → vue-ui-sparkline-D-rQ9PsC.js} +439 -438
  118. package/dist/{vue-ui-sparkstackbar-uM98VUDw.js → vue-ui-sparkstackbar-DK5n8IKP.js} +1 -1
  119. package/dist/{vue-ui-stackbar-DcSJuwTC.js → vue-ui-stackbar-BHthy6jf.js} +212 -211
  120. package/dist/{vue-ui-stackline-Dl_FfJAO.js → vue-ui-stackline-C6-WNpKD.js} +363 -362
  121. package/dist/{vue-ui-strip-plot-CcV8bOkg.js → vue-ui-strip-plot-CHu-1ilI.js} +1 -1
  122. package/dist/{vue-ui-table-Dx-N-eF1.js → vue-ui-table-DW9JGsLq.js} +2 -2
  123. package/dist/{vue-ui-table-heatmap-CVxNZzGe.js → vue-ui-table-heatmap-LYqoBit9.js} +1 -1
  124. package/dist/{vue-ui-table-sparkline-DdtbqaUL.js → vue-ui-table-sparkline-CXK1dFr-.js} +1 -1
  125. package/dist/{vue-ui-thermometer-Clwz-wUE.js → vue-ui-thermometer-BN8tflOz.js} +1 -1
  126. package/dist/{vue-ui-timer-BYVk_bvz.js → vue-ui-timer-DGT0UBOF.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-D5TSv5yw.js → vue-ui-tiremarks-BZ-osQqY.js} +1 -1
  128. package/dist/{vue-ui-treemap-C0zhPMxE.js → vue-ui-treemap-98KaVRyd.js} +388 -387
  129. package/dist/{vue-ui-waffle-BtjLPkLm.js → vue-ui-waffle-Cb7oJnIc.js} +1 -1
  130. package/dist/{vue-ui-wheel-DSlnowV4.js → vue-ui-wheel-sfew1fjw.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-DFdiRCqc.js → vue-ui-word-cloud-vq1t9JHr.js} +1 -1
  132. package/dist/{vue-ui-world-CymT7_Ep.js → vue-ui-world-CN0f6elD.js} +1 -1
  133. package/dist/{vue-ui-xy-B9Q4FR0g.js → vue-ui-xy-BdzEiImZ.js} +956 -955
  134. package/dist/{vue-ui-xy-canvas-CrnBxoa0.js → vue-ui-xy-canvas-CWQzUQzY.js} +113 -113
  135. package/package.json +1 -1
  136. package/dist/ColorPicker-DQ5sdRrl.js +0 -244
@@ -1,64 +1,64 @@
1
- import { watchEffect as it, nextTick as ge, useCssVars as Nl, defineAsyncComponent as fe, computed as f, ref as r, shallowRef as Il, toRefs as Fl, watch as Re, onBeforeUnmount as Ht, onMounted as Rl, reactive as Et, openBlock as u, createElementBlock as i, normalizeStyle as L, normalizeClass as Le, createElementVNode as p, toDisplayString as O, createBlock as pe, createCommentVNode as g, unref as n, withCtx as C, renderSlot as m, normalizeProps as H, guardReactiveProps as E, createSlots as Xt, createVNode as Pe, Fragment as M, renderList as U, withDirectives as Vt, createTextVNode as ot, vShow as Pl, resolveDynamicComponent as Dl, mergeProps as Hl, withKeys as El } from "vue";
2
- import { j as st, t as Bt, o as Ut, q as Gt, ao as Se, r as Xl, l as q, X as Vl, W as De, k as ee, K as te, aB as Bl, a0 as Ul, a1 as Gl, T as Wl, U as Kl } from "./lib-DBptbyyI.js";
3
- import { t as He, u as Yl } from "./useResponsive-DfdjqQps.js";
4
- import { u as ql } from "./useConfig-DO94Aj5s.js";
5
- import { u as jl } from "./usePrinter-CEpYU3r5.js";
6
- import { u as Jl, B as Ql } from "./BaseScanner-BhhkKVoj.js";
7
- import { u as Zl } from "./useSvgExport-ByUukOZt.js";
8
- import { u as ut } from "./useNestedProp-Bf5XFbs8.js";
9
- import { u as Wt } from "./useTimeLabels-C-A2uZKi.js";
10
- import { u as ea } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as ta } from "./useTableResponsive-Cbx-ACcP.js";
12
- import { u as la } from "./useUserOptionState-BIvW1Kz7.js";
13
- import { u as Kt } from "./useTimeLabelCollider-CIsgDrl9.js";
14
- import { u as aa } from "./useChartAccessibility-9icAAmYg.js";
15
- import oa from "./img-LXxMLmCg.js";
16
- import sa from "./Title-BeMKE1cj.js";
17
- import ua from "./vue_ui_heatmap-C9u993qE.js";
18
- import na from "./vue-ui-accordion-nvggWcGN.js";
19
- import { A as ia } from "./A11yDataTable-KcVAX2cP.js";
20
- import { _ as ra } from "./_plugin-vue_export-helper-CHgC5LLL.js";
21
- function nt({
1
+ import { watchEffect as pt, nextTick as xe, useCssVars as Ul, defineAsyncComponent as be, computed as f, ref as v, shallowRef as Gl, toRefs as Wl, watch as Be, onBeforeUnmount as qt, onMounted as Kl, reactive as jt, openBlock as u, createElementBlock as i, normalizeStyle as L, normalizeClass as Oe, createElementVNode as p, toDisplayString as I, createBlock as me, createCommentVNode as g, unref as n, withCtx as C, renderSlot as m, normalizeProps as H, guardReactiveProps as E, createSlots as Jt, createVNode as Ue, Fragment as O, renderList as U, withDirectives as Qt, createTextVNode as dt, vShow as Yl, resolveDynamicComponent as ql, mergeProps as jl, withKeys as Jl } from "vue";
2
+ import { j as yt, t as Zt, o as el, q as tl, ao as Me, r as Ql, l as q, X as Zl, W as Ge, k as le, K as ae, aB as ea, a0 as ta, a1 as la, T as aa, U as oa } from "./lib-DBptbyyI.js";
3
+ import { t as We, u as sa } from "./useResponsive-DfdjqQps.js";
4
+ import { u as ua } from "./useConfig-DO94Aj5s.js";
5
+ import { u as na } from "./usePrinter-CEpYU3r5.js";
6
+ import { u as ia, B as ra } from "./BaseScanner-BhhkKVoj.js";
7
+ import { u as va } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as ht } from "./useNestedProp-Bf5XFbs8.js";
9
+ import { u as ll } from "./useTimeLabels-C-A2uZKi.js";
10
+ import { u as ca } from "./useThemeCheck-D1ZYXUwG.js";
11
+ import { u as da } from "./useTableResponsive-Cbx-ACcP.js";
12
+ import { u as ya } from "./useUserOptionState-BIvW1Kz7.js";
13
+ import { u as al } from "./useTimeLabelCollider-CIsgDrl9.js";
14
+ import { u as ha } from "./useChartAccessibility-9icAAmYg.js";
15
+ import fa from "./img-LXxMLmCg.js";
16
+ import pa from "./Title-BeMKE1cj.js";
17
+ import ga from "./vue_ui_heatmap-C9u993qE.js";
18
+ import ba from "./vue-ui-accordion-nvggWcGN.js";
19
+ import { A as ma } from "./A11yDataTable-KcVAX2cP.js";
20
+ import { _ as xa } from "./_plugin-vue_export-helper-CHgC5LLL.js";
21
+ function ft({
22
22
  elementRef: h,
23
23
  callback: G,
24
- attr: le,
24
+ attr: oe,
25
25
  earlyReturn: J = !1,
26
- retryFrames: ae = 12,
27
- alsoAfterFontsReady: I = !0
26
+ retryFrames: se = 12,
27
+ alsoAfterFontsReady: N = !0
28
28
  }) {
29
29
  if (J) return;
30
- const W = ($) => {
31
- if (!$) return;
30
+ const W = (z) => {
31
+ if (!z) return;
32
32
  let S;
33
- if (typeof $.getBBox == "function")
33
+ if (typeof z.getBBox == "function")
34
34
  try {
35
- const F = $.getBBox();
36
- S = le === "width" ? F.width : F.height;
35
+ const F = z.getBBox();
36
+ S = oe === "width" ? F.width : F.height;
37
37
  } catch {
38
38
  }
39
39
  if (typeof S != "number" || Number.isNaN(S))
40
40
  try {
41
- const F = $.getBoundingClientRect();
42
- S = le === "width" ? F.width : F.height;
41
+ const F = z.getBoundingClientRect();
42
+ S = oe === "width" ? F.width : F.height;
43
43
  } catch {
44
44
  S = void 0;
45
45
  }
46
46
  typeof S == "number" && !Number.isNaN(S) && G(S);
47
47
  };
48
- it(($) => {
48
+ pt((z) => {
49
49
  const S = h.value;
50
50
  if (!S) return;
51
51
  let F = !1;
52
52
  (async () => {
53
- await ge();
54
- for (let T = 0; T < ae; T += 1) {
53
+ await xe();
54
+ for (let T = 0; T < se; T += 1) {
55
55
  if (F) return;
56
56
  await new Promise((K) => requestAnimationFrame(K));
57
- const V = h.value;
58
- if (!V) return;
59
- W(V);
57
+ const X = h.value;
58
+ if (!X) return;
59
+ W(X);
60
60
  }
61
- if (I && typeof document < "u" && document.fonts && document.fonts.ready) {
61
+ if (N && typeof document < "u" && document.fonts && document.fonts.ready) {
62
62
  try {
63
63
  await document.fonts.ready;
64
64
  } catch {
@@ -66,12 +66,12 @@ function nt({
66
66
  !F && h.value && W(h.value);
67
67
  }
68
68
  })();
69
- const oe = new MutationObserver(() => {
69
+ const ue = new MutationObserver(() => {
70
70
  h.value && requestAnimationFrame(() => {
71
71
  h.value && W(h.value);
72
72
  });
73
73
  });
74
- oe.observe(S, {
74
+ ue.observe(S, {
75
75
  childList: !0,
76
76
  subtree: !0,
77
77
  characterData: !0,
@@ -82,67 +82,67 @@ function nt({
82
82
  if (typeof ResizeObserver < "u") {
83
83
  const T = S.ownerSVGElement ? S.ownerSVGElement : S;
84
84
  A = new ResizeObserver(() => {
85
- const V = h.value;
86
- V && W(V);
85
+ const X = h.value;
86
+ X && W(X);
87
87
  }), A.observe(T);
88
88
  }
89
- $(() => {
90
- F = !0, oe.disconnect(), A && A.disconnect();
89
+ z(() => {
90
+ F = !0, ue.disconnect(), A && A.disconnect();
91
91
  });
92
92
  }, { flush: "post" });
93
93
  }
94
- const va = {
94
+ const wa = {
95
95
  mounted(h, G) {
96
- Yt(h, G.value);
96
+ ol(h, G.value);
97
97
  },
98
98
  updated(h, G) {
99
- Yt(h, G.value);
99
+ ol(h, G.value);
100
100
  }
101
101
  };
102
- function Yt(h, {
102
+ function ol(h, {
103
103
  cellWidth: G,
104
- cellHeight: le,
104
+ cellHeight: oe,
105
105
  maxFontSize: J,
106
- minFontSize: ae,
107
- index: I,
106
+ minFontSize: se,
107
+ index: N,
108
108
  reportRotation: W,
109
- reportHide: $,
109
+ reportHide: z,
110
110
  rotateAll: S,
111
111
  hideAll: F
112
112
  }) {
113
113
  h.removeAttribute("transform"), h.removeAttribute("visibility");
114
- let de = !1, oe = !1;
114
+ let fe = !1, ue = !1;
115
115
  h.setAttribute("font-size", J);
116
116
  const A = h.getComputedTextLength();
117
117
  if (A <= G)
118
- W(I, !1), $(I, !1);
118
+ W(N, !1), z(N, !1);
119
119
  else {
120
120
  const T = Math.floor(J * G / A);
121
- T >= ae ? (h.setAttribute("font-size", T), W(I, !1), $(I, !1)) : (W(I, !0), $(I, !1), de = !0);
121
+ T >= se ? (h.setAttribute("font-size", T), W(N, !1), z(N, !1)) : (W(N, !0), z(N, !1), fe = !0);
122
122
  }
123
- if (S && (de = !0), de) {
123
+ if (S && (fe = !0), fe) {
124
124
  h.setAttribute("font-size", J);
125
- const T = h.getBBox(), V = T.x + T.width / 2, K = T.y + T.height / 2;
126
- h.setAttribute("transform", `rotate(-90 ${V} ${K})`);
127
- const N = h.getBBox().width;
128
- if (N <= le)
129
- $(I, !1);
125
+ const T = h.getBBox(), X = T.x + T.width / 2, K = T.y + T.height / 2;
126
+ h.setAttribute("transform", `rotate(-90 ${X} ${K})`);
127
+ const M = h.getBBox().width;
128
+ if (M <= oe)
129
+ z(N, !1);
130
130
  else {
131
- const se = Math.floor(J * le / N);
132
- se >= ae ? (h.setAttribute("font-size", se), $(I, !1)) : (oe = !0, $(I, !0));
131
+ const ne = Math.floor(J * oe / M);
132
+ ne >= se ? (h.setAttribute("font-size", ne), z(N, !1)) : (ue = !0, z(N, !0));
133
133
  }
134
134
  }
135
- (F || oe) && h.setAttribute("visibility", "hidden");
135
+ (F || ue) && h.setAttribute("visibility", "hidden");
136
136
  }
137
- const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], ha = ["x", "y", "width", "height"], fa = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], pa = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], ga = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ba = ["data-a11y-cell-id", "x", "y", "width", "height", "fill", "stroke", "stroke-width", "aria-label", "onMouseover", "onMouseout", "onClick"], ma = ["font-size", "font-weight", "fill", "x", "y"], xa = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], wa = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ka = ["font-size", "fill", "x", "y", "font-weight"], Ca = ["font-size", "fill", "x", "y", "font-weight"], Aa = ["text-anchor", "font-size", "fill", "font-weight", "transform"], La = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Sa = { key: 6 }, Ta = ["x", "y", "width", "height", "stroke", "stroke-width"], $a = { key: 7 }, za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Oa = { class: "vue-ui-heatmap-legend-gauge-right" }, Ma = ["data-value"], Na = { class: "vue-ui-heatmap-gauge-indicator-value" }, Ia = {
137
+ const ka = ["id"], Ca = ["id"], Aa = ["xmlns", "aria-describedby", "viewBox"], La = ["x", "y", "width", "height"], Sa = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ta = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], $a = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], za = ["data-a11y-cell-id", "x", "y", "width", "height", "fill", "stroke", "stroke-width", "aria-label", "onMouseover", "onMouseout", "onClick"], _a = ["font-size", "font-weight", "fill", "x", "y"], Ia = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Oa = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ma = ["font-size", "fill", "x", "y", "font-weight"], Na = ["font-size", "fill", "x", "y", "font-weight"], Fa = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ra = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Pa = { key: 6 }, Da = ["x", "y", "width", "height", "stroke", "stroke-width"], Ha = { key: 7 }, Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xa = { class: "vue-ui-heatmap-legend-gauge-right" }, Ba = ["data-value"], Ua = { class: "vue-ui-heatmap-gauge-indicator-value" }, Ga = {
138
138
  key: 1,
139
139
  style: { position: "absolute", top: "100%", left: "0", width: "100%" },
140
140
  "data-dom-to-png-ignore": "",
141
141
  "aria-hidden": "true"
142
- }, Fa = {
142
+ }, Wa = {
143
143
  key: 5,
144
144
  class: "vue-data-ui-watermark"
145
- }, Ra = { class: "vue-ui-data-table" }, Pa = { key: 0 }, Da = ["data-cell"], Ha = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ea = ["data-cell"], Xa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Va = {
145
+ }, Ka = { class: "vue-ui-data-table" }, Ya = { key: 0 }, qa = ["data-cell"], ja = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Ja = ["data-cell"], Qa = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Za = {
146
146
  __name: "vue-ui-heatmap",
147
147
  props: {
148
148
  config: {
@@ -159,32 +159,32 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
159
159
  }
160
160
  },
161
161
  emits: ["selectDatapoint", "copyAlt"],
162
- setup(h, { expose: G, emit: le }) {
163
- Nl((t) => ({
164
- v621f7066: t.tdo
162
+ setup(h, { expose: G, emit: oe }) {
163
+ Ul((t) => ({
164
+ v2aac18d7: t.tdo
165
165
  }));
166
- const J = fe(() => import("./Tooltip-Bf-kM3_A.js")), ae = fe(() => import("./BaseIcon-Cb3zzG6s.js")), I = fe(() => import("./PenAndPaper-DARlvvKW.js")), W = fe(() => import("./UserOptions-DWHf8jyO.js")), $ = fe(() => import("./PackageVersion-IIGK_e2C.js")), S = fe(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_heatmap: F } = ql(), { isThemeValid: de, warnInvalidTheme: oe } = ea(), A = h, T = le, V = f({
166
+ const J = be(() => import("./Tooltip-Bf-kM3_A.js")), se = be(() => import("./BaseIcon-Cb3zzG6s.js")), N = be(() => import("./PenAndPaper-Ct3qJ4lA.js")), W = be(() => import("./UserOptions-rW2fRf3V.js")), z = be(() => import("./PackageVersion-DPO-OOVI.js")), S = be(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_heatmap: F } = ua(), { isThemeValid: fe, warnInvalidTheme: ue } = ca(), A = h, T = oe, X = f({
167
167
  get() {
168
168
  return !!A.dataset && A.dataset.length;
169
169
  },
170
170
  set(t) {
171
171
  return t;
172
172
  }
173
- }), K = r(st()), N = r(null), se = r(!1), Ee = r(""), Xe = r(void 0), R = r(null), rt = r(0), vt = r(null), ct = r(0), qt = r(null), be = r(null), Ve = r(null), Te = r(!1), $e = r(!1), dt = r(null), yt = r(null), jt = r(null), ht = r(null), Jt = r(null), Be = r(null), Ue = r(null), Qt = r(null), ft = r(null), ye = Il(null), ue = r(null), ze = r(null), pt = r({ x: 0, y: 0 }), Ge = r("pointer"), _e = r(!1), e = r(Ye()), Oe = f(() => e.value.userOptions.useCursorPointer);
174
- function Zt() {
173
+ }), K = v(yt()), M = v(null), ne = v(!1), Ke = v(""), we = v(void 0), R = v(null), gt = v(0), bt = v(null), mt = v(0), sl = v(null), ke = v(null), Ye = v(null), Ne = v(!1), Fe = v(!1), xt = v(null), wt = v(null), ul = v(null), kt = v(null), nl = v(null), qe = v(null), je = v(null), il = v(null), Ct = v(null), pe = Gl(null), ie = v(null), Re = v(null), At = v({ x: 0, y: 0 }), Je = v("pointer"), Pe = v(!1), e = v(et()), De = f(() => e.value.userOptions.useCursorPointer);
174
+ function rl() {
175
175
  const t = Array(7).fill("_"), o = [], l = 14, s = t.length;
176
- for (let v = 0; v < s; v += 1) {
176
+ for (let r = 0; r < s; r += 1) {
177
177
  const c = [];
178
178
  for (let b = 0; b < l; b += 1)
179
- c.push(v + b * 2);
179
+ c.push(r + b * 2);
180
180
  o.push({
181
- name: `${t[v]}`,
181
+ name: `${t[r]}`,
182
182
  values: c
183
183
  });
184
184
  }
185
185
  return o;
186
186
  }
187
- const el = f(() => Bt({
187
+ const vl = f(() => Zt({
188
188
  defaultConfig: {
189
189
  table: { show: !1 },
190
190
  userOptions: { show: !1 },
@@ -208,41 +208,41 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
208
208
  }
209
209
  },
210
210
  userConfig: e.value.skeletonConfig ?? {}
211
- })), { loading: Me, FINAL_DATASET: k, manualLoading: We } = Jl({
212
- ...Fl(A),
211
+ })), { loading: He, FINAL_DATASET: k, manualLoading: Qe } = ia({
212
+ ...Wl(A),
213
213
  FINAL_CONFIG: e,
214
- prepareConfig: Ye,
214
+ prepareConfig: et,
215
215
  callback: () => {
216
216
  Promise.resolve().then(async () => {
217
- await ge(), N.value && Bl(N.value, { delta: 0.1, delay: 250 });
217
+ await xe(), M.value && ea(M.value, { delta: 0.1, delay: 250 });
218
218
  });
219
219
  },
220
- skeletonDataset: A.config?.skeletonDataset ?? Zt(),
221
- skeletonConfig: Bt({
220
+ skeletonDataset: A.config?.skeletonDataset ?? rl(),
221
+ skeletonConfig: Zt({
222
222
  defaultConfig: e.value,
223
- userConfig: el.value
223
+ userConfig: vl.value
224
224
  })
225
- }), { userOptionsVisible: Ke, setUserOptionsVisibility: tl, keepUserOptionState: gt } = la({ config: e.value }), { svgRef: ne } = aa({ config: e.value.style.title });
226
- function bt(t) {
227
- tl(t);
225
+ }), { userOptionsVisible: Ze, setUserOptionsVisibility: cl, keepUserOptionState: Lt } = ya({ config: e.value }), { svgRef: re } = ha({ config: e.value.style.title });
226
+ function St(t) {
227
+ cl(t);
228
228
  }
229
- function Ye() {
230
- const t = ut({
229
+ function et() {
230
+ const t = ht({
231
231
  userConfig: A.config,
232
232
  defaultConfig: F
233
233
  });
234
234
  let o = {};
235
235
  const l = t.theme;
236
236
  if (l)
237
- if (!de.value(t))
238
- oe(t), o = t;
237
+ if (!fe.value(t))
238
+ ue(t), o = t;
239
239
  else {
240
- const s = ut({
241
- userConfig: ua[l] || A.config,
240
+ const s = ht({
241
+ userConfig: ga[l] || A.config,
242
242
  defaultConfig: t
243
243
  });
244
244
  o = {
245
- ...ut({
245
+ ...ht({
246
246
  userConfig: A.config,
247
247
  defaultConfig: s
248
248
  })
@@ -252,125 +252,125 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
252
252
  o = t;
253
253
  return o;
254
254
  }
255
- Re(() => A.config, (t) => {
256
- Me.value || (e.value = Ye()), Ke.value = !e.value.userOptions.showOnChartHover, Je(), ct.value += 1, P.value.showTable = e.value.table.show, P.value.showTooltip = e.value.style.tooltip.show, me.value = e.value.style.layout.width, xe.value = e.value.style.layout.height;
257
- }, { deep: !0 }), Re(() => A.dataset, (t) => {
258
- Array.isArray(t) && t.length > 0 && (We.value = !1), Je();
255
+ Be(() => A.config, (t) => {
256
+ He.value || (e.value = et()), Ze.value = !e.value.userOptions.showOnChartHover, at(), mt.value += 1, P.value.showTable = e.value.table.show, P.value.showTooltip = e.value.style.tooltip.show, Ce.value = e.value.style.layout.width, Ae.value = e.value.style.layout.height;
257
+ }, { deep: !0 }), Be(() => A.dataset, (t) => {
258
+ Array.isArray(t) && t.length > 0 && (Qe.value = !1), at();
259
259
  }, { deep: !0 });
260
- const { isPrinting: qe, isImaging: je, generatePdf: mt, generateImage: xt } = jl({
260
+ const { isPrinting: tt, isImaging: lt, generatePdf: Tt, generateImage: $t } = na({
261
261
  elementId: `heatmap__${K.value}`,
262
262
  fileName: e.value.style.title.text || "vue-ui-heatmap",
263
263
  options: e.value.userOptions.print
264
- }), ll = f(() => e.value.userOptions.show && !e.value.style.title.text), P = r({
264
+ }), dl = f(() => e.value.userOptions.show && !e.value.style.title.text), P = v({
265
265
  showTable: e.value.table.show,
266
266
  showTooltip: e.value.style.tooltip.show
267
267
  });
268
- Re(e, () => {
268
+ Be(e, () => {
269
269
  P.value = {
270
270
  showTable: e.value.table.show,
271
271
  showTooltip: e.value.style.tooltip.show
272
272
  };
273
273
  }, { immediate: !0 });
274
- const al = f(() => e.value.table.responsiveBreakpoint), Q = r(null), wt = f(() => !!e.value.debug);
275
- function Je() {
276
- if (Ut(A.dataset) && (Gt({
274
+ const yl = f(() => e.value.table.responsiveBreakpoint), Q = v(null), zt = f(() => !!e.value.debug);
275
+ function at() {
276
+ if (el(A.dataset) && (tl({
277
277
  componentName: "VueUiHeatmap",
278
278
  type: "dataset",
279
- debug: wt.value
280
- }), V.value = !1, We.value = !0), Ut(A.dataset) || (We.value = e.value.loading), e.value.responsive) {
281
- const t = He(() => {
282
- const { width: o, height: l } = Yl({
283
- chart: N.value,
284
- title: e.value.style.title.text ? dt.value : null,
279
+ debug: zt.value
280
+ }), X.value = !1, Qe.value = !0), el(A.dataset) || (Qe.value = e.value.loading), e.value.responsive) {
281
+ const t = We(() => {
282
+ const { width: o, height: l } = sa({
283
+ chart: M.value,
284
+ title: e.value.style.title.text ? xt.value : null,
285
285
  // add legend hirizontal in legend attr
286
286
  // add legend vertical in some other attr and modify composable to subtract width
287
- source: ft.value,
288
- noTitle: yt.value
287
+ source: Ct.value,
288
+ noTitle: wt.value
289
289
  });
290
290
  requestAnimationFrame(() => {
291
- me.value = o, xe.value = l;
291
+ Ce.value = o, Ae.value = l;
292
292
  });
293
293
  });
294
- Q.value && (ye.value && Q.value.unobserve(ye.value), Q.value.disconnect()), Q.value = new ResizeObserver(t), ye.value = N.value.parentNode, Q.value.observe(ye.value);
294
+ Q.value && (pe.value && Q.value.unobserve(pe.value), Q.value.disconnect()), Q.value = new ResizeObserver(t), pe.value = M.value.parentNode, Q.value.observe(pe.value);
295
295
  }
296
296
  }
297
- Ht(() => {
298
- Q.value && (ye.value && Q.value.unobserve(ye.value), Q.value.disconnect());
299
- }), Rl(() => {
300
- Je();
297
+ qt(() => {
298
+ Q.value && (pe.value && Q.value.unobserve(pe.value), Q.value.disconnect());
299
+ }), Kl(() => {
300
+ at();
301
301
  });
302
- const Y = f(() => Math.max(...k.value.flatMap((t) => (t.values || []).length))), me = r(e.value.style.layout.width), xe = r(e.value.style.layout.height), D = f(() => ({
303
- width: Math.max(10, me.value),
304
- height: Math.max(10, xe.value)
305
- })), he = r(0), ol = He((t) => {
306
- t !== he.value && (he.value = t);
302
+ const Y = f(() => Math.max(...k.value.flatMap((t) => (t.values || []).length))), Ce = v(e.value.style.layout.width), Ae = v(e.value.style.layout.height), D = f(() => ({
303
+ width: Math.max(10, Ce.value),
304
+ height: Math.max(10, Ae.value)
305
+ })), ge = v(0), hl = We((t) => {
306
+ t !== ge.value && (ge.value = t);
307
307
  }, 100);
308
- nt({ elementRef: Be, callback: ol, attr: "height" });
309
- const ie = r(0), sl = He((t) => {
310
- t !== ie.value && (ie.value = t);
308
+ ft({ elementRef: qe, callback: hl, attr: "height" });
309
+ const ve = v(0), fl = We((t) => {
310
+ t !== ve.value && (ve.value = t);
311
311
  }, 100);
312
- nt({ elementRef: ht, callback: sl, attr: "width" });
313
- const we = r(0), ul = He((t) => {
314
- t !== we.value && (we.value = t);
312
+ ft({ elementRef: kt, callback: fl, attr: "width" });
313
+ const Le = v(0), pl = We((t) => {
314
+ t !== Le.value && (Le.value = t);
315
315
  }, 100);
316
- nt({ elementRef: Ue, callback: ul, attr: "height" }), Ht(() => {
317
- he.value = 0, ie.value = 0, we.value = 0;
316
+ ft({ elementRef: je, callback: pl, attr: "height" }), qt(() => {
317
+ ge.value = 0, ve.value = 0, Le.value = 0;
318
318
  });
319
319
  const d = f(() => Math.min(D.value.height, D.value.width) / 1e3 * e.value.style.layout.cells.spacing), a = f(() => {
320
320
  let t = 0;
321
321
  e.value.style.legend.show && (t = e.value.style.legend.width);
322
- const o = e.value.style.layout.padding, l = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = D.value.height - o.top - o.bottom - he.value - l, c = D.value.width / 60, b = {
322
+ const o = e.value.style.layout.padding, l = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, r = D.value.height - o.top - o.bottom - ge.value - l, c = D.value.width / 60, b = {
323
323
  x: d.value * Y.value,
324
324
  y: d.value * ((k.value || []).length + 1)
325
- }, _ = D.value.width - o.left - o.right - b.x - c * 2 - 2 - t - ie.value, y = v - c - b.y - we.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, w = {
325
+ }, _ = D.value.width - o.left - o.right - b.x - c * 2 - 2 - t - ve.value, y = r - c - b.y - Le.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, w = {
326
326
  width: Math.max(3, _ / Y.value),
327
327
  height: Math.max(3, y / (k.value.length ?? 1))
328
328
  };
329
329
  return {
330
- top: o.top + he.value + c + l,
331
- topLabelsHeight: he.value,
330
+ top: o.top + ge.value + c + l,
331
+ topLabelsHeight: ge.value,
332
332
  sumCellXHeight: c,
333
333
  height: y,
334
- left: o.left + ie.value + c / 2,
334
+ left: o.left + ve.value + c / 2,
335
335
  right: o.right - t,
336
- bottom: D.value.height - o.bottom - we.value,
336
+ bottom: D.value.height - o.bottom - Le.value,
337
337
  width: _,
338
338
  cellSize: w
339
339
  };
340
- }), Z = f(() => Math.max(...k.value.flatMap((t) => t.values))), ke = f(() => Math.min(...k.value.flatMap((t) => t.values))), re = f(() => {
340
+ }), Z = f(() => Math.max(...k.value.flatMap((t) => t.values))), Se = f(() => Math.min(...k.value.flatMap((t) => t.values))), ce = f(() => {
341
341
  const t = k.value.flatMap((l) => l.values);
342
342
  return t.reduce((l, s) => l + s, 0) / t.length;
343
- }), kt = r([]), Ct = r([]);
344
- let At = 0;
345
- it(() => {
346
- const t = ++At;
343
+ }), _t = v([]), It = v([]);
344
+ let Ot = 0;
345
+ pt(() => {
346
+ const t = ++Ot;
347
347
  (async () => {
348
- const o = e.value.style.layout.dataLabels.yAxis, l = await Wt({
348
+ const o = e.value.style.layout.dataLabels.yAxis, l = await ll({
349
349
  values: o.values.length ? o.values : k.value.map((s) => s.name),
350
350
  maxDatapoints: k.value.length,
351
351
  formatter: o.datetimeFormatter,
352
352
  start: 0,
353
353
  end: k.value.length
354
354
  });
355
- t === At && (kt.value = l);
355
+ t === Ot && (_t.value = l);
356
356
  })();
357
357
  });
358
- let Lt = 0;
359
- it(() => {
360
- const t = ++Lt;
358
+ let Mt = 0;
359
+ pt(() => {
360
+ const t = ++Mt;
361
361
  (async () => {
362
- const o = e.value.style.layout.dataLabels.xAxis, l = await Wt({
362
+ const o = e.value.style.layout.dataLabels.xAxis, l = await ll({
363
363
  values: o.values,
364
364
  maxDatapoints: Y.value,
365
365
  formatter: o.datetimeFormatter,
366
366
  start: 0,
367
367
  end: Y.value
368
368
  });
369
- t === Lt && (Ct.value = l);
369
+ t === Mt && (It.value = l);
370
370
  })();
371
371
  });
372
372
  const x = f(() => {
373
- const t = kt.value.map((y) => y.text), o = Ct.value.map((y) => y.text), l = k.value.map((y) => y.values.reduce((w, B) => w + B, 0)), s = Math.max(...l), v = Math.min(...l), c = [];
373
+ const t = _t.value.map((y) => y.text), o = It.value.map((y) => y.text), l = k.value.map((y) => y.values.reduce((w, B) => w + B, 0)), s = Math.max(...l), r = Math.min(...l), c = [];
374
374
  for (let y = 0; y < Y.value; y += 1)
375
375
  c.push(k.value.map((w) => w.values[y] || 0).reduce((w, B) => w + B, 0));
376
376
  const b = Math.max(...c), _ = Math.min(...c);
@@ -380,7 +380,7 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
380
380
  return {
381
381
  total: y,
382
382
  proportion: w,
383
- color: Se(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, s, y)
383
+ color: Me(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, r, s, y)
384
384
  };
385
385
  }),
386
386
  xTotals: c.map((y) => {
@@ -388,89 +388,89 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
388
388
  return {
389
389
  total: y,
390
390
  proportion: w,
391
- color: Se(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, _, b, y)
391
+ color: Me(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, _, b, y)
392
392
  };
393
393
  }),
394
394
  yLabels: t,
395
395
  xLabels: o.slice(0, Y.value)
396
396
  };
397
- }), z = f(() => (k.value.forEach((t, o) => {
398
- Xl({
397
+ }), $ = f(() => (k.value.forEach((t, o) => {
398
+ Ql({
399
399
  datasetObject: t,
400
400
  requiredAttributes: ["values"]
401
401
  }).forEach((l) => {
402
- Gt({
402
+ tl({
403
403
  componentName: "VueUiHeatmap",
404
404
  type: "datasetSerieAttribute",
405
405
  property: "values",
406
406
  index: o,
407
- debug: wt.value
407
+ debug: zt.value
408
408
  });
409
409
  });
410
410
  }), k.value.map((t, o) => ({
411
411
  ...t,
412
- temperatures: (t.values || []).map((l, s) => l >= re.value ? {
412
+ temperatures: (t.values || []).map((l, s) => l >= ce.value ? {
413
413
  side: "up",
414
- color: Se(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ke.value, Z.value, l),
415
- ratio: Math.abs(Math.abs(l - re.value) / Math.abs(Z.value - re.value)) > 1 ? 1 : Math.abs(Math.abs(l - re.value) / Math.abs(Z.value - re.value)),
414
+ color: Me(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, Se.value, Z.value, l),
415
+ ratio: Math.abs(Math.abs(l - ce.value) / Math.abs(Z.value - ce.value)) > 1 ? 1 : Math.abs(Math.abs(l - ce.value) / Math.abs(Z.value - ce.value)),
416
416
  value: l,
417
417
  yAxisName: x.value.yLabels[o],
418
418
  xAxisName: x.value.xLabels[s],
419
- id: `vue-data-ui-heatmap-cell-${st()}`
419
+ id: `vue-data-ui-heatmap-cell-${yt()}`
420
420
  } : {
421
421
  side: "down",
422
- ratio: Math.abs(1 - Math.abs(l) / Math.abs(re.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(re.value)),
423
- color: Se(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ke.value, Z.value, l),
422
+ ratio: Math.abs(1 - Math.abs(l) / Math.abs(ce.value)) > 1 ? 1 : Math.abs(1 - Math.abs(l) / Math.abs(ce.value)),
423
+ color: Me(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, Se.value, Z.value, l),
424
424
  value: l,
425
425
  yAxisName: x.value.yLabels[o],
426
426
  xAxisName: x.value.xLabels[s],
427
- id: `vue-data-ui-heatmap-cell-${st()}`
427
+ id: `vue-data-ui-heatmap-cell-${yt()}`
428
428
  })
429
- })))), St = f(() => k.value.length), Tt = Et(Array(St.value * Y.value || 1).fill(!1)), nl = f(() => Tt.some((t) => t));
430
- function il(t, o) {
431
- Tt[t] = o;
429
+ })))), Nt = f(() => k.value.length), Ft = jt(Array(Nt.value * Y.value || 1).fill(!1)), gl = f(() => Ft.some((t) => t));
430
+ function bl(t, o) {
431
+ Ft[t] = o;
432
432
  }
433
- const $t = Et(Array(St.value * Y.value || 1).fill(!1)), rl = f(() => $t.some((t) => t));
434
- function vl(t, o) {
435
- $t[t] = o;
433
+ const Rt = jt(Array(Nt.value * Y.value || 1).fill(!1)), ml = f(() => Rt.some((t) => t));
434
+ function xl(t, o) {
435
+ Rt[t] = o;
436
436
  }
437
- const X = r(null), Ne = r(null);
438
- function Qe() {
439
- se.value = !1, Xe.value = void 0, X.value = null, R.value = null, ue.value = null, ze.value = null;
437
+ const V = v(null), Ee = v(null);
438
+ function ot() {
439
+ ne.value = !1, we.value = void 0, V.value = null, R.value = null, ie.value = null, Re.value = null;
440
440
  }
441
- function cl(t) {
442
- if (!ne.value || !t) return;
443
- const o = ne.value.querySelector(`[data-a11y-cell-id="${t}"]`);
441
+ function wl(t) {
442
+ if (!re.value || !t) return;
443
+ const o = re.value.querySelector(`[data-a11y-cell-id="${t}"]`);
444
444
  if (!o) return;
445
445
  const l = o.getBoundingClientRect();
446
- pt.value = {
446
+ At.value = {
447
447
  x: l.left + l.width / 2,
448
448
  y: l.top + l.height / 2
449
449
  };
450
450
  }
451
- function Ze(t, o, l, s, v = "pointer", c = null) {
451
+ function Ve(t, o, l, s, r = "pointer", c = null) {
452
452
  if (e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), !P.value.showTooltip) return;
453
- Ge.value = v, ue.value = c, ze.value = t.id, R.value = { x: l, y: s };
453
+ Je.value = r, ie.value = c, Re.value = t.id, R.value = { x: l, y: s };
454
454
  const { value: b, yAxisName: _, xAxisName: y, id: w } = t;
455
- Xe.value = w, X.value = b, Ne.value = {
455
+ we.value = w, V.value = b, Ee.value = {
456
456
  datapoint: t,
457
457
  seriesIndex: o,
458
- series: z.value,
458
+ series: $.value,
459
459
  config: e.value
460
- }, se.value = !0;
460
+ }, ne.value = !0;
461
461
  let B = "";
462
- const ce = e.value.style.tooltip.customFormat;
463
- Wl(ce) && Kl(() => ce({
462
+ const he = e.value.style.tooltip.customFormat;
463
+ aa(he) && oa(() => he({
464
464
  datapoint: t,
465
465
  seriesIndex: o,
466
- series: z.value,
466
+ series: $.value,
467
467
  config: e.value
468
- })) ? Ee.value = ce({
468
+ })) ? Ke.value = he({
469
469
  datapoint: t,
470
470
  seriesIndex: o,
471
- series: z.value,
471
+ series: $.value,
472
472
  config: e.value
473
- }) : (B += `<div>${_} ${y ? _ ? ` - ${y}` : `${y}` : ""}</div>`, B += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Se(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ke.value, Z.value, b)}">⬤</span><span>${isNaN(b) ? "-" : ee(
473
+ }) : (B += `<div>${_} ${y ? _ ? ` - ${y}` : `${y}` : ""}</div>`, B += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${Me(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, Se.value, Z.value, b)}">⬤</span><span>${isNaN(b) ? "-" : le(
474
474
  e.value.style.layout.cells.value.formatter,
475
475
  b,
476
476
  q({
@@ -480,15 +480,15 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
480
480
  r: e.value.style.tooltip.roundingValue
481
481
  }),
482
482
  { datapoint: t, seriesIndex: o }
483
- )}</span></div>`, Ee.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${B}</div>`), v === "keyboard" && ge(() => {
484
- cl(t.id);
483
+ )}</span></div>`, Ke.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${B}</div>`), r === "keyboard" && xe(() => {
484
+ wl(t.id);
485
485
  });
486
486
  }
487
- function dl({ datapoint: t, seriesIndex: o }) {
488
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), !(ze.value === t.id && Ge.value === "keyboard") && (se.value = !1, Xe.value = void 0, X.value = null, R.value = null);
487
+ function kl({ datapoint: t, seriesIndex: o }) {
488
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), !(Re.value === t.id && Je.value === "keyboard") && (ne.value = !1, we.value = void 0, V.value = null, R.value = null);
489
489
  }
490
- function yl(t) {
491
- return ee(
490
+ function Cl(t) {
491
+ return le(
492
492
  e.value.style.layout.cells.value.formatter,
493
493
  x.value.yTotals[t].total,
494
494
  q({
@@ -500,8 +500,8 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
500
500
  { datapoint: x.value.yTotals[t], rowIndex: t }
501
501
  );
502
502
  }
503
- function hl(t) {
504
- return ee(
503
+ function Al(t) {
504
+ return le(
505
505
  e.value.style.layout.cells.value.formatter,
506
506
  x.value.xTotals[t].total,
507
507
  q({
@@ -519,8 +519,8 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
519
519
  })), o = k.value.map((l) => l.values);
520
520
  return { head: t, body: o };
521
521
  });
522
- function et(t = null) {
523
- ge(() => {
522
+ function st(t = null) {
523
+ xe(() => {
524
524
  const o = ["", ...k.value.map((c, b) => c.name)], l = [];
525
525
  for (let c = 0; c < x.value.xLabels.length; c += 1) {
526
526
  const b = [x.value.xLabels[c]];
@@ -528,35 +528,35 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
528
528
  b.push([k.value[_].values[c]]);
529
529
  l.push(b);
530
530
  }
531
- const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), v = Ul(s);
532
- t ? t(v) : Gl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
531
+ const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(l), r = ta(s);
532
+ t ? t(r) : la({ csvContent: r, title: e.value.style.title.text || "vue-ui-heatmap" });
533
533
  });
534
534
  }
535
- const ve = r(!1);
536
- function zt(t) {
537
- ve.value = t, rt.value += 1;
535
+ const de = v(!1);
536
+ function Pt(t) {
537
+ de.value = t, gt.value += 1;
538
538
  }
539
- function _t() {
539
+ function Dt() {
540
540
  P.value.showTable = !P.value.showTable;
541
541
  }
542
- function Ot() {
542
+ function Ht() {
543
543
  P.value.showTooltip = !P.value.showTooltip;
544
544
  }
545
- const Ce = r(!1);
546
- function tt() {
547
- Ce.value = !Ce.value;
545
+ const Te = v(!1);
546
+ function ut() {
547
+ Te.value = !Te.value;
548
548
  }
549
- function Mt(t, o) {
549
+ function Et(t, o) {
550
550
  e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o }), T("selectDatapoint", t);
551
551
  }
552
- function fl() {
553
- return z.value;
552
+ function Ll() {
553
+ return $.value;
554
554
  }
555
- async function pl({ scale: t = 2 } = {}) {
556
- if (!N.value) return;
557
- const { width: o, height: l } = N.value.getBoundingClientRect(), s = o / l, { imageUri: v, base64: c } = await oa({ domElement: N.value, base64: !0, img: !0, scale: t });
555
+ async function Sl({ scale: t = 2 } = {}) {
556
+ if (!M.value) return;
557
+ const { width: o, height: l } = M.value.getBoundingClientRect(), s = o / l, { imageUri: r, base64: c } = await fa({ domElement: M.value, base64: !0, img: !0, scale: t });
558
558
  return {
559
- imageUri: v,
559
+ imageUri: r,
560
560
  base64: c,
561
561
  title: e.value.style.title.text,
562
562
  width: o,
@@ -564,49 +564,49 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
564
564
  aspectRatio: s
565
565
  };
566
566
  }
567
- const Nt = f(() => ({
567
+ const Vt = f(() => ({
568
568
  start: 0,
569
569
  end: Y.value
570
- })), It = f(() => x.value.xLabels);
571
- Kt({
572
- timeLabelsEls: Be,
573
- timeLabels: It,
574
- slicer: Nt,
570
+ })), Xt = f(() => x.value.xLabels);
571
+ al({
572
+ timeLabelsEls: qe,
573
+ timeLabels: Xt,
574
+ slicer: Vt,
575
575
  configRef: e,
576
576
  rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
577
577
  autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
578
578
  isAutoSize: !1,
579
579
  targetClass: ".vue-ui-heatmap-col-name",
580
580
  rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
581
- width: me,
582
- height: xe
583
- }), Kt({
584
- timeLabelsEls: Ue,
585
- timeLabels: It,
586
- slicer: Nt,
581
+ width: Ce,
582
+ height: Ae
583
+ }), al({
584
+ timeLabelsEls: je,
585
+ timeLabels: Xt,
586
+ slicer: Vt,
587
587
  configRef: e,
588
588
  rotationPath: ["style", "layout", "cells", "columnTotal", "value", "rotation"],
589
589
  autoRotatePath: ["style", "layout", "cells", "columnTotal", "value", "autoRotate", "enable"],
590
590
  isAutoSize: !1,
591
591
  targetClass: ".vue-ui-heatmap-col-total",
592
592
  rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
593
- width: me,
594
- height: xe
593
+ width: Ce,
594
+ height: Ae
595
595
  });
596
- const Ie = f(() => {
596
+ const Xe = f(() => {
597
597
  const t = e.value.table.useDialog && !e.value.table.show, o = P.value.showTable;
598
598
  return {
599
- component: t ? S : na,
599
+ component: t ? S : ba,
600
600
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
601
601
  props: t ? {
602
602
  backgroundColor: e.value.table.th.backgroundColor,
603
603
  color: e.value.table.th.color,
604
604
  headerColor: e.value.table.th.color,
605
605
  headerBg: e.value.table.th.backgroundColor,
606
- isFullscreen: ve.value,
607
- fullscreenParent: N.value,
606
+ isFullscreen: de.value,
607
+ fullscreenParent: M.value,
608
608
  forcedWidth: Math.min(800, window.innerWidth * 0.8),
609
- isCursorPointer: Oe.value
609
+ isCursorPointer: De.value
610
610
  } : {
611
611
  hideDetails: !0,
612
612
  config: {
@@ -624,56 +624,56 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
624
624
  }
625
625
  };
626
626
  });
627
- Re(() => P.value.showTable, async (t) => {
628
- e.value.table.show || (t && e.value.table.useDialog && be.value ? (await ge(), be.value.open()) : "close" in be.value && be.value.close());
627
+ Be(() => P.value.showTable, async (t) => {
628
+ e.value.table.show || (t && e.value.table.useDialog && ke.value ? (await xe(), ke.value.open()) : "close" in ke.value && ke.value.close());
629
629
  });
630
- const { isResponsive: gl } = ta(vt, al);
631
- function lt() {
632
- P.value.showTable = !1, Ve.value && Ve.value.setTableIconState(!1);
630
+ const { isResponsive: Tl } = da(bt, yl);
631
+ function nt() {
632
+ P.value.showTable = !1, Ye.value && Ye.value.setTableIconState(!1);
633
633
  }
634
- const bl = f(() => e.value.style.backgroundColor), ml = f(() => e.value.style.title), { exportSvg: xl, getSvg: wl } = Zl({
635
- svg: ne,
636
- title: ml,
637
- backgroundColor: bl
634
+ const $l = f(() => e.value.style.backgroundColor), zl = f(() => e.value.style.title), { exportSvg: _l, getSvg: Il } = va({
635
+ svg: re,
636
+ title: zl,
637
+ backgroundColor: $l
638
638
  });
639
- async function Ft({ isCb: t }) {
640
- $e.value = !0, await ge();
639
+ async function Bt({ isCb: t }) {
640
+ Fe.value = !0, await xe();
641
641
  try {
642
642
  if (t) {
643
- const { blob: o, url: l, text: s, dataUrl: v } = await wl();
644
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: l, text: s, dataUrl: v }));
643
+ const { blob: o, url: l, text: s, dataUrl: r } = await Il();
644
+ await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: o, url: l, text: s, dataUrl: r }));
645
645
  } else
646
- await Promise.resolve(xl());
646
+ await Promise.resolve(_l());
647
647
  } finally {
648
- $e.value = !1;
648
+ Fe.value = !1;
649
649
  }
650
650
  }
651
- function kl(t) {
651
+ function Ol(t) {
652
652
  if (t?.stage === "start") {
653
- Te.value = !0;
653
+ Ne.value = !0;
654
654
  return;
655
655
  }
656
656
  if (t?.stage === "end") {
657
- Te.value = !1;
657
+ Ne.value = !1;
658
658
  return;
659
659
  }
660
- xt();
660
+ $t();
661
661
  }
662
- async function Rt() {
662
+ async function Ut() {
663
663
  if (T("copyAlt", {
664
664
  config: e.value,
665
- dataset: z.value
665
+ dataset: $.value
666
666
  }), !e.value.userOptions.callbacks.altCopy) {
667
667
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
668
668
  return;
669
669
  }
670
670
  await Promise.resolve(e.value.userOptions.callbacks.altCopy({
671
671
  config: e.value,
672
- dataset: z.value
672
+ dataset: $.value
673
673
  }));
674
674
  }
675
- function Cl(t, o) {
676
- const l = z.value[t];
675
+ function Gt(t, o) {
676
+ const l = $.value[t];
677
677
  if (!l) return null;
678
678
  const s = l.temperatures[o];
679
679
  return s ? {
@@ -682,70 +682,82 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
682
682
  columnIndex: o
683
683
  } : null;
684
684
  }
685
- function Pt(t, o) {
685
+ function it(t, o) {
686
686
  let l = 0;
687
687
  for (let s = 0; s < t; s += 1)
688
- l += z.value[s]?.temperatures?.length || 0;
688
+ l += $.value[s]?.temperatures?.length || 0;
689
689
  return l + o;
690
690
  }
691
- function Al() {
692
- ue.value = null, ze.value = null, _e.value = !0;
691
+ function Ml() {
692
+ ie.value = null, Re.value = null, Pe.value = !0;
693
693
  }
694
- function Ll() {
695
- Qe(), _e.value = !1;
694
+ function Nl() {
695
+ ot(), Pe.value = !1;
696
696
  }
697
- function Sl(t) {
698
- if (!ne.value || Ce.value || document.activeElement !== ne.value || !Fe.value.length) return;
699
- const o = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "ArrowUp", v = t.key === "ArrowDown", c = t.key === "Enter" || t.key === " ", b = t.key === "Escape";
700
- if (!o && !l && !s && !v && !c && !b) return;
697
+ function Fl(t) {
698
+ if (!re.value || Te.value || document.activeElement !== re.value || !ye.value.length) return;
699
+ const o = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "ArrowUp", r = t.key === "ArrowDown", c = t.key === "Enter" || t.key === " ", b = t.key === "Escape";
700
+ if (!o && !l && !s && !r && !c && !b) return;
701
701
  if (t.preventDefault(), t.stopPropagation(), b) {
702
- Qe();
702
+ ot();
703
703
  return;
704
704
  }
705
705
  if (c) {
706
- if (ue.value === null) return;
707
- const j = Fe.value[ue.value];
708
- if (!j) return;
709
- Mt(j.cell, j.rowIndex);
706
+ if (ie.value === null) return;
707
+ const ee = ye.value[ie.value];
708
+ if (!ee) return;
709
+ Et(ee.cell, ee.rowIndex);
710
710
  return;
711
711
  }
712
- let _ = ue.value === null ? null : Fe.value[ue.value];
712
+ let _ = ie.value === null ? null : ye.value[ie.value];
713
713
  if (!_) {
714
- const j = Fe.value[0];
715
- if (!j) return;
716
- const Ol = a.value.left + a.value.cellSize.width * j.columnIndex, Ml = a.value.top + a.value.cellSize.height * j.rowIndex;
717
- Ze(j.cell, j.rowIndex, Ol, Ml, "keyboard", 0);
714
+ const ee = we.value ? ye.value.findIndex((_e) => _e.cell.id === we.value) : null;
715
+ if (ee !== null && ee >= 0 && ee < ye.value.length) {
716
+ const _e = ye.value[ee];
717
+ if (!_e) return;
718
+ let j = _e.rowIndex, te = _e.columnIndex;
719
+ l ? te += 1 : o ? te -= 1 : r ? j += 1 : s && (j -= 1);
720
+ const vt = Wt.value.rowCount;
721
+ if (vt <= 0) return;
722
+ j < 0 && (j = vt - 1), j >= vt && (j = 0);
723
+ const ct = $.value[j];
724
+ if (!ct || !ct.temperatures.length) return;
725
+ const Yt = ct.temperatures.length;
726
+ te < 0 && (te = Yt - 1), te >= Yt && (te = 0);
727
+ const Ie = Gt(j, te);
728
+ if (!Ie) return;
729
+ const Vl = it(j, te), Xl = a.value.left + a.value.cellSize.width * Ie.columnIndex, Bl = a.value.top + a.value.cellSize.height * Ie.rowIndex;
730
+ Ve(Ie.cell, Ie.rowIndex, Xl, Bl, "keyboard", Vl);
731
+ return;
732
+ }
733
+ const ze = ye.value[0];
734
+ if (!ze) return;
735
+ const Hl = a.value.left + a.value.cellSize.width * ze.columnIndex, El = a.value.top + a.value.cellSize.height * ze.rowIndex;
736
+ Ve(ze.cell, ze.rowIndex, Hl, El, "keyboard", 0);
718
737
  return;
719
738
  }
720
739
  let y = _.rowIndex, w = _.columnIndex;
721
- l ? w += 1 : o ? w -= 1 : v ? y += 1 : s && (y -= 1);
722
- const B = Tl.value.rowCount;
740
+ l ? w += 1 : o ? w -= 1 : r ? y += 1 : s && (y -= 1);
741
+ const B = Wt.value.rowCount;
723
742
  if (B <= 0) return;
724
743
  y < 0 && (y = B - 1), y >= B && (y = 0);
725
- const ce = z.value[y];
726
- if (!ce || !ce.temperatures.length) return;
727
- const Dt = ce.temperatures.length;
728
- w < 0 && (w = Dt - 1), w >= Dt && (w = 0);
729
- const Ae = Cl(y, w);
730
- if (!Ae) return;
731
- const $l = Pt(y, w), zl = a.value.left + a.value.cellSize.width * Ae.columnIndex, _l = a.value.top + a.value.cellSize.height * Ae.rowIndex;
732
- Ze(
733
- Ae.cell,
734
- Ae.rowIndex,
735
- zl,
736
- _l,
737
- "keyboard",
738
- $l
739
- );
744
+ const he = $.value[y];
745
+ if (!he || !he.temperatures.length) return;
746
+ const Kt = he.temperatures.length;
747
+ w < 0 && (w = Kt - 1), w >= Kt && (w = 0);
748
+ const $e = Gt(y, w);
749
+ if (!$e) return;
750
+ const Rl = it(y, w), Pl = a.value.left + a.value.cellSize.width * $e.columnIndex, Dl = a.value.top + a.value.cellSize.height * $e.rowIndex;
751
+ Ve($e.cell, $e.rowIndex, Pl, Dl, "keyboard", Rl);
740
752
  }
741
- const at = f(() => {
753
+ const rt = f(() => {
742
754
  const t = [
743
755
  e.value.table.colNames.xAxis,
744
756
  ...k.value.map((l) => l.name)
745
757
  ], o = x.value.xLabels.map((l, s) => [
746
758
  l,
747
- ...k.value.map((v) => {
748
- const c = v.values?.[s];
759
+ ...k.value.map((r) => {
760
+ const c = r.values?.[s];
749
761
  return isNaN(c) ? "-" : q({
750
762
  p: e.value.style.layout.dataLabels.prefix,
751
763
  v: c,
@@ -755,65 +767,65 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
755
767
  })
756
768
  ]);
757
769
  return { headers: t, rows: o };
758
- }), Tl = f(() => {
759
- const t = z.value.length, o = Math.max(
770
+ }), Wt = f(() => {
771
+ const t = $.value.length, o = Math.max(
760
772
  0,
761
- ...z.value.map((l) => l.temperatures.length)
773
+ ...$.value.map((l) => l.temperatures.length)
762
774
  );
763
775
  return {
764
776
  rowCount: t,
765
777
  columnCount: o
766
778
  };
767
- }), Fe = f(() => z.value.flatMap((t, o) => t.temperatures.map((l, s) => ({
779
+ }), ye = f(() => $.value.flatMap((t, o) => t.temperatures.map((l, s) => ({
768
780
  cell: l,
769
781
  rowIndex: o,
770
782
  columnIndex: s
771
783
  }))));
772
784
  return G({
773
- getData: fl,
774
- getImage: pl,
775
- generatePdf: mt,
776
- generateCsv: et,
777
- generateImage: xt,
778
- generateSvg: Ft,
779
- toggleTable: _t,
780
- toggleTooltip: Ot,
781
- toggleAnnotator: tt,
782
- toggleFullscreen: zt,
783
- copyAlt: Rt
785
+ getData: Ll,
786
+ getImage: Sl,
787
+ generatePdf: Tt,
788
+ generateCsv: st,
789
+ generateImage: $t,
790
+ generateSvg: Bt,
791
+ toggleTable: Dt,
792
+ toggleTooltip: Ht,
793
+ toggleAnnotator: ut,
794
+ toggleFullscreen: Pt,
795
+ copyAlt: Ut
784
796
  }), (t, o) => (u(), i("div", {
785
797
  ref_key: "heatmapChart",
786
- ref: N,
787
- class: Le(`vue-data-ui-component vue-ui-heatmap ${ve.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
798
+ ref: M,
799
+ class: Oe(`vue-data-ui-component vue-ui-heatmap ${de.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
788
800
  style: L(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
789
801
  id: `heatmap__${K.value}`,
790
- onMouseenter: o[1] || (o[1] = () => bt(!0)),
802
+ onMouseenter: o[1] || (o[1] = () => St(!0)),
791
803
  onMouseleave: o[2] || (o[2] = () => {
792
- bt(!1), _e.value || Qe();
804
+ St(!1), Pe.value || ot();
793
805
  })
794
806
  }, [
795
807
  p("div", {
796
808
  id: `chart-instructions-${K.value}`,
797
809
  class: "sr-only"
798
810
  }, [
799
- p("p", null, O(e.value.a11y.translations.keyboardNavigation), 1)
800
- ], 8, da),
801
- at.value?.rows?.length ? (u(), pe(ia, {
811
+ p("p", null, I(e.value.a11y.translations.keyboardNavigation), 1)
812
+ ], 8, Ca),
813
+ rt.value?.rows?.length ? (u(), me(ma, {
802
814
  key: 0,
803
815
  uid: K.value,
804
- head: at.value.headers,
805
- body: at.value.rows,
816
+ head: rt.value.headers,
817
+ body: rt.value.rows,
806
818
  notice: e.value.a11y.translations.tableAvailable,
807
819
  caption: e.value.a11y.translations.tableCaption
808
820
  }, null, 8, ["uid", "head", "body", "notice", "caption"])) : g("", !0),
809
- e.value.userOptions.buttons.annotator ? (u(), pe(n(I), {
821
+ e.value.userOptions.buttons.annotator ? (u(), me(n(N), {
810
822
  key: 1,
811
- svgRef: n(ne),
823
+ svgRef: n(re),
812
824
  backgroundColor: e.value.style.backgroundColor,
813
825
  color: e.value.style.color,
814
- active: Ce.value,
815
- isCursorPointer: Oe.value,
816
- onClose: tt
826
+ active: Te.value,
827
+ isCursorPointer: De.value,
828
+ onClose: ut
817
829
  }, {
818
830
  "annotator-action-close": C(() => [
819
831
  m(t.$slots, "annotator-action-close", {}, void 0, !0)
@@ -835,21 +847,21 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
835
847
  ]),
836
848
  _: 3
837
849
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : g("", !0),
838
- ll.value ? (u(), i("div", {
850
+ dl.value ? (u(), i("div", {
839
851
  key: 2,
840
852
  ref_key: "noTitle",
841
- ref: yt,
853
+ ref: wt,
842
854
  class: "vue-data-ui-no-title-space",
843
855
  style: "height:36px; width: 100%;background:transparent"
844
856
  }, null, 512)) : g("", !0),
845
857
  e.value.style.title.text ? (u(), i("div", {
846
858
  key: 3,
847
859
  ref_key: "chartTitle",
848
- ref: dt,
860
+ ref: xt,
849
861
  style: "width:100%;background:transparent"
850
862
  }, [
851
- (u(), pe(sa, {
852
- key: `title_${ct.value}`,
863
+ (u(), me(pa, {
864
+ key: `title_${mt.value}`,
853
865
  config: {
854
866
  title: {
855
867
  cy: "heatmap-div-title",
@@ -862,14 +874,14 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
862
874
  }
863
875
  }, null, 8, ["config"]))
864
876
  ], 512)) : g("", !0),
865
- e.value.userOptions.show && V.value && (n(gt) || n(Ke)) ? (u(), pe(n(W), {
877
+ e.value.userOptions.show && X.value && (n(Lt) || n(Ze)) ? (u(), me(n(W), {
866
878
  ref_key: "userOptionsRef",
867
- ref: Ve,
868
- key: `user_options_${rt.value}`,
879
+ ref: Ye,
880
+ key: `user_options_${gt.value}`,
869
881
  backgroundColor: e.value.style.backgroundColor,
870
882
  color: e.value.style.color,
871
- isImaging: n(je),
872
- isPrinting: n(qe),
883
+ isImaging: n(lt),
884
+ isPrinting: n(tt),
873
885
  uid: K.value,
874
886
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
875
887
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -879,30 +891,30 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
879
891
  hasTable: e.value.userOptions.buttons.table,
880
892
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
881
893
  hasAltCopy: e.value.userOptions.buttons.altCopy,
882
- isFullscreen: ve.value,
894
+ isFullscreen: de.value,
883
895
  isTooltip: P.value.showTooltip,
884
896
  titles: { ...e.value.userOptions.buttonTitles },
885
- chartElement: N.value,
897
+ chartElement: M.value,
886
898
  position: e.value.userOptions.position,
887
899
  hasAnnotator: e.value.userOptions.buttons.annotator,
888
- isAnnotation: Ce.value,
900
+ isAnnotation: Te.value,
889
901
  callbacks: e.value.userOptions.callbacks,
890
902
  printScale: e.value.userOptions.print.scale,
891
903
  tableDialog: e.value.table.useDialog,
892
- isCursorPointer: Oe.value,
893
- onToggleFullscreen: zt,
894
- onGeneratePdf: n(mt),
895
- onGenerateCsv: et,
896
- onGenerateImage: kl,
897
- onGenerateSvg: Ft,
898
- onToggleTable: _t,
899
- onToggleTooltip: Ot,
900
- onToggleAnnotator: tt,
901
- onCopyAlt: Rt,
904
+ isCursorPointer: De.value,
905
+ onToggleFullscreen: Pt,
906
+ onGeneratePdf: n(Tt),
907
+ onGenerateCsv: st,
908
+ onGenerateImage: Ol,
909
+ onGenerateSvg: Bt,
910
+ onToggleTable: Dt,
911
+ onToggleTooltip: Ht,
912
+ onToggleAnnotator: ut,
913
+ onCopyAlt: Ut,
902
914
  style: L({
903
- visibility: n(gt) ? n(Ke) ? "visible" : "hidden" : "visible"
915
+ visibility: n(Lt) ? n(Ze) ? "visible" : "hidden" : "visible"
904
916
  })
905
- }, Xt({ _: 2 }, [
917
+ }, Jt({ _: 2 }, [
906
918
  t.$slots.menuIcon ? {
907
919
  name: "menuIcon",
908
920
  fn: C(({ isOpen: l, color: s }) => [
@@ -975,17 +987,17 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
975
987
  } : void 0
976
988
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "hasAltCopy", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : g("", !0),
977
989
  p("div", {
978
- class: Le({
990
+ class: Oe({
979
991
  "vue-ui-heatmap-chart-wrapper": !0,
980
992
  "vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
981
993
  })
982
994
  }, [
983
995
  (u(), i("svg", {
984
996
  ref_key: "svgRef",
985
- ref: ne,
986
- xmlns: n(Vl),
997
+ ref: re,
998
+ xmlns: n(Zl),
987
999
  "aria-describedby": `chart-instructions-${K.value}`,
988
- class: Le({ "vue-data-ui-fullscreen--on": ve.value, "vue-data-ui-fulscreen--off": !ve.value }),
1000
+ class: Oe({ "vue-data-ui-fullscreen--on": de.value, "vue-data-ui-fulscreen--off": !de.value }),
989
1001
  viewBox: `0 0 ${D.value.width} ${D.value.height}`,
990
1002
  width: "100%",
991
1003
  style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
@@ -993,11 +1005,11 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
993
1005
  role: "img",
994
1006
  preserveAspectRatio: "xMidYMid",
995
1007
  tabindex: "0",
996
- onFocus: Al,
997
- onBlur: Ll,
998
- onKeydown: Sl
1008
+ onFocus: Ml,
1009
+ onBlur: Nl,
1010
+ onKeydown: Fl
999
1011
  }, [
1000
- Pe(n($)),
1012
+ Ue(n(z)),
1001
1013
  t.$slots["chart-background"] ? (u(), i("foreignObject", {
1002
1014
  key: 0,
1003
1015
  x: a.value.left,
@@ -1009,13 +1021,13 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1009
1021
  }
1010
1022
  }, [
1011
1023
  m(t.$slots, "chart-background", {}, void 0, !0)
1012
- ], 8, ha)) : g("", !0),
1024
+ ], 8, La)) : g("", !0),
1013
1025
  e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
1014
1026
  key: 1,
1015
1027
  ref_key: "xAxisSumRects",
1016
- ref: Qt
1028
+ ref: il
1017
1029
  }, [
1018
- (u(!0), i(M, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
1030
+ (u(!0), i(O, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
1019
1031
  x: a.value.left + a.value.cellSize.width * s + d.value / 2 + a.value.sumCellXHeight,
1020
1032
  y: a.value.top - a.value.sumCellXHeight + d.value * (D.value.height / D.value.width),
1021
1033
  height: a.value.sumCellXHeight,
@@ -1023,8 +1035,8 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1023
1035
  fill: e.value.style.layout.cells.colors.underlayer,
1024
1036
  stroke: e.value.style.backgroundColor,
1025
1037
  "stroke-width": d.value
1026
- }, null, 8, fa))), 256)),
1027
- (u(!0), i(M, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
1038
+ }, null, 8, Sa))), 256)),
1039
+ (u(!0), i(O, null, U(x.value.xTotals, (l, s) => (u(), i("rect", {
1028
1040
  x: a.value.left + a.value.cellSize.width * s + d.value / 2 + a.value.sumCellXHeight,
1029
1041
  y: a.value.top - a.value.sumCellXHeight + d.value * (D.value.height / D.value.width),
1030
1042
  height: a.value.sumCellXHeight,
@@ -1032,14 +1044,14 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1032
1044
  fill: l.color,
1033
1045
  stroke: e.value.style.backgroundColor,
1034
1046
  "stroke-width": d.value
1035
- }, null, 8, pa))), 256))
1047
+ }, null, 8, Ta))), 256))
1036
1048
  ], 512)) : g("", !0),
1037
1049
  p("g", {
1038
1050
  ref_key: "datapoints",
1039
- ref: qt
1051
+ ref: sl
1040
1052
  }, [
1041
- (u(!0), i(M, null, U(z.value, (l, s) => (u(), i(M, null, [
1042
- (u(!0), i(M, null, U(l.temperatures, (v, c) => (u(), i("g", null, [
1053
+ (u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
1054
+ (u(!0), i(O, null, U(l.temperatures, (r, c) => (u(), i("g", null, [
1043
1055
  p("rect", {
1044
1056
  x: a.value.left + a.value.cellSize.width * c + d.value / 2 + a.value.sumCellXHeight,
1045
1057
  y: a.value.top + a.value.cellSize.height * s + d.value / 2,
@@ -1048,60 +1060,60 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1048
1060
  fill: e.value.style.layout.cells.colors.underlayer,
1049
1061
  stroke: e.value.style.backgroundColor,
1050
1062
  "stroke-width": d.value
1051
- }, null, 8, ga),
1063
+ }, null, 8, $a),
1052
1064
  p("rect", {
1053
- "data-a11y-cell-id": v.id,
1065
+ "data-a11y-cell-id": r.id,
1054
1066
  x: a.value.left + a.value.cellSize.width * c + d.value / 2 + a.value.sumCellXHeight,
1055
1067
  y: a.value.top + a.value.cellSize.height * s + d.value / 2,
1056
1068
  width: a.value.cellSize.width - d.value,
1057
1069
  height: a.value.cellSize.height - d.value,
1058
- fill: v.color,
1070
+ fill: r.color,
1059
1071
  stroke: e.value.style.backgroundColor,
1060
1072
  "stroke-width": d.value,
1061
- "aria-label": `${v.yAxisName}${v.xAxisName ? ` - ${v.xAxisName}` : ""}: ${isNaN(v.value) ? "-" : v.value}`,
1062
- onMouseover: (b) => Ze(
1063
- v,
1073
+ "aria-label": `${r.yAxisName}${r.xAxisName ? ` - ${r.xAxisName}` : ""}: ${isNaN(r.value) ? "-" : r.value}`,
1074
+ onMouseover: (b) => Ve(
1075
+ r,
1064
1076
  s,
1065
1077
  a.value.left + a.value.cellSize.width * c,
1066
1078
  a.value.top + a.value.cellSize.height * s,
1067
1079
  "pointer",
1068
- Pt(s, c)
1080
+ it(s, c)
1069
1081
  ),
1070
- onMouseout: () => dl({ datapoint: v, seriesIndex: s }),
1071
- onClick: () => Mt(v, s)
1072
- }, null, 40, ba),
1073
- e.value.style.layout.cells.value.show ? Vt((u(), i("text", {
1082
+ onMouseout: () => kl({ datapoint: r, seriesIndex: s }),
1083
+ onClick: () => Et(r, s)
1084
+ }, null, 40, za),
1085
+ e.value.style.layout.cells.value.show ? Qt((u(), i("text", {
1074
1086
  key: 0,
1075
1087
  "text-anchor": "middle",
1076
1088
  "font-size": e.value.style.layout.cells.value.fontSize,
1077
1089
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
1078
- fill: n(De)(v.color),
1090
+ fill: n(Ge)(r.color),
1079
1091
  x: a.value.left + a.value.cellSize.width * c + a.value.cellSize.width / 2 + a.value.sumCellXHeight,
1080
1092
  y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
1081
1093
  style: { pointerEvents: "none", userSelect: "none" }
1082
1094
  }, [
1083
- ot(O(n(ee)(
1095
+ dt(I(n(le)(
1084
1096
  e.value.style.layout.cells.value.formatter,
1085
- v.value,
1097
+ r.value,
1086
1098
  n(q)({
1087
1099
  p: e.value.style.layout.dataLabels.prefix,
1088
- v: v.value,
1100
+ v: r.value,
1089
1101
  s: e.value.style.layout.dataLabels.suffix,
1090
1102
  r: e.value.style.layout.cells.value.roundingValue
1091
1103
  }),
1092
- { datapoint: v }
1104
+ { datapoint: r }
1093
1105
  )), 1)
1094
- ], 8, ma)), [
1095
- [n(va), {
1106
+ ], 8, _a)), [
1107
+ [n(wa), {
1096
1108
  cellWidth: a.value.cellSize.width - d.value,
1097
1109
  cellHeight: a.value.cellSize.height - d.value,
1098
1110
  maxFontSize: e.value.style.layout.cells.value.fontSize,
1099
1111
  minFontSize: 10,
1100
1112
  index: s * Y.value + c,
1101
- reportHide: vl,
1102
- reportRotation: il,
1103
- hideAll: rl.value,
1104
- rotateAll: nl.value
1113
+ reportHide: xl,
1114
+ reportRotation: bl,
1115
+ hideAll: ml.value,
1116
+ rotateAll: gl.value
1105
1117
  }]
1106
1118
  ]) : g("", !0)
1107
1119
  ]))), 256))
@@ -1110,9 +1122,9 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1110
1122
  e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", {
1111
1123
  key: 2,
1112
1124
  ref_key: "yAxisSumRects",
1113
- ref: Jt
1125
+ ref: nl
1114
1126
  }, [
1115
- (u(!0), i(M, null, U(z.value, (l, s) => (u(), i(M, null, [
1127
+ (u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
1116
1128
  p("rect", {
1117
1129
  x: a.value.left,
1118
1130
  y: a.value.top + a.value.cellSize.height * s,
@@ -1121,7 +1133,7 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1121
1133
  fill: e.value.style.layout.cells.colors.underlayer,
1122
1134
  stroke: e.value.style.backgroundColor,
1123
1135
  "stroke-width": d.value
1124
- }, null, 8, xa),
1136
+ }, null, 8, Ia),
1125
1137
  p("rect", {
1126
1138
  x: a.value.left,
1127
1139
  y: a.value.top + a.value.cellSize.height * s + d.value / 2,
@@ -1130,42 +1142,42 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1130
1142
  fill: x.value.yTotals[s].color,
1131
1143
  stroke: e.value.style.backgroundColor,
1132
1144
  "stroke-width": d.value
1133
- }, null, 8, wa)
1145
+ }, null, 8, Oa)
1134
1146
  ], 64))), 256))
1135
1147
  ], 512)) : g("", !0),
1136
1148
  e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
1137
1149
  key: 3,
1138
1150
  ref_key: "yAxisLabels",
1139
- ref: ht
1151
+ ref: kt
1140
1152
  }, [
1141
- (u(!0), i(M, null, U(z.value, (l, s) => (u(), i(M, null, [
1153
+ (u(!0), i(O, null, U($.value, (l, s) => (u(), i(O, null, [
1142
1154
  p("text", {
1143
1155
  class: "vue-ui-heatmap-row-name",
1144
1156
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1145
1157
  fill: e.value.style.layout.dataLabels.yAxis.color,
1146
- x: ie.value,
1158
+ x: ve.value,
1147
1159
  y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize / 3 + e.value.style.layout.dataLabels.yAxis.offsetY - (e.value.style.layout.cells.rowTotal.value.show ? e.value.style.layout.dataLabels.yAxis.fontSize / 1.5 : 0),
1148
1160
  "text-anchor": "end",
1149
1161
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1150
- }, O(x.value.yLabels[s]), 9, ka),
1162
+ }, I(x.value.yLabels[s]), 9, Ma),
1151
1163
  e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
1152
1164
  key: 0,
1153
1165
  class: "vue-ui-heatmap-row-total",
1154
1166
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
1155
1167
  fill: e.value.style.layout.dataLabels.yAxis.color,
1156
- x: ie.value,
1168
+ x: ve.value,
1157
1169
  y: a.value.top + a.value.cellSize.height * s + a.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
1158
1170
  "text-anchor": "end",
1159
1171
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
1160
- }, O(yl(s)), 9, Ca)) : g("", !0)
1172
+ }, I(Cl(s)), 9, Na)) : g("", !0)
1161
1173
  ], 64))), 256))
1162
1174
  ], 512)) : g("", !0),
1163
1175
  e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", {
1164
1176
  key: 4,
1165
1177
  ref_key: "xAxisLabels",
1166
- ref: Be
1178
+ ref: qe
1167
1179
  }, [
1168
- (u(!0), i(M, null, U(x.value.xLabels, (l, s) => (u(), i(M, null, [
1180
+ (u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i(O, null, [
1169
1181
  !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), i("text", {
1170
1182
  key: 0,
1171
1183
  class: "vue-ui-heatmap-col-name",
@@ -1174,24 +1186,24 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1174
1186
  fill: e.value.style.layout.dataLabels.xAxis.color,
1175
1187
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1176
1188
  transform: `translate(${a.value.left + a.value.cellSize.width / 2 + a.value.width / x.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + a.value.sumCellXHeight}, ${a.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
1177
- }, O(l), 9, Aa)) : g("", !0)
1189
+ }, I(l), 9, Fa)) : g("", !0)
1178
1190
  ], 64))), 256))
1179
1191
  ], 512)) : g("", !0),
1180
1192
  e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
1181
1193
  key: 5,
1182
1194
  ref_key: "xAxisSums",
1183
- ref: Ue
1195
+ ref: je
1184
1196
  }, [
1185
- (u(!0), i(M, null, U(x.value.xLabels, (l, s) => (u(), i("text", {
1197
+ (u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i("text", {
1186
1198
  class: "vue-ui-heatmap-col-total",
1187
1199
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
1188
1200
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
1189
1201
  fill: e.value.style.layout.dataLabels.xAxis.color,
1190
1202
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
1191
1203
  transform: `translate(${a.value.left + a.value.cellSize.width / 2 + a.value.width / x.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + a.value.sumCellXHeight}, ${a.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
1192
- }, O(hl(s)), 9, La))), 256))
1204
+ }, I(Al(s)), 9, Ra))), 256))
1193
1205
  ], 512)) : g("", !0),
1194
- R.value ? (u(), i("g", Sa, [
1206
+ R.value ? (u(), i("g", Pa, [
1195
1207
  p("rect", {
1196
1208
  style: { "pointer-events": "none" },
1197
1209
  x: R.value.x - e.value.style.layout.cells.selected.border / 2 + d.value + a.value.sumCellXHeight,
@@ -1202,9 +1214,9 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1202
1214
  stroke: e.value.style.layout.cells.selected.color,
1203
1215
  "stroke-width": e.value.style.layout.cells.selected.border,
1204
1216
  rx: 1
1205
- }, null, 8, Ta)
1217
+ }, null, 8, Da)
1206
1218
  ])) : g("", !0),
1207
- e.value.style.layout.crosshairs.show && R.value ? (u(), i("g", $a, [
1219
+ e.value.style.layout.crosshairs.show && R.value ? (u(), i("g", Ha, [
1208
1220
  p("line", {
1209
1221
  x1: a.value.left + a.value.sumCellXHeight,
1210
1222
  x2: R.value.x + a.value.sumCellXHeight,
@@ -1214,7 +1226,7 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1214
1226
  "stroke-width": e.value.style.layout.crosshairs.strokeWidth,
1215
1227
  "stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
1216
1228
  "stroke-linecap": "round"
1217
- }, null, 8, za),
1229
+ }, null, 8, Ea),
1218
1230
  p("line", {
1219
1231
  x1: R.value.x + a.value.sumCellXHeight + (a.value.cellSize.width - d.value) / 2,
1220
1232
  x2: R.value.x + a.value.sumCellXHeight + (a.value.cellSize.width - d.value) / 2,
@@ -1224,57 +1236,57 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1224
1236
  "stroke-width": e.value.style.layout.crosshairs.strokeWidth,
1225
1237
  "stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
1226
1238
  "stroke-linecap": "round"
1227
- }, null, 8, _a)
1239
+ }, null, 8, Va)
1228
1240
  ])) : g("", !0),
1229
1241
  m(t.$slots, "svg", {
1230
1242
  svg: {
1231
1243
  ...D.value,
1232
- isPrintingImg: n(qe) | n(je) | Te.value,
1233
- isPrintingSvg: $e.value
1244
+ isPrintingImg: n(tt) | n(lt) | Ne.value,
1245
+ isPrintingSvg: Fe.value
1234
1246
  }
1235
1247
  }, void 0, !0)
1236
- ], 46, ya)),
1248
+ ], 46, Aa)),
1237
1249
  e.value.style.legend.show ? (u(), i("div", {
1238
1250
  key: 0,
1239
1251
  ref_key: "legendRight",
1240
- ref: jt,
1252
+ ref: ul,
1241
1253
  class: "vue-ui-heatmap-legend-right",
1242
1254
  style: L({
1243
1255
  "--legend-width": e.value.style.legend.width + "px"
1244
1256
  })
1245
1257
  }, [
1246
- n(Me) ? g("", !0) : (u(), i("div", {
1258
+ n(He) ? g("", !0) : (u(), i("div", {
1247
1259
  key: 0,
1248
1260
  class: "vue-ui-heatmap-legend-label-max",
1249
1261
  style: L({
1250
1262
  fontSize: e.value.style.legend.fontSize + "px",
1251
1263
  color: e.value.style.legend.color
1252
1264
  })
1253
- }, O(n(ee)(
1265
+ }, I(n(le)(
1254
1266
  e.value.style.layout.cells.value.formatter,
1255
- n(te)(Z.value),
1267
+ n(ae)(Z.value),
1256
1268
  n(q)({
1257
1269
  p: e.value.style.layout.dataLabels.prefix,
1258
- v: n(te)(Z.value),
1270
+ v: n(ae)(Z.value),
1259
1271
  s: e.value.style.layout.dataLabels.suffix,
1260
1272
  r: e.value.style.legend.roundingValue
1261
1273
  })
1262
1274
  )), 5)),
1263
- p("div", Oa, [
1275
+ p("div", Xa, [
1264
1276
  p("div", {
1265
1277
  class: "vue-ui-heatmap-gauge",
1266
1278
  style: L({
1267
1279
  background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
1268
1280
  })
1269
1281
  }, [
1270
- Vt(p("div", {
1282
+ Qt(p("div", {
1271
1283
  class: "vue-ui-heatmap-gauge-indicator",
1272
- "data-value": n(ee)(
1284
+ "data-value": n(le)(
1273
1285
  e.value.style.layout.cells.value.formatter,
1274
- n(te)(X.value),
1286
+ n(ae)(V.value),
1275
1287
  n(q)({
1276
1288
  p: e.value.style.layout.dataLabels.prefix,
1277
- v: n(te)(X.value),
1289
+ v: n(ae)(V.value),
1278
1290
  s: e.value.style.layout.dataLabels.suffix,
1279
1291
  r: e.value.style.legend.roundingValue
1280
1292
  })
@@ -1283,67 +1295,67 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1283
1295
  position: "absolute",
1284
1296
  width: "100%",
1285
1297
  height: "2px",
1286
- background: [void 0, null].includes(X.value) ? "transparent" : n(De)(Ne.value.datapoint.color),
1287
- top: `${[void 0, null].includes(X.value) ? 0 : (1 - X.value / Z.value) * 100}%`,
1298
+ background: [void 0, null].includes(V.value) ? "transparent" : n(Ge)(Ee.value.datapoint.color),
1299
+ top: `${[void 0, null].includes(V.value) ? 0 : (1 - V.value / Z.value) * 100}%`,
1288
1300
  transition: "all 0.2s ease-in-out",
1289
1301
  "--background-color": e.value.style.backgroundColor,
1290
- "--gauge-arrow-color": n(De)(e.value.style.backgroundColor),
1291
- "--gauge-arrow-text-color": n(De)(e.value.style.backgroundColor),
1292
- "--gauge-arrow-value": X.value,
1302
+ "--gauge-arrow-color": n(Ge)(e.value.style.backgroundColor),
1303
+ "--gauge-arrow-text-color": n(Ge)(e.value.style.backgroundColor),
1304
+ "--gauge-arrow-value": V.value,
1293
1305
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
1294
1306
  })
1295
1307
  }, [
1296
- p("div", Na, O(n(ee)(
1308
+ p("div", Ua, I(n(le)(
1297
1309
  e.value.style.layout.cells.value.formatter,
1298
- n(te)(X.value),
1310
+ n(ae)(V.value),
1299
1311
  n(q)({
1300
1312
  p: e.value.style.layout.dataLabels.prefix,
1301
- v: n(te)(X.value),
1313
+ v: n(ae)(V.value),
1302
1314
  s: e.value.style.layout.dataLabels.suffix,
1303
1315
  r: e.value.style.legend.roundingValue
1304
1316
  })
1305
1317
  )), 1)
1306
- ], 12, Ma), [
1307
- [Pl, ![void 0, null].includes(X.value)]
1318
+ ], 12, Ba), [
1319
+ [Yl, ![void 0, null].includes(V.value)]
1308
1320
  ])
1309
1321
  ], 4)
1310
1322
  ]),
1311
- n(Me) ? g("", !0) : (u(), i("div", {
1323
+ n(He) ? g("", !0) : (u(), i("div", {
1312
1324
  key: 1,
1313
1325
  class: "vue-ui-heatmap-legend-label-min",
1314
1326
  style: L({
1315
1327
  fontSize: e.value.style.legend.fontSize + "px",
1316
1328
  color: e.value.style.legend.color
1317
1329
  })
1318
- }, O(n(ee)(
1330
+ }, I(n(le)(
1319
1331
  e.value.style.layout.cells.value.formatter,
1320
- n(te)(ke.value),
1332
+ n(ae)(Se.value),
1321
1333
  n(q)({
1322
1334
  p: e.value.style.layout.dataLabels.prefix,
1323
- v: n(te)(ke.value),
1335
+ v: n(ae)(Se.value),
1324
1336
  s: e.value.style.layout.dataLabels.suffix,
1325
1337
  r: e.value.style.legend.roundingValue
1326
1338
  })
1327
1339
  )), 5))
1328
1340
  ], 4)) : g("", !0),
1329
- t.$slots.hint ? (u(), i("div", Ia, [
1330
- m(t.$slots, "hint", H(E({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: _e.value })), void 0, !0)
1341
+ t.$slots.hint ? (u(), i("div", Ga, [
1342
+ m(t.$slots, "hint", H(E({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Pe.value })), void 0, !0)
1331
1343
  ])) : g("", !0)
1332
1344
  ], 2),
1333
- t.$slots.watermark ? (u(), i("div", Fa, [
1334
- m(t.$slots, "watermark", H(E({ isPrinting: n(qe) || n(je) || Te.value || $e.value })), void 0, !0)
1345
+ t.$slots.watermark ? (u(), i("div", Wa, [
1346
+ m(t.$slots, "watermark", H(E({ isPrinting: n(tt) || n(lt) || Ne.value || Fe.value })), void 0, !0)
1335
1347
  ])) : g("", !0),
1336
1348
  t.$slots.source ? (u(), i("div", {
1337
1349
  key: 6,
1338
1350
  ref_key: "source",
1339
- ref: ft,
1351
+ ref: Ct,
1340
1352
  dir: "auto"
1341
1353
  }, [
1342
1354
  m(t.$slots, "source", {}, void 0, !0)
1343
1355
  ], 512)) : g("", !0),
1344
- Pe(n(J), {
1356
+ Ue(n(J), {
1345
1357
  teleportTo: e.value.style.tooltip.teleportTo,
1346
- show: P.value.showTooltip && se.value,
1358
+ show: P.value.showTooltip && ne.value,
1347
1359
  backgroundColor: e.value.style.tooltip.backgroundColor,
1348
1360
  color: e.value.style.tooltip.color,
1349
1361
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1353,62 +1365,62 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1353
1365
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1354
1366
  position: e.value.style.tooltip.position,
1355
1367
  offsetY: e.value.style.tooltip.offsetY,
1356
- parent: N.value,
1357
- content: Ee.value,
1358
- isFullscreen: ve.value,
1368
+ parent: M.value,
1369
+ content: Ke.value,
1370
+ isFullscreen: de.value,
1359
1371
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1360
1372
  smooth: e.value.style.tooltip.smooth,
1361
1373
  backdropFilter: e.value.style.tooltip.backdropFilter,
1362
1374
  smoothForce: e.value.style.tooltip.smoothForce,
1363
1375
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold,
1364
- isA11yMode: Ge.value === "keyboard",
1365
- a11yPosition: pt.value
1376
+ isA11yMode: Je.value === "keyboard",
1377
+ a11yPosition: At.value
1366
1378
  }, {
1367
1379
  "tooltip-before": C(() => [
1368
- m(t.$slots, "tooltip-before", H(E({ ...Ne.value })), void 0, !0)
1380
+ m(t.$slots, "tooltip-before", H(E({ ...Ee.value })), void 0, !0)
1369
1381
  ]),
1370
1382
  "tooltip-after": C(() => [
1371
- m(t.$slots, "tooltip-after", H(E({ ...Ne.value })), void 0, !0)
1383
+ m(t.$slots, "tooltip-after", H(E({ ...Ee.value })), void 0, !0)
1372
1384
  ]),
1373
1385
  _: 3
1374
1386
  }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1375
- V.value && e.value.userOptions.buttons.table ? (u(), pe(Dl(Ie.value.component), Hl({ key: 7 }, Ie.value.props, {
1387
+ X.value && e.value.userOptions.buttons.table ? (u(), me(ql(Xe.value.component), jl({ key: 7 }, Xe.value.props, {
1376
1388
  ref_key: "tableUnit",
1377
- ref: be,
1378
- onClose: lt
1379
- }), Xt({
1389
+ ref: ke,
1390
+ onClose: nt
1391
+ }), Jt({
1380
1392
  content: C(() => [
1381
1393
  p("div", {
1382
1394
  ref_key: "tableContainer",
1383
- ref: vt,
1395
+ ref: bt,
1384
1396
  class: "vue-ui-heatmap-table atom-data-table",
1385
1397
  style: L(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1386
1398
  }, [
1387
1399
  p("div", {
1388
1400
  style: L(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1389
- class: Le({ "vue-ui-responsive": n(gl) })
1401
+ class: Oe({ "vue-ui-responsive": n(Tl) })
1390
1402
  }, [
1391
1403
  e.value.table.useDialog ? g("", !0) : (u(), i("div", {
1392
1404
  key: 0,
1393
1405
  role: "button",
1394
1406
  tabindex: "0",
1395
1407
  style: L(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1396
- onClick: lt,
1397
- onKeypress: El(lt, ["enter"])
1408
+ onClick: nt,
1409
+ onKeypress: Jl(nt, ["enter"])
1398
1410
  }, [
1399
- Pe(n(ae), {
1411
+ Ue(n(se), {
1400
1412
  name: "close",
1401
1413
  stroke: e.value.table.th.color,
1402
1414
  "stroke-width": 2
1403
1415
  }, null, 8, ["stroke"])
1404
1416
  ], 36)),
1405
- p("table", Ra, [
1417
+ p("table", Ka, [
1406
1418
  e.value.table.useDialog ? g("", !0) : (u(), i("caption", {
1407
1419
  key: 0,
1408
1420
  style: L(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1409
1421
  }, [
1410
- ot(O(e.value.style.title.text) + " ", 1),
1411
- e.value.style.title.subtitle.text ? (u(), i("span", Pa, O(e.value.style.title.subtitle.text), 1)) : g("", !0)
1422
+ dt(I(e.value.style.title.text) + " ", 1),
1423
+ e.value.style.title.subtitle.text ? (u(), i("span", Ya, I(e.value.style.title.subtitle.text), 1)) : g("", !0)
1412
1424
  ], 4)),
1413
1425
  p("thead", null, [
1414
1426
  p("tr", {
@@ -1418,16 +1430,16 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1418
1430
  p("th", {
1419
1431
  style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1420
1432
  }, null, 4),
1421
- (u(!0), i(M, null, U(h.dataset, (l, s) => (u(), i("th", {
1433
+ (u(!0), i(O, null, U(h.dataset, (l, s) => (u(), i("th", {
1422
1434
  align: "right",
1423
1435
  style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1424
- }, O(l.name), 5))), 256))
1436
+ }, I(l.name), 5))), 256))
1425
1437
  ], 4)
1426
1438
  ]),
1427
1439
  p("tbody", null, [
1428
- (u(!0), i(M, null, U(x.value.xLabels, (l, s) => (u(), i("tr", {
1440
+ (u(!0), i(O, null, U(x.value.xLabels, (l, s) => (u(), i("tr", {
1429
1441
  role: "row",
1430
- class: Le({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1442
+ class: Oe({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1431
1443
  style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1432
1444
  }, [
1433
1445
  p("td", {
@@ -1435,15 +1447,15 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1435
1447
  class: "vue-ui-data-table__tbody__td",
1436
1448
  style: L(`outline:${e.value.table.td.outline}`)
1437
1449
  }, [
1438
- p("div", Ha, O(l), 1)
1439
- ], 12, Da),
1440
- (u(!0), i(M, null, U(h.dataset, (v, c) => (u(), i("td", {
1450
+ p("div", ja, I(l), 1)
1451
+ ], 12, qa),
1452
+ (u(!0), i(O, null, U(h.dataset, (r, c) => (u(), i("td", {
1441
1453
  class: "vue-ui-data-table__tbody__td",
1442
1454
  "data-cell": h.dataset[c].name,
1443
1455
  style: L(`outline:${e.value.table.td.outline}`)
1444
1456
  }, [
1445
- p("div", Xa, O(isNaN(v.values[s]) ? "-" : n(q)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
1446
- ], 12, Ea))), 256))
1457
+ p("div", Qa, I(isNaN(r.values[s]) ? "-" : n(q)({ p: e.value.style.layout.dataLabels.prefix, v: r.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
1458
+ ], 12, Ja))), 256))
1447
1459
  ], 6))), 256))
1448
1460
  ])
1449
1461
  ])
@@ -1455,7 +1467,7 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1455
1467
  e.value.table.useDialog ? {
1456
1468
  name: "title",
1457
1469
  fn: C(() => [
1458
- ot(O(Ie.value.title), 1)
1470
+ dt(I(Xe.value.title), 1)
1459
1471
  ]),
1460
1472
  key: "0"
1461
1473
  } : void 0,
@@ -1465,12 +1477,12 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1465
1477
  p("button", {
1466
1478
  tabindex: "0",
1467
1479
  class: "vue-ui-user-options-button",
1468
- onClick: o[0] || (o[0] = (l) => et(e.value.userOptions.callbacks.csv)),
1469
- style: L({ cursor: Oe.value ? "pointer" : "default" })
1480
+ onClick: o[0] || (o[0] = (l) => st(e.value.userOptions.callbacks.csv)),
1481
+ style: L({ cursor: De.value ? "pointer" : "default" })
1470
1482
  }, [
1471
- Pe(n(ae), {
1483
+ Ue(n(se), {
1472
1484
  name: "fileCsv",
1473
- stroke: Ie.value.props.color
1485
+ stroke: Xe.value.props.color
1474
1486
  }, null, 8, ["stroke"])
1475
1487
  ], 4)
1476
1488
  ]),
@@ -1478,11 +1490,11 @@ const ca = ["id"], da = ["id"], ya = ["xmlns", "aria-describedby", "viewBox"], h
1478
1490
  } : void 0
1479
1491
  ]), 1040)) : g("", !0),
1480
1492
  m(t.$slots, "skeleton", {}, () => [
1481
- n(Me) ? (u(), pe(Ql, { key: 0 })) : g("", !0)
1493
+ n(He) ? (u(), me(ra, { key: 0 })) : g("", !0)
1482
1494
  ], !0)
1483
- ], 46, ca));
1495
+ ], 46, ka));
1484
1496
  }
1485
- }, ro = /* @__PURE__ */ ra(Va, [["__scopeId", "data-v-34cb8686"]]);
1497
+ }, ko = /* @__PURE__ */ xa(Za, [["__scopeId", "data-v-2ff442c5"]]);
1486
1498
  export {
1487
- ro as default
1499
+ ko as default
1488
1500
  };