vue-data-ui 3.22.8 → 3.22.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/BaseIcon-CDTIUIKV.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
- package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
- package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
- package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
- package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
- package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
- package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
- package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
- package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
- package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
- package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
- package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
- package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
- package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
- package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
- package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-table-Q3brrivC.js +0 -1338
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
- package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
- package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
|
@@ -1,52 +1,53 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as
|
|
4
|
-
import { n as
|
|
5
|
-
import { t as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { c as
|
|
9
|
-
import { t as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
2
|
+
import { At as t, K as n, N as r, Tt as i, Y as a, et as ee, h as te, i as ne, qt as re, t as ie, y as o, zt as s } from "./lib-CnHx5WfV.js";
|
|
3
|
+
import { t as ae } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
+
import { t as c } from "./useNestedProp-D8NuRneO.js";
|
|
6
|
+
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
+
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
|
+
import { c as le } from "./canvas-lib-BOP_HS11.js";
|
|
9
|
+
import { t as ue } from "./useResponsive-BfnK0KxU.js";
|
|
10
|
+
import { t as de } from "./DefGrad-DVBqDjhO.js";
|
|
11
|
+
import { t as fe } from "./usePrefersMotion-BC-CsqR1.js";
|
|
12
|
+
import { t as pe } from "./useFitSvgText-CT3nmlaS.js";
|
|
13
|
+
import { t as me } from "./vue_ui_spark_trend-DxVmpkmC.js";
|
|
14
|
+
import { computed as u, createBlock as he, createCommentVNode as d, createElementBlock as f, createElementVNode as ge, createVNode as _e, defineAsyncComponent as ve, nextTick as p, normalizeStyle as ye, onMounted as be, openBlock as m, ref as h, renderSlot as g, toDisplayString as _, toRefs as xe, unref as v, watch as y } from "vue";
|
|
14
15
|
//#region src/components/vue-ui-spark-trend.vue
|
|
15
|
-
var
|
|
16
|
+
var b = /* @__PURE__ */ e({ default: () => x }), 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",
|
|
19
20
|
"stroke-linecap",
|
|
20
21
|
"stroke-linejoin"
|
|
21
|
-
],
|
|
22
|
+
], Ae = [
|
|
22
23
|
"d",
|
|
23
24
|
"stroke",
|
|
24
25
|
"stroke-width",
|
|
25
26
|
"stroke-linecap",
|
|
26
27
|
"stroke-linejoin"
|
|
27
|
-
],
|
|
28
|
+
], je = ["d"], Me = ["fill", "d"], Ne = [
|
|
28
29
|
"x",
|
|
29
30
|
"y",
|
|
30
31
|
"width",
|
|
31
32
|
"height"
|
|
32
|
-
],
|
|
33
|
+
], Pe = [
|
|
33
34
|
"x",
|
|
34
35
|
"y",
|
|
35
36
|
"fill",
|
|
36
37
|
"font-size",
|
|
37
38
|
"font-weight"
|
|
38
|
-
],
|
|
39
|
+
], Fe = [
|
|
39
40
|
"stroke",
|
|
40
41
|
"cx",
|
|
41
42
|
"cy",
|
|
42
43
|
"fill"
|
|
43
|
-
],
|
|
44
|
+
], Ie = [
|
|
44
45
|
"x",
|
|
45
46
|
"y",
|
|
46
47
|
"font-size",
|
|
47
48
|
"fill",
|
|
48
49
|
"font-weight"
|
|
49
|
-
],
|
|
50
|
+
], x = /*#__PURE__*/ l({
|
|
50
51
|
__name: "vue-ui-spark-trend",
|
|
51
52
|
props: {
|
|
52
53
|
config: {
|
|
@@ -63,7 +64,7 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
66
|
setup(e) {
|
|
66
|
-
let
|
|
67
|
+
let l = ve(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), { vue_ui_spark_trend: b } = ae(), { isThemeValid: x, warnInvalidTheme: Le } = ce(), S = fe(), C = e, w = h(null), T = h(null), E = h(null), D = h(null), O = h(null), k = h(!1), A = h(null), j = h(n()), M = h(I()), Re = u(() => re({
|
|
67
68
|
defaultConfig: { style: {
|
|
68
69
|
animation: { show: !1 },
|
|
69
70
|
backgroundColor: "#99999930",
|
|
@@ -78,11 +79,11 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
78
79
|
}
|
|
79
80
|
} },
|
|
80
81
|
userConfig: M.value.skeletonConfig ?? {}
|
|
81
|
-
})), { loading: N, FINAL_DATASET: P, manualLoading: F } =
|
|
82
|
-
...
|
|
82
|
+
})), { loading: N, FINAL_DATASET: P, manualLoading: F } = oe({
|
|
83
|
+
...xe(C),
|
|
83
84
|
FINAL_CONFIG: M,
|
|
84
85
|
prepareConfig: I,
|
|
85
|
-
skeletonDataset:
|
|
86
|
+
skeletonDataset: C.config?.skeletonDataset ?? [
|
|
86
87
|
1,
|
|
87
88
|
2,
|
|
88
89
|
3,
|
|
@@ -96,68 +97,68 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
96
97
|
144,
|
|
97
98
|
233
|
|
98
99
|
],
|
|
99
|
-
skeletonConfig:
|
|
100
|
+
skeletonConfig: re({
|
|
100
101
|
defaultConfig: M.value,
|
|
101
|
-
userConfig:
|
|
102
|
+
userConfig: Re.value
|
|
102
103
|
})
|
|
103
104
|
});
|
|
104
105
|
function I() {
|
|
105
|
-
let e =
|
|
106
|
-
userConfig:
|
|
107
|
-
defaultConfig:
|
|
106
|
+
let e = c({
|
|
107
|
+
userConfig: C.config,
|
|
108
|
+
defaultConfig: b
|
|
108
109
|
}), t = e.theme;
|
|
109
110
|
if (!t) return e;
|
|
110
|
-
if (!
|
|
111
|
-
let n =
|
|
112
|
-
userConfig:
|
|
111
|
+
if (!x.value(e)) return Le(e), e;
|
|
112
|
+
let n = c({
|
|
113
|
+
userConfig: me[t] || C.config,
|
|
113
114
|
defaultConfig: e
|
|
114
115
|
});
|
|
115
|
-
return
|
|
116
|
-
userConfig:
|
|
116
|
+
return c({
|
|
117
|
+
userConfig: C.config,
|
|
117
118
|
defaultConfig: n
|
|
118
119
|
});
|
|
119
120
|
}
|
|
120
|
-
let L =
|
|
121
|
+
let L = u(() => i({
|
|
121
122
|
data: P.value,
|
|
122
123
|
threshold: M.value.downsample.threshold
|
|
123
124
|
}));
|
|
124
|
-
|
|
125
|
+
y(() => C.config, (e) => {
|
|
125
126
|
M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
|
|
126
127
|
}, { deep: !0 });
|
|
127
128
|
function R(e) {
|
|
128
|
-
return e.map((e) =>
|
|
129
|
+
return e.map((e) => o(e));
|
|
129
130
|
}
|
|
130
|
-
let z =
|
|
131
|
+
let z = h(i({
|
|
131
132
|
data: P.value,
|
|
132
133
|
threshold: M.value.downsample.threshold
|
|
133
|
-
}).map((e) => M.value.style.animation.show && !
|
|
134
|
+
}).map((e) => M.value.style.animation.show && !S.value || [
|
|
134
135
|
void 0,
|
|
135
136
|
Infinity,
|
|
136
137
|
-Infinity,
|
|
137
138
|
null,
|
|
138
139
|
NaN
|
|
139
140
|
].includes(e) ? null : e));
|
|
140
|
-
|
|
141
|
-
A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !
|
|
141
|
+
y(L, (e) => {
|
|
142
|
+
A.value &&= (cancelAnimationFrame(A.value), null), M.value.style.animation.show && !S.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
|
|
142
143
|
void 0,
|
|
143
144
|
Infinity,
|
|
144
145
|
-Infinity,
|
|
145
146
|
null
|
|
146
|
-
].includes(e) && !Number.isNaN(e) ? e : null), B(),
|
|
147
|
+
].includes(e) && !Number.isNaN(e) ? e : null), B(), p(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
147
148
|
}, {
|
|
148
149
|
deep: !0,
|
|
149
150
|
immediate: !0
|
|
150
|
-
}),
|
|
151
|
-
A.value &&= (cancelAnimationFrame(A.value), null), F.value =
|
|
151
|
+
}), y(() => JSON.stringify(C.dataset), () => {
|
|
152
|
+
A.value &&= (cancelAnimationFrame(A.value), null), F.value = t(C.dataset);
|
|
152
153
|
let e = L.value;
|
|
153
|
-
z.value = M.value.style.animation.show && !
|
|
154
|
+
z.value = M.value.style.animation.show && !S.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), p(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
154
155
|
}, {
|
|
155
156
|
deep: !1,
|
|
156
157
|
immediate: !0
|
|
157
158
|
});
|
|
158
159
|
function B() {
|
|
159
160
|
let e = 1e3 / M.value.style.animation.animationFrames, t = performance.now();
|
|
160
|
-
if (!N.value && M.value.style.animation.show && !
|
|
161
|
+
if (!N.value && M.value.style.animation.show && !S.value && M.value.style.animation.animationFrames && P.value.length > 1) {
|
|
161
162
|
z.value = [];
|
|
162
163
|
let n = 0;
|
|
163
164
|
function r() {
|
|
@@ -168,40 +169,40 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
168
169
|
r();
|
|
169
170
|
}
|
|
170
171
|
}
|
|
171
|
-
|
|
172
|
+
be(() => {
|
|
172
173
|
V();
|
|
173
174
|
});
|
|
174
|
-
let
|
|
175
|
+
let ze = u(() => M.value.debug);
|
|
175
176
|
function V() {
|
|
176
|
-
if (
|
|
177
|
+
if (t(C.dataset) && (ee({
|
|
177
178
|
componentName: "VueUiSparkTrend",
|
|
178
179
|
type: "dataset",
|
|
179
|
-
debug:
|
|
180
|
-
}), F.value = !0),
|
|
181
|
-
let e =
|
|
182
|
-
let { width: e, height: t } =
|
|
183
|
-
chart:
|
|
184
|
-
source:
|
|
180
|
+
debug: ze.value
|
|
181
|
+
}), F.value = !0), t(C.dataset) || (F.value = !1), M.value.responsive) {
|
|
182
|
+
let e = le(() => {
|
|
183
|
+
let { width: e, height: t } = ue({
|
|
184
|
+
chart: w.value,
|
|
185
|
+
source: E.value
|
|
185
186
|
});
|
|
186
187
|
requestAnimationFrame(() => {
|
|
187
188
|
H.value = e, U.value = t;
|
|
188
189
|
});
|
|
189
190
|
});
|
|
190
|
-
D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value =
|
|
191
|
+
D.value && (O.value && D.value.unobserve(O.value), D.value.disconnect()), D.value = new ResizeObserver(e), O.value = w.value.parentNode, D.value.observe(O.value);
|
|
191
192
|
}
|
|
192
193
|
B(), $(".vue-ui-sparktrend-progress-label", 6);
|
|
193
194
|
}
|
|
194
|
-
let H =
|
|
195
|
+
let H = h(M.value.style.width), U = h(M.value.style.height), W = u(() => ({
|
|
195
196
|
height: U.value,
|
|
196
197
|
width: H.value
|
|
197
|
-
})), G =
|
|
198
|
+
})), G = u(() => ({
|
|
198
199
|
top: M.value.style.padding.top,
|
|
199
200
|
left: M.value.style.padding.left,
|
|
200
201
|
right: W.value.width - M.value.style.padding.right,
|
|
201
202
|
bottom: W.value.height - M.value.style.padding.bottom,
|
|
202
203
|
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
204
|
width: W.value.width - (M.value.style.padding.left + M.value.style.padding.right)
|
|
204
|
-
})), K =
|
|
205
|
+
})), K = u(() => {
|
|
205
206
|
let e = R(L.value).filter(Number.isFinite);
|
|
206
207
|
if (!e.length) return {
|
|
207
208
|
max: 0,
|
|
@@ -216,7 +217,7 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
216
217
|
max: t,
|
|
217
218
|
min: n
|
|
218
219
|
};
|
|
219
|
-
}),
|
|
220
|
+
}), Be = u(() => {
|
|
220
221
|
let e = L.value, t = e.length ? e[e.length - 1] : "x";
|
|
221
222
|
return [
|
|
222
223
|
j.value,
|
|
@@ -225,14 +226,14 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
225
226
|
M.value.downsample.threshold,
|
|
226
227
|
M.value.style.line.smooth ? "s" : "l"
|
|
227
228
|
].join("-");
|
|
228
|
-
}), q =
|
|
229
|
+
}), q = u(() => {
|
|
229
230
|
let e = K.value.min >= 0 ? 0 : K.value.min;
|
|
230
231
|
return Math.abs(e);
|
|
231
|
-
}),
|
|
232
|
-
function
|
|
233
|
-
return e /
|
|
232
|
+
}), Ve = u(() => K.value.max + q.value);
|
|
233
|
+
function He(e) {
|
|
234
|
+
return e / Ve.value;
|
|
234
235
|
}
|
|
235
|
-
let
|
|
236
|
+
let Ue = u(() => L.value.length), J = u(() => z.value.map((e, t) => {
|
|
236
237
|
let n = isNaN(e) || [
|
|
237
238
|
void 0,
|
|
238
239
|
null,
|
|
@@ -242,17 +243,17 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
242
243
|
-Infinity
|
|
243
244
|
].includes(e) ? 0 : e || 0;
|
|
244
245
|
return {
|
|
245
|
-
value:
|
|
246
|
-
absoluteValue:
|
|
247
|
-
plotValue:
|
|
248
|
-
toMax:
|
|
249
|
-
x: G.value.left +
|
|
250
|
-
y: G.value.bottom -
|
|
246
|
+
value: o(e),
|
|
247
|
+
absoluteValue: o(n),
|
|
248
|
+
plotValue: o(n + q.value),
|
|
249
|
+
toMax: He(n + q.value),
|
|
250
|
+
x: G.value.left + o(t * (G.value.width / (Ue.value - 1))) - M.value.style.padding.right,
|
|
251
|
+
y: G.value.bottom - o(G.value.height * He(n + q.value))
|
|
251
252
|
};
|
|
252
|
-
})), Y =
|
|
253
|
+
})), Y = u(() => {
|
|
253
254
|
let e = R(L.value);
|
|
254
|
-
return M.value.style.trendLabel.trendType === "global" ?
|
|
255
|
-
}), X =
|
|
255
|
+
return M.value.style.trendLabel.trendType === "global" ? te(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;
|
|
256
|
+
}), X = u(() => k.value || Y.value === 0 ? "neutral" : Y.value > 0 ? "positive" : "negative"), Z = u(() => M.value.style.arrow.colors[X.value]), We = u(() => {
|
|
256
257
|
let e = {
|
|
257
258
|
x: J.value[0].x,
|
|
258
259
|
y: W.value.height - 6
|
|
@@ -269,114 +270,118 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
269
270
|
t.x,
|
|
270
271
|
t.y
|
|
271
272
|
].toString();
|
|
272
|
-
}),
|
|
273
|
+
}), Ge = u(() => {
|
|
273
274
|
let e = [];
|
|
274
275
|
return J.value.forEach((t) => {
|
|
275
276
|
e.push(`${t.x},${t.y} `);
|
|
276
277
|
}), `M ${e.toString()}`;
|
|
277
|
-
}), Q =
|
|
278
|
-
svgRef:
|
|
279
|
-
unitWidth:
|
|
278
|
+
}), Q = u(() => U.value / 2 - M.value.style.trendLabel.fontSize), { fitText: $ } = pe({
|
|
279
|
+
svgRef: T,
|
|
280
|
+
unitWidth: u(() => G.value.left * .8),
|
|
280
281
|
fontSize: M.value.style.trendLabel.fontSize
|
|
281
|
-
}),
|
|
282
|
+
}), Ke = u(() => {
|
|
282
283
|
if (N.value || k.value) return "Trend chart loading";
|
|
283
|
-
let e = J.value?.at(-1), t = e?.value, n =
|
|
284
|
+
let e = J.value?.at(-1), t = e?.value, n = a({
|
|
284
285
|
p: Y.value > 0 ? "+" : "",
|
|
285
286
|
v: Y.value,
|
|
286
287
|
s: "%",
|
|
287
288
|
r: M.value.style.trendLabel.rounding
|
|
288
|
-
}),
|
|
289
|
+
}), r = t == null ? "not available" : ne(M.value.style.dataLabel.formatter, t, a({
|
|
289
290
|
p: M.value.style.dataLabel.prefix,
|
|
290
291
|
v: t,
|
|
291
292
|
s: M.value.style.dataLabel.suffix,
|
|
292
293
|
r: M.value.style.dataLabel.rounding
|
|
293
294
|
}), { datapoint: e });
|
|
294
|
-
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${
|
|
295
|
-
}),
|
|
296
|
-
return (e, t) => (
|
|
295
|
+
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
|
|
296
|
+
}), qe = u(() => `sparktrend-a11y-${j.value}`);
|
|
297
|
+
return (e, t) => (m(), f("div", {
|
|
297
298
|
ref_key: "sparkTrendChart",
|
|
298
|
-
ref:
|
|
299
|
+
ref: w,
|
|
299
300
|
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
300
301
|
id: j.value,
|
|
301
|
-
style:
|
|
302
|
+
style: ye(`width:100%;font-family:${M.value.style.fontFamily};background:${M.value.style.backgroundColor}`),
|
|
302
303
|
role: "img",
|
|
303
|
-
"aria-describedby":
|
|
304
|
+
"aria-describedby": qe.value
|
|
304
305
|
}, [
|
|
305
|
-
|
|
306
|
-
id:
|
|
306
|
+
ge("p", {
|
|
307
|
+
id: qe.value,
|
|
307
308
|
class: "sr-only",
|
|
308
309
|
"aria-live": "polite"
|
|
309
|
-
},
|
|
310
|
-
(
|
|
311
|
-
key:
|
|
310
|
+
}, _(Ke.value), 9, Ce),
|
|
311
|
+
(m(), f("svg", {
|
|
312
|
+
key: Be.value,
|
|
312
313
|
ref_key: "svgRef",
|
|
313
|
-
ref:
|
|
314
|
-
xmlns:
|
|
314
|
+
ref: T,
|
|
315
|
+
xmlns: v(ie),
|
|
315
316
|
viewBox: `0 0 ${W.value.width} ${W.value.height}`,
|
|
316
317
|
style: "width:100%;background:transparent;overflow:visible",
|
|
317
318
|
"aria-hidden": "true"
|
|
318
319
|
}, [
|
|
319
|
-
|
|
320
|
-
e.$slots["chart-background"] ? (
|
|
320
|
+
_e(v(l)),
|
|
321
|
+
e.$slots["chart-background"] ? (m(), f("foreignObject", {
|
|
321
322
|
key: 0,
|
|
322
323
|
x: 0,
|
|
323
324
|
y: 0,
|
|
324
325
|
width: W.value.width <= 0 ? 10 : W.value.width,
|
|
325
326
|
height: W.value.height <= 0 ? 10 : W.value.height,
|
|
326
327
|
style: { pointerEvents: "none" }
|
|
327
|
-
}, [
|
|
328
|
-
|
|
328
|
+
}, [g(e.$slots, "chart-background", {}, void 0, !0)], 8, Te)) : d("", !0),
|
|
329
|
+
ge("defs", null, [_e(de, {
|
|
330
|
+
t: "linear",
|
|
329
331
|
x1: "0%",
|
|
330
332
|
y1: "0%",
|
|
331
333
|
x2: "0%",
|
|
332
334
|
y2: "100%",
|
|
333
|
-
id: `pill_gradient_${j.value}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
335
|
+
id: `pill_gradient_${j.value}`,
|
|
336
|
+
stops: [[
|
|
337
|
+
"0%",
|
|
338
|
+
v(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
339
|
+
1
|
|
340
|
+
], [
|
|
341
|
+
"100%",
|
|
342
|
+
M.value.style.backgroundColor,
|
|
343
|
+
1
|
|
344
|
+
]]
|
|
345
|
+
}, null, 8, ["id", "stops"])]),
|
|
346
|
+
M.value.style.area.show && J.value[0] ? (m(), f("g", Ee, [M.value.style.line.smooth ? (m(), f("path", {
|
|
342
347
|
key: 0,
|
|
343
|
-
d: `M ${J.value[0].x},${G.value.bottom} ${
|
|
344
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` :
|
|
348
|
+
d: `M ${J.value[0].x},${G.value.bottom} ${v(r)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
|
|
349
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : v(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
345
350
|
stroke: "none"
|
|
346
|
-
}, null, 8,
|
|
351
|
+
}, null, 8, De)) : (m(), f("path", {
|
|
347
352
|
key: 1,
|
|
348
|
-
d: `M${
|
|
349
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` :
|
|
353
|
+
d: `M${We.value}Z`,
|
|
354
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : v(s)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
350
355
|
stroke: "none"
|
|
351
|
-
}, null, 8,
|
|
352
|
-
M.value.style.line.smooth && J.value.length ? (
|
|
356
|
+
}, null, 8, Oe))])) : d("", !0),
|
|
357
|
+
M.value.style.line.smooth && J.value.length ? (m(), f("path", {
|
|
353
358
|
key: 2,
|
|
354
|
-
d: `M ${
|
|
359
|
+
d: `M ${v(r)(J.value)}`,
|
|
355
360
|
stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
|
|
356
361
|
fill: "none",
|
|
357
362
|
"stroke-width": M.value.style.line.strokeWidth,
|
|
358
363
|
"stroke-linecap": M.value.style.line.strokeLinecap,
|
|
359
364
|
"stroke-linejoin": M.value.style.line.strokeLinejoin
|
|
360
|
-
}, null, 8,
|
|
361
|
-
!M.value.style.line.smooth && J.value.length ? (
|
|
365
|
+
}, null, 8, ke)) : d("", !0),
|
|
366
|
+
!M.value.style.line.smooth && J.value.length ? (m(), f("path", {
|
|
362
367
|
key: 3,
|
|
363
|
-
d:
|
|
368
|
+
d: Ge.value,
|
|
364
369
|
stroke: M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke,
|
|
365
370
|
fill: "none",
|
|
366
371
|
"stroke-width": M.value.style.line.strokeWidth,
|
|
367
372
|
"stroke-linecap": M.value.style.line.strokeLinecap,
|
|
368
373
|
"stroke-linejoin": M.value.style.line.strokeLinejoin
|
|
369
|
-
}, null, 8,
|
|
370
|
-
|
|
374
|
+
}, null, 8, Ae)) : d("", !0),
|
|
375
|
+
v(N) ? (m(), f("path", {
|
|
371
376
|
key: 4,
|
|
372
377
|
fill: "#6A6A6A",
|
|
373
378
|
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`
|
|
374
|
-
}, null, 8,
|
|
379
|
+
}, null, 8, je)) : (m(), f("path", {
|
|
375
380
|
key: 5,
|
|
376
381
|
fill: Z.value,
|
|
377
382
|
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`
|
|
378
|
-
}, null, 8,
|
|
379
|
-
|
|
383
|
+
}, null, 8, Me)),
|
|
384
|
+
v(N) ? (m(), f("rect", {
|
|
380
385
|
key: 6,
|
|
381
386
|
x: G.value.left / 2 - M.value.style.trendLabel.fontSize - 2,
|
|
382
387
|
y: U.value / 2 + M.value.style.trendLabel.fontSize - 2,
|
|
@@ -384,8 +389,8 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
384
389
|
height: M.value.style.trendLabel.fontSize,
|
|
385
390
|
fill: "#6A6A6A80",
|
|
386
391
|
rx: "3"
|
|
387
|
-
}, null, 8,
|
|
388
|
-
!k.value && !
|
|
392
|
+
}, null, 8, Ne)) : d("", !0),
|
|
393
|
+
!k.value && !v(N) ? (m(), f("text", {
|
|
389
394
|
key: 7,
|
|
390
395
|
class: "vue-ui-sparktrend-progress-label",
|
|
391
396
|
x: G.value.left / 2,
|
|
@@ -394,22 +399,22 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
394
399
|
fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
|
|
395
400
|
"font-size": M.value.style.trendLabel.fontSize,
|
|
396
401
|
"font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
|
|
397
|
-
}, v(
|
|
402
|
+
}, _(v(a)({
|
|
398
403
|
p: Y.value > 0 ? "+" : "",
|
|
399
404
|
v: Y.value,
|
|
400
405
|
s: "%",
|
|
401
406
|
r: M.value.style.trendLabel.rounding
|
|
402
|
-
})), 9,
|
|
403
|
-
J.value.length && J.value.at(-1).x !== void 0 ? (
|
|
407
|
+
})), 9, Pe)) : d("", !0),
|
|
408
|
+
J.value.length && J.value.at(-1).x !== void 0 ? (m(), f("circle", {
|
|
404
409
|
key: 8,
|
|
405
410
|
stroke: M.value.style.backgroundColor,
|
|
406
411
|
"stroke-width": 2,
|
|
407
412
|
cx: J.value.at(-1).x,
|
|
408
413
|
cy: J.value.at(-1).y,
|
|
409
414
|
r: 4,
|
|
410
|
-
fill:
|
|
411
|
-
}, null, 8,
|
|
412
|
-
J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (
|
|
415
|
+
fill: v(N) ? "#6A6A6A" : Z.value
|
|
416
|
+
}, null, 8, Fe)) : d("", !0),
|
|
417
|
+
J.value.length && J.value.at(-1).x !== void 0 && M.value.style.dataLabel.show ? (m(), f("text", {
|
|
413
418
|
key: 9,
|
|
414
419
|
"text-anchor": "middle",
|
|
415
420
|
x: J.value.at(-1).x,
|
|
@@ -417,22 +422,22 @@ var x = /* @__PURE__ */ e({ default: () => S }), be = ["id", "aria-describedby"]
|
|
|
417
422
|
"font-size": M.value.style.dataLabel.fontSize,
|
|
418
423
|
fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
|
|
419
424
|
"font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
|
|
420
|
-
}, v(
|
|
425
|
+
}, _(v(ne)(M.value.style.dataLabel.formatter, J.value.at(-1).value, v(a)({
|
|
421
426
|
p: M.value.style.dataLabel.prefix,
|
|
422
427
|
v: J.value.at(-1).value,
|
|
423
428
|
s: M.value.style.dataLabel.suffix,
|
|
424
429
|
r: M.value.style.dataLabel.rounding
|
|
425
|
-
}), { datapoint: J.value.at(-1) })), 9,
|
|
426
|
-
], 8,
|
|
427
|
-
e.$slots.source ? (
|
|
430
|
+
}), { datapoint: J.value.at(-1) })), 9, Ie)) : d("", !0)
|
|
431
|
+
], 8, we)),
|
|
432
|
+
e.$slots.source ? (m(), f("div", {
|
|
428
433
|
key: 0,
|
|
429
434
|
ref_key: "source",
|
|
430
|
-
ref:
|
|
435
|
+
ref: E,
|
|
431
436
|
dir: "auto"
|
|
432
|
-
}, [
|
|
433
|
-
|
|
434
|
-
], 12,
|
|
437
|
+
}, [g(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
|
|
438
|
+
g(e.$slots, "skeleton", {}, () => [v(N) ? (m(), he(se, { key: 0 })) : d("", !0)], !0)
|
|
439
|
+
], 12, Se));
|
|
435
440
|
}
|
|
436
|
-
}, [["__scopeId", "data-v-
|
|
441
|
+
}, [["__scopeId", "data-v-5fbf0886"]]);
|
|
437
442
|
//#endregion
|
|
438
|
-
export {
|
|
443
|
+
export { b as n, x as t };
|