vue-data-ui 2.4.40 → 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-DkayNE_-.js → Arrow-DE71uBJZ.js} +1 -1
- package/dist/{Arrow-Bg4pmMHf.cjs → Arrow-DTscDttD.cjs} +1 -1
- package/dist/{BaseIcon-DpYqpYmv.js → BaseIcon-C8XxmpRq.js} +1 -1
- package/dist/{BaseIcon-zXh1vLYa.cjs → BaseIcon-COOfxsl_.cjs} +1 -1
- package/dist/{DataTable-BB87HJ5b.cjs → DataTable-DEdQvqB1.cjs} +1 -1
- package/dist/{DataTable-BuiPd6c1.js → DataTable-D_w08xos.js} +2 -2
- package/dist/{Legend-BRVDmlwW.js → Legend-BWDoQii_.js} +1 -1
- package/dist/{Legend-D2Yi-COI.cjs → Legend-C4rlR-Ge.cjs} +1 -1
- package/dist/{PackageVersion-BT4zkGPO.js → PackageVersion-CH6MCx6T.js} +1 -1
- package/dist/{PackageVersion-rf9gXZ-Q.cjs → PackageVersion-DKyD7D76.cjs} +1 -1
- package/dist/{PenAndPaper-BFq1cFfJ.js → PenAndPaper-BWTR3U2d.js} +3 -3
- package/dist/{PenAndPaper-DS7gA4X0.cjs → PenAndPaper-Dc2zn4C0.cjs} +1 -1
- package/dist/{Shape-DVggzfpA.cjs → Shape-BLS-KzBD.cjs} +1 -1
- package/dist/{Shape-Dwxh0EWa.js → Shape-xrlfL_v4.js} +1 -1
- package/dist/Slicer-8gKX0l4Q.cjs +1 -0
- package/dist/Slicer-DIYseEL1.js +423 -0
- package/dist/{Title-RB80eFiD.cjs → Title-B-xkTfi8.cjs} +1 -1
- package/dist/{Title-BFvWnqI4.js → Title-Cnl9ySNH.js} +1 -1
- package/dist/Tooltip-Brbj6DqX.cjs +1 -0
- package/dist/{Tooltip-RHI1EGzy.js → Tooltip-DEAOBZ8h.js} +33 -25
- package/dist/index-B68kzBN9.cjs +9 -0
- package/dist/{index-DY8hDTi7.js → index-DnukYspq.js} +56 -43
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +13 -0
- package/dist/types/vue-data-ui.d.ts +13 -0
- package/dist/{useNestedProp-lhL30X68.js → useNestedProp-CVOQGx-X.js} +1 -1
- package/dist/{useNestedProp-DLJc0s53.cjs → useNestedProp-es9bVqY_.cjs} +1 -1
- package/dist/{usePrinter-BfuqGrO4.cjs → usePrinter-C9yUesCc.cjs} +1 -1
- package/dist/{usePrinter-DjAQofRy.js → usePrinter-DVIALk5e.js} +1 -1
- package/dist/{vue-data-ui-BjixO_L4.js → vue-data-ui-BmmjmNbb.js} +60 -60
- package/dist/{vue-data-ui-DYb5l8_5.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-CkYhOmXF.js → vue-ui-3d-bar-CnVJAgFO.js} +9 -9
- package/dist/{vue-ui-3d-bar-BEjtuA39.cjs → vue-ui-3d-bar-DYswbvC_.cjs} +1 -1
- package/dist/{vue-ui-accordion-ClQObElI.cjs → vue-ui-accordion-D_K9gNUR.cjs} +1 -1
- package/dist/{vue-ui-accordion-xK9e3wkz.js → vue-ui-accordion-f9NTID9e.js} +3 -3
- package/dist/{vue-ui-age-pyramid-x5CjkABf.cjs → vue-ui-age-pyramid-Bj9K08ws.cjs} +1 -1
- package/dist/{vue-ui-age-pyramid-DtQAo1-2.js → vue-ui-age-pyramid-CL0RB7mU.js} +42 -41
- package/dist/{vue-ui-annotator-Yt34insl.js → vue-ui-annotator-C82vEb7R.js} +1 -1
- package/dist/{vue-ui-annotator-DqDELeOR.cjs → vue-ui-annotator-DhwUZ4WB.cjs} +1 -1
- package/dist/{vue-ui-bullet-CCvwPwji.js → vue-ui-bullet-BxYYiFnu.js} +15 -15
- package/dist/{vue-ui-bullet-DSPQ5yWt.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-CkJngi1u.cjs → vue-ui-carousel-table-4z9ZACSk.cjs} +1 -1
- package/dist/{vue-ui-carousel-table-IqZRrbo_.js → vue-ui-carousel-table-DQymYeK0.js} +4 -4
- package/dist/{vue-ui-chestnut-Dt3GLx3U.js → vue-ui-chestnut-DDNLUSav.js} +8 -8
- package/dist/{vue-ui-chestnut-ojvaZyue.cjs → vue-ui-chestnut-iRODkXaw.cjs} +1 -1
- package/dist/{vue-ui-cursor-D24bAdi0.js → vue-ui-cursor-Bdud_Fxg.js} +2 -2
- package/dist/{vue-ui-cursor-Cbi7OUiE.cjs → vue-ui-cursor-Bt_SieMc.cjs} +1 -1
- package/dist/{vue-ui-dashboard-DVf1sULB.cjs → vue-ui-dashboard-BzRR9Ra7.cjs} +1 -1
- package/dist/{vue-ui-dashboard-CB_W7yvi.js → vue-ui-dashboard-CeVkJPeG.js} +2 -2
- package/dist/{vue-ui-digits-CVAyG4kM.cjs → vue-ui-digits-DF3oLaaR.cjs} +1 -1
- package/dist/{vue-ui-digits-Qn4l0R5o.js → vue-ui-digits-DtNvb8lM.js} +2 -2
- package/dist/{vue-ui-donut-t688YqqL.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-Cgvksx9U.cjs → vue-ui-donut-o09QqVJO.cjs} +1 -1
- package/dist/{vue-ui-dumbbell-CS5kvI8A.js → vue-ui-dumbbell-BV2LN5qt.js} +10 -10
- package/dist/{vue-ui-dumbbell-DxMZm_Xi.cjs → vue-ui-dumbbell-CS8pY-mj.cjs} +1 -1
- package/dist/{vue-ui-flow-4sSoYnJt.js → vue-ui-flow-QRimZUXT.js} +46 -46
- package/dist/{vue-ui-flow-In-tHpYL.cjs → vue-ui-flow-iNWWhp7U.cjs} +1 -1
- package/dist/{vue-ui-funnel-MXYMVu1G.cjs → vue-ui-funnel-BL8vtmsw.cjs} +1 -1
- package/dist/{vue-ui-funnel-MD4lrv0t.js → vue-ui-funnel-CBymVSdd.js} +19 -19
- package/dist/{vue-ui-galaxy-B9KiEfI4.cjs → vue-ui-galaxy-DSJrMBzj.cjs} +1 -1
- package/dist/{vue-ui-galaxy-K09M9SgI.js → vue-ui-galaxy-KP3A9HVX.js} +53 -52
- package/dist/{vue-ui-gauge-Bg2V5WNl.js → vue-ui-gauge-BuU0DDG0.js} +7 -7
- package/dist/{vue-ui-gauge-DaR_viLn.cjs → vue-ui-gauge-H9j8Dq5h.cjs} +1 -1
- package/dist/{vue-ui-gizmo-7Hv-0fsh.cjs → vue-ui-gizmo-Bl9JoMk1.cjs} +1 -1
- package/dist/{vue-ui-gizmo-CdLxfJUw.js → vue-ui-gizmo-M7RalwJ6.js} +3 -3
- package/dist/{vue-ui-heatmap-DhgJ3LO9.cjs → vue-ui-heatmap-BXWWh4iN.cjs} +1 -1
- package/dist/{vue-ui-heatmap-CNPjaHGJ.js → vue-ui-heatmap-DSkfyl8j.js} +60 -59
- package/dist/{vue-ui-history-plot-DZOYwPTh.cjs → vue-ui-history-plot-BUoUHKx6.cjs} +1 -1
- package/dist/{vue-ui-history-plot-DRwX7quj.js → vue-ui-history-plot-CYSDr-GH.js} +60 -59
- package/dist/{vue-ui-kpi-Cnrfv2vn.cjs → vue-ui-kpi-BXe7HQIh.cjs} +1 -1
- package/dist/{vue-ui-kpi-C-5_TwY8.js → vue-ui-kpi-BvUaC7JA.js} +3 -3
- package/dist/{vue-ui-mini-loader-fZawewEF.js → vue-ui-mini-loader-DM8ShcKo.js} +2 -2
- package/dist/{vue-ui-mini-loader-uBFny7gt.cjs → vue-ui-mini-loader-zbjxzJTp.cjs} +1 -1
- package/dist/{vue-ui-molecule-BOClRlY3.cjs → vue-ui-molecule-BdIRpOM9.cjs} +1 -1
- package/dist/{vue-ui-molecule-pO5l42Vf.js → vue-ui-molecule-CZi84tUl.js} +26 -25
- package/dist/{vue-ui-mood-radar-jbYjFZID.js → vue-ui-mood-radar-DDnbuNdv.js} +11 -11
- package/dist/{vue-ui-mood-radar-CiMiQJuS.cjs → vue-ui-mood-radar-DipV_UPN.cjs} +1 -1
- package/dist/{vue-ui-nested-donuts-Bb5otIw_.js → vue-ui-nested-donuts-Chuuvtu-.js} +78 -77
- package/dist/{vue-ui-nested-donuts-IArnFfHY.cjs → vue-ui-nested-donuts-DuxVLzDH.cjs} +2 -2
- package/dist/{vue-ui-onion-BvQLUPjh.js → vue-ui-onion-CIRGvycb.js} +49 -48
- package/dist/{vue-ui-onion-SKVqk7rN.cjs → vue-ui-onion-CvlwZgpu.cjs} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-CeqeyIHj.cjs → vue-ui-parallel-coordinate-plot-eJMnJ_u2.cjs} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-_LH1iK_w.js → vue-ui-parallel-coordinate-plot-jv7L5_x8.js} +70 -69
- package/dist/{vue-ui-quadrant-BiWyF1fA.js → vue-ui-quadrant-CjjXU43-.js} +55 -54
- package/dist/{vue-ui-quadrant-7jB46g4Z.cjs → vue-ui-quadrant-ks_4yK85.cjs} +1 -1
- package/dist/{vue-ui-quick-chart-C1398EYu.js → vue-ui-quick-chart-BAVQ2SJ2.js} +637 -622
- package/dist/vue-ui-quick-chart-Br2gTOPk.cjs +15 -0
- package/dist/{vue-ui-radar-BvWCcL2b.js → vue-ui-radar-CXXAYowO.js} +38 -37
- package/dist/{vue-ui-radar-BYk3bLkt.cjs → vue-ui-radar-kjh9y4cm.cjs} +1 -1
- package/dist/{vue-ui-rating-CyGmfYEU.js → vue-ui-rating-DOqMciYJ.js} +2 -2
- package/dist/{vue-ui-rating-jKjMQHRN.cjs → vue-ui-rating-EEIqiBgY.cjs} +1 -1
- package/dist/vue-ui-relation-circle-BEv568py.cjs +1 -0
- package/dist/vue-ui-relation-circle-CR3iWQV_.js +492 -0
- package/dist/{vue-ui-rings-DEwuDHW2.js → vue-ui-rings-B--CFaNX.js} +49 -48
- package/dist/vue-ui-rings-CgvWaw5N.cjs +2 -0
- package/dist/{vue-ui-scatter-BYL4iitb.js → vue-ui-scatter-C-RD4h73.js} +26 -25
- package/dist/{vue-ui-scatter-BfI6xftp.cjs → vue-ui-scatter-ChWlgb1L.cjs} +1 -1
- package/dist/{vue-ui-screenshot-D4aNIcHd.js → vue-ui-screenshot-C6-MOj7h.js} +1 -1
- package/dist/{vue-ui-screenshot-Cf8g-RjG.cjs → vue-ui-screenshot-CtjCOun0.cjs} +1 -1
- package/dist/{vue-ui-skeleton-FCpm0_eE.js → vue-ui-skeleton-CXdyOF4T.js} +3 -3
- package/dist/{vue-ui-skeleton-BGfzzQdU.cjs → vue-ui-skeleton-DGCkWrND.cjs} +1 -1
- package/dist/{vue-ui-smiley-mjxS_13E.cjs → vue-ui-smiley-AYBZK1EE.cjs} +1 -1
- package/dist/{vue-ui-smiley-BFXulKpd.js → vue-ui-smiley-CHXnJeLu.js} +2 -2
- package/dist/{vue-ui-spark-trend-B2SOk378.cjs → vue-ui-spark-trend-D2wIBOvT.cjs} +1 -1
- package/dist/{vue-ui-spark-trend-D-13-kV6.js → vue-ui-spark-trend-DO5rDGRm.js} +5 -5
- package/dist/{vue-ui-sparkbar-BlA1rgRo.cjs → vue-ui-sparkbar-COUcdDjn.cjs} +1 -1
- package/dist/{vue-ui-sparkbar-C8cjDKBy.js → vue-ui-sparkbar-CU3UNgHm.js} +4 -4
- package/dist/{vue-ui-sparkgauge-DRBVe3tu.js → vue-ui-sparkgauge-0810df6b.js} +4 -4
- package/dist/{vue-ui-sparkgauge-C4sFc7nb.cjs → vue-ui-sparkgauge-DrJzwEAh.cjs} +1 -1
- package/dist/{vue-ui-sparkhistogram-iMRsSDvC.js → vue-ui-sparkhistogram-CENPsEeO.js} +5 -5
- package/dist/{vue-ui-sparkhistogram-CkqzLBYq.cjs → vue-ui-sparkhistogram-j7MGEYYJ.cjs} +1 -1
- package/dist/{vue-ui-sparkline-DIkUaObR.js → vue-ui-sparkline-BOYreaxT.js} +4 -4
- package/dist/{vue-ui-sparkline-C0JZ7Xq1.cjs → vue-ui-sparkline-CXMea9Ki.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DJbWCqs3.cjs → vue-ui-sparkstackbar-BJIo5y1n.cjs} +1 -1
- package/dist/{vue-ui-sparkstackbar-DJW1lBGU.js → vue-ui-sparkstackbar-JvKmnoEy.js} +5 -5
- package/dist/vue-ui-stackbar-BOAmp-no.cjs +6 -0
- package/dist/{vue-ui-stackbar-BGUXEdZi.js → vue-ui-stackbar-C3-hx7VM.js} +390 -377
- package/dist/{vue-ui-strip-plot-hn1U9cvT.js → vue-ui-strip-plot-8MxOeTM_.js} +71 -70
- package/dist/{vue-ui-strip-plot-DJTQ8r5H.cjs → vue-ui-strip-plot-CmIS1Osx.cjs} +1 -1
- package/dist/{vue-ui-table-7A1eCPQd.js → vue-ui-table-CS-NSZjj.js} +1 -1
- package/dist/{vue-ui-table-DFvOQzJu.cjs → vue-ui-table-hVmeT8wY.cjs} +1 -1
- package/dist/{vue-ui-table-heatmap-DqZsXcsO.js → vue-ui-table-heatmap-CGHYZFJy.js} +9 -9
- package/dist/{vue-ui-table-heatmap-ZnkAoAkQ.cjs → vue-ui-table-heatmap-k9e_RrhC.cjs} +1 -1
- package/dist/{vue-ui-table-sparkline-CV8o-yV6.js → vue-ui-table-sparkline-CRnJVQmO.js} +5 -5
- package/dist/{vue-ui-table-sparkline-5mX0B27t.cjs → vue-ui-table-sparkline-DiMZ_mh6.cjs} +1 -1
- package/dist/{vue-ui-thermometer-BwLTfi7y.cjs → vue-ui-thermometer-43jmlgFC.cjs} +1 -1
- package/dist/{vue-ui-thermometer-M6QwKOld.js → vue-ui-thermometer-D2BUcsvF.js} +7 -7
- package/dist/{vue-ui-timer-QypGImgW.cjs → vue-ui-timer-BO9Ipy0W.cjs} +1 -1
- package/dist/{vue-ui-timer-CoYF7LEU.js → vue-ui-timer-Dc6zOjxq.js} +9 -9
- package/dist/{vue-ui-tiremarks-DAFNYvB1.cjs → vue-ui-tiremarks-CMUTe1vY.cjs} +1 -1
- package/dist/{vue-ui-tiremarks-CzLOyhXF.js → vue-ui-tiremarks-ejt0fqPg.js} +7 -7
- package/dist/{vue-ui-treemap-DF5BIKs-.js → vue-ui-treemap-DD8tFk9R.js} +98 -97
- package/dist/{vue-ui-treemap-CutiBRIN.cjs → vue-ui-treemap-DqSHqaJK.cjs} +1 -1
- package/dist/{vue-ui-vertical-bar-bDcCcUy8.js → vue-ui-vertical-bar-CxydSPHF.js} +58 -57
- package/dist/{vue-ui-vertical-bar-D-ZZAU0r.cjs → vue-ui-vertical-bar-D4dYglan.cjs} +2 -2
- package/dist/{vue-ui-waffle-CCO3ZHyo.cjs → vue-ui-waffle-CHWAepdl.cjs} +1 -1
- package/dist/{vue-ui-waffle-BR_HwmLy.js → vue-ui-waffle-DYdcFM17.js} +79 -78
- package/dist/{vue-ui-wheel-DuO0nc0d.js → vue-ui-wheel-CxtgGGpt.js} +7 -7
- package/dist/{vue-ui-wheel-Cvcfc6o1.cjs → vue-ui-wheel-_ynSyF3l.cjs} +1 -1
- package/dist/{vue-ui-word-cloud-Cv5bXF2B.js → vue-ui-word-cloud-B0AhPT0k.js} +10 -10
- package/dist/{vue-ui-word-cloud-BknJQRiM.cjs → vue-ui-word-cloud-Ct16Xxaw.cjs} +1 -1
- package/dist/{vue-ui-xy-Clf_sTRI.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-BOJGw4H7.js → vue-ui-xy-canvas-W7YGqG7f.js} +378 -365
- package/package.json +1 -1
- package/dist/Slicer-BXHFpzP5.cjs +0 -1
- package/dist/Slicer-D7x1gyjP.js +0 -400
- package/dist/Tooltip-BC1YZMi2.cjs +0 -1
- package/dist/index--lHmCKjC.cjs +0 -9
- package/dist/vue-ui-candlestick-CVJB9WMH.js +0 -725
- package/dist/vue-ui-candlestick-Cb7CgmeV.cjs +0 -2
- package/dist/vue-ui-donut-evolution-DWdf8MKP.cjs +0 -1
- package/dist/vue-ui-donut-evolution-KdVsB3m_.js +0 -895
- package/dist/vue-ui-quick-chart-79l8Uv8o.cjs +0 -15
- package/dist/vue-ui-relation-circle-B3Df8yCi.js +0 -366
- package/dist/vue-ui-relation-circle-CZomraV2.cjs +0 -1
- package/dist/vue-ui-rings-L8pGRQbs.cjs +0 -2
- package/dist/vue-ui-stackbar-BtOrW2Ml.cjs +0 -6
- package/dist/vue-ui-xy-Cqb73yZ3.cjs +0 -3
- package/dist/vue-ui-xy-canvas-7OwcP1-L.cjs +0 -9
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U,
|
|
2
|
-
import { D as ke } from "./DataTable-
|
|
3
|
-
import { _ as we } from "./Title-
|
|
4
|
-
import { _ as Oe, u as Ge } from "./Tooltip-
|
|
5
|
-
import { U as ve } from "./usePrinter-
|
|
6
|
-
import { _ as pe } from "./Shape-
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import Te from "./vue-ui-skeleton-
|
|
10
|
-
import { S as Pe } from "./Slicer-
|
|
11
|
-
import Ve from "./vue-ui-accordion-
|
|
12
|
-
import { u as Z } from "./useNestedProp-
|
|
13
|
-
import { _ as Re } from "./PackageVersion-
|
|
14
|
-
import { P as De } from "./PenAndPaper-
|
|
15
|
-
import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as
|
|
1
|
+
import { c as J, a as K, t as Q, z as j, p as $, V as q, O as R, f as U, L as ee, G as te, i as ie, a2 as ae, a0 as re, a3 as le, v as se, a4 as ne, d as oe, B as he, b as ce, q as de, R as ue, a5 as ge, r as fe, e as Ie, y as Ne, C as me, x as xe, a6 as Fe, Y as be, o as _e, s as ye, w as Ae, F as Ce, A as Le, u as Se } from "./index-DnukYspq.js";
|
|
2
|
+
import { D as ke } from "./DataTable-D_w08xos.js";
|
|
3
|
+
import { _ as we } from "./Title-Cnl9ySNH.js";
|
|
4
|
+
import { _ as Oe, u as Ge } from "./Tooltip-DEAOBZ8h.js";
|
|
5
|
+
import { U as ve } from "./usePrinter-DVIALk5e.js";
|
|
6
|
+
import { _ as pe } from "./Shape-xrlfL_v4.js";
|
|
7
|
+
import ze from "./BaseIcon-C8XxmpRq.js";
|
|
8
|
+
import Me from "./vue-ui-table-sparkline-CRnJVQmO.js";
|
|
9
|
+
import Te from "./vue-ui-skeleton-CXdyOF4T.js";
|
|
10
|
+
import { S as Pe } from "./Slicer-DIYseEL1.js";
|
|
11
|
+
import Ve from "./vue-ui-accordion-f9NTID9e.js";
|
|
12
|
+
import { u as Z } from "./useNestedProp-CVOQGx-X.js";
|
|
13
|
+
import { _ as Re } from "./PackageVersion-CH6MCx6T.js";
|
|
14
|
+
import { P as De } from "./PenAndPaper-BWTR3U2d.js";
|
|
15
|
+
import { resolveComponent as P, openBlock as r, createElementBlock as l, normalizeClass as V, normalizeStyle as C, createBlock as D, createCommentVNode as c, createSlots as Be, withCtx as M, renderSlot as O, normalizeProps as E, guardReactiveProps as H, createVNode as X, createElementVNode as g, Fragment as I, renderList as m, toDisplayString as S, withDirectives as Ee, vModelCheckbox as He, createTextVNode as We } from "vue";
|
|
16
16
|
import { _ as Ye } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
17
17
|
const Xe = J(), qe = {
|
|
18
18
|
name: "vue-ui-xy",
|
|
@@ -36,8 +36,8 @@ const Xe = J(), qe = {
|
|
|
36
36
|
Title: we,
|
|
37
37
|
Tooltip: Oe,
|
|
38
38
|
UserOptions: ve,
|
|
39
|
-
BaseIcon:
|
|
40
|
-
TableSparkline:
|
|
39
|
+
BaseIcon: ze,
|
|
40
|
+
TableSparkline: Me,
|
|
41
41
|
Skeleton: Te,
|
|
42
42
|
Slicer: Pe,
|
|
43
43
|
Accordion: Ve,
|
|
@@ -340,40 +340,40 @@ const Xe = J(), qe = {
|
|
|
340
340
|
}, x = {
|
|
341
341
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
342
342
|
min: i.scaleMin || Math.min(...i.absoluteValues.filter((u) => ![void 0, null].includes(u))) > 0 ? 0 : Math.min(...i.absoluteValues.filter((u) => ![null, void 0].includes(u)))
|
|
343
|
-
}, y = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001,
|
|
344
|
-
const
|
|
343
|
+
}, y = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, k = 1.0000001, N = this.calculateNiceScaleWithExactExtremes(x.min, x.max === x.min ? x.max * k : x.max, y), F = this.calculateNiceScaleWithExactExtremes(e.valueMin, e.valueMax === e.valueMin ? e.valueMax * k : e.valueMax, y), T = N.min >= 0 ? 0 : Math.abs(N.min), v = 0, p = N.max + T, w = F.max + Math.abs(v), _ = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, L = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, z = this.drawingArea.bottom - _ - L * T / p, a = this.drawingArea.bottom - _ - L * v / w, o = this.absoluteDataset.filter((u) => u.type === "bar").filter((u) => !this.segregatedSeries.includes(u.id)).length, n = i.series.map((u, b) => {
|
|
344
|
+
const W = this.mutableConfig.useIndividualScale ? (i.absoluteValues[b] + T) / p : this.ratioToMax(u), Y = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left + this.slot.bar * s + this.slot.bar * b * o - this.barSlot / 2 - s * this.barPeriodGap;
|
|
345
345
|
return {
|
|
346
346
|
yOffset: this.checkNaN(_),
|
|
347
347
|
individualHeight: this.checkNaN(L),
|
|
348
348
|
x: this.checkNaN(Y),
|
|
349
|
-
y: this.drawingArea.bottom - _ - L *
|
|
350
|
-
value: i.absoluteValues[
|
|
351
|
-
zeroPosition: this.checkNaN(
|
|
349
|
+
y: this.drawingArea.bottom - _ - L * W,
|
|
350
|
+
value: i.absoluteValues[b],
|
|
351
|
+
zeroPosition: this.checkNaN(z),
|
|
352
352
|
individualMax: this.checkNaN(p),
|
|
353
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
353
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
354
354
|
};
|
|
355
|
-
}), d = i.absoluteValues.map((u) =>
|
|
356
|
-
const
|
|
355
|
+
}), d = i.absoluteValues.map((u) => F.min >= 0 ? (u - Math.abs(F.min)) / (F.max - Math.abs(F.min)) : (u + Math.abs(F.min)) / (F.max + Math.abs(F.min))), B = i.series.map((u, b) => {
|
|
356
|
+
const W = this.mutableConfig.useIndividualScale && this.mutableConfig.isStacked ? this.drawingArea.left + this.drawingArea.width / this.maxSeries * b : this.drawingArea.left - this.slot.bar / 2 + this.slot.bar * s + this.slot.bar * b * this.absoluteDataset.filter((Y) => Y.type === "bar").filter((Y) => !this.segregatedSeries.includes(Y.id)).length;
|
|
357
357
|
return {
|
|
358
358
|
yOffset: this.checkNaN(_),
|
|
359
359
|
individualHeight: this.checkNaN(L),
|
|
360
|
-
x: this.checkNaN(
|
|
361
|
-
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * d[
|
|
362
|
-
value: i.absoluteValues[
|
|
363
|
-
zeroPosition: this.checkNaN(
|
|
360
|
+
x: this.checkNaN(W),
|
|
361
|
+
y: this.checkNaN(this.drawingArea.bottom - this.checkNaN(_) - (this.checkNaN(L) * d[b] || 0)),
|
|
362
|
+
value: i.absoluteValues[b],
|
|
363
|
+
zeroPosition: this.checkNaN(z),
|
|
364
364
|
individualMax: this.checkNaN(p),
|
|
365
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
365
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
366
366
|
};
|
|
367
|
-
}), A =
|
|
368
|
-
y: u >= 0 ?
|
|
367
|
+
}), A = N.ticks.map((u) => ({
|
|
368
|
+
y: u >= 0 ? z - L * (u / p) : z + L * Math.abs(u) / p,
|
|
369
369
|
value: u,
|
|
370
370
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
371
371
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
372
372
|
datapoint: i
|
|
373
|
-
})), G =
|
|
374
|
-
const
|
|
373
|
+
})), G = F.ticks.map((u) => {
|
|
374
|
+
const b = (u - F.min) / (F.max - F.min);
|
|
375
375
|
return {
|
|
376
|
-
y: u >= 0 ? a - L *
|
|
376
|
+
y: u >= 0 ? a - L * b : a + L * b,
|
|
377
377
|
value: u,
|
|
378
378
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
379
379
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -386,9 +386,9 @@ const Xe = J(), qe = {
|
|
|
386
386
|
autoScaleYLabels: G,
|
|
387
387
|
individualHeight: L,
|
|
388
388
|
scaleYLabels: i.autoScaling ? G : A,
|
|
389
|
-
individualScale: i.autoScaling ?
|
|
389
|
+
individualScale: i.autoScaling ? F : N,
|
|
390
390
|
individualMax: i.autoScaling ? w : p,
|
|
391
|
-
zeroPosition: i.autoScaling ? a :
|
|
391
|
+
zeroPosition: i.autoScaling ? a : z,
|
|
392
392
|
plots: i.autoScaling ? B : n
|
|
393
393
|
};
|
|
394
394
|
});
|
|
@@ -409,34 +409,34 @@ const Xe = J(), qe = {
|
|
|
409
409
|
}, e = {
|
|
410
410
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
411
411
|
min: i.scaleMin || (Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues))
|
|
412
|
-
}, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x),
|
|
413
|
-
const
|
|
412
|
+
}, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * y : t.valueMax, x), F = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + Math.abs(F), p = N.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * F / v, z = this.drawingArea.bottom - w - _ * T / p, a = i.series.map((u, b) => {
|
|
413
|
+
const W = this.mutableConfig.useIndividualScale ? (i.absoluteValues[b] + Math.abs(F)) / v : this.ratioToMax(u);
|
|
414
414
|
return {
|
|
415
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
416
|
-
y: this.checkNaN(this.drawingArea.bottom - w - _ *
|
|
417
|
-
value: i.absoluteValues[
|
|
418
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
415
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
416
|
+
y: this.checkNaN(this.drawingArea.bottom - w - _ * W),
|
|
417
|
+
value: i.absoluteValues[b],
|
|
418
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
419
419
|
};
|
|
420
|
-
}), o = i.absoluteValues.map((u) =>
|
|
421
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
420
|
+
}), o = i.absoluteValues.map((u) => N.min >= 0 ? (u - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (u + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = i.series.map((u, b) => [void 0, null].includes(i.absoluteValues[b]) ? {
|
|
421
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
422
422
|
y: L,
|
|
423
|
-
value: i.absoluteValues[
|
|
424
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
423
|
+
value: i.absoluteValues[b],
|
|
424
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
425
425
|
} : {
|
|
426
|
-
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line *
|
|
427
|
-
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[
|
|
428
|
-
value: i.absoluteValues[
|
|
429
|
-
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[
|
|
426
|
+
x: this.checkNaN(this.drawingArea.left + this.slot.line / 2 + this.slot.line * b),
|
|
427
|
+
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[b] || 0)),
|
|
428
|
+
value: i.absoluteValues[b],
|
|
429
|
+
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[b] || ""
|
|
430
430
|
}), d = this.createSmoothPath(a), B = this.createSmoothPath(n), A = k.ticks.map((u) => ({
|
|
431
431
|
y: u >= 0 ? L - _ * (u / v) : L + _ * Math.abs(u) / v,
|
|
432
432
|
value: u,
|
|
433
433
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
434
434
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
435
435
|
datapoint: i
|
|
436
|
-
})), G =
|
|
437
|
-
const
|
|
436
|
+
})), G = N.ticks.map((u) => {
|
|
437
|
+
const b = (u - N.min) / (N.max - N.min);
|
|
438
438
|
return {
|
|
439
|
-
y: u >= 0 ?
|
|
439
|
+
y: u >= 0 ? z - _ * b : z + _ * b,
|
|
440
440
|
value: u,
|
|
441
441
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
442
442
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -449,12 +449,12 @@ const Xe = J(), qe = {
|
|
|
449
449
|
autoScaleYLabels: G,
|
|
450
450
|
individualHeight: _,
|
|
451
451
|
scaleYLabels: i.autoScaling ? G : A,
|
|
452
|
-
individualScale: i.autoScaling ?
|
|
452
|
+
individualScale: i.autoScaling ? N : k,
|
|
453
453
|
individualMax: i.autoScaling ? p : v,
|
|
454
|
-
zeroPosition: i.autoScaling ?
|
|
454
|
+
zeroPosition: i.autoScaling ? z : L,
|
|
455
455
|
curve: i.autoScaling ? B : d,
|
|
456
456
|
plots: i.autoScaling ? n : a,
|
|
457
|
-
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? n : a, i.autoScaling ?
|
|
457
|
+
area: i.useArea ? this.mutableConfig.useIndividualScale ? this.createIndividualArea(i.autoScaling ? n : a, i.autoScaling ? z : L) : this.createArea(a) : ""
|
|
458
458
|
};
|
|
459
459
|
});
|
|
460
460
|
},
|
|
@@ -468,15 +468,15 @@ const Xe = J(), qe = {
|
|
|
468
468
|
}, e = {
|
|
469
469
|
max: i.scaleMax || Math.max(...i.absoluteValues) || 1,
|
|
470
470
|
min: i.scaleMin || Math.min(...i.absoluteValues) > 0 ? 0 : Math.min(...i.absoluteValues)
|
|
471
|
-
}, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x),
|
|
472
|
-
const u = this.mutableConfig.useIndividualScale ? (i.absoluteValues[G] + Math.abs(
|
|
471
|
+
}, x = i.scaleSteps || this.FINAL_CONFIG.chart.grid.labels.yAxis.commonScaleSteps, y = 1.0000001, k = this.calculateNiceScaleWithExactExtremes(e.min, e.max === e.min ? e.max * y : e.max, x), N = this.calculateNiceScaleWithExactExtremes(t.valueMin, t.valueMax === t.valueMin ? t.valueMax * y : t.valueMax, x), F = k.min >= 0 ? 0 : Math.abs(k.min), T = 0, v = k.max + F, p = N.max + Math.abs(T), w = this.mutableConfig.isStacked ? this.drawingArea.height * (1 - i.cumulatedStackRatio) : 0, _ = this.mutableConfig.isStacked ? this.drawingArea.height * i.stackRatio - this.FINAL_CONFIG.chart.grid.labels.yAxis.gap : this.drawingArea.height, L = this.drawingArea.bottom - w - _ * F / v, z = this.drawingArea.bottom - w - _ * T / p, a = i.series.map((A, G) => {
|
|
472
|
+
const u = this.mutableConfig.useIndividualScale ? (i.absoluteValues[G] + Math.abs(F)) / v : this.ratioToMax(A);
|
|
473
473
|
return {
|
|
474
474
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
475
475
|
y: this.checkNaN(this.drawingArea.bottom - w - _ * u),
|
|
476
476
|
value: i.absoluteValues[G],
|
|
477
477
|
comment: i.comments && i.comments.slice(this.slicer.start, this.slicer.end)[G] || ""
|
|
478
478
|
};
|
|
479
|
-
}), o = i.absoluteValues.map((A) =>
|
|
479
|
+
}), o = i.absoluteValues.map((A) => N.min >= 0 ? (A - Math.abs(N.min)) / (N.max - Math.abs(N.min)) : (A + Math.abs(N.min)) / (N.max + Math.abs(N.min))), n = i.series.map((A, G) => ({
|
|
480
480
|
x: this.checkNaN(this.drawingArea.left + this.slot.plot / 2 + this.slot.plot * G),
|
|
481
481
|
y: this.checkNaN(this.drawingArea.bottom - w - (_ * o[G] || 0)),
|
|
482
482
|
value: i.absoluteValues[G],
|
|
@@ -487,10 +487,10 @@ const Xe = J(), qe = {
|
|
|
487
487
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
488
488
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
489
489
|
datapoint: i
|
|
490
|
-
})), B =
|
|
491
|
-
const G = (A -
|
|
490
|
+
})), B = N.ticks.map((A) => {
|
|
491
|
+
const G = (A - N.min) / (N.max - N.min);
|
|
492
492
|
return {
|
|
493
|
-
y: A >= 0 ?
|
|
493
|
+
y: A >= 0 ? z - _ * G : z + _ * G,
|
|
494
494
|
value: A,
|
|
495
495
|
prefix: i.prefix || this.FINAL_CONFIG.chart.labels.prefix,
|
|
496
496
|
suffix: i.suffix || this.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -503,9 +503,9 @@ const Xe = J(), qe = {
|
|
|
503
503
|
autoScaleYLabels: B,
|
|
504
504
|
individualHeight: _,
|
|
505
505
|
scaleYLabels: i.autoScaling ? B : d,
|
|
506
|
-
individualScale: i.autoScaling ?
|
|
506
|
+
individualScale: i.autoScaling ? N : k,
|
|
507
507
|
individualMax: i.autoScaling ? p : v,
|
|
508
|
-
zeroPosition: i.autoScaling ?
|
|
508
|
+
zeroPosition: i.autoScaling ? z : L,
|
|
509
509
|
plots: i.autoScaling ? n : a
|
|
510
510
|
};
|
|
511
511
|
});
|
|
@@ -728,7 +728,7 @@ const Xe = J(), qe = {
|
|
|
728
728
|
}
|
|
729
729
|
},
|
|
730
730
|
mounted() {
|
|
731
|
-
this.prepareChart(), document.addEventListener("mousemove", (i) => {
|
|
731
|
+
this.prepareChart(), this.setupSlicer(), document.addEventListener("mousemove", (i) => {
|
|
732
732
|
this.clientPosition = {
|
|
733
733
|
x: i.clientX,
|
|
734
734
|
y: i.clientY
|
|
@@ -745,19 +745,19 @@ const Xe = J(), qe = {
|
|
|
745
745
|
checkNaN: se,
|
|
746
746
|
closestDecimal: ne,
|
|
747
747
|
convertColorToHex: oe,
|
|
748
|
-
convertConfigColors:
|
|
749
|
-
convertCustomPalette:
|
|
748
|
+
convertConfigColors: he,
|
|
749
|
+
convertCustomPalette: ce,
|
|
750
750
|
createCsvContent: de,
|
|
751
751
|
createSmoothPath: ue,
|
|
752
752
|
createTSpans: ge,
|
|
753
753
|
dataLabel: U,
|
|
754
754
|
downloadCsv: fe,
|
|
755
|
-
error:
|
|
756
|
-
functionReturnsString:
|
|
757
|
-
hasDeepProperty:
|
|
755
|
+
error: Ie,
|
|
756
|
+
functionReturnsString: Ne,
|
|
757
|
+
hasDeepProperty: me,
|
|
758
758
|
isFunction: xe,
|
|
759
|
-
isSafeValue:
|
|
760
|
-
largestTriangleThreeBucketsArray:
|
|
759
|
+
isSafeValue: Fe,
|
|
760
|
+
largestTriangleThreeBucketsArray: be,
|
|
761
761
|
objectIsEmpty: _e,
|
|
762
762
|
setOpacity: ye,
|
|
763
763
|
shiftHue: Ae,
|
|
@@ -783,7 +783,7 @@ const Xe = J(), qe = {
|
|
|
783
783
|
userConfig: this.config,
|
|
784
784
|
defaultConfig: i
|
|
785
785
|
});
|
|
786
|
-
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, s.theme ? {
|
|
786
|
+
return this.config && this.hasDeepProperty(this.config, "chart.highlightArea") && (Array.isArray(this.config.chart.highlightArea) ? s.chart.highlightArea = this.config.chart.highlightArea : s.chart.highlightArea = [this.config.chart.highlightArea]), this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMin") ? s.chart.grid.labels.yAxis.scaleMin = this.config.chart.grid.labels.yAxis.scaleMin : s.chart.grid.labels.yAxis.scaleMin = null, this.config && this.hasDeepProperty(this.config, "chart.grid.labels.yAxis.scaleMax") ? s.chart.grid.labels.yAxis.scaleMax = this.config.chart.grid.labels.yAxis.scaleMax : s.chart.grid.labels.yAxis.scaleMax = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.startIndex") ? s.chart.zoom.startIndex = this.config.chart.zoom.startIndex : s.chart.zoom.startIndex = null, this.config && this.hasDeepProperty(this.config, "chart.zoom.endIndex") ? s.chart.zoom.endIndex = this.config.chart.zoom.endIndex : s.chart.zoom.endIndex = null, s.theme ? {
|
|
787
787
|
...Z({
|
|
788
788
|
userConfig: this.themes.vue_ui_xy[s.theme] || this.config,
|
|
789
789
|
defaultConfig: s
|
|
@@ -822,14 +822,14 @@ const Xe = J(), qe = {
|
|
|
822
822
|
this.FINAL_CONFIG.chart.title.show && (t = this.$refs.chartTitle, e = t.getBoundingClientRect().height);
|
|
823
823
|
let x = null, y = 0;
|
|
824
824
|
this.FINAL_CONFIG.chart.zoom.show && this.maxX > 6 && this.isDataset && (x = this.$refs.chartSlicer.$el, y = x.getBoundingClientRect().height);
|
|
825
|
-
let k = null,
|
|
826
|
-
this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend,
|
|
827
|
-
let
|
|
828
|
-
this.$refs.source && (
|
|
825
|
+
let k = null, N = 0;
|
|
826
|
+
this.FINAL_CONFIG.chart.legend.show && (k = this.$refs.chartLegend, N = k.getBoundingClientRect().height);
|
|
827
|
+
let F = 0;
|
|
828
|
+
this.$refs.source && (F = this.$refs.source.getBoundingClientRect().height);
|
|
829
829
|
let T = 0;
|
|
830
|
-
this.$refs.noTitle && (T = this.$refs.noTitle.getBoundingClientRect().height), this.height = h - e -
|
|
830
|
+
this.$refs.noTitle && (T = this.$refs.noTitle.getBoundingClientRect().height), this.height = h - e - N - y - F - T, this.width = f, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes(), new ResizeObserver((p) => {
|
|
831
831
|
for (const w of p)
|
|
832
|
-
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (
|
|
832
|
+
this.$refs.chartTitle && (e = this.$refs.chartTitle.getBoundingClientRect().height), this.$refs.chartSlicer && this.$refs.chartSlicer.$el && (y = this.$refs.chartSlicer.$el.getBoundingClientRect().height), this.$refs.chartLegend && (N = this.$refs.chartLegend.getBoundingClientRect().height), this.$refs.source && (F = this.$refs.source.getBoundingClientRect().height), this.height = w.contentBoxSize[0].blockSize - e - N - y - F - 24, this.width = w.contentBoxSize[0].inlineSize, this.viewBox = `0 0 ${this.width < 0 ? 10 : this.width} ${this.height < 0 ? 10 : this.height}`, this.convertSizes();
|
|
833
833
|
}).observe(s);
|
|
834
834
|
} else
|
|
835
835
|
this.height = this.FINAL_CONFIG.chart.height, this.width = this.FINAL_CONFIG.chart.width, this.viewBox = `0 0 ${this.width} ${this.height}`, this.fontSizes.dataLabels = this.FINAL_CONFIG.chart.grid.labels.fontSize, this.fontSizes.yAxis = this.FINAL_CONFIG.chart.grid.labels.axis.fontSize, this.fontSizes.xAxis = this.FINAL_CONFIG.chart.grid.labels.xAxisLabels.fontSize, this.fontSizes.plotLabels = this.FINAL_CONFIG.chart.labels.fontSize, this.plotRadii.plot = this.FINAL_CONFIG.plot.radius, this.plotRadii.line = this.FINAL_CONFIG.line.radius;
|
|
@@ -913,11 +913,18 @@ const Xe = J(), qe = {
|
|
|
913
913
|
h[f] = s[f];
|
|
914
914
|
return h;
|
|
915
915
|
},
|
|
916
|
-
|
|
917
|
-
this.slicer = {
|
|
916
|
+
async setupSlicer() {
|
|
917
|
+
(this.FINAL_CONFIG.chart.zoom.startIndex !== null || this.FINAL_CONFIG.chart.zoom.endIndex !== null) && this.$refs.chartSlicer ? (this.FINAL_CONFIG.chart.zoom.startIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setStartValue(this.FINAL_CONFIG.chart.zoom.startIndex)), this.FINAL_CONFIG.chart.zoom.endIndex !== null && (await this.$nextTick(), await this.$nextTick(), this.$refs.chartSlicer.setEndValue(this.validSlicerEnd(this.FINAL_CONFIG.chart.zoom.endIndex + 1)))) : (this.slicer = {
|
|
918
918
|
start: 0,
|
|
919
919
|
end: Math.max(...this.dataset.map((i) => this.largestTriangleThreeBucketsArray({ data: i.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length))
|
|
920
|
-
}, this.slicerStep += 1;
|
|
920
|
+
}, this.slicerStep += 1);
|
|
921
|
+
},
|
|
922
|
+
refreshSlicer() {
|
|
923
|
+
this.setupSlicer();
|
|
924
|
+
},
|
|
925
|
+
validSlicerEnd(i) {
|
|
926
|
+
const s = Math.max(...this.dataset.map((h) => this.largestTriangleThreeBucketsArray({ data: h.series, threshold: this.FINAL_CONFIG.downsample.threshold }).length));
|
|
927
|
+
return i > s ? s : i < 0 || this.FINAL_CONFIG.chart.zoom.startIndex !== null && i < this.FINAL_CONFIG.chart.zoom.startIndex ? this.FINAL_CONFIG.chart.zoom.startIndex !== null ? this.FINAL_CONFIG.chart.zoom.startIndex + 1 : 1 : i;
|
|
921
928
|
},
|
|
922
929
|
calcRectHeight(i) {
|
|
923
930
|
return i.value >= 0 ? this.checkNaN(this.zero - i.y <= 0 ? 1e-5 : this.zero - i.y) : this.checkNaN(i.y - this.zero <= 0 ? 1e-5 : i.y - this.zero);
|
|
@@ -1041,7 +1048,7 @@ const Xe = J(), qe = {
|
|
|
1041
1048
|
ref: "noTitle",
|
|
1042
1049
|
class: "vue-data-ui-no-title-space",
|
|
1043
1050
|
style: "height:36px; width: 100%; background:transparent"
|
|
1044
|
-
}, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"],
|
|
1051
|
+
}, Je = ["viewBox"], Ke = { key: 0 }, Qe = { class: "vue-ui-xy-grid" }, je = ["stroke", "x1", "x2", "y1", "y2"], $e = ["stroke", "x1", "x2", "y1", "y2"], et = { key: 1 }, tt = ["x1", "x2", "y1", "y2", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke"], at = ["x1", "x2", "y1", "y2", "stroke"], rt = { key: 3 }, lt = ["x1", "x2", "y1", "y2", "stroke"], st = ["id"], nt = ["stop-color"], ot = ["stop-color"], ht = ["stop-color"], ct = ["id"], dt = ["stop-color"], ut = ["stop-color"], gt = ["stop-color"], ft = ["id"], It = ["stop-color"], Nt = ["stop-color"], mt = ["id"], xt = ["stop-color"], Ft = ["stop-color"], bt = ["id"], _t = ["stop-color"], yt = ["stop-color"], At = ["x", "y", "height", "width", "fill"], Ct = ["x", "y", "width"], Lt = ["x", "y", "height", "width", "fill"], St = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], kt = ["width", "x", "y"], wt = { key: 0 }, Ot = ["id"], Gt = ["fill"], vt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], pt = ["x", "y", "font-size", "fill"], zt = ["stroke", "x1", "x2", "y1", "y2"], Mt = { key: 2 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Pt = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Vt = { key: 4 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = ["fill", "font-size", "transform"], Bt = ["x1", "x2", "y1", "y2", "stroke"], Et = ["x", "y", "font-size", "fill"], Ht = ["x1", "x2", "y1", "y2", "stroke"], Wt = ["x", "y", "font-size", "fill"], Yt = ["width", "x", "y"], Xt = { style: { width: "100%" } }, qt = { key: 0 }, Ut = ["id"], Zt = ["fill"], Jt = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Kt = ["x", "y", "font-size", "fill"], Qt = ["d", "stroke", "stroke-width", "stroke-dasharray"], jt = { key: 1 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ei = { key: 0 }, ti = ["d", "fill"], ii = ["d", "fill"], ai = ["d", "stroke", "stroke-width", "stroke-dasharray"], ri = { key: 2 }, li = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["width", "x", "y"], ni = { style: { width: "100%" } }, oi = { key: 3 }, hi = ["id"], ci = ["fill"], di = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ui = ["x", "y", "font-size", "fill"], gi = { key: 5 }, fi = ["x", "y", "font-size", "fill"], Ii = ["x", "y", "font-size", "fill", "font-weight"], Ni = { key: 6 }, mi = ["x", "y", "font-size", "fill"], xi = ["x", "y"], Fi = ["x", "y"], bi = { key: 7 }, _i = ["x", "y", "font-size", "fill"], yi = ["x", "y"], Ai = ["x", "y"], Ci = ["x", "y", "font-size", "fill", "innerHTML"], Li = ["x", "y", "font-size", "fill", "innerHTML"], Si = ["x", "y", "font-size", "fill", "innerHTML"], ki = ["x", "y", "font-size", "fill", "innerHTML"], wi = ["x", "y", "width", "height", "fill", "onMouseenter"], Oi = ["font-size", "fill", "transform"], Gi = ["x", "y", "font-size", "fill"], vi = { key: 9 }, pi = ["text-anchor", "font-size", "fill", "transform"], zi = ["x", "y", "height", "width", "onMouseenter", "onClick"], Mi = { key: 10 }, Ti = ["x", "y"], Pi = ["cx", "cy", "r", "fill"], Vi = {
|
|
1045
1052
|
key: 5,
|
|
1046
1053
|
class: "vue-data-ui-watermark"
|
|
1047
1054
|
}, Ri = ["onClick"], Di = {
|
|
@@ -1049,12 +1056,12 @@ const Xe = J(), qe = {
|
|
|
1049
1056
|
viewBox: "0 0 20 12",
|
|
1050
1057
|
height: "14",
|
|
1051
1058
|
width: "20"
|
|
1052
|
-
}, Bi = ["fill"],
|
|
1059
|
+
}, Bi = ["fill"], Ei = {
|
|
1053
1060
|
key: 1,
|
|
1054
1061
|
viewBox: "0 0 12 12",
|
|
1055
1062
|
height: "14",
|
|
1056
1063
|
width: "14"
|
|
1057
|
-
},
|
|
1064
|
+
}, Hi = ["fill"], Wi = {
|
|
1058
1065
|
key: 9,
|
|
1059
1066
|
ref: "chartLegend"
|
|
1060
1067
|
}, Yi = {
|
|
@@ -1066,7 +1073,7 @@ const Xe = J(), qe = {
|
|
|
1066
1073
|
"data-html2canvas-ignore": ""
|
|
1067
1074
|
}, qi = ["innerHTML"];
|
|
1068
1075
|
function Ui(i, s, h, f, t, e) {
|
|
1069
|
-
const x = P("PenAndPaper"), y = P("Title"), k = P("UserOptions"),
|
|
1076
|
+
const x = P("PenAndPaper"), y = P("Title"), k = P("UserOptions"), N = P("PackageVersion"), F = P("Shape"), T = P("Skeleton"), v = P("Slicer"), p = P("Tooltip"), w = P("BaseIcon"), _ = P("TableSparkline"), L = P("DataTable"), z = P("Accordion");
|
|
1070
1077
|
return r(), l("div", {
|
|
1071
1078
|
id: `vue-ui-xy_${t.uniqueId}`,
|
|
1072
1079
|
class: V(`vue-ui-xy ${t.isFullscreen ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.FINAL_CONFIG.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
@@ -1138,64 +1145,64 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1138
1145
|
}, Be({ _: 2 }, [
|
|
1139
1146
|
i.$slots.optionTooltip ? {
|
|
1140
1147
|
name: "optionTooltip",
|
|
1141
|
-
fn:
|
|
1148
|
+
fn: M(() => [
|
|
1142
1149
|
O(i.$slots, "optionTooltip", {}, void 0, !0)
|
|
1143
1150
|
]),
|
|
1144
1151
|
key: "0"
|
|
1145
1152
|
} : void 0,
|
|
1146
1153
|
i.$slots.optionPdf ? {
|
|
1147
1154
|
name: "optionPdf",
|
|
1148
|
-
fn:
|
|
1155
|
+
fn: M(() => [
|
|
1149
1156
|
O(i.$slots, "optionPdf", {}, void 0, !0)
|
|
1150
1157
|
]),
|
|
1151
1158
|
key: "1"
|
|
1152
1159
|
} : void 0,
|
|
1153
1160
|
i.$slots.optionCsv ? {
|
|
1154
1161
|
name: "optionCsv",
|
|
1155
|
-
fn:
|
|
1162
|
+
fn: M(() => [
|
|
1156
1163
|
O(i.$slots, "optionCsv", {}, void 0, !0)
|
|
1157
1164
|
]),
|
|
1158
1165
|
key: "2"
|
|
1159
1166
|
} : void 0,
|
|
1160
1167
|
i.$slots.optionImg ? {
|
|
1161
1168
|
name: "optionImg",
|
|
1162
|
-
fn:
|
|
1169
|
+
fn: M(() => [
|
|
1163
1170
|
O(i.$slots, "optionImg", {}, void 0, !0)
|
|
1164
1171
|
]),
|
|
1165
1172
|
key: "3"
|
|
1166
1173
|
} : void 0,
|
|
1167
1174
|
i.$slots.optionTable ? {
|
|
1168
1175
|
name: "optionTable",
|
|
1169
|
-
fn:
|
|
1176
|
+
fn: M(() => [
|
|
1170
1177
|
O(i.$slots, "optionTable", {}, void 0, !0)
|
|
1171
1178
|
]),
|
|
1172
1179
|
key: "4"
|
|
1173
1180
|
} : void 0,
|
|
1174
1181
|
i.$slots.optionLabels ? {
|
|
1175
1182
|
name: "optionLabels",
|
|
1176
|
-
fn:
|
|
1183
|
+
fn: M(() => [
|
|
1177
1184
|
O(i.$slots, "optionLabels", {}, void 0, !0)
|
|
1178
1185
|
]),
|
|
1179
1186
|
key: "5"
|
|
1180
1187
|
} : void 0,
|
|
1181
1188
|
i.$slots.optionStack ? {
|
|
1182
1189
|
name: "optionStack",
|
|
1183
|
-
fn:
|
|
1190
|
+
fn: M(() => [
|
|
1184
1191
|
O(i.$slots, "optionStack", {}, void 0, !0)
|
|
1185
1192
|
]),
|
|
1186
1193
|
key: "6"
|
|
1187
1194
|
} : void 0,
|
|
1188
1195
|
i.$slots.optionFullscreen ? {
|
|
1189
1196
|
name: "optionFullscreen",
|
|
1190
|
-
fn:
|
|
1191
|
-
O(i.$slots, "optionFullscreen", H(
|
|
1197
|
+
fn: M(({ toggleFullscreen: a, isFullscreen: o }) => [
|
|
1198
|
+
O(i.$slots, "optionFullscreen", E(H({ toggleFullscreen: a, isFullscreen: o })), void 0, !0)
|
|
1192
1199
|
]),
|
|
1193
1200
|
key: "7"
|
|
1194
1201
|
} : void 0,
|
|
1195
1202
|
i.$slots.optionAnnotator ? {
|
|
1196
1203
|
name: "optionAnnotator",
|
|
1197
|
-
fn:
|
|
1198
|
-
O(i.$slots, "optionAnnotator", H(
|
|
1204
|
+
fn: M(({ toggleAnnotator: a, isAnnotator: o }) => [
|
|
1205
|
+
O(i.$slots, "optionAnnotator", E(H({ toggleAnnotator: a, isAnnotator: o })), void 0, !0)
|
|
1199
1206
|
]),
|
|
1200
1207
|
key: "8"
|
|
1201
1208
|
} : void 0
|
|
@@ -1208,7 +1215,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1208
1215
|
viewBox: t.viewBox,
|
|
1209
1216
|
style: C(`background: transparent; color:${e.FINAL_CONFIG.chart.color}; font-family:${e.FINAL_CONFIG.chart.fontFamily}`)
|
|
1210
1217
|
}, [
|
|
1211
|
-
X(
|
|
1218
|
+
X(N),
|
|
1212
1219
|
e.maxSeries > 0 ? (r(), l("g", Ke, [
|
|
1213
1220
|
g("g", Qe, [
|
|
1214
1221
|
e.FINAL_CONFIG.chart.grid.labels.xAxis.showBaseline ? (r(), l("line", {
|
|
@@ -1221,8 +1228,8 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1221
1228
|
y2: e.drawingArea.bottom,
|
|
1222
1229
|
"stroke-linecap": "round"
|
|
1223
1230
|
}, null, 8, je)) : c("", !0),
|
|
1224
|
-
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(
|
|
1225
|
-
a.id === t.selectedScale && a.yLabels.length ? (r(!0), l(
|
|
1231
|
+
t.mutableConfig.useIndividualScale ? e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(!0), l(I, { key: 2 }, m(e.allScales, (a) => (r(), l("g", null, [
|
|
1232
|
+
a.id === t.selectedScale && a.yLabels.length ? (r(!0), l(I, { key: 0 }, m(a.yLabels, (o) => (r(), l("line", {
|
|
1226
1233
|
x1: e.drawingArea.left + e.xPadding,
|
|
1227
1234
|
x2: e.drawingArea.right - e.xPadding,
|
|
1228
1235
|
y1: e.checkNaN(o.y),
|
|
@@ -1230,7 +1237,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1230
1237
|
stroke: a.color,
|
|
1231
1238
|
"stroke-width": 0.5,
|
|
1232
1239
|
"stroke-linecap": "round"
|
|
1233
|
-
}, null, 8, it))), 256)) : a.yLabels.length ? (r(!0), l(
|
|
1240
|
+
}, null, 8, it))), 256)) : a.yLabels.length ? (r(!0), l(I, { key: 1 }, m(a.yLabels, (o) => (r(), l("line", {
|
|
1234
1241
|
x1: e.drawingArea.left + e.xPadding,
|
|
1235
1242
|
x2: e.drawingArea.right - e.xPadding,
|
|
1236
1243
|
y1: e.checkNaN(o.y),
|
|
@@ -1239,7 +1246,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1239
1246
|
"stroke-width": 0.5,
|
|
1240
1247
|
"stroke-linecap": "round"
|
|
1241
1248
|
}, null, 8, at))), 256)) : c("", !0)
|
|
1242
|
-
]))), 256)) : c("", !0) : (r(), l(
|
|
1249
|
+
]))), 256)) : c("", !0) : (r(), l(I, { key: 1 }, [
|
|
1243
1250
|
e.FINAL_CONFIG.chart.grid.labels.yAxis.showBaseline ? (r(), l("line", {
|
|
1244
1251
|
key: 0,
|
|
1245
1252
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
@@ -1251,7 +1258,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1251
1258
|
"stroke-linecap": "round"
|
|
1252
1259
|
}, null, 8, $e)) : c("", !0),
|
|
1253
1260
|
e.FINAL_CONFIG.chart.grid.showHorizontalLines ? (r(), l("g", et, [
|
|
1254
|
-
(r(!0), l(
|
|
1261
|
+
(r(!0), l(I, null, m(e.yLabels, (a) => (r(), l("line", {
|
|
1255
1262
|
x1: e.drawingArea.left + e.xPadding,
|
|
1256
1263
|
x2: e.drawingArea.right - e.xPadding,
|
|
1257
1264
|
y1: e.checkNaN(a.y),
|
|
@@ -1263,7 +1270,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1263
1270
|
])) : c("", !0)
|
|
1264
1271
|
], 64)),
|
|
1265
1272
|
e.FINAL_CONFIG.chart.grid.showVerticalLines ? (r(), l("g", rt, [
|
|
1266
|
-
(r(!0), l(
|
|
1273
|
+
(r(!0), l(I, null, m(e.maxSeries + (e.FINAL_CONFIG.chart.grid.position === "middle" ? 1 : 0), (a, o) => (r(), l("line", {
|
|
1267
1274
|
key: `grid_vertical_line_${o}`,
|
|
1268
1275
|
x1: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
1269
1276
|
x2: e.drawingArea.width / e.maxSeries * o + e.drawingArea.left + e.xPadding,
|
|
@@ -1274,7 +1281,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1274
1281
|
}, null, 8, lt))), 128))
|
|
1275
1282
|
])) : c("", !0)
|
|
1276
1283
|
]),
|
|
1277
|
-
(r(!0), l(
|
|
1284
|
+
(r(!0), l(I, null, m(e.barSet, (a, o) => (r(), l("defs", {
|
|
1278
1285
|
key: `def_rect_${o}`
|
|
1279
1286
|
}, [
|
|
1280
1287
|
g("linearGradient", {
|
|
@@ -1293,7 +1300,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1293
1300
|
g("stop", {
|
|
1294
1301
|
offset: "100%",
|
|
1295
1302
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1296
|
-
}, null, 8,
|
|
1303
|
+
}, null, 8, ht)
|
|
1297
1304
|
], 8, st),
|
|
1298
1305
|
g("linearGradient", {
|
|
1299
1306
|
id: `rectGradient_neg_${o}_${t.uniqueId}`,
|
|
@@ -1312,9 +1319,9 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1312
1319
|
offset: "100%",
|
|
1313
1320
|
"stop-color": a.color
|
|
1314
1321
|
}, null, 8, gt)
|
|
1315
|
-
], 8,
|
|
1322
|
+
], 8, ct)
|
|
1316
1323
|
]))), 128)),
|
|
1317
|
-
(r(!0), l(
|
|
1324
|
+
(r(!0), l(I, null, m(e.plotSet, (a, o) => (r(), l("defs", {
|
|
1318
1325
|
key: `def_plot_${o}`
|
|
1319
1326
|
}, [
|
|
1320
1327
|
g("radialGradient", {
|
|
@@ -1328,14 +1335,14 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1328
1335
|
g("stop", {
|
|
1329
1336
|
offset: "0%",
|
|
1330
1337
|
"stop-color": `${e.shiftHue(a.color, 0.05)}`
|
|
1331
|
-
}, null, 8,
|
|
1338
|
+
}, null, 8, It),
|
|
1332
1339
|
g("stop", {
|
|
1333
1340
|
offset: "100%",
|
|
1334
1341
|
"stop-color": a.color
|
|
1335
|
-
}, null, 8,
|
|
1342
|
+
}, null, 8, Nt)
|
|
1336
1343
|
], 8, ft)
|
|
1337
1344
|
]))), 128)),
|
|
1338
|
-
(r(!0), l(
|
|
1345
|
+
(r(!0), l(I, null, m(e.lineSet, (a, o) => (r(), l("defs", {
|
|
1339
1346
|
key: `def_line_${o}`
|
|
1340
1347
|
}, [
|
|
1341
1348
|
g("radialGradient", {
|
|
@@ -1353,8 +1360,8 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1353
1360
|
g("stop", {
|
|
1354
1361
|
offset: "100%",
|
|
1355
1362
|
"stop-color": a.color
|
|
1356
|
-
}, null, 8,
|
|
1357
|
-
], 8,
|
|
1363
|
+
}, null, 8, Ft)
|
|
1364
|
+
], 8, mt),
|
|
1358
1365
|
g("linearGradient", {
|
|
1359
1366
|
id: `areaGradient_${o}_${t.uniqueId}`,
|
|
1360
1367
|
x1: "0%",
|
|
@@ -1370,10 +1377,10 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1370
1377
|
offset: "100%",
|
|
1371
1378
|
"stop-color": `${e.setOpacity(a.color, e.FINAL_CONFIG.line.area.opacity)}`
|
|
1372
1379
|
}, null, 8, yt)
|
|
1373
|
-
], 8,
|
|
1380
|
+
], 8, bt)
|
|
1374
1381
|
]))), 128)),
|
|
1375
|
-
(r(!0), l(
|
|
1376
|
-
a.show ? (r(!0), l(
|
|
1382
|
+
(r(!0), l(I, null, m(e.highlightAreas, (a) => (r(), l("g", null, [
|
|
1383
|
+
a.show ? (r(!0), l(I, { key: 0 }, m(a.span, (o, n) => (r(), l("g", null, [
|
|
1377
1384
|
g("rect", {
|
|
1378
1385
|
style: C({
|
|
1379
1386
|
transition: "none",
|
|
@@ -1403,7 +1410,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1403
1410
|
]))), 256)) : c("", !0)
|
|
1404
1411
|
]))), 256)),
|
|
1405
1412
|
g("g", null, [
|
|
1406
|
-
(r(!0), l(
|
|
1413
|
+
(r(!0), l(I, null, m(e.maxSeries, (a, o) => (r(), l("g", {
|
|
1407
1414
|
key: `tooltip_trap_highlighter_${o}`
|
|
1408
1415
|
}, [
|
|
1409
1416
|
g("rect", {
|
|
@@ -1415,12 +1422,12 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1415
1422
|
}, null, 8, Lt)
|
|
1416
1423
|
]))), 128))
|
|
1417
1424
|
]),
|
|
1418
|
-
e.barSet.length ? (r(!0), l(
|
|
1425
|
+
e.barSet.length ? (r(!0), l(I, { key: 0 }, m(e.barSet, (a, o) => (r(), l("g", {
|
|
1419
1426
|
key: `serie_bar_${o}`,
|
|
1420
1427
|
class: V(`serie_bar_${o}`),
|
|
1421
1428
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1422
1429
|
}, [
|
|
1423
|
-
(r(!0), l(
|
|
1430
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1424
1431
|
key: `bar_plot_${o}_${d}`
|
|
1425
1432
|
}, [
|
|
1426
1433
|
e.canShowValue(n.value) ? (r(), l("rect", {
|
|
@@ -1497,8 +1504,8 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1497
1504
|
y1: e.checkNaN(e.zero),
|
|
1498
1505
|
y2: e.checkNaN(e.zero),
|
|
1499
1506
|
"stroke-linecap": "round"
|
|
1500
|
-
}, null, 8,
|
|
1501
|
-
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g",
|
|
1507
|
+
}, null, 8, zt)) : c("", !0),
|
|
1508
|
+
e.FINAL_CONFIG.chart.highlighter.useLine && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g", Mt, [
|
|
1502
1509
|
g("line", {
|
|
1503
1510
|
x1: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
1504
1511
|
x2: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) + e.drawingArea.width / e.maxSeries / 2,
|
|
@@ -1526,8 +1533,8 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1526
1533
|
"stroke-dasharray": e.FINAL_CONFIG.chart.grid.frame.strokeDasharray
|
|
1527
1534
|
}, null, 8, Pt)) : c("", !0),
|
|
1528
1535
|
e.FINAL_CONFIG.chart.grid.labels.show ? (r(), l("g", Vt, [
|
|
1529
|
-
t.mutableConfig.useIndividualScale ? (r(), l(
|
|
1530
|
-
(r(!0), l(
|
|
1536
|
+
t.mutableConfig.useIndividualScale ? (r(), l(I, { key: 0 }, [
|
|
1537
|
+
(r(!0), l(I, null, m(e.allScales, (a) => (r(), l("g", null, [
|
|
1531
1538
|
g("line", {
|
|
1532
1539
|
x1: a.x + e.xPadding,
|
|
1533
1540
|
x2: a.x + e.xPadding,
|
|
@@ -1539,7 +1546,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1539
1546
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1540
1547
|
}, null, 12, Rt)
|
|
1541
1548
|
]))), 256)),
|
|
1542
|
-
(r(!0), l(
|
|
1549
|
+
(r(!0), l(I, null, m(e.allScales, (a) => (r(), l("g", {
|
|
1543
1550
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1544
1551
|
}, [
|
|
1545
1552
|
g("text", {
|
|
@@ -1548,7 +1555,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1548
1555
|
"text-anchor": "middle",
|
|
1549
1556
|
transform: `translate(${a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth + 5}, ${t.mutableConfig.isStacked ? e.drawingArea.bottom - a.yOffset - a.individualHeight / 2 : e.drawingArea.top + e.drawingArea.height / 2}) rotate(-90)`
|
|
1550
1557
|
}, S(a.name) + " " + S(a.scaleLabel ? `- ${a.scaleLabel}` : ""), 9, Dt),
|
|
1551
|
-
(r(!0), l(
|
|
1558
|
+
(r(!0), l(I, null, m(a.yLabels, (o, n) => (r(), l("line", {
|
|
1552
1559
|
x1: a.x - 3 + e.xPadding,
|
|
1553
1560
|
x2: a.x + e.xPadding,
|
|
1554
1561
|
y1: e.checkNaN(o.y),
|
|
@@ -1557,7 +1564,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1557
1564
|
"stroke-width": 1,
|
|
1558
1565
|
"stroke-linecap": "round"
|
|
1559
1566
|
}, null, 8, Bt))), 256)),
|
|
1560
|
-
(r(!0), l(
|
|
1567
|
+
(r(!0), l(I, null, m(a.yLabels, (o, n) => (r(), l("text", {
|
|
1561
1568
|
x: a.x - 5 + e.xPadding,
|
|
1562
1569
|
y: e.checkNaN(o.y) + t.fontSizes.dataLabels / 3,
|
|
1563
1570
|
"font-size": t.fontSizes.dataLabels,
|
|
@@ -1573,9 +1580,9 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1573
1580
|
r: 1
|
|
1574
1581
|
}),
|
|
1575
1582
|
{ datapoint: o.datapoint, seriesIndex: n }
|
|
1576
|
-
)), 9,
|
|
1583
|
+
)), 9, Et))), 256))
|
|
1577
1584
|
], 4))), 256))
|
|
1578
|
-
], 64)) : (r(!0), l(
|
|
1585
|
+
], 64)) : (r(!0), l(I, { key: 1 }, m(e.yLabels, (a, o) => (r(), l("g", {
|
|
1579
1586
|
key: `yLabel_${o}`
|
|
1580
1587
|
}, [
|
|
1581
1588
|
e.canShowValue(a) && a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("line", {
|
|
@@ -1587,7 +1594,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1587
1594
|
stroke: e.FINAL_CONFIG.chart.grid.stroke,
|
|
1588
1595
|
"stroke-width": "1",
|
|
1589
1596
|
"stroke-linecap": "round"
|
|
1590
|
-
}, null, 8,
|
|
1597
|
+
}, null, 8, Ht)) : c("", !0),
|
|
1591
1598
|
a.value >= e.niceScale.min && a.value <= e.niceScale.max ? (r(), l("text", {
|
|
1592
1599
|
key: 1,
|
|
1593
1600
|
x: e.drawingArea.left - 7 + e.xPadding,
|
|
@@ -1604,18 +1611,18 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1604
1611
|
s: a.suffix,
|
|
1605
1612
|
r: 1
|
|
1606
1613
|
})
|
|
1607
|
-
) : ""), 9,
|
|
1614
|
+
) : ""), 9, Wt)) : c("", !0)
|
|
1608
1615
|
]))), 128))
|
|
1609
1616
|
])) : c("", !0),
|
|
1610
|
-
(r(!0), l(
|
|
1617
|
+
(r(!0), l(I, null, m(e.plotSet, (a, o) => (r(), l("g", {
|
|
1611
1618
|
key: `serie_plot_${o}`,
|
|
1612
1619
|
class: V(`serie_plot_${o}`),
|
|
1613
1620
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1614
1621
|
}, [
|
|
1615
|
-
(r(!0), l(
|
|
1622
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1616
1623
|
key: `circle_plot_${o}_${d}`
|
|
1617
1624
|
}, [
|
|
1618
|
-
n && e.canShowValue(n.value) ? (r(), D(
|
|
1625
|
+
n && e.canShowValue(n.value) ? (r(), D(F, {
|
|
1619
1626
|
key: 0,
|
|
1620
1627
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1621
1628
|
color: e.FINAL_CONFIG.plot.useGradient ? `url(#plotGradient_${o}_${t.uniqueId})` : e.FINAL_CONFIG.plot.dot.useSerieColor ? a.color : e.FINAL_CONFIG.plot.dot.fill,
|
|
@@ -1680,7 +1687,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1680
1687
|
})), 9, Kt)) : c("", !0)
|
|
1681
1688
|
])) : c("", !0)
|
|
1682
1689
|
], 6))), 128)),
|
|
1683
|
-
(r(!0), l(
|
|
1690
|
+
(r(!0), l(I, null, m(e.lineSet, (a, o) => (r(), l("g", {
|
|
1684
1691
|
key: `serie_line_${o}`,
|
|
1685
1692
|
class: V(`serie_line_${o}`),
|
|
1686
1693
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -1693,7 +1700,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1693
1700
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1694
1701
|
fill: "none"
|
|
1695
1702
|
}, null, 8, Qt)) : a.plots.length > 1 ? (r(), l("g", jt, [
|
|
1696
|
-
(r(!0), l(
|
|
1703
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1697
1704
|
key: `line_${o}_${d}`
|
|
1698
1705
|
}, [
|
|
1699
1706
|
n && d < a.plots.length - 1 && a.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[d + 1].value) ? (r(), l("line", {
|
|
@@ -1711,7 +1718,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1711
1718
|
]))), 128))
|
|
1712
1719
|
])) : c("", !0)
|
|
1713
1720
|
], 6))), 128)),
|
|
1714
|
-
(r(!0), l(
|
|
1721
|
+
(r(!0), l(I, null, m(e.lineSet, (a, o) => (r(), l("g", {
|
|
1715
1722
|
key: `serie_line_${o}`,
|
|
1716
1723
|
class: V(`serie_line_${o}`),
|
|
1717
1724
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
@@ -1735,7 +1742,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1735
1742
|
"stroke-dasharray": a.dashed ? e.FINAL_CONFIG.line.strokeWidth * 2 : 0,
|
|
1736
1743
|
fill: "none"
|
|
1737
1744
|
}, null, 8, ai)) : a.plots.length > 1 ? (r(), l("g", ri, [
|
|
1738
|
-
(r(!0), l(
|
|
1745
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1739
1746
|
key: `line_${o}_${d}`
|
|
1740
1747
|
}, [
|
|
1741
1748
|
n && d < a.plots.length - 1 && a.plots[d + 1] && e.canShowValue(n.value) && e.canShowValue(a.plots[d + 1].value) ? (r(), l("line", {
|
|
@@ -1752,10 +1759,10 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1752
1759
|
}, null, 8, li)) : c("", !0)
|
|
1753
1760
|
]))), 128))
|
|
1754
1761
|
])) : c("", !0),
|
|
1755
|
-
(r(!0), l(
|
|
1762
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1756
1763
|
key: `circle_line_${o}_${d}`
|
|
1757
1764
|
}, [
|
|
1758
|
-
n && e.canShowValue(n.value) ? (r(), D(
|
|
1765
|
+
n && e.canShowValue(n.value) ? (r(), D(F, {
|
|
1759
1766
|
key: 0,
|
|
1760
1767
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(a.shape) ? a.shape : "circle",
|
|
1761
1768
|
color: e.FINAL_CONFIG.line.useGradient ? `url(#lineGradient_${o}_${t.uniqueId})` : e.FINAL_CONFIG.line.dot.useSerieColor ? a.color : e.FINAL_CONFIG.line.dot.fill,
|
|
@@ -1792,8 +1799,8 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1792
1799
|
g("polygon", {
|
|
1793
1800
|
points: `0 0, 7 ${7 / 2}, 0 7`,
|
|
1794
1801
|
fill: a.color
|
|
1795
|
-
}, null, 8,
|
|
1796
|
-
], 8,
|
|
1802
|
+
}, null, 8, ci)
|
|
1803
|
+
], 8, hi)
|
|
1797
1804
|
]),
|
|
1798
1805
|
a.plots.length > 1 ? (r(), l("line", {
|
|
1799
1806
|
key: 0,
|
|
@@ -1821,12 +1828,12 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1821
1828
|
])) : c("", !0)
|
|
1822
1829
|
], 6))), 128)),
|
|
1823
1830
|
(e.FINAL_CONFIG.bar.labels.show || e.FINAL_CONFIG.bar.serieName.show) && t.mutableConfig.dataLabels.show ? (r(), l("g", gi, [
|
|
1824
|
-
(r(!0), l(
|
|
1831
|
+
(r(!0), l(I, null, m(e.barSet, (a, o) => (r(), l("g", {
|
|
1825
1832
|
key: `xLabel_bar_${o}`,
|
|
1826
1833
|
class: V(`xLabel_bar_${o}`),
|
|
1827
1834
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1828
1835
|
}, [
|
|
1829
|
-
(r(!0), l(
|
|
1836
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1830
1837
|
key: `xLabel_bar_${o}_${d}`
|
|
1831
1838
|
}, [
|
|
1832
1839
|
n && (!Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d) && e.FINAL_CONFIG.bar.labels.show ? (r(), l("text", {
|
|
@@ -1858,17 +1865,17 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1858
1865
|
"font-size": t.fontSizes.plotLabels,
|
|
1859
1866
|
fill: e.FINAL_CONFIG.bar.serieName.useSerieColor ? a.color : e.FINAL_CONFIG.bar.serieName.color,
|
|
1860
1867
|
"font-weight": e.FINAL_CONFIG.bar.serieName.bold ? "bold" : "normal"
|
|
1861
|
-
}, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9,
|
|
1868
|
+
}, S(e.FINAL_CONFIG.bar.serieName.useAbbreviation ? e.abbreviate({ source: a.name, length: e.FINAL_CONFIG.bar.serieName.abbreviationSize }) : a.name), 9, Ii)) : c("", !0)
|
|
1862
1869
|
]))), 128))
|
|
1863
1870
|
], 6))), 128))
|
|
1864
1871
|
])) : c("", !0),
|
|
1865
|
-
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1866
|
-
(r(!0), l(
|
|
1872
|
+
e.FINAL_CONFIG.plot.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g", Ni, [
|
|
1873
|
+
(r(!0), l(I, null, m(e.plotSet, (a, o) => (r(), l("g", {
|
|
1867
1874
|
key: `xLabel_plot_${o}`,
|
|
1868
1875
|
class: V(`xLabel_plot_${o}`),
|
|
1869
1876
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1870
1877
|
}, [
|
|
1871
|
-
(r(!0), l(
|
|
1878
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1872
1879
|
key: `xLabel_plot_${o}_${d}`
|
|
1873
1880
|
}, [
|
|
1874
1881
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (r(), l("text", {
|
|
@@ -1891,7 +1898,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1891
1898
|
datapoint: n,
|
|
1892
1899
|
serie: a
|
|
1893
1900
|
}
|
|
1894
|
-
) : ""), 9,
|
|
1901
|
+
) : ""), 9, mi)) : c("", !0),
|
|
1895
1902
|
n && d === 0 && a.useTag && a.useTag === "start" ? (r(), l("foreignObject", {
|
|
1896
1903
|
key: 1,
|
|
1897
1904
|
x: n.x,
|
|
@@ -1915,17 +1922,17 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1915
1922
|
g("div", {
|
|
1916
1923
|
style: C(`padding: 3px; background:${e.setOpacity(a.color, 80)};color:${e.adaptColorToBackground(a.color)};width:fit-content;font-size:${t.fontSizes.plotLabels}px;border-radius: 2px;`)
|
|
1917
1924
|
}, S(a.name), 5)
|
|
1918
|
-
], 8,
|
|
1925
|
+
], 8, Fi)) : c("", !0)
|
|
1919
1926
|
]))), 128))
|
|
1920
1927
|
], 6))), 128))
|
|
1921
1928
|
])) : c("", !0),
|
|
1922
|
-
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g",
|
|
1923
|
-
(r(!0), l(
|
|
1929
|
+
e.FINAL_CONFIG.line.labels.show && t.mutableConfig.dataLabels.show ? (r(), l("g", bi, [
|
|
1930
|
+
(r(!0), l(I, null, m(e.lineSet, (a, o) => (r(), l("g", {
|
|
1924
1931
|
key: `xLabel_line_${o}`,
|
|
1925
1932
|
class: V(`xLabel_line_${o}`),
|
|
1926
1933
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1927
1934
|
}, [
|
|
1928
|
-
(r(!0), l(
|
|
1935
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1929
1936
|
key: `xLabel_line_${o}_${d}`
|
|
1930
1937
|
}, [
|
|
1931
1938
|
n && !Object.hasOwn(a, "dataLabels") || a.dataLabels === !0 || t.selectedSerieIndex !== null && t.selectedSerieIndex === d || t.selectedMinimapIndex !== null && t.selectedMinimapIndex === d ? (r(), l("text", {
|
|
@@ -1976,12 +1983,12 @@ function Ui(i, s, h, f, t, e) {
|
|
|
1976
1983
|
]))), 128))
|
|
1977
1984
|
], 6))), 128))
|
|
1978
1985
|
])) : c("", !0),
|
|
1979
|
-
(r(!0), l(
|
|
1986
|
+
(r(!0), l(I, null, m(e.lineSet, (a, o) => (r(), l("g", {
|
|
1980
1987
|
key: `xLabel_line_${o}`,
|
|
1981
1988
|
class: V(`xLabel_line_${o}`),
|
|
1982
1989
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
1983
1990
|
}, [
|
|
1984
|
-
(r(!0), l(
|
|
1991
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
1985
1992
|
key: `xLabel_line_${o}_${d}`
|
|
1986
1993
|
}, [
|
|
1987
1994
|
n && d === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
|
|
@@ -2018,12 +2025,12 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2018
2025
|
}, null, 8, Li)) : c("", !0)
|
|
2019
2026
|
]))), 128))
|
|
2020
2027
|
], 6))), 128)),
|
|
2021
|
-
(r(!0), l(
|
|
2028
|
+
(r(!0), l(I, null, m(e.plotSet, (a, o) => (r(), l("g", {
|
|
2022
2029
|
key: `xLabel_plot_${o}`,
|
|
2023
2030
|
class: V(`xLabel_plot_${o}`),
|
|
2024
2031
|
style: C(`opacity:${t.selectedScale ? t.selectedScale === a.id ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
2025
2032
|
}, [
|
|
2026
|
-
(r(!0), l(
|
|
2033
|
+
(r(!0), l(I, null, m(a.plots, (n, d) => (r(), l("g", {
|
|
2027
2034
|
key: `xLabel_plot_${o}_${d}`
|
|
2028
2035
|
}, [
|
|
2029
2036
|
n && d === 0 && a.showSerieName && a.showSerieName === "start" ? (r(), l("text", {
|
|
@@ -2060,7 +2067,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2060
2067
|
}, null, 8, ki)) : c("", !0)
|
|
2061
2068
|
]))), 128))
|
|
2062
2069
|
], 6))), 128)),
|
|
2063
|
-
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), l(
|
|
2070
|
+
t.mutableConfig.useIndividualScale && !t.mutableConfig.isStacked ? (r(!0), l(I, { key: 8 }, m(e.allScales, (a) => (r(), l("rect", {
|
|
2064
2071
|
x: a.x - e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
2065
2072
|
y: e.drawingArea.top,
|
|
2066
2073
|
width: e.FINAL_CONFIG.chart.grid.labels.yAxis.labelWidth,
|
|
@@ -2088,7 +2095,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2088
2095
|
}, S(e.FINAL_CONFIG.chart.grid.labels.axis.xLabel), 9, Gi)) : c("", !0)
|
|
2089
2096
|
]),
|
|
2090
2097
|
e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.show ? (r(), l("g", vi, [
|
|
2091
|
-
(r(!0), l(
|
|
2098
|
+
(r(!0), l(I, null, m(e.timeLabels, (a, o) => (r(), l("g", {
|
|
2092
2099
|
key: `time_label_${o}`
|
|
2093
2100
|
}, [
|
|
2094
2101
|
a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && (o === 0 || o === e.timeLabels.length - 1) && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && t.selectedSerieIndex === o && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo || a && !e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyFirstAndLast && e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.showOnlyAtModulo && o % Math.floor((this.slicer.end - this.slicer.start) / e.FINAL_CONFIG.chart.grid.labels.xAxisLabels.modulo) === 0 ? (r(), l("text", {
|
|
@@ -2101,7 +2108,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2101
2108
|
]))), 128))
|
|
2102
2109
|
])) : c("", !0),
|
|
2103
2110
|
g("g", null, [
|
|
2104
|
-
(r(!0), l(
|
|
2111
|
+
(r(!0), l(I, null, m(e.maxSeries, (a, o) => (r(), l("g", {
|
|
2105
2112
|
key: `tooltip_trap_${o}`
|
|
2106
2113
|
}, [
|
|
2107
2114
|
g("rect", {
|
|
@@ -2114,10 +2121,10 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2114
2121
|
onMouseenter: (n) => e.toggleTooltipVisibility(!0, o),
|
|
2115
2122
|
onMouseleave: s[1] || (s[1] = (n) => e.toggleTooltipVisibility(!1)),
|
|
2116
2123
|
onClick: (n) => e.selectX(o)
|
|
2117
|
-
}, null, 40,
|
|
2124
|
+
}, null, 40, zi)
|
|
2118
2125
|
]))), 128))
|
|
2119
2126
|
]),
|
|
2120
|
-
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g",
|
|
2127
|
+
e.FINAL_CONFIG.chart.timeTag.show && (![null, void 0].includes(t.selectedSerieIndex) || ![null, void 0].includes(t.selectedMinimapIndex)) ? (r(), l("g", Mi, [
|
|
2121
2128
|
(r(), l("foreignObject", {
|
|
2122
2129
|
x: e.drawingArea.left + e.drawingArea.width / e.maxSeries * ((t.selectedSerieIndex !== null ? t.selectedSerieIndex : 0) || (t.selectedMinimapIndex !== null ? t.selectedMinimapIndex : 0)) - 100 + e.drawingArea.width / e.maxSeries / 2,
|
|
2123
2130
|
y: e.drawingArea.bottom,
|
|
@@ -2141,7 +2148,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2141
2148
|
O(i.$slots, "svg", { svg: e.svg }, void 0, !0)
|
|
2142
2149
|
], 14, Je)) : c("", !0),
|
|
2143
2150
|
i.$slots.watermark ? (r(), l("div", Vi, [
|
|
2144
|
-
O(i.$slots, "watermark", H(
|
|
2151
|
+
O(i.$slots, "watermark", E(H({ isPrinting: t.isPrinting || t.isImaging })), void 0, !0)
|
|
2145
2152
|
])) : c("", !0),
|
|
2146
2153
|
e.isDataset ? c("", !0) : (r(), D(T, {
|
|
2147
2154
|
key: 6,
|
|
@@ -2189,21 +2196,23 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2189
2196
|
"onUpdate:start": s[2] || (s[2] = (a) => t.slicer.start = a),
|
|
2190
2197
|
end: t.slicer.end,
|
|
2191
2198
|
"onUpdate:end": s[3] || (s[3] = (a) => t.slicer.end = a),
|
|
2199
|
+
refreshStartPoint: e.FINAL_CONFIG.chart.zoom.startIndex !== null ? e.FINAL_CONFIG.chart.zoom.startIndex : 0,
|
|
2200
|
+
refreshEndPoint: e.FINAL_CONFIG.chart.zoom.endIndex !== null ? e.FINAL_CONFIG.chart.zoom.endIndex + 1 : Math.max(...h.dataset.map((a) => e.largestTriangleThreeBucketsArray({ data: a.series, threshold: e.FINAL_CONFIG.downsample.threshold }).length)),
|
|
2192
2201
|
onReset: e.refreshSlicer,
|
|
2193
2202
|
onTrapMouse: e.selectMinimapIndex
|
|
2194
2203
|
}, {
|
|
2195
|
-
"reset-action":
|
|
2196
|
-
O(i.$slots, "reset-action", H(
|
|
2204
|
+
"reset-action": M(({ reset: a }) => [
|
|
2205
|
+
O(i.$slots, "reset-action", E(H({ reset: a })), void 0, !0)
|
|
2197
2206
|
]),
|
|
2198
2207
|
_: 3
|
|
2199
|
-
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "onReset", "onTrapMouse"])) : c("", !0),
|
|
2208
|
+
}, 8, ["background", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "borderColor", "minimap", "smoothMinimap", "minimapSelectedColor", "minimapSelectionRadius", "minimapLineColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapIndicatorColor", "max", "valueStart", "valueEnd", "start", "end", "refreshStartPoint", "refreshEndPoint", "onReset", "onTrapMouse"])) : c("", !0),
|
|
2200
2209
|
e.FINAL_CONFIG.chart.legend.show ? (r(), l("div", {
|
|
2201
2210
|
key: 8,
|
|
2202
2211
|
ref: "chartLegend",
|
|
2203
2212
|
class: "vue-ui-xy-legend",
|
|
2204
2213
|
style: C(`font-size:${e.FINAL_CONFIG.chart.legend.fontSize}px`)
|
|
2205
2214
|
}, [
|
|
2206
|
-
(r(!0), l(
|
|
2215
|
+
(r(!0), l(I, null, m(e.absoluteDataset, (a, o) => (r(), l("div", {
|
|
2207
2216
|
key: `div_legend_item_${o}`,
|
|
2208
2217
|
onClick: (n) => e.segregate(a),
|
|
2209
2218
|
class: V({ "vue-ui-xy-legend-item": !0, "vue-ui-xy-legend-item-segregated": t.segregatedSeries.includes(a.id) })
|
|
@@ -2218,7 +2227,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2218
2227
|
width: "20",
|
|
2219
2228
|
fill: a.color
|
|
2220
2229
|
}, null, 8, Bi),
|
|
2221
|
-
X(
|
|
2230
|
+
X(F, {
|
|
2222
2231
|
plot: { x: 10, y: 9 },
|
|
2223
2232
|
radius: 4,
|
|
2224
2233
|
color: a.color,
|
|
@@ -2226,7 +2235,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2226
2235
|
stroke: e.FINAL_CONFIG.chart.backgroundColor,
|
|
2227
2236
|
strokeWidth: 1
|
|
2228
2237
|
}, null, 8, ["color", "shape", "stroke"])
|
|
2229
|
-
])) : (r(), l("svg",
|
|
2238
|
+
])) : (r(), l("svg", Ei, [
|
|
2230
2239
|
t.icons[a.type] === "bar" ? (r(), l("rect", {
|
|
2231
2240
|
key: 0,
|
|
2232
2241
|
x: "0",
|
|
@@ -2236,7 +2245,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2236
2245
|
width: "12",
|
|
2237
2246
|
stroke: "none",
|
|
2238
2247
|
fill: a.color
|
|
2239
|
-
}, null, 8,
|
|
2248
|
+
}, null, 8, Hi)) : (r(), D(F, {
|
|
2240
2249
|
key: 1,
|
|
2241
2250
|
plot: { x: 6, y: 6 },
|
|
2242
2251
|
radius: 5,
|
|
@@ -2248,7 +2257,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2248
2257
|
style: C(`color:${e.FINAL_CONFIG.chart.legend.color}`)
|
|
2249
2258
|
}, S(a.name), 5)
|
|
2250
2259
|
], 10, Ri))), 128))
|
|
2251
|
-
], 4)) : (r(), l("div",
|
|
2260
|
+
], 4)) : (r(), l("div", Wi, [
|
|
2252
2261
|
O(i.$slots, "legend", { legend: e.absoluteDataset }, void 0, !0)
|
|
2253
2262
|
], 512)),
|
|
2254
2263
|
i.$slots.source ? (r(), l("div", Yi, [
|
|
@@ -2267,17 +2276,18 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2267
2276
|
offsetY: e.FINAL_CONFIG.chart.tooltip.offsetY,
|
|
2268
2277
|
parent: i.$refs.chart,
|
|
2269
2278
|
content: e.tooltipContent,
|
|
2279
|
+
isFullscreen: t.isFullscreen,
|
|
2270
2280
|
isCustom: e.FINAL_CONFIG.chart.tooltip.customFormat && typeof e.FINAL_CONFIG.chart.tooltip.customFormat == "function"
|
|
2271
2281
|
}, {
|
|
2272
|
-
"tooltip-before":
|
|
2273
|
-
O(i.$slots, "tooltip-before", H(
|
|
2282
|
+
"tooltip-before": M(() => [
|
|
2283
|
+
O(i.$slots, "tooltip-before", E(H({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2274
2284
|
]),
|
|
2275
|
-
"tooltip-after":
|
|
2276
|
-
O(i.$slots, "tooltip-after", H(
|
|
2285
|
+
"tooltip-after": M(() => [
|
|
2286
|
+
O(i.$slots, "tooltip-after", E(H({ ...e.dataTooltipSlot })), void 0, !0)
|
|
2277
2287
|
]),
|
|
2278
2288
|
_: 3
|
|
2279
|
-
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
|
|
2280
|
-
e.isDataset ? (r(), D(
|
|
2289
|
+
}, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
|
|
2290
|
+
e.isDataset ? (r(), D(z, {
|
|
2281
2291
|
key: 11,
|
|
2282
2292
|
hideDetails: "",
|
|
2283
2293
|
config: {
|
|
@@ -2293,16 +2303,16 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2293
2303
|
}
|
|
2294
2304
|
}
|
|
2295
2305
|
}, {
|
|
2296
|
-
content:
|
|
2306
|
+
content: M(() => [
|
|
2297
2307
|
g("div", {
|
|
2298
2308
|
style: C(`${t.isPrinting ? "" : "max-height:400px"};overflow:auto;width:100%;margin-top:48px`)
|
|
2299
2309
|
}, [
|
|
2300
2310
|
g("div", Xi, [
|
|
2301
|
-
|
|
2311
|
+
Ee(g("input", {
|
|
2302
2312
|
type: "checkbox",
|
|
2303
2313
|
"onUpdate:modelValue": s[4] || (s[4] = (a) => t.showSparklineTable = a)
|
|
2304
2314
|
}, null, 512), [
|
|
2305
|
-
[
|
|
2315
|
+
[He, t.showSparklineTable]
|
|
2306
2316
|
]),
|
|
2307
2317
|
g("div", {
|
|
2308
2318
|
onClick: s[5] || (s[5] = (a) => t.showSparklineTable = !t.showSparklineTable),
|
|
@@ -2328,11 +2338,11 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2328
2338
|
title: `${e.FINAL_CONFIG.chart.title.text}${e.FINAL_CONFIG.chart.title.subtitle.text ? ` : ${e.FINAL_CONFIG.chart.title.subtitle.text}` : ""}`,
|
|
2329
2339
|
onClose: s[6] || (s[6] = (a) => t.mutableConfig.showTable = !1)
|
|
2330
2340
|
}, {
|
|
2331
|
-
th:
|
|
2341
|
+
th: M(({ th: a }) => [
|
|
2332
2342
|
g("div", { innerHTML: a }, null, 8, qi)
|
|
2333
2343
|
]),
|
|
2334
|
-
td:
|
|
2335
|
-
|
|
2344
|
+
td: M(({ td: a }) => [
|
|
2345
|
+
We(S(isNaN(Number(a)) ? a : e.dataLabel({
|
|
2336
2346
|
p: e.FINAL_CONFIG.chart.labels.prefix,
|
|
2337
2347
|
v: a,
|
|
2338
2348
|
s: e.FINAL_CONFIG.chart.labels.suffix,
|
|
@@ -2347,7 +2357,7 @@ function Ui(i, s, h, f, t, e) {
|
|
|
2347
2357
|
}, 8, ["config"])) : c("", !0)
|
|
2348
2358
|
], 14, Ue);
|
|
2349
2359
|
}
|
|
2350
|
-
const
|
|
2360
|
+
const ca = /* @__PURE__ */ Ye(qe, [["render", Ui], ["__scopeId", "data-v-618dfcfd"]]);
|
|
2351
2361
|
export {
|
|
2352
|
-
|
|
2362
|
+
ca as default
|
|
2353
2363
|
};
|