vue-data-ui 2.3.31 → 2.3.33
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-CiAaagmx.js → Arrow-CUxfM_Pi.js} +1 -1
- package/dist/{Arrow-CiUBvBlb.cjs → Arrow-U-GXPs_S.cjs} +1 -1
- package/dist/{BaseIcon-BHjAlRHU.js → BaseIcon-Cq04T7KZ.js} +1 -1
- package/dist/{BaseIcon-D5tyFpQV.cjs → BaseIcon-DsmnhCxw.cjs} +1 -1
- package/dist/{DataTable-DqPGv4Ms.js → DataTable-COtc9-N3.js} +2 -2
- package/dist/{DataTable-ByKKUsaO.cjs → DataTable-i6_WDL4K.cjs} +1 -1
- package/dist/{Legend-BfwTJ9M-.cjs → Legend-B_gotRVB.cjs} +1 -1
- package/dist/{Legend-3WC5-bUm.js → Legend-Bj_2LeEE.js} +1 -1
- package/dist/{Shape-C4kR-mjQ.js → Shape-J2c5E_YE.js} +1 -1
- package/dist/{Shape-CAjMa3HT.cjs → Shape-e7Tqal5k.cjs} +1 -1
- package/dist/{Slicer-BScyt_Vx.cjs → Slicer-CDFjbPHy.cjs} +1 -1
- package/dist/{Slicer-CPKkdrpR.js → Slicer-CL9wj6Ug.js} +1 -1
- package/dist/{Title-CNJKmNgA.cjs → Title-D5JSyW9g.cjs} +1 -1
- package/dist/{Title-CKSMMGjd.js → Title-n2bQMWGU.js} +1 -1
- package/dist/{Tooltip-C9Q2lE3W.js → Tooltip-B2-UhSCE.js} +1 -1
- package/dist/{Tooltip-BIHm4byQ.cjs → Tooltip-Bd80EmMe.cjs} +1 -1
- package/dist/{index-DQvb5Vgo.cjs → index-C9r5MSxp.cjs} +1 -1
- package/dist/{index-BJ6NXF-z.js → index-D4ZfmZSg.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{useNestedProp-AR9tJrsp.js → useNestedProp-DWL7GF6p.js} +1 -1
- package/dist/{useNestedProp-D1F0KM3m.cjs → useNestedProp-DlpyayQg.cjs} +1 -1
- package/dist/{usePrinter-BUIam1ao.js → usePrinter-2BdamNLl.js} +1 -1
- package/dist/{usePrinter-C4oaA82s.cjs → usePrinter-CgeascwN.cjs} +1 -1
- package/dist/{vue-data-ui-Ch_eQQZR.cjs → vue-data-ui-C60pgqBZ.cjs} +1 -1
- package/dist/{vue-data-ui-DfNedsHE.js → vue-data-ui-D98veSqI.js} +57 -57
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-BiF2mAOR.cjs → vue-ui-3d-bar-CPC6HEVe.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-cav5cdhf.js → vue-ui-3d-bar-ChlIQYo8.js} +7 -7
- package/dist/{vue-ui-accordion-D5-giD3x.cjs → vue-ui-accordion-B_pg4OcN.cjs} +1 -1
- package/dist/{vue-ui-accordion-GCDGaaYO.js → vue-ui-accordion-W99d82RY.js} +3 -3
- package/dist/{vue-ui-age-pyramid-CCDfdeJE.js → vue-ui-age-pyramid-CApF0nDH.js} +8 -8
- package/dist/{vue-ui-age-pyramid-DA-7y6nN.cjs → vue-ui-age-pyramid-jU-pS_FX.cjs} +1 -1
- package/dist/{vue-ui-annotator-BKzaeqJR.cjs → vue-ui-annotator-4-SHlO9R.cjs} +1 -1
- package/dist/{vue-ui-annotator-B_vPtBm9.js → vue-ui-annotator-DBlQGFBE.js} +1 -1
- package/dist/{vue-ui-candlestick-CeZC3-9i.js → vue-ui-candlestick-BJfFRmNj.js} +9 -9
- package/dist/{vue-ui-candlestick-Cgg58gem.cjs → vue-ui-candlestick-rPD-ZQra.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-ySFFobPq.cjs → vue-ui-carousel-table-CulRP90Z.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-e0zW3fCz.js → vue-ui-carousel-table-DO-9-fol.js} +4 -4
- package/dist/{vue-ui-chestnut-Cxw7FjDt.cjs → vue-ui-chestnut-CPL4jyF7.cjs} +1 -1
- package/dist/{vue-ui-chestnut-ClIE26od.js → vue-ui-chestnut-CRdOMFxs.js} +6 -6
- package/dist/{vue-ui-cursor-DyIiGBho.cjs → vue-ui-cursor-Bj3h6sDD.cjs} +1 -1
- package/dist/{vue-ui-cursor-5ilFNncb.js → vue-ui-cursor-D12DG4Kf.js} +2 -2
- package/dist/{vue-ui-dashboard-CXrmy76c.js → vue-ui-dashboard-DUK0wNgQ.js} +2 -2
- package/dist/{vue-ui-dashboard-D-JyU495.cjs → vue-ui-dashboard-IOYL5mEF.cjs} +1 -1
- package/dist/{vue-ui-digits-BEZa60-l.js → vue-ui-digits-BC_4rx73.js} +2 -2
- package/dist/{vue-ui-digits-B30HSHeA.cjs → vue-ui-digits-BzhcctF7.cjs} +1 -1
- package/dist/{vue-ui-donut-0jWL1Wzc.cjs → vue-ui-donut-BomizJUs.cjs} +1 -1
- package/dist/{vue-ui-donut-GPrnPVJq.js → vue-ui-donut-D74abrbu.js} +9 -9
- package/dist/{vue-ui-donut-evolution-hoHN3gzZ.cjs → vue-ui-donut-evolution-BJ4Ok-Yp.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-D0LbULdi.js → vue-ui-donut-evolution-BUa4csgt.js} +9 -9
- package/dist/{vue-ui-dumbbell-67OcxNA7.js → vue-ui-dumbbell-CUYETxFP.js} +8 -8
- package/dist/{vue-ui-dumbbell-Cb87RX2P.cjs → vue-ui-dumbbell-DwWTHgZG.cjs} +1 -1
- package/dist/{vue-ui-flow-DPVIb1Kj.cjs → vue-ui-flow-CCLdNeJ-.cjs} +1 -1
- package/dist/{vue-ui-flow-Vi3PWSP4.js → vue-ui-flow-D27Aqy5V.js} +7 -7
- package/dist/{vue-ui-galaxy-BgO0ZTYY.js → vue-ui-galaxy-BTiLZwc-.js} +9 -9
- package/dist/{vue-ui-galaxy-B5oGFG97.cjs → vue-ui-galaxy-D5J1WxYR.cjs} +1 -1
- package/dist/{vue-ui-gauge-B0w9GJOy.js → vue-ui-gauge-Bhpq7HDO.js} +5 -5
- package/dist/{vue-ui-gauge-qe4o6Sjl.cjs → vue-ui-gauge-TX5Mp_Mp.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BVoL7TEm.cjs → vue-ui-gizmo-AigQjkN4.cjs} +1 -1
- package/dist/{vue-ui-gizmo-BXN_MwN4.js → vue-ui-gizmo-Dw4ItxKs.js} +2 -2
- package/dist/{vue-ui-heatmap-8TBiusXd.cjs → vue-ui-heatmap-DdSBSZCN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BHNaaYJl.js → vue-ui-heatmap-TBi8dmtO.js} +8 -8
- package/dist/{vue-ui-kpi-BeGFsXxC.cjs → vue-ui-kpi-DsKGWQHr.cjs} +1 -1
- package/dist/{vue-ui-kpi-DTu-z6sj.js → vue-ui-kpi-IYD-xkcq.js} +2 -2
- package/dist/{vue-ui-mini-loader-D1vhrkOt.cjs → vue-ui-mini-loader-M-frsLpu.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-BHX2lzqL.js → vue-ui-mini-loader-_gmuDh2Q.js} +2 -2
- package/dist/{vue-ui-molecule-Bow2JLXO.cjs → vue-ui-molecule-CAi5aoBp.cjs} +1 -1
- package/dist/{vue-ui-molecule-DLbPBobL.js → vue-ui-molecule-PDKF_CLU.js} +9 -9
- package/dist/{vue-ui-mood-radar-C0-KPgNg.js → vue-ui-mood-radar-CbR_Qbbh.js} +9 -9
- package/dist/{vue-ui-mood-radar-CqosXQQX.cjs → vue-ui-mood-radar-D4QwpYsd.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-C2NpczwE.cjs → vue-ui-nested-donuts-DGTR7aLK.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-BFa-oFEx.js → vue-ui-nested-donuts-Doe9ng0y.js} +9 -9
- package/dist/{vue-ui-onion-BexMkS4E.js → vue-ui-onion-BuigCMf3.js} +9 -9
- package/dist/{vue-ui-onion-DwdVlm0O.cjs → vue-ui-onion-DHknupJ5.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BKKl2c7B.cjs → vue-ui-parallel-coordinate-plot-CWkSo4cL.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BALCmQ5Z.js → vue-ui-parallel-coordinate-plot-Re0LZuAY.js} +10 -10
- package/dist/{vue-ui-quadrant-CTrV6HgE.js → vue-ui-quadrant-DpPJj0z7.js} +10 -10
- package/dist/{vue-ui-quadrant-BPoDyM8A.cjs → vue-ui-quadrant-EI_IElYh.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BmMbY6SQ.js → vue-ui-quick-chart-BDhl2kNP.js} +6 -6
- package/dist/{vue-ui-quick-chart-D4GFWcp7.cjs → vue-ui-quick-chart-BsjrnDad.cjs} +1 -1
- package/dist/{vue-ui-radar-7sSdEfcO.cjs → vue-ui-radar-CBSzPrBN.cjs} +1 -1
- package/dist/{vue-ui-radar-Clfa-6Le.js → vue-ui-radar-dnfC3Ts9.js} +10 -10
- package/dist/{vue-ui-rating-Cs45C-53.cjs → vue-ui-rating-Du9DDruY.cjs} +1 -1
- package/dist/{vue-ui-rating-Ce8pPHCS.js → vue-ui-rating-v0CG2kgK.js} +2 -2
- package/dist/{vue-ui-relation-circle-CuZjr_W8.cjs → vue-ui-relation-circle-BWOVSaOS.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-DokQNUAI.js → vue-ui-relation-circle-QrWQ4Qai.js} +5 -5
- package/dist/{vue-ui-rings-Cd_5yc8m.js → vue-ui-rings-CU1fcuiz.js} +9 -9
- package/dist/{vue-ui-rings-DlcUcstZ.cjs → vue-ui-rings-VIofJZ94.cjs} +1 -1
- package/dist/{vue-ui-scatter-Diih7alT.cjs → vue-ui-scatter-B76IQkXa.cjs} +1 -1
- package/dist/{vue-ui-scatter-CGUY8yGo.js → vue-ui-scatter-B9YxRg1S.js} +10 -10
- package/dist/{vue-ui-screenshot-CslXMiXF.js → vue-ui-screenshot-BYVANzt7.js} +1 -1
- package/dist/{vue-ui-screenshot-C4CVXRBT.cjs → vue-ui-screenshot-idw5giko.cjs} +1 -1
- package/dist/{vue-ui-skeleton-DdAE1RlM.js → vue-ui-skeleton-Dil3xmv9.js} +2 -2
- package/dist/{vue-ui-skeleton-6fxZMdtV.cjs → vue-ui-skeleton-ldYPv9PF.cjs} +1 -1
- package/dist/{vue-ui-smiley-enpMVkNM.cjs → vue-ui-smiley-CEz1wWuk.cjs} +1 -1
- package/dist/{vue-ui-smiley-DTY5KiDB.js → vue-ui-smiley-DwxiNgdv.js} +2 -2
- package/dist/{vue-ui-spark-trend-CNqfwxj9.js → vue-ui-spark-trend-BG9DZeZe.js} +4 -4
- package/dist/{vue-ui-spark-trend-UUDAPzlU.cjs → vue-ui-spark-trend-DN25w-rB.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-D2M_uMU8.js → vue-ui-sparkbar-Cs4n_GY1.js} +3 -3
- package/dist/{vue-ui-sparkbar-BEwF2ZHO.cjs → vue-ui-sparkbar-DaVxC8Nf.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-BQo2RtDp.js → vue-ui-sparkgauge-D_I53hj4.js} +3 -3
- package/dist/{vue-ui-sparkgauge-DCXz-sVO.cjs → vue-ui-sparkgauge-W8c5LNBs.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-B83GykeL.js → vue-ui-sparkhistogram-CGRVea-3.js} +4 -4
- package/dist/{vue-ui-sparkhistogram-DnJyQqnN.cjs → vue-ui-sparkhistogram-j1RxtN2d.cjs} +1 -1
- package/dist/{vue-ui-sparkline-pblHktJQ.cjs → vue-ui-sparkline-C77GWtzb.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DDGgABlc.js → vue-ui-sparkline-ChuyFXnO.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-CA3xOex0.js → vue-ui-sparkstackbar-DOThH5PJ.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-Btx1pr5F.cjs → vue-ui-sparkstackbar-DeGSbEIo.cjs} +1 -1
- package/dist/vue-ui-stackbar-BYEBWNws.js +786 -0
- package/dist/vue-ui-stackbar-BakzF6CM.cjs +6 -0
- package/dist/{vue-ui-strip-plot-CX2aCzHG.js → vue-ui-strip-plot-CK0dO53m.js} +9 -9
- package/dist/{vue-ui-strip-plot-BaLXVgu4.cjs → vue-ui-strip-plot-Dx6P2lA2.cjs} +1 -1
- package/dist/{vue-ui-table-sQc-MSR_.cjs → vue-ui-table-DIPNLMvf.cjs} +1 -1
- package/dist/{vue-ui-table-ClECxS2U.js → vue-ui-table-DkMrvnDz.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BL8cy2H3.js → vue-ui-table-heatmap-B4q7WfSh.js} +4 -4
- package/dist/{vue-ui-table-heatmap-9BG7K8wL.cjs → vue-ui-table-heatmap-BVEhEE0q.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-Dptv8kIS.cjs → vue-ui-table-sparkline-CU0SCv36.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D0CF7Nwo.js → vue-ui-table-sparkline-Cl4a56D9.js} +5 -5
- package/dist/{vue-ui-thermometer-CDI0CdOu.cjs → vue-ui-thermometer-DiOXG9FE.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BIWGfZUV.js → vue-ui-thermometer-pcKB72qU.js} +5 -5
- package/dist/{vue-ui-timer-CLoIqr2Z.js → vue-ui-timer-BFcCXVhI.js} +4 -4
- package/dist/{vue-ui-timer-BUj9O2DA.cjs → vue-ui-timer-DnEhYkYY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BbTYG885.cjs → vue-ui-tiremarks-ChIQAk_l.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-QCCPssnC.js → vue-ui-tiremarks-Cx5AJacV.js} +5 -5
- package/dist/{vue-ui-treemap-B1mD4WbM.js → vue-ui-treemap-BeAjlsgd.js} +9 -9
- package/dist/{vue-ui-treemap-D6YxChmu.cjs → vue-ui-treemap-CUkSlJWq.cjs} +1 -1
- package/dist/vue-ui-vertical-bar-C6CBhGbv.js +805 -0
- package/dist/vue-ui-vertical-bar-lJGZ-IJS.cjs +4 -0
- package/dist/{vue-ui-waffle-xeawcYID.cjs → vue-ui-waffle-C29vX0FU.cjs} +1 -1
- package/dist/{vue-ui-waffle-BMYYVoRM.js → vue-ui-waffle-DM2bqLaZ.js} +9 -9
- package/dist/{vue-ui-wheel-t6sMmDHN.js → vue-ui-wheel-Br23_h13.js} +5 -5
- package/dist/{vue-ui-wheel-Sp4i7L2L.cjs → vue-ui-wheel-D-KizYjp.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-ohI8RK1_.cjs → vue-ui-word-cloud-CNrw2pGa.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-BURJJFyJ.js → vue-ui-word-cloud-DkqrXhGq.js} +7 -7
- package/dist/{vue-ui-xy-CruxD8qY.js → vue-ui-xy-Bl-Jb6uH.js} +12 -12
- package/dist/{vue-ui-xy-DcjiVoXA.cjs → vue-ui-xy-CJkw_ARZ.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-D3KZ8rIM.js → vue-ui-xy-canvas-BIYJhOix.js} +10 -10
- package/dist/{vue-ui-xy-canvas-B5pcGCvN.cjs → vue-ui-xy-canvas-CXK6EGbI.cjs} +1 -1
- package/package.json +1 -1
- package/dist/vue-ui-stackbar-BhLDK1Rx.js +0 -765
- package/dist/vue-ui-stackbar-DPsuPIje.cjs +0 -15
- package/dist/vue-ui-vertical-bar-CIbzBp6T.cjs +0 -4
- package/dist/vue-ui-vertical-bar-Cq7SX6st.js +0 -792
|
@@ -0,0 +1,786 @@
|
|
|
1
|
+
import { computed as h, ref as v, onMounted as Ne, openBlock as i, createElementBlock as n, normalizeClass as ze, normalizeStyle as G, renderSlot as b, createVNode as ie, createCommentVNode as d, createBlock as Y, unref as w, createSlots as tt, withCtx as f, normalizeProps as I, guardReactiveProps as V, Fragment as m, renderList as $, createElementVNode as P, toDisplayString as z, createTextVNode as at } from "vue";
|
|
2
|
+
import { u as lt, c as Me, o as ot, e as Oe, g as st, t as rt, a as it, p as Q, b as ut, d as nt, _ as j, A as Pe, X as ct, l as vt, D as dt, f as D, v as ht, w as Fe, i as Re, x as gt, q as yt, r as bt } from "./index-D4ZfmZSg.js";
|
|
3
|
+
import { u as Ie } from "./useNestedProp-DWL7GF6p.js";
|
|
4
|
+
import { t as ft, u as mt } from "./useResponsive-NZB-WLRF.js";
|
|
5
|
+
import { u as pt, U as xt } from "./usePrinter-2BdamNLl.js";
|
|
6
|
+
import { S as kt } from "./Slicer-CL9wj6Ug.js";
|
|
7
|
+
import { _ as wt } from "./Tooltip-B2-UhSCE.js";
|
|
8
|
+
import { _ as Ct } from "./Title-n2bQMWGU.js";
|
|
9
|
+
import { L as Lt } from "./Legend-Bj_2LeEE.js";
|
|
10
|
+
import St from "./vue-ui-accordion-W99d82RY.js";
|
|
11
|
+
import { D as $t } from "./DataTable-COtc9-N3.js";
|
|
12
|
+
import _t from "./vue-ui-skeleton-Dil3xmv9.js";
|
|
13
|
+
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
+
const Nt = ["id"], zt = ["xmlns", "viewBox"], Mt = { key: 0 }, Ot = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Rt = ["stop-color"], It = ["x1", "x2", "y1", "y2", "stroke"], Vt = ["x1", "x2", "y1", "y2", "stroke"], Dt = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Bt = ["transform", "font-size", "fill", "font-weight"], Ut = ["x", "y", "font-size", "fill", "font-weight"], Wt = { key: 0 }, Gt = ["x", "y", "font-size", "font-weight", "fill"], Yt = ["x1", "x2", "y1", "y2", "stroke"], Xt = ["x", "y", "font-size", "font-weight", "fill"], Jt = ["text-anchor", "font-size", "font-weight", "fill", "transform"], qt = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Zt = {
|
|
15
|
+
key: 3,
|
|
16
|
+
class: "vue-data-ui-watermark"
|
|
17
|
+
}, Kt = ["onClick"], Qt = ["innerHTML"], jt = {
|
|
18
|
+
__name: "vue-ui-stackbar",
|
|
19
|
+
props: {
|
|
20
|
+
config: {
|
|
21
|
+
type: Object,
|
|
22
|
+
default() {
|
|
23
|
+
return {};
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
dataset: {
|
|
27
|
+
type: Array,
|
|
28
|
+
default() {
|
|
29
|
+
return [];
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
emits: ["selectDatapoint", "selectLegend"],
|
|
34
|
+
setup(ue, { expose: Ve, emit: ne }) {
|
|
35
|
+
const _ = ue, { vue_ui_stackbar: De } = lt(), F = h({
|
|
36
|
+
get() {
|
|
37
|
+
return !!_.dataset && _.dataset.length;
|
|
38
|
+
},
|
|
39
|
+
set(a) {
|
|
40
|
+
return a;
|
|
41
|
+
}
|
|
42
|
+
}), A = v(null), ee = v(Me()), te = v(!1), ce = v(null), ae = v(""), p = v([]), ve = v(0), de = v(null), he = v(null), ge = v(null), ye = v(0), le = v(!1), oe = v(null), X = v(!1);
|
|
43
|
+
Ne(() => {
|
|
44
|
+
ot(_.dataset) ? Oe({
|
|
45
|
+
componentName: "VueUiStackbar",
|
|
46
|
+
type: "dataset"
|
|
47
|
+
}) : _.dataset.forEach((a, l) => {
|
|
48
|
+
st({
|
|
49
|
+
datasetObject: a,
|
|
50
|
+
requiredAttributes: ["name", "series"]
|
|
51
|
+
}).forEach((t) => {
|
|
52
|
+
F.value = !1, Oe({
|
|
53
|
+
componentName: "VueUiStackbar",
|
|
54
|
+
type: "datasetSerieAttribute",
|
|
55
|
+
property: t,
|
|
56
|
+
index: l
|
|
57
|
+
});
|
|
58
|
+
});
|
|
59
|
+
}), setTimeout(() => {
|
|
60
|
+
X.value = !0;
|
|
61
|
+
}, 10);
|
|
62
|
+
});
|
|
63
|
+
const e = h(() => {
|
|
64
|
+
const a = Ie({
|
|
65
|
+
userConfig: _.config,
|
|
66
|
+
defaultConfig: De
|
|
67
|
+
});
|
|
68
|
+
return a.theme ? {
|
|
69
|
+
...Ie({
|
|
70
|
+
userConfig: rt.vue_ui_stackbar[a.theme] || _.config,
|
|
71
|
+
defaultConfig: a
|
|
72
|
+
}),
|
|
73
|
+
customPalette: it[a.theme] || Q
|
|
74
|
+
} : a;
|
|
75
|
+
}), C = v({
|
|
76
|
+
dataLabels: {
|
|
77
|
+
show: e.value.style.chart.bars.dataLabels.show
|
|
78
|
+
},
|
|
79
|
+
showTable: e.value.table.show,
|
|
80
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
81
|
+
}), { isPrinting: be, isImaging: fe, generatePdf: me, generateImage: pe } = pt({
|
|
82
|
+
elementId: `stackbar_${ee.value}`,
|
|
83
|
+
fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
|
|
84
|
+
}), J = v({
|
|
85
|
+
width: e.value.style.chart.width,
|
|
86
|
+
height: e.value.style.chart.height,
|
|
87
|
+
paddingRatio: {
|
|
88
|
+
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
89
|
+
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
90
|
+
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
91
|
+
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
92
|
+
}
|
|
93
|
+
}), Ae = h(() => ut(e.value.customPalette)), xe = v(null), ke = v(null);
|
|
94
|
+
Ne(() => {
|
|
95
|
+
if (e.value.responsive) {
|
|
96
|
+
const a = ft(() => {
|
|
97
|
+
X.value = !1;
|
|
98
|
+
const { width: l, height: t } = mt({
|
|
99
|
+
chart: A.value,
|
|
100
|
+
title: e.value.style.chart.title.text ? de.value : null,
|
|
101
|
+
legend: e.value.style.chart.legend.show ? he.value : null,
|
|
102
|
+
slicer: e.value.style.chart.zoom.show && E.value > 1 ? ge.value : null
|
|
103
|
+
});
|
|
104
|
+
J.value.width = l, J.value.height = t, clearTimeout(ke.value), ke.value = setTimeout(() => {
|
|
105
|
+
X.value = !0;
|
|
106
|
+
}, 10);
|
|
107
|
+
});
|
|
108
|
+
xe.value = new ResizeObserver(a), xe.value.observe(A.value.parentNode);
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
const r = h(() => {
|
|
112
|
+
const { height: a, width: l } = J.value, { right: t } = J.value.paddingRatio, o = e.value.style.chart.padding.top, s = l - l * t, c = a - e.value.style.chart.padding.bottom, x = e.value.style.chart.padding.left, M = l - x - l * t, O = a - o - e.value.style.chart.padding.bottom;
|
|
113
|
+
return {
|
|
114
|
+
chartHeight: a,
|
|
115
|
+
chartWidth: l,
|
|
116
|
+
top: o,
|
|
117
|
+
right: s,
|
|
118
|
+
bottom: c,
|
|
119
|
+
left: x,
|
|
120
|
+
width: M,
|
|
121
|
+
height: O < 0 ? 0 : O
|
|
122
|
+
};
|
|
123
|
+
}), T = h(() => _.dataset.map((a, l) => {
|
|
124
|
+
const t = nt(a.color) || Ae.value[l] || Q[l] || Q[l % Q.length];
|
|
125
|
+
return {
|
|
126
|
+
...a,
|
|
127
|
+
// In distributed mode, all values are converted to positive
|
|
128
|
+
series: JSON.parse(JSON.stringify(a.series)).map((o) => e.value.style.chart.bars.distributed ? Math.abs(o) : o),
|
|
129
|
+
// Store signs to manage display of neg values in distributed mode
|
|
130
|
+
signedSeries: a.series.map((o) => o >= 0 ? 1 : -1),
|
|
131
|
+
absoluteIndex: l,
|
|
132
|
+
id: Me(),
|
|
133
|
+
color: t
|
|
134
|
+
};
|
|
135
|
+
})), E = h(() => Math.max(...T.value.filter((a) => !p.value.includes(a.id)).map((a) => a.series.length))), u = v({
|
|
136
|
+
start: 0,
|
|
137
|
+
end: Math.max(..._.dataset.map((a) => a.series.length))
|
|
138
|
+
});
|
|
139
|
+
function Ee() {
|
|
140
|
+
u.value = {
|
|
141
|
+
start: 0,
|
|
142
|
+
end: Math.max(..._.dataset.map((a) => a.series.length))
|
|
143
|
+
}, ye.value += 1;
|
|
144
|
+
}
|
|
145
|
+
const L = h(() => {
|
|
146
|
+
const a = r.value.width / (u.value.end - u.value.start);
|
|
147
|
+
return a <= 0 ? 0 : a;
|
|
148
|
+
}), se = h(() => j(T.value.filter((a) => !p.value.includes(a.id))).slice(u.value.start, u.value.end)), He = h(() => j(T.value.filter((a) => !p.value.includes(a.id)).map((a) => ({
|
|
149
|
+
...a,
|
|
150
|
+
series: a.series.map((l, t) => a.signedSeries[t] === -1 && l >= 0 ? -l : l)
|
|
151
|
+
}))).slice(u.value.start, u.value.end)), q = h(() => {
|
|
152
|
+
const a = T.value.filter((l) => !p.value.includes(l.id));
|
|
153
|
+
return {
|
|
154
|
+
positive: j(a.map((l) => ({
|
|
155
|
+
...l,
|
|
156
|
+
series: l.series.slice(u.value.start, u.value.end).map((t) => t >= 0 ? t : 0)
|
|
157
|
+
}))),
|
|
158
|
+
negative: j(a.map((l) => ({
|
|
159
|
+
...l,
|
|
160
|
+
series: l.series.slice(u.value.start, u.value.end).map((t) => t < 0 ? t : 0)
|
|
161
|
+
})))
|
|
162
|
+
};
|
|
163
|
+
}), H = h(() => {
|
|
164
|
+
const a = Math.max(...q.value.positive), l = Math.min(...q.value.negative), t = [-1 / 0, 1 / 0, NaN, void 0, null].includes(l) ? 0 : l, o = Pe(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
|
|
165
|
+
return o.ticks.map((s) => ({
|
|
166
|
+
zero: r.value.bottom - r.value.height * (Math.abs(o.min) / (o.max + Math.abs(o.min))),
|
|
167
|
+
y: r.value.bottom - r.value.height * ((s + Math.abs(o.min)) / (o.max + Math.abs(o.min))),
|
|
168
|
+
x: r.value.left - 8,
|
|
169
|
+
value: s
|
|
170
|
+
}));
|
|
171
|
+
}), Z = h(() => e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)), g = h(() => {
|
|
172
|
+
if (!F.value) return [];
|
|
173
|
+
let a = Array(E.value).fill(0), l = Array(E.value).fill(0);
|
|
174
|
+
const t = Math.max(...q.value.positive) || 0, o = Math.min(...q.value.negative), s = [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, c = Pe(s > 0 ? 0 : s, t < 0 ? 0 : t, e.value.style.chart.grid.scale.ticks), { min: x, max: M } = c, O = M + (x >= 0 ? 0 : Math.abs(x)) || 1, N = r.value.height, B = H.value[0] ? H.value[0].zero : r.value.bottom;
|
|
175
|
+
return T.value.filter((S) => !p.value.includes(S.id)).map((S) => {
|
|
176
|
+
const R = S.series.slice(u.value.start, u.value.end), Ze = S.signedSeries.slice(u.value.start, u.value.end), Ke = R.map((y, k) => r.value.left + L.value * k + L.value * e.value.style.chart.bars.gapRatio / 4), Qe = R.map((y, k) => {
|
|
177
|
+
const U = e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / O;
|
|
178
|
+
let re, W;
|
|
179
|
+
return y > 0 ? (W = N * U, re = B - W - a[k], a[k] += W) : (W = N * U, re = B + l[k], l[k] += Math.abs(W)), re;
|
|
180
|
+
}), je = R.map((y, k) => {
|
|
181
|
+
const U = e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / O;
|
|
182
|
+
return y > 0 ? N * U : N * Math.abs(U);
|
|
183
|
+
}), et = R.map((y) => Math.abs(y)).reduce((y, k) => y + k, 0);
|
|
184
|
+
return {
|
|
185
|
+
...S,
|
|
186
|
+
proportions: R.map((y, k) => e.value.style.chart.bars.distributed ? (y || 0) / se.value[k] : (y || 0) / et),
|
|
187
|
+
series: R,
|
|
188
|
+
signedSeries: Ze,
|
|
189
|
+
x: Ke,
|
|
190
|
+
y: Qe,
|
|
191
|
+
height: je
|
|
192
|
+
};
|
|
193
|
+
});
|
|
194
|
+
}), Be = h(() => He.value.map((a, l) => ({
|
|
195
|
+
value: a,
|
|
196
|
+
sign: a >= 0 ? 1 : -1
|
|
197
|
+
})));
|
|
198
|
+
function we(a, l, t, o, s) {
|
|
199
|
+
const c = s === -1 && a >= 0 ? -a : a;
|
|
200
|
+
return Re(
|
|
201
|
+
e.value.style.chart.bars.dataLabels.formatter,
|
|
202
|
+
c,
|
|
203
|
+
D({
|
|
204
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
205
|
+
v: c,
|
|
206
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
207
|
+
r: e.value.style.chart.bars.dataLabels.rounding
|
|
208
|
+
}),
|
|
209
|
+
{ datapoint: l, seriesIndex: t, datapointIndex: o }
|
|
210
|
+
);
|
|
211
|
+
}
|
|
212
|
+
function Ue(a, l, t, o) {
|
|
213
|
+
return Re(
|
|
214
|
+
e.value.style.chart.bars.dataLabels.formatter,
|
|
215
|
+
a,
|
|
216
|
+
D({
|
|
217
|
+
v: a,
|
|
218
|
+
s: "%",
|
|
219
|
+
r: e.value.style.chart.bars.dataLabels.rounding
|
|
220
|
+
}),
|
|
221
|
+
{ datapoint: l, seriesIndex: t, datapointIndex: o }
|
|
222
|
+
);
|
|
223
|
+
}
|
|
224
|
+
function We(a) {
|
|
225
|
+
const l = JSON.parse(JSON.stringify(g.value)).map((t) => ({
|
|
226
|
+
name: t.name,
|
|
227
|
+
value: t.series[a] === 0 ? 0 : t.series[a] || null,
|
|
228
|
+
proportion: t.proportions[a] || null,
|
|
229
|
+
color: t.color,
|
|
230
|
+
id: t.id
|
|
231
|
+
}));
|
|
232
|
+
ne("selectDatapoint", { datapoint: l, period: Z.value[a] });
|
|
233
|
+
}
|
|
234
|
+
function Ge(a) {
|
|
235
|
+
oe.value = a, te.value = !0;
|
|
236
|
+
const l = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(g.value)).map((s) => ({
|
|
237
|
+
name: s.name,
|
|
238
|
+
value: s.series[a] === 0 ? 0 : (s.signedSeries[a] === -1 && s.series[a] >= 0 ? -s.series[a] : s.series[a]) || null,
|
|
239
|
+
proportion: s.proportions[a] || null,
|
|
240
|
+
color: s.color,
|
|
241
|
+
id: s.id
|
|
242
|
+
})), o = t.map((s) => Math.abs(s.value)).reduce((s, c) => s + c, 0);
|
|
243
|
+
if (Fe(l) && gt(() => l({
|
|
244
|
+
seriesIndex: a,
|
|
245
|
+
datapoint: t,
|
|
246
|
+
series: g.value,
|
|
247
|
+
config: e.value
|
|
248
|
+
})))
|
|
249
|
+
ae.value = l({
|
|
250
|
+
seriesIndex: a,
|
|
251
|
+
datapoint: t,
|
|
252
|
+
series: g.value,
|
|
253
|
+
config: e.value
|
|
254
|
+
});
|
|
255
|
+
else {
|
|
256
|
+
const {
|
|
257
|
+
showValue: s,
|
|
258
|
+
showPercentage: c,
|
|
259
|
+
borderColor: x,
|
|
260
|
+
roundingValue: M,
|
|
261
|
+
roundingPercentage: O
|
|
262
|
+
} = e.value.style.chart.tooltip;
|
|
263
|
+
let N = "";
|
|
264
|
+
Z.value[a] && (N += `<div style="width:100%;text-align:center;border-bottom:1px solid ${x};padding-bottom:6px;margin-bottom:3px;">${Z.value[a]}</div>`);
|
|
265
|
+
const B = [
|
|
266
|
+
s && c ? "(" : "",
|
|
267
|
+
s && c ? ")" : ""
|
|
268
|
+
];
|
|
269
|
+
t.reverse().forEach((S) => {
|
|
270
|
+
N += `
|
|
271
|
+
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
272
|
+
<svg viewBox="0 0 12 12" height="14" width="14"><rect rx="1" x="0" y="0" height="12" width="12" stroke="none" fill="${e.value.style.chart.bars.gradient.show ? `url(#gradient_${S.id})` : S.color}"/></svg>
|
|
273
|
+
${S.name}${s || c ? ":" : ""} ${s ? D({
|
|
274
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
275
|
+
v: S.value,
|
|
276
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
277
|
+
r: M
|
|
278
|
+
}) : ""} ${B[0]}${c ? D({
|
|
279
|
+
v: isNaN(S.value / o) ? 0 : Math.abs(S.value) / o * 100,
|
|
280
|
+
// Negs are absed to show relative proportion to absolute total. It's opinionated.
|
|
281
|
+
s: "%",
|
|
282
|
+
r: O
|
|
283
|
+
}) : ""}${B[1]}
|
|
284
|
+
</div>
|
|
285
|
+
`;
|
|
286
|
+
}), ae.value = `<div>${N}</div>`;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
function Ye(a) {
|
|
290
|
+
le.value = a, ve.value += 1;
|
|
291
|
+
}
|
|
292
|
+
function Ce() {
|
|
293
|
+
C.value.showTable = !C.value.showTable;
|
|
294
|
+
}
|
|
295
|
+
function Le() {
|
|
296
|
+
C.value.dataLabels.show = !C.value.dataLabels.show;
|
|
297
|
+
}
|
|
298
|
+
function Se() {
|
|
299
|
+
C.value.showTooltip = !C.value.showTooltip;
|
|
300
|
+
}
|
|
301
|
+
function Xe() {
|
|
302
|
+
return g.value;
|
|
303
|
+
}
|
|
304
|
+
const $e = h(() => {
|
|
305
|
+
if (g.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
306
|
+
const a = g.value.map(({ name: t, color: o }) => ({
|
|
307
|
+
label: t,
|
|
308
|
+
color: o
|
|
309
|
+
})), l = [];
|
|
310
|
+
for (let t = u.value.start; t < u.value.end; t += 1) {
|
|
311
|
+
const o = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
|
|
312
|
+
T.value.forEach((s) => {
|
|
313
|
+
o.push(Number((s.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
|
|
314
|
+
}), l.push(o);
|
|
315
|
+
}
|
|
316
|
+
return { head: a, body: l };
|
|
317
|
+
});
|
|
318
|
+
function _e() {
|
|
319
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = ["", ...$e.value.head.map((c) => c.label)], t = $e.value.body, o = a.concat([l]).concat(t), s = yt(o);
|
|
320
|
+
bt({ csvContent: s, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
|
|
321
|
+
}
|
|
322
|
+
const K = h(() => {
|
|
323
|
+
const a = [""].concat(g.value.map((s) => s.name)).concat(' <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2" /></svg>');
|
|
324
|
+
let l = [];
|
|
325
|
+
for (let s = 0; s < E.value; s += 1) {
|
|
326
|
+
const c = g.value.map((x) => x.series[s] ?? 0).reduce((x, M) => x + M, 0);
|
|
327
|
+
l.push([e.value.style.chart.grid.x.timeLabels.values.slice(u.value.start, u.value.end)[s] ?? s + 1].concat(g.value.map((x) => (x.series[s] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((c ?? 0).toFixed(e.value.table.td.roundingValue)));
|
|
328
|
+
}
|
|
329
|
+
const t = {
|
|
330
|
+
th: {
|
|
331
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
332
|
+
color: e.value.table.th.color,
|
|
333
|
+
outline: e.value.table.th.outline
|
|
334
|
+
},
|
|
335
|
+
td: {
|
|
336
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
337
|
+
color: e.value.table.td.color,
|
|
338
|
+
outline: e.value.table.td.outline
|
|
339
|
+
},
|
|
340
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
341
|
+
}, o = [e.value.table.columnNames.period].concat(g.value.map((s) => s.name)).concat(e.value.table.columnNames.total);
|
|
342
|
+
return { head: a, body: l.slice(0, u.value.end - u.value.start), config: t, colNames: o };
|
|
343
|
+
});
|
|
344
|
+
function Je(a, l) {
|
|
345
|
+
if (ne("selectLegend", g.value.find((t) => t.absoluteIndex === a)), p.value.includes(l.id))
|
|
346
|
+
p.value = p.value.filter((t) => t !== l.id);
|
|
347
|
+
else {
|
|
348
|
+
if (p.value.length === T.value.length - 1) return;
|
|
349
|
+
p.value.push(l.id);
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
const Te = h(() => T.value.map((a, l) => ({
|
|
353
|
+
...a,
|
|
354
|
+
shape: "square"
|
|
355
|
+
})).map((a) => ({
|
|
356
|
+
...a,
|
|
357
|
+
opacity: p.value.includes(a.id) ? 0.5 : 1,
|
|
358
|
+
segregate: () => Je(a.absoluteIndex, a),
|
|
359
|
+
isSegregated: p.value.includes(a.id)
|
|
360
|
+
}))), qe = h(() => ({
|
|
361
|
+
cy: "stackbar-legend",
|
|
362
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
363
|
+
color: e.value.style.chart.legend.color,
|
|
364
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
365
|
+
paddingBottom: 12,
|
|
366
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
367
|
+
}));
|
|
368
|
+
return Ve({
|
|
369
|
+
getData: Xe,
|
|
370
|
+
generatePdf: me,
|
|
371
|
+
generateCsv: _e,
|
|
372
|
+
generateImage: pe,
|
|
373
|
+
toggleTable: Ce,
|
|
374
|
+
toggleLabels: Le,
|
|
375
|
+
toggleTooltip: Se
|
|
376
|
+
}), (a, l) => (i(), n("div", {
|
|
377
|
+
id: `stackbar_${ee.value}`,
|
|
378
|
+
ref_key: "stackbarChart",
|
|
379
|
+
ref: A,
|
|
380
|
+
class: ze({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": le.value }),
|
|
381
|
+
style: G(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
|
|
382
|
+
}, [
|
|
383
|
+
b(a.$slots, "userConfig", {}, void 0, !0),
|
|
384
|
+
e.value.style.chart.title.text ? (i(), n("div", {
|
|
385
|
+
key: 0,
|
|
386
|
+
ref_key: "chartTitle",
|
|
387
|
+
ref: de,
|
|
388
|
+
style: G(`width:100%;background:${e.value.style.chart.backgroundColor};padding-bottom:24px`)
|
|
389
|
+
}, [
|
|
390
|
+
ie(Ct, {
|
|
391
|
+
config: {
|
|
392
|
+
title: {
|
|
393
|
+
cy: "stackbar-title",
|
|
394
|
+
...e.value.style.chart.title
|
|
395
|
+
},
|
|
396
|
+
subtitle: {
|
|
397
|
+
cy: "stackbar-subtitle",
|
|
398
|
+
...e.value.style.chart.title.subtitle
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
}, null, 8, ["config"])
|
|
402
|
+
], 4)) : d("", !0),
|
|
403
|
+
e.value.userOptions.show && F.value ? (i(), Y(xt, {
|
|
404
|
+
ref: "details",
|
|
405
|
+
key: `user_option_${ve.value}`,
|
|
406
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
407
|
+
color: e.value.style.chart.color,
|
|
408
|
+
isPrinting: w(be),
|
|
409
|
+
isImaging: w(fe),
|
|
410
|
+
uid: ee.value,
|
|
411
|
+
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
412
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
413
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
414
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
415
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
416
|
+
hasLabel: e.value.userOptions.buttons.labels,
|
|
417
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
418
|
+
isFullscreen: le.value,
|
|
419
|
+
chartElement: A.value,
|
|
420
|
+
isTooltip: C.value.showTooltip,
|
|
421
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
422
|
+
onToggleFullscreen: Ye,
|
|
423
|
+
onGeneratePdf: w(me),
|
|
424
|
+
onGenerateCsv: _e,
|
|
425
|
+
onGenerateImage: w(pe),
|
|
426
|
+
onToggleTable: Ce,
|
|
427
|
+
onToggleLabels: Le,
|
|
428
|
+
onToggleTooltip: Se
|
|
429
|
+
}, tt({ _: 2 }, [
|
|
430
|
+
a.$slots.optionTooltip ? {
|
|
431
|
+
name: "optionTooltip",
|
|
432
|
+
fn: f(() => [
|
|
433
|
+
b(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
434
|
+
]),
|
|
435
|
+
key: "0"
|
|
436
|
+
} : void 0,
|
|
437
|
+
a.$slots.optionPdf ? {
|
|
438
|
+
name: "optionPdf",
|
|
439
|
+
fn: f(() => [
|
|
440
|
+
b(a.$slots, "optionPdf", {}, void 0, !0)
|
|
441
|
+
]),
|
|
442
|
+
key: "1"
|
|
443
|
+
} : void 0,
|
|
444
|
+
a.$slots.optionCsv ? {
|
|
445
|
+
name: "optionCsv",
|
|
446
|
+
fn: f(() => [
|
|
447
|
+
b(a.$slots, "optionCsv", {}, void 0, !0)
|
|
448
|
+
]),
|
|
449
|
+
key: "2"
|
|
450
|
+
} : void 0,
|
|
451
|
+
a.$slots.optionImg ? {
|
|
452
|
+
name: "optionImg",
|
|
453
|
+
fn: f(() => [
|
|
454
|
+
b(a.$slots, "optionImg", {}, void 0, !0)
|
|
455
|
+
]),
|
|
456
|
+
key: "3"
|
|
457
|
+
} : void 0,
|
|
458
|
+
a.$slots.optionTable ? {
|
|
459
|
+
name: "optionTable",
|
|
460
|
+
fn: f(() => [
|
|
461
|
+
b(a.$slots, "optionTable", {}, void 0, !0)
|
|
462
|
+
]),
|
|
463
|
+
key: "4"
|
|
464
|
+
} : void 0,
|
|
465
|
+
a.$slots.optionLabels ? {
|
|
466
|
+
name: "optionLabels",
|
|
467
|
+
fn: f(() => [
|
|
468
|
+
b(a.$slots, "optionLabels", {}, void 0, !0)
|
|
469
|
+
]),
|
|
470
|
+
key: "5"
|
|
471
|
+
} : void 0,
|
|
472
|
+
a.$slots.optionFullscreen ? {
|
|
473
|
+
name: "optionFullscreen",
|
|
474
|
+
fn: f(({ toggleFullscreen: t, isFullscreen: o }) => [
|
|
475
|
+
b(a.$slots, "optionFullscreen", I(V({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
|
|
476
|
+
]),
|
|
477
|
+
key: "6"
|
|
478
|
+
} : void 0
|
|
479
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "isTooltip", "titles", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
480
|
+
F.value ? (i(), n("svg", {
|
|
481
|
+
key: 2,
|
|
482
|
+
xmlns: w(ct),
|
|
483
|
+
viewBox: `0 0 ${r.value.chartWidth <= 0 ? 10 : r.value.chartWidth} ${r.value.chartHeight <= 0 ? 10 : r.value.chartHeight}`,
|
|
484
|
+
style: G(`max-width:100%;overflow:visible;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color}`)
|
|
485
|
+
}, [
|
|
486
|
+
e.value.style.chart.bars.gradient.show ? (i(), n("defs", Mt, [
|
|
487
|
+
(i(!0), n(m, null, $(g.value, (t, o) => (i(), n("linearGradient", {
|
|
488
|
+
id: `gradient_${t.id}`,
|
|
489
|
+
x1: "0%",
|
|
490
|
+
y1: "0%",
|
|
491
|
+
x2: "0%",
|
|
492
|
+
y2: "100%"
|
|
493
|
+
}, [
|
|
494
|
+
P("stop", {
|
|
495
|
+
offset: "0%",
|
|
496
|
+
"stop-color": t.color
|
|
497
|
+
}, null, 8, Pt),
|
|
498
|
+
P("stop", {
|
|
499
|
+
offset: "61.8%",
|
|
500
|
+
"stop-color": w(vt)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
|
|
501
|
+
}, null, 8, Ft),
|
|
502
|
+
P("stop", {
|
|
503
|
+
offset: "100%",
|
|
504
|
+
"stop-color": t.color
|
|
505
|
+
}, null, 8, Rt)
|
|
506
|
+
], 8, Ot))), 256))
|
|
507
|
+
])) : d("", !0),
|
|
508
|
+
e.value.style.chart.grid.x.showHorizontalLines ? (i(!0), n(m, { key: 1 }, $(H.value, (t, o) => (i(), n("line", {
|
|
509
|
+
x1: r.value.left,
|
|
510
|
+
x2: r.value.right,
|
|
511
|
+
y1: t.y,
|
|
512
|
+
y2: t.y,
|
|
513
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
514
|
+
"stroke-width": 1
|
|
515
|
+
}, null, 8, It))), 256)) : d("", !0),
|
|
516
|
+
e.value.style.chart.grid.y.showVerticalLines ? (i(!0), n(m, { key: 2 }, $(u.value.end - u.value.start + 1, (t, o) => (i(), n("line", {
|
|
517
|
+
x1: r.value.left + L.value * o,
|
|
518
|
+
x2: r.value.left + L.value * o,
|
|
519
|
+
y1: r.value.top,
|
|
520
|
+
y2: r.value.bottom,
|
|
521
|
+
stroke: e.value.style.chart.grid.y.axisColor,
|
|
522
|
+
"stroke-width": 1
|
|
523
|
+
}, null, 8, Vt))), 256)) : d("", !0),
|
|
524
|
+
(i(!0), n(m, null, $(g.value, (t, o) => (i(), n("g", null, [
|
|
525
|
+
(i(!0), n(m, null, $(t.x, (s, c) => (i(), n("rect", {
|
|
526
|
+
x: s,
|
|
527
|
+
y: t.y[c] < 0 ? 0 : t.y[c],
|
|
528
|
+
height: t.height[c] < 0 ? 1e-4 : t.height[c],
|
|
529
|
+
rx: e.value.style.chart.bars.borderRadius > t.height[c] / 2 ? (t.height[c] < 0 ? 0 : t.height[c]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
530
|
+
width: L.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
531
|
+
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
|
|
532
|
+
stroke: e.value.style.chart.backgroundColor,
|
|
533
|
+
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
534
|
+
"stroke-linecap": "round",
|
|
535
|
+
"stroke-linejoin": "round",
|
|
536
|
+
class: ze({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": X.value })
|
|
537
|
+
}, null, 10, Dt))), 256))
|
|
538
|
+
]))), 256)),
|
|
539
|
+
e.value.style.chart.grid.x.showAxis ? (i(), n("line", {
|
|
540
|
+
key: 3,
|
|
541
|
+
x1: r.value.left,
|
|
542
|
+
x2: r.value.right,
|
|
543
|
+
y1: r.value.bottom,
|
|
544
|
+
y2: r.value.bottom,
|
|
545
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
546
|
+
"stroke-width": e.value.style.chart.grid.x.axisThickness,
|
|
547
|
+
"stroke-linecap": "round",
|
|
548
|
+
"stroke-linejoin": "round"
|
|
549
|
+
}, null, 8, At)) : d("", !0),
|
|
550
|
+
e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (i(), n("line", {
|
|
551
|
+
key: 4,
|
|
552
|
+
x1: r.value.left,
|
|
553
|
+
x2: r.value.left,
|
|
554
|
+
y1: r.value.top,
|
|
555
|
+
y2: r.value.bottom,
|
|
556
|
+
stroke: e.value.style.chart.grid.y.axisColor,
|
|
557
|
+
"stroke-width": e.value.style.chart.grid.y.axisThickness,
|
|
558
|
+
"stroke-linecap": "round",
|
|
559
|
+
"stroke-linejoin": "round"
|
|
560
|
+
}, null, 8, Et)) : d("", !0),
|
|
561
|
+
e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (i(), n("text", {
|
|
562
|
+
key: 5,
|
|
563
|
+
x: r.value.left + r.value.width / 2,
|
|
564
|
+
y: r.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
|
|
565
|
+
"font-size": e.value.style.chart.grid.x.axisName.fontSize,
|
|
566
|
+
fill: e.value.style.chart.grid.x.axisName.color,
|
|
567
|
+
"font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
568
|
+
"text-anchor": "middle"
|
|
569
|
+
}, z(e.value.style.chart.grid.x.axisName.text), 9, Ht)) : d("", !0),
|
|
570
|
+
e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (i(), n("text", {
|
|
571
|
+
key: 6,
|
|
572
|
+
transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${r.value.top + r.value.height / 2}) rotate(-90)`,
|
|
573
|
+
"font-size": e.value.style.chart.grid.y.axisName.fontSize,
|
|
574
|
+
fill: e.value.style.chart.grid.y.axisName.color,
|
|
575
|
+
"font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
576
|
+
"text-anchor": "middle"
|
|
577
|
+
}, z(e.value.style.chart.grid.y.axisName.text), 9, Bt)) : d("", !0),
|
|
578
|
+
C.value.dataLabels.show ? (i(), n(m, { key: 7 }, [
|
|
579
|
+
(i(!0), n(m, null, $(g.value, (t, o) => (i(), n("g", null, [
|
|
580
|
+
(i(!0), n(m, null, $(t.x, (s, c) => (i(), n("text", {
|
|
581
|
+
x: s + L.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
|
|
582
|
+
y: t.y[c] + t.height[c] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
583
|
+
"font-size": e.value.style.chart.bars.dataLabels.fontSize,
|
|
584
|
+
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? w(dt)(t.color) : e.value.style.chart.bars.dataLabels.color,
|
|
585
|
+
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
586
|
+
"text-anchor": "middle"
|
|
587
|
+
}, z(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ue(t.proportions[c] * 100, t, o, c) : we(t.series[c], t, o, c, t.signedSeries[c])), 9, Ut))), 256))
|
|
588
|
+
]))), 256)),
|
|
589
|
+
e.value.style.chart.bars.totalValues.show && g.value.length > 1 ? (i(), n("g", Wt, [
|
|
590
|
+
(i(!0), n(m, null, $(Be.value, (t, o) => (i(), n("text", {
|
|
591
|
+
x: r.value.left + L.value * o + L.value / 2,
|
|
592
|
+
y: r.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
|
|
593
|
+
"text-anchor": "middle",
|
|
594
|
+
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
595
|
+
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
596
|
+
fill: e.value.style.chart.bars.totalValues.color
|
|
597
|
+
}, z(we(t.value, t, o, t.sign)), 9, Gt))), 256))
|
|
598
|
+
])) : d("", !0)
|
|
599
|
+
], 64)) : d("", !0),
|
|
600
|
+
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed ? (i(), n(m, { key: 8 }, [
|
|
601
|
+
(i(!0), n(m, null, $(H.value, (t, o) => (i(), n("line", {
|
|
602
|
+
x1: r.value.left,
|
|
603
|
+
x2: r.value.left - 6,
|
|
604
|
+
y1: t.y,
|
|
605
|
+
y2: t.y,
|
|
606
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
607
|
+
"stroke-width": 1
|
|
608
|
+
}, null, 8, Yt))), 256)),
|
|
609
|
+
(i(!0), n(m, null, $(H.value, (t, o) => (i(), n("text", {
|
|
610
|
+
x: t.x,
|
|
611
|
+
y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
612
|
+
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
613
|
+
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
614
|
+
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
615
|
+
"text-anchor": "end"
|
|
616
|
+
}, z(w(D)({
|
|
617
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
618
|
+
v: t.value,
|
|
619
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
620
|
+
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
621
|
+
})), 9, Xt))), 256))
|
|
622
|
+
], 64)) : d("", !0),
|
|
623
|
+
e.value.style.chart.grid.x.timeLabels.show ? (i(!0), n(m, { key: 9 }, $(Z.value, (t, o) => (i(), n("text", {
|
|
624
|
+
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
625
|
+
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
626
|
+
"font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
|
|
627
|
+
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
628
|
+
transform: `translate(${r.value.left + L.value * o + L.value / 2}, ${r.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`
|
|
629
|
+
}, z(t), 9, Jt))), 256)) : d("", !0),
|
|
630
|
+
C.value.showTooltip ? (i(!0), n(m, { key: 10 }, $(u.value.end - u.value.start, (t, o) => (i(), n("rect", {
|
|
631
|
+
x: r.value.left + o * L.value,
|
|
632
|
+
y: r.value.top,
|
|
633
|
+
width: L.value,
|
|
634
|
+
height: r.value.height < 0 ? 0 : r.value.height,
|
|
635
|
+
onClick: (s) => We(o),
|
|
636
|
+
onMouseenter: (s) => Ge(o),
|
|
637
|
+
onMouseleave: l[0] || (l[0] = (s) => {
|
|
638
|
+
oe.value = null, te.value = !1;
|
|
639
|
+
}),
|
|
640
|
+
fill: o === oe.value ? e.value.style.chart.highlighter.color + w(ht)[e.value.style.chart.highlighter.opacity] : "transparent"
|
|
641
|
+
}, null, 40, qt))), 256)) : d("", !0),
|
|
642
|
+
b(a.$slots, "svg", I(V({ ...r.value })), void 0, !0)
|
|
643
|
+
], 12, zt)) : d("", !0),
|
|
644
|
+
a.$slots.watermark ? (i(), n("div", Zt, [
|
|
645
|
+
b(a.$slots, "watermark", I(V({ isPrinting: w(be) || w(fe) })), void 0, !0)
|
|
646
|
+
])) : d("", !0),
|
|
647
|
+
F.value ? d("", !0) : (i(), Y(_t, {
|
|
648
|
+
key: 4,
|
|
649
|
+
config: {
|
|
650
|
+
type: "bar",
|
|
651
|
+
style: {
|
|
652
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
653
|
+
bar: {
|
|
654
|
+
axis: {
|
|
655
|
+
color: "#CCCCCC"
|
|
656
|
+
},
|
|
657
|
+
color: "#CCCCCC"
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
}, null, 8, ["config"])),
|
|
662
|
+
P("div", {
|
|
663
|
+
ref_key: "chartSlicer",
|
|
664
|
+
ref: ge,
|
|
665
|
+
style: G(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
666
|
+
"data-html2canvas-ignore": ""
|
|
667
|
+
}, [
|
|
668
|
+
e.value.style.chart.zoom.show && E.value > 1 ? (i(), Y(kt, {
|
|
669
|
+
key: `slicer_${ye.value}`,
|
|
670
|
+
background: e.value.style.chart.zoom.color,
|
|
671
|
+
borderColor: e.value.style.chart.backgroundColor,
|
|
672
|
+
fontSize: e.value.style.chart.zoom.fontSize,
|
|
673
|
+
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
674
|
+
labelLeft: e.value.style.chart.grid.x.timeLabels.values[u.value.start] ? e.value.style.chart.grid.x.timeLabels.values[u.value.start] : "",
|
|
675
|
+
labelRight: e.value.style.chart.grid.x.timeLabels.values[u.value.end - 1] ? e.value.style.chart.grid.x.timeLabels.values[u.value.end - 1] : "",
|
|
676
|
+
textColor: e.value.style.chart.color,
|
|
677
|
+
inputColor: e.value.style.chart.zoom.color,
|
|
678
|
+
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
679
|
+
max: Math.max(...ue.dataset.map((t) => t.series.length)),
|
|
680
|
+
min: 0,
|
|
681
|
+
valueStart: u.value.start,
|
|
682
|
+
valueEnd: u.value.end,
|
|
683
|
+
start: u.value.start,
|
|
684
|
+
"onUpdate:start": l[1] || (l[1] = (t) => u.value.start = t),
|
|
685
|
+
end: u.value.end,
|
|
686
|
+
"onUpdate:end": l[2] || (l[2] = (t) => u.value.end = t),
|
|
687
|
+
onReset: Ee
|
|
688
|
+
}, {
|
|
689
|
+
"reset-action": f(({ reset: t }) => [
|
|
690
|
+
b(a.$slots, "reset-action", I(V({ reset: t })), void 0, !0)
|
|
691
|
+
]),
|
|
692
|
+
_: 3
|
|
693
|
+
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"])) : d("", !0)
|
|
694
|
+
], 4),
|
|
695
|
+
ie(wt, {
|
|
696
|
+
show: C.value.showTooltip && te.value,
|
|
697
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
698
|
+
color: e.value.style.chart.tooltip.color,
|
|
699
|
+
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
700
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
701
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
702
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
703
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
704
|
+
position: e.value.style.chart.tooltip.position,
|
|
705
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
706
|
+
parent: A.value,
|
|
707
|
+
content: ae.value,
|
|
708
|
+
isCustom: w(Fe)(e.value.style.chart.tooltip.customFormat)
|
|
709
|
+
}, {
|
|
710
|
+
"tooltip-before": f(() => [
|
|
711
|
+
b(a.$slots, "tooltip-before", I(V({ ...ce.value })), void 0, !0)
|
|
712
|
+
]),
|
|
713
|
+
"tooltip-after": f(() => [
|
|
714
|
+
b(a.$slots, "tooltip-after", I(V({ ...ce.value })), void 0, !0)
|
|
715
|
+
]),
|
|
716
|
+
_: 3
|
|
717
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
718
|
+
P("div", {
|
|
719
|
+
ref_key: "chartLegend",
|
|
720
|
+
ref: he
|
|
721
|
+
}, [
|
|
722
|
+
e.value.style.chart.legend.show && F.value ? (i(), Y(Lt, {
|
|
723
|
+
key: 0,
|
|
724
|
+
legendSet: Te.value,
|
|
725
|
+
config: qe.value,
|
|
726
|
+
onClickMarker: l[3] || (l[3] = ({ legend: t }) => t.segregate())
|
|
727
|
+
}, {
|
|
728
|
+
item: f(({ legend: t }) => [
|
|
729
|
+
P("div", {
|
|
730
|
+
onClick: (o) => t.segregate(),
|
|
731
|
+
style: G(`opacity:${p.value.includes(t.id) ? 0.5 : 1}`)
|
|
732
|
+
}, z(t.name), 13, Kt)
|
|
733
|
+
]),
|
|
734
|
+
_: 1
|
|
735
|
+
}, 8, ["legendSet", "config"])) : b(a.$slots, "legend", {
|
|
736
|
+
key: 1,
|
|
737
|
+
legend: Te.value
|
|
738
|
+
}, void 0, !0)
|
|
739
|
+
], 512),
|
|
740
|
+
u.value.end - u.value.start < 200 ? (i(), Y(St, {
|
|
741
|
+
key: 5,
|
|
742
|
+
hideDetails: "",
|
|
743
|
+
config: {
|
|
744
|
+
open: C.value.showTable,
|
|
745
|
+
maxHeight: 1e4,
|
|
746
|
+
body: {
|
|
747
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
748
|
+
color: e.value.style.chart.color
|
|
749
|
+
},
|
|
750
|
+
head: {
|
|
751
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
752
|
+
color: e.value.style.chart.color
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
}, {
|
|
756
|
+
content: f(() => [
|
|
757
|
+
ie($t, {
|
|
758
|
+
colNames: K.value.colNames,
|
|
759
|
+
head: K.value.head,
|
|
760
|
+
body: K.value.body,
|
|
761
|
+
config: K.value.config,
|
|
762
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
763
|
+
onClose: l[4] || (l[4] = (t) => C.value.showTable = !1)
|
|
764
|
+
}, {
|
|
765
|
+
th: f(({ th: t }) => [
|
|
766
|
+
P("div", { innerHTML: t }, null, 8, Qt)
|
|
767
|
+
]),
|
|
768
|
+
td: f(({ td: t }) => [
|
|
769
|
+
at(z(isNaN(Number(t)) ? t : w(D)({
|
|
770
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
771
|
+
v: t,
|
|
772
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
773
|
+
r: e.value.table.td.roundingValue
|
|
774
|
+
})), 1)
|
|
775
|
+
]),
|
|
776
|
+
_: 1
|
|
777
|
+
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
778
|
+
]),
|
|
779
|
+
_: 1
|
|
780
|
+
}, 8, ["config"])) : d("", !0)
|
|
781
|
+
], 14, Nt));
|
|
782
|
+
}
|
|
783
|
+
}, ha = /* @__PURE__ */ Tt(jt, [["__scopeId", "data-v-b55a4b06"]]);
|
|
784
|
+
export {
|
|
785
|
+
ha as default
|
|
786
|
+
};
|