vue-data-ui 2.4.29 → 2.4.30
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-CJaPEl57.cjs → Arrow-C1JInH5c.cjs} +1 -1
- package/dist/{Arrow-Dqyp5GAK.js → Arrow-CD2z9Tg-.js} +1 -1
- package/dist/{BaseIcon-Cj4AKAX5.js → BaseIcon-DhtLFdWL.js} +1 -1
- package/dist/{BaseIcon-L_VpASvP.cjs → BaseIcon-mllLG7DC.cjs} +1 -1
- package/dist/{DataTable-B8u1JZ35.cjs → DataTable-CFqyTcn8.cjs} +1 -1
- package/dist/{DataTable-890wzUwO.js → DataTable-D2HIFrne.js} +2 -2
- package/dist/{Legend-BcFUhMZr.js → Legend-avxhO8XI.js} +1 -1
- package/dist/{Legend-CZ-8BRXa.cjs → Legend-pgTgfe5J.cjs} +1 -1
- package/dist/{PackageVersion-CAJEb095.cjs → PackageVersion-B9X8pKiF.cjs} +1 -1
- package/dist/{PackageVersion-l8cP1xk_.js → PackageVersion-Dyd8i_Pz.js} +1 -1
- package/dist/{PenAndPaper-BQmXv2j1.js → PenAndPaper-C8wp4vgv.js} +3 -3
- package/dist/{PenAndPaper-C7NQY0_4.cjs → PenAndPaper-oAikdUUx.cjs} +1 -1
- package/dist/{Shape-DDIE92F9.js → Shape-85jCQ5i0.js} +1 -1
- package/dist/{Shape-mXc0zYlf.cjs → Shape-DbpDY-Pa.cjs} +1 -1
- package/dist/{Slicer-CvKEuREE.cjs → Slicer-Cat5TU9p.cjs} +1 -1
- package/dist/{Slicer-DfKamC9i.js → Slicer-CyNERdvt.js} +2 -2
- package/dist/{Title-BywdgXhe.js → Title-Cj4gbeoE.js} +1 -1
- package/dist/{Title-BKhlGk4w.cjs → Title-DvefE4KM.cjs} +1 -1
- package/dist/{Tooltip-9kOCq8et.cjs → Tooltip-BSs2B4GJ.cjs} +1 -1
- package/dist/{Tooltip-BAQNj3kj.js → Tooltip-T84O8ozr.js} +1 -1
- package/dist/index-C8hC7bb2.cjs +9 -0
- package/dist/{index-Dn3pdfRl.js → index-CA5O1q_K.js} +2 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useNestedProp-4PpJFf4W.js → useNestedProp-1Z2CRcD3.js} +1 -1
- package/dist/{useNestedProp-D1nxSEMh.cjs → useNestedProp-Dv37rqyp.cjs} +1 -1
- package/dist/{usePrinter-Ce1Eqrsv.cjs → usePrinter-B9bLOCNs.cjs} +1 -1
- package/dist/{usePrinter-B30yk6hy.js → usePrinter-BegBRA7j.js} +1 -1
- package/dist/{vue-data-ui-D1U3esTa.js → vue-data-ui-CAQKItKc.js} +60 -60
- package/dist/{vue-data-ui-BZro1_eZ.cjs → vue-data-ui-iUN-EQg5.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DbEPbRfd.js → vue-ui-3d-bar-C0ijUHyE.js} +9 -9
- package/dist/{vue-ui-3d-bar-Bnv2gQcM.cjs → vue-ui-3d-bar-COfvjBJt.cjs} +1 -1
- package/dist/{vue-ui-accordion-Kif3P4R6.js → vue-ui-accordion-B7npnyxi.js} +3 -3
- package/dist/{vue-ui-accordion-C60hK7mr.cjs → vue-ui-accordion-C2Jw7_0r.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DlKmI3jo.js → vue-ui-age-pyramid-B5yXBmZT.js} +10 -10
- package/dist/{vue-ui-age-pyramid-n_oej0jv.cjs → vue-ui-age-pyramid-BDTNgsVs.cjs} +1 -1
- package/dist/{vue-ui-annotator-BOAMSkfv.js → vue-ui-annotator-Ci0cJcgH.js} +1 -1
- package/dist/{vue-ui-annotator-tllmGjh0.cjs → vue-ui-annotator-DjHdhDHb.cjs} +1 -1
- package/dist/{vue-ui-bullet-CGy4VtpA.cjs → vue-ui-bullet-Dvbuu8O_.cjs} +1 -1
- package/dist/{vue-ui-bullet-CFov7O-9.js → vue-ui-bullet-c-8QCDuz.js} +8 -8
- package/dist/{vue-ui-candlestick-DQZuKQCr.js → vue-ui-candlestick-D7N9jN_g.js} +11 -11
- package/dist/{vue-ui-candlestick-3bI0do-j.cjs → vue-ui-candlestick-R1-xDGG-.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BAirF8gs.js → vue-ui-carousel-table-B0fuhevg.js} +4 -4
- package/dist/{vue-ui-carousel-table-DFGnos89.cjs → vue-ui-carousel-table-DOog0eOZ.cjs} +1 -1
- package/dist/{vue-ui-chestnut-D1ZQ-OG9.cjs → vue-ui-chestnut-92CmPZQu.cjs} +1 -1
- package/dist/{vue-ui-chestnut-Dx9UAGpb.js → vue-ui-chestnut-DHnrTpBO.js} +8 -8
- package/dist/{vue-ui-cursor-g1ycpuy2.cjs → vue-ui-cursor-Dmz0Oe6_.cjs} +1 -1
- package/dist/{vue-ui-cursor-CN5J-waW.js → vue-ui-cursor-DsXhTl5Y.js} +2 -2
- package/dist/{vue-ui-dashboard-B1gtRHRL.cjs → vue-ui-dashboard-C4uwjBox.cjs} +1 -1
- package/dist/{vue-ui-dashboard-GpCWssPC.js → vue-ui-dashboard-Daajlgkj.js} +2 -2
- package/dist/{vue-ui-digits-p_ptAkvZ.cjs → vue-ui-digits-BmMjjI2C.cjs} +1 -1
- package/dist/{vue-ui-digits-BBOMHufx.js → vue-ui-digits-a6xrjQ-9.js} +2 -2
- package/dist/{vue-ui-donut-BNVCyjKX.js → vue-ui-donut-CN-Hvmzq.js} +11 -11
- package/dist/{vue-ui-donut-D0kkeO3G.cjs → vue-ui-donut-Dgo6346x.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-q0SlRGnd.js → vue-ui-donut-evolution-DDfYhRHm.js} +11 -11
- package/dist/{vue-ui-donut-evolution-C_JxpFmO.cjs → vue-ui-donut-evolution-DGnSMwsW.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-Bt5-VaRj.js → vue-ui-dumbbell-Con4ggQx.js} +10 -10
- package/dist/{vue-ui-dumbbell-CizvbJxV.cjs → vue-ui-dumbbell-_3XlWdxd.cjs} +1 -1
- package/dist/{vue-ui-flow-CuwqRhB8.cjs → vue-ui-flow-KY0HZ4Gy.cjs} +1 -1
- package/dist/{vue-ui-flow-CbnGUb6g.js → vue-ui-flow-wxlspXc8.js} +9 -9
- package/dist/{vue-ui-funnel-Dt1UF_n8.js → vue-ui-funnel-Bx0jkqtl.js} +8 -8
- package/dist/{vue-ui-funnel-BjeYNKSD.cjs → vue-ui-funnel-DIumLTLK.cjs} +1 -1
- package/dist/{vue-ui-galaxy-DqY11JVP.cjs → vue-ui-galaxy-BfL44IiF.cjs} +1 -1
- package/dist/{vue-ui-galaxy-HjeNZqFd.js → vue-ui-galaxy-rjvwQX41.js} +11 -11
- package/dist/{vue-ui-gauge-DuX82FZ8.cjs → vue-ui-gauge-V3LNWOSj.cjs} +1 -1
- package/dist/{vue-ui-gauge-DWEWReUL.js → vue-ui-gauge-lTlx6O9_.js} +7 -7
- package/dist/{vue-ui-gizmo-DgwyRbmK.js → vue-ui-gizmo-D5FeSwxI.js} +3 -3
- package/dist/{vue-ui-gizmo-CfZKL9B3.cjs → vue-ui-gizmo-DXeWCiC7.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BiLl2CVj.cjs → vue-ui-heatmap-BCdiFGA3.cjs} +1 -1
- package/dist/{vue-ui-heatmap-Db4oXgPT.js → vue-ui-heatmap-Dpys2OIy.js} +10 -10
- package/dist/{vue-ui-history-plot-r4gldFV4.cjs → vue-ui-history-plot-BfAFVNMu.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DdM_xyN-.js → vue-ui-history-plot-BkNgHWMo.js} +11 -11
- package/dist/{vue-ui-kpi-PQZZJYDC.cjs → vue-ui-kpi-BcZ3e-UJ.cjs} +1 -1
- package/dist/{vue-ui-kpi-DVk-6rgZ.js → vue-ui-kpi-Cu_DFE58.js} +3 -3
- package/dist/{vue-ui-mini-loader-C-1HhotA.js → vue-ui-mini-loader-Bc1mEZRk.js} +2 -2
- package/dist/{vue-ui-mini-loader-BguKIWUM.cjs → vue-ui-mini-loader-DX9eBQLd.cjs} +1 -1
- package/dist/{vue-ui-molecule-C5IW91eh.cjs → vue-ui-molecule-DizIwNsN.cjs} +1 -1
- package/dist/{vue-ui-molecule-C3-b4O1c.js → vue-ui-molecule-RQ7DnbBA.js} +11 -11
- package/dist/{vue-ui-mood-radar-Be5ZX-3A.cjs → vue-ui-mood-radar-DmpE1OcB.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-CIFAU8ZL.js → vue-ui-mood-radar-vXQjUb2N.js} +11 -11
- package/dist/{vue-ui-nested-donuts-BMfXZnbP.js → vue-ui-nested-donuts-3V05WHfb.js} +11 -11
- package/dist/{vue-ui-nested-donuts-qPCWQZ-O.cjs → vue-ui-nested-donuts-DkWeSi8F.cjs} +1 -1
- package/dist/{vue-ui-onion-BYb9C71Z.js → vue-ui-onion-B5cCbDcm.js} +11 -11
- package/dist/{vue-ui-onion-VxFi2ks0.cjs → vue-ui-onion-DLRhdjGT.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-DCr5-rDf.cjs → vue-ui-parallel-coordinate-plot-CLI4Ks8L.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Cb9FldzV.js → vue-ui-parallel-coordinate-plot-DH7inXdV.js} +12 -12
- package/dist/{vue-ui-quadrant-DQtnGj-K.cjs → vue-ui-quadrant-B8ip8oOh.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CqcCNkM5.js → vue-ui-quadrant-CCymaN8B.js} +12 -12
- package/dist/{vue-ui-quick-chart-DrNO1HMz.cjs → vue-ui-quick-chart-Bb1aEgcM.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BajbQL6L.js → vue-ui-quick-chart-JUOHXrfR.js} +9 -9
- package/dist/{vue-ui-radar-BzXsHZQa.js → vue-ui-radar-BfHGqfki.js} +12 -12
- package/dist/{vue-ui-radar-BaVXR6hX.cjs → vue-ui-radar-CuvI1qIA.cjs} +1 -1
- package/dist/{vue-ui-rating-ClvtmPqr.js → vue-ui-rating-BfH3_PCv.js} +2 -2
- package/dist/{vue-ui-rating-BY7aZgGM.cjs → vue-ui-rating-DInI13cU.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-Cb-A1Z76.js → vue-ui-relation-circle-CIr8Hrbf.js} +7 -7
- package/dist/{vue-ui-relation-circle-CKKRkyfD.cjs → vue-ui-relation-circle-CdgXvm2W.cjs} +1 -1
- package/dist/{vue-ui-rings-Ca6_39LM.cjs → vue-ui-rings-DRDSLp_E.cjs} +1 -1
- package/dist/{vue-ui-rings-DfUl1eEm.js → vue-ui-rings-RmS4dIPv.js} +11 -11
- package/dist/{vue-ui-scatter-BgYRu9iX.js → vue-ui-scatter-B7tHbxzv.js} +12 -12
- package/dist/{vue-ui-scatter-CWwReAZc.cjs → vue-ui-scatter-B_EFf4Il.cjs} +1 -1
- package/dist/{vue-ui-screenshot-a0S7L3OP.cjs → vue-ui-screenshot-BZ3WpyIB.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DrvbNgdw.js → vue-ui-screenshot-Bc04rNOg.js} +1 -1
- package/dist/{vue-ui-skeleton-DIz77G84.js → vue-ui-skeleton-B7J2yMKB.js} +3 -3
- package/dist/{vue-ui-skeleton-DiQ05fZb.cjs → vue-ui-skeleton-CoYx8g2U.cjs} +1 -1
- package/dist/{vue-ui-smiley-BsBJ3BtY.js → vue-ui-smiley-CcopqUrY.js} +2 -2
- package/dist/{vue-ui-smiley-CRyFSlsb.cjs → vue-ui-smiley-D4im-772.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-BQRJxX6t.cjs → vue-ui-spark-trend-Cm8i1ssl.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-oA-WF8nv.js → vue-ui-spark-trend-DyVlu_rp.js} +5 -5
- package/dist/{vue-ui-sparkbar-BRu4D6pe.js → vue-ui-sparkbar-9i-tTNlo.js} +4 -4
- package/dist/{vue-ui-sparkbar-B6RUPaIt.cjs → vue-ui-sparkbar-DOHPgJ-s.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-B7J41FTw.cjs → vue-ui-sparkgauge-DaIZDKVf.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BAX4nyLI.js → vue-ui-sparkgauge-Dgd30yg2.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DSSG_X7h.js → vue-ui-sparkhistogram-DQ7IZGcl.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-9B-IAoze.cjs → vue-ui-sparkhistogram-DyieYAjK.cjs} +1 -1
- package/dist/{vue-ui-sparkline-CsFduQ9A.cjs → vue-ui-sparkline-DFZXBUiw.cjs} +1 -1
- package/dist/{vue-ui-sparkline-Jqr6rgBz.js → vue-ui-sparkline-IQqmF2b3.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-9yZ2KFdi.js → vue-ui-sparkstackbar-DI6Q6LLs.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-DCmMv-s4.cjs → vue-ui-sparkstackbar-DRkogPx7.cjs} +1 -1
- package/dist/{vue-ui-stackbar-BtP2idk2.cjs → vue-ui-stackbar-C9jaa3sx.cjs} +1 -1
- package/dist/{vue-ui-stackbar-DKwPElje.js → vue-ui-stackbar-DuMWMIsb.js} +12 -12
- package/dist/{vue-ui-strip-plot-ameU0gKo.cjs → vue-ui-strip-plot-CX6E9-SH.cjs} +1 -1
- package/dist/{vue-ui-strip-plot-DNbahgb3.js → vue-ui-strip-plot-hN_eWAYk.js} +11 -11
- package/dist/{vue-ui-table-DMCPWN0i.cjs → vue-ui-table-cJs41gfD.cjs} +1 -1
- package/dist/{vue-ui-table-S1ifImft.js → vue-ui-table-gjhYkFgu.js} +1 -1
- package/dist/{vue-ui-table-heatmap-DHWLaqQP.cjs → vue-ui-table-heatmap-C4pnujLB.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-tTM3kvZ4.js → vue-ui-table-heatmap-CLqstt5Y.js} +4 -4
- package/dist/vue-ui-table-sparkline--Z8aMfMT.cjs +1 -0
- package/dist/{vue-ui-table-sparkline-Dwtd4WwM.js → vue-ui-table-sparkline-CCldQeDk.js} +171 -166
- package/dist/{vue-ui-thermometer-C1UsLQKt.cjs → vue-ui-thermometer-CB6bQuHD.cjs} +1 -1
- package/dist/{vue-ui-thermometer-B0pzTcip.js → vue-ui-thermometer-WqkK_Qwq.js} +7 -7
- package/dist/{vue-ui-timer-Dal_M_aK.cjs → vue-ui-timer-BdznIcsH.cjs} +1 -1
- package/dist/{vue-ui-timer-CbzjRQBu.js → vue-ui-timer-DDrYwcMr.js} +5 -5
- package/dist/{vue-ui-tiremarks-CWhGohgo.js → vue-ui-tiremarks-B3RR46OP.js} +7 -7
- package/dist/{vue-ui-tiremarks-DVF2NwGV.cjs → vue-ui-tiremarks-B3uR2KMW.cjs} +1 -1
- package/dist/{vue-ui-treemap-BgHigSOp.js → vue-ui-treemap-AHeZLovv.js} +11 -11
- package/dist/{vue-ui-treemap-B0GDxaVs.cjs → vue-ui-treemap-P5o4X0mH.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CRW_0eZx.js → vue-ui-vertical-bar-BsW4y0V9.js} +11 -11
- package/dist/{vue-ui-vertical-bar-BY0RAdvk.cjs → vue-ui-vertical-bar-CrkE4hdH.cjs} +1 -1
- package/dist/{vue-ui-waffle-se3jSu6Y.js → vue-ui-waffle-CZmPj6Q2.js} +11 -11
- package/dist/{vue-ui-waffle-CfZGmyjz.cjs → vue-ui-waffle-DdFvlJGb.cjs} +1 -1
- package/dist/{vue-ui-wheel-BMoGSuuC.js → vue-ui-wheel-C6kSNE6g.js} +7 -7
- package/dist/{vue-ui-wheel-kY_3RH-f.cjs → vue-ui-wheel-dj1Arz4A.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-C-jGBCb8.js → vue-ui-word-cloud-CM7AobHC.js} +10 -10
- package/dist/{vue-ui-word-cloud-DxmSmaFe.cjs → vue-ui-word-cloud-DntzuEYb.cjs} +1 -1
- package/dist/{vue-ui-xy-Bqage3ZL.cjs → vue-ui-xy-C9UifOn1.cjs} +1 -1
- package/dist/{vue-ui-xy-DnAo1Bgn.js → vue-ui-xy-Xe2hRyTU.js} +14 -14
- package/dist/{vue-ui-xy-canvas-DFfkVqcA.cjs → vue-ui-xy-canvas-DQtAkK_R.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BAU6o-LN.js → vue-ui-xy-canvas-ptIXUQE7.js} +11 -11
- package/package.json +1 -1
- package/dist/index-C0ejMiHl.cjs +0 -9
- package/dist/vue-ui-table-sparkline-MYLLyYas.cjs +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { u as
|
|
7
|
-
import { _ as
|
|
8
|
-
const
|
|
1
|
+
import { useCssVars as ce, ref as d, computed as h, watch as Y, onMounted as fe, openBlock as u, createElementBlock as r, normalizeClass as T, createElementVNode as c, normalizeStyle as i, toDisplayString as b, createCommentVNode as p, Fragment as M, renderList as V, createBlock as E, unref as v, createSlots as pe, withCtx as A, renderSlot as C, normalizeProps as be, guardReactiveProps as me, nextTick as ge } from "vue";
|
|
2
|
+
import { u as he, c as ye, t as _e, a as ke, p as $, b as xe, o as Ce, e as Z, g as Ie, d as we, $ as Se, i as P, f as z, q as Ae, r as $e } from "./index-CA5O1q_K.js";
|
|
3
|
+
import { u as j } from "./useNestedProp-1Z2CRcD3.js";
|
|
4
|
+
import Pe from "./vue-ui-sparkline-IQqmF2b3.js";
|
|
5
|
+
import ze from "./BaseIcon-DhtLFdWL.js";
|
|
6
|
+
import { u as Fe, U as Oe } from "./usePrinter-BegBRA7j.js";
|
|
7
|
+
import { _ as Ne } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
+
const We = ["id"], De = { style: { "z-index": "1", "padding-right": "24px" } }, Te = ["onClick"], Me = { style: { display: "flex", "flex-direction": "row", gap: "3px", "align-items": "center" } }, Ve = ["data-cell"], Ee = {
|
|
9
9
|
dir: "auto",
|
|
10
10
|
style: { display: "flex", "flex-direction": "row", "align-items": "center", gap: "6px" }
|
|
11
|
-
},
|
|
11
|
+
}, Ge = ["data-cell", "onPointerenter"], Le = ["data-cell"], Be = ["data-cell"], Re = ["data-cell"], Ue = ["data-cell"], He = {
|
|
12
12
|
key: 0,
|
|
13
13
|
ref: "source",
|
|
14
14
|
dir: "auto"
|
|
15
|
-
},
|
|
15
|
+
}, qe = {
|
|
16
16
|
__name: "vue-ui-table-sparkline",
|
|
17
17
|
props: {
|
|
18
18
|
config: {
|
|
@@ -28,70 +28,70 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
},
|
|
31
|
-
setup(
|
|
32
|
-
const
|
|
33
|
-
|
|
34
|
-
"
|
|
31
|
+
setup(ee, { expose: te }) {
|
|
32
|
+
const m = ee;
|
|
33
|
+
ce((t) => ({
|
|
34
|
+
"156bc996": t.tdo
|
|
35
35
|
}));
|
|
36
|
-
const { vue_ui_table_sparkline:
|
|
37
|
-
get: () =>
|
|
36
|
+
const { vue_ui_table_sparkline: ae } = he(), F = d(ye()), G = d(0), I = d(0), O = d(null), e = h({
|
|
37
|
+
get: () => L(),
|
|
38
38
|
set: (t) => t
|
|
39
39
|
});
|
|
40
|
-
function
|
|
41
|
-
const t =
|
|
42
|
-
userConfig:
|
|
43
|
-
defaultConfig:
|
|
40
|
+
function L() {
|
|
41
|
+
const t = j({
|
|
42
|
+
userConfig: m.config,
|
|
43
|
+
defaultConfig: ae
|
|
44
44
|
});
|
|
45
45
|
return t.theme ? {
|
|
46
|
-
...
|
|
47
|
-
userConfig:
|
|
46
|
+
...j({
|
|
47
|
+
userConfig: _e.vue_ui_table_sparkline[t.theme] || m.config,
|
|
48
48
|
defaultConfig: t
|
|
49
49
|
}),
|
|
50
|
-
customPalette:
|
|
50
|
+
customPalette: ke[t.theme] || $
|
|
51
51
|
} : t;
|
|
52
52
|
}
|
|
53
|
-
|
|
54
|
-
e.value =
|
|
55
|
-
}, { deep: !0 }),
|
|
56
|
-
|
|
53
|
+
Y(() => m.config, (t) => {
|
|
54
|
+
e.value = L(), X(), I.value += 1;
|
|
55
|
+
}, { deep: !0 }), Y(() => m.dataset, (t) => {
|
|
56
|
+
k.value = y.value, I.value += 1;
|
|
57
57
|
}, { deep: !0 });
|
|
58
|
-
const { isPrinting:
|
|
58
|
+
const { isPrinting: B, isImaging: R, generatePdf: U, generateImage: H } = Fe({
|
|
59
59
|
elementId: `table_${F.value}`,
|
|
60
60
|
fileName: e.value.title.text || "vue-ui-table-sparkline"
|
|
61
|
-
}),
|
|
62
|
-
|
|
63
|
-
|
|
61
|
+
}), le = h(() => xe(e.value.customPalette)), w = d(null), q = d(!1), oe = h(() => e.value.responsiveBreakpoint);
|
|
62
|
+
fe(() => {
|
|
63
|
+
X();
|
|
64
64
|
});
|
|
65
|
-
function
|
|
66
|
-
|
|
65
|
+
function X() {
|
|
66
|
+
Ce(m.dataset) && Z({
|
|
67
67
|
componentName: "VueUiTableSparkline",
|
|
68
68
|
type: "dataset"
|
|
69
69
|
});
|
|
70
|
-
const t = new ResizeObserver((
|
|
71
|
-
|
|
72
|
-
|
|
70
|
+
const t = new ResizeObserver((s) => {
|
|
71
|
+
s.forEach((a) => {
|
|
72
|
+
q.value = a.contentRect.width < oe.value;
|
|
73
73
|
});
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
w.value && t.observe(w.value);
|
|
76
76
|
}
|
|
77
|
-
const
|
|
78
|
-
|
|
77
|
+
const J = h(() => (m.dataset.forEach((t, s) => {
|
|
78
|
+
Ie({
|
|
79
79
|
datasetObject: t,
|
|
80
80
|
requiredAttributes: ["name", "values"]
|
|
81
81
|
}).forEach((a) => {
|
|
82
|
-
|
|
82
|
+
Z({
|
|
83
83
|
componentName: "VueUiTableSparkline",
|
|
84
84
|
type: "datasetSerieAttribute",
|
|
85
85
|
property: a,
|
|
86
|
-
index:
|
|
86
|
+
index: s
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
|
-
}),
|
|
89
|
+
}), m.dataset.map((t, s) => {
|
|
90
90
|
const a = (t.values || []).map((n) => isNaN(n) ? 0 : n ?? 0), o = a.reduce((n, l) => n + l, 0);
|
|
91
91
|
return {
|
|
92
92
|
...t,
|
|
93
93
|
values: t.values || [],
|
|
94
|
-
color:
|
|
94
|
+
color: we(t.color) || le.value[s] || $[s] || $[s % $.length],
|
|
95
95
|
sum: o,
|
|
96
96
|
average: o / a.length,
|
|
97
97
|
median: Se(a),
|
|
@@ -101,7 +101,7 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
101
101
|
}))
|
|
102
102
|
};
|
|
103
103
|
})));
|
|
104
|
-
function
|
|
104
|
+
function ne(t) {
|
|
105
105
|
const a = (t[0].values || []).map(
|
|
106
106
|
(n, l) => t.map((f) => f.values[l] || [])
|
|
107
107
|
).map(
|
|
@@ -113,159 +113,159 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
113
113
|
orders: a[l]
|
|
114
114
|
}));
|
|
115
115
|
}
|
|
116
|
-
const y = h(() =>
|
|
116
|
+
const y = h(() => ne(J.value)), k = d(y.value), se = h(() => Math.max(...k.value.map((t) => (t.values || []).length))), S = d(void 0), N = d(!1), W = d(void 0), D = d(-1);
|
|
117
117
|
function ue() {
|
|
118
|
-
|
|
118
|
+
N.value = !1, W.value = void 0, D.value = -1, k.value = y.value;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
|
|
122
|
-
const
|
|
123
|
-
|
|
124
|
-
const n =
|
|
125
|
-
|
|
120
|
+
function re(t) {
|
|
121
|
+
N.value = !0, W.value = t;
|
|
122
|
+
const s = y.value.map((l) => l.values[t] || []), a = S.value === t ? 1 : -1;
|
|
123
|
+
D.value = a, t === S.value ? S.value = void 0 : S.value = t;
|
|
124
|
+
const n = s.map((l, f) => [f, l]).sort((l, f) => a * (f[1] - l[1])).map((l) => l[0]).map((l) => y.value[l]);
|
|
125
|
+
k.value = n, I.value += 1;
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const ie = h(() => Math.max(...m.dataset.map((t) => (t.values || []).length))), _ = h(() => {
|
|
128
128
|
let t = e.value.colNames;
|
|
129
129
|
if (!t.length)
|
|
130
|
-
for (let a = 0; a <
|
|
130
|
+
for (let a = 0; a < ie.value; a += 1)
|
|
131
131
|
t.push(`col ${a + 1}`);
|
|
132
132
|
e.value.showTotal && (t = [...t, e.value.translations.total]);
|
|
133
|
-
let
|
|
134
|
-
return e.value.showAverage && e.value.showMedian ?
|
|
133
|
+
let s;
|
|
134
|
+
return e.value.showAverage && e.value.showMedian ? s = [
|
|
135
135
|
...t,
|
|
136
136
|
e.value.translations.average,
|
|
137
137
|
e.value.translations.median
|
|
138
|
-
] : e.value.showAverage && !e.value.showMedian ?
|
|
139
|
-
}), g =
|
|
140
|
-
function
|
|
141
|
-
g.value = t,
|
|
138
|
+
] : e.value.showAverage && !e.value.showMedian ? s = [...t, e.value.translations.average] : !e.value.showAverage && e.value.showMedian ? s = [...t, e.value.translations.median] : s = t, e.value.showSparklines ? [...s, e.value.translations.chart] : s;
|
|
139
|
+
}), g = d(void 0), x = d(void 0);
|
|
140
|
+
function de({ dataIndex: t, serieIndex: s }) {
|
|
141
|
+
g.value = t, x.value = s, O.value[t] && O.value[t].scrollIntoView({ behavior: "smooth", block: "nearest", inline: "center" });
|
|
142
142
|
}
|
|
143
|
-
const
|
|
144
|
-
function
|
|
145
|
-
|
|
143
|
+
const K = d(!1);
|
|
144
|
+
function ve(t) {
|
|
145
|
+
K.value = t, G.value += 1;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
|
|
149
|
-
const t = [e.value.translations.serie].concat(
|
|
147
|
+
function Q() {
|
|
148
|
+
ge(() => {
|
|
149
|
+
const t = [e.value.translations.serie].concat(_.value), s = J.value.map((n, l) => [
|
|
150
150
|
[n.name],
|
|
151
151
|
n.values,
|
|
152
152
|
[n.sum],
|
|
153
153
|
[n.average],
|
|
154
154
|
[n.median]
|
|
155
|
-
]), a = [t].concat(
|
|
156
|
-
|
|
155
|
+
]), a = [t].concat(s), o = Ae(a);
|
|
156
|
+
$e({
|
|
157
157
|
csvContent: o,
|
|
158
158
|
title: e.value.title.text || "vue-ui-table-sparkline"
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
161
|
}
|
|
162
|
-
return
|
|
163
|
-
generatePdf:
|
|
164
|
-
generateImage:
|
|
165
|
-
generateCsv:
|
|
162
|
+
return te({
|
|
163
|
+
generatePdf: U,
|
|
164
|
+
generateImage: H,
|
|
165
|
+
generateCsv: Q,
|
|
166
166
|
restoreOrder: ue
|
|
167
|
-
}), (t,
|
|
167
|
+
}), (t, s) => (u(), r("div", {
|
|
168
168
|
ref_key: "tableContainer",
|
|
169
|
-
ref:
|
|
170
|
-
class:
|
|
169
|
+
ref: w,
|
|
170
|
+
class: T({ "vue-ui-responsive": q.value }),
|
|
171
171
|
style: { overflow: "hidden" },
|
|
172
172
|
id: `table_${F.value}`
|
|
173
173
|
}, [
|
|
174
174
|
c("div", {
|
|
175
175
|
style: { overflow: "auto" },
|
|
176
|
-
onPointerleave:
|
|
177
|
-
|
|
176
|
+
onPointerleave: s[0] || (s[0] = (a) => {
|
|
177
|
+
x.value = void 0, g.value = void 0;
|
|
178
178
|
})
|
|
179
179
|
}, [
|
|
180
180
|
c("table", {
|
|
181
181
|
class: "vue-ui-data-table",
|
|
182
|
-
style:
|
|
182
|
+
style: i({ fontFamily: e.value.fontFamily, position: "relative" })
|
|
183
183
|
}, [
|
|
184
|
-
e.value.title.text ? (
|
|
184
|
+
e.value.title.text ? (u(), r("caption", {
|
|
185
185
|
key: 0,
|
|
186
|
-
style:
|
|
186
|
+
style: i({ backgroundColor: e.value.title.backgroundColor })
|
|
187
187
|
}, [
|
|
188
188
|
c("div", {
|
|
189
|
-
style:
|
|
189
|
+
style: i({
|
|
190
190
|
fontSize: `${e.value.title.fontSize}px`,
|
|
191
191
|
fontWeight: e.value.title.bold ? "bold" : "normal",
|
|
192
192
|
color: e.value.title.color,
|
|
193
193
|
textAlign: e.value.title.textAlign
|
|
194
194
|
})
|
|
195
|
-
},
|
|
196
|
-
e.value.title.subtitle.text ? (
|
|
195
|
+
}, b(e.value.title.text), 5),
|
|
196
|
+
e.value.title.subtitle.text ? (u(), r("div", {
|
|
197
197
|
key: 0,
|
|
198
|
-
style:
|
|
198
|
+
style: i({
|
|
199
199
|
fontSize: `${e.value.title.subtitle.fontSize}px`,
|
|
200
200
|
fontWeight: e.value.title.subtitle.bold ? "bold" : "normal",
|
|
201
201
|
color: e.value.title.subtitle.color,
|
|
202
202
|
textAlign: e.value.title.textAlign
|
|
203
203
|
})
|
|
204
|
-
},
|
|
205
|
-
], 4)) :
|
|
206
|
-
c("thead",
|
|
204
|
+
}, b(e.value.title.subtitle.text), 5)) : p("", !0)
|
|
205
|
+
], 4)) : p("", !0),
|
|
206
|
+
c("thead", De, [
|
|
207
207
|
c("tr", {
|
|
208
208
|
role: "row",
|
|
209
209
|
class: "vue-ui-data-table__thead-row",
|
|
210
|
-
style:
|
|
210
|
+
style: i({
|
|
211
211
|
backgroundColor: e.value.thead.backgroundColor,
|
|
212
212
|
color: e.value.thead.color
|
|
213
213
|
})
|
|
214
214
|
}, [
|
|
215
215
|
c("th", {
|
|
216
216
|
role: "cell",
|
|
217
|
-
style:
|
|
217
|
+
style: i({
|
|
218
218
|
backgroundColor: e.value.thead.backgroundColor,
|
|
219
219
|
outline: e.value.thead.outline,
|
|
220
220
|
textAlign: e.value.thead.textAlign,
|
|
221
221
|
fontWeight: e.value.thead.bold ? "bold" : "normal"
|
|
222
222
|
}),
|
|
223
223
|
class: "sticky-col-first"
|
|
224
|
-
},
|
|
225
|
-
(
|
|
224
|
+
}, b(e.value.translations.serie), 5),
|
|
225
|
+
(u(!0), r(M, null, V(_.value, (a, o) => (u(), r("th", {
|
|
226
226
|
role: "cell",
|
|
227
|
-
style:
|
|
227
|
+
style: i({
|
|
228
228
|
background: e.value.thead.backgroundColor,
|
|
229
229
|
outline: e.value.thead.outline,
|
|
230
230
|
textAlign: e.value.thead.textAlign,
|
|
231
231
|
fontWeight: e.value.thead.bold ? "bold" : "normal",
|
|
232
|
-
minWidth: o ===
|
|
232
|
+
minWidth: o === _.value.length - 1 ? "150px" : "",
|
|
233
233
|
cursor: y.value[0].values[o] !== void 0 ? "pointer" : "default"
|
|
234
234
|
}),
|
|
235
|
-
onClick: () =>
|
|
236
|
-
class:
|
|
235
|
+
onClick: () => re(o),
|
|
236
|
+
class: T({ "sticky-col": o === _.value.length - 1 && e.value.showSparklines })
|
|
237
237
|
}, [
|
|
238
|
-
c("div",
|
|
239
|
-
c("span", null,
|
|
240
|
-
|
|
238
|
+
c("div", Me, [
|
|
239
|
+
c("span", null, b(a), 1),
|
|
240
|
+
N.value && o === W.value && y.value[0].values[o] !== void 0 ? (u(), E(ze, {
|
|
241
241
|
key: 0,
|
|
242
242
|
size: 18,
|
|
243
|
-
name:
|
|
243
|
+
name: D.value === 1 ? "sort" : "sortReverse",
|
|
244
244
|
stroke: e.value.thead.color
|
|
245
|
-
}, null, 8, ["name", "stroke"])) :
|
|
245
|
+
}, null, 8, ["name", "stroke"])) : p("", !0)
|
|
246
246
|
]),
|
|
247
|
-
e.value.userOptions.show && o ===
|
|
247
|
+
e.value.userOptions.show && o === _.value.length - 1 ? (u(), E(Oe, {
|
|
248
248
|
ref_for: !0,
|
|
249
249
|
ref: "details",
|
|
250
|
-
key: `user_option_${
|
|
250
|
+
key: `user_option_${G.value}`,
|
|
251
251
|
backgroundColor: e.value.thead.backgroundColor,
|
|
252
252
|
color: e.value.thead.color,
|
|
253
|
-
isPrinting:
|
|
254
|
-
isImaging:
|
|
253
|
+
isPrinting: v(B),
|
|
254
|
+
isImaging: v(R),
|
|
255
255
|
uid: F.value,
|
|
256
256
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
257
257
|
hasXls: e.value.userOptions.buttons.csv,
|
|
258
258
|
hasImg: e.value.userOptions.buttons.img,
|
|
259
259
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
260
|
-
isFullscreen:
|
|
260
|
+
isFullscreen: K.value,
|
|
261
261
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
262
|
-
chartElement:
|
|
262
|
+
chartElement: w.value,
|
|
263
263
|
position: e.value.userOptions.position,
|
|
264
|
-
onToggleFullscreen:
|
|
265
|
-
onGeneratePdf:
|
|
266
|
-
onGenerateImage:
|
|
267
|
-
onGenerateCsv:
|
|
268
|
-
},
|
|
264
|
+
onToggleFullscreen: ve,
|
|
265
|
+
onGeneratePdf: v(U),
|
|
266
|
+
onGenerateImage: v(H),
|
|
267
|
+
onGenerateCsv: Q
|
|
268
|
+
}, pe({ _: 2 }, [
|
|
269
269
|
t.$slots.optionPdf ? {
|
|
270
270
|
name: "optionPdf",
|
|
271
271
|
fn: A(() => [
|
|
@@ -290,28 +290,28 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
290
290
|
t.$slots.optionFullscreen ? {
|
|
291
291
|
name: "optionFullscreen",
|
|
292
292
|
fn: A(({ toggleFullscreen: n, isFullscreen: l }) => [
|
|
293
|
-
C(t.$slots, "optionFullscreen",
|
|
293
|
+
C(t.$slots, "optionFullscreen", be(me({ toggleFullscreen: n, isFullscreen: l })), void 0, !0)
|
|
294
294
|
]),
|
|
295
295
|
key: "3"
|
|
296
296
|
} : void 0
|
|
297
|
-
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) :
|
|
298
|
-
], 14,
|
|
297
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasPdf", "hasXls", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : p("", !0)
|
|
298
|
+
], 14, Te))), 256))
|
|
299
299
|
], 4)
|
|
300
300
|
]),
|
|
301
301
|
c("tbody", null, [
|
|
302
|
-
(
|
|
302
|
+
(u(!0), r(M, null, V(k.value, (a, o) => (u(), r("tr", {
|
|
303
303
|
role: "row",
|
|
304
|
-
style:
|
|
304
|
+
style: i({
|
|
305
305
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
306
306
|
color: e.value.tbody.color
|
|
307
307
|
}),
|
|
308
|
-
class:
|
|
308
|
+
class: T({ "vue-ui-data-table__tbody__row": !0, "vue-ui-data-table__tbody__row-even": o % 2 === 0, "vue-ui-data-table__tbody__row-odd": o % 2 !== 0 })
|
|
309
309
|
}, [
|
|
310
310
|
c("td", {
|
|
311
311
|
role: "cell",
|
|
312
|
-
style:
|
|
312
|
+
style: i({
|
|
313
313
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
314
|
-
|
|
314
|
+
border: e.value.tbody.outline,
|
|
315
315
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
316
316
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
317
317
|
textAlign: e.value.tbody.textAlign
|
|
@@ -319,124 +319,129 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
319
319
|
"data-cell": e.value.translations.serie,
|
|
320
320
|
class: "vue-ui-data-table__tbody__td sticky-col-first"
|
|
321
321
|
}, [
|
|
322
|
-
c("div",
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
322
|
+
c("div", Ee, [
|
|
323
|
+
e.value.tbody.showColorMarker ? (u(), r("span", {
|
|
324
|
+
key: 0,
|
|
325
|
+
style: i({ color: a.color })
|
|
326
|
+
}, "⬤", 4)) : p("", !0),
|
|
327
|
+
c("span", null, b(a.name ?? "-"), 1)
|
|
327
328
|
])
|
|
328
|
-
], 12,
|
|
329
|
-
(
|
|
329
|
+
], 12, Ve),
|
|
330
|
+
(u(!0), r(M, null, V(se.value, (n, l) => (u(), r("td", {
|
|
330
331
|
dir: "auto",
|
|
331
332
|
role: "cell",
|
|
332
|
-
|
|
333
|
-
|
|
333
|
+
ref_for: !0,
|
|
334
|
+
ref_key: "TD",
|
|
335
|
+
ref: O,
|
|
336
|
+
style: i({
|
|
337
|
+
border: e.value.tbody.outline,
|
|
334
338
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
335
339
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
336
340
|
textAlign: e.value.tbody.textAlign,
|
|
337
|
-
|
|
338
|
-
borderRadius: g.value !== void 0 &&
|
|
341
|
+
background: g.value !== void 0 && l === g.value ? `${a.color.length > 7 ? a.color.slice(0, -2) : a.color}33` : "",
|
|
342
|
+
borderRadius: g.value !== void 0 && x.value !== void 0 && l === g.value && x.value === o ? "3px" : ""
|
|
339
343
|
}),
|
|
340
|
-
"data-cell":
|
|
344
|
+
"data-cell": _.value[l],
|
|
341
345
|
class: "vue-ui-data-table__tbody__td",
|
|
342
346
|
onPointerenter: (f) => {
|
|
343
|
-
|
|
347
|
+
x.value = o, g.value = l;
|
|
344
348
|
}
|
|
345
|
-
},
|
|
349
|
+
}, b([null, void 0].includes(a.values[l]) ? "-" : v(P)(
|
|
346
350
|
e.value.formatter,
|
|
347
351
|
Number(a.values[l]),
|
|
348
|
-
|
|
352
|
+
v(z)({
|
|
349
353
|
p: e.value.prefix,
|
|
350
354
|
v: Number(a.values[l]),
|
|
351
355
|
s: e.value.suffix,
|
|
352
356
|
r: e.value.roundingValues
|
|
353
357
|
}),
|
|
354
358
|
{ datapoint: a, seriesIndex: o, datapointIndex: l }
|
|
355
|
-
)), 45,
|
|
356
|
-
e.value.showTotal ? (
|
|
359
|
+
)), 45, Ge))), 256)),
|
|
360
|
+
e.value.showTotal ? (u(), r("td", {
|
|
357
361
|
key: 0,
|
|
358
362
|
dir: "auto",
|
|
359
363
|
role: "cell",
|
|
360
|
-
style:
|
|
361
|
-
|
|
364
|
+
style: i({
|
|
365
|
+
border: e.value.tbody.outline,
|
|
362
366
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
363
367
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
364
368
|
textAlign: e.value.tbody.textAlign
|
|
365
369
|
}),
|
|
366
370
|
"data-cell": e.value.translations.total,
|
|
367
371
|
class: "vue-ui-data-table__tbody__td"
|
|
368
|
-
},
|
|
372
|
+
}, b(v(P)(
|
|
369
373
|
e.value.formatter,
|
|
370
374
|
a.sum,
|
|
371
|
-
|
|
375
|
+
v(z)({
|
|
372
376
|
p: e.value.prefix,
|
|
373
377
|
v: a.sum,
|
|
374
378
|
s: e.value.suffix,
|
|
375
379
|
r: e.value.roundingTotal
|
|
376
380
|
}),
|
|
377
381
|
{ datapoint: a.sum, seriesIndex: o }
|
|
378
|
-
)), 13,
|
|
379
|
-
e.value.showAverage ? (
|
|
382
|
+
)), 13, Le)) : p("", !0),
|
|
383
|
+
e.value.showAverage ? (u(), r("td", {
|
|
380
384
|
key: 1,
|
|
381
385
|
dir: "auto",
|
|
382
386
|
role: "cell",
|
|
383
|
-
style:
|
|
384
|
-
|
|
387
|
+
style: i({
|
|
388
|
+
border: e.value.tbody.outline,
|
|
385
389
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
386
390
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
387
391
|
textAlign: e.value.tbody.textAlign
|
|
388
392
|
}),
|
|
389
393
|
"data-cell": e.value.translations.average,
|
|
390
394
|
class: "vue-ui-data-table__tbody__td"
|
|
391
|
-
},
|
|
395
|
+
}, b(v(P)(
|
|
392
396
|
e.value.formatter,
|
|
393
397
|
a.average,
|
|
394
|
-
|
|
398
|
+
v(z)({
|
|
395
399
|
p: e.value.prefix,
|
|
396
400
|
v: a.average,
|
|
397
401
|
s: e.value.suffix,
|
|
398
402
|
r: e.value.roundingAverage
|
|
399
403
|
}),
|
|
400
404
|
{ datapoint: a.average, seriesIndex: o }
|
|
401
|
-
)), 13,
|
|
402
|
-
e.value.showMedian ? (
|
|
405
|
+
)), 13, Be)) : p("", !0),
|
|
406
|
+
e.value.showMedian ? (u(), r("td", {
|
|
403
407
|
key: 2,
|
|
404
408
|
dir: "auto",
|
|
405
409
|
role: "cell",
|
|
406
|
-
style:
|
|
407
|
-
|
|
410
|
+
style: i({
|
|
411
|
+
border: e.value.tbody.outline,
|
|
408
412
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
409
413
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
410
414
|
textAlign: e.value.tbody.textAlign
|
|
411
415
|
}),
|
|
412
416
|
"data-cell": e.value.translations.median,
|
|
413
417
|
class: "vue-ui-data-table__tbody__td"
|
|
414
|
-
},
|
|
418
|
+
}, b(v(P)(
|
|
415
419
|
e.value.formatter,
|
|
416
420
|
a.median,
|
|
417
|
-
|
|
421
|
+
v(z)({
|
|
418
422
|
p: e.value.prefix,
|
|
419
423
|
v: a.median,
|
|
420
424
|
s: e.value.suffix,
|
|
421
425
|
r: e.value.roundingMedian
|
|
422
426
|
}),
|
|
423
427
|
{ datapoint: a.median, seriesIndex: o }
|
|
424
|
-
)), 13,
|
|
425
|
-
e.value.showSparklines ? (
|
|
428
|
+
)), 13, Re)) : p("", !0),
|
|
429
|
+
e.value.showSparklines ? (u(), r("td", {
|
|
426
430
|
key: 3,
|
|
427
431
|
role: "cell",
|
|
428
432
|
"data-cell": e.value.translations.chart,
|
|
429
|
-
style:
|
|
430
|
-
|
|
433
|
+
style: i({
|
|
434
|
+
border: e.value.tbody.outline,
|
|
431
435
|
fontSize: `${e.value.tbody.fontSize}px`,
|
|
432
436
|
fontWeight: e.value.tbody.bold ? "bold" : "normal",
|
|
433
|
-
textAlign: e.value.tbody.textAlign
|
|
437
|
+
textAlign: e.value.tbody.textAlign,
|
|
438
|
+
backgroundColor: e.value.tbody.backgroundColor
|
|
434
439
|
}),
|
|
435
440
|
class: "vue-ui-data-table__tbody__td sticky-col"
|
|
436
441
|
}, [
|
|
437
|
-
(
|
|
442
|
+
(u(), E(Pe, {
|
|
438
443
|
key: `sparkline_${o}_${I.value}`,
|
|
439
|
-
onHoverIndex: ({ index: n }) =>
|
|
444
|
+
onHoverIndex: ({ index: n }) => de({ dataIndex: n, serieIndex: o }),
|
|
440
445
|
dataset: a.sparklineDataset,
|
|
441
446
|
showInfo: !1,
|
|
442
447
|
selectedIndex: g.value,
|
|
@@ -445,7 +450,7 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
445
450
|
style: {
|
|
446
451
|
backgroundColor: e.value.tbody.backgroundColor,
|
|
447
452
|
animation: {
|
|
448
|
-
show: e.value.sparkline.animation.show && !
|
|
453
|
+
show: e.value.sparkline.animation.show && !v(B) && !v(R),
|
|
449
454
|
animationFrames: e.value.sparkline.animation.animationFrames
|
|
450
455
|
},
|
|
451
456
|
line: {
|
|
@@ -472,17 +477,17 @@ const Ne = ["id"], We = { style: { "z-index": "1", "padding-right": "24px" } },
|
|
|
472
477
|
}
|
|
473
478
|
}
|
|
474
479
|
}, null, 8, ["onHoverIndex", "dataset", "selectedIndex", "config"]))
|
|
475
|
-
], 12,
|
|
480
|
+
], 12, Ue)) : p("", !0)
|
|
476
481
|
], 6))), 256))
|
|
477
482
|
])
|
|
478
483
|
], 4)
|
|
479
484
|
], 32),
|
|
480
|
-
t.$slots.source ? (
|
|
485
|
+
t.$slots.source ? (u(), r("div", He, [
|
|
481
486
|
C(t.$slots, "source", {}, void 0, !0)
|
|
482
|
-
], 512)) :
|
|
483
|
-
], 10,
|
|
487
|
+
], 512)) : p("", !0)
|
|
488
|
+
], 10, We));
|
|
484
489
|
}
|
|
485
|
-
},
|
|
490
|
+
}, et = /* @__PURE__ */ Ne(qe, [["__scopeId", "data-v-87ed59b4"]]);
|
|
486
491
|
export {
|
|
487
|
-
|
|
492
|
+
et as default
|
|
488
493
|
};
|