vue-data-ui 3.25.11 → 3.25.13
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-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
- package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
- package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
- package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
- package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
- package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
- package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
- package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
- package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
- package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
- package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
- package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
- package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
- package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
- package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
- package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
- package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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 +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-label.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-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
- package/dist/exposedLib-BBtjpydc.js +28 -0
- package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
- package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
- package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
- package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
- package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
- package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
- 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 +6 -0
- package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
- package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
- package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
- package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
- package/dist/utils.js +13 -13
- package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
- package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
- package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
- package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
- package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
- package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
- package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
- package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
- package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
- package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
- package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
- package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
- package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
- package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
- package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
- package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
- package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
- package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
- package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
- package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
- package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
- package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
- package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
- package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
- package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
- package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
- package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
- package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
- package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
- package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
- package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
- package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
- package/dist/vue-ui-molecule-_x232mMu.js +941 -0
- package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
- package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
- package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
- package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
- package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
- package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
- package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
- package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
- package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
- package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
- package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
- package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
- package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
- package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
- package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
- package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
- package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
- package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
- package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
- package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
- package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
- package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
- package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
- package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
- package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
- package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
- package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
- package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
- package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
- package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
- package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
- package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
- package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
- package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
- package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
- package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
- package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
- package/package.json +1 -1
- package/dist/exposedLib-CG3aXJ-v.js +0 -28
- package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
- package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
- package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
- package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
- package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
- package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
- package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
- package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
- package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
- package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
- package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
- package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
- package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
- package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
- package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
- package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
- package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
- package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
- package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
- package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
- package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
- package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
- package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
- package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as t, Jt as n, Rt as r, at as i, i as a, t as o } from "./lib-DOpaUOQx.js";
|
|
3
3
|
import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
|
|
4
|
-
import { t as l } from "./useConfig-
|
|
5
|
-
import { t as u } from "./useNestedProp-
|
|
4
|
+
import { t as l } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { t as u } from "./useNestedProp-Bux0f4iY.js";
|
|
6
6
|
import { t as d } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as f } from "./DefGrad-DVBqDjhO.js";
|
|
8
8
|
import { Fragment as p, computed as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, normalizeClass as b, normalizeStyle as x, onMounted as S, openBlock as C, ref as w, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useSlots as k, watch as A, withCtx as j, withKeys as M } from "vue";
|
|
@@ -193,7 +193,7 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
193
193
|
b["chart-background"] && F.value && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
194
194
|
});
|
|
195
195
|
function I() {
|
|
196
|
-
(!Object.hasOwn(f.dataset, "rating") ||
|
|
196
|
+
(!Object.hasOwn(f.dataset, "rating") || r(f.dataset)) && i({
|
|
197
197
|
componentName: "VueUiSmiley",
|
|
198
198
|
type: "datasetAttribute",
|
|
199
199
|
property: "rating",
|
|
@@ -280,9 +280,9 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
280
280
|
function Q(e) {
|
|
281
281
|
return M.value.readonly ? P.value.colors.inactive[e] : q.value === e + 1 || O.value !== null && O.value === e ? P.value.icons.useGradient && P.value.icons.filled ? `url(#vueUiSmiley${e})` : P.value.colors.active[e] : P.value.colors.inactive[e];
|
|
282
282
|
}
|
|
283
|
-
let $ = m(() => ({ value: e, tooltip:
|
|
283
|
+
let $ = m(() => ({ value: e, tooltip: n = !1 }) => a(n ? P.value.tooltip.formatter : N.value.formatter, e, t({
|
|
284
284
|
v: e,
|
|
285
|
-
r:
|
|
285
|
+
r: n ? P.value.tooltip.roundingValue : N.value.roundingValue
|
|
286
286
|
}), M.value));
|
|
287
287
|
function ee(e) {
|
|
288
288
|
J.value || (q.value = e, E("rate", e));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
4
|
-
import { t as
|
|
5
|
-
import { n as
|
|
6
|
-
import { t as
|
|
7
|
-
import { t as
|
|
8
|
-
import { t as
|
|
9
|
-
import { l as
|
|
10
|
-
import { t as
|
|
11
|
-
import { t as
|
|
12
|
-
import { t as
|
|
13
|
-
import { t as
|
|
14
|
-
import { computed as
|
|
2
|
+
import { $ as t, P as n, Rt as r, X as i, at as a, b as o, g as ee, i as te, jt as ne, qt as s, t as re, tn as ie } from "./lib-DOpaUOQx.js";
|
|
3
|
+
import { n as ae, t as oe } from "./useHints-Dq_w2E8B.js";
|
|
4
|
+
import { t as se } from "./useConfig-C2uy4ltq.js";
|
|
5
|
+
import { n as ce, t as le } from "./BaseScanner-Dzc8VT3j.js";
|
|
6
|
+
import { t as c } from "./useNestedProp-Bux0f4iY.js";
|
|
7
|
+
import { t as ue } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
|
+
import { t as de } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
+
import { l as fe, t as pe } from "./useResponsive-ZtArZtUf.js";
|
|
10
|
+
import { t as me } from "./DefGrad-DVBqDjhO.js";
|
|
11
|
+
import { t as he } from "./usePrefersMotion-BC-CsqR1.js";
|
|
12
|
+
import { t as ge } from "./useFitSvgText-CXTzBplU.js";
|
|
13
|
+
import { t as _e } from "./vue_ui_spark_trend-DxVmpkmC.js";
|
|
14
|
+
import { computed as l, createBlock as ve, createCommentVNode as u, createElementBlock as d, createElementVNode as ye, createVNode as be, defineAsyncComponent as xe, nextTick as Se, normalizeStyle as Ce, onMounted as we, openBlock as f, ref as p, renderSlot as m, toDisplayString as h, toRefs as Te, unref as g, watch as _ } from "vue";
|
|
15
15
|
//#region src/components/vue-ui-spark-trend.vue
|
|
16
|
-
var
|
|
16
|
+
var Ee = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"], Oe = ["id"], ke = ["xmlns", "viewBox"], Ae = ["width", "height"], je = { key: 1 }, Me = ["d", "fill"], Ne = ["d", "fill"], Pe = [
|
|
17
17
|
"d",
|
|
18
18
|
"stroke",
|
|
19
19
|
"stroke-width",
|
|
@@ -47,7 +47,7 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
47
47
|
"font-size",
|
|
48
48
|
"fill",
|
|
49
49
|
"font-weight"
|
|
50
|
-
], v = /*#__PURE__*/
|
|
50
|
+
], v = /*#__PURE__*/ de({
|
|
51
51
|
__name: "vue-ui-spark-trend",
|
|
52
52
|
props: {
|
|
53
53
|
config: {
|
|
@@ -64,12 +64,12 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
setup(e) {
|
|
67
|
-
let
|
|
68
|
-
|
|
67
|
+
let de = xe(() => import("./PackageVersion-D5QkTJQU.js").then((e) => e.t)), { vue_ui_spark_trend: Ee } = se(), { isThemeValid: v, warnInvalidTheme: He } = ue(), y = he(), b = e, x = p(null), Ue = p(null), We = p(null), S = p(null), C = p(null), w = p(!1), T = p(null), E = p(i()), D = p(I()), O = l(() => D.value.style.dataLabel), k = l(() => D.value.style.trendLabel), A = l(() => D.value.style.line), j = l(() => D.value.style.area), M = l(() => D.value.style);
|
|
68
|
+
ae({
|
|
69
69
|
config: () => D.value,
|
|
70
70
|
dataset: () => b.dataset,
|
|
71
71
|
component: "VueUiSparkTrend",
|
|
72
|
-
rules: [
|
|
72
|
+
rules: [oe.emptyArray, {
|
|
73
73
|
test: (e) => e.length > 1095,
|
|
74
74
|
message: [
|
|
75
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.",
|
|
@@ -78,7 +78,7 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
78
78
|
]
|
|
79
79
|
}]
|
|
80
80
|
});
|
|
81
|
-
let Ge =
|
|
81
|
+
let Ge = l(() => ie({
|
|
82
82
|
defaultConfig: { style: {
|
|
83
83
|
animation: { show: !1 },
|
|
84
84
|
backgroundColor: "#99999930",
|
|
@@ -93,8 +93,8 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
93
93
|
}
|
|
94
94
|
} },
|
|
95
95
|
userConfig: D.value.skeletonConfig ?? {}
|
|
96
|
-
})), { loading: N, FINAL_DATASET: P, manualLoading: F } =
|
|
97
|
-
...
|
|
96
|
+
})), { loading: N, FINAL_DATASET: P, manualLoading: F } = ce({
|
|
97
|
+
...Te(b),
|
|
98
98
|
FINAL_CONFIG: D,
|
|
99
99
|
prepareConfig: I,
|
|
100
100
|
skeletonDataset: b.config?.skeletonDataset ?? [
|
|
@@ -111,38 +111,38 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
111
111
|
144,
|
|
112
112
|
233
|
|
113
113
|
],
|
|
114
|
-
skeletonConfig:
|
|
114
|
+
skeletonConfig: ie({
|
|
115
115
|
defaultConfig: D.value,
|
|
116
116
|
userConfig: Ge.value
|
|
117
117
|
})
|
|
118
118
|
});
|
|
119
119
|
function I() {
|
|
120
|
-
let e =
|
|
120
|
+
let e = c({
|
|
121
121
|
userConfig: b.config,
|
|
122
|
-
defaultConfig:
|
|
122
|
+
defaultConfig: Ee
|
|
123
123
|
}), t = e.theme;
|
|
124
124
|
if (!t) return e;
|
|
125
125
|
if (!v.value(e)) return He(e), e;
|
|
126
|
-
let n =
|
|
127
|
-
userConfig:
|
|
126
|
+
let n = c({
|
|
127
|
+
userConfig: _e[t] || b.config,
|
|
128
128
|
defaultConfig: e
|
|
129
129
|
});
|
|
130
|
-
return
|
|
130
|
+
return c({
|
|
131
131
|
userConfig: b.config,
|
|
132
132
|
defaultConfig: n
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
let L =
|
|
135
|
+
let L = l(() => ne({
|
|
136
136
|
data: P.value,
|
|
137
137
|
threshold: D.value.downsample.threshold
|
|
138
138
|
}));
|
|
139
|
-
|
|
139
|
+
_(() => b.config, (e) => {
|
|
140
140
|
D.value = I(), V.value = M.value.width, H.value = M.value.height, qe();
|
|
141
141
|
}, { deep: !0 });
|
|
142
142
|
function R(e) {
|
|
143
143
|
return e.map((e) => o(e));
|
|
144
144
|
}
|
|
145
|
-
let z =
|
|
145
|
+
let z = p(ne({
|
|
146
146
|
data: P.value,
|
|
147
147
|
threshold: D.value.downsample.threshold
|
|
148
148
|
}).map((e) => M.value.animation.show && !y.value || [
|
|
@@ -152,20 +152,20 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
152
152
|
null,
|
|
153
153
|
NaN
|
|
154
154
|
].includes(e) ? null : e));
|
|
155
|
-
|
|
155
|
+
_(L, (e) => {
|
|
156
156
|
T.value &&= (cancelAnimationFrame(T.value), null), M.value.animation.show && !y.value ? z.value = Array(e.length).fill(null) : z.value = e.map((e) => ![
|
|
157
157
|
void 0,
|
|
158
158
|
Infinity,
|
|
159
159
|
-Infinity,
|
|
160
160
|
null
|
|
161
|
-
].includes(e) && !Number.isNaN(e) ? e : null), B(),
|
|
161
|
+
].includes(e) && !Number.isNaN(e) ? e : null), B(), Se(() => Q(".vue-ui-sparktrend-progress-label", 6));
|
|
162
162
|
}, {
|
|
163
163
|
deep: !0,
|
|
164
164
|
immediate: !0
|
|
165
|
-
}),
|
|
165
|
+
}), _(() => JSON.stringify(b.dataset), () => {
|
|
166
166
|
T.value &&= (cancelAnimationFrame(T.value), null), F.value = r(b.dataset);
|
|
167
167
|
let e = L.value;
|
|
168
|
-
z.value = M.value.animation.show && !y.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(),
|
|
168
|
+
z.value = M.value.animation.show && !y.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), Se(() => Q(".vue-ui-sparktrend-progress-label", 6));
|
|
169
169
|
}, {
|
|
170
170
|
deep: !1,
|
|
171
171
|
immediate: !0
|
|
@@ -183,18 +183,18 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
183
183
|
r();
|
|
184
184
|
}
|
|
185
185
|
}
|
|
186
|
-
|
|
186
|
+
we(() => {
|
|
187
187
|
qe();
|
|
188
188
|
});
|
|
189
|
-
let Ke =
|
|
189
|
+
let Ke = l(() => D.value.debug);
|
|
190
190
|
function qe() {
|
|
191
|
-
if (r(b.dataset) && (
|
|
191
|
+
if (r(b.dataset) && (a({
|
|
192
192
|
componentName: "VueUiSparkTrend",
|
|
193
193
|
type: "dataset",
|
|
194
194
|
debug: Ke.value
|
|
195
195
|
}), F.value = !0), r(b.dataset) || (F.value = !1), D.value.responsive) {
|
|
196
|
-
let e =
|
|
197
|
-
let { width: e, height: t } =
|
|
196
|
+
let e = fe(() => {
|
|
197
|
+
let { width: e, height: t } = pe({
|
|
198
198
|
chart: x.value,
|
|
199
199
|
source: We.value
|
|
200
200
|
});
|
|
@@ -206,17 +206,17 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
206
206
|
}
|
|
207
207
|
B(), Q(".vue-ui-sparktrend-progress-label", 6);
|
|
208
208
|
}
|
|
209
|
-
let V =
|
|
209
|
+
let V = p(M.value.width), H = p(M.value.height), U = l(() => ({
|
|
210
210
|
height: H.value,
|
|
211
211
|
width: V.value
|
|
212
|
-
})), W =
|
|
212
|
+
})), W = l(() => ({
|
|
213
213
|
top: M.value.padding.top,
|
|
214
214
|
left: M.value.padding.left,
|
|
215
215
|
right: U.value.width - M.value.padding.right,
|
|
216
216
|
bottom: U.value.height - M.value.padding.bottom,
|
|
217
217
|
height: U.value.height - (M.value.padding.top + M.value.padding.bottom) - (O.value.show ? O.value.fontSize : 0),
|
|
218
218
|
width: U.value.width - (M.value.padding.left + M.value.padding.right)
|
|
219
|
-
})), G =
|
|
219
|
+
})), G = l(() => {
|
|
220
220
|
let e = R(L.value).filter(Number.isFinite);
|
|
221
221
|
if (!e.length) return {
|
|
222
222
|
max: 0,
|
|
@@ -231,7 +231,7 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
231
231
|
max: t,
|
|
232
232
|
min: n
|
|
233
233
|
};
|
|
234
|
-
}), Je =
|
|
234
|
+
}), Je = l(() => {
|
|
235
235
|
let e = L.value, t = e.length ? e[e.length - 1] : "x";
|
|
236
236
|
return [
|
|
237
237
|
E.value,
|
|
@@ -240,14 +240,14 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
240
240
|
D.value.downsample.threshold,
|
|
241
241
|
A.value.smooth ? "s" : "l"
|
|
242
242
|
].join("-");
|
|
243
|
-
}), K =
|
|
243
|
+
}), K = l(() => {
|
|
244
244
|
let e = G.value.min >= 0 ? 0 : G.value.min;
|
|
245
245
|
return Math.abs(e);
|
|
246
|
-
}), Ye =
|
|
246
|
+
}), Ye = l(() => G.value.max + K.value);
|
|
247
247
|
function Xe(e) {
|
|
248
248
|
return e / Ye.value;
|
|
249
249
|
}
|
|
250
|
-
let Ze =
|
|
250
|
+
let Ze = l(() => L.value.length), q = l(() => z.value.map((e, t) => {
|
|
251
251
|
let n = isNaN(e) || [
|
|
252
252
|
void 0,
|
|
253
253
|
null,
|
|
@@ -264,10 +264,10 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
264
264
|
x: W.value.left + o(t * (W.value.width / (Ze.value - 1))) - M.value.padding.right,
|
|
265
265
|
y: W.value.bottom - o(W.value.height * Xe(n + K.value))
|
|
266
266
|
};
|
|
267
|
-
})), J =
|
|
267
|
+
})), J = l(() => {
|
|
268
268
|
let e = R(L.value);
|
|
269
|
-
return k.value.trendType === "global" ?
|
|
270
|
-
}), Y =
|
|
269
|
+
return k.value.trendType === "global" ? ee(e) : k.value.trendType === "n-1" && e.length > 1 ? (e.at(-1) / e.at(-2) - 1) * 100 : k.value.trendType === "lastToFirst" ? (e.at(-1) / e[0] - 1) * 100 : 0;
|
|
270
|
+
}), Y = l(() => w.value || J.value === 0 ? "neutral" : J.value > 0 ? "positive" : "negative"), X = l(() => M.value.arrow.colors[Y.value]), Qe = l(() => {
|
|
271
271
|
let e = {
|
|
272
272
|
x: q.value[0].x,
|
|
273
273
|
y: U.value.height - 6
|
|
@@ -284,63 +284,63 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
284
284
|
t.x,
|
|
285
285
|
t.y
|
|
286
286
|
].toString();
|
|
287
|
-
}), $e =
|
|
287
|
+
}), $e = l(() => {
|
|
288
288
|
let e = [];
|
|
289
289
|
return q.value.forEach((t) => {
|
|
290
290
|
e.push(`${t.x},${t.y} `);
|
|
291
291
|
}), `M ${e.toString()}`;
|
|
292
|
-
}), Z =
|
|
292
|
+
}), Z = l(() => H.value / 2 - k.value.fontSize), et = l(() => W.value.left * .8), { fitText: Q } = ge({
|
|
293
293
|
svgRef: Ue,
|
|
294
294
|
unitWidth: et,
|
|
295
295
|
fontSize: k.value.fontSize
|
|
296
|
-
}), tt =
|
|
296
|
+
}), tt = l(() => {
|
|
297
297
|
if (N.value || w.value) return "Trend chart loading";
|
|
298
|
-
let e = q.value?.at(-1),
|
|
298
|
+
let e = q.value?.at(-1), n = e?.value, r = t({
|
|
299
299
|
p: J.value > 0 ? "+" : "",
|
|
300
300
|
v: J.value,
|
|
301
301
|
s: "%",
|
|
302
302
|
r: k.value.rounding
|
|
303
|
-
}),
|
|
303
|
+
}), i = n == null ? "not available" : te(O.value.formatter, n, t({
|
|
304
304
|
p: O.value.prefix,
|
|
305
|
-
v:
|
|
305
|
+
v: n,
|
|
306
306
|
s: O.value.suffix,
|
|
307
307
|
r: O.value.rounding
|
|
308
308
|
}), { datapoint: e });
|
|
309
|
-
return `Progression ${Y.value === "positive" ? `up ${
|
|
310
|
-
}), $ =
|
|
311
|
-
return (e,
|
|
309
|
+
return `Progression ${Y.value === "positive" ? `up ${r}` : Y.value === "negative" ? `down ${r}` : `stable at ${r}`}. Last value ${i}.`;
|
|
310
|
+
}), $ = l(() => `sparktrend-a11y-${E.value}`);
|
|
311
|
+
return (e, r) => (f(), d("div", {
|
|
312
312
|
ref_key: "sparkTrendChart",
|
|
313
313
|
ref: x,
|
|
314
314
|
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
315
315
|
id: E.value,
|
|
316
|
-
style:
|
|
316
|
+
style: Ce(`width:100%;font-family:${M.value.fontFamily};background:${M.value.backgroundColor}`),
|
|
317
317
|
role: "img",
|
|
318
318
|
"aria-describedby": $.value
|
|
319
319
|
}, [
|
|
320
|
-
|
|
320
|
+
ye("p", {
|
|
321
321
|
id: $.value,
|
|
322
322
|
class: "sr-only",
|
|
323
323
|
"aria-live": "polite"
|
|
324
|
-
},
|
|
325
|
-
(
|
|
324
|
+
}, h(tt.value), 9, Oe),
|
|
325
|
+
(f(), d("svg", {
|
|
326
326
|
key: Je.value,
|
|
327
327
|
ref_key: "svgRef",
|
|
328
328
|
ref: Ue,
|
|
329
|
-
xmlns:
|
|
329
|
+
xmlns: g(re),
|
|
330
330
|
viewBox: `0 0 ${U.value.width} ${U.value.height}`,
|
|
331
331
|
style: "width:100%;background:transparent;overflow:visible",
|
|
332
332
|
"aria-hidden": "true"
|
|
333
333
|
}, [
|
|
334
|
-
|
|
335
|
-
e.$slots["chart-background"] ? (
|
|
334
|
+
be(g(de)),
|
|
335
|
+
e.$slots["chart-background"] ? (f(), d("foreignObject", {
|
|
336
336
|
key: 0,
|
|
337
337
|
x: 0,
|
|
338
338
|
y: 0,
|
|
339
339
|
width: U.value.width <= 0 ? 10 : U.value.width,
|
|
340
340
|
height: U.value.height <= 0 ? 10 : U.value.height,
|
|
341
341
|
style: { pointerEvents: "none" }
|
|
342
|
-
}, [
|
|
343
|
-
|
|
342
|
+
}, [m(e.$slots, "chart-background", {}, void 0, !0)], 8, Ae)) : u("", !0),
|
|
343
|
+
ye("defs", null, [be(me, {
|
|
344
344
|
t: "linear",
|
|
345
345
|
x1: "0%",
|
|
346
346
|
y1: "0%",
|
|
@@ -349,7 +349,7 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
349
349
|
id: `pill_gradient_${E.value}`,
|
|
350
350
|
stops: [[
|
|
351
351
|
"0%",
|
|
352
|
-
|
|
352
|
+
g(s)(A.value.useColorTrend ? X.value : A.value.stroke, j.value.opacity),
|
|
353
353
|
1
|
|
354
354
|
], [
|
|
355
355
|
"100%",
|
|
@@ -357,27 +357,27 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
357
357
|
1
|
|
358
358
|
]]
|
|
359
359
|
}, null, 8, ["id", "stops"])]),
|
|
360
|
-
j.value.show && q.value[0] ? (
|
|
360
|
+
j.value.show && q.value[0] ? (f(), d("g", je, [A.value.smooth ? (f(), d("path", {
|
|
361
361
|
key: 0,
|
|
362
|
-
d: `M ${q.value[0].x},${W.value.bottom} ${
|
|
363
|
-
fill: j.value.useGradient ? `url(#pill_gradient_${E.value})` :
|
|
362
|
+
d: `M ${q.value[0].x},${W.value.bottom} ${g(n)(q.value)} L ${q.value.at(-1).x},${W.value.bottom} Z`,
|
|
363
|
+
fill: j.value.useGradient ? `url(#pill_gradient_${E.value})` : g(s)(A.value.useColorTrend ? X.value : A.value.stroke, j.value.opacity),
|
|
364
364
|
stroke: "none"
|
|
365
|
-
}, null, 8, Me)) : (
|
|
365
|
+
}, null, 8, Me)) : (f(), d("path", {
|
|
366
366
|
key: 1,
|
|
367
367
|
d: `M${Qe.value}Z`,
|
|
368
|
-
fill: j.value.useGradient ? `url(#pill_gradient_${E.value})` :
|
|
368
|
+
fill: j.value.useGradient ? `url(#pill_gradient_${E.value})` : g(s)(A.value.useColorTrend ? X.value : A.value.stroke, j.value.opacity),
|
|
369
369
|
stroke: "none"
|
|
370
|
-
}, null, 8, Ne))])) :
|
|
371
|
-
A.value.smooth && q.value.length ? (
|
|
370
|
+
}, null, 8, Ne))])) : u("", !0),
|
|
371
|
+
A.value.smooth && q.value.length ? (f(), d("path", {
|
|
372
372
|
key: 2,
|
|
373
|
-
d: `M ${
|
|
373
|
+
d: `M ${g(n)(q.value)}`,
|
|
374
374
|
stroke: A.value.useColorTrend ? X.value : A.value.stroke,
|
|
375
375
|
fill: "none",
|
|
376
376
|
"stroke-width": A.value.strokeWidth,
|
|
377
377
|
"stroke-linecap": A.value.strokeLinecap,
|
|
378
378
|
"stroke-linejoin": A.value.strokeLinejoin
|
|
379
|
-
}, null, 8, Pe)) :
|
|
380
|
-
!A.value.smooth && q.value.length ? (
|
|
379
|
+
}, null, 8, Pe)) : u("", !0),
|
|
380
|
+
!A.value.smooth && q.value.length ? (f(), d("path", {
|
|
381
381
|
key: 3,
|
|
382
382
|
d: $e.value,
|
|
383
383
|
stroke: A.value.useColorTrend ? X.value : A.value.stroke,
|
|
@@ -385,17 +385,17 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
385
385
|
"stroke-width": A.value.strokeWidth,
|
|
386
386
|
"stroke-linecap": A.value.strokeLinecap,
|
|
387
387
|
"stroke-linejoin": A.value.strokeLinejoin
|
|
388
|
-
}, null, 8, Fe)) :
|
|
389
|
-
|
|
388
|
+
}, null, 8, Fe)) : u("", !0),
|
|
389
|
+
g(N) ? (f(), d("path", {
|
|
390
390
|
key: 4,
|
|
391
391
|
fill: "#6A6A6A",
|
|
392
392
|
d: `M ${W.value.left / 2 + 6}, ${Z.value + 7} ${W.value.left / 2 - 7}, ${Z.value} ${W.value.left / 2 - 7}, ${Z.value + 14} Z`
|
|
393
|
-
}, null, 8, Ie)) : (
|
|
393
|
+
}, null, 8, Ie)) : (f(), d("path", {
|
|
394
394
|
key: 5,
|
|
395
395
|
fill: X.value,
|
|
396
396
|
d: Y.value === "positive" ? `M ${W.value.left / 2}, ${Z.value} ${W.value.left / 2 - 7}, ${Z.value + 12} ${W.value.left / 2 + 7}, ${Z.value + 12} Z` : Y.value === "negative" ? `M ${W.value.left / 2}, ${Z.value + 12} ${W.value.left / 2 - 7}, ${Z.value} ${W.value.left / 2 + 7}, ${Z.value} Z` : `M ${W.value.left / 2 + 6}, ${Z.value + 7} ${W.value.left / 2 - 7}, ${Z.value} ${W.value.left / 2 - 7}, ${Z.value + 14} Z`
|
|
397
397
|
}, null, 8, Le)),
|
|
398
|
-
|
|
398
|
+
g(N) ? (f(), d("rect", {
|
|
399
399
|
key: 6,
|
|
400
400
|
x: W.value.left / 2 - k.value.fontSize - 2,
|
|
401
401
|
y: H.value / 2 + k.value.fontSize - 2,
|
|
@@ -403,8 +403,8 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
403
403
|
height: k.value.fontSize,
|
|
404
404
|
fill: "#6A6A6A80",
|
|
405
405
|
rx: "3"
|
|
406
|
-
}, null, 8, Re)) :
|
|
407
|
-
!w.value && !
|
|
406
|
+
}, null, 8, Re)) : u("", !0),
|
|
407
|
+
!w.value && !g(N) ? (f(), d("text", {
|
|
408
408
|
key: 7,
|
|
409
409
|
class: "vue-ui-sparktrend-progress-label",
|
|
410
410
|
x: W.value.left / 2,
|
|
@@ -413,22 +413,22 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
413
413
|
fill: k.value.useColorTrend ? X.value : k.value.color,
|
|
414
414
|
"font-size": k.value.fontSize,
|
|
415
415
|
"font-weight": k.value.bold ? "bold" : "normal"
|
|
416
|
-
},
|
|
416
|
+
}, h(g(t)({
|
|
417
417
|
p: J.value > 0 ? "+" : "",
|
|
418
418
|
v: J.value,
|
|
419
419
|
s: "%",
|
|
420
420
|
r: k.value.rounding
|
|
421
|
-
})), 9, ze)) :
|
|
422
|
-
q.value.length && q.value.at(-1).x !== void 0 ? (
|
|
421
|
+
})), 9, ze)) : u("", !0),
|
|
422
|
+
q.value.length && q.value.at(-1).x !== void 0 ? (f(), d("circle", {
|
|
423
423
|
key: 8,
|
|
424
424
|
stroke: M.value.backgroundColor,
|
|
425
425
|
"stroke-width": 2,
|
|
426
426
|
cx: q.value.at(-1).x,
|
|
427
427
|
cy: q.value.at(-1).y,
|
|
428
428
|
r: 4,
|
|
429
|
-
fill:
|
|
430
|
-
}, null, 8, Be)) :
|
|
431
|
-
q.value.length && q.value.at(-1).x !== void 0 && O.value.show ? (
|
|
429
|
+
fill: g(N) ? "#6A6A6A" : X.value
|
|
430
|
+
}, null, 8, Be)) : u("", !0),
|
|
431
|
+
q.value.length && q.value.at(-1).x !== void 0 && O.value.show ? (f(), d("text", {
|
|
432
432
|
key: 9,
|
|
433
433
|
"text-anchor": "middle",
|
|
434
434
|
x: q.value.at(-1).x,
|
|
@@ -436,22 +436,22 @@ var _ = /* @__PURE__ */ e({ default: () => v }), De = ["id", "aria-describedby"]
|
|
|
436
436
|
"font-size": O.value.fontSize,
|
|
437
437
|
fill: O.value.useColorTrend ? X.value : O.value.color,
|
|
438
438
|
"font-weight": O.value.bold ? "bold" : "normal"
|
|
439
|
-
},
|
|
439
|
+
}, h(g(te)(O.value.formatter, q.value.at(-1).value, g(t)({
|
|
440
440
|
p: O.value.prefix,
|
|
441
441
|
v: q.value.at(-1).value,
|
|
442
442
|
s: O.value.suffix,
|
|
443
443
|
r: O.value.rounding
|
|
444
|
-
}), { datapoint: q.value.at(-1) })), 9, Ve)) :
|
|
444
|
+
}), { datapoint: q.value.at(-1) })), 9, Ve)) : u("", !0)
|
|
445
445
|
], 8, ke)),
|
|
446
|
-
e.$slots.source ? (
|
|
446
|
+
e.$slots.source ? (f(), d("div", {
|
|
447
447
|
key: 0,
|
|
448
448
|
ref_key: "source",
|
|
449
449
|
ref: We,
|
|
450
450
|
dir: "auto"
|
|
451
|
-
}, [
|
|
452
|
-
|
|
451
|
+
}, [m(e.$slots, "source", {}, void 0, !0)], 512)) : u("", !0),
|
|
452
|
+
m(e.$slots, "skeleton", {}, () => [g(N) ? (f(), ve(le, { key: 0 })) : u("", !0)], !0)
|
|
453
453
|
], 12, De));
|
|
454
454
|
}
|
|
455
455
|
}, [["__scopeId", "data-v-8fe8c402"]]);
|
|
456
456
|
//#endregion
|
|
457
|
-
export {
|
|
457
|
+
export { Ee as n, v as t };
|