vue-data-ui 2.3.44 → 2.3.46
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-lVmaBZkc.cjs → Arrow-C45xNtet.cjs} +1 -1
- package/dist/{Arrow-nNje1ulZ.js → Arrow-QBHviXQB.js} +1 -1
- package/dist/{BaseIcon-CKfFgKNf.js → BaseIcon-Ct3EasCg.js} +1 -1
- package/dist/{BaseIcon-DVZfZ-bL.cjs → BaseIcon-NNgCqsH0.cjs} +1 -1
- package/dist/{DataTable-C1-LQ9kU.cjs → DataTable-BGF6x8iX.cjs} +1 -1
- package/dist/{DataTable-BRBTZQqC.js → DataTable-CkeQ7c6_.js} +2 -2
- package/dist/{Legend-Wzo5EwiV.cjs → Legend-DjuRskVd.cjs} +1 -1
- package/dist/{Legend-CBclUqQE.js → Legend-aFYc_s9T.js} +1 -1
- package/dist/{Shape-B0yFykoL.cjs → Shape-BTMZlA5Q.cjs} +1 -1
- package/dist/{Shape-COYrBpTA.js → Shape-DoAgLIYa.js} +1 -1
- package/dist/{Slicer-fdCI8qWb.cjs → Slicer-BCr6bV0X.cjs} +1 -1
- package/dist/{Slicer-DeKlCzs9.js → Slicer-I9LVm-u8.js} +1 -1
- package/dist/{Title-BNmjrAmy.js → Title-D8HoSXgM.js} +1 -1
- package/dist/{Title-ac0Tzobx.cjs → Title-NelrBSGO.cjs} +1 -1
- package/dist/{Tooltip-CUSoSjeD.cjs → Tooltip-CK94hatv.cjs} +1 -1
- package/dist/{Tooltip-kARe11oF.js → Tooltip-DTwn_FW5.js} +1 -1
- package/dist/{index-RX-sax8u.js → index-C1-FJ0sT.js} +203 -197
- package/dist/index-CEhe8nzy.cjs +4 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +3 -0
- package/dist/types/vue-data-ui.d.ts +3 -0
- package/dist/{useNestedProp-wLyS1qg3.js → useNestedProp-1fJhHDhT.js} +1 -1
- package/dist/{useNestedProp-ZSgzlkKZ.cjs → useNestedProp-CcMb2mLY.cjs} +1 -1
- package/dist/{usePrinter-Dz8P4PrQ.cjs → usePrinter-AfD8nrd2.cjs} +1 -1
- package/dist/{usePrinter-pEo9G4KY.js → usePrinter-B1a6uNio.js} +1 -1
- package/dist/{vue-data-ui-PIOw96xJ.cjs → vue-data-ui-DfYg-sm0.cjs} +1 -1
- package/dist/{vue-data-ui-DoqWcxpg.js → vue-data-ui-DgzO0vYA.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-D4ugNLFv.cjs → vue-ui-3d-bar-DctYjGhv.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-B4kbEKT8.js → vue-ui-3d-bar-ikMJ_M47.js} +7 -7
- package/dist/{vue-ui-accordion-SU0hvMyf.js → vue-ui-accordion-BLoKd0D-.js} +3 -3
- package/dist/{vue-ui-accordion-BQfkZ2Fd.cjs → vue-ui-accordion-CS2POBdq.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Dj3CbYws.cjs → vue-ui-age-pyramid-6GljtWMq.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-B2B2jipH.js → vue-ui-age-pyramid-C9hzFCN4.js} +8 -8
- package/dist/{vue-ui-annotator-B4WY-W96.cjs → vue-ui-annotator-BFTGfEfF.cjs} +1 -1
- package/dist/{vue-ui-annotator-B38AOspl.js → vue-ui-annotator-DgdkTVYV.js} +1 -1
- package/dist/{vue-ui-candlestick-BX28jnUA.js → vue-ui-candlestick-BW-okjzH.js} +9 -9
- package/dist/{vue-ui-candlestick-C_85JG6p.cjs → vue-ui-candlestick-C31d7Jvz.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-BKPkc33T.js → vue-ui-carousel-table-Cw7Vpun2.js} +4 -4
- package/dist/{vue-ui-carousel-table-CiDmXd8Y.cjs → vue-ui-carousel-table-DlFu0byl.cjs} +1 -1
- package/dist/{vue-ui-chestnut-CGFb3yM2.cjs → vue-ui-chestnut-B-H0j9-6.cjs} +1 -1
- package/dist/{vue-ui-chestnut-2K97h81h.js → vue-ui-chestnut-SLvSoUlS.js} +6 -6
- package/dist/{vue-ui-cursor-DN6xr3nT.js → vue-ui-cursor-BnoYo8DD.js} +2 -2
- package/dist/{vue-ui-cursor-DOIIfQfX.cjs → vue-ui-cursor-eMGHt_Cm.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D_H43fxs.cjs → vue-ui-dashboard-BpwA8NTi.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CFJfMnW1.js → vue-ui-dashboard-cOx4Zbit.js} +2 -2
- package/dist/{vue-ui-digits-DoFQJ6ye.cjs → vue-ui-digits-MhR768JU.cjs} +1 -1
- package/dist/{vue-ui-digits-D1sBPU-b.js → vue-ui-digits-wo7Gctkj.js} +2 -2
- package/dist/{vue-ui-donut-DCKJRNhh.cjs → vue-ui-donut-C4bFM2ww.cjs} +1 -1
- package/dist/{vue-ui-donut-BOkeHJmg.js → vue-ui-donut-CABoxvoV.js} +9 -9
- package/dist/{vue-ui-donut-evolution-BVfgqCAa.cjs → vue-ui-donut-evolution-DzkcS9ET.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CVChdWDx.js → vue-ui-donut-evolution-r6wIb3Tt.js} +9 -9
- package/dist/{vue-ui-dumbbell-B_nLz9mF.js → vue-ui-dumbbell-D3pvOoxP.js} +8 -8
- package/dist/{vue-ui-dumbbell-CAqglrag.cjs → vue-ui-dumbbell-DSSBvwhU.cjs} +1 -1
- package/dist/{vue-ui-flow-DAy7OWc2.js → vue-ui-flow-CCMFNXxy.js} +7 -7
- package/dist/{vue-ui-flow-AK4gWqNd.cjs → vue-ui-flow-Cp7EQLnA.cjs} +1 -1
- package/dist/{vue-ui-galaxy-dYrRlxj0.js → vue-ui-galaxy-BVu0ZEeg.js} +9 -9
- package/dist/{vue-ui-galaxy-CN1h5FZm.cjs → vue-ui-galaxy-DHXdjlQl.cjs} +1 -1
- package/dist/{vue-ui-gauge-vH_nn0vx.js → vue-ui-gauge-DRy_VLi-.js} +5 -5
- package/dist/{vue-ui-gauge-BQwOev1K.cjs → vue-ui-gauge-nnDuY2_P.cjs} +1 -1
- package/dist/{vue-ui-gizmo-eS4XXOgq.js → vue-ui-gizmo-B8rEv-J5.js} +2 -2
- package/dist/{vue-ui-gizmo-BaMtgUef.cjs → vue-ui-gizmo-Bhqq90Gt.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CfQqnd1M.js → vue-ui-heatmap-CESWvx6H.js} +8 -8
- package/dist/{vue-ui-heatmap-DOLn5piI.cjs → vue-ui-heatmap-DoEghJHO.cjs} +1 -1
- package/dist/{vue-ui-kpi-CvCoN7CE.js → vue-ui-kpi-CBH1WOLl.js} +3 -3
- package/dist/{vue-ui-kpi-l2MRy6h9.cjs → vue-ui-kpi-CHrIMR-b.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-ac_hCdZA.cjs → vue-ui-mini-loader-CP5HRcth.cjs} +1 -1
- package/dist/{vue-ui-mini-loader-CuRlbUQF.js → vue-ui-mini-loader-YjK49sOM.js} +2 -2
- package/dist/{vue-ui-molecule-Bv-v4WBT.cjs → vue-ui-molecule-BIuegM-N.cjs} +1 -1
- package/dist/{vue-ui-molecule-BgW25jqW.js → vue-ui-molecule-CZDSsnRY.js} +9 -9
- package/dist/{vue-ui-mood-radar-Dp_CgtVn.js → vue-ui-mood-radar-CcnUPS5r.js} +9 -9
- package/dist/{vue-ui-mood-radar-rk3wrRpE.cjs → vue-ui-mood-radar-DYTpiKG1.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts--JGjV59I.cjs → vue-ui-nested-donuts-CvPo6PIH.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-D41M6d-5.js → vue-ui-nested-donuts-Dk0HSrH4.js} +9 -9
- package/dist/{vue-ui-onion-BaazweOI.js → vue-ui-onion-C93R_Klx.js} +9 -9
- package/dist/{vue-ui-onion-Dzuhw8Y3.cjs → vue-ui-onion-C_Dy0awV.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-BSaqSFVM.cjs → vue-ui-parallel-coordinate-plot-Do8zOqso.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Dec8TPLy.js → vue-ui-parallel-coordinate-plot-aEJjFh7V.js} +10 -10
- package/dist/{vue-ui-quadrant-BDLc3Gxw.js → vue-ui-quadrant-7zsx3EOw.js} +10 -10
- package/dist/{vue-ui-quadrant-BqNSzKPZ.cjs → vue-ui-quadrant-CMP5gv34.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CpNYfh1z.cjs → vue-ui-quick-chart-DlKpBf-X.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-CmWcXqKE.js → vue-ui-quick-chart-yGY2-cME.js} +6 -6
- package/dist/{vue-ui-radar-eOuJE8zH.js → vue-ui-radar-CBAE5b_H.js} +10 -10
- package/dist/{vue-ui-radar-CCHVebWS.cjs → vue-ui-radar-FvOQWErL.cjs} +1 -1
- package/dist/{vue-ui-rating-ChR7JmUp.cjs → vue-ui-rating-D4ytgNsW.cjs} +1 -1
- package/dist/{vue-ui-rating-Qjyodf8S.js → vue-ui-rating-DCX9Hr51.js} +2 -2
- package/dist/{vue-ui-relation-circle-BO5RERci.cjs → vue-ui-relation-circle-C0t4M_Eb.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-B3hL2PT7.js → vue-ui-relation-circle-C5uvdRCs.js} +5 -5
- package/dist/{vue-ui-rings-Cd_STL36.cjs → vue-ui-rings-CljU3aO-.cjs} +1 -1
- package/dist/{vue-ui-rings-CXfZ9XhE.js → vue-ui-rings-Cx9I0XCp.js} +9 -9
- package/dist/{vue-ui-scatter-BwN3h_43.cjs → vue-ui-scatter-BkvHY89U.cjs} +1 -1
- package/dist/{vue-ui-scatter-DjREew2O.js → vue-ui-scatter-BxrCbWPm.js} +10 -10
- package/dist/{vue-ui-screenshot-Cnc7zmf5.cjs → vue-ui-screenshot-B198lkuF.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DSczef-u.js → vue-ui-screenshot-Cf9NK_5w.js} +1 -1
- package/dist/{vue-ui-skeleton-CFx7wegx.js → vue-ui-skeleton-DogpCRv2.js} +2 -2
- package/dist/{vue-ui-skeleton-B3I4L51F.cjs → vue-ui-skeleton-DpqVx122.cjs} +1 -1
- package/dist/{vue-ui-smiley-Bpb_RAXE.cjs → vue-ui-smiley-Hv5SONWU.cjs} +1 -1
- package/dist/{vue-ui-smiley-CFPh7_gg.js → vue-ui-smiley-wnlpDBHn.js} +2 -2
- package/dist/{vue-ui-spark-trend-poSc_8OY.cjs → vue-ui-spark-trend-DBFYuxbh.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-C5Q_XOKH.js → vue-ui-spark-trend-_STSpU0x.js} +4 -4
- package/dist/{vue-ui-sparkbar-skWyToQg.js → vue-ui-sparkbar-B2C4gKQS.js} +3 -3
- package/dist/{vue-ui-sparkbar-CNy_3RJN.cjs → vue-ui-sparkbar-D1OrFmz5.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-d-LTd2S_.cjs → vue-ui-sparkgauge-CgX6ZpW7.cjs} +1 -1
- package/dist/{vue-ui-sparkgauge-CZpfBAP4.js → vue-ui-sparkgauge-fsJt_SRA.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-BkfhKPi2.cjs → vue-ui-sparkhistogram-CV8k8NPB.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-0htrwNwY.js → vue-ui-sparkhistogram-gue0JMvB.js} +4 -4
- package/dist/{vue-ui-sparkline-BBlg_5SH.js → vue-ui-sparkline-ClFxAQkz.js} +3 -3
- package/dist/{vue-ui-sparkline-ORHsW_3h.cjs → vue-ui-sparkline-DN7RZ5FX.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-B0hc7a5Y.js → vue-ui-sparkstackbar-3D6MkgTR.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-kWvsyt_R.cjs → vue-ui-sparkstackbar-Dxy0P3xJ.cjs} +1 -1
- package/dist/vue-ui-stackbar-BY0bcCBX.cjs +6 -0
- package/dist/vue-ui-stackbar-DAFHq-wh.js +897 -0
- package/dist/{vue-ui-strip-plot-BxpUOCtS.js → vue-ui-strip-plot-B3ItWHyf.js} +9 -9
- package/dist/{vue-ui-strip-plot-ChempVMX.cjs → vue-ui-strip-plot-lfB-YBkt.cjs} +1 -1
- package/dist/{vue-ui-table-CiJxG7DF.cjs → vue-ui-table-CiksARcd.cjs} +1 -1
- package/dist/{vue-ui-table-6LeE9-Di.js → vue-ui-table-Dxc80GV0.js} +1 -1
- package/dist/{vue-ui-table-heatmap-BwFAqdF5.js → vue-ui-table-heatmap-AI2JeTUR.js} +4 -4
- package/dist/{vue-ui-table-heatmap-rO8vNnId.cjs → vue-ui-table-heatmap-C_Wr83fl.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CkdPJpBy.cjs → vue-ui-table-sparkline-BPYQI2Vo.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-D467Jh1F.js → vue-ui-table-sparkline-D2KWAYWO.js} +5 -5
- package/dist/{vue-ui-thermometer-BnmPU3GD.cjs → vue-ui-thermometer-BopRBXkF.cjs} +1 -1
- package/dist/{vue-ui-thermometer-CvEudPLx.js → vue-ui-thermometer-szsOVqgO.js} +5 -5
- package/dist/{vue-ui-timer-BeBR3Quk.js → vue-ui-timer-CpuqP9iZ.js} +4 -4
- package/dist/{vue-ui-timer-CHIVe58Y.cjs → vue-ui-timer-Ctcaiaej.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CAuwXXbq.js → vue-ui-tiremarks-9P4vBFZV.js} +5 -5
- package/dist/{vue-ui-tiremarks-lOirAxZ6.cjs → vue-ui-tiremarks-Cge2TXFU.cjs} +1 -1
- package/dist/{vue-ui-treemap-DHxxbiun.cjs → vue-ui-treemap-BxdorPsS.cjs} +1 -1
- package/dist/{vue-ui-treemap-CUiOr_h_.js → vue-ui-treemap-CLOwIrHN.js} +9 -9
- package/dist/{vue-ui-vertical-bar--pPasMmy.cjs → vue-ui-vertical-bar-BREOjM7U.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-ZWnyojw_.js → vue-ui-vertical-bar-Br8Slvab.js} +9 -9
- package/dist/{vue-ui-waffle-CSfAfoYA.js → vue-ui-waffle-B62b9gwj.js} +9 -9
- package/dist/{vue-ui-waffle-o3Ma4Ps3.cjs → vue-ui-waffle-CPqrsii3.cjs} +1 -1
- package/dist/{vue-ui-wheel-BD-PZ7Oh.js → vue-ui-wheel-B3Nw-ICG.js} +5 -5
- package/dist/{vue-ui-wheel-BxEO4n2n.cjs → vue-ui-wheel-HqeFI8W9.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-CeSKTtaT.cjs → vue-ui-word-cloud-B_W87vAs.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B1AUYOjb.js → vue-ui-word-cloud-HgAIxI93.js} +7 -7
- package/dist/{vue-ui-xy-DeEUEySp.cjs → vue-ui-xy-CWQd12R4.cjs} +1 -1
- package/dist/{vue-ui-xy-DK2WkNdd.js → vue-ui-xy-DpqyiCx6.js} +12 -12
- package/dist/{vue-ui-xy-canvas-BTMotEgF.cjs → vue-ui-xy-canvas-5f_5ULEA.cjs} +1 -1
- package/dist/{vue-ui-xy-canvas-BBoqHWnZ.js → vue-ui-xy-canvas-CjGlVtb_.js} +10 -10
- package/package.json +1 -1
- package/dist/index-CWGchQHo.cjs +0 -4
- package/dist/vue-ui-stackbar-CBB0xhoF.js +0 -786
- package/dist/vue-ui-stackbar-n7e_yhY9.cjs +0 -6
|
@@ -1,786 +0,0 @@
|
|
|
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, a0 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-RX-sax8u.js";
|
|
3
|
-
import { u as Ie } from "./useNestedProp-wLyS1qg3.js";
|
|
4
|
-
import { t as ft, u as mt } from "./useResponsive-NZB-WLRF.js";
|
|
5
|
-
import { u as pt, U as xt } from "./usePrinter-pEo9G4KY.js";
|
|
6
|
-
import { S as kt } from "./Slicer-DeKlCzs9.js";
|
|
7
|
-
import { _ as wt } from "./Tooltip-kARe11oF.js";
|
|
8
|
-
import { _ as Ct } from "./Title-BNmjrAmy.js";
|
|
9
|
-
import { L as Lt } from "./Legend-CBclUqQE.js";
|
|
10
|
-
import St from "./vue-ui-accordion-SU0hvMyf.js";
|
|
11
|
-
import { D as $t } from "./DataTable-BRBTZQqC.js";
|
|
12
|
-
import _t from "./vue-ui-skeleton-CFx7wegx.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
|
-
};
|