vue-data-ui 3.13.2 → 3.13.4
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/{PackageVersion-CdPbb2sr.js → PackageVersion-C1Ia4Osa.js} +1 -1
- package/dist/{Slicer-D6ACafGp.js → Slicer-BELCOFx-.js} +167 -160
- package/dist/{SlicerPreview-BEkr4ELo.js → SlicerPreview-BciDdnXB.js} +223 -216
- package/dist/{Title-CeMocAxM.js → Title-DPeHXmsJ.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-bump.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-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/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useNestedProp-Bamwa7TH.js → useNestedProp-DjoyBYIz.js} +5 -2
- package/dist/{vue-data-ui-C_fGFzEp.js → vue-data-ui-CXMubDkQ.js} +67 -67
- package/dist/vue-data-ui.js +69 -69
- package/dist/{vue-ui-3d-bar-DP7IdUbR.js → vue-ui-3d-bar-DuIllDhC.js} +3 -3
- package/dist/{vue-ui-accordion-d_mYq_ty.js → vue-ui-accordion-DIafkLLh.js} +1 -1
- package/dist/{vue-ui-age-pyramid-NXkGU5ye.js → vue-ui-age-pyramid-F277LP_p.js} +3 -3
- package/dist/{vue-ui-annotator-K9tPH67i.js → vue-ui-annotator-CWklKU90.js} +2 -2
- package/dist/{vue-ui-bullet-BGuwKETO.js → vue-ui-bullet-DGiNmsY5.js} +3 -3
- package/dist/{vue-ui-bump-DEOPNx5y.js → vue-ui-bump-BVx3pyWE.js} +3 -3
- package/dist/{vue-ui-candlestick-BWq1wKcM.js → vue-ui-candlestick-q20Az_vC.js} +7 -6
- package/dist/{vue-ui-carousel-table-CZxffzDF.js → vue-ui-carousel-table-paln_xSL.js} +2 -2
- package/dist/{vue-ui-chestnut-50SNPqfM.js → vue-ui-chestnut-BUQVCplK.js} +2 -2
- package/dist/{vue-ui-chord-DlrZM-bY.js → vue-ui-chord-Ce3Ac3OA.js} +3 -3
- package/dist/{vue-ui-circle-pack-tbs6FbUJ.js → vue-ui-circle-pack-DjjvjEaN.js} +3 -3
- package/dist/{vue-ui-cursor-CeX4EQK5.js → vue-ui-cursor-xJGQfL6H.js} +2 -2
- package/dist/{vue-ui-dag-kSTQu200.js → vue-ui-dag-BcTqF3b0.js} +3 -3
- package/dist/{vue-ui-dashboard-CVIihTvt.js → vue-ui-dashboard-Dq3WouX5.js} +64 -64
- package/dist/{vue-ui-digits-C8-MaCF9.js → vue-ui-digits-oaX2Rgl6.js} +1 -1
- package/dist/{vue-ui-donut-CvgJGvr8.js → vue-ui-donut-BZ84Pw3F.js} +3 -3
- package/dist/{vue-ui-donut-evolution-8t3VpFBM.js → vue-ui-donut-evolution-BtuKKVDh.js} +28 -27
- package/dist/{vue-ui-dumbbell-DhsqhBMZ.js → vue-ui-dumbbell-C7sKuu8m.js} +3 -3
- package/dist/{vue-ui-flow-40_lIp68.js → vue-ui-flow-Bkx_4KR7.js} +3 -3
- package/dist/{vue-ui-funnel-B2ORn05E.js → vue-ui-funnel-C0Sqt3pg.js} +3 -3
- package/dist/{vue-ui-galaxy--TlNs2Sg.js → vue-ui-galaxy-C6ByAwPf.js} +3 -3
- package/dist/{vue-ui-gauge-DeY4BNFp.js → vue-ui-gauge-DjtuUa1j.js} +3 -3
- package/dist/{vue-ui-geo-aGn1sexm.js → vue-ui-geo-ClwaBRr4.js} +3 -3
- package/dist/{vue-ui-gizmo-CRFCxxhM.js → vue-ui-gizmo-DYwoPoKw.js} +2 -2
- package/dist/{vue-ui-heatmap-CL4ljUus.js → vue-ui-heatmap-B2cjprkn.js} +4 -4
- package/dist/{vue-ui-history-plot-DLxBpK70.js → vue-ui-history-plot-DovDgs7d.js} +3 -3
- package/dist/{vue-ui-horizontal-bar-BZk6t1_d.js → vue-ui-horizontal-bar-DRMphY-v.js} +4 -4
- package/dist/{vue-ui-kpi-C_1ELuRv.js → vue-ui-kpi-2p_HJTZq.js} +2 -2
- package/dist/{vue-ui-mini-loader-BZTxux3w.js → vue-ui-mini-loader-DirRi7mP.js} +1 -1
- package/dist/{vue-ui-molecule-BpcyfHpM.js → vue-ui-molecule-C7mCNWSS.js} +2 -2
- package/dist/{vue-ui-mood-radar-B6LV7jqY.js → vue-ui-mood-radar-DHKPV6u3.js} +3 -3
- package/dist/{vue-ui-nested-donuts-e_22lyMT.js → vue-ui-nested-donuts-Bqn7bXhu.js} +3 -3
- package/dist/{vue-ui-onion-BzOC2siQ.js → vue-ui-onion-HjD5re6K.js} +3 -3
- package/dist/{vue-ui-parallel-coordinate-plot-BVHkiOKh.js → vue-ui-parallel-coordinate-plot-C6c1w_tp.js} +3 -3
- package/dist/{vue-ui-quadrant-DGVkfAF_.js → vue-ui-quadrant-CS6dfVYx.js} +3 -3
- package/dist/{vue-ui-quick-chart-BsCVVyys.js → vue-ui-quick-chart-Bb0NyRBA.js} +66 -65
- package/dist/{vue-ui-radar-C6lj2GXI.js → vue-ui-radar-B6bvhvKt.js} +3 -3
- package/dist/{vue-ui-rating-CFH0jY6v.js → vue-ui-rating-CiFrD-_T.js} +1 -1
- package/dist/{vue-ui-relation-circle-D1sMLtFh.js → vue-ui-relation-circle-Cr_mR_Es.js} +3 -3
- package/dist/{vue-ui-ridgeline-Migykkg5.js → vue-ui-ridgeline-BUJV2OdA.js} +3 -3
- package/dist/{vue-ui-rings-C_BzwPOl.js → vue-ui-rings-T3n2Cf5q.js} +3 -3
- package/dist/{vue-ui-scatter-0N2N7p2u.js → vue-ui-scatter-4FqvwLM6.js} +3 -3
- package/dist/{vue-ui-skeleton-B2I-tk1Z.js → vue-ui-skeleton-CUTTNN7A.js} +2 -2
- package/dist/{vue-ui-smiley-CXzhTaY2.js → vue-ui-smiley-mnhG8ue5.js} +1 -1
- package/dist/{vue-ui-spark-trend-b7A0JJM8.js → vue-ui-spark-trend-C0HTcNoj.js} +2 -2
- package/dist/{vue-ui-sparkbar-Dvrm3-uj.js → vue-ui-sparkbar-uLJAjJXH.js} +2 -2
- package/dist/{vue-ui-sparkgauge-DxgBvphO.js → vue-ui-sparkgauge-DDDXxyYQ.js} +2 -2
- package/dist/{vue-ui-sparkhistogram-ukOI-h6-.js → vue-ui-sparkhistogram-Cv8MPWe7.js} +2 -2
- package/dist/{vue-ui-sparkline-Drbps9xL.js → vue-ui-sparkline-D5ghw08L.js} +4 -4
- package/dist/{vue-ui-sparkstackbar-JIdKUFx1.js → vue-ui-sparkstackbar-CPA_xyx9.js} +2 -2
- package/dist/{vue-ui-stackbar-CXvQ4Bm_.js → vue-ui-stackbar-C3FQP-xJ.js} +94 -93
- package/dist/{vue-ui-stackline-CWRoLOhP.js → vue-ui-stackline-BxyretmG.js} +7 -6
- package/dist/{vue-ui-strip-plot-BANUvymx.js → vue-ui-strip-plot-BZ9iOWqO.js} +3 -3
- package/dist/{vue-ui-table-kCir7kax.js → vue-ui-table-NIg7DLgl.js} +3 -3
- package/dist/{vue-ui-table-heatmap-BMAWjTp_.js → vue-ui-table-heatmap-CGE28byI.js} +1 -1
- package/dist/{vue-ui-table-sparkline-brPOHGmn.js → vue-ui-table-sparkline-dGPa0o9F.js} +2 -2
- package/dist/{vue-ui-thermometer-C6v-w70_.js → vue-ui-thermometer-CaaunlPx.js} +3 -3
- package/dist/{vue-ui-timer-DQ5yKVhX.js → vue-ui-timer-D2APjrbL.js} +3 -3
- package/dist/{vue-ui-tiremarks-DdE7O4Ur.js → vue-ui-tiremarks-BiFzeEgA.js} +3 -3
- package/dist/{vue-ui-treemap-VzO40faB.js → vue-ui-treemap-B_2upayj.js} +3 -3
- package/dist/{vue-ui-waffle-CnzdJgOz.js → vue-ui-waffle-BX6WCDgf.js} +3 -3
- package/dist/{vue-ui-wheel-Cq_Iy__D.js → vue-ui-wheel-DCPU0Kts.js} +3 -3
- package/dist/{vue-ui-word-cloud-BH3iu9jm.js → vue-ui-word-cloud-BNVXwbj3.js} +3 -3
- package/dist/{vue-ui-world-92UxudT5.js → vue-ui-world-BGdgyGOZ.js} +2 -2
- package/dist/{vue-ui-xy-canvas-BH6gw0g-.js → vue-ui-xy-canvas-CQtgYpEg.js} +91 -90
- package/dist/{vue-ui-xy-CYKmyeYg.js → vue-ui-xy-un6b4oO0.js} +240 -239
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineAsyncComponent as pe, ref as d, computed as m, useSlots as Xa, onMounted as Ml, toRefs as Ua, watch as O, nextTick as Ce, onBeforeUnmount as $l, shallowRef as je, createElementBlock as Ie, openBlock as $, normalizeClass as
|
|
1
|
+
import { defineAsyncComponent as pe, ref as d, computed as m, useSlots as Xa, onMounted as Ml, toRefs as Ua, watch as O, nextTick as Ce, onBeforeUnmount as $l, shallowRef as je, createElementBlock as Ie, openBlock as $, normalizeClass as Wa, normalizeStyle as xe, createCommentVNode as _, createElementVNode as J, createBlock as H, unref as C, createSlots as Il, withCtx as p, renderSlot as S, normalizeProps as Q, guardReactiveProps as ee, createVNode as El, Teleport as Va, toDisplayString as qe, resolveDynamicComponent as Ya, mergeProps as ja, createTextVNode as Ol } from "vue";
|
|
2
2
|
import { c as qa, t as Ga, i as Za, j as le, a1 as Ja, k as Ka, N as Ge, a as se, d as ue, m as Rl, R as Qa, a7 as et, T as lt, o as at, g as tt, y as Bl, s as Le, q as ot, v as rt, r as st, _ as ut } from "./lib-BrVUf7jz.js";
|
|
3
3
|
import { c as nt, a as Ze, d as it, t as ct, u as vt, l as A, r as Ee, b as Y, p as Pl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as dt, a as Oe } from "./useNestedProp-
|
|
4
|
+
import { u as dt, a as Oe } from "./useNestedProp-DjoyBYIz.js";
|
|
5
5
|
import { u as ht, B as ft } from "./BaseScanner-BMpwQAfz.js";
|
|
6
6
|
import { u as gt } from "./usePrinter-DKjCimma.js";
|
|
7
7
|
import { u as yt, a as mt, l as bt } from "./useTimeLabels-DKoynYae.js";
|
|
@@ -10,21 +10,21 @@ import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
|
|
|
10
10
|
import { u as xt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
11
|
import Lt from "./img-BMMrBrFA.js";
|
|
12
12
|
import At from "./Legend-DDvnrFfr.js";
|
|
13
|
-
import kt from "./Title-
|
|
13
|
+
import kt from "./Title-DPeHXmsJ.js";
|
|
14
14
|
import wt from "./BaseIcon-CJ7mD4nD.js";
|
|
15
|
-
import
|
|
16
|
-
import { S as
|
|
15
|
+
import zt from "./vue-ui-accordion-DIafkLLh.js";
|
|
16
|
+
import { S as St } from "./SlicerPreview-BciDdnXB.js";
|
|
17
17
|
import { B as Ft } from "./BaseLegendToggle-BMdGBKCs.js";
|
|
18
18
|
import { _ as Tt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
19
|
-
const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { show: !0 } }, legend: { show: !1 }, bar: { gradient: { show: !1 } } } } }, _l = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" }, bar: { gradient: { show: !1 } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Hl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Xl = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#5D4037" }, legend: { backgroundColor: "#FFF8E1", color: "#424242", selectAllToggle: { backgroundColor: "#5D4037", color: "#FFF8E1" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#424242" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#9A9A9A" }, timeLabels: { color: "#424242" } }, zeroLine: { color: "#424242" } }, dataLabels: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ul = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#BDBDBD" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#BDBDBD" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#BDBDBD" } }, zeroLine: { color: "#5D4037" } }, dataLabels: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } },
|
|
19
|
+
const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { show: !0 } }, legend: { show: !1 }, bar: { gradient: { show: !1 } } } } }, _l = { userOptions: { show: !1 }, style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { show: !0, selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { show: !1, backgroundColor: "#1A1A1A", color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" }, bar: { gradient: { show: !1 } } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Hl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoom: { color: "#4A4A4A", highlightColor: "#9A9A9A", minimap: { selectedColor: "#8A8A8A", lineColor: "#424242", indicatorColor: "#CCCCCC" } }, selector: { color: "#CCCCCC" }, legend: { backgroundColor: "#1A1A1A", color: "#CCCCCC", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#CCCCCC" } }, title: { color: "#CCCCCC", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#5A5A5A" }, grid: { y: { axisColor: "#5A5A5A", axisLabels: { color: "#CCCCCC" }, verticalLines: { color: "#4A4A4A" } }, x: { axisColor: "#5A5A5A", horizontalLines: { color: "#4A4A4A" }, timeLabels: { color: "#CCCCCC" } }, zeroLine: { color: "#5A5A5A" } }, dataLabels: { color: "#CCCCCC" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#CCCCCC" }, td: { backgroundColor: "#1A1A1A", color: "#CCCCCC" } } }, Xl = { style: { chart: { backgroundColor: "#FFF8E1", color: "#424242", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#5D4037" }, legend: { backgroundColor: "#FFF8E1", color: "#424242", selectAllToggle: { backgroundColor: "#5D4037", color: "#FFF8E1" } }, title: { color: "#424242", subtitle: { color: "#757575" } }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#424242" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#9A9A9A" }, timeLabels: { color: "#424242" } }, zeroLine: { color: "#424242" } }, dataLabels: { color: "#424242" } } }, table: { th: { backgroundColor: "#FFF8E1", color: "#424242" }, td: { backgroundColor: "#FFF8E1", color: "#424242" } } }, Ul = { style: { chart: { backgroundColor: "#1E1E1E", color: "#BDBDBD", zoom: { color: "#5D4037", highlightColor: "#FF8A65" }, selector: { color: "#BDBDBD" }, legend: { backgroundColor: "#1E1E1E", color: "#BDBDBD", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#BDBDBD" } }, title: { color: "#FFF8E1", subtitle: { color: "#BDBDBD" } }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" }, grid: { y: { axisColor: "#5D4037", axisLabels: { color: "#BDBDBD" }, verticalLines: { show: !1 } }, x: { axisColor: "#5D4037", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#BDBDBD" } }, zeroLine: { color: "#5D4037" } }, dataLabels: { color: "#BDBDBD" } } }, table: { th: { backgroundColor: "#1E1E1E", color: "#BDBDBD" }, td: { backgroundColor: "#1E1E1E", color: "#BDBDBD" } } }, Wl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, selector: { color: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", color: "#99AA99", selectAllToggle: { backgroundColor: "#3A3A3A", color: "#99AA99" } }, title: { color: "#66CC66", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66", borderRadius: 0 }, grid: { y: { axisColor: "#5F6A5F", axisLabels: { color: "#99AA99" }, verticalLines: { show: !1 } }, x: { axisColor: "#5F6A5F", horizontalLines: { color: "#3A3A3A" }, timeLabels: { color: "#99AA99" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#99AA99" } } }, table: { th: { backgroundColor: "#1A1A1A", color: "#99AA99" }, td: { backgroundColor: "#1A1A1A", color: "#AACCAA" } } }, Vl = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, selector: { color: "#8F837A" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99", selectAllToggle: { backgroundColor: "#E0CFC3", color: "#8F837A" } }, title: { color: "#8A9892", subtitle: { color: "#99AA99" } }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" }, grid: { y: { axisColor: "#8F837A", axisLabels: { color: "#8F837A" }, verticalLines: { show: !1 } }, x: { axisColor: "#8F837A", horizontalLines: { show: !1, alternate: !1 }, timeLabels: { color: "#8F837A" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#8F837A" } } }, table: { th: { backgroundColor: "#fbfafa", color: "#8F837A" }, td: { backgroundColor: "#fbfafa", color: "#8F837A" } } }, Yl = { style: { chart: { backgroundColor: "#f6f6fb", color: "#50606C", zoom: { color: "#92B0AB", highlightColor: "#50606C" }, selector: { color: "#7DA9B5" }, legend: { backgroundColor: "#f6f6fb", color: "#61747E", selectAllToggle: { backgroundColor: "#50606C", color: "#f6f6fb" } }, title: { color: "#50606C", subtitle: { color: "#718890" } }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" }, grid: { y: { axisColor: "#829C98", axisLabels: { color: "#50606C" }, verticalLines: { show: !1 } }, x: { axisColor: "#829C98", timeLabels: { color: "#50606C" } }, zeroLine: { color: "#444444" } }, dataLabels: { color: "#50606C" } } }, table: { th: { backgroundColor: "#f6f6fb", color: "#50606C" }, td: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, jl = {
|
|
20
20
|
default: {},
|
|
21
21
|
minimal: Nl,
|
|
22
22
|
minimalDark: _l,
|
|
23
23
|
dark: Hl,
|
|
24
24
|
celebration: Xl,
|
|
25
25
|
celebrationNight: Ul,
|
|
26
|
-
hack:
|
|
27
|
-
zen:
|
|
26
|
+
hack: Wl,
|
|
27
|
+
zen: Vl,
|
|
28
28
|
concrete: Yl
|
|
29
29
|
}, ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
30
30
|
__proto__: null,
|
|
@@ -33,10 +33,10 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
33
33
|
concrete: Yl,
|
|
34
34
|
dark: Hl,
|
|
35
35
|
default: jl,
|
|
36
|
-
hack:
|
|
36
|
+
hack: Wl,
|
|
37
37
|
minimal: Nl,
|
|
38
38
|
minimalDark: _l,
|
|
39
|
-
zen:
|
|
39
|
+
zen: Vl
|
|
40
40
|
}, Symbol.toStringTag, { value: "Module" })), Dt = ["id"], Mt = ["id"], $t = ["id"], It = ["onClick"], Et = {
|
|
41
41
|
key: 4,
|
|
42
42
|
class: "vue-data-ui-watermark"
|
|
@@ -62,11 +62,11 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
62
62
|
},
|
|
63
63
|
emits: ["selectLegend", "selectX"],
|
|
64
64
|
setup(Je, { expose: ql, emit: Gl }) {
|
|
65
|
-
const Zl = pe(() => import("./Tooltip-jUEeS8VT.js")), Jl = pe(() => import("./DataTable-C2E28XF-.js")), Kl = pe(() => import("./UserOptions-DV6hYCK6.js")), Ql = pe(() => import("./NonSvgPenAndPaper-dznYxXaY.js")), ea = pe(() => import("./BaseDraggableDialog-DC6U5583.js")), { vue_ui_xy_canvas: la } = dt(), { isThemeValid: aa, warnInvalidTheme: ta } = pt(), I = Je, K = d(qa()), X = d(null), ae = d(null), c = d(null), y = d(1), j = d(1), ne = d(!1), h = d(null), Ae = d(""), Ke = d(null), b = d([]), te = d(1), R = d(!0), U = d(!0), ke = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Re = d(0), Be = d(0), Pe = d(0), B = d(null), tl = d(!1), ce = d(null), Ne = d(null), ve = d(!1), ol = d(!1), we = d(!1), k = d(null),
|
|
65
|
+
const Zl = pe(() => import("./Tooltip-jUEeS8VT.js")), Jl = pe(() => import("./DataTable-C2E28XF-.js")), Kl = pe(() => import("./UserOptions-DV6hYCK6.js")), Ql = pe(() => import("./NonSvgPenAndPaper-dznYxXaY.js")), ea = pe(() => import("./BaseDraggableDialog-DC6U5583.js")), { vue_ui_xy_canvas: la } = dt(), { isThemeValid: aa, warnInvalidTheme: ta } = pt(), I = Je, K = d(qa()), X = d(null), ae = d(null), c = d(null), y = d(1), j = d(1), ne = d(!1), h = d(null), Ae = d(""), Ke = d(null), b = d([]), te = d(1), R = d(!0), U = d(!0), ke = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Re = d(0), Be = d(0), Pe = d(0), B = d(null), tl = d(!1), ce = d(null), Ne = d(null), ve = d(!1), ol = d(!1), we = d(!1), k = d(null), W = m(() => Array.isArray(He.value) && He.value.length > 0), _e = Gl, oa = Xa();
|
|
66
66
|
Ml(() => {
|
|
67
67
|
oa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
68
68
|
});
|
|
69
|
-
const l = d(Ue()), ra = m(() => !!l.value.debug), { loading:
|
|
69
|
+
const l = d(Ue()), ra = m(() => !!l.value.debug), { loading: ze, FINAL_DATASET: He } = ht({
|
|
70
70
|
...Ua(I),
|
|
71
71
|
FINAL_CONFIG: l,
|
|
72
72
|
prepareConfig: Ue,
|
|
@@ -170,7 +170,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
170
170
|
})), a;
|
|
171
171
|
}
|
|
172
172
|
O(() => I.config, (e) => {
|
|
173
|
-
|
|
173
|
+
ze.value || (l.value = Ue()), Xe.value = !l.value.userOptions.showOnChartHover, Al(), Re.value += 1, Be.value += 1, Pe.value += 1, v.value.showTable = l.value.table.show, v.value.showDataLabels = l.value.style.chart.dataLabels.show, v.value.stacked = l.value.style.chart.stacked, v.value.showTooltip = l.value.style.chart.tooltip.show;
|
|
174
174
|
}, { deep: !0 }), O(() => I.dataset, async (e) => {
|
|
175
175
|
!Array.isArray(e) || e.length === 0 || (await Ce(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), R.value = !0, U.value = !0, await he(), Fe(), Re.value += 1, Be.value += 1, Pe.value += 1);
|
|
176
176
|
}, { deep: !0 });
|
|
@@ -213,15 +213,15 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
213
213
|
const L = u.min < 0 ? Math.abs(u.min) : 0, N = gl(x + L, L + u.max);
|
|
214
214
|
let me, be;
|
|
215
215
|
e && (me = u.min, be = gl(x - me, u.max - me));
|
|
216
|
-
let
|
|
217
|
-
return f === null ?
|
|
216
|
+
let V = 0;
|
|
217
|
+
return f === null ? V = o.value.bottom - o.value.height * (e ? be : N) : V = o.value.bottom - i - n * (e ? be : N), {
|
|
218
218
|
x: o.value.left + o.value.slot * M + o.value.slot / 2,
|
|
219
|
-
y:
|
|
219
|
+
y: V,
|
|
220
220
|
value: x
|
|
221
221
|
};
|
|
222
222
|
});
|
|
223
223
|
}
|
|
224
|
-
const
|
|
224
|
+
const z = m(() => {
|
|
225
225
|
const e = l.value.style.chart.scale.min !== null ? l.value.style.chart.scale.min : Math.min(...F.value.filter((n, f) => !b.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), a = l.value.style.chart.scale.max !== null ? l.value.style.chart.scale.max : Math.max(...F.value.filter((n, f) => !b.value.includes(n.absoluteIndex)).flatMap((n) => n.series.slice(r.value.start, r.value.end))), t = Ge(e < 0 ? e : 0, a === e ? e + 1 < 0 ? 0 : e + 1 : a < 0 ? 0 : a, l.value.style.chart.scale.ticks), s = t.min < 0 ? Math.abs(t.min) : 0, u = o.value.bottom - o.value.height * (s / (t.max + s)), i = t.ticks.map((n) => ({
|
|
226
226
|
y: o.value.bottom - o.value.height * ((n + s) / (t.max + s)),
|
|
227
227
|
x: o.value.left - 8,
|
|
@@ -253,10 +253,10 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
253
253
|
{ datapoint: e, seriesIndex: h.value }
|
|
254
254
|
)}</span>
|
|
255
255
|
</div>
|
|
256
|
-
`)),
|
|
256
|
+
`)), Se = m(() => l.value.style.chart.line.cutNullValues), F = m(() => He.value.map((e, a) => ({
|
|
257
257
|
...e,
|
|
258
258
|
series: Qa({
|
|
259
|
-
data: et(e.series, [],
|
|
259
|
+
data: et(e.series, [], Se.value),
|
|
260
260
|
threshold: l.value.downsample.threshold
|
|
261
261
|
}),
|
|
262
262
|
absoluteIndex: a,
|
|
@@ -280,7 +280,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
280
280
|
series: e.series.slice(r.value.start, r.value.end)
|
|
281
281
|
})).map((e, a) => {
|
|
282
282
|
let t = [null, void 0].includes(e.scaleMin) ? Math.min(...e.series) || 0 : e.scaleMin, s = [null, void 0].includes(e.scaleMax) ? Math.max(...e.series) || 1 : e.scaleMax;
|
|
283
|
-
t === s && (t = t >= 0 ? s - 1 : t, s = s >= 0 ? s : t + 1), e.series.filter((
|
|
283
|
+
t === s && (t = t >= 0 ? s - 1 : t, s = s >= 0 ? s : t + 1), e.series.filter((V) => ![null, void 0].includes(V)).map((V) => (V - t) / (s - t));
|
|
284
284
|
const u = {
|
|
285
285
|
valueMin: t,
|
|
286
286
|
valueMax: s
|
|
@@ -290,16 +290,16 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
290
290
|
const f = v.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0, x = v.value.stacked ? o.value.height / l.value.style.chart.stackGap : 0, M = v.value.stacked ? o.value.height * e.stackRatio - x : o.value.height, L = n.min < 0 ? Math.abs(n.min) : 0;
|
|
291
291
|
let N;
|
|
292
292
|
e.autoScaling && v.value.stacked && s <= 0 ? N = o.value.bottom - f - M : N = o.value.bottom - f - M * (L / (n.max + L));
|
|
293
|
-
const me = n.ticks.map((
|
|
293
|
+
const me = n.ticks.map((V, Ha) => ({
|
|
294
294
|
y: o.value.bottom - f - M * (Ha / (n.ticks.length - 1)),
|
|
295
295
|
x: o.value.left - 8,
|
|
296
|
-
value:
|
|
296
|
+
value: V
|
|
297
297
|
})), be = ia({
|
|
298
298
|
hasAutoScale: v.value.stacked && e.autoScaling,
|
|
299
299
|
series: e.series,
|
|
300
|
-
min: v.value.stacked ? t :
|
|
301
|
-
max: v.value.stacked ? s :
|
|
302
|
-
scale: v.value.stacked ? n :
|
|
300
|
+
min: v.value.stacked ? t : z.value.min,
|
|
301
|
+
max: v.value.stacked ? s : z.value.max,
|
|
302
|
+
scale: v.value.stacked ? n : z.value.scale,
|
|
303
303
|
yOffset: f,
|
|
304
304
|
individualHeight: M,
|
|
305
305
|
stackIndex: v.value.stacked ? a : null
|
|
@@ -342,7 +342,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
342
342
|
ve.value = !0;
|
|
343
343
|
try {
|
|
344
344
|
const { startIndex: e, endIndex: a } = l.value.style.chart.zoom, t = Math.max(...F.value.map((i) => i.series.length)), s = e ?? 0, u = a != null ? Math.min(bl(a + 1), t) : t;
|
|
345
|
-
we.value = !0, r.value.start = s, r.value.end = u, T.value.start = s, T.value.end = u,
|
|
345
|
+
we.value = !0, r.value.start = s, r.value.end = u, T.value.start = s, T.value.end = u, We(), ol.value = !0, await Ce(), q.value && (q.value.setStartValue(r.value.start), q.value.setEndValue(r.value.end));
|
|
346
346
|
} finally {
|
|
347
347
|
queueMicrotask(() => {
|
|
348
348
|
we.value = !1;
|
|
@@ -351,18 +351,18 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
function ga(e) {
|
|
354
|
-
ve.value || we.value || e !== r.value.start && (r.value.start = e, T.value.start = e,
|
|
354
|
+
ve.value || we.value || e !== r.value.start && (r.value.start = e, T.value.start = e, We());
|
|
355
355
|
}
|
|
356
356
|
function ya(e) {
|
|
357
357
|
if (ve.value || we.value) return;
|
|
358
358
|
const a = bl(e);
|
|
359
|
-
a !== r.value.end && (r.value.end = a, T.value.end = a,
|
|
359
|
+
a !== r.value.end && (r.value.end = a, T.value.end = a, We());
|
|
360
360
|
}
|
|
361
361
|
function bl(e) {
|
|
362
362
|
const a = E.value;
|
|
363
363
|
return e > a ? a : e < 0 || e < r.value.start ? l.value.style.chart.zoom.startIndex !== null ? l.value.style.chart.zoom.startIndex + 1 : 1 : e;
|
|
364
364
|
}
|
|
365
|
-
function
|
|
365
|
+
function We() {
|
|
366
366
|
const e = Math.max(
|
|
367
367
|
1,
|
|
368
368
|
Math.max(...F.value.map((s) => s.series.length))
|
|
@@ -376,7 +376,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
376
376
|
const e = ae.value.offsetWidth, a = ae.value.offsetHeight;
|
|
377
377
|
w.value.width = e * te.value * 2, w.value.height = a * te.value * 2, y.value = e * te.value * 2, j.value = a * te.value * 2, c.value?.scale(te.value, te.value), G();
|
|
378
378
|
}
|
|
379
|
-
O(
|
|
379
|
+
O(W, async (e) => {
|
|
380
380
|
if (!e) {
|
|
381
381
|
ke.value = null, ne.value = !1, h.value = null, B.value = null;
|
|
382
382
|
return;
|
|
@@ -384,7 +384,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
384
384
|
await Ce(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), R.value = !0, U.value = !0, await he(), Fe(), G();
|
|
385
385
|
});
|
|
386
386
|
function ba() {
|
|
387
|
-
if (c.value && (c.value.clearRect(0, 0, 1e4, 1e4), c.value.fillStyle = l.value.style.chart.backgroundColor, c.value.fillRect(0, 0, o.value.canvasWidth, o.value.canvasHeight), !!
|
|
387
|
+
if (c.value && (c.value.clearRect(0, 0, 1e4, 1e4), c.value.fillStyle = l.value.style.chart.backgroundColor, c.value.fillRect(0, 0, o.value.canvasWidth, o.value.canvasHeight), !!W.value)) {
|
|
388
388
|
if (v.value.stacked)
|
|
389
389
|
l.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < l.value.style.chart.grid.y.verticalLines.hideUnderXLength ? g.value.forEach((e) => {
|
|
390
390
|
for (let a = 0; a < r.value.end - r.value.start + 1; a += 1)
|
|
@@ -522,21 +522,21 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
522
522
|
color: l.value.style.chart.grid.y.verticalLines.color
|
|
523
523
|
}
|
|
524
524
|
);
|
|
525
|
-
l.value.style.chart.grid.x.horizontalLines.show && (l.value.style.chart.grid.x.horizontalLines.alternate ?
|
|
526
|
-
a <
|
|
525
|
+
l.value.style.chart.grid.x.horizontalLines.show && (l.value.style.chart.grid.x.horizontalLines.alternate ? z.value.yLabels.forEach((e, a) => {
|
|
526
|
+
a < z.value.yLabels.length - 1 && Ee(
|
|
527
527
|
c.value,
|
|
528
528
|
[
|
|
529
529
|
{ x: o.value.left, y: e.y },
|
|
530
530
|
{ x: o.value.right, y: e.y },
|
|
531
|
-
{ x: o.value.right, y:
|
|
532
|
-
{ x: o.value.left, y:
|
|
531
|
+
{ x: o.value.right, y: z.value.yLabels[a + 1].y },
|
|
532
|
+
{ x: o.value.left, y: z.value.yLabels[a + 1].y }
|
|
533
533
|
],
|
|
534
534
|
{
|
|
535
535
|
fillColor: a % 2 === 0 ? "transparent" : Le(l.value.style.chart.grid.x.horizontalLines.color, l.value.style.chart.grid.x.horizontalLines.opacity),
|
|
536
536
|
strokeColor: "transparent"
|
|
537
537
|
}
|
|
538
538
|
);
|
|
539
|
-
}) :
|
|
539
|
+
}) : z.value.yLabels.forEach((e) => {
|
|
540
540
|
A(
|
|
541
541
|
c.value,
|
|
542
542
|
[
|
|
@@ -570,8 +570,8 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
570
570
|
), l.value.style.chart.grid.zeroLine.show && A(
|
|
571
571
|
c.value,
|
|
572
572
|
[
|
|
573
|
-
{ x: o.value.left, y:
|
|
574
|
-
{ x: o.value.right, y:
|
|
573
|
+
{ x: o.value.left, y: z.value.zero },
|
|
574
|
+
{ x: o.value.right, y: z.value.zero }
|
|
575
575
|
],
|
|
576
576
|
{
|
|
577
577
|
color: l.value.style.chart.grid.zeroLine.color,
|
|
@@ -668,7 +668,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
668
668
|
}
|
|
669
669
|
);
|
|
670
670
|
});
|
|
671
|
-
}) :
|
|
671
|
+
}) : z.value.yLabels.forEach((e, a) => {
|
|
672
672
|
Y(
|
|
673
673
|
c.value,
|
|
674
674
|
se(
|
|
@@ -785,7 +785,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
785
785
|
}
|
|
786
786
|
);
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function za() {
|
|
789
789
|
D.value.forEach((e, a) => {
|
|
790
790
|
for (let t = 0; t < e.coordinatesLine.length; t += 1)
|
|
791
791
|
Ee(
|
|
@@ -793,11 +793,11 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
793
793
|
[
|
|
794
794
|
{
|
|
795
795
|
x: o.value.left + o.value.slot * t + o.value.slot / 10 + (v.value.stacked ? 0 : o.value.slot / D.value.length * a - (a === 0 ? 0 : o.value.slot / (5 * D.value.length) * a)),
|
|
796
|
-
y: v.value.stacked ? e.localZero :
|
|
796
|
+
y: v.value.stacked ? e.localZero : z.value.zero
|
|
797
797
|
},
|
|
798
798
|
{
|
|
799
799
|
x: o.value.left + o.value.slot * t + o.value.slot / 10 + (v.value.stacked ? 0 : o.value.slot / D.value.length * a - (a === 0 ? 0 : o.value.slot / (5 * D.value.length) * a)) + o.value.slot * 0.8 / (v.value.stacked ? 1 : D.value.length),
|
|
800
|
-
y: v.value.stacked ? e.localZero :
|
|
800
|
+
y: v.value.stacked ? e.localZero : z.value.zero
|
|
801
801
|
},
|
|
802
802
|
{
|
|
803
803
|
x: o.value.left + o.value.slot * t + o.value.slot / 10 + (v.value.stacked ? 0 : o.value.slot / D.value.length * a - (a === 0 ? 0 : o.value.slot / (5 * D.value.length) * a)) + o.value.slot * 0.8 / (v.value.stacked ? 1 : D.value.length),
|
|
@@ -818,7 +818,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
818
818
|
},
|
|
819
819
|
end: {
|
|
820
820
|
x: e.coordinatesLine[t].x,
|
|
821
|
-
y: v.value.stacked ? e.localZero :
|
|
821
|
+
y: v.value.stacked ? e.localZero : z.value.zero
|
|
822
822
|
},
|
|
823
823
|
stops: [
|
|
824
824
|
{ offset: 0, color: e.color },
|
|
@@ -840,7 +840,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
840
840
|
{ datapoint: e.coordinatesLine[t], seriesIndex: t }
|
|
841
841
|
),
|
|
842
842
|
o.value.left + o.value.slot * t + o.value.slot / 10 + (v.value.stacked ? 0 : o.value.slot / D.value.length * a - (a === 0 ? 0 : o.value.slot / (5 * D.value.length) * a)) + o.value.slot * 0.4 / (v.value.stacked ? 1 : D.value.length),
|
|
843
|
-
(e.coordinatesLine[t].value < 0 ? v.value.stacked ? e.localZero :
|
|
843
|
+
(e.coordinatesLine[t].value < 0 ? v.value.stacked ? e.localZero : z.value.zero : e.coordinatesLine[t].y) + l.value.style.chart.dataLabels.offsetY,
|
|
844
844
|
{
|
|
845
845
|
align: "center",
|
|
846
846
|
font: `${Math.round(y.value / 40 * l.value.style.chart.dataLabels.fontSizeRatio)}px ${l.value.style.fontFamily}`,
|
|
@@ -851,7 +851,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
851
851
|
);
|
|
852
852
|
});
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function Sa(e, a) {
|
|
855
855
|
const t = e.coordinatesLine.map((n, f) => {
|
|
856
856
|
const x = e.series[f];
|
|
857
857
|
return x != null && Number.isFinite(n?.y) ? n : null;
|
|
@@ -896,7 +896,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
896
896
|
return s.length >= 2 && t.push(s), t;
|
|
897
897
|
}
|
|
898
898
|
function Ll(e) {
|
|
899
|
-
if (
|
|
899
|
+
if (Se.value) {
|
|
900
900
|
const a = Fa(e);
|
|
901
901
|
for (const t of a)
|
|
902
902
|
A(c.value, t, {
|
|
@@ -910,11 +910,11 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
910
910
|
});
|
|
911
911
|
}
|
|
912
912
|
function Ta(e) {
|
|
913
|
-
const a = !!
|
|
913
|
+
const a = !!Se.value;
|
|
914
914
|
if (e.useArea) {
|
|
915
|
-
const t = v.value.stacked ? e.localZero :
|
|
915
|
+
const t = v.value.stacked ? e.localZero : z.value.zero;
|
|
916
916
|
if (a) {
|
|
917
|
-
const { polygons: s, singles: u } =
|
|
917
|
+
const { polygons: s, singles: u } = Sa(e, t);
|
|
918
918
|
for (const n of s)
|
|
919
919
|
Pl(c.value, n, {
|
|
920
920
|
fillColor: Le(e.color, l.value.style.chart.area.opacity),
|
|
@@ -981,7 +981,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
981
981
|
);
|
|
982
982
|
}
|
|
983
983
|
function G() {
|
|
984
|
-
!
|
|
984
|
+
!W.value || !w.value || !c.value || (ba(), R.value ? ((h.value !== null || k.value !== null) && l.value.style.chart.selector.show && xl(), za(), v.value.stacked && l.value.style.chart.grid.x.showAxis && Da(), ma.value.forEach((e) => {
|
|
985
985
|
(e.type === "line" || !e.type) && Ta(e), U.value && (pa(e), v.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && La(e));
|
|
986
986
|
}), w.value && (ke.value = nt(w.value))) : (ke.value && (c.value.clearRect(0, 0, 1e4, 1e4), c.value.drawImage(ke.value, 0, 0)), (h.value !== null || k.value !== null) && l.value.style.chart.selector.show && xl(), (h.value !== null || k.value !== null) && g.value.forEach((e) => {
|
|
987
987
|
const a = h.value ?? k.value, t = e.coordinatesLine[a];
|
|
@@ -1005,7 +1005,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1005
1005
|
return { y: a, value: t };
|
|
1006
1006
|
}
|
|
1007
1007
|
function $a(e) {
|
|
1008
|
-
if (!
|
|
1008
|
+
if (!W.value || !w.value || fl.value) return;
|
|
1009
1009
|
const { left: a, top: t } = w.value.getBoundingClientRect(), s = e.clientX - a;
|
|
1010
1010
|
if (B.value = (e.clientY - t) * 2, (B.value < o.value.top || B.value > o.value.bottom) && (B.value = null), s * 2 < o.value.left || s * 2 > o.value.right) {
|
|
1011
1011
|
ne.value = !1, h.value = null;
|
|
@@ -1072,7 +1072,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1072
1072
|
});
|
|
1073
1073
|
function Al() {
|
|
1074
1074
|
if (at(I.dataset) && ra.value && tt({ componentName: "VueUiXyCanvas", type: "dataset" }), Ce(() => {
|
|
1075
|
-
w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), c.value &&
|
|
1075
|
+
w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), c.value && W.value && (R.value = !0, U.value = !0, Fe());
|
|
1076
1076
|
}), l.value.responsive) {
|
|
1077
1077
|
const e = ct(() => {
|
|
1078
1078
|
const { width: a, height: t } = vt({
|
|
@@ -1174,17 +1174,17 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1174
1174
|
}
|
|
1175
1175
|
return { head: e, body: a };
|
|
1176
1176
|
});
|
|
1177
|
-
function
|
|
1177
|
+
function Ve(e = null) {
|
|
1178
1178
|
const a = [[l.value.style.chart.title.text], [l.value.style.chart.title.subtitle.text], [""]], t = ["", ...wl.value.head.map((n) => n.label)], s = wl.value.body, u = a.concat([t]).concat(s), i = rt(u);
|
|
1179
1179
|
e ? e(i) : st({ csvContent: i, title: l.value.style.chart.title.text || "vue-ui-xy-canvas" });
|
|
1180
1180
|
}
|
|
1181
1181
|
function Na() {
|
|
1182
1182
|
return g.value;
|
|
1183
1183
|
}
|
|
1184
|
-
function
|
|
1184
|
+
function zl() {
|
|
1185
1185
|
v.value.showTable = !v.value.showTable;
|
|
1186
1186
|
}
|
|
1187
|
-
function
|
|
1187
|
+
function Sl() {
|
|
1188
1188
|
v.value.showDataLabels = !v.value.showDataLabels;
|
|
1189
1189
|
}
|
|
1190
1190
|
function Fl() {
|
|
@@ -1212,7 +1212,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1212
1212
|
const ye = m(() => {
|
|
1213
1213
|
const e = l.value.table.useDialog && !l.value.table.show, a = v.value.showTable;
|
|
1214
1214
|
return {
|
|
1215
|
-
component: e ? ea :
|
|
1215
|
+
component: e ? ea : zt,
|
|
1216
1216
|
title: `${l.value.style.chart.title.text}${l.value.style.chart.title.subtitle.text ? `: ${l.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1217
1217
|
props: e ? {
|
|
1218
1218
|
backgroundColor: l.value.table.th.backgroundColor,
|
|
@@ -1248,13 +1248,13 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1248
1248
|
return ql({
|
|
1249
1249
|
getData: Na,
|
|
1250
1250
|
getImage: _a,
|
|
1251
|
-
generateCsv:
|
|
1251
|
+
generateCsv: Ve,
|
|
1252
1252
|
generatePdf: cl,
|
|
1253
1253
|
generateImage: vl,
|
|
1254
1254
|
hideSeries: Ba,
|
|
1255
1255
|
showSeries: Ra,
|
|
1256
|
-
toggleTable:
|
|
1257
|
-
toggleLabels:
|
|
1256
|
+
toggleTable: zl,
|
|
1257
|
+
toggleLabels: Sl,
|
|
1258
1258
|
toggleStack: Fl,
|
|
1259
1259
|
toggleTooltip: Tl,
|
|
1260
1260
|
toggleAnnotator: Ye,
|
|
@@ -1264,7 +1264,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1264
1264
|
ref_key: "xy",
|
|
1265
1265
|
ref: X,
|
|
1266
1266
|
id: `xy_canvas_${K.value}`,
|
|
1267
|
-
class:
|
|
1267
|
+
class: Wa(`vue-data-ui-component vue-ui-xy-canvas ${ie.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1268
1268
|
onMouseenter: sa,
|
|
1269
1269
|
onMouseleave: ua
|
|
1270
1270
|
}, [
|
|
@@ -1291,7 +1291,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1291
1291
|
J("div", {
|
|
1292
1292
|
id: `legend-top-${K.value}`
|
|
1293
1293
|
}, null, 8, Mt),
|
|
1294
|
-
l.value.userOptions.show &&
|
|
1294
|
+
l.value.userOptions.show && W.value && (C(sl) || C(Xe)) ? ($(), H(C(Kl), {
|
|
1295
1295
|
ref_key: "userOptionsRef",
|
|
1296
1296
|
ref: Ne,
|
|
1297
1297
|
key: `user_option_${Qe.value}`,
|
|
@@ -1321,10 +1321,10 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1321
1321
|
tableDialog: l.value.table.useDialog,
|
|
1322
1322
|
onToggleFullscreen: dl,
|
|
1323
1323
|
onGeneratePdf: C(cl),
|
|
1324
|
-
onGenerateCsv:
|
|
1324
|
+
onGenerateCsv: Ve,
|
|
1325
1325
|
onGenerateImage: C(vl),
|
|
1326
|
-
onToggleTable:
|
|
1327
|
-
onToggleLabels:
|
|
1326
|
+
onToggleTable: zl,
|
|
1327
|
+
onToggleLabels: Sl,
|
|
1328
1328
|
onToggleStack: Fl,
|
|
1329
1329
|
onToggleTooltip: Tl,
|
|
1330
1330
|
onToggleAnnotator: Ye,
|
|
@@ -1335,70 +1335,70 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1335
1335
|
e.$slots.menuIcon ? {
|
|
1336
1336
|
name: "menuIcon",
|
|
1337
1337
|
fn: p(({ isOpen: t, color: s }) => [
|
|
1338
|
-
|
|
1338
|
+
S(e.$slots, "menuIcon", Q(ee({ isOpen: t, color: s })), void 0, !0)
|
|
1339
1339
|
]),
|
|
1340
1340
|
key: "0"
|
|
1341
1341
|
} : void 0,
|
|
1342
1342
|
e.$slots.optionTooltip ? {
|
|
1343
1343
|
name: "optionTooltip",
|
|
1344
1344
|
fn: p(() => [
|
|
1345
|
-
|
|
1345
|
+
S(e.$slots, "optionTooltip", {}, void 0, !0)
|
|
1346
1346
|
]),
|
|
1347
1347
|
key: "1"
|
|
1348
1348
|
} : void 0,
|
|
1349
1349
|
e.$slots.optionPdf ? {
|
|
1350
1350
|
name: "optionPdf",
|
|
1351
1351
|
fn: p(() => [
|
|
1352
|
-
|
|
1352
|
+
S(e.$slots, "optionPdf", {}, void 0, !0)
|
|
1353
1353
|
]),
|
|
1354
1354
|
key: "2"
|
|
1355
1355
|
} : void 0,
|
|
1356
1356
|
e.$slots.optionCsv ? {
|
|
1357
1357
|
name: "optionCsv",
|
|
1358
1358
|
fn: p(() => [
|
|
1359
|
-
|
|
1359
|
+
S(e.$slots, "optionCsv", {}, void 0, !0)
|
|
1360
1360
|
]),
|
|
1361
1361
|
key: "3"
|
|
1362
1362
|
} : void 0,
|
|
1363
1363
|
e.$slots.optionImg ? {
|
|
1364
1364
|
name: "optionImg",
|
|
1365
1365
|
fn: p(() => [
|
|
1366
|
-
|
|
1366
|
+
S(e.$slots, "optionImg", {}, void 0, !0)
|
|
1367
1367
|
]),
|
|
1368
1368
|
key: "4"
|
|
1369
1369
|
} : void 0,
|
|
1370
1370
|
e.$slots.optionTable ? {
|
|
1371
1371
|
name: "optionTable",
|
|
1372
1372
|
fn: p(() => [
|
|
1373
|
-
|
|
1373
|
+
S(e.$slots, "optionTable", {}, void 0, !0)
|
|
1374
1374
|
]),
|
|
1375
1375
|
key: "5"
|
|
1376
1376
|
} : void 0,
|
|
1377
1377
|
e.$slots.optionLabels ? {
|
|
1378
1378
|
name: "optionLabels",
|
|
1379
1379
|
fn: p(() => [
|
|
1380
|
-
|
|
1380
|
+
S(e.$slots, "optionLabels", {}, void 0, !0)
|
|
1381
1381
|
]),
|
|
1382
1382
|
key: "6"
|
|
1383
1383
|
} : void 0,
|
|
1384
1384
|
e.$slots.optionStack ? {
|
|
1385
1385
|
name: "optionStack",
|
|
1386
1386
|
fn: p(() => [
|
|
1387
|
-
|
|
1387
|
+
S(e.$slots, "optionStack", {}, void 0, !0)
|
|
1388
1388
|
]),
|
|
1389
1389
|
key: "7"
|
|
1390
1390
|
} : void 0,
|
|
1391
1391
|
e.$slots.optionFullscreen ? {
|
|
1392
1392
|
name: "optionFullscreen",
|
|
1393
1393
|
fn: p(({ toggleFullscreen: t, isFullscreen: s }) => [
|
|
1394
|
-
|
|
1394
|
+
S(e.$slots, "optionFullscreen", Q(ee({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
|
|
1395
1395
|
]),
|
|
1396
1396
|
key: "8"
|
|
1397
1397
|
} : void 0,
|
|
1398
1398
|
e.$slots.optionAnnotator ? {
|
|
1399
1399
|
name: "optionAnnotator",
|
|
1400
1400
|
fn: p(({ toggleAnnotator: t, isAnnotator: s }) => [
|
|
1401
|
-
|
|
1401
|
+
S(e.$slots, "optionAnnotator", Q(ee({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
|
|
1402
1402
|
]),
|
|
1403
1403
|
key: "9"
|
|
1404
1404
|
} : void 0
|
|
@@ -1416,7 +1416,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1416
1416
|
onMousemove: a[0] || (a[0] = (t) => $a(t)),
|
|
1417
1417
|
onMouseleave: Ea
|
|
1418
1418
|
}, null, 544),
|
|
1419
|
-
C(
|
|
1419
|
+
C(ze) ? ($(), H(ft, { key: 0 })) : _("", !0),
|
|
1420
1420
|
El(C(Zl), {
|
|
1421
1421
|
teleportTo: l.value.style.chart.tooltip.teleportTo,
|
|
1422
1422
|
show: v.value.showTooltip && ne.value,
|
|
@@ -1439,15 +1439,15 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1439
1439
|
smoothSnapThreshold: l.value.style.chart.tooltip.smoothSnapThreshold
|
|
1440
1440
|
}, {
|
|
1441
1441
|
"tooltip-before": p(() => [
|
|
1442
|
-
|
|
1442
|
+
S(e.$slots, "tooltip-before", Q(ee({ ...Ke.value })), void 0, !0)
|
|
1443
1443
|
]),
|
|
1444
1444
|
"tooltip-after": p(() => [
|
|
1445
|
-
|
|
1445
|
+
S(e.$slots, "tooltip-after", Q(ee({ ...Ke.value })), void 0, !0)
|
|
1446
1446
|
]),
|
|
1447
1447
|
_: 3
|
|
1448
1448
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
|
|
1449
1449
|
], 4),
|
|
1450
|
-
l.value.style.chart.zoom.show && E.value > 6 &&
|
|
1450
|
+
l.value.style.chart.zoom.show && E.value > 6 && W.value && ol.value && !C(ze) ? ($(), H(St, {
|
|
1451
1451
|
key: 2,
|
|
1452
1452
|
ref_key: "chartSlicer",
|
|
1453
1453
|
ref: q,
|
|
@@ -1455,7 +1455,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1455
1455
|
background: l.value.style.chart.zoom.color,
|
|
1456
1456
|
borderColor: l.value.style.chart.backgroundColor,
|
|
1457
1457
|
customFormat: l.value.style.chart.zoom.customFormat,
|
|
1458
|
-
cutNullValues:
|
|
1458
|
+
cutNullValues: Se.value,
|
|
1459
1459
|
enableRangeHandles: l.value.style.chart.zoom.enableRangeHandles,
|
|
1460
1460
|
enableSelectionDrag: l.value.style.chart.zoom.enableSelectionDrag,
|
|
1461
1461
|
end: r.value.end,
|
|
@@ -1493,6 +1493,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1493
1493
|
valueEnd: r.value.end,
|
|
1494
1494
|
valueStart: r.value.start,
|
|
1495
1495
|
verticalHandles: l.value.style.chart.zoom.minimap.verticalHandles,
|
|
1496
|
+
maxWidth: l.value.style.chart.zoom.maxWidth,
|
|
1496
1497
|
onFutureEnd: a[1] || (a[1] = (t) => yl("end", t)),
|
|
1497
1498
|
onFutureStart: a[2] || (a[2] = (t) => yl("start", t)),
|
|
1498
1499
|
onReset: he,
|
|
@@ -1501,14 +1502,14 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1501
1502
|
"onUpdate:start": ga
|
|
1502
1503
|
}, {
|
|
1503
1504
|
"reset-action": p(({ reset: t }) => [
|
|
1504
|
-
|
|
1505
|
+
S(e.$slots, "reset-action", Q(ee({ reset: t })), void 0, !0)
|
|
1505
1506
|
]),
|
|
1506
1507
|
_: 3
|
|
1507
|
-
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "timeLabels", "usePreciseLabels", "textColor", "useResetSlot", "valueEnd", "valueStart", "verticalHandles"])) : _("", !0),
|
|
1508
|
+
}, 8, ["allMinimaps", "background", "borderColor", "customFormat", "cutNullValues", "enableRangeHandles", "enableSelectionDrag", "end", "focusOnDrag", "focusRangeRatio", "fontSize", "immediate", "inputColor", "isPreview", "labelLeft", "labelRight", "max", "minimap", "minimapCompact", "minimapFrameColor", "minimapIndicatorColor", "minimapLineColor", "minimapMerged", "minimapSelectedColor", "minimapSelectedColorOpacity", "minimapSelectedIndex", "minimapSelectionRadius", "preciseLabels", "refreshEndPoint", "refreshStartPoint", "selectColor", "selectedSeries", "smoothMinimap", "start", "timeLabels", "usePreciseLabels", "textColor", "useResetSlot", "valueEnd", "valueStart", "verticalHandles", "maxWidth"])) : _("", !0),
|
|
1508
1509
|
J("div", {
|
|
1509
1510
|
id: `legend-bottom-${K.value}`
|
|
1510
1511
|
}, null, 8, $t),
|
|
1511
|
-
tl.value ? ($(), H(
|
|
1512
|
+
tl.value ? ($(), H(Va, {
|
|
1512
1513
|
key: 3,
|
|
1513
1514
|
to: l.value.style.chart.legend.position === "top" ? `#legend-top-${K.value}` : `#legend-bottom-${K.value}`
|
|
1514
1515
|
}, [
|
|
@@ -1516,7 +1517,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1516
1517
|
ref_key: "chartLegend",
|
|
1517
1518
|
ref: ll
|
|
1518
1519
|
}, [
|
|
1519
|
-
l.value.style.chart.legend.show &&
|
|
1520
|
+
l.value.style.chart.legend.show && W.value ? ($(), H(At, {
|
|
1520
1521
|
legendSet: De.value,
|
|
1521
1522
|
config: Pa.value,
|
|
1522
1523
|
key: `legend_${Pe.value}`,
|
|
@@ -1529,7 +1530,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1529
1530
|
}, qe(t.name), 13, It)
|
|
1530
1531
|
]),
|
|
1531
1532
|
legendToggle: p(() => [
|
|
1532
|
-
De.value.length > 2 && l.value.style.chart.legend.selectAllToggle.show && !C(
|
|
1533
|
+
De.value.length > 2 && l.value.style.chart.legend.selectAllToggle.show && !C(ze) ? ($(), H(Ft, {
|
|
1533
1534
|
key: 0,
|
|
1534
1535
|
backgroundColor: l.value.style.chart.legend.selectAllToggle.backgroundColor,
|
|
1535
1536
|
color: l.value.style.chart.legend.selectAllToggle.color,
|
|
@@ -1539,14 +1540,14 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1539
1540
|
}, null, 8, ["backgroundColor", "color", "fontSize", "checked"])) : _("", !0)
|
|
1540
1541
|
]),
|
|
1541
1542
|
_: 1
|
|
1542
|
-
}, 8, ["legendSet", "config"])) :
|
|
1543
|
+
}, 8, ["legendSet", "config"])) : S(e.$slots, "legend", {
|
|
1543
1544
|
key: 1,
|
|
1544
1545
|
legend: De.value
|
|
1545
1546
|
}, void 0, !0)
|
|
1546
1547
|
], 512)
|
|
1547
1548
|
], 8, ["to"])) : _("", !0),
|
|
1548
1549
|
e.$slots.watermark ? ($(), Ie("div", Et, [
|
|
1549
|
-
|
|
1550
|
+
S(e.$slots, "watermark", Q(ee({ isPrinting: C(nl) || C(il) })), void 0, !0)
|
|
1550
1551
|
])) : _("", !0),
|
|
1551
1552
|
e.$slots.source ? ($(), Ie("div", {
|
|
1552
1553
|
key: 5,
|
|
@@ -1554,9 +1555,9 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1554
1555
|
ref: al,
|
|
1555
1556
|
dir: "auto"
|
|
1556
1557
|
}, [
|
|
1557
|
-
|
|
1558
|
+
S(e.$slots, "source", {}, void 0, !0)
|
|
1558
1559
|
], 512)) : _("", !0),
|
|
1559
|
-
|
|
1560
|
+
W.value && l.value.userOptions.buttons.table ? ($(), H(Ya(ye.value.component), ja({ key: 6 }, ye.value.props, {
|
|
1560
1561
|
ref_key: "tableUnit",
|
|
1561
1562
|
ref: ce,
|
|
1562
1563
|
onClose: Dl
|
|
@@ -1596,7 +1597,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1596
1597
|
J("button", {
|
|
1597
1598
|
tabindex: "0",
|
|
1598
1599
|
class: "vue-ui-user-options-button",
|
|
1599
|
-
onClick: a[4] || (a[4] = (t) =>
|
|
1600
|
+
onClick: a[4] || (a[4] = (t) => Ve(l.value.userOptions.callbacks.csv))
|
|
1600
1601
|
}, [
|
|
1601
1602
|
El(wt, {
|
|
1602
1603
|
name: "fileCsv",
|
|
@@ -1617,7 +1618,7 @@ const Nl = { userOptions: { show: !1 }, style: { chart: { zoom: { minimap: { sho
|
|
|
1617
1618
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : _("", !0)
|
|
1618
1619
|
], 46, Dt));
|
|
1619
1620
|
}
|
|
1620
|
-
}, Bt = /* @__PURE__ */ Tt(Rt, [["__scopeId", "data-v-
|
|
1621
|
+
}, Bt = /* @__PURE__ */ Tt(Rt, [["__scopeId", "data-v-cb73b653"]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1621
1622
|
__proto__: null,
|
|
1622
1623
|
default: Bt
|
|
1623
1624
|
}, Symbol.toStringTag, { value: "Module" }));
|