vue-data-ui 3.22.13 → 3.23.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/LICENSE +1 -1
- package/README.md +13 -1
- package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
- package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
- package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
- package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
- package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
- package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
- package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
- package/dist/HillActions-BWhxHlrj.js +187 -0
- package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
- package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
- package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
- package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
- package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
- package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
- package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
- package/dist/Title-BODtwViI.js +87 -0
- package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
- package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-hill.js +2 -0
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
- package/dist/exposedLib-DWLRqRhv.js +25 -0
- package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
- package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
- package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
- package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
- package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
- package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +493 -0
- package/dist/types/vue-ui-hill.d.ts +90 -0
- package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
- package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
- package/dist/useHints-Dq_w2E8B.js +66 -0
- package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
- package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
- package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
- package/dist/useTransitions-g_zBREk2.js +39 -0
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
- package/dist/vue-data-ui.js +77 -76
- package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
- package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
- package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
- package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
- package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
- package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
- package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
- package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
- package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
- package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
- package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
- package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
- package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
- package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
- package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
- package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
- package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
- package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
- package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
- package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
- package/dist/vue-ui-funnel-CjYosIik.js +797 -0
- package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
- package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
- package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
- package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
- package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
- package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
- package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
- package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
- package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
- package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
- package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
- package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
- package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
- package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
- package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
- package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
- package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
- package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
- package/dist/vue-ui-rating--K7rX2an.js +360 -0
- package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
- package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
- package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
- package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
- package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
- package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
- package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
- package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
- package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
- package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
- package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
- package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
- package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
- package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
- package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
- package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
- package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
- package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
- package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
- package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
- package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
- package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
- package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
- package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
- package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
- package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
- package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
- package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
- package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
- package/dist/vue_ui_hill-dnltu0L-.js +368 -0
- package/package.json +2 -2
- package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
- package/dist/Title-BuPs74IB.js +0 -87
- package/dist/exposedLib-Ciw6TGtP.js +0 -25
- package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
- package/dist/useMountedDelay-BAjrhRJb.js +0 -14
- package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
- package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
- package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
- package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
- package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
- package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
- package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
- package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
- package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
- package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
- package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
- package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
- package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
- package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
- package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
- package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
- package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
- package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
- package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
- package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
- package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
- package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
- package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
- package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
- package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
- package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
- package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
- package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
- package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
- package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
- package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
- package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
- package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ae } from "./
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import {
|
|
9
|
-
import { t as de } from "./
|
|
10
|
-
import { t as fe } from "./
|
|
11
|
-
import { t as pe } from "./
|
|
12
|
-
import { t as me } from "./
|
|
13
|
-
import {
|
|
2
|
+
import { Bt as t, Et as n, Jt as r, P as i, X as a, b as o, g as ee, i as s, jt as c, q as te, t as ne, tt as re } from "./lib-BuMGJ_a0.js";
|
|
3
|
+
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as oe } from "./useConfig-BilxnBNr.js";
|
|
5
|
+
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
+
import { t as l } from "./useNestedProp--NSEmhOH.js";
|
|
7
|
+
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
+
import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
+
import { l as ue, t as de } from "./useResponsive-ZtArZtUf.js";
|
|
10
|
+
import { t as fe } from "./DefGrad-DVBqDjhO.js";
|
|
11
|
+
import { t as pe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
12
|
+
import { t as me } from "./useFitSvgText-CXTzBplU.js";
|
|
13
|
+
import { t as he } from "./vue_ui_spark_trend-DxVmpkmC.js";
|
|
14
|
+
import { computed as d, createBlock as ge, createCommentVNode as f, createElementBlock as p, createElementVNode as _e, createVNode as m, defineAsyncComponent as ve, nextTick as h, normalizeStyle as ye, onMounted as be, openBlock as g, ref as _, renderSlot as v, toDisplayString as y, toRefs as xe, unref as b, watch as x } from "vue";
|
|
14
15
|
//#region src/components/vue-ui-spark-trend.vue
|
|
15
|
-
var
|
|
16
|
+
var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"], Ce = ["id"], we = ["xmlns", "viewBox"], Te = ["width", "height"], Ee = { key: 1 }, De = ["d", "fill"], Oe = ["d", "fill"], ke = [
|
|
16
17
|
"d",
|
|
17
18
|
"stroke",
|
|
18
19
|
"stroke-width",
|
|
@@ -46,7 +47,7 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
46
47
|
"font-size",
|
|
47
48
|
"fill",
|
|
48
49
|
"font-weight"
|
|
49
|
-
],
|
|
50
|
+
], C = /*#__PURE__*/ u({
|
|
50
51
|
__name: "vue-ui-spark-trend",
|
|
51
52
|
props: {
|
|
52
53
|
config: {
|
|
@@ -63,7 +64,21 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
setup(e) {
|
|
66
|
-
let
|
|
67
|
+
let u = ve(() => import("./PackageVersion--QCMh5k_.js").then((e) => e.t)), { vue_ui_spark_trend: S } = oe(), { isThemeValid: C, warnInvalidTheme: Le } = le(), w = pe(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(te()), M = _(I());
|
|
68
|
+
ie({
|
|
69
|
+
config: () => M.value,
|
|
70
|
+
dataset: () => T.dataset,
|
|
71
|
+
component: "VueUiSparkTrend",
|
|
72
|
+
rules: [ae.emptyArray, {
|
|
73
|
+
test: (e) => e.length > 1095,
|
|
74
|
+
message: [
|
|
75
|
+
"👀 The dataset has > 1095 datapoints. Above this threshold, the dataset is computed through an LTTB algorithm, to preserve the shape of the data without increasing the number of datapoints.",
|
|
76
|
+
"",
|
|
77
|
+
"▶️ If you need this level of detail, you can change config.downsample.threshold and set a higher value. Note that performance will be impacted."
|
|
78
|
+
]
|
|
79
|
+
}]
|
|
80
|
+
});
|
|
81
|
+
let Be = d(() => r({
|
|
67
82
|
defaultConfig: { style: {
|
|
68
83
|
animation: { show: !1 },
|
|
69
84
|
backgroundColor: "#99999930",
|
|
@@ -78,11 +93,11 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
78
93
|
}
|
|
79
94
|
} },
|
|
80
95
|
userConfig: M.value.skeletonConfig ?? {}
|
|
81
|
-
})), { loading: N, FINAL_DATASET: P, manualLoading: F } =
|
|
82
|
-
...xe(
|
|
96
|
+
})), { loading: N, FINAL_DATASET: P, manualLoading: F } = se({
|
|
97
|
+
...xe(T),
|
|
83
98
|
FINAL_CONFIG: M,
|
|
84
99
|
prepareConfig: I,
|
|
85
|
-
skeletonDataset:
|
|
100
|
+
skeletonDataset: T.config?.skeletonDataset ?? [
|
|
86
101
|
1,
|
|
87
102
|
2,
|
|
88
103
|
3,
|
|
@@ -96,68 +111,68 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
96
111
|
144,
|
|
97
112
|
233
|
|
98
113
|
],
|
|
99
|
-
skeletonConfig:
|
|
114
|
+
skeletonConfig: r({
|
|
100
115
|
defaultConfig: M.value,
|
|
101
|
-
userConfig:
|
|
116
|
+
userConfig: Be.value
|
|
102
117
|
})
|
|
103
118
|
});
|
|
104
119
|
function I() {
|
|
105
|
-
let e =
|
|
106
|
-
userConfig:
|
|
107
|
-
defaultConfig:
|
|
120
|
+
let e = l({
|
|
121
|
+
userConfig: T.config,
|
|
122
|
+
defaultConfig: S
|
|
108
123
|
}), t = e.theme;
|
|
109
124
|
if (!t) return e;
|
|
110
|
-
if (!
|
|
111
|
-
let n =
|
|
112
|
-
userConfig:
|
|
125
|
+
if (!C.value(e)) return Le(e), e;
|
|
126
|
+
let n = l({
|
|
127
|
+
userConfig: he[t] || T.config,
|
|
113
128
|
defaultConfig: e
|
|
114
129
|
});
|
|
115
|
-
return
|
|
116
|
-
userConfig:
|
|
130
|
+
return l({
|
|
131
|
+
userConfig: T.config,
|
|
117
132
|
defaultConfig: n
|
|
118
133
|
});
|
|
119
134
|
}
|
|
120
|
-
let L =
|
|
135
|
+
let L = d(() => n({
|
|
121
136
|
data: P.value,
|
|
122
137
|
threshold: M.value.downsample.threshold
|
|
123
138
|
}));
|
|
124
|
-
|
|
139
|
+
x(() => T.config, (e) => {
|
|
125
140
|
M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
|
|
126
141
|
}, { deep: !0 });
|
|
127
142
|
function R(e) {
|
|
128
143
|
return e.map((e) => o(e));
|
|
129
144
|
}
|
|
130
|
-
let z =
|
|
145
|
+
let z = _(n({
|
|
131
146
|
data: P.value,
|
|
132
147
|
threshold: M.value.downsample.threshold
|
|
133
|
-
}).map((e) => M.value.style.animation.show && !
|
|
148
|
+
}).map((e) => M.value.style.animation.show && !w.value || [
|
|
134
149
|
void 0,
|
|
135
150
|
Infinity,
|
|
136
151
|
-Infinity,
|
|
137
152
|
null,
|
|
138
153
|
NaN
|
|
139
154
|
].includes(e) ? null : e));
|
|
140
|
-
|
|
141
|
-
A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !
|
|
155
|
+
x(L, (e) => {
|
|
156
|
+
A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !w.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
|
|
142
157
|
void 0,
|
|
143
158
|
Infinity,
|
|
144
159
|
-Infinity,
|
|
145
160
|
null
|
|
146
|
-
].includes(e) && !Number.isNaN(e) ? e : null), B(),
|
|
161
|
+
].includes(e) && !Number.isNaN(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
147
162
|
}, {
|
|
148
163
|
deep: !0,
|
|
149
164
|
immediate: !0
|
|
150
|
-
}),
|
|
151
|
-
A.value &&= (cancelAnimationFrame(A.value), null), F.value =
|
|
165
|
+
}), x(() => JSON.stringify(T.dataset), () => {
|
|
166
|
+
A.value &&= (cancelAnimationFrame(A.value), null), F.value = c(T.dataset);
|
|
152
167
|
let e = L.value;
|
|
153
|
-
z.value = M.value.style.animation.show && !
|
|
168
|
+
z.value = M.value.style.animation.show && !w.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
154
169
|
}, {
|
|
155
170
|
deep: !1,
|
|
156
171
|
immediate: !0
|
|
157
172
|
});
|
|
158
173
|
function B() {
|
|
159
174
|
let e = 1e3 / M.value.style.animation.animationFrames, t = performance.now();
|
|
160
|
-
if (!N.value && M.value.style.animation.show && !
|
|
175
|
+
if (!N.value && M.value.style.animation.show && !w.value && M.value.style.animation.animationFrames && P.value.length > 1) {
|
|
161
176
|
z.value = [];
|
|
162
177
|
let n = 0;
|
|
163
178
|
function r() {
|
|
@@ -171,37 +186,37 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
171
186
|
be(() => {
|
|
172
187
|
V();
|
|
173
188
|
});
|
|
174
|
-
let
|
|
189
|
+
let Ve = d(() => M.value.debug);
|
|
175
190
|
function V() {
|
|
176
|
-
if (
|
|
191
|
+
if (c(T.dataset) && (re({
|
|
177
192
|
componentName: "VueUiSparkTrend",
|
|
178
193
|
type: "dataset",
|
|
179
|
-
debug:
|
|
180
|
-
}), F.value = !0),
|
|
181
|
-
let e =
|
|
182
|
-
let { width: e, height: t } =
|
|
183
|
-
chart:
|
|
184
|
-
source:
|
|
194
|
+
debug: Ve.value
|
|
195
|
+
}), F.value = !0), c(T.dataset) || (F.value = !1), M.value.responsive) {
|
|
196
|
+
let e = ue(() => {
|
|
197
|
+
let { width: e, height: t } = de({
|
|
198
|
+
chart: E.value,
|
|
199
|
+
source: ze.value
|
|
185
200
|
});
|
|
186
201
|
requestAnimationFrame(() => {
|
|
187
202
|
H.value = e, U.value = t;
|
|
188
203
|
});
|
|
189
204
|
});
|
|
190
|
-
D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value =
|
|
205
|
+
D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = E.value.parentNode, D.value.observe(O.value);
|
|
191
206
|
}
|
|
192
207
|
B(), $(".vue-ui-sparktrend-progress-label", 6);
|
|
193
208
|
}
|
|
194
|
-
let H =
|
|
209
|
+
let H = _(M.value.style.width), U = _(M.value.style.height), W = d(() => ({
|
|
195
210
|
height: U.value,
|
|
196
211
|
width: H.value
|
|
197
|
-
})), G =
|
|
212
|
+
})), G = d(() => ({
|
|
198
213
|
top: M.value.style.padding.top,
|
|
199
214
|
left: M.value.style.padding.left,
|
|
200
215
|
right: W.value.width - M.value.style.padding.right,
|
|
201
216
|
bottom: W.value.height - M.value.style.padding.bottom,
|
|
202
217
|
height: W.value.height - (M.value.style.padding.top + M.value.style.padding.bottom) - (M.value.style.dataLabel.show ? M.value.style.dataLabel.fontSize : 0),
|
|
203
218
|
width: W.value.width - (M.value.style.padding.left + M.value.style.padding.right)
|
|
204
|
-
})), K =
|
|
219
|
+
})), K = d(() => {
|
|
205
220
|
let e = R(L.value).filter(Number.isFinite);
|
|
206
221
|
if (!e.length) return {
|
|
207
222
|
max: 0,
|
|
@@ -216,7 +231,7 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
216
231
|
max: t,
|
|
217
232
|
min: n
|
|
218
233
|
};
|
|
219
|
-
}),
|
|
234
|
+
}), He = d(() => {
|
|
220
235
|
let e = L.value, t = e.length ? e[e.length - 1] : "x";
|
|
221
236
|
return [
|
|
222
237
|
j.value,
|
|
@@ -225,14 +240,14 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
225
240
|
M.value.downsample.threshold,
|
|
226
241
|
M.value.style.line.smooth ? "s" : "l"
|
|
227
242
|
].join("-");
|
|
228
|
-
}), q =
|
|
243
|
+
}), q = d(() => {
|
|
229
244
|
let e = K.value.min >= 0 ? 0 : K.value.min;
|
|
230
245
|
return Math.abs(e);
|
|
231
|
-
}),
|
|
232
|
-
function
|
|
233
|
-
return e /
|
|
246
|
+
}), Ue = d(() => K.value.max + q.value);
|
|
247
|
+
function We(e) {
|
|
248
|
+
return e / Ue.value;
|
|
234
249
|
}
|
|
235
|
-
let
|
|
250
|
+
let Ge = d(() => L.value.length), J = d(() => z.value.map((e, t) => {
|
|
236
251
|
let n = isNaN(e) || [
|
|
237
252
|
void 0,
|
|
238
253
|
null,
|
|
@@ -245,14 +260,14 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
245
260
|
value: o(e),
|
|
246
261
|
absoluteValue: o(n),
|
|
247
262
|
plotValue: o(n + q.value),
|
|
248
|
-
toMax:
|
|
249
|
-
x: G.value.left + o(t * (G.value.width / (
|
|
250
|
-
y: G.value.bottom - o(G.value.height *
|
|
263
|
+
toMax: We(n + q.value),
|
|
264
|
+
x: G.value.left + o(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
|
|
265
|
+
y: G.value.bottom - o(G.value.height * We(n + q.value))
|
|
251
266
|
};
|
|
252
|
-
})), Y =
|
|
267
|
+
})), Y = d(() => {
|
|
253
268
|
let e = R(L.value);
|
|
254
|
-
return M.value.style.trendLabel.trendType === "global" ?
|
|
255
|
-
}), X =
|
|
269
|
+
return M.value.style.trendLabel.trendType === "global" ? ee(e) : M.value.style.trendLabel.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : M.value.style.trendLabel.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
|
|
270
|
+
}), X = d(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = d(() => M.value.style.arrow.colors[X.value]), Ke = d(() => {
|
|
256
271
|
let e = {
|
|
257
272
|
x: J.value[0].x,
|
|
258
273
|
y: W.value.height - 6
|
|
@@ -269,63 +284,63 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
269
284
|
t.x,
|
|
270
285
|
t.y
|
|
271
286
|
].toString();
|
|
272
|
-
}),
|
|
287
|
+
}), qe = d(() => {
|
|
273
288
|
let e = [];
|
|
274
289
|
return J.value.forEach((t) => {
|
|
275
290
|
e.push(`${t.x},${t.y} `);
|
|
276
291
|
}), `M ${e.toString()}`;
|
|
277
|
-
}), Q =
|
|
278
|
-
svgRef:
|
|
279
|
-
unitWidth:
|
|
292
|
+
}), Q = d(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = me({
|
|
293
|
+
svgRef: Re,
|
|
294
|
+
unitWidth: d(() => G.value.left * .8),
|
|
280
295
|
fontSize: M.value.style.trendLabel.fontSize
|
|
281
|
-
}),
|
|
296
|
+
}), Je = d(() => {
|
|
282
297
|
if (N.value || k.value) return "Trend chart loading";
|
|
283
298
|
let e = J.value?.at(-1), t = e?.value, n = a({
|
|
284
299
|
p: Y.value > 0 ? "+" : "",
|
|
285
300
|
v: Y.value,
|
|
286
301
|
s: "%",
|
|
287
302
|
r: M.value.style.trendLabel.rounding
|
|
288
|
-
}), r = t == null ? "not available" :
|
|
303
|
+
}), r = t == null ? "not available" : s(M.value.style.dataLabel.formatter, t, a({
|
|
289
304
|
p: M.value.style.dataLabel.prefix,
|
|
290
305
|
v: t,
|
|
291
306
|
s: M.value.style.dataLabel.suffix,
|
|
292
307
|
r: M.value.style.dataLabel.rounding
|
|
293
308
|
}), { datapoint: e });
|
|
294
309
|
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
|
|
295
|
-
}),
|
|
296
|
-
return (e,
|
|
310
|
+
}), Ye = d(() => `sparktrend-a11y-${j.value}`);
|
|
311
|
+
return (e, n) => (g(), p("div", {
|
|
297
312
|
ref_key: "sparkTrendChart",
|
|
298
|
-
ref:
|
|
313
|
+
ref: E,
|
|
299
314
|
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
300
315
|
id: j.value,
|
|
301
316
|
style: ye(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
|
|
302
317
|
role: "img",
|
|
303
|
-
"aria-describedby":
|
|
318
|
+
"aria-describedby": Ye.value
|
|
304
319
|
}, [
|
|
305
|
-
|
|
306
|
-
id:
|
|
320
|
+
_e("p", {
|
|
321
|
+
id: Ye.value,
|
|
307
322
|
class: "sr-only",
|
|
308
323
|
"aria-live": "polite"
|
|
309
|
-
},
|
|
310
|
-
(
|
|
311
|
-
key:
|
|
324
|
+
}, y(Je.value), 9, Ce),
|
|
325
|
+
(g(), p("svg", {
|
|
326
|
+
key: He.value,
|
|
312
327
|
ref_key: "svgRef",
|
|
313
|
-
ref:
|
|
314
|
-
xmlns:
|
|
328
|
+
ref: Re,
|
|
329
|
+
xmlns: b(ne),
|
|
315
330
|
viewBox: `0 0 ${W.value.width} ${W.value.height}`,
|
|
316
331
|
style: "width:100%;background:transparent;overflow:visible",
|
|
317
332
|
"aria-hidden": "true"
|
|
318
333
|
}, [
|
|
319
|
-
|
|
320
|
-
e.$slots["chart-background"] ? (
|
|
334
|
+
m(b(u)),
|
|
335
|
+
e.$slots["chart-background"] ? (g(), p("foreignObject", {
|
|
321
336
|
key: 0,
|
|
322
337
|
x: 0,
|
|
323
338
|
y: 0,
|
|
324
339
|
width: W.value.width <= 0 ? 10 : W.value.width,
|
|
325
340
|
height: W.value.height <= 0 ? 10 : W.value.height,
|
|
326
341
|
style: { pointerEvents: "none" }
|
|
327
|
-
}, [
|
|
328
|
-
|
|
342
|
+
}, [v(e.$slots, "chart-background", {}, void 0, !0)], 8, Te)) : f("", !0),
|
|
343
|
+
_e("defs", null, [m(fe, {
|
|
329
344
|
t: "linear",
|
|
330
345
|
x1: "0%",
|
|
331
346
|
y1: "0%",
|
|
@@ -334,7 +349,7 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
334
349
|
id: `pill_gradient_${j.value}`,
|
|
335
350
|
stops: [[
|
|
336
351
|
"0%",
|
|
337
|
-
|
|
352
|
+
b(t)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
338
353
|
1
|
|
339
354
|
], [
|
|
340
355
|
"100%",
|
|
@@ -342,45 +357,45 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
342
357
|
1
|
|
343
358
|
]]
|
|
344
359
|
}, null, 8, ["id", "stops"])]),
|
|
345
|
-
M.value.style.area.show && J.value[0] ? (
|
|
360
|
+
M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
|
|
346
361
|
key: 0,
|
|
347
|
-
d: `M ${J.value[0].x},${G.value.bottom} ${
|
|
348
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` :
|
|
362
|
+
d: `M ${J.value[0].x},${G.value.bottom} ${b(i)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
|
|
363
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(t)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
349
364
|
stroke: "none"
|
|
350
|
-
}, null, 8, De)) : (
|
|
365
|
+
}, null, 8, De)) : (g(), p("path", {
|
|
351
366
|
key: 1,
|
|
352
|
-
d: `M${
|
|
353
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` :
|
|
367
|
+
d: `M${Ke.value}Z`,
|
|
368
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(t)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
354
369
|
stroke: "none"
|
|
355
|
-
}, null, 8, Oe))])) :
|
|
356
|
-
M.value.style.line.smooth && J.value.length ? (
|
|
370
|
+
}, null, 8, Oe))])) : f("", !0),
|
|
371
|
+
M.value.style.line.smooth && J.value.length ? (g(), p("path", {
|
|
357
372
|
key: 2,
|
|
358
|
-
d: `M ${
|
|
373
|
+
d: `M ${b(i)(J.value)}`,
|
|
359
374
|
stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
|
|
360
375
|
fill: "none",
|
|
361
376
|
"stroke-width": M.value.style.line.strokeWidth,
|
|
362
377
|
"stroke-linecap": M.value.style.line.strokeLinecap,
|
|
363
378
|
"stroke-linejoin": M.value.style.line.strokeLinejoin
|
|
364
|
-
}, null, 8, ke)) :
|
|
365
|
-
!M.value.style.line.smooth && J.value.length ? (
|
|
379
|
+
}, null, 8, ke)) : f("", !0),
|
|
380
|
+
!M.value.style.line.smooth && J.value.length ? (g(), p("path", {
|
|
366
381
|
key: 3,
|
|
367
|
-
d:
|
|
382
|
+
d: qe.value,
|
|
368
383
|
stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
|
|
369
384
|
fill: "none",
|
|
370
385
|
"stroke-width": M.value.style.line.strokeWidth,
|
|
371
386
|
"stroke-linecap": M.value.style.line.strokeLinecap,
|
|
372
387
|
"stroke-linejoin": M.value.style.line.strokeLinejoin
|
|
373
|
-
}, null, 8, Ae)) :
|
|
374
|
-
|
|
388
|
+
}, null, 8, Ae)) : f("", !0),
|
|
389
|
+
b(N) ? (g(), p("path", {
|
|
375
390
|
key: 4,
|
|
376
391
|
fill: "#6A6A6A",
|
|
377
392
|
d: `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
|
|
378
|
-
}, null, 8, je)) : (
|
|
393
|
+
}, null, 8, je)) : (g(), p("path", {
|
|
379
394
|
key: 5,
|
|
380
395
|
fill: Z.value,
|
|
381
396
|
d: X.value === "positive" ? `M ${G.value.left / 2}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 12} ${G.value.left / 2 + 7}, ${Q.value + 12} Z` : X.value === "negative" ? `M ${G.value.left / 2}, ${Q.value + 12} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 + 7}, ${Q.value} Z` : `M ${G.value.left / 2 + 6}, ${Q.value + 7} ${G.value.left / 2 - 7}, ${Q.value} ${G.value.left / 2 - 7}, ${Q.value + 14} Z`
|
|
382
397
|
}, null, 8, Me)),
|
|
383
|
-
|
|
398
|
+
b(N) ? (g(), p("rect", {
|
|
384
399
|
key: 6,
|
|
385
400
|
x: G.value.left / 2 - M.value.style.trendLabel.fontSize - 2,
|
|
386
401
|
y: U.value / 2 + M.value.style.trendLabel.fontSize - 2,
|
|
@@ -388,8 +403,8 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
388
403
|
height: M.value.style.trendLabel.fontSize,
|
|
389
404
|
fill: "#6A6A6A80",
|
|
390
405
|
rx: "3"
|
|
391
|
-
}, null, 8, Ne)) :
|
|
392
|
-
!k.value && !
|
|
406
|
+
}, null, 8, Ne)) : f("", !0),
|
|
407
|
+
!k.value && !b(N) ? (g(), p("text", {
|
|
393
408
|
key: 7,
|
|
394
409
|
class: "vue-ui-sparktrend-progress-label",
|
|
395
410
|
x: G.value.left / 2,
|
|
@@ -398,22 +413,22 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
398
413
|
fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
|
|
399
414
|
"font-size": M.value.style.trendLabel.fontSize,
|
|
400
415
|
"font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
|
|
401
|
-
},
|
|
416
|
+
}, y(b(a)({
|
|
402
417
|
p: Y.value > 0 ? "+" : "",
|
|
403
418
|
v: Y.value,
|
|
404
419
|
s: "%",
|
|
405
420
|
r: M.value.style.trendLabel.rounding
|
|
406
|
-
})), 9, Pe)) :
|
|
407
|
-
J.value.length && J.value.at(-1).x !== void 0 ? (
|
|
421
|
+
})), 9, Pe)) : f("", !0),
|
|
422
|
+
J.value.length && J.value.at(-1).x !== void 0 ? (g(), p("circle", {
|
|
408
423
|
key: 8,
|
|
409
424
|
stroke: M.value.style.backgroundColor,
|
|
410
425
|
"stroke-width": 2,
|
|
411
426
|
cx: J.value.at(-1).x,
|
|
412
427
|
cy: J.value.at(-1).y,
|
|
413
428
|
r: 4,
|
|
414
|
-
fill:
|
|
415
|
-
}, null, 8, Fe)) :
|
|
416
|
-
J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (
|
|
429
|
+
fill: b(N) ? "#6A6A6A" : Z.value
|
|
430
|
+
}, null, 8, Fe)) : f("", !0),
|
|
431
|
+
J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (g(), p("text", {
|
|
417
432
|
key: 9,
|
|
418
433
|
"text-anchor": "middle",
|
|
419
434
|
x: J.value.at(-1).x,
|
|
@@ -421,22 +436,22 @@ var b = /* @__PURE__ */ e({ default: () => x }), Se = ["id", "aria-describedby"]
|
|
|
421
436
|
"font-size": M.value.style.dataLabel.fontSize,
|
|
422
437
|
fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
|
|
423
438
|
"font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
|
|
424
|
-
},
|
|
439
|
+
}, y(b(s)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(a)({
|
|
425
440
|
p: M.value.style.dataLabel.prefix,
|
|
426
441
|
v: J.value.at(-1).value,
|
|
427
442
|
s: M.value.style.dataLabel.suffix,
|
|
428
443
|
r: M.value.style.dataLabel.rounding
|
|
429
|
-
}), { datapoint: J.value.at(-1) })), 9, Ie)) :
|
|
444
|
+
}), { datapoint: J.value.at(-1) })), 9, Ie)) : f("", !0)
|
|
430
445
|
], 8, we)),
|
|
431
|
-
e.$slots.source ? (
|
|
446
|
+
e.$slots.source ? (g(), p("div", {
|
|
432
447
|
key: 0,
|
|
433
448
|
ref_key: "source",
|
|
434
|
-
ref:
|
|
449
|
+
ref: ze,
|
|
435
450
|
dir: "auto"
|
|
436
|
-
}, [
|
|
437
|
-
|
|
451
|
+
}, [v(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
|
|
452
|
+
v(e.$slots, "skeleton", {}, () => [b(N) ? (g(), ge(ce, { key: 0 })) : f("", !0)], !0)
|
|
438
453
|
], 12, Se));
|
|
439
454
|
}
|
|
440
|
-
}, [["__scopeId", "data-v-
|
|
455
|
+
}, [["__scopeId", "data-v-5bd4919c"]]);
|
|
441
456
|
//#endregion
|
|
442
|
-
export {
|
|
457
|
+
export { S as n, C as t };
|