vue-data-ui 2.12.6 → 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 (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,6 +1,6 @@
1
- import { a5 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-BFzQMJda.js";
2
- import q from "./vue-ui-xy-K2G7QQxG.js";
3
- import Q from "./vue-ui-donut-WRUDvvZa.js";
1
+ import { a4 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-BiHmNd1-.js";
2
+ import q from "./vue-ui-xy-9e_epIN4.js";
3
+ import Q from "./vue-ui-donut-D3_z61HI.js";
4
4
  import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {
@@ -1,30 +1,29 @@
1
- import { useCssVars as te, computed as v, ref as h, useSlots as ae, onMounted as z, watch as oe, createElementBlock as l, openBlock as n, unref as u, normalizeClass as E, normalizeStyle as C, createBlock as se, createCommentVNode as c, createElementVNode as g, createSlots as ne, withCtx as b, renderSlot as r, normalizeProps as G, guardReactiveProps as B, Fragment as k, renderList as w, mergeProps as f, createVNode as le, nextTick as re } from "vue";
2
- import { u as ue, c as H, a as ie, o as de, e as pe, a6 as ve, G as ce, O as me, q as fe, r as he } from "./index-BFzQMJda.js";
3
- import { u as A } from "./useNestedProp-v7KPpwuP.js";
4
- import { u as ge, U as be } from "./usePrinter-C5bLp34h.js";
5
- import { _ as ye } from "./Shape-C69a0f29.js";
6
- import { u as Ce } from "./useUserOptionState-BIvW1Kz7.js";
7
- import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell"], Oe = {
1
+ import { useCssVars as se, computed as v, defineAsyncComponent as z, ref as h, useSlots as ne, onMounted as E, watch as le, createElementBlock as l, openBlock as n, unref as u, normalizeClass as G, normalizeStyle as C, createBlock as re, createCommentVNode as c, createElementVNode as g, createSlots as ue, withCtx as b, renderSlot as r, normalizeProps as B, guardReactiveProps as A, Fragment as k, renderList as w, mergeProps as f, createVNode as ie, nextTick as de } from "vue";
2
+ import { u as pe, c as H, a as ve, o as ce, e as me, a5 as fe, G as he, O as ge, q as be, r as ye } from "./index-BiHmNd1-.js";
3
+ import { u as D } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as Ce } from "./usePrinter-CRCbl1WG.js";
5
+ import { u as ke } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { _ as Ie } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const _e = ["id"], $e = { role: "cell" }, we = { role: "row" }, Oe = ["data-cell"], xe = {
9
8
  key: 0,
10
9
  style: { display: "flex", "flex-direction": "row", gap: "2px", "align-items": "center" }
11
- }, xe = ["height", "width"], Fe = {
10
+ }, Fe = ["height", "width"], Pe = {
12
11
  key: 0,
13
12
  role: "cell",
14
13
  "data-cell": "sum"
15
- }, Pe = {
14
+ }, Ne = {
16
15
  key: 1,
17
16
  role: "cell",
18
17
  "data-cell": "average"
19
- }, Ne = {
18
+ }, Ve = {
20
19
  key: 2,
21
20
  role: "cell",
22
21
  "data-cell": "median"
23
- }, Ve = {
22
+ }, Re = {
24
23
  key: 1,
25
24
  ref: "source",
26
25
  dir: "auto"
27
- }, Re = {
26
+ }, Se = {
28
27
  __name: "vue-ui-table-heatmap",
29
28
  props: {
30
29
  config: {
@@ -40,140 +39,140 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
40
39
  }
41
40
  }
42
41
  },
43
- setup(D, { expose: L }) {
44
- te((e) => ({
45
- "1e8210e3": j.value,
46
- "7fb93384": Z.value
42
+ setup(L, { expose: X }) {
43
+ se((e) => ({
44
+ "253c0c88": oe.value,
45
+ "4e7d8ad2": te.value
47
46
  }));
48
- const { vue_ui_table_heatmap: X } = ue(), m = D, _ = h(H()), i = h(!1), y = h(null), I = h(!1), O = h(0), W = ae();
49
- z(() => {
50
- W["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
47
+ const W = z(() => import("./Shape-D3w9qas1.js")), q = z(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_table_heatmap: J } = pe(), m = L, I = h(H()), i = h(!1), y = h(null), _ = h(!1), O = h(0), K = ne();
48
+ E(() => {
49
+ K["chart-background"] && console.warn("VueUiTableHeatmap does not support the #chart-background slot.");
51
50
  });
52
51
  const t = v({
53
52
  get: () => P(),
54
53
  set: (e) => e
55
- }), { userOptionsVisible: $, setUserOptionsVisibility: x, keepUserOptionState: F } = Ce({ config: t.value });
54
+ }), { userOptionsVisible: $, setUserOptionsVisibility: x, keepUserOptionState: F } = ke({ config: t.value });
56
55
  function P() {
57
- const e = A({
56
+ const e = D({
58
57
  userConfig: m.config,
59
- defaultConfig: X
58
+ defaultConfig: J
60
59
  });
61
60
  return e.theme ? {
62
- ...A({
63
- userConfig: ie.vue_ui_table_heatmap[e.theme] || m.config,
61
+ ...D({
62
+ userConfig: ve.vue_ui_table_heatmap[e.theme] || m.config,
64
63
  defaultConfig: e
65
64
  })
66
65
  } : e;
67
66
  }
68
- oe(() => m.config, (e) => {
67
+ le(() => m.config, (e) => {
69
68
  t.value = P(), $.value = !t.value.userOptions.showOnChartHover, R();
70
69
  }, { deep: !0 });
71
- const { isPrinting: q, isImaging: J, generatePdf: N, generateImage: V } = ge({
72
- elementId: `table_heatmap_${_.value}`,
70
+ const { isPrinting: Q, isImaging: Y, generatePdf: N, generateImage: V } = Ce({
71
+ elementId: `table_heatmap_${I.value}`,
73
72
  fileName: "vue-ui-table-heatmap",
74
73
  options: t.value.userOptions.print
75
- }), K = v(() => t.value.table.responsiveBreakpoint), Q = v(() => !!m.dataset && m.dataset.length);
76
- z(() => {
74
+ }), Z = v(() => t.value.table.responsiveBreakpoint), j = v(() => !!m.dataset && m.dataset.length);
75
+ E(() => {
77
76
  R();
78
77
  });
79
78
  function R() {
80
- de(m.dataset) && pe({
79
+ ce(m.dataset) && me({
81
80
  componentName: "VueUiTableHeatmap",
82
81
  type: "dataset"
83
82
  });
84
- const e = new ResizeObserver((o) => {
85
- o.forEach((a) => {
86
- i.value = a.contentRect.width < K.value;
83
+ const e = new ResizeObserver((a) => {
84
+ a.forEach((o) => {
85
+ i.value = o.contentRect.width < Z.value;
87
86
  });
88
87
  });
89
88
  y.value && e.observe(y.value);
90
89
  }
91
- const M = v(() => m.dataset.map((e) => {
92
- const o = e.values.map((s) => isNaN(s) ? 0 : s), a = o.reduce((s, p) => s + p, 0);
90
+ const S = v(() => m.dataset.map((e) => {
91
+ const a = e.values.map((s) => isNaN(s) ? 0 : s), o = a.reduce((s, p) => s + p, 0);
93
92
  return {
94
93
  ...e,
95
- values: o,
94
+ values: a,
96
95
  serieExtremes: {
97
- max: Math.max(...o),
98
- min: Math.min(...o)
96
+ max: Math.max(...a),
97
+ min: Math.min(...a)
99
98
  },
100
- sum: a,
101
- average: a / o.length,
102
- median: ve(o),
99
+ sum: o,
100
+ average: o / a.length,
101
+ median: fe(a),
103
102
  displayValues: [e.name, ...e.values],
104
103
  id: H()
105
104
  };
106
- })), S = v(() => {
107
- const e = M.value.flatMap((o) => o.values);
105
+ })), M = v(() => {
106
+ const e = S.value.flatMap((a) => a.values);
108
107
  return {
109
108
  min: Math.min(...e),
110
109
  max: Math.max(...e)
111
110
  };
112
111
  });
113
- function Y(e, o) {
114
- const a = t.value.style.heatmapColors.useIndividualScale;
115
- return me(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, a ? o.min : S.value.min, a ? o.max : S.value.max, e);
112
+ function ee(e, a) {
113
+ const o = t.value.style.heatmapColors.useIndividualScale;
114
+ return ge(t.value.style.heatmapColors.min, t.value.style.heatmapColors.max, o ? a.min : M.value.min, o ? a.max : M.value.max, e);
116
115
  }
117
- const T = v(() => M.value.map((e) => ({
116
+ const T = v(() => S.value.map((e) => ({
118
117
  ...e,
119
- colors: e.displayValues.map((o) => isNaN(o) ? t.value.style.backgroundColor : Y(o, e.serieExtremes))
120
- }))), Z = v(() => t.value.style.backgroundColor), j = v(() => `${t.value.table.borderWidth}px`);
118
+ colors: e.displayValues.map((a) => isNaN(a) ? t.value.style.backgroundColor : ee(a, e.serieExtremes))
119
+ }))), te = v(() => t.value.style.backgroundColor), oe = v(() => `${t.value.table.borderWidth}px`);
121
120
  function U() {
122
- re(() => {
121
+ de(() => {
123
122
  const e = T.value.map((s) => [
124
123
  [s.name],
125
124
  s.displayValues,
126
125
  [s.sum],
127
126
  [s.average],
128
127
  [s.median]
129
- ]), o = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), a = fe(o);
130
- he({ csvContent: a, title: "vue-ui-table-heatmap" });
128
+ ]), a = [[[""], t.value.table.head.values, ["sum"], ["average"], ["median"]]].concat(e), o = be(a);
129
+ ye({ csvContent: o, title: "vue-ui-table-heatmap" });
131
130
  });
132
131
  }
133
- function ee(e) {
134
- I.value = e, O.value += 1;
132
+ function ae(e) {
133
+ _.value = e, O.value += 1;
135
134
  }
136
- return L({
135
+ return X({
137
136
  generatePdf: N,
138
137
  generateCsv: U,
139
138
  generateImage: V
140
- }), (e, o) => (n(), l("div", {
139
+ }), (e, a) => (n(), l("div", {
141
140
  ref_key: "tableContainer",
142
141
  ref: y,
143
- style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
144
- class: E({ "vue-ui-responsive": i.value }),
145
- id: `table_heatmap_${_.value}`,
146
- onMouseenter: o[0] || (o[0] = () => u(x)(!0)),
147
- onMouseleave: o[1] || (o[1] = () => u(x)(!1))
142
+ style: C(`width:100%; overflow-x:auto; container-type: inline-size;padding-top:${t.value.userOptions.show ? "36px" : ""}; ${_.value ? "vue-data-ui-wrapper-fullscreen" : ""}; position:relative;`),
143
+ class: G({ "vue-ui-responsive": i.value }),
144
+ id: `table_heatmap_${I.value}`,
145
+ onMouseenter: a[0] || (a[0] = () => u(x)(!0)),
146
+ onMouseleave: a[1] || (a[1] = () => u(x)(!1))
148
147
  }, [
149
- t.value.userOptions.show && Q.value && (u(F) || u($)) ? (n(), se(be, {
148
+ t.value.userOptions.show && j.value && (u(F) || u($)) ? (n(), re(u(q), {
150
149
  ref: "details",
151
150
  key: `user_option_${O.value}`,
152
151
  backgroundColor: t.value.style.backgroundColor,
153
152
  color: t.value.style.color,
154
- isPrinting: u(q),
155
- isImaging: u(J),
156
- uid: _.value,
153
+ isPrinting: u(Q),
154
+ isImaging: u(Y),
155
+ uid: I.value,
157
156
  hasPdf: t.value.userOptions.buttons.pdf,
158
157
  hasXls: t.value.userOptions.buttons.csv,
159
158
  hasImg: t.value.userOptions.buttons.img,
160
159
  hasFullscreen: t.value.userOptions.buttons.fullscreen,
161
- isFullscreen: I.value,
160
+ isFullscreen: _.value,
162
161
  titles: { ...t.value.userOptions.buttonTitles },
163
162
  chartElement: y.value,
164
163
  position: t.value.userOptions.position,
165
- onToggleFullscreen: ee,
164
+ onToggleFullscreen: ae,
166
165
  onGeneratePdf: u(N),
167
166
  onGenerateCsv: U,
168
167
  onGenerateImage: u(V),
169
168
  style: C({
170
169
  visibility: u(F) ? u($) ? "visible" : "hidden" : "visible"
171
170
  })
172
- }, ne({ _: 2 }, [
171
+ }, ue({ _: 2 }, [
173
172
  e.$slots.menuIcon ? {
174
173
  name: "menuIcon",
175
- fn: b(({ isOpen: a, color: s }) => [
176
- r(e.$slots, "menuIcon", G(B({ isOpen: a, color: s })), void 0, !0)
174
+ fn: b(({ isOpen: o, color: s }) => [
175
+ r(e.$slots, "menuIcon", B(A({ isOpen: o, color: s })), void 0, !0)
177
176
  ]),
178
177
  key: "0"
179
178
  } : void 0,
@@ -200,14 +199,14 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
200
199
  } : void 0,
201
200
  e.$slots.optionFullscreen ? {
202
201
  name: "optionFullscreen",
203
- fn: b(({ toggleFullscreen: a, isFullscreen: s }) => [
204
- r(e.$slots, "optionFullscreen", G(B({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
202
+ fn: b(({ toggleFullscreen: o, isFullscreen: s }) => [
203
+ r(e.$slots, "optionFullscreen", B(A({ toggleFullscreen: o, isFullscreen: s })), void 0, !0)
205
204
  ]),
206
205
  key: "4"
207
206
  } : void 0
208
207
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
209
208
  g("table", {
210
- class: E({ "vue-ui-table-heatmap": !0 }),
209
+ class: G({ "vue-ui-table-heatmap": !0 }),
211
210
  style: C(`width:100%;font-family:${t.value.style.fontFamily};background:${t.value.style.backgroundColor};`)
212
211
  }, [
213
212
  g("caption", null, [
@@ -218,32 +217,32 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
218
217
  role: "row",
219
218
  style: C(`background:${t.value.table.head.backgroundColor};color:${t.value.table.head.color}`)
220
219
  }, [
221
- (n(!0), l(k, null, w(t.value.table.head.values, (a, s) => (n(), l("th", Ie, [
222
- r(e.$slots, "head", f({ ref_for: !0 }, { value: a, rowIndex: s, type: typeof a, isResponsive: i.value }), void 0, !0)
220
+ (n(!0), l(k, null, w(t.value.table.head.values, (o, s) => (n(), l("th", $e, [
221
+ r(e.$slots, "head", f({ ref_for: !0 }, { value: o, rowIndex: s, type: typeof o, isResponsive: i.value }), void 0, !0)
223
222
  ]))), 256))
224
223
  ], 4)
225
224
  ]),
226
225
  g("tbody", null, [
227
- (n(!0), l(k, null, w(T.value, (a, s) => (n(), l("tr", $e, [
228
- (n(!0), l(k, null, w(a.displayValues, (p, d) => (n(), l("td", {
226
+ (n(!0), l(k, null, w(T.value, (o, s) => (n(), l("tr", we, [
227
+ (n(!0), l(k, null, w(o.displayValues, (p, d) => (n(), l("td", {
229
228
  role: "cell",
230
229
  "data-cell": t.value.table.head.values[d]
231
230
  }, [
232
- a.color && d === 0 ? (n(), l("div", Oe, [
233
- a.color ? (n(), l("svg", {
231
+ o.color && d === 0 ? (n(), l("div", xe, [
232
+ o.color ? (n(), l("svg", {
234
233
  key: 0,
235
234
  height: t.value.style.shapeSize,
236
235
  width: t.value.style.shapeSize,
237
236
  viewBox: "0 0 20 20",
238
237
  style: { background: "none", overflow: "visible" }
239
238
  }, [
240
- le(ye, {
239
+ ie(u(W), {
241
240
  plot: { x: 10, y: 10 },
242
- color: a.color,
241
+ color: o.color,
243
242
  radius: 9,
244
- shape: a.shape || "circle"
243
+ shape: o.shape || "circle"
245
244
  }, null, 8, ["color", "shape"])
246
- ], 8, xe)) : c("", !0),
245
+ ], 8, Fe)) : c("", !0),
247
246
  r(e.$slots, "rowTitle", f({ ref_for: !0 }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value }), void 0, !0)
248
247
  ])) : (n(), l(k, { key: 1 }, [
249
248
  d === 0 ? r(e.$slots, "rowTitle", f({
@@ -253,27 +252,27 @@ const _e = ["id"], Ie = { role: "cell" }, $e = { role: "row" }, we = ["data-cell
253
252
  d > 0 ? r(e.$slots, "cell", f({
254
253
  key: 1,
255
254
  ref_for: !0
256
- }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value, color: a.colors[d], textColor: u(ce)(a.colors[d]) }), void 0, !0) : c("", !0)
255
+ }, { value: p, rowIndex: s, colIndex: d, type: typeof p, isResponsive: i.value, color: o.colors[d], textColor: u(he)(o.colors[d]) }), void 0, !0) : c("", !0)
257
256
  ], 64))
258
- ], 8, we))), 256)),
259
- t.value.table.showSum ? (n(), l("td", Fe, [
260
- r(e.$slots, "sum", f({ ref_for: !0 }, { value: a.sum, rowIndex: s, isResponsive: i.value }), void 0, !0)
257
+ ], 8, Oe))), 256)),
258
+ t.value.table.showSum ? (n(), l("td", Pe, [
259
+ r(e.$slots, "sum", f({ ref_for: !0 }, { value: o.sum, rowIndex: s, isResponsive: i.value }), void 0, !0)
261
260
  ])) : c("", !0),
262
- t.value.table.showAverage ? (n(), l("td", Pe, [
263
- r(e.$slots, "average", f({ ref_for: !0 }, { value: a.average, rowIndex: s, isResponsive: i.value }), void 0, !0)
261
+ t.value.table.showAverage ? (n(), l("td", Ne, [
262
+ r(e.$slots, "average", f({ ref_for: !0 }, { value: o.average, rowIndex: s, isResponsive: i.value }), void 0, !0)
264
263
  ])) : c("", !0),
265
- t.value.table.showMedian ? (n(), l("td", Ne, [
266
- r(e.$slots, "median", f({ ref_for: !0 }, { value: a.median, rowIndex: s, isResponsive: i.value }), void 0, !0)
264
+ t.value.table.showMedian ? (n(), l("td", Ve, [
265
+ r(e.$slots, "median", f({ ref_for: !0 }, { value: o.median, rowIndex: s, isResponsive: i.value }), void 0, !0)
267
266
  ])) : c("", !0)
268
267
  ]))), 256))
269
268
  ])
270
269
  ], 4),
271
- e.$slots.source ? (n(), l("div", Ve, [
270
+ e.$slots.source ? (n(), l("div", Re, [
272
271
  r(e.$slots, "source", {}, void 0, !0)
273
272
  ], 512)) : c("", !0)
274
273
  ], 46, _e));
275
274
  }
276
- }, Be = /* @__PURE__ */ ke(Re, [["__scopeId", "data-v-dd493d6a"]]);
275
+ }, Be = /* @__PURE__ */ Ie(Se, [["__scopeId", "data-v-4276aa7b"]]);
277
276
  export {
278
277
  Be as default
279
278
  };