vue-data-ui 3.3.1 → 3.3.3

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 (153) hide show
  1. package/dist/{Arrow-DLi6NnGD.js → Arrow-ayTeSvpe.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CVGErydD.js → BaseDraggableDialog-Cysanw8-.js} +2 -2
  3. package/dist/{BaseIcon-eZbszQrv.js → BaseIcon-DG6cvf2h.js} +1 -1
  4. package/dist/{ColorPicker-BoPM4Ejg.js → ColorPicker-CA8kKZjZ.js} +2 -2
  5. package/dist/{DataTable-yAMEyP6y.js → DataTable-DUpZ_s2c.js} +2 -2
  6. package/dist/{Legend-By4rru90.js → Legend-CCBZ2x8T.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-C7QqIewT.js → NonSvgPenAndPaper-D2IMGwaN.js} +3 -3
  8. package/dist/{PackageVersion-BfykJm_B.js → PackageVersion-CQvYRebC.js} +1 -1
  9. package/dist/{PenAndPaper-Bo-lMUik.js → PenAndPaper-D9LruJaM.js} +3 -3
  10. package/dist/{Shape-BceHSLHf.js → Shape-BS9UGhNq.js} +1 -1
  11. package/dist/{Slicer-Znzt0gSE.js → Slicer-BOki89CB.js} +2 -2
  12. package/dist/{SparkTooltip--YwqrrgZ.js → SparkTooltip-svd8Hb6c.js} +1 -1
  13. package/dist/{Title-Camz1Lce.js → Title-B6rAo9Oz.js} +1 -1
  14. package/dist/{Tooltip-VOcQEHa4.js → Tooltip-DaInVNiV.js} +1 -1
  15. package/dist/{UserOptions-CSja1SGU.js → UserOptions-CJXSEhan.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-annotator.js +1 -1
  21. package/dist/components/vue-ui-bullet.js +1 -1
  22. package/dist/components/vue-ui-candlestick.js +1 -1
  23. package/dist/components/vue-ui-carousel-table.js +1 -1
  24. package/dist/components/vue-ui-chestnut.js +1 -1
  25. package/dist/components/vue-ui-chord.js +1 -1
  26. package/dist/components/vue-ui-circle-pack.js +1 -1
  27. package/dist/components/vue-ui-cursor.js +1 -1
  28. package/dist/components/vue-ui-dashboard.js +1 -1
  29. package/dist/components/vue-ui-digits.js +1 -1
  30. package/dist/components/vue-ui-donut-evolution.js +1 -1
  31. package/dist/components/vue-ui-donut.js +1 -1
  32. package/dist/components/vue-ui-dumbbell.js +1 -1
  33. package/dist/components/vue-ui-flow.js +1 -1
  34. package/dist/components/vue-ui-funnel.js +1 -1
  35. package/dist/components/vue-ui-galaxy.js +1 -1
  36. package/dist/components/vue-ui-gauge.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-mini-loader.js +1 -1
  44. package/dist/components/vue-ui-molecule.js +1 -1
  45. package/dist/components/vue-ui-mood-radar.js +1 -1
  46. package/dist/components/vue-ui-nested-donuts.js +1 -1
  47. package/dist/components/vue-ui-onion.js +1 -1
  48. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  49. package/dist/components/vue-ui-quadrant.js +1 -1
  50. package/dist/components/vue-ui-quick-chart.js +1 -1
  51. package/dist/components/vue-ui-radar.js +1 -1
  52. package/dist/components/vue-ui-rating.js +1 -1
  53. package/dist/components/vue-ui-relation-circle.js +1 -1
  54. package/dist/components/vue-ui-ridgeline.js +1 -1
  55. package/dist/components/vue-ui-rings.js +1 -1
  56. package/dist/components/vue-ui-scatter.js +1 -1
  57. package/dist/components/vue-ui-skeleton.js +1 -1
  58. package/dist/components/vue-ui-smiley.js +1 -1
  59. package/dist/components/vue-ui-spark-trend.js +1 -1
  60. package/dist/components/vue-ui-sparkbar.js +1 -1
  61. package/dist/components/vue-ui-sparkgauge.js +1 -1
  62. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  63. package/dist/components/vue-ui-sparkline.js +1 -1
  64. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  65. package/dist/components/vue-ui-stackbar.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{dom-to-png-DxyZSvDx.js → dom-to-png-Tq92GZKA.js} +1 -1
  82. package/dist/{img-J2dLIr8Y.js → img-DI-W68vp.js} +1 -1
  83. package/dist/{lib-CEjkWSLj.js → lib-CSDxt1Zh.js} +12 -12
  84. package/dist/{pdf-anN8VbM7.js → pdf-BzVpWnNO.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/{useAutoSizeLabelsInsideViewbox-CovTrBjm.js → useAutoSizeLabelsInsideViewbox-CtQ7pJ8G.js} +1 -1
  87. package/dist/{useNestedProp-Ce3PwN8T.js → useNestedProp-Dh-ldrr5.js} +1 -1
  88. package/dist/{usePrinter-DJ1iH-F_.js → usePrinter-Cq8Pt6Lh.js} +2 -2
  89. package/dist/{vue-data-ui-j8Dnx_Ui.js → vue-data-ui-CDY7snWF.js} +64 -64
  90. package/dist/vue-data-ui.js +68 -68
  91. package/dist/{vue-ui-3d-bar-Cml_eeEU.js → vue-ui-3d-bar-DbpiTjGu.js} +6 -6
  92. package/dist/{vue-ui-accordion-VTP418mC.js → vue-ui-accordion-CaClZrCp.js} +3 -3
  93. package/dist/{vue-ui-age-pyramid-MULKSv5c.js → vue-ui-age-pyramid-DuIxXz5p.js} +6 -6
  94. package/dist/{vue-ui-annotator-CmwDyy9m.js → vue-ui-annotator-C2efSKQK.js} +7 -7
  95. package/dist/{vue-ui-bullet-BHO5zu9m.js → vue-ui-bullet-qpcqLKmp.js} +7 -7
  96. package/dist/{vue-ui-candlestick-B7EjAlSi.js → vue-ui-candlestick-DTWbbdGH.js} +7 -7
  97. package/dist/{vue-ui-carousel-table-DXnYj0Gc.js → vue-ui-carousel-table-CCTtArFX.js} +4 -4
  98. package/dist/{vue-ui-chestnut-B1Usqda-.js → vue-ui-chestnut-CbvxJ8hy.js} +5 -5
  99. package/dist/{vue-ui-chord-DgXH82Hg.js → vue-ui-chord-Cp9nyIdv.js} +8 -8
  100. package/dist/{vue-ui-circle-pack-BQfaZFFz.js → vue-ui-circle-pack-kHzd0UYO.js} +21 -21
  101. package/dist/{vue-ui-cursor-Dt8Zzw22.js → vue-ui-cursor-DEvkJRCz.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C6xHAPp8.js → vue-ui-dashboard-k_mz9iwy.js} +67 -67
  103. package/dist/{vue-ui-digits-nKPRJ9Vz.js → vue-ui-digits-CqWCkEu2.js} +2 -2
  104. package/dist/{vue-ui-donut-swJu7UL2.js → vue-ui-donut-CDKS6sVu.js} +8 -8
  105. package/dist/{vue-ui-donut-evolution-D_CKlaay.js → vue-ui-donut-evolution-C6cGI_P3.js} +8 -8
  106. package/dist/{vue-ui-dumbbell-siD31WFG.js → vue-ui-dumbbell-ZjJst3xs.js} +7 -7
  107. package/dist/{vue-ui-flow-BZCnqIs-.js → vue-ui-flow-sX1PYIkr.js} +7 -7
  108. package/dist/{vue-ui-funnel-DmgcIRzW.js → vue-ui-funnel--VViM9gH.js} +6 -6
  109. package/dist/{vue-ui-galaxy-C-zegxf9.js → vue-ui-galaxy-Du0V9GF8.js} +7 -7
  110. package/dist/{vue-ui-gauge-D6C8eUvP.js → vue-ui-gauge-BAe4p2g-.js} +7 -7
  111. package/dist/{vue-ui-gizmo-iSYUVKlt.js → vue-ui-gizmo-CfjwAt38.js} +3 -3
  112. package/dist/{vue-ui-heatmap-RHDxexNf.js → vue-ui-heatmap-Q0jrPM5h.js} +501 -492
  113. package/dist/{vue-ui-history-plot-4nwAd1qA.js → vue-ui-history-plot-CLSN3mPy.js} +7 -7
  114. package/dist/{vue-ui-kpi-Dphnwumo.js → vue-ui-kpi-CBRgXD1s.js} +3 -3
  115. package/dist/{vue-ui-mini-loader-DFk9GZ5V.js → vue-ui-mini-loader-3yCeDEPK.js} +2 -2
  116. package/dist/{vue-ui-molecule-BhisFSGQ.js → vue-ui-molecule-Ddh4hbX0.js} +5 -5
  117. package/dist/{vue-ui-mood-radar-B8yHPdrV.js → vue-ui-mood-radar-CK8UF-ka.js} +7 -7
  118. package/dist/{vue-ui-nested-donuts-Bfp0oVSK.js → vue-ui-nested-donuts-DO0FV0tU.js} +7 -7
  119. package/dist/{vue-ui-onion-f1B0W_oT.js → vue-ui-onion-DXLqoj-4.js} +8 -8
  120. package/dist/{vue-ui-parallel-coordinate-plot-DcY-0R-7.js → vue-ui-parallel-coordinate-plot-BlffHAHB.js} +8 -8
  121. package/dist/{vue-ui-quadrant-DuzopA33.js → vue-ui-quadrant-pw2ALj7p.js} +8 -8
  122. package/dist/{vue-ui-quick-chart-45Tm1UnC.js → vue-ui-quick-chart-9oGbV593.js} +6 -6
  123. package/dist/{vue-ui-radar-DDS405TF.js → vue-ui-radar-Csznqw19.js} +8 -8
  124. package/dist/{vue-ui-rating-eKlTJch9.js → vue-ui-rating-C4yZY1sb.js} +2 -2
  125. package/dist/{vue-ui-relation-circle-BqXHJEvi.js → vue-ui-relation-circle-Duxv-A4H.js} +7 -7
  126. package/dist/{vue-ui-ridgeline-Lx7YOCRg.js → vue-ui-ridgeline-B-q7J-C0.js} +8 -8
  127. package/dist/{vue-ui-rings-crjrV65X.js → vue-ui-rings-PRAcmP1H.js} +8 -8
  128. package/dist/{vue-ui-scatter-Bk4liS2c.js → vue-ui-scatter-BLW4MJtJ.js} +8 -8
  129. package/dist/{vue-ui-skeleton-Pu9gPf97.js → vue-ui-skeleton-D0PF0jxa.js} +3 -3
  130. package/dist/{vue-ui-smiley-C4mhT7ZV.js → vue-ui-smiley-Be44gMTh.js} +2 -2
  131. package/dist/{vue-ui-spark-trend-BmaybxJn.js → vue-ui-spark-trend-B2XY2dRa.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-DvhcXniz.js → vue-ui-sparkbar-DWQN4gvR.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge-D4Brfset.js → vue-ui-sparkgauge-fDhQGQ12.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-D5_lR__d.js → vue-ui-sparkhistogram-f7Acvipt.js} +4 -4
  135. package/dist/{vue-ui-sparkline-DxNG5QQg.js → vue-ui-sparkline-Ys3JW7Ap.js} +3 -3
  136. package/dist/{vue-ui-sparkstackbar-BTFzo3fq.js → vue-ui-sparkstackbar-Dv0HeSna.js} +3 -3
  137. package/dist/{vue-ui-stackbar-B8glHsE6.js → vue-ui-stackbar-DUlN5QiM.js} +9 -9
  138. package/dist/{vue-ui-strip-plot-C5Bro8-W.js → vue-ui-strip-plot-DN13ntF-.js} +7 -7
  139. package/dist/{vue-ui-table-Ddu9yx2S.js → vue-ui-table-Qb5tDX1n.js} +5 -5
  140. package/dist/{vue-ui-table-heatmap-J29d8nds.js → vue-ui-table-heatmap-hMrgJ25a.js} +5 -5
  141. package/dist/{vue-ui-table-sparkline-D3tgrV_k.js → vue-ui-table-sparkline-CdkFyJjv.js} +4 -4
  142. package/dist/{vue-ui-thermometer-BxQIZoXd.js → vue-ui-thermometer-D7U2C7kJ.js} +7 -7
  143. package/dist/{vue-ui-timer-BwFlr_19.js → vue-ui-timer-KtA4M2mV.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-KwISwJS6.js → vue-ui-tiremarks-C6GTGszq.js} +6 -6
  145. package/dist/{vue-ui-treemap-C6PLDL2Y.js → vue-ui-treemap-rhnl1TW9.js} +8 -8
  146. package/dist/{vue-ui-vertical-bar-CTmRo06n.js → vue-ui-vertical-bar-n_Lvbd_X.js} +9 -9
  147. package/dist/{vue-ui-waffle-BwOLL9aa.js → vue-ui-waffle-D-4whGLN.js} +8 -8
  148. package/dist/{vue-ui-wheel-KI9mkz8y.js → vue-ui-wheel-D92HLjfr.js} +6 -6
  149. package/dist/{vue-ui-word-cloud-DTyjx6X4.js → vue-ui-word-cloud-Df9AMw6v.js} +20 -20
  150. package/dist/{vue-ui-world-C3QXAlC7.js → vue-ui-world-Bg9S35ug.js} +6 -6
  151. package/dist/{vue-ui-xy-b-CN-G4J.js → vue-ui-xy-Da6oy2rm.js} +9 -9
  152. package/dist/{vue-ui-xy-canvas-CdkE1NHd.js → vue-ui-xy-canvas-0CLSIKpO.js} +10 -10
  153. package/package.json +1 -1
@@ -1,67 +1,97 @@
1
- import { useCssVars as Jt, defineAsyncComponent as Q, computed as y, ref as d, shallowRef as Qt, toRefs as Zt, watch as we, onBeforeUnmount as dt, onMounted as el, watchEffect as Xe, reactive as ht, nextTick as Ie, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ce, createBlock as de, createCommentVNode as f, createElementVNode as p, createVNode as ke, unref as i, createSlots as yt, withCtx as z, renderSlot as L, normalizeProps as Z, guardReactiveProps as ee, Fragment as C, renderList as F, withDirectives as ft, createTextVNode as Ve, toDisplayString as T, vShow as tl, resolveDynamicComponent as ll, mergeProps as al, withKeys as ol } from "vue";
2
- import { c as Be, t as sl, B as ul, o as pt, f as gt, a0 as he, g as il, X as nl, E as Ae, a as B, d as H, q as E, ai as rl, x as vl, y as cl, z as dl, A as hl } from "./lib-CEjkWSLj.js";
3
- import { t as Ce, u as yl } from "./useResponsive-DfdjqQps.js";
4
- import { u as fl, a as bt } from "./useNestedProp-Ce3PwN8T.js";
5
- import { u as pl } from "./usePrinter-DJ1iH-F_.js";
6
- import { u as gl, B as bl } from "./BaseScanner-BgWxam9d.js";
7
- import { u as ml } from "./useSvgExport-DrjCWun4.js";
1
+ import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as oe, computed as g, ref as d, shallowRef as Zt, toRefs as el, watch as Ae, onBeforeUnmount as dt, onMounted as tl, reactive as ht, createElementBlock as n, openBlock as u, normalizeStyle as A, normalizeClass as fe, createBlock as ge, createCommentVNode as p, createElementVNode as b, createVNode as Ce, unref as i, createSlots as yt, withCtx as M, renderSlot as T, normalizeProps as se, guardReactiveProps as ue, Fragment as L, renderList as B, withDirectives as ft, createTextVNode as Xe, toDisplayString as S, vShow as ll, resolveDynamicComponent as al, mergeProps as ol, withKeys as sl } from "vue";
2
+ import { c as Ie, t as ul, B as il, o as gt, f as pt, a0 as pe, g as nl, X as rl, E as Le, a as G, d as X, q as W, at as vl, x as cl, y as dl, z as hl, A as yl } from "./lib-CSDxt1Zh.js";
3
+ import { t as Te, u as fl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as gl, a as bt } from "./useNestedProp-Dh-ldrr5.js";
5
+ import { u as pl } from "./usePrinter-Cq8Pt6Lh.js";
6
+ import { u as bl, B as ml } from "./BaseScanner-BgWxam9d.js";
7
+ import { u as xl } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as mt } from "./useTimeLabels-BGFjWgrv.js";
9
- import { u as xl } from "./useTableResponsive-Cbx-ACcP.js";
10
- import { u as wl } from "./useUserOptionState-BIvW1Kz7.js";
9
+ import { u as wl } from "./useTableResponsive-Cbx-ACcP.js";
10
+ import { u as kl } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { u as xt } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import { u as kl } from "./useChartAccessibility-9icAAmYg.js";
13
- import Al from "./img-J2dLIr8Y.js";
14
- import Cl from "./Title-Camz1Lce.js";
15
- import { t as Ll } from "./themes-Dw-dDudK.js";
16
- import Tl from "./vue-ui-accordion-VTP418mC.js";
17
- import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- const _l = {
19
- mounted(b, P) {
20
- wt(b, P.value);
12
+ import { u as Al } from "./useChartAccessibility-9icAAmYg.js";
13
+ import Cl from "./img-DI-W68vp.js";
14
+ import Ll from "./Title-B6rAo9Oz.js";
15
+ import { t as Tl } from "./themes-Dw-dDudK.js";
16
+ import Sl from "./vue-ui-accordion-CaClZrCp.js";
17
+ import { _ as _l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ function Ve({ elementRef: y, callback: R, attr: D, earlyReturn: I = !1 }) {
19
+ I || Jt(
20
+ (j) => {
21
+ const x = y.value;
22
+ if (!x) return;
23
+ const V = new ResizeObserver((_) => {
24
+ const q = _[0]?.contentRect;
25
+ let f;
26
+ if (q && q[D] != null)
27
+ f = q[D];
28
+ else
29
+ try {
30
+ D === "width" ? f = typeof x.getBBox == "function" ? x.getBBox().width : x.getBoundingClientRect().width : f = typeof x.getBBox == "function" ? x.getBBox().height : x.getBoundingClientRect().height;
31
+ } catch {
32
+ const K = x.getBoundingClientRect();
33
+ f = D === "width" ? K.width : K.height;
34
+ }
35
+ typeof f == "number" && !Number.isNaN(f) && R(f);
36
+ });
37
+ V.observe(x), Se(() => {
38
+ requestAnimationFrame(() => {
39
+ if (!y.value) return;
40
+ const _ = y.value.getBoundingClientRect(), E = D === "width" ? _.width : _.height;
41
+ typeof E == "number" && !Number.isNaN(E) && R(E);
42
+ });
43
+ }), j(() => V.disconnect());
44
+ },
45
+ { flush: "post" }
46
+ );
47
+ }
48
+ const zl = {
49
+ mounted(y, R) {
50
+ wt(y, R.value);
21
51
  },
22
- updated(b, P) {
23
- wt(b, P.value);
52
+ updated(y, R) {
53
+ wt(y, R.value);
24
54
  }
25
55
  };
26
- function wt(b, {
27
- cellWidth: P,
28
- cellHeight: ye,
29
- maxFontSize: W,
30
- minFontSize: te,
31
- index: O,
32
- reportRotation: le,
33
- reportHide: X,
34
- rotateAll: Le,
35
- hideAll: Te
56
+ function wt(y, {
57
+ cellWidth: R,
58
+ cellHeight: D,
59
+ maxFontSize: I,
60
+ minFontSize: j,
61
+ index: x,
62
+ reportRotation: V,
63
+ reportHide: _,
64
+ rotateAll: E,
65
+ hideAll: q
36
66
  }) {
37
- b.removeAttribute("transform"), b.removeAttribute("visibility");
38
- let k = !1, fe = !1;
39
- b.setAttribute("font-size", W);
40
- const j = b.getComputedTextLength();
41
- if (j <= P)
42
- le(O, !1), X(O, !1);
67
+ y.removeAttribute("transform"), y.removeAttribute("visibility");
68
+ let f = !1, K = !1;
69
+ y.setAttribute("font-size", I);
70
+ const ee = y.getComputedTextLength();
71
+ if (ee <= R)
72
+ V(x, !1), _(x, !1);
43
73
  else {
44
- const M = Math.floor(W * P / j);
45
- M >= te ? (b.setAttribute("font-size", M), le(O, !1), X(O, !1)) : (le(O, !0), X(O, !1), k = !0);
74
+ const F = Math.floor(I * R / ee);
75
+ F >= j ? (y.setAttribute("font-size", F), V(x, !1), _(x, !1)) : (V(x, !0), _(x, !1), f = !0);
46
76
  }
47
- if (Le && (k = !0), k) {
48
- b.setAttribute("font-size", W);
49
- const M = b.getBBox(), S = M.x + M.width / 2, ae = M.y + M.height / 2;
50
- b.setAttribute("transform", `rotate(-90 ${S} ${ae})`);
51
- const q = b.getBBox().width;
52
- if (q <= ye)
53
- X(O, !1);
77
+ if (E && (f = !0), f) {
78
+ y.setAttribute("font-size", I);
79
+ const F = y.getBBox(), z = F.x + F.width / 2, ie = F.y + F.height / 2;
80
+ y.setAttribute("transform", `rotate(-90 ${z} ${ie})`);
81
+ const te = y.getBBox().width;
82
+ if (te <= D)
83
+ _(x, !1);
54
84
  else {
55
- const oe = Math.floor(W * ye / q);
56
- oe >= te ? (b.setAttribute("font-size", oe), X(O, !1)) : (fe = !0, X(O, !0));
85
+ const ne = Math.floor(I * D / te);
86
+ ne >= j ? (y.setAttribute("font-size", ne), _(x, !1)) : (K = !0, _(x, !0));
57
87
  }
58
88
  }
59
- (Te || fe) && b.setAttribute("visibility", "hidden");
89
+ (q || K) && y.setAttribute("visibility", "hidden");
60
90
  }
61
- const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"], Ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Fl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Dl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Nl = ["font-size", "font-weight", "fill", "x", "y"], Hl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Pl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Xl = ["font-size", "fill", "x", "y", "font-weight"], Il = ["font-size", "fill", "x", "y", "font-weight"], Vl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Bl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], El = { key: 6 }, Ul = ["x", "y", "width", "height", "stroke", "stroke-width"], Yl = { class: "vue-ui-heatmap-legend-gauge-right" }, Gl = ["data-value"], Wl = { class: "vue-ui-heatmap-gauge-indicator-value" }, jl = {
91
+ const $l = ["id"], Ml = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"], Rl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Fl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Nl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Bl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Dl = ["font-size", "font-weight", "fill", "x", "y"], Hl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Pl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Xl = ["font-size", "fill", "x", "y", "font-weight"], Il = ["font-size", "fill", "x", "y", "font-weight"], Vl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], El = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ul = { key: 6 }, Yl = ["x", "y", "width", "height", "stroke", "stroke-width"], Gl = { class: "vue-ui-heatmap-legend-gauge-right" }, Wl = ["data-value"], jl = { class: "vue-ui-heatmap-gauge-indicator-value" }, ql = {
62
92
  key: 4,
63
93
  class: "vue-data-ui-watermark"
64
- }, ql = { class: "vue-ui-data-table" }, Kl = { key: 0 }, Jl = ["data-cell"], Ql = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Zl = ["data-cell"], ea = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ta = {
94
+ }, Kl = { class: "vue-ui-data-table" }, Jl = { key: 0 }, Ql = ["data-cell"], Zl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ea = ["data-cell"], ta = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, la = {
65
95
  __name: "vue-ui-heatmap",
66
96
  props: {
67
97
  config: {
@@ -78,42 +108,42 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
78
108
  }
79
109
  },
80
110
  emits: ["selectDatapoint"],
81
- setup(b, { expose: P, emit: ye }) {
82
- Jt((t) => ({
83
- v0640d7e7: t.tdo
111
+ setup(y, { expose: R, emit: D }) {
112
+ Qt((t) => ({
113
+ v7e341d2a: t.tdo
84
114
  }));
85
- const W = Q(() => import("./Tooltip-VOcQEHa4.js")), te = Q(() => import("./BaseIcon-eZbszQrv.js")), O = Q(() => import("./PenAndPaper-Bo-lMUik.js")), le = Q(() => import("./UserOptions-CSja1SGU.js")), X = Q(() => import("./PackageVersion-BfykJm_B.js")), Le = Q(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_heatmap: Te } = fl(), k = b, fe = ye, j = y({
115
+ const I = oe(() => import("./Tooltip-DaInVNiV.js")), j = oe(() => import("./BaseIcon-DG6cvf2h.js")), x = oe(() => import("./PenAndPaper-D9LruJaM.js")), V = oe(() => import("./UserOptions-CJXSEhan.js")), _ = oe(() => import("./PackageVersion-CQvYRebC.js")), E = oe(() => import("./BaseDraggableDialog-Cysanw8-.js")), { vue_ui_heatmap: q } = gl(), f = y, K = D, ee = g({
86
116
  get() {
87
- return !!k.dataset && k.dataset.length;
117
+ return !!f.dataset && f.dataset.length;
88
118
  },
89
119
  set(t) {
90
120
  return t;
91
121
  }
92
- }), M = d(Be()), S = d(null), ae = d(!1), q = d(""), oe = d(void 0), se = d(null), Ee = d(0), Ue = d(null), Ye = d(0), kt = d(null), ue = d(null), Se = d(null), Ge = d(null), We = d(null), At = d(null), je = d(null), Ct = d(null), _e = d(null), ze = d(null), Lt = d(null), qe = d(null), K = Qt(null), e = d(Re());
122
+ }), F = d(Ie()), z = d(null), ie = d(!1), te = d(""), ne = d(void 0), re = d(null), Ee = d(0), Ue = d(null), Ye = d(0), kt = d(null), ve = d(null), _e = d(null), Ge = d(null), We = d(null), At = d(null), je = d(null), Ct = d(null), ze = d(null), $e = d(null), Lt = d(null), qe = d(null), le = Zt(null), e = d(Fe());
93
123
  function Tt() {
94
- const t = Array(7).fill("_"), o = [], a = 14, s = t.length;
95
- for (let v = 0; v < s; v += 1) {
124
+ const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
125
+ for (let v = 0; v < o; v += 1) {
96
126
  const c = [];
97
- for (let x = 0; x < a; x += 1)
98
- c.push(v + x * 2);
99
- o.push({
127
+ for (let k = 0; k < a; k += 1)
128
+ c.push(v + k * 2);
129
+ s.push({
100
130
  name: `${t[v]}`,
101
131
  values: c
102
132
  });
103
133
  }
104
- return o;
134
+ return s;
105
135
  }
106
- const { loading: pe, FINAL_DATASET: m, manualLoading: $e } = gl({
107
- ...Zt(k),
136
+ const { loading: be, FINAL_DATASET: w, manualLoading: Me } = bl({
137
+ ...el(f),
108
138
  FINAL_CONFIG: e,
109
- prepareConfig: Re,
139
+ prepareConfig: Fe,
110
140
  callback: () => {
111
141
  Promise.resolve().then(async () => {
112
- await Ie(), S.value && rl(S.value);
142
+ await Se(), z.value && vl(z.value, { delta: 0.1, delay: 250 });
113
143
  });
114
144
  },
115
145
  skeletonDataset: Tt(),
116
- skeletonConfig: sl({
146
+ skeletonConfig: ul({
117
147
  defaultConfig: e.value,
118
148
  userConfig: {
119
149
  table: { show: !1 },
@@ -138,52 +168,52 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
138
168
  }
139
169
  }
140
170
  })
141
- }), { userOptionsVisible: Oe, setUserOptionsVisibility: St, keepUserOptionState: Ke } = wl({ config: e.value }), { svgRef: Me } = kl({ config: e.value.style.title });
171
+ }), { userOptionsVisible: Oe, setUserOptionsVisibility: St, keepUserOptionState: Ke } = kl({ config: e.value }), { svgRef: Re } = Al({ config: e.value.style.title });
142
172
  function Je(t) {
143
173
  St(t);
144
174
  }
145
- function Re() {
175
+ function Fe() {
146
176
  const t = bt({
147
- userConfig: k.config,
148
- defaultConfig: Te
177
+ userConfig: f.config,
178
+ defaultConfig: q
149
179
  });
150
- let o = {};
151
- return t.theme ? o = {
180
+ let s = {};
181
+ return t.theme ? s = {
152
182
  ...bt({
153
- userConfig: Ll.vue_ui_heatmap[t.theme] || k.config,
183
+ userConfig: Tl.vue_ui_heatmap[t.theme] || f.config,
154
184
  defaultConfig: t
155
185
  })
156
- } : o = t, k.config && ul(k.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? o.style.layout.dataLabels.xAxis.showOnlyAtModulo = k.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : o.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, o;
186
+ } : s = t, f.config && il(f.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = f.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
157
187
  }
158
- we(() => k.config, (t) => {
159
- pe.value || (e.value = Re()), Oe.value = !e.value.userOptions.showOnChartHover, Fe(), Ye.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.tooltip.show, ie.value = e.value.style.layout.width, ne.value = e.value.style.layout.height;
160
- }, { deep: !0 }), we(() => k.dataset, (t) => {
161
- Array.isArray(t) && t.length > 0 && ($e.value = !1), Fe();
188
+ Ae(() => f.config, (t) => {
189
+ be.value || (e.value = Fe()), Oe.value = !e.value.userOptions.showOnChartHover, Ne(), Ye.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.tooltip.show, ce.value = e.value.style.layout.width, de.value = e.value.style.layout.height;
190
+ }, { deep: !0 }), Ae(() => f.dataset, (t) => {
191
+ Array.isArray(t) && t.length > 0 && (Me.value = !1), Ne();
162
192
  }, { deep: !0 });
163
193
  const { isPrinting: Qe, isImaging: Ze, generatePdf: et, generateImage: tt } = pl({
164
- elementId: `heatmap__${M.value}`,
194
+ elementId: `heatmap__${F.value}`,
165
195
  fileName: e.value.style.title.text || "vue-ui-heatmap",
166
196
  options: e.value.userOptions.print
167
- }), _t = y(() => e.value.userOptions.show && !e.value.style.title.text), $ = d({
197
+ }), _t = g(() => e.value.userOptions.show && !e.value.style.title.text), O = d({
168
198
  showTable: e.value.table.show,
169
199
  showTooltip: e.value.style.tooltip.show
170
200
  });
171
- we(e, () => {
172
- $.value = {
201
+ Ae(e, () => {
202
+ O.value = {
173
203
  showTable: e.value.table.show,
174
204
  showTooltip: e.value.style.tooltip.show
175
205
  };
176
206
  }, { immediate: !0 });
177
- const zt = y(() => e.value.table.responsiveBreakpoint), I = d(null), lt = y(() => !!e.value.debug);
178
- function Fe() {
179
- if (pt(k.dataset) && (gt({
207
+ const zt = g(() => e.value.table.responsiveBreakpoint), U = d(null), lt = g(() => !!e.value.debug);
208
+ function Ne() {
209
+ if (gt(f.dataset) && (pt({
180
210
  componentName: "VueUiHeatmap",
181
211
  type: "dataset",
182
212
  debug: lt.value
183
- }), j.value = !1, $e.value = !0), pt(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
184
- const t = Ce(() => {
185
- const { width: o, height: a } = yl({
186
- chart: S.value,
213
+ }), ee.value = !1, Me.value = !0), gt(f.dataset) || (Me.value = e.value.loading), e.value.responsive) {
214
+ const t = Te(() => {
215
+ const { width: s, height: a } = fl({
216
+ chart: z.value,
187
217
  title: e.value.style.title.text ? Ge.value : null,
188
218
  // add legend hirizontal in legend attr
189
219
  // add legend vertical in some other attr and modify composable to subtract width
@@ -191,276 +221,255 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
191
221
  noTitle: We.value
192
222
  });
193
223
  requestAnimationFrame(() => {
194
- ie.value = o, ne.value = a;
224
+ ce.value = s, de.value = a;
195
225
  });
196
226
  });
197
- I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect()), I.value = new ResizeObserver(t), K.value = S.value.parentNode, I.value.observe(K.value);
227
+ U.value && (le.value && U.value.unobserve(le.value), U.value.disconnect()), U.value = new ResizeObserver(t), le.value = z.value.parentNode, U.value.observe(le.value);
198
228
  }
199
229
  }
200
230
  dt(() => {
201
- I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect());
202
- }), el(() => {
203
- Fe();
231
+ U.value && (le.value && U.value.unobserve(le.value), U.value.disconnect());
232
+ }), tl(() => {
233
+ Ne();
204
234
  });
205
- const D = y(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ie = d(e.value.style.layout.width), ne = d(e.value.style.layout.height), _ = y(() => ({
206
- width: Math.max(10, ie.value),
207
- height: Math.max(10, ne.value)
208
- })), re = d(0), $t = Ce((t) => {
209
- re.value = t;
235
+ const H = g(() => Math.max(...w.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height), $ = g(() => ({
236
+ width: Math.max(10, ce.value),
237
+ height: Math.max(10, de.value)
238
+ })), he = d(0), $t = Te((t) => {
239
+ he.value = t;
210
240
  }, 100);
211
- Xe((t) => {
212
- const o = _e.value;
213
- if (!o) return;
214
- const a = new ResizeObserver((s) => {
215
- $t(s[0].contentRect.height);
216
- });
217
- a.observe(o), t(() => a.disconnect());
218
- });
219
- const J = d(0), Ot = Ce((t) => {
220
- J.value = t;
241
+ Ve({ elementRef: ze, callback: $t, attr: "height" });
242
+ const ae = d(0), Mt = Te((t) => {
243
+ ae.value = t;
221
244
  }, 100);
222
- Xe((t) => {
223
- const o = je.value;
224
- if (!o) return;
225
- const a = new ResizeObserver((s) => {
226
- Ot(s[0].contentRect.width);
227
- });
228
- a.observe(o), t(() => a.disconnect());
229
- });
230
- const ge = d(0), Mt = Ce((t) => {
231
- ge.value = t;
245
+ Ve({ elementRef: je, callback: Mt, attr: "width" });
246
+ const me = d(0), Ot = Te((t) => {
247
+ me.value = t;
232
248
  }, 100);
233
- Xe((t) => {
234
- const o = ze.value;
235
- if (!o) return;
236
- const a = new ResizeObserver((s) => {
237
- Mt(s[0].contentRect.height);
238
- });
239
- a.observe(o), t(() => a.disconnect());
240
- }), dt(() => {
241
- re.value = 0, J.value = 0, ge.value = 0;
249
+ Ve({ elementRef: $e, callback: Ot, attr: "height" }), dt(() => {
250
+ he.value = 0, ae.value = 0, me.value = 0;
242
251
  });
243
- const r = y(() => Math.min(_.value.height, _.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = y(() => {
252
+ const r = g(() => Math.min($.value.height, $.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
244
253
  let t = 0;
245
254
  e.value.style.legend.show && (t = e.value.style.legend.width);
246
- const o = e.value.style.layout.padding, a = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, v = _.value.height - o.top - o.bottom - re.value - a, c = _.value.width / 60, x = {
247
- x: r.value * D.value,
248
- y: r.value * ((m.value || []).length + 1)
249
- }, N = _.value.width - o.left - o.right - x.x - c * 2 - 2 - t - J.value, h = v - c - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
250
- width: Math.max(3, N / D.value),
251
- height: Math.max(3, h / (m.value.length ?? 1))
255
+ 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 = $.value.height - s.top - s.bottom - he.value - a, c = $.value.width / 60, k = {
256
+ x: r.value * H.value,
257
+ y: r.value * ((w.value || []).length + 1)
258
+ }, P = $.value.width - s.left - s.right - k.x - c * 2 - 2 - t - ae.value, h = v - c - k.y - me.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, C = {
259
+ width: Math.max(3, P / H.value),
260
+ height: Math.max(3, h / (w.value.length ?? 1))
252
261
  };
253
262
  return {
254
- top: o.top + re.value + c + a,
255
- topLabelsHeight: re.value,
263
+ top: s.top + he.value + c + a,
264
+ topLabelsHeight: he.value,
256
265
  sumCellXHeight: c,
257
266
  height: h,
258
- left: o.left + J.value + c / 2,
259
- right: o.right - t,
260
- bottom: _.value.height - o.bottom - ge.value,
261
- width: N,
262
- cellSize: A
267
+ left: s.left + ae.value + c / 2,
268
+ right: s.right - t,
269
+ bottom: $.value.height - s.bottom - me.value,
270
+ width: P,
271
+ cellSize: C
263
272
  };
264
- }), V = y(() => Math.max(...m.value.flatMap((t) => t.values))), ve = y(() => Math.min(...m.value.flatMap((t) => t.values))), U = y(() => {
265
- const t = m.value.flatMap((a) => a.values);
266
- return t.reduce((a, s) => a + s, 0) / t.length;
267
- }), Rt = y(() => mt({
268
- values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : m.value.map((t) => t.name),
269
- maxDatapoints: m.value.length,
273
+ }), Y = g(() => Math.max(...w.value.flatMap((t) => t.values))), ye = g(() => Math.min(...w.value.flatMap((t) => t.values))), J = g(() => {
274
+ const t = w.value.flatMap((a) => a.values);
275
+ return t.reduce((a, o) => a + o, 0) / t.length;
276
+ }), Rt = g(() => mt({
277
+ values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : w.value.map((t) => t.name),
278
+ maxDatapoints: w.value.length,
270
279
  formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
271
280
  start: 0,
272
- end: m.value.length
273
- })), Ft = y(() => mt({
281
+ end: w.value.length
282
+ })), Ft = g(() => mt({
274
283
  values: e.value.style.layout.dataLabels.xAxis.values,
275
- maxDatapoints: D.value,
284
+ maxDatapoints: H.value,
276
285
  formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
277
286
  start: 0,
278
- end: D.value
279
- })), g = y(() => {
280
- const t = Rt.value.map((h) => h.text), o = Ft.value.map((h) => h.text), a = m.value.map((h) => h.values.reduce((A, Pe) => A + Pe, 0)), s = Math.max(...a), v = Math.min(...a), c = [];
281
- for (let h = 0; h < D.value; h += 1)
282
- c.push(m.value.map((A) => A.values[h] || 0).reduce((A, Pe) => A + Pe, 0));
283
- const x = Math.max(...c), N = Math.min(...c);
287
+ end: H.value
288
+ })), m = g(() => {
289
+ const t = Rt.value.map((h) => h.text), s = Ft.value.map((h) => h.text), a = w.value.map((h) => h.values.reduce((C, Pe) => C + Pe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
290
+ for (let h = 0; h < H.value; h += 1)
291
+ c.push(w.value.map((C) => C.values[h] || 0).reduce((C, Pe) => C + Pe, 0));
292
+ const k = Math.max(...c), P = Math.min(...c);
284
293
  return {
285
294
  yTotals: a.map((h) => {
286
- const A = isNaN(h / s) ? 0 : h / s;
295
+ const C = isNaN(h / o) ? 0 : h / o;
287
296
  return {
288
297
  total: h,
289
- proportion: A,
290
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, s, h)
298
+ proportion: C,
299
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
291
300
  };
292
301
  }),
293
302
  xTotals: c.map((h) => {
294
- const A = isNaN(h / x) ? 0 : h / x;
303
+ const C = isNaN(h / k) ? 0 : h / k;
295
304
  return {
296
305
  total: h,
297
- proportion: A,
298
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, h)
306
+ proportion: C,
307
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, P, k, h)
299
308
  };
300
309
  }),
301
310
  yLabels: t,
302
- xLabels: o.slice(0, D.value)
311
+ xLabels: s.slice(0, H.value)
303
312
  };
304
- }), Y = y(() => (m.value.forEach((t, o) => {
305
- il({
313
+ }), Q = g(() => (w.value.forEach((t, s) => {
314
+ nl({
306
315
  datasetObject: t,
307
316
  requiredAttributes: ["values"]
308
317
  }).forEach((a) => {
309
- gt({
318
+ pt({
310
319
  componentName: "VueUiHeatmap",
311
320
  type: "datasetSerieAttribute",
312
321
  property: "values",
313
- index: o,
322
+ index: s,
314
323
  debug: lt.value
315
324
  });
316
325
  });
317
- }), m.value.map((t, o) => ({
326
+ }), w.value.map((t, s) => ({
318
327
  ...t,
319
- temperatures: (t.values || []).map((a, s) => a >= U.value ? {
328
+ temperatures: (t.values || []).map((a, o) => a >= J.value ? {
320
329
  side: "up",
321
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
322
- ratio: Math.abs(Math.abs(a - U.value) / Math.abs(V.value - U.value)) > 1 ? 1 : Math.abs(Math.abs(a - U.value) / Math.abs(V.value - U.value)),
330
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, Y.value, a),
331
+ ratio: Math.abs(Math.abs(a - J.value) / Math.abs(Y.value - J.value)) > 1 ? 1 : Math.abs(Math.abs(a - J.value) / Math.abs(Y.value - J.value)),
323
332
  value: a,
324
- yAxisName: g.value.yLabels[o],
325
- xAxisName: g.value.xLabels[s],
326
- id: `vue-data-ui-heatmap-cell-${Be()}`
333
+ yAxisName: m.value.yLabels[s],
334
+ xAxisName: m.value.xLabels[o],
335
+ id: `vue-data-ui-heatmap-cell-${Ie()}`
327
336
  } : {
328
337
  side: "down",
329
- ratio: Math.abs(1 - Math.abs(a) / Math.abs(U.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(U.value)),
330
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
338
+ ratio: Math.abs(1 - Math.abs(a) / Math.abs(J.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(J.value)),
339
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, Y.value, a),
331
340
  value: a,
332
- yAxisName: g.value.yLabels[o],
333
- xAxisName: g.value.xLabels[s],
334
- id: `vue-data-ui-heatmap-cell-${Be()}`
341
+ yAxisName: m.value.yLabels[s],
342
+ xAxisName: m.value.xLabels[o],
343
+ id: `vue-data-ui-heatmap-cell-${Ie()}`
335
344
  })
336
- })))), at = y(() => m.value.length), ot = ht(Array(at.value * D.value || 1).fill(!1)), Dt = y(() => ot.some((t) => t));
337
- function Nt(t, o) {
338
- ot[t] = o;
345
+ })))), at = g(() => w.value.length), ot = ht(Array(at.value * H.value || 1).fill(!1)), Nt = g(() => ot.some((t) => t));
346
+ function Bt(t, s) {
347
+ ot[t] = s;
339
348
  }
340
- const st = ht(Array(at.value * D.value || 1).fill(!1)), Ht = y(() => st.some((t) => t));
341
- function Pt(t, o) {
342
- st[t] = o;
349
+ const st = ht(Array(at.value * H.value || 1).fill(!1)), Dt = g(() => st.some((t) => t));
350
+ function Ht(t, s) {
351
+ st[t] = s;
343
352
  }
344
- const R = d(null), be = d(null);
345
- function Xt(t, o, a, s) {
346
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: o }), se.value = { x: a, y: s };
347
- const { value: v, yAxisName: c, xAxisName: x, id: N } = t;
348
- oe.value = N, R.value = v, be.value = {
353
+ const N = d(null), xe = d(null);
354
+ function Pt(t, s, a, o) {
355
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), re.value = { x: a, y: o };
356
+ const { value: v, yAxisName: c, xAxisName: k, id: P } = t;
357
+ ne.value = P, N.value = v, xe.value = {
349
358
  datapoint: t,
350
- seriesIndex: o,
351
- series: Y.value,
359
+ seriesIndex: s,
360
+ series: Q.value,
352
361
  config: e.value
353
- }, ae.value = !0;
362
+ }, ie.value = !0;
354
363
  let h = "";
355
- const A = e.value.style.tooltip.customFormat;
356
- dl(A) && hl(() => A({
364
+ const C = e.value.style.tooltip.customFormat;
365
+ hl(C) && yl(() => C({
357
366
  datapoint: t,
358
- seriesIndex: o,
359
- series: Y.value,
367
+ seriesIndex: s,
368
+ series: Q.value,
360
369
  config: e.value
361
- })) ? q.value = A({
370
+ })) ? te.value = C({
362
371
  datapoint: t,
363
- seriesIndex: o,
364
- series: Y.value,
372
+ seriesIndex: s,
373
+ series: Q.value,
365
374
  config: e.value
366
- }) : (h += `<div>${c} ${x ? c ? ` - ${x}` : `${x}` : ""}</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:${he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, v)}">⬤</span><span>${isNaN(v) ? "-" : B(
375
+ }) : (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:${pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, Y.value, v)}">⬤</span><span>${isNaN(v) ? "-" : G(
367
376
  e.value.style.layout.cells.value.formatter,
368
377
  v,
369
- H({
378
+ X({
370
379
  p: e.value.style.layout.dataLabels.prefix,
371
380
  v,
372
381
  s: e.value.style.layout.dataLabels.suffix,
373
382
  r: e.value.style.tooltip.roundingValue
374
383
  }),
375
- { datapoint: t, seriesIndex: o }
376
- )}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
384
+ { datapoint: t, seriesIndex: s }
385
+ )}</span></div>`, te.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
377
386
  }
378
- function It({ datapoint: t, seriesIndex: o }) {
379
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: o }), ae.value = !1, oe.value = void 0, R.value = null, se.value = null;
387
+ function Xt({ datapoint: t, seriesIndex: s }) {
388
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ie.value = !1, ne.value = void 0, N.value = null, re.value = null;
380
389
  }
381
- function Vt(t) {
382
- return B(
390
+ function It(t) {
391
+ return G(
383
392
  e.value.style.layout.cells.value.formatter,
384
- g.value.yTotals[t].total,
385
- H({
393
+ m.value.yTotals[t].total,
394
+ X({
386
395
  p: e.value.style.layout.dataLabels.prefix,
387
- v: g.value.yTotals[t].total,
396
+ v: m.value.yTotals[t].total,
388
397
  s: e.value.style.layout.dataLabels.suffix,
389
398
  r: e.value.style.layout.cells.value.roundingValue
390
399
  }),
391
- { datapoint: g.value.yTotals[t], rowIndex: t }
400
+ { datapoint: m.value.yTotals[t], rowIndex: t }
392
401
  );
393
402
  }
394
- function Bt(t) {
395
- return B(
403
+ function Vt(t) {
404
+ return G(
396
405
  e.value.style.layout.cells.value.formatter,
397
- g.value.xTotals[t].total,
398
- H({
406
+ m.value.xTotals[t].total,
407
+ X({
399
408
  p: e.value.style.layout.dataLabels.prefix,
400
- v: g.value.xTotals[t].total,
409
+ v: m.value.xTotals[t].total,
401
410
  s: e.value.style.layout.dataLabels.suffix,
402
411
  r: e.value.style.layout.cells.value.roundingValue
403
412
  }),
404
- { datapoint: g.value.xTotals[t], colIndex: t }
413
+ { datapoint: m.value.xTotals[t], colIndex: t }
405
414
  );
406
415
  }
407
- y(() => {
408
- const t = m.value.map((a) => ({
416
+ g(() => {
417
+ const t = w.value.map((a) => ({
409
418
  name: a.name
410
- })), o = m.value.map((a) => a.values);
411
- return { head: t, body: o };
419
+ })), s = w.value.map((a) => a.values);
420
+ return { head: t, body: s };
412
421
  });
413
- function De(t = null) {
414
- Ie(() => {
415
- const o = ["", ...m.value.map((c, x) => c.name)], a = [];
416
- for (let c = 0; c < g.value.xLabels.length; c += 1) {
417
- const x = [g.value.xLabels[c]];
418
- for (let N = 0; N < m.value.length; N += 1)
419
- x.push([m.value[N].values[c]]);
420
- a.push(x);
422
+ function Be(t = null) {
423
+ Se(() => {
424
+ const s = ["", ...w.value.map((c, k) => c.name)], a = [];
425
+ for (let c = 0; c < m.value.xLabels.length; c += 1) {
426
+ const k = [m.value.xLabels[c]];
427
+ for (let P = 0; P < w.value.length; P += 1)
428
+ k.push([w.value[P].values[c]]);
429
+ a.push(k);
421
430
  }
422
- const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), v = vl(s);
423
- t ? t(v) : cl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
431
+ const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(a), v = cl(o);
432
+ t ? t(v) : dl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
424
433
  });
425
434
  }
426
- const G = d(!1);
435
+ const Z = d(!1);
427
436
  function ut(t) {
428
- G.value = t, Ee.value += 1;
437
+ Z.value = t, Ee.value += 1;
429
438
  }
430
439
  function it() {
431
- $.value.showTable = !$.value.showTable;
440
+ O.value.showTable = !O.value.showTable;
432
441
  }
433
442
  function nt() {
434
- $.value.showTooltip = !$.value.showTooltip;
443
+ O.value.showTooltip = !O.value.showTooltip;
435
444
  }
436
- const me = d(!1);
437
- function Ne() {
438
- me.value = !me.value;
445
+ const we = d(!1);
446
+ function De() {
447
+ we.value = !we.value;
439
448
  }
440
- function Et(t, o) {
441
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o }), fe("selectDatapoint", t);
449
+ function Et(t, s) {
450
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), K("selectDatapoint", t);
442
451
  }
443
452
  function Ut() {
444
- return Y.value;
453
+ return Q.value;
445
454
  }
446
455
  async function Yt({ scale: t = 2 } = {}) {
447
- if (!S.value) return;
448
- const { width: o, height: a } = S.value.getBoundingClientRect(), s = o / a, { imageUri: v, base64: c } = await Al({ domElement: S.value, base64: !0, img: !0, scale: t });
456
+ if (!z.value) return;
457
+ const { width: s, height: a } = z.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await Cl({ domElement: z.value, base64: !0, img: !0, scale: t });
449
458
  return {
450
459
  imageUri: v,
451
460
  base64: c,
452
461
  title: e.value.style.title.text,
453
- width: o,
462
+ width: s,
454
463
  height: a,
455
- aspectRatio: s
464
+ aspectRatio: o
456
465
  };
457
466
  }
458
- const rt = y(() => ({
467
+ const rt = g(() => ({
459
468
  start: 0,
460
- end: D.value
461
- })), vt = y(() => g.value.xLabels);
469
+ end: H.value
470
+ })), vt = g(() => m.value.xLabels);
462
471
  xt({
463
- timeLabelsEls: _e,
472
+ timeLabelsEls: ze,
464
473
  timeLabels: vt,
465
474
  slicer: rt,
466
475
  configRef: e,
@@ -469,10 +478,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
469
478
  isAutoSize: !1,
470
479
  targetClass: ".vue-ui-heatmap-col-name",
471
480
  rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
472
- width: ie,
473
- height: ne
481
+ width: ce,
482
+ height: de
474
483
  }), xt({
475
- timeLabelsEls: ze,
484
+ timeLabelsEls: $e,
476
485
  timeLabels: vt,
477
486
  slicer: rt,
478
487
  configRef: e,
@@ -481,26 +490,26 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
481
490
  isAutoSize: !1,
482
491
  targetClass: ".vue-ui-heatmap-col-total",
483
492
  rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
484
- width: ie,
485
- height: ne
493
+ width: ce,
494
+ height: de
486
495
  });
487
- const xe = y(() => {
488
- const t = e.value.table.useDialog && !e.value.table.show, o = $.value.showTable;
496
+ const ke = g(() => {
497
+ const t = e.value.table.useDialog && !e.value.table.show, s = O.value.showTable;
489
498
  return {
490
- component: t ? Le : Tl,
499
+ component: t ? E : Sl,
491
500
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
492
501
  props: t ? {
493
502
  backgroundColor: e.value.table.th.backgroundColor,
494
503
  color: e.value.table.th.color,
495
504
  headerColor: e.value.table.th.color,
496
505
  headerBg: e.value.table.th.backgroundColor,
497
- isFullscreen: G.value,
498
- fullscreenParent: S.value,
506
+ isFullscreen: Z.value,
507
+ fullscreenParent: z.value,
499
508
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
500
509
  } : {
501
510
  hideDetails: !0,
502
511
  config: {
503
- open: o,
512
+ open: s,
504
513
  maxHeight: 1e4,
505
514
  body: {
506
515
  backgroundColor: e.value.style.backgroundColor,
@@ -514,67 +523,67 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
514
523
  }
515
524
  };
516
525
  });
517
- we(() => $.value.showTable, async (t) => {
518
- e.value.table.show || (t && e.value.table.useDialog && ue.value ? (await Ie(), ue.value.open()) : "close" in ue.value && ue.value.close());
526
+ Ae(() => O.value.showTable, async (t) => {
527
+ e.value.table.show || (t && e.value.table.useDialog && ve.value ? (await Se(), ve.value.open()) : "close" in ve.value && ve.value.close());
519
528
  });
520
- const { isResponsive: Gt } = xl(Ue, zt);
529
+ const { isResponsive: Gt } = wl(Ue, zt);
521
530
  function He() {
522
- $.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
531
+ O.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
523
532
  }
524
- const Wt = y(() => e.value.style.backgroundColor), jt = y(() => e.value.style.title), { exportSvg: qt, getSvg: Kt } = ml({
525
- svg: Me,
533
+ const Wt = g(() => e.value.style.backgroundColor), jt = g(() => e.value.style.title), { exportSvg: qt, getSvg: Kt } = xl({
534
+ svg: Re,
526
535
  title: jt,
527
536
  backgroundColor: Wt
528
537
  });
529
538
  async function ct({ isCb: t }) {
530
539
  if (t) {
531
- const { blob: o, url: a, text: s, dataUrl: v } = await Kt();
532
- e.value.userOptions.callbacks.svg({ blob: o, url: a, text: s, dataUrl: v });
540
+ const { blob: s, url: a, text: o, dataUrl: v } = await Kt();
541
+ e.value.userOptions.callbacks.svg({ blob: s, url: a, text: o, dataUrl: v });
533
542
  } else
534
543
  qt();
535
544
  }
536
- return P({
545
+ return R({
537
546
  getData: Ut,
538
547
  getImage: Yt,
539
548
  generatePdf: et,
540
- generateCsv: De,
549
+ generateCsv: Be,
541
550
  generateImage: tt,
542
551
  generateSvg: ct,
543
552
  toggleTable: it,
544
553
  toggleTooltip: nt,
545
- toggleAnnotator: Ne,
554
+ toggleAnnotator: De,
546
555
  toggleFullscreen: ut
547
- }), (t, o) => (u(), n("div", {
556
+ }), (t, s) => (u(), n("div", {
548
557
  ref_key: "heatmapChart",
549
- ref: S,
550
- class: ce(`vue-data-ui-component vue-ui-heatmap ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
551
- style: w(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
552
- id: `heatmap__${M.value}`,
553
- onMouseenter: o[1] || (o[1] = () => Je(!0)),
554
- onMouseleave: o[2] || (o[2] = () => Je(!1))
558
+ ref: z,
559
+ class: fe(`vue-data-ui-component vue-ui-heatmap ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
560
+ style: A(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
561
+ id: `heatmap__${F.value}`,
562
+ onMouseenter: s[1] || (s[1] = () => Je(!0)),
563
+ onMouseleave: s[2] || (s[2] = () => Je(!1))
555
564
  }, [
556
- e.value.userOptions.buttons.annotator ? (u(), de(i(O), {
565
+ e.value.userOptions.buttons.annotator ? (u(), ge(i(x), {
557
566
  key: 0,
558
- svgRef: i(Me),
567
+ svgRef: i(Re),
559
568
  backgroundColor: e.value.style.backgroundColor,
560
569
  color: e.value.style.color,
561
- active: me.value,
562
- onClose: Ne
563
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
570
+ active: we.value,
571
+ onClose: De
572
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
564
573
  _t.value ? (u(), n("div", {
565
574
  key: 1,
566
575
  ref_key: "noTitle",
567
576
  ref: We,
568
577
  class: "vue-data-ui-no-title-space",
569
578
  style: "height:36px; width: 100%;background:transparent"
570
- }, null, 512)) : f("", !0),
579
+ }, null, 512)) : p("", !0),
571
580
  e.value.style.title.text ? (u(), n("div", {
572
581
  key: 2,
573
582
  ref_key: "chartTitle",
574
583
  ref: Ge,
575
584
  style: "width:100%;background:transparent"
576
585
  }, [
577
- (u(), de(Cl, {
586
+ (u(), ge(Ll, {
578
587
  key: `title_${Ye.value}`,
579
588
  config: {
580
589
  title: {
@@ -587,16 +596,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
587
596
  }
588
597
  }
589
598
  }, null, 8, ["config"]))
590
- ], 512)) : f("", !0),
591
- e.value.userOptions.show && j.value && (i(Ke) || i(Oe)) ? (u(), de(i(le), {
599
+ ], 512)) : p("", !0),
600
+ e.value.userOptions.show && ee.value && (i(Ke) || i(Oe)) ? (u(), ge(i(V), {
592
601
  ref_key: "userOptionsRef",
593
- ref: Se,
602
+ ref: _e,
594
603
  key: `user_options_${Ee.value}`,
595
604
  backgroundColor: e.value.style.backgroundColor,
596
605
  color: e.value.style.color,
597
606
  isImaging: i(Ze),
598
607
  isPrinting: i(Qe),
599
- uid: M.value,
608
+ uid: F.value,
600
609
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
601
610
  hasPdf: e.value.userOptions.buttons.pdf,
602
611
  hasImg: e.value.userOptions.buttons.img,
@@ -604,104 +613,104 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
604
613
  hasXls: e.value.userOptions.buttons.csv,
605
614
  hasTable: e.value.userOptions.buttons.table,
606
615
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
607
- isFullscreen: G.value,
608
- isTooltip: $.value.showTooltip,
616
+ isFullscreen: Z.value,
617
+ isTooltip: O.value.showTooltip,
609
618
  titles: { ...e.value.userOptions.buttonTitles },
610
- chartElement: S.value,
619
+ chartElement: z.value,
611
620
  position: e.value.userOptions.position,
612
621
  hasAnnotator: e.value.userOptions.buttons.annotator,
613
- isAnnotation: me.value,
622
+ isAnnotation: we.value,
614
623
  callbacks: e.value.userOptions.callbacks,
615
624
  printScale: e.value.userOptions.print.scale,
616
625
  tableDialog: e.value.table.useDialog,
617
626
  onToggleFullscreen: ut,
618
627
  onGeneratePdf: i(et),
619
- onGenerateCsv: De,
628
+ onGenerateCsv: Be,
620
629
  onGenerateImage: i(tt),
621
630
  onGenerateSvg: ct,
622
631
  onToggleTable: it,
623
632
  onToggleTooltip: nt,
624
- onToggleAnnotator: Ne,
625
- style: w({
633
+ onToggleAnnotator: De,
634
+ style: A({
626
635
  visibility: i(Ke) ? i(Oe) ? "visible" : "hidden" : "visible"
627
636
  })
628
637
  }, yt({ _: 2 }, [
629
638
  t.$slots.menuIcon ? {
630
639
  name: "menuIcon",
631
- fn: z(({ isOpen: a, color: s }) => [
632
- L(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: s })), void 0, !0)
640
+ fn: M(({ isOpen: a, color: o }) => [
641
+ T(t.$slots, "menuIcon", se(ue({ isOpen: a, color: o })), void 0, !0)
633
642
  ]),
634
643
  key: "0"
635
644
  } : void 0,
636
645
  t.$slots.optionTooltip ? {
637
646
  name: "optionTooltip",
638
- fn: z(() => [
639
- L(t.$slots, "optionTooltip", {}, void 0, !0)
647
+ fn: M(() => [
648
+ T(t.$slots, "optionTooltip", {}, void 0, !0)
640
649
  ]),
641
650
  key: "1"
642
651
  } : void 0,
643
652
  t.$slots.optionPdf ? {
644
653
  name: "optionPdf",
645
- fn: z(() => [
646
- L(t.$slots, "optionPdf", {}, void 0, !0)
654
+ fn: M(() => [
655
+ T(t.$slots, "optionPdf", {}, void 0, !0)
647
656
  ]),
648
657
  key: "2"
649
658
  } : void 0,
650
659
  t.$slots.optionCsv ? {
651
660
  name: "optionCsv",
652
- fn: z(() => [
653
- L(t.$slots, "optionCsv", {}, void 0, !0)
661
+ fn: M(() => [
662
+ T(t.$slots, "optionCsv", {}, void 0, !0)
654
663
  ]),
655
664
  key: "3"
656
665
  } : void 0,
657
666
  t.$slots.optionImg ? {
658
667
  name: "optionImg",
659
- fn: z(() => [
660
- L(t.$slots, "optionImg", {}, void 0, !0)
668
+ fn: M(() => [
669
+ T(t.$slots, "optionImg", {}, void 0, !0)
661
670
  ]),
662
671
  key: "4"
663
672
  } : void 0,
664
673
  t.$slots.optionTable ? {
665
674
  name: "optionTable",
666
- fn: z(() => [
667
- L(t.$slots, "optionTable", {}, void 0, !0)
675
+ fn: M(() => [
676
+ T(t.$slots, "optionTable", {}, void 0, !0)
668
677
  ]),
669
678
  key: "5"
670
679
  } : void 0,
671
680
  t.$slots.optionFullscreen ? {
672
681
  name: "optionFullscreen",
673
- fn: z(({ toggleFullscreen: a, isFullscreen: s }) => [
674
- L(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
682
+ fn: M(({ toggleFullscreen: a, isFullscreen: o }) => [
683
+ T(t.$slots, "optionFullscreen", se(ue({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
675
684
  ]),
676
685
  key: "6"
677
686
  } : void 0,
678
687
  t.$slots.optionAnnotator ? {
679
688
  name: "optionAnnotator",
680
- fn: z(({ toggleAnnotator: a, isAnnotator: s }) => [
681
- L(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
689
+ fn: M(({ toggleAnnotator: a, isAnnotator: o }) => [
690
+ T(t.$slots, "optionAnnotator", se(ue({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
682
691
  ]),
683
692
  key: "7"
684
693
  } : void 0
685
- ]), 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),
686
- p("div", {
687
- class: ce({
694
+ ]), 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"])) : p("", !0),
695
+ b("div", {
696
+ class: fe({
688
697
  "vue-ui-heatmap-chart-wrapper": !0,
689
698
  "vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
690
699
  })
691
700
  }, [
692
701
  (u(), n("svg", {
693
702
  ref_key: "svgRef",
694
- ref: Me,
695
- xmlns: i(nl),
696
- class: ce({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
697
- viewBox: `0 0 ${_.value.width} ${_.value.height}`,
703
+ ref: Re,
704
+ xmlns: i(rl),
705
+ class: fe({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
706
+ viewBox: `0 0 ${$.value.width} ${$.value.height}`,
698
707
  width: "100%",
699
- style: w(`overflow: visible; background:transparent;color:${e.value.style.color}`),
708
+ style: A(`overflow: visible; background:transparent;color:${e.value.style.color}`),
700
709
  "aria-live": "polite",
701
710
  role: "img",
702
711
  preserveAspectRatio: "xMidYMid"
703
712
  }, [
704
- ke(i(X)),
713
+ Ce(i(_)),
705
714
  t.$slots["chart-background"] ? (u(), n("foreignObject", {
706
715
  key: 0,
707
716
  x: l.value.left,
@@ -712,73 +721,73 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
712
721
  pointerEvents: "none"
713
722
  }
714
723
  }, [
715
- L(t.$slots, "chart-background", {}, void 0, !0)
716
- ], 8, Ol)) : f("", !0),
724
+ T(t.$slots, "chart-background", {}, void 0, !0)
725
+ ], 8, Ol)) : p("", !0),
717
726
  e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
718
727
  key: 1,
719
728
  ref_key: "xAxisSumRects",
720
729
  ref: Lt
721
730
  }, [
722
- (u(!0), n(C, null, F(g.value.xTotals, (a, s) => (u(), n("rect", {
723
- x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
724
- y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
731
+ (u(!0), n(L, null, B(m.value.xTotals, (a, o) => (u(), n("rect", {
732
+ x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
733
+ y: l.value.top - l.value.sumCellXHeight + r.value * ($.value.height / $.value.width),
725
734
  height: l.value.sumCellXHeight,
726
735
  width: l.value.cellSize.width - r.value,
727
736
  fill: e.value.style.layout.cells.colors.underlayer,
728
737
  stroke: e.value.style.backgroundColor,
729
738
  "stroke-width": r.value
730
- }, null, 8, Ml))), 256)),
731
- (u(!0), n(C, null, F(g.value.xTotals, (a, s) => (u(), n("rect", {
732
- x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
733
- y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
739
+ }, null, 8, Rl))), 256)),
740
+ (u(!0), n(L, null, B(m.value.xTotals, (a, o) => (u(), n("rect", {
741
+ x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
742
+ y: l.value.top - l.value.sumCellXHeight + r.value * ($.value.height / $.value.width),
734
743
  height: l.value.sumCellXHeight,
735
744
  width: l.value.cellSize.width - r.value,
736
745
  fill: a.color,
737
746
  stroke: e.value.style.backgroundColor,
738
747
  "stroke-width": r.value
739
- }, null, 8, Rl))), 256))
740
- ], 512)) : f("", !0),
741
- p("g", {
748
+ }, null, 8, Fl))), 256))
749
+ ], 512)) : p("", !0),
750
+ b("g", {
742
751
  ref_key: "datapoints",
743
752
  ref: kt
744
753
  }, [
745
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
746
- (u(!0), n(C, null, F(a.temperatures, (v, c) => (u(), n("g", null, [
747
- p("rect", {
754
+ (u(!0), n(L, null, B(Q.value, (a, o) => (u(), n(L, null, [
755
+ (u(!0), n(L, null, B(a.temperatures, (v, c) => (u(), n("g", null, [
756
+ b("rect", {
748
757
  x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
749
- y: l.value.top + l.value.cellSize.height * s + r.value / 2,
758
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
750
759
  width: l.value.cellSize.width - r.value,
751
760
  height: l.value.cellSize.height - r.value,
752
761
  fill: e.value.style.layout.cells.colors.underlayer,
753
762
  stroke: e.value.style.backgroundColor,
754
763
  "stroke-width": r.value
755
- }, null, 8, Fl),
756
- p("rect", {
764
+ }, null, 8, Nl),
765
+ b("rect", {
757
766
  x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
758
- y: l.value.top + l.value.cellSize.height * s + r.value / 2,
767
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
759
768
  width: l.value.cellSize.width - r.value,
760
769
  height: l.value.cellSize.height - r.value,
761
770
  fill: v.color,
762
771
  stroke: e.value.style.backgroundColor,
763
772
  "stroke-width": r.value,
764
- onMouseover: (x) => Xt(v, s, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * s),
765
- onMouseout: () => It({ datapoint: v, seriesIndex: s }),
766
- onClick: () => Et(v, s)
767
- }, null, 40, Dl),
773
+ onMouseover: (k) => Pt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
774
+ onMouseout: () => Xt({ datapoint: v, seriesIndex: o }),
775
+ onClick: () => Et(v, o)
776
+ }, null, 40, Bl),
768
777
  e.value.style.layout.cells.value.show ? ft((u(), n("text", {
769
778
  key: 0,
770
779
  "text-anchor": "middle",
771
780
  "font-size": e.value.style.layout.cells.value.fontSize,
772
781
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
773
- fill: i(Ae)(v.color),
782
+ fill: i(Le)(v.color),
774
783
  x: l.value.left + l.value.cellSize.width * c + l.value.cellSize.width / 2 + l.value.sumCellXHeight,
775
- y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
784
+ y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
776
785
  style: { pointerEvents: "none", userSelect: "none" }
777
786
  }, [
778
- Ve(T(i(B)(
787
+ Xe(S(i(G)(
779
788
  e.value.style.layout.cells.value.formatter,
780
789
  v.value,
781
- i(H)({
790
+ i(X)({
782
791
  p: e.value.style.layout.dataLabels.prefix,
783
792
  v: v.value,
784
793
  s: e.value.style.layout.dataLabels.suffix,
@@ -786,19 +795,19 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
786
795
  }),
787
796
  { datapoint: v }
788
797
  )), 1)
789
- ], 8, Nl)), [
790
- [i(_l), {
798
+ ], 8, Dl)), [
799
+ [i(zl), {
791
800
  cellWidth: l.value.cellSize.width - r.value,
792
801
  cellHeight: l.value.cellSize.height - r.value,
793
802
  maxFontSize: e.value.style.layout.cells.value.fontSize,
794
803
  minFontSize: 10,
795
- index: s * D.value + c,
796
- reportHide: Pt,
797
- reportRotation: Nt,
798
- hideAll: Ht.value,
799
- rotateAll: Dt.value
804
+ index: o * H.value + c,
805
+ reportHide: Ht,
806
+ reportRotation: Bt,
807
+ hideAll: Dt.value,
808
+ rotateAll: Nt.value
800
809
  }]
801
- ]) : f("", !0)
810
+ ]) : p("", !0)
802
811
  ]))), 256))
803
812
  ], 64))), 256))
804
813
  ], 512),
@@ -807,206 +816,206 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
807
816
  ref_key: "yAxisSumRects",
808
817
  ref: Ct
809
818
  }, [
810
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
811
- p("rect", {
819
+ (u(!0), n(L, null, B(Q.value, (a, o) => (u(), n(L, null, [
820
+ b("rect", {
812
821
  x: l.value.left,
813
- y: l.value.top + l.value.cellSize.height * s,
822
+ y: l.value.top + l.value.cellSize.height * o,
814
823
  width: l.value.sumCellXHeight,
815
824
  height: l.value.cellSize.height - r.value,
816
825
  fill: e.value.style.layout.cells.colors.underlayer,
817
826
  stroke: e.value.style.backgroundColor,
818
827
  "stroke-width": r.value
819
828
  }, null, 8, Hl),
820
- p("rect", {
829
+ b("rect", {
821
830
  x: l.value.left,
822
- y: l.value.top + l.value.cellSize.height * s + r.value / 2,
831
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
823
832
  width: l.value.sumCellXHeight,
824
833
  height: l.value.cellSize.height - r.value,
825
- fill: g.value.yTotals[s].color,
834
+ fill: m.value.yTotals[o].color,
826
835
  stroke: e.value.style.backgroundColor,
827
836
  "stroke-width": r.value
828
837
  }, null, 8, Pl)
829
838
  ], 64))), 256))
830
- ], 512)) : f("", !0),
839
+ ], 512)) : p("", !0),
831
840
  e.value.style.layout.dataLabels.yAxis.show ? (u(), n("g", {
832
841
  key: 3,
833
842
  ref_key: "yAxisLabels",
834
843
  ref: je
835
844
  }, [
836
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
837
- p("text", {
845
+ (u(!0), n(L, null, B(Q.value, (a, o) => (u(), n(L, null, [
846
+ b("text", {
838
847
  class: "vue-ui-heatmap-row-name",
839
848
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
840
849
  fill: e.value.style.layout.dataLabels.yAxis.color,
841
- x: J.value,
842
- y: l.value.top + l.value.cellSize.height * s + 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),
850
+ x: ae.value,
851
+ 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),
843
852
  "text-anchor": "end",
844
853
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
845
- }, T(g.value.yLabels[s]), 9, Xl),
854
+ }, S(m.value.yLabels[o]), 9, Xl),
846
855
  e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
847
856
  key: 0,
848
857
  class: "vue-ui-heatmap-row-total",
849
858
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
850
859
  fill: e.value.style.layout.dataLabels.yAxis.color,
851
- x: J.value,
852
- y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
860
+ x: ae.value,
861
+ 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,
853
862
  "text-anchor": "end",
854
863
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
855
- }, T(Vt(s)), 9, Il)) : f("", !0)
864
+ }, S(It(o)), 9, Il)) : p("", !0)
856
865
  ], 64))), 256))
857
- ], 512)) : f("", !0),
866
+ ], 512)) : p("", !0),
858
867
  e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
859
868
  key: 4,
860
869
  ref_key: "xAxisLabels",
861
- ref: _e
870
+ ref: ze
862
871
  }, [
863
- (u(!0), n(C, null, F(g.value.xLabels, (a, s) => (u(), n(C, null, [
864
- !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), n("text", {
872
+ (u(!0), n(L, null, B(m.value.xLabels, (a, o) => (u(), n(L, null, [
873
+ !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && o % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), n("text", {
865
874
  key: 0,
866
875
  class: "vue-ui-heatmap-col-name",
867
876
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
868
877
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
869
878
  fill: e.value.style.layout.dataLabels.xAxis.color,
870
879
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
871
- transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + l.value.sumCellXHeight}, ${l.value.topLabelsHeight}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
872
- }, T(a), 9, Vl)) : f("", !0)
880
+ transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / m.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})`
881
+ }, S(a), 9, Vl)) : p("", !0)
873
882
  ], 64))), 256))
874
- ], 512)) : f("", !0),
883
+ ], 512)) : p("", !0),
875
884
  e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
876
885
  key: 5,
877
886
  ref_key: "xAxisSums",
878
- ref: ze
887
+ ref: $e
879
888
  }, [
880
- (u(!0), n(C, null, F(g.value.xLabels, (a, s) => (u(), n("text", {
889
+ (u(!0), n(L, null, B(m.value.xLabels, (a, o) => (u(), n("text", {
881
890
  class: "vue-ui-heatmap-col-total",
882
891
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
883
892
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
884
893
  fill: e.value.style.layout.dataLabels.xAxis.color,
885
894
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
886
- transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.value.xLabels.length * s + 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})`
887
- }, T(Bt(s)), 9, Bl))), 256))
888
- ], 512)) : f("", !0),
889
- se.value ? (u(), n("g", El, [
890
- p("rect", {
895
+ transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / m.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})`
896
+ }, S(Vt(o)), 9, El))), 256))
897
+ ], 512)) : p("", !0),
898
+ re.value ? (u(), n("g", Ul, [
899
+ b("rect", {
891
900
  style: { "pointer-events": "none" },
892
- x: se.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
893
- y: se.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
901
+ x: re.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
902
+ y: re.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
894
903
  width: l.value.cellSize.width - r.value + e.value.style.layout.cells.selected.border - r.value,
895
904
  height: l.value.cellSize.height - r.value + e.value.style.layout.cells.selected.border - r.value,
896
905
  fill: "transparent",
897
906
  stroke: e.value.style.layout.cells.selected.color,
898
907
  "stroke-width": e.value.style.layout.cells.selected.border,
899
908
  rx: 1
900
- }, null, 8, Ul)
901
- ])) : f("", !0),
902
- L(t.$slots, "svg", { svg: _.value }, void 0, !0)
903
- ], 14, $l)),
909
+ }, null, 8, Yl)
910
+ ])) : p("", !0),
911
+ T(t.$slots, "svg", { svg: $.value }, void 0, !0)
912
+ ], 14, Ml)),
904
913
  e.value.style.legend.show ? (u(), n("div", {
905
914
  key: 0,
906
915
  ref_key: "legendRight",
907
916
  ref: At,
908
917
  class: "vue-ui-heatmap-legend-right",
909
- style: w({
918
+ style: A({
910
919
  "--legend-width": e.value.style.legend.width + "px"
911
920
  })
912
921
  }, [
913
- i(pe) ? f("", !0) : (u(), n("div", {
922
+ i(be) ? p("", !0) : (u(), n("div", {
914
923
  key: 0,
915
924
  class: "vue-ui-heatmap-legend-label-max",
916
- style: w({
925
+ style: A({
917
926
  fontSize: e.value.style.legend.fontSize + "px",
918
927
  color: e.value.style.legend.color
919
928
  })
920
- }, T(i(B)(
929
+ }, S(i(G)(
921
930
  e.value.style.layout.cells.value.formatter,
922
- i(E)(V.value),
923
- i(H)({
931
+ i(W)(Y.value),
932
+ i(X)({
924
933
  p: e.value.style.layout.dataLabels.prefix,
925
- v: i(E)(V.value),
934
+ v: i(W)(Y.value),
926
935
  s: e.value.style.layout.dataLabels.suffix,
927
936
  r: e.value.style.legend.roundingValue
928
937
  })
929
938
  )), 5)),
930
- p("div", Yl, [
931
- p("div", {
939
+ b("div", Gl, [
940
+ b("div", {
932
941
  class: "vue-ui-heatmap-gauge",
933
- style: w({
942
+ style: A({
934
943
  background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
935
944
  })
936
945
  }, [
937
- ft(p("div", {
946
+ ft(b("div", {
938
947
  class: "vue-ui-heatmap-gauge-indicator",
939
- "data-value": i(B)(
948
+ "data-value": i(G)(
940
949
  e.value.style.layout.cells.value.formatter,
941
- i(E)(R.value),
942
- i(H)({
950
+ i(W)(N.value),
951
+ i(X)({
943
952
  p: e.value.style.layout.dataLabels.prefix,
944
- v: i(E)(R.value),
953
+ v: i(W)(N.value),
945
954
  s: e.value.style.layout.dataLabels.suffix,
946
955
  r: e.value.style.legend.roundingValue
947
956
  })
948
957
  ),
949
- style: w({
958
+ style: A({
950
959
  position: "absolute",
951
960
  width: "100%",
952
961
  height: "2px",
953
- background: [void 0, null].includes(R.value) ? "transparent" : i(Ae)(be.value.datapoint.color),
954
- top: `${[void 0, null].includes(R.value) ? 0 : (1 - R.value / V.value) * 100}%`,
962
+ background: [void 0, null].includes(N.value) ? "transparent" : i(Le)(xe.value.datapoint.color),
963
+ top: `${[void 0, null].includes(N.value) ? 0 : (1 - N.value / Y.value) * 100}%`,
955
964
  transition: "all 0.2s ease-in-out",
956
965
  "--background-color": e.value.style.backgroundColor,
957
- "--gauge-arrow-color": i(Ae)(e.value.style.backgroundColor),
958
- "--gauge-arrow-text-color": i(Ae)(e.value.style.backgroundColor),
959
- "--gauge-arrow-value": R.value,
966
+ "--gauge-arrow-color": i(Le)(e.value.style.backgroundColor),
967
+ "--gauge-arrow-text-color": i(Le)(e.value.style.backgroundColor),
968
+ "--gauge-arrow-value": N.value,
960
969
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
961
970
  })
962
971
  }, [
963
- p("div", Wl, T(i(B)(
972
+ b("div", jl, S(i(G)(
964
973
  e.value.style.layout.cells.value.formatter,
965
- i(E)(R.value),
966
- i(H)({
974
+ i(W)(N.value),
975
+ i(X)({
967
976
  p: e.value.style.layout.dataLabels.prefix,
968
- v: i(E)(R.value),
977
+ v: i(W)(N.value),
969
978
  s: e.value.style.layout.dataLabels.suffix,
970
979
  r: e.value.style.legend.roundingValue
971
980
  })
972
981
  )), 1)
973
- ], 12, Gl), [
974
- [tl, ![void 0, null].includes(R.value)]
982
+ ], 12, Wl), [
983
+ [ll, ![void 0, null].includes(N.value)]
975
984
  ])
976
985
  ], 4)
977
986
  ]),
978
- i(pe) ? f("", !0) : (u(), n("div", {
987
+ i(be) ? p("", !0) : (u(), n("div", {
979
988
  key: 1,
980
989
  class: "vue-ui-heatmap-legend-label-min",
981
- style: w({
990
+ style: A({
982
991
  fontSize: e.value.style.legend.fontSize + "px",
983
992
  color: e.value.style.legend.color
984
993
  })
985
- }, T(i(B)(
994
+ }, S(i(G)(
986
995
  e.value.style.layout.cells.value.formatter,
987
- i(E)(ve.value),
988
- i(H)({
996
+ i(W)(ye.value),
997
+ i(X)({
989
998
  p: e.value.style.layout.dataLabels.prefix,
990
- v: i(E)(ve.value),
999
+ v: i(W)(ye.value),
991
1000
  s: e.value.style.layout.dataLabels.suffix,
992
1001
  r: e.value.style.legend.roundingValue
993
1002
  })
994
1003
  )), 5))
995
- ], 4)) : f("", !0)
1004
+ ], 4)) : p("", !0)
996
1005
  ], 2),
997
- t.$slots.watermark ? (u(), n("div", jl, [
998
- L(t.$slots, "watermark", Z(ee({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
999
- ])) : f("", !0),
1006
+ t.$slots.watermark ? (u(), n("div", ql, [
1007
+ T(t.$slots, "watermark", se(ue({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
1008
+ ])) : p("", !0),
1000
1009
  t.$slots.source ? (u(), n("div", {
1001
1010
  key: 5,
1002
1011
  ref_key: "source",
1003
1012
  ref: qe,
1004
1013
  dir: "auto"
1005
1014
  }, [
1006
- L(t.$slots, "source", {}, void 0, !0)
1007
- ], 512)) : f("", !0),
1008
- ke(i(W), {
1009
- show: $.value.showTooltip && ae.value,
1015
+ T(t.$slots, "source", {}, void 0, !0)
1016
+ ], 512)) : p("", !0),
1017
+ Ce(i(I), {
1018
+ show: O.value.showTooltip && ie.value,
1010
1019
  backgroundColor: e.value.style.tooltip.backgroundColor,
1011
1020
  color: e.value.style.tooltip.color,
1012
1021
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1016,95 +1025,95 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1016
1025
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1017
1026
  position: e.value.style.tooltip.position,
1018
1027
  offsetY: e.value.style.tooltip.offsetY,
1019
- parent: S.value,
1020
- content: q.value,
1021
- isFullscreen: G.value,
1028
+ parent: z.value,
1029
+ content: te.value,
1030
+ isFullscreen: Z.value,
1022
1031
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1023
1032
  smooth: e.value.style.tooltip.smooth,
1024
1033
  backdropFilter: e.value.style.tooltip.backdropFilter,
1025
1034
  smoothForce: e.value.style.tooltip.smoothForce,
1026
1035
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1027
1036
  }, {
1028
- "tooltip-before": z(() => [
1029
- L(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
1037
+ "tooltip-before": M(() => [
1038
+ T(t.$slots, "tooltip-before", se(ue({ ...xe.value })), void 0, !0)
1030
1039
  ]),
1031
- "tooltip-after": z(() => [
1032
- L(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
1040
+ "tooltip-after": M(() => [
1041
+ T(t.$slots, "tooltip-after", se(ue({ ...xe.value })), void 0, !0)
1033
1042
  ]),
1034
1043
  _: 3
1035
1044
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1036
- j.value && e.value.userOptions.buttons.table ? (u(), de(ll(xe.value.component), al({ key: 6 }, xe.value.props, {
1045
+ ee.value && e.value.userOptions.buttons.table ? (u(), ge(al(ke.value.component), ol({ key: 6 }, ke.value.props, {
1037
1046
  ref_key: "tableUnit",
1038
- ref: ue,
1047
+ ref: ve,
1039
1048
  onClose: He
1040
1049
  }), yt({
1041
- content: z(() => [
1042
- p("div", {
1050
+ content: M(() => [
1051
+ b("div", {
1043
1052
  ref_key: "tableContainer",
1044
1053
  ref: Ue,
1045
1054
  class: "vue-ui-heatmap-table atom-data-table",
1046
- style: w(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1055
+ style: A(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1047
1056
  }, [
1048
- p("div", {
1049
- style: w(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1050
- class: ce({ "vue-ui-responsive": i(Gt) })
1057
+ b("div", {
1058
+ style: A(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1059
+ class: fe({ "vue-ui-responsive": i(Gt) })
1051
1060
  }, [
1052
- e.value.table.useDialog ? f("", !0) : (u(), n("div", {
1061
+ e.value.table.useDialog ? p("", !0) : (u(), n("div", {
1053
1062
  key: 0,
1054
1063
  role: "button",
1055
1064
  tabindex: "0",
1056
- 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};`),
1065
+ style: A(`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};`),
1057
1066
  onClick: He,
1058
- onKeypress: ol(He, ["enter"])
1067
+ onKeypress: sl(He, ["enter"])
1059
1068
  }, [
1060
- ke(i(te), {
1069
+ Ce(i(j), {
1061
1070
  name: "close",
1062
1071
  stroke: e.value.table.th.color,
1063
1072
  "stroke-width": 2
1064
1073
  }, null, 8, ["stroke"])
1065
1074
  ], 36)),
1066
- p("table", ql, [
1067
- e.value.table.useDialog ? f("", !0) : (u(), n("caption", {
1075
+ b("table", Kl, [
1076
+ e.value.table.useDialog ? p("", !0) : (u(), n("caption", {
1068
1077
  key: 0,
1069
- style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1078
+ style: A(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1070
1079
  }, [
1071
- Ve(T(e.value.style.title.text) + " ", 1),
1072
- e.value.style.title.subtitle.text ? (u(), n("span", Kl, T(e.value.style.title.subtitle.text), 1)) : f("", !0)
1080
+ Xe(S(e.value.style.title.text) + " ", 1),
1081
+ e.value.style.title.subtitle.text ? (u(), n("span", Jl, S(e.value.style.title.subtitle.text), 1)) : p("", !0)
1073
1082
  ], 4)),
1074
- p("thead", null, [
1075
- p("tr", {
1083
+ b("thead", null, [
1084
+ b("tr", {
1076
1085
  role: "row",
1077
- style: w(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1086
+ style: A(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1078
1087
  }, [
1079
- p("th", {
1080
- style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1088
+ b("th", {
1089
+ style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
1081
1090
  }, null, 4),
1082
- (u(!0), n(C, null, F(b.dataset, (a, s) => (u(), n("th", {
1091
+ (u(!0), n(L, null, B(y.dataset, (a, o) => (u(), n("th", {
1083
1092
  align: "right",
1084
- style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1085
- }, T(a.name), 5))), 256))
1093
+ style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
1094
+ }, S(a.name), 5))), 256))
1086
1095
  ], 4)
1087
1096
  ]),
1088
- p("tbody", null, [
1089
- (u(!0), n(C, null, F(g.value.xLabels, (a, s) => (u(), n("tr", {
1097
+ b("tbody", null, [
1098
+ (u(!0), n(L, null, B(m.value.xLabels, (a, o) => (u(), n("tr", {
1090
1099
  role: "row",
1091
- class: ce({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": s % 2 === 0, "vue-ui-data-table__tbody__row-odd": s % 2 !== 0 }),
1092
- style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1100
+ 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 }),
1101
+ style: A(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1093
1102
  }, [
1094
- p("td", {
1103
+ b("td", {
1095
1104
  "data-cell": e.value.table.colNames.xAxis,
1096
1105
  class: "vue-ui-data-table__tbody__td",
1097
- style: w(`outline:${e.value.table.td.outline}`)
1106
+ style: A(`outline:${e.value.table.td.outline}`)
1098
1107
  }, [
1099
- p("div", Ql, T(a), 1)
1100
- ], 12, Jl),
1101
- (u(!0), n(C, null, F(b.dataset, (v, c) => (u(), n("td", {
1108
+ b("div", Zl, S(a), 1)
1109
+ ], 12, Ql),
1110
+ (u(!0), n(L, null, B(y.dataset, (v, c) => (u(), n("td", {
1102
1111
  class: "vue-ui-data-table__tbody__td",
1103
- "data-cell": b.dataset[c].name,
1104
- style: w(`outline:${e.value.table.td.outline}`)
1112
+ "data-cell": y.dataset[c].name,
1113
+ style: A(`outline:${e.value.table.td.outline}`)
1105
1114
  }, [
1106
- p("div", ea, T(isNaN(v.values[s]) ? "-" : i(H)({ p: e.value.style.layout.dataLabels.prefix, v: v.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
1107
- ], 12, Zl))), 256))
1115
+ b("div", ta, S(isNaN(v.values[o]) ? "-" : i(X)({ 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)
1116
+ ], 12, ea))), 256))
1108
1117
  ], 6))), 256))
1109
1118
  ])
1110
1119
  ])
@@ -1115,32 +1124,32 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1115
1124
  }, [
1116
1125
  e.value.table.useDialog ? {
1117
1126
  name: "title",
1118
- fn: z(() => [
1119
- Ve(T(xe.value.title), 1)
1127
+ fn: M(() => [
1128
+ Xe(S(ke.value.title), 1)
1120
1129
  ]),
1121
1130
  key: "0"
1122
1131
  } : void 0,
1123
1132
  e.value.table.useDialog ? {
1124
1133
  name: "actions",
1125
- fn: z(() => [
1126
- p("button", {
1134
+ fn: M(() => [
1135
+ b("button", {
1127
1136
  tabindex: "0",
1128
1137
  class: "vue-ui-user-options-button",
1129
- onClick: o[0] || (o[0] = (a) => De(e.value.userOptions.callbacks.csv))
1138
+ onClick: s[0] || (s[0] = (a) => Be(e.value.userOptions.callbacks.csv))
1130
1139
  }, [
1131
- ke(i(te), {
1140
+ Ce(i(j), {
1132
1141
  name: "excel",
1133
- stroke: xe.value.props.color
1142
+ stroke: ke.value.props.color
1134
1143
  }, null, 8, ["stroke"])
1135
1144
  ])
1136
1145
  ]),
1137
1146
  key: "1"
1138
1147
  } : void 0
1139
- ]), 1040)) : f("", !0),
1140
- i(pe) ? (u(), de(bl, { key: 7 })) : f("", !0)
1141
- ], 46, zl));
1148
+ ]), 1040)) : p("", !0),
1149
+ i(be) ? (u(), ge(ml, { key: 7 })) : p("", !0)
1150
+ ], 46, $l));
1142
1151
  }
1143
- }, ma = /* @__PURE__ */ Sl(ta, [["__scopeId", "data-v-8725d53b"]]);
1152
+ }, xa = /* @__PURE__ */ _l(la, [["__scopeId", "data-v-7b02a740"]]);
1144
1153
  export {
1145
- ma as default
1154
+ xa as default
1146
1155
  };