vue-data-ui 2.16.6 → 2.17.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 (94) hide show
  1. package/README.md +84 -53
  2. package/dist/{Arrow-DCqxVwey.js → Arrow-BDCVJzQB.js} +1 -1
  3. package/dist/{BaseDraggableDialog-6DIKXIBU.js → BaseDraggableDialog-BvuWrldK.js} +2 -2
  4. package/dist/{BaseIcon-Bn996RXm.js → BaseIcon-D9Tz8ARD.js} +1 -1
  5. package/dist/{ColorPicker-OFfLkKNb.js → ColorPicker-wGf46G2G.js} +2 -2
  6. package/dist/{DataTable-CHBLjKtZ.js → DataTable-Dt-TIOyY.js} +2 -2
  7. package/dist/{Legend-nBXoxXJH.js → Legend-3LNqqLDg.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-Cls2idJS.js → NonSvgPenAndPaper-iDdMuUEo.js} +3 -3
  9. package/dist/{PackageVersion-Bg_9KCU-.js → PackageVersion-C-4Ee8BQ.js} +1 -1
  10. package/dist/{PenAndPaper-BPTpbnay.js → PenAndPaper-Cde-wJ3N.js} +32 -32
  11. package/dist/{Shape-Bnf512BA.js → Shape-C75836Jl.js} +1 -1
  12. package/dist/{Slicer-BrqtJG2E.js → Slicer-CpSu7plp.js} +2 -2
  13. package/dist/{SparkTooltip-C-rLATAw.js → SparkTooltip-B_GXa2tb.js} +1 -1
  14. package/dist/{Title-Gi81VwUM.js → Title-DpERl1yr.js} +1 -1
  15. package/dist/{Tooltip-CJxVw7-T.js → Tooltip-DA0bYKFG.js} +1 -1
  16. package/dist/{UserOptions-CBEK6_jo.js → UserOptions-DTEJ3UM_.js} +2 -2
  17. package/dist/{dom-to-png-CRHNL8VU.js → dom-to-png-DWDGYXFL.js} +1 -1
  18. package/dist/{img-BgOg8opa.js → img-utitT2Gd.js} +1 -1
  19. package/dist/{index-DvIXJm6t.js → index-CobsZUkv.js} +22 -8
  20. package/dist/{pdf-DhTxBrbJ.js → pdf-DWZ8IB56.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +999 -160
  23. package/dist/types/vue-data-ui.d.ts +999 -160
  24. package/dist/{useNestedProp-DrYHm61t.js → useNestedProp-BwL5wmVa.js} +1 -1
  25. package/dist/{usePrinter-CWnXbGMb.js → usePrinter-DPh6U_Qk.js} +2 -2
  26. package/dist/vue-data-ui-D7ZgRDQ_.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-ORUAjkg7.js} +246 -231
  29. package/dist/{vue-ui-accordion-D55kCO5G.js → vue-ui-accordion-UewqY6OI.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-DSshyUn-.js → vue-ui-age-pyramid-Yl4aRpNc.js} +225 -210
  31. package/dist/{vue-ui-annotator-DQSMv_k2.js → vue-ui-annotator-B1gqiBqq.js} +2 -2
  32. package/dist/{vue-ui-bullet-FeScjj7q.js → vue-ui-bullet-C307lCPt.js} +168 -153
  33. package/dist/{vue-ui-candlestick-Drupgyoi.js → vue-ui-candlestick-BE6PcEdh.js} +218 -203
  34. package/dist/{vue-ui-carousel-table-BTZQRZfO.js → vue-ui-carousel-table-Cpvjr677.js} +4 -4
  35. package/dist/{vue-ui-chestnut-DLWjPwRL.js → vue-ui-chestnut-CUw74AgC.js} +412 -397
  36. package/dist/{vue-ui-chord-BgLbFBT9.js → vue-ui-chord-CCPGeAiY.js} +202 -187
  37. package/dist/{vue-ui-circle-pack-VXcRh2gy.js → vue-ui-circle-pack-dfyPiQmy.js} +222 -207
  38. package/dist/{vue-ui-cursor-DWmfnM25.js → vue-ui-cursor-C2zmfeoD.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CGIocEHj.js → vue-ui-dashboard-CotAqRbX.js} +62 -62
  40. package/dist/{vue-ui-digits-BgQch3Fc.js → vue-ui-digits-7qJFCuoI.js} +2 -2
  41. package/dist/{vue-ui-donut-B59bCV5_.js → vue-ui-donut-D41WeqQU.js} +420 -411
  42. package/dist/{vue-ui-donut-evolution-CI8qBIQd.js → vue-ui-donut-evolution-Deg0dsYg.js} +352 -340
  43. package/dist/{vue-ui-dumbbell-CXv7sk88.js → vue-ui-dumbbell-DDwNoTPG.js} +214 -199
  44. package/dist/{vue-ui-flow-DxF0ELtv.js → vue-ui-flow-6oR7IMyi.js} +215 -200
  45. package/dist/{vue-ui-funnel-Bco8rqF8.js → vue-ui-funnel-BnXtOJmh.js} +212 -197
  46. package/dist/{vue-ui-galaxy-CaPJwwOj.js → vue-ui-galaxy-75XC8SpV.js} +213 -201
  47. package/dist/{vue-ui-gauge-D7arhDmb.js → vue-ui-gauge-w31j915C.js} +218 -203
  48. package/dist/{vue-ui-gizmo-Dwli-Mip.js → vue-ui-gizmo-bZqk6oZS.js} +3 -3
  49. package/dist/{vue-ui-heatmap-Cyn-ahGO.js → vue-ui-heatmap-BfU62tMW.js} +242 -223
  50. package/dist/{vue-ui-history-plot-C2AEToqx.js → vue-ui-history-plot-CFfco-Yj.js} +267 -252
  51. package/dist/{vue-ui-kpi-DKDibSdl.js → vue-ui-kpi-DaJ1U3wf.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-B8OVutUx.js → vue-ui-mini-loader-CF_2jAI8.js} +2 -2
  53. package/dist/{vue-ui-molecule-BVSrqIGw.js → vue-ui-molecule-Tdk3Gd8M.js} +207 -192
  54. package/dist/{vue-ui-mood-radar-DvlyS3RN.js → vue-ui-mood-radar-Dg5wS7W5.js} +204 -189
  55. package/dist/{vue-ui-nested-donuts-D9ssSus6.js → vue-ui-nested-donuts-CpRe0sQB.js} +248 -240
  56. package/dist/{vue-ui-onion-Buu4VX3u.js → vue-ui-onion-B8o4ft2v.js} +184 -169
  57. package/dist/{vue-ui-parallel-coordinate-plot-DFLUvhxD.js → vue-ui-parallel-coordinate-plot-zW-CNqWC.js} +192 -177
  58. package/dist/{vue-ui-quadrant-BMC7NBGd.js → vue-ui-quadrant-DiRtZ16w.js} +259 -244
  59. package/dist/{vue-ui-quick-chart-DB9RKUkb.js → vue-ui-quick-chart-BRlYC_yT.js} +324 -309
  60. package/dist/{vue-ui-radar-68NMPxxQ.js → vue-ui-radar-DKgX1Ibx.js} +195 -180
  61. package/dist/{vue-ui-rating-swH9kRr3.js → vue-ui-rating-DlklKr-X.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CT-EdSjO.js → vue-ui-relation-circle-MHiAp8dC.js} +186 -171
  63. package/dist/{vue-ui-ridgeline-DftROPaX.js → vue-ui-ridgeline-DA8verAe.js} +227 -212
  64. package/dist/{vue-ui-rings-M-9dPI5D.js → vue-ui-rings-Dh6lFqun.js} +214 -202
  65. package/dist/{vue-ui-scatter-CsGhaFJh.js → vue-ui-scatter-CLC5sTOi.js} +270 -256
  66. package/dist/{vue-ui-skeleton-BAOt2neL.js → vue-ui-skeleton-8s4xts8z.js} +3 -3
  67. package/dist/{vue-ui-smiley-7_kIgPg-.js → vue-ui-smiley-utuzw8uI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DHlQQpwz.js → vue-ui-spark-trend-BODEqGRr.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BnHhzuKf.js → vue-ui-sparkbar-B8MB-kn9.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-WtfkCK8g.js → vue-ui-sparkgauge-CuD7kTS3.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-B2u4XLVd.js → vue-ui-sparkhistogram-BYJszvna.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DKIyUlSm.js → vue-ui-sparkline-D77GyWzG.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BLGz2qIb.js → vue-ui-sparkstackbar-DNb1yD64.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BDpMsTYe.js → vue-ui-stackbar-C6rjCYDD.js} +251 -236
  75. package/dist/{vue-ui-strip-plot-5qDcYPnR.js → vue-ui-strip-plot-B6cYojHQ.js} +239 -224
  76. package/dist/{vue-ui-table-Bg5HIQ3O.js → vue-ui-table-IC7SmWVd.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DmjNy1q1.js → vue-ui-table-heatmap-DHFpJMpA.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-CnkJkBk5.js → vue-ui-table-sparkline-D7wz-sCj.js} +4 -4
  79. package/dist/{vue-ui-thermometer-RlD-9mJf.js → vue-ui-thermometer-D-oiVT3n.js} +168 -153
  80. package/dist/{vue-ui-timer-Bes74INL.js → vue-ui-timer-C9jVyX5l.js} +5 -5
  81. package/dist/vue-ui-tiremarks-B1bM9Aoo.js +358 -0
  82. package/dist/{vue-ui-treemap-BG1Omm38.js → vue-ui-treemap-DX48YlU5.js} +374 -362
  83. package/dist/{vue-ui-vertical-bar-CwqQyZFX.js → vue-ui-vertical-bar-6SjKPQWR.js} +252 -237
  84. package/dist/{vue-ui-waffle-Ce3T4BPp.js → vue-ui-waffle-CYao9MMw.js} +232 -220
  85. package/dist/vue-ui-wheel-USuDhMwW.js +352 -0
  86. package/dist/vue-ui-word-cloud-TOBTs7yF.js +659 -0
  87. package/dist/{vue-ui-world-B9PxVO4n.js → vue-ui-world-C2qikqBa.js} +237 -222
  88. package/dist/{vue-ui-xy-DtJ7qJib.js → vue-ui-xy-DxwgKoO-.js} +557 -544
  89. package/dist/{vue-ui-xy-canvas-S6YpFgzs.js → vue-ui-xy-canvas-N69OpVn8.js} +395 -380
  90. package/package.json +1 -1
  91. package/dist/vue-data-ui-B8EWlMIK.js +0 -301
  92. package/dist/vue-ui-tiremarks-DiLS3akQ.js +0 -343
  93. package/dist/vue-ui-wheel-6B0WTkf2.js +0 -337
  94. package/dist/vue-ui-word-cloud-ByYZCOh7.js +0 -644
@@ -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 D, computed as f, ref as b, watch as Me, shallowRef as ll, onMounted as tl, onBeforeUnmount as al, createElementBlock as i, openBlock as u, 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 E, guardReactiveProps as U, 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-CobsZUkv.js";
3
+ import { u as Se } from "./useNestedProp-BwL5wmVa.js";
4
+ import { u as bl } from "./usePrinter-DPh6U_Qk.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-UewqY6OI.js";
8
+ import kl from "./Title-DpERl1yr.js";
9
+ import _l from "./img-utitT2Gd.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,72 +41,72 @@ 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(Y, { expose: Ne, emit: Ve }) {
45
+ el((l) => ({
46
+ "757909df": 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 = D(() => import("./BaseIcon-D9Tz8ARD.js")), Ie = D(() => import("./PackageVersion-C-4Ee8BQ.js")), Pe = D(() => import("./PenAndPaper-Cde-wJ3N.js")), Re = D(() => import("./vue-ui-skeleton-8s4xts8z.js")), Xe = D(() => import("./Tooltip-DA0bYKFG.js")), Be = D(() => import("./UserOptions-DTEJ3UM_.js")), { vue_ui_heatmap: De } = il(), y = Y, 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 G = b(ye()), R = 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 o = {};
63
+ return l.theme ? o = {
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
+ } : o = l, y.config && yl(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? o.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : o.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, o;
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
- elementId: `heatmap__${Y.value}`,
75
+ const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: $e } = bl({
76
+ elementId: `heatmap__${G.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() {
83
- R.value && R.value.disconnect(), R.value = new ResizeObserver((l) => {
84
- l.forEach((u) => {
85
- pe.value = u.contentRect.width < Ge.value;
82
+ }), He = f(() => e.value.table.responsiveBreakpoint), X = ll(null);
83
+ function je() {
84
+ X.value && X.value.disconnect(), X.value = new ResizeObserver((l) => {
85
+ l.forEach((o) => {
86
+ pe.value = o.contentRect.width < He.value;
86
87
  });
87
- }), R.value.observe(ge.value);
88
+ }), X.value.observe(ge.value);
88
89
  }
89
- el(ue), ll(() => {
90
- R.value && R.value.disconnect();
90
+ tl(ue), al(() => {
91
+ X.value && X.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, o = 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
98
  return {
98
99
  height: l,
99
100
  heightWithLegend: n,
100
- width: u
101
+ width: o
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
111
  const l = y.dataset.flatMap((n) => n.values);
111
112
  return l.reduce((n, s) => n + s, 0) / l.length;
@@ -113,7 +114,7 @@ const kl = ["id"], _l = {
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), o = 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
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);
@@ -123,7 +124,7 @@ const kl = ["id"], _l = {
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, s, 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: o.slice(0, V.value)
139
140
  };
140
- }), Z = f(() => (y.dataset.forEach((l, u) => {
141
- vl({
141
+ }), j = f(() => (y.dataset.forEach((l, o) => {
142
+ dl({
142
143
  datasetObject: l,
143
144
  requiredAttributes: ["values"]
144
145
  }).forEach((n) => {
145
- Me({
146
+ Oe({
146
147
  componentName: "VueUiHeatmap",
147
148
  type: "datasetSerieAttribute",
148
149
  property: "values",
149
- index: u
150
+ index: o
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((o, n) => o >= 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, o),
158
+ ratio: Math.abs(Math.abs(o - I.value) / Math.abs(L.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(o - I.value) / Math.abs(L.value - I.value)),
159
+ value: o,
159
160
  yAxisName: l.name,
160
161
  xAxisName: p.value.xLabels[n],
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(o) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(o) / 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, o),
167
+ value: o,
167
168
  yAxisName: l.name,
168
169
  xAxisName: p.value.xLabels[n],
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, o, n, s) {
174
+ H.value = { x: n, y: s };
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: o,
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: o,
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: o,
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: o }
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,
@@ -232,72 +233,90 @@ const kl = ["id"], _l = {
232
233
  f(() => {
233
234
  const l = y.dataset.map((n) => ({
234
235
  name: n.name
235
- })), u = y.dataset.map((n) => n.values);
236
- return { head: l, body: u };
236
+ })), o = y.dataset.map((n) => n.values);
237
+ return { head: l, body: o };
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 o = ["", ...y.dataset.map((h, k) => h.name)], n = [];
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
246
  n.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 s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([o]).concat(n), c = hl(s);
249
+ l ? l(c) : gl({ csvContent: c, title: e.value.style.title.text || "vue-ui-heatmap" });
249
250
  });
250
251
  }
251
- const X = b(!1);
252
- function Ke(l) {
253
- X.value = l, he.value += 1;
252
+ const B = b(!1);
253
+ function Te(l) {
254
+ B.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);
267
268
  }
268
- return Se({
269
+ function Qe() {
270
+ return j.value;
271
+ }
272
+ async function Ze({ scale: l = 2 } = {}) {
273
+ if (!R.value) return;
274
+ const { width: o, height: n } = R.value.getBoundingClientRect(), s = o / n, { imageUri: c, base64: h } = await _l({ domElement: R.value, base64: !0, img: !0, scale: l });
275
+ return {
276
+ imageUri: c,
277
+ base64: h,
278
+ title: e.value.style.title.text,
279
+ width: o,
280
+ height: n,
281
+ aspectRatio: s
282
+ };
283
+ }
284
+ return Ne({
285
+ getData: Qe,
286
+ getImage: Ze,
269
287
  generatePdf: Ce,
270
288
  generateCsv: Le,
271
289
  generateImage: $e,
272
- toggleTable: Te,
273
- toggleTooltip: Ae,
274
- toggleAnnotator: ie
275
- }), (l, u) => (o(), i("div", {
290
+ toggleTable: Ae,
291
+ toggleTooltip: ze,
292
+ toggleAnnotator: ie,
293
+ toggleFullscreen: Te
294
+ }), (l, o) => (u(), i("div", {
276
295
  ref_key: "heatmapChart",
277
- ref: te,
278
- class: le(`vue-ui-heatmap ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
296
+ ref: R,
297
+ class: te(`vue-ui-heatmap ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
279
298
  style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
280
- id: `heatmap__${Y.value}`,
281
- onMouseenter: u[3] || (u[3] = () => r(be)(!0)),
282
- onMouseleave: u[4] || (u[4] = () => r(be)(!1))
299
+ id: `heatmap__${G.value}`,
300
+ onMouseenter: o[3] || (o[3] = () => r(be)(!0)),
301
+ onMouseleave: o[4] || (o[4] = () => r(be)(!1))
283
302
  }, [
284
- e.value.userOptions.buttons.annotator ? (o(), q(r(Ie), {
303
+ e.value.userOptions.buttons.annotator ? (u(), J(r(Pe), {
285
304
  key: 0,
286
305
  svgRef: r(xe),
287
306
  backgroundColor: e.value.style.backgroundColor,
288
307
  color: e.value.style.color,
289
- active: ee.value,
308
+ active: le.value,
290
309
  onClose: ie
291
310
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : d("", !0),
292
- Ye.value ? (o(), i("div", {
311
+ Ge.value ? (u(), i("div", {
293
312
  key: 1,
294
313
  ref_key: "noTitle",
295
- ref: Ue,
314
+ ref: Ye,
296
315
  class: "vue-data-ui-no-title-space",
297
316
  style: "height:36px; width: 100%;background:transparent"
298
317
  }, null, 512)) : d("", !0),
299
- e.value.style.title.text ? (o(), i("div", _l, [
300
- (o(), q(xl, {
318
+ e.value.style.title.text ? (u(), i("div", Ll, [
319
+ (u(), J(kl, {
301
320
  key: `title_${fe.value}`,
302
321
  config: {
303
322
  title: {
@@ -311,45 +330,45 @@ const kl = ["id"], _l = {
311
330
  }
312
331
  }, null, 8, ["config"]))
313
332
  ])) : d("", !0),
314
- e.value.userOptions.show && J.value && (r(me) || r(se)) ? (o(), q(r(Xe), {
333
+ e.value.userOptions.show && Z.value && (r(me) || r(se)) ? (u(), J(r(Be), {
315
334
  ref_key: "details",
316
- ref: Ee,
335
+ ref: Ue,
317
336
  key: `user_options_${he.value}`,
318
337
  backgroundColor: e.value.style.backgroundColor,
319
338
  color: e.value.style.color,
320
339
  isImaging: r(_e),
321
340
  isPrinting: r(ke),
322
- uid: Y.value,
341
+ uid: G.value,
323
342
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
324
343
  hasPdf: e.value.userOptions.buttons.pdf,
325
344
  hasImg: e.value.userOptions.buttons.img,
326
345
  hasXls: e.value.userOptions.buttons.csv,
327
346
  hasTable: e.value.userOptions.buttons.table,
328
347
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
329
- isFullscreen: X.value,
348
+ isFullscreen: B.value,
330
349
  isTooltip: C.value.showTooltip,
331
350
  titles: { ...e.value.userOptions.buttonTitles },
332
- chartElement: te.value,
351
+ chartElement: R.value,
333
352
  position: e.value.userOptions.position,
334
353
  hasAnnotator: e.value.userOptions.buttons.annotator,
335
- isAnnotation: ee.value,
354
+ isAnnotation: le.value,
336
355
  callbacks: e.value.userOptions.callbacks,
337
356
  printScale: e.value.userOptions.print.scale,
338
- onToggleFullscreen: Ke,
357
+ onToggleFullscreen: Te,
339
358
  onGeneratePdf: r(Ce),
340
359
  onGenerateCsv: Le,
341
360
  onGenerateImage: r($e),
342
- onToggleTable: Te,
343
- onToggleTooltip: Ae,
361
+ onToggleTable: Ae,
362
+ onToggleTooltip: ze,
344
363
  onToggleAnnotator: ie,
345
364
  style: T({
346
365
  visibility: r(me) ? r(se) ? "visible" : "hidden" : "visible"
347
366
  })
348
- }, tl({ _: 2 }, [
367
+ }, ol({ _: 2 }, [
349
368
  l.$slots.menuIcon ? {
350
369
  name: "menuIcon",
351
370
  fn: A(({ isOpen: n, color: s }) => [
352
- m(l.$slots, "menuIcon", D(E({ isOpen: n, color: s })), void 0, !0)
371
+ m(l.$slots, "menuIcon", E(U({ isOpen: n, color: s })), void 0, !0)
353
372
  ]),
354
373
  key: "0"
355
374
  } : void 0,
@@ -391,29 +410,29 @@ const kl = ["id"], _l = {
391
410
  l.$slots.optionFullscreen ? {
392
411
  name: "optionFullscreen",
393
412
  fn: A(({ toggleFullscreen: n, isFullscreen: s }) => [
394
- m(l.$slots, "optionFullscreen", D(E({ toggleFullscreen: n, isFullscreen: s })), void 0, !0)
413
+ m(l.$slots, "optionFullscreen", E(U({ toggleFullscreen: n, isFullscreen: s })), void 0, !0)
395
414
  ]),
396
415
  key: "6"
397
416
  } : void 0,
398
417
  l.$slots.optionAnnotator ? {
399
418
  name: "optionAnnotator",
400
419
  fn: A(({ toggleAnnotator: n, isAnnotator: s }) => [
401
- m(l.$slots, "optionAnnotator", D(E({ toggleAnnotator: n, isAnnotator: s })), void 0, !0)
420
+ m(l.$slots, "optionAnnotator", E(U({ toggleAnnotator: n, isAnnotator: s })), void 0, !0)
402
421
  ]),
403
422
  key: "7"
404
423
  } : void 0
405
424
  ]), 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", {
425
+ Z.value ? (u(), i("svg", {
407
426
  key: 4,
408
427
  ref_key: "svgRef",
409
428
  ref: xe,
410
- xmlns: r(yl),
411
- class: le({ "vue-data-ui-fullscreen--on": X.value, "vue-data-ui-fulscreen--off": !X.value }),
429
+ xmlns: r(cl),
430
+ class: te({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value }),
412
431
  viewBox: `0 0 ${$.value.width} ${$.value.heightWithLegend}`,
413
432
  style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
414
433
  }, [
415
- ve(r(Fe)),
416
- l.$slots["chart-background"] ? (o(), i("foreignObject", {
434
+ ve(r(Ie)),
435
+ l.$slots["chart-background"] ? (u(), i("foreignObject", {
417
436
  key: 0,
418
437
  x: 0,
419
438
  y: 0,
@@ -424,9 +443,9 @@ const kl = ["id"], _l = {
424
443
  }
425
444
  }, [
426
445
  m(l.$slots, "chart-background", {}, void 0, !0)
427
- ], 8, $l)) : d("", !0),
428
- 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", {
446
+ ], 8, Al)) : d("", !0),
447
+ e.value.style.layout.cells.columnTotal.color.show ? (u(), i(_, { key: 1 }, [
448
+ (u(!0), i(_, null, z(p.value.xTotals, (n, s) => (u(), i("rect", {
430
449
  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),
431
450
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
432
451
  height: a.value.height / 3,
@@ -434,8 +453,8 @@ const kl = ["id"], _l = {
434
453
  fill: e.value.style.layout.cells.colors.underlayer,
435
454
  stroke: e.value.style.backgroundColor,
436
455
  "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", {
456
+ }, null, 8, zl))), 256)),
457
+ (u(!0), i(_, null, z(p.value.xTotals, (n, s) => (u(), i("rect", {
439
458
  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),
440
459
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
441
460
  height: a.value.height / 3,
@@ -443,10 +462,10 @@ const kl = ["id"], _l = {
443
462
  fill: n.color,
444
463
  stroke: e.value.style.backgroundColor,
445
464
  "stroke-width": e.value.style.layout.cells.spacing
446
- }, null, 8, Tl))), 256))
465
+ }, null, 8, Ml))), 256))
447
466
  ], 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, [
467
+ (u(!0), i(_, null, z(j.value, (n, s) => (u(), i("g", null, [
468
+ (u(!0), i(_, null, z(n.temperatures, (c, h) => (u(), i("g", null, [
450
469
  v("rect", {
451
470
  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
471
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -455,7 +474,7 @@ const kl = ["id"], _l = {
455
474
  fill: e.value.style.layout.cells.colors.underlayer,
456
475
  stroke: e.value.style.backgroundColor,
457
476
  "stroke-width": e.value.style.layout.cells.spacing
458
- }, null, 8, Al),
477
+ }, null, 8, Ol),
459
478
  v("rect", {
460
479
  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
480
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -464,8 +483,8 @@ const kl = ["id"], _l = {
464
483
  fill: c.color,
465
484
  stroke: e.value.style.backgroundColor,
466
485
  "stroke-width": e.value.style.layout.cells.spacing
467
- }, null, 8, zl),
468
- e.value.style.layout.cells.value.show ? (o(), i("text", {
486
+ }, null, 8, Sl),
487
+ e.value.style.layout.cells.value.show ? (u(), i("text", {
469
488
  key: 0,
470
489
  "text-anchor": "middle",
471
490
  "font-size": e.value.style.layout.cells.value.fontSize,
@@ -483,9 +502,9 @@ const kl = ["id"], _l = {
483
502
  r: e.value.style.layout.cells.value.roundingValue
484
503
  }),
485
504
  { datapoint: c }
486
- )), 9, Ml)) : d("", !0)
505
+ )), 9, Nl)) : d("", !0)
487
506
  ]))), 256)),
488
- (o(!0), i(_, null, z(n.temperatures, (c, h) => (o(), i("g", null, [
507
+ (u(!0), i(_, null, z(n.temperatures, (c, h) => (u(), i("g", null, [
489
508
  v("rect", {
490
509
  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
510
  y: t.value.top + a.value.height * s,
@@ -493,14 +512,14 @@ const kl = ["id"], _l = {
493
512
  height: a.value.height,
494
513
  fill: "transparent",
495
514
  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;
515
+ onMouseover: (k) => We(c, s, t.value.left + a.value.width * h, t.value.top + a.value.height * s),
516
+ onMouseout: o[0] || (o[0] = (k) => {
517
+ ae.value = !1, ce.value = void 0, O.value = null, H.value = null;
499
518
  }),
500
519
  onClick: () => Je(c)
501
- }, null, 40, Ol)
520
+ }, null, 40, Vl)
502
521
  ]))), 256)),
503
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Sl, [
522
+ e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", Fl, [
504
523
  v("text", {
505
524
  class: "vue-ui-heatmap-row-name",
506
525
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -509,8 +528,8 @@ const kl = ["id"], _l = {
509
528
  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),
510
529
  "text-anchor": "end",
511
530
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
512
- }, x(p.value.yLabels[s]), 9, Nl),
513
- e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
531
+ }, x(p.value.yLabels[s]), 9, Il),
532
+ e.value.style.layout.cells.rowTotal.value.show ? (u(), i("text", {
514
533
  key: 0,
515
534
  class: "vue-ui-heatmap-row-total",
516
535
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -519,9 +538,9 @@ const kl = ["id"], _l = {
519
538
  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,
520
539
  "text-anchor": "end",
521
540
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
522
- }, x(We(s)), 9, Vl)) : d("", !0)
541
+ }, x(qe(s)), 9, Pl)) : d("", !0)
523
542
  ])) : d("", !0),
524
- e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Fl, [
543
+ e.value.style.layout.cells.rowTotal.color.show ? (u(), i("g", Rl, [
525
544
  v("rect", {
526
545
  x: t.value.left,
527
546
  y: t.value.top + a.value.height * s,
@@ -530,7 +549,7 @@ const kl = ["id"], _l = {
530
549
  fill: e.value.style.layout.cells.colors.underlayer,
531
550
  stroke: e.value.style.backgroundColor,
532
551
  "stroke-width": e.value.style.layout.cells.spacing
533
- }, null, 8, Il),
552
+ }, null, 8, Xl),
534
553
  v("rect", {
535
554
  x: t.value.left,
536
555
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -539,12 +558,12 @@ const kl = ["id"], _l = {
539
558
  fill: p.value.yTotals[s].color,
540
559
  stroke: e.value.style.backgroundColor,
541
560
  "stroke-width": e.value.style.layout.cells.spacing
542
- }, null, 8, Pl)
561
+ }, null, 8, Bl)
543
562
  ])) : d("", !0)
544
563
  ]))), 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", {
564
+ e.value.style.layout.dataLabels.xAxis.show ? (u(), i("g", Dl, [
565
+ (u(!0), i(_, null, z(p.value.xLabels, (n, s) => (u(), i(_, null, [
566
+ !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && s % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (u(), i("text", {
548
567
  key: 0,
549
568
  class: "vue-ui-heatmap-col-name",
550
569
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
@@ -552,46 +571,46 @@ const kl = ["id"], _l = {
552
571
  fill: e.value.style.layout.dataLabels.xAxis.color,
553
572
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
554
573
  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)
574
+ }, x(n), 9, El)) : d("", !0)
556
575
  ], 64))), 256))
557
576
  ])) : 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", {
577
+ e.value.style.layout.cells.columnTotal.value.show ? (u(!0), i(_, { key: 3 }, z(p.value.xLabels, (n, s) => (u(), i("text", {
559
578
  class: "vue-ui-heatmap-col-total",
560
579
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
561
580
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
562
581
  fill: e.value.style.layout.dataLabels.xAxis.color,
563
582
  "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, [
583
+ 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) * (Y.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
584
+ }, x(Ke(s)), 9, Ul))), 256)) : d("", !0),
585
+ H.value ? (u(), i("g", Yl, [
567
586
  v("rect", {
568
587
  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,
588
+ 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),
589
+ y: H.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
571
590
  width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
572
591
  height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
573
592
  fill: "transparent",
574
593
  stroke: e.value.style.layout.cells.selected.color,
575
594
  "stroke-width": e.value.style.layout.cells.selected.border,
576
595
  rx: 1
577
- }, null, 8, El)
596
+ }, null, 8, Gl)
578
597
  ])) : d("", !0),
579
- e.value.style.legend.show && Q.value === "right" ? (o(), i("g", Ul, [
598
+ e.value.style.legend.show && ee.value === "right" ? (u(), i("g", Hl, [
580
599
  v("defs", null, [
581
600
  v("linearGradient", {
582
- id: `colorScaleVertical_${Y.value}`,
601
+ id: `colorScaleVertical_${G.value}`,
583
602
  x2: "0%",
584
603
  y2: "100%"
585
604
  }, [
586
605
  v("stop", {
587
606
  offset: "0%",
588
607
  "stop-color": e.value.style.layout.cells.colors.hot
589
- }, null, 8, Gl),
608
+ }, null, 8, Wl),
590
609
  v("stop", {
591
610
  offset: "100%",
592
611
  "stop-color": e.value.style.layout.cells.colors.cold
593
- }, null, 8, Hl)
594
- ], 8, Yl)
612
+ }, null, 8, ql)
613
+ ], 8, jl)
595
614
  ]),
596
615
  v("text", {
597
616
  x: t.value.right + 36 + 18,
@@ -608,15 +627,15 @@ const kl = ["id"], _l = {
608
627
  s: e.value.style.layout.dataLabels.suffix,
609
628
  r: e.value.style.legend.roundingValue
610
629
  })
611
- )), 9, jl),
630
+ )), 9, Kl),
612
631
  v("rect", {
613
632
  x: t.value.right + 36,
614
633
  y: t.value.top,
615
634
  width: 36,
616
635
  height: ne.value,
617
636
  rx: e.value.style.legend.scaleBorderRadius,
618
- fill: `url(#colorScaleVertical_${Y.value})`
619
- }, null, 8, Wl),
637
+ fill: `url(#colorScaleVertical_${G.value})`
638
+ }, null, 8, Jl),
620
639
  v("text", {
621
640
  x: t.value.right + 36 + 18,
622
641
  y: t.value.top + ne.value + e.value.style.legend.fontSize * 2.5,
@@ -632,34 +651,34 @@ const kl = ["id"], _l = {
632
651
  s: e.value.style.layout.dataLabels.suffix,
633
652
  r: e.value.style.legend.roundingValue
634
653
  })
635
- )), 9, ql),
636
- O.value !== null ? (o(), i("line", {
654
+ )), 9, Ql),
655
+ O.value !== null ? (u(), i("line", {
637
656
  key: 0,
638
- stroke: r(de)(H.value.datapoint.color),
657
+ stroke: r(de)(W.value.datapoint.color),
639
658
  "stroke-width": "2",
640
659
  x1: t.value.right + 36,
641
660
  x2: t.value.right + 72,
642
- y1: j.value,
643
- y2: j.value
644
- }, null, 8, Kl)) : d("", !0),
645
- O.value !== null ? (o(), i("path", {
661
+ y1: q.value,
662
+ y2: q.value
663
+ }, null, 8, Zl)) : d("", !0),
664
+ O.value !== null ? (u(), i("path", {
646
665
  key: 1,
647
666
  fill: e.value.style.color,
648
667
  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)
668
+ d: `M ${t.value.right + 36},${q.value} ${t.value.right + 26},${q.value - 8} ${t.value.right + 26},${q.value + 8}z`
669
+ }, null, 8, et)) : d("", !0)
651
670
  ])) : d("", !0),
652
- e.value.style.legend.show && Q.value === "bottom" ? (o(), i("g", Ql, [
671
+ e.value.style.legend.show && ee.value === "bottom" ? (u(), i("g", lt, [
653
672
  v("defs", null, [
654
- v("linearGradient", Zl, [
673
+ v("linearGradient", tt, [
655
674
  v("stop", {
656
675
  offset: "0%",
657
676
  "stop-color": e.value.style.layout.cells.colors.cold
658
- }, null, 8, et),
677
+ }, null, 8, at),
659
678
  v("stop", {
660
679
  offset: "100%",
661
680
  "stop-color": e.value.style.layout.cells.colors.hot
662
- }, null, 8, lt)
681
+ }, null, 8, ot)
663
682
  ])
664
683
  ]),
665
684
  v("rect", {
@@ -669,7 +688,7 @@ const kl = ["id"], _l = {
669
688
  height: e.value.style.layout.cells.height,
670
689
  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
690
  fill: "url(#colorScaleHorizontal)"
672
- }, null, 8, tt),
691
+ }, null, 8, st),
673
692
  v("text", {
674
693
  x: t.value.left,
675
694
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -685,7 +704,7 @@ const kl = ["id"], _l = {
685
704
  s: e.value.style.layout.dataLabels.suffix,
686
705
  r: e.value.style.legend.roundingValue
687
706
  })
688
- )), 9, at),
707
+ )), 9, ut),
689
708
  v("text", {
690
709
  x: t.value.right,
691
710
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -701,32 +720,32 @@ const kl = ["id"], _l = {
701
720
  s: e.value.style.layout.dataLabels.suffix,
702
721
  r: e.value.style.legend.roundingValue
703
722
  })
704
- )), 9, ot),
705
- O.value !== null ? (o(), i("line", {
723
+ )), 9, nt),
724
+ O.value !== null ? (u(), i("line", {
706
725
  key: 0,
707
- stroke: r(de)(H.value.datapoint.color),
726
+ stroke: r(de)(W.value.datapoint.color),
708
727
  "stroke-width": "2",
709
- x1: W.value,
710
- x2: W.value,
728
+ x1: K.value,
729
+ x2: K.value,
711
730
  y1: t.value.bottom + e.value.style.layout.cells.height,
712
731
  y2: t.value.bottom + e.value.style.layout.cells.height * 2
713
- }, null, 8, st)) : d("", !0),
714
- O.value !== null ? (o(), i("path", {
732
+ }, null, 8, it)) : d("", !0),
733
+ O.value !== null ? (u(), i("path", {
715
734
  key: 1,
716
735
  fill: e.value.style.color,
717
736
  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)
737
+ 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`
738
+ }, null, 8, rt)) : d("", !0)
720
739
  ])) : d("", !0),
721
740
  m(l.$slots, "svg", { svg: $.value }, void 0, !0)
722
- ], 14, Cl)) : d("", !0),
723
- l.$slots.watermark ? (o(), i("div", nt, [
724
- m(l.$slots, "watermark", D(E({ isPrinting: r(ke) || r(_e) })), void 0, !0)
741
+ ], 14, Tl)) : d("", !0),
742
+ l.$slots.watermark ? (u(), i("div", vt, [
743
+ m(l.$slots, "watermark", E(U({ isPrinting: r(ke) || r(_e) })), void 0, !0)
725
744
  ])) : d("", !0),
726
- l.$slots.source ? (o(), i("div", it, [
745
+ l.$slots.source ? (u(), i("div", yt, [
727
746
  m(l.$slots, "source", {}, void 0, !0)
728
747
  ], 512)) : d("", !0),
729
- J.value ? d("", !0) : (o(), q(r(Pe), {
748
+ Z.value ? d("", !0) : (u(), J(r(Re), {
730
749
  key: 7,
731
750
  config: {
732
751
  type: "heatmap",
@@ -738,7 +757,7 @@ const kl = ["id"], _l = {
738
757
  }
739
758
  }
740
759
  }, null, 8, ["config"])),
741
- ve(r(Re), {
760
+ ve(r(Xe), {
742
761
  show: C.value.showTooltip && ae.value,
743
762
  backgroundColor: e.value.style.tooltip.backgroundColor,
744
763
  color: e.value.style.tooltip.color,
@@ -749,20 +768,20 @@ const kl = ["id"], _l = {
749
768
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
750
769
  position: e.value.style.tooltip.position,
751
770
  offsetY: e.value.style.tooltip.offsetY,
752
- parent: te.value,
771
+ parent: R.value,
753
772
  content: oe.value,
754
- isFullscreen: X.value,
773
+ isFullscreen: B.value,
755
774
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
756
775
  }, {
757
776
  "tooltip-before": A(() => [
758
- m(l.$slots, "tooltip-before", D(E({ ...H.value })), void 0, !0)
777
+ m(l.$slots, "tooltip-before", E(U({ ...W.value })), void 0, !0)
759
778
  ]),
760
779
  "tooltip-after": A(() => [
761
- m(l.$slots, "tooltip-after", D(E({ ...H.value })), void 0, !0)
780
+ m(l.$slots, "tooltip-after", E(U({ ...W.value })), void 0, !0)
762
781
  ]),
763
782
  _: 3
764
783
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
765
- J.value ? (o(), q(ml, {
784
+ Z.value ? (u(), J(wl, {
766
785
  key: 8,
767
786
  hideDetails: "",
768
787
  config: {
@@ -786,27 +805,27 @@ const kl = ["id"], _l = {
786
805
  }, [
787
806
  v("div", {
788
807
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
789
- class: le({ "vue-ui-responsive": pe.value })
808
+ class: te({ "vue-ui-responsive": pe.value })
790
809
  }, [
791
810
  v("div", {
792
811
  role: "button",
793
812
  tabindex: "0",
794
813
  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"]))
814
+ onClick: o[1] || (o[1] = (n) => C.value.showTable = !1),
815
+ onKeypress: o[2] || (o[2] = sl((n) => C.value.showTable = !1, ["enter"]))
797
816
  }, [
798
- ve(r(Ve), {
817
+ ve(r(Fe), {
799
818
  name: "close",
800
819
  stroke: e.value.table.th.color,
801
820
  "stroke-width": 2
802
821
  }, null, 8, ["stroke"])
803
822
  ], 36),
804
- v("table", rt, [
823
+ v("table", dt, [
805
824
  v("caption", {
806
825
  style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
807
826
  }, [
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)
827
+ ul(x(e.value.style.title.text) + " ", 1),
828
+ e.value.style.title.subtitle.text ? (u(), i("span", ct, x(e.value.style.title.subtitle.text), 1)) : d("", !0)
810
829
  ], 4),
811
830
  v("thead", null, [
812
831
  v("tr", {
@@ -816,16 +835,16 @@ const kl = ["id"], _l = {
816
835
  v("th", {
817
836
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
818
837
  }, null, 4),
819
- (o(!0), i(_, null, z(U.dataset, (n, s) => (o(), i("th", {
838
+ (u(!0), i(_, null, z(Y.dataset, (n, s) => (u(), i("th", {
820
839
  align: "right",
821
840
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
822
841
  }, x(n.name), 5))), 256))
823
842
  ], 4)
824
843
  ]),
825
844
  v("tbody", null, [
826
- (o(!0), i(_, null, z(p.value.xLabels, (n, s) => (o(), i("tr", {
845
+ (u(!0), i(_, null, z(p.value.xLabels, (n, s) => (u(), i("tr", {
827
846
  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 }),
847
+ class: te({ "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 }),
829
848
  style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
830
849
  }, [
831
850
  v("td", {
@@ -833,15 +852,15 @@ const kl = ["id"], _l = {
833
852
  class: "vue-ui-data-table__tbody__td",
834
853
  style: T(`outline:${e.value.table.td.outline}`)
835
854
  }, [
836
- v("div", dt, x(n), 1)
837
- ], 12, yt),
838
- (o(!0), i(_, null, z(U.dataset, (c, h) => (o(), i("td", {
855
+ v("div", gt, x(n), 1)
856
+ ], 12, ht),
857
+ (u(!0), i(_, null, z(Y.dataset, (c, h) => (u(), i("td", {
839
858
  class: "vue-ui-data-table__tbody__td",
840
- "data-cell": U.dataset[h].name,
859
+ "data-cell": Y.dataset[h].name,
841
860
  style: T(`outline:${e.value.table.td.outline}`)
842
861
  }, [
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))
862
+ v("div", ft, 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)
863
+ ], 12, pt))), 256))
845
864
  ], 6))), 256))
846
865
  ])
847
866
  ])
@@ -850,9 +869,9 @@ const kl = ["id"], _l = {
850
869
  ]),
851
870
  _: 1
852
871
  }, 8, ["config"])) : d("", !0)
853
- ], 46, kl));
872
+ ], 46, $l));
854
873
  }
855
- }, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-d787bdf9"]]);
874
+ }, zt = /* @__PURE__ */ Cl(bt, [["__scopeId", "data-v-31ec32b1"]]);
856
875
  export {
857
- $t as default
876
+ zt as default
858
877
  };