vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

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 (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -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-DMqAxz7R.js";
3
- import { u as Oe } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as pl } from "./usePrinter-COkTjv6C.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-P6eFHGQp.js";
8
- import xl from "./Title-D29apS4l.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-BzfnuLnw.js";
3
+ import { u as Se } from "./useNestedProp-DorElw91.js";
4
+ import { u as bl } from "./usePrinter-C9qkgv0r.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-DgZK-qDz.js";
8
+ import kl from "./Title-pVYRzQXY.js";
9
+ import _l from "./img-ku4zevVD.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
- f31c23a2: l.tdo
44
+ setup(Y, { expose: Ne, emit: Ve }) {
45
+ el((l) => ({
46
+ e16f0f96: l.tdo
46
47
  }));
47
- const Ve = B(() => import("./BaseIcon-DoDjTdD5.js")), Fe = B(() => import("./PackageVersion-D0VPY8-5.js")), Ie = B(() => import("./PenAndPaper-DhBJsnob.js")), Pe = B(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), Re = B(() => import("./Tooltip-hVZUY_s5.js")), Xe = B(() => import("./UserOptions-Bdit7AWO.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-BmZ4MREl.js")), Ie = D(() => import("./PackageVersion-CAkNkiIG.js")), Pe = D(() => import("./PenAndPaper-Cx1-5zdD.js")), Re = D(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), Xe = D(() => import("./Tooltip-NwATo4ZJ.js")), Be = D(() => import("./UserOptions-DAsRxxrf.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,44 +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
- onToggleFullscreen: Ke,
356
+ printScale: e.value.userOptions.print.scale,
357
+ onToggleFullscreen: Te,
338
358
  onGeneratePdf: r(Ce),
339
359
  onGenerateCsv: Le,
340
360
  onGenerateImage: r($e),
341
- onToggleTable: Te,
342
- onToggleTooltip: Ae,
361
+ onToggleTable: Ae,
362
+ onToggleTooltip: ze,
343
363
  onToggleAnnotator: ie,
344
364
  style: T({
345
365
  visibility: r(me) ? r(se) ? "visible" : "hidden" : "visible"
346
366
  })
347
- }, tl({ _: 2 }, [
367
+ }, ol({ _: 2 }, [
348
368
  l.$slots.menuIcon ? {
349
369
  name: "menuIcon",
350
370
  fn: A(({ isOpen: n, color: s }) => [
351
- 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)
352
372
  ]),
353
373
  key: "0"
354
374
  } : void 0,
@@ -390,29 +410,29 @@ const kl = ["id"], _l = {
390
410
  l.$slots.optionFullscreen ? {
391
411
  name: "optionFullscreen",
392
412
  fn: A(({ toggleFullscreen: n, isFullscreen: s }) => [
393
- 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)
394
414
  ]),
395
415
  key: "6"
396
416
  } : void 0,
397
417
  l.$slots.optionAnnotator ? {
398
418
  name: "optionAnnotator",
399
419
  fn: A(({ toggleAnnotator: n, isAnnotator: s }) => [
400
- 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)
401
421
  ]),
402
422
  key: "7"
403
423
  } : void 0
404
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : d("", !0),
405
- J.value ? (o(), i("svg", {
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),
425
+ Z.value ? (u(), i("svg", {
406
426
  key: 4,
407
427
  ref_key: "svgRef",
408
428
  ref: xe,
409
- xmlns: r(yl),
410
- 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 }),
411
431
  viewBox: `0 0 ${$.value.width} ${$.value.heightWithLegend}`,
412
432
  style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
413
433
  }, [
414
- ve(r(Fe)),
415
- l.$slots["chart-background"] ? (o(), i("foreignObject", {
434
+ ve(r(Ie)),
435
+ l.$slots["chart-background"] ? (u(), i("foreignObject", {
416
436
  key: 0,
417
437
  x: 0,
418
438
  y: 0,
@@ -423,9 +443,9 @@ const kl = ["id"], _l = {
423
443
  }
424
444
  }, [
425
445
  m(l.$slots, "chart-background", {}, void 0, !0)
426
- ], 8, $l)) : d("", !0),
427
- e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
428
- (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", {
429
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),
430
450
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
431
451
  height: a.value.height / 3,
@@ -433,8 +453,8 @@ const kl = ["id"], _l = {
433
453
  fill: e.value.style.layout.cells.colors.underlayer,
434
454
  stroke: e.value.style.backgroundColor,
435
455
  "stroke-width": e.value.style.layout.cells.spacing
436
- }, null, 8, Ll))), 256)),
437
- (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", {
438
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),
439
459
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
440
460
  height: a.value.height / 3,
@@ -442,10 +462,10 @@ const kl = ["id"], _l = {
442
462
  fill: n.color,
443
463
  stroke: e.value.style.backgroundColor,
444
464
  "stroke-width": e.value.style.layout.cells.spacing
445
- }, null, 8, Tl))), 256))
465
+ }, null, 8, Ml))), 256))
446
466
  ], 64)) : d("", !0),
447
- (o(!0), i(_, null, z(Z.value, (n, s) => (o(), i("g", null, [
448
- (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, [
449
469
  v("rect", {
450
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),
451
471
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -454,7 +474,7 @@ const kl = ["id"], _l = {
454
474
  fill: e.value.style.layout.cells.colors.underlayer,
455
475
  stroke: e.value.style.backgroundColor,
456
476
  "stroke-width": e.value.style.layout.cells.spacing
457
- }, null, 8, Al),
477
+ }, null, 8, Ol),
458
478
  v("rect", {
459
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),
460
480
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -463,8 +483,8 @@ const kl = ["id"], _l = {
463
483
  fill: c.color,
464
484
  stroke: e.value.style.backgroundColor,
465
485
  "stroke-width": e.value.style.layout.cells.spacing
466
- }, null, 8, zl),
467
- 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", {
468
488
  key: 0,
469
489
  "text-anchor": "middle",
470
490
  "font-size": e.value.style.layout.cells.value.fontSize,
@@ -482,9 +502,9 @@ const kl = ["id"], _l = {
482
502
  r: e.value.style.layout.cells.value.roundingValue
483
503
  }),
484
504
  { datapoint: c }
485
- )), 9, Ml)) : d("", !0)
505
+ )), 9, Nl)) : d("", !0)
486
506
  ]))), 256)),
487
- (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, [
488
508
  v("rect", {
489
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),
490
510
  y: t.value.top + a.value.height * s,
@@ -492,14 +512,14 @@ const kl = ["id"], _l = {
492
512
  height: a.value.height,
493
513
  fill: "transparent",
494
514
  stroke: "none",
495
- onMouseover: (k) => je(c, s, t.value.left + a.value.width * h, t.value.top + a.value.height * s),
496
- onMouseout: u[0] || (u[0] = (k) => {
497
- 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;
498
518
  }),
499
519
  onClick: () => Je(c)
500
- }, null, 40, Ol)
520
+ }, null, 40, Vl)
501
521
  ]))), 256)),
502
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Sl, [
522
+ e.value.style.layout.dataLabels.yAxis.show ? (u(), i("g", Fl, [
503
523
  v("text", {
504
524
  class: "vue-ui-heatmap-row-name",
505
525
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -508,8 +528,8 @@ const kl = ["id"], _l = {
508
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),
509
529
  "text-anchor": "end",
510
530
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
511
- }, x(p.value.yLabels[s]), 9, Nl),
512
- 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", {
513
533
  key: 0,
514
534
  class: "vue-ui-heatmap-row-total",
515
535
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -518,9 +538,9 @@ const kl = ["id"], _l = {
518
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,
519
539
  "text-anchor": "end",
520
540
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
521
- }, x(We(s)), 9, Vl)) : d("", !0)
541
+ }, x(qe(s)), 9, Pl)) : d("", !0)
522
542
  ])) : d("", !0),
523
- 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, [
524
544
  v("rect", {
525
545
  x: t.value.left,
526
546
  y: t.value.top + a.value.height * s,
@@ -529,7 +549,7 @@ const kl = ["id"], _l = {
529
549
  fill: e.value.style.layout.cells.colors.underlayer,
530
550
  stroke: e.value.style.backgroundColor,
531
551
  "stroke-width": e.value.style.layout.cells.spacing
532
- }, null, 8, Il),
552
+ }, null, 8, Xl),
533
553
  v("rect", {
534
554
  x: t.value.left,
535
555
  y: t.value.top + a.value.height * s + e.value.style.layout.cells.spacing / 2,
@@ -538,12 +558,12 @@ const kl = ["id"], _l = {
538
558
  fill: p.value.yTotals[s].color,
539
559
  stroke: e.value.style.backgroundColor,
540
560
  "stroke-width": e.value.style.layout.cells.spacing
541
- }, null, 8, Pl)
561
+ }, null, 8, Bl)
542
562
  ])) : d("", !0)
543
563
  ]))), 256)),
544
- e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Rl, [
545
- (o(!0), i(_, null, z(p.value.xLabels, (n, s) => (o(), i(_, null, [
546
- !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", {
547
567
  key: 0,
548
568
  class: "vue-ui-heatmap-col-name",
549
569
  "text-anchor": e.value.style.layout.dataLabels.xAxis.rotation === 0 ? "middle" : e.value.style.layout.dataLabels.xAxis.rotation < 0 ? "start" : "end",
@@ -551,46 +571,46 @@ const kl = ["id"], _l = {
551
571
  fill: e.value.style.layout.dataLabels.xAxis.color,
552
572
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
553
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})`
554
- }, x(n), 9, Xl)) : d("", !0)
574
+ }, x(n), 9, El)) : d("", !0)
555
575
  ], 64))), 256))
556
576
  ])) : d("", !0),
557
- 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", {
558
578
  class: "vue-ui-heatmap-col-total",
559
579
  "text-anchor": e.value.style.layout.cells.columnTotal.value.rotation === 0 ? "middle" : e.value.style.layout.cells.columnTotal.value.rotation < 0 ? "end" : "start",
560
580
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
561
581
  fill: e.value.style.layout.dataLabels.xAxis.color,
562
582
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
563
- 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})`
564
- }, x(qe(s)), 9, Bl))), 256)) : d("", !0),
565
- 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, [
566
586
  v("rect", {
567
587
  style: { "pointer-events": "none" },
568
- 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),
569
- 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,
570
590
  width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
571
591
  height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
572
592
  fill: "transparent",
573
593
  stroke: e.value.style.layout.cells.selected.color,
574
594
  "stroke-width": e.value.style.layout.cells.selected.border,
575
595
  rx: 1
576
- }, null, 8, El)
596
+ }, null, 8, Gl)
577
597
  ])) : d("", !0),
578
- 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, [
579
599
  v("defs", null, [
580
600
  v("linearGradient", {
581
- id: `colorScaleVertical_${Y.value}`,
601
+ id: `colorScaleVertical_${G.value}`,
582
602
  x2: "0%",
583
603
  y2: "100%"
584
604
  }, [
585
605
  v("stop", {
586
606
  offset: "0%",
587
607
  "stop-color": e.value.style.layout.cells.colors.hot
588
- }, null, 8, Gl),
608
+ }, null, 8, Wl),
589
609
  v("stop", {
590
610
  offset: "100%",
591
611
  "stop-color": e.value.style.layout.cells.colors.cold
592
- }, null, 8, Hl)
593
- ], 8, Yl)
612
+ }, null, 8, ql)
613
+ ], 8, jl)
594
614
  ]),
595
615
  v("text", {
596
616
  x: t.value.right + 36 + 18,
@@ -607,15 +627,15 @@ const kl = ["id"], _l = {
607
627
  s: e.value.style.layout.dataLabels.suffix,
608
628
  r: e.value.style.legend.roundingValue
609
629
  })
610
- )), 9, jl),
630
+ )), 9, Kl),
611
631
  v("rect", {
612
632
  x: t.value.right + 36,
613
633
  y: t.value.top,
614
634
  width: 36,
615
635
  height: ne.value,
616
636
  rx: e.value.style.legend.scaleBorderRadius,
617
- fill: `url(#colorScaleVertical_${Y.value})`
618
- }, null, 8, Wl),
637
+ fill: `url(#colorScaleVertical_${G.value})`
638
+ }, null, 8, Jl),
619
639
  v("text", {
620
640
  x: t.value.right + 36 + 18,
621
641
  y: t.value.top + ne.value + e.value.style.legend.fontSize * 2.5,
@@ -631,34 +651,34 @@ const kl = ["id"], _l = {
631
651
  s: e.value.style.layout.dataLabels.suffix,
632
652
  r: e.value.style.legend.roundingValue
633
653
  })
634
- )), 9, ql),
635
- O.value !== null ? (o(), i("line", {
654
+ )), 9, Ql),
655
+ O.value !== null ? (u(), i("line", {
636
656
  key: 0,
637
- stroke: r(de)(H.value.datapoint.color),
657
+ stroke: r(de)(W.value.datapoint.color),
638
658
  "stroke-width": "2",
639
659
  x1: t.value.right + 36,
640
660
  x2: t.value.right + 72,
641
- y1: j.value,
642
- y2: j.value
643
- }, null, 8, Kl)) : d("", !0),
644
- 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", {
645
665
  key: 1,
646
666
  fill: e.value.style.color,
647
667
  stroke: "none",
648
- d: `M ${t.value.right + 36},${j.value} ${t.value.right + 26},${j.value - 8} ${t.value.right + 26},${j.value + 8}z`
649
- }, 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)
650
670
  ])) : d("", !0),
651
- 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, [
652
672
  v("defs", null, [
653
- v("linearGradient", Zl, [
673
+ v("linearGradient", tt, [
654
674
  v("stop", {
655
675
  offset: "0%",
656
676
  "stop-color": e.value.style.layout.cells.colors.cold
657
- }, null, 8, et),
677
+ }, null, 8, at),
658
678
  v("stop", {
659
679
  offset: "100%",
660
680
  "stop-color": e.value.style.layout.cells.colors.hot
661
- }, null, 8, lt)
681
+ }, null, 8, ot)
662
682
  ])
663
683
  ]),
664
684
  v("rect", {
@@ -668,7 +688,7 @@ const kl = ["id"], _l = {
668
688
  height: e.value.style.layout.cells.height,
669
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,
670
690
  fill: "url(#colorScaleHorizontal)"
671
- }, null, 8, tt),
691
+ }, null, 8, st),
672
692
  v("text", {
673
693
  x: t.value.left,
674
694
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -684,7 +704,7 @@ const kl = ["id"], _l = {
684
704
  s: e.value.style.layout.dataLabels.suffix,
685
705
  r: e.value.style.legend.roundingValue
686
706
  })
687
- )), 9, at),
707
+ )), 9, ut),
688
708
  v("text", {
689
709
  x: t.value.right,
690
710
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -700,32 +720,32 @@ const kl = ["id"], _l = {
700
720
  s: e.value.style.layout.dataLabels.suffix,
701
721
  r: e.value.style.legend.roundingValue
702
722
  })
703
- )), 9, ot),
704
- O.value !== null ? (o(), i("line", {
723
+ )), 9, nt),
724
+ O.value !== null ? (u(), i("line", {
705
725
  key: 0,
706
- stroke: r(de)(H.value.datapoint.color),
726
+ stroke: r(de)(W.value.datapoint.color),
707
727
  "stroke-width": "2",
708
- x1: W.value,
709
- x2: W.value,
728
+ x1: K.value,
729
+ x2: K.value,
710
730
  y1: t.value.bottom + e.value.style.layout.cells.height,
711
731
  y2: t.value.bottom + e.value.style.layout.cells.height * 2
712
- }, null, 8, st)) : d("", !0),
713
- O.value !== null ? (o(), i("path", {
732
+ }, null, 8, it)) : d("", !0),
733
+ O.value !== null ? (u(), i("path", {
714
734
  key: 1,
715
735
  fill: e.value.style.color,
716
736
  stroke: "none",
717
- 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`
718
- }, 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)
719
739
  ])) : d("", !0),
720
740
  m(l.$slots, "svg", { svg: $.value }, void 0, !0)
721
- ], 14, Cl)) : d("", !0),
722
- l.$slots.watermark ? (o(), i("div", nt, [
723
- 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)
724
744
  ])) : d("", !0),
725
- l.$slots.source ? (o(), i("div", it, [
745
+ l.$slots.source ? (u(), i("div", yt, [
726
746
  m(l.$slots, "source", {}, void 0, !0)
727
747
  ], 512)) : d("", !0),
728
- J.value ? d("", !0) : (o(), q(r(Pe), {
748
+ Z.value ? d("", !0) : (u(), J(r(Re), {
729
749
  key: 7,
730
750
  config: {
731
751
  type: "heatmap",
@@ -737,7 +757,7 @@ const kl = ["id"], _l = {
737
757
  }
738
758
  }
739
759
  }, null, 8, ["config"])),
740
- ve(r(Re), {
760
+ ve(r(Xe), {
741
761
  show: C.value.showTooltip && ae.value,
742
762
  backgroundColor: e.value.style.tooltip.backgroundColor,
743
763
  color: e.value.style.tooltip.color,
@@ -748,20 +768,20 @@ const kl = ["id"], _l = {
748
768
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
749
769
  position: e.value.style.tooltip.position,
750
770
  offsetY: e.value.style.tooltip.offsetY,
751
- parent: te.value,
771
+ parent: R.value,
752
772
  content: oe.value,
753
- isFullscreen: X.value,
773
+ isFullscreen: B.value,
754
774
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
755
775
  }, {
756
776
  "tooltip-before": A(() => [
757
- 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)
758
778
  ]),
759
779
  "tooltip-after": A(() => [
760
- 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)
761
781
  ]),
762
782
  _: 3
763
783
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
764
- J.value ? (o(), q(ml, {
784
+ Z.value ? (u(), J(wl, {
765
785
  key: 8,
766
786
  hideDetails: "",
767
787
  config: {
@@ -785,27 +805,27 @@ const kl = ["id"], _l = {
785
805
  }, [
786
806
  v("div", {
787
807
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
788
- class: le({ "vue-ui-responsive": pe.value })
808
+ class: te({ "vue-ui-responsive": pe.value })
789
809
  }, [
790
810
  v("div", {
791
811
  role: "button",
792
812
  tabindex: "0",
793
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};`),
794
- onClick: u[1] || (u[1] = (n) => C.value.showTable = !1),
795
- 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"]))
796
816
  }, [
797
- ve(r(Ve), {
817
+ ve(r(Fe), {
798
818
  name: "close",
799
819
  stroke: e.value.table.th.color,
800
820
  "stroke-width": 2
801
821
  }, null, 8, ["stroke"])
802
822
  ], 36),
803
- v("table", rt, [
823
+ v("table", dt, [
804
824
  v("caption", {
805
825
  style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
806
826
  }, [
807
- ol(x(e.value.style.title.text) + " ", 1),
808
- 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)
809
829
  ], 4),
810
830
  v("thead", null, [
811
831
  v("tr", {
@@ -815,16 +835,16 @@ const kl = ["id"], _l = {
815
835
  v("th", {
816
836
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
817
837
  }, null, 4),
818
- (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", {
819
839
  align: "right",
820
840
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
821
841
  }, x(n.name), 5))), 256))
822
842
  ], 4)
823
843
  ]),
824
844
  v("tbody", null, [
825
- (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", {
826
846
  role: "row",
827
- 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 }),
828
848
  style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
829
849
  }, [
830
850
  v("td", {
@@ -832,15 +852,15 @@ const kl = ["id"], _l = {
832
852
  class: "vue-ui-data-table__tbody__td",
833
853
  style: T(`outline:${e.value.table.td.outline}`)
834
854
  }, [
835
- v("div", dt, x(n), 1)
836
- ], 12, yt),
837
- (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", {
838
858
  class: "vue-ui-data-table__tbody__td",
839
- "data-cell": U.dataset[h].name,
859
+ "data-cell": Y.dataset[h].name,
840
860
  style: T(`outline:${e.value.table.td.outline}`)
841
861
  }, [
842
- 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)
843
- ], 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))
844
864
  ], 6))), 256))
845
865
  ])
846
866
  ])
@@ -849,9 +869,9 @@ const kl = ["id"], _l = {
849
869
  ]),
850
870
  _: 1
851
871
  }, 8, ["config"])) : d("", !0)
852
- ], 46, kl));
872
+ ], 46, $l));
853
873
  }
854
- }, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-0b8cd24c"]]);
874
+ }, zt = /* @__PURE__ */ Cl(bt, [["__scopeId", "data-v-a3e4a488"]]);
855
875
  export {
856
- $t as default
876
+ zt as default
857
877
  };