vue-data-ui 2.12.5 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/README.md +56 -1
  2. package/dist/{Arrow-CD7YT-M0.js → Arrow-CmqjRRUl.js} +1 -1
  3. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  4. package/dist/{BaseIcon-CgSWwnK7.js → BaseIcon-CZdMutjs.js} +1 -1
  5. package/dist/{ColorPicker-w8R8Tqdv.js → ColorPicker-DvVKgyAl.js} +23 -24
  6. package/dist/{DataTable-CicthvOV.js → DataTable-Cv9CIz-a.js} +11 -11
  7. package/dist/{Legend-0UY0Mmli.js → Legend-DFunFf8i.js} +8 -8
  8. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  9. package/dist/PackageVersion-CLY-udAA.js +10 -0
  10. package/dist/{PenAndPaper-DLsvRwoD.js → PenAndPaper-B9na2mbr.js} +8 -10
  11. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  12. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  13. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  14. package/dist/{Shape-DICeBEtN.js → Shape-D3w9qas1.js} +2 -2
  15. package/dist/{Slicer-D1nsbsWE.js → Slicer-ncY8krrM.js} +2 -2
  16. package/dist/SparkTooltip-CwThutH2.js +68 -0
  17. package/dist/{Title-xO1jFsSw.js → Title-B5qqUI3M.js} +2 -2
  18. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  19. package/dist/{usePrinter-CcgJXHIK.js → UserOptions-Ddy6CuLC.js} +172 -231
  20. package/dist/{dom-to-png-CS4NRYd_.js → dom-to-png-DDlooC9r.js} +1 -1
  21. package/dist/{img-CsXjm5I4.js → img-m9g7lR5d.js} +1 -1
  22. package/dist/{index-vjCxtaM0.js → index-BiHmNd1-.js} +153 -118
  23. package/dist/{pdf-DHexTTpK.js → pdf-BqM953uL.js} +1 -1
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +96 -2
  26. package/dist/types/vue-data-ui.d.ts +96 -2
  27. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  28. package/dist/useMouse-AicQS8Vf.js +13 -0
  29. package/dist/{useNestedProp-Du1hnYFA.js → useNestedProp-tRqS0ZAM.js} +1 -1
  30. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  31. package/dist/usePrinter-CRCbl1WG.js +53 -0
  32. package/dist/vClickOutside-C6WiFswA.js +13 -0
  33. package/dist/{vue-data-ui-BOrA3Tc9.js → vue-data-ui-D9uTDt73.js} +63 -63
  34. package/dist/vue-data-ui.js +42 -40
  35. package/dist/{vue-ui-3d-bar-Z8yAd4bw.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  36. package/dist/{vue-ui-accordion-CAN430Oy.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  37. package/dist/{vue-ui-age-pyramid-C6PZU9Ez.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  38. package/dist/{vue-ui-annotator-CqoDLx3t.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  39. package/dist/{vue-ui-bullet-DZC3aY3d.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  40. package/dist/{vue-ui-candlestick-B5mq_lgW.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  41. package/dist/{vue-ui-carousel-table-CBwerU49.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  42. package/dist/{vue-ui-chestnut-COyOAY28.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  43. package/dist/{vue-ui-chord-Cw0F_jHM.js → vue-ui-chord-C4evlXYB.js} +356 -365
  44. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  45. package/dist/{vue-ui-cursor-CWXqmlVy.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  46. package/dist/{vue-ui-dashboard-Ba2tF4md.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  47. package/dist/{vue-ui-digits-BV7yyUdY.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  48. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  49. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  50. package/dist/{vue-ui-dumbbell-SDCcLJIc.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  51. package/dist/{vue-ui-flow-CrqGSDNK.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  52. package/dist/{vue-ui-funnel-CcDOoxp8.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  53. package/dist/{vue-ui-galaxy-jlDp0DRJ.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  54. package/dist/{vue-ui-gauge-8t8rWb1C.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  55. package/dist/{vue-ui-gizmo-CFwdrMYP.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  56. package/dist/{vue-ui-heatmap-BT-mIeZp.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  57. package/dist/{vue-ui-history-plot-crLloc7J.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  58. package/dist/{vue-ui-kpi-96v4ZIYo.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  59. package/dist/{vue-ui-mini-loader-rBHBxNIT.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  60. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  61. package/dist/{vue-ui-mood-radar-DrVSXIY4.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  62. package/dist/{vue-ui-nested-donuts-C9Ah9lgv.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  63. package/dist/{vue-ui-onion-DwNPyn4X.js → vue-ui-onion-P8k6T724.js} +252 -258
  64. package/dist/{vue-ui-parallel-coordinate-plot-tSuK6xWu.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  65. package/dist/{vue-ui-quadrant-C0Kaoo7K.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  66. package/dist/{vue-ui-quick-chart-xMh_Ygct.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  67. package/dist/{vue-ui-radar-C1jSDQt_.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  68. package/dist/{vue-ui-rating-6Kb7hsKF.js → vue-ui-rating-gryk_h_6.js} +2 -2
  69. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  70. package/dist/{vue-ui-ridgeline-BBvPVQjC.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  71. package/dist/{vue-ui-rings-B92cXv7f.js → vue-ui-rings-BRBXektJ.js} +262 -269
  72. package/dist/{vue-ui-scatter-Bt1aty87.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  73. package/dist/{vue-ui-skeleton-DfOIDTJM.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  74. package/dist/{vue-ui-smiley-sVgBnkbx.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  75. package/dist/{vue-ui-spark-trend-D6uzJ4Qd.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  76. package/dist/{vue-ui-sparkbar-D4c2EE7J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  77. package/dist/{vue-ui-sparkgauge-DaQ6iz98.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  78. package/dist/{vue-ui-sparkhistogram-D_YnmM2T.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  79. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  80. package/dist/{vue-ui-sparkstackbar-DecnmqgJ.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  81. package/dist/{vue-ui-stackbar-D1eNs1j_.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  82. package/dist/{vue-ui-strip-plot-iPZ8Hhmr.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  83. package/dist/{vue-ui-table-BFjE28sw.js → vue-ui-table-DBaT_TfA.js} +3 -3
  84. package/dist/{vue-ui-table-heatmap-DipFDu39.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  85. package/dist/{vue-ui-table-sparkline-CGAecOZh.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  86. package/dist/{vue-ui-thermometer-Cx_yr-hs.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  87. package/dist/{vue-ui-timer-ClVmS8MH.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  88. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  89. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  90. package/dist/{vue-ui-vertical-bar-BHYCnFEN.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  91. package/dist/{vue-ui-waffle-DEPUbrOt.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  92. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  93. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  94. package/dist/{vue-ui-world-DStJ5i0i.js → vue-ui-world-CPIGEswq.js} +430 -442
  95. package/dist/{vue-ui-xy-CEop49z6.js → vue-ui-xy-9e_epIN4.js} +845 -846
  96. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  97. package/package.json +6 -6
  98. package/dist/BaseDraggableDialog-BjFEob7i.js +0 -186
  99. package/dist/PackageVersion-Cw2caN1c.js +0 -10
  100. package/dist/Tooltip-LKe8L-Mg.js +0 -158
  101. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  102. package/dist/vue-ui-circle-pack-BtpaZLYs.js +0 -659
  103. package/dist/vue-ui-donut-CRdQFQgA.js +0 -1292
  104. package/dist/vue-ui-donut-evolution-De3-5OgR.js +0 -871
  105. package/dist/vue-ui-molecule-DSr_bHGG.js +0 -782
  106. package/dist/vue-ui-relation-circle-fh0Hl9m0.js +0 -528
  107. package/dist/vue-ui-sparkline-C2HuTMDz.js +0 -519
  108. package/dist/vue-ui-tiremarks-4Sa3RCSv.js +0 -344
  109. package/dist/vue-ui-treemap-CD5pPg7v.js +0 -956
  110. package/dist/vue-ui-wheel-qU0bgJsi.js +0 -338
  111. package/dist/vue-ui-word-cloud-z2ZguOdy.js +0 -648
  112. package/dist/vue-ui-xy-canvas-DV0BVdZb.js +0 -1673
@@ -1,34 +1,29 @@
1
- import { useCssVars as Ue, computed as f, ref as b, watch as Te, onMounted as Ye, createElementBlock as i, openBlock as o, unref as r, normalizeStyle as T, normalizeClass as Q, createBlock as H, createCommentVNode as c, createVNode as ie, createSlots as He, withCtx as A, renderSlot as m, normalizeProps as R, guardReactiveProps as X, Fragment as _, renderList as z, createElementVNode as v, toDisplayString as x, withKeys as je, createTextVNode as We, nextTick as qe } from "vue";
2
- import { u as Ke, o as Je, e as Ae, c as re, a as Qe, C as Ze, O as j, g as el, X as ll, G as ve, i as S, f as M, v as N, q as tl, r as al, x as ol, y as sl } from "./index-vjCxtaM0.js";
3
- import { _ as ul } from "./Title-xO1jFsSw.js";
4
- import { u as nl, U as il } from "./usePrinter-CcgJXHIK.js";
5
- import { _ as rl } from "./Tooltip-LKe8L-Mg.js";
6
- import vl from "./vue-ui-skeleton-DfOIDTJM.js";
7
- import yl from "./BaseIcon-CgSWwnK7.js";
8
- import dl from "./vue-ui-accordion-CAN430Oy.js";
9
- import { u as ze } from "./useNestedProp-Du1hnYFA.js";
10
- import { _ as cl } from "./PackageVersion-Cw2caN1c.js";
11
- import { _ as hl } from "./PenAndPaper-DLsvRwoD.js";
12
- import { u as gl } from "./useUserOptionState-BIvW1Kz7.js";
13
- import { u as pl } from "./useChartAccessibility-BWojgys7.js";
14
- import { _ as fl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const bl = ["id"], ml = {
1
+ import { useCssVars as Qe, defineAsyncComponent as X, 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 ee, createBlock as W, createCommentVNode as c, createVNode as ve, createSlots as tl, withCtx as A, renderSlot as m, normalizeProps as B, guardReactiveProps as D, 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, O as q, g as vl, X as yl, G 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-BiHmNd1-.js";
3
+ import { u as Oe } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as pl } from "./usePrinter-CRCbl1WG.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-CmCs2yR2.js";
8
+ import xl from "./Title-B5qqUI3M.js";
9
+ import { _ as wl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
+ const kl = ["id"], _l = {
16
11
  key: 2,
17
12
  style: "width:100%;background:transparent"
18
- }, xl = ["xmlns", "viewBox"], wl = ["width", "height"], kl = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], _l = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], $l = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Cl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Ll = ["font-size", "font-weight", "fill", "x", "y"], Tl = ["x", "y", "width", "height", "onMouseover", "onClick"], Al = { key: 0 }, zl = ["font-size", "fill", "x", "y", "font-weight"], Ml = ["font-size", "fill", "x", "y", "font-weight"], Ol = { key: 1 }, Sl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Nl = ["x", "y", "width", "height", "fill", "stroke", "stroke-width"], Vl = { key: 2 }, Fl = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Il = ["text-anchor", "font-size", "fill", "font-weight", "transform"], Pl = { key: 4 }, Rl = ["x", "y", "width", "height", "stroke", "stroke-width"], Xl = { key: 5 }, Bl = ["id"], Dl = ["stop-color"], El = ["stop-color"], Gl = ["x", "y", "font-size", "fill"], Ul = ["x", "y", "height", "rx", "fill"], Yl = ["x", "y", "font-size", "fill"], Hl = ["stroke", "x1", "x2", "y1", "y2"], jl = ["fill", "d"], Wl = { key: 6 }, ql = {
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"], Gl = { key: 5 }, Ul = ["id"], Yl = ["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 = {
19
14
  id: "colorScaleHorizontal",
20
15
  x1: "0%",
21
16
  x2: "100%",
22
17
  y1: "0%",
23
18
  y2: "0%"
24
- }, Kl = ["stop-color"], Jl = ["stop-color"], Ql = ["x", "y", "width", "height", "rx"], Zl = ["x", "y", "font-size", "fill"], et = ["x", "y", "font-size", "fill"], lt = ["stroke", "x1", "x2", "y1", "y2"], tt = ["fill", "d"], at = {
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 = {
25
20
  key: 5,
26
21
  class: "vue-data-ui-watermark"
27
- }, ot = {
22
+ }, it = {
28
23
  key: 6,
29
24
  ref: "source",
30
25
  dir: "auto"
31
- }, st = { class: "vue-ui-data-table" }, ut = { key: 0 }, nt = ["data-cell"], it = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, rt = ["data-cell"], vt = { style: { display: "flex", "align-items": "center", gap: "5px", "justify-content": "flex-end", width: "100%", "padding-right": "3px" } }, yt = {
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 = {
32
27
  __name: "vue-ui-heatmap",
33
28
  props: {
34
29
  config: {
@@ -45,88 +40,90 @@ const bl = ["id"], ml = {
45
40
  }
46
41
  },
47
42
  emits: ["selectDatapoint"],
48
- setup(B, { expose: Me, emit: Oe }) {
49
- Ue((l) => ({
50
- "6b84a214": l.tdo
43
+ setup(E, { expose: Se, emit: Ne }) {
44
+ Qe((l) => ({
45
+ bdf046b2: l.tdo
51
46
  }));
52
- const { vue_ui_heatmap: Se } = Ke(), y = B, Ne = Oe, W = f(() => !!y.dataset && y.dataset.length);
53
- Je(y.dataset) && Ae({
47
+ const Ve = X(() => import("./BaseIcon-CZdMutjs.js")), Fe = X(() => import("./PackageVersion-CLY-udAA.js")), Ie = X(() => import("./PenAndPaper-B9na2mbr.js")), Pe = X(() => import("./vue-ui-skeleton-CbYQYRvD.js")), Re = X(() => import("./Tooltip-C9rxJ-Ru.js")), Xe = X(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_heatmap: Be } = ul(), y = E, De = Ne, K = f(() => !!y.dataset && y.dataset.length);
48
+ nl(y.dataset) && Me({
54
49
  componentName: "VueUiHeatmap",
55
50
  type: "dataset"
56
51
  });
57
- const D = b(re()), Z = b(null), Ve = b(null), ee = b(!1), le = b(""), ye = b(void 0), E = b(null), de = b(0), ce = b(null), Fe = b(null), he = b(!1), ge = b(0), e = f({
58
- get: () => me(),
52
+ const G = b(ye()), le = b(null), Ee = b(null), te = b(!1), ae = b(""), ce = b(void 0), U = b(null), he = b(0), ge = b(null), Ge = b(null), pe = b(!1), fe = b(0), e = f({
53
+ get: () => we(),
59
54
  set: (l) => l
60
- }), { userOptionsVisible: te, setUserOptionsVisibility: pe, keepUserOptionState: fe } = gl({ config: e.value }), { svgRef: be } = pl({ config: e.value.style.title });
61
- function me() {
62
- const l = ze({
55
+ }), { userOptionsVisible: oe, setUserOptionsVisibility: be, keepUserOptionState: me } = fl({ config: e.value }), { svgRef: xe } = bl({ config: e.value.style.title });
56
+ function we() {
57
+ const l = Oe({
63
58
  userConfig: y.config,
64
- defaultConfig: Se
59
+ defaultConfig: Be
65
60
  });
66
61
  let s = {};
67
62
  return l.theme ? s = {
68
- ...ze({
69
- userConfig: Qe.vue_ui_heatmap[l.theme] || y.config,
63
+ ...Oe({
64
+ userConfig: il.vue_ui_heatmap[l.theme] || y.config,
70
65
  defaultConfig: l
71
66
  })
72
- } : s = l, y.config && Ze(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
67
+ } : s = l, y.config && rl(y.config, "style.layout.dataLabels.xAxis.showOnlyAtModulo") ? s.style.layout.dataLabels.xAxis.showOnlyAtModulo = y.config.style.layout.dataLabels.xAxis.showOnlyAtModulo : s.style.layout.dataLabels.xAxis.showOnlyAtModulo = null, s;
73
68
  }
74
- Te(() => y.config, (l) => {
75
- e.value = me(), te.value = !e.value.userOptions.showOnChartHover, ae(), ge.value += 1, $.value.showTable = e.value.table.show, $.value.showTooltip = e.value.style.tooltip.show;
76
- }, { deep: !0 }), Te(() => y.dataset, () => {
77
- ae();
69
+ ze(() => y.config, (l) => {
70
+ e.value = we(), oe.value = !e.value.userOptions.showOnChartHover, se(), 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
+ se();
78
73
  }, { deep: !0 });
79
- const { isPrinting: xe, isImaging: we, generatePdf: ke, generateImage: _e } = nl({
80
- elementId: `heatmap__${D.value}`,
74
+ const { isPrinting: ke, isImaging: _e, generatePdf: Ce, generateImage: $e } = pl({
75
+ elementId: `heatmap__${G.value}`,
81
76
  fileName: e.value.style.title.text || "vue-ui-heatmap",
82
77
  options: e.value.userOptions.print
83
- }), Ie = f(() => e.value.userOptions.show && !e.value.style.title.text), $ = b({
78
+ }), Ue = f(() => e.value.userOptions.show && !e.value.style.title.text), C = b({
84
79
  showTable: e.value.table.show,
85
80
  showTooltip: e.value.style.tooltip.show
86
- }), Pe = f(() => e.value.table.responsiveBreakpoint);
87
- function Re() {
88
- new ResizeObserver((s) => {
89
- s.forEach((n) => {
90
- he.value = n.contentRect.width < Pe.value;
81
+ }), Ye = f(() => e.value.table.responsiveBreakpoint), P = Ze(null);
82
+ function He() {
83
+ P.value && P.value.disconnect(), P.value = new ResizeObserver((l) => {
84
+ l.forEach((s) => {
85
+ pe.value = s.contentRect.width < Ye.value;
91
86
  });
92
- }).observe(ce.value);
87
+ }), P.value.observe(ge.value);
93
88
  }
94
- Ye(ae);
95
- function ae() {
96
- Re();
89
+ el(se), ll(() => {
90
+ P.value && P.value.disconnect();
91
+ });
92
+ function se() {
93
+ He();
97
94
  }
98
- const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), C = f(() => {
95
+ const V = f(() => Math.max(...y.dataset.flatMap((l) => (l.values || []).length))), $ = f(() => {
99
96
  const l = e.value.style.layout.padding.top + e.value.style.layout.padding.bottom + y.dataset.length * e.value.style.layout.cells.height, s = e.value.style.layout.padding.left + e.value.style.layout.padding.right + (V.value < y.dataset.length ? y.dataset.length : V.value) * e.value.style.layout.cells.height, n = l + (e.value.style.legend.show ? e.value.style.legend.position === "right" ? 0 : e.value.style.layout.cells.height * 2 : 0);
100
97
  return {
101
98
  height: l,
102
99
  heightWithLegend: n,
103
100
  width: s
104
101
  };
105
- }), q = f(() => e.value.style.legend.position), t = f(() => ({
102
+ }), J = f(() => e.value.style.legend.position), t = f(() => ({
106
103
  top: e.value.style.layout.padding.top,
107
104
  left: e.value.style.layout.padding.left,
108
- right: C.value.width - e.value.style.layout.padding.right - (q.value === "right" && e.value.style.legend.show ? 92 : 0),
109
- bottom: C.value.height - e.value.style.layout.padding.bottom,
110
- height: C.value.height - e.value.style.layout.padding.top - e.value.style.layout.padding.bottom,
111
- width: C.value.width - e.value.style.layout.padding.right - e.value.style.layout.padding.left - (q.value === "right" && e.value.style.legend.show ? 92 : 0)
112
- })), oe = 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(() => {
105
+ right: $.value.width - e.value.style.layout.padding.right - (J.value === "right" && e.value.style.legend.show ? 92 : 0),
106
+ bottom: $.value.height - e.value.style.layout.padding.bottom,
107
+ 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 - (J.value === "right" && e.value.style.legend.show ? 92 : 0)
109
+ })), ue = 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(() => {
113
110
  const l = y.dataset.flatMap((n) => n.values);
114
111
  return l.reduce((n, u) => n + u, 0) / l.length;
115
112
  }), a = f(() => ({
116
113
  width: t.value.width / V.value,
117
114
  height: t.value.width / (V.value < y.dataset.length ? y.dataset.length : V.value)
118
115
  })), g = f(() => {
119
- const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, ne) => w + ne, 0)), u = Math.max(...n), d = Math.min(...n), p = [];
116
+ const l = e.value.style.layout.dataLabels.yAxis.values.length ? e.value.style.layout.dataLabels.yAxis.values : y.dataset.map((h) => h.name), s = e.value.style.layout.dataLabels.xAxis.values, n = y.dataset.map((h) => h.values.reduce((w, re) => w + re, 0)), u = Math.max(...n), d = Math.min(...n), p = [];
120
117
  for (let h = 0; h < V.value; h += 1)
121
- p.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, ne) => w + ne, 0));
122
- const k = Math.max(...p), ue = Math.min(...p);
118
+ p.push(y.dataset.map((w) => w.values[h] || 0).reduce((w, re) => w + re, 0));
119
+ const k = Math.max(...p), ie = Math.min(...p);
123
120
  return {
124
121
  yTotals: n.map((h) => {
125
122
  const w = isNaN(h / u) ? 0 : h / u;
126
123
  return {
127
124
  total: h,
128
125
  proportion: w,
129
- color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, u, h)
126
+ color: q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, d, u, h)
130
127
  };
131
128
  }),
132
129
  xTotals: p.map((h) => {
@@ -134,18 +131,18 @@ const bl = ["id"], ml = {
134
131
  return {
135
132
  total: h,
136
133
  proportion: w,
137
- color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ue, k, h)
134
+ color: q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, ie, k, h)
138
135
  };
139
136
  }),
140
137
  yLabels: l,
141
138
  xLabels: s.slice(0, V.value)
142
139
  };
143
- }), K = f(() => (y.dataset.forEach((l, s) => {
144
- el({
140
+ }), Q = f(() => (y.dataset.forEach((l, s) => {
141
+ vl({
145
142
  datasetObject: l,
146
143
  requiredAttributes: ["values"]
147
144
  }).forEach((n) => {
148
- Ae({
145
+ Me({
149
146
  componentName: "VueUiHeatmap",
150
147
  type: "datasetSerieAttribute",
151
148
  property: "values",
@@ -156,44 +153,44 @@ const bl = ["id"], ml = {
156
153
  ...l,
157
154
  temperatures: (l.values || []).map((s, n) => s >= I.value ? {
158
155
  side: "up",
159
- color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
156
+ color: q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
160
157
  ratio: Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)) > 1 ? 1 : Math.abs(Math.abs(s - I.value) / Math.abs(L.value - I.value)),
161
158
  value: s,
162
159
  yAxisName: l.name,
163
160
  xAxisName: g.value.xLabels[n],
164
- id: `vue-data-ui-heatmap-cell-${re()}`
161
+ id: `vue-data-ui-heatmap-cell-${ye()}`
165
162
  } : {
166
163
  side: "down",
167
164
  ratio: Math.abs(1 - Math.abs(s) / Math.abs(I.value)) > 1 ? 1 : Math.abs(1 - Math.abs(s) / Math.abs(I.value)),
168
- color: j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
165
+ color: q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, s),
169
166
  value: s,
170
167
  yAxisName: l.name,
171
168
  xAxisName: g.value.xLabels[n],
172
- id: `vue-data-ui-heatmap-cell-${re()}`
169
+ id: `vue-data-ui-heatmap-cell-${ye()}`
173
170
  })
174
- })))), O = b(null), G = b(null);
175
- function Xe(l, s, n, u) {
176
- E.value = { x: n, y: u };
177
- const { value: d, yAxisName: p, xAxisName: k, id: ue } = l;
178
- ye.value = ue, O.value = d, G.value = {
171
+ })))), O = b(null), Y = b(null);
172
+ function je(l, s, n, u) {
173
+ U.value = { x: n, y: u };
174
+ const { value: d, yAxisName: p, xAxisName: k, id: ie } = l;
175
+ ce.value = ie, O.value = d, Y.value = {
179
176
  datapoint: l,
180
177
  seriesIndex: s,
181
- series: K.value,
178
+ series: Q.value,
182
179
  config: e.value
183
- }, ee.value = !0;
180
+ }, te.value = !0;
184
181
  let h = "";
185
182
  const w = e.value.style.tooltip.customFormat;
186
- ol(w) && sl(() => w({
183
+ hl(w) && gl(() => w({
187
184
  datapoint: l,
188
185
  seriesIndex: s,
189
- series: K.value,
186
+ series: Q.value,
190
187
  config: e.value
191
- })) ? le.value = w({
188
+ })) ? ae.value = w({
192
189
  datapoint: l,
193
190
  seriesIndex: s,
194
- series: K.value,
191
+ series: Q.value,
195
192
  config: e.value
196
- }) : (h += `<div>${p} ${k ? `${k}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${j(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, d)}">⬤</span><span>${isNaN(d) ? "-" : S(
193
+ }) : (h += `<div>${p} ${k ? `${k}` : ""}</div>`, h += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor};font-weight:bold;display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:center"><span style="color:${q(e.value.style.layout.cells.colors.cold, e.value.style.layout.cells.colors.hot, F.value, L.value, d)}">⬤</span><span>${isNaN(d) ? "-" : S(
197
194
  e.value.style.layout.cells.value.formatter,
198
195
  d,
199
196
  M({
@@ -203,10 +200,10 @@ const bl = ["id"], ml = {
203
200
  r: e.value.style.tooltip.roundingValue
204
201
  }),
205
202
  { datapoint: l, seriesIndex: s }
206
- )}</span></div>`, le.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
203
+ )}</span></div>`, ae.value = `<div style="font-size:${e.value.style.tooltip.fontSize}px">${h}</div>`);
207
204
  }
208
- const U = f(() => t.value.top + oe.value * (1 - O.value / L.value)), Y = f(() => t.value.left + (C.value.width - t.value.left - e.value.style.layout.padding.right) * (O.value / L.value));
209
- function Be(l) {
205
+ const H = f(() => t.value.top + ue.value * (1 - O.value / L.value)), j = f(() => t.value.left + ($.value.width - t.value.left - e.value.style.layout.padding.right) * (O.value / L.value));
206
+ function We(l) {
210
207
  return S(
211
208
  e.value.style.layout.cells.value.formatter,
212
209
  g.value.yTotals[l].total,
@@ -219,7 +216,7 @@ const bl = ["id"], ml = {
219
216
  { datapoint: g.value.yTotals[l], rowIndex: l }
220
217
  );
221
218
  }
222
- function De(l) {
219
+ function qe(l) {
223
220
  return S(
224
221
  e.value.style.layout.cells.value.formatter,
225
222
  g.value.xTotals[l].total,
@@ -238,8 +235,8 @@ const bl = ["id"], ml = {
238
235
  })), s = y.dataset.map((n) => n.values);
239
236
  return { head: l, body: s };
240
237
  });
241
- function $e() {
242
- qe(() => {
238
+ function Le() {
239
+ sl(() => {
243
240
  const l = ["", ...y.dataset.map((d, p) => d.name)], s = [];
244
241
  for (let d = 0; d < g.value.xLabels.length; d += 1) {
245
242
  const p = [g.value.xLabels[d]];
@@ -247,61 +244,61 @@ const bl = ["id"], ml = {
247
244
  p.push([y.dataset[k].values[d]]);
248
245
  s.push(p);
249
246
  }
250
- const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = tl(n);
251
- al({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
247
+ const n = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([l]).concat(s), u = dl(n);
248
+ cl({ csvContent: u, title: e.value.style.title.text || "vue-ui-heatmap" });
252
249
  });
253
250
  }
254
- const P = b(!1);
255
- function Ee(l) {
256
- P.value = l, de.value += 1;
251
+ const R = b(!1);
252
+ function Ke(l) {
253
+ R.value = l, he.value += 1;
257
254
  }
258
- function Ce() {
259
- $.value.showTable = !$.value.showTable;
255
+ function Te() {
256
+ C.value.showTable = !C.value.showTable;
260
257
  }
261
- function Le() {
262
- $.value.showTooltip = !$.value.showTooltip;
258
+ function Ae() {
259
+ C.value.showTooltip = !C.value.showTooltip;
263
260
  }
264
- const J = b(!1);
265
- function se() {
266
- J.value = !J.value;
261
+ const Z = b(!1);
262
+ function ne() {
263
+ Z.value = !Z.value;
267
264
  }
268
- function Ge(l) {
269
- Ne("selectDatapoint", l);
265
+ function Je(l) {
266
+ De("selectDatapoint", l);
270
267
  }
271
- return Me({
272
- generatePdf: ke,
273
- generateCsv: $e,
274
- generateImage: _e,
275
- toggleTable: Ce,
276
- toggleTooltip: Le,
277
- toggleAnnotator: se
268
+ return Se({
269
+ generatePdf: Ce,
270
+ generateCsv: Le,
271
+ generateImage: $e,
272
+ toggleTable: Te,
273
+ toggleTooltip: Ae,
274
+ toggleAnnotator: ne
278
275
  }), (l, s) => (o(), i("div", {
279
276
  ref_key: "heatmapChart",
280
- ref: Z,
281
- class: Q(`vue-ui-heatmap ${P.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
277
+ ref: le,
278
+ class: ee(`vue-ui-heatmap ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
282
279
  style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.backgroundColor}`),
283
- id: `heatmap__${D.value}`,
284
- onMouseenter: s[3] || (s[3] = () => r(pe)(!0)),
285
- onMouseleave: s[4] || (s[4] = () => r(pe)(!1))
280
+ id: `heatmap__${G.value}`,
281
+ onMouseenter: s[3] || (s[3] = () => r(be)(!0)),
282
+ onMouseleave: s[4] || (s[4] = () => r(be)(!1))
286
283
  }, [
287
- e.value.userOptions.buttons.annotator ? (o(), H(hl, {
284
+ e.value.userOptions.buttons.annotator ? (o(), W(r(Ie), {
288
285
  key: 0,
289
- svgRef: r(be),
286
+ svgRef: r(xe),
290
287
  backgroundColor: e.value.style.backgroundColor,
291
288
  color: e.value.style.color,
292
- active: J.value,
293
- onClose: se
289
+ active: Z.value,
290
+ onClose: ne
294
291
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
295
- Ie.value ? (o(), i("div", {
292
+ Ue.value ? (o(), i("div", {
296
293
  key: 1,
297
294
  ref_key: "noTitle",
298
- ref: Fe,
295
+ ref: Ge,
299
296
  class: "vue-data-ui-no-title-space",
300
297
  style: "height:36px; width: 100%;background:transparent"
301
298
  }, null, 512)) : c("", !0),
302
- e.value.style.title.text ? (o(), i("div", ml, [
303
- (o(), H(ul, {
304
- key: `title_${ge.value}`,
299
+ e.value.style.title.text ? (o(), i("div", _l, [
300
+ (o(), W(xl, {
301
+ key: `title_${fe.value}`,
305
302
  config: {
306
303
  title: {
307
304
  cy: "heatmap-div-title",
@@ -314,43 +311,43 @@ const bl = ["id"], ml = {
314
311
  }
315
312
  }, null, 8, ["config"]))
316
313
  ])) : c("", !0),
317
- e.value.userOptions.show && W.value && (r(fe) || r(te)) ? (o(), H(il, {
314
+ e.value.userOptions.show && K.value && (r(me) || r(oe)) ? (o(), W(r(Xe), {
318
315
  ref_key: "details",
319
- ref: Ve,
320
- key: `user_options_${de.value}`,
316
+ ref: Ee,
317
+ key: `user_options_${he.value}`,
321
318
  backgroundColor: e.value.style.backgroundColor,
322
319
  color: e.value.style.color,
323
- isImaging: r(we),
324
- isPrinting: r(xe),
325
- uid: D.value,
320
+ isImaging: r(_e),
321
+ isPrinting: r(ke),
322
+ uid: G.value,
326
323
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
327
324
  hasPdf: e.value.userOptions.buttons.pdf,
328
325
  hasImg: e.value.userOptions.buttons.img,
329
326
  hasXls: e.value.userOptions.buttons.csv,
330
327
  hasTable: e.value.userOptions.buttons.table,
331
328
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
332
- isFullscreen: P.value,
333
- isTooltip: $.value.showTooltip,
329
+ isFullscreen: R.value,
330
+ isTooltip: C.value.showTooltip,
334
331
  titles: { ...e.value.userOptions.buttonTitles },
335
- chartElement: Z.value,
332
+ chartElement: le.value,
336
333
  position: e.value.userOptions.position,
337
334
  hasAnnotator: e.value.userOptions.buttons.annotator,
338
- isAnnotation: J.value,
339
- onToggleFullscreen: Ee,
340
- onGeneratePdf: r(ke),
341
- onGenerateCsv: $e,
342
- onGenerateImage: r(_e),
343
- onToggleTable: Ce,
344
- onToggleTooltip: Le,
345
- onToggleAnnotator: se,
335
+ isAnnotation: Z.value,
336
+ onToggleFullscreen: Ke,
337
+ onGeneratePdf: r(Ce),
338
+ onGenerateCsv: Le,
339
+ onGenerateImage: r($e),
340
+ onToggleTable: Te,
341
+ onToggleTooltip: Ae,
342
+ onToggleAnnotator: ne,
346
343
  style: T({
347
- visibility: r(fe) ? r(te) ? "visible" : "hidden" : "visible"
344
+ visibility: r(me) ? r(oe) ? "visible" : "hidden" : "visible"
348
345
  })
349
- }, He({ _: 2 }, [
346
+ }, tl({ _: 2 }, [
350
347
  l.$slots.menuIcon ? {
351
348
  name: "menuIcon",
352
349
  fn: A(({ isOpen: n, color: u }) => [
353
- m(l.$slots, "menuIcon", R(X({ isOpen: n, color: u })), void 0, !0)
350
+ m(l.$slots, "menuIcon", B(D({ isOpen: n, color: u })), void 0, !0)
354
351
  ]),
355
352
  key: "0"
356
353
  } : void 0,
@@ -392,40 +389,40 @@ const bl = ["id"], ml = {
392
389
  l.$slots.optionFullscreen ? {
393
390
  name: "optionFullscreen",
394
391
  fn: A(({ toggleFullscreen: n, isFullscreen: u }) => [
395
- m(l.$slots, "optionFullscreen", R(X({ toggleFullscreen: n, isFullscreen: u })), void 0, !0)
392
+ m(l.$slots, "optionFullscreen", B(D({ toggleFullscreen: n, isFullscreen: u })), void 0, !0)
396
393
  ]),
397
394
  key: "6"
398
395
  } : void 0,
399
396
  l.$slots.optionAnnotator ? {
400
397
  name: "optionAnnotator",
401
398
  fn: A(({ toggleAnnotator: n, isAnnotator: u }) => [
402
- m(l.$slots, "optionAnnotator", R(X({ toggleAnnotator: n, isAnnotator: u })), void 0, !0)
399
+ m(l.$slots, "optionAnnotator", B(D({ toggleAnnotator: n, isAnnotator: u })), void 0, !0)
403
400
  ]),
404
401
  key: "7"
405
402
  } : void 0
406
403
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
407
- W.value ? (o(), i("svg", {
404
+ K.value ? (o(), i("svg", {
408
405
  key: 4,
409
406
  ref_key: "svgRef",
410
- ref: be,
411
- xmlns: r(ll),
412
- class: Q({ "vue-data-ui-fullscreen--on": P.value, "vue-data-ui-fulscreen--off": !P.value }),
413
- viewBox: `0 0 ${C.value.width} ${C.value.heightWithLegend}`,
407
+ ref: xe,
408
+ xmlns: r(yl),
409
+ class: ee({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
410
+ viewBox: `0 0 ${$.value.width} ${$.value.heightWithLegend}`,
414
411
  style: T(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
415
412
  }, [
416
- ie(cl),
413
+ ve(r(Fe)),
417
414
  l.$slots["chart-background"] ? (o(), i("foreignObject", {
418
415
  key: 0,
419
416
  x: 0,
420
417
  y: 0,
421
- width: C.value.width,
422
- height: C.value.heightWithLegend,
418
+ width: $.value.width,
419
+ height: $.value.heightWithLegend,
423
420
  style: {
424
421
  pointerEvents: "none"
425
422
  }
426
423
  }, [
427
424
  m(l.$slots, "chart-background", {}, void 0, !0)
428
- ], 8, wl)) : c("", !0),
425
+ ], 8, $l)) : c("", !0),
429
426
  e.value.style.layout.cells.columnTotal.color.show ? (o(), i(_, { key: 1 }, [
430
427
  (o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
431
428
  x: t.value.left + a.value.width * u + 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),
@@ -435,7 +432,7 @@ const bl = ["id"], ml = {
435
432
  fill: e.value.style.layout.cells.colors.underlayer,
436
433
  stroke: e.value.style.backgroundColor,
437
434
  "stroke-width": e.value.style.layout.cells.spacing
438
- }, null, 8, kl))), 256)),
435
+ }, null, 8, Ll))), 256)),
439
436
  (o(!0), i(_, null, z(g.value.xTotals, (n, u) => (o(), i("rect", {
440
437
  x: t.value.left + a.value.width * u + e.value.style.layout.cells.spacing / 2 + (e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
441
438
  y: t.value.top - a.value.height / 3 - e.value.style.layout.cells.spacing,
@@ -444,9 +441,9 @@ const bl = ["id"], ml = {
444
441
  fill: n.color,
445
442
  stroke: e.value.style.backgroundColor,
446
443
  "stroke-width": e.value.style.layout.cells.spacing
447
- }, null, 8, _l))), 256))
444
+ }, null, 8, Tl))), 256))
448
445
  ], 64)) : c("", !0),
449
- (o(!0), i(_, null, z(K.value, (n, u) => (o(), i("g", null, [
446
+ (o(!0), i(_, null, z(Q.value, (n, u) => (o(), i("g", null, [
450
447
  (o(!0), i(_, null, z(n.temperatures, (d, p) => (o(), i("g", null, [
451
448
  v("rect", {
452
449
  x: t.value.left + a.value.width * p + 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),
@@ -456,7 +453,7 @@ const bl = ["id"], ml = {
456
453
  fill: e.value.style.layout.cells.colors.underlayer,
457
454
  stroke: e.value.style.backgroundColor,
458
455
  "stroke-width": e.value.style.layout.cells.spacing
459
- }, null, 8, $l),
456
+ }, null, 8, Al),
460
457
  v("rect", {
461
458
  x: t.value.left + a.value.width * p + 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),
462
459
  y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
@@ -465,13 +462,13 @@ const bl = ["id"], ml = {
465
462
  fill: d.color,
466
463
  stroke: e.value.style.backgroundColor,
467
464
  "stroke-width": e.value.style.layout.cells.spacing
468
- }, null, 8, Cl),
465
+ }, null, 8, zl),
469
466
  e.value.style.layout.cells.value.show ? (o(), i("text", {
470
467
  key: 0,
471
468
  "text-anchor": "middle",
472
469
  "font-size": e.value.style.layout.cells.value.fontSize,
473
470
  "font-weight": e.value.style.layout.cells.value.bold ? "bold" : "normal",
474
- fill: r(ve)(d.color),
471
+ fill: r(de)(d.color),
475
472
  x: t.value.left + a.value.width * p + a.value.width / 2 + +(e.value.style.layout.cells.rowTotal.color.show ? a.value.height / 3 + e.value.style.layout.cells.spacing : 0),
476
473
  y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.cells.value.fontSize / 3
477
474
  }, x(r(S)(
@@ -484,7 +481,7 @@ const bl = ["id"], ml = {
484
481
  r: e.value.style.layout.cells.value.roundingValue
485
482
  }),
486
483
  { datapoint: d }
487
- )), 9, Ll)) : c("", !0)
484
+ )), 9, Ml)) : c("", !0)
488
485
  ]))), 256)),
489
486
  (o(!0), i(_, null, z(n.temperatures, (d, p) => (o(), i("g", null, [
490
487
  v("rect", {
@@ -494,14 +491,14 @@ const bl = ["id"], ml = {
494
491
  height: a.value.height,
495
492
  fill: "transparent",
496
493
  stroke: "none",
497
- onMouseover: (k) => Xe(d, u, t.value.left + a.value.width * p, t.value.top + a.value.height * u),
494
+ onMouseover: (k) => je(d, u, t.value.left + a.value.width * p, t.value.top + a.value.height * u),
498
495
  onMouseout: s[0] || (s[0] = (k) => {
499
- ee.value = !1, ye.value = void 0, O.value = null, E.value = null;
496
+ te.value = !1, ce.value = void 0, O.value = null, U.value = null;
500
497
  }),
501
- onClick: () => Ge(d)
502
- }, null, 40, Tl)
498
+ onClick: () => Je(d)
499
+ }, null, 40, Ol)
503
500
  ]))), 256)),
504
- e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Al, [
501
+ e.value.style.layout.dataLabels.yAxis.show ? (o(), i("g", Sl, [
505
502
  v("text", {
506
503
  class: "vue-ui-heatmap-row-name",
507
504
  "font-size": e.value.style.layout.dataLabels.yAxis.fontSize,
@@ -510,7 +507,7 @@ const bl = ["id"], ml = {
510
507
  y: t.value.top + a.value.height * u + 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),
511
508
  "text-anchor": "end",
512
509
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
513
- }, x(g.value.yLabels[u]), 9, zl),
510
+ }, x(g.value.yLabels[u]), 9, Nl),
514
511
  e.value.style.layout.cells.rowTotal.value.show ? (o(), i("text", {
515
512
  key: 0,
516
513
  class: "vue-ui-heatmap-row-total",
@@ -520,9 +517,9 @@ const bl = ["id"], ml = {
520
517
  y: t.value.top + a.value.height * u + a.value.height / 2 + e.value.style.layout.dataLabels.yAxis.fontSize + e.value.style.layout.dataLabels.yAxis.offsetY,
521
518
  "text-anchor": "end",
522
519
  "font-weight": e.value.style.layout.dataLabels.yAxis.bold ? "bold" : "normal"
523
- }, x(Be(u)), 9, Ml)) : c("", !0)
520
+ }, x(We(u)), 9, Vl)) : c("", !0)
524
521
  ])) : c("", !0),
525
- e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Ol, [
522
+ e.value.style.layout.cells.rowTotal.color.show ? (o(), i("g", Fl, [
526
523
  v("rect", {
527
524
  x: t.value.left,
528
525
  y: t.value.top + a.value.height * u,
@@ -531,7 +528,7 @@ const bl = ["id"], ml = {
531
528
  fill: e.value.style.layout.cells.colors.underlayer,
532
529
  stroke: e.value.style.backgroundColor,
533
530
  "stroke-width": e.value.style.layout.cells.spacing
534
- }, null, 8, Sl),
531
+ }, null, 8, Il),
535
532
  v("rect", {
536
533
  x: t.value.left,
537
534
  y: t.value.top + a.value.height * u + e.value.style.layout.cells.spacing / 2,
@@ -540,10 +537,10 @@ const bl = ["id"], ml = {
540
537
  fill: g.value.yTotals[u].color,
541
538
  stroke: e.value.style.backgroundColor,
542
539
  "stroke-width": e.value.style.layout.cells.spacing
543
- }, null, 8, Nl)
540
+ }, null, 8, Pl)
544
541
  ])) : c("", !0)
545
542
  ]))), 256)),
546
- e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Vl, [
543
+ e.value.style.layout.dataLabels.xAxis.show ? (o(), i("g", Rl, [
547
544
  (o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i(_, null, [
548
545
  !e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo || e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo && u % e.value.style.layout.dataLabels.xAxis.showOnlyAtModulo === 0 ? (o(), i("text", {
549
546
  key: 0,
@@ -553,7 +550,7 @@ const bl = ["id"], ml = {
553
550
  fill: e.value.style.layout.dataLabels.xAxis.color,
554
551
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
555
552
  transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + 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})`
556
- }, x(n), 9, Fl)) : c("", !0)
553
+ }, x(n), 9, Xl)) : c("", !0)
557
554
  ], 64))), 256))
558
555
  ])) : c("", !0),
559
556
  e.value.style.layout.cells.columnTotal.value.show ? (o(!0), i(_, { key: 3 }, z(g.value.xLabels, (n, u) => (o(), i("text", {
@@ -562,37 +559,37 @@ const bl = ["id"], ml = {
562
559
  "font-size": e.value.style.layout.dataLabels.xAxis.fontSize,
563
560
  fill: e.value.style.layout.dataLabels.xAxis.color,
564
561
  "font-weight": e.value.style.layout.dataLabels.xAxis.bold ? "bold" : "normal",
565
- transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + 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) * (B.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
566
- }, x(De(u)), 9, Il))), 256)) : c("", !0),
567
- E.value ? (o(), i("g", Pl, [
562
+ transform: `translate(${t.value.left + a.value.width / 2 + t.value.width / g.value.xLabels.length * u + 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) * (E.dataset.length + 1) + e.value.style.layout.cells.columnTotal.value.offsetY}), rotate(${e.value.style.layout.cells.columnTotal.value.rotation})`
563
+ }, x(qe(u)), 9, Bl))), 256)) : c("", !0),
564
+ U.value ? (o(), i("g", Dl, [
568
565
  v("rect", {
569
566
  style: { "pointer-events": "none" },
570
- x: E.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),
571
- y: E.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
567
+ x: U.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),
568
+ y: U.value.y - e.value.style.layout.cells.selected.border / 2 + e.value.style.layout.cells.spacing,
572
569
  width: a.value.width - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
573
570
  height: a.value.height - e.value.style.layout.cells.spacing + e.value.style.layout.cells.selected.border - e.value.style.layout.cells.spacing,
574
571
  fill: "transparent",
575
572
  stroke: e.value.style.layout.cells.selected.color,
576
573
  "stroke-width": e.value.style.layout.cells.selected.border,
577
574
  rx: 1
578
- }, null, 8, Rl)
575
+ }, null, 8, El)
579
576
  ])) : c("", !0),
580
- e.value.style.legend.show && q.value === "right" ? (o(), i("g", Xl, [
577
+ e.value.style.legend.show && J.value === "right" ? (o(), i("g", Gl, [
581
578
  v("defs", null, [
582
579
  v("linearGradient", {
583
- id: `colorScaleVertical_${D.value}`,
580
+ id: `colorScaleVertical_${G.value}`,
584
581
  x2: "0%",
585
582
  y2: "100%"
586
583
  }, [
587
584
  v("stop", {
588
585
  offset: "0%",
589
586
  "stop-color": e.value.style.layout.cells.colors.hot
590
- }, null, 8, Dl),
587
+ }, null, 8, Yl),
591
588
  v("stop", {
592
589
  offset: "100%",
593
590
  "stop-color": e.value.style.layout.cells.colors.cold
594
- }, null, 8, El)
595
- ], 8, Bl)
591
+ }, null, 8, Hl)
592
+ ], 8, Ul)
596
593
  ]),
597
594
  v("text", {
598
595
  x: t.value.right + 36 + 18,
@@ -609,18 +606,18 @@ const bl = ["id"], ml = {
609
606
  s: e.value.style.layout.dataLabels.suffix,
610
607
  r: e.value.style.legend.roundingValue
611
608
  })
612
- )), 9, Gl),
609
+ )), 9, jl),
613
610
  v("rect", {
614
611
  x: t.value.right + 36,
615
612
  y: t.value.top,
616
613
  width: 36,
617
- height: oe.value,
614
+ height: ue.value,
618
615
  rx: e.value.style.legend.scaleBorderRadius,
619
- fill: `url(#colorScaleVertical_${D.value})`
620
- }, null, 8, Ul),
616
+ fill: `url(#colorScaleVertical_${G.value})`
617
+ }, null, 8, Wl),
621
618
  v("text", {
622
619
  x: t.value.right + 36 + 18,
623
- y: t.value.top + oe.value + e.value.style.legend.fontSize * 2.5,
620
+ y: t.value.top + ue.value + e.value.style.legend.fontSize * 2.5,
624
621
  "text-anchor": "middle",
625
622
  "font-size": e.value.style.legend.fontSize * 2,
626
623
  fill: e.value.style.legend.color
@@ -633,44 +630,44 @@ const bl = ["id"], ml = {
633
630
  s: e.value.style.layout.dataLabels.suffix,
634
631
  r: e.value.style.legend.roundingValue
635
632
  })
636
- )), 9, Yl),
633
+ )), 9, ql),
637
634
  O.value !== null ? (o(), i("line", {
638
635
  key: 0,
639
- stroke: r(ve)(G.value.datapoint.color),
636
+ stroke: r(de)(Y.value.datapoint.color),
640
637
  "stroke-width": "2",
641
638
  x1: t.value.right + 36,
642
639
  x2: t.value.right + 72,
643
- y1: U.value,
644
- y2: U.value
645
- }, null, 8, Hl)) : c("", !0),
640
+ y1: H.value,
641
+ y2: H.value
642
+ }, null, 8, Kl)) : c("", !0),
646
643
  O.value !== null ? (o(), i("path", {
647
644
  key: 1,
648
645
  fill: e.value.style.color,
649
646
  stroke: "none",
650
- d: `M ${t.value.right + 36},${U.value} ${t.value.right + 26},${U.value - 8} ${t.value.right + 26},${U.value + 8}z`
651
- }, null, 8, jl)) : c("", !0)
647
+ d: `M ${t.value.right + 36},${H.value} ${t.value.right + 26},${H.value - 8} ${t.value.right + 26},${H.value + 8}z`
648
+ }, null, 8, Jl)) : c("", !0)
652
649
  ])) : c("", !0),
653
- e.value.style.legend.show && q.value === "bottom" ? (o(), i("g", Wl, [
650
+ e.value.style.legend.show && J.value === "bottom" ? (o(), i("g", Ql, [
654
651
  v("defs", null, [
655
- v("linearGradient", ql, [
652
+ v("linearGradient", Zl, [
656
653
  v("stop", {
657
654
  offset: "0%",
658
655
  "stop-color": e.value.style.layout.cells.colors.cold
659
- }, null, 8, Kl),
656
+ }, null, 8, et),
660
657
  v("stop", {
661
658
  offset: "100%",
662
659
  "stop-color": e.value.style.layout.cells.colors.hot
663
- }, null, 8, Jl)
660
+ }, null, 8, lt)
664
661
  ])
665
662
  ]),
666
663
  v("rect", {
667
664
  x: t.value.left,
668
665
  y: t.value.bottom + e.value.style.layout.cells.height,
669
- width: C.value.width - t.value.left - e.value.style.layout.padding.right,
666
+ width: $.value.width - t.value.left - e.value.style.layout.padding.right,
670
667
  height: e.value.style.layout.cells.height,
671
668
  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,
672
669
  fill: "url(#colorScaleHorizontal)"
673
- }, null, 8, Ql),
670
+ }, null, 8, tt),
674
671
  v("text", {
675
672
  x: t.value.left,
676
673
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -686,7 +683,7 @@ const bl = ["id"], ml = {
686
683
  s: e.value.style.layout.dataLabels.suffix,
687
684
  r: e.value.style.legend.roundingValue
688
685
  })
689
- )), 9, Zl),
686
+ )), 9, at),
690
687
  v("text", {
691
688
  x: t.value.right,
692
689
  y: t.value.bottom + e.value.style.layout.cells.height * 2 + e.value.style.legend.fontSize * 2,
@@ -702,32 +699,32 @@ const bl = ["id"], ml = {
702
699
  s: e.value.style.layout.dataLabels.suffix,
703
700
  r: e.value.style.legend.roundingValue
704
701
  })
705
- )), 9, et),
702
+ )), 9, ot),
706
703
  O.value !== null ? (o(), i("line", {
707
704
  key: 0,
708
- stroke: r(ve)(G.value.datapoint.color),
705
+ stroke: r(de)(Y.value.datapoint.color),
709
706
  "stroke-width": "2",
710
- x1: Y.value,
711
- x2: Y.value,
707
+ x1: j.value,
708
+ x2: j.value,
712
709
  y1: t.value.bottom + e.value.style.layout.cells.height,
713
710
  y2: t.value.bottom + e.value.style.layout.cells.height * 2
714
- }, null, 8, lt)) : c("", !0),
711
+ }, null, 8, st)) : c("", !0),
715
712
  O.value !== null ? (o(), i("path", {
716
713
  key: 1,
717
714
  fill: e.value.style.color,
718
715
  stroke: "none",
719
- d: `M ${Y.value},${t.value.bottom + e.value.style.layout.cells.height} ${Y.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${Y.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
720
- }, null, 8, tt)) : c("", !0)
716
+ d: `M ${j.value},${t.value.bottom + e.value.style.layout.cells.height} ${j.value - 12},${t.value.bottom + e.value.style.layout.cells.height - 20} ${j.value + 12},${t.value.bottom + e.value.style.layout.cells.height - 20}z`
717
+ }, null, 8, ut)) : c("", !0)
721
718
  ])) : c("", !0),
722
- m(l.$slots, "svg", { svg: C.value }, void 0, !0)
723
- ], 14, xl)) : c("", !0),
724
- l.$slots.watermark ? (o(), i("div", at, [
725
- m(l.$slots, "watermark", R(X({ isPrinting: r(xe) || r(we) })), void 0, !0)
719
+ m(l.$slots, "svg", { svg: $.value }, void 0, !0)
720
+ ], 14, Cl)) : c("", !0),
721
+ l.$slots.watermark ? (o(), i("div", nt, [
722
+ m(l.$slots, "watermark", B(D({ isPrinting: r(ke) || r(_e) })), void 0, !0)
726
723
  ])) : c("", !0),
727
- l.$slots.source ? (o(), i("div", ot, [
724
+ l.$slots.source ? (o(), i("div", it, [
728
725
  m(l.$slots, "source", {}, void 0, !0)
729
726
  ], 512)) : c("", !0),
730
- W.value ? c("", !0) : (o(), H(vl, {
727
+ K.value ? c("", !0) : (o(), W(r(Pe), {
731
728
  key: 7,
732
729
  config: {
733
730
  type: "heatmap",
@@ -739,8 +736,8 @@ const bl = ["id"], ml = {
739
736
  }
740
737
  }
741
738
  }, null, 8, ["config"])),
742
- ie(rl, {
743
- show: $.value.showTooltip && ee.value,
739
+ ve(r(Re), {
740
+ show: C.value.showTooltip && te.value,
744
741
  backgroundColor: e.value.style.tooltip.backgroundColor,
745
742
  color: e.value.style.tooltip.color,
746
743
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -750,24 +747,24 @@ const bl = ["id"], ml = {
750
747
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
751
748
  position: e.value.style.tooltip.position,
752
749
  offsetY: e.value.style.tooltip.offsetY,
753
- parent: Z.value,
754
- content: le.value,
755
- isFullscreen: P.value,
750
+ parent: le.value,
751
+ content: ae.value,
752
+ isFullscreen: R.value,
756
753
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
757
754
  }, {
758
755
  "tooltip-before": A(() => [
759
- m(l.$slots, "tooltip-before", R(X({ ...G.value })), void 0, !0)
756
+ m(l.$slots, "tooltip-before", B(D({ ...Y.value })), void 0, !0)
760
757
  ]),
761
758
  "tooltip-after": A(() => [
762
- m(l.$slots, "tooltip-after", R(X({ ...G.value })), void 0, !0)
759
+ m(l.$slots, "tooltip-after", B(D({ ...Y.value })), void 0, !0)
763
760
  ]),
764
761
  _: 3
765
762
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
766
- W.value ? (o(), H(dl, {
763
+ K.value ? (o(), W(ml, {
767
764
  key: 8,
768
765
  hideDetails: "",
769
766
  config: {
770
- open: $.value.showTable,
767
+ open: C.value.showTable,
771
768
  maxHeight: 1e4,
772
769
  body: {
773
770
  backgroundColor: e.value.style.backgroundColor,
@@ -782,32 +779,32 @@ const bl = ["id"], ml = {
782
779
  content: A(() => [
783
780
  v("div", {
784
781
  ref_key: "tableContainer",
785
- ref: ce,
782
+ ref: ge,
786
783
  class: "vue-ui-heatmap-table atom-data-table"
787
784
  }, [
788
785
  v("div", {
789
786
  style: "width:100%;overflow-x:auto;padding-top:36px;position:relative",
790
- class: Q({ "vue-ui-responsive": he.value })
787
+ class: ee({ "vue-ui-responsive": pe.value })
791
788
  }, [
792
789
  v("div", {
793
790
  role: "button",
794
791
  tabindex: "0",
795
792
  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};`),
796
- onClick: s[1] || (s[1] = (n) => $.value.showTable = !1),
797
- onKeypress: s[2] || (s[2] = je((n) => $.value.showTable = !1, ["enter"]))
793
+ onClick: s[1] || (s[1] = (n) => C.value.showTable = !1),
794
+ onKeypress: s[2] || (s[2] = al((n) => C.value.showTable = !1, ["enter"]))
798
795
  }, [
799
- ie(yl, {
796
+ ve(r(Ve), {
800
797
  name: "close",
801
798
  stroke: e.value.table.th.color,
802
799
  "stroke-width": 2
803
800
  }, null, 8, ["stroke"])
804
801
  ], 36),
805
- v("table", st, [
802
+ v("table", rt, [
806
803
  v("caption", {
807
804
  style: T(`backgroundColor:${e.value.table.th.backgroundColor};color:${e.value.table.th.color};outline:${e.value.table.th.outline}`)
808
805
  }, [
809
- We(x(e.value.style.title.text) + " ", 1),
810
- e.value.style.title.subtitle.text ? (o(), i("span", ut, x(e.value.style.title.subtitle.text), 1)) : c("", !0)
806
+ ol(x(e.value.style.title.text) + " ", 1),
807
+ e.value.style.title.subtitle.text ? (o(), i("span", vt, x(e.value.style.title.subtitle.text), 1)) : c("", !0)
811
808
  ], 4),
812
809
  v("thead", null, [
813
810
  v("tr", {
@@ -817,7 +814,7 @@ const bl = ["id"], ml = {
817
814
  v("th", {
818
815
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
819
816
  }, null, 4),
820
- (o(!0), i(_, null, z(B.dataset, (n, u) => (o(), i("th", {
817
+ (o(!0), i(_, null, z(E.dataset, (n, u) => (o(), i("th", {
821
818
  align: "right",
822
819
  style: T(`outline:${e.value.table.th.outline};padding-right:6px`)
823
820
  }, x(n.name), 5))), 256))
@@ -826,7 +823,7 @@ const bl = ["id"], ml = {
826
823
  v("tbody", null, [
827
824
  (o(!0), i(_, null, z(g.value.xLabels, (n, u) => (o(), i("tr", {
828
825
  role: "row",
829
- class: Q({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
826
+ class: ee({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": u % 2 === 0, "vue-ui-data-table__tbody__row-odd": u % 2 !== 0 }),
830
827
  style: T(`background:${e.value.table.td.backgroundColor};color:${e.value.table.td.color}`)
831
828
  }, [
832
829
  v("td", {
@@ -834,15 +831,15 @@ const bl = ["id"], ml = {
834
831
  class: "vue-ui-data-table__tbody__td",
835
832
  style: T(`outline:${e.value.table.td.outline}`)
836
833
  }, [
837
- v("div", it, x(n), 1)
838
- ], 12, nt),
839
- (o(!0), i(_, null, z(B.dataset, (d, p) => (o(), i("td", {
834
+ v("div", dt, x(n), 1)
835
+ ], 12, yt),
836
+ (o(!0), i(_, null, z(E.dataset, (d, p) => (o(), i("td", {
840
837
  class: "vue-ui-data-table__tbody__td",
841
- "data-cell": B.dataset[p].name,
838
+ "data-cell": E.dataset[p].name,
842
839
  style: T(`outline:${e.value.table.td.outline}`)
843
840
  }, [
844
- v("div", vt, x(isNaN(d.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: d.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
845
- ], 12, rt))), 256))
841
+ v("div", ht, x(isNaN(d.values[u]) ? "-" : r(M)({ p: e.value.style.layout.dataLabels.prefix, v: d.values[u], s: e.value.style.layout.dataLabels.suffix, r: e.value.table.td.roundingValue })), 1)
842
+ ], 12, ct))), 256))
846
843
  ], 6))), 256))
847
844
  ])
848
845
  ])
@@ -851,9 +848,9 @@ const bl = ["id"], ml = {
851
848
  ]),
852
849
  _: 1
853
850
  }, 8, ["config"])) : c("", !0)
854
- ], 46, bl));
851
+ ], 46, kl));
855
852
  }
856
- }, Lt = /* @__PURE__ */ fl(yt, [["__scopeId", "data-v-cd2b0b4d"]]);
853
+ }, $t = /* @__PURE__ */ wl(gt, [["__scopeId", "data-v-2c1364d5"]]);
857
854
  export {
858
- Lt as default
855
+ $t as default
859
856
  };