vue-data-ui 3.5.0 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (144) hide show
  1. package/README.md +26 -0
  2. package/dist/{ColorPicker-J5wOPCeB.js → ColorPicker-ChuwChMo.js} +58 -56
  3. package/dist/{NonSvgPenAndPaper-C7TRn0_3.js → NonSvgPenAndPaper-DVgKKLIf.js} +1 -1
  4. package/dist/{PackageVersion-Cyx_s25h.js → PackageVersion-DQvyATVa.js} +1 -1
  5. package/dist/PenAndPaper-SZQIAgkg.js +388 -0
  6. package/dist/{Title-l36lOBMx.js → Title-isbiM8i8.js} +1 -1
  7. package/dist/components/vue-ui-3d-bar.js +1 -1
  8. package/dist/components/vue-ui-accordion.js +1 -1
  9. package/dist/components/vue-ui-age-pyramid.js +1 -1
  10. package/dist/components/vue-ui-annotator.js +1 -1
  11. package/dist/components/vue-ui-bullet.js +1 -1
  12. package/dist/components/vue-ui-candlestick.js +1 -1
  13. package/dist/components/vue-ui-carousel-table.js +1 -1
  14. package/dist/components/vue-ui-chestnut.js +1 -1
  15. package/dist/components/vue-ui-chord.js +1 -1
  16. package/dist/components/vue-ui-circle-pack.js +1 -1
  17. package/dist/components/vue-ui-cursor.js +1 -1
  18. package/dist/components/vue-ui-dashboard.js +1 -1
  19. package/dist/components/vue-ui-digits.js +1 -1
  20. package/dist/components/vue-ui-donut-evolution.js +1 -1
  21. package/dist/components/vue-ui-donut.js +1 -1
  22. package/dist/components/vue-ui-dumbbell.js +1 -1
  23. package/dist/components/vue-ui-flow.js +1 -1
  24. package/dist/components/vue-ui-funnel.js +1 -1
  25. package/dist/components/vue-ui-galaxy.js +1 -1
  26. package/dist/components/vue-ui-gauge.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-mini-loader.js +1 -1
  33. package/dist/components/vue-ui-molecule.js +1 -1
  34. package/dist/components/vue-ui-mood-radar.js +1 -1
  35. package/dist/components/vue-ui-nested-donuts.js +1 -1
  36. package/dist/components/vue-ui-onion.js +1 -1
  37. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  38. package/dist/components/vue-ui-quadrant.js +1 -1
  39. package/dist/components/vue-ui-quick-chart.js +1 -1
  40. package/dist/components/vue-ui-radar.js +1 -1
  41. package/dist/components/vue-ui-rating.js +1 -1
  42. package/dist/components/vue-ui-relation-circle.js +1 -1
  43. package/dist/components/vue-ui-ridgeline.js +1 -1
  44. package/dist/components/vue-ui-rings.js +1 -1
  45. package/dist/components/vue-ui-scatter.js +1 -1
  46. package/dist/components/vue-ui-skeleton.js +1 -1
  47. package/dist/components/vue-ui-smiley.js +1 -1
  48. package/dist/components/vue-ui-spark-trend.js +1 -1
  49. package/dist/components/vue-ui-sparkbar.js +1 -1
  50. package/dist/components/vue-ui-sparkgauge.js +1 -1
  51. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  52. package/dist/components/vue-ui-sparkline.js +1 -1
  53. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  54. package/dist/components/vue-ui-stackbar.js +1 -1
  55. package/dist/components/vue-ui-strip-plot.js +1 -1
  56. package/dist/components/vue-ui-table-heatmap.js +1 -1
  57. package/dist/components/vue-ui-table-sparkline.js +1 -1
  58. package/dist/components/vue-ui-table.js +1 -1
  59. package/dist/components/vue-ui-thermometer.js +1 -1
  60. package/dist/components/vue-ui-timer.js +1 -1
  61. package/dist/components/vue-ui-tiremarks.js +1 -1
  62. package/dist/components/vue-ui-treemap.js +1 -1
  63. package/dist/components/vue-ui-vertical-bar.js +1 -1
  64. package/dist/components/vue-ui-waffle.js +1 -1
  65. package/dist/components/vue-ui-wheel.js +1 -1
  66. package/dist/components/vue-ui-word-cloud.js +1 -1
  67. package/dist/components/vue-ui-world.js +1 -1
  68. package/dist/components/vue-ui-xy-canvas.js +1 -1
  69. package/dist/components/vue-ui-xy.js +1 -1
  70. package/dist/style.css +1 -1
  71. package/dist/types/vue-data-ui.d.ts +17 -8
  72. package/dist/{useNestedProp-BjZe1Y85.js → useNestedProp-DjGXw6S9.js} +22 -8
  73. package/dist/{vue-data-ui-DxgRqCAo.js → vue-data-ui-B_RxfmEm.js} +63 -63
  74. package/dist/vue-data-ui.js +64 -64
  75. package/dist/{vue-ui-3d-bar-DmNJp8SY.js → vue-ui-3d-bar-CMNYyVa2.js} +454 -434
  76. package/dist/{vue-ui-accordion-CZ0thhxa.js → vue-ui-accordion-CqhVCfc2.js} +1 -1
  77. package/dist/{vue-ui-age-pyramid-CPAP3sNY.js → vue-ui-age-pyramid-Vqa9iYXE.js} +180 -160
  78. package/dist/{vue-ui-annotator-BylDgUVb.js → vue-ui-annotator-nNv10fBm.js} +3 -3
  79. package/dist/{vue-ui-bullet-Ce6uvCQJ.js → vue-ui-bullet-BWEBeYV5.js} +190 -170
  80. package/dist/{vue-ui-candlestick-DewevWV_.js → vue-ui-candlestick-BoLzL0g1.js} +201 -181
  81. package/dist/{vue-ui-carousel-table-Dv1CDfE5.js → vue-ui-carousel-table-Bi6wvUUU.js} +2 -2
  82. package/dist/{vue-ui-chestnut-D9sdFZ4E.js → vue-ui-chestnut-BGz1TLXG.js} +375 -355
  83. package/dist/vue-ui-chord-CebhS7ln.js +1153 -0
  84. package/dist/{vue-ui-circle-pack-Be74QB_0.js → vue-ui-circle-pack-7PJVyKjp.js} +289 -269
  85. package/dist/{vue-ui-cursor-ik59bfC4.js → vue-ui-cursor-qYLAwvzn.js} +1 -1
  86. package/dist/vue-ui-dashboard-DcmMvhgM.js +432 -0
  87. package/dist/{vue-ui-digits-ByNNcWXi.js → vue-ui-digits-DyE8eU1m.js} +1 -1
  88. package/dist/{vue-ui-donut-BRGFcgxS.js → vue-ui-donut-CxZcJFTo.js} +462 -442
  89. package/dist/{vue-ui-donut-evolution-DJ0C-7jH.js → vue-ui-donut-evolution-BVYL-BUJ.js} +293 -273
  90. package/dist/{vue-ui-dumbbell-iQJ0BUhm.js → vue-ui-dumbbell-QxZn86A3.js} +210 -190
  91. package/dist/{vue-ui-flow-CTYFoib3.js → vue-ui-flow-DEI5LRch.js} +339 -319
  92. package/dist/{vue-ui-funnel-CG55Xcdy.js → vue-ui-funnel-B_A5orFg.js} +218 -198
  93. package/dist/{vue-ui-galaxy-BQrxjKZJ.js → vue-ui-galaxy-CUoDRr-O.js} +201 -181
  94. package/dist/{vue-ui-gauge-Tc-0NI0Y.js → vue-ui-gauge-46tSRZN5.js} +311 -291
  95. package/dist/{vue-ui-gizmo-P8h-gnLd.js → vue-ui-gizmo-BOgbsXao.js} +2 -2
  96. package/dist/{vue-ui-heatmap-BZimPzsL.js → vue-ui-heatmap-DKKjl1A2.js} +303 -283
  97. package/dist/{vue-ui-history-plot-BVzbuqYY.js → vue-ui-history-plot-C6p_aThr.js} +229 -209
  98. package/dist/{vue-ui-kpi-BGGff8LM.js → vue-ui-kpi-B1yJ83aF.js} +2 -2
  99. package/dist/{vue-ui-mini-loader-CSF-7TJL.js → vue-ui-mini-loader-BudcNBg-.js} +1 -1
  100. package/dist/{vue-ui-molecule-BALqwB8c.js → vue-ui-molecule-L90GnHee.js} +156 -136
  101. package/dist/{vue-ui-mood-radar-QJ5nlZby.js → vue-ui-mood-radar-Dhigm5rw.js} +266 -246
  102. package/dist/{vue-ui-nested-donuts-CmUabkkQ.js → vue-ui-nested-donuts-D0MCLs5n.js} +506 -486
  103. package/dist/{vue-ui-onion-DAOCf3f8.js → vue-ui-onion-B7yPJ3gL.js} +220 -200
  104. package/dist/{vue-ui-parallel-coordinate-plot-D8jTuFjq.js → vue-ui-parallel-coordinate-plot-DY21ivNe.js} +235 -215
  105. package/dist/{vue-ui-quadrant-CO52mSRY.js → vue-ui-quadrant-b0vMRaq-.js} +463 -443
  106. package/dist/{vue-ui-quick-chart-DEaVSldE.js → vue-ui-quick-chart-VK2EN7sh.js} +288 -268
  107. package/dist/{vue-ui-radar-C5V4hhbW.js → vue-ui-radar-B5Vkoz9M.js} +331 -311
  108. package/dist/{vue-ui-rating-CiMoFM_c.js → vue-ui-rating-BH4DW1ZY.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-CbMM0Jka.js → vue-ui-relation-circle-XHbE-ZUX.js} +228 -208
  110. package/dist/{vue-ui-ridgeline-CXCIRDq6.js → vue-ui-ridgeline-CAMNq-p_.js} +242 -222
  111. package/dist/{vue-ui-rings-BpUcyqo7.js → vue-ui-rings-ImGOqm_J.js} +189 -169
  112. package/dist/{vue-ui-scatter--Dxe-hfO.js → vue-ui-scatter-CterNJYe.js} +275 -255
  113. package/dist/{vue-ui-skeleton-BWq-VDzg.js → vue-ui-skeleton-CykXHWj-.js} +2 -2
  114. package/dist/{vue-ui-smiley-sGFRbn31.js → vue-ui-smiley-DnGm6qrK.js} +1 -1
  115. package/dist/{vue-ui-spark-trend-T4J_YOa_.js → vue-ui-spark-trend-N1AsNQJA.js} +2 -2
  116. package/dist/{vue-ui-sparkbar-DnKP55Vu.js → vue-ui-sparkbar-Bvsi5DTT.js} +2 -2
  117. package/dist/{vue-ui-sparkgauge-BDQLP-zi.js → vue-ui-sparkgauge-DyJmWCWT.js} +2 -2
  118. package/dist/{vue-ui-sparkhistogram-Dm7QXrA-.js → vue-ui-sparkhistogram-5eKrkmSb.js} +143 -140
  119. package/dist/{vue-ui-sparkline-tXGDLHRy.js → vue-ui-sparkline-ChKAzlVq.js} +2 -2
  120. package/dist/{vue-ui-sparkstackbar-M53Nt07M.js → vue-ui-sparkstackbar-BXNy6nuw.js} +2 -2
  121. package/dist/vue-ui-stackbar-1IwvUYBO.js +1827 -0
  122. package/dist/{vue-ui-strip-plot-BX9i3wMn.js → vue-ui-strip-plot-B1wGxP8-.js} +245 -225
  123. package/dist/{vue-ui-table-7r02N9R9.js → vue-ui-table-DSsIrT4L.js} +3 -3
  124. package/dist/{vue-ui-table-heatmap-BqCEBoUf.js → vue-ui-table-heatmap-DXFHy7-E.js} +1 -1
  125. package/dist/{vue-ui-table-sparkline-DZaAh10E.js → vue-ui-table-sparkline-DpqY_4ay.js} +2 -2
  126. package/dist/vue-ui-thermometer-CMKvSA8p.js +584 -0
  127. package/dist/{vue-ui-timer-Ds-MJoW2.js → vue-ui-timer-BpdCY_wg.js} +3 -3
  128. package/dist/vue-ui-tiremarks-CNipzVli.js +450 -0
  129. package/dist/{vue-ui-treemap-BEvl8hiw.js → vue-ui-treemap-DPE8SY0_.js} +453 -433
  130. package/dist/{vue-ui-vertical-bar-D8dtM8sw.js → vue-ui-vertical-bar-ZU1GCbX0.js} +323 -303
  131. package/dist/{vue-ui-waffle-B3q-2SCR.js → vue-ui-waffle-z7nuSuSV.js} +219 -199
  132. package/dist/vue-ui-wheel-DLRoRjeM.js +663 -0
  133. package/dist/{vue-ui-word-cloud-ChT7uLbN.js → vue-ui-word-cloud-D2r5E3pP.js} +248 -228
  134. package/dist/{vue-ui-world-CdP4g_3_.js → vue-ui-world-goXYnTyM.js} +287 -267
  135. package/dist/{vue-ui-xy-B68qQ-gX.js → vue-ui-xy-NDDbNbds.js} +389 -369
  136. package/dist/{vue-ui-xy-canvas-DDngEA1s.js → vue-ui-xy-canvas-2a6NlQe3.js} +4 -4
  137. package/package.json +4 -4
  138. package/dist/PenAndPaper-DSvu9dwa.js +0 -373
  139. package/dist/vue-ui-chord-BG4dxKNA.js +0 -1133
  140. package/dist/vue-ui-dashboard-C4BLwHey.js +0 -412
  141. package/dist/vue-ui-stackbar-CkBOjryQ.js +0 -1724
  142. package/dist/vue-ui-thermometer-CFPt3MOv.js +0 -564
  143. package/dist/vue-ui-tiremarks-2eIQ6vxu.js +0 -430
  144. package/dist/vue-ui-wheel-BpirIgAG.js +0 -643
@@ -1,7 +1,7 @@
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 S, renderSlot as L, normalizeProps as se, guardReactiveProps as ue, Fragment as T, renderList as D, withDirectives as ft, createTextVNode as Xe, toDisplayString as _, vShow as ll, resolveDynamicComponent as al, mergeProps as ol, withKeys as sl } from "vue";
2
- import { c as Ie, t as ul, O as il, o as gt, f as pt, ae as pe, g as nl, X as rl, J as Le, a as Y, d as X, x as W, aw as vl, P as cl, Q as dl, G as hl, H as yl } from "./lib-C_mNZmhD.js";
1
+ import { watchEffect as Jt, nextTick as Se, useCssVars as Qt, defineAsyncComponent as ue, 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 i, openBlock as u, normalizeStyle as L, normalizeClass as fe, createBlock as ge, createCommentVNode as p, createElementVNode as b, createVNode as Ce, unref as n, withCtx as k, renderSlot as w, normalizeProps as D, guardReactiveProps as B, createSlots as yt, Fragment as S, renderList as H, withDirectives as ft, createTextVNode as Xe, toDisplayString as $, vShow as ll, resolveDynamicComponent as al, mergeProps as ol, withKeys as sl } from "vue";
2
+ import { c as Ie, t as ul, O as nl, o as gt, f as pt, ae as pe, g as il, X as rl, J as Le, a as j, d as V, x as q, aw as vl, P as cl, Q as dl, G as hl, H as yl } from "./lib-C_mNZmhD.js";
3
3
  import { t as Te, u as fl } from "./useResponsive-DfdjqQps.js";
4
- import { u as gl, a as bt } from "./useNestedProp-BjZe1Y85.js";
4
+ import { u as gl, a as bt } from "./useNestedProp-DjGXw6S9.js";
5
5
  import { u as pl } from "./usePrinter-DTzqpYKF.js";
6
6
  import { u as bl, B as ml } from "./BaseScanner-BgWxam9d.js";
7
7
  import { u as xl } from "./useSvgExport-DrjCWun4.js";
@@ -11,41 +11,41 @@ import { u as kl } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { u as xt } from "./useTimeLabelCollider-CIsgDrl9.js";
12
12
  import { u as Al } from "./useChartAccessibility-9icAAmYg.js";
13
13
  import Cl from "./img-BecE5qXd.js";
14
- import Ll from "./Title-l36lOBMx.js";
14
+ import Ll from "./Title-isbiM8i8.js";
15
15
  import { t as Tl } from "./themes-AUNCOb2G.js";
16
- import Sl from "./vue-ui-accordion-CZ0thhxa.js";
17
- import { _ as _l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
- function Ve({ elementRef: y, callback: R, attr: B, earlyReturn: I = !1 }) {
19
- I || Jt(
20
- (j) => {
16
+ import Sl from "./vue-ui-accordion-CqhVCfc2.js";
17
+ import { _ as $l } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ function Ve({ elementRef: y, callback: R, attr: P, earlyReturn: E = !1 }) {
19
+ E || Jt(
20
+ (K) => {
21
21
  const x = y.value;
22
22
  if (!x) return;
23
- const V = new ResizeObserver(($) => {
24
- const q = $[0]?.contentRect;
23
+ const U = new ResizeObserver((_) => {
24
+ const J = _[0]?.contentRect;
25
25
  let f;
26
- if (q && q[B] != null)
27
- f = q[B];
26
+ if (J && J[P] != null)
27
+ f = J[P];
28
28
  else
29
29
  try {
30
- B === "width" ? f = typeof x.getBBox == "function" ? x.getBBox().width : x.getBoundingClientRect().width : f = typeof x.getBBox == "function" ? x.getBBox().height : x.getBoundingClientRect().height;
30
+ P === "width" ? f = typeof x.getBBox == "function" ? x.getBBox().width : x.getBoundingClientRect().width : f = typeof x.getBBox == "function" ? x.getBBox().height : x.getBoundingClientRect().height;
31
31
  } catch {
32
- const K = x.getBoundingClientRect();
33
- f = B === "width" ? K.width : K.height;
32
+ const Q = x.getBoundingClientRect();
33
+ f = P === "width" ? Q.width : Q.height;
34
34
  }
35
35
  typeof f == "number" && !Number.isNaN(f) && R(f);
36
36
  });
37
- V.observe(x), Se(() => {
37
+ U.observe(x), Se(() => {
38
38
  requestAnimationFrame(() => {
39
39
  if (!y.value) return;
40
- const $ = y.value.getBoundingClientRect(), E = B === "width" ? $.width : $.height;
41
- typeof E == "number" && !Number.isNaN(E) && R(E);
40
+ const _ = y.value.getBoundingClientRect(), G = P === "width" ? _.width : _.height;
41
+ typeof G == "number" && !Number.isNaN(G) && R(G);
42
42
  });
43
- }), j(() => V.disconnect());
43
+ }), K(() => U.disconnect());
44
44
  },
45
45
  { flush: "post" }
46
46
  );
47
47
  }
48
- const $l = {
48
+ const _l = {
49
49
  mounted(y, R) {
50
50
  wt(y, R.value);
51
51
  },
@@ -55,38 +55,38 @@ const $l = {
55
55
  };
56
56
  function wt(y, {
57
57
  cellWidth: R,
58
- cellHeight: B,
59
- maxFontSize: I,
60
- minFontSize: j,
58
+ cellHeight: P,
59
+ maxFontSize: E,
60
+ minFontSize: K,
61
61
  index: x,
62
- reportRotation: V,
63
- reportHide: $,
64
- rotateAll: E,
65
- hideAll: q
62
+ reportRotation: U,
63
+ reportHide: _,
64
+ rotateAll: G,
65
+ hideAll: J
66
66
  }) {
67
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);
68
+ let f = !1, Q = !1;
69
+ y.setAttribute("font-size", E);
70
+ const le = y.getComputedTextLength();
71
+ if (le <= R)
72
+ U(x, !1), _(x, !1);
73
73
  else {
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);
74
+ const F = Math.floor(E * R / le);
75
+ F >= K ? (y.setAttribute("font-size", F), U(x, !1), _(x, !1)) : (U(x, !0), _(x, !1), f = !0);
76
76
  }
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 <= B)
83
- $(x, !1);
77
+ if (G && (f = !0), f) {
78
+ y.setAttribute("font-size", E);
79
+ const F = y.getBBox(), z = F.x + F.width / 2, ne = F.y + F.height / 2;
80
+ y.setAttribute("transform", `rotate(-90 ${z} ${ne})`);
81
+ const ae = y.getBBox().width;
82
+ if (ae <= P)
83
+ _(x, !1);
84
84
  else {
85
- const ne = Math.floor(I * B / te);
86
- ne >= j ? (y.setAttribute("font-size", ne), $(x, !1)) : (K = !0, $(x, !0));
85
+ const ie = Math.floor(E * P / ae);
86
+ ie >= K ? (y.setAttribute("font-size", ie), _(x, !1)) : (Q = !0, _(x, !0));
87
87
  }
88
88
  }
89
- (q || K) && y.setAttribute("visibility", "hidden");
89
+ (J || Q) && y.setAttribute("visibility", "hidden");
90
90
  }
91
91
  const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["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"], Dl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Bl = ["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 }, Gl = ["x", "y", "width", "height", "stroke", "stroke-width"], Yl = { class: "vue-ui-heatmap-legend-gauge-right" }, Wl = ["data-value"], jl = { class: "vue-ui-heatmap-gauge-indicator-value" }, ql = {
92
92
  key: 4,
@@ -108,24 +108,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
108
108
  }
109
109
  },
110
110
  emits: ["selectDatapoint"],
111
- setup(y, { expose: R, emit: B }) {
111
+ setup(y, { expose: R, emit: P }) {
112
112
  Qt((t) => ({
113
- v10a17c55: t.tdo
113
+ v18304948: t.tdo
114
114
  }));
115
- const I = oe(() => import("./Tooltip-oWCO1HKy.js")), j = oe(() => import("./BaseIcon-BmMbm4d0.js")), x = oe(() => import("./PenAndPaper-DSvu9dwa.js")), V = oe(() => import("./UserOptions-CGnQt6Fd.js")), $ = oe(() => import("./PackageVersion-Cyx_s25h.js")), E = oe(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_heatmap: q } = gl(), f = y, K = B, ee = g({
115
+ const E = ue(() => import("./Tooltip-oWCO1HKy.js")), K = ue(() => import("./BaseIcon-BmMbm4d0.js")), x = ue(() => import("./PenAndPaper-SZQIAgkg.js")), U = ue(() => import("./UserOptions-CGnQt6Fd.js")), _ = ue(() => import("./PackageVersion-DQvyATVa.js")), G = ue(() => import("./BaseDraggableDialog-ymf2sfB8.js")), { vue_ui_heatmap: J } = gl(), f = y, Q = P, le = g({
116
116
  get() {
117
117
  return !!f.dataset && f.dataset.length;
118
118
  },
119
119
  set(t) {
120
120
  return t;
121
121
  }
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), Ge = d(0), kt = d(null), ve = d(null), _e = d(null), Ye = 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), le = Zt(null), e = d(Fe());
122
+ }), F = d(Ie()), z = d(null), ne = d(!1), ae = d(""), ie = d(void 0), re = d(null), Ee = d(0), Ue = d(null), Ge = d(0), kt = d(null), ve = d(null), $e = d(null), Ye = 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), oe = Zt(null), e = d(Fe());
123
123
  function Tt() {
124
124
  const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
125
125
  for (let v = 0; v < o; v += 1) {
126
126
  const c = [];
127
- for (let k = 0; k < a; k += 1)
128
- c.push(v + k * 2);
127
+ for (let C = 0; C < a; C += 1)
128
+ c.push(v + C * 2);
129
129
  s.push({
130
130
  name: `${t[v]}`,
131
131
  values: c
@@ -133,7 +133,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
133
133
  }
134
134
  return s;
135
135
  }
136
- const { loading: be, FINAL_DATASET: w, manualLoading: Oe } = bl({
136
+ const { loading: be, FINAL_DATASET: A, manualLoading: Oe } = bl({
137
137
  ...el(f),
138
138
  FINAL_CONFIG: e,
139
139
  prepareConfig: Fe,
@@ -175,7 +175,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
175
175
  function Fe() {
176
176
  const t = bt({
177
177
  userConfig: f.config,
178
- defaultConfig: q
178
+ defaultConfig: J
179
179
  });
180
180
  let s = {};
181
181
  return t.theme ? s = {
@@ -183,7 +183,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
183
183
  userConfig: Tl.vue_ui_heatmap[t.theme] || f.config,
184
184
  defaultConfig: t
185
185
  })
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;
186
+ } : s = t, f.config && nl(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;
187
187
  }
188
188
  Ae(() => f.config, (t) => {
189
189
  be.value || (e.value = Fe()), Me.value = !e.value.userOptions.showOnChartHover, Ne(), Ge.value += 1, M.value.showTable = e.value.table.show, M.value.showTooltip = e.value.style.tooltip.show, ce.value = e.value.style.layout.width, de.value = e.value.style.layout.height;
@@ -194,7 +194,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
194
194
  elementId: `heatmap__${F.value}`,
195
195
  fileName: e.value.style.title.text || "vue-ui-heatmap",
196
196
  options: e.value.userOptions.print
197
- }), _t = g(() => e.value.userOptions.show && !e.value.style.title.text), M = d({
197
+ }), $t = g(() => e.value.userOptions.show && !e.value.style.title.text), M = d({
198
198
  showTable: e.value.table.show,
199
199
  showTooltip: e.value.style.tooltip.show
200
200
  });
@@ -204,13 +204,13 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
204
204
  showTooltip: e.value.style.tooltip.show
205
205
  };
206
206
  }, { immediate: !0 });
207
- const $t = g(() => e.value.table.responsiveBreakpoint), U = d(null), lt = g(() => !!e.value.debug);
207
+ const _t = g(() => e.value.table.responsiveBreakpoint), Y = d(null), lt = g(() => !!e.value.debug);
208
208
  function Ne() {
209
209
  if (gt(f.dataset) && (pt({
210
210
  componentName: "VueUiHeatmap",
211
211
  type: "dataset",
212
212
  debug: lt.value
213
- }), ee.value = !1, Oe.value = !0), gt(f.dataset) || (Oe.value = e.value.loading), e.value.responsive) {
213
+ }), le.value = !1, Oe.value = !0), gt(f.dataset) || (Oe.value = e.value.loading), e.value.responsive) {
214
214
  const t = Te(() => {
215
215
  const { width: s, height: a } = fl({
216
216
  chart: z.value,
@@ -224,94 +224,94 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
224
224
  ce.value = s, de.value = a;
225
225
  });
226
226
  });
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);
227
+ Y.value && (oe.value && Y.value.unobserve(oe.value), Y.value.disconnect()), Y.value = new ResizeObserver(t), oe.value = z.value.parentNode, Y.value.observe(oe.value);
228
228
  }
229
229
  }
230
230
  dt(() => {
231
- U.value && (le.value && U.value.unobserve(le.value), U.value.disconnect());
231
+ Y.value && (oe.value && Y.value.unobserve(oe.value), Y.value.disconnect());
232
232
  }), tl(() => {
233
233
  Ne();
234
234
  });
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), O = g(() => ({
235
+ const X = g(() => Math.max(...A.value.flatMap((t) => (t.values || []).length))), ce = d(e.value.style.layout.width), de = d(e.value.style.layout.height), O = g(() => ({
236
236
  width: Math.max(10, ce.value),
237
237
  height: Math.max(10, de.value)
238
238
  })), he = d(0), zt = Te((t) => {
239
239
  he.value = t;
240
240
  }, 100);
241
- Ve({ elementRef: $e, callback: zt, attr: "height" });
242
- const ae = d(0), Ot = Te((t) => {
243
- ae.value = t;
241
+ Ve({ elementRef: _e, callback: zt, attr: "height" });
242
+ const se = d(0), Ot = Te((t) => {
243
+ se.value = t;
244
244
  }, 100);
245
245
  Ve({ elementRef: je, callback: Ot, attr: "width" });
246
246
  const me = d(0), Mt = Te((t) => {
247
247
  me.value = t;
248
248
  }, 100);
249
249
  Ve({ elementRef: ze, callback: Mt, attr: "height" }), dt(() => {
250
- he.value = 0, ae.value = 0, me.value = 0;
250
+ he.value = 0, se.value = 0, me.value = 0;
251
251
  });
252
252
  const r = g(() => Math.min(O.value.height, O.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
253
253
  let t = 0;
254
254
  e.value.style.legend.show && (t = e.value.style.legend.width);
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 = O.value.height - s.top - s.bottom - he.value - a, c = O.value.width / 60, k = {
256
- x: r.value * H.value,
257
- y: r.value * ((w.value || []).length + 1)
258
- }, P = O.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))
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 = O.value.height - s.top - s.bottom - he.value - a, c = O.value.width / 60, C = {
256
+ x: r.value * X.value,
257
+ y: r.value * ((A.value || []).length + 1)
258
+ }, I = O.value.width - s.left - s.right - C.x - c * 2 - 2 - t - se.value, h = v - c - C.y - me.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, T = {
259
+ width: Math.max(3, I / X.value),
260
+ height: Math.max(3, h / (A.value.length ?? 1))
261
261
  };
262
262
  return {
263
263
  top: s.top + he.value + c + a,
264
264
  topLabelsHeight: he.value,
265
265
  sumCellXHeight: c,
266
266
  height: h,
267
- left: s.left + ae.value + c / 2,
267
+ left: s.left + se.value + c / 2,
268
268
  right: s.right - t,
269
269
  bottom: O.value.height - s.bottom - me.value,
270
- width: P,
271
- cellSize: C
270
+ width: I,
271
+ cellSize: T
272
272
  };
273
- }), G = 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);
273
+ }), W = g(() => Math.max(...A.value.flatMap((t) => t.values))), ye = g(() => Math.min(...A.value.flatMap((t) => t.values))), Z = g(() => {
274
+ const t = A.value.flatMap((a) => a.values);
275
275
  return t.reduce((a, o) => a + o, 0) / t.length;
276
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,
277
+ values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : A.value.map((t) => t.name),
278
+ maxDatapoints: A.value.length,
279
279
  formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
280
280
  start: 0,
281
- end: w.value.length
281
+ end: A.value.length
282
282
  })), Ft = g(() => mt({
283
283
  values: e.value.style.layout.dataLabels.xAxis.values,
284
- maxDatapoints: H.value,
284
+ maxDatapoints: X.value,
285
285
  formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
286
286
  start: 0,
287
- end: H.value
287
+ end: X.value
288
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);
289
+ const t = Rt.value.map((h) => h.text), s = Ft.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 = [];
290
+ for (let h = 0; h < X.value; h += 1)
291
+ c.push(A.value.map((T) => T.values[h] || 0).reduce((T, Pe) => T + Pe, 0));
292
+ const C = Math.max(...c), I = Math.min(...c);
293
293
  return {
294
294
  yTotals: a.map((h) => {
295
- const C = isNaN(h / o) ? 0 : h / o;
295
+ const T = isNaN(h / o) ? 0 : h / o;
296
296
  return {
297
297
  total: h,
298
- proportion: C,
298
+ proportion: T,
299
299
  color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
300
300
  };
301
301
  }),
302
302
  xTotals: c.map((h) => {
303
- const C = isNaN(h / k) ? 0 : h / k;
303
+ const T = isNaN(h / C) ? 0 : h / C;
304
304
  return {
305
305
  total: h,
306
- proportion: C,
307
- color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, P, k, h)
306
+ proportion: T,
307
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, I, C, h)
308
308
  };
309
309
  }),
310
310
  yLabels: t,
311
- xLabels: s.slice(0, H.value)
311
+ xLabels: s.slice(0, X.value)
312
312
  };
313
- }), Q = g(() => (w.value.forEach((t, s) => {
314
- nl({
313
+ }), ee = g(() => (A.value.forEach((t, s) => {
314
+ il({
315
315
  datasetObject: t,
316
316
  requiredAttributes: ["values"]
317
317
  }).forEach((a) => {
@@ -323,75 +323,75 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
323
323
  debug: lt.value
324
324
  });
325
325
  });
326
- }), w.value.map((t, s) => ({
326
+ }), A.value.map((t, s) => ({
327
327
  ...t,
328
- temperatures: (t.values || []).map((a, o) => a >= J.value ? {
328
+ temperatures: (t.values || []).map((a, o) => a >= Z.value ? {
329
329
  side: "up",
330
- color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, G.value, a),
331
- ratio: Math.abs(Math.abs(a - J.value) / Math.abs(G.value - J.value)) > 1 ? 1 : Math.abs(Math.abs(a - J.value) / Math.abs(G.value - J.value)),
330
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
331
+ ratio: Math.abs(Math.abs(a - Z.value) / Math.abs(W.value - Z.value)) > 1 ? 1 : Math.abs(Math.abs(a - Z.value) / Math.abs(W.value - Z.value)),
332
332
  value: a,
333
333
  yAxisName: m.value.yLabels[s],
334
334
  xAxisName: m.value.xLabels[o],
335
335
  id: `vue-data-ui-heatmap-cell-${Ie()}`
336
336
  } : {
337
337
  side: "down",
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, G.value, a),
338
+ ratio: Math.abs(1 - Math.abs(a) / Math.abs(Z.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(Z.value)),
339
+ color: pe(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ye.value, W.value, a),
340
340
  value: a,
341
341
  yAxisName: m.value.yLabels[s],
342
342
  xAxisName: m.value.xLabels[o],
343
343
  id: `vue-data-ui-heatmap-cell-${Ie()}`
344
344
  })
345
- })))), at = g(() => w.value.length), ot = ht(Array(at.value * H.value || 1).fill(!1)), Nt = g(() => ot.some((t) => t));
345
+ })))), at = g(() => A.value.length), ot = ht(Array(at.value * X.value || 1).fill(!1)), Nt = g(() => ot.some((t) => t));
346
346
  function Dt(t, s) {
347
347
  ot[t] = s;
348
348
  }
349
- const st = ht(Array(at.value * H.value || 1).fill(!1)), Bt = g(() => st.some((t) => t));
349
+ const st = ht(Array(at.value * X.value || 1).fill(!1)), Bt = g(() => st.some((t) => t));
350
350
  function Ht(t, s) {
351
351
  st[t] = s;
352
352
  }
353
353
  const N = d(null), xe = d(null);
354
354
  function Pt(t, s, a, o) {
355
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 = {
356
+ const { value: v, yAxisName: c, xAxisName: C, id: I } = t;
357
+ ie.value = I, N.value = v, xe.value = {
358
358
  datapoint: t,
359
359
  seriesIndex: s,
360
- series: Q.value,
360
+ series: ee.value,
361
361
  config: e.value
362
- }, ie.value = !0;
362
+ }, ne.value = !0;
363
363
  let h = "";
364
- const C = e.value.style.tooltip.customFormat;
365
- hl(C) && yl(() => C({
364
+ const T = e.value.style.tooltip.customFormat;
365
+ hl(T) && yl(() => T({
366
366
  datapoint: t,
367
367
  seriesIndex: s,
368
- series: Q.value,
368
+ series: ee.value,
369
369
  config: e.value
370
- })) ? te.value = C({
370
+ })) ? ae.value = T({
371
371
  datapoint: t,
372
372
  seriesIndex: s,
373
- series: Q.value,
373
+ series: ee.value,
374
374
  config: e.value
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, G.value, v)}">⬤</span><span>${isNaN(v) ? "-" : Y(
375
+ }) : (h += `<div>${c} ${C ? c ? ` - ${C}` : `${C}` : ""}</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, W.value, v)}">⬤</span><span>${isNaN(v) ? "-" : j(
376
376
  e.value.style.layout.cells.value.formatter,
377
377
  v,
378
- X({
378
+ V({
379
379
  p: e.value.style.layout.dataLabels.prefix,
380
380
  v,
381
381
  s: e.value.style.layout.dataLabels.suffix,
382
382
  r: e.value.style.tooltip.roundingValue
383
383
  }),
384
384
  { datapoint: t, seriesIndex: s }
385
- )}</span></div>`, te.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
385
+ )}</span></div>`, ae.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
386
386
  }
387
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;
388
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ne.value = !1, ie.value = void 0, N.value = null, re.value = null;
389
389
  }
390
390
  function It(t) {
391
- return Y(
391
+ return j(
392
392
  e.value.style.layout.cells.value.formatter,
393
393
  m.value.yTotals[t].total,
394
- X({
394
+ V({
395
395
  p: e.value.style.layout.dataLabels.prefix,
396
396
  v: m.value.yTotals[t].total,
397
397
  s: e.value.style.layout.dataLabels.suffix,
@@ -401,10 +401,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
401
401
  );
402
402
  }
403
403
  function Vt(t) {
404
- return Y(
404
+ return j(
405
405
  e.value.style.layout.cells.value.formatter,
406
406
  m.value.xTotals[t].total,
407
- X({
407
+ V({
408
408
  p: e.value.style.layout.dataLabels.prefix,
409
409
  v: m.value.xTotals[t].total,
410
410
  s: e.value.style.layout.dataLabels.suffix,
@@ -414,32 +414,32 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
414
414
  );
415
415
  }
416
416
  g(() => {
417
- const t = w.value.map((a) => ({
417
+ const t = A.value.map((a) => ({
418
418
  name: a.name
419
- })), s = w.value.map((a) => a.values);
419
+ })), s = A.value.map((a) => a.values);
420
420
  return { head: t, body: s };
421
421
  });
422
422
  function De(t = null) {
423
423
  Se(() => {
424
- const s = ["", ...w.value.map((c, k) => c.name)], a = [];
424
+ const s = ["", ...A.value.map((c, C) => c.name)], a = [];
425
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);
426
+ const C = [m.value.xLabels[c]];
427
+ for (let I = 0; I < A.value.length; I += 1)
428
+ C.push([A.value[I].values[c]]);
429
+ a.push(C);
430
430
  }
431
431
  const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(a), v = cl(o);
432
432
  t ? t(v) : dl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
433
433
  });
434
434
  }
435
- const Z = d(!1);
435
+ const te = d(!1);
436
436
  function ut(t) {
437
- Z.value = t, Ee.value += 1;
437
+ te.value = t, Ee.value += 1;
438
438
  }
439
- function it() {
439
+ function nt() {
440
440
  M.value.showTable = !M.value.showTable;
441
441
  }
442
- function nt() {
442
+ function it() {
443
443
  M.value.showTooltip = !M.value.showTooltip;
444
444
  }
445
445
  const we = d(!1);
@@ -447,10 +447,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
447
447
  we.value = !we.value;
448
448
  }
449
449
  function Et(t, s) {
450
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), K("selectDatapoint", t);
450
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), Q("selectDatapoint", t);
451
451
  }
452
452
  function Ut() {
453
- return Q.value;
453
+ return ee.value;
454
454
  }
455
455
  async function Gt({ scale: t = 2 } = {}) {
456
456
  if (!z.value) return;
@@ -466,10 +466,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
466
466
  }
467
467
  const rt = g(() => ({
468
468
  start: 0,
469
- end: H.value
469
+ end: X.value
470
470
  })), vt = g(() => m.value.xLabels);
471
471
  xt({
472
- timeLabelsEls: $e,
472
+ timeLabelsEls: _e,
473
473
  timeLabels: vt,
474
474
  slicer: rt,
475
475
  configRef: e,
@@ -496,14 +496,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
496
496
  const ke = g(() => {
497
497
  const t = e.value.table.useDialog && !e.value.table.show, s = M.value.showTable;
498
498
  return {
499
- component: t ? E : Sl,
499
+ component: t ? G : Sl,
500
500
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
501
501
  props: t ? {
502
502
  backgroundColor: e.value.table.th.backgroundColor,
503
503
  color: e.value.table.th.color,
504
504
  headerColor: e.value.table.th.color,
505
505
  headerBg: e.value.table.th.backgroundColor,
506
- isFullscreen: Z.value,
506
+ isFullscreen: te.value,
507
507
  fullscreenParent: z.value,
508
508
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
509
509
  } : {
@@ -526,9 +526,9 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
526
526
  Ae(() => M.value.showTable, async (t) => {
527
527
  e.value.table.show || (t && e.value.table.useDialog && ve.value ? (await Se(), ve.value.open()) : "close" in ve.value && ve.value.close());
528
528
  });
529
- const { isResponsive: Yt } = wl(Ue, $t);
529
+ const { isResponsive: Yt } = wl(Ue, _t);
530
530
  function He() {
531
- M.value.showTable = !1, _e.value && _e.value.setTableIconState(!1);
531
+ M.value.showTable = !1, $e.value && $e.value.setTableIconState(!1);
532
532
  }
533
533
  const Wt = g(() => e.value.style.backgroundColor), jt = g(() => e.value.style.title), { exportSvg: qt, getSvg: Kt } = xl({
534
534
  svg: Re,
@@ -549,35 +549,55 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
549
549
  generateCsv: De,
550
550
  generateImage: tt,
551
551
  generateSvg: ct,
552
- toggleTable: it,
553
- toggleTooltip: nt,
552
+ toggleTable: nt,
553
+ toggleTooltip: it,
554
554
  toggleAnnotator: Be,
555
555
  toggleFullscreen: ut
556
- }), (t, s) => (u(), n("div", {
556
+ }), (t, s) => (u(), i("div", {
557
557
  ref_key: "heatmapChart",
558
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}`),
559
+ class: fe(`vue-data-ui-component vue-ui-heatmap ${te.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
560
+ style: L(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
561
561
  id: `heatmap__${F.value}`,
562
562
  onMouseenter: s[1] || (s[1] = () => Je(!0)),
563
563
  onMouseleave: s[2] || (s[2] = () => Je(!1))
564
564
  }, [
565
- e.value.userOptions.buttons.annotator ? (u(), ge(i(x), {
565
+ e.value.userOptions.buttons.annotator ? (u(), ge(n(x), {
566
566
  key: 0,
567
- svgRef: i(Re),
567
+ svgRef: n(Re),
568
568
  backgroundColor: e.value.style.backgroundColor,
569
569
  color: e.value.style.color,
570
570
  active: we.value,
571
571
  onClose: Be
572
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
573
- _t.value ? (u(), n("div", {
572
+ }, {
573
+ "annotator-action-close": k(() => [
574
+ w(t.$slots, "annotator-action-close", {}, void 0, !0)
575
+ ]),
576
+ "annotator-action-color": k(({ color: a }) => [
577
+ w(t.$slots, "annotator-action-color", D(B({ color: a })), void 0, !0)
578
+ ]),
579
+ "annotator-action-draw": k(({ mode: a }) => [
580
+ w(t.$slots, "annotator-action-draw", D(B({ mode: a })), void 0, !0)
581
+ ]),
582
+ "annotator-action-undo": k(({ disabled: a }) => [
583
+ w(t.$slots, "annotator-action-undo", D(B({ disabled: a })), void 0, !0)
584
+ ]),
585
+ "annotator-action-redo": k(({ disabled: a }) => [
586
+ w(t.$slots, "annotator-action-redo", D(B({ disabled: a })), void 0, !0)
587
+ ]),
588
+ "annotator-action-delete": k(({ disabled: a }) => [
589
+ w(t.$slots, "annotator-action-delete", D(B({ disabled: a })), void 0, !0)
590
+ ]),
591
+ _: 3
592
+ }, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
593
+ $t.value ? (u(), i("div", {
574
594
  key: 1,
575
595
  ref_key: "noTitle",
576
596
  ref: We,
577
597
  class: "vue-data-ui-no-title-space",
578
598
  style: "height:36px; width: 100%;background:transparent"
579
599
  }, null, 512)) : p("", !0),
580
- e.value.style.title.text ? (u(), n("div", {
600
+ e.value.style.title.text ? (u(), i("div", {
581
601
  key: 2,
582
602
  ref_key: "chartTitle",
583
603
  ref: Ye,
@@ -597,14 +617,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
597
617
  }
598
618
  }, null, 8, ["config"]))
599
619
  ], 512)) : p("", !0),
600
- e.value.userOptions.show && ee.value && (i(Ke) || i(Me)) ? (u(), ge(i(V), {
620
+ e.value.userOptions.show && le.value && (n(Ke) || n(Me)) ? (u(), ge(n(U), {
601
621
  ref_key: "userOptionsRef",
602
- ref: _e,
622
+ ref: $e,
603
623
  key: `user_options_${Ee.value}`,
604
624
  backgroundColor: e.value.style.backgroundColor,
605
625
  color: e.value.style.color,
606
- isImaging: i(Ze),
607
- isPrinting: i(Qe),
626
+ isImaging: n(Ze),
627
+ isPrinting: n(Qe),
608
628
  uid: F.value,
609
629
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
610
630
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -613,7 +633,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
613
633
  hasXls: e.value.userOptions.buttons.csv,
614
634
  hasTable: e.value.userOptions.buttons.table,
615
635
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
616
- isFullscreen: Z.value,
636
+ isFullscreen: te.value,
617
637
  isTooltip: M.value.showTooltip,
618
638
  titles: { ...e.value.userOptions.buttonTitles },
619
639
  chartElement: z.value,
@@ -624,77 +644,77 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
624
644
  printScale: e.value.userOptions.print.scale,
625
645
  tableDialog: e.value.table.useDialog,
626
646
  onToggleFullscreen: ut,
627
- onGeneratePdf: i(et),
647
+ onGeneratePdf: n(et),
628
648
  onGenerateCsv: De,
629
- onGenerateImage: i(tt),
649
+ onGenerateImage: n(tt),
630
650
  onGenerateSvg: ct,
631
- onToggleTable: it,
632
- onToggleTooltip: nt,
651
+ onToggleTable: nt,
652
+ onToggleTooltip: it,
633
653
  onToggleAnnotator: Be,
634
- style: A({
635
- visibility: i(Ke) ? i(Me) ? "visible" : "hidden" : "visible"
654
+ style: L({
655
+ visibility: n(Ke) ? n(Me) ? "visible" : "hidden" : "visible"
636
656
  })
637
657
  }, yt({ _: 2 }, [
638
658
  t.$slots.menuIcon ? {
639
659
  name: "menuIcon",
640
- fn: S(({ isOpen: a, color: o }) => [
641
- L(t.$slots, "menuIcon", se(ue({ isOpen: a, color: o })), void 0, !0)
660
+ fn: k(({ isOpen: a, color: o }) => [
661
+ w(t.$slots, "menuIcon", D(B({ isOpen: a, color: o })), void 0, !0)
642
662
  ]),
643
663
  key: "0"
644
664
  } : void 0,
645
665
  t.$slots.optionTooltip ? {
646
666
  name: "optionTooltip",
647
- fn: S(() => [
648
- L(t.$slots, "optionTooltip", {}, void 0, !0)
667
+ fn: k(() => [
668
+ w(t.$slots, "optionTooltip", {}, void 0, !0)
649
669
  ]),
650
670
  key: "1"
651
671
  } : void 0,
652
672
  t.$slots.optionPdf ? {
653
673
  name: "optionPdf",
654
- fn: S(() => [
655
- L(t.$slots, "optionPdf", {}, void 0, !0)
674
+ fn: k(() => [
675
+ w(t.$slots, "optionPdf", {}, void 0, !0)
656
676
  ]),
657
677
  key: "2"
658
678
  } : void 0,
659
679
  t.$slots.optionCsv ? {
660
680
  name: "optionCsv",
661
- fn: S(() => [
662
- L(t.$slots, "optionCsv", {}, void 0, !0)
681
+ fn: k(() => [
682
+ w(t.$slots, "optionCsv", {}, void 0, !0)
663
683
  ]),
664
684
  key: "3"
665
685
  } : void 0,
666
686
  t.$slots.optionImg ? {
667
687
  name: "optionImg",
668
- fn: S(() => [
669
- L(t.$slots, "optionImg", {}, void 0, !0)
688
+ fn: k(() => [
689
+ w(t.$slots, "optionImg", {}, void 0, !0)
670
690
  ]),
671
691
  key: "4"
672
692
  } : void 0,
673
693
  t.$slots.optionSvg ? {
674
694
  name: "optionSvg",
675
- fn: S(() => [
676
- L(t.$slots, "optionSvg", {}, void 0, !0)
695
+ fn: k(() => [
696
+ w(t.$slots, "optionSvg", {}, void 0, !0)
677
697
  ]),
678
698
  key: "5"
679
699
  } : void 0,
680
700
  t.$slots.optionTable ? {
681
701
  name: "optionTable",
682
- fn: S(() => [
683
- L(t.$slots, "optionTable", {}, void 0, !0)
702
+ fn: k(() => [
703
+ w(t.$slots, "optionTable", {}, void 0, !0)
684
704
  ]),
685
705
  key: "6"
686
706
  } : void 0,
687
707
  t.$slots.optionFullscreen ? {
688
708
  name: "optionFullscreen",
689
- fn: S(({ toggleFullscreen: a, isFullscreen: o }) => [
690
- L(t.$slots, "optionFullscreen", se(ue({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
709
+ fn: k(({ toggleFullscreen: a, isFullscreen: o }) => [
710
+ w(t.$slots, "optionFullscreen", D(B({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
691
711
  ]),
692
712
  key: "7"
693
713
  } : void 0,
694
714
  t.$slots.optionAnnotator ? {
695
715
  name: "optionAnnotator",
696
- fn: S(({ toggleAnnotator: a, isAnnotator: o }) => [
697
- L(t.$slots, "optionAnnotator", se(ue({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
716
+ fn: k(({ toggleAnnotator: a, isAnnotator: o }) => [
717
+ w(t.$slots, "optionAnnotator", D(B({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
698
718
  ]),
699
719
  key: "8"
700
720
  } : void 0
@@ -705,20 +725,20 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
705
725
  "vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
706
726
  })
707
727
  }, [
708
- (u(), n("svg", {
728
+ (u(), i("svg", {
709
729
  ref_key: "svgRef",
710
730
  ref: Re,
711
- xmlns: i(rl),
712
- class: fe({ "vue-data-ui-fullscreen--on": Z.value, "vue-data-ui-fulscreen--off": !Z.value }),
731
+ xmlns: n(rl),
732
+ class: fe({ "vue-data-ui-fullscreen--on": te.value, "vue-data-ui-fulscreen--off": !te.value }),
713
733
  viewBox: `0 0 ${O.value.width} ${O.value.height}`,
714
734
  width: "100%",
715
- style: A(`overflow: visible; background:transparent;color:${e.value.style.color}`),
735
+ style: L(`overflow: visible; background:transparent;color:${e.value.style.color}`),
716
736
  "aria-live": "polite",
717
737
  role: "img",
718
738
  preserveAspectRatio: "xMidYMid"
719
739
  }, [
720
- Ce(i($)),
721
- t.$slots["chart-background"] ? (u(), n("foreignObject", {
740
+ Ce(n(_)),
741
+ t.$slots["chart-background"] ? (u(), i("foreignObject", {
722
742
  key: 0,
723
743
  x: l.value.left,
724
744
  y: l.value.top,
@@ -728,14 +748,14 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
728
748
  pointerEvents: "none"
729
749
  }
730
750
  }, [
731
- L(t.$slots, "chart-background", {}, void 0, !0)
751
+ w(t.$slots, "chart-background", {}, void 0, !0)
732
752
  ], 8, Ml)) : p("", !0),
733
- e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
753
+ e.value.style.layout.cells.columnTotal.color.show ? (u(), i("g", {
734
754
  key: 1,
735
755
  ref_key: "xAxisSumRects",
736
756
  ref: Lt
737
757
  }, [
738
- (u(!0), n(T, null, D(m.value.xTotals, (a, o) => (u(), n("rect", {
758
+ (u(!0), i(S, null, H(m.value.xTotals, (a, o) => (u(), i("rect", {
739
759
  x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
740
760
  y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
741
761
  height: l.value.sumCellXHeight,
@@ -744,7 +764,7 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
744
764
  stroke: e.value.style.backgroundColor,
745
765
  "stroke-width": r.value
746
766
  }, null, 8, Rl))), 256)),
747
- (u(!0), n(T, null, D(m.value.xTotals, (a, o) => (u(), n("rect", {
767
+ (u(!0), i(S, null, H(m.value.xTotals, (a, o) => (u(), i("rect", {
748
768
  x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
749
769
  y: l.value.top - l.value.sumCellXHeight + r.value * (O.value.height / O.value.width),
750
770
  height: l.value.sumCellXHeight,
@@ -758,8 +778,8 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
758
778
  ref_key: "datapoints",
759
779
  ref: kt
760
780
  }, [
761
- (u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
762
- (u(!0), n(T, null, D(a.temperatures, (v, c) => (u(), n("g", null, [
781
+ (u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
782
+ (u(!0), i(S, null, H(a.temperatures, (v, c) => (u(), i("g", null, [
763
783
  b("rect", {
764
784
  x: l.value.left + l.value.cellSize.width * c + r.value / 2 + l.value.sumCellXHeight,
765
785
  y: l.value.top + l.value.cellSize.height * o + r.value / 2,
@@ -777,24 +797,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
777
797
  fill: v.color,
778
798
  stroke: e.value.style.backgroundColor,
779
799
  "stroke-width": r.value,
780
- onMouseover: (k) => Pt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
800
+ onMouseover: (C) => Pt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
781
801
  onMouseout: () => Xt({ datapoint: v, seriesIndex: o }),
782
802
  onClick: () => Et(v, o)
783
803
  }, null, 40, Dl),
784
- e.value.style.layout.cells.value.show ? ft((u(), n("text", {
804
+ e.value.style.layout.cells.value.show ? ft((u(), i("text", {
785
805
  key: 0,
786
806
  "text-anchor": "middle",
787
807
  "font-size": e.value.style.layout.cells.value.fontSize,
788
808
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
789
- fill: i(Le)(v.color),
809
+ fill: n(Le)(v.color),
790
810
  x: l.value.left + l.value.cellSize.width * c + l.value.cellSize.width / 2 + l.value.sumCellXHeight,
791
811
  y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
792
812
  style: { pointerEvents: "none", userSelect: "none" }
793
813
  }, [
794
- Xe(_(i(Y)(
814
+ Xe($(n(j)(
795
815
  e.value.style.layout.cells.value.formatter,
796
816
  v.value,
797
- i(X)({
817
+ n(V)({
798
818
  p: e.value.style.layout.dataLabels.prefix,
799
819
  v: v.value,
800
820
  s: e.value.style.layout.dataLabels.suffix,
@@ -803,12 +823,12 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
803
823
  { datapoint: v }
804
824
  )), 1)
805
825
  ], 8, Bl)), [
806
- [i($l), {
826
+ [n(_l), {
807
827
  cellWidth: l.value.cellSize.width - r.value,
808
828
  cellHeight: l.value.cellSize.height - r.value,
809
829
  maxFontSize: e.value.style.layout.cells.value.fontSize,
810
830
  minFontSize: 10,
811
- index: o * H.value + c,
831
+ index: o * X.value + c,
812
832
  reportHide: Ht,
813
833
  reportRotation: Dt,
814
834
  hideAll: Bt.value,
@@ -818,12 +838,12 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
818
838
  ]))), 256))
819
839
  ], 64))), 256))
820
840
  ], 512),
821
- e.value.style.layout.cells.rowTotal.color.show ? (u(), n("g", {
841
+ e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", {
822
842
  key: 2,
823
843
  ref_key: "yAxisSumRects",
824
844
  ref: Ct
825
845
  }, [
826
- (u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
846
+ (u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
827
847
  b("rect", {
828
848
  x: l.value.left,
829
849
  y: l.value.top + l.value.cellSize.height * o,
@@ -844,40 +864,40 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
844
864
  }, null, 8, Pl)
845
865
  ], 64))), 256))
846
866
  ], 512)) : p("", !0),
847
- e.value.style.layout.dataLabels.yAxis.show ? (u(), n("g", {
867
+ e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", {
848
868
  key: 3,
849
869
  ref_key: "yAxisLabels",
850
870
  ref: je
851
871
  }, [
852
- (u(!0), n(T, null, D(Q.value, (a, o) => (u(), n(T, null, [
872
+ (u(!0), i(S, null, H(ee.value, (a, o) => (u(), i(S, null, [
853
873
  b("text", {
854
874
  class: "vue-ui-heatmap-row-name",
855
875
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
856
876
  fill: e.value.style.layout.dataLabels.yAxis.color,
857
- x: ae.value,
877
+ x: se.value,
858
878
  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),
859
879
  "text-anchor": "end",
860
880
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
861
- }, _(m.value.yLabels[o]), 9, Xl),
862
- e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
881
+ }, $(m.value.yLabels[o]), 9, Xl),
882
+ e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
863
883
  key: 0,
864
884
  class: "vue-ui-heatmap-row-total",
865
885
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
866
886
  fill: e.value.style.layout.dataLabels.yAxis.color,
867
- x: ae.value,
887
+ x: se.value,
868
888
  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,
869
889
  "text-anchor": "end",
870
890
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
871
- }, _(It(o)), 9, Il)) : p("", !0)
891
+ }, $(It(o)), 9, Il)) : p("", !0)
872
892
  ], 64))), 256))
873
893
  ], 512)) : p("", !0),
874
- e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
894
+ e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", {
875
895
  key: 4,
876
896
  ref_key: "xAxisLabels",
877
- ref: $e
897
+ ref: _e
878
898
  }, [
879
- (u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n(T, null, [
880
- !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", {
899
+ (u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i(S, null, [
900
+ !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", {
881
901
  key: 0,
882
902
  class: "vue-ui-heatmap-col-name",
883
903
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
@@ -885,24 +905,24 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
885
905
  fill: e.value.style.layout.dataLabels.xAxis.color,
886
906
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
887
907
  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})`
888
- }, _(a), 9, Vl)) : p("", !0)
908
+ }, $(a), 9, Vl)) : p("", !0)
889
909
  ], 64))), 256))
890
910
  ], 512)) : p("", !0),
891
- e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
911
+ e.value.style.layout.cells.columnTotal.value.show ? (u(), i("g", {
892
912
  key: 5,
893
913
  ref_key: "xAxisSums",
894
914
  ref: ze
895
915
  }, [
896
- (u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n("text", {
916
+ (u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i("text", {
897
917
  class: "vue-ui-heatmap-col-total",
898
918
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
899
919
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
900
920
  fill: e.value.style.layout.dataLabels.xAxis.color,
901
921
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
902
922
  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})`
903
- }, _(Vt(o)), 9, El))), 256))
923
+ }, $(Vt(o)), 9, El))), 256))
904
924
  ], 512)) : p("", !0),
905
- re.value ? (u(), n("g", Ul, [
925
+ re.value ? (u(), i("g", Ul, [
906
926
  b("rect", {
907
927
  style: { "pointer-events": "none" },
908
928
  x: re.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
@@ -915,30 +935,30 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
915
935
  rx: 1
916
936
  }, null, 8, Gl)
917
937
  ])) : p("", !0),
918
- L(t.$slots, "svg", { svg: O.value }, void 0, !0)
938
+ w(t.$slots, "svg", { svg: O.value }, void 0, !0)
919
939
  ], 14, Ol)),
920
- e.value.style.legend.show ? (u(), n("div", {
940
+ e.value.style.legend.show ? (u(), i("div", {
921
941
  key: 0,
922
942
  ref_key: "legendRight",
923
943
  ref: At,
924
944
  class: "vue-ui-heatmap-legend-right",
925
- style: A({
945
+ style: L({
926
946
  "--legend-width": e.value.style.legend.width + "px"
927
947
  })
928
948
  }, [
929
- i(be) ? p("", !0) : (u(), n("div", {
949
+ n(be) ? p("", !0) : (u(), i("div", {
930
950
  key: 0,
931
951
  class: "vue-ui-heatmap-legend-label-max",
932
- style: A({
952
+ style: L({
933
953
  fontSize: e.value.style.legend.fontSize + "px",
934
954
  color: e.value.style.legend.color
935
955
  })
936
- }, _(i(Y)(
956
+ }, $(n(j)(
937
957
  e.value.style.layout.cells.value.formatter,
938
- i(W)(G.value),
939
- i(X)({
958
+ n(q)(W.value),
959
+ n(V)({
940
960
  p: e.value.style.layout.dataLabels.prefix,
941
- v: i(W)(G.value),
961
+ v: n(q)(W.value),
942
962
  s: e.value.style.layout.dataLabels.suffix,
943
963
  r: e.value.style.legend.roundingValue
944
964
  })
@@ -946,42 +966,42 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
946
966
  b("div", Yl, [
947
967
  b("div", {
948
968
  class: "vue-ui-heatmap-gauge",
949
- style: A({
969
+ style: L({
950
970
  background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
951
971
  })
952
972
  }, [
953
973
  ft(b("div", {
954
974
  class: "vue-ui-heatmap-gauge-indicator",
955
- "data-value": i(Y)(
975
+ "data-value": n(j)(
956
976
  e.value.style.layout.cells.value.formatter,
957
- i(W)(N.value),
958
- i(X)({
977
+ n(q)(N.value),
978
+ n(V)({
959
979
  p: e.value.style.layout.dataLabels.prefix,
960
- v: i(W)(N.value),
980
+ v: n(q)(N.value),
961
981
  s: e.value.style.layout.dataLabels.suffix,
962
982
  r: e.value.style.legend.roundingValue
963
983
  })
964
984
  ),
965
- style: A({
985
+ style: L({
966
986
  position: "absolute",
967
987
  width: "100%",
968
988
  height: "2px",
969
- background: [void 0, null].includes(N.value) ? "transparent" : i(Le)(xe.value.datapoint.color),
970
- top: `${[void 0, null].includes(N.value) ? 0 : (1 - N.value / G.value) * 100}%`,
989
+ background: [void 0, null].includes(N.value) ? "transparent" : n(Le)(xe.value.datapoint.color),
990
+ top: `${[void 0, null].includes(N.value) ? 0 : (1 - N.value / W.value) * 100}%`,
971
991
  transition: "all 0.2s ease-in-out",
972
992
  "--background-color": e.value.style.backgroundColor,
973
- "--gauge-arrow-color": i(Le)(e.value.style.backgroundColor),
974
- "--gauge-arrow-text-color": i(Le)(e.value.style.backgroundColor),
993
+ "--gauge-arrow-color": n(Le)(e.value.style.backgroundColor),
994
+ "--gauge-arrow-text-color": n(Le)(e.value.style.backgroundColor),
975
995
  "--gauge-arrow-value": N.value,
976
996
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
977
997
  })
978
998
  }, [
979
- b("div", jl, _(i(Y)(
999
+ b("div", jl, $(n(j)(
980
1000
  e.value.style.layout.cells.value.formatter,
981
- i(W)(N.value),
982
- i(X)({
1001
+ n(q)(N.value),
1002
+ n(V)({
983
1003
  p: e.value.style.layout.dataLabels.prefix,
984
- v: i(W)(N.value),
1004
+ v: n(q)(N.value),
985
1005
  s: e.value.style.layout.dataLabels.suffix,
986
1006
  r: e.value.style.legend.roundingValue
987
1007
  })
@@ -991,38 +1011,38 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
991
1011
  ])
992
1012
  ], 4)
993
1013
  ]),
994
- i(be) ? p("", !0) : (u(), n("div", {
1014
+ n(be) ? p("", !0) : (u(), i("div", {
995
1015
  key: 1,
996
1016
  class: "vue-ui-heatmap-legend-label-min",
997
- style: A({
1017
+ style: L({
998
1018
  fontSize: e.value.style.legend.fontSize + "px",
999
1019
  color: e.value.style.legend.color
1000
1020
  })
1001
- }, _(i(Y)(
1021
+ }, $(n(j)(
1002
1022
  e.value.style.layout.cells.value.formatter,
1003
- i(W)(ye.value),
1004
- i(X)({
1023
+ n(q)(ye.value),
1024
+ n(V)({
1005
1025
  p: e.value.style.layout.dataLabels.prefix,
1006
- v: i(W)(ye.value),
1026
+ v: n(q)(ye.value),
1007
1027
  s: e.value.style.layout.dataLabels.suffix,
1008
1028
  r: e.value.style.legend.roundingValue
1009
1029
  })
1010
1030
  )), 5))
1011
1031
  ], 4)) : p("", !0)
1012
1032
  ], 2),
1013
- t.$slots.watermark ? (u(), n("div", ql, [
1014
- L(t.$slots, "watermark", se(ue({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
1033
+ t.$slots.watermark ? (u(), i("div", ql, [
1034
+ w(t.$slots, "watermark", D(B({ isPrinting: n(Qe) || n(Ze) })), void 0, !0)
1015
1035
  ])) : p("", !0),
1016
- t.$slots.source ? (u(), n("div", {
1036
+ t.$slots.source ? (u(), i("div", {
1017
1037
  key: 5,
1018
1038
  ref_key: "source",
1019
1039
  ref: qe,
1020
1040
  dir: "auto"
1021
1041
  }, [
1022
- L(t.$slots, "source", {}, void 0, !0)
1042
+ w(t.$slots, "source", {}, void 0, !0)
1023
1043
  ], 512)) : p("", !0),
1024
- Ce(i(I), {
1025
- show: M.value.showTooltip && ie.value,
1044
+ Ce(n(E), {
1045
+ show: M.value.showTooltip && ne.value,
1026
1046
  backgroundColor: e.value.style.tooltip.backgroundColor,
1027
1047
  color: e.value.style.tooltip.color,
1028
1048
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -1033,93 +1053,93 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
1033
1053
  position: e.value.style.tooltip.position,
1034
1054
  offsetY: e.value.style.tooltip.offsetY,
1035
1055
  parent: z.value,
1036
- content: te.value,
1037
- isFullscreen: Z.value,
1056
+ content: ae.value,
1057
+ isFullscreen: te.value,
1038
1058
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
1039
1059
  smooth: e.value.style.tooltip.smooth,
1040
1060
  backdropFilter: e.value.style.tooltip.backdropFilter,
1041
1061
  smoothForce: e.value.style.tooltip.smoothForce,
1042
1062
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1043
1063
  }, {
1044
- "tooltip-before": S(() => [
1045
- L(t.$slots, "tooltip-before", se(ue({ ...xe.value })), void 0, !0)
1064
+ "tooltip-before": k(() => [
1065
+ w(t.$slots, "tooltip-before", D(B({ ...xe.value })), void 0, !0)
1046
1066
  ]),
1047
- "tooltip-after": S(() => [
1048
- L(t.$slots, "tooltip-after", se(ue({ ...xe.value })), void 0, !0)
1067
+ "tooltip-after": k(() => [
1068
+ w(t.$slots, "tooltip-after", D(B({ ...xe.value })), void 0, !0)
1049
1069
  ]),
1050
1070
  _: 3
1051
1071
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
1052
- ee.value && e.value.userOptions.buttons.table ? (u(), ge(al(ke.value.component), ol({ key: 6 }, ke.value.props, {
1072
+ le.value && e.value.userOptions.buttons.table ? (u(), ge(al(ke.value.component), ol({ key: 6 }, ke.value.props, {
1053
1073
  ref_key: "tableUnit",
1054
1074
  ref: ve,
1055
1075
  onClose: He
1056
1076
  }), yt({
1057
- content: S(() => [
1077
+ content: k(() => [
1058
1078
  b("div", {
1059
1079
  ref_key: "tableContainer",
1060
1080
  ref: Ue,
1061
1081
  class: "vue-ui-heatmap-table atom-data-table",
1062
- style: A(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1082
+ style: L(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1063
1083
  }, [
1064
1084
  b("div", {
1065
- style: A(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1066
- class: fe({ "vue-ui-responsive": i(Yt) })
1085
+ style: L(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1086
+ class: fe({ "vue-ui-responsive": n(Yt) })
1067
1087
  }, [
1068
- e.value.table.useDialog ? p("", !0) : (u(), n("div", {
1088
+ e.value.table.useDialog ? p("", !0) : (u(), i("div", {
1069
1089
  key: 0,
1070
1090
  role: "button",
1071
1091
  tabindex: "0",
1072
- 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};`),
1092
+ 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};`),
1073
1093
  onClick: He,
1074
1094
  onKeypress: sl(He, ["enter"])
1075
1095
  }, [
1076
- Ce(i(j), {
1096
+ Ce(n(K), {
1077
1097
  name: "close",
1078
1098
  stroke: e.value.table.th.color,
1079
1099
  "stroke-width": 2
1080
1100
  }, null, 8, ["stroke"])
1081
1101
  ], 36)),
1082
1102
  b("table", Kl, [
1083
- e.value.table.useDialog ? p("", !0) : (u(), n("caption", {
1103
+ e.value.table.useDialog ? p("", !0) : (u(), i("caption", {
1084
1104
  key: 0,
1085
- style: A(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1105
+ style: L(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1086
1106
  }, [
1087
- Xe(_(e.value.style.title.text) + " ", 1),
1088
- e.value.style.title.subtitle.text ? (u(), n("span", Jl, _(e.value.style.title.subtitle.text), 1)) : p("", !0)
1107
+ Xe($(e.value.style.title.text) + " ", 1),
1108
+ e.value.style.title.subtitle.text ? (u(), i("span", Jl, $(e.value.style.title.subtitle.text), 1)) : p("", !0)
1089
1109
  ], 4)),
1090
1110
  b("thead", null, [
1091
1111
  b("tr", {
1092
1112
  role: "row",
1093
- style: A(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1113
+ style: L(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1094
1114
  }, [
1095
1115
  b("th", {
1096
- style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
1116
+ style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1097
1117
  }, null, 4),
1098
- (u(!0), n(T, null, D(y.dataset, (a, o) => (u(), n("th", {
1118
+ (u(!0), i(S, null, H(y.dataset, (a, o) => (u(), i("th", {
1099
1119
  align: "right",
1100
- style: A(`outline:${e.value.table.th.outline};padding-right:6px`)
1101
- }, _(a.name), 5))), 256))
1120
+ style: L(`outline:${e.value.table.th.outline};padding-right:6px`)
1121
+ }, $(a.name), 5))), 256))
1102
1122
  ], 4)
1103
1123
  ]),
1104
1124
  b("tbody", null, [
1105
- (u(!0), n(T, null, D(m.value.xLabels, (a, o) => (u(), n("tr", {
1125
+ (u(!0), i(S, null, H(m.value.xLabels, (a, o) => (u(), i("tr", {
1106
1126
  role: "row",
1107
1127
  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 }),
1108
- style: A(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1128
+ style: L(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1109
1129
  }, [
1110
1130
  b("td", {
1111
1131
  "data-cell": e.value.table.colNames.xAxis,
1112
1132
  class: "vue-ui-data-table__tbody__td",
1113
- style: A(`outline:${e.value.table.td.outline}`)
1133
+ style: L(`outline:${e.value.table.td.outline}`)
1114
1134
  }, [
1115
- b("div", Zl, _(a), 1)
1135
+ b("div", Zl, $(a), 1)
1116
1136
  ], 12, Ql),
1117
- (u(!0), n(T, null, D(y.dataset, (v, c) => (u(), n("td", {
1137
+ (u(!0), i(S, null, H(y.dataset, (v, c) => (u(), i("td", {
1118
1138
  class: "vue-ui-data-table__tbody__td",
1119
1139
  "data-cell": y.dataset[c].name,
1120
- style: A(`outline:${e.value.table.td.outline}`)
1140
+ style: L(`outline:${e.value.table.td.outline}`)
1121
1141
  }, [
1122
- b("div", ta, _(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)
1142
+ b("div", ta, $(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)
1123
1143
  ], 12, ea))), 256))
1124
1144
  ], 6))), 256))
1125
1145
  ])
@@ -1131,20 +1151,20 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
1131
1151
  }, [
1132
1152
  e.value.table.useDialog ? {
1133
1153
  name: "title",
1134
- fn: S(() => [
1135
- Xe(_(ke.value.title), 1)
1154
+ fn: k(() => [
1155
+ Xe($(ke.value.title), 1)
1136
1156
  ]),
1137
1157
  key: "0"
1138
1158
  } : void 0,
1139
1159
  e.value.table.useDialog ? {
1140
1160
  name: "actions",
1141
- fn: S(() => [
1161
+ fn: k(() => [
1142
1162
  b("button", {
1143
1163
  tabindex: "0",
1144
1164
  class: "vue-ui-user-options-button",
1145
1165
  onClick: s[0] || (s[0] = (a) => De(e.value.userOptions.callbacks.csv))
1146
1166
  }, [
1147
- Ce(i(j), {
1167
+ Ce(n(K), {
1148
1168
  name: "excel",
1149
1169
  stroke: ke.value.props.color
1150
1170
  }, null, 8, ["stroke"])
@@ -1153,10 +1173,10 @@ const zl = ["id"], Ol = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"]
1153
1173
  key: "1"
1154
1174
  } : void 0
1155
1175
  ]), 1040)) : p("", !0),
1156
- i(be) ? (u(), ge(ml, { key: 7 })) : p("", !0)
1176
+ n(be) ? (u(), ge(ml, { key: 7 })) : p("", !0)
1157
1177
  ], 46, zl));
1158
1178
  }
1159
- }, xa = /* @__PURE__ */ _l(la, [["__scopeId", "data-v-194eb27b"]]);
1179
+ }, xa = /* @__PURE__ */ $l(la, [["__scopeId", "data-v-4477a8c9"]]);
1160
1180
  export {
1161
1181
  xa as default
1162
1182
  };