vue-data-ui 3.22.9 → 3.22.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
- package/dist/{BaseDraggableDialog-Av7Uxq5V.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
- package/dist/{BaseIcon-UdRAvP2h.js → BaseIcon-CDTIUIKV.js} +1 -1
- package/dist/{BaseLegendToggle-DWtet-Hh.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
- package/dist/{BaseZoomControls-BY2KLqs6.js → BaseZoomControls-CkEX0292.js} +2 -2
- package/dist/{ColorPicker-DR_ummtM.js → ColorPicker-C959ZIW9.js} +2 -2
- package/dist/{DataTable-BxpTMgfK.js → DataTable-ByZy5gt1.js} +2 -2
- package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
- package/dist/{NonSvgPenAndPaper-B6EG_Sga.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
- package/dist/{PackageVersion-D__dRVRA.js → PackageVersion-BoTvk0i5.js} +1 -1
- package/dist/{PenAndPaper-DsXi7GJ-.js → PenAndPaper-CLaZJl6K.js} +3 -3
- package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
- package/dist/{Slicer-CW_XPIKL.js → Slicer-WsWTQPKt.js} +21 -21
- package/dist/{SlicerPreview-CTz41lOu.js → SlicerPreview-3n516NyE.js} +214 -214
- package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
- package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
- package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
- package/dist/{UserOptions-trvJ26nz.js → UserOptions-BUQOnoPR.js} +2 -2
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
- package/dist/exposedLib-CZbtc2a6.js +25 -0
- package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
- package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
- package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
- package/dist/{package-ByOT60IK.js → package-BRBLwZUc.js} +1 -1
- package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
- package/dist/{render-common-D18VrP0h.js → render-common-DJXFRGhU.js} +10 -10
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/types/utils.d.ts +40 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
- package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
- package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
- package/dist/utils.js +26 -24
- package/dist/{vue-data-ui-ub3fCh6P.js → vue-data-ui-Bx_8d3b_.js} +68 -68
- package/dist/vue-data-ui.js +77 -77
- package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
- package/dist/{vue-ui-accordion-CjAGqEJg.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
- package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
- package/dist/{vue-ui-annotator-BIucnT0L.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
- package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
- package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
- package/dist/{vue-ui-candlestick-DULUMU-Q.js → vue-ui-candlestick-BUP1JoNs.js} +287 -287
- package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
- package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
- package/dist/{vue-ui-chord-DL1M7cgL.js → vue-ui-chord-AA-QjUQI.js} +42 -42
- package/dist/{vue-ui-circle-pack-C1Pgq6si.js → vue-ui-circle-pack-CdBFGYOK.js} +37 -37
- package/dist/{vue-ui-cursor-d2uLAKTQ.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
- package/dist/{vue-ui-dag-CVh9FpZr.js → vue-ui-dag-CgRph4-n.js} +32 -32
- package/dist/{vue-ui-dashboard-BH0N3ebj.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
- package/dist/{vue-ui-digits-R6wi3J-Y.js → vue-ui-digits-ClrukmcB.js} +3 -3
- package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
- package/dist/{vue-ui-donut-BWDeVzLc.js → vue-ui-donut-DtQCrMKL.js} +207 -207
- package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
- package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
- package/dist/{vue-ui-flow-CNczKwTh.js → vue-ui-flow-PjwAW2tY.js} +71 -71
- package/dist/vue-ui-funnel-DojI09FV.js +782 -0
- package/dist/{vue-ui-galaxy-v3cTbUiM.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
- package/dist/{vue-ui-gauge-DxvMjfoc.js → vue-ui-gauge-CoL0OzSd.js} +178 -178
- package/dist/{vue-ui-geo-BgmLkZZ2.js → vue-ui-geo-yuL-_sqF.js} +20 -20
- package/dist/{vue-ui-gizmo-n1kmcGeE.js → vue-ui-gizmo-CbC5zV3K.js} +9 -9
- package/dist/{vue-ui-heatmap-dSTh8ah_.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
- package/dist/{vue-ui-history-plot-N8BqMFVU.js → vue-ui-history-plot-CuWssH-D.js} +414 -414
- package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
- package/dist/{vue-ui-kpi-BKrUk9o8.js → vue-ui-kpi-BdYenScF.js} +3 -3
- package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
- package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
- package/dist/{vue-ui-mood-radar-CpBRHQo_.js → vue-ui-mood-radar-B_6GFlaR.js} +261 -261
- package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
- package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
- package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
- package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
- package/dist/{vue-ui-quick-chart-BO98uEPl.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
- package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
- package/dist/{vue-ui-rating-CN-ZiAES.js → vue-ui-rating-CzLGCFWK.js} +101 -101
- package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
- package/dist/vue-ui-ridgeline-BArLhskj.js +1628 -0
- package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
- package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
- package/dist/{vue-ui-skeleton-DC2bZ0nk.js → vue-ui-skeleton-KeIPGp9U.js} +99 -99
- package/dist/{vue-ui-smiley-Dyyu1je3.js → vue-ui-smiley-C1mYDh4R.js} +17 -17
- package/dist/vue-ui-spark-trend-EqCqmHmU.js +443 -0
- package/dist/{vue-ui-sparkbar-DhIo1qsW.js → vue-ui-sparkbar-BPh45vBP.js} +66 -66
- package/dist/{vue-ui-sparkgauge-D0Fo3Hts.js → vue-ui-sparkgauge-CtouPcyW.js} +65 -65
- package/dist/vue-ui-sparkhistogram-D4sI0DHN.js +576 -0
- package/dist/{vue-ui-sparkline-ApivEMBP.js → vue-ui-sparkline-BDFZ78Fz.js} +51 -51
- package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
- package/dist/{vue-ui-stackbar-Ds4hXATH.js → vue-ui-stackbar-nMXIY9x8.js} +108 -108
- package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
- package/dist/{vue-ui-strip-plot-C3ZHf4bD.js → vue-ui-strip-plot-BCf5nthl.js} +65 -65
- package/dist/vue-ui-table-BAKkFXki.js +1338 -0
- package/dist/{vue-ui-table-heatmap-CNXNXXBU.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
- package/dist/{vue-ui-table-sparkline-B9JJ4pFF.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
- package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
- package/dist/{vue-ui-timer-5NAWw5BN.js → vue-ui-timer-Bz7EnsM1.js} +5 -5
- package/dist/{vue-ui-tiremarks-Caz_g1c5.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
- package/dist/{vue-ui-treemap-F9upPyOI.js → vue-ui-treemap-JxNNtb7v.js} +232 -232
- package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
- package/dist/{vue-ui-wheel-DD6Q39BA.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
- package/dist/{vue-ui-word-cloud-BZLT5svo.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
- package/dist/{vue-ui-world-DbEJN5NA.js → vue-ui-world-R9o00A6c.js} +210 -210
- package/dist/{vue-ui-xy-BYMAITk_.js → vue-ui-xy-CUt6sU1s.js} +766 -766
- package/dist/{vue-ui-xy-Cn9Q8YPr.js → vue-ui-xy-Do34-UbE.js} +134 -134
- package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
- package/package.json +1 -1
- package/dist/exposedLib-VXFp3Z2c.js +0 -19
- package/dist/vue-ui-3d-bar-taPI41_I.js +0 -1825
- package/dist/vue-ui-age-pyramid-jvQZbF8E.js +0 -1247
- package/dist/vue-ui-bullet-CIATzlsk.js +0 -710
- package/dist/vue-ui-bump-D8MxltQE.js +0 -1249
- package/dist/vue-ui-carousel-table-BSmdexG7.js +0 -455
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +0 -2042
- package/dist/vue-ui-donut-BoZdciGh.js +0 -2419
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +0 -1522
- package/dist/vue-ui-dumbbell-DGA5Bfnl.js +0 -1564
- package/dist/vue-ui-funnel-CaD2tZCT.js +0 -782
- package/dist/vue-ui-horizontal-bar-CwiQxYzv.js +0 -1689
- package/dist/vue-ui-molecule--kK1JfnP.js +0 -931
- package/dist/vue-ui-nested-donuts-8Ehwcuns.js +0 -1493
- package/dist/vue-ui-onion-Cf6JiYTH.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-Blnqp1DB.js +0 -1416
- package/dist/vue-ui-quadrant-CxU0jiOm.js +0 -1984
- package/dist/vue-ui-radar-eH2Qih4_.js +0 -1287
- package/dist/vue-ui-relation-circle-BIcP-aAt.js +0 -924
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +0 -1628
- package/dist/vue-ui-rings-J990vNbX.js +0 -1252
- package/dist/vue-ui-scatter-BeJB0EKg.js +0 -2422
- package/dist/vue-ui-spark-trend-CpDX85H3.js +0 -443
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +0 -576
- package/dist/vue-ui-sparkstackbar-DsKQJx_n.js +0 -674
- package/dist/vue-ui-stackline-DJbcVvmN.js +0 -2425
- package/dist/vue-ui-table-uudidrYt.js +0 -1338
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +0 -770
- package/dist/vue-ui-waffle-Bk9AsrPp.js +0 -1368
- package/dist/vue-ui-xy-canvas-Dcm2ftwm.js +0 -1790
|
@@ -1,576 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { $ as t, G as n, J as r, Kt as i, Rt as a, dt as o, i as s, kt as c, t as l, zt as u } from "./lib-JqW18y5I.js";
|
|
3
|
-
import { t as d } from "./useConfig-DYM3f6EI.js";
|
|
4
|
-
import { n as ee, t as f } from "./BaseScanner-DZvpgOjM.js";
|
|
5
|
-
import { t as p } from "./useNestedProp-DIuuzG1r.js";
|
|
6
|
-
import { t as m } from "./useThemeCheck-C43Tcqmk.js";
|
|
7
|
-
import { t as te } from "./Shape-UpH0a4Ur.js";
|
|
8
|
-
import { t as ne } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
9
|
-
import { c as re } from "./canvas-lib-BOP_HS11.js";
|
|
10
|
-
import { t as ie } from "./useResponsive-BfnK0KxU.js";
|
|
11
|
-
import { t as h } from "./DefGrad-DVBqDjhO.js";
|
|
12
|
-
import { t as ae } from "./A11yDataTable-DdRsVULz.js";
|
|
13
|
-
import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
|
|
14
|
-
import { t as se } from "./useFitSvgText-CT3nmlaS.js";
|
|
15
|
-
import { t as ce } from "./vue_ui_sparkhistogram-BRgvKUH6.js";
|
|
16
|
-
import { Fragment as g, computed as _, createBlock as v, createCommentVNode as y, createElementBlock as b, createElementVNode as x, createTextVNode as le, createVNode as ue, defineAsyncComponent as de, guardReactiveProps as fe, nextTick as S, normalizeClass as C, normalizeProps as pe, normalizeStyle as w, onMounted as me, openBlock as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, toRefs as he, unref as A, useCssVars as ge, watch as j } from "vue";
|
|
17
|
-
//#region src/components/vue-ui-sparkhistogram.vue
|
|
18
|
-
var _e = /* @__PURE__ */ e({ default: () => M }), ve = ["id"], ye = { key: 0 }, be = { key: 1 }, xe = { style: { position: "relative" } }, Se = [
|
|
19
|
-
"xmlns",
|
|
20
|
-
"viewBox",
|
|
21
|
-
"aria-describedby"
|
|
22
|
-
], Ce = ["width", "height"], we = [
|
|
23
|
-
"height",
|
|
24
|
-
"width",
|
|
25
|
-
"fill",
|
|
26
|
-
"x",
|
|
27
|
-
"stroke",
|
|
28
|
-
"stroke-width",
|
|
29
|
-
"rx",
|
|
30
|
-
"stroke-dasharray"
|
|
31
|
-
], Te = { key: 1 }, Ee = [
|
|
32
|
-
"x",
|
|
33
|
-
"y",
|
|
34
|
-
"height",
|
|
35
|
-
"width",
|
|
36
|
-
"fill",
|
|
37
|
-
"stroke",
|
|
38
|
-
"stroke-width",
|
|
39
|
-
"rx"
|
|
40
|
-
], De = { key: 2 }, Oe = [
|
|
41
|
-
"x",
|
|
42
|
-
"y",
|
|
43
|
-
"font-size",
|
|
44
|
-
"font-weight",
|
|
45
|
-
"fill"
|
|
46
|
-
], ke = [
|
|
47
|
-
"x",
|
|
48
|
-
"y",
|
|
49
|
-
"font-size",
|
|
50
|
-
"fill"
|
|
51
|
-
], Ae = [
|
|
52
|
-
"x",
|
|
53
|
-
"y",
|
|
54
|
-
"font-size",
|
|
55
|
-
"fill"
|
|
56
|
-
], je = [
|
|
57
|
-
"height",
|
|
58
|
-
"width",
|
|
59
|
-
"x",
|
|
60
|
-
"onMouseover",
|
|
61
|
-
"onMouseleave",
|
|
62
|
-
"onClick"
|
|
63
|
-
], Me = {
|
|
64
|
-
key: 0,
|
|
65
|
-
style: {
|
|
66
|
-
position: "absolute",
|
|
67
|
-
top: "100%",
|
|
68
|
-
left: "0",
|
|
69
|
-
width: "100%"
|
|
70
|
-
},
|
|
71
|
-
"data-dom-to-png-ignore": "",
|
|
72
|
-
"aria-hidden": "true"
|
|
73
|
-
}, M = /*#__PURE__*/ ne({
|
|
74
|
-
__name: "vue-ui-sparkhistogram",
|
|
75
|
-
props: {
|
|
76
|
-
config: {
|
|
77
|
-
type: Object,
|
|
78
|
-
default() {
|
|
79
|
-
return {};
|
|
80
|
-
}
|
|
81
|
-
},
|
|
82
|
-
dataset: {
|
|
83
|
-
type: Array,
|
|
84
|
-
default() {
|
|
85
|
-
return [];
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
emits: ["selectDatapoint"],
|
|
90
|
-
setup(e, { emit: ne }) {
|
|
91
|
-
ge((e) => ({ v7441ed7f: Je.value }));
|
|
92
|
-
let _e = de(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_sparkhistogram: M } = d(), { isThemeValid: Ne, warnInvalidTheme: Pe } = m(), N = e, P = E(n()), Fe = E(null), F = E(null), I = E(null), L = E(null), R = E(null), z = E(!1), B = E(null), V = E("pointer"), H = E(J()), Ie = _(() => i({
|
|
93
|
-
defaultConfig: { style: {
|
|
94
|
-
animation: { show: !1 },
|
|
95
|
-
backgroundColor: "#99999930"
|
|
96
|
-
} },
|
|
97
|
-
userConfig: H.value.skeletonConfig ?? {}
|
|
98
|
-
})), { loading: U, FINAL_DATASET: W, manualLoading: Le } = ee({
|
|
99
|
-
...he(N),
|
|
100
|
-
FINAL_CONFIG: H,
|
|
101
|
-
prepareConfig: J,
|
|
102
|
-
skeletonDataset: N.config?.skeletonDataset ?? [
|
|
103
|
-
{
|
|
104
|
-
value: 1,
|
|
105
|
-
intensity: .2,
|
|
106
|
-
color: "#CACACA"
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
value: 2,
|
|
110
|
-
intensity: .3,
|
|
111
|
-
color: "#CACACA"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
value: 3,
|
|
115
|
-
intensity: .5,
|
|
116
|
-
color: "#CACACA"
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
value: 5,
|
|
120
|
-
intensity: .7,
|
|
121
|
-
color: "#CACACA"
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
value: 8,
|
|
125
|
-
intensity: .9,
|
|
126
|
-
color: "#CACACA"
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
value: 13,
|
|
130
|
-
intensity: .95,
|
|
131
|
-
color: "#CACACA"
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
value: 21,
|
|
135
|
-
intensity: 1,
|
|
136
|
-
color: "#CACACA"
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
value: 13,
|
|
140
|
-
intensity: .95,
|
|
141
|
-
color: "#CACACA"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
value: 8,
|
|
145
|
-
intensity: .9,
|
|
146
|
-
color: "#CACACA"
|
|
147
|
-
},
|
|
148
|
-
{
|
|
149
|
-
value: 5,
|
|
150
|
-
intensity: .7,
|
|
151
|
-
color: "#CACACA"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
value: 3,
|
|
155
|
-
intensity: .5,
|
|
156
|
-
color: "#CACACA"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
value: 2,
|
|
160
|
-
intensity: .3,
|
|
161
|
-
color: "#CACACA"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
value: 1,
|
|
165
|
-
intensity: .2,
|
|
166
|
-
color: "#CACACA"
|
|
167
|
-
}
|
|
168
|
-
],
|
|
169
|
-
skeletonConfig: i({
|
|
170
|
-
defaultConfig: H.value,
|
|
171
|
-
userConfig: Ie.value
|
|
172
|
-
})
|
|
173
|
-
}), G = E(H.value.style.layout.width), K = E(H.value.style.layout.height), { svgRef: q } = oe({ config: H.value.style.title });
|
|
174
|
-
function J() {
|
|
175
|
-
let e = p({
|
|
176
|
-
userConfig: N.config,
|
|
177
|
-
defaultConfig: M
|
|
178
|
-
}), t = e.theme;
|
|
179
|
-
if (!t) return e;
|
|
180
|
-
if (!Ne.value(e)) return Pe(e), e;
|
|
181
|
-
let n = p({
|
|
182
|
-
userConfig: ce[t] || N.config,
|
|
183
|
-
defaultConfig: e
|
|
184
|
-
});
|
|
185
|
-
return p({
|
|
186
|
-
userConfig: N.config,
|
|
187
|
-
defaultConfig: n
|
|
188
|
-
});
|
|
189
|
-
}
|
|
190
|
-
me(() => {
|
|
191
|
-
ze();
|
|
192
|
-
});
|
|
193
|
-
let Re = _(() => !!H.value.debug);
|
|
194
|
-
function ze() {
|
|
195
|
-
if (c(N.dataset) ? t({
|
|
196
|
-
componentName: "VueUiSparkHistogram",
|
|
197
|
-
type: "dataset",
|
|
198
|
-
debug: Re.value
|
|
199
|
-
}) : N.dataset.forEach((e, n) => {
|
|
200
|
-
o({
|
|
201
|
-
datasetObject: e,
|
|
202
|
-
requiredAttributes: ["value"]
|
|
203
|
-
}).forEach((e) => {
|
|
204
|
-
t({
|
|
205
|
-
componentName: "VueUiSparkHistogram",
|
|
206
|
-
type: "datasetSerieAttribute",
|
|
207
|
-
property: e,
|
|
208
|
-
index: n,
|
|
209
|
-
debug: Re.value
|
|
210
|
-
});
|
|
211
|
-
});
|
|
212
|
-
}), H.value.responsive) {
|
|
213
|
-
let e = re(() => {
|
|
214
|
-
let { width: e, height: t } = ie({
|
|
215
|
-
chart: I.value,
|
|
216
|
-
title: H.value.style.title.text ? F.value : null,
|
|
217
|
-
source: Fe.value
|
|
218
|
-
}), n = H.value.style.labels.timeLabel.show ? H.value.style.labels.timeLabel.fontSize * 2 : 0, r = H.value.style.labels.valueLabel.show ? H.value.style.labels.valueLabel.fontSize * 2 : 0;
|
|
219
|
-
requestAnimationFrame(() => {
|
|
220
|
-
G.value = Math.max(10, e), K.value = Math.max(10, t - 12 - n - r);
|
|
221
|
-
});
|
|
222
|
-
});
|
|
223
|
-
L.value && (R.value && L.value.unobserve(R.value), L.value.disconnect()), L.value = new ResizeObserver(e), R.value = I.value.parentNode, L.value.observe(R.value);
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
j(() => N.config, (e) => {
|
|
227
|
-
H.value = J(), ze();
|
|
228
|
-
}, { deep: !0 });
|
|
229
|
-
let Y = _(() => {
|
|
230
|
-
let e = H.value.style.labels.timeLabel.show ? H.value.style.labels.timeLabel.fontSize * 2 : 0, t = H.value.style.labels.valueLabel.show ? H.value.style.labels.valueLabel.fontSize * 2 : 0, n = K.value + e + t, r = G.value, i = H.value.style.layout.padding.top, a = n - H.value.style.layout.padding.bottom, o = H.value.style.layout.padding.left, s = r - H.value.style.layout.padding.right;
|
|
231
|
-
return {
|
|
232
|
-
bottom: a,
|
|
233
|
-
centerY: i + (n - i - H.value.style.layout.padding.bottom) / 2,
|
|
234
|
-
drawingHeight: n - H.value.style.layout.padding.top - H.value.style.layout.padding.bottom - e - t,
|
|
235
|
-
drawingWidth: r - H.value.style.layout.padding.left - H.value.style.layout.padding.right,
|
|
236
|
-
height: n,
|
|
237
|
-
left: o,
|
|
238
|
-
right: s,
|
|
239
|
-
top: i,
|
|
240
|
-
width: r
|
|
241
|
-
};
|
|
242
|
-
}), Be = _(() => Math.max(...W.value.map((e) => Math.abs(e.value || 0))));
|
|
243
|
-
function Ve(e) {
|
|
244
|
-
return Math.abs(e) / Be.value;
|
|
245
|
-
}
|
|
246
|
-
let X = _(() => W.value.map((e, t) => {
|
|
247
|
-
let n = Ve(e.value || 0), r = Y.value.drawingHeight * n, i = Y.value.drawingWidth / W.value.length, o = i * (H.value.style.bars.gap / 100), s = i - o, c = Y.value.centerY - r / 2, l = Y.value.left + (o / 2 + t * i), u = Y.value.left + t * i, d = e.intensity === void 0 ? 100 : Math.round(e.intensity * 100), ee = e.color ? e.color : e.value >= 0 ? a(H.value.style.bars.colors.positive, d) : a(H.value.style.bars.colors.negative, d), f = e.color ? e.color : e.value >= 0 ? H.value.style.bars.colors.positive : H.value.style.bars.colors.negative, p = e.color ? `url(#gradient_datapoint_${t}_${P.value})` : e.value >= 0 ? `url(#gradient_positive_${t}_${P.value})` : `url(#gradient_negative_${t}_${P.value})`, m = l + s / 2;
|
|
248
|
-
return {
|
|
249
|
-
...e,
|
|
250
|
-
color: ee,
|
|
251
|
-
gradient: p,
|
|
252
|
-
height: r,
|
|
253
|
-
intensity: d,
|
|
254
|
-
proportion: n,
|
|
255
|
-
stroke: f,
|
|
256
|
-
textAnchor: m,
|
|
257
|
-
trapX: u,
|
|
258
|
-
unitWidth: i,
|
|
259
|
-
width: s,
|
|
260
|
-
x: l,
|
|
261
|
-
y: c
|
|
262
|
-
};
|
|
263
|
-
}));
|
|
264
|
-
function He(e, t) {
|
|
265
|
-
return s(H.value.style.labels.value.formatter, e.value, r({
|
|
266
|
-
p: H.value.style.labels.value.prefix,
|
|
267
|
-
v: e.value,
|
|
268
|
-
s: H.value.style.labels.value.suffix,
|
|
269
|
-
r: H.value.style.labels.value.rounding
|
|
270
|
-
}), {
|
|
271
|
-
datapoint: e,
|
|
272
|
-
seriesIndex: t
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
let Z = E(null), Ue = ne;
|
|
276
|
-
function We(e, t) {
|
|
277
|
-
Ue("selectDatapoint", {
|
|
278
|
-
datapoint: e,
|
|
279
|
-
index: t
|
|
280
|
-
}), H.value.events.datapointClick && H.value.events.datapointClick({
|
|
281
|
-
datapoint: e,
|
|
282
|
-
seriesIndex: t
|
|
283
|
-
});
|
|
284
|
-
}
|
|
285
|
-
function Ge(e, t) {
|
|
286
|
-
V.value = "pointer", B.value = t, Z.value = t, H.value.events.datapointEnter && H.value.events.datapointEnter({
|
|
287
|
-
datapoint: e,
|
|
288
|
-
seriesIndex: t
|
|
289
|
-
});
|
|
290
|
-
}
|
|
291
|
-
function Ke(e, t) {
|
|
292
|
-
V.value !== "keyboard" && (Z.value = null, B.value = null, H.value.events.datapointLeave && H.value.events.datapointLeave({
|
|
293
|
-
datapoint: e,
|
|
294
|
-
seriesIndex: t
|
|
295
|
-
}));
|
|
296
|
-
}
|
|
297
|
-
function qe() {
|
|
298
|
-
V.value !== "keyboard" && (Z.value = null, B.value = null);
|
|
299
|
-
}
|
|
300
|
-
let Je = _(() => `${H.value.style.animation.speedMs}ms`), { fitText: Q } = se({
|
|
301
|
-
svgRef: q,
|
|
302
|
-
unitWidth: _(() => Y.value.drawingWidth / W.value.length * .9)
|
|
303
|
-
});
|
|
304
|
-
me(async () => {
|
|
305
|
-
await S(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
|
|
306
|
-
}), j([
|
|
307
|
-
G,
|
|
308
|
-
K,
|
|
309
|
-
() => W.value
|
|
310
|
-
], async () => {
|
|
311
|
-
await S(), Q(".vue-ui-sparkhistogram-top-label", H.value.style.labels.value.minFontSize), Q(".vue-ui-sparkhistogram-bottom-label", H.value.style.labels.valueLabel.minFontSize), Q(".vue-ui-sparkhistogram-time-label", H.value.style.labels.timeLabel.minFontSize);
|
|
312
|
-
});
|
|
313
|
-
function Ye() {
|
|
314
|
-
z.value = !0;
|
|
315
|
-
}
|
|
316
|
-
function Xe() {
|
|
317
|
-
z.value = !1, B.value = null, V.value = "pointer", Z.value = null;
|
|
318
|
-
}
|
|
319
|
-
function Ze(e) {
|
|
320
|
-
if (!q.value || document.activeElement !== q.value || !X.value.length) return;
|
|
321
|
-
let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
|
|
322
|
-
if (!t && !n && !r && !i) return;
|
|
323
|
-
if (e.preventDefault(), e.stopPropagation(), i) {
|
|
324
|
-
B.value = null, Z.value = null, V.value = "pointer";
|
|
325
|
-
return;
|
|
326
|
-
}
|
|
327
|
-
if (r) {
|
|
328
|
-
if (Z.value === null) return;
|
|
329
|
-
let e = X.value[Z.value];
|
|
330
|
-
if (!e) return;
|
|
331
|
-
We(e, Z.value);
|
|
332
|
-
return;
|
|
333
|
-
}
|
|
334
|
-
V.value = "keyboard";
|
|
335
|
-
let a = B.value;
|
|
336
|
-
a === null || a < 0 || a >= X.value.length ? a = n ? 0 : X.value.length - 1 : n ? (a += 1, a >= X.value.length && (a = 0)) : t && (--a, a < 0 && (a = X.value.length - 1)), B.value = a, Z.value = a;
|
|
337
|
-
let o = X.value[a];
|
|
338
|
-
H.value.events.datapointEnter && H.value.events.datapointEnter({
|
|
339
|
-
datapoint: o,
|
|
340
|
-
seriesIndex: a
|
|
341
|
-
});
|
|
342
|
-
}
|
|
343
|
-
let $ = _(() => ({
|
|
344
|
-
headers: [
|
|
345
|
-
H.value.a11y?.translations?.series ?? "Series",
|
|
346
|
-
H.value.a11y?.translations?.time ?? "Time",
|
|
347
|
-
H.value.a11y?.translations?.value ?? "Value",
|
|
348
|
-
H.value.a11y?.translations?.valueLabel ?? "Label"
|
|
349
|
-
],
|
|
350
|
-
rows: X.value.map((e, t) => [
|
|
351
|
-
t + 1,
|
|
352
|
-
e.timeLabel ?? "",
|
|
353
|
-
e.value ?? "",
|
|
354
|
-
e.valueLabel ?? ""
|
|
355
|
-
])
|
|
356
|
-
}));
|
|
357
|
-
return (e, t) => (T(), b("div", {
|
|
358
|
-
class: "vue-data-ui-component vue-ui-spark-histogram",
|
|
359
|
-
ref_key: "histogramChart",
|
|
360
|
-
ref: I,
|
|
361
|
-
style: w(`width:100%;background:${H.value.style.backgroundColor};font-family:${H.value.style.fontFamily}`),
|
|
362
|
-
onMouseleave: qe
|
|
363
|
-
}, [
|
|
364
|
-
x("div", {
|
|
365
|
-
id: `chart-instructions-${P.value}`,
|
|
366
|
-
class: "sr-only"
|
|
367
|
-
}, [x("p", null, k(H.value.a11y.translations.keyboardNavigation), 1)], 8, ve),
|
|
368
|
-
$.value?.rows?.length ? (T(), v(ae, {
|
|
369
|
-
key: 0,
|
|
370
|
-
uid: P.value,
|
|
371
|
-
head: $.value.headers,
|
|
372
|
-
body: $.value.rows,
|
|
373
|
-
notice: H.value.a11y.translations.tableAvailable,
|
|
374
|
-
caption: H.value.a11y.translations.tableCaption
|
|
375
|
-
}, null, 8, [
|
|
376
|
-
"uid",
|
|
377
|
-
"head",
|
|
378
|
-
"body",
|
|
379
|
-
"notice",
|
|
380
|
-
"caption"
|
|
381
|
-
])) : y("", !0),
|
|
382
|
-
H.value.style.title.text ? (T(), b("div", {
|
|
383
|
-
key: 1,
|
|
384
|
-
ref_key: "chartTitle",
|
|
385
|
-
ref: F,
|
|
386
|
-
style: w(`width:calc(100% - 12px);background:transparent;margin:0 auto;margin:${H.value.style.title.margin};padding: 0 6px;text-align:${H.value.style.title.textAlign}`)
|
|
387
|
-
}, [x("div", { style: w(`font-size:${H.value.style.title.fontSize}px;color:${H.value.style.title.color};font-weight:${H.value.style.title.bold ? "bold" : "normal"}`) }, [
|
|
388
|
-
le(k(H.value.style.title.text) + " ", 1),
|
|
389
|
-
Z.value === null ? y("", !0) : (T(), b("span", ye, "- " + k(X.value[Z.value].timeLabel || "") + " " + k(A(s)(H.value.style.labels.value.formatter, X.value[Z.value].value, A(r)({
|
|
390
|
-
p: H.value.style.labels.value.prefix,
|
|
391
|
-
v: X.value[Z.value].value,
|
|
392
|
-
s: H.value.style.labels.value.suffix,
|
|
393
|
-
r: H.value.style.labels.value.rounding
|
|
394
|
-
}), {
|
|
395
|
-
datapoint: X.value[Z.value],
|
|
396
|
-
seriesIndex: Z.value
|
|
397
|
-
})), 1)),
|
|
398
|
-
![void 0, null].includes(Z.value) && ![null, void 0].includes(X.value[Z.value].valueLabel) ? (T(), b("span", be, k(` (${X.value[Z.value].valueLabel || 0})`), 1)) : y("", !0)
|
|
399
|
-
], 4), H.value.style.title.subtitle.text ? (T(), b("div", {
|
|
400
|
-
key: 0,
|
|
401
|
-
style: w(`font-size:${H.value.style.title.subtitle.fontSize}px;color:${H.value.style.title.subtitle.color};font-weight:${H.value.style.title.subtitle.bold ? "bold" : "normal"}`)
|
|
402
|
-
}, k(H.value.style.title.subtitle.text), 5)) : y("", !0)], 4)) : y("", !0),
|
|
403
|
-
x("div", xe, [(T(), b("svg", {
|
|
404
|
-
ref_key: "svgRef",
|
|
405
|
-
ref: q,
|
|
406
|
-
xmlns: A(l),
|
|
407
|
-
viewBox: `0 0 ${Y.value.width} ${Y.value.height}`,
|
|
408
|
-
style: { overflow: "visible" },
|
|
409
|
-
"aria-describedby": `chart-instructions-${P.value}`,
|
|
410
|
-
tabindex: "0",
|
|
411
|
-
onFocus: Ye,
|
|
412
|
-
onBlur: Xe,
|
|
413
|
-
onKeydown: Ze
|
|
414
|
-
}, [
|
|
415
|
-
ue(A(_e)),
|
|
416
|
-
e.$slots["chart-background"] ? (T(), b("foreignObject", {
|
|
417
|
-
key: 0,
|
|
418
|
-
x: 0,
|
|
419
|
-
y: 0,
|
|
420
|
-
width: Y.value.width,
|
|
421
|
-
height: Y.value.height,
|
|
422
|
-
style: { pointerEvents: "none" }
|
|
423
|
-
}, [O(e.$slots, "chart-background", {}, void 0, !0)], 8, Ce)) : y("", !0),
|
|
424
|
-
x("defs", null, [
|
|
425
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), v(h, {
|
|
426
|
-
t: "radial",
|
|
427
|
-
id: `gradient_positive_${t}_${P.value}`,
|
|
428
|
-
key: `gradient_positive_${t}_${P.value}`,
|
|
429
|
-
cy: "50%",
|
|
430
|
-
cx: "50%",
|
|
431
|
-
r: "50%",
|
|
432
|
-
fx: "50%",
|
|
433
|
-
fy: "50%",
|
|
434
|
-
stops: [[
|
|
435
|
-
"0%",
|
|
436
|
-
A(a)(A(u)(H.value.style.bars.colors.positive, .05), e.intensity),
|
|
437
|
-
1
|
|
438
|
-
], [
|
|
439
|
-
"100%",
|
|
440
|
-
A(a)(H.value.style.bars.colors.positive, e.intensity),
|
|
441
|
-
1
|
|
442
|
-
]]
|
|
443
|
-
}, null, 8, ["id", "stops"]))), 128)),
|
|
444
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), v(h, {
|
|
445
|
-
t: "radial",
|
|
446
|
-
id: `gradient_negative_${t}_${P.value}`,
|
|
447
|
-
key: `gradient_negative_${t}_${P.value}`,
|
|
448
|
-
cy: "50%",
|
|
449
|
-
cx: "50%",
|
|
450
|
-
r: "50%",
|
|
451
|
-
fx: "50%",
|
|
452
|
-
fy: "50%",
|
|
453
|
-
stops: [[
|
|
454
|
-
"0%",
|
|
455
|
-
A(a)(A(u)(H.value.style.bars.colors.negative, .05), e.intensity),
|
|
456
|
-
1
|
|
457
|
-
], [
|
|
458
|
-
"100%",
|
|
459
|
-
A(a)(H.value.style.bars.colors.negative, e.intensity),
|
|
460
|
-
1
|
|
461
|
-
]]
|
|
462
|
-
}, null, 8, ["id", "stops"]))), 128)),
|
|
463
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), v(h, {
|
|
464
|
-
t: "radial",
|
|
465
|
-
id: `gradient_datapoint_${t}_${P.value}`,
|
|
466
|
-
key: `gradient_datapoint_${t}_${P.value}`,
|
|
467
|
-
cy: "50%",
|
|
468
|
-
cx: "50%",
|
|
469
|
-
r: "50%",
|
|
470
|
-
fx: "50%",
|
|
471
|
-
fy: "50%",
|
|
472
|
-
stops: [[
|
|
473
|
-
"0%",
|
|
474
|
-
A(a)(A(u)(e.color, .05), e.intensity),
|
|
475
|
-
1
|
|
476
|
-
], [
|
|
477
|
-
"100%",
|
|
478
|
-
A(a)(e.color, e.intensity),
|
|
479
|
-
1
|
|
480
|
-
]]
|
|
481
|
-
}, null, 8, ["id", "stops"]))), 128))
|
|
482
|
-
]),
|
|
483
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("g", null, [Z.value !== null && Z.value === t ? (T(), b("rect", {
|
|
484
|
-
key: 0,
|
|
485
|
-
height: Y.value.height,
|
|
486
|
-
width: e.unitWidth,
|
|
487
|
-
fill: H.value.style.selector.fill,
|
|
488
|
-
x: e.trapX,
|
|
489
|
-
y: 0,
|
|
490
|
-
stroke: H.value.style.selector.stroke,
|
|
491
|
-
"stroke-width": H.value.style.selector.strokeWidth,
|
|
492
|
-
rx: H.value.style.selector.borderRadius,
|
|
493
|
-
"stroke-dasharray": H.value.style.selector.strokeDasharray
|
|
494
|
-
}, null, 8, we)) : y("", !0)]))), 256)),
|
|
495
|
-
!H.value.style.bars.shape || H.value.style.bars.shape === "square" ? (T(), b("g", Te, [(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("rect", {
|
|
496
|
-
x: e.x,
|
|
497
|
-
y: e.y,
|
|
498
|
-
height: e.height,
|
|
499
|
-
width: e.width,
|
|
500
|
-
fill: H.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
501
|
-
stroke: e.stroke,
|
|
502
|
-
"stroke-width": H.value.style.bars.strokeWidth,
|
|
503
|
-
rx: `${H.value.style.bars.borderRadius * e.proportion / 12}%`,
|
|
504
|
-
class: C({ "vue-ui-sparkhistogram-shape": H.value.style.animation.show })
|
|
505
|
-
}, null, 10, Ee))), 256))])) : (T(), b("g", De, [(T(!0), b(g, null, D(X.value, (e, t) => (T(), v(te, {
|
|
506
|
-
plot: {
|
|
507
|
-
x: e.x + e.width / 2,
|
|
508
|
-
y: e.y + e.height / 2
|
|
509
|
-
},
|
|
510
|
-
color: H.value.style.bars.colors.gradient.show ? e.gradient : e.color,
|
|
511
|
-
shape: H.value.style.bars.shape,
|
|
512
|
-
radius: Math.min(e.height * .4, e.width * .4),
|
|
513
|
-
class: C({ "vue-ui-sparkhistogram-shape": H.value.style.animation.show })
|
|
514
|
-
}, null, 8, [
|
|
515
|
-
"plot",
|
|
516
|
-
"color",
|
|
517
|
-
"shape",
|
|
518
|
-
"radius",
|
|
519
|
-
"class"
|
|
520
|
-
]))), 256))])),
|
|
521
|
-
A(U) ? y("", !0) : (T(), b(g, { key: 3 }, [
|
|
522
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("g", null, [H.value.style.labels.value.show ? (T(), b("text", {
|
|
523
|
-
key: 0,
|
|
524
|
-
class: "vue-ui-sparkhistogram-top-label",
|
|
525
|
-
"text-anchor": "middle",
|
|
526
|
-
x: e.textAnchor,
|
|
527
|
-
y: e.y - H.value.style.labels.value.fontSize / 3 + H.value.style.labels.value.offsetY,
|
|
528
|
-
"font-size": H.value.style.labels.value.fontSize,
|
|
529
|
-
"font-weight": H.value.style.labels.value.bold ? "bold" : "normal",
|
|
530
|
-
fill: H.value.style.labels.value.color
|
|
531
|
-
}, k(He(e, t)), 9, Oe)) : y("", !0)]))), 256)),
|
|
532
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("g", null, [e.valueLabel && H.value.style.labels.valueLabel.show ? (T(), b("text", {
|
|
533
|
-
key: 0,
|
|
534
|
-
class: "vue-ui-sparkhistogram-bottom-label",
|
|
535
|
-
x: e.textAnchor,
|
|
536
|
-
y: e.y + e.height + H.value.style.labels.valueLabel.fontSize,
|
|
537
|
-
"font-size": H.value.style.labels.valueLabel.fontSize,
|
|
538
|
-
"text-anchor": "middle",
|
|
539
|
-
fill: H.value.style.labels.valueLabel.color
|
|
540
|
-
}, k(e.valueLabel), 9, ke)) : y("", !0)]))), 256)),
|
|
541
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("g", null, [e.timeLabel && H.value.style.labels.timeLabel.show ? (T(), b("text", {
|
|
542
|
-
key: 0,
|
|
543
|
-
class: "vue-ui-sparkhistogram-time-label",
|
|
544
|
-
x: e.textAnchor,
|
|
545
|
-
y: Y.value.height,
|
|
546
|
-
"font-size": H.value.style.labels.timeLabel.fontSize,
|
|
547
|
-
fill: H.value.style.labels.timeLabel.color,
|
|
548
|
-
"text-anchor": "middle"
|
|
549
|
-
}, k(e.timeLabel), 9, Ae)) : y("", !0)]))), 256))
|
|
550
|
-
], 64)),
|
|
551
|
-
(T(!0), b(g, null, D(X.value, (e, t) => (T(), b("g", null, [x("rect", {
|
|
552
|
-
height: Y.value.height,
|
|
553
|
-
width: e.unitWidth,
|
|
554
|
-
fill: "transparent",
|
|
555
|
-
x: e.trapX,
|
|
556
|
-
y: 0,
|
|
557
|
-
onMouseover: (n) => Ge(e, t),
|
|
558
|
-
onMouseleave: (n) => Ke(e, t),
|
|
559
|
-
onClick: () => We(e, t)
|
|
560
|
-
}, null, 40, je)]))), 256))
|
|
561
|
-
], 40, Se)), e.$slots.hint ? (T(), b("div", Me, [O(e.$slots, "hint", pe(fe({
|
|
562
|
-
hint: H.value.a11y.translations.keyboardNavigation,
|
|
563
|
-
isVisible: z.value
|
|
564
|
-
})), void 0, !0)])) : y("", !0)]),
|
|
565
|
-
e.$slots.source ? (T(), b("div", {
|
|
566
|
-
key: 2,
|
|
567
|
-
ref_key: "source",
|
|
568
|
-
ref: Fe,
|
|
569
|
-
dir: "auto"
|
|
570
|
-
}, [O(e.$slots, "source", {}, void 0, !0)], 512)) : y("", !0),
|
|
571
|
-
O(e.$slots, "skeleton", {}, () => [A(U) ? (T(), v(f, { key: 0 })) : y("", !0)], !0)
|
|
572
|
-
], 36));
|
|
573
|
-
}
|
|
574
|
-
}, [["__scopeId", "data-v-f5687368"]]);
|
|
575
|
-
//#endregion
|
|
576
|
-
export { _e as n, M as t };
|