vue-data-ui 3.1.18 → 3.1.19-next.0
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-BC5klzOh.js → Arrow-cyyFTTnm.js} +7 -7
- package/dist/{BaseDraggableDialog-CkjMZyIs.js → BaseDraggableDialog-Bf6A6G_f.js} +2 -2
- package/dist/{BaseIcon-BPiT94Lb.js → BaseIcon-D2f9w5Z5.js} +1 -1
- package/dist/{ColorPicker-bx5e2RB2.js → ColorPicker-gaAecgEC.js} +6 -6
- package/dist/{DataTable-CywujQw9.js → DataTable-xISHA7Pu.js} +2 -2
- package/dist/{Legend-h35dp0Qf.js → Legend-_Rv594VS.js} +2 -2
- package/dist/{NonSvgPenAndPaper-CvnlQ378.js → NonSvgPenAndPaper-DiM4-9ju.js} +3 -3
- package/dist/{PackageVersion-BzGzkGiC.js → PackageVersion-DRpg18lg.js} +3 -3
- package/dist/{PenAndPaper-Deh70G9d.js → PenAndPaper-CtDMyIvW.js} +3 -3
- package/dist/{Shape-sVxD_SDm.js → Shape-BDy56-wS.js} +1 -1
- package/dist/{Slicer-CQB967He.js → Slicer-BgpOhmb6.js} +31 -31
- package/dist/{SparkTooltip-DFRSPT3_.js → SparkTooltip-DOFGBHJ-.js} +1 -1
- package/dist/{Title-B_WMW2Bp.js → Title-pI68ZJsq.js} +1 -1
- package/dist/{Tooltip-Db9jy0Iu.js → Tooltip-Clf2K3CF.js} +1 -1
- package/dist/{UserOptions-CtECQwBN.js → UserOptions-Bn3u4JQu.js} +2 -2
- package/dist/components/arrow.js +5 -0
- package/dist/components/vue-ui-3d-bar.js +5 -0
- package/dist/components/vue-ui-accordion.js +5 -0
- package/dist/components/vue-ui-age-pyramid.js +5 -0
- package/dist/components/vue-ui-bullet.js +5 -0
- package/dist/components/vue-ui-candlestick.js +5 -0
- package/dist/components/vue-ui-carousel-table.js +5 -0
- package/dist/components/vue-ui-chestnut.js +5 -0
- package/dist/components/vue-ui-chord.js +5 -0
- package/dist/components/vue-ui-circle-pack.js +5 -0
- package/dist/components/vue-ui-cursor.js +5 -0
- package/dist/components/vue-ui-dashboard.js +5 -0
- package/dist/components/vue-ui-digits.js +5 -0
- package/dist/components/vue-ui-donut-evolution.js +5 -0
- package/dist/components/vue-ui-donut.js +5 -0
- package/dist/components/vue-ui-dumbbell.js +5 -0
- package/dist/components/vue-ui-flow.js +5 -0
- package/dist/components/vue-ui-funnel.js +5 -0
- package/dist/components/vue-ui-galaxy.js +5 -0
- package/dist/components/vue-ui-gauge.js +5 -0
- package/dist/components/vue-ui-gizmo.js +5 -0
- package/dist/components/vue-ui-heatmap.js +5 -0
- package/dist/components/vue-ui-history-plot.js +5 -0
- package/dist/components/vue-ui-horizontal-bar.js +5 -0
- package/dist/components/vue-ui-icon.js +5 -0
- package/dist/components/vue-ui-kpi.js +5 -0
- package/dist/components/vue-ui-mini-loader.js +5 -0
- package/dist/components/vue-ui-molecule.js +5 -0
- package/dist/components/vue-ui-mood-radar.js +5 -0
- package/dist/components/vue-ui-nested-donuts.js +5 -0
- package/dist/components/vue-ui-onion.js +5 -0
- package/dist/components/vue-ui-parallel-coordinate-plot.js +5 -0
- package/dist/components/vue-ui-pattern.js +5 -0
- package/dist/components/vue-ui-quadrant.js +5 -0
- package/dist/components/vue-ui-quick-chart.js +5 -0
- package/dist/components/vue-ui-radar.js +5 -0
- package/dist/components/vue-ui-rating.js +5 -0
- package/dist/components/vue-ui-relation-circle.js +5 -0
- package/dist/components/vue-ui-ridgeline.js +5 -0
- package/dist/components/vue-ui-rings.js +5 -0
- package/dist/components/vue-ui-scatter.js +5 -0
- package/dist/components/vue-ui-skeleton.js +5 -0
- package/dist/components/vue-ui-smiley.js +5 -0
- package/dist/components/vue-ui-spark-trend.js +5 -0
- package/dist/components/vue-ui-sparkbar.js +5 -0
- package/dist/components/vue-ui-sparkgauge.js +5 -0
- package/dist/components/vue-ui-sparkhistogram.js +5 -0
- package/dist/components/vue-ui-sparkline.js +5 -0
- package/dist/components/vue-ui-sparkstackbar.js +5 -0
- package/dist/components/vue-ui-stackbar.js +5 -0
- package/dist/components/vue-ui-strip-plot.js +5 -0
- package/dist/components/vue-ui-table-heatmap.js +5 -0
- package/dist/components/vue-ui-table-sparkline.js +5 -0
- package/dist/components/vue-ui-table.js +5 -0
- package/dist/components/vue-ui-thermometer.js +5 -0
- package/dist/components/vue-ui-timer.js +5 -0
- package/dist/components/vue-ui-tiremarks.js +5 -0
- package/dist/components/vue-ui-treemap.js +5 -0
- package/dist/components/vue-ui-vertical-bar.js +5 -0
- package/dist/components/vue-ui-waffle.js +5 -0
- package/dist/components/vue-ui-wheel.js +5 -0
- package/dist/components/vue-ui-word-cloud.js +5 -0
- package/dist/components/vue-ui-world.js +5 -0
- package/dist/components/vue-ui-xy-canvas.js +5 -0
- package/dist/components/vue-ui-xy.js +5 -0
- package/dist/{dom-to-png-BHpS3cMi.js → dom-to-png-CSg_eTqL.js} +1 -1
- package/dist/{img-BArHHegM.js → img-CH7J0fYg.js} +1 -1
- package/dist/lib-p5pfHmOX.js +1882 -0
- package/dist/{pdf-D1L3r23x.js → pdf-Wd2BQz4D.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/themes-D3cUNuKw.js +53 -0
- package/dist/types/arrow.d.ts +4 -0
- package/dist/types/universal.d.ts +1 -0
- package/dist/types/vue-data-ui.d.ts +71 -21
- package/dist/types/vue-ui-3d-bar.d.ts +18 -0
- package/dist/types/vue-ui-accordion.d.ts +12 -0
- package/dist/types/vue-ui-age-pyramid.d.ts +21 -0
- package/dist/types/vue-ui-bullet.d.ts +16 -0
- package/dist/types/vue-ui-candlestick.d.ts +16 -0
- package/dist/types/vue-ui-carousel-table.d.ts +14 -0
- package/dist/types/vue-ui-chestnut.d.ts +17 -0
- package/dist/types/vue-ui-chord.d.ts +19 -0
- package/dist/types/vue-ui-circle-pack.d.ts +17 -0
- package/dist/types/vue-ui-cursor.d.ts +7 -0
- package/dist/types/vue-ui-dashboard.d.ts +14 -0
- package/dist/types/vue-ui-digits.d.ts +10 -0
- package/dist/types/vue-ui-donut-evolution.d.ts +17 -0
- package/dist/types/vue-ui-donut.d.ts +18 -0
- package/dist/types/vue-ui-dumbbell.d.ts +18 -0
- package/dist/types/vue-ui-flow.d.ts +18 -0
- package/dist/types/vue-ui-funnel.d.ts +15 -0
- package/dist/types/vue-ui-galaxy.d.ts +18 -0
- package/dist/types/vue-ui-gauge.d.ts +16 -0
- package/dist/types/vue-ui-gizmo.d.ts +14 -0
- package/dist/types/vue-ui-heatmap.d.ts +17 -0
- package/dist/types/vue-ui-history-plot.d.ts +19 -0
- package/dist/types/vue-ui-horizontal-bar.d.ts +19 -0
- package/dist/types/vue-ui-icon.d.ts +16 -0
- package/dist/types/vue-ui-kpi.d.ts +13 -0
- package/dist/types/vue-ui-mini-loader.d.ts +13 -0
- package/dist/types/vue-ui-molecule.d.ts +17 -0
- package/dist/types/vue-ui-mood-radar.d.ts +17 -0
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -0
- package/dist/types/vue-ui-onion.d.ts +18 -0
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +20 -0
- package/dist/types/vue-ui-pattern.d.ts +17 -0
- package/dist/types/vue-ui-quadrant.d.ts +20 -0
- package/dist/types/vue-ui-quick-chart.d.ts +16 -0
- package/dist/types/vue-ui-radar.d.ts +22 -0
- package/dist/types/vue-ui-rating.d.ts +15 -0
- package/dist/types/vue-ui-relation-circle.d.ts +17 -0
- package/dist/types/vue-ui-ridgeline.d.ts +20 -0
- package/dist/types/vue-ui-rings.d.ts +17 -0
- package/dist/types/vue-ui-scatter.d.ts +19 -0
- package/dist/types/vue-ui-skeleton.d.ts +12 -0
- package/dist/types/vue-ui-smiley.d.ts +14 -0
- package/dist/types/vue-ui-spark-trend.d.ts +13 -0
- package/dist/types/vue-ui-sparkbar.d.ts +15 -0
- package/dist/types/vue-ui-sparkgauge.d.ts +14 -0
- package/dist/types/vue-ui-sparkhistogram.d.ts +15 -0
- package/dist/types/vue-ui-sparkline.d.ts +15 -0
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -0
- package/dist/types/vue-ui-stackbar.d.ts +18 -0
- package/dist/types/vue-ui-strip-plot.d.ts +19 -0
- package/dist/types/vue-ui-table-heatmap.d.ts +14 -0
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -0
- package/dist/types/vue-ui-table.d.ts +17 -0
- package/dist/types/vue-ui-thermometer.d.ts +15 -0
- package/dist/types/vue-ui-timer.d.ts +12 -0
- package/dist/types/vue-ui-tiremarks.d.ts +15 -0
- package/dist/types/vue-ui-treemap.d.ts +18 -0
- package/dist/types/vue-ui-vertical-bar.d.ts +19 -0
- package/dist/types/vue-ui-waffle.d.ts +18 -0
- package/dist/types/vue-ui-wheel.d.ts +15 -0
- package/dist/types/vue-ui-word-cloud.d.ts +17 -0
- package/dist/types/vue-ui-world.d.ts +17 -0
- package/dist/types/vue-ui-xy-canvas.d.ts +15 -0
- package/dist/types/vue-ui-xy.d.ts +24 -0
- package/dist/universal-registry-CL8g2COA.js +70 -0
- package/dist/universal.js +5 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DeqXeTNw.js → useAutoSizeLabelsInsideViewbox-VqESrzQg.js} +7 -7
- package/dist/useNestedProp-DF7e2h1z.js +6645 -0
- package/dist/{usePrinter-nFj0xF0a.js → usePrinter-Yeu5jOfm.js} +2 -2
- package/dist/vue-data-ui-h5C8hpE8.js +317 -0
- package/dist/vue-data-ui.js +243 -85
- package/dist/{vue-ui-3d-bar-D4rc8PD3.js → vue-ui-3d-bar-BZDLbeym.js} +58 -57
- package/dist/{vue-ui-accordion-7cfJUVx5.js → vue-ui-accordion-D-L73-T2.js} +4 -4
- package/dist/{vue-ui-age-pyramid-BXMIUNB_.js → vue-ui-age-pyramid-C1NMeWTB.js} +28 -27
- package/dist/{vue-ui-annotator-aCDhQ-m2.js → vue-ui-annotator-SoAGIAm-.js} +7 -6
- package/dist/{vue-ui-bullet-Cd_iix-z.js → vue-ui-bullet-G_Y2Ryof.js} +28 -27
- package/dist/{vue-ui-candlestick-C-TTTgiW.js → vue-ui-candlestick-9sHzdqr3.js} +32 -31
- package/dist/{vue-ui-carousel-table-C58J4zpm.js → vue-ui-carousel-table-CnGSgjPK.js} +25 -25
- package/dist/{vue-ui-chestnut-C7u6GW-T.js → vue-ui-chestnut-C_0Y77a9.js} +41 -40
- package/dist/{vue-ui-chord-DxLU3Fg1.js → vue-ui-chord-DqGoensA.js} +61 -60
- package/dist/{vue-ui-circle-pack--a_KE7qz.js → vue-ui-circle-pack-5L50If0h.js} +75 -74
- package/dist/{vue-ui-cursor-DJQWAIj8.js → vue-ui-cursor-0muOlHSh.js} +3 -3
- package/dist/{vue-ui-dashboard-CIACUYB-.js → vue-ui-dashboard-2FyL5ac1.js} +68 -68
- package/dist/{vue-ui-digits-CLV8h-P8.js → vue-ui-digits-DOUNtmB0.js} +3 -3
- package/dist/{vue-ui-donut-sO6G5oor.js → vue-ui-donut-CWgiy7rq.js} +39 -38
- package/dist/{vue-ui-donut-evolution-XGJvBQIm.js → vue-ui-donut-evolution-DxH6i5aO.js} +81 -80
- package/dist/{vue-ui-dumbbell-Bi11rDL7.js → vue-ui-dumbbell-D7nhPGxL.js} +97 -96
- package/dist/{vue-ui-flow-RP2v-aZJ.js → vue-ui-flow-C8iSww9L.js} +127 -126
- package/dist/{vue-ui-funnel-TVQXGyw7.js → vue-ui-funnel-D3GZcM5e.js} +39 -38
- package/dist/{vue-ui-galaxy-CUURaWgH.js → vue-ui-galaxy-CUHEJHiw.js} +53 -52
- package/dist/{vue-ui-gauge-hTRlwARA.js → vue-ui-gauge-MM8rPNWR.js} +43 -42
- package/dist/{vue-ui-gizmo-CZIgBvWV.js → vue-ui-gizmo-CQ7XyocO.js} +6 -6
- package/dist/{vue-ui-heatmap-RKtFMgDP.js → vue-ui-heatmap-BT5orcuT.js} +98 -97
- package/dist/{vue-ui-history-plot-fbTG7Mke.js → vue-ui-history-plot-BCfEt867.js} +105 -104
- package/dist/{vue-ui-kpi-CfX-zUDS.js → vue-ui-kpi-D7zdt7-g.js} +15 -15
- package/dist/{vue-ui-mini-loader-C1nANuMy.js → vue-ui-mini-loader-CteWqKM_.js} +3 -3
- package/dist/{vue-ui-molecule-BU7T1ysb.js → vue-ui-molecule-DekqFbQ4.js} +54 -53
- package/dist/{vue-ui-mood-radar-Cb8cFWzE.js → vue-ui-mood-radar-CAC70QPW.js} +30 -29
- package/dist/{vue-ui-nested-donuts-DTZD8BTA.js → vue-ui-nested-donuts-BWj33o71.js} +69 -68
- package/dist/{vue-ui-onion-5xmlEUsJ.js → vue-ui-onion-Dq_XSxqp.js} +33 -32
- package/dist/{vue-ui-parallel-coordinate-plot-Wc0TbyJH.js → vue-ui-parallel-coordinate-plot-V6jytnl0.js} +61 -60
- package/dist/{vue-ui-pattern-DsYgSZWn.js → vue-ui-pattern-D5pNvoQp.js} +1 -1
- package/dist/{vue-ui-quadrant-BC99Cua7.js → vue-ui-quadrant-CmXgMy7I.js} +35 -34
- package/dist/{vue-ui-quick-chart-Cbv2UcEu.js → vue-ui-quick-chart-D2JQNfWU.js} +30 -29
- package/dist/{vue-ui-radar-B-ey_fDA.js → vue-ui-radar-BmmwGJaI.js} +90 -89
- package/dist/{vue-ui-rating-BNCKLcCa.js → vue-ui-rating-CjoKP6-5.js} +9 -9
- package/dist/{vue-ui-relation-circle-CYFQcAgc.js → vue-ui-relation-circle-CcGD2bEJ.js} +44 -43
- package/dist/{vue-ui-ridgeline-B_6K1FTc.js → vue-ui-ridgeline-DIOGXJ9v.js} +82 -81
- package/dist/{vue-ui-rings-D_BTgxYc.js → vue-ui-rings-DS-YbQVr.js} +74 -73
- package/dist/{vue-ui-scatter-B69SYOfv.js → vue-ui-scatter-D8kUADP7.js} +121 -120
- package/dist/{vue-ui-skeleton-CpkwgALO.js → vue-ui-skeleton-FtA6-6zz.js} +5 -5
- package/dist/{vue-ui-smiley-t16dEIoQ.js → vue-ui-smiley-YRRY-yQp.js} +28 -28
- package/dist/{vue-ui-spark-trend-DskdjYw4.js → vue-ui-spark-trend-qt8UvEPc.js} +47 -46
- package/dist/{vue-ui-sparkbar-C-evQIq2.js → vue-ui-sparkbar-DgHvA8ra.js} +16 -15
- package/dist/{vue-ui-sparkgauge-DycVSHAs.js → vue-ui-sparkgauge-BpMUqIL6.js} +32 -31
- package/dist/{vue-ui-sparkhistogram-CZLnlSUD.js → vue-ui-sparkhistogram-IhGjmoUF.js} +22 -21
- package/dist/{vue-ui-sparkline-C1nZRVTa.js → vue-ui-sparkline-BSGiRpQ9.js} +131 -130
- package/dist/{vue-ui-sparkstackbar-CUUeuwAI.js → vue-ui-sparkstackbar-ZkUUbYr5.js} +28 -27
- package/dist/{vue-ui-stackbar-D27Wq8Y4.js → vue-ui-stackbar-DRKIeZ1O.js} +77 -76
- package/dist/{vue-ui-strip-plot-D-srKJUr.js → vue-ui-strip-plot-dMjWaIcs.js} +52 -51
- package/dist/{vue-ui-table-LcImk124.js → vue-ui-table-DKHtmqLd.js} +9 -8
- package/dist/{vue-ui-table-heatmap-BfXe_f0K.js → vue-ui-table-heatmap-iu6l-6rW.js} +30 -29
- package/dist/{vue-ui-table-sparkline-DyrnPNGv.js → vue-ui-table-sparkline-mMpPAUon.js} +20 -19
- package/dist/{vue-ui-thermometer-DxRDmz-L.js → vue-ui-thermometer-xpHH3FWG.js} +66 -65
- package/dist/{vue-ui-timer-Bbzb09O8.js → vue-ui-timer-C4LZMTeg.js} +31 -31
- package/dist/{vue-ui-tiremarks-DWy1Dkub.js → vue-ui-tiremarks-KQmIXYf2.js} +30 -29
- package/dist/{vue-ui-treemap-C3Ek_E4n.js → vue-ui-treemap-a_Ub2bgB.js} +32 -31
- package/dist/{vue-ui-vertical-bar-CV3Mc1cX.js → vue-ui-vertical-bar-MWKYuUMN.js} +54 -53
- package/dist/{vue-ui-waffle-D2mQJdcV.js → vue-ui-waffle-CP6jUrto.js} +76 -75
- package/dist/{vue-ui-wheel-zbog7bII.js → vue-ui-wheel-B59kWUZd.js} +85 -84
- package/dist/{vue-ui-word-cloud-D9iZRkQP.js → vue-ui-word-cloud-DZnuhGEw.js} +49 -48
- package/dist/{vue-ui-world-D5dR5VdK.js → vue-ui-world-B6S7X6sr.js} +19 -19
- package/dist/{vue-ui-xy-Cll76_i9.js → vue-ui-xy-BjzutuG2.js} +135 -134
- package/dist/{vue-ui-xy-canvas-DJVXAfpL.js → vue-ui-xy-canvas-CSSVKhex.js} +166 -165
- package/package.json +19 -11
- package/dist/index-smzxfsyV.js +0 -8729
- package/dist/types/vue-data-ui.d.cts +0 -9435
- package/dist/useNestedProp-DeKmJzsE.js +0 -13
- package/dist/vue-data-ui-DcBYykse.js +0 -325
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as
|
|
2
|
-
import { c as ga,
|
|
3
|
-
import { t as ba, d as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { u as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
1
|
+
import { useCssVars as Yo, computed as x, ref as y, watch as ht, onMounted as Zl, onBeforeUnmount as Ll, onUpdated as ho, nextTick as Ml, createElementBlock as u, openBlock as n, createElementVNode as k, createCommentVNode as g, renderSlot as te, normalizeStyle as C, createVNode as ml, withDirectives as Oa, unref as h, Fragment as b, renderList as L, normalizeProps as Yt, mergeProps as Gt, normalizeClass as Ze, withKeys as fo, vModelText as mo, toDisplayString as re, defineAsyncComponent as Wt, useSlots as Go, getCurrentInstance as qo, toRefs as Uo, watchEffect as go, createBlock as ct, createSlots as xo, withCtx as we, guardReactiveProps as dl, Teleport as Zo, resolveDynamicComponent as Ko, vModelCheckbox as Jo, createTextVNode as bo } from "vue";
|
|
2
|
+
import { c as ga, z as xa, X as Qo, G as dt, ae as ya, W as pa, af as ka, V as wa, ag as yo, f as Na, t as jo, e as en, E as Ul, aa as hl, h as po, p as ko, ap as ha, a6 as j, a0 as Pa, a8 as tn, q as U, ac as ln, aq as wo, ar as So, a as Ae, as as an, A as on, j as $o, k as wt, d as lt, i as fl, s as vt, a4 as ie, Q as nn, ak as fa, N as un, at as Xt, D as Ue, b as sn, o as _o, x as rn, y as cn, F as _l } from "./lib-p5pfHmOX.js";
|
|
3
|
+
import { t as ba, d as vn, u as dn } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as hn, a as Fa } from "./useNestedProp-DF7e2h1z.js";
|
|
5
|
+
import { u as fn } from "./usePrinter-Yeu5jOfm.js";
|
|
6
|
+
import { u as mn, B as gn } from "./BaseScanner-BgWxam9d.js";
|
|
7
|
+
import { u as Mo, a as xn, l as bn } from "./useTimeLabels-BGFjWgrv.js";
|
|
8
|
+
import { u as yn } from "./useTimeLabelCollider-CIsgDrl9.js";
|
|
9
|
+
import pn from "./img-CH7J0fYg.js";
|
|
10
|
+
import kn from "./Title-pI68ZJsq.js";
|
|
11
|
+
import { t as wn } from "./themes-D3cUNuKw.js";
|
|
12
|
+
import { _ as ma } from "./Shape-BDy56-wS.js";
|
|
13
|
+
import Sn from "./BaseIcon-D2f9w5Z5.js";
|
|
13
14
|
import { _ as Lo } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
14
|
-
import $n from "./vue-ui-accordion-
|
|
15
|
+
import $n from "./vue-ui-accordion-D-L73-T2.js";
|
|
15
16
|
const _n = {
|
|
16
17
|
class: "vue-data-ui-slicer-labels",
|
|
17
18
|
style: { position: "relative", "z-index": "1", "pointer-events": "none" }
|
|
@@ -22,7 +23,7 @@ const _n = {
|
|
|
22
23
|
key: 0,
|
|
23
24
|
class: "minimap",
|
|
24
25
|
style: { width: "100%" }
|
|
25
|
-
}, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" },
|
|
26
|
+
}, Cn = ["xmlns", "viewBox"], An = ["id"], Tn = ["stop-color"], zn = ["width", "height", "stroke"], In = ["d", "stroke"], Nn = ["d", "fill"], Pn = ["x", "y", "width", "height", "fill"], Fn = ["d", "stroke"], Rn = ["cx", "cy", "fill", "stroke"], On = ["x", "width", "height", "fill", "rx"], Vn = ["x", "width", "height", "rx", "fill"], Bn = ["x", "width", "height", "fill", "rx"], En = ["x2", "y1", "y2", "stroke"], Hn = { key: "merged-tree" }, Dn = ["d", "fill"], Wn = ["d", "stroke"], Xn = ["cx", "cy", "stroke", "fill"], Yn = ["cx", "cy", "stroke", "fill"], Gn = { key: "split-tree" }, qn = ["x", "y", "width", "height", "fill"], Un = ["d", "stroke"], Zn = ["x", "height", "fill", "stroke"], Kn = ["x", "height", "fill", "stroke"], Jn = { key: "merged-tree" }, Qn = ["cx", "cy", "stroke", "fill"], jn = ["cx", "cy", "fill"], eu = ["cx", "cy", "stroke", "fill"], tu = ["cx", "cy", "fill"], lu = { key: 11 }, au = ["d", "stroke"], ou = ["cx", "cy", "fill", "stroke"], nu = ["cx", "cy", "stroke", "fill"], uu = ["cx", "cy", "fill"], iu = ["cx", "cy", "stroke", "fill"], su = ["cx", "cy", "fill"], ru = ["x", "height", "width", "onMouseenter"], cu = ["min", "max"], vu = ["min", "max"], Ra = 48, du = {
|
|
26
27
|
__name: "SlicerPreview",
|
|
27
28
|
props: {
|
|
28
29
|
immediate: {
|
|
@@ -196,11 +197,11 @@ const _n = {
|
|
|
196
197
|
"46ddce48": $.selectColor,
|
|
197
198
|
fcd4952c: zl.value
|
|
198
199
|
}));
|
|
199
|
-
const d = $, Ne = y(null), ce = y(d.min), fe = y(d.max), me = x(() => !!d.minimap.length), Cl = y(ga()), St = y(!1), Nt = x(() => me.value && d.minimapCompact), Kl = y(0),
|
|
200
|
+
const d = $, Ne = y(null), ce = y(d.min), fe = y(d.max), me = x(() => !!d.minimap.length), Cl = y(ga()), St = y(!1), Nt = x(() => me.value && d.minimapCompact), Kl = y(0), qt = ba((v) => Le("futureStart", v), 0), gl = ba((v) => Le("futureEnd", v), 0), Ut = x({
|
|
200
201
|
get: () => ce.value,
|
|
201
202
|
set(v) {
|
|
202
203
|
const m = Math.min(v, fe.value - 1);
|
|
203
|
-
m !== ce.value && (ce.value = m, Mt.value && (Mt.value.value = String(m)), d.immediate ? Le("update:start", Number(m)) : St.value &&
|
|
204
|
+
m !== ce.value && (ce.value = m, Mt.value && (Mt.value.value = String(m)), d.immediate ? Le("update:start", Number(m)) : St.value && qt(m));
|
|
204
205
|
}
|
|
205
206
|
}), $t = x({
|
|
206
207
|
get: () => fe.value,
|
|
@@ -275,7 +276,7 @@ const _n = {
|
|
|
275
276
|
if (me.value) {
|
|
276
277
|
const v = ba(() => {
|
|
277
278
|
if (!Jt.value) return;
|
|
278
|
-
const { width: m, height: f } =
|
|
279
|
+
const { width: m, height: f } = dn({ chart: Jt.value }), _ = Math.max(0, Math.round(m)), T = Math.max(0, Math.round(f - 47));
|
|
279
280
|
(_ !== W.value.width || T !== W.value.height) && (W.value.width = _, W.value.height = T);
|
|
280
281
|
}, 0);
|
|
281
282
|
le.value = new ResizeObserver(v), le.value.observe(Jt.value);
|
|
@@ -388,7 +389,7 @@ const _n = {
|
|
|
388
389
|
};
|
|
389
390
|
}), xt = y(d.minimapSelectedIndex), Rl = (v) => Math.round(d.min + v), Pt = x({
|
|
390
391
|
get() {
|
|
391
|
-
return Nt.value ? Ee.value : Number(
|
|
392
|
+
return Nt.value ? Ee.value : Number(Ut.value);
|
|
392
393
|
},
|
|
393
394
|
set(v) {
|
|
394
395
|
if (Nt.value) {
|
|
@@ -418,7 +419,7 @@ const _n = {
|
|
|
418
419
|
function A(v) {
|
|
419
420
|
xt.value = Ql(d.valueStart) + v;
|
|
420
421
|
}
|
|
421
|
-
const De =
|
|
422
|
+
const De = vn(A, 60);
|
|
422
423
|
ht(() => d.minimapSelectedIndex, (v, m) => {
|
|
423
424
|
if ([null, void 0].includes(v)) {
|
|
424
425
|
xt.value = null;
|
|
@@ -445,7 +446,7 @@ const _n = {
|
|
|
445
446
|
St.value = !0;
|
|
446
447
|
const m = p(v);
|
|
447
448
|
Number.isFinite(m) && (cancelAnimationFrame(tl), tl = requestAnimationFrame(() => {
|
|
448
|
-
|
|
449
|
+
Ut.value = m;
|
|
449
450
|
}));
|
|
450
451
|
}
|
|
451
452
|
let xe = 0;
|
|
@@ -483,7 +484,7 @@ const _n = {
|
|
|
483
484
|
let st = ll.value - kl;
|
|
484
485
|
st = Math.max(d.min, Math.min(st, d.max - S));
|
|
485
486
|
const Et = Math.min(d.max, st + S);
|
|
486
|
-
|
|
487
|
+
Ut.value = st, $t.value = Et, qt(st), gl(Et), yo(Ne.value, "mouseup"), await Ml(), yo(Ne.value, "mousedown", { clientX: T });
|
|
487
488
|
}
|
|
488
489
|
Ct.value = ce.value, Ma.value = fe.value, Bl.value = ea.value, nt = m ? "touchmove" : "mousemove", ut = m ? "touchend" : "mouseup", it = m ? ol : Xe, pt = m ? Fe : et, window.addEventListener(nt, it, { passive: !1 }), window.addEventListener(ut, pt);
|
|
489
490
|
};
|
|
@@ -504,7 +505,7 @@ const _n = {
|
|
|
504
505
|
let T = Math.round(Ct.value + _);
|
|
505
506
|
T = Math.max(d.min, Math.min(T, d.max - bt.value));
|
|
506
507
|
const D = T + bt.value;
|
|
507
|
-
|
|
508
|
+
Ut.value = T, $t.value = D, qt(T), gl(D);
|
|
508
509
|
}
|
|
509
510
|
function et() {
|
|
510
511
|
ta();
|
|
@@ -813,8 +814,8 @@ const _n = {
|
|
|
813
814
|
width: Nl(_, D),
|
|
814
815
|
height: T.v >= 0 ? T.y0 - T.y : T.y - T.y0,
|
|
815
816
|
fill: f.color,
|
|
816
|
-
style: C({ opacity: D >=
|
|
817
|
-
}, null, 12,
|
|
817
|
+
style: C({ opacity: D >= Ut.value && D < $t.value ? 1 : 0 })
|
|
818
|
+
}, null, 12, qn)) : g("", !0)
|
|
818
819
|
], 64))), 256))
|
|
819
820
|
]))), 256)),
|
|
820
821
|
(n(!0), u(b, null, L(Je.value.filter((f) => f.type === "line"), (f) => (n(), u("g", {
|
|
@@ -828,7 +829,7 @@ const _n = {
|
|
|
828
829
|
"stroke-width": "2",
|
|
829
830
|
"stroke-linecap": "round",
|
|
830
831
|
"stroke-linejoin": "round"
|
|
831
|
-
}, null, 8,
|
|
832
|
+
}, null, 8, Un)) : g("", !0)
|
|
832
833
|
]))), 128))
|
|
833
834
|
])),
|
|
834
835
|
me.value && $.minimapCompact ? (n(), u("rect", {
|
|
@@ -1092,7 +1093,7 @@ const _n = {
|
|
|
1092
1093
|
], 544)
|
|
1093
1094
|
], 544));
|
|
1094
1095
|
}
|
|
1095
|
-
}, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-3e0d2bcb"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"],
|
|
1096
|
+
}, hu = /* @__PURE__ */ Lo(du, [["__scopeId", "data-v-3e0d2bcb"]]), fu = ["id"], mu = ["id"], gu = ["viewBox", "aria-label"], xu = ["x", "y", "width", "height"], bu = { key: 1 }, yu = { class: "vue-ui-xy-grid" }, pu = ["stroke", "x1", "x2", "y1", "y2"], ku = ["stroke", "x1", "x2", "y1", "y2"], wu = { key: 1 }, Su = ["x1", "x2", "y1", "y2", "stroke"], $u = ["x1", "x2", "y1", "y2", "stroke"], _u = ["x1", "x2", "y1", "y2", "stroke"], Mu = { key: 3 }, Lu = ["d", "stroke"], Cu = { key: 4 }, Au = ["d", "stroke"], Tu = ["id"], zu = ["stop-color"], Iu = ["stop-color"], Nu = ["stop-color"], Pu = ["id"], Fu = ["stop-color"], Ru = ["stop-color"], Ou = ["stop-color"], Vu = ["id"], Bu = ["stop-color"], Eu = ["stop-color"], Hu = ["id"], Du = ["stop-color"], Wu = ["stop-color"], Xu = ["id"], Yu = ["stop-color"], Gu = ["stop-color"], qu = ["x", "y", "height", "width", "fill"], Uu = ["x", "y", "width"], Zu = { key: 0 }, Ku = ["x", "y", "height", "width", "fill"], Ju = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Qu = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], ju = ["width", "x", "y"], ei = { key: 0 }, ti = ["id"], li = ["fill"], ai = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], oi = ["x", "y", "font-size", "fill"], ni = ["stroke", "x1", "x2", "y1", "y2"], ui = { key: 3 }, ii = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], si = ["x", "y", "width", "height", "stroke", "stroke-width", "stroke-linecap", "stroke-linejoin", "stroke-dasharray"], ri = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ci = ["fill", "font-size", "transform"], vi = ["x1", "x2", "y1", "y2", "stroke"], di = ["x", "y", "font-size", "fill"], hi = ["x1", "x2", "y1", "y2", "stroke"], fi = ["x", "y", "font-size", "fill"], mi = ["width", "x", "y"], gi = { style: { width: "100%" } }, xi = { key: 0 }, bi = ["id"], yi = ["fill"], pi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], ki = ["x", "y", "font-size", "fill"], wi = ["d", "stroke", "stroke-width", "stroke-dasharray"], Si = ["d", "stroke", "stroke-width", "stroke-dasharray"], $i = { key: 6 }, _i = { key: 7 }, Mi = ["d", "fill", "fill-opacity"], Li = { key: 0 }, Ci = ["d", "fill"], Ai = ["d", "fill"], Ti = ["d", "fill"], zi = ["d", "fill"], Ii = ["d", "stroke", "stroke-width", "stroke-dasharray"], Ni = ["d", "stroke", "stroke-width", "stroke-dasharray"], Pi = ["width", "x", "y"], Fi = { style: { width: "100%" } }, Ri = { key: 3 }, Oi = ["id"], Vi = ["fill"], Bi = ["x1", "x2", "y1", "y2", "stroke", "marker-end"], Ei = ["x", "y", "font-size", "fill"], Hi = { key: 8 }, Di = ["x", "y", "font-size", "fill"], Wi = ["x", "y", "font-size", "fill", "font-weight"], Xi = { key: 9 }, Yi = ["x", "y", "font-size", "fill"], Gi = { key: 10 }, qi = ["x", "y"], Ui = ["innerHTML"], Zi = ["x", "y"], Ki = ["innerHTML"], Ji = ["x1", "x2", "y1", "y2", "stroke"], Qi = { key: 11 }, ji = ["x", "y", "font-size", "fill"], es = { key: 12 }, ts = ["x", "y"], ls = ["innerHTML"], as = ["x", "y"], os = ["innerHTML"], ns = ["x1", "x2", "y1", "y2", "stroke"], us = ["x", "y", "font-size", "fill", "innerHTML"], is = ["x", "y", "font-size", "fill", "innerHTML"], ss = ["x", "y", "font-size", "fill", "innerHTML"], rs = ["x", "y", "font-size", "fill", "innerHTML"], cs = ["id"], vs = ["stop-color"], ds = ["stop-color"], hs = ["x", "y", "width", "height", "fill", "onMouseenter"], fs = ["font-size", "fill", "transform"], ms = ["x", "y", "font-size", "fill"], gs = ["text-anchor", "font-size", "fill", "transform", "onClick"], xs = ["text-anchor", "font-size", "fill", "transform", "innerHTML", "onClick"], bs = { key: 15 }, ys = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ps = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], ks = ["y", "x", "width", "height", "fill"], ws = ["id", "x", "y", "font-size", "fill", "text-anchor"], Ss = {
|
|
1096
1097
|
key: 16,
|
|
1097
1098
|
style: { "pointer-events": "none" }
|
|
1098
1099
|
}, $s = ["x", "y"], _s = ["innerHTML"], Ms = ["cx", "cy", "r", "fill"], Ls = ["data-start", "data-end"], Cs = {
|
|
@@ -1128,7 +1129,7 @@ const _n = {
|
|
|
1128
1129
|
viewBox: "0 0 40 40",
|
|
1129
1130
|
height: "1em",
|
|
1130
1131
|
width: "1em"
|
|
1131
|
-
}, Gs = ["fill"],
|
|
1132
|
+
}, Gs = ["fill"], qs = ["fill"], Us = {
|
|
1132
1133
|
key: 2,
|
|
1133
1134
|
viewBox: "0 0 12 12",
|
|
1134
1135
|
height: "1em",
|
|
@@ -1158,7 +1159,7 @@ const _n = {
|
|
|
1158
1159
|
},
|
|
1159
1160
|
emits: ["selectTimeLabel", "selectX", "selectLegend"],
|
|
1160
1161
|
setup($, { expose: Sa, emit: $a }) {
|
|
1161
|
-
const d = $, Ne = Wt(() => import("./DataTable-
|
|
1162
|
+
const d = $, Ne = Wt(() => import("./DataTable-xISHA7Pu.js")), ce = Wt(() => import("./Tooltip-Clf2K3CF.js")), fe = Wt(() => import("./UserOptions-Bn3u4JQu.js")), me = Wt(() => import("./BaseIcon-D2f9w5Z5.js")), Cl = Wt(() => import("./vue-ui-table-sparkline-mMpPAUon.js")), St = Wt(() => import("./PackageVersion-DRpg18lg.js")), Nt = Wt(() => import("./PenAndPaper-CtDMyIvW.js")), Kl = Wt(() => import("./BaseDraggableDialog-Bf6A6G_f.js")), qt = $a, gl = Go(), Ut = qo(), { vue_ui_xy: $t } = hn(), Be = y(null), Te = y(null), Ke = y(null), Le = y(null), ft = y(null), _t = y(null), Al = y(null), Zt = y(null), Kt = y(null), Se = y(null), Tl = y(null), zl = y(null), mt = y(null), ne = y(null), Jl = y(0), E = y(null), Jt = y(!0), W = y(600), le = y(1e3), at = y("0 0 1000 600"), Ql = y({ x: 0, y: 0 }), Qt = y({ line: "line", bar: "bar", plot: "plot" }), Ee = y(!1), Pe = y(!1), xl = y(!1), ae = y(null), ve = y([]), Z = y(ga()), Il = y(0), Nl = y(0), Pl = y(0), He = y(!0), gt = y(0), X = y(null), jl = y(!1), Fl = y(!0), bl = y(!0), $e = y(null), ot = y({}), jt = y(null), H = y(!1), Je = y(null), M = y(null), xt = x(() => ({
|
|
1162
1163
|
height: W.value,
|
|
1163
1164
|
width: le.value
|
|
1164
1165
|
}));
|
|
@@ -1192,15 +1193,15 @@ const _n = {
|
|
|
1192
1193
|
userConfig: d.config,
|
|
1193
1194
|
defaultConfig: $t
|
|
1194
1195
|
});
|
|
1195
|
-
return d.config &&
|
|
1196
|
+
return d.config && Ue(d.config, "chart.highlightArea") && (Array.isArray(d.config.chart.highlightArea) ? l.chart.highlightArea = d.config.chart.highlightArea : l.chart.highlightArea = [d.config.chart.highlightArea]), d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMin") ? l.chart.grid.labels.yAxis.scaleMin = d.config.chart.grid.labels.yAxis.scaleMin : l.chart.grid.labels.yAxis.scaleMin = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.scaleMax") ? l.chart.grid.labels.yAxis.scaleMax = d.config.chart.grid.labels.yAxis.scaleMax : l.chart.grid.labels.yAxis.scaleMax = null, d.config && Ue(d.config, "chart.zoom.startIndex") ? l.chart.zoom.startIndex = d.config.chart.zoom.startIndex : l.chart.zoom.startIndex = null, d.config && Ue(d.config, "chart.zoom.endIndex") ? l.chart.zoom.endIndex = d.config.chart.zoom.endIndex : l.chart.zoom.endIndex = null, d.config && Ue(d.config, "chart.grid.labels.yAxis.groupColor") ? l.chart.grid.labels.yAxis.groupColor = d.config.chart.grid.labels.yAxis.groupColor : l.chart.grid.labels.yAxis.groupColor = null, d.config && Ue(d.config, "chart.annotations") && Array.isArray(d.config.chart.annotations) && d.config.chart.annotations.length ? l.chart.annotations = d.config.chart.annotations.map((s) => Fa({
|
|
1196
1197
|
defaultConfig: $t.chart.annotations[0],
|
|
1197
1198
|
userConfig: s
|
|
1198
|
-
})) : l.chart.annotations = [], d.config &&
|
|
1199
|
+
})) : l.chart.annotations = [], d.config && Ue(d.config, "chart.grid.position") && d.config.chart.grid.position === "start" && d.dataset.length && d.dataset.some((s) => s.type === "bar") && (l.chart.grid.position = "middle", Ue(d.config, "debug") && console.warn("Vue Data UI - VueUiXy - config.chart.grid.position was overriden to `middle` because your dataset contains a bar")), d.config && Ue(d.config, "chart.grid.labels.yAxis.serieNameFormatter") ? l.chart.grid.labels.yAxis.serieNameFormatter = d.config.chart.grid.labels.yAxis.serieNameFormatter : l.chart.grid.labels.yAxis.serieNameFormatter = null, d.config && Ue(d.config, "events.datapointEnter") ? l.events.datapointEnter = d.config.events.datapointEnter : l.events.datapointEnter = null, d.config && Ue(d.config, "events.datapointLeave") ? l.events.datapointLeave = d.config.events.datapointLeave : l.events.datapointLeave = null, d.config && Ue(d.config, "events.datapointClick") ? l.events.datapointClick = d.config.events.datapointClick : l.events.datapointClick = null, l.theme ? {
|
|
1199
1200
|
...Fa({
|
|
1200
|
-
userConfig:
|
|
1201
|
+
userConfig: wn.vue_ui_xy[l.theme] || d.config,
|
|
1201
1202
|
defaultConfig: l
|
|
1202
1203
|
}),
|
|
1203
|
-
customPalette:
|
|
1204
|
+
customPalette: sn[l.theme] || d.palette
|
|
1204
1205
|
} : l;
|
|
1205
1206
|
}
|
|
1206
1207
|
const Mt = x({
|
|
@@ -1226,8 +1227,8 @@ const _n = {
|
|
|
1226
1227
|
useIndividualScale: t.value.chart.grid.labels.yAxis.useIndividualScale
|
|
1227
1228
|
}, el.value = !0);
|
|
1228
1229
|
}
|
|
1229
|
-
const Lt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } =
|
|
1230
|
-
...
|
|
1230
|
+
const Lt = x(() => !!t.value.debug), { loading: xe, FINAL_DATASET: _e, manualLoading: bt } = mn({
|
|
1231
|
+
...Uo(d),
|
|
1231
1232
|
FINAL_CONFIG: t,
|
|
1232
1233
|
prepareConfig: Ol,
|
|
1233
1234
|
callback: () => {
|
|
@@ -1250,7 +1251,7 @@ const _n = {
|
|
|
1250
1251
|
color: "#CACACA"
|
|
1251
1252
|
}
|
|
1252
1253
|
],
|
|
1253
|
-
skeletonConfig:
|
|
1254
|
+
skeletonConfig: jo({
|
|
1254
1255
|
defaultConfig: t.value,
|
|
1255
1256
|
userConfig: {
|
|
1256
1257
|
useCssAnimation: !1,
|
|
@@ -1361,11 +1362,11 @@ const _n = {
|
|
|
1361
1362
|
const s = l - w.value.start;
|
|
1362
1363
|
s < 0 || l >= w.value.end ? M.value = null : M.value = s ?? null;
|
|
1363
1364
|
}, { immediate: !0 });
|
|
1364
|
-
const { isPrinting: Bl, isImaging: nt, generatePdf: ut, generateImage: it } =
|
|
1365
|
+
const { isPrinting: Bl, isImaging: nt, generatePdf: ut, generateImage: it } = fn({
|
|
1365
1366
|
elementId: `vue-ui-xy_${Z.value}`,
|
|
1366
1367
|
fileName: t.value.chart.title.text || "vue-ui-xy",
|
|
1367
1368
|
options: t.value.chart.userOptions.print
|
|
1368
|
-
}), pt = y(!1), ll = x(() =>
|
|
1369
|
+
}), pt = y(!1), ll = x(() => en(t.value.customPalette)), Rt = x(() => {
|
|
1369
1370
|
if (t.value.chart.grid.labels.yAxis.scaleMin !== null)
|
|
1370
1371
|
return t.value.chart.grid.labels.yAxis.scaleMin;
|
|
1371
1372
|
const l = Math.min(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.min(...s.series)));
|
|
@@ -1375,7 +1376,7 @@ const _n = {
|
|
|
1375
1376
|
return t.value.chart.grid.labels.yAxis.scaleMax;
|
|
1376
1377
|
const l = Math.max(...je.value.filter((s) => !ve.value.includes(s.id)).map((s) => Math.max(...s.series)));
|
|
1377
1378
|
return Rt.value === l ? l + 1 : l;
|
|
1378
|
-
}), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ?
|
|
1379
|
+
}), Xe = x(() => t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps) : hl(Rt.value, al.value < 0 ? 0 : al.value, t.value.chart.grid.labels.yAxis.commonScaleSteps)), ol = x(() => [null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) ? Xe.value.min >= 0 ? 0 : Math.abs(Xe.value.min) : -Xe.value.min), je = x(() => Jt.value ? _e.value.map((l, s) => {
|
|
1379
1380
|
const e = yt(l.series), i = `uniqueId_${s}`;
|
|
1380
1381
|
return {
|
|
1381
1382
|
...l,
|
|
@@ -1460,7 +1461,7 @@ const _n = {
|
|
|
1460
1461
|
}).filter(Boolean).join(" ");
|
|
1461
1462
|
});
|
|
1462
1463
|
function pl() {
|
|
1463
|
-
return !!
|
|
1464
|
+
return !!Ut?.vnode.props?.onSelectTimeLabel;
|
|
1464
1465
|
}
|
|
1465
1466
|
function la(l, s, e) {
|
|
1466
1467
|
if (!jt.value) {
|
|
@@ -1530,17 +1531,17 @@ const _n = {
|
|
|
1530
1531
|
if (!O.length)
|
|
1531
1532
|
return i.map((Y, B) => ({ text: "", absoluteIndex: B }));
|
|
1532
1533
|
const z = O.length, N = R, ee = Math.max(2, Math.min(N - 3, z)), I = Math.min(z, N + 3);
|
|
1533
|
-
let
|
|
1534
|
+
let q = Math.min(N, z), V = 1 / 0;
|
|
1534
1535
|
for (let Y = ee; Y <= I; Y += 1) {
|
|
1535
1536
|
const B = (z - 1) % (Y - 1), se = Math.abs(Y - N), Oe = B * 10 + se;
|
|
1536
|
-
Oe < V && (V = Oe,
|
|
1537
|
+
Oe < V && (V = Oe, q = Y);
|
|
1537
1538
|
}
|
|
1538
1539
|
const he = /* @__PURE__ */ new Set();
|
|
1539
|
-
if (
|
|
1540
|
+
if (q <= 1)
|
|
1540
1541
|
he.add(O[Math.round((z - 1) / 2)]);
|
|
1541
1542
|
else {
|
|
1542
|
-
const Y = (z - 1) / (
|
|
1543
|
-
for (let B = 0; B <
|
|
1543
|
+
const Y = (z - 1) / (q - 1);
|
|
1544
|
+
for (let B = 0; B < q; B += 1)
|
|
1544
1545
|
he.add(O[Math.round(B * Y)]);
|
|
1545
1546
|
}
|
|
1546
1547
|
return i.map((Y, B) => ({
|
|
@@ -1571,7 +1572,7 @@ const _n = {
|
|
|
1571
1572
|
prefix: i.prefix || t.value.chart.labels.prefix,
|
|
1572
1573
|
suffix: i.suffix || t.value.chart.labels.suffix
|
|
1573
1574
|
}));
|
|
1574
|
-
|
|
1575
|
+
qt("selectTimeLabel", {
|
|
1575
1576
|
datapoint: e,
|
|
1576
1577
|
absoluteIndex: l.absoluteIndex,
|
|
1577
1578
|
label: l.text
|
|
@@ -1635,10 +1636,10 @@ const _n = {
|
|
|
1635
1636
|
const ze = x(() => isNaN(sl(ol.value)) ? c.value.bottom : c.value.bottom - c.value.height * sl(ol.value));
|
|
1636
1637
|
function Ba(l) {
|
|
1637
1638
|
const s = ![null, void 0].includes(t.value.chart.grid.labels.yAxis.scaleMin) && t.value.chart.grid.labels.yAxis.scaleMin > 0 && Rt.value >= 0 ? c.value.bottom : ze.value;
|
|
1638
|
-
return l.value >= 0 ?
|
|
1639
|
+
return l.value >= 0 ? U(s - l.y <= 0 ? 1e-5 : s - l.y) : U(l.y - ze.value <= 0 ? 1e-5 : l.y - ze.value);
|
|
1639
1640
|
}
|
|
1640
1641
|
function Ea(l) {
|
|
1641
|
-
return l.value >= 0 ?
|
|
1642
|
+
return l.value >= 0 ? U(l.zeroPosition - l.y <= 0 ? 1e-5 : l.zeroPosition - l.y) : U(l.y - l.zeroPosition <= 0 ? 1e-5 : l.zeroPosition - l.y);
|
|
1642
1643
|
}
|
|
1643
1644
|
const de = x(() => {
|
|
1644
1645
|
const l = Math.max(1, S.value), s = Math.max(1, c.value.width), e = Math.max(1, je.value.filter((i) => i.type === "bar" && !ve.value.includes(i.id)).length);
|
|
@@ -1718,7 +1719,7 @@ const _n = {
|
|
|
1718
1719
|
color: e.color,
|
|
1719
1720
|
type: e.type
|
|
1720
1721
|
}));
|
|
1721
|
-
|
|
1722
|
+
qt(
|
|
1722
1723
|
"selectX",
|
|
1723
1724
|
{
|
|
1724
1725
|
dataset: s,
|
|
@@ -1737,7 +1738,7 @@ const _n = {
|
|
|
1737
1738
|
}
|
|
1738
1739
|
async function To({ scale: l = 2 } = {}) {
|
|
1739
1740
|
if (!Be.value) return;
|
|
1740
|
-
const { width: s, height: e } = Be.value.getBoundingClientRect(), i = s / e, { imageUri: a, base64: r } = await
|
|
1741
|
+
const { width: s, height: e } = Be.value.getBoundingClientRect(), i = s / e, { imageUri: a, base64: r } = await pn({ domElement: Be.value, base64: !0, img: !0, scale: l });
|
|
1741
1742
|
return {
|
|
1742
1743
|
imageUri: a,
|
|
1743
1744
|
base64: r,
|
|
@@ -1754,7 +1755,7 @@ const _n = {
|
|
|
1754
1755
|
if (ve.value.length + 1 === je.value.length) return;
|
|
1755
1756
|
ve.value.push(l.id);
|
|
1756
1757
|
}
|
|
1757
|
-
|
|
1758
|
+
qt("selectLegend", Fe.value.map((s) => ({
|
|
1758
1759
|
name: s.name,
|
|
1759
1760
|
values: s.absoluteValues,
|
|
1760
1761
|
color: s.color,
|
|
@@ -1764,7 +1765,7 @@ const _n = {
|
|
|
1764
1765
|
const zo = x(() => {
|
|
1765
1766
|
const l = t.value.chart.title.text || "Chart visualization", s = t.value.chart.title.subtitle.text || "";
|
|
1766
1767
|
return `${l}. ${s}`;
|
|
1767
|
-
}),
|
|
1768
|
+
}), qa = x(() => ({
|
|
1768
1769
|
linePlot: S.value > t.value.line.dot.hideAboveMaxSerieLength
|
|
1769
1770
|
})), Io = x(() => t.value.chart.userOptions.show && (!t.value.chart.title.show || !t.value.chart.title.text)), No = x(() => {
|
|
1770
1771
|
if (Array.isArray(t.value.chart.highlightArea))
|
|
@@ -1780,7 +1781,7 @@ const _n = {
|
|
|
1780
1781
|
to: Math.min(t.value.chart.highlightArea.to, Qe.value - 1)
|
|
1781
1782
|
};
|
|
1782
1783
|
return [{ ...l, span: l.from === l.to ? 1 : l.to < l.from ? 0 : l.to - l.from + 1 }];
|
|
1783
|
-
}),
|
|
1784
|
+
}), Ua = x(() => Jt.value ? _e.value.map((l, s) => ({
|
|
1784
1785
|
...l,
|
|
1785
1786
|
series: yt(l.series),
|
|
1786
1787
|
id: `uniqueId_${s}`,
|
|
@@ -1819,7 +1820,7 @@ const _n = {
|
|
|
1819
1820
|
sparkline: {
|
|
1820
1821
|
animation: { show: !1 }
|
|
1821
1822
|
}
|
|
1822
|
-
})), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() =>
|
|
1823
|
+
})), ue = x(() => t.value.chart.grid.position === "middle" ? 0 : c.value.width / S.value / 2), cl = x(() => tn(et.value.filter((l) => !ve.value.includes(l.id)))), P = x(() => {
|
|
1823
1824
|
const l = Object.groupBy(cl.value, (e) => e.scaleLabel), s = {};
|
|
1824
1825
|
for (const [e, i] of Object.entries(l)) {
|
|
1825
1826
|
const a = i.flatMap((r) => r.absoluteValues);
|
|
@@ -1835,12 +1836,12 @@ const _n = {
|
|
|
1835
1836
|
return c.value.width / S.value / l - ia.value * l;
|
|
1836
1837
|
}), ia = x(() => de.value.line * t.value.bar.periodGap), sa = x(() => Math.max(1e-5, wl() - (p.value.useIndividualScale && p.value.isStacked ? 0 : ia.value))), ra = x(() => sa.value * Math.min(Math.abs(t.value.bar.innerGap), 0.95)), Oo = x(() => {
|
|
1837
1838
|
if (!t.value.chart.zoom.minimap.show) return [];
|
|
1838
|
-
const l =
|
|
1839
|
+
const l = Ua.value.filter((a) => !ve.value.includes(a.id)), s = Math.max(...l.map((a) => a.series.length)), e = [];
|
|
1839
1840
|
for (let a = 0; a < s; a += 1)
|
|
1840
1841
|
e.push(l.map((r) => r.series[a] || 0).reduce((r, o) => (r || 0) + (o || 0), 0));
|
|
1841
1842
|
const i = Math.min(...e);
|
|
1842
1843
|
return e.map((a) => a + (i < 0 ? Math.abs(i) : 0));
|
|
1843
|
-
}), Vo = x(() => t.value.chart.zoom.minimap.show ?
|
|
1844
|
+
}), Vo = x(() => t.value.chart.zoom.minimap.show ? Ua.value.map((s) => ({
|
|
1844
1845
|
...s,
|
|
1845
1846
|
isVisible: !ve.value.includes(s.id)
|
|
1846
1847
|
})) : []), zt = x(() => Fe.value.map((l) => ({
|
|
@@ -1870,7 +1871,7 @@ const _n = {
|
|
|
1870
1871
|
return a - N * r;
|
|
1871
1872
|
};
|
|
1872
1873
|
return s.map((z) => {
|
|
1873
|
-
const { yAxis: { yTop: N, yBottom: ee, label: I } } = z,
|
|
1874
|
+
const { yAxis: { yTop: N, yBottom: ee, label: I } } = z, q = N != null && ee != null && N !== ee, V = N == null ? null : O(N), he = ee == null ? null : O(ee), Y = la(I.fontSize);
|
|
1874
1875
|
Y.font = `${I.fontSize}px sans-serif`;
|
|
1875
1876
|
const B = Y.measureText(I.text).width, se = I.fontSize, Oe = (I.position === "start" ? e + I.padding.left : i - I.padding.right) + I.offsetX, Ge = (V != null && he != null ? Math.min(V, he) : V ?? he) - I.fontSize / 3 + I.offsetY - I.padding.top;
|
|
1876
1877
|
let J;
|
|
@@ -1879,8 +1880,8 @@ const _n = {
|
|
|
1879
1880
|
return {
|
|
1880
1881
|
show: ![V, he, Q].includes(NaN),
|
|
1881
1882
|
id: `annotation_y_${ga()}`,
|
|
1882
|
-
hasArea:
|
|
1883
|
-
areaHeight:
|
|
1883
|
+
hasArea: q,
|
|
1884
|
+
areaHeight: q ? Math.abs(V - he) : 0,
|
|
1884
1885
|
yTop: V,
|
|
1885
1886
|
yBottom: he,
|
|
1886
1887
|
config: z.yAxis,
|
|
@@ -1918,31 +1919,31 @@ const _n = {
|
|
|
1918
1919
|
}, N = {
|
|
1919
1920
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
1920
1921
|
min: o.scaleMin || Math.min(...o.absoluteValues.filter((K) => ![void 0, null].includes(K))) > 0 ? 0 : Math.min(...o.absoluteValues.filter((K) => ![null, void 0].includes(K)))
|
|
1921
|
-
}, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001,
|
|
1922
|
+
}, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + he, se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, qe = c.value.bottom - J - Q * Y / se, Ie = et.value.filter((K) => K.type === "bar").filter((K) => !ve.value.includes(K.id)).length, Gl = o.series.map((K, pe) => {
|
|
1922
1923
|
const Dt = p.value.useIndividualScale ? (o.absoluteValues[pe] + he) / B : sl(K), vl = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left + de.value.bar * F + de.value.bar * pe * Ie - Ro.value / 2 - F * ia.value;
|
|
1923
1924
|
return {
|
|
1924
|
-
yOffset:
|
|
1925
|
-
individualHeight:
|
|
1926
|
-
x:
|
|
1925
|
+
yOffset: U(J),
|
|
1926
|
+
individualHeight: U(Q),
|
|
1927
|
+
x: U(vl),
|
|
1927
1928
|
y: c.value.bottom - J - Q * Dt,
|
|
1928
1929
|
value: o.absoluteValues[pe],
|
|
1929
|
-
zeroPosition:
|
|
1930
|
-
individualMax:
|
|
1930
|
+
zeroPosition: U(be),
|
|
1931
|
+
individualMax: U(B),
|
|
1931
1932
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
|
|
1932
1933
|
};
|
|
1933
1934
|
}), Ve = o.absoluteValues.map((K) => V.min >= 0 ? (K - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (K + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ht = o.series.map((K, pe) => {
|
|
1934
1935
|
const Dt = p.value.useIndividualScale && p.value.isStacked ? c.value.left + c.value.width / S.value * pe : c.value.left - de.value.bar / 2 + de.value.bar * F + de.value.bar * pe * et.value.filter((vl) => vl.type === "bar").filter((vl) => !ve.value.includes(vl.id)).length;
|
|
1935
1936
|
return {
|
|
1936
|
-
yOffset:
|
|
1937
|
-
individualHeight:
|
|
1938
|
-
x:
|
|
1939
|
-
y:
|
|
1937
|
+
yOffset: U(J),
|
|
1938
|
+
individualHeight: U(Q),
|
|
1939
|
+
x: U(Dt),
|
|
1940
|
+
y: U(c.value.bottom - U(J) - (U(Q) * Ve[pe] || 0)),
|
|
1940
1941
|
value: o.absoluteValues[pe],
|
|
1941
|
-
zeroPosition:
|
|
1942
|
-
individualMax:
|
|
1942
|
+
zeroPosition: U(be),
|
|
1943
|
+
individualMax: U(B),
|
|
1943
1944
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[pe] || ""
|
|
1944
1945
|
};
|
|
1945
|
-
}), oe =
|
|
1946
|
+
}), oe = q.ticks.map((K) => ({
|
|
1946
1947
|
y: K >= 0 ? be - Q * (K / B) : be + Q * Math.abs(K) / B,
|
|
1947
1948
|
value: K,
|
|
1948
1949
|
prefix: o.prefix || t.value.chart.labels.prefix,
|
|
@@ -1951,22 +1952,22 @@ const _n = {
|
|
|
1951
1952
|
})), ye = V.ticks.map((K) => {
|
|
1952
1953
|
const pe = (K - V.min) / (V.max - V.min);
|
|
1953
1954
|
return {
|
|
1954
|
-
y: K >= 0 ?
|
|
1955
|
+
y: K >= 0 ? qe - Q * pe : qe + Q * pe,
|
|
1955
1956
|
value: K,
|
|
1956
1957
|
prefix: o.prefix || t.value.chart.labels.prefix,
|
|
1957
1958
|
suffix: o.suffix || t.value.chart.labels.suffix,
|
|
1958
1959
|
datapoint: o
|
|
1959
1960
|
};
|
|
1960
1961
|
});
|
|
1961
|
-
return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ye : oe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ?
|
|
1962
|
+
return P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? ye : oe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = ye, P.value[o.scaleLabel].unique = cl.value.filter((K) => K.scaleLabel === o.scaleLabel).length === 1, {
|
|
1962
1963
|
...o,
|
|
1963
1964
|
yOffset: J,
|
|
1964
1965
|
autoScaleYLabels: ye,
|
|
1965
1966
|
individualHeight: Q,
|
|
1966
1967
|
scaleYLabels: o.autoScaling ? ye : oe,
|
|
1967
|
-
individualScale: o.autoScaling ? V :
|
|
1968
|
+
individualScale: o.autoScaling ? V : q,
|
|
1968
1969
|
individualMax: o.autoScaling ? se : B,
|
|
1969
|
-
zeroPosition: o.autoScaling ?
|
|
1970
|
+
zeroPosition: o.autoScaling ? qe : be,
|
|
1970
1971
|
plots: o.autoScaling ? Ht : Gl,
|
|
1971
1972
|
groupId: P.value[o.scaleLabel].groupId
|
|
1972
1973
|
};
|
|
@@ -1983,25 +1984,25 @@ const _n = {
|
|
|
1983
1984
|
}, N = {
|
|
1984
1985
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
1985
1986
|
min: o.scaleMin || (Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues))
|
|
1986
|
-
}, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001,
|
|
1987
|
+
}, ee = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, I = 1.0000001, q = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(N.min, N.max === N.min ? N.max * I : N.max, ee) : hl(N.min, N.max === N.min ? N.max * I : N.max, ee), V = t.value.chart.grid.labels.yAxis.useNiceScale ? Ul(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee) : hl(z.valueMin, z.valueMax === z.valueMin ? z.valueMax * I : z.valueMax, ee), he = q.min >= 0 ? 0 : Math.abs(q.min), Y = 0, B = q.max + Math.abs(he), se = V.max + Math.abs(Y), Oe = o.stackIndex, $l = s - 1 - Oe, Ge = i ? 1 - o.cumulatedStackRatio : 0, J = i ? r * Ge + e * $l : 0, Q = i ? r * o.stackRatio : c.value.height, be = c.value.bottom - J - Q * he / B, qe = c.value.bottom - J - Q * Y / se, Ie = o.series.map((G, Ce) => {
|
|
1987
1988
|
const Xo = p.value.useIndividualScale ? (o.absoluteValues[Ce] + Math.abs(he)) / B : sl(G);
|
|
1988
1989
|
return {
|
|
1989
|
-
x:
|
|
1990
|
-
y:
|
|
1990
|
+
x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
|
|
1991
|
+
y: U(c.value.bottom - J - Q * Xo),
|
|
1991
1992
|
value: o.absoluteValues[Ce],
|
|
1992
1993
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
|
|
1993
1994
|
};
|
|
1994
1995
|
}), Gl = o.absoluteValues.map((G) => V.min >= 0 ? (G - Math.abs(V.min)) / (V.max - Math.abs(V.min)) : (G + Math.abs(V.min)) / (V.max + Math.abs(V.min))), Ve = o.series.map((G, Ce) => [void 0, null].includes(o.absoluteValues[Ce]) ? {
|
|
1995
|
-
x:
|
|
1996
|
+
x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
|
|
1996
1997
|
y: be,
|
|
1997
1998
|
value: o.absoluteValues[Ce],
|
|
1998
1999
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
|
|
1999
2000
|
} : {
|
|
2000
|
-
x:
|
|
2001
|
-
y:
|
|
2001
|
+
x: U(c.value.left + de.value.line / 2 + de.value.line * Ce),
|
|
2002
|
+
y: U(c.value.bottom - J - (Q * Gl[Ce] || 0)),
|
|
2002
2003
|
value: o.absoluteValues[Ce],
|
|
2003
2004
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[Ce] || ""
|
|
2004
|
-
}), Ht = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe =
|
|
2005
|
+
}), Ht = t.value.line.cutNullValues ? ya(Ie) : pa(Ie.filter((G) => G.value !== null)), oe = t.value.line.cutNullValues ? ya(Ve) : pa(Ve.filter((G) => G.value !== null)), ye = t.value.line.cutNullValues ? ka(Ie) : wa(Ie.filter((G) => G.value !== null)), K = t.value.line.cutNullValues ? ka(Ve) : wa(Ve.filter((G) => G.value !== null)), pe = q.ticks.map((G) => ({
|
|
2005
2006
|
y: G >= 0 ? be - Q * (G / B) : be + Q * Math.abs(G) / B,
|
|
2006
2007
|
value: G,
|
|
2007
2008
|
prefix: o.prefix || t.value.chart.labels.prefix,
|
|
@@ -2010,36 +2011,36 @@ const _n = {
|
|
|
2010
2011
|
})), Dt = V.ticks.map((G) => {
|
|
2011
2012
|
const Ce = (G - V.min) / (V.max - V.min);
|
|
2012
2013
|
return {
|
|
2013
|
-
y: G >= 0 ?
|
|
2014
|
+
y: G >= 0 ? qe - Q * Ce : qe + Q * Ce,
|
|
2014
2015
|
value: G,
|
|
2015
2016
|
prefix: o.prefix || t.value.chart.labels.prefix,
|
|
2016
2017
|
suffix: o.suffix || t.value.chart.labels.suffix,
|
|
2017
2018
|
datapoint: o
|
|
2018
2019
|
};
|
|
2019
2020
|
});
|
|
2020
|
-
P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ?
|
|
2021
|
-
const vl = p.value.useIndividualScale ? o.autoScaling ?
|
|
2021
|
+
P.value[o.scaleLabel].name = o.name, P.value[o.scaleLabel].groupName = o.scaleLabel, P.value[o.scaleLabel].groupColor = t.value.chart.grid.labels.yAxis.groupColor || o.color, P.value[o.scaleLabel].color = o.color, P.value[o.scaleLabel].scaleYLabels = o.autoScaling ? Dt : pe, P.value[o.scaleLabel].zeroPosition = o.autoScaling ? qe : be, P.value[o.scaleLabel].individualMax = o.autoScaling ? se : B, P.value[o.scaleLabel].scaleLabel = o.scaleLabel, P.value[o.scaleLabel].id = o.id, P.value[o.scaleLabel].yOffset = J, P.value[o.scaleLabel].individualHeight = Q, P.value[o.scaleLabel].autoScaleYLabels = Dt, P.value[o.scaleLabel].unique = cl.value.filter((G) => G.scaleLabel === o.scaleLabel).length === 1;
|
|
2022
|
+
const vl = p.value.useIndividualScale ? o.autoScaling ? qe : be : ze.value, ql = Math.max(Math.max(o.autoScaling ? qe : pe.at(-1) ? pe.at(-1).y : 0, c.value.top), vl);
|
|
2022
2023
|
return {
|
|
2023
2024
|
...o,
|
|
2024
2025
|
yOffset: J,
|
|
2025
2026
|
autoScaleYLabels: Dt,
|
|
2026
2027
|
individualHeight: Q,
|
|
2027
2028
|
scaleYLabels: o.autoScaling ? Dt : pe,
|
|
2028
|
-
individualScale: o.autoScaling ? V :
|
|
2029
|
+
individualScale: o.autoScaling ? V : q,
|
|
2029
2030
|
individualMax: o.autoScaling ? se : B,
|
|
2030
|
-
zeroPosition: o.autoScaling ?
|
|
2031
|
+
zeroPosition: o.autoScaling ? qe : be,
|
|
2031
2032
|
curve: o.autoScaling ? oe : Ht,
|
|
2032
2033
|
plots: o.autoScaling ? Ve : Ie,
|
|
2033
2034
|
area: o.useArea ? p.value.useIndividualScale ? t.value.line.cutNullValues ? wo(
|
|
2034
2035
|
o.autoScaling ? Ve : Ie,
|
|
2035
|
-
|
|
2036
|
+
ql
|
|
2036
2037
|
) : So(
|
|
2037
2038
|
o.autoScaling ? Ve.filter((G) => G.value !== null) : Ie.filter((G) => G.value !== null),
|
|
2038
|
-
|
|
2039
|
-
) : t.value.line.cutNullValues ? wo(Ie,
|
|
2040
|
-
curveAreas: o.useArea ?
|
|
2039
|
+
ql
|
|
2040
|
+
) : t.value.line.cutNullValues ? wo(Ie, ql) : So(Ie.filter((G) => G.value !== null), ql) : "",
|
|
2041
|
+
curveAreas: o.useArea ? ln(
|
|
2041
2042
|
o.autoScaling ? t.value.line.cutNullValues ? Ve : Ve.filter((G) => G.value !== null) : t.value.line.cutNullValues ? Ie : Ie.filter((G) => G.value !== null),
|
|
2042
|
-
|
|
2043
|
+
ql,
|
|
2043
2044
|
t.value.line.cutNullValues
|
|
2044
2045
|
) : [],
|
|
2045
2046
|
straight: o.autoScaling ? K : ye,
|
|
@@ -2058,17 +2059,17 @@ const _n = {
|
|
|
2058
2059
|
}, z = {
|
|
2059
2060
|
max: o.scaleMax || Math.max(...o.absoluteValues) || 1,
|
|
2060
2061
|
min: o.scaleMin || Math.min(...o.absoluteValues) > 0 ? 0 : Math.min(...o.absoluteValues)
|
|
2061
|
-
}, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(z.min, z.max === z.min ? z.max * ee : z.max, N),
|
|
2062
|
+
}, N = o.scaleSteps || t.value.chart.grid.labels.yAxis.commonScaleSteps, ee = 1.0000001, I = hl(z.min, z.max === z.min ? z.max * ee : z.max, N), q = hl(O.valueMin, O.valueMax === O.valueMin ? O.valueMax * ee : O.valueMax, N), V = I.min >= 0 ? 0 : Math.abs(I.min), he = 0, Y = I.max + V, B = q.max + Math.abs(he), se = o.stackIndex, Oe = s - 1 - se, $l = i ? 1 - o.cumulatedStackRatio : 0, Ge = i ? r * $l + e * Oe : 0, J = i ? r * o.stackRatio : c.value.height, Q = c.value.bottom - Ge - J * V / Y, be = c.value.bottom - Ge - J * he / B, qe = o.series.map((oe, ye) => {
|
|
2062
2063
|
const K = p.value.useIndividualScale ? (o.absoluteValues[ye] + Math.abs(V)) / Y : sl(oe);
|
|
2063
2064
|
return {
|
|
2064
|
-
x:
|
|
2065
|
-
y:
|
|
2065
|
+
x: U(c.value.left + de.value.plot / 2 + de.value.plot * ye),
|
|
2066
|
+
y: U(c.value.bottom - Ge - J * K),
|
|
2066
2067
|
value: o.absoluteValues[ye],
|
|
2067
2068
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
|
|
2068
2069
|
};
|
|
2069
|
-
}), Ie = o.absoluteValues.map((oe) =>
|
|
2070
|
-
x:
|
|
2071
|
-
y:
|
|
2070
|
+
}), Ie = o.absoluteValues.map((oe) => q.min >= 0 ? (oe - Math.abs(q.min)) / (q.max - Math.abs(q.min)) : (oe + Math.abs(q.min)) / (q.max + Math.abs(q.min))), Gl = o.series.map((oe, ye) => ({
|
|
2071
|
+
x: U(c.value.left + de.value.plot / 2 + de.value.plot * ye),
|
|
2072
|
+
y: U(c.value.bottom - Ge - (J * Ie[ye] || 0)),
|
|
2072
2073
|
value: o.absoluteValues[ye],
|
|
2073
2074
|
comment: o.comments && o.comments.slice(w.value.start, w.value.end)[ye] || ""
|
|
2074
2075
|
})), Ve = I.ticks.map((oe) => ({
|
|
@@ -2077,8 +2078,8 @@ const _n = {
|
|
|
2077
2078
|
prefix: o.prefix || t.value.chart.labels.prefix,
|
|
2078
2079
|
suffix: o.suffix || t.value.chart.labels.suffix,
|
|
2079
2080
|
datapoint: o
|
|
2080
|
-
})), Ht =
|
|
2081
|
-
const ye = (oe -
|
|
2081
|
+
})), Ht = q.ticks.map((oe) => {
|
|
2082
|
+
const ye = (oe - q.min) / (q.max - q.min);
|
|
2082
2083
|
return {
|
|
2083
2084
|
y: oe >= 0 ? be - J * ye : be + J * ye,
|
|
2084
2085
|
value: oe,
|
|
@@ -2093,10 +2094,10 @@ const _n = {
|
|
|
2093
2094
|
autoScaleYLabels: Ht,
|
|
2094
2095
|
individualHeight: J,
|
|
2095
2096
|
scaleYLabels: o.autoScaling ? Ht : Ve,
|
|
2096
|
-
individualScale: o.autoScaling ?
|
|
2097
|
+
individualScale: o.autoScaling ? q : I,
|
|
2097
2098
|
individualMax: o.autoScaling ? B : Y,
|
|
2098
2099
|
zeroPosition: o.autoScaling ? be : Q,
|
|
2099
|
-
plots: o.autoScaling ? Gl :
|
|
2100
|
+
plots: o.autoScaling ? Gl : qe,
|
|
2100
2101
|
groupId: P.value[o.scaleLabel].groupId
|
|
2101
2102
|
};
|
|
2102
2103
|
});
|
|
@@ -2173,7 +2174,7 @@ const _n = {
|
|
|
2173
2174
|
const R = Re.value.find((I) => I.name === o), O = Re.value.find((I) => I.name === F);
|
|
2174
2175
|
if (!R || !O || R.type !== "line" || O.type !== "line") return;
|
|
2175
2176
|
const z = e?.[r]?.[0] ?? R.color, N = e?.[r]?.[1] ?? O.color;
|
|
2176
|
-
|
|
2177
|
+
an({
|
|
2177
2178
|
lineA: R.plots,
|
|
2178
2179
|
lineB: O.plots,
|
|
2179
2180
|
smoothA: !!R.smooth,
|
|
@@ -2182,8 +2183,8 @@ const _n = {
|
|
|
2182
2183
|
colorLineB: N,
|
|
2183
2184
|
sampleStepPx: 2,
|
|
2184
2185
|
cutNullValues: t.value.line.cutNullValues
|
|
2185
|
-
}).forEach((I,
|
|
2186
|
-
i.push({ ...I, key: `inter_${o}_${F}_${r}_${
|
|
2186
|
+
}).forEach((I, q) => {
|
|
2187
|
+
i.push({ ...I, key: `inter_${o}_${F}_${r}_${q}` });
|
|
2187
2188
|
});
|
|
2188
2189
|
}), i;
|
|
2189
2190
|
}), ja = x(() => ({
|
|
@@ -2195,9 +2196,9 @@ const _n = {
|
|
|
2195
2196
|
plots: rt.value,
|
|
2196
2197
|
config: t.value
|
|
2197
2198
|
})), Sl = x(() => {
|
|
2198
|
-
const l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s =
|
|
2199
|
+
const l = t.value.chart.grid.labels.xAxisLabels.datetimeFormatter, s = xn({
|
|
2199
2200
|
useUTC: l.useUTC,
|
|
2200
|
-
locale:
|
|
2201
|
+
locale: bn[l.locale] || { months: [], shortMonths: [], days: [], shortDays: [] },
|
|
2201
2202
|
januaryAsYear: l.januaryAsYear
|
|
2202
2203
|
});
|
|
2203
2204
|
return (e, i) => {
|
|
@@ -2239,7 +2240,7 @@ const _n = {
|
|
|
2239
2240
|
const Bo = x(() => {
|
|
2240
2241
|
let l = "", s = zt.value.map((a) => a.value).filter((a) => ha(a) && a !== null).reduce((a, r) => Math.abs(a) + Math.abs(r), 0);
|
|
2241
2242
|
const e = v.value[M.value], i = t.value.chart.tooltip.customFormat;
|
|
2242
|
-
if (xa(i) &&
|
|
2243
|
+
if (xa(i) && on(() => i({
|
|
2243
2244
|
absoluteIndex: M.value + w.value.start,
|
|
2244
2245
|
seriesIndex: M.value,
|
|
2245
2246
|
datapoint: zt.value,
|
|
@@ -2314,7 +2315,7 @@ const _n = {
|
|
|
2314
2315
|
}),
|
|
2315
2316
|
{ datapoint: a }
|
|
2316
2317
|
) : ""}</b> ${t.value.chart.tooltip.showPercentage ? `(${lt({
|
|
2317
|
-
v:
|
|
2318
|
+
v: U(Math.abs(a.value) / s * 100),
|
|
2318
2319
|
s: "%",
|
|
2319
2320
|
r: t.value.chart.tooltip.roundingPercentage
|
|
2320
2321
|
})})` : ""}</div>`, t.value.chart.comments.showInTooltip && a.comments.length && a.comments.slice(w.value.start, w.value.end)[M.value] && (l += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.comments.slice(w.value.start, w.value.end)[M.value]}</div>`);
|
|
@@ -2373,8 +2374,8 @@ const _n = {
|
|
|
2373
2374
|
return { head: s, body: e, config: i, colNames: a };
|
|
2374
2375
|
});
|
|
2375
2376
|
function Ta(l = null) {
|
|
2376
|
-
const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], i = eo.value.body, a = s.concat([e]).concat(i), r =
|
|
2377
|
-
l ? l(r) :
|
|
2377
|
+
const s = [[t.value.chart.title.text], [t.value.chart.title.subtitle.text], [""]], e = ["", ...eo.value.head.map((o) => o.label)], i = eo.value.body, a = s.concat([e]).concat(i), r = rn(a);
|
|
2378
|
+
l ? l(r) : cn({ csvContent: r, title: t.value.chart.title.text || "vue-ui-xy" });
|
|
2378
2379
|
}
|
|
2379
2380
|
function to(l, s = null) {
|
|
2380
2381
|
xl.value = l;
|
|
@@ -2476,8 +2477,8 @@ const _n = {
|
|
|
2476
2477
|
ft.value && (N = ft.value.getBoundingClientRect().height);
|
|
2477
2478
|
let ee = 0;
|
|
2478
2479
|
_t.value && (ee = _t.value.getBoundingClientRect().height), W.value = i - o - z - R - N - ee - l, le.value = a, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
|
|
2479
|
-
const I = new ResizeObserver((
|
|
2480
|
-
for (const V of
|
|
2480
|
+
const I = new ResizeObserver((q) => {
|
|
2481
|
+
for (const V of q)
|
|
2481
2482
|
t.value.chart.title.show && Te.value ? o = Te.value.getBoundingClientRect().height : o = 0, Ke.value && Ke.value.$el ? R = Ke.value.$el.getBoundingClientRect().height : R = 0, Le.value ? z = Le.value.getBoundingClientRect().height : z = 0, ft.value ? N = ft.value.getBoundingClientRect().height : N = 0, _t.value ? ee = _t.value.getBoundingClientRect().height : ee = 0, requestAnimationFrame(() => {
|
|
2482
2483
|
W.value = V.contentRect.height - o - z - R - N - ee - l, le.value = V.contentBoxSize[0].inlineSize, at.value = `0 0 ${le.value < 0 ? 10 : le.value} ${W.value < 0 ? 10 : W.value}`, uo();
|
|
2483
2484
|
});
|
|
@@ -2496,7 +2497,7 @@ const _n = {
|
|
|
2496
2497
|
za(), il(), document.addEventListener("mousemove", io, { passive: !0 }), document.addEventListener("scroll", Hl, { passive: !0 });
|
|
2497
2498
|
}), Ll(() => {
|
|
2498
2499
|
document.removeEventListener("scroll", Hl, { passive: !0 }), document.removeEventListener("mousemove", io, { passive: !0 }), mt.value && (mt.value.unobserve(ne.value), mt.value.disconnect(), mt.value = null);
|
|
2499
|
-
}),
|
|
2500
|
+
}), yn({
|
|
2500
2501
|
timeLabelsEls: Se,
|
|
2501
2502
|
timeLabels: v,
|
|
2502
2503
|
slicer: w,
|
|
@@ -2517,7 +2518,7 @@ const _n = {
|
|
|
2517
2518
|
}
|
|
2518
2519
|
function Do() {
|
|
2519
2520
|
const l = Ho(), s = 200, e = Math.max(1, S.value), i = c.value.width / e, r = c.value.left + Eo.value * i + i / 2 - l / 2 - (s - l) / 2, o = c.value.left - (s - l) / 2, F = c.value.right - (s + l) / 2, R = Math.max(o, Math.min(r, F));
|
|
2520
|
-
return
|
|
2521
|
+
return U(R);
|
|
2521
2522
|
}
|
|
2522
2523
|
Zl(() => {
|
|
2523
2524
|
let l = null, s = null;
|
|
@@ -2672,7 +2673,7 @@ const _n = {
|
|
|
2672
2673
|
class: "vue-ui-xy-title",
|
|
2673
2674
|
style: C(`font-family:${t.value.chart.fontFamily}`)
|
|
2674
2675
|
}, [
|
|
2675
|
-
(n(), ct(
|
|
2676
|
+
(n(), ct(kn, {
|
|
2676
2677
|
key: `title_${Pl.value}`,
|
|
2677
2678
|
config: {
|
|
2678
2679
|
title: {
|
|
@@ -3036,7 +3037,7 @@ const _n = {
|
|
|
3036
3037
|
height: c.value.height < 0 ? 10 : c.value.height,
|
|
3037
3038
|
width: c.value.width / S.value < 0 ? 1e-5 : c.value.width / S.value,
|
|
3038
3039
|
fill: h(vt)(e.color, e.opacity)
|
|
3039
|
-
}, null, 12,
|
|
3040
|
+
}, null, 12, qu)
|
|
3040
3041
|
]))), 256)),
|
|
3041
3042
|
(n(!0), u(b, null, L(e.span, (i, a) => (n(), u("g", null, [
|
|
3042
3043
|
e.caption.text && a === 0 ? (n(), u("foreignObject", {
|
|
@@ -3053,7 +3054,7 @@ const _n = {
|
|
|
3053
3054
|
k("div", {
|
|
3054
3055
|
style: C(`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"}`)
|
|
3055
3056
|
}, re(e.caption.text), 5)
|
|
3056
|
-
], 12,
|
|
3057
|
+
], 12, Uu)) : g("", !0)
|
|
3057
3058
|
]))), 256))
|
|
3058
3059
|
], 64)) : g("", !0)
|
|
3059
3060
|
]))), 256)),
|
|
@@ -3111,7 +3112,7 @@ const _n = {
|
|
|
3111
3112
|
height: "12",
|
|
3112
3113
|
width: sa.value / 2 + t.value.chart.comments.width,
|
|
3113
3114
|
x: na(a) - t.value.chart.comments.width / 2 + t.value.chart.comments.offsetX,
|
|
3114
|
-
y: h(
|
|
3115
|
+
y: h(U)(a.y) + t.value.chart.comments.offsetY + 6
|
|
3115
3116
|
}, [
|
|
3116
3117
|
te(l.$slots, "plot-comment", {
|
|
3117
3118
|
plot: { ...a, color: e.color, seriesIndex: i, datapointIndex: r }
|
|
@@ -3273,7 +3274,7 @@ const _n = {
|
|
|
3273
3274
|
e.value >= Xe.value.min && e.value <= Xe.value.max ? (n(), u("text", {
|
|
3274
3275
|
key: 1,
|
|
3275
3276
|
x: c.value.scaleLabelX - t.value.chart.grid.labels.yAxis.crosshairSize,
|
|
3276
|
-
y: h(
|
|
3277
|
+
y: h(U)(e.y + A.value.dataLabels / 3),
|
|
3277
3278
|
"font-size": A.value.dataLabels,
|
|
3278
3279
|
"text-anchor": "end",
|
|
3279
3280
|
fill: t.value.chart.grid.labels.color
|
|
@@ -3301,7 +3302,7 @@ const _n = {
|
|
|
3301
3302
|
key: 0,
|
|
3302
3303
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
|
|
3303
3304
|
color: t.value.plot.useGradient ? `url(#plotGradient_${i}_${Z.value})` : t.value.plot.dot.useSerieColor ? e.color : t.value.plot.dot.fill,
|
|
3304
|
-
plot: { x: h(
|
|
3305
|
+
plot: { x: h(U)(a.x), y: h(U)(a.y) },
|
|
3305
3306
|
radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.plot || 6) * 1.5 : De.value.plot || 6,
|
|
3306
3307
|
stroke: t.value.plot.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
|
|
3307
3308
|
strokeWidth: t.value.plot.dot.strokeWidth,
|
|
@@ -3461,11 +3462,11 @@ const _n = {
|
|
|
3461
3462
|
(n(!0), u(b, null, L(e.plots, (a, r) => (n(), u(b, {
|
|
3462
3463
|
key: `circle_line_${i}_${r}`
|
|
3463
3464
|
}, [
|
|
3464
|
-
!
|
|
3465
|
+
!qa.value.linePlot && a && Ye(a.value) || qa.value.linePlot && a && Ye(a.value) && (M.value !== null && M.value === r || X.value !== null && X.value === r) || Ja(e.plots, r) ? (n(), ct(ma, {
|
|
3465
3466
|
key: 0,
|
|
3466
3467
|
shape: ["triangle", "square", "diamond", "pentagon", "hexagon", "star"].includes(e.shape) ? e.shape : "circle",
|
|
3467
3468
|
color: t.value.line.useGradient ? `url(#lineGradient_${i}_${Z.value})` : t.value.line.dot.useSerieColor ? e.color : t.value.line.dot.fill,
|
|
3468
|
-
plot: { x: h(
|
|
3469
|
+
plot: { x: h(U)(a.x), y: h(U)(a.y) },
|
|
3469
3470
|
radius: M.value !== null && M.value === r || X.value !== null && X.value === r ? (De.value.line || 6) * 1.5 : (Ja(e.plots, r), De.value.line || 6),
|
|
3470
3471
|
stroke: t.value.line.dot.useSerieColor ? t.value.chart.backgroundColor : e.color,
|
|
3471
3472
|
strokeWidth: t.value.line.dot.strokeWidth,
|
|
@@ -3537,7 +3538,7 @@ const _n = {
|
|
|
3537
3538
|
a && (!Object.hasOwn(e, "dataLabels") || e.dataLabels === !0 || M.value !== null && M.value === r || X.value !== null && X.value === r) && t.value.bar.labels.show ? (n(), u("text", {
|
|
3538
3539
|
key: 0,
|
|
3539
3540
|
x: p.value.useIndividualScale && p.value.isStacked ? a.x + de.value.line / 2 : na(a) + wl() / 2 - ia.value / 2,
|
|
3540
|
-
y: h(
|
|
3541
|
+
y: h(U)(a.y) + (a.value >= 0 ? t.value.bar.labels.offsetY : -t.value.bar.labels.offsetY * 3),
|
|
3541
3542
|
"text-anchor": "middle",
|
|
3542
3543
|
"font-size": A.value.plotLabels,
|
|
3543
3544
|
fill: t.value.bar.labels.color,
|
|
@@ -3565,7 +3566,7 @@ const _n = {
|
|
|
3565
3566
|
fill: t.value.bar.serieName.useSerieColor ? e.color : t.value.bar.serieName.color,
|
|
3566
3567
|
"font-weight": t.value.bar.serieName.bold ? "bold" : "normal",
|
|
3567
3568
|
style: C(`opacity:${E.value ? E.value === e.groupId ? 1 : 0.2 : 1};transition:opacity 0.2s ease-in-out`)
|
|
3568
|
-
}, re(t.value.bar.serieName.useAbbreviation ? h(
|
|
3569
|
+
}, re(t.value.bar.serieName.useAbbreviation ? h(nn)({
|
|
3569
3570
|
source: e.name,
|
|
3570
3571
|
length: t.value.bar.serieName.abbreviationSize
|
|
3571
3572
|
}) : e.name), 13, Wi)) : g("", !0)
|
|
@@ -3644,8 +3645,8 @@ const _n = {
|
|
|
3644
3645
|
serieName: e.name
|
|
3645
3646
|
}
|
|
3646
3647
|
)
|
|
3647
|
-
}, null, 12,
|
|
3648
|
-
], 12,
|
|
3648
|
+
}, null, 12, Ui)
|
|
3649
|
+
], 12, qi)) : g("", !0),
|
|
3649
3650
|
a && r === e.plots.length - 1 && e.useTag && e.useTag === "end" ? (n(), u("foreignObject", {
|
|
3650
3651
|
key: 1,
|
|
3651
3652
|
x: a.x - e.name.length * (A.value.plotLabels / 2),
|
|
@@ -3942,7 +3943,7 @@ const _n = {
|
|
|
3942
3943
|
style: C({
|
|
3943
3944
|
cursor: pl() ? "pointer" : "default"
|
|
3944
3945
|
}),
|
|
3945
|
-
innerHTML: h(
|
|
3946
|
+
innerHTML: h(un)({
|
|
3946
3947
|
content: String(e.text),
|
|
3947
3948
|
fontSize: A.value.xAxis,
|
|
3948
3949
|
fill: t.value.chart.grid.labels.xAxisLabels.color,
|
|
@@ -3998,7 +3999,7 @@ const _n = {
|
|
|
3998
3999
|
y: Math.min(e.yTop, e.yBottom),
|
|
3999
4000
|
x: e.x1,
|
|
4000
4001
|
width: c.value.width,
|
|
4001
|
-
height: h(
|
|
4002
|
+
height: h(U)(e.areaHeight, 0),
|
|
4002
4003
|
fill: h(vt)(e.config.area.fill, e.config.area.opacity),
|
|
4003
4004
|
style: { animation: "none !important" }
|
|
4004
4005
|
}, null, 8, ks)) : g("", !0),
|
|
@@ -4394,8 +4395,8 @@ const _n = {
|
|
|
4394
4395
|
width: "32",
|
|
4395
4396
|
stroke: "none",
|
|
4396
4397
|
fill: l.$slots.pattern ? `url(#pattern_${Z.value}_${e.slotAbsoluteIndex})` : e.color
|
|
4397
|
-
}, null, 8,
|
|
4398
|
-
])) : (n(), u("svg",
|
|
4398
|
+
}, null, 8, qs)) : g("", !0)
|
|
4399
|
+
])) : (n(), u("svg", Us, [
|
|
4399
4400
|
ml(ma, {
|
|
4400
4401
|
plot: { x: 6, y: 6 },
|
|
4401
4402
|
radius: 5,
|
|
@@ -4533,10 +4534,10 @@ const _n = {
|
|
|
4533
4534
|
key: "1"
|
|
4534
4535
|
} : void 0
|
|
4535
4536
|
]), 1040)) : g("", !0),
|
|
4536
|
-
h(xe) ? (n(), ct(
|
|
4537
|
+
h(xe) ? (n(), ct(gn, { key: 9 })) : g("", !0)
|
|
4537
4538
|
], 46, fu));
|
|
4538
4539
|
}
|
|
4539
|
-
},
|
|
4540
|
+
}, hr = /* @__PURE__ */ Lo(Js, [["__scopeId", "data-v-d218b34b"]]);
|
|
4540
4541
|
export {
|
|
4541
|
-
|
|
4542
|
+
hr as default
|
|
4542
4543
|
};
|