vue-data-ui 3.2.3 → 3.2.5

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 (134) hide show
  1. package/dist/{PackageVersion-oBQ8brnx.js → PackageVersion-CPxZT-xH.js} +1 -1
  2. package/dist/{Title-C__lOIPC.js → Title-B3UTqrqj.js} +1 -1
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-accordion.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-annotator.js +1 -1
  7. package/dist/components/vue-ui-bullet.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-gizmo.js +1 -1
  24. package/dist/components/vue-ui-heatmap.js +1 -1
  25. package/dist/components/vue-ui-history-plot.js +1 -1
  26. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  27. package/dist/components/vue-ui-kpi.js +1 -1
  28. package/dist/components/vue-ui-mini-loader.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-rating.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-smiley.js +1 -1
  44. package/dist/components/vue-ui-spark-trend.js +1 -1
  45. package/dist/components/vue-ui-sparkbar.js +1 -1
  46. package/dist/components/vue-ui-sparkgauge.js +1 -1
  47. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  48. package/dist/components/vue-ui-sparkline.js +1 -1
  49. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  50. package/dist/components/vue-ui-stackbar.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/types/vue-data-ui.d.ts +2 -1
  68. package/dist/types/vue-ui-annotator.d.ts +14 -0
  69. package/dist/{useNestedProp-CLD3Gk9S.js → useNestedProp-B9OeNO-E.js} +4 -0
  70. package/dist/{vue-data-ui-hSWsJzdK.js → vue-data-ui-C-XpoSih.js} +63 -63
  71. package/dist/vue-data-ui.js +64 -64
  72. package/dist/{vue-ui-3d-bar-B45AYk-O.js → vue-ui-3d-bar-DOecLYLE.js} +3 -3
  73. package/dist/{vue-ui-accordion-Cv7OaVUI.js → vue-ui-accordion-DrKVXpRB.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-CJ66TbYc.js → vue-ui-age-pyramid-C0-TsZiO.js} +3 -3
  75. package/dist/{vue-ui-annotator-DOO0qej9.js → vue-ui-annotator-GYJPPkqk.js} +2 -2
  76. package/dist/{vue-ui-bullet-D_V1l1Jt.js → vue-ui-bullet-D8BTxLsh.js} +3 -3
  77. package/dist/{vue-ui-candlestick-DrkWrGT2.js → vue-ui-candlestick-C8EKzgk8.js} +3 -3
  78. package/dist/{vue-ui-carousel-table-0zk2YkV7.js → vue-ui-carousel-table-DWDAT9Bv.js} +2 -2
  79. package/dist/{vue-ui-chestnut-CAGkS9Lt.js → vue-ui-chestnut-moaiX3ch.js} +2 -2
  80. package/dist/{vue-ui-chord-CHAaUGaZ.js → vue-ui-chord-BV_o4nlt.js} +3 -3
  81. package/dist/{vue-ui-circle-pack-CBySiQot.js → vue-ui-circle-pack-CGZzZeiw.js} +3 -3
  82. package/dist/{vue-ui-cursor-Cbt_0B5t.js → vue-ui-cursor-DPpffCgE.js} +1 -1
  83. package/dist/{vue-ui-dashboard-BAOd1hi1.js → vue-ui-dashboard-elD5LDyG.js} +63 -63
  84. package/dist/{vue-ui-digits-ChAz3jSS.js → vue-ui-digits-D3ajh8NJ.js} +1 -1
  85. package/dist/{vue-ui-donut-evolution-UWyvIsbE.js → vue-ui-donut-evolution-BtoygMFS.js} +3 -3
  86. package/dist/{vue-ui-donut-BgYaWImK.js → vue-ui-donut-fadiDQvI.js} +3 -3
  87. package/dist/{vue-ui-dumbbell-B5IHRXdS.js → vue-ui-dumbbell-DHCYzyJz.js} +3 -3
  88. package/dist/{vue-ui-flow-DB4sLZG4.js → vue-ui-flow-D4ylW0W1.js} +3 -3
  89. package/dist/{vue-ui-funnel-COZLSfZ8.js → vue-ui-funnel-MoRuRQaq.js} +3 -3
  90. package/dist/{vue-ui-galaxy-S8pIdU78.js → vue-ui-galaxy-C7AvuJir.js} +3 -3
  91. package/dist/{vue-ui-gauge-BVaE3IZt.js → vue-ui-gauge-D0R9gL9E.js} +3 -3
  92. package/dist/{vue-ui-gizmo-BmJ01zdG.js → vue-ui-gizmo-BFyI_9mt.js} +2 -2
  93. package/dist/{vue-ui-heatmap-DiAryN8L.js → vue-ui-heatmap-Dte8MPCp.js} +4 -4
  94. package/dist/{vue-ui-history-plot-eeYk4C28.js → vue-ui-history-plot-6dD96OTH.js} +3 -3
  95. package/dist/{vue-ui-kpi-D7WXGb3K.js → vue-ui-kpi-BAwj45_1.js} +2 -2
  96. package/dist/{vue-ui-mini-loader-CKMzFSG5.js → vue-ui-mini-loader-D6fOQZX6.js} +1 -1
  97. package/dist/{vue-ui-molecule-daI3rmbc.js → vue-ui-molecule-B5SmQ6k6.js} +2 -2
  98. package/dist/{vue-ui-mood-radar-CawOBU0s.js → vue-ui-mood-radar-C7OVR2P_.js} +3 -3
  99. package/dist/{vue-ui-nested-donuts-Ci7qxsh6.js → vue-ui-nested-donuts-BGX4yvnh.js} +3 -3
  100. package/dist/{vue-ui-onion-CUkVuewC.js → vue-ui-onion-DS7LaVFL.js} +3 -3
  101. package/dist/{vue-ui-parallel-coordinate-plot-D7UkjkUV.js → vue-ui-parallel-coordinate-plot-DwK4-ZyV.js} +3 -3
  102. package/dist/{vue-ui-quadrant-B9VZz5d6.js → vue-ui-quadrant-CIIvIECe.js} +3 -3
  103. package/dist/{vue-ui-quick-chart-BQgH4Aap.js → vue-ui-quick-chart-Cba6XAFF.js} +2 -2
  104. package/dist/{vue-ui-radar-DvZ8XcZC.js → vue-ui-radar-BCyKcnH1.js} +3 -3
  105. package/dist/{vue-ui-rating-C0Ubexdn.js → vue-ui-rating-HgSUBbJx.js} +1 -1
  106. package/dist/{vue-ui-relation-circle-Bal5QL_Z.js → vue-ui-relation-circle-VBceGE52.js} +3 -3
  107. package/dist/{vue-ui-ridgeline-DbRZFJcN.js → vue-ui-ridgeline-Bn2iVW8_.js} +3 -3
  108. package/dist/{vue-ui-rings-BJ_Dmy5i.js → vue-ui-rings-NoFKU2kZ.js} +3 -3
  109. package/dist/{vue-ui-scatter-bljL9Bav.js → vue-ui-scatter-BWIcu0AU.js} +3 -3
  110. package/dist/{vue-ui-skeleton-DZPi12tE.js → vue-ui-skeleton-DPYUcomF.js} +2 -2
  111. package/dist/{vue-ui-smiley-DxC8rN5b.js → vue-ui-smiley-C2wHzhBj.js} +1 -1
  112. package/dist/{vue-ui-spark-trend-CqMF642_.js → vue-ui-spark-trend-B57gzgJA.js} +2 -2
  113. package/dist/{vue-ui-sparkbar-BcyaivMe.js → vue-ui-sparkbar-BKMkKeAJ.js} +2 -2
  114. package/dist/{vue-ui-sparkgauge-BkIUpzkZ.js → vue-ui-sparkgauge-C3R0tWzz.js} +2 -2
  115. package/dist/{vue-ui-sparkhistogram-DnPdJk3e.js → vue-ui-sparkhistogram-31hSCW__.js} +2 -2
  116. package/dist/{vue-ui-sparkline-F7h636hU.js → vue-ui-sparkline-DGy1K2y4.js} +2 -2
  117. package/dist/{vue-ui-sparkstackbar-B-Du5D3w.js → vue-ui-sparkstackbar-C6wOF12V.js} +2 -2
  118. package/dist/{vue-ui-stackbar-BNOfLkY2.js → vue-ui-stackbar-BSnIzSOz.js} +3 -3
  119. package/dist/{vue-ui-strip-plot-DNPM01M_.js → vue-ui-strip-plot-Dt8rJHX1.js} +3 -3
  120. package/dist/{vue-ui-table-__ABUm9x.js → vue-ui-table-DZ_jLauo.js} +415 -371
  121. package/dist/{vue-ui-table-heatmap-D-iueyM0.js → vue-ui-table-heatmap-wRY63Mop.js} +1 -1
  122. package/dist/{vue-ui-table-sparkline-B5QdvlV7.js → vue-ui-table-sparkline-2ZPRQrqb.js} +2 -2
  123. package/dist/{vue-ui-thermometer-DID_4Y6w.js → vue-ui-thermometer-CZDRLAlr.js} +3 -3
  124. package/dist/{vue-ui-timer-CjJmpXoF.js → vue-ui-timer-wMk4sVkK.js} +3 -3
  125. package/dist/{vue-ui-tiremarks-wDKOTVny.js → vue-ui-tiremarks-C1IEecQB.js} +3 -3
  126. package/dist/{vue-ui-treemap-DFo4w0cb.js → vue-ui-treemap-Q4PWFmqT.js} +3 -3
  127. package/dist/{vue-ui-vertical-bar-BEdckhBh.js → vue-ui-vertical-bar-C7nhAu5t.js} +4 -4
  128. package/dist/{vue-ui-waffle-D5i1Q6tF.js → vue-ui-waffle-B7lfNgi8.js} +3 -3
  129. package/dist/{vue-ui-wheel-DJlN8joO.js → vue-ui-wheel-h30eu5fl.js} +3 -3
  130. package/dist/{vue-ui-word-cloud-B7Y2UrwO.js → vue-ui-word-cloud-C4fjGysW.js} +3 -3
  131. package/dist/{vue-ui-world-DzF8YW_Q.js → vue-ui-world-C9xV3sZJ.js} +2 -2
  132. package/dist/{vue-ui-xy-canvas-DF2Ts-g3.js → vue-ui-xy-canvas-iPqn9H95.js} +4 -4
  133. package/dist/{vue-ui-xy-DGln2YgO.js → vue-ui-xy-vlcc3Vxv.js} +4 -4
  134. package/package.json +1 -1
@@ -1,11 +1,11 @@
1
- import { a2 as U, t as V, m as x, y as X, d as j, r as Y, x as W, a6 as J, h as K, E as Z, p as q } from "./lib-BEpWEyMm.js";
2
- import { u as Q } from "./useNestedProp-CLD3Gk9S.js";
3
- import $ from "./vue-ui-xy-DGln2YgO.js";
4
- import ee from "./vue-ui-donut-BgYaWImK.js";
1
+ import { a2 as U, t as V, m as T, y as X, d as j, r as Y, x as W, a6 as J, h as K, E as Z, p as q } from "./lib-BEpWEyMm.js";
2
+ import { u as Q } from "./useNestedProp-B9OeNO-E.js";
3
+ import $ from "./vue-ui-xy-vlcc3Vxv.js";
4
+ import ee from "./vue-ui-donut-fadiDQvI.js";
5
5
  import te from "./BaseIcon-Bz-1GQhu.js";
6
- import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, createTextVNode as v, withDirectives as O, withKeys as S, withModifiers as L, vModelText as A, createVNode as E, Fragment as F, renderList as k, normalizeClass as N, vModelSelect as P, createBlock as H } from "vue";
7
- import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
- const ne = {
6
+ import { resolveComponent as G, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, withDirectives as O, withKeys as L, withModifiers as S, vModelText as A, createVNode as E, Fragment as p, renderList as k, normalizeClass as C, createTextVNode as w, vModelSelect as P, createBlock as B, ref as se, computed as ne } from "vue";
7
+ import { _ as re } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const le = {
9
9
  name: "vue-ui-table",
10
10
  props: {
11
11
  config: {
@@ -117,6 +117,13 @@ const ne = {
117
117
  filename: ""
118
118
  };
119
119
  },
120
+ setup() {
121
+ const n = se(null), t = ne(() => n.value ? n.value.getBoundingClientRect().height + 3 : 3);
122
+ return {
123
+ tableCaption: n,
124
+ exportButtonTop: t
125
+ };
126
+ },
120
127
  mounted() {
121
128
  if (this.dataset.header.length === 0)
122
129
  throw new Error(`vue-ui-table error: missing header data.
@@ -212,10 +219,10 @@ Provide an array of objects of type:
212
219
  },
213
220
  chartData() {
214
221
  if (!this.canChart) return [];
215
- const n = 316, t = 512, r = this.currentSelectionSpan.rows.length, i = t / r, s = Math.max(...this.currentSelectionSpan.rows.map((w) => w.value)), e = Math.min(...this.currentSelectionSpan.rows.map((w) => w.value)), m = this.dataset.header[this.currentSelectionSpan.col].isPercentage && this.dataset.header[this.currentSelectionSpan.col].percentageTo, f = this.chart.type === this.constants.DONUT && this.selectedDonutCategory && this.selectedDonutCategory.name, _ = this.dataset.header[this.currentSelectionSpan.col].name + (m ? ` / ${this.dataset.header[this.percentages[this.currentSelectionSpan.col].referenceIndex].name}` : "") + (f ? ` ${this.FINAL_CONFIG.translations.by} ${this.selectedDonutCategory.name}` : ""), l = this.dataset.header[this.currentSelectionSpan.col].prefix, o = this.dataset.header[this.currentSelectionSpan.col].suffix, d = [
222
+ const n = 316, t = 512, r = this.currentSelectionSpan.rows.length, i = t / r, s = Math.max(...this.currentSelectionSpan.rows.map((v) => v.value)), e = Math.min(...this.currentSelectionSpan.rows.map((v) => v.value)), m = this.dataset.header[this.currentSelectionSpan.col].isPercentage && this.dataset.header[this.currentSelectionSpan.col].percentageTo, f = this.chart.type === this.constants.DONUT && this.selectedDonutCategory && this.selectedDonutCategory.name, _ = this.dataset.header[this.currentSelectionSpan.col].name + (m ? ` / ${this.dataset.header[this.percentages[this.currentSelectionSpan.col].referenceIndex].name}` : "") + (f ? ` ${this.FINAL_CONFIG.translations.by} ${this.selectedDonutCategory.name}` : ""), o = this.dataset.header[this.currentSelectionSpan.col].prefix, l = this.dataset.header[this.currentSelectionSpan.col].suffix, d = [
216
223
  {
217
224
  name: _,
218
- series: this.currentSelectionSpan.rows.map((w) => w.value),
225
+ series: this.currentSelectionSpan.rows.map((v) => v.value),
219
226
  type: "line",
220
227
  useProgression: !0,
221
228
  smooth: this.FINAL_CONFIG.style.chart.layout.line.smooth,
@@ -225,26 +232,26 @@ Provide an array of objects of type:
225
232
  ], y = [
226
233
  {
227
234
  name: _,
228
- series: this.currentSelectionSpan.rows.map((w) => w.value),
235
+ series: this.currentSelectionSpan.rows.map((v) => v.value),
229
236
  type: "bar",
230
237
  useProgression: !0,
231
238
  color: this.FINAL_CONFIG.style.chart.layout.bar.fill
232
239
  }
233
- ], C = this.FINAL_CONFIG.style.chart.modal.backgroundColor, p = this.adaptColorToBackground(C), I = this.dataset.header[this.currentSelectionSpan.col].decimals, B = {
240
+ ], I = this.FINAL_CONFIG.style.chart.modal.backgroundColor, N = this.adaptColorToBackground(I), F = this.dataset.header[this.currentSelectionSpan.col].decimals, H = {
234
241
  chart: {
235
- backgroundColor: C,
236
- color: p,
242
+ backgroundColor: I,
243
+ color: N,
237
244
  labels: {
238
245
  fontSize: 18,
239
- prefix: l,
240
- suffix: o
246
+ prefix: o,
247
+ suffix: l
241
248
  },
242
249
  grid: {
243
- stroke: x(p, 0.5),
250
+ stroke: T(N, 0.5),
244
251
  labels: {
245
- color: p,
252
+ color: N,
246
253
  xAxisLabels: {
247
- color: p,
254
+ color: N,
248
255
  show: this.chartTimeLabels.length,
249
256
  values: this.chartTimeLabels,
250
257
  datetimeFormatter: this.FINAL_CONFIG.style.chart.layout.datetimeFormatter,
@@ -254,23 +261,23 @@ Provide an array of objects of type:
254
261
  }
255
262
  },
256
263
  highlighter: {
257
- color: p
264
+ color: N
258
265
  },
259
266
  legend: {
260
- color: p
267
+ color: N
261
268
  },
262
269
  title: {
263
270
  text: _,
264
- color: p,
271
+ color: N,
265
272
  fontSize: 18
266
273
  },
267
274
  tooltip: {
268
275
  showTimeLabel: this.chartTimeLabels.length,
269
276
  backgroundOpacity: 30,
270
- color: p,
271
- backgroundColor: C,
277
+ color: N,
278
+ backgroundColor: I,
272
279
  showPercentage: !1,
273
- roundingValue: I
280
+ roundingValue: F
274
281
  },
275
282
  userOptions: {
276
283
  position: "left",
@@ -292,8 +299,8 @@ Provide an array of objects of type:
292
299
  line: {
293
300
  labels: {
294
301
  show: !0,
295
- color: p,
296
- rounding: I
302
+ color: N,
303
+ rounding: F
297
304
  },
298
305
  dot: {
299
306
  useSerieColor: !1,
@@ -310,18 +317,18 @@ Provide an array of objects of type:
310
317
  },
311
318
  labels: {
312
319
  show: !0,
313
- color: p,
314
- rounding: I
320
+ color: N,
321
+ rounding: F
315
322
  }
316
323
  }
317
- }, G = e >= 0 ? 0 : Math.abs(e), R = s + G, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, T = this.currentSelectionSpan.rows.map((w, z) => ({
324
+ }, x = e >= 0 ? 0 : Math.abs(e), R = s + x, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, D = this.currentSelectionSpan.rows.map((v, z) => ({
318
325
  x: i * z + i / 2,
319
- y: (1 - (w.value + G) / R) * n,
320
- value: M ? w.value * 100 : w.value,
326
+ y: (1 - (v.value + x) / R) * n,
327
+ value: M ? v.value * 100 : v.value,
321
328
  suffix: M ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
322
329
  prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
323
- index: w.index,
324
- absoluteValue: M ? Math.abs(w.value) * 100 : Math.abs(w.value)
330
+ index: v.index,
331
+ absoluteValue: M ? Math.abs(v.value) * 100 : Math.abs(v.value)
325
332
  }));
326
333
  return {
327
334
  donutConfig: {
@@ -336,8 +343,8 @@ Provide an array of objects of type:
336
343
  },
337
344
  style: {
338
345
  chart: {
339
- backgroundColor: C,
340
- color: p,
346
+ backgroundColor: I,
347
+ color: N,
341
348
  layout: {
342
349
  curvedMarkers: !0,
343
350
  donut: {
@@ -346,32 +353,32 @@ Provide an array of objects of type:
346
353
  labels: {
347
354
  dataLabels: {
348
355
  suffix: M ? "%" : "",
349
- prefix: l
356
+ prefix: o
350
357
  },
351
358
  value: {
352
- rounding: I
359
+ rounding: F
353
360
  },
354
361
  percentage: {
355
- color: p,
356
- rounding: I
362
+ color: N,
363
+ rounding: F
357
364
  },
358
365
  name: {
359
- color: p
366
+ color: N
360
367
  },
361
368
  hollow: {
362
369
  average: {
363
- color: p,
370
+ color: N,
364
371
  text: this.FINAL_CONFIG.translations.average,
365
372
  value: {
366
- color: p
373
+ color: N
367
374
  }
368
375
  },
369
376
  total: {
370
- color: p,
377
+ color: N,
371
378
  offsetY: -12,
372
379
  text: this.FINAL_CONFIG.translations.total,
373
380
  value: {
374
- color: p,
381
+ color: N,
375
382
  offsetY: -12
376
383
  }
377
384
  }
@@ -379,10 +386,10 @@ Provide an array of objects of type:
379
386
  }
380
387
  },
381
388
  legend: {
382
- backgroundColor: C,
383
- color: p,
384
- roundingValue: I,
385
- roundingPercentage: I
389
+ backgroundColor: I,
390
+ color: N,
391
+ roundingValue: F,
392
+ roundingPercentage: F
386
393
  },
387
394
  padding: {
388
395
  left: 12,
@@ -390,23 +397,23 @@ Provide an array of objects of type:
390
397
  },
391
398
  title: {
392
399
  text: _,
393
- color: p,
400
+ color: N,
394
401
  fontSize: 18
395
402
  },
396
403
  tooltip: {
397
404
  backgroundOpacity: 30,
398
- color: p,
399
- backgroundColor: C,
400
- roundingValue: I,
401
- roundingValue: I
405
+ color: N,
406
+ backgroundColor: I,
407
+ roundingValue: F,
408
+ roundingValue: F
402
409
  }
403
410
  }
404
411
  }
405
412
  },
406
- xyConfig: B,
413
+ xyConfig: H,
407
414
  xyDatasetLine: d,
408
415
  xyDatasetBar: y,
409
- progression: T.length >= 2 ? this.calcLinearProgression(T) : !1
416
+ progression: D.length >= 2 ? this.calcLinearProgression(D) : !1
410
417
  };
411
418
  },
412
419
  hasNumericTypes() {
@@ -476,7 +483,7 @@ Provide an array of objects of type:
476
483
  darkenHexColor: Y,
477
484
  dataLabel: j,
478
485
  downloadCsv: X,
479
- lightenHexColor: x,
486
+ lightenHexColor: T,
480
487
  treeShake: V,
481
488
  // specific
482
489
  applyDonutOption() {
@@ -531,9 +538,9 @@ Provide an array of objects of type:
531
538
  return this.rows.map((t) => t[n]).map((t) => isNaN(Number(t)) ? 0 : t).reduce((t, r) => t + r, 0) / this.bodyCopy.length;
532
539
  },
533
540
  getDatesRange(n) {
534
- const t = this.dataset.body.map((y) => new Date(y.td[n])), r = new Date(Math.min(...t)), i = new Date(Math.max(...t)), s = r.getFullYear(), e = i.getFullYear(), m = String(r.getMonth() + 1).padStart(2, "0"), f = String(i.getMonth() + 1).padStart(2, "0"), _ = String(r.getDate()).padStart(2, "0"), l = String(i.getDate()).padStart(2, "0"), o = `${s}-${m}-${_}`, d = `${e}-${f}-${l}`;
541
+ const t = this.dataset.body.map((y) => new Date(y.td[n])), r = new Date(Math.min(...t)), i = new Date(Math.max(...t)), s = r.getFullYear(), e = i.getFullYear(), m = String(r.getMonth() + 1).padStart(2, "0"), f = String(i.getMonth() + 1).padStart(2, "0"), _ = String(r.getDate()).padStart(2, "0"), o = String(i.getDate()).padStart(2, "0"), l = `${s}-${m}-${_}`, d = `${e}-${f}-${o}`;
535
542
  return {
536
- from: o,
543
+ from: l,
537
544
  to: d
538
545
  };
539
546
  },
@@ -622,25 +629,25 @@ Provide an array of objects of type:
622
629
  n.preventDefault();
623
630
  const t = n.keyCode, r = 38, i = 40, s = 37, e = 39;
624
631
  if (![r, i, s, e].includes(t)) return;
625
- const m = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, _ = m.match(f), l = parseInt(_[1]), o = parseInt(_[2]), d = document.getElementById(`cell_${l}_${o + 1}_${this.uid}`), y = document.getElementById(`cell_${l}_${o - 1}_${this.uid}`), C = document.getElementById(`cell_${l + 1}_${o}_${this.uid}`), p = document.getElementById(`cell_${l - 1}_${o}_${this.uid}`);
626
- let I;
632
+ const m = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, _ = m.match(f), o = parseInt(_[1]), l = parseInt(_[2]), d = document.getElementById(`cell_${o}_${l + 1}_${this.uid}`), y = document.getElementById(`cell_${o}_${l - 1}_${this.uid}`), I = document.getElementById(`cell_${o + 1}_${l}_${this.uid}`), N = document.getElementById(`cell_${o - 1}_${l}_${this.uid}`);
633
+ let F;
627
634
  switch (!0) {
628
635
  case t === e:
629
- I = d;
636
+ F = d;
630
637
  break;
631
638
  case t === s:
632
- I = y;
639
+ F = y;
633
640
  break;
634
641
  case t === r:
635
- I = p;
642
+ F = N;
636
643
  break;
637
644
  case t === i:
638
- I = C;
645
+ F = I;
639
646
  break;
640
647
  default:
641
648
  return;
642
649
  }
643
- I && (I.focus(), I.scrollIntoView({ behavior: "smooth", block: "center" }));
650
+ F && (F.focus(), F.scrollIntoView({ behavior: "smooth", block: "center" }));
644
651
  },
645
652
  openDonutOptions() {
646
653
  this.selectedDonutCategory = this.availableDonutCategories[0], this.showDonutOptions = !0;
@@ -836,64 +843,68 @@ Provide an array of objects of type:
836
843
  this.clientX = n.clientX - this.dragOffsetX, this.clientY = n.clientY - this.dragOffsetY - 40, this.clientX < 0 && (this.clientX = 0), this.clientX + r.width > window.innerWidth && (this.clientX = window.innerWidth - r.width - 48), this.clientY < 0 && (this.clientY = 0), this.clientY + r.height > window.innerHeight && (this.clientY = window.innerHeight - r.height - 24);
837
844
  }
838
845
  }
839
- }, re = {
840
- key: 0,
841
- class: "vue-ui-table-export-hub"
842
- }, oe = ["innerHTML"], le = ["data-is-open"], ae = { class: "vue-ui-table-export-hub-options" }, ie = { class: "vue-ui-table-export-hub-option-wrapper" }, ce = { class: "label" }, ue = ["innerHTML"], he = { class: "vue-ui-table-export-hub-option-wrapper" }, de = { class: "label" }, ge = ["innerHTML"], me = { class: "vue-ui-table-dialog-field" }, ye = { class: "label vue-ui-table-dialog-input-label" }, be = { class: "vue-ui-table" }, fe = { key: 0 }, pe = { key: 0 }, Ne = { key: 1 }, Ce = {
846
+ }, oe = ["innerHTML"], ae = ["data-is-open"], ie = { class: "vue-ui-table-export-hub-options" }, ce = { class: "vue-ui-table-export-hub-option-wrapper" }, ue = { class: "label" }, he = ["innerHTML"], de = { class: "vue-ui-table-export-hub-option-wrapper" }, ge = { class: "label" }, me = ["innerHTML"], ye = { class: "vue-ui-table-dialog-field" }, be = {
847
+ class: "label vue-ui-table-dialog-input-label",
848
+ style: { width: "100%" }
849
+ }, fe = { style: { width: "fit-content" } }, Ne = { class: "vue-ui-table" }, pe = { key: 0 }, Ce = { key: 0 }, Ie = { key: 1 }, Fe = {
843
850
  key: 0,
844
851
  style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
845
- }, Ie = ["innerHTML"], Fe = {
852
+ }, ve = ["innerHTML"], we = {
846
853
  key: 0,
847
854
  style: { "margin-left": "3px" }
848
- }, ve = { key: 0 }, we = { class: "th-filter" }, _e = {
855
+ }, _e = { key: 0 }, ke = { class: "th-filter" }, Oe = {
849
856
  key: 0,
850
857
  class: "th-date"
851
- }, ke = { class: "date-wrapper--inputs" }, Oe = { class: "date-fieldset" }, Se = ["for"], Le = ["id", "onUpdate:modelValue", "onInput"], Ae = { class: "date-fieldset" }, Me = ["for"], De = ["id", "onUpdate:modelValue", "onInput"], Ge = { class: "date-wrapper--button" }, Te = ["onClick"], xe = ["innerHTML"], Ee = ["innerHTML"], Pe = ["innerHTML"], He = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "innerHTML"], je = ["innerHTML"], Ye = {
858
+ }, Le = { class: "date-wrapper--inputs" }, Se = { class: "date-fieldset" }, Ae = ["for"], Me = ["id", "onUpdate:modelValue", "onInput"], Ge = { class: "date-fieldset" }, xe = ["for"], De = ["id", "onUpdate:modelValue", "onInput"], Te = { class: "date-wrapper--button" }, Ee = ["onClick"], Pe = ["innerHTML"], Be = ["innerHTML"], He = ["innerHTML"], Re = ["onClick", "disabled"], ze = ["placeholder", "onUpdate:modelValue", "name"], Ue = ["onClick"], Ve = ["innerHTML"], Xe = ["innerHTML"], je = ["innerHTML"], Ye = ["onClick", "innerHTML"], We = ["innerHTML"], Je = {
852
859
  key: 5,
853
860
  class: "th-range-filter"
854
- }, We = ["for"], Je = ["id", "max", "min", "onUpdate:modelValue"], Ke = ["id", "max", "min", "onUpdate:modelValue"], Ze = ["for"], qe = ["onClick", "disabled"], Qe = ["id"], $e = ["onClick"], et = ["onClick", "onKeyup"], tt = ["innerHTML", "onClick", "onKeyup"], st = ["data-row"], nt = ["data-row"], rt = ["data-row", "onClick", "onKeyup", "id"], ot = ["innerHTML"], lt = { key: 1 }, at = { key: 2 }, it = { key: 5 }, ct = ["innerHTML"], ut = { key: 0 }, ht = { style: { "margin-left": "12px" } }, dt = { class: "format-num" }, gt = { style: { "margin-left": "12px" } }, mt = {
861
+ }, Ke = ["for"], Ze = ["id", "max", "min", "onUpdate:modelValue"], qe = ["id", "max", "min", "onUpdate:modelValue"], Qe = ["for"], $e = ["onClick", "disabled"], et = ["id"], tt = ["onClick"], st = ["onClick", "onKeyup"], nt = ["innerHTML", "onClick", "onKeyup"], rt = ["data-row"], lt = ["data-row"], ot = ["data-row", "onClick", "onKeyup", "id"], at = ["innerHTML"], it = { key: 1 }, ct = { key: 2 }, ut = { key: 5 }, ht = ["innerHTML"], dt = { key: 0 }, gt = { style: { "margin-left": "12px" } }, mt = { class: "format-num" }, yt = { style: { "margin-left": "12px" } }, bt = {
855
862
  key: 0,
856
863
  class: "format-num"
857
- }, yt = {
864
+ }, ft = {
858
865
  key: 1,
859
866
  class: "format-num"
860
- }, bt = { key: 2 }, ft = { style: { "margin-left": "12px" } }, pt = {
867
+ }, Nt = { key: 2 }, pt = { style: { "margin-left": "12px" } }, Ct = {
861
868
  key: 0,
862
869
  class: "format-num"
863
- }, Nt = {
870
+ }, It = {
864
871
  key: 1,
865
872
  class: "format-num"
866
- }, Ct = { key: 2 }, It = {
873
+ }, Ft = { key: 2 }, vt = {
867
874
  key: 1,
868
875
  class: "vue-ui-table-paginator format-num"
869
- }, Ft = {
876
+ }, wt = {
870
877
  key: 2,
871
878
  class: "vue-ui-table-size-warning"
872
- }, vt = ["innerHTML"], wt = {
879
+ }, _t = ["innerHTML"], kt = {
873
880
  key: 4,
874
881
  class: "vue-ui-table-pagination format-num"
875
- }, _t = ["innerHTML", "disabled"], kt = ["disabled"], Ot = {
882
+ }, Ot = ["innerHTML", "disabled"], Lt = ["disabled"], St = {
876
883
  key: 0,
877
884
  class: "vue-ui-table-page-scroller-wrapper"
878
- }, St = {
885
+ }, At = {
879
886
  for: "pageScroller",
880
887
  style: { "font-size": "14px" }
881
- }, Lt = ["max", "value"], At = { key: 1 }, Mt = ["disabled"], Dt = ["innerHTML", "disabled"], Gt = ["innerHTML"], Tt = { class: "chart-modal-options" }, xt = ["innerHTML"], Et = ["innerHTML"], Pt = ["innerHTML"], Ht = {
888
+ }, Mt = ["max", "value"], Gt = { key: 1 }, xt = ["disabled"], Dt = ["innerHTML", "disabled"], Tt = ["innerHTML"], Et = { class: "chart-modal-options" }, Pt = ["innerHTML"], Bt = ["innerHTML"], Ht = ["innerHTML"], Rt = {
882
889
  style: { width: "100%", height: "fit-content" },
883
890
  ref: "chartModal"
884
- }, Bt = { class: "vue-ui-table-fieldset" }, Rt = { class: "vue-ui-table-fieldset-wrapper" }, zt = ["name", "id", "checked", "onInput"], Ut = ["for"], Vt = ["disabled"], Xt = ["innerHTML"], jt = { key: 0 }, Yt = { style: { width: "100%", "margin-bottom": "12px" } }, Wt = {
891
+ }, zt = { class: "vue-ui-table-fieldset" }, Ut = { class: "vue-ui-table-fieldset-wrapper" }, Vt = ["name", "id", "checked", "onInput"], Xt = ["for"], jt = ["disabled"], Yt = ["innerHTML"], Wt = { key: 0 }, Jt = { style: { width: "100%", "margin-bottom": "12px" } }, Kt = {
885
892
  key: 2,
886
893
  style: { width: "100%", "margin-bottom": "32px" }
887
894
  };
888
- function Jt(n, t, r, i, s, e) {
889
- const m = D("BaseIcon"), f = D("VueUiXy"), _ = D("VueUiDonut");
895
+ function Zt(n, t, r, i, s, e) {
896
+ const m = G("BaseIcon"), f = G("VueUiXy"), _ = G("VueUiDonut");
890
897
  return c(), u("div", {
891
898
  class: "vue-ui-table-main",
892
899
  style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
893
900
  }, [
894
- e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", re, [
901
+ e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", {
902
+ key: 0,
903
+ class: "vue-ui-table-export-hub",
904
+ style: g({ top: i.exportButtonTop + "px" })
905
+ }, [
895
906
  a("button", {
896
- onClick: t[0] || (t[0] = (l) => s.isExportRequest = !s.isExportRequest),
907
+ onClick: t[0] || (t[0] = (o) => s.isExportRequest = !s.isExportRequest),
897
908
  innerHTML: e.icons.export,
898
909
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
899
910
  }, null, 12, oe),
@@ -905,323 +916,356 @@ function Jt(n, t, r, i, s, e) {
905
916
  t[29] || (t[29] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
906
917
  a("button", {
907
918
  class: "close-dropdown",
908
- onClick: t[1] || (t[1] = (l) => s.isExportRequest = !1),
919
+ onClick: t[1] || (t[1] = (o) => s.isExportRequest = !1),
909
920
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
910
921
  }, " ✖ ", 4),
911
- a("div", ae, [
912
- a("div", ie, [
913
- a("div", ce, h(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + h(s.bodyCopy.length) + ") ", 1),
922
+ a("div", ie, [
923
+ a("div", ce, [
924
+ a("div", ue, h(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + h(s.bodyCopy.length) + ") ", 1),
914
925
  a("button", {
915
926
  id: "exportAll",
916
- onClick: t[2] || (t[2] = (l) => e.createXls("all")),
927
+ onClick: t[2] || (t[2] = (o) => e.createXls("all")),
917
928
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
918
929
  }, [
919
930
  a("div", {
920
931
  innerHTML: e.icons.fileDownload
921
- }, null, 8, ue),
932
+ }, null, 8, he),
922
933
  a("span", null, h(e.FINAL_CONFIG.translations.exportAllButton), 1)
923
934
  ], 4)
924
935
  ]),
925
- a("div", he, [
926
- a("div", de, h(e.FINAL_CONFIG.translations.exportPageLabel), 1),
936
+ a("div", de, [
937
+ a("div", ge, h(e.FINAL_CONFIG.translations.exportPageLabel), 1),
927
938
  a("button", {
928
939
  id: "exportPage",
929
- onClick: t[3] || (t[3] = (l) => e.createXls("page")),
940
+ onClick: t[3] || (t[3] = (o) => e.createXls("page")),
930
941
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
931
942
  }, [
932
943
  a("div", {
933
944
  innerHTML: e.icons.fileDownload
934
- }, null, 8, ge),
945
+ }, null, 8, me),
935
946
  a("span", null, h(e.FINAL_CONFIG.translations.exportPageButton), 1)
936
947
  ], 4)
937
948
  ]),
938
- a("div", me, [
939
- a("label", ye, [
940
- v(h(e.FINAL_CONFIG.translations.filename) + " ", 1),
949
+ a("div", ye, [
950
+ a("label", be, [
951
+ a("span", fe, h(e.FINAL_CONFIG.translations.filename), 1),
941
952
  O(a("input", {
953
+ name: "filename",
942
954
  ref: "filenameInputRef",
943
- onKeydown: t[4] || (t[4] = S(L(() => {
955
+ onKeydown: t[4] || (t[4] = L(S(() => {
944
956
  }, ["stop"]), ["space"])),
945
957
  pattern: ".*",
946
958
  class: "vue-ui-table-dialog-input",
947
959
  type: "text",
948
- "onUpdate:modelValue": t[5] || (t[5] = (l) => s.filename = l)
960
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => s.filename = o)
949
961
  }, null, 544), [
950
962
  [A, s.filename]
951
963
  ])
952
964
  ]),
953
- a("button", {
965
+ s.filename ? (c(), u("button", {
966
+ key: 0,
954
967
  class: "vue-ui-table-dialog-field-button",
955
- onClick: t[6] || (t[6] = (l) => s.filename = "")
968
+ onClick: t[6] || (t[6] = (o) => s.filename = "")
956
969
  }, [
957
970
  E(m, {
958
971
  name: "close",
959
972
  stroke: e.FINAL_CONFIG.style.exportMenu.color,
960
973
  size: 18
961
974
  }, null, 8, ["stroke"])
962
- ])
975
+ ])) : b("", !0)
963
976
  ])
964
977
  ])
965
- ], 12, le)
966
- ])) : b("", !0),
978
+ ], 12, ae)
979
+ ], 4)) : b("", !0),
967
980
  a("div", {
968
981
  class: "vue-ui-table__wrapper",
969
982
  style: g(`max-height:${e.FINAL_CONFIG.maxHeight}px`),
970
983
  ref: "tableWrapper"
971
984
  }, [
972
- a("table", be, [
985
+ a("table", Ne, [
986
+ e.FINAL_CONFIG.style.title.text ? (c(), u("caption", {
987
+ key: 0,
988
+ class: "vue-ui-table__caption",
989
+ ref: "tableCaption",
990
+ style: g({
991
+ textAlign: e.FINAL_CONFIG.style.title.textAlign,
992
+ paddingLeft: e.FINAL_CONFIG.style.title.paddingLeft + "px",
993
+ paddingRight: e.FINAL_CONFIG.style.title.paddingRight + "px",
994
+ backgroundColor: e.FINAL_CONFIG.style.title.backgroundColor,
995
+ boxShadow: `${e.FINAL_CONFIG.style.title.backgroundColor} -1px 0px 0px 0px`
996
+ })
997
+ }, [
998
+ a("span", {
999
+ style: g({
1000
+ fontSize: e.FINAL_CONFIG.style.title.fontSize + "px",
1001
+ fontWeight: e.FINAL_CONFIG.style.title.bold ? "bold" : "normal",
1002
+ color: e.FINAL_CONFIG.style.title.color
1003
+ })
1004
+ }, h(e.FINAL_CONFIG.style.title.text), 5),
1005
+ e.FINAL_CONFIG.style.title.subtitle.text ? (c(), u(p, { key: 0 }, [
1006
+ t[30] || (t[30] = a("br", null, null, -1)),
1007
+ a("span", {
1008
+ style: g({
1009
+ fontSize: e.FINAL_CONFIG.style.title.subtitle.fontSize,
1010
+ fontWeight: e.FINAL_CONFIG.style.title.subtitle.bold ? "bold" : "normal",
1011
+ color: e.FINAL_CONFIG.style.title.subtitle.color
1012
+ })
1013
+ }, h(e.FINAL_CONFIG.style.title.subtitle.text), 5)
1014
+ ], 64)) : b("", !0)
1015
+ ], 4)) : b("", !0),
973
1016
  a("thead", {
974
1017
  id: "tableHead",
975
1018
  class: "vue-ui-table__head",
976
1019
  style: g({
977
1020
  background: e.FINAL_CONFIG.style.th.backgroundColor,
978
- boxShadow: `-1px 0 0 ${e.FINAL_CONFIG.style.th.backgroundColor}`
1021
+ boxShadow: `-1px 0 0 ${e.FINAL_CONFIG.style.th.backgroundColor}`,
1022
+ top: i.exportButtonTop - 3 + "px"
979
1023
  })
980
1024
  }, [
981
1025
  a("tr", null, [
982
- t[30] || (t[30] = a("th", { class: "invisible-cell" }, null, -1)),
983
- (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
984
- key: `thead_${o}`,
1026
+ t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
1027
+ (c(!0), u(p, null, k(s.tableHead, (o, l) => (c(), u("th", {
1028
+ key: `thead_${l}`,
985
1029
  style: g(`overflow: visible;background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`),
986
- class: N({ "th-has-nan": s.hasNaN[o] })
1030
+ class: C({ "th-has-nan": s.hasNaN[l] })
987
1031
  }, [
988
- e.hasNumericTypes && ([s.constants.TEXT, s.constants.DATE].includes(l.type) || l.isPercentage) ? (c(), u("span", fe, [
989
- v(h(l.name) + " ", 1),
990
- l.isPercentage ? (c(), u("span", pe, " / " + h(l.percentageTo), 1)) : b("", !0)
991
- ])) : (c(), u("span", Ne, h(l.name), 1))
1032
+ e.hasNumericTypes && ([s.constants.TEXT, s.constants.DATE].includes(o.type) || o.isPercentage) ? (c(), u("span", pe, [
1033
+ w(h(o.name) + " ", 1),
1034
+ o.isPercentage ? (c(), u("span", Ce, " / " + h(o.percentageTo), 1)) : b("", !0)
1035
+ ])) : (c(), u("span", Ie, h(o.name), 1))
992
1036
  ], 6))), 128))
993
1037
  ]),
994
- e.hasNumericTypes ? (c(), u(F, { key: 0 }, [
1038
+ e.hasNumericTypes ? (c(), u(p, { key: 0 }, [
995
1039
  a("tr", null, [
996
- t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
997
- (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
998
- key: `thead_${o}`,
999
- class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
1040
+ t[32] || (t[32] = a("th", { class: "invisible-cell" }, null, -1)),
1041
+ (c(!0), u(p, null, k(s.tableHead, (o, l) => (c(), u("th", {
1042
+ key: `thead_${l}`,
1043
+ class: C({ "th-numeric": !0, "th-has-nan": s.hasNaN[l] }),
1000
1044
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1001
1045
  }, [
1002
- l.sum && !s.hasNaN[o] ? (c(), u("span", Ce, [
1046
+ o.sum && !s.hasNaN[l] ? (c(), u("span", Fe, [
1003
1047
  a("span", {
1004
1048
  innerHTML: e.icons.sum,
1005
1049
  style: { "margin-bottom": "-4px", "margin-right": "3px" }
1006
- }, null, 8, Ie),
1007
- v(" " + h(e.dataLabel({
1008
- p: l.prefix,
1009
- v: Number(e.getSum(o)),
1010
- s: l.suffix,
1011
- r: l.decimals
1050
+ }, null, 8, ve),
1051
+ w(" " + h(e.dataLabel({
1052
+ p: o.prefix,
1053
+ v: Number(e.getSum(l)),
1054
+ s: o.suffix,
1055
+ r: o.decimals
1012
1056
  })) + " ", 1),
1013
- s.percentages[o] && l.percentageTo && !l.isPercentage ? (c(), u("span", Fe, " (" + h(isNaN(e.getSum(o) / e.getSum(s.percentages[o].referenceIndex)) ? "-" : e.dataLabel({
1014
- v: e.getSum(o) / e.getSum(s.percentages[o].referenceIndex) * 100,
1057
+ s.percentages[l] && o.percentageTo && !o.isPercentage ? (c(), u("span", we, " (" + h(isNaN(e.getSum(l) / e.getSum(s.percentages[l].referenceIndex)) ? "-" : e.dataLabel({
1058
+ v: e.getSum(l) / e.getSum(s.percentages[l].referenceIndex) * 100,
1015
1059
  s: "%",
1016
- r: l.decimals
1060
+ r: o.decimals
1017
1061
  })) + ") ", 1)) : b("", !0)
1018
1062
  ])) : b("", !0)
1019
1063
  ], 6))), 128))
1020
1064
  ]),
1021
1065
  a("tr", null, [
1022
- t[32] || (t[32] = a("th", { class: "invisible-cell" }, null, -1)),
1023
- (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1024
- key: `thead_${o}`,
1025
- class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
1066
+ t[33] || (t[33] = a("th", { class: "invisible-cell" }, null, -1)),
1067
+ (c(!0), u(p, null, k(s.tableHead, (o, l) => (c(), u("th", {
1068
+ key: `thead_${l}`,
1069
+ class: C({ "th-numeric": !0, "th-has-nan": s.hasNaN[l] }),
1026
1070
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1027
1071
  }, [
1028
- l.average && !s.hasNaN[o] ? (c(), u("span", ve, " ~ " + h(isNaN(e.getAverage(o)) ? "" : e.dataLabel({
1029
- p: l.prefix,
1030
- v: Number(e.getAverage(o)),
1031
- s: l.suffix,
1032
- r: l.decimals
1072
+ o.average && !s.hasNaN[l] ? (c(), u("span", _e, " ~ " + h(isNaN(e.getAverage(l)) ? "" : e.dataLabel({
1073
+ p: o.prefix,
1074
+ v: Number(e.getAverage(l)),
1075
+ s: o.suffix,
1076
+ r: o.decimals
1033
1077
  })), 1)) : b("", !0)
1034
1078
  ], 6))), 128))
1035
1079
  ]),
1036
1080
  a("tr", null, [
1037
- t[35] || (t[35] = a("th", { class: "invisible-cell" }, null, -1)),
1038
- (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1039
- key: `thead_${o}`,
1040
- class: N({ "th-has-nan": s.hasNaN[o] }),
1081
+ t[36] || (t[36] = a("th", { class: "invisible-cell" }, null, -1)),
1082
+ (c(!0), u(p, null, k(s.tableHead, (o, l) => (c(), u("th", {
1083
+ key: `thead_${l}`,
1084
+ class: C({ "th-has-nan": s.hasNaN[l] }),
1041
1085
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1042
1086
  }, [
1043
- a("div", we, [
1044
- l.type === s.constants.DATE && s.dates[o] ? (c(), u("div", _e, [
1045
- a("div", ke, [
1046
- a("div", Oe, [
1087
+ a("div", ke, [
1088
+ o.type === s.constants.DATE && s.dates[l] ? (c(), u("div", Oe, [
1089
+ a("div", Le, [
1090
+ a("div", Se, [
1047
1091
  a("label", {
1048
- for: `from_${o}`
1049
- }, h(e.FINAL_CONFIG.translations.from), 9, Se),
1092
+ for: `from_${l}`
1093
+ }, h(e.FINAL_CONFIG.translations.from), 9, Ae),
1050
1094
  O(a("input", {
1051
- id: `from_${o}`,
1095
+ id: `from_${l}`,
1052
1096
  type: "date",
1053
- "onUpdate:modelValue": (d) => s.dates[o].from = d,
1097
+ "onUpdate:modelValue": (d) => s.dates[l].from = d,
1054
1098
  onInput: (d) => {
1055
- e.filterBody(), e.setFilterDatesIndexes(o);
1099
+ e.filterBody(), e.setFilterDatesIndexes(l);
1056
1100
  },
1057
1101
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1058
- }, null, 44, Le), [
1059
- [A, s.dates[o].from]
1102
+ }, null, 44, Me), [
1103
+ [A, s.dates[l].from]
1060
1104
  ])
1061
1105
  ]),
1062
- a("div", Ae, [
1106
+ a("div", Ge, [
1063
1107
  a("label", {
1064
- for: `to_${o}`
1065
- }, h(e.FINAL_CONFIG.translations.to), 9, Me),
1108
+ for: `to_${l}`
1109
+ }, h(e.FINAL_CONFIG.translations.to), 9, xe),
1066
1110
  O(a("input", {
1067
- id: `to_${o}`,
1111
+ id: `to_${l}`,
1068
1112
  type: "date",
1069
- "onUpdate:modelValue": (d) => s.dates[o].to = d,
1113
+ "onUpdate:modelValue": (d) => s.dates[l].to = d,
1070
1114
  onInput: (d) => {
1071
- e.filterBody(), e.setFilterDatesIndexes(o);
1115
+ e.filterBody(), e.setFilterDatesIndexes(l);
1072
1116
  },
1073
1117
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1074
1118
  }, null, 44, De), [
1075
- [A, s.dates[o].to]
1119
+ [A, s.dates[l].to]
1076
1120
  ])
1077
1121
  ])
1078
1122
  ]),
1079
- a("div", Ge, [
1080
- l.isSort ? (c(), u("button", {
1123
+ a("div", Te, [
1124
+ o.isSort ? (c(), u("button", {
1081
1125
  key: 0,
1082
- onClick: (d) => e.sortTh(o, d),
1083
- class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1084
- style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1126
+ onClick: (d) => e.sortTh(l, d),
1127
+ class: C({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) }),
1128
+ style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1085
1129
  }, [
1086
- s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1130
+ s.sorts[l] === s.constants.ASC ? (c(), u("span", {
1087
1131
  key: 0,
1088
- innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort09 : e.icons.sortAZ
1089
- }, null, 8, xe)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1132
+ innerHTML: [s.constants.DATE].includes(o.type) ? e.icons.sort09 : e.icons.sortAZ
1133
+ }, null, 8, Pe)) : s.sorts[l] === s.constants.DESC ? (c(), u("span", {
1090
1134
  key: 1,
1091
- innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort90 : e.icons.sortZA
1092
- }, null, 8, Ee)) : (c(), u("span", {
1135
+ innerHTML: [s.constants.DATE].includes(o.type) ? e.icons.sort90 : e.icons.sortZA
1136
+ }, null, 8, Be)) : (c(), u("span", {
1093
1137
  key: 2,
1094
1138
  innerHTML: e.icons.arrowSort
1095
- }, null, 8, Pe))
1096
- ], 14, Te)) : b("", !0),
1139
+ }, null, 8, He))
1140
+ ], 14, Ee)) : b("", !0),
1097
1141
  a("button", {
1098
1142
  onClick: (d) => {
1099
- e.resetDates(o), e.resetFilter(o, l, d);
1143
+ e.resetDates(l), e.resetFilter(l, o, d);
1100
1144
  },
1101
- disabled: !s.filteredDatesIndexes[o] && e.isResetDisabled(o, l),
1145
+ disabled: !s.filteredDatesIndexes[l] && e.isResetDisabled(l, o),
1102
1146
  class: "th-reset"
1103
- }, " ✖ ", 8, He)
1147
+ }, " ✖ ", 8, Re)
1104
1148
  ])
1105
1149
  ])) : b("", !0),
1106
- l.isSearch ? O((c(), u("input", {
1150
+ o.isSearch ? O((c(), u("input", {
1107
1151
  key: 1,
1108
1152
  placeholder: e.FINAL_CONFIG.translations.inputPlaceholder,
1109
- "onUpdate:modelValue": (d) => s.searches[o] = d,
1153
+ "onUpdate:modelValue": (d) => s.searches[l] = d,
1110
1154
  onInput: t[7] || (t[7] = (d) => e.debounce(e.filterBody, 400)),
1111
- name: `search_${o}`,
1155
+ name: `search_${l}`,
1112
1156
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1113
- }, null, 44, Be)), [
1114
- [A, s.searches[o]]
1157
+ }, null, 44, ze)), [
1158
+ [A, s.searches[l]]
1115
1159
  ]) : b("", !0),
1116
- !s.hasNaN[o] && l.isSort && l.type !== s.constants.DATE ? (c(), u("button", {
1160
+ !s.hasNaN[l] && o.isSort && o.type !== s.constants.DATE ? (c(), u("button", {
1117
1161
  key: 2,
1118
- onClick: (d) => e.sortTh(o, d),
1119
- class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1120
- style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1162
+ onClick: (d) => e.sortTh(l, d),
1163
+ class: C({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) }),
1164
+ style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1121
1165
  }, [
1122
- s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1166
+ s.sorts[l] === s.constants.ASC ? (c(), u("span", {
1123
1167
  key: 0,
1124
- innerHTML: [s.constants.NUMERIC].includes(l.type) ? e.icons.sort09 : e.icons.sortZA
1125
- }, null, 8, ze)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1168
+ innerHTML: [s.constants.NUMERIC].includes(o.type) ? e.icons.sort09 : e.icons.sortZA
1169
+ }, null, 8, Ve)) : s.sorts[l] === s.constants.DESC ? (c(), u("span", {
1126
1170
  key: 1,
1127
- innerHTML: [s.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
1128
- }, null, 8, Ue)) : (c(), u("span", {
1171
+ innerHTML: [s.constants.NUMERIC].includes(o.type) ? e.icons.sort90 : e.icons.sortAZ
1172
+ }, null, 8, Xe)) : (c(), u("span", {
1129
1173
  key: 2,
1130
1174
  innerHTML: e.icons.arrowSort
1131
- }, null, 8, Ve))
1132
- ], 14, Re)) : b("", !0),
1133
- l.isMultiselect ? (c(), u("button", {
1175
+ }, null, 8, je))
1176
+ ], 14, Ue)) : b("", !0),
1177
+ o.isMultiselect ? (c(), u("button", {
1134
1178
  key: 3,
1135
- onClick: (d) => e.toggleMultiselect(o, l, d),
1179
+ onClick: (d) => e.toggleMultiselect(l, o, d),
1136
1180
  innerHTML: e.icons.filter,
1137
- class: N({ "th-button-active": s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length }),
1138
- style: g(`background:${s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1139
- }, null, 14, Xe)) : b("", !0),
1140
- s.currentSelectionSpan.col === o && e.canChart ? (c(), u("button", {
1181
+ class: C({ "th-button-active": s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length }),
1182
+ style: g(`background:${s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1183
+ }, null, 14, Ye)) : b("", !0),
1184
+ s.currentSelectionSpan.col === l && e.canChart ? (c(), u("button", {
1141
1185
  key: 4,
1142
1186
  onClick: t[8] || (t[8] = (d) => s.showChart = !s.showChart),
1143
1187
  innerHTML: e.icons.chart,
1144
- class: N({ "th-button-active": s.showChart }),
1188
+ class: C({ "th-button-active": s.showChart }),
1145
1189
  style: g(`background:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1146
- }, null, 14, je)) : b("", !0),
1147
- l.rangeFilter && s.rangeFilters[o] && !s.hasNaN[o] ? (c(), u("div", Ye, [
1190
+ }, null, 14, We)) : b("", !0),
1191
+ o.rangeFilter && s.rangeFilters[l] && !s.hasNaN[l] ? (c(), u("div", Je, [
1148
1192
  a("label", {
1149
- for: `rangeMin${o}`
1150
- }, [...t[33] || (t[33] = [
1193
+ for: `rangeMin${l}`
1194
+ }, [...t[34] || (t[34] = [
1151
1195
  a("span", { style: { color: "grey" } }, "ᒥ", -1),
1152
- v(" min ", -1),
1196
+ w(" min ", -1),
1153
1197
  a("span", { style: { color: "grey" } }, "ᒣ", -1)
1154
- ])], 8, We),
1198
+ ])], 8, Ke),
1155
1199
  O(a("input", {
1156
1200
  type: "number",
1157
- id: `rangeMin${o}`,
1158
- max: s.immutableRangeFilters[o].max,
1159
- min: s.immutableRangeFilters[o].min,
1160
- "onUpdate:modelValue": (d) => s.rangeFilters[o].min = d,
1201
+ id: `rangeMin${l}`,
1202
+ max: s.immutableRangeFilters[l].max,
1203
+ min: s.immutableRangeFilters[l].min,
1204
+ "onUpdate:modelValue": (d) => s.rangeFilters[l].min = d,
1161
1205
  onInput: t[9] || (t[9] = (d) => e.debounce(e.filterBody, 400)),
1162
1206
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1163
- }, null, 44, Je), [
1207
+ }, null, 44, Ze), [
1164
1208
  [
1165
1209
  A,
1166
- s.rangeFilters[o].min,
1210
+ s.rangeFilters[l].min,
1167
1211
  void 0,
1168
1212
  { number: !0 }
1169
1213
  ]
1170
1214
  ]),
1171
1215
  O(a("input", {
1172
1216
  type: "number",
1173
- id: `rangeMax${o}`,
1174
- max: s.immutableRangeFilters[o].max,
1175
- min: s.immutableRangeFilters[o].min,
1176
- "onUpdate:modelValue": (d) => s.rangeFilters[o].max = d,
1217
+ id: `rangeMax${l}`,
1218
+ max: s.immutableRangeFilters[l].max,
1219
+ min: s.immutableRangeFilters[l].min,
1220
+ "onUpdate:modelValue": (d) => s.rangeFilters[l].max = d,
1177
1221
  onInput: t[10] || (t[10] = (d) => e.debounce(e.filterBody, 400)),
1178
1222
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1179
- }, null, 44, Ke), [
1223
+ }, null, 44, qe), [
1180
1224
  [
1181
1225
  A,
1182
- s.rangeFilters[o].max,
1226
+ s.rangeFilters[l].max,
1183
1227
  void 0,
1184
1228
  { number: !0 }
1185
1229
  ]
1186
1230
  ]),
1187
1231
  a("label", {
1188
- for: `rangeMax${o}`
1189
- }, [...t[34] || (t[34] = [
1232
+ for: `rangeMax${l}`
1233
+ }, [...t[35] || (t[35] = [
1190
1234
  a("span", { style: { color: "grey" } }, "ᒪ", -1),
1191
- v(" max ", -1),
1235
+ w(" max ", -1),
1192
1236
  a("span", { style: { color: "grey" } }, "ᒧ", -1)
1193
- ])], 8, Ze)
1237
+ ])], 8, Qe)
1194
1238
  ])) : b("", !0),
1195
- e.canResetColumn(o, l) ? (c(), u("button", {
1239
+ e.canResetColumn(l, o) ? (c(), u("button", {
1196
1240
  key: 6,
1197
- onClick: (d) => e.resetFilter(o, l, d),
1198
- disabled: e.isResetDisabled(o, l),
1241
+ onClick: (d) => e.resetFilter(l, o, d),
1242
+ disabled: e.isResetDisabled(l, o),
1199
1243
  class: "th-reset"
1200
- }, " ✖ ", 8, qe)) : b("", !0),
1201
- l.isMultiselect ? (c(), u("div", {
1244
+ }, " ✖ ", 8, $e)) : b("", !0),
1245
+ o.isMultiselect ? (c(), u("div", {
1202
1246
  key: 7,
1203
1247
  class: "th-dropdown",
1204
1248
  "data-is-open": "false",
1205
- id: `th_dropdown_${o}`,
1249
+ id: `th_dropdown_${l}`,
1206
1250
  style: g(`background:${e.FINAL_CONFIG.style.dropdowns.backgroundColor};color:${e.FINAL_CONFIG.style.dropdowns.color}`)
1207
1251
  }, [
1208
1252
  a("button", {
1209
1253
  class: "close-dropdown",
1210
- onClick: (d) => e.toggleMultiselect(o, l, d),
1254
+ onClick: (d) => e.toggleMultiselect(l, o, d),
1211
1255
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color}`)
1212
- }, " ✖ ", 12, $e),
1213
- (c(!0), u(F, null, k(e.getDropdownOptions(o), (d, y) => (c(), u("span", {
1256
+ }, " ✖ ", 12, tt),
1257
+ (c(!0), u(p, null, k(e.getDropdownOptions(l), (d, y) => (c(), u("span", {
1214
1258
  class: "th-option",
1215
- key: `th_option_${o}_${y}`,
1216
- onClick: (C) => e.selectDropdownOption(d, o),
1259
+ key: `th_option_${l}_${y}`,
1260
+ onClick: (I) => e.selectDropdownOption(d, l),
1217
1261
  onKeyup: [
1218
- S((C) => e.selectDropdownOption(d, o), ["enter"]),
1219
- S((C) => e.selectDropdownOption(d, o), ["space"])
1262
+ L((I) => e.selectDropdownOption(d, l), ["enter"]),
1263
+ L((I) => e.selectDropdownOption(d, l), ["space"])
1220
1264
  ],
1221
- style: g(`opacity:${e.isDropdownOptionSelected(d, o) ? 1 : 0.5}`),
1265
+ style: g(`opacity:${e.isDropdownOptionSelected(d, l) ? 1 : 0.5}`),
1222
1266
  tabindex: "0"
1223
1267
  }, [
1224
- e.isDropdownOptionSelected(d, o) ? (c(), u("span", {
1268
+ e.isDropdownOptionSelected(d, l) ? (c(), u("span", {
1225
1269
  key: 0,
1226
1270
  style: g(`color:${e.FINAL_CONFIG.style.dropdowns.icons.selected.color};margin-right:5px`),
1227
1271
  class: "th-icon-green"
@@ -1231,87 +1275,87 @@ function Jt(n, t, r, i, s, e) {
1231
1275
  class: "th-icon-red"
1232
1276
  }, h(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1233
1277
  a("span", null, h(d), 1)
1234
- ], 44, et))), 128))
1235
- ], 12, Qe)) : b("", !0)
1278
+ ], 44, st))), 128))
1279
+ ], 12, et)) : b("", !0)
1236
1280
  ])
1237
1281
  ], 6))), 128))
1238
1282
  ])
1239
1283
  ], 64)) : b("", !0),
1240
1284
  a("tr", null, [
1241
- t[36] || (t[36] = a("th", { class: "invisible-cell" }, null, -1)),
1242
- (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1243
- key: `col_selector_${o}`,
1244
- class: N({ "vue-ui-table-col-selector": !s.hasNaN[o], "th-has-nan": s.hasNaN[o] }),
1245
- style: g(`background:${o === s.selectedColumn && !s.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.backgroundColor : e.FINAL_CONFIG.style.th.backgroundColor};color:${o === s.selectedColumn && !s.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.color : e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1285
+ t[37] || (t[37] = a("th", { class: "invisible-cell" }, null, -1)),
1286
+ (c(!0), u(p, null, k(s.tableHead, (o, l) => (c(), u("th", {
1287
+ key: `col_selector_${l}`,
1288
+ class: C({ "vue-ui-table-col-selector": !s.hasNaN[l], "th-has-nan": s.hasNaN[l] }),
1289
+ style: g(`background:${l === s.selectedColumn && !s.hasNaN[l] ? e.FINAL_CONFIG.style.th.selected.backgroundColor : e.FINAL_CONFIG.style.th.backgroundColor};color:${l === s.selectedColumn && !s.hasNaN[l] ? e.FINAL_CONFIG.style.th.selected.color : e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1246
1290
  }, [
1247
- s.hasNaN[o] ? b("", !0) : (c(), u("div", {
1291
+ s.hasNaN[l] ? b("", !0) : (c(), u("div", {
1248
1292
  key: 0,
1249
- innerHTML: s.tableHead[o].type === s.constants.NUMERIC ? e.icons.chevronDown : "",
1250
- class: N({ "col-selector": s.tableHead[o].type === s.constants.NUMERIC }),
1293
+ innerHTML: s.tableHead[l].type === s.constants.NUMERIC ? e.icons.chevronDown : "",
1294
+ class: C({ "col-selector": s.tableHead[l].type === s.constants.NUMERIC }),
1251
1295
  tabindex: "0",
1252
- onClick: L((d) => e.selectColumn(o), ["stop"]),
1253
- onKeyup: S((d) => e.selectColumn(o), ["enter"])
1254
- }, null, 42, tt))
1296
+ onClick: S((d) => e.selectColumn(l), ["stop"]),
1297
+ onKeyup: L((d) => e.selectColumn(l), ["enter"])
1298
+ }, null, 42, nt))
1255
1299
  ], 6))), 128))
1256
1300
  ])
1257
1301
  ], 4),
1258
1302
  a("tbody", {
1259
- onClick: t[11] || (t[11] = (...l) => e.closeAllDropdowns && e.closeAllDropdowns(...l)),
1260
- onKeydown: t[12] || (t[12] = (l) => e.navigateCell(l))
1303
+ onClick: t[11] || (t[11] = (...o) => e.closeAllDropdowns && e.closeAllDropdowns(...o)),
1304
+ onKeydown: t[12] || (t[12] = (o) => e.navigateCell(o))
1261
1305
  }, [
1262
- (c(!0), u(F, null, k(e.visibleRows, (l, o) => (c(), u("tr", {
1263
- key: `tbody_${o}`,
1264
- "data-row": o % 2 === 0 ? "odd" : "even",
1265
- class: N(`tr_${s.uid}`),
1266
- style: g(`${o % 2 === 0 ? `background:${e.FINAL_CONFIG.style.rows.odd.backgroundColor};color:${e.FINAL_CONFIG.style.rows.odd.color}` : `background:${e.FINAL_CONFIG.style.rows.even.backgroundColor};color:${e.FINAL_CONFIG.style.rows.even.color}`}`)
1306
+ (c(!0), u(p, null, k(e.visibleRows, (o, l) => (c(), u("tr", {
1307
+ key: `tbody_${l}`,
1308
+ "data-row": l % 2 === 0 ? "odd" : "even",
1309
+ class: C(`tr_${s.uid}`),
1310
+ style: g(`${l % 2 === 0 ? `background:${e.FINAL_CONFIG.style.rows.odd.backgroundColor};color:${e.FINAL_CONFIG.style.rows.odd.color}` : `background:${e.FINAL_CONFIG.style.rows.even.backgroundColor};color:${e.FINAL_CONFIG.style.rows.even.color}`}`)
1267
1311
  }, [
1268
1312
  a("td", {
1269
1313
  class: "vue-ui-table-td-iteration",
1270
- "data-row": o % 2 === 0 ? "odd" : "even"
1271
- }, h(l.absoluteIndex + 1), 9, nt),
1272
- (c(!0), u(F, null, k(l.td, (d, y) => (c(), u("td", {
1273
- "data-row": o % 2 === 0 ? "odd" : "even",
1274
- key: `td_${o}_${y}`,
1314
+ "data-row": l % 2 === 0 ? "odd" : "even"
1315
+ }, h(o.absoluteIndex + 1), 9, lt),
1316
+ (c(!0), u(p, null, k(o.td, (d, y) => (c(), u("td", {
1317
+ "data-row": l % 2 === 0 ? "odd" : "even",
1318
+ key: `td_${l}_${y}`,
1275
1319
  style: g(e.isNumeric(d) || r.dataset.header[y].type === s.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
1276
- onClick: (C) => e.selectTd({
1320
+ onClick: (I) => e.selectTd({
1277
1321
  td: d,
1278
- rowIndex: o,
1322
+ rowIndex: l,
1279
1323
  colIndex: y,
1280
1324
  headerType: r.dataset.header[y].type,
1281
- event: C
1325
+ event: I
1282
1326
  }),
1283
1327
  onKeyup: [
1284
- S((C) => e.selectTd({
1328
+ L((I) => e.selectTd({
1285
1329
  td: d,
1286
- rowIndex: o,
1330
+ rowIndex: l,
1287
1331
  colIndex: y,
1288
1332
  headerType: r.dataset.header[y].type,
1289
- event: C
1333
+ event: I
1290
1334
  }), ["enter"]),
1291
- S((C) => e.selectTd({
1335
+ L((I) => e.selectTd({
1292
1336
  td: d,
1293
- rowIndex: o,
1337
+ rowIndex: l,
1294
1338
  colIndex: y,
1295
1339
  headerType: r.dataset.header[y].type,
1296
- event: C
1340
+ event: I
1297
1341
  }), ["space"])
1298
1342
  ],
1299
- class: N({ "td-numeric": r.dataset.header[y].type === s.constants.NUMERIC, "td-focusable": !0, "td-has-nan": s.hasNaN[y] }),
1300
- id: `cell_${o}_${y}_${s.uid}`,
1343
+ class: C({ "td-numeric": r.dataset.header[y].type === s.constants.NUMERIC, "td-focusable": !0, "td-has-nan": s.hasNaN[y] }),
1344
+ id: `cell_${l}_${y}_${s.uid}`,
1301
1345
  tabindex: "0"
1302
1346
  }, [
1303
- l.meta && l.meta.markerIndices.includes(y) && l.meta.unicodeIcon ? (c(), u("span", {
1347
+ o.meta && o.meta.markerIndices.includes(y) && o.meta.unicodeIcon ? (c(), u("span", {
1304
1348
  key: 0,
1305
- style: g(`color:${l.meta.color};margin-right:3px`),
1306
- innerHTML: l.meta.unicodeIcon
1307
- }, null, 12, ot)) : b("", !0),
1308
- r.dataset.header[y].type === s.constants.DATE ? (c(), u("span", lt, h(r.dataset.header[y].prefix) + " " + h(new Date(d).toLocaleString().slice(0, 10)) + " " + h(r.dataset.header[y].suffix), 1)) : r.dataset.header[y].isPercentage ? (c(), u("span", at, h(e.dataLabel({
1349
+ style: g(`color:${o.meta.color};margin-right:3px`),
1350
+ innerHTML: o.meta.unicodeIcon
1351
+ }, null, 12, at)) : b("", !0),
1352
+ r.dataset.header[y].type === s.constants.DATE ? (c(), u("span", it, h(r.dataset.header[y].prefix) + " " + h(new Date(d).toLocaleString().slice(0, 10)) + " " + h(r.dataset.header[y].suffix), 1)) : r.dataset.header[y].isPercentage ? (c(), u("span", ct, h(e.dataLabel({
1309
1353
  v: Number(d * 100),
1310
1354
  s: "%",
1311
1355
  r: r.dataset.header[y].decimals
1312
1356
  })), 1)) : s.percentages[y] && r.dataset.header[y].percentageTo && !r.dataset.header[y].isPercentage ? (c(), u("span", {
1313
1357
  key: 3,
1314
- class: N({ "td-nan": isNaN(Number(d)) })
1358
+ class: C({ "td-nan": isNaN(Number(d)) })
1315
1359
  }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1316
1360
  p: r.dataset.header[y].prefix,
1317
1361
  v: Number(d),
@@ -1323,69 +1367,69 @@ function Jt(n, t, r, i, s, e) {
1323
1367
  r: r.dataset.header[y].decimals
1324
1368
  })) + ") ", 3)) : r.dataset.header[y].type === s.constants.NUMERIC ? (c(), u("span", {
1325
1369
  key: 4,
1326
- class: N({ "td-nan": isNaN(Number(d)) })
1370
+ class: C({ "td-nan": isNaN(Number(d)) })
1327
1371
  }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1328
1372
  p: r.dataset.header[y].prefix,
1329
1373
  v: Number(d.toFixed(r.dataset.header[y].decimals)),
1330
1374
  s: r.dataset.header[y].suffix,
1331
1375
  r: r.dataset.header[y].decimals
1332
- })), 3)) : (c(), u("span", it, h(r.dataset.header[y].prefix) + " " + h(d) + " " + h(r.dataset.header[y].suffix), 1))
1333
- ], 46, rt))), 128))
1334
- ], 14, st))), 128))
1376
+ })), 3)) : (c(), u("span", ut, h(r.dataset.header[y].prefix) + " " + h(d) + " " + h(r.dataset.header[y].suffix), 1))
1377
+ ], 46, ot))), 128))
1378
+ ], 14, rt))), 128))
1335
1379
  ], 32)
1336
1380
  ])
1337
1381
  ], 4),
1338
1382
  a("div", {
1339
- class: N({ "td-selector-info": !0, "td-selector-info--active": s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length }),
1383
+ class: C({ "td-selector-info": !0, "td-selector-info--active": s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length }),
1340
1384
  style: g(`background:${e.FINAL_CONFIG.style.infoBar.backgroundColor};color:${e.FINAL_CONFIG.style.infoBar.color}`)
1341
1385
  }, [
1342
- s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length ? (c(), u(F, { key: 0 }, [
1386
+ s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length ? (c(), u(p, { key: 0 }, [
1343
1387
  a("div", {
1344
1388
  innerHTML: e.icons.table,
1345
1389
  class: "td-selector-icon"
1346
- }, null, 8, ct),
1390
+ }, null, 8, ht),
1347
1391
  a("span", null, [
1348
1392
  a("b", null, [
1349
- v(h(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1350
- r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("span", ut, " / " + h(r.dataset.header[s.percentages[s.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1351
- ]),
1352
- a("span", ht, [
1353
- v(h(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1354
- a("b", dt, h(s.currentSelectionSpan.rows.length), 1)
1393
+ w(h(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1394
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("span", dt, " / " + h(r.dataset.header[s.percentages[s.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1355
1395
  ]),
1356
1396
  a("span", gt, [
1357
- v(h(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1358
- r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", mt, h(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", yt, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.sumRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1359
- r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", bt, "%")) : b("", !0)
1397
+ w(h(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1398
+ a("b", mt, h(s.currentSelectionSpan.rows.length), 1)
1399
+ ]),
1400
+ a("span", yt, [
1401
+ w(h(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1402
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", bt, h(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", ft, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.sumRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1403
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Nt, "%")) : b("", !0)
1360
1404
  ]),
1361
- a("span", ft, [
1362
- v(h(e.FINAL_CONFIG.translations.average) + " : ", 1),
1363
- r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", pt, h(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", Nt, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.averageRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1364
- r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ct, "%")) : b("", !0)
1405
+ a("span", pt, [
1406
+ w(h(e.FINAL_CONFIG.translations.average) + " : ", 1),
1407
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ct, h(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", It, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.averageRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1408
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ft, "%")) : b("", !0)
1365
1409
  ])
1366
1410
  ]),
1367
1411
  a("button", {
1368
- onClick: t[13] || (t[13] = (...l) => e.resetSelection && e.resetSelection(...l)),
1412
+ onClick: t[13] || (t[13] = (...o) => e.resetSelection && e.resetSelection(...o)),
1369
1413
  class: "td-selector-info-reset",
1370
1414
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
1371
1415
  }, " ✖ ", 4)
1372
1416
  ], 64)) : b("", !0)
1373
1417
  ], 6),
1374
- s.bodyCopy.length > 10 ? (c(), u("div", It, [
1375
- v(h(e.FINAL_CONFIG.translations.totalRows) + " : " + h(r.dataset.body.length) + " | " + h(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1418
+ s.bodyCopy.length > 10 ? (c(), u("div", vt, [
1419
+ w(h(e.FINAL_CONFIG.translations.totalRows) + " : " + h(r.dataset.body.length) + " | " + h(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1376
1420
  s.bodyCopy.length > 10 ? O((c(), u("select", {
1377
1421
  key: 0,
1378
1422
  id: "paginatorSelector",
1379
- "onUpdate:modelValue": t[14] || (t[14] = (l) => s.itemsPerPage = l),
1380
- onChange: t[15] || (t[15] = (l) => {
1423
+ "onUpdate:modelValue": t[14] || (t[14] = (o) => s.itemsPerPage = o),
1424
+ onChange: t[15] || (t[15] = (o) => {
1381
1425
  e.resetSelection(), e.onPageChange();
1382
1426
  }),
1383
1427
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1384
1428
  }, [
1385
- (c(!0), u(F, null, k(s.paginatorOptions, (l, o) => (c(), u(F, null, [
1386
- s.bodyCopy.length > l || r.dataset.body.length === l ? (c(), u("option", {
1387
- key: `paginator_option_${o}`
1388
- }, h(l), 1)) : b("", !0)
1429
+ (c(!0), u(p, null, k(s.paginatorOptions, (o, l) => (c(), u(p, null, [
1430
+ s.bodyCopy.length > o || r.dataset.body.length === o ? (c(), u("option", {
1431
+ key: `paginator_option_${l}`
1432
+ }, h(o), 1)) : b("", !0)
1389
1433
  ], 64))), 256))
1390
1434
  ], 36)), [
1391
1435
  [
@@ -1396,34 +1440,34 @@ function Jt(n, t, r, i, s, e) {
1396
1440
  ]
1397
1441
  ]) : b("", !0)
1398
1442
  ])) : b("", !0),
1399
- s.itemsPerPage >= 250 ? (c(), u("div", Ft, [
1443
+ s.itemsPerPage >= 250 ? (c(), u("div", wt, [
1400
1444
  a("span", {
1401
1445
  innerHTML: e.icons.warning
1402
- }, null, 8, vt),
1403
- v(h(e.FINAL_CONFIG.translations.sizeWarning), 1)
1446
+ }, null, 8, _t),
1447
+ w(h(e.FINAL_CONFIG.translations.sizeWarning), 1)
1404
1448
  ])) : b("", !0),
1405
1449
  e.pages.length > 1 && e.pages.length <= 10 ? (c(), u("div", {
1406
1450
  key: 3,
1407
1451
  class: "vue-ui-table-navigation-indicator",
1408
1452
  style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${s.currentPage / (e.pages.length - 1) * 100}%)`)
1409
1453
  }, null, 4)) : b("", !0),
1410
- e.pages.length > 1 ? (c(), u("div", wt, [
1454
+ e.pages.length > 1 ? (c(), u("div", kt, [
1411
1455
  a("button", {
1412
1456
  class: "vue-ui-table-navigation",
1413
- onClick: t[16] || (t[16] = L((l) => e.navigate("previous"), ["stop"])),
1457
+ onClick: t[16] || (t[16] = S((o) => e.navigate("previous"), ["stop"])),
1414
1458
  innerHTML: e.icons.chevronLeft,
1415
1459
  disabled: s.currentPage === 0,
1416
1460
  style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1417
- }, null, 12, _t),
1418
- e.pages.length > 3 ? (c(), u(F, { key: 0 }, [
1461
+ }, null, 12, Ot),
1462
+ e.pages.length > 3 ? (c(), u(p, { key: 0 }, [
1419
1463
  a("button", {
1420
1464
  class: "vue-ui-table-navigation",
1421
- onClick: t[17] || (t[17] = L((l) => e.navigate(1), ["stop"])),
1465
+ onClick: t[17] || (t[17] = S((o) => e.navigate(1), ["stop"])),
1422
1466
  disabled: s.currentPage === 0,
1423
1467
  style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1424
- }, " 1 ", 12, kt),
1425
- e.pages.length > 10 ? (c(), u("div", Ot, [
1426
- a("label", St, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
1468
+ }, " 1 ", 12, Lt),
1469
+ e.pages.length > 10 ? (c(), u("div", St, [
1470
+ a("label", At, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
1427
1471
  a("input", {
1428
1472
  class: "vue-ui-table-page-scroller",
1429
1473
  id: "pageScroller",
@@ -1431,23 +1475,23 @@ function Jt(n, t, r, i, s, e) {
1431
1475
  step: "1",
1432
1476
  min: 0,
1433
1477
  max: e.pages.length - 1,
1434
- onInput: t[18] || (t[18] = (l) => e.updateCurrentPage(l)),
1478
+ onInput: t[18] || (t[18] = (o) => e.updateCurrentPage(o)),
1435
1479
  value: s.currentPage,
1436
1480
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border};accent-color:${e.FINAL_CONFIG.style.inputs.accentColor}`)
1437
- }, null, 44, Lt)
1438
- ])) : (c(), u("span", At, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)),
1481
+ }, null, 44, Mt)
1482
+ ])) : (c(), u("span", Gt, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)),
1439
1483
  a("button", {
1440
1484
  class: "vue-ui-table-navigation",
1441
- onClick: t[19] || (t[19] = L((l) => e.navigate(e.pages.length), ["stop"])),
1485
+ onClick: t[19] || (t[19] = S((o) => e.navigate(e.pages.length), ["stop"])),
1442
1486
  disabled: s.currentPage === e.pages.length - 1,
1443
1487
  style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1444
- }, h(e.pages.length), 13, Mt)
1445
- ], 64)) : (c(), u(F, { key: 1 }, [
1446
- v(h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)
1488
+ }, h(e.pages.length), 13, xt)
1489
+ ], 64)) : (c(), u(p, { key: 1 }, [
1490
+ w(h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)
1447
1491
  ], 64)),
1448
1492
  a("button", {
1449
1493
  class: "vue-ui-table-navigation",
1450
- onClick: t[20] || (t[20] = L((l) => e.navigate("next"), ["stop"])),
1494
+ onClick: t[20] || (t[20] = S((o) => e.navigate("next"), ["stop"])),
1451
1495
  innerHTML: e.icons.chevronRight,
1452
1496
  disabled: s.currentPage === e.pages.length - 1,
1453
1497
  style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${s.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
@@ -1460,103 +1504,103 @@ function Jt(n, t, r, i, s, e) {
1460
1504
  }, [
1461
1505
  a("div", {
1462
1506
  class: "modal-drag-handle",
1463
- onMousedown: t[22] || (t[22] = (...l) => e.dragMouseDown && e.dragMouseDown(...l))
1507
+ onMousedown: t[22] || (t[22] = (...o) => e.dragMouseDown && e.dragMouseDown(...o))
1464
1508
  }, [
1465
1509
  a("span", {
1466
1510
  innerHTML: e.icons.grip
1467
- }, null, 8, Gt),
1511
+ }, null, 8, Tt),
1468
1512
  a("button", {
1469
1513
  class: "close-chart-modal",
1470
- onClick: t[21] || (t[21] = (l) => s.showChart = !1)
1514
+ onClick: t[21] || (t[21] = (o) => s.showChart = !1)
1471
1515
  }, "✖")
1472
1516
  ], 32),
1473
1517
  a("button", {
1474
1518
  style: g([{ "z-index": "1" }, `background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`]),
1475
1519
  class: "close-chart-modal",
1476
- onClick: t[23] || (t[23] = (l) => s.showChart = !1)
1520
+ onClick: t[23] || (t[23] = (o) => s.showChart = !1)
1477
1521
  }, " ✖ ", 4),
1478
- a("div", Tt, [
1522
+ a("div", Et, [
1479
1523
  e.availableDonutCategories.length ? (c(), u("button", {
1480
1524
  key: 0,
1481
- onClick: t[24] || (t[24] = (l) => s.showDonutOptions = !0),
1525
+ onClick: t[24] || (t[24] = (o) => s.showDonutOptions = !0),
1482
1526
  innerHTML: e.icons.donut,
1483
- class: N({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1527
+ class: C({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1484
1528
  style: g(`background:${s.chart.type === s.constants.DONUT || s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${s.chart.type === s.constants.DONUT || s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1485
- }, null, 14, xt)) : b("", !0),
1529
+ }, null, 14, Pt)) : b("", !0),
1486
1530
  a("button", {
1487
- onClick: t[25] || (t[25] = (l) => {
1531
+ onClick: t[25] || (t[25] = (o) => {
1488
1532
  s.chart.type = s.constants.LINE, s.showDonutOptions = !1;
1489
1533
  }),
1490
1534
  innerHTML: e.icons.chart,
1491
- class: N({ "is-active-chart": s.chart.type === s.constants.LINE && !s.showDonutOptions }),
1535
+ class: C({ "is-active-chart": s.chart.type === s.constants.LINE && !s.showDonutOptions }),
1492
1536
  style: g(`background:${s.chart.type === s.constants.LINE && !s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${s.chart.type === s.constants.LINE && !s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1493
- }, null, 14, Et),
1537
+ }, null, 14, Bt),
1494
1538
  a("button", {
1495
- onClick: t[26] || (t[26] = (l) => {
1539
+ onClick: t[26] || (t[26] = (o) => {
1496
1540
  s.chart.type = s.constants.BAR, s.showDonutOptions = !1;
1497
1541
  }),
1498
1542
  innerHTML: e.icons.bar,
1499
- class: N({ "is-active-chart": s.chart.type === s.constants.BAR && !s.showDonutOptions }),
1543
+ class: C({ "is-active-chart": s.chart.type === s.constants.BAR && !s.showDonutOptions }),
1500
1544
  style: g(`background:${s.chart.type === s.constants.BAR && !s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${s.chart.type === s.constants.BAR && !s.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1501
- }, null, 14, Pt)
1545
+ }, null, 14, Ht)
1502
1546
  ]),
1503
- a("div", Ht, [
1547
+ a("div", Rt, [
1504
1548
  s.showDonutOptions && e.availableDonutCategories.length ? (c(), u("div", {
1505
1549
  key: 0,
1506
1550
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1507
1551
  }, [
1508
- a("fieldset", Bt, [
1552
+ a("fieldset", zt, [
1509
1553
  a("legend", null, h(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1510
- a("div", Rt, [
1511
- (c(!0), u(F, null, k(e.availableDonutCategories, (l, o) => (c(), u("div", {
1512
- key: `donut_radio_${o}`,
1554
+ a("div", Ut, [
1555
+ (c(!0), u(p, null, k(e.availableDonutCategories, (o, l) => (c(), u("div", {
1556
+ key: `donut_radio_${l}`,
1513
1557
  class: "vue-ui-table-fieldset-option"
1514
1558
  }, [
1515
1559
  a("input", {
1516
1560
  type: "radio",
1517
- name: l.name,
1518
- id: l.name,
1519
- checked: s.selectedDonutCategory && l.name === s.selectedDonutCategory.name,
1520
- onInput: (d) => s.selectedDonutCategory = e.availableDonutCategories[o],
1561
+ name: o.name,
1562
+ id: o.name,
1563
+ checked: s.selectedDonutCategory && o.name === s.selectedDonutCategory.name,
1564
+ onInput: (d) => s.selectedDonutCategory = e.availableDonutCategories[l],
1521
1565
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border};accent-color:${e.FINAL_CONFIG.style.inputs.accentColor}`)
1522
- }, null, 44, zt),
1566
+ }, null, 44, Vt),
1523
1567
  a("label", {
1524
- for: l.name
1525
- }, h(l.name), 9, Ut)
1568
+ for: o.name
1569
+ }, h(o.name), 9, Xt)
1526
1570
  ]))), 128))
1527
1571
  ]),
1528
1572
  a("button", {
1529
1573
  class: "vue-ui-table-generate-donut",
1530
1574
  disabled: !s.selectedDonutCategory,
1531
- onClick: t[27] || (t[27] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1575
+ onClick: t[27] || (t[27] = (...o) => e.applyDonutOption && e.applyDonutOption(...o)),
1532
1576
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.color}`)
1533
1577
  }, [
1534
1578
  a("div", {
1535
1579
  style: { "margin-bottom": "-3px" },
1536
1580
  innerHTML: e.icons.donut
1537
- }, null, 8, Xt),
1538
- v(" " + h(e.FINAL_CONFIG.translations.makeDonut), 1)
1539
- ], 12, Vt)
1581
+ }, null, 8, Yt),
1582
+ w(" " + h(e.FINAL_CONFIG.translations.makeDonut), 1)
1583
+ ], 12, jt)
1540
1584
  ])
1541
1585
  ], 4)) : b("", !0),
1542
- [s.constants.BAR, s.constants.LINE].includes(s.chart.type) && !s.showDonutOptions ? (c(), u(F, { key: 1 }, [
1543
- e.chartTimeLabelOptions.length > 1 ? (c(), u("label", jt, [
1544
- v(h(e.FINAL_CONFIG.translations.xAxisLabels) + " ", 1),
1586
+ [s.constants.BAR, s.constants.LINE].includes(s.chart.type) && !s.showDonutOptions ? (c(), u(p, { key: 1 }, [
1587
+ e.chartTimeLabelOptions.length > 1 ? (c(), u("label", Wt, [
1588
+ w(h(e.FINAL_CONFIG.translations.xAxisLabels) + " ", 1),
1545
1589
  O(a("select", {
1546
- "onUpdate:modelValue": t[28] || (t[28] = (l) => s.chartTimeLabelSourceModel = l)
1590
+ "onUpdate:modelValue": t[28] || (t[28] = (o) => s.chartTimeLabelSourceModel = o)
1547
1591
  }, [
1548
- (c(!0), u(F, null, k(e.chartTimeLabelOptions, (l) => (c(), u("option", null, h(l), 1))), 256))
1592
+ (c(!0), u(p, null, k(e.chartTimeLabelOptions, (o) => (c(), u("option", null, h(o), 1))), 256))
1549
1593
  ], 512), [
1550
1594
  [P, s.chartTimeLabelSourceModel]
1551
1595
  ])
1552
1596
  ])) : b("", !0),
1553
- a("div", Yt, [
1554
- s.chart.type === s.constants.LINE ? (c(), H(f, {
1597
+ a("div", Jt, [
1598
+ s.chart.type === s.constants.LINE ? (c(), B(f, {
1555
1599
  key: `chart_line_${s.chartStep}`,
1556
1600
  dataset: e.chartData.xyDatasetLine,
1557
1601
  config: e.chartData.xyConfig
1558
1602
  }, null, 8, ["dataset", "config"])) : b("", !0),
1559
- s.chart.type === s.constants.BAR ? (c(), H(f, {
1603
+ s.chart.type === s.constants.BAR ? (c(), B(f, {
1560
1604
  key: `chart_bar_${s.chartStep}`,
1561
1605
  dataset: e.chartData.xyDatasetBar,
1562
1606
  config: e.chartData.xyConfig
@@ -1567,15 +1611,15 @@ function Jt(n, t, r, i, s, e) {
1567
1611
  class: "chart-trend",
1568
1612
  style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1569
1613
  }, [
1570
- t[37] || (t[37] = a("span", null, "---", -1)),
1571
- v(" Trend: " + h(e.dataLabel({
1614
+ t[38] || (t[38] = a("span", null, "---", -1)),
1615
+ w(" Trend: " + h(e.dataLabel({
1572
1616
  v: e.chartData.progression.trend * 100,
1573
1617
  s: "%",
1574
1618
  r: 1
1575
1619
  })), 1)
1576
1620
  ], 4)) : b("", !0)
1577
1621
  ], 64)) : b("", !0),
1578
- [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Wt, [
1622
+ [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Kt, [
1579
1623
  E(_, {
1580
1624
  dataset: s.currentDonut,
1581
1625
  config: e.chartData.donutConfig
@@ -1585,7 +1629,7 @@ function Jt(n, t, r, i, s, e) {
1585
1629
  ], 4)) : b("", !0)
1586
1630
  ], 4);
1587
1631
  }
1588
- const ns = /* @__PURE__ */ se(ne, [["render", Jt], ["__scopeId", "data-v-baef4664"]]);
1632
+ const ls = /* @__PURE__ */ re(le, [["render", Zt], ["__scopeId", "data-v-0b5e4eaf"]]);
1589
1633
  export {
1590
- ns as default
1634
+ ls as default
1591
1635
  };