vue-data-ui 3.2.4 → 3.2.6

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 (135) hide show
  1. package/dist/{PackageVersion-x4hg0tYe.js → PackageVersion-5qR9AVYq.js} +1 -1
  2. package/dist/{Title-C__lOIPC.js → Title-DG2nloSB.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/{themes-D3cUNuKw.js → themes-Dw-dDudK.js} +1 -1
  68. package/dist/types/vue-data-ui.d.ts +40 -1
  69. package/dist/{useNestedProp-CLD3Gk9S.js → useNestedProp-BOk-tPdu.js} +161 -121
  70. package/dist/{vue-data-ui-boJG_PFN.js → vue-data-ui-Djpo8FBy.js} +63 -63
  71. package/dist/vue-data-ui.js +65 -65
  72. package/dist/{vue-ui-3d-bar-HrbA4DmH.js → vue-ui-3d-bar-BdUUurQF.js} +4 -4
  73. package/dist/{vue-ui-accordion-Cv7OaVUI.js → vue-ui-accordion-C1OLvrea.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-CS5384rT.js → vue-ui-age-pyramid-DmBRe5xH.js} +4 -4
  75. package/dist/{vue-ui-annotator-DOO0qej9.js → vue-ui-annotator-BVdVOPF6.js} +2 -2
  76. package/dist/{vue-ui-bullet-DaauvX3a.js → vue-ui-bullet-C9JRu4NQ.js} +4 -4
  77. package/dist/{vue-ui-candlestick-DQXu21Mp.js → vue-ui-candlestick--6CJDlW4.js} +4 -4
  78. package/dist/{vue-ui-carousel-table-Bh8Vb6ce.js → vue-ui-carousel-table-DyuUDRR6.js} +2 -2
  79. package/dist/{vue-ui-chestnut-BgmAUlUz.js → vue-ui-chestnut-CPFwRmpE.js} +3 -3
  80. package/dist/{vue-ui-chord-3NX_jwG_.js → vue-ui-chord-Dpkeaur6.js} +4 -4
  81. package/dist/{vue-ui-circle-pack-Berb37Aa.js → vue-ui-circle-pack-BennEsLy.js} +4 -4
  82. package/dist/{vue-ui-cursor-Cbt_0B5t.js → vue-ui-cursor-Detis-4Y.js} +1 -1
  83. package/dist/{vue-ui-dashboard-BzU-96mz.js → vue-ui-dashboard-D9JZVdHy.js} +63 -63
  84. package/dist/{vue-ui-digits-ChAz3jSS.js → vue-ui-digits-CDtdGqLS.js} +1 -1
  85. package/dist/{vue-ui-donut-BBQNmH5y.js → vue-ui-donut-C36gley-.js} +4 -4
  86. package/dist/{vue-ui-donut-evolution-BD3_nxd1.js → vue-ui-donut-evolution-Cx_7Wi1t.js} +4 -4
  87. package/dist/{vue-ui-dumbbell-Ct-YAkFg.js → vue-ui-dumbbell-DFLWlWUJ.js} +4 -4
  88. package/dist/{vue-ui-flow-CVHjWM9l.js → vue-ui-flow-sdg4P5gg.js} +4 -4
  89. package/dist/{vue-ui-funnel-Co79mdnX.js → vue-ui-funnel-Ctnlll1a.js} +4 -4
  90. package/dist/{vue-ui-galaxy-D-XFEUfD.js → vue-ui-galaxy-GWCCkX_k.js} +4 -4
  91. package/dist/{vue-ui-gauge-Cx6eQ1nL.js → vue-ui-gauge-CXMQuWfj.js} +4 -4
  92. package/dist/{vue-ui-gizmo-D2PHxbS3.js → vue-ui-gizmo-k3BfWb5b.js} +2 -2
  93. package/dist/{vue-ui-heatmap-D4KCpMN3.js → vue-ui-heatmap-BVlD1EIN.js} +5 -5
  94. package/dist/{vue-ui-history-plot-Q_Q9g2Es.js → vue-ui-history-plot-C1_5vtsJ.js} +4 -4
  95. package/dist/{vue-ui-kpi-D7WXGb3K.js → vue-ui-kpi-DuFgWXJM.js} +2 -2
  96. package/dist/{vue-ui-mini-loader-CKMzFSG5.js → vue-ui-mini-loader-D4W9oE3V.js} +1 -1
  97. package/dist/{vue-ui-molecule-Bxs72uED.js → vue-ui-molecule-WUR-7dEU.js} +3 -3
  98. package/dist/{vue-ui-mood-radar-B5wYN9tI.js → vue-ui-mood-radar-BRR6mQHI.js} +4 -4
  99. package/dist/{vue-ui-nested-donuts-pt6KriAc.js → vue-ui-nested-donuts-DAjxc3x7.js} +4 -4
  100. package/dist/{vue-ui-onion-C8jid2_q.js → vue-ui-onion-CSavM_BP.js} +4 -4
  101. package/dist/{vue-ui-parallel-coordinate-plot-06wFGFFV.js → vue-ui-parallel-coordinate-plot-BEbszAHE.js} +4 -4
  102. package/dist/{vue-ui-quadrant-B2dS6aSz.js → vue-ui-quadrant-DPgncxZQ.js} +4 -4
  103. package/dist/{vue-ui-quick-chart-CrkR07qv.js → vue-ui-quick-chart-CtN8WFnA.js} +3 -3
  104. package/dist/{vue-ui-radar-CkAX2pUE.js → vue-ui-radar-KbCqEit5.js} +4 -4
  105. package/dist/{vue-ui-rating-C0Ubexdn.js → vue-ui-rating-CxIBq7Xr.js} +1 -1
  106. package/dist/{vue-ui-relation-circle-eROPsns9.js → vue-ui-relation-circle-CCBM5wgz.js} +4 -4
  107. package/dist/{vue-ui-ridgeline-AkXpQ6zB.js → vue-ui-ridgeline-CL_3ByuI.js} +4 -4
  108. package/dist/{vue-ui-rings-DEwCnnwC.js → vue-ui-rings-DfLmYMcP.js} +4 -4
  109. package/dist/{vue-ui-scatter-DzojJVhb.js → vue-ui-scatter-DMbolDeN.js} +4 -4
  110. package/dist/{vue-ui-skeleton-Bp8Ao16B.js → vue-ui-skeleton-BYXvBTUe.js} +2 -2
  111. package/dist/{vue-ui-smiley-DxC8rN5b.js → vue-ui-smiley-B70Ck-49.js} +1 -1
  112. package/dist/{vue-ui-spark-trend-DqKebrx9.js → vue-ui-spark-trend-C1UpWIDp.js} +3 -3
  113. package/dist/{vue-ui-sparkbar-BShmZ5Vp.js → vue-ui-sparkbar-DwXV0oNn.js} +3 -3
  114. package/dist/{vue-ui-sparkgauge-NX3Z_bFF.js → vue-ui-sparkgauge-CZNlg3nw.js} +3 -3
  115. package/dist/{vue-ui-sparkhistogram-TBxquo5S.js → vue-ui-sparkhistogram-CXJxaEgj.js} +3 -3
  116. package/dist/{vue-ui-sparkline-Bw4jxjxk.js → vue-ui-sparkline-DQEinDMl.js} +3 -3
  117. package/dist/{vue-ui-sparkstackbar-D8YGkrZ9.js → vue-ui-sparkstackbar-D-9dj2ZF.js} +3 -3
  118. package/dist/{vue-ui-stackbar-0Kag52U5.js → vue-ui-stackbar-DKAXnHbn.js} +4 -4
  119. package/dist/{vue-ui-strip-plot-CU0tiCsd.js → vue-ui-strip-plot-AzK7kFIo.js} +4 -4
  120. package/dist/{vue-ui-table-B4BTGeKs.js → vue-ui-table-BKANEUCO.js} +489 -398
  121. package/dist/{vue-ui-table-heatmap-D-iueyM0.js → vue-ui-table-heatmap-DFZCaMxK.js} +2 -2
  122. package/dist/{vue-ui-table-sparkline-BnqMY5lk.js → vue-ui-table-sparkline-DclProaH.js} +3 -3
  123. package/dist/{vue-ui-thermometer-Ct3Sr0M1.js → vue-ui-thermometer-C2t96ChB.js} +4 -4
  124. package/dist/{vue-ui-timer-DsAVvm1H.js → vue-ui-timer-BOIDckAe.js} +3 -3
  125. package/dist/{vue-ui-tiremarks-DKNpl_8J.js → vue-ui-tiremarks-BKDEmrdG.js} +4 -4
  126. package/dist/{vue-ui-treemap-Jdea_p8r.js → vue-ui-treemap-CPVCUhJQ.js} +4 -4
  127. package/dist/{vue-ui-vertical-bar-DE42y9ZI.js → vue-ui-vertical-bar-CpzyHTRu.js} +5 -5
  128. package/dist/{vue-ui-waffle-CrYeU7zd.js → vue-ui-waffle-svcjPH6f.js} +4 -4
  129. package/dist/{vue-ui-wheel-B4Be4Ol6.js → vue-ui-wheel-Bsrxyhbo.js} +4 -4
  130. package/dist/{vue-ui-word-cloud-9QkLvAgs.js → vue-ui-word-cloud-DTXolazg.js} +4 -4
  131. package/dist/{vue-ui-world-DTwfuIIZ.js → vue-ui-world-BQYgaqx3.js} +2 -2
  132. package/dist/{vue-ui-xy-BKzt6d8T.js → vue-ui-xy-DB5_PACt.js} +1766 -1754
  133. package/dist/vue-ui-xy-canvas-JwLwOxS-.js +1305 -0
  134. package/package.json +1 -1
  135. package/dist/vue-ui-xy-canvas-BGzMXziC.js +0 -1302
@@ -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-BKzt6d8T.js";
4
- import ee from "./vue-ui-donut-BBQNmH5y.js";
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 = {
1
+ import { a2 as Y, t as W, m as G, y as J, d as K, r as Z, x as q, a6 as Q, h as $, E as ee, s as E, p as te } from "./lib-BEpWEyMm.js";
2
+ import { u as se } from "./useNestedProp-BOk-tPdu.js";
3
+ import ne from "./vue-ui-xy-DB5_PACt.js";
4
+ import re from "./vue-ui-donut-C36gley-.js";
5
+ import le from "./BaseIcon-Bz-1GQhu.js";
6
+ import { resolveComponent as x, 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 P, Fragment as C, renderList as k, normalizeClass as p, createTextVNode as _, vModelSelect as H, createBlock as R, ref as oe, computed as ae, useCssVars as ie } from "vue";
7
+ import { _ as ce } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
+ const D = {
9
9
  name: "vue-ui-table",
10
10
  props: {
11
11
  config: {
@@ -21,7 +21,7 @@ const ne = {
21
21
  }
22
22
  }
23
23
  },
24
- components: { VueUiXy: $, VueUiDonut: ee, BaseIcon: te },
24
+ components: { VueUiXy: ne, VueUiDonut: re, BaseIcon: le },
25
25
  emits: ["page-change"],
26
26
  data() {
27
27
  return {
@@ -79,7 +79,7 @@ const ne = {
79
79
  itemsPerPage: this.config.rowsPerPage ? this.config.rowsPerPage : 25,
80
80
  multiselects: {},
81
81
  paginatorOptions: [.../* @__PURE__ */ new Set([10, 25, 50, 100, 250, 500, this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.dataset.body.length])].sort((t, r) => t - r),
82
- palette: q,
82
+ palette: te,
83
83
  percentages: {},
84
84
  rafId: null,
85
85
  rangeFilters: {},
@@ -117,6 +117,13 @@ const ne = {
117
117
  filename: ""
118
118
  };
119
119
  },
120
+ setup() {
121
+ const n = oe(null), t = ae(() => 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.
@@ -187,6 +194,36 @@ Provide an array of objects of type:
187
194
  }
188
195
  },
189
196
  computed: {
197
+ colorCancelInactive() {
198
+ return this.FINAL_CONFIG.style.th.buttons.cancel.inactive.backgroundColor;
199
+ },
200
+ textColorCancelInactive() {
201
+ return this.FINAL_CONFIG.style.th.buttons.cancel.inactive.color;
202
+ },
203
+ colorCancelActive() {
204
+ return this.FINAL_CONFIG.style.th.buttons.cancel.active.backgroundColor;
205
+ },
206
+ colorCancelActiveLight() {
207
+ return G(this.colorCancelActive, 0.33);
208
+ },
209
+ colorCancelActiveOutline() {
210
+ return E(this.colorCancelActive, 33);
211
+ },
212
+ colorButtonSortActive() {
213
+ return this.FINAL_CONFIG.style.th.buttons.filter.active.backgroundColor;
214
+ },
215
+ colorButtonSortActiveLight() {
216
+ return G(this.colorButtonSortActive, 0.33);
217
+ },
218
+ colorButtonSortActiveOutline() {
219
+ return E(this.colorButtonSortActive, 33);
220
+ },
221
+ colorButtonSortInactive() {
222
+ return this.FINAL_CONFIG.style.th.buttons.filter.inactive.backgroundColor;
223
+ },
224
+ colorButtonSortActiveColorText() {
225
+ return this.FINAL_CONFIG.style.th.buttons.filter.active.color;
226
+ },
190
227
  dateHeaders() {
191
228
  return [...this.tableHead].filter((n) => n.type === this.constants.DATE);
192
229
  },
@@ -212,10 +249,10 @@ Provide an array of objects of type:
212
249
  },
213
250
  chartData() {
214
251
  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 = [
252
+ 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, w = 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
253
  {
217
- name: _,
218
- series: this.currentSelectionSpan.rows.map((w) => w.value),
254
+ name: w,
255
+ series: this.currentSelectionSpan.rows.map((v) => v.value),
219
256
  type: "line",
220
257
  useProgression: !0,
221
258
  smooth: this.FINAL_CONFIG.style.chart.layout.line.smooth,
@@ -224,27 +261,27 @@ Provide an array of objects of type:
224
261
  }
225
262
  ], y = [
226
263
  {
227
- name: _,
228
- series: this.currentSelectionSpan.rows.map((w) => w.value),
264
+ name: w,
265
+ series: this.currentSelectionSpan.rows.map((v) => v.value),
229
266
  type: "bar",
230
267
  useProgression: !0,
231
268
  color: this.FINAL_CONFIG.style.chart.layout.bar.fill
232
269
  }
233
- ], C = this.FINAL_CONFIG.style.chart.modal.backgroundColor, p = this.adaptColorToBackground(C), I = this.dataset.header[this.currentSelectionSpan.col].decimals, B = {
270
+ ], I = this.FINAL_CONFIG.style.chart.modal.backgroundColor, N = this.adaptColorToBackground(I), F = this.dataset.header[this.currentSelectionSpan.col].decimals, V = {
234
271
  chart: {
235
- backgroundColor: C,
236
- color: p,
272
+ backgroundColor: I,
273
+ color: N,
237
274
  labels: {
238
275
  fontSize: 18,
239
- prefix: l,
240
- suffix: o
276
+ prefix: o,
277
+ suffix: l
241
278
  },
242
279
  grid: {
243
- stroke: x(p, 0.5),
280
+ stroke: G(N, 0.5),
244
281
  labels: {
245
- color: p,
282
+ color: N,
246
283
  xAxisLabels: {
247
- color: p,
284
+ color: N,
248
285
  show: this.chartTimeLabels.length,
249
286
  values: this.chartTimeLabels,
250
287
  datetimeFormatter: this.FINAL_CONFIG.style.chart.layout.datetimeFormatter,
@@ -254,23 +291,23 @@ Provide an array of objects of type:
254
291
  }
255
292
  },
256
293
  highlighter: {
257
- color: p
294
+ color: N
258
295
  },
259
296
  legend: {
260
- color: p
297
+ color: N
261
298
  },
262
299
  title: {
263
- text: _,
264
- color: p,
300
+ text: w,
301
+ color: N,
265
302
  fontSize: 18
266
303
  },
267
304
  tooltip: {
268
305
  showTimeLabel: this.chartTimeLabels.length,
269
306
  backgroundOpacity: 30,
270
- color: p,
271
- backgroundColor: C,
307
+ color: N,
308
+ backgroundColor: I,
272
309
  showPercentage: !1,
273
- roundingValue: I
310
+ roundingValue: F
274
311
  },
275
312
  userOptions: {
276
313
  position: "left",
@@ -292,8 +329,8 @@ Provide an array of objects of type:
292
329
  line: {
293
330
  labels: {
294
331
  show: !0,
295
- color: p,
296
- rounding: I
332
+ color: N,
333
+ rounding: F
297
334
  },
298
335
  dot: {
299
336
  useSerieColor: !1,
@@ -310,18 +347,18 @@ Provide an array of objects of type:
310
347
  },
311
348
  labels: {
312
349
  show: !0,
313
- color: p,
314
- rounding: I
350
+ color: N,
351
+ rounding: F
315
352
  }
316
353
  }
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) => ({
318
- x: i * z + i / 2,
319
- y: (1 - (w.value + G) / R) * n,
320
- value: M ? w.value * 100 : w.value,
354
+ }, T = e >= 0 ? 0 : Math.abs(e), X = s + T, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, B = this.currentSelectionSpan.rows.map((v, j) => ({
355
+ x: i * j + i / 2,
356
+ y: (1 - (v.value + T) / X) * n,
357
+ value: M ? v.value * 100 : v.value,
321
358
  suffix: M ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
322
359
  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)
360
+ index: v.index,
361
+ absoluteValue: M ? Math.abs(v.value) * 100 : Math.abs(v.value)
325
362
  }));
326
363
  return {
327
364
  donutConfig: {
@@ -336,8 +373,8 @@ Provide an array of objects of type:
336
373
  },
337
374
  style: {
338
375
  chart: {
339
- backgroundColor: C,
340
- color: p,
376
+ backgroundColor: I,
377
+ color: N,
341
378
  layout: {
342
379
  curvedMarkers: !0,
343
380
  donut: {
@@ -346,32 +383,32 @@ Provide an array of objects of type:
346
383
  labels: {
347
384
  dataLabels: {
348
385
  suffix: M ? "%" : "",
349
- prefix: l
386
+ prefix: o
350
387
  },
351
388
  value: {
352
- rounding: I
389
+ rounding: F
353
390
  },
354
391
  percentage: {
355
- color: p,
356
- rounding: I
392
+ color: N,
393
+ rounding: F
357
394
  },
358
395
  name: {
359
- color: p
396
+ color: N
360
397
  },
361
398
  hollow: {
362
399
  average: {
363
- color: p,
400
+ color: N,
364
401
  text: this.FINAL_CONFIG.translations.average,
365
402
  value: {
366
- color: p
403
+ color: N
367
404
  }
368
405
  },
369
406
  total: {
370
- color: p,
407
+ color: N,
371
408
  offsetY: -12,
372
409
  text: this.FINAL_CONFIG.translations.total,
373
410
  value: {
374
- color: p,
411
+ color: N,
375
412
  offsetY: -12
376
413
  }
377
414
  }
@@ -379,34 +416,34 @@ Provide an array of objects of type:
379
416
  }
380
417
  },
381
418
  legend: {
382
- backgroundColor: C,
383
- color: p,
384
- roundingValue: I,
385
- roundingPercentage: I
419
+ backgroundColor: I,
420
+ color: N,
421
+ roundingValue: F,
422
+ roundingPercentage: F
386
423
  },
387
424
  padding: {
388
425
  left: 12,
389
426
  right: 12
390
427
  },
391
428
  title: {
392
- text: _,
393
- color: p,
429
+ text: w,
430
+ color: N,
394
431
  fontSize: 18
395
432
  },
396
433
  tooltip: {
397
434
  backgroundOpacity: 30,
398
- color: p,
399
- backgroundColor: C,
400
- roundingValue: I,
401
- roundingValue: I
435
+ color: N,
436
+ backgroundColor: I,
437
+ roundingValue: F,
438
+ roundingValue: F
402
439
  }
403
440
  }
404
441
  }
405
442
  },
406
- xyConfig: B,
443
+ xyConfig: V,
407
444
  xyDatasetLine: d,
408
445
  xyDatasetBar: y,
409
- progression: T.length >= 2 ? this.calcLinearProgression(T) : !1
446
+ progression: B.length >= 2 ? this.calcLinearProgression(B) : !1
410
447
  };
411
448
  },
412
449
  hasNumericTypes() {
@@ -454,7 +491,7 @@ Provide an array of objects of type:
454
491
  };
455
492
  },
456
493
  FINAL_CONFIG() {
457
- const { vue_ui_table: n } = Q();
494
+ const { vue_ui_table: n } = se();
458
495
  if (!Object.keys(this.config || {}).length)
459
496
  return n;
460
497
  const t = this.treeShake({
@@ -469,15 +506,15 @@ Provide an array of objects of type:
469
506
  },
470
507
  methods: {
471
508
  // lib
472
- adaptColorToBackground: Z,
473
- convertColorToHex: K,
474
- convertConfigColors: J,
475
- createCsvContent: W,
476
- darkenHexColor: Y,
477
- dataLabel: j,
478
- downloadCsv: X,
479
- lightenHexColor: x,
480
- treeShake: V,
509
+ adaptColorToBackground: ee,
510
+ convertColorToHex: $,
511
+ convertConfigColors: Q,
512
+ createCsvContent: q,
513
+ darkenHexColor: Z,
514
+ dataLabel: K,
515
+ downloadCsv: J,
516
+ lightenHexColor: G,
517
+ treeShake: W,
481
518
  // specific
482
519
  applyDonutOption() {
483
520
  const n = this.selectedDonutCategory.options.map((t, r) => ({
@@ -500,7 +537,7 @@ Provide an array of objects of type:
500
537
  const t = this.dataset.header.map((e) => e.name), r = n === "all" ? this.bodyCopy.map((e) => e.td) : this.visibleRows.map((e) => e.td), i = [t].concat(r), s = this.createCsvContent(i);
501
538
  this.downloadCsv({ csvContent: s, title: this.filename });
502
539
  },
503
- calcLinearProgression: U,
540
+ calcLinearProgression: Y,
504
541
  closeAllDropdowns() {
505
542
  const n = document.getElementsByClassName("th-dropdown");
506
543
  n.length && Array.from(n).forEach((t) => {
@@ -531,9 +568,9 @@ Provide an array of objects of type:
531
568
  return this.rows.map((t) => t[n]).map((t) => isNaN(Number(t)) ? 0 : t).reduce((t, r) => t + r, 0) / this.bodyCopy.length;
532
569
  },
533
570
  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}`;
571
+ 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"), w = String(r.getDate()).padStart(2, "0"), o = String(i.getDate()).padStart(2, "0"), l = `${s}-${m}-${w}`, d = `${e}-${f}-${o}`;
535
572
  return {
536
- from: o,
573
+ from: l,
537
574
  to: d
538
575
  };
539
576
  },
@@ -622,25 +659,25 @@ Provide an array of objects of type:
622
659
  n.preventDefault();
623
660
  const t = n.keyCode, r = 38, i = 40, s = 37, e = 39;
624
661
  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;
662
+ const m = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, w = m.match(f), o = parseInt(w[1]), l = parseInt(w[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}`);
663
+ let F;
627
664
  switch (!0) {
628
665
  case t === e:
629
- I = d;
666
+ F = d;
630
667
  break;
631
668
  case t === s:
632
- I = y;
669
+ F = y;
633
670
  break;
634
671
  case t === r:
635
- I = p;
672
+ F = N;
636
673
  break;
637
674
  case t === i:
638
- I = C;
675
+ F = I;
639
676
  break;
640
677
  default:
641
678
  return;
642
679
  }
643
- I && (I.focus(), I.scrollIntoView({ behavior: "smooth", block: "center" }));
680
+ F && (F.focus(), F.scrollIntoView({ behavior: "smooth", block: "center" }));
644
681
  },
645
682
  openDonutOptions() {
646
683
  this.selectedDonutCategory = this.availableDonutCategories[0], this.showDonutOptions = !0;
@@ -836,67 +873,85 @@ Provide an array of objects of type:
836
873
  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
874
  }
838
875
  }
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 = {
876
+ }, z = () => {
877
+ ie((n) => ({
878
+ v2185bfdf: n.colorCancelInactive,
879
+ v75fca41c: n.textColorCancelInactive,
880
+ v93649c88: n.colorCancelActiveLight,
881
+ v8b31a10c: n.colorCancelActive,
882
+ v0d8df368: n.colorCancelActiveOutline,
883
+ v4677ef86: n.colorButtonSortActiveLight,
884
+ v77680920: n.colorButtonSortActive,
885
+ a0b6fcc0: n.colorButtonSortActiveColorText,
886
+ v3c1fe6b2: n.colorButtonSortActiveOutline
887
+ }));
888
+ }, U = D.setup;
889
+ D.setup = U ? (n, t) => (z(), U(n, t)) : z;
890
+ const ue = ["innerHTML"], he = ["data-is-open"], de = { class: "vue-ui-table-export-hub-options" }, ge = { class: "vue-ui-table-export-hub-option-wrapper" }, me = { class: "label" }, ye = ["innerHTML"], be = { class: "vue-ui-table-export-hub-option-wrapper" }, fe = { class: "label" }, Ne = ["innerHTML"], Ce = { class: "vue-ui-table-dialog-field" }, pe = {
891
+ class: "label vue-ui-table-dialog-input-label",
892
+ style: { width: "100%" }
893
+ }, Ie = { style: { width: "fit-content" } }, Fe = { class: "vue-ui-table" }, ve = { key: 0 }, _e = { key: 0 }, we = { key: 1 }, ke = {
843
894
  key: 0,
844
895
  style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
845
- }, Ie = ["innerHTML"], Fe = {
896
+ }, Oe = ["innerHTML"], Le = {
846
897
  key: 0,
847
898
  style: { "margin-left": "3px" }
848
- }, ve = { key: 0 }, we = { class: "th-filter" }, _e = {
899
+ }, Se = { key: 0 }, Ae = { class: "th-filter" }, Me = {
849
900
  key: 0,
850
901
  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 = {
902
+ }, Ge = { class: "date-wrapper--inputs" }, xe = { class: "date-fieldset" }, De = ["for"], Te = ["id", "onUpdate:modelValue", "onInput"], Be = { class: "date-fieldset" }, Ee = ["for"], Pe = ["id", "onUpdate:modelValue", "onInput"], He = { class: "date-wrapper--button" }, Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "disabled"], je = ["placeholder", "onUpdate:modelValue", "name"], Ye = ["onClick"], We = ["innerHTML"], Je = ["innerHTML"], Ke = ["innerHTML"], Ze = ["onClick", "innerHTML"], qe = ["innerHTML"], Qe = {
852
903
  key: 5,
853
904
  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 = {
905
+ }, $e = ["for"], et = ["id", "max", "min", "onUpdate:modelValue"], tt = ["id", "max", "min", "onUpdate:modelValue"], st = ["for"], nt = ["onClick", "disabled"], rt = ["id"], lt = ["onClick"], ot = ["onClick", "onKeyup"], at = ["innerHTML", "onClick", "onKeyup"], it = ["data-row"], ct = ["data-row"], ut = ["data-row", "onClick", "onKeyup", "id"], ht = ["innerHTML"], dt = { key: 1 }, gt = { key: 2 }, mt = { key: 5 }, yt = ["innerHTML"], bt = { key: 0 }, ft = { style: { "margin-left": "12px" } }, Nt = { class: "format-num" }, Ct = { style: { "margin-left": "12px" } }, pt = {
855
906
  key: 0,
856
907
  class: "format-num"
857
- }, yt = {
908
+ }, It = {
858
909
  key: 1,
859
910
  class: "format-num"
860
- }, bt = { key: 2 }, ft = { style: { "margin-left": "12px" } }, pt = {
911
+ }, Ft = { key: 2 }, vt = { style: { "margin-left": "12px" } }, _t = {
861
912
  key: 0,
862
913
  class: "format-num"
863
- }, Nt = {
914
+ }, wt = {
864
915
  key: 1,
865
916
  class: "format-num"
866
- }, Ct = { key: 2 }, It = {
917
+ }, kt = { key: 2 }, Ot = {
867
918
  key: 1,
868
919
  class: "vue-ui-table-paginator format-num"
869
- }, Ft = {
920
+ }, Lt = {
870
921
  key: 2,
871
922
  class: "vue-ui-table-size-warning"
872
- }, vt = ["innerHTML"], wt = {
923
+ }, St = ["innerHTML"], At = {
873
924
  key: 4,
874
925
  class: "vue-ui-table-pagination format-num"
875
- }, _t = ["innerHTML", "disabled"], kt = ["disabled"], Ot = {
926
+ }, Mt = ["innerHTML", "disabled"], Gt = ["disabled"], xt = {
876
927
  key: 0,
877
928
  class: "vue-ui-table-page-scroller-wrapper"
878
- }, St = {
929
+ }, Dt = {
879
930
  for: "pageScroller",
880
931
  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 = {
932
+ }, Tt = ["max", "value"], Bt = { key: 1 }, Et = ["disabled"], Pt = ["innerHTML", "disabled"], Ht = ["innerHTML"], Rt = { class: "chart-modal-options" }, zt = ["innerHTML"], Ut = ["innerHTML"], Vt = ["innerHTML"], Xt = {
882
933
  style: { width: "100%", height: "fit-content" },
883
934
  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 = {
935
+ }, jt = { class: "vue-ui-table-fieldset" }, Yt = { class: "vue-ui-table-fieldset-wrapper" }, Wt = ["name", "id", "checked", "onInput"], Jt = ["for"], Kt = ["disabled"], Zt = ["innerHTML"], qt = { key: 0 }, Qt = { style: { width: "100%", "margin-bottom": "12px" } }, $t = {
885
936
  key: 2,
886
937
  style: { width: "100%", "margin-bottom": "32px" }
887
938
  };
888
- function Jt(n, t, r, i, s, e) {
889
- const m = D("BaseIcon"), f = D("VueUiXy"), _ = D("VueUiDonut");
939
+ function es(n, t, r, i, s, e) {
940
+ const m = x("BaseIcon"), f = x("VueUiXy"), w = x("VueUiDonut");
890
941
  return c(), u("div", {
891
942
  class: "vue-ui-table-main",
892
943
  style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
893
944
  }, [
894
- e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", re, [
945
+ e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", {
946
+ key: 0,
947
+ class: "vue-ui-table-export-hub",
948
+ style: g({ top: i.exportButtonTop + "px" })
949
+ }, [
895
950
  a("button", {
896
- onClick: t[0] || (t[0] = (l) => s.isExportRequest = !s.isExportRequest),
951
+ onClick: t[0] || (t[0] = (o) => s.isExportRequest = !s.isExportRequest),
897
952
  innerHTML: e.icons.export,
898
953
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
899
- }, null, 12, oe),
954
+ }, null, 12, ue),
900
955
  a("div", {
901
956
  class: "vue-ui-table-export-hub-dropdown",
902
957
  "data-is-open": s.isExportRequest || "false",
@@ -905,323 +960,356 @@ function Jt(n, t, r, i, s, e) {
905
960
  t[29] || (t[29] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
906
961
  a("button", {
907
962
  class: "close-dropdown",
908
- onClick: t[1] || (t[1] = (l) => s.isExportRequest = !1),
963
+ onClick: t[1] || (t[1] = (o) => s.isExportRequest = !1),
909
964
  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
965
  }, " ✖ ", 4),
911
- a("div", ae, [
912
- a("div", ie, [
913
- a("div", ce, h(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + h(s.bodyCopy.length) + ") ", 1),
966
+ a("div", de, [
967
+ a("div", ge, [
968
+ a("div", me, h(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + h(s.bodyCopy.length) + ") ", 1),
914
969
  a("button", {
915
970
  id: "exportAll",
916
- onClick: t[2] || (t[2] = (l) => e.createXls("all")),
971
+ onClick: t[2] || (t[2] = (o) => e.createXls("all")),
917
972
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
918
973
  }, [
919
974
  a("div", {
920
975
  innerHTML: e.icons.fileDownload
921
- }, null, 8, ue),
976
+ }, null, 8, ye),
922
977
  a("span", null, h(e.FINAL_CONFIG.translations.exportAllButton), 1)
923
978
  ], 4)
924
979
  ]),
925
- a("div", he, [
926
- a("div", de, h(e.FINAL_CONFIG.translations.exportPageLabel), 1),
980
+ a("div", be, [
981
+ a("div", fe, h(e.FINAL_CONFIG.translations.exportPageLabel), 1),
927
982
  a("button", {
928
983
  id: "exportPage",
929
- onClick: t[3] || (t[3] = (l) => e.createXls("page")),
984
+ onClick: t[3] || (t[3] = (o) => e.createXls("page")),
930
985
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
931
986
  }, [
932
987
  a("div", {
933
988
  innerHTML: e.icons.fileDownload
934
- }, null, 8, ge),
989
+ }, null, 8, Ne),
935
990
  a("span", null, h(e.FINAL_CONFIG.translations.exportPageButton), 1)
936
991
  ], 4)
937
992
  ]),
938
- a("div", me, [
939
- a("label", ye, [
940
- v(h(e.FINAL_CONFIG.translations.filename) + " ", 1),
993
+ a("div", Ce, [
994
+ a("label", pe, [
995
+ a("span", Ie, h(e.FINAL_CONFIG.translations.filename), 1),
941
996
  O(a("input", {
997
+ name: "filename",
942
998
  ref: "filenameInputRef",
943
- onKeydown: t[4] || (t[4] = S(L(() => {
999
+ onKeydown: t[4] || (t[4] = L(S(() => {
944
1000
  }, ["stop"]), ["space"])),
945
1001
  pattern: ".*",
946
1002
  class: "vue-ui-table-dialog-input",
947
1003
  type: "text",
948
- "onUpdate:modelValue": t[5] || (t[5] = (l) => s.filename = l)
1004
+ "onUpdate:modelValue": t[5] || (t[5] = (o) => s.filename = o)
949
1005
  }, null, 544), [
950
1006
  [A, s.filename]
951
1007
  ])
952
1008
  ]),
953
- a("button", {
1009
+ s.filename ? (c(), u("button", {
1010
+ key: 0,
954
1011
  class: "vue-ui-table-dialog-field-button",
955
- onClick: t[6] || (t[6] = (l) => s.filename = "")
1012
+ onClick: t[6] || (t[6] = (o) => s.filename = "")
956
1013
  }, [
957
- E(m, {
1014
+ P(m, {
958
1015
  name: "close",
959
1016
  stroke: e.FINAL_CONFIG.style.exportMenu.color,
960
1017
  size: 18
961
1018
  }, null, 8, ["stroke"])
962
- ])
1019
+ ])) : b("", !0)
963
1020
  ])
964
1021
  ])
965
- ], 12, le)
966
- ])) : b("", !0),
1022
+ ], 12, he)
1023
+ ], 4)) : b("", !0),
967
1024
  a("div", {
968
1025
  class: "vue-ui-table__wrapper",
969
1026
  style: g(`max-height:${e.FINAL_CONFIG.maxHeight}px`),
970
1027
  ref: "tableWrapper"
971
1028
  }, [
972
- a("table", be, [
1029
+ a("table", Fe, [
1030
+ e.FINAL_CONFIG.style.title.text ? (c(), u("caption", {
1031
+ key: 0,
1032
+ class: "vue-ui-table__caption",
1033
+ ref: "tableCaption",
1034
+ style: g({
1035
+ textAlign: e.FINAL_CONFIG.style.title.textAlign,
1036
+ paddingLeft: e.FINAL_CONFIG.style.title.paddingLeft + "px",
1037
+ paddingRight: e.FINAL_CONFIG.style.title.paddingRight + "px",
1038
+ backgroundColor: e.FINAL_CONFIG.style.title.backgroundColor,
1039
+ boxShadow: `${e.FINAL_CONFIG.style.title.backgroundColor} -1px 0px 0px 0px`
1040
+ })
1041
+ }, [
1042
+ a("span", {
1043
+ style: g({
1044
+ fontSize: e.FINAL_CONFIG.style.title.fontSize + "px",
1045
+ fontWeight: e.FINAL_CONFIG.style.title.bold ? "bold" : "normal",
1046
+ color: e.FINAL_CONFIG.style.title.color
1047
+ })
1048
+ }, h(e.FINAL_CONFIG.style.title.text), 5),
1049
+ e.FINAL_CONFIG.style.title.subtitle.text ? (c(), u(C, { key: 0 }, [
1050
+ t[30] || (t[30] = a("br", null, null, -1)),
1051
+ a("span", {
1052
+ style: g({
1053
+ fontSize: e.FINAL_CONFIG.style.title.subtitle.fontSize,
1054
+ fontWeight: e.FINAL_CONFIG.style.title.subtitle.bold ? "bold" : "normal",
1055
+ color: e.FINAL_CONFIG.style.title.subtitle.color
1056
+ })
1057
+ }, h(e.FINAL_CONFIG.style.title.subtitle.text), 5)
1058
+ ], 64)) : b("", !0)
1059
+ ], 4)) : b("", !0),
973
1060
  a("thead", {
974
1061
  id: "tableHead",
975
1062
  class: "vue-ui-table__head",
976
1063
  style: g({
977
1064
  background: e.FINAL_CONFIG.style.th.backgroundColor,
978
- boxShadow: `-1px 0 0 ${e.FINAL_CONFIG.style.th.backgroundColor}`
1065
+ boxShadow: `-1px 0 0 ${e.FINAL_CONFIG.style.th.backgroundColor}`,
1066
+ top: i.exportButtonTop - 3 + "px"
979
1067
  })
980
1068
  }, [
981
1069
  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}`,
1070
+ t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
1071
+ (c(!0), u(C, null, k(s.tableHead, (o, l) => (c(), u("th", {
1072
+ key: `thead_${l}`,
985
1073
  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] })
1074
+ class: p({ "th-has-nan": s.hasNaN[l] })
987
1075
  }, [
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))
1076
+ e.hasNumericTypes && ([s.constants.TEXT, s.constants.DATE].includes(o.type) || o.isPercentage) ? (c(), u("span", ve, [
1077
+ _(h(o.name) + " ", 1),
1078
+ o.isPercentage ? (c(), u("span", _e, " / " + h(o.percentageTo), 1)) : b("", !0)
1079
+ ])) : (c(), u("span", we, h(o.name), 1))
992
1080
  ], 6))), 128))
993
1081
  ]),
994
- e.hasNumericTypes ? (c(), u(F, { key: 0 }, [
1082
+ e.hasNumericTypes ? (c(), u(C, { key: 0 }, [
995
1083
  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] }),
1084
+ t[32] || (t[32] = a("th", { class: "invisible-cell" }, null, -1)),
1085
+ (c(!0), u(C, null, k(s.tableHead, (o, l) => (c(), u("th", {
1086
+ key: `thead_${l}`,
1087
+ class: p({ "th-numeric": !0, "th-has-nan": s.hasNaN[l] }),
1000
1088
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1001
1089
  }, [
1002
- l.sum && !s.hasNaN[o] ? (c(), u("span", Ce, [
1090
+ o.sum && !s.hasNaN[l] ? (c(), u("span", ke, [
1003
1091
  a("span", {
1004
1092
  innerHTML: e.icons.sum,
1005
1093
  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
1094
+ }, null, 8, Oe),
1095
+ _(" " + h(e.dataLabel({
1096
+ p: o.prefix,
1097
+ v: Number(e.getSum(l)),
1098
+ s: o.suffix,
1099
+ r: o.decimals
1012
1100
  })) + " ", 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,
1101
+ s.percentages[l] && o.percentageTo && !o.isPercentage ? (c(), u("span", Le, " (" + h(isNaN(e.getSum(l) / e.getSum(s.percentages[l].referenceIndex)) ? "-" : e.dataLabel({
1102
+ v: e.getSum(l) / e.getSum(s.percentages[l].referenceIndex) * 100,
1015
1103
  s: "%",
1016
- r: l.decimals
1104
+ r: o.decimals
1017
1105
  })) + ") ", 1)) : b("", !0)
1018
1106
  ])) : b("", !0)
1019
1107
  ], 6))), 128))
1020
1108
  ]),
1021
1109
  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] }),
1110
+ t[33] || (t[33] = a("th", { class: "invisible-cell" }, null, -1)),
1111
+ (c(!0), u(C, null, k(s.tableHead, (o, l) => (c(), u("th", {
1112
+ key: `thead_${l}`,
1113
+ class: p({ "th-numeric": !0, "th-has-nan": s.hasNaN[l] }),
1026
1114
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1027
1115
  }, [
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
1116
+ o.average && !s.hasNaN[l] ? (c(), u("span", Se, " ~ " + h(isNaN(e.getAverage(l)) ? "" : e.dataLabel({
1117
+ p: o.prefix,
1118
+ v: Number(e.getAverage(l)),
1119
+ s: o.suffix,
1120
+ r: o.decimals
1033
1121
  })), 1)) : b("", !0)
1034
1122
  ], 6))), 128))
1035
1123
  ]),
1036
1124
  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] }),
1125
+ t[36] || (t[36] = a("th", { class: "invisible-cell" }, null, -1)),
1126
+ (c(!0), u(C, null, k(s.tableHead, (o, l) => (c(), u("th", {
1127
+ key: `thead_${l}`,
1128
+ class: p({ "th-has-nan": s.hasNaN[l] }),
1041
1129
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1042
1130
  }, [
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, [
1131
+ a("div", Ae, [
1132
+ o.type === s.constants.DATE && s.dates[l] ? (c(), u("div", Me, [
1133
+ a("div", Ge, [
1134
+ a("div", xe, [
1047
1135
  a("label", {
1048
- for: `from_${o}`
1049
- }, h(e.FINAL_CONFIG.translations.from), 9, Se),
1136
+ for: `from_${l}`
1137
+ }, h(e.FINAL_CONFIG.translations.from), 9, De),
1050
1138
  O(a("input", {
1051
- id: `from_${o}`,
1139
+ id: `from_${l}`,
1052
1140
  type: "date",
1053
- "onUpdate:modelValue": (d) => s.dates[o].from = d,
1141
+ "onUpdate:modelValue": (d) => s.dates[l].from = d,
1054
1142
  onInput: (d) => {
1055
- e.filterBody(), e.setFilterDatesIndexes(o);
1143
+ e.filterBody(), e.setFilterDatesIndexes(l);
1056
1144
  },
1057
1145
  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]
1146
+ }, null, 44, Te), [
1147
+ [A, s.dates[l].from]
1060
1148
  ])
1061
1149
  ]),
1062
- a("div", Ae, [
1150
+ a("div", Be, [
1063
1151
  a("label", {
1064
- for: `to_${o}`
1065
- }, h(e.FINAL_CONFIG.translations.to), 9, Me),
1152
+ for: `to_${l}`
1153
+ }, h(e.FINAL_CONFIG.translations.to), 9, Ee),
1066
1154
  O(a("input", {
1067
- id: `to_${o}`,
1155
+ id: `to_${l}`,
1068
1156
  type: "date",
1069
- "onUpdate:modelValue": (d) => s.dates[o].to = d,
1157
+ "onUpdate:modelValue": (d) => s.dates[l].to = d,
1070
1158
  onInput: (d) => {
1071
- e.filterBody(), e.setFilterDatesIndexes(o);
1159
+ e.filterBody(), e.setFilterDatesIndexes(l);
1072
1160
  },
1073
1161
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1074
- }, null, 44, De), [
1075
- [A, s.dates[o].to]
1162
+ }, null, 44, Pe), [
1163
+ [A, s.dates[l].to]
1076
1164
  ])
1077
1165
  ])
1078
1166
  ]),
1079
- a("div", Ge, [
1080
- l.isSort ? (c(), u("button", {
1167
+ a("div", He, [
1168
+ o.isSort ? (c(), u("button", {
1081
1169
  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}`)
1170
+ onClick: (d) => e.sortTh(l, d),
1171
+ class: p({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) }),
1172
+ style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.color}`)
1085
1173
  }, [
1086
- s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1174
+ s.sorts[l] === s.constants.ASC ? (c(), u("span", {
1087
1175
  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", {
1176
+ innerHTML: [s.constants.DATE].includes(o.type) ? e.icons.sort09 : e.icons.sortAZ
1177
+ }, null, 8, ze)) : s.sorts[l] === s.constants.DESC ? (c(), u("span", {
1090
1178
  key: 1,
1091
- innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort90 : e.icons.sortZA
1092
- }, null, 8, Ee)) : (c(), u("span", {
1179
+ innerHTML: [s.constants.DATE].includes(o.type) ? e.icons.sort90 : e.icons.sortZA
1180
+ }, null, 8, Ue)) : (c(), u("span", {
1093
1181
  key: 2,
1094
1182
  innerHTML: e.icons.arrowSort
1095
- }, null, 8, Pe))
1096
- ], 14, Te)) : b("", !0),
1183
+ }, null, 8, Ve))
1184
+ ], 14, Re)) : b("", !0),
1097
1185
  a("button", {
1098
1186
  onClick: (d) => {
1099
- e.resetDates(o), e.resetFilter(o, l, d);
1187
+ e.resetDates(l), e.resetFilter(l, o, d);
1100
1188
  },
1101
- disabled: !s.filteredDatesIndexes[o] && e.isResetDisabled(o, l),
1189
+ disabled: !s.filteredDatesIndexes[l] && e.isResetDisabled(l, o),
1102
1190
  class: "th-reset"
1103
- }, " ✖ ", 8, He)
1191
+ }, " ✖ ", 8, Xe)
1104
1192
  ])
1105
1193
  ])) : b("", !0),
1106
- l.isSearch ? O((c(), u("input", {
1194
+ o.isSearch ? O((c(), u("input", {
1107
1195
  key: 1,
1108
1196
  placeholder: e.FINAL_CONFIG.translations.inputPlaceholder,
1109
- "onUpdate:modelValue": (d) => s.searches[o] = d,
1197
+ "onUpdate:modelValue": (d) => s.searches[l] = d,
1110
1198
  onInput: t[7] || (t[7] = (d) => e.debounce(e.filterBody, 400)),
1111
- name: `search_${o}`,
1199
+ name: `search_${l}`,
1112
1200
  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]]
1201
+ }, null, 44, je)), [
1202
+ [A, s.searches[l]]
1115
1203
  ]) : b("", !0),
1116
- !s.hasNaN[o] && l.isSort && l.type !== s.constants.DATE ? (c(), u("button", {
1204
+ !s.hasNaN[l] && o.isSort && o.type !== s.constants.DATE ? (c(), u("button", {
1117
1205
  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}`)
1206
+ onClick: (d) => e.sortTh(l, d),
1207
+ class: p({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) }),
1208
+ style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[l]) ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.color}`)
1121
1209
  }, [
1122
- s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1210
+ s.sorts[l] === s.constants.ASC ? (c(), u("span", {
1123
1211
  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", {
1212
+ innerHTML: [s.constants.NUMERIC].includes(o.type) ? e.icons.sort09 : e.icons.sortZA
1213
+ }, null, 8, We)) : s.sorts[l] === s.constants.DESC ? (c(), u("span", {
1126
1214
  key: 1,
1127
- innerHTML: [s.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
1128
- }, null, 8, Ue)) : (c(), u("span", {
1215
+ innerHTML: [s.constants.NUMERIC].includes(o.type) ? e.icons.sort90 : e.icons.sortAZ
1216
+ }, null, 8, Je)) : (c(), u("span", {
1129
1217
  key: 2,
1130
1218
  innerHTML: e.icons.arrowSort
1131
- }, null, 8, Ve))
1132
- ], 14, Re)) : b("", !0),
1133
- l.isMultiselect ? (c(), u("button", {
1219
+ }, null, 8, Ke))
1220
+ ], 14, Ye)) : b("", !0),
1221
+ o.isMultiselect ? (c(), u("button", {
1134
1222
  key: 3,
1135
- onClick: (d) => e.toggleMultiselect(o, l, d),
1223
+ onClick: (d) => e.toggleMultiselect(l, o, d),
1136
1224
  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", {
1225
+ class: p({ "th-button-active": s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length }),
1226
+ style: g(`background:${s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.backgroundColor};color:${s.multiselects[l] && s.multiselects[l].length !== e.getDropdownOptions(l).length ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.color}`)
1227
+ }, null, 14, Ze)) : b("", !0),
1228
+ s.currentSelectionSpan.col === l && e.canChart ? (c(), u("button", {
1141
1229
  key: 4,
1142
1230
  onClick: t[8] || (t[8] = (d) => s.showChart = !s.showChart),
1143
1231
  innerHTML: e.icons.chart,
1144
- class: N({ "th-button-active": s.showChart }),
1145
- 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, [
1232
+ class: p({ "th-button-active": s.showChart }),
1233
+ style: g(`background:${s.showChart ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.backgroundColor};color:${s.showChart ? "" : e.FINAL_CONFIG.style.th.buttons.filter.inactive.color}`)
1234
+ }, null, 14, qe)) : b("", !0),
1235
+ o.rangeFilter && s.rangeFilters[l] && !s.hasNaN[l] ? (c(), u("div", Qe, [
1148
1236
  a("label", {
1149
- for: `rangeMin${o}`
1150
- }, [...t[33] || (t[33] = [
1237
+ for: `rangeMin${l}`
1238
+ }, [...t[34] || (t[34] = [
1151
1239
  a("span", { style: { color: "grey" } }, "ᒥ", -1),
1152
- v(" min ", -1),
1240
+ _(" min ", -1),
1153
1241
  a("span", { style: { color: "grey" } }, "ᒣ", -1)
1154
- ])], 8, We),
1242
+ ])], 8, $e),
1155
1243
  O(a("input", {
1156
1244
  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,
1245
+ id: `rangeMin${l}`,
1246
+ max: s.immutableRangeFilters[l].max,
1247
+ min: s.immutableRangeFilters[l].min,
1248
+ "onUpdate:modelValue": (d) => s.rangeFilters[l].min = d,
1161
1249
  onInput: t[9] || (t[9] = (d) => e.debounce(e.filterBody, 400)),
1162
1250
  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), [
1251
+ }, null, 44, et), [
1164
1252
  [
1165
1253
  A,
1166
- s.rangeFilters[o].min,
1254
+ s.rangeFilters[l].min,
1167
1255
  void 0,
1168
1256
  { number: !0 }
1169
1257
  ]
1170
1258
  ]),
1171
1259
  O(a("input", {
1172
1260
  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,
1261
+ id: `rangeMax${l}`,
1262
+ max: s.immutableRangeFilters[l].max,
1263
+ min: s.immutableRangeFilters[l].min,
1264
+ "onUpdate:modelValue": (d) => s.rangeFilters[l].max = d,
1177
1265
  onInput: t[10] || (t[10] = (d) => e.debounce(e.filterBody, 400)),
1178
1266
  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), [
1267
+ }, null, 44, tt), [
1180
1268
  [
1181
1269
  A,
1182
- s.rangeFilters[o].max,
1270
+ s.rangeFilters[l].max,
1183
1271
  void 0,
1184
1272
  { number: !0 }
1185
1273
  ]
1186
1274
  ]),
1187
1275
  a("label", {
1188
- for: `rangeMax${o}`
1189
- }, [...t[34] || (t[34] = [
1276
+ for: `rangeMax${l}`
1277
+ }, [...t[35] || (t[35] = [
1190
1278
  a("span", { style: { color: "grey" } }, "ᒪ", -1),
1191
- v(" max ", -1),
1279
+ _(" max ", -1),
1192
1280
  a("span", { style: { color: "grey" } }, "ᒧ", -1)
1193
- ])], 8, Ze)
1281
+ ])], 8, st)
1194
1282
  ])) : b("", !0),
1195
- e.canResetColumn(o, l) ? (c(), u("button", {
1283
+ e.canResetColumn(l, o) ? (c(), u("button", {
1196
1284
  key: 6,
1197
- onClick: (d) => e.resetFilter(o, l, d),
1198
- disabled: e.isResetDisabled(o, l),
1285
+ onClick: (d) => e.resetFilter(l, o, d),
1286
+ disabled: e.isResetDisabled(l, o),
1199
1287
  class: "th-reset"
1200
- }, " ✖ ", 8, qe)) : b("", !0),
1201
- l.isMultiselect ? (c(), u("div", {
1288
+ }, " ✖ ", 8, nt)) : b("", !0),
1289
+ o.isMultiselect ? (c(), u("div", {
1202
1290
  key: 7,
1203
1291
  class: "th-dropdown",
1204
1292
  "data-is-open": "false",
1205
- id: `th_dropdown_${o}`,
1293
+ id: `th_dropdown_${l}`,
1206
1294
  style: g(`background:${e.FINAL_CONFIG.style.dropdowns.backgroundColor};color:${e.FINAL_CONFIG.style.dropdowns.color}`)
1207
1295
  }, [
1208
1296
  a("button", {
1209
1297
  class: "close-dropdown",
1210
- onClick: (d) => e.toggleMultiselect(o, l, d),
1298
+ onClick: (d) => e.toggleMultiselect(l, o, d),
1211
1299
  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", {
1300
+ }, " ✖ ", 12, lt),
1301
+ (c(!0), u(C, null, k(e.getDropdownOptions(l), (d, y) => (c(), u("span", {
1214
1302
  class: "th-option",
1215
- key: `th_option_${o}_${y}`,
1216
- onClick: (C) => e.selectDropdownOption(d, o),
1303
+ key: `th_option_${l}_${y}`,
1304
+ onClick: (I) => e.selectDropdownOption(d, l),
1217
1305
  onKeyup: [
1218
- S((C) => e.selectDropdownOption(d, o), ["enter"]),
1219
- S((C) => e.selectDropdownOption(d, o), ["space"])
1306
+ L((I) => e.selectDropdownOption(d, l), ["enter"]),
1307
+ L((I) => e.selectDropdownOption(d, l), ["space"])
1220
1308
  ],
1221
- style: g(`opacity:${e.isDropdownOptionSelected(d, o) ? 1 : 0.5}`),
1309
+ style: g(`opacity:${e.isDropdownOptionSelected(d, l) ? 1 : 0.5}`),
1222
1310
  tabindex: "0"
1223
1311
  }, [
1224
- e.isDropdownOptionSelected(d, o) ? (c(), u("span", {
1312
+ e.isDropdownOptionSelected(d, l) ? (c(), u("span", {
1225
1313
  key: 0,
1226
1314
  style: g(`color:${e.FINAL_CONFIG.style.dropdowns.icons.selected.color};margin-right:5px`),
1227
1315
  class: "th-icon-green"
@@ -1231,87 +1319,90 @@ function Jt(n, t, r, i, s, e) {
1231
1319
  class: "th-icon-red"
1232
1320
  }, h(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1233
1321
  a("span", null, h(d), 1)
1234
- ], 44, et))), 128))
1235
- ], 12, Qe)) : b("", !0)
1322
+ ], 44, ot))), 128))
1323
+ ], 12, rt)) : b("", !0)
1236
1324
  ])
1237
1325
  ], 6))), 128))
1238
1326
  ])
1239
1327
  ], 64)) : b("", !0),
1240
1328
  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}`)
1329
+ t[37] || (t[37] = a("th", { class: "invisible-cell" }, null, -1)),
1330
+ (c(!0), u(C, null, k(s.tableHead, (o, l) => (c(), u("th", {
1331
+ key: `col_selector_${l}`,
1332
+ class: p({ "vue-ui-table-col-selector": !s.hasNaN[l], "th-has-nan": s.hasNaN[l] }),
1333
+ 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
1334
  }, [
1247
- s.hasNaN[o] ? b("", !0) : (c(), u("div", {
1335
+ s.hasNaN[l] ? b("", !0) : (c(), u("div", {
1248
1336
  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 }),
1337
+ innerHTML: s.tableHead[l].type === s.constants.NUMERIC ? e.icons.chevronDown : "",
1338
+ class: p({ "col-selector": s.tableHead[l].type === s.constants.NUMERIC }),
1251
1339
  tabindex: "0",
1252
- onClick: L((d) => e.selectColumn(o), ["stop"]),
1253
- onKeyup: S((d) => e.selectColumn(o), ["enter"])
1254
- }, null, 42, tt))
1340
+ onClick: S((d) => e.selectColumn(l), ["stop"]),
1341
+ onKeyup: L((d) => e.selectColumn(l), ["enter"])
1342
+ }, null, 42, at))
1255
1343
  ], 6))), 128))
1256
1344
  ])
1257
1345
  ], 4),
1258
1346
  a("tbody", {
1259
- onClick: t[11] || (t[11] = (...l) => e.closeAllDropdowns && e.closeAllDropdowns(...l)),
1260
- onKeydown: t[12] || (t[12] = (l) => e.navigateCell(l))
1347
+ onClick: t[11] || (t[11] = (...o) => e.closeAllDropdowns && e.closeAllDropdowns(...o)),
1348
+ onKeydown: t[12] || (t[12] = (o) => e.navigateCell(o))
1261
1349
  }, [
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}`}`)
1350
+ (c(!0), u(C, null, k(e.visibleRows, (o, l) => (c(), u("tr", {
1351
+ key: `tbody_${l}`,
1352
+ "data-row": l % 2 === 0 ? "odd" : "even",
1353
+ class: p(`tr_${s.uid}`),
1354
+ 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
1355
  }, [
1268
1356
  a("td", {
1269
1357
  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}`,
1275
- 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({
1358
+ "data-row": l % 2 === 0 ? "odd" : "even",
1359
+ style: g({
1360
+ outline: e.FINAL_CONFIG.style.rows.outline
1361
+ })
1362
+ }, h(o.absoluteIndex + 1), 13, ct),
1363
+ (c(!0), u(C, null, k(o.td, (d, y) => (c(), u("td", {
1364
+ "data-row": l % 2 === 0 ? "odd" : "even",
1365
+ key: `td_${l}_${y}`,
1366
+ style: g(e.isNumeric(d) || r.dataset.header[y].type === s.constants.DATE ? `text-align:right;font-variant-numeric: tabular-nums;outline:${e.FINAL_CONFIG.style.rows.outline}` : `outline:${e.FINAL_CONFIG.style.rows.outline}`),
1367
+ onClick: (I) => e.selectTd({
1277
1368
  td: d,
1278
- rowIndex: o,
1369
+ rowIndex: l,
1279
1370
  colIndex: y,
1280
1371
  headerType: r.dataset.header[y].type,
1281
- event: C
1372
+ event: I
1282
1373
  }),
1283
1374
  onKeyup: [
1284
- S((C) => e.selectTd({
1375
+ L((I) => e.selectTd({
1285
1376
  td: d,
1286
- rowIndex: o,
1377
+ rowIndex: l,
1287
1378
  colIndex: y,
1288
1379
  headerType: r.dataset.header[y].type,
1289
- event: C
1380
+ event: I
1290
1381
  }), ["enter"]),
1291
- S((C) => e.selectTd({
1382
+ L((I) => e.selectTd({
1292
1383
  td: d,
1293
- rowIndex: o,
1384
+ rowIndex: l,
1294
1385
  colIndex: y,
1295
1386
  headerType: r.dataset.header[y].type,
1296
- event: C
1387
+ event: I
1297
1388
  }), ["space"])
1298
1389
  ],
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}`,
1390
+ class: p({ "td-numeric": r.dataset.header[y].type === s.constants.NUMERIC, "td-focusable": !0, "td-has-nan": s.hasNaN[y] }),
1391
+ id: `cell_${l}_${y}_${s.uid}`,
1301
1392
  tabindex: "0"
1302
1393
  }, [
1303
- l.meta && l.meta.markerIndices.includes(y) && l.meta.unicodeIcon ? (c(), u("span", {
1394
+ o.meta && o.meta.markerIndices.includes(y) && o.meta.unicodeIcon ? (c(), u("span", {
1304
1395
  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({
1396
+ style: g(`color:${o.meta.color};margin-right:3px`),
1397
+ innerHTML: o.meta.unicodeIcon
1398
+ }, null, 12, ht)) : b("", !0),
1399
+ r.dataset.header[y].type === s.constants.DATE ? (c(), u("span", dt, 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", gt, h(e.dataLabel({
1309
1400
  v: Number(d * 100),
1310
1401
  s: "%",
1311
1402
  r: r.dataset.header[y].decimals
1312
1403
  })), 1)) : s.percentages[y] && r.dataset.header[y].percentageTo && !r.dataset.header[y].isPercentage ? (c(), u("span", {
1313
1404
  key: 3,
1314
- class: N({ "td-nan": isNaN(Number(d)) })
1405
+ class: p({ "td-nan": isNaN(Number(d)) })
1315
1406
  }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1316
1407
  p: r.dataset.header[y].prefix,
1317
1408
  v: Number(d),
@@ -1323,107 +1414,107 @@ function Jt(n, t, r, i, s, e) {
1323
1414
  r: r.dataset.header[y].decimals
1324
1415
  })) + ") ", 3)) : r.dataset.header[y].type === s.constants.NUMERIC ? (c(), u("span", {
1325
1416
  key: 4,
1326
- class: N({ "td-nan": isNaN(Number(d)) })
1417
+ class: p({ "td-nan": isNaN(Number(d)) })
1327
1418
  }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1328
1419
  p: r.dataset.header[y].prefix,
1329
1420
  v: Number(d.toFixed(r.dataset.header[y].decimals)),
1330
1421
  s: r.dataset.header[y].suffix,
1331
1422
  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))
1423
+ })), 3)) : (c(), u("span", mt, h(r.dataset.header[y].prefix) + " " + h(d) + " " + h(r.dataset.header[y].suffix), 1))
1424
+ ], 46, ut))), 128))
1425
+ ], 14, it))), 128))
1335
1426
  ], 32)
1336
1427
  ])
1337
1428
  ], 4),
1338
1429
  a("div", {
1339
- class: N({ "td-selector-info": !0, "td-selector-info--active": s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length }),
1430
+ class: p({ "td-selector-info": !0, "td-selector-info--active": s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length }),
1340
1431
  style: g(`background:${e.FINAL_CONFIG.style.infoBar.backgroundColor};color:${e.FINAL_CONFIG.style.infoBar.color}`)
1341
1432
  }, [
1342
- s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length ? (c(), u(F, { key: 0 }, [
1433
+ s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length ? (c(), u(C, { key: 0 }, [
1343
1434
  a("div", {
1344
1435
  innerHTML: e.icons.table,
1345
1436
  class: "td-selector-icon"
1346
- }, null, 8, ct),
1437
+ }, null, 8, yt),
1347
1438
  a("span", null, [
1348
1439
  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)
1440
+ _(h(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1441
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("span", bt, " / " + h(r.dataset.header[s.percentages[s.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1351
1442
  ]),
1352
- a("span", ht, [
1353
- v(h(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1354
- a("b", dt, h(s.currentSelectionSpan.rows.length), 1)
1443
+ a("span", ft, [
1444
+ _(h(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1445
+ a("b", Nt, h(s.currentSelectionSpan.rows.length), 1)
1355
1446
  ]),
1356
- 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)
1447
+ a("span", Ct, [
1448
+ _(h(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1449
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", pt, h(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", It, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.sumRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1450
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ft, "%")) : b("", !0)
1360
1451
  ]),
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)
1452
+ a("span", vt, [
1453
+ _(h(e.FINAL_CONFIG.translations.average) + " : ", 1),
1454
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", _t, h(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", wt, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.averageRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1455
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", kt, "%")) : b("", !0)
1365
1456
  ])
1366
1457
  ]),
1367
1458
  a("button", {
1368
- onClick: t[13] || (t[13] = (...l) => e.resetSelection && e.resetSelection(...l)),
1459
+ onClick: t[13] || (t[13] = (...o) => e.resetSelection && e.resetSelection(...o)),
1369
1460
  class: "td-selector-info-reset",
1370
1461
  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
1462
  }, " ✖ ", 4)
1372
1463
  ], 64)) : b("", !0)
1373
1464
  ], 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),
1465
+ s.bodyCopy.length > 10 ? (c(), u("div", Ot, [
1466
+ _(h(e.FINAL_CONFIG.translations.totalRows) + " : " + h(r.dataset.body.length) + " | " + h(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1376
1467
  s.bodyCopy.length > 10 ? O((c(), u("select", {
1377
1468
  key: 0,
1378
1469
  id: "paginatorSelector",
1379
- "onUpdate:modelValue": t[14] || (t[14] = (l) => s.itemsPerPage = l),
1380
- onChange: t[15] || (t[15] = (l) => {
1470
+ "onUpdate:modelValue": t[14] || (t[14] = (o) => s.itemsPerPage = o),
1471
+ onChange: t[15] || (t[15] = (o) => {
1381
1472
  e.resetSelection(), e.onPageChange();
1382
1473
  }),
1383
1474
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1384
1475
  }, [
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)
1476
+ (c(!0), u(C, null, k(s.paginatorOptions, (o, l) => (c(), u(C, null, [
1477
+ s.bodyCopy.length > o || r.dataset.body.length === o ? (c(), u("option", {
1478
+ key: `paginator_option_${l}`
1479
+ }, h(o), 1)) : b("", !0)
1389
1480
  ], 64))), 256))
1390
1481
  ], 36)), [
1391
1482
  [
1392
- P,
1483
+ H,
1393
1484
  s.itemsPerPage,
1394
1485
  void 0,
1395
1486
  { number: !0 }
1396
1487
  ]
1397
1488
  ]) : b("", !0)
1398
1489
  ])) : b("", !0),
1399
- s.itemsPerPage >= 250 ? (c(), u("div", Ft, [
1490
+ s.itemsPerPage >= 250 ? (c(), u("div", Lt, [
1400
1491
  a("span", {
1401
1492
  innerHTML: e.icons.warning
1402
- }, null, 8, vt),
1403
- v(h(e.FINAL_CONFIG.translations.sizeWarning), 1)
1493
+ }, null, 8, St),
1494
+ _(h(e.FINAL_CONFIG.translations.sizeWarning), 1)
1404
1495
  ])) : b("", !0),
1405
1496
  e.pages.length > 1 && e.pages.length <= 10 ? (c(), u("div", {
1406
1497
  key: 3,
1407
1498
  class: "vue-ui-table-navigation-indicator",
1408
1499
  style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${s.currentPage / (e.pages.length - 1) * 100}%)`)
1409
1500
  }, null, 4)) : b("", !0),
1410
- e.pages.length > 1 ? (c(), u("div", wt, [
1501
+ e.pages.length > 1 ? (c(), u("div", At, [
1411
1502
  a("button", {
1412
1503
  class: "vue-ui-table-navigation",
1413
- onClick: t[16] || (t[16] = L((l) => e.navigate("previous"), ["stop"])),
1504
+ onClick: t[16] || (t[16] = S((o) => e.navigate("previous"), ["stop"])),
1414
1505
  innerHTML: e.icons.chevronLeft,
1415
1506
  disabled: s.currentPage === 0,
1416
1507
  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 }, [
1508
+ }, null, 12, Mt),
1509
+ e.pages.length > 3 ? (c(), u(C, { key: 0 }, [
1419
1510
  a("button", {
1420
1511
  class: "vue-ui-table-navigation",
1421
- onClick: t[17] || (t[17] = L((l) => e.navigate(1), ["stop"])),
1512
+ onClick: t[17] || (t[17] = S((o) => e.navigate(1), ["stop"])),
1422
1513
  disabled: s.currentPage === 0,
1423
1514
  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),
1515
+ }, " 1 ", 12, Gt),
1516
+ e.pages.length > 10 ? (c(), u("div", xt, [
1517
+ a("label", Dt, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
1427
1518
  a("input", {
1428
1519
  class: "vue-ui-table-page-scroller",
1429
1520
  id: "pageScroller",
@@ -1431,27 +1522,27 @@ function Jt(n, t, r, i, s, e) {
1431
1522
  step: "1",
1432
1523
  min: 0,
1433
1524
  max: e.pages.length - 1,
1434
- onInput: t[18] || (t[18] = (l) => e.updateCurrentPage(l)),
1525
+ onInput: t[18] || (t[18] = (o) => e.updateCurrentPage(o)),
1435
1526
  value: s.currentPage,
1436
1527
  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)),
1528
+ }, null, 44, Tt)
1529
+ ])) : (c(), u("span", Bt, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)),
1439
1530
  a("button", {
1440
1531
  class: "vue-ui-table-navigation",
1441
- onClick: t[19] || (t[19] = L((l) => e.navigate(e.pages.length), ["stop"])),
1532
+ onClick: t[19] || (t[19] = S((o) => e.navigate(e.pages.length), ["stop"])),
1442
1533
  disabled: s.currentPage === e.pages.length - 1,
1443
1534
  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)
1535
+ }, h(e.pages.length), 13, Et)
1536
+ ], 64)) : (c(), u(C, { key: 1 }, [
1537
+ _(h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)
1447
1538
  ], 64)),
1448
1539
  a("button", {
1449
1540
  class: "vue-ui-table-navigation",
1450
- onClick: t[20] || (t[20] = L((l) => e.navigate("next"), ["stop"])),
1541
+ onClick: t[20] || (t[20] = S((o) => e.navigate("next"), ["stop"])),
1451
1542
  innerHTML: e.icons.chevronRight,
1452
1543
  disabled: s.currentPage === e.pages.length - 1,
1453
1544
  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}`)
1454
- }, null, 12, Dt)
1545
+ }, null, 12, Pt)
1455
1546
  ])) : b("", !0),
1456
1547
  s.showChart && e.canChart ? (c(), u("div", {
1457
1548
  key: 5,
@@ -1460,103 +1551,103 @@ function Jt(n, t, r, i, s, e) {
1460
1551
  }, [
1461
1552
  a("div", {
1462
1553
  class: "modal-drag-handle",
1463
- onMousedown: t[22] || (t[22] = (...l) => e.dragMouseDown && e.dragMouseDown(...l))
1554
+ onMousedown: t[22] || (t[22] = (...o) => e.dragMouseDown && e.dragMouseDown(...o))
1464
1555
  }, [
1465
1556
  a("span", {
1466
1557
  innerHTML: e.icons.grip
1467
- }, null, 8, Gt),
1558
+ }, null, 8, Ht),
1468
1559
  a("button", {
1469
1560
  class: "close-chart-modal",
1470
- onClick: t[21] || (t[21] = (l) => s.showChart = !1)
1561
+ onClick: t[21] || (t[21] = (o) => s.showChart = !1)
1471
1562
  }, "✖")
1472
1563
  ], 32),
1473
1564
  a("button", {
1474
1565
  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
1566
  class: "close-chart-modal",
1476
- onClick: t[23] || (t[23] = (l) => s.showChart = !1)
1567
+ onClick: t[23] || (t[23] = (o) => s.showChart = !1)
1477
1568
  }, " ✖ ", 4),
1478
- a("div", Tt, [
1569
+ a("div", Rt, [
1479
1570
  e.availableDonutCategories.length ? (c(), u("button", {
1480
1571
  key: 0,
1481
- onClick: t[24] || (t[24] = (l) => s.showDonutOptions = !0),
1572
+ onClick: t[24] || (t[24] = (o) => s.showDonutOptions = !0),
1482
1573
  innerHTML: e.icons.donut,
1483
- class: N({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1574
+ class: p({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1484
1575
  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),
1576
+ }, null, 14, zt)) : b("", !0),
1486
1577
  a("button", {
1487
- onClick: t[25] || (t[25] = (l) => {
1578
+ onClick: t[25] || (t[25] = (o) => {
1488
1579
  s.chart.type = s.constants.LINE, s.showDonutOptions = !1;
1489
1580
  }),
1490
1581
  innerHTML: e.icons.chart,
1491
- class: N({ "is-active-chart": s.chart.type === s.constants.LINE && !s.showDonutOptions }),
1582
+ class: p({ "is-active-chart": s.chart.type === s.constants.LINE && !s.showDonutOptions }),
1492
1583
  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),
1584
+ }, null, 14, Ut),
1494
1585
  a("button", {
1495
- onClick: t[26] || (t[26] = (l) => {
1586
+ onClick: t[26] || (t[26] = (o) => {
1496
1587
  s.chart.type = s.constants.BAR, s.showDonutOptions = !1;
1497
1588
  }),
1498
1589
  innerHTML: e.icons.bar,
1499
- class: N({ "is-active-chart": s.chart.type === s.constants.BAR && !s.showDonutOptions }),
1590
+ class: p({ "is-active-chart": s.chart.type === s.constants.BAR && !s.showDonutOptions }),
1500
1591
  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)
1592
+ }, null, 14, Vt)
1502
1593
  ]),
1503
- a("div", Ht, [
1594
+ a("div", Xt, [
1504
1595
  s.showDonutOptions && e.availableDonutCategories.length ? (c(), u("div", {
1505
1596
  key: 0,
1506
1597
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1507
1598
  }, [
1508
- a("fieldset", Bt, [
1599
+ a("fieldset", jt, [
1509
1600
  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}`,
1601
+ a("div", Yt, [
1602
+ (c(!0), u(C, null, k(e.availableDonutCategories, (o, l) => (c(), u("div", {
1603
+ key: `donut_radio_${l}`,
1513
1604
  class: "vue-ui-table-fieldset-option"
1514
1605
  }, [
1515
1606
  a("input", {
1516
1607
  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],
1608
+ name: o.name,
1609
+ id: o.name,
1610
+ checked: s.selectedDonutCategory && o.name === s.selectedDonutCategory.name,
1611
+ onInput: (d) => s.selectedDonutCategory = e.availableDonutCategories[l],
1521
1612
  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),
1613
+ }, null, 44, Wt),
1523
1614
  a("label", {
1524
- for: l.name
1525
- }, h(l.name), 9, Ut)
1615
+ for: o.name
1616
+ }, h(o.name), 9, Jt)
1526
1617
  ]))), 128))
1527
1618
  ]),
1528
1619
  a("button", {
1529
1620
  class: "vue-ui-table-generate-donut",
1530
1621
  disabled: !s.selectedDonutCategory,
1531
- onClick: t[27] || (t[27] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1622
+ onClick: t[27] || (t[27] = (...o) => e.applyDonutOption && e.applyDonutOption(...o)),
1532
1623
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.color}`)
1533
1624
  }, [
1534
1625
  a("div", {
1535
1626
  style: { "margin-bottom": "-3px" },
1536
1627
  innerHTML: e.icons.donut
1537
- }, null, 8, Xt),
1538
- v(" " + h(e.FINAL_CONFIG.translations.makeDonut), 1)
1539
- ], 12, Vt)
1628
+ }, null, 8, Zt),
1629
+ _(" " + h(e.FINAL_CONFIG.translations.makeDonut), 1)
1630
+ ], 12, Kt)
1540
1631
  ])
1541
1632
  ], 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),
1633
+ [s.constants.BAR, s.constants.LINE].includes(s.chart.type) && !s.showDonutOptions ? (c(), u(C, { key: 1 }, [
1634
+ e.chartTimeLabelOptions.length > 1 ? (c(), u("label", qt, [
1635
+ _(h(e.FINAL_CONFIG.translations.xAxisLabels) + " ", 1),
1545
1636
  O(a("select", {
1546
- "onUpdate:modelValue": t[28] || (t[28] = (l) => s.chartTimeLabelSourceModel = l)
1637
+ "onUpdate:modelValue": t[28] || (t[28] = (o) => s.chartTimeLabelSourceModel = o)
1547
1638
  }, [
1548
- (c(!0), u(F, null, k(e.chartTimeLabelOptions, (l) => (c(), u("option", null, h(l), 1))), 256))
1639
+ (c(!0), u(C, null, k(e.chartTimeLabelOptions, (o) => (c(), u("option", null, h(o), 1))), 256))
1549
1640
  ], 512), [
1550
- [P, s.chartTimeLabelSourceModel]
1641
+ [H, s.chartTimeLabelSourceModel]
1551
1642
  ])
1552
1643
  ])) : b("", !0),
1553
- a("div", Yt, [
1554
- s.chart.type === s.constants.LINE ? (c(), H(f, {
1644
+ a("div", Qt, [
1645
+ s.chart.type === s.constants.LINE ? (c(), R(f, {
1555
1646
  key: `chart_line_${s.chartStep}`,
1556
1647
  dataset: e.chartData.xyDatasetLine,
1557
1648
  config: e.chartData.xyConfig
1558
1649
  }, null, 8, ["dataset", "config"])) : b("", !0),
1559
- s.chart.type === s.constants.BAR ? (c(), H(f, {
1650
+ s.chart.type === s.constants.BAR ? (c(), R(f, {
1560
1651
  key: `chart_bar_${s.chartStep}`,
1561
1652
  dataset: e.chartData.xyDatasetBar,
1562
1653
  config: e.chartData.xyConfig
@@ -1567,16 +1658,16 @@ function Jt(n, t, r, i, s, e) {
1567
1658
  class: "chart-trend",
1568
1659
  style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1569
1660
  }, [
1570
- t[37] || (t[37] = a("span", null, "---", -1)),
1571
- v(" Trend: " + h(e.dataLabel({
1661
+ t[38] || (t[38] = a("span", null, "---", -1)),
1662
+ _(" Trend: " + h(e.dataLabel({
1572
1663
  v: e.chartData.progression.trend * 100,
1573
1664
  s: "%",
1574
1665
  r: 1
1575
1666
  })), 1)
1576
1667
  ], 4)) : b("", !0)
1577
1668
  ], 64)) : b("", !0),
1578
- [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Wt, [
1579
- E(_, {
1669
+ [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", $t, [
1670
+ P(w, {
1580
1671
  dataset: s.currentDonut,
1581
1672
  config: e.chartData.donutConfig
1582
1673
  }, null, 8, ["dataset", "config"])
@@ -1585,7 +1676,7 @@ function Jt(n, t, r, i, s, e) {
1585
1676
  ], 4)) : b("", !0)
1586
1677
  ], 4);
1587
1678
  }
1588
- const ns = /* @__PURE__ */ se(ne, [["render", Jt], ["__scopeId", "data-v-baef4664"]]);
1679
+ const cs = /* @__PURE__ */ ce(D, [["render", es], ["__scopeId", "data-v-021d6785"]]);
1589
1680
  export {
1590
- ns as default
1681
+ cs as default
1591
1682
  };