vue-data-ui 2.9.3 → 2.9.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/dist/{Arrow-Dd8sFWk7.js → Arrow-CJMMd0OS.js} +1 -1
  2. package/dist/{Arrow-Byzfuz-Y.cjs → Arrow-DxFFCBPM.cjs} +1 -1
  3. package/dist/{BaseIcon-CSELstL2.cjs → BaseIcon-DU8qgy6L.cjs} +1 -1
  4. package/dist/{BaseIcon-CLefSNKF.js → BaseIcon-hA0_6Cl-.js} +1 -1
  5. package/dist/{ColorPicker-CZqXDroo.js → ColorPicker-C2hq5iIZ.js} +3 -3
  6. package/dist/{ColorPicker-DMqX5Kn5.cjs → ColorPicker-t6z7vah6.cjs} +1 -1
  7. package/dist/{DataTable-CpuMdjPX.cjs → DataTable-BPnqR1qF.cjs} +1 -1
  8. package/dist/{DataTable-Cuky8ZpI.js → DataTable-BbXCe5s5.js} +2 -2
  9. package/dist/{Legend-CqHSKd8f.cjs → Legend-BQHuBdpT.cjs} +1 -1
  10. package/dist/{Legend-BQ5HGf8B.js → Legend-D9ki4JJ3.js} +2 -2
  11. package/dist/{PackageVersion-DJo_CKR-.js → PackageVersion-Bq98eXon.js} +1 -1
  12. package/dist/{PackageVersion-DkyZc28_.cjs → PackageVersion-mZLomJm-.cjs} +1 -1
  13. package/dist/{PenAndPaper-DK3Wbwoz.js → PenAndPaper-CUUyQzLR.js} +3 -3
  14. package/dist/{PenAndPaper-DU2wA7cg.cjs → PenAndPaper-CvkDs-Gh.cjs} +1 -1
  15. package/dist/{Shape-Cp1FyHcE.cjs → Shape-BeAQjfne.cjs} +1 -1
  16. package/dist/{Shape-BchKnVQT.js → Shape-D6lPonNm.js} +1 -1
  17. package/dist/{Slicer-DvQmWmSB.js → Slicer-5j6e3Y_A.js} +2 -2
  18. package/dist/{Slicer-CE1LNNRp.cjs → Slicer-C97ZQ2j3.cjs} +1 -1
  19. package/dist/{Title-DV4IpbZv.cjs → Title-Cjpkoa1d.cjs} +1 -1
  20. package/dist/{Title-DmtXFzpc.js → Title-CwPVIBWP.js} +1 -1
  21. package/dist/{Tooltip-De6uq1YK.cjs → Tooltip-DPgFOV_5.cjs} +1 -1
  22. package/dist/{Tooltip-BMaBMPpZ.js → Tooltip-T-m_CEIA.js} +1 -1
  23. package/dist/{dom-to-png-725pnoVX.js → dom-to-png-CGtn1Am2.js} +1 -1
  24. package/dist/{dom-to-png-BE7poR2a.cjs → dom-to-png-CYjAAVu3.cjs} +1 -1
  25. package/dist/{img-CFYnBJP3.cjs → img-Duw2r72a.cjs} +1 -1
  26. package/dist/{img-Ciiut165.js → img-s3DffGWH.js} +1 -1
  27. package/dist/{index-CeGGP5OF.js → index-BDGf85YF.js} +1 -1
  28. package/dist/{index-Bw9yF1Ws.cjs → index-BS7ybKs5.cjs} +1 -1
  29. package/dist/{pdf-DyTBDj-k.js → pdf-BnBP0Jg-.js} +1 -1
  30. package/dist/{pdf-DLDggJUq.cjs → pdf-CRgxb46R.cjs} +1 -1
  31. package/dist/style.css +1 -1
  32. package/dist/{useNestedProp-CD9pbB7F.js → useNestedProp-BsN3TOQ0.js} +1 -1
  33. package/dist/{useNestedProp-CuyRUIUu.cjs → useNestedProp-D24_JklN.cjs} +1 -1
  34. package/dist/{usePrinter-O9uCoI6k.cjs → usePrinter-Bs-Uo-8x.cjs} +1 -1
  35. package/dist/{usePrinter-Ox_AUldH.js → usePrinter-CKjQQldf.js} +3 -3
  36. package/dist/{vue-data-ui-Ci_EB1Pl.cjs → vue-data-ui-BMJWddQg.cjs} +1 -1
  37. package/dist/{vue-data-ui-Bqni-1Zf.js → vue-data-ui-IWpvfdMh.js} +61 -61
  38. package/dist/vue-data-ui.cjs +1 -1
  39. package/dist/vue-data-ui.js +1 -1
  40. package/dist/{vue-ui-3d-bar-Du8HQpHI.js → vue-ui-3d-bar-DVNn8pu-.js} +9 -9
  41. package/dist/{vue-ui-3d-bar-CwXVZG3Y.cjs → vue-ui-3d-bar-slYknMyR.cjs} +1 -1
  42. package/dist/{vue-ui-accordion-B7WLy1Jg.cjs → vue-ui-accordion-BMK6-xDm.cjs} +1 -1
  43. package/dist/{vue-ui-accordion-B5Gs-td_.js → vue-ui-accordion-CYKk4uk8.js} +3 -3
  44. package/dist/{vue-ui-age-pyramid-B8W-ss5n.js → vue-ui-age-pyramid-1zM8QRQl.js} +10 -10
  45. package/dist/{vue-ui-age-pyramid-B4H7JQkT.cjs → vue-ui-age-pyramid-BCQsnc8c.cjs} +1 -1
  46. package/dist/{vue-ui-annotator-BINIZaue.cjs → vue-ui-annotator-5O4hWWvi.cjs} +1 -1
  47. package/dist/{vue-ui-annotator-DNF_ObQQ.js → vue-ui-annotator-_U6PEy_s.js} +2 -2
  48. package/dist/{vue-ui-bullet-DAbmjJO4.cjs → vue-ui-bullet-BAaTrfRK.cjs} +1 -1
  49. package/dist/{vue-ui-bullet-C70Q3NPV.js → vue-ui-bullet-DuI83w0_.js} +8 -8
  50. package/dist/{vue-ui-candlestick-CdC4R7M2.js → vue-ui-candlestick-Caume8Cr.js} +11 -11
  51. package/dist/{vue-ui-candlestick-DteMmbOt.cjs → vue-ui-candlestick-CoxKe0hi.cjs} +1 -1
  52. package/dist/{vue-ui-carousel-table-Dav_wxu5.cjs → vue-ui-carousel-table-C3oLoBhV.cjs} +1 -1
  53. package/dist/{vue-ui-carousel-table-DRia7BnJ.js → vue-ui-carousel-table-Dpj6uzaw.js} +4 -4
  54. package/dist/{vue-ui-chestnut-B6DIgsRe.cjs → vue-ui-chestnut-CRiCk9LN.cjs} +1 -1
  55. package/dist/{vue-ui-chestnut-CHB6EIMR.js → vue-ui-chestnut-DC57Y0fm.js} +8 -8
  56. package/dist/{vue-ui-circle-pack-DqTsATrx.js → vue-ui-circle-pack-Bx8ATqeJ.js} +9 -9
  57. package/dist/{vue-ui-circle-pack-ZYPeAycn.cjs → vue-ui-circle-pack-Dtaz0QCf.cjs} +1 -1
  58. package/dist/{vue-ui-cursor-D6Klb7Ub.js → vue-ui-cursor-D2_6cGWO.js} +2 -2
  59. package/dist/{vue-ui-cursor-pMITkG0c.cjs → vue-ui-cursor-Dae_RvTj.cjs} +1 -1
  60. package/dist/{vue-ui-dashboard-DMKc0NXK.cjs → vue-ui-dashboard-Cia2p6jc.cjs} +1 -1
  61. package/dist/{vue-ui-dashboard-BjOefVNY.js → vue-ui-dashboard-CqEaxTGo.js} +62 -62
  62. package/dist/{vue-ui-digits-D7bnAeht.js → vue-ui-digits-BBh4FaLt.js} +2 -2
  63. package/dist/{vue-ui-digits-CeQ3UvM5.cjs → vue-ui-digits-TcCd1Ayj.cjs} +1 -1
  64. package/dist/{vue-ui-donut-dt7wntWx.cjs → vue-ui-donut-CXI85ZJW.cjs} +1 -1
  65. package/dist/{vue-ui-donut-B2RReI5v.js → vue-ui-donut-DlvFHlJB.js} +12 -12
  66. package/dist/{vue-ui-donut-evolution-CEMUyFGj.cjs → vue-ui-donut-evolution-BXEmubwy.cjs} +1 -1
  67. package/dist/{vue-ui-donut-evolution-Q8efqEFi.js → vue-ui-donut-evolution-Ba4GIJg3.js} +11 -11
  68. package/dist/{vue-ui-dumbbell-DmJnlQk9.js → vue-ui-dumbbell-2xYiPFix.js} +10 -10
  69. package/dist/{vue-ui-dumbbell-Da0UGWon.cjs → vue-ui-dumbbell-C1y6x8kv.cjs} +1 -1
  70. package/dist/{vue-ui-flow-DnpEech8.js → vue-ui-flow-BBFoxXRy.js} +9 -9
  71. package/dist/{vue-ui-flow-B2LxKwSy.cjs → vue-ui-flow-Cn0WD8c1.cjs} +1 -1
  72. package/dist/{vue-ui-funnel-Cfg8_Y28.cjs → vue-ui-funnel-BW0E2--M.cjs} +1 -1
  73. package/dist/{vue-ui-funnel-D1FBngXC.js → vue-ui-funnel-DzcoJC-S.js} +9 -9
  74. package/dist/{vue-ui-galaxy-BBseh1Xu.cjs → vue-ui-galaxy-C7S_aK4E.cjs} +1 -1
  75. package/dist/{vue-ui-galaxy-DeiFZ4-K.js → vue-ui-galaxy-D88zMUzb.js} +11 -11
  76. package/dist/{vue-ui-gauge-CgbP28Lu.cjs → vue-ui-gauge-BNMnbzT6.cjs} +1 -1
  77. package/dist/{vue-ui-gauge-BYAT1lpA.js → vue-ui-gauge-DU5uLDka.js} +7 -7
  78. package/dist/{vue-ui-gizmo-Cg8EOszW.cjs → vue-ui-gizmo-CdjyPQN0.cjs} +1 -1
  79. package/dist/{vue-ui-gizmo-Dx0a1RXr.js → vue-ui-gizmo-Cgqr5OQC.js} +3 -3
  80. package/dist/{vue-ui-heatmap-Dmnsolb3.cjs → vue-ui-heatmap-B26GMl3N.cjs} +1 -1
  81. package/dist/{vue-ui-heatmap-8ztV6WVL.js → vue-ui-heatmap-DhJtkLrS.js} +10 -10
  82. package/dist/{vue-ui-history-plot-Bqjnj0j7.js → vue-ui-history-plot-DBegFcxp.js} +11 -11
  83. package/dist/{vue-ui-history-plot-Dyh-V9Gh.cjs → vue-ui-history-plot-VwHC74EA.cjs} +1 -1
  84. package/dist/{vue-ui-kpi-BC6eewXW.cjs → vue-ui-kpi-C1i0iWrh.cjs} +1 -1
  85. package/dist/{vue-ui-kpi-BcquwnAL.js → vue-ui-kpi-CfzNgybX.js} +3 -3
  86. package/dist/{vue-ui-mini-loader-DwEPWCvw.cjs → vue-ui-mini-loader-Djlgqhvu.cjs} +1 -1
  87. package/dist/{vue-ui-mini-loader-B5TCB-jm.js → vue-ui-mini-loader-DvYHhqWT.js} +2 -2
  88. package/dist/{vue-ui-molecule-CxdrRZT1.cjs → vue-ui-molecule-C4Z2E7uD.cjs} +1 -1
  89. package/dist/{vue-ui-molecule-BlQ9EKHu.js → vue-ui-molecule-Cr6KJ5eZ.js} +11 -11
  90. package/dist/{vue-ui-mood-radar-CaMrzhKf.js → vue-ui-mood-radar-DHTNv7wD.js} +11 -11
  91. package/dist/{vue-ui-mood-radar-D5dAbRIg.cjs → vue-ui-mood-radar-DhLF09v7.cjs} +1 -1
  92. package/dist/{vue-ui-nested-donuts-B0Msfykw.js → vue-ui-nested-donuts-Dm0rc5ct.js} +11 -11
  93. package/dist/{vue-ui-nested-donuts-PH-8er1N.cjs → vue-ui-nested-donuts-vMeonmHR.cjs} +1 -1
  94. package/dist/{vue-ui-onion-CJQvWcZc.js → vue-ui-onion-CssSqL8q.js} +11 -11
  95. package/dist/{vue-ui-onion-BdgRqKZC.cjs → vue-ui-onion-boKXIe-r.cjs} +1 -1
  96. package/dist/{vue-ui-parallel-coordinate-plot-e_Fy1AqK.js → vue-ui-parallel-coordinate-plot-DBzBW-Vn.js} +12 -12
  97. package/dist/{vue-ui-parallel-coordinate-plot-CFSlIws_.cjs → vue-ui-parallel-coordinate-plot-DxKTqBB8.cjs} +1 -1
  98. package/dist/{vue-ui-quadrant-CgmJi4VO.cjs → vue-ui-quadrant-BkaXchAn.cjs} +1 -1
  99. package/dist/{vue-ui-quadrant-BUdDJDiC.js → vue-ui-quadrant-CSuEenz4.js} +12 -12
  100. package/dist/{vue-ui-quick-chart-a0Aq180v.js → vue-ui-quick-chart-BLTVHmn2.js} +9 -9
  101. package/dist/{vue-ui-quick-chart-WOakiHbL.cjs → vue-ui-quick-chart-DJpBpFM4.cjs} +1 -1
  102. package/dist/{vue-ui-radar-Dq5awTJ4.js → vue-ui-radar-BKM9hhMO.js} +12 -12
  103. package/dist/{vue-ui-radar-D3XH7mnS.cjs → vue-ui-radar-CrxciP8t.cjs} +1 -1
  104. package/dist/{vue-ui-rating-CbJwIMBH.js → vue-ui-rating-7uT1-yDP.js} +2 -2
  105. package/dist/{vue-ui-rating-BLYhtefr.cjs → vue-ui-rating-BWMgiGmm.cjs} +1 -1
  106. package/dist/{vue-ui-relation-circle-QSXzaYcG.cjs → vue-ui-relation-circle-BFvsOsjM.cjs} +1 -1
  107. package/dist/{vue-ui-relation-circle-Dt3L1hs0.js → vue-ui-relation-circle-Bk2mNJDz.js} +7 -7
  108. package/dist/{vue-ui-rings-XJSxdsBz.cjs → vue-ui-rings-FzLeValL.cjs} +1 -1
  109. package/dist/{vue-ui-rings-BzzWkMfI.js → vue-ui-rings-azmWz0Sn.js} +12 -12
  110. package/dist/{vue-ui-scatter-WfGg6-i5.js → vue-ui-scatter-CgHGWxEM.js} +12 -12
  111. package/dist/{vue-ui-scatter-KB-arFYU.cjs → vue-ui-scatter-D_3855LX.cjs} +1 -1
  112. package/dist/{vue-ui-skeleton-1LYIEAgE.cjs → vue-ui-skeleton-BznhCw4p.cjs} +1 -1
  113. package/dist/{vue-ui-skeleton-CpGgeJbB.js → vue-ui-skeleton-hrplR5wa.js} +3 -3
  114. package/dist/{vue-ui-smiley-Dz2M3bCK.cjs → vue-ui-smiley-B02R516m.cjs} +1 -1
  115. package/dist/{vue-ui-smiley-C6NH0Lex.js → vue-ui-smiley-B6DAFeS1.js} +2 -2
  116. package/dist/{vue-ui-spark-trend-B_GfxBXt.cjs → vue-ui-spark-trend-CVU8ZId2.cjs} +1 -1
  117. package/dist/{vue-ui-spark-trend-DTeJM_9L.js → vue-ui-spark-trend-Cvw68YCa.js} +5 -5
  118. package/dist/{vue-ui-sparkbar-odjVGeM_.cjs → vue-ui-sparkbar-BVAmpd2c.cjs} +1 -1
  119. package/dist/{vue-ui-sparkbar-CLGDM4VK.js → vue-ui-sparkbar-CLtobIKI.js} +4 -4
  120. package/dist/{vue-ui-sparkgauge-DenhO9cj.js → vue-ui-sparkgauge-DV7_YpFv.js} +4 -4
  121. package/dist/{vue-ui-sparkgauge-83j8e2xQ.cjs → vue-ui-sparkgauge-PfjN8EtA.cjs} +1 -1
  122. package/dist/{vue-ui-sparkhistogram-Bsid3CJE.cjs → vue-ui-sparkhistogram-B3bXOOfB.cjs} +1 -1
  123. package/dist/{vue-ui-sparkhistogram-Ch5_voyg.js → vue-ui-sparkhistogram-BgGs2Ge0.js} +5 -5
  124. package/dist/{vue-ui-sparkline-LpkWUXEl.cjs → vue-ui-sparkline-BpRBXQMZ.cjs} +1 -1
  125. package/dist/{vue-ui-sparkline-CFx-n0Ax.js → vue-ui-sparkline-CgtP1kxm.js} +4 -4
  126. package/dist/{vue-ui-sparkstackbar-CDpHiCTo.cjs → vue-ui-sparkstackbar--pn0EIYM.cjs} +1 -1
  127. package/dist/{vue-ui-sparkstackbar-ZvPhkKk4.js → vue-ui-sparkstackbar-DNjIcyBK.js} +5 -5
  128. package/dist/{vue-ui-stackbar-CX96MGjz.js → vue-ui-stackbar-CjRAckRq.js} +13 -13
  129. package/dist/{vue-ui-stackbar-CKaqcgK_.cjs → vue-ui-stackbar-CqQ5RMAB.cjs} +1 -1
  130. package/dist/{vue-ui-strip-plot-BCRGcKhd.js → vue-ui-strip-plot-CW_RftRT.js} +11 -11
  131. package/dist/{vue-ui-strip-plot-Cw8Su0WV.cjs → vue-ui-strip-plot-DxfM92am.cjs} +1 -1
  132. package/dist/{vue-ui-table-BcnDEvP5.js → vue-ui-table-D9K1kDv5.js} +183 -167
  133. package/dist/{vue-ui-table-heatmap-BvdOkoVy.js → vue-ui-table-heatmap-B_iJQCJL.js} +4 -4
  134. package/dist/{vue-ui-table-heatmap-XbKVm0qZ.cjs → vue-ui-table-heatmap-D2Ikfd7A.cjs} +1 -1
  135. package/dist/{vue-ui-table-sparkline-DlAlNznI.js → vue-ui-table-sparkline-Bu-b38cW.js} +5 -5
  136. package/dist/{vue-ui-table-sparkline-ClWB_nso.cjs → vue-ui-table-sparkline-CYWYfG5M.cjs} +1 -1
  137. package/dist/vue-ui-table-z1l0Vin6.cjs +14 -0
  138. package/dist/{vue-ui-thermometer-DfTbUkLT.js → vue-ui-thermometer--XuyMCZI.js} +7 -7
  139. package/dist/{vue-ui-thermometer-zpcoSEWt.cjs → vue-ui-thermometer-CgYedLZ5.cjs} +1 -1
  140. package/dist/{vue-ui-timer-DwFy6VaG.cjs → vue-ui-timer-BiTGijvm.cjs} +1 -1
  141. package/dist/{vue-ui-timer-TchnXzem.js → vue-ui-timer-GrhFEUcz.js} +5 -5
  142. package/dist/{vue-ui-tiremarks-fzrlOBsj.js → vue-ui-tiremarks-CHd1kBCw.js} +7 -7
  143. package/dist/{vue-ui-tiremarks-CmAFj_nG.cjs → vue-ui-tiremarks-LAdsMqyP.cjs} +1 -1
  144. package/dist/{vue-ui-treemap-DnNrJ4dw.cjs → vue-ui-treemap-4BGOXoCD.cjs} +1 -1
  145. package/dist/{vue-ui-treemap-CDo8x9s6.js → vue-ui-treemap-CIGl0OBe.js} +12 -12
  146. package/dist/{vue-ui-vertical-bar-DxcAPPXR.cjs → vue-ui-vertical-bar-Bc3d2SCI.cjs} +1 -1
  147. package/dist/{vue-ui-vertical-bar-Bx1KnXDB.js → vue-ui-vertical-bar-Btv32rCQ.js} +12 -12
  148. package/dist/{vue-ui-waffle-CvQaobYo.cjs → vue-ui-waffle-BfgS6Gkw.cjs} +1 -1
  149. package/dist/{vue-ui-waffle-faLsv9bZ.js → vue-ui-waffle-qZHJoGgD.js} +12 -12
  150. package/dist/{vue-ui-wheel-pn6-k3Wb.js → vue-ui-wheel-CFf56O9Y.js} +7 -7
  151. package/dist/{vue-ui-wheel-BWXUHx3h.cjs → vue-ui-wheel-CkqHG4gC.cjs} +1 -1
  152. package/dist/{vue-ui-word-cloud-Bfn2BGMh.js → vue-ui-word-cloud-Cgtt4v0g.js} +10 -10
  153. package/dist/{vue-ui-word-cloud-BPU3c5Z2.cjs → vue-ui-word-cloud-DU1a_f2O.cjs} +1 -1
  154. package/dist/vue-ui-world-2gnEByN3.js +1107 -0
  155. package/dist/vue-ui-world-w-oAd8TZ.cjs +19 -0
  156. package/dist/{vue-ui-xy-B5DZ8Qmi.js → vue-ui-xy-DhTZvuRq.js} +16 -16
  157. package/dist/{vue-ui-xy-DJZ-eOyQ.cjs → vue-ui-xy-Dy4M6VtE.cjs} +2 -2
  158. package/dist/{vue-ui-xy-canvas-BwmEkw6g.js → vue-ui-xy-canvas-B4jIg9Zl.js} +12 -12
  159. package/dist/{vue-ui-xy-canvas-2gXEGzLd.cjs → vue-ui-xy-canvas-CTwc8DS0.cjs} +1 -1
  160. package/package.json +1 -1
  161. package/dist/vue-ui-table-DCGpCB-H.cjs +0 -14
  162. package/dist/vue-ui-world-BbjG83CB.js +0 -929
  163. package/dist/vue-ui-world-DWecwIQS.cjs +0 -19
@@ -1,7 +1,7 @@
1
- import { a3 as P, A as z, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-CeGGP5OF.js";
2
- import q from "./vue-ui-xy-B5DZ8Qmi.js";
3
- import Q from "./vue-ui-donut-B2RReI5v.js";
4
- import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as i, createCommentVNode as b, 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";
1
+ import { a3 as z, A as P, l as T, r as U, f as V, h as X, q as j, z as Y, d as W, G as J, u as K, p as Z } from "./index-BDGf85YF.js";
2
+ import q from "./vue-ui-xy-DhTZvuRq.js";
3
+ import Q from "./vue-ui-donut-DlvFHlJB.js";
4
+ import { resolveComponent as x, createElementBlock as u, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, 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
5
  import { _ as te } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
6
  const se = {
7
7
  name: "vue-ui-table",
@@ -139,8 +139,6 @@ Provide an array of objects of type:
139
139
  showChart: function(n) {
140
140
  n && this.$nextTick(() => {
141
141
  this.closeDragElement();
142
- const s = this.$refs.chartModal;
143
- s.onmousedown = this.dragMouseDown;
144
142
  });
145
143
  },
146
144
  dataset: {
@@ -187,7 +185,7 @@ Provide an array of objects of type:
187
185
  },
188
186
  chartData() {
189
187
  if (!this.canChart) return [];
190
- const n = 316, s = 512, r = this.currentSelectionSpan.rows.length, a = 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 = [
188
+ 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 = [
191
189
  {
192
190
  name: l,
193
191
  series: this.currentSelectionSpan.rows.map((v) => v.value),
@@ -217,6 +215,7 @@ Provide an array of objects of type:
217
215
  grid: {
218
216
  stroke: T(N, 0.5),
219
217
  labels: {
218
+ color: N,
220
219
  xAxisLabels: { show: !1 }
221
220
  }
222
221
  },
@@ -281,7 +280,7 @@ Provide an array of objects of type:
281
280
  }
282
281
  }
283
282
  }, D = e >= 0 ? 0 : Math.abs(e), H = t + D, M = this.dataset.header[this.currentSelectionSpan.col].isPercentage, G = this.currentSelectionSpan.rows.map((v, R) => ({
284
- x: a * R + a / 2,
283
+ x: i * R + i / 2,
285
284
  y: (1 - (v.value + D) / H) * n,
286
285
  value: M ? v.value * 100 : v.value,
287
286
  suffix: M ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
@@ -397,7 +396,8 @@ Provide an array of objects of type:
397
396
  sortZA: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize}" height="${this.iconSize}" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 21v-5c0 -1.38 .62 -2 2 -2s2 .62 2 2v5m0 -3h-4" /><path d="M19 10h-4l4 -7h-4" /><path d="M4 15l3 3l3 -3" /><path d="M7 6v12" /></svg>`,
398
397
  sum: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize}" height="${this.iconSize}" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>`,
399
398
  table: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize}" height="${this.iconSize}" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" fill="white" d="M 10 2, 21 2, 21 21, 10 21Z"/><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M3 5a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v14a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2v-14z" /><path d="M3 10h18" /><path d="M10 3v18" /></svg>`,
400
- warning: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize * 0.8}" height="${this.iconSize * 0.8}" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.24 3.957l-8.422 14.06a1.989 1.989 0 0 0 1.7 2.983h16.845a1.989 1.989 0 0 0 1.7 -2.983l-8.423 -14.06a1.989 1.989 0 0 0 -3.4 0z" /><path d="M12 9v4" /><path d="M12 17h.01" /></svg>`
399
+ warning: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize * 0.8}" height="${this.iconSize * 0.8}" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M10.24 3.957l-8.422 14.06a1.989 1.989 0 0 0 1.7 2.983h16.845a1.989 1.989 0 0 0 1.7 -2.983l-8.423 -14.06a1.989 1.989 0 0 0 -3.4 0z" /><path d="M12 9v4" /><path d="M12 17h.01" /></svg>`,
400
+ grip: `<svg xmlns="http://www.w3.org/2000/svg" width="${this.iconSize}" height="${this.iconSize}" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"><path d="M5 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M5 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M19 9m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M19 15m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /></svg>`
401
401
  };
402
402
  },
403
403
  pages() {
@@ -442,14 +442,14 @@ Provide an array of objects of type:
442
442
  dataLabel: V,
443
443
  downloadCsv: U,
444
444
  lightenHexColor: T,
445
- treeShake: z,
445
+ treeShake: P,
446
446
  // specific
447
447
  applyDonutOption() {
448
448
  const n = this.selectedDonutCategory.options.map((s, r) => ({
449
449
  name: s,
450
450
  color: this.palette[r] || this.palette[r % this.palette.length],
451
- values: [this.visibleRows.filter((a, t) => a.td[this.selectedDonutCategory.index] === s && this.currentSelectionSpan.rows.map((e) => e.index).includes(t)).map((a) => a.td[this.currentSelectionSpan.col]).reduce((a, t) => Math.abs(a) + Math.abs(t), 0)],
452
- absoluteValue: this.visibleRows.filter((a, t) => a.td[this.selectedDonutCategory.index] === s && this.currentSelectionSpan.rows.map((e) => e.index).includes(t)).map((a) => a.td[this.currentSelectionSpan.col]).reduce((a, t) => a + t, 0)
451
+ 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)],
452
+ 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)
453
453
  })).sort((s, r) => r.value - s.value);
454
454
  this.currentDonut = n, this.$nextTick(() => {
455
455
  this.chart.type = this.constants.DONUT, this.showDonutOptions = !1;
@@ -462,10 +462,10 @@ Provide an array of objects of type:
462
462
  return !this.hasNaN[n] && (s.isSort || s.isSearch || s.isMultiselect || s.rangeFilter) && ![this.constants.DATE].includes(s.type);
463
463
  },
464
464
  createXls(n = "all") {
465
- const s = this.dataset.header.map((e) => e.name), r = n === "all" ? this.bodyCopy.map((e) => e.td) : this.visibleRows.map((e) => e.td), a = [s].concat(r), t = this.createCsvContent(a);
465
+ 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);
466
466
  this.downloadCsv({ csvContent: t, title: "vue-ui-table" });
467
467
  },
468
- calcLinearProgression: P,
468
+ calcLinearProgression: z,
469
469
  closeAllDropdowns() {
470
470
  const n = document.getElementsByClassName("th-dropdown");
471
471
  n.length && Array.from(n).forEach((s) => {
@@ -482,11 +482,11 @@ Provide an array of objects of type:
482
482
  if (!n.td[s].toUpperCase().includes(this.searches[s].toUpperCase()))
483
483
  return !1;
484
484
  for (const s in this.multiselects)
485
- if (!this.multiselects[s].some((a) => a === n.td[s]))
485
+ if (!this.multiselects[s].some((i) => i === n.td[s]))
486
486
  return !1;
487
487
  for (const s in this.dates) {
488
- const r = new Date(n.td[s]), a = new Date(this.dates[s].from), t = new Date(this.dates[s].to);
489
- if (r < a || r > t)
488
+ const r = new Date(n.td[s]), i = new Date(this.dates[s].from), t = new Date(this.dates[s].to);
489
+ if (r < i || r > t)
490
490
  return !1;
491
491
  }
492
492
  return !0;
@@ -496,7 +496,7 @@ Provide an array of objects of type:
496
496
  return this.rows.map((s) => s[n]).map((s) => isNaN(Number(s)) ? 0 : s).reduce((s, r) => s + r, 0) / this.bodyCopy.length;
497
497
  },
498
498
  getDatesRange(n) {
499
- const s = this.dataset.body.map((F) => new Date(F.td[n])), r = new Date(Math.min(...s)), a = new Date(Math.max(...s)), t = r.getFullYear(), e = a.getFullYear(), y = String(r.getMonth() + 1).padStart(2, "0"), f = String(a.getMonth() + 1).padStart(2, "0"), l = String(r.getDate()).padStart(2, "0"), o = String(a.getDate()).padStart(2, "0"), h = `${t}-${y}-${l}`, m = `${e}-${f}-${o}`;
499
+ 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}`;
500
500
  return {
501
501
  from: h,
502
502
  to: m
@@ -521,29 +521,29 @@ Provide an array of objects of type:
521
521
  return !isNaN(Number(String(n).replaceAll("%", "")));
522
522
  },
523
523
  isResetDisabled(n, s) {
524
- const r = s.isSort, a = s.isSearch, t = s.isMultiselect && this.multiselects[n], e = s.rangeFilter, y = (f) => {
524
+ const r = s.isSort, i = s.isSearch, t = s.isMultiselect && this.multiselects[n], e = s.rangeFilter, y = (f) => {
525
525
  if (e && this.rangeFilters[f])
526
526
  return Math.round(this.rangeFilters[f].min) === this.immutableRangeFilters[f].min && Math.round(this.rangeFilters[f].max) === this.immutableRangeFilters[f].max;
527
527
  };
528
- if (r && a && t && e)
528
+ if (r && i && t && e)
529
529
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
530
- if (r && a && t)
530
+ if (r && i && t)
531
531
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
532
- if (r && a && e)
532
+ if (r && i && e)
533
533
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]) && y(n);
534
- if (r && a)
534
+ if (r && i)
535
535
  return ["", void 0].includes(this.searches[n]) && [void 0].includes(this.sorts[n]);
536
536
  if (r && t && e)
537
537
  return [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
538
538
  if (r && t)
539
539
  return [void 0].includes(this.sorts[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
540
- if (a && t && e)
540
+ if (i && t && e)
541
541
  return ["", void 0].includes(this.searches[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length && y(n);
542
- if (a && t)
542
+ if (i && t)
543
543
  return ["", void 0].includes(this.searches[n]) && this.multiselects[n].length === this.getDropdownOptions(n).length;
544
- if (a && e)
544
+ if (i && e)
545
545
  return ["", void 0].includes(this.searches[n]) && y(n);
546
- if (a)
546
+ if (i)
547
547
  return ["", void 0].includes(this.searches[n]);
548
548
  if (r && e)
549
549
  return [void 0].includes(this.sorts[n]) && y(n);
@@ -563,8 +563,8 @@ Provide an array of objects of type:
563
563
  },
564
564
  navigateCell(n) {
565
565
  n.preventDefault();
566
- const s = n.keyCode, r = 38, a = 40, t = 37, e = 39;
567
- if (![r, a, t, e].includes(s)) return;
566
+ const s = n.keyCode, r = 38, i = 40, t = 37, e = 39;
567
+ if (![r, i, t, e].includes(s)) return;
568
568
  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}`);
569
569
  let C;
570
570
  switch (!0) {
@@ -577,7 +577,7 @@ Provide an array of objects of type:
577
577
  case s === r:
578
578
  C = N;
579
579
  break;
580
- case s === a:
580
+ case s === i:
581
581
  C = k;
582
582
  break;
583
583
  default:
@@ -589,54 +589,54 @@ Provide an array of objects of type:
589
589
  this.selectedDonutCategory = this.availableDonutCategories[0], this.showDonutOptions = !0;
590
590
  },
591
591
  placeLabelOnTopOrBottom({ previousPlot: n, currentPlot: s, nextPlot: r }) {
592
- const a = s.y - 38, t = s.y + 16;
593
- return n && r ? n.value < s.value && r.value < s.value ? a : 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, a) : n && !r ? n.value > s.value ? t : a : !n && r && r.value > s.value ? t : a;
592
+ const i = s.y - 38, t = s.y + 16;
593
+ 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;
594
594
  },
595
595
  async prepareBodyCopy() {
596
596
  return new Promise((n) => {
597
597
  const s = [];
598
- this.tableHead.forEach((r, a) => {
599
- if (r.isSearch && Object.assign(this.searches, { [a]: "" }), r.isMultiselect && Object.assign(this.multiselects, { [a]: this.getDropdownOptions(a) }), r.type === this.constants.DATE && (Object.assign(this.dates, { [a]: this.getDatesRange(a) }), Object.assign(this.filteredDatesIndexes, { [a]: !1 })), (r.isPercentage || r.percentageTo) && Object.assign(this.percentages, {
600
- [a]: {
598
+ this.tableHead.forEach((r, i) => {
599
+ 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, {
600
+ [i]: {
601
601
  reference: r.percentageTo,
602
602
  referenceIndex: this.dataset.header.map((t) => t.name).indexOf(r.percentageTo)
603
603
  }
604
604
  }), r.rangeFilter && (Object.assign(this.rangeFilters, {
605
- [a]: {
606
- min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[a]))),
607
- max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[a])))
605
+ [i]: {
606
+ min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[i]))),
607
+ max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[i])))
608
608
  }
609
609
  }), Object.assign(this.immutableRangeFilters, {
610
- [a]: {
611
- min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[a]))),
612
- max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[a])))
610
+ [i]: {
611
+ min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[i]))),
612
+ max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[i])))
613
613
  }
614
614
  })), r.isPercentage) {
615
615
  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);
616
- s.push([a, t, e]);
616
+ s.push([i, t, e]);
617
617
  }
618
- r.type === this.constants.NUMERIC && !r.isPercentage && Object.assign(this.hasNaN, { [a]: this.includesNaN(this.dataset.body.map((t) => Number(t.td[a]))) });
619
- }), this.bodyCopy.forEach((r, a) => {
618
+ r.type === this.constants.NUMERIC && !r.isPercentage && Object.assign(this.hasNaN, { [i]: this.includesNaN(this.dataset.body.map((t) => Number(t.td[i]))) });
619
+ }), this.bodyCopy.forEach((r, i) => {
620
620
  s.map((t) => {
621
621
  const [e, y, f] = t;
622
622
  r.td[e] = r.td[y] / f;
623
623
  }), r.td.forEach((t, e) => {
624
- 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[a][e] = r[e];
624
+ 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];
625
625
  });
626
626
  }), n(!0);
627
627
  });
628
628
  },
629
629
  promiseWithAsyncFunction(n, s) {
630
- return new Promise((r, a) => {
630
+ return new Promise((r, i) => {
631
631
  n().then((t) => {
632
632
  try {
633
633
  const e = s(t);
634
634
  r(e);
635
635
  } catch (e) {
636
- a(e);
636
+ i(e);
637
637
  }
638
638
  }).catch((t) => {
639
- a(t);
639
+ i(t);
640
640
  });
641
641
  });
642
642
  },
@@ -647,9 +647,9 @@ Provide an array of objects of type:
647
647
  }, this.filteredDatesIndexes[n] = !1, this.$forceUpdate(), this.filterBody();
648
648
  },
649
649
  resetFilter(n, s, r) {
650
- const a = r.currentTarget;
651
- clearTimeout(this.buttonTimeout), a.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
652
- a.classList.remove("clicked");
650
+ const i = r.currentTarget;
651
+ clearTimeout(this.buttonTimeout), i.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
652
+ i.classList.remove("clicked");
653
653
  }, 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();
654
654
  },
655
655
  resetSelection() {
@@ -679,8 +679,8 @@ Provide an array of objects of type:
679
679
  selectDropdownOption(n, s) {
680
680
  this.multiselects[s].includes(n) ? this.multiselects[s] = this.multiselects[s].filter((r) => r !== n) : this.multiselects[s].push(n), this.$forceUpdate(), this.filterBody();
681
681
  },
682
- selectTd({ td: n, rowIndex: s, colIndex: r, headerType: a, event: t }) {
683
- if (a !== this.constants.NUMERIC || isNaN(Number(n))) {
682
+ selectTd({ td: n, rowIndex: s, colIndex: r, headerType: i, event: t }) {
683
+ if (i !== this.constants.NUMERIC || isNaN(Number(n))) {
684
684
  this.resetSelection();
685
685
  return;
686
686
  }
@@ -705,9 +705,9 @@ Provide an array of objects of type:
705
705
  this.sortByNumber(this.bodyCopy, n);
706
706
  }), this.currentFilter !== void 0 && this.sortByNumber(this.bodyCopy, this.currentFilter), this.dataset.header.forEach((n, s) => {
707
707
  if (n.isPercentage) {
708
- const r = this.percentages[s].referenceIndex, a = this.bodyCopy.map((t) => t.td[r]).reduce((t, e) => t + e, 0);
708
+ const r = this.percentages[s].referenceIndex, i = this.bodyCopy.map((t) => t.td[r]).reduce((t, e) => t + e, 0);
709
709
  this.bodyCopy.forEach((t) => {
710
- t.td[s] = t.td[r] / a;
710
+ t.td[s] = t.td[r] / i;
711
711
  });
712
712
  }
713
713
  }), this.currentPage > this.pages.length - 1 && (this.currentPage = this.pages.length - 1), [-1].includes(this.currentPage) && (this.currentPage = 0), this.$forceUpdate();
@@ -716,8 +716,8 @@ Provide an array of objects of type:
716
716
  this.bodyCopy = n.filter((r) => r.td[s] >= this.rangeFilters[s].min && r[s] <= this.rangeFilters[s].max);
717
717
  },
718
718
  sortByNumber(n, s) {
719
- if (this.sorts[s] === this.constants.ASC && (n = n.sort((r, a) => r[s] - a[s])), this.sorts[s] === this.constants.DESC)
720
- n = n.sort((r, a) => a[s] - r[s]);
719
+ if (this.sorts[s] === this.constants.ASC && (n = n.sort((r, i) => r[s] - i[s])), this.sorts[s] === this.constants.DESC)
720
+ n = n.sort((r, i) => i[s] - r[s]);
721
721
  else
722
722
  return 0;
723
723
  },
@@ -735,9 +735,9 @@ Provide an array of objects of type:
735
735
  return s;
736
736
  },
737
737
  toggleMultiselect(n, s, r) {
738
- const a = r.currentTarget;
739
- clearTimeout(this.buttonTimeout), a.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
740
- a.classList.remove("clicked");
738
+ const i = r.currentTarget;
739
+ clearTimeout(this.buttonTimeout), i.classList.add("clicked"), this.buttonTimeout = setTimeout(() => {
740
+ i.classList.remove("clicked");
741
741
  }, 200);
742
742
  const t = document.getElementById(`th_dropdown_${n}`);
743
743
  t.dataset.isOpen === "false" ? t.dataset.isOpen = "true" : t.dataset.isOpen = "false";
@@ -776,7 +776,7 @@ Provide an array of objects of type:
776
776
  elementDrag(n) {
777
777
  if (this.rafId) return;
778
778
  const r = this.$refs.chartModal.getBoundingClientRect();
779
- this.clientX = n.clientX - this.dragOffsetX, this.clientY = n.clientY - this.dragOffsetY, 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);
779
+ 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);
780
780
  }
781
781
  }
782
782
  }, ne = { class: "vue-ui-table-export-hub" }, 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 = { id: "tableHead" }, me = { key: 0 }, be = { key: 0 }, fe = { key: 1 }, Ne = {
@@ -788,7 +788,7 @@ Provide an array of objects of type:
788
788
  }, Ie = { key: 0 }, Fe = { class: "th-filter" }, ve = {
789
789
  key: 0,
790
790
  class: "th-date"
791
- }, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"], Pe = ["innerHTML"], ze = ["innerHTML"], Ue = ["onClick", "innerHTML"], Ve = ["innerHTML"], Xe = {
791
+ }, we = { class: "date-wrapper--inputs" }, _e = { class: "date-fieldset" }, ke = ["for"], Oe = ["id", "onUpdate:modelValue", "onInput"], Se = { class: "date-fieldset" }, Le = ["for"], Ae = ["id", "onUpdate:modelValue", "onInput"], Me = { class: "date-wrapper--button" }, De = ["onClick"], Ge = ["innerHTML"], Te = ["innerHTML"], xe = ["innerHTML"], Ee = ["onClick", "disabled"], Be = ["placeholder", "onUpdate:modelValue", "name"], He = ["onClick"], Re = ["innerHTML"], ze = ["innerHTML"], Pe = ["innerHTML"], Ue = ["onClick", "innerHTML"], Ve = ["innerHTML"], Xe = {
792
792
  key: 5,
793
793
  class: "th-range-filter"
794
794
  }, je = ["for"], Ye = ["id", "max", "min", "onUpdate:modelValue"], We = ["id", "max", "min", "onUpdate:modelValue"], Je = ["for"], Ke = ["onClick", "disabled"], Ze = ["id"], qe = ["onClick"], Qe = ["onClick", "onKeyup"], $e = ["innerHTML", "onClick", "onKeyup"], et = ["data-row"], tt = ["data-row"], st = ["data-row", "onClick", "onKeyup", "id"], nt = ["innerHTML"], rt = { key: 1 }, ot = { key: 2 }, lt = { key: 5 }, at = ["innerHTML"], it = { key: 0 }, ct = { style: { "margin-left": "12px" } }, ut = { class: "format-num" }, ht = { style: { "margin-left": "12px" } }, dt = {
@@ -818,75 +818,75 @@ Provide an array of objects of type:
818
818
  }, kt = {
819
819
  for: "pageScroller",
820
820
  style: { "font-size": "14px" }
821
- }, Ot = ["max", "value"], St = { key: 1 }, Lt = ["disabled"], At = ["innerHTML", "disabled"], Mt = { class: "chart-modal-options" }, Dt = ["innerHTML"], Gt = ["innerHTML"], Tt = ["innerHTML"], xt = {
822
- style: { width: "100%", height: "fit-content", cursor: "move" },
821
+ }, Ot = ["max", "value"], St = { key: 1 }, Lt = ["disabled"], At = ["innerHTML", "disabled"], Mt = ["innerHTML"], Dt = { class: "chart-modal-options" }, Gt = ["innerHTML"], Tt = ["innerHTML"], xt = ["innerHTML"], Et = {
822
+ style: { width: "100%", height: "fit-content" },
823
823
  ref: "chartModal"
824
- }, Et = { class: "vue-ui-table-fieldset" }, Bt = { class: "vue-ui-table-fieldset-wrapper" }, Ht = ["name", "id", "checked", "onInput"], Rt = ["for"], Pt = ["disabled"], zt = ["innerHTML"], Ut = { style: { width: "100%", "margin-bottom": "12px" } }, Vt = {
824
+ }, Bt = { class: "vue-ui-table-fieldset" }, Ht = { class: "vue-ui-table-fieldset-wrapper" }, Rt = ["name", "id", "checked", "onInput"], zt = ["for"], Pt = ["disabled"], Ut = ["innerHTML"], Vt = { style: { width: "100%", "margin-bottom": "12px" } }, Xt = {
825
825
  key: 2,
826
826
  style: { width: "100%", "margin-bottom": "32px" }
827
827
  };
828
- function Xt(n, s, r, a, t, e) {
828
+ function jt(n, s, r, i, t, e) {
829
829
  const y = x("VueUiXy"), f = x("VueUiDonut");
830
830
  return c(), u("div", {
831
831
  class: "vue-ui-table-main",
832
832
  style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
833
833
  }, [
834
- i("div", ne, [
835
- i("button", {
834
+ a("div", ne, [
835
+ a("button", {
836
836
  onClick: s[0] || (s[0] = (l) => t.isExportRequest = !t.isExportRequest),
837
837
  innerHTML: e.icons.export,
838
838
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
839
839
  }, null, 12, re),
840
- i("div", {
840
+ a("div", {
841
841
  class: "vue-ui-table-export-hub-dropdown",
842
842
  "data-is-open": t.isExportRequest || "false",
843
843
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
844
844
  }, [
845
- s[23] || (s[23] = i("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
846
- i("button", {
845
+ s[25] || (s[25] = a("b", { class: "vue-ui-table-export-hub-title" }, " Export ", -1)),
846
+ a("button", {
847
847
  class: "close-dropdown",
848
848
  onClick: s[1] || (s[1] = (l) => t.isExportRequest = !1),
849
849
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
850
850
  }, " ✖ ", 4),
851
- i("div", le, [
852
- i("div", ae, [
853
- i("div", ie, d(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + d(t.bodyCopy.length) + ") ", 1),
854
- i("button", {
851
+ a("div", le, [
852
+ a("div", ae, [
853
+ a("div", ie, d(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + d(t.bodyCopy.length) + ") ", 1),
854
+ a("button", {
855
855
  id: "exportAll",
856
856
  onClick: s[2] || (s[2] = (l) => e.createXls("all")),
857
857
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
858
858
  }, [
859
- i("div", {
859
+ a("div", {
860
860
  innerHTML: e.icons.fileDownload
861
861
  }, null, 8, ce),
862
- i("span", null, d(e.FINAL_CONFIG.translations.exportAllButton), 1)
862
+ a("span", null, d(e.FINAL_CONFIG.translations.exportAllButton), 1)
863
863
  ], 4)
864
864
  ]),
865
- i("div", ue, [
866
- i("div", he, d(e.FINAL_CONFIG.translations.exportPageLabel), 1),
867
- i("button", {
865
+ a("div", ue, [
866
+ a("div", he, d(e.FINAL_CONFIG.translations.exportPageLabel), 1),
867
+ a("button", {
868
868
  id: "exportPage",
869
869
  onClick: s[3] || (s[3] = (l) => e.createXls("page")),
870
870
  style: g(`background:${e.FINAL_CONFIG.style.exportMenu.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.buttons.color}`)
871
871
  }, [
872
- i("div", {
872
+ a("div", {
873
873
  innerHTML: e.icons.fileDownload
874
874
  }, null, 8, de),
875
- i("span", null, d(e.FINAL_CONFIG.translations.exportPageButton), 1)
875
+ a("span", null, d(e.FINAL_CONFIG.translations.exportPageButton), 1)
876
876
  ], 4)
877
877
  ])
878
878
  ])
879
879
  ], 12, oe)
880
880
  ]),
881
- i("div", {
881
+ a("div", {
882
882
  class: "vue-ui-table__wrapper",
883
883
  style: g(`max-height:${e.FINAL_CONFIG.maxHeight}px`),
884
884
  ref: "tableWrapper"
885
885
  }, [
886
- i("table", ge, [
887
- i("thead", ye, [
888
- i("tr", null, [
889
- s[24] || (s[24] = i("th", { class: "invisible-cell" }, null, -1)),
886
+ a("table", ge, [
887
+ a("thead", ye, [
888
+ a("tr", null, [
889
+ s[26] || (s[26] = a("th", { class: "invisible-cell" }, null, -1)),
890
890
  (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
891
891
  key: `thead_${o}`,
892
892
  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}`),
@@ -899,15 +899,15 @@ function Xt(n, s, r, a, t, e) {
899
899
  ], 6))), 128))
900
900
  ]),
901
901
  e.hasNumericTypes ? (c(), u(I, { key: 0 }, [
902
- i("tr", null, [
903
- s[25] || (s[25] = i("th", { class: "invisible-cell" }, null, -1)),
902
+ a("tr", null, [
903
+ s[27] || (s[27] = a("th", { class: "invisible-cell" }, null, -1)),
904
904
  (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
905
905
  key: `thead_${o}`,
906
906
  class: p({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
907
907
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
908
908
  }, [
909
909
  l.sum && !t.hasNaN[o] ? (c(), u("span", Ne, [
910
- i("span", {
910
+ a("span", {
911
911
  innerHTML: e.icons.sum,
912
912
  style: { "margin-bottom": "-4px", "margin-right": "3px" }
913
913
  }, null, 8, pe),
@@ -925,8 +925,8 @@ function Xt(n, s, r, a, t, e) {
925
925
  ])) : b("", !0)
926
926
  ], 6))), 128))
927
927
  ]),
928
- i("tr", null, [
929
- s[26] || (s[26] = i("th", { class: "invisible-cell" }, null, -1)),
928
+ a("tr", null, [
929
+ s[28] || (s[28] = a("th", { class: "invisible-cell" }, null, -1)),
930
930
  (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
931
931
  key: `thead_${o}`,
932
932
  class: p({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
@@ -940,21 +940,21 @@ function Xt(n, s, r, a, t, e) {
940
940
  })), 1)) : b("", !0)
941
941
  ], 6))), 128))
942
942
  ]),
943
- i("tr", null, [
944
- s[29] || (s[29] = i("th", { class: "invisible-cell" }, null, -1)),
943
+ a("tr", null, [
944
+ s[31] || (s[31] = a("th", { class: "invisible-cell" }, null, -1)),
945
945
  (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
946
946
  key: `thead_${o}`,
947
947
  class: p({ "th-has-nan": t.hasNaN[o] }),
948
948
  style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
949
949
  }, [
950
- i("div", Fe, [
950
+ a("div", Fe, [
951
951
  l.type === t.constants.DATE && t.dates[o] ? (c(), u("div", ve, [
952
- i("div", we, [
953
- i("div", _e, [
954
- i("label", {
952
+ a("div", we, [
953
+ a("div", _e, [
954
+ a("label", {
955
955
  for: `from_${o}`
956
956
  }, d(e.FINAL_CONFIG.translations.from), 9, ke),
957
- O(i("input", {
957
+ O(a("input", {
958
958
  id: `from_${o}`,
959
959
  type: "date",
960
960
  "onUpdate:modelValue": (h) => t.dates[o].from = h,
@@ -966,11 +966,11 @@ function Xt(n, s, r, a, t, e) {
966
966
  [S, t.dates[o].from]
967
967
  ])
968
968
  ]),
969
- i("div", Se, [
970
- i("label", {
969
+ a("div", Se, [
970
+ a("label", {
971
971
  for: `to_${o}`
972
972
  }, d(e.FINAL_CONFIG.translations.to), 9, Le),
973
- O(i("input", {
973
+ O(a("input", {
974
974
  id: `to_${o}`,
975
975
  type: "date",
976
976
  "onUpdate:modelValue": (h) => t.dates[o].to = h,
@@ -983,7 +983,7 @@ function Xt(n, s, r, a, t, e) {
983
983
  ])
984
984
  ])
985
985
  ]),
986
- i("div", Me, [
986
+ a("div", Me, [
987
987
  l.isSort ? (c(), u("button", {
988
988
  key: 0,
989
989
  onClick: (h) => e.sortTh(o, h),
@@ -1001,7 +1001,7 @@ function Xt(n, s, r, a, t, e) {
1001
1001
  innerHTML: e.icons.arrowSort
1002
1002
  }, null, 8, xe))
1003
1003
  ], 14, De)) : b("", !0),
1004
- i("button", {
1004
+ a("button", {
1005
1005
  onClick: (h) => {
1006
1006
  e.resetDates(o), e.resetFilter(o, l, h);
1007
1007
  },
@@ -1032,10 +1032,10 @@ function Xt(n, s, r, a, t, e) {
1032
1032
  }, null, 8, Re)) : t.sorts[o] === t.constants.DESC ? (c(), u("span", {
1033
1033
  key: 1,
1034
1034
  innerHTML: [t.constants.NUMERIC].includes(l.type) ? e.icons.sort90 : e.icons.sortAZ
1035
- }, null, 8, Pe)) : (c(), u("span", {
1035
+ }, null, 8, ze)) : (c(), u("span", {
1036
1036
  key: 2,
1037
1037
  innerHTML: e.icons.arrowSort
1038
- }, null, 8, ze))
1038
+ }, null, 8, Pe))
1039
1039
  ], 14, He)) : b("", !0),
1040
1040
  l.isMultiselect ? (c(), u("button", {
1041
1041
  key: 3,
@@ -1052,14 +1052,14 @@ function Xt(n, s, r, a, t, e) {
1052
1052
  style: g(`background:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
1053
1053
  }, null, 14, Ve)) : b("", !0),
1054
1054
  l.rangeFilter && t.rangeFilters[o] && !t.hasNaN[o] ? (c(), u("div", Xe, [
1055
- i("label", {
1055
+ a("label", {
1056
1056
  for: `rangeMin${o}`
1057
- }, s[27] || (s[27] = [
1058
- i("span", { style: { color: "grey" } }, "ᒥ", -1),
1057
+ }, s[29] || (s[29] = [
1058
+ a("span", { style: { color: "grey" } }, "ᒥ", -1),
1059
1059
  w(" min "),
1060
- i("span", { style: { color: "grey" } }, "ᒣ", -1)
1060
+ a("span", { style: { color: "grey" } }, "ᒣ", -1)
1061
1061
  ]), 8, je),
1062
- O(i("input", {
1062
+ O(a("input", {
1063
1063
  type: "number",
1064
1064
  id: `rangeMin${o}`,
1065
1065
  max: t.immutableRangeFilters[o].max,
@@ -1075,7 +1075,7 @@ function Xt(n, s, r, a, t, e) {
1075
1075
  { number: !0 }
1076
1076
  ]
1077
1077
  ]),
1078
- O(i("input", {
1078
+ O(a("input", {
1079
1079
  type: "number",
1080
1080
  id: `rangeMax${o}`,
1081
1081
  max: t.immutableRangeFilters[o].max,
@@ -1091,12 +1091,12 @@ function Xt(n, s, r, a, t, e) {
1091
1091
  { number: !0 }
1092
1092
  ]
1093
1093
  ]),
1094
- i("label", {
1094
+ a("label", {
1095
1095
  for: `rangeMax${o}`
1096
- }, s[28] || (s[28] = [
1097
- i("span", { style: { color: "grey" } }, "ᒪ", -1),
1096
+ }, s[30] || (s[30] = [
1097
+ a("span", { style: { color: "grey" } }, "ᒪ", -1),
1098
1098
  w(" max "),
1099
- i("span", { style: { color: "grey" } }, "ᒧ", -1)
1099
+ a("span", { style: { color: "grey" } }, "ᒧ", -1)
1100
1100
  ]), 8, Je)
1101
1101
  ])) : b("", !0),
1102
1102
  e.canResetColumn(o, l) ? (c(), u("button", {
@@ -1112,7 +1112,7 @@ function Xt(n, s, r, a, t, e) {
1112
1112
  id: `th_dropdown_${o}`,
1113
1113
  style: g(`background:${e.FINAL_CONFIG.style.dropdowns.backgroundColor};color:${e.FINAL_CONFIG.style.dropdowns.color}`)
1114
1114
  }, [
1115
- i("button", {
1115
+ a("button", {
1116
1116
  class: "close-dropdown",
1117
1117
  onClick: (h) => e.toggleMultiselect(o, l, h),
1118
1118
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color}`)
@@ -1137,15 +1137,15 @@ function Xt(n, s, r, a, t, e) {
1137
1137
  style: g(`color:${e.FINAL_CONFIG.style.dropdowns.icons.unselected.color};margin-right:5px`),
1138
1138
  class: "th-icon-red"
1139
1139
  }, d(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
1140
- i("span", null, d(h), 1)
1140
+ a("span", null, d(h), 1)
1141
1141
  ], 44, Qe))), 128))
1142
1142
  ], 12, Ze)) : b("", !0)
1143
1143
  ])
1144
1144
  ], 6))), 128))
1145
1145
  ])
1146
1146
  ], 64)) : b("", !0),
1147
- i("tr", null, [
1148
- s[30] || (s[30] = i("th", { class: "invisible-cell" }, null, -1)),
1147
+ a("tr", null, [
1148
+ s[32] || (s[32] = a("th", { class: "invisible-cell" }, null, -1)),
1149
1149
  (c(!0), u(I, null, _(t.tableHead, (l, o) => (c(), u("th", {
1150
1150
  key: `col_selector_${o}`,
1151
1151
  class: p({ "vue-ui-table-col-selector": !t.hasNaN[o], "th-has-nan": t.hasNaN[o] }),
@@ -1162,7 +1162,7 @@ function Xt(n, s, r, a, t, e) {
1162
1162
  ], 6))), 128))
1163
1163
  ])
1164
1164
  ]),
1165
- i("tbody", {
1165
+ a("tbody", {
1166
1166
  onClick: s[8] || (s[8] = (...l) => e.closeAllDropdowns && e.closeAllDropdowns(...l)),
1167
1167
  onKeydown: s[9] || (s[9] = (l) => e.navigateCell(l))
1168
1168
  }, [
@@ -1172,7 +1172,7 @@ function Xt(n, s, r, a, t, e) {
1172
1172
  class: p(`tr_${t.uid}`),
1173
1173
  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}`}`)
1174
1174
  }, [
1175
- i("td", {
1175
+ a("td", {
1176
1176
  class: "vue-ui-table-td-iteration",
1177
1177
  "data-row": o % 2 === 0 ? "odd" : "even"
1178
1178
  }, d(l.absoluteIndex + 1), 9, tt),
@@ -1242,36 +1242,36 @@ function Xt(n, s, r, a, t, e) {
1242
1242
  ], 32)
1243
1243
  ])
1244
1244
  ], 4),
1245
- i("div", {
1245
+ a("div", {
1246
1246
  class: p({ "td-selector-info": !0, "td-selector-info--active": t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length }),
1247
1247
  style: g(`background:${e.FINAL_CONFIG.style.infoBar.backgroundColor};color:${e.FINAL_CONFIG.style.infoBar.color}`)
1248
1248
  }, [
1249
1249
  t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length ? (c(), u(I, { key: 0 }, [
1250
- i("div", {
1250
+ a("div", {
1251
1251
  innerHTML: e.icons.table,
1252
1252
  class: "td-selector-icon"
1253
1253
  }, null, 8, at),
1254
- i("span", null, [
1255
- i("b", null, [
1254
+ a("span", null, [
1255
+ a("b", null, [
1256
1256
  w(d(r.dataset.header[t.currentSelectionSpan.col].name) + " ", 1),
1257
1257
  r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("span", it, " / " + d(r.dataset.header[t.percentages[t.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
1258
1258
  ]),
1259
- i("span", ct, [
1259
+ a("span", ct, [
1260
1260
  w(d(e.FINAL_CONFIG.translations.nb) + " : ", 1),
1261
- i("b", ut, d(t.currentSelectionSpan.rows.length), 1)
1261
+ a("b", ut, d(t.currentSelectionSpan.rows.length), 1)
1262
1262
  ]),
1263
- i("span", ht, [
1263
+ a("span", ht, [
1264
1264
  w(d(e.FINAL_CONFIG.translations.sum) + " : ", 1),
1265
1265
  r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", dt, d(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), u("b", gt, d(r.dataset.header[t.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.sumRegular) + " " + d(r.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
1266
1266
  r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", yt, "%")) : b("", !0)
1267
1267
  ]),
1268
- i("span", mt, [
1268
+ a("span", mt, [
1269
1269
  w(d(e.FINAL_CONFIG.translations.average) + " : ", 1),
1270
1270
  r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", bt, d(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), u("b", ft, d(r.dataset.header[t.currentSelectionSpan.col].prefix) + " " + d(e.selectedCellsCalculations.averageRegular) + " " + d(r.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
1271
1271
  r.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), u("b", Nt, "%")) : b("", !0)
1272
1272
  ])
1273
1273
  ]),
1274
- i("button", {
1274
+ a("button", {
1275
1275
  onClick: s[10] || (s[10] = (...l) => e.resetSelection && e.resetSelection(...l)),
1276
1276
  class: "td-selector-info-reset",
1277
1277
  style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
@@ -1302,7 +1302,7 @@ function Xt(n, s, r, a, t, e) {
1302
1302
  ]) : b("", !0)
1303
1303
  ])) : b("", !0),
1304
1304
  t.itemsPerPage >= 250 ? (c(), u("div", Ct, [
1305
- i("span", {
1305
+ a("span", {
1306
1306
  innerHTML: e.icons.warning
1307
1307
  }, null, 8, It),
1308
1308
  w(d(e.FINAL_CONFIG.translations.sizeWarning), 1)
@@ -1313,7 +1313,7 @@ function Xt(n, s, r, a, t, e) {
1313
1313
  style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${t.currentPage / (e.pages.length - 1) * 100}%)`)
1314
1314
  }, null, 4)) : b("", !0),
1315
1315
  e.pages.length > 1 ? (c(), u("div", Ft, [
1316
- i("button", {
1316
+ a("button", {
1317
1317
  class: "vue-ui-table-navigation",
1318
1318
  onClick: s[13] || (s[13] = A((l) => e.navigate("previous"), ["stop"])),
1319
1319
  innerHTML: e.icons.chevronLeft,
@@ -1321,15 +1321,15 @@ function Xt(n, s, r, a, t, e) {
1321
1321
  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}`)
1322
1322
  }, null, 12, vt),
1323
1323
  e.pages.length > 3 ? (c(), u(I, { key: 0 }, [
1324
- i("button", {
1324
+ a("button", {
1325
1325
  class: "vue-ui-table-navigation",
1326
1326
  onClick: s[14] || (s[14] = A((l) => e.navigate(1), ["stop"])),
1327
1327
  disabled: t.currentPage === 0,
1328
1328
  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}`)
1329
1329
  }, " 1 ", 12, wt),
1330
1330
  e.pages.length > 10 ? (c(), u("div", _t, [
1331
- i("label", kt, d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1),
1332
- i("input", {
1331
+ a("label", kt, d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1),
1332
+ a("input", {
1333
1333
  class: "vue-ui-table-page-scroller",
1334
1334
  id: "pageScroller",
1335
1335
  type: "range",
@@ -1341,7 +1341,7 @@ function Xt(n, s, r, a, t, e) {
1341
1341
  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}`)
1342
1342
  }, null, 44, Ot)
1343
1343
  ])) : (c(), u("span", St, d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1)),
1344
- i("button", {
1344
+ a("button", {
1345
1345
  class: "vue-ui-table-navigation",
1346
1346
  onClick: s[16] || (s[16] = A((l) => e.navigate(e.pages.length), ["stop"])),
1347
1347
  disabled: t.currentPage === e.pages.length - 1,
@@ -1350,7 +1350,7 @@ function Xt(n, s, r, a, t, e) {
1350
1350
  ], 64)) : (c(), u(I, { key: 1 }, [
1351
1351
  w(d(e.FINAL_CONFIG.translations.page) + " " + d(t.currentPage + 1) + " / " + d(e.pages.length), 1)
1352
1352
  ], 64)),
1353
- i("button", {
1353
+ a("button", {
1354
1354
  class: "vue-ui-table-navigation",
1355
1355
  onClick: s[17] || (s[17] = A((l) => e.navigate("next"), ["stop"])),
1356
1356
  innerHTML: e.icons.chevronRight,
@@ -1363,77 +1363,89 @@ function Xt(n, s, r, a, t, e) {
1363
1363
  class: "vue-ui-table-chart-modal",
1364
1364
  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}`)
1365
1365
  }, [
1366
- i("button", {
1366
+ a("div", {
1367
+ class: "modal-drag-handle",
1368
+ onMousedown: s[19] || (s[19] = (...l) => e.dragMouseDown && e.dragMouseDown(...l))
1369
+ }, [
1370
+ a("span", {
1371
+ innerHTML: e.icons.grip
1372
+ }, null, 8, Mt),
1373
+ a("button", {
1374
+ class: "close-chart-modal",
1375
+ onClick: s[18] || (s[18] = (l) => t.showChart = !1)
1376
+ }, "✖")
1377
+ ], 32),
1378
+ a("button", {
1367
1379
  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}`]),
1368
1380
  class: "close-chart-modal",
1369
- onClick: s[18] || (s[18] = (l) => t.showChart = !1)
1381
+ onClick: s[20] || (s[20] = (l) => t.showChart = !1)
1370
1382
  }, " ✖ ", 4),
1371
- i("div", Mt, [
1383
+ a("div", Dt, [
1372
1384
  e.availableDonutCategories.length ? (c(), u("button", {
1373
1385
  key: 0,
1374
- onClick: s[19] || (s[19] = (l) => t.showDonutOptions = !0),
1386
+ onClick: s[21] || (s[21] = (l) => t.showDonutOptions = !0),
1375
1387
  innerHTML: e.icons.donut,
1376
1388
  class: p({ "is-active-chart": t.chart.type === t.constants.DONUT || t.showDonutOptions }),
1377
1389
  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}`)
1378
- }, null, 14, Dt)) : b("", !0),
1379
- i("button", {
1380
- onClick: s[20] || (s[20] = (l) => {
1390
+ }, null, 14, Gt)) : b("", !0),
1391
+ a("button", {
1392
+ onClick: s[22] || (s[22] = (l) => {
1381
1393
  t.chart.type = t.constants.LINE, t.showDonutOptions = !1;
1382
1394
  }),
1383
1395
  innerHTML: e.icons.chart,
1384
1396
  class: p({ "is-active-chart": t.chart.type === t.constants.LINE && !t.showDonutOptions }),
1385
1397
  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}`)
1386
- }, null, 14, Gt),
1387
- i("button", {
1388
- onClick: s[21] || (s[21] = (l) => {
1398
+ }, null, 14, Tt),
1399
+ a("button", {
1400
+ onClick: s[23] || (s[23] = (l) => {
1389
1401
  t.chart.type = t.constants.BAR, t.showDonutOptions = !1;
1390
1402
  }),
1391
1403
  innerHTML: e.icons.bar,
1392
1404
  class: p({ "is-active-chart": t.chart.type === t.constants.BAR && !t.showDonutOptions }),
1393
1405
  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}`)
1394
- }, null, 14, Tt)
1406
+ }, null, 14, xt)
1395
1407
  ]),
1396
- i("div", xt, [
1408
+ a("div", Et, [
1397
1409
  t.showDonutOptions && e.availableDonutCategories.length ? (c(), u("div", {
1398
1410
  key: 0,
1399
1411
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1400
1412
  }, [
1401
- i("fieldset", Et, [
1402
- i("legend", null, d(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1403
- i("div", Bt, [
1413
+ a("fieldset", Bt, [
1414
+ a("legend", null, d(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
1415
+ a("div", Ht, [
1404
1416
  (c(!0), u(I, null, _(e.availableDonutCategories, (l, o) => (c(), u("div", {
1405
1417
  key: `donut_radio_${o}`,
1406
1418
  class: "vue-ui-table-fieldset-option"
1407
1419
  }, [
1408
- i("input", {
1420
+ a("input", {
1409
1421
  type: "radio",
1410
1422
  name: l.name,
1411
1423
  id: l.name,
1412
1424
  checked: t.selectedDonutCategory && l.name === t.selectedDonutCategory.name,
1413
1425
  onInput: (h) => t.selectedDonutCategory = e.availableDonutCategories[o],
1414
1426
  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}`)
1415
- }, null, 44, Ht),
1416
- i("label", {
1427
+ }, null, 44, Rt),
1428
+ a("label", {
1417
1429
  for: l.name
1418
- }, d(l.name), 9, Rt)
1430
+ }, d(l.name), 9, zt)
1419
1431
  ]))), 128))
1420
1432
  ]),
1421
- i("button", {
1433
+ a("button", {
1422
1434
  class: "vue-ui-table-generate-donut",
1423
1435
  disabled: !t.selectedDonutCategory,
1424
- onClick: s[22] || (s[22] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1436
+ onClick: s[24] || (s[24] = (...l) => e.applyDonutOption && e.applyDonutOption(...l)),
1425
1437
  style: g(`background:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.buttons.selected.color}`)
1426
1438
  }, [
1427
- i("div", {
1439
+ a("div", {
1428
1440
  style: { "margin-bottom": "-3px" },
1429
1441
  innerHTML: e.icons.donut
1430
- }, null, 8, zt),
1442
+ }, null, 8, Ut),
1431
1443
  w(" " + d(e.FINAL_CONFIG.translations.makeDonut), 1)
1432
1444
  ], 12, Pt)
1433
1445
  ])
1434
1446
  ], 4)) : b("", !0),
1435
1447
  [t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), u(I, { key: 1 }, [
1436
- i("div", Ut, [
1448
+ a("div", Vt, [
1437
1449
  t.chart.type === t.constants.LINE ? (c(), E(y, {
1438
1450
  key: 0,
1439
1451
  dataset: e.chartData.xyDatasetLine,
@@ -1450,11 +1462,15 @@ function Xt(n, s, r, a, t, e) {
1450
1462
  class: "chart-trend",
1451
1463
  style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
1452
1464
  }, [
1453
- s[31] || (s[31] = i("span", null, "---", -1)),
1454
- w(" Trend: " + d((e.chartData.progression.trend * 100).toFixed(1)) + " % ", 1)
1465
+ s[33] || (s[33] = a("span", null, "---", -1)),
1466
+ w(" Trend: " + d(e.dataLabel({
1467
+ v: e.chartData.progression.trend,
1468
+ s: "%",
1469
+ r: 1
1470
+ })), 1)
1455
1471
  ], 4)) : b("", !0)
1456
1472
  ], 64)) : b("", !0),
1457
- [t.constants.DONUT].includes(t.chart.type) && !t.showDonutOptions ? (c(), u("div", Vt, [
1473
+ [t.constants.DONUT].includes(t.chart.type) && !t.showDonutOptions ? (c(), u("div", Xt, [
1458
1474
  ee(f, {
1459
1475
  dataset: t.currentDonut,
1460
1476
  config: e.chartData.donutConfig
@@ -1464,7 +1480,7 @@ function Xt(n, s, r, a, t, e) {
1464
1480
  ], 4)) : b("", !0)
1465
1481
  ], 4);
1466
1482
  }
1467
- const qt = /* @__PURE__ */ te(se, [["render", Xt], ["__scopeId", "data-v-f237c18e"]]);
1483
+ const Qt = /* @__PURE__ */ te(se, [["render", jt], ["__scopeId", "data-v-1713331c"]]);
1468
1484
  export {
1469
- qt as default
1485
+ Qt as default
1470
1486
  };