vue-data-ui 3.3.2 → 3.4.0

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