vue-data-ui 2.16.6 → 2.17.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 (92) hide show
  1. package/README.md +83 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BAEkZGzL.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-ChCkcmj_.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-naqtCxVi.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-CfIPgxcj.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-D0VYDhfx.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-Bxlv67uY.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-b_oVy-Dd.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-5TR4ocqp.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-D6AqipIO.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-DtFT5EJa.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CL6-MRI6.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-Bcv1aoA5.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-B-2bV0SW.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-CoQnTnr-.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-Dd34lEKb.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-2AA0wHlX.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-Y_hYz-ZC.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-pPGk-uhD.js} +1 -1
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-yfk3d1is.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1096 -160
  23. package/dist/types/vue-data-ui.d.ts +1096 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-DjACxgdZ.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DDHcrl0A.js} +2 -2
  26. package/dist/vue-data-ui-CIWxgKjd.js +312 -0
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-CtlB4p7i.js → vue-ui-3d-bar-D5Wpdqfk.js} +228 -220
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-CVnA550V.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-BuAl-zC5.js} +179 -171
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-gl2A20m3.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-D-VMKpwe.js} +127 -119
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-1r6YwiUV.js} +194 -186
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-B6UJoNtP.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-DnlBYpC5.js} +226 -218
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-D3kpzYjp.js} +175 -167
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-CHgdpoYu.js} +188 -180
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-63EAvElT.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-Da6CPET-.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-CA8pUKej.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-CKa7nFjt.js} +329 -321
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-qeBEA4W8.js} +245 -237
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-Bm0PvAKT.js} +144 -136
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-C2dqXvrU.js} +169 -161
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-Dvy5rRld.js} +132 -124
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-Y8LYp5n2.js} +168 -160
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-BBo0jWAP.js} +164 -156
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-DjXfTOWn.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BbxRpltP.js} +240 -228
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-ChYf3Nvc.js} +214 -206
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-Vfc5-JnE.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-C0-Nsz8K.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-B7Yu7vzF.js} +158 -150
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-C8JUTwNw.js} +128 -120
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-D0RgFifU.js} +196 -188
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-D4U7TL_N.js} +166 -158
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-CXMT7Rjr.js} +186 -178
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-B13pTVVZ.js} +182 -174
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-C0UL4o63.js} +305 -297
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-XpdiXnhz.js} +167 -159
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-CM8ZrUb1.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-CYoFNekk.js} +144 -136
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-QUquE6ck.js} +196 -188
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-DwT0IfOh.js} +145 -137
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-zDpy1udm.js} +179 -172
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-DJPjyNYn.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-DoDXl6k0.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-CniV6Cpr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-Ds2ITgwn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CosfK-kw.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-C7O1wPAJ.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-B_iUj3F2.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DBhWrysr.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C3aV4IcL.js} +240 -232
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-Bvr1GAzH.js} +204 -196
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-DQKKRgyo.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-Dyqj5XJC.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D4RubyLj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-B0FKI5cG.js} +145 -137
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-DUCBRIl-.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DiLS3akQ.js → vue-ui-tiremarks-CRt4UQZD.js} +108 -100
  82. package/dist/vue-ui-treemap-CWP5nYDx.js +961 -0
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-C5fPYltO.js} +278 -270
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-BpWLlfpg.js} +188 -180
  85. package/dist/{vue-ui-wheel-6B0WTkf2.js → vue-ui-wheel-CTzuCroy.js} +112 -104
  86. package/dist/{vue-ui-word-cloud-ByYZCOh7.js → vue-ui-word-cloud-BPokdaP1.js} +198 -190
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-CS6k-oil.js} +199 -191
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-CQ425kLR.js} +550 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-D2IFwAr7.js} +306 -298
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-treemap-BG1Omm38.js +0 -953
@@ -1,29 +1,30 @@
1
- import { useCssVars as Qe, defineAsyncComponent as B, computed as f, ref as b, watch as ze, shallowRef as Ze, onMounted as el, onBeforeUnmount as ll, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as le, createBlock as q, createCommentVNode as d, createVNode as ve, createSlots as tl, withCtx as A, renderSlot as m, normalizeProps as D, guardReactiveProps as E, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as al, createTextVNode as ol, nextTick as sl } from "vue";
2
- import { u as ul, o as nl, e as Me, c as ye, a as il, C as rl, P as K, g as vl, X as yl, F as de, i as S, f as M, v as N, q as dl, r as cl, x as hl, y as gl } from "./index-DvIXJm6t.js";
3
- import { u as Oe } from "./useNestedProp-DrYHm61t.js";
4
- import { u as pl } from "./usePrinter-CWnXbGMb.js";
5
- import { u as fl } from "./useUserOptionState-BIvW1Kz7.js";
6
- import { u as bl } from "./useChartAccessibility-9icAAmYg.js";
7
- import ml from "./vue-ui-accordion-D55kCO5G.js";
8
- import xl from "./Title-Gi81VwUM.js";
9
- import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
- const kl = ["id"], _l = {
1
+ import { useCssVars as el, defineAsyncComponent as B, computed as f, ref as b, watch as Me, shallowRef as ll, onMounted as tl, onBeforeUnmount as al, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as te, createBlock as J, createCommentVNode as d, createVNode as ve, createSlots as ol, withCtx as A, renderSlot as m, normalizeProps as D, guardReactiveProps as E, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as sl, createTextVNode as ul, nextTick as nl } from "vue";
2
+ import { u as il, o as rl, e as Oe, c as ye, a as vl, C as yl, P as Q, g as dl, X as cl, F as de, i as S, f as M, v as N, q as hl, r as gl, x as pl, y as fl } from "./index-pPGk-uhD.js";
3
+ import { u as Se } from "./useNestedProp-DjACxgdZ.js";
4
+ import { u as bl } from "./usePrinter-DDHcrl0A.js";
5
+ import { u as ml } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { u as xl } from "./useChartAccessibility-9icAAmYg.js";
7
+ import wl from "./vue-ui-accordion-CVnA550V.js";
8
+ import kl from "./Title-B-2bV0SW.js";
9
+ import _l from "./img-Y_hYz-ZC.js";
10
+ import { _ as Cl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const $l = ["id"], Ll = {
11
12
  key: 2,
12
13
  style: "width:100%;background:transparent"
13
- }, Cl = ["xmlns", "viewBox"], $l = ["width", "height"], Ll = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Tl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Al = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], zl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ml = ["font-size", "font-weight", "fill", "x", "y"], Ol = ["x", "y", "width", "height", "onMouseover", "onClick"], Sl = { key: 0 }, Nl = ["font-size", "fill", "x", "y", "font-weight"], Vl = ["font-size", "fill", "x", "y", "font-weight"], Fl = { key: 1 }, Il = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Pl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Rl = { key: 2 }, Xl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Bl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Dl = { key: 4 }, El = ["x", "y", "width", "height", "stroke", "stroke-width"], Ul = { key: 5 }, Yl = ["id"], Gl = ["stop-color"], Hl = ["stop-color"], jl = ["x", "y", "font-size", "fill"], Wl = ["x", "y", "height", "rx", "fill"], ql = ["x", "y", "font-size", "fill"], Kl = ["stroke", "x1", "x2", "y1", "y2"], Jl = ["fill", "d"], Ql = { key: 6 }, Zl = {
14
+ }, Tl = ["xmlns", "viewBox"], Al = ["width", "height"], zl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ml = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ol = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Sl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Nl = ["font-size", "font-weight", "fill", "x", "y"], Vl = ["x", "y", "width", "height", "onMouseover", "onClick"], Fl = { key: 0 }, Il = ["font-size", "fill", "x", "y", "font-weight"], Pl = ["font-size", "fill", "x", "y", "font-weight"], Rl = { key: 1 }, Xl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Bl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Dl = { key: 2 }, El = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Ul = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Yl = { key: 4 }, Gl = ["x", "y", "width", "height", "stroke", "stroke-width"], Hl = { key: 5 }, jl = ["id"], Wl = ["stop-color"], ql = ["stop-color"], Kl = ["x", "y", "font-size", "fill"], Jl = ["x", "y", "height", "rx", "fill"], Ql = ["x", "y", "font-size", "fill"], Zl = ["stroke", "x1", "x2", "y1", "y2"], et = ["fill", "d"], lt = { key: 6 }, tt = {
14
15
  id: "colorScaleHorizontal",
15
16
  x1: "0%",
16
17
  x2: "100%",
17
18
  y1: "0%",
18
19
  y2: "0%"
19
- }, et = ["stop-color"], lt = ["stop-color"], tt = ["x", "y", "width", "height", "rx"], at = ["x", "y", "font-size", "fill"], ot = ["x", "y", "font-size", "fill"], st = ["stroke", "x1", "x2", "y1", "y2"], ut = ["fill", "d"], nt = {
20
+ }, at = ["stop-color"], ot = ["stop-color"], st = ["x", "y", "width", "height", "rx"], ut = ["x", "y", "font-size", "fill"], nt = ["x", "y", "font-size", "fill"], it = ["stroke", "x1", "x2", "y1", "y2"], rt = ["fill", "d"], vt = {
20
21
  key: 5,
21
22
  class: "vue-data-ui-watermark"
22
- }, it = {
23
+ }, yt = {
23
24
  key: 6,
24
25
  ref: "source",
25
26
  dir: "auto"
26
- }, rt = { class: "vue-ui-data-table" }, vt = { key: 0 }, yt = ["data-cell"], dt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, ct = ["data-cell"], ht = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, gt = {
27
+ }, dt = { class: "vue-ui-data-table" }, ct = { key: 0 }, ht = ["data-cell"], gt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, pt = ["data-cell"], ft = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, bt = {
27
28
  __name: "vue-ui-heatmap",
28
29
  props: {
29
30
  config: {
@@ -40,90 +41,90 @@ const kl = ["id"], _l = {
40
41
  }
41
42
  },
42
43
  emits: ["selectDatapoint"],
43
- setup(U, { expose: Se, emit: Ne }) {
44
- Qe((l) => ({
45
- "5fe041fc": l.tdo
44
+ setup(U, { expose: Ne, emit: Ve }) {
45
+ el((l) => ({
46
+ "2baa6172": l.tdo
46
47
  }));
47
- const Ve = B(() => import("./BaseIcon-Bn996RXm.js")), Fe = B(() => import("./PackageVersion-Bg_9KCU-.js")), Ie = B(() => import("./PenAndPaper-BPTpbnay.js")), Pe = B(() => import("./vue-ui-skeleton-BAOt2neL.js")), Re = B(() => import("./Tooltip-CJxVw7-T.js")), Xe = B(() => import("./UserOptions-CBEK6_jo.js")), { vue_ui_heatmap: Be } = ul(), y = U, De = Ne, J = f(() => !!y.dataset && y.dataset.length);
48
- nl(y.dataset) && Me({
48
+ const Fe = B(() => import("./BaseIcon-naqtCxVi.js")), Ie = B(() => import("./PackageVersion-5TR4ocqp.js")), Pe = B(() => import("./PenAndPaper-D6AqipIO.js")), Re = B(() => import("./vue-ui-skeleton-DJPjyNYn.js")), Xe = B(() => import("./Tooltip-CoQnTnr-.js")), Be = B(() => import("./UserOptions-Dd34lEKb.js")), { vue_ui_heatmap: De } = il(), y = U, Ee = Ve, Z = f(() => !!y.dataset && y.dataset.length);
49
+ rl(y.dataset) && Oe({
49
50
  componentName: "VueUiHeatmap",
50
51
  type: "dataset"
51
52
  });
52
- const Y = b(ye()), te = b(null), Ee = b(null), ae = b(!1), oe = b(""), ce = b(void 0), G = b(null), he = b(0), ge = b(null), Ue = b(null), pe = b(!1), fe = b(0), e = f({
53
+ const Y = b(ye()), G = b(null), Ue = b(null), ae = b(!1), oe = b(""), ce = b(void 0), H = b(null), he = b(0), ge = b(null), Ye = b(null), pe = b(!1), fe = b(0), e = f({
53
54
  get: () => we(),
54
55
  set: (l) => l
55
- }), { userOptionsVisible: se, setUserOptionsVisibility: be, keepUserOptionState: me } = fl({ config: e.value }), { svgRef: xe } = bl({ config: e.value.style.title });
56
+ }), { userOptionsVisible: se, setUserOptionsVisibility: be, keepUserOptionState: me } = ml({ config: e.value }), { svgRef: xe } = xl({ config: e.value.style.title });
56
57
  function we() {
57
- const l = Oe({
58
+ const l = Se({
58
59
  userConfig: y.config,
59
- defaultConfig: Be
60
+ defaultConfig: De
60
61
  });
61
- let u = {};
62
- return l.theme ? u = {
63
- ...Oe({
64
- userConfig: il.vue_ui_heatmap[l.theme] || y.config,
62
+ let s = {};
63
+ return l.theme ? s = {
64
+ ...Se({
65
+ userConfig: vl.vue_ui_heatmap[l.theme] || y.config,
65
66
  defaultConfig: l
66
67
  })
67
- } : u = l, y.config && rl(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? u.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : u.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, u;
68
+ } : s = l, y.config && yl(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
68
69
  }
69
- ze(() => y.config, (l) => {
70
+ Me(() => y.config, (l) => {
70
71
  e.value = we(), se.value = !e.value.userOptions.showOnChartHover, ue(), fe.value += 1, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.tooltip.show;
71
- }, { deep: !0 }), ze(() => y.dataset, () => {
72
+ }, { deep: !0 }), Me(() => y.dataset, () => {
72
73
  ue();
73
74
  }, { deep: !0 });
74
- const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: $e } = pl({
75
+ const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: $e } = bl({
75
76
  elementId: `heatmap__${Y.value}`,
76
77
  fileName: e.value.style.title.text || "vue-ui-heatmap",
77
78
  options: e.value.userOptions.print
78
- }), Ye = f(() => e.value.userOptions.show && !e.value.style.title.text), C = b({
79
+ }), Ge = f(() => e.value.userOptions.show && !e.value.style.title.text), C = b({
79
80
  showTable: e.value.table.show,
80
81
  showTooltip: e.value.style.tooltip.show
81
- }), Ge = f(() => e.value.table.responsiveBreakpoint), R = Ze(null);
82
- function He() {
82
+ }), He = f(() => e.value.table.responsiveBreakpoint), R = ll(null);
83
+ function je() {
83
84
  R.value && R.value.disconnect(), R.value = new ResizeObserver((l) => {
84
- l.forEach((u) => {
85
- pe.value = u.contentRect.width < Ge.value;
85
+ l.forEach((s) => {
86
+ pe.value = s.contentRect.width < He.value;
86
87
  });
87
88
  }), R.value.observe(ge.value);
88
89
  }
89
- el(ue), ll(() => {
90
+ tl(ue), al(() => {
90
91
  R.value && R.value.disconnect();
91
92
  });
92
93
  function ue() {
93
- He();
94
+ je();
94
95
  }
95
96
  const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), $ = f(() => {
96
- const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, u = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
97
+ const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, u = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
97
98
  return {
98
99
  height: l,
99
- heightWithLegend: n,
100
- width: u
100
+ heightWithLegend: u,
101
+ width: s
101
102
  };
102
- }), Q = f(() => e.value.style.legend.position), t = f(() => ({
103
+ }), ee = f(() => e.value.style.legend.position), t = f(() => ({
103
104
  top: e.value.style.layout.padding.top,
104
105
  left: e.value.style.layout.padding.left,
105
- right: $.value.width - e.value.style.layout.padding.right - (Q.value === "right" && e.value.style.legend.show ? 92 : 0),
106
+ right: $.value.width - e.value.style.layout.padding.right - (ee.value === "right" && e.value.style.legend.show ? 92 : 0),
106
107
  bottom: $.value.height - e.value.style.layout.padding.bottom,
107
108
  height: $.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
108
- width: $.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (Q.value === "right" && e.value.style.legend.show ? 92 : 0)
109
+ width: $.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (ee.value === "right" && e.value.style.legend.show ? 92 : 0)
109
110
  })), ne = f(() => a.value.height * y.dataset.length), L = f(() => Math.max(...y.dataset.flatMap((l) => l.values))), F = f(() => Math.min(...y.dataset.flatMap((l) => l.values))), I = f(() => {
110
- const l = y.dataset.flatMap((n) => n.values);
111
- return l.reduce((n, s) => n + s, 0) / l.length;
111
+ const l = y.dataset.flatMap((u) => u.values);
112
+ return l.reduce((u, n) => u + n, 0) / l.length;
112
113
  }), a = f(() => ({
113
114
  width: t.value.width / V.value,
114
115
  height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
115
116
  })), p = f(() => {
116
- const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((g) => g.name), u = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((g) => g.values.reduce((w, re) => w + re, 0)), s = Math.max(...n), c = Math.min(...n), h = [];
117
+ const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((g) => g.name), s = e.value.style.layout.dataLabels.xAxis.values, u = y.dataset.map((g) => g.values.reduce((w, re) => w + re, 0)), n = Math.max(...u), c = Math.min(...u), h = [];
117
118
  for (let g = 0; g < V.value; g += 1)
118
119
  h.push(y.dataset.map((w) => w.values[g] || 0).reduce((w, re) => w + re, 0));
119
120
  const k = Math.max(...h), P = Math.min(...h);
120
121
  return {
121
- yTotals: n.map((g) => {
122
- const w = isNaN(g / s) ? 0 : g / s;
122
+ yTotals: u.map((g) => {
123
+ const w = isNaN(g / n) ? 0 : g / n;
123
124
  return {
124
125
  total: g,
125
126
  proportion: w,
126
- color: K(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, c, s, g)
127
+ color: Q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, c, n, g)
127
128
  };
128
129
  }),
129
130
  xTotals: h.map((g) => {
@@ -131,66 +132,66 @@ const kl = ["id"], _l = {
131
132
  return {
132
133
  total: g,
133
134
  proportion: w,
134
- color: K(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, P, k, g)
135
+ color: Q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, P, k, g)
135
136
  };
136
137
  }),
137
138
  yLabels: l,
138
- xLabels: u.slice(0, V.value)
139
+ xLabels: s.slice(0, V.value)
139
140
  };
140
- }), Z = f(() => (y.dataset.forEach((l, u) => {
141
- vl({
141
+ }), j = f(() => (y.dataset.forEach((l, s) => {
142
+ dl({
142
143
  datasetObject: l,
143
144
  requiredAttributes: ["values"]
144
- }).forEach((n) => {
145
- Me({
145
+ }).forEach((u) => {
146
+ Oe({
146
147
  componentName: "VueUiHeatmap",
147
148
  type: "datasetSerieAttribute",
148
149
  property: "values",
149
- index: u
150
+ index: s
150
151
  });
151
152
  });
152
153
  }), y.dataset.map((l) => ({
153
154
  ...l,
154
- temperatures: (l.values || []).map((u, n) => u >= I.value ? {
155
+ temperatures: (l.values || []).map((s, u) => s >= I.value ? {
155
156
  side: "up",
156
- color: K(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, u),
157
- ratio: Math.abs(Math.abs(u - I.value) / Math.abs(L.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(u - I.value) / Math.abs(L.value - I.value)),
158
- value: u,
157
+ color: Q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
158
+ ratio: Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)),
159
+ value: s,
159
160
  yAxisName: l.name,
160
- xAxisName: p.value.xLabels[n],
161
+ xAxisName: p.value.xLabels[u],
161
162
  id: `vue-data-ui-heatmap-cell-${ye()}`
162
163
  } : {
163
164
  side: "down",
164
- ratio: Math.abs(1 - Math.abs(u) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(u) / Math.abs(I.value)),
165
- color: K(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, u),
166
- value: u,
165
+ ratio: Math.abs(1 - Math.abs(s) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(s) / Math.abs(I.value)),
166
+ color: Q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
167
+ value: s,
167
168
  yAxisName: l.name,
168
- xAxisName: p.value.xLabels[n],
169
+ xAxisName: p.value.xLabels[u],
169
170
  id: `vue-data-ui-heatmap-cell-${ye()}`
170
171
  })
171
- })))), O = b(null), H = b(null);
172
- function je(l, u, n, s) {
173
- G.value = { x: n, y: s };
172
+ })))), O = b(null), W = b(null);
173
+ function We(l, s, u, n) {
174
+ H.value = { x: u, y: n };
174
175
  const { value: c, yAxisName: h, xAxisName: k, id: P } = l;
175
- ce.value = P, O.value = c, H.value = {
176
+ ce.value = P, O.value = c, W.value = {
176
177
  datapoint: l,
177
- seriesIndex: u,
178
- series: Z.value,
178
+ seriesIndex: s,
179
+ series: j.value,
179
180
  config: e.value
180
181
  }, ae.value = !0;
181
182
  let g = "";
182
183
  const w = e.value.style.tooltip.customFormat;
183
- hl(w) && gl(() => w({
184
+ pl(w) && fl(() => w({
184
185
  datapoint: l,
185
- seriesIndex: u,
186
- series: Z.value,
186
+ seriesIndex: s,
187
+ series: j.value,
187
188
  config: e.value
188
189
  })) ? oe.value = w({
189
190
  datapoint: l,
190
- seriesIndex: u,
191
- series: Z.value,
191
+ seriesIndex: s,
192
+ series: j.value,
192
193
  config: e.value
193
- }) : (g += `<div>${h} ${k ? `${k}` : ""}</div>`, g += `<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:${K(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, c)}">⬤</span><span>${isNaN(c) ? "-" : S(
194
+ }) : (g += `<div>${h} ${k ? `${k}` : ""}</div>`, g += `<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:${Q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, c)}">⬤</span><span>${isNaN(c) ? "-" : S(
194
195
  e.value.style.layout.cells.value.formatter,
195
196
  c,
196
197
  M({
@@ -199,11 +200,11 @@ const kl = ["id"], _l = {
199
200
  s: e.value.style.layout.dataLabels.suffix,
200
201
  r: e.value.style.tooltip.roundingValue
201
202
  }),
202
- { datapoint: l, seriesIndex: u }
203
+ { datapoint: l, seriesIndex: s }
203
204
  )}</span></div>`, oe.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${g}</div>`);
204
205
  }
205
- const j = f(() => t.value.top + ne.value * (1 - O.value / L.value)), W = f(() => t.value.left + ($.value.width - t.value.left - e.value.style.layout.padding.right) * (O.value / L.value));
206
- function We(l) {
206
+ const q = f(() => t.value.top + ne.value * (1 - O.value / L.value)), K = f(() => t.value.left + ($.value.width - t.value.left - e.value.style.layout.padding.right) * (O.value / L.value));
207
+ function qe(l) {
207
208
  return S(
208
209
  e.value.style.layout.cells.value.formatter,
209
210
  p.value.yTotals[l].total,
@@ -216,7 +217,7 @@ const kl = ["id"], _l = {
216
217
  { datapoint: p.value.yTotals[l], rowIndex: l }
217
218
  );
218
219
  }
219
- function qe(l) {
220
+ function Ke(l) {
220
221
  return S(
221
222
  e.value.style.layout.cells.value.formatter,
222
223
  p.value.xTotals[l].total,
@@ -230,74 +231,85 @@ const kl = ["id"], _l = {
230
231
  );
231
232
  }
232
233
  f(() => {
233
- const l = y.dataset.map((n) => ({
234
- name: n.name
235
- })), u = y.dataset.map((n) => n.values);
236
- return { head: l, body: u };
234
+ const l = y.dataset.map((u) => ({
235
+ name: u.name
236
+ })), s = y.dataset.map((u) => u.values);
237
+ return { head: l, body: s };
237
238
  });
238
239
  function Le(l = null) {
239
- sl(() => {
240
- const u = ["", ...y.dataset.map((h, k) => h.name)], n = [];
240
+ nl(() => {
241
+ const s = ["", ...y.dataset.map((h, k) => h.name)], u = [];
241
242
  for (let h = 0; h < p.value.xLabels.length; h += 1) {
242
243
  const k = [p.value.xLabels[h]];
243
244
  for (let P = 0; P < y.dataset.length; P += 1)
244
245
  k.push([y.dataset[P].values[h]]);
245
- n.push(k);
246
+ u.push(k);
246
247
  }
247
- const s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([u]).concat(n), c = dl(s);
248
- l ? l(c) : cl({ csvContent: c, title: e.value.style.title.text || "vue-ui-heatmap" });
248
+ const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([s]).concat(u), c = hl(n);
249
+ l ? l(c) : gl({ csvContent: c, title: e.value.style.title.text || "vue-ui-heatmap" });
249
250
  });
250
251
  }
251
252
  const X = b(!1);
252
- function Ke(l) {
253
+ function Te(l) {
253
254
  X.value = l, he.value += 1;
254
255
  }
255
- function Te() {
256
+ function Ae() {
256
257
  C.value.showTable = !C.value.showTable;
257
258
  }
258
- function Ae() {
259
+ function ze() {
259
260
  C.value.showTooltip = !C.value.showTooltip;
260
261
  }
261
- const ee = b(!1);
262
+ const le = b(!1);
262
263
  function ie() {
263
- ee.value = !ee.value;
264
+ le.value = !le.value;
264
265
  }
265
266
  function Je(l) {
266
- De("selectDatapoint", l);
267
+ Ee("selectDatapoint", l);
268
+ }
269
+ function Qe() {
270
+ return j.value;
271
+ }
272
+ async function Ze({ scale: l = 2 } = {}) {
273
+ if (!G.value) return;
274
+ const { imageUri: s, base64: u } = await _l({ domElement: G.value, base64: !0, img: !0, scale: l });
275
+ return { imageUri: s, base64: u };
267
276
  }
268
- return Se({
277
+ return Ne({
278
+ getData: Qe,
279
+ getImage: Ze,
269
280
  generatePdf: Ce,
270
281
  generateCsv: Le,
271
282
  generateImage: $e,
272
- toggleTable: Te,
273
- toggleTooltip: Ae,
274
- toggleAnnotator: ie
275
- }), (l, u) => (o(), i("div", {
283
+ toggleTable: Ae,
284
+ toggleTooltip: ze,
285
+ toggleAnnotator: ie,
286
+ toggleFullscreen: Te
287
+ }), (l, s) => (o(), i("div", {
276
288
  ref_key: "heatmapChart",
277
- ref: te,
278
- class: le(`vue-ui-heatmap ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
289
+ ref: G,
290
+ class: te(`vue-ui-heatmap ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
279
291
  style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
280
292
  id: `heatmap__${Y.value}`,
281
- onMouseenter: u[3] || (u[3] = () => r(be)(!0)),
282
- onMouseleave: u[4] || (u[4] = () => r(be)(!1))
293
+ onMouseenter: s[3] || (s[3] = () => r(be)(!0)),
294
+ onMouseleave: s[4] || (s[4] = () => r(be)(!1))
283
295
  }, [
284
- e.value.userOptions.buttons.annotator ? (o(), q(r(Ie), {
296
+ e.value.userOptions.buttons.annotator ? (o(), J(r(Pe), {
285
297
  key: 0,
286
298
  svgRef: r(xe),
287
299
  backgroundColor: e.value.style.backgroundColor,
288
300
  color: e.value.style.color,
289
- active: ee.value,
301
+ active: le.value,
290
302
  onClose: ie
291
303
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
292
- Ye.value ? (o(), i("div", {
304
+ Ge.value ? (o(), i("div", {
293
305
  key: 1,
294
306
  ref_key: "noTitle",
295
- ref: Ue,
307
+ ref: Ye,
296
308
  class: "vue-data-ui-no-title-space",
297
309
  style: "height:36px; width: 100%;background:transparent"
298
310
  }, null, 512)) : d("", !0),
299
- e.value.style.title.text ? (o(), i("div", _l, [
300
- (o(), q(xl, {
311
+ e.value.style.title.text ? (o(), i("div", Ll, [
312
+ (o(), J(kl, {
301
313
  key: `title_${fe.value}`,
302
314
  config: {
303
315
  title: {
@@ -311,9 +323,9 @@ const kl = ["id"], _l = {
311
323
  }
312
324
  }, null, 8, ["config"]))
313
325
  ])) : d("", !0),
314
- e.value.userOptions.show && J.value && (r(me) || r(se)) ? (o(), q(r(Xe), {
326
+ e.value.userOptions.show && Z.value && (r(me) || r(se)) ? (o(), J(r(Be), {
315
327
  ref_key: "details",
316
- ref: Ee,
328
+ ref: Ue,
317
329
  key: `user_options_${he.value}`,
318
330
  backgroundColor: e.value.style.backgroundColor,
319
331
  color: e.value.style.color,
@@ -329,27 +341,27 @@ const kl = ["id"], _l = {
329
341
  isFullscreen: X.value,
330
342
  isTooltip: C.value.showTooltip,
331
343
  titles: { ...e.value.userOptions.buttonTitles },
332
- chartElement: te.value,
344
+ chartElement: G.value,
333
345
  position: e.value.userOptions.position,
334
346
  hasAnnotator: e.value.userOptions.buttons.annotator,
335
- isAnnotation: ee.value,
347
+ isAnnotation: le.value,
336
348
  callbacks: e.value.userOptions.callbacks,
337
349
  printScale: e.value.userOptions.print.scale,
338
- onToggleFullscreen: Ke,
350
+ onToggleFullscreen: Te,
339
351
  onGeneratePdf: r(Ce),
340
352
  onGenerateCsv: Le,
341
353
  onGenerateImage: r($e),
342
- onToggleTable: Te,
343
- onToggleTooltip: Ae,
354
+ onToggleTable: Ae,
355
+ onToggleTooltip: ze,
344
356
  onToggleAnnotator: ie,
345
357
  style: T({
346
358
  visibility: r(me) ? r(se) ? "visible" : "hidden" : "visible"
347
359
  })
348
- }, tl({ _: 2 }, [
360
+ }, ol({ _: 2 }, [
349
361
  l.$slots.menuIcon ? {
350
362
  name: "menuIcon",
351
- fn: A(({ isOpen: n, color: s }) => [
352
- m(l.$slots, "menuIcon", D(E({ isOpen: n, color: s })), void 0, !0)
363
+ fn: A(({ isOpen: u, color: n }) => [
364
+ m(l.$slots, "menuIcon", D(E({ isOpen: u, color: n })), void 0, !0)
353
365
  ]),
354
366
  key: "0"
355
367
  } : void 0,
@@ -390,29 +402,29 @@ const kl = ["id"], _l = {
390
402
  } : void 0,
391
403
  l.$slots.optionFullscreen ? {
392
404
  name: "optionFullscreen",
393
- fn: A(({ toggleFullscreen: n, isFullscreen: s }) => [
394
- m(l.$slots, "optionFullscreen", D(E({ toggleFullscreen: n, isFullscreen: s })), void 0, !0)
405
+ fn: A(({ toggleFullscreen: u, isFullscreen: n }) => [
406
+ m(l.$slots, "optionFullscreen", D(E({ toggleFullscreen: u, isFullscreen: n })), void 0, !0)
395
407
  ]),
396
408
  key: "6"
397
409
  } : void 0,
398
410
  l.$slots.optionAnnotator ? {
399
411
  name: "optionAnnotator",
400
- fn: A(({ toggleAnnotator: n, isAnnotator: s }) => [
401
- m(l.$slots, "optionAnnotator", D(E({ toggleAnnotator: n, isAnnotator: s })), void 0, !0)
412
+ fn: A(({ toggleAnnotator: u, isAnnotator: n }) => [
413
+ m(l.$slots, "optionAnnotator", D(E({ toggleAnnotator: u, isAnnotator: n })), void 0, !0)
402
414
  ]),
403
415
  key: "7"
404
416
  } : void 0
405
417
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
406
- J.value ? (o(), i("svg", {
418
+ Z.value ? (o(), i("svg", {
407
419
  key: 4,
408
420
  ref_key: "svgRef",
409
421
  ref: xe,
410
- xmlns: r(yl),
411
- class: le({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
422
+ xmlns: r(cl),
423
+ class: te({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
412
424
  viewBox: `0 0 ${$.value.width} ${$.value.heightWithLegend}`,
413
425
  style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
414
426
  }, [
415
- ve(r(Fe)),
427
+ ve(r(Ie)),
416
428
  l.$slots["chart-background"] ? (o(), i("foreignObject", {
417
429
  key: 0,
418
430
  x: 0,
@@ -424,47 +436,47 @@ const kl = ["id"], _l = {
424
436
  }
425
437
  }, [
426
438
  m(l.$slots, "chart-background", {}, void 0, !0)
427
- ], 8, $l)) : d("", !0),
439
+ ], 8, Al)) : d("", !0),
428
440
  e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
429
- (o(!0), i(_, null, z(p.value.xTotals, (n, s) => (o(), i("rect", {
430
- x: t.value.left + a.value.width * s + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
441
+ (o(!0), i(_, null, z(p.value.xTotals, (u, n) => (o(), i("rect", {
442
+ x: t.value.left + a.value.width * n + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
431
443
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
432
444
  height: a.value.height / 3,
433
445
  width: a.value.width - e.value.style.layout.cells.spacing,
434
446
  fill: e.value.style.layout.cells.colors.underlayer,
435
447
  stroke: e.value.style.backgroundColor,
436
448
  "stroke-width": e.value.style.layout.cells.spacing
437
- }, null, 8, Ll))), 256)),
438
- (o(!0), i(_, null, z(p.value.xTotals, (n, s) => (o(), i("rect", {
439
- x: t.value.left + a.value.width * s + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
449
+ }, null, 8, zl))), 256)),
450
+ (o(!0), i(_, null, z(p.value.xTotals, (u, n) => (o(), i("rect", {
451
+ x: t.value.left + a.value.width * n + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
440
452
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
441
453
  height: a.value.height / 3,
442
454
  width: a.value.width - e.value.style.layout.cells.spacing,
443
- fill: n.color,
455
+ fill: u.color,
444
456
  stroke: e.value.style.backgroundColor,
445
457
  "stroke-width": e.value.style.layout.cells.spacing
446
- }, null, 8, Tl))), 256))
458
+ }, null, 8, Ml))), 256))
447
459
  ], 64)) : d("", !0),
448
- (o(!0), i(_, null, z(Z.value, (n, s) => (o(), i("g", null, [
449
- (o(!0), i(_, null, z(n.temperatures, (c, h) => (o(), i("g", null, [
460
+ (o(!0), i(_, null, z(j.value, (u, n) => (o(), i("g", null, [
461
+ (o(!0), i(_, null, z(u.temperatures, (c, h) => (o(), i("g", null, [
450
462
  v("rect", {
451
463
  x: t.value.left + a.value.width * h + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
452
- y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
464
+ y: t.value.top + a.value.height * n + e.value.style.layout.cells.spacing / 2,
453
465
  width: a.value.width - e.value.style.layout.cells.spacing,
454
466
  height: a.value.height - e.value.style.layout.cells.spacing,
455
467
  fill: e.value.style.layout.cells.colors.underlayer,
456
468
  stroke: e.value.style.backgroundColor,
457
469
  "stroke-width": e.value.style.layout.cells.spacing
458
- }, null, 8, Al),
470
+ }, null, 8, Ol),
459
471
  v("rect", {
460
472
  x: t.value.left + a.value.width * h + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
461
- y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
473
+ y: t.value.top + a.value.height * n + e.value.style.layout.cells.spacing / 2,
462
474
  width: a.value.width - e.value.style.layout.cells.spacing,
463
475
  height: a.value.height - e.value.style.layout.cells.spacing,
464
476
  fill: c.color,
465
477
  stroke: e.value.style.backgroundColor,
466
478
  "stroke-width": e.value.style.layout.cells.spacing
467
- }, null, 8, zl),
479
+ }, null, 8, Sl),
468
480
  e.value.style.layout.cells.value.show ? (o(), i("text", {
469
481
  key: 0,
470
482
  "text-anchor": "middle",
@@ -472,7 +484,7 @@ const kl = ["id"], _l = {
472
484
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
473
485
  fill: r(de)(c.color),
474
486
  x: t.value.left + a.value.width * h + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
475
- y: t.value.top + a.value.height * s + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
487
+ y: t.value.top + a.value.height * n + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
476
488
  }, x(r(S)(
477
489
  e.value.style.layout.cells.value.formatter,
478
490
  c.value,
@@ -483,100 +495,100 @@ const kl = ["id"], _l = {
483
495
  r: e.value.style.layout.cells.value.roundingValue
484
496
  }),
485
497
  { datapoint: c }
486
- )), 9, Ml)) : d("", !0)
498
+ )), 9, Nl)) : d("", !0)
487
499
  ]))), 256)),
488
- (o(!0), i(_, null, z(n.temperatures, (c, h) => (o(), i("g", null, [
500
+ (o(!0), i(_, null, z(u.temperatures, (c, h) => (o(), i("g", null, [
489
501
  v("rect", {
490
502
  x: t.value.left + a.value.width * h + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
491
- y: t.value.top + a.value.height * s,
503
+ y: t.value.top + a.value.height * n,
492
504
  width: a.value.width,
493
505
  height: a.value.height,
494
506
  fill: "transparent",
495
507
  stroke: "none",
496
- onMouseover: (k) => je(c, s, t.value.left + a.value.width * h, t.value.top + a.value.height * s),
497
- onMouseout: u[0] || (u[0] = (k) => {
498
- ae.value = !1, ce.value = void 0, O.value = null, G.value = null;
508
+ onMouseover: (k) => We(c, n, t.value.left + a.value.width * h, t.value.top + a.value.height * n),
509
+ onMouseout: s[0] || (s[0] = (k) => {
510
+ ae.value = !1, ce.value = void 0, O.value = null, H.value = null;
499
511
  }),
500
512
  onClick: () => Je(c)
501
- }, null, 40, Ol)
513
+ }, null, 40, Vl)
502
514
  ]))), 256)),
503
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Sl, [
515
+ e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Fl, [
504
516
  v("text", {
505
517
  class: "vue-ui-heatmap-row-name",
506
518
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
507
519
  fill: e.value.style.layout.dataLabels.yAxis.color,
508
520
  x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
509
- y: t.value.top + a.value.height * s + a.value.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),
521
+ y: t.value.top + a.value.height * n + a.value.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),
510
522
  "text-anchor": "end",
511
523
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
512
- }, x(p.value.yLabels[s]), 9, Nl),
524
+ }, x(p.value.yLabels[n]), 9, Il),
513
525
  e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
514
526
  key: 0,
515
527
  class: "vue-ui-heatmap-row-total",
516
528
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
517
529
  fill: e.value.style.layout.dataLabels.yAxis.color,
518
530
  x: t.value.left + e.value.style.layout.dataLabels.yAxis.offsetX - 6,
519
- y: t.value.top + a.value.height * s + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
531
+ y: t.value.top + a.value.height * n + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
520
532
  "text-anchor": "end",
521
533
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
522
- }, x(We(s)), 9, Vl)) : d("", !0)
534
+ }, x(qe(n)), 9, Pl)) : d("", !0)
523
535
  ])) : d("", !0),
524
- e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Fl, [
536
+ e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Rl, [
525
537
  v("rect", {
526
538
  x: t.value.left,
527
- y: t.value.top + a.value.height * s,
539
+ y: t.value.top + a.value.height * n,
528
540
  width: a.value.height / 3,
529
541
  height: a.value.height - e.value.style.layout.cells.spacing,
530
542
  fill: e.value.style.layout.cells.colors.underlayer,
531
543
  stroke: e.value.style.backgroundColor,
532
544
  "stroke-width": e.value.style.layout.cells.spacing
533
- }, null, 8, Il),
545
+ }, null, 8, Xl),
534
546
  v("rect", {
535
547
  x: t.value.left,
536
- y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
548
+ y: t.value.top + a.value.height * n + e.value.style.layout.cells.spacing / 2,
537
549
  width: a.value.height / 3,
538
550
  height: a.value.height - e.value.style.layout.cells.spacing,
539
- fill: p.value.yTotals[s].color,
551
+ fill: p.value.yTotals[n].color,
540
552
  stroke: e.value.style.backgroundColor,
541
553
  "stroke-width": e.value.style.layout.cells.spacing
542
- }, null, 8, Pl)
554
+ }, null, 8, Bl)
543
555
  ])) : d("", !0)
544
556
  ]))), 256)),
545
- e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Rl, [
546
- (o(!0), i(_, null, z(p.value.xLabels, (n, s) => (o(), i(_, null, [
547
- !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
557
+ e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Dl, [
558
+ (o(!0), i(_, null, z(p.value.xLabels, (u, n) => (o(), i(_, null, [
559
+ !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && n % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
548
560
  key: 0,
549
561
  class: "vue-ui-heatmap-col-name",
550
562
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
551
563
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
552
564
  fill: e.value.style.layout.dataLabels.xAxis.color,
553
565
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
554
- transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / p.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
555
- }, x(n), 9, Xl)) : d("", !0)
566
+ transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / p.value.xLabels.length * n + e.value.style.layout.dataLabels.xAxis.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${t.value.top + e.value.style.layout.dataLabels.xAxis.offsetY - 6 - (e.value.style.layout.cells.columnTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}), rotate(${e.value.style.layout.dataLabels.xAxis.rotation})`
567
+ }, x(u), 9, El)) : d("", !0)
556
568
  ], 64))), 256))
557
569
  ])) : d("", !0),
558
- e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(p.value.xLabels, (n, s) => (o(), i("text", {
570
+ e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(p.value.xLabels, (u, n) => (o(), i("text", {
559
571
  class: "vue-ui-heatmap-col-total",
560
572
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
561
573
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
562
574
  fill: e.value.style.layout.dataLabels.xAxis.color,
563
575
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
564
- transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / p.value.xLabels.length * s + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${(a.value.height + e.value.style.layout.cells.spacing) * (U.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
565
- }, x(qe(s)), 9, Bl))), 256)) : d("", !0),
566
- G.value ? (o(), i("g", Dl, [
576
+ transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / p.value.xLabels.length * n + e.value.style.layout.dataLabels.xAxis.offsetX + e.value.style.layout.cells.columnTotal.value.offsetX + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0)}, ${(a.value.height + e.value.style.layout.cells.spacing) * (U.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
577
+ }, x(Ke(n)), 9, Ul))), 256)) : d("", !0),
578
+ H.value ? (o(), i("g", Yl, [
567
579
  v("rect", {
568
580
  style: { "pointer-events": "none" },
569
- x: G.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
570
- y: G.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
581
+ x: H.value.x - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
582
+ y: H.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
571
583
  width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
572
584
  height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
573
585
  fill: "transparent",
574
586
  stroke: e.value.style.layout.cells.selected.color,
575
587
  "stroke-width": e.value.style.layout.cells.selected.border,
576
588
  rx: 1
577
- }, null, 8, El)
589
+ }, null, 8, Gl)
578
590
  ])) : d("", !0),
579
- e.value.style.legend.show && Q.value === "right" ? (o(), i("g", Ul, [
591
+ e.value.style.legend.show && ee.value === "right" ? (o(), i("g", Hl, [
580
592
  v("defs", null, [
581
593
  v("linearGradient", {
582
594
  id: `colorScaleVertical_${Y.value}`,
@@ -586,12 +598,12 @@ const kl = ["id"], _l = {
586
598
  v("stop", {
587
599
  offset: "0%",
588
600
  "stop-color": e.value.style.layout.cells.colors.hot
589
- }, null, 8, Gl),
601
+ }, null, 8, Wl),
590
602
  v("stop", {
591
603
  offset: "100%",
592
604
  "stop-color": e.value.style.layout.cells.colors.cold
593
- }, null, 8, Hl)
594
- ], 8, Yl)
605
+ }, null, 8, ql)
606
+ ], 8, jl)
595
607
  ]),
596
608
  v("text", {
597
609
  x: t.value.right + 36 + 18,
@@ -608,7 +620,7 @@ const kl = ["id"], _l = {
608
620
  s: e.value.style.layout.dataLabels.suffix,
609
621
  r: e.value.style.legend.roundingValue
610
622
  })
611
- )), 9, jl),
623
+ )), 9, Kl),
612
624
  v("rect", {
613
625
  x: t.value.right + 36,
614
626
  y: t.value.top,
@@ -616,7 +628,7 @@ const kl = ["id"], _l = {
616
628
  height: ne.value,
617
629
  rx: e.value.style.legend.scaleBorderRadius,
618
630
  fill: `url(#colorScaleVertical_${Y.value})`
619
- }, null, 8, Wl),
631
+ }, null, 8, Jl),
620
632
  v("text", {
621
633
  x: t.value.right + 36 + 18,
622
634
  y: t.value.top + ne.value + e.value.style.legend.fontSize * 2.5,
@@ -632,34 +644,34 @@ const kl = ["id"], _l = {
632
644
  s: e.value.style.layout.dataLabels.suffix,
633
645
  r: e.value.style.legend.roundingValue
634
646
  })
635
- )), 9, ql),
647
+ )), 9, Ql),
636
648
  O.value !== null ? (o(), i("line", {
637
649
  key: 0,
638
- stroke: r(de)(H.value.datapoint.color),
650
+ stroke: r(de)(W.value.datapoint.color),
639
651
  "stroke-width": "2",
640
652
  x1: t.value.right + 36,
641
653
  x2: t.value.right + 72,
642
- y1: j.value,
643
- y2: j.value
644
- }, null, 8, Kl)) : d("", !0),
654
+ y1: q.value,
655
+ y2: q.value
656
+ }, null, 8, Zl)) : d("", !0),
645
657
  O.value !== null ? (o(), i("path", {
646
658
  key: 1,
647
659
  fill: e.value.style.color,
648
660
  stroke: "none",
649
- d: `M ${t.value.right + 36},${j.value} ${t.value.right + 26},${j.value - 8} ${t.value.right + 26},${j.value + 8}z`
650
- }, null, 8, Jl)) : d("", !0)
661
+ d: `M ${t.value.right + 36},${q.value} ${t.value.right + 26},${q.value - 8} ${t.value.right + 26},${q.value + 8}z`
662
+ }, null, 8, et)) : d("", !0)
651
663
  ])) : d("", !0),
652
- e.value.style.legend.show && Q.value === "bottom" ? (o(), i("g", Ql, [
664
+ e.value.style.legend.show && ee.value === "bottom" ? (o(), i("g", lt, [
653
665
  v("defs", null, [
654
- v("linearGradient", Zl, [
666
+ v("linearGradient", tt, [
655
667
  v("stop", {
656
668
  offset: "0%",
657
669
  "stop-color": e.value.style.layout.cells.colors.cold
658
- }, null, 8, et),
670
+ }, null, 8, at),
659
671
  v("stop", {
660
672
  offset: "100%",
661
673
  "stop-color": e.value.style.layout.cells.colors.hot
662
- }, null, 8, lt)
674
+ }, null, 8, ot)
663
675
  ])
664
676
  ]),
665
677
  v("rect", {
@@ -669,7 +681,7 @@ const kl = ["id"], _l = {
669
681
  height: e.value.style.layout.cells.height,
670
682
  rx: e.value.style.legend.scaleBorderRadius > e.value.style.layout.cells.height / 2 ? e.value.style.layout.cells.height / 2 : e.value.style.legend.scaleBorderRadius,
671
683
  fill: "url(#colorScaleHorizontal)"
672
- }, null, 8, tt),
684
+ }, null, 8, st),
673
685
  v("text", {
674
686
  x: t.value.left,
675
687
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -685,7 +697,7 @@ const kl = ["id"], _l = {
685
697
  s: e.value.style.layout.dataLabels.suffix,
686
698
  r: e.value.style.legend.roundingValue
687
699
  })
688
- )), 9, at),
700
+ )), 9, ut),
689
701
  v("text", {
690
702
  x: t.value.right,
691
703
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -701,32 +713,32 @@ const kl = ["id"], _l = {
701
713
  s: e.value.style.layout.dataLabels.suffix,
702
714
  r: e.value.style.legend.roundingValue
703
715
  })
704
- )), 9, ot),
716
+ )), 9, nt),
705
717
  O.value !== null ? (o(), i("line", {
706
718
  key: 0,
707
- stroke: r(de)(H.value.datapoint.color),
719
+ stroke: r(de)(W.value.datapoint.color),
708
720
  "stroke-width": "2",
709
- x1: W.value,
710
- x2: W.value,
721
+ x1: K.value,
722
+ x2: K.value,
711
723
  y1: t.value.bottom + e.value.style.layout.cells.height,
712
724
  y2: t.value.bottom + e.value.style.layout.cells.height * 2
713
- }, null, 8, st)) : d("", !0),
725
+ }, null, 8, it)) : d("", !0),
714
726
  O.value !== null ? (o(), i("path", {
715
727
  key: 1,
716
728
  fill: e.value.style.color,
717
729
  stroke: "none",
718
- d: `M ${W.value},${t.value.bottom + e.value.style.layout.cells.height} ${W.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${W.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
719
- }, null, 8, ut)) : d("", !0)
730
+ d: `M ${K.value},${t.value.bottom + e.value.style.layout.cells.height} ${K.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${K.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
731
+ }, null, 8, rt)) : d("", !0)
720
732
  ])) : d("", !0),
721
733
  m(l.$slots, "svg", { svg: $.value }, void 0, !0)
722
- ], 14, Cl)) : d("", !0),
723
- l.$slots.watermark ? (o(), i("div", nt, [
734
+ ], 14, Tl)) : d("", !0),
735
+ l.$slots.watermark ? (o(), i("div", vt, [
724
736
  m(l.$slots, "watermark", D(E({ isPrinting: r(ke) || r(_e) })), void 0, !0)
725
737
  ])) : d("", !0),
726
- l.$slots.source ? (o(), i("div", it, [
738
+ l.$slots.source ? (o(), i("div", yt, [
727
739
  m(l.$slots, "source", {}, void 0, !0)
728
740
  ], 512)) : d("", !0),
729
- J.value ? d("", !0) : (o(), q(r(Pe), {
741
+ Z.value ? d("", !0) : (o(), J(r(Re), {
730
742
  key: 7,
731
743
  config: {
732
744
  type: "heatmap",
@@ -738,7 +750,7 @@ const kl = ["id"], _l = {
738
750
  }
739
751
  }
740
752
  }, null, 8, ["config"])),
741
- ve(r(Re), {
753
+ ve(r(Xe), {
742
754
  show: C.value.showTooltip && ae.value,
743
755
  backgroundColor: e.value.style.tooltip.backgroundColor,
744
756
  color: e.value.style.tooltip.color,
@@ -749,20 +761,20 @@ const kl = ["id"], _l = {
749
761
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
750
762
  position: e.value.style.tooltip.position,
751
763
  offsetY: e.value.style.tooltip.offsetY,
752
- parent: te.value,
764
+ parent: G.value,
753
765
  content: oe.value,
754
766
  isFullscreen: X.value,
755
767
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
756
768
  }, {
757
769
  "tooltip-before": A(() => [
758
- m(l.$slots, "tooltip-before", D(E({ ...H.value })), void 0, !0)
770
+ m(l.$slots, "tooltip-before", D(E({ ...W.value })), void 0, !0)
759
771
  ]),
760
772
  "tooltip-after": A(() => [
761
- m(l.$slots, "tooltip-after", D(E({ ...H.value })), void 0, !0)
773
+ m(l.$slots, "tooltip-after", D(E({ ...W.value })), void 0, !0)
762
774
  ]),
763
775
  _: 3
764
776
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
765
- J.value ? (o(), q(ml, {
777
+ Z.value ? (o(), J(wl, {
766
778
  key: 8,
767
779
  hideDetails: "",
768
780
  config: {
@@ -786,27 +798,27 @@ const kl = ["id"], _l = {
786
798
  }, [
787
799
  v("div", {
788
800
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
789
- class: le({ "vue-ui-responsive": pe.value })
801
+ class: te({ "vue-ui-responsive": pe.value })
790
802
  }, [
791
803
  v("div", {
792
804
  role: "button",
793
805
  tabindex: "0",
794
806
  style: T(`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};`),
795
- onClick: u[1] || (u[1] = (n) => C.value.showTable = !1),
796
- onKeypress: u[2] || (u[2] = al((n) => C.value.showTable = !1, ["enter"]))
807
+ onClick: s[1] || (s[1] = (u) => C.value.showTable = !1),
808
+ onKeypress: s[2] || (s[2] = sl((u) => C.value.showTable = !1, ["enter"]))
797
809
  }, [
798
- ve(r(Ve), {
810
+ ve(r(Fe), {
799
811
  name: "close",
800
812
  stroke: e.value.table.th.color,
801
813
  "stroke-width": 2
802
814
  }, null, 8, ["stroke"])
803
815
  ], 36),
804
- v("table", rt, [
816
+ v("table", dt, [
805
817
  v("caption", {
806
818
  style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
807
819
  }, [
808
- ol(x(e.value.style.title.text) + " ", 1),
809
- e.value.style.title.subtitle.text ? (o(), i("span", vt, x(e.value.style.title.subtitle.text), 1)) : d("", !0)
820
+ ul(x(e.value.style.title.text) + " ", 1),
821
+ e.value.style.title.subtitle.text ? (o(), i("span", ct, x(e.value.style.title.subtitle.text), 1)) : d("", !0)
810
822
  ], 4),
811
823
  v("thead", null, [
812
824
  v("tr", {
@@ -816,16 +828,16 @@ const kl = ["id"], _l = {
816
828
  v("th", {
817
829
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
818
830
  }, null, 4),
819
- (o(!0), i(_, null, z(U.dataset, (n, s) => (o(), i("th", {
831
+ (o(!0), i(_, null, z(U.dataset, (u, n) => (o(), i("th", {
820
832
  align: "right",
821
833
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
822
- }, x(n.name), 5))), 256))
834
+ }, x(u.name), 5))), 256))
823
835
  ], 4)
824
836
  ]),
825
837
  v("tbody", null, [
826
- (o(!0), i(_, null, z(p.value.xLabels, (n, s) => (o(), i("tr", {
838
+ (o(!0), i(_, null, z(p.value.xLabels, (u, n) => (o(), i("tr", {
827
839
  role: "row",
828
- class: le({ "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 }),
840
+ class: te({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": n % 2 === 0, "vue-ui-data-table__tbody__row-odd": n % 2 !== 0 }),
829
841
  style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
830
842
  }, [
831
843
  v("td", {
@@ -833,15 +845,15 @@ const kl = ["id"], _l = {
833
845
  class: "vue-ui-data-table__tbody__td",
834
846
  style: T(`outline:${e.value.table.td.outline}`)
835
847
  }, [
836
- v("div", dt, x(n), 1)
837
- ], 12, yt),
848
+ v("div", gt, x(u), 1)
849
+ ], 12, ht),
838
850
  (o(!0), i(_, null, z(U.dataset, (c, h) => (o(), i("td", {
839
851
  class: "vue-ui-data-table__tbody__td",
840
852
  "data-cell": U.dataset[h].name,
841
853
  style: T(`outline:${e.value.table.td.outline}`)
842
854
  }, [
843
- v("div", ht, x(isNaN(c.values[s]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: c.values[s], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
844
- ], 12, ct))), 256))
855
+ v("div", ft, x(isNaN(c.values[n]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: c.values[n], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
856
+ ], 12, pt))), 256))
845
857
  ], 6))), 256))
846
858
  ])
847
859
  ])
@@ -850,9 +862,9 @@ const kl = ["id"], _l = {
850
862
  ]),
851
863
  _: 1
852
864
  }, 8, ["config"])) : d("", !0)
853
- ], 46, kl));
865
+ ], 46, $l));
854
866
  }
855
- }, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-d787bdf9"]]);
867
+ }, zt = /* @__PURE__ */ Cl(bt, [["__scopeId", "data-v-c11e7656"]]);
856
868
  export {
857
- $t as default
869
+ zt as default
858
870
  };