vue-data-ui 3.3.0 → 3.3.2

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 (157) hide show
  1. package/dist/{Arrow-CKLBHe3L.js → Arrow-DLi6NnGD.js} +1 -1
  2. package/dist/{BaseDraggableDialog-q3pgSDTz.js → BaseDraggableDialog-CVGErydD.js} +2 -2
  3. package/dist/{BaseIcon-CtqN7W_g.js → BaseIcon-eZbszQrv.js} +1 -1
  4. package/dist/{ColorPicker-Cr6rUDTP.js → ColorPicker-BoPM4Ejg.js} +2 -2
  5. package/dist/{DataTable-BeI6gYJX.js → DataTable-yAMEyP6y.js} +2 -2
  6. package/dist/{Legend-DsogCeTb.js → Legend-By4rru90.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BDK_ucTG.js → NonSvgPenAndPaper-C7QqIewT.js} +3 -3
  8. package/dist/{PackageVersion-C9oklnuy.js → PackageVersion-r-Q1R3nV.js} +1 -1
  9. package/dist/{PenAndPaper-BxbYiPy4.js → PenAndPaper-Bo-lMUik.js} +3 -3
  10. package/dist/{Shape-DJG2zW7b.js → Shape-BceHSLHf.js} +1 -1
  11. package/dist/{Slicer-D6T4aUhr.js → Slicer-Znzt0gSE.js} +2 -2
  12. package/dist/{SparkTooltip-Cp0G9giW.js → SparkTooltip--YwqrrgZ.js} +1 -1
  13. package/dist/{Title-D17CJXko.js → Title-Camz1Lce.js} +1 -1
  14. package/dist/{Tooltip-CtVdvbZi.js → Tooltip-VOcQEHa4.js} +1 -1
  15. package/dist/{UserOptions-B3vCIe-u.js → UserOptions-CSja1SGU.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-BiyqJA3t.js → dom-to-png-DxyZSvDx.js} +1 -1
  82. package/dist/{img-6wPuVVtk.js → img-J2dLIr8Y.js} +1 -1
  83. package/dist/{lib-GIYcnm0E.js → lib-CEjkWSLj.js} +376 -374
  84. package/dist/{pdf-DjbHsnrb.js → pdf-anN8VbM7.js} +1 -1
  85. package/dist/style.css +1 -1
  86. package/dist/{useAutoSizeLabelsInsideViewbox-Csv3pVmh.js → useAutoSizeLabelsInsideViewbox-CovTrBjm.js} +1 -1
  87. package/dist/{useNestedProp-mxyyqd0B.js → useNestedProp-Ce3PwN8T.js} +1 -1
  88. package/dist/{usePrinter-DYRFiw7X.js → usePrinter-DJ1iH-F_.js} +2 -2
  89. package/dist/useResizeObserverEffect-DfnWps4W.js +109 -0
  90. package/dist/useSvgExport-DrjCWun4.js +750 -0
  91. package/dist/{vue-data-ui-DLU1snC3.js → vue-data-ui-BFdGl7rL.js} +64 -64
  92. package/dist/vue-data-ui.js +68 -68
  93. package/dist/{vue-ui-3d-bar-D6xoBrN6.js → vue-ui-3d-bar-kzlIaqHU.js} +7 -7
  94. package/dist/{vue-ui-accordion-Dch9YrCi.js → vue-ui-accordion-VTP418mC.js} +3 -3
  95. package/dist/{vue-ui-age-pyramid-D74mAaLA.js → vue-ui-age-pyramid-YFzQ15k1.js} +28 -35
  96. package/dist/{vue-ui-annotator-DwRwhrgB.js → vue-ui-annotator-CmwDyy9m.js} +7 -7
  97. package/dist/{vue-ui-bullet-D2qVUqWs.js → vue-ui-bullet-DdjpiM-T.js} +8 -8
  98. package/dist/{vue-ui-candlestick-C81k1_f9.js → vue-ui-candlestick-x9U5Ni0N.js} +31 -38
  99. package/dist/{vue-ui-carousel-table-DBIhnEj-.js → vue-ui-carousel-table-CRI_iPLn.js} +4 -4
  100. package/dist/{vue-ui-chestnut-CSM-_IWw.js → vue-ui-chestnut-YrEA5Gq3.js} +6 -6
  101. package/dist/{vue-ui-chord-BFW9nnNh.js → vue-ui-chord-D_2DdvpZ.js} +9 -9
  102. package/dist/{vue-ui-circle-pack-D6mTG5i0.js → vue-ui-circle-pack-xm9-OOAR.js} +7 -7
  103. package/dist/{vue-ui-cursor-BJmTAMpP.js → vue-ui-cursor-Dt8Zzw22.js} +2 -2
  104. package/dist/{vue-ui-dashboard-BdFLsK4u.js → vue-ui-dashboard-29ZuFoLn.js} +67 -67
  105. package/dist/{vue-ui-digits-DXum1rs6.js → vue-ui-digits-nKPRJ9Vz.js} +2 -2
  106. package/dist/{vue-ui-donut-CqefukGp.js → vue-ui-donut-BQptfVfE.js} +9 -9
  107. package/dist/{vue-ui-donut-evolution-DFIbK50s.js → vue-ui-donut-evolution-fiqngEFW.js} +76 -83
  108. package/dist/{vue-ui-dumbbell-DIo2ecGY.js → vue-ui-dumbbell-Cw45EBO0.js} +31 -38
  109. package/dist/{vue-ui-flow--kiGWaq4.js → vue-ui-flow-DPu9BjPy.js} +8 -8
  110. package/dist/{vue-ui-funnel-B8UHwj15.js → vue-ui-funnel-CtlDuNjO.js} +7 -7
  111. package/dist/{vue-ui-galaxy-eQZh_y3l.js → vue-ui-galaxy-BiVjoNHW.js} +8 -8
  112. package/dist/{vue-ui-gauge-DJ-E6L2T.js → vue-ui-gauge-CoM6Q3Nb.js} +8 -8
  113. package/dist/{vue-ui-gizmo-DFxlqPz7.js → vue-ui-gizmo-DXG8dS5u.js} +3 -3
  114. package/dist/{vue-ui-heatmap-CcAe5dDN.js → vue-ui-heatmap-D6n8AnCc.js} +194 -215
  115. package/dist/{vue-ui-history-plot-CgKvd7Jx.js → vue-ui-history-plot-C8WMHda_.js} +38 -45
  116. package/dist/{vue-ui-kpi-Ct2iyD49.js → vue-ui-kpi-Dphnwumo.js} +3 -3
  117. package/dist/{vue-ui-mini-loader-ByjcvXBB.js → vue-ui-mini-loader-DFk9GZ5V.js} +2 -2
  118. package/dist/{vue-ui-molecule-CGDBEAkX.js → vue-ui-molecule-DC4_vXt_.js} +6 -6
  119. package/dist/{vue-ui-mood-radar-D9GuK4cI.js → vue-ui-mood-radar-BgT5wMS0.js} +8 -8
  120. package/dist/{vue-ui-nested-donuts-CGKgOTX2.js → vue-ui-nested-donuts-D2gSqe1f.js} +8 -8
  121. package/dist/{vue-ui-onion-C5tE1Woz.js → vue-ui-onion-CEbv2ii4.js} +9 -9
  122. package/dist/{vue-ui-parallel-coordinate-plot-CVhD6IoH.js → vue-ui-parallel-coordinate-plot-budrvcwU.js} +38 -45
  123. package/dist/{vue-ui-quadrant-BGDCaOXv.js → vue-ui-quadrant-PpymeiXe.js} +9 -9
  124. package/dist/{vue-ui-quick-chart-CjXSB-2S.js → vue-ui-quick-chart-k6mjTD56.js} +207 -214
  125. package/dist/{vue-ui-radar-rhxkROX7.js → vue-ui-radar-C5NvYMnv.js} +9 -9
  126. package/dist/{vue-ui-rating-Bo9gSy-z.js → vue-ui-rating-eKlTJch9.js} +2 -2
  127. package/dist/{vue-ui-relation-circle-Qo8FKbL2.js → vue-ui-relation-circle-Df33aaUT.js} +8 -8
  128. package/dist/{vue-ui-ridgeline-ahOApbEC.js → vue-ui-ridgeline-BTw-37RS.js} +38 -45
  129. package/dist/{vue-ui-rings-DFAVaEBs.js → vue-ui-rings-C_s9xOtZ.js} +9 -9
  130. package/dist/{vue-ui-scatter-zjlWyvVd.js → vue-ui-scatter-Jd8bQ0S5.js} +9 -9
  131. package/dist/{vue-ui-skeleton-CKfOnyd_.js → vue-ui-skeleton-Ce7H57o7.js} +3 -3
  132. package/dist/{vue-ui-smiley-CY7UiJ9C.js → vue-ui-smiley-C4mhT7ZV.js} +2 -2
  133. package/dist/{vue-ui-spark-trend-DwNYP97M.js → vue-ui-spark-trend-DQy4iSO7.js} +3 -3
  134. package/dist/{vue-ui-sparkbar-BkdcYrmg.js → vue-ui-sparkbar-CUFTHql0.js} +3 -3
  135. package/dist/{vue-ui-sparkgauge-C6Kq_OGV.js → vue-ui-sparkgauge-CcykuBps.js} +3 -3
  136. package/dist/{vue-ui-sparkhistogram-CjB33yXB.js → vue-ui-sparkhistogram-CyGvYpYn.js} +4 -4
  137. package/dist/{vue-ui-sparkline-DcH4yIEd.js → vue-ui-sparkline-CLWJM6hA.js} +3 -3
  138. package/dist/{vue-ui-sparkstackbar-MKr2u_pO.js → vue-ui-sparkstackbar-Cln1pduE.js} +3 -3
  139. package/dist/{vue-ui-stackbar-DKV-exfd.js → vue-ui-stackbar-DIUil9DO.js} +31 -46
  140. package/dist/{vue-ui-strip-plot-ncTrDlNC.js → vue-ui-strip-plot-C4U0fT5D.js} +106 -113
  141. package/dist/{vue-ui-table-BdT3lGuv.js → vue-ui-table-DpdP3PDq.js} +5 -5
  142. package/dist/{vue-ui-table-heatmap-D929cWB0.js → vue-ui-table-heatmap-J29d8nds.js} +5 -5
  143. package/dist/{vue-ui-table-sparkline-CkZ_ygR1.js → vue-ui-table-sparkline-Chf5YY4A.js} +4 -4
  144. package/dist/{vue-ui-thermometer-CjBLR6H9.js → vue-ui-thermometer-D6RmaNE6.js} +8 -8
  145. package/dist/{vue-ui-timer-Bs7eMmiC.js → vue-ui-timer-C5E1kJRt.js} +5 -5
  146. package/dist/{vue-ui-tiremarks-nGOZKRcz.js → vue-ui-tiremarks-D0erVBnj.js} +7 -7
  147. package/dist/{vue-ui-treemap-SQ2f5wbN.js → vue-ui-treemap-K8FYxuYz.js} +10 -10
  148. package/dist/{vue-ui-vertical-bar-Hh9gAN5j.js → vue-ui-vertical-bar-BA3OY8Sh.js} +10 -10
  149. package/dist/{vue-ui-waffle-C7moVBln.js → vue-ui-waffle-CgLgPuro.js} +9 -9
  150. package/dist/{vue-ui-wheel-KrGLMCqW.js → vue-ui-wheel-C_cOUhCs.js} +7 -7
  151. package/dist/{vue-ui-word-cloud-BQSu6kiR.js → vue-ui-word-cloud-uvHNOIpN.js} +7 -7
  152. package/dist/{vue-ui-world-DdoMFJcV.js → vue-ui-world-DmeNMwpX.js} +7 -7
  153. package/dist/{vue-ui-xy-canvas-oUXISeU8.js → vue-ui-xy-canvas-BQKR36bd.js} +10 -10
  154. package/dist/{vue-ui-xy-B2fjTYMJ.js → vue-ui-xy-tWE4H5ij.js} +278 -285
  155. package/package.json +1 -1
  156. package/dist/useSvgExport-B7-Vrjtu.js +0 -732
  157. package/dist/useTimeLabelCollider-CIsgDrl9.js +0 -78
@@ -1,19 +1,19 @@
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 T, normalizeProps as Z, guardReactiveProps as ee, Fragment as C, renderList as F, withDirectives as ft, createTextVNode as Ve, toDisplayString as S, 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-GIYcnm0E.js";
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, reactive as ht, nextTick as Xe, 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 Ie, toDisplayString as T, vShow as tl, resolveDynamicComponent as ll, mergeProps as al, withKeys as ol } from "vue";
2
+ import { c as Ve, 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
3
  import { t as Ce, u as yl } from "./useResponsive-DfdjqQps.js";
4
- import { u as fl, a as bt } from "./useNestedProp-mxyyqd0B.js";
5
- import { u as pl } from "./usePrinter-DYRFiw7X.js";
4
+ import { u as fl, a as bt } from "./useNestedProp-Ce3PwN8T.js";
5
+ import { u as pl } from "./usePrinter-DJ1iH-F_.js";
6
6
  import { u as gl, B as bl } from "./BaseScanner-BgWxam9d.js";
7
- import { u as ml } from "./useSvgExport-B7-Vrjtu.js";
7
+ import { u as ml } from "./useSvgExport-DrjCWun4.js";
8
8
  import { u as mt } from "./useTimeLabels-BGFjWgrv.js";
9
9
  import { u as xl } from "./useTableResponsive-Cbx-ACcP.js";
10
10
  import { u as wl } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as xt } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import { u as Be, a as xt } from "./useResizeObserverEffect-DfnWps4W.js";
12
12
  import { u as kl } from "./useChartAccessibility-9icAAmYg.js";
13
- import Al from "./img-6wPuVVtk.js";
14
- import Cl from "./Title-D17CJXko.js";
13
+ import Al from "./img-J2dLIr8Y.js";
14
+ import Cl from "./Title-Camz1Lce.js";
15
15
  import { t as Ll } from "./themes-Dw-dDudK.js";
16
- import Tl from "./vue-ui-accordion-Dch9YrCi.js";
16
+ import Tl from "./vue-ui-accordion-VTP418mC.js";
17
17
  import { _ as Sl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
18
  const _l = {
19
19
  mounted(b, P) {
@@ -28,7 +28,7 @@ function wt(b, {
28
28
  cellHeight: ye,
29
29
  maxFontSize: W,
30
30
  minFontSize: te,
31
- index: O,
31
+ index: M,
32
32
  reportRotation: le,
33
33
  reportHide: X,
34
34
  rotateAll: Le,
@@ -39,26 +39,26 @@ function wt(b, {
39
39
  b.setAttribute("font-size", W);
40
40
  const j = b.getComputedTextLength();
41
41
  if (j <= P)
42
- le(O, !1), X(O, !1);
42
+ le(M, !1), X(M, !1);
43
43
  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);
44
+ const O = Math.floor(W * P / j);
45
+ O >= te ? (b.setAttribute("font-size", O), le(M, !1), X(M, !1)) : (le(M, !0), X(M, !1), k = !0);
46
46
  }
47
47
  if (Le && (k = !0), k) {
48
48
  b.setAttribute("font-size", W);
49
- const M = b.getBBox(), L = M.x + M.width / 2, ae = M.y + M.height / 2;
50
- b.setAttribute("transform", `rotate(-90 ${L} ${ae})`);
49
+ const O = b.getBBox(), S = O.x + O.width / 2, ae = O.y + O.height / 2;
50
+ b.setAttribute("transform", `rotate(-90 ${S} ${ae})`);
51
51
  const q = b.getBBox().width;
52
52
  if (q <= ye)
53
- X(O, !1);
53
+ X(M, !1);
54
54
  else {
55
55
  const oe = Math.floor(W * ye / q);
56
- oe >= te ? (b.setAttribute("font-size", oe), X(O, !1)) : (fe = !0, X(O, !0));
56
+ oe >= te ? (b.setAttribute("font-size", oe), X(M, !1)) : (fe = !0, X(M, !0));
57
57
  }
58
58
  }
59
59
  (Te || fe) && b.setAttribute("visibility", "hidden");
60
60
  }
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"], Nl = ["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"], 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 = {
61
+ const zl = ["id"], $l = ["xmlns", "viewBox"], Ml = ["x", "y", "width", "height"], Ol = ["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 = {
62
62
  key: 4,
63
63
  class: "vue-data-ui-watermark"
64
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 = {
@@ -80,28 +80,28 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
80
80
  emits: ["selectDatapoint"],
81
81
  setup(b, { expose: P, emit: ye }) {
82
82
  Jt((t) => ({
83
- v0f22886a: t.tdo
83
+ v7e341d2a: t.tdo
84
84
  }));
85
- const W = Q(() => import("./Tooltip-CtVdvbZi.js")), te = Q(() => import("./BaseIcon-CtqN7W_g.js")), O = Q(() => import("./PenAndPaper-BxbYiPy4.js")), le = Q(() => import("./UserOptions-B3vCIe-u.js")), X = Q(() => import("./PackageVersion-C9oklnuy.js")), Le = Q(() => import("./BaseDraggableDialog-q3pgSDTz.js")), { vue_ui_heatmap: Te } = fl(), k = b, fe = ye, j = y({
85
+ const W = Q(() => import("./Tooltip-VOcQEHa4.js")), te = Q(() => import("./BaseIcon-eZbszQrv.js")), M = Q(() => import("./PenAndPaper-Bo-lMUik.js")), le = Q(() => import("./UserOptions-CSja1SGU.js")), X = Q(() => import("./PackageVersion-r-Q1R3nV.js")), Le = Q(() => import("./BaseDraggableDialog-CVGErydD.js")), { vue_ui_heatmap: Te } = fl(), k = b, fe = ye, j = y({
86
86
  get() {
87
87
  return !!k.dataset && k.dataset.length;
88
88
  },
89
89
  set(t) {
90
90
  return t;
91
91
  }
92
- }), M = d(Be()), L = 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());
92
+ }), O = d(Ve()), 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());
93
93
  function Tt() {
94
- const t = Array(7).fill("_"), o = [], a = 14, s = t.length;
95
- for (let v = 0; v < s; v += 1) {
94
+ const t = Array(7).fill("_"), s = [], a = 14, o = t.length;
95
+ for (let v = 0; v < o; v += 1) {
96
96
  const c = [];
97
97
  for (let x = 0; x < a; x += 1)
98
98
  c.push(v + x * 2);
99
- o.push({
99
+ s.push({
100
100
  name: `${t[v]}`,
101
101
  values: c
102
102
  });
103
103
  }
104
- return o;
104
+ return s;
105
105
  }
106
106
  const { loading: pe, FINAL_DATASET: m, manualLoading: $e } = gl({
107
107
  ...Zt(k),
@@ -109,7 +109,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
109
109
  prepareConfig: Re,
110
110
  callback: () => {
111
111
  Promise.resolve().then(async () => {
112
- await Ie(), L.value && L.value.parentNode && rl(L.value.parentNode);
112
+ await Xe(), S.value && rl(S.value, { delta: 0.1, delay: 250 });
113
113
  });
114
114
  },
115
115
  skeletonDataset: Tt(),
@@ -138,7 +138,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
138
138
  }
139
139
  }
140
140
  })
141
- }), { userOptionsVisible: Oe, setUserOptionsVisibility: St, keepUserOptionState: Ke } = wl({ config: e.value }), { svgRef: Me } = kl({ config: e.value.style.title });
141
+ }), { userOptionsVisible: Me, setUserOptionsVisibility: St, keepUserOptionState: Ke } = wl({ config: e.value }), { svgRef: Oe } = kl({ config: e.value.style.title });
142
142
  function Je(t) {
143
143
  St(t);
144
144
  }
@@ -147,21 +147,21 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
147
147
  userConfig: k.config,
148
148
  defaultConfig: Te
149
149
  });
150
- let o = {};
151
- return t.theme ? o = {
150
+ let s = {};
151
+ return t.theme ? s = {
152
152
  ...bt({
153
153
  userConfig: Ll.vue_ui_heatmap[t.theme] || k.config,
154
154
  defaultConfig: t
155
155
  })
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;
156
+ } : s = t, k.config && ul(k.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = k.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
157
157
  }
158
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;
159
+ pe.value || (e.value = Re()), Me.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
160
  }, { deep: !0 }), we(() => k.dataset, (t) => {
161
161
  Array.isArray(t) && t.length > 0 && ($e.value = !1), Fe();
162
162
  }, { deep: !0 });
163
163
  const { isPrinting: Qe, isImaging: Ze, generatePdf: et, generateImage: tt } = pl({
164
- elementId: `heatmap__${M.value}`,
164
+ elementId: `heatmap__${O.value}`,
165
165
  fileName: e.value.style.title.text || "vue-ui-heatmap",
166
166
  options: e.value.userOptions.print
167
167
  }), _t = y(() => e.value.userOptions.show && !e.value.style.title.text), $ = d({
@@ -182,8 +182,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
182
182
  debug: lt.value
183
183
  }), j.value = !1, $e.value = !0), pt(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
184
184
  const t = Ce(() => {
185
- const { width: o, height: a } = yl({
186
- chart: L.value,
185
+ const { width: s, height: a } = yl({
186
+ chart: S.value,
187
187
  title: e.value.style.title.text ? Ge.value : null,
188
188
  // add legend hirizontal in legend attr
189
189
  // add legend vertical in some other attr and modify composable to subtract width
@@ -191,10 +191,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
191
191
  noTitle: We.value
192
192
  });
193
193
  requestAnimationFrame(() => {
194
- ie.value = o, ne.value = a;
194
+ ie.value = s, ne.value = a;
195
195
  });
196
196
  });
197
- I.value && (K.value && I.value.unobserve(K.value), I.value.disconnect()), I.value = new ResizeObserver(t), K.value = L.value.parentNode, I.value.observe(K.value);
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);
198
198
  }
199
199
  }
200
200
  dt(() => {
@@ -202,68 +202,47 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
202
202
  }), el(() => {
203
203
  Fe();
204
204
  });
205
- const N = 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(() => ({
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
206
  width: Math.max(10, ie.value),
207
207
  height: Math.max(10, ne.value)
208
208
  })), re = d(0), $t = Ce((t) => {
209
209
  re.value = t;
210
210
  }, 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) => {
211
+ Be({ elementRef: _e, callback: $t, attr: "height" });
212
+ const J = d(0), Mt = Ce((t) => {
220
213
  J.value = t;
221
214
  }, 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) => {
215
+ Be({ elementRef: je, callback: Mt, attr: "width" });
216
+ const ge = d(0), Ot = Ce((t) => {
231
217
  ge.value = t;
232
218
  }, 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(() => {
219
+ Be({ elementRef: ze, callback: Ot, attr: "height" }), dt(() => {
241
220
  re.value = 0, J.value = 0, ge.value = 0;
242
221
  });
243
222
  const r = y(() => Math.min(_.value.height, _.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = y(() => {
244
223
  let t = 0;
245
224
  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 * N.value,
225
+ 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 - re.value - a, c = _.value.width / 60, x = {
226
+ x: r.value * D.value,
248
227
  y: r.value * ((m.value || []).length + 1)
249
- }, D = _.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, D / N.value),
228
+ }, N = _.value.width - s.left - s.right - x.x - c * 2 - 2 - t - J.value, h = v - c - x.y - ge.value - o - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
229
+ width: Math.max(3, N / D.value),
251
230
  height: Math.max(3, h / (m.value.length ?? 1))
252
231
  };
253
232
  return {
254
- top: o.top + re.value + c + a,
233
+ top: s.top + re.value + c + a,
255
234
  topLabelsHeight: re.value,
256
235
  sumCellXHeight: c,
257
236
  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: D,
237
+ left: s.left + J.value + c / 2,
238
+ right: s.right - t,
239
+ bottom: _.value.height - s.bottom - ge.value,
240
+ width: N,
262
241
  cellSize: A
263
242
  };
264
243
  }), V = y(() => Math.max(...m.value.flatMap((t) => t.values))), ve = y(() => Math.min(...m.value.flatMap((t) => t.values))), U = y(() => {
265
244
  const t = m.value.flatMap((a) => a.values);
266
- return t.reduce((a, s) => a + s, 0) / t.length;
245
+ return t.reduce((a, o) => a + o, 0) / t.length;
267
246
  }), Rt = y(() => mt({
268
247
  values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : m.value.map((t) => t.name),
269
248
  maxDatapoints: m.value.length,
@@ -272,22 +251,22 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
272
251
  end: m.value.length
273
252
  })), Ft = y(() => mt({
274
253
  values: e.value.style.layout.dataLabels.xAxis.values,
275
- maxDatapoints: N.value,
254
+ maxDatapoints: D.value,
276
255
  formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
277
256
  start: 0,
278
- end: N.value
257
+ end: D.value
279
258
  })), 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 < N.value; h += 1)
259
+ const t = Rt.value.map((h) => h.text), s = Ft.value.map((h) => h.text), a = m.value.map((h) => h.values.reduce((A, Pe) => A + Pe, 0)), o = Math.max(...a), v = Math.min(...a), c = [];
260
+ for (let h = 0; h < D.value; h += 1)
282
261
  c.push(m.value.map((A) => A.values[h] || 0).reduce((A, Pe) => A + Pe, 0));
283
- const x = Math.max(...c), D = Math.min(...c);
262
+ const x = Math.max(...c), N = Math.min(...c);
284
263
  return {
285
264
  yTotals: a.map((h) => {
286
- const A = isNaN(h / s) ? 0 : h / s;
265
+ const A = isNaN(h / o) ? 0 : h / o;
287
266
  return {
288
267
  total: h,
289
268
  proportion: A,
290
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, s, h)
269
+ color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, v, o, h)
291
270
  };
292
271
  }),
293
272
  xTotals: c.map((h) => {
@@ -295,13 +274,13 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
295
274
  return {
296
275
  total: h,
297
276
  proportion: A,
298
- color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, D, x, h)
277
+ color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, h)
299
278
  };
300
279
  }),
301
280
  yLabels: t,
302
- xLabels: o.slice(0, N.value)
281
+ xLabels: s.slice(0, D.value)
303
282
  };
304
- }), Y = y(() => (m.value.forEach((t, o) => {
283
+ }), Y = y(() => (m.value.forEach((t, s) => {
305
284
  il({
306
285
  datasetObject: t,
307
286
  requiredAttributes: ["values"]
@@ -310,44 +289,44 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
310
289
  componentName: "VueUiHeatmap",
311
290
  type: "datasetSerieAttribute",
312
291
  property: "values",
313
- index: o,
292
+ index: s,
314
293
  debug: lt.value
315
294
  });
316
295
  });
317
- }), m.value.map((t, o) => ({
296
+ }), m.value.map((t, s) => ({
318
297
  ...t,
319
- temperatures: (t.values || []).map((a, s) => a >= U.value ? {
298
+ temperatures: (t.values || []).map((a, o) => a >= U.value ? {
320
299
  side: "up",
321
300
  color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
322
301
  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)),
323
302
  value: a,
324
- yAxisName: g.value.yLabels[o],
325
- xAxisName: g.value.xLabels[s],
326
- id: `vue-data-ui-heatmap-cell-${Be()}`
303
+ yAxisName: g.value.yLabels[s],
304
+ xAxisName: g.value.xLabels[o],
305
+ id: `vue-data-ui-heatmap-cell-${Ve()}`
327
306
  } : {
328
307
  side: "down",
329
308
  ratio: Math.abs(1 - Math.abs(a) / Math.abs(U.value)) > 1 ? 1 : Math.abs(1 - Math.abs(a) / Math.abs(U.value)),
330
309
  color: he(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ve.value, V.value, a),
331
310
  value: a,
332
- yAxisName: g.value.yLabels[o],
333
- xAxisName: g.value.xLabels[s],
334
- id: `vue-data-ui-heatmap-cell-${Be()}`
311
+ yAxisName: g.value.yLabels[s],
312
+ xAxisName: g.value.xLabels[o],
313
+ id: `vue-data-ui-heatmap-cell-${Ve()}`
335
314
  })
336
- })))), at = y(() => m.value.length), ot = ht(Array(at.value * N.value || 1).fill(!1)), Nt = y(() => ot.some((t) => t));
337
- function Dt(t, o) {
338
- ot[t] = o;
315
+ })))), at = y(() => m.value.length), ot = ht(Array(at.value * D.value || 1).fill(!1)), Dt = y(() => ot.some((t) => t));
316
+ function Nt(t, s) {
317
+ ot[t] = s;
339
318
  }
340
- const st = ht(Array(at.value * N.value || 1).fill(!1)), Ht = y(() => st.some((t) => t));
341
- function Pt(t, o) {
342
- st[t] = o;
319
+ const st = ht(Array(at.value * D.value || 1).fill(!1)), Ht = y(() => st.some((t) => t));
320
+ function Pt(t, s) {
321
+ st[t] = s;
343
322
  }
344
323
  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: D } = t;
348
- oe.value = D, R.value = v, be.value = {
324
+ function Xt(t, s, a, o) {
325
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: s }), se.value = { x: a, y: o };
326
+ const { value: v, yAxisName: c, xAxisName: x, id: N } = t;
327
+ oe.value = N, R.value = v, be.value = {
349
328
  datapoint: t,
350
- seriesIndex: o,
329
+ seriesIndex: s,
351
330
  series: Y.value,
352
331
  config: e.value
353
332
  }, ae.value = !0;
@@ -355,12 +334,12 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
355
334
  const A = e.value.style.tooltip.customFormat;
356
335
  dl(A) && hl(() => A({
357
336
  datapoint: t,
358
- seriesIndex: o,
337
+ seriesIndex: s,
359
338
  series: Y.value,
360
339
  config: e.value
361
340
  })) ? q.value = A({
362
341
  datapoint: t,
363
- seriesIndex: o,
342
+ seriesIndex: s,
364
343
  series: Y.value,
365
344
  config: e.value
366
345
  }) : (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(
@@ -372,11 +351,11 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
372
351
  s: e.value.style.layout.dataLabels.suffix,
373
352
  r: e.value.style.tooltip.roundingValue
374
353
  }),
375
- { datapoint: t, seriesIndex: o }
354
+ { datapoint: t, seriesIndex: s }
376
355
  )}</span></div>`, q.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
377
356
  }
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;
357
+ function It({ datapoint: t, seriesIndex: s }) {
358
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: s }), ae.value = !1, oe.value = void 0, R.value = null, se.value = null;
380
359
  }
381
360
  function Vt(t) {
382
361
  return B(
@@ -407,19 +386,19 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
407
386
  y(() => {
408
387
  const t = m.value.map((a) => ({
409
388
  name: a.name
410
- })), o = m.value.map((a) => a.values);
411
- return { head: t, body: o };
389
+ })), s = m.value.map((a) => a.values);
390
+ return { head: t, body: s };
412
391
  });
413
- function Ne(t = null) {
414
- Ie(() => {
415
- const o = ["", ...m.value.map((c, x) => c.name)], a = [];
392
+ function De(t = null) {
393
+ Xe(() => {
394
+ const s = ["", ...m.value.map((c, x) => c.name)], a = [];
416
395
  for (let c = 0; c < g.value.xLabels.length; c += 1) {
417
396
  const x = [g.value.xLabels[c]];
418
- for (let D = 0; D < m.value.length; D += 1)
419
- x.push([m.value[D].values[c]]);
397
+ for (let N = 0; N < m.value.length; N += 1)
398
+ x.push([m.value[N].values[c]]);
420
399
  a.push(x);
421
400
  }
422
- const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(a), v = vl(s);
401
+ const o = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(a), v = vl(o);
423
402
  t ? t(v) : cl({ csvContent: v, title: e.value.style.title.text || "vue-ui-heatmap" });
424
403
  });
425
404
  }
@@ -434,30 +413,30 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
434
413
  $.value.showTooltip = !$.value.showTooltip;
435
414
  }
436
415
  const me = d(!1);
437
- function De() {
416
+ function Ne() {
438
417
  me.value = !me.value;
439
418
  }
440
- function Et(t, o) {
441
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: o }), fe("selectDatapoint", t);
419
+ function Et(t, s) {
420
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: s }), fe("selectDatapoint", t);
442
421
  }
443
422
  function Ut() {
444
423
  return Y.value;
445
424
  }
446
425
  async function Yt({ scale: t = 2 } = {}) {
447
- if (!L.value) return;
448
- const { width: o, height: a } = L.value.getBoundingClientRect(), s = o / a, { imageUri: v, base64: c } = await Al({ domElement: L.value, base64: !0, img: !0, scale: t });
426
+ if (!S.value) return;
427
+ const { width: s, height: a } = S.value.getBoundingClientRect(), o = s / a, { imageUri: v, base64: c } = await Al({ domElement: S.value, base64: !0, img: !0, scale: t });
449
428
  return {
450
429
  imageUri: v,
451
430
  base64: c,
452
431
  title: e.value.style.title.text,
453
- width: o,
432
+ width: s,
454
433
  height: a,
455
- aspectRatio: s
434
+ aspectRatio: o
456
435
  };
457
436
  }
458
437
  const rt = y(() => ({
459
438
  start: 0,
460
- end: N.value
439
+ end: D.value
461
440
  })), vt = y(() => g.value.xLabels);
462
441
  xt({
463
442
  timeLabelsEls: _e,
@@ -485,7 +464,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
485
464
  height: ne
486
465
  });
487
466
  const xe = y(() => {
488
- const t = e.value.table.useDialog && !e.value.table.show, o = $.value.showTable;
467
+ const t = e.value.table.useDialog && !e.value.table.show, s = $.value.showTable;
489
468
  return {
490
469
  component: t ? Le : Tl,
491
470
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
@@ -495,12 +474,12 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
495
474
  headerColor: e.value.table.th.color,
496
475
  headerBg: e.value.table.th.backgroundColor,
497
476
  isFullscreen: G.value,
498
- fullscreenParent: L.value,
477
+ fullscreenParent: S.value,
499
478
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
500
479
  } : {
501
480
  hideDetails: !0,
502
481
  config: {
503
- open: o,
482
+ open: s,
504
483
  maxHeight: 1e4,
505
484
  body: {
506
485
  backgroundColor: e.value.style.backgroundColor,
@@ -515,21 +494,21 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
515
494
  };
516
495
  });
517
496
  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());
497
+ e.value.table.show || (t && e.value.table.useDialog && ue.value ? (await Xe(), ue.value.open()) : "close" in ue.value && ue.value.close());
519
498
  });
520
499
  const { isResponsive: Gt } = xl(Ue, zt);
521
500
  function He() {
522
501
  $.value.showTable = !1, Se.value && Se.value.setTableIconState(!1);
523
502
  }
524
503
  const Wt = y(() => e.value.style.backgroundColor), jt = y(() => e.value.style.title), { exportSvg: qt, getSvg: Kt } = ml({
525
- svg: Me,
504
+ svg: Oe,
526
505
  title: jt,
527
506
  backgroundColor: Wt
528
507
  });
529
508
  async function ct({ isCb: t }) {
530
509
  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 });
510
+ const { blob: s, url: a, text: o, dataUrl: v } = await Kt();
511
+ e.value.userOptions.callbacks.svg({ blob: s, url: a, text: o, dataUrl: v });
533
512
  } else
534
513
  qt();
535
514
  }
@@ -537,29 +516,29 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
537
516
  getData: Ut,
538
517
  getImage: Yt,
539
518
  generatePdf: et,
540
- generateCsv: Ne,
519
+ generateCsv: De,
541
520
  generateImage: tt,
542
521
  generateSvg: ct,
543
522
  toggleTable: it,
544
523
  toggleTooltip: nt,
545
- toggleAnnotator: De,
524
+ toggleAnnotator: Ne,
546
525
  toggleFullscreen: ut
547
- }), (t, o) => (u(), n("div", {
526
+ }), (t, s) => (u(), n("div", {
548
527
  ref_key: "heatmapChart",
549
- ref: L,
528
+ ref: S,
550
529
  class: ce(`vue-data-ui-component vue-ui-heatmap ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
551
530
  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))
531
+ id: `heatmap__${O.value}`,
532
+ onMouseenter: s[1] || (s[1] = () => Je(!0)),
533
+ onMouseleave: s[2] || (s[2] = () => Je(!1))
555
534
  }, [
556
- e.value.userOptions.buttons.annotator ? (u(), de(i(O), {
535
+ e.value.userOptions.buttons.annotator ? (u(), de(i(M), {
557
536
  key: 0,
558
- svgRef: i(Me),
537
+ svgRef: i(Oe),
559
538
  backgroundColor: e.value.style.backgroundColor,
560
539
  color: e.value.style.color,
561
540
  active: me.value,
562
- onClose: De
541
+ onClose: Ne
563
542
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : f("", !0),
564
543
  _t.value ? (u(), n("div", {
565
544
  key: 1,
@@ -588,7 +567,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
588
567
  }
589
568
  }, null, 8, ["config"]))
590
569
  ], 512)) : f("", !0),
591
- e.value.userOptions.show && j.value && (i(Ke) || i(Oe)) ? (u(), de(i(le), {
570
+ e.value.userOptions.show && j.value && (i(Ke) || i(Me)) ? (u(), de(i(le), {
592
571
  ref_key: "userOptionsRef",
593
572
  ref: Se,
594
573
  key: `user_options_${Ee.value}`,
@@ -596,7 +575,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
596
575
  color: e.value.style.color,
597
576
  isImaging: i(Ze),
598
577
  isPrinting: i(Qe),
599
- uid: M.value,
578
+ uid: O.value,
600
579
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
601
580
  hasPdf: e.value.userOptions.buttons.pdf,
602
581
  hasImg: e.value.userOptions.buttons.img,
@@ -607,7 +586,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
607
586
  isFullscreen: G.value,
608
587
  isTooltip: $.value.showTooltip,
609
588
  titles: { ...e.value.userOptions.buttonTitles },
610
- chartElement: L.value,
589
+ chartElement: S.value,
611
590
  position: e.value.userOptions.position,
612
591
  hasAnnotator: e.value.userOptions.buttons.annotator,
613
592
  isAnnotation: me.value,
@@ -616,69 +595,69 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
616
595
  tableDialog: e.value.table.useDialog,
617
596
  onToggleFullscreen: ut,
618
597
  onGeneratePdf: i(et),
619
- onGenerateCsv: Ne,
598
+ onGenerateCsv: De,
620
599
  onGenerateImage: i(tt),
621
600
  onGenerateSvg: ct,
622
601
  onToggleTable: it,
623
602
  onToggleTooltip: nt,
624
- onToggleAnnotator: De,
603
+ onToggleAnnotator: Ne,
625
604
  style: w({
626
- visibility: i(Ke) ? i(Oe) ? "visible" : "hidden" : "visible"
605
+ visibility: i(Ke) ? i(Me) ? "visible" : "hidden" : "visible"
627
606
  })
628
607
  }, yt({ _: 2 }, [
629
608
  t.$slots.menuIcon ? {
630
609
  name: "menuIcon",
631
- fn: z(({ isOpen: a, color: s }) => [
632
- T(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: s })), void 0, !0)
610
+ fn: z(({ isOpen: a, color: o }) => [
611
+ L(t.$slots, "menuIcon", Z(ee({ isOpen: a, color: o })), void 0, !0)
633
612
  ]),
634
613
  key: "0"
635
614
  } : void 0,
636
615
  t.$slots.optionTooltip ? {
637
616
  name: "optionTooltip",
638
617
  fn: z(() => [
639
- T(t.$slots, "optionTooltip", {}, void 0, !0)
618
+ L(t.$slots, "optionTooltip", {}, void 0, !0)
640
619
  ]),
641
620
  key: "1"
642
621
  } : void 0,
643
622
  t.$slots.optionPdf ? {
644
623
  name: "optionPdf",
645
624
  fn: z(() => [
646
- T(t.$slots, "optionPdf", {}, void 0, !0)
625
+ L(t.$slots, "optionPdf", {}, void 0, !0)
647
626
  ]),
648
627
  key: "2"
649
628
  } : void 0,
650
629
  t.$slots.optionCsv ? {
651
630
  name: "optionCsv",
652
631
  fn: z(() => [
653
- T(t.$slots, "optionCsv", {}, void 0, !0)
632
+ L(t.$slots, "optionCsv", {}, void 0, !0)
654
633
  ]),
655
634
  key: "3"
656
635
  } : void 0,
657
636
  t.$slots.optionImg ? {
658
637
  name: "optionImg",
659
638
  fn: z(() => [
660
- T(t.$slots, "optionImg", {}, void 0, !0)
639
+ L(t.$slots, "optionImg", {}, void 0, !0)
661
640
  ]),
662
641
  key: "4"
663
642
  } : void 0,
664
643
  t.$slots.optionTable ? {
665
644
  name: "optionTable",
666
645
  fn: z(() => [
667
- T(t.$slots, "optionTable", {}, void 0, !0)
646
+ L(t.$slots, "optionTable", {}, void 0, !0)
668
647
  ]),
669
648
  key: "5"
670
649
  } : void 0,
671
650
  t.$slots.optionFullscreen ? {
672
651
  name: "optionFullscreen",
673
- fn: z(({ toggleFullscreen: a, isFullscreen: s }) => [
674
- T(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
652
+ fn: z(({ toggleFullscreen: a, isFullscreen: o }) => [
653
+ L(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
675
654
  ]),
676
655
  key: "6"
677
656
  } : void 0,
678
657
  t.$slots.optionAnnotator ? {
679
658
  name: "optionAnnotator",
680
- fn: z(({ toggleAnnotator: a, isAnnotator: s }) => [
681
- T(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
659
+ fn: z(({ toggleAnnotator: a, isAnnotator: o }) => [
660
+ L(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
682
661
  ]),
683
662
  key: "7"
684
663
  } : void 0
@@ -691,7 +670,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
691
670
  }, [
692
671
  (u(), n("svg", {
693
672
  ref_key: "svgRef",
694
- ref: Me,
673
+ ref: Oe,
695
674
  xmlns: i(nl),
696
675
  class: ce({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
697
676
  viewBox: `0 0 ${_.value.width} ${_.value.height}`,
@@ -712,24 +691,24 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
712
691
  pointerEvents: "none"
713
692
  }
714
693
  }, [
715
- T(t.$slots, "chart-background", {}, void 0, !0)
716
- ], 8, Ol)) : f("", !0),
694
+ L(t.$slots, "chart-background", {}, void 0, !0)
695
+ ], 8, Ml)) : f("", !0),
717
696
  e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
718
697
  key: 1,
719
698
  ref_key: "xAxisSumRects",
720
699
  ref: Lt
721
700
  }, [
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,
701
+ (u(!0), n(C, null, F(g.value.xTotals, (a, o) => (u(), n("rect", {
702
+ x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
724
703
  y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
725
704
  height: l.value.sumCellXHeight,
726
705
  width: l.value.cellSize.width - r.value,
727
706
  fill: e.value.style.layout.cells.colors.underlayer,
728
707
  stroke: e.value.style.backgroundColor,
729
708
  "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,
709
+ }, null, 8, Ol))), 256)),
710
+ (u(!0), n(C, null, F(g.value.xTotals, (a, o) => (u(), n("rect", {
711
+ x: l.value.left + l.value.cellSize.width * o + r.value / 2 + l.value.sumCellXHeight,
733
712
  y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
734
713
  height: l.value.sumCellXHeight,
735
714
  width: l.value.cellSize.width - r.value,
@@ -742,11 +721,11 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
742
721
  ref_key: "datapoints",
743
722
  ref: kt
744
723
  }, [
745
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
724
+ (u(!0), n(C, null, F(Y.value, (a, o) => (u(), n(C, null, [
746
725
  (u(!0), n(C, null, F(a.temperatures, (v, c) => (u(), n("g", null, [
747
726
  p("rect", {
748
727
  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,
728
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
750
729
  width: l.value.cellSize.width - r.value,
751
730
  height: l.value.cellSize.height - r.value,
752
731
  fill: e.value.style.layout.cells.colors.underlayer,
@@ -755,16 +734,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
755
734
  }, null, 8, Fl),
756
735
  p("rect", {
757
736
  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,
737
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
759
738
  width: l.value.cellSize.width - r.value,
760
739
  height: l.value.cellSize.height - r.value,
761
740
  fill: v.color,
762
741
  stroke: e.value.style.backgroundColor,
763
742
  "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, Nl),
743
+ onMouseover: (x) => Xt(v, o, l.value.left + l.value.cellSize.width * c, l.value.top + l.value.cellSize.height * o),
744
+ onMouseout: () => It({ datapoint: v, seriesIndex: o }),
745
+ onClick: () => Et(v, o)
746
+ }, null, 40, Dl),
768
747
  e.value.style.layout.cells.value.show ? ft((u(), n("text", {
769
748
  key: 0,
770
749
  "text-anchor": "middle",
@@ -772,10 +751,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
772
751
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
773
752
  fill: i(Ae)(v.color),
774
753
  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,
754
+ y: l.value.top + l.value.cellSize.height * o + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
776
755
  style: { pointerEvents: "none", userSelect: "none" }
777
756
  }, [
778
- Ve(S(i(B)(
757
+ Ie(T(i(B)(
779
758
  e.value.style.layout.cells.value.formatter,
780
759
  v.value,
781
760
  i(H)({
@@ -786,17 +765,17 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
786
765
  }),
787
766
  { datapoint: v }
788
767
  )), 1)
789
- ], 8, Dl)), [
768
+ ], 8, Nl)), [
790
769
  [i(_l), {
791
770
  cellWidth: l.value.cellSize.width - r.value,
792
771
  cellHeight: l.value.cellSize.height - r.value,
793
772
  maxFontSize: e.value.style.layout.cells.value.fontSize,
794
773
  minFontSize: 10,
795
- index: s * N.value + c,
774
+ index: o * D.value + c,
796
775
  reportHide: Pt,
797
- reportRotation: Dt,
776
+ reportRotation: Nt,
798
777
  hideAll: Ht.value,
799
- rotateAll: Nt.value
778
+ rotateAll: Dt.value
800
779
  }]
801
780
  ]) : f("", !0)
802
781
  ]))), 256))
@@ -807,10 +786,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
807
786
  ref_key: "yAxisSumRects",
808
787
  ref: Ct
809
788
  }, [
810
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
789
+ (u(!0), n(C, null, F(Y.value, (a, o) => (u(), n(C, null, [
811
790
  p("rect", {
812
791
  x: l.value.left,
813
- y: l.value.top + l.value.cellSize.height * s,
792
+ y: l.value.top + l.value.cellSize.height * o,
814
793
  width: l.value.sumCellXHeight,
815
794
  height: l.value.cellSize.height - r.value,
816
795
  fill: e.value.style.layout.cells.colors.underlayer,
@@ -819,10 +798,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
819
798
  }, null, 8, Hl),
820
799
  p("rect", {
821
800
  x: l.value.left,
822
- y: l.value.top + l.value.cellSize.height * s + r.value / 2,
801
+ y: l.value.top + l.value.cellSize.height * o + r.value / 2,
823
802
  width: l.value.sumCellXHeight,
824
803
  height: l.value.cellSize.height - r.value,
825
- fill: g.value.yTotals[s].color,
804
+ fill: g.value.yTotals[o].color,
826
805
  stroke: e.value.style.backgroundColor,
827
806
  "stroke-width": r.value
828
807
  }, null, 8, Pl)
@@ -833,26 +812,26 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
833
812
  ref_key: "yAxisLabels",
834
813
  ref: je
835
814
  }, [
836
- (u(!0), n(C, null, F(Y.value, (a, s) => (u(), n(C, null, [
815
+ (u(!0), n(C, null, F(Y.value, (a, o) => (u(), n(C, null, [
837
816
  p("text", {
838
817
  class: "vue-ui-heatmap-row-name",
839
818
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
840
819
  fill: e.value.style.layout.dataLabels.yAxis.color,
841
820
  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),
821
+ 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
822
  "text-anchor": "end",
844
823
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
845
- }, S(g.value.yLabels[s]), 9, Xl),
824
+ }, T(g.value.yLabels[o]), 9, Xl),
846
825
  e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
847
826
  key: 0,
848
827
  class: "vue-ui-heatmap-row-total",
849
828
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
850
829
  fill: e.value.style.layout.dataLabels.yAxis.color,
851
830
  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,
831
+ 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
832
  "text-anchor": "end",
854
833
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
855
- }, S(Vt(s)), 9, Il)) : f("", !0)
834
+ }, T(Vt(o)), 9, Il)) : f("", !0)
856
835
  ], 64))), 256))
857
836
  ], 512)) : f("", !0),
858
837
  e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
@@ -860,16 +839,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
860
839
  ref_key: "xAxisLabels",
861
840
  ref: _e
862
841
  }, [
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", {
842
+ (u(!0), n(C, null, F(g.value.xLabels, (a, o) => (u(), n(C, null, [
843
+ !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
844
  key: 0,
866
845
  class: "vue-ui-heatmap-col-name",
867
846
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
868
847
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
869
848
  fill: e.value.style.layout.dataLabels.xAxis.color,
870
849
  "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
- }, S(a), 9, Vl)) : f("", !0)
850
+ transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.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})`
851
+ }, T(a), 9, Vl)) : f("", !0)
873
852
  ], 64))), 256))
874
853
  ], 512)) : f("", !0),
875
854
  e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
@@ -877,14 +856,14 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
877
856
  ref_key: "xAxisSums",
878
857
  ref: ze
879
858
  }, [
880
- (u(!0), n(C, null, F(g.value.xLabels, (a, s) => (u(), n("text", {
859
+ (u(!0), n(C, null, F(g.value.xLabels, (a, o) => (u(), n("text", {
881
860
  class: "vue-ui-heatmap-col-total",
882
861
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
883
862
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
884
863
  fill: e.value.style.layout.dataLabels.xAxis.color,
885
864
  "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
- }, S(Bt(s)), 9, Bl))), 256))
865
+ transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / g.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})`
866
+ }, T(Bt(o)), 9, Bl))), 256))
888
867
  ], 512)) : f("", !0),
889
868
  se.value ? (u(), n("g", El, [
890
869
  p("rect", {
@@ -899,7 +878,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
899
878
  rx: 1
900
879
  }, null, 8, Ul)
901
880
  ])) : f("", !0),
902
- T(t.$slots, "svg", { svg: _.value }, void 0, !0)
881
+ L(t.$slots, "svg", { svg: _.value }, void 0, !0)
903
882
  ], 14, $l)),
904
883
  e.value.style.legend.show ? (u(), n("div", {
905
884
  key: 0,
@@ -917,7 +896,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
917
896
  fontSize: e.value.style.legend.fontSize + "px",
918
897
  color: e.value.style.legend.color
919
898
  })
920
- }, S(i(B)(
899
+ }, T(i(B)(
921
900
  e.value.style.layout.cells.value.formatter,
922
901
  i(E)(V.value),
923
902
  i(H)({
@@ -960,7 +939,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
960
939
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
961
940
  })
962
941
  }, [
963
- p("div", Wl, S(i(B)(
942
+ p("div", Wl, T(i(B)(
964
943
  e.value.style.layout.cells.value.formatter,
965
944
  i(E)(R.value),
966
945
  i(H)({
@@ -982,7 +961,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
982
961
  fontSize: e.value.style.legend.fontSize + "px",
983
962
  color: e.value.style.legend.color
984
963
  })
985
- }, S(i(B)(
964
+ }, T(i(B)(
986
965
  e.value.style.layout.cells.value.formatter,
987
966
  i(E)(ve.value),
988
967
  i(H)({
@@ -995,7 +974,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
995
974
  ], 4)) : f("", !0)
996
975
  ], 2),
997
976
  t.$slots.watermark ? (u(), n("div", jl, [
998
- T(t.$slots, "watermark", Z(ee({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
977
+ L(t.$slots, "watermark", Z(ee({ isPrinting: i(Qe) || i(Ze) })), void 0, !0)
999
978
  ])) : f("", !0),
1000
979
  t.$slots.source ? (u(), n("div", {
1001
980
  key: 5,
@@ -1003,7 +982,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1003
982
  ref: qe,
1004
983
  dir: "auto"
1005
984
  }, [
1006
- T(t.$slots, "source", {}, void 0, !0)
985
+ L(t.$slots, "source", {}, void 0, !0)
1007
986
  ], 512)) : f("", !0),
1008
987
  ke(i(W), {
1009
988
  show: $.value.showTooltip && ae.value,
@@ -1016,7 +995,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1016
995
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
1017
996
  position: e.value.style.tooltip.position,
1018
997
  offsetY: e.value.style.tooltip.offsetY,
1019
- parent: L.value,
998
+ parent: S.value,
1020
999
  content: q.value,
1021
1000
  isFullscreen: G.value,
1022
1001
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
@@ -1026,10 +1005,10 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1026
1005
  smoothSnapThreshold: e.value.style.tooltip.smoothSnapThreshold
1027
1006
  }, {
1028
1007
  "tooltip-before": z(() => [
1029
- T(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
1008
+ L(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
1030
1009
  ]),
1031
1010
  "tooltip-after": z(() => [
1032
- T(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
1011
+ L(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
1033
1012
  ]),
1034
1013
  _: 3
1035
1014
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"]),
@@ -1068,8 +1047,8 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1068
1047
  key: 0,
1069
1048
  style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1070
1049
  }, [
1071
- Ve(S(e.value.style.title.text) + " ", 1),
1072
- e.value.style.title.subtitle.text ? (u(), n("span", Kl, S(e.value.style.title.subtitle.text), 1)) : f("", !0)
1050
+ Ie(T(e.value.style.title.text) + " ", 1),
1051
+ e.value.style.title.subtitle.text ? (u(), n("span", Kl, T(e.value.style.title.subtitle.text), 1)) : f("", !0)
1073
1052
  ], 4)),
1074
1053
  p("thead", null, [
1075
1054
  p("tr", {
@@ -1079,16 +1058,16 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1079
1058
  p("th", {
1080
1059
  style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1081
1060
  }, null, 4),
1082
- (u(!0), n(C, null, F(b.dataset, (a, s) => (u(), n("th", {
1061
+ (u(!0), n(C, null, F(b.dataset, (a, o) => (u(), n("th", {
1083
1062
  align: "right",
1084
1063
  style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1085
- }, S(a.name), 5))), 256))
1064
+ }, T(a.name), 5))), 256))
1086
1065
  ], 4)
1087
1066
  ]),
1088
1067
  p("tbody", null, [
1089
- (u(!0), n(C, null, F(g.value.xLabels, (a, s) => (u(), n("tr", {
1068
+ (u(!0), n(C, null, F(g.value.xLabels, (a, o) => (u(), n("tr", {
1090
1069
  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 }),
1070
+ class: ce({ "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 }),
1092
1071
  style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1093
1072
  }, [
1094
1073
  p("td", {
@@ -1096,14 +1075,14 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1096
1075
  class: "vue-ui-data-table__tbody__td",
1097
1076
  style: w(`outline:${e.value.table.td.outline}`)
1098
1077
  }, [
1099
- p("div", Ql, S(a), 1)
1078
+ p("div", Ql, T(a), 1)
1100
1079
  ], 12, Jl),
1101
1080
  (u(!0), n(C, null, F(b.dataset, (v, c) => (u(), n("td", {
1102
1081
  class: "vue-ui-data-table__tbody__td",
1103
1082
  "data-cell": b.dataset[c].name,
1104
1083
  style: w(`outline:${e.value.table.td.outline}`)
1105
1084
  }, [
1106
- p("div", ea, S(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)
1085
+ p("div", ea, T(isNaN(v.values[o]) ? "-" : i(H)({ 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)
1107
1086
  ], 12, Zl))), 256))
1108
1087
  ], 6))), 256))
1109
1088
  ])
@@ -1116,7 +1095,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1116
1095
  e.value.table.useDialog ? {
1117
1096
  name: "title",
1118
1097
  fn: z(() => [
1119
- Ve(S(xe.value.title), 1)
1098
+ Ie(T(xe.value.title), 1)
1120
1099
  ]),
1121
1100
  key: "0"
1122
1101
  } : void 0,
@@ -1126,7 +1105,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1126
1105
  p("button", {
1127
1106
  tabindex: "0",
1128
1107
  class: "vue-ui-user-options-button",
1129
- onClick: o[0] || (o[0] = (a) => Ne(e.value.userOptions.callbacks.csv))
1108
+ onClick: s[0] || (s[0] = (a) => De(e.value.userOptions.callbacks.csv))
1130
1109
  }, [
1131
1110
  ke(i(te), {
1132
1111
  name: "excel",
@@ -1140,7 +1119,7 @@ const zl = ["id"], $l = ["xmlns", "viewBox"], Ol = ["x", "y", "width", "height"]
1140
1119
  i(pe) ? (u(), de(bl, { key: 7 })) : f("", !0)
1141
1120
  ], 46, zl));
1142
1121
  }
1143
- }, ma = /* @__PURE__ */ Sl(ta, [["__scopeId", "data-v-39916842"]]);
1122
+ }, ma = /* @__PURE__ */ Sl(ta, [["__scopeId", "data-v-7b02a740"]]);
1144
1123
  export {
1145
1124
  ma as default
1146
1125
  };