vue-data-ui 3.22.2 → 3.22.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
- package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
- package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
- package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
- package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
- package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
- package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
- package/dist/Legend-DXOzbXb-.js +156 -0
- package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
- package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
- package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
- package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
- package/dist/Slicer-hEvKOLw3.js +1145 -0
- package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
- package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
- package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
- package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
- package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.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-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
- package/dist/exposedLib-C2U48XK7.js +19 -0
- package/dist/img-B29J8tV5.js +129 -0
- package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
- package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
- package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
- package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
- package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
- 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 +69 -2
- package/dist/types/vue-ui-strip-plot.d.ts +2 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
- package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
- package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
- package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
- package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
- package/dist/utils.js +14 -14
- package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
- package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
- package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
- package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
- package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
- package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
- package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
- package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
- package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
- package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
- package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
- package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
- package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
- package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
- package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
- package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
- package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
- package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
- package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
- package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
- package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
- package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
- package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
- package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
- package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
- package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
- package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
- package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
- package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
- package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
- package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
- package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
- package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
- package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
- package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
- package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
- package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
- package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
- package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
- package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
- package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
- package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
- package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
- package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
- package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
- package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
- package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
- package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
- package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
- package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
- package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
- package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
- package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
- package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
- package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
- package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
- package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
- package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
- package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
- package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
- package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
- package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
- package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
- package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
- package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
- package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
- package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
- package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
- package/package.json +1 -1
- package/dist/Legend-BVDhEEsC.js +0 -115
- package/dist/Slicer-ClR833cP.js +0 -1144
- package/dist/exposedLib-CffbQxjN.js +0 -19
- package/dist/img-BCAOkqfM.js +0 -74
- package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
- package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
- package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
- package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
- package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
- package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
- package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
- package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
- package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
- package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
- package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
- package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
- package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
- package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
- package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
- package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
- package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
- package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
- package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
- package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as te } from "./useNestedProp-
|
|
2
|
+
import { I as t, Lt as n, k as r, t as i } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as ee } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as te } from "./useNestedProp-BjkuFaz1.js";
|
|
5
5
|
import { t as a } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
|
-
import { n as o } from "./PackageVersion-
|
|
6
|
+
import { n as o } from "./PackageVersion-Cm-3hwIF.js";
|
|
7
7
|
import { Fragment as s, computed as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createStaticVNode as f, createVNode as p, normalizeClass as ne, normalizeStyle as m, openBlock as h, ref as g, renderList as _, unref as v } from "vue";
|
|
8
8
|
//#region src/components/vue-ui-skeleton.vue
|
|
9
9
|
var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae = { transform: "translate(300, 300)" }, oe = [
|
|
@@ -171,28 +171,28 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
171
171
|
25,
|
|
172
172
|
26,
|
|
173
173
|
12
|
|
174
|
-
]), Ei = c(() =>
|
|
174
|
+
]), Ei = c(() => r({
|
|
175
175
|
plot: {
|
|
176
176
|
x: 50,
|
|
177
177
|
y: 50
|
|
178
178
|
},
|
|
179
179
|
radius: 40,
|
|
180
180
|
sides: 6
|
|
181
|
-
}).path), Di = c(() =>
|
|
181
|
+
}).path), Di = c(() => r({
|
|
182
182
|
plot: {
|
|
183
183
|
x: 50,
|
|
184
184
|
y: 50
|
|
185
185
|
},
|
|
186
186
|
radius: 30,
|
|
187
187
|
sides: 6
|
|
188
|
-
}).path), Oi = c(() =>
|
|
188
|
+
}).path), Oi = c(() => r({
|
|
189
189
|
plot: {
|
|
190
190
|
x: 50,
|
|
191
191
|
y: 50
|
|
192
192
|
},
|
|
193
193
|
radius: 20,
|
|
194
194
|
sides: 6
|
|
195
|
-
}).path), ki = c(() =>
|
|
195
|
+
}).path), ki = c(() => r({
|
|
196
196
|
plot: {
|
|
197
197
|
x: 50,
|
|
198
198
|
y: 50
|
|
@@ -482,7 +482,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
482
482
|
"M31.72923485708112,177.1814201754354A180,180 0 0 1 10.52695260675986,179.69191208514374Q0,0 171.96279754157493,-53.1864292999193A180,180 0 0 1 179.7057615540709,10.287821162491808Q0,0 31.72923485708112,177.1814201754354Z",
|
|
483
483
|
"M172.90759179321483,50.02963821846996A180,180 0 0 1 112.88946799894526,140.199743276923Q0,0 172.90759179321483,50.02963821846996A180,180 0 0 1 112.88946799894526,140.199743276923Q0,0 172.90759179321483,50.02963821846996Z"
|
|
484
484
|
]);
|
|
485
|
-
return (e,
|
|
485
|
+
return (e, r) => (h(), u("div", {
|
|
486
486
|
id: K.value,
|
|
487
487
|
class: ne({
|
|
488
488
|
"vue-data-ui-component": !0,
|
|
@@ -2358,7 +2358,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2358
2358
|
fill: "none"
|
|
2359
2359
|
}, [
|
|
2360
2360
|
p(o),
|
|
2361
|
-
|
|
2361
|
+
r[0] ||= d("path", {
|
|
2362
2362
|
stroke: "none",
|
|
2363
2363
|
d: "M0 0h24v24H0z",
|
|
2364
2364
|
fill: "none"
|
|
@@ -2378,7 +2378,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2378
2378
|
"stroke-linecap": "round",
|
|
2379
2379
|
"stroke-linejoin": "round",
|
|
2380
2380
|
fill: "none"
|
|
2381
|
-
}, [...
|
|
2381
|
+
}, [...r[1] ||= [f("<path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" data-v-633331e3></path><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" data-v-633331e3></path><path d=\"M9 10l.01 0\" data-v-633331e3></path><path d=\"M15 10l.01 0\" data-v-633331e3></path><path d=\"M9.5 15.25a3.5 3.5 0 0 1 5 0\" data-v-633331e3></path>", 5)]], 12, ai)),
|
|
2382
2382
|
q.value.style.rating.filled ? (h(), u("svg", {
|
|
2383
2383
|
key: 2,
|
|
2384
2384
|
xmlns: v(i),
|
|
@@ -2389,7 +2389,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2389
2389
|
"stroke-linecap": "round",
|
|
2390
2390
|
"stroke-linejoin": "round",
|
|
2391
2391
|
fill: "none"
|
|
2392
|
-
}, [
|
|
2392
|
+
}, [r[2] ||= d("path", {
|
|
2393
2393
|
stroke: "none",
|
|
2394
2394
|
d: "M0 0h24v24H0z",
|
|
2395
2395
|
fill: "none"
|
|
@@ -2407,7 +2407,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2407
2407
|
"stroke-linecap": "round",
|
|
2408
2408
|
"stroke-linejoin": "round",
|
|
2409
2409
|
fill: "none"
|
|
2410
|
-
}, [...
|
|
2410
|
+
}, [...r[3] ||= [f("<path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" data-v-633331e3></path><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" data-v-633331e3></path><path d=\"M9 10l.01 0\" data-v-633331e3></path><path d=\"M15 10l.01 0\" data-v-633331e3></path><path d=\"M9 15l6 0\" data-v-633331e3></path>", 5)]], 12, ci)),
|
|
2411
2411
|
q.value.style.rating.filled ? (h(), u("svg", {
|
|
2412
2412
|
key: 4,
|
|
2413
2413
|
xmlns: v(i),
|
|
@@ -2418,7 +2418,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2418
2418
|
"stroke-linecap": "round",
|
|
2419
2419
|
"stroke-linejoin": "round",
|
|
2420
2420
|
fill: "none"
|
|
2421
|
-
}, [
|
|
2421
|
+
}, [r[4] ||= d("path", {
|
|
2422
2422
|
stroke: "none",
|
|
2423
2423
|
d: "M0 0h24v24H0z",
|
|
2424
2424
|
fill: "none"
|
|
@@ -2436,7 +2436,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2436
2436
|
"stroke-linecap": "round",
|
|
2437
2437
|
"stroke-linejoin": "round",
|
|
2438
2438
|
fill: "none"
|
|
2439
|
-
}, [...
|
|
2439
|
+
}, [...r[5] ||= [
|
|
2440
2440
|
d("path", {
|
|
2441
2441
|
stroke: "none",
|
|
2442
2442
|
d: "M0 0h24v24H0z",
|
|
@@ -2456,7 +2456,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2456
2456
|
"stroke-linecap": "round",
|
|
2457
2457
|
"stroke-linejoin": "round",
|
|
2458
2458
|
fill: "none"
|
|
2459
|
-
}, [
|
|
2459
|
+
}, [r[6] ||= d("path", {
|
|
2460
2460
|
stroke: "none",
|
|
2461
2461
|
d: "M0 0h24v24H0z",
|
|
2462
2462
|
fill: "none"
|
|
@@ -2474,7 +2474,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2474
2474
|
"stroke-linecap": "round",
|
|
2475
2475
|
"stroke-linejoin": "round",
|
|
2476
2476
|
fill: "none"
|
|
2477
|
-
}, [...
|
|
2477
|
+
}, [...r[7] ||= [f("<path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" data-v-633331e3></path><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" data-v-633331e3></path><path d=\"M9 10l.01 0\" data-v-633331e3></path><path d=\"M15 10l.01 0\" data-v-633331e3></path><path d=\"M9.5 15a3.5 3.5 0 0 0 5 0\" data-v-633331e3></path>", 5)]], 12, mi)),
|
|
2478
2478
|
q.value.style.rating.filled ? (h(), u("svg", {
|
|
2479
2479
|
key: 8,
|
|
2480
2480
|
xmlns: v(i),
|
|
@@ -2485,7 +2485,7 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2485
2485
|
"stroke-linecap": "round",
|
|
2486
2486
|
"stroke-linejoin": "round",
|
|
2487
2487
|
fill: "none"
|
|
2488
|
-
}, [
|
|
2488
|
+
}, [r[8] ||= d("path", {
|
|
2489
2489
|
stroke: "none",
|
|
2490
2490
|
d: "M0 0h24v24H0z",
|
|
2491
2491
|
fill: "none"
|
|
@@ -2503,17 +2503,17 @@ var y = /* @__PURE__ */ e({ default: () => K }), re = ["id"], ie = ["xmlns"], ae
|
|
|
2503
2503
|
"stroke-linecap": "round",
|
|
2504
2504
|
"stroke-linejoin": "round",
|
|
2505
2505
|
fill: "none"
|
|
2506
|
-
}, [...
|
|
2506
|
+
}, [...r[9] ||= [f("<path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\" data-v-633331e3></path><path d=\"M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0\" data-v-633331e3></path><path d=\"M9 9l.01 0\" data-v-633331e3></path><path d=\"M15 9l.01 0\" data-v-633331e3></path><path d=\"M8 13a4 4 0 1 0 8 0h-8\" data-v-633331e3></path>", 5)]], 12, _i))
|
|
2507
2507
|
], 4)) : (h(), u("svg", {
|
|
2508
2508
|
key: 1,
|
|
2509
2509
|
xmlns: v(i),
|
|
2510
2510
|
width: "100%",
|
|
2511
2511
|
viewBox: "0 0 100 30",
|
|
2512
2512
|
style: m(`background:${q.value.style.backgroundColor};max-width:${q.value.style.rating.maxWidth}px`)
|
|
2513
|
-
}, [p(o), (h(), u(s, null, _(5, (e,
|
|
2514
|
-
points: v(
|
|
2513
|
+
}, [p(o), (h(), u(s, null, _(5, (e, n) => d("polygon", {
|
|
2514
|
+
points: v(t)({
|
|
2515
2515
|
plot: {
|
|
2516
|
-
x: 10 +
|
|
2516
|
+
x: 10 + n * 20,
|
|
2517
2517
|
y: 15
|
|
2518
2518
|
},
|
|
2519
2519
|
radius: 6
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as s } from "./useConfig-
|
|
4
|
-
import { t as c } from "./useNestedProp-
|
|
2
|
+
import { Ot as t, Q as n, Rt as r, i, q as a, t as o } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as s } from "./useConfig-pVLia3dt.js";
|
|
4
|
+
import { t as c } from "./useNestedProp-BjkuFaz1.js";
|
|
5
5
|
import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
6
6
|
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, normalizeClass as _, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, toDisplayString as w, unref as T, useSlots as E, watch as D, withCtx as O, withKeys as k } from "vue";
|
|
7
7
|
//#region src/atoms/BaseSmilingUnit.vue
|
|
@@ -179,7 +179,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
179
179
|
C["chart-background"] && console.warn("VueUiSmiley does not support the #chart-background slot.");
|
|
180
180
|
});
|
|
181
181
|
function A() {
|
|
182
|
-
(!Object.hasOwn(_.dataset, "rating") || t(_.dataset)) &&
|
|
182
|
+
(!Object.hasOwn(_.dataset, "rating") || t(_.dataset)) && n({
|
|
183
183
|
componentName: "VueUiSmiley",
|
|
184
184
|
type: "datasetAttribute",
|
|
185
185
|
property: "rating"
|
|
@@ -260,7 +260,7 @@ var A = ["xmlns", "stroke"], j = ["id"], M = ["stop-color"], N = ["stop-color"],
|
|
|
260
260
|
function q(e) {
|
|
261
261
|
return j.value.readonly ? j.value.style.colors.inactive[e] : I.value === e + 1 || k.value !== null && k.value === e ? j.value.style.icons.useGradient && j.value.style.icons.filled ? `url(#vueUiSmiley${e})` : j.value.style.colors.active[e] : j.value.style.colors.inactive[e];
|
|
262
262
|
}
|
|
263
|
-
let J = d(() => ({ value: e, tooltip: t = !1 }) =>
|
|
263
|
+
let J = d(() => ({ value: e, tooltip: t = !1 }) => i(t ? j.value.style.tooltip.formatter : j.value.style.rating.formatter, e, a({
|
|
264
264
|
v: e,
|
|
265
265
|
r: t ? j.value.style.tooltip.roundingValue : j.value.style.rating.roundingValue
|
|
266
266
|
}), j.value));
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ie } from "./useConfig-
|
|
2
|
+
import { Ct as t, Gt as n, Lt as r, Ot as i, Q as a, W as ee, i as o, j as te, m as ne, q as s, t as re, v as c } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as ie } from "./useConfig-pVLia3dt.js";
|
|
4
4
|
import { n as ae, t as oe } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
-
import { t as l } from "./useNestedProp-
|
|
5
|
+
import { t as l } from "./useNestedProp-BjkuFaz1.js";
|
|
6
6
|
import { t as se } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
7
|
import { t as u } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
8
8
|
import { c as ce } from "./canvas-lib-BOP_HS11.js";
|
|
@@ -63,7 +63,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
setup(e) {
|
|
66
|
-
let u = he(() => import("./PackageVersion-
|
|
66
|
+
let u = he(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), { vue_ui_spark_trend: S } = ie(), { isThemeValid: C, warnInvalidTheme: Le } = se(), w = ue(), T = e, E = _(null), Re = _(null), ze = _(null), D = _(null), O = _(null), k = _(!1), A = _(null), j = _(ee()), M = _(I()), Be = d(() => n({
|
|
67
67
|
defaultConfig: { style: {
|
|
68
68
|
animation: { show: !1 },
|
|
69
69
|
backgroundColor: "#99999930",
|
|
@@ -96,7 +96,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
96
96
|
144,
|
|
97
97
|
233
|
|
98
98
|
],
|
|
99
|
-
skeletonConfig:
|
|
99
|
+
skeletonConfig: n({
|
|
100
100
|
defaultConfig: M.value,
|
|
101
101
|
userConfig: Be.value
|
|
102
102
|
})
|
|
@@ -117,7 +117,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
117
117
|
defaultConfig: n
|
|
118
118
|
});
|
|
119
119
|
}
|
|
120
|
-
let L = d(() =>
|
|
120
|
+
let L = d(() => t({
|
|
121
121
|
data: P.value,
|
|
122
122
|
threshold: M.value.downsample.threshold
|
|
123
123
|
}));
|
|
@@ -125,9 +125,9 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
125
125
|
M.value = I(), H.value = M.value.style.width, U.value = M.value.style.height, V();
|
|
126
126
|
}, { deep: !0 });
|
|
127
127
|
function R(e) {
|
|
128
|
-
return e.map((e) =>
|
|
128
|
+
return e.map((e) => c(e));
|
|
129
129
|
}
|
|
130
|
-
let z = _(
|
|
130
|
+
let z = _(t({
|
|
131
131
|
data: P.value,
|
|
132
132
|
threshold: M.value.downsample.threshold
|
|
133
133
|
}).map((e) => M.value.style.animation.show && !w.value || [
|
|
@@ -148,7 +148,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
148
148
|
deep: !0,
|
|
149
149
|
immediate: !0
|
|
150
150
|
}), x(() => JSON.stringify(T.dataset), () => {
|
|
151
|
-
A.value &&= (cancelAnimationFrame(A.value), null), F.value =
|
|
151
|
+
A.value &&= (cancelAnimationFrame(A.value), null), F.value = i(T.dataset);
|
|
152
152
|
let e = L.value;
|
|
153
153
|
z.value = M.value.style.animation.show && !w.value ? Array(e.length).fill(null) : e.map((e) => Number.isFinite(e) ? e : null), B(), h(() => $(".vue-ui-sparktrend-progress-label", 6));
|
|
154
154
|
}, {
|
|
@@ -173,11 +173,11 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
173
173
|
});
|
|
174
174
|
let Ve = d(() => M.value.debug);
|
|
175
175
|
function V() {
|
|
176
|
-
if (
|
|
176
|
+
if (i(T.dataset) && (a({
|
|
177
177
|
componentName: "VueUiSparkTrend",
|
|
178
178
|
type: "dataset",
|
|
179
179
|
debug: Ve.value
|
|
180
|
-
}), F.value = !0),
|
|
180
|
+
}), F.value = !0), i(T.dataset) || (F.value = !1), M.value.responsive) {
|
|
181
181
|
let e = ce(() => {
|
|
182
182
|
let { width: e, height: t } = le({
|
|
183
183
|
chart: E.value,
|
|
@@ -242,12 +242,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
242
242
|
-Infinity
|
|
243
243
|
].includes(e) ? 0 : e || 0;
|
|
244
244
|
return {
|
|
245
|
-
value:
|
|
246
|
-
absoluteValue:
|
|
247
|
-
plotValue:
|
|
245
|
+
value: c(e),
|
|
246
|
+
absoluteValue: c(n),
|
|
247
|
+
plotValue: c(n + q.value),
|
|
248
248
|
toMax: We(n + q.value),
|
|
249
|
-
x: G.value.left +
|
|
250
|
-
y: G.value.bottom -
|
|
249
|
+
x: G.value.left + c(t * (G.value.width / (Ge.value - 1))) - M.value.style.padding.right,
|
|
250
|
+
y: G.value.bottom - c(G.value.height * We(n + q.value))
|
|
251
251
|
};
|
|
252
252
|
})), Y = d(() => {
|
|
253
253
|
let e = R(L.value);
|
|
@@ -280,18 +280,18 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
280
280
|
fontSize: M.value.style.trendLabel.fontSize
|
|
281
281
|
}), Je = d(() => {
|
|
282
282
|
if (N.value || k.value) return "Trend chart loading";
|
|
283
|
-
let e = J.value?.at(-1), t = e?.value, n =
|
|
283
|
+
let e = J.value?.at(-1), t = e?.value, n = s({
|
|
284
284
|
p: Y.value > 0 ? "+" : "",
|
|
285
285
|
v: Y.value,
|
|
286
286
|
s: "%",
|
|
287
287
|
r: M.value.style.trendLabel.rounding
|
|
288
|
-
}),
|
|
288
|
+
}), r = t == null ? "not available" : o(M.value.style.dataLabel.formatter, t, s({
|
|
289
289
|
p: M.value.style.dataLabel.prefix,
|
|
290
290
|
v: t,
|
|
291
291
|
s: M.value.style.dataLabel.suffix,
|
|
292
292
|
r: M.value.style.dataLabel.rounding
|
|
293
293
|
}), { datapoint: e });
|
|
294
|
-
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${
|
|
294
|
+
return `Progression ${X.value === "positive" ? `up ${n}` : X.value === "negative" ? `down ${n}` : `stable at ${n}`}. Last value ${r}.`;
|
|
295
295
|
}), Ye = d(() => `sparktrend-a11y-${j.value}`);
|
|
296
296
|
return (e, t) => (g(), p("div", {
|
|
297
297
|
ref_key: "sparkTrendChart",
|
|
@@ -333,7 +333,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
333
333
|
id: `pill_gradient_${j.value}`
|
|
334
334
|
}, [m("stop", {
|
|
335
335
|
offset: "0%",
|
|
336
|
-
"stop-color": b(
|
|
336
|
+
"stop-color": b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity)
|
|
337
337
|
}, null, 8, we), m("stop", {
|
|
338
338
|
offset: "100%",
|
|
339
339
|
"stop-color": M.value.style.backgroundColor
|
|
@@ -341,12 +341,12 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
341
341
|
M.value.style.area.show && J.value[0] ? (g(), p("g", Ee, [M.value.style.line.smooth ? (g(), p("path", {
|
|
342
342
|
key: 0,
|
|
343
343
|
d: `M ${J.value[0].x},${G.value.bottom} ${b(te)(J.value)} L ${J.value.at(-1).x},${G.value.bottom} Z`,
|
|
344
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(
|
|
344
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
345
345
|
stroke: "none"
|
|
346
346
|
}, null, 8, De)) : (g(), p("path", {
|
|
347
347
|
key: 1,
|
|
348
348
|
d: `M${Ke.value}Z`,
|
|
349
|
-
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(
|
|
349
|
+
fill: M.value.style.area.useGradient ? `url(#pill_gradient_${j.value})` : b(r)(M.value.style.line.useColorTrend ? Z.value : M.value.style.line.stroke, M.value.style.area.opacity),
|
|
350
350
|
stroke: "none"
|
|
351
351
|
}, null, 8, Oe))])) : f("", !0),
|
|
352
352
|
M.value.style.line.smooth && J.value.length ? (g(), p("path", {
|
|
@@ -394,7 +394,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
394
394
|
fill: M.value.style.trendLabel.useColorTrend ? Z.value : M.value.style.trendLabel.color,
|
|
395
395
|
"font-size": M.value.style.trendLabel.fontSize,
|
|
396
396
|
"font-weight": M.value.style.trendLabel.bold ? "bold" : "normal"
|
|
397
|
-
}, y(b(
|
|
397
|
+
}, y(b(s)({
|
|
398
398
|
p: Y.value > 0 ? "+" : "",
|
|
399
399
|
v: Y.value,
|
|
400
400
|
s: "%",
|
|
@@ -417,7 +417,7 @@ var S = /* @__PURE__ */ e({ default: () => C }), ye = ["id", "aria-describedby"]
|
|
|
417
417
|
"font-size": M.value.style.dataLabel.fontSize,
|
|
418
418
|
fill: M.value.style.dataLabel.useColorTrend ? Z.value : M.value.style.dataLabel.color,
|
|
419
419
|
"font-weight": M.value.style.dataLabel.bold ? "bold" : "normal"
|
|
420
|
-
}, y(b(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(
|
|
420
|
+
}, y(b(o)(M.value.style.dataLabel.formatter, J.value.at(-1).value, b(s)({
|
|
421
421
|
p: M.value.style.dataLabel.prefix,
|
|
422
422
|
v: J.value.at(-1).value,
|
|
423
423
|
s: M.value.style.dataLabel.suffix,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ae } from "./useConfig-
|
|
2
|
+
import { Gt as t, Lt as n, Ot as r, Q as i, Rt as a, S as ee, Ut as te, W as ne, b as o, i as s, jt as c, q as l, t as re, ut as ie } from "./lib-CuwHGt1j.js";
|
|
3
|
+
import { t as ae } from "./useConfig-pVLia3dt.js";
|
|
4
4
|
import { n as oe, t as se } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
-
import { t as u } from "./useNestedProp-
|
|
5
|
+
import { t as u } from "./useNestedProp-BjkuFaz1.js";
|
|
6
6
|
import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
7
|
import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
|
|
8
|
-
import { t as
|
|
9
|
-
import { Fragment as
|
|
8
|
+
import { t as d } from "./vue_ui_sparkbar-z6qO--Kf.js";
|
|
9
|
+
import { Fragment as f, computed as p, createBlock as ue, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as de, defineAsyncComponent as fe, mergeProps as _, nextTick as pe, normalizeProps as me, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as he, renderSlot as S, toDisplayString as C, toRefs as ge, unref as w, useSlots as T, watch as E } from "vue";
|
|
10
10
|
//#region src/components/vue-ui-sparkbar.vue
|
|
11
11
|
var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
12
12
|
"onClick",
|
|
@@ -56,11 +56,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
56
56
|
},
|
|
57
57
|
emits: ["selectDatapoint"],
|
|
58
58
|
setup(e, { emit: D }) {
|
|
59
|
-
let R = fe(() => import("./PackageVersion-
|
|
59
|
+
let R = fe(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ae(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), z = le(), B = e, be = T();
|
|
60
60
|
y(() => {
|
|
61
61
|
be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
|
|
62
62
|
});
|
|
63
|
-
let V = x(
|
|
63
|
+
let V = x(ne()), H = x(K()), xe = p(() => t({
|
|
64
64
|
defaultConfig: { style: {
|
|
65
65
|
backgroundColor: "#99999930",
|
|
66
66
|
animation: { show: !1 },
|
|
@@ -96,11 +96,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
96
96
|
color: "#DBDBDB"
|
|
97
97
|
}
|
|
98
98
|
],
|
|
99
|
-
skeletonConfig:
|
|
99
|
+
skeletonConfig: t({
|
|
100
100
|
defaultConfig: H.value,
|
|
101
101
|
userConfig: xe.value
|
|
102
102
|
})
|
|
103
|
-
}), G =
|
|
103
|
+
}), G = p(() => !!H.value.debug);
|
|
104
104
|
function K() {
|
|
105
105
|
let e = u({
|
|
106
106
|
userConfig: B.config,
|
|
@@ -109,7 +109,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
109
109
|
if (!t) return e;
|
|
110
110
|
if (!ve.value(e)) return ye(e), e;
|
|
111
111
|
let n = u({
|
|
112
|
-
userConfig:
|
|
112
|
+
userConfig: d[t] || B.config,
|
|
113
113
|
defaultConfig: e
|
|
114
114
|
}), r = u({
|
|
115
115
|
userConfig: B.config,
|
|
@@ -117,19 +117,19 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
117
117
|
});
|
|
118
118
|
return {
|
|
119
119
|
...r,
|
|
120
|
-
customPalette: r.customPalette.length ? r.customPalette :
|
|
120
|
+
customPalette: r.customPalette.length ? r.customPalette : te[t] || c
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
E(() => B.config, (e) => {
|
|
124
124
|
H.value = K();
|
|
125
125
|
}, { deep: !0 });
|
|
126
|
-
let Ce =
|
|
126
|
+
let Ce = p(() => ee(H.value.customPalette)), q = x(W.value.map((e) => ({
|
|
127
127
|
...e,
|
|
128
128
|
value: H.value.style.animation.show ? 0 : e.value || 0,
|
|
129
129
|
formatter: e.formatter || null
|
|
130
130
|
}))), J = x(null);
|
|
131
131
|
y(async () => {
|
|
132
|
-
|
|
132
|
+
r(B.dataset) && i({
|
|
133
133
|
componentName: "VueUiSparkbar",
|
|
134
134
|
type: "dataset",
|
|
135
135
|
debug: G.value
|
|
@@ -161,12 +161,12 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
161
161
|
let X = x({
|
|
162
162
|
width: 500,
|
|
163
163
|
height: 16
|
|
164
|
-
}), we =
|
|
165
|
-
|
|
164
|
+
}), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, t) => {
|
|
165
|
+
ie({
|
|
166
166
|
datasetObject: e,
|
|
167
167
|
requiredAttributes: ["name", "value"]
|
|
168
168
|
}).forEach((e) => {
|
|
169
|
-
|
|
169
|
+
i({
|
|
170
170
|
componentName: "VueUiSparkbar",
|
|
171
171
|
type: "datasetSerieAttribute",
|
|
172
172
|
property: e,
|
|
@@ -177,7 +177,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
177
177
|
}), q.value.map((e, t) => ({
|
|
178
178
|
...e,
|
|
179
179
|
value: e.value || 0,
|
|
180
|
-
color:
|
|
180
|
+
color: o(e.color) || Ce.value[t] || c[t] || c[t % c.length]
|
|
181
181
|
}))));
|
|
182
182
|
function Z(e) {
|
|
183
183
|
return e / we.value;
|
|
@@ -248,11 +248,11 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
248
248
|
fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
|
|
249
249
|
})
|
|
250
250
|
}, C(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
|
|
251
|
-
(b(!0), h(
|
|
252
|
-
style: v(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${w(W).length > 0 &&
|
|
253
|
-
onClick: (e) => De(t,
|
|
254
|
-
onMouseenter: (e) => Oe(t,
|
|
255
|
-
onMouseleave: (e) => ke(t,
|
|
251
|
+
(b(!0), h(f, null, he(Te.value, (t, r) => (b(), h("div", {
|
|
252
|
+
style: v(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${w(W).length > 0 && r !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
|
|
253
|
+
onClick: (e) => De(t, r),
|
|
254
|
+
onMouseenter: (e) => Oe(t, r),
|
|
255
|
+
onMouseleave: (e) => ke(t, r)
|
|
256
256
|
}, [
|
|
257
257
|
w(U) ? m("", !0) : S(e.$slots, "data-label", _({
|
|
258
258
|
key: 0,
|
|
@@ -260,23 +260,23 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
260
260
|
}, { bar: {
|
|
261
261
|
...t,
|
|
262
262
|
target: $(t),
|
|
263
|
-
valueLabel: w(
|
|
263
|
+
valueLabel: w(s)(t.formatter, t.value, w(l)({
|
|
264
264
|
p: t.prefix || "",
|
|
265
265
|
v: t.value,
|
|
266
266
|
s: t.suffix || "",
|
|
267
267
|
r: t.rounding || 0
|
|
268
268
|
}), {
|
|
269
269
|
datapoint: t,
|
|
270
|
-
seriesIndex:
|
|
270
|
+
seriesIndex: r
|
|
271
271
|
}),
|
|
272
|
-
targetLabel: w(
|
|
272
|
+
targetLabel: w(s)(t.formatter, $(t), w(l)({
|
|
273
273
|
p: t.prefix || "",
|
|
274
274
|
v: $(t),
|
|
275
275
|
s: t.suffix || "",
|
|
276
276
|
r: t.rounding || 0
|
|
277
277
|
}), {
|
|
278
278
|
datapoint: t,
|
|
279
|
-
seriesIndex:
|
|
279
|
+
seriesIndex: r
|
|
280
280
|
})
|
|
281
281
|
} })),
|
|
282
282
|
!e.$slots["data-label"] || w(U) ? (b(), h("div", {
|
|
@@ -313,34 +313,34 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
313
313
|
width: "15px",
|
|
314
314
|
borderRadius: H.value.style.labels.fontSize / 4 + "px",
|
|
315
315
|
backgroundColor: "#6A6A6A80"
|
|
316
|
-
}) }, null, 4)], 4)) : (b(), h(
|
|
316
|
+
}) }, null, 4)], 4)) : (b(), h(f, { key: 1 }, [
|
|
317
317
|
g("span", null, C(t.name), 1),
|
|
318
318
|
H.value.style.labels.value.show ? (b(), h("span", {
|
|
319
319
|
key: 0,
|
|
320
320
|
style: v(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
|
|
321
321
|
class: "vue-ui-sparkbar-datapoint-name"
|
|
322
|
-
}, ": " + C(w(
|
|
322
|
+
}, ": " + C(w(s)(t.formatter, t.value, w(l)({
|
|
323
323
|
p: t.prefix || "",
|
|
324
324
|
v: t.value,
|
|
325
325
|
s: t.suffix || "",
|
|
326
326
|
r: t.rounding || 0
|
|
327
327
|
}), {
|
|
328
328
|
datapoint: t,
|
|
329
|
-
seriesIndex:
|
|
329
|
+
seriesIndex: r
|
|
330
330
|
})), 5)) : m("", !0),
|
|
331
|
-
H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(
|
|
331
|
+
H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(s)(t.formatter, $(t), w(l)({
|
|
332
332
|
p: t.prefix || "",
|
|
333
333
|
v: $(t),
|
|
334
334
|
s: t.suffix || "",
|
|
335
335
|
r: t.rounding || 0
|
|
336
336
|
}), {
|
|
337
337
|
datapoint: t,
|
|
338
|
-
seriesIndex:
|
|
338
|
+
seriesIndex: r
|
|
339
339
|
})), 1)) : m("", !0)
|
|
340
340
|
], 64))], 4)) : m("", !0),
|
|
341
341
|
(b(), h("svg", {
|
|
342
342
|
role: "img",
|
|
343
|
-
xmlns: w(
|
|
343
|
+
xmlns: w(re),
|
|
344
344
|
viewBox: `0 0 ${X.value.width} ${X.value.height}`,
|
|
345
345
|
width: "100%"
|
|
346
346
|
}, [
|
|
@@ -350,7 +350,7 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
350
350
|
y1: "0%",
|
|
351
351
|
x2: "100%",
|
|
352
352
|
y2: "0%",
|
|
353
|
-
id: `sparkbar_gradient_${
|
|
353
|
+
id: `sparkbar_gradient_${r}_${V.value}`
|
|
354
354
|
}, [g("stop", {
|
|
355
355
|
offset: "0%",
|
|
356
356
|
"stop-color": w(n)(w(a)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
|
|
@@ -379,13 +379,13 @@ var D = /* @__PURE__ */ e({ default: () => R }), O = [
|
|
|
379
379
|
width: X.value.width * Q(t),
|
|
380
380
|
x: 0,
|
|
381
381
|
y: 0,
|
|
382
|
-
fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${
|
|
382
|
+
fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${r}_${V.value})` : t.color,
|
|
383
383
|
rx: X.value.height / 2
|
|
384
384
|
}, null, 8, I)
|
|
385
385
|
], 8, A))
|
|
386
386
|
], 44, O))), 256)),
|
|
387
387
|
e.$slots.source ? (b(), h("div", L, [S(e.$slots, "source")], 512)) : m("", !0),
|
|
388
|
-
w(U) ? (b(),
|
|
388
|
+
w(U) ? (b(), ue(se, { key: 3 })) : m("", !0)
|
|
389
389
|
], 4));
|
|
390
390
|
}
|
|
391
391
|
};
|