vue-data-ui 3.6.0 → 3.7.1

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