vue-data-ui 3.10.0 → 3.10.2
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-ChEFq9U7.js → Arrow-DWr41GRU.js} +1 -1
- package/dist/{BaseDraggableDialog-O2XSymlZ.js → BaseDraggableDialog-BQYfVNu8.js} +2 -2
- package/dist/{BaseIcon-B9bGT7HU.js → BaseIcon-4uOct8re.js} +18 -18
- package/dist/{BaseZoomControls-B4rpv4Kk.js → BaseZoomControls-Cb-Qq9_R.js} +2 -2
- package/dist/{ColorPicker-VKEPgk58.js → ColorPicker-Culsjrcr.js} +2 -2
- package/dist/{DataTable-DEwh__D8.js → DataTable-DyoDzNNY.js} +2 -2
- package/dist/{Legend-D2xmnFPH.js → Legend-DN5UJOBH.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CxbOhI52.js → NonSvgPenAndPaper-CNMLfAk3.js} +3 -3
- package/dist/{PackageVersion-C-JOGZBL.js → PackageVersion-CQxJyGQr.js} +1 -1
- package/dist/{PenAndPaper-CulSakut.js → PenAndPaper-LTuSTmWE.js} +3 -3
- package/dist/{Shape-12_eh8zD.js → Shape-PzdCMGsP.js} +1 -1
- package/dist/{Slicer-EQH4YKwe.js → Slicer-DckZxvyx.js} +2 -2
- package/dist/{SlicerPreview-Ddfxn6es.js → SlicerPreview-CSc_cazO.js} +2 -2
- package/dist/{SparkTooltip-D_OsZuuE.js → SparkTooltip-BLTVhvm2.js} +1 -1
- package/dist/{Title-B5L2jweB.js → Title-NgeRXqRA.js} +1 -1
- package/dist/{Tooltip-DpfUZbt7.js → Tooltip-B6qvABDL.js} +1 -1
- package/dist/{UserOptions-5pXc4J-c.js → UserOptions-CX7Xsusk.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-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-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-WXGPkYro.js → dom-to-png-CzjUUVZt.js} +1 -1
- package/dist/{img-CqYIrJ8I.js → img-6fNF_rG0.js} +1 -1
- package/dist/{labelUtils-B3mOOEke.js → labelUtils-D6Y-n7cD.js} +1 -1
- package/dist/{lib-2iaAPQ_c.js → lib-CVHM9FhP.js} +188 -140
- package/dist/{pdf-Q5BpWMSa.js → pdf-Dd_6HF9L.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +3 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-DmpzKQ9i.js → useAutoSizeLabelsInsideViewbox-CqeJ1kZA.js} +1 -1
- package/dist/{useNestedProp-BCt4DMkT.js → useNestedProp-Ckf_2P_V.js} +1 -1
- package/dist/{usePrinter-ChVMpU2f.js → usePrinter-1NmjuP-i.js} +2 -2
- package/dist/{useThemeCheck-DGJ31Vi5.js → useThemeCheck-D1ZYXUwG.js} +5 -3
- package/dist/{vue-data-ui-CwfD22m4.js → vue-data-ui-GAruO_UT.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-DAr11NEe.js → vue-ui-3d-bar-t_E9saCp.js} +222 -218
- package/dist/{vue-ui-accordion-CAXPDm31.js → vue-ui-accordion-DFKaB_05.js} +3 -3
- package/dist/{vue-ui-age-pyramid-KApqwR11.js → vue-ui-age-pyramid-DKlTGZ6m.js} +177 -173
- package/dist/{vue-ui-annotator-D-x-F49X.js → vue-ui-annotator-CNkhGqqn.js} +7 -7
- package/dist/{vue-ui-bullet-D3ZOexko.js → vue-ui-bullet-C4FXVy8_.js} +135 -131
- package/dist/{vue-ui-bump-BJUb7fNz.js → vue-ui-bump-BJZrexv4.js} +264 -260
- package/dist/{vue-ui-candlestick-BBwYtV1-.js → vue-ui-candlestick-P7w1YVT6.js} +304 -300
- package/dist/{vue-ui-carousel-table-DrzQReuc.js → vue-ui-carousel-table-DQk4RoWo.js} +4 -4
- package/dist/{vue-ui-chestnut-ByqOYfmS.js → vue-ui-chestnut-Co8x4We0.js} +326 -322
- package/dist/{vue-ui-chord-3k3MxDxL.js → vue-ui-chord-NjSRzToa.js} +171 -167
- package/dist/{vue-ui-circle-pack-U-fW2dBh.js → vue-ui-circle-pack-CwrgCRKX.js} +162 -158
- package/dist/{vue-ui-cursor-PxyKLKT4.js → vue-ui-cursor-Bh5-9JWm.js} +3 -3
- package/dist/{vue-ui-dag-BgB4pBHg.js → vue-ui-dag-BBGpjSzH.js} +451 -447
- package/dist/{vue-ui-dashboard-Bb0qmaCv.js → vue-ui-dashboard-ekbwnmce.js} +68 -68
- package/dist/{vue-ui-digits-DWt_f5c-.js → vue-ui-digits-DnsDASGD.js} +2 -2
- package/dist/{vue-ui-donut-Ce4aLPAr.js → vue-ui-donut-DvLh8qa2.js} +467 -463
- package/dist/{vue-ui-donut-evolution-Dn8sOIr-.js → vue-ui-donut-evolution-BiLhAVY8.js} +354 -350
- package/dist/{vue-ui-dumbbell-Bu8opmEM.js → vue-ui-dumbbell-C2OWcZvr.js} +240 -236
- package/dist/{vue-ui-flow-CavJTxRY.js → vue-ui-flow-Cp2le1ur.js} +171 -167
- package/dist/{vue-ui-funnel-CWSmOHEt.js → vue-ui-funnel-ClGo8z4y.js} +133 -129
- package/dist/{vue-ui-galaxy-CqeQVqG-.js → vue-ui-galaxy-DTAl_-40.js} +146 -142
- package/dist/{vue-ui-gauge-DnU9JZ0v.js → vue-ui-gauge-DOG6-lgt.js} +175 -171
- package/dist/{vue-ui-geo-Dg8W127k.js → vue-ui-geo-BpWyHXwd.js} +123 -119
- package/dist/{vue-ui-gizmo-BfyTXxBY.js → vue-ui-gizmo-BMq5dzK4.js} +3 -3
- package/dist/{vue-ui-heatmap-D_JOEm4-.js → vue-ui-heatmap-Bp9HI0Zo.js} +231 -227
- package/dist/{vue-ui-history-plot-DgMc6-9X.js → vue-ui-history-plot-CVM1jz1X.js} +252 -248
- package/dist/{vue-ui-horizontal-bar-BPX7YBdV.js → vue-ui-horizontal-bar-B0UY6b-O.js} +325 -321
- package/dist/{vue-ui-kpi-BqCS6onP.js → vue-ui-kpi-DgSmfw2q.js} +3 -3
- package/dist/{vue-ui-mini-loader-CcXuJ3iD.js → vue-ui-mini-loader-D8z1PwRZ.js} +2 -2
- package/dist/{vue-ui-molecule-CX-pPp0u.js → vue-ui-molecule-CUppdL5f.js} +183 -179
- package/dist/{vue-ui-mood-radar-3nHlZfrB.js → vue-ui-mood-radar-QN25VSAw.js} +162 -158
- package/dist/{vue-ui-nested-donuts-cz79gQlJ.js → vue-ui-nested-donuts-ywWUDYjT.js} +178 -174
- package/dist/{vue-ui-onion-yseOpPeu.js → vue-ui-onion-DmwZ1gg_.js} +185 -181
- package/dist/{vue-ui-parallel-coordinate-plot-Dqg_vJCM.js → vue-ui-parallel-coordinate-plot-Bz2ROYRD.js} +195 -191
- package/dist/{vue-ui-quadrant-D4UDUZoN.js → vue-ui-quadrant-CUpWOWF2.js} +243 -239
- package/dist/{vue-ui-quick-chart-BMDrPkAJ.js → vue-ui-quick-chart-CXrm_rzI.js} +295 -291
- package/dist/{vue-ui-radar-B_wSZVDb.js → vue-ui-radar-BqLjOOnJ.js} +168 -164
- package/dist/{vue-ui-rating-CBedYtOp.js → vue-ui-rating-W6I6pacT.js} +2 -2
- package/dist/{vue-ui-relation-circle-DydZv4Pf.js → vue-ui-relation-circle-CrYmJHLI.js} +185 -181
- package/dist/vue-ui-ridgeline-ZbmQXJxt.js +1306 -0
- package/dist/{vue-ui-rings-BdYnuNS7.js → vue-ui-rings-BxYoBfvT.js} +299 -295
- package/dist/{vue-ui-scatter-QISpPygj.js → vue-ui-scatter-BhJkoRBS.js} +354 -350
- package/dist/{vue-ui-skeleton-CdpD_Zjk.js → vue-ui-skeleton-Bg1akQqn.js} +3 -3
- package/dist/{vue-ui-smiley-CTeSlfZa.js → vue-ui-smiley-B23r7AWp.js} +2 -2
- package/dist/{vue-ui-spark-trend-Jgho2QgC.js → vue-ui-spark-trend-CJtfXMSj.js} +120 -116
- package/dist/{vue-ui-sparkbar-CLqcdko6.js → vue-ui-sparkbar-DHJdmNDm.js} +84 -80
- package/dist/{vue-ui-sparkgauge-BA3NDOhA.js → vue-ui-sparkgauge-ANfPLNuD.js} +81 -77
- package/dist/{vue-ui-sparkhistogram-fb8hGuCn.js → vue-ui-sparkhistogram-CIfYUXVZ.js} +109 -105
- package/dist/{vue-ui-sparkline-BWdvoOYj.js → vue-ui-sparkline-Bm0OmFUB.js} +184 -174
- package/dist/{vue-ui-sparkstackbar-DbbdPqIp.js → vue-ui-sparkstackbar-CCnnfsqG.js} +99 -95
- package/dist/{vue-ui-stackbar-MYly9iMc.js → vue-ui-stackbar-CK5is5H7.js} +376 -372
- package/dist/{vue-ui-stackline-L0q_GsYv.js → vue-ui-stackline-CFv2OUCL.js} +349 -345
- package/dist/{vue-ui-strip-plot-B7W1EZdY.js → vue-ui-strip-plot-CJ1Zkrhq.js} +248 -244
- package/dist/{vue-ui-table-WSRRp_nE.js → vue-ui-table-CMyYl8lE.js} +5 -5
- package/dist/{vue-ui-table-heatmap-Bqr4Eubg.js → vue-ui-table-heatmap-8kBdXO2V.js} +6 -6
- package/dist/{vue-ui-table-sparkline-UhaEz2jD.js → vue-ui-table-sparkline-Bo4nuBEx.js} +174 -170
- package/dist/{vue-ui-thermometer-BFwmgdMO.js → vue-ui-thermometer-h3voYVGJ.js} +133 -129
- package/dist/{vue-ui-timer-CoLOwKwP.js → vue-ui-timer-CazY_Z4R.js} +5 -5
- package/dist/{vue-ui-tiremarks-CvXOa3z4.js → vue-ui-tiremarks-CTa_gpit.js} +156 -152
- package/dist/{vue-ui-treemap-C8HbMbin.js → vue-ui-treemap-B6AuOtaA.js} +161 -157
- package/dist/{vue-ui-waffle-rS6LRZNV.js → vue-ui-waffle-DnEBC07H.js} +185 -181
- package/dist/{vue-ui-wheel-BGle0ni9.js → vue-ui-wheel-DFU2vMsP.js} +125 -121
- package/dist/{vue-ui-word-cloud-Dj1lJdtL.js → vue-ui-word-cloud-DgY58NEj.js} +179 -175
- package/dist/{vue-ui-world-C7d5vM6d.js → vue-ui-world-xEUaTJDk.js} +6 -6
- package/dist/{vue-ui-xy-canvas-CoBMpLeE.js → vue-ui-xy-canvas-eHl--9m7.js} +213 -209
- package/dist/{vue-ui-xy-De-FDHwh.js → vue-ui-xy-spqKboQb.js} +697 -693
- package/package.json +1 -1
- package/dist/vue-ui-ridgeline-BGerPYkY.js +0 -1302
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as
|
|
2
|
-
import { c as
|
|
3
|
-
import { c as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { u as
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { S as
|
|
17
|
-
import { _ as
|
|
18
|
-
const Nl = { 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" }, 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" } } },
|
|
1
|
+
import { defineAsyncComponent as pe, ref as d, computed as p, useSlots as Ha, onMounted as Tl, toRefs as Xa, watch as O, nextTick as be, onBeforeUnmount as $l, shallowRef as je, createElementBlock as $e, openBlock as I, normalizeClass as Ua, normalizeStyle as Ce, createCommentVNode as V, createElementVNode as J, createBlock as W, unref as x, createSlots as Il, withCtx as b, renderSlot as S, normalizeProps as Q, guardReactiveProps as ee, createVNode as El, Teleport as Va, toDisplayString as qe, resolveDynamicComponent as Wa, mergeProps as Ya, createTextVNode as Ol } from "vue";
|
|
2
|
+
import { c as ja, t as qa, i as Ga, j as le, a1 as xe, k as Za, N as Ge, a as se, d as ue, m as Rl, R as Ja, a7 as Ka, T as Qa, o as et, g as lt, y as Pl, s as Le, q as at, v as tt, r as ot, _ as rt } from "./lib-CVHM9FhP.js";
|
|
3
|
+
import { c as st, a as Ze, d as ut, t as nt, u as it, l as k, r as Ie, b as Y, p as Bl } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as ct, a as Ee } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
|
+
import { u as vt, B as dt } from "./BaseScanner-BMpwQAfz.js";
|
|
6
|
+
import { u as ht } from "./usePrinter-1NmjuP-i.js";
|
|
7
|
+
import { u as ft, a as yt, l as mt } from "./useTimeLabels-DKoynYae.js";
|
|
8
|
+
import { u as gt } from "./useThemeCheck-D1ZYXUwG.js";
|
|
9
|
+
import { u as pt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
10
|
+
import { u as bt } from "./useChartAccessibility-9icAAmYg.js";
|
|
11
|
+
import Ct from "./img-6fNF_rG0.js";
|
|
12
|
+
import xt from "./Legend-DN5UJOBH.js";
|
|
13
|
+
import Lt from "./Title-NgeRXqRA.js";
|
|
14
|
+
import kt from "./BaseIcon-4uOct8re.js";
|
|
15
|
+
import At from "./vue-ui-accordion-DFKaB_05.js";
|
|
16
|
+
import { S as wt } from "./SlicerPreview-CSc_cazO.js";
|
|
17
|
+
import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
+
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" }, 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" }, 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" }, 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" }, 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" } } }, Vl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#99AA99", zoom: { color: "#5F6A5F", highlightColor: "#66CC66" }, selector: { color: "#66CC66" }, legend: { backgroundColor: "#1A1A1A", 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" } } }, Wl = { style: { chart: { backgroundColor: "#fbfafa", color: "#8A9892", zoom: { color: "#E0CFC3", highlightColor: "#8F837A" }, selector: { color: "#8F837A" }, legend: { backgroundColor: "#fbfafa", color: "#99AA99" }, 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" }, 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 = {
|
|
19
19
|
default: {},
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
20
|
+
minimal: Nl,
|
|
21
|
+
minimalDark: _l,
|
|
22
|
+
dark: Hl,
|
|
23
|
+
celebration: Xl,
|
|
24
|
+
celebrationNight: Ul,
|
|
25
|
+
hack: Vl,
|
|
26
|
+
zen: Wl,
|
|
27
|
+
concrete: Yl
|
|
28
|
+
}, Kt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
27
29
|
__proto__: null,
|
|
28
|
-
celebration:
|
|
29
|
-
celebrationNight:
|
|
30
|
-
concrete:
|
|
31
|
-
dark:
|
|
32
|
-
default:
|
|
33
|
-
hack:
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
celebration: Xl,
|
|
31
|
+
celebrationNight: Ul,
|
|
32
|
+
concrete: Yl,
|
|
33
|
+
dark: Hl,
|
|
34
|
+
default: jl,
|
|
35
|
+
hack: Vl,
|
|
36
|
+
minimal: Nl,
|
|
37
|
+
minimalDark: _l,
|
|
38
|
+
zen: Wl
|
|
39
|
+
}, Symbol.toStringTag, { value: "Module" })), St = ["id"], Ft = ["id"], Dt = ["id"], Mt = ["onClick"], Tt = {
|
|
36
40
|
key: 4,
|
|
37
41
|
class: "vue-data-ui-watermark"
|
|
38
|
-
},
|
|
42
|
+
}, $t = ["innerHTML"], It = {
|
|
39
43
|
__name: "vue-ui-xy-canvas",
|
|
40
44
|
props: {
|
|
41
45
|
dataset: {
|
|
@@ -56,13 +60,13 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
56
60
|
}
|
|
57
61
|
},
|
|
58
62
|
emits: ["selectLegend", "selectX"],
|
|
59
|
-
setup(Je, { expose:
|
|
60
|
-
const
|
|
63
|
+
setup(Je, { expose: ql, emit: Gl }) {
|
|
64
|
+
const Zl = pe(() => import("./Tooltip-B6qvABDL.js")), Jl = pe(() => import("./DataTable-DyoDzNNY.js")), Kl = pe(() => import("./UserOptions-CX7Xsusk.js")), Ql = pe(() => import("./NonSvgPenAndPaper-CNMLfAk3.js")), ea = pe(() => import("./BaseDraggableDialog-BQYfVNu8.js")), { vue_ui_xy_canvas: la } = ct(), { isThemeValid: aa, warnInvalidTheme: ta } = gt(), g = Je, K = d(ja()), _ = d(null), ae = d(null), c = d(null), m = d(1), j = d(1), ne = d(!1), h = d(null), ke = d(""), Ke = d(null), F = d([]), te = d(1), R = d(!0), H = d(!0), Ae = d(null), Qe = d(0), ie = d(!1), el = d(null), ll = d(null), q = d(null), al = d(null), Oe = d(0), Re = d(0), Pe = d(0), P = d(null), tl = d(!1), ce = d(null), Be = d(null), ve = d(!1), ol = d(!1), we = d(!1), A = d(null), X = p(() => Array.isArray(He.value) && He.value.length > 0), Ne = Gl, oa = Ha();
|
|
61
65
|
Tl(() => {
|
|
62
|
-
|
|
66
|
+
oa["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
|
|
63
67
|
});
|
|
64
|
-
const l = d(Ue()),
|
|
65
|
-
...
|
|
68
|
+
const l = d(Ue()), ra = p(() => !!l.value.debug), { loading: _e, FINAL_DATASET: He } = vt({
|
|
69
|
+
...Xa(g),
|
|
66
70
|
FINAL_CONFIG: l,
|
|
67
71
|
prepareConfig: Ue,
|
|
68
72
|
skeletonDataset: [
|
|
@@ -80,7 +84,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
80
84
|
color: "#AAAAAA"
|
|
81
85
|
}
|
|
82
86
|
],
|
|
83
|
-
skeletonConfig:
|
|
87
|
+
skeletonConfig: qa({
|
|
84
88
|
defaultConfig: l.value,
|
|
85
89
|
userConfig: {
|
|
86
90
|
userOptions: { show: !1 },
|
|
@@ -119,26 +123,26 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
119
123
|
}
|
|
120
124
|
}
|
|
121
125
|
})
|
|
122
|
-
}), { userOptionsVisible: Xe, setUserOptionsVisibility: rl, keepUserOptionState: sl } =
|
|
123
|
-
function
|
|
126
|
+
}), { userOptionsVisible: Xe, setUserOptionsVisibility: rl, keepUserOptionState: sl } = pt({ config: l.value }), { svgRef: w } = bt({ config: l.value.style.chart.title });
|
|
127
|
+
function sa() {
|
|
124
128
|
rl(!0);
|
|
125
129
|
}
|
|
126
|
-
function
|
|
130
|
+
function ua() {
|
|
127
131
|
rl(!1), Ne("selectX", { seriesIndex: null, datapoint: null }), h.value = null;
|
|
128
132
|
}
|
|
129
133
|
function Ue() {
|
|
130
134
|
const e = Ee({
|
|
131
135
|
userConfig: g.config,
|
|
132
|
-
defaultConfig:
|
|
136
|
+
defaultConfig: la
|
|
133
137
|
});
|
|
134
138
|
let a = {};
|
|
135
139
|
const t = e.theme;
|
|
136
140
|
if (t)
|
|
137
|
-
if (!
|
|
138
|
-
|
|
141
|
+
if (!aa.value(e))
|
|
142
|
+
ta(e), a = e;
|
|
139
143
|
else {
|
|
140
144
|
const s = Ee({
|
|
141
|
-
userConfig:
|
|
145
|
+
userConfig: jl[t] || g.config,
|
|
142
146
|
defaultConfig: e
|
|
143
147
|
});
|
|
144
148
|
a = {
|
|
@@ -146,22 +150,22 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
146
150
|
userConfig: g.config,
|
|
147
151
|
defaultConfig: s
|
|
148
152
|
}),
|
|
149
|
-
customPalette: e.customPalette.length ? e.customPalette :
|
|
153
|
+
customPalette: e.customPalette.length ? e.customPalette : Ga[t] || le
|
|
150
154
|
};
|
|
151
155
|
}
|
|
152
156
|
else
|
|
153
157
|
a = e;
|
|
154
|
-
return g.config &&
|
|
158
|
+
return g.config && xe(g.config, "style.chart.scale.min") ? a.style.chart.scale.min = g.config.style.chart.scale.min : a.style.chart.scale.min = null, g.config && xe(g.config, "style.chart.scale.max") ? a.style.chart.scale.max = g.config.style.chart.scale.max : a.style.chart.scale.max = null, g.config && xe(g.config, "style.chart.zoom.startIndex") ? a.style.chart.zoom.startIndex = g.config.style.chart.zoom.startIndex : a.style.chart.zoom.startIndex = null, g.config && xe(g.config, "style.chart.zoom.endIndex") ? a.style.chart.zoom.endIndex = g.config.style.chart.zoom.endIndex : a.style.chart.zoom.endIndex = null, g.config && xe(g.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), a.style.chart.grid.x.timeLabels = Ee({
|
|
155
159
|
defaultConfig: a.style.chart.grid.x.timeLabels,
|
|
156
160
|
userConfig: g.config.style.chart.grid.y.timeLabels
|
|
157
161
|
})), a;
|
|
158
162
|
}
|
|
159
|
-
|
|
160
|
-
_e.value || (l.value = Ue()), Xe.value = !l.value.userOptions.showOnChartHover, Ll(),
|
|
161
|
-
}, { deep: !0 }),
|
|
162
|
-
!Array.isArray(e) || e.length === 0 || (await be(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })),
|
|
163
|
+
O(() => g.config, (e) => {
|
|
164
|
+
_e.value || (l.value = Ue()), Xe.value = !l.value.userOptions.showOnChartHover, Ll(), Oe.value += 1, Re.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;
|
|
165
|
+
}, { deep: !0 }), O(() => g.dataset, async (e) => {
|
|
166
|
+
!Array.isArray(e) || e.length === 0 || (await be(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), R.value = !0, H.value = !0, await he(), Se(), Oe.value += 1, Re.value += 1, Pe.value += 1);
|
|
163
167
|
}, { deep: !0 });
|
|
164
|
-
const ul = d(l.value.style.chart.aspectRatio), { isPrinting: nl, isImaging: il, generatePdf: cl, generateImage: vl } =
|
|
168
|
+
const ul = d(l.value.style.chart.aspectRatio), { isPrinting: nl, isImaging: il, generatePdf: cl, generateImage: vl } = ht({
|
|
165
169
|
elementId: `xy_canvas_${K.value}`,
|
|
166
170
|
fileName: l.value.style.chart.title.text || "vue-ui-xy-canvas",
|
|
167
171
|
options: l.value.userOptions.print
|
|
@@ -174,8 +178,8 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
174
178
|
function dl(e) {
|
|
175
179
|
ie.value = e, Qe.value += 1;
|
|
176
180
|
}
|
|
177
|
-
const hl = p(() =>
|
|
178
|
-
function
|
|
181
|
+
const hl = p(() => Za(l.value.customPalette)), E = p(() => $.value ? Math.max(...$.value.filter((e, a) => !F.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
|
|
182
|
+
function na(e) {
|
|
179
183
|
A.value = e, G();
|
|
180
184
|
}
|
|
181
185
|
const o = p(() => {
|
|
@@ -195,16 +199,16 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
195
199
|
function fl(e, a) {
|
|
196
200
|
return e / a;
|
|
197
201
|
}
|
|
198
|
-
function
|
|
199
|
-
return a.map((
|
|
200
|
-
const L = u.min < 0 ? Math.abs(u.min) : 0, N = fl(
|
|
202
|
+
function ia({ hasAutoScale: e, series: a, min: t, max: s, scale: u, yOffset: i, individualHeight: n, stackIndex: f = null }) {
|
|
203
|
+
return a.map((C, T) => {
|
|
204
|
+
const L = u.min < 0 ? Math.abs(u.min) : 0, N = fl(C + L, L + u.max);
|
|
201
205
|
let me, ge;
|
|
202
|
-
e && (me = u.min, ge = fl(
|
|
206
|
+
e && (me = u.min, ge = fl(C - me, u.max - me));
|
|
203
207
|
let U = 0;
|
|
204
208
|
return f === null ? U = o.value.bottom - o.value.height * (e ? ge : N) : U = o.value.bottom - i - n * (e ? ge : N), {
|
|
205
209
|
x: o.value.left + o.value.slot * T + o.value.slot / 2,
|
|
206
210
|
y: U,
|
|
207
|
-
value:
|
|
211
|
+
value: C
|
|
208
212
|
};
|
|
209
213
|
});
|
|
210
214
|
}
|
|
@@ -222,7 +226,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
222
226
|
yLabels: i,
|
|
223
227
|
zero: u
|
|
224
228
|
};
|
|
225
|
-
}),
|
|
229
|
+
}), ca = p(() => y.value.map((e) => `
|
|
226
230
|
<div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
|
|
227
231
|
<svg viewBox="0 0 10 10" height="12" width="12">
|
|
228
232
|
<circle cx="5" cy="5" r="5" fill="${e.color}"/>
|
|
@@ -242,27 +246,27 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
242
246
|
</div>
|
|
243
247
|
`)), ze = p(() => l.value.style.chart.line.cutNullValues), $ = p(() => He.value.map((e, a) => ({
|
|
244
248
|
...e,
|
|
245
|
-
series:
|
|
246
|
-
data:
|
|
249
|
+
series: Ja({
|
|
250
|
+
data: Ka(e.series, [], ze.value),
|
|
247
251
|
threshold: l.value.downsample.threshold
|
|
248
252
|
}),
|
|
249
253
|
absoluteIndex: a,
|
|
250
|
-
color:
|
|
251
|
-
}))),
|
|
254
|
+
color: Rl(e.color || hl.value[a] || le[a] || le[a % le.length])
|
|
255
|
+
}))), va = p(() => {
|
|
252
256
|
if (!l.value.style.chart.zoom.minimap.show) return [];
|
|
253
257
|
const e = $.value.filter((u) => !F.value.includes(u.absoluteIndex)), a = Math.max(...e.map((u) => u.series.length)), t = [];
|
|
254
258
|
for (let u = 0; u < a; u += 1)
|
|
255
259
|
t.push(e.map((i) => i.series[u] || 0).reduce((i, n) => (i || 0) + (n || 0), 0));
|
|
256
260
|
const s = Math.min(...t);
|
|
257
261
|
return t.map((u) => u + (s < 0 ? Math.abs(s) : 0));
|
|
258
|
-
}),
|
|
262
|
+
}), da = p(() => l.value.style.chart.zoom.minimap.show ? $.value.map((a) => ({
|
|
259
263
|
...a,
|
|
260
264
|
isVisible: !F.value.includes(a.absoluteIndex)
|
|
261
265
|
})) : []);
|
|
262
|
-
|
|
266
|
+
O(E, (e) => {
|
|
263
267
|
e && he();
|
|
264
268
|
});
|
|
265
|
-
const y = p(() =>
|
|
269
|
+
const y = p(() => Qa($.value.filter((e, a) => !F.value.includes(e.absoluteIndex))).map((e, a) => ({
|
|
266
270
|
...e,
|
|
267
271
|
series: e.series.slice(r.value.start, r.value.end)
|
|
268
272
|
})).map((e, a) => {
|
|
@@ -274,14 +278,14 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
274
278
|
}, i = e.scaleSteps || l.value.style.chart.scale.ticks;
|
|
275
279
|
let n;
|
|
276
280
|
e.autoScaling ? n = Ge(u.valueMin, u.valueMax, i) : n = Ge(u.valueMin < 0 ? u.valueMin : 0, u.valueMax <= 0 ? 0 : u.valueMax, i);
|
|
277
|
-
const f = v.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0,
|
|
281
|
+
const f = v.value.stacked ? o.value.height * (1 - e.cumulatedStackRatio) : 0, C = v.value.stacked ? o.value.height / l.value.style.chart.stackGap : 0, T = v.value.stacked ? o.value.height * e.stackRatio - C : o.value.height, L = n.min < 0 ? Math.abs(n.min) : 0;
|
|
278
282
|
let N;
|
|
279
283
|
e.autoScaling && v.value.stacked && s <= 0 ? N = o.value.bottom - f - T : N = o.value.bottom - f - T * (L / (n.max + L));
|
|
280
|
-
const me = n.ticks.map((U,
|
|
281
|
-
y: o.value.bottom - f - T * (
|
|
284
|
+
const me = n.ticks.map((U, _a) => ({
|
|
285
|
+
y: o.value.bottom - f - T * (_a / (n.ticks.length - 1)),
|
|
282
286
|
x: o.value.left - 8,
|
|
283
287
|
value: U
|
|
284
|
-
})), ge =
|
|
288
|
+
})), ge = ia({
|
|
285
289
|
hasAutoScale: v.value.stacked && e.autoScaling,
|
|
286
290
|
series: e.series,
|
|
287
291
|
min: v.value.stacked ? t : z.value.min,
|
|
@@ -307,7 +311,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
307
311
|
start: 0,
|
|
308
312
|
end: E.value
|
|
309
313
|
}), D = d({ start: 0, end: E.value }), de = d(null);
|
|
310
|
-
function
|
|
314
|
+
function ha() {
|
|
311
315
|
return new Promise((e) => requestAnimationFrame(
|
|
312
316
|
() => requestAnimationFrame(() => e())
|
|
313
317
|
));
|
|
@@ -317,10 +321,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
317
321
|
});
|
|
318
322
|
async function he() {
|
|
319
323
|
ml(), await be(), de.value && cancelAnimationFrame(de.value), de.value = requestAnimationFrame(async () => {
|
|
320
|
-
await
|
|
324
|
+
await ha(), ml();
|
|
321
325
|
});
|
|
322
326
|
}
|
|
323
|
-
const
|
|
327
|
+
const fa = p(() => l.value.style.chart.zoom.preview.enable && (D.value.start !== r.value.start || D.value.end !== r.value.end));
|
|
324
328
|
function yl(e, a) {
|
|
325
329
|
D.value[e] = a;
|
|
326
330
|
}
|
|
@@ -337,10 +341,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
337
341
|
}
|
|
338
342
|
}
|
|
339
343
|
}
|
|
340
|
-
function
|
|
344
|
+
function ya(e) {
|
|
341
345
|
ve.value || we.value || e !== r.value.start && (r.value.start = e, D.value.start = e, Ve());
|
|
342
346
|
}
|
|
343
|
-
function
|
|
347
|
+
function ma(e) {
|
|
344
348
|
if (ve.value || we.value) return;
|
|
345
349
|
const a = gl(e);
|
|
346
350
|
a !== r.value.end && (r.value.end = a, D.value.end = a, Ve());
|
|
@@ -357,20 +361,20 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
357
361
|
let a = Math.max(0, Math.min(r.value.start ?? 0, e - 1)), t = Math.max(a + 1, Math.min(r.value.end ?? e, e));
|
|
358
362
|
(!Number.isFinite(a) || !Number.isFinite(t) || t <= a) && (a = 0, t = e), r.value = { start: a, end: t }, D.value.start = a, D.value.end = t, q.value && (q.value.setStartValue(a), q.value.setEndValue(t));
|
|
359
363
|
}
|
|
360
|
-
const
|
|
364
|
+
const ga = p(() => y.value.filter((e) => ["line", "plot", void 0].includes(e.type))), M = p(() => y.value.filter((e) => e.type === "bar"));
|
|
361
365
|
function Se() {
|
|
362
366
|
if (!w.value || !ae.value) return;
|
|
363
367
|
const e = ae.value.offsetWidth, a = ae.value.offsetHeight;
|
|
364
368
|
w.value.width = e * te.value * 2, w.value.height = a * te.value * 2, m.value = e * te.value * 2, j.value = a * te.value * 2, c.value?.scale(te.value, te.value), G();
|
|
365
369
|
}
|
|
366
|
-
|
|
370
|
+
O(X, async (e) => {
|
|
367
371
|
if (!e) {
|
|
368
372
|
Ae.value = null, ne.value = !1, h.value = null, P.value = null;
|
|
369
373
|
return;
|
|
370
374
|
}
|
|
371
|
-
await be(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })),
|
|
375
|
+
await be(), w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), R.value = !0, H.value = !0, await he(), Se(), G();
|
|
372
376
|
});
|
|
373
|
-
function
|
|
377
|
+
function pa() {
|
|
374
378
|
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), !!X.value)) {
|
|
375
379
|
if (v.value.stacked)
|
|
376
380
|
l.value.style.chart.grid.y.verticalLines.show && r.value.end - r.value.start < l.value.style.chart.grid.y.verticalLines.hideUnderXLength ? y.value.forEach((e) => {
|
|
@@ -590,7 +594,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
590
594
|
);
|
|
591
595
|
}
|
|
592
596
|
}
|
|
593
|
-
function
|
|
597
|
+
function ba(e) {
|
|
594
598
|
for (let a = 0; a < e.coordinatesLine.length; a += 1) {
|
|
595
599
|
const t = (h.value === a || A.value === a ? m.value / 150 : l.value.style.chart.line.plots.show || e.type === "plot" ? m.value / 200 : 0) * l.value.style.chart.line.plots.radiusRatio;
|
|
596
600
|
Ze(
|
|
@@ -604,7 +608,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
604
608
|
);
|
|
605
609
|
}
|
|
606
610
|
}
|
|
607
|
-
function
|
|
611
|
+
function Ca() {
|
|
608
612
|
y.value.forEach((e) => {
|
|
609
613
|
e.showYMarker && fe(e) && Y(
|
|
610
614
|
c.value,
|
|
@@ -629,7 +633,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
629
633
|
);
|
|
630
634
|
});
|
|
631
635
|
}
|
|
632
|
-
function
|
|
636
|
+
function xa() {
|
|
633
637
|
l.value.style.chart.grid.y.axisLabels.show && (v.value.stacked ? y.value.forEach((e) => {
|
|
634
638
|
e.localYLabels.forEach((a, t) => {
|
|
635
639
|
Y(
|
|
@@ -680,7 +684,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
680
684
|
);
|
|
681
685
|
}));
|
|
682
686
|
}
|
|
683
|
-
function
|
|
687
|
+
function La(e) {
|
|
684
688
|
for (let a = 0; a < e.coordinatesLine.length; a += 1)
|
|
685
689
|
Y(
|
|
686
690
|
c.value,
|
|
@@ -706,16 +710,16 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
706
710
|
}
|
|
707
711
|
);
|
|
708
712
|
}
|
|
709
|
-
const B = p(() =>
|
|
713
|
+
const B = p(() => ft({
|
|
710
714
|
values: l.value.style.chart.grid.x.timeLabels.values,
|
|
711
715
|
maxDatapoints: E.value,
|
|
712
716
|
formatter: l.value.style.chart.grid.x.timeLabels.datetimeFormatter,
|
|
713
717
|
start: 0,
|
|
714
718
|
end: E.value
|
|
715
719
|
})), pl = p(() => {
|
|
716
|
-
const e = l.value.style.chart.grid.x.timeLabels.datetimeFormatter, a =
|
|
720
|
+
const e = l.value.style.chart.grid.x.timeLabels.datetimeFormatter, a = yt({
|
|
717
721
|
useUTC: e.useUTC,
|
|
718
|
-
locale:
|
|
722
|
+
locale: mt[e.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
|
|
719
723
|
januaryAsYear: e.januaryAsYear
|
|
720
724
|
});
|
|
721
725
|
return (t, s) => {
|
|
@@ -725,11 +729,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
725
729
|
}), bl = p(() => (l.value.style.chart.grid.x.timeLabels.values || []).map((a, t) => ({
|
|
726
730
|
text: pl.value(t, l.value.style.chart.zoom.timeFormat),
|
|
727
731
|
absoluteIndex: t
|
|
728
|
-
}))),
|
|
732
|
+
}))), ka = p(() => (l.value.style.chart.grid.x.timeLabels.values || []).map((a, t) => ({
|
|
729
733
|
text: pl.value(t, l.value.style.chart.tooltip.timeFormat),
|
|
730
734
|
absoluteIndex: t
|
|
731
735
|
})));
|
|
732
|
-
function
|
|
736
|
+
function Aa() {
|
|
733
737
|
for (let e = r.value.start; e < r.value.end; e += 1)
|
|
734
738
|
(r.value.end - r.value.start < l.value.style.chart.grid.x.timeLabels.modulo || r.value.end - r.value.start >= l.value.style.chart.grid.x.timeLabels.modulo && (e % Math.floor((r.value.end - r.value.start) / l.value.style.chart.grid.x.timeLabels.modulo) === 0 || (e === h.value + r.value.start || e === A.value) && l.value.style.chart.grid.x.timeLabels.showMarker)) && Y(
|
|
735
739
|
c.value,
|
|
@@ -744,7 +748,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
744
748
|
}
|
|
745
749
|
);
|
|
746
750
|
}
|
|
747
|
-
function
|
|
751
|
+
function Cl() {
|
|
748
752
|
k(
|
|
749
753
|
c.value,
|
|
750
754
|
[
|
|
@@ -758,7 +762,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
758
762
|
}
|
|
759
763
|
);
|
|
760
764
|
}
|
|
761
|
-
function
|
|
765
|
+
function wa() {
|
|
762
766
|
P.value && k(
|
|
763
767
|
c.value,
|
|
764
768
|
[
|
|
@@ -772,7 +776,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
772
776
|
}
|
|
773
777
|
);
|
|
774
778
|
}
|
|
775
|
-
function
|
|
779
|
+
function za() {
|
|
776
780
|
M.value.forEach((e, a) => {
|
|
777
781
|
for (let t = 0; t < e.coordinatesLine.length; t += 1)
|
|
778
782
|
Ie(
|
|
@@ -809,7 +813,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
809
813
|
},
|
|
810
814
|
stops: [
|
|
811
815
|
{ offset: 0, color: e.color },
|
|
812
|
-
{ offset: 1, color: l.value.style.chart.bar.gradient.show ?
|
|
816
|
+
{ offset: 1, color: l.value.style.chart.bar.gradient.show ? at(e.color, 0.5) : e.color }
|
|
813
817
|
]
|
|
814
818
|
}
|
|
815
819
|
}
|
|
@@ -838,10 +842,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
838
842
|
);
|
|
839
843
|
});
|
|
840
844
|
}
|
|
841
|
-
function
|
|
845
|
+
function Sa(e, a) {
|
|
842
846
|
const t = e.coordinatesLine.map((n, f) => {
|
|
843
|
-
const
|
|
844
|
-
return
|
|
847
|
+
const C = e.series[f];
|
|
848
|
+
return C != null && Number.isFinite(n?.y) ? n : null;
|
|
845
849
|
}), s = [], u = [];
|
|
846
850
|
let i = [];
|
|
847
851
|
for (let n = 0; n < t.length; n += 1) {
|
|
@@ -850,9 +854,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
850
854
|
i.push(f);
|
|
851
855
|
else {
|
|
852
856
|
if (i.length >= 2) {
|
|
853
|
-
const
|
|
857
|
+
const C = i[0], T = i[i.length - 1];
|
|
854
858
|
s.push([
|
|
855
|
-
{ x:
|
|
859
|
+
{ x: C.x, y: a },
|
|
856
860
|
...i,
|
|
857
861
|
{ x: T.x, y: a }
|
|
858
862
|
]);
|
|
@@ -870,7 +874,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
870
874
|
} else i.length === 1 && u.push(i[0]);
|
|
871
875
|
return { polygons: s, singles: u };
|
|
872
876
|
}
|
|
873
|
-
function
|
|
877
|
+
function Fa(e) {
|
|
874
878
|
const a = e.coordinatesLine.map((u, i) => {
|
|
875
879
|
const n = e.series[i];
|
|
876
880
|
return n != null && Number.isFinite(u?.y) ? u : null;
|
|
@@ -882,9 +886,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
882
886
|
}
|
|
883
887
|
return s.length >= 2 && t.push(s), t;
|
|
884
888
|
}
|
|
885
|
-
function
|
|
889
|
+
function xl(e) {
|
|
886
890
|
if (ze.value) {
|
|
887
|
-
const a =
|
|
891
|
+
const a = Fa(e);
|
|
888
892
|
for (const t of a)
|
|
889
893
|
k(c.value, t, {
|
|
890
894
|
color: e.color,
|
|
@@ -896,12 +900,12 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
896
900
|
lineWidth: 3
|
|
897
901
|
});
|
|
898
902
|
}
|
|
899
|
-
function
|
|
903
|
+
function Da(e) {
|
|
900
904
|
const a = !!ze.value;
|
|
901
905
|
if (e.useArea) {
|
|
902
906
|
const t = v.value.stacked ? e.localZero : z.value.zero;
|
|
903
907
|
if (a) {
|
|
904
|
-
const { polygons: s, singles: u } =
|
|
908
|
+
const { polygons: s, singles: u } = Sa(e, t);
|
|
905
909
|
for (const n of s)
|
|
906
910
|
Bl(c.value, n, {
|
|
907
911
|
fillColor: Le(e.color, l.value.style.chart.area.opacity),
|
|
@@ -929,12 +933,12 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
929
933
|
}
|
|
930
934
|
);
|
|
931
935
|
}
|
|
932
|
-
|
|
936
|
+
xl(e);
|
|
933
937
|
return;
|
|
934
938
|
}
|
|
935
|
-
|
|
939
|
+
xl(e);
|
|
936
940
|
}
|
|
937
|
-
function
|
|
941
|
+
function Ma() {
|
|
938
942
|
y.value.forEach((e, a) => {
|
|
939
943
|
k(
|
|
940
944
|
c.value,
|
|
@@ -949,8 +953,8 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
949
953
|
);
|
|
950
954
|
});
|
|
951
955
|
}
|
|
952
|
-
function
|
|
953
|
-
const { left: e, top: a, width: t, height: s } = o.value, u = r.value.start, n = r.value.end - u, f = t / n,
|
|
956
|
+
function Ta() {
|
|
957
|
+
const { left: e, top: a, width: t, height: s } = o.value, u = r.value.start, n = r.value.end - u, f = t / n, C = D.value.start - u, T = D.value.end - u, L = Math.max(0, Math.min(n, C)), N = Math.max(0, Math.min(n, T));
|
|
954
958
|
Ie(
|
|
955
959
|
c.value,
|
|
956
960
|
[
|
|
@@ -968,9 +972,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
968
972
|
);
|
|
969
973
|
}
|
|
970
974
|
function G() {
|
|
971
|
-
!X.value || !w.value || !c.value || (
|
|
972
|
-
(e.type === "line" || !e.type) &&
|
|
973
|
-
}), w.value && (Ae.value =
|
|
975
|
+
!X.value || !w.value || !c.value || (pa(), R.value ? ((h.value !== null || A.value !== null) && l.value.style.chart.selector.show && Cl(), za(), v.value.stacked && l.value.style.chart.grid.x.showAxis && Ma(), ga.value.forEach((e) => {
|
|
976
|
+
(e.type === "line" || !e.type) && Da(e), H.value && (ba(e), v.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && La(e));
|
|
977
|
+
}), w.value && (Ae.value = st(w.value))) : (Ae.value && (c.value.clearRect(0, 0, 1e4, 1e4), c.value.drawImage(Ae.value, 0, 0)), (h.value !== null || A.value !== null) && l.value.style.chart.selector.show && Cl(), (h.value !== null || A.value !== null) && y.value.forEach((e) => {
|
|
974
978
|
const a = h.value ?? A.value, t = e.coordinatesLine[a];
|
|
975
979
|
(e.type === "line" || !e.type || e.type === "plot") && t && Number.isFinite(t.x) && Number.isFinite(t.y) && Ze(
|
|
976
980
|
c.value,
|
|
@@ -981,9 +985,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
981
985
|
fillStyle: e.color
|
|
982
986
|
}
|
|
983
987
|
);
|
|
984
|
-
})), l.value.style.chart.grid.x.timeLabels.show &&
|
|
988
|
+
})), l.value.style.chart.grid.x.timeLabels.show && Aa(), l.value.style.chart.selector.show && l.value.style.chart.selector.showHorizontalSelector && wa(), xa(), Ca(), l.value.style.chart.zoom.preview.enable && (r.value.start !== D.value.start || r.value.end !== D.value.end) && Ta(), R.value = !1);
|
|
985
989
|
}
|
|
986
|
-
const Fe =
|
|
990
|
+
const Fe = ut(() => {
|
|
987
991
|
H.value = !0, Se();
|
|
988
992
|
}, E.value > 200 ? 10 : 1, !H.value);
|
|
989
993
|
function fe(e) {
|
|
@@ -991,7 +995,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
991
995
|
const { y: a, value: t } = e.coordinatesLine[h.value ?? A.value];
|
|
992
996
|
return { y: a, value: t };
|
|
993
997
|
}
|
|
994
|
-
function
|
|
998
|
+
function $a(e) {
|
|
995
999
|
if (!X.value || !w.value) return;
|
|
996
1000
|
const { left: a, top: t } = w.value.getBoundingClientRect(), s = e.clientX - a;
|
|
997
1001
|
if (P.value = (e.clientY - t) * 2, (P.value < o.value.top || P.value > o.value.bottom) && (P.value = null), s * 2 < o.value.left || s * 2 > o.value.right) {
|
|
@@ -1001,14 +1005,14 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1001
1005
|
const u = s * 2 - o.value.left;
|
|
1002
1006
|
if (h.value = Math.floor(u / o.value.slot), ne.value = !0, !H.value) return;
|
|
1003
1007
|
let i = "";
|
|
1004
|
-
const n = l.value.style.chart.tooltip.customFormat, f = y.value.map((
|
|
1005
|
-
shape:
|
|
1006
|
-
name:
|
|
1007
|
-
color:
|
|
1008
|
-
type:
|
|
1009
|
-
value:
|
|
1008
|
+
const n = l.value.style.chart.tooltip.customFormat, f = y.value.map((C) => ({
|
|
1009
|
+
shape: C.shape || null,
|
|
1010
|
+
name: C.name,
|
|
1011
|
+
color: C.color,
|
|
1012
|
+
type: C.type || "line",
|
|
1013
|
+
value: C.series.find((T, L) => L === h.value)
|
|
1010
1014
|
}));
|
|
1011
|
-
|
|
1015
|
+
Ia({ seriesIndex: h.value, datapoint: f }), Pl(n) && rt(() => n({
|
|
1012
1016
|
seriesIndex: h.value,
|
|
1013
1017
|
datapoint: f,
|
|
1014
1018
|
series: y.value,
|
|
@@ -1018,9 +1022,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1018
1022
|
datapoint: f,
|
|
1019
1023
|
series: y.value,
|
|
1020
1024
|
config: l.value
|
|
1021
|
-
}) : (l.value.style.chart.grid.x.timeLabels.values.slice(r.value.start, r.value.end)[h.value] ? i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${l.value.style.chart.tooltip.useDefaultTimeFormat ? B.value.slice(r.value.start, r.value.end)[h.value]?.text :
|
|
1025
|
+
}) : (l.value.style.chart.grid.x.timeLabels.values.slice(r.value.start, r.value.end)[h.value] ? i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${l.value.style.chart.tooltip.useDefaultTimeFormat ? B.value.slice(r.value.start, r.value.end)[h.value]?.text : ka.value[h.value]?.text}</div>` : i += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${l.value.style.chart.tooltip.borderColor}; width:100%">${B.value[h.value + r.value.start]?.text ?? ""}</div>`, i += ca.value.join(""), ke.value = i), H.value = !1;
|
|
1022
1026
|
}
|
|
1023
|
-
function
|
|
1027
|
+
function Ia({ seriesIndex: e, datapoint: a }) {
|
|
1024
1028
|
const t = r.value.start + e;
|
|
1025
1029
|
Ne("selectX", {
|
|
1026
1030
|
dataset: a,
|
|
@@ -1028,29 +1032,29 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1028
1032
|
indexLabel: ""
|
|
1029
1033
|
});
|
|
1030
1034
|
}
|
|
1031
|
-
|
|
1035
|
+
O(() => g.selectedXIndex, (e) => {
|
|
1032
1036
|
if ([null, void 0].includes(g.selectedXIndex)) {
|
|
1033
1037
|
h.value = null;
|
|
1034
1038
|
return;
|
|
1035
1039
|
}
|
|
1036
1040
|
const a = e - r.value.start;
|
|
1037
1041
|
a < 0 || e >= r.value.end ? h.value = null : h.value = a ?? null;
|
|
1038
|
-
}, { immediate: !0 }),
|
|
1042
|
+
}, { immediate: !0 }), O(() => h.value, (e) => {
|
|
1039
1043
|
Fe();
|
|
1040
|
-
}),
|
|
1041
|
-
|
|
1044
|
+
}), O(() => r.value, (e) => {
|
|
1045
|
+
R.value = !0, G();
|
|
1042
1046
|
}, {
|
|
1043
1047
|
deep: !0
|
|
1044
|
-
}),
|
|
1048
|
+
}), O(() => D.value, (e) => {
|
|
1045
1049
|
G();
|
|
1046
|
-
}, { deep: !0 }),
|
|
1047
|
-
|
|
1048
|
-
}),
|
|
1050
|
+
}, { deep: !0 }), O(() => v.value.showDataLabels, (e) => {
|
|
1051
|
+
R.value = !0, G();
|
|
1052
|
+
}), O(() => P.value, (e) => {
|
|
1049
1053
|
e && G();
|
|
1050
|
-
}),
|
|
1051
|
-
|
|
1054
|
+
}), O(() => v.value.stacked, (e) => {
|
|
1055
|
+
R.value = !0, H.value = !0, Fe();
|
|
1052
1056
|
});
|
|
1053
|
-
function
|
|
1057
|
+
function Ea() {
|
|
1054
1058
|
ne.value = !1, h.value = null, ke.value = "", P.value = null, G();
|
|
1055
1059
|
}
|
|
1056
1060
|
const Z = je(null), oe = je(null), re = je(null);
|
|
@@ -1058,11 +1062,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1058
1062
|
tl.value = !0, Ll();
|
|
1059
1063
|
});
|
|
1060
1064
|
function Ll() {
|
|
1061
|
-
if (
|
|
1062
|
-
w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), c.value && X.value && (
|
|
1065
|
+
if (et(g.dataset) && ra.value && lt({ componentName: "VueUiXyCanvas", type: "dataset" }), be(() => {
|
|
1066
|
+
w.value && !c.value && (c.value = w.value.getContext("2d", { willReadFrequently: !0 })), c.value && X.value && (R.value = !0, H.value = !0, Se());
|
|
1063
1067
|
}), l.value.responsive) {
|
|
1064
|
-
const e =
|
|
1065
|
-
const { width: a, height: t } =
|
|
1068
|
+
const e = nt(() => {
|
|
1069
|
+
const { width: a, height: t } = it({
|
|
1066
1070
|
chart: _.value,
|
|
1067
1071
|
title: l.value.style.chart.title.text ? el.value : null,
|
|
1068
1072
|
legend: l.value.style.chart.legend.show ? ll.value : null,
|
|
@@ -1077,14 +1081,14 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1077
1081
|
}
|
|
1078
1082
|
re.value && re.value.disconnect(), re.value = new ResizeObserver((e) => {
|
|
1079
1083
|
for (const a of e)
|
|
1080
|
-
a.contentBoxSize && ae.value && (
|
|
1084
|
+
a.contentBoxSize && ae.value && (R.value = !0, Fe());
|
|
1081
1085
|
}), re.value.observe(ae.value), he();
|
|
1082
1086
|
}
|
|
1083
1087
|
$l(() => {
|
|
1084
1088
|
re.value && re.value.disconnect(), Z.value && (oe.value && Z.value.unobserve(oe.value), Z.value.disconnect());
|
|
1085
1089
|
});
|
|
1086
1090
|
function De(e) {
|
|
1087
|
-
Ne("selectLegend", y.value.find((a) => a.absoluteIndex === e)), F.value.includes(e) ? F.value = F.value.filter((a) => a !== e) : F.value.push(e),
|
|
1091
|
+
Ne("selectLegend", y.value.find((a) => a.absoluteIndex === e)), F.value.includes(e) ? F.value = F.value.filter((a) => a !== e) : F.value.push(e), R.value = !0, Fe();
|
|
1088
1092
|
}
|
|
1089
1093
|
function kl(e) {
|
|
1090
1094
|
if (!$.value.length)
|
|
@@ -1092,18 +1096,18 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1092
1096
|
const a = $.value.find((t) => t.name === e);
|
|
1093
1097
|
return a || (l.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null);
|
|
1094
1098
|
}
|
|
1095
|
-
function
|
|
1099
|
+
function Oa(e) {
|
|
1096
1100
|
const a = kl(e);
|
|
1097
1101
|
a !== null && F.value.includes(a.absoluteIndex) && De(a.absoluteIndex);
|
|
1098
1102
|
}
|
|
1099
|
-
function
|
|
1103
|
+
function Ra(e) {
|
|
1100
1104
|
const a = kl(e);
|
|
1101
1105
|
a !== null && (F.value.includes(a.absoluteIndex) || De(a.absoluteIndex));
|
|
1102
1106
|
}
|
|
1103
1107
|
const Al = p(() => $.value.map((e, a) => ({
|
|
1104
1108
|
...e,
|
|
1105
1109
|
name: e.name,
|
|
1106
|
-
color:
|
|
1110
|
+
color: Rl(e.color) || hl.value[a] || le[a] || le[a % le.length],
|
|
1107
1111
|
shape: e.shape || "circle",
|
|
1108
1112
|
prefix: e.prefix || "",
|
|
1109
1113
|
suffix: e.suffix || "",
|
|
@@ -1113,7 +1117,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1113
1117
|
opacity: F.value.includes(e.absoluteIndex) ? 0.5 : 1,
|
|
1114
1118
|
segregate: () => De(e.absoluteIndex),
|
|
1115
1119
|
isSegregated: F.value.includes(e.absoluteIndex)
|
|
1116
|
-
}))),
|
|
1120
|
+
}))), Pa = p(() => ({
|
|
1117
1121
|
cy: "donut-div-legend",
|
|
1118
1122
|
backgroundColor: l.value.style.chart.legend.backgroundColor,
|
|
1119
1123
|
color: l.value.style.chart.legend.color,
|
|
@@ -1157,10 +1161,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1157
1161
|
return { head: e, body: a };
|
|
1158
1162
|
});
|
|
1159
1163
|
function We(e = null) {
|
|
1160
|
-
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 =
|
|
1161
|
-
e ? e(i) :
|
|
1164
|
+
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 = tt(u);
|
|
1165
|
+
e ? e(i) : ot({ csvContent: i, title: l.value.style.chart.title.text || "vue-ui-xy-canvas" });
|
|
1162
1166
|
}
|
|
1163
|
-
function
|
|
1167
|
+
function Ba() {
|
|
1164
1168
|
return y.value;
|
|
1165
1169
|
}
|
|
1166
1170
|
function zl() {
|
|
@@ -1179,9 +1183,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1179
1183
|
function Ye() {
|
|
1180
1184
|
Te.value = !Te.value;
|
|
1181
1185
|
}
|
|
1182
|
-
async function
|
|
1186
|
+
async function Na({ scale: e = 2 } = {}) {
|
|
1183
1187
|
if (!_.value) return;
|
|
1184
|
-
const { width: a, height: t } = _.value.getBoundingClientRect(), s = a / t, { imageUri: u, base64: i } = await
|
|
1188
|
+
const { width: a, height: t } = _.value.getBoundingClientRect(), s = a / t, { imageUri: u, base64: i } = await Ct({ domElement: _.value, base64: !0, img: !0, scale: e });
|
|
1185
1189
|
return {
|
|
1186
1190
|
imageUri: u,
|
|
1187
1191
|
base64: i,
|
|
@@ -1194,7 +1198,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1194
1198
|
const ye = p(() => {
|
|
1195
1199
|
const e = l.value.table.useDialog && !l.value.table.show, a = v.value.showTable;
|
|
1196
1200
|
return {
|
|
1197
|
-
component: e ?
|
|
1201
|
+
component: e ? ea : At,
|
|
1198
1202
|
title: `${l.value.style.chart.title.text}${l.value.style.chart.title.subtitle.text ? `: ${l.value.style.chart.title.subtitle.text}` : ""}`,
|
|
1199
1203
|
props: e ? {
|
|
1200
1204
|
backgroundColor: l.value.table.th.backgroundColor,
|
|
@@ -1221,20 +1225,20 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1221
1225
|
}
|
|
1222
1226
|
};
|
|
1223
1227
|
});
|
|
1224
|
-
|
|
1228
|
+
O(() => v.value.showTable, (e) => {
|
|
1225
1229
|
l.value.table.show || (e && l.value.table.useDialog && ce.value ? ce.value.open() : "close" in ce.value && ce.value.close());
|
|
1226
1230
|
});
|
|
1227
1231
|
function Ml() {
|
|
1228
1232
|
v.value.showTable = !1, Be.value && Be.value.setTableIconState(!1);
|
|
1229
1233
|
}
|
|
1230
|
-
return
|
|
1231
|
-
getData:
|
|
1232
|
-
getImage:
|
|
1234
|
+
return ql({
|
|
1235
|
+
getData: Ba,
|
|
1236
|
+
getImage: Na,
|
|
1233
1237
|
generateCsv: We,
|
|
1234
1238
|
generatePdf: cl,
|
|
1235
1239
|
generateImage: vl,
|
|
1236
|
-
hideSeries:
|
|
1237
|
-
showSeries:
|
|
1240
|
+
hideSeries: Ra,
|
|
1241
|
+
showSeries: Oa,
|
|
1238
1242
|
toggleTable: zl,
|
|
1239
1243
|
toggleLabels: Sl,
|
|
1240
1244
|
toggleStack: Fl,
|
|
@@ -1242,22 +1246,22 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1242
1246
|
toggleAnnotator: Ye,
|
|
1243
1247
|
toggleFullscreen: dl
|
|
1244
1248
|
}), (e, a) => (I(), $e("div", {
|
|
1245
|
-
style:
|
|
1249
|
+
style: Ce(`width:100%; position:relative; ${l.value.responsive ? "height: 100%" : ""}; background:${l.value.style.chart.backgroundColor};`),
|
|
1246
1250
|
ref_key: "xy",
|
|
1247
1251
|
ref: _,
|
|
1248
1252
|
id: `xy_canvas_${K.value}`,
|
|
1249
|
-
class:
|
|
1250
|
-
onMouseenter:
|
|
1251
|
-
onMouseleave:
|
|
1253
|
+
class: Ua(`vue-data-ui-component vue-ui-xy-canvas ${ie.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
1254
|
+
onMouseenter: sa,
|
|
1255
|
+
onMouseleave: ua
|
|
1252
1256
|
}, [
|
|
1253
1257
|
l.value.style.chart.title.text ? (I(), $e("div", {
|
|
1254
1258
|
key: 0,
|
|
1255
1259
|
ref_key: "chartTitle",
|
|
1256
1260
|
ref: el,
|
|
1257
|
-
style:
|
|
1261
|
+
style: Ce(`width:100%;background:${l.value.style.chart.backgroundColor};`)
|
|
1258
1262
|
}, [
|
|
1259
|
-
(I(), W(
|
|
1260
|
-
key: `title_${
|
|
1263
|
+
(I(), W(Lt, {
|
|
1264
|
+
key: `title_${Oe.value}`,
|
|
1261
1265
|
config: {
|
|
1262
1266
|
title: {
|
|
1263
1267
|
cy: "xy-canvas-title",
|
|
@@ -1272,15 +1276,15 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1272
1276
|
], 4)) : V("", !0),
|
|
1273
1277
|
J("div", {
|
|
1274
1278
|
id: `legend-top-${K.value}`
|
|
1275
|
-
}, null, 8,
|
|
1276
|
-
l.value.userOptions.show && X.value && (
|
|
1279
|
+
}, null, 8, Ft),
|
|
1280
|
+
l.value.userOptions.show && X.value && (x(sl) || x(Xe)) ? (I(), W(x(Kl), {
|
|
1277
1281
|
ref_key: "userOptionsRef",
|
|
1278
1282
|
ref: Be,
|
|
1279
1283
|
key: `user_option_${Qe.value}`,
|
|
1280
1284
|
backgroundColor: l.value.style.chart.backgroundColor,
|
|
1281
1285
|
color: l.value.style.chart.color,
|
|
1282
|
-
isPrinting:
|
|
1283
|
-
isImaging:
|
|
1286
|
+
isPrinting: x(nl),
|
|
1287
|
+
isImaging: x(il),
|
|
1284
1288
|
uid: K.value,
|
|
1285
1289
|
hasTooltip: l.value.userOptions.buttons.tooltip && l.value.style.chart.tooltip.show,
|
|
1286
1290
|
hasPdf: l.value.userOptions.buttons.pdf,
|
|
@@ -1302,16 +1306,16 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1302
1306
|
printScale: l.value.userOptions.print.scale,
|
|
1303
1307
|
tableDialog: l.value.table.useDialog,
|
|
1304
1308
|
onToggleFullscreen: dl,
|
|
1305
|
-
onGeneratePdf:
|
|
1309
|
+
onGeneratePdf: x(cl),
|
|
1306
1310
|
onGenerateCsv: We,
|
|
1307
|
-
onGenerateImage:
|
|
1311
|
+
onGenerateImage: x(vl),
|
|
1308
1312
|
onToggleTable: zl,
|
|
1309
1313
|
onToggleLabels: Sl,
|
|
1310
1314
|
onToggleStack: Fl,
|
|
1311
1315
|
onToggleTooltip: Dl,
|
|
1312
1316
|
onToggleAnnotator: Ye,
|
|
1313
|
-
style:
|
|
1314
|
-
visibility:
|
|
1317
|
+
style: Ce({
|
|
1318
|
+
visibility: x(sl) ? x(Xe) ? "visible" : "hidden" : "visible"
|
|
1315
1319
|
})
|
|
1316
1320
|
}, Il({ _: 2 }, [
|
|
1317
1321
|
e.$slots.menuIcon ? {
|
|
@@ -1387,7 +1391,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1387
1391
|
]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasLabel", "hasStack", "hasFullscreen", "hasTable", "isFullscreen", "isTooltip", "isStacked", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : V("", !0),
|
|
1388
1392
|
J("div", {
|
|
1389
1393
|
class: "vue-ui-xy-canvas",
|
|
1390
|
-
style:
|
|
1394
|
+
style: Ce(`position: relative; aspect-ratio: ${ul.value}`),
|
|
1391
1395
|
ref_key: "container",
|
|
1392
1396
|
ref: ae
|
|
1393
1397
|
}, [
|
|
@@ -1395,11 +1399,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1395
1399
|
ref_key: "canvas",
|
|
1396
1400
|
ref: w,
|
|
1397
1401
|
style: { width: "100%", height: "100%" },
|
|
1398
|
-
onMousemove: a[0] || (a[0] = (t) =>
|
|
1399
|
-
onMouseleave:
|
|
1402
|
+
onMousemove: a[0] || (a[0] = (t) => $a(t)),
|
|
1403
|
+
onMouseleave: Ea
|
|
1400
1404
|
}, null, 544),
|
|
1401
|
-
|
|
1402
|
-
El(
|
|
1405
|
+
x(_e) ? (I(), W(dt, { key: 0 })) : V("", !0),
|
|
1406
|
+
El(x(Zl), {
|
|
1403
1407
|
teleportTo: l.value.style.chart.tooltip.teleportTo,
|
|
1404
1408
|
show: v.value.showTooltip && ne.value,
|
|
1405
1409
|
backgroundColor: l.value.style.chart.tooltip.backgroundColor,
|
|
@@ -1410,11 +1414,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1410
1414
|
borderWidth: l.value.style.chart.tooltip.borderWidth,
|
|
1411
1415
|
position: l.value.style.chart.tooltip.position,
|
|
1412
1416
|
offsetY: l.value.style.chart.tooltip.offsetY,
|
|
1413
|
-
parent:
|
|
1417
|
+
parent: x(w),
|
|
1414
1418
|
content: ke.value,
|
|
1415
1419
|
isFullscreen: ie.value,
|
|
1416
1420
|
backgroundOpacity: l.value.style.chart.tooltip.backgroundOpacity,
|
|
1417
|
-
isCustom:
|
|
1421
|
+
isCustom: x(Pl)(l.value.style.chart.tooltip.customFormat),
|
|
1418
1422
|
smooth: l.value.style.chart.tooltip.smooth,
|
|
1419
1423
|
backdropFilter: l.value.style.chart.tooltip.backdropFilter,
|
|
1420
1424
|
smoothForce: l.value.style.chart.tooltip.smoothForce,
|
|
@@ -1429,11 +1433,11 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1429
1433
|
_: 3
|
|
1430
1434
|
}, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "position", "offsetY", "parent", "content", "isFullscreen", "backgroundOpacity", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold"])
|
|
1431
1435
|
], 4),
|
|
1432
|
-
l.value.style.chart.zoom.show && E.value > 6 && X.value && ol.value && !
|
|
1436
|
+
l.value.style.chart.zoom.show && E.value > 6 && X.value && ol.value && !x(_e) ? (I(), W(wt, {
|
|
1433
1437
|
key: 2,
|
|
1434
1438
|
ref_key: "chartSlicer",
|
|
1435
1439
|
ref: q,
|
|
1436
|
-
allMinimaps:
|
|
1440
|
+
allMinimaps: da.value,
|
|
1437
1441
|
background: l.value.style.chart.zoom.color,
|
|
1438
1442
|
borderColor: l.value.style.chart.backgroundColor,
|
|
1439
1443
|
customFormat: l.value.style.chart.zoom.customFormat,
|
|
@@ -1446,12 +1450,12 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1446
1450
|
fontSize: l.value.style.chart.zoom.fontSize,
|
|
1447
1451
|
immediate: !l.value.style.chart.zoom.preview.enable,
|
|
1448
1452
|
inputColor: l.value.style.chart.zoom.color,
|
|
1449
|
-
isPreview:
|
|
1453
|
+
isPreview: fa.value,
|
|
1450
1454
|
labelLeft: l.value.style.chart.grid.x.timeLabels.values[r.value.start] ? B.value[r.value.start].text : "",
|
|
1451
1455
|
labelRight: l.value.style.chart.grid.x.timeLabels.values[r.value.end - 1] ? B.value[r.value.end - 1].text : "",
|
|
1452
1456
|
max: E.value,
|
|
1453
1457
|
min: 0,
|
|
1454
|
-
minimap:
|
|
1458
|
+
minimap: va.value,
|
|
1455
1459
|
minimapCompact: l.value.style.chart.zoom.minimap.compact,
|
|
1456
1460
|
minimapFrameColor: l.value.style.chart.zoom.minimap.frameColor,
|
|
1457
1461
|
minimapIndicatorColor: l.value.style.chart.zoom.minimap.indicatorColor,
|
|
@@ -1478,9 +1482,9 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1478
1482
|
onFutureEnd: a[1] || (a[1] = (t) => yl("end", t)),
|
|
1479
1483
|
onFutureStart: a[2] || (a[2] = (t) => yl("start", t)),
|
|
1480
1484
|
onReset: he,
|
|
1481
|
-
onTrapMouse:
|
|
1482
|
-
"onUpdate:end":
|
|
1483
|
-
"onUpdate:start":
|
|
1485
|
+
onTrapMouse: na,
|
|
1486
|
+
"onUpdate:end": ma,
|
|
1487
|
+
"onUpdate:start": ya
|
|
1484
1488
|
}, {
|
|
1485
1489
|
"reset-action": b(({ reset: t }) => [
|
|
1486
1490
|
S(e.$slots, "reset-action", Q(ee({ reset: t })), void 0, !0)
|
|
@@ -1489,8 +1493,8 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1489
1493
|
}, 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"])) : V("", !0),
|
|
1490
1494
|
J("div", {
|
|
1491
1495
|
id: `legend-bottom-${K.value}`
|
|
1492
|
-
}, null, 8,
|
|
1493
|
-
tl.value ? (I(), W(
|
|
1496
|
+
}, null, 8, Dt),
|
|
1497
|
+
tl.value ? (I(), W(Va, {
|
|
1494
1498
|
key: 3,
|
|
1495
1499
|
to: l.value.style.chart.legend.position === "top" ? `#legend-top-${K.value}` : `#legend-bottom-${K.value}`
|
|
1496
1500
|
}, [
|
|
@@ -1498,17 +1502,17 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1498
1502
|
ref_key: "chartLegend",
|
|
1499
1503
|
ref: ll
|
|
1500
1504
|
}, [
|
|
1501
|
-
l.value.style.chart.legend.show && X.value ? (I(), W(
|
|
1505
|
+
l.value.style.chart.legend.show && X.value ? (I(), W(xt, {
|
|
1502
1506
|
legendSet: Al.value,
|
|
1503
|
-
config:
|
|
1507
|
+
config: Pa.value,
|
|
1504
1508
|
key: `legend_${Pe.value}`,
|
|
1505
1509
|
onClickMarker: a[3] || (a[3] = ({ i: t }) => De(t))
|
|
1506
1510
|
}, {
|
|
1507
1511
|
item: b(({ legend: t, index: s }) => [
|
|
1508
1512
|
J("div", {
|
|
1509
1513
|
onClick: (u) => t.segregate(),
|
|
1510
|
-
style:
|
|
1511
|
-
}, qe(t.name), 13,
|
|
1514
|
+
style: Ce(`opacity:${F.value.includes(s) ? 0.5 : 1}`)
|
|
1515
|
+
}, qe(t.name), 13, Mt)
|
|
1512
1516
|
]),
|
|
1513
1517
|
_: 1
|
|
1514
1518
|
}, 8, ["legendSet", "config"])) : S(e.$slots, "legend", {
|
|
@@ -1517,8 +1521,8 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1517
1521
|
}, void 0, !0)
|
|
1518
1522
|
], 512)
|
|
1519
1523
|
], 8, ["to"])) : V("", !0),
|
|
1520
|
-
e.$slots.watermark ? (I(), $e("div",
|
|
1521
|
-
S(e.$slots, "watermark", Q(ee({ isPrinting:
|
|
1524
|
+
e.$slots.watermark ? (I(), $e("div", Tt, [
|
|
1525
|
+
S(e.$slots, "watermark", Q(ee({ isPrinting: x(nl) || x(il) })), void 0, !0)
|
|
1522
1526
|
])) : V("", !0),
|
|
1523
1527
|
e.$slots.source ? (I(), $e("div", {
|
|
1524
1528
|
key: 5,
|
|
@@ -1528,14 +1532,14 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1528
1532
|
}, [
|
|
1529
1533
|
S(e.$slots, "source", {}, void 0, !0)
|
|
1530
1534
|
], 512)) : V("", !0),
|
|
1531
|
-
X.value && l.value.userOptions.buttons.table ? (I(), W(
|
|
1535
|
+
X.value && l.value.userOptions.buttons.table ? (I(), W(Wa(ye.value.component), Ya({ key: 6 }, ye.value.props, {
|
|
1532
1536
|
ref_key: "tableUnit",
|
|
1533
1537
|
ref: ce,
|
|
1534
1538
|
onClose: Ml
|
|
1535
1539
|
}), Il({
|
|
1536
1540
|
content: b(() => [
|
|
1537
|
-
(I(), W(
|
|
1538
|
-
key: `table_${
|
|
1541
|
+
(I(), W(x(Jl), {
|
|
1542
|
+
key: `table_${Re.value}`,
|
|
1539
1543
|
colNames: Me.value.colNames,
|
|
1540
1544
|
head: Me.value.head,
|
|
1541
1545
|
body: Me.value.body,
|
|
@@ -1545,10 +1549,10 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1545
1549
|
onClose: Ml
|
|
1546
1550
|
}, {
|
|
1547
1551
|
th: b(({ th: t }) => [
|
|
1548
|
-
J("div", { innerHTML: t }, null, 8,
|
|
1552
|
+
J("div", { innerHTML: t }, null, 8, $t)
|
|
1549
1553
|
]),
|
|
1550
1554
|
td: b(({ td: t }) => [
|
|
1551
|
-
|
|
1555
|
+
Ol(qe(t), 1)
|
|
1552
1556
|
]),
|
|
1553
1557
|
_: 1
|
|
1554
1558
|
}, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
|
|
@@ -1558,7 +1562,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1558
1562
|
l.value.table.useDialog ? {
|
|
1559
1563
|
name: "title",
|
|
1560
1564
|
fn: b(() => [
|
|
1561
|
-
|
|
1565
|
+
Ol(qe(ye.value.title), 1)
|
|
1562
1566
|
]),
|
|
1563
1567
|
key: "0"
|
|
1564
1568
|
} : void 0,
|
|
@@ -1570,7 +1574,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1570
1574
|
class: "vue-ui-user-options-button",
|
|
1571
1575
|
onClick: a[4] || (a[4] = (t) => We(l.value.userOptions.callbacks.csv))
|
|
1572
1576
|
}, [
|
|
1573
|
-
El(
|
|
1577
|
+
El(kt, {
|
|
1574
1578
|
name: "excel",
|
|
1575
1579
|
stroke: ye.value.props.color
|
|
1576
1580
|
}, null, 8, ["stroke"])
|
|
@@ -1579,7 +1583,7 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1579
1583
|
key: "1"
|
|
1580
1584
|
} : void 0
|
|
1581
1585
|
]), 1040)) : V("", !0),
|
|
1582
|
-
l.value.userOptions.buttons.annotator && y.value.length ? (I(), W(
|
|
1586
|
+
l.value.userOptions.buttons.annotator && y.value.length ? (I(), W(x(Ql), {
|
|
1583
1587
|
key: 7,
|
|
1584
1588
|
parent: _.value,
|
|
1585
1589
|
backgroundColor: l.value.style.chart.backgroundColor,
|
|
@@ -1587,14 +1591,14 @@ const Nl = { style: { chart: { backgroundColor: "#1A1A1A", color: "#CCCCCC", zoo
|
|
|
1587
1591
|
active: Te.value,
|
|
1588
1592
|
onClose: Ye
|
|
1589
1593
|
}, null, 8, ["parent", "backgroundColor", "color", "active"])) : V("", !0)
|
|
1590
|
-
], 46,
|
|
1594
|
+
], 46, St));
|
|
1591
1595
|
}
|
|
1592
|
-
},
|
|
1596
|
+
}, Et = /* @__PURE__ */ zt(It, [["__scopeId", "data-v-3293aa2d"]]), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1593
1597
|
__proto__: null,
|
|
1594
|
-
default:
|
|
1598
|
+
default: Et
|
|
1595
1599
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1596
1600
|
export {
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1601
|
+
Kt as a,
|
|
1602
|
+
Qt as b,
|
|
1603
|
+
Et as v
|
|
1600
1604
|
};
|