vue-data-ui 3.2.1 → 3.2.2

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 (154) hide show
  1. package/dist/{Arrow-cyyFTTnm.js → Arrow-BWqgcDpl.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Bf6A6G_f.js → BaseDraggableDialog-Cg4ZF9cb.js} +2 -2
  3. package/dist/{BaseIcon-D2f9w5Z5.js → BaseIcon-e63bhLIi.js} +1 -1
  4. package/dist/{ColorPicker-gaAecgEC.js → ColorPicker-BO4ntExI.js} +2 -2
  5. package/dist/{DataTable-xISHA7Pu.js → DataTable-dv6G7Krn.js} +10 -10
  6. package/dist/{Legend-_Rv594VS.js → Legend-CVcdvTLM.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DiM4-9ju.js → NonSvgPenAndPaper-DSmotL8i.js} +3 -3
  8. package/dist/{PackageVersion-BB7joYAK.js → PackageVersion-C3Vg-vTM.js} +1 -1
  9. package/dist/{PenAndPaper-CtDMyIvW.js → PenAndPaper-CplrzuG7.js} +3 -3
  10. package/dist/{Shape-BDy56-wS.js → Shape-D_vfF7sk.js} +1 -1
  11. package/dist/{Slicer-qM5l8BsU.js → Slicer-BO2wNLcR.js} +7 -7
  12. package/dist/{SparkTooltip-DOFGBHJ-.js → SparkTooltip-B82G5-BO.js} +1 -1
  13. package/dist/{Title-BIaVNiUQ.js → Title-DlqxaiIs.js} +1 -1
  14. package/dist/{Tooltip-Clf2K3CF.js → Tooltip-BKqK7z38.js} +1 -1
  15. package/dist/{UserOptions-Bn3u4JQu.js → UserOptions-C9IFsUt0.js} +2 -2
  16. package/dist/components/arrow.js +1 -1
  17. package/dist/components/vue-ui-3d-bar.js +1 -1
  18. package/dist/components/vue-ui-accordion.js +1 -1
  19. package/dist/components/vue-ui-age-pyramid.js +1 -1
  20. package/dist/components/vue-ui-bullet.js +1 -1
  21. package/dist/components/vue-ui-candlestick.js +1 -1
  22. package/dist/components/vue-ui-carousel-table.js +1 -1
  23. package/dist/components/vue-ui-chestnut.js +1 -1
  24. package/dist/components/vue-ui-chord.js +1 -1
  25. package/dist/components/vue-ui-circle-pack.js +1 -1
  26. package/dist/components/vue-ui-cursor.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-gizmo.js +1 -1
  37. package/dist/components/vue-ui-heatmap.js +1 -1
  38. package/dist/components/vue-ui-history-plot.js +1 -1
  39. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  40. package/dist/components/vue-ui-icon.js +1 -1
  41. package/dist/components/vue-ui-kpi.js +1 -1
  42. package/dist/components/vue-ui-mini-loader.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-strip-plot.js +1 -1
  66. package/dist/components/vue-ui-table-heatmap.js +1 -1
  67. package/dist/components/vue-ui-table-sparkline.js +1 -1
  68. package/dist/components/vue-ui-table.js +1 -1
  69. package/dist/components/vue-ui-thermometer.js +1 -1
  70. package/dist/components/vue-ui-timer.js +1 -1
  71. package/dist/components/vue-ui-tiremarks.js +1 -1
  72. package/dist/components/vue-ui-treemap.js +1 -1
  73. package/dist/components/vue-ui-vertical-bar.js +1 -1
  74. package/dist/components/vue-ui-waffle.js +1 -1
  75. package/dist/components/vue-ui-wheel.js +1 -1
  76. package/dist/components/vue-ui-word-cloud.js +1 -1
  77. package/dist/components/vue-ui-world.js +1 -1
  78. package/dist/components/vue-ui-xy-canvas.js +1 -1
  79. package/dist/components/vue-ui-xy.js +1 -1
  80. package/dist/{dom-to-png-CSg_eTqL.js → dom-to-png-1edcjS0-.js} +1 -1
  81. package/dist/{img-CH7J0fYg.js → img-A48JwXxj.js} +1 -1
  82. package/dist/{lib-p5pfHmOX.js → lib-CDp2KgIU.js} +345 -362
  83. package/dist/{pdf-Wd2BQz4D.js → pdf-BZV8MuXM.js} +1 -1
  84. package/dist/style.css +1 -1
  85. package/dist/types/vue-data-ui.d.ts +10 -0
  86. package/dist/{useAutoSizeLabelsInsideViewbox-VqESrzQg.js → useAutoSizeLabelsInsideViewbox-C2IsrQqi.js} +1 -1
  87. package/dist/{useNestedProp-7BbqoAYu.js → useNestedProp-Cwtenuui.js} +24 -11
  88. package/dist/{usePrinter-Yeu5jOfm.js → usePrinter-DU_Pi3Rq.js} +2 -2
  89. package/dist/{vue-data-ui-DyqIdFbp.js → vue-data-ui-BHJOTOQY.js} +64 -64
  90. package/dist/vue-data-ui.js +68 -68
  91. package/dist/{vue-ui-3d-bar-BrlJjJDI.js → vue-ui-3d-bar-rxghnZJO.js} +6 -6
  92. package/dist/{vue-ui-accordion-BSrtaPYx.js → vue-ui-accordion-BWnxgda4.js} +4 -4
  93. package/dist/{vue-ui-age-pyramid-BDIMacvP.js → vue-ui-age-pyramid-gT_SnI-F.js} +6 -6
  94. package/dist/{vue-ui-annotator-DGVlVhhy.js → vue-ui-annotator-BkHDHfHG.js} +3 -3
  95. package/dist/{vue-ui-bullet-CIJw4kXd.js → vue-ui-bullet-DREbhLhy.js} +7 -7
  96. package/dist/{vue-ui-candlestick-ZjLiyYpC.js → vue-ui-candlestick-D4P15Ci1.js} +7 -7
  97. package/dist/{vue-ui-carousel-table-_-qalKHa.js → vue-ui-carousel-table-C24KX4gd.js} +4 -4
  98. package/dist/{vue-ui-chestnut-XkX5ANAN.js → vue-ui-chestnut-BbQknrj0.js} +6 -6
  99. package/dist/{vue-ui-chord-B1vFXFgp.js → vue-ui-chord-BM4_D9kI.js} +9 -9
  100. package/dist/{vue-ui-circle-pack-8J10Q6-I.js → vue-ui-circle-pack-S4Asc9CS.js} +8 -8
  101. package/dist/{vue-ui-cursor-CQp6B13J.js → vue-ui-cursor-F9MXsQ1K.js} +2 -2
  102. package/dist/{vue-ui-dashboard-CTEYSHVA.js → vue-ui-dashboard-D6LHLdFS.js} +69 -69
  103. package/dist/{vue-ui-digits-B4aZJw8I.js → vue-ui-digits-B_8VzLOS.js} +2 -2
  104. package/dist/{vue-ui-donut-d_XvnIQB.js → vue-ui-donut-B7T8_tP1.js} +8 -8
  105. package/dist/{vue-ui-donut-evolution-Bz7fLQru.js → vue-ui-donut-evolution-DOn-7PnK.js} +8 -8
  106. package/dist/{vue-ui-dumbbell-fDl24oQq.js → vue-ui-dumbbell-Ch66pFUG.js} +7 -7
  107. package/dist/{vue-ui-flow-NYnnPoDX.js → vue-ui-flow-DPcsRLJJ.js} +7 -7
  108. package/dist/{vue-ui-funnel-BWPIKyW8.js → vue-ui-funnel-BdcKoacQ.js} +7 -7
  109. package/dist/{vue-ui-galaxy-LabscC7n.js → vue-ui-galaxy-D3c-O1Op.js} +7 -7
  110. package/dist/{vue-ui-gauge-DXETakZJ.js → vue-ui-gauge-D1zbKzZQ.js} +7 -7
  111. package/dist/{vue-ui-gizmo-DZgMzP_e.js → vue-ui-gizmo-CcrANrSX.js} +3 -3
  112. package/dist/{vue-ui-heatmap-C6Z5wEkZ.js → vue-ui-heatmap-CcvV9Y14.js} +8 -8
  113. package/dist/{vue-ui-history-plot-CUGzhcjr.js → vue-ui-history-plot-a0mLhd0L.js} +7 -7
  114. package/dist/{vue-ui-kpi-DklTxULP.js → vue-ui-kpi-BwUpplcm.js} +3 -3
  115. package/dist/{vue-ui-mini-loader-D22vfM5g.js → vue-ui-mini-loader-DBPZOqZA.js} +5 -5
  116. package/dist/{vue-ui-molecule-BAH7NOZP.js → vue-ui-molecule-xsgartoC.js} +6 -6
  117. package/dist/{vue-ui-mood-radar-DWZKM2u0.js → vue-ui-mood-radar-kl2d5QsL.js} +7 -7
  118. package/dist/{vue-ui-nested-donuts-CxUSyTrT.js → vue-ui-nested-donuts-D9I8_VnP.js} +7 -7
  119. package/dist/{vue-ui-onion-BfzkGOmQ.js → vue-ui-onion-BlxsHavW.js} +8 -8
  120. package/dist/{vue-ui-parallel-coordinate-plot-Dnl2GBps.js → vue-ui-parallel-coordinate-plot-DHH6lrbW.js} +8 -8
  121. package/dist/{vue-ui-quadrant-C_3l8xWm.js → vue-ui-quadrant-DyIQZUPC.js} +8 -8
  122. package/dist/{vue-ui-quick-chart-E6QujRg4.js → vue-ui-quick-chart-Jfr_Ezh9.js} +6 -6
  123. package/dist/{vue-ui-radar-C_yLoJvR.js → vue-ui-radar-BL_dJV12.js} +8 -8
  124. package/dist/{vue-ui-rating-Df02iNbL.js → vue-ui-rating-LiragGSU.js} +2 -2
  125. package/dist/{vue-ui-relation-circle-CBIXCwQb.js → vue-ui-relation-circle-BrR2W_6V.js} +10 -10
  126. package/dist/{vue-ui-ridgeline-euhLcVI0.js → vue-ui-ridgeline-CpaOYplC.js} +8 -8
  127. package/dist/{vue-ui-rings-BGxjmMDw.js → vue-ui-rings-B9TGOwFE.js} +8 -8
  128. package/dist/{vue-ui-scatter-CO4kXKZF.js → vue-ui-scatter-Bq4pSRu_.js} +9 -9
  129. package/dist/{vue-ui-skeleton-DrCI1AAl.js → vue-ui-skeleton-BlVnOk2o.js} +3 -3
  130. package/dist/{vue-ui-smiley-FPLXOxew.js → vue-ui-smiley-DyP9gKYe.js} +2 -2
  131. package/dist/{vue-ui-spark-trend-D4dDN0Sc.js → vue-ui-spark-trend-Pvdqnqia.js} +3 -3
  132. package/dist/{vue-ui-sparkbar-BEXrQvP0.js → vue-ui-sparkbar-DF6eDrxt.js} +3 -3
  133. package/dist/{vue-ui-sparkgauge-Cp4-BTZu.js → vue-ui-sparkgauge-BR7oFSSF.js} +3 -3
  134. package/dist/{vue-ui-sparkhistogram-BwmKv4YF.js → vue-ui-sparkhistogram-CkOGqy2h.js} +4 -4
  135. package/dist/{vue-ui-sparkline-BXZJ-fUn.js → vue-ui-sparkline-DF8bLc-F.js} +3 -3
  136. package/dist/{vue-ui-sparkstackbar-Cie2g7gk.js → vue-ui-sparkstackbar-DMkn-0FV.js} +3 -3
  137. package/dist/{vue-ui-stackbar-B137wy4q.js → vue-ui-stackbar-CUXktGA-.js} +9 -9
  138. package/dist/{vue-ui-strip-plot-Dd1aHpFW.js → vue-ui-strip-plot-ibdxtil6.js} +7 -7
  139. package/dist/{vue-ui-table-CduckNVX.js → vue-ui-table-BocHahKB.js} +194 -154
  140. package/dist/{vue-ui-table-heatmap-DZAkUjty.js → vue-ui-table-heatmap-B03YDYck.js} +6 -6
  141. package/dist/{vue-ui-table-sparkline-D6oTAFEO.js → vue-ui-table-sparkline-8mOvfeTL.js} +5 -5
  142. package/dist/{vue-ui-thermometer-BmK3_O7T.js → vue-ui-thermometer-Dq_nJLiU.js} +10 -10
  143. package/dist/{vue-ui-timer-BYw6Z01O.js → vue-ui-timer-BLveMseW.js} +5 -5
  144. package/dist/{vue-ui-tiremarks-CWiME7zn.js → vue-ui-tiremarks-DMG1_YzV.js} +6 -6
  145. package/dist/{vue-ui-treemap-D8PmfJbw.js → vue-ui-treemap-io-J9w5R.js} +8 -8
  146. package/dist/{vue-ui-vertical-bar-DRC047BC.js → vue-ui-vertical-bar-DqnTF6h2.js} +10 -10
  147. package/dist/{vue-ui-waffle-DAaBoyx4.js → vue-ui-waffle-X9DHHqlw.js} +8 -8
  148. package/dist/vue-ui-wheel-BLBwVpV8.js +620 -0
  149. package/dist/{vue-ui-word-cloud-ByKWZtkV.js → vue-ui-word-cloud-0GXQqY8G.js} +7 -7
  150. package/dist/{vue-ui-world-BezpUr_Q.js → vue-ui-world-5OHPVwxv.js} +6 -6
  151. package/dist/{vue-ui-xy-DlcJVA22.js → vue-ui-xy-HW0T1CD8.js} +900 -822
  152. package/dist/{vue-ui-xy-canvas-DPfxdanR.js → vue-ui-xy-canvas-C4FbbXNQ.js} +10 -10
  153. package/package.json +3 -3
  154. package/dist/vue-ui-wheel-DfNXrsTY.js +0 -587
@@ -1,9 +1,9 @@
1
- import { a4 as z, t as U, m as T, y as V, d as X, r as j, x as Y, B as W, h as J, G as K, p as Z } from "./lib-p5pfHmOX.js";
2
- import { u as q } from "./useNestedProp-7BbqoAYu.js";
3
- import Q from "./vue-ui-xy-DlcJVA22.js";
4
- import $ from "./vue-ui-donut-d_XvnIQB.js";
5
- import ee from "./BaseIcon-D2f9w5Z5.js";
6
- 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";
1
+ import { a4 as U, t as V, m as x, y as X, d as j, r as Y, x as W, B as J, h as K, G as Z, p as q } from "./lib-CDp2KgIU.js";
2
+ import { u as Q } from "./useNestedProp-Cwtenuui.js";
3
+ import $ from "./vue-ui-xy-HW0T1CD8.js";
4
+ import ee from "./vue-ui-donut-B7T8_tP1.js";
5
+ import te from "./BaseIcon-e63bhLIi.js";
6
+ import { resolveComponent as D, createElementBlock as u, openBlock as c, normalizeStyle as g, createCommentVNode as b, createElementVNode as a, toDisplayString as h, createTextVNode as v, withDirectives as O, withKeys as S, withModifiers as L, vModelText as A, createVNode as E, Fragment as F, renderList as k, normalizeClass as N, vModelSelect as P, createBlock as B } from "vue";
7
7
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
8
8
  const ne = {
9
9
  name: "vue-ui-table",
@@ -21,7 +21,7 @@ const ne = {
21
21
  }
22
22
  }
23
23
  },
24
- components: { VueUiXy: Q, VueUiDonut: $, BaseIcon: ee },
24
+ components: { VueUiXy: $, VueUiDonut: ee, BaseIcon: te },
25
25
  emits: ["page-change"],
26
26
  data() {
27
27
  return {
@@ -79,7 +79,7 @@ const ne = {
79
79
  itemsPerPage: this.config.rowsPerPage ? this.config.rowsPerPage : 25,
80
80
  multiselects: {},
81
81
  paginatorOptions: [.../* @__PURE__ */ new Set([10, 25, 50, 100, 250, 500, this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.dataset.body.length])].sort((t, r) => t - r),
82
- palette: Z,
82
+ palette: q,
83
83
  percentages: {},
84
84
  rafId: null,
85
85
  rangeFilters: {},
@@ -90,11 +90,13 @@ const ne = {
90
90
  showChart: !1,
91
91
  showDonutOptions: !1,
92
92
  sorts: {},
93
+ chartStep: 0,
94
+ chartTimeLabelSourceModel: "",
93
95
  tableBody: JSON.parse(JSON.stringify(this.dataset.body)).map((t, r) => ({
94
96
  ...t,
95
97
  absoluteIndex: r
96
98
  })),
97
- tableHead: JSON.parse(JSON.stringify(this.dataset.header)).map((t) => ({
99
+ tableHead: JSON.parse(JSON.stringify(this.dataset.header)).map((t, r) => ({
98
100
  average: Object.hasOwn(t, "average") ? t.average : !1,
99
101
  decimals: Object.hasOwn(t, "decimals") ? t.decimals : 0,
100
102
  isMultiselect: Object.hasOwn(t, "isMultiselect") ? t.isMultiselect : !1,
@@ -108,8 +110,9 @@ const ne = {
108
110
  rangeFilter: Object.hasOwn(t, "rangeFilter") ? t.rangeFilter : !1,
109
111
  suffix: Object.hasOwn(t, "suffix") ? t.suffix : "",
110
112
  sum: Object.hasOwn(t, "sum") ? t.sum : !1,
111
- type: t.type
113
+ type: t.type,
112
114
  // this attribute is mandatory
115
+ index: r
113
116
  })),
114
117
  filename: ""
115
118
  };
@@ -137,7 +140,7 @@ Provide an array of objects of type:
137
140
  }), document.addEventListener("keydown", (n) => {
138
141
  const t = document.activeElement;
139
142
  (t && Array.from(t.classList).includes("td-focusable") && n.key.includes("Arrow") || n.code === "Space") && n.preventDefault();
140
- }), this.filename = this.FINAL_CONFIG.style.exportMenu.filename;
143
+ }), this.filename = this.FINAL_CONFIG.style.exportMenu.filename, this.chartTimeLabelSourceModel = this.dateHeaders[0]?.name ?? "";
141
144
  },
142
145
  watch: {
143
146
  isExportRequest: function(n) {
@@ -159,7 +162,7 @@ Provide an array of objects of type:
159
162
  })), this.tableBody = JSON.parse(JSON.stringify(n.body)).map((t, r) => ({
160
163
  ...t,
161
164
  absoluteIndex: r
162
- })), this.tableHead = JSON.parse(JSON.stringify(n.header)).map((t) => ({
165
+ })), this.tableHead = JSON.parse(JSON.stringify(n.header)).map((t, r) => ({
163
166
  average: Object.hasOwn(t, "average") ? t.average : !1,
164
167
  decimals: Object.hasOwn(t, "decimals") ? t.decimals : 0,
165
168
  isMultiselect: Object.hasOwn(t, "isMultiselect") ? t.isMultiselect : !1,
@@ -172,7 +175,8 @@ Provide an array of objects of type:
172
175
  rangeFilter: Object.hasOwn(t, "rangeFilter") ? t.rangeFilter : !1,
173
176
  suffix: Object.hasOwn(t, "suffix") ? t.suffix : "",
174
177
  sum: Object.hasOwn(t, "sum") ? t.sum : !1,
175
- type: t.type
178
+ type: t.type,
179
+ index: r
176
180
  })), 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, () => {
177
181
  this.$forceUpdate(), this.updateCurrentPage(), this.isLoading = !1;
178
182
  });
@@ -183,6 +187,19 @@ Provide an array of objects of type:
183
187
  }
184
188
  },
185
189
  computed: {
190
+ dateHeaders() {
191
+ return [...this.tableHead].filter((n) => n.type === this.constants.DATE);
192
+ },
193
+ chartTimeLabelOptions() {
194
+ return ["", ...this.dateHeaders.map((n) => n.name)];
195
+ },
196
+ chartTimeLabelSourceIndex() {
197
+ const n = this.dateHeaders.find((t) => t.name === this.chartTimeLabelSourceModel);
198
+ return n ? n.index : null;
199
+ },
200
+ chartTimeLabels() {
201
+ return this.chartTimeLabelSourceIndex == null ? [] : this.visibleRows.map((n) => n.td[this.chartTimeLabelSourceIndex]);
202
+ },
186
203
  availableDonutCategories() {
187
204
  return Object.keys(this.multiselects).map((n) => ({
188
205
  index: n,
@@ -195,10 +212,10 @@ Provide an array of objects of type:
195
212
  },
196
213
  chartData() {
197
214
  if (!this.canChart) return [];
198
- 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 = [
215
+ const n = 316, t = 512, r = this.currentSelectionSpan.rows.length, i = t / r, s = Math.max(...this.currentSelectionSpan.rows.map((w) => w.value)), e = Math.min(...this.currentSelectionSpan.rows.map((w) => w.value)), m = this.dataset.header[this.currentSelectionSpan.col].isPercentage && this.dataset.header[this.currentSelectionSpan.col].percentageTo, f = this.chart.type === this.constants.DONUT && this.selectedDonutCategory && this.selectedDonutCategory.name, _ = this.dataset.header[this.currentSelectionSpan.col].name + (m ? ` / ${this.dataset.header[this.percentages[this.currentSelectionSpan.col].referenceIndex].name}` : "") + (f ? ` ${this.FINAL_CONFIG.translations.by} ${this.selectedDonutCategory.name}` : ""), l = this.dataset.header[this.currentSelectionSpan.col].prefix, o = this.dataset.header[this.currentSelectionSpan.col].suffix, d = [
199
216
  {
200
217
  name: _,
201
- series: this.currentSelectionSpan.rows.map((v) => v.value),
218
+ series: this.currentSelectionSpan.rows.map((w) => w.value),
202
219
  type: "line",
203
220
  useProgression: !0,
204
221
  smooth: this.FINAL_CONFIG.style.chart.layout.line.smooth,
@@ -208,12 +225,12 @@ Provide an array of objects of type:
208
225
  ], y = [
209
226
  {
210
227
  name: _,
211
- series: this.currentSelectionSpan.rows.map((v) => v.value),
228
+ series: this.currentSelectionSpan.rows.map((w) => w.value),
212
229
  type: "bar",
213
230
  useProgression: !0,
214
231
  color: this.FINAL_CONFIG.style.chart.layout.bar.fill
215
232
  }
216
- ], C = this.FINAL_CONFIG.style.chart.modal.backgroundColor, p = this.adaptColorToBackground(C), I = this.dataset.header[this.currentSelectionSpan.col].decimals, B = {
233
+ ], C = this.FINAL_CONFIG.style.chart.modal.backgroundColor, p = this.adaptColorToBackground(C), I = this.dataset.header[this.currentSelectionSpan.col].decimals, H = {
217
234
  chart: {
218
235
  backgroundColor: C,
219
236
  color: p,
@@ -223,10 +240,17 @@ Provide an array of objects of type:
223
240
  suffix: o
224
241
  },
225
242
  grid: {
226
- stroke: T(p, 0.5),
243
+ stroke: x(p, 0.5),
227
244
  labels: {
228
245
  color: p,
229
- xAxisLabels: { show: !1 }
246
+ xAxisLabels: {
247
+ color: p,
248
+ show: this.chartTimeLabels.length,
249
+ values: this.chartTimeLabels,
250
+ datetimeFormatter: this.FINAL_CONFIG.style.chart.layout.datetimeFormatter,
251
+ showOnlyAtModulo: this.FINAL_CONFIG.style.chart.layout.timeLabels.showOnlyAtModulo,
252
+ modulo: this.FINAL_CONFIG.style.chart.layout.timeLabels.modulo
253
+ }
230
254
  }
231
255
  },
232
256
  highlighter: {
@@ -241,7 +265,7 @@ Provide an array of objects of type:
241
265
  fontSize: 18
242
266
  },
243
267
  tooltip: {
244
- showTimeLabel: !1,
268
+ showTimeLabel: this.chartTimeLabels.length,
245
269
  backgroundOpacity: 30,
246
270
  color: p,
247
271
  backgroundColor: C,
@@ -257,7 +281,13 @@ Provide an array of objects of type:
257
281
  annotator: !1
258
282
  }
259
283
  },
260
- zoom: { show: !1 }
284
+ zoom: {
285
+ show: this.FINAL_CONFIG.style.chart.layout.zoom.show,
286
+ focusOnDrag: !0,
287
+ minimap: {
288
+ show: !0
289
+ }
290
+ }
261
291
  },
262
292
  line: {
263
293
  labels: {
@@ -284,14 +314,14 @@ Provide an array of objects of type:
284
314
  rounding: I
285
315
  }
286
316
  }
287
- }, 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) => ({
288
- x: i * R + i / 2,
289
- y: (1 - (v.value + G) / H) * n,
290
- value: M ? v.value * 100 : v.value,
317
+ }, G = e >= 0 ? 0 : Math.abs(e), R = s + G, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, T = this.currentSelectionSpan.rows.map((w, z) => ({
318
+ x: i * z + i / 2,
319
+ y: (1 - (w.value + G) / R) * n,
320
+ value: M ? w.value * 100 : w.value,
291
321
  suffix: M ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
292
322
  prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
293
- index: v.index,
294
- absoluteValue: M ? Math.abs(v.value) * 100 : Math.abs(v.value)
323
+ index: w.index,
324
+ absoluteValue: M ? Math.abs(w.value) * 100 : Math.abs(w.value)
295
325
  }));
296
326
  return {
297
327
  donutConfig: {
@@ -373,10 +403,10 @@ Provide an array of objects of type:
373
403
  }
374
404
  }
375
405
  },
376
- xyConfig: B,
377
- xyDatasetLine: h,
406
+ xyConfig: H,
407
+ xyDatasetLine: d,
378
408
  xyDatasetBar: y,
379
- progression: x.length >= 2 ? this.calcLinearProgression(x) : !1
409
+ progression: T.length >= 2 ? this.calcLinearProgression(T) : !1
380
410
  };
381
411
  },
382
412
  hasNumericTypes() {
@@ -424,7 +454,7 @@ Provide an array of objects of type:
424
454
  };
425
455
  },
426
456
  FINAL_CONFIG() {
427
- const { vue_ui_table: n } = q();
457
+ const { vue_ui_table: n } = Q();
428
458
  if (!Object.keys(this.config || {}).length)
429
459
  return n;
430
460
  const t = this.treeShake({
@@ -439,15 +469,15 @@ Provide an array of objects of type:
439
469
  },
440
470
  methods: {
441
471
  // lib
442
- adaptColorToBackground: K,
443
- convertColorToHex: J,
444
- convertConfigColors: W,
445
- createCsvContent: Y,
446
- darkenHexColor: j,
447
- dataLabel: X,
448
- downloadCsv: V,
449
- lightenHexColor: T,
450
- treeShake: U,
472
+ adaptColorToBackground: Z,
473
+ convertColorToHex: K,
474
+ convertConfigColors: J,
475
+ createCsvContent: W,
476
+ darkenHexColor: Y,
477
+ dataLabel: j,
478
+ downloadCsv: X,
479
+ lightenHexColor: x,
480
+ treeShake: V,
451
481
  // specific
452
482
  applyDonutOption() {
453
483
  const n = this.selectedDonutCategory.options.map((t, r) => ({
@@ -470,7 +500,7 @@ Provide an array of objects of type:
470
500
  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);
471
501
  this.downloadCsv({ csvContent: s, title: this.filename });
472
502
  },
473
- calcLinearProgression: z,
503
+ calcLinearProgression: U,
474
504
  closeAllDropdowns() {
475
505
  const n = document.getElementsByClassName("th-dropdown");
476
506
  n.length && Array.from(n).forEach((t) => {
@@ -501,10 +531,10 @@ Provide an array of objects of type:
501
531
  return this.rows.map((t) => t[n]).map((t) => isNaN(Number(t)) ? 0 : t).reduce((t, r) => t + r, 0) / this.bodyCopy.length;
502
532
  },
503
533
  getDatesRange(n) {
504
- 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}`;
534
+ const t = this.dataset.body.map((y) => new Date(y.td[n])), r = new Date(Math.min(...t)), i = new Date(Math.max(...t)), s = r.getFullYear(), e = i.getFullYear(), m = String(r.getMonth() + 1).padStart(2, "0"), f = String(i.getMonth() + 1).padStart(2, "0"), _ = String(r.getDate()).padStart(2, "0"), l = String(i.getDate()).padStart(2, "0"), o = `${s}-${m}-${_}`, d = `${e}-${f}-${l}`;
505
535
  return {
506
536
  from: o,
507
- to: h
537
+ to: d
508
538
  };
509
539
  },
510
540
  getDonutLegendValue(n) {
@@ -592,11 +622,11 @@ Provide an array of objects of type:
592
622
  n.preventDefault();
593
623
  const t = n.keyCode, r = 38, i = 40, s = 37, e = 39;
594
624
  if (![r, i, s, e].includes(t)) return;
595
- 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}`);
625
+ const m = n.target.id, f = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, _ = m.match(f), l = parseInt(_[1]), o = parseInt(_[2]), d = document.getElementById(`cell_${l}_${o + 1}_${this.uid}`), y = document.getElementById(`cell_${l}_${o - 1}_${this.uid}`), C = document.getElementById(`cell_${l + 1}_${o}_${this.uid}`), p = document.getElementById(`cell_${l - 1}_${o}_${this.uid}`);
596
626
  let I;
597
627
  switch (!0) {
598
628
  case t === e:
599
- I = h;
629
+ I = d;
600
630
  break;
601
631
  case t === s:
602
632
  I = y;
@@ -818,7 +848,7 @@ Provide an array of objects of type:
818
848
  }, ve = { key: 0 }, we = { class: "th-filter" }, _e = {
819
849
  key: 0,
820
850
  class: "th-date"
821
- }, 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 = {
851
+ }, ke = { class: "date-wrapper--inputs" }, Oe = { class: "date-fieldset" }, Se = ["for"], Le = ["id", "onUpdate:modelValue", "onInput"], Ae = { class: "date-fieldset" }, Me = ["for"], De = ["id", "onUpdate:modelValue", "onInput"], Ge = { class: "date-wrapper--button" }, Te = ["onClick"], xe = ["innerHTML"], Ee = ["innerHTML"], Pe = ["innerHTML"], Be = ["onClick", "disabled"], He = ["placeholder", "onUpdate:modelValue", "name"], Re = ["onClick"], ze = ["innerHTML"], Ue = ["innerHTML"], Ve = ["innerHTML"], Xe = ["onClick", "innerHTML"], je = ["innerHTML"], Ye = {
822
852
  key: 5,
823
853
  class: "th-range-filter"
824
854
  }, We = ["for"], Je = ["id", "max", "min", "onUpdate:modelValue"], Ke = ["id", "max", "min", "onUpdate:modelValue"], Ze = ["for"], qe = ["onClick", "disabled"], Qe = ["id"], $e = ["onClick"], et = ["onClick", "onKeyup"], tt = ["innerHTML", "onClick", "onKeyup"], st = ["data-row"], nt = ["data-row"], rt = ["data-row", "onClick", "onKeyup", "id"], ot = ["innerHTML"], lt = { key: 1 }, at = { key: 2 }, it = { key: 5 }, ct = ["innerHTML"], ut = { key: 0 }, ht = { style: { "margin-left": "12px" } }, dt = { class: "format-num" }, gt = { style: { "margin-left": "12px" } }, mt = {
@@ -848,14 +878,14 @@ Provide an array of objects of type:
848
878
  }, St = {
849
879
  for: "pageScroller",
850
880
  style: { "font-size": "14px" }
851
- }, 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 = {
881
+ }, Lt = ["max", "value"], At = { key: 1 }, Mt = ["disabled"], Dt = ["innerHTML", "disabled"], Gt = ["innerHTML"], Tt = { class: "chart-modal-options" }, xt = ["innerHTML"], Et = ["innerHTML"], Pt = ["innerHTML"], Bt = {
852
882
  style: { width: "100%", height: "fit-content" },
853
883
  ref: "chartModal"
854
- }, 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 = {
884
+ }, 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 = { key: 0 }, Yt = { style: { width: "100%", "margin-bottom": "12px" } }, Wt = {
855
885
  key: 2,
856
886
  style: { width: "100%", "margin-bottom": "32px" }
857
887
  };
858
- function Wt(n, t, r, i, s, e) {
888
+ function Jt(n, t, r, i, s, e) {
859
889
  const m = D("BaseIcon"), f = D("VueUiXy"), _ = D("VueUiDonut");
860
890
  return c(), u("div", {
861
891
  class: "vue-ui-table-main",
@@ -872,7 +902,7 @@ function Wt(n, t, r, i, s, e) {
872
902
  "data-is-open": s.isExportRequest || "false",
873
903
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
874
904
  }, [
875
- t[28] || (t[28] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
905
+ t[29] || (t[29] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
876
906
  a("button", {
877
907
  class: "close-dropdown",
878
908
  onClick: t[1] || (t[1] = (l) => s.isExportRequest = !1),
@@ -880,7 +910,7 @@ function Wt(n, t, r, i, s, e) {
880
910
  }, " ✖ ", 4),
881
911
  a("div", ae, [
882
912
  a("div", ie, [
883
- a("div", ce, d(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + d(s.bodyCopy.length) + ") ", 1),
913
+ a("div", ce, h(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + h(s.bodyCopy.length) + ") ", 1),
884
914
  a("button", {
885
915
  id: "exportAll",
886
916
  onClick: t[2] || (t[2] = (l) => e.createXls("all")),
@@ -889,11 +919,11 @@ function Wt(n, t, r, i, s, e) {
889
919
  a("div", {
890
920
  innerHTML: e.icons.fileDownload
891
921
  }, null, 8, ue),
892
- a("span", null, d(e.FINAL_CONFIG.translations.exportAllButton), 1)
922
+ a("span", null, h(e.FINAL_CONFIG.translations.exportAllButton), 1)
893
923
  ], 4)
894
924
  ]),
895
925
  a("div", he, [
896
- a("div", de, d(e.FINAL_CONFIG.translations.exportPageLabel), 1),
926
+ a("div", de, h(e.FINAL_CONFIG.translations.exportPageLabel), 1),
897
927
  a("button", {
898
928
  id: "exportPage",
899
929
  onClick: t[3] || (t[3] = (l) => e.createXls("page")),
@@ -902,12 +932,12 @@ function Wt(n, t, r, i, s, e) {
902
932
  a("div", {
903
933
  innerHTML: e.icons.fileDownload
904
934
  }, null, 8, ge),
905
- a("span", null, d(e.FINAL_CONFIG.translations.exportPageButton), 1)
935
+ a("span", null, h(e.FINAL_CONFIG.translations.exportPageButton), 1)
906
936
  ], 4)
907
937
  ]),
908
938
  a("div", me, [
909
939
  a("label", ye, [
910
- w(d(e.FINAL_CONFIG.translations.filename) + " ", 1),
940
+ v(h(e.FINAL_CONFIG.translations.filename) + " ", 1),
911
941
  O(a("input", {
912
942
  ref: "filenameInputRef",
913
943
  onKeydown: t[4] || (t[4] = S(L(() => {
@@ -949,21 +979,21 @@ function Wt(n, t, r, i, s, e) {
949
979
  })
950
980
  }, [
951
981
  a("tr", null, [
952
- t[29] || (t[29] = a("th", { class: "invisible-cell" }, null, -1)),
982
+ t[30] || (t[30] = a("th", { class: "invisible-cell" }, null, -1)),
953
983
  (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
954
984
  key: `thead_${o}`,
955
985
  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}`),
956
986
  class: N({ "th-has-nan": s.hasNaN[o] })
957
987
  }, [
958
988
  e.hasNumericTypes && ([s.constants.TEXT, s.constants.DATE].includes(l.type) || l.isPercentage) ? (c(), u("span", fe, [
959
- w(d(l.name) + " ", 1),
960
- l.isPercentage ? (c(), u("span", pe, " / " + d(l.percentageTo), 1)) : b("", !0)
961
- ])) : (c(), u("span", Ne, d(l.name), 1))
989
+ v(h(l.name) + " ", 1),
990
+ l.isPercentage ? (c(), u("span", pe, " / " + h(l.percentageTo), 1)) : b("", !0)
991
+ ])) : (c(), u("span", Ne, h(l.name), 1))
962
992
  ], 6))), 128))
963
993
  ]),
964
994
  e.hasNumericTypes ? (c(), u(F, { key: 0 }, [
965
995
  a("tr", null, [
966
- t[30] || (t[30] = a("th", { class: "invisible-cell" }, null, -1)),
996
+ t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
967
997
  (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
968
998
  key: `thead_${o}`,
969
999
  class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
@@ -974,13 +1004,13 @@ function Wt(n, t, r, i, s, e) {
974
1004
  innerHTML: e.icons.sum,
975
1005
  style: { "margin-bottom": "-4px", "margin-right": "3px" }
976
1006
  }, null, 8, Ie),
977
- w(" " + d(e.dataLabel({
1007
+ v(" " + h(e.dataLabel({
978
1008
  p: l.prefix,
979
1009
  v: Number(e.getSum(o)),
980
1010
  s: l.suffix,
981
1011
  r: l.decimals
982
1012
  })) + " ", 1),
983
- s.percentages[o] && l.percentageTo && !l.isPercentage ? (c(), u("span", Fe, " (" + d(isNaN(e.getSum(o) / e.getSum(s.percentages[o].referenceIndex)) ? "-" : e.dataLabel({
1013
+ s.percentages[o] && l.percentageTo && !l.isPercentage ? (c(), u("span", Fe, " (" + h(isNaN(e.getSum(o) / e.getSum(s.percentages[o].referenceIndex)) ? "-" : e.dataLabel({
984
1014
  v: e.getSum(o) / e.getSum(s.percentages[o].referenceIndex) * 100,
985
1015
  s: "%",
986
1016
  r: l.decimals
@@ -989,13 +1019,13 @@ function Wt(n, t, r, i, s, e) {
989
1019
  ], 6))), 128))
990
1020
  ]),
991
1021
  a("tr", null, [
992
- t[31] || (t[31] = a("th", { class: "invisible-cell" }, null, -1)),
1022
+ t[32] || (t[32] = a("th", { class: "invisible-cell" }, null, -1)),
993
1023
  (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
994
1024
  key: `thead_${o}`,
995
1025
  class: N({ "th-numeric": !0, "th-has-nan": s.hasNaN[o] }),
996
1026
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
997
1027
  }, [
998
- l.average && !s.hasNaN[o] ? (c(), u("span", ve, " ~ " + d(isNaN(e.getAverage(o)) ? "" : e.dataLabel({
1028
+ l.average && !s.hasNaN[o] ? (c(), u("span", ve, " ~ " + h(isNaN(e.getAverage(o)) ? "" : e.dataLabel({
999
1029
  p: l.prefix,
1000
1030
  v: Number(e.getAverage(o)),
1001
1031
  s: l.suffix,
@@ -1004,7 +1034,7 @@ function Wt(n, t, r, i, s, e) {
1004
1034
  ], 6))), 128))
1005
1035
  ]),
1006
1036
  a("tr", null, [
1007
- t[34] || (t[34] = a("th", { class: "invisible-cell" }, null, -1)),
1037
+ t[35] || (t[35] = a("th", { class: "invisible-cell" }, null, -1)),
1008
1038
  (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1009
1039
  key: `thead_${o}`,
1010
1040
  class: N({ "th-has-nan": s.hasNaN[o] }),
@@ -1016,12 +1046,12 @@ function Wt(n, t, r, i, s, e) {
1016
1046
  a("div", Oe, [
1017
1047
  a("label", {
1018
1048
  for: `from_${o}`
1019
- }, d(e.FINAL_CONFIG.translations.from), 9, Se),
1049
+ }, h(e.FINAL_CONFIG.translations.from), 9, Se),
1020
1050
  O(a("input", {
1021
1051
  id: `from_${o}`,
1022
1052
  type: "date",
1023
- "onUpdate:modelValue": (h) => s.dates[o].from = h,
1024
- onInput: (h) => {
1053
+ "onUpdate:modelValue": (d) => s.dates[o].from = d,
1054
+ onInput: (d) => {
1025
1055
  e.filterBody(), e.setFilterDatesIndexes(o);
1026
1056
  },
1027
1057
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
@@ -1032,12 +1062,12 @@ function Wt(n, t, r, i, s, e) {
1032
1062
  a("div", Ae, [
1033
1063
  a("label", {
1034
1064
  for: `to_${o}`
1035
- }, d(e.FINAL_CONFIG.translations.to), 9, Me),
1065
+ }, h(e.FINAL_CONFIG.translations.to), 9, Me),
1036
1066
  O(a("input", {
1037
1067
  id: `to_${o}`,
1038
1068
  type: "date",
1039
- "onUpdate:modelValue": (h) => s.dates[o].to = h,
1040
- onInput: (h) => {
1069
+ "onUpdate:modelValue": (d) => s.dates[o].to = d,
1070
+ onInput: (d) => {
1041
1071
  e.filterBody(), e.setFilterDatesIndexes(o);
1042
1072
  },
1043
1073
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
@@ -1049,24 +1079,24 @@ function Wt(n, t, r, i, s, e) {
1049
1079
  a("div", Ge, [
1050
1080
  l.isSort ? (c(), u("button", {
1051
1081
  key: 0,
1052
- onClick: (h) => e.sortTh(o, h),
1082
+ onClick: (d) => e.sortTh(o, d),
1053
1083
  class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1054
1084
  style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1055
1085
  }, [
1056
1086
  s.sorts[o] === s.constants.ASC ? (c(), u("span", {
1057
1087
  key: 0,
1058
1088
  innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort09 : e.icons.sortAZ
1059
- }, null, 8, Te)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1089
+ }, null, 8, xe)) : s.sorts[o] === s.constants.DESC ? (c(), u("span", {
1060
1090
  key: 1,
1061
1091
  innerHTML: [s.constants.DATE].includes(l.type) ? e.icons.sort90 : e.icons.sortZA
1062
1092
  }, null, 8, Ee)) : (c(), u("span", {
1063
1093
  key: 2,
1064
1094
  innerHTML: e.icons.arrowSort
1065
1095
  }, null, 8, Pe))
1066
- ], 14, xe)) : b("", !0),
1096
+ ], 14, Te)) : b("", !0),
1067
1097
  a("button", {
1068
- onClick: (h) => {
1069
- e.resetDates(o), e.resetFilter(o, l, h);
1098
+ onClick: (d) => {
1099
+ e.resetDates(o), e.resetFilter(o, l, d);
1070
1100
  },
1071
1101
  disabled: !s.filteredDatesIndexes[o] && e.isResetDisabled(o, l),
1072
1102
  class: "th-reset"
@@ -1076,8 +1106,8 @@ function Wt(n, t, r, i, s, e) {
1076
1106
  l.isSearch ? O((c(), u("input", {
1077
1107
  key: 1,
1078
1108
  placeholder: e.FINAL_CONFIG.translations.inputPlaceholder,
1079
- "onUpdate:modelValue": (h) => s.searches[o] = h,
1080
- onInput: t[7] || (t[7] = (h) => e.debounce(e.filterBody, 400)),
1109
+ "onUpdate:modelValue": (d) => s.searches[o] = d,
1110
+ onInput: t[7] || (t[7] = (d) => e.debounce(e.filterBody, 400)),
1081
1111
  name: `search_${o}`,
1082
1112
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1083
1113
  }, null, 44, He)), [
@@ -1085,7 +1115,7 @@ function Wt(n, t, r, i, s, e) {
1085
1115
  ]) : b("", !0),
1086
1116
  !s.hasNaN[o] && l.isSort && l.type !== s.constants.DATE ? (c(), u("button", {
1087
1117
  key: 2,
1088
- onClick: (h) => e.sortTh(o, h),
1118
+ onClick: (d) => e.sortTh(o, d),
1089
1119
  class: N({ "th-button-active": [s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) }),
1090
1120
  style: g(`background:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${[s.constants.DESC, s.constants.ASC].includes(s.sorts[o]) ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1091
1121
  }, [
@@ -1102,14 +1132,14 @@ function Wt(n, t, r, i, s, e) {
1102
1132
  ], 14, Re)) : b("", !0),
1103
1133
  l.isMultiselect ? (c(), u("button", {
1104
1134
  key: 3,
1105
- onClick: (h) => e.toggleMultiselect(o, l, h),
1135
+ onClick: (d) => e.toggleMultiselect(o, l, d),
1106
1136
  innerHTML: e.icons.filter,
1107
1137
  class: N({ "th-button-active": s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length }),
1108
1138
  style: g(`background:${s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.multiselects[o] && s.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1109
1139
  }, null, 14, Xe)) : b("", !0),
1110
1140
  s.currentSelectionSpan.col === o && e.canChart ? (c(), u("button", {
1111
1141
  key: 4,
1112
- onClick: t[8] || (t[8] = (h) => s.showChart = !s.showChart),
1142
+ onClick: t[8] || (t[8] = (d) => s.showChart = !s.showChart),
1113
1143
  innerHTML: e.icons.chart,
1114
1144
  class: N({ "th-button-active": s.showChart }),
1115
1145
  style: g(`background:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${s.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
@@ -1117,9 +1147,9 @@ function Wt(n, t, r, i, s, e) {
1117
1147
  l.rangeFilter && s.rangeFilters[o] && !s.hasNaN[o] ? (c(), u("div", Ye, [
1118
1148
  a("label", {
1119
1149
  for: `rangeMin${o}`
1120
- }, [...t[32] || (t[32] = [
1150
+ }, [...t[33] || (t[33] = [
1121
1151
  a("span", { style: { color: "grey" } }, "ᒥ", -1),
1122
- w(" min ", -1),
1152
+ v(" min ", -1),
1123
1153
  a("span", { style: { color: "grey" } }, "ᒣ", -1)
1124
1154
  ])], 8, We),
1125
1155
  O(a("input", {
@@ -1127,8 +1157,8 @@ function Wt(n, t, r, i, s, e) {
1127
1157
  id: `rangeMin${o}`,
1128
1158
  max: s.immutableRangeFilters[o].max,
1129
1159
  min: s.immutableRangeFilters[o].min,
1130
- "onUpdate:modelValue": (h) => s.rangeFilters[o].min = h,
1131
- onInput: t[9] || (t[9] = (h) => e.debounce(e.filterBody, 400)),
1160
+ "onUpdate:modelValue": (d) => s.rangeFilters[o].min = d,
1161
+ onInput: t[9] || (t[9] = (d) => e.debounce(e.filterBody, 400)),
1132
1162
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1133
1163
  }, null, 44, Je), [
1134
1164
  [
@@ -1143,8 +1173,8 @@ function Wt(n, t, r, i, s, e) {
1143
1173
  id: `rangeMax${o}`,
1144
1174
  max: s.immutableRangeFilters[o].max,
1145
1175
  min: s.immutableRangeFilters[o].min,
1146
- "onUpdate:modelValue": (h) => s.rangeFilters[o].max = h,
1147
- onInput: t[10] || (t[10] = (h) => e.debounce(e.filterBody, 400)),
1176
+ "onUpdate:modelValue": (d) => s.rangeFilters[o].max = d,
1177
+ onInput: t[10] || (t[10] = (d) => e.debounce(e.filterBody, 400)),
1148
1178
  style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
1149
1179
  }, null, 44, Ke), [
1150
1180
  [
@@ -1156,15 +1186,15 @@ function Wt(n, t, r, i, s, e) {
1156
1186
  ]),
1157
1187
  a("label", {
1158
1188
  for: `rangeMax${o}`
1159
- }, [...t[33] || (t[33] = [
1189
+ }, [...t[34] || (t[34] = [
1160
1190
  a("span", { style: { color: "grey" } }, "ᒪ", -1),
1161
- w(" max ", -1),
1191
+ v(" max ", -1),
1162
1192
  a("span", { style: { color: "grey" } }, "ᒧ", -1)
1163
1193
  ])], 8, Ze)
1164
1194
  ])) : b("", !0),
1165
1195
  e.canResetColumn(o, l) ? (c(), u("button", {
1166
1196
  key: 6,
1167
- onClick: (h) => e.resetFilter(o, l, h),
1197
+ onClick: (d) => e.resetFilter(o, l, d),
1168
1198
  disabled: e.isResetDisabled(o, l),
1169
1199
  class: "th-reset"
1170
1200
  }, " ✖ ", 8, qe)) : b("", !0),
@@ -1177,30 +1207,30 @@ function Wt(n, t, r, i, s, e) {
1177
1207
  }, [
1178
1208
  a("button", {
1179
1209
  class: "close-dropdown",
1180
- onClick: (h) => e.toggleMultiselect(o, l, h),
1210
+ onClick: (d) => e.toggleMultiselect(o, l, d),
1181
1211
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color}`)
1182
1212
  }, " ✖ ", 12, $e),
1183
- (c(!0), u(F, null, k(e.getDropdownOptions(o), (h, y) => (c(), u("span", {
1213
+ (c(!0), u(F, null, k(e.getDropdownOptions(o), (d, y) => (c(), u("span", {
1184
1214
  class: "th-option",
1185
1215
  key: `th_option_${o}_${y}`,
1186
- onClick: (C) => e.selectDropdownOption(h, o),
1216
+ onClick: (C) => e.selectDropdownOption(d, o),
1187
1217
  onKeyup: [
1188
- S((C) => e.selectDropdownOption(h, o), ["enter"]),
1189
- S((C) => e.selectDropdownOption(h, o), ["space"])
1218
+ S((C) => e.selectDropdownOption(d, o), ["enter"]),
1219
+ S((C) => e.selectDropdownOption(d, o), ["space"])
1190
1220
  ],
1191
- style: g(`opacity:${e.isDropdownOptionSelected(h, o) ? 1 : 0.5}`),
1221
+ style: g(`opacity:${e.isDropdownOptionSelected(d, o) ? 1 : 0.5}`),
1192
1222
  tabindex: "0"
1193
1223
  }, [
1194
- e.isDropdownOptionSelected(h, o) ? (c(), u("span", {
1224
+ e.isDropdownOptionSelected(d, o) ? (c(), u("span", {
1195
1225
  key: 0,
1196
1226
  style: g(`color:${e.FINAL_CONFIG.style.dropdowns.icons.selected.color};margin-right:5px`),
1197
1227
  class: "th-icon-green"
1198
- }, d(e.FINAL_CONFIG.style.dropdowns.icons.selected.unicode), 5)) : (c(), u("span", {
1228
+ }, h(e.FINAL_CONFIG.style.dropdowns.icons.selected.unicode), 5)) : (c(), u("span", {
1199
1229
  key: 1,
1200
1230
  style: g(`color:${e.FINAL_CONFIG.style.dropdowns.icons.unselected.color};margin-right:5px`),
1201
1231
  class: "th-icon-red"
1202
- }, d(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1203
- a("span", null, d(h), 1)
1232
+ }, h(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1233
+ a("span", null, h(d), 1)
1204
1234
  ], 44, et))), 128))
1205
1235
  ], 12, Qe)) : b("", !0)
1206
1236
  ])
@@ -1208,7 +1238,7 @@ function Wt(n, t, r, i, s, e) {
1208
1238
  ])
1209
1239
  ], 64)) : b("", !0),
1210
1240
  a("tr", null, [
1211
- t[35] || (t[35] = a("th", { class: "invisible-cell" }, null, -1)),
1241
+ t[36] || (t[36] = a("th", { class: "invisible-cell" }, null, -1)),
1212
1242
  (c(!0), u(F, null, k(s.tableHead, (l, o) => (c(), u("th", {
1213
1243
  key: `col_selector_${o}`,
1214
1244
  class: N({ "vue-ui-table-col-selector": !s.hasNaN[o], "th-has-nan": s.hasNaN[o] }),
@@ -1219,8 +1249,8 @@ function Wt(n, t, r, i, s, e) {
1219
1249
  innerHTML: s.tableHead[o].type === s.constants.NUMERIC ? e.icons.chevronDown : "",
1220
1250
  class: N({ "col-selector": s.tableHead[o].type === s.constants.NUMERIC }),
1221
1251
  tabindex: "0",
1222
- onClick: L((h) => e.selectColumn(o), ["stop"]),
1223
- onKeyup: S((h) => e.selectColumn(o), ["enter"])
1252
+ onClick: L((d) => e.selectColumn(o), ["stop"]),
1253
+ onKeyup: S((d) => e.selectColumn(o), ["enter"])
1224
1254
  }, null, 42, tt))
1225
1255
  ], 6))), 128))
1226
1256
  ])
@@ -1238,13 +1268,13 @@ function Wt(n, t, r, i, s, e) {
1238
1268
  a("td", {
1239
1269
  class: "vue-ui-table-td-iteration",
1240
1270
  "data-row": o % 2 === 0 ? "odd" : "even"
1241
- }, d(l.absoluteIndex + 1), 9, nt),
1242
- (c(!0), u(F, null, k(l.td, (h, y) => (c(), u("td", {
1271
+ }, h(l.absoluteIndex + 1), 9, nt),
1272
+ (c(!0), u(F, null, k(l.td, (d, y) => (c(), u("td", {
1243
1273
  "data-row": o % 2 === 0 ? "odd" : "even",
1244
1274
  key: `td_${o}_${y}`,
1245
- style: g(e.isNumeric(h) || r.dataset.header[y].type === s.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
1275
+ style: g(e.isNumeric(d) || r.dataset.header[y].type === s.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
1246
1276
  onClick: (C) => e.selectTd({
1247
- td: h,
1277
+ td: d,
1248
1278
  rowIndex: o,
1249
1279
  colIndex: y,
1250
1280
  headerType: r.dataset.header[y].type,
@@ -1252,14 +1282,14 @@ function Wt(n, t, r, i, s, e) {
1252
1282
  }),
1253
1283
  onKeyup: [
1254
1284
  S((C) => e.selectTd({
1255
- td: h,
1285
+ td: d,
1256
1286
  rowIndex: o,
1257
1287
  colIndex: y,
1258
1288
  headerType: r.dataset.header[y].type,
1259
1289
  event: C
1260
1290
  }), ["enter"]),
1261
1291
  S((C) => e.selectTd({
1262
- td: h,
1292
+ td: d,
1263
1293
  rowIndex: o,
1264
1294
  colIndex: y,
1265
1295
  headerType: r.dataset.header[y].type,
@@ -1275,31 +1305,31 @@ function Wt(n, t, r, i, s, e) {
1275
1305
  style: g(`color:${l.meta.color};margin-right:3px`),
1276
1306
  innerHTML: l.meta.unicodeIcon
1277
1307
  }, null, 12, ot)) : b("", !0),
1278
- 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({
1279
- v: Number(h * 100),
1308
+ r.dataset.header[y].type === s.constants.DATE ? (c(), u("span", lt, h(r.dataset.header[y].prefix) + " " + h(new Date(d).toLocaleString().slice(0, 10)) + " " + h(r.dataset.header[y].suffix), 1)) : r.dataset.header[y].isPercentage ? (c(), u("span", at, h(e.dataLabel({
1309
+ v: Number(d * 100),
1280
1310
  s: "%",
1281
1311
  r: r.dataset.header[y].decimals
1282
1312
  })), 1)) : s.percentages[y] && r.dataset.header[y].percentageTo && !r.dataset.header[y].isPercentage ? (c(), u("span", {
1283
1313
  key: 3,
1284
- class: N({ "td-nan": isNaN(Number(h)) })
1285
- }, d(isNaN(Number(h)) ? `${h} is not ${s.constants.NUMERIC}` : e.dataLabel({
1314
+ class: N({ "td-nan": isNaN(Number(d)) })
1315
+ }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1286
1316
  p: r.dataset.header[y].prefix,
1287
- v: Number(h),
1317
+ v: Number(d),
1288
1318
  s: r.dataset.header[y].suffix,
1289
1319
  r: r.dataset.header[y].decimals
1290
- })) + " (" + d(isNaN(Number(h)) ? "" : e.dataLabel({
1291
- v: Number(h / e.getSum(s.percentages[y].referenceIndex) * 100),
1320
+ })) + " (" + h(isNaN(Number(d)) ? "" : e.dataLabel({
1321
+ v: Number(d / e.getSum(s.percentages[y].referenceIndex) * 100),
1292
1322
  s: "%",
1293
1323
  r: r.dataset.header[y].decimals
1294
1324
  })) + ") ", 3)) : r.dataset.header[y].type === s.constants.NUMERIC ? (c(), u("span", {
1295
1325
  key: 4,
1296
- class: N({ "td-nan": isNaN(Number(h)) })
1297
- }, d(isNaN(Number(h)) ? `${h} is not ${s.constants.NUMERIC}` : e.dataLabel({
1326
+ class: N({ "td-nan": isNaN(Number(d)) })
1327
+ }, h(isNaN(Number(d)) ? `${d} is not ${s.constants.NUMERIC}` : e.dataLabel({
1298
1328
  p: r.dataset.header[y].prefix,
1299
- v: Number(h.toFixed(r.dataset.header[y].decimals)),
1329
+ v: Number(d.toFixed(r.dataset.header[y].decimals)),
1300
1330
  s: r.dataset.header[y].suffix,
1301
1331
  r: r.dataset.header[y].decimals
1302
- })), 3)) : (c(), u("span", it, d(r.dataset.header[y].prefix) + " " + d(h) + " " + d(r.dataset.header[y].suffix), 1))
1332
+ })), 3)) : (c(), u("span", it, h(r.dataset.header[y].prefix) + " " + h(d) + " " + h(r.dataset.header[y].suffix), 1))
1303
1333
  ], 46, rt))), 128))
1304
1334
  ], 14, st))), 128))
1305
1335
  ], 32)
@@ -1316,21 +1346,21 @@ function Wt(n, t, r, i, s, e) {
1316
1346
  }, null, 8, ct),
1317
1347
  a("span", null, [
1318
1348
  a("b", null, [
1319
- w(d(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1320
- 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)
1349
+ v(h(r.dataset.header[s.currentSelectionSpan.col].name) + " ", 1),
1350
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("span", ut, " / " + h(r.dataset.header[s.percentages[s.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1321
1351
  ]),
1322
1352
  a("span", ht, [
1323
- w(d(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1324
- a("b", dt, d(s.currentSelectionSpan.rows.length), 1)
1353
+ v(h(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1354
+ a("b", dt, h(s.currentSelectionSpan.rows.length), 1)
1325
1355
  ]),
1326
1356
  a("span", gt, [
1327
- w(d(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1328
- 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)),
1357
+ v(h(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1358
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", mt, h(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", yt, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.sumRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1329
1359
  r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", bt, "%")) : b("", !0)
1330
1360
  ]),
1331
1361
  a("span", ft, [
1332
- w(d(e.FINAL_CONFIG.translations.average) + " : ", 1),
1333
- 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)),
1362
+ v(h(e.FINAL_CONFIG.translations.average) + " : ", 1),
1363
+ r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", pt, h(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", Nt, h(r.dataset.header[s.currentSelectionSpan.col].prefix) + " " + h(e.selectedCellsCalculations.averageRegular) + " " + h(r.dataset.header[s.currentSelectionSpan.col].suffix), 1)),
1334
1364
  r.dataset.header[s.currentSelectionSpan.col].isPercentage ? (c(), u("b", Ct, "%")) : b("", !0)
1335
1365
  ])
1336
1366
  ]),
@@ -1342,7 +1372,7 @@ function Wt(n, t, r, i, s, e) {
1342
1372
  ], 64)) : b("", !0)
1343
1373
  ], 6),
1344
1374
  s.bodyCopy.length > 10 ? (c(), u("div", It, [
1345
- w(d(e.FINAL_CONFIG.translations.totalRows) + " : " + d(r.dataset.body.length) + " | " + d(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1375
+ v(h(e.FINAL_CONFIG.translations.totalRows) + " : " + h(r.dataset.body.length) + " | " + h(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
1346
1376
  s.bodyCopy.length > 10 ? O((c(), u("select", {
1347
1377
  key: 0,
1348
1378
  id: "paginatorSelector",
@@ -1355,11 +1385,11 @@ function Wt(n, t, r, i, s, e) {
1355
1385
  (c(!0), u(F, null, k(s.paginatorOptions, (l, o) => (c(), u(F, null, [
1356
1386
  s.bodyCopy.length > l || r.dataset.body.length === l ? (c(), u("option", {
1357
1387
  key: `paginator_option_${o}`
1358
- }, d(l), 1)) : b("", !0)
1388
+ }, h(l), 1)) : b("", !0)
1359
1389
  ], 64))), 256))
1360
1390
  ], 36)), [
1361
1391
  [
1362
- te,
1392
+ P,
1363
1393
  s.itemsPerPage,
1364
1394
  void 0,
1365
1395
  { number: !0 }
@@ -1370,7 +1400,7 @@ function Wt(n, t, r, i, s, e) {
1370
1400
  a("span", {
1371
1401
  innerHTML: e.icons.warning
1372
1402
  }, null, 8, vt),
1373
- w(d(e.FINAL_CONFIG.translations.sizeWarning), 1)
1403
+ v(h(e.FINAL_CONFIG.translations.sizeWarning), 1)
1374
1404
  ])) : b("", !0),
1375
1405
  e.pages.length > 1 && e.pages.length <= 10 ? (c(), u("div", {
1376
1406
  key: 3,
@@ -1393,7 +1423,7 @@ function Wt(n, t, r, i, s, e) {
1393
1423
  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}`)
1394
1424
  }, " 1 ", 12, kt),
1395
1425
  e.pages.length > 10 ? (c(), u("div", Ot, [
1396
- a("label", St, d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1),
1426
+ a("label", St, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1),
1397
1427
  a("input", {
1398
1428
  class: "vue-ui-table-page-scroller",
1399
1429
  id: "pageScroller",
@@ -1405,15 +1435,15 @@ function Wt(n, t, r, i, s, e) {
1405
1435
  value: s.currentPage,
1406
1436
  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}`)
1407
1437
  }, null, 44, Lt)
1408
- ])) : (c(), u("span", At, d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1)),
1438
+ ])) : (c(), u("span", At, h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)),
1409
1439
  a("button", {
1410
1440
  class: "vue-ui-table-navigation",
1411
1441
  onClick: t[19] || (t[19] = L((l) => e.navigate(e.pages.length), ["stop"])),
1412
1442
  disabled: s.currentPage === e.pages.length - 1,
1413
1443
  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}`)
1414
- }, d(e.pages.length), 13, Mt)
1444
+ }, h(e.pages.length), 13, Mt)
1415
1445
  ], 64)) : (c(), u(F, { key: 1 }, [
1416
- w(d(e.FINAL_CONFIG.translations.page) + " " + d(s.currentPage + 1) + " / " + d(e.pages.length), 1)
1446
+ v(h(e.FINAL_CONFIG.translations.page) + " " + h(s.currentPage + 1) + " / " + h(e.pages.length), 1)
1417
1447
  ], 64)),
1418
1448
  a("button", {
1419
1449
  class: "vue-ui-table-navigation",
@@ -1445,14 +1475,14 @@ function Wt(n, t, r, i, s, e) {
1445
1475
  class: "close-chart-modal",
1446
1476
  onClick: t[23] || (t[23] = (l) => s.showChart = !1)
1447
1477
  }, " ✖ ", 4),
1448
- a("div", xt, [
1478
+ a("div", Tt, [
1449
1479
  e.availableDonutCategories.length ? (c(), u("button", {
1450
1480
  key: 0,
1451
1481
  onClick: t[24] || (t[24] = (l) => s.showDonutOptions = !0),
1452
1482
  innerHTML: e.icons.donut,
1453
1483
  class: N({ "is-active-chart": s.chart.type === s.constants.DONUT || s.showDonutOptions }),
1454
1484
  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}`)
1455
- }, null, 14, Tt)) : b("", !0),
1485
+ }, null, 14, xt)) : b("", !0),
1456
1486
  a("button", {
1457
1487
  onClick: t[25] || (t[25] = (l) => {
1458
1488
  s.chart.type = s.constants.LINE, s.showDonutOptions = !1;
@@ -1476,7 +1506,7 @@ function Wt(n, t, r, i, s, e) {
1476
1506
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1477
1507
  }, [
1478
1508
  a("fieldset", Ht, [
1479
- a("legend", null, d(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1509
+ a("legend", null, h(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1480
1510
  a("div", Rt, [
1481
1511
  (c(!0), u(F, null, k(e.availableDonutCategories, (l, o) => (c(), u("div", {
1482
1512
  key: `donut_radio_${o}`,
@@ -1487,12 +1517,12 @@ function Wt(n, t, r, i, s, e) {
1487
1517
  name: l.name,
1488
1518
  id: l.name,
1489
1519
  checked: s.selectedDonutCategory && l.name === s.selectedDonutCategory.name,
1490
- onInput: (h) => s.selectedDonutCategory = e.availableDonutCategories[o],
1520
+ onInput: (d) => s.selectedDonutCategory = e.availableDonutCategories[o],
1491
1521
  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}`)
1492
1522
  }, null, 44, zt),
1493
1523
  a("label", {
1494
1524
  for: l.name
1495
- }, d(l.name), 9, Ut)
1525
+ }, h(l.name), 9, Ut)
1496
1526
  ]))), 128))
1497
1527
  ]),
1498
1528
  a("button", {
@@ -1505,37 +1535,47 @@ function Wt(n, t, r, i, s, e) {
1505
1535
  style: { "margin-bottom": "-3px" },
1506
1536
  innerHTML: e.icons.donut
1507
1537
  }, null, 8, Xt),
1508
- w(" " + d(e.FINAL_CONFIG.translations.makeDonut), 1)
1538
+ v(" " + h(e.FINAL_CONFIG.translations.makeDonut), 1)
1509
1539
  ], 12, Vt)
1510
1540
  ])
1511
1541
  ], 4)) : b("", !0),
1512
1542
  [s.constants.BAR, s.constants.LINE].includes(s.chart.type) && !s.showDonutOptions ? (c(), u(F, { key: 1 }, [
1513
- a("div", jt, [
1514
- s.chart.type === s.constants.LINE ? (c(), P(f, {
1515
- key: 0,
1543
+ e.chartTimeLabelOptions.length > 1 ? (c(), u("label", jt, [
1544
+ v(h(e.FINAL_CONFIG.translations.xAxisLabels) + " ", 1),
1545
+ O(a("select", {
1546
+ "onUpdate:modelValue": t[28] || (t[28] = (l) => s.chartTimeLabelSourceModel = l)
1547
+ }, [
1548
+ (c(!0), u(F, null, k(e.chartTimeLabelOptions, (l) => (c(), u("option", null, h(l), 1))), 256))
1549
+ ], 512), [
1550
+ [P, s.chartTimeLabelSourceModel]
1551
+ ])
1552
+ ])) : b("", !0),
1553
+ a("div", Yt, [
1554
+ s.chart.type === s.constants.LINE ? (c(), B(f, {
1555
+ key: `chart_line_${s.chartStep}`,
1516
1556
  dataset: e.chartData.xyDatasetLine,
1517
1557
  config: e.chartData.xyConfig
1518
1558
  }, null, 8, ["dataset", "config"])) : b("", !0),
1519
- s.chart.type === s.constants.BAR ? (c(), P(f, {
1520
- key: 1,
1559
+ s.chart.type === s.constants.BAR ? (c(), B(f, {
1560
+ key: `chart_bar_${s.chartStep}`,
1521
1561
  dataset: e.chartData.xyDatasetBar,
1522
1562
  config: e.chartData.xyConfig
1523
1563
  }, null, 8, ["dataset", "config"])) : b("", !0)
1524
1564
  ]),
1525
1565
  s.currentSelectionSpan.rows.length >= 2 ? (c(), u("div", {
1526
- key: 0,
1566
+ key: 1,
1527
1567
  class: "chart-trend",
1528
1568
  style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1529
1569
  }, [
1530
- t[36] || (t[36] = a("span", null, "---", -1)),
1531
- w(" Trend: " + d(e.dataLabel({
1532
- v: e.chartData.progression.trend,
1570
+ t[37] || (t[37] = a("span", null, "---", -1)),
1571
+ v(" Trend: " + h(e.dataLabel({
1572
+ v: e.chartData.progression.trend * 100,
1533
1573
  s: "%",
1534
1574
  r: 1
1535
1575
  })), 1)
1536
1576
  ], 4)) : b("", !0)
1537
1577
  ], 64)) : b("", !0),
1538
- [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Yt, [
1578
+ [s.constants.DONUT].includes(s.chart.type) && !s.showDonutOptions ? (c(), u("div", Wt, [
1539
1579
  E(_, {
1540
1580
  dataset: s.currentDonut,
1541
1581
  config: e.chartData.donutConfig
@@ -1545,7 +1585,7 @@ function Wt(n, t, r, i, s, e) {
1545
1585
  ], 4)) : b("", !0)
1546
1586
  ], 4);
1547
1587
  }
1548
- const ss = /* @__PURE__ */ se(ne, [["render", Wt], ["__scopeId", "data-v-24575fa8"]]);
1588
+ const ns = /* @__PURE__ */ se(ne, [["render", Jt], ["__scopeId", "data-v-baef4664"]]);
1549
1589
  export {
1550
- ss as default
1590
+ ns as default
1551
1591
  };