vue-data-ui 3.1.7 → 3.1.9

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 (92) hide show
  1. package/dist/{Arrow-BZ8rnWYn.js → Arrow-Bd2Nv1JR.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bdva4JFr.js → BaseDraggableDialog-DnDgu3fu.js} +2 -2
  3. package/dist/{BaseIcon-BCS8aIf4.js → BaseIcon-ClWpJKO3.js} +1 -1
  4. package/dist/{ColorPicker-DF6PDOhr.js → ColorPicker-CGqCY0f7.js} +2 -2
  5. package/dist/{DataTable-Ddu14t59.js → DataTable-BeFHXTQb.js} +2 -2
  6. package/dist/{Legend-C3I0iaLM.js → Legend-D_ryPoDQ.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-LSG0MLRC.js → NonSvgPenAndPaper-C0fUFsd1.js} +3 -3
  8. package/dist/{PackageVersion-CtYY8jBZ.js → PackageVersion-nvqupdcz.js} +1 -1
  9. package/dist/{PenAndPaper-DtlEAsLw.js → PenAndPaper-CdK_W5h2.js} +3 -3
  10. package/dist/{Shape-B8Cdu8s1.js → Shape-g1_KwK3i.js} +1 -1
  11. package/dist/Slicer-BbsnAAIT.js +972 -0
  12. package/dist/{SparkTooltip-qMi3IzXb.js → SparkTooltip-BJY8zi7K.js} +1 -1
  13. package/dist/{Title-BUVvr0U8.js → Title-DCLc6TCZ.js} +1 -1
  14. package/dist/{Tooltip-VlJQQsYu.js → Tooltip-DI84H3Yz.js} +1 -1
  15. package/dist/{UserOptions-sSygisu3.js → UserOptions-2XI1AOh5.js} +2 -2
  16. package/dist/{dom-to-png-BqX4MBZN.js → dom-to-png-BbsbFKuu.js} +1 -1
  17. package/dist/{img-DN0--Lx6.js → img-DQnzQcOw.js} +1 -1
  18. package/dist/{index-BlRUhv0O.js → index-5vhIMiMJ.js} +123 -118
  19. package/dist/{pdf-Cm5HZB7J.js → pdf-BbD1z_VM.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +6 -0
  22. package/dist/types/vue-data-ui.d.ts +6 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-wLT3gJAJ.js → useAutoSizeLabelsInsideViewbox-lO6KBU08.js} +1 -1
  24. package/dist/{useNestedProp-OxTlfHdh.js → useNestedProp-BBcJUXV-.js} +1 -1
  25. package/dist/{usePrinter-DR__HfSR.js → usePrinter-BxQRVOJV.js} +2 -2
  26. package/dist/{vue-data-ui-Ci8pH3va.js → vue-data-ui-CBSwx9_2.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-h-8AQQKD.js → vue-ui-3d-bar-DrVQXElH.js} +6 -6
  29. package/dist/{vue-ui-accordion-DejV6zJ2.js → vue-ui-accordion-CWkuC41h.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-yTcDoeqi.js → vue-ui-age-pyramid-hfNlu-eT.js} +6 -6
  31. package/dist/{vue-ui-annotator-HqsIz-FI.js → vue-ui-annotator-BdW7stIX.js} +2 -2
  32. package/dist/{vue-ui-bullet-Co4ZttnE.js → vue-ui-bullet-DH55M9hd.js} +7 -7
  33. package/dist/{vue-ui-candlestick-BQQR9K33.js → vue-ui-candlestick-BdCIu_3Z.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-BzDik-6R.js → vue-ui-carousel-table-CYFqd5Do.js} +4 -4
  35. package/dist/{vue-ui-chestnut-5VG75w-T.js → vue-ui-chestnut-BAXJvE_P.js} +5 -5
  36. package/dist/{vue-ui-chord-5HE-ZTDA.js → vue-ui-chord-CZvpyXPS.js} +8 -8
  37. package/dist/{vue-ui-circle-pack-BVcr-3fG.js → vue-ui-circle-pack-DIrNW31y.js} +6 -6
  38. package/dist/{vue-ui-cursor-BDH4YPCA.js → vue-ui-cursor-DB5jBNc-.js} +2 -2
  39. package/dist/{vue-ui-dashboard-VtafJ36J.js → vue-ui-dashboard-NIsI1tyR.js} +67 -67
  40. package/dist/{vue-ui-digits-Bh5fmCge.js → vue-ui-digits-D1E8vS1U.js} +2 -2
  41. package/dist/{vue-ui-donut-PiILi3WQ.js → vue-ui-donut-Dcc640KU.js} +8 -8
  42. package/dist/{vue-ui-donut-evolution-DVp2UID9.js → vue-ui-donut-evolution-FvABIk1B.js} +8 -8
  43. package/dist/{vue-ui-dumbbell-DIX_gcC_.js → vue-ui-dumbbell-DwR1pCUC.js} +7 -7
  44. package/dist/{vue-ui-flow-DY64szfV.js → vue-ui-flow-DAm9A_0v.js} +7 -7
  45. package/dist/{vue-ui-funnel-DnQFZe9P.js → vue-ui-funnel-CBzrS5BO.js} +6 -6
  46. package/dist/{vue-ui-galaxy-C0TCFGXT.js → vue-ui-galaxy-IJ_oreeF.js} +7 -7
  47. package/dist/{vue-ui-gauge-BNIAJlUC.js → vue-ui-gauge-o72yvW6N.js} +7 -7
  48. package/dist/{vue-ui-gizmo-BnHruhLB.js → vue-ui-gizmo-DfyGDDpf.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CH_twICb.js → vue-ui-heatmap-BGCYDLeT.js} +7 -7
  50. package/dist/{vue-ui-history-plot-CtJrkyG8.js → vue-ui-history-plot-WM4e1JlT.js} +7 -7
  51. package/dist/{vue-ui-kpi-Co0app61.js → vue-ui-kpi-BcDpOVCW.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DXrdP_7p.js → vue-ui-mini-loader-pv8BRyQQ.js} +2 -2
  53. package/dist/{vue-ui-molecule-C2cNArDQ.js → vue-ui-molecule-D7oF0j_4.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-BrLLsYz5.js → vue-ui-mood-radar-iPbyJzps.js} +7 -7
  55. package/dist/{vue-ui-nested-donuts-DRysa4v_.js → vue-ui-nested-donuts-BLceuaiq.js} +9 -10
  56. package/dist/{vue-ui-onion-znQ-OGaR.js → vue-ui-onion-Dnf_fWQJ.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-DIX2Hytk.js → vue-ui-parallel-coordinate-plot-DgqvrE6i.js} +8 -8
  58. package/dist/{vue-ui-quadrant-B4X5ePQQ.js → vue-ui-quadrant-B7_t3c1D.js} +8 -8
  59. package/dist/{vue-ui-quick-chart-Cm7iAsdB.js → vue-ui-quick-chart-QBNsaoSx.js} +606 -582
  60. package/dist/{vue-ui-radar-CMXnDLdC.js → vue-ui-radar-B5LY3bFz.js} +8 -8
  61. package/dist/{vue-ui-rating-wAMAKVA8.js → vue-ui-rating-M2LsJhF9.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-snHKlhA3.js → vue-ui-relation-circle-BDgDf-UH.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-Bx7_nnJ7.js → vue-ui-ridgeline-CF8EGKmN.js} +8 -8
  64. package/dist/{vue-ui-rings-BGTPLeaD.js → vue-ui-rings-CEf32Qd9.js} +8 -8
  65. package/dist/{vue-ui-scatter-D-rI3hK1.js → vue-ui-scatter-B1Aafuh6.js} +8 -8
  66. package/dist/{vue-ui-skeleton-B-6lN9xS.js → vue-ui-skeleton-DCf8RHTA.js} +3 -3
  67. package/dist/{vue-ui-smiley-DeLEE9m9.js → vue-ui-smiley-D9TyN2I4.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-BvrboxYt.js → vue-ui-spark-trend-DcZNamSY.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-nW5DeWC5.js → vue-ui-sparkbar-CNmySZRR.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-Isge2K7-.js → vue-ui-sparkgauge-Du3pqhHb.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-ChSw4gHY.js → vue-ui-sparkhistogram-DY33-6pA.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DH-VRt5o.js → vue-ui-sparkline-DQO2IGma.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-l45aaRR1.js → vue-ui-sparkstackbar-BHgX0FAK.js} +3 -3
  74. package/dist/{vue-ui-stackbar-ByVq83Og.js → vue-ui-stackbar-DTvmplPR.js} +9 -9
  75. package/dist/{vue-ui-strip-plot-CwooqV7G.js → vue-ui-strip-plot-CH3BNHOX.js} +7 -7
  76. package/dist/{vue-ui-table-BRPcCRq-.js → vue-ui-table-DmOi42QJ.js} +554 -520
  77. package/dist/{vue-ui-table-heatmap-CaAadUo0.js → vue-ui-table-heatmap-D0XRMZEF.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-Bt7VtPKK.js → vue-ui-table-sparkline-SjzOqua1.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B-CWjknr.js → vue-ui-thermometer-Dkb9wTy_.js} +7 -7
  80. package/dist/{vue-ui-timer-CxLcOKNv.js → vue-ui-timer-CeCAWDqf.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-DYEZvwDv.js → vue-ui-tiremarks-B9XkzHFy.js} +6 -6
  82. package/dist/{vue-ui-treemap-CeuebtPa.js → vue-ui-treemap-BCcXO9kM.js} +8 -8
  83. package/dist/{vue-ui-vertical-bar-D8_txlgd.js → vue-ui-vertical-bar-CRtBBzYM.js} +9 -9
  84. package/dist/{vue-ui-waffle-B5Qe5PKA.js → vue-ui-waffle-DSNBPqTC.js} +8 -8
  85. package/dist/{vue-ui-wheel-CxpLOCGw.js → vue-ui-wheel-BXQK9I22.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-DCoL3uD5.js → vue-ui-word-cloud-YLIzbhcv.js} +6 -6
  87. package/dist/{vue-ui-world-DmnwTNAv.js → vue-ui-world-eCTtZria.js} +6 -6
  88. package/dist/vue-ui-xy-C7u7xEoN.js +4507 -0
  89. package/dist/{vue-ui-xy-canvas-CJp0mlzr.js → vue-ui-xy-canvas-D_rqJLcT.js} +10 -10
  90. package/package.json +1 -1
  91. package/dist/Slicer-Bk01kWGC.js +0 -596
  92. package/dist/vue-ui-xy-CzdchisK.js +0 -4141
@@ -1,9 +1,10 @@
1
- import { a7 as R, t as z, l as T, w as U, i as V, j as X, v as j, A as Y, e as W, F as J, u as K, p as Z } from "./index-BlRUhv0O.js";
2
- import q from "./vue-ui-xy-CzdchisK.js";
3
- import Q from "./vue-ui-donut-PiILi3WQ.js";
4
- import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as d, Fragment as I, renderList as _, normalizeClass as p, createTextVNode as w, withDirectives as O, vModelText as S, withKeys as L, withModifiers as A, vModelSelect as $, createBlock as E, createVNode as ee } from "vue";
5
- import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const se = {
1
+ import { a9 as z, t as U, l as T, w as V, i as X, j, v as Y, A as W, e as J, F as K, u as Z, p as q } from "./index-5vhIMiMJ.js";
2
+ import Q from "./vue-ui-xy-C7u7xEoN.js";
3
+ import $ from "./vue-ui-donut-Dcc640KU.js";
4
+ import ee from "./BaseIcon-ClWpJKO3.js";
5
+ import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as d, createTextVNode as w, 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 te, createBlock as P } from "vue";
6
+ import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
+ const ne = {
7
8
  name: "vue-ui-table",
8
9
  props: {
9
10
  config: {
@@ -19,13 +20,13 @@ const se = {
19
20
  }
20
21
  }
21
22
  },
22
- components: { VueUiXy: q, VueUiDonut: Q },
23
+ components: { VueUiXy: Q, VueUiDonut: $, BaseIcon: ee },
23
24
  emits: ["page-change"],
24
25
  data() {
25
26
  return {
26
27
  uid: `vue-ui-table-${Math.random()}`,
27
- bodyCopy: JSON.parse(JSON.stringify(this.dataset.body)).map((s, r) => ({
28
- ...s,
28
+ bodyCopy: JSON.parse(JSON.stringify(this.dataset.body)).map((t, r) => ({
29
+ ...t,
29
30
  absoluteIndex: r
30
31
  })),
31
32
  buttonTimeout: null,
@@ -76,8 +77,8 @@ const se = {
76
77
  isLoading: !1,
77
78
  itemsPerPage: this.config.rowsPerPage ? this.config.rowsPerPage : 25,
78
79
  multiselects: {},
79
- paginatorOptions: [.../* @__PURE__ */ new Set([10, 25, 50, 100, 250, 500, this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.dataset.body.length])].sort((s, r) => s - r),
80
- palette: Z,
80
+ 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),
81
+ palette: q,
81
82
  percentages: {},
82
83
  rafId: null,
83
84
  rangeFilters: {},
@@ -88,27 +89,28 @@ const se = {
88
89
  showChart: !1,
89
90
  showDonutOptions: !1,
90
91
  sorts: {},
91
- tableBody: JSON.parse(JSON.stringify(this.dataset.body)).map((s, r) => ({
92
- ...s,
92
+ tableBody: JSON.parse(JSON.stringify(this.dataset.body)).map((t, r) => ({
93
+ ...t,
93
94
  absoluteIndex: r
94
95
  })),
95
- tableHead: JSON.parse(JSON.stringify(this.dataset.header)).map((s) => ({
96
- average: Object.hasOwn(s, "average") ? s.average : !1,
97
- decimals: Object.hasOwn(s, "decimals") ? s.decimals : 0,
98
- isMultiselect: Object.hasOwn(s, "isMultiselect") ? s.isMultiselect : !1,
99
- isPercentage: Object.hasOwn(s, "isPercentage") ? s.isPercentage : !1,
100
- isSearch: Object.hasOwn(s, "isSearch") ? s.isSearch : !1,
101
- isSort: Object.hasOwn(s, "isSort") ? s.isSort : !1,
102
- name: s.name,
96
+ tableHead: JSON.parse(JSON.stringify(this.dataset.header)).map((t) => ({
97
+ average: Object.hasOwn(t, "average") ? t.average : !1,
98
+ decimals: Object.hasOwn(t, "decimals") ? t.decimals : 0,
99
+ isMultiselect: Object.hasOwn(t, "isMultiselect") ? t.isMultiselect : !1,
100
+ isPercentage: Object.hasOwn(t, "isPercentage") ? t.isPercentage : !1,
101
+ isSearch: Object.hasOwn(t, "isSearch") ? t.isSearch : !1,
102
+ isSort: Object.hasOwn(t, "isSort") ? t.isSort : !1,
103
+ name: t.name,
103
104
  // this attribute is mandatory
104
- percentageTo: Object.hasOwn(s, "percentageTo") ? s.percentageTo : void 0,
105
- prefix: Object.hasOwn(s, "prefix") ? s.prefix : "",
106
- rangeFilter: Object.hasOwn(s, "rangeFilter") ? s.rangeFilter : !1,
107
- suffix: Object.hasOwn(s, "suffix") ? s.suffix : "",
108
- sum: Object.hasOwn(s, "sum") ? s.sum : !1,
109
- type: s.type
105
+ percentageTo: Object.hasOwn(t, "percentageTo") ? t.percentageTo : void 0,
106
+ prefix: Object.hasOwn(t, "prefix") ? t.prefix : "",
107
+ rangeFilter: Object.hasOwn(t, "rangeFilter") ? t.rangeFilter : !1,
108
+ suffix: Object.hasOwn(t, "suffix") ? t.suffix : "",
109
+ sum: Object.hasOwn(t, "sum") ? t.sum : !1,
110
+ type: t.type
110
111
  // this attribute is mandatory
111
- }))
112
+ })),
113
+ filename: ""
112
114
  };
113
115
  },
114
116
  mounted() {
@@ -132,11 +134,17 @@ Provide an array of objects of type:
132
134
  this.isLoading = !0, this.promiseWithAsyncFunction(this.prepareBodyCopy, () => {
133
135
  this.$forceUpdate(), this.isLoading = !1;
134
136
  }), document.addEventListener("keydown", (n) => {
135
- const s = document.activeElement;
136
- (s && Array.from(s.classList).includes("td-focusable") && n.key.includes("Arrow") || n.code === "Space") && n.preventDefault();
137
- });
137
+ const t = document.activeElement;
138
+ (t && Array.from(t.classList).includes("td-focusable") && n.key.includes("Arrow") || n.code === "Space") && n.preventDefault();
139
+ }), this.filename = this.FINAL_CONFIG.style.exportMenu.filename;
138
140
  },
139
141
  watch: {
142
+ isExportRequest: function(n) {
143
+ if (n) {
144
+ const t = this.$refs.filenameInputRef;
145
+ t && t.focus();
146
+ }
147
+ },
140
148
  showChart: function(n) {
141
149
  n && this.$nextTick(() => {
142
150
  this.closeDragElement();
@@ -144,26 +152,26 @@ Provide an array of objects of type:
144
152
  },
145
153
  dataset: {
146
154
  handler(n) {
147
- this.isLoading = !0, this.bodyCopy = JSON.parse(JSON.stringify(n.body)).map((s, r) => ({
148
- ...s,
155
+ this.isLoading = !0, this.bodyCopy = JSON.parse(JSON.stringify(n.body)).map((t, r) => ({
156
+ ...t,
149
157
  absoluteIndex: r
150
- })), this.tableBody = JSON.parse(JSON.stringify(n.body)).map((s, r) => ({
151
- ...s,
158
+ })), this.tableBody = JSON.parse(JSON.stringify(n.body)).map((t, r) => ({
159
+ ...t,
152
160
  absoluteIndex: r
153
- })), this.tableHead = JSON.parse(JSON.stringify(n.header)).map((s) => ({
154
- average: Object.hasOwn(s, "average") ? s.average : !1,
155
- decimals: Object.hasOwn(s, "decimals") ? s.decimals : 0,
156
- isMultiselect: Object.hasOwn(s, "isMultiselect") ? s.isMultiselect : !1,
157
- isPercentage: Object.hasOwn(s, "isPercentage") ? s.isPercentage : !1,
158
- isSearch: Object.hasOwn(s, "isSearch") ? s.isSearch : !1,
159
- isSort: Object.hasOwn(s, "isSort") ? s.isSort : !1,
160
- name: s.name,
161
- percentageTo: Object.hasOwn(s, "percentageTo") ? s.percentageTo : void 0,
162
- prefix: Object.hasOwn(s, "prefix") ? s.prefix : "",
163
- rangeFilter: Object.hasOwn(s, "rangeFilter") ? s.rangeFilter : !1,
164
- suffix: Object.hasOwn(s, "suffix") ? s.suffix : "",
165
- sum: Object.hasOwn(s, "sum") ? s.sum : !1,
166
- type: s.type
161
+ })), this.tableHead = JSON.parse(JSON.stringify(n.header)).map((t) => ({
162
+ average: Object.hasOwn(t, "average") ? t.average : !1,
163
+ decimals: Object.hasOwn(t, "decimals") ? t.decimals : 0,
164
+ isMultiselect: Object.hasOwn(t, "isMultiselect") ? t.isMultiselect : !1,
165
+ isPercentage: Object.hasOwn(t, "isPercentage") ? t.isPercentage : !1,
166
+ isSearch: Object.hasOwn(t, "isSearch") ? t.isSearch : !1,
167
+ isSort: Object.hasOwn(t, "isSort") ? t.isSort : !1,
168
+ name: t.name,
169
+ percentageTo: Object.hasOwn(t, "percentageTo") ? t.percentageTo : void 0,
170
+ prefix: Object.hasOwn(t, "prefix") ? t.prefix : "",
171
+ rangeFilter: Object.hasOwn(t, "rangeFilter") ? t.rangeFilter : !1,
172
+ suffix: Object.hasOwn(t, "suffix") ? t.suffix : "",
173
+ sum: Object.hasOwn(t, "sum") ? t.sum : !1,
174
+ type: t.type
167
175
  })), this.currentSelectionSpan = { col: void 0, rows: [] }, this.selectedColumn = void 0, this.itemsPerPage = this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.percentages = {}, this.dates = {}, this.filteredDatesIndexes = {}, this.hasNaN = {}, this.immutableRangeFilters = {}, this.rangeFilters = {}, this.multiselects = {}, this.searches = {}, this.sorts = {}, this.showChart = !1, this.currentDonut = void 0, this.selectedDonutCategory = void 0, this.selectedPlot = void 0, this.showDonutOptions = !1, this.currentSelectionSpan.col = void 0, this.currentSelectionSpan.rows = [], this.promiseWithAsyncFunction(this.prepareBodyCopy, () => {
168
176
  this.$forceUpdate(), this.updateCurrentPage(), this.isLoading = !1;
169
177
  });
@@ -186,9 +194,9 @@ Provide an array of objects of type:
186
194
  },
187
195
  chartData() {
188
196
  if (!this.canChart) return [];
189
- const n = 316, s = 512, r = this.currentSelectionSpan.rows.length, i = s / r, t = Math.max(...this.currentSelectionSpan.rows.map((v) => v.value)), e = Math.min(...this.currentSelectionSpan.rows.map((v) => v.value)), y = 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, l = this.dataset.header[this.currentSelectionSpan.col].name + (y ? ` / ${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, h = this.dataset.header[this.currentSelectionSpan.col].suffix, m = [
197
+ 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}` : ""), l = this.dataset.header[this.currentSelectionSpan.col].prefix, o = this.dataset.header[this.currentSelectionSpan.col].suffix, h = [
190
198
  {
191
- name: l,
199
+ name: _,
192
200
  series: this.currentSelectionSpan.rows.map((v) => v.value),
193
201
  type: "line",
194
202
  useProgression: !0,
@@ -196,48 +204,48 @@ Provide an array of objects of type:
196
204
  color: this.FINAL_CONFIG.style.chart.layout.line.stroke,
197
205
  useArea: this.FINAL_CONFIG.style.chart.layout.line.useArea
198
206
  }
199
- ], F = [
207
+ ], y = [
200
208
  {
201
- name: l,
209
+ name: _,
202
210
  series: this.currentSelectionSpan.rows.map((v) => v.value),
203
211
  type: "bar",
204
212
  useProgression: !0,
205
213
  color: this.FINAL_CONFIG.style.chart.layout.bar.fill
206
214
  }
207
- ], k = this.FINAL_CONFIG.style.chart.modal.backgroundColor, N = this.adaptColorToBackground(k), C = this.dataset.header[this.currentSelectionSpan.col].decimals, P = {
215
+ ], C = this.FINAL_CONFIG.style.chart.modal.backgroundColor, p = this.adaptColorToBackground(C), I = this.dataset.header[this.currentSelectionSpan.col].decimals, B = {
208
216
  chart: {
209
- backgroundColor: k,
210
- color: N,
217
+ backgroundColor: C,
218
+ color: p,
211
219
  labels: {
212
220
  fontSize: 18,
213
- prefix: o,
214
- suffix: h
221
+ prefix: l,
222
+ suffix: o
215
223
  },
216
224
  grid: {
217
- stroke: T(N, 0.5),
225
+ stroke: T(p, 0.5),
218
226
  labels: {
219
- color: N,
227
+ color: p,
220
228
  xAxisLabels: { show: !1 }
221
229
  }
222
230
  },
223
231
  highlighter: {
224
- color: N
232
+ color: p
225
233
  },
226
234
  legend: {
227
- color: N
235
+ color: p
228
236
  },
229
237
  title: {
230
- text: l,
231
- color: N,
238
+ text: _,
239
+ color: p,
232
240
  fontSize: 18
233
241
  },
234
242
  tooltip: {
235
243
  showTimeLabel: !1,
236
244
  backgroundOpacity: 30,
237
- color: N,
238
- backgroundColor: k,
245
+ color: p,
246
+ backgroundColor: C,
239
247
  showPercentage: !1,
240
- roundingValue: C
248
+ roundingValue: I
241
249
  },
242
250
  userOptions: {
243
251
  position: "left",
@@ -253,8 +261,8 @@ Provide an array of objects of type:
253
261
  line: {
254
262
  labels: {
255
263
  show: !0,
256
- color: N,
257
- rounding: C
264
+ color: p,
265
+ rounding: I
258
266
  },
259
267
  dot: {
260
268
  useSerieColor: !1,
@@ -271,13 +279,13 @@ Provide an array of objects of type:
271
279
  },
272
280
  labels: {
273
281
  show: !0,
274
- color: N,
275
- rounding: C
282
+ color: p,
283
+ rounding: I
276
284
  }
277
285
  }
278
- }, D = e >= 0 ? 0 : Math.abs(e), B = t + D, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, G = this.currentSelectionSpan.rows.map((v, H) => ({
279
- x: i * H + i / 2,
280
- y: (1 - (v.value + D) / B) * n,
286
+ }, G = e >= 0 ? 0 : Math.abs(e), H = s + G, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, x = this.currentSelectionSpan.rows.map((v, R) => ({
287
+ x: i * R + i / 2,
288
+ y: (1 - (v.value + G) / H) * n,
281
289
  value: M ? v.value * 100 : v.value,
282
290
  suffix: M ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
283
291
  prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
@@ -297,8 +305,8 @@ Provide an array of objects of type:
297
305
  },
298
306
  style: {
299
307
  chart: {
300
- backgroundColor: k,
301
- color: N,
308
+ backgroundColor: C,
309
+ color: p,
302
310
  layout: {
303
311
  curvedMarkers: !0,
304
312
  donut: {
@@ -307,32 +315,32 @@ Provide an array of objects of type:
307
315
  labels: {
308
316
  dataLabels: {
309
317
  suffix: M ? "%" : "",
310
- prefix: o
318
+ prefix: l
311
319
  },
312
320
  value: {
313
- rounding: C
321
+ rounding: I
314
322
  },
315
323
  percentage: {
316
- color: N,
317
- rounding: C
324
+ color: p,
325
+ rounding: I
318
326
  },
319
327
  name: {
320
- color: N
328
+ color: p
321
329
  },
322
330
  hollow: {
323
331
  average: {
324
- color: N,
332
+ color: p,
325
333
  text: this.FINAL_CONFIG.translations.average,
326
334
  value: {
327
- color: N
335
+ color: p
328
336
  }
329
337
  },
330
338
  total: {
331
- color: N,
339
+ color: p,
332
340
  offsetY: -12,
333
341
  text: this.FINAL_CONFIG.translations.total,
334
342
  value: {
335
- color: N,
343
+ color: p,
336
344
  offsetY: -12
337
345
  }
338
346
  }
@@ -340,34 +348,34 @@ Provide an array of objects of type:
340
348
  }
341
349
  },
342
350
  legend: {
343
- backgroundColor: k,
344
- color: N,
345
- roundingValue: C,
346
- roundingPercentage: C
351
+ backgroundColor: C,
352
+ color: p,
353
+ roundingValue: I,
354
+ roundingPercentage: I
347
355
  },
348
356
  padding: {
349
357
  left: 12,
350
358
  right: 12
351
359
  },
352
360
  title: {
353
- text: l,
354
- color: N,
361
+ text: _,
362
+ color: p,
355
363
  fontSize: 18
356
364
  },
357
365
  tooltip: {
358
366
  backgroundOpacity: 30,
359
- color: N,
360
- backgroundColor: k,
361
- roundingValue: C,
362
- roundingValue: C
367
+ color: p,
368
+ backgroundColor: C,
369
+ roundingValue: I,
370
+ roundingValue: I
363
371
  }
364
372
  }
365
373
  }
366
374
  },
367
- xyConfig: P,
368
- xyDatasetLine: m,
369
- xyDatasetBar: F,
370
- progression: G.length >= 2 ? this.calcLinearProgression(G) : !1
375
+ xyConfig: B,
376
+ xyDatasetLine: h,
377
+ xyDatasetBar: y,
378
+ progression: x.length >= 2 ? this.calcLinearProgression(x) : !1
371
379
  };
372
380
  },
373
381
  hasNumericTypes() {
@@ -399,8 +407,8 @@ Provide an array of objects of type:
399
407
  pages() {
400
408
  const n = [];
401
409
  if (this.bodyCopy.length)
402
- for (let s = 0; s < this.bodyCopy.length; s += this.itemsPerPage)
403
- n.push(this.bodyCopy.slice(s, s + this.itemsPerPage));
410
+ for (let t = 0; t < this.bodyCopy.length; t += this.itemsPerPage)
411
+ n.push(this.bodyCopy.slice(t, t + this.itemsPerPage));
404
412
  return n;
405
413
  },
406
414
  rows() {
@@ -408,21 +416,21 @@ Provide an array of objects of type:
408
416
  },
409
417
  selectedCellsCalculations() {
410
418
  return {
411
- sumPercentage: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, s) => n + s, 0) * 100).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
412
- sumRegular: Number(this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, s) => n + s, 0).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
413
- averagePercentage: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, s) => n + s, 0) / this.currentSelectionSpan.rows.length * 100).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
414
- averageRegular: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, s) => n + s, 0) / this.currentSelectionSpan.rows.length).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString()
419
+ sumPercentage: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, t) => n + t, 0) * 100).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
420
+ sumRegular: Number(this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, t) => n + t, 0).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
421
+ averagePercentage: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, t) => n + t, 0) / this.currentSelectionSpan.rows.length * 100).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString(),
422
+ averageRegular: Number((this.currentSelectionSpan.rows.map((n) => n.value).reduce((n, t) => n + t, 0) / this.currentSelectionSpan.rows.length).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString()
415
423
  };
416
424
  },
417
425
  FINAL_CONFIG() {
418
- const { vue_ui_table: n } = K();
426
+ const { vue_ui_table: n } = Z();
419
427
  if (!Object.keys(this.config || {}).length)
420
428
  return n;
421
- const s = this.treeShake({
429
+ const t = this.treeShake({
422
430
  defaultConfig: n,
423
431
  userConfig: this.config
424
432
  });
425
- return this.convertConfigColors(s);
433
+ return this.convertConfigColors(t);
426
434
  },
427
435
  visibleRows() {
428
436
  return this.pages[this.currentPage];
@@ -430,124 +438,124 @@ Provide an array of objects of type:
430
438
  },
431
439
  methods: {
432
440
  // lib
433
- adaptColorToBackground: J,
434
- convertColorToHex: W,
435
- convertConfigColors: Y,
436
- createCsvContent: j,
437
- darkenHexColor: X,
438
- dataLabel: V,
439
- downloadCsv: U,
441
+ adaptColorToBackground: K,
442
+ convertColorToHex: J,
443
+ convertConfigColors: W,
444
+ createCsvContent: Y,
445
+ darkenHexColor: j,
446
+ dataLabel: X,
447
+ downloadCsv: V,
440
448
  lightenHexColor: T,
441
- treeShake: z,
449
+ treeShake: U,
442
450
  // specific
443
451
  applyDonutOption() {
444
- const n = this.selectedDonutCategory.options.map((s, r) => ({
445
- name: s,
452
+ const n = this.selectedDonutCategory.options.map((t, r) => ({
453
+ name: t,
446
454
  color: this.palette[r] || this.palette[r % this.palette.length],
447
- values: [this.visibleRows.filter((i, t) => i.td[this.selectedDonutCategory.index] === s && this.currentSelectionSpan.rows.map((e) => e.index).includes(t)).map((i) => i.td[this.currentSelectionSpan.col]).reduce((i, t) => Math.abs(i) + Math.abs(t), 0)],
448
- absoluteValue: this.visibleRows.filter((i, t) => i.td[this.selectedDonutCategory.index] === s && this.currentSelectionSpan.rows.map((e) => e.index).includes(t)).map((i) => i.td[this.currentSelectionSpan.col]).reduce((i, t) => i + t, 0)
449
- })).sort((s, r) => r.value - s.value);
455
+ values: [this.visibleRows.filter((i, s) => i.td[this.selectedDonutCategory.index] === t && this.currentSelectionSpan.rows.map((e) => e.index).includes(s)).map((i) => i.td[this.currentSelectionSpan.col]).reduce((i, s) => Math.abs(i) + Math.abs(s), 0)],
456
+ absoluteValue: this.visibleRows.filter((i, s) => i.td[this.selectedDonutCategory.index] === t && this.currentSelectionSpan.rows.map((e) => e.index).includes(s)).map((i) => i.td[this.currentSelectionSpan.col]).reduce((i, s) => i + s, 0)
457
+ })).sort((t, r) => r.value - t.value);
450
458
  this.currentDonut = n, this.$nextTick(() => {
451
459
  this.chart.type = this.constants.DONUT, this.showDonutOptions = !1;
452
460
  });
453
461
  },
454
- calcRectY(n, s) {
455
- return n >= 0 ? s : this.chartData.zero;
462
+ calcRectY(n, t) {
463
+ return n >= 0 ? t : this.chartData.zero;
456
464
  },
457
- canResetColumn(n, s) {
458
- return !this.hasNaN[n] && (s.isSort || s.isSearch || s.isMultiselect || s.rangeFilter) && ![this.constants.DATE].includes(s.type);
465
+ canResetColumn(n, t) {
466
+ return !this.hasNaN[n] && (t.isSort || t.isSearch || t.isMultiselect || t.rangeFilter) && ![this.constants.DATE].includes(t.type);
459
467
  },
460
468
  createXls(n = "all") {
461
- const s = this.dataset.header.map((e) => e.name), r = n === "all" ? this.bodyCopy.map((e) => e.td) : this.visibleRows.map((e) => e.td), i = [s].concat(r), t = this.createCsvContent(i);
462
- this.downloadCsv({ csvContent: t, title: "vue-ui-table" });
469
+ 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);
470
+ this.downloadCsv({ csvContent: s, title: this.filename });
463
471
  },
464
- calcLinearProgression: R,
472
+ calcLinearProgression: z,
465
473
  closeAllDropdowns() {
466
474
  const n = document.getElementsByClassName("th-dropdown");
467
- n.length && Array.from(n).forEach((s) => {
468
- s.dataset.isOpen = !1;
475
+ n.length && Array.from(n).forEach((t) => {
476
+ t.dataset.isOpen = !1;
469
477
  });
470
478
  },
471
- debounce(n, s) {
479
+ debounce(n, t) {
472
480
  let r;
473
- clearTimeout(r), r = setTimeout(n, s);
481
+ clearTimeout(r), r = setTimeout(n, t);
474
482
  },
475
483
  filterBody() {
476
484
  this.bodyCopy = this.tableBody.filter((n) => {
477
- for (const s in this.searches)
478
- if (!n.td[s].toUpperCase().includes(this.searches[s].toUpperCase()))
485
+ for (const t in this.searches)
486
+ if (!n.td[t].toUpperCase().includes(this.searches[t].toUpperCase()))
479
487
  return !1;
480
- for (const s in this.multiselects)
481
- if (!this.multiselects[s].some((i) => i === n.td[s]))
488
+ for (const t in this.multiselects)
489
+ if (!this.multiselects[t].some((i) => i === n.td[t]))
482
490
  return !1;
483
- for (const s in this.dates) {
484
- const r = new Date(n.td[s]), i = new Date(this.dates[s].from), t = new Date(this.dates[s].to);
485
- if (r < i || r > t)
491
+ for (const t in this.dates) {
492
+ const r = new Date(n.td[t]), i = new Date(this.dates[t].from), s = new Date(this.dates[t].to);
493
+ if (r < i || r > s)
486
494
  return !1;
487
495
  }
488
496
  return !0;
489
497
  }), this.sortBody();
490
498
  },
491
499
  getAverage(n) {
492
- return this.rows.map((s) => s[n]).map((s) => isNaN(Number(s)) ? 0 : s).reduce((s, r) => s + r, 0) / this.bodyCopy.length;
500
+ return this.rows.map((t) => t[n]).map((t) => isNaN(Number(t)) ? 0 : t).reduce((t, r) => t + r, 0) / this.bodyCopy.length;
493
501
  },
494
502
  getDatesRange(n) {
495
- const s = this.dataset.body.map((F) => new Date(F.td[n])), r = new Date(Math.min(...s)), i = new Date(Math.max(...s)), t = r.getFullYear(), e = i.getFullYear(), y = String(r.getMonth() + 1).padStart(2, "0"), f = String(i.getMonth() + 1).padStart(2, "0"), l = String(r.getDate()).padStart(2, "0"), o = String(i.getDate()).padStart(2, "0"), h = `${t}-${y}-${l}`, m = `${e}-${f}-${o}`;
503
+ 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}-${_}`, h = `${e}-${f}-${l}`;
496
504
  return {
497
- from: h,
498
- to: m
505
+ from: o,
506
+ to: h
499
507
  };
500
508
  },
501
509
  getDonutLegendValue(n) {
502
510
  return Number((n * (this.dataset.header[this.currentSelectionSpan.col].isPercentage ? 100 : 1)).toFixed(this.dataset.header[this.currentSelectionSpan.col].decimals)).toLocaleString();
503
511
  },
504
512
  getDropdownOptions(n) {
505
- return [...new Set(this.dataset.body.map((s) => s.td[n]))];
513
+ return [...new Set(this.dataset.body.map((t) => t.td[n]))];
506
514
  },
507
515
  getSum(n) {
508
- return this.rows.map((s) => s[n]).map((s) => isNaN(Number(s)) ? 0 : s).reduce((s, r) => s + r, 0);
516
+ return this.rows.map((t) => t[n]).map((t) => isNaN(Number(t)) ? 0 : t).reduce((t, r) => t + r, 0);
509
517
  },
510
518
  includesNaN(n) {
511
519
  return n.includes(NaN);
512
520
  },
513
- isDropdownOptionSelected(n, s) {
514
- return this.multiselects[s] ? this.multiselects[s].includes(n) : !0;
521
+ isDropdownOptionSelected(n, t) {
522
+ return this.multiselects[t] ? this.multiselects[t].includes(n) : !0;
515
523
  },
516
524
  isNumeric(n) {
517
525
  return !isNaN(Number(String(n).replaceAll("%", "")));
518
526
  },
519
- isResetDisabled(n, s) {
520
- const r = s.isSort, i = s.isSearch, t = s.isMultiselect && this.multiselects[n], e = s.rangeFilter, y = (f) => {
527
+ isResetDisabled(n, t) {
528
+ const r = t.isSort, i = t.isSearch, s = t.isMultiselect && this.multiselects[n], e = t.rangeFilter, m = (f) => {
521
529
  if (e && this.rangeFilters[f])
522
530
  return Math.round(this.rangeFilters[f].min) === this.immutableRangeFilters[f].min && Math.round(this.rangeFilters[f].max) === this.immutableRangeFilters[f].max;
523
531
  };
524
- if (r && i && t && e)
525
- return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
526
- if (r && i && t)
532
+ if (r && i && s && e)
533
+ return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && m(n);
534
+ if (r && i && s)
527
535
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
528
536
  if (r && i && e)
529
- return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && y(n);
537
+ return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && m(n);
530
538
  if (r && i)
531
539
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]);
532
- if (r && t && e)
533
- return [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
534
- if (r && t)
540
+ if (r && s && e)
541
+ return [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && m(n);
542
+ if (r && s)
535
543
  return [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
536
- if (i && t && e)
537
- return ["", void 0].includes(this.searches[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
538
- if (i && t)
544
+ if (i && s && e)
545
+ return ["", void 0].includes(this.searches[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && m(n);
546
+ if (i && s)
539
547
  return ["", void 0].includes(this.searches[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
540
548
  if (i && e)
541
- return ["", void 0].includes(this.searches[n]) && y(n);
549
+ return ["", void 0].includes(this.searches[n]) && m(n);
542
550
  if (i)
543
551
  return ["", void 0].includes(this.searches[n]);
544
552
  if (r && e)
545
- return [void 0].includes(this.sorts[n]) && y(n);
553
+ return [void 0].includes(this.sorts[n]) && m(n);
546
554
  if (r)
547
555
  return [void 0].includes(this.sorts[n]);
548
- if (t && e)
549
- return this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
550
- if (t)
556
+ if (s && e)
557
+ return this.multiselects[n].length === this.getDropdownOptions(n).length && m(n);
558
+ if (s)
551
559
  return this.multiselects[n].length === this.getDropdownOptions(n).length;
552
560
  },
553
561
  getCurrentPageData() {
@@ -581,80 +589,80 @@ Provide an array of objects of type:
581
589
  },
582
590
  navigateCell(n) {
583
591
  n.preventDefault();
584
- const s = n.keyCode, r = 38, i = 40, t = 37, e = 39;
585
- if (![r, i, t, e].includes(s)) return;
586
- const y = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, l = y.match(f), o = parseInt(l[1]), h = parseInt(l[2]), m = document.getElementById(`cell_${o}_${h + 1}_${this.uid}`), F = document.getElementById(`cell_${o}_${h - 1}_${this.uid}`), k = document.getElementById(`cell_${o + 1}_${h}_${this.uid}`), N = document.getElementById(`cell_${o - 1}_${h}_${this.uid}`);
587
- let C;
592
+ const t = n.keyCode, r = 38, i = 40, s = 37, e = 39;
593
+ if (![r, i, s, e].includes(t)) return;
594
+ const m = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, _ = m.match(f), l = parseInt(_[1]), o = parseInt(_[2]), h = 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}`);
595
+ let I;
588
596
  switch (!0) {
589
- case s === e:
590
- C = m;
597
+ case t === e:
598
+ I = h;
591
599
  break;
592
- case s === t:
593
- C = F;
600
+ case t === s:
601
+ I = y;
594
602
  break;
595
- case s === r:
596
- C = N;
603
+ case t === r:
604
+ I = p;
597
605
  break;
598
- case s === i:
599
- C = k;
606
+ case t === i:
607
+ I = C;
600
608
  break;
601
609
  default:
602
610
  return;
603
611
  }
604
- C && (C.focus(), C.scrollIntoView({ behavior: "smooth", block: "center" }));
612
+ I && (I.focus(), I.scrollIntoView({ behavior: "smooth", block: "center" }));
605
613
  },
606
614
  openDonutOptions() {
607
615
  this.selectedDonutCategory = this.availableDonutCategories[0], this.showDonutOptions = !0;
608
616
  },
609
- placeLabelOnTopOrBottom({ previousPlot: n, currentPlot: s, nextPlot: r }) {
610
- const i = s.y - 38, t = s.y + 16;
611
- return n && r ? n.value < s.value && r.value < s.value ? i : n.value > s.value && r.value > s.value ? t : (n.value > s.value && r.value < s.value || n.value < s.value && r.value > s.value, i) : n && !r ? n.value > s.value ? t : i : !n && r && r.value > s.value ? t : i;
617
+ placeLabelOnTopOrBottom({ previousPlot: n, currentPlot: t, nextPlot: r }) {
618
+ const i = t.y - 38, s = t.y + 16;
619
+ return n && r ? n.value < t.value && r.value < t.value ? i : n.value > t.value && r.value > t.value ? s : (n.value > t.value && r.value < t.value || n.value < t.value && r.value > t.value, i) : n && !r ? n.value > t.value ? s : i : !n && r && r.value > t.value ? s : i;
612
620
  },
613
621
  async prepareBodyCopy() {
614
622
  return new Promise((n) => {
615
- const s = [];
623
+ const t = [];
616
624
  this.tableHead.forEach((r, i) => {
617
625
  if (r.isSearch && Object.assign(this.searches, { [i]: "" }), r.isMultiselect && Object.assign(this.multiselects, { [i]: this.getDropdownOptions(i) }), r.type === this.constants.DATE && (Object.assign(this.dates, { [i]: this.getDatesRange(i) }), Object.assign(this.filteredDatesIndexes, { [i]: !1 })), (r.isPercentage || r.percentageTo) && Object.assign(this.percentages, {
618
626
  [i]: {
619
627
  reference: r.percentageTo,
620
- referenceIndex: this.dataset.header.map((t) => t.name).indexOf(r.percentageTo)
628
+ referenceIndex: this.dataset.header.map((s) => s.name).indexOf(r.percentageTo)
621
629
  }
622
630
  }), r.rangeFilter && (Object.assign(this.rangeFilters, {
623
631
  [i]: {
624
- min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[i]))),
625
- max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[i])))
632
+ min: Math.round(Math.min(...this.dataset.body.map((s) => s.td).map((s) => s[i]))),
633
+ max: Math.round(Math.max(...this.dataset.body.map((s) => s.td).map((s) => s[i])))
626
634
  }
627
635
  }), Object.assign(this.immutableRangeFilters, {
628
636
  [i]: {
629
- min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[i]))),
630
- max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[i])))
637
+ min: Math.round(Math.min(...this.dataset.body.map((s) => s.td).map((s) => s[i]))),
638
+ max: Math.round(Math.max(...this.dataset.body.map((s) => s.td).map((s) => s[i])))
631
639
  }
632
640
  })), r.isPercentage) {
633
- const t = this.dataset.header.map((y) => y.name).indexOf(r.percentageTo), e = this.dataset.body.map((y) => y.td[t]).reduce((y, f) => y + f, 0);
634
- s.push([i, t, e]);
641
+ const s = this.dataset.header.map((m) => m.name).indexOf(r.percentageTo), e = this.dataset.body.map((m) => m.td[s]).reduce((m, f) => m + f, 0);
642
+ t.push([i, s, e]);
635
643
  }
636
- r.type === this.constants.NUMERIC && !r.isPercentage && Object.assign(this.hasNaN, { [i]: this.includesNaN(this.dataset.body.map((t) => Number(t.td[i]))) });
644
+ r.type === this.constants.NUMERIC && !r.isPercentage && Object.assign(this.hasNaN, { [i]: this.includesNaN(this.dataset.body.map((s) => Number(s.td[i]))) });
637
645
  }), this.bodyCopy.forEach((r, i) => {
638
- s.map((t) => {
639
- const [e, y, f] = t;
640
- r.td[e] = r.td[y] / f;
641
- }), r.td.forEach((t, e) => {
642
- this.dataset.header[e].type === this.constants.TEXT && this.dataset.header[e].isSearch && (r[e] = this.stringToNumber(t)), this.dataset.header[e].type === this.constants.DATE && (r[e] = new Date(t).getTime()), this.dataset.header[e].type === this.constants.NUMERIC && (r[e] = isNaN(Number(t)) ? e : t), this.tableBody[i][e] = r[e];
646
+ t.map((s) => {
647
+ const [e, m, f] = s;
648
+ r.td[e] = r.td[m] / f;
649
+ }), r.td.forEach((s, e) => {
650
+ this.dataset.header[e].type === this.constants.TEXT && this.dataset.header[e].isSearch && (r[e] = this.stringToNumber(s)), this.dataset.header[e].type === this.constants.DATE && (r[e] = new Date(s).getTime()), this.dataset.header[e].type === this.constants.NUMERIC && (r[e] = isNaN(Number(s)) ? e : s), this.tableBody[i][e] = r[e];
643
651
  });
644
652
  }), n(!0);
645
653
  });
646
654
  },
647
- promiseWithAsyncFunction(n, s) {
655
+ promiseWithAsyncFunction(n, t) {
648
656
  return new Promise((r, i) => {
649
- n().then((t) => {
657
+ n().then((s) => {
650
658
  try {
651
- const e = s(t);
659
+ const e = t(s);
652
660
  r(e);
653
661
  } catch (e) {
654
662
  i(e);
655
663
  }
656
- }).catch((t) => {
657
- i(t);
664
+ }).catch((s) => {
665
+ i(s);
658
666
  });
659
667
  });
660
668
  },
@@ -664,27 +672,27 @@ Provide an array of objects of type:
664
672
  to: this.getDatesRange(n).to
665
673
  }, this.filteredDatesIndexes[n] = !1, this.$forceUpdate(), this.filterBody();
666
674
  },
667
- resetFilter(n, s, r) {
675
+ resetFilter(n, t, r) {
668
676
  const i = r.currentTarget;
669
677
  clearTimeout(this.buttonTimeout), i.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
670
678
  i.classList.remove("clicked");
671
- }, 200), this.currentFilter = void 0, s.rangeFilter && (this.rangeFilters[n].min = this.immutableRangeFilters[n].min, this.rangeFilters[n].max = this.immutableRangeFilters[n].max), s.isMultiselect ? (this.multiselects[n] = this.getDropdownOptions(n), s.type === this.constants.TEXT && (this.sorts[n] = void 0), s.isSearch && (this.searches[n] = "")) : s.type === this.constants.NUMERIC ? this.sorts[n] = void 0 : s.type === this.constants.TEXT ? (this.sorts[n] = void 0, this.searches[n] = "") : s.type === this.constants.DATE && (this.sorts[n] = void 0), this.filterBody();
679
+ }, 200), this.currentFilter = void 0, t.rangeFilter && (this.rangeFilters[n].min = this.immutableRangeFilters[n].min, this.rangeFilters[n].max = this.immutableRangeFilters[n].max), t.isMultiselect ? (this.multiselects[n] = this.getDropdownOptions(n), t.type === this.constants.TEXT && (this.sorts[n] = void 0), t.isSearch && (this.searches[n] = "")) : t.type === this.constants.NUMERIC ? this.sorts[n] = void 0 : t.type === this.constants.TEXT ? (this.sorts[n] = void 0, this.searches[n] = "") : t.type === this.constants.DATE && (this.sorts[n] = void 0), this.filterBody();
672
680
  },
673
681
  resetSelection() {
674
682
  const n = document.getElementsByClassName(`tr_${this.uid}`);
675
- Array.from(n).forEach((s) => {
676
- Array.from(s.getElementsByTagName("td")).forEach((r) => {
683
+ Array.from(n).forEach((t) => {
684
+ Array.from(t.getElementsByTagName("td")).forEach((r) => {
677
685
  r.dataset.row === "even" ? (r.style.background = this.FINAL_CONFIG.style.rows.even.backgroundColor, r.style.color = this.FINAL_CONFIG.style.rows.even.color) : (r.style.background = this.FINAL_CONFIG.style.rows.odd.backgroundColor, r.style.color = this.FINAL_CONFIG.style.rows.odd.color);
678
686
  });
679
- }), Array.from(n).forEach((s) => s.dataset.selected = "false"), this.currentPage > this.pages.length - 1 && (this.currentPage = this.pages.length - 1), this.showChart = !1, this.currentDonut = void 0, this.selectedColumn = void 0, this.chart.type = this.constants.BAR, this.currentSelectionSpan = {
687
+ }), Array.from(n).forEach((t) => t.dataset.selected = "false"), this.currentPage > this.pages.length - 1 && (this.currentPage = this.pages.length - 1), this.showChart = !1, this.currentDonut = void 0, this.selectedColumn = void 0, this.chart.type = this.constants.BAR, this.currentSelectionSpan = {
680
688
  col: void 0,
681
689
  rows: []
682
690
  }, this.clientX = 100, this.clientY = 100;
683
691
  },
684
692
  selectColumn(n) {
685
- this.currentSelectionSpan.col !== n ? (this.visibleRows.forEach((s, r) => {
693
+ this.currentSelectionSpan.col !== n ? (this.visibleRows.forEach((t, r) => {
686
694
  this.selectTd({
687
- td: s.td[n],
695
+ td: t.td[n],
688
696
  rowIndex: r,
689
697
  colIndex: n,
690
698
  headerType: this.constants.NUMERIC,
@@ -694,24 +702,24 @@ Provide an array of objects of type:
694
702
  });
695
703
  }), this.selectedColumn = n) : (this.selectedColumn = void 0, this.resetSelection());
696
704
  },
697
- selectDropdownOption(n, s) {
698
- this.multiselects[s].includes(n) ? this.multiselects[s] = this.multiselects[s].filter((r) => r !== n) : this.multiselects[s].push(n), this.$forceUpdate(), this.filterBody();
705
+ selectDropdownOption(n, t) {
706
+ this.multiselects[t].includes(n) ? this.multiselects[t] = this.multiselects[t].filter((r) => r !== n) : this.multiselects[t].push(n), this.$forceUpdate(), this.filterBody();
699
707
  },
700
- selectTd({ td: n, rowIndex: s, colIndex: r, headerType: i, event: t }) {
708
+ selectTd({ td: n, rowIndex: t, colIndex: r, headerType: i, event: s }) {
701
709
  if (i !== this.constants.NUMERIC || isNaN(Number(n))) {
702
710
  this.resetSelection();
703
711
  return;
704
712
  }
705
713
  this.currentSelectionSpan.col !== r && this.resetSelection();
706
- const e = t.currentTarget.parentNode;
707
- this.currentSelectionSpan.col = r, this.currentSelectionSpan.rows.map((y) => y.index).includes(s) ? (e.dataset.selected = "false", this.currentSelectionSpan.rows = this.currentSelectionSpan.rows.filter((y) => y.index !== s), t.currentTarget.classList.remove(this.cssClass.CELL), Array.from(e.children).forEach((y, f) => {
708
- y.dataset.row === "even" ? (y.style.background = this.FINAL_CONFIG.style.rows.even.backgroundColor, y.style.color = this.FINAL_CONFIG.style.rows.even.olor) : (y.style.background = this.FINAL_CONFIG.style.rows.odd.backgroundColor, y.style.color = this.FINAL_CONFIG.style.rows.odd.color);
709
- }), t.currentTarget.dataset.row === "even" ? (t.currentTarget.style.background = this.FINAL_CONFIG.style.rows.even.backgroundColor, t.currentTarget.style.color = this.FINAL_CONFIG.style.rows.even.color) : (t.currentTarget.style.background = this.FINAL_CONFIG.style.rows.odd.backgroundColor, t.currentTarget.style.color = this.FINAL_CONFIG.style.rows.odd.color)) : (e.dataset.selected = "true", this.currentSelectionSpan.rows.push({
710
- index: s,
714
+ const e = s.currentTarget.parentNode;
715
+ this.currentSelectionSpan.col = r, this.currentSelectionSpan.rows.map((m) => m.index).includes(t) ? (e.dataset.selected = "false", this.currentSelectionSpan.rows = this.currentSelectionSpan.rows.filter((m) => m.index !== t), s.currentTarget.classList.remove(this.cssClass.CELL), Array.from(e.children).forEach((m, f) => {
716
+ m.dataset.row === "even" ? (m.style.background = this.FINAL_CONFIG.style.rows.even.backgroundColor, m.style.color = this.FINAL_CONFIG.style.rows.even.olor) : (m.style.background = this.FINAL_CONFIG.style.rows.odd.backgroundColor, m.style.color = this.FINAL_CONFIG.style.rows.odd.color);
717
+ }), s.currentTarget.dataset.row === "even" ? (s.currentTarget.style.background = this.FINAL_CONFIG.style.rows.even.backgroundColor, s.currentTarget.style.color = this.FINAL_CONFIG.style.rows.even.color) : (s.currentTarget.style.background = this.FINAL_CONFIG.style.rows.odd.backgroundColor, s.currentTarget.style.color = this.FINAL_CONFIG.style.rows.odd.color)) : (e.dataset.selected = "true", this.currentSelectionSpan.rows.push({
718
+ index: t,
711
719
  value: n
712
- }), Array.from(e.children).forEach((y, f) => {
713
- y.dataset.row === "even" ? (y.style.background = this.FINAL_CONFIG.style.rows.even.selectedNeighbors.backgroundColor, y.style.color = this.FINAL_CONFIG.style.rows.even.selectedNeighbors.color) : (y.style.background = this.FINAL_CONFIG.style.rows.odd.selectedNeighbors.backgroundColor, y.style.color = this.FINAL_CONFIG.style.rows.odd.selectedNeighbors.color);
714
- }), t.currentTarget.dataset.row === "odd" ? (t.currentTarget.style.background = this.FINAL_CONFIG.style.rows.odd.selectedCell.backgroundColor, t.currentTarget.style.color = this.FINAL_CONFIG.style.rows.odd.selectedCell.color) : (t.currentTarget.style.background = this.FINAL_CONFIG.style.rows.even.selectedCell.backgroundColor, t.currentTarget.style.color = this.FINAL_CONFIG.style.rows.even.selectedCell.color)), this.currentSelectionSpan.rows = this.currentSelectionSpan.rows.sort((y, f) => y.index - f.index), this.chart.type === this.constants.DONUT && this.currentSelectionSpan.rows.length > 0 && this.applyDonutOption();
720
+ }), Array.from(e.children).forEach((m, f) => {
721
+ m.dataset.row === "even" ? (m.style.background = this.FINAL_CONFIG.style.rows.even.selectedNeighbors.backgroundColor, m.style.color = this.FINAL_CONFIG.style.rows.even.selectedNeighbors.color) : (m.style.background = this.FINAL_CONFIG.style.rows.odd.selectedNeighbors.backgroundColor, m.style.color = this.FINAL_CONFIG.style.rows.odd.selectedNeighbors.color);
722
+ }), s.currentTarget.dataset.row === "odd" ? (s.currentTarget.style.background = this.FINAL_CONFIG.style.rows.odd.selectedCell.backgroundColor, s.currentTarget.style.color = this.FINAL_CONFIG.style.rows.odd.selectedCell.color) : (s.currentTarget.style.background = this.FINAL_CONFIG.style.rows.even.selectedCell.backgroundColor, s.currentTarget.style.color = this.FINAL_CONFIG.style.rows.even.selectedCell.color)), this.currentSelectionSpan.rows = this.currentSelectionSpan.rows.sort((m, f) => m.index - f.index), this.chart.type === this.constants.DONUT && this.currentSelectionSpan.rows.length > 0 && this.applyDonutOption();
715
723
  },
716
724
  setFilterDatesIndexes(n) {
717
725
  this.filteredDatesIndexes[n] = !(this.getDatesRange(n).from === this.dates[n].from && this.getDatesRange(n).to === this.dates[n].to);
@@ -721,44 +729,44 @@ Provide an array of objects of type:
721
729
  this.filterByRange(this.bodyCopy, n);
722
730
  }), Object.keys(this.sorts).forEach((n) => {
723
731
  this.sortByNumber(this.bodyCopy, n);
724
- }), this.currentFilter !== void 0 && this.sortByNumber(this.bodyCopy, this.currentFilter), this.dataset.header.forEach((n, s) => {
732
+ }), this.currentFilter !== void 0 && this.sortByNumber(this.bodyCopy, this.currentFilter), this.dataset.header.forEach((n, t) => {
725
733
  if (n.isPercentage) {
726
- const r = this.percentages[s].referenceIndex, i = this.bodyCopy.map((t) => t.td[r]).reduce((t, e) => t + e, 0);
727
- this.bodyCopy.forEach((t) => {
728
- t.td[s] = t.td[r] / i;
734
+ const r = this.percentages[t].referenceIndex, i = this.bodyCopy.map((s) => s.td[r]).reduce((s, e) => s + e, 0);
735
+ this.bodyCopy.forEach((s) => {
736
+ s.td[t] = s.td[r] / i;
729
737
  });
730
738
  }
731
739
  }), this.currentPage > this.pages.length - 1 && (this.currentPage = this.pages.length - 1), [-1].includes(this.currentPage) && (this.currentPage = 0), this.$forceUpdate();
732
740
  },
733
- filterByRange(n, s) {
734
- this.bodyCopy = n.filter((r) => r.td[s] >= this.rangeFilters[s].min && r[s] <= this.rangeFilters[s].max);
741
+ filterByRange(n, t) {
742
+ this.bodyCopy = n.filter((r) => r.td[t] >= this.rangeFilters[t].min && r[t] <= this.rangeFilters[t].max);
735
743
  },
736
- sortByNumber(n, s) {
737
- if (this.sorts[s] === this.constants.ASC && (n = n.sort((r, i) => r[s] - i[s])), this.sorts[s] === this.constants.DESC)
738
- n = n.sort((r, i) => i[s] - r[s]);
744
+ sortByNumber(n, t) {
745
+ if (this.sorts[t] === this.constants.ASC && (n = n.sort((r, i) => r[t] - i[t])), this.sorts[t] === this.constants.DESC)
746
+ n = n.sort((r, i) => i[t] - r[t]);
739
747
  else
740
748
  return 0;
741
749
  },
742
- sortTh(n, s) {
750
+ sortTh(n, t) {
743
751
  this.currentFilter = n;
744
- const r = s.currentTarget;
752
+ const r = t.currentTarget;
745
753
  clearTimeout(this.buttonTimeout), r.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
746
754
  r.classList.remove("clicked");
747
755
  }, 200), this.sorts[n] === 1 ? this.sorts[n] = this.constants.DESC : this.sorts[n] = this.constants.ASC, this.sortBody();
748
756
  },
749
757
  stringToNumber(n) {
750
- let s = 0;
758
+ let t = 0;
751
759
  for (let r = 0; r < n.length; r += 1)
752
- s += n.charCodeAt(r);
753
- return s;
760
+ t += n.charCodeAt(r);
761
+ return t;
754
762
  },
755
- toggleMultiselect(n, s, r) {
763
+ toggleMultiselect(n, t, r) {
756
764
  const i = r.currentTarget;
757
765
  clearTimeout(this.buttonTimeout), i.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
758
766
  i.classList.remove("clicked");
759
767
  }, 200);
760
- const t = document.getElementById(`th_dropdown_${n}`);
761
- t.dataset.isOpen === "false" ? t.dataset.isOpen = "true" : t.dataset.isOpen = "false";
768
+ const s = document.getElementById(`th_dropdown_${n}`);
769
+ s.dataset.isOpen === "false" ? s.dataset.isOpen = "true" : s.dataset.isOpen = "false";
762
770
  },
763
771
  updateCurrentPage(n) {
764
772
  this.resetSelection(), !n || !n.target.value ? this.currentPage = 0 : this.currentPage = Number(n.target.value), this.onPageChange();
@@ -770,17 +778,17 @@ Provide an array of objects of type:
770
778
  calcDonutMarkerLabelPositionX(n) {
771
779
  return n.center.endX + this.calcMarkerOffset(n, 50);
772
780
  },
773
- calcMarkerOffset(n, s) {
774
- return n.center.endX - s >= 0 ? 3 : -2;
781
+ calcMarkerOffset(n, t) {
782
+ return n.center.endX - t >= 0 ? 3 : -2;
775
783
  },
776
- displayArcPercentage(n, s) {
777
- return isNaN(n.value / this.sumValues(s)) ? 0 : (n.value / this.sumValues(s) * 100).toFixed(0) + "%";
784
+ displayArcPercentage(n, t) {
785
+ return isNaN(n.value / this.sumValues(t)) ? 0 : (n.value / this.sumValues(t) * 100).toFixed(0) + "%";
778
786
  },
779
787
  isArcBigEnough(n) {
780
788
  return n.proportion * 100 > 3;
781
789
  },
782
790
  sumValues(n) {
783
- return [...n].map((s) => s.value).reduce((s, r) => s + r, 0);
791
+ return [...n].map((t) => t.value).reduce((t, r) => t + r, 0);
784
792
  },
785
793
  // CHART DRAGGING METHODS
786
794
  closeDragElement() {
@@ -797,114 +805,140 @@ Provide an array of objects of type:
797
805
  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);
798
806
  }
799
807
  }
800
- }, ne = {
808
+ }, re = {
801
809
  key: 0,
802
810
  class: "vue-ui-table-export-hub"
803
- }, re = ["innerHTML"], oe = ["data-is-open"], le = { class: "vue-ui-table-export-hub-options" }, ae = { class: "vue-ui-table-export-hub-option-wrapper" }, ie = { class: "label" }, ce = ["innerHTML"], ue = { class: "vue-ui-table-export-hub-option-wrapper" }, he = { class: "label" }, de = ["innerHTML"], ge = { class: "vue-ui-table" }, ye = { key: 0 }, me = { key: 0 }, be = { key: 1 }, fe = {
811
+ }, 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 = {
804
812
  key: 0,
805
813
  style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
806
- }, Ne = ["innerHTML"], pe = {
814
+ }, Ie = ["innerHTML"], Fe = {
807
815
  key: 0,
808
816
  style: { "margin-left": "3px" }
809
- }, Ce = { key: 0 }, Ie = { class: "th-filter" }, Fe = {
817
+ }, ve = { key: 0 }, we = { class: "th-filter" }, _e = {
810
818
  key: 0,
811
819
  class: "th-date"
812
- }, ve = { class: "date-wrapper--inputs" }, we = { class: "date-fieldset" }, _e = ["for"], ke = ["id", "onUpdate:modelValue", "onInput"], Oe = { class: "date-fieldset" }, Se = ["for"], Le = ["id", "onUpdate:modelValue", "onInput"], Ae = { class: "date-wrapper--button" }, Me = ["onClick"], De = ["innerHTML"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["onClick", "disabled"], Ee = ["placeholder", "onUpdate:modelValue", "name"], Pe = ["onClick"], Be = ["innerHTML"], He = ["innerHTML"], Re = ["innerHTML"], ze = ["onClick", "innerHTML"], Ue = ["innerHTML"], Ve = {
820
+ }, 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" }, xe = ["onClick"], Te = ["innerHTML"], Ee = ["innerHTML"], Pe = ["innerHTML"], Be = ["onClick", "disabled"], He = ["placeholder", "onUpdate:modelValue", "name"], Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "innerHTML"], je = ["innerHTML"], Ye = {
813
821
  key: 5,
814
822
  class: "th-range-filter"
815
- }, Xe = ["for"], je = ["id", "max", "min", "onUpdate:modelValue"], Ye = ["id", "max", "min", "onUpdate:modelValue"], We = ["for"], Je = ["onClick", "disabled"], Ke = ["id"], Ze = ["onClick"], qe = ["onClick", "onKeyup"], Qe = ["innerHTML", "onClick", "onKeyup"], $e = ["data-row"], et = ["data-row"], tt = ["data-row", "onClick", "onKeyup", "id"], st = ["innerHTML"], nt = { key: 1 }, rt = { key: 2 }, ot = { key: 5 }, lt = ["innerHTML"], at = { key: 0 }, it = { style: { "margin-left": "12px" } }, ct = { class: "format-num" }, ut = { style: { "margin-left": "12px" } }, ht = {
823
+ }, 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 = {
816
824
  key: 0,
817
825
  class: "format-num"
818
- }, dt = {
826
+ }, yt = {
819
827
  key: 1,
820
828
  class: "format-num"
821
- }, gt = { key: 2 }, yt = { style: { "margin-left": "12px" } }, mt = {
829
+ }, bt = { key: 2 }, ft = { style: { "margin-left": "12px" } }, pt = {
822
830
  key: 0,
823
831
  class: "format-num"
824
- }, bt = {
832
+ }, Nt = {
825
833
  key: 1,
826
834
  class: "format-num"
827
- }, ft = { key: 2 }, Nt = {
835
+ }, Ct = { key: 2 }, It = {
828
836
  key: 1,
829
837
  class: "vue-ui-table-paginator format-num"
830
- }, pt = {
838
+ }, Ft = {
831
839
  key: 2,
832
840
  class: "vue-ui-table-size-warning"
833
- }, Ct = ["innerHTML"], It = {
841
+ }, vt = ["innerHTML"], wt = {
834
842
  key: 4,
835
843
  class: "vue-ui-table-pagination format-num"
836
- }, Ft = ["innerHTML", "disabled"], vt = ["disabled"], wt = {
844
+ }, _t = ["innerHTML", "disabled"], kt = ["disabled"], Ot = {
837
845
  key: 0,
838
846
  class: "vue-ui-table-page-scroller-wrapper"
839
- }, _t = {
847
+ }, St = {
840
848
  for: "pageScroller",
841
849
  style: { "font-size": "14px" }
842
- }, kt = ["max", "value"], Ot = { key: 1 }, St = ["disabled"], Lt = ["innerHTML", "disabled"], At = ["innerHTML"], Mt = { class: "chart-modal-options" }, Dt = ["innerHTML"], Gt = ["innerHTML"], Tt = ["innerHTML"], xt = {
850
+ }, Lt = ["max", "value"], At = { key: 1 }, Mt = ["disabled"], Dt = ["innerHTML", "disabled"], Gt = ["innerHTML"], xt = { class: "chart-modal-options" }, Tt = ["innerHTML"], Et = ["innerHTML"], Pt = ["innerHTML"], Bt = {
843
851
  style: { width: "100%", height: "fit-content" },
844
852
  ref: "chartModal"
845
- }, Et = { class: "vue-ui-table-fieldset" }, Pt = { class: "vue-ui-table-fieldset-wrapper" }, Bt = ["name", "id", "checked", "onInput"], Ht = ["for"], Rt = ["disabled"], zt = ["innerHTML"], Ut = { style: { width: "100%", "margin-bottom": "12px" } }, Vt = {
853
+ }, Ht = { class: "vue-ui-table-fieldset" }, Rt = { class: "vue-ui-table-fieldset-wrapper" }, zt = ["name", "id", "checked", "onInput"], Ut = ["for"], Vt = ["disabled"], Xt = ["innerHTML"], jt = { style: { width: "100%", "margin-bottom": "12px" } }, Yt = {
846
854
  key: 2,
847
855
  style: { width: "100%", "margin-bottom": "32px" }
848
856
  };
849
- function Xt(n, s, r, i, t, e) {
850
- const y = x("VueUiXy"), f = x("VueUiDonut");
857
+ function Wt(n, t, r, i, s, e) {
858
+ const m = D("BaseIcon"), f = D("VueUiXy"), _ = D("VueUiDonut");
851
859
  return c(), u("div", {
852
860
  class: "vue-ui-table-main",
853
861
  style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
854
862
  }, [
855
- e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", ne, [
863
+ e.FINAL_CONFIG.style.exportMenu.show ? (c(), u("div", re, [
856
864
  a("button", {
857
- onClick: s[0] || (s[0] = (l) => t.isExportRequest = !t.isExportRequest),
865
+ onClick: t[0] || (t[0] = (l) => s.isExportRequest = !s.isExportRequest),
858
866
  innerHTML: e.icons.export,
859
867
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
860
- }, null, 12, re),
868
+ }, null, 12, oe),
861
869
  a("div", {
862
870
  class: "vue-ui-table-export-hub-dropdown",
863
- "data-is-open": t.isExportRequest || "false",
871
+ "data-is-open": s.isExportRequest || "false",
864
872
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
865
873
  }, [
866
- s[25] || (s[25] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
874
+ t[28] || (t[28] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
867
875
  a("button", {
868
876
  class: "close-dropdown",
869
- onClick: s[1] || (s[1] = (l) => t.isExportRequest = !1),
877
+ onClick: t[1] || (t[1] = (l) => s.isExportRequest = !1),
870
878
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
871
879
  }, " ✖ ", 4),
872
- a("div", le, [
873
- a("div", ae, [
874
- a("div", ie, d(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + d(t.bodyCopy.length) + ") ", 1),
880
+ a("div", ae, [
881
+ a("div", ie, [
882
+ a("div", ce, d(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + d(s.bodyCopy.length) + ") ", 1),
875
883
  a("button", {
876
884
  id: "exportAll",
877
- onClick: s[2] || (s[2] = (l) => e.createXls("all")),
885
+ onClick: t[2] || (t[2] = (l) => e.createXls("all")),
878
886
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
879
887
  }, [
880
888
  a("div", {
881
889
  innerHTML: e.icons.fileDownload
882
- }, null, 8, ce),
890
+ }, null, 8, ue),
883
891
  a("span", null, d(e.FINAL_CONFIG.translations.exportAllButton), 1)
884
892
  ], 4)
885
893
  ]),
886
- a("div", ue, [
887
- a("div", he, d(e.FINAL_CONFIG.translations.exportPageLabel), 1),
894
+ a("div", he, [
895
+ a("div", de, d(e.FINAL_CONFIG.translations.exportPageLabel), 1),
888
896
  a("button", {
889
897
  id: "exportPage",
890
- onClick: s[3] || (s[3] = (l) => e.createXls("page")),
898
+ onClick: t[3] || (t[3] = (l) => e.createXls("page")),
891
899
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
892
900
  }, [
893
901
  a("div", {
894
902
  innerHTML: e.icons.fileDownload
895
- }, null, 8, de),
903
+ }, null, 8, ge),
896
904
  a("span", null, d(e.FINAL_CONFIG.translations.exportPageButton), 1)
897
905
  ], 4)
906
+ ]),
907
+ a("div", me, [
908
+ a("label", ye, [
909
+ w(d(e.FINAL_CONFIG.translations.filename) + " ", 1),
910
+ O(a("input", {
911
+ ref: "filenameInputRef",
912
+ onKeydown: t[4] || (t[4] = S(L(() => {
913
+ }, ["stop"]), ["space"])),
914
+ pattern: ".*",
915
+ class: "vue-ui-table-dialog-input",
916
+ type: "text",
917
+ "onUpdate:modelValue": t[5] || (t[5] = (l) => s.filename = l)
918
+ }, null, 544), [
919
+ [A, s.filename]
920
+ ])
921
+ ]),
922
+ a("button", {
923
+ class: "vue-ui-table-dialog-field-button",
924
+ onClick: t[6] || (t[6] = (l) => s.filename = "")
925
+ }, [
926
+ E(m, {
927
+ name: "close",
928
+ stroke: e.FINAL_CONFIG.style.exportMenu.color,
929
+ size: 18
930
+ }, null, 8, ["stroke"])
931
+ ])
898
932
  ])
899
933
  ])
900
- ], 12, oe)
934
+ ], 12, le)
901
935
  ])) : b("", !0),
902
936
  a("div", {
903
937
  class: "vue-ui-table__wrapper",
904
938
  style: g(`max-height:${e.FINAL_CONFIG.maxHeight}px`),
905
939
  ref: "tableWrapper"
906
940
  }, [
907
- a("table", ge, [
941
+ a("table", be, [
908
942
  a("thead", {
909
943
  id: "tableHead",
910
944
  class: "vue-ui-table__head",
@@ -914,39 +948,39 @@ function Xt(n, s, r, i, t, e) {
914
948
  })
915
949
  }, [
916
950
  a("tr", null, [
917
- s[26] || (s[26] = a("th", { class: "invisible-cell" }, null, -1)),
918
- (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
951
+ t[29] || (t[29] = a("th", { class: "invisible-cell" }, null, -1)),
952
+ (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
919
953
  key: `thead_${o}`,
920
954
  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}`),
921
- class: p({ "th-has-nan": t.hasNaN[o] })
955
+ class: N({ "th-has-nan": s.hasNaN[o] })
922
956
  }, [
923
- e.hasNumericTypes && ([t.constants.TEXT, t.constants.DATE].includes(l.type) || l.isPercentage) ? (c(), u("span", ye, [
957
+ e.hasNumericTypes && ([s.constants.TEXT, s.constants.DATE].includes(l.type) || l.isPercentage) ? (c(), u("span", fe, [
924
958
  w(d(l.name) + " ", 1),
925
- l.isPercentage ? (c(), u("span", me, " / " + d(l.percentageTo), 1)) : b("", !0)
926
- ])) : (c(), u("span", be, d(l.name), 1))
959
+ l.isPercentage ? (c(), u("span", pe, " / " + d(l.percentageTo), 1)) : b("", !0)
960
+ ])) : (c(), u("span", Ne, d(l.name), 1))
927
961
  ], 6))), 128))
928
962
  ]),
929
- e.hasNumericTypes ? (c(), u(I, { key: 0 }, [
963
+ e.hasNumericTypes ? (c(), u(F, { key: 0 }, [
930
964
  a("tr", null, [
931
- s[27] || (s[27] = a("th", { class: "invisible-cell" }, null, -1)),
932
- (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
965
+ t[30] || (t[30] = a("th", { class: "invisible-cell" }, null, -1)),
966
+ (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
933
967
  key: `thead_${o}`,
934
- class: p({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
968
+ class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
935
969
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
936
970
  }, [
937
- l.sum && !t.hasNaN[o] ? (c(), u("span", fe, [
971
+ l.sum && !s.hasNaN[o] ? (c(), u("span", Ce, [
938
972
  a("span", {
939
973
  innerHTML: e.icons.sum,
940
974
  style: { "margin-bottom": "-4px", "margin-right": "3px" }
941
- }, null, 8, Ne),
975
+ }, null, 8, Ie),
942
976
  w(" " + d(e.dataLabel({
943
977
  p: l.prefix,
944
978
  v: Number(e.getSum(o)),
945
979
  s: l.suffix,
946
980
  r: l.decimals
947
981
  })) + " ", 1),
948
- t.percentages[o] && l.percentageTo && !l.isPercentage ? (c(), u("span", pe, " (" + d(isNaN(e.getSum(o) / e.getSum(t.percentages[o].referenceIndex)) ? "-" : e.dataLabel({
949
- v: e.getSum(o) / e.getSum(t.percentages[o].referenceIndex) * 100,
982
+ s.percentages[o] && l.percentageTo && !l.isPercentage ? (c(), u("span", Fe, " (" + d(isNaN(e.getSum(o) / e.getSum(s.percentages[o].referenceIndex)) ? "-" : e.dataLabel({
983
+ v: e.getSum(o) / e.getSum(s.percentages[o].referenceIndex) * 100,
950
984
  s: "%",
951
985
  r: l.decimals
952
986
  })) + ") ", 1)) : b("", !0)
@@ -954,13 +988,13 @@ function Xt(n, s, r, i, t, e) {
954
988
  ], 6))), 128))
955
989
  ]),
956
990
  a("tr", null, [
957
- s[28] || (s[28] = a("th", { class: "invisible-cell" }, null, -1)),
958
- (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
991
+ t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
992
+ (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
959
993
  key: `thead_${o}`,
960
- class: p({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
994
+ class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
961
995
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
962
996
  }, [
963
- l.average && !t.hasNaN[o] ? (c(), u("span", Ce, " ~ " + d(isNaN(e.getAverage(o)) ? "" : e.dataLabel({
997
+ l.average && !s.hasNaN[o] ? (c(), u("span", ve, " ~ " + d(isNaN(e.getAverage(o)) ? "" : e.dataLabel({
964
998
  p: l.prefix,
965
999
  v: Number(e.getAverage(o)),
966
1000
  s: l.suffix,
@@ -969,136 +1003,136 @@ function Xt(n, s, r, i, t, e) {
969
1003
  ], 6))), 128))
970
1004
  ]),
971
1005
  a("tr", null, [
972
- s[31] || (s[31] = a("th", { class: "invisible-cell" }, null, -1)),
973
- (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
1006
+ t[34] || (t[34] = a("th", { class: "invisible-cell" }, null, -1)),
1007
+ (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
974
1008
  key: `thead_${o}`,
975
- class: p({ "th-has-nan": t.hasNaN[o] }),
1009
+ class: N({ "th-has-nan": s.hasNaN[o] }),
976
1010
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
977
1011
  }, [
978
- a("div", Ie, [
979
- l.type === t.constants.DATE && t.dates[o] ? (c(), u("div", Fe, [
980
- a("div", ve, [
981
- a("div", we, [
1012
+ a("div", we, [
1013
+ l.type === s.constants.DATE && s.dates[o] ? (c(), u("div", _e, [
1014
+ a("div", ke, [
1015
+ a("div", Oe, [
982
1016
  a("label", {
983
1017
  for: `from_${o}`
984
- }, d(e.FINAL_CONFIG.translations.from), 9, _e),
1018
+ }, d(e.FINAL_CONFIG.translations.from), 9, Se),
985
1019
  O(a("input", {
986
1020
  id: `from_${o}`,
987
1021
  type: "date",
988
- "onUpdate:modelValue": (h) => t.dates[o].from = h,
1022
+ "onUpdate:modelValue": (h) => s.dates[o].from = h,
989
1023
  onInput: (h) => {
990
1024
  e.filterBody(), e.setFilterDatesIndexes(o);
991
1025
  },
992
1026
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
993
- }, null, 44, ke), [
994
- [S, t.dates[o].from]
1027
+ }, null, 44, Le), [
1028
+ [A, s.dates[o].from]
995
1029
  ])
996
1030
  ]),
997
- a("div", Oe, [
1031
+ a("div", Ae, [
998
1032
  a("label", {
999
1033
  for: `to_${o}`
1000
- }, d(e.FINAL_CONFIG.translations.to), 9, Se),
1034
+ }, d(e.FINAL_CONFIG.translations.to), 9, Me),
1001
1035
  O(a("input", {
1002
1036
  id: `to_${o}`,
1003
1037
  type: "date",
1004
- "onUpdate:modelValue": (h) => t.dates[o].to = h,
1038
+ "onUpdate:modelValue": (h) => s.dates[o].to = h,
1005
1039
  onInput: (h) => {
1006
1040
  e.filterBody(), e.setFilterDatesIndexes(o);
1007
1041
  },
1008
1042
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1009
- }, null, 44, Le), [
1010
- [S, t.dates[o].to]
1043
+ }, null, 44, De), [
1044
+ [A, s.dates[o].to]
1011
1045
  ])
1012
1046
  ])
1013
1047
  ]),
1014
- a("div", Ae, [
1048
+ a("div", Ge, [
1015
1049
  l.isSort ? (c(), u("button", {
1016
1050
  key: 0,
1017
1051
  onClick: (h) => e.sortTh(o, h),
1018
- class: p({ "th-button-active": [t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) }),
1019
- style: g(`background:${[t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1052
+ class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1053
+ 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}`)
1020
1054
  }, [
1021
- t.sorts[o] === t.constants.ASC ? (c(), u("span", {
1055
+ s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1022
1056
  key: 0,
1023
- innerHTML: [t.constants.DATE].includes(l.type) ? e.icons.sort09 : e.icons.sortAZ
1024
- }, null, 8, De)) : t.sorts[o] === t.constants.DESC ? (c(), u("span", {
1057
+ innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort09 : e.icons.sortAZ
1058
+ }, null, 8, Te)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1025
1059
  key: 1,
1026
- innerHTML: [t.constants.DATE].includes(l.type) ? e.icons.sort90 : e.icons.sortZA
1027
- }, null, 8, Ge)) : (c(), u("span", {
1060
+ innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort90 : e.icons.sortZA
1061
+ }, null, 8, Ee)) : (c(), u("span", {
1028
1062
  key: 2,
1029
1063
  innerHTML: e.icons.arrowSort
1030
- }, null, 8, Te))
1031
- ], 14, Me)) : b("", !0),
1064
+ }, null, 8, Pe))
1065
+ ], 14, xe)) : b("", !0),
1032
1066
  a("button", {
1033
1067
  onClick: (h) => {
1034
1068
  e.resetDates(o), e.resetFilter(o, l, h);
1035
1069
  },
1036
- disabled: !t.filteredDatesIndexes[o] && e.isResetDisabled(o, l),
1070
+ disabled: !s.filteredDatesIndexes[o] && e.isResetDisabled(o, l),
1037
1071
  class: "th-reset"
1038
- }, " ✖ ", 8, xe)
1072
+ }, " ✖ ", 8, Be)
1039
1073
  ])
1040
1074
  ])) : b("", !0),
1041
1075
  l.isSearch ? O((c(), u("input", {
1042
1076
  key: 1,
1043
1077
  placeholder: e.FINAL_CONFIG.translations.inputPlaceholder,
1044
- "onUpdate:modelValue": (h) => t.searches[o] = h,
1045
- onInput: s[4] || (s[4] = (h) => e.debounce(e.filterBody, 400)),
1078
+ "onUpdate:modelValue": (h) => s.searches[o] = h,
1079
+ onInput: t[7] || (t[7] = (h) => e.debounce(e.filterBody, 400)),
1046
1080
  name: `search_${o}`,
1047
1081
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1048
- }, null, 44, Ee)), [
1049
- [S, t.searches[o]]
1082
+ }, null, 44, He)), [
1083
+ [A, s.searches[o]]
1050
1084
  ]) : b("", !0),
1051
- !t.hasNaN[o] && l.isSort && l.type !== t.constants.DATE ? (c(), u("button", {
1085
+ !s.hasNaN[o] && l.isSort && l.type !== s.constants.DATE ? (c(), u("button", {
1052
1086
  key: 2,
1053
1087
  onClick: (h) => e.sortTh(o, h),
1054
- class: p({ "th-button-active": [t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) }),
1055
- style: g(`background:${[t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[t.constants.DESC, t.constants.ASC].includes(t.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1088
+ class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1089
+ 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}`)
1056
1090
  }, [
1057
- t.sorts[o] === t.constants.ASC ? (c(), u("span", {
1091
+ s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1058
1092
  key: 0,
1059
- innerHTML: [t.constants.NUMERIC].includes(l.type) ? e.icons.sort09 : e.icons.sortZA
1060
- }, null, 8, Be)) : t.sorts[o] === t.constants.DESC ? (c(), u("span", {
1093
+ innerHTML: [s.constants.NUMERIC].includes(l.type) ? e.icons.sort09 : e.icons.sortZA
1094
+ }, null, 8, ze)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1061
1095
  key: 1,
1062
- innerHTML: [t.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
1063
- }, null, 8, He)) : (c(), u("span", {
1096
+ innerHTML: [s.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
1097
+ }, null, 8, Ue)) : (c(), u("span", {
1064
1098
  key: 2,
1065
1099
  innerHTML: e.icons.arrowSort
1066
- }, null, 8, Re))
1067
- ], 14, Pe)) : b("", !0),
1100
+ }, null, 8, Ve))
1101
+ ], 14, Re)) : b("", !0),
1068
1102
  l.isMultiselect ? (c(), u("button", {
1069
1103
  key: 3,
1070
1104
  onClick: (h) => e.toggleMultiselect(o, l, h),
1071
1105
  innerHTML: e.icons.filter,
1072
- class: p({ "th-button-active": t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length }),
1073
- style: g(`background:${t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1074
- }, null, 14, ze)) : b("", !0),
1075
- t.currentSelectionSpan.col === o && e.canChart ? (c(), u("button", {
1106
+ class: N({ "th-button-active": s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length }),
1107
+ 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}`)
1108
+ }, null, 14, Xe)) : b("", !0),
1109
+ s.currentSelectionSpan.col === o && e.canChart ? (c(), u("button", {
1076
1110
  key: 4,
1077
- onClick: s[5] || (s[5] = (h) => t.showChart = !t.showChart),
1111
+ onClick: t[8] || (t[8] = (h) => s.showChart = !s.showChart),
1078
1112
  innerHTML: e.icons.chart,
1079
- class: p({ "th-button-active": t.showChart }),
1080
- style: g(`background:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1081
- }, null, 14, Ue)) : b("", !0),
1082
- l.rangeFilter && t.rangeFilters[o] && !t.hasNaN[o] ? (c(), u("div", Ve, [
1113
+ class: N({ "th-button-active": s.showChart }),
1114
+ style: g(`background:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1115
+ }, null, 14, je)) : b("", !0),
1116
+ l.rangeFilter && s.rangeFilters[o] && !s.hasNaN[o] ? (c(), u("div", Ye, [
1083
1117
  a("label", {
1084
1118
  for: `rangeMin${o}`
1085
- }, [...s[29] || (s[29] = [
1119
+ }, [...t[32] || (t[32] = [
1086
1120
  a("span", { style: { color: "grey" } }, "ᒥ", -1),
1087
1121
  w(" min ", -1),
1088
1122
  a("span", { style: { color: "grey" } }, "ᒣ", -1)
1089
- ])], 8, Xe),
1123
+ ])], 8, We),
1090
1124
  O(a("input", {
1091
1125
  type: "number",
1092
1126
  id: `rangeMin${o}`,
1093
- max: t.immutableRangeFilters[o].max,
1094
- min: t.immutableRangeFilters[o].min,
1095
- "onUpdate:modelValue": (h) => t.rangeFilters[o].min = h,
1096
- onInput: s[6] || (s[6] = (h) => e.debounce(e.filterBody, 400)),
1127
+ max: s.immutableRangeFilters[o].max,
1128
+ min: s.immutableRangeFilters[o].min,
1129
+ "onUpdate:modelValue": (h) => s.rangeFilters[o].min = h,
1130
+ onInput: t[9] || (t[9] = (h) => e.debounce(e.filterBody, 400)),
1097
1131
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1098
- }, null, 44, je), [
1132
+ }, null, 44, Je), [
1099
1133
  [
1100
- S,
1101
- t.rangeFilters[o].min,
1134
+ A,
1135
+ s.rangeFilters[o].min,
1102
1136
  void 0,
1103
1137
  { number: !0 }
1104
1138
  ]
@@ -1106,33 +1140,33 @@ function Xt(n, s, r, i, t, e) {
1106
1140
  O(a("input", {
1107
1141
  type: "number",
1108
1142
  id: `rangeMax${o}`,
1109
- max: t.immutableRangeFilters[o].max,
1110
- min: t.immutableRangeFilters[o].min,
1111
- "onUpdate:modelValue": (h) => t.rangeFilters[o].max = h,
1112
- onInput: s[7] || (s[7] = (h) => e.debounce(e.filterBody, 400)),
1143
+ max: s.immutableRangeFilters[o].max,
1144
+ min: s.immutableRangeFilters[o].min,
1145
+ "onUpdate:modelValue": (h) => s.rangeFilters[o].max = h,
1146
+ onInput: t[10] || (t[10] = (h) => e.debounce(e.filterBody, 400)),
1113
1147
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1114
- }, null, 44, Ye), [
1148
+ }, null, 44, Ke), [
1115
1149
  [
1116
- S,
1117
- t.rangeFilters[o].max,
1150
+ A,
1151
+ s.rangeFilters[o].max,
1118
1152
  void 0,
1119
1153
  { number: !0 }
1120
1154
  ]
1121
1155
  ]),
1122
1156
  a("label", {
1123
1157
  for: `rangeMax${o}`
1124
- }, [...s[30] || (s[30] = [
1158
+ }, [...t[33] || (t[33] = [
1125
1159
  a("span", { style: { color: "grey" } }, "ᒪ", -1),
1126
1160
  w(" max ", -1),
1127
1161
  a("span", { style: { color: "grey" } }, "ᒧ", -1)
1128
- ])], 8, We)
1162
+ ])], 8, Ze)
1129
1163
  ])) : b("", !0),
1130
1164
  e.canResetColumn(o, l) ? (c(), u("button", {
1131
1165
  key: 6,
1132
1166
  onClick: (h) => e.resetFilter(o, l, h),
1133
1167
  disabled: e.isResetDisabled(o, l),
1134
1168
  class: "th-reset"
1135
- }, " ✖ ", 8, Je)) : b("", !0),
1169
+ }, " ✖ ", 8, qe)) : b("", !0),
1136
1170
  l.isMultiselect ? (c(), u("div", {
1137
1171
  key: 7,
1138
1172
  class: "th-dropdown",
@@ -1144,14 +1178,14 @@ function Xt(n, s, r, i, t, e) {
1144
1178
  class: "close-dropdown",
1145
1179
  onClick: (h) => e.toggleMultiselect(o, l, h),
1146
1180
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color}`)
1147
- }, " ✖ ", 12, Ze),
1148
- (c(!0), u(I, null, _(e.getDropdownOptions(o), (h, m) => (c(), u("span", {
1181
+ }, " ✖ ", 12, $e),
1182
+ (c(!0), u(F, null, k(e.getDropdownOptions(o), (h, y) => (c(), u("span", {
1149
1183
  class: "th-option",
1150
- key: `th_option_${o}_${m}`,
1151
- onClick: (F) => e.selectDropdownOption(h, o),
1184
+ key: `th_option_${o}_${y}`,
1185
+ onClick: (C) => e.selectDropdownOption(h, o),
1152
1186
  onKeyup: [
1153
- L((F) => e.selectDropdownOption(h, o), ["enter"]),
1154
- L((F) => e.selectDropdownOption(h, o), ["space"])
1187
+ S((C) => e.selectDropdownOption(h, o), ["enter"]),
1188
+ S((C) => e.selectDropdownOption(h, o), ["space"])
1155
1189
  ],
1156
1190
  style: g(`opacity:${e.isDropdownOptionSelected(h, o) ? 1 : 0.5}`),
1157
1191
  tabindex: "0"
@@ -1166,199 +1200,199 @@ function Xt(n, s, r, i, t, e) {
1166
1200
  class: "th-icon-red"
1167
1201
  }, d(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1168
1202
  a("span", null, d(h), 1)
1169
- ], 44, qe))), 128))
1170
- ], 12, Ke)) : b("", !0)
1203
+ ], 44, et))), 128))
1204
+ ], 12, Qe)) : b("", !0)
1171
1205
  ])
1172
1206
  ], 6))), 128))
1173
1207
  ])
1174
1208
  ], 64)) : b("", !0),
1175
1209
  a("tr", null, [
1176
- s[32] || (s[32] = a("th", { class: "invisible-cell" }, null, -1)),
1177
- (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
1210
+ t[35] || (t[35] = a("th", { class: "invisible-cell" }, null, -1)),
1211
+ (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1178
1212
  key: `col_selector_${o}`,
1179
- class: p({ "vue-ui-table-col-selector": !t.hasNaN[o], "th-has-nan": t.hasNaN[o] }),
1180
- style: g(`background:${o === t.selectedColumn && !t.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.backgroundColor : e.FINAL_CONFIG.style.th.backgroundColor};color:${o === t.selectedColumn && !t.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.color : e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
1213
+ class: N({ "vue-ui-table-col-selector": !s.hasNaN[o], "th-has-nan": s.hasNaN[o] }),
1214
+ 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}`)
1181
1215
  }, [
1182
- t.hasNaN[o] ? b("", !0) : (c(), u("div", {
1216
+ s.hasNaN[o] ? b("", !0) : (c(), u("div", {
1183
1217
  key: 0,
1184
- innerHTML: t.tableHead[o].type === t.constants.NUMERIC ? e.icons.chevronDown : "",
1185
- class: p({ "col-selector": t.tableHead[o].type === t.constants.NUMERIC }),
1218
+ innerHTML: s.tableHead[o].type === s.constants.NUMERIC ? e.icons.chevronDown : "",
1219
+ class: N({ "col-selector": s.tableHead[o].type === s.constants.NUMERIC }),
1186
1220
  tabindex: "0",
1187
- onClick: A((h) => e.selectColumn(o), ["stop"]),
1188
- onKeyup: L((h) => e.selectColumn(o), ["enter"])
1189
- }, null, 42, Qe))
1221
+ onClick: L((h) => e.selectColumn(o), ["stop"]),
1222
+ onKeyup: S((h) => e.selectColumn(o), ["enter"])
1223
+ }, null, 42, tt))
1190
1224
  ], 6))), 128))
1191
1225
  ])
1192
1226
  ], 4),
1193
1227
  a("tbody", {
1194
- onClick: s[8] || (s[8] = (...l) => e.closeAllDropdowns && e.closeAllDropdowns(...l)),
1195
- onKeydown: s[9] || (s[9] = (l) => e.navigateCell(l))
1228
+ onClick: t[11] || (t[11] = (...l) => e.closeAllDropdowns && e.closeAllDropdowns(...l)),
1229
+ onKeydown: t[12] || (t[12] = (l) => e.navigateCell(l))
1196
1230
  }, [
1197
- (c(!0), u(I, null, _(e.visibleRows, (l, o) => (c(), u("tr", {
1231
+ (c(!0), u(F, null, k(e.visibleRows, (l, o) => (c(), u("tr", {
1198
1232
  key: `tbody_${o}`,
1199
1233
  "data-row": o % 2 === 0 ? "odd" : "even",
1200
- class: p(`tr_${t.uid}`),
1234
+ class: N(`tr_${s.uid}`),
1201
1235
  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}`}`)
1202
1236
  }, [
1203
1237
  a("td", {
1204
1238
  class: "vue-ui-table-td-iteration",
1205
1239
  "data-row": o % 2 === 0 ? "odd" : "even"
1206
- }, d(l.absoluteIndex + 1), 9, et),
1207
- (c(!0), u(I, null, _(l.td, (h, m) => (c(), u("td", {
1240
+ }, d(l.absoluteIndex + 1), 9, nt),
1241
+ (c(!0), u(F, null, k(l.td, (h, y) => (c(), u("td", {
1208
1242
  "data-row": o % 2 === 0 ? "odd" : "even",
1209
- key: `td_${o}_${m}`,
1210
- style: g(e.isNumeric(h) || r.dataset.header[m].type === t.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
1211
- onClick: (F) => e.selectTd({
1243
+ key: `td_${o}_${y}`,
1244
+ style: g(e.isNumeric(h) || r.dataset.header[y].type === s.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
1245
+ onClick: (C) => e.selectTd({
1212
1246
  td: h,
1213
1247
  rowIndex: o,
1214
- colIndex: m,
1215
- headerType: r.dataset.header[m].type,
1216
- event: F
1248
+ colIndex: y,
1249
+ headerType: r.dataset.header[y].type,
1250
+ event: C
1217
1251
  }),
1218
1252
  onKeyup: [
1219
- L((F) => e.selectTd({
1253
+ S((C) => e.selectTd({
1220
1254
  td: h,
1221
1255
  rowIndex: o,
1222
- colIndex: m,
1223
- headerType: r.dataset.header[m].type,
1224
- event: F
1256
+ colIndex: y,
1257
+ headerType: r.dataset.header[y].type,
1258
+ event: C
1225
1259
  }), ["enter"]),
1226
- L((F) => e.selectTd({
1260
+ S((C) => e.selectTd({
1227
1261
  td: h,
1228
1262
  rowIndex: o,
1229
- colIndex: m,
1230
- headerType: r.dataset.header[m].type,
1231
- event: F
1263
+ colIndex: y,
1264
+ headerType: r.dataset.header[y].type,
1265
+ event: C
1232
1266
  }), ["space"])
1233
1267
  ],
1234
- class: p({ "td-numeric": r.dataset.header[m].type === t.constants.NUMERIC, "td-focusable": !0, "td-has-nan": t.hasNaN[m] }),
1235
- id: `cell_${o}_${m}_${t.uid}`,
1268
+ class: N({ "td-numeric": r.dataset.header[y].type === s.constants.NUMERIC, "td-focusable": !0, "td-has-nan": s.hasNaN[y] }),
1269
+ id: `cell_${o}_${y}_${s.uid}`,
1236
1270
  tabindex: "0"
1237
1271
  }, [
1238
- l.meta && l.meta.markerIndices.includes(m) && l.meta.unicodeIcon ? (c(), u("span", {
1272
+ l.meta && l.meta.markerIndices.includes(y) && l.meta.unicodeIcon ? (c(), u("span", {
1239
1273
  key: 0,
1240
1274
  style: g(`color:${l.meta.color};margin-right:3px`),
1241
1275
  innerHTML: l.meta.unicodeIcon
1242
- }, null, 12, st)) : b("", !0),
1243
- r.dataset.header[m].type === t.constants.DATE ? (c(), u("span", nt, d(r.dataset.header[m].prefix) + " " + d(new Date(h).toLocaleString().slice(0, 10)) + " " + d(r.dataset.header[m].suffix), 1)) : r.dataset.header[m].isPercentage ? (c(), u("span", rt, d(e.dataLabel({
1276
+ }, null, 12, ot)) : b("", !0),
1277
+ r.dataset.header[y].type === s.constants.DATE ? (c(), u("span", lt, d(r.dataset.header[y].prefix) + " " + d(new Date(h).toLocaleString().slice(0, 10)) + " " + d(r.dataset.header[y].suffix), 1)) : r.dataset.header[y].isPercentage ? (c(), u("span", at, d(e.dataLabel({
1244
1278
  v: Number(h * 100),
1245
1279
  s: "%",
1246
- r: r.dataset.header[m].decimals
1247
- })), 1)) : t.percentages[m] && r.dataset.header[m].percentageTo && !r.dataset.header[m].isPercentage ? (c(), u("span", {
1280
+ r: r.dataset.header[y].decimals
1281
+ })), 1)) : s.percentages[y] && r.dataset.header[y].percentageTo && !r.dataset.header[y].isPercentage ? (c(), u("span", {
1248
1282
  key: 3,
1249
- class: p({ "td-nan": isNaN(Number(h)) })
1250
- }, d(isNaN(Number(h)) ? `${h} is not ${t.constants.NUMERIC}` : e.dataLabel({
1251
- p: r.dataset.header[m].prefix,
1283
+ class: N({ "td-nan": isNaN(Number(h)) })
1284
+ }, d(isNaN(Number(h)) ? `${h} is not ${s.constants.NUMERIC}` : e.dataLabel({
1285
+ p: r.dataset.header[y].prefix,
1252
1286
  v: Number(h),
1253
- s: r.dataset.header[m].suffix,
1254
- r: r.dataset.header[m].decimals
1287
+ s: r.dataset.header[y].suffix,
1288
+ r: r.dataset.header[y].decimals
1255
1289
  })) + " (" + d(isNaN(Number(h)) ? "" : e.dataLabel({
1256
- v: Number(h / e.getSum(t.percentages[m].referenceIndex) * 100),
1290
+ v: Number(h / e.getSum(s.percentages[y].referenceIndex) * 100),
1257
1291
  s: "%",
1258
- r: r.dataset.header[m].decimals
1259
- })) + ") ", 3)) : r.dataset.header[m].type === t.constants.NUMERIC ? (c(), u("span", {
1292
+ r: r.dataset.header[y].decimals
1293
+ })) + ") ", 3)) : r.dataset.header[y].type === s.constants.NUMERIC ? (c(), u("span", {
1260
1294
  key: 4,
1261
- class: p({ "td-nan": isNaN(Number(h)) })
1262
- }, d(isNaN(Number(h)) ? `${h} is not ${t.constants.NUMERIC}` : e.dataLabel({
1263
- p: r.dataset.header[m].prefix,
1264
- v: Number(h.toFixed(r.dataset.header[m].decimals)),
1265
- s: r.dataset.header[m].suffix,
1266
- r: r.dataset.header[m].decimals
1267
- })), 3)) : (c(), u("span", ot, d(r.dataset.header[m].prefix) + " " + d(h) + " " + d(r.dataset.header[m].suffix), 1))
1268
- ], 46, tt))), 128))
1269
- ], 14, $e))), 128))
1295
+ class: N({ "td-nan": isNaN(Number(h)) })
1296
+ }, d(isNaN(Number(h)) ? `${h} is not ${s.constants.NUMERIC}` : e.dataLabel({
1297
+ p: r.dataset.header[y].prefix,
1298
+ v: Number(h.toFixed(r.dataset.header[y].decimals)),
1299
+ s: r.dataset.header[y].suffix,
1300
+ r: r.dataset.header[y].decimals
1301
+ })), 3)) : (c(), u("span", it, d(r.dataset.header[y].prefix) + " " + d(h) + " " + d(r.dataset.header[y].suffix), 1))
1302
+ ], 46, rt))), 128))
1303
+ ], 14, st))), 128))
1270
1304
  ], 32)
1271
1305
  ])
1272
1306
  ], 4),
1273
1307
  a("div", {
1274
- class: p({ "td-selector-info": !0, "td-selector-info--active": t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length }),
1308
+ class: N({ "td-selector-info": !0, "td-selector-info--active": s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length }),
1275
1309
  style: g(`background:${e.FINAL_CONFIG.style.infoBar.backgroundColor};color:${e.FINAL_CONFIG.style.infoBar.color}`)
1276
1310
  }, [
1277
- t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length ? (c(), u(I, { key: 0 }, [
1311
+ s.currentSelectionSpan.col !== void 0 && s.currentSelectionSpan.rows.length ? (c(), u(F, { key: 0 }, [
1278
1312
  a("div", {
1279
1313
  innerHTML: e.icons.table,
1280
1314
  class: "td-selector-icon"
1281
- }, null, 8, lt),
1315
+ }, null, 8, ct),
1282
1316
  a("span", null, [
1283
1317
  a("b", null, [
1284
- w(d(r.dataset.header[t.currentSelectionSpan.col].name) + " ", 1),
1285
- r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("span", at, " / " + d(r.dataset.header[t.percentages[t.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1318
+ w(d(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1319
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("span", ut, " / " + d(r.dataset.header[s.percentages[s.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1286
1320
  ]),
1287
- a("span", it, [
1321
+ a("span", ht, [
1288
1322
  w(d(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1289
- a("b", ct, d(t.currentSelectionSpan.rows.length), 1)
1323
+ a("b", dt, d(s.currentSelectionSpan.rows.length), 1)
1290
1324
  ]),
1291
- a("span", ut, [
1325
+ a("span", gt, [
1292
1326
  w(d(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1293
- r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", ht, d(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", dt, d(r.dataset.header[t.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.sumRegular) + " " + d(r.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
1294
- r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", gt, "%")) : b("", !0)
1327
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", mt, d(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", yt, d(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.sumRegular) + " " + d(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1328
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", bt, "%")) : b("", !0)
1295
1329
  ]),
1296
- a("span", yt, [
1330
+ a("span", ft, [
1297
1331
  w(d(e.FINAL_CONFIG.translations.average) + " : ", 1),
1298
- r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", mt, d(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", bt, d(r.dataset.header[t.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.averageRegular) + " " + d(r.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
1299
- r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", ft, "%")) : b("", !0)
1332
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", pt, d(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", Nt, d(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.averageRegular) + " " + d(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1333
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ct, "%")) : b("", !0)
1300
1334
  ])
1301
1335
  ]),
1302
1336
  a("button", {
1303
- onClick: s[10] || (s[10] = (...l) => e.resetSelection && e.resetSelection(...l)),
1337
+ onClick: t[13] || (t[13] = (...l) => e.resetSelection && e.resetSelection(...l)),
1304
1338
  class: "td-selector-info-reset",
1305
1339
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
1306
1340
  }, " ✖ ", 4)
1307
1341
  ], 64)) : b("", !0)
1308
1342
  ], 6),
1309
- t.bodyCopy.length > 10 ? (c(), u("div", Nt, [
1343
+ s.bodyCopy.length > 10 ? (c(), u("div", It, [
1310
1344
  w(d(e.FINAL_CONFIG.translations.totalRows) + " : " + d(r.dataset.body.length) + " | " + d(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1311
- t.bodyCopy.length > 10 ? O((c(), u("select", {
1345
+ s.bodyCopy.length > 10 ? O((c(), u("select", {
1312
1346
  key: 0,
1313
1347
  id: "paginatorSelector",
1314
- "onUpdate:modelValue": s[11] || (s[11] = (l) => t.itemsPerPage = l),
1315
- onChange: s[12] || (s[12] = (l) => {
1348
+ "onUpdate:modelValue": t[14] || (t[14] = (l) => s.itemsPerPage = l),
1349
+ onChange: t[15] || (t[15] = (l) => {
1316
1350
  e.resetSelection(), e.onPageChange();
1317
1351
  }),
1318
1352
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1319
1353
  }, [
1320
- (c(!0), u(I, null, _(t.paginatorOptions, (l, o) => (c(), u(I, null, [
1321
- t.bodyCopy.length > l || r.dataset.body.length === l ? (c(), u("option", {
1354
+ (c(!0), u(F, null, k(s.paginatorOptions, (l, o) => (c(), u(F, null, [
1355
+ s.bodyCopy.length > l || r.dataset.body.length === l ? (c(), u("option", {
1322
1356
  key: `paginator_option_${o}`
1323
1357
  }, d(l), 1)) : b("", !0)
1324
1358
  ], 64))), 256))
1325
1359
  ], 36)), [
1326
1360
  [
1327
- $,
1328
- t.itemsPerPage,
1361
+ te,
1362
+ s.itemsPerPage,
1329
1363
  void 0,
1330
1364
  { number: !0 }
1331
1365
  ]
1332
1366
  ]) : b("", !0)
1333
1367
  ])) : b("", !0),
1334
- t.itemsPerPage >= 250 ? (c(), u("div", pt, [
1368
+ s.itemsPerPage >= 250 ? (c(), u("div", Ft, [
1335
1369
  a("span", {
1336
1370
  innerHTML: e.icons.warning
1337
- }, null, 8, Ct),
1371
+ }, null, 8, vt),
1338
1372
  w(d(e.FINAL_CONFIG.translations.sizeWarning), 1)
1339
1373
  ])) : b("", !0),
1340
1374
  e.pages.length > 1 && e.pages.length <= 10 ? (c(), u("div", {
1341
1375
  key: 3,
1342
1376
  class: "vue-ui-table-navigation-indicator",
1343
- style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${t.currentPage / (e.pages.length - 1) * 100}%)`)
1377
+ style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${s.currentPage / (e.pages.length - 1) * 100}%)`)
1344
1378
  }, null, 4)) : b("", !0),
1345
- e.pages.length > 1 ? (c(), u("div", It, [
1379
+ e.pages.length > 1 ? (c(), u("div", wt, [
1346
1380
  a("button", {
1347
1381
  class: "vue-ui-table-navigation",
1348
- onClick: s[13] || (s[13] = A((l) => e.navigate("previous"), ["stop"])),
1382
+ onClick: t[16] || (t[16] = L((l) => e.navigate("previous"), ["stop"])),
1349
1383
  innerHTML: e.icons.chevronLeft,
1350
- disabled: t.currentPage === 0,
1351
- style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1352
- }, null, 12, Ft),
1353
- e.pages.length > 3 ? (c(), u(I, { key: 0 }, [
1384
+ disabled: s.currentPage === 0,
1385
+ 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}`)
1386
+ }, null, 12, _t),
1387
+ e.pages.length > 3 ? (c(), u(F, { key: 0 }, [
1354
1388
  a("button", {
1355
1389
  class: "vue-ui-table-navigation",
1356
- onClick: s[14] || (s[14] = A((l) => e.navigate(1), ["stop"])),
1357
- disabled: t.currentPage === 0,
1358
- style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === 0 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1359
- }, " 1 ", 12, vt),
1360
- e.pages.length > 10 ? (c(), u("div", wt, [
1361
- a("label", _t, d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1),
1390
+ onClick: t[17] || (t[17] = L((l) => e.navigate(1), ["stop"])),
1391
+ disabled: s.currentPage === 0,
1392
+ 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}`)
1393
+ }, " 1 ", 12, kt),
1394
+ e.pages.length > 10 ? (c(), u("div", Ot, [
1395
+ a("label", St, d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1),
1362
1396
  a("input", {
1363
1397
  class: "vue-ui-table-page-scroller",
1364
1398
  id: "pageScroller",
@@ -1366,84 +1400,84 @@ function Xt(n, s, r, i, t, e) {
1366
1400
  step: "1",
1367
1401
  min: 0,
1368
1402
  max: e.pages.length - 1,
1369
- onInput: s[15] || (s[15] = (l) => e.updateCurrentPage(l)),
1370
- value: t.currentPage,
1403
+ onInput: t[18] || (t[18] = (l) => e.updateCurrentPage(l)),
1404
+ value: s.currentPage,
1371
1405
  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}`)
1372
- }, null, 44, kt)
1373
- ])) : (c(), u("span", Ot, d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1)),
1406
+ }, null, 44, Lt)
1407
+ ])) : (c(), u("span", At, d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1)),
1374
1408
  a("button", {
1375
1409
  class: "vue-ui-table-navigation",
1376
- onClick: s[16] || (s[16] = A((l) => e.navigate(e.pages.length), ["stop"])),
1377
- disabled: t.currentPage === e.pages.length - 1,
1378
- style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1379
- }, d(e.pages.length), 13, St)
1380
- ], 64)) : (c(), u(I, { key: 1 }, [
1381
- w(d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1)
1410
+ onClick: t[19] || (t[19] = L((l) => e.navigate(e.pages.length), ["stop"])),
1411
+ disabled: s.currentPage === e.pages.length - 1,
1412
+ 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}`)
1413
+ }, d(e.pages.length), 13, Mt)
1414
+ ], 64)) : (c(), u(F, { key: 1 }, [
1415
+ w(d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1)
1382
1416
  ], 64)),
1383
1417
  a("button", {
1384
1418
  class: "vue-ui-table-navigation",
1385
- onClick: s[17] || (s[17] = A((l) => e.navigate("next"), ["stop"])),
1419
+ onClick: t[20] || (t[20] = L((l) => e.navigate("next"), ["stop"])),
1386
1420
  innerHTML: e.icons.chevronRight,
1387
- disabled: t.currentPage === e.pages.length - 1,
1388
- style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
1389
- }, null, 12, Lt)
1421
+ disabled: s.currentPage === e.pages.length - 1,
1422
+ 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}`)
1423
+ }, null, 12, Dt)
1390
1424
  ])) : b("", !0),
1391
- t.showChart && e.canChart ? (c(), u("div", {
1425
+ s.showChart && e.canChart ? (c(), u("div", {
1392
1426
  key: 5,
1393
1427
  class: "vue-ui-table-chart-modal",
1394
- style: g(`width: ${t.modalWidth}px;top:${t.clientY}px; left:${t.clientX}px;background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1428
+ style: g(`width: ${s.modalWidth}px;top:${s.clientY}px; left:${s.clientX}px;background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1395
1429
  }, [
1396
1430
  a("div", {
1397
1431
  class: "modal-drag-handle",
1398
- onMousedown: s[19] || (s[19] = (...l) => e.dragMouseDown && e.dragMouseDown(...l))
1432
+ onMousedown: t[22] || (t[22] = (...l) => e.dragMouseDown && e.dragMouseDown(...l))
1399
1433
  }, [
1400
1434
  a("span", {
1401
1435
  innerHTML: e.icons.grip
1402
- }, null, 8, At),
1436
+ }, null, 8, Gt),
1403
1437
  a("button", {
1404
1438
  class: "close-chart-modal",
1405
- onClick: s[18] || (s[18] = (l) => t.showChart = !1)
1439
+ onClick: t[21] || (t[21] = (l) => s.showChart = !1)
1406
1440
  }, "✖")
1407
1441
  ], 32),
1408
1442
  a("button", {
1409
1443
  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}`]),
1410
1444
  class: "close-chart-modal",
1411
- onClick: s[20] || (s[20] = (l) => t.showChart = !1)
1445
+ onClick: t[23] || (t[23] = (l) => s.showChart = !1)
1412
1446
  }, " ✖ ", 4),
1413
- a("div", Mt, [
1447
+ a("div", xt, [
1414
1448
  e.availableDonutCategories.length ? (c(), u("button", {
1415
1449
  key: 0,
1416
- onClick: s[21] || (s[21] = (l) => t.showDonutOptions = !0),
1450
+ onClick: t[24] || (t[24] = (l) => s.showDonutOptions = !0),
1417
1451
  innerHTML: e.icons.donut,
1418
- class: p({ "is-active-chart": t.chart.type === t.constants.DONUT || t.showDonutOptions }),
1419
- style: g(`background:${t.chart.type === t.constants.DONUT || t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${t.chart.type === t.constants.DONUT || t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1420
- }, null, 14, Dt)) : b("", !0),
1452
+ class: N({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1453
+ 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}`)
1454
+ }, null, 14, Tt)) : b("", !0),
1421
1455
  a("button", {
1422
- onClick: s[22] || (s[22] = (l) => {
1423
- t.chart.type = t.constants.LINE, t.showDonutOptions = !1;
1456
+ onClick: t[25] || (t[25] = (l) => {
1457
+ s.chart.type = s.constants.LINE, s.showDonutOptions = !1;
1424
1458
  }),
1425
1459
  innerHTML: e.icons.chart,
1426
- class: p({ "is-active-chart": t.chart.type === t.constants.LINE && !t.showDonutOptions }),
1427
- style: g(`background:${t.chart.type === t.constants.LINE && !t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${t.chart.type === t.constants.LINE && !t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1428
- }, null, 14, Gt),
1460
+ class: N({ "is-active-chart": s.chart.type === s.constants.LINE && !s.showDonutOptions }),
1461
+ 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}`)
1462
+ }, null, 14, Et),
1429
1463
  a("button", {
1430
- onClick: s[23] || (s[23] = (l) => {
1431
- t.chart.type = t.constants.BAR, t.showDonutOptions = !1;
1464
+ onClick: t[26] || (t[26] = (l) => {
1465
+ s.chart.type = s.constants.BAR, s.showDonutOptions = !1;
1432
1466
  }),
1433
1467
  innerHTML: e.icons.bar,
1434
- class: p({ "is-active-chart": t.chart.type === t.constants.BAR && !t.showDonutOptions }),
1435
- style: g(`background:${t.chart.type === t.constants.BAR && !t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.backgroundColor};color:${t.chart.type === t.constants.BAR && !t.showDonutOptions ? e.FINAL_CONFIG.style.chart.modal.buttons.selected.color : e.FINAL_CONFIG.style.chart.modal.buttons.unselected.color}`)
1436
- }, null, 14, Tt)
1468
+ class: N({ "is-active-chart": s.chart.type === s.constants.BAR && !s.showDonutOptions }),
1469
+ 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}`)
1470
+ }, null, 14, Pt)
1437
1471
  ]),
1438
- a("div", xt, [
1439
- t.showDonutOptions && e.availableDonutCategories.length ? (c(), u("div", {
1472
+ a("div", Bt, [
1473
+ s.showDonutOptions && e.availableDonutCategories.length ? (c(), u("div", {
1440
1474
  key: 0,
1441
1475
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1442
1476
  }, [
1443
- a("fieldset", Et, [
1477
+ a("fieldset", Ht, [
1444
1478
  a("legend", null, d(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1445
- a("div", Pt, [
1446
- (c(!0), u(I, null, _(e.availableDonutCategories, (l, o) => (c(), u("div", {
1479
+ a("div", Rt, [
1480
+ (c(!0), u(F, null, k(e.availableDonutCategories, (l, o) => (c(), u("div", {
1447
1481
  key: `donut_radio_${o}`,
1448
1482
  class: "vue-ui-table-fieldset-option"
1449
1483
  }, [
@@ -1451,48 +1485,48 @@ function Xt(n, s, r, i, t, e) {
1451
1485
  type: "radio",
1452
1486
  name: l.name,
1453
1487
  id: l.name,
1454
- checked: t.selectedDonutCategory && l.name === t.selectedDonutCategory.name,
1455
- onInput: (h) => t.selectedDonutCategory = e.availableDonutCategories[o],
1488
+ checked: s.selectedDonutCategory && l.name === s.selectedDonutCategory.name,
1489
+ onInput: (h) => s.selectedDonutCategory = e.availableDonutCategories[o],
1456
1490
  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}`)
1457
- }, null, 44, Bt),
1491
+ }, null, 44, zt),
1458
1492
  a("label", {
1459
1493
  for: l.name
1460
- }, d(l.name), 9, Ht)
1494
+ }, d(l.name), 9, Ut)
1461
1495
  ]))), 128))
1462
1496
  ]),
1463
1497
  a("button", {
1464
1498
  class: "vue-ui-table-generate-donut",
1465
- disabled: !t.selectedDonutCategory,
1466
- onClick: s[24] || (s[24] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1499
+ disabled: !s.selectedDonutCategory,
1500
+ onClick: t[27] || (t[27] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1467
1501
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.color}`)
1468
1502
  }, [
1469
1503
  a("div", {
1470
1504
  style: { "margin-bottom": "-3px" },
1471
1505
  innerHTML: e.icons.donut
1472
- }, null, 8, zt),
1506
+ }, null, 8, Xt),
1473
1507
  w(" " + d(e.FINAL_CONFIG.translations.makeDonut), 1)
1474
- ], 12, Rt)
1508
+ ], 12, Vt)
1475
1509
  ])
1476
1510
  ], 4)) : b("", !0),
1477
- [t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), u(I, { key: 1 }, [
1478
- a("div", Ut, [
1479
- t.chart.type === t.constants.LINE ? (c(), E(y, {
1511
+ [s.constants.BAR, s.constants.LINE].includes(s.chart.type) && !s.showDonutOptions ? (c(), u(F, { key: 1 }, [
1512
+ a("div", jt, [
1513
+ s.chart.type === s.constants.LINE ? (c(), P(f, {
1480
1514
  key: 0,
1481
1515
  dataset: e.chartData.xyDatasetLine,
1482
1516
  config: e.chartData.xyConfig
1483
1517
  }, null, 8, ["dataset", "config"])) : b("", !0),
1484
- t.chart.type === t.constants.BAR ? (c(), E(y, {
1518
+ s.chart.type === s.constants.BAR ? (c(), P(f, {
1485
1519
  key: 1,
1486
1520
  dataset: e.chartData.xyDatasetBar,
1487
1521
  config: e.chartData.xyConfig
1488
1522
  }, null, 8, ["dataset", "config"])) : b("", !0)
1489
1523
  ]),
1490
- t.currentSelectionSpan.rows.length >= 2 ? (c(), u("div", {
1524
+ s.currentSelectionSpan.rows.length >= 2 ? (c(), u("div", {
1491
1525
  key: 0,
1492
1526
  class: "chart-trend",
1493
1527
  style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1494
1528
  }, [
1495
- s[33] || (s[33] = a("span", null, "---", -1)),
1529
+ t[36] || (t[36] = a("span", null, "---", -1)),
1496
1530
  w(" Trend: " + d(e.dataLabel({
1497
1531
  v: e.chartData.progression.trend,
1498
1532
  s: "%",
@@ -1500,9 +1534,9 @@ function Xt(n, s, r, i, t, e) {
1500
1534
  })), 1)
1501
1535
  ], 4)) : b("", !0)
1502
1536
  ], 64)) : b("", !0),
1503
- [t.constants.DONUT].includes(t.chart.type) && !t.showDonutOptions ? (c(), u("div", Vt, [
1504
- ee(f, {
1505
- dataset: t.currentDonut,
1537
+ [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Yt, [
1538
+ E(_, {
1539
+ dataset: s.currentDonut,
1506
1540
  config: e.chartData.donutConfig
1507
1541
  }, null, 8, ["dataset", "config"])
1508
1542
  ])) : b("", !0)
@@ -1510,7 +1544,7 @@ function Xt(n, s, r, i, t, e) {
1510
1544
  ], 4)) : b("", !0)
1511
1545
  ], 4);
1512
1546
  }
1513
- const qt = /* @__PURE__ */ te(se, [["render", Xt], ["__scopeId", "data-v-e6189df5"]]);
1547
+ const ts = /* @__PURE__ */ se(ne, [["render", Wt], ["__scopeId", "data-v-24575fa8"]]);
1514
1548
  export {
1515
- qt as default
1549
+ ts as default
1516
1550
  };