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,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-vjCxtaM0.js";
2
- import q from "./vue-ui-xy-CEop49z6.js";
3
- import Q from "./vue-ui-donut-CRdQFQgA.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-vjCxtaM0.js";
3
- import { u as A } from "./useNestedProp-Du1hnYFA.js";
4
- import { u as ge, U as be } from "./usePrinter-CcgJXHIK.js";
5
- import { _ as ye } from "./Shape-DICeBEtN.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
  };