vue-data-ui 2.4.41 → 2.4.42
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-6z0ZQva_.js → Arrow-DE71uBJZ.js} +1 -1
- package/dist/{Arrow-Cht76m69.cjs → Arrow-DTscDttD.cjs} +1 -1
- package/dist/{BaseIcon-DCE3wRiG.js → BaseIcon-C8XxmpRq.js} +1 -1
- package/dist/{BaseIcon-D-JUZiGA.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
- package/dist/{DataTable-Cr3Xkxe4.cjs → DataTable-DEdQvqB1.cjs} +1 -1
- package/dist/{DataTable-B5DiCrf_.js → DataTable-D_w08xos.js} +2 -2
- package/dist/{Legend-DzxQIjDO.js → Legend-BWDoQii_.js} +1 -1
- package/dist/{Legend-BXG_XPom.cjs → Legend-C4rlR-Ge.cjs} +1 -1
- package/dist/{PackageVersion-S7OD_s5u.js → PackageVersion-CH6MCx6T.js} +1 -1
- package/dist/{PackageVersion-CMtZxTqq.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
- package/dist/{PenAndPaper-BxJZd7k9.js → PenAndPaper-BWTR3U2d.js} +3 -3
- package/dist/{PenAndPaper-DWYhyZye.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
- package/dist/{Shape-CvL90fNe.cjs → Shape-BLS-KzBD.cjs} +1 -1
- package/dist/{Shape-C3ywBhkW.js → Shape-xrlfL_v4.js} +1 -1
- package/dist/Slicer-8gKX0l4Q.cjs +1 -0
- package/dist/Slicer-DIYseEL1.js +423 -0
- package/dist/{Title-D9gPXVTT.cjs → Title-B-xkTfi8.cjs} +1 -1
- package/dist/{Title-BB0O0yol.js → Title-Cnl9ySNH.js} +1 -1
- package/dist/Tooltip-Brbj6DqX.cjs +1 -0
- package/dist/{Tooltip-GvLaModr.js → Tooltip-DEAOBZ8h.js} +33 -25
- package/dist/index-B68kzBN9.cjs +9 -0
- package/dist/{index-B6Q1Fyk0.js → index-DnukYspq.js} +45 -41
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +4 -0
- package/dist/types/vue-data-ui.d.ts +4 -0
- package/dist/{useNestedProp-DQpuJSz3.js → useNestedProp-CVOQGx-X.js} +1 -1
- package/dist/{useNestedProp-bZitLnbb.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
- package/dist/{usePrinter-DtpFEgOX.cjs → usePrinter-C9yUesCc.cjs} +1 -1
- package/dist/{usePrinter-D8dIU7aG.js → usePrinter-DVIALk5e.js} +1 -1
- package/dist/{vue-data-ui-H24TWcBx.js → vue-data-ui-BmmjmNbb.js} +60 -60
- package/dist/{vue-data-ui-DBN7iJHU.cjs → vue-data-ui-LA94HAVo.cjs} +1 -1
- package/dist/vue-data-ui.cjs +1 -1
- package/dist/vue-data-ui.js +3 -3
- package/dist/{vue-ui-3d-bar-BA2CQYGW.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
- package/dist/{vue-ui-3d-bar-BaNI_M3v.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
- package/dist/{vue-ui-accordion-u4xDSvRn.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
- package/dist/{vue-ui-accordion-BOHicozd.js → vue-ui-accordion-f9NTID9e.js} +3 -3
- package/dist/{vue-ui-age-pyramid-DN25tjv-.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-vKWko9vn.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
- package/dist/{vue-ui-annotator-D4KNucw5.js → vue-ui-annotator-C82vEb7R.js} +1 -1
- package/dist/{vue-ui-annotator-BcxUQ5tM.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
- package/dist/{vue-ui-bullet-DZgtd_qb.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
- package/dist/{vue-ui-bullet-C3DKTZbg.cjs → vue-ui-bullet-D6KC5yoe.cjs} +1 -1
- package/dist/vue-ui-candlestick-Duf3yfwR.js +740 -0
- package/dist/vue-ui-candlestick-lunuQ9Ka.cjs +2 -0
- package/dist/{vue-ui-carousel-table-C62szGjt.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-Bpsrlbx9.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
- package/dist/{vue-ui-chestnut-DhPSNM96.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
- package/dist/{vue-ui-chestnut-VWwSZnUX.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
- package/dist/{vue-ui-cursor-BM2OiZnZ.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
- package/dist/{vue-ui-cursor-BwnZYB4D.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
- package/dist/{vue-ui-dashboard-D8FU1GbE.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
- package/dist/{vue-ui-dashboard-BcnW7vDs.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
- package/dist/{vue-ui-digits-BmQBwho3.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
- package/dist/{vue-ui-digits-M4Pvrg0n.js → vue-ui-digits-DtNvb8lM.js} +2 -2
- package/dist/{vue-ui-donut-BgsQjURe.js → vue-ui-donut-C028OlzU.js} +99 -98
- package/dist/vue-ui-donut-evolution-2vQPsBFq.cjs +1 -0
- package/dist/vue-ui-donut-evolution-CprYApXF.js +908 -0
- package/dist/{vue-ui-donut-CZZfvbPk.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-zv7yiPPM.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
- package/dist/{vue-ui-dumbbell-CsMqgiGr.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
- package/dist/{vue-ui-flow-BqtIWBkz.js → vue-ui-flow-QRimZUXT.js} +46 -46
- package/dist/{vue-ui-flow-E5MkZ3Yb.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
- package/dist/{vue-ui-funnel-QU0_JscL.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
- package/dist/{vue-ui-funnel-CmVLAttG.js → vue-ui-funnel-CBymVSdd.js} +19 -19
- package/dist/{vue-ui-galaxy-BPDH-9KW.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
- package/dist/{vue-ui-galaxy-sy8zvgcg.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
- package/dist/{vue-ui-gauge--hARSvgz.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
- package/dist/{vue-ui-gauge-D_yokJMS.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
- package/dist/{vue-ui-gizmo-AUJq3EQL.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CvTeq5j0.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
- package/dist/{vue-ui-heatmap-D-xNLuqW.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-lI8oO-nh.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
- package/dist/{vue-ui-history-plot-BC0Rvo-r.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-D3CwJpll.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
- package/dist/{vue-ui-kpi-B4FQKZ_r.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
- package/dist/{vue-ui-kpi-C0agq-Os.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
- package/dist/{vue-ui-mini-loader-CkjJ5pRO.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
- package/dist/{vue-ui-mini-loader-BJ70GAEv.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
- package/dist/{vue-ui-molecule-CsQfkIEE.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
- package/dist/{vue-ui-molecule-V9UFJHeV.js → vue-ui-molecule-CZi84tUl.js} +26 -25
- package/dist/{vue-ui-mood-radar-Cj_wOEbY.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
- package/dist/{vue-ui-mood-radar-CdU2vusL.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-DFVQwbHg.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
- package/dist/{vue-ui-nested-donuts-DevV-xZr.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
- package/dist/{vue-ui-onion-BJ-PjA7d.js → vue-ui-onion-CIRGvycb.js} +49 -48
- package/dist/{vue-ui-onion-DGWktnME.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CjxZbVNa.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-33naX1Ss.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
- package/dist/{vue-ui-quadrant-xJaZzXgo.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
- package/dist/{vue-ui-quadrant-DqZqBb2L.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-BwN9eLye.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
- package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
- package/dist/{vue-ui-radar-B4EXwJDY.js → vue-ui-radar-CXXAYowO.js} +38 -37
- package/dist/{vue-ui-radar-CQ66YUG5.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
- package/dist/{vue-ui-rating-DNkygw1i.js → vue-ui-rating-DOqMciYJ.js} +2 -2
- package/dist/{vue-ui-rating-D334I4ju.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-CP2Z6IWV.cjs → vue-ui-relation-circle-BEv568py.cjs} +1 -1
- package/dist/{vue-ui-relation-circle-BKeSh28h.js → vue-ui-relation-circle-CR3iWQV_.js} +19 -19
- package/dist/{vue-ui-rings-D6M3UNSE.js → vue-ui-rings-B--CFaNX.js} +49 -48
- package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
- package/dist/{vue-ui-scatter-JUPbbsO7.js → vue-ui-scatter-C-RD4h73.js} +26 -25
- package/dist/{vue-ui-scatter-C9ZoWV1q.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
- package/dist/{vue-ui-screenshot-DmLDHfF9.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
- package/dist/{vue-ui-screenshot-JMBX_AWn.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
- package/dist/{vue-ui-skeleton-D7rg5vFC.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
- package/dist/{vue-ui-skeleton-E9_X0-sa.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
- package/dist/{vue-ui-smiley-aRTznf8z.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
- package/dist/{vue-ui-smiley-BAlHZm8H.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
- package/dist/{vue-ui-spark-trend-DZR6Fqu5.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-J9swikF_.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
- package/dist/{vue-ui-sparkbar-Bjmi8pMf.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-B0tCpwZ9.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DVX2pIC3.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
- package/dist/{vue-ui-sparkgauge-Dhzbkn67.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-Wd6q0mqj.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-gIaXDrFh.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DYT-gts9.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
- package/dist/{vue-ui-sparkline-B5ySeM9y.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-ilvB3RBv.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-BMGA05VR.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
- package/dist/{vue-ui-stackbar-BZbOagnf.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
- package/dist/{vue-ui-strip-plot-B-r4luYX.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
- package/dist/{vue-ui-strip-plot-DPo7osh_.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
- package/dist/{vue-ui-table-wlXHwJVW.js → vue-ui-table-CS-NSZjj.js} +1 -1
- package/dist/{vue-ui-table-C6z56ODT.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-CM-c7n0F.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
- package/dist/{vue-ui-table-heatmap-B05GifSw.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-DHaEHFG_.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
- package/dist/{vue-ui-table-sparkline-Dx-ePVqW.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
- package/dist/{vue-ui-thermometer-HCpOZBHv.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BU_ckSdu.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
- package/dist/{vue-ui-timer-CUChwyzF.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
- package/dist/{vue-ui-timer-DiRZ849L.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
- package/dist/{vue-ui-tiremarks-yoQtfbj7.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-BHMNb_tq.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
- package/dist/{vue-ui-treemap-BpD6OdL3.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
- package/dist/{vue-ui-treemap-BInwLSes.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-CBNWMmCg.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
- package/dist/{vue-ui-vertical-bar-hS4gzdKs.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
- package/dist/{vue-ui-waffle-Cmq6zhD8.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
- package/dist/{vue-ui-waffle-BE8iTrGF.js → vue-ui-waffle-DYdcFM17.js} +79 -78
- package/dist/{vue-ui-wheel-BXSIBRLM.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
- package/dist/{vue-ui-wheel-BT0mLxln.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-3wvSYRbp.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
- package/dist/{vue-ui-word-cloud-BXHlm41O.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
- package/dist/{vue-ui-xy-D8XvOgW6.js → vue-ui-xy-B3346TfB.js} +195 -185
- package/dist/vue-ui-xy-DHYbKvBg.cjs +3 -0
- package/dist/vue-ui-xy-canvas-DtPqmu7B.cjs +9 -0
- package/dist/{vue-ui-xy-canvas-Cx7vPyfT.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
- package/package.json +1 -1
- package/dist/Slicer-B2aHb4bj.cjs +0 -1
- package/dist/Slicer-D9ASV60L.js +0 -400
- package/dist/Tooltip-ypQtmi99.cjs +0 -1
- package/dist/index-B5Ugkauv.cjs +0 -9
- package/dist/vue-ui-candlestick-C8yBMu8-.js +0 -725
- package/dist/vue-ui-candlestick-DVEofXBZ.cjs +0 -2
- package/dist/vue-ui-donut-evolution-BO2-ARBX.js +0 -895
- package/dist/vue-ui-donut-evolution-DP14ctdf.cjs +0 -1
- package/dist/vue-ui-quick-chart-BzpXJYR_.cjs +0 -15
- package/dist/vue-ui-rings-2oDSTctd.cjs +0 -2
- package/dist/vue-ui-stackbar-BZKwsAjO.cjs +0 -6
- package/dist/vue-ui-xy-CfduqTWA.cjs +0 -3
- package/dist/vue-ui-xy-canvas-BTR-cL02.cjs +0 -9
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
import { ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import { t as
|
|
4
|
-
import
|
|
5
|
-
import { _ as
|
|
6
|
-
import { u as
|
|
7
|
-
import { S as
|
|
8
|
-
import
|
|
9
|
-
import { u as
|
|
10
|
-
import { _ as
|
|
11
|
-
import { P as
|
|
12
|
-
import { _ as
|
|
1
|
+
import { ref as L, computed as D, watch as Oe, onMounted as xt, onBeforeUnmount as yt, nextTick as $e, openBlock as a, createElementBlock as l, normalizeClass as re, normalizeStyle as N, createBlock as Ce, createCommentVNode as f, unref as g, createSlots as kt, withCtx as Q, renderSlot as M, normalizeProps as H, guardReactiveProps as se, toDisplayString as R, createVNode as ve, createElementVNode as A, Fragment as p, renderList as z, mergeProps as Ne, pushScopeId as St, popScopeId as bt } from "vue";
|
|
2
|
+
import { u as wt, c as At, t as _t, a as zt, p as V, C as et, b as Lt, J as $t, e as Ct, d as Fe, m as It, D as tt, X as Et, j as Pt, k as xe, n as Me, i as X, f as B, R as at, v as Z, x as Ie, y as Be } from "./index-DnukYspq.js";
|
|
3
|
+
import { t as Tt, u as Rt } from "./useResponsive-CoxXLe23.js";
|
|
4
|
+
import Ee from "./BaseIcon-C8XxmpRq.js";
|
|
5
|
+
import { _ as Ot } from "./Tooltip-DEAOBZ8h.js";
|
|
6
|
+
import { u as Nt, U as Ft } from "./usePrinter-DVIALk5e.js";
|
|
7
|
+
import { S as Mt } from "./Slicer-DIYseEL1.js";
|
|
8
|
+
import Bt from "./vue-ui-skeleton-CXdyOF4T.js";
|
|
9
|
+
import { u as lt } from "./useNestedProp-CVOQGx-X.js";
|
|
10
|
+
import { _ as Ut } from "./PackageVersion-CH6MCx6T.js";
|
|
11
|
+
import { P as Dt } from "./PenAndPaper-BWTR3U2d.js";
|
|
12
|
+
import { _ as Vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
13
|
const _ = {
|
|
14
14
|
LINE: "LINE",
|
|
15
15
|
BAR: "BAR",
|
|
16
16
|
DONUT: "DONUT"
|
|
17
|
-
},
|
|
18
|
-
function
|
|
19
|
-
let
|
|
20
|
-
if ((typeof
|
|
21
|
-
if (!
|
|
17
|
+
}, qt = ["SERIE", "SERIES", "DATA", "VALUE", "VALUES", "NUM"];
|
|
18
|
+
function Wt({ dataset: v, barLineSwitch: I = 6 }) {
|
|
19
|
+
let m = null, $ = null, q = 0;
|
|
20
|
+
if ((typeof v == "number" || typeof v == "string") && console.warn(`The provided dataset (${v}) is not sufficient to build a chart`), ye(v) && (Y(v) && (v.length < I ? m = _.BAR : m = _.LINE, $ = v, q = v.length), Pe(v))) {
|
|
21
|
+
if (!Gt(v))
|
|
22
22
|
return console.warn("The objects in the dataset array have a different data structure. Either keys or value types are different."), !1;
|
|
23
|
-
const oe = Object.keys(
|
|
24
|
-
if (!oe.some((P) =>
|
|
23
|
+
const oe = Object.keys(v[0]), de = Object.values(v[0]);
|
|
24
|
+
if (!oe.some((P) => Ht(P)))
|
|
25
25
|
return console.warn("The data type of the dataset objects in the array must contain one of the following keys: DATA, SERIES, VALUE, VALUES, NUM. Casing is not important."), !1;
|
|
26
|
-
|
|
26
|
+
ot(de, (P) => typeof P == "number") && (m = _.DONUT, $ = v), ot(de, (P) => Array.isArray(P) && Y(P)) && (ut(v) > I ? m = _.LINE : m = _.BAR, q = ut(v), $ = v.map((P) => ({
|
|
27
27
|
...P,
|
|
28
|
-
data:
|
|
29
|
-
}))),
|
|
28
|
+
data: Xt(P, (G) => Y(G))
|
|
29
|
+
}))), v = v.map((P) => it(P)), $ = $.map((P) => it(P));
|
|
30
30
|
}
|
|
31
|
-
return ye(
|
|
32
|
-
dataset:
|
|
33
|
-
type:
|
|
34
|
-
usableDataset:
|
|
31
|
+
return ye(v) && [...new Set(v.flatMap((oe) => Array.isArray(oe)))][0], {
|
|
32
|
+
dataset: v,
|
|
33
|
+
type: m,
|
|
34
|
+
usableDataset: $,
|
|
35
35
|
maxSeriesLength: q
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
return !
|
|
38
|
+
function nt(v) {
|
|
39
|
+
return !v || ye(v) && !v.length;
|
|
40
40
|
}
|
|
41
|
-
function ye(
|
|
42
|
-
return Array.isArray(
|
|
41
|
+
function ye(v) {
|
|
42
|
+
return Array.isArray(v);
|
|
43
43
|
}
|
|
44
|
-
function Y(
|
|
45
|
-
if (!ye(
|
|
46
|
-
const
|
|
47
|
-
return ![...new Set(
|
|
44
|
+
function Y(v) {
|
|
45
|
+
if (!ye(v) || nt(v)) return !1;
|
|
46
|
+
const I = v.map((m) => Number(m));
|
|
47
|
+
return ![...new Set(I.flatMap((m) => typeof m == "number" && !isNaN(m)))].includes(!1);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
50
|
-
return !ye(
|
|
49
|
+
function Pe(v) {
|
|
50
|
+
return !ye(v) || nt(v) || !![...new Set(v.flatMap((m) => typeof m == "object" && !Array.isArray(m)))].includes(!1) ? !1 : !v.map((m) => Object.keys(m).length > 0).includes(!1);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
53
|
-
const
|
|
54
|
-
if (
|
|
52
|
+
function jt(v, I) {
|
|
53
|
+
const m = Object.keys(v).sort(), $ = Object.keys(I).sort();
|
|
54
|
+
if (m.length !== $.length)
|
|
55
55
|
return !1;
|
|
56
|
-
for (let q = 0; q <
|
|
57
|
-
const W =
|
|
58
|
-
if (W !== le || typeof
|
|
56
|
+
for (let q = 0; q < m.length; q += 1) {
|
|
57
|
+
const W = m[q], le = $[q];
|
|
58
|
+
if (W !== le || typeof v[W] != typeof I[le])
|
|
59
59
|
return !1;
|
|
60
60
|
}
|
|
61
61
|
return !0;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
if (
|
|
65
|
-
for (let
|
|
66
|
-
for (let
|
|
67
|
-
if (!
|
|
63
|
+
function Gt(v) {
|
|
64
|
+
if (v.length <= 1) return !0;
|
|
65
|
+
for (let I = 0; I < v.length; I += 1)
|
|
66
|
+
for (let m = I + 1; m < v.length; m += 1)
|
|
67
|
+
if (!jt(v[I], v[m]))
|
|
68
68
|
return !1;
|
|
69
69
|
return !0;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
71
|
+
function Ht(v) {
|
|
72
|
+
return qt.includes(v.toUpperCase());
|
|
73
73
|
}
|
|
74
|
-
function
|
|
75
|
-
let
|
|
76
|
-
for (let
|
|
77
|
-
|
|
78
|
-
return
|
|
74
|
+
function ot(v, I) {
|
|
75
|
+
let m = [];
|
|
76
|
+
for (let $ = 0; $ < v.length; $ += 1)
|
|
77
|
+
m.push(I(v[$]));
|
|
78
|
+
return m.includes(!0);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return Math.max(...[...
|
|
80
|
+
function ut(v) {
|
|
81
|
+
return Math.max(...[...v].flatMap((I) => Object.values(I).filter((m) => Y(m)).map((m) => m.length)));
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return Object.values(
|
|
83
|
+
function Xt(v, I) {
|
|
84
|
+
return Object.values(v).filter((m) => I(m))[0];
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
const
|
|
88
|
-
for (let
|
|
89
|
-
|
|
90
|
-
return
|
|
86
|
+
function it(v) {
|
|
87
|
+
const I = {};
|
|
88
|
+
for (let m in v)
|
|
89
|
+
v.hasOwnProperty(m) && (I[m.toUpperCase()] = v[m]);
|
|
90
|
+
return I;
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const rt = (v) => (St("data-v-7c8df607"), v = v(), bt(), v), Zt = ["id"], Yt = ["xmlns", "viewBox"], Jt = ["id"], Qt = ["id"], Kt = /* @__PURE__ */ rt(() => /* @__PURE__ */ A("feColorMatrix", {
|
|
93
93
|
type: "saturate",
|
|
94
94
|
values: "0"
|
|
95
|
-
}, null, -1)),
|
|
95
|
+
}, null, -1)), ea = ["id"], ta = ["flood-color"], aa = {
|
|
96
96
|
key: 0,
|
|
97
97
|
class: "donut-label-connectors"
|
|
98
|
-
},
|
|
98
|
+
}, la = ["d", "stroke", "stroke-width", "filter"], oa = ["cx", "cy", "r", "fill", "filter"], ua = { class: "donut" }, ia = ["d", "fill", "stroke", "stroke-width", "filter"], na = ["d", "onMouseenter", "onClick"], ra = {
|
|
99
99
|
key: 1,
|
|
100
100
|
class: "donut-labels quick-animation"
|
|
101
|
-
},
|
|
101
|
+
}, sa = ["cx", "cy", "fill", "stroke", "filter"], va = ["text-anchor", "x", "y", "fill", "font-size", "filter"], da = ["text-anchor", "x", "y", "fill", "font-size", "filter"], ca = {
|
|
102
102
|
key: 2,
|
|
103
103
|
class: "donut-hollow quick-animation"
|
|
104
|
-
},
|
|
104
|
+
}, ha = ["x", "y", "font-size", "fill"], fa = ["x", "y", "font-size", "fill"], ga = {
|
|
105
105
|
key: 0,
|
|
106
106
|
class: "line-grid"
|
|
107
|
-
},
|
|
107
|
+
}, ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xa = {
|
|
108
108
|
key: 1,
|
|
109
109
|
class: "line-axis"
|
|
110
|
-
},
|
|
110
|
+
}, ya = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ka = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Sa = {
|
|
111
111
|
key: 2,
|
|
112
112
|
class: "yLabels"
|
|
113
|
-
},
|
|
113
|
+
}, ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], wa = ["x", "y", "font-size", "fill"], Aa = {
|
|
114
114
|
key: 3,
|
|
115
115
|
class: "periodLabels"
|
|
116
|
-
},
|
|
116
|
+
}, _a = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], za = ["font-size", "text-anchor", "fill", "transform"], La = { class: "plots" }, $a = { class: "line-plot-series" }, Ca = ["d", "stroke", "stroke-width"], Ia = ["d", "stroke", "stroke-width"], Ea = ["d", "stroke", "stroke-width"], Pa = ["d", "stroke", "stroke-width"], Ta = ["cx", "cy", "fill", "stroke"], Ra = {
|
|
117
117
|
key: 4,
|
|
118
118
|
class: "dataLabels"
|
|
119
|
-
},
|
|
119
|
+
}, Oa = ["font-size", "fill", "x", "y"], Na = { class: "tooltip-traps" }, Fa = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], Ma = {
|
|
120
120
|
key: 0,
|
|
121
121
|
class: "line-grid"
|
|
122
|
-
},
|
|
122
|
+
}, Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Da = {
|
|
123
123
|
key: 1,
|
|
124
124
|
class: "line-axis"
|
|
125
|
-
},
|
|
125
|
+
}, Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wa = {
|
|
126
126
|
key: 2,
|
|
127
127
|
class: "yLabels"
|
|
128
|
-
},
|
|
128
|
+
}, ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ga = ["x", "y", "font-size", "fill"], Ha = {
|
|
129
129
|
key: 3,
|
|
130
130
|
class: "periodLabels"
|
|
131
|
-
},
|
|
131
|
+
}, Xa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Za = ["font-size", "text-anchor", "transform", "fill"], Ya = { class: "plots" }, Ja = ["x", "width", "height", "y", "fill", "stroke", "stroke-width"], Qa = ["to"], Ka = ["from", "to"], el = {
|
|
132
132
|
key: 4,
|
|
133
133
|
class: "dataLabels"
|
|
134
|
-
},
|
|
134
|
+
}, tl = ["x", "y", "font-size", "fill"], al = { class: "tooltip-traps" }, ll = ["x", "y", "height", "width", "fill", "onMouseenter", "onClick"], ol = {
|
|
135
135
|
key: 3,
|
|
136
136
|
class: "axis-labels"
|
|
137
|
-
},
|
|
137
|
+
}, ul = { key: 0 }, il = ["font-size", "fill", "x", "y"], nl = { key: 1 }, rl = ["font-size", "fill", "x", "y"], sl = { key: 2 }, vl = ["font-size", "fill", "transform"], dl = { key: 3 }, cl = ["font-size", "fill", "transform"], hl = {
|
|
138
138
|
key: 6,
|
|
139
139
|
class: "vue-data-ui-watermark"
|
|
140
|
-
},
|
|
140
|
+
}, fl = ["onClick"], gl = ["onClick"], ml = ["onClick"], pl = {
|
|
141
141
|
key: 1,
|
|
142
142
|
class: "vue-ui-quick-chart-not-processable"
|
|
143
|
-
},
|
|
143
|
+
}, xl = /* @__PURE__ */ rt(() => /* @__PURE__ */ A("span", null, "Dataset is not processable", -1)), yl = {
|
|
144
144
|
__name: "vue-ui-quick-chart",
|
|
145
145
|
props: {
|
|
146
146
|
config: {
|
|
@@ -157,31 +157,32 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
157
157
|
}
|
|
158
158
|
},
|
|
159
159
|
emits: ["selectDatapoint", "selectLegend"],
|
|
160
|
-
setup(
|
|
161
|
-
const
|
|
162
|
-
get: () =>
|
|
163
|
-
set: (
|
|
160
|
+
setup(v, { expose: I, emit: m }) {
|
|
161
|
+
const $ = v, { vue_ui_quick_chart: q } = wt(), W = L(null), le = L(null), oe = L(null), de = L(null), P = L(At()), G = L(!1), ce = L(null), K = L(""), j = L(null), Ue = L(null), De = L(null), w = L([]), Ve = L(0), ke = L(0), e = D({
|
|
162
|
+
get: () => qe(),
|
|
163
|
+
set: (i) => i
|
|
164
164
|
});
|
|
165
|
-
function
|
|
166
|
-
const
|
|
167
|
-
userConfig:
|
|
165
|
+
function qe() {
|
|
166
|
+
const i = lt({
|
|
167
|
+
userConfig: $.config,
|
|
168
168
|
defaultConfig: q
|
|
169
169
|
});
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
170
|
+
let s = {};
|
|
171
|
+
return i.theme ? s = {
|
|
172
|
+
...lt({
|
|
173
|
+
userConfig: _t.vue_ui_quick_chart[i.theme] || $.config,
|
|
174
|
+
defaultConfig: i
|
|
174
175
|
}),
|
|
175
|
-
customPalette:
|
|
176
|
-
} :
|
|
176
|
+
customPalette: zt[i.theme] || V
|
|
177
|
+
} : s = i, $.config && et($.config, "zoomStartIndex") ? s.zoomStartIndex = $.config.zoomStartIndex : s.zoomStartIndex = null, $.config && et($.config, "zoomEndIndex") ? s.zoomEndIndex = $.config.zoomEndIndex : s.zoomEndIndex = null, s;
|
|
177
178
|
}
|
|
178
|
-
|
|
179
|
-
e.value =
|
|
180
|
-
}, { deep: !0 }),
|
|
181
|
-
x.value =
|
|
179
|
+
Oe(() => $.config, (i) => {
|
|
180
|
+
e.value = qe(), b.value.width = e.value.width, b.value.height = e.value.height, Ge();
|
|
181
|
+
}, { deep: !0 }), Oe(() => $.dataset, (i) => {
|
|
182
|
+
x.value = fe.value, k.value.start = 0, k.value.end = x.value.maxSeriesLength, ke.value += 1;
|
|
182
183
|
}, { deep: !0 });
|
|
183
|
-
const
|
|
184
|
-
const
|
|
184
|
+
const he = D(() => Lt(e.value.customPalette)), fe = D(() => {
|
|
185
|
+
const i = Wt({ dataset: $t($.dataset, [
|
|
185
186
|
"serie",
|
|
186
187
|
"series",
|
|
187
188
|
"data",
|
|
@@ -189,131 +190,132 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
189
190
|
"values",
|
|
190
191
|
"num"
|
|
191
192
|
]), barLineSwitch: e.value.chartIsBarUnderDatasetLength });
|
|
192
|
-
return
|
|
193
|
-
}), x =
|
|
194
|
-
|
|
195
|
-
|
|
193
|
+
return i || console.error("VueUiQuickChart : Dataset is not processable"), i;
|
|
194
|
+
}), x = L(fe.value), st = D(() => !!x.value), C = D(() => x.value ? x.value.type : null);
|
|
195
|
+
Oe(() => C.value, (i) => {
|
|
196
|
+
i || Ct({
|
|
196
197
|
componentName: "VueUiQuickChart",
|
|
197
198
|
type: "dataset"
|
|
198
199
|
});
|
|
199
200
|
}, { immediate: !0 });
|
|
200
|
-
const { isPrinting:
|
|
201
|
-
elementId: `${
|
|
202
|
-
fileName: e.value.title ||
|
|
203
|
-
}),
|
|
201
|
+
const { isPrinting: Se, isImaging: be, generatePdf: We, generateImage: je } = Nt({
|
|
202
|
+
elementId: `${C.value}_${P.value}`,
|
|
203
|
+
fileName: e.value.title || C.value
|
|
204
|
+
}), vt = D(() => e.value.showUserOptions && !e.value.title), b = L({
|
|
204
205
|
width: e.value.width,
|
|
205
206
|
height: e.value.height
|
|
206
|
-
}),
|
|
207
|
+
}), we = L({
|
|
207
208
|
showTooltip: e.value.showTooltip
|
|
208
|
-
}),
|
|
209
|
-
|
|
210
|
-
|
|
209
|
+
}), Ae = L(null);
|
|
210
|
+
xt(() => {
|
|
211
|
+
Ge();
|
|
211
212
|
});
|
|
212
|
-
function
|
|
213
|
+
function Ge() {
|
|
213
214
|
if (e.value.responsive) {
|
|
214
|
-
const
|
|
215
|
-
const { width:
|
|
215
|
+
const i = Tt(() => {
|
|
216
|
+
const { width: s, height: t } = Rt({
|
|
216
217
|
chart: W.value,
|
|
217
218
|
title: e.value.title ? le.value : null,
|
|
218
219
|
legend: e.value.showLegend ? oe.value : null,
|
|
219
|
-
slicer: [_.BAR, _.LINE].includes(
|
|
220
|
-
source:
|
|
221
|
-
noTitle:
|
|
220
|
+
slicer: [_.BAR, _.LINE].includes(C.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? de.value : null,
|
|
221
|
+
source: Ue.value,
|
|
222
|
+
noTitle: De.value
|
|
222
223
|
});
|
|
223
|
-
|
|
224
|
+
b.value.width = s, b.value.height = t;
|
|
224
225
|
});
|
|
225
|
-
|
|
226
|
+
Ae.value = new ResizeObserver(i), Ae.value.observe(W.value.parentNode);
|
|
226
227
|
}
|
|
228
|
+
Qe();
|
|
227
229
|
}
|
|
228
|
-
|
|
229
|
-
|
|
230
|
+
yt(() => {
|
|
231
|
+
Ae.value && Ae.value.disconnect();
|
|
230
232
|
});
|
|
231
|
-
const
|
|
232
|
-
switch (
|
|
233
|
+
const dt = D(() => {
|
|
234
|
+
switch (C.value) {
|
|
233
235
|
case _.LINE:
|
|
234
|
-
return `0 0 ${
|
|
236
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
235
237
|
case _.BAR:
|
|
236
|
-
return `0 0 ${
|
|
238
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
237
239
|
case _.DONUT:
|
|
238
|
-
return `0 0 ${
|
|
240
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
239
241
|
default:
|
|
240
|
-
return `0 0 ${
|
|
242
|
+
return `0 0 ${b.value.width <= 0 ? 10 : b.value.width} ${b.value.height <= 0 ? 10 : b.value.height}`;
|
|
241
243
|
}
|
|
242
244
|
});
|
|
243
|
-
function
|
|
244
|
-
return [...
|
|
245
|
+
function He(i) {
|
|
246
|
+
return [...i].map((s) => s.value).reduce((s, t) => s + t, 0);
|
|
245
247
|
}
|
|
246
|
-
function
|
|
247
|
-
return e.value.blurOnHover && ![null, void 0].includes(j.value) && j.value !==
|
|
248
|
+
function ge(i) {
|
|
249
|
+
return e.value.blurOnHover && ![null, void 0].includes(j.value) && j.value !== i ? `url(#blur_${P.value})` : "";
|
|
248
250
|
}
|
|
249
|
-
function
|
|
250
|
-
w.value.includes(
|
|
251
|
+
function Xe(i, s) {
|
|
252
|
+
w.value.includes(i) ? w.value = w.value.filter((t) => t !== i) : w.value.length < s && w.value.push(i);
|
|
251
253
|
}
|
|
252
|
-
const
|
|
253
|
-
function
|
|
254
|
-
|
|
255
|
-
let t =
|
|
256
|
-
if (w.value.includes(
|
|
254
|
+
const Ze = L(null), Ye = L(null), _e = L(!1);
|
|
255
|
+
function ct(i, s) {
|
|
256
|
+
_e.value = !0;
|
|
257
|
+
let t = i.value;
|
|
258
|
+
if (w.value.includes(i.id)) {
|
|
257
259
|
let r = function() {
|
|
258
|
-
t > n ? (
|
|
260
|
+
t > n ? (_e.value = !1, cancelAnimationFrame(Ye.value), x.value = {
|
|
259
261
|
...x.value,
|
|
260
|
-
dataset: x.value.dataset.map((h, O) =>
|
|
262
|
+
dataset: x.value.dataset.map((h, O) => i.id === `donut_${O}` ? {
|
|
261
263
|
...h,
|
|
262
264
|
value: n,
|
|
263
265
|
VALUE: n
|
|
264
266
|
} : h)
|
|
265
267
|
}) : (t += n * 0.025, x.value = {
|
|
266
268
|
...x.value,
|
|
267
|
-
dataset: x.value.dataset.map((h, O) =>
|
|
269
|
+
dataset: x.value.dataset.map((h, O) => i.id === `donut_${O}` ? {
|
|
268
270
|
...h,
|
|
269
271
|
value: t,
|
|
270
272
|
VALUE: t
|
|
271
273
|
} : h)
|
|
272
|
-
},
|
|
274
|
+
}, Ye.value = requestAnimationFrame(r));
|
|
273
275
|
};
|
|
274
|
-
w.value = w.value.filter((h) => h !==
|
|
275
|
-
const n =
|
|
276
|
+
w.value = w.value.filter((h) => h !== i.id);
|
|
277
|
+
const n = fe.value.dataset.find((h, O) => i.id === `donut_${O}`).VALUE;
|
|
276
278
|
r();
|
|
277
|
-
} else if (
|
|
279
|
+
} else if (s.length > 1) {
|
|
278
280
|
let n = function() {
|
|
279
|
-
t < 0.1 ? (
|
|
281
|
+
t < 0.1 ? (_e.value = !1, cancelAnimationFrame(Ze.value), w.value.push(i.id), x.value = {
|
|
280
282
|
...x.value,
|
|
281
|
-
dataset: x.value.dataset.map((r, h) =>
|
|
283
|
+
dataset: x.value.dataset.map((r, h) => i.id === `donut_${h}` ? {
|
|
282
284
|
...r,
|
|
283
285
|
value: 0,
|
|
284
286
|
VALUE: 0
|
|
285
287
|
} : r)
|
|
286
288
|
}) : (t /= 1.1, x.value = {
|
|
287
289
|
...x.value,
|
|
288
|
-
dataset: x.value.dataset.map((r, h) =>
|
|
290
|
+
dataset: x.value.dataset.map((r, h) => i.id === `donut_${h}` ? {
|
|
289
291
|
...r,
|
|
290
292
|
value: t,
|
|
291
293
|
VALUE: t
|
|
292
294
|
} : r)
|
|
293
|
-
},
|
|
295
|
+
}, Ze.value = requestAnimationFrame(n));
|
|
294
296
|
};
|
|
295
297
|
n();
|
|
296
298
|
}
|
|
297
299
|
}
|
|
298
|
-
const J =
|
|
299
|
-
function
|
|
300
|
-
J.value =
|
|
300
|
+
const J = L(null);
|
|
301
|
+
function ht(i) {
|
|
302
|
+
J.value = i;
|
|
301
303
|
}
|
|
302
|
-
const
|
|
303
|
-
if (
|
|
304
|
-
const
|
|
304
|
+
const Je = D(() => e.value.donutThicknessRatio < 0.15 ? 0.15 : e.value.donutThicknessRatio > 0.4 ? 0.4 : e.value.donutThicknessRatio), E = D(() => {
|
|
305
|
+
if (C.value !== _.DONUT) return null;
|
|
306
|
+
const i = x.value.dataset.map((o, u) => ({
|
|
305
307
|
...o,
|
|
306
308
|
value: o.VALUE || o.DATA || o.SERIE || o.VALUES || o.NUM || 0,
|
|
307
|
-
name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${
|
|
308
|
-
id: `donut_${
|
|
309
|
-
})).map((o,
|
|
309
|
+
name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${u}`,
|
|
310
|
+
id: `donut_${u}`
|
|
311
|
+
})).map((o, u) => ({
|
|
310
312
|
...o,
|
|
311
|
-
color: o.COLOR ?
|
|
313
|
+
color: o.COLOR ? Fe(o.COLOR) : he.value[u + e.value.paletteStartIndex] || V[u + e.value.paletteStartIndex] || V[(u + e.value.paletteStartIndex) % V.length],
|
|
312
314
|
immutableValue: o.value
|
|
313
315
|
}));
|
|
314
|
-
function
|
|
316
|
+
function s(o, u) {
|
|
315
317
|
return B({
|
|
316
|
-
v: isNaN(o.value /
|
|
318
|
+
v: isNaN(o.value / He(u)) ? 0 : o.value / He(u) * 100,
|
|
317
319
|
s: "%",
|
|
318
320
|
r: e.value.dataLabelRoundingPercentage
|
|
319
321
|
});
|
|
@@ -321,23 +323,23 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
321
323
|
function t(o) {
|
|
322
324
|
return o.proportion * 100 > e.value.donutHideLabelUnderPercentage;
|
|
323
325
|
}
|
|
324
|
-
function n(o,
|
|
325
|
-
const
|
|
326
|
-
return Math.abs(String(Number(
|
|
326
|
+
function n(o, u) {
|
|
327
|
+
const S = fe.value.dataset.find((T, F) => `donut_${F}` === o).VALUE;
|
|
328
|
+
return Math.abs(String(Number(S.toFixed(0))).length - String(Number(u.toFixed(0))).length);
|
|
327
329
|
}
|
|
328
|
-
function r({ datapoint: o, seriesIndex:
|
|
329
|
-
|
|
330
|
-
const
|
|
331
|
-
if (
|
|
330
|
+
function r({ datapoint: o, seriesIndex: u }) {
|
|
331
|
+
ce.value = { datapoint: o, seriesIndex: u, config: e.value, dataset: i }, j.value = o.id;
|
|
332
|
+
const S = e.value.tooltipCustomFormat;
|
|
333
|
+
if (Ie(S) && Be(() => S({
|
|
332
334
|
datapoint: o,
|
|
333
|
-
seriesIndex:
|
|
334
|
-
series:
|
|
335
|
+
seriesIndex: u,
|
|
336
|
+
series: i,
|
|
335
337
|
config: e.value
|
|
336
338
|
})))
|
|
337
|
-
K.value =
|
|
339
|
+
K.value = S({
|
|
338
340
|
datapoint: o,
|
|
339
|
-
seriesIndex:
|
|
340
|
-
series:
|
|
341
|
+
seriesIndex: u,
|
|
342
|
+
series: i,
|
|
341
343
|
config: e.value
|
|
342
344
|
});
|
|
343
345
|
else {
|
|
@@ -351,7 +353,7 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
351
353
|
s: e.value.valueSuffix,
|
|
352
354
|
r: e.value.dataLabelRoundingValue
|
|
353
355
|
}),
|
|
354
|
-
{ datapoint: o, seriesIndex:
|
|
356
|
+
{ datapoint: o, seriesIndex: u }
|
|
355
357
|
)}</b>`, y += `<span>(${B({ v: o.proportion * 100, s: "%", r: e.value.dataLabelRoundingPercentage })})</span></div>`, K.value = `<div>${y}</div>`;
|
|
356
358
|
}
|
|
357
359
|
G.value = !0;
|
|
@@ -360,31 +362,31 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
360
362
|
G.value = !1, j.value = null, J.value = null;
|
|
361
363
|
}
|
|
362
364
|
const O = {
|
|
363
|
-
centerX:
|
|
364
|
-
centerY:
|
|
365
|
-
}, U =
|
|
365
|
+
centerX: b.value.width / 2,
|
|
366
|
+
centerY: b.value.height / 2
|
|
367
|
+
}, U = i.filter((o) => !w.value.includes(o.id)).map((o) => o.value || 0).reduce((o, u) => o + u, 0), ie = i.map((o, u) => ({
|
|
366
368
|
...o,
|
|
367
369
|
proportion: (o.value || 0) / U,
|
|
368
370
|
value: o.value || 0,
|
|
369
|
-
absoluteValue:
|
|
370
|
-
})), ee =
|
|
371
|
+
absoluteValue: fe.value.dataset.find((S, y) => `donut_${y}` === o.id).VALUE
|
|
372
|
+
})), ee = b.value.width / 2, ne = b.value.height / 2, te = b.value.height * e.value.donutRadiusRatio;
|
|
371
373
|
return {
|
|
372
374
|
dataset: ie.filter((o) => !w.value.includes(o.id)),
|
|
373
375
|
legend: ie,
|
|
374
376
|
drawingArea: O,
|
|
375
|
-
displayArcPercentage:
|
|
377
|
+
displayArcPercentage: s,
|
|
376
378
|
isArcBigEnough: t,
|
|
377
379
|
useTooltip: r,
|
|
378
380
|
killTooltip: h,
|
|
379
381
|
getSpaces: n,
|
|
380
382
|
total: U,
|
|
381
383
|
cx: ee,
|
|
382
|
-
cy:
|
|
384
|
+
cy: ne,
|
|
383
385
|
radius: te,
|
|
384
|
-
chart:
|
|
385
|
-
{ series:
|
|
386
|
+
chart: It(
|
|
387
|
+
{ series: i.filter((o) => !w.value.includes(o.id)) },
|
|
386
388
|
ee,
|
|
387
|
-
|
|
389
|
+
ne,
|
|
388
390
|
te,
|
|
389
391
|
te,
|
|
390
392
|
1.99999,
|
|
@@ -392,130 +394,138 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
392
394
|
1,
|
|
393
395
|
360,
|
|
394
396
|
105.25,
|
|
395
|
-
|
|
397
|
+
b.value.height * Je.value
|
|
396
398
|
)
|
|
397
399
|
};
|
|
398
|
-
}), k =
|
|
400
|
+
}), k = L({
|
|
399
401
|
start: 0,
|
|
400
402
|
end: x.value.maxSeriesLength
|
|
401
403
|
});
|
|
402
|
-
function
|
|
403
|
-
|
|
404
|
+
function ft() {
|
|
405
|
+
Qe();
|
|
406
|
+
}
|
|
407
|
+
const ue = L(null);
|
|
408
|
+
async function Qe() {
|
|
409
|
+
(e.value.zoomStartIndex !== null || e.value.zoomEndIndex !== null) && ue.value ? (e.value.zoomStartIndex !== null && (await $e(), await $e(), ue.value && ue.value.setStartValue(e.value.zoomStartIndex)), e.value.zoomEndIndex !== null && (await $e(), await $e(), ue.value && ue.value.setEndValue(gt(e.value.zoomEndIndex + 1)))) : (k.value = {
|
|
404
410
|
start: 0,
|
|
405
411
|
end: x.value.maxSeriesLength
|
|
406
|
-
},
|
|
412
|
+
}, ke.value += 1);
|
|
407
413
|
}
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
414
|
+
function gt(i) {
|
|
415
|
+
const s = x.value.maxSeriesLength;
|
|
416
|
+
return i > s ? s : i < 0 || e.value.zoomStartIndex !== null && i < e.value.zoomStartIndex ? e.value.zoomStartIndex !== null ? e.value.zoomStartIndex + 1 : 1 : i;
|
|
417
|
+
}
|
|
418
|
+
const mt = D(() => {
|
|
419
|
+
if (!e.value.zoomMinimap.show || C.value === _.DONUT) return [];
|
|
420
|
+
let i = [];
|
|
421
|
+
Y(x.value.dataset) && (i = x.value.dataset), Pe(x.value.dataset) && (i = x.value.dataset.map((r, h) => ({
|
|
412
422
|
values: r.VALUE || r.DATA || r.SERIE || r.SERIES || r.VALUES || r.NUM || 0,
|
|
413
|
-
id:
|
|
423
|
+
id: C.value === _.LINE ? `line_${h}` : `bar_${h}`
|
|
414
424
|
})).filter((r) => !w.value.includes(r.id)));
|
|
415
|
-
const
|
|
425
|
+
const s = Y(i) ? i.length : Math.max(...i.map((r) => r.values.length));
|
|
416
426
|
let t = [];
|
|
417
|
-
if (Y(
|
|
418
|
-
t =
|
|
427
|
+
if (Y(i))
|
|
428
|
+
t = i;
|
|
419
429
|
else
|
|
420
|
-
for (let r = 0; r <
|
|
421
|
-
t.push(
|
|
430
|
+
for (let r = 0; r < s; r += 1)
|
|
431
|
+
t.push(i.map((h) => h.values[r] || 0).reduce((h, O) => (h || 0) + (O || 0), 0));
|
|
422
432
|
const n = Math.min(...t);
|
|
423
433
|
return t.map((r) => r + (n < 0 ? Math.abs(n) : 0));
|
|
424
|
-
}),
|
|
425
|
-
if (
|
|
426
|
-
const
|
|
427
|
-
height:
|
|
428
|
-
width:
|
|
429
|
-
},
|
|
434
|
+
}), c = D(() => {
|
|
435
|
+
if (C.value !== _.LINE) return null;
|
|
436
|
+
const i = {
|
|
437
|
+
height: b.value.height,
|
|
438
|
+
width: b.value.width
|
|
439
|
+
}, s = {
|
|
430
440
|
left: e.value.xyPaddingLeft,
|
|
431
441
|
top: e.value.xyPaddingTop,
|
|
432
|
-
right:
|
|
433
|
-
bottom:
|
|
434
|
-
width:
|
|
435
|
-
height:
|
|
442
|
+
right: i.width - e.value.xyPaddingRight,
|
|
443
|
+
bottom: i.height - e.value.xyPaddingBottom,
|
|
444
|
+
width: i.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
|
|
445
|
+
height: i.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
436
446
|
};
|
|
437
447
|
let t = [];
|
|
438
448
|
Y(x.value.dataset) && (t = [
|
|
439
449
|
{
|
|
440
450
|
values: x.value.dataset.slice(k.value.start, k.value.end),
|
|
441
|
-
absoluteIndices: x.value.dataset.map((o,
|
|
451
|
+
absoluteIndices: x.value.dataset.map((o, u) => u).slice(k.value.start, k.value.end),
|
|
442
452
|
name: e.value.title,
|
|
443
|
-
color:
|
|
453
|
+
color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
|
|
444
454
|
id: "line_0"
|
|
445
455
|
}
|
|
446
|
-
]),
|
|
456
|
+
]), Pe(x.value.dataset) && (t = x.value.dataset.map((o, u) => ({
|
|
447
457
|
...o,
|
|
448
458
|
values: o.VALUE || o.DATA || o.SERIE || o.SERIES || o.VALUES || o.NUM || 0,
|
|
449
|
-
name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${
|
|
450
|
-
id: `line_${
|
|
451
|
-
})).map((o,
|
|
459
|
+
name: o.NAME || o.DESCRIPTION || o.TITLE || o.LABEL || `Serie ${u}`,
|
|
460
|
+
id: `line_${u}`
|
|
461
|
+
})).map((o, u) => ({
|
|
452
462
|
...o,
|
|
453
|
-
color: o.COLOR ?
|
|
463
|
+
color: o.COLOR ? Fe(o.COLOR) : he.value[u + e.value.paletteStartIndex] || V[u + e.value.paletteStartIndex] || V[(u + e.value.paletteStartIndex) % V.length],
|
|
454
464
|
values: o.values.slice(k.value.start, k.value.end),
|
|
455
|
-
absoluteIndices: o.values.map((
|
|
465
|
+
absoluteIndices: o.values.map((S, y) => y).slice(k.value.start, k.value.end)
|
|
456
466
|
})));
|
|
457
467
|
const n = {
|
|
458
468
|
max: Math.max(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
|
|
459
469
|
min: Math.min(...t.filter((o) => !w.value.includes(o.id)).flatMap((o) => o.values)),
|
|
460
470
|
maxSeries: Math.max(...t.map((o) => o.values.length))
|
|
461
|
-
}, r =
|
|
462
|
-
y:
|
|
463
|
-
x:
|
|
471
|
+
}, r = tt(n.min < 0 ? n.min : 0, n.max < 0 ? 0 : n.max, e.value.xyScaleSegments), h = n.min < 0 ? Math.abs(n.min) : 0, O = n.max < 0 ? s.top : s.bottom - h / (r.max + h) * s.height, U = s.width / n.maxSeries, ie = r.ticks.map((o) => ({
|
|
472
|
+
y: s.bottom - s.height * ((o + h) / (r.max + h)),
|
|
473
|
+
x: s.left - 8,
|
|
464
474
|
value: o
|
|
465
|
-
})), ee = t.map((o,
|
|
475
|
+
})), ee = t.map((o, u) => ({
|
|
466
476
|
...o,
|
|
467
|
-
coordinates: o.values.map((
|
|
468
|
-
x:
|
|
469
|
-
y:
|
|
470
|
-
value:
|
|
477
|
+
coordinates: o.values.map((S, y) => ({
|
|
478
|
+
x: s.left + U * (y + 1) - U / 2,
|
|
479
|
+
y: s.bottom - (S + h) / (r.max + h) * s.height,
|
|
480
|
+
value: S
|
|
471
481
|
}))
|
|
472
482
|
})).map((o) => {
|
|
473
|
-
let
|
|
474
|
-
return o.coordinates.forEach((
|
|
475
|
-
|
|
483
|
+
let u = [];
|
|
484
|
+
return o.coordinates.forEach((S) => {
|
|
485
|
+
u.push(`${S.x},${S.y} `);
|
|
476
486
|
}), {
|
|
477
487
|
...o,
|
|
478
|
-
linePath:
|
|
488
|
+
linePath: u.join(" ")
|
|
479
489
|
};
|
|
480
490
|
});
|
|
481
|
-
function
|
|
491
|
+
function ne(o) {
|
|
482
492
|
j.value = o, J.value = o;
|
|
483
|
-
const
|
|
493
|
+
const u = t.map((y) => ({
|
|
484
494
|
...y,
|
|
485
495
|
value: y.values[o],
|
|
486
496
|
absoluteIndex: y.absoluteIndices[o]
|
|
487
497
|
})).filter((y) => !w.value.includes(y.id));
|
|
488
|
-
|
|
489
|
-
const
|
|
490
|
-
if (
|
|
491
|
-
datapoint:
|
|
498
|
+
ce.value = { datapoint: u, seriesIndex: o, config: e.value, dataset: t };
|
|
499
|
+
const S = e.value.tooltipCustomFormat;
|
|
500
|
+
if (Ie(S) && Be(() => S({
|
|
501
|
+
datapoint: u,
|
|
492
502
|
seriesIndex: o,
|
|
493
503
|
series: t,
|
|
494
504
|
config: e.value
|
|
495
505
|
})))
|
|
496
|
-
K.value =
|
|
497
|
-
datapoint:
|
|
506
|
+
K.value = S({
|
|
507
|
+
datapoint: u,
|
|
498
508
|
seriesIndex: o,
|
|
499
509
|
series: t,
|
|
500
510
|
config: e.value
|
|
501
511
|
});
|
|
502
512
|
else {
|
|
503
513
|
let y = "";
|
|
504
|
-
e.value.xyPeriods[
|
|
514
|
+
e.value.xyPeriods[u[0].absoluteIndex] && (y += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[u[0].absoluteIndex]}</div>`), u.forEach((T, F) => {
|
|
505
515
|
y += `
|
|
506
516
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
507
|
-
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${
|
|
508
|
-
<span>${
|
|
517
|
+
<svg viewBox="0 0 12 12" height="14" width="12"><circle cx="6" cy="6" r="6" stroke="none" fill="${T.color}"/></svg>
|
|
518
|
+
<span>${T.name}:</span>
|
|
509
519
|
<b>${X(
|
|
510
520
|
e.value.formatter,
|
|
511
|
-
|
|
521
|
+
T.value,
|
|
512
522
|
B({
|
|
513
523
|
p: e.value.valuePrefix,
|
|
514
|
-
v:
|
|
524
|
+
v: T.value,
|
|
515
525
|
s: e.value.valueSuffix,
|
|
516
526
|
r: e.value.dataLabelRoundingValue
|
|
517
527
|
}),
|
|
518
|
-
{ datapoint:
|
|
528
|
+
{ datapoint: T, seriesIndex: F }
|
|
519
529
|
)}
|
|
520
530
|
</b>
|
|
521
531
|
</div>
|
|
@@ -531,104 +541,104 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
531
541
|
absoluteZero: O,
|
|
532
542
|
dataset: ee.filter((o) => !w.value.includes(o.id)),
|
|
533
543
|
legend: ee,
|
|
534
|
-
drawingArea:
|
|
544
|
+
drawingArea: s,
|
|
535
545
|
extremes: n,
|
|
536
546
|
slotSize: U,
|
|
537
547
|
yLabels: ie,
|
|
538
|
-
useTooltip:
|
|
548
|
+
useTooltip: ne,
|
|
539
549
|
killTooltip: te
|
|
540
550
|
};
|
|
541
|
-
}),
|
|
542
|
-
if (
|
|
543
|
-
const
|
|
544
|
-
height:
|
|
545
|
-
width:
|
|
546
|
-
},
|
|
551
|
+
}), d = D(() => {
|
|
552
|
+
if (C.value !== _.BAR) return null;
|
|
553
|
+
const i = {
|
|
554
|
+
height: b.value.height,
|
|
555
|
+
width: b.value.width
|
|
556
|
+
}, s = {
|
|
547
557
|
left: e.value.xyPaddingLeft,
|
|
548
558
|
top: e.value.xyPaddingTop,
|
|
549
|
-
right:
|
|
550
|
-
bottom:
|
|
551
|
-
width:
|
|
552
|
-
height:
|
|
559
|
+
right: i.width - e.value.xyPaddingRight,
|
|
560
|
+
bottom: i.height - e.value.xyPaddingBottom,
|
|
561
|
+
width: i.width - e.value.xyPaddingLeft - e.value.xyPaddingRight,
|
|
562
|
+
height: i.height - e.value.xyPaddingTop - e.value.xyPaddingBottom
|
|
553
563
|
};
|
|
554
564
|
let t = [];
|
|
555
565
|
Y(x.value.dataset) && (t = [
|
|
556
566
|
{
|
|
557
567
|
values: x.value.dataset.slice(k.value.start, k.value.end),
|
|
558
|
-
absoluteIndices: x.value.dataset.map((
|
|
568
|
+
absoluteIndices: x.value.dataset.map((u, S) => S).slice(k.value.start, k.value.end),
|
|
559
569
|
name: e.value.title,
|
|
560
|
-
color:
|
|
570
|
+
color: he.value[e.value.paletteStartIndex] || V[e.value.paletteStartIndex],
|
|
561
571
|
id: "bar_0"
|
|
562
572
|
}
|
|
563
|
-
]),
|
|
564
|
-
...
|
|
565
|
-
values:
|
|
566
|
-
name:
|
|
567
|
-
id: `bar_${
|
|
568
|
-
})).map((
|
|
569
|
-
...
|
|
570
|
-
color:
|
|
571
|
-
values:
|
|
572
|
-
absoluteIndices:
|
|
573
|
+
]), Pe(x.value.dataset) && (t = x.value.dataset.map((u, S) => ({
|
|
574
|
+
...u,
|
|
575
|
+
values: u.VALUE || u.DATA || u.SERIE || u.SERIES || u.VALUES || u.NUM || 0,
|
|
576
|
+
name: u.NAME || u.DESCRIPTION || u.TITLE || u.LABEL || `Serie ${S}`,
|
|
577
|
+
id: `bar_${S}`
|
|
578
|
+
})).map((u, S) => ({
|
|
579
|
+
...u,
|
|
580
|
+
color: u.COLOR ? Fe(u.COLOR) : he.value[S + e.value.paletteStartIndex] || V[S + e.value.paletteStartIndex] || V[(S + e.value.paletteStartIndex) % V.length],
|
|
581
|
+
values: u.values.slice(k.value.start, k.value.end),
|
|
582
|
+
absoluteIndices: u.values.map((y, T) => T).slice(k.value.start, k.value.end)
|
|
573
583
|
})));
|
|
574
584
|
const n = {
|
|
575
|
-
max: Math.max(...t.filter((
|
|
576
|
-
min: Math.min(...t.filter((
|
|
577
|
-
maxSeries: Math.max(...t.filter((
|
|
578
|
-
}, r =
|
|
579
|
-
y:
|
|
580
|
-
x:
|
|
581
|
-
value:
|
|
582
|
-
})), ee = t.map((
|
|
583
|
-
...
|
|
584
|
-
coordinates:
|
|
585
|
-
const F = (y + h) / (n.max + h) *
|
|
585
|
+
max: Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)) < 0 ? 0 : Math.max(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
|
|
586
|
+
min: Math.min(...t.filter((u) => !w.value.includes(u.id)).flatMap((u) => u.values)),
|
|
587
|
+
maxSeries: Math.max(...t.filter((u) => !w.value.includes(u.id)).map((u) => u.values.length))
|
|
588
|
+
}, r = tt(n.min < 0 ? n.min : 0, n.max, e.value.xyScaleSegments), h = r.min < 0 ? Math.abs(r.min) : 0, O = s.bottom - h / (r.max + h) * s.height, U = s.width / n.maxSeries, ie = r.ticks.map((u) => ({
|
|
589
|
+
y: s.bottom - s.height * ((u + h) / (r.max + h)),
|
|
590
|
+
x: s.left - 8,
|
|
591
|
+
value: u
|
|
592
|
+
})), ee = t.map((u, S) => ({
|
|
593
|
+
...u,
|
|
594
|
+
coordinates: u.values.map((y, T) => {
|
|
595
|
+
const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / Math.abs(n.min) * (s.height - O), Re = h / (n.max + h) * s.height, pe = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
|
|
586
596
|
return {
|
|
587
|
-
x:
|
|
588
|
-
y: y > 0 ?
|
|
589
|
-
height: y > 0 ? F -
|
|
597
|
+
x: s.left + U * T + pe * S + e.value.barGap / 2,
|
|
598
|
+
y: y > 0 ? s.bottom - F : O,
|
|
599
|
+
height: y > 0 ? F - Re : me,
|
|
590
600
|
value: y,
|
|
591
601
|
width: pe
|
|
592
602
|
};
|
|
593
603
|
})
|
|
594
|
-
})),
|
|
595
|
-
...
|
|
596
|
-
coordinates:
|
|
597
|
-
const F = (y + h) / (n.max + h) *
|
|
604
|
+
})), ne = t.filter((u) => !w.value.includes(u.id)).map((u, S) => ({
|
|
605
|
+
...u,
|
|
606
|
+
coordinates: u.values.map((y, T) => {
|
|
607
|
+
const F = (y + h) / (n.max + h) * s.height, me = Math.abs(y) / (n.max + h) * s.height, Re = h / (n.max + h) * s.height, pe = U / t.filter((ae) => !w.value.includes(ae.id)).length - e.value.barGap / t.filter((ae) => !w.value.includes(ae.id)).length;
|
|
598
608
|
return {
|
|
599
|
-
x:
|
|
600
|
-
y: y > 0 ?
|
|
601
|
-
height: y > 0 ? F -
|
|
609
|
+
x: s.left + U * T + pe * S + e.value.barGap / 2,
|
|
610
|
+
y: y > 0 ? s.bottom - F : O,
|
|
611
|
+
height: y > 0 ? F - Re : me,
|
|
602
612
|
value: y,
|
|
603
613
|
width: pe
|
|
604
614
|
};
|
|
605
615
|
})
|
|
606
616
|
}));
|
|
607
|
-
function te(
|
|
608
|
-
j.value =
|
|
609
|
-
const
|
|
610
|
-
...
|
|
611
|
-
value:
|
|
612
|
-
absoluteIndex:
|
|
613
|
-
})).filter((
|
|
614
|
-
|
|
617
|
+
function te(u) {
|
|
618
|
+
j.value = u, J.value = u;
|
|
619
|
+
const S = t.map((T) => ({
|
|
620
|
+
...T,
|
|
621
|
+
value: T.values[u],
|
|
622
|
+
absoluteIndex: T.absoluteIndices[u]
|
|
623
|
+
})).filter((T) => !w.value.includes(T.id));
|
|
624
|
+
ce.value = { datapoint: S, seriesIndex: u, config: e.value, dataset: t };
|
|
615
625
|
const y = e.value.tooltipCustomFormat;
|
|
616
|
-
if (
|
|
617
|
-
datapoint:
|
|
618
|
-
seriesIndex:
|
|
626
|
+
if (Ie(y) && Be(() => y({
|
|
627
|
+
datapoint: S,
|
|
628
|
+
seriesIndex: u,
|
|
619
629
|
series: t,
|
|
620
630
|
config: e.value
|
|
621
631
|
})))
|
|
622
632
|
K.value = y({
|
|
623
|
-
point:
|
|
624
|
-
seriesIndex:
|
|
633
|
+
point: S,
|
|
634
|
+
seriesIndex: u,
|
|
625
635
|
series: t,
|
|
626
636
|
config: e.value
|
|
627
637
|
});
|
|
628
638
|
else {
|
|
629
|
-
let
|
|
630
|
-
e.value.xyPeriods[
|
|
631
|
-
|
|
639
|
+
let T = "";
|
|
640
|
+
e.value.xyPeriods[S[0].absoluteIndex] && (T += `<div style="border-bottom:1px solid ${e.value.tooltipBorderColor};padding-bottom:6px;margin-bottom:3px;">${e.value.xyPeriods[S[0].absoluteIndex]}</div>`), S.forEach((F, me) => {
|
|
641
|
+
T += `
|
|
632
642
|
<div style="display:flex; flex-wrap: wrap; align-items:center; gap:3px;">
|
|
633
643
|
<svg viewBox="0 0 12 12" height="14" width="12"><rect x=0 y="0" width="12" height="12" rx="1" stroke="none" fill="${F.color}"/></svg>
|
|
634
644
|
<span>${F.name}:</span>
|
|
@@ -641,12 +651,12 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
641
651
|
s: e.value.valueSuffix,
|
|
642
652
|
r: e.value.dataLabelRoundingValue
|
|
643
653
|
}),
|
|
644
|
-
{ datapoint: F, seriesIndex:
|
|
654
|
+
{ datapoint: F, seriesIndex: me }
|
|
645
655
|
)}
|
|
646
656
|
</b>
|
|
647
657
|
</div>
|
|
648
658
|
`;
|
|
649
|
-
}), K.value =
|
|
659
|
+
}), K.value = T;
|
|
650
660
|
}
|
|
651
661
|
G.value = !0;
|
|
652
662
|
}
|
|
@@ -655,60 +665,60 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
655
665
|
}
|
|
656
666
|
return {
|
|
657
667
|
absoluteZero: O,
|
|
658
|
-
dataset:
|
|
668
|
+
dataset: ne.filter((u) => !w.value.includes(u.id)),
|
|
659
669
|
legend: ee,
|
|
660
|
-
drawingArea:
|
|
670
|
+
drawingArea: s,
|
|
661
671
|
extremes: n,
|
|
662
672
|
slotSize: U,
|
|
663
673
|
yLabels: ie,
|
|
664
674
|
useTooltip: te,
|
|
665
675
|
killTooltip: o
|
|
666
676
|
};
|
|
667
|
-
}),
|
|
668
|
-
function
|
|
669
|
-
|
|
677
|
+
}), ze = L(!1);
|
|
678
|
+
function pt(i) {
|
|
679
|
+
ze.value = i, Ve.value += 1;
|
|
670
680
|
}
|
|
671
|
-
function
|
|
672
|
-
|
|
681
|
+
function Ke() {
|
|
682
|
+
we.value.showTooltip = !we.value.showTooltip;
|
|
673
683
|
}
|
|
674
|
-
const
|
|
675
|
-
function
|
|
676
|
-
|
|
684
|
+
const Le = L(!1);
|
|
685
|
+
function Te() {
|
|
686
|
+
Le.value = !Le.value;
|
|
677
687
|
}
|
|
678
|
-
return
|
|
679
|
-
generatePdf:
|
|
680
|
-
generateImage:
|
|
681
|
-
toggleTooltip:
|
|
682
|
-
toggleAnnotator:
|
|
683
|
-
}), (
|
|
688
|
+
return I({
|
|
689
|
+
generatePdf: We,
|
|
690
|
+
generateImage: je,
|
|
691
|
+
toggleTooltip: Ke,
|
|
692
|
+
toggleAnnotator: Te
|
|
693
|
+
}), (i, s) => st.value ? (a(), l("div", {
|
|
684
694
|
key: 0,
|
|
685
|
-
id: `${
|
|
695
|
+
id: `${C.value}_${P.value}`,
|
|
686
696
|
ref_key: "quickChart",
|
|
687
697
|
ref: W,
|
|
688
|
-
class:
|
|
698
|
+
class: re({ "vue-ui-quick-chart": !0, "vue-data-ui-wrapper-fullscreen": ze.value }),
|
|
689
699
|
style: N(`background:${e.value.backgroundColor};color:${e.value.color};font-family:${e.value.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`)
|
|
690
700
|
}, [
|
|
691
|
-
e.value.userOptionsButtons.annotator ? (a(),
|
|
701
|
+
e.value.userOptionsButtons.annotator ? (a(), Ce(Dt, {
|
|
692
702
|
key: 0,
|
|
693
703
|
parent: W.value,
|
|
694
704
|
backgroundColor: e.value.backgroundColor,
|
|
695
705
|
color: e.value.color,
|
|
696
|
-
active:
|
|
697
|
-
onClose:
|
|
706
|
+
active: Le.value,
|
|
707
|
+
onClose: Te
|
|
698
708
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : f("", !0),
|
|
699
|
-
|
|
709
|
+
vt.value ? (a(), l("div", {
|
|
700
710
|
key: 1,
|
|
701
711
|
ref_key: "noTitle",
|
|
702
|
-
ref:
|
|
712
|
+
ref: De,
|
|
703
713
|
class: "vue-data-ui-no-title-space",
|
|
704
714
|
style: "height:36px; width: 100%;background:transparent"
|
|
705
715
|
}, null, 512)) : f("", !0),
|
|
706
|
-
e.value.showUserOptions ? (a(),
|
|
716
|
+
e.value.showUserOptions ? (a(), Ce(Ft, {
|
|
707
717
|
ref: "details",
|
|
708
|
-
key: `user_option_${
|
|
718
|
+
key: `user_option_${Ve.value}`,
|
|
709
719
|
backgroundColor: e.value.backgroundColor,
|
|
710
720
|
color: e.value.color,
|
|
711
|
-
isPrinting: g(
|
|
721
|
+
isPrinting: g(Se),
|
|
712
722
|
isImaging: g(be),
|
|
713
723
|
uid: P.value,
|
|
714
724
|
hasTooltip: e.value.userOptionsButtons.tooltip && e.value.showTooltip,
|
|
@@ -716,51 +726,51 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
716
726
|
hasImg: e.value.userOptionsButtons.img,
|
|
717
727
|
hasFullscreen: e.value.userOptionsButtons.fullscreen,
|
|
718
728
|
hasXls: !1,
|
|
719
|
-
isTooltip:
|
|
720
|
-
isFullscreen:
|
|
729
|
+
isTooltip: we.value.showTooltip,
|
|
730
|
+
isFullscreen: ze.value,
|
|
721
731
|
titles: { ...e.value.userOptionsButtonTitles },
|
|
722
732
|
chartElement: W.value,
|
|
723
733
|
position: e.value.userOptionsPosition,
|
|
724
734
|
hasAnnotator: e.value.userOptionsButtons.annotator,
|
|
725
|
-
isAnnotation:
|
|
726
|
-
onToggleFullscreen:
|
|
727
|
-
onGeneratePdf: g(
|
|
728
|
-
onGenerateImage: g(
|
|
729
|
-
onToggleTooltip:
|
|
730
|
-
onToggleAnnotator:
|
|
731
|
-
},
|
|
732
|
-
|
|
735
|
+
isAnnotation: Le.value,
|
|
736
|
+
onToggleFullscreen: pt,
|
|
737
|
+
onGeneratePdf: g(We),
|
|
738
|
+
onGenerateImage: g(je),
|
|
739
|
+
onToggleTooltip: Ke,
|
|
740
|
+
onToggleAnnotator: Te
|
|
741
|
+
}, kt({ _: 2 }, [
|
|
742
|
+
i.$slots.optionTooltip ? {
|
|
733
743
|
name: "optionTooltip",
|
|
734
744
|
fn: Q(() => [
|
|
735
|
-
M(
|
|
745
|
+
M(i.$slots, "optionTooltip", {}, void 0, !0)
|
|
736
746
|
]),
|
|
737
747
|
key: "0"
|
|
738
748
|
} : void 0,
|
|
739
|
-
|
|
749
|
+
i.$slots.optionPdf ? {
|
|
740
750
|
name: "optionPdf",
|
|
741
751
|
fn: Q(() => [
|
|
742
|
-
M(
|
|
752
|
+
M(i.$slots, "optionPdf", {}, void 0, !0)
|
|
743
753
|
]),
|
|
744
754
|
key: "1"
|
|
745
755
|
} : void 0,
|
|
746
|
-
|
|
756
|
+
i.$slots.optionImg ? {
|
|
747
757
|
name: "optionImg",
|
|
748
758
|
fn: Q(() => [
|
|
749
|
-
M(
|
|
759
|
+
M(i.$slots, "optionImg", {}, void 0, !0)
|
|
750
760
|
]),
|
|
751
761
|
key: "2"
|
|
752
762
|
} : void 0,
|
|
753
|
-
|
|
763
|
+
i.$slots.optionFullscreen ? {
|
|
754
764
|
name: "optionFullscreen",
|
|
755
765
|
fn: Q(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
756
|
-
M(
|
|
766
|
+
M(i.$slots, "optionFullscreen", H(se({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
757
767
|
]),
|
|
758
768
|
key: "3"
|
|
759
769
|
} : void 0,
|
|
760
|
-
|
|
770
|
+
i.$slots.optionAnnotator ? {
|
|
761
771
|
name: "optionAnnotator",
|
|
762
772
|
fn: Q(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
763
|
-
M(
|
|
773
|
+
M(i.$slots, "optionAnnotator", H(se({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
764
774
|
]),
|
|
765
775
|
key: "4"
|
|
766
776
|
} : void 0
|
|
@@ -771,14 +781,14 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
771
781
|
ref: le,
|
|
772
782
|
class: "vue-ui-quick-chart-title",
|
|
773
783
|
style: N(`background:transparent;color:${e.value.color};font-size:${e.value.titleFontSize}px;font-weight:${e.value.titleBold ? "bold" : "normal"};text-align:${e.value.titleTextAlign}`)
|
|
774
|
-
},
|
|
775
|
-
|
|
784
|
+
}, R(e.value.title), 5)) : f("", !0),
|
|
785
|
+
C.value ? (a(), l("svg", {
|
|
776
786
|
key: 4,
|
|
777
|
-
xmlns: g(
|
|
778
|
-
viewBox:
|
|
787
|
+
xmlns: g(Et),
|
|
788
|
+
viewBox: dt.value,
|
|
779
789
|
style: N(`max-width:100%;overflow:visible;background:transparent;color:${e.value.color}`)
|
|
780
790
|
}, [
|
|
781
|
-
|
|
791
|
+
ve(Ut),
|
|
782
792
|
A("defs", null, [
|
|
783
793
|
A("filter", {
|
|
784
794
|
id: `blur_${P.value}`,
|
|
@@ -791,9 +801,9 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
791
801
|
in: "SourceGraphic",
|
|
792
802
|
stdDeviation: 2,
|
|
793
803
|
id: `blur_std_${P.value}`
|
|
794
|
-
}, null, 8,
|
|
795
|
-
|
|
796
|
-
], 8,
|
|
804
|
+
}, null, 8, Qt),
|
|
805
|
+
Kt
|
|
806
|
+
], 8, Jt),
|
|
797
807
|
A("filter", {
|
|
798
808
|
id: `shadow_${P.value}`,
|
|
799
809
|
"color-interpolation-filters": "sRGB"
|
|
@@ -804,68 +814,68 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
804
814
|
stdDeviation: "10",
|
|
805
815
|
"flood-opacity": "0.5",
|
|
806
816
|
"flood-color": e.value.donutShadowColor
|
|
807
|
-
}, null, 8,
|
|
808
|
-
], 8,
|
|
817
|
+
}, null, 8, ta)
|
|
818
|
+
], 8, ea)
|
|
809
819
|
]),
|
|
810
|
-
|
|
811
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
812
|
-
(a(!0), l(
|
|
813
|
-
|
|
820
|
+
C.value === _.DONUT ? (a(), l(p, { key: 0 }, [
|
|
821
|
+
e.value.showDataLabels ? (a(), l("g", aa, [
|
|
822
|
+
(a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l(p, null, [
|
|
823
|
+
E.value.isArcBigEnough(t) ? (a(), l("path", {
|
|
814
824
|
key: 0,
|
|
815
|
-
d: g(
|
|
825
|
+
d: g(Pt)(t, { x: b.value.width / 2, y: b.value.height / 2 }, 16, 16, !1, !1, b.value.height * Je.value),
|
|
816
826
|
stroke: t.color,
|
|
817
827
|
"stroke-width": e.value.donutLabelMarkerStrokeWidth,
|
|
818
828
|
"stroke-linecap": "round",
|
|
819
829
|
"stroke-linejoin": "round",
|
|
820
830
|
fill: "none",
|
|
821
|
-
filter:
|
|
822
|
-
}, null, 8,
|
|
831
|
+
filter: ge(t.id)
|
|
832
|
+
}, null, 8, la)) : f("", !0)
|
|
823
833
|
], 64))), 256))
|
|
824
834
|
])) : f("", !0),
|
|
825
835
|
A("circle", {
|
|
826
|
-
cx:
|
|
827
|
-
cy:
|
|
828
|
-
r:
|
|
836
|
+
cx: E.value.cx,
|
|
837
|
+
cy: E.value.cy,
|
|
838
|
+
r: E.value.radius,
|
|
829
839
|
fill: e.value.backgroundColor,
|
|
830
840
|
filter: e.value.donutUseShadow ? `url(#shadow_${P.value})` : ""
|
|
831
|
-
}, null, 8,
|
|
832
|
-
A("g",
|
|
833
|
-
(a(!0), l(
|
|
841
|
+
}, null, 8, oa),
|
|
842
|
+
A("g", ua, [
|
|
843
|
+
(a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l("path", {
|
|
834
844
|
d: t.arcSlice,
|
|
835
845
|
fill: t.color,
|
|
836
846
|
stroke: e.value.backgroundColor,
|
|
837
847
|
"stroke-width": e.value.donutStrokeWidth,
|
|
838
|
-
filter:
|
|
839
|
-
}, null, 8,
|
|
840
|
-
(a(!0), l(
|
|
848
|
+
filter: ge(t.id)
|
|
849
|
+
}, null, 8, ia))), 256)),
|
|
850
|
+
(a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l("path", {
|
|
841
851
|
d: t.arcSlice,
|
|
842
852
|
fill: "transparent",
|
|
843
|
-
onMouseenter: (r) =>
|
|
844
|
-
onMouseout:
|
|
845
|
-
onClick: (r) =>
|
|
846
|
-
}, null, 40,
|
|
853
|
+
onMouseenter: (r) => E.value.useTooltip({ datapoint: t, seriesIndex: n }),
|
|
854
|
+
onMouseout: s[0] || (s[0] = (r) => E.value.killTooltip()),
|
|
855
|
+
onClick: (r) => m("selectDatapoint", t)
|
|
856
|
+
}, null, 40, na))), 256))
|
|
847
857
|
]),
|
|
848
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
849
|
-
(a(!0), l(
|
|
850
|
-
|
|
858
|
+
e.value.showDataLabels ? (a(), l("g", ra, [
|
|
859
|
+
(a(!0), l(p, null, z(E.value.chart, (t, n) => (a(), l(p, null, [
|
|
860
|
+
E.value.isArcBigEnough(t) ? (a(), l("circle", {
|
|
851
861
|
key: 0,
|
|
852
|
-
cx: g(
|
|
853
|
-
cy: g(
|
|
862
|
+
cx: g(xe)(t).x,
|
|
863
|
+
cy: g(Me)(t) - 3.7,
|
|
854
864
|
fill: t.color,
|
|
855
865
|
stroke: e.value.backgroundColor,
|
|
856
866
|
"stroke-width": 1,
|
|
857
867
|
r: 3,
|
|
858
|
-
filter:
|
|
859
|
-
}, null, 8,
|
|
860
|
-
|
|
868
|
+
filter: ge(t.id)
|
|
869
|
+
}, null, 8, sa)) : f("", !0),
|
|
870
|
+
E.value.isArcBigEnough(t) ? (a(), l("text", {
|
|
861
871
|
key: 1,
|
|
862
|
-
"text-anchor": g(
|
|
863
|
-
x: g(
|
|
864
|
-
y: g(
|
|
872
|
+
"text-anchor": g(xe)(t, !0, 20).anchor,
|
|
873
|
+
x: g(xe)(t, !0).x,
|
|
874
|
+
y: g(Me)(t),
|
|
865
875
|
fill: e.value.color,
|
|
866
876
|
"font-size": e.value.dataLabelFontSize,
|
|
867
|
-
filter:
|
|
868
|
-
}, E
|
|
877
|
+
filter: ge(t.id)
|
|
878
|
+
}, R(E.value.displayArcPercentage(t, E.value.chart)) + " (" + R(g(X)(
|
|
869
879
|
e.value.formatter,
|
|
870
880
|
t.value,
|
|
871
881
|
g(B)({
|
|
@@ -875,104 +885,104 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
875
885
|
r: e.value.dataLabelRoundingValue
|
|
876
886
|
}),
|
|
877
887
|
{ datapoint: t, seriesIndex: n }
|
|
878
|
-
)) + ") ", 9,
|
|
879
|
-
|
|
888
|
+
)) + ") ", 9, va)) : f("", !0),
|
|
889
|
+
E.value.isArcBigEnough(t, !0, 20) ? (a(), l("text", {
|
|
880
890
|
key: 2,
|
|
881
|
-
"text-anchor": g(
|
|
882
|
-
x: g(
|
|
883
|
-
y: g(
|
|
891
|
+
"text-anchor": g(xe)(t).anchor,
|
|
892
|
+
x: g(xe)(t, !0).x,
|
|
893
|
+
y: g(Me)(t) + e.value.dataLabelFontSize,
|
|
884
894
|
fill: e.value.color,
|
|
885
895
|
"font-size": e.value.dataLabelFontSize,
|
|
886
|
-
filter:
|
|
887
|
-
},
|
|
896
|
+
filter: ge(t.id)
|
|
897
|
+
}, R(t.name), 9, da)) : f("", !0)
|
|
888
898
|
], 64))), 256))
|
|
889
899
|
])) : f("", !0),
|
|
890
|
-
e.value.donutShowTotal ? (a(), l("g",
|
|
900
|
+
e.value.donutShowTotal ? (a(), l("g", ca, [
|
|
891
901
|
A("text", {
|
|
892
902
|
"text-anchor": "middle",
|
|
893
|
-
x:
|
|
894
|
-
y:
|
|
903
|
+
x: E.value.drawingArea.centerX,
|
|
904
|
+
y: E.value.drawingArea.centerY - e.value.donutTotalLabelFontSize / 2,
|
|
895
905
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
896
906
|
fill: e.value.color
|
|
897
|
-
},
|
|
907
|
+
}, R(e.value.donutTotalLabelText), 9, ha),
|
|
898
908
|
A("text", {
|
|
899
909
|
"text-anchor": "middle",
|
|
900
|
-
x:
|
|
901
|
-
y:
|
|
910
|
+
x: E.value.drawingArea.centerX,
|
|
911
|
+
y: E.value.drawingArea.centerY + e.value.donutTotalLabelFontSize,
|
|
902
912
|
"font-size": e.value.donutTotalLabelFontSize,
|
|
903
913
|
fill: e.value.color
|
|
904
|
-
},
|
|
914
|
+
}, R(g(B)({
|
|
905
915
|
p: e.value.valuePrefix,
|
|
906
|
-
v:
|
|
916
|
+
v: E.value.total,
|
|
907
917
|
s: e.value.valueSuffix,
|
|
908
918
|
r: e.value.dataLabelRoundingValue
|
|
909
|
-
})), 9,
|
|
919
|
+
})), 9, fa)
|
|
910
920
|
])) : f("", !0)
|
|
911
921
|
], 64)) : f("", !0),
|
|
912
|
-
|
|
913
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
914
|
-
(a(!0), l(
|
|
915
|
-
t.y <=
|
|
922
|
+
C.value === _.LINE ? (a(), l(p, { key: 1 }, [
|
|
923
|
+
e.value.xyShowGrid ? (a(), l("g", ga, [
|
|
924
|
+
(a(!0), l(p, null, z(c.value.yLabels, (t) => (a(), l(p, null, [
|
|
925
|
+
t.y <= c.value.drawingArea.bottom ? (a(), l("line", {
|
|
916
926
|
key: 0,
|
|
917
|
-
x1:
|
|
918
|
-
x2:
|
|
927
|
+
x1: c.value.drawingArea.left,
|
|
928
|
+
x2: c.value.drawingArea.right,
|
|
919
929
|
y1: t.y,
|
|
920
930
|
y2: t.y,
|
|
921
931
|
stroke: e.value.xyGridStroke,
|
|
922
932
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
923
933
|
"stroke-linecap": "round"
|
|
924
|
-
}, null, 8,
|
|
934
|
+
}, null, 8, ma)) : f("", !0)
|
|
925
935
|
], 64))), 256)),
|
|
926
|
-
(a(!0), l(
|
|
927
|
-
x1:
|
|
928
|
-
x2:
|
|
929
|
-
y1:
|
|
930
|
-
y2:
|
|
936
|
+
(a(!0), l(p, null, z(c.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
|
|
937
|
+
x1: c.value.drawingArea.left + c.value.slotSize * n,
|
|
938
|
+
x2: c.value.drawingArea.left + c.value.slotSize * n,
|
|
939
|
+
y1: c.value.drawingArea.top,
|
|
940
|
+
y2: c.value.drawingArea.bottom,
|
|
931
941
|
stroke: e.value.xyGridStroke,
|
|
932
942
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
933
943
|
"stroke-linecap": "round"
|
|
934
|
-
}, null, 8,
|
|
944
|
+
}, null, 8, pa))), 256))
|
|
935
945
|
])) : f("", !0),
|
|
936
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
946
|
+
e.value.xyShowAxis ? (a(), l("g", xa, [
|
|
937
947
|
A("line", {
|
|
938
|
-
x1:
|
|
939
|
-
x2:
|
|
940
|
-
y1:
|
|
941
|
-
y2:
|
|
948
|
+
x1: c.value.drawingArea.left,
|
|
949
|
+
x2: c.value.drawingArea.left,
|
|
950
|
+
y1: c.value.drawingArea.top,
|
|
951
|
+
y2: c.value.drawingArea.bottom,
|
|
942
952
|
stroke: e.value.xyAxisStroke,
|
|
943
953
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
944
954
|
"stroke-linecap": "round"
|
|
945
|
-
}, null, 8,
|
|
955
|
+
}, null, 8, ya),
|
|
946
956
|
A("line", {
|
|
947
|
-
x1:
|
|
948
|
-
x2:
|
|
949
|
-
y1: isNaN(
|
|
950
|
-
y2: isNaN(
|
|
957
|
+
x1: c.value.drawingArea.left,
|
|
958
|
+
x2: c.value.drawingArea.right,
|
|
959
|
+
y1: isNaN(c.value.absoluteZero) ? c.value.drawingArea.bottom : c.value.absoluteZero,
|
|
960
|
+
y2: isNaN(c.value.absoluteZero) ? c.value.drawingArea.bottom : c.value.absoluteZero,
|
|
951
961
|
stroke: e.value.xyAxisStroke,
|
|
952
962
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
953
963
|
"stroke-linecap": "round"
|
|
954
|
-
}, null, 8,
|
|
964
|
+
}, null, 8, ka)
|
|
955
965
|
])) : f("", !0),
|
|
956
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
957
|
-
(a(!0), l(
|
|
958
|
-
t.y <=
|
|
966
|
+
e.value.xyShowScale ? (a(), l("g", Sa, [
|
|
967
|
+
(a(!0), l(p, null, z(c.value.yLabels, (t, n) => (a(), l(p, null, [
|
|
968
|
+
t.y <= c.value.drawingArea.bottom ? (a(), l("line", {
|
|
959
969
|
key: 0,
|
|
960
970
|
x1: t.x + 4,
|
|
961
|
-
x2:
|
|
971
|
+
x2: c.value.drawingArea.left,
|
|
962
972
|
y1: t.y,
|
|
963
973
|
y2: t.y,
|
|
964
974
|
stroke: e.value.xyAxisStroke,
|
|
965
975
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
966
976
|
"stroke-linecap": "round"
|
|
967
|
-
}, null, 8,
|
|
968
|
-
t.y <=
|
|
977
|
+
}, null, 8, ba)) : f("", !0),
|
|
978
|
+
t.y <= c.value.drawingArea.bottom ? (a(), l("text", {
|
|
969
979
|
key: 1,
|
|
970
980
|
x: t.x,
|
|
971
981
|
y: t.y + e.value.xyLabelsYFontSize / 3,
|
|
972
982
|
"text-anchor": "end",
|
|
973
983
|
"font-size": e.value.xyLabelsYFontSize,
|
|
974
984
|
fill: e.value.color
|
|
975
|
-
},
|
|
985
|
+
}, R(g(X)(
|
|
976
986
|
e.value.formatter,
|
|
977
987
|
t.value,
|
|
978
988
|
g(B)({
|
|
@@ -982,68 +992,68 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
982
992
|
r: e.value.dataLabelRoundingValue
|
|
983
993
|
}),
|
|
984
994
|
{ datapoint: t, seriesIndex: n }
|
|
985
|
-
)), 9,
|
|
995
|
+
)), 9, wa)) : f("", !0)
|
|
986
996
|
], 64))), 256))
|
|
987
997
|
])) : f("", !0),
|
|
988
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
989
|
-
(a(!0), l(
|
|
990
|
-
x1:
|
|
991
|
-
x2:
|
|
992
|
-
y1:
|
|
993
|
-
y2:
|
|
998
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Aa, [
|
|
999
|
+
(a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
|
|
1000
|
+
x1: c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2,
|
|
1001
|
+
x2: c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2,
|
|
1002
|
+
y1: c.value.drawingArea.bottom,
|
|
1003
|
+
y2: c.value.drawingArea.bottom + 4,
|
|
994
1004
|
stroke: e.value.xyAxisStroke,
|
|
995
1005
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
996
1006
|
"stroke-linecap": "round"
|
|
997
|
-
}, null, 8,
|
|
998
|
-
(a(!0), l(
|
|
1007
|
+
}, null, 8, _a))), 256)),
|
|
1008
|
+
(a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
|
|
999
1009
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1000
1010
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1001
1011
|
fill: e.value.color,
|
|
1002
|
-
transform: `translate(${
|
|
1003
|
-
},
|
|
1012
|
+
transform: `translate(${c.value.drawingArea.left + c.value.slotSize * (n + 1) - c.value.slotSize / 2}, ${c.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}), rotate(${e.value.xyPeriodLabelsRotation})`
|
|
1013
|
+
}, R(t), 9, za))), 256))
|
|
1004
1014
|
])) : f("", !0),
|
|
1005
|
-
A("g",
|
|
1006
|
-
(a(!0), l(
|
|
1007
|
-
e.value.lineSmooth ? (a(), l(
|
|
1015
|
+
A("g", La, [
|
|
1016
|
+
(a(!0), l(p, null, z(c.value.dataset, (t, n) => (a(), l("g", $a, [
|
|
1017
|
+
e.value.lineSmooth ? (a(), l(p, { key: 0 }, [
|
|
1008
1018
|
A("path", {
|
|
1009
|
-
d: `M ${g(
|
|
1019
|
+
d: `M ${g(at)(t.coordinates)}`,
|
|
1010
1020
|
stroke: e.value.backgroundColor,
|
|
1011
1021
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1012
1022
|
"stroke-linecap": "round",
|
|
1013
1023
|
fill: "none",
|
|
1014
|
-
class:
|
|
1024
|
+
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1015
1025
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1016
|
-
}, null, 10,
|
|
1026
|
+
}, null, 10, Ca),
|
|
1017
1027
|
A("path", {
|
|
1018
|
-
d: `M ${g(
|
|
1028
|
+
d: `M ${g(at)(t.coordinates)}`,
|
|
1019
1029
|
stroke: t.color,
|
|
1020
1030
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1021
1031
|
"stroke-linecap": "round",
|
|
1022
1032
|
fill: "none",
|
|
1023
|
-
class:
|
|
1033
|
+
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1024
1034
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1025
|
-
}, null, 10,
|
|
1026
|
-
], 64)) : (a(), l(
|
|
1035
|
+
}, null, 10, Ia)
|
|
1036
|
+
], 64)) : (a(), l(p, { key: 1 }, [
|
|
1027
1037
|
A("path", {
|
|
1028
1038
|
d: `M ${t.linePath}`,
|
|
1029
1039
|
stroke: e.value.backgroundColor,
|
|
1030
1040
|
"stroke-width": e.value.lineStrokeWidth + 1,
|
|
1031
1041
|
"stroke-linecap": "round",
|
|
1032
1042
|
fill: "none",
|
|
1033
|
-
class:
|
|
1043
|
+
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1034
1044
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1035
|
-
}, null, 10,
|
|
1045
|
+
}, null, 10, Ea),
|
|
1036
1046
|
A("path", {
|
|
1037
1047
|
d: `M ${t.linePath}`,
|
|
1038
1048
|
stroke: t.color,
|
|
1039
1049
|
"stroke-width": e.value.lineStrokeWidth,
|
|
1040
1050
|
"stroke-linecap": "round",
|
|
1041
1051
|
fill: "none",
|
|
1042
|
-
class:
|
|
1052
|
+
class: re({ "quick-animation": !0, "vue-data-ui-line-animated": e.value.lineAnimated }),
|
|
1043
1053
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1044
|
-
}, null, 10,
|
|
1054
|
+
}, null, 10, Pa)
|
|
1045
1055
|
], 64)),
|
|
1046
|
-
(a(!0), l(
|
|
1056
|
+
(a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("circle", {
|
|
1047
1057
|
cx: r.x,
|
|
1048
1058
|
cy: g(Z)(r.y),
|
|
1049
1059
|
r: 3,
|
|
@@ -1052,12 +1062,12 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1052
1062
|
"stroke-width": "0.5",
|
|
1053
1063
|
class: "quick-animation",
|
|
1054
1064
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1055
|
-
}, null, 8,
|
|
1065
|
+
}, null, 8, Ta))), 256))
|
|
1056
1066
|
]))), 256))
|
|
1057
1067
|
]),
|
|
1058
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1059
|
-
(a(!0), l(
|
|
1060
|
-
(a(!0), l(
|
|
1068
|
+
e.value.showDataLabels ? (a(), l("g", Ra, [
|
|
1069
|
+
(a(!0), l(p, null, z(c.value.dataset, (t, n) => (a(), l(p, null, [
|
|
1070
|
+
(a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("text", {
|
|
1061
1071
|
"text-anchor": "middle",
|
|
1062
1072
|
"font-size": e.value.dataLabelFontSize,
|
|
1063
1073
|
fill: t.color,
|
|
@@ -1065,7 +1075,7 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1065
1075
|
y: g(Z)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1066
1076
|
class: "quick-animation",
|
|
1067
1077
|
style: { transition: "all 0.3s ease-in-out" }
|
|
1068
|
-
},
|
|
1078
|
+
}, R(g(X)(
|
|
1069
1079
|
e.value.formatter,
|
|
1070
1080
|
g(Z)(r.value),
|
|
1071
1081
|
g(B)({
|
|
@@ -1075,90 +1085,90 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1075
1085
|
r: e.value.dataLabelRoundingValue
|
|
1076
1086
|
}),
|
|
1077
1087
|
{ datapoint: r, seriesIndex: h }
|
|
1078
|
-
)), 9,
|
|
1088
|
+
)), 9, Oa))), 256))
|
|
1079
1089
|
], 64))), 256))
|
|
1080
1090
|
])) : f("", !0),
|
|
1081
|
-
A("g",
|
|
1082
|
-
(a(!0), l(
|
|
1083
|
-
x:
|
|
1084
|
-
y:
|
|
1085
|
-
height:
|
|
1086
|
-
width:
|
|
1091
|
+
A("g", Na, [
|
|
1092
|
+
(a(!0), l(p, null, z(c.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
|
|
1093
|
+
x: c.value.drawingArea.left + n * c.value.slotSize,
|
|
1094
|
+
y: c.value.drawingArea.top,
|
|
1095
|
+
height: c.value.drawingArea.height <= 0 ? 1e-5 : c.value.drawingArea.height,
|
|
1096
|
+
width: c.value.slotSize <= 0 ? 1e-5 : c.value.slotSize,
|
|
1087
1097
|
fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
|
|
1088
1098
|
style: N(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1089
|
-
onMouseenter: (r) =>
|
|
1090
|
-
onMouseleave:
|
|
1091
|
-
onClick: (r) =>
|
|
1099
|
+
onMouseenter: (r) => c.value.useTooltip(n),
|
|
1100
|
+
onMouseleave: s[1] || (s[1] = (r) => c.value.killTooltip()),
|
|
1101
|
+
onClick: (r) => m("selectDatapoint", c.value.dataset.map((h) => ({
|
|
1092
1102
|
...h,
|
|
1093
1103
|
value: h.values[n]
|
|
1094
1104
|
})))
|
|
1095
|
-
}, null, 44,
|
|
1105
|
+
}, null, 44, Fa))), 256))
|
|
1096
1106
|
])
|
|
1097
1107
|
], 64)) : f("", !0),
|
|
1098
|
-
|
|
1099
|
-
e.value.xyShowGrid ? (a(), l("g",
|
|
1100
|
-
(a(!0), l(
|
|
1101
|
-
t.y <=
|
|
1108
|
+
C.value === _.BAR ? (a(), l(p, { key: 2 }, [
|
|
1109
|
+
e.value.xyShowGrid ? (a(), l("g", Ma, [
|
|
1110
|
+
(a(!0), l(p, null, z(d.value.yLabels, (t) => (a(), l(p, null, [
|
|
1111
|
+
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1102
1112
|
key: 0,
|
|
1103
|
-
x1:
|
|
1104
|
-
x2:
|
|
1113
|
+
x1: d.value.drawingArea.left,
|
|
1114
|
+
x2: d.value.drawingArea.right,
|
|
1105
1115
|
y1: t.y,
|
|
1106
1116
|
y2: t.y,
|
|
1107
1117
|
stroke: e.value.xyGridStroke,
|
|
1108
1118
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1109
1119
|
"stroke-linecap": "round"
|
|
1110
|
-
}, null, 8,
|
|
1120
|
+
}, null, 8, Ba)) : f("", !0)
|
|
1111
1121
|
], 64))), 256)),
|
|
1112
|
-
(a(!0), l(
|
|
1113
|
-
x1:
|
|
1114
|
-
x2:
|
|
1115
|
-
y1:
|
|
1116
|
-
y2:
|
|
1122
|
+
(a(!0), l(p, null, z(d.value.extremes.maxSeries + 1, (t, n) => (a(), l("line", {
|
|
1123
|
+
x1: d.value.drawingArea.left + d.value.slotSize * n,
|
|
1124
|
+
x2: d.value.drawingArea.left + d.value.slotSize * n,
|
|
1125
|
+
y1: d.value.drawingArea.top,
|
|
1126
|
+
y2: d.value.drawingArea.bottom,
|
|
1117
1127
|
stroke: e.value.xyGridStroke,
|
|
1118
1128
|
"stroke-width": e.value.xyGridStrokeWidth,
|
|
1119
1129
|
"stroke-linecap": "round"
|
|
1120
|
-
}, null, 8,
|
|
1130
|
+
}, null, 8, Ua))), 256))
|
|
1121
1131
|
])) : f("", !0),
|
|
1122
|
-
e.value.xyShowAxis ? (a(), l("g",
|
|
1132
|
+
e.value.xyShowAxis ? (a(), l("g", Da, [
|
|
1123
1133
|
A("line", {
|
|
1124
|
-
x1:
|
|
1125
|
-
x2:
|
|
1126
|
-
y1:
|
|
1127
|
-
y2:
|
|
1134
|
+
x1: d.value.drawingArea.left,
|
|
1135
|
+
x2: d.value.drawingArea.left,
|
|
1136
|
+
y1: d.value.drawingArea.top,
|
|
1137
|
+
y2: d.value.drawingArea.bottom,
|
|
1128
1138
|
stroke: e.value.xyAxisStroke,
|
|
1129
1139
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1130
1140
|
"stroke-linecap": "round"
|
|
1131
|
-
}, null, 8,
|
|
1141
|
+
}, null, 8, Va),
|
|
1132
1142
|
A("line", {
|
|
1133
|
-
x1:
|
|
1134
|
-
x2:
|
|
1135
|
-
y1: isNaN(
|
|
1136
|
-
y2: isNaN(
|
|
1143
|
+
x1: d.value.drawingArea.left,
|
|
1144
|
+
x2: d.value.drawingArea.right,
|
|
1145
|
+
y1: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
|
|
1146
|
+
y2: isNaN(d.value.absoluteZero) ? d.value.drawingArea.bottom : d.value.absoluteZero,
|
|
1137
1147
|
stroke: e.value.xyAxisStroke,
|
|
1138
1148
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1139
1149
|
"stroke-linecap": "round"
|
|
1140
|
-
}, null, 8,
|
|
1150
|
+
}, null, 8, qa)
|
|
1141
1151
|
])) : f("", !0),
|
|
1142
|
-
e.value.xyShowScale ? (a(), l("g",
|
|
1143
|
-
(a(!0), l(
|
|
1144
|
-
t.y <=
|
|
1152
|
+
e.value.xyShowScale ? (a(), l("g", Wa, [
|
|
1153
|
+
(a(!0), l(p, null, z(d.value.yLabels, (t, n) => (a(), l(p, null, [
|
|
1154
|
+
t.y <= d.value.drawingArea.bottom ? (a(), l("line", {
|
|
1145
1155
|
key: 0,
|
|
1146
1156
|
x1: t.x + 4,
|
|
1147
|
-
x2:
|
|
1157
|
+
x2: d.value.drawingArea.left,
|
|
1148
1158
|
y1: t.y,
|
|
1149
1159
|
y2: t.y,
|
|
1150
1160
|
stroke: e.value.xyAxisStroke,
|
|
1151
1161
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1152
1162
|
"stroke-linecap": "round"
|
|
1153
|
-
}, null, 8,
|
|
1154
|
-
t.y <=
|
|
1163
|
+
}, null, 8, ja)) : f("", !0),
|
|
1164
|
+
t.y <= d.value.drawingArea.bottom ? (a(), l("text", {
|
|
1155
1165
|
key: 1,
|
|
1156
1166
|
x: t.x,
|
|
1157
1167
|
y: t.y + e.value.xyLabelsYFontSize / 3,
|
|
1158
1168
|
"text-anchor": "end",
|
|
1159
1169
|
"font-size": e.value.xyLabelsYFontSize,
|
|
1160
1170
|
fill: e.value.color
|
|
1161
|
-
},
|
|
1171
|
+
}, R(g(X)(
|
|
1162
1172
|
e.value.formatter,
|
|
1163
1173
|
t.value,
|
|
1164
1174
|
g(B)({
|
|
@@ -1168,29 +1178,29 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1168
1178
|
r: e.value.dataLabelRoundingValue
|
|
1169
1179
|
}),
|
|
1170
1180
|
{ datapoint: t, seriesIndex: n }
|
|
1171
|
-
)), 9,
|
|
1181
|
+
)), 9, Ga)) : f("", !0)
|
|
1172
1182
|
], 64))), 256))
|
|
1173
1183
|
])) : f("", !0),
|
|
1174
|
-
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g",
|
|
1175
|
-
(a(!0), l(
|
|
1176
|
-
x1:
|
|
1177
|
-
x2:
|
|
1178
|
-
y1:
|
|
1179
|
-
y2:
|
|
1184
|
+
e.value.xyShowScale && e.value.xyPeriods.length ? (a(), l("g", Ha, [
|
|
1185
|
+
(a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("line", {
|
|
1186
|
+
x1: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
|
|
1187
|
+
x2: d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2,
|
|
1188
|
+
y1: d.value.drawingArea.bottom,
|
|
1189
|
+
y2: d.value.drawingArea.bottom + 4,
|
|
1180
1190
|
stroke: e.value.xyAxisStroke,
|
|
1181
1191
|
"stroke-width": e.value.xyAxisStrokeWidth,
|
|
1182
1192
|
"stroke-linecap": "round"
|
|
1183
|
-
}, null, 8,
|
|
1184
|
-
(a(!0), l(
|
|
1193
|
+
}, null, 8, Xa))), 256)),
|
|
1194
|
+
(a(!0), l(p, null, z(e.value.xyPeriods.slice(k.value.start, k.value.end), (t, n) => (a(), l("text", {
|
|
1185
1195
|
"font-size": e.value.xyLabelsXFontSize,
|
|
1186
1196
|
"text-anchor": e.value.xyPeriodLabelsRotation > 0 ? "start" : e.value.xyPeriodLabelsRotation < 0 ? "end" : "middle",
|
|
1187
|
-
transform: `translate(${
|
|
1197
|
+
transform: `translate(${d.value.drawingArea.left + d.value.slotSize * (n + 1) - d.value.slotSize / 2}, ${d.value.drawingArea.bottom + e.value.xyLabelsXFontSize + 6}) rotate(${e.value.xyPeriodLabelsRotation})`,
|
|
1188
1198
|
fill: e.value.color
|
|
1189
|
-
},
|
|
1199
|
+
}, R(t), 9, Za))), 256))
|
|
1190
1200
|
])) : f("", !0),
|
|
1191
|
-
A("g",
|
|
1192
|
-
(a(!0), l(
|
|
1193
|
-
(a(!0), l(
|
|
1201
|
+
A("g", Ya, [
|
|
1202
|
+
(a(!0), l(p, null, z(d.value.dataset, (t, n) => (a(), l(p, null, [
|
|
1203
|
+
(a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("rect", {
|
|
1194
1204
|
x: r.x,
|
|
1195
1205
|
width: r.width <= 0 ? 1e-5 : r.width,
|
|
1196
1206
|
height: g(Z)(r.height <= 0 ? 1e-5 : r.height),
|
|
@@ -1199,35 +1209,35 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1199
1209
|
stroke: e.value.backgroundColor,
|
|
1200
1210
|
"stroke-width": e.value.barStrokeWidth,
|
|
1201
1211
|
"stroke-linecap": "round",
|
|
1202
|
-
class:
|
|
1212
|
+
class: re({ "vue-data-ui-bar-animated": e.value.barAnimated && r.value < 0 })
|
|
1203
1213
|
}, [
|
|
1204
|
-
e.value.barAnimated && r.value > 0 && !g(
|
|
1214
|
+
e.value.barAnimated && r.value > 0 && !g(Se) && !g(be) ? (a(), l("animate", {
|
|
1205
1215
|
key: 0,
|
|
1206
1216
|
attributeName: "height",
|
|
1207
1217
|
from: 0,
|
|
1208
1218
|
to: r.height,
|
|
1209
1219
|
dur: "0.5s"
|
|
1210
|
-
}, null, 8,
|
|
1211
|
-
e.value.barAnimated && r.value > 0 && !g(
|
|
1220
|
+
}, null, 8, Qa)) : f("", !0),
|
|
1221
|
+
e.value.barAnimated && r.value > 0 && !g(Se) && !g(be) ? (a(), l("animate", {
|
|
1212
1222
|
key: 1,
|
|
1213
1223
|
attributeName: "y",
|
|
1214
|
-
from:
|
|
1215
|
-
to:
|
|
1224
|
+
from: d.value.absoluteZero,
|
|
1225
|
+
to: d.value.absoluteZero - r.height,
|
|
1216
1226
|
dur: "0.5s"
|
|
1217
|
-
}, null, 8,
|
|
1218
|
-
], 10,
|
|
1227
|
+
}, null, 8, Ka)) : f("", !0)
|
|
1228
|
+
], 10, Ja))), 256))
|
|
1219
1229
|
], 64))), 256))
|
|
1220
1230
|
]),
|
|
1221
|
-
e.value.showDataLabels ? (a(), l("g",
|
|
1222
|
-
(a(!0), l(
|
|
1223
|
-
(a(!0), l(
|
|
1231
|
+
e.value.showDataLabels ? (a(), l("g", el, [
|
|
1232
|
+
(a(!0), l(p, null, z(d.value.dataset, (t, n) => (a(), l(p, null, [
|
|
1233
|
+
(a(!0), l(p, null, z(t.coordinates, (r, h) => (a(), l("text", {
|
|
1224
1234
|
x: r.x + r.width / 2,
|
|
1225
1235
|
y: g(Z)(r.y) - e.value.dataLabelFontSize / 2,
|
|
1226
1236
|
"text-anchor": "middle",
|
|
1227
1237
|
"font-size": e.value.dataLabelFontSize,
|
|
1228
1238
|
fill: t.color,
|
|
1229
1239
|
class: "quick-animation"
|
|
1230
|
-
},
|
|
1240
|
+
}, R(g(X)(
|
|
1231
1241
|
e.value.formatter,
|
|
1232
1242
|
g(Z)(r.value),
|
|
1233
1243
|
g(B)({
|
|
@@ -1237,64 +1247,64 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1237
1247
|
r: e.value.dataLabelRoundingValue
|
|
1238
1248
|
}),
|
|
1239
1249
|
{ datapoint: r, seriesIndex: h }
|
|
1240
|
-
)), 9,
|
|
1250
|
+
)), 9, tl))), 256))
|
|
1241
1251
|
], 64))), 256))
|
|
1242
1252
|
])) : f("", !0),
|
|
1243
|
-
A("g",
|
|
1244
|
-
(a(!0), l(
|
|
1245
|
-
x:
|
|
1246
|
-
y:
|
|
1247
|
-
height:
|
|
1248
|
-
width:
|
|
1253
|
+
A("g", al, [
|
|
1254
|
+
(a(!0), l(p, null, z(d.value.extremes.maxSeries, (t, n) => (a(), l("rect", {
|
|
1255
|
+
x: d.value.drawingArea.left + n * d.value.slotSize,
|
|
1256
|
+
y: d.value.drawingArea.top,
|
|
1257
|
+
height: d.value.drawingArea.height <= 0 ? 1e-5 : d.value.drawingArea.height,
|
|
1258
|
+
width: d.value.slotSize <= 0 ? 1e-5 : d.value.slotSize,
|
|
1249
1259
|
fill: [j.value, J.value].includes(n) ? e.value.xyHighlighterColor : "transparent",
|
|
1250
1260
|
style: N(`opacity:${e.value.xyHighlighterOpacity}`),
|
|
1251
|
-
onMouseenter: (r) =>
|
|
1252
|
-
onMouseleave:
|
|
1253
|
-
onClick: (r) =>
|
|
1261
|
+
onMouseenter: (r) => d.value.useTooltip(n),
|
|
1262
|
+
onMouseleave: s[2] || (s[2] = (r) => d.value.killTooltip()),
|
|
1263
|
+
onClick: (r) => m("selectDatapoint", d.value.dataset.map((h) => ({
|
|
1254
1264
|
...h,
|
|
1255
1265
|
value: h.values[n]
|
|
1256
1266
|
})))
|
|
1257
|
-
}, null, 44,
|
|
1267
|
+
}, null, 44, ll))), 256))
|
|
1258
1268
|
])
|
|
1259
1269
|
], 64)) : f("", !0),
|
|
1260
|
-
[_.LINE, _.BAR].includes(
|
|
1261
|
-
e.value.xAxisLabel &&
|
|
1270
|
+
[_.LINE, _.BAR].includes(C.value) ? (a(), l("g", ol, [
|
|
1271
|
+
e.value.xAxisLabel && C.value === _.LINE ? (a(), l("g", ul, [
|
|
1262
1272
|
A("text", {
|
|
1263
1273
|
"font-size": e.value.axisLabelsFontSize,
|
|
1264
1274
|
fill: e.value.color,
|
|
1265
1275
|
"text-anchor": "middle",
|
|
1266
|
-
x:
|
|
1267
|
-
y:
|
|
1268
|
-
},
|
|
1276
|
+
x: c.value.drawingArea.left + c.value.drawingArea.width / 2,
|
|
1277
|
+
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1278
|
+
}, R(e.value.xAxisLabel), 9, il)
|
|
1269
1279
|
])) : f("", !0),
|
|
1270
|
-
e.value.xAxisLabel &&
|
|
1280
|
+
e.value.xAxisLabel && C.value === _.BAR ? (a(), l("g", nl, [
|
|
1271
1281
|
A("text", {
|
|
1272
1282
|
"font-size": e.value.axisLabelsFontSize,
|
|
1273
1283
|
fill: e.value.color,
|
|
1274
1284
|
"text-anchor": "middle",
|
|
1275
|
-
x:
|
|
1276
|
-
y:
|
|
1277
|
-
},
|
|
1285
|
+
x: d.value.drawingArea.left + d.value.drawingArea.width / 2,
|
|
1286
|
+
y: b.value.height - e.value.axisLabelsFontSize / 3
|
|
1287
|
+
}, R(e.value.xAxisLabel), 9, rl)
|
|
1278
1288
|
])) : f("", !0),
|
|
1279
|
-
e.value.yAxisLabel &&
|
|
1289
|
+
e.value.yAxisLabel && C.value === _.LINE ? (a(), l("g", sl, [
|
|
1280
1290
|
A("text", {
|
|
1281
1291
|
"font-size": e.value.axisLabelsFontSize,
|
|
1282
1292
|
fill: e.value.color,
|
|
1283
|
-
transform: `translate(${e.value.axisLabelsFontSize}, ${
|
|
1293
|
+
transform: `translate(${e.value.axisLabelsFontSize}, ${c.value.drawingArea.top + c.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1284
1294
|
"text-anchor": "middle"
|
|
1285
|
-
},
|
|
1295
|
+
}, R(e.value.yAxisLabel), 9, vl)
|
|
1286
1296
|
])) : f("", !0),
|
|
1287
|
-
e.value.yAxisLabel &&
|
|
1297
|
+
e.value.yAxisLabel && C.value === _.BAR ? (a(), l("g", dl, [
|
|
1288
1298
|
A("text", {
|
|
1289
1299
|
"font-size": e.value.axisLabelsFontSize,
|
|
1290
1300
|
fill: e.value.color,
|
|
1291
|
-
transform: `translate(${e.value.axisLabelsFontSize}, ${
|
|
1301
|
+
transform: `translate(${e.value.axisLabelsFontSize}, ${d.value.drawingArea.top + d.value.drawingArea.height / 2}) rotate(-90)`,
|
|
1292
1302
|
"text-anchor": "middle"
|
|
1293
|
-
},
|
|
1303
|
+
}, R(e.value.yAxisLabel), 9, cl)
|
|
1294
1304
|
])) : f("", !0)
|
|
1295
1305
|
])) : f("", !0)
|
|
1296
|
-
], 12,
|
|
1297
|
-
|
|
1306
|
+
], 12, Yt)) : f("", !0),
|
|
1307
|
+
C.value ? f("", !0) : (a(), Ce(Bt, {
|
|
1298
1308
|
key: 5,
|
|
1299
1309
|
config: {
|
|
1300
1310
|
type: "line",
|
|
@@ -1312,16 +1322,18 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1312
1322
|
}
|
|
1313
1323
|
}
|
|
1314
1324
|
}, null, 8, ["config"])),
|
|
1315
|
-
|
|
1316
|
-
M(
|
|
1325
|
+
i.$slots.watermark ? (a(), l("div", hl, [
|
|
1326
|
+
M(i.$slots, "watermark", H(se({ isPrinting: g(Se) || g(be) })), void 0, !0)
|
|
1317
1327
|
])) : f("", !0),
|
|
1318
|
-
[_.BAR, _.LINE].includes(
|
|
1319
|
-
key: `slicer_${
|
|
1328
|
+
[_.BAR, _.LINE].includes(C.value) && e.value.zoomXy && x.value.maxSeriesLength > 1 ? (a(), l("div", {
|
|
1329
|
+
key: `slicer_${ke.value}`,
|
|
1320
1330
|
ref_key: "quickChartSlicer",
|
|
1321
|
-
ref:
|
|
1331
|
+
ref: de
|
|
1322
1332
|
}, [
|
|
1323
|
-
(a(),
|
|
1324
|
-
|
|
1333
|
+
(a(), Ce(Mt, {
|
|
1334
|
+
ref_key: "slicerComponent",
|
|
1335
|
+
ref: ue,
|
|
1336
|
+
key: `slicer_${ke.value}`,
|
|
1325
1337
|
background: e.value.zoomColor,
|
|
1326
1338
|
borderColor: e.value.backgroundColor,
|
|
1327
1339
|
fontSize: e.value.zoomFontSize,
|
|
@@ -1340,21 +1352,23 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1340
1352
|
minimapSelectedColorOpacity: e.value.zoomMinimap.selectedColorOpacity,
|
|
1341
1353
|
minimapSelectionRadius: e.value.zoomMinimap.selectionRadius,
|
|
1342
1354
|
minimapLineColor: e.value.zoomMinimap.lineColor,
|
|
1343
|
-
minimap:
|
|
1355
|
+
minimap: mt.value,
|
|
1344
1356
|
minimapIndicatorColor: e.value.zoomMinimap.indicatorColor,
|
|
1345
1357
|
minimapSelectedIndex: J.value,
|
|
1346
1358
|
start: k.value.start,
|
|
1347
|
-
"onUpdate:start":
|
|
1359
|
+
"onUpdate:start": s[3] || (s[3] = (t) => k.value.start = t),
|
|
1348
1360
|
end: k.value.end,
|
|
1349
|
-
"onUpdate:end":
|
|
1350
|
-
|
|
1351
|
-
|
|
1361
|
+
"onUpdate:end": s[4] || (s[4] = (t) => k.value.end = t),
|
|
1362
|
+
refreshStartPoint: e.value.zoomStartIndex !== null ? e.value.zoomStartIndex : 0,
|
|
1363
|
+
refreshEndPoint: e.value.zoomEndIndex !== null ? e.value.zoomEndIndex + 1 : x.value.maxSeriesLength,
|
|
1364
|
+
onReset: ft,
|
|
1365
|
+
onTrapMouse: ht
|
|
1352
1366
|
}, {
|
|
1353
1367
|
"reset-action": Q(({ reset: t }) => [
|
|
1354
|
-
M(
|
|
1368
|
+
M(i.$slots, "reset-action", H(se({ reset: t })), void 0, !0)
|
|
1355
1369
|
]),
|
|
1356
1370
|
_: 3
|
|
1357
|
-
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end"]))
|
|
1371
|
+
}, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "smoothMinimap", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectionRadius", "minimapLineColor", "minimap", "minimapIndicatorColor", "minimapSelectedIndex", "start", "end", "refreshStartPoint", "refreshEndPoint"]))
|
|
1358
1372
|
])) : f("", !0),
|
|
1359
1373
|
e.value.showLegend ? (a(), l("div", {
|
|
1360
1374
|
key: 8,
|
|
@@ -1363,25 +1377,25 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1363
1377
|
class: "vue-ui-quick-chart-legend",
|
|
1364
1378
|
style: N(`background:transparent;color:${e.value.color}`)
|
|
1365
1379
|
}, [
|
|
1366
|
-
|
|
1380
|
+
C.value === _.DONUT ? (a(!0), l(p, { key: 0 }, z(E.value.legend, (t, n) => (a(), l("div", {
|
|
1367
1381
|
class: "vue-ui-quick-chart-legend-item",
|
|
1368
1382
|
onClick: (r) => {
|
|
1369
|
-
|
|
1383
|
+
ct(t, E.value.dataset), m("selectLegend", t);
|
|
1370
1384
|
},
|
|
1371
|
-
style: N(`cursor: ${
|
|
1385
|
+
style: N(`cursor: ${E.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1372
1386
|
}, [
|
|
1373
|
-
e.value.useCustomLegend ? M(
|
|
1374
|
-
|
|
1387
|
+
e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1388
|
+
ve(Ee, {
|
|
1375
1389
|
name: e.value.legendIcon,
|
|
1376
1390
|
stroke: t.color,
|
|
1377
1391
|
size: e.value.legendIconSize
|
|
1378
1392
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1379
1393
|
A("span", {
|
|
1380
1394
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1381
|
-
},
|
|
1395
|
+
}, R(t.name), 5),
|
|
1382
1396
|
A("span", {
|
|
1383
1397
|
style: N(`font-size:${e.value.legendFontSize}px;font-variant-numeric:tabular-nums`)
|
|
1384
|
-
},
|
|
1398
|
+
}, R(w.value.includes(t.id) ? "-" : g(X)(
|
|
1385
1399
|
e.value.formatter,
|
|
1386
1400
|
t.absoluteValue,
|
|
1387
1401
|
g(B)({
|
|
@@ -1395,66 +1409,66 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1395
1409
|
w.value.includes(t.id) ? (a(), l("span", {
|
|
1396
1410
|
key: 0,
|
|
1397
1411
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1398
|
-
}, " ( - % ) ", 4)) :
|
|
1412
|
+
}, " ( - % ) ", 4)) : _e.value ? (a(), l("span", {
|
|
1399
1413
|
key: 1,
|
|
1400
1414
|
style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1401
1415
|
}, " ( - % ) ", 4)) : (a(), l("span", {
|
|
1402
1416
|
key: 2,
|
|
1403
1417
|
style: N(`font-size:${e.value.legendFontSize}px; font-variant-numeric: tabular-nums;`)
|
|
1404
|
-
}, " (" +
|
|
1405
|
-
v: t.value /
|
|
1418
|
+
}, " (" + R(g(B)({
|
|
1419
|
+
v: t.value / E.value.total * 100,
|
|
1406
1420
|
s: "%",
|
|
1407
1421
|
r: e.value.dataLabelRoundingPercentage
|
|
1408
1422
|
})) + ") ", 5))
|
|
1409
1423
|
], 64))
|
|
1410
|
-
], 12,
|
|
1411
|
-
|
|
1424
|
+
], 12, fl))), 256)) : f("", !0),
|
|
1425
|
+
C.value === _.LINE ? (a(!0), l(p, { key: 1 }, z(c.value.legend, (t, n) => (a(), l("div", {
|
|
1412
1426
|
class: "vue-ui-quick-chart-legend-item",
|
|
1413
1427
|
onClick: (r) => {
|
|
1414
|
-
|
|
1428
|
+
Xe(t.id, c.value.legend.length - 1), m("selectLegend", t);
|
|
1415
1429
|
},
|
|
1416
|
-
style: N(`cursor: ${
|
|
1430
|
+
style: N(`cursor: ${c.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1417
1431
|
}, [
|
|
1418
|
-
e.value.useCustomLegend ? M(
|
|
1419
|
-
|
|
1432
|
+
e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1433
|
+
ve(Ee, {
|
|
1420
1434
|
name: e.value.legendIcon,
|
|
1421
1435
|
stroke: t.color,
|
|
1422
1436
|
size: e.value.legendIconSize
|
|
1423
1437
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1424
1438
|
A("span", {
|
|
1425
1439
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1426
|
-
},
|
|
1440
|
+
}, R(t.name), 5)
|
|
1427
1441
|
], 64))
|
|
1428
|
-
], 12,
|
|
1429
|
-
|
|
1442
|
+
], 12, gl))), 256)) : f("", !0),
|
|
1443
|
+
C.value === _.BAR ? (a(!0), l(p, { key: 2 }, z(d.value.legend, (t, n) => (a(), l("div", {
|
|
1430
1444
|
class: "vue-ui-quick-chart-legend-item",
|
|
1431
1445
|
onClick: (r) => {
|
|
1432
|
-
|
|
1446
|
+
Xe(t.id, d.value.legend.length - 1), m("selectLegend", t);
|
|
1433
1447
|
},
|
|
1434
|
-
style: N(`cursor: ${
|
|
1448
|
+
style: N(`cursor: ${d.value.legend.length > 1 ? "pointer" : "default"}; opacity:${w.value.includes(t.id) ? "0.5" : "1"}`)
|
|
1435
1449
|
}, [
|
|
1436
|
-
e.value.useCustomLegend ? M(
|
|
1437
|
-
|
|
1450
|
+
e.value.useCustomLegend ? M(i.$slots, "legend", H(Ne({ key: 0 }, { legend: t })), void 0, !0) : (a(), l(p, { key: 1 }, [
|
|
1451
|
+
ve(Ee, {
|
|
1438
1452
|
name: e.value.legendIcon,
|
|
1439
1453
|
stroke: t.color,
|
|
1440
1454
|
size: e.value.legendIconSize
|
|
1441
1455
|
}, null, 8, ["name", "stroke", "size"]),
|
|
1442
1456
|
A("span", {
|
|
1443
1457
|
style: N(`font-size:${e.value.legendFontSize}px`)
|
|
1444
|
-
},
|
|
1458
|
+
}, R(t.name), 5)
|
|
1445
1459
|
], 64))
|
|
1446
|
-
], 12,
|
|
1460
|
+
], 12, ml))), 256)) : f("", !0)
|
|
1447
1461
|
], 4)) : f("", !0),
|
|
1448
|
-
|
|
1462
|
+
i.$slots.source ? (a(), l("div", {
|
|
1449
1463
|
key: 9,
|
|
1450
1464
|
ref_key: "source",
|
|
1451
|
-
ref:
|
|
1465
|
+
ref: Ue,
|
|
1452
1466
|
dir: "auto"
|
|
1453
1467
|
}, [
|
|
1454
|
-
M(
|
|
1468
|
+
M(i.$slots, "source", {}, void 0, !0)
|
|
1455
1469
|
], 512)) : f("", !0),
|
|
1456
|
-
|
|
1457
|
-
show:
|
|
1470
|
+
ve(Ot, {
|
|
1471
|
+
show: we.value.showTooltip && G.value,
|
|
1458
1472
|
backgroundColor: e.value.backgroundColor,
|
|
1459
1473
|
color: e.value.color,
|
|
1460
1474
|
borderRadius: e.value.tooltipBorderRadius,
|
|
@@ -1466,25 +1480,26 @@ const ot = (s) => (pt("data-v-7397d9b6"), s = s(), mt(), s), Wt = ["id"], jt = [
|
|
|
1466
1480
|
offsetY: e.value.tooltipOffsetY,
|
|
1467
1481
|
parent: W.value,
|
|
1468
1482
|
content: K.value,
|
|
1469
|
-
|
|
1483
|
+
isFullscreen: ze.value,
|
|
1484
|
+
isCustom: g(Ie)(e.value.tooltipCustomFormat)
|
|
1470
1485
|
}, {
|
|
1471
1486
|
"tooltip-before": Q(() => [
|
|
1472
|
-
M(
|
|
1487
|
+
M(i.$slots, "tooltip-before", H(se({ ...ce.value })), void 0, !0)
|
|
1473
1488
|
]),
|
|
1474
1489
|
"tooltip-after": Q(() => [
|
|
1475
|
-
M(
|
|
1490
|
+
M(i.$slots, "tooltip-after", H(se({ ...ce.value })), void 0, !0)
|
|
1476
1491
|
]),
|
|
1477
1492
|
_: 3
|
|
1478
|
-
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"])
|
|
1479
|
-
], 14,
|
|
1480
|
-
|
|
1493
|
+
}, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"])
|
|
1494
|
+
], 14, Zt)) : (a(), l("div", pl, [
|
|
1495
|
+
ve(Ee, {
|
|
1481
1496
|
name: "circleCancel",
|
|
1482
1497
|
stroke: "red"
|
|
1483
1498
|
}),
|
|
1484
|
-
|
|
1499
|
+
xl
|
|
1485
1500
|
]));
|
|
1486
1501
|
}
|
|
1487
|
-
},
|
|
1502
|
+
}, Pl = /* @__PURE__ */ Vt(yl, [["__scopeId", "data-v-7c8df607"]]);
|
|
1488
1503
|
export {
|
|
1489
|
-
|
|
1504
|
+
Pl as default
|
|
1490
1505
|
};
|