vue-data-ui 3.23.9 → 3.23.11
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/README.md +40 -40
- package/dist/{Arrow-CF0VFcBH.js → Arrow-DrF4NNJO.js} +1 -1
- package/dist/{BaseDraggableDialog-LoqqwRtV.js → BaseDraggableDialog-Dr_Q6Yt5.js} +2 -2
- package/dist/{BaseIcon-BfndwIWE.js → BaseIcon-BbElSC8_.js} +1 -1
- package/dist/{BaseLegendToggle-DZVucLnv.js → BaseLegendToggle-CtEdLr4R.js} +1 -1
- package/dist/{BaseZoomControls-BZvCnZEi.js → BaseZoomControls-Cvq4UmNG.js} +2 -2
- package/dist/{ColorPicker--ayG2YHf.js → ColorPicker-ChOgAmCi.js} +2 -2
- package/dist/{DataTable-BbKgJ5UI.js → DataTable-CmyEubtT.js} +2 -2
- package/dist/{HillActions-BD9j_sOU.js → HillActions-3HneGJhS.js} +1 -1
- package/dist/{Legend-CQxUgOd-.js → Legend-BJtY2RA9.js} +2 -2
- package/dist/{NonSvgPenAndPaper-4ypecDg1.js → NonSvgPenAndPaper-DmxzHJtV.js} +3 -3
- package/dist/{PackageVersion-B629oKuX.js → PackageVersion-C0b7KAMa.js} +1 -1
- package/dist/{PenAndPaper-C0UZ74fa.js → PenAndPaper-CIa1F5Jq.js} +3 -3
- package/dist/{Shape-C21CMlWS.js → Shape-BAL5bQmA.js} +1 -1
- package/dist/{SlicerPreview-wUw1hFwe.js → SlicerPreview-BRRyc1p7.js} +426 -426
- package/dist/{SparkTooltip-CjsbIhzi.js → SparkTooltip-Bou05CV_.js} +1 -1
- package/dist/{Title-BE3qg9xl.js → Title-CaVA8EIw.js} +1 -1
- package/dist/{Tooltip-DhjyfHwz.js → Tooltip-CVxJe3UW.js} +1 -1
- package/dist/{UserOptions-Dt98of5H.js → UserOptions-WH7-49V0.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-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-BYIvdTe8.js → dom-to-png-COvyU2SG.js} +1 -1
- package/dist/exposedLib-DrUEXSyf.js +28 -0
- package/dist/{img-Bnokohej.js → img-Bkzj3lDD.js} +1 -1
- package/dist/{labelUtils-BeVpDvTJ.js → labelUtils-iX76cA2-.js} +1 -1
- package/dist/{lib-Bttd6u5E.js → lib-Dqr_-I6Y.js} +166 -163
- package/dist/{package-C01DAl-Z.js → package-D7_0M69J.js} +1 -1
- package/dist/{pdf-CVIDfCrS.js → pdf-Bk_9lTdQ.js} +1 -1
- package/dist/{render-common-Dv5BvuwZ.js → render-common-B0f5NTO9.js} +12 -12
- 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 +13 -2
- package/dist/types/vue-ui-dag.d.ts +2 -0
- package/dist/{useNestedProp-vPNvh7rV.js → useNestedProp-CulPqtou.js} +1 -1
- package/dist/{usePrinter-DN5bYhTG.js → usePrinter-CEiH1b6R.js} +2 -2
- package/dist/utils.js +9 -9
- package/dist/{vue-data-ui-DDZLOx_v.js → vue-data-ui-BlZHZHoH.js} +69 -69
- package/dist/vue-data-ui.js +73 -73
- package/dist/{vue-ui-3d-bar-C9Y9Uklb.js → vue-ui-3d-bar-CtT2BovY.js} +379 -381
- package/dist/{vue-ui-accordion-CLU_su1P.js → vue-ui-accordion-C6L7glHU.js} +3 -3
- package/dist/{vue-ui-age-pyramid-D98P16h3.js → vue-ui-age-pyramid-BhGNgnLB.js} +27 -27
- package/dist/{vue-ui-annotator-QjHngrui.js → vue-ui-annotator-BwIu0JUV.js} +9 -9
- package/dist/vue-ui-bullet-BI7KJyJx.js +700 -0
- package/dist/{vue-ui-bump-BP7UOMFX.js → vue-ui-bump-BCQ97z1G.js} +325 -325
- package/dist/{vue-ui-candlestick-XPQeeduK.js → vue-ui-candlestick-Cs7I5MQS.js} +245 -245
- package/dist/{vue-ui-carousel-table-D39rMqRb.js → vue-ui-carousel-table-CDjAjc4b.js} +108 -108
- package/dist/{vue-ui-chestnut-B0xezYHS.js → vue-ui-chestnut-d6GxjfcP.js} +86 -86
- package/dist/vue-ui-chord-BuConnPN.js +1345 -0
- package/dist/vue-ui-circle-pack-CmxANHap.js +1633 -0
- package/dist/{vue-ui-cursor-JXCd2JAw.js → vue-ui-cursor-CQcnZYBv.js} +3 -3
- package/dist/{vue-ui-dag-D42c5rJN.js → vue-ui-dag-DKUZN-aQ.js} +923 -885
- package/dist/{vue-ui-dashboard-9-9eUWEy.js → vue-ui-dashboard-ciI4wMe6.js} +69 -69
- package/dist/{vue-ui-digits-CCkSVNpz.js → vue-ui-digits-DWf1vzYE.js} +3 -3
- package/dist/{vue-ui-donut-BnVCS9Ll.js → vue-ui-donut-CvCViwSI.js} +64 -64
- package/dist/vue-ui-donut-DZTtuFAG.js +2413 -0
- package/dist/{vue-ui-donut-evolution-CgjBE6EG.js → vue-ui-donut-evolution-BvZX3Gi8.js} +347 -347
- package/dist/{vue-ui-dumbbell-CVX2tGDU.js → vue-ui-dumbbell-BZywCpHd.js} +233 -236
- package/dist/vue-ui-flow-D5jcKr_S.js +1214 -0
- package/dist/vue-ui-funnel-7zX5QnQx.js +747 -0
- package/dist/{vue-ui-galaxy-CThLjvdQ.js → vue-ui-galaxy-BuGd-Ojm.js} +323 -325
- package/dist/vue-ui-gauge-BlDQIpBk.js +932 -0
- package/dist/{vue-ui-geo-DwNCnH_W.js → vue-ui-geo-PWGZw4Un.js} +34 -34
- package/dist/{vue-ui-gizmo-BkQUnPvN.js → vue-ui-gizmo-CTxB3PAl.js} +10 -10
- package/dist/{vue-ui-heatmap-COX6rafn.js → vue-ui-heatmap-sFF5IbM8.js} +472 -472
- package/dist/{vue-ui-hill-7BisXEYH.js → vue-ui-hill-DO3r2s-i.js} +10 -10
- package/dist/vue-ui-history-plot-Cj-Olvhn.js +1695 -0
- package/dist/vue-ui-horizontal-bar-B34aYuDZ.js +1708 -0
- package/dist/{vue-ui-kpi-R9bl7je_.js → vue-ui-kpi-Co6y1YlE.js} +3 -3
- package/dist/{vue-ui-mini-loader-SNMKnmMa.js → vue-ui-mini-loader-BVSIAFYi.js} +2 -2
- package/dist/{vue-ui-molecule-CNtY2_yF.js → vue-ui-molecule-ERAB4YzZ.js} +157 -163
- package/dist/{vue-ui-mood-radar-DUxhOQpR.js → vue-ui-mood-radar-BPp7L6OP.js} +302 -304
- package/dist/{vue-ui-nested-donuts-Bbub_wCe.js → vue-ui-nested-donuts-CX5ut2yp.js} +110 -113
- package/dist/vue-ui-onion-CWYJTUCq.js +1233 -0
- package/dist/vue-ui-parallel-coordinate-plot-DJrV-dVt.js +1430 -0
- package/dist/{vue-ui-quadrant-CFvonilu.js → vue-ui-quadrant-wj8Up03L.js} +32 -32
- package/dist/{vue-ui-quick-chart-iEJt6333.js → vue-ui-quick-chart-CPYdScHL.js} +153 -153
- package/dist/{vue-ui-radar-ClZ_OIr5.js → vue-ui-radar-D3gLQcI5.js} +41 -41
- package/dist/{vue-ui-rating-BnXrMeGg.js → vue-ui-rating-dBCk6ECe.js} +26 -26
- package/dist/vue-ui-relation-circle-DeNBOPjz.js +903 -0
- package/dist/vue-ui-ridgeline-DQcZJ_hv.js +1614 -0
- package/dist/vue-ui-rings-CF9NfFW2.js +1250 -0
- package/dist/vue-ui-scatter-U_xxKOte.js +2403 -0
- package/dist/{vue-ui-skeleton-Drk48XZi.js → vue-ui-skeleton-GA4wzjXV.js} +3 -3
- package/dist/{vue-ui-smiley-BQuXRW4o.js → vue-ui-smiley-D1pW2Fdy.js} +23 -23
- package/dist/{vue-ui-spark-trend-CYcS6-FN.js → vue-ui-spark-trend-BXRGMn5-.js} +23 -23
- package/dist/{vue-ui-sparkbar-eqLrT50j.js → vue-ui-sparkbar-96D0eR-o.js} +24 -24
- package/dist/{vue-ui-sparkgauge-C_b1h4DY.js → vue-ui-sparkgauge-BWBek2u2.js} +61 -61
- package/dist/{vue-ui-sparkhistogram-BzJr83-i.js → vue-ui-sparkhistogram-Cqs068RX.js} +15 -15
- package/dist/vue-ui-sparkline-B8cyY_P1.js +1584 -0
- package/dist/{vue-ui-sparkstackbar-O6Ojc2m8.js → vue-ui-sparkstackbar-C0BkLc2b.js} +207 -207
- package/dist/vue-ui-stackbar-DtsOc7B_.js +2332 -0
- package/dist/{vue-ui-stackline-D7d_Yqid.js → vue-ui-stackline-MSs0pdhE.js} +751 -747
- package/dist/{vue-ui-strip-plot-AljSBqsw.js → vue-ui-strip-plot-Df-TomML.js} +63 -66
- package/dist/vue-ui-table-BKSRQGVK.js +1352 -0
- package/dist/{vue-ui-table-heatmap-DRABMw2H.js → vue-ui-table-heatmap-CglQqfWH.js} +84 -84
- package/dist/{vue-ui-table-sparkline-OScDr7Z5.js → vue-ui-table-sparkline-B7Dh-fN2.js} +11 -11
- package/dist/vue-ui-thermometer-DXuLn8NC.js +756 -0
- package/dist/{vue-ui-timer--q-f8RPJ.js → vue-ui-timer-orCjVwS4.js} +12 -12
- package/dist/{vue-ui-tiremarks-B2Fji5g0.js → vue-ui-tiremarks-DNoQ6Fl2.js} +12 -12
- package/dist/{vue-ui-treemap-CHqCU3Mt.js → vue-ui-treemap-90_Clj0e.js} +51 -54
- package/dist/vue-ui-waffle-BSQXyJ1S.js +1610 -0
- package/dist/{vue-ui-wheel-Dz2QzZcJ.js → vue-ui-wheel-CfU0Nnn0.js} +28 -28
- package/dist/{vue-ui-word-cloud-DBp8kZ4A.js → vue-ui-word-cloud-AgMvmPlI.js} +38 -41
- package/dist/{vue-ui-world-DbYSOiC4.js → vue-ui-world-D0Z9B6M2.js} +120 -123
- package/dist/{vue-ui-xy-C23skZ-G.js → vue-ui-xy-5Te2TfRK.js} +1645 -1641
- package/dist/vue-ui-xy-canvas-BHpBO5dS.js +1823 -0
- package/dist/{vue-ui-xy-CrHCmWhv.js → vue-ui-xy-ua_mFu_a.js} +99 -99
- package/package.json +1 -1
- package/dist/exposedLib-C0DPCgFj.js +0 -28
- package/dist/vue-ui-bullet-GgRg9sbN.js +0 -700
- package/dist/vue-ui-chord-eOIKOfDO.js +0 -1345
- package/dist/vue-ui-circle-pack-kCN1R-pw.js +0 -1636
- package/dist/vue-ui-donut-HrEXYDqO.js +0 -2415
- package/dist/vue-ui-flow-R-fW_EeT.js +0 -1217
- package/dist/vue-ui-funnel-CT3ixpCM.js +0 -750
- package/dist/vue-ui-gauge-DRXsVxYq.js +0 -932
- package/dist/vue-ui-history-plot-Bn_M0AFg.js +0 -1698
- package/dist/vue-ui-horizontal-bar-CkRRidx3.js +0 -1708
- package/dist/vue-ui-onion-Bix9MN3w.js +0 -1233
- package/dist/vue-ui-parallel-coordinate-plot-6SI2vJOo.js +0 -1430
- package/dist/vue-ui-relation-circle-CZ68uWhc.js +0 -903
- package/dist/vue-ui-ridgeline-BSiPLA08.js +0 -1614
- package/dist/vue-ui-rings-mGN_bpo1.js +0 -1252
- package/dist/vue-ui-scatter-C0PouRMY.js +0 -2403
- package/dist/vue-ui-sparkline-CyJKVGYw.js +0 -1584
- package/dist/vue-ui-stackbar-J5QzbBaA.js +0 -2328
- package/dist/vue-ui-table-CBdCPS2r.js +0 -1352
- package/dist/vue-ui-thermometer-DWmM_Hn9.js +0 -756
- package/dist/vue-ui-waffle-C1ksX6OD.js +0 -1612
- package/dist/vue-ui-xy-canvas-B-KxaFGF.js +0 -1819
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Ht as t, M as n, q as r, t as i, z as ee } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as te, t as ne } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as re } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as ie } from "./useNestedProp-
|
|
5
|
+
import { t as ie } from "./useNestedProp-CulPqtou.js";
|
|
6
6
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { t as ae } from "./DefGrad-DVBqDjhO.js";
|
|
8
|
-
import { n as o } from "./PackageVersion-
|
|
8
|
+
import { n as o } from "./PackageVersion-C0b7KAMa.js";
|
|
9
9
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as oe, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
10
10
|
//#region src/components/vue-ui-skeleton.vue
|
|
11
11
|
var y = /* @__PURE__ */ e({ default: () => K }), se = ["id"], ce = ["xmlns"], le = { transform: "translate(300, 300)" }, b = [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Nt as t, Ut as n, X as r, i, nt as a, t as o } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as s, t as c } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as l } from "./useConfig-DwdGsXTx.js";
|
|
5
|
-
import { t as u } from "./useNestedProp-
|
|
5
|
+
import { t as u } from "./useNestedProp-CulPqtou.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";
|
|
@@ -29,9 +29,9 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
29
29
|
"mouseenter",
|
|
30
30
|
"mouseleave"
|
|
31
31
|
],
|
|
32
|
-
setup(e, { emit:
|
|
33
|
-
let r = e, i =
|
|
34
|
-
return (
|
|
32
|
+
setup(e, { emit: t }) {
|
|
33
|
+
let r = e, i = t;
|
|
34
|
+
return (t, a) => (C(), g("div", {
|
|
35
35
|
tabindex: "0",
|
|
36
36
|
class: b({ "vue-ui-smiley-rated": !e.config.readonly && e.currentRating === e.unit }),
|
|
37
37
|
style: x({
|
|
@@ -40,10 +40,10 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
40
40
|
aspectRatio: "1/1",
|
|
41
41
|
position: "relative"
|
|
42
42
|
}),
|
|
43
|
-
onMouseenter:
|
|
44
|
-
onMouseleave:
|
|
45
|
-
onClick:
|
|
46
|
-
onKeyup:
|
|
43
|
+
onMouseenter: a[0] ||= (e) => i("mouseenter"),
|
|
44
|
+
onMouseleave: a[1] ||= (e) => i("mouseleave"),
|
|
45
|
+
onClick: a[2] ||= (t) => i("rate", e.unit),
|
|
46
|
+
onKeyup: a[3] ||= M((t) => i("rate", e.unit), ["enter"])
|
|
47
47
|
}, [
|
|
48
48
|
e.config.style.tooltip.show && e.hasBreakdown && e.isReadonly ? (C(), g("div", {
|
|
49
49
|
key: 0,
|
|
@@ -72,12 +72,12 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
72
72
|
color: e.config.style.tooltip.color
|
|
73
73
|
}) }, [
|
|
74
74
|
_("span", { style: x(`font-size:${e.config.style.tooltip.fontSize}px`) }, D(e.unit) + ":", 5),
|
|
75
|
-
_("span", { style: x(`font-weight:${e.config.style.tooltip.bold ? "bold" : "normal"};font-size:${e.config.style.tooltip.fontSize}px`) }, [E(
|
|
75
|
+
_("span", { style: x(`font-weight:${e.config.style.tooltip.bold ? "bold" : "normal"};font-size:${e.config.style.tooltip.fontSize}px`) }, [E(t.$slots, "rating", {}, void 0, !0)], 4),
|
|
76
76
|
_("div", { style: x(`font-family:Arial !important;position:absolute;top:calc(100% - 4px);left:50%;transform:translateX(-50%);color:${e.config.style.tooltip.borderColor}`) }, " ▼ ", 4)
|
|
77
77
|
], 4)], 4)) : h("", !0),
|
|
78
78
|
e.config.style.icons.filled ? (C(), g("svg", {
|
|
79
79
|
key: 1,
|
|
80
|
-
xmlns: O(
|
|
80
|
+
xmlns: O(o),
|
|
81
81
|
style: {
|
|
82
82
|
transition: "all 0.1s ease-in-out",
|
|
83
83
|
position: "absolute",
|
|
@@ -96,14 +96,14 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
96
96
|
id: `vueUiSmiley${e.unit - 1}`,
|
|
97
97
|
stops: [[
|
|
98
98
|
"0%",
|
|
99
|
-
O(
|
|
99
|
+
O(n)(e.config.style.colors.active[e.unit - 1], .05),
|
|
100
100
|
1
|
|
101
101
|
], [
|
|
102
102
|
"100%",
|
|
103
103
|
e.config.style.colors.active[e.unit - 1],
|
|
104
104
|
1
|
|
105
105
|
]]
|
|
106
|
-
}, null, 8, ["id", "stops"])]), E(
|
|
106
|
+
}, null, 8, ["id", "stops"])]), E(t.$slots, "path-icon-filled", {}, void 0, !0)], 8, N)) : (C(), g("svg", {
|
|
107
107
|
key: 2,
|
|
108
108
|
style: {
|
|
109
109
|
position: "absolute",
|
|
@@ -118,10 +118,10 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
118
118
|
fill: "none",
|
|
119
119
|
"stroke-linecap": "round",
|
|
120
120
|
"stroke-linejoin": "round"
|
|
121
|
-
}, [E(
|
|
121
|
+
}, [E(t.$slots, "path-icon", {}, void 0, !0)], 8, P)),
|
|
122
122
|
e.config.style.icons.filled && e.isReadonly ? (C(), g("svg", {
|
|
123
123
|
key: 3,
|
|
124
|
-
xmlns: O(
|
|
124
|
+
xmlns: O(o),
|
|
125
125
|
style: {
|
|
126
126
|
transition: "all 0.1s ease-in-out",
|
|
127
127
|
position: "absolute",
|
|
@@ -140,14 +140,14 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
140
140
|
id: `vueUiSmiley${e.unit - 1}`,
|
|
141
141
|
stops: [[
|
|
142
142
|
"0%",
|
|
143
|
-
O(
|
|
143
|
+
O(n)(e.config.style.colors.activeReadonly[e.unit - 1], .05),
|
|
144
144
|
1
|
|
145
145
|
], [
|
|
146
146
|
"100%",
|
|
147
147
|
e.config.style.colors.activeReadonly[e.unit - 1],
|
|
148
148
|
1
|
|
149
149
|
]]
|
|
150
|
-
}, null, 8, ["id", "stops"])]), E(
|
|
150
|
+
}, null, 8, ["id", "stops"])]), E(t.$slots, "path-icon-filled-readonly", {}, void 0, !0)], 8, F)) : h("", !0),
|
|
151
151
|
!e.config.style.icons.filled && e.isReadonly ? (C(), g("svg", {
|
|
152
152
|
key: 4,
|
|
153
153
|
style: {
|
|
@@ -163,7 +163,7 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
163
163
|
fill: "none",
|
|
164
164
|
"stroke-linecap": "round",
|
|
165
165
|
"stroke-linejoin": "round"
|
|
166
|
-
}, [E(
|
|
166
|
+
}, [E(t.$slots, "path-icon-readonly", {}, void 0, !0)], 8, I)) : h("", !0)
|
|
167
167
|
], 38));
|
|
168
168
|
}
|
|
169
169
|
}, [["__scopeId", "data-v-9734e83c"]]), R = /* @__PURE__ */ e({ default: () => W }), z = {
|
|
@@ -187,13 +187,13 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
187
187
|
}
|
|
188
188
|
},
|
|
189
189
|
emits: ["rate"],
|
|
190
|
-
setup(e, { expose:
|
|
191
|
-
let { vue_ui_smiley: d } = l(), f = e, b = k(), E =
|
|
190
|
+
setup(e, { expose: n, emit: o }) {
|
|
191
|
+
let { vue_ui_smiley: d } = l(), f = e, b = k(), E = o, O = w(null), M = w(I()), N = m(() => M.value.debug);
|
|
192
192
|
S(() => {
|
|
193
193
|
b["chart-background"] && N.value && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
194
194
|
});
|
|
195
195
|
function P() {
|
|
196
|
-
(!Object.hasOwn(f.dataset, "rating") ||
|
|
196
|
+
(!Object.hasOwn(f.dataset, "rating") || t(f.dataset)) && a({
|
|
197
197
|
componentName: "VueUiSmiley",
|
|
198
198
|
type: "datasetAttribute",
|
|
199
199
|
property: "rating",
|
|
@@ -280,7 +280,7 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
280
280
|
function X(e) {
|
|
281
281
|
return M.value.readonly ? M.value.style.colors.inactive[e] : G.value === e + 1 || O.value !== null && O.value === e ? M.value.style.icons.useGradient && M.value.style.icons.filled ? `url(#vueUiSmiley${e})` : M.value.style.colors.active[e] : M.value.style.colors.inactive[e];
|
|
282
282
|
}
|
|
283
|
-
let Z = m(() => ({ value: e, tooltip: t = !1 }) =>
|
|
283
|
+
let Z = m(() => ({ value: e, tooltip: t = !1 }) => i(t ? M.value.style.tooltip.formatter : M.value.style.rating.formatter, e, r({
|
|
284
284
|
v: e,
|
|
285
285
|
r: t ? M.value.style.tooltip.roundingValue : M.value.style.rating.roundingValue
|
|
286
286
|
}), M.value));
|
|
@@ -293,7 +293,7 @@ var N = ["xmlns", "stroke"], P = ["stroke"], F = [
|
|
|
293
293
|
function ee(e = !0) {
|
|
294
294
|
K.value = e;
|
|
295
295
|
}
|
|
296
|
-
return
|
|
296
|
+
return n({
|
|
297
297
|
getData: $,
|
|
298
298
|
toggleReadonly: ee
|
|
299
299
|
}), (e, t) => (C(), g("div", {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Dt as t, Ht as n, Nt as r, P as i, X as a, Xt as o, b as s, g as ee, i as c, nt as te, q as ne, t as re } from "./lib-Dqr_-I6Y.js";
|
|
3
3
|
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as oe } from "./useConfig-DwdGsXTx.js";
|
|
5
5
|
import { n as se, t as ce } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as l } from "./useNestedProp-
|
|
6
|
+
import { t as l } from "./useNestedProp-CulPqtou.js";
|
|
7
7
|
import { t as le } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
9
|
import { l as ue, t as de } from "./useResponsive-ZtArZtUf.js";
|
|
@@ -64,7 +64,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
setup(e) {
|
|
67
|
-
let u = ve(() => import("./PackageVersion-
|
|
67
|
+
let u = ve(() => import("./PackageVersion-C0b7KAMa.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 = _(ne()), M = _(I());
|
|
68
68
|
ie({
|
|
69
69
|
config: () => M.value,
|
|
70
70
|
dataset: () => T.dataset,
|
|
@@ -78,7 +78,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
78
78
|
]
|
|
79
79
|
}]
|
|
80
80
|
});
|
|
81
|
-
let Be = d(() =>
|
|
81
|
+
let Be = d(() => o({
|
|
82
82
|
defaultConfig: { style: {
|
|
83
83
|
animation: { show: !1 },
|
|
84
84
|
backgroundColor: "#99999930",
|
|
@@ -111,7 +111,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
111
111
|
144,
|
|
112
112
|
233
|
|
113
113
|
],
|
|
114
|
-
skeletonConfig:
|
|
114
|
+
skeletonConfig: o({
|
|
115
115
|
defaultConfig: M.value,
|
|
116
116
|
userConfig: Be.value
|
|
117
117
|
})
|
|
@@ -132,7 +132,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
132
132
|
defaultConfig: n
|
|
133
133
|
});
|
|
134
134
|
}
|
|
135
|
-
let L = d(() =>
|
|
135
|
+
let L = d(() => t({
|
|
136
136
|
data: P.value,
|
|
137
137
|
threshold: M.value.downsample.threshold
|
|
138
138
|
}));
|
|
@@ -140,9 +140,9 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
140
140
|
M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
|
|
141
141
|
}, { deep: !0 });
|
|
142
142
|
function R(e) {
|
|
143
|
-
return e.map((e) =>
|
|
143
|
+
return e.map((e) => s(e));
|
|
144
144
|
}
|
|
145
|
-
let z = _(
|
|
145
|
+
let z = _(t({
|
|
146
146
|
data: P.value,
|
|
147
147
|
threshold: M.value.downsample.threshold
|
|
148
148
|
}).map((e) => M.value.style.animation.show && !w.value || [
|
|
@@ -163,7 +163,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
163
163
|
deep: !0,
|
|
164
164
|
immediate: !0
|
|
165
165
|
}), x(() => JSON.stringify(T.dataset), () => {
|
|
166
|
-
A.value &&= (cancelAnimationFrame(A.value), null), F.value =
|
|
166
|
+
A.value &&= (cancelAnimationFrame(A.value), null), F.value = r(T.dataset);
|
|
167
167
|
let e = L.value;
|
|
168
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));
|
|
169
169
|
}, {
|
|
@@ -188,11 +188,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
188
188
|
});
|
|
189
189
|
let Ve = d(() => M.value.debug);
|
|
190
190
|
function V() {
|
|
191
|
-
if (
|
|
191
|
+
if (r(T.dataset) && (te({
|
|
192
192
|
componentName: "VueUiSparkTrend",
|
|
193
193
|
type: "dataset",
|
|
194
194
|
debug: Ve.value
|
|
195
|
-
}), F.value = !0),
|
|
195
|
+
}), F.value = !0), r(T.dataset) || (F.value = !1), M.value.responsive) {
|
|
196
196
|
let e = ue(() => {
|
|
197
197
|
let { width: e, height: t } = de({
|
|
198
198
|
chart: E.value,
|
|
@@ -257,12 +257,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
257
257
|
-Infinity
|
|
258
258
|
].includes(e) ? 0 : e || 0;
|
|
259
259
|
return {
|
|
260
|
-
value:
|
|
261
|
-
absoluteValue:
|
|
262
|
-
plotValue:
|
|
260
|
+
value: s(e),
|
|
261
|
+
absoluteValue: s(n),
|
|
262
|
+
plotValue: s(n + q.value),
|
|
263
263
|
toMax: We(n + q.value),
|
|
264
|
-
x: G.value.left +
|
|
265
|
-
y: G.value.bottom -
|
|
264
|
+
x: G.value.left + s(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
|
|
265
|
+
y: G.value.bottom - s(G.value.height * We(n + q.value))
|
|
266
266
|
};
|
|
267
267
|
})), Y = d(() => {
|
|
268
268
|
let e = R(L.value);
|
|
@@ -300,7 +300,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
300
300
|
v: Y.value,
|
|
301
301
|
s: "%",
|
|
302
302
|
r: M.value.style.trendLabel.rounding
|
|
303
|
-
}), r = t == null ? "not available" :
|
|
303
|
+
}), r = t == null ? "not available" : c(M.value.style.dataLabel.formatter, t, a({
|
|
304
304
|
p: M.value.style.dataLabel.prefix,
|
|
305
305
|
v: t,
|
|
306
306
|
s: M.value.style.dataLabel.suffix,
|
|
@@ -308,7 +308,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
308
308
|
}), { datapoint: e });
|
|
309
309
|
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
|
|
310
310
|
}), Xe = d(() => `sparktrend-a11y-${j.value}`);
|
|
311
|
-
return (e,
|
|
311
|
+
return (e, t) => (g(), p("div", {
|
|
312
312
|
ref_key: "sparkTrendChart",
|
|
313
313
|
ref: E,
|
|
314
314
|
class: "vue-data-ui-component vue-ui-spark-trend",
|
|
@@ -326,7 +326,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
326
326
|
key: He.value,
|
|
327
327
|
ref_key: "svgRef",
|
|
328
328
|
ref: Re,
|
|
329
|
-
xmlns: b(
|
|
329
|
+
xmlns: b(re),
|
|
330
330
|
viewBox: `0 0 ${W.value.width} ${W.value.height}`,
|
|
331
331
|
style: "width:100%;background:transparent;overflow:visible",
|
|
332
332
|
"aria-hidden": "true"
|
|
@@ -349,7 +349,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
349
349
|
id: `pill_gradient_${j.value}`,
|
|
350
350
|
stops: [[
|
|
351
351
|
"0%",
|
|
352
|
-
b(
|
|
352
|
+
b(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
353
353
|
1
|
|
354
354
|
], [
|
|
355
355
|
"100%",
|
|
@@ -360,12 +360,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
360
360
|
M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
|
|
361
361
|
key: 0,
|
|
362
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(
|
|
363
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
364
364
|
stroke: "none"
|
|
365
365
|
}, null, 8, De)) : (g(), p("path", {
|
|
366
366
|
key: 1,
|
|
367
367
|
d: `M${Ke.value}Z`,
|
|
368
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(
|
|
368
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(n)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
369
369
|
stroke: "none"
|
|
370
370
|
}, null, 8, Oe))])) : f("", !0),
|
|
371
371
|
M.value.style.line.smooth && J.value.length ? (g(), p("path", {
|
|
@@ -436,7 +436,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), Se = ["id", "aria-describedby"]
|
|
|
436
436
|
"font-size": M.value.style.dataLabel.fontSize,
|
|
437
437
|
fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
|
|
438
438
|
"font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
|
|
439
|
-
}, y(b(
|
|
439
|
+
}, y(b(c)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(a)({
|
|
440
440
|
p: M.value.style.dataLabel.prefix,
|
|
441
441
|
v: J.value.at(-1).value,
|
|
442
442
|
s: M.value.style.dataLabel.suffix,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as
|
|
2
|
+
import { Ht as t, It as n, Jt as r, Nt as i, S as a, Ut as ee, X as o, Xt as s, i as c, mt as te, nt as l, q as u, t as ne, w as re } from "./lib-Dqr_-I6Y.js";
|
|
3
|
+
import { n as ie, t as ae } from "./useHints-Dq_w2E8B.js";
|
|
4
4
|
import { t as d } from "./useConfig-DwdGsXTx.js";
|
|
5
5
|
import { n as f, t as oe } from "./BaseScanner-DZvpgOjM.js";
|
|
6
|
-
import { t as p } from "./useNestedProp-
|
|
6
|
+
import { t as p } from "./useNestedProp-CulPqtou.js";
|
|
7
7
|
import { t as se } from "./useThemeCheck-C43Tcqmk.js";
|
|
8
8
|
import { t as ce } from "./DefGrad-DVBqDjhO.js";
|
|
9
9
|
import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
|
|
10
10
|
import { t as ue } from "./vue_ui_sparkbar-z6qO--Kf.js";
|
|
11
|
-
import { Fragment as m, computed as h, createBlock as de, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineAsyncComponent as fe, guardReactiveProps as
|
|
11
|
+
import { Fragment as m, computed as h, createBlock as de, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createVNode as y, defineAsyncComponent as fe, guardReactiveProps as b, mergeProps as x, nextTick as pe, normalizeProps as me, normalizeStyle as S, onMounted as C, openBlock as w, ref as T, renderList as he, renderSlot as E, toDisplayString as D, toRefs as O, unref as k, useSlots as A, watch as j } from "vue";
|
|
12
12
|
//#region src/components/vue-ui-sparkbar.vue
|
|
13
13
|
var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
14
14
|
"onClick",
|
|
@@ -58,16 +58,16 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
58
58
|
},
|
|
59
59
|
emits: ["selectDatapoint"],
|
|
60
60
|
setup(e, { emit: M }) {
|
|
61
|
-
let z = fe(() => import("./PackageVersion-
|
|
61
|
+
let z = fe(() => import("./PackageVersion-C0b7KAMa.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = d(), { isThemeValid: ve, warnInvalidTheme: ye } = se(), B = le(), V = e, be = A(), H = T(u()), U = T(q()), W = h(() => U.value.debug);
|
|
62
62
|
C(() => {
|
|
63
63
|
be["chart-background"] && W.value && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
64
|
-
}),
|
|
64
|
+
}), ie({
|
|
65
65
|
config: () => U.value,
|
|
66
66
|
dataset: () => V.dataset,
|
|
67
67
|
component: "VueUiSparkbar",
|
|
68
|
-
rules: [
|
|
68
|
+
rules: [ae.noHint]
|
|
69
69
|
});
|
|
70
|
-
let xe = h(() =>
|
|
70
|
+
let xe = h(() => s({
|
|
71
71
|
defaultConfig: { style: {
|
|
72
72
|
backgroundColor: "#99999930",
|
|
73
73
|
animation: { show: !1 },
|
|
@@ -103,7 +103,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
103
103
|
color: "#DBDBDB"
|
|
104
104
|
}
|
|
105
105
|
],
|
|
106
|
-
skeletonConfig:
|
|
106
|
+
skeletonConfig: s({
|
|
107
107
|
defaultConfig: U.value,
|
|
108
108
|
userConfig: xe.value
|
|
109
109
|
})
|
|
@@ -115,28 +115,28 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
115
115
|
}), t = e.theme;
|
|
116
116
|
if (!t) return e;
|
|
117
117
|
if (!ve.value(e)) return ye(e), e;
|
|
118
|
-
let
|
|
118
|
+
let i = p({
|
|
119
119
|
userConfig: ue[t] || V.config,
|
|
120
120
|
defaultConfig: e
|
|
121
121
|
}), a = p({
|
|
122
122
|
userConfig: V.config,
|
|
123
|
-
defaultConfig:
|
|
123
|
+
defaultConfig: i
|
|
124
124
|
});
|
|
125
125
|
return {
|
|
126
126
|
...a,
|
|
127
|
-
customPalette: a.customPalette.length ? a.customPalette : r[t] ||
|
|
127
|
+
customPalette: a.customPalette.length ? a.customPalette : r[t] || n
|
|
128
128
|
};
|
|
129
129
|
}
|
|
130
130
|
j(() => V.config, (e) => {
|
|
131
131
|
U.value = q();
|
|
132
132
|
}, { deep: !0 });
|
|
133
|
-
let Ce = h(() =>
|
|
133
|
+
let Ce = h(() => re(U.value.customPalette)), J = T(K.value.map((e) => ({
|
|
134
134
|
...e,
|
|
135
135
|
value: U.value.style.animation.show ? 0 : e.value || 0,
|
|
136
136
|
formatter: e.formatter || null
|
|
137
137
|
}))), Y = T(null);
|
|
138
138
|
C(async () => {
|
|
139
|
-
|
|
139
|
+
i(V.dataset) && l({
|
|
140
140
|
componentName: "VueUiSparkbar",
|
|
141
141
|
type: "dataset",
|
|
142
142
|
debug: W.value
|
|
@@ -163,13 +163,13 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
163
163
|
...e,
|
|
164
164
|
value: U.value.style.animation.show && !B.value ? 0 : e.value || 0,
|
|
165
165
|
formatter: e.formatter || null
|
|
166
|
-
})),
|
|
166
|
+
})), pe(X);
|
|
167
167
|
}, { deep: !0 });
|
|
168
168
|
let Z = T({
|
|
169
169
|
width: 500,
|
|
170
170
|
height: 16
|
|
171
171
|
}), we = h(() => Math.max(...K.value.map((e) => e.value))), Te = h(() => (W.value && K.value.forEach((e, t) => {
|
|
172
|
-
|
|
172
|
+
te({
|
|
173
173
|
datasetObject: e,
|
|
174
174
|
requiredAttributes: ["name", "value"]
|
|
175
175
|
}).forEach((e) => {
|
|
@@ -183,7 +183,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
183
183
|
}), J.value.map((e, t) => ({
|
|
184
184
|
...e,
|
|
185
185
|
value: e.value || 0,
|
|
186
|
-
color: a(e.color) || Ce.value[t] ||
|
|
186
|
+
color: a(e.color) || Ce.value[t] || n[t] || n[t % n.length]
|
|
187
187
|
}))));
|
|
188
188
|
function Ee(e) {
|
|
189
189
|
return e / we.value;
|
|
@@ -225,7 +225,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
225
225
|
background: V.backgroundOpacity === null ? U.value.style.backgroundColor : k(t)(U.value.style.backgroundColor, V.backgroundOpacity)
|
|
226
226
|
})
|
|
227
227
|
}, [
|
|
228
|
-
e.$slots.title ? E(e.$slots, "title", me(
|
|
228
|
+
e.$slots.title ? E(e.$slots, "title", me(b({ title: {
|
|
229
229
|
...e.title,
|
|
230
230
|
title: U.value.style.title.text,
|
|
231
231
|
subtitle: U.value.style.title.subtitle.text
|
|
@@ -260,10 +260,10 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
260
260
|
onMouseenter: (e) => ke(n, r),
|
|
261
261
|
onMouseleave: (e) => Ae(n, r)
|
|
262
262
|
}, [
|
|
263
|
-
k(G) ? g("", !0) : E(e.$slots, "data-label",
|
|
263
|
+
k(G) ? g("", !0) : E(e.$slots, "data-label", x({ ref_for: !0 }, { bar: {
|
|
264
264
|
...n,
|
|
265
265
|
target: $(n),
|
|
266
|
-
valueLabel: k(
|
|
266
|
+
valueLabel: k(c)(n.formatter, n.value, k(o)({
|
|
267
267
|
p: n.prefix || "",
|
|
268
268
|
v: n.value,
|
|
269
269
|
s: n.suffix || "",
|
|
@@ -272,7 +272,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
272
272
|
datapoint: n,
|
|
273
273
|
seriesIndex: r
|
|
274
274
|
}),
|
|
275
|
-
targetLabel: k(
|
|
275
|
+
targetLabel: k(c)(n.formatter, $(n), k(o)({
|
|
276
276
|
p: n.prefix || "",
|
|
277
277
|
v: $(n),
|
|
278
278
|
s: n.suffix || "",
|
|
@@ -322,7 +322,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
322
322
|
key: 0,
|
|
323
323
|
style: S(`font-weight:${U.value.style.labels.value.bold ? "bold" : "normal"}`),
|
|
324
324
|
class: "vue-ui-sparkbar-datapoint-name"
|
|
325
|
-
}, ": " + D(k(
|
|
325
|
+
}, ": " + D(k(c)(n.formatter, n.value, k(o)({
|
|
326
326
|
p: n.prefix || "",
|
|
327
327
|
v: n.value,
|
|
328
328
|
s: n.suffix || "",
|
|
@@ -331,7 +331,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
331
331
|
datapoint: n,
|
|
332
332
|
seriesIndex: r
|
|
333
333
|
})), 5)) : g("", !0),
|
|
334
|
-
U.value.style.layout.showTargetValue ? (w(), _("span", P, D(" " + U.value.style.layout.targetValueText) + " " + D(k(
|
|
334
|
+
U.value.style.layout.showTargetValue ? (w(), _("span", P, D(" " + U.value.style.layout.targetValueText) + " " + D(k(c)(n.formatter, $(n), k(o)({
|
|
335
335
|
p: n.prefix || "",
|
|
336
336
|
v: $(n),
|
|
337
337
|
s: n.suffix || "",
|
|
@@ -343,7 +343,7 @@ var M = /* @__PURE__ */ e({ default: () => z }), N = [
|
|
|
343
343
|
], 64))], 4)) : g("", !0),
|
|
344
344
|
(w(), _("svg", {
|
|
345
345
|
role: "img",
|
|
346
|
-
xmlns: k(
|
|
346
|
+
xmlns: k(ne),
|
|
347
347
|
viewBox: `0 0 ${Z.value.width} ${Z.value.height}`,
|
|
348
348
|
width: "100%"
|
|
349
349
|
}, [
|