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,30 +1,29 @@
1
- import { useCssVars as ze, ref as p, useSlots as De, onMounted as pe, computed as _, watch as fe, createElementBlock as c, openBlock as d, unref as i, normalizeClass as X, createCommentVNode as g, createElementVNode as f, normalizeStyle as s, toDisplayString as C, withDirectives as Pe, createVNode as z, Fragment as J, renderList as K, createBlock as Ne, createSlots as Fe, withCtx as D, renderSlot as A, mergeProps as me, nextTick as Ve } from "vue";
2
- import { u as Te, c as We, t as Me, p as F, a as Ee, b as Ue, o as Be, e as be, g as Ge, a6 as Le, d as Re, i as V, f as T, q as He, r as qe } from "./index-vjCxtaM0.js";
3
- import { u as ge } from "./useNestedProp-Du1hnYFA.js";
4
- import Xe from "./vue-ui-sparkline-C2HuTMDz.js";
5
- import W from "./BaseIcon-CgSWwnK7.js";
6
- import { u as Je, U as Ke, v as Qe } from "./usePrinter-CcgJXHIK.js";
7
- import { u as Ye } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { _ as Ze } from "./_plugin-vue_export-helper-CHgC5LLL.js";
9
- const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } }, tt = {
1
+ import { useCssVars as Fe, defineAsyncComponent as J, ref as p, useSlots as Ve, onMounted as me, computed as _, watch as be, shallowRef as Te, onBeforeUnmount as We, createElementBlock as c, openBlock as d, unref as u, normalizeClass as K, createCommentVNode as g, createElementVNode as f, normalizeStyle as r, toDisplayString as C, withDirectives as Me, createVNode as D, Fragment as Q, renderList as Y, createBlock as Ue, createSlots as Be, withCtx as P, renderSlot as O, mergeProps as ge, nextTick as Ee } from "vue";
2
+ import { u as ye } from "./useNestedProp-tRqS0ZAM.js";
3
+ import { u as Ge, c as Le, t as Re, p as T, a as He, b as qe, o as Xe, e as he, g as Je, a5 as Ke, d as Qe, i as W, f as M, q as Ye, r as Ze } from "./index-BiHmNd1-.js";
4
+ import { u as je } from "./usePrinter-CRCbl1WG.js";
5
+ import { u as et } from "./useUserOptionState-BIvW1Kz7.js";
6
+ import { v as tt } from "./vClickOutside-C6WiFswA.js";
7
+ import { _ as at } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const lt = ["id"], ot = { style: { "z-index": "1", "padding-right": "24px" } }, nt = {
10
9
  key: 0,
11
10
  style: {
12
11
  display: "flex",
13
12
  flexDirection: "row",
14
13
  alignItems: "center"
15
14
  }
16
- }, at = {
15
+ }, ut = {
17
16
  key: 0,
18
17
  style: {
19
18
  display: "flex",
20
19
  flexDirection: "row",
21
20
  alignItems: "center"
22
21
  }
23
- }, lt = ["onClick"], ot = ["onClick"], nt = ["data-cell"], ut = ["data-cell", "onPointerenter"], st = ["data-cell"], rt = ["data-cell"], it = ["data-cell"], dt = ["data-cell"], vt = {
22
+ }, st = ["onClick"], rt = ["onClick"], it = ["data-cell"], dt = ["data-cell", "onPointerenter"], vt = ["data-cell"], ct = ["data-cell"], pt = ["data-cell"], ft = ["data-cell"], mt = {
24
23
  key: 1,
25
24
  ref: "source",
26
25
  dir: "auto"
27
- }, ct = {
26
+ }, bt = {
28
27
  __name: "vue-ui-table-sparkline",
29
28
  props: {
30
29
  config: {
@@ -40,65 +39,66 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
40
39
  }
41
40
  }
42
41
  },
43
- setup(ye, { expose: he }) {
44
- ze((t) => ({
45
- "8765d8b0": t.tdo
42
+ setup(ke, { expose: _e }) {
43
+ Fe((t) => ({
44
+ "6e3712b2": t.tdo
46
45
  }));
47
- const { vue_ui_table_sparkline: ke } = Te(), x = ye, M = p(We()), Q = p(0), E = p(0), U = p(null), _e = De();
48
- pe(() => {
49
- _e["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
46
+ const Ce = J(() => import("./vue-ui-sparkline-CoL8jiX8.js")), N = J(() => import("./BaseIcon-CZdMutjs.js")), xe = J(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_table_sparkline: we } = Ge(), x = ke, U = p(Le()), Z = p(0), B = p(0), E = p(null), Se = Ve();
47
+ me(() => {
48
+ Se["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
50
49
  });
51
50
  const e = _({
52
- get: () => j(),
51
+ get: () => te(),
53
52
  set: (t) => t
54
- }), { userOptionsVisible: B, setUserOptionsVisibility: Y, keepUserOptionState: Z } = Ye({ config: e.value });
55
- function j() {
56
- const t = ge({
53
+ }), { userOptionsVisible: G, setUserOptionsVisibility: j, keepUserOptionState: ee } = et({ config: e.value });
54
+ function te() {
55
+ const t = ye({
57
56
  userConfig: x.config,
58
- defaultConfig: ke
57
+ defaultConfig: we
59
58
  });
60
59
  return t.theme ? {
61
- ...ge({
62
- userConfig: Ee.vue_ui_table_sparkline[t.theme] || x.config,
60
+ ...ye({
61
+ userConfig: He.vue_ui_table_sparkline[t.theme] || x.config,
63
62
  defaultConfig: t
64
63
  }),
65
- customPalette: Me[t.theme] || F
64
+ customPalette: Re[t.theme] || T
66
65
  } : t;
67
66
  }
68
- fe(() => x.config, (t) => {
69
- e.value = j(), B.value = !e.value.userOptions.showOnChartHover, oe(), E.value += 1;
70
- }, { deep: !0 }), fe(() => x.dataset, (t) => {
71
- m.value = O.value, E.value += 1;
67
+ be(() => x.config, (t) => {
68
+ e.value = te(), G.value = !e.value.userOptions.showOnChartHover, ue(), B.value += 1;
69
+ }, { deep: !0 }), be(() => x.dataset, (t) => {
70
+ m.value = $.value, B.value += 1;
72
71
  }, { deep: !0 });
73
- const { isPrinting: ee, isImaging: te, generatePdf: ae, generateImage: le } = Je({
74
- elementId: `table_${M.value}`,
72
+ const { isPrinting: ae, isImaging: le, generatePdf: oe, generateImage: ne } = je({
73
+ elementId: `table_${U.value}`,
75
74
  fileName: e.value.title.text || "vue-ui-table-sparkline",
76
75
  options: e.value.userOptions.print
77
- }), Ce = _(() => Ue(e.value.customPalette)), P = p(null), G = p(!1), xe = _(() => e.value.responsiveBreakpoint);
78
- pe(() => {
79
- oe();
76
+ }), Ie = _(() => qe(e.value.customPalette)), F = p(null), L = p(!1), Ae = _(() => e.value.responsiveBreakpoint);
77
+ me(() => {
78
+ ue();
80
79
  });
81
- const L = p(e.value.colNames);
82
- function oe() {
83
- Be(x.dataset) && be({
80
+ const R = p(e.value.colNames), I = Te(null);
81
+ function ue() {
82
+ Xe(x.dataset) && he({
84
83
  componentName: "VueUiTableSparkline",
85
84
  type: "dataset"
86
- });
87
- const t = new ResizeObserver((l) => {
88
- l.forEach((a) => {
89
- G.value = a.contentRect.width < xe.value;
85
+ }), I.value && I.value.disconnect(), I.value = new ResizeObserver((t) => {
86
+ t.forEach((l) => {
87
+ L.value = l.contentRect.width < Ae.value;
90
88
  });
91
- });
92
- P.value && t.observe(P.value), L.value = [];
93
- for (let l = 0; l < se.value; l += 1)
94
- L.value.push(e.value.colNames[l] || `col ${l}`);
89
+ }), F.value && I.value.observe(F.value), R.value = [];
90
+ for (let t = 0; t < ie.value; t += 1)
91
+ R.value.push(e.value.colNames[t] || `col ${t}`);
95
92
  }
96
- const ne = _(() => (x.dataset.forEach((t, l) => {
97
- Ge({
93
+ We(() => {
94
+ I.value && I.value.disconnect();
95
+ });
96
+ const se = _(() => (x.dataset.forEach((t, l) => {
97
+ Je({
98
98
  datasetObject: t,
99
99
  requiredAttributes: ["name", "values"]
100
100
  }).forEach((a) => {
101
- be({
101
+ he({
102
102
  componentName: "VueUiTableSparkline",
103
103
  type: "datasetSerieAttribute",
104
104
  property: a,
@@ -106,64 +106,64 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
106
106
  });
107
107
  });
108
108
  }), x.dataset.map((t, l) => {
109
- const a = (t.values || []).map((v) => isNaN(v) ? 0 : v ?? 0), o = a.reduce((v, r) => v + r, 0), u = o / a.length, n = Le(a);
109
+ const a = (t.values || []).map((v) => isNaN(v) ? 0 : v ?? 0), o = a.reduce((v, i) => v + i, 0), s = o / a.length, n = Ke(a);
110
110
  return {
111
111
  ...t,
112
112
  values: t.values || [],
113
- color: Re(t.color) || Ce.value[l] || F[l] || F[l % F.length],
113
+ color: Qe(t.color) || Ie.value[l] || T[l] || T[l % T.length],
114
114
  sum: o,
115
- average: u,
115
+ average: s,
116
116
  median: n,
117
- sparklineDataset: a.map((v, r) => ({
118
- period: e.value.colNames[r] || `col ${r}`,
117
+ sparklineDataset: a.map((v, i) => ({
118
+ period: e.value.colNames[i] || `col ${i}`,
119
119
  value: v || 0
120
120
  }))
121
121
  };
122
122
  })));
123
- function we(t) {
123
+ function Oe(t) {
124
124
  const a = (t[0].values || []).map(
125
- (u, n) => t.map((v) => v.values[n] || [])
125
+ (s, n) => t.map((v) => v.values[n] || [])
126
126
  ).map(
127
- (u) => u.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
127
+ (s) => s.map((n, v) => [n, v]).sort((n, v) => v[0] - n[0]).map((n) => n[1])
128
128
  );
129
- return t.map((u, n) => ({
130
- ...u,
131
- values: u.values || [],
129
+ return t.map((s, n) => ({
130
+ ...s,
131
+ values: s.values || [],
132
132
  orders: a[n]
133
133
  }));
134
134
  }
135
- const O = _(() => we(ne.value)), m = p(O.value), Se = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), R = p(void 0), H = p(!1), b = p(void 0), ue = p(1);
136
- function I() {
137
- H.value = !1, b.value = void 0, y.value = void 0, ue.value = 1, $.value.forEach((t) => t.state = 1), w.value = {
135
+ const $ = _(() => Oe(se.value)), m = p($.value), $e = _(() => Math.max(...m.value.map((t) => (t.values || []).length))), H = p(void 0), q = p(!1), b = p(void 0), re = p(1);
136
+ function A() {
137
+ q.value = !1, b.value = void 0, y.value = void 0, re.value = 1, z.value.forEach((t) => t.state = 1), w.value = {
138
138
  name: 1,
139
139
  sum: 1,
140
140
  average: 1,
141
141
  median: 1
142
- }, m.value = O.value;
142
+ }, m.value = $.value;
143
143
  }
144
- function N(t, l, a) {
144
+ function V(t, l, a) {
145
145
  if (["name", "sum", "average", "median"].includes(t.type)) {
146
- Ie(t.type, l, a);
146
+ ze(t.type, l, a);
147
147
  return;
148
148
  }
149
- if (!de(l)) return;
150
- if (S.value = l, y.value = void 0, ![null, void 0].includes(b.value) && l !== b.value && (b.value = void 0, I()), $.value[l].state === a && b.value === l) {
151
- b.value = void 0, I();
149
+ if (!ce(l)) return;
150
+ if (S.value = l, y.value = void 0, ![null, void 0].includes(b.value) && l !== b.value && (b.value = void 0, A()), z.value[l].state === a && b.value === l) {
151
+ b.value = void 0, A();
152
152
  return;
153
153
  }
154
- H.value = !0, b.value = l;
155
- const o = O.value.map((r) => r.values[l] || []), u = a;
156
- $.value[l].state = u, ue.value = u, l === R.value ? R.value = void 0 : R.value = l;
157
- const v = o.map((r, h) => [h, r]).sort((r, h) => u * (h[1] - r[1])).map((r) => r[0]).map((r) => O.value[r]);
158
- m.value = v, E.value += 1;
154
+ q.value = !0, b.value = l;
155
+ const o = $.value.map((i) => i.values[l] || []), s = a;
156
+ z.value[l].state = s, re.value = s, l === H.value ? H.value = void 0 : H.value = l;
157
+ const v = o.map((i, h) => [h, i]).sort((i, h) => s * (h[1] - i[1])).map((i) => i[0]).map((i) => $.value[i]);
158
+ m.value = v, B.value += 1;
159
159
  }
160
- const se = _(() => Math.max(...x.dataset.map((t) => (t.values || []).length))), k = _(() => {
161
- let t = L.value.map((a) => ({
160
+ const ie = _(() => Math.max(...x.dataset.map((t) => (t.values || []).length))), k = _(() => {
161
+ let t = R.value.map((a) => ({
162
162
  type: "reg",
163
163
  value: a
164
164
  }));
165
165
  if (!t.length)
166
- for (let a = 0; a < se.value; a += 1)
166
+ for (let a = 0; a < ie.value; a += 1)
167
167
  t.push({ type: "reg", value: `col ${a + 1}` });
168
168
  e.value.showTotal && (t = [...t, { type: "sum", value: e.value.translations.total }]);
169
169
  let l;
@@ -178,80 +178,80 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
178
178
  average: 1,
179
179
  median: 1
180
180
  }), y = p(void 0);
181
- function Ie(t, l, a) {
182
- if (!m.value || m.value.length === 0 || !ve(t)) return;
183
- if (y.value !== t && (y.value = void 0), ![null, void 0].includes(b.value) && l !== b.value && I(), b.value = void 0, w.value[t] === a && y.value) {
184
- y.value = void 0, I();
181
+ function ze(t, l, a) {
182
+ if (!m.value || m.value.length === 0 || !pe(t)) return;
183
+ if (y.value !== t && (y.value = void 0), ![null, void 0].includes(b.value) && l !== b.value && A(), b.value = void 0, w.value[t] === a && y.value) {
184
+ y.value = void 0, A();
185
185
  return;
186
186
  }
187
- y.value = t, H.value = !0, w.value[t] = a, [null, void 0].includes(l) || ($.value[l].state = w.value[t]);
188
- const o = w.value[t], u = [...m.value].sort((n, v) => {
189
- const r = n[t] ?? (typeof n[t] == "number" ? 0 : ""), h = v[t] ?? (typeof v[t] == "number" ? 0 : "");
190
- return typeof r == "string" && typeof h == "string" ? o === -1 ? r.localeCompare(h) : h.localeCompare(r) : typeof r == "number" && typeof h == "number" ? o === -1 ? r - h : h - r : 0;
187
+ y.value = t, q.value = !0, w.value[t] = a, [null, void 0].includes(l) || (z.value[l].state = w.value[t]);
188
+ const o = w.value[t], s = [...m.value].sort((n, v) => {
189
+ const i = n[t] ?? (typeof n[t] == "number" ? 0 : ""), h = v[t] ?? (typeof v[t] == "number" ? 0 : "");
190
+ return typeof i == "string" && typeof h == "string" ? o === -1 ? i.localeCompare(h) : h.localeCompare(i) : typeof i == "number" && typeof h == "number" ? o === -1 ? i - h : h - i : 0;
191
191
  });
192
- m.value = u;
192
+ m.value = s;
193
193
  }
194
- const S = p(void 0), q = p(void 0);
195
- function Ae({ dataIndex: t, serieIndex: l }) {
196
- S.value = t, q.value = l, U.value[t] && !G.value && U.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
194
+ const S = p(void 0), X = p(void 0);
195
+ function De({ dataIndex: t, serieIndex: l }) {
196
+ S.value = t, X.value = l, E.value[t] && !L.value && E.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
197
197
  }
198
- const re = p(!1);
199
- function Oe(t) {
200
- re.value = t, Q.value += 1;
198
+ const de = p(!1);
199
+ function Pe(t) {
200
+ de.value = t, Z.value += 1;
201
201
  }
202
- function ie() {
203
- Ve(() => {
204
- const t = [e.value.translations.serie].concat(k.value), l = ne.value.map((u, n) => [
205
- [u.name],
206
- u.values,
207
- [u.sum],
208
- [u.average],
209
- [u.median]
210
- ]), a = [t].concat(l), o = He(a);
211
- qe({
202
+ function ve() {
203
+ Ee(() => {
204
+ const t = [e.value.translations.serie].concat(k.value), l = se.value.map((s, n) => [
205
+ [s.name],
206
+ s.values,
207
+ [s.sum],
208
+ [s.average],
209
+ [s.median]
210
+ ]), a = [t].concat(l), o = Ye(a);
211
+ Ze({
212
212
  csvContent: o,
213
213
  title: e.value.title.text || "vue-ui-table-sparkline"
214
214
  });
215
215
  });
216
216
  }
217
- function de(t) {
217
+ function ce(t) {
218
218
  return e.value.sortedDataColumnIndices.includes(t);
219
219
  }
220
- function ve(t) {
220
+ function pe(t) {
221
221
  return t.type === "name" || t === "name" ? e.value.sortedSeriesName : t.type === "sum" || t === "sum" ? e.value.sortedSum : t.type === "average" || t === "average" ? e.value.sortedAverage : t.type === "median" || t === "median" ? e.value.sortedMedian : !1;
222
222
  }
223
- function ce(t, l, a) {
224
- return ["sum", "average", "median"].includes(l.type) ? y.value === l.type && w.value[l.type] === a ? 1 : 0.3 : t === b.value && $.value[t].state === a ? 1 : 0.3;
223
+ function fe(t, l, a) {
224
+ return ["sum", "average", "median"].includes(l.type) ? y.value === l.type && w.value[l.type] === a ? 1 : 0.3 : t === b.value && z.value[t].state === a ? 1 : 0.3;
225
225
  }
226
- function $e() {
227
- e.value.resetSortOnClickOutside && I();
226
+ function Ne() {
227
+ e.value.resetSortOnClickOutside && A();
228
228
  }
229
- const $ = _({
229
+ const z = _({
230
230
  get: () => k.value.map((t) => ({ state: 1 })),
231
231
  set: (t) => t
232
232
  });
233
- return he({
234
- generatePdf: ae,
235
- generateImage: le,
236
- generateCsv: ie,
237
- restoreOrder: I
233
+ return _e({
234
+ generatePdf: oe,
235
+ generateImage: ne,
236
+ generateCsv: ve,
237
+ restoreOrder: A
238
238
  }), (t, l) => (d(), c("div", {
239
239
  ref_key: "tableContainer",
240
- ref: P,
241
- class: X({ "vue-ui-table-sparkline": !0, "vue-ui-responsive": G.value }),
240
+ ref: F,
241
+ class: K({ "vue-ui-table-sparkline": !0, "vue-ui-responsive": L.value }),
242
242
  style: { overflow: "hidden" },
243
- id: `table_${M.value}`,
244
- onMouseenter: l[3] || (l[3] = () => i(Y)(!0)),
245
- onMouseleave: l[4] || (l[4] = () => i(Y)(!1))
243
+ id: `table_${U.value}`,
244
+ onMouseenter: l[3] || (l[3] = () => u(j)(!0)),
245
+ onMouseleave: l[4] || (l[4] = () => u(j)(!1))
246
246
  }, [
247
247
  e.value.title.text ? (d(), c("div", {
248
248
  key: 0,
249
249
  class: "vue-ui-table-sparkline-caption",
250
- style: s({ backgroundColor: e.value.title.backgroundColor })
250
+ style: r({ backgroundColor: e.value.title.backgroundColor })
251
251
  }, [
252
252
  f("div", {
253
253
  class: "atom-title",
254
- style: s({
254
+ style: r({
255
255
  fontSize: `${e.value.title.fontSize}px`,
256
256
  fontWeight: e.value.title.bold ? "bold" : "normal",
257
257
  color: e.value.title.color,
@@ -261,7 +261,7 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
261
261
  e.value.title.subtitle.text ? (d(), c("div", {
262
262
  key: 0,
263
263
  class: "atom-subtitle",
264
- style: s({
264
+ style: r({
265
265
  fontSize: `${e.value.title.subtitle.fontSize}px`,
266
266
  fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
267
267
  color: e.value.title.subtitle.color,
@@ -272,25 +272,25 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
272
272
  f("div", {
273
273
  style: { overflow: "auto" },
274
274
  onPointerleave: l[2] || (l[2] = (a) => {
275
- q.value = void 0, S.value = void 0;
275
+ X.value = void 0, S.value = void 0;
276
276
  })
277
277
  }, [
278
278
  f("table", {
279
279
  class: "vue-ui-data-table",
280
- style: s({ fontFamily: e.value.fontFamily, position: "relative" })
280
+ style: r({ fontFamily: e.value.fontFamily, position: "relative" })
281
281
  }, [
282
- f("thead", et, [
283
- Pe((d(), c("tr", {
282
+ f("thead", ot, [
283
+ Me((d(), c("tr", {
284
284
  role: "row",
285
285
  class: "vue-ui-data-table__thead-row",
286
- style: s({
286
+ style: r({
287
287
  backgroundColor: e.value.thead.backgroundColor,
288
288
  color: e.value.thead.color
289
289
  })
290
290
  }, [
291
291
  f("th", {
292
292
  role: "cell",
293
- style: s({
293
+ style: r({
294
294
  backgroundColor: e.value.thead.backgroundColor,
295
295
  border: e.value.thead.outline,
296
296
  textAlign: e.value.thead.textAlign,
@@ -299,7 +299,7 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
299
299
  class: "sticky-col-first"
300
300
  }, [
301
301
  f("div", {
302
- style: s({
302
+ style: r({
303
303
  display: "flex",
304
304
  flexDirection: "row",
305
305
  alignItems: "center",
@@ -308,29 +308,29 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
308
308
  })
309
309
  }, [
310
310
  f("span", null, C(e.value.translations.serie), 1),
311
- m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", tt, [
311
+ m.value.length > 1 && e.value.sortedSeriesName ? (d(), c("div", nt, [
312
312
  f("button", {
313
313
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
314
- onClick: l[0] || (l[0] = (a) => N({ type: "name" }, null, -1))
314
+ onClick: l[0] || (l[0] = (a) => V({ type: "name" }, null, -1))
315
315
  }, [
316
- z(W, {
316
+ D(u(N), {
317
317
  size: 12,
318
318
  name: "arrowBottom",
319
319
  stroke: e.value.thead.color,
320
- style: s({
320
+ style: r({
321
321
  opacity: y.value === "name" && w.value.name === -1 ? 1 : 0.3
322
322
  })
323
323
  }, null, 8, ["stroke", "style"])
324
324
  ]),
325
325
  f("button", {
326
326
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
327
- onClick: l[1] || (l[1] = (a) => N({ type: "name" }, null, 1))
327
+ onClick: l[1] || (l[1] = (a) => V({ type: "name" }, null, 1))
328
328
  }, [
329
- z(W, {
329
+ D(u(N), {
330
330
  size: 12,
331
331
  name: "arrowTop",
332
332
  stroke: e.value.thead.color,
333
- style: s({
333
+ style: r({
334
334
  opacity: y.value === "name" && w.value.name === 1 ? 1 : 0.3
335
335
  })
336
336
  }, null, 8, ["stroke", "style"])
@@ -338,9 +338,9 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
338
338
  ])) : g("", !0)
339
339
  ], 4)
340
340
  ], 4),
341
- (d(!0), c(J, null, K(k.value, (a, o) => (d(), c("th", {
341
+ (d(!0), c(Q, null, Y(k.value, (a, o) => (d(), c("th", {
342
342
  role: "cell",
343
- style: s({
343
+ style: r({
344
344
  background: e.value.thead.backgroundColor,
345
345
  border: e.value.thead.outline,
346
346
  textAlign: e.value.thead.textAlign,
@@ -348,10 +348,10 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
348
348
  minWidth: o === k.value.length - 1 ? `${e.value.sparkline.dimensions.width}px` : "48px",
349
349
  paddingRight: o === k.value.length - 1 && e.value.userOptions.show ? "36px" : ""
350
350
  }),
351
- class: X({ "sticky-col": o === k.value.length - 1 && e.value.showSparklines })
351
+ class: K({ "sticky-col": o === k.value.length - 1 && e.value.showSparklines })
352
352
  }, [
353
353
  f("div", {
354
- style: s({
354
+ style: r({
355
355
  display: "flex",
356
356
  flexDirection: "row",
357
357
  alignItems: "center",
@@ -360,113 +360,113 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
360
360
  })
361
361
  }, [
362
362
  f("span", null, C(a.value), 1),
363
- m.value.length > 1 && (de(o) || ve(a)) ? (d(), c("div", at, [
363
+ m.value.length > 1 && (ce(o) || pe(a)) ? (d(), c("div", ut, [
364
364
  f("button", {
365
365
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
366
- onClick: () => N(a, o, -1)
366
+ onClick: () => V(a, o, -1)
367
367
  }, [
368
- z(W, {
368
+ D(u(N), {
369
369
  size: 12,
370
370
  name: "arrowBottom",
371
371
  stroke: e.value.thead.color,
372
- style: s({
373
- opacity: ce(o, a, -1)
372
+ style: r({
373
+ opacity: fe(o, a, -1)
374
374
  })
375
375
  }, null, 8, ["stroke", "style"])
376
- ], 8, lt),
376
+ ], 8, st),
377
377
  f("button", {
378
378
  class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
379
- onClick: () => N(a, o, 1)
379
+ onClick: () => V(a, o, 1)
380
380
  }, [
381
- z(W, {
381
+ D(u(N), {
382
382
  size: 12,
383
383
  name: "arrowTop",
384
384
  stroke: e.value.thead.color,
385
- style: s({
386
- opacity: ce(o, a, 1)
385
+ style: r({
386
+ opacity: fe(o, a, 1)
387
387
  })
388
388
  }, null, 8, ["stroke", "style"])
389
- ], 8, ot)
389
+ ], 8, rt)
390
390
  ])) : g("", !0)
391
391
  ], 4),
392
- e.value.userOptions.show && o === k.value.length - 1 && (i(Z) || i(B)) ? (d(), Ne(Ke, {
392
+ e.value.userOptions.show && o === k.value.length - 1 && (u(ee) || u(G)) ? (d(), Ue(u(xe), {
393
393
  ref_for: !0,
394
394
  ref: "details",
395
- key: `user_option_${Q.value}`,
395
+ key: `user_option_${Z.value}`,
396
396
  backgroundColor: e.value.thead.backgroundColor,
397
397
  color: e.value.thead.color,
398
- isPrinting: i(ee),
399
- isImaging: i(te),
400
- uid: M.value,
398
+ isPrinting: u(ae),
399
+ isImaging: u(le),
400
+ uid: U.value,
401
401
  hasPdf: e.value.userOptions.buttons.pdf,
402
402
  hasXls: e.value.userOptions.buttons.csv,
403
403
  hasImg: e.value.userOptions.buttons.img,
404
404
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
405
- isFullscreen: re.value,
405
+ isFullscreen: de.value,
406
406
  titles: { ...e.value.userOptions.buttonTitles },
407
- chartElement: P.value,
407
+ chartElement: F.value,
408
408
  position: e.value.userOptions.position,
409
- onToggleFullscreen: Oe,
410
- onGeneratePdf: i(ae),
411
- onGenerateImage: i(le),
412
- onGenerateCsv: ie,
413
- style: s({
414
- visibility: i(Z) ? i(B) ? "visible" : "hidden" : "visible"
409
+ onToggleFullscreen: Pe,
410
+ onGeneratePdf: u(oe),
411
+ onGenerateImage: u(ne),
412
+ onGenerateCsv: ve,
413
+ style: r({
414
+ visibility: u(ee) ? u(G) ? "visible" : "hidden" : "visible"
415
415
  })
416
- }, Fe({ _: 2 }, [
416
+ }, Be({ _: 2 }, [
417
417
  t.$slots.menuIcon ? {
418
418
  name: "menuIcon",
419
- fn: D(({ isOpen: u, color: n }) => [
420
- A(t.$slots, "menuIcon", me({ ref_for: !0 }, { isOpen: u, color: n }), void 0, !0)
419
+ fn: P(({ isOpen: s, color: n }) => [
420
+ O(t.$slots, "menuIcon", ge({ ref_for: !0 }, { isOpen: s, color: n }), void 0, !0)
421
421
  ]),
422
422
  key: "0"
423
423
  } : void 0,
424
424
  t.$slots.optionPdf ? {
425
425
  name: "optionPdf",
426
- fn: D(() => [
427
- A(t.$slots, "optionPdf", {}, void 0, !0)
426
+ fn: P(() => [
427
+ O(t.$slots, "optionPdf", {}, void 0, !0)
428
428
  ]),
429
429
  key: "1"
430
430
  } : void 0,
431
431
  t.$slots.optionCsv ? {
432
432
  name: "optionCsv",
433
- fn: D(() => [
434
- A(t.$slots, "optionCsv", {}, void 0, !0)
433
+ fn: P(() => [
434
+ O(t.$slots, "optionCsv", {}, void 0, !0)
435
435
  ]),
436
436
  key: "2"
437
437
  } : void 0,
438
438
  t.$slots.optionImg ? {
439
439
  name: "optionImg",
440
- fn: D(() => [
441
- A(t.$slots, "optionImg", {}, void 0, !0)
440
+ fn: P(() => [
441
+ O(t.$slots, "optionImg", {}, void 0, !0)
442
442
  ]),
443
443
  key: "3"
444
444
  } : void 0,
445
445
  t.$slots.optionFullscreen ? {
446
446
  name: "optionFullscreen",
447
- fn: D(({ toggleFullscreen: u, isFullscreen: n }) => [
448
- A(t.$slots, "optionFullscreen", me({ ref_for: !0 }, { toggleFullscreen: u, isFullscreen: n }), void 0, !0)
447
+ fn: P(({ toggleFullscreen: s, isFullscreen: n }) => [
448
+ O(t.$slots, "optionFullscreen", ge({ ref_for: !0 }, { toggleFullscreen: s, isFullscreen: n }), void 0, !0)
449
449
  ]),
450
450
  key: "4"
451
451
  } : void 0
452
452
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage", "style"])) : g("", !0)
453
453
  ], 6))), 256))
454
454
  ], 4)), [
455
- [i(Qe), $e]
455
+ [u(tt), Ne]
456
456
  ])
457
457
  ]),
458
458
  f("tbody", null, [
459
- (d(!0), c(J, null, K(m.value, (a, o) => (d(), c("tr", {
459
+ (d(!0), c(Q, null, Y(m.value, (a, o) => (d(), c("tr", {
460
460
  role: "row",
461
- style: s({
461
+ style: r({
462
462
  backgroundColor: e.value.tbody.backgroundColor,
463
463
  color: e.value.tbody.color
464
464
  }),
465
- class: X({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
465
+ class: K({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
466
466
  }, [
467
467
  f("td", {
468
468
  role: "cell",
469
- style: s({
469
+ style: r({
470
470
  backgroundColor: e.value.tbody.backgroundColor,
471
471
  border: e.value.tbody.outline,
472
472
  fontSize: `${e.value.tbody.fontSize}px`,
@@ -478,7 +478,7 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
478
478
  }, [
479
479
  f("div", {
480
480
  dir: "auto",
481
- style: s({
481
+ style: r({
482
482
  display: "flex",
483
483
  flexDirection: "row",
484
484
  alignItems: "center",
@@ -488,18 +488,18 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
488
488
  }, [
489
489
  e.value.tbody.showColorMarker ? (d(), c("span", {
490
490
  key: 0,
491
- style: s({ color: a.color })
491
+ style: r({ color: a.color })
492
492
  }, "⬤", 4)) : g("", !0),
493
493
  f("span", null, C(a.name ?? "-"), 1)
494
494
  ], 4)
495
- ], 12, nt),
496
- (d(!0), c(J, null, K(Se.value, (u, n) => (d(), c("td", {
495
+ ], 12, it),
496
+ (d(!0), c(Q, null, Y($e.value, (s, n) => (d(), c("td", {
497
497
  dir: "auto",
498
498
  role: "cell",
499
499
  ref_for: !0,
500
500
  ref_key: "TD",
501
- ref: U,
502
- style: s({
501
+ ref: E,
502
+ style: r({
503
503
  border: e.value.tbody.outline,
504
504
  fontSize: `${e.value.tbody.fontSize}px`,
505
505
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -509,24 +509,24 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
509
509
  "data-cell": k.value[n] ? k.value[n].value : "",
510
510
  class: "vue-ui-data-table__tbody__td",
511
511
  onPointerenter: (v) => {
512
- q.value = o, S.value = n;
512
+ X.value = o, S.value = n;
513
513
  }
514
- }, C([null, void 0].includes(a.values[n]) ? "-" : i(V)(
514
+ }, C([null, void 0].includes(a.values[n]) ? "-" : u(W)(
515
515
  e.value.formatter,
516
516
  Number(a.values[n]),
517
- i(T)({
517
+ u(M)({
518
518
  p: e.value.prefix,
519
519
  v: Number(a.values[n]),
520
520
  s: e.value.suffix,
521
521
  r: e.value.roundingValues
522
522
  }),
523
523
  { datapoint: a, seriesIndex: o, datapointIndex: n }
524
- )), 45, ut))), 256)),
524
+ )), 45, dt))), 256)),
525
525
  e.value.showTotal ? (d(), c("td", {
526
526
  key: 0,
527
527
  dir: "auto",
528
528
  role: "cell",
529
- style: s({
529
+ style: r({
530
530
  border: e.value.tbody.outline,
531
531
  fontSize: `${e.value.tbody.fontSize}px`,
532
532
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -534,22 +534,22 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
534
534
  }),
535
535
  "data-cell": e.value.translations.total,
536
536
  class: "vue-ui-data-table__tbody__td"
537
- }, C(i(V)(
537
+ }, C(u(W)(
538
538
  e.value.formatter,
539
539
  a.sum,
540
- i(T)({
540
+ u(M)({
541
541
  p: e.value.prefix,
542
542
  v: a.sum,
543
543
  s: e.value.suffix,
544
544
  r: e.value.roundingTotal
545
545
  }),
546
546
  { datapoint: a.sum, seriesIndex: o }
547
- )), 13, st)) : g("", !0),
547
+ )), 13, vt)) : g("", !0),
548
548
  e.value.showAverage ? (d(), c("td", {
549
549
  key: 1,
550
550
  dir: "auto",
551
551
  role: "cell",
552
- style: s({
552
+ style: r({
553
553
  border: e.value.tbody.outline,
554
554
  fontSize: `${e.value.tbody.fontSize}px`,
555
555
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -557,22 +557,22 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
557
557
  }),
558
558
  "data-cell": e.value.translations.average,
559
559
  class: "vue-ui-data-table__tbody__td"
560
- }, C(i(V)(
560
+ }, C(u(W)(
561
561
  e.value.formatter,
562
562
  a.average,
563
- i(T)({
563
+ u(M)({
564
564
  p: e.value.prefix,
565
565
  v: a.average,
566
566
  s: e.value.suffix,
567
567
  r: e.value.roundingAverage
568
568
  }),
569
569
  { datapoint: a.average, seriesIndex: o }
570
- )), 13, rt)) : g("", !0),
570
+ )), 13, ct)) : g("", !0),
571
571
  e.value.showMedian ? (d(), c("td", {
572
572
  key: 2,
573
573
  dir: "auto",
574
574
  role: "cell",
575
- style: s({
575
+ style: r({
576
576
  border: e.value.tbody.outline,
577
577
  fontSize: `${e.value.tbody.fontSize}px`,
578
578
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -580,22 +580,22 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
580
580
  }),
581
581
  "data-cell": e.value.translations.median,
582
582
  class: "vue-ui-data-table__tbody__td"
583
- }, C(i(V)(
583
+ }, C(u(W)(
584
584
  e.value.formatter,
585
585
  a.median,
586
- i(T)({
586
+ u(M)({
587
587
  p: e.value.prefix,
588
588
  v: a.median,
589
589
  s: e.value.suffix,
590
590
  r: e.value.roundingMedian
591
591
  }),
592
592
  { datapoint: a.median, seriesIndex: o }
593
- )), 13, it)) : g("", !0),
593
+ )), 13, pt)) : g("", !0),
594
594
  e.value.showSparklines ? (d(), c("td", {
595
595
  key: 3,
596
596
  role: "cell",
597
597
  "data-cell": e.value.translations.chart,
598
- style: s({
598
+ style: r({
599
599
  border: e.value.tbody.outline,
600
600
  fontSize: `${e.value.tbody.fontSize}px`,
601
601
  fontWeight: e.value.tbody.bold ? "bold" : "normal",
@@ -605,8 +605,8 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
605
605
  }),
606
606
  class: "vue-ui-data-table__tbody__td sticky-col"
607
607
  }, [
608
- z(Xe, {
609
- onHoverIndex: ({ index: u }) => Ae({ dataIndex: u, serieIndex: o }),
608
+ D(u(Ce), {
609
+ onHoverIndex: ({ index: s }) => De({ dataIndex: s, serieIndex: o }),
610
610
  "height-ratio": e.value.sparkline.dimensions.heightRatio,
611
611
  "forced-padding": 30,
612
612
  dataset: a.sparklineDataset,
@@ -617,7 +617,7 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
617
617
  style: {
618
618
  backgroundColor: "transparent",
619
619
  animation: {
620
- show: e.value.sparkline.animation.show && !i(ee) && !i(te),
620
+ show: e.value.sparkline.animation.show && !u(ae) && !u(le),
621
621
  animationFrames: e.value.sparkline.animation.animationFrames
622
622
  },
623
623
  line: {
@@ -644,17 +644,17 @@ const je = ["id"], et = { style: { "z-index": "1", "padding-right": "24px" } },
644
644
  }
645
645
  }
646
646
  }, null, 8, ["onHoverIndex", "height-ratio", "dataset", "selectedIndex", "config"])
647
- ], 12, dt)) : g("", !0)
647
+ ], 12, ft)) : g("", !0)
648
648
  ], 6))), 256))
649
649
  ])
650
650
  ], 4)
651
651
  ], 32),
652
- t.$slots.source ? (d(), c("div", vt, [
653
- A(t.$slots, "source", {}, void 0, !0)
652
+ t.$slots.source ? (d(), c("div", mt, [
653
+ O(t.$slots, "source", {}, void 0, !0)
654
654
  ], 512)) : g("", !0)
655
- ], 42, je));
655
+ ], 42, lt));
656
656
  }
657
- }, _t = /* @__PURE__ */ Ze(ct, [["__scopeId", "data-v-6ebcec2e"]]);
657
+ }, wt = /* @__PURE__ */ at(bt, [["__scopeId", "data-v-0812843e"]]);
658
658
  export {
659
- _t as default
659
+ wt as default
660
660
  };