vue-data-ui 3.9.8 → 3.9.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/{PackageVersion-k7oxI-bc.js → PackageVersion-DCZIL0_B.js} +1 -1
  2. package/dist/{Title-D1h0XGFy.js → Title-DFtCaCah.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-mini-loader.js +1 -1
  31. package/dist/components/vue-ui-molecule.js +1 -1
  32. package/dist/components/vue-ui-mood-radar.js +1 -1
  33. package/dist/components/vue-ui-nested-donuts.js +1 -1
  34. package/dist/components/vue-ui-onion.js +1 -1
  35. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  36. package/dist/components/vue-ui-quadrant.js +1 -1
  37. package/dist/components/vue-ui-quick-chart.js +1 -1
  38. package/dist/components/vue-ui-radar.js +1 -1
  39. package/dist/components/vue-ui-rating.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-smiley.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 +6 -0
  71. package/dist/{useNestedProp-B3m37PKe.js → useNestedProp-D-jUHecl.js} +6 -0
  72. package/dist/{vue-data-ui-wG8URsR4.js → vue-data-ui-ClRXBGda.js} +66 -66
  73. package/dist/vue-data-ui.js +68 -68
  74. package/dist/{vue-ui-3d-bar-Cv3ejm7T.js → vue-ui-3d-bar-TNgpzuEc.js} +3 -3
  75. package/dist/{vue-ui-accordion-CyEsYJt-.js → vue-ui-accordion-B6BX2vhq.js} +1 -1
  76. package/dist/{vue-ui-age-pyramid-nnJnP083.js → vue-ui-age-pyramid-BPTzdmW0.js} +3 -3
  77. package/dist/{vue-ui-annotator-ltpJX8iC.js → vue-ui-annotator-DB6dpuUU.js} +2 -2
  78. package/dist/{vue-ui-bullet-Cyf5C02W.js → vue-ui-bullet-DzFbSsu2.js} +3 -3
  79. package/dist/{vue-ui-candlestick-or8YNppc.js → vue-ui-candlestick-CAboED0U.js} +3 -3
  80. package/dist/{vue-ui-carousel-table-3RIzGfmz.js → vue-ui-carousel-table-DlrmY97e.js} +2 -2
  81. package/dist/{vue-ui-chestnut-W-WHzag3.js → vue-ui-chestnut-pbykwsi2.js} +2 -2
  82. package/dist/{vue-ui-chord-B1tkSoSL.js → vue-ui-chord-DJfFRfKV.js} +3 -3
  83. package/dist/{vue-ui-circle-pack-dR2peCrN.js → vue-ui-circle-pack-CQRZOtuK.js} +3 -3
  84. package/dist/{vue-ui-cursor-JhWOPlue.js → vue-ui-cursor-yyls4HGT.js} +2 -2
  85. package/dist/{vue-ui-dag-DSbiWNRz.js → vue-ui-dag-C8K66G3E.js} +654 -644
  86. package/dist/{vue-ui-dashboard-DDWIirwt.js → vue-ui-dashboard-D3Iyv0JD.js} +64 -64
  87. package/dist/{vue-ui-digits-BSPgk-5O.js → vue-ui-digits-DQz1eJc-.js} +1 -1
  88. package/dist/{vue-ui-donut-evolution-BbdMmK42.js → vue-ui-donut-evolution-fhLI01zC.js} +3 -3
  89. package/dist/{vue-ui-donut-dyuA_lh-.js → vue-ui-donut-xcE---Po.js} +3 -3
  90. package/dist/{vue-ui-dumbbell-B5q7CHPm.js → vue-ui-dumbbell-C9O0Bkf9.js} +3 -3
  91. package/dist/{vue-ui-flow-BQSAx0of.js → vue-ui-flow-CGOye6P4.js} +3 -3
  92. package/dist/{vue-ui-funnel-DqeutrjP.js → vue-ui-funnel-DsTz2cnF.js} +3 -3
  93. package/dist/{vue-ui-galaxy-BJn_YID0.js → vue-ui-galaxy-DU-o6sLX.js} +3 -3
  94. package/dist/{vue-ui-gauge-DK2PPQcs.js → vue-ui-gauge-RYEhh2WB.js} +3 -3
  95. package/dist/vue-ui-geo-DzFx9KIT.js +1298 -0
  96. package/dist/{vue-ui-gizmo-C0ruoX7v.js → vue-ui-gizmo-B4GeLU_H.js} +2 -2
  97. package/dist/{vue-ui-heatmap-CK0Z2Afj.js → vue-ui-heatmap-Di39E10i.js} +489 -424
  98. package/dist/{vue-ui-history-plot-CNUXKSKz.js → vue-ui-history-plot-DweGUMrh.js} +3 -3
  99. package/dist/{vue-ui-horizontal-bar-47vUiD1a.js → vue-ui-horizontal-bar-BRk_Qnvt.js} +4 -4
  100. package/dist/{vue-ui-kpi-ZQIY3YxS.js → vue-ui-kpi-BnCqocoi.js} +2 -2
  101. package/dist/{vue-ui-mini-loader-BFyTygMK.js → vue-ui-mini-loader-Dzqusv9i.js} +1 -1
  102. package/dist/{vue-ui-molecule-ChiK-Wl8.js → vue-ui-molecule-Dn3L3Pzv.js} +2 -2
  103. package/dist/{vue-ui-mood-radar-Bpni9n8k.js → vue-ui-mood-radar-CR8x29EU.js} +3 -3
  104. package/dist/{vue-ui-nested-donuts-B_eaN5fo.js → vue-ui-nested-donuts-DEmXu87c.js} +3 -3
  105. package/dist/{vue-ui-onion-B2aokd1_.js → vue-ui-onion-B_bd4qUM.js} +3 -3
  106. package/dist/{vue-ui-parallel-coordinate-plot-D9vq53-4.js → vue-ui-parallel-coordinate-plot-CjKb6-Uq.js} +3 -3
  107. package/dist/{vue-ui-quadrant-C6bsqo12.js → vue-ui-quadrant-B5OfygHr.js} +3 -3
  108. package/dist/{vue-ui-quick-chart-BycSnSJ9.js → vue-ui-quick-chart-MdfHmOs2.js} +2 -2
  109. package/dist/{vue-ui-radar-ciuRu1P4.js → vue-ui-radar-BLFDJ69V.js} +3 -3
  110. package/dist/{vue-ui-rating-YwRDNhIj.js → vue-ui-rating-BciQHmzs.js} +1 -1
  111. package/dist/{vue-ui-relation-circle-CvoN1OSn.js → vue-ui-relation-circle-xGWmFHf_.js} +3 -3
  112. package/dist/{vue-ui-ridgeline-DLMIzPvD.js → vue-ui-ridgeline-Dvwi6E9_.js} +3 -3
  113. package/dist/{vue-ui-rings-DeEPzX1M.js → vue-ui-rings-CGOWZybm.js} +3 -3
  114. package/dist/{vue-ui-scatter-gx--XmgC.js → vue-ui-scatter-CdCUg54d.js} +3 -3
  115. package/dist/{vue-ui-skeleton-D9VBR-dM.js → vue-ui-skeleton-DaomVcWl.js} +2 -2
  116. package/dist/{vue-ui-smiley-DSHWKC6h.js → vue-ui-smiley-C0Bqip2_.js} +1 -1
  117. package/dist/{vue-ui-spark-trend-Kkjw_ZVf.js → vue-ui-spark-trend-CCPXy2ZD.js} +2 -2
  118. package/dist/{vue-ui-sparkbar-BnBIa2eJ.js → vue-ui-sparkbar-DMuih6Dx.js} +2 -2
  119. package/dist/{vue-ui-sparkgauge-B1zvTOG5.js → vue-ui-sparkgauge-BZFeEMV9.js} +2 -2
  120. package/dist/{vue-ui-sparkhistogram-Dh_HlHC9.js → vue-ui-sparkhistogram-DahIfjLU.js} +2 -2
  121. package/dist/{vue-ui-sparkline-BOA11MZR.js → vue-ui-sparkline-CaehcwBo.js} +2 -2
  122. package/dist/{vue-ui-sparkstackbar-BSte0Azx.js → vue-ui-sparkstackbar-On4F24cq.js} +2 -2
  123. package/dist/{vue-ui-stackbar-DrOYeLWK.js → vue-ui-stackbar-aN5cfErv.js} +3 -3
  124. package/dist/{vue-ui-stackline-kuSASJXR.js → vue-ui-stackline-CTPUaU0K.js} +3 -3
  125. package/dist/{vue-ui-strip-plot-Bs0K-e1Z.js → vue-ui-strip-plot-BO7YQnRj.js} +3 -3
  126. package/dist/{vue-ui-table-oNEaOWiu.js → vue-ui-table-Dg6j7T65.js} +3 -3
  127. package/dist/{vue-ui-table-heatmap-BGEjaJLQ.js → vue-ui-table-heatmap-CDnzIKGy.js} +1 -1
  128. package/dist/{vue-ui-table-sparkline-BFbSph66.js → vue-ui-table-sparkline-DE_LyDJV.js} +2 -2
  129. package/dist/{vue-ui-thermometer-07xalNuL.js → vue-ui-thermometer-C6LrWdX4.js} +3 -3
  130. package/dist/{vue-ui-timer-Dl7m3cB6.js → vue-ui-timer-DCENDOVz.js} +3 -3
  131. package/dist/{vue-ui-tiremarks-C8pPFmMU.js → vue-ui-tiremarks-CEQM_3u0.js} +3 -3
  132. package/dist/{vue-ui-treemap-COJ74Xt4.js → vue-ui-treemap-Cighusxg.js} +3 -3
  133. package/dist/{vue-ui-waffle-7tGsSzS6.js → vue-ui-waffle-Cs4LXcYi.js} +3 -3
  134. package/dist/{vue-ui-wheel-DDYtoMJf.js → vue-ui-wheel-DchTydjv.js} +3 -3
  135. package/dist/{vue-ui-word-cloud-CwS6NzLs.js → vue-ui-word-cloud-BlsRq_M1.js} +3 -3
  136. package/dist/{vue-ui-world-DgrnTh0K.js → vue-ui-world-C8zN4MHP.js} +2 -2
  137. package/dist/{vue-ui-xy-3OjLID83.js → vue-ui-xy-1vhl0WmV.js} +4 -4
  138. package/dist/{vue-ui-xy-canvas-BOQ3nptA.js → vue-ui-xy-canvas-9tgX_s2v.js} +3 -3
  139. package/package.json +1 -1
  140. package/dist/vue-ui-geo-DbXBoMee.js +0 -1243
@@ -1,114 +1,157 @@
1
- import { watchEffect as ul, nextTick as Se, useCssVars as nl, defineAsyncComponent as ue, computed as f, ref as d, shallowRef as il, toRefs as rl, watch as ke, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as w, normalizeClass as fe, createBlock as ge, createCommentVNode as g, createElementVNode as b, createVNode as we, unref as n, withCtx as C, renderSlot as x, normalizeProps as E, guardReactiveProps as R, createSlots as bt, Fragment as S, renderList as N, withDirectives as pt, createTextVNode as Xe, toDisplayString as $, vShow as cl, resolveDynamicComponent as dl, mergeProps as hl, withKeys as yl } from "vue";
2
- import { c as Ie, t as fl, a0 as gl, o as mt, g as xt, al as be, k as bl, X as pl, w as Le, a as q, d as V, T as K, ax as ml, u as xl, q as Cl, x as Al, Z as kl } from "./lib-W9waxHL3.js";
3
- import { t as Te, u as wl } from "./useResponsive-DfdjqQps.js";
4
- import { u as Ll, a as Ve } from "./useNestedProp-B3m37PKe.js";
1
+ import { watchEffect as ul, nextTick as Se, useCssVars as nl, defineAsyncComponent as ve, computed as b, ref as d, shallowRef as il, toRefs as rl, watch as we, onBeforeUnmount as ft, onMounted as vl, reactive as gt, createElementBlock as i, openBlock as u, normalizeStyle as L, normalizeClass as ge, createBlock as be, createCommentVNode as f, createElementVNode as g, createVNode as Ae, unref as n, withCtx as C, renderSlot as x, normalizeProps as H, guardReactiveProps as X, createSlots as bt, Fragment as z, renderList as P, withDirectives as pt, createTextVNode as Pe, toDisplayString as F, vShow as cl, resolveDynamicComponent as dl, mergeProps as yl, withKeys as hl } from "vue";
2
+ import { c as Ie, t as fl, a0 as gl, o as mt, g as xt, al as pe, k as bl, X as pl, w as Le, a as K, d as W, T as Z, ax as ml, u as xl, q as Cl, x as kl, Z as wl } from "./lib-W9waxHL3.js";
3
+ import { t as Te, u as Al } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ll, a as Ve } from "./useNestedProp-D-jUHecl.js";
5
5
  import { u as Tl } from "./usePrinter-DhoMn87n.js";
6
6
  import { u as Sl, B as _l } from "./BaseScanner-BMpwQAfz.js";
7
- import { u as $l } from "./useSvgExport-ByUukOZt.js";
7
+ import { u as zl } from "./useSvgExport-ByUukOZt.js";
8
8
  import { u as Ct } from "./useTimeLabels-DKoynYae.js";
9
- import { u as zl } from "./useThemeCheck-DGJ31Vi5.js";
9
+ import { u as $l } from "./useThemeCheck-DGJ31Vi5.js";
10
10
  import { u as Fl } from "./useTableResponsive-Cbx-ACcP.js";
11
11
  import { u as Dl } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as At } from "./useTimeLabelCollider-CIsgDrl9.js";
13
- import { u as Bl } from "./useChartAccessibility-9icAAmYg.js";
14
- import Ol from "./img-BJzUSmkm.js";
15
- import Ml from "./Title-D1h0XGFy.js";
16
- import El from "./vue-ui-accordion-CyEsYJt-.js";
17
- import { _ as Rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- function Ue({ elementRef: y, callback: O, attr: H, earlyReturn: U = !1 }) {
19
- U || ul(
20
- (Z) => {
21
- const m = y.value;
22
- if (!m) return;
23
- const Y = new ResizeObserver((z) => {
24
- const J = z[0]?.contentRect;
25
- let F;
26
- if (J && J[H] != null)
27
- F = J[H];
28
- else
29
- try {
30
- H === "width" ? F = typeof m.getBBox == "function" ? m.getBBox().width : m.getBoundingClientRect().width : F = typeof m.getBBox == "function" ? m.getBBox().height : m.getBoundingClientRect().height;
31
- } catch {
32
- const Q = m.getBoundingClientRect();
33
- F = H === "width" ? Q.width : Q.height;
34
- }
35
- typeof F == "number" && !Number.isNaN(F) && O(F);
12
+ import { u as kt } from "./useTimeLabelCollider-CIsgDrl9.js";
13
+ import { u as Ol } from "./useChartAccessibility-9icAAmYg.js";
14
+ import Ml from "./img-BJzUSmkm.js";
15
+ import Bl from "./Title-DFtCaCah.js";
16
+ import El from "./vue-ui-accordion-B6BX2vhq.js";
17
+ import { _ as Nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ function Ue({
19
+ elementRef: y,
20
+ callback: I,
21
+ attr: J,
22
+ earlyReturn: Y = !1,
23
+ retryFrames: Q = 12,
24
+ alsoAfterFontsReady: D = !0
25
+ }) {
26
+ if (Y) return;
27
+ const V = (T) => {
28
+ if (!T) return;
29
+ let A;
30
+ if (typeof T.getBBox == "function")
31
+ try {
32
+ const O = T.getBBox();
33
+ A = J === "width" ? O.width : O.height;
34
+ } catch {
35
+ }
36
+ if (typeof A != "number" || Number.isNaN(A))
37
+ try {
38
+ const O = T.getBoundingClientRect();
39
+ A = J === "width" ? O.width : O.height;
40
+ } catch {
41
+ A = void 0;
42
+ }
43
+ typeof A == "number" && !Number.isNaN(A) && I(A);
44
+ };
45
+ ul((T) => {
46
+ const A = y.value;
47
+ if (!A) return;
48
+ let O = !1;
49
+ (async () => {
50
+ await Se();
51
+ for (let S = 0; S < Q; S += 1) {
52
+ if (O) return;
53
+ await new Promise((te) => requestAnimationFrame(te));
54
+ const N = y.value;
55
+ if (!N) return;
56
+ V(N);
57
+ }
58
+ if (D && typeof document < "u" && document.fonts && document.fonts.ready) {
59
+ try {
60
+ await document.fonts.ready;
61
+ } catch {
62
+ }
63
+ !O && y.value && V(y.value);
64
+ }
65
+ })();
66
+ const ee = new MutationObserver(() => {
67
+ y.value && requestAnimationFrame(() => {
68
+ y.value && V(y.value);
36
69
  });
37
- Y.observe(m), Se(() => {
38
- requestAnimationFrame(() => {
39
- if (!y.value) return;
40
- const z = y.value.getBoundingClientRect(), j = H === "width" ? z.width : z.height;
41
- typeof j == "number" && !Number.isNaN(j) && O(j);
42
- });
43
- }), Z(() => Y.disconnect());
44
- },
45
- { flush: "post" }
46
- );
70
+ });
71
+ ee.observe(A, {
72
+ childList: !0,
73
+ subtree: !0,
74
+ characterData: !0,
75
+ attributes: !0,
76
+ attributeFilter: ["transform", "style", "class"]
77
+ });
78
+ let m;
79
+ if (typeof ResizeObserver < "u") {
80
+ const S = A.ownerSVGElement ? A.ownerSVGElement : A;
81
+ m = new ResizeObserver(() => {
82
+ const N = y.value;
83
+ N && V(N);
84
+ }), m.observe(S);
85
+ }
86
+ T(() => {
87
+ O = !0, ee.disconnect(), m && m.disconnect();
88
+ });
89
+ }, { flush: "post" });
47
90
  }
48
- const wt = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { cells: { selected: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Lt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#424242" }, yAxis: { color: "#424242" } } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Tt = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, St = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { cells: { colors: { hot: "#008000", cold: "#333333" }, spacing: 0.5, selected: { color: "#33FF33" } }, dataLabels: { xAxis: { color: "#AACCAA" }, yAxis: { color: "#AACCAA" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#2A2F2A", color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, _t = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { cells: { colors: { hot: "#DFCA99", cold: "#BBC4D3" }, spacing: 0.5, selected: { color: "#4F5B75" } }, dataLabels: { xAxis: { color: "#A0AC94" }, yAxis: { color: "#A0AC94" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, $t = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { cells: { colors: { hot: "#6D7D65", cold: "#6C94A5" }, spacing: 0.5, selected: { color: "#404C4D" } }, dataLabels: { xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, zt = {
91
+ const At = { style: { backgroundColor: "#1A1A1A", color: "#CCCCCC", layout: { cells: { selected: { color: "#CCCCCC" } }, dataLabels: { xAxis: { color: "#CCCCCC" }, yAxis: { color: "#CCCCCC" } } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Lt = { style: { backgroundColor: "#FFF8E1", color: "#424242", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#424242" }, yAxis: { color: "#424242" } } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, legend: { backgroundColor: "#FFF8E1", color: "#424242" } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Tt = { style: { backgroundColor: "#1E1E1E", color: "#BDBDBD", layout: { cells: { colors: { hot: "#D32F2F", cold: "#FFE082" }, spacing: 0.5, selected: { color: "#B71C1C" } }, dataLabels: { xAxis: { color: "#BDBDBD" }, yAxis: { color: "#BDBDBD" } } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, St = { style: { backgroundColor: "#1A1A1A", color: "#99AA99", layout: { cells: { colors: { hot: "#008000", cold: "#333333" }, spacing: 0.5, selected: { color: "#33FF33" } }, dataLabels: { xAxis: { color: "#AACCAA" }, yAxis: { color: "#AACCAA" } } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, legend: { backgroundColor: "#2A2F2A", color: "#AACCAA" } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, _t = { style: { backgroundColor: "#fbfafa", color: "#8A9892", layout: { cells: { colors: { hot: "#DFCA99", cold: "#BBC4D3" }, spacing: 0.5, selected: { color: "#4F5B75" } }, dataLabels: { xAxis: { color: "#A0AC94" }, yAxis: { color: "#A0AC94" } } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, zt = { style: { backgroundColor: "#f6f6fb", color: "#50606C", layout: { cells: { colors: { hot: "#6D7D65", cold: "#6C94A5" }, spacing: 0.5, selected: { color: "#404C4D" } }, dataLabels: { xAxis: { color: "#61747E" }, yAxis: { color: "#61747E" } } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, $t = {
49
92
  default: {},
50
- dark: wt,
93
+ dark: At,
51
94
  celebration: Lt,
52
95
  celebrationNight: Tt,
53
96
  hack: St,
54
97
  zen: _t,
55
- concrete: $t
56
- }, za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
98
+ concrete: zt
99
+ }, Oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
57
100
  __proto__: null,
58
101
  celebration: Lt,
59
102
  celebrationNight: Tt,
60
- concrete: $t,
61
- dark: wt,
62
- default: zt,
103
+ concrete: zt,
104
+ dark: At,
105
+ default: $t,
63
106
  hack: St,
64
107
  zen: _t
65
- }, Symbol.toStringTag, { value: "Module" })), Nl = {
66
- mounted(y, O) {
67
- kt(y, O.value);
108
+ }, Symbol.toStringTag, { value: "Module" })), Rl = {
109
+ mounted(y, I) {
110
+ wt(y, I.value);
68
111
  },
69
- updated(y, O) {
70
- kt(y, O.value);
112
+ updated(y, I) {
113
+ wt(y, I.value);
71
114
  }
72
115
  };
73
- function kt(y, {
74
- cellWidth: O,
75
- cellHeight: H,
76
- maxFontSize: U,
77
- minFontSize: Z,
78
- index: m,
79
- reportRotation: Y,
80
- reportHide: z,
81
- rotateAll: j,
82
- hideAll: J
116
+ function wt(y, {
117
+ cellWidth: I,
118
+ cellHeight: J,
119
+ maxFontSize: Y,
120
+ minFontSize: Q,
121
+ index: D,
122
+ reportRotation: V,
123
+ reportHide: T,
124
+ rotateAll: A,
125
+ hideAll: O
83
126
  }) {
84
127
  y.removeAttribute("transform"), y.removeAttribute("visibility");
85
- let F = !1, Q = !1;
86
- y.setAttribute("font-size", U);
87
- const L = y.getComputedTextLength();
88
- if (L <= O)
89
- Y(m, !1), z(m, !1);
128
+ let ue = !1, ee = !1;
129
+ y.setAttribute("font-size", Y);
130
+ const m = y.getComputedTextLength();
131
+ if (m <= I)
132
+ V(D, !1), T(D, !1);
90
133
  else {
91
- const I = Math.floor(U * O / L);
92
- I >= Z ? (y.setAttribute("font-size", I), Y(m, !1), z(m, !1)) : (Y(m, !0), z(m, !1), F = !0);
134
+ const S = Math.floor(Y * I / m);
135
+ S >= Q ? (y.setAttribute("font-size", S), V(D, !1), T(D, !1)) : (V(D, !0), T(D, !1), ue = !0);
93
136
  }
94
- if (j && (F = !0), F) {
95
- y.setAttribute("font-size", U);
96
- const I = y.getBBox(), ne = I.x + I.width / 2, ie = I.y + I.height / 2;
97
- y.setAttribute("transform", `rotate(-90 ${ne} ${ie})`);
98
- const _ = y.getBBox().width;
99
- if (_ <= H)
100
- z(m, !1);
137
+ if (A && (ue = !0), ue) {
138
+ y.setAttribute("font-size", Y);
139
+ const S = y.getBBox(), N = S.x + S.width / 2, te = S.y + S.height / 2;
140
+ y.setAttribute("transform", `rotate(-90 ${N} ${te})`);
141
+ const $ = y.getBBox().width;
142
+ if ($ <= J)
143
+ T(D, !1);
101
144
  else {
102
- const ae = Math.floor(U * H / _);
103
- ae >= Z ? (y.setAttribute("font-size", ae), z(m, !1)) : (Q = !0, z(m, !0));
145
+ const ne = Math.floor(Y * J / $);
146
+ ne >= Q ? (y.setAttribute("font-size", ne), T(D, !1)) : (ee = !0, T(D, !0));
104
147
  }
105
148
  }
106
- (J || Q) && y.setAttribute("visibility", "hidden");
149
+ (O || ee) && y.setAttribute("visibility", "hidden");
107
150
  }
108
- const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], jl = ["font-size", "font-weight", "fill", "x", "y"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Wl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"], Zl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Jl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ql = { key: 6 }, ea = ["x", "y", "width", "height", "stroke", "stroke-width"], ta = { class: "vue-ui-heatmap-legend-gauge-right" }, la = ["data-value"], aa = { class: "vue-ui-heatmap-gauge-indicator-value" }, oa = {
151
+ const Hl = ["id"], Xl = ["xmlns", "viewBox"], Pl = ["x", "y", "width", "height"], Il = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Vl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ul = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Gl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Wl = ["font-size", "font-weight", "fill", "x", "y"], Yl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], jl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], ql = ["font-size", "fill", "x", "y", "font-weight"], Kl = ["font-size", "fill", "x", "y", "font-weight"], Zl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Jl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ql = { key: 6 }, ea = ["x", "y", "width", "height", "stroke", "stroke-width"], ta = { key: 7 }, la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], oa = { class: "vue-ui-heatmap-legend-gauge-right" }, sa = ["data-value"], ua = { class: "vue-ui-heatmap-gauge-indicator-value" }, na = {
109
152
  key: 4,
110
153
  class: "vue-data-ui-watermark"
111
- }, sa = { class: "vue-ui-data-table" }, ua = { key: 0 }, na = ["data-cell"], ia = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ra = ["data-cell"], va = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ca = {
154
+ }, ia = { class: "vue-ui-data-table" }, ra = { key: 0 }, va = ["data-cell"], ca = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, da = ["data-cell"], ya = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ha = {
112
155
  __name: "vue-ui-heatmap",
113
156
  props: {
114
157
  config: {
@@ -125,24 +168,24 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
125
168
  }
126
169
  },
127
170
  emits: ["selectDatapoint"],
128
- setup(y, { expose: O, emit: H }) {
171
+ setup(y, { expose: I, emit: J }) {
129
172
  nl((t) => ({
130
- v3fbb7831: t.tdo
173
+ v7a25c10c: t.tdo
131
174
  }));
132
- const U = ue(() => import("./Tooltip-B79qvriT.js")), Z = ue(() => import("./BaseIcon-r3_sTK1A.js")), m = ue(() => import("./PenAndPaper-CsqBamFZ.js")), Y = ue(() => import("./UserOptions-B-2A_KRb.js")), z = ue(() => import("./PackageVersion-k7oxI-bc.js")), j = ue(() => import("./BaseDraggableDialog-C167SnU0.js")), { vue_ui_heatmap: J } = Ll(), { isThemeValid: F, warnInvalidTheme: Q } = zl(), L = y, I = H, ne = f({
175
+ const Y = ve(() => import("./Tooltip-B79qvriT.js")), Q = ve(() => import("./BaseIcon-r3_sTK1A.js")), D = ve(() => import("./PenAndPaper-CsqBamFZ.js")), V = ve(() => import("./UserOptions-B-2A_KRb.js")), T = ve(() => import("./PackageVersion-DCZIL0_B.js")), A = ve(() => import("./BaseDraggableDialog-C167SnU0.js")), { vue_ui_heatmap: O } = Ll(), { isThemeValid: ue, warnInvalidTheme: ee } = $l(), m = y, S = J, N = b({
133
176
  get() {
134
- return !!L.dataset && L.dataset.length;
177
+ return !!m.dataset && m.dataset.length;
135
178
  },
136
179
  set(t) {
137
180
  return t;
138
181
  }
139
- }), ie = d(Ie()), _ = d(null), ae = d(!1), _e = d(""), Ye = d(void 0), re = d(null), je = d(0), Ge = d(null), We = d(0), Ft = d(null), ve = d(null), $e = d(null), qe = d(null), Ke = d(null), Dt = d(null), Ze = d(null), Bt = d(null), ze = d(null), Fe = d(null), Ot = d(null), Je = d(null), oe = il(null), e = d(Me());
140
- function Mt() {
182
+ }), te = d(Ie()), $ = d(null), ne = d(!1), _e = d(""), Ge = d(void 0), B = d(null), We = d(0), Ye = d(null), je = d(0), Ft = d(null), ce = d(null), ze = d(null), qe = d(null), Ke = d(null), Dt = d(null), Ze = d(null), Ot = d(null), $e = d(null), Fe = d(null), Mt = d(null), Je = d(null), ie = il(null), e = d(Be());
183
+ function Bt() {
141
184
  const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
142
185
  for (let v = 0; v < o; v += 1) {
143
186
  const c = [];
144
- for (let k = 0; k < a; k += 1)
145
- c.push(v + k * 2);
187
+ for (let w = 0; w < a; w += 1)
188
+ c.push(v + w * 2);
146
189
  s.push({
147
190
  name: `${t[v]}`,
148
191
  values: c
@@ -150,16 +193,16 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
150
193
  }
151
194
  return s;
152
195
  }
153
- const { loading: pe, FINAL_DATASET: A, manualLoading: De } = Sl({
154
- ...rl(L),
196
+ const { loading: me, FINAL_DATASET: k, manualLoading: De } = Sl({
197
+ ...rl(m),
155
198
  FINAL_CONFIG: e,
156
- prepareConfig: Me,
199
+ prepareConfig: Be,
157
200
  callback: () => {
158
201
  Promise.resolve().then(async () => {
159
- await Se(), _.value && ml(_.value, { delta: 0.1, delay: 250 });
202
+ await Se(), $.value && ml($.value, { delta: 0.1, delay: 250 });
160
203
  });
161
204
  },
162
- skeletonDataset: Mt(),
205
+ skeletonDataset: Bt(),
163
206
  skeletonConfig: fl({
164
207
  defaultConfig: e.value,
165
208
  userConfig: {
@@ -185,65 +228,65 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
185
228
  }
186
229
  }
187
230
  })
188
- }), { userOptionsVisible: Be, setUserOptionsVisibility: Et, keepUserOptionState: Qe } = Dl({ config: e.value }), { svgRef: Oe } = Bl({ config: e.value.style.title });
231
+ }), { userOptionsVisible: Oe, setUserOptionsVisibility: Et, keepUserOptionState: Qe } = Dl({ config: e.value }), { svgRef: Me } = Ol({ config: e.value.style.title });
189
232
  function et(t) {
190
233
  Et(t);
191
234
  }
192
- function Me() {
235
+ function Be() {
193
236
  const t = Ve({
194
- userConfig: L.config,
195
- defaultConfig: J
237
+ userConfig: m.config,
238
+ defaultConfig: O
196
239
  });
197
240
  let s = {};
198
241
  const a = t.theme;
199
242
  if (a)
200
- if (!F.value(t))
201
- Q(t), s = t;
243
+ if (!ue.value(t))
244
+ ee(t), s = t;
202
245
  else {
203
246
  const o = Ve({
204
- userConfig: zt[a] || L.config,
247
+ userConfig: $t[a] || m.config,
205
248
  defaultConfig: t
206
249
  });
207
250
  s = {
208
251
  ...Ve({
209
- userConfig: L.config,
252
+ userConfig: m.config,
210
253
  defaultConfig: o
211
254
  })
212
255
  };
213
256
  }
214
257
  else
215
258
  s = t;
216
- return L.config && gl(L.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = L.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
259
+ return m.config && gl(m.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = m.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
217
260
  }
218
- ke(() => L.config, (t) => {
219
- pe.value || (e.value = Me()), Be.value = !e.value.userOptions.showOnChartHover, Ee(), We.value += 1, B.value.showTable = e.value.table.show, B.value.showTooltip = e.value.style.tooltip.show, ce.value = e.value.style.layout.width, de.value = e.value.style.layout.height;
220
- }, { deep: !0 }), ke(() => L.dataset, (t) => {
261
+ we(() => m.config, (t) => {
262
+ me.value || (e.value = Be()), Oe.value = !e.value.userOptions.showOnChartHover, Ee(), je.value += 1, E.value.showTable = e.value.table.show, E.value.showTooltip = e.value.style.tooltip.show, de.value = e.value.style.layout.width, ye.value = e.value.style.layout.height;
263
+ }, { deep: !0 }), we(() => m.dataset, (t) => {
221
264
  Array.isArray(t) && t.length > 0 && (De.value = !1), Ee();
222
265
  }, { deep: !0 });
223
266
  const { isPrinting: tt, isImaging: lt, generatePdf: at, generateImage: ot } = Tl({
224
- elementId: `heatmap__${ie.value}`,
267
+ elementId: `heatmap__${te.value}`,
225
268
  fileName: e.value.style.title.text || "vue-ui-heatmap",
226
269
  options: e.value.userOptions.print
227
- }), Rt = f(() => e.value.userOptions.show && !e.value.style.title.text), B = d({
270
+ }), Nt = b(() => e.value.userOptions.show && !e.value.style.title.text), E = d({
228
271
  showTable: e.value.table.show,
229
272
  showTooltip: e.value.style.tooltip.show
230
273
  });
231
- ke(e, () => {
232
- B.value = {
274
+ we(e, () => {
275
+ E.value = {
233
276
  showTable: e.value.table.show,
234
277
  showTooltip: e.value.style.tooltip.show
235
278
  };
236
279
  }, { immediate: !0 });
237
- const Nt = f(() => e.value.table.responsiveBreakpoint), G = d(null), st = f(() => !!e.value.debug);
280
+ const Rt = b(() => e.value.table.responsiveBreakpoint), j = d(null), st = b(() => !!e.value.debug);
238
281
  function Ee() {
239
- if (mt(L.dataset) && (xt({
282
+ if (mt(m.dataset) && (xt({
240
283
  componentName: "VueUiHeatmap",
241
284
  type: "dataset",
242
285
  debug: st.value
243
- }), ne.value = !1, De.value = !0), mt(L.dataset) || (De.value = e.value.loading), e.value.responsive) {
286
+ }), N.value = !1, De.value = !0), mt(m.dataset) || (De.value = e.value.loading), e.value.responsive) {
244
287
  const t = Te(() => {
245
- const { width: s, height: a } = wl({
246
- chart: _.value,
288
+ const { width: s, height: a } = Al({
289
+ chart: $.value,
247
290
  title: e.value.style.title.text ? qe.value : null,
248
291
  // add legend hirizontal in legend attr
249
292
  // add legend vertical in some other attr and modify composable to subtract width
@@ -251,96 +294,96 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
251
294
  noTitle: Ke.value
252
295
  });
253
296
  requestAnimationFrame(() => {
254
- ce.value = s, de.value = a;
297
+ de.value = s, ye.value = a;
255
298
  });
256
299
  });
257
- G.value && (oe.value && G.value.unobserve(oe.value), G.value.disconnect()), G.value = new ResizeObserver(t), oe.value = _.value.parentNode, G.value.observe(oe.value);
300
+ j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect()), j.value = new ResizeObserver(t), ie.value = $.value.parentNode, j.value.observe(ie.value);
258
301
  }
259
302
  }
260
303
  ft(() => {
261
- G.value && (oe.value && G.value.unobserve(oe.value), G.value.disconnect());
304
+ j.value && (ie.value && j.value.unobserve(ie.value), j.value.disconnect());
262
305
  }), vl(() => {
263
306
  Ee();
264
307
  });
265
- const P = f(() => Math.max(...A.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height), D = f(() => ({
266
- width: Math.max(10, ce.value),
267
- height: Math.max(10, de.value)
268
- })), he = d(0), Ht = Te((t) => {
269
- he.value = t;
308
+ const U = b(() => Math.max(...k.value.flatMap((t) => (t.values || []).length))), de = d(e.value.style.layout.width), ye = d(e.value.style.layout.height), M = b(() => ({
309
+ width: Math.max(10, de.value),
310
+ height: Math.max(10, ye.value)
311
+ })), re = d(0), Ht = Te((t) => {
312
+ t !== re.value && (re.value = t);
270
313
  }, 100);
271
- Ue({ elementRef: ze, callback: Ht, attr: "height" });
272
- const se = d(0), Pt = Te((t) => {
273
- se.value = t;
314
+ Ue({ elementRef: $e, callback: Ht, attr: "height" });
315
+ const le = d(0), Xt = Te((t) => {
316
+ t !== le.value && (le.value = t);
274
317
  }, 100);
275
- Ue({ elementRef: Ze, callback: Pt, attr: "width" });
276
- const me = d(0), Xt = Te((t) => {
277
- me.value = t;
318
+ Ue({ elementRef: Ze, callback: Xt, attr: "width" });
319
+ const he = d(0), Pt = Te((t) => {
320
+ t !== he.value && (he.value = t);
278
321
  }, 100);
279
- Ue({ elementRef: Fe, callback: Xt, attr: "height" }), ft(() => {
280
- he.value = 0, se.value = 0, me.value = 0;
322
+ Ue({ elementRef: Fe, callback: Pt, attr: "height" }), ft(() => {
323
+ re.value = 0, le.value = 0, he.value = 0;
281
324
  });
282
- const r = f(() => Math.min(D.value.height, D.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = f(() => {
325
+ const r = b(() => Math.min(M.value.height, M.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = b(() => {
283
326
  let t = 0;
284
327
  e.value.style.legend.show && (t = e.value.style.legend.width);
285
- const s = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, o = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = D.value.height - s.top - s.bottom - he.value - a, c = D.value.width / 60, k = {
286
- x: r.value * P.value,
287
- y: r.value * ((A.value || []).length + 1)
288
- }, X = D.value.width - s.left - s.right - k.x - c * 2 - 2 - t - se.value, h = v - c - k.y - me.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, T = {
289
- width: Math.max(3, X / P.value),
290
- height: Math.max(3, h / (A.value.length ?? 1))
328
+ const s = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, o = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = M.value.height - s.top - s.bottom - re.value - a, c = M.value.width / 60, w = {
329
+ x: r.value * U.value,
330
+ y: r.value * ((k.value || []).length + 1)
331
+ }, G = M.value.width - s.left - s.right - w.x - c * 2 - 2 - t - le.value, h = v - c - w.y - he.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, _ = {
332
+ width: Math.max(3, G / U.value),
333
+ height: Math.max(3, h / (k.value.length ?? 1))
291
334
  };
292
335
  return {
293
- top: s.top + he.value + c + a,
294
- topLabelsHeight: he.value,
336
+ top: s.top + re.value + c + a,
337
+ topLabelsHeight: re.value,
295
338
  sumCellXHeight: c,
296
339
  height: h,
297
- left: s.left + se.value + c / 2,
340
+ left: s.left + le.value + c / 2,
298
341
  right: s.right - t,
299
- bottom: D.value.height - s.bottom - me.value,
300
- width: X,
301
- cellSize: T
342
+ bottom: M.value.height - s.bottom - he.value,
343
+ width: G,
344
+ cellSize: _
302
345
  };
303
- }), W = f(() => Math.max(...A.value.flatMap((t) => t.values))), ye = f(() => Math.min(...A.value.flatMap((t) => t.values))), ee = f(() => {
304
- const t = A.value.flatMap((a) => a.values);
346
+ }), q = b(() => Math.max(...k.value.flatMap((t) => t.values))), fe = b(() => Math.min(...k.value.flatMap((t) => t.values))), ae = b(() => {
347
+ const t = k.value.flatMap((a) => a.values);
305
348
  return t.reduce((a, o) => a + o, 0) / t.length;
306
- }), It = f(() => Ct({
307
- values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : A.value.map((t) => t.name),
308
- maxDatapoints: A.value.length,
349
+ }), It = b(() => Ct({
350
+ values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : k.value.map((t) => t.name),
351
+ maxDatapoints: k.value.length,
309
352
  formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
310
353
  start: 0,
311
- end: A.value.length
312
- })), Vt = f(() => Ct({
354
+ end: k.value.length
355
+ })), Vt = b(() => Ct({
313
356
  values: e.value.style.layout.dataLabels.xAxis.values,
314
- maxDatapoints: P.value,
357
+ maxDatapoints: U.value,
315
358
  formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
316
359
  start: 0,
317
- end: P.value
318
- })), p = f(() => {
319
- const t = It.value.map((h) => h.text), s = Vt.value.map((h) => h.text), a = A.value.map((h) => h.values.reduce((T, Pe) => T + Pe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
320
- for (let h = 0; h < P.value; h += 1)
321
- c.push(A.value.map((T) => T.values[h] || 0).reduce((T, Pe) => T + Pe, 0));
322
- const k = Math.max(...c), X = Math.min(...c);
360
+ end: U.value
361
+ })), p = b(() => {
362
+ const t = It.value.map((h) => h.text), s = Vt.value.map((h) => h.text), a = k.value.map((h) => h.values.reduce((_, Xe) => _ + Xe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
363
+ for (let h = 0; h < U.value; h += 1)
364
+ c.push(k.value.map((_) => _.values[h] || 0).reduce((_, Xe) => _ + Xe, 0));
365
+ const w = Math.max(...c), G = Math.min(...c);
323
366
  return {
324
367
  yTotals: a.map((h) => {
325
- const T = isNaN(h / o) ? 0 : h / o;
368
+ const _ = isNaN(h / o) ? 0 : h / o;
326
369
  return {
327
370
  total: h,
328
- proportion: T,
329
- color: be(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
371
+ proportion: _,
372
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
330
373
  };
331
374
  }),
332
375
  xTotals: c.map((h) => {
333
- const T = isNaN(h / k) ? 0 : h / k;
376
+ const _ = isNaN(h / w) ? 0 : h / w;
334
377
  return {
335
378
  total: h,
336
- proportion: T,
337
- color: be(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, X, k, h)
379
+ proportion: _,
380
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, G, w, h)
338
381
  };
339
382
  }),
340
383
  yLabels: t,
341
- xLabels: s.slice(0, P.value)
384
+ xLabels: s.slice(0, U.value)
342
385
  };
343
- }), te = f(() => (A.value.forEach((t, s) => {
386
+ }), oe = b(() => (k.value.forEach((t, s) => {
344
387
  bl({
345
388
  datasetObject: t,
346
389
  requiredAttributes: ["values"]
@@ -353,59 +396,59 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
353
396
  debug: st.value
354
397
  });
355
398
  });
356
- }), A.value.map((t, s) => ({
399
+ }), k.value.map((t, s) => ({
357
400
  ...t,
358
- temperatures: (t.values || []).map((a, o) => a >= ee.value ? {
401
+ temperatures: (t.values || []).map((a, o) => a >= ae.value ? {
359
402
  side: "up",
360
- color: be(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
361
- ratio: Math.abs(Math.abs(a - ee.value) / Math.abs(W.value - ee.value)) > 1 ? 1 : Math.abs(Math.abs(a - ee.value) / Math.abs(W.value - ee.value)),
403
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, fe.value, q.value, a),
404
+ ratio: Math.abs(Math.abs(a - ae.value) / Math.abs(q.value - ae.value)) > 1 ? 1 : Math.abs(Math.abs(a - ae.value) / Math.abs(q.value - ae.value)),
362
405
  value: a,
363
406
  yAxisName: p.value.yLabels[s],
364
407
  xAxisName: p.value.xLabels[o],
365
408
  id: `vue-data-ui-heatmap-cell-${Ie()}`
366
409
  } : {
367
410
  side: "down",
368
- ratio: Math.abs(1 - Math.abs(a) / Math.abs(ee.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(ee.value)),
369
- color: be(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
411
+ ratio: Math.abs(1 - Math.abs(a) / Math.abs(ae.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(ae.value)),
412
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, fe.value, q.value, a),
370
413
  value: a,
371
414
  yAxisName: p.value.yLabels[s],
372
415
  xAxisName: p.value.xLabels[o],
373
416
  id: `vue-data-ui-heatmap-cell-${Ie()}`
374
417
  })
375
- })))), ut = f(() => A.value.length), nt = gt(Array(ut.value * P.value || 1).fill(!1)), Ut = f(() => nt.some((t) => t));
376
- function Yt(t, s) {
418
+ })))), ut = b(() => k.value.length), nt = gt(Array(ut.value * U.value || 1).fill(!1)), Ut = b(() => nt.some((t) => t));
419
+ function Gt(t, s) {
377
420
  nt[t] = s;
378
421
  }
379
- const it = gt(Array(ut.value * P.value || 1).fill(!1)), jt = f(() => it.some((t) => t));
380
- function Gt(t, s) {
422
+ const it = gt(Array(ut.value * U.value || 1).fill(!1)), Wt = b(() => it.some((t) => t));
423
+ function Yt(t, s) {
381
424
  it[t] = s;
382
425
  }
383
- const M = d(null), xe = d(null);
384
- function Wt(t, s, a, o) {
385
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), re.value = { x: a, y: o };
386
- const { value: v, yAxisName: c, xAxisName: k, id: X } = t;
387
- Ye.value = X, M.value = v, xe.value = {
426
+ const R = d(null), xe = d(null);
427
+ function jt(t, s, a, o) {
428
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), B.value = { x: a, y: o };
429
+ const { value: v, yAxisName: c, xAxisName: w, id: G } = t;
430
+ Ge.value = G, R.value = v, xe.value = {
388
431
  datapoint: t,
389
432
  seriesIndex: s,
390
- series: te.value,
433
+ series: oe.value,
391
434
  config: e.value
392
- }, ae.value = !0;
435
+ }, ne.value = !0;
393
436
  let h = "";
394
- const T = e.value.style.tooltip.customFormat;
395
- Al(T) && kl(() => T({
437
+ const _ = e.value.style.tooltip.customFormat;
438
+ kl(_) && wl(() => _({
396
439
  datapoint: t,
397
440
  seriesIndex: s,
398
- series: te.value,
441
+ series: oe.value,
399
442
  config: e.value
400
- })) ? _e.value = T({
443
+ })) ? _e.value = _({
401
444
  datapoint: t,
402
445
  seriesIndex: s,
403
- series: te.value,
446
+ series: oe.value,
404
447
  config: e.value
405
- }) : (h += `<div>${c} ${k ? c ? ` - ${k}` : `${k}` : ""}</div>`, h += `<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:${be(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, v)}">⬤</span><span>${isNaN(v) ? "-" : q(
448
+ }) : (h += `<div>${c} ${w ? c ? ` - ${w}` : `${w}` : ""}</div>`, h += `<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:${pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, fe.value, q.value, v)}">⬤</span><span>${isNaN(v) ? "-" : K(
406
449
  e.value.style.layout.cells.value.formatter,
407
450
  v,
408
- V({
451
+ W({
409
452
  p: e.value.style.layout.dataLabels.prefix,
410
453
  v,
411
454
  s: e.value.style.layout.dataLabels.suffix,
@@ -415,13 +458,13 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
415
458
  )}</span></div>`, _e.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
416
459
  }
417
460
  function qt({ datapoint: t, seriesIndex: s }) {
418
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ae.value = !1, Ye.value = void 0, M.value = null, re.value = null;
461
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ne.value = !1, Ge.value = void 0, R.value = null, B.value = null;
419
462
  }
420
463
  function Kt(t) {
421
- return q(
464
+ return K(
422
465
  e.value.style.layout.cells.value.formatter,
423
466
  p.value.yTotals[t].total,
424
- V({
467
+ W({
425
468
  p: e.value.style.layout.dataLabels.prefix,
426
469
  v: p.value.yTotals[t].total,
427
470
  s: e.value.style.layout.dataLabels.suffix,
@@ -431,10 +474,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
431
474
  );
432
475
  }
433
476
  function Zt(t) {
434
- return q(
477
+ return K(
435
478
  e.value.style.layout.cells.value.formatter,
436
479
  p.value.xTotals[t].total,
437
- V({
480
+ W({
438
481
  p: e.value.style.layout.dataLabels.prefix,
439
482
  v: p.value.xTotals[t].total,
440
483
  s: e.value.style.layout.dataLabels.suffix,
@@ -443,48 +486,48 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
443
486
  { datapoint: p.value.xTotals[t], colIndex: t }
444
487
  );
445
488
  }
446
- f(() => {
447
- const t = A.value.map((a) => ({
489
+ b(() => {
490
+ const t = k.value.map((a) => ({
448
491
  name: a.name
449
- })), s = A.value.map((a) => a.values);
492
+ })), s = k.value.map((a) => a.values);
450
493
  return { head: t, body: s };
451
494
  });
452
- function Re(t = null) {
495
+ function Ne(t = null) {
453
496
  Se(() => {
454
- const s = ["", ...A.value.map((c, k) => c.name)], a = [];
497
+ const s = ["", ...k.value.map((c, w) => c.name)], a = [];
455
498
  for (let c = 0; c < p.value.xLabels.length; c += 1) {
456
- const k = [p.value.xLabels[c]];
457
- for (let X = 0; X < A.value.length; X += 1)
458
- k.push([A.value[X].values[c]]);
459
- a.push(k);
499
+ const w = [p.value.xLabels[c]];
500
+ for (let G = 0; G < k.value.length; G += 1)
501
+ w.push([k.value[G].values[c]]);
502
+ a.push(w);
460
503
  }
461
504
  const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(a), v = xl(o);
462
505
  t ? t(v) : Cl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
463
506
  });
464
507
  }
465
- const le = d(!1);
508
+ const se = d(!1);
466
509
  function rt(t) {
467
- le.value = t, je.value += 1;
510
+ se.value = t, We.value += 1;
468
511
  }
469
512
  function vt() {
470
- B.value.showTable = !B.value.showTable;
513
+ E.value.showTable = !E.value.showTable;
471
514
  }
472
515
  function ct() {
473
- B.value.showTooltip = !B.value.showTooltip;
516
+ E.value.showTooltip = !E.value.showTooltip;
474
517
  }
475
518
  const Ce = d(!1);
476
- function Ne() {
519
+ function Re() {
477
520
  Ce.value = !Ce.value;
478
521
  }
479
522
  function Jt(t, s) {
480
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), I("selectDatapoint", t);
523
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), S("selectDatapoint", t);
481
524
  }
482
525
  function Qt() {
483
- return te.value;
526
+ return oe.value;
484
527
  }
485
528
  async function el({ scale: t = 2 } = {}) {
486
- if (!_.value) return;
487
- const { width: s, height: a } = _.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await Ol({ domElement: _.value, base64: !0, img: !0, scale: t });
529
+ if (!$.value) return;
530
+ const { width: s, height: a } = $.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await Ml({ domElement: $.value, base64: !0, img: !0, scale: t });
488
531
  return {
489
532
  imageUri: v,
490
533
  base64: c,
@@ -494,13 +537,13 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
494
537
  aspectRatio: o
495
538
  };
496
539
  }
497
- const dt = f(() => ({
540
+ const dt = b(() => ({
498
541
  start: 0,
499
- end: P.value
500
- })), ht = f(() => p.value.xLabels);
501
- At({
502
- timeLabelsEls: ze,
503
- timeLabels: ht,
542
+ end: U.value
543
+ })), yt = b(() => p.value.xLabels);
544
+ kt({
545
+ timeLabelsEls: $e,
546
+ timeLabels: yt,
504
547
  slicer: dt,
505
548
  configRef: e,
506
549
  rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
@@ -508,11 +551,11 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
508
551
  isAutoSize: !1,
509
552
  targetClass: ".vue-ui-heatmap-col-name",
510
553
  rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
511
- width: ce,
512
- height: de
513
- }), At({
554
+ width: de,
555
+ height: ye
556
+ }), kt({
514
557
  timeLabelsEls: Fe,
515
- timeLabels: ht,
558
+ timeLabels: yt,
516
559
  slicer: dt,
517
560
  configRef: e,
518
561
  rotationPath: ["style", "layout", "cells", "columnTotal", "value", "rotation"],
@@ -520,21 +563,21 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
520
563
  isAutoSize: !1,
521
564
  targetClass: ".vue-ui-heatmap-col-total",
522
565
  rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
523
- width: ce,
524
- height: de
566
+ width: de,
567
+ height: ye
525
568
  });
526
- const Ae = f(() => {
527
- const t = e.value.table.useDialog && !e.value.table.show, s = B.value.showTable;
569
+ const ke = b(() => {
570
+ const t = e.value.table.useDialog && !e.value.table.show, s = E.value.showTable;
528
571
  return {
529
- component: t ? j : El,
572
+ component: t ? A : El,
530
573
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
531
574
  props: t ? {
532
575
  backgroundColor: e.value.table.th.backgroundColor,
533
576
  color: e.value.table.th.color,
534
577
  headerColor: e.value.table.th.color,
535
578
  headerBg: e.value.table.th.backgroundColor,
536
- isFullscreen: le.value,
537
- fullscreenParent: _.value,
579
+ isFullscreen: se.value,
580
+ fullscreenParent: $.value,
538
581
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
539
582
  } : {
540
583
  hideDetails: !0,
@@ -553,88 +596,88 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
553
596
  }
554
597
  };
555
598
  });
556
- ke(() => B.value.showTable, async (t) => {
557
- e.value.table.show || (t && e.value.table.useDialog && ve.value ? (await Se(), ve.value.open()) : "close" in ve.value && ve.value.close());
599
+ we(() => E.value.showTable, async (t) => {
600
+ e.value.table.show || (t && e.value.table.useDialog && ce.value ? (await Se(), ce.value.open()) : "close" in ce.value && ce.value.close());
558
601
  });
559
- const { isResponsive: tl } = Fl(Ge, Nt);
602
+ const { isResponsive: tl } = Fl(Ye, Rt);
560
603
  function He() {
561
- B.value.showTable = !1, $e.value && $e.value.setTableIconState(!1);
604
+ E.value.showTable = !1, ze.value && ze.value.setTableIconState(!1);
562
605
  }
563
- const ll = f(() => e.value.style.backgroundColor), al = f(() => e.value.style.title), { exportSvg: ol, getSvg: sl } = $l({
564
- svg: Oe,
606
+ const ll = b(() => e.value.style.backgroundColor), al = b(() => e.value.style.title), { exportSvg: ol, getSvg: sl } = zl({
607
+ svg: Me,
565
608
  title: al,
566
609
  backgroundColor: ll
567
610
  });
568
- async function yt({ isCb: t }) {
611
+ async function ht({ isCb: t }) {
569
612
  if (t) {
570
613
  const { blob: s, url: a, text: o, dataUrl: v } = await sl();
571
614
  e.value.userOptions.callbacks.svg({ blob: s, url: a, text: o, dataUrl: v });
572
615
  } else
573
616
  ol();
574
617
  }
575
- return O({
618
+ return I({
576
619
  getData: Qt,
577
620
  getImage: el,
578
621
  generatePdf: at,
579
- generateCsv: Re,
622
+ generateCsv: Ne,
580
623
  generateImage: ot,
581
- generateSvg: yt,
624
+ generateSvg: ht,
582
625
  toggleTable: vt,
583
626
  toggleTooltip: ct,
584
- toggleAnnotator: Ne,
627
+ toggleAnnotator: Re,
585
628
  toggleFullscreen: rt
586
629
  }), (t, s) => (u(), i("div", {
587
630
  ref_key: "heatmapChart",
588
- ref: _,
589
- class: fe(`vue-data-ui-component vue-ui-heatmap ${le.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
590
- style: w(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
591
- id: `heatmap__${ie.value}`,
631
+ ref: $,
632
+ class: ge(`vue-data-ui-component vue-ui-heatmap ${se.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
633
+ style: L(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
634
+ id: `heatmap__${te.value}`,
592
635
  onMouseenter: s[1] || (s[1] = () => et(!0)),
593
636
  onMouseleave: s[2] || (s[2] = () => et(!1))
594
637
  }, [
595
- e.value.userOptions.buttons.annotator ? (u(), ge(n(m), {
638
+ e.value.userOptions.buttons.annotator ? (u(), be(n(D), {
596
639
  key: 0,
597
- svgRef: n(Oe),
640
+ svgRef: n(Me),
598
641
  backgroundColor: e.value.style.backgroundColor,
599
642
  color: e.value.style.color,
600
643
  active: Ce.value,
601
- onClose: Ne
644
+ onClose: Re
602
645
  }, {
603
646
  "annotator-action-close": C(() => [
604
647
  x(t.$slots, "annotator-action-close", {}, void 0, !0)
605
648
  ]),
606
649
  "annotator-action-color": C(({ color: a }) => [
607
- x(t.$slots, "annotator-action-color", E(R({ color: a })), void 0, !0)
650
+ x(t.$slots, "annotator-action-color", H(X({ color: a })), void 0, !0)
608
651
  ]),
609
652
  "annotator-action-draw": C(({ mode: a }) => [
610
- x(t.$slots, "annotator-action-draw", E(R({ mode: a })), void 0, !0)
653
+ x(t.$slots, "annotator-action-draw", H(X({ mode: a })), void 0, !0)
611
654
  ]),
612
655
  "annotator-action-undo": C(({ disabled: a }) => [
613
- x(t.$slots, "annotator-action-undo", E(R({ disabled: a })), void 0, !0)
656
+ x(t.$slots, "annotator-action-undo", H(X({ disabled: a })), void 0, !0)
614
657
  ]),
615
658
  "annotator-action-redo": C(({ disabled: a }) => [
616
- x(t.$slots, "annotator-action-redo", E(R({ disabled: a })), void 0, !0)
659
+ x(t.$slots, "annotator-action-redo", H(X({ disabled: a })), void 0, !0)
617
660
  ]),
618
661
  "annotator-action-delete": C(({ disabled: a }) => [
619
- x(t.$slots, "annotator-action-delete", E(R({ disabled: a })), void 0, !0)
662
+ x(t.$slots, "annotator-action-delete", H(X({ disabled: a })), void 0, !0)
620
663
  ]),
621
664
  _: 3
622
- }, 8, ["svgRef", "backgroundColor", "color", "active"])) : g("", !0),
623
- Rt.value ? (u(), i("div", {
665
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
666
+ Nt.value ? (u(), i("div", {
624
667
  key: 1,
625
668
  ref_key: "noTitle",
626
669
  ref: Ke,
627
670
  class: "vue-data-ui-no-title-space",
628
671
  style: "height:36px; width: 100%;background:transparent"
629
- }, null, 512)) : g("", !0),
672
+ }, null, 512)) : f("", !0),
630
673
  e.value.style.title.text ? (u(), i("div", {
631
674
  key: 2,
632
675
  ref_key: "chartTitle",
633
676
  ref: qe,
634
677
  style: "width:100%;background:transparent"
635
678
  }, [
636
- (u(), ge(Ml, {
637
- key: `title_${We.value}`,
679
+ (u(), be(Bl, {
680
+ key: `title_${je.value}`,
638
681
  config: {
639
682
  title: {
640
683
  cy: "heatmap-div-title",
@@ -646,16 +689,16 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
646
689
  }
647
690
  }
648
691
  }, null, 8, ["config"]))
649
- ], 512)) : g("", !0),
650
- e.value.userOptions.show && ne.value && (n(Qe) || n(Be)) ? (u(), ge(n(Y), {
692
+ ], 512)) : f("", !0),
693
+ e.value.userOptions.show && N.value && (n(Qe) || n(Oe)) ? (u(), be(n(V), {
651
694
  ref_key: "userOptionsRef",
652
- ref: $e,
653
- key: `user_options_${je.value}`,
695
+ ref: ze,
696
+ key: `user_options_${We.value}`,
654
697
  backgroundColor: e.value.style.backgroundColor,
655
698
  color: e.value.style.color,
656
699
  isImaging: n(lt),
657
700
  isPrinting: n(tt),
658
- uid: ie.value,
701
+ uid: te.value,
659
702
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
660
703
  hasPdf: e.value.userOptions.buttons.pdf,
661
704
  hasImg: e.value.userOptions.buttons.img,
@@ -663,10 +706,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
663
706
  hasXls: e.value.userOptions.buttons.csv,
664
707
  hasTable: e.value.userOptions.buttons.table,
665
708
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
666
- isFullscreen: le.value,
667
- isTooltip: B.value.showTooltip,
709
+ isFullscreen: se.value,
710
+ isTooltip: E.value.showTooltip,
668
711
  titles: { ...e.value.userOptions.buttonTitles },
669
- chartElement: _.value,
712
+ chartElement: $.value,
670
713
  position: e.value.userOptions.position,
671
714
  hasAnnotator: e.value.userOptions.buttons.annotator,
672
715
  isAnnotation: Ce.value,
@@ -675,20 +718,20 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
675
718
  tableDialog: e.value.table.useDialog,
676
719
  onToggleFullscreen: rt,
677
720
  onGeneratePdf: n(at),
678
- onGenerateCsv: Re,
721
+ onGenerateCsv: Ne,
679
722
  onGenerateImage: n(ot),
680
- onGenerateSvg: yt,
723
+ onGenerateSvg: ht,
681
724
  onToggleTable: vt,
682
725
  onToggleTooltip: ct,
683
- onToggleAnnotator: Ne,
684
- style: w({
685
- visibility: n(Qe) ? n(Be) ? "visible" : "hidden" : "visible"
726
+ onToggleAnnotator: Re,
727
+ style: L({
728
+ visibility: n(Qe) ? n(Oe) ? "visible" : "hidden" : "visible"
686
729
  })
687
730
  }, bt({ _: 2 }, [
688
731
  t.$slots.menuIcon ? {
689
732
  name: "menuIcon",
690
733
  fn: C(({ isOpen: a, color: o }) => [
691
- x(t.$slots, "menuIcon", E(R({ isOpen: a, color: o })), void 0, !0)
734
+ x(t.$slots, "menuIcon", H(X({ isOpen: a, color: o })), void 0, !0)
692
735
  ]),
693
736
  key: "0"
694
737
  } : void 0,
@@ -737,37 +780,37 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
737
780
  t.$slots.optionFullscreen ? {
738
781
  name: "optionFullscreen",
739
782
  fn: C(({ toggleFullscreen: a, isFullscreen: o }) => [
740
- x(t.$slots, "optionFullscreen", E(R({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
783
+ x(t.$slots, "optionFullscreen", H(X({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
741
784
  ]),
742
785
  key: "7"
743
786
  } : void 0,
744
787
  t.$slots.optionAnnotator ? {
745
788
  name: "optionAnnotator",
746
789
  fn: C(({ toggleAnnotator: a, isAnnotator: o }) => [
747
- x(t.$slots, "optionAnnotator", E(R({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
790
+ x(t.$slots, "optionAnnotator", H(X({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
748
791
  ]),
749
792
  key: "8"
750
793
  } : void 0
751
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0),
752
- b("div", {
753
- class: fe({
794
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasSvg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : f("", !0),
795
+ g("div", {
796
+ class: ge({
754
797
  "vue-ui-heatmap-chart-wrapper": !0,
755
798
  "vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
756
799
  })
757
800
  }, [
758
801
  (u(), i("svg", {
759
802
  ref_key: "svgRef",
760
- ref: Oe,
803
+ ref: Me,
761
804
  xmlns: n(pl),
762
- class: fe({ "vue-data-ui-fullscreen--on": le.value, "vue-data-ui-fulscreen--off": !le.value }),
763
- viewBox: `0 0 ${D.value.width} ${D.value.height}`,
805
+ class: ge({ "vue-data-ui-fullscreen--on": se.value, "vue-data-ui-fulscreen--off": !se.value }),
806
+ viewBox: `0 0 ${M.value.width} ${M.value.height}`,
764
807
  width: "100%",
765
- style: w(`overflow: visible; background:transparent;color:${e.value.style.color}`),
808
+ style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
766
809
  "aria-live": "polite",
767
810
  role: "img",
768
811
  preserveAspectRatio: "xMidYMid"
769
812
  }, [
770
- we(n(z)),
813
+ Ae(n(T)),
771
814
  t.$slots["chart-background"] ? (u(), i("foreignObject", {
772
815
  key: 0,
773
816
  x: l.value.left,
@@ -779,38 +822,38 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
779
822
  }
780
823
  }, [
781
824
  x(t.$slots, "chart-background", {}, void 0, !0)
782
- ], 8, Xl)) : g("", !0),
825
+ ], 8, Pl)) : f("", !0),
783
826
  e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
784
827
  key: 1,
785
828
  ref_key: "xAxisSumRects",
786
- ref: Ot
829
+ ref: Mt
787
830
  }, [
788
- (u(!0), i(S, null, N(p.value.xTotals, (a, o) => (u(), i("rect", {
831
+ (u(!0), i(z, null, P(p.value.xTotals, (a, o) => (u(), i("rect", {
789
832
  x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
790
- y: l.value.top - l.value.sumCellXHeight + r.value * (D.value.height / D.value.width),
833
+ y: l.value.top - l.value.sumCellXHeight + r.value * (M.value.height / M.value.width),
791
834
  height: l.value.sumCellXHeight,
792
835
  width: l.value.cellSize.width - r.value,
793
836
  fill: e.value.style.layout.cells.colors.underlayer,
794
837
  stroke: e.value.style.backgroundColor,
795
838
  "stroke-width": r.value
796
839
  }, null, 8, Il))), 256)),
797
- (u(!0), i(S, null, N(p.value.xTotals, (a, o) => (u(), i("rect", {
840
+ (u(!0), i(z, null, P(p.value.xTotals, (a, o) => (u(), i("rect", {
798
841
  x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
799
- y: l.value.top - l.value.sumCellXHeight + r.value * (D.value.height / D.value.width),
842
+ y: l.value.top - l.value.sumCellXHeight + r.value * (M.value.height / M.value.width),
800
843
  height: l.value.sumCellXHeight,
801
844
  width: l.value.cellSize.width - r.value,
802
845
  fill: a.color,
803
846
  stroke: e.value.style.backgroundColor,
804
847
  "stroke-width": r.value
805
848
  }, null, 8, Vl))), 256))
806
- ], 512)) : g("", !0),
807
- b("g", {
849
+ ], 512)) : f("", !0),
850
+ g("g", {
808
851
  ref_key: "datapoints",
809
852
  ref: Ft
810
853
  }, [
811
- (u(!0), i(S, null, N(te.value, (a, o) => (u(), i(S, null, [
812
- (u(!0), i(S, null, N(a.temperatures, (v, c) => (u(), i("g", null, [
813
- b("rect", {
854
+ (u(!0), i(z, null, P(oe.value, (a, o) => (u(), i(z, null, [
855
+ (u(!0), i(z, null, P(a.temperatures, (v, c) => (u(), i("g", null, [
856
+ g("rect", {
814
857
  x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
815
858
  y: l.value.top + l.value.cellSize.height * o + r.value / 2,
816
859
  width: l.value.cellSize.width - r.value,
@@ -819,7 +862,7 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
819
862
  stroke: e.value.style.backgroundColor,
820
863
  "stroke-width": r.value
821
864
  }, null, 8, Ul),
822
- b("rect", {
865
+ g("rect", {
823
866
  x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
824
867
  y: l.value.top + l.value.cellSize.height * o + r.value / 2,
825
868
  width: l.value.cellSize.width - r.value,
@@ -827,10 +870,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
827
870
  fill: v.color,
828
871
  stroke: e.value.style.backgroundColor,
829
872
  "stroke-width": r.value,
830
- onMouseover: (k) => Wt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
873
+ onMouseover: (w) => jt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
831
874
  onMouseout: () => qt({ datapoint: v, seriesIndex: o }),
832
875
  onClick: () => Jt(v, o)
833
- }, null, 40, Yl),
876
+ }, null, 40, Gl),
834
877
  e.value.style.layout.cells.value.show ? pt((u(), i("text", {
835
878
  key: 0,
836
879
  "text-anchor": "middle",
@@ -841,10 +884,10 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
841
884
  y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
842
885
  style: { pointerEvents: "none", userSelect: "none" }
843
886
  }, [
844
- Xe($(n(q)(
887
+ Pe(F(n(K)(
845
888
  e.value.style.layout.cells.value.formatter,
846
889
  v.value,
847
- n(V)({
890
+ n(W)({
848
891
  p: e.value.style.layout.dataLabels.prefix,
849
892
  v: v.value,
850
893
  s: e.value.style.layout.dataLabels.suffix,
@@ -852,29 +895,29 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
852
895
  }),
853
896
  { datapoint: v }
854
897
  )), 1)
855
- ], 8, jl)), [
856
- [n(Nl), {
898
+ ], 8, Wl)), [
899
+ [n(Rl), {
857
900
  cellWidth: l.value.cellSize.width - r.value,
858
901
  cellHeight: l.value.cellSize.height - r.value,
859
902
  maxFontSize: e.value.style.layout.cells.value.fontSize,
860
903
  minFontSize: 10,
861
- index: o * P.value + c,
862
- reportHide: Gt,
863
- reportRotation: Yt,
864
- hideAll: jt.value,
904
+ index: o * U.value + c,
905
+ reportHide: Yt,
906
+ reportRotation: Gt,
907
+ hideAll: Wt.value,
865
908
  rotateAll: Ut.value
866
909
  }]
867
- ]) : g("", !0)
910
+ ]) : f("", !0)
868
911
  ]))), 256))
869
912
  ], 64))), 256))
870
913
  ], 512),
871
914
  e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", {
872
915
  key: 2,
873
916
  ref_key: "yAxisSumRects",
874
- ref: Bt
917
+ ref: Ot
875
918
  }, [
876
- (u(!0), i(S, null, N(te.value, (a, o) => (u(), i(S, null, [
877
- b("rect", {
919
+ (u(!0), i(z, null, P(oe.value, (a, o) => (u(), i(z, null, [
920
+ g("rect", {
878
921
  x: l.value.left,
879
922
  y: l.value.top + l.value.cellSize.height * o,
880
923
  width: l.value.sumCellXHeight,
@@ -882,8 +925,8 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
882
925
  fill: e.value.style.layout.cells.colors.underlayer,
883
926
  stroke: e.value.style.backgroundColor,
884
927
  "stroke-width": r.value
885
- }, null, 8, Gl),
886
- b("rect", {
928
+ }, null, 8, Yl),
929
+ g("rect", {
887
930
  x: l.value.left,
888
931
  y: l.value.top + l.value.cellSize.height * o + r.value / 2,
889
932
  width: l.value.sumCellXHeight,
@@ -891,42 +934,42 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
891
934
  fill: p.value.yTotals[o].color,
892
935
  stroke: e.value.style.backgroundColor,
893
936
  "stroke-width": r.value
894
- }, null, 8, Wl)
937
+ }, null, 8, jl)
895
938
  ], 64))), 256))
896
- ], 512)) : g("", !0),
939
+ ], 512)) : f("", !0),
897
940
  e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
898
941
  key: 3,
899
942
  ref_key: "yAxisLabels",
900
943
  ref: Ze
901
944
  }, [
902
- (u(!0), i(S, null, N(te.value, (a, o) => (u(), i(S, null, [
903
- b("text", {
945
+ (u(!0), i(z, null, P(oe.value, (a, o) => (u(), i(z, null, [
946
+ g("text", {
904
947
  class: "vue-ui-heatmap-row-name",
905
948
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
906
949
  fill: e.value.style.layout.dataLabels.yAxis.color,
907
- x: se.value,
950
+ x: le.value,
908
951
  y: l.value.top + l.value.cellSize.height * o + l.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),
909
952
  "text-anchor": "end",
910
953
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
911
- }, $(p.value.yLabels[o]), 9, ql),
954
+ }, F(p.value.yLabels[o]), 9, ql),
912
955
  e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
913
956
  key: 0,
914
957
  class: "vue-ui-heatmap-row-total",
915
958
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
916
959
  fill: e.value.style.layout.dataLabels.yAxis.color,
917
- x: se.value,
960
+ x: le.value,
918
961
  y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
919
962
  "text-anchor": "end",
920
963
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
921
- }, $(Kt(o)), 9, Kl)) : g("", !0)
964
+ }, F(Kt(o)), 9, Kl)) : f("", !0)
922
965
  ], 64))), 256))
923
- ], 512)) : g("", !0),
966
+ ], 512)) : f("", !0),
924
967
  e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", {
925
968
  key: 4,
926
969
  ref_key: "xAxisLabels",
927
- ref: ze
970
+ ref: $e
928
971
  }, [
929
- (u(!0), i(S, null, N(p.value.xLabels, (a, o) => (u(), i(S, null, [
972
+ (u(!0), i(z, null, P(p.value.xLabels, (a, o) => (u(), i(z, null, [
930
973
  !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && o % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), i("text", {
931
974
  key: 0,
932
975
  class: "vue-ui-heatmap-col-name",
@@ -935,28 +978,28 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
935
978
  fill: e.value.style.layout.dataLabels.xAxis.color,
936
979
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
937
980
  transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
938
- }, $(a), 9, Zl)) : g("", !0)
981
+ }, F(a), 9, Zl)) : f("", !0)
939
982
  ], 64))), 256))
940
- ], 512)) : g("", !0),
983
+ ], 512)) : f("", !0),
941
984
  e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
942
985
  key: 5,
943
986
  ref_key: "xAxisSums",
944
987
  ref: Fe
945
988
  }, [
946
- (u(!0), i(S, null, N(p.value.xLabels, (a, o) => (u(), i("text", {
989
+ (u(!0), i(z, null, P(p.value.xLabels, (a, o) => (u(), i("text", {
947
990
  class: "vue-ui-heatmap-col-total",
948
991
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
949
992
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
950
993
  fill: e.value.style.layout.dataLabels.xAxis.color,
951
994
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
952
995
  transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / p.value.xLabels.length * o + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + l.value.sumCellXHeight}, ${l.value.bottom + e.value.style.layout.dataLabels.xAxis.fontSize / 2}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
953
- }, $(Zt(o)), 9, Jl))), 256))
954
- ], 512)) : g("", !0),
955
- re.value ? (u(), i("g", Ql, [
956
- b("rect", {
996
+ }, F(Zt(o)), 9, Jl))), 256))
997
+ ], 512)) : f("", !0),
998
+ B.value ? (u(), i("g", Ql, [
999
+ g("rect", {
957
1000
  style: { "pointer-events": "none" },
958
- x: re.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
959
- y: re.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
1001
+ x: B.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
1002
+ y: B.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
960
1003
  width: l.value.cellSize.width - r.value + e.value.style.layout.cells.selected.border - r.value,
961
1004
  height: l.value.cellSize.height - r.value + e.value.style.layout.cells.selected.border - r.value,
962
1005
  fill: "transparent",
@@ -964,105 +1007,127 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
964
1007
  "stroke-width": e.value.style.layout.cells.selected.border,
965
1008
  rx: 1
966
1009
  }, null, 8, ea)
967
- ])) : g("", !0),
968
- x(t.$slots, "svg", { svg: D.value }, void 0, !0)
969
- ], 14, Pl)),
1010
+ ])) : f("", !0),
1011
+ e.value.style.layout.crosshairs.show && B.value ? (u(), i("g", ta, [
1012
+ g("line", {
1013
+ x1: l.value.left + (e.value.style.layout.cells.rowTotal.color.show ? l.value.sumCellXHeight : 0),
1014
+ x2: B.value.x + (e.value.style.layout.cells.rowTotal.color.show ? l.value.sumCellXHeight : 0),
1015
+ y1: B.value.y + (l.value.cellSize.height - r.value) / 2,
1016
+ y2: B.value.y + (l.value.cellSize.height - r.value) / 2,
1017
+ stroke: e.value.style.layout.crosshairs.stroke,
1018
+ "stroke-width": e.value.style.layout.crosshairs.strokeWidth,
1019
+ "stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
1020
+ "stroke-linecap": "round"
1021
+ }, null, 8, la),
1022
+ g("line", {
1023
+ x1: B.value.x + (e.value.style.layout.cells.rowTotal.color.show ? l.value.sumCellXHeight : 0) + (l.value.cellSize.width - r.value) / 2,
1024
+ x2: B.value.x + (e.value.style.layout.cells.rowTotal.color.show ? l.value.sumCellXHeight : 0) + (l.value.cellSize.width - r.value) / 2,
1025
+ y1: B.value.y,
1026
+ y2: l.value.top,
1027
+ stroke: e.value.style.layout.crosshairs.stroke,
1028
+ "stroke-width": e.value.style.layout.crosshairs.strokeWidth,
1029
+ "stroke-dasharray": e.value.style.layout.crosshairs.strokeDasharray,
1030
+ "stroke-linecap": "round"
1031
+ }, null, 8, aa)
1032
+ ])) : f("", !0),
1033
+ x(t.$slots, "svg", { svg: M.value }, void 0, !0)
1034
+ ], 14, Xl)),
970
1035
  e.value.style.legend.show ? (u(), i("div", {
971
1036
  key: 0,
972
1037
  ref_key: "legendRight",
973
1038
  ref: Dt,
974
1039
  class: "vue-ui-heatmap-legend-right",
975
- style: w({
1040
+ style: L({
976
1041
  "--legend-width": e.value.style.legend.width + "px"
977
1042
  })
978
1043
  }, [
979
- n(pe) ? g("", !0) : (u(), i("div", {
1044
+ n(me) ? f("", !0) : (u(), i("div", {
980
1045
  key: 0,
981
1046
  class: "vue-ui-heatmap-legend-label-max",
982
- style: w({
1047
+ style: L({
983
1048
  fontSize: e.value.style.legend.fontSize + "px",
984
1049
  color: e.value.style.legend.color
985
1050
  })
986
- }, $(n(q)(
1051
+ }, F(n(K)(
987
1052
  e.value.style.layout.cells.value.formatter,
988
- n(K)(W.value),
989
- n(V)({
1053
+ n(Z)(q.value),
1054
+ n(W)({
990
1055
  p: e.value.style.layout.dataLabels.prefix,
991
- v: n(K)(W.value),
1056
+ v: n(Z)(q.value),
992
1057
  s: e.value.style.layout.dataLabels.suffix,
993
1058
  r: e.value.style.legend.roundingValue
994
1059
  })
995
1060
  )), 5)),
996
- b("div", ta, [
997
- b("div", {
1061
+ g("div", oa, [
1062
+ g("div", {
998
1063
  class: "vue-ui-heatmap-gauge",
999
- style: w({
1064
+ style: L({
1000
1065
  background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
1001
1066
  })
1002
1067
  }, [
1003
- pt(b("div", {
1068
+ pt(g("div", {
1004
1069
  class: "vue-ui-heatmap-gauge-indicator",
1005
- "data-value": n(q)(
1070
+ "data-value": n(K)(
1006
1071
  e.value.style.layout.cells.value.formatter,
1007
- n(K)(M.value),
1008
- n(V)({
1072
+ n(Z)(R.value),
1073
+ n(W)({
1009
1074
  p: e.value.style.layout.dataLabels.prefix,
1010
- v: n(K)(M.value),
1075
+ v: n(Z)(R.value),
1011
1076
  s: e.value.style.layout.dataLabels.suffix,
1012
1077
  r: e.value.style.legend.roundingValue
1013
1078
  })
1014
1079
  ),
1015
- style: w({
1080
+ style: L({
1016
1081
  position: "absolute",
1017
1082
  width: "100%",
1018
1083
  height: "2px",
1019
- background: [void 0, null].includes(M.value) ? "transparent" : n(Le)(xe.value.datapoint.color),
1020
- top: `${[void 0, null].includes(M.value) ? 0 : (1 - M.value / W.value) * 100}%`,
1084
+ background: [void 0, null].includes(R.value) ? "transparent" : n(Le)(xe.value.datapoint.color),
1085
+ top: `${[void 0, null].includes(R.value) ? 0 : (1 - R.value / q.value) * 100}%`,
1021
1086
  transition: "all 0.2s ease-in-out",
1022
1087
  "--background-color": e.value.style.backgroundColor,
1023
1088
  "--gauge-arrow-color": n(Le)(e.value.style.backgroundColor),
1024
1089
  "--gauge-arrow-text-color": n(Le)(e.value.style.backgroundColor),
1025
- "--gauge-arrow-value": M.value,
1090
+ "--gauge-arrow-value": R.value,
1026
1091
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
1027
1092
  })
1028
1093
  }, [
1029
- b("div", aa, $(n(q)(
1094
+ g("div", ua, F(n(K)(
1030
1095
  e.value.style.layout.cells.value.formatter,
1031
- n(K)(M.value),
1032
- n(V)({
1096
+ n(Z)(R.value),
1097
+ n(W)({
1033
1098
  p: e.value.style.layout.dataLabels.prefix,
1034
- v: n(K)(M.value),
1099
+ v: n(Z)(R.value),
1035
1100
  s: e.value.style.layout.dataLabels.suffix,
1036
1101
  r: e.value.style.legend.roundingValue
1037
1102
  })
1038
1103
  )), 1)
1039
- ], 12, la), [
1040
- [cl, ![void 0, null].includes(M.value)]
1104
+ ], 12, sa), [
1105
+ [cl, ![void 0, null].includes(R.value)]
1041
1106
  ])
1042
1107
  ], 4)
1043
1108
  ]),
1044
- n(pe) ? g("", !0) : (u(), i("div", {
1109
+ n(me) ? f("", !0) : (u(), i("div", {
1045
1110
  key: 1,
1046
1111
  class: "vue-ui-heatmap-legend-label-min",
1047
- style: w({
1112
+ style: L({
1048
1113
  fontSize: e.value.style.legend.fontSize + "px",
1049
1114
  color: e.value.style.legend.color
1050
1115
  })
1051
- }, $(n(q)(
1116
+ }, F(n(K)(
1052
1117
  e.value.style.layout.cells.value.formatter,
1053
- n(K)(ye.value),
1054
- n(V)({
1118
+ n(Z)(fe.value),
1119
+ n(W)({
1055
1120
  p: e.value.style.layout.dataLabels.prefix,
1056
- v: n(K)(ye.value),
1121
+ v: n(Z)(fe.value),
1057
1122
  s: e.value.style.layout.dataLabels.suffix,
1058
1123
  r: e.value.style.legend.roundingValue
1059
1124
  })
1060
1125
  )), 5))
1061
- ], 4)) : g("", !0)
1126
+ ], 4)) : f("", !0)
1062
1127
  ], 2),
1063
- t.$slots.watermark ? (u(), i("div", oa, [
1064
- x(t.$slots, "watermark", E(R({ isPrinting: n(tt) || n(lt) })), void 0, !0)
1065
- ])) : g("", !0),
1128
+ t.$slots.watermark ? (u(), i("div", na, [
1129
+ x(t.$slots, "watermark", H(X({ isPrinting: n(tt) || n(lt) })), void 0, !0)
1130
+ ])) : f("", !0),
1066
1131
  t.$slots.source ? (u(), i("div", {
1067
1132
  key: 5,
1068
1133
  ref_key: "source",
@@ -1070,9 +1135,9 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
1070
1135
  dir: "auto"
1071
1136
  }, [
1072
1137
  x(t.$slots, "source", {}, void 0, !0)
1073
- ], 512)) : g("", !0),
1074
- we(n(U), {
1075
- show: B.value.showTooltip && ae.value,
1138
+ ], 512)) : f("", !0),
1139
+ Ae(n(Y), {
1140
+ show: E.value.showTooltip && ne.value,
1076
1141
  backgroundColor: e.value.style.tooltip.backgroundColor,
1077
1142
  color: e.value.style.tooltip.color,
1078
1143
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1082,9 +1147,9 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
1082
1147
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1083
1148
  position: e.value.style.tooltip.position,
1084
1149
  offsetY: e.value.style.tooltip.offsetY,
1085
- parent: _.value,
1150
+ parent: $.value,
1086
1151
  content: _e.value,
1087
- isFullscreen: le.value,
1152
+ isFullscreen: se.value,
1088
1153
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1089
1154
  smooth: e.value.style.tooltip.smooth,
1090
1155
  backdropFilter: e.value.style.tooltip.backdropFilter,
@@ -1092,85 +1157,85 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
1092
1157
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1093
1158
  }, {
1094
1159
  "tooltip-before": C(() => [
1095
- x(t.$slots, "tooltip-before", E(R({ ...xe.value })), void 0, !0)
1160
+ x(t.$slots, "tooltip-before", H(X({ ...xe.value })), void 0, !0)
1096
1161
  ]),
1097
1162
  "tooltip-after": C(() => [
1098
- x(t.$slots, "tooltip-after", E(R({ ...xe.value })), void 0, !0)
1163
+ x(t.$slots, "tooltip-after", H(X({ ...xe.value })), void 0, !0)
1099
1164
  ]),
1100
1165
  _: 3
1101
1166
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1102
- ne.value && e.value.userOptions.buttons.table ? (u(), ge(dl(Ae.value.component), hl({ key: 6 }, Ae.value.props, {
1167
+ N.value && e.value.userOptions.buttons.table ? (u(), be(dl(ke.value.component), yl({ key: 6 }, ke.value.props, {
1103
1168
  ref_key: "tableUnit",
1104
- ref: ve,
1169
+ ref: ce,
1105
1170
  onClose: He
1106
1171
  }), bt({
1107
1172
  content: C(() => [
1108
- b("div", {
1173
+ g("div", {
1109
1174
  ref_key: "tableContainer",
1110
- ref: Ge,
1175
+ ref: Ye,
1111
1176
  class: "vue-ui-heatmap-table atom-data-table",
1112
- style: w(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1177
+ style: L(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1113
1178
  }, [
1114
- b("div", {
1115
- style: w(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1116
- class: fe({ "vue-ui-responsive": n(tl) })
1179
+ g("div", {
1180
+ style: L(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1181
+ class: ge({ "vue-ui-responsive": n(tl) })
1117
1182
  }, [
1118
- e.value.table.useDialog ? g("", !0) : (u(), i("div", {
1183
+ e.value.table.useDialog ? f("", !0) : (u(), i("div", {
1119
1184
  key: 0,
1120
1185
  role: "button",
1121
1186
  tabindex: "0",
1122
- style: w(`width:32px; position: absolute; top: 0; left:4px; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; width: 32px; cursor:pointer; background:${e.value.table.th.backgroundColor};`),
1187
+ 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};`),
1123
1188
  onClick: He,
1124
- onKeypress: yl(He, ["enter"])
1189
+ onKeypress: hl(He, ["enter"])
1125
1190
  }, [
1126
- we(n(Z), {
1191
+ Ae(n(Q), {
1127
1192
  name: "close",
1128
1193
  stroke: e.value.table.th.color,
1129
1194
  "stroke-width": 2
1130
1195
  }, null, 8, ["stroke"])
1131
1196
  ], 36)),
1132
- b("table", sa, [
1133
- e.value.table.useDialog ? g("", !0) : (u(), i("caption", {
1197
+ g("table", ia, [
1198
+ e.value.table.useDialog ? f("", !0) : (u(), i("caption", {
1134
1199
  key: 0,
1135
- style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1200
+ style: L(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1136
1201
  }, [
1137
- Xe($(e.value.style.title.text) + " ", 1),
1138
- e.value.style.title.subtitle.text ? (u(), i("span", ua, $(e.value.style.title.subtitle.text), 1)) : g("", !0)
1202
+ Pe(F(e.value.style.title.text) + " ", 1),
1203
+ e.value.style.title.subtitle.text ? (u(), i("span", ra, F(e.value.style.title.subtitle.text), 1)) : f("", !0)
1139
1204
  ], 4)),
1140
- b("thead", null, [
1141
- b("tr", {
1205
+ g("thead", null, [
1206
+ g("tr", {
1142
1207
  role: "row",
1143
- style: w(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1208
+ style: L(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1144
1209
  }, [
1145
- b("th", {
1146
- style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1210
+ g("th", {
1211
+ style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1147
1212
  }, null, 4),
1148
- (u(!0), i(S, null, N(y.dataset, (a, o) => (u(), i("th", {
1213
+ (u(!0), i(z, null, P(y.dataset, (a, o) => (u(), i("th", {
1149
1214
  align: "right",
1150
- style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1151
- }, $(a.name), 5))), 256))
1215
+ style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1216
+ }, F(a.name), 5))), 256))
1152
1217
  ], 4)
1153
1218
  ]),
1154
- b("tbody", null, [
1155
- (u(!0), i(S, null, N(p.value.xLabels, (a, o) => (u(), i("tr", {
1219
+ g("tbody", null, [
1220
+ (u(!0), i(z, null, P(p.value.xLabels, (a, o) => (u(), i("tr", {
1156
1221
  role: "row",
1157
- class: fe({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1158
- style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1222
+ class: ge({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 }),
1223
+ style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1159
1224
  }, [
1160
- b("td", {
1225
+ g("td", {
1161
1226
  "data-cell": e.value.table.colNames.xAxis,
1162
1227
  class: "vue-ui-data-table__tbody__td",
1163
- style: w(`outline:${e.value.table.td.outline}`)
1228
+ style: L(`outline:${e.value.table.td.outline}`)
1164
1229
  }, [
1165
- b("div", ia, $(a), 1)
1166
- ], 12, na),
1167
- (u(!0), i(S, null, N(y.dataset, (v, c) => (u(), i("td", {
1230
+ g("div", ca, F(a), 1)
1231
+ ], 12, va),
1232
+ (u(!0), i(z, null, P(y.dataset, (v, c) => (u(), i("td", {
1168
1233
  class: "vue-ui-data-table__tbody__td",
1169
1234
  "data-cell": y.dataset[c].name,
1170
- style: w(`outline:${e.value.table.td.outline}`)
1235
+ style: L(`outline:${e.value.table.td.outline}`)
1171
1236
  }, [
1172
- b("div", va, $(isNaN(v.values[o]) ? "-" : n(V)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[o], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
1173
- ], 12, ra))), 256))
1237
+ g("div", ya, F(isNaN(v.values[o]) ? "-" : n(W)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[o], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
1238
+ ], 12, da))), 256))
1174
1239
  ], 6))), 256))
1175
1240
  ])
1176
1241
  ])
@@ -1182,36 +1247,36 @@ const Hl = ["id"], Pl = ["xmlns", "viewBox"], Xl = ["x", "y", "width", "height"]
1182
1247
  e.value.table.useDialog ? {
1183
1248
  name: "title",
1184
1249
  fn: C(() => [
1185
- Xe($(Ae.value.title), 1)
1250
+ Pe(F(ke.value.title), 1)
1186
1251
  ]),
1187
1252
  key: "0"
1188
1253
  } : void 0,
1189
1254
  e.value.table.useDialog ? {
1190
1255
  name: "actions",
1191
1256
  fn: C(() => [
1192
- b("button", {
1257
+ g("button", {
1193
1258
  tabindex: "0",
1194
1259
  class: "vue-ui-user-options-button",
1195
- onClick: s[0] || (s[0] = (a) => Re(e.value.userOptions.callbacks.csv))
1260
+ onClick: s[0] || (s[0] = (a) => Ne(e.value.userOptions.callbacks.csv))
1196
1261
  }, [
1197
- we(n(Z), {
1262
+ Ae(n(Q), {
1198
1263
  name: "excel",
1199
- stroke: Ae.value.props.color
1264
+ stroke: ke.value.props.color
1200
1265
  }, null, 8, ["stroke"])
1201
1266
  ])
1202
1267
  ]),
1203
1268
  key: "1"
1204
1269
  } : void 0
1205
- ]), 1040)) : g("", !0),
1206
- n(pe) ? (u(), ge(_l, { key: 7 })) : g("", !0)
1270
+ ]), 1040)) : f("", !0),
1271
+ n(me) ? (u(), be(_l, { key: 7 })) : f("", !0)
1207
1272
  ], 46, Hl));
1208
1273
  }
1209
- }, da = /* @__PURE__ */ Rl(ca, [["__scopeId", "data-v-dd5b744b"]]), Fa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1274
+ }, fa = /* @__PURE__ */ Nl(ha, [["__scopeId", "data-v-7c9fa799"]]), Ma = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1210
1275
  __proto__: null,
1211
- default: da
1276
+ default: fa
1212
1277
  }, Symbol.toStringTag, { value: "Module" }));
1213
1278
  export {
1214
- za as a,
1215
- Fa as b,
1216
- da as v
1279
+ Oa as a,
1280
+ Ma as b,
1281
+ fa as v
1217
1282
  };