vue-data-ui 2.4.42 → 2.4.44
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/README.md +34 -34
- package/dist/{Arrow-DTscDttD.cjs → Arrow-D7FfpPjv.cjs} +1 -1
- package/dist/{Arrow-DE71uBJZ.js → Arrow-DabU4Tq7.js} +1 -1
- package/dist/{BaseIcon-C8XxmpRq.js → BaseIcon-DgOZGFA6.js} +1 -1
- package/dist/{BaseIcon-COOfxsl_.cjs → BaseIcon-vmPfwVXS.cjs} +1 -1
- package/dist/{DataTable-D_w08xos.js → DataTable-ByILXTgq.js} +2 -2
- package/dist/{DataTable-DEdQvqB1.cjs → DataTable-WzoXT7XP.cjs} +1 -1
- package/dist/{Legend-BWDoQii_.js → Legend-CJAbBncx.js} +1 -1
- package/dist/{Legend-C4rlR-Ge.cjs → Legend-eRHr8IFu.cjs} +1 -1
- package/dist/{PackageVersion-CH6MCx6T.js → PackageVersion-2fR7Awu1.js} +1 -1
- package/dist/{PackageVersion-DKyD7D76.cjs → PackageVersion-DylCZJMA.cjs} +1 -1
- package/dist/{PenAndPaper-Dc2zn4C0.cjs → PenAndPaper-2aIJsXNH.cjs} +1 -1
- package/dist/{PenAndPaper-BWTR3U2d.js → PenAndPaper-wVL9QD9U.js} +3 -3
- package/dist/{Shape-xrlfL_v4.js → Shape-JMJZs7By.js} +1 -1
- package/dist/{Shape-BLS-KzBD.cjs → Shape-nGoGILeB.cjs} +1 -1
- package/dist/{Slicer-8gKX0l4Q.cjs → Slicer-BLuFaL8r.cjs} +1 -1
- package/dist/{Slicer-DIYseEL1.js → Slicer-Ce0VzdTY.js} +2 -2
- package/dist/{Title-B-xkTfi8.cjs → Title-CtfsoH8U.cjs} +1 -1
- package/dist/{Title-Cnl9ySNH.js → Title-Dj5wajqV.js} +1 -1
- package/dist/{Tooltip-Brbj6DqX.cjs → Tooltip-6D9aABEX.cjs} +1 -1
- package/dist/{Tooltip-DEAOBZ8h.js → Tooltip-Zrcwpy3T.js} +6 -6
- package/dist/documentation/installation.md +34 -34
- package/dist/{index-DnukYspq.js → index-D3_dyp9t.js} +4 -2
- package/dist/index-ZAR4YEAn.cjs +9 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +2 -0
- package/dist/types/vue-data-ui.d.ts +2 -0
- package/dist/{useNestedProp-es9bVqY_.cjs → useNestedProp-C8Y0yWDq.cjs} +1 -1
- package/dist/{useNestedProp-CVOQGx-X.js → useNestedProp-qwG6HgrL.js} +1 -1
- package/dist/{usePrinter-DVIALk5e.js → usePrinter-41NUZdgl.js} +1 -1
- package/dist/{usePrinter-C9yUesCc.cjs → usePrinter-Cw4E_LYe.cjs} +1 -1
- package/dist/{vue-data-ui-BmmjmNbb.js → vue-data-ui-CKlgRX2w.js} +60 -60
- package/dist/{vue-data-ui-LA94HAVo.cjs → vue-data-ui-DPujYnT2.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +1 -1
- package/dist/{vue-ui-3d-bar-DYswbvC_.cjs → vue-ui-3d-bar-CURLeBAg.cjs} +1 -1
- package/dist/{vue-ui-3d-bar-CnVJAgFO.js → vue-ui-3d-bar-DFqYSjKF.js} +9 -9
- package/dist/{vue-ui-accordion-f9NTID9e.js → vue-ui-accordion-DbKFz7vP.js} +3 -3
- package/dist/{vue-ui-accordion-D_K9gNUR.cjs → vue-ui-accordion-zOz2K8wY.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-Bj9K08ws.cjs → vue-ui-age-pyramid-BzwQxubx.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-CL0RB7mU.js → vue-ui-age-pyramid-DVjZHG-c.js} +10 -10
- package/dist/{vue-ui-annotator-DhwUZ4WB.cjs → vue-ui-annotator-CU8bDkP0.cjs} +1 -1
- package/dist/{vue-ui-annotator-C82vEb7R.js → vue-ui-annotator-ZDqHg-kV.js} +1 -1
- package/dist/{vue-ui-bullet-BxYYiFnu.js → vue-ui-bullet-BaQJ3acV.js} +8 -8
- package/dist/{vue-ui-bullet-D6KC5yoe.cjs → vue-ui-bullet-Dt0Ki37L.cjs} +1 -1
- package/dist/{vue-ui-candlestick-Duf3yfwR.js → vue-ui-candlestick-C5Pzu7U1.js} +11 -11
- package/dist/{vue-ui-candlestick-lunuQ9Ka.cjs → vue-ui-candlestick-CMubhqre.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-4z9ZACSk.cjs → vue-ui-carousel-table-CL6njZH4.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-DQymYeK0.js → vue-ui-carousel-table-CPE1nggj.js} +4 -4
- package/dist/{vue-ui-chestnut-DDNLUSav.js → vue-ui-chestnut-B7zSDFfA.js} +8 -8
- package/dist/{vue-ui-chestnut-iRODkXaw.cjs → vue-ui-chestnut-DHF2jlte.cjs} +1 -1
- package/dist/{vue-ui-cursor-Bdud_Fxg.js → vue-ui-cursor-GKguDqwJ.js} +2 -2
- package/dist/{vue-ui-cursor-Bt_SieMc.cjs → vue-ui-cursor-PG2njvGA.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BzRR9Ra7.cjs → vue-ui-dashboard-D2w_aK31.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CeVkJPeG.js → vue-ui-dashboard-u_haUFHY.js} +2 -2
- package/dist/{vue-ui-digits-DF3oLaaR.cjs → vue-ui-digits-DQetGFnZ.cjs} +1 -1
- package/dist/{vue-ui-digits-DtNvb8lM.js → vue-ui-digits-DjMZxTuZ.js} +2 -2
- package/dist/{vue-ui-donut-C028OlzU.js → vue-ui-donut-CmRH-JB2.js} +243 -243
- package/dist/vue-ui-donut-DQcISN6U.cjs +1 -0
- package/dist/{vue-ui-donut-evolution-2vQPsBFq.cjs → vue-ui-donut-evolution-XrPuyr-U.cjs} +1 -1
- package/dist/{vue-ui-donut-evolution-CprYApXF.js → vue-ui-donut-evolution-YntzBUIL.js} +11 -11
- package/dist/{vue-ui-dumbbell-CS8pY-mj.cjs → vue-ui-dumbbell-CCwYiUwP.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-BV2LN5qt.js → vue-ui-dumbbell-DmgUkc9m.js} +10 -10
- package/dist/{vue-ui-flow-QRimZUXT.js → vue-ui-flow-CZkXzt4D.js} +9 -9
- package/dist/{vue-ui-flow-iNWWhp7U.cjs → vue-ui-flow-Ca2cA45D.cjs} +1 -1
- package/dist/{vue-ui-funnel-BL8vtmsw.cjs → vue-ui-funnel-CJAT8_1R.cjs} +1 -1
- package/dist/{vue-ui-funnel-CBymVSdd.js → vue-ui-funnel-z2OgL3Q1.js} +8 -8
- package/dist/{vue-ui-galaxy-KP3A9HVX.js → vue-ui-galaxy-CGhDJ3tA.js} +11 -11
- package/dist/{vue-ui-galaxy-DSJrMBzj.cjs → vue-ui-galaxy-bgA3s7VZ.cjs} +1 -1
- package/dist/{vue-ui-gauge-H9j8Dq5h.cjs → vue-ui-gauge-F-bvIFfG.cjs} +1 -1
- package/dist/{vue-ui-gauge-BuU0DDG0.js → vue-ui-gauge-NtnSEvX5.js} +7 -7
- package/dist/{vue-ui-gizmo-M7RalwJ6.js → vue-ui-gizmo-Bq56LDKo.js} +3 -3
- package/dist/{vue-ui-gizmo-Bl9JoMk1.cjs → vue-ui-gizmo-DBIefin8.cjs} +1 -1
- package/dist/{vue-ui-heatmap-BXWWh4iN.cjs → vue-ui-heatmap-C0NUwPN7.cjs} +1 -1
- package/dist/{vue-ui-heatmap-DSkfyl8j.js → vue-ui-heatmap-Dbrlismo.js} +10 -10
- package/dist/{vue-ui-history-plot-CYSDr-GH.js → vue-ui-history-plot-CMAu0w0K.js} +11 -11
- package/dist/{vue-ui-history-plot-BUoUHKx6.cjs → vue-ui-history-plot-Cd0Qgkox.cjs} +1 -1
- package/dist/{vue-ui-kpi-BXe7HQIh.cjs → vue-ui-kpi-C1a3ONse.cjs} +1 -1
- package/dist/{vue-ui-kpi-BvUaC7JA.js → vue-ui-kpi-CkRUVNcg.js} +3 -3
- package/dist/{vue-ui-mini-loader-DM8ShcKo.js → vue-ui-mini-loader-BVvBbruK.js} +2 -2
- package/dist/{vue-ui-mini-loader-zbjxzJTp.cjs → vue-ui-mini-loader-DZ1q-GO6.cjs} +1 -1
- package/dist/{vue-ui-molecule-BdIRpOM9.cjs → vue-ui-molecule-C-tmrnHA.cjs} +1 -1
- package/dist/{vue-ui-molecule-CZi84tUl.js → vue-ui-molecule-DlXNe42L.js} +11 -11
- package/dist/{vue-ui-mood-radar-DipV_UPN.cjs → vue-ui-mood-radar-DYXE1dDD.cjs} +1 -1
- package/dist/{vue-ui-mood-radar-DDnbuNdv.js → vue-ui-mood-radar-DzHvFqno.js} +11 -11
- package/dist/{vue-ui-nested-donuts-DuxVLzDH.cjs → vue-ui-nested-donuts-BpcKwKFO.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Chuuvtu-.js → vue-ui-nested-donuts-DDpYr89I.js} +11 -11
- package/dist/{vue-ui-onion-CIRGvycb.js → vue-ui-onion-B9CAGc1E.js} +11 -11
- package/dist/{vue-ui-onion-CvlwZgpu.cjs → vue-ui-onion-_WXwSygI.cjs} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-jv7L5_x8.js → vue-ui-parallel-coordinate-plot-CdvYxx2S.js} +12 -12
- package/dist/{vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs → vue-ui-parallel-coordinate-plot-DL5vZwuT.cjs} +1 -1
- package/dist/{vue-ui-quadrant-CjjXU43-.js → vue-ui-quadrant-CILC-e-o.js} +12 -12
- package/dist/{vue-ui-quadrant-ks_4yK85.cjs → vue-ui-quadrant-ivKVYVXn.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-Br2gTOPk.cjs → vue-ui-quick-chart-DW3XlvkG.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BAVQ2SJ2.js → vue-ui-quick-chart-NIE0zUjt.js} +9 -9
- package/dist/{vue-ui-radar-CXXAYowO.js → vue-ui-radar-BonXp2ML.js} +12 -12
- package/dist/{vue-ui-radar-kjh9y4cm.cjs → vue-ui-radar-D9WtkmKW.cjs} +1 -1
- package/dist/{vue-ui-rating-EEIqiBgY.cjs → vue-ui-rating-3akEkZ0G.cjs} +1 -1
- package/dist/{vue-ui-rating-DOqMciYJ.js → vue-ui-rating-DblWs0Ay.js} +2 -2
- package/dist/{vue-ui-relation-circle-CR3iWQV_.js → vue-ui-relation-circle-BaPqJcbF.js} +7 -7
- package/dist/{vue-ui-relation-circle-BEv568py.cjs → vue-ui-relation-circle-Bv5QA1FA.cjs} +1 -1
- package/dist/{vue-ui-rings-B--CFaNX.js → vue-ui-rings-DHa-dc3s.js} +11 -11
- package/dist/{vue-ui-rings-CgvWaw5N.cjs → vue-ui-rings-KRi0yCa1.cjs} +1 -1
- package/dist/{vue-ui-scatter-ChWlgb1L.cjs → vue-ui-scatter-C-0G6tO_.cjs} +1 -1
- package/dist/{vue-ui-scatter-C-RD4h73.js → vue-ui-scatter-CKnKyeDJ.js} +12 -12
- package/dist/{vue-ui-screenshot-CtjCOun0.cjs → vue-ui-screenshot-BIvS3Dva.cjs} +1 -1
- package/dist/{vue-ui-screenshot-C6-MOj7h.js → vue-ui-screenshot-BnQlv1n0.js} +1 -1
- package/dist/{vue-ui-skeleton-CXdyOF4T.js → vue-ui-skeleton-CaV7JuCg.js} +3 -3
- package/dist/{vue-ui-skeleton-DGCkWrND.cjs → vue-ui-skeleton-urNi7er0.cjs} +1 -1
- package/dist/{vue-ui-smiley-AYBZK1EE.cjs → vue-ui-smiley-BDJWFNUb.cjs} +1 -1
- package/dist/{vue-ui-smiley-CHXnJeLu.js → vue-ui-smiley-BkKHZRcE.js} +2 -2
- package/dist/{vue-ui-spark-trend-DO5rDGRm.js → vue-ui-spark-trend-C6B6URVX.js} +5 -5
- package/dist/{vue-ui-spark-trend-D2wIBOvT.cjs → vue-ui-spark-trend-Jrg-tgH_.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-COUcdDjn.cjs → vue-ui-sparkbar-CcPXRX01.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-CU3UNgHm.js → vue-ui-sparkbar-D7A9EKVi.js} +4 -4
- package/dist/{vue-ui-sparkgauge-0810df6b.js → vue-ui-sparkgauge-C1kcwrm9.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DrJzwEAh.cjs → vue-ui-sparkgauge-ZQOdaaF1.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-j7MGEYYJ.cjs → vue-ui-sparkhistogram-CZQzNQHQ.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-CENPsEeO.js → vue-ui-sparkhistogram-DkMaK9FC.js} +5 -5
- package/dist/{vue-ui-sparkline-CXMea9Ki.cjs → vue-ui-sparkline-DuJlR_56.cjs} +1 -1
- package/dist/{vue-ui-sparkline-BOYreaxT.js → vue-ui-sparkline-JNv27Q7M.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-JvKmnoEy.js → vue-ui-sparkstackbar-4YKk6S2y.js} +5 -5
- package/dist/{vue-ui-sparkstackbar-BJIo5y1n.cjs → vue-ui-sparkstackbar-BStYMSiJ.cjs} +1 -1
- package/dist/vue-ui-stackbar-BKhScZJ4.cjs +6 -0
- package/dist/vue-ui-stackbar-BrBToOgd.js +1026 -0
- package/dist/{vue-ui-strip-plot-8MxOeTM_.js → vue-ui-strip-plot-BB9AjuXc.js} +11 -11
- package/dist/{vue-ui-strip-plot-CmIS1Osx.cjs → vue-ui-strip-plot-BSbIVJLB.cjs} +1 -1
- package/dist/{vue-ui-table-CS-NSZjj.js → vue-ui-table-BkfBNufP.js} +1 -1
- package/dist/{vue-ui-table-hVmeT8wY.cjs → vue-ui-table-CTwEo09l.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-k9e_RrhC.cjs → vue-ui-table-heatmap-BRa-idSR.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CGHYZFJy.js → vue-ui-table-heatmap-t6NXIulS.js} +4 -4
- package/dist/{vue-ui-table-sparkline-CRnJVQmO.js → vue-ui-table-sparkline-CtVdHOeS.js} +5 -5
- package/dist/{vue-ui-table-sparkline-DiMZ_mh6.cjs → vue-ui-table-sparkline-LRvAe8DG.cjs} +1 -1
- package/dist/{vue-ui-thermometer-43jmlgFC.cjs → vue-ui-thermometer-Bkj9olK0.cjs} +1 -1
- package/dist/{vue-ui-thermometer-D2BUcsvF.js → vue-ui-thermometer-Dqy_A9Ka.js} +7 -7
- package/dist/{vue-ui-timer-Dc6zOjxq.js → vue-ui-timer-BkWR-FS3.js} +5 -5
- package/dist/{vue-ui-timer-BO9Ipy0W.cjs → vue-ui-timer-C2WYUfS1.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CMUTe1vY.cjs → vue-ui-tiremarks-BXumbUyZ.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-ejt0fqPg.js → vue-ui-tiremarks-Dl881FpL.js} +7 -7
- package/dist/{vue-ui-treemap-DqSHqaJK.cjs → vue-ui-treemap-CvNWsOoE.cjs} +1 -1
- package/dist/{vue-ui-treemap-DD8tFk9R.js → vue-ui-treemap-Vl47y-4n.js} +11 -11
- package/dist/{vue-ui-vertical-bar-CxydSPHF.js → vue-ui-vertical-bar-BzkqxE45.js} +11 -11
- package/dist/{vue-ui-vertical-bar-D4dYglan.cjs → vue-ui-vertical-bar-D1EoKlII.cjs} +1 -1
- package/dist/{vue-ui-waffle-DYdcFM17.js → vue-ui-waffle-Bd4Wn4LE.js} +11 -11
- package/dist/{vue-ui-waffle-CHWAepdl.cjs → vue-ui-waffle-C6cN0uw8.cjs} +1 -1
- package/dist/{vue-ui-wheel-CxtgGGpt.js → vue-ui-wheel-D1SsLAru.js} +7 -7
- package/dist/{vue-ui-wheel-_ynSyF3l.cjs → vue-ui-wheel-OGoTipOg.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-B0AhPT0k.js → vue-ui-word-cloud-C6vq-XKZ.js} +10 -10
- package/dist/{vue-ui-word-cloud-Ct16Xxaw.cjs → vue-ui-word-cloud-Da4dHp_U.cjs} +1 -1
- package/dist/{vue-ui-xy-B3346TfB.js → vue-ui-xy-Bbih4XkZ.js} +847 -805
- package/dist/vue-ui-xy-DXLSyett.cjs +3 -0
- package/dist/{vue-ui-xy-canvas-W7YGqG7f.js → vue-ui-xy-canvas-Dtv9a_jF.js} +11 -11
- package/dist/{vue-ui-xy-canvas-DtPqmu7B.cjs → vue-ui-xy-canvas-GffgFKCU.cjs} +1 -1
- package/package.json +1 -1
- package/dist/index-B68kzBN9.cjs +0 -9
- package/dist/vue-ui-donut-o09QqVJO.cjs +0 -1
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +0 -6
- package/dist/vue-ui-stackbar-C3-hx7VM.js +0 -960
- package/dist/vue-ui-xy-DHYbKvBg.cjs +0 -3
|
@@ -0,0 +1,1026 @@
|
|
|
1
|
+
import { computed as x, ref as y, onMounted as qe, watch as Ze, nextTick as ne, openBlock as r, createElementBlock as i, normalizeClass as pe, normalizeStyle as U, createBlock as J, createCommentVNode as d, renderSlot as k, createVNode as ue, unref as _, createSlots as _t, withCtx as z, normalizeProps as O, guardReactiveProps as P, Fragment as h, renderList as f, createElementVNode as B, toDisplayString as S, createTextVNode as Lt } from "vue";
|
|
2
|
+
import { u as St, c as Ke, t as $t, a as Mt, p as ce, C as ve, b as Tt, o as Nt, e as Qe, g as It, d as Ot, a7 as he, a3 as je, D as et, X as Pt, l as At, G as tt, f as W, x as at, i as lt, y as Rt, q as Vt, r as Ft } from "./index-D3_dyp9t.js";
|
|
3
|
+
import { u as ot } from "./useNestedProp-qwG6HgrL.js";
|
|
4
|
+
import { t as Dt, u as Et } from "./useResponsive-CoxXLe23.js";
|
|
5
|
+
import { u as Ht, U as Bt } from "./usePrinter-41NUZdgl.js";
|
|
6
|
+
import { S as Wt } from "./Slicer-Ce0VzdTY.js";
|
|
7
|
+
import { _ as Yt } from "./Tooltip-Zrcwpy3T.js";
|
|
8
|
+
import { _ as Xt } from "./Title-Dj5wajqV.js";
|
|
9
|
+
import { L as Gt } from "./Legend-CJAbBncx.js";
|
|
10
|
+
import Ut from "./vue-ui-accordion-DbKFz7vP.js";
|
|
11
|
+
import { D as Jt } from "./DataTable-ByILXTgq.js";
|
|
12
|
+
import qt from "./vue-ui-skeleton-CaV7JuCg.js";
|
|
13
|
+
import { _ as Zt } from "./PackageVersion-2fR7Awu1.js";
|
|
14
|
+
import { P as Kt } from "./PenAndPaper-wVL9QD9U.js";
|
|
15
|
+
import { _ as Qt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
16
|
+
const jt = ["id"], ea = ["xmlns", "viewBox"], ta = { key: 0 }, aa = ["id"], la = ["stop-color"], oa = ["stop-color"], ra = ["stop-color"], sa = ["x1", "x2", "y1", "y2", "stroke"], ia = ["x1", "x2", "y1", "y2", "stroke"], na = ["x1", "x2", "y1", "y2", "stroke"], ua = ["x1", "x2", "y1", "y2", "stroke"], ca = ["x", "y", "height", "rx", "width", "fill", "stroke", "stroke-width"], va = ["x", "y", "width", "rx", "height", "fill", "stroke", "stroke-width"], ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = ["x", "y", "font-size", "fill", "font-weight"], ga = ["transform", "font-size", "fill", "font-weight"], ba = ["x", "y", "font-size", "fill", "font-weight"], fa = { key: 0 }, ma = ["x", "y", "font-size", "font-weight", "fill"], pa = ["x", "y", "font-size", "fill", "font-weight"], xa = { key: 0 }, ka = ["x", "y", "font-size", "font-weight", "fill"], wa = ["x1", "x2", "y1", "y2", "stroke"], za = ["x", "y", "font-size", "font-weight", "fill"], Ca = ["x1", "x2", "y1", "y2", "stroke"], _a = ["font-size", "font-weight", "fill", "text-anchor", "transform"], La = { key: 0 }, Sa = { key: 1 }, $a = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ma = { key: 0 }, Ta = { key: 1 }, Na = ["font-size", "font-weight", "fill", "x", "y", "onClick"], Ia = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Oa = ["x", "y", "width", "height", "onClick", "onMouseenter", "fill"], Pa = {
|
|
17
|
+
key: 4,
|
|
18
|
+
class: "vue-data-ui-watermark"
|
|
19
|
+
}, Aa = ["onClick"], Ra = ["innerHTML"], Va = {
|
|
20
|
+
__name: "vue-ui-stackbar",
|
|
21
|
+
props: {
|
|
22
|
+
config: {
|
|
23
|
+
type: Object,
|
|
24
|
+
default() {
|
|
25
|
+
return {};
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
dataset: {
|
|
29
|
+
type: Array,
|
|
30
|
+
default() {
|
|
31
|
+
return [];
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: ["selectDatapoint", "selectLegend", "selectTimeLabel"],
|
|
36
|
+
setup(de, { expose: rt, emit: ye }) {
|
|
37
|
+
const g = de, { vue_ui_stackbar: st } = St(), Y = x({
|
|
38
|
+
get() {
|
|
39
|
+
return !!g.dataset && g.dataset.length;
|
|
40
|
+
},
|
|
41
|
+
set(a) {
|
|
42
|
+
return a;
|
|
43
|
+
}
|
|
44
|
+
}), X = y(null), ge = y(Ke()), ee = y(!1), xe = y(null), be = y(""), L = y([]), ke = y(0), we = y(null), ze = y(null), Ce = y(null), _e = y(null), Le = y(0), te = y(!1), q = y(null), Z = y(!1), it = y(0), nt = y(0), ut = y(0), G = y(null);
|
|
45
|
+
qe(() => {
|
|
46
|
+
fe();
|
|
47
|
+
});
|
|
48
|
+
const e = x({
|
|
49
|
+
get: () => Se(),
|
|
50
|
+
set: (a) => a
|
|
51
|
+
});
|
|
52
|
+
function Se() {
|
|
53
|
+
const a = ot({
|
|
54
|
+
userConfig: g.config,
|
|
55
|
+
defaultConfig: st
|
|
56
|
+
});
|
|
57
|
+
let o = {};
|
|
58
|
+
return a.theme ? o = {
|
|
59
|
+
...ot({
|
|
60
|
+
userConfig: $t.vue_ui_stackbar[a.theme] || g.config,
|
|
61
|
+
defaultConfig: a
|
|
62
|
+
}),
|
|
63
|
+
customPalette: Mt[a.theme] || ce
|
|
64
|
+
} : o = a, g.config && ve(g.config, "style.chart.grid.scale.scaleMin") ? o.style.chart.grid.scale.scaleMin = g.config.style.chart.grid.scale.scaleMin : o.style.chart.grid.scale.scaleMin = null, g.config && ve(g.config, "style.chart.grid.scale.scaleMax") ? o.style.chart.grid.scale.scaleMax = g.config.style.chart.grid.scale.scaleMax : o.style.chart.grid.scale.scaleMax = null, g.config && ve(g.config, "style.chart.zoom.startIndex") ? o.style.chart.zoom.startIndex = g.config.style.chart.zoom.startIndex : o.style.chart.zoom.startIndex = null, g.config && ve(g.config, "style.chart.zoom.endIndex") ? o.style.chart.zoom.endIndex = g.config.style.chart.zoom.endIndex : o.style.chart.zoom.endIndex = null, o;
|
|
65
|
+
}
|
|
66
|
+
Ze(() => g.config, (a) => {
|
|
67
|
+
e.value = Se(), fe(), it.value += 1, nt.value += 1, ut.value += 1;
|
|
68
|
+
}, { deep: !0 }), Ze(() => g.dataset, (a) => {
|
|
69
|
+
Pe();
|
|
70
|
+
}, { deep: !0 });
|
|
71
|
+
const C = y({
|
|
72
|
+
dataLabels: {
|
|
73
|
+
show: e.value.style.chart.bars.dataLabels.show
|
|
74
|
+
},
|
|
75
|
+
showTable: e.value.table.show,
|
|
76
|
+
showTooltip: e.value.style.chart.tooltip.show
|
|
77
|
+
}), { isPrinting: $e, isImaging: Me, generatePdf: Te, generateImage: Ne } = Ht({
|
|
78
|
+
elementId: `stackbar_${ge.value}`,
|
|
79
|
+
fileName: e.value.style.chart.title.text || "vue-ui-stackbar"
|
|
80
|
+
}), ae = y({
|
|
81
|
+
width: e.value.style.chart.width,
|
|
82
|
+
height: e.value.style.chart.height,
|
|
83
|
+
paddingRatio: {
|
|
84
|
+
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
85
|
+
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
86
|
+
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
87
|
+
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
88
|
+
}
|
|
89
|
+
}), ct = x(() => Tt(e.value.customPalette)), Ie = y(null), Oe = y(null);
|
|
90
|
+
qe(() => {
|
|
91
|
+
fe();
|
|
92
|
+
});
|
|
93
|
+
function fe() {
|
|
94
|
+
if (Nt(g.dataset) ? Qe({
|
|
95
|
+
componentName: "VueUiStackbar",
|
|
96
|
+
type: "dataset"
|
|
97
|
+
}) : g.dataset.forEach((a, o) => {
|
|
98
|
+
It({
|
|
99
|
+
datasetObject: a,
|
|
100
|
+
requiredAttributes: ["name", "series"]
|
|
101
|
+
}).forEach((t) => {
|
|
102
|
+
Y.value = !1, Qe({
|
|
103
|
+
componentName: "VueUiStackbar",
|
|
104
|
+
type: "datasetSerieAttribute",
|
|
105
|
+
property: t,
|
|
106
|
+
index: o
|
|
107
|
+
});
|
|
108
|
+
});
|
|
109
|
+
}), setTimeout(() => {
|
|
110
|
+
Z.value = !0;
|
|
111
|
+
}, 10), e.value.responsive) {
|
|
112
|
+
const a = Dt(() => {
|
|
113
|
+
Z.value = !1;
|
|
114
|
+
const { width: o, height: t } = Et({
|
|
115
|
+
chart: X.value,
|
|
116
|
+
title: e.value.style.chart.title.text ? we.value : null,
|
|
117
|
+
legend: e.value.style.chart.legend.show ? ze.value : null,
|
|
118
|
+
slicer: e.value.style.chart.zoom.show && R.value > 1 ? Ce.value : null,
|
|
119
|
+
source: _e.value
|
|
120
|
+
});
|
|
121
|
+
ae.value.width = o, ae.value.height = t, clearTimeout(Oe.value), Oe.value = setTimeout(() => {
|
|
122
|
+
Z.value = !0;
|
|
123
|
+
}, 10);
|
|
124
|
+
});
|
|
125
|
+
Ie.value = new ResizeObserver(a), Ie.value.observe(X.value.parentNode);
|
|
126
|
+
}
|
|
127
|
+
Ae();
|
|
128
|
+
}
|
|
129
|
+
const s = x(() => {
|
|
130
|
+
const { height: a, width: o } = ae.value, { right: t } = ae.value.paddingRatio, l = e.value.style.chart.padding.top, n = o - o * t, u = a - e.value.style.chart.padding.bottom, w = e.value.style.chart.padding.left, F = o - w - o * t, D = a - l - e.value.style.chart.padding.bottom;
|
|
131
|
+
return {
|
|
132
|
+
chartHeight: a,
|
|
133
|
+
chartWidth: o,
|
|
134
|
+
top: l,
|
|
135
|
+
right: n,
|
|
136
|
+
bottom: u,
|
|
137
|
+
left: w,
|
|
138
|
+
width: F,
|
|
139
|
+
height: D < 0 ? 0 : D
|
|
140
|
+
};
|
|
141
|
+
}), A = x(() => g.dataset.map((a, o) => {
|
|
142
|
+
const t = Ot(a.color) || ct.value[o] || ce[o] || ce[o % ce.length];
|
|
143
|
+
return {
|
|
144
|
+
...a,
|
|
145
|
+
// In distributed mode, all values are converted to positive
|
|
146
|
+
series: JSON.parse(JSON.stringify(a.series)).map((l) => e.value.style.chart.bars.distributed ? Math.abs(l) : l),
|
|
147
|
+
// Store signs to manage display of neg values in distributed mode
|
|
148
|
+
signedSeries: a.series.map((l) => l >= 0 ? 1 : -1),
|
|
149
|
+
absoluteIndex: o,
|
|
150
|
+
id: Ke(),
|
|
151
|
+
color: t
|
|
152
|
+
};
|
|
153
|
+
})), R = x(() => Math.max(...A.value.filter((a) => !L.value.includes(a.id)).map((a) => a.series.length))), c = y({
|
|
154
|
+
start: 0,
|
|
155
|
+
end: Math.max(...g.dataset.map((a) => a.series.length))
|
|
156
|
+
});
|
|
157
|
+
function Pe() {
|
|
158
|
+
Ae();
|
|
159
|
+
}
|
|
160
|
+
async function Ae() {
|
|
161
|
+
(e.value.style.chart.zoom.startIndex !== null || e.value.style.chart.zoom.endIndex !== null) && G.value ? (e.value.style.chart.zoom.startIndex !== null && (await ne(), await ne(), G.value && G.value.setStartValue(e.value.style.chart.zoom.startIndex)), e.value.style.chart.zoom.endIndex !== null && (await ne(), await ne(), G.value && G.value.setEndValue(vt(e.value.style.chart.zoom.endIndex + 1)))) : (c.value = {
|
|
162
|
+
start: 0,
|
|
163
|
+
end: Math.max(...g.dataset.map((a) => a.series.length))
|
|
164
|
+
}, Le.value += 1);
|
|
165
|
+
}
|
|
166
|
+
function vt(a) {
|
|
167
|
+
const o = Math.max(...g.dataset.map((t) => t.series.length));
|
|
168
|
+
return a > o ? o : a < 0 || e.value.style.chart.zoom.startIndex !== null && a < e.value.style.chart.zoom.startIndex ? e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex + 1 : 1 : a;
|
|
169
|
+
}
|
|
170
|
+
const v = x(() => {
|
|
171
|
+
let a;
|
|
172
|
+
return e.value.orientation === "vertical" ? a = s.value.width / (c.value.end - c.value.start) : a = s.value.height / (c.value.end - c.value.start), a <= 0 ? 0 : a;
|
|
173
|
+
}), K = x(() => he(A.value.filter((a) => !L.value.includes(a.id))).slice(c.value.start, c.value.end)), ht = x(() => he(A.value.filter((a) => !L.value.includes(a.id)).map((a) => ({
|
|
174
|
+
...a,
|
|
175
|
+
series: a.series.map((o, t) => a.signedSeries[t] === -1 && o >= 0 ? -o : o)
|
|
176
|
+
}))).slice(c.value.start, c.value.end)), le = x(() => {
|
|
177
|
+
const a = A.value.filter((o) => !L.value.includes(o.id));
|
|
178
|
+
return {
|
|
179
|
+
positive: he(a.map((o) => ({
|
|
180
|
+
...o,
|
|
181
|
+
series: o.series.slice(c.value.start, c.value.end).map((t) => t >= 0 ? t : 0)
|
|
182
|
+
}))),
|
|
183
|
+
negative: he(a.map((o) => ({
|
|
184
|
+
...o,
|
|
185
|
+
series: o.series.slice(c.value.start, c.value.end).map((t) => t < 0 ? t : 0)
|
|
186
|
+
})))
|
|
187
|
+
};
|
|
188
|
+
}), N = x(() => {
|
|
189
|
+
const a = e.value.style.chart.grid.scale.scaleMax !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMax : Math.max(...le.value.positive), o = Math.min(...le.value.negative), t = e.value.style.chart.grid.scale.scaleMin !== null && !e.value.style.chart.bars.distributed ? e.value.style.chart.grid.scale.scaleMin : [-1 / 0, 1 / 0, NaN, void 0, null].includes(o) ? 0 : o, l = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? je(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks) : et(t > 0 ? 0 : t, a < 0 ? 0 : a, e.value.style.chart.grid.scale.ticks);
|
|
190
|
+
return l.ticks.map((n) => ({
|
|
191
|
+
zero: s.value.bottom - s.value.height * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
|
|
192
|
+
y: s.value.bottom - s.value.height * ((n + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
|
|
193
|
+
x: s.value.left - 8,
|
|
194
|
+
horizontal_zero: s.value.left + s.value.width * (Math.abs(l.min) / (l.max + Math.abs(l.min))),
|
|
195
|
+
horizontal_x: s.value.left + s.value.width * ((n + Math.abs(l.min)) / (l.max + Math.abs(l.min))),
|
|
196
|
+
horizontal_y: s.value.bottom - 8,
|
|
197
|
+
value: n
|
|
198
|
+
}));
|
|
199
|
+
}), V = x(() => {
|
|
200
|
+
const a = [];
|
|
201
|
+
for (let o = 0; o < R.value; o += 1)
|
|
202
|
+
a.push({
|
|
203
|
+
text: e.value.style.chart.grid.x.timeLabels.values[o] || String(o),
|
|
204
|
+
absoluteIndex: o
|
|
205
|
+
});
|
|
206
|
+
return a.slice(c.value.start, c.value.end);
|
|
207
|
+
}), p = x(() => {
|
|
208
|
+
if (!Y.value) return [];
|
|
209
|
+
let a = Array(R.value).fill(0), o = Array(R.value).fill(0), t = Array(R.value).fill(0), l = Array(R.value).fill(0);
|
|
210
|
+
const n = Math.max(...le.value.positive) || 0, u = Math.min(...le.value.negative), w = [-1 / 0, 1 / 0, NaN, void 0, null].includes(u) ? 0 : u, F = !e.value.style.chart.bars.distributed && (e.value.style.chart.grid.scale.scaleMax !== null || e.value.style.chart.grid.scale.scaleMin !== null) ? je(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks) : et(e.value.style.chart.grid.scale.scaleMin !== null ? e.value.style.chart.grid.scale.scaleMin : w > 0 ? 0 : w, e.value.style.chart.grid.scale.scaleMax !== null ? e.value.style.chart.grid.scale.scaleMax : n < 0 ? 0 : n, e.value.style.chart.grid.scale.ticks), { min: D, max: Q } = F, E = Q + (D >= 0 ? 0 : Math.abs(D)) || 1, $ = s.value.height, ie = s.value.width, Ue = N.value[0] ? N.value[0].zero : s.value.bottom, Je = N.value[0] ? N.value[0].horizontal_zero : s.value.left;
|
|
211
|
+
return A.value.filter((j) => !L.value.includes(j.id)).map((j) => {
|
|
212
|
+
const I = j.series.slice(c.value.start, c.value.end), ft = j.signedSeries.slice(c.value.start, c.value.end), mt = I.map((b, m) => s.value.left + v.value * m + v.value * e.value.style.chart.bars.gapRatio / 4), pt = I.map((b, m) => s.value.top + v.value * m + v.value * e.value.style.chart.bars.gapRatio / 4), xt = I.map((b, m) => {
|
|
213
|
+
const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
|
|
214
|
+
let H, T;
|
|
215
|
+
return b > 0 ? (T = $ * M, H = Ue - T - a[m], a[m] += T) : (T = $ * M, H = Ue + t[m], t[m] += Math.abs(T)), H;
|
|
216
|
+
}), kt = I.map((b, m) => {
|
|
217
|
+
const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
|
|
218
|
+
let H, T;
|
|
219
|
+
return b > 0 ? (T = ie * M, H = Je + o[m], o[m] += T) : (T = ie * M, H = Je - Math.abs(T) - l[m], l[m] += Math.abs(T)), H;
|
|
220
|
+
}), wt = I.map((b, m) => {
|
|
221
|
+
const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
|
|
222
|
+
return b > 0 ? $ * M : $ * Math.abs(M);
|
|
223
|
+
}), zt = I.map((b, m) => {
|
|
224
|
+
const M = e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / E;
|
|
225
|
+
return b > 0 ? ie * M : ie * Math.abs(M);
|
|
226
|
+
}), Ct = I.map((b) => Math.abs(b)).reduce((b, m) => b + m, 0);
|
|
227
|
+
return {
|
|
228
|
+
...j,
|
|
229
|
+
proportions: I.map((b, m) => e.value.style.chart.bars.distributed ? (b || 0) / K.value[m] : (b || 0) / Ct),
|
|
230
|
+
series: I,
|
|
231
|
+
signedSeries: ft,
|
|
232
|
+
x: mt,
|
|
233
|
+
y: xt,
|
|
234
|
+
height: wt,
|
|
235
|
+
horizontal_width: zt,
|
|
236
|
+
horizontal_y: pt,
|
|
237
|
+
horizontal_x: kt
|
|
238
|
+
};
|
|
239
|
+
});
|
|
240
|
+
}), Re = x(() => ht.value.map((a, o) => ({
|
|
241
|
+
value: a,
|
|
242
|
+
sign: a >= 0 ? 1 : -1
|
|
243
|
+
})));
|
|
244
|
+
function oe(a, o, t, l, n) {
|
|
245
|
+
const u = n === -1 && a >= 0 ? -a : a;
|
|
246
|
+
return lt(
|
|
247
|
+
e.value.style.chart.bars.dataLabels.formatter,
|
|
248
|
+
u,
|
|
249
|
+
W({
|
|
250
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
251
|
+
v: u,
|
|
252
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
253
|
+
r: e.value.style.chart.bars.dataLabels.rounding
|
|
254
|
+
}),
|
|
255
|
+
{ datapoint: o, seriesIndex: t, datapointIndex: l }
|
|
256
|
+
);
|
|
257
|
+
}
|
|
258
|
+
function Ve(a, o, t, l) {
|
|
259
|
+
return lt(
|
|
260
|
+
e.value.style.chart.bars.dataLabels.formatter,
|
|
261
|
+
a,
|
|
262
|
+
W({
|
|
263
|
+
v: a,
|
|
264
|
+
s: "%",
|
|
265
|
+
r: e.value.style.chart.bars.dataLabels.rounding
|
|
266
|
+
}),
|
|
267
|
+
{ datapoint: o, seriesIndex: t, datapointIndex: l }
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
function Fe(a) {
|
|
271
|
+
const o = JSON.parse(JSON.stringify(p.value)).map((t) => ({
|
|
272
|
+
name: t.name,
|
|
273
|
+
value: t.series[a] === 0 ? 0 : t.series[a] || null,
|
|
274
|
+
proportion: t.proportions[a] || null,
|
|
275
|
+
color: t.color,
|
|
276
|
+
id: t.id
|
|
277
|
+
}));
|
|
278
|
+
ye("selectDatapoint", { datapoint: o, period: V.value[a] });
|
|
279
|
+
}
|
|
280
|
+
function De(a) {
|
|
281
|
+
q.value = a, ee.value = !0;
|
|
282
|
+
const o = e.value.style.chart.tooltip.customFormat, t = JSON.parse(JSON.stringify(p.value)).map((n) => ({
|
|
283
|
+
name: n.name,
|
|
284
|
+
value: n.series[a] === 0 ? 0 : (n.signedSeries[a] === -1 && n.series[a] >= 0 ? -n.series[a] : n.series[a]) || null,
|
|
285
|
+
proportion: n.proportions[a] || null,
|
|
286
|
+
color: n.color,
|
|
287
|
+
id: n.id
|
|
288
|
+
})), l = t.map((n) => Math.abs(n.value)).reduce((n, u) => n + u, 0);
|
|
289
|
+
if (at(o) && Rt(() => o({
|
|
290
|
+
seriesIndex: a,
|
|
291
|
+
datapoint: t,
|
|
292
|
+
series: p.value,
|
|
293
|
+
config: e.value
|
|
294
|
+
})))
|
|
295
|
+
be.value = o({
|
|
296
|
+
seriesIndex: a,
|
|
297
|
+
datapoint: t,
|
|
298
|
+
series: p.value,
|
|
299
|
+
config: e.value
|
|
300
|
+
});
|
|
301
|
+
else {
|
|
302
|
+
const {
|
|
303
|
+
showValue: n,
|
|
304
|
+
showPercentage: u,
|
|
305
|
+
borderColor: w,
|
|
306
|
+
roundingValue: F,
|
|
307
|
+
roundingPercentage: D
|
|
308
|
+
} = e.value.style.chart.tooltip;
|
|
309
|
+
let Q = "";
|
|
310
|
+
V.value[a] && V.value[a].text && e.value.style.chart.tooltip.showTimeLabel && (Q += `<div style="width:100%;text-align:center;border-bottom:1px solid ${w};padding-bottom:6px;margin-bottom:3px;">${V.value[a].text}</div>`);
|
|
311
|
+
const E = [
|
|
312
|
+
n && u ? "(" : "",
|
|
313
|
+
n && u ? ")" : ""
|
|
314
|
+
];
|
|
315
|
+
t.reverse().forEach(($) => {
|
|
316
|
+
Q += `
|
|
317
|
+
<div style="display:flex;flex-direction:row;align-items:center;gap:4px">
|
|
318
|
+
<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_${$.id})` : $.color}"/></svg>
|
|
319
|
+
${$.name}${n || u ? ":" : ""} ${n ? W({
|
|
320
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
321
|
+
v: $.value,
|
|
322
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
323
|
+
r: F
|
|
324
|
+
}) : ""} ${E[0]}${u ? W({
|
|
325
|
+
v: isNaN($.value / l) ? 0 : Math.abs($.value) / l * 100,
|
|
326
|
+
// Negs are absed to show relative proportion to absolute total. It's opinionated.
|
|
327
|
+
s: "%",
|
|
328
|
+
r: D
|
|
329
|
+
}) : ""}${E[1]}
|
|
330
|
+
</div>
|
|
331
|
+
`;
|
|
332
|
+
}), be.value = `<div>${Q}</div>`;
|
|
333
|
+
}
|
|
334
|
+
}
|
|
335
|
+
function dt(a) {
|
|
336
|
+
te.value = a, ke.value += 1;
|
|
337
|
+
}
|
|
338
|
+
function Ee() {
|
|
339
|
+
C.value.showTable = !C.value.showTable;
|
|
340
|
+
}
|
|
341
|
+
function He() {
|
|
342
|
+
C.value.dataLabels.show = !C.value.dataLabels.show;
|
|
343
|
+
}
|
|
344
|
+
function Be() {
|
|
345
|
+
C.value.showTooltip = !C.value.showTooltip;
|
|
346
|
+
}
|
|
347
|
+
function yt() {
|
|
348
|
+
return p.value;
|
|
349
|
+
}
|
|
350
|
+
const We = x(() => {
|
|
351
|
+
if (p.value.length === 0) return { head: [], body: [], config: {}, columnNames: [] };
|
|
352
|
+
const a = p.value.map(({ name: t, color: l }) => ({
|
|
353
|
+
label: t,
|
|
354
|
+
color: l
|
|
355
|
+
})), o = [];
|
|
356
|
+
for (let t = c.value.start; t < c.value.end; t += 1) {
|
|
357
|
+
const l = [e.value.style.chart.grid.x.timeLabels.values[t] || t + 1];
|
|
358
|
+
A.value.forEach((n) => {
|
|
359
|
+
l.push(Number((n.series[t] || 0).toFixed(e.value.table.td.roundingValue)));
|
|
360
|
+
}), o.push(l);
|
|
361
|
+
}
|
|
362
|
+
return { head: a, body: o };
|
|
363
|
+
});
|
|
364
|
+
function Ye() {
|
|
365
|
+
const a = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], o = ["", ...We.value.head.map((u) => u.label)], t = We.value.body, l = a.concat([o]).concat(t), n = Vt(l);
|
|
366
|
+
Ft({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-stackbar" });
|
|
367
|
+
}
|
|
368
|
+
const re = x(() => {
|
|
369
|
+
const a = [""].concat(p.value.map((n) => n.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>');
|
|
370
|
+
let o = [];
|
|
371
|
+
for (let n = 0; n < R.value; n += 1) {
|
|
372
|
+
const u = p.value.map((w) => w.series[n] ?? 0).reduce((w, F) => w + F, 0);
|
|
373
|
+
o.push([e.value.style.chart.grid.x.timeLabels.values.slice(c.value.start, c.value.end)[n] ?? n + 1].concat(p.value.map((w) => (w.series[n] ?? 0).toFixed(e.value.table.td.roundingValue))).concat((u ?? 0).toFixed(e.value.table.td.roundingValue)));
|
|
374
|
+
}
|
|
375
|
+
const t = {
|
|
376
|
+
th: {
|
|
377
|
+
backgroundColor: e.value.table.th.backgroundColor,
|
|
378
|
+
color: e.value.table.th.color,
|
|
379
|
+
outline: e.value.table.th.outline
|
|
380
|
+
},
|
|
381
|
+
td: {
|
|
382
|
+
backgroundColor: e.value.table.td.backgroundColor,
|
|
383
|
+
color: e.value.table.td.color,
|
|
384
|
+
outline: e.value.table.td.outline
|
|
385
|
+
},
|
|
386
|
+
breakpoint: e.value.table.responsiveBreakpoint
|
|
387
|
+
}, l = [e.value.table.columnNames.period].concat(p.value.map((n) => n.name)).concat(e.value.table.columnNames.total);
|
|
388
|
+
return { head: a, body: o.slice(0, c.value.end - c.value.start), config: t, colNames: l };
|
|
389
|
+
});
|
|
390
|
+
function gt(a, o) {
|
|
391
|
+
if (ye("selectLegend", p.value.find((t) => t.absoluteIndex === a)), L.value.includes(o.id))
|
|
392
|
+
L.value = L.value.filter((t) => t !== o.id);
|
|
393
|
+
else {
|
|
394
|
+
if (L.value.length === A.value.length - 1) return;
|
|
395
|
+
L.value.push(o.id);
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
const Xe = x(() => A.value.map((a, o) => ({
|
|
399
|
+
...a,
|
|
400
|
+
shape: "square"
|
|
401
|
+
})).map((a) => ({
|
|
402
|
+
...a,
|
|
403
|
+
opacity: L.value.includes(a.id) ? 0.5 : 1,
|
|
404
|
+
segregate: () => gt(a.absoluteIndex, a),
|
|
405
|
+
isSegregated: L.value.includes(a.id)
|
|
406
|
+
}))), bt = x(() => ({
|
|
407
|
+
cy: "stackbar-legend",
|
|
408
|
+
backgroundColor: e.value.style.chart.legend.backgroundColor,
|
|
409
|
+
color: e.value.style.chart.legend.color,
|
|
410
|
+
fontSize: e.value.style.chart.legend.fontSize,
|
|
411
|
+
paddingBottom: 12,
|
|
412
|
+
fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
|
|
413
|
+
})), se = y(!1);
|
|
414
|
+
function me() {
|
|
415
|
+
se.value = !se.value;
|
|
416
|
+
}
|
|
417
|
+
function Ge(a, o) {
|
|
418
|
+
const t = JSON.parse(JSON.stringify(p.value)).map((l) => ({
|
|
419
|
+
name: l.name,
|
|
420
|
+
value: l.series[o] === 0 ? 0 : (l.signedSeries[o] === -1 && l.series[o] >= 0 ? -l.series[o] : l.series[o]) || null,
|
|
421
|
+
proportion: l.proportions[o] || null,
|
|
422
|
+
color: l.color,
|
|
423
|
+
id: l.id
|
|
424
|
+
}));
|
|
425
|
+
ye("selectTimeLabel", {
|
|
426
|
+
datapoint: t,
|
|
427
|
+
absoluteIndex: a.absoluteIndex,
|
|
428
|
+
label: a.text
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
return rt({
|
|
432
|
+
getData: yt,
|
|
433
|
+
generatePdf: Te,
|
|
434
|
+
generateCsv: Ye,
|
|
435
|
+
generateImage: Ne,
|
|
436
|
+
toggleTable: Ee,
|
|
437
|
+
toggleLabels: He,
|
|
438
|
+
toggleTooltip: Be,
|
|
439
|
+
toggleAnnotator: me
|
|
440
|
+
}), (a, o) => (r(), i("div", {
|
|
441
|
+
id: `stackbar_${ge.value}`,
|
|
442
|
+
ref_key: "stackbarChart",
|
|
443
|
+
ref: X,
|
|
444
|
+
class: pe({ "vue-ui-stackbar": !0, "vue-data-ui-wrapper-fullscreen": te.value }),
|
|
445
|
+
style: U(`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%" : ""}`)
|
|
446
|
+
}, [
|
|
447
|
+
e.value.userOptions.buttons.annotator ? (r(), J(Kt, {
|
|
448
|
+
key: 0,
|
|
449
|
+
parent: X.value,
|
|
450
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
451
|
+
color: e.value.style.chart.color,
|
|
452
|
+
active: se.value,
|
|
453
|
+
onClose: me
|
|
454
|
+
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : d("", !0),
|
|
455
|
+
k(a.$slots, "userConfig", {}, void 0, !0),
|
|
456
|
+
e.value.style.chart.title.text ? (r(), i("div", {
|
|
457
|
+
key: 1,
|
|
458
|
+
ref_key: "chartTitle",
|
|
459
|
+
ref: we,
|
|
460
|
+
style: "width:100%;background:transparent;padding-bottom:24px"
|
|
461
|
+
}, [
|
|
462
|
+
ue(Xt, {
|
|
463
|
+
config: {
|
|
464
|
+
title: {
|
|
465
|
+
cy: "stackbar-title",
|
|
466
|
+
...e.value.style.chart.title
|
|
467
|
+
},
|
|
468
|
+
subtitle: {
|
|
469
|
+
cy: "stackbar-subtitle",
|
|
470
|
+
...e.value.style.chart.title.subtitle
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}, null, 8, ["config"])
|
|
474
|
+
], 512)) : d("", !0),
|
|
475
|
+
e.value.userOptions.show && Y.value ? (r(), J(Bt, {
|
|
476
|
+
ref: "details",
|
|
477
|
+
key: `user_option_${ke.value}`,
|
|
478
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
479
|
+
color: e.value.style.chart.color,
|
|
480
|
+
isPrinting: _($e),
|
|
481
|
+
isImaging: _(Me),
|
|
482
|
+
uid: ge.value,
|
|
483
|
+
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
484
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
485
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
486
|
+
hasXls: e.value.userOptions.buttons.csv,
|
|
487
|
+
hasTable: e.value.userOptions.buttons.table,
|
|
488
|
+
hasLabel: e.value.userOptions.buttons.labels,
|
|
489
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
490
|
+
isFullscreen: te.value,
|
|
491
|
+
chartElement: X.value,
|
|
492
|
+
position: e.value.userOptions.position,
|
|
493
|
+
isTooltip: C.value.showTooltip,
|
|
494
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
495
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
496
|
+
isAnnotation: se.value,
|
|
497
|
+
onToggleFullscreen: dt,
|
|
498
|
+
onGeneratePdf: _(Te),
|
|
499
|
+
onGenerateCsv: Ye,
|
|
500
|
+
onGenerateImage: _(Ne),
|
|
501
|
+
onToggleTable: Ee,
|
|
502
|
+
onToggleLabels: He,
|
|
503
|
+
onToggleTooltip: Be,
|
|
504
|
+
onToggleAnnotator: me
|
|
505
|
+
}, _t({ _: 2 }, [
|
|
506
|
+
a.$slots.optionTooltip ? {
|
|
507
|
+
name: "optionTooltip",
|
|
508
|
+
fn: z(() => [
|
|
509
|
+
k(a.$slots, "optionTooltip", {}, void 0, !0)
|
|
510
|
+
]),
|
|
511
|
+
key: "0"
|
|
512
|
+
} : void 0,
|
|
513
|
+
a.$slots.optionPdf ? {
|
|
514
|
+
name: "optionPdf",
|
|
515
|
+
fn: z(() => [
|
|
516
|
+
k(a.$slots, "optionPdf", {}, void 0, !0)
|
|
517
|
+
]),
|
|
518
|
+
key: "1"
|
|
519
|
+
} : void 0,
|
|
520
|
+
a.$slots.optionCsv ? {
|
|
521
|
+
name: "optionCsv",
|
|
522
|
+
fn: z(() => [
|
|
523
|
+
k(a.$slots, "optionCsv", {}, void 0, !0)
|
|
524
|
+
]),
|
|
525
|
+
key: "2"
|
|
526
|
+
} : void 0,
|
|
527
|
+
a.$slots.optionImg ? {
|
|
528
|
+
name: "optionImg",
|
|
529
|
+
fn: z(() => [
|
|
530
|
+
k(a.$slots, "optionImg", {}, void 0, !0)
|
|
531
|
+
]),
|
|
532
|
+
key: "3"
|
|
533
|
+
} : void 0,
|
|
534
|
+
a.$slots.optionTable ? {
|
|
535
|
+
name: "optionTable",
|
|
536
|
+
fn: z(() => [
|
|
537
|
+
k(a.$slots, "optionTable", {}, void 0, !0)
|
|
538
|
+
]),
|
|
539
|
+
key: "4"
|
|
540
|
+
} : void 0,
|
|
541
|
+
a.$slots.optionLabels ? {
|
|
542
|
+
name: "optionLabels",
|
|
543
|
+
fn: z(() => [
|
|
544
|
+
k(a.$slots, "optionLabels", {}, void 0, !0)
|
|
545
|
+
]),
|
|
546
|
+
key: "5"
|
|
547
|
+
} : void 0,
|
|
548
|
+
a.$slots.optionFullscreen ? {
|
|
549
|
+
name: "optionFullscreen",
|
|
550
|
+
fn: z(({ toggleFullscreen: t, isFullscreen: l }) => [
|
|
551
|
+
k(a.$slots, "optionFullscreen", O(P({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
|
|
552
|
+
]),
|
|
553
|
+
key: "6"
|
|
554
|
+
} : void 0,
|
|
555
|
+
a.$slots.optionAnnotator ? {
|
|
556
|
+
name: "optionAnnotator",
|
|
557
|
+
fn: z(({ toggleAnnotator: t, isAnnotator: l }) => [
|
|
558
|
+
k(a.$slots, "optionAnnotator", O(P({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
|
|
559
|
+
]),
|
|
560
|
+
key: "7"
|
|
561
|
+
} : void 0
|
|
562
|
+
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : d("", !0),
|
|
563
|
+
Y.value ? (r(), i("svg", {
|
|
564
|
+
key: 3,
|
|
565
|
+
xmlns: _(Pt),
|
|
566
|
+
viewBox: `0 0 ${s.value.chartWidth <= 0 ? 10 : s.value.chartWidth} ${s.value.chartHeight <= 0 ? 10 : s.value.chartHeight}`,
|
|
567
|
+
style: U(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
|
|
568
|
+
}, [
|
|
569
|
+
ue(Zt),
|
|
570
|
+
e.value.style.chart.bars.gradient.show ? (r(), i("defs", ta, [
|
|
571
|
+
(r(!0), i(h, null, f(p.value, (t, l) => (r(), i("linearGradient", {
|
|
572
|
+
id: `gradient_${t.id}`,
|
|
573
|
+
x1: "0%",
|
|
574
|
+
y1: "0%",
|
|
575
|
+
x2: "0%",
|
|
576
|
+
y2: "100%"
|
|
577
|
+
}, [
|
|
578
|
+
B("stop", {
|
|
579
|
+
offset: "0%",
|
|
580
|
+
"stop-color": t.color
|
|
581
|
+
}, null, 8, la),
|
|
582
|
+
B("stop", {
|
|
583
|
+
offset: "61.8%",
|
|
584
|
+
"stop-color": _(At)(t.color, e.value.style.chart.bars.gradient.intensity / 100)
|
|
585
|
+
}, null, 8, oa),
|
|
586
|
+
B("stop", {
|
|
587
|
+
offset: "100%",
|
|
588
|
+
"stop-color": t.color
|
|
589
|
+
}, null, 8, ra)
|
|
590
|
+
], 8, aa))), 256))
|
|
591
|
+
])) : d("", !0),
|
|
592
|
+
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 1 }, f(N.value, (t, l) => (r(), i("line", {
|
|
593
|
+
x1: s.value.left,
|
|
594
|
+
x2: s.value.right,
|
|
595
|
+
y1: t.y,
|
|
596
|
+
y2: t.y,
|
|
597
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
598
|
+
"stroke-width": 1,
|
|
599
|
+
"stroke-linecap": "round"
|
|
600
|
+
}, null, 8, sa))), 256)) : d("", !0),
|
|
601
|
+
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 2 }, f(c.value.end - c.value.start + 1, (t, l) => (r(), i("line", {
|
|
602
|
+
x1: s.value.left,
|
|
603
|
+
x2: s.value.right,
|
|
604
|
+
y1: s.value.top + v.value * l,
|
|
605
|
+
y2: s.value.top + v.value * l,
|
|
606
|
+
stroke: e.value.style.chart.grid.y.axisColor,
|
|
607
|
+
"stroke-width": 1,
|
|
608
|
+
"stroke-linecap": "round"
|
|
609
|
+
}, null, 8, ia))), 256)) : d("", !0),
|
|
610
|
+
e.value.style.chart.grid.y.showVerticalLines && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 3 }, f(c.value.end - c.value.start + 1, (t, l) => (r(), i("line", {
|
|
611
|
+
x1: s.value.left + v.value * l,
|
|
612
|
+
x2: s.value.left + v.value * l,
|
|
613
|
+
y1: s.value.top,
|
|
614
|
+
y2: s.value.bottom,
|
|
615
|
+
stroke: e.value.style.chart.grid.y.axisColor,
|
|
616
|
+
"stroke-width": 1,
|
|
617
|
+
"stroke-linecap": "round"
|
|
618
|
+
}, null, 8, na))), 256)) : d("", !0),
|
|
619
|
+
e.value.style.chart.grid.x.showHorizontalLines && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 4 }, f(N.value, (t, l) => (r(), i("line", {
|
|
620
|
+
x1: t.horizontal_x,
|
|
621
|
+
x2: t.horizontal_x,
|
|
622
|
+
y1: s.value.top,
|
|
623
|
+
y2: s.value.bottom,
|
|
624
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
625
|
+
"stroke-width": 1,
|
|
626
|
+
"stroke-linecap": "round"
|
|
627
|
+
}, null, 8, ua))), 256)) : d("", !0),
|
|
628
|
+
(r(!0), i(h, null, f(p.value, (t, l) => (r(), i("g", null, [
|
|
629
|
+
e.value.orientation === "vertical" ? (r(!0), i(h, { key: 0 }, f(t.x, (n, u) => (r(), i("rect", {
|
|
630
|
+
x: n,
|
|
631
|
+
y: t.y[u] < 0 ? 0 : t.y[u],
|
|
632
|
+
height: t.height[u] < 0 ? 1e-4 : t.height[u],
|
|
633
|
+
rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
634
|
+
width: v.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
635
|
+
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
|
|
636
|
+
stroke: e.value.style.chart.backgroundColor,
|
|
637
|
+
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
638
|
+
"stroke-linecap": "round",
|
|
639
|
+
"stroke-linejoin": "round",
|
|
640
|
+
class: pe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Z.value })
|
|
641
|
+
}, null, 10, ca))), 256)) : (r(!0), i(h, { key: 1 }, f(t.horizontal_x, (n, u) => (r(), i("rect", {
|
|
642
|
+
x: n,
|
|
643
|
+
y: t.horizontal_y[u] < 0 ? 0 : t.horizontal_y[u],
|
|
644
|
+
width: t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u],
|
|
645
|
+
rx: e.value.style.chart.bars.borderRadius > t.height[u] / 2 ? (t.height[u] < 0 ? 0 : t.height[u]) / 2 : e.value.style.chart.bars.borderRadius,
|
|
646
|
+
height: v.value * (1 - e.value.style.chart.bars.gapRatio / 2),
|
|
647
|
+
fill: e.value.style.chart.bars.gradient.show ? `url(#gradient_${t.id})` : t.color,
|
|
648
|
+
stroke: e.value.style.chart.backgroundColor,
|
|
649
|
+
"stroke-width": e.value.style.chart.bars.strokeWidth,
|
|
650
|
+
"stroke-linecap": "round",
|
|
651
|
+
"stroke-linejoin": "round",
|
|
652
|
+
class: pe({ "vue-data-ui-bar-animated": e.value.useCssAnimation, "vue-data-ui-bar-transition": Z.value })
|
|
653
|
+
}, null, 10, va))), 256))
|
|
654
|
+
]))), 256)),
|
|
655
|
+
e.value.style.chart.grid.x.showAxis ? (r(), i("line", {
|
|
656
|
+
key: 5,
|
|
657
|
+
x1: s.value.left,
|
|
658
|
+
x2: s.value.right,
|
|
659
|
+
y1: s.value.bottom,
|
|
660
|
+
y2: s.value.bottom,
|
|
661
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
662
|
+
"stroke-width": e.value.style.chart.grid.x.axisThickness,
|
|
663
|
+
"stroke-linecap": "round",
|
|
664
|
+
"stroke-linejoin": "round"
|
|
665
|
+
}, null, 8, ha)) : d("", !0),
|
|
666
|
+
e.value.style.chart.grid.y.showAxis && !e.value.style.chart.bars.distributed ? (r(), i("line", {
|
|
667
|
+
key: 6,
|
|
668
|
+
x1: s.value.left,
|
|
669
|
+
x2: s.value.left,
|
|
670
|
+
y1: s.value.top,
|
|
671
|
+
y2: s.value.bottom,
|
|
672
|
+
stroke: e.value.style.chart.grid.y.axisColor,
|
|
673
|
+
"stroke-width": e.value.style.chart.grid.y.axisThickness,
|
|
674
|
+
"stroke-linecap": "round",
|
|
675
|
+
"stroke-linejoin": "round"
|
|
676
|
+
}, null, 8, da)) : d("", !0),
|
|
677
|
+
e.value.style.chart.grid.x.axisName.show && e.value.style.chart.grid.x.axisName.text ? (r(), i("text", {
|
|
678
|
+
key: 7,
|
|
679
|
+
x: s.value.left + s.value.width / 2,
|
|
680
|
+
y: s.value.chartHeight + e.value.style.chart.grid.x.axisName.offsetY,
|
|
681
|
+
"font-size": e.value.style.chart.grid.x.axisName.fontSize,
|
|
682
|
+
fill: e.value.style.chart.grid.x.axisName.color,
|
|
683
|
+
"font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
684
|
+
"text-anchor": "middle"
|
|
685
|
+
}, S(e.value.style.chart.grid.x.axisName.text), 9, ya)) : d("", !0),
|
|
686
|
+
e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (r(), i("text", {
|
|
687
|
+
key: 8,
|
|
688
|
+
transform: `translate(${e.value.style.chart.grid.y.axisName.fontSize + e.value.style.chart.grid.y.axisName.offsetX}, ${s.value.top + s.value.height / 2}) rotate(-90)`,
|
|
689
|
+
"font-size": e.value.style.chart.grid.y.axisName.fontSize,
|
|
690
|
+
fill: e.value.style.chart.grid.y.axisName.color,
|
|
691
|
+
"font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
692
|
+
"text-anchor": "middle"
|
|
693
|
+
}, S(e.value.style.chart.grid.y.axisName.text), 9, ga)) : d("", !0),
|
|
694
|
+
C.value.dataLabels.show && e.value.orientation === "vertical" ? (r(), i(h, { key: 9 }, [
|
|
695
|
+
(r(!0), i(h, null, f(p.value, (t, l) => (r(), i("g", null, [
|
|
696
|
+
(r(!0), i(h, null, f(t.x, (n, u) => (r(), i("text", {
|
|
697
|
+
x: n + v.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2,
|
|
698
|
+
y: t.y[u] + t.height[u] / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
699
|
+
"font-size": e.value.style.chart.bars.dataLabels.fontSize,
|
|
700
|
+
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? _(tt)(t.color) : e.value.style.chart.bars.dataLabels.color,
|
|
701
|
+
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
702
|
+
"text-anchor": "middle"
|
|
703
|
+
}, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ve(t.proportions[u] * 100, t, l, u) : oe(t.series[u], t, l, u, t.signedSeries[u])), 9, ba))), 256))
|
|
704
|
+
]))), 256)),
|
|
705
|
+
e.value.style.chart.bars.totalValues.show && p.value.length > 1 ? (r(), i("g", fa, [
|
|
706
|
+
(r(!0), i(h, null, f(Re.value, (t, l) => (r(), i("text", {
|
|
707
|
+
x: s.value.left + v.value * l + v.value / 2,
|
|
708
|
+
y: s.value.top - e.value.style.chart.bars.totalValues.fontSize / 3,
|
|
709
|
+
"text-anchor": "middle",
|
|
710
|
+
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
711
|
+
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
712
|
+
fill: e.value.style.chart.bars.totalValues.color
|
|
713
|
+
}, S(oe(t.value, t, l, t.sign)), 9, ma))), 256))
|
|
714
|
+
])) : d("", !0)
|
|
715
|
+
], 64)) : d("", !0),
|
|
716
|
+
C.value.dataLabels.show && e.value.orientation === "horizontal" ? (r(), i(h, { key: 10 }, [
|
|
717
|
+
(r(!0), i(h, null, f(p.value, (t, l) => (r(), i("g", null, [
|
|
718
|
+
(r(!0), i(h, null, f(t.horizontal_x, (n, u) => (r(), i("text", {
|
|
719
|
+
x: n + (t.horizontal_width[u] < 0 ? 1e-4 : t.horizontal_width[u]) / 2,
|
|
720
|
+
y: t.horizontal_y[u] + v.value * (1 - e.value.style.chart.bars.gapRatio / 2) / 2 + e.value.style.chart.bars.dataLabels.fontSize / 3,
|
|
721
|
+
"font-size": e.value.style.chart.bars.dataLabels.fontSize,
|
|
722
|
+
fill: e.value.style.chart.bars.dataLabels.adaptColorToBackground ? _(tt)(t.color) : e.value.style.chart.bars.dataLabels.color,
|
|
723
|
+
"font-weight": e.value.style.chart.bars.dataLabels.bold ? "bold" : "normal",
|
|
724
|
+
"text-anchor": "middle"
|
|
725
|
+
}, S(e.value.style.chart.bars.showDistributedPercentage && e.value.style.chart.bars.distributed ? Ve(t.proportions[u] * 100, t, l, u) : oe(t.series[u], t, l, u, t.signedSeries[u])), 9, pa))), 256))
|
|
726
|
+
]))), 256)),
|
|
727
|
+
e.value.style.chart.bars.totalValues.show && p.value.length > 1 ? (r(), i("g", xa, [
|
|
728
|
+
(r(!0), i(h, null, f(Re.value, (t, l) => (r(), i("text", {
|
|
729
|
+
x: s.value.right + e.value.style.chart.bars.totalValues.fontSize / 3,
|
|
730
|
+
y: s.value.top + v.value * l + v.value / 2,
|
|
731
|
+
"text-anchor": "start",
|
|
732
|
+
"font-size": e.value.style.chart.bars.totalValues.fontSize,
|
|
733
|
+
"font-weight": e.value.style.chart.bars.totalValues.bold ? "bold" : "normal",
|
|
734
|
+
fill: e.value.style.chart.bars.totalValues.color
|
|
735
|
+
}, S(oe(t.value, t, l, t.sign)), 9, ka))), 256))
|
|
736
|
+
])) : d("", !0)
|
|
737
|
+
], 64)) : d("", !0),
|
|
738
|
+
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "vertical" ? (r(), i(h, { key: 11 }, [
|
|
739
|
+
(r(!0), i(h, null, f(N.value, (t, l) => (r(), i("line", {
|
|
740
|
+
x1: s.value.left,
|
|
741
|
+
x2: s.value.left - 6,
|
|
742
|
+
y1: t.y,
|
|
743
|
+
y2: t.y,
|
|
744
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
745
|
+
"stroke-width": 1
|
|
746
|
+
}, null, 8, wa))), 256)),
|
|
747
|
+
(r(!0), i(h, null, f(N.value, (t, l) => (r(), i("text", {
|
|
748
|
+
x: t.x,
|
|
749
|
+
y: t.y + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
750
|
+
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
751
|
+
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
752
|
+
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
753
|
+
"text-anchor": "end"
|
|
754
|
+
}, S(_(W)({
|
|
755
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
756
|
+
v: t.value,
|
|
757
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
758
|
+
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
759
|
+
})), 9, za))), 256))
|
|
760
|
+
], 64)) : d("", !0),
|
|
761
|
+
e.value.style.chart.grid.y.axisLabels.show && !e.value.style.chart.bars.distributed && e.value.orientation === "horizontal" ? (r(), i(h, { key: 12 }, [
|
|
762
|
+
(r(!0), i(h, null, f(N.value, (t, l) => (r(), i("line", {
|
|
763
|
+
x1: t.horizontal_x,
|
|
764
|
+
x2: t.horizontal_x,
|
|
765
|
+
y1: s.value.bottom,
|
|
766
|
+
y2: s.value.bottom + 6,
|
|
767
|
+
stroke: e.value.style.chart.grid.x.axisColor,
|
|
768
|
+
"stroke-width": 1,
|
|
769
|
+
"stroke-linecap": "round"
|
|
770
|
+
}, null, 8, Ca))), 256)),
|
|
771
|
+
(r(!0), i(h, null, f(N.value, (t, l) => (r(), i("text", {
|
|
772
|
+
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
773
|
+
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
774
|
+
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
775
|
+
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
776
|
+
transform: `translate(${t.horizontal_x}, ${s.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})`
|
|
777
|
+
}, S(_(W)({
|
|
778
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
779
|
+
v: t.value,
|
|
780
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
781
|
+
r: e.value.style.chart.grid.y.axisLabels.rounding
|
|
782
|
+
})), 9, _a))), 256))
|
|
783
|
+
], 64)) : d("", !0),
|
|
784
|
+
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "vertical" ? (r(), i(h, { key: 13 }, [
|
|
785
|
+
a.$slots["time-label"] ? (r(), i("g", La, [
|
|
786
|
+
(r(!0), i(h, null, f(V.value, (t, l) => (r(), i("g", null, [
|
|
787
|
+
k(a.$slots, "time-label", O(P({
|
|
788
|
+
x: s.value.left + v.value * l + v.value / 2,
|
|
789
|
+
y: s.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
|
|
790
|
+
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
791
|
+
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
792
|
+
transform: `translate(${s.value.left + v.value * l + v.value / 2}, ${s.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})`,
|
|
793
|
+
absoluteIndex: t.absoluteIndex,
|
|
794
|
+
content: t.text,
|
|
795
|
+
textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
796
|
+
show: !0
|
|
797
|
+
})), void 0, !0)
|
|
798
|
+
]))), 256))
|
|
799
|
+
])) : (r(), i("g", Sa, [
|
|
800
|
+
(r(!0), i(h, null, f(V.value, (t, l) => (r(), i("text", {
|
|
801
|
+
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
802
|
+
"font-size": e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
803
|
+
"font-weight": e.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
|
|
804
|
+
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
805
|
+
transform: `translate(${s.value.left + v.value * l + v.value / 2}, ${s.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})`,
|
|
806
|
+
style: {
|
|
807
|
+
cursor: "pointer"
|
|
808
|
+
},
|
|
809
|
+
onClick: () => Ge(t, l)
|
|
810
|
+
}, S(t.text), 9, $a))), 256))
|
|
811
|
+
]))
|
|
812
|
+
], 64)) : d("", !0),
|
|
813
|
+
e.value.style.chart.grid.x.timeLabels.show && e.value.orientation === "horizontal" ? (r(), i(h, { key: 14 }, [
|
|
814
|
+
a.$slots["time-label"] ? (r(), i("g", Ma, [
|
|
815
|
+
(r(!0), i(h, null, f(V.value, (t, l) => (r(), i("g", null, [
|
|
816
|
+
k(a.$slots, "time-label", O(P({
|
|
817
|
+
x: s.value.left - 8,
|
|
818
|
+
y: s.value.top + v.value * l + v.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
819
|
+
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
820
|
+
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
821
|
+
transform: null,
|
|
822
|
+
absoluteIndex: t.absoluteIndex,
|
|
823
|
+
content: t.text,
|
|
824
|
+
textAnchor: "end",
|
|
825
|
+
show: !0
|
|
826
|
+
})), void 0, !0)
|
|
827
|
+
]))), 256))
|
|
828
|
+
])) : (r(), i("g", Ta, [
|
|
829
|
+
(r(!0), i(h, null, f(V.value, (t, l) => (r(), i("text", {
|
|
830
|
+
"text-anchor": "end",
|
|
831
|
+
"font-size": e.value.style.chart.grid.y.axisLabels.fontSize,
|
|
832
|
+
"font-weight": e.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
|
|
833
|
+
fill: e.value.style.chart.grid.y.axisLabels.color,
|
|
834
|
+
x: s.value.left - 8,
|
|
835
|
+
y: s.value.top + v.value * l + v.value / 2 + e.value.style.chart.grid.y.axisLabels.fontSize / 3,
|
|
836
|
+
style: {
|
|
837
|
+
cursor: "pointer"
|
|
838
|
+
},
|
|
839
|
+
onClick: () => Ge(t, l)
|
|
840
|
+
}, S(t.text), 9, Na))), 256))
|
|
841
|
+
]))
|
|
842
|
+
], 64)) : d("", !0),
|
|
843
|
+
C.value.showTooltip && e.value.orientation === "vertical" ? (r(!0), i(h, { key: 15 }, f(c.value.end - c.value.start, (t, l) => (r(), i("rect", {
|
|
844
|
+
x: s.value.left + l * v.value,
|
|
845
|
+
y: s.value.top,
|
|
846
|
+
width: v.value,
|
|
847
|
+
height: s.value.height < 0 ? 0 : s.value.height,
|
|
848
|
+
onClick: (n) => Fe(l),
|
|
849
|
+
onMouseenter: (n) => De(l),
|
|
850
|
+
onMouseleave: o[0] || (o[0] = (n) => {
|
|
851
|
+
q.value = null, ee.value = !1;
|
|
852
|
+
}),
|
|
853
|
+
fill: l === q.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
854
|
+
style: U({ opacity: e.value.style.chart.highlighter.opacity / 100 })
|
|
855
|
+
}, null, 44, Ia))), 256)) : d("", !0),
|
|
856
|
+
C.value.showTooltip && e.value.orientation === "horizontal" ? (r(!0), i(h, { key: 16 }, f(c.value.end - c.value.start, (t, l) => (r(), i("rect", {
|
|
857
|
+
x: s.value.left,
|
|
858
|
+
y: s.value.top + l * v.value,
|
|
859
|
+
width: s.value.width < 0 ? 0 : s.value.width,
|
|
860
|
+
height: v.value,
|
|
861
|
+
onClick: (n) => Fe(l),
|
|
862
|
+
onMouseenter: (n) => De(l),
|
|
863
|
+
onMouseleave: o[1] || (o[1] = (n) => {
|
|
864
|
+
q.value = null, ee.value = !1;
|
|
865
|
+
}),
|
|
866
|
+
fill: l === q.value ? e.value.style.chart.highlighter.color : "transparent",
|
|
867
|
+
style: U({ opacity: e.value.style.chart.highlighter.opacity / 100 })
|
|
868
|
+
}, null, 44, Oa))), 256)) : d("", !0),
|
|
869
|
+
k(a.$slots, "svg", O(P({ ...s.value })), void 0, !0)
|
|
870
|
+
], 12, ea)) : d("", !0),
|
|
871
|
+
a.$slots.watermark ? (r(), i("div", Pa, [
|
|
872
|
+
k(a.$slots, "watermark", O(P({ isPrinting: _($e) || _(Me) })), void 0, !0)
|
|
873
|
+
])) : d("", !0),
|
|
874
|
+
Y.value ? d("", !0) : (r(), J(qt, {
|
|
875
|
+
key: 5,
|
|
876
|
+
config: {
|
|
877
|
+
type: "bar",
|
|
878
|
+
style: {
|
|
879
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
880
|
+
bar: {
|
|
881
|
+
axis: {
|
|
882
|
+
color: "#CCCCCC"
|
|
883
|
+
},
|
|
884
|
+
color: "#CCCCCC"
|
|
885
|
+
}
|
|
886
|
+
}
|
|
887
|
+
}
|
|
888
|
+
}, null, 8, ["config"])),
|
|
889
|
+
B("div", {
|
|
890
|
+
ref_key: "chartSlicer",
|
|
891
|
+
ref: Ce,
|
|
892
|
+
style: U(`width:100%;background:${e.value.style.chart.backgroundColor}`),
|
|
893
|
+
"data-html2canvas-ignore": ""
|
|
894
|
+
}, [
|
|
895
|
+
e.value.style.chart.zoom.show && R.value > 1 ? (r(), J(Wt, {
|
|
896
|
+
ref_key: "slicerComponent",
|
|
897
|
+
ref: G,
|
|
898
|
+
key: `slicer_${Le.value}`,
|
|
899
|
+
background: e.value.style.chart.zoom.color,
|
|
900
|
+
borderColor: e.value.style.chart.backgroundColor,
|
|
901
|
+
fontSize: e.value.style.chart.zoom.fontSize,
|
|
902
|
+
useResetSlot: e.value.style.chart.zoom.useResetSlot,
|
|
903
|
+
labelLeft: e.value.style.chart.grid.x.timeLabels.values[c.value.start] ? e.value.style.chart.grid.x.timeLabels.values[c.value.start] : "",
|
|
904
|
+
labelRight: e.value.style.chart.grid.x.timeLabels.values[c.value.end - 1] ? e.value.style.chart.grid.x.timeLabels.values[c.value.end - 1] : "",
|
|
905
|
+
textColor: e.value.style.chart.color,
|
|
906
|
+
inputColor: e.value.style.chart.zoom.color,
|
|
907
|
+
selectColor: e.value.style.chart.zoom.highlightColor,
|
|
908
|
+
max: Math.max(...de.dataset.map((t) => t.series.length)),
|
|
909
|
+
min: 0,
|
|
910
|
+
valueStart: c.value.start,
|
|
911
|
+
valueEnd: c.value.end,
|
|
912
|
+
start: c.value.start,
|
|
913
|
+
"onUpdate:start": o[2] || (o[2] = (t) => c.value.start = t),
|
|
914
|
+
end: c.value.end,
|
|
915
|
+
"onUpdate:end": o[3] || (o[3] = (t) => c.value.end = t),
|
|
916
|
+
refreshStartPoint: e.value.style.chart.zoom.startIndex !== null ? e.value.style.chart.zoom.startIndex : 0,
|
|
917
|
+
refreshEndPoint: e.value.style.chart.zoom.endIndex !== null ? e.value.style.chart.zoom.endIndex + 1 : Math.max(...de.dataset.map((t) => t.series.length)),
|
|
918
|
+
onReset: Pe
|
|
919
|
+
}, {
|
|
920
|
+
"reset-action": z(({ reset: t }) => [
|
|
921
|
+
k(a.$slots, "reset-action", O(P({ reset: t })), void 0, !0)
|
|
922
|
+
]),
|
|
923
|
+
_: 3
|
|
924
|
+
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint"])) : d("", !0)
|
|
925
|
+
], 4),
|
|
926
|
+
ue(Yt, {
|
|
927
|
+
show: C.value.showTooltip && ee.value,
|
|
928
|
+
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
929
|
+
color: e.value.style.chart.tooltip.color,
|
|
930
|
+
fontSize: e.value.style.chart.tooltip.fontSize,
|
|
931
|
+
borderRadius: e.value.style.chart.tooltip.borderRadius,
|
|
932
|
+
borderColor: e.value.style.chart.tooltip.borderColor,
|
|
933
|
+
borderWidth: e.value.style.chart.tooltip.borderWidth,
|
|
934
|
+
backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
|
|
935
|
+
position: e.value.style.chart.tooltip.position,
|
|
936
|
+
offsetY: e.value.style.chart.tooltip.offsetY,
|
|
937
|
+
parent: X.value,
|
|
938
|
+
content: be.value,
|
|
939
|
+
isFullscreen: te.value,
|
|
940
|
+
isCustom: _(at)(e.value.style.chart.tooltip.customFormat)
|
|
941
|
+
}, {
|
|
942
|
+
"tooltip-before": z(() => [
|
|
943
|
+
k(a.$slots, "tooltip-before", O(P({ ...xe.value })), void 0, !0)
|
|
944
|
+
]),
|
|
945
|
+
"tooltip-after": z(() => [
|
|
946
|
+
k(a.$slots, "tooltip-after", O(P({ ...xe.value })), void 0, !0)
|
|
947
|
+
]),
|
|
948
|
+
_: 3
|
|
949
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
950
|
+
B("div", {
|
|
951
|
+
ref_key: "chartLegend",
|
|
952
|
+
ref: ze
|
|
953
|
+
}, [
|
|
954
|
+
e.value.style.chart.legend.show && Y.value ? (r(), J(Gt, {
|
|
955
|
+
key: 0,
|
|
956
|
+
legendSet: Xe.value,
|
|
957
|
+
config: bt.value,
|
|
958
|
+
onClickMarker: o[4] || (o[4] = ({ legend: t }) => t.segregate())
|
|
959
|
+
}, {
|
|
960
|
+
item: z(({ legend: t }) => [
|
|
961
|
+
B("div", {
|
|
962
|
+
onClick: (l) => t.segregate(),
|
|
963
|
+
style: U(`opacity:${L.value.includes(t.id) ? 0.5 : 1}`)
|
|
964
|
+
}, S(t.name), 13, Aa)
|
|
965
|
+
]),
|
|
966
|
+
_: 1
|
|
967
|
+
}, 8, ["legendSet", "config"])) : k(a.$slots, "legend", {
|
|
968
|
+
key: 1,
|
|
969
|
+
legend: Xe.value
|
|
970
|
+
}, void 0, !0)
|
|
971
|
+
], 512),
|
|
972
|
+
a.$slots.source ? (r(), i("div", {
|
|
973
|
+
key: 6,
|
|
974
|
+
ref_key: "source",
|
|
975
|
+
ref: _e,
|
|
976
|
+
dir: "auto"
|
|
977
|
+
}, [
|
|
978
|
+
k(a.$slots, "source", {}, void 0, !0)
|
|
979
|
+
], 512)) : d("", !0),
|
|
980
|
+
c.value.end - c.value.start < 200 ? (r(), J(Ut, {
|
|
981
|
+
key: 7,
|
|
982
|
+
hideDetails: "",
|
|
983
|
+
config: {
|
|
984
|
+
open: C.value.showTable,
|
|
985
|
+
maxHeight: 1e4,
|
|
986
|
+
body: {
|
|
987
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
988
|
+
color: e.value.style.chart.color
|
|
989
|
+
},
|
|
990
|
+
head: {
|
|
991
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
992
|
+
color: e.value.style.chart.color
|
|
993
|
+
}
|
|
994
|
+
}
|
|
995
|
+
}, {
|
|
996
|
+
content: z(() => [
|
|
997
|
+
ue(Jt, {
|
|
998
|
+
colNames: re.value.colNames,
|
|
999
|
+
head: re.value.head,
|
|
1000
|
+
body: re.value.body,
|
|
1001
|
+
config: re.value.config,
|
|
1002
|
+
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1003
|
+
onClose: o[5] || (o[5] = (t) => C.value.showTable = !1)
|
|
1004
|
+
}, {
|
|
1005
|
+
th: z(({ th: t }) => [
|
|
1006
|
+
B("div", { innerHTML: t }, null, 8, Ra)
|
|
1007
|
+
]),
|
|
1008
|
+
td: z(({ td: t }) => [
|
|
1009
|
+
Lt(S(isNaN(Number(t)) ? t : _(W)({
|
|
1010
|
+
p: e.value.style.chart.bars.dataLabels.prefix,
|
|
1011
|
+
v: t,
|
|
1012
|
+
s: e.value.style.chart.bars.dataLabels.suffix,
|
|
1013
|
+
r: e.value.table.td.roundingValue
|
|
1014
|
+
})), 1)
|
|
1015
|
+
]),
|
|
1016
|
+
_: 1
|
|
1017
|
+
}, 8, ["colNames", "head", "body", "config", "title"])
|
|
1018
|
+
]),
|
|
1019
|
+
_: 1
|
|
1020
|
+
}, 8, ["config"])) : d("", !0)
|
|
1021
|
+
], 14, jt));
|
|
1022
|
+
}
|
|
1023
|
+
}, ja = /* @__PURE__ */ Qt(Va, [["__scopeId", "data-v-3ae192b4"]]);
|
|
1024
|
+
export {
|
|
1025
|
+
ja as default
|
|
1026
|
+
};
|