vue-data-ui 3.0.23 → 3.1.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 (108) hide show
  1. package/dist/{Arrow-B1Op9F3x.js → Arrow-xQM7mBzd.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B4OaMIom.js → BaseDraggableDialog-B2BQC0-h.js} +72 -59
  3. package/dist/{BaseIcon-CgUOIGjr.js → BaseIcon-DLesaZpW.js} +1 -1
  4. package/dist/{useLoading-D7YHNtLX.js → BaseScanner-BgWxam9d.js} +11 -11
  5. package/dist/{ColorPicker-C0nf8VH0.js → ColorPicker-BKvJvFtX.js} +2 -2
  6. package/dist/DataTable-BAf4Obr9.js +140 -0
  7. package/dist/{Legend-CyYXMSsW.js → Legend-8_V5egWW.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-D63qeScu.js → NonSvgPenAndPaper-Cq4fHmA0.js} +3 -3
  9. package/dist/{PackageVersion-B6M-3jRt.js → PackageVersion-Cv_ypT0N.js} +1 -1
  10. package/dist/{PenAndPaper-zym5uEeN.js → PenAndPaper-B6OvfyHH.js} +3 -3
  11. package/dist/{Shape-CYVs2kYz.js → Shape-Cjca5zta.js} +1 -1
  12. package/dist/{Slicer-BTIFUO4x.js → Slicer-6w3K8gAc.js} +2 -2
  13. package/dist/{SparkTooltip-CNz7AYUL.js → SparkTooltip-BV4Z-NMp.js} +1 -1
  14. package/dist/{Title-D_e0SFWS.js → Title-Dz-j6ERs.js} +1 -1
  15. package/dist/{Tooltip-DjVoFYj1.js → Tooltip-BTGOEC7w.js} +1 -1
  16. package/dist/{UserOptions-z0NWZ7aQ.js → UserOptions-CsDlFB0L.js} +2 -2
  17. package/dist/{dom-to-png-DD0au3Qz.js → dom-to-png-BOu5-Ohz.js} +1 -1
  18. package/dist/{img-z5p1gGfY.js → img-gBDz7xQQ.js} +1 -1
  19. package/dist/{index-BEuUtONc.js → index-BKQqb9lF.js} +37 -2
  20. package/dist/{pdf-BmUjVBni.js → pdf-Cjsn5GEE.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +35 -0
  23. package/dist/types/vue-data-ui.d.ts +35 -0
  24. package/dist/{useAutoSizeLabelsInsideViewbox-CchB8S-o.js → useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js} +1 -1
  25. package/dist/{useNestedProp-DhLFhguL.js → useNestedProp-aBOhgs4U.js} +1 -1
  26. package/dist/{usePrinter-DiB0_UNt.js → usePrinter-BzuXiubT.js} +2 -2
  27. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  28. package/dist/{vue-data-ui-DJIAas-7.js → vue-data-ui-B6eM6hF3.js} +64 -64
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-DBeWmnvH.js +1369 -0
  31. package/dist/{vue-ui-accordion-B4YfUjZ5.js → vue-ui-accordion-B5QeV3BK.js} +3 -3
  32. package/dist/{vue-ui-age-pyramid-CkXXNN79.js → vue-ui-age-pyramid-rZFdUsgz.js} +333 -286
  33. package/dist/{vue-ui-annotator-DnSsIkvU.js → vue-ui-annotator-CCCuslrT.js} +2 -2
  34. package/dist/{vue-ui-bullet-kZkBsWPY.js → vue-ui-bullet-DhJf9mvK.js} +8 -8
  35. package/dist/{vue-ui-candlestick-CIn0xZm0.js → vue-ui-candlestick-CGVtDKqZ.js} +453 -406
  36. package/dist/{vue-ui-carousel-table-f1FDOAqH.js → vue-ui-carousel-table-DLAR3WY8.js} +4 -4
  37. package/dist/{vue-ui-chestnut-B-jSj7FT.js → vue-ui-chestnut-BXnSxoXB.js} +563 -520
  38. package/dist/vue-ui-chord-DH_MwAKX.js +1100 -0
  39. package/dist/vue-ui-circle-pack-Cx_E1R63.js +755 -0
  40. package/dist/{vue-ui-cursor-DdBrui6i.js → vue-ui-cursor-CEvH1qDS.js} +2 -2
  41. package/dist/{vue-ui-dashboard-DSUfW7mI.js → vue-ui-dashboard-CvduVgEy.js} +62 -62
  42. package/dist/{vue-ui-digits-Cb3Wq5WR.js → vue-ui-digits-PTozKs3l.js} +2 -2
  43. package/dist/{vue-ui-donut-BCZqlAO3.js → vue-ui-donut-CsEtKJJD.js} +477 -431
  44. package/dist/{vue-ui-donut-evolution-HmQBq9VP.js → vue-ui-donut-evolution-DD7o-CxF.js} +482 -435
  45. package/dist/{vue-ui-dumbbell-B5w2oqNO.js → vue-ui-dumbbell-DfPYl3fu.js} +443 -398
  46. package/dist/vue-ui-flow-CSTTZHwg.js +900 -0
  47. package/dist/vue-ui-funnel-C-NUZqIo.js +666 -0
  48. package/dist/vue-ui-galaxy-BwsZnU6T.js +744 -0
  49. package/dist/{vue-ui-gauge-C_KLPWk2.js → vue-ui-gauge-D9MUneq0.js} +8 -8
  50. package/dist/{vue-ui-gizmo-CsPX25Ti.js → vue-ui-gizmo-Dnzs9wSf.js} +4 -4
  51. package/dist/{vue-ui-heatmap-BHq6hBaL.js → vue-ui-heatmap-CYaQIhy8.js} +501 -461
  52. package/dist/{vue-ui-history-plot-DgpYiaUD.js → vue-ui-history-plot-DMTFzl-_.js} +408 -361
  53. package/dist/{vue-ui-kpi-DOgibU7W.js → vue-ui-kpi-CkPotdff.js} +3 -3
  54. package/dist/{vue-ui-mini-loader-BjsQAxDx.js → vue-ui-mini-loader-CCE-bDOJ.js} +2 -2
  55. package/dist/vue-ui-molecule-DaN5lroq.js +702 -0
  56. package/dist/{vue-ui-mood-radar-DMwVl3wz.js → vue-ui-mood-radar-tM0mmZh8.js} +342 -291
  57. package/dist/{vue-ui-nested-donuts-H0GzIAF0.js → vue-ui-nested-donuts-RB4r6beI.js} +548 -502
  58. package/dist/{vue-ui-onion-A6nKcus1.js → vue-ui-onion-CxDozHg3.js} +363 -317
  59. package/dist/vue-ui-parallel-coordinate-plot-CK9nNExU.js +979 -0
  60. package/dist/vue-ui-quadrant-C7tLJYn7.js +1483 -0
  61. package/dist/{vue-ui-quick-chart-mwXE3w_o.js → vue-ui-quick-chart-MUBAkrHb.js} +7 -7
  62. package/dist/vue-ui-radar-Br4K80I9.js +858 -0
  63. package/dist/{vue-ui-rating-CleNHFo5.js → vue-ui-rating-NtvT9r_M.js} +2 -2
  64. package/dist/{vue-ui-relation-circle-CMCH7Ia6.js → vue-ui-relation-circle-CPQjAy1g.js} +8 -8
  65. package/dist/vue-ui-ridgeline-C2M_Cjlh.js +1204 -0
  66. package/dist/vue-ui-rings-DEru-cWN.js +785 -0
  67. package/dist/{vue-ui-scatter-kv28dsT3.js → vue-ui-scatter-CJKkiKle.js} +594 -548
  68. package/dist/{vue-ui-skeleton-DCNOYh9x.js → vue-ui-skeleton--twnjS2t.js} +3 -3
  69. package/dist/{vue-ui-smiley-DcS0CM-z.js → vue-ui-smiley-CNccdPZ7.js} +2 -2
  70. package/dist/{vue-ui-spark-trend-LHgReXth.js → vue-ui-spark-trend-9BFkkC0u.js} +4 -4
  71. package/dist/{vue-ui-sparkbar-Da315uRq.js → vue-ui-sparkbar-RYAThoA4.js} +4 -4
  72. package/dist/{vue-ui-sparkgauge-BeAkjGap.js → vue-ui-sparkgauge-DkPlmgMF.js} +4 -4
  73. package/dist/{vue-ui-sparkhistogram-Cy19W3y1.js → vue-ui-sparkhistogram-6EkCyYRF.js} +5 -5
  74. package/dist/{vue-ui-sparkline-IjlQWgs3.js → vue-ui-sparkline-Bl3nj8zd.js} +4 -4
  75. package/dist/{vue-ui-sparkstackbar-CoFgOa3r.js → vue-ui-sparkstackbar-B88lA7iy.js} +4 -4
  76. package/dist/{vue-ui-stackbar-fbCs4sHF.js → vue-ui-stackbar-Csj7NhT6.js} +525 -479
  77. package/dist/{vue-ui-strip-plot-Cm8Zr6RE.js → vue-ui-strip-plot-yY9NsUUI.js} +390 -343
  78. package/dist/{vue-ui-table-q7jWgS26.js → vue-ui-table-Dg6U31ex.js} +3 -3
  79. package/dist/{vue-ui-table-heatmap-CsK9gR1G.js → vue-ui-table-heatmap-BWU7CAWP.js} +5 -5
  80. package/dist/{vue-ui-table-sparkline-CXTPucPr.js → vue-ui-table-sparkline-DV4Y9aRL.js} +4 -4
  81. package/dist/{vue-ui-thermometer-BFxdNgrd.js → vue-ui-thermometer-C3fKamV-.js} +8 -8
  82. package/dist/{vue-ui-timer-BsoeDFjK.js → vue-ui-timer-6VAK9XyF.js} +5 -5
  83. package/dist/{vue-ui-tiremarks-BW_jSayT.js → vue-ui-tiremarks-BB-KAkF7.js} +7 -7
  84. package/dist/vue-ui-treemap-GrXkD_3Z.js +1092 -0
  85. package/dist/{vue-ui-vertical-bar-OrLV4CxH.js → vue-ui-vertical-bar-Mmz6u4aX.js} +504 -461
  86. package/dist/{vue-ui-waffle-BA6rNfVs.js → vue-ui-waffle-DzPVRUOA.js} +416 -370
  87. package/dist/{vue-ui-wheel-B_BkI-5f.js → vue-ui-wheel-idRCvS5t.js} +7 -7
  88. package/dist/vue-ui-word-cloud-B2641uNP.js +811 -0
  89. package/dist/{vue-ui-world-B4mKuSSn.js → vue-ui-world-D6s5Eph8.js} +512 -466
  90. package/dist/{vue-ui-xy-m1SWJk77.js → vue-ui-xy-BKTGSvfU.js} +1551 -1500
  91. package/dist/vue-ui-xy-canvas-BOQyxVRl.js +1291 -0
  92. package/package.json +1 -1
  93. package/dist/DataTable-nO6ydJO2.js +0 -133
  94. package/dist/vue-ui-3d-bar-B56WqLJ-.js +0 -1323
  95. package/dist/vue-ui-chord-Ck4yV3Tb.js +0 -1049
  96. package/dist/vue-ui-circle-pack-BAfRk_Hd.js +0 -709
  97. package/dist/vue-ui-flow-BXkxtUoF.js +0 -852
  98. package/dist/vue-ui-funnel-DFvDO--q.js +0 -620
  99. package/dist/vue-ui-galaxy-BXNLLc3U.js +0 -691
  100. package/dist/vue-ui-molecule-BtyMTwEn.js +0 -656
  101. package/dist/vue-ui-parallel-coordinate-plot-DZ9_0F5c.js +0 -927
  102. package/dist/vue-ui-quadrant-CUggSeUN.js +0 -1432
  103. package/dist/vue-ui-radar-BRKZ8e_X.js +0 -807
  104. package/dist/vue-ui-ridgeline-xW7UrSfR.js +0 -1157
  105. package/dist/vue-ui-rings-D3NfFMaO.js +0 -739
  106. package/dist/vue-ui-treemap-DhAYSVB9.js +0 -1046
  107. package/dist/vue-ui-word-cloud-CrSLGFOK.js +0 -765
  108. package/dist/vue-ui-xy-canvas-CX2JT6T3.js +0 -1243
@@ -1,64 +1,65 @@
1
- import { useCssVars as Bt, defineAsyncComponent as ve, computed as g, ref as c, shallowRef as nt, toRefs as Ut, watch as Re, onBeforeUnmount as Fe, onMounted as Yt, watchEffect as Ne, reactive as rt, createElementBlock as n, openBlock as u, normalizeStyle as k, normalizeClass as ce, createBlock as de, createCommentVNode as p, createElementVNode as h, createVNode as He, unref as i, createSlots as Gt, withCtx as O, renderSlot as T, normalizeProps as Z, guardReactiveProps as ee, Fragment as L, renderList as R, withDirectives as vt, createTextVNode as ct, toDisplayString as z, vShow as Wt, withKeys as jt, nextTick as qt } from "vue";
2
- import { u as Kt, c as Xe, t as Jt, b as Qt, C as Zt, o as dt, f as yt, P as ye, g as el, X as tl, F as xe, k as E, i as H, h as D, v as ll, w as al, y as ol, z as sl } from "./index-BEuUtONc.js";
3
- import { u as ht } from "./useNestedProp-DhLFhguL.js";
4
- import { u as ul } from "./usePrinter-DiB0_UNt.js";
5
- import { u as il } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as nl } from "./useChartAccessibility-9icAAmYg.js";
7
- import rl from "./vue-ui-accordion-B4YfUjZ5.js";
8
- import vl from "./Title-D_e0SFWS.js";
9
- import cl from "./img-z5p1gGfY.js";
10
- import { t as we, u as dl } from "./useResponsive-DfdjqQps.js";
11
- import { u as ft } from "./useTimeLabelCollider-CIsgDrl9.js";
12
- import { u as pt } from "./useTimeLabels-BGFjWgrv.js";
13
- import { u as yl, B as hl } from "./useLoading-D7YHNtLX.js";
14
- import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const pl = {
16
- mounted(b, X) {
17
- gt(b, X.value);
1
+ import { useCssVars as Yt, defineAsyncComponent as Z, computed as g, ref as c, shallowRef as Gt, toRefs as Wt, watch as xe, onBeforeUnmount as rt, onMounted as jt, watchEffect as De, reactive as vt, nextTick as ct, createElementBlock as n, openBlock as u, normalizeStyle as w, normalizeClass as ve, createBlock as ce, createCommentVNode as h, createElementVNode as f, createVNode as we, unref as i, createSlots as dt, withCtx as $, renderSlot as T, normalizeProps as ee, guardReactiveProps as te, Fragment as C, renderList as F, withDirectives as yt, createTextVNode as He, toDisplayString as _, vShow as qt, resolveDynamicComponent as Kt, mergeProps as Jt, withKeys as Qt } from "vue";
2
+ import { u as Zt, c as Pe, t as el, b as tl, C as ll, o as ht, f as ft, P as de, g as al, X as ol, F as ke, k as B, i as H, h as E, v as sl, w as ul, y as il, z as nl } from "./index-BKQqb9lF.js";
3
+ import { t as Ae, u as rl } from "./useResponsive-DfdjqQps.js";
4
+ import { u as vl } from "./usePrinter-BzuXiubT.js";
5
+ import { u as cl, B as dl } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as pt } from "./useNestedProp-aBOhgs4U.js";
7
+ import { u as gt } from "./useTimeLabels-BGFjWgrv.js";
8
+ import { u as yl } from "./useTableResponsive-Cbx-ACcP.js";
9
+ import { u as hl } from "./useUserOptionState-BIvW1Kz7.js";
10
+ import { u as bt } from "./useTimeLabelCollider-CIsgDrl9.js";
11
+ import { u as fl } from "./useChartAccessibility-9icAAmYg.js";
12
+ import pl from "./img-gBDz7xQQ.js";
13
+ import gl from "./Title-Dz-j6ERs.js";
14
+ import bl from "./vue-ui-accordion-B5QeV3BK.js";
15
+ import { _ as ml } from "./_plugin-vue_export-helper-CHgC5LLL.js";
16
+ const xl = {
17
+ mounted(b, P) {
18
+ mt(b, P.value);
18
19
  },
19
- updated(b, X) {
20
- gt(b, X.value);
20
+ updated(b, P) {
21
+ mt(b, P.value);
21
22
  }
22
23
  };
23
- function gt(b, {
24
- cellWidth: X,
25
- cellHeight: he,
26
- maxFontSize: Y,
27
- minFontSize: fe,
28
- index: $,
29
- reportRotation: te,
30
- reportHide: P,
31
- rotateAll: ke,
32
- hideAll: C
24
+ function mt(b, {
25
+ cellWidth: P,
26
+ cellHeight: ye,
27
+ maxFontSize: W,
28
+ minFontSize: le,
29
+ index: z,
30
+ reportRotation: ae,
31
+ reportHide: X,
32
+ rotateAll: Ce,
33
+ hideAll: Le
33
34
  }) {
34
35
  b.removeAttribute("transform"), b.removeAttribute("visibility");
35
- let le = !1, G = !1;
36
- b.setAttribute("font-size", Y);
37
- const W = b.getComputedTextLength();
38
- if (W <= X)
39
- te($, !1), P($, !1);
36
+ let k = !1, he = !1;
37
+ b.setAttribute("font-size", W);
38
+ const j = b.getComputedTextLength();
39
+ if (j <= P)
40
+ ae(z, !1), X(z, !1);
40
41
  else {
41
- const w = Math.floor(Y * X / W);
42
- w >= fe ? (b.setAttribute("font-size", w), te($, !1), P($, !1)) : (te($, !0), P($, !1), le = !0);
42
+ const M = Math.floor(W * P / j);
43
+ M >= le ? (b.setAttribute("font-size", M), ae(z, !1), X(z, !1)) : (ae(z, !0), X(z, !1), k = !0);
43
44
  }
44
- if (ke && (le = !0), le) {
45
- b.setAttribute("font-size", Y);
46
- const w = b.getBBox(), Ae = w.x + w.width / 2, ae = w.y + w.height / 2;
47
- b.setAttribute("transform", `rotate(-90 ${Ae} ${ae})`);
48
- const j = b.getBBox().width;
49
- if (j <= he)
50
- P($, !1);
45
+ if (Ce && (k = !0), k) {
46
+ b.setAttribute("font-size", W);
47
+ const M = b.getBBox(), O = M.x + M.width / 2, Te = M.y + M.height / 2;
48
+ b.setAttribute("transform", `rotate(-90 ${O} ${Te})`);
49
+ const q = b.getBBox().width;
50
+ if (q <= ye)
51
+ X(z, !1);
51
52
  else {
52
- const oe = Math.floor(Y * he / j);
53
- oe >= fe ? (b.setAttribute("font-size", oe), P($, !1)) : (G = !0, P($, !0));
53
+ const K = Math.floor(W * ye / q);
54
+ K >= le ? (b.setAttribute("font-size", K), X(z, !1)) : (he = !0, X(z, !0));
54
55
  }
55
56
  }
56
- (C || G) && b.setAttribute("visibility", "hidden");
57
+ (Le || he) && b.setAttribute("visibility", "hidden");
57
58
  }
58
- const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"], xl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], wl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], kl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["font-size", "fill", "x", "y", "font-weight"], zl = ["font-size", "fill", "x", "y", "font-weight"], Sl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], $l = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ml = { key: 6 }, Ol = ["x", "y", "width", "height", "stroke", "stroke-width"], Rl = { class: "vue-ui-heatmap-legend-gauge-right" }, Fl = ["data-value"], Nl = { class: "vue-ui-heatmap-gauge-indicator-value" }, Hl = {
59
+ const wl = ["id"], kl = ["xmlns", "viewBox"], Al = ["x", "y", "width", "height"], Cl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ll = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], _l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width", "onMouseover", "onMouseout", "onClick"], Sl = ["font-size", "font-weight", "fill", "x", "y"], $l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], zl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["font-size", "fill", "x", "y", "font-weight"], Ol = ["font-size", "fill", "x", "y", "font-weight"], Rl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Fl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Nl = { key: 6 }, Dl = ["x", "y", "width", "height", "stroke", "stroke-width"], Hl = { class: "vue-ui-heatmap-legend-gauge-right" }, Pl = ["data-value"], Xl = { class: "vue-ui-heatmap-gauge-indicator-value" }, Il = {
59
60
  key: 4,
60
61
  class: "vue-data-ui-watermark"
61
- }, Xl = { class: "vue-ui-data-table" }, Pl = { key: 0 }, Il = ["data-cell"], Vl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, El = ["data-cell"], Dl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Bl = {
62
+ }, Vl = { class: "vue-ui-data-table" }, Bl = { key: 0 }, El = ["data-cell"], Ul = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Yl = ["data-cell"], Gl = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, Wl = {
62
63
  __name: "vue-ui-heatmap",
63
64
  props: {
64
65
  config: {
@@ -75,19 +76,19 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
75
76
  }
76
77
  },
77
78
  emits: ["selectDatapoint"],
78
- setup(b, { expose: X, emit: he }) {
79
- Bt((t) => ({
80
- "6eaf1725": t.tdo
79
+ setup(b, { expose: P, emit: ye }) {
80
+ Yt((t) => ({
81
+ "3844bd94": t.tdo
81
82
  }));
82
- const Y = ve(() => import("./BaseIcon-CgUOIGjr.js")), fe = ve(() => import("./PackageVersion-B6M-3jRt.js")), $ = ve(() => import("./PenAndPaper-zym5uEeN.js")), te = ve(() => import("./Tooltip-DjVoFYj1.js")), P = ve(() => import("./UserOptions-z0NWZ7aQ.js")), { vue_ui_heatmap: ke } = Kt(), C = b, le = he, G = g({
83
+ const W = Z(() => import("./Tooltip-BTGOEC7w.js")), le = Z(() => import("./BaseIcon-DLesaZpW.js")), z = Z(() => import("./PenAndPaper-B6OvfyHH.js")), ae = Z(() => import("./UserOptions-CsDlFB0L.js")), X = Z(() => import("./PackageVersion-Cv_ypT0N.js")), Ce = Z(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_heatmap: Le } = Zt(), k = b, he = ye, j = g({
83
84
  get() {
84
- return !!C.dataset && C.dataset.length;
85
+ return !!k.dataset && k.dataset.length;
85
86
  },
86
87
  set(t) {
87
88
  return t;
88
89
  }
89
- }), W = c(Xe()), w = c(null), Ae = c(null), ae = c(!1), j = c(""), oe = c(void 0), se = c(null), Pe = c(0), Le = c(null), Ie = c(!1), Ve = c(0), bt = c(null), Ee = c(null), De = c(null), mt = c(null), Be = c(null), xt = c(null), Ce = c(null), Te = c(null), wt = c(null), Ue = c(null), q = nt(null), e = c(Se());
90
- function kt() {
90
+ }), M = c(Pe()), O = c(null), Te = c(null), q = c(!1), K = c(""), Xe = c(void 0), oe = c(null), Ie = c(0), Ve = c(null), Be = c(0), xt = c(null), se = c(null), Ee = c(null), Ue = c(null), wt = c(null), Ye = c(null), kt = c(null), _e = c(null), Se = c(null), At = c(null), Ge = c(null), J = Gt(null), e = c(Me());
91
+ function Ct() {
91
92
  const t = Array(7).fill("_"), a = [], o = 14, s = t.length;
92
93
  for (let d = 0; d < s; d += 1) {
93
94
  const v = [];
@@ -100,12 +101,12 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
100
101
  }
101
102
  return a;
102
103
  }
103
- const { loading: pe, FINAL_DATASET: m, manualLoading: _e } = yl({
104
- ...Ut(C),
104
+ const { loading: fe, FINAL_DATASET: m, manualLoading: $e } = cl({
105
+ ...Wt(k),
105
106
  FINAL_CONFIG: e,
106
- prepareConfig: Se,
107
- skeletonDataset: kt(),
108
- skeletonConfig: Jt({
107
+ prepareConfig: Me,
108
+ skeletonDataset: Ct(),
109
+ skeletonConfig: el({
109
110
  defaultConfig: e.value,
110
111
  userConfig: {
111
112
  table: { show: !1 },
@@ -130,128 +131,116 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
130
131
  }
131
132
  }
132
133
  })
133
- }), { userOptionsVisible: ze, setUserOptionsVisibility: At, keepUserOptionState: Ye } = il({ config: e.value }), { svgRef: Ge } = nl({ config: e.value.style.title });
134
- function We(t) {
135
- At(t);
134
+ }), { userOptionsVisible: ze, setUserOptionsVisibility: Lt, keepUserOptionState: We } = hl({ config: e.value }), { svgRef: je } = fl({ config: e.value.style.title });
135
+ function qe(t) {
136
+ Lt(t);
136
137
  }
137
- function Se() {
138
- const t = ht({
139
- userConfig: C.config,
140
- defaultConfig: ke
138
+ function Me() {
139
+ const t = pt({
140
+ userConfig: k.config,
141
+ defaultConfig: Le
141
142
  });
142
143
  let a = {};
143
144
  return t.theme ? a = {
144
- ...ht({
145
- userConfig: Qt.vue_ui_heatmap[t.theme] || C.config,
145
+ ...pt({
146
+ userConfig: tl.vue_ui_heatmap[t.theme] || k.config,
146
147
  defaultConfig: t
147
148
  })
148
- } : a = t, C.config && Zt(C.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = C.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
149
+ } : a = t, k.config && ll(k.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? a.style.layout.dataLabels.xAxis.showOnlyAtModulo = k.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : a.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, a;
149
150
  }
150
- Re(() => C.config, (t) => {
151
- pe.value || (e.value = Se()), ze.value = !e.value.userOptions.showOnChartHover, $e(), Ve.value += 1, S.value.showTable = e.value.table.show, S.value.showTooltip = e.value.style.tooltip.show, ue.value = e.value.style.layout.width, ie.value = e.value.style.layout.height;
152
- }, { deep: !0 }), Re(() => C.dataset, (t) => {
153
- Array.isArray(t) && t.length > 0 && (_e.value = !1), $e();
151
+ xe(() => k.config, (t) => {
152
+ fe.value || (e.value = Me()), ze.value = !e.value.userOptions.showOnChartHover, Oe(), Be.value += 1, L.value.showTable = e.value.table.show, L.value.showTooltip = e.value.style.tooltip.show, ue.value = e.value.style.layout.width, ie.value = e.value.style.layout.height;
153
+ }, { deep: !0 }), xe(() => k.dataset, (t) => {
154
+ Array.isArray(t) && t.length > 0 && ($e.value = !1), Oe();
154
155
  }, { deep: !0 });
155
- const { isPrinting: je, isImaging: qe, generatePdf: Ke, generateImage: Je } = ul({
156
- elementId: `heatmap__${W.value}`,
156
+ const { isPrinting: Ke, isImaging: Je, generatePdf: Qe, generateImage: Ze } = vl({
157
+ elementId: `heatmap__${M.value}`,
157
158
  fileName: e.value.style.title.text || "vue-ui-heatmap",
158
159
  options: e.value.userOptions.print
159
- }), Lt = g(() => e.value.userOptions.show && !e.value.style.title.text), S = c({
160
+ }), Tt = g(() => e.value.userOptions.show && !e.value.style.title.text), L = c({
160
161
  showTable: e.value.table.show,
161
162
  showTooltip: e.value.style.tooltip.show
162
163
  });
163
- Re(e, () => {
164
- S.value = {
164
+ xe(e, () => {
165
+ L.value = {
165
166
  showTable: e.value.table.show,
166
167
  showTooltip: e.value.style.tooltip.show
167
168
  };
168
169
  }, { immediate: !0 });
169
- const Ct = g(() => e.value.table.responsiveBreakpoint), K = nt(null);
170
- function Tt() {
171
- K.value && K.value.disconnect(), K.value = new ResizeObserver((t) => {
172
- t.forEach((a) => {
173
- Ie.value = a.contentRect.width < Ct.value;
174
- });
175
- }), Le.value && K.value.observe(Le.value);
176
- }
177
- Fe(() => {
178
- K.value && K.value.disconnect();
179
- });
180
- const I = c(null), Qe = g(() => !!e.value.debug);
181
- function $e() {
182
- if (dt(C.dataset) && (yt({
170
+ const _t = g(() => e.value.table.responsiveBreakpoint), I = c(null), et = g(() => !!e.value.debug);
171
+ function Oe() {
172
+ if (ht(k.dataset) && (ft({
183
173
  componentName: "VueUiHeatmap",
184
174
  type: "dataset",
185
- debug: Qe.value
186
- }), G.value = !1, _e.value = !0), dt(C.dataset) || (_e.value = e.value.loading), e.value.responsive) {
187
- const t = we(() => {
188
- const { width: a, height: o } = dl({
189
- chart: w.value,
175
+ debug: et.value
176
+ }), j.value = !1, $e.value = !0), ht(k.dataset) || ($e.value = e.value.loading), e.value.responsive) {
177
+ const t = Ae(() => {
178
+ const { width: a, height: o } = rl({
179
+ chart: O.value,
190
180
  title: e.value.style.title.text ? Ee.value : null,
191
181
  // add legend hirizontal in legend attr
192
182
  // add legend vertical in some other attr and modify composable to subtract width
193
- source: Ue.value,
194
- noTitle: De.value
183
+ source: Ge.value,
184
+ noTitle: Ue.value
195
185
  });
196
186
  requestAnimationFrame(() => {
197
187
  ue.value = a, ie.value = o;
198
188
  });
199
189
  });
200
- I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect()), I.value = new ResizeObserver(t), q.value = w.value.parentNode, I.value.observe(q.value);
190
+ I.value && (J.value && I.value.unobserve(J.value), I.value.disconnect()), I.value = new ResizeObserver(t), J.value = O.value.parentNode, I.value.observe(J.value);
201
191
  }
202
- Tt();
203
192
  }
204
- Fe(() => {
205
- I.value && (q.value && I.value.unobserve(q.value), I.value.disconnect());
206
- }), Yt(() => {
207
- $e();
193
+ rt(() => {
194
+ I.value && (J.value && I.value.unobserve(J.value), I.value.disconnect());
195
+ }), jt(() => {
196
+ Oe();
208
197
  });
209
- const F = g(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ue = c(e.value.style.layout.width), ie = c(e.value.style.layout.height), _ = g(() => ({
198
+ const N = g(() => Math.max(...m.value.flatMap((t) => (t.values || []).length))), ue = c(e.value.style.layout.width), ie = c(e.value.style.layout.height), S = g(() => ({
210
199
  width: Math.max(10, ue.value),
211
200
  height: Math.max(10, ie.value)
212
- })), ne = c(0), _t = we((t) => {
201
+ })), ne = c(0), St = Ae((t) => {
213
202
  ne.value = t;
214
203
  }, 100);
215
- Ne((t) => {
216
- const a = Ce.value;
204
+ De((t) => {
205
+ const a = _e.value;
217
206
  if (!a) return;
218
207
  const o = new ResizeObserver((s) => {
219
- _t(s[0].contentRect.height);
208
+ St(s[0].contentRect.height);
220
209
  });
221
210
  o.observe(a), t(() => o.disconnect());
222
211
  });
223
- const J = c(0), zt = we((t) => {
224
- J.value = t;
212
+ const Q = c(0), $t = Ae((t) => {
213
+ Q.value = t;
225
214
  }, 100);
226
- Ne((t) => {
227
- const a = Be.value;
215
+ De((t) => {
216
+ const a = Ye.value;
228
217
  if (!a) return;
229
218
  const o = new ResizeObserver((s) => {
230
- zt(s[0].contentRect.width);
219
+ $t(s[0].contentRect.width);
231
220
  });
232
221
  o.observe(a), t(() => o.disconnect());
233
222
  });
234
- const ge = c(0), St = we((t) => {
235
- ge.value = t;
223
+ const pe = c(0), zt = Ae((t) => {
224
+ pe.value = t;
236
225
  }, 100);
237
- Ne((t) => {
238
- const a = Te.value;
226
+ De((t) => {
227
+ const a = Se.value;
239
228
  if (!a) return;
240
229
  const o = new ResizeObserver((s) => {
241
- St(s[0].contentRect.height);
230
+ zt(s[0].contentRect.height);
242
231
  });
243
232
  o.observe(a), t(() => o.disconnect());
244
- }), Fe(() => {
245
- ne.value = 0, J.value = 0, ge.value = 0;
233
+ }), rt(() => {
234
+ ne.value = 0, Q.value = 0, pe.value = 0;
246
235
  });
247
- const r = g(() => Math.min(_.value.height, _.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
236
+ const r = g(() => Math.min(S.value.height, S.value.width) / 1e3 * e.value.style.layout.cells.spacing), l = g(() => {
248
237
  let t = 0;
249
238
  e.value.style.legend.show && (t = e.value.style.legend.width);
250
- const a = e.value.style.layout.padding, o = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, d = _.value.height - a.top - a.bottom - ne.value - o, v = _.value.width / 60, x = {
251
- x: r.value * F.value,
239
+ const a = e.value.style.layout.padding, o = e.value.style.layout.dataLabels.xAxis.fontSize / 3, s = e.value.style.layout.dataLabels.xAxis.fontSize / 2, d = S.value.height - a.top - a.bottom - ne.value - o, v = S.value.width / 60, x = {
240
+ x: r.value * N.value,
252
241
  y: r.value * ((m.value || []).length + 1)
253
- }, N = _.value.width - a.left - a.right - x.x - v * 2 - 2 - t - J.value, y = d - v - x.y - ge.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
254
- width: Math.max(3, N / F.value),
242
+ }, D = S.value.width - a.left - a.right - x.x - v * 2 - 2 - t - Q.value, y = d - v - x.y - pe.value - s - e.value.style.layout.cells.columnTotal.value.offsetY, A = {
243
+ width: Math.max(3, D / N.value),
255
244
  height: Math.max(3, y / (m.value.length ?? 1))
256
245
  };
257
246
  return {
@@ -259,39 +248,39 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
259
248
  topLabelsHeight: ne.value,
260
249
  sumCellXHeight: v,
261
250
  height: y,
262
- left: a.left + J.value + v / 2,
251
+ left: a.left + Q.value + v / 2,
263
252
  right: a.right - t,
264
- bottom: _.value.height - a.bottom - ge.value,
265
- width: N,
253
+ bottom: S.value.height - a.bottom - pe.value,
254
+ width: D,
266
255
  cellSize: A
267
256
  };
268
- }), V = g(() => Math.max(...m.value.flatMap((t) => t.values))), re = g(() => Math.min(...m.value.flatMap((t) => t.values))), B = g(() => {
257
+ }), V = g(() => Math.max(...m.value.flatMap((t) => t.values))), re = g(() => Math.min(...m.value.flatMap((t) => t.values))), U = g(() => {
269
258
  const t = m.value.flatMap((o) => o.values);
270
259
  return t.reduce((o, s) => o + s, 0) / t.length;
271
- }), $t = g(() => pt({
260
+ }), Mt = g(() => gt({
272
261
  values: e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : m.value.map((t) => t.name),
273
262
  maxDatapoints: m.value.length,
274
263
  formatter: e.value.style.layout.dataLabels.yAxis.datetimeFormatter,
275
264
  start: 0,
276
265
  end: m.value.length
277
- })), Mt = g(() => pt({
266
+ })), Ot = g(() => gt({
278
267
  values: e.value.style.layout.dataLabels.xAxis.values,
279
- maxDatapoints: F.value,
268
+ maxDatapoints: N.value,
280
269
  formatter: e.value.style.layout.dataLabels.xAxis.datetimeFormatter,
281
270
  start: 0,
282
- end: F.value
283
- })), f = g(() => {
284
- const t = $t.value.map((y) => y.text), a = Mt.value.map((y) => y.text), o = m.value.map((y) => y.values.reduce((A, Oe) => A + Oe, 0)), s = Math.max(...o), d = Math.min(...o), v = [];
285
- for (let y = 0; y < F.value; y += 1)
286
- v.push(m.value.map((A) => A.values[y] || 0).reduce((A, Oe) => A + Oe, 0));
287
- const x = Math.max(...v), N = Math.min(...v);
271
+ end: N.value
272
+ })), p = g(() => {
273
+ const t = Mt.value.map((y) => y.text), a = Ot.value.map((y) => y.text), o = m.value.map((y) => y.values.reduce((A, Ne) => A + Ne, 0)), s = Math.max(...o), d = Math.min(...o), v = [];
274
+ for (let y = 0; y < N.value; y += 1)
275
+ v.push(m.value.map((A) => A.values[y] || 0).reduce((A, Ne) => A + Ne, 0));
276
+ const x = Math.max(...v), D = Math.min(...v);
288
277
  return {
289
278
  yTotals: o.map((y) => {
290
279
  const A = isNaN(y / s) ? 0 : y / s;
291
280
  return {
292
281
  total: y,
293
282
  proportion: A,
294
- color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, s, y)
283
+ color: de(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, s, y)
295
284
  };
296
285
  }),
297
286
  xTotals: v.map((y) => {
@@ -299,75 +288,75 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
299
288
  return {
300
289
  total: y,
301
290
  proportion: A,
302
- color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, N, x, y)
291
+ color: de(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, D, x, y)
303
292
  };
304
293
  }),
305
294
  yLabels: t,
306
- xLabels: a.slice(0, F.value)
295
+ xLabels: a.slice(0, N.value)
307
296
  };
308
- }), U = g(() => (m.value.forEach((t, a) => {
309
- el({
297
+ }), Y = g(() => (m.value.forEach((t, a) => {
298
+ al({
310
299
  datasetObject: t,
311
300
  requiredAttributes: ["values"]
312
301
  }).forEach((o) => {
313
- yt({
302
+ ft({
314
303
  componentName: "VueUiHeatmap",
315
304
  type: "datasetSerieAttribute",
316
305
  property: "values",
317
306
  index: a,
318
- debug: Qe.value
307
+ debug: et.value
319
308
  });
320
309
  });
321
310
  }), m.value.map((t, a) => ({
322
311
  ...t,
323
- temperatures: (t.values || []).map((o, s) => o >= B.value ? {
312
+ temperatures: (t.values || []).map((o, s) => o >= U.value ? {
324
313
  side: "up",
325
- color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, o),
326
- ratio: Math.abs(Math.abs(o - B.value) / Math.abs(V.value - B.value)) > 1 ? 1 : Math.abs(Math.abs(o - B.value) / Math.abs(V.value - B.value)),
314
+ color: de(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, o),
315
+ ratio: Math.abs(Math.abs(o - U.value) / Math.abs(V.value - U.value)) > 1 ? 1 : Math.abs(Math.abs(o - U.value) / Math.abs(V.value - U.value)),
327
316
  value: o,
328
- yAxisName: f.value.yLabels[a],
329
- xAxisName: f.value.xLabels[s],
330
- id: `vue-data-ui-heatmap-cell-${Xe()}`
317
+ yAxisName: p.value.yLabels[a],
318
+ xAxisName: p.value.xLabels[s],
319
+ id: `vue-data-ui-heatmap-cell-${Pe()}`
331
320
  } : {
332
321
  side: "down",
333
- ratio: Math.abs(1 - Math.abs(o) / Math.abs(B.value)) > 1 ? 1 : Math.abs(1 - Math.abs(o) / Math.abs(B.value)),
334
- color: ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, o),
322
+ ratio: Math.abs(1 - Math.abs(o) / Math.abs(U.value)) > 1 ? 1 : Math.abs(1 - Math.abs(o) / Math.abs(U.value)),
323
+ color: de(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, o),
335
324
  value: o,
336
- yAxisName: f.value.yLabels[a],
337
- xAxisName: f.value.xLabels[s],
338
- id: `vue-data-ui-heatmap-cell-${Xe()}`
325
+ yAxisName: p.value.yLabels[a],
326
+ xAxisName: p.value.xLabels[s],
327
+ id: `vue-data-ui-heatmap-cell-${Pe()}`
339
328
  })
340
- })))), Ze = g(() => m.value.length), et = rt(Array(Ze.value * F.value || 1).fill(!1)), Ot = g(() => et.some((t) => t));
341
- function Rt(t, a) {
342
- et[t] = a;
329
+ })))), tt = g(() => m.value.length), lt = vt(Array(tt.value * N.value || 1).fill(!1)), Rt = g(() => lt.some((t) => t));
330
+ function Ft(t, a) {
331
+ lt[t] = a;
343
332
  }
344
- const tt = rt(Array(Ze.value * F.value || 1).fill(!1)), Ft = g(() => tt.some((t) => t));
345
- function Nt(t, a) {
346
- tt[t] = a;
333
+ const at = vt(Array(tt.value * N.value || 1).fill(!1)), Nt = g(() => at.some((t) => t));
334
+ function Dt(t, a) {
335
+ at[t] = a;
347
336
  }
348
- const M = c(null), be = c(null);
337
+ const R = c(null), ge = c(null);
349
338
  function Ht(t, a, o, s) {
350
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), se.value = { x: o, y: s };
351
- const { value: d, yAxisName: v, xAxisName: x, id: N } = t;
352
- oe.value = N, M.value = d, be.value = {
339
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), oe.value = { x: o, y: s };
340
+ const { value: d, yAxisName: v, xAxisName: x, id: D } = t;
341
+ Xe.value = D, R.value = d, ge.value = {
353
342
  datapoint: t,
354
343
  seriesIndex: a,
355
- series: U.value,
344
+ series: Y.value,
356
345
  config: e.value
357
- }, ae.value = !0;
346
+ }, q.value = !0;
358
347
  let y = "";
359
348
  const A = e.value.style.tooltip.customFormat;
360
- ol(A) && sl(() => A({
349
+ il(A) && nl(() => A({
361
350
  datapoint: t,
362
351
  seriesIndex: a,
363
- series: U.value,
352
+ series: Y.value,
364
353
  config: e.value
365
- })) ? j.value = A({
354
+ })) ? K.value = A({
366
355
  datapoint: t,
367
356
  seriesIndex: a,
368
- series: U.value,
357
+ series: Y.value,
369
358
  config: e.value
370
- }) : (y += `<div>${v} ${x ? v ? ` - ${x}` : `${x}` : ""}</div>`, y += `<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:${ye(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, d)}">⬤</span><span>${isNaN(d) ? "-" : E(
359
+ }) : (y += `<div>${v} ${x ? v ? ` - ${x}` : `${x}` : ""}</div>`, y += `<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:${de(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, re.value, V.value, d)}">⬤</span><span>${isNaN(d) ? "-" : B(
371
360
  e.value.style.layout.cells.value.formatter,
372
361
  d,
373
362
  H({
@@ -377,35 +366,35 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
377
366
  r: e.value.style.tooltip.roundingValue
378
367
  }),
379
368
  { datapoint: t, seriesIndex: a }
380
- )}</span></div>`, j.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${y}</div>`);
369
+ )}</span></div>`, K.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${y}</div>`);
381
370
  }
382
- function Xt({ datapoint: t, seriesIndex: a }) {
383
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), ae.value = !1, oe.value = void 0, M.value = null, se.value = null;
371
+ function Pt({ datapoint: t, seriesIndex: a }) {
372
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }), q.value = !1, Xe.value = void 0, R.value = null, oe.value = null;
384
373
  }
385
- function Pt(t) {
386
- return E(
374
+ function Xt(t) {
375
+ return B(
387
376
  e.value.style.layout.cells.value.formatter,
388
- f.value.yTotals[t].total,
377
+ p.value.yTotals[t].total,
389
378
  H({
390
379
  p: e.value.style.layout.dataLabels.prefix,
391
- v: f.value.yTotals[t].total,
380
+ v: p.value.yTotals[t].total,
392
381
  s: e.value.style.layout.dataLabels.suffix,
393
382
  r: e.value.style.layout.cells.value.roundingValue
394
383
  }),
395
- { datapoint: f.value.yTotals[t], rowIndex: t }
384
+ { datapoint: p.value.yTotals[t], rowIndex: t }
396
385
  );
397
386
  }
398
387
  function It(t) {
399
- return E(
388
+ return B(
400
389
  e.value.style.layout.cells.value.formatter,
401
- f.value.xTotals[t].total,
390
+ p.value.xTotals[t].total,
402
391
  H({
403
392
  p: e.value.style.layout.dataLabels.prefix,
404
- v: f.value.xTotals[t].total,
393
+ v: p.value.xTotals[t].total,
405
394
  s: e.value.style.layout.dataLabels.suffix,
406
395
  r: e.value.style.layout.cells.value.roundingValue
407
396
  }),
408
- { datapoint: f.value.xTotals[t], colIndex: t }
397
+ { datapoint: p.value.xTotals[t], colIndex: t }
409
398
  );
410
399
  }
411
400
  g(() => {
@@ -414,42 +403,42 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
414
403
  })), a = m.value.map((o) => o.values);
415
404
  return { head: t, body: a };
416
405
  });
417
- function lt(t = null) {
418
- qt(() => {
406
+ function Re(t = null) {
407
+ ct(() => {
419
408
  const a = ["", ...m.value.map((v, x) => v.name)], o = [];
420
- for (let v = 0; v < f.value.xLabels.length; v += 1) {
421
- const x = [f.value.xLabels[v]];
422
- for (let N = 0; N < m.value.length; N += 1)
423
- x.push([m.value[N].values[v]]);
409
+ for (let v = 0; v < p.value.xLabels.length; v += 1) {
410
+ const x = [p.value.xLabels[v]];
411
+ for (let D = 0; D < m.value.length; D += 1)
412
+ x.push([m.value[D].values[v]]);
424
413
  o.push(x);
425
414
  }
426
- const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(o), d = ll(s);
427
- t ? t(d) : al({ csvContent: d, title: e.value.style.title.text || "vue-ui-heatmap" });
415
+ const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(o), d = sl(s);
416
+ t ? t(d) : ul({ csvContent: d, title: e.value.style.title.text || "vue-ui-heatmap" });
428
417
  });
429
418
  }
430
- const Q = c(!1);
431
- function at(t) {
432
- Q.value = t, Pe.value += 1;
433
- }
434
- function ot() {
435
- S.value.showTable = !S.value.showTable;
419
+ const G = c(!1);
420
+ function ot(t) {
421
+ G.value = t, Ie.value += 1;
436
422
  }
437
423
  function st() {
438
- S.value.showTooltip = !S.value.showTooltip;
424
+ L.value.showTable = !L.value.showTable;
439
425
  }
440
- const me = c(!1);
441
- function Me() {
442
- me.value = !me.value;
426
+ function ut() {
427
+ L.value.showTooltip = !L.value.showTooltip;
428
+ }
429
+ const be = c(!1);
430
+ function Fe() {
431
+ be.value = !be.value;
443
432
  }
444
433
  function Vt(t, a) {
445
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), le("selectDatapoint", t);
434
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), he("selectDatapoint", t);
446
435
  }
447
- function Et() {
448
- return U.value;
436
+ function Bt() {
437
+ return Y.value;
449
438
  }
450
- async function Dt({ scale: t = 2 } = {}) {
451
- if (!w.value) return;
452
- const { width: a, height: o } = w.value.getBoundingClientRect(), s = a / o, { imageUri: d, base64: v } = await cl({ domElement: w.value, base64: !0, img: !0, scale: t });
439
+ async function Et({ scale: t = 2 } = {}) {
440
+ if (!O.value) return;
441
+ const { width: a, height: o } = O.value.getBoundingClientRect(), s = a / o, { imageUri: d, base64: v } = await pl({ domElement: O.value, base64: !0, img: !0, scale: t });
453
442
  return {
454
443
  imageUri: d,
455
444
  base64: v,
@@ -459,14 +448,14 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
459
448
  aspectRatio: s
460
449
  };
461
450
  }
462
- const ut = g(() => ({
451
+ const it = g(() => ({
463
452
  start: 0,
464
- end: F.value
465
- })), it = g(() => f.value.xLabels);
466
- return ft({
467
- timeLabelsEls: Ce,
468
- timeLabels: it,
469
- slicer: ut,
453
+ end: N.value
454
+ })), nt = g(() => p.value.xLabels);
455
+ bt({
456
+ timeLabelsEls: _e,
457
+ timeLabels: nt,
458
+ slicer: it,
470
459
  configRef: e,
471
460
  rotationPath: ["style", "layout", "dataLabels", "xAxis", "rotation"],
472
461
  autoRotatePath: ["style", "layout", "dataLabels", "xAxis", "autoRotate", "enable"],
@@ -475,10 +464,10 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
475
464
  rotation: e.value.style.layout.dataLabels.xAxis.autoRotate.angle,
476
465
  width: ue,
477
466
  height: ie
478
- }), ft({
479
- timeLabelsEls: Te,
480
- timeLabels: it,
481
- slicer: ut,
467
+ }), bt({
468
+ timeLabelsEls: Se,
469
+ timeLabels: nt,
470
+ slicer: it,
482
471
  configRef: e,
483
472
  rotationPath: ["style", "layout", "cells", "columnTotal", "value", "rotation"],
484
473
  autoRotatePath: ["style", "layout", "cells", "columnTotal", "value", "autoRotate", "enable"],
@@ -487,48 +476,83 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
487
476
  rotation: e.value.style.layout.cells.columnTotal.value.autoRotate.angle,
488
477
  width: ue,
489
478
  height: ie
490
- }), X({
491
- getData: Et,
492
- getImage: Dt,
493
- generatePdf: Ke,
494
- generateCsv: lt,
495
- generateImage: Je,
496
- toggleTable: ot,
497
- toggleTooltip: st,
498
- toggleAnnotator: Me,
499
- toggleFullscreen: at
479
+ });
480
+ const me = g(() => {
481
+ const t = e.value.table.useDialog && !e.value.table.show, a = L.value.showTable;
482
+ return {
483
+ component: t ? Ce : bl,
484
+ title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? `: ${e.value.style.title.subtitle.text}` : ""}`,
485
+ props: t ? {
486
+ backgroundColor: e.value.table.th.backgroundColor,
487
+ color: e.value.table.th.color,
488
+ headerColor: e.value.table.th.color,
489
+ headerBg: e.value.table.th.backgroundColor,
490
+ isFullscreen: G.value,
491
+ fullscreenParent: O.value,
492
+ forcedWidth: Math.min(800, window.innerWidth * 0.8)
493
+ } : {
494
+ hideDetails: !0,
495
+ config: {
496
+ open: a,
497
+ maxHeight: 1e4,
498
+ body: {
499
+ backgroundColor: e.value.style.backgroundColor,
500
+ color: e.value.style.color
501
+ },
502
+ head: {
503
+ backgroundColor: e.value.style.backgroundColor,
504
+ color: e.value.style.color
505
+ }
506
+ }
507
+ }
508
+ };
509
+ });
510
+ xe(() => L.value.showTable, async (t) => {
511
+ e.value.table.show || (t && e.value.table.useDialog && se.value ? (await ct(), se.value.open()) : "close" in se.value && se.value.close());
512
+ });
513
+ const { isResponsive: Ut } = yl(Ve, _t);
514
+ return P({
515
+ getData: Bt,
516
+ getImage: Et,
517
+ generatePdf: Qe,
518
+ generateCsv: Re,
519
+ generateImage: Ze,
520
+ toggleTable: st,
521
+ toggleTooltip: ut,
522
+ toggleAnnotator: Fe,
523
+ toggleFullscreen: ot
500
524
  }), (t, a) => (u(), n("div", {
501
525
  ref_key: "heatmapChart",
502
- ref: w,
503
- class: ce(`vue-ui-heatmap ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
504
- style: k(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
505
- id: `heatmap__${W.value}`,
506
- onMouseenter: a[2] || (a[2] = () => We(!0)),
507
- onMouseleave: a[3] || (a[3] = () => We(!1))
526
+ ref: O,
527
+ class: ve(`vue-ui-heatmap ${G.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
528
+ style: w(`font-family:${e.value.style.fontFamily};width:100%;${e.value.responsive ? "height: 100%;" : ""} text-align:center;background:${e.value.style.backgroundColor}`),
529
+ id: `heatmap__${M.value}`,
530
+ onMouseenter: a[4] || (a[4] = () => qe(!0)),
531
+ onMouseleave: a[5] || (a[5] = () => qe(!1))
508
532
  }, [
509
- e.value.userOptions.buttons.annotator ? (u(), de(i($), {
533
+ e.value.userOptions.buttons.annotator ? (u(), ce(i(z), {
510
534
  key: 0,
511
- svgRef: i(Ge),
535
+ svgRef: i(je),
512
536
  backgroundColor: e.value.style.backgroundColor,
513
537
  color: e.value.style.color,
514
- active: me.value,
515
- onClose: Me
516
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
517
- Lt.value ? (u(), n("div", {
538
+ active: be.value,
539
+ onClose: Fe
540
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
541
+ Tt.value ? (u(), n("div", {
518
542
  key: 1,
519
543
  ref_key: "noTitle",
520
- ref: De,
544
+ ref: Ue,
521
545
  class: "vue-data-ui-no-title-space",
522
546
  style: "height:36px; width: 100%;background:transparent"
523
- }, null, 512)) : p("", !0),
547
+ }, null, 512)) : h("", !0),
524
548
  e.value.style.title.text ? (u(), n("div", {
525
549
  key: 2,
526
550
  ref_key: "chartTitle",
527
551
  ref: Ee,
528
552
  style: "width:100%;background:transparent"
529
553
  }, [
530
- (u(), de(vl, {
531
- key: `title_${Ve.value}`,
554
+ (u(), ce(gl, {
555
+ key: `title_${Be.value}`,
532
556
  config: {
533
557
  title: {
534
558
  cy: "heatmap-div-title",
@@ -540,118 +564,118 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
540
564
  }
541
565
  }
542
566
  }, null, 8, ["config"]))
543
- ], 512)) : p("", !0),
544
- e.value.userOptions.show && G.value && (i(Ye) || i(ze)) ? (u(), de(i(P), {
567
+ ], 512)) : h("", !0),
568
+ e.value.userOptions.show && j.value && (i(We) || i(ze)) ? (u(), ce(i(ae), {
545
569
  ref_key: "details",
546
- ref: Ae,
547
- key: `user_options_${Pe.value}`,
570
+ ref: Te,
571
+ key: `user_options_${Ie.value}`,
548
572
  backgroundColor: e.value.style.backgroundColor,
549
573
  color: e.value.style.color,
550
- isImaging: i(qe),
551
- isPrinting: i(je),
552
- uid: W.value,
574
+ isImaging: i(Je),
575
+ isPrinting: i(Ke),
576
+ uid: M.value,
553
577
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
554
578
  hasPdf: e.value.userOptions.buttons.pdf,
555
579
  hasImg: e.value.userOptions.buttons.img,
556
580
  hasXls: e.value.userOptions.buttons.csv,
557
581
  hasTable: e.value.userOptions.buttons.table,
558
582
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
559
- isFullscreen: Q.value,
560
- isTooltip: S.value.showTooltip,
583
+ isFullscreen: G.value,
584
+ isTooltip: L.value.showTooltip,
561
585
  titles: { ...e.value.userOptions.buttonTitles },
562
- chartElement: w.value,
586
+ chartElement: O.value,
563
587
  position: e.value.userOptions.position,
564
588
  hasAnnotator: e.value.userOptions.buttons.annotator,
565
- isAnnotation: me.value,
589
+ isAnnotation: be.value,
566
590
  callbacks: e.value.userOptions.callbacks,
567
591
  printScale: e.value.userOptions.print.scale,
568
- onToggleFullscreen: at,
569
- onGeneratePdf: i(Ke),
570
- onGenerateCsv: lt,
571
- onGenerateImage: i(Je),
572
- onToggleTable: ot,
573
- onToggleTooltip: st,
574
- onToggleAnnotator: Me,
575
- style: k({
576
- visibility: i(Ye) ? i(ze) ? "visible" : "hidden" : "visible"
592
+ onToggleFullscreen: ot,
593
+ onGeneratePdf: i(Qe),
594
+ onGenerateCsv: Re,
595
+ onGenerateImage: i(Ze),
596
+ onToggleTable: st,
597
+ onToggleTooltip: ut,
598
+ onToggleAnnotator: Fe,
599
+ style: w({
600
+ visibility: i(We) ? i(ze) ? "visible" : "hidden" : "visible"
577
601
  })
578
- }, Gt({ _: 2 }, [
602
+ }, dt({ _: 2 }, [
579
603
  t.$slots.menuIcon ? {
580
604
  name: "menuIcon",
581
- fn: O(({ isOpen: o, color: s }) => [
582
- T(t.$slots, "menuIcon", Z(ee({ isOpen: o, color: s })), void 0, !0)
605
+ fn: $(({ isOpen: o, color: s }) => [
606
+ T(t.$slots, "menuIcon", ee(te({ isOpen: o, color: s })), void 0, !0)
583
607
  ]),
584
608
  key: "0"
585
609
  } : void 0,
586
610
  t.$slots.optionTooltip ? {
587
611
  name: "optionTooltip",
588
- fn: O(() => [
612
+ fn: $(() => [
589
613
  T(t.$slots, "optionTooltip", {}, void 0, !0)
590
614
  ]),
591
615
  key: "1"
592
616
  } : void 0,
593
617
  t.$slots.optionPdf ? {
594
618
  name: "optionPdf",
595
- fn: O(() => [
619
+ fn: $(() => [
596
620
  T(t.$slots, "optionPdf", {}, void 0, !0)
597
621
  ]),
598
622
  key: "2"
599
623
  } : void 0,
600
624
  t.$slots.optionCsv ? {
601
625
  name: "optionCsv",
602
- fn: O(() => [
626
+ fn: $(() => [
603
627
  T(t.$slots, "optionCsv", {}, void 0, !0)
604
628
  ]),
605
629
  key: "3"
606
630
  } : void 0,
607
631
  t.$slots.optionImg ? {
608
632
  name: "optionImg",
609
- fn: O(() => [
633
+ fn: $(() => [
610
634
  T(t.$slots, "optionImg", {}, void 0, !0)
611
635
  ]),
612
636
  key: "4"
613
637
  } : void 0,
614
638
  t.$slots.optionTable ? {
615
639
  name: "optionTable",
616
- fn: O(() => [
640
+ fn: $(() => [
617
641
  T(t.$slots, "optionTable", {}, void 0, !0)
618
642
  ]),
619
643
  key: "5"
620
644
  } : void 0,
621
645
  t.$slots.optionFullscreen ? {
622
646
  name: "optionFullscreen",
623
- fn: O(({ toggleFullscreen: o, isFullscreen: s }) => [
624
- T(t.$slots, "optionFullscreen", Z(ee({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
647
+ fn: $(({ toggleFullscreen: o, isFullscreen: s }) => [
648
+ T(t.$slots, "optionFullscreen", ee(te({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
625
649
  ]),
626
650
  key: "6"
627
651
  } : void 0,
628
652
  t.$slots.optionAnnotator ? {
629
653
  name: "optionAnnotator",
630
- fn: O(({ toggleAnnotator: o, isAnnotator: s }) => [
631
- T(t.$slots, "optionAnnotator", Z(ee({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
654
+ fn: $(({ toggleAnnotator: o, isAnnotator: s }) => [
655
+ T(t.$slots, "optionAnnotator", ee(te({ toggleAnnotator: o, isAnnotator: s })), void 0, !0)
632
656
  ]),
633
657
  key: "7"
634
658
  } : void 0
635
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
636
- h("div", {
637
- class: ce({
659
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
660
+ f("div", {
661
+ class: ve({
638
662
  "vue-ui-heatmap-chart-wrapper": !0,
639
663
  "vue-ui-heatmap-chart-wrapper-legend-right": e.value.style.legend.show
640
664
  })
641
665
  }, [
642
666
  (u(), n("svg", {
643
667
  ref_key: "svgRef",
644
- ref: Ge,
645
- xmlns: i(tl),
646
- class: ce({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
647
- viewBox: `0 0 ${_.value.width} ${_.value.height}`,
668
+ ref: je,
669
+ xmlns: i(ol),
670
+ class: ve({ "vue-data-ui-fullscreen--on": G.value, "vue-data-ui-fulscreen--off": !G.value }),
671
+ viewBox: `0 0 ${S.value.width} ${S.value.height}`,
648
672
  width: "100%",
649
- style: k(`overflow: visible; background:transparent;color:${e.value.style.color}`),
673
+ style: w(`overflow: visible; background:transparent;color:${e.value.style.color}`),
650
674
  "aria-live": "polite",
651
675
  role: "img",
652
676
  preserveAspectRatio: "xMidYMid"
653
677
  }, [
654
- He(i(fe)),
678
+ we(i(X)),
655
679
  t.$slots["chart-background"] ? (u(), n("foreignObject", {
656
680
  key: 0,
657
681
  x: l.value.left,
@@ -663,38 +687,38 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
663
687
  }
664
688
  }, [
665
689
  T(t.$slots, "chart-background", {}, void 0, !0)
666
- ], 8, ml)) : p("", !0),
690
+ ], 8, Al)) : h("", !0),
667
691
  e.value.style.layout.cells.columnTotal.color.show ? (u(), n("g", {
668
692
  key: 1,
669
693
  ref_key: "xAxisSumRects",
670
- ref: wt
694
+ ref: At
671
695
  }, [
672
- (u(!0), n(L, null, R(f.value.xTotals, (o, s) => (u(), n("rect", {
696
+ (u(!0), n(C, null, F(p.value.xTotals, (o, s) => (u(), n("rect", {
673
697
  x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
674
- y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
698
+ y: l.value.top - l.value.sumCellXHeight + r.value * (S.value.height / S.value.width),
675
699
  height: l.value.sumCellXHeight,
676
700
  width: l.value.cellSize.width - r.value,
677
701
  fill: e.value.style.layout.cells.colors.underlayer,
678
702
  stroke: e.value.style.backgroundColor,
679
703
  "stroke-width": r.value
680
- }, null, 8, xl))), 256)),
681
- (u(!0), n(L, null, R(f.value.xTotals, (o, s) => (u(), n("rect", {
704
+ }, null, 8, Cl))), 256)),
705
+ (u(!0), n(C, null, F(p.value.xTotals, (o, s) => (u(), n("rect", {
682
706
  x: l.value.left + l.value.cellSize.width * s + r.value / 2 + l.value.sumCellXHeight,
683
- y: l.value.top - l.value.sumCellXHeight + r.value * (_.value.height / _.value.width),
707
+ y: l.value.top - l.value.sumCellXHeight + r.value * (S.value.height / S.value.width),
684
708
  height: l.value.sumCellXHeight,
685
709
  width: l.value.cellSize.width - r.value,
686
710
  fill: o.color,
687
711
  stroke: e.value.style.backgroundColor,
688
712
  "stroke-width": r.value
689
- }, null, 8, wl))), 256))
690
- ], 512)) : p("", !0),
691
- h("g", {
713
+ }, null, 8, Ll))), 256))
714
+ ], 512)) : h("", !0),
715
+ f("g", {
692
716
  ref_key: "datapoints",
693
- ref: bt
717
+ ref: xt
694
718
  }, [
695
- (u(!0), n(L, null, R(U.value, (o, s) => (u(), n(L, null, [
696
- (u(!0), n(L, null, R(o.temperatures, (d, v) => (u(), n("g", null, [
697
- h("rect", {
719
+ (u(!0), n(C, null, F(Y.value, (o, s) => (u(), n(C, null, [
720
+ (u(!0), n(C, null, F(o.temperatures, (d, v) => (u(), n("g", null, [
721
+ f("rect", {
698
722
  x: l.value.left + l.value.cellSize.width * v + r.value / 2 + l.value.sumCellXHeight,
699
723
  y: l.value.top + l.value.cellSize.height * s + r.value / 2,
700
724
  width: l.value.cellSize.width - r.value,
@@ -702,8 +726,8 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
702
726
  fill: e.value.style.layout.cells.colors.underlayer,
703
727
  stroke: e.value.style.backgroundColor,
704
728
  "stroke-width": r.value
705
- }, null, 8, kl),
706
- h("rect", {
729
+ }, null, 8, Tl),
730
+ f("rect", {
707
731
  x: l.value.left + l.value.cellSize.width * v + r.value / 2 + l.value.sumCellXHeight,
708
732
  y: l.value.top + l.value.cellSize.height * s + r.value / 2,
709
733
  width: l.value.cellSize.width - r.value,
@@ -712,20 +736,20 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
712
736
  stroke: e.value.style.backgroundColor,
713
737
  "stroke-width": r.value,
714
738
  onMouseover: (x) => Ht(d, s, l.value.left + l.value.cellSize.width * v, l.value.top + l.value.cellSize.height * s),
715
- onMouseout: () => Xt({ datapoint: d, seriesIndex: s }),
739
+ onMouseout: () => Pt({ datapoint: d, seriesIndex: s }),
716
740
  onClick: () => Vt(d, s)
717
- }, null, 40, Al),
718
- e.value.style.layout.cells.value.show ? vt((u(), n("text", {
741
+ }, null, 40, _l),
742
+ e.value.style.layout.cells.value.show ? yt((u(), n("text", {
719
743
  key: 0,
720
744
  "text-anchor": "middle",
721
745
  "font-size": e.value.style.layout.cells.value.fontSize,
722
746
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
723
- fill: i(xe)(d.color),
747
+ fill: i(ke)(d.color),
724
748
  x: l.value.left + l.value.cellSize.width * v + l.value.cellSize.width / 2 + l.value.sumCellXHeight,
725
749
  y: l.value.top + l.value.cellSize.height * s + l.value.cellSize.height / 2 + e.value.style.layout.cells.value.fontSize / 3,
726
750
  style: { pointerEvents: "none", userSelect: "none" }
727
751
  }, [
728
- ct(z(i(E)(
752
+ He(_(i(B)(
729
753
  e.value.style.layout.cells.value.formatter,
730
754
  d.value,
731
755
  i(H)({
@@ -736,29 +760,29 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
736
760
  }),
737
761
  { datapoint: d }
738
762
  )), 1)
739
- ], 8, Ll)), [
740
- [i(pl), {
763
+ ], 8, Sl)), [
764
+ [i(xl), {
741
765
  cellWidth: l.value.cellSize.width - r.value,
742
766
  cellHeight: l.value.cellSize.height - r.value,
743
767
  maxFontSize: e.value.style.layout.cells.value.fontSize,
744
768
  minFontSize: 10,
745
- index: s * F.value + v,
746
- reportHide: Nt,
747
- reportRotation: Rt,
748
- hideAll: Ft.value,
749
- rotateAll: Ot.value
769
+ index: s * N.value + v,
770
+ reportHide: Dt,
771
+ reportRotation: Ft,
772
+ hideAll: Nt.value,
773
+ rotateAll: Rt.value
750
774
  }]
751
- ]) : p("", !0)
775
+ ]) : h("", !0)
752
776
  ]))), 256))
753
777
  ], 64))), 256))
754
778
  ], 512),
755
779
  e.value.style.layout.cells.rowTotal.color.show ? (u(), n("g", {
756
780
  key: 2,
757
781
  ref_key: "yAxisSumRects",
758
- ref: xt
782
+ ref: kt
759
783
  }, [
760
- (u(!0), n(L, null, R(U.value, (o, s) => (u(), n(L, null, [
761
- h("rect", {
784
+ (u(!0), n(C, null, F(Y.value, (o, s) => (u(), n(C, null, [
785
+ f("rect", {
762
786
  x: l.value.left,
763
787
  y: l.value.top + l.value.cellSize.height * s,
764
788
  width: l.value.sumCellXHeight,
@@ -766,51 +790,51 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
766
790
  fill: e.value.style.layout.cells.colors.underlayer,
767
791
  stroke: e.value.style.backgroundColor,
768
792
  "stroke-width": r.value
769
- }, null, 8, Cl),
770
- h("rect", {
793
+ }, null, 8, $l),
794
+ f("rect", {
771
795
  x: l.value.left,
772
796
  y: l.value.top + l.value.cellSize.height * s + r.value / 2,
773
797
  width: l.value.sumCellXHeight,
774
798
  height: l.value.cellSize.height - r.value,
775
- fill: f.value.yTotals[s].color,
799
+ fill: p.value.yTotals[s].color,
776
800
  stroke: e.value.style.backgroundColor,
777
801
  "stroke-width": r.value
778
- }, null, 8, Tl)
802
+ }, null, 8, zl)
779
803
  ], 64))), 256))
780
- ], 512)) : p("", !0),
804
+ ], 512)) : h("", !0),
781
805
  e.value.style.layout.dataLabels.yAxis.show ? (u(), n("g", {
782
806
  key: 3,
783
807
  ref_key: "yAxisLabels",
784
- ref: Be
808
+ ref: Ye
785
809
  }, [
786
- (u(!0), n(L, null, R(U.value, (o, s) => (u(), n(L, null, [
787
- h("text", {
810
+ (u(!0), n(C, null, F(Y.value, (o, s) => (u(), n(C, null, [
811
+ f("text", {
788
812
  class: "vue-ui-heatmap-row-name",
789
813
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
790
814
  fill: e.value.style.layout.dataLabels.yAxis.color,
791
- x: J.value,
815
+ x: Q.value,
792
816
  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),
793
817
  "text-anchor": "end",
794
818
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
795
- }, z(f.value.yLabels[s]), 9, _l),
819
+ }, _(p.value.yLabels[s]), 9, Ml),
796
820
  e.value.style.layout.cells.rowTotal.value.show ? (u(), n("text", {
797
821
  key: 0,
798
822
  class: "vue-ui-heatmap-row-total",
799
823
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
800
824
  fill: e.value.style.layout.dataLabels.yAxis.color,
801
- x: J.value,
825
+ x: Q.value,
802
826
  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,
803
827
  "text-anchor": "end",
804
828
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
805
- }, z(Pt(s)), 9, zl)) : p("", !0)
829
+ }, _(Xt(s)), 9, Ol)) : h("", !0)
806
830
  ], 64))), 256))
807
- ], 512)) : p("", !0),
831
+ ], 512)) : h("", !0),
808
832
  e.value.style.layout.dataLabels.xAxis.show ? (u(), n("g", {
809
833
  key: 4,
810
834
  ref_key: "xAxisLabels",
811
- ref: Ce
835
+ ref: _e
812
836
  }, [
813
- (u(!0), n(L, null, R(f.value.xLabels, (o, s) => (u(), n(L, null, [
837
+ (u(!0), n(C, null, F(p.value.xLabels, (o, s) => (u(), n(C, null, [
814
838
  !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", {
815
839
  key: 0,
816
840
  class: "vue-ui-heatmap-col-name",
@@ -818,145 +842,145 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
818
842
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
819
843
  fill: e.value.style.layout.dataLabels.xAxis.color,
820
844
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
821
- transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / f.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})`
822
- }, z(o), 9, Sl)) : p("", !0)
845
+ 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})`
846
+ }, _(o), 9, Rl)) : h("", !0)
823
847
  ], 64))), 256))
824
- ], 512)) : p("", !0),
848
+ ], 512)) : h("", !0),
825
849
  e.value.style.layout.cells.columnTotal.value.show ? (u(), n("g", {
826
850
  key: 5,
827
851
  ref_key: "xAxisSums",
828
- ref: Te
852
+ ref: Se
829
853
  }, [
830
- (u(!0), n(L, null, R(f.value.xLabels, (o, s) => (u(), n("text", {
854
+ (u(!0), n(C, null, F(p.value.xLabels, (o, s) => (u(), n("text", {
831
855
  class: "vue-ui-heatmap-col-total",
832
856
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
833
857
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
834
858
  fill: e.value.style.layout.dataLabels.xAxis.color,
835
859
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
836
- transform: `translate(${l.value.left + l.value.cellSize.width / 2 + l.value.width / f.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})`
837
- }, z(It(s)), 9, $l))), 256))
838
- ], 512)) : p("", !0),
839
- se.value ? (u(), n("g", Ml, [
840
- h("rect", {
860
+ 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})`
861
+ }, _(It(s)), 9, Fl))), 256))
862
+ ], 512)) : h("", !0),
863
+ oe.value ? (u(), n("g", Nl, [
864
+ f("rect", {
841
865
  style: { "pointer-events": "none" },
842
- x: se.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
843
- y: se.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
866
+ x: oe.value.x - e.value.style.layout.cells.selected.border / 2 + r.value + l.value.sumCellXHeight,
867
+ y: oe.value.y - e.value.style.layout.cells.selected.border / 2 + r.value,
844
868
  width: l.value.cellSize.width - r.value + e.value.style.layout.cells.selected.border - r.value,
845
869
  height: l.value.cellSize.height - r.value + e.value.style.layout.cells.selected.border - r.value,
846
870
  fill: "transparent",
847
871
  stroke: e.value.style.layout.cells.selected.color,
848
872
  "stroke-width": e.value.style.layout.cells.selected.border,
849
873
  rx: 1
850
- }, null, 8, Ol)
851
- ])) : p("", !0),
852
- T(t.$slots, "svg", { svg: _.value }, void 0, !0)
853
- ], 14, bl)),
874
+ }, null, 8, Dl)
875
+ ])) : h("", !0),
876
+ T(t.$slots, "svg", { svg: S.value }, void 0, !0)
877
+ ], 14, kl)),
854
878
  e.value.style.legend.show ? (u(), n("div", {
855
879
  key: 0,
856
880
  ref_key: "legendRight",
857
- ref: mt,
881
+ ref: wt,
858
882
  class: "vue-ui-heatmap-legend-right",
859
- style: k({
883
+ style: w({
860
884
  "--legend-width": e.value.style.legend.width + "px"
861
885
  })
862
886
  }, [
863
- i(pe) ? p("", !0) : (u(), n("div", {
887
+ i(fe) ? h("", !0) : (u(), n("div", {
864
888
  key: 0,
865
889
  class: "vue-ui-heatmap-legend-label-max",
866
- style: k({
890
+ style: w({
867
891
  fontSize: e.value.style.legend.fontSize + "px",
868
892
  color: e.value.style.legend.color
869
893
  })
870
- }, z(i(E)(
894
+ }, _(i(B)(
871
895
  e.value.style.layout.cells.value.formatter,
872
- i(D)(V.value),
896
+ i(E)(V.value),
873
897
  i(H)({
874
898
  p: e.value.style.layout.dataLabels.prefix,
875
- v: i(D)(V.value),
899
+ v: i(E)(V.value),
876
900
  s: e.value.style.layout.dataLabels.suffix,
877
901
  r: e.value.style.legend.roundingValue
878
902
  })
879
903
  )), 5)),
880
- h("div", Rl, [
881
- h("div", {
904
+ f("div", Hl, [
905
+ f("div", {
882
906
  class: "vue-ui-heatmap-gauge",
883
- style: k({
907
+ style: w({
884
908
  background: `linear-gradient(to bottom, ${e.value.style.layout.cells.colors.hot}, ${e.value.style.layout.cells.colors.cold})`
885
909
  })
886
910
  }, [
887
- vt(h("div", {
911
+ yt(f("div", {
888
912
  class: "vue-ui-heatmap-gauge-indicator",
889
- "data-value": i(E)(
913
+ "data-value": i(B)(
890
914
  e.value.style.layout.cells.value.formatter,
891
- i(D)(M.value),
915
+ i(E)(R.value),
892
916
  i(H)({
893
917
  p: e.value.style.layout.dataLabels.prefix,
894
- v: i(D)(M.value),
918
+ v: i(E)(R.value),
895
919
  s: e.value.style.layout.dataLabels.suffix,
896
920
  r: e.value.style.legend.roundingValue
897
921
  })
898
922
  ),
899
- style: k({
923
+ style: w({
900
924
  position: "absolute",
901
925
  width: "100%",
902
926
  height: "2px",
903
- background: [void 0, null].includes(M.value) ? "transparent" : i(xe)(be.value.datapoint.color),
904
- top: `${[void 0, null].includes(M.value) ? 0 : (1 - M.value / V.value) * 100}%`,
927
+ background: [void 0, null].includes(R.value) ? "transparent" : i(ke)(ge.value.datapoint.color),
928
+ top: `${[void 0, null].includes(R.value) ? 0 : (1 - R.value / V.value) * 100}%`,
905
929
  transition: "all 0.2s ease-in-out",
906
930
  "--background-color": e.value.style.backgroundColor,
907
- "--gauge-arrow-color": i(xe)(e.value.style.backgroundColor),
908
- "--gauge-arrow-text-color": i(xe)(e.value.style.backgroundColor),
909
- "--gauge-arrow-value": M.value,
931
+ "--gauge-arrow-color": i(ke)(e.value.style.backgroundColor),
932
+ "--gauge-arrow-text-color": i(ke)(e.value.style.backgroundColor),
933
+ "--gauge-arrow-value": R.value,
910
934
  "--gauge-arrow-font-size": e.value.style.legend.fontSize + "px"
911
935
  })
912
936
  }, [
913
- h("div", Nl, z(i(E)(
937
+ f("div", Xl, _(i(B)(
914
938
  e.value.style.layout.cells.value.formatter,
915
- i(D)(M.value),
939
+ i(E)(R.value),
916
940
  i(H)({
917
941
  p: e.value.style.layout.dataLabels.prefix,
918
- v: i(D)(M.value),
942
+ v: i(E)(R.value),
919
943
  s: e.value.style.layout.dataLabels.suffix,
920
944
  r: e.value.style.legend.roundingValue
921
945
  })
922
946
  )), 1)
923
- ], 12, Fl), [
924
- [Wt, ![void 0, null].includes(M.value)]
947
+ ], 12, Pl), [
948
+ [qt, ![void 0, null].includes(R.value)]
925
949
  ])
926
950
  ], 4)
927
951
  ]),
928
- i(pe) ? p("", !0) : (u(), n("div", {
952
+ i(fe) ? h("", !0) : (u(), n("div", {
929
953
  key: 1,
930
954
  class: "vue-ui-heatmap-legend-label-min",
931
- style: k({
955
+ style: w({
932
956
  fontSize: e.value.style.legend.fontSize + "px",
933
957
  color: e.value.style.legend.color
934
958
  })
935
- }, z(i(E)(
959
+ }, _(i(B)(
936
960
  e.value.style.layout.cells.value.formatter,
937
- i(D)(re.value),
961
+ i(E)(re.value),
938
962
  i(H)({
939
963
  p: e.value.style.layout.dataLabels.prefix,
940
- v: i(D)(re.value),
964
+ v: i(E)(re.value),
941
965
  s: e.value.style.layout.dataLabels.suffix,
942
966
  r: e.value.style.legend.roundingValue
943
967
  })
944
968
  )), 5))
945
- ], 4)) : p("", !0)
969
+ ], 4)) : h("", !0)
946
970
  ], 2),
947
- t.$slots.watermark ? (u(), n("div", Hl, [
948
- T(t.$slots, "watermark", Z(ee({ isPrinting: i(je) || i(qe) })), void 0, !0)
949
- ])) : p("", !0),
971
+ t.$slots.watermark ? (u(), n("div", Il, [
972
+ T(t.$slots, "watermark", ee(te({ isPrinting: i(Ke) || i(Je) })), void 0, !0)
973
+ ])) : h("", !0),
950
974
  t.$slots.source ? (u(), n("div", {
951
975
  key: 5,
952
976
  ref_key: "source",
953
- ref: Ue,
977
+ ref: Ge,
954
978
  dir: "auto"
955
979
  }, [
956
980
  T(t.$slots, "source", {}, void 0, !0)
957
- ], 512)) : p("", !0),
958
- He(i(te), {
959
- show: S.value.showTooltip && ae.value,
981
+ ], 512)) : h("", !0),
982
+ we(i(W), {
983
+ show: L.value.showTooltip && q.value,
960
984
  backgroundColor: e.value.style.tooltip.backgroundColor,
961
985
  color: e.value.style.tooltip.color,
962
986
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -966,113 +990,129 @@ const gl = ["id"], bl = ["xmlns", "viewBox"], ml = ["x", "y", "width", "height"]
966
990
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
967
991
  position: e.value.style.tooltip.position,
968
992
  offsetY: e.value.style.tooltip.offsetY,
969
- parent: w.value,
970
- content: j.value,
971
- isFullscreen: Q.value,
993
+ parent: O.value,
994
+ content: K.value,
995
+ isFullscreen: G.value,
972
996
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function",
973
997
  smooth: e.value.style.tooltip.smooth,
974
998
  backdropFilter: e.value.style.tooltip.backdropFilter
975
999
  }, {
976
- "tooltip-before": O(() => [
977
- T(t.$slots, "tooltip-before", Z(ee({ ...be.value })), void 0, !0)
1000
+ "tooltip-before": $(() => [
1001
+ T(t.$slots, "tooltip-before", ee(te({ ...ge.value })), void 0, !0)
978
1002
  ]),
979
- "tooltip-after": O(() => [
980
- T(t.$slots, "tooltip-after", Z(ee({ ...be.value })), void 0, !0)
1003
+ "tooltip-after": $(() => [
1004
+ T(t.$slots, "tooltip-after", ee(te({ ...ge.value })), void 0, !0)
981
1005
  ]),
982
1006
  _: 3
983
1007
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
984
- G.value ? (u(), de(rl, {
985
- key: 6,
986
- hideDetails: "",
987
- config: {
988
- open: S.value.showTable,
989
- maxHeight: 1e4,
990
- body: {
991
- backgroundColor: e.value.style.backgroundColor,
992
- color: e.value.style.color
993
- },
994
- head: {
995
- backgroundColor: e.value.style.backgroundColor,
996
- color: e.value.style.color
997
- }
998
- }
999
- }, {
1000
- content: O(() => [
1001
- h("div", {
1008
+ j.value ? (u(), ce(Kt(me.value.component), Jt({ key: 6 }, me.value.props, {
1009
+ ref_key: "tableUnit",
1010
+ ref: se,
1011
+ onClose: a[3] || (a[3] = (o) => L.value.showTable = !1)
1012
+ }), dt({
1013
+ content: $(() => [
1014
+ f("div", {
1002
1015
  ref_key: "tableContainer",
1003
- ref: Le,
1004
- class: "vue-ui-heatmap-table atom-data-table"
1016
+ ref: Ve,
1017
+ class: "vue-ui-heatmap-table atom-data-table",
1018
+ style: w(`${e.value.table.useDialog ? "" : "max-height: 300px; margin-top: 24px;"}`)
1005
1019
  }, [
1006
- h("div", {
1007
- style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
1008
- class: ce({ "vue-ui-responsive": Ie.value })
1020
+ f("div", {
1021
+ style: w(`width:100%;overflow-x:auto;position:relative;${e.value.table.useDialog ? "" : "padding-top:36px"};`),
1022
+ class: ve({ "vue-ui-responsive": i(Ut) })
1009
1023
  }, [
1010
- h("div", {
1024
+ e.value.table.useDialog ? h("", !0) : (u(), n("div", {
1025
+ key: 0,
1011
1026
  role: "button",
1012
1027
  tabindex: "0",
1013
- style: k(`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};`),
1014
- onClick: a[0] || (a[0] = (o) => S.value.showTable = !1),
1015
- onKeypress: a[1] || (a[1] = jt((o) => S.value.showTable = !1, ["enter"]))
1028
+ 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};`),
1029
+ onClick: a[1] || (a[1] = (o) => L.value.showTable = !1),
1030
+ onKeypress: a[2] || (a[2] = Qt((o) => L.value.showTable = !1, ["enter"]))
1016
1031
  }, [
1017
- He(i(Y), {
1032
+ we(i(le), {
1018
1033
  name: "close",
1019
1034
  stroke: e.value.table.th.color,
1020
1035
  "stroke-width": 2
1021
1036
  }, null, 8, ["stroke"])
1022
- ], 36),
1023
- h("table", Xl, [
1024
- h("caption", {
1025
- style: k(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1037
+ ], 36)),
1038
+ f("table", Vl, [
1039
+ e.value.table.useDialog ? h("", !0) : (u(), n("caption", {
1040
+ key: 0,
1041
+ style: w(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
1026
1042
  }, [
1027
- ct(z(e.value.style.title.text) + " ", 1),
1028
- e.value.style.title.subtitle.text ? (u(), n("span", Pl, z(e.value.style.title.subtitle.text), 1)) : p("", !0)
1029
- ], 4),
1030
- h("thead", null, [
1031
- h("tr", {
1043
+ He(_(e.value.style.title.text) + " ", 1),
1044
+ e.value.style.title.subtitle.text ? (u(), n("span", Bl, _(e.value.style.title.subtitle.text), 1)) : h("", !0)
1045
+ ], 4)),
1046
+ f("thead", null, [
1047
+ f("tr", {
1032
1048
  role: "row",
1033
- style: k(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1049
+ style: w(`background:${e.value.table.th.backgroundColor};color:${e.value.table.th.color}`)
1034
1050
  }, [
1035
- h("th", {
1036
- style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
1051
+ f("th", {
1052
+ style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1037
1053
  }, null, 4),
1038
- (u(!0), n(L, null, R(b.dataset, (o, s) => (u(), n("th", {
1054
+ (u(!0), n(C, null, F(b.dataset, (o, s) => (u(), n("th", {
1039
1055
  align: "right",
1040
- style: k(`outline:${e.value.table.th.outline};padding-right:6px`)
1041
- }, z(o.name), 5))), 256))
1056
+ style: w(`outline:${e.value.table.th.outline};padding-right:6px`)
1057
+ }, _(o.name), 5))), 256))
1042
1058
  ], 4)
1043
1059
  ]),
1044
- h("tbody", null, [
1045
- (u(!0), n(L, null, R(f.value.xLabels, (o, s) => (u(), n("tr", {
1060
+ f("tbody", null, [
1061
+ (u(!0), n(C, null, F(p.value.xLabels, (o, s) => (u(), n("tr", {
1046
1062
  role: "row",
1047
- 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 }),
1048
- style: k(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1063
+ class: ve({ "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 }),
1064
+ style: w(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
1049
1065
  }, [
1050
- h("td", {
1066
+ f("td", {
1051
1067
  "data-cell": e.value.table.colNames.xAxis,
1052
1068
  class: "vue-ui-data-table__tbody__td",
1053
- style: k(`outline:${e.value.table.td.outline}`)
1069
+ style: w(`outline:${e.value.table.td.outline}`)
1054
1070
  }, [
1055
- h("div", Vl, z(o), 1)
1056
- ], 12, Il),
1057
- (u(!0), n(L, null, R(b.dataset, (d, v) => (u(), n("td", {
1071
+ f("div", Ul, _(o), 1)
1072
+ ], 12, El),
1073
+ (u(!0), n(C, null, F(b.dataset, (d, v) => (u(), n("td", {
1058
1074
  class: "vue-ui-data-table__tbody__td",
1059
1075
  "data-cell": b.dataset[v].name,
1060
- style: k(`outline:${e.value.table.td.outline}`)
1076
+ style: w(`outline:${e.value.table.td.outline}`)
1061
1077
  }, [
1062
- h("div", Dl, z(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)
1063
- ], 12, El))), 256))
1078
+ f("div", Gl, _(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)
1079
+ ], 12, Yl))), 256))
1064
1080
  ], 6))), 256))
1065
1081
  ])
1066
1082
  ])
1067
- ], 2)
1068
- ], 512)
1083
+ ], 6)
1084
+ ], 4)
1069
1085
  ]),
1070
- _: 1
1071
- }, 8, ["config"])) : p("", !0),
1072
- i(pe) ? (u(), de(hl, { key: 7 })) : p("", !0)
1073
- ], 46, gl));
1086
+ _: 2
1087
+ }, [
1088
+ e.value.table.useDialog ? {
1089
+ name: "title",
1090
+ fn: $(() => [
1091
+ He(_(me.value.title), 1)
1092
+ ]),
1093
+ key: "0"
1094
+ } : void 0,
1095
+ e.value.table.useDialog ? {
1096
+ name: "actions",
1097
+ fn: $(() => [
1098
+ f("button", {
1099
+ tabindex: "0",
1100
+ class: "vue-ui-user-options-button",
1101
+ onClick: a[0] || (a[0] = (o) => Re(e.value.userOptions.callbacks.csv))
1102
+ }, [
1103
+ we(i(le), {
1104
+ name: "excel",
1105
+ stroke: me.value.props.color
1106
+ }, null, 8, ["stroke"])
1107
+ ])
1108
+ ]),
1109
+ key: "1"
1110
+ } : void 0
1111
+ ]), 1040)) : h("", !0),
1112
+ i(fe) ? (u(), ce(dl, { key: 7 })) : h("", !0)
1113
+ ], 46, wl));
1074
1114
  }
1075
- }, oa = /* @__PURE__ */ fl(Bl, [["__scopeId", "data-v-926264d5"]]);
1115
+ }, ra = /* @__PURE__ */ ml(Wl, [["__scopeId", "data-v-2b7d26d8"]]);
1076
1116
  export {
1077
- oa as default
1117
+ ra as default
1078
1118
  };