vue-data-ui 3.9.12 → 3.9.13
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-Cbn8f8m4.js → Arrow-f1dKmuRH.js} +1 -1
- package/dist/{BaseDraggableDialog-C167SnU0.js → BaseDraggableDialog-CAJxIF6g.js} +2 -2
- package/dist/{BaseIcon-r3_sTK1A.js → BaseIcon-4i3dd7Ty.js} +1 -1
- package/dist/{BaseZoomControls-D8N7fb-c.js → BaseZoomControls-C0H509ZF.js} +6 -6
- package/dist/{ColorPicker-Bq2C5Dll.js → ColorPicker-B9oF4-O6.js} +8 -8
- package/dist/{DataTable-DNeCys3I.js → DataTable-WrXCJkfE.js} +2 -2
- package/dist/{Legend-Dxz13z4E.js → Legend-D6z73edh.js} +2 -2
- package/dist/{NonSvgPenAndPaper-ZnkWbBri.js → NonSvgPenAndPaper-7clRuQVF.js} +11 -11
- package/dist/{PackageVersion-BpArR90N.js → PackageVersion-D3cMhAlf.js} +1 -1
- package/dist/{PenAndPaper-CsqBamFZ.js → PenAndPaper-DxIUvoQ8.js} +17 -17
- package/dist/{Shape-_iTOIp3x.js → Shape-DAHhCEdg.js} +1 -1
- package/dist/{Slicer-DBYna_by.js → Slicer-Bn8azYkD.js} +70 -70
- package/dist/{SlicerPreview-pHjYklxh.js → SlicerPreview-oV3dMuV1.js} +2 -2
- package/dist/{SparkTooltip-BaSHhfes.js → SparkTooltip-D7iYVquk.js} +3 -3
- package/dist/{Title-DFtCaCah.js → Title-BhURirpm.js} +1 -1
- package/dist/{Tooltip-B79qvriT.js → Tooltip-TDyKgLB6.js} +1 -1
- package/dist/{UserOptions-B-2A_KRb.js → UserOptions-CzJWRC4s.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-Cm7R2Zu2.js → dom-to-png-C2K57N1M.js} +1 -1
- package/dist/{img-BJzUSmkm.js → img-DKigoPDs.js} +1 -1
- package/dist/labelUtils-PMU3ZGCb.js +30 -0
- package/dist/{lib-W9waxHL3.js → lib-BwysEpWI.js} +81 -77
- package/dist/{pdf-BJR-8Moh.js → pdf-BHGnVnBG.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +20 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DAdqpHf1.js → useAutoSizeLabelsInsideViewbox-DO2dxQ78.js} +1 -1
- package/dist/{useNestedProp-D-jUHecl.js → useNestedProp--5lL-kf1.js} +209 -197
- package/dist/{usePrinter-DhoMn87n.js → usePrinter-BJzHDpYF.js} +2 -2
- package/dist/{vue-data-ui-Dw19CYml.js → vue-data-ui-DE3O1T8n.js} +67 -67
- package/dist/vue-data-ui.js +83 -83
- package/dist/{vue-ui-3d-bar-Bv7Tft_r.js → vue-ui-3d-bar-CVvhPzdH.js} +6 -6
- package/dist/{vue-ui-accordion-B6BX2vhq.js → vue-ui-accordion-tQNKwbVi.js} +3 -3
- package/dist/{vue-ui-age-pyramid-C6NjJlg4.js → vue-ui-age-pyramid-DxTHqM7w.js} +25 -25
- package/dist/{vue-ui-annotator-DB6dpuUU.js → vue-ui-annotator-Da5aL57a.js} +7 -7
- package/dist/{vue-ui-bullet-BLGvme53.js → vue-ui-bullet-DhpTML7L.js} +22 -22
- package/dist/{vue-ui-candlestick-DBG1mW60.js → vue-ui-candlestick-BDOKQqMm.js} +85 -85
- package/dist/{vue-ui-carousel-table-BYnItN48.js → vue-ui-carousel-table-BW6bKPsX.js} +13 -13
- package/dist/{vue-ui-chestnut-DV6f4SNc.js → vue-ui-chestnut-Cc-lke6P.js} +31 -31
- package/dist/{vue-ui-chord-DRleP2O8.js → vue-ui-chord-CB6w31Ex.js} +8 -8
- package/dist/{vue-ui-circle-pack-BCrMaFWw.js → vue-ui-circle-pack-CfihOmNV.js} +6 -6
- package/dist/{vue-ui-cursor-j10t3UEX.js → vue-ui-cursor-Dnpe76BQ.js} +3 -3
- package/dist/{vue-ui-dag-y0oqslGj.js → vue-ui-dag-Dq3hKon7.js} +7 -7
- package/dist/{vue-ui-dashboard-mBGF94l6.js → vue-ui-dashboard-eMwyGsuD.js} +68 -68
- package/dist/{vue-ui-digits-DQz1eJc-.js → vue-ui-digits-B5QhIbFD.js} +2 -2
- package/dist/vue-ui-donut-D3---CiY.js +2082 -0
- package/dist/{vue-ui-donut-evolution-hkHICgry.js → vue-ui-donut-evolution-C6H1Vr6m.js} +8 -8
- package/dist/{vue-ui-dumbbell-BVPZwi0X.js → vue-ui-dumbbell-L1p0npq4.js} +33 -33
- package/dist/{vue-ui-flow-BNeKU-KR.js → vue-ui-flow-CgAIlvZF.js} +38 -38
- package/dist/{vue-ui-funnel-VorM1bT0.js → vue-ui-funnel-CpgqO34n.js} +6 -6
- package/dist/{vue-ui-galaxy-DKkviRQr.js → vue-ui-galaxy-DAi1I2Cr.js} +316 -291
- package/dist/{vue-ui-gauge-BNaWVi-e.js → vue-ui-gauge-DY78U-uO.js} +7 -7
- package/dist/{vue-ui-geo-_R5mjj-u.js → vue-ui-geo-Befu6fkT.js} +7 -7
- package/dist/{vue-ui-gizmo-AQFQccea.js → vue-ui-gizmo-BM_oOeYY.js} +3 -3
- package/dist/{vue-ui-heatmap-BKX1bPY5.js → vue-ui-heatmap-C_ze3bzX.js} +108 -108
- package/dist/{vue-ui-history-plot-BNX8B2jr.js → vue-ui-history-plot-C-_zpLPH.js} +50 -50
- package/dist/{vue-ui-horizontal-bar-B6VyEs1p.js → vue-ui-horizontal-bar-DvLMeP44.js} +47 -47
- package/dist/{vue-ui-kpi-BnCqocoi.js → vue-ui-kpi-IcOqABQz.js} +3 -3
- package/dist/{vue-ui-mini-loader-Dzqusv9i.js → vue-ui-mini-loader-DxlOXn6v.js} +2 -2
- package/dist/{vue-ui-molecule-PtnhkQLr.js → vue-ui-molecule-N938wMMB.js} +5 -5
- package/dist/{vue-ui-mood-radar-DxSVU35A.js → vue-ui-mood-radar-D1hHnpLB.js} +7 -7
- package/dist/{vue-ui-nested-donuts-BY8C1axg.js → vue-ui-nested-donuts-DeTGEb4T.js} +597 -595
- package/dist/{vue-ui-onion-XJAcsPVV.js → vue-ui-onion-BwY998zT.js} +376 -332
- package/dist/{vue-ui-parallel-coordinate-plot-CDWIZbgp.js → vue-ui-parallel-coordinate-plot-B4v3AheY.js} +43 -43
- package/dist/{vue-ui-quadrant-DY9GXVYY.js → vue-ui-quadrant-4f1p9gSO.js} +8 -8
- package/dist/{vue-ui-quick-chart-Y73WB5GW.js → vue-ui-quick-chart-CGbEBTS1.js} +52 -52
- package/dist/{vue-ui-radar-Deup68ga.js → vue-ui-radar-B15r4HoM.js} +57 -57
- package/dist/{vue-ui-rating-BciQHmzs.js → vue-ui-rating-CaRZVE71.js} +2 -2
- package/dist/{vue-ui-relation-circle-C0W3aPaO.js → vue-ui-relation-circle-CFEL1uYt.js} +7 -7
- package/dist/{vue-ui-ridgeline-D9z3_hRf.js → vue-ui-ridgeline-LGH61-xE.js} +8 -8
- package/dist/{vue-ui-rings-CT3gLUkS.js → vue-ui-rings-DNdUdKax.js} +270 -246
- package/dist/{vue-ui-scatter-DiLSOZGs.js → vue-ui-scatter-Duxs0Ie_.js} +8 -8
- package/dist/{vue-ui-skeleton-D_2C5A85.js → vue-ui-skeleton-UoBAzUyN.js} +3 -3
- package/dist/{vue-ui-smiley-C0Bqip2_.js → vue-ui-smiley-BhpJbcM8.js} +2 -2
- package/dist/{vue-ui-spark-trend-C05f4Fn6.js → vue-ui-spark-trend-2c75iF9Y.js} +96 -96
- package/dist/{vue-ui-sparkbar-CjYaG0Ae.js → vue-ui-sparkbar-B2E5nzBF.js} +3 -3
- package/dist/{vue-ui-sparkgauge-AKIy8PYI.js → vue-ui-sparkgauge-DFkpaMkk.js} +13 -13
- package/dist/{vue-ui-sparkhistogram-nWWgx7iD.js → vue-ui-sparkhistogram-K6lo-KnY.js} +4 -4
- package/dist/{vue-ui-sparkline-CGMDNQpH.js → vue-ui-sparkline-CsByZZt4.js} +11 -11
- package/dist/{vue-ui-sparkstackbar-C3vjYPrM.js → vue-ui-sparkstackbar-ByUb6nk-.js} +3 -3
- package/dist/{vue-ui-stackbar-BQiLC89h.js → vue-ui-stackbar-D7SnQvr4.js} +41 -41
- package/dist/{vue-ui-stackline-DPV5Amgq.js → vue-ui-stackline-BnRxf3k_.js} +130 -130
- package/dist/{vue-ui-strip-plot-CFGml25d.js → vue-ui-strip-plot-CJWXdisu.js} +28 -28
- package/dist/{vue-ui-table-DySeXTmp.js → vue-ui-table-BHWwypkc.js} +27 -27
- package/dist/{vue-ui-table-heatmap-CDnzIKGy.js → vue-ui-table-heatmap-DvHKKwJA.js} +12 -12
- package/dist/{vue-ui-table-sparkline-DbEj6x4N.js → vue-ui-table-sparkline-uK0q-dO9.js} +11 -11
- package/dist/{vue-ui-thermometer-BeiT4slQ.js → vue-ui-thermometer-Bxn0JNeJ.js} +31 -31
- package/dist/{vue-ui-timer-RWg45QKc.js → vue-ui-timer-7o5Jrxf3.js} +5 -5
- package/dist/{vue-ui-tiremarks-B4_W_mWX.js → vue-ui-tiremarks-DHoUaHOe.js} +6 -6
- package/dist/{vue-ui-treemap-fq9-enBk.js → vue-ui-treemap-B_4cIAAI.js} +51 -51
- package/dist/{vue-ui-waffle-BRcWupew.js → vue-ui-waffle-CddfqNWD.js} +381 -352
- package/dist/{vue-ui-wheel-DziR9q2I.js → vue-ui-wheel-CGYJA-33.js} +6 -6
- package/dist/{vue-ui-word-cloud-C6i_7Q6Y.js → vue-ui-word-cloud-oszTieHn.js} +32 -32
- package/dist/{vue-ui-world-Dvn1JWi9.js → vue-ui-world-DQjHEyKe.js} +31 -31
- package/dist/{vue-ui-xy-2ui0juKl.js → vue-ui-xy-D5A8tR-O.js} +9 -9
- package/dist/{vue-ui-xy-canvas-9tgX_s2v.js → vue-ui-xy-canvas-Bzd8pZdH.js} +100 -100
- package/package.json +1 -1
- package/dist/vue-ui-donut-A_IFB9JR.js +0 -2078
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineAsyncComponent as ye, useSlots as
|
|
2
|
-
import { c as Fa, t as
|
|
1
|
+
import { defineAsyncComponent as ye, useSlots as Hl, computed as m, ref as y, onMounted as Wl, toRefs as Xl, watch as Le, shallowRef as La, onBeforeUnmount as Nt, watchEffect as ql, nextTick as Gl, createElementBlock as h, openBlock as i, normalizeStyle as Te, normalizeClass as Ta, createBlock as ie, createCommentVNode as w, renderSlot as _, createElementVNode as ue, createVNode as He, unref as M, withCtx as D, normalizeProps as ee, guardReactiveProps as te, createSlots as Ft, Fragment as E, renderList as W, mergeProps as lt, toDisplayString as de, Teleport as jl, resolveDynamicComponent as Jl, createTextVNode as Na } from "vue";
|
|
2
|
+
import { c as Fa, t as Zl, i as Ql, j as ot, k as Kl, o as _a, g as Da, l as eo, m as to, aq as We, O as st, N as rt, S as ao, A as pe, C as be, P as lo, y as oo, _ as so, a as Xe, d as ke, Q as qe, X as ro, q as no, s as io, U as za, v as uo, r as co, b as ho, e as Ge } from "./lib-BwysEpWI.js";
|
|
3
3
|
import { t as Ea, u as vo } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as mo, a as _t } from "./useNestedProp-
|
|
4
|
+
import { u as mo, a as _t } from "./useNestedProp--5lL-kf1.js";
|
|
5
5
|
import { u as Ia, a as go, l as fo } from "./useTimeLabels-DKoynYae.js";
|
|
6
6
|
import { u as yo, B as po } from "./BaseScanner-BMpwQAfz.js";
|
|
7
|
-
import { u as bo } from "./usePrinter-
|
|
7
|
+
import { u as bo } from "./usePrinter-BJzHDpYF.js";
|
|
8
8
|
import { u as xo } from "./useSvgExport-ByUukOZt.js";
|
|
9
9
|
import { u as ko } from "./useThemeCheck-DGJ31Vi5.js";
|
|
10
10
|
import { u as Co } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import { u as wo } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
12
12
|
import { u as Ao } from "./useUserOptionState-BIvW1Kz7.js";
|
|
13
|
-
import So from "./img-
|
|
14
|
-
import { _ as Dt } from "./Shape-
|
|
15
|
-
import Mo from "./Title-
|
|
16
|
-
import $o from "./Legend-
|
|
17
|
-
import { S as Lo } from "./SlicerPreview-
|
|
13
|
+
import So from "./img-DKigoPDs.js";
|
|
14
|
+
import { _ as Dt } from "./Shape-DAHhCEdg.js";
|
|
15
|
+
import Mo from "./Title-BhURirpm.js";
|
|
16
|
+
import $o from "./Legend-D6z73edh.js";
|
|
17
|
+
import { S as Lo } from "./SlicerPreview-oV3dMuV1.js";
|
|
18
18
|
import { _ as To } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
|
-
const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, lines: { totalValues: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, grid: { x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, Oa = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#424242" }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#424242" }, dataLabels: { color: "#424242" } }, grid: { x: { axisColor: "#5D403780", axisName: { color: "#424242" }, timeLabels: { color: "#424242" } }, y: { axisColor: "#5D403780", axisName: { color: "#424242" }, axisLabels: { color: "#424242" } } } } } }, Ra = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#FFF8E1" }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#BDBDBD" }, dataLabels: { color: "#BDBDBD" } }, grid: { x: { axisColor: "#5D403740", axisName: { color: "#BDBDBD" }, timeLabels: { color: "#BDBDBD" } }, y: { axisColor: "#5D4037", axisName: { color: "#BDBDBD" }, axisLabels: { color: "#BDBDBD" } } } } } }, Ba = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, lines: { totalValues: { color: "#99AA99" }, dataLabels: { color: "#99AA99" } }, grid: { x: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, timeLabels: { color: "#99AA99" } }, y: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, axisLabels: { color: "#99AA99" } } } } } }, Va = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, lines: { borderRadius: 4, totalValues: { show: !1 }, dataLabels: { show: !1 } }, grid: { x: { showAxis: !1, axisName: { color: "#8F837A" }, timeLabels: { show: !1 } }, y: { showAxis: !1, axisName: { color: "#8F837A" }, axisLabels: { show: !1 } } } } } }, Ya = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, lines: { totalValues: { color: "#50606C" }, dataLabels: { color: "#50606C" } }, grid: { x: { showHorizontalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, timeLabels: { color: "#61747E" } }, y: { showVerticalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, axisLabels: { color: "#61747E" } } } } } },
|
|
19
|
+
const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, highlighter: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, lines: { totalValues: { color: "#CCCCCC" }, dataLabels: { color: "#CCCCCC" } }, grid: { x: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, timeLabels: { color: "#CCCCCC" } }, y: { axisColor: "#5A5A5A", linesColor: "#4A4A4A", axisName: { color: "#CCCCCC" }, axisLabels: { color: "#CCCCCC" } } } } } }, Oa = { table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } }, style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", title: { color: "#424242", subtitle: { color: "#757575" } }, legend: { backgroundColor: "#FFF8E1", color: "#424242" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#424242" }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#424242" }, dataLabels: { color: "#424242" } }, grid: { x: { axisColor: "#5D403780", axisName: { color: "#424242" }, timeLabels: { color: "#424242" } }, y: { axisColor: "#5D403780", axisName: { color: "#424242" }, axisLabels: { color: "#424242" } } } } } }, Ra = { table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } }, style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, highlighter: { color: "#FFF8E1" }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, lines: { totalValues: { color: "#BDBDBD" }, dataLabels: { color: "#BDBDBD" } }, grid: { x: { axisColor: "#5D403740", axisName: { color: "#BDBDBD" }, timeLabels: { color: "#BDBDBD" } }, y: { axisColor: "#5D4037", axisName: { color: "#BDBDBD" }, axisLabels: { color: "#BDBDBD" } } } } } }, Ba = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99" }, zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, highlighter: { color: "#66CC66" }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" }, lines: { totalValues: { color: "#99AA99" }, dataLabels: { color: "#99AA99" } }, grid: { x: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, timeLabels: { color: "#99AA99" } }, y: { axisColor: "#5F6A5F", axisName: { color: "#66CC66" }, axisLabels: { color: "#99AA99" } } } } } }, Va = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, highlighter: { color: "#8F837A" }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, lines: { borderRadius: 4, totalValues: { show: !1 }, dataLabels: { show: !1 } }, grid: { x: { showAxis: !1, axisName: { color: "#8F837A" }, timeLabels: { show: !1 } }, y: { showAxis: !1, axisName: { color: "#8F837A" }, axisLabels: { show: !1 } } } } } }, Ya = { table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } }, style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", title: { color: "#50606C", subtitle: { color: "#718890" } }, legend: { backgroundColor: "#f6f6fb", color: "#61747E" }, zoom: { color: "#92B0AB", highlightColor: "#50606C" }, highlighter: { color: "#7DA9B5" }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, lines: { totalValues: { color: "#50606C" }, dataLabels: { color: "#50606C" } }, grid: { x: { showHorizontalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, timeLabels: { color: "#61747E" } }, y: { showVerticalLines: !0, axisColor: "#829C98", axisName: { color: "#50606C" }, axisLabels: { color: "#61747E" } } } } } }, Ua = {
|
|
20
20
|
default: {},
|
|
21
21
|
dark: Pa,
|
|
22
22
|
celebration: Oa,
|
|
@@ -30,10 +30,10 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
30
30
|
celebrationNight: Ra,
|
|
31
31
|
concrete: Ya,
|
|
32
32
|
dark: Pa,
|
|
33
|
-
default:
|
|
33
|
+
default: Ua,
|
|
34
34
|
hack: Ba,
|
|
35
35
|
zen: Va
|
|
36
|
-
}, Symbol.toStringTag, { value: "Module" })), No = ["id"], Fo = ["id"], _o = ["xmlns", "viewBox"], Do = { key: 0 }, zo = ["x", "y", "width", "height"], Eo = { key: 1 }, Io = ["id"], Po = ["stop-color"], Oo = ["stop-color"], Ro = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"],
|
|
36
|
+
}, Symbol.toStringTag, { value: "Module" })), No = ["id"], Fo = ["id"], _o = ["xmlns", "viewBox"], Do = { key: 0 }, zo = ["x", "y", "width", "height"], Eo = { key: 1 }, Io = ["id"], Po = ["stop-color"], Oo = ["stop-color"], Ro = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Vo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Yo = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Uo = ["x", "y", "font-size", "fill", "font-weight"], Ho = ["transform", "font-size", "fill", "font-weight"], Wo = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], Xo = ["d", "fill", "opacity"], qo = ["d", "stroke", "stroke-width"], Go = ["x1", "x2", "y1", "y2", "stroke"], jo = ["x", "y", "font-size", "font-weight", "fill"], Jo = { key: 0 }, Zo = { key: 1 }, Qo = ["text-anchor", "font-size", "font-weight", "fill", "transform", "onClick"], Ko = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], es = ["x", "y", "height", "width", "fill"], ts = { key: 0 }, as = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ls = { key: 0 }, os = ["x", "y", "font-size", "fill", "font-weight"], ss = ["x", "y", "font-size", "font-weight", "fill"], rs = ["data-start", "data-end"], ns = {
|
|
37
37
|
key: 4,
|
|
38
38
|
class: "vue-data-ui-watermark"
|
|
39
39
|
}, is = ["onClick"], us = ["id"], cs = ["innerHTML"], hs = ["innerHTML"], vs = {
|
|
@@ -57,22 +57,22 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
57
57
|
}
|
|
58
58
|
},
|
|
59
59
|
emits: ["selectDatapoint", "selectLegend", "selectTimeLabel", "selectX"],
|
|
60
|
-
setup(nt, { expose:
|
|
61
|
-
const Xa = ye(() => import("./Tooltip-
|
|
60
|
+
setup(nt, { expose: Ha, emit: Wa }) {
|
|
61
|
+
const Xa = ye(() => import("./Tooltip-TDyKgLB6.js")), qa = ye(() => import("./BaseIcon-4i3dd7Ty.js")), Ga = ye(() => import("./vue-ui-accordion-tQNKwbVi.js")), ja = ye(() => import("./DataTable-WrXCJkfE.js")), Ja = ye(() => import("./PenAndPaper-DxIUvoQ8.js")), Za = ye(() => import("./UserOptions-CzJWRC4s.js")), Qa = ye(() => import("./PackageVersion-D3cMhAlf.js")), Ka = ye(() => import("./BaseDraggableDialog-CAJxIF6g.js")), { vue_ui_stackline: el } = mo(), { isThemeValid: tl, warnInvalidTheme: al } = ko(), zt = Hl(), j = nt, Ne = Wa, Fe = m({
|
|
62
62
|
get() {
|
|
63
63
|
return !!j.dataset && j.dataset.length;
|
|
64
64
|
},
|
|
65
65
|
set(t) {
|
|
66
66
|
return t;
|
|
67
67
|
}
|
|
68
|
-
}), ce = y(null),
|
|
68
|
+
}), ce = y(null), Q = y(Fa()), Et = y(!1), It = y(null), X = y([]), Pt = y(0), Ot = y(null), Rt = y(null), _e = y(null), Bt = y(null), Vt = y(null), De = y(!1), it = y(!1), Yt = y(0), ll = y(0), ol = y(0), Ut = y(!1), ze = y(null), ut = y(null), Ce = y(!1), ct = y(null), ht = y(null), vt = y(null), je = y(null), sl = y(null), Ee = y(null), Ie = y(!1);
|
|
69
69
|
function dt() {
|
|
70
70
|
Ie.value = !Ie.value;
|
|
71
71
|
}
|
|
72
72
|
Wl(() => {
|
|
73
|
-
|
|
73
|
+
Ut.value = !0, Kt();
|
|
74
74
|
});
|
|
75
|
-
const e = y(ft()), { loading: he, FINAL_DATASET: mt, manualLoading:
|
|
75
|
+
const e = y(ft()), { loading: he, FINAL_DATASET: mt, manualLoading: Je } = yo({
|
|
76
76
|
...Xl(j),
|
|
77
77
|
FINAL_CONFIG: e,
|
|
78
78
|
prepareConfig: ft,
|
|
@@ -93,7 +93,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
93
93
|
color: "#CACACA"
|
|
94
94
|
}
|
|
95
95
|
],
|
|
96
|
-
skeletonConfig:
|
|
96
|
+
skeletonConfig: Zl({
|
|
97
97
|
defaultConfig: e.value,
|
|
98
98
|
userConfig: {
|
|
99
99
|
userOptions: { show: !1 },
|
|
@@ -145,12 +145,12 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
})
|
|
148
|
-
}), { userOptionsVisible: gt, setUserOptionsVisibility:
|
|
148
|
+
}), { userOptionsVisible: gt, setUserOptionsVisibility: Ht, keepUserOptionState: Wt } = Ao({ config: e.value }), { svgRef: we } = Co({ config: e.value.style.chart.title });
|
|
149
149
|
function rl() {
|
|
150
|
-
Ce.value = !0,
|
|
150
|
+
Ce.value = !0, Ht(!0);
|
|
151
151
|
}
|
|
152
152
|
function nl() {
|
|
153
|
-
|
|
153
|
+
Ht(!1), Ce.value = !1;
|
|
154
154
|
}
|
|
155
155
|
function ft() {
|
|
156
156
|
const t = _t({
|
|
@@ -164,7 +164,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
164
164
|
al(t), l = t;
|
|
165
165
|
else {
|
|
166
166
|
const o = _t({
|
|
167
|
-
userConfig:
|
|
167
|
+
userConfig: Ua[a] || j.config,
|
|
168
168
|
defaultConfig: t
|
|
169
169
|
});
|
|
170
170
|
l = {
|
|
@@ -172,7 +172,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
172
172
|
userConfig: j.config,
|
|
173
173
|
defaultConfig: o
|
|
174
174
|
}),
|
|
175
|
-
customPalette: t.customPalette.length ? t.customPalette :
|
|
175
|
+
customPalette: t.customPalette.length ? t.customPalette : Ql[a] || ot
|
|
176
176
|
};
|
|
177
177
|
}
|
|
178
178
|
else
|
|
@@ -181,14 +181,14 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
181
181
|
}
|
|
182
182
|
const Xt = m(() => e.value.style.chart.lines.dataLabels.hideUnderValue !== null), qt = m(() => e.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
|
|
183
183
|
Le(() => j.config, (t) => {
|
|
184
|
-
he.value || (e.value = ft()), gt.value = !e.value.userOptions.showOnChartHover,
|
|
184
|
+
he.value || (e.value = ft()), gt.value = !e.value.userOptions.showOnChartHover, Kt(), Yt.value += 1, ll.value += 1, ol.value += 1, q.value.dataLabels.show = e.value.style.chart.lines.dataLabels.show, q.value.showTable = e.value.table.show, q.value.showTooltip = e.value.style.chart.tooltip.show, ve.value.width = e.value.style.chart.width, ve.value.height = e.value.style.chart.height, ve.value.paddingRatio = {
|
|
185
185
|
top: e.value.style.chart.padding.top / e.value.style.chart.height,
|
|
186
186
|
right: e.value.style.chart.padding.right / e.value.style.chart.width,
|
|
187
187
|
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
188
188
|
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
189
|
-
},
|
|
189
|
+
}, Qe();
|
|
190
190
|
}, { deep: !0 }), Le(() => j.dataset, (t) => {
|
|
191
|
-
Array.isArray(t) && t.length > 0 && (
|
|
191
|
+
Array.isArray(t) && t.length > 0 && (Je.value = !1), la();
|
|
192
192
|
}, { deep: !0 });
|
|
193
193
|
const q = y({
|
|
194
194
|
dataLabels: {
|
|
@@ -206,8 +206,8 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
206
206
|
showTooltip: e.value.style.chart.tooltip.show
|
|
207
207
|
};
|
|
208
208
|
}, { immediate: !0 });
|
|
209
|
-
const { isPrinting: Gt, isImaging: jt, generatePdf:
|
|
210
|
-
elementId: `stackline_${
|
|
209
|
+
const { isPrinting: Gt, isImaging: jt, generatePdf: Jt, generateImage: Zt } = bo({
|
|
210
|
+
elementId: `stackline_${Q.value}`,
|
|
211
211
|
fileName: e.value.style.chart.title.text || "vue-ui-stackline",
|
|
212
212
|
options: e.value.userOptions.print
|
|
213
213
|
}), il = m(() => e.value.userOptions.show && !e.value.style.chart.title.text), ve = y({
|
|
@@ -219,13 +219,13 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
219
219
|
bottom: e.value.style.chart.padding.bottom / e.value.style.chart.height,
|
|
220
220
|
left: e.value.style.chart.padding.left / e.value.style.chart.width
|
|
221
221
|
}
|
|
222
|
-
}), ul = m(() =>
|
|
223
|
-
function
|
|
222
|
+
}), ul = m(() => Kl(e.value.customPalette)), me = La(null), Ae = La(null), Qt = y(null), yt = m(() => !!e.value.debug);
|
|
223
|
+
function Kt() {
|
|
224
224
|
if (_a(j.dataset) ? (Da({
|
|
225
225
|
componentName: "VueUiStackline",
|
|
226
226
|
type: "dataset",
|
|
227
227
|
debug: yt.value
|
|
228
|
-
}),
|
|
228
|
+
}), Je.value = !0) : j.dataset.forEach((t, l) => {
|
|
229
229
|
eo({
|
|
230
230
|
datasetObject: t,
|
|
231
231
|
requiredAttributes: ["name", "series"]
|
|
@@ -236,9 +236,9 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
236
236
|
property: a,
|
|
237
237
|
index: l,
|
|
238
238
|
debug: yt.value
|
|
239
|
-
}),
|
|
239
|
+
}), Je.value = !0;
|
|
240
240
|
});
|
|
241
|
-
}), _a(j.dataset) || (
|
|
241
|
+
}), _a(j.dataset) || (Je.value = e.value.loading), setTimeout(() => {
|
|
242
242
|
it.value = !0;
|
|
243
243
|
}, 10), e.value.responsive) {
|
|
244
244
|
const t = Ea(() => {
|
|
@@ -252,7 +252,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
252
252
|
source: Vt.value
|
|
253
253
|
});
|
|
254
254
|
requestAnimationFrame(() => {
|
|
255
|
-
ve.value.width = l, ve.value.height = a - 12, clearTimeout(
|
|
255
|
+
ve.value.width = l, ve.value.height = a - 12, clearTimeout(Qt.value), Qt.value = setTimeout(() => {
|
|
256
256
|
it.value = !0;
|
|
257
257
|
}, 10);
|
|
258
258
|
});
|
|
@@ -344,7 +344,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
344
344
|
};
|
|
345
345
|
})), re = m(
|
|
346
346
|
() => ae.value.filter((t) => !X.value.includes(t.id) && !t.standalone)
|
|
347
|
-
),
|
|
347
|
+
), Ze = m(
|
|
348
348
|
() => ae.value.filter((t) => !X.value.includes(t.id) && t.standalone)
|
|
349
349
|
), ne = m(() => Math.max(...ae.value.filter((t) => !X.value.includes(t.id)).map((t) => t.series.length)));
|
|
350
350
|
function dl(t) {
|
|
@@ -361,7 +361,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
361
361
|
function aa(t, l) {
|
|
362
362
|
le.value[t] = l;
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Qe() {
|
|
365
365
|
const t = ne.value;
|
|
366
366
|
let l = Math.max(0, Math.min(c.value.start ?? 0, t - 1)), a = Math.max(l + 1, Math.min(c.value.end ?? t, t));
|
|
367
367
|
(!Number.isFinite(l) || !Number.isFinite(a) || a <= l) && (l = 0, a = t), c.value.start = l, c.value.end = a, le.value.start = l, le.value.end = a, _e.value && (_e.value.setStartValue(l), _e.value.setEndValue(a));
|
|
@@ -380,7 +380,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
380
380
|
await ml(), et();
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const
|
|
383
|
+
const Ke = m(() => Math.max(0, v.value.width / (c.value.end - c.value.start))), oa = m(() => We(
|
|
384
384
|
re.value.map((t) => ({ ...t, series: t.series.map((l) => l ?? 0) }))
|
|
385
385
|
).slice(c.value.start, c.value.end)), sa = m(() => {
|
|
386
386
|
if (!e.value.style.chart.zoom.minimap.show) return [];
|
|
@@ -391,7 +391,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
391
391
|
series: (o.series || []).map((s) => s ?? 0)
|
|
392
392
|
}))
|
|
393
393
|
);
|
|
394
|
-
const t =
|
|
394
|
+
const t = Ze.value;
|
|
395
395
|
if (!t.length) return [];
|
|
396
396
|
const l = Math.max(...t.map((o) => o.series.length || 0));
|
|
397
397
|
return Array.from(
|
|
@@ -400,7 +400,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
400
400
|
);
|
|
401
401
|
}), gl = m(() => {
|
|
402
402
|
if (!e.value.style.chart.zoom.minimap.show) return [];
|
|
403
|
-
const t = re.value, l =
|
|
403
|
+
const t = re.value, l = Ze.value, a = t.length ? [{
|
|
404
404
|
name: "",
|
|
405
405
|
series: sa.value,
|
|
406
406
|
color: "#000000",
|
|
@@ -434,7 +434,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
434
434
|
};
|
|
435
435
|
}), Me = m(() => {
|
|
436
436
|
const t = Math.max(0, c.value.end - c.value.start), l = Array(t).fill(0), a = Array(t).fill(0);
|
|
437
|
-
return
|
|
437
|
+
return Ze.value.forEach((o) => {
|
|
438
438
|
for (let s = 0; s < t; s += 1) {
|
|
439
439
|
const r = o.series[c.value.start + s] ?? 0;
|
|
440
440
|
r > 0 && (l[s] = Math.max(l[s], r)), r < 0 && (a[s] = Math.min(a[s], r));
|
|
@@ -477,7 +477,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
477
477
|
return {
|
|
478
478
|
zero: g,
|
|
479
479
|
y: z,
|
|
480
|
-
x:
|
|
480
|
+
x: Z.value.left - 8,
|
|
481
481
|
value: P
|
|
482
482
|
};
|
|
483
483
|
});
|
|
@@ -538,36 +538,36 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
538
538
|
return ae.value.filter((g) => !X.value.includes(g.id)).map((g) => {
|
|
539
539
|
const S = [], P = [], z = [], F = new Array(s).fill(null), B = new Array(s).fill(null);
|
|
540
540
|
for (let f = 0; f < s; f += 1) {
|
|
541
|
-
const $ = a + f,
|
|
541
|
+
const $ = a + f, H = g.series?.[$], U = g.signedSeries?.[$], fe = H == null || Number.isNaN(H) ? 0 : H, $a = g.standalone ? fe / d : e.value.style.chart.lines.distributed ? fe / (oa.value[f] || 1) : fe / d;
|
|
542
542
|
if (fe >= 0) {
|
|
543
543
|
const Ve = t * Math.abs($a);
|
|
544
544
|
if (g.standalone)
|
|
545
545
|
F[f] = l, B[f] = l - Ve;
|
|
546
546
|
else {
|
|
547
|
-
const Ye = u[f],
|
|
548
|
-
F[f] = l - Ye, B[f] = l -
|
|
547
|
+
const Ye = u[f], Ue = Ye + Ve;
|
|
548
|
+
F[f] = l - Ye, B[f] = l - Ue, u[f] = Ue;
|
|
549
549
|
}
|
|
550
550
|
} else {
|
|
551
551
|
const Ve = t * Math.abs($a);
|
|
552
552
|
if (g.standalone)
|
|
553
553
|
F[f] = l, B[f] = l + Ve;
|
|
554
554
|
else {
|
|
555
|
-
const Ye = b[f],
|
|
556
|
-
F[f] = l + Ye, B[f] = l +
|
|
555
|
+
const Ye = b[f], Ue = Ye + Ve;
|
|
556
|
+
F[f] = l + Ye, B[f] = l + Ue, b[f] = Ue;
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
S.push(f), P.push(fe), z.push(
|
|
559
|
+
S.push(f), P.push(fe), z.push(U ?? (fe >= 0 ? 1 : -1));
|
|
560
560
|
}
|
|
561
|
-
const V = S.map((f) => ({ x: R(f), y: B[f] })),
|
|
561
|
+
const V = S.map((f) => ({ x: R(f), y: B[f] })), J = V.map((f) => f.x), G = P.reduce((f, $) => f + Math.abs($ || 0), 0), Y = G === 0 ? 1 : G, O = P.map((f, $) => {
|
|
562
562
|
if (e.value.style.chart.lines.distributed && !g.standalone) {
|
|
563
|
-
const
|
|
564
|
-
return (f || 0) /
|
|
563
|
+
const H = S[$], U = oa.value[H] || 1;
|
|
564
|
+
return (f || 0) / U;
|
|
565
565
|
}
|
|
566
566
|
return (f || 0) / Y;
|
|
567
567
|
});
|
|
568
568
|
return {
|
|
569
569
|
...g,
|
|
570
|
-
x:
|
|
570
|
+
x: J,
|
|
571
571
|
points: V,
|
|
572
572
|
baseY: S.map((f) => F[f]),
|
|
573
573
|
topY: S.map((f) => B[f]),
|
|
@@ -600,7 +600,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
600
600
|
return xl.value.map((A) => {
|
|
601
601
|
const d = A.x.length, u = Array.isArray(A.fullSeries) ? A.fullSeries : A.series, b = ({ left: Y = 0, unitW: O }) => {
|
|
602
602
|
const f = u.length;
|
|
603
|
-
return !Number.isFinite(O) || O <= 0 || f <= 0 ? [] : f === 1 ? [Y + O * 0.5] : u.map(($,
|
|
603
|
+
return !Number.isFinite(O) || O <= 0 || f <= 0 ? [] : f === 1 ? [Y + O * 0.5] : u.map(($, H) => Y + H * O);
|
|
604
604
|
}, R = ({ minimapH: Y }) => !Number.isFinite(Y) || Y <= 0 ? [] : u.map((O) => I(O || 0)), g = ({ minimapH: Y }) => {
|
|
605
605
|
if (!Number.isFinite(Y) || Y <= 0) return [];
|
|
606
606
|
const O = I(0);
|
|
@@ -619,17 +619,17 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
619
619
|
yMinimapBase: g
|
|
620
620
|
};
|
|
621
621
|
const S = A.x.map((Y, O) => ({ x: Y, y: A.topY[O] })), P = A.x.map((Y, O) => ({ x: Y, y: A.baseY[O] })), z = d >= 2 ? pe(S) : `M${S[0].x},${S[0].y}`, F = d >= 2 ? be(S) : `M${S[0].x},${S[0].y}`, B = d >= 2 ? `M${t(z)}` : z, V = d >= 2 ? `M${t(F)}` : F;
|
|
622
|
-
let
|
|
622
|
+
let J = "", G = "";
|
|
623
623
|
if (e.value.style.chart.lines.useArea && d >= 2) {
|
|
624
624
|
const Y = pe([...P].reverse()), O = be([...P].reverse()), f = P[P.length - 1];
|
|
625
|
-
|
|
625
|
+
J = `M${S[0].x},${S[0].y} ${t(z)} L${f.x},${f.y} ${t(Y)} Z`, G = `M${S[0].x},${S[0].y} ${t(F)} L${f.x},${f.y} ${t(O)} Z`;
|
|
626
626
|
}
|
|
627
627
|
return {
|
|
628
628
|
...A,
|
|
629
629
|
points: S,
|
|
630
630
|
smoothPath: B,
|
|
631
631
|
straightPath: V,
|
|
632
|
-
smoothArea:
|
|
632
|
+
smoothArea: J,
|
|
633
633
|
straightArea: G,
|
|
634
634
|
xMinimap: b,
|
|
635
635
|
yMinimap: R,
|
|
@@ -646,7 +646,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
646
646
|
Re.value = !0;
|
|
647
647
|
try {
|
|
648
648
|
const { startIndex: t, endIndex: l } = e.value.style.chart.zoom, a = ne.value, o = t ?? 0, s = l != null ? Math.min(ca(l + 1), a) : a;
|
|
649
|
-
tt.value = !0, c.value.start = o, c.value.end = s, le.value.start = o, le.value.end = s,
|
|
649
|
+
tt.value = !0, c.value.start = o, c.value.end = s, le.value.start = o, le.value.end = s, Qe(), ua.value = !0;
|
|
650
650
|
} finally {
|
|
651
651
|
queueMicrotask(() => {
|
|
652
652
|
tt.value = !1;
|
|
@@ -655,14 +655,14 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
function kl(t) {
|
|
658
|
-
Re.value || tt.value || t !== c.value.start && (c.value.start = t, le.value.start = t,
|
|
658
|
+
Re.value || tt.value || t !== c.value.start && (c.value.start = t, le.value.start = t, Qe());
|
|
659
659
|
}
|
|
660
660
|
function Cl(t) {
|
|
661
661
|
if (Re.value || tt.value) return;
|
|
662
662
|
const l = ca(t);
|
|
663
|
-
l !== c.value.end && (c.value.end = l, le.value.end = l,
|
|
663
|
+
l !== c.value.end && (c.value.end = l, le.value.end = l, Qe());
|
|
664
664
|
}
|
|
665
|
-
const
|
|
665
|
+
const Z = m(() => ({
|
|
666
666
|
left: v.value.left,
|
|
667
667
|
right: v.value.right,
|
|
668
668
|
width: v.value.width
|
|
@@ -696,16 +696,16 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
696
696
|
return { x: L, y: C, ok: !0 };
|
|
697
697
|
}
|
|
698
698
|
let xe = 0;
|
|
699
|
-
const
|
|
700
|
-
() =>
|
|
699
|
+
const K = m(() => Math.max(1, c.value.end - c.value.start)), At = m(
|
|
700
|
+
() => K.value > 1 ? v.value.width / (K.value - 1) : 0
|
|
701
701
|
);
|
|
702
702
|
function se(t) {
|
|
703
|
-
return
|
|
703
|
+
return K.value <= 1 ? v.value.left + v.value.width / 2 : v.value.left + t * At.value;
|
|
704
704
|
}
|
|
705
705
|
function va(t) {
|
|
706
|
-
if (
|
|
706
|
+
if (K.value <= 1)
|
|
707
707
|
return { x: v.value.left, width: v.value.width };
|
|
708
|
-
const l = t === 0 ? v.value.left : (se(t - 1) + se(t)) / 2, a = t ===
|
|
708
|
+
const l = t === 0 ? v.value.left : (se(t - 1) + se(t)) / 2, a = t === K.value - 1 ? v.value.left + v.value.width : (se(t) + se(t + 1)) / 2;
|
|
709
709
|
return { x: l, width: Math.max(0, a - l) };
|
|
710
710
|
}
|
|
711
711
|
function Sl(t) {
|
|
@@ -722,12 +722,12 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
722
722
|
return;
|
|
723
723
|
}
|
|
724
724
|
let n = 0;
|
|
725
|
-
if (
|
|
725
|
+
if (K.value > 1) {
|
|
726
726
|
const p = (l.x - a) / At.value;
|
|
727
727
|
n = Math.round(p);
|
|
728
728
|
} else
|
|
729
729
|
n = 0;
|
|
730
|
-
n < 0 && (n = 0), n >
|
|
730
|
+
n < 0 && (n = 0), n > K.value - 1 && (n = K.value - 1), wt.value !== n && (wt.value = n, da(!0, n));
|
|
731
731
|
}));
|
|
732
732
|
}
|
|
733
733
|
function Ml(t) {
|
|
@@ -736,12 +736,12 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
736
736
|
const { left: a, right: o, top: s, bottom: r } = v.value;
|
|
737
737
|
if (l.x < a || l.x > o || l.y < s || l.y > r) return;
|
|
738
738
|
let n = 0;
|
|
739
|
-
if (
|
|
739
|
+
if (K.value > 1) {
|
|
740
740
|
const p = (l.x - a) / At.value;
|
|
741
741
|
n = Math.round(p);
|
|
742
742
|
} else
|
|
743
743
|
n = 0;
|
|
744
|
-
n < 0 && (n = 0), n >
|
|
744
|
+
n < 0 && (n = 0), n > K.value - 1 && (n = K.value - 1), Ma({
|
|
745
745
|
seriesIndex: n,
|
|
746
746
|
datapoint: wa(n)
|
|
747
747
|
}), $l(n);
|
|
@@ -759,7 +759,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
759
759
|
Le(
|
|
760
760
|
() => [c.value.start, c.value.end, T.value.length],
|
|
761
761
|
() => {
|
|
762
|
-
const t =
|
|
762
|
+
const t = K.value;
|
|
763
763
|
if (x.value != null) {
|
|
764
764
|
if (t <= 0) {
|
|
765
765
|
x.value = null;
|
|
@@ -981,7 +981,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
981
981
|
const Be = m(() => {
|
|
982
982
|
const t = e.value.table.useDialog && !e.value.table.show, l = q.value.showTable;
|
|
983
983
|
return {
|
|
984
|
-
component: t ?
|
|
984
|
+
component: t ? Ka : Ga,
|
|
985
985
|
title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
|
|
986
986
|
props: t ? {
|
|
987
987
|
backgroundColor: e.value.table.th.backgroundColor,
|
|
@@ -1056,7 +1056,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1056
1056
|
const Aa = m(() => {
|
|
1057
1057
|
if (e.value.style.chart.lines.distributed)
|
|
1058
1058
|
return { min: -1, max: 1 };
|
|
1059
|
-
const t = re.value, l =
|
|
1059
|
+
const t = re.value, l = Ze.value, a = Math.max(
|
|
1060
1060
|
1,
|
|
1061
1061
|
...[...t, ...l].map((d) => d.series?.length || 0)
|
|
1062
1062
|
), o = Array(a).fill(0), s = Array(a).fill(0);
|
|
@@ -1104,30 +1104,30 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1104
1104
|
}, b = [], R = Array(r).fill(0);
|
|
1105
1105
|
return o.forEach((g) => {
|
|
1106
1106
|
const S = Array.isArray(g.fullSeries) ? g.fullSeries : g.series, P = new Array(r), z = new Array(r);
|
|
1107
|
-
for (let
|
|
1108
|
-
const ge = S?.[
|
|
1109
|
-
z[
|
|
1107
|
+
for (let U = 0; U < r; U += 1) {
|
|
1108
|
+
const ge = S?.[U], fe = ge == null || Number.isNaN(ge) ? 0 : Math.abs(ge) / d[U];
|
|
1109
|
+
z[U] = R[U], R[U] += fe, P[U] = R[U];
|
|
1110
1110
|
}
|
|
1111
|
-
const F = P.map(u), B = z.map(u), V = n.map((
|
|
1111
|
+
const F = P.map(u), B = z.map(u), V = n.map((U, ge) => ({ x: U, y: F[ge] })), J = n.map((U, ge) => ({ x: U, y: B[ge] })), G = pe(V), Y = pe([...J].reverse()), O = be(V), f = be([...J].reverse()), $ = J[J.length - 1];
|
|
1112
1112
|
if (e.value.style.chart.lines.useArea) {
|
|
1113
|
-
const
|
|
1113
|
+
const U = e.value.style.chart.lines.smooth ? `M${V[0].x},${V[0].y} ${a(G)} L${$.x},${$.y} ${a(Y)} Z` : `M${V[0].x},${V[0].y} ${a(O)} L${$.x},${$.y} ${a(f)} Z`;
|
|
1114
1114
|
b.push(
|
|
1115
|
-
`<path d="${
|
|
1116
|
-
fill="${zt.pattern ? `url(#pattern_${
|
|
1115
|
+
`<path d="${U}"
|
|
1116
|
+
fill="${zt.pattern ? `url(#pattern_${Q.value}_${g.absoluteIndex})` : (e.value.style.chart.lines.gradient.show, g.color)}"
|
|
1117
1117
|
opacity="${e.value.style.chart.lines.areaOpacity}"
|
|
1118
1118
|
stroke="none" />`
|
|
1119
1119
|
);
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1121
|
+
const H = e.value.style.chart.lines.smooth ? `M${V[0].x},${V[0].y} ${a(G)}` : `M${V[0].x},${V[0].y} ${a(O)}`;
|
|
1122
1122
|
b.push(
|
|
1123
|
-
`<path d="${
|
|
1123
|
+
`<path d="${H}"
|
|
1124
1124
|
fill="none"
|
|
1125
1125
|
stroke="${g.color}"
|
|
1126
1126
|
stroke-width="${e.value.style.chart.lines.strokeWidth}"
|
|
1127
1127
|
stroke-linecap="round" />`
|
|
1128
1128
|
);
|
|
1129
1129
|
}), s.length && s.forEach((g) => {
|
|
1130
|
-
const S = Array.isArray(g.fullSeries) ? g.fullSeries : g.series, P = Array.from({ length: r }, (
|
|
1130
|
+
const S = Array.isArray(g.fullSeries) ? g.fullSeries : g.series, P = Array.from({ length: r }, (J, G) => u(Math.abs(S?.[G] ?? 0) / d[G])), z = n.map((J, G) => ({ x: J, y: P[G] })), F = pe(z), B = be(z), V = e.value.style.chart.lines.smooth ? `M${z[0].x},${z[0].y} ${a(F)}` : `M${z[0].x},${z[0].y} ${a(B)}`;
|
|
1131
1131
|
b.push(
|
|
1132
1132
|
`<path d="${V}"
|
|
1133
1133
|
fill="none"
|
|
@@ -1143,15 +1143,15 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1143
1143
|
o.forEach((b) => {
|
|
1144
1144
|
const R = Array.isArray(b.fullSeries) ? b.fullSeries : b.series, g = new Array(r), S = new Array(r);
|
|
1145
1145
|
for (let $ = 0; $ < r; $ += 1) {
|
|
1146
|
-
const
|
|
1147
|
-
|
|
1146
|
+
const H = R?.[$] ?? 0;
|
|
1147
|
+
H >= 0 ? (S[$] = d[$], d[$] += H, g[$] = d[$]) : (S[$] = u[$], u[$] += H, g[$] = u[$]);
|
|
1148
1148
|
}
|
|
1149
|
-
const P = g.map(I), z = S.map(I), F = n.map(($,
|
|
1149
|
+
const P = g.map(I), z = S.map(I), F = n.map(($, H) => ({ x: $, y: P[H] })), B = n.map(($, H) => ({ x: $, y: z[H] })), V = pe(F), J = pe([...B].reverse()), G = be(F), Y = be([...B].reverse()), O = B[B.length - 1];
|
|
1150
1150
|
if (e.value.style.chart.lines.useArea) {
|
|
1151
|
-
const $ = e.value.style.chart.lines.smooth ? `M${F[0].x},${F[0].y} ${a(V)} L${O.x},${O.y} ${a(
|
|
1151
|
+
const $ = e.value.style.chart.lines.smooth ? `M${F[0].x},${F[0].y} ${a(V)} L${O.x},${O.y} ${a(J)} Z` : `M${F[0].x},${F[0].y} ${a(G)} L${O.x},${O.y} ${a(Y)} Z`;
|
|
1152
1152
|
A.push(
|
|
1153
1153
|
`<path d="${$}"
|
|
1154
|
-
fill="${zt.pattern ? `url(#pattern_${
|
|
1154
|
+
fill="${zt.pattern ? `url(#pattern_${Q.value}_${b.absoluteIndex})` : (e.value.style.chart.lines.gradient.show, b.color)}"
|
|
1155
1155
|
opacity="${e.value.style.chart.lines.areaOpacity}"
|
|
1156
1156
|
stroke="none" />`
|
|
1157
1157
|
);
|
|
@@ -1196,7 +1196,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1196
1196
|
{ datapoint: l, seriesIndex: a, datapointIndex: o }
|
|
1197
1197
|
);
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Ul(t, l, a, o) {
|
|
1200
1200
|
return Xe(
|
|
1201
1201
|
e.value.style.chart.lines.dataLabels.formatter,
|
|
1202
1202
|
t,
|
|
@@ -1216,12 +1216,12 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1216
1216
|
indexLabel: e.value.style.chart.grid.x.timeLabels.values[a]
|
|
1217
1217
|
});
|
|
1218
1218
|
}
|
|
1219
|
-
return
|
|
1219
|
+
return Ha({
|
|
1220
1220
|
getData: Ol,
|
|
1221
1221
|
getImage: Pl,
|
|
1222
|
-
generatePdf:
|
|
1222
|
+
generatePdf: Jt,
|
|
1223
1223
|
generateCsv: Tt,
|
|
1224
|
-
generateImage:
|
|
1224
|
+
generateImage: Zt,
|
|
1225
1225
|
generateSvg: ya,
|
|
1226
1226
|
hideSeries: Fl,
|
|
1227
1227
|
showSeries: Nl,
|
|
@@ -1231,7 +1231,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1231
1231
|
toggleAnnotator: dt,
|
|
1232
1232
|
toggleFullscreen: ba
|
|
1233
1233
|
}), (t, l) => (i(), h("div", {
|
|
1234
|
-
id: `stackline_${
|
|
1234
|
+
id: `stackline_${Q.value}`,
|
|
1235
1235
|
ref_key: "stacklineChart",
|
|
1236
1236
|
ref: ce,
|
|
1237
1237
|
class: Ta({ "vue-data-ui-component": !0, "vue-ui-stackline": !0, "vue-data-ui-wrapper-fullscreen": De.value }),
|
|
@@ -1239,7 +1239,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1239
1239
|
onMouseenter: rl,
|
|
1240
1240
|
onMouseleave: nl
|
|
1241
1241
|
}, [
|
|
1242
|
-
e.value.userOptions.buttons.annotator ? (i(), ie(M(
|
|
1242
|
+
e.value.userOptions.buttons.annotator ? (i(), ie(M(Ja), {
|
|
1243
1243
|
key: 0,
|
|
1244
1244
|
svgRef: M(we),
|
|
1245
1245
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
@@ -1296,9 +1296,9 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1296
1296
|
}, null, 8, ["config"]))
|
|
1297
1297
|
], 512)) : w("", !0),
|
|
1298
1298
|
ue("div", {
|
|
1299
|
-
id: `legend-top-${
|
|
1299
|
+
id: `legend-top-${Q.value}`
|
|
1300
1300
|
}, null, 8, Fo),
|
|
1301
|
-
e.value.userOptions.show && Fe.value && (M(Wt) || M(gt)) ? (i(), ie(M(
|
|
1301
|
+
e.value.userOptions.show && Fe.value && (M(Wt) || M(gt)) ? (i(), ie(M(Za), {
|
|
1302
1302
|
ref_key: "userOptionsRef",
|
|
1303
1303
|
ref: ut,
|
|
1304
1304
|
key: `user_option_${Pt.value}`,
|
|
@@ -1306,7 +1306,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1306
1306
|
color: e.value.style.chart.color,
|
|
1307
1307
|
isPrinting: M(Gt),
|
|
1308
1308
|
isImaging: M(jt),
|
|
1309
|
-
uid:
|
|
1309
|
+
uid: Q.value,
|
|
1310
1310
|
hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
|
|
1311
1311
|
hasPdf: e.value.userOptions.buttons.pdf,
|
|
1312
1312
|
hasImg: e.value.userOptions.buttons.img,
|
|
@@ -1326,9 +1326,9 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1326
1326
|
printScale: e.value.userOptions.print.scale,
|
|
1327
1327
|
tableDialog: e.value.table.useDialog,
|
|
1328
1328
|
onToggleFullscreen: ba,
|
|
1329
|
-
onGeneratePdf: M(
|
|
1329
|
+
onGeneratePdf: M(Jt),
|
|
1330
1330
|
onGenerateCsv: Tt,
|
|
1331
|
-
onGenerateImage: M(
|
|
1331
|
+
onGenerateImage: M(Zt),
|
|
1332
1332
|
onGenerateSvg: ya,
|
|
1333
1333
|
onToggleTable: xa,
|
|
1334
1334
|
onToggleLabels: ka,
|
|
@@ -1423,17 +1423,17 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1423
1423
|
onMouseleave: St,
|
|
1424
1424
|
onClick: Ml
|
|
1425
1425
|
}, [
|
|
1426
|
-
|
|
1426
|
+
He(M(Qa)),
|
|
1427
1427
|
(i(!0), h(E, null, W(re.value, (a) => (i(), h(E, null, [
|
|
1428
1428
|
t.$slots.pattern ? (i(), h("defs", Do, [
|
|
1429
|
-
_(t.$slots, "pattern", lt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${
|
|
1429
|
+
_(t.$slots, "pattern", lt({ ref_for: !0 }, { seriesIndex: a.absoluteIndex, patternId: `pattern_${Q.value}_${a.absoluteIndex}` }), void 0, !0)
|
|
1430
1430
|
])) : w("", !0)
|
|
1431
1431
|
], 64))), 256)),
|
|
1432
1432
|
t.$slots["chart-background"] ? (i(), h("foreignObject", {
|
|
1433
1433
|
key: 0,
|
|
1434
|
-
x:
|
|
1434
|
+
x: Z.value.left,
|
|
1435
1435
|
y: v.value.top,
|
|
1436
|
-
width:
|
|
1436
|
+
width: Z.value.width,
|
|
1437
1437
|
height: v.value.height,
|
|
1438
1438
|
style: {
|
|
1439
1439
|
pointerEvents: "none"
|
|
@@ -1460,8 +1460,8 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1460
1460
|
], 8, Io))), 256))
|
|
1461
1461
|
])) : w("", !0),
|
|
1462
1462
|
e.value.style.chart.grid.x.showHorizontalLines ? (i(!0), h(E, { key: 2 }, W($e.value, (a, o) => (i(), h("line", {
|
|
1463
|
-
x1:
|
|
1464
|
-
x2:
|
|
1463
|
+
x1: Z.value.left,
|
|
1464
|
+
x2: Z.value.right,
|
|
1465
1465
|
y1: a.y,
|
|
1466
1466
|
y2: a.y,
|
|
1467
1467
|
stroke: e.value.style.chart.grid.x.linesColor,
|
|
@@ -1481,8 +1481,8 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1481
1481
|
}, null, 8, Bo))), 256)) : w("", !0),
|
|
1482
1482
|
e.value.style.chart.grid.x.showAxis ? (i(), h("line", {
|
|
1483
1483
|
key: 4,
|
|
1484
|
-
x1:
|
|
1485
|
-
x2:
|
|
1484
|
+
x1: Z.value.left,
|
|
1485
|
+
x2: Z.value.right,
|
|
1486
1486
|
y1: v.value.bottom,
|
|
1487
1487
|
y2: v.value.bottom,
|
|
1488
1488
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
@@ -1492,8 +1492,8 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1492
1492
|
}, null, 8, Vo)) : w("", !0),
|
|
1493
1493
|
e.value.style.chart.grid.y.showAxis && !e.value.style.chart.lines.distributed ? (i(), h("line", {
|
|
1494
1494
|
key: 5,
|
|
1495
|
-
x1:
|
|
1496
|
-
x2:
|
|
1495
|
+
x1: Z.value.left,
|
|
1496
|
+
x2: Z.value.left,
|
|
1497
1497
|
y1: v.value.top,
|
|
1498
1498
|
y2: v.value.bottom,
|
|
1499
1499
|
stroke: e.value.style.chart.grid.y.axisColor,
|
|
@@ -1511,7 +1511,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1511
1511
|
fill: e.value.style.chart.grid.x.axisName.color,
|
|
1512
1512
|
"font-weight": e.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
|
|
1513
1513
|
"text-anchor": "middle"
|
|
1514
|
-
}, de(e.value.style.chart.grid.x.axisName.text), 9,
|
|
1514
|
+
}, de(e.value.style.chart.grid.x.axisName.text), 9, Uo)) : w("", !0),
|
|
1515
1515
|
e.value.style.chart.grid.y.axisName.show && e.value.style.chart.grid.y.axisName.text ? (i(), h("text", {
|
|
1516
1516
|
key: 7,
|
|
1517
1517
|
ref_key: "yAxisLabel",
|
|
@@ -1521,13 +1521,13 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1521
1521
|
fill: e.value.style.chart.grid.y.axisName.color,
|
|
1522
1522
|
"font-weight": e.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
|
|
1523
1523
|
"text-anchor": "middle"
|
|
1524
|
-
}, de(e.value.style.chart.grid.y.axisName.text), 9,
|
|
1524
|
+
}, de(e.value.style.chart.grid.y.axisName.text), 9, Ho)) : w("", !0),
|
|
1525
1525
|
e.value.style.chart.grid.frame.show ? (i(), h("rect", {
|
|
1526
1526
|
key: 8,
|
|
1527
1527
|
style: { pointerEvents: "none", transition: "none", animation: "none !important" },
|
|
1528
|
-
x:
|
|
1528
|
+
x: Z.value.left,
|
|
1529
1529
|
y: v.value.top,
|
|
1530
|
-
width:
|
|
1530
|
+
width: Z.value.width,
|
|
1531
1531
|
height: v.value.height,
|
|
1532
1532
|
fill: "transparent",
|
|
1533
1533
|
stroke: e.value.style.chart.grid.frame.stroke,
|
|
@@ -1540,7 +1540,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1540
1540
|
e.value.style.chart.lines.useArea && !a.standalone ? (i(), h("path", {
|
|
1541
1541
|
key: 0,
|
|
1542
1542
|
d: e.value.style.chart.lines.smooth ? a.smoothArea : a.straightArea,
|
|
1543
|
-
fill: t.$slots.pattern ? `url(#pattern_${
|
|
1543
|
+
fill: t.$slots.pattern ? `url(#pattern_${Q.value}_${a.absoluteIndex})` : e.value.style.chart.lines.gradient.show ? `url(#gradient_${a.id})` : a.color,
|
|
1544
1544
|
opacity: e.value.style.chart.lines.areaOpacity,
|
|
1545
1545
|
style: Te({
|
|
1546
1546
|
transition: M(he) || !e.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out"
|
|
@@ -1563,8 +1563,8 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1563
1563
|
ref: vt
|
|
1564
1564
|
}, [
|
|
1565
1565
|
(i(!0), h(E, null, W($e.value, (a, o) => (i(), h("line", {
|
|
1566
|
-
x1:
|
|
1567
|
-
x2:
|
|
1566
|
+
x1: Z.value.left,
|
|
1567
|
+
x2: Z.value.left - 6,
|
|
1568
1568
|
y1: a.y,
|
|
1569
1569
|
y2: a.y,
|
|
1570
1570
|
stroke: e.value.style.chart.grid.x.axisColor,
|
|
@@ -1594,21 +1594,21 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1594
1594
|
ref_key: "timeLabelsEls",
|
|
1595
1595
|
ref: je
|
|
1596
1596
|
}, [
|
|
1597
|
-
t.$slots["time-label"] ? (i(), h("g",
|
|
1597
|
+
t.$slots["time-label"] ? (i(), h("g", Jo, [
|
|
1598
1598
|
(i(!0), h(E, null, W(kt.value, (a, o) => (i(), h("g", null, [
|
|
1599
1599
|
_(t.$slots, "time-label", lt({ ref_for: !0 }, {
|
|
1600
|
-
x: v.value.left +
|
|
1600
|
+
x: v.value.left + Ke.value * o + Ke.value / 2,
|
|
1601
1601
|
y: v.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY,
|
|
1602
1602
|
fontSize: e.value.style.chart.grid.x.timeLabels.fontSize,
|
|
1603
1603
|
fill: e.value.style.chart.grid.x.timeLabels.color,
|
|
1604
|
-
transform: `translate(${v.value.left +
|
|
1604
|
+
transform: `translate(${v.value.left + Ke.value * o + Ke.value / 2}, ${v.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1605
1605
|
absoluteIndex: a.absoluteIndex,
|
|
1606
1606
|
content: a.text,
|
|
1607
1607
|
textAnchor: e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
1608
1608
|
show: !0
|
|
1609
1609
|
}), void 0, !0)
|
|
1610
1610
|
]))), 256))
|
|
1611
|
-
])) : (i(), h("g",
|
|
1611
|
+
])) : (i(), h("g", Zo, [
|
|
1612
1612
|
(i(!0), h(E, null, W(kt.value, (a, o) => (i(), h("g", null, [
|
|
1613
1613
|
String(a.text).includes(`
|
|
1614
1614
|
`) ? (i(), h("text", {
|
|
@@ -1632,7 +1632,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1632
1632
|
y: 0
|
|
1633
1633
|
}),
|
|
1634
1634
|
onClick: () => ma(a, o)
|
|
1635
|
-
}, null, 8,
|
|
1635
|
+
}, null, 8, Ko)) : (i(), h("text", {
|
|
1636
1636
|
class: "vue-data-ui-time-label",
|
|
1637
1637
|
key: o,
|
|
1638
1638
|
"text-anchor": e.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : e.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
|
|
@@ -1642,7 +1642,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1642
1642
|
transform: `translate(${se(o)}, ${v.value.bottom + e.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + e.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${e.value.style.chart.grid.x.timeLabels.rotation})`,
|
|
1643
1643
|
style: { cursor: "pointer" },
|
|
1644
1644
|
onClick: () => ma(a, o)
|
|
1645
|
-
}, de(a.text), 9,
|
|
1645
|
+
}, de(a.text), 9, Qo))
|
|
1646
1646
|
]))), 256))
|
|
1647
1647
|
]))
|
|
1648
1648
|
], 512)) : w("", !0),
|
|
@@ -1717,7 +1717,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1717
1717
|
fill: e.value.style.chart.lines.dataLabels.color,
|
|
1718
1718
|
"font-weight": e.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
|
|
1719
1719
|
"text-anchor": "middle"
|
|
1720
|
-
}, de(e.value.style.chart.lines.showDistributedPercentage && e.value.style.chart.lines.distributed ?
|
|
1720
|
+
}, de(e.value.style.chart.lines.showDistributedPercentage && e.value.style.chart.lines.distributed ? Ul(a.proportions[r] * 100, a, o, a.rel[r]) : Sa(a.series[r], a, o, a.rel[r], a.signedSeries[r])), 9, os)) : w("", !0)
|
|
1721
1721
|
], 64))), 128))
|
|
1722
1722
|
]))), 128)),
|
|
1723
1723
|
e.value.style.chart.lines.totalValues.show && T.value.length > 1 ? (i(), h("g", {
|
|
@@ -1752,9 +1752,9 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1752
1752
|
t.$slots.watermark ? (i(), h("div", ns, [
|
|
1753
1753
|
_(t.$slots, "watermark", ee(te({ isPrinting: M(Gt) || M(jt) })), void 0, !0)
|
|
1754
1754
|
])) : w("", !0),
|
|
1755
|
-
|
|
1755
|
+
Ut.value ? (i(), ie(jl, {
|
|
1756
1756
|
key: 5,
|
|
1757
|
-
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${
|
|
1757
|
+
to: e.value.style.chart.legend.position === "top" ? `#legend-top-${Q.value}` : `#legend-bottom-${Q.value}`
|
|
1758
1758
|
}, [
|
|
1759
1759
|
ue("div", {
|
|
1760
1760
|
ref_key: "chartLegend",
|
|
@@ -1778,12 +1778,12 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1778
1778
|
t.$slots.pattern ? {
|
|
1779
1779
|
name: "legend-pattern",
|
|
1780
1780
|
fn: D(({ legend: a, index: o }) => [
|
|
1781
|
-
|
|
1781
|
+
He(Dt, {
|
|
1782
1782
|
shape: a.shape,
|
|
1783
1783
|
radius: 30,
|
|
1784
1784
|
stroke: "none",
|
|
1785
1785
|
plot: { x: 30, y: 30 },
|
|
1786
|
-
fill: `url(#pattern_${
|
|
1786
|
+
fill: `url(#pattern_${Q.value}_${o})`
|
|
1787
1787
|
}, null, 8, ["shape", "fill"])
|
|
1788
1788
|
]),
|
|
1789
1789
|
key: "0"
|
|
@@ -1795,15 +1795,15 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1795
1795
|
], 512)
|
|
1796
1796
|
], 8, ["to"])) : w("", !0),
|
|
1797
1797
|
ue("div", {
|
|
1798
|
-
id: `legend-bottom-${
|
|
1798
|
+
id: `legend-bottom-${Q.value}`
|
|
1799
1799
|
}, null, 8, us),
|
|
1800
|
-
Fe.value && e.value.userOptions.buttons.table ? (i(), ie(
|
|
1800
|
+
Fe.value && e.value.userOptions.buttons.table ? (i(), ie(Jl(Be.value.component), lt({ key: 6 }, Be.value.props, {
|
|
1801
1801
|
ref_key: "tableUnit",
|
|
1802
1802
|
ref: ze,
|
|
1803
1803
|
onClose: pa
|
|
1804
1804
|
}), Ft({
|
|
1805
1805
|
content: D(() => [
|
|
1806
|
-
|
|
1806
|
+
He(M(ja), {
|
|
1807
1807
|
colNames: at.value.colNames,
|
|
1808
1808
|
head: at.value.head,
|
|
1809
1809
|
body: at.value.body,
|
|
@@ -1843,7 +1843,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1843
1843
|
class: "vue-ui-user-options-button",
|
|
1844
1844
|
onClick: l[1] || (l[1] = (a) => Tt(e.value.userOptions.callbacks.csv))
|
|
1845
1845
|
}, [
|
|
1846
|
-
|
|
1846
|
+
He(M(qa), {
|
|
1847
1847
|
name: "excel",
|
|
1848
1848
|
stroke: Be.value.props.color
|
|
1849
1849
|
}, null, 8, ["stroke"])
|
|
@@ -1913,7 +1913,7 @@ const Pa = { table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td:
|
|
|
1913
1913
|
]),
|
|
1914
1914
|
_: 3
|
|
1915
1915
|
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "start", "textColor", "timeLabels", "usePreciseLabels", "valueEnd", "valueStart", "verticalHandles"])) : w("", !0),
|
|
1916
|
-
|
|
1916
|
+
He(M(Xa), {
|
|
1917
1917
|
show: q.value.showTooltip && Et.value,
|
|
1918
1918
|
backgroundColor: e.value.style.chart.tooltip.backgroundColor,
|
|
1919
1919
|
color: e.value.style.chart.tooltip.color,
|