vue-data-ui 3.22.9 → 3.22.11
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-DdymhUfY.js → Arrow-DKx74WtM.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-3n8udWmh.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CP5RWnqt.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-DsWphmIb.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-C9_ygNN4.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-3N_HVgXs.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-DzPEVvSo.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-C0xAnJdO.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-B_mE5UbR.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-1MNr72Bz.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CSMVXpg2.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-BfnXr1nJ.js} +3 -3
- package/dist/Slicer-C6qNUmZ4.js +1149 -0
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-BIdvqU32.js} +554 -553
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-uoUiL_P8.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-BuPs74IB.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CA1rtSyl.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-B69xBEVP.js} +6 -5
- 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-BbwhsRIr.js → dom-to-png-BdAFKZQg.js} +1 -1
- package/dist/exposedLib-Ciw6TGtP.js +25 -0
- package/dist/{geoProjections-BbN7z57k.js → geoProjections-BCP_PoiB.js} +94 -94
- package/dist/{img-DnP3eXuv.js → img-Bikk1dGb.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-BUhssos9.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CFm_J26b.js} +121 -110
- package/dist/{package-ByOT60IK.js → package-Bf-Nk9qU.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-zmz3l2uy.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DEb-WjM1.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +40 -0
- package/dist/types/vue-data-ui.d.ts +1 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-C9RNjsGv.js} +4 -4
- package/dist/{useConfig-DYM3f6EI.js → useConfig-C0V0eG7L.js} +1 -0
- package/dist/{useFitSvgText-CT3nmlaS.js → useFitSvgText-CXTzBplU.js} +3 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-BY6DNN3i.js} +2 -2
- package/dist/{useObjectBindings-CD31syQb.js → useObjectBindings-Djwpii4d.js} +1 -1
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-BH-xle1O.js} +2 -2
- package/dist/{canvas-lib-BOP_HS11.js → useResponsive-ZtArZtUf.js} +19 -1
- package/dist/{useSvgExport-SVIsDot8.js → useSvgExport-Ba9qBr9M.js} +6 -5
- package/dist/{useTableResponsive-B24Uwt2E.js → useTableResponsive-BAqJPR68.js} +2 -1
- package/dist/{useTimeLabels-BmBRv27Y.js → useTimeLabels-B9CEuiLZ.js} +1 -1
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bme9usjG.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-Ds1BPxqb.js +1824 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-nNxnZTg9.js} +4 -4
- package/dist/vue-ui-age-pyramid-CNCrH8Kd.js +1246 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BfZ8RTzJ.js} +17 -11
- package/dist/vue-ui-bullet-DscMmM2b.js +709 -0
- package/dist/vue-ui-bump-BvwU1_-N.js +1248 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-Cp6r8ktf.js} +288 -288
- package/dist/vue-ui-carousel-table-CbtccW1g.js +455 -0
- package/dist/vue-ui-chestnut-C3Hmf1-m.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-DJk9j45J.js} +45 -46
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CJe2wETT.js} +50 -51
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-BAi9omna.js} +6 -6
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-D7BEbS71.js} +41 -39
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BYFQjwgC.js} +70 -70
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-Bx8nZl9d.js} +4 -4
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-BUX4ybT6.js} +208 -208
- package/dist/vue-ui-donut-evolution-MWDjQPQ5.js +1521 -0
- package/dist/vue-ui-donut-jXRV-3ON.js +2418 -0
- package/dist/vue-ui-dumbbell-CnwsHaIy.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-CKXGk4Lm.js} +74 -75
- package/dist/vue-ui-funnel-CJwD7s7e.js +781 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-DL85_SWR.js} +275 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-Dkx-aUQr.js} +177 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-fkLF1rHB.js} +28 -27
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-S8w_p769.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-Dopkbn2N.js} +330 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-DDYpEapS.js} +413 -414
- package/dist/vue-ui-horizontal-bar-Bi8WvKeD.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BeJ-ajaS.js} +4 -4
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-D9pprk2c.js} +3 -3
- package/dist/vue-ui-molecule-CBTgGZ-s.js +932 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-CF83PcCx.js} +260 -261
- package/dist/vue-ui-nested-donuts-D5dO-Uyg.js +1492 -0
- package/dist/vue-ui-onion-BxjaQKo8.js +1199 -0
- package/dist/vue-ui-parallel-coordinate-plot-Dz6ozRAM.js +1415 -0
- package/dist/vue-ui-quadrant-Bnxpa6m5.js +1985 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-CAE0-NYj.js} +112 -113
- package/dist/vue-ui-radar-O4BhBOyp.js +1286 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-DbxK-ftN.js} +101 -101
- package/dist/vue-ui-relation-circle-BZ0Xf-Nc.js +923 -0
- package/dist/vue-ui-ridgeline-DHVTPiM6.js +1627 -0
- package/dist/vue-ui-rings-DAfY1V--.js +1251 -0
- package/dist/vue-ui-scatter-Cb63SWJT.js +2421 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-DoIqQtIV.js} +100 -100
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-Da2jgkb7.js} +18 -18
- package/dist/vue-ui-spark-trend-Db-FsXch.js +442 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-Ce55FP_3.js} +67 -67
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-hB59dXm7.js} +65 -65
- package/dist/vue-ui-sparkhistogram-DjnaStBw.js +575 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-D1dyhLvG.js} +54 -55
- package/dist/vue-ui-sparkstackbar-BhOBFjts.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-BZKw8WYn.js} +123 -122
- package/dist/vue-ui-stackline-DLFNVbAz.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-DyN2WELD.js} +68 -69
- package/dist/vue-ui-table-DL_R4ppI.js +1339 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-C9gF__Np.js} +16 -16
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-CT-0w9-a.js} +26 -24
- package/dist/vue-ui-thermometer-MP0dliC3.js +769 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-B5S-6Da4.js} +7 -8
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-DcJiLDsm.js} +20 -21
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-CjldCPnX.js} +615 -603
- package/dist/vue-ui-waffle-dZM-9z1J.js +1367 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-or7a6-Ce.js} +47 -48
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-8BwQ0cuB.js} +40 -37
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-Q0KZb7A_.js} +210 -210
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-4uzwZJcj.js} +141 -141
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-DZIs53tH.js} +791 -783
- package/dist/vue-ui-xy-canvas-Dz9aii7f.js +1790 -0
- package/package.json +2 -2
- package/dist/Slicer-CW_XPIKL.js +0 -1150
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { t as
|
|
6
|
-
import { n as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { n as
|
|
14
|
-
import { t as
|
|
15
|
-
import { t as
|
|
16
|
-
import { t as
|
|
17
|
-
import { t as
|
|
18
|
-
import { t as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import { t as
|
|
22
|
-
import { Fragment as
|
|
2
|
+
import { At as t, B as n, Bt as r, C as i, E as a, F as o, Gt as s, H as c, I as l, It as u, K as ee, Kt as d, M as te, N as ne, Nt as re, O as ie, Q as ae, R as oe, Rt as se, St as f, Tt as ce, U as le, V as ue, W as de, Wt as fe, Y as p, _ as pe, _t as me, a as he, at as m, bt as ge, c as _e, et as ve, g as ye, i as h, j as be, k as xe, n as Se, qt as Ce, r as we, s as Te, u as Ee, ut as De, x as Oe, xt as ke, y as g, z as Ae, zt as je } from "./lib-CFm_J26b.js";
|
|
3
|
+
import { n as Me, r as Ne, t as Pe } from "./useTimeLabels-B9CEuiLZ.js";
|
|
4
|
+
import { t as Fe } from "./useConfig-C0V0eG7L.js";
|
|
5
|
+
import { t as Ie } from "./usePrinter-BH-xle1O.js";
|
|
6
|
+
import { n as Le, t as Re } from "./BaseScanner-DZvpgOjM.js";
|
|
7
|
+
import { t as ze } from "./useSvgExport-Ba9qBr9M.js";
|
|
8
|
+
import { t as Be } from "./useNestedProp-BY6DNN3i.js";
|
|
9
|
+
import { t as Ve } from "./useThemeCheck-C43Tcqmk.js";
|
|
10
|
+
import { t as He } from "./useStableElementSize-C7KADDKj.js";
|
|
11
|
+
import { t as Ue } from "./useTimeLabelCollider-AEcY4Ioe.js";
|
|
12
|
+
import { t as We } from "./img-Bikk1dGb.js";
|
|
13
|
+
import { n as Ge } from "./Title-BuPs74IB.js";
|
|
14
|
+
import { t as Ke } from "./vue_ui_xy-BA3-_LCx.js";
|
|
15
|
+
import { t as qe } from "./Shape-BfnXr1nJ.js";
|
|
16
|
+
import { t as Je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
17
|
+
import { t as Ye } from "./DefGrad-DVBqDjhO.js";
|
|
18
|
+
import { t as Xe } from "./SlicerPreview-BIdvqU32.js";
|
|
19
|
+
import { t as Ze } from "./vue-ui-accordion-nNxnZTg9.js";
|
|
20
|
+
import { t as Qe } from "./BaseLegendToggle-DsWphmIb.js";
|
|
21
|
+
import { t as $e } from "./A11yDataTable-DdRsVULz.js";
|
|
22
|
+
import { Fragment as _, Teleport as et, computed as v, createBlock as tt, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createSlots as nt, createTextVNode as rt, createVNode as it, defineAsyncComponent as at, getCurrentInstance as ot, guardReactiveProps as S, mergeProps as st, nextTick as ct, normalizeClass as lt, normalizeProps as C, normalizeStyle as w, onBeforeUnmount as ut, onMounted as dt, openBlock as T, ref as E, renderList as D, renderSlot as O, resolveDynamicComponent as ft, shallowRef as pt, toDisplayString as k, toRefs as mt, unref as A, useSlots as ht, vModelCheckbox as gt, watch as _t, watchEffect as vt, withCtx as j, withDirectives as yt } from "vue";
|
|
23
23
|
//#region src/utils/xy.js
|
|
24
24
|
function bt(e) {
|
|
25
25
|
return ![
|
|
@@ -539,7 +539,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
539
539
|
"padding-left": "6px"
|
|
540
540
|
},
|
|
541
541
|
"data-dom-to-png-ignore": ""
|
|
542
|
-
}, oi = ["innerHTML"], M = /*#__PURE__*/
|
|
542
|
+
}, oi = ["innerHTML"], M = /*#__PURE__*/ Je({
|
|
543
543
|
__name: "vue-ui-xy",
|
|
544
544
|
props: {
|
|
545
545
|
config: {
|
|
@@ -568,18 +568,18 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
568
568
|
"zoomReset",
|
|
569
569
|
"copyAlt"
|
|
570
570
|
],
|
|
571
|
-
setup(e, { expose:
|
|
572
|
-
let M = e, si =
|
|
571
|
+
setup(e, { expose: Je, emit: kt }) {
|
|
572
|
+
let M = e, si = at(() => import("./DataTable-DzPEVvSo.js")), ci = at(() => import("./Tooltip-CA1rtSyl.js")), li = at(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), ui = at(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), di = at(() => import("./vue-ui-table-sparkline-CT-0w9-a.js").then((e) => e.n)), fi = at(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), pi = at(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), mi = at(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), hi = kt, gi = ht(), _i = ot(), { vue_ui_xy: vi } = Fe(), { isThemeValid: yi, warnInvalidTheme: bi } = Ve(), xi = E(null), Si = E(null), Ci = E(null), wi = E(null), Ti = E(null), Ei = E(null), Di = E(null), Oi = E(null), ki = E(null), Ai = E(null), ji = E(null), Mi = E(null), Ni = E(null), Pi = E(null), Fi = E(0), N = E(null), Ii = E(!0), Li = E(600), P = E(1e3), Ri = E("0 0 1000 600"), zi = E({
|
|
573
573
|
x: 0,
|
|
574
574
|
y: 0
|
|
575
|
-
}), Bi =
|
|
575
|
+
}), Bi = E({
|
|
576
576
|
line: "line",
|
|
577
577
|
bar: "bar",
|
|
578
578
|
plot: "plot"
|
|
579
|
-
}), Vi =
|
|
579
|
+
}), Vi = E(!1), Hi = E(!1), Ui = E(!1), Wi = E(null), Gi = E([]), Ki = v(() => new Set(Gi.value)), F = E(ee()), qi = E(0), Ji = E(0), Yi = E(0), Xi = E(!0), Zi = E(0), I = E(null), Qi = E(!1), $i = E(!0), ea = E(!0), L = E(null), ta = E({}), na = E(null), ra = E(!1), ia = E(null), aa = E(!1), oa = E(!1), sa = E(null), R = E(null), ca = E(null), la = E({
|
|
580
580
|
x: 0,
|
|
581
581
|
y: 0
|
|
582
|
-
}), ua =
|
|
582
|
+
}), ua = E(null), da = E(null), z = E(null), fa = E(null), pa = E(null), ma = pt(null), ha = E(!1), ga = E(0), _a = E(0), va = He({
|
|
583
583
|
elementRef: ma,
|
|
584
584
|
minimumWidth: 2,
|
|
585
585
|
minimumHeight: 2,
|
|
@@ -601,48 +601,48 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
601
601
|
}
|
|
602
602
|
async function xa() {
|
|
603
603
|
let e = ++_a.value;
|
|
604
|
-
ha.value = !1, await
|
|
604
|
+
ha.value = !1, await ct(), await ba(), await ba(), e === _a.value && (ga.value += 1, ha.value = !0);
|
|
605
605
|
}
|
|
606
|
-
let Sa =
|
|
606
|
+
let Sa = E(!1);
|
|
607
607
|
function Ca() {
|
|
608
|
-
Sa.value || (Sa.value = !0,
|
|
608
|
+
Sa.value || (Sa.value = !0, ct(() => {
|
|
609
609
|
Sa.value = !1, ya(), xa();
|
|
610
610
|
}));
|
|
611
611
|
}
|
|
612
|
-
let wa =
|
|
612
|
+
let wa = v(() => ({
|
|
613
613
|
height: Li.value,
|
|
614
614
|
width: P.value
|
|
615
|
-
})), Ta =
|
|
615
|
+
})), Ta = E(!1), Ea = E(null), Da = E(null), B = E({
|
|
616
616
|
xAxis: 18,
|
|
617
617
|
yAxis: 12,
|
|
618
618
|
dataLabels: 20,
|
|
619
619
|
plotLabels: 10
|
|
620
|
-
}), Oa =
|
|
620
|
+
}), Oa = E({
|
|
621
621
|
plot: 3,
|
|
622
622
|
line: 3,
|
|
623
623
|
selectedLine: 3
|
|
624
|
-
}), ka =
|
|
625
|
-
|
|
626
|
-
ra.value = !0, M.dataset.length && M.dataset.forEach((e,
|
|
627
|
-
[null, void 0].includes(e.series) &&
|
|
624
|
+
}), ka = v(() => Math.max(Oa.value.line * 1.5, Oa.value.selectedLine));
|
|
625
|
+
dt(() => {
|
|
626
|
+
ra.value = !0, M.dataset.length && M.dataset.forEach((e, t) => {
|
|
627
|
+
[null, void 0].includes(e.series) && ve({
|
|
628
628
|
componentName: "VueUiXy",
|
|
629
629
|
type: "datasetSerieAttribute",
|
|
630
630
|
property: "series (number[])",
|
|
631
|
-
index:
|
|
631
|
+
index: t,
|
|
632
632
|
debug: Fa.value
|
|
633
633
|
});
|
|
634
634
|
}), ya(), va.start(), xa();
|
|
635
635
|
});
|
|
636
636
|
function Aa() {
|
|
637
637
|
if (!Object.keys(M.config || {}).length) return vi;
|
|
638
|
-
let e =
|
|
638
|
+
let e = Be({
|
|
639
639
|
userConfig: M.config,
|
|
640
640
|
defaultConfig: vi
|
|
641
641
|
});
|
|
642
|
-
M.config &&
|
|
642
|
+
M.config && me(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea : e.chart.highlightArea = [M.config.chart.highlightArea]), M.config && me(M.config, "chart.annotations") && Array.isArray(M.config.chart.annotations) && M.config.chart.annotations.length ? e.chart.annotations = M.config.chart.annotations.map((e) => Be({
|
|
643
643
|
defaultConfig: vi.chart.annotations[0],
|
|
644
644
|
userConfig: e
|
|
645
|
-
})) : e.chart.annotations = [], M.config &&
|
|
645
|
+
})) : e.chart.annotations = [], M.config && me(M.config, "chart.grid.position") && M.config.chart.grid.position === "start" && M.dataset.length && M.dataset.some((e) => e.type === "bar") && (e.chart.grid.position = "middle", me(M.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), M.config && me(M.config, "chart.highlightArea") && (Array.isArray(M.config.chart.highlightArea) ? e.chart.highlightArea = M.config.chart.highlightArea.map((e) => ja({
|
|
646
646
|
defaultConfig: vi.chart.highlightArea,
|
|
647
647
|
userConfig: e
|
|
648
648
|
})) : e.chart.highlightArea = ja({
|
|
@@ -652,32 +652,32 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
652
652
|
let t = e.theme;
|
|
653
653
|
if (!t) return e;
|
|
654
654
|
if (!yi.value(e)) return bi(e), e;
|
|
655
|
-
let n =
|
|
656
|
-
userConfig:
|
|
655
|
+
let n = Be({
|
|
656
|
+
userConfig: Ke[t] || M.config,
|
|
657
657
|
defaultConfig: e
|
|
658
|
-
}), r =
|
|
658
|
+
}), r = Be({
|
|
659
659
|
userConfig: M.config,
|
|
660
660
|
defaultConfig: n
|
|
661
661
|
});
|
|
662
662
|
return {
|
|
663
663
|
...r,
|
|
664
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
664
|
+
customPalette: r.customPalette.length ? r.customPalette : s[t] || re
|
|
665
665
|
};
|
|
666
666
|
}
|
|
667
667
|
function ja({ defaultConfig: e, userConfig: t }) {
|
|
668
|
-
return
|
|
668
|
+
return Be({
|
|
669
669
|
defaultConfig: e,
|
|
670
670
|
userConfig: t
|
|
671
671
|
});
|
|
672
672
|
}
|
|
673
|
-
let Ma =
|
|
673
|
+
let Ma = v({
|
|
674
674
|
get() {
|
|
675
675
|
return !!M.dataset && M.dataset.length;
|
|
676
676
|
},
|
|
677
677
|
set(e) {
|
|
678
678
|
return e;
|
|
679
679
|
}
|
|
680
|
-
}), V =
|
|
680
|
+
}), V = E(Aa()), Na = v(() => V.value.chart.userOptions.useCursorPointer), H = E({
|
|
681
681
|
dataLabels: { show: !0 },
|
|
682
682
|
showTooltip: !0,
|
|
683
683
|
showTable: !1,
|
|
@@ -698,7 +698,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
698
698
|
}
|
|
699
699
|
H.value.showTooltip = V.value.chart.tooltip.show === !0, e !== Ea.value && (H.value.isStacked = e, Ea.value = e), t !== Da.value && (H.value.useIndividualScale = t, Da.value = t), H.value.isStacked && (H.value.useIndividualScale = !0);
|
|
700
700
|
}
|
|
701
|
-
let Fa =
|
|
701
|
+
let Fa = v(() => !!V.value.debug), Ia = v(() => Ce({
|
|
702
702
|
defaultConfig: {
|
|
703
703
|
useCssAnimation: !1,
|
|
704
704
|
showTable: !1,
|
|
@@ -754,7 +754,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
754
754
|
}
|
|
755
755
|
},
|
|
756
756
|
userConfig: V.value.skeletonConfig ?? {}
|
|
757
|
-
})), La =
|
|
757
|
+
})), La = v(() => M.config?.skeletonDataset ?? [{
|
|
758
758
|
name: "",
|
|
759
759
|
series: [
|
|
760
760
|
0,
|
|
@@ -791,7 +791,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
791
791
|
],
|
|
792
792
|
type: "bar",
|
|
793
793
|
color: "#CACACA"
|
|
794
|
-
}]), { loading: Ra, FINAL_DATASET: za, manualLoading: Ba } =
|
|
794
|
+
}]), { loading: Ra, FINAL_DATASET: za, manualLoading: Ba } = Le({
|
|
795
795
|
...mt(M),
|
|
796
796
|
FINAL_CONFIG: V,
|
|
797
797
|
prepareConfig: Aa,
|
|
@@ -801,37 +801,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
801
801
|
});
|
|
802
802
|
},
|
|
803
803
|
skeletonDataset: La.value,
|
|
804
|
-
skeletonConfig:
|
|
804
|
+
skeletonConfig: Ce({
|
|
805
805
|
defaultConfig: V.value,
|
|
806
806
|
userConfig: Ia.value
|
|
807
807
|
})
|
|
808
|
-
}), Va = Tt((e, t) =>
|
|
808
|
+
}), Va = Tt((e, t) => ce({
|
|
809
809
|
data: e,
|
|
810
810
|
threshold: t
|
|
811
|
-
})), Ha = (e) => Va(e, V.value.downsample.threshold), Ua =
|
|
811
|
+
})), Ha = (e) => Va(e, V.value.downsample.threshold), Ua = v(() => {
|
|
812
812
|
let e = V.value.downsample.threshold;
|
|
813
813
|
return za.value.map((t) => Va(t.series, e).length);
|
|
814
|
-
}), Wa =
|
|
814
|
+
}), Wa = v(() => {
|
|
815
815
|
let e = -Infinity;
|
|
816
816
|
for (let t = 0; t < Ua.value.length; t += 1) {
|
|
817
817
|
let n = Ua.value[t];
|
|
818
818
|
n > e && (e = n);
|
|
819
819
|
}
|
|
820
820
|
return e;
|
|
821
|
-
}), Ga =
|
|
821
|
+
}), Ga = v(() => {
|
|
822
822
|
let e = 0;
|
|
823
823
|
for (let t = 0; t < Ua.value.length; t += 1) {
|
|
824
824
|
let n = Ua.value[t];
|
|
825
825
|
n > e && (e = n);
|
|
826
826
|
}
|
|
827
827
|
return e;
|
|
828
|
-
}), Ka =
|
|
828
|
+
}), Ka = v(() => Wa.value), U = E({
|
|
829
829
|
start: 0,
|
|
830
830
|
end: Ka.value
|
|
831
|
-
}), qa =
|
|
831
|
+
}), qa = E({
|
|
832
832
|
start: 0,
|
|
833
833
|
end: Ka.value
|
|
834
|
-
}), Ja =
|
|
834
|
+
}), Ja = v(() => V.value.chart.zoom.preview.enable && (qa.value.start !== U.value.start || qa.value.end !== U.value.end));
|
|
835
835
|
function Ya(e, t) {
|
|
836
836
|
qa.value[e] = t;
|
|
837
837
|
}
|
|
@@ -850,7 +850,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
850
850
|
end: n
|
|
851
851
|
}, qa.value.start = t, qa.value.end = n, Ci.value && (Ci.value.setStartValue(t), Ci.value.setEndValue(n));
|
|
852
852
|
}
|
|
853
|
-
let Za =
|
|
853
|
+
let Za = v(() => {
|
|
854
854
|
let { left: e, top: t, width: n, height: r } = J.value, i = U.value.start, a = U.value.end - i, o = n / a, s = qa.value.start - i, c = qa.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
|
|
855
855
|
return {
|
|
856
856
|
x: e + l * o,
|
|
@@ -878,21 +878,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
878
878
|
let t = e - U.value.start;
|
|
879
879
|
t < 0 || e >= U.value.end ? R.value = null : R.value = t ?? null;
|
|
880
880
|
}, { immediate: !0 });
|
|
881
|
-
let { isPrinting: Qa, isImaging: $a, generatePdf: eo, generateImage: to } =
|
|
881
|
+
let { isPrinting: Qa, isImaging: $a, generatePdf: eo, generateImage: to } = Ie({
|
|
882
882
|
elementId: `vue-ui-xy_${F.value}`,
|
|
883
883
|
fileName: V.value.chart.title.text || "vue-ui-xy",
|
|
884
884
|
options: V.value.chart.userOptions.print
|
|
885
|
-
}), no =
|
|
885
|
+
}), no = E(!1), ro = v(() => i(V.value.customPalette)), io = v(() => {
|
|
886
886
|
let e = V.value.chart.grid.labels.yAxis.scaleMin;
|
|
887
887
|
if (e == null) return null;
|
|
888
888
|
let t = Number(e);
|
|
889
889
|
return Number.isFinite(t) ? t : null;
|
|
890
|
-
}), ao =
|
|
890
|
+
}), ao = v(() => io.value === null ? ws.value : J.value.bottom), oo = v(() => {
|
|
891
891
|
let e = V.value.chart.grid.labels.yAxis.scaleMax;
|
|
892
892
|
if (e == null) return null;
|
|
893
893
|
let t = Number(e);
|
|
894
894
|
return Number.isFinite(t) ? t : null;
|
|
895
|
-
}), so =
|
|
895
|
+
}), so = v(() => io.value !== null || oo.value !== null), co = v(() => Bc(vo.value.filter((e) => !Ki.value.has(e.id)), 0, 1)), lo = v(() => {
|
|
896
896
|
let { min: e, max: t } = co.value;
|
|
897
897
|
if (!so.value) {
|
|
898
898
|
let t = e;
|
|
@@ -900,7 +900,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
900
900
|
}
|
|
901
901
|
let n = io.value === null ? e > 0 ? 0 : e : io.value, r = oo.value === null ? t : oo.value;
|
|
902
902
|
return Et(e < n ? e : n, t > r ? t : r).min;
|
|
903
|
-
}), uo =
|
|
903
|
+
}), uo = v(() => {
|
|
904
904
|
let { min: e, max: t } = co.value;
|
|
905
905
|
if (!so.value) {
|
|
906
906
|
let e = t;
|
|
@@ -908,7 +908,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
908
908
|
}
|
|
909
909
|
let n = io.value === null ? e > 0 ? 0 : e : io.value, r = oo.value === null ? t : oo.value;
|
|
910
910
|
return Et(e < n ? e : n, t > r ? t : r).max;
|
|
911
|
-
}), W =
|
|
911
|
+
}), W = v(() => V.value.chart.grid.labels.yAxis.useNiceScale ? ye(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps) : pe(lo.value, uo.value < 0 ? 0 : uo.value, V.value.chart.grid.labels.yAxis.commonScaleSteps)), fo = v(() => [null, void 0].includes(V.value.chart.grid.labels.yAxis.scaleMin) ? W.value.min >= 0 ? 0 : Math.abs(W.value.min) : -W.value.min), G = v(() => za.value.some((e) => Array.isArray(e.series) && e.series.some(Ct)));
|
|
912
912
|
vt(() => {
|
|
913
913
|
G.value && za.value.some((e) => !ho(e)) && console.warn("Vue Data UI - VueUiXy: mixed continuous and non-continuous series are not supported in the same chart.\n\nContinuous mode requires all visible 'line' and 'plot' series to use coordinate-based datasets:\n[{ x: number, y: number }]\n\nSeries of type 'bar' and standard numeric series are ignored in continuous mode to prevent runtime errors.\n\nIf you need to mix 'bar', 'line', and 'plot' series in the same chart, all series must use the standard [number, number, number...] format.");
|
|
914
914
|
});
|
|
@@ -919,7 +919,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
919
919
|
return Array.isArray(e) && e.some((e) => Ct(e) || po(e));
|
|
920
920
|
}
|
|
921
921
|
function ho(e) {
|
|
922
|
-
return G.value
|
|
922
|
+
return !G.value || ["line", "plot"].includes(e.type) && mo(e.series);
|
|
923
923
|
}
|
|
924
924
|
function go(e, t) {
|
|
925
925
|
return po(e) ? {
|
|
@@ -937,7 +937,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
937
937
|
isInvalid: !0
|
|
938
938
|
} : {
|
|
939
939
|
x: Number(e.x),
|
|
940
|
-
y:
|
|
940
|
+
y: ke(e.y) ? Number(e.y) : null,
|
|
941
941
|
index: t,
|
|
942
942
|
raw: e,
|
|
943
943
|
isNull: !1,
|
|
@@ -947,17 +947,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
947
947
|
function _o(e) {
|
|
948
948
|
return G.value ? e && typeof e == "object" ? e.y : null : e;
|
|
949
949
|
}
|
|
950
|
-
let vo =
|
|
950
|
+
let vo = v(() => !Ii.value && !G.value ? za.value : za.value.map((e, t) => {
|
|
951
951
|
let n = `uniqueId_${t}`, r = ho(e), i = G.value ? r ? e.series : [] : Ha(e.series);
|
|
952
952
|
return {
|
|
953
953
|
...e,
|
|
954
954
|
slotAbsoluteIndex: t,
|
|
955
|
-
series: G.value ? i.map((e, t) => go(e, t)).filter((e) => e.isInvalid ? !1 : e.x === null && e.y === null ? U.value.start <= 0 && U.value.end >= 0 : e.x >= U.value.start && e.x <= U.value.end) : i.map((e) =>
|
|
956
|
-
color:
|
|
955
|
+
series: G.value ? i.map((e, t) => go(e, t)).filter((e) => e.isInvalid ? !1 : e.x === null && e.y === null ? U.value.start <= 0 && U.value.end >= 0 : e.x >= U.value.start && e.x <= U.value.end) : i.map((e) => ke(e) ? e : null).slice(U.value.start, U.value.end),
|
|
956
|
+
color: Oe(e.color ? e.color : ro.value[t] ? ro.value[t] : re[t]),
|
|
957
957
|
id: n,
|
|
958
958
|
scaleLabel: e.scaleLabel || n
|
|
959
959
|
};
|
|
960
|
-
})), yo =
|
|
960
|
+
})), yo = v(() => vo.value.map((e, t) => ({
|
|
961
961
|
absoluteIndex: t,
|
|
962
962
|
...e,
|
|
963
963
|
series: G.value ? e.series.map((e) => ({
|
|
@@ -967,14 +967,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
967
967
|
absoluteValues: G.value ? e.series.map((e) => e.y) : e.series,
|
|
968
968
|
segregate: () => Zs(e),
|
|
969
969
|
isSegregated: Ki.value.has(e.id)
|
|
970
|
-
}))), K =
|
|
970
|
+
}))), K = v(() => vo.value.map((e) => ({
|
|
971
971
|
...e,
|
|
972
972
|
series: G.value ? e.series.map((e) => ({
|
|
973
973
|
...e,
|
|
974
974
|
y: e.y === null ? null : e.y + fo.value
|
|
975
975
|
})) : e.series.map((e) => e + fo.value),
|
|
976
976
|
absoluteValues: G.value ? e.series.map((e) => e.y) : e.series
|
|
977
|
-
})).filter((e) => !Ki.value.has(e.id))), bo =
|
|
977
|
+
})).filter((e) => !Ki.value.has(e.id))), bo = v(() => Gi.value.length === yo.value.length), q = v(() => V.value.chart.grid.labels.yAxis.position === "right");
|
|
978
978
|
function xo() {
|
|
979
979
|
let e = 0;
|
|
980
980
|
ji.value && (e = Array.from(ji.value.querySelectorAll("text")).reduce((e, t) => {
|
|
@@ -995,8 +995,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
995
995
|
Z.value = [], Fs.value = null, sa.value = null;
|
|
996
996
|
return;
|
|
997
997
|
}
|
|
998
|
-
let n = Number(t.point.x);
|
|
999
|
-
Z.value =
|
|
998
|
+
let n = Number(t.point.x), r = Is.value.matchingPointsByXValue.get(n) || [];
|
|
999
|
+
Z.value = r.map((e) => ({
|
|
1000
1000
|
...e,
|
|
1001
1001
|
distance: 0
|
|
1002
1002
|
})), Fs.value = Xc({ x: n }), sa.value = n;
|
|
@@ -1009,7 +1009,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1009
1009
|
let t = Xc({ x: Number(e) });
|
|
1010
1010
|
So(t), Fs.value = t;
|
|
1011
1011
|
}
|
|
1012
|
-
let wo =
|
|
1012
|
+
let wo = E(0), To = E(0);
|
|
1013
1013
|
function Eo() {
|
|
1014
1014
|
let e = Ai.value;
|
|
1015
1015
|
if (!e) {
|
|
@@ -1023,7 +1023,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1023
1023
|
wo.value = 0, To.value = 0;
|
|
1024
1024
|
}
|
|
1025
1025
|
}
|
|
1026
|
-
let Do =
|
|
1026
|
+
let Do = v(() => {
|
|
1027
1027
|
let e = 0;
|
|
1028
1028
|
if (Oi.value) try {
|
|
1029
1029
|
e = Oi.value.getBBox().height || 0;
|
|
@@ -1031,11 +1031,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1031
1031
|
e = 0;
|
|
1032
1032
|
}
|
|
1033
1033
|
return e + wo.value + B.value.xAxis;
|
|
1034
|
-
}), Oo =
|
|
1034
|
+
}), Oo = v(() => za.value.some((e) => e.useProgression));
|
|
1035
1035
|
function ko() {
|
|
1036
1036
|
return V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + V.value.chart.grid.labels.axis.yLabelOffsetX + B.value.dataLabels * .8;
|
|
1037
1037
|
}
|
|
1038
|
-
let J =
|
|
1038
|
+
let J = v(() => {
|
|
1039
1039
|
ga.value;
|
|
1040
1040
|
let e = 0, t = 0, n = 0, r = 0;
|
|
1041
1041
|
if (V.value.chart.grid.labels.show) if (H.value.useIndividualScale && !H.value.isStacked) q.value ? t = (za.value.length - Gi.value.length) * ko() : e = (za.value.length - Gi.value.length) * (V.value.chart.grid.labels.yAxis.labelWidth + 36);
|
|
@@ -1062,8 +1062,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1062
1062
|
yAxisLabelWidth: r,
|
|
1063
1063
|
individualOffsetX: 36
|
|
1064
1064
|
};
|
|
1065
|
-
}), Ao =
|
|
1066
|
-
let e = +(V.value.chart.grid.position === "middle"), t = X.value + e, n =
|
|
1065
|
+
}), Ao = v(() => {
|
|
1066
|
+
let e = +(V.value.chart.grid.position === "middle"), t = X.value + e, n = m(J.value?.top), r = m(J.value?.bottom);
|
|
1067
1067
|
return G.value ? V.value.chart.grid.position === "middle" ? Jc.value.map((e, t, i) => {
|
|
1068
1068
|
if (t === 0) return null;
|
|
1069
1069
|
let a = i[t - 1], o = a.x + (e.x - a.x) / 2;
|
|
@@ -1072,7 +1072,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1072
1072
|
let i = V.value.chart.grid.position === "middle" ? dc(t) : uc(t);
|
|
1073
1073
|
return `M${i},${n} L${i},${r}`;
|
|
1074
1074
|
}).join(" ");
|
|
1075
|
-
}), jo =
|
|
1075
|
+
}), jo = v(() => {
|
|
1076
1076
|
if (!V.value.chart.grid.labels.xAxis.showCrosshairs) return "";
|
|
1077
1077
|
let e = V.value.chart.grid.labels.xAxis.crosshairSize, t = V.value.chart.grid.labels.xAxis.crosshairsAlwaysAtZero;
|
|
1078
1078
|
return (G.value ? Jc.value : Go.value).map((n, r) => {
|
|
@@ -1085,7 +1085,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1085
1085
|
return !!_i?.vnode.props?.onSelectTimeLabel;
|
|
1086
1086
|
}
|
|
1087
1087
|
function No(e, t, n) {
|
|
1088
|
-
|
|
1088
|
+
if (!na.value) {
|
|
1089
|
+
let e = document.createElement("canvas");
|
|
1090
|
+
na.value = e.getContext("2d");
|
|
1091
|
+
}
|
|
1092
|
+
return na.value.font = `${n || "normal"} ${e}px ${t || "sans-serif"}`, na.value;
|
|
1089
1093
|
}
|
|
1090
1094
|
function Po() {
|
|
1091
1095
|
let e = xi.value.querySelectorAll(".vue-ui-xy-tag");
|
|
@@ -1094,9 +1098,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1094
1098
|
function Fo(e, t, n, r, i) {
|
|
1095
1099
|
n && (ta.value[`${e}_${t}_${r}_${i}`] = n);
|
|
1096
1100
|
}
|
|
1097
|
-
let Io =
|
|
1101
|
+
let Io = E(!1);
|
|
1098
1102
|
async function Lo(e = !1) {
|
|
1099
|
-
await
|
|
1103
|
+
await ct(), Io.value = e, Qi.value && (ea.value = e);
|
|
1100
1104
|
}
|
|
1101
1105
|
function Ro() {
|
|
1102
1106
|
Lo(!0);
|
|
@@ -1107,11 +1111,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1107
1111
|
function Bo() {
|
|
1108
1112
|
Vi.value = !Vi.value;
|
|
1109
1113
|
}
|
|
1110
|
-
let Y =
|
|
1114
|
+
let Y = E([]), Vo = E([]), Ho = 0;
|
|
1111
1115
|
vt(() => {
|
|
1112
1116
|
let e = ++Ho;
|
|
1113
1117
|
(async () => {
|
|
1114
|
-
let t = Wa.value, n = await
|
|
1118
|
+
let t = Wa.value, n = await Pe({
|
|
1115
1119
|
values: V.value.chart.grid.labels.xAxisLabels.values,
|
|
1116
1120
|
maxDatapoints: t,
|
|
1117
1121
|
formatter: V.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
|
|
@@ -1125,7 +1129,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1125
1129
|
vt(() => {
|
|
1126
1130
|
let e = ++Uo;
|
|
1127
1131
|
(async () => {
|
|
1128
|
-
let t = Wa.value, n = await
|
|
1132
|
+
let t = Wa.value, n = await Pe({
|
|
1129
1133
|
values: V.value.chart.grid.labels.xAxisLabels.values,
|
|
1130
1134
|
maxDatapoints: t,
|
|
1131
1135
|
formatter: V.value.chart.grid.labels.xAxisLabels.datetimeFormatter,
|
|
@@ -1135,14 +1139,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1135
1139
|
e === Uo && (Vo.value = n);
|
|
1136
1140
|
})();
|
|
1137
1141
|
});
|
|
1138
|
-
let Wo =
|
|
1142
|
+
let Wo = v(() => {
|
|
1139
1143
|
let e = V.value.chart.grid.labels.xAxisLabels.modulo;
|
|
1140
1144
|
return Y.value.length ? Math.min(e, [...new Set(Y.value.map((e) => e.text))].length) : e;
|
|
1141
|
-
}), Go =
|
|
1145
|
+
}), Go = v(() => {
|
|
1142
1146
|
let e = V.value.chart.grid.labels.xAxisLabels, t = Y.value || [], n = Vo.value || [], r = U.value.start ?? 0, i = R.value, a = X.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
|
|
1143
1147
|
return Te(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Wo.value || 1), o, s, r, i, a);
|
|
1144
|
-
}), Ko =
|
|
1145
|
-
|
|
1148
|
+
}), Ko = v(() => (Go.value || []).map((e) => e?.text ?? "").join("|"));
|
|
1149
|
+
dt(() => {
|
|
1146
1150
|
requestAnimationFrame(() => {
|
|
1147
1151
|
Eo();
|
|
1148
1152
|
}), _t([
|
|
@@ -1152,30 +1156,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1152
1156
|
() => P.value,
|
|
1153
1157
|
() => Li.value
|
|
1154
1158
|
], async () => {
|
|
1155
|
-
await
|
|
1159
|
+
await ct(), requestAnimationFrame(() => {
|
|
1156
1160
|
Eo();
|
|
1157
1161
|
});
|
|
1158
1162
|
}, { flush: "post" });
|
|
1159
|
-
}),
|
|
1163
|
+
}), ut(() => {
|
|
1160
1164
|
wo.value = 0, To.value = 0, va.stop(), ua.value &&= (ua.value.disconnect(), null);
|
|
1161
1165
|
});
|
|
1162
1166
|
function qo(e, t) {
|
|
1167
|
+
let n = K.value.map((e) => ({
|
|
1168
|
+
shape: e.shape ?? e.type === "bar" ? "square" : "circle",
|
|
1169
|
+
name: e.name,
|
|
1170
|
+
color: e.color,
|
|
1171
|
+
type: e.type,
|
|
1172
|
+
value: e.absoluteValues.find((e, n) => n === t),
|
|
1173
|
+
comments: e.comments || [],
|
|
1174
|
+
prefix: e.prefix || V.value.chart.labels.prefix,
|
|
1175
|
+
suffix: e.suffix || V.value.chart.labels.suffix
|
|
1176
|
+
}));
|
|
1163
1177
|
hi("selectTimeLabel", {
|
|
1164
|
-
datapoint:
|
|
1165
|
-
shape: e.shape ?? e.type === "bar" ? "square" : "circle",
|
|
1166
|
-
name: e.name,
|
|
1167
|
-
color: e.color,
|
|
1168
|
-
type: e.type,
|
|
1169
|
-
value: e.absoluteValues.find((e, n) => n === t),
|
|
1170
|
-
comments: e.comments || [],
|
|
1171
|
-
prefix: e.prefix || V.value.chart.labels.prefix,
|
|
1172
|
-
suffix: e.suffix || V.value.chart.labels.suffix
|
|
1173
|
-
})),
|
|
1178
|
+
datapoint: n,
|
|
1174
1179
|
absoluteIndex: e.absoluteIndex,
|
|
1175
1180
|
label: e.text
|
|
1176
1181
|
});
|
|
1177
1182
|
}
|
|
1178
|
-
let X =
|
|
1183
|
+
let X = v(() => {
|
|
1179
1184
|
let e = Ot((U.value.end ?? 0) - (U.value.start ?? 0));
|
|
1180
1185
|
return Math.max(1, e);
|
|
1181
1186
|
});
|
|
@@ -1183,13 +1188,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1183
1188
|
G.value || (I.value = e);
|
|
1184
1189
|
}
|
|
1185
1190
|
function Yo(e) {
|
|
1186
|
-
if (!G.value || !
|
|
1191
|
+
if (!G.value || !f(e)) {
|
|
1187
1192
|
sa.value = null, Z.value = [], Fs.value = null;
|
|
1188
1193
|
return;
|
|
1189
1194
|
}
|
|
1190
1195
|
sa.value = Number(e), Co(Number(e));
|
|
1191
1196
|
}
|
|
1192
|
-
let Xo =
|
|
1197
|
+
let Xo = v(() => G.value ? f(sa.value) || f(Fs.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value));
|
|
1193
1198
|
function Zo() {
|
|
1194
1199
|
H.value.isStacked = !H.value.isStacked, H.value.isStacked ? H.value.useIndividualScale = !0 : H.value.useIndividualScale = V.value.chart.grid.labels.yAxis.useIndividualScale;
|
|
1195
1200
|
}
|
|
@@ -1200,7 +1205,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1200
1205
|
let t = Wa.value;
|
|
1201
1206
|
return e > t ? t : e < 0 || V.value.chart.zoom.startIndex !== null && e < V.value.chart.zoom.startIndex ? V.value.chart.zoom.startIndex === null ? 1 : V.value.chart.zoom.startIndex + 1 : e;
|
|
1202
1207
|
}
|
|
1203
|
-
let es =
|
|
1208
|
+
let es = E(!1), ts = E(!1), ns = E(0), rs = E(0);
|
|
1204
1209
|
function is() {
|
|
1205
1210
|
if (!es.value) {
|
|
1206
1211
|
es.value = !0;
|
|
@@ -1222,7 +1227,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1222
1227
|
}
|
|
1223
1228
|
}
|
|
1224
1229
|
}
|
|
1225
|
-
let as =
|
|
1230
|
+
let as = E(!1), os = E(!1), ss = null, cs = null, ls = {};
|
|
1226
1231
|
function us(e = U.value) {
|
|
1227
1232
|
return Number(e.end) - Number(e.start);
|
|
1228
1233
|
}
|
|
@@ -1237,8 +1242,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1237
1242
|
let e = us(), t = {
|
|
1238
1243
|
...U.value,
|
|
1239
1244
|
...ls
|
|
1240
|
-
};
|
|
1241
|
-
os.value =
|
|
1245
|
+
}, n = us(t);
|
|
1246
|
+
os.value = n !== e, U.value = t, qa.value = { ...t }, ls = {}, ss = null, Xa(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
|
|
1242
1247
|
os.value = !1, cs = null;
|
|
1243
1248
|
});
|
|
1244
1249
|
});
|
|
@@ -1272,15 +1277,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1272
1277
|
}
|
|
1273
1278
|
async function hs() {
|
|
1274
1279
|
let e = us();
|
|
1275
|
-
os.value = !0, await is(), us() === e ? os.value = !1 : (await
|
|
1280
|
+
os.value = !0, await is(), us() === e ? os.value = !1 : (await ct(), cs && cancelAnimationFrame(cs), cs = requestAnimationFrame(() => {
|
|
1276
1281
|
os.value = !1, cs = null;
|
|
1277
1282
|
})), hi("zoomReset");
|
|
1278
1283
|
}
|
|
1279
|
-
let gs =
|
|
1284
|
+
let gs = v(() => W.value.max + fo.value);
|
|
1280
1285
|
function _s(e) {
|
|
1281
1286
|
return e / (bt(gs.value) ? gs.value : 1);
|
|
1282
1287
|
}
|
|
1283
|
-
let vs =
|
|
1288
|
+
let vs = v(() => V.value.chart.grid.labels.yAxis.reverse);
|
|
1284
1289
|
function ys(e) {
|
|
1285
1290
|
return vs.value ? 1 - e : e;
|
|
1286
1291
|
}
|
|
@@ -1295,24 +1300,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1295
1300
|
individualHeight: i
|
|
1296
1301
|
});
|
|
1297
1302
|
}
|
|
1298
|
-
let Ss =
|
|
1303
|
+
let Ss = v(() => V.value.chart.grid.labels.xAxis.reverse);
|
|
1299
1304
|
function Cs(e) {
|
|
1300
1305
|
return Ss.value ? 1 - e : e;
|
|
1301
1306
|
}
|
|
1302
|
-
let ws =
|
|
1307
|
+
let ws = v(() => isNaN(_s(fo.value)) ? J.value?.bottom : J.value?.bottom - J.value.height * _s(fo.value));
|
|
1303
1308
|
function Ts(e) {
|
|
1304
1309
|
let t = W.value.min, n = W.value.max - t;
|
|
1305
1310
|
return !Number.isFinite(e) || !Number.isFinite(n) || n === 0 ? J.value?.bottom : J.value?.bottom - J.value.height * ((e - t) / n);
|
|
1306
1311
|
}
|
|
1307
|
-
let Es =
|
|
1312
|
+
let Es = v(() => W.value.min <= 0 && W.value.max >= 0 ? Ts(0) : W.value.min > 0 ? Ts(W.value.min) : Ts(W.value.max));
|
|
1308
1313
|
function Ds(e) {
|
|
1309
1314
|
let t = ![null, void 0].includes(V.value.chart.grid.labels.yAxis.scaleMin) && V.value.chart.grid.labels.yAxis.scaleMin > 0 && lo.value >= 0 ? J.value?.bottom : ws.value;
|
|
1310
|
-
return e.value >= 0 ?
|
|
1315
|
+
return e.value >= 0 ? g(t - e.y <= 0 ? 1e-5 : t - e.y) : g(e.y - ws.value <= 0 ? 1e-5 : e.y - ws.value);
|
|
1311
1316
|
}
|
|
1312
1317
|
function Os(e) {
|
|
1313
|
-
return e.value >= 0 ?
|
|
1318
|
+
return e.value >= 0 ? g(e.zeroPosition - e.y <= 0 ? 1e-5 : e.zeroPosition - e.y) : g(e.y - e.zeroPosition <= 0 ? 1e-5 : e.zeroPosition - e.y);
|
|
1314
1319
|
}
|
|
1315
|
-
let ks =
|
|
1320
|
+
let ks = v(() => {
|
|
1316
1321
|
let e = Math.max(1, X.value);
|
|
1317
1322
|
return {
|
|
1318
1323
|
bar: Dt(Math.max(1, J.value.width), e * Ec.value, 1),
|
|
@@ -1344,7 +1349,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1344
1349
|
-Infinity
|
|
1345
1350
|
].includes(e.zeroPosition) ? 0 : e.zeroPosition;
|
|
1346
1351
|
}
|
|
1347
|
-
let Ps =
|
|
1352
|
+
let Ps = E(null), Z = E([]), Fs = E(null), Is = v(() => {
|
|
1348
1353
|
if (!G.value) return {
|
|
1349
1354
|
sortedPoints: [],
|
|
1350
1355
|
matchingPointsByXValue: /* @__PURE__ */ new Map()
|
|
@@ -1354,7 +1359,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1354
1359
|
let i = K.value[r];
|
|
1355
1360
|
if (["line", "plot"].includes(i.type) && Array.isArray(i.series)) for (let r = 0; r < i.series.length; r += 1) {
|
|
1356
1361
|
let a = i.series[r];
|
|
1357
|
-
if (!
|
|
1362
|
+
if (!f(a?.x) || !f(a?.y)) continue;
|
|
1358
1363
|
let o = Number(a.x), s = Xc(a), c = {
|
|
1359
1364
|
datapoint: i,
|
|
1360
1365
|
point: a,
|
|
@@ -1394,15 +1399,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1394
1399
|
});
|
|
1395
1400
|
}), a;
|
|
1396
1401
|
}
|
|
1397
|
-
let Rs =
|
|
1402
|
+
let Rs = v(() => G.value ? Array.from(Is.value.matchingPointsByXValue.keys()).sort((e, t) => Xc({ x: e }) - Xc({ x: t })) : []);
|
|
1398
1403
|
function zs(e) {
|
|
1399
1404
|
let t = Rs.value[e];
|
|
1400
|
-
if (!
|
|
1405
|
+
if (!f(t)) {
|
|
1401
1406
|
Z.value = [], Fs.value = null, sa.value = null, Ui.value = !1;
|
|
1402
1407
|
return;
|
|
1403
1408
|
}
|
|
1404
1409
|
Co(Number(t));
|
|
1405
|
-
let n =
|
|
1410
|
+
let n = fe(Xc({ x: Number(t) }), J.value.top + J.value.height / 2, L.value);
|
|
1406
1411
|
n && (la.value = n), R.value = e, ca.value = e, Ui.value = !0;
|
|
1407
1412
|
}
|
|
1408
1413
|
function Bs(e) {
|
|
@@ -1502,7 +1507,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1502
1507
|
}
|
|
1503
1508
|
async function qs({ scale: e = 2 } = {}) {
|
|
1504
1509
|
if (!xi.value) return;
|
|
1505
|
-
let { imageUri: t, base64: n } = await
|
|
1510
|
+
let { imageUri: t, base64: n } = await We({
|
|
1506
1511
|
domElement: xi.value,
|
|
1507
1512
|
base64: !0,
|
|
1508
1513
|
img: !0,
|
|
@@ -1511,7 +1516,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1511
1516
|
width: r.width,
|
|
1512
1517
|
height: r.height,
|
|
1513
1518
|
aspectRatio: r.height ? r.width / r.height : 0
|
|
1514
|
-
}, a = await
|
|
1519
|
+
}, a = await De(t, e) ?? i;
|
|
1515
1520
|
return {
|
|
1516
1521
|
imageUri: t,
|
|
1517
1522
|
base64: n,
|
|
@@ -1554,7 +1559,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1554
1559
|
let t = Qs(e);
|
|
1555
1560
|
t !== null && (Ki.value.has(t.id) || Zs({ id: t.id }));
|
|
1556
1561
|
}
|
|
1557
|
-
let tc =
|
|
1562
|
+
let tc = v(() => `${V.value.chart.title.text || "Chart visualization"}. ${V.value.chart.title.subtitle.text || ""}`), nc = v(() => ({ linePlot: X.value > V.value.line.dot.hideAboveMaxSerieLength })), rc = v(() => V.value.chart.userOptions.show && (!V.value.chart.title.show || !V.value.chart.title.text)), ic = v(() => {
|
|
1558
1563
|
if (Array.isArray(V.value.chart.highlightArea)) return V.value.chart.highlightArea.map((e) => {
|
|
1559
1564
|
let t = Math.min(e.to, Ka.value - 1);
|
|
1560
1565
|
return {
|
|
@@ -1570,12 +1575,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1570
1575
|
...e,
|
|
1571
1576
|
span: e.from === e.to ? 1 : e.to < e.from ? 0 : e.to - e.from + 1
|
|
1572
1577
|
}];
|
|
1573
|
-
}), ac =
|
|
1578
|
+
}), ac = v(() => Ii.value ? za.value.map((e, t) => ({
|
|
1574
1579
|
...e,
|
|
1575
1580
|
series: Ha(e.series),
|
|
1576
1581
|
id: `uniqueId_${t}`,
|
|
1577
|
-
color:
|
|
1578
|
-
})) : za.value), oc =
|
|
1582
|
+
color: Oe(e.color ? e.color : ro.value[t] ? ro.value[t] : re[t])
|
|
1583
|
+
})) : za.value), oc = v(() => K.value.map((e) => {
|
|
1579
1584
|
let t = e.absoluteValues.map((e) => [void 0, null].includes(e) ? null : e);
|
|
1580
1585
|
return {
|
|
1581
1586
|
id: e.id,
|
|
@@ -1583,7 +1588,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1583
1588
|
color: e.color,
|
|
1584
1589
|
values: xt(X.value, t)
|
|
1585
1590
|
};
|
|
1586
|
-
})), sc =
|
|
1591
|
+
})), sc = v(() => ({
|
|
1587
1592
|
responsiveBreakpoint: V.value.table.responsiveBreakpoint,
|
|
1588
1593
|
roundingValues: V.value.table.rounding,
|
|
1589
1594
|
showAverage: !1,
|
|
@@ -1608,10 +1613,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1608
1613
|
animation: { show: !1 },
|
|
1609
1614
|
cutNullValues: V.value.line.cutNullValues
|
|
1610
1615
|
}
|
|
1611
|
-
})), cc =
|
|
1616
|
+
})), cc = v(() => {
|
|
1612
1617
|
let e = Math.max(0, J.value?.width || 0);
|
|
1613
1618
|
return V.value.chart.grid.position === "middle" ? Dt(e, Math.max(1, X.value), 1) : Dt(e, Math.max(1, X.value - 1), 0);
|
|
1614
|
-
}), lc =
|
|
1619
|
+
}), lc = v(() => V.value.chart.grid.position === "middle" ? cc.value : X.value <= 1 ? Math.max(0, J.value?.width || 0) : cc.value);
|
|
1615
1620
|
function uc(e) {
|
|
1616
1621
|
let t = J.value?.left || 0;
|
|
1617
1622
|
return V.value.chart.grid.position === "middle" ? t + cc.value / 2 + cc.value * e : t + cc.value * e;
|
|
@@ -1642,11 +1647,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1642
1647
|
function gc(e) {
|
|
1643
1648
|
return Math.max(1e-5, lc.value * e);
|
|
1644
1649
|
}
|
|
1645
|
-
let _c =
|
|
1650
|
+
let _c = v(() => he(yo.value.filter((e) => !Ki.value.has(e.id)))), vc = [
|
|
1646
1651
|
"bar",
|
|
1647
1652
|
"line",
|
|
1648
1653
|
"plot"
|
|
1649
|
-
], yc =
|
|
1654
|
+
], yc = v(() => _c.value.filter((e) => vc.includes(e.type))), bc = v(() => yc.value.length), xc = v(() => yc.value.filter((e) => e.type === "bar")), Sc = v(() => yc.value.filter((e) => e.type === "line")), Cc = v(() => yc.value.filter((e) => e.type === "plot")), wc = v(() => vo.value.filter((e) => e.type === "bar" && !Ki.value.has(e.id))), Tc = v(() => wc.value.length), Ec = v(() => Math.max(1, Tc.value)), Dc = v(() => {
|
|
1650
1655
|
let e = St(_c.value, (e) => e.scaleLabel), t = {};
|
|
1651
1656
|
for (let [n, r] of Object.entries(e)) {
|
|
1652
1657
|
let e = Infinity, i = -Infinity, a = !1;
|
|
@@ -1669,7 +1674,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1669
1674
|
};
|
|
1670
1675
|
}
|
|
1671
1676
|
return t;
|
|
1672
|
-
}), Oc =
|
|
1677
|
+
}), Oc = v(() => _c.value.reduce((e, t) => {
|
|
1673
1678
|
let n = t.scaleLabel || "";
|
|
1674
1679
|
return e[n] = (e[n] || 0) + 1, e;
|
|
1675
1680
|
}, {}));
|
|
@@ -1692,7 +1697,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1692
1697
|
unique: Oc.value[l] === 1
|
|
1693
1698
|
};
|
|
1694
1699
|
}
|
|
1695
|
-
let Ac =
|
|
1700
|
+
let Ac = v(() => J.value.width / X.value / Tc.value - jc.value * Tc.value), jc = v(() => ks.value.line * V.value.bar.periodGap), Mc = v(() => Math.max(1e-5, As() - (H.value.useIndividualScale && H.value.isStacked ? 0 : jc.value))), Nc = v(() => Mc.value * Math.min(Math.abs(V.value.bar.innerGap), .95)), Pc = v(() => {
|
|
1696
1701
|
if (!V.value.chart.zoom.minimap.show) return [];
|
|
1697
1702
|
let e = ac.value.filter((e) => !Ki.value.has(e.id)), t = 0;
|
|
1698
1703
|
for (let n = 0; n < e.length; n += 1) {
|
|
@@ -1707,10 +1712,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1707
1712
|
}
|
|
1708
1713
|
let r = Hc(n, 0, 1).min;
|
|
1709
1714
|
return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
|
|
1710
|
-
}), Fc =
|
|
1715
|
+
}), Fc = v(() => V.value.chart.zoom.minimap.show ? ac.value.map((e) => ({
|
|
1711
1716
|
...e,
|
|
1712
1717
|
isVisible: !Ki.value.has(e.id)
|
|
1713
|
-
})) : []), Ic =
|
|
1718
|
+
})) : []), Ic = v(() => G.value ? Z.value.map((e) => ({
|
|
1714
1719
|
slotAbsoluteIndex: e.datapoint.slotAbsoluteIndex,
|
|
1715
1720
|
shape: e.datapoint.shape || e.datapoint.type === "bar" ? "square" : "circle",
|
|
1716
1721
|
name: e.datapoint.name,
|
|
@@ -1731,7 +1736,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1731
1736
|
comments: e.comments || [],
|
|
1732
1737
|
prefix: e.prefix || V.value.chart.labels.prefix,
|
|
1733
1738
|
suffix: e.suffix || V.value.chart.labels.suffix
|
|
1734
|
-
}))), Lc =
|
|
1739
|
+
}))), Lc = v(() => W.value.ticks.map((e) => {
|
|
1735
1740
|
let t = e >= 0 ? ws.value - J.value.height * _s(e) : ws.value + J.value.height * _s(Math.abs(e));
|
|
1736
1741
|
return {
|
|
1737
1742
|
y: vs.value ? J.value.top + J.value.bottom - t : t,
|
|
@@ -1739,23 +1744,26 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1739
1744
|
prefix: V.value.chart.labels.prefix,
|
|
1740
1745
|
suffix: V.value.chart.labels.suffix
|
|
1741
1746
|
};
|
|
1742
|
-
})), Rc =
|
|
1747
|
+
})), Rc = v(() => {
|
|
1743
1748
|
let e = V.value.chart.annotations;
|
|
1744
1749
|
if (!e || !Array.isArray(e) || e.every((e) => !e.show)) return [];
|
|
1745
1750
|
let t = e.filter((e) => e.show && (e.yAxis.yTop != null || e.yAxis.yBottom != null));
|
|
1746
1751
|
if (!t.length) return [];
|
|
1747
|
-
let { left: n, right: r } = J.value, i = ws.value, a = J.value.height, o = W.value.min, s = W.value.max - o, c = (e) =>
|
|
1752
|
+
let { left: n, right: r } = J.value, i = ws.value, a = J.value.height, o = W.value.min, s = W.value.max - o, c = (e) => {
|
|
1753
|
+
let t = (e - 0) / s;
|
|
1754
|
+
return i - t * a;
|
|
1755
|
+
};
|
|
1748
1756
|
return t.map((e, t) => {
|
|
1749
|
-
let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a),
|
|
1750
|
-
|
|
1751
|
-
let
|
|
1752
|
-
|
|
1753
|
-
let
|
|
1757
|
+
let { yAxis: { yTop: i, yBottom: a, label: o } } = e, s = i != null && a != null && i !== a, l = i == null ? null : c(i), u = a == null ? null : c(a), ee = No(o.fontSize);
|
|
1758
|
+
ee.font = `${o.fontSize}px sans-serif`;
|
|
1759
|
+
let d = ee.measureText(o.text).width, te = o.fontSize, ne = (o.position === "start" ? n + o.padding?.left : r - o.padding?.right) + o.offsetX, re = (l != null && u != null ? Math.min(l, u) : l ?? u) - o.fontSize / 3 + o.offsetY - o.padding?.top, ie;
|
|
1760
|
+
ie = o.textAnchor === "middle" ? ne - d / 2 - o.padding?.left : o.textAnchor === "end" ? ne - d - o.padding?.right : ne - o.padding?.left;
|
|
1761
|
+
let ae = re - te * .75 - o.padding?.top;
|
|
1754
1762
|
return {
|
|
1755
1763
|
show: ![
|
|
1756
1764
|
l,
|
|
1757
1765
|
u,
|
|
1758
|
-
|
|
1766
|
+
ae
|
|
1759
1767
|
].includes(NaN),
|
|
1760
1768
|
id: Wc("annotation_y", [
|
|
1761
1769
|
t,
|
|
@@ -1772,12 +1780,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1772
1780
|
x2: r,
|
|
1773
1781
|
_text: {
|
|
1774
1782
|
x: ne,
|
|
1775
|
-
y:
|
|
1783
|
+
y: re
|
|
1776
1784
|
},
|
|
1777
1785
|
_box: {
|
|
1778
|
-
x:
|
|
1779
|
-
y:
|
|
1780
|
-
width:
|
|
1786
|
+
x: ie,
|
|
1787
|
+
y: ae,
|
|
1788
|
+
width: d + o.padding?.left + o.padding?.right,
|
|
1781
1789
|
height: te + o.padding?.top + o.padding?.bottom,
|
|
1782
1790
|
fill: o.backgroundColor,
|
|
1783
1791
|
stroke: o.border.stroke,
|
|
@@ -1858,17 +1866,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1858
1866
|
function Gc() {
|
|
1859
1867
|
return Ra.value || os.value || !V.value.line.showTransition ? void 0 : `all ${V.value.line.transitionDurationMs}ms ease-in-out`;
|
|
1860
1868
|
}
|
|
1861
|
-
let Kc =
|
|
1862
|
-
let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Kc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Kc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ?
|
|
1869
|
+
let Kc = v(() => Vc(vo.value, 0, 1)), qc = v(() => {
|
|
1870
|
+
let e = V.value.chart.grid.labels.xAxis.commonScaleSteps, t = V.value.chart.grid.labels.xAxis.scaleMin, n = V.value.chart.grid.labels.xAxis.scaleMax, r = t !== null && Number.isFinite(Number(t)) ? Number(t) : Kc.value.min, i = n !== null && Number.isFinite(Number(n)) ? Number(n) : Kc.value.max, a = V.value.chart.grid.labels.xAxis.useNiceScale ? ye(r, i, e) : pe(r, i, e);
|
|
1863
1871
|
if (V.value.chart.grid.position !== "start") return a;
|
|
1864
1872
|
let o = a.ticks.length > 1 ? a.ticks[1] - a.ticks[0] : 1;
|
|
1865
1873
|
return {
|
|
1866
1874
|
...a,
|
|
1867
1875
|
max: a.max + o
|
|
1868
1876
|
};
|
|
1869
|
-
}), Jc =
|
|
1877
|
+
}), Jc = v(() => G.value ? (Ss.value ? [...qc.value.ticks].reverse() : [...qc.value.ticks]).map((e, t) => ({
|
|
1870
1878
|
id: `continuous_x_label_${t}`,
|
|
1871
|
-
text: h(V.value.chart.grid.labels.xAxis.formatter, e,
|
|
1879
|
+
text: h(V.value.chart.grid.labels.xAxis.formatter, e, p({
|
|
1872
1880
|
v: e,
|
|
1873
1881
|
s: V.value.chart.labels.prefix,
|
|
1874
1882
|
p: V.value.chart.labels.suffix,
|
|
@@ -1888,7 +1896,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1888
1896
|
let t = qc.value.max - qc.value.min || 1, n = Cs((e - qc.value.min) / t);
|
|
1889
1897
|
return J.value.left + J.value.width * n;
|
|
1890
1898
|
}
|
|
1891
|
-
let Zc =
|
|
1899
|
+
let Zc = v(() => Vc(za.value, 0, 1)), Qc = v(() => G.value ? Zc.value.min : 0), $c = v(() => G.value ? Zc.value.max : Ka.value);
|
|
1892
1900
|
function el(e, t) {
|
|
1893
1901
|
return G.value ? e.x == null || e.y == null ? null : Xc(e) : uc(t);
|
|
1894
1902
|
}
|
|
@@ -1896,19 +1904,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
1896
1904
|
return !G.value || !e ? null : e.x ?? null;
|
|
1897
1905
|
}
|
|
1898
1906
|
function nl({ datapoint: e, totalSeries: t, gap: n, usableHeight: r, autoScaleValueMin: i, autoScaleValueMax: a, individualExtremes: o, forceExactScale: s = !1 }) {
|
|
1899
|
-
let c = e.scaleSteps || V.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !V.value.chart.grid.labels.yAxis.useNiceScale ?
|
|
1907
|
+
let c = e.scaleSteps || V.value.chart.grid.labels.yAxis.commonScaleSteps, l = 1.0000001, u = s || !V.value.chart.grid.labels.yAxis.useNiceScale ? pe : ye, ee = o.max === o.min ? o.max * l : o.max, d = a === i ? a * l : a, te = u(o.min, ee, c), ne = u(i, d, c), re = te.min >= 0 ? 0 : Math.abs(te.min), ie = te.max + Math.abs(re), ae = ne.max + 0, oe = e.stackIndex, se = t - 1 - oe, f = H.value.isStacked ? 1 - e.cumulatedStackRatio : 0, ce = H.value.isStacked ? r * f + n * se : 0, le = H.value.isStacked ? r * e.stackRatio : J.value.height;
|
|
1900
1908
|
return {
|
|
1901
1909
|
scaleSteps: c,
|
|
1902
1910
|
individualScale: te,
|
|
1903
1911
|
autoScaleSteps: ne,
|
|
1904
|
-
individualZero:
|
|
1912
|
+
individualZero: re,
|
|
1905
1913
|
autoScaleZero: 0,
|
|
1906
|
-
individualMax:
|
|
1907
|
-
autoScaleMax:
|
|
1908
|
-
yOffset:
|
|
1909
|
-
individualHeight:
|
|
1910
|
-
zeroPosition: J.value?.bottom -
|
|
1911
|
-
autoScaleZeroPosition: J.value?.bottom -
|
|
1914
|
+
individualMax: ie,
|
|
1915
|
+
autoScaleMax: ae,
|
|
1916
|
+
yOffset: ce,
|
|
1917
|
+
individualHeight: le,
|
|
1918
|
+
zeroPosition: J.value?.bottom - ce - le * re / ie,
|
|
1919
|
+
autoScaleZeroPosition: J.value?.bottom - ce - le * 0 / ae
|
|
1912
1920
|
};
|
|
1913
1921
|
}
|
|
1914
1922
|
function rl({ datapoint: e, clampNegativeAutoScaleMaximum: t = !1 }) {
|
|
@@ -2004,10 +2012,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2004
2012
|
function ul(e, t) {
|
|
2005
2013
|
return Array.isArray(e) && e[t + U.value.start] || "";
|
|
2006
2014
|
}
|
|
2007
|
-
let dl =
|
|
2015
|
+
let dl = v(() => {
|
|
2008
2016
|
let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
|
|
2009
2017
|
return xc.value.map((n, i) => {
|
|
2010
|
-
let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight:
|
|
2018
|
+
let { individualScale: a, autoScaleSteps: o, individualZero: s, individualMax: c, autoScaleMax: l, yOffset: u, individualHeight: ee, zeroPosition: d, autoScaleZeroPosition: te, scaleYLabels: ne, autoScaleYLabels: re, autoScaleRatiosToNiceScale: ie } = cl({
|
|
2011
2019
|
datapoint: n,
|
|
2012
2020
|
totalSeries: e,
|
|
2013
2021
|
gap: t,
|
|
@@ -2015,211 +2023,211 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2015
2023
|
clampNegativeAutoScaleMaximum: !0,
|
|
2016
2024
|
filterMinimumValues: !0,
|
|
2017
2025
|
preserveLooseMinimumExpression: !0
|
|
2018
|
-
}),
|
|
2019
|
-
let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : _s(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + ks.value.bar * i + ks.value.bar * t *
|
|
2026
|
+
}), ae = Tc.value, oe = ll(n.comments), se = n.series.map((e, t) => {
|
|
2027
|
+
let r = H.value.useIndividualScale ? (n.absoluteValues[t] + s) / c : _s(e), a = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left + ks.value.bar * i + ks.value.bar * t * ae - Ac.value / 2 - i * jc.value;
|
|
2020
2028
|
return {
|
|
2021
|
-
yOffset:
|
|
2022
|
-
individualHeight:
|
|
2023
|
-
x:
|
|
2029
|
+
yOffset: g(u),
|
|
2030
|
+
individualHeight: g(ee),
|
|
2031
|
+
x: g(a),
|
|
2024
2032
|
y: bs({
|
|
2025
2033
|
ratio: r,
|
|
2026
2034
|
yOffset: u,
|
|
2027
|
-
individualHeight:
|
|
2035
|
+
individualHeight: ee
|
|
2028
2036
|
}),
|
|
2029
2037
|
value: n.absoluteValues[t],
|
|
2030
|
-
zeroPosition:
|
|
2031
|
-
individualMax:
|
|
2032
|
-
comment:
|
|
2038
|
+
zeroPosition: g(d),
|
|
2039
|
+
individualMax: g(c),
|
|
2040
|
+
comment: oe[t] || ""
|
|
2033
2041
|
};
|
|
2034
|
-
}),
|
|
2042
|
+
}), f = n.series.map((e, t) => {
|
|
2035
2043
|
let r = H.value.useIndividualScale && H.value.isStacked ? J.value?.left + J.value.width / X.value * t : J.value?.left - ks.value.bar / 2 + ks.value.bar * i + ks.value.bar * t * yo.value.filter((e) => e.type === "bar").filter((e) => !Ki.value.has(e.id)).length;
|
|
2036
2044
|
return {
|
|
2037
|
-
yOffset:
|
|
2038
|
-
individualHeight:
|
|
2039
|
-
x:
|
|
2040
|
-
y:
|
|
2041
|
-
ratio:
|
|
2042
|
-
yOffset:
|
|
2043
|
-
individualHeight:
|
|
2045
|
+
yOffset: g(u),
|
|
2046
|
+
individualHeight: g(ee),
|
|
2047
|
+
x: g(r),
|
|
2048
|
+
y: g(bs({
|
|
2049
|
+
ratio: ie[t] || 0,
|
|
2050
|
+
yOffset: g(u),
|
|
2051
|
+
individualHeight: g(ee)
|
|
2044
2052
|
})),
|
|
2045
2053
|
value: n.absoluteValues[t],
|
|
2046
|
-
zeroPosition:
|
|
2047
|
-
individualMax:
|
|
2048
|
-
comment:
|
|
2054
|
+
zeroPosition: g(d),
|
|
2055
|
+
individualMax: g(c),
|
|
2056
|
+
comment: oe[t] || ""
|
|
2049
2057
|
};
|
|
2050
|
-
}),
|
|
2058
|
+
}), ce = kc({
|
|
2051
2059
|
datapoint: n,
|
|
2052
2060
|
scaleYLabels: ne,
|
|
2053
|
-
autoScaleYLabels:
|
|
2054
|
-
zeroPosition:
|
|
2061
|
+
autoScaleYLabels: re,
|
|
2062
|
+
zeroPosition: d,
|
|
2055
2063
|
autoScaleZeroPosition: te,
|
|
2056
2064
|
individualMax: c,
|
|
2057
2065
|
autoScaleMax: l,
|
|
2058
2066
|
yOffset: u,
|
|
2059
|
-
individualHeight:
|
|
2067
|
+
individualHeight: ee
|
|
2060
2068
|
});
|
|
2061
2069
|
return {
|
|
2062
2070
|
...n,
|
|
2063
2071
|
yOffset: u,
|
|
2064
|
-
autoScaleYLabels:
|
|
2065
|
-
individualHeight:
|
|
2066
|
-
scaleYLabels: n.autoScaling ?
|
|
2072
|
+
autoScaleYLabels: re,
|
|
2073
|
+
individualHeight: ee,
|
|
2074
|
+
scaleYLabels: n.autoScaling ? re : ne,
|
|
2067
2075
|
individualScale: n.autoScaling ? o : a,
|
|
2068
2076
|
individualMax: n.autoScaling ? l : c,
|
|
2069
|
-
zeroPosition: n.autoScaling ? te :
|
|
2070
|
-
plots: n.autoScaling ?
|
|
2071
|
-
scaleGroup:
|
|
2072
|
-
groupId:
|
|
2077
|
+
zeroPosition: n.autoScaling ? te : d,
|
|
2078
|
+
plots: n.autoScaling ? f : se,
|
|
2079
|
+
scaleGroup: ce,
|
|
2080
|
+
groupId: ce.groupId
|
|
2073
2081
|
};
|
|
2074
2082
|
});
|
|
2075
|
-
}), Q =
|
|
2076
|
-
let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap,
|
|
2077
|
-
return Sc.value.map((
|
|
2078
|
-
let { individualScale:
|
|
2079
|
-
datapoint:
|
|
2083
|
+
}), Q = v(() => {
|
|
2084
|
+
let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, r = H.value.isStacked ? t * (e - 1) : 0, i = J.value.height - r;
|
|
2085
|
+
return Sc.value.map((r, a) => {
|
|
2086
|
+
let { individualScale: s, autoScaleSteps: u, individualZero: ee, individualMax: d, autoScaleMax: re, yOffset: ae, individualHeight: oe, zeroPosition: se, autoScaleZeroPosition: f, scaleYLabels: ce, autoScaleYLabels: le, autoScaleRatiosToNiceScale: de } = cl({
|
|
2087
|
+
datapoint: r,
|
|
2080
2088
|
totalSeries: e,
|
|
2081
2089
|
gap: t,
|
|
2082
|
-
usableHeight:
|
|
2083
|
-
}),
|
|
2090
|
+
usableHeight: i
|
|
2091
|
+
}), fe = ll(r.comments), p = r.series.map((e, t) => {
|
|
2084
2092
|
if (G.value && (e.x == null || e.y == null)) return {
|
|
2085
2093
|
index: t,
|
|
2086
2094
|
x: null,
|
|
2087
2095
|
y: null,
|
|
2088
2096
|
value: null,
|
|
2089
2097
|
datasetXValue: tl(e),
|
|
2090
|
-
comment:
|
|
2098
|
+
comment: r.comments && r.comments.slice(U.value.start, U.value.end)[t] || ""
|
|
2091
2099
|
};
|
|
2092
|
-
let
|
|
2100
|
+
let n = H.value.useIndividualScale ? (r.absoluteValues[t] + Math.abs(ee)) / d : _s(_o(e));
|
|
2093
2101
|
return {
|
|
2094
2102
|
index: t,
|
|
2095
|
-
x:
|
|
2103
|
+
x: g(el(e, t)),
|
|
2096
2104
|
datasetXValue: tl(e),
|
|
2097
|
-
y:
|
|
2098
|
-
ratio:
|
|
2099
|
-
yOffset:
|
|
2100
|
-
individualHeight:
|
|
2105
|
+
y: g(bs({
|
|
2106
|
+
ratio: n,
|
|
2107
|
+
yOffset: ae,
|
|
2108
|
+
individualHeight: oe
|
|
2101
2109
|
})),
|
|
2102
|
-
value:
|
|
2103
|
-
comment:
|
|
2110
|
+
value: r.absoluteValues[t],
|
|
2111
|
+
comment: fe[t] || ""
|
|
2104
2112
|
};
|
|
2105
|
-
}),
|
|
2113
|
+
}), pe = r.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
|
|
2106
2114
|
index: t,
|
|
2107
2115
|
x: null,
|
|
2108
2116
|
y: null,
|
|
2109
2117
|
datasetXValue: tl(e),
|
|
2110
2118
|
value: null,
|
|
2111
|
-
comment:
|
|
2112
|
-
} : [void 0, null].includes(
|
|
2119
|
+
comment: fe[t] || ""
|
|
2120
|
+
} : [void 0, null].includes(r.absoluteValues[t]) ? {
|
|
2113
2121
|
index: t,
|
|
2114
|
-
x:
|
|
2115
|
-
y:
|
|
2116
|
-
value:
|
|
2117
|
-
comment:
|
|
2122
|
+
x: g(el(e, t)),
|
|
2123
|
+
y: se,
|
|
2124
|
+
value: r.absoluteValues[t],
|
|
2125
|
+
comment: fe[t] || ""
|
|
2118
2126
|
} : {
|
|
2119
2127
|
index: t,
|
|
2120
|
-
x:
|
|
2128
|
+
x: g(el(e, t)),
|
|
2121
2129
|
datasetXValue: tl(e),
|
|
2122
|
-
y:
|
|
2123
|
-
ratio:
|
|
2124
|
-
yOffset:
|
|
2125
|
-
individualHeight:
|
|
2130
|
+
y: g(bs({
|
|
2131
|
+
ratio: de[t] || 0,
|
|
2132
|
+
yOffset: ae,
|
|
2133
|
+
individualHeight: oe
|
|
2126
2134
|
})),
|
|
2127
|
-
value:
|
|
2128
|
-
comment:
|
|
2129
|
-
}), me =
|
|
2130
|
-
datapoint:
|
|
2131
|
-
scaleYLabels:
|
|
2132
|
-
autoScaleYLabels:
|
|
2133
|
-
zeroPosition:
|
|
2134
|
-
autoScaleZeroPosition:
|
|
2135
|
+
value: r.absoluteValues[t],
|
|
2136
|
+
comment: fe[t] || ""
|
|
2137
|
+
}), me = r.dashIndices && Array.isArray(r.dashIndices) && r?.dashIndices?.length > 0, he = V.value.line.cutNullValues ? o(p) : ne(p.filter((e) => e.value !== null)), m = V.value.line.cutNullValues ? o(pe) : ne(pe.filter((e) => e.value !== null)), ge = V.value.line.cutNullValues ? ue(p) : n(p.filter((e) => e.value !== null)), _e = V.value.line.cutNullValues ? ue(pe) : n(pe.filter((e) => e.value !== null)), ve = Ae(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null)), ye = Ae(V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null)), h = me ? c(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], be = me ? l(V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), r.dashIndices.map((e) => e - U.value.start)) : [], Se = kc({
|
|
2138
|
+
datapoint: r,
|
|
2139
|
+
scaleYLabels: ce,
|
|
2140
|
+
autoScaleYLabels: le,
|
|
2141
|
+
zeroPosition: se,
|
|
2142
|
+
autoScaleZeroPosition: f,
|
|
2135
2143
|
individualMax: d,
|
|
2136
|
-
autoScaleMax:
|
|
2137
|
-
yOffset:
|
|
2138
|
-
individualHeight:
|
|
2139
|
-
}), Ce = H.value.useIndividualScale ?
|
|
2144
|
+
autoScaleMax: re,
|
|
2145
|
+
yOffset: ae,
|
|
2146
|
+
individualHeight: oe
|
|
2147
|
+
}), Ce = H.value.useIndividualScale ? r.autoScaling ? f : se : ao.value, we = Math.max(Math.max(r.autoScaling ? f : ce.at(-1) ? ce.at(-1).y : 0, J.value?.top), Ce), Te = r.autoScaling ? pe : p, Ee = V.value.line.cutNullValues ? Te : Te.filter((e) => e.value !== null), De = r.absoluteValues.filter((e) => ![
|
|
2140
2148
|
null,
|
|
2141
2149
|
void 0,
|
|
2142
2150
|
NaN
|
|
2143
|
-
].includes(e)),
|
|
2151
|
+
].includes(e)), ke = !!r.temperatureColors && new Set(De).size <= 1;
|
|
2144
2152
|
return {
|
|
2145
|
-
...
|
|
2146
|
-
isFlatTemperatureLine:
|
|
2147
|
-
temperatureColors:
|
|
2148
|
-
yOffset:
|
|
2149
|
-
autoScaleYLabels:
|
|
2150
|
-
individualHeight:
|
|
2151
|
-
scaleYLabels:
|
|
2152
|
-
individualScale:
|
|
2153
|
-
individualMax:
|
|
2154
|
-
zeroPosition:
|
|
2155
|
-
curve:
|
|
2156
|
-
plots:
|
|
2157
|
-
dashedStraight:
|
|
2158
|
-
dashedSmooth:
|
|
2153
|
+
...r,
|
|
2154
|
+
isFlatTemperatureLine: ke,
|
|
2155
|
+
temperatureColors: r.temperatureColors ? r.temperatureColors.map((e) => Oe(e)) : null,
|
|
2156
|
+
yOffset: ae,
|
|
2157
|
+
autoScaleYLabels: le,
|
|
2158
|
+
individualHeight: oe,
|
|
2159
|
+
scaleYLabels: r.autoScaling ? le : ce,
|
|
2160
|
+
individualScale: r.autoScaling ? u : s,
|
|
2161
|
+
individualMax: r.autoScaling ? re : d,
|
|
2162
|
+
zeroPosition: r.autoScaling ? f : se,
|
|
2163
|
+
curve: r.useStepper ? r.autoScaling ? ye : ve : r.autoScaling ? m : he,
|
|
2164
|
+
plots: r.autoScaling ? pe : p,
|
|
2165
|
+
dashedStraight: h,
|
|
2166
|
+
dashedSmooth: be,
|
|
2159
2167
|
hasDashedSegments: me,
|
|
2160
|
-
area:
|
|
2161
|
-
curveAreas:
|
|
2162
|
-
straight:
|
|
2168
|
+
area: r.useArea ? r.useStepper ? Ae(Ee, we) : H.value.useIndividualScale ? V.value.line.cutNullValues ? xe(r.autoScaling ? pe : p, we) : ie(r.autoScaling ? pe.filter((e) => e.value !== null) : p.filter((e) => e.value !== null), we) : V.value.line.cutNullValues ? xe(p, we) : ie(p.filter((e) => e.value !== null), we) : "",
|
|
2169
|
+
curveAreas: r.useArea ? r.useStepper ? Ae(Ee, we).split(";").filter(Boolean).map((e) => `M${e}Z`) : te(r.autoScaling ? V.value.line.cutNullValues ? pe : pe.filter((e) => e.value !== null) : V.value.line.cutNullValues ? p : p.filter((e) => e.value !== null), we, V.value.line.cutNullValues) : [],
|
|
2170
|
+
straight: r.useStepper ? r.autoScaling ? ye : ve : r.autoScaling ? _e : ge,
|
|
2163
2171
|
scaleGroup: Se,
|
|
2164
2172
|
groupId: Se.groupId
|
|
2165
2173
|
};
|
|
2166
2174
|
});
|
|
2167
|
-
}), $ =
|
|
2175
|
+
}), $ = v(() => {
|
|
2168
2176
|
let e = bc.value, t = V.value.chart.grid.labels.yAxis.gap, n = H.value.isStacked ? t * (e - 1) : 0, r = J.value.height - n;
|
|
2169
2177
|
return Cc.value.map((n) => {
|
|
2170
|
-
let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition:
|
|
2178
|
+
let { individualScale: i, autoScaleSteps: a, individualZero: o, individualMax: s, autoScaleMax: c, yOffset: l, individualHeight: u, zeroPosition: ee, autoScaleZeroPosition: d, scaleYLabels: te, autoScaleYLabels: ne, autoScaleRatiosToNiceScale: re } = cl({
|
|
2171
2179
|
datapoint: n,
|
|
2172
2180
|
totalSeries: e,
|
|
2173
2181
|
gap: t,
|
|
2174
2182
|
usableHeight: r,
|
|
2175
2183
|
forceExactScale: !0,
|
|
2176
2184
|
preserveLooseMinimumExpression: !0
|
|
2177
|
-
}),
|
|
2185
|
+
}), ie = ll(n.comments), ae = n.series.map((e, t) => {
|
|
2178
2186
|
if (G.value && (e.x == null || e.y == null)) return {
|
|
2179
2187
|
index: t,
|
|
2180
2188
|
x: null,
|
|
2181
2189
|
datasetXValue: tl(e),
|
|
2182
2190
|
y: null,
|
|
2183
2191
|
value: null,
|
|
2184
|
-
comment:
|
|
2192
|
+
comment: ie[t] || ""
|
|
2185
2193
|
};
|
|
2186
2194
|
let r = H.value.useIndividualScale ? (n.absoluteValues[t] + Math.abs(o)) / s : _s(_o(e));
|
|
2187
2195
|
return {
|
|
2188
2196
|
index: t,
|
|
2189
|
-
x:
|
|
2197
|
+
x: g(el(e, t)),
|
|
2190
2198
|
datasetXValue: tl(e),
|
|
2191
|
-
y:
|
|
2199
|
+
y: g(bs({
|
|
2192
2200
|
ratio: r,
|
|
2193
2201
|
yOffset: l,
|
|
2194
2202
|
individualHeight: u
|
|
2195
2203
|
})),
|
|
2196
2204
|
value: n.absoluteValues[t],
|
|
2197
|
-
comment:
|
|
2205
|
+
comment: ie[t] || ""
|
|
2198
2206
|
};
|
|
2199
|
-
}),
|
|
2207
|
+
}), oe = n.series.map((e, t) => G.value && (e.x === null || e.y === null) ? {
|
|
2200
2208
|
index: t,
|
|
2201
2209
|
x: null,
|
|
2202
2210
|
datasetXValue: tl(e),
|
|
2203
2211
|
y: null,
|
|
2204
2212
|
value: null,
|
|
2205
|
-
comment:
|
|
2213
|
+
comment: ie[t] || ""
|
|
2206
2214
|
} : {
|
|
2207
2215
|
index: t,
|
|
2208
|
-
x:
|
|
2216
|
+
x: g(el(e, t)),
|
|
2209
2217
|
datasetXValue: tl(e),
|
|
2210
|
-
y:
|
|
2211
|
-
ratio:
|
|
2218
|
+
y: g(bs({
|
|
2219
|
+
ratio: re[t] || 0,
|
|
2212
2220
|
yOffset: l,
|
|
2213
2221
|
individualHeight: u
|
|
2214
2222
|
})),
|
|
2215
2223
|
value: n.absoluteValues[t],
|
|
2216
|
-
comment:
|
|
2217
|
-
}),
|
|
2224
|
+
comment: ie[t] || ""
|
|
2225
|
+
}), se = kc({
|
|
2218
2226
|
datapoint: n,
|
|
2219
2227
|
scaleYLabels: te,
|
|
2220
2228
|
autoScaleYLabels: ne,
|
|
2221
|
-
zeroPosition:
|
|
2222
|
-
autoScaleZeroPosition:
|
|
2229
|
+
zeroPosition: ee,
|
|
2230
|
+
autoScaleZeroPosition: d,
|
|
2223
2231
|
individualMax: s,
|
|
2224
2232
|
autoScaleMax: c,
|
|
2225
2233
|
yOffset: l,
|
|
@@ -2233,13 +2241,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2233
2241
|
scaleYLabels: n.autoScaling ? ne : te,
|
|
2234
2242
|
individualScale: n.autoScaling ? a : i,
|
|
2235
2243
|
individualMax: n.autoScaling ? c : s,
|
|
2236
|
-
zeroPosition: n.autoScaling ?
|
|
2237
|
-
plots: n.autoScaling ?
|
|
2238
|
-
scaleGroup:
|
|
2239
|
-
groupId:
|
|
2244
|
+
zeroPosition: n.autoScaling ? d : ee,
|
|
2245
|
+
plots: n.autoScaling ? oe : ae,
|
|
2246
|
+
scaleGroup: se,
|
|
2247
|
+
groupId: se.groupId
|
|
2240
2248
|
};
|
|
2241
2249
|
});
|
|
2242
|
-
}), fl =
|
|
2250
|
+
}), fl = v(() => {
|
|
2243
2251
|
let e = Object.entries(Dc.value).reduce((e, [t, n]) => (e[t] = {
|
|
2244
2252
|
...n,
|
|
2245
2253
|
scaleLabel: t
|
|
@@ -2254,7 +2262,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2254
2262
|
...t.scaleGroup
|
|
2255
2263
|
});
|
|
2256
2264
|
}), e;
|
|
2257
|
-
}), pl =
|
|
2265
|
+
}), pl = v(() => {
|
|
2258
2266
|
let e = Q.value.map((e) => ({
|
|
2259
2267
|
name: e.name,
|
|
2260
2268
|
color: e.color,
|
|
@@ -2321,7 +2329,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2321
2329
|
}))
|
|
2322
2330
|
};
|
|
2323
2331
|
});
|
|
2324
|
-
}), ml =
|
|
2332
|
+
}), ml = v(() => {
|
|
2325
2333
|
let e = V.value.line.interLine || {}, t = e.pairs || [], n = e.colors || [];
|
|
2326
2334
|
if (!t.length) return [];
|
|
2327
2335
|
let r = [];
|
|
@@ -2331,7 +2339,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2331
2339
|
let o = Q.value.find((e) => e.name === i), s = Q.value.find((e) => e.name === a);
|
|
2332
2340
|
if (!o || !s || o.type !== "line" || s.type !== "line") return;
|
|
2333
2341
|
let c = n?.[t]?.[0] ?? o.color, l = n?.[t]?.[1] ?? s.color;
|
|
2334
|
-
|
|
2342
|
+
_e({
|
|
2335
2343
|
lineA: o.plots,
|
|
2336
2344
|
lineB: s.plots,
|
|
2337
2345
|
smoothA: !!o.smooth,
|
|
@@ -2347,7 +2355,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2347
2355
|
});
|
|
2348
2356
|
});
|
|
2349
2357
|
}), r;
|
|
2350
|
-
}), hl =
|
|
2358
|
+
}), hl = v(() => {
|
|
2351
2359
|
let e = Z.value[0]?.index ?? null, t = G.value ? e : R.value;
|
|
2352
2360
|
return {
|
|
2353
2361
|
timeLabel: G.value ? {
|
|
@@ -2364,7 +2372,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2364
2372
|
plots: $.value,
|
|
2365
2373
|
config: V.value
|
|
2366
2374
|
};
|
|
2367
|
-
}), gl =
|
|
2375
|
+
}), gl = E({
|
|
2368
2376
|
months: [],
|
|
2369
2377
|
shortMonths: [],
|
|
2370
2378
|
days: [],
|
|
@@ -2373,12 +2381,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2373
2381
|
vt(() => {
|
|
2374
2382
|
let e = ++_l, t = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter;
|
|
2375
2383
|
(async () => {
|
|
2376
|
-
let n = await
|
|
2384
|
+
let n = await Ne(t.locale).catch(() => Ne("en"));
|
|
2377
2385
|
e === _l && (gl.value = n.data);
|
|
2378
2386
|
})();
|
|
2379
2387
|
});
|
|
2380
|
-
let vl =
|
|
2381
|
-
let e = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t =
|
|
2388
|
+
let vl = v(() => {
|
|
2389
|
+
let e = V.value.chart.grid.labels.xAxisLabels.datetimeFormatter, t = Me({
|
|
2382
2390
|
useUTC: e.useUTC,
|
|
2383
2391
|
locale: gl.value,
|
|
2384
2392
|
januaryAsYear: e.januaryAsYear
|
|
@@ -2387,7 +2395,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2387
2395
|
let r = V.value.chart.grid.labels.xAxisLabels.values?.[e];
|
|
2388
2396
|
return r == null ? "" : t.formatDate(new Date(r), n);
|
|
2389
2397
|
};
|
|
2390
|
-
}), yl =
|
|
2398
|
+
}), yl = v(() => (V.value.chart.grid.labels.xAxisLabels.values || []).map((e, t) => ({
|
|
2391
2399
|
text: vl.value(t, V.value.chart.zoom.timeFormat),
|
|
2392
2400
|
absoluteIndex: t
|
|
2393
2401
|
}))), bl = /* @__PURE__ */ new Map();
|
|
@@ -2418,10 +2426,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2418
2426
|
function Cl(e) {
|
|
2419
2427
|
let t = Sl(e);
|
|
2420
2428
|
if (bl.has(t)) return bl.get(t);
|
|
2421
|
-
let
|
|
2429
|
+
let n = V.value.chart.tooltip.backgroundColor, r = "", i = "";
|
|
2422
2430
|
switch (Bi.value[e.type]) {
|
|
2423
2431
|
case "bar":
|
|
2424
|
-
|
|
2432
|
+
r = `<svg viewBox="0 0 40 40" height="14" width="14">${gi.pattern ? `<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${e.color}" />` : ""}<rect x="0" y="0" rx="1" stroke="none" height="40" width="40" fill="${gi.pattern ? `url(#pattern_${F.value}_${e.slotAbsoluteIndex})` : e.color}" /></svg>`;
|
|
2425
2433
|
break;
|
|
2426
2434
|
case "line":
|
|
2427
2435
|
!e.shape || ![
|
|
@@ -2431,7 +2439,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2431
2439
|
"diamond",
|
|
2432
2440
|
"pentagon",
|
|
2433
2441
|
"hexagon"
|
|
2434
|
-
].includes(e.shape) ?
|
|
2442
|
+
].includes(e.shape) ? i = `<circle cx="10" cy="8" r="4" stroke="${n}" stroke-width="0.5" fill="${e.color}" />` : e.shape === "triangle" ? i = `<path d="${be({
|
|
2435
2443
|
plot: {
|
|
2436
2444
|
x: 10,
|
|
2437
2445
|
y: 8
|
|
@@ -2439,7 +2447,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2439
2447
|
radius: 4,
|
|
2440
2448
|
sides: 3,
|
|
2441
2449
|
rotation: .52
|
|
2442
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2450
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "square" ? i = `<path d="${be({
|
|
2443
2451
|
plot: {
|
|
2444
2452
|
x: 10,
|
|
2445
2453
|
y: 8
|
|
@@ -2447,7 +2455,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2447
2455
|
radius: 4,
|
|
2448
2456
|
sides: 4,
|
|
2449
2457
|
rotation: .8
|
|
2450
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2458
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "diamond" ? i = `<path d="${be({
|
|
2451
2459
|
plot: {
|
|
2452
2460
|
x: 10,
|
|
2453
2461
|
y: 8
|
|
@@ -2455,7 +2463,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2455
2463
|
radius: 4,
|
|
2456
2464
|
sides: 4,
|
|
2457
2465
|
rotation: 0
|
|
2458
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2466
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "pentagon" ? i = `<path d="${be({
|
|
2459
2467
|
plot: {
|
|
2460
2468
|
x: 10,
|
|
2461
2469
|
y: 8
|
|
@@ -2463,7 +2471,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2463
2471
|
radius: 4,
|
|
2464
2472
|
sides: 5,
|
|
2465
2473
|
rotation: .95
|
|
2466
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2474
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "hexagon" ? i = `<path d="${be({
|
|
2467
2475
|
plot: {
|
|
2468
2476
|
x: 10,
|
|
2469
2477
|
y: 8
|
|
@@ -2471,13 +2479,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2471
2479
|
radius: 4,
|
|
2472
2480
|
sides: 6,
|
|
2473
2481
|
rotation: 0
|
|
2474
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2482
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="0.5" />` : e.shape === "star" && (i = `<polygon stroke="${n}" stroke-width="0.5" fill="${e.color}" points="${oe({
|
|
2475
2483
|
plot: {
|
|
2476
2484
|
x: 10,
|
|
2477
2485
|
y: 8
|
|
2478
2486
|
},
|
|
2479
2487
|
radius: 4
|
|
2480
|
-
})}" />`),
|
|
2488
|
+
})}" />`), r = `<svg viewBox="0 0 20 12" height="14" width="20"><rect rx="1.5" x="0" y="6.5" stroke="${n}" stroke-width="0.5" height="3" width="20" fill="${e.color}" />${i}</svg>`;
|
|
2481
2489
|
break;
|
|
2482
2490
|
case "plot":
|
|
2483
2491
|
if (!e.shape || ![
|
|
@@ -2488,11 +2496,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2488
2496
|
"pentagon",
|
|
2489
2497
|
"hexagon"
|
|
2490
2498
|
].includes(e.shape)) {
|
|
2491
|
-
|
|
2499
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="${n}" stroke-width="1" fill="${e.color}" /></svg>`;
|
|
2492
2500
|
break;
|
|
2493
2501
|
}
|
|
2494
2502
|
if (e.shape === "star") {
|
|
2495
|
-
|
|
2503
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><polygon stroke="${n}" stroke-width="1" fill="${e.color}" points="${oe({
|
|
2496
2504
|
plot: {
|
|
2497
2505
|
x: 6,
|
|
2498
2506
|
y: 6
|
|
@@ -2502,7 +2510,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2502
2510
|
break;
|
|
2503
2511
|
}
|
|
2504
2512
|
if (e.shape === "triangle") {
|
|
2505
|
-
|
|
2513
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
|
|
2506
2514
|
plot: {
|
|
2507
2515
|
x: 6,
|
|
2508
2516
|
y: 6
|
|
@@ -2510,11 +2518,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2510
2518
|
radius: 6,
|
|
2511
2519
|
sides: 3,
|
|
2512
2520
|
rotation: .52
|
|
2513
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2521
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
|
|
2514
2522
|
break;
|
|
2515
2523
|
}
|
|
2516
2524
|
if (e.shape === "square") {
|
|
2517
|
-
|
|
2525
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
|
|
2518
2526
|
plot: {
|
|
2519
2527
|
x: 6,
|
|
2520
2528
|
y: 6
|
|
@@ -2522,11 +2530,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2522
2530
|
radius: 6,
|
|
2523
2531
|
sides: 4,
|
|
2524
2532
|
rotation: .8
|
|
2525
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2533
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
|
|
2526
2534
|
break;
|
|
2527
2535
|
}
|
|
2528
2536
|
if (e.shape === "diamond") {
|
|
2529
|
-
|
|
2537
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
|
|
2530
2538
|
plot: {
|
|
2531
2539
|
x: 6,
|
|
2532
2540
|
y: 6
|
|
@@ -2534,11 +2542,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2534
2542
|
radius: 5,
|
|
2535
2543
|
sides: 4,
|
|
2536
2544
|
rotation: 0
|
|
2537
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2545
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
|
|
2538
2546
|
break;
|
|
2539
2547
|
}
|
|
2540
2548
|
if (e.shape === "pentagon") {
|
|
2541
|
-
|
|
2549
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
|
|
2542
2550
|
plot: {
|
|
2543
2551
|
x: 6,
|
|
2544
2552
|
y: 6
|
|
@@ -2546,11 +2554,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2546
2554
|
radius: 5,
|
|
2547
2555
|
sides: 5,
|
|
2548
2556
|
rotation: .95
|
|
2549
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2557
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
|
|
2550
2558
|
break;
|
|
2551
2559
|
}
|
|
2552
2560
|
if (e.shape === "hexagon") {
|
|
2553
|
-
|
|
2561
|
+
r = `<svg viewBox="0 0 12 12" height="14" width="14"><path d="${be({
|
|
2554
2562
|
plot: {
|
|
2555
2563
|
x: 6,
|
|
2556
2564
|
y: 6
|
|
@@ -2558,23 +2566,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2558
2566
|
radius: 5,
|
|
2559
2567
|
sides: 6,
|
|
2560
2568
|
rotation: 0
|
|
2561
|
-
}).path}" fill="${e.color}" stroke="${
|
|
2569
|
+
}).path}" fill="${e.color}" stroke="${n}" stroke-width="1" /></svg>`;
|
|
2562
2570
|
break;
|
|
2563
2571
|
}
|
|
2564
2572
|
break;
|
|
2565
2573
|
default: break;
|
|
2566
2574
|
}
|
|
2567
|
-
return bl.set(t,
|
|
2575
|
+
return bl.set(t, r), r;
|
|
2568
2576
|
}
|
|
2569
|
-
let wl =
|
|
2570
|
-
let e = "", t = Ic.value.map((e) => e.value).filter((e) =>
|
|
2577
|
+
let wl = v(() => {
|
|
2578
|
+
let e = "", t = Ic.value.map((e) => e.value).filter((e) => ke(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0), n = G.value ? { text: h(V.value.chart.grid.labels.xAxis.formatter, Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x, p({
|
|
2571
2579
|
v: Z.value[0]?.point.raw?.x ?? Z.value[0]?.point.x,
|
|
2572
2580
|
r: V.value.chart.tooltip.roundingValue
|
|
2573
2581
|
}), {
|
|
2574
2582
|
datapoint: null,
|
|
2575
2583
|
serriesIndex: null
|
|
2576
2584
|
}) } : Y.value[R.value], r = V.value.chart.tooltip.customFormat;
|
|
2577
|
-
if (
|
|
2585
|
+
if (ge(r)) try {
|
|
2578
2586
|
let e = r(xl(n));
|
|
2579
2587
|
if (typeof e == "string") return e;
|
|
2580
2588
|
} catch (e) {
|
|
@@ -2585,8 +2593,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2585
2593
|
G.value || (e += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${V.value.chart.tooltip.borderColor}; width:100%">${V.value.chart.grid.labels.xAxisLabels.datetimeFormatter.enable && !V.value.chart.tooltip.useDefaultTimeFormat ? t : n.text}</div>`);
|
|
2586
2594
|
}
|
|
2587
2595
|
return Ic.value.forEach((r) => {
|
|
2588
|
-
if (
|
|
2589
|
-
let i = Cl(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value,
|
|
2596
|
+
if (ke(r.value)) {
|
|
2597
|
+
let i = Cl(r), a = V.value.chart.tooltip.showValue ? h(r.type === "line" ? V.value.line.labels.formatter : r.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, r.value, p({
|
|
2590
2598
|
p: r.prefix,
|
|
2591
2599
|
v: r.value,
|
|
2592
2600
|
s: r.suffix,
|
|
@@ -2607,8 +2615,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2607
2615
|
</div>
|
|
2608
2616
|
</div>
|
|
2609
2617
|
</div>
|
|
2610
|
-
` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${V.value.chart.tooltip.showPercentage ? `(${
|
|
2611
|
-
v:
|
|
2618
|
+
` : e += `<div style="display:flex;flex-direction:row; align-items:center;gap:3px;white-space:nowrap;"><div style="width:20px">${i}</div> ${r.name}: <b>${s}</b> ${V.value.chart.tooltip.showPercentage ? `(${p({
|
|
2619
|
+
v: g(Math.abs(r.value) / t * 100),
|
|
2612
2620
|
s: "%",
|
|
2613
2621
|
r: V.value.chart.tooltip.roundingPercentage
|
|
2614
2622
|
})})` : ""}</div>`;
|
|
@@ -2616,7 +2624,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2616
2624
|
V.value.chart.comments.showInTooltip && c && (e += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${c}</div>`);
|
|
2617
2625
|
}
|
|
2618
2626
|
}), `<div style="border-radius:4px;padding:12px;font-variant-numeric: tabular-nums;color:${V.value.chart.tooltip.color}">${e}</div>`;
|
|
2619
|
-
}), Tl =
|
|
2627
|
+
}), Tl = v(() => {
|
|
2620
2628
|
if (!G.value) return [];
|
|
2621
2629
|
let e = /* @__PURE__ */ new Set(), t = [];
|
|
2622
2630
|
return K.value.forEach((n) => {
|
|
@@ -2630,7 +2638,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2630
2638
|
});
|
|
2631
2639
|
function El(e) {
|
|
2632
2640
|
let t = Number(e);
|
|
2633
|
-
return Number.isFinite(t) ? h(V.value.chart.grid.labels.xAxis.formatter, t,
|
|
2641
|
+
return Number.isFinite(t) ? h(V.value.chart.grid.labels.xAxis.formatter, t, p({
|
|
2634
2642
|
v: t,
|
|
2635
2643
|
r: V.value.table.rounding
|
|
2636
2644
|
}), {
|
|
@@ -2654,7 +2662,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2654
2662
|
}
|
|
2655
2663
|
function Al(e, t) {
|
|
2656
2664
|
let n = Ol(e, t);
|
|
2657
|
-
return bt(n) ? h(e.type === "line" ? V.value.line.labels.formatter : e.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, n,
|
|
2665
|
+
return bt(n) ? h(e.type === "line" ? V.value.line.labels.formatter : e.type === "bar" ? V.value.bar.labels.formatter : V.value.plot.labels.formatter, n, p({
|
|
2658
2666
|
p: e.prefix || V.value.chart.labels.prefix,
|
|
2659
2667
|
v: n,
|
|
2660
2668
|
s: e.suffix || V.value.chart.labels.suffix,
|
|
@@ -2664,7 +2672,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2664
2672
|
function jl(e) {
|
|
2665
2673
|
return K.value.map((t) => Ol(t, e) ?? 0).reduce((e, t) => e + t, 0);
|
|
2666
2674
|
}
|
|
2667
|
-
let Ml =
|
|
2675
|
+
let Ml = v(() => {
|
|
2668
2676
|
if (G.value) return Tl.value.map((e) => {
|
|
2669
2677
|
let t = jl(e);
|
|
2670
2678
|
return {
|
|
@@ -2687,7 +2695,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2687
2695
|
});
|
|
2688
2696
|
}
|
|
2689
2697
|
return e;
|
|
2690
|
-
}), Nl =
|
|
2698
|
+
}), Nl = v(() => vo.value.length === 0 ? {
|
|
2691
2699
|
head: [],
|
|
2692
2700
|
body: [],
|
|
2693
2701
|
config: {},
|
|
@@ -2699,7 +2707,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2699
2707
|
type: e.type
|
|
2700
2708
|
})),
|
|
2701
2709
|
body: Ml.value.map((e) => [e.period].concat(e.csvValues))
|
|
2702
|
-
}), Pl =
|
|
2710
|
+
}), Pl = v(() => {
|
|
2703
2711
|
let e = V.value.table.showSum, t = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : ""].concat(K.value.map((e) => e.name));
|
|
2704
2712
|
e && (t = t.concat(" <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"));
|
|
2705
2713
|
let n = Ml.value.map((t) => [t.period].concat(t.formattedValues, e ? t.formattedSum : [])), r = {
|
|
@@ -2727,8 +2735,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2727
2735
|
[V.value.chart.title.text],
|
|
2728
2736
|
[V.value.chart.title.subtitle.text],
|
|
2729
2737
|
[""]
|
|
2730
|
-
], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Nl.value.head.map((e) => e.label)], r = Nl.value.body, i =
|
|
2731
|
-
e ? e(i) :
|
|
2738
|
+
], n = [G.value ? V.value.chart.grid.labels.axis.xLabel || "X" : V.value.table.columnNames.period, ...Nl.value.head.map((e) => e.label)], r = Nl.value.body, i = a(t.concat([n]).concat(r));
|
|
2739
|
+
e ? e(i) : ae({
|
|
2732
2740
|
csvContent: i,
|
|
2733
2741
|
title: V.value.chart.title.text || "vue-ui-xy"
|
|
2734
2742
|
});
|
|
@@ -2771,43 +2779,43 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2771
2779
|
B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Oa.value.plot = V.value.plot.radius, Oa.value.line = V.value.line.radius, Oa.value.selectedLine = V.value.line.dot.selectedRadius;
|
|
2772
2780
|
return;
|
|
2773
2781
|
}
|
|
2774
|
-
B.value.dataLabels =
|
|
2782
|
+
B.value.dataLabels = d({
|
|
2775
2783
|
relator: Li.value,
|
|
2776
2784
|
adjuster: 400,
|
|
2777
2785
|
source: V.value.chart.grid.labels.fontSize,
|
|
2778
2786
|
threshold: 10,
|
|
2779
2787
|
fallback: 10
|
|
2780
|
-
}), B.value.yAxis =
|
|
2788
|
+
}), B.value.yAxis = d({
|
|
2781
2789
|
relator: P.value,
|
|
2782
2790
|
adjuster: 1e3,
|
|
2783
2791
|
source: V.value.chart.grid.labels.axis.fontSize,
|
|
2784
2792
|
threshold: 10,
|
|
2785
2793
|
fallback: 10
|
|
2786
|
-
}), B.value.xAxis =
|
|
2794
|
+
}), B.value.xAxis = d({
|
|
2787
2795
|
relator: P.value,
|
|
2788
2796
|
adjuster: 1e3,
|
|
2789
2797
|
source: V.value.chart.grid.labels.xAxisLabels.fontSize,
|
|
2790
2798
|
threshold: 10,
|
|
2791
2799
|
fallback: 10
|
|
2792
|
-
}), B.value.plotLabels =
|
|
2800
|
+
}), B.value.plotLabels = d({
|
|
2793
2801
|
relator: P.value,
|
|
2794
2802
|
adjuster: 800,
|
|
2795
2803
|
source: V.value.chart.labels.fontSize,
|
|
2796
2804
|
threshold: 10,
|
|
2797
2805
|
fallback: 10
|
|
2798
|
-
}), Oa.value.plot =
|
|
2806
|
+
}), Oa.value.plot = d({
|
|
2799
2807
|
relator: P.value,
|
|
2800
2808
|
adjuster: 800,
|
|
2801
2809
|
source: V.value.plot.radius,
|
|
2802
2810
|
threshold: 1,
|
|
2803
2811
|
fallback: 1
|
|
2804
|
-
}), Oa.value.line =
|
|
2812
|
+
}), Oa.value.line = d({
|
|
2805
2813
|
relator: P.value,
|
|
2806
2814
|
adjuster: 800,
|
|
2807
2815
|
source: V.value.line.radius,
|
|
2808
2816
|
threshold: 1,
|
|
2809
2817
|
fallback: 0
|
|
2810
|
-
}), Oa.value.selectedLine =
|
|
2818
|
+
}), Oa.value.selectedLine = d({
|
|
2811
2819
|
relator: P.value,
|
|
2812
2820
|
adjuster: 800,
|
|
2813
2821
|
source: V.value.line.dot.selectedRadius,
|
|
@@ -2816,23 +2824,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2816
2824
|
});
|
|
2817
2825
|
}
|
|
2818
2826
|
function Hl() {
|
|
2819
|
-
if (
|
|
2827
|
+
if (t(M.dataset) ? (ve({
|
|
2820
2828
|
componentName: "VueUiXy",
|
|
2821
2829
|
type: "dataset",
|
|
2822
2830
|
debug: Fa.value
|
|
2823
|
-
}), Ba.value = !0) : M.dataset.forEach((e,
|
|
2824
|
-
[null, void 0].includes(e.name) && (
|
|
2831
|
+
}), Ba.value = !0) : M.dataset.forEach((e, t) => {
|
|
2832
|
+
[null, void 0].includes(e.name) && (ve({
|
|
2825
2833
|
componentName: "VueUiXy",
|
|
2826
2834
|
type: "datasetSerieAttribute",
|
|
2827
2835
|
property: "name (string)",
|
|
2828
|
-
index:
|
|
2836
|
+
index: t,
|
|
2829
2837
|
debug: Fa.value
|
|
2830
2838
|
}), Ba.value = !0);
|
|
2831
2839
|
}), Fa.value && M.dataset.forEach((e) => {
|
|
2832
2840
|
e.series.forEach((t, n) => {
|
|
2833
|
-
|
|
2841
|
+
ke(t) || console.warn(`VueUiXy has detected an unsafe value in your dataset:\n-----> The serie '${e.name}' contains the value '${t}' at index ${n}.\n'${t}' was converted to null to allow the chart to display.`);
|
|
2834
2842
|
});
|
|
2835
|
-
}),
|
|
2843
|
+
}), t(M.dataset) || (Ba.value = V.value.loading), Qi.value = V.value.chart.userOptions.showOnChartHover, $i.value = V.value.chart.userOptions.keepStateOnChartLeave, ea.value = !V.value.chart.userOptions.showOnChartHover, Pa(), V.value.responsive) {
|
|
2836
2844
|
let e = xi.value.parentNode;
|
|
2837
2845
|
Ni.value && (Pi.value && Ni.value.unobserve(Pi.value), Ni.value.disconnect(), Ni.value = null, Pi.value = null);
|
|
2838
2846
|
let { height: t, width: n } = e.getBoundingClientRect(), r = null, i = 0;
|
|
@@ -2845,12 +2853,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2845
2853
|
Ti.value && (l = Ti.value.getBoundingClientRect().height);
|
|
2846
2854
|
let u = 0;
|
|
2847
2855
|
Ei.value && (u = Ei.value.getBoundingClientRect().height), Li.value = t - i - c - o - l - u - 12, P.value = n, Ri.value = `0 0 ${P.value < 0 ? 10 : P.value} ${Li.value < 0 ? 10 : Li.value}`, Vl();
|
|
2848
|
-
let
|
|
2856
|
+
let ee = new ResizeObserver((e) => {
|
|
2849
2857
|
for (let t of e) i = V.value.chart.title.show && Si.value ? Si.value.getBoundingClientRect().height : 0, o = Ci.value && Ci.value.$el ? Ci.value.$el.getBoundingClientRect().height : 0, c = wi.value ? wi.value.getBoundingClientRect().height : 0, l = Ti.value ? Ti.value.getBoundingClientRect().height : 0, u = Ei.value ? Ei.value.getBoundingClientRect().height : 0, requestAnimationFrame(() => {
|
|
2850
2858
|
Li.value = t.contentRect.height - i - c - o - l - u - 12, P.value = t.contentBoxSize[0].inlineSize ?? t.contentRect.width, Ri.value = `0 0 ${P.value < 0 ? 10 : P.value} ${Li.value < 0 ? 10 : Li.value}`, Vl(), Ca();
|
|
2851
2859
|
});
|
|
2852
2860
|
});
|
|
2853
|
-
Ni.value =
|
|
2861
|
+
Ni.value = ee, Pi.value = e, ee.observe(e);
|
|
2854
2862
|
} else Li.value = V.value.chart.height, P.value = V.value.chart.width, B.value.dataLabels = V.value.chart.grid.labels.fontSize, B.value.yAxis = V.value.chart.grid.labels.axis.fontSize, B.value.xAxis = V.value.chart.grid.labels.xAxisLabels.fontSize, B.value.plotLabels = V.value.chart.labels.fontSize, Oa.value.plot = V.value.plot.radius, Oa.value.line = V.value.line.radius, Oa.value.selectedLine = V.value.line.dot.selectedRadius, Ri.value = `0 0 ${P.value} ${Li.value}`;
|
|
2855
2863
|
Ca();
|
|
2856
2864
|
}
|
|
@@ -2860,11 +2868,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2860
2868
|
y: e.clientY
|
|
2861
2869
|
};
|
|
2862
2870
|
}
|
|
2863
|
-
|
|
2871
|
+
dt(() => {
|
|
2864
2872
|
Hl(), is(), document.addEventListener("mousemove", Ul, { passive: !0 }), document.addEventListener("scroll", Po, { passive: !0 });
|
|
2865
|
-
}),
|
|
2873
|
+
}), ut(() => {
|
|
2866
2874
|
document.removeEventListener("scroll", Po, { passive: !0 }), document.removeEventListener("mousemove", Ul, { passive: !0 }), Ni.value && (Pi.value && Ni.value.unobserve(Pi.value), Ni.value.disconnect(), Ni.value = null, Pi.value = null), Zl(), ds();
|
|
2867
|
-
}),
|
|
2875
|
+
}), Ue({
|
|
2868
2876
|
timeLabelsEls: Ai,
|
|
2869
2877
|
timeLabels: Y,
|
|
2870
2878
|
slicer: U,
|
|
@@ -2889,19 +2897,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2889
2897
|
width: P,
|
|
2890
2898
|
rotation: V.value.chart.grid.labels.xAxisLabels.autoRotate.angle
|
|
2891
2899
|
});
|
|
2892
|
-
let Wl =
|
|
2900
|
+
let Wl = E(!1), Gl = E(null), Kl = E(200), ql = v(() => R.value ?? I.value ?? 0), Jl = v(() => {
|
|
2893
2901
|
if (!G.value) return null;
|
|
2894
|
-
if (
|
|
2902
|
+
if (f(sa.value)) return Number(sa.value);
|
|
2895
2903
|
let e = Z.value[0];
|
|
2896
|
-
return
|
|
2904
|
+
return f(e?.point?.x) ? Number(e.point.x) : null;
|
|
2897
2905
|
});
|
|
2898
2906
|
function Yl() {
|
|
2899
2907
|
let e = Math.ceil(Kl.value || 200);
|
|
2900
2908
|
return Math.min(Math.max(e, 1), 200);
|
|
2901
2909
|
}
|
|
2902
2910
|
function Xl() {
|
|
2903
|
-
let e = Yl(), t = (G.value &&
|
|
2904
|
-
return
|
|
2911
|
+
let e = Yl(), t = (G.value && f(Jl.value) ? Xc({ x: Jl.value }) : uc(ql.value)) - e / 2 - (200 - e) / 2, n = J.value?.left - (200 - e) / 2, r = J.value?.right - (200 + e) / 2;
|
|
2912
|
+
return g(Math.max(n, Math.min(t, r)));
|
|
2905
2913
|
}
|
|
2906
2914
|
function Zl() {
|
|
2907
2915
|
fa.value !== null && (cancelAnimationFrame(fa.value), fa.value = null), da.value && z.value && da.value.unobserve(z.value), da.value &&= (da.value.disconnect(), null), pa.value &&= (pa.value(), null), z.value = null;
|
|
@@ -2912,11 +2920,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2912
2920
|
});
|
|
2913
2921
|
}
|
|
2914
2922
|
function $l(e) {
|
|
2915
|
-
!da.value || !e || (z.value && z.value !== e && (da.value.unobserve(z.value), z.value = null), e !== z.value && (
|
|
2923
|
+
!da.value || !e || (z.value && z.value !== e && (da.value.unobserve(z.value), z.value = null), e !== z.value && (ct(() => {
|
|
2916
2924
|
e.offsetParent !== null && Ql(e.offsetWidth || e.getBoundingClientRect().width || 200);
|
|
2917
2925
|
}), da.value.observe(e), z.value = e));
|
|
2918
2926
|
}
|
|
2919
|
-
|
|
2927
|
+
dt(() => {
|
|
2920
2928
|
da.value = new ResizeObserver((e) => {
|
|
2921
2929
|
let t = e.find((e) => e.target === z.value) || e[0];
|
|
2922
2930
|
t && Ql(t.contentRect.width || 200);
|
|
@@ -2931,14 +2939,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2931
2939
|
});
|
|
2932
2940
|
});
|
|
2933
2941
|
});
|
|
2934
|
-
let eu =
|
|
2942
|
+
let eu = v(() => {
|
|
2935
2943
|
if (G.value) {
|
|
2936
2944
|
if (!Number.isFinite(Number(Jl.value))) return "";
|
|
2937
2945
|
} else if ([null, void 0].includes(R.value) && [null, void 0].includes(I.value)) return "";
|
|
2938
2946
|
let e = (R.value == null ? 0 : R.value) || (I.value == null ? 0 : I.value), t = V.value.chart.timeTag.customFormat;
|
|
2939
2947
|
if (Wl.value = !1, G.value) {
|
|
2940
2948
|
let e = Jl.value;
|
|
2941
|
-
if (
|
|
2949
|
+
if (ge(t)) try {
|
|
2942
2950
|
let n = t({
|
|
2943
2951
|
absoluteIndex: e,
|
|
2944
2952
|
seriesIndex: e,
|
|
@@ -2952,12 +2960,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2952
2960
|
} catch {
|
|
2953
2961
|
console.warn("Custom format cannot be applied on timeTag."), Wl.value = !1;
|
|
2954
2962
|
}
|
|
2955
|
-
return
|
|
2963
|
+
return p({
|
|
2956
2964
|
v: e,
|
|
2957
2965
|
r: V.value.chart.grid.labels.xAxis.rounding
|
|
2958
2966
|
});
|
|
2959
2967
|
}
|
|
2960
|
-
if (
|
|
2968
|
+
if (ge(t)) try {
|
|
2961
2969
|
let n = t({
|
|
2962
2970
|
absoluteIndex: e + U.value.start,
|
|
2963
2971
|
seriesIndex: e,
|
|
@@ -2975,14 +2983,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2975
2983
|
});
|
|
2976
2984
|
function tu({ serie: e, plot: t, type: n }) {
|
|
2977
2985
|
if (!bt(t.value)) return "";
|
|
2978
|
-
let r =
|
|
2986
|
+
let r = p({
|
|
2979
2987
|
p: e.prefix || V.value.chart.labels.prefix,
|
|
2980
2988
|
v: t.value,
|
|
2981
2989
|
s: e.suffix || V.value.chart.labels.suffix,
|
|
2982
2990
|
r: V.value[n].labels.rounding
|
|
2983
2991
|
}), i = t.datasetXValue;
|
|
2984
|
-
return
|
|
2985
|
-
content: G.value &&
|
|
2992
|
+
return de({
|
|
2993
|
+
content: G.value && f(i) ? `x: ${p({
|
|
2986
2994
|
v: i,
|
|
2987
2995
|
r: V.value.chart.grid.labels.xAxis.rounding
|
|
2988
2996
|
})}\ny: ${r}` : h(V.value[n].labels.formatter, t.value, r, {
|
|
@@ -2998,14 +3006,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
2998
3006
|
function nu({ plot: e }) {
|
|
2999
3007
|
let t = V.value.bar.labels.offsetY, n = Math.abs(Os(e)), r = e.value < 0, i = {
|
|
3000
3008
|
x: (H.value.useIndividualScale && H.value.isStacked ? e.x + ks.value.line / 2 : js(e) + As() / 2 - jc.value / 2) + V.value.bar.labels.offsetX,
|
|
3001
|
-
y:
|
|
3009
|
+
y: g(e.y) + (V.value.bar.labels.alwaysOnTop ? t - (r ? n : 0) : e.value >= 0 ? t : -t * 3)
|
|
3002
3010
|
};
|
|
3003
3011
|
return `translate(${i.x}, ${i.y}) rotate(${V.value.bar.labels.rotation})`;
|
|
3004
3012
|
}
|
|
3005
3013
|
function ru({ plot: e, type: t }) {
|
|
3006
3014
|
let n = V.value[t].labels.offsetY, r = {
|
|
3007
3015
|
x: e.x + V.value[t].labels.offsetX,
|
|
3008
|
-
y:
|
|
3016
|
+
y: g(e.y) + (V.value[t].labels.alwaysOnTop || e.value >= 0 ? n : -n * 3)
|
|
3009
3017
|
};
|
|
3010
3018
|
return `translate(${r.x}, ${r.y}) rotate(${V.value[t].labels.rotation})`;
|
|
3011
3019
|
}
|
|
@@ -3014,22 +3022,22 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3014
3022
|
let n = e.value >= 0;
|
|
3015
3023
|
return V.value[t].labels.rotation === 0 ? "middle" : V.value[t].labels.alwaysOnTop || n ? "start" : "end";
|
|
3016
3024
|
}
|
|
3017
|
-
let au =
|
|
3025
|
+
let au = v(() => G.value ? f(sa.value) ? Xc({ x: Number(sa.value) }) : f(Fs.value) ? Fs.value : null : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value))), ou = v(() => V.value.chart.highlighter.crosshairs.show && Xo.value), su = v(() => [
|
|
3018
3026
|
...Q.value,
|
|
3019
3027
|
...$.value,
|
|
3020
3028
|
...dl.value
|
|
3021
3029
|
].flatMap((e) => (e.plots || []).filter((t, n) => uu(e, t, n)).filter((e) => bt(e.value)).map((t) => ({
|
|
3022
3030
|
...t,
|
|
3023
3031
|
serie: e,
|
|
3024
|
-
x:
|
|
3025
|
-
y:
|
|
3026
|
-
})))), cu =
|
|
3032
|
+
x: g(t.x),
|
|
3033
|
+
y: g(t.y)
|
|
3034
|
+
})))), cu = v(() => {
|
|
3027
3035
|
if (!ou.value) return null;
|
|
3028
3036
|
if (G.value) {
|
|
3029
3037
|
let e = Z.value[0], t = e?.point?.raw?.x ?? e?.point?.x;
|
|
3030
|
-
return
|
|
3038
|
+
return f(t) ? {
|
|
3031
3039
|
x: au.value,
|
|
3032
|
-
text: h(V.value.chart.grid.labels.xAxis.formatter, t,
|
|
3040
|
+
text: h(V.value.chart.grid.labels.xAxis.formatter, t, p({
|
|
3033
3041
|
v: t,
|
|
3034
3042
|
r: V.value.chart.tooltip.roundingValue
|
|
3035
3043
|
}))
|
|
@@ -3069,7 +3077,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3069
3077
|
});
|
|
3070
3078
|
}), n;
|
|
3071
3079
|
}
|
|
3072
|
-
let pu =
|
|
3080
|
+
let pu = v(() => fu(dl.value, "bar")), mu = v(() => fu($.value, "plot")), hu = v(() => fu(Q.value, "line"));
|
|
3073
3081
|
_t(() => M.dataset, (e) => {
|
|
3074
3082
|
if (Array.isArray(e) && e.length > 0 && (Ba.value = !1), V.value.chart.zoom.keepState) {
|
|
3075
3083
|
let e = Ka.value;
|
|
@@ -3095,7 +3103,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3095
3103
|
}, { deep: !0 }), _t(() => M.config, (e) => {
|
|
3096
3104
|
Ra.value || (V.value = Aa()), Hl(), Yi.value += 1, Ji.value += 1, Pa(), V.value.chart.zoom.keepState && Ka.value > 0 && (!ts.value || U.value.start === 0 && U.value.end === 0) && is(), Xa();
|
|
3097
3105
|
}, { deep: !0 });
|
|
3098
|
-
let gu =
|
|
3106
|
+
let gu = E(!1), _u = E(!1);
|
|
3099
3107
|
function vu() {
|
|
3100
3108
|
let e = xi.value?.parentNode;
|
|
3101
3109
|
if (!e) {
|
|
@@ -3108,17 +3116,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3108
3116
|
function yu() {
|
|
3109
3117
|
return !gu.value || _u.value || ts.value ? !1 : U.value.start === 0 && U.value.end === 0;
|
|
3110
3118
|
}
|
|
3111
|
-
|
|
3119
|
+
dt(() => {
|
|
3112
3120
|
vu(), ua.value = new ResizeObserver(() => {
|
|
3113
3121
|
vu(), gu.value && (Hl(), Xa(), yu() && is());
|
|
3114
3122
|
}), xi.value?.parentNode && ua.value.observe(xi.value.parentNode);
|
|
3115
3123
|
}), _t(V, () => {
|
|
3116
3124
|
Pa();
|
|
3117
3125
|
}, { immediate: !0 });
|
|
3118
|
-
let bu =
|
|
3126
|
+
let bu = v(() => {
|
|
3119
3127
|
let e = V.value.table.useDialog && !V.value.showTable, t = H.value.showTable;
|
|
3120
3128
|
return {
|
|
3121
|
-
component: e ? mi :
|
|
3129
|
+
component: e ? mi : Ze,
|
|
3122
3130
|
title: `${V.value.chart.title.text}${V.value.chart.title.subtitle.text ? `: ${V.value.chart.title.subtitle.text}` : ""}`,
|
|
3123
3131
|
props: e ? {
|
|
3124
3132
|
backgroundColor: V.value.table.th.backgroundColor,
|
|
@@ -3151,19 +3159,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3151
3159
|
function xu() {
|
|
3152
3160
|
H.value.showTable = !1, Mi.value && Mi.value.setTableIconState(!1);
|
|
3153
3161
|
}
|
|
3154
|
-
let Su =
|
|
3162
|
+
let Su = v(() => yo.value.map((e) => ({
|
|
3155
3163
|
shape: e.type === "bar" ? "square" : e.shape ?? "circle",
|
|
3156
3164
|
color: e.color,
|
|
3157
3165
|
name: e.name
|
|
3158
|
-
}))), Cu =
|
|
3166
|
+
}))), Cu = v(() => V.value.chart.backgroundColor), wu = v(() => V.value.chart.legend), { exportSvg: Tu, getSvg: Eu } = ze({
|
|
3159
3167
|
svg: L,
|
|
3160
|
-
title:
|
|
3168
|
+
title: v(() => V.value.chart.title),
|
|
3161
3169
|
legend: wu,
|
|
3162
3170
|
legendItems: Su,
|
|
3163
3171
|
backgroundColor: Cu
|
|
3164
3172
|
});
|
|
3165
3173
|
async function Du({ isCb: e }) {
|
|
3166
|
-
oa.value = !0, await
|
|
3174
|
+
oa.value = !0, await ct();
|
|
3167
3175
|
try {
|
|
3168
3176
|
if (e) {
|
|
3169
3177
|
let { blob: e, url: t, text: n, dataUrl: r } = await Eu();
|
|
@@ -3216,7 +3224,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3216
3224
|
}
|
|
3217
3225
|
}));
|
|
3218
3226
|
}
|
|
3219
|
-
let Au =
|
|
3227
|
+
let Au = E(!1);
|
|
3220
3228
|
function ju() {
|
|
3221
3229
|
U.value.end > U.value.start && (ca.value = null), Io.value = !0, Au.value = !0;
|
|
3222
3230
|
}
|
|
@@ -3242,10 +3250,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3242
3250
|
function Pu(e) {
|
|
3243
3251
|
let t = U.value.end - U.value.start;
|
|
3244
3252
|
if (t <= 0) return;
|
|
3245
|
-
let n = J.value.width / t, r =
|
|
3253
|
+
let n = J.value.width / t, r = fe(J.value.left + n * e + n / 2, J.value.top + J.value.height / 2, L.value);
|
|
3246
3254
|
r && (la.value = r);
|
|
3247
3255
|
}
|
|
3248
|
-
let Fu =
|
|
3256
|
+
let Fu = v(() => {
|
|
3249
3257
|
if (!Pl.value) return null;
|
|
3250
3258
|
let e = V.value.table.showSum, t = [V.value.table.columnNames.period].concat(K.value.map((e) => e.name));
|
|
3251
3259
|
return e && (t = t.concat(V.value.table.columnNames.total)), {
|
|
@@ -3253,7 +3261,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3253
3261
|
rows: Pl.value.body
|
|
3254
3262
|
};
|
|
3255
3263
|
});
|
|
3256
|
-
return
|
|
3264
|
+
return Je({
|
|
3257
3265
|
getData: Ks,
|
|
3258
3266
|
getImage: qs,
|
|
3259
3267
|
generatePdf: eo,
|
|
@@ -3270,21 +3278,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3270
3278
|
toggleFullscreen: Bl,
|
|
3271
3279
|
copyAlt: ku,
|
|
3272
3280
|
resetZoom: hs
|
|
3273
|
-
}), (t, n) => (
|
|
3281
|
+
}), (t, n) => (T(), b("div", {
|
|
3274
3282
|
id: `vue-ui-xy_${F.value}`,
|
|
3275
|
-
class:
|
|
3283
|
+
class: lt(`vue-data-ui-component vue-ui-xy ${Hi.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${V.value.useCssAnimation ? "" : "vue-ui-dna"}`),
|
|
3276
3284
|
ref_key: "chart",
|
|
3277
3285
|
ref: xi,
|
|
3278
|
-
style:
|
|
3286
|
+
style: w(`background:${V.value.chart.backgroundColor}; color:${V.value.chart.color};width:100%;font-family:${V.value.chart.fontFamily};${V.value.responsive ? "height: 100%" : ""}`),
|
|
3279
3287
|
onMouseenter: Ro,
|
|
3280
3288
|
onMouseleave: zo,
|
|
3281
3289
|
onClick: Ws
|
|
3282
3290
|
}, [
|
|
3283
|
-
|
|
3291
|
+
x("div", {
|
|
3284
3292
|
id: `chart-instructions-${F.value}`,
|
|
3285
3293
|
class: "sr-only"
|
|
3286
|
-
}, [
|
|
3287
|
-
Fu.value?.rows?.length ? (
|
|
3294
|
+
}, [x("p", null, k(V.value.a11y.translations.keyboardNavigation), 1)], 8, jt),
|
|
3295
|
+
Fu.value?.rows?.length ? (T(), tt($e, {
|
|
3288
3296
|
key: 0,
|
|
3289
3297
|
uid: F.value,
|
|
3290
3298
|
head: Fu.value.headers,
|
|
@@ -3297,8 +3305,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3297
3305
|
"body",
|
|
3298
3306
|
"notice",
|
|
3299
3307
|
"caption"
|
|
3300
|
-
])) :
|
|
3301
|
-
V.value.chart.userOptions.buttons.annotator && L.value ? (
|
|
3308
|
+
])) : y("", !0),
|
|
3309
|
+
V.value.chart.userOptions.buttons.annotator && L.value ? (T(), tt(A(pi), {
|
|
3302
3310
|
key: 1,
|
|
3303
3311
|
svgRef: L.value,
|
|
3304
3312
|
backgroundColor: V.value.chart.backgroundColor,
|
|
@@ -3307,12 +3315,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3307
3315
|
isCursorPointer: Na.value,
|
|
3308
3316
|
onClose: Bo
|
|
3309
3317
|
}, {
|
|
3310
|
-
"annotator-action-close": j(() => [
|
|
3311
|
-
"annotator-action-color": j(({ color: e }) => [
|
|
3312
|
-
"annotator-action-draw": j(({ mode: e }) => [
|
|
3313
|
-
"annotator-action-undo": j(({ disabled: e }) => [
|
|
3314
|
-
"annotator-action-redo": j(({ disabled: e }) => [
|
|
3315
|
-
"annotator-action-delete": j(({ disabled: e }) => [
|
|
3318
|
+
"annotator-action-close": j(() => [O(t.$slots, "annotator-action-close", {}, void 0, !0)]),
|
|
3319
|
+
"annotator-action-color": j(({ color: e }) => [O(t.$slots, "annotator-action-color", C(S({ color: e })), void 0, !0)]),
|
|
3320
|
+
"annotator-action-draw": j(({ mode: e }) => [O(t.$slots, "annotator-action-draw", C(S({ mode: e })), void 0, !0)]),
|
|
3321
|
+
"annotator-action-undo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-undo", C(S({ disabled: e })), void 0, !0)]),
|
|
3322
|
+
"annotator-action-redo": j(({ disabled: e }) => [O(t.$slots, "annotator-action-redo", C(S({ disabled: e })), void 0, !0)]),
|
|
3323
|
+
"annotator-action-delete": j(({ disabled: e }) => [O(t.$slots, "annotator-action-delete", C(S({ disabled: e })), void 0, !0)]),
|
|
3316
3324
|
_: 3
|
|
3317
3325
|
}, 8, [
|
|
3318
3326
|
"svgRef",
|
|
@@ -3320,21 +3328,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3320
3328
|
"color",
|
|
3321
3329
|
"active",
|
|
3322
3330
|
"isCursorPointer"
|
|
3323
|
-
])) :
|
|
3324
|
-
rc.value ? (
|
|
3331
|
+
])) : y("", !0),
|
|
3332
|
+
rc.value ? (T(), b("div", {
|
|
3325
3333
|
key: 2,
|
|
3326
3334
|
ref_key: "noTitle",
|
|
3327
3335
|
ref: Ei,
|
|
3328
3336
|
class: "vue-data-ui-no-title-space",
|
|
3329
3337
|
style: "height:36px; width: 100%; background:transparent"
|
|
3330
|
-
}, null, 512)) :
|
|
3331
|
-
V.value.chart.title.show ? (
|
|
3338
|
+
}, null, 512)) : y("", !0),
|
|
3339
|
+
V.value.chart.title.show ? (T(), b("div", {
|
|
3332
3340
|
key: 3,
|
|
3333
3341
|
ref_key: "chartTitle",
|
|
3334
3342
|
ref: Si,
|
|
3335
3343
|
class: "vue-ui-xy-title",
|
|
3336
|
-
style:
|
|
3337
|
-
}, [(
|
|
3344
|
+
style: w(`font-family:${V.value.chart.fontFamily}`)
|
|
3345
|
+
}, [(T(), tt(Ge, {
|
|
3338
3346
|
key: `title_${Yi.value}`,
|
|
3339
3347
|
config: {
|
|
3340
3348
|
title: {
|
|
@@ -3346,9 +3354,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3346
3354
|
...V.value.chart.title.subtitle
|
|
3347
3355
|
}
|
|
3348
3356
|
}
|
|
3349
|
-
}, null, 8, ["config"]))], 4)) :
|
|
3350
|
-
|
|
3351
|
-
V.value.chart.userOptions.show && ($i.value || ea.value) ? (
|
|
3357
|
+
}, null, 8, ["config"]))], 4)) : y("", !0),
|
|
3358
|
+
x("div", { id: `legend-top-${F.value}` }, null, 8, Mt),
|
|
3359
|
+
V.value.chart.userOptions.show && ($i.value || ea.value) ? (T(), tt(A(li), {
|
|
3352
3360
|
ref_key: "userOptionsRef",
|
|
3353
3361
|
ref: Mi,
|
|
3354
3362
|
key: `user_options_${qi.value}`,
|
|
@@ -3390,11 +3398,11 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3390
3398
|
onToggleTooltip: zl,
|
|
3391
3399
|
onToggleAnnotator: Bo,
|
|
3392
3400
|
onCopyAlt: ku,
|
|
3393
|
-
style:
|
|
3394
|
-
},
|
|
3401
|
+
style: w({ visibility: $i.value ? ea.value ? "visible" : "hidden" : "visible" })
|
|
3402
|
+
}, nt({ _: 2 }, [
|
|
3395
3403
|
t.$slots.menuIcon ? {
|
|
3396
3404
|
name: "menuIcon",
|
|
3397
|
-
fn: j(({ isOpen: e, color: n }) => [
|
|
3405
|
+
fn: j(({ isOpen: e, color: n }) => [O(t.$slots, "menuIcon", C(S({
|
|
3398
3406
|
isOpen: e,
|
|
3399
3407
|
color: n
|
|
3400
3408
|
})), void 0, !0)]),
|
|
@@ -3402,47 +3410,47 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3402
3410
|
} : void 0,
|
|
3403
3411
|
t.$slots.optionTooltip ? {
|
|
3404
3412
|
name: "optionTooltip",
|
|
3405
|
-
fn: j(() => [
|
|
3413
|
+
fn: j(() => [O(t.$slots, "optionTooltip", {}, void 0, !0)]),
|
|
3406
3414
|
key: "1"
|
|
3407
3415
|
} : void 0,
|
|
3408
3416
|
t.$slots.optionPdf ? {
|
|
3409
3417
|
name: "optionPdf",
|
|
3410
|
-
fn: j(() => [
|
|
3418
|
+
fn: j(() => [O(t.$slots, "optionPdf", {}, void 0, !0)]),
|
|
3411
3419
|
key: "2"
|
|
3412
3420
|
} : void 0,
|
|
3413
3421
|
t.$slots.optionCsv ? {
|
|
3414
3422
|
name: "optionCsv",
|
|
3415
|
-
fn: j(() => [
|
|
3423
|
+
fn: j(() => [O(t.$slots, "optionCsv", {}, void 0, !0)]),
|
|
3416
3424
|
key: "3"
|
|
3417
3425
|
} : void 0,
|
|
3418
3426
|
t.$slots.optionImg ? {
|
|
3419
3427
|
name: "optionImg",
|
|
3420
|
-
fn: j(() => [
|
|
3428
|
+
fn: j(() => [O(t.$slots, "optionImg", {}, void 0, !0)]),
|
|
3421
3429
|
key: "4"
|
|
3422
3430
|
} : void 0,
|
|
3423
3431
|
t.$slots.optionSvg ? {
|
|
3424
3432
|
name: "optionSvg",
|
|
3425
|
-
fn: j(() => [
|
|
3433
|
+
fn: j(() => [O(t.$slots, "optionSvg", {}, void 0, !0)]),
|
|
3426
3434
|
key: "5"
|
|
3427
3435
|
} : void 0,
|
|
3428
3436
|
t.$slots.optionTable ? {
|
|
3429
3437
|
name: "optionTable",
|
|
3430
|
-
fn: j(() => [
|
|
3438
|
+
fn: j(() => [O(t.$slots, "optionTable", {}, void 0, !0)]),
|
|
3431
3439
|
key: "6"
|
|
3432
3440
|
} : void 0,
|
|
3433
3441
|
t.$slots.optionLabels ? {
|
|
3434
3442
|
name: "optionLabels",
|
|
3435
|
-
fn: j(() => [
|
|
3443
|
+
fn: j(() => [O(t.$slots, "optionLabels", {}, void 0, !0)]),
|
|
3436
3444
|
key: "7"
|
|
3437
3445
|
} : void 0,
|
|
3438
3446
|
t.$slots.optionStack ? {
|
|
3439
3447
|
name: "optionStack",
|
|
3440
|
-
fn: j(({ isStack: e }) => [
|
|
3448
|
+
fn: j(({ isStack: e }) => [O(t.$slots, "optionStack", C(S({ isStack: e })), void 0, !0)]),
|
|
3441
3449
|
key: "8"
|
|
3442
3450
|
} : void 0,
|
|
3443
3451
|
t.$slots.optionFullscreen ? {
|
|
3444
3452
|
name: "optionFullscreen",
|
|
3445
|
-
fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [
|
|
3453
|
+
fn: j(({ toggleFullscreen: e, isFullscreen: n }) => [O(t.$slots, "optionFullscreen", C(S({
|
|
3446
3454
|
toggleFullscreen: e,
|
|
3447
3455
|
isFullscreen: n
|
|
3448
3456
|
})), void 0, !0)]),
|
|
@@ -3450,7 +3458,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3450
3458
|
} : void 0,
|
|
3451
3459
|
t.$slots.optionAnnotator ? {
|
|
3452
3460
|
name: "optionAnnotator",
|
|
3453
|
-
fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [
|
|
3461
|
+
fn: j(({ toggleAnnotator: e, isAnnotator: n }) => [O(t.$slots, "optionAnnotator", C(S({
|
|
3454
3462
|
toggleAnnotator: e,
|
|
3455
3463
|
isAnnotator: n
|
|
3456
3464
|
})), void 0, !0)]),
|
|
@@ -3458,31 +3466,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3458
3466
|
} : void 0,
|
|
3459
3467
|
t.$slots.optionAltCopy ? {
|
|
3460
3468
|
name: "optionAltCopy",
|
|
3461
|
-
fn: j(({ altCopy: e }) => [
|
|
3469
|
+
fn: j(({ altCopy: e }) => [O(t.$slots, "optionAltCopy", C(S({ altCopy: e })), void 0, !0)]),
|
|
3462
3470
|
key: "11"
|
|
3463
3471
|
} : void 0,
|
|
3464
3472
|
t.$slots["custom-menu-before"] ? {
|
|
3465
3473
|
name: "custom-menu-before",
|
|
3466
|
-
fn: j(() => [
|
|
3474
|
+
fn: j(() => [O(t.$slots, "custom-menu-before", {}, void 0, !0)]),
|
|
3467
3475
|
key: "12"
|
|
3468
3476
|
} : void 0,
|
|
3469
3477
|
t.$slots["custom-menu-after"] ? {
|
|
3470
3478
|
name: "custom-menu-after",
|
|
3471
|
-
fn: j(() => [
|
|
3479
|
+
fn: j(() => [O(t.$slots, "custom-menu-after", {}, void 0, !0)]),
|
|
3472
3480
|
key: "13"
|
|
3473
3481
|
} : void 0
|
|
3474
|
-
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasLabel.hasTable.hasStack.hasFullscreen.hasAltCopy.isStacked.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.tableDialog.printScale.isCursorPointer.onGeneratePdf.style".split("."))) :
|
|
3475
|
-
|
|
3482
|
+
]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasLabel.hasTable.hasStack.hasFullscreen.hasAltCopy.isStacked.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.tableDialog.printScale.isCursorPointer.onGeneratePdf.style".split("."))) : y("", !0),
|
|
3483
|
+
x("div", Nt, [(T(), b("svg", {
|
|
3476
3484
|
ref_key: "svgRef",
|
|
3477
3485
|
ref: L,
|
|
3478
3486
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3479
|
-
class:
|
|
3487
|
+
class: lt([{
|
|
3480
3488
|
"vue-data-ui-fullscreen--on": Hi.value,
|
|
3481
3489
|
"vue-data-ui-fulscreen--off": !Hi.value
|
|
3482
3490
|
}, "vue-ui-xy-svg vue-data-ui-svg"]),
|
|
3483
3491
|
width: "100%",
|
|
3484
3492
|
viewBox: Ri.value,
|
|
3485
|
-
style:
|
|
3493
|
+
style: w({
|
|
3486
3494
|
background: "transparent",
|
|
3487
3495
|
color: V.value.chart.color,
|
|
3488
3496
|
fontFamily: V.value.chart.fontFamily
|
|
@@ -3499,98 +3507,98 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3499
3507
|
onFocus: ju,
|
|
3500
3508
|
onBlur: Mu,
|
|
3501
3509
|
onKeydown: Nu
|
|
3502
|
-
}, [
|
|
3510
|
+
}, [x("g", {
|
|
3503
3511
|
ref_key: "G",
|
|
3504
3512
|
ref: Di,
|
|
3505
3513
|
class: "vue-data-ui-g"
|
|
3506
3514
|
}, [
|
|
3507
|
-
|
|
3508
|
-
t.$slots["chart-background"] ? (
|
|
3515
|
+
it(A(fi)),
|
|
3516
|
+
t.$slots["chart-background"] ? (T(), b("foreignObject", {
|
|
3509
3517
|
key: 0,
|
|
3510
3518
|
x: Math.max(0, J.value?.left),
|
|
3511
3519
|
y: J.value?.top,
|
|
3512
3520
|
width: Math.max(0, J.value?.width),
|
|
3513
3521
|
height: Math.max(0, J.value?.height),
|
|
3514
3522
|
style: { pointerEvents: "none" }
|
|
3515
|
-
}, [
|
|
3516
|
-
X.value > 0 ? (
|
|
3517
|
-
|
|
3518
|
-
V.value.chart.grid.labels.xAxis.showBaseline ? (
|
|
3523
|
+
}, [O(t.$slots, "chart-background", {}, void 0, !0)], 8, Ft)) : y("", !0),
|
|
3524
|
+
X.value > 0 ? (T(), b("g", It, [
|
|
3525
|
+
x("g", Lt, [
|
|
3526
|
+
V.value.chart.grid.labels.xAxis.showBaseline ? (T(), b("line", {
|
|
3519
3527
|
key: 0,
|
|
3520
3528
|
stroke: V.value.chart.grid.stroke,
|
|
3521
3529
|
"stroke-width": "1",
|
|
3522
3530
|
x1: J.value?.left,
|
|
3523
3531
|
x2: J.value?.right,
|
|
3524
|
-
y1: A(
|
|
3525
|
-
y2: A(
|
|
3532
|
+
y1: A(m)(J.value?.bottom),
|
|
3533
|
+
y2: A(m)(J.value?.bottom),
|
|
3526
3534
|
"stroke-linecap": "round",
|
|
3527
3535
|
style: { animation: "none !important" }
|
|
3528
|
-
}, null, 8, Rt)) :
|
|
3529
|
-
H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (
|
|
3536
|
+
}, null, 8, Rt)) : y("", !0),
|
|
3537
|
+
H.value.useIndividualScale ? V.value.chart.grid.showHorizontalLines ? (T(!0), b(_, { key: 2 }, D(pl.value, (e) => (T(), b("g", { key: `individual_grid_${e.groupId || e.id}` }, [e.id === N.value && e.yLabels.length ? (T(!0), b(_, { key: 0 }, D(e.yLabels, (t) => (T(), b("line", {
|
|
3530
3538
|
key: `selected_individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
|
|
3531
3539
|
x1: J.value?.left,
|
|
3532
3540
|
x2: J.value?.right,
|
|
3533
|
-
y1: A(
|
|
3534
|
-
y2: A(
|
|
3541
|
+
y1: A(m)(t.y),
|
|
3542
|
+
y2: A(m)(t.y),
|
|
3535
3543
|
stroke: e.color,
|
|
3536
3544
|
"stroke-width": .5,
|
|
3537
3545
|
"stroke-linecap": "round",
|
|
3538
3546
|
style: { animation: "none !important" }
|
|
3539
|
-
}, null, 8, Ht))), 128)) : e.yLabels.length ? (
|
|
3547
|
+
}, null, 8, Ht))), 128)) : e.yLabels.length ? (T(!0), b(_, { key: 1 }, D(e.yLabels, (t) => (T(), b("line", {
|
|
3540
3548
|
key: `individual_grid_line_${e.groupId || e.id}_${t.value}_${t.y}`,
|
|
3541
3549
|
x1: J.value?.left,
|
|
3542
3550
|
x2: J.value?.right,
|
|
3543
|
-
y1: A(
|
|
3544
|
-
y2: A(
|
|
3551
|
+
y1: A(m)(t.y),
|
|
3552
|
+
y2: A(m)(t.y),
|
|
3545
3553
|
stroke: V.value.chart.grid.stroke,
|
|
3546
3554
|
"stroke-width": .5,
|
|
3547
3555
|
"stroke-linecap": "round",
|
|
3548
3556
|
style: { animation: "none !important" }
|
|
3549
|
-
}, null, 8, Ut))), 128)) :
|
|
3557
|
+
}, null, 8, Ut))), 128)) : y("", !0)]))), 128)) : y("", !0) : (T(), b(_, { key: 1 }, [V.value.chart.grid.labels.yAxis.showBaseline ? (T(), b("line", {
|
|
3550
3558
|
key: 0,
|
|
3551
3559
|
class: "vue-ui-xy-y-axis",
|
|
3552
3560
|
stroke: V.value.chart.grid.stroke,
|
|
3553
3561
|
"stroke-width": "1",
|
|
3554
3562
|
x1: q.value ? J.value?.right : J.value?.left,
|
|
3555
3563
|
x2: q.value ? J.value?.right : J.value?.left,
|
|
3556
|
-
y1: A(
|
|
3557
|
-
y2: A(
|
|
3564
|
+
y1: A(m)(J.value?.top),
|
|
3565
|
+
y2: A(m)(J.value?.bottom),
|
|
3558
3566
|
"stroke-linecap": "round",
|
|
3559
3567
|
style: { animation: "none !important" }
|
|
3560
|
-
}, null, 8, zt)) :
|
|
3568
|
+
}, null, 8, zt)) : y("", !0), V.value.chart.grid.showHorizontalLines ? (T(), b("g", Bt, [(T(!0), b(_, null, D(Lc.value, (e) => (T(), b("line", {
|
|
3561
3569
|
key: `horizontal_grid_line_${e.value}_${e.y}`,
|
|
3562
3570
|
x1: J.value?.left,
|
|
3563
3571
|
x2: J.value?.right,
|
|
3564
|
-
y1: A(
|
|
3565
|
-
y2: A(
|
|
3572
|
+
y1: A(m)(e.y),
|
|
3573
|
+
y2: A(m)(e.y),
|
|
3566
3574
|
stroke: V.value.chart.grid.stroke,
|
|
3567
3575
|
"stroke-width": .5,
|
|
3568
3576
|
"stroke-linecap": "round",
|
|
3569
3577
|
style: { animation: "none !important" }
|
|
3570
|
-
}, null, 8, Vt))), 128))])) :
|
|
3571
|
-
V.value.chart.grid.showVerticalLines ? (
|
|
3578
|
+
}, null, 8, Vt))), 128))])) : y("", !0)], 64)),
|
|
3579
|
+
V.value.chart.grid.showVerticalLines ? (T(), b("g", Wt, [x("path", {
|
|
3572
3580
|
d: Ao.value,
|
|
3573
3581
|
"stroke-width": .5,
|
|
3574
3582
|
stroke: V.value.chart.grid.stroke,
|
|
3575
3583
|
"stroke-linecap": "round",
|
|
3576
3584
|
style: { animation: "none !important" }
|
|
3577
|
-
}, null, 8, Gt)])) :
|
|
3578
|
-
V.value.chart.grid.labels.xAxisLabels.show ? (
|
|
3585
|
+
}, null, 8, Gt)])) : y("", !0),
|
|
3586
|
+
V.value.chart.grid.labels.xAxisLabels.show ? (T(), b("g", Kt, [x("path", {
|
|
3579
3587
|
d: jo.value,
|
|
3580
3588
|
stroke: V.value.chart.grid.stroke,
|
|
3581
3589
|
"stroke-width": 1,
|
|
3582
3590
|
"stroke-linecap": "round",
|
|
3583
3591
|
style: { animation: "none !important" }
|
|
3584
|
-
}, null, 8, qt)])) :
|
|
3592
|
+
}, null, 8, qt)])) : y("", !0)
|
|
3585
3593
|
]),
|
|
3586
|
-
(
|
|
3594
|
+
(T(!0), b(_, null, D(dl.value, (e, n) => (T(), b("defs", { key: `def_rect_${n}` }, [t.$slots["bar-gradient"] ? O(t.$slots, "bar-gradient", st({
|
|
3587
3595
|
key: 0,
|
|
3588
3596
|
ref_for: !0
|
|
3589
3597
|
}, {
|
|
3590
3598
|
series: e,
|
|
3591
3599
|
positiveId: `rectGradient_pos_${n}_${F.value}`,
|
|
3592
3600
|
negativeId: `rectGradient_neg_${n}_${F.value}`
|
|
3593
|
-
}), void 0, !0) : (
|
|
3601
|
+
}), void 0, !0) : (T(), b(_, { key: 1 }, [it(Ye, {
|
|
3594
3602
|
t: "linear",
|
|
3595
3603
|
id: `rectGradient_pos_${n}_${F.value}`,
|
|
3596
3604
|
x2: "0%",
|
|
@@ -3603,16 +3611,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3603
3611
|
],
|
|
3604
3612
|
[
|
|
3605
3613
|
"62%",
|
|
3606
|
-
A(
|
|
3614
|
+
A(r)(e.color, .02),
|
|
3607
3615
|
1
|
|
3608
3616
|
],
|
|
3609
3617
|
[
|
|
3610
3618
|
"100%",
|
|
3611
|
-
A(
|
|
3619
|
+
A(r)(e.color, .05),
|
|
3612
3620
|
1
|
|
3613
3621
|
]
|
|
3614
3622
|
]
|
|
3615
|
-
}, null, 8, ["id", "stops"]),
|
|
3623
|
+
}, null, 8, ["id", "stops"]), it(Ye, {
|
|
3616
3624
|
t: "linear",
|
|
3617
3625
|
id: `rectGradient_neg_${n}_${F.value}`,
|
|
3618
3626
|
x2: "0%",
|
|
@@ -3620,12 +3628,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3620
3628
|
stops: [
|
|
3621
3629
|
[
|
|
3622
3630
|
"0%",
|
|
3623
|
-
A(
|
|
3631
|
+
A(r)(e.color, .05),
|
|
3624
3632
|
1
|
|
3625
3633
|
],
|
|
3626
3634
|
[
|
|
3627
3635
|
"38%",
|
|
3628
|
-
A(
|
|
3636
|
+
A(r)(e.color, .02),
|
|
3629
3637
|
1
|
|
3630
3638
|
],
|
|
3631
3639
|
[
|
|
@@ -3635,7 +3643,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3635
3643
|
]
|
|
3636
3644
|
]
|
|
3637
3645
|
}, null, 8, ["id", "stops"])], 64))]))), 128)),
|
|
3638
|
-
(
|
|
3646
|
+
(T(!0), b(_, null, D($.value, (e, t) => (T(), b("defs", { key: `def_plot_${t}` }, [it(Ye, {
|
|
3639
3647
|
t: "radial",
|
|
3640
3648
|
id: `plotGradient_${t}_${F.value}`,
|
|
3641
3649
|
cx: "50%",
|
|
@@ -3645,7 +3653,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3645
3653
|
fy: "50%",
|
|
3646
3654
|
stops: [[
|
|
3647
3655
|
"0%",
|
|
3648
|
-
A(
|
|
3656
|
+
A(r)(e.color, .05),
|
|
3649
3657
|
1
|
|
3650
3658
|
], [
|
|
3651
3659
|
"100%",
|
|
@@ -3653,7 +3661,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3653
3661
|
1
|
|
3654
3662
|
]]
|
|
3655
3663
|
}, null, 8, ["id", "stops"])]))), 128)),
|
|
3656
|
-
(
|
|
3664
|
+
(T(!0), b(_, null, D(Q.value, (e, n) => (T(), b(_, { key: `def_line_${e.id}` }, [x("defs", null, [it(Ye, {
|
|
3657
3665
|
t: "radial",
|
|
3658
3666
|
id: `lineGradient_${n}_${F.value}`,
|
|
3659
3667
|
cx: "50%",
|
|
@@ -3663,20 +3671,20 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3663
3671
|
fy: "50%",
|
|
3664
3672
|
stops: [[
|
|
3665
3673
|
"0%",
|
|
3666
|
-
A(
|
|
3674
|
+
A(r)(e.color, .05),
|
|
3667
3675
|
1
|
|
3668
3676
|
], [
|
|
3669
3677
|
"100%",
|
|
3670
3678
|
e.color,
|
|
3671
3679
|
1
|
|
3672
3680
|
]]
|
|
3673
|
-
}, null, 8, ["id", "stops"]), t.$slots["area-gradient"] ?
|
|
3681
|
+
}, null, 8, ["id", "stops"]), t.$slots["area-gradient"] ? O(t.$slots, "area-gradient", st({
|
|
3674
3682
|
key: 0,
|
|
3675
3683
|
ref_for: !0
|
|
3676
3684
|
}, {
|
|
3677
3685
|
series: e,
|
|
3678
3686
|
id: `areaGradient_${n}_${F.value}`
|
|
3679
|
-
}), void 0, !0) : (
|
|
3687
|
+
}), void 0, !0) : (T(), tt(Ye, {
|
|
3680
3688
|
key: 1,
|
|
3681
3689
|
t: "linear",
|
|
3682
3690
|
id: `areaGradient_${n}_${F.value}`,
|
|
@@ -3686,23 +3694,23 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3686
3694
|
y2: "0%",
|
|
3687
3695
|
stops: [[
|
|
3688
3696
|
"0%",
|
|
3689
|
-
A(
|
|
3697
|
+
A(je)(A(r)(e.color, .03), V.value.line.area.opacity),
|
|
3690
3698
|
1
|
|
3691
3699
|
], [
|
|
3692
3700
|
"100%",
|
|
3693
|
-
A(
|
|
3701
|
+
A(je)(e.color, V.value.line.area.opacity),
|
|
3694
3702
|
1
|
|
3695
3703
|
]]
|
|
3696
|
-
}, null, 8, ["id", "stops"]))]), e.temperatureColors && !e.isFlatTemperatureLine ? (
|
|
3704
|
+
}, null, 8, ["id", "stops"]))]), e.temperatureColors && !e.isFlatTemperatureLine ? (T(), b("defs", Jt, [x("linearGradient", {
|
|
3697
3705
|
id: `temperature_grad_line_${n}_${F.value}`,
|
|
3698
3706
|
gradientTransform: "rotate(90)"
|
|
3699
|
-
}, [(
|
|
3707
|
+
}, [(T(!0), b(_, null, D(e.temperatureColors, (t, r) => (T(), b("stop", {
|
|
3700
3708
|
key: `temperature_grad_stop_${n}_${r}_${F.value}`,
|
|
3701
3709
|
"stop-color": t,
|
|
3702
|
-
offset: A(
|
|
3703
|
-
}, null, 8, Xt))), 128))], 8, Yt)])) :
|
|
3704
|
-
(
|
|
3705
|
-
style:
|
|
3710
|
+
offset: A(se)(r, e.temperatureColors.length)
|
|
3711
|
+
}, null, 8, Xt))), 128))], 8, Yt)])) : y("", !0)], 64))), 128)),
|
|
3712
|
+
(T(!0), b(_, null, D(ic.value, (e) => (T(), b("g", { key: `highlight_area_${e.from}_${e.span}_${e.color}` }, [e.show ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_rect_${e.from}_${n}` }, [x("rect", {
|
|
3713
|
+
style: w({
|
|
3706
3714
|
transition: "none",
|
|
3707
3715
|
opacity: +(e.from + n >= U.value.start && e.from + n <= U.value.end - 1)
|
|
3708
3716
|
}),
|
|
@@ -3710,19 +3718,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3710
3718
|
y: J.value?.top,
|
|
3711
3719
|
height: J.value.height < 0 ? 10 : J.value.height,
|
|
3712
3720
|
width: pc(e.from + n - U.value.start),
|
|
3713
|
-
fill: A(
|
|
3714
|
-
}, null, 12, Zt)]))), 128)), (
|
|
3721
|
+
fill: A(je)(e.color, e.opacity)
|
|
3722
|
+
}, null, 12, Zt)]))), 128)), (T(!0), b(_, null, D(e.span, (t, n) => (T(), b("g", { key: `highlight_area_caption_${e.from}_${n}` }, [e.caption.text && n === 0 ? (T(), b("foreignObject", {
|
|
3715
3723
|
key: 0,
|
|
3716
3724
|
x: fc(e.from + n - U.value.start) - (e.caption.width === "auto" ? 0 : e.caption.width / 2 - gc(e.span) / 2),
|
|
3717
3725
|
y: J.value?.top + e.caption.offsetY,
|
|
3718
|
-
style:
|
|
3726
|
+
style: w({
|
|
3719
3727
|
overflow: "visible",
|
|
3720
3728
|
opacity: +(e.to >= U.value.start && e.from < U.value.end)
|
|
3721
3729
|
}),
|
|
3722
3730
|
height: "1",
|
|
3723
3731
|
width: e.caption.width === "auto" ? gc(e.span) : e.caption.width
|
|
3724
|
-
}, [
|
|
3725
|
-
Io.value && !G.value ? (
|
|
3732
|
+
}, [x("div", { style: w(`padding:${e.caption.padding}px;text-align:${e.caption.textAlign};font-size:${e.caption.fontSize}px;color:${e.caption.color};font-weight:${e.caption.bold ? "bold" : "normal"}`) }, k(e.caption.text), 5)], 12, Qt)) : y("", !0)]))), 128))], 64)) : y("", !0)]))), 128)),
|
|
3733
|
+
Io.value && !G.value ? (T(), b("g", $t, [(T(!0), b(_, null, D(X.value, (e, t) => (T(), b("g", { key: `tooltip_trap_highlighter_${t}` }, [x("rect", {
|
|
3726
3734
|
x: fc(t),
|
|
3727
3735
|
y: J.value?.top,
|
|
3728
3736
|
height: J.value.height < 0 ? 10 : J.value.height,
|
|
@@ -3731,18 +3739,18 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3731
3739
|
I.value,
|
|
3732
3740
|
R.value,
|
|
3733
3741
|
Wi.value
|
|
3734
|
-
].includes(t) ? A(
|
|
3742
|
+
].includes(t) ? A(je)(V.value.chart.highlighter.color, V.value.chart.highlighter.crosshairs.show ? 0 : V.value.chart.highlighter.opacity) : "transparent",
|
|
3735
3743
|
style: {
|
|
3736
3744
|
transition: "none !important",
|
|
3737
3745
|
animation: "none !important"
|
|
3738
3746
|
}
|
|
3739
|
-
}, null, 8, en)]))), 128))])) :
|
|
3740
|
-
dl.value.length ? (
|
|
3747
|
+
}, null, 8, en)]))), 128))])) : y("", !0),
|
|
3748
|
+
dl.value.length ? (T(!0), b(_, { key: 1 }, D(dl.value, (e, n) => (T(), b("g", {
|
|
3741
3749
|
key: `serie_bar_${e.id}`,
|
|
3742
|
-
class:
|
|
3743
|
-
style:
|
|
3744
|
-
}, [(
|
|
3745
|
-
A(bt)(r.value) ? (
|
|
3750
|
+
class: lt(`serie_bar_${n}`),
|
|
3751
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3752
|
+
}, [(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b("g", { key: `bar_plot_${n}_${i}` }, [
|
|
3753
|
+
A(bt)(r.value) ? (T(), b("rect", {
|
|
3746
3754
|
key: 0,
|
|
3747
3755
|
x: js(r) + Nc.value / 2,
|
|
3748
3756
|
y: H.value.useIndividualScale ? Ns(r) : Ms(r),
|
|
@@ -3752,9 +3760,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3752
3760
|
fill: V.value.bar.useGradient ? r.value >= 0 ? `url(#rectGradient_pos_${n}_${F.value})` : `url(#rectGradient_neg_${n}_${F.value})` : e.color,
|
|
3753
3761
|
stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
|
|
3754
3762
|
"stroke-width": V.value.bar.border.strokeWidth,
|
|
3755
|
-
style:
|
|
3756
|
-
}, null, 12, tn)) :
|
|
3757
|
-
A(bt)(r.value) && t.$slots.pattern ? (
|
|
3763
|
+
style: w({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
|
|
3764
|
+
}, null, 12, tn)) : y("", !0),
|
|
3765
|
+
A(bt)(r.value) && t.$slots.pattern ? (T(), b("rect", {
|
|
3758
3766
|
key: 1,
|
|
3759
3767
|
x: js(r) - Nc.value / 2,
|
|
3760
3768
|
y: H.value.useIndividualScale ? Ns(r) : Ms(r),
|
|
@@ -3764,38 +3772,38 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3764
3772
|
fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
|
|
3765
3773
|
stroke: V.value.bar.border.useSerieColor ? e.color : V.value.bar.border.stroke,
|
|
3766
3774
|
"stroke-width": V.value.bar.border.strokeWidth,
|
|
3767
|
-
style:
|
|
3768
|
-
}, null, 12, nn)) :
|
|
3769
|
-
r.comment && V.value.chart.comments.show ? (
|
|
3775
|
+
style: w({ transition: A(Ra) || !V.value.bar.showTransition ? void 0 : `all ${V.value.bar.transitionDurationMs}ms ease-in-out` })
|
|
3776
|
+
}, null, 12, nn)) : y("", !0),
|
|
3777
|
+
r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
|
|
3770
3778
|
key: 2,
|
|
3771
3779
|
style: { overflow: "visible" },
|
|
3772
3780
|
height: "12",
|
|
3773
3781
|
width: Mc.value + V.value.chart.comments.width,
|
|
3774
3782
|
x: js(r) - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
|
|
3775
|
-
y: A(
|
|
3776
|
-
}, [
|
|
3783
|
+
y: A(g)(r.y) + V.value.chart.comments.offsetY + 6
|
|
3784
|
+
}, [O(t.$slots, "plot-comment", { plot: {
|
|
3777
3785
|
...r,
|
|
3778
3786
|
color: e.color,
|
|
3779
3787
|
seriesIndex: n,
|
|
3780
3788
|
datapointIndex: i
|
|
3781
|
-
} }, void 0, !0)], 8, rn)) :
|
|
3782
|
-
]))), 128))], 6))), 128)) :
|
|
3783
|
-
!H.value.useIndividualScale && V.value.chart.grid.labels.zeroLine.show ? (
|
|
3789
|
+
} }, void 0, !0)], 8, rn)) : y("", !0)
|
|
3790
|
+
]))), 128))], 6))), 128)) : y("", !0),
|
|
3791
|
+
!H.value.useIndividualScale && V.value.chart.grid.labels.zeroLine.show ? (T(), b("line", {
|
|
3784
3792
|
key: 2,
|
|
3785
3793
|
stroke: V.value.chart.grid.stroke,
|
|
3786
3794
|
"stroke-width": "1",
|
|
3787
3795
|
x1: J.value?.left,
|
|
3788
3796
|
x2: J.value?.right,
|
|
3789
|
-
y1: A(
|
|
3790
|
-
y2: A(
|
|
3797
|
+
y1: A(m)(Es.value),
|
|
3798
|
+
y2: A(m)(Es.value),
|
|
3791
3799
|
"stroke-linecap": "round",
|
|
3792
3800
|
style: { animation: "none !important" }
|
|
3793
|
-
}, null, 8, an)) :
|
|
3794
|
-
!V.value.chart.highlighter.crosshairs.show && (V.value.chart.highlighter.useLine || G.value) && Xo.value ? (
|
|
3801
|
+
}, null, 8, an)) : y("", !0),
|
|
3802
|
+
!V.value.chart.highlighter.crosshairs.show && (V.value.chart.highlighter.useLine || G.value) && Xo.value ? (T(), b("g", on, [x("line", {
|
|
3795
3803
|
x1: au.value,
|
|
3796
3804
|
x2: au.value,
|
|
3797
|
-
y1: A(
|
|
3798
|
-
y2: A(
|
|
3805
|
+
y1: A(m)(J.value?.top),
|
|
3806
|
+
y2: A(m)(J.value?.bottom),
|
|
3799
3807
|
stroke: V.value.chart.highlighter.color,
|
|
3800
3808
|
"stroke-width": V.value.chart.highlighter.lineWidth,
|
|
3801
3809
|
"stroke-dasharray": V.value.chart.highlighter.lineDasharray,
|
|
@@ -3805,41 +3813,41 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3805
3813
|
animation: "none !important",
|
|
3806
3814
|
"pointer-events": "none"
|
|
3807
3815
|
}
|
|
3808
|
-
}, null, 8, sn)])) :
|
|
3809
|
-
ou.value ? (
|
|
3810
|
-
|
|
3811
|
-
x1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(
|
|
3812
|
-
x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(
|
|
3813
|
-
y1: A(
|
|
3814
|
-
y2: A(
|
|
3816
|
+
}, null, 8, sn)])) : y("", !0),
|
|
3817
|
+
ou.value ? (T(), b("g", cn, [(T(!0), b(_, null, D(su.value, (e) => (T(), b("g", { key: `crosshair_${e.serie.id}_${e.index}` }, [
|
|
3818
|
+
x("line", {
|
|
3819
|
+
x1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(e.x) : J.value.left,
|
|
3820
|
+
x2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(lu(e.x)) : J.value.right,
|
|
3821
|
+
y1: A(m)(e.y),
|
|
3822
|
+
y2: A(m)(e.y),
|
|
3815
3823
|
stroke: V.value.chart.highlighter.crosshairs.stroke,
|
|
3816
3824
|
"stroke-width": V.value.chart.highlighter.crosshairs.strokeWidth,
|
|
3817
3825
|
"stroke-dasharray": V.value.chart.highlighter.crosshairs.strokeDasharray,
|
|
3818
3826
|
"stroke-linecap": "round",
|
|
3819
3827
|
style: { "pointer-events": "none" }
|
|
3820
3828
|
}, null, 8, ln),
|
|
3821
|
-
|
|
3822
|
-
x1: A(
|
|
3823
|
-
x2: A(
|
|
3824
|
-
y1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(
|
|
3825
|
-
y2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(
|
|
3829
|
+
x("line", {
|
|
3830
|
+
x1: A(m)(e.x),
|
|
3831
|
+
x2: A(m)(e.x),
|
|
3832
|
+
y1: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(e.y) : J.value.top,
|
|
3833
|
+
y2: V.value.chart.highlighter.crosshairs.stopOnPoint ? A(m)(J.value.bottom) : J.value.bottom,
|
|
3826
3834
|
stroke: V.value.chart.highlighter.crosshairs.stroke,
|
|
3827
3835
|
"stroke-width": V.value.chart.highlighter.crosshairs.strokeWidth,
|
|
3828
3836
|
"stroke-dasharray": V.value.chart.highlighter.crosshairs.strokeDasharray,
|
|
3829
3837
|
"stroke-linecap": "round",
|
|
3830
3838
|
style: { "pointer-events": "none" }
|
|
3831
3839
|
}, null, 8, un),
|
|
3832
|
-
|
|
3833
|
-
cx: A(
|
|
3834
|
-
cy: A(
|
|
3840
|
+
x("circle", {
|
|
3841
|
+
cx: A(m)(lu(e.x)),
|
|
3842
|
+
cy: A(m)(e.y),
|
|
3835
3843
|
r: V.value.chart.highlighter.crosshairs.dot.radius,
|
|
3836
3844
|
fill: V.value.chart.highlighter.crosshairs.dot.fill,
|
|
3837
3845
|
stroke: V.value.chart.highlighter.crosshairs.dot.stroke,
|
|
3838
3846
|
"stroke-width": V.value.chart.highlighter.crosshairs.dot.strokeWidth,
|
|
3839
3847
|
style: { "pointer-events": "none" }
|
|
3840
3848
|
}, null, 8, dn)
|
|
3841
|
-
]))), 128))])) :
|
|
3842
|
-
V.value.chart.grid.frame.show ? (
|
|
3849
|
+
]))), 128))])) : y("", !0),
|
|
3850
|
+
V.value.chart.grid.frame.show ? (T(), b("rect", {
|
|
3843
3851
|
key: 5,
|
|
3844
3852
|
style: {
|
|
3845
3853
|
pointerEvents: "none",
|
|
@@ -3856,50 +3864,50 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3856
3864
|
"stroke-linecap": V.value.chart.grid.frame.strokeLinecap,
|
|
3857
3865
|
"stroke-linejoin": V.value.chart.grid.frame.strokeLinejoin,
|
|
3858
3866
|
"stroke-dasharray": V.value.chart.grid.frame.strokeDasharray
|
|
3859
|
-
}, null, 8, fn)) :
|
|
3860
|
-
V.value.chart.grid.labels.show ? (
|
|
3867
|
+
}, null, 8, fn)) : y("", !0),
|
|
3868
|
+
V.value.chart.grid.labels.show ? (T(), b("g", {
|
|
3861
3869
|
key: 6,
|
|
3862
3870
|
ref_key: "scaleLabels",
|
|
3863
3871
|
ref: ji,
|
|
3864
3872
|
opacity: ou.value ? .2 : 1,
|
|
3865
3873
|
style: { transition: "opacity 0.2s" }
|
|
3866
|
-
}, [H.value.useIndividualScale ? (
|
|
3874
|
+
}, [H.value.useIndividualScale ? (T(), b(_, { key: 0 }, [(T(!0), b(_, null, D(pl.value, (e) => (T(), b("g", { key: `individual_scale_axis_${e.groupId || e.id}` }, [x("line", {
|
|
3867
3875
|
x1: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
|
|
3868
3876
|
x2: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x - J.value.individualOffsetX,
|
|
3869
|
-
y1: H.value.isStacked ? A(
|
|
3870
|
-
y2: H.value.isStacked ? A(
|
|
3877
|
+
y1: H.value.isStacked ? A(m)(J.value?.bottom - e.yOffset - e.individualHeight) : A(m)(J.value?.top),
|
|
3878
|
+
y2: H.value.isStacked ? A(m)(J.value?.bottom - e.yOffset) : A(m)(J.value?.bottom),
|
|
3871
3879
|
stroke: e.color,
|
|
3872
3880
|
"stroke-width": V.value.chart.grid.stroke,
|
|
3873
3881
|
"stroke-linecap": "round",
|
|
3874
|
-
style:
|
|
3875
|
-
}, null, 12, mn)]))), 128)), (
|
|
3882
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out; animation: none !important`)
|
|
3883
|
+
}, null, 12, mn)]))), 128)), (T(!0), b(_, null, D(pl.value, (e) => (T(), b("g", {
|
|
3876
3884
|
key: `individual_scale_label_${e.groupId || e.id}`,
|
|
3877
|
-
style:
|
|
3885
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .3 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3878
3886
|
}, [
|
|
3879
|
-
|
|
3887
|
+
x("text", {
|
|
3880
3888
|
fill: e.color,
|
|
3881
3889
|
"font-size": B.value.dataLabels * .8,
|
|
3882
3890
|
"text-anchor": "middle",
|
|
3883
3891
|
transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + J.value.individualOffsetX + V.value.chart.grid.labels.axis.yLabelOffsetX : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - V.value.chart.grid.labels.yAxis.labelWidth - V.value.chart.grid.labels.axis.yLabelOffsetX : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 + V.value.chart.grid.labels.yAxis.labelWidth + V.value.chart.grid.labels.axis.yLabelOffsetX : e.x - B.value.dataLabels * .8 / 2}, ${H.value.isStacked ? J.value?.bottom - e.yOffset - e.individualHeight / 2 : J.value?.top + J.value.height / 2}) rotate(-90)`
|
|
3884
|
-
},
|
|
3885
|
-
(
|
|
3892
|
+
}, k(e.name) + " " + k(e.scaleLabel && e.unique && e.scaleLabel !== e.id ? `- ${e.scaleLabel}` : ""), 9, hn),
|
|
3893
|
+
(T(!0), b(_, null, D(e.yLabels, (t, n) => (T(), b(_, { key: `individual_scale_y_crosshair_${e.groupId || e.id}_${t.value}_${n}` }, [V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
|
|
3886
3894
|
key: 0,
|
|
3887
3895
|
x1: H.value.isStacked ? q.value ? J.value.right : J.value.left : q.value ? e.x : e.x + 3 - V.value.chart.grid.labels.yAxis.crosshairSize - J.value.individualOffsetX,
|
|
3888
3896
|
x2: H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize : e.x - J.value.individualOffsetX,
|
|
3889
|
-
y1: A(
|
|
3890
|
-
y2: A(
|
|
3897
|
+
y1: A(m)(t.y),
|
|
3898
|
+
y2: A(m)(t.y),
|
|
3891
3899
|
stroke: e.color,
|
|
3892
3900
|
"stroke-width": 1,
|
|
3893
3901
|
"stroke-linecap": "round",
|
|
3894
3902
|
style: { animation: "none !important" }
|
|
3895
|
-
}, null, 8, gn)) :
|
|
3896
|
-
(
|
|
3903
|
+
}, null, 8, gn)) : y("", !0)], 64))), 128)),
|
|
3904
|
+
(T(!0), b(_, null, D(e.yLabels, (t, n) => (T(), b("text", {
|
|
3897
3905
|
key: `individual_scale_y_label_${e.groupId || e.id}_${t.value}_${n}`,
|
|
3898
|
-
transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - J.value.individualOffsetX}, ${A(
|
|
3906
|
+
transform: `translate(${H.value.isStacked ? q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.left - V.value.chart.grid.labels.yAxis.crosshairSize - V.value.chart.grid.labels.yAxis.scaleValueOffsetX - 5 : q.value ? e.x + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : e.x - 5 - J.value.individualOffsetX}, ${A(m)(t.y) + B.value.dataLabels / 3})`,
|
|
3899
3907
|
"text-anchor": q.value ? "start" : "end",
|
|
3900
3908
|
"font-size": B.value.dataLabels,
|
|
3901
3909
|
fill: e.color
|
|
3902
|
-
},
|
|
3910
|
+
}, k(A(h)(V.value.chart.grid.labels.yAxis.formatter, t.value, A(p)({
|
|
3903
3911
|
p: t.prefix,
|
|
3904
3912
|
v: t.value,
|
|
3905
3913
|
s: t.suffix,
|
|
@@ -3908,31 +3916,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3908
3916
|
datapoint: t.datapoint,
|
|
3909
3917
|
seriesIndex: n
|
|
3910
3918
|
})), 9, _n))), 128))
|
|
3911
|
-
], 4))), 128))], 64)) : (
|
|
3919
|
+
], 4))), 128))], 64)) : (T(!0), b(_, { key: 1 }, D(Lc.value, (e, t) => (T(), b("g", { key: `yLabel_${t}` }, [A(bt)(e) && e.value >= W.value.min && e.value <= W.value.max && V.value.chart.grid.labels.yAxis.showCrosshairs ? (T(), b("line", {
|
|
3912
3920
|
key: 0,
|
|
3913
3921
|
x1: q.value ? J.value?.right : J.value?.left,
|
|
3914
3922
|
x2: q.value ? J.value?.right + V.value.chart.grid.labels.yAxis.crosshairSize : J.value?.left - V.value.chart.grid.labels.yAxis.crosshairSize,
|
|
3915
|
-
y1: A(
|
|
3916
|
-
y2: A(
|
|
3923
|
+
y1: A(m)(e.y),
|
|
3924
|
+
y2: A(m)(e.y),
|
|
3917
3925
|
stroke: V.value.chart.grid.stroke,
|
|
3918
3926
|
"stroke-width": "1",
|
|
3919
3927
|
"stroke-linecap": "round",
|
|
3920
3928
|
style: { animation: "none !important" }
|
|
3921
|
-
}, null, 8, vn)) :
|
|
3929
|
+
}, null, 8, vn)) : y("", !0), e.value >= W.value.min && e.value <= W.value.max ? (T(), b("text", {
|
|
3922
3930
|
key: 1,
|
|
3923
|
-
transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(
|
|
3931
|
+
transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(g)(e.y + B.value.dataLabels / 3)})`,
|
|
3924
3932
|
"font-size": B.value.dataLabels,
|
|
3925
3933
|
"text-anchor": q.value ? "start" : "end",
|
|
3926
3934
|
fill: V.value.chart.grid.labels.color
|
|
3927
|
-
},
|
|
3935
|
+
}, k(A(bt)(e.value) ? A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(p)({
|
|
3928
3936
|
p: e.prefix,
|
|
3929
3937
|
v: e.value,
|
|
3930
3938
|
s: e.suffix,
|
|
3931
3939
|
r: V.value.chart.grid.labels.yAxis.rounding
|
|
3932
|
-
})) : ""), 9, yn)) :
|
|
3933
|
-
ou.value ? (
|
|
3940
|
+
})) : ""), 9, yn)) : y("", !0)]))), 128))], 8, pn)) : y("", !0),
|
|
3941
|
+
ou.value ? (T(), b("g", bn, [(T(!0), b(_, null, D(su.value, (e) => (T(), b("text", {
|
|
3934
3942
|
key: `crosshair_y_label_${e.serie.id}_${e.index}`,
|
|
3935
|
-
transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(
|
|
3943
|
+
transform: `translate(${q.value ? J.value.right + V.value.chart.grid.labels.yAxis.crosshairSize + V.value.chart.grid.labels.yAxis.scaleValueOffsetX + 5 : J.value.scaleLabelX - V.value.chart.grid.labels.yAxis.crosshairSize}, ${A(m)(e.y) + B.value.dataLabels / 3})`,
|
|
3936
3944
|
"font-size": B.value.dataLabels,
|
|
3937
3945
|
"text-anchor": q.value ? "start" : "end",
|
|
3938
3946
|
fill: V.value.chart.grid.labels.color,
|
|
@@ -3941,7 +3949,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3941
3949
|
animation: "none !important",
|
|
3942
3950
|
"pointer-events": "none"
|
|
3943
3951
|
}
|
|
3944
|
-
},
|
|
3952
|
+
}, k(A(h)(V.value.chart.grid.labels.yAxis.formatter, e.value, A(p)({
|
|
3945
3953
|
p: e.serie.prefix || V.value.chart.labels.prefix,
|
|
3946
3954
|
v: e.value,
|
|
3947
3955
|
s: e.serie.suffix || V.value.chart.labels.suffix,
|
|
@@ -3949,10 +3957,10 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3949
3957
|
}), {
|
|
3950
3958
|
datapoint: e.serie,
|
|
3951
3959
|
seriesIndex: e.index
|
|
3952
|
-
})), 9, xn))), 128))])) :
|
|
3953
|
-
cu.value ? (
|
|
3960
|
+
})), 9, xn))), 128))])) : y("", !0),
|
|
3961
|
+
cu.value ? (T(), b("g", Sn, [x("circle", {
|
|
3954
3962
|
cx: au.value,
|
|
3955
|
-
cy: A(
|
|
3963
|
+
cy: A(m)(J.value?.bottom),
|
|
3956
3964
|
r: V.value.chart.highlighter.crosshairs.dot.radius,
|
|
3957
3965
|
fill: V.value.chart.highlighter.crosshairs.dot.fill,
|
|
3958
3966
|
stroke: V.value.chart.highlighter.crosshairs.dot.stroke,
|
|
@@ -3962,12 +3970,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3962
3970
|
animation: "none !important",
|
|
3963
3971
|
"pointer-events": "none"
|
|
3964
3972
|
}
|
|
3965
|
-
}, null, 8, Cn)])) :
|
|
3966
|
-
(
|
|
3973
|
+
}, null, 8, Cn)])) : y("", !0),
|
|
3974
|
+
(T(!0), b(_, null, D($.value, (e, n) => (T(), b("g", {
|
|
3967
3975
|
key: `serie_plot_${e.id}`,
|
|
3968
|
-
class:
|
|
3969
|
-
style:
|
|
3970
|
-
}, [(
|
|
3976
|
+
class: lt(`serie_plot_${n}`),
|
|
3977
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3978
|
+
}, [(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b("g", { key: `circle_plot_${e.id}_${i}` }, [r && A(bt)(r.value) ? (T(), tt(qe, {
|
|
3971
3979
|
key: 0,
|
|
3972
3980
|
shape: [
|
|
3973
3981
|
"triangle",
|
|
@@ -3979,8 +3987,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3979
3987
|
].includes(e.shape) ? e.shape : "circle",
|
|
3980
3988
|
color: V.value.plot.useGradient ? `url(#plotGradient_${n}_${F.value})` : V.value.plot.dot.useSerieColor ? e.color : V.value.plot.dot.fill,
|
|
3981
3989
|
plot: {
|
|
3982
|
-
x: A(
|
|
3983
|
-
y: A(
|
|
3990
|
+
x: A(g)(r.x),
|
|
3991
|
+
y: A(g)(r.y)
|
|
3984
3992
|
},
|
|
3985
3993
|
radius: uu(e, r, i) ? (Oa.value.plot || 6) * 1.5 : (zc(e.plots, i), Oa.value.plot || 6),
|
|
3986
3994
|
stroke: V.value.plot.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
|
|
@@ -3996,24 +4004,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
3996
4004
|
"strokeWidth",
|
|
3997
4005
|
"transition",
|
|
3998
4006
|
"still"
|
|
3999
|
-
])) :
|
|
4007
|
+
])) : y("", !0), r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
|
|
4000
4008
|
key: 1,
|
|
4001
4009
|
style: { overflow: "visible" },
|
|
4002
4010
|
height: "12",
|
|
4003
4011
|
width: V.value.chart.comments.width,
|
|
4004
4012
|
x: r.x - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
|
|
4005
4013
|
y: r.y + V.value.chart.comments.offsetY + 6
|
|
4006
|
-
}, [
|
|
4014
|
+
}, [x("div", Tn, [O(t.$slots, "plot-comment", { plot: {
|
|
4007
4015
|
...r,
|
|
4008
4016
|
color: e.color,
|
|
4009
4017
|
seriesIndex: n,
|
|
4010
4018
|
datapointIndex: i
|
|
4011
|
-
} }, void 0, !0)])], 8, wn)) :
|
|
4012
|
-
(
|
|
4019
|
+
} }, void 0, !0)])], 8, wn)) : y("", !0)]))), 128))], 6))), 128)),
|
|
4020
|
+
(T(!0), b(_, null, D(Q.value, (e, t) => (T(), b("g", {
|
|
4013
4021
|
key: `serie_line_${e.id}`,
|
|
4014
|
-
class:
|
|
4015
|
-
style:
|
|
4016
|
-
}, [e.hasDashedSegments ? (
|
|
4022
|
+
class: lt(`serie_line_${t}`),
|
|
4023
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4024
|
+
}, [e.hasDashedSegments ? (T(), b(_, { key: 0 }, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.dashedSmooth, (t, n) => (T(), b("path", {
|
|
4017
4025
|
key: `line_coating_smooth_segment_${e.id}_${n}`,
|
|
4018
4026
|
fill: "none",
|
|
4019
4027
|
"stroke-linecap": "round",
|
|
@@ -4022,8 +4030,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4022
4030
|
stroke: V.value.chart.backgroundColor,
|
|
4023
4031
|
"stroke-width": V.value.line.strokeWidth + 1,
|
|
4024
4032
|
"stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
|
|
4025
|
-
style:
|
|
4026
|
-
}, null, 12, En))), 128)) : (
|
|
4033
|
+
style: w({ transition: Gc() })
|
|
4034
|
+
}, null, 12, En))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, n) => (T(), b("path", {
|
|
4027
4035
|
key: `line_coating_straight_segment_${e.id}_${n}`,
|
|
4028
4036
|
fill: "none",
|
|
4029
4037
|
"stroke-linecap": "round",
|
|
@@ -4032,8 +4040,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4032
4040
|
stroke: V.value.chart.backgroundColor,
|
|
4033
4041
|
"stroke-width": V.value.line.strokeWidth + 1,
|
|
4034
4042
|
"stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
|
|
4035
|
-
style:
|
|
4036
|
-
}, null, 12, Dn))), 128))], 64)) : e.smooth && e.plots.length > 1 && e.curve ? (
|
|
4043
|
+
style: w({ transition: Gc() })
|
|
4044
|
+
}, null, 12, Dn))), 128))], 64)) : e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
|
|
4037
4045
|
key: 1,
|
|
4038
4046
|
d: `M${e.curve}`,
|
|
4039
4047
|
stroke: V.value.chart.backgroundColor,
|
|
@@ -4042,8 +4050,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4042
4050
|
fill: "none",
|
|
4043
4051
|
"stroke-linecap": "round",
|
|
4044
4052
|
"stroke-linejoin": "round",
|
|
4045
|
-
style:
|
|
4046
|
-
}, null, 12, On)) : e.plots.length > 1 && e.straight ? (
|
|
4053
|
+
style: w({ transition: Gc() })
|
|
4054
|
+
}, null, 12, On)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
|
|
4047
4055
|
key: 2,
|
|
4048
4056
|
d: `M${e.straight}`,
|
|
4049
4057
|
stroke: V.value.chart.backgroundColor,
|
|
@@ -4052,49 +4060,49 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4052
4060
|
fill: "none",
|
|
4053
4061
|
"stroke-linecap": "round",
|
|
4054
4062
|
"stroke-linejoin": "round",
|
|
4055
|
-
style:
|
|
4056
|
-
}, null, 12, kn)) :
|
|
4057
|
-
t.$slots.pattern ? (
|
|
4063
|
+
style: w({ transition: Gc() })
|
|
4064
|
+
}, null, 12, kn)) : y("", !0)], 6))), 128)),
|
|
4065
|
+
t.$slots.pattern ? (T(), b("defs", An, [(T(!0), b(_, null, D(vo.value, (e, n) => O(t.$slots, "pattern", st({ key: `serie_pattern_slot_${e.id}` }, { ref_for: !0 }, {
|
|
4058
4066
|
...e,
|
|
4059
4067
|
seriesIndex: e.slotAbsoluteIndex,
|
|
4060
4068
|
patternId: `pattern_${F.value}_${n}`
|
|
4061
|
-
}), void 0, !0)), 128))])) :
|
|
4062
|
-
ml.value.length && !H.value.isStacked ? (
|
|
4069
|
+
}), void 0, !0)), 128))])) : y("", !0),
|
|
4070
|
+
ml.value.length && !H.value.isStacked ? (T(), b("g", jn, [(T(!0), b(_, null, D(ml.value, (e) => (T(), b("path", {
|
|
4063
4071
|
key: e.key,
|
|
4064
4072
|
d: e.d,
|
|
4065
4073
|
fill: e.color,
|
|
4066
4074
|
"fill-opacity": V.value.line.interLine.fillOpacity,
|
|
4067
4075
|
stroke: "none",
|
|
4068
4076
|
"pointer-events": "none",
|
|
4069
|
-
style:
|
|
4070
|
-
}, null, 12, Mn))), 128))])) :
|
|
4071
|
-
(
|
|
4077
|
+
style: w({ transition: Gc() })
|
|
4078
|
+
}, null, 12, Mn))), 128))])) : y("", !0),
|
|
4079
|
+
(T(!0), b(_, null, D(Q.value, (e, n) => (T(), b("g", {
|
|
4072
4080
|
key: `serie_line_above_${e.id}`,
|
|
4073
|
-
class:
|
|
4074
|
-
style:
|
|
4081
|
+
class: lt(`serie_line_${n}`),
|
|
4082
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4075
4083
|
}, [
|
|
4076
|
-
e.useArea && e.plots.length > 1 ? (
|
|
4084
|
+
e.useArea && e.plots.length > 1 ? (T(), b("g", Nn, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.curveAreas, (r, i) => (T(), b(_, { key: i }, [r ? (T(), b("path", {
|
|
4077
4085
|
key: 0,
|
|
4078
4086
|
d: r,
|
|
4079
|
-
fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(
|
|
4080
|
-
style:
|
|
4081
|
-
}, null, 12, Pn)) :
|
|
4087
|
+
fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
|
|
4088
|
+
style: w({ transition: Gc() })
|
|
4089
|
+
}, null, 12, Pn)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
|
|
4082
4090
|
key: 1,
|
|
4083
4091
|
d: r,
|
|
4084
4092
|
fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
|
|
4085
|
-
style:
|
|
4086
|
-
}, null, 12, Fn)) :
|
|
4093
|
+
style: w({ transition: Gc() })
|
|
4094
|
+
}, null, 12, Fn)) : y("", !0)], 64))), 128)) : (T(!0), b(_, { key: 1 }, D(e.area.split(";"), (r, i) => (T(), b(_, { key: i }, [r ? (T(), b("path", {
|
|
4087
4095
|
key: 0,
|
|
4088
4096
|
d: `M${r}Z`,
|
|
4089
|
-
fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(
|
|
4090
|
-
style:
|
|
4091
|
-
}, null, 12, In)) :
|
|
4097
|
+
fill: V.value.line.area.useGradient ? `url(#areaGradient_${n}_${F.value})` : A(je)(e.color, V.value.line.area.opacity),
|
|
4098
|
+
style: w({ transition: Gc() })
|
|
4099
|
+
}, null, 12, In)) : y("", !0), t.$slots.pattern && r ? (T(), b("path", {
|
|
4092
4100
|
key: 1,
|
|
4093
4101
|
d: `M${r}Z`,
|
|
4094
4102
|
fill: `url(#pattern_${F.value}_${e.slotAbsoluteIndex})`,
|
|
4095
|
-
style:
|
|
4096
|
-
}, null, 12, Ln)) :
|
|
4097
|
-
!e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (
|
|
4103
|
+
style: w({ transition: Gc() })
|
|
4104
|
+
}, null, 12, Ln)) : y("", !0)], 64))), 128))])) : y("", !0),
|
|
4105
|
+
!e.hasDashedSegments && e.smooth && e.plots.length > 1 && e.curve ? (T(), b("path", {
|
|
4098
4106
|
key: 1,
|
|
4099
4107
|
d: `M${e.curve}`,
|
|
4100
4108
|
stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
|
|
@@ -4102,8 +4110,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4102
4110
|
"stroke-dasharray": e.dashed ? V.value.line.strokeWidth * 2 : 0,
|
|
4103
4111
|
fill: "none",
|
|
4104
4112
|
"stroke-linecap": "round",
|
|
4105
|
-
style:
|
|
4106
|
-
}, null, 12, Rn)) : e.hasDashedSegments ? (
|
|
4113
|
+
style: w({ transition: Gc() })
|
|
4114
|
+
}, null, 12, Rn)) : e.hasDashedSegments ? (T(), b(_, { key: 2 }, [e.smooth ? (T(!0), b(_, { key: 0 }, D(e.dashedSmooth, (t, r) => (T(), b("path", {
|
|
4107
4115
|
key: `line_smooth_segment_${e.id}_${r}`,
|
|
4108
4116
|
fill: "none",
|
|
4109
4117
|
"stroke-linecap": "round",
|
|
@@ -4112,8 +4120,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4112
4120
|
stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
|
|
4113
4121
|
"stroke-width": V.value.line.strokeWidth,
|
|
4114
4122
|
"stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
|
|
4115
|
-
style:
|
|
4116
|
-
}, null, 12, zn))), 128)) : (
|
|
4123
|
+
style: w({ transition: Gc() })
|
|
4124
|
+
}, null, 12, zn))), 128)) : (T(!0), b(_, { key: 1 }, D(e.dashedStraight, (t, r) => (T(), b("path", {
|
|
4117
4125
|
key: `line_straight_segment_${e.id}_${r}`,
|
|
4118
4126
|
fill: "none",
|
|
4119
4127
|
"stroke-linecap": "round",
|
|
@@ -4122,8 +4130,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4122
4130
|
stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
|
|
4123
4131
|
"stroke-width": V.value.line.strokeWidth,
|
|
4124
4132
|
"stroke-dasharray": t.dashed ? V.value.line.strokeWidth * 2 : 0,
|
|
4125
|
-
style:
|
|
4126
|
-
}, null, 12, Bn))), 128))], 64)) : e.plots.length > 1 && e.straight ? (
|
|
4133
|
+
style: w({ transition: Gc() })
|
|
4134
|
+
}, null, 12, Bn))), 128))], 64)) : e.plots.length > 1 && e.straight ? (T(), b("path", {
|
|
4127
4135
|
key: 3,
|
|
4128
4136
|
d: `M${e.straight}`,
|
|
4129
4137
|
stroke: e.temperatureColors && !e.isFlatTemperatureLine ? `url(#temperature_grad_line_${n}_${F.value})` : e.color,
|
|
@@ -4132,9 +4140,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4132
4140
|
fill: "none",
|
|
4133
4141
|
"stroke-linecap": "round",
|
|
4134
4142
|
"stroke-linejoin": "round",
|
|
4135
|
-
style:
|
|
4136
|
-
}, null, 12, Vn)) :
|
|
4137
|
-
(
|
|
4143
|
+
style: w({ transition: Gc() })
|
|
4144
|
+
}, null, 12, Vn)) : y("", !0),
|
|
4145
|
+
(T(!0), b(_, null, D(e.plots, (r, i) => (T(), b(_, { key: `circle_line_${e.id}_${i}` }, [!nc.value.linePlot && r && A(bt)(r.value) || nc.value.linePlot && r && A(bt)(r.value) && (R.value !== null && R.value === i || I.value !== null && I.value === i) || zc(e.plots, i) ? (T(), tt(qe, {
|
|
4138
4146
|
key: 0,
|
|
4139
4147
|
shape: [
|
|
4140
4148
|
"triangle",
|
|
@@ -4146,8 +4154,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4146
4154
|
].includes(e.shape) ? e.shape : "circle",
|
|
4147
4155
|
color: V.value.line.useGradient ? `url(#lineGradient_${n}_${F.value})` : V.value.line.dot.useSerieColor ? e.color : V.value.line.dot.fill,
|
|
4148
4156
|
plot: {
|
|
4149
|
-
x: A(
|
|
4150
|
-
y: A(
|
|
4157
|
+
x: A(g)(r.x),
|
|
4158
|
+
y: A(g)(r.y)
|
|
4151
4159
|
},
|
|
4152
4160
|
radius: uu(e, r, i) ? ka.value || 0 : (zc(e.plots, i), Oa.value.line || 0),
|
|
4153
4161
|
stroke: V.value.line.dot.useSerieColor ? V.value.chart.backgroundColor : e.color,
|
|
@@ -4163,21 +4171,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4163
4171
|
"strokeWidth",
|
|
4164
4172
|
"transition",
|
|
4165
4173
|
"still"
|
|
4166
|
-
])) :
|
|
4174
|
+
])) : y("", !0), r.comment && V.value.chart.comments.show ? (T(), b("foreignObject", {
|
|
4167
4175
|
key: 1,
|
|
4168
4176
|
style: { overflow: "visible" },
|
|
4169
4177
|
height: "12",
|
|
4170
4178
|
width: V.value.chart.comments.width,
|
|
4171
4179
|
x: r.x - V.value.chart.comments.width / 2 + V.value.chart.comments.offsetX,
|
|
4172
4180
|
y: r.y + V.value.chart.comments.offsetY + 6
|
|
4173
|
-
}, [
|
|
4181
|
+
}, [x("div", Un, [O(t.$slots, "plot-comment", { plot: {
|
|
4174
4182
|
...r,
|
|
4175
4183
|
color: e.color,
|
|
4176
4184
|
seriesIndex: n,
|
|
4177
4185
|
datapointIndex: i
|
|
4178
|
-
} }, void 0, !0)])], 8, Hn)) :
|
|
4186
|
+
} }, void 0, !0)])], 8, Hn)) : y("", !0)], 64))), 128))
|
|
4179
4187
|
], 6))), 128)),
|
|
4180
|
-
(V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (
|
|
4188
|
+
(V.value.bar.labels.show || V.value.bar.serieName.show) && H.value.dataLabels.show ? (T(), b("g", Wn, [(T(!0), b(_, null, D(pu.value, (e) => (T(), b("text", {
|
|
4181
4189
|
key: e.key,
|
|
4182
4190
|
"text-anchor": iu({
|
|
4183
4191
|
plot: e.plot,
|
|
@@ -4188,13 +4196,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4188
4196
|
fill: V.value.bar.labels.color,
|
|
4189
4197
|
stroke: V.value.chart.backgroundColor,
|
|
4190
4198
|
"paint-order": "stroke",
|
|
4191
|
-
style:
|
|
4199
|
+
style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
|
|
4192
4200
|
innerHTML: tu({
|
|
4193
4201
|
serie: e.serie,
|
|
4194
4202
|
plot: e.plot,
|
|
4195
4203
|
type: "bar"
|
|
4196
4204
|
})
|
|
4197
|
-
}, null, 12, Gn))), 128)), (
|
|
4205
|
+
}, null, 12, Gn))), 128)), (T(!0), b(_, null, D(dl.value, (e, t) => (T(), b(_, { key: `xLabel_bar_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_bar_${t}_${r}` }, [n && V.value.bar.serieName.show ? (T(), b("text", {
|
|
4198
4206
|
key: 0,
|
|
4199
4207
|
x: H.value.useIndividualScale && H.value.isStacked ? n.x + ks.value.line / 2 : n.x + As() * 1.1,
|
|
4200
4208
|
y: n.y + (n.value > 0 ? V.value.bar.serieName.offsetY : -V.value.bar.serieName.offsetY * 3),
|
|
@@ -4202,12 +4210,12 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4202
4210
|
"font-size": B.value.plotLabels,
|
|
4203
4211
|
fill: V.value.bar.serieName.useSerieColor ? e.color : V.value.bar.serieName.color,
|
|
4204
4212
|
"font-weight": V.value.bar.serieName.bold ? "bold" : "normal",
|
|
4205
|
-
style:
|
|
4206
|
-
},
|
|
4213
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4214
|
+
}, k(V.value.bar.serieName.useAbbreviation ? A(Se)({
|
|
4207
4215
|
source: e.name,
|
|
4208
4216
|
length: V.value.bar.serieName.abbreviationSize
|
|
4209
|
-
}) : e.name), 13, Kn)) :
|
|
4210
|
-
V.value.plot.labels.show && H.value.dataLabels.show ? (
|
|
4217
|
+
}) : e.name), 13, Kn)) : y("", !0)], 64))), 128))], 64))), 128))])) : y("", !0),
|
|
4218
|
+
V.value.plot.labels.show && H.value.dataLabels.show ? (T(), b("g", qn, [(T(!0), b(_, null, D(mu.value, (e) => (T(), b("text", {
|
|
4211
4219
|
key: e.key,
|
|
4212
4220
|
transform: ru({
|
|
4213
4221
|
plot: e.plot,
|
|
@@ -4221,17 +4229,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4221
4229
|
fill: V.value.plot.labels.color,
|
|
4222
4230
|
stroke: V.value.chart.backgroundColor,
|
|
4223
4231
|
"paint-order": "stroke",
|
|
4224
|
-
style:
|
|
4232
|
+
style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
|
|
4225
4233
|
innerHTML: tu({
|
|
4226
4234
|
serie: e.serie,
|
|
4227
4235
|
plot: e.plot,
|
|
4228
4236
|
type: "plot"
|
|
4229
4237
|
})
|
|
4230
|
-
}, null, 12, Jn))), 128))])) : (
|
|
4238
|
+
}, null, 12, Jn))), 128))])) : (T(), b("g", Yn, [(T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `xLabel_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_plot_${t}_${r}` }, [V.value.plot.tag.followValue ? (T(), b(_, { key: 1 }, [[
|
|
4231
4239
|
I.value,
|
|
4232
4240
|
R.value,
|
|
4233
4241
|
Wi.value
|
|
4234
|
-
].includes(r) && e.useTag ? (
|
|
4242
|
+
].includes(r) && e.useTag ? (T(), b("line", {
|
|
4235
4243
|
key: 0,
|
|
4236
4244
|
class: "vue-ui-xy-tag-plot",
|
|
4237
4245
|
x1: J.value?.left,
|
|
@@ -4242,36 +4250,36 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4242
4250
|
"stroke-linecap": "round",
|
|
4243
4251
|
"stroke-dasharray": "2",
|
|
4244
4252
|
stroke: e.color
|
|
4245
|
-
}, null, 8, er)) :
|
|
4253
|
+
}, null, 8, er)) : y("", !0)], 64)) : (T(), b(_, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (T(), b("foreignObject", {
|
|
4246
4254
|
key: 0,
|
|
4247
4255
|
x: n.x,
|
|
4248
4256
|
y: n.y - 20,
|
|
4249
4257
|
height: 24,
|
|
4250
4258
|
width: "150",
|
|
4251
|
-
style:
|
|
4252
|
-
}, [
|
|
4253
|
-
style:
|
|
4259
|
+
style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4260
|
+
}, [x("div", {
|
|
4261
|
+
style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
|
|
4254
4262
|
innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
|
|
4255
4263
|
datapoint: n,
|
|
4256
4264
|
seriesIndex: r,
|
|
4257
4265
|
serieName: e.name
|
|
4258
4266
|
})
|
|
4259
|
-
}, null, 12, Zn)], 12, Xn)) :
|
|
4267
|
+
}, null, 12, Zn)], 12, Xn)) : y("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (T(), b("foreignObject", {
|
|
4260
4268
|
key: 1,
|
|
4261
4269
|
x: n.x - e.name.length * (B.value.plotLabels / 2),
|
|
4262
4270
|
y: n.y - 20,
|
|
4263
4271
|
height: 24,
|
|
4264
4272
|
width: "150",
|
|
4265
|
-
style:
|
|
4266
|
-
}, [
|
|
4267
|
-
style:
|
|
4273
|
+
style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4274
|
+
}, [x("div", {
|
|
4275
|
+
style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
|
|
4268
4276
|
innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
|
|
4269
4277
|
datapoint: n,
|
|
4270
4278
|
seriesIndex: r,
|
|
4271
4279
|
serieName: e.name
|
|
4272
4280
|
})
|
|
4273
|
-
}, null, 12, $n)], 12, Qn)) :
|
|
4274
|
-
V.value.line.labels.show && H.value.dataLabels.show ? (
|
|
4281
|
+
}, null, 12, $n)], 12, Qn)) : y("", !0)], 64))], 64))), 128))], 64))), 128))])),
|
|
4282
|
+
V.value.line.labels.show && H.value.dataLabels.show ? (T(), b("g", tr, [(T(!0), b(_, null, D(hu.value, (e) => (T(), b("text", {
|
|
4275
4283
|
key: e.key,
|
|
4276
4284
|
transform: ru({
|
|
4277
4285
|
plot: e.plot,
|
|
@@ -4285,17 +4293,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4285
4293
|
fill: V.value.line.labels.color,
|
|
4286
4294
|
stroke: V.value.chart.backgroundColor,
|
|
4287
4295
|
"paint-order": "stroke",
|
|
4288
|
-
style:
|
|
4296
|
+
style: w(`opacity:${N.value ? N.value === e.serie.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`),
|
|
4289
4297
|
innerHTML: tu({
|
|
4290
4298
|
serie: e.serie,
|
|
4291
4299
|
plot: e.plot,
|
|
4292
4300
|
type: "line"
|
|
4293
4301
|
})
|
|
4294
|
-
}, null, 12, nr))), 128))])) : (
|
|
4302
|
+
}, null, 12, nr))), 128))])) : (T(), b("g", rr, [(T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `xLabel_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_line_${t}_${r}` }, [V.value.line.tag.followValue ? (T(), b(_, { key: 1 }, [[
|
|
4295
4303
|
I.value,
|
|
4296
4304
|
R.value,
|
|
4297
4305
|
Wi.value
|
|
4298
|
-
].includes(r) && e.useTag ? (
|
|
4306
|
+
].includes(r) && e.useTag ? (T(), b("line", {
|
|
4299
4307
|
key: 0,
|
|
4300
4308
|
class: "vue-ui-xy-tag-line",
|
|
4301
4309
|
x1: J.value?.left,
|
|
@@ -4306,43 +4314,43 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4306
4314
|
"stroke-linecap": "round",
|
|
4307
4315
|
"stroke-dasharray": "2",
|
|
4308
4316
|
stroke: e.color
|
|
4309
|
-
}, null, 8, cr)) :
|
|
4317
|
+
}, null, 8, cr)) : y("", !0)], 64)) : (T(), b(_, { key: 0 }, [n && r === 0 && e.useTag && e.useTag === "start" ? (T(), b("foreignObject", {
|
|
4310
4318
|
key: 0,
|
|
4311
4319
|
x: n.x,
|
|
4312
4320
|
y: n.y - 20,
|
|
4313
4321
|
height: 24,
|
|
4314
4322
|
width: "150",
|
|
4315
|
-
style:
|
|
4316
|
-
}, [
|
|
4317
|
-
style:
|
|
4323
|
+
style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4324
|
+
}, [x("div", {
|
|
4325
|
+
style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
|
|
4318
4326
|
innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
|
|
4319
4327
|
datapoint: n,
|
|
4320
4328
|
seriesIndex: r,
|
|
4321
4329
|
serieName: e.name
|
|
4322
4330
|
})
|
|
4323
|
-
}, null, 12, ar)], 12, ir)) :
|
|
4331
|
+
}, null, 12, ar)], 12, ir)) : y("", !0), n && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (T(), b("foreignObject", {
|
|
4324
4332
|
key: 1,
|
|
4325
4333
|
x: n.x,
|
|
4326
4334
|
y: n.y - 20,
|
|
4327
4335
|
height: 24,
|
|
4328
4336
|
width: "150",
|
|
4329
|
-
style:
|
|
4330
|
-
}, [
|
|
4331
|
-
style:
|
|
4337
|
+
style: w(`overflow: visible; opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4338
|
+
}, [x("div", {
|
|
4339
|
+
style: w(`padding: 3px; background:${A(je)(e.color, 80)};color:${A(we)(e.color)};width:fit-content;font-size:${B.value.plotLabels}px;border-radius: 2px;`),
|
|
4332
4340
|
innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
|
|
4333
4341
|
datapoint: n,
|
|
4334
4342
|
seriesIndex: r,
|
|
4335
4343
|
serieName: e.name
|
|
4336
4344
|
})
|
|
4337
|
-
}, null, 12, sr)], 12, or)) :
|
|
4338
|
-
(
|
|
4345
|
+
}, null, 12, sr)], 12, or)) : y("", !0)], 64))], 64))), 128))], 64))), 128))])),
|
|
4346
|
+
(T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `xLabel_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_line_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (T(), b("text", {
|
|
4339
4347
|
key: 0,
|
|
4340
4348
|
x: n.x - B.value.plotLabels,
|
|
4341
4349
|
y: n.y,
|
|
4342
4350
|
"font-size": B.value.plotLabels,
|
|
4343
4351
|
"text-anchor": "end",
|
|
4344
4352
|
fill: e.color,
|
|
4345
|
-
innerHTML: A(
|
|
4353
|
+
innerHTML: A(le)({
|
|
4346
4354
|
content: e.name,
|
|
4347
4355
|
fontSize: B.value.plotLabels,
|
|
4348
4356
|
fill: e.color,
|
|
@@ -4350,15 +4358,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4350
4358
|
y: n.y,
|
|
4351
4359
|
maxWords: 2
|
|
4352
4360
|
}),
|
|
4353
|
-
style:
|
|
4354
|
-
}, null, 12, lr)) :
|
|
4361
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4362
|
+
}, null, 12, lr)) : y("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (T(), b("text", {
|
|
4355
4363
|
key: 1,
|
|
4356
4364
|
x: n.x + B.value.plotLabels,
|
|
4357
4365
|
y: n.y,
|
|
4358
4366
|
"font-size": B.value.plotLabels,
|
|
4359
4367
|
"text-anchor": "start",
|
|
4360
4368
|
fill: e.color,
|
|
4361
|
-
innerHTML: A(
|
|
4369
|
+
innerHTML: A(le)({
|
|
4362
4370
|
content: e.name,
|
|
4363
4371
|
fontSize: B.value.plotLabels,
|
|
4364
4372
|
fill: e.color,
|
|
@@ -4366,16 +4374,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4366
4374
|
y: n.y,
|
|
4367
4375
|
maxWords: 2
|
|
4368
4376
|
}),
|
|
4369
|
-
style:
|
|
4370
|
-
}, null, 12, ur)) :
|
|
4371
|
-
(
|
|
4377
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4378
|
+
}, null, 12, ur)) : y("", !0)], 64))), 128))], 64))), 128)),
|
|
4379
|
+
(T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `xLabel_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `xLabel_plot_${t}_${r}` }, [n && r === 0 && e.showSerieName && e.showSerieName === "start" ? (T(), b("text", {
|
|
4372
4380
|
key: 0,
|
|
4373
4381
|
x: n.x - B.value.plotLabels,
|
|
4374
4382
|
y: n.y,
|
|
4375
4383
|
"font-size": B.value.plotLabels,
|
|
4376
4384
|
"text-anchor": "end",
|
|
4377
4385
|
fill: e.color,
|
|
4378
|
-
innerHTML: A(
|
|
4386
|
+
innerHTML: A(le)({
|
|
4379
4387
|
content: e.name,
|
|
4380
4388
|
fontSize: B.value.plotLabels,
|
|
4381
4389
|
fill: e.color,
|
|
@@ -4383,15 +4391,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4383
4391
|
y: n.y,
|
|
4384
4392
|
maxWords: 2
|
|
4385
4393
|
}),
|
|
4386
|
-
style:
|
|
4387
|
-
}, null, 12, dr)) :
|
|
4394
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4395
|
+
}, null, 12, dr)) : y("", !0), n && r === e.plots.length - 1 && e.showSerieName && e.showSerieName === "end" ? (T(), b("text", {
|
|
4388
4396
|
key: 1,
|
|
4389
4397
|
x: n.x + B.value.plotLabels,
|
|
4390
4398
|
y: n.y,
|
|
4391
4399
|
"font-size": B.value.plotLabels,
|
|
4392
4400
|
"text-anchor": "start",
|
|
4393
4401
|
fill: e.color,
|
|
4394
|
-
innerHTML: A(
|
|
4402
|
+
innerHTML: A(le)({
|
|
4395
4403
|
content: e.name,
|
|
4396
4404
|
fontSize: B.value.plotLabels,
|
|
4397
4405
|
fill: e.color,
|
|
@@ -4399,14 +4407,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4399
4407
|
y: n.y,
|
|
4400
4408
|
maxWords: 2
|
|
4401
4409
|
}),
|
|
4402
|
-
style:
|
|
4403
|
-
}, null, 12, fr)) :
|
|
4404
|
-
(
|
|
4410
|
+
style: w(`opacity:${N.value ? N.value === e.groupId ? 1 : .2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
4411
|
+
}, null, 12, fr)) : y("", !0)], 64))), 128))], 64))), 128)),
|
|
4412
|
+
(T(!0), b(_, null, D([
|
|
4405
4413
|
...$.value,
|
|
4406
4414
|
...Q.value,
|
|
4407
4415
|
...dl.value
|
|
4408
|
-
], (e, t) => (
|
|
4409
|
-
|
|
4416
|
+
], (e, t) => (T(), b(_, { key: `progression-${t}` }, [Object.hasOwn(e, "useProgression") && e.useProgression === !0 && !isNaN(A(Ee)(e.plots).trend) ? (T(), b("g", pr, [
|
|
4417
|
+
x("defs", null, [x("marker", {
|
|
4410
4418
|
id: `progression_arrow_${t}`,
|
|
4411
4419
|
markerWidth: "9",
|
|
4412
4420
|
markerHeight: "9",
|
|
@@ -4416,44 +4424,44 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4416
4424
|
refY: 7 / 2,
|
|
4417
4425
|
orient: "auto",
|
|
4418
4426
|
overflow: "visible"
|
|
4419
|
-
}, [
|
|
4427
|
+
}, [x("polygon", {
|
|
4420
4428
|
points: "0,0 7,3.5 0,7",
|
|
4421
4429
|
fill: e.color,
|
|
4422
4430
|
stroke: V.value.chart.backgroundColor,
|
|
4423
4431
|
"stroke-width": "1",
|
|
4424
4432
|
"stroke-linejoin": "round"
|
|
4425
4433
|
}, null, 8, hr)], 8, mr)]),
|
|
4426
|
-
e.plots.length > 1 ? (
|
|
4434
|
+
e.plots.length > 1 ? (T(), b("line", {
|
|
4427
4435
|
key: 0,
|
|
4428
|
-
x1: A(
|
|
4429
|
-
x2: A(
|
|
4430
|
-
y1: A(
|
|
4431
|
-
y2: A(
|
|
4436
|
+
x1: A(Ee)(e.plots).x1 + (e.type === "bar" ? As() : 0),
|
|
4437
|
+
x2: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
|
|
4438
|
+
y1: A(m)(A(Ee)(e.plots).y1),
|
|
4439
|
+
y2: A(m)(A(Ee)(e.plots).y2),
|
|
4432
4440
|
"stroke-width": 1,
|
|
4433
4441
|
stroke: V.value.chart.backgroundColor,
|
|
4434
4442
|
"stroke-dasharray": 2,
|
|
4435
4443
|
"stroke-linecap": "round",
|
|
4436
4444
|
"stroke-linejoin": "round",
|
|
4437
4445
|
"marker-end": `url(#progression_arrow_${t})`
|
|
4438
|
-
}, null, 8, gr)) :
|
|
4439
|
-
e.plots.length > 1 ? (
|
|
4446
|
+
}, null, 8, gr)) : y("", !0),
|
|
4447
|
+
e.plots.length > 1 ? (T(), b("line", {
|
|
4440
4448
|
key: 1,
|
|
4441
|
-
x1: A(
|
|
4442
|
-
x2: A(
|
|
4443
|
-
y1: A(
|
|
4444
|
-
y2: A(
|
|
4449
|
+
x1: A(Ee)(e.plots).x1 + (e.type === "bar" ? As() : 0),
|
|
4450
|
+
x2: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
|
|
4451
|
+
y1: A(m)(A(Ee)(e.plots).y1),
|
|
4452
|
+
y2: A(m)(A(Ee)(e.plots).y2),
|
|
4445
4453
|
"stroke-width": 1,
|
|
4446
4454
|
stroke: e.color,
|
|
4447
4455
|
"stroke-dasharray": 2,
|
|
4448
4456
|
"stroke-linecap": "round",
|
|
4449
4457
|
"stroke-linejoin": "round",
|
|
4450
4458
|
"marker-end": `url(#progression_arrow_${t})`
|
|
4451
|
-
}, null, 8, _r)) :
|
|
4452
|
-
e.plots.length > 1 ? (
|
|
4459
|
+
}, null, 8, _r)) : y("", !0),
|
|
4460
|
+
e.plots.length > 1 ? (T(), b("text", {
|
|
4453
4461
|
key: 2,
|
|
4454
4462
|
"text-anchor": "middle",
|
|
4455
|
-
x: A(
|
|
4456
|
-
y: A(
|
|
4463
|
+
x: A(Ee)(e.plots).x2 + (e.type === "bar" ? As() : 0),
|
|
4464
|
+
y: A(Ee)(e.plots).y2 - 12,
|
|
4457
4465
|
"font-size": B.value.plotLabels,
|
|
4458
4466
|
fill: e.color,
|
|
4459
4467
|
stroke: V.value.chart.backgroundColor,
|
|
@@ -4461,13 +4469,13 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4461
4469
|
"stroke-linecap": "round",
|
|
4462
4470
|
"stroke-linejoin": "round",
|
|
4463
4471
|
"paint-order": "stroke fill"
|
|
4464
|
-
},
|
|
4465
|
-
v: A(
|
|
4472
|
+
}, k(A(p)({
|
|
4473
|
+
v: A(Ee)(e.plots).trend * 100,
|
|
4466
4474
|
s: "%",
|
|
4467
4475
|
r: 2
|
|
4468
|
-
})), 9, vr)) :
|
|
4469
|
-
])) :
|
|
4470
|
-
H.value.useIndividualScale && !H.value.isStacked ? (
|
|
4476
|
+
})), 9, vr)) : y("", !0)
|
|
4477
|
+
])) : y("", !0)], 64))), 128)),
|
|
4478
|
+
H.value.useIndividualScale && !H.value.isStacked ? (T(), b(_, { key: 16 }, [x("defs", null, [(T(!0), b(_, null, D(pl.value, (e, t) => (T(), tt(Ye, {
|
|
4471
4479
|
t: "linear",
|
|
4472
4480
|
key: `individual_scale_gradient_${e.groupId || e.id || t}`,
|
|
4473
4481
|
id: `individual_scale_gradient_${F.value}_${t}`,
|
|
@@ -4489,7 +4497,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4489
4497
|
"x1",
|
|
4490
4498
|
"x2",
|
|
4491
4499
|
"stops"
|
|
4492
|
-
]))), 128))]), (
|
|
4500
|
+
]))), 128))]), (T(!0), b(_, null, D(pl.value, (e, t) => (T(), b("rect", {
|
|
4493
4501
|
key: `individual_scale_background_${e.groupId || e.id || t}`,
|
|
4494
4502
|
x: q.value ? e.x : e.x - V.value.chart.grid.labels.yAxis.labelWidth - J.value.individualOffsetX,
|
|
4495
4503
|
y: J.value?.top,
|
|
@@ -4498,8 +4506,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4498
4506
|
fill: N.value === e.groupId ? `url(#individual_scale_gradient_${F.value}_${t})` : "transparent",
|
|
4499
4507
|
onMouseenter: (t) => N.value = e.groupId,
|
|
4500
4508
|
onMouseleave: n[0] ||= (e) => N.value = null
|
|
4501
|
-
}, null, 40, yr))), 128))], 64)) :
|
|
4502
|
-
|
|
4509
|
+
}, null, 40, yr))), 128))], 64)) : y("", !0),
|
|
4510
|
+
x("g", null, [V.value.chart.grid.labels.axis.yLabel && !H.value.useIndividualScale ? (T(), b("text", {
|
|
4503
4511
|
key: 0,
|
|
4504
4512
|
ref_key: "yAxisLabel",
|
|
4505
4513
|
ref: ki,
|
|
@@ -4508,7 +4516,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4508
4516
|
transform: `translate(${q.value ? J.value.right + J.value.scaleLabelsOffset + V.value.chart.grid.labels.axis.yLabelOffsetX + B.value.yAxis : V.value.chart.grid.labels.axis.fontSize + V.value.chart.grid.labels.axis.yLabelOffsetX}, ${J.value?.top + J.value.height / 2}) rotate(-90)`,
|
|
4509
4517
|
"text-anchor": "middle",
|
|
4510
4518
|
style: { transition: "none" }
|
|
4511
|
-
},
|
|
4519
|
+
}, k(V.value.chart.grid.labels.axis.yLabel), 9, br)) : y("", !0), V.value.chart.grid.labels.axis.xLabel ? (T(), b("text", {
|
|
4512
4520
|
key: 1,
|
|
4513
4521
|
ref_key: "xAxisLabel",
|
|
4514
4522
|
ref: Oi,
|
|
@@ -4517,14 +4525,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4517
4525
|
y: Li.value - 3,
|
|
4518
4526
|
"font-size": B.value.yAxis,
|
|
4519
4527
|
fill: V.value.chart.grid.labels.color
|
|
4520
|
-
},
|
|
4521
|
-
V.value.chart.grid.labels.xAxisLabels.show ? (
|
|
4528
|
+
}, k(V.value.chart.grid.labels.axis.xLabel), 9, xr)) : y("", !0)]),
|
|
4529
|
+
V.value.chart.grid.labels.xAxisLabels.show ? (T(), b("g", {
|
|
4522
4530
|
key: 17,
|
|
4523
4531
|
ref_key: "timeLabelsEls",
|
|
4524
4532
|
ref: Ai,
|
|
4525
4533
|
opacity: ou.value ? .1 : 1,
|
|
4526
4534
|
style: { transition: "opacity 0.2s" }
|
|
4527
|
-
}, [t.$slots["time-label"] ? (
|
|
4535
|
+
}, [t.$slots["time-label"] ? (T(!0), b(_, { key: 0 }, D(Jc.value, (e, n) => O(t.$slots, "time-label", st({
|
|
4528
4536
|
key: `time_label_${e.id}`,
|
|
4529
4537
|
ref_for: !0
|
|
4530
4538
|
}, {
|
|
@@ -4537,15 +4545,15 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4537
4545
|
content: e.text,
|
|
4538
4546
|
textAnchor: V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
4539
4547
|
show: e && e.text
|
|
4540
|
-
}), void 0, !0)), 128)) : (
|
|
4548
|
+
}), void 0, !0)), 128)) : (T(!0), b(_, { key: 1 }, D(Jc.value, (e, t) => (T(), b("g", { key: `time_label_${t}` }, [e && e.text ? (T(), b(_, { key: 0 }, [String(e.text).includes("\n") ? (T(), b("text", {
|
|
4541
4549
|
key: 1,
|
|
4542
4550
|
class: "vue-data-ui-time-label",
|
|
4543
4551
|
"text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
4544
4552
|
"font-size": B.value.xAxis,
|
|
4545
4553
|
fill: V.value.chart.grid.labels.xAxisLabels.color,
|
|
4546
4554
|
transform: `translate(${Yc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
4547
|
-
style:
|
|
4548
|
-
innerHTML: A(
|
|
4555
|
+
style: w({ cursor: Mo() && Na.value ? "pointer" : "default" }),
|
|
4556
|
+
innerHTML: A(de)({
|
|
4549
4557
|
content: String(e.text),
|
|
4550
4558
|
fontSize: B.value.xAxis,
|
|
4551
4559
|
fill: V.value.chart.grid.labels.xAxisLabels.color,
|
|
@@ -4553,17 +4561,17 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4553
4561
|
y: 0
|
|
4554
4562
|
}),
|
|
4555
4563
|
onClick: (n) => qo(e, t)
|
|
4556
|
-
}, null, 12, wr)) : (
|
|
4564
|
+
}, null, 12, wr)) : (T(), b("text", {
|
|
4557
4565
|
key: 0,
|
|
4558
4566
|
class: "vue-data-ui-time-label",
|
|
4559
4567
|
"text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
4560
4568
|
"font-size": B.value.xAxis,
|
|
4561
4569
|
fill: V.value.chart.grid.labels.xAxisLabels.color,
|
|
4562
4570
|
transform: `translate(${Yc(e, t)}, ${J.value?.bottom + B.value.xAxis * 1.5}), rotate(${V.value.chart.grid.labels.xAxisLabels.rotation})`,
|
|
4563
|
-
style:
|
|
4571
|
+
style: w({ cursor: Mo() && Na.value ? "pointer" : "default" }),
|
|
4564
4572
|
onClick: (n) => qo(e, t)
|
|
4565
|
-
},
|
|
4566
|
-
cu.value ? (
|
|
4573
|
+
}, k(e.text || ""), 13, Cr))], 64)) : y("", !0)]))), 128))], 8, Sr)) : y("", !0),
|
|
4574
|
+
cu.value ? (T(), b("g", Tr, [x("text", {
|
|
4567
4575
|
class: "vue-data-ui-time-label",
|
|
4568
4576
|
"text-anchor": V.value.chart.grid.labels.xAxisLabels.rotation > 0 ? "start" : V.value.chart.grid.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
|
|
4569
4577
|
"font-size": B.value.xAxis,
|
|
@@ -4575,16 +4583,16 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4575
4583
|
animation: "none !important",
|
|
4576
4584
|
"pointer-events": "none"
|
|
4577
4585
|
},
|
|
4578
|
-
innerHTML: A(
|
|
4586
|
+
innerHTML: A(de)({
|
|
4579
4587
|
content: String(cu.value.text),
|
|
4580
4588
|
fontSize: B.value.xAxis,
|
|
4581
4589
|
fill: V.value.chart.grid.labels.xAxisLabels.color,
|
|
4582
4590
|
x: 0,
|
|
4583
4591
|
y: 0
|
|
4584
4592
|
})
|
|
4585
|
-
}, null, 8, Er)])) :
|
|
4586
|
-
Rc.value.length && !H.value.isStacked ? (
|
|
4587
|
-
e.yTop && e.show && isFinite(e.yTop) ? (
|
|
4593
|
+
}, null, 8, Er)])) : y("", !0),
|
|
4594
|
+
Rc.value.length && !H.value.isStacked ? (T(), b("g", Dr, [(T(!0), b(_, null, D(Rc.value, (e) => (T(), b("g", { key: e.id }, [
|
|
4595
|
+
e.yTop && e.show && isFinite(e.yTop) ? (T(), b("line", {
|
|
4588
4596
|
key: 0,
|
|
4589
4597
|
x1: e.x1,
|
|
4590
4598
|
y1: e.yTop,
|
|
@@ -4595,8 +4603,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4595
4603
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
4596
4604
|
"stroke-linecap": "round",
|
|
4597
4605
|
style: { animation: "none !important" }
|
|
4598
|
-
}, null, 8, Or)) :
|
|
4599
|
-
e.yBottom && e.show && isFinite(e.yBottom) ? (
|
|
4606
|
+
}, null, 8, Or)) : y("", !0),
|
|
4607
|
+
e.yBottom && e.show && isFinite(e.yBottom) ? (T(), b("line", {
|
|
4600
4608
|
key: 1,
|
|
4601
4609
|
x1: e.x1,
|
|
4602
4610
|
y1: e.yBottom,
|
|
@@ -4607,24 +4615,24 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4607
4615
|
"stroke-dasharray": e.config.line.strokeDasharray,
|
|
4608
4616
|
"stroke-linecap": "round",
|
|
4609
4617
|
style: { animation: "none !important" }
|
|
4610
|
-
}, null, 8, kr)) :
|
|
4611
|
-
e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (
|
|
4618
|
+
}, null, 8, kr)) : y("", !0),
|
|
4619
|
+
e.hasArea && e.show && isFinite(e.yTop) && isFinite(e.yBottom) ? (T(), b("rect", {
|
|
4612
4620
|
key: 2,
|
|
4613
4621
|
y: Math.min(e.yTop, e.yBottom),
|
|
4614
4622
|
x: e.x1,
|
|
4615
4623
|
width: J.value.width,
|
|
4616
|
-
height: A(
|
|
4617
|
-
fill: A(
|
|
4624
|
+
height: A(g)(e.areaHeight, 0),
|
|
4625
|
+
fill: A(je)(e.config.area.fill, e.config.area.opacity),
|
|
4618
4626
|
style: { animation: "none !important" }
|
|
4619
|
-
}, null, 8, Ar)) :
|
|
4620
|
-
e.config.label.text && e.show && isFinite(e._box.y) ? (
|
|
4627
|
+
}, null, 8, Ar)) : y("", !0),
|
|
4628
|
+
e.config.label.text && e.show && isFinite(e._box.y) ? (T(), b("rect", st({
|
|
4621
4629
|
key: 3,
|
|
4622
4630
|
class: "vue-ui-xy-annotation-label-box"
|
|
4623
4631
|
}, { ref_for: !0 }, e._box, { style: {
|
|
4624
4632
|
animation: "none !important",
|
|
4625
4633
|
transition: "none !important"
|
|
4626
|
-
} }), null, 16)) :
|
|
4627
|
-
e.config.label.text && e.show && isFinite(e._text.y) ? (
|
|
4634
|
+
} }), null, 16)) : y("", !0),
|
|
4635
|
+
e.config.label.text && e.show && isFinite(e._text.y) ? (T(), b("text", {
|
|
4628
4636
|
key: 4,
|
|
4629
4637
|
id: e.id,
|
|
4630
4638
|
class: "vue-ui-xy-annotation-label",
|
|
@@ -4633,32 +4641,32 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4633
4641
|
"font-size": e.config.label.fontSize,
|
|
4634
4642
|
fill: e.config.label.color,
|
|
4635
4643
|
"text-anchor": e.config.label.textAnchor
|
|
4636
|
-
},
|
|
4637
|
-
]))), 128))])) :
|
|
4638
|
-
!ou.value && V.value.chart.timeTag.show && (G.value ? A(
|
|
4644
|
+
}, k(e.config.label.text), 9, jr)) : y("", !0)
|
|
4645
|
+
]))), 128))])) : y("", !0),
|
|
4646
|
+
!ou.value && V.value.chart.timeTag.show && (G.value ? A(f)(Jl.value) : ![null, void 0].includes(R.value) || ![null, void 0].includes(I.value)) ? (T(), b("g", Mr, [(T(), b("foreignObject", {
|
|
4639
4647
|
x: Xl(),
|
|
4640
4648
|
y: J.value?.bottom,
|
|
4641
4649
|
width: "200",
|
|
4642
4650
|
height: "40",
|
|
4643
4651
|
style: { overflow: "visible !important" }
|
|
4644
|
-
}, [
|
|
4652
|
+
}, [x("div", {
|
|
4645
4653
|
ref_key: "timeTagEl",
|
|
4646
4654
|
ref: Gl,
|
|
4647
4655
|
class: "vue-ui-xy-time-tag",
|
|
4648
|
-
style:
|
|
4656
|
+
style: w(`width: fit-content;margin: 0 auto;text-align:center;padding:3px 12px;background:${V.value.chart.timeTag.backgroundColor};color:${V.value.chart.timeTag.color};font-size:${V.value.chart.timeTag.fontSize}px`),
|
|
4649
4657
|
innerHTML: eu.value
|
|
4650
|
-
}, null, 12, Pr)], 8, Nr)),
|
|
4651
|
-
cx: G.value && A(
|
|
4658
|
+
}, null, 12, Pr)], 8, Nr)), x("circle", {
|
|
4659
|
+
cx: G.value && A(f)(Jl.value) ? Xc({ x: Jl.value }) : uc((R.value === null ? 0 : R.value) || (I.value === null ? 0 : I.value)),
|
|
4652
4660
|
cy: J.value?.bottom,
|
|
4653
4661
|
r: V.value.chart.timeTag.circleMarker.radius,
|
|
4654
4662
|
fill: V.value.chart.timeTag.circleMarker.color
|
|
4655
|
-
}, null, 8, Fr)])) :
|
|
4656
|
-
])) :
|
|
4657
|
-
Ja.value ? (
|
|
4663
|
+
}, null, 8, Fr)])) : y("", !0)
|
|
4664
|
+
])) : y("", !0),
|
|
4665
|
+
Ja.value ? (T(), b("rect", st({ key: 2 }, Za.value, {
|
|
4658
4666
|
"data-start": U.value.start,
|
|
4659
4667
|
"data-end": U.value.end
|
|
4660
|
-
}), null, 16, Ir)) :
|
|
4661
|
-
|
|
4668
|
+
}), null, 16, Ir)) : y("", !0),
|
|
4669
|
+
O(t.$slots, "svg", { svg: {
|
|
4662
4670
|
...wa.value,
|
|
4663
4671
|
slicer: U.value,
|
|
4664
4672
|
isPrintingImg: A(Qa) || A($a) || aa.value,
|
|
@@ -4670,31 +4678,31 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4670
4678
|
],
|
|
4671
4679
|
drawingArea: J.value
|
|
4672
4680
|
} }, void 0, !0)
|
|
4673
|
-
], 512)], 46, Pt)), t.$slots.hint ? (
|
|
4681
|
+
], 512)], 46, Pt)), t.$slots.hint ? (T(), b("div", Lr, [O(t.$slots, "hint", C(S({
|
|
4674
4682
|
hint: V.value.a11y.translations.keyboardNavigation,
|
|
4675
4683
|
isVisible: Au.value
|
|
4676
|
-
})), void 0, !0)])) :
|
|
4677
|
-
t.$slots.watermark ? (
|
|
4678
|
-
(
|
|
4684
|
+
})), void 0, !0)])) : y("", !0)]),
|
|
4685
|
+
t.$slots.watermark ? (T(), b("div", Rr, [O(t.$slots, "watermark", C(S({ isPrinting: A(Qa) || A($a) || aa.value || oa.value })), void 0, !0)])) : y("", !0),
|
|
4686
|
+
(T(!0), b(_, null, D(Q.value, (e, t) => (T(), b(_, { key: `tag_line_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `tag_line_${t}_${r}` }, [[
|
|
4679
4687
|
I.value,
|
|
4680
4688
|
R.value,
|
|
4681
4689
|
Wi.value
|
|
4682
|
-
].includes(r) && e.useTag && e.useTag === "end" && V.value.line.tag.followValue ? (
|
|
4690
|
+
].includes(r) && e.useTag && e.useTag === "end" && V.value.line.tag.followValue ? (T(), b("div", {
|
|
4683
4691
|
key: 0,
|
|
4684
4692
|
ref_for: !0,
|
|
4685
4693
|
ref: (e) => Fo(t, r, e, "right", "line"),
|
|
4686
4694
|
class: "vue-ui-xy-tag",
|
|
4687
4695
|
"data-tag": "right",
|
|
4688
|
-
style:
|
|
4696
|
+
style: w({
|
|
4689
4697
|
position: "fixed",
|
|
4690
|
-
top: A(
|
|
4698
|
+
top: A(u)({
|
|
4691
4699
|
svgElement: L.value,
|
|
4692
4700
|
x: J.value?.right + V.value.line.tag.fontSize / 1.5,
|
|
4693
4701
|
y: n.y,
|
|
4694
4702
|
element: ta.value[`${t}_${r}_right_line`],
|
|
4695
4703
|
position: "right"
|
|
4696
4704
|
})?.top + "px",
|
|
4697
|
-
left: A(
|
|
4705
|
+
left: A(u)({
|
|
4698
4706
|
svgElement: L.value,
|
|
4699
4707
|
x: J.value?.right + V.value.line.tag.fontSize / 1.5,
|
|
4700
4708
|
y: n.y,
|
|
@@ -4709,37 +4717,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4709
4717
|
fontSize: V.value.line.tag.fontSize + "px",
|
|
4710
4718
|
opacity: 1
|
|
4711
4719
|
})
|
|
4712
|
-
}, [(
|
|
4720
|
+
}, [(T(), b("svg", zr, [x("path", {
|
|
4713
4721
|
d: "M 0,10 10,0 10,20 Z",
|
|
4714
4722
|
fill: e.color,
|
|
4715
4723
|
stroke: "none"
|
|
4716
|
-
}, null, 8, Br)])),
|
|
4724
|
+
}, null, 8, Br)])), x("div", {
|
|
4717
4725
|
class: "vue-ui-xy-tag-content",
|
|
4718
4726
|
innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
|
|
4719
4727
|
datapoint: n,
|
|
4720
4728
|
seriesIndex: r,
|
|
4721
4729
|
serieName: e.name
|
|
4722
4730
|
})
|
|
4723
|
-
}, null, 8, Vr)], 4)) :
|
|
4731
|
+
}, null, 8, Vr)], 4)) : y("", !0), [
|
|
4724
4732
|
I.value,
|
|
4725
4733
|
R.value,
|
|
4726
4734
|
Wi.value
|
|
4727
|
-
].includes(r) && e.useTag && e.useTag === "start" && V.value.line.tag.followValue ? (
|
|
4735
|
+
].includes(r) && e.useTag && e.useTag === "start" && V.value.line.tag.followValue ? (T(), b("div", {
|
|
4728
4736
|
key: 1,
|
|
4729
4737
|
ref_for: !0,
|
|
4730
4738
|
ref: (e) => Fo(t, r, e, "left", "line"),
|
|
4731
4739
|
class: "vue-ui-xy-tag",
|
|
4732
4740
|
"data-tag": "left",
|
|
4733
|
-
style:
|
|
4741
|
+
style: w({
|
|
4734
4742
|
position: "fixed",
|
|
4735
|
-
top: A(
|
|
4743
|
+
top: A(u)({
|
|
4736
4744
|
svgElement: L.value,
|
|
4737
4745
|
x: J.value?.left - V.value.line.tag.fontSize / 1.5,
|
|
4738
4746
|
y: n.y,
|
|
4739
4747
|
element: ta.value[`${t}_${r}_left_line`],
|
|
4740
4748
|
position: "left"
|
|
4741
4749
|
})?.top + "px",
|
|
4742
|
-
left: A(
|
|
4750
|
+
left: A(u)({
|
|
4743
4751
|
svgElement: L.value,
|
|
4744
4752
|
x: J.value?.left - V.value.line.tag.fontSize / 1.5,
|
|
4745
4753
|
y: n.y,
|
|
@@ -4754,38 +4762,38 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4754
4762
|
fontSize: V.value.line.tag.fontSize + "px",
|
|
4755
4763
|
opacity: 1
|
|
4756
4764
|
})
|
|
4757
|
-
}, [(
|
|
4765
|
+
}, [(T(), b("svg", Hr, [x("path", {
|
|
4758
4766
|
d: "M 0,0 10,10 0,20 Z",
|
|
4759
4767
|
fill: e.color,
|
|
4760
4768
|
stroke: "none"
|
|
4761
|
-
}, null, 8, Ur)])),
|
|
4769
|
+
}, null, 8, Ur)])), x("div", {
|
|
4762
4770
|
class: "vue-ui-xy-tag-content",
|
|
4763
4771
|
innerHTML: A(h)(V.value.line.tag.formatter, n.value, e.name, {
|
|
4764
4772
|
datapoint: n,
|
|
4765
4773
|
seriesIndex: r,
|
|
4766
4774
|
serieName: e.name
|
|
4767
4775
|
})
|
|
4768
|
-
}, null, 8, Wr)], 4)) :
|
|
4769
|
-
(
|
|
4776
|
+
}, null, 8, Wr)], 4)) : y("", !0)], 64))), 128))], 64))), 128)),
|
|
4777
|
+
(T(!0), b(_, null, D($.value, (e, t) => (T(), b(_, { key: `tag_plot_${e.id}` }, [(T(!0), b(_, null, D(e.plots, (n, r) => (T(), b(_, { key: `tag_plot_${t}_${r}` }, [[
|
|
4770
4778
|
I.value,
|
|
4771
4779
|
R.value,
|
|
4772
4780
|
Wi.value
|
|
4773
|
-
].includes(r) && e.useTag && e.useTag === "end" && V.value.plot.tag.followValue ? (
|
|
4781
|
+
].includes(r) && e.useTag && e.useTag === "end" && V.value.plot.tag.followValue ? (T(), b("div", {
|
|
4774
4782
|
key: 0,
|
|
4775
4783
|
ref_for: !0,
|
|
4776
4784
|
ref: (e) => Fo(t, r, e, "right", "plot"),
|
|
4777
4785
|
class: "vue-ui-xy-tag",
|
|
4778
4786
|
"data-tag": "right",
|
|
4779
|
-
style:
|
|
4787
|
+
style: w({
|
|
4780
4788
|
position: "fixed",
|
|
4781
|
-
top: A(
|
|
4789
|
+
top: A(u)({
|
|
4782
4790
|
svgElement: L.value,
|
|
4783
4791
|
x: J.value?.right + V.value.plot.tag.fontSize / 1.5,
|
|
4784
4792
|
y: n.y,
|
|
4785
4793
|
element: ta.value[`${t}_${r}_right_plot`],
|
|
4786
4794
|
position: "right"
|
|
4787
4795
|
})?.top + "px",
|
|
4788
|
-
left: A(
|
|
4796
|
+
left: A(u)({
|
|
4789
4797
|
svgElement: L.value,
|
|
4790
4798
|
x: J.value?.right + V.value.plot.tag.fontSize / 1.5,
|
|
4791
4799
|
y: n.y,
|
|
@@ -4800,37 +4808,37 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4800
4808
|
fontSize: V.value.plot.tag.fontSize + "px",
|
|
4801
4809
|
opacity: 1
|
|
4802
4810
|
})
|
|
4803
|
-
}, [(
|
|
4811
|
+
}, [(T(), b("svg", Gr, [x("path", {
|
|
4804
4812
|
d: "M 0,10 10,0 10,20 Z",
|
|
4805
4813
|
fill: e.color,
|
|
4806
4814
|
stroke: "none"
|
|
4807
|
-
}, null, 8, Kr)])),
|
|
4815
|
+
}, null, 8, Kr)])), x("div", {
|
|
4808
4816
|
class: "vue-ui-xy-tag-content",
|
|
4809
4817
|
innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
|
|
4810
4818
|
datapoint: n,
|
|
4811
4819
|
seriesIndex: r,
|
|
4812
4820
|
serieName: e.name
|
|
4813
4821
|
})
|
|
4814
|
-
}, null, 8, qr)], 4)) :
|
|
4822
|
+
}, null, 8, qr)], 4)) : y("", !0), [
|
|
4815
4823
|
I.value,
|
|
4816
4824
|
R.value,
|
|
4817
4825
|
Wi.value
|
|
4818
|
-
].includes(r) && e.useTag && e.useTag === "start" && V.value.plot.tag.followValue ? (
|
|
4826
|
+
].includes(r) && e.useTag && e.useTag === "start" && V.value.plot.tag.followValue ? (T(), b("div", {
|
|
4819
4827
|
key: 1,
|
|
4820
4828
|
ref_for: !0,
|
|
4821
4829
|
ref: (e) => Fo(t, r, e, "left", "plot"),
|
|
4822
4830
|
class: "vue-ui-xy-tag",
|
|
4823
4831
|
"data-tag": "left",
|
|
4824
|
-
style:
|
|
4832
|
+
style: w({
|
|
4825
4833
|
position: "fixed",
|
|
4826
|
-
top: A(
|
|
4834
|
+
top: A(u)({
|
|
4827
4835
|
svgElement: L.value,
|
|
4828
4836
|
x: J.value?.left - V.value.plot.tag.fontSize / 1.5,
|
|
4829
4837
|
y: n.y,
|
|
4830
4838
|
element: ta.value[`${t}_${r}_left_plot`],
|
|
4831
4839
|
position: "left"
|
|
4832
4840
|
})?.top + "px",
|
|
4833
|
-
left: A(
|
|
4841
|
+
left: A(u)({
|
|
4834
4842
|
svgElement: L.value,
|
|
4835
4843
|
x: J.value?.left - V.value.plot.tag.fontSize / 1.5,
|
|
4836
4844
|
y: n.y,
|
|
@@ -4845,19 +4853,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4845
4853
|
fontSize: V.value.plot.tag.fontSize + "px",
|
|
4846
4854
|
opacity: 1
|
|
4847
4855
|
})
|
|
4848
|
-
}, [(
|
|
4856
|
+
}, [(T(), b("svg", Jr, [x("path", {
|
|
4849
4857
|
d: "M 0,0 10,10 0,20 Z",
|
|
4850
4858
|
fill: e.color,
|
|
4851
4859
|
stroke: "none"
|
|
4852
|
-
}, null, 8, Yr)])),
|
|
4860
|
+
}, null, 8, Yr)])), x("div", {
|
|
4853
4861
|
class: "vue-ui-xy-tag-content",
|
|
4854
4862
|
innerHTML: A(h)(V.value.plot.tag.formatter, n.value, e.name, {
|
|
4855
4863
|
datapoint: n,
|
|
4856
4864
|
seriesIndex: r,
|
|
4857
4865
|
serieName: e.name
|
|
4858
4866
|
})
|
|
4859
|
-
}, null, 8, Xr)], 4)) :
|
|
4860
|
-
V.value.chart.zoom.show && Ka.value > 6 && Ma.value && ts.value ? (
|
|
4867
|
+
}, null, 8, Xr)], 4)) : y("", !0)], 64))), 128))], 64))), 128)),
|
|
4868
|
+
V.value.chart.zoom.show && Ka.value > 6 && Ma.value && ts.value ? (T(), tt(Xe, {
|
|
4861
4869
|
key: 6,
|
|
4862
4870
|
ref_key: "chartSlicer",
|
|
4863
4871
|
ref: Ci,
|
|
@@ -4925,21 +4933,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4925
4933
|
"onUpdate:end": ms,
|
|
4926
4934
|
"onUpdate:start": ps
|
|
4927
4935
|
}, {
|
|
4928
|
-
"reset-action": j(({ reset: e }) => [
|
|
4936
|
+
"reset-action": j(({ reset: e }) => [O(t.$slots, "reset-action", C(S({ reset: e })), void 0, !0)]),
|
|
4929
4937
|
_: 3
|
|
4930
|
-
}, 8, /* @__PURE__ */ "uuid.allMinimaps.background.borderColor.customFormat.cutNullValues.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.useResetSlot.immediate.inputColor.isPreview.labelLeft.labelRight.max.min.precision.useValueRange.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapLineColor.minimapMerged.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.minimapSelectionRadius.preciseLabels.refreshStartPoint.refreshEndPoint.selectColor.selectedSeries.smoothMinimap.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth.isCursorPointer".split("."))) :
|
|
4931
|
-
|
|
4932
|
-
ra.value && (V.value.chart.legend.show || t.$slots.legend) ? (
|
|
4938
|
+
}, 8, /* @__PURE__ */ "uuid.allMinimaps.background.borderColor.customFormat.cutNullValues.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.useResetSlot.immediate.inputColor.isPreview.labelLeft.labelRight.max.min.precision.useValueRange.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapLineColor.minimapMerged.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.minimapSelectionRadius.preciseLabels.refreshStartPoint.refreshEndPoint.selectColor.selectedSeries.smoothMinimap.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.minScale.maxScale.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth.isCursorPointer".split("."))) : y("", !0),
|
|
4939
|
+
x("div", { id: `legend-bottom-${F.value}` }, null, 8, Zr),
|
|
4940
|
+
ra.value && (V.value.chart.legend.show || t.$slots.legend) ? (T(), tt(et, {
|
|
4933
4941
|
key: 7,
|
|
4934
4942
|
to: V.value.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
|
|
4935
|
-
}, [
|
|
4943
|
+
}, [x("div", {
|
|
4936
4944
|
ref_key: "chartLegend",
|
|
4937
4945
|
ref: wi
|
|
4938
|
-
}, [
|
|
4946
|
+
}, [O(t.$slots, "legend", { legend: yo.value }, () => [V.value.chart.legend.show ? (T(), b("div", {
|
|
4939
4947
|
key: 0,
|
|
4940
4948
|
class: "vue-ui-xy-legend",
|
|
4941
|
-
style:
|
|
4942
|
-
}, [V.value.chart.legend.selectAllToggle.show && yo.value.length > 2 && !A(Ra) ? (
|
|
4949
|
+
style: w({ fontSize: `var(--legend-font-size, ${V.value.chart.legend.fontSize ?? 14}px)` })
|
|
4950
|
+
}, [V.value.chart.legend.selectAllToggle.show && yo.value.length > 2 && !A(Ra) ? (T(), tt(Qe, {
|
|
4943
4951
|
key: 0,
|
|
4944
4952
|
backgroundColor: V.value.chart.legend.selectAllToggle.backgroundColor,
|
|
4945
4953
|
color: V.value.chart.legend.selectAllToggle.color,
|
|
@@ -4951,19 +4959,19 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4951
4959
|
"color",
|
|
4952
4960
|
"fontSize",
|
|
4953
4961
|
"checked"
|
|
4954
|
-
])) :
|
|
4962
|
+
])) : y("", !0), (T(!0), b(_, null, D(yo.value, (e, n) => (T(), b("div", {
|
|
4955
4963
|
key: `div_legend_item_${n}`,
|
|
4956
4964
|
onClick: (t) => Zs(e),
|
|
4957
4965
|
onKeydown: (t) => Ys(t, e),
|
|
4958
4966
|
role: "button",
|
|
4959
4967
|
tabindex: "0",
|
|
4960
|
-
class:
|
|
4968
|
+
class: lt({
|
|
4961
4969
|
"vue-ui-xy-legend-item-alone": yo.value.length === 1,
|
|
4962
4970
|
"vue-ui-xy-legend-item": !0,
|
|
4963
4971
|
"vue-ui-xy-legend-item-segregated": Ki.value.has(e.id)
|
|
4964
4972
|
}),
|
|
4965
|
-
style:
|
|
4966
|
-
}, [Bi.value[e.type] === "line" ? (
|
|
4973
|
+
style: w({ cursor: Na.value ? "pointer" : "default" })
|
|
4974
|
+
}, [Bi.value[e.type] === "line" ? (T(), b("svg", $r, [x("rect", {
|
|
4967
4975
|
x: "0",
|
|
4968
4976
|
y: "7.5",
|
|
4969
4977
|
rx: "1.5",
|
|
@@ -4972,7 +4980,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4972
4980
|
height: "3",
|
|
4973
4981
|
width: "20",
|
|
4974
4982
|
fill: e.color
|
|
4975
|
-
}, null, 8, ei),
|
|
4983
|
+
}, null, 8, ei), it(qe, {
|
|
4976
4984
|
plot: {
|
|
4977
4985
|
x: 10,
|
|
4978
4986
|
y: 9
|
|
@@ -4993,7 +5001,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
4993
5001
|
"color",
|
|
4994
5002
|
"shape",
|
|
4995
5003
|
"stroke"
|
|
4996
|
-
])])) : Bi.value[e.type] === "bar" ? (
|
|
5004
|
+
])])) : Bi.value[e.type] === "bar" ? (T(), b("svg", ti, [Bi.value[e.type] === "bar" && t.$slots.pattern ? (T(), b("rect", {
|
|
4997
5005
|
key: 0,
|
|
4998
5006
|
x: "4",
|
|
4999
5007
|
y: "4",
|
|
@@ -5002,7 +5010,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5002
5010
|
width: "32",
|
|
5003
5011
|
stroke: "none",
|
|
5004
5012
|
fill: e.color
|
|
5005
|
-
}, null, 8, ni)) :
|
|
5013
|
+
}, null, 8, ni)) : y("", !0), Bi.value[e.type] === "bar" ? (T(), b("rect", {
|
|
5006
5014
|
key: 1,
|
|
5007
5015
|
x: "4",
|
|
5008
5016
|
y: "4",
|
|
@@ -5011,7 +5019,7 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5011
5019
|
width: "32",
|
|
5012
5020
|
stroke: "none",
|
|
5013
5021
|
fill: t.$slots.pattern ? `url(#pattern_${F.value}_${e.slotAbsoluteIndex})` : e.color
|
|
5014
|
-
}, null, 8, ri)) :
|
|
5022
|
+
}, null, 8, ri)) : y("", !0)])) : (T(), b("svg", ii, [it(qe, {
|
|
5015
5023
|
plot: {
|
|
5016
5024
|
x: 6,
|
|
5017
5025
|
y: 6
|
|
@@ -5026,14 +5034,14 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5026
5034
|
"hexagon",
|
|
5027
5035
|
"star"
|
|
5028
5036
|
].includes(e.shape) ? e.shape : "circle"
|
|
5029
|
-
}, null, 8, ["color", "shape"])])),
|
|
5030
|
-
t.$slots.source ? (
|
|
5037
|
+
}, null, 8, ["color", "shape"])])), x("span", { style: w(`color:${V.value.chart.legend.color}`) }, k(e.name), 5)], 46, Qr))), 128))], 4)) : y("", !0)], !0)], 512)], 8, ["to"])) : y("", !0),
|
|
5038
|
+
t.$slots.source ? (T(), b("div", {
|
|
5031
5039
|
key: 8,
|
|
5032
5040
|
ref_key: "source",
|
|
5033
5041
|
ref: Ti,
|
|
5034
5042
|
dir: "auto"
|
|
5035
|
-
}, [
|
|
5036
|
-
|
|
5043
|
+
}, [O(t.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
|
|
5044
|
+
it(A(ci), {
|
|
5037
5045
|
teleportTo: V.value.chart.tooltip.teleportTo,
|
|
5038
5046
|
show: H.value.showTooltip && Ui.value,
|
|
5039
5047
|
backgroundColor: V.value.chart.tooltip.backgroundColor,
|
|
@@ -5057,9 +5065,9 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5057
5065
|
isA11yMode: ca.value != null,
|
|
5058
5066
|
a11yPosition: la.value
|
|
5059
5067
|
}, {
|
|
5060
|
-
"tooltip-before": j(() => [
|
|
5061
|
-
tooltip: j(() => [
|
|
5062
|
-
"tooltip-after": j(() => [
|
|
5068
|
+
"tooltip-before": j(() => [O(t.$slots, "tooltip-before", C(S({ ...hl.value })), void 0, !0)]),
|
|
5069
|
+
tooltip: j(() => [O(t.$slots, "tooltip", C(S({ ...hl.value })), void 0, !0)]),
|
|
5070
|
+
"tooltip-after": j(() => [O(t.$slots, "tooltip-after", C(S({ ...hl.value })), void 0, !0)]),
|
|
5063
5071
|
_: 3
|
|
5064
5072
|
}, 8, [
|
|
5065
5073
|
"teleportTo",
|
|
@@ -5085,26 +5093,26 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5085
5093
|
"isA11yMode",
|
|
5086
5094
|
"a11yPosition"
|
|
5087
5095
|
]),
|
|
5088
|
-
Ma.value && V.value.chart.userOptions.buttons.table ? (
|
|
5096
|
+
Ma.value && V.value.chart.userOptions.buttons.table ? (T(), tt(ft(bu.value.component), st({ key: 9 }, bu.value.props, {
|
|
5089
5097
|
ref_key: "tableUnit",
|
|
5090
5098
|
ref: ia,
|
|
5091
5099
|
onClose: xu
|
|
5092
|
-
}),
|
|
5093
|
-
content: j(() => [
|
|
5100
|
+
}), nt({
|
|
5101
|
+
content: j(() => [x("div", { style: w(`${A(Qa) || V.value.table.useDialog ? "" : "max-height:400px"};${V.value.table.useDialog ? "height: fit-content; " : ""};overflow:auto;width:100%;${V.value.table.useDialog ? "" : "margin-top:48px"}`) }, [x("div", ai, [yt(x("input", {
|
|
5094
5102
|
type: "checkbox",
|
|
5095
5103
|
"onUpdate:modelValue": n[4] ||= (e) => Xi.value = e
|
|
5096
|
-
}, null, 512), [[gt, Xi.value]]),
|
|
5104
|
+
}, null, 512), [[gt, Xi.value]]), x("div", {
|
|
5097
5105
|
onClick: n[5] ||= (e) => Xi.value = !Xi.value,
|
|
5098
|
-
style:
|
|
5099
|
-
}, [
|
|
5106
|
+
style: w({ cursor: Na.value ? "pointer" : "default" })
|
|
5107
|
+
}, [it(A(ui), {
|
|
5100
5108
|
name: "chartLine",
|
|
5101
5109
|
size: 20,
|
|
5102
5110
|
stroke: V.value.chart.color
|
|
5103
|
-
}, null, 8, ["stroke"])], 4)]), Xi.value ? (
|
|
5111
|
+
}, null, 8, ["stroke"])], 4)]), Xi.value ? (T(), tt(A(di), {
|
|
5104
5112
|
key: `sparkline_${Zi.value}`,
|
|
5105
5113
|
dataset: oc.value,
|
|
5106
5114
|
config: sc.value
|
|
5107
|
-
}, null, 8, ["dataset", "config"])) : (
|
|
5115
|
+
}, null, 8, ["dataset", "config"])) : (T(), tt(A(si), {
|
|
5108
5116
|
key: `table_${Ji.value}`,
|
|
5109
5117
|
colNames: Pl.value.colNames,
|
|
5110
5118
|
head: Pl.value.head,
|
|
@@ -5114,8 +5122,8 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5114
5122
|
withCloseButton: !V.value.table.useDialog,
|
|
5115
5123
|
onClose: xu
|
|
5116
5124
|
}, {
|
|
5117
|
-
th: j(({ th: e }) => [
|
|
5118
|
-
td: j(({ td: e }) => [
|
|
5125
|
+
th: j(({ th: e }) => [x("div", { innerHTML: e }, null, 8, oi)]),
|
|
5126
|
+
td: j(({ td: e }) => [rt(k(isNaN(Number(e)) ? e : A(p)({
|
|
5119
5127
|
p: V.value.chart.labels.prefix,
|
|
5120
5128
|
v: e,
|
|
5121
5129
|
s: V.value.chart.labels.suffix,
|
|
@@ -5133,21 +5141,21 @@ var kt = /* @__PURE__ */ e({ default: () => M }), At = ["id"], jt = ["id"], Mt =
|
|
|
5133
5141
|
_: 2
|
|
5134
5142
|
}, [V.value.table.useDialog ? {
|
|
5135
5143
|
name: "title",
|
|
5136
|
-
fn: j(() => [
|
|
5144
|
+
fn: j(() => [rt(k(bu.value.title), 1)]),
|
|
5137
5145
|
key: "0"
|
|
5138
5146
|
} : void 0, V.value.table.useDialog ? {
|
|
5139
5147
|
name: "actions",
|
|
5140
|
-
fn: j(() => [
|
|
5148
|
+
fn: j(() => [x("button", {
|
|
5141
5149
|
tabindex: "0",
|
|
5142
5150
|
class: "vue-ui-user-options-button",
|
|
5143
5151
|
onClick: n[3] ||= (e) => Fl(V.value.chart.userOptions.callbacks.csv)
|
|
5144
|
-
}, [
|
|
5152
|
+
}, [it(A(ui), {
|
|
5145
5153
|
name: "fileCsv",
|
|
5146
5154
|
stroke: bu.value.props.color
|
|
5147
5155
|
}, null, 8, ["stroke"])])]),
|
|
5148
5156
|
key: "1"
|
|
5149
|
-
} : void 0]), 1040)) :
|
|
5150
|
-
|
|
5157
|
+
} : void 0]), 1040)) : y("", !0),
|
|
5158
|
+
O(t.$slots, "skeleton", {}, () => [A(Ra) ? (T(), tt(Re, { key: 0 })) : y("", !0)], !0)
|
|
5151
5159
|
], 46, At));
|
|
5152
5160
|
}
|
|
5153
5161
|
}, [["__scopeId", "data-v-3a378243"]]);
|