vue-data-ui 3.2.8 → 3.3.0

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