vue-data-ui 2.9.1 → 2.9.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.
- package/dist/{Arrow-DxiNdL6e.js → Arrow-DIEvl571.js} +1 -1
- package/dist/{Arrow-DBSKlyuZ.cjs → Arrow-KvKZ2SBJ.cjs} +1 -1
- package/dist/{BaseIcon-BKDVlUe1.js → BaseIcon-BH4bJe82.js} +1 -1
- package/dist/{BaseIcon-CW6J6gnf.cjs → BaseIcon-C6L3qbQ8.cjs} +1 -1
- package/dist/{ColorPicker-CbtRyGDZ.cjs → ColorPicker-BmVm6Lqe.cjs} +1 -1
- package/dist/{ColorPicker-D8apVA4b.js → ColorPicker-Dnjy6olA.js} +3 -3
- package/dist/{DataTable-BLzRsaTP.js → DataTable-CaUgku7o.js} +2 -2
- package/dist/{DataTable-C4Tmq-GN.cjs → DataTable-Cz1SDtvT.cjs} +1 -1
- package/dist/{Legend-Ba4cZCTR.cjs → Legend-Bl_MrORk.cjs} +1 -1
- package/dist/{Legend-CWUUq_ib.js → Legend-BxZxsJCp.js} +2 -2
- package/dist/{PackageVersion-Df-Zkqak.js → PackageVersion-BEE_4baV.js} +1 -1
- package/dist/{PackageVersion-D9ZGAmxE.cjs → PackageVersion-BrUdYdIC.cjs} +1 -1
- package/dist/{PenAndPaper-KD1nMXSe.js → PenAndPaper-B3WdOAcZ.js} +3 -3
- package/dist/{PenAndPaper-BrdU6rPh.cjs → PenAndPaper-DyGcaflS.cjs} +1 -1
- package/dist/{Shape-DURmYrFG.cjs → Shape-DuVb3Mev.cjs} +1 -1
- package/dist/{Shape-78pS45zk.js → Shape-Hrc-BQkc.js} +1 -1
- package/dist/{Slicer-y8vaGoCd.js → Slicer-2ZyRAred.js} +2 -2
- package/dist/{Slicer-BloKOWd3.cjs → Slicer-DVYmI2V1.cjs} +1 -1
- package/dist/{Title-D8SuO6n9.cjs → Title-BGh0hWb2.cjs} +1 -1
- package/dist/{Title-BYSI6SIw.js → Title-CGY0WlAI.js} +1 -1
- package/dist/{Tooltip-JIRECaYz.js → Tooltip-BfEhZz9k.js} +1 -1
- package/dist/{Tooltip-CeZCzEPv.cjs → Tooltip-DckFFIYj.cjs} +1 -1
- package/dist/{dom-to-png-bb_03bY-.js → dom-to-png-BgJJyI6M.js} +1 -1
- package/dist/{dom-to-png-CCRTiusl.cjs → dom-to-png-DnnnXKpR.cjs} +1 -1
- package/dist/{img-CjCRZQX0.cjs → img-DT7UDEPk.cjs} +1 -1
- package/dist/{img-BYRHwXEf.js → img-DkpJ0ciT.js} +1 -1
- package/dist/{index-CAwMqJV_.js → index-9ZicrZWM.js} +1 -1
- package/dist/{index-DcZ9kvVv.cjs → index-DjDcQ8pe.cjs} +1 -1
- package/dist/{pdf-KuF6xfec.cjs → pdf-DuohwkFu.cjs} +1 -1
- package/dist/{pdf-Bwn-dfFb.js → pdf-zqw8E-me.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-ZhoVxBcG.cjs → useNestedProp-BS9eJthK.cjs} +1 -1
- package/dist/{useNestedProp-Cz7LmW3s.js → useNestedProp-s1XZrtPS.js} +1 -1
- package/dist/{usePrinter-DHKfrDmo.js → usePrinter-D7IXLE53.js} +3 -3
- package/dist/{usePrinter-C1qPxOHD.cjs → usePrinter-vFXYgZiT.cjs} +1 -1
- package/dist/{vue-data-ui-7VLuLU4H.cjs → vue-data-ui-CNieT2ov.cjs} +1 -1
- package/dist/{vue-data-ui-CFtDQE3V.js → vue-data-ui-gEqI-hOT.js} +61 -61
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-CYYpBrtG.cjs → vue-ui-3d-bar-DX5baNUz.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-k0Git1Pq.js → vue-ui-3d-bar-Sbk5MT1S.js} +9 -9
- package/dist/{vue-ui-accordion-CcRRCMkf.js → vue-ui-accordion-62KnRfCb.js} +3 -3
- package/dist/{vue-ui-accordion-DorW8oh2.cjs → vue-ui-accordion-DIMalTE4.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-9kkROy_r.js → vue-ui-age-pyramid-BkhVyOTM.js} +10 -10
- package/dist/{vue-ui-age-pyramid-pUS0s7B8.cjs → vue-ui-age-pyramid-DfuEC7WE.cjs} +1 -1
- package/dist/{vue-ui-annotator-BZ_BHy2Q.cjs → vue-ui-annotator-BGWZZUN7.cjs} +1 -1
- package/dist/{vue-ui-annotator-FKopwSkW.js → vue-ui-annotator-CrwbL3rn.js} +2 -2
- package/dist/{vue-ui-bullet-CspHQ8jB.js → vue-ui-bullet-BVr_zBo7.js} +8 -8
- package/dist/{vue-ui-bullet-BcI-jK2y.cjs → vue-ui-bullet-TmXeLFPZ.cjs} +1 -1
- package/dist/{vue-ui-candlestick-CN5VHRBg.js → vue-ui-candlestick-BArypZ1A.js} +11 -11
- package/dist/{vue-ui-candlestick-CR6StZqP.cjs → vue-ui-candlestick-BFJ8I4sb.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-CiPfLckk.cjs → vue-ui-carousel-table-B1i5b5xU.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-D_3ydvpR.js → vue-ui-carousel-table-CqWp06Xz.js} +4 -4
- package/dist/{vue-ui-chestnut-QfhFkiLJ.cjs → vue-ui-chestnut-B8oiuRgc.cjs} +1 -1
- package/dist/{vue-ui-chestnut-BRuIJqNh.js → vue-ui-chestnut-EHo3sSMv.js} +8 -8
- package/dist/{vue-ui-circle-pack-D7AqKIS-.cjs → vue-ui-circle-pack-BGLhSNyo.cjs} +1 -1
- package/dist/{vue-ui-circle-pack-1CXvHP9p.js → vue-ui-circle-pack-kx10AVM0.js} +9 -9
- package/dist/{vue-ui-cursor-CKsKMgzV.js → vue-ui-cursor-C8qofYJh.js} +2 -2
- package/dist/{vue-ui-cursor-C5WOQl59.cjs → vue-ui-cursor-H77Z-m2e.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D88XqH4c.cjs → vue-ui-dashboard-4YFqFygh.cjs} +1 -1
- package/dist/{vue-ui-dashboard-Dq3-yg8G.js → vue-ui-dashboard-Bn2slDQx.js} +62 -62
- package/dist/{vue-ui-digits-HezeODJE.js → vue-ui-digits-Cv__rzXF.js} +2 -2
- package/dist/{vue-ui-digits-qa84Wna1.cjs → vue-ui-digits-DbSV0D-j.cjs} +1 -1
- package/dist/{vue-ui-donut-DJkbQXse.cjs → vue-ui-donut-Bno5POxU.cjs} +1 -1
- package/dist/{vue-ui-donut-D12Ei_jq.js → vue-ui-donut-D_CLR29p.js} +12 -12
- package/dist/{vue-ui-donut-evolution-DvfQAv1S.js → vue-ui-donut-evolution-BgNwQ1J8.js} +11 -11
- package/dist/{vue-ui-donut-evolution-Cm9Gd92e.cjs → vue-ui-donut-evolution-Dg6laY3D.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BU0SOzc8.js → vue-ui-dumbbell-C5Z8rSTk.js} +10 -10
- package/dist/{vue-ui-dumbbell-C4l9niG7.cjs → vue-ui-dumbbell-DWQl4sxh.cjs} +1 -1
- package/dist/{vue-ui-flow-5m2LR5pX.cjs → vue-ui-flow-D0t3MSCU.cjs} +1 -1
- package/dist/{vue-ui-flow-CGbd6Xcb.js → vue-ui-flow-DKS1oZHc.js} +9 -9
- package/dist/{vue-ui-funnel-BAdZKjBy.cjs → vue-ui-funnel-CqhhBoYG.cjs} +1 -1
- package/dist/{vue-ui-funnel-D0EzBNTr.js → vue-ui-funnel-r57KM4Wi.js} +9 -9
- package/dist/{vue-ui-galaxy-BuD_JSoE.cjs → vue-ui-galaxy-BeQSEKLG.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DVwT65K1.js → vue-ui-galaxy-CLIAdqkr.js} +11 -11
- package/dist/{vue-ui-gauge-CatpKoES.js → vue-ui-gauge-BQ4S55FH.js} +7 -7
- package/dist/{vue-ui-gauge-CbAmz0iE.cjs → vue-ui-gauge-CcTneeaQ.cjs} +1 -1
- package/dist/{vue-ui-gizmo-DRgv_quU.cjs → vue-ui-gizmo-B_rVeweF.cjs} +1 -1
- package/dist/{vue-ui-gizmo-iGcNMjbS.js → vue-ui-gizmo-DACB7BcV.js} +3 -3
- package/dist/{vue-ui-heatmap-C4kF0PoS.cjs → vue-ui-heatmap-DBtRfAWr.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CVjsCIVt.js → vue-ui-heatmap-DNvbR504.js} +10 -10
- package/dist/{vue-ui-history-plot-CBpWg7UL.cjs → vue-ui-history-plot-B1zXFmOc.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DQBmYHrd.js → vue-ui-history-plot-MfnR_Gg0.js} +11 -11
- package/dist/{vue-ui-kpi-DPyAY3_7.js → vue-ui-kpi-DDMCa5qe.js} +3 -3
- package/dist/{vue-ui-kpi-DuYCYzTy.cjs → vue-ui-kpi-Dm71j1ZP.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-lBibmKWx.cjs → vue-ui-mini-loader-CROjVz1w.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BKijTcOs.js → vue-ui-mini-loader-mMxdW73Y.js} +2 -2
- package/dist/{vue-ui-molecule-D3QvQVWw.js → vue-ui-molecule-BHUWRS5i.js} +11 -11
- package/dist/{vue-ui-molecule-C4-8R_Er.cjs → vue-ui-molecule-BulwtJre.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DK5yeEWd.cjs → vue-ui-mood-radar-BhS9UcqE.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DOk--TCC.js → vue-ui-mood-radar-CUWTjV4S.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B9pGx8Mn.js → vue-ui-nested-donuts-BQk9K-uM.js} +11 -11
- package/dist/{vue-ui-nested-donuts-B6sw2ZS8.cjs → vue-ui-nested-donuts-Db_lFOB1.cjs} +1 -1
- package/dist/{vue-ui-onion-VP4XUU6u.cjs → vue-ui-onion-C38MS0We.cjs} +1 -1
- package/dist/{vue-ui-onion-BukoiqxG.js → vue-ui-onion-CEP_SVGa.js} +11 -11
- package/dist/{vue-ui-parallel-coordinate-plot-D37UlUK5.cjs → vue-ui-parallel-coordinate-plot-DOER4ePV.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BCsSmYN_.js → vue-ui-parallel-coordinate-plot-DlIPqsBr.js} +12 -12
- package/dist/{vue-ui-quadrant-CoF95Xv-.cjs → vue-ui-quadrant-BzA3R8WL.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CQ5DTNaI.js → vue-ui-quadrant-hEW2euTx.js} +12 -12
- package/dist/{vue-ui-quick-chart-DiX4Rfcs.js → vue-ui-quick-chart-D43_sxe7.js} +9 -9
- package/dist/{vue-ui-quick-chart-BNdIerij.cjs → vue-ui-quick-chart-vCYn3Ycg.cjs} +1 -1
- package/dist/{vue-ui-radar-s69kdz9l.cjs → vue-ui-radar-CrPGLRgF.cjs} +1 -1
- package/dist/{vue-ui-radar-BjnW-poa.js → vue-ui-radar-ea-S6hNo.js} +12 -12
- package/dist/{vue-ui-rating-CpbyNDqw.js → vue-ui-rating-Cr7OYhms.js} +2 -2
- package/dist/{vue-ui-rating-C_YdJ8v1.cjs → vue-ui-rating-DQhxPqnC.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DZTMYJ4b.js → vue-ui-relation-circle-BD63yYPk.js} +7 -7
- package/dist/{vue-ui-relation-circle-mEe_naOS.cjs → vue-ui-relation-circle-Ci_zTDv6.cjs} +1 -1
- package/dist/{vue-ui-rings-EA1BKMWV.js → vue-ui-rings-Dup7cJhU.js} +12 -12
- package/dist/{vue-ui-rings-Bp8YRG4U.cjs → vue-ui-rings-o_5TelyF.cjs} +1 -1
- package/dist/{vue-ui-scatter-DWapZLlh.js → vue-ui-scatter-CpUvuCj4.js} +12 -12
- package/dist/{vue-ui-scatter-BNY2kCo3.cjs → vue-ui-scatter-D1p3fd_k.cjs} +1 -1
- package/dist/{vue-ui-skeleton-faVa3jQs.cjs → vue-ui-skeleton-BGykkjYQ.cjs} +1 -1
- package/dist/{vue-ui-skeleton-B2jz_Rfv.js → vue-ui-skeleton-BjminQzl.js} +3 -3
- package/dist/{vue-ui-smiley-UpMWQTZi.cjs → vue-ui-smiley-BtpjYEEP.cjs} +1 -1
- package/dist/{vue-ui-smiley-D62FdclW.js → vue-ui-smiley-CFKscwS7.js} +2 -2
- package/dist/{vue-ui-spark-trend-B5QVd56T.cjs → vue-ui-spark-trend-CRcDMTzh.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BP7k791o.js → vue-ui-spark-trend-wAANMLZ4.js} +5 -5
- package/dist/{vue-ui-sparkbar-C5gO6kAD.js → vue-ui-sparkbar-BTUT-uco.js} +4 -4
- package/dist/{vue-ui-sparkbar-NBk7a_wP.cjs → vue-ui-sparkbar-BVh9AOEX.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-Bx4BYgQ3.cjs → vue-ui-sparkgauge-B_N07sh6.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-DV7cRouC.js → vue-ui-sparkgauge-DXxoZfG0.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-C704ceB9.cjs → vue-ui-sparkhistogram-CHbsbOtx.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CAwg98NM.js → vue-ui-sparkhistogram-cSUQzQ6o.js} +5 -5
- package/dist/{vue-ui-sparkline-C6-4dTVt.cjs → vue-ui-sparkline-Cr5KANZ_.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CxB3Eyb-.js → vue-ui-sparkline-_wbJMVVr.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-C6jdGUxH.js → vue-ui-sparkstackbar-D93-i-tg.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-B9NvGHOA.cjs → vue-ui-sparkstackbar-SRvQImaw.cjs} +1 -1
- package/dist/{vue-ui-stackbar-CoJOyKqg.js → vue-ui-stackbar-CnZsiebh.js} +13 -13
- package/dist/{vue-ui-stackbar-DlgU9dFi.cjs → vue-ui-stackbar-D3KicC2k.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-WjTQOggP.js → vue-ui-strip-plot-Dv-C246v.js} +11 -11
- package/dist/{vue-ui-strip-plot-CykLBKIN.cjs → vue-ui-strip-plot-Dz8doRxV.cjs} +1 -1
- package/dist/{vue-ui-table-1Zxn3K9e.js → vue-ui-table-Dkoj_poY.js} +198 -162
- package/dist/{vue-ui-table-heatmap-BCHOsmmn.cjs → vue-ui-table-heatmap-C8Vi0yvC.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DV2T_h6Y.js → vue-ui-table-heatmap-CYuY_cv8.js} +4 -4
- package/dist/vue-ui-table-iE1t-zP9.cjs +14 -0
- package/dist/{vue-ui-table-sparkline-DSHGi7w-.js → vue-ui-table-sparkline-B76wcNNt.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DySzcg74.cjs → vue-ui-table-sparkline-C4REu4fs.cjs} +1 -1
- package/dist/{vue-ui-thermometer-Dv-99pJQ.js → vue-ui-thermometer-DiZILoae.js} +7 -7
- package/dist/{vue-ui-thermometer-CEA7WA0G.cjs → vue-ui-thermometer-DvNlCnAL.cjs} +1 -1
- package/dist/{vue-ui-timer-8C6_VzNW.cjs → vue-ui-timer-DUN6vOs9.cjs} +1 -1
- package/dist/{vue-ui-timer-CarxDlRB.js → vue-ui-timer-DxYKc_c7.js} +5 -5
- package/dist/{vue-ui-tiremarks-nNNtLVMU.cjs → vue-ui-tiremarks-BV7MTnlS.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-NqC3DuR3.js → vue-ui-tiremarks-D52pzq2N.js} +7 -7
- package/dist/{vue-ui-treemap-J3NCHj8b.js → vue-ui-treemap-CNbw7CLO.js} +12 -12
- package/dist/{vue-ui-treemap-CsrEKIPG.cjs → vue-ui-treemap-gQhTSE_P.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-dKI7UMgc.js → vue-ui-vertical-bar-B_nsQpZa.js} +12 -12
- package/dist/{vue-ui-vertical-bar-DZr9Wt48.cjs → vue-ui-vertical-bar-ClJttiMf.cjs} +1 -1
- package/dist/{vue-ui-waffle-VAjxd7NN.cjs → vue-ui-waffle-BYBctA3T.cjs} +1 -1
- package/dist/{vue-ui-waffle-BYKDGfGI.js → vue-ui-waffle-CLfNk30s.js} +12 -12
- package/dist/{vue-ui-wheel-DAZeFO31.js → vue-ui-wheel-4Yit1iRJ.js} +7 -7
- package/dist/{vue-ui-wheel-XE7N7xMK.cjs → vue-ui-wheel-Bj6lxA5M.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BO2f2m-j.cjs → vue-ui-word-cloud-AZ1OJrxo.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Ds4VBdgV.js → vue-ui-word-cloud-D94M5Lsf.js} +10 -10
- package/dist/{vue-ui-world-CHpmGKxs.cjs → vue-ui-world-BwcOIaHG.cjs} +1 -1
- package/dist/{vue-ui-world-B1p_qoEF.js → vue-ui-world-rkzHCxBG.js} +11 -11
- package/dist/{vue-ui-xy-CYsUciH6.cjs → vue-ui-xy-DJiY5DSr.cjs} +2 -2
- package/dist/{vue-ui-xy-BrhoXHDm.js → vue-ui-xy-DXgpQ8zr.js} +16 -16
- package/dist/{vue-ui-xy-canvas-BpUxHeN-.js → vue-ui-xy-canvas-CAfAcJWj.js} +12 -12
- package/dist/{vue-ui-xy-canvas-0ryFSxU4.cjs → vue-ui-xy-canvas-DsuvSNM3.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-table-DD-ys5Yf.cjs +0 -14
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a3 as A, r as D, q as x, z as G, d as M, m as T, A as E, u as
|
|
2
|
-
import { createElementBlock as i, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as
|
|
1
|
+
import { a3 as A, r as D, q as x, z as G, d as M, m as T, A as E, u as P, p as z } from "./index-9ZicrZWM.js";
|
|
2
|
+
import { createElementBlock as i, openBlock as c, normalizeStyle as g, createElementVNode as a, createCommentVNode as b, toDisplayString as u, Fragment as N, renderList as C, normalizeClass as f, createTextVNode as I, withDirectives as v, vModelText as k, withKeys as w, withModifiers as O, vModelSelect as B, createStaticVNode as H } from "vue";
|
|
3
3
|
import { _ as R } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const U = {
|
|
5
5
|
name: "vue-ui-table",
|
|
@@ -69,7 +69,7 @@ const U = {
|
|
|
69
69
|
itemsPerPage: this.config.rowsPerPage ? this.config.rowsPerPage : 25,
|
|
70
70
|
multiselects: {},
|
|
71
71
|
paginatorOptions: [.../* @__PURE__ */ new Set([10, 25, 50, 100, 250, 500, this.config.rowsPerPage ? this.config.rowsPerPage : 25, this.dataset.body.length])].sort((s, l) => s - l),
|
|
72
|
-
palette:
|
|
72
|
+
palette: z,
|
|
73
73
|
percentages: {},
|
|
74
74
|
rafId: null,
|
|
75
75
|
rangeFilters: {},
|
|
@@ -135,6 +135,36 @@ Provide an array of objects of type:
|
|
|
135
135
|
const s = this.$refs.chartModal;
|
|
136
136
|
s.onmousedown = this.dragMouseDown;
|
|
137
137
|
});
|
|
138
|
+
},
|
|
139
|
+
dataset: {
|
|
140
|
+
handler(r) {
|
|
141
|
+
this.isLoading = !0, this.bodyCopy = JSON.parse(JSON.stringify(r.body)).map((s, l) => ({
|
|
142
|
+
...s,
|
|
143
|
+
absoluteIndex: l
|
|
144
|
+
})), this.tableBody = JSON.parse(JSON.stringify(r.body)).map((s, l) => ({
|
|
145
|
+
...s,
|
|
146
|
+
absoluteIndex: l
|
|
147
|
+
})), this.tableHead = JSON.parse(JSON.stringify(r.header)).map((s) => ({
|
|
148
|
+
average: Object.hasOwn(s, "average") ? s.average : !1,
|
|
149
|
+
decimals: Object.hasOwn(s, "decimals") ? s.decimals : 0,
|
|
150
|
+
isMultiselect: Object.hasOwn(s, "isMultiselect") ? s.isMultiselect : !1,
|
|
151
|
+
isPercentage: Object.hasOwn(s, "isPercentage") ? s.isPercentage : !1,
|
|
152
|
+
isSearch: Object.hasOwn(s, "isSearch") ? s.isSearch : !1,
|
|
153
|
+
isSort: Object.hasOwn(s, "isSort") ? s.isSort : !1,
|
|
154
|
+
name: s.name,
|
|
155
|
+
percentageTo: Object.hasOwn(s, "percentageTo") ? s.percentageTo : void 0,
|
|
156
|
+
prefix: Object.hasOwn(s, "prefix") ? s.prefix : "",
|
|
157
|
+
rangeFilter: Object.hasOwn(s, "rangeFilter") ? s.rangeFilter : !1,
|
|
158
|
+
suffix: Object.hasOwn(s, "suffix") ? s.suffix : "",
|
|
159
|
+
sum: Object.hasOwn(s, "sum") ? s.sum : !1,
|
|
160
|
+
type: s.type
|
|
161
|
+
})), 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, () => {
|
|
162
|
+
this.$forceUpdate(), this.updateCurrentPage(), this.isLoading = !1;
|
|
163
|
+
});
|
|
164
|
+
},
|
|
165
|
+
deep: !0,
|
|
166
|
+
// In case dataset.body/header are updated in-place
|
|
167
|
+
immediate: !1
|
|
138
168
|
}
|
|
139
169
|
},
|
|
140
170
|
computed: {
|
|
@@ -150,16 +180,16 @@ Provide an array of objects of type:
|
|
|
150
180
|
},
|
|
151
181
|
chartData() {
|
|
152
182
|
if (!this.canChart) return [];
|
|
153
|
-
const r = 316, s = 512, l = this.currentSelectionSpan.rows.length, h = s / l, t = Math.max(...this.currentSelectionSpan.rows.map((
|
|
154
|
-
x: h *
|
|
155
|
-
y: (1 - (
|
|
156
|
-
value: y ?
|
|
183
|
+
const r = 316, s = 512, l = this.currentSelectionSpan.rows.length, h = s / l, t = Math.max(...this.currentSelectionSpan.rows.map((F) => F.value)), e = Math.min(...this.currentSelectionSpan.rows.map((F) => F.value)), n = e >= 0 ? 0 : Math.abs(e), o = t + n, d = t < 0 && e < 0, y = this.dataset.header[this.currentSelectionSpan.col].isPercentage, m = this.currentSelectionSpan.rows.map((F, S) => ({
|
|
184
|
+
x: h * S + h / 2,
|
|
185
|
+
y: (1 - (F.value + n) / o) * r,
|
|
186
|
+
value: y ? F.value * 100 : F.value,
|
|
157
187
|
suffix: y ? "%" : this.dataset.header[this.currentSelectionSpan.col].suffix ? this.dataset.header[this.currentSelectionSpan.col].suffix : "",
|
|
158
188
|
prefix: this.dataset.header[this.currentSelectionSpan.col].prefix ? this.dataset.header[this.currentSelectionSpan.col].prefix : "",
|
|
159
|
-
index:
|
|
160
|
-
absoluteValue: y ? Math.abs(
|
|
161
|
-
})),
|
|
162
|
-
return { isAllNegative: d, zero:
|
|
189
|
+
index: F.index,
|
|
190
|
+
absoluteValue: y ? Math.abs(F.value) * 100 : Math.abs(F.value)
|
|
191
|
+
})), p = r - r * (n / o);
|
|
192
|
+
return { isAllNegative: d, zero: p, plots: m, slot: h, progression: m.length >= 2 ? this.calcLinearProgression(m) : !1 };
|
|
163
193
|
},
|
|
164
194
|
donutHollowLabels() {
|
|
165
195
|
return {
|
|
@@ -211,7 +241,7 @@ Provide an array of objects of type:
|
|
|
211
241
|
};
|
|
212
242
|
},
|
|
213
243
|
FINAL_CONFIG() {
|
|
214
|
-
const { vue_ui_table: r } =
|
|
244
|
+
const { vue_ui_table: r } = P();
|
|
215
245
|
if (!Object.keys(this.config || {}).length)
|
|
216
246
|
return r;
|
|
217
247
|
const s = this.treeShake({
|
|
@@ -285,10 +315,10 @@ Provide an array of objects of type:
|
|
|
285
315
|
return this.rows.map((s) => s[r]).map((s) => isNaN(Number(s)) ? 0 : s).reduce((s, l) => s + l, 0) / this.bodyCopy.length;
|
|
286
316
|
},
|
|
287
317
|
getDatesRange(r) {
|
|
288
|
-
const s = this.dataset.body.map((
|
|
318
|
+
const s = this.dataset.body.map((F) => new Date(F.td[r])), l = new Date(Math.min(...s)), h = new Date(Math.max(...s)), t = l.getFullYear(), e = h.getFullYear(), n = String(l.getMonth() + 1).padStart(2, "0"), o = String(h.getMonth() + 1).padStart(2, "0"), d = String(l.getDate()).padStart(2, "0"), y = String(h.getDate()).padStart(2, "0"), m = `${t}-${n}-${d}`, p = `${e}-${o}-${y}`;
|
|
289
319
|
return {
|
|
290
320
|
from: m,
|
|
291
|
-
to:
|
|
321
|
+
to: p
|
|
292
322
|
};
|
|
293
323
|
},
|
|
294
324
|
getDonutLegendValue(r) {
|
|
@@ -354,20 +384,20 @@ Provide an array of objects of type:
|
|
|
354
384
|
r.preventDefault();
|
|
355
385
|
const s = r.keyCode, l = 38, h = 40, t = 37, e = 39;
|
|
356
386
|
if (![l, h, t, e].includes(s)) return;
|
|
357
|
-
const n = r.target.id, o = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, d = n.match(o), y = parseInt(d[1]), m = parseInt(d[2]),
|
|
387
|
+
const n = r.target.id, o = /cell_(\d+)_(\d+)_vue-ui-table-(\d+)/, d = n.match(o), y = parseInt(d[1]), m = parseInt(d[2]), p = document.getElementById(`cell_${y}_${m + 1}_${this.uid}`), F = document.getElementById(`cell_${y}_${m - 1}_${this.uid}`), S = document.getElementById(`cell_${y + 1}_${m}_${this.uid}`), L = document.getElementById(`cell_${y - 1}_${m}_${this.uid}`);
|
|
358
388
|
let _;
|
|
359
389
|
switch (!0) {
|
|
360
390
|
case s === e:
|
|
361
|
-
_ =
|
|
391
|
+
_ = p;
|
|
362
392
|
break;
|
|
363
393
|
case s === t:
|
|
364
|
-
_ =
|
|
394
|
+
_ = F;
|
|
365
395
|
break;
|
|
366
396
|
case s === l:
|
|
367
397
|
_ = L;
|
|
368
398
|
break;
|
|
369
399
|
case s === h:
|
|
370
|
-
_ =
|
|
400
|
+
_ = S;
|
|
371
401
|
break;
|
|
372
402
|
default:
|
|
373
403
|
return;
|
|
@@ -385,16 +415,22 @@ Provide an array of objects of type:
|
|
|
385
415
|
return new Promise((r) => {
|
|
386
416
|
const s = [];
|
|
387
417
|
this.tableHead.forEach((l, h) => {
|
|
388
|
-
if (l.isSearch && Object.assign(this.searches, { [h]: "" }), l.isMultiselect && Object.assign(this.multiselects, { [h]: this.getDropdownOptions(h) }), l.type === this.constants.DATE && (Object.assign(this.dates, { [h]: this.getDatesRange(h) }), Object.assign(this.filteredDatesIndexes, { [h]: !1 })), (l.isPercentage || l.percentageTo) && Object.assign(this.percentages, {
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
418
|
+
if (l.isSearch && Object.assign(this.searches, { [h]: "" }), l.isMultiselect && Object.assign(this.multiselects, { [h]: this.getDropdownOptions(h) }), l.type === this.constants.DATE && (Object.assign(this.dates, { [h]: this.getDatesRange(h) }), Object.assign(this.filteredDatesIndexes, { [h]: !1 })), (l.isPercentage || l.percentageTo) && Object.assign(this.percentages, {
|
|
419
|
+
[h]: {
|
|
420
|
+
reference: l.percentageTo,
|
|
421
|
+
referenceIndex: this.dataset.header.map((t) => t.name).indexOf(l.percentageTo)
|
|
422
|
+
}
|
|
423
|
+
}), l.rangeFilter && (Object.assign(this.rangeFilters, {
|
|
424
|
+
[h]: {
|
|
425
|
+
min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[h]))),
|
|
426
|
+
max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[h])))
|
|
427
|
+
}
|
|
428
|
+
}), Object.assign(this.immutableRangeFilters, {
|
|
429
|
+
[h]: {
|
|
430
|
+
min: Math.round(Math.min(...this.dataset.body.map((t) => t.td).map((t) => t[h]))),
|
|
431
|
+
max: Math.round(Math.max(...this.dataset.body.map((t) => t.td).map((t) => t[h])))
|
|
432
|
+
}
|
|
433
|
+
})), l.isPercentage) {
|
|
398
434
|
const t = this.dataset.header.map((n) => n.name).indexOf(l.percentageTo), e = this.dataset.body.map((n) => n.td[t]).reduce((n, o) => n + o, 0);
|
|
399
435
|
s.push([h, t, e]);
|
|
400
436
|
}
|
|
@@ -526,7 +562,7 @@ Provide an array of objects of type:
|
|
|
526
562
|
t.dataset.isOpen === "false" ? t.dataset.isOpen = "true" : t.dataset.isOpen = "false";
|
|
527
563
|
},
|
|
528
564
|
updateCurrentPage(r) {
|
|
529
|
-
this.resetSelection(), this.currentPage = Number(r.target.value);
|
|
565
|
+
this.resetSelection(), !r || !r.target.value ? this.currentPage = 0 : this.currentPage = Number(r.target.value);
|
|
530
566
|
},
|
|
531
567
|
// DONUTS
|
|
532
568
|
calcDonutMarkerConnectorColor(r) {
|
|
@@ -563,7 +599,7 @@ Provide an array of objects of type:
|
|
|
563
599
|
this.clientX = r.clientX - l.width / 2, this.clientY = r.clientY - l.height / 2, this.rafId = null;
|
|
564
600
|
}
|
|
565
601
|
}
|
|
566
|
-
},
|
|
602
|
+
}, j = { class: "vue-ui-table-export-hub" }, V = ["innerHTML"], X = ["data-is-open"], W = { class: "vue-ui-table-export-hub-options" }, Y = { class: "vue-ui-table-export-hub-option-wrapper" }, J = { class: "label" }, K = ["innerHTML"], Z = { class: "vue-ui-table-export-hub-option-wrapper" }, q = { class: "label" }, Q = ["innerHTML"], $ = { class: "vue-ui-table" }, ee = { id: "tableHead" }, te = { key: 0 }, se = { key: 0 }, re = { key: 1 }, ne = {
|
|
567
603
|
key: 0,
|
|
568
604
|
style: { display: "flex", "align-items": "center", "justify-content": "flex-end" }
|
|
569
605
|
}, le = ["innerHTML"], oe = {
|
|
@@ -572,10 +608,10 @@ Provide an array of objects of type:
|
|
|
572
608
|
}, ae = { key: 0 }, ie = { class: "th-filter" }, ce = {
|
|
573
609
|
key: 0,
|
|
574
610
|
class: "th-date"
|
|
575
|
-
}, ue = { class: "date-wrapper--inputs" }, he = { class: "date-fieldset" }, de = ["for"], ge = ["id", "onUpdate:modelValue", "onInput"], ye = { class: "date-fieldset" },
|
|
611
|
+
}, ue = { class: "date-wrapper--inputs" }, he = { class: "date-fieldset" }, de = ["for"], ge = ["id", "onUpdate:modelValue", "onInput"], ye = { class: "date-fieldset" }, be = ["for"], Ne = ["id", "onUpdate:modelValue", "onInput"], me = { class: "date-wrapper--button" }, fe = ["onClick"], Ce = ["innerHTML"], Fe = ["innerHTML"], Ie = ["innerHTML"], _e = ["onClick", "disabled"], ve = ["placeholder", "onUpdate:modelValue", "name"], pe = ["onClick"], ke = ["innerHTML"], we = ["innerHTML"], Oe = ["innerHTML"], Se = ["onClick", "innerHTML"], Le = ["innerHTML"], Ae = {
|
|
576
612
|
key: 5,
|
|
577
613
|
class: "th-range-filter"
|
|
578
|
-
}, De = ["for"], xe = ["id", "max", "min", "onUpdate:modelValue"], Ge = ["id", "max", "min", "onUpdate:modelValue"], Me = ["for"], Te = ["onClick", "disabled"], Ee = ["id"],
|
|
614
|
+
}, De = ["for"], xe = ["id", "max", "min", "onUpdate:modelValue"], Ge = ["id", "max", "min", "onUpdate:modelValue"], Me = ["for"], Te = ["onClick", "disabled"], Ee = ["id"], Pe = ["onClick"], ze = ["onClick", "onKeyup"], Be = ["innerHTML", "onClick", "onKeyup"], He = ["data-row"], Re = ["data-row"], Ue = ["data-row", "onClick", "onKeyup", "id"], je = ["innerHTML"], Ve = { key: 1 }, Xe = { key: 2 }, We = { key: 5 }, Ye = ["innerHTML"], Je = { key: 0 }, Ke = { style: { "margin-left": "12px" } }, Ze = { class: "format-num" }, qe = { style: { "margin-left": "12px" } }, Qe = {
|
|
579
615
|
key: 0,
|
|
580
616
|
class: "format-num"
|
|
581
617
|
}, $e = {
|
|
@@ -602,21 +638,21 @@ Provide an array of objects of type:
|
|
|
602
638
|
}, dt = {
|
|
603
639
|
for: "pageScroller",
|
|
604
640
|
style: { "font-size": "14px" }
|
|
605
|
-
}, gt = ["max", "value"], yt = { key: 1 },
|
|
641
|
+
}, gt = ["max", "value"], yt = { key: 1 }, bt = ["disabled"], Nt = ["innerHTML", "disabled"], mt = { class: "chart-modal-options" }, ft = ["innerHTML"], Ct = ["innerHTML"], Ft = ["innerHTML"], It = { style: { "margin-bottom": "12px" } }, _t = { key: 0 }, vt = { key: 1 }, pt = {
|
|
606
642
|
style: { width: "100%", height: "fit-content", cursor: "move" },
|
|
607
643
|
ref: "chartModal"
|
|
608
|
-
},
|
|
644
|
+
}, kt = { class: "vue-ui-table-fieldset" }, wt = { class: "vue-ui-table-fieldset-wrapper" }, Ot = ["name", "id", "checked", "onInput"], St = ["for"], Lt = ["disabled"], At = ["innerHTML"], Dt = ["viewBox"], xt = ["markerWidth", "markerHeight", "refY"], Gt = ["points", "fill"], Mt = ["x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["y2", "stroke", "stroke-width"], Et = ["x", "width", "height", "fill"], Pt = ["x", "y", "height", "width", "fill", "stroke"], zt = ["x", "y", "width"], Bt = ["x1", "y1", "x2", "y2", "stroke-width", "stroke"], Ht = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Rt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Ut = ["x", "y", "width"], jt = ["x", "width", "height", "onMouseenter"], Vt = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Xt = ["d", "stroke"], Wt = ["x", "y"], Yt = { class: "vue-ui-table-donut-label-name" }, Jt = ["fill"], Kt = ["fill"], Zt = ["fill"], qt = ["fill"], Qt = { class: "vue-ui-table-donut-legend" };
|
|
609
645
|
function $t(r, s, l, h, t, e) {
|
|
610
646
|
return c(), i("div", {
|
|
611
647
|
class: "vue-ui-table-main",
|
|
612
648
|
style: g(`font-family: ${e.FINAL_CONFIG.fontFamily}`)
|
|
613
649
|
}, [
|
|
614
|
-
a("div",
|
|
650
|
+
a("div", j, [
|
|
615
651
|
a("button", {
|
|
616
652
|
onClick: s[0] || (s[0] = (n) => t.isExportRequest = !t.isExportRequest),
|
|
617
653
|
innerHTML: e.icons.export,
|
|
618
654
|
style: g(`background:${e.FINAL_CONFIG.style.exportMenu.backgroundColor};color:${e.FINAL_CONFIG.style.exportMenu.color}`)
|
|
619
|
-
}, null, 12,
|
|
655
|
+
}, null, 12, V),
|
|
620
656
|
a("div", {
|
|
621
657
|
class: "vue-ui-table-export-hub-dropdown",
|
|
622
658
|
"data-is-open": t.isExportRequest || "false",
|
|
@@ -630,7 +666,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
630
666
|
}, " ✖ ", 4),
|
|
631
667
|
a("div", W, [
|
|
632
668
|
a("div", Y, [
|
|
633
|
-
a("div",
|
|
669
|
+
a("div", J, u(e.FINAL_CONFIG.translations.exportAllLabel) + " (" + u(t.bodyCopy.length) + ") ", 1),
|
|
634
670
|
a("button", {
|
|
635
671
|
id: "exportAll",
|
|
636
672
|
onClick: s[2] || (s[2] = (n) => e.createXls("all")),
|
|
@@ -638,12 +674,12 @@ function $t(r, s, l, h, t, e) {
|
|
|
638
674
|
}, [
|
|
639
675
|
a("div", {
|
|
640
676
|
innerHTML: e.icons.fileDownload
|
|
641
|
-
}, null, 8,
|
|
677
|
+
}, null, 8, K),
|
|
642
678
|
a("span", null, u(e.FINAL_CONFIG.translations.exportAllButton), 1)
|
|
643
679
|
], 4)
|
|
644
680
|
]),
|
|
645
|
-
a("div",
|
|
646
|
-
a("div",
|
|
681
|
+
a("div", Z, [
|
|
682
|
+
a("div", q, u(e.FINAL_CONFIG.translations.exportPageLabel), 1),
|
|
647
683
|
a("button", {
|
|
648
684
|
id: "exportPage",
|
|
649
685
|
onClick: s[3] || (s[3] = (n) => e.createXls("page")),
|
|
@@ -667,21 +703,21 @@ function $t(r, s, l, h, t, e) {
|
|
|
667
703
|
a("thead", ee, [
|
|
668
704
|
a("tr", null, [
|
|
669
705
|
s[25] || (s[25] = a("th", { class: "invisible-cell" }, null, -1)),
|
|
670
|
-
(c(!0), i(
|
|
706
|
+
(c(!0), i(N, null, C(t.tableHead, (n, o) => (c(), i("th", {
|
|
671
707
|
key: `thead_${o}`,
|
|
672
708
|
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}`),
|
|
673
709
|
class: f({ "th-has-nan": t.hasNaN[o] })
|
|
674
710
|
}, [
|
|
675
711
|
e.hasNumericTypes && ([t.constants.TEXT, t.constants.DATE].includes(n.type) || n.isPercentage) ? (c(), i("span", te, [
|
|
676
|
-
|
|
677
|
-
n.isPercentage ? (c(), i("span", se, " / " + u(n.percentageTo), 1)) :
|
|
712
|
+
I(u(n.name) + " ", 1),
|
|
713
|
+
n.isPercentage ? (c(), i("span", se, " / " + u(n.percentageTo), 1)) : b("", !0)
|
|
678
714
|
])) : (c(), i("span", re, u(n.name), 1))
|
|
679
715
|
], 6))), 128))
|
|
680
716
|
]),
|
|
681
|
-
e.hasNumericTypes ? (c(), i(
|
|
717
|
+
e.hasNumericTypes ? (c(), i(N, { key: 0 }, [
|
|
682
718
|
a("tr", null, [
|
|
683
719
|
s[26] || (s[26] = a("th", { class: "invisible-cell" }, null, -1)),
|
|
684
|
-
(c(!0), i(
|
|
720
|
+
(c(!0), i(N, null, C(t.tableHead, (n, o) => (c(), i("th", {
|
|
685
721
|
key: `thead_${o}`,
|
|
686
722
|
class: f({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
|
|
687
723
|
style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
|
|
@@ -691,24 +727,24 @@ function $t(r, s, l, h, t, e) {
|
|
|
691
727
|
innerHTML: e.icons.sum,
|
|
692
728
|
style: { "margin-bottom": "-4px", "margin-right": "3px" }
|
|
693
729
|
}, null, 8, le),
|
|
694
|
-
|
|
695
|
-
t.percentages[o] && n.percentageTo && !n.isPercentage ? (c(), i("span", oe, " (" + u(isNaN(e.getSum(o) / e.getSum(t.percentages[o].referenceIndex)) ? "-" : (e.getSum(o) / e.getSum(t.percentages[o].referenceIndex) * 100).toFixed(n.decimals)) + "%) ", 1)) :
|
|
696
|
-
])) :
|
|
730
|
+
I(" " + u(n.prefix) + " " + u(Number(e.getSum(o).toFixed(n.decimals)).toLocaleString()) + " " + u(n.suffix) + " ", 1),
|
|
731
|
+
t.percentages[o] && n.percentageTo && !n.isPercentage ? (c(), i("span", oe, " (" + u(isNaN(e.getSum(o) / e.getSum(t.percentages[o].referenceIndex)) ? "-" : (e.getSum(o) / e.getSum(t.percentages[o].referenceIndex) * 100).toFixed(n.decimals)) + "%) ", 1)) : b("", !0)
|
|
732
|
+
])) : b("", !0)
|
|
697
733
|
], 6))), 128))
|
|
698
734
|
]),
|
|
699
735
|
a("tr", null, [
|
|
700
736
|
s[27] || (s[27] = a("th", { class: "invisible-cell" }, null, -1)),
|
|
701
|
-
(c(!0), i(
|
|
737
|
+
(c(!0), i(N, null, C(t.tableHead, (n, o) => (c(), i("th", {
|
|
702
738
|
key: `thead_${o}`,
|
|
703
739
|
class: f({ "th-numeric": !0, "th-has-nan": t.hasNaN[o] }),
|
|
704
740
|
style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
|
|
705
741
|
}, [
|
|
706
|
-
n.average && !t.hasNaN[o] ? (c(), i("span", ae, " ~ " + u(n.prefix) + " " + u(isNaN(e.getAverage(o)) ? "" : Number(e.getAverage(o).toFixed(n.decimals)).toLocaleString()) + " " + u(n.suffix), 1)) :
|
|
742
|
+
n.average && !t.hasNaN[o] ? (c(), i("span", ae, " ~ " + u(n.prefix) + " " + u(isNaN(e.getAverage(o)) ? "" : Number(e.getAverage(o).toFixed(n.decimals)).toLocaleString()) + " " + u(n.suffix), 1)) : b("", !0)
|
|
707
743
|
], 6))), 128))
|
|
708
744
|
]),
|
|
709
745
|
a("tr", null, [
|
|
710
746
|
s[30] || (s[30] = a("th", { class: "invisible-cell" }, null, -1)),
|
|
711
|
-
(c(!0), i(
|
|
747
|
+
(c(!0), i(N, null, C(t.tableHead, (n, o) => (c(), i("th", {
|
|
712
748
|
key: `thead_${o}`,
|
|
713
749
|
class: f({ "th-has-nan": t.hasNaN[o] }),
|
|
714
750
|
style: g(`background:${e.FINAL_CONFIG.style.th.backgroundColor};color:${e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
|
|
@@ -729,13 +765,13 @@ function $t(r, s, l, h, t, e) {
|
|
|
729
765
|
},
|
|
730
766
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
731
767
|
}, null, 44, ge), [
|
|
732
|
-
[
|
|
768
|
+
[k, t.dates[o].from]
|
|
733
769
|
])
|
|
734
770
|
]),
|
|
735
771
|
a("div", ye, [
|
|
736
772
|
a("label", {
|
|
737
773
|
for: `to_${o}`
|
|
738
|
-
}, u(e.FINAL_CONFIG.translations.to), 9,
|
|
774
|
+
}, u(e.FINAL_CONFIG.translations.to), 9, be),
|
|
739
775
|
v(a("input", {
|
|
740
776
|
id: `to_${o}`,
|
|
741
777
|
type: "date",
|
|
@@ -744,8 +780,8 @@ function $t(r, s, l, h, t, e) {
|
|
|
744
780
|
e.filterBody(), e.setFilterDatesIndexes(o);
|
|
745
781
|
},
|
|
746
782
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
747
|
-
}, null, 44,
|
|
748
|
-
[
|
|
783
|
+
}, null, 44, Ne), [
|
|
784
|
+
[k, t.dates[o].to]
|
|
749
785
|
])
|
|
750
786
|
])
|
|
751
787
|
]),
|
|
@@ -762,11 +798,11 @@ function $t(r, s, l, h, t, e) {
|
|
|
762
798
|
}, null, 8, Ce)) : t.sorts[o] === t.constants.DESC ? (c(), i("span", {
|
|
763
799
|
key: 1,
|
|
764
800
|
innerHTML: [t.constants.DATE].includes(n.type) ? e.icons.sort90 : e.icons.sortZA
|
|
765
|
-
}, null, 8,
|
|
801
|
+
}, null, 8, Fe)) : (c(), i("span", {
|
|
766
802
|
key: 2,
|
|
767
803
|
innerHTML: e.icons.arrowSort
|
|
768
|
-
}, null, 8,
|
|
769
|
-
], 14, fe)) :
|
|
804
|
+
}, null, 8, Ie))
|
|
805
|
+
], 14, fe)) : b("", !0),
|
|
770
806
|
a("button", {
|
|
771
807
|
onClick: (d) => {
|
|
772
808
|
e.resetDates(o), e.resetFilter(o, n, d);
|
|
@@ -775,7 +811,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
775
811
|
class: "th-reset"
|
|
776
812
|
}, " ✖ ", 8, _e)
|
|
777
813
|
])
|
|
778
|
-
])) :
|
|
814
|
+
])) : b("", !0),
|
|
779
815
|
n.isSearch ? v((c(), i("input", {
|
|
780
816
|
key: 1,
|
|
781
817
|
placeholder: e.FINAL_CONFIG.translations.inputPlaceholder,
|
|
@@ -784,8 +820,8 @@ function $t(r, s, l, h, t, e) {
|
|
|
784
820
|
name: `search_${o}`,
|
|
785
821
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
786
822
|
}, null, 44, ve)), [
|
|
787
|
-
[
|
|
788
|
-
]) :
|
|
823
|
+
[k, t.searches[o]]
|
|
824
|
+
]) : b("", !0),
|
|
789
825
|
!t.hasNaN[o] && n.isSort && n.type !== t.constants.DATE ? (c(), i("button", {
|
|
790
826
|
key: 2,
|
|
791
827
|
onClick: (d) => e.sortTh(o, d),
|
|
@@ -795,34 +831,34 @@ function $t(r, s, l, h, t, e) {
|
|
|
795
831
|
t.sorts[o] === t.constants.ASC ? (c(), i("span", {
|
|
796
832
|
key: 0,
|
|
797
833
|
innerHTML: [t.constants.NUMERIC].includes(n.type) ? e.icons.sort09 : e.icons.sortZA
|
|
798
|
-
}, null, 8,
|
|
834
|
+
}, null, 8, ke)) : t.sorts[o] === t.constants.DESC ? (c(), i("span", {
|
|
799
835
|
key: 1,
|
|
800
836
|
innerHTML: [t.constants.NUMERIC].includes(n.type) ? e.icons.sort90 : e.icons.sortAZ
|
|
801
837
|
}, null, 8, we)) : (c(), i("span", {
|
|
802
838
|
key: 2,
|
|
803
839
|
innerHTML: e.icons.arrowSort
|
|
804
|
-
}, null, 8,
|
|
805
|
-
], 14,
|
|
840
|
+
}, null, 8, Oe))
|
|
841
|
+
], 14, pe)) : b("", !0),
|
|
806
842
|
n.isMultiselect ? (c(), i("button", {
|
|
807
843
|
key: 3,
|
|
808
844
|
onClick: (d) => e.toggleMultiselect(o, n, d),
|
|
809
845
|
innerHTML: e.icons.filter,
|
|
810
846
|
class: f({ "th-button-active": t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length }),
|
|
811
847
|
style: g(`background:${t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${t.multiselects[o] && t.multiselects[o].length !== e.getDropdownOptions(o).length ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
|
|
812
|
-
}, null, 14,
|
|
848
|
+
}, null, 14, Se)) : b("", !0),
|
|
813
849
|
t.currentSelectionSpan.col === o && e.canChart ? (c(), i("button", {
|
|
814
850
|
key: 4,
|
|
815
851
|
onClick: s[5] || (s[5] = (d) => t.showChart = !t.showChart),
|
|
816
852
|
innerHTML: e.icons.chart,
|
|
817
853
|
class: f({ "th-button-active": t.showChart }),
|
|
818
854
|
style: g(`background:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${t.showChart ? "" : e.FINAL_CONFIG.style.pagination.buttons.color}`)
|
|
819
|
-
}, null, 14, Le)) :
|
|
855
|
+
}, null, 14, Le)) : b("", !0),
|
|
820
856
|
n.rangeFilter && t.rangeFilters[o] && !t.hasNaN[o] ? (c(), i("div", Ae, [
|
|
821
857
|
a("label", {
|
|
822
858
|
for: `rangeMin${o}`
|
|
823
859
|
}, s[28] || (s[28] = [
|
|
824
860
|
a("span", { style: { color: "grey" } }, "ᒥ", -1),
|
|
825
|
-
|
|
861
|
+
I(" min "),
|
|
826
862
|
a("span", { style: { color: "grey" } }, "ᒣ", -1)
|
|
827
863
|
]), 8, De),
|
|
828
864
|
v(a("input", {
|
|
@@ -835,7 +871,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
835
871
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
836
872
|
}, null, 44, xe), [
|
|
837
873
|
[
|
|
838
|
-
|
|
874
|
+
k,
|
|
839
875
|
t.rangeFilters[o].min,
|
|
840
876
|
void 0,
|
|
841
877
|
{ number: !0 }
|
|
@@ -851,7 +887,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
851
887
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
852
888
|
}, null, 44, Ge), [
|
|
853
889
|
[
|
|
854
|
-
|
|
890
|
+
k,
|
|
855
891
|
t.rangeFilters[o].max,
|
|
856
892
|
void 0,
|
|
857
893
|
{ number: !0 }
|
|
@@ -861,16 +897,16 @@ function $t(r, s, l, h, t, e) {
|
|
|
861
897
|
for: `rangeMax${o}`
|
|
862
898
|
}, s[29] || (s[29] = [
|
|
863
899
|
a("span", { style: { color: "grey" } }, "ᒪ", -1),
|
|
864
|
-
|
|
900
|
+
I(" max "),
|
|
865
901
|
a("span", { style: { color: "grey" } }, "ᒧ", -1)
|
|
866
902
|
]), 8, Me)
|
|
867
|
-
])) :
|
|
903
|
+
])) : b("", !0),
|
|
868
904
|
e.canResetColumn(o, n) ? (c(), i("button", {
|
|
869
905
|
key: 6,
|
|
870
906
|
onClick: (d) => e.resetFilter(o, n, d),
|
|
871
907
|
disabled: e.isResetDisabled(o, n),
|
|
872
908
|
class: "th-reset"
|
|
873
|
-
}, " ✖ ", 8, Te)) :
|
|
909
|
+
}, " ✖ ", 8, Te)) : b("", !0),
|
|
874
910
|
n.isMultiselect ? (c(), i("div", {
|
|
875
911
|
key: 7,
|
|
876
912
|
class: "th-dropdown",
|
|
@@ -882,8 +918,8 @@ function $t(r, s, l, h, t, e) {
|
|
|
882
918
|
class: "close-dropdown",
|
|
883
919
|
onClick: (d) => e.toggleMultiselect(o, n, d),
|
|
884
920
|
style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color}`)
|
|
885
|
-
}, " ✖ ", 12,
|
|
886
|
-
(c(!0), i(
|
|
921
|
+
}, " ✖ ", 12, Pe),
|
|
922
|
+
(c(!0), i(N, null, C(e.getDropdownOptions(o), (d, y) => (c(), i("span", {
|
|
887
923
|
class: "th-option",
|
|
888
924
|
key: `th_option_${o}_${y}`,
|
|
889
925
|
onClick: (m) => e.selectDropdownOption(d, o),
|
|
@@ -904,27 +940,27 @@ function $t(r, s, l, h, t, e) {
|
|
|
904
940
|
class: "th-icon-red"
|
|
905
941
|
}, u(e.FINAL_CONFIG.style.dropdowns.icons.unselected.unicode), 5)),
|
|
906
942
|
a("span", null, u(d), 1)
|
|
907
|
-
], 44,
|
|
908
|
-
], 12, Ee)) :
|
|
943
|
+
], 44, ze))), 128))
|
|
944
|
+
], 12, Ee)) : b("", !0)
|
|
909
945
|
])
|
|
910
946
|
], 6))), 128))
|
|
911
947
|
])
|
|
912
|
-
], 64)) :
|
|
948
|
+
], 64)) : b("", !0),
|
|
913
949
|
a("tr", null, [
|
|
914
950
|
s[31] || (s[31] = a("th", { class: "invisible-cell" }, null, -1)),
|
|
915
|
-
(c(!0), i(
|
|
951
|
+
(c(!0), i(N, null, C(t.tableHead, (n, o) => (c(), i("th", {
|
|
916
952
|
key: `col_selector_${o}`,
|
|
917
953
|
class: f({ "vue-ui-table-col-selector": !t.hasNaN[o], "th-has-nan": t.hasNaN[o] }),
|
|
918
954
|
style: g(`background:${o === t.selectedColumn && !t.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.backgroundColor : e.FINAL_CONFIG.style.th.backgroundColor};color:${o === t.selectedColumn && !t.hasNaN[o] ? e.FINAL_CONFIG.style.th.selected.color : e.FINAL_CONFIG.style.th.color};outline:${e.FINAL_CONFIG.style.th.outline}`)
|
|
919
955
|
}, [
|
|
920
|
-
t.hasNaN[o] ?
|
|
956
|
+
t.hasNaN[o] ? b("", !0) : (c(), i("div", {
|
|
921
957
|
key: 0,
|
|
922
958
|
innerHTML: t.tableHead[o].type === t.constants.NUMERIC ? e.icons.chevronDown : "",
|
|
923
959
|
class: f({ "col-selector": t.tableHead[o].type === t.constants.NUMERIC }),
|
|
924
960
|
tabindex: "0",
|
|
925
|
-
onClick:
|
|
961
|
+
onClick: O((d) => e.selectColumn(o), ["stop"]),
|
|
926
962
|
onKeyup: w((d) => e.selectColumn(o), ["enter"])
|
|
927
|
-
}, null, 42,
|
|
963
|
+
}, null, 42, Be))
|
|
928
964
|
], 6))), 128))
|
|
929
965
|
])
|
|
930
966
|
]),
|
|
@@ -932,7 +968,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
932
968
|
onClick: s[8] || (s[8] = (...n) => e.closeAllDropdowns && e.closeAllDropdowns(...n)),
|
|
933
969
|
onKeydown: s[9] || (s[9] = (n) => e.navigateCell(n))
|
|
934
970
|
}, [
|
|
935
|
-
(c(!0), i(
|
|
971
|
+
(c(!0), i(N, null, C(e.visibleRows, (n, o) => (c(), i("tr", {
|
|
936
972
|
key: `tbody_${o}`,
|
|
937
973
|
"data-row": o % 2 === 0 ? "odd" : "even",
|
|
938
974
|
class: f(`tr_${t.uid}`),
|
|
@@ -942,7 +978,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
942
978
|
class: "vue-ui-table-td-iteration",
|
|
943
979
|
"data-row": o % 2 === 0 ? "odd" : "even"
|
|
944
980
|
}, u(n.absoluteIndex + 1), 9, Re),
|
|
945
|
-
(c(!0), i(
|
|
981
|
+
(c(!0), i(N, null, C(n.td, (d, y) => (c(), i("td", {
|
|
946
982
|
"data-row": o % 2 === 0 ? "odd" : "even",
|
|
947
983
|
key: `td_${o}_${y}`,
|
|
948
984
|
style: g(e.isNumeric(d) || l.dataset.header[y].type === t.constants.DATE ? "text-align:right;font-variant-numeric: tabular-nums;" : ""),
|
|
@@ -977,8 +1013,8 @@ function $t(r, s, l, h, t, e) {
|
|
|
977
1013
|
key: 0,
|
|
978
1014
|
style: g(`color:${n.meta.color};margin-right:3px`),
|
|
979
1015
|
innerHTML: n.meta.unicodeIcon
|
|
980
|
-
}, null, 12,
|
|
981
|
-
l.dataset.header[y].type === t.constants.DATE ? (c(), i("span",
|
|
1016
|
+
}, null, 12, je)) : b("", !0),
|
|
1017
|
+
l.dataset.header[y].type === t.constants.DATE ? (c(), i("span", Ve, u(l.dataset.header[y].prefix) + " " + u(new Date(d).toLocaleString().slice(0, 10)) + " " + u(l.dataset.header[y].suffix), 1)) : l.dataset.header[y].isPercentage ? (c(), i("span", Xe, u(Number((d * 100).toFixed(l.dataset.header[y].decimals)).toLocaleString()) + "% ", 1)) : t.percentages[y] && l.dataset.header[y].percentageTo && !l.dataset.header[y].isPercentage ? (c(), i("span", {
|
|
982
1018
|
key: 3,
|
|
983
1019
|
class: f({ "td-nan": isNaN(Number(d)) })
|
|
984
1020
|
}, u(l.dataset.header[y].prefix) + " " + u(isNaN(Number(d)) ? `${d} is not ${t.constants.NUMERIC}` : Number(d.toFixed(l.dataset.header[y].decimals)).toLocaleString()) + " " + u(l.dataset.header[y].suffix) + " (" + u(isNaN(Number(d)) ? "" : Number((d / e.getSum(t.percentages[y].referenceIndex) * 100).toFixed(l.dataset.header[y].decimals)).toLocaleString()) + "%) ", 3)) : l.dataset.header[y].type === t.constants.NUMERIC ? (c(), i("span", {
|
|
@@ -986,7 +1022,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
986
1022
|
class: f({ "td-nan": isNaN(Number(d)) })
|
|
987
1023
|
}, u(l.dataset.header[y].prefix) + " " + u(isNaN(Number(d)) ? `${d} is not ${t.constants.NUMERIC}` : Number(d.toFixed(l.dataset.header[y].decimals)).toLocaleString()) + " " + u(l.dataset.header[y].suffix), 3)) : (c(), i("span", We, u(l.dataset.header[y].prefix) + " " + u(d) + " " + u(l.dataset.header[y].suffix), 1))
|
|
988
1024
|
], 46, Ue))), 128))
|
|
989
|
-
], 14,
|
|
1025
|
+
], 14, He))), 128))
|
|
990
1026
|
], 32)
|
|
991
1027
|
])
|
|
992
1028
|
], 4),
|
|
@@ -994,29 +1030,29 @@ function $t(r, s, l, h, t, e) {
|
|
|
994
1030
|
class: f({ "td-selector-info": !0, "td-selector-info--active": t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length }),
|
|
995
1031
|
style: g(`background:${e.FINAL_CONFIG.style.infoBar.backgroundColor};color:${e.FINAL_CONFIG.style.infoBar.color}`)
|
|
996
1032
|
}, [
|
|
997
|
-
t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length ? (c(), i(
|
|
1033
|
+
t.currentSelectionSpan.col !== void 0 && t.currentSelectionSpan.rows.length ? (c(), i(N, { key: 0 }, [
|
|
998
1034
|
a("div", {
|
|
999
1035
|
innerHTML: e.icons.table,
|
|
1000
1036
|
class: "td-selector-icon"
|
|
1001
1037
|
}, null, 8, Ye),
|
|
1002
1038
|
a("span", null, [
|
|
1003
1039
|
a("b", null, [
|
|
1004
|
-
|
|
1005
|
-
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("span",
|
|
1040
|
+
I(u(l.dataset.header[t.currentSelectionSpan.col].name) + " ", 1),
|
|
1041
|
+
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("span", Je, " / " + u(l.dataset.header[t.percentages[t.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0)
|
|
1006
1042
|
]),
|
|
1007
|
-
a("span",
|
|
1008
|
-
|
|
1009
|
-
a("b",
|
|
1043
|
+
a("span", Ke, [
|
|
1044
|
+
I(u(e.FINAL_CONFIG.translations.nb) + " : ", 1),
|
|
1045
|
+
a("b", Ze, u(t.currentSelectionSpan.rows.length), 1)
|
|
1010
1046
|
]),
|
|
1011
|
-
a("span",
|
|
1012
|
-
|
|
1047
|
+
a("span", qe, [
|
|
1048
|
+
I(u(e.FINAL_CONFIG.translations.sum) + " : ", 1),
|
|
1013
1049
|
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", Qe, u(e.selectedCellsCalculations.sumPercentage), 1)) : (c(), i("b", $e, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.selectedCellsCalculations.sumRegular) + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
|
|
1014
|
-
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", et, "%")) :
|
|
1050
|
+
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", et, "%")) : b("", !0)
|
|
1015
1051
|
]),
|
|
1016
1052
|
a("span", tt, [
|
|
1017
|
-
|
|
1053
|
+
I(u(e.FINAL_CONFIG.translations.average) + " : ", 1),
|
|
1018
1054
|
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", st, u(e.selectedCellsCalculations.averagePercentage), 1)) : (c(), i("b", rt, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.selectedCellsCalculations.averageRegular) + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 1)),
|
|
1019
|
-
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", nt, "%")) :
|
|
1055
|
+
l.dataset.header[t.currentSelectionSpan.col].isPercentage ? (c(), i("b", nt, "%")) : b("", !0)
|
|
1020
1056
|
])
|
|
1021
1057
|
]),
|
|
1022
1058
|
a("button", {
|
|
@@ -1024,10 +1060,10 @@ function $t(r, s, l, h, t, e) {
|
|
|
1024
1060
|
class: "td-selector-info-reset",
|
|
1025
1061
|
style: g(`background:${e.FINAL_CONFIG.style.closeButtons.backgroundColor};color:${e.FINAL_CONFIG.style.closeButtons.color};border-radius:${e.FINAL_CONFIG.style.closeButtons.borderRadius}`)
|
|
1026
1062
|
}, " ✖ ", 4)
|
|
1027
|
-
], 64)) :
|
|
1063
|
+
], 64)) : b("", !0)
|
|
1028
1064
|
], 6),
|
|
1029
1065
|
t.bodyCopy.length > 10 ? (c(), i("div", lt, [
|
|
1030
|
-
|
|
1066
|
+
I(u(e.FINAL_CONFIG.translations.totalRows) + " : " + u(l.dataset.body.length) + " | " + u(e.FINAL_CONFIG.translations.paginatorLabel) + " : ", 1),
|
|
1031
1067
|
t.bodyCopy.length > 10 ? v((c(), i("select", {
|
|
1032
1068
|
key: 0,
|
|
1033
1069
|
id: "paginatorSelector",
|
|
@@ -1035,43 +1071,43 @@ function $t(r, s, l, h, t, e) {
|
|
|
1035
1071
|
onChange: s[12] || (s[12] = (...n) => e.resetSelection && e.resetSelection(...n)),
|
|
1036
1072
|
style: g(`background:${e.FINAL_CONFIG.style.inputs.backgroundColor};color:${e.FINAL_CONFIG.style.inputs.color};border:${e.FINAL_CONFIG.style.inputs.border}`)
|
|
1037
1073
|
}, [
|
|
1038
|
-
(c(!0), i(
|
|
1074
|
+
(c(!0), i(N, null, C(t.paginatorOptions, (n, o) => (c(), i(N, null, [
|
|
1039
1075
|
t.bodyCopy.length > n || l.dataset.body.length === n ? (c(), i("option", {
|
|
1040
1076
|
key: `paginator_option_${o}`
|
|
1041
|
-
}, u(n), 1)) :
|
|
1077
|
+
}, u(n), 1)) : b("", !0)
|
|
1042
1078
|
], 64))), 256))
|
|
1043
1079
|
], 36)), [
|
|
1044
1080
|
[
|
|
1045
|
-
|
|
1081
|
+
B,
|
|
1046
1082
|
t.itemsPerPage,
|
|
1047
1083
|
void 0,
|
|
1048
1084
|
{ number: !0 }
|
|
1049
1085
|
]
|
|
1050
|
-
]) :
|
|
1051
|
-
])) :
|
|
1086
|
+
]) : b("", !0)
|
|
1087
|
+
])) : b("", !0),
|
|
1052
1088
|
t.itemsPerPage >= 250 ? (c(), i("div", ot, [
|
|
1053
1089
|
a("span", {
|
|
1054
1090
|
innerHTML: e.icons.warning
|
|
1055
1091
|
}, null, 8, at),
|
|
1056
|
-
|
|
1057
|
-
])) :
|
|
1092
|
+
I(u(e.FINAL_CONFIG.translations.sizeWarning), 1)
|
|
1093
|
+
])) : b("", !0),
|
|
1058
1094
|
e.pages.length > 1 && e.pages.length <= 10 ? (c(), i("div", {
|
|
1059
1095
|
key: 2,
|
|
1060
1096
|
class: "vue-ui-table-navigation-indicator",
|
|
1061
1097
|
style: g(`background:${e.FINAL_CONFIG.style.pagination.navigationIndicator.backgroundColor};width:calc(${t.currentPage / (e.pages.length - 1) * 100}%)`)
|
|
1062
|
-
}, null, 4)) :
|
|
1098
|
+
}, null, 4)) : b("", !0),
|
|
1063
1099
|
e.pages.length > 1 ? (c(), i("div", it, [
|
|
1064
1100
|
a("button", {
|
|
1065
1101
|
class: "vue-ui-table-navigation",
|
|
1066
|
-
onClick: s[13] || (s[13] =
|
|
1102
|
+
onClick: s[13] || (s[13] = O((n) => e.navigate("previous"), ["stop"])),
|
|
1067
1103
|
innerHTML: e.icons.chevronLeft,
|
|
1068
1104
|
disabled: t.currentPage === 0,
|
|
1069
1105
|
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}`)
|
|
1070
1106
|
}, null, 12, ct),
|
|
1071
|
-
e.pages.length > 3 ? (c(), i(
|
|
1107
|
+
e.pages.length > 3 ? (c(), i(N, { key: 0 }, [
|
|
1072
1108
|
a("button", {
|
|
1073
1109
|
class: "vue-ui-table-navigation",
|
|
1074
|
-
onClick: s[14] || (s[14] =
|
|
1110
|
+
onClick: s[14] || (s[14] = O((n) => e.navigate(1), ["stop"])),
|
|
1075
1111
|
disabled: t.currentPage === 0,
|
|
1076
1112
|
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}`)
|
|
1077
1113
|
}, " 1 ", 12, ut),
|
|
@@ -1091,21 +1127,21 @@ function $t(r, s, l, h, t, e) {
|
|
|
1091
1127
|
])) : (c(), i("span", yt, u(e.FINAL_CONFIG.translations.page) + " " + u(t.currentPage + 1) + " / " + u(e.pages.length), 1)),
|
|
1092
1128
|
a("button", {
|
|
1093
1129
|
class: "vue-ui-table-navigation",
|
|
1094
|
-
onClick: s[16] || (s[16] =
|
|
1130
|
+
onClick: s[16] || (s[16] = O((n) => e.navigate(e.pages.length), ["stop"])),
|
|
1095
1131
|
disabled: t.currentPage === e.pages.length - 1,
|
|
1096
1132
|
style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1097
|
-
}, u(e.pages.length), 13,
|
|
1098
|
-
], 64)) : (c(), i(
|
|
1099
|
-
|
|
1133
|
+
}, u(e.pages.length), 13, bt)
|
|
1134
|
+
], 64)) : (c(), i(N, { key: 1 }, [
|
|
1135
|
+
I(u(e.FINAL_CONFIG.translations.page) + " " + u(t.currentPage + 1) + " / " + u(e.pages.length), 1)
|
|
1100
1136
|
], 64)),
|
|
1101
1137
|
a("button", {
|
|
1102
1138
|
class: "vue-ui-table-navigation",
|
|
1103
|
-
onClick: s[17] || (s[17] =
|
|
1139
|
+
onClick: s[17] || (s[17] = O((n) => e.navigate("next"), ["stop"])),
|
|
1104
1140
|
innerHTML: e.icons.chevronRight,
|
|
1105
1141
|
disabled: t.currentPage === e.pages.length - 1,
|
|
1106
1142
|
style: g(`background:${e.FINAL_CONFIG.style.pagination.buttons.backgroundColor};color:${e.FINAL_CONFIG.style.pagination.buttons.color};opacity:${t.currentPage === e.pages.length - 1 ? e.FINAL_CONFIG.style.pagination.buttons.opacityDisabled : 1}`)
|
|
1107
|
-
}, null, 12,
|
|
1108
|
-
])) :
|
|
1143
|
+
}, null, 12, Nt)
|
|
1144
|
+
])) : b("", !0),
|
|
1109
1145
|
t.showChart && e.canChart ? (c(), i("div", {
|
|
1110
1146
|
key: 4,
|
|
1111
1147
|
class: "vue-ui-table-chart-modal",
|
|
@@ -1123,7 +1159,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1123
1159
|
innerHTML: e.icons.donut,
|
|
1124
1160
|
class: f({ "is-active-chart": t.chart.type === t.constants.DONUT || t.showDonutOptions }),
|
|
1125
1161
|
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}`)
|
|
1126
|
-
}, null, 14, ft)) :
|
|
1162
|
+
}, null, 14, ft)) : b("", !0),
|
|
1127
1163
|
a("button", {
|
|
1128
1164
|
onClick: s[20] || (s[20] = (n) => {
|
|
1129
1165
|
t.chart.type = t.constants.LINE, t.showDonutOptions = !1;
|
|
@@ -1139,24 +1175,24 @@ function $t(r, s, l, h, t, e) {
|
|
|
1139
1175
|
innerHTML: e.icons.bar,
|
|
1140
1176
|
class: f({ "is-active-chart": t.chart.type === t.constants.BAR && !t.showDonutOptions }),
|
|
1141
1177
|
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}`)
|
|
1142
|
-
}, null, 14,
|
|
1178
|
+
}, null, 14, Ft)
|
|
1143
1179
|
]),
|
|
1144
|
-
a("div",
|
|
1180
|
+
a("div", It, [
|
|
1145
1181
|
a("b", null, [
|
|
1146
|
-
|
|
1147
|
-
l.dataset.header[t.currentSelectionSpan.col].isPercentage && l.dataset.header[t.currentSelectionSpan.col].percentageTo ? (c(), i("span", _t, " / " + u(l.dataset.header[t.percentages[t.currentSelectionSpan.col].referenceIndex].name), 1)) :
|
|
1148
|
-
t.chart.type === t.constants.DONUT && t.selectedDonutCategory && t.selectedDonutCategory.name ? (c(), i("span", vt, u(e.FINAL_CONFIG.translations.by) + " " + u(t.selectedDonutCategory.name), 1)) :
|
|
1182
|
+
I(u(l.dataset.header[t.currentSelectionSpan.col].name) + " ", 1),
|
|
1183
|
+
l.dataset.header[t.currentSelectionSpan.col].isPercentage && l.dataset.header[t.currentSelectionSpan.col].percentageTo ? (c(), i("span", _t, " / " + u(l.dataset.header[t.percentages[t.currentSelectionSpan.col].referenceIndex].name), 1)) : b("", !0),
|
|
1184
|
+
t.chart.type === t.constants.DONUT && t.selectedDonutCategory && t.selectedDonutCategory.name ? (c(), i("span", vt, u(e.FINAL_CONFIG.translations.by) + " " + u(t.selectedDonutCategory.name), 1)) : b("", !0)
|
|
1149
1185
|
])
|
|
1150
1186
|
]),
|
|
1151
|
-
a("div",
|
|
1187
|
+
a("div", pt, [
|
|
1152
1188
|
t.showDonutOptions && e.availableDonutCategories.length ? (c(), i("div", {
|
|
1153
1189
|
key: 0,
|
|
1154
1190
|
style: g(`background:${e.FINAL_CONFIG.style.chart.modal.backgroundColor};color:${e.FINAL_CONFIG.style.chart.modal.color}`)
|
|
1155
1191
|
}, [
|
|
1156
|
-
a("fieldset",
|
|
1192
|
+
a("fieldset", kt, [
|
|
1157
1193
|
a("legend", null, u(e.FINAL_CONFIG.translations.chooseCategoryColumn), 1),
|
|
1158
1194
|
a("div", wt, [
|
|
1159
|
-
(c(!0), i(
|
|
1195
|
+
(c(!0), i(N, null, C(e.availableDonutCategories, (n, o) => (c(), i("div", {
|
|
1160
1196
|
key: `donut_radio_${o}`,
|
|
1161
1197
|
class: "vue-ui-table-fieldset-option"
|
|
1162
1198
|
}, [
|
|
@@ -1167,10 +1203,10 @@ function $t(r, s, l, h, t, e) {
|
|
|
1167
1203
|
checked: t.selectedDonutCategory && n.name === t.selectedDonutCategory.name,
|
|
1168
1204
|
onInput: (d) => t.selectedDonutCategory = e.availableDonutCategories[o],
|
|
1169
1205
|
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}`)
|
|
1170
|
-
}, null, 44,
|
|
1206
|
+
}, null, 44, Ot),
|
|
1171
1207
|
a("label", {
|
|
1172
1208
|
for: n.name
|
|
1173
|
-
}, u(n.name), 9,
|
|
1209
|
+
}, u(n.name), 9, St)
|
|
1174
1210
|
]))), 128))
|
|
1175
1211
|
]),
|
|
1176
1212
|
a("button", {
|
|
@@ -1183,11 +1219,11 @@ function $t(r, s, l, h, t, e) {
|
|
|
1183
1219
|
style: { "margin-bottom": "-3px" },
|
|
1184
1220
|
innerHTML: e.icons.donut
|
|
1185
1221
|
}, null, 8, At),
|
|
1186
|
-
|
|
1222
|
+
I(" " + u(e.FINAL_CONFIG.translations.makeDonut), 1)
|
|
1187
1223
|
], 12, Lt)
|
|
1188
1224
|
])
|
|
1189
|
-
], 4)) :
|
|
1190
|
-
[t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), i(
|
|
1225
|
+
], 4)) : b("", !0),
|
|
1226
|
+
[t.constants.BAR, t.constants.LINE].includes(t.chart.type) && !t.showDonutOptions ? (c(), i(N, { key: 1 }, [
|
|
1191
1227
|
(c(), i("svg", {
|
|
1192
1228
|
viewBox: `0 0 ${t.chart.width} ${t.chart.height}`,
|
|
1193
1229
|
class: "vue-ui-table-chart-svg",
|
|
@@ -1228,7 +1264,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1228
1264
|
"stroke-linecap": "round"
|
|
1229
1265
|
}, null, 8, Tt)
|
|
1230
1266
|
]),
|
|
1231
|
-
t.chart.type === t.constants.LINE ? (c(!0), i(
|
|
1267
|
+
t.chart.type === t.constants.LINE ? (c(!0), i(N, { key: 0 }, C(e.chartData.plots, (n, o) => (c(), i("g", {
|
|
1232
1268
|
key: `trap_fill_${o}`
|
|
1233
1269
|
}, [
|
|
1234
1270
|
a("rect", {
|
|
@@ -1238,12 +1274,12 @@ function $t(r, s, l, h, t, e) {
|
|
|
1238
1274
|
height: t.chart.height,
|
|
1239
1275
|
fill: t.selectedPlot === o ? "rgba(0,0,0,0.03)" : "transparent"
|
|
1240
1276
|
}, null, 8, Et)
|
|
1241
|
-
]))), 128)) :
|
|
1242
|
-
(c(!0), i(
|
|
1277
|
+
]))), 128)) : b("", !0),
|
|
1278
|
+
(c(!0), i(N, null, C(e.chartData.plots, (n, o) => (c(), i("g", {
|
|
1243
1279
|
key: `plot_${o}`
|
|
1244
1280
|
}, [
|
|
1245
|
-
t.chart.type === t.constants.BAR ? (c(), i(
|
|
1246
|
-
s[32] || (s[32] =
|
|
1281
|
+
t.chart.type === t.constants.BAR ? (c(), i(N, { key: 0 }, [
|
|
1282
|
+
s[32] || (s[32] = H('<linearGradient id="barGradientSelected" x2="0%" y2="100%" data-v-0a2dd5b6><stop offset="0.2" stop-color="#6376DD" data-v-0a2dd5b6></stop><stop offset="1" stop-color="#6376DD80" data-v-0a2dd5b6></stop></linearGradient><linearGradient id="barGradientSelectedNeg" x2="0%" y2="100%" data-v-0a2dd5b6><stop offset="0.2" stop-color="#6376DD80" data-v-0a2dd5b6></stop><stop offset="1" stop-color="#6376DD" data-v-0a2dd5b6></stop></linearGradient><linearGradient id="barGradient" x2="0%" y2="100%" data-v-0a2dd5b6><stop offset="0.2" stop-color="#6376DDB3" data-v-0a2dd5b6></stop><stop offset="1" stop-color="#6376DD66" data-v-0a2dd5b6></stop></linearGradient><linearGradient id="barGradientNeg" x2="0%" y2="100%" data-v-0a2dd5b6><stop offset="0.2" stop-color="#6376DD66" data-v-0a2dd5b6></stop><stop offset="1" stop-color="#6376DDB3" data-v-0a2dd5b6></stop></linearGradient>', 4)),
|
|
1247
1283
|
a("rect", {
|
|
1248
1284
|
x: n.x - e.chartData.slot / 2,
|
|
1249
1285
|
y: e.chartData.isAllNegative ? 0 : e.calcRectY(n.value, n.y),
|
|
@@ -1252,7 +1288,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1252
1288
|
fill: e.FINAL_CONFIG.style.chart.layout.bar.fill ? e.FINAL_CONFIG.style.chart.layout.bar.fill : t.selectedPlot === o ? n.value >= 0 ? "url(#barGradientSelected)" : "url(#barGradientSelectedNeg)" : (n.value >= 0, "url(#barGradient)"),
|
|
1253
1289
|
stroke: e.FINAL_CONFIG.style.chart.layout.bar.stroke,
|
|
1254
1290
|
"stroke-width": "1"
|
|
1255
|
-
}, null, 8,
|
|
1291
|
+
}, null, 8, Pt),
|
|
1256
1292
|
t.selectedPlot === o ? (c(), i("foreignObject", {
|
|
1257
1293
|
key: 0,
|
|
1258
1294
|
x: n.x - (e.chartData.slot < 100 ? 50 : e.chartData.slot / 2),
|
|
@@ -1264,9 +1300,9 @@ function $t(r, s, l, h, t, e) {
|
|
|
1264
1300
|
a("div", {
|
|
1265
1301
|
style: g(`width:100%;text-align:center;font-size:20px;color:${e.FINAL_CONFIG.style.chart.layout.labels.color}`)
|
|
1266
1302
|
}, u(n.prefix) + " " + u(Number(n.value.toFixed(l.dataset.header[t.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + u(n.suffix), 5)
|
|
1267
|
-
], 8,
|
|
1268
|
-
], 64)) :
|
|
1269
|
-
t.chart.type === t.constants.LINE ? (c(), i(
|
|
1303
|
+
], 8, zt)) : b("", !0)
|
|
1304
|
+
], 64)) : b("", !0),
|
|
1305
|
+
t.chart.type === t.constants.LINE ? (c(), i(N, { key: 1 }, [
|
|
1270
1306
|
o + 1 < e.chartData.plots.length ? (c(), i("line", {
|
|
1271
1307
|
key: 0,
|
|
1272
1308
|
x1: n.x,
|
|
@@ -1275,7 +1311,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1275
1311
|
y2: e.chartData.plots[o + 1].y,
|
|
1276
1312
|
"stroke-width": e.FINAL_CONFIG.style.chart.layout.line.strokeWidth,
|
|
1277
1313
|
stroke: e.FINAL_CONFIG.style.chart.layout.line.stroke
|
|
1278
|
-
}, null, 8,
|
|
1314
|
+
}, null, 8, Bt)) : b("", !0),
|
|
1279
1315
|
t.selectedPlot === o ? (c(), i("line", {
|
|
1280
1316
|
key: 1,
|
|
1281
1317
|
x1: n.x,
|
|
@@ -1285,7 +1321,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1285
1321
|
stroke: e.FINAL_CONFIG.style.chart.layout.line.selector.stroke,
|
|
1286
1322
|
"stroke-width": e.FINAL_CONFIG.style.chart.layout.line.selector.strokeWidth,
|
|
1287
1323
|
"stroke-dasharray": e.FINAL_CONFIG.style.chart.layout.line.selector.strokeDasharray
|
|
1288
|
-
}, null, 8,
|
|
1324
|
+
}, null, 8, Ht)) : b("", !0),
|
|
1289
1325
|
a("circle", {
|
|
1290
1326
|
cx: n.x,
|
|
1291
1327
|
cy: n.y,
|
|
@@ -1309,10 +1345,10 @@ function $t(r, s, l, h, t, e) {
|
|
|
1309
1345
|
a("div", {
|
|
1310
1346
|
style: g(`width:100%;text-align:center;font-size:20px;color:${e.FINAL_CONFIG.style.chart.layout.labels.color}`)
|
|
1311
1347
|
}, u(n.prefix) + " " + u(Number(n.value.toFixed(l.dataset.header[t.currentSelectionSpan.col].decimals)).toLocaleString()) + " " + u(n.suffix), 5)
|
|
1312
|
-
], 8, Ut)) :
|
|
1313
|
-
], 64)) :
|
|
1348
|
+
], 8, Ut)) : b("", !0)
|
|
1349
|
+
], 64)) : b("", !0)
|
|
1314
1350
|
]))), 128)),
|
|
1315
|
-
(c(!0), i(
|
|
1351
|
+
(c(!0), i(N, null, C(e.chartData.plots, (n, o) => (c(), i("g", {
|
|
1316
1352
|
key: `trap_${o}`
|
|
1317
1353
|
}, [
|
|
1318
1354
|
a("rect", {
|
|
@@ -1323,7 +1359,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1323
1359
|
fill: "transparent",
|
|
1324
1360
|
onMouseenter: (d) => t.selectedPlot = o,
|
|
1325
1361
|
onMouseleave: s[23] || (s[23] = (d) => t.selectedPlot = void 0)
|
|
1326
|
-
}, null, 40,
|
|
1362
|
+
}, null, 40, jt)
|
|
1327
1363
|
]))), 128)),
|
|
1328
1364
|
e.chartData.progression && e.chartData.plots.length > 2 ? (c(), i("line", {
|
|
1329
1365
|
key: 1,
|
|
@@ -1335,7 +1371,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1335
1371
|
"stroke-width": e.FINAL_CONFIG.style.chart.layout.progression.strokeWidth,
|
|
1336
1372
|
"stroke-dasharray": e.FINAL_CONFIG.style.chart.layout.progression.strokeDasharray,
|
|
1337
1373
|
"marker-end": "url(#arrowhead)"
|
|
1338
|
-
}, null, 8,
|
|
1374
|
+
}, null, 8, Vt)) : b("", !0)
|
|
1339
1375
|
], 12, Dt)),
|
|
1340
1376
|
e.chartData.plots.length >= 2 ? (c(), i("div", {
|
|
1341
1377
|
key: 0,
|
|
@@ -1343,23 +1379,23 @@ function $t(r, s, l, h, t, e) {
|
|
|
1343
1379
|
style: g(`color:${e.FINAL_CONFIG.style.chart.modal.color}`)
|
|
1344
1380
|
}, [
|
|
1345
1381
|
s[33] || (s[33] = a("span", null, "---", -1)),
|
|
1346
|
-
|
|
1347
|
-
], 4)) :
|
|
1348
|
-
], 64)) :
|
|
1349
|
-
[t.constants.DONUT].includes(t.chart.type) && !t.showDonutOptions ? (c(), i(
|
|
1382
|
+
I(" Trend: " + u((e.chartData.progression.trend * 100).toFixed(1)) + " % ", 1)
|
|
1383
|
+
], 4)) : b("", !0)
|
|
1384
|
+
], 64)) : b("", !0),
|
|
1385
|
+
[t.constants.DONUT].includes(t.chart.type) && !t.showDonutOptions ? (c(), i(N, { key: 2 }, [
|
|
1350
1386
|
(c(), i("svg", {
|
|
1351
1387
|
viewBox: "0 0 100 100",
|
|
1352
1388
|
style: g(`max-width:100%; overflow: visible; padding: 0 24px;background:${e.FINAL_CONFIG.style.chart.layout.backgroundColor}`),
|
|
1353
1389
|
class: "vue-ui-table-donut-chart"
|
|
1354
1390
|
}, [
|
|
1355
|
-
(c(!0), i(
|
|
1391
|
+
(c(!0), i(N, null, C(t.currentDonut, (n, o) => (c(), i("path", {
|
|
1356
1392
|
key: `arc_${o}`,
|
|
1357
1393
|
d: n.path,
|
|
1358
1394
|
stroke: `${n.color}CC`,
|
|
1359
1395
|
"stroke-width": 20,
|
|
1360
1396
|
fill: "none"
|
|
1361
1397
|
}, null, 8, Xt))), 128)),
|
|
1362
|
-
(c(!0), i(
|
|
1398
|
+
(c(!0), i(N, null, C(t.currentDonut, (n, o) => (c(), i("foreignObject", {
|
|
1363
1399
|
key: `text_marker_${o}`,
|
|
1364
1400
|
x: e.calcDonutMarkerLabelPositionX(n) - 15,
|
|
1365
1401
|
y: n.center.endY - 15,
|
|
@@ -1374,7 +1410,7 @@ function $t(r, s, l, h, t, e) {
|
|
|
1374
1410
|
}, [
|
|
1375
1411
|
a("b", null, u(e.displayArcPercentage(n, t.currentDonut)), 1),
|
|
1376
1412
|
a("span", Yt, u(n.name), 1)
|
|
1377
|
-
], 4)) :
|
|
1413
|
+
], 4)) : b("", !0)
|
|
1378
1414
|
], 8, Wt))), 128)),
|
|
1379
1415
|
a("text", {
|
|
1380
1416
|
x: 50,
|
|
@@ -1382,31 +1418,31 @@ function $t(r, s, l, h, t, e) {
|
|
|
1382
1418
|
"text-anchor": "middle",
|
|
1383
1419
|
"font-size": "6",
|
|
1384
1420
|
fill: e.FINAL_CONFIG.style.chart.layout.labels.color
|
|
1385
|
-
}, u(e.FINAL_CONFIG.translations.total), 9,
|
|
1421
|
+
}, u(e.FINAL_CONFIG.translations.total), 9, Jt),
|
|
1386
1422
|
a("text", {
|
|
1387
1423
|
x: 50,
|
|
1388
1424
|
y: 48,
|
|
1389
1425
|
"text-anchor": "middle",
|
|
1390
1426
|
"font-size": "4",
|
|
1391
1427
|
fill: e.FINAL_CONFIG.style.chart.layout.labels.color
|
|
1392
|
-
}, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.donutHollowLabels.total) + " " + u(l.dataset.header[t.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 9,
|
|
1428
|
+
}, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.donutHollowLabels.total) + " " + u(l.dataset.header[t.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 9, Kt),
|
|
1393
1429
|
a("text", {
|
|
1394
1430
|
x: 50,
|
|
1395
1431
|
y: 56,
|
|
1396
1432
|
"text-anchor": "middle",
|
|
1397
1433
|
"font-size": "6",
|
|
1398
1434
|
fill: e.FINAL_CONFIG.style.chart.layout.labels.color
|
|
1399
|
-
}, u(e.FINAL_CONFIG.translations.average), 9,
|
|
1435
|
+
}, u(e.FINAL_CONFIG.translations.average), 9, Zt),
|
|
1400
1436
|
a("text", {
|
|
1401
1437
|
x: 50,
|
|
1402
1438
|
y: 62,
|
|
1403
1439
|
"text-anchor": "middle",
|
|
1404
1440
|
"font-size": "4",
|
|
1405
1441
|
fill: e.FINAL_CONFIG.style.chart.layout.labels.color
|
|
1406
|
-
}, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.donutHollowLabels.average) + " " + u(l.dataset.header[t.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 9,
|
|
1442
|
+
}, u(l.dataset.header[t.currentSelectionSpan.col].prefix) + " " + u(e.donutHollowLabels.average) + " " + u(l.dataset.header[t.currentSelectionSpan.col].isPercentage ? "%" : "") + " " + u(l.dataset.header[t.currentSelectionSpan.col].suffix), 9, qt)
|
|
1407
1443
|
], 4)),
|
|
1408
1444
|
a("div", Qt, [
|
|
1409
|
-
(c(!0), i(
|
|
1445
|
+
(c(!0), i(N, null, C(t.currentDonut.filter((n) => n.value > 0), (n, o) => (c(), i("div", {
|
|
1410
1446
|
class: "vue-ui-table-donut-legend-item",
|
|
1411
1447
|
key: `donut_legend_${o}`,
|
|
1412
1448
|
style: g(`color:${e.FINAL_CONFIG.style.chart.layout.labels.color}`)
|
|
@@ -1419,12 +1455,12 @@ function $t(r, s, l, h, t, e) {
|
|
|
1419
1455
|
a("span", null, "(" + u((n.proportion * 100).toFixed(1)) + "%)", 1)
|
|
1420
1456
|
], 4))), 128))
|
|
1421
1457
|
])
|
|
1422
|
-
], 64)) :
|
|
1458
|
+
], 64)) : b("", !0)
|
|
1423
1459
|
], 512)
|
|
1424
|
-
], 4)) :
|
|
1460
|
+
], 4)) : b("", !0)
|
|
1425
1461
|
], 4);
|
|
1426
1462
|
}
|
|
1427
|
-
const rs = /* @__PURE__ */ R(U, [["render", $t], ["__scopeId", "data-v-
|
|
1463
|
+
const rs = /* @__PURE__ */ R(U, [["render", $t], ["__scopeId", "data-v-0a2dd5b6"]]);
|
|
1428
1464
|
export {
|
|
1429
1465
|
rs as default
|
|
1430
1466
|
};
|