vue-data-ui 3.10.2 → 3.10.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BaseDraggableDialog-BQYfVNu8.js → BaseDraggableDialog-yydbrMGo.js} +1 -1
- package/dist/{BaseIcon-4uOct8re.js → BaseIcon-Dkev7LF3.js} +26 -21
- package/dist/{BaseZoomControls-Cb-Qq9_R.js → BaseZoomControls-DiZb75GR.js} +1 -1
- package/dist/{ColorPicker-Culsjrcr.js → ColorPicker-B2-PUcpZ.js} +1 -1
- package/dist/{DataTable-DyoDzNNY.js → DataTable-KnMZnrDl.js} +1 -1
- package/dist/{NonSvgPenAndPaper-CNMLfAk3.js → NonSvgPenAndPaper-CvboTw8J.js} +2 -2
- package/dist/{PackageVersion-CQxJyGQr.js → PackageVersion-B-d6mVAh.js} +1 -1
- package/dist/{PenAndPaper-LTuSTmWE.js → PenAndPaper-XGy5hh2M.js} +2 -2
- package/dist/{Slicer-DckZxvyx.js → Slicer-B3sIrIT7.js} +1 -1
- package/dist/{SlicerPreview-CSc_cazO.js → SlicerPreview-DGYouyqS.js} +12 -12
- package/dist/{UserOptions-CX7Xsusk.js → UserOptions-D-fbp44C.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-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-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-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-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +6 -0
- package/dist/{vue-data-ui-GAruO_UT.js → vue-data-ui-C0aLv5Q4.js} +63 -63
- package/dist/vue-data-ui.js +65 -65
- package/dist/{vue-ui-3d-bar-t_E9saCp.js → vue-ui-3d-bar-B7BAQ1Ht.js} +1 -1
- package/dist/{vue-ui-accordion-DFKaB_05.js → vue-ui-accordion-YWjqDGPM.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DKlTGZ6m.js → vue-ui-age-pyramid-wl6PBobo.js} +1 -1
- package/dist/{vue-ui-annotator-CNkhGqqn.js → vue-ui-annotator-VtMsL8_a.js} +3 -3
- package/dist/{vue-ui-bullet-C4FXVy8_.js → vue-ui-bullet-DbxGLo-x.js} +1 -1
- package/dist/{vue-ui-bump-BJZrexv4.js → vue-ui-bump-DxIgr2HP.js} +2 -2
- package/dist/{vue-ui-candlestick-P7w1YVT6.js → vue-ui-candlestick-C4E2f9Yx.js} +2 -2
- package/dist/{vue-ui-carousel-table-DQk4RoWo.js → vue-ui-carousel-table-CW50IQBB.js} +1 -1
- package/dist/{vue-ui-chestnut-Co8x4We0.js → vue-ui-chestnut-B8D-E_OT.js} +1 -1
- package/dist/{vue-ui-chord-NjSRzToa.js → vue-ui-chord-Cr7XtjeH.js} +1 -1
- package/dist/{vue-ui-circle-pack-CwrgCRKX.js → vue-ui-circle-pack-G61lXn-A.js} +1 -1
- package/dist/{vue-ui-cursor-Bh5-9JWm.js → vue-ui-cursor-DBiPQOJt.js} +1 -1
- package/dist/{vue-ui-dag-BBGpjSzH.js → vue-ui-dag-BBREGeuq.js} +2 -2
- package/dist/{vue-ui-dashboard-ekbwnmce.js → vue-ui-dashboard-DP91aVu4.js} +60 -60
- package/dist/{vue-ui-donut-DvLh8qa2.js → vue-ui-donut-CmR1VtDq.js} +1 -1
- package/dist/{vue-ui-donut-evolution-BiLhAVY8.js → vue-ui-donut-evolution-CRw22F_H.js} +2 -2
- package/dist/{vue-ui-dumbbell-C2OWcZvr.js → vue-ui-dumbbell-DfKWaod1.js} +1 -1
- package/dist/{vue-ui-flow-Cp2le1ur.js → vue-ui-flow-keUxLfvc.js} +1 -1
- package/dist/{vue-ui-funnel-ClGo8z4y.js → vue-ui-funnel-C68oqiIK.js} +1 -1
- package/dist/{vue-ui-galaxy-DTAl_-40.js → vue-ui-galaxy-C-6Ygooc.js} +1 -1
- package/dist/{vue-ui-gauge-DOG6-lgt.js → vue-ui-gauge-BEqGBoZP.js} +1 -1
- package/dist/{vue-ui-geo-BpWyHXwd.js → vue-ui-geo-BSCp207O.js} +2 -2
- package/dist/{vue-ui-gizmo-BMq5dzK4.js → vue-ui-gizmo-DDdt4YYe.js} +1 -1
- package/dist/{vue-ui-heatmap-Bp9HI0Zo.js → vue-ui-heatmap-DoptdeuZ.js} +2 -2
- package/dist/{vue-ui-history-plot-CVM1jz1X.js → vue-ui-history-plot-D3VqVH6G.js} +1 -1
- package/dist/{vue-ui-horizontal-bar-B0UY6b-O.js → vue-ui-horizontal-bar-DVT2uDtq.js} +6 -6
- package/dist/{vue-ui-molecule-CUppdL5f.js → vue-ui-molecule-DzHtkXhX.js} +1 -1
- package/dist/{vue-ui-mood-radar-QN25VSAw.js → vue-ui-mood-radar-BbX7w_ad.js} +1 -1
- package/dist/{vue-ui-nested-donuts-ywWUDYjT.js → vue-ui-nested-donuts-CAaU0Rrm.js} +1 -1
- package/dist/{vue-ui-onion-DmwZ1gg_.js → vue-ui-onion-DREO2Z6U.js} +1 -1
- package/dist/{vue-ui-parallel-coordinate-plot-Bz2ROYRD.js → vue-ui-parallel-coordinate-plot-BKBBdpY1.js} +1 -1
- package/dist/{vue-ui-quadrant-CUpWOWF2.js → vue-ui-quadrant-_vUwHJzv.js} +1 -1
- package/dist/{vue-ui-quick-chart-CXrm_rzI.js → vue-ui-quick-chart-24K2Bysn.js} +2 -2
- package/dist/{vue-ui-radar-BqLjOOnJ.js → vue-ui-radar-N_6WRMyx.js} +1 -1
- package/dist/{vue-ui-relation-circle-CrYmJHLI.js → vue-ui-relation-circle-YYjxSGqL.js} +1 -1
- package/dist/{vue-ui-ridgeline-ZbmQXJxt.js → vue-ui-ridgeline-IdmUzGSH.js} +1 -1
- package/dist/{vue-ui-rings-BxYoBfvT.js → vue-ui-rings-DbmA_Vyh.js} +1 -1
- package/dist/{vue-ui-scatter-BhJkoRBS.js → vue-ui-scatter-DcDSsAkr.js} +1 -1
- package/dist/{vue-ui-skeleton-Bg1akQqn.js → vue-ui-skeleton-tH6Uo_Bi.js} +1 -1
- package/dist/{vue-ui-spark-trend-CJtfXMSj.js → vue-ui-spark-trend-Bd6UJIRg.js} +1 -1
- package/dist/{vue-ui-sparkbar-DHJdmNDm.js → vue-ui-sparkbar-tUo47wwo.js} +1 -1
- package/dist/{vue-ui-sparkgauge-ANfPLNuD.js → vue-ui-sparkgauge-CiaiO1JX.js} +1 -1
- package/dist/{vue-ui-sparkhistogram-CIfYUXVZ.js → vue-ui-sparkhistogram-C8DMnroR.js} +1 -1
- package/dist/{vue-ui-sparkline-Bm0OmFUB.js → vue-ui-sparkline-B4bEsyxd.js} +84 -84
- package/dist/{vue-ui-sparkstackbar-CCnnfsqG.js → vue-ui-sparkstackbar-8cw7h_7Y.js} +152 -151
- package/dist/{vue-ui-stackbar-CK5is5H7.js → vue-ui-stackbar-BUEWFVL4.js} +2 -2
- package/dist/{vue-ui-stackline-CFv2OUCL.js → vue-ui-stackline-17Qdgzy7.js} +2 -2
- package/dist/{vue-ui-strip-plot-CJ1Zkrhq.js → vue-ui-strip-plot-DkMWYwjY.js} +1 -1
- package/dist/{vue-ui-table-CMyYl8lE.js → vue-ui-table-BppRxxpv.js} +3 -3
- package/dist/{vue-ui-table-heatmap-8kBdXO2V.js → vue-ui-table-heatmap-DPJNR6Yb.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Bo4nuBEx.js → vue-ui-table-sparkline-Dl-PZ_T_.js} +1 -1
- package/dist/{vue-ui-thermometer-h3voYVGJ.js → vue-ui-thermometer-BQAVSTWa.js} +1 -1
- package/dist/{vue-ui-timer-CazY_Z4R.js → vue-ui-timer-uuP6d-hn.js} +2 -2
- package/dist/{vue-ui-tiremarks-CTa_gpit.js → vue-ui-tiremarks-DUeJB0Bu.js} +1 -1
- package/dist/{vue-ui-treemap-B6AuOtaA.js → vue-ui-treemap-TbqIxXuK.js} +2 -2
- package/dist/{vue-ui-waffle-DnEBC07H.js → vue-ui-waffle-1C6BaA9F.js} +1 -1
- package/dist/{vue-ui-wheel-DFU2vMsP.js → vue-ui-wheel-7fwzBckw.js} +1 -1
- package/dist/{vue-ui-word-cloud-DgY58NEj.js → vue-ui-word-cloud-CsyVGD7H.js} +180 -180
- package/dist/{vue-ui-world-xEUaTJDk.js → vue-ui-world-Chue2G32.js} +1 -1
- package/dist/{vue-ui-xy-spqKboQb.js → vue-ui-xy-BEoDq04z.js} +3 -3
- package/dist/{vue-ui-xy-canvas-eHl--9m7.js → vue-ui-xy-canvas-BG4nyCGs.js} +4 -4
- package/package.json +2 -2
|
@@ -44,7 +44,7 @@ const ae = { style: { arrow: { colors: { positive: "#7FA09B", negative: "#9D7D92
|
|
|
44
44
|
}
|
|
45
45
|
},
|
|
46
46
|
setup(ce) {
|
|
47
|
-
const fe = we(() => import("./PackageVersion-
|
|
47
|
+
const fe = we(() => import("./PackageVersion-B-d6mVAh.js")), { vue_ui_spark_trend: he } = je(), { isThemeValid: ye, warnInvalidTheme: pe } = Ge(), y = ce, z = c(null), P = c(null), W = c(null), w = c(null), x = c(null), $ = c(!1), p = c(null), L = c(Ne()), e = c(E()), { loading: C, FINAL_DATASET: B, manualLoading: D } = Oe({
|
|
48
48
|
...Le(y),
|
|
49
49
|
FINAL_CONFIG: e,
|
|
50
50
|
prepareConfig: E,
|
|
@@ -56,7 +56,7 @@ const j = {}, V = { style: { backgroundColor: "#1A1A1A", gutter: { backgroundCol
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectDatapoint"],
|
|
58
58
|
setup(J, { emit: K }) {
|
|
59
|
-
const Q = ce(() => import("./PackageVersion-
|
|
59
|
+
const Q = ce(() => import("./PackageVersion-B-d6mVAh.js")), { vue_ui_sparkbar: Y } = De(), { isThemeValid: Z, warnInvalidTheme: ee } = Ee(), g = J, te = de();
|
|
60
60
|
L(() => {
|
|
61
61
|
te["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
62
62
|
});
|
|
@@ -46,7 +46,7 @@ const M = { style: { colors: { min: "#9D7D92", max: "#678681" } } }, O = { style
|
|
|
46
46
|
}
|
|
47
47
|
},
|
|
48
48
|
setup(V) {
|
|
49
|
-
const q = W(() => import("./PackageVersion-
|
|
49
|
+
const q = W(() => import("./PackageVersion-B-d6mVAh.js")), { vue_ui_sparkgauge: X } = le(), { isThemeValid: Y, warnInvalidTheme: H } = me(), c = V, _ = p(oe()), e = p(h()), { loading: b, FINAL_DATASET: v } = de({
|
|
50
50
|
...Z(c),
|
|
51
51
|
FINAL_CONFIG: e,
|
|
52
52
|
prepareConfig: h,
|
|
@@ -50,7 +50,7 @@ const ee = {}, te = { style: { backgroundColor: "#1A1A1A", labels: { value: { co
|
|
|
50
50
|
Se((l) => ({
|
|
51
51
|
v47f58673: Ae.value
|
|
52
52
|
}));
|
|
53
|
-
const ce = ze(() => import("./PackageVersion-
|
|
53
|
+
const ce = ze(() => import("./PackageVersion-B-d6mVAh.js")), { vue_ui_sparkhistogram: de } = Ve(), { isThemeValid: ye, warnInvalidTheme: he } = Ue(), C = ne, m = h(Ee()), O = h(null), V = h(null), D = h(null), k = h(null), w = h(null), e = h(M()), { loading: W, FINAL_DATASET: x } = We({
|
|
54
54
|
...Fe(C),
|
|
55
55
|
FINAL_CONFIG: e,
|
|
56
56
|
prepareConfig: M,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineAsyncComponent as he, computed as f, ref as y, toRefs as qe, watch as Q, shallowRef as ye, onMounted as Ze, onBeforeUnmount as pe, createElementBlock as c, openBlock as n, normalizeStyle as
|
|
2
|
-
import { c as et, t as tt, a1 as ke, an as te, o as Ae, g as Ce, l as at, h as
|
|
1
|
+
import { defineAsyncComponent as he, computed as f, ref as y, toRefs as qe, watch as Q, shallowRef as ye, onMounted as Ze, onBeforeUnmount as pe, createElementBlock as c, openBlock as n, normalizeStyle as S, renderSlot as M, createCommentVNode as h, createBlock as be, normalizeProps as ge, guardReactiveProps as me, createElementVNode as p, toDisplayString as z, unref as u, createVNode as Ke, Fragment as J, renderList as ee, withCtx as He, createTextVNode as Qe, nextTick as Je } from "vue";
|
|
2
|
+
import { c as et, t as tt, a1 as ke, an as te, o as Ae, g as Ce, l as at, h as B, n as lt, ao as ot, X as rt, s as V, A as xe, C as ut, Q as _e, a as ae, d as le, ap as st } from "./lib-CVHM9FhP.js";
|
|
3
3
|
import { t as nt, u as it } from "./useResponsive-DfdjqQps.js";
|
|
4
4
|
import { u as dt, a as oe } from "./useNestedProp-Ckf_2P_V.js";
|
|
5
5
|
import { u as vt, B as ct } from "./BaseScanner-BMpwQAfz.js";
|
|
@@ -7,28 +7,28 @@ import { u as ft } from "./useThemeCheck-D1ZYXUwG.js";
|
|
|
7
7
|
import { u as ht } from "./useTimeLabels-DKoynYae.js";
|
|
8
8
|
import { u as yt } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
9
|
import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
-
const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, $e = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { color: "#CCCCCC", backgroundColor: "#1A1A1A", borderColor: "#5A5A5A", backgroundOpacity: 70 } } },
|
|
10
|
+
const we = { style: { line: { color: "#2A2929" }, area: { color: "#65698E" }, bar: { color: "#2A2929" } } }, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, line: { color: "#65698E" }, area: { color: "#8D99AE" }, bar: { color: "#65698E" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { backgroundColor: "#1A1A1A", backgroundOpacity: 70, color: "#CCCCCC", borderColor: "#3A3A3A" } } }, $e = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#5A5A5A" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#8A8A8A" }, dataLabel: { color: "#CCCCCC" }, title: { color: "#CCCCCC" }, tooltip: { color: "#CCCCCC", backgroundColor: "#1A1A1A", borderColor: "#5A5A5A", backgroundOpacity: 70 } } }, Fe = { style: { backgroundColor: "#FFF8E1", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#FFF8E1" }, verticalIndicator: { color: "#FF9800" }, dataLabel: { color: "#424242" }, title: { color: "#424242" }, area: { color: "#E64A19" }, tooltip: { backgroundColor: "#FFECB3", backgroundOpacity: 30, color: "#424242", borderColor: "#FF8A65" } } }, Ne = { style: { backgroundColor: "#1E1E1E", line: { color: "#D32F2F" }, bar: { color: "#D32F2F", borderRadius: 0 }, zeroLine: { color: "#5D4037" }, plot: { stroke: "#1E1E1E" }, verticalIndicator: { color: "#B71C1C" }, dataLabel: { color: "#BDBDBD" }, title: { color: "#BDBDBD" }, area: { color: "#E64A19" }, tooltip: { backgroundColor: "#1E1E1E", backgroundOpacity: 30, color: "#FFF8E1", borderColor: "#FF8A65" } } }, Ie = { style: { backgroundColor: "#1A1A1A", line: { color: "#66CC66" }, bar: { color: "#66CC66", borderRadius: 0 }, zeroLine: { color: "#5F6A5F" }, plot: { stroke: "#1A1A1A" }, verticalIndicator: { color: "#66CC66" }, dataLabel: { color: "#AACCAA" }, title: { color: "#66CC66" }, area: { color: "#66CC66" }, tooltip: { backgroundColor: "#2A2F2A", color: "#AACCAA", borderColor: "#66CC66" } } }, Me = { style: { backgroundColor: "#fbfafa", line: { color: "#B9B99D", smooth: !0 }, bar: { color: "#B9B99D", borderRadius: 3 }, zeroLine: { strokeWidth: 0 }, plot: { stroke: "#fbfafa" }, verticalIndicator: { color: "#B9B99D" }, dataLabel: { color: "#A0AC94" }, title: { color: "#8A9892" }, area: { color: "#B9B99D" }, tooltip: { backgroundColor: "#fbfafa", color: "#8A9892" } } }, De = { style: { backgroundColor: "#f6f6fb", line: { color: "#4A6A75" }, bar: { color: "#4A6A75", borderRadius: 0 }, zeroLine: { color: "#9FA9BE" }, plot: { stroke: "#f6f6fb" }, verticalIndicator: { color: "#4A6A75" }, dataLabel: { color: "#61747E" }, title: { color: "#50606C" }, area: { color: "#4A6A75" }, tooltip: { backgroundColor: "#f6f6fb", color: "#50606C" } } }, Ee = {
|
|
11
11
|
default: {},
|
|
12
12
|
minimal: we,
|
|
13
13
|
minimalDark: Le,
|
|
14
14
|
dark: $e,
|
|
15
|
-
celebration:
|
|
16
|
-
celebrationNight:
|
|
17
|
-
hack:
|
|
18
|
-
zen:
|
|
19
|
-
concrete:
|
|
15
|
+
celebration: Fe,
|
|
16
|
+
celebrationNight: Ne,
|
|
17
|
+
hack: Ie,
|
|
18
|
+
zen: Me,
|
|
19
|
+
concrete: De
|
|
20
20
|
}, Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
21
21
|
__proto__: null,
|
|
22
|
-
celebration:
|
|
23
|
-
celebrationNight:
|
|
24
|
-
concrete:
|
|
22
|
+
celebration: Fe,
|
|
23
|
+
celebrationNight: Ne,
|
|
24
|
+
concrete: De,
|
|
25
25
|
dark: $e,
|
|
26
|
-
default:
|
|
27
|
-
hack:
|
|
26
|
+
default: Ee,
|
|
27
|
+
hack: Ie,
|
|
28
28
|
minimal: we,
|
|
29
29
|
minimalDark: Le,
|
|
30
|
-
zen:
|
|
31
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
30
|
+
zen: Me
|
|
31
|
+
}, Symbol.toStringTag, { value: "Module" })), bt = ["id"], gt = ["xmlns", "viewBox"], mt = ["width", "height"], kt = ["id"], At = ["stop-color"], Ct = ["stop-color"], xt = ["id"], _t = ["stop-color"], wt = ["stop-color"], Lt = ["id"], $t = ["stop-color"], Ft = ["stop-color"], Nt = { key: 1 }, It = ["d", "fill"], Mt = ["d", "fill"], Dt = ["d", "stroke", "stroke-width"], Et = ["d", "stroke", "stroke-width"], St = ["x", "y", "width", "height", "fill", "rx"], zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-dasharray", "stroke-width"], Vt = ["cx", "cy", "r", "fill", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "font-weight", "fill"], Rt = ["x", "y", "height", "width", "onMouseenter", "onMouseleave", "onClick"], Ot = {
|
|
32
32
|
__name: "vue-ui-sparkline",
|
|
33
33
|
props: {
|
|
34
34
|
config: {
|
|
@@ -61,8 +61,8 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
61
61
|
}
|
|
62
62
|
},
|
|
63
63
|
emits: ["hoverIndex", "selectDatapoint"],
|
|
64
|
-
setup(L, { emit:
|
|
65
|
-
const
|
|
64
|
+
setup(L, { emit: Se }) {
|
|
65
|
+
const ze = he(() => import("./PackageVersion-B-d6mVAh.js")), Be = he(() => import("./SparkTooltip-BLTVhvm2.js")), { vue_ui_sparkline: Ve } = dt(), { isThemeValid: Te, warnInvalidTheme: Re } = ft(), s = L, re = f(() => Array.isArray(s.dataset) && s.dataset.length > 0), b = y(et()), T = y(null), ue = y(null), se = y(null), e = y(P());
|
|
66
66
|
function Oe(t) {
|
|
67
67
|
return st(t).map((a) => ({ period: "-", value: a }));
|
|
68
68
|
}
|
|
@@ -106,7 +106,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
106
106
|
Re(t), a = t;
|
|
107
107
|
else {
|
|
108
108
|
const o = oe({
|
|
109
|
-
userConfig:
|
|
109
|
+
userConfig: Ee[l] || s.config,
|
|
110
110
|
defaultConfig: t
|
|
111
111
|
});
|
|
112
112
|
a = {
|
|
@@ -127,7 +127,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
127
127
|
Q(() => s.config, (t) => {
|
|
128
128
|
R.value || (e.value = P()), de(), r.value.chartWidth = e.value.style.chartWidth;
|
|
129
129
|
}, { deep: !0 }), Q(() => s.dataset, (t) => {
|
|
130
|
-
Array.isArray(t) && t.length > 0 && (O.value = !1),
|
|
130
|
+
Array.isArray(t) && t.length > 0 && (O.value = !1), g.value = te({
|
|
131
131
|
data: $.value.map((a) => ({
|
|
132
132
|
...a,
|
|
133
133
|
value: [void 0].includes(a.value) ? null : a.value
|
|
@@ -135,7 +135,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
135
135
|
threshold: e.value.downsample.threshold
|
|
136
136
|
});
|
|
137
137
|
}, { deep: !0 });
|
|
138
|
-
const
|
|
138
|
+
const g = y(Pe());
|
|
139
139
|
function Pe() {
|
|
140
140
|
return te({
|
|
141
141
|
data: $.value.map((t) => e.value.style.animation.show && $.value.length > 1 ? {
|
|
@@ -148,46 +148,46 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
148
148
|
threshold: e.value.downsample.threshold
|
|
149
149
|
});
|
|
150
150
|
}
|
|
151
|
-
const m = ye(null), C = ye(null), W = y(!1),
|
|
151
|
+
const m = ye(null), C = ye(null), W = y(!1), F = y(0), j = y([]), G = y(""), U = f(() => {
|
|
152
152
|
const a = (A.value || []).map((o) => `${o.period}::${Number.isFinite(o.value) ? o.value : 0}`).join("|"), l = e.value?.style?.animation || {};
|
|
153
153
|
return `${a}#${!!l.show}#${l.animationFrames || 0}`;
|
|
154
154
|
});
|
|
155
|
-
function
|
|
156
|
-
|
|
155
|
+
function D() {
|
|
156
|
+
F.value && (cancelAnimationFrame(F.value), F.value = 0), j.value.forEach((t) => clearTimeout(t)), j.value = [], W.value = !1;
|
|
157
157
|
}
|
|
158
158
|
function X() {
|
|
159
159
|
const t = e.value?.style?.animation || {}, a = A.value || [], l = U.value;
|
|
160
|
-
if (l && l === G.value && (W.value ||
|
|
160
|
+
if (l && l === G.value && (W.value || g.value.length === a.length))
|
|
161
161
|
return;
|
|
162
|
-
if (
|
|
163
|
-
|
|
162
|
+
if (D(), !t.show || R.value || a.length <= 1) {
|
|
163
|
+
g.value = a, G.value = l;
|
|
164
164
|
return;
|
|
165
165
|
}
|
|
166
|
-
W.value = !0, G.value = l,
|
|
166
|
+
W.value = !0, G.value = l, g.value = [];
|
|
167
167
|
const o = Math.max(1, Number(t.animationFrames) || 1), K = Math.max(1, Math.floor(o / a.length));
|
|
168
168
|
let H = 0;
|
|
169
169
|
const fe = () => {
|
|
170
170
|
if (l !== U.value) {
|
|
171
|
-
|
|
171
|
+
D();
|
|
172
172
|
return;
|
|
173
173
|
}
|
|
174
174
|
if (H < a.length) {
|
|
175
|
-
|
|
175
|
+
g.value.push(a[H]);
|
|
176
176
|
const Ye = setTimeout(() => {
|
|
177
|
-
|
|
177
|
+
F.value = requestAnimationFrame(fe);
|
|
178
178
|
}, K);
|
|
179
179
|
j.value.push(Ye), H += 1;
|
|
180
180
|
} else
|
|
181
|
-
|
|
181
|
+
g.value = a, D();
|
|
182
182
|
};
|
|
183
|
-
|
|
183
|
+
F.value = requestAnimationFrame(fe);
|
|
184
184
|
}
|
|
185
185
|
Q(U, () => {
|
|
186
186
|
X();
|
|
187
187
|
}), Ze(() => {
|
|
188
188
|
de(), X();
|
|
189
189
|
}), pe(() => {
|
|
190
|
-
|
|
190
|
+
D();
|
|
191
191
|
});
|
|
192
192
|
const ie = f(() => !!e.value.debug);
|
|
193
193
|
function de() {
|
|
@@ -230,7 +230,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
230
230
|
width: 500,
|
|
231
231
|
chartWidth: e.value.style.chartWidth,
|
|
232
232
|
padding: s.forcedPadding
|
|
233
|
-
}), Y =
|
|
233
|
+
}), Y = Se, i = f(() => {
|
|
234
234
|
const { top: t, right: a, bottom: l, left: o } = e.value.style.padding;
|
|
235
235
|
return {
|
|
236
236
|
top: t,
|
|
@@ -241,30 +241,30 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
241
241
|
width: s.showInfo && e.value.style.dataLabel.show ? r.value.chartWidth - o - a : r.value.width - r.value.padding - o - a,
|
|
242
242
|
height: r.value.height - t - l
|
|
243
243
|
};
|
|
244
|
-
}), q = f(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...
|
|
244
|
+
}), q = f(() => [null, void 0].includes(e.value.style.scaleMin) ? Math.min(...g.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMin), We = f(() => [null, void 0].includes(e.value.style.scaleMax) ? Math.max(...g.value.map((t) => isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0)) : e.value.style.scaleMax), N = f(() => {
|
|
245
245
|
const t = q.value >= 0 ? 0 : q.value;
|
|
246
246
|
return Math.abs(t);
|
|
247
|
-
}), ve = f(() => We.value +
|
|
247
|
+
}), ve = f(() => We.value + N.value), x = f(() => i.value.bottom - i.value.height * Z(N.value));
|
|
248
248
|
function Z(t) {
|
|
249
249
|
return isNaN(t / ve.value) ? 0 : t / ve.value;
|
|
250
250
|
}
|
|
251
|
-
const _ = f(() => A.value.length - 1 || 1),
|
|
251
|
+
const _ = f(() => A.value.length - 1 || 1), E = f(() => ht({
|
|
252
252
|
values: A.value.map((t) => t.period),
|
|
253
253
|
maxDatapoints: A.value.length,
|
|
254
254
|
formatter: e.value.style.dataLabel.datetimeFormatter,
|
|
255
255
|
start: 0,
|
|
256
256
|
end: A.value.length
|
|
257
|
-
})), v = f(() =>
|
|
257
|
+
})), v = f(() => g.value.map((t, a) => {
|
|
258
258
|
const l = isNaN(t.value) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(t.value) ? 0 : t.value || 0, o = i.value.width / _.value;
|
|
259
259
|
return {
|
|
260
260
|
absoluteValue: l,
|
|
261
|
-
period:
|
|
262
|
-
plotValue: l +
|
|
263
|
-
toMax: Z(l +
|
|
261
|
+
period: E.value && E.value[a] && E.value[a].text ? E.value[a].text : t.period,
|
|
262
|
+
plotValue: l + N.value,
|
|
263
|
+
toMax: Z(l + N.value),
|
|
264
264
|
x: i.value.start + a * o,
|
|
265
|
-
y: i.value.bottom - i.value.height * Z(l +
|
|
266
|
-
id: `plot_${
|
|
267
|
-
color:
|
|
265
|
+
y: i.value.bottom - i.value.height * Z(l + N.value),
|
|
266
|
+
id: `plot_${b.value}_${a}`,
|
|
267
|
+
color: I.value ? e.value.style.bar.color : e.value.style.area.useGradient ? B(e.value.style.line.color, 0.05 * (1 - a / _.value)) : e.value.style.line.color,
|
|
268
268
|
width: o
|
|
269
269
|
};
|
|
270
270
|
})), je = f(() => {
|
|
@@ -301,7 +301,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
301
301
|
median: null,
|
|
302
302
|
trend: null
|
|
303
303
|
};
|
|
304
|
-
}), ce = f(() => re.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0),
|
|
304
|
+
}), ce = f(() => re.value ? e.value.style.dataLabel.valueType === "latest" ? k.value.latest : e.value.style.dataLabel.valueType === "sum" ? k.value.sum : e.value.style.dataLabel.valueType === "average" ? k.value.average : 0 : 0), I = f(() => e.value.type && e.value.type === "bar");
|
|
305
305
|
function Xe(t, a) {
|
|
306
306
|
e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a }), Y("selectDatapoint", { datapoint: t, index: a });
|
|
307
307
|
}
|
|
@@ -309,10 +309,10 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
309
309
|
ref_key: "sparklineChart",
|
|
310
310
|
ref: T,
|
|
311
311
|
class: "vue-data-ui-component vue-ui-sparkline",
|
|
312
|
-
id:
|
|
313
|
-
style:
|
|
312
|
+
id: b.value,
|
|
313
|
+
style: S(`width:100%;font-family:${e.value.style.fontFamily};`)
|
|
314
314
|
}, [
|
|
315
|
-
|
|
315
|
+
M(t.$slots, "before", ge(me({
|
|
316
316
|
selected: d.value,
|
|
317
317
|
latest: k.value.latest,
|
|
318
318
|
sum: k.value.sum,
|
|
@@ -325,21 +325,21 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
325
325
|
ref_key: "chartTitle",
|
|
326
326
|
ref: ue,
|
|
327
327
|
class: "vue-ui-sparkline-title",
|
|
328
|
-
style:
|
|
328
|
+
style: S(`display:flex;align-items:center;width:100%;color:${e.value.style.title.color};background:${e.value.style.backgroundColor};justify-content:${e.value.style.title.textAlign === "left" ? "flex-start" : e.value.style.title.textAlign === "right" ? "flex-end" : "center"};height:${e.value.style.title.fontSize * 2}px;font-size:${e.value.style.title.fontSize}px;font-weight:${e.value.style.title.bold ? "bold" : "normal"};`)
|
|
329
329
|
}, [
|
|
330
330
|
p("span", {
|
|
331
|
-
style:
|
|
332
|
-
},
|
|
331
|
+
style: S(`padding:${e.value.style.title.textAlign === "left" ? "0 0 0 12px" : e.value.style.title.textAlign === "right" ? "0 12px 0 0" : "0"}`)
|
|
332
|
+
}, z(d.value ? d.value.period : e.value.style.title.text), 5)
|
|
333
333
|
], 4)) : h("", !0),
|
|
334
334
|
(n(), c("svg", {
|
|
335
335
|
ref_key: "svgRef",
|
|
336
336
|
ref: ne,
|
|
337
337
|
xmlns: u(rt),
|
|
338
338
|
viewBox: `0 0 ${r.value.width} ${r.value.height}`,
|
|
339
|
-
style:
|
|
339
|
+
style: S(`background:${e.value.style.backgroundColor};overflow:visible`),
|
|
340
340
|
onMouseleave: a[0] || (a[0] = (l) => w.value = void 0)
|
|
341
341
|
}, [
|
|
342
|
-
Ke(u(
|
|
342
|
+
Ke(u(ze)),
|
|
343
343
|
t.$slots["chart-background"] ? (n(), c("foreignObject", {
|
|
344
344
|
key: 0,
|
|
345
345
|
x: 0,
|
|
@@ -350,7 +350,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
350
350
|
pointerEvents: "none"
|
|
351
351
|
}
|
|
352
352
|
}, [
|
|
353
|
-
|
|
353
|
+
M(t.$slots, "chart-background", {}, void 0, !0)
|
|
354
354
|
], 8, mt)) : h("", !0),
|
|
355
355
|
p("defs", null, [
|
|
356
356
|
p("linearGradient", {
|
|
@@ -358,11 +358,11 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
358
358
|
y1: "0%",
|
|
359
359
|
x2: "100%",
|
|
360
360
|
y2: "0%",
|
|
361
|
-
id: `sparkline_gradient_${
|
|
361
|
+
id: `sparkline_gradient_${b.value}`
|
|
362
362
|
}, [
|
|
363
363
|
p("stop", {
|
|
364
364
|
offset: "0%",
|
|
365
|
-
"stop-color": u(V)(u(
|
|
365
|
+
"stop-color": u(V)(u(B)(e.value.style.area.color, 0.05), e.value.style.area.opacity)
|
|
366
366
|
}, null, 8, At),
|
|
367
367
|
p("stop", {
|
|
368
368
|
offset: "100%",
|
|
@@ -372,7 +372,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
372
372
|
p("linearGradient", {
|
|
373
373
|
x2: "0%",
|
|
374
374
|
y2: "100%",
|
|
375
|
-
id: `sparkline_bar_gradient_pos_${
|
|
375
|
+
id: `sparkline_bar_gradient_pos_${b.value}`
|
|
376
376
|
}, [
|
|
377
377
|
p("stop", {
|
|
378
378
|
offset: "0%",
|
|
@@ -380,40 +380,40 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
380
380
|
}, null, 8, _t),
|
|
381
381
|
p("stop", {
|
|
382
382
|
offset: "100%",
|
|
383
|
-
"stop-color": u(
|
|
383
|
+
"stop-color": u(B)(e.value.style.bar.color, 0.05)
|
|
384
384
|
}, null, 8, wt)
|
|
385
385
|
], 8, xt),
|
|
386
386
|
p("linearGradient", {
|
|
387
387
|
x2: "0%",
|
|
388
388
|
y2: "100%",
|
|
389
|
-
id: `sparkline_bar_gradient_neg_${
|
|
389
|
+
id: `sparkline_bar_gradient_neg_${b.value}`
|
|
390
390
|
}, [
|
|
391
391
|
p("stop", {
|
|
392
392
|
offset: "0%",
|
|
393
|
-
"stop-color": u(
|
|
393
|
+
"stop-color": u(B)(e.value.style.bar.color, 0.05)
|
|
394
394
|
}, null, 8, $t),
|
|
395
395
|
p("stop", {
|
|
396
396
|
offset: "100%",
|
|
397
397
|
"stop-color": e.value.style.bar.color
|
|
398
|
-
}, null, 8,
|
|
398
|
+
}, null, 8, Ft)
|
|
399
399
|
], 8, Lt)
|
|
400
400
|
]),
|
|
401
|
-
e.value.style.area.show && !
|
|
401
|
+
e.value.style.area.show && !I.value && v.value[0] && v.value.length > 1 ? (n(), c("g", Nt, [
|
|
402
402
|
e.value.style.line.smooth ? (n(), c("path", {
|
|
403
403
|
key: 0,
|
|
404
404
|
d: `M ${v.value[0].x},${i.value.bottom} ${u(xe)(v.value)} L ${v.value.at(-1).x},${i.value.bottom} Z`,
|
|
405
|
-
fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${
|
|
405
|
+
fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${b.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity),
|
|
406
406
|
"stroke-linecap": "round",
|
|
407
407
|
"stroke-linejoin": "round"
|
|
408
|
-
}, null, 8,
|
|
408
|
+
}, null, 8, It)) : (n(), c("path", {
|
|
409
409
|
key: 1,
|
|
410
410
|
d: `M${je.value}Z`,
|
|
411
|
-
fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${
|
|
411
|
+
fill: e.value.style.area.useGradient ? `url(#sparkline_gradient_${b.value})` : u(V)(e.value.style.area.color, e.value.style.area.opacity),
|
|
412
412
|
"stroke-linecap": "round",
|
|
413
413
|
"stroke-linejoin": "round"
|
|
414
|
-
}, null, 8,
|
|
414
|
+
}, null, 8, Mt))
|
|
415
415
|
])) : h("", !0),
|
|
416
|
-
e.value.style.line.smooth && !
|
|
416
|
+
e.value.style.line.smooth && !I.value ? (n(), c("path", {
|
|
417
417
|
key: 2,
|
|
418
418
|
d: `M ${u(xe)(v.value) || "0,0"}`,
|
|
419
419
|
stroke: e.value.style.line.color,
|
|
@@ -421,8 +421,8 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
421
421
|
"stroke-width": e.value.style.line.strokeWidth,
|
|
422
422
|
"stroke-linecap": "round",
|
|
423
423
|
"stroke-linejoin": "round"
|
|
424
|
-
}, null, 8,
|
|
425
|
-
!e.value.style.line.smooth && !
|
|
424
|
+
}, null, 8, Dt)) : h("", !0),
|
|
425
|
+
!e.value.style.line.smooth && !I.value ? (n(), c("path", {
|
|
426
426
|
key: 3,
|
|
427
427
|
d: `M ${u(ut)(v.value) || "0,0"}`,
|
|
428
428
|
stroke: e.value.style.line.color,
|
|
@@ -430,17 +430,17 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
430
430
|
"stroke-width": e.value.style.line.strokeWidth,
|
|
431
431
|
"stroke-linecap": "round",
|
|
432
432
|
"stroke-linejoin": "round"
|
|
433
|
-
}, null, 8,
|
|
433
|
+
}, null, 8, Et)) : h("", !0),
|
|
434
434
|
(n(!0), c(J, null, ee(v.value, (l, o) => (n(), c("g", null, [
|
|
435
|
-
|
|
435
|
+
I.value ? (n(), c("rect", {
|
|
436
436
|
key: 0,
|
|
437
437
|
x: l.x - l.width / 2,
|
|
438
438
|
y: isNaN(l.absoluteValue > 0 ? l.y : x.value) ? 0 : l.absoluteValue > 0 ? l.y : x.value,
|
|
439
439
|
width: l.width,
|
|
440
440
|
height: isNaN(Math.abs(l.y - x.value)) ? 0 : Math.abs(l.y - x.value),
|
|
441
|
-
fill: l.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${
|
|
441
|
+
fill: l.absoluteValue > 0 ? `url(#sparkline_bar_gradient_pos_${b.value})` : `url(#sparkline_bar_gradient_neg_${b.value})`,
|
|
442
442
|
rx: e.value.style.bar.borderRadius
|
|
443
|
-
}, null, 8,
|
|
443
|
+
}, null, 8, St)) : h("", !0),
|
|
444
444
|
e.value.style.verticalIndicator.show && (d.value && l.id === d.value.id || L.selectedIndex === o) ? (n(), c("line", {
|
|
445
445
|
key: 1,
|
|
446
446
|
x1: l.x,
|
|
@@ -451,7 +451,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
451
451
|
"stroke-width": e.value.style.verticalIndicator.strokeWidth,
|
|
452
452
|
"stroke-linecap": "round",
|
|
453
453
|
"stroke-dasharray": e.value.style.verticalIndicator.strokeDasharray || 0
|
|
454
|
-
}, null, 8,
|
|
454
|
+
}, null, 8, zt)) : h("", !0)
|
|
455
455
|
]))), 256)),
|
|
456
456
|
q.value < 0 ? (n(), c("line", {
|
|
457
457
|
key: 4,
|
|
@@ -463,7 +463,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
463
463
|
"stroke-dasharray": e.value.style.zeroLine.strokeWidth * 2,
|
|
464
464
|
"stroke-width": e.value.style.zeroLine.strokeWidth,
|
|
465
465
|
"stroke-linecap": "round"
|
|
466
|
-
}, null, 8,
|
|
466
|
+
}, null, 8, Bt)) : h("", !0),
|
|
467
467
|
e.value.style.plot.show ? (n(!0), c(J, { key: 5 }, ee(v.value, (l, o) => (n(), c("g", null, [
|
|
468
468
|
d.value && l.id === d.value.id || L.selectedIndex === o || u($).length === 1 ? (n(), c("circle", {
|
|
469
469
|
key: 0,
|
|
@@ -482,7 +482,7 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
482
482
|
"font-size": e.value.style.dataLabel.fontSize,
|
|
483
483
|
"font-weight": e.value.style.dataLabel.bold ? "bold" : "normal",
|
|
484
484
|
fill: e.value.style.dataLabel.color
|
|
485
|
-
},
|
|
485
|
+
}, z(d.value ? u(ae)(
|
|
486
486
|
e.value.style.dataLabel.formatter,
|
|
487
487
|
d.value.absoluteValue,
|
|
488
488
|
u(le)({ p: e.value.style.dataLabel.prefix, v: d.value.absoluteValue, s: e.value.style.dataLabel.suffix, r: e.value.style.dataLabel.roundingValue }),
|
|
@@ -502,9 +502,9 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
502
502
|
onMouseleave: () => Ue(l, o),
|
|
503
503
|
onClick: () => Xe(l, o)
|
|
504
504
|
}, null, 40, Rt))), 256)),
|
|
505
|
-
|
|
506
|
-
], 44,
|
|
507
|
-
d.value && e.value.style.tooltip.show ? (n(),
|
|
505
|
+
M(t.$slots, "svg", { svg: r.value }, void 0, !0)
|
|
506
|
+
], 44, gt)),
|
|
507
|
+
d.value && e.value.style.tooltip.show ? (n(), be(u(Be), {
|
|
508
508
|
key: 1,
|
|
509
509
|
x: d.value.x,
|
|
510
510
|
y: d.value.y,
|
|
@@ -521,8 +521,8 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
521
521
|
backgroundOpacity: e.value.style.tooltip.backgroundOpacity
|
|
522
522
|
}, {
|
|
523
523
|
default: He(() => [
|
|
524
|
-
|
|
525
|
-
Qe(
|
|
524
|
+
M(t.$slots, "tooltip", ge(me({ ...d.value })), () => [
|
|
525
|
+
Qe(z(d.value.period) + ": " + z(u(ae)(
|
|
526
526
|
e.value.style.dataLabel.formatter,
|
|
527
527
|
d.value.absoluteValue,
|
|
528
528
|
u(le)({
|
|
@@ -543,10 +543,10 @@ const we = {}, Le = { style: { backgroundColor: "#1A1A1A", zeroLine: { color: "#
|
|
|
543
543
|
ref: se,
|
|
544
544
|
dir: "auto"
|
|
545
545
|
}, [
|
|
546
|
-
|
|
546
|
+
M(t.$slots, "source", {}, void 0, !0)
|
|
547
547
|
], 512)) : h("", !0),
|
|
548
|
-
u(R) ? (n(),
|
|
549
|
-
], 12,
|
|
548
|
+
u(R) ? (n(), be(ct, { key: 3 })) : h("", !0)
|
|
549
|
+
], 12, bt));
|
|
550
550
|
}
|
|
551
551
|
}, Pt = /* @__PURE__ */ pt(Ot, [["__scopeId", "data-v-a90be8f4"]]), Qt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
552
552
|
__proto__: null,
|