@shtabapp/ui-kit 1.69.1 → 1.70.0
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/CHANGELOG.md +7 -0
- package/dist/SChartBar-CUAibXox.js +215 -0
- package/dist/SChartBar-xzw8oxXl.cjs +1 -0
- package/dist/{SChartBurnup-DyJHdRlf.js → SChartBurnup-C5Z7UDi-.js} +39 -40
- package/dist/SChartBurnup-CWSJUoA_.cjs +1 -0
- package/dist/{SChartHorizontalBar-Bv90SV6E.cjs → SChartHorizontalBar-0RpJa5EJ.cjs} +1 -1
- package/dist/{SChartHorizontalBar-DDo6TfE8.js → SChartHorizontalBar-B9SWFvdN.js} +14 -14
- package/dist/SChartLine-CTjiKi4H.js +165 -0
- package/dist/SChartLine-Cp1csHeY.cjs +1 -0
- package/dist/SChartMultiLine-Bt9Cf-L9.cjs +1 -0
- package/dist/SChartMultiLine-CbPSG0mN.js +244 -0
- package/dist/{SChartPie-Bt3o7LZI.js → SChartPie-0ugeo2fO.js} +72 -58
- package/dist/SChartPie-QpnxLQYv.cjs +1 -0
- package/dist/{SChartProgress-xxqrj03o.cjs → SChartProgress-9Zzy7E8K.cjs} +1 -1
- package/dist/{SChartProgress-uMg4DBpS.js → SChartProgress-DUgSOdv7.js} +15 -15
- package/dist/{SChartStackedArea-BQGnKp1i.js → SChartStackedArea-Blpqa23h.js} +40 -40
- package/dist/{SChartStackedArea-BNe6FAg8.cjs → SChartStackedArea-C3MezV9k.cjs} +1 -1
- package/dist/{SChartStackedBar-fiUU9lNp.js → SChartStackedBar-CCxEXw1H.js} +21 -21
- package/dist/{SChartStackedBar-D1G-VloG.cjs → SChartStackedBar-CJ-UdOfv.cjs} +1 -1
- package/dist/{buildWorkTimeLegendItems-ChGHTwbn.js → buildWorkTimeLegendItems-CifzZM9C.js} +126 -76
- package/dist/buildWorkTimeLegendItems-DPx5Yma0.cjs +1 -0
- package/dist/components/SCalendar/index.d.ts +2 -2
- package/dist/components/SCalendar/index.d.ts.map +1 -1
- package/dist/components/SCalendar/utils/demoCalendarMonthEvents.d.ts +6 -0
- package/dist/components/SCalendar/utils/demoCalendarMonthEvents.d.ts.map +1 -0
- package/dist/components/SCalendarMonth/SCalendarMonth.types.d.ts +36 -3
- package/dist/components/SCalendarMonth/SCalendarMonth.types.d.ts.map +1 -1
- package/dist/components/SCalendarMonth/SCalendarMonth.vue.d.ts +6 -1
- package/dist/components/SCalendarMonth/SCalendarMonth.vue.d.ts.map +1 -1
- package/dist/components/SCalendarMonth/index.d.ts +2 -1
- package/dist/components/SCalendarMonth/index.d.ts.map +1 -1
- package/dist/components/SChartBar/SChartBar.types.d.ts +2 -0
- package/dist/components/SChartBar/SChartBar.types.d.ts.map +1 -1
- package/dist/components/SChartBar/SChartBar.vue.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts +2 -1
- package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/demoBarSeries.d.ts +1 -0
- package/dist/components/SChartBar/utils/demoBarSeries.d.ts.map +1 -1
- package/dist/components/SChartLine/SChartLine.types.d.ts +14 -2
- package/dist/components/SChartLine/SChartLine.types.d.ts.map +1 -1
- package/dist/components/SChartLine/SChartLine.vue.d.ts.map +1 -1
- package/dist/components/SChartLine/index.d.ts +1 -1
- package/dist/components/SChartLine/index.d.ts.map +1 -1
- package/dist/components/SChartLine/utils/buildLineChartConfig.d.ts +6 -2
- package/dist/components/SChartLine/utils/buildLineChartConfig.d.ts.map +1 -1
- package/dist/components/SChartLine/utils/demoPoints.d.ts +3 -1
- package/dist/components/SChartLine/utils/demoPoints.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts +14 -2
- package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/SChartMultiLine.vue.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/index.d.ts +1 -1
- package/dist/components/SChartMultiLine/index.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts +5 -1
- package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts +1 -0
- package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts.map +1 -1
- package/dist/components/SChartPie/SChartPie.types.d.ts +6 -0
- package/dist/components/SChartPie/SChartPie.types.d.ts.map +1 -1
- package/dist/components/SChartPie/SChartPie.vue.d.ts.map +1 -1
- package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts +3 -1
- package/dist/components/SChartPie/utils/buildPieChartConfig.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts +2 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts +2 -1
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.d.ts +1 -1
- package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.d.ts.map +1 -1
- package/dist/components/SChartStackedArea/utils/demoStackedSeries.d.ts +4 -0
- package/dist/components/SChartStackedArea/utils/demoStackedSeries.d.ts.map +1 -1
- package/dist/components/SChartWidget/SChartWidget.types.d.ts +2 -0
- package/dist/components/SChartWidget/SChartWidget.types.d.ts.map +1 -1
- package/dist/components/SChartWidget/SChartWidget.vue.d.ts +7 -3
- package/dist/components/SChartWidget/SChartWidget.vue.d.ts.map +1 -1
- package/dist/{createChartCrosshairPlugin-DfYzBie2.cjs → createChartCrosshairPlugin-B4e8d8OF.cjs} +1 -1
- package/dist/{createChartCrosshairPlugin-DU5grSok.js → createChartCrosshairPlugin-C2NUAO5s.js} +1 -1
- package/dist/createChartMarkersPlugin-DSKGilFU.js +40 -0
- package/dist/createChartMarkersPlugin-S4oQKxO4.cjs +1 -0
- package/dist/entries/calendar.cjs +1 -1
- package/dist/entries/calendar.d.ts +2 -2
- package/dist/entries/calendar.d.ts.map +1 -1
- package/dist/entries/calendar.js +2 -2
- package/dist/entries/chart-bar.cjs +1 -1
- package/dist/entries/chart-bar.js +1 -1
- package/dist/entries/chart-burnup.cjs +1 -1
- package/dist/entries/chart-burnup.js +1 -1
- package/dist/entries/chart-horizontal-bar.cjs +1 -1
- package/dist/entries/chart-horizontal-bar.js +1 -1
- package/dist/entries/chart-line.cjs +1 -1
- package/dist/entries/chart-line.d.ts +1 -1
- package/dist/entries/chart-line.d.ts.map +1 -1
- package/dist/entries/chart-line.js +1 -1
- package/dist/entries/chart-multi-line.cjs +1 -1
- package/dist/entries/chart-multi-line.d.ts +1 -1
- package/dist/entries/chart-multi-line.d.ts.map +1 -1
- package/dist/entries/chart-multi-line.js +1 -1
- package/dist/entries/chart-pie.cjs +1 -1
- package/dist/entries/chart-pie.js +1 -1
- package/dist/entries/chart-progress.cjs +1 -1
- package/dist/entries/chart-progress.js +1 -1
- package/dist/entries/chart-stacked-area.cjs +1 -1
- package/dist/entries/chart-stacked-area.js +1 -1
- package/dist/entries/chart-stacked-bar.cjs +1 -1
- package/dist/entries/chart-stacked-bar.js +1 -1
- package/dist/entries/separator.cjs +1 -0
- package/dist/entries/separator.js +2 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +162 -149
- package/dist/resolveBarStackedSeriesColor-DM7Ax0-s.js +11 -0
- package/dist/resolveBarStackedSeriesColor-z3NP5vAS.cjs +1 -0
- package/dist/resolveChartValueRange-DBCYLCXs.cjs +1 -0
- package/dist/resolveChartValueRange-DZybnmaX.js +10 -0
- package/dist/{resolveSeriesPaletteColor-DcLSyk-D.js → resolveSeriesPaletteColor-B7wHDj1L.js} +1 -1
- package/dist/resolveSeriesPaletteColor-D0XlU5vT.cjs +1 -0
- package/dist/{resolveStackedChartContext-CQbgdV55.cjs → resolveStackedChartContext-Br3N7ISo.cjs} +1 -1
- package/dist/{resolveStackedChartContext-CIKVXkDn.js → resolveStackedChartContext-DxJNWqwE.js} +1 -1
- package/dist/uikit-components.css +1 -1
- package/dist/{useChartInteractivity-BATdT86l.js → useChartInteractivity-Cl06JL4l.js} +121 -108
- package/dist/useChartInteractivity-LbJiqlvI.cjs +1 -0
- package/dist/utils/chart/chart.types.d.ts +14 -0
- package/dist/utils/chart/chart.types.d.ts.map +1 -1
- package/dist/utils/chart/core/chartInteractivity.d.ts.map +1 -1
- package/dist/utils/chart/core/createChartMarkersPlugin.d.ts +8 -0
- package/dist/utils/chart/core/createChartMarkersPlugin.d.ts.map +1 -0
- package/dist/utils/chart/core/createZeroLinePlugin.d.ts +3 -0
- package/dist/utils/chart/core/createZeroLinePlugin.d.ts.map +1 -0
- package/dist/utils/chart/core/resolveChartValueRange.d.ts +11 -0
- package/dist/utils/chart/core/resolveChartValueRange.d.ts.map +1 -0
- package/dist/utils/chart/index.d.ts +7 -2
- package/dist/utils/chart/index.d.ts.map +1 -1
- package/dist/utils/chart/line/createChartAreaFillGradient.d.ts +2 -0
- package/dist/utils/chart/line/createChartAreaFillGradient.d.ts.map +1 -1
- package/dist/utils/chart/pie/createPieSegmentBadgePlugin.d.ts +1 -1
- package/dist/utils/chart/pie/createPieSegmentBadgePlugin.d.ts.map +1 -1
- package/dist/utils/chart/pie/createPieTooltipCallbacks.d.ts +1 -1
- package/dist/utils/chart/pie/createPieTooltipCallbacks.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/SChartBar-BVgwPlYi.js +0 -215
- package/dist/SChartBar-CBU1uCuL.cjs +0 -1
- package/dist/SChartBurnup-Ch3UMa9w.cjs +0 -1
- package/dist/SChartLine-Cs1JzPEK.js +0 -129
- package/dist/SChartLine-nIGaef_o.cjs +0 -1
- package/dist/SChartMultiLine-BzoW4ETf.cjs +0 -1
- package/dist/SChartMultiLine-DqCQ7FCv.js +0 -204
- package/dist/SChartPie-Bv5Obcwb.cjs +0 -1
- package/dist/buildWorkTimeLegendItems-DjhLKbAP.cjs +0 -1
- package/dist/createChartAreaFillGradient-BDmME9Gy.js +0 -17
- package/dist/createChartAreaFillGradient-BwsojVzU.cjs +0 -1
- package/dist/resolveBarStackedSeriesColor-HDSkh6Mw.cjs +0 -1
- package/dist/resolveBarStackedSeriesColor-LpVh1SvQ.js +0 -11
- package/dist/resolveSeriesPaletteColor-B5qoBbXN.cjs +0 -1
- package/dist/useChartInteractivity-CXSdHPOw.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as e, T as t, c as n, f as r, n as i, s as a, t as o, y as s } from "./useChartInteractivity-Cl06JL4l.js";
|
|
2
2
|
import { computed as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, normalizeClass as p, openBlock as m, unref as h, useTemplateRef as g, withCtx as _ } from "vue";
|
|
3
3
|
var v = 4, y = 12, b = 24, x = (e) => {
|
|
4
4
|
let t = e <= 15;
|
|
@@ -14,14 +14,14 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
14
14
|
mode: "nearest",
|
|
15
15
|
axis: "x",
|
|
16
16
|
intersect: !1
|
|
17
|
-
}, C = .3, w = 1, T = ({ labels: e, progressValues:
|
|
18
|
-
let g = t(
|
|
17
|
+
}, C = .3, w = 1, T = ({ labels: e, progressValues: i, referenceValues: o, seriesLabel: c, valuePrefix: l, minValue: u, maxValue: d, stepSize: f, progressSnapshotCount: p, colorHostElement: m, skeleton: h = !1 }) => {
|
|
18
|
+
let g = t(s.axisLabel, m), _ = t(s.grid, m), v = t(h ? s.skeletonSeries : s.progressLine, m), y = t(h ? s.skeletonFillStart : s.referenceFill, m), b = t(s.tooltipBackground, m), T = t(s.tooltipText, m), E = C, D = x(p), O = S(p);
|
|
19
19
|
return {
|
|
20
20
|
type: "line",
|
|
21
21
|
data: {
|
|
22
22
|
labels: e,
|
|
23
23
|
datasets: [{
|
|
24
|
-
data:
|
|
24
|
+
data: o,
|
|
25
25
|
borderColor: "transparent",
|
|
26
26
|
backgroundColor: y,
|
|
27
27
|
pointRadius: 0,
|
|
@@ -31,7 +31,7 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
31
31
|
order: 0
|
|
32
32
|
}, {
|
|
33
33
|
label: c,
|
|
34
|
-
data:
|
|
34
|
+
data: i,
|
|
35
35
|
borderColor: v,
|
|
36
36
|
backgroundColor: v,
|
|
37
37
|
tension: E,
|
|
@@ -47,7 +47,7 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
47
47
|
options: {
|
|
48
48
|
responsive: !0,
|
|
49
49
|
maintainAspectRatio: !1,
|
|
50
|
-
interaction:
|
|
50
|
+
interaction: a(h, O),
|
|
51
51
|
plugins: {
|
|
52
52
|
legend: { display: !1 },
|
|
53
53
|
tooltip: {
|
|
@@ -55,7 +55,7 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
55
55
|
backgroundColor: b,
|
|
56
56
|
titleColor: T,
|
|
57
57
|
bodyColor: T,
|
|
58
|
-
position:
|
|
58
|
+
position: r,
|
|
59
59
|
filter: (e) => e.datasetIndex === w,
|
|
60
60
|
callbacks: { label: (e) => {
|
|
61
61
|
let t = e.parsed.y;
|
|
@@ -167,13 +167,13 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
167
167
|
}
|
|
168
168
|
},
|
|
169
169
|
setup(t, { expose: n }) {
|
|
170
|
-
let r = g("chartRootRef"),
|
|
170
|
+
let r = g("chartRootRef"), a = g("chartCanvasRef"), s = c(() => t.minValue ?? 0), f = c(() => t.maxValue ?? 100), v = c(() => t.prefix ?? "%"), y = c(() => t.loading ? k : t.progressSnapshots), b = c(() => O({
|
|
171
171
|
progressSnapshots: y.value,
|
|
172
172
|
deadline: t.loading ? "2026-06-28" : t.deadline,
|
|
173
|
-
minValue: t.loading ? 0 :
|
|
173
|
+
minValue: t.loading ? 0 : s.value,
|
|
174
174
|
maxValue: t.loading ? 100 : f.value
|
|
175
|
-
})), { chartInstance: x } =
|
|
176
|
-
canvasRef:
|
|
175
|
+
})), { chartInstance: x } = i({
|
|
176
|
+
canvasRef: a,
|
|
177
177
|
config: c(() => !t.loading && t.progressSnapshots.length === 0 ? null : T({
|
|
178
178
|
labels: b.value.labels,
|
|
179
179
|
progressValues: b.value.progressValues,
|
|
@@ -188,19 +188,19 @@ var v = 4, y = 12, b = 24, x = (e) => {
|
|
|
188
188
|
skeleton: t.loading
|
|
189
189
|
})),
|
|
190
190
|
enabled: c(() => t.loading || t.progressSnapshots.length > 0)
|
|
191
|
-
}), { exportImage: S } =
|
|
191
|
+
}), { exportImage: S } = o({
|
|
192
192
|
chartInstance: x,
|
|
193
|
-
canvasRef:
|
|
193
|
+
canvasRef: a,
|
|
194
194
|
colorHostElement: r
|
|
195
195
|
});
|
|
196
|
-
return n({ exportImage: S }), (n,
|
|
196
|
+
return n({ exportImage: S }), (n, i) => (m(), l("div", {
|
|
197
197
|
ref_key: "chartRootRef",
|
|
198
198
|
ref: r,
|
|
199
199
|
class: p(["s-ui-chart-progress", { "s-ui-chart-progress--skeleton": t.loading }])
|
|
200
200
|
}, [u("div", A, [d(h(e), { loading: t.loading }, {
|
|
201
201
|
default: _(() => [u("canvas", {
|
|
202
202
|
ref_key: "chartCanvasRef",
|
|
203
|
-
ref:
|
|
203
|
+
ref: a,
|
|
204
204
|
class: "s-ui-chart-progress__canvas"
|
|
205
205
|
}, null, 512)]),
|
|
206
206
|
_: 1
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { t as e } from "./SChartLegend-oZoF8XK7.js";
|
|
2
|
-
import { C as t,
|
|
2
|
+
import { C as t, E as n, c as r, d as i, l as a, n as o, r as s, s as c, t as l, u, w as d, y as f } from "./useChartInteractivity-Cl06JL4l.js";
|
|
3
3
|
import { t as p } from "./buildCartesianChartScales-EofFq3ry.js";
|
|
4
|
-
import { t as m } from "./resolveStackedChartContext-
|
|
5
|
-
import { t as h } from "./createChartCrosshairPlugin-
|
|
6
|
-
import { t as g } from "./resolveSeriesPaletteColor-
|
|
4
|
+
import { t as m } from "./resolveStackedChartContext-DxJNWqwE.js";
|
|
5
|
+
import { t as h } from "./createChartCrosshairPlugin-C2NUAO5s.js";
|
|
6
|
+
import { t as g } from "./resolveSeriesPaletteColor-B7wHDj1L.js";
|
|
7
7
|
import { n as _, t as v } from "./buildChartSeriesPoints-BTyOpkin.js";
|
|
8
8
|
import { t as y } from "./useHasListener-RSjlUyqH.js";
|
|
9
9
|
import { computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createVNode as T, defineComponent as E, normalizeClass as D, openBlock as O, unref as k, useTemplateRef as A, withCtx as j } from "vue";
|
|
10
10
|
//#region src/utils/chart/stacked/resolveStackedSeriesColor.ts
|
|
11
|
-
var M = (e,
|
|
12
|
-
palette:
|
|
13
|
-
paletteFallback:
|
|
14
|
-
skeletonPalette:
|
|
15
|
-
skeletonFallback:
|
|
16
|
-
}), N = 20, P = "stack0", F = ({ seriesList: e, colorHostElement: t, yMax:
|
|
11
|
+
var M = (e, n, r, i = !1) => g(e, n, r, i, {
|
|
12
|
+
palette: d,
|
|
13
|
+
paletteFallback: f.stackedPalette1,
|
|
14
|
+
skeletonPalette: t,
|
|
15
|
+
skeletonFallback: f.skeletonPalette1
|
|
16
|
+
}), N = 20, P = "stack0", F = ({ seriesList: e, colorHostElement: t, yMax: n, yMin: o, yStep: l = N, skeleton: d = !1, totalLabel: f, onSeriesClick: g }) => {
|
|
17
17
|
let _ = m({
|
|
18
18
|
seriesList: e,
|
|
19
19
|
colorHostElement: t,
|
|
20
|
-
yMax:
|
|
21
|
-
yMin:
|
|
22
|
-
yStep:
|
|
20
|
+
yMax: n,
|
|
21
|
+
yMin: o,
|
|
22
|
+
yStep: l,
|
|
23
23
|
skeleton: d
|
|
24
24
|
});
|
|
25
25
|
if (!_) return null;
|
|
26
|
-
let { axisLabelColor: v, gridColor: y, tooltipBackgroundColor: b, tooltipTextColor: x, resolvedYMax: S, resolvedYMin: C, chartLabels: w } = _, T =
|
|
26
|
+
let { axisLabelColor: v, gridColor: y, tooltipBackgroundColor: b, tooltipTextColor: x, resolvedYMax: S, resolvedYMin: C, chartLabels: w } = _, T = s({
|
|
27
27
|
kind: "series",
|
|
28
28
|
skeleton: d,
|
|
29
29
|
colorHostElement: t,
|
|
@@ -62,14 +62,14 @@ var M = (e, t, n, i = !1) => g(e, t, n, i, {
|
|
|
62
62
|
mode: "nearest",
|
|
63
63
|
intersect: !1
|
|
64
64
|
},
|
|
65
|
-
interaction:
|
|
65
|
+
interaction: c(d, {
|
|
66
66
|
mode: "index",
|
|
67
67
|
intersect: !1
|
|
68
68
|
}),
|
|
69
69
|
plugins: {
|
|
70
70
|
legend: { display: !1 },
|
|
71
71
|
tooltip: {
|
|
72
|
-
enabled:
|
|
72
|
+
enabled: r(d),
|
|
73
73
|
backgroundColor: b,
|
|
74
74
|
titleColor: x,
|
|
75
75
|
bodyColor: x,
|
|
@@ -87,11 +87,11 @@ var M = (e, t, n, i = !1) => g(e, t, n, i, {
|
|
|
87
87
|
gridColor: y,
|
|
88
88
|
yMin: C,
|
|
89
89
|
yMax: S,
|
|
90
|
-
yStep:
|
|
90
|
+
yStep: l,
|
|
91
91
|
stacked: !0
|
|
92
92
|
})
|
|
93
93
|
},
|
|
94
|
-
plugins:
|
|
94
|
+
plugins: a(d, [h(t), ...T.plugins])
|
|
95
95
|
};
|
|
96
96
|
}, I = [
|
|
97
97
|
"24.02",
|
|
@@ -203,33 +203,33 @@ var M = (e, t, n, i = !1) => g(e, t, n, i, {
|
|
|
203
203
|
totalLabel: {}
|
|
204
204
|
},
|
|
205
205
|
emits: ["seriesClick"],
|
|
206
|
-
setup(
|
|
207
|
-
let a = i,
|
|
208
|
-
let
|
|
209
|
-
|
|
210
|
-
}, f = y("onSeriesClick"), p = b(() => !
|
|
211
|
-
seriesList:
|
|
212
|
-
colorHostElement:
|
|
213
|
-
yMax:
|
|
214
|
-
yMin:
|
|
215
|
-
yStep:
|
|
216
|
-
skeleton:
|
|
217
|
-
totalLabel:
|
|
218
|
-
onSeriesClick: f() ?
|
|
219
|
-
})), m = b(() => _(
|
|
206
|
+
setup(t, { expose: r, emit: i }) {
|
|
207
|
+
let a = i, s = A("chartRootRef"), c = A("chartCanvasRef"), u = b(() => t.loading ? H : t.series), d = (e) => {
|
|
208
|
+
let n = t.series[e];
|
|
209
|
+
n && a("seriesClick", e, n);
|
|
210
|
+
}, f = y("onSeriesClick"), p = b(() => !t.loading && t.series.length === 0 ? null : F({
|
|
211
|
+
seriesList: u.value,
|
|
212
|
+
colorHostElement: s.value,
|
|
213
|
+
yMax: t.loading ? 160 : t.yMax,
|
|
214
|
+
yMin: t.loading ? 0 : void 0,
|
|
215
|
+
yStep: t.loading ? 20 : t.yStep,
|
|
216
|
+
skeleton: t.loading,
|
|
217
|
+
totalLabel: t.totalLabel,
|
|
218
|
+
onSeriesClick: f() ? d : void 0
|
|
219
|
+
})), m = b(() => _(u.value, (e, n) => M(e, s.value, n, t.loading))), { chartInstance: h } = o({
|
|
220
220
|
canvasRef: c,
|
|
221
221
|
config: p,
|
|
222
|
-
enabled: b(() =>
|
|
223
|
-
}), { exportImage: g, handleLegendItemHover: v } =
|
|
222
|
+
enabled: b(() => t.loading || t.series.length > 0)
|
|
223
|
+
}), { exportImage: g, handleLegendItemHover: v } = l({
|
|
224
224
|
chartInstance: h,
|
|
225
225
|
canvasRef: c,
|
|
226
|
-
colorHostElement:
|
|
226
|
+
colorHostElement: s
|
|
227
227
|
});
|
|
228
228
|
return r({ exportImage: g }), (r, i) => (O(), C("div", {
|
|
229
229
|
ref_key: "chartRootRef",
|
|
230
|
-
ref:
|
|
231
|
-
class: D(["s-ui-chart-stacked-area", { "s-ui-chart-stacked-area--skeleton":
|
|
232
|
-
}, [w("div", U, [T(k(
|
|
230
|
+
ref: s,
|
|
231
|
+
class: D(["s-ui-chart-stacked-area", { "s-ui-chart-stacked-area--skeleton": t.loading }])
|
|
232
|
+
}, [w("div", U, [T(k(n), { loading: t.loading }, {
|
|
233
233
|
default: j(() => [w("canvas", {
|
|
234
234
|
ref_key: "chartCanvasRef",
|
|
235
235
|
ref: c,
|
|
@@ -239,8 +239,8 @@ var M = (e, t, n, i = !1) => g(e, t, n, i, {
|
|
|
239
239
|
}, 8, ["loading"])]), m.value.length ? (O(), x(k(e), {
|
|
240
240
|
key: 0,
|
|
241
241
|
items: m.value,
|
|
242
|
-
disabled:
|
|
243
|
-
interactive: !
|
|
242
|
+
disabled: t.loading,
|
|
243
|
+
interactive: !t.loading,
|
|
244
244
|
onItemHover: k(v)
|
|
245
245
|
}, null, 8, [
|
|
246
246
|
"items",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./SChartLegend-DGtjd6zV.cjs"),t=require("./useChartInteractivity-
|
|
1
|
+
const e=require("./SChartLegend-DGtjd6zV.cjs"),t=require("./useChartInteractivity-LbJiqlvI.cjs"),n=require("./buildCartesianChartScales-Dck5yBMo.cjs"),r=require("./resolveStackedChartContext-Br3N7ISo.cjs"),i=require("./createChartCrosshairPlugin-B4e8d8OF.cjs"),a=require("./resolveSeriesPaletteColor-D0XlU5vT.cjs"),o=require("./buildChartSeriesPoints-Cqo2ed-n.cjs"),s=require("./useHasListener-BPgtbbo6.cjs");let c=require("vue");var l=(e,n,r,i=!1)=>a.t(e,n,r,i,{palette:t.w,paletteFallback:t.y.stackedPalette1,skeletonPalette:t.C,skeletonFallback:t.y.skeletonPalette1}),u=20,d=`stack0`,f=({seriesList:e,colorHostElement:a,yMax:o,yMin:s,yStep:c=u,skeleton:f=!1,totalLabel:p,onSeriesClick:m})=>{let h=r.t({seriesList:e,colorHostElement:a,yMax:o,yMin:s,yStep:c,skeleton:f});if(!h)return null;let{axisLabelColor:g,gridColor:_,tooltipBackgroundColor:v,tooltipTextColor:y,resolvedYMax:b,resolvedYMin:x,chartLabels:S}=h,C=t.r({kind:`series`,skeleton:f,colorHostElement:a,onIndexClick:m});return{type:`line`,data:{labels:S,datasets:e.map((e,t)=>{let n=l(t,a,e.fillColor,f);return{label:e.label,data:e.points.map(e=>e.value),borderColor:n,backgroundColor:n,...f?{}:{hoverBorderColor:n,hoverBackgroundColor:n},borderWidth:0,fill:!0,pointRadius:0,pointHoverRadius:0,tension:0,stack:d}})},options:{responsive:!0,maintainAspectRatio:!1,onHover:C.onHover,onClick:C.onClick,hover:f?void 0:{mode:`nearest`,intersect:!1},interaction:t.s(f,{mode:`index`,intersect:!1}),plugins:{legend:{display:!1},tooltip:{enabled:t.c(f),backgroundColor:v,titleColor:y,bodyColor:y,footerColor:y,displayColors:!1,position:t.u,yAlign:`bottom`,xAlign:`center`,caretPadding:8,callbacks:t.d({total:p})}},scales:n.t({axisLabelColor:g,gridColor:_,yMin:x,yMax:b,yStep:c,stacked:!0})},plugins:t.l(f,[i.t(a),...C.plugins])}},p=[`24.02`,`28.02`,`04.03`,`08.03`,`12.03`,`16.03`,`20.03`,`24.03`,`28.03`,`01.04`,`05.04`,`09.04`,`13.04`,`17.04`],m=[18,22,26,30,34,38,42,44,46,48,49,50,51,52],h=[6,6,7,7,7,7,7,7,7,7,7,7,7,7],g=[10,11,12,12,11,10,10,10,10,10,10,10,10,10],_=[32,30,28,26,28,30,29,28,27,26,26,27,28,28],v=[`Готово`,`На ревью`,`В процессе`,`Бэклог`],y=[{label:v[0]??`Series 1`,points:o.t(p,m)},{label:v[1]??`Series 2`,points:o.t(p,h)},{label:v[2]??`Series 3`,points:o.t(p,g)},{label:v[3]??`Series 4`,points:o.t(p,_)}],b={class:`s-ui-chart-stacked-area__canvas-wrap`},x=(0,c.defineComponent)({__name:`SChartStackedArea`,props:{series:{default:()=>[]},loading:{type:Boolean,default:!1},yMax:{},yStep:{},totalLabel:{}},emits:[`seriesClick`],setup(n,{expose:r,emit:i}){let a=i,u=(0,c.useTemplateRef)(`chartRootRef`),d=(0,c.useTemplateRef)(`chartCanvasRef`),p=(0,c.computed)(()=>n.loading?y:n.series),m=e=>{let t=n.series[e];t&&a(`seriesClick`,e,t)},h=s.t(`onSeriesClick`),g=(0,c.computed)(()=>!n.loading&&n.series.length===0?null:f({seriesList:p.value,colorHostElement:u.value,yMax:n.loading?160:n.yMax,yMin:n.loading?0:void 0,yStep:n.loading?20:n.yStep,skeleton:n.loading,totalLabel:n.totalLabel,onSeriesClick:h()?m:void 0})),_=(0,c.computed)(()=>o.n(p.value,(e,t)=>l(e,u.value,t,n.loading))),{chartInstance:v}=t.n({canvasRef:d,config:g,enabled:(0,c.computed)(()=>n.loading||n.series.length>0)}),{exportImage:x,handleLegendItemHover:S}=t.t({chartInstance:v,canvasRef:d,colorHostElement:u});return r({exportImage:x}),(r,i)=>((0,c.openBlock)(),(0,c.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:u,class:(0,c.normalizeClass)([`s-ui-chart-stacked-area`,{"s-ui-chart-stacked-area--skeleton":n.loading}])},[(0,c.createElementVNode)(`div`,b,[(0,c.createVNode)((0,c.unref)(t.E),{loading:n.loading},{default:(0,c.withCtx)(()=>[(0,c.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:d,class:`s-ui-chart-stacked-area__canvas`},null,512)]),_:1},8,[`loading`])]),_.value.length?((0,c.openBlock)(),(0,c.createBlock)((0,c.unref)(e.t),{key:0,items:_.value,disabled:n.loading,interactive:!n.loading,onItemHover:(0,c.unref)(S)},null,8,[`items`,`disabled`,`interactive`,`onItemHover`])):(0,c.createCommentVNode)(``,!0)],2))}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return x}});
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as e } from "./SChartLegend-oZoF8XK7.js";
|
|
2
|
-
import {
|
|
2
|
+
import { E as t, T as n, c as r, g as i, h as a, l as o, n as s, r as c, s as l, t as u, y as d } from "./useChartInteractivity-Cl06JL4l.js";
|
|
3
3
|
import { t as f } from "./buildCartesianChartScales-EofFq3ry.js";
|
|
4
|
-
import { t as p } from "./resolveStackedChartContext-
|
|
5
|
-
import { t as m } from "./resolveBarStackedSeriesColor-
|
|
4
|
+
import { t as p } from "./resolveStackedChartContext-DxJNWqwE.js";
|
|
5
|
+
import { t as m } from "./resolveBarStackedSeriesColor-DM7Ax0-s.js";
|
|
6
6
|
import { n as h, t as g } from "./buildChartSeriesPoints-BTyOpkin.js";
|
|
7
7
|
import { t as _ } from "./useHasListener-RSjlUyqH.js";
|
|
8
8
|
import { computed as v, createBlock as y, createCommentVNode as b, createElementBlock as x, createElementVNode as S, createVNode as C, defineComponent as w, normalizeClass as T, openBlock as E, unref as D, useTemplateRef as O, withCtx as k } from "vue";
|
|
@@ -15,32 +15,32 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
15
15
|
afterDatasetsDraw(t) {
|
|
16
16
|
let r = t.tooltip?.getActiveElements() ?? [];
|
|
17
17
|
if (r.length === 0) return;
|
|
18
|
-
let i = Infinity,
|
|
18
|
+
let i = Infinity, a = Infinity, o = -Infinity, s = -Infinity;
|
|
19
19
|
for (let e of r) {
|
|
20
|
-
let { x: t, y: n, width: r, base:
|
|
20
|
+
let { x: t, y: n, width: r, base: c } = e.element.getProps([
|
|
21
21
|
"x",
|
|
22
22
|
"y",
|
|
23
23
|
"width",
|
|
24
24
|
"base"
|
|
25
|
-
]), l = t - r / 2, u = t + r / 2, d = n, f =
|
|
26
|
-
i = Math.min(i, l),
|
|
25
|
+
]), l = t - r / 2, u = t + r / 2, d = n, f = c;
|
|
26
|
+
i = Math.min(i, l), o = Math.max(o, u), a = Math.min(a, d), s = Math.max(s, f);
|
|
27
27
|
}
|
|
28
|
-
let
|
|
28
|
+
let c = n(d.barHoverOutline, e), { ctx: l, chartArea: u } = t, f = A / 2, p = u?.bottom ?? s, m = Math.min(s, p), h = i + f, g = a + f, _ = o - i - A, v = m - a - A;
|
|
29
29
|
if (_ <= 0 || v <= 0) return;
|
|
30
30
|
let y = Math.max(0, j - f);
|
|
31
|
-
|
|
31
|
+
l.save(), l.strokeStyle = c, l.lineWidth = A, M(l, h, g, _, v, y), l.restore();
|
|
32
32
|
}
|
|
33
|
-
}), P = 5, F = "stack0", I = 36, L = 4, R = 12, z = ({ seriesList: e, colorHostElement: t, yMax: n, yMin:
|
|
33
|
+
}), P = 5, F = "stack0", I = 36, L = 4, R = 12, z = ({ seriesList: e, colorHostElement: t, yMax: n, yMin: s, yStep: u = P, skeleton: d = !1, onSeriesClick: h, onSegmentClick: g }) => {
|
|
34
34
|
let _ = p({
|
|
35
35
|
seriesList: e,
|
|
36
36
|
colorHostElement: t,
|
|
37
37
|
yMax: n,
|
|
38
|
-
yMin:
|
|
39
|
-
yStep:
|
|
38
|
+
yMin: s,
|
|
39
|
+
yStep: u,
|
|
40
40
|
skeleton: d
|
|
41
41
|
});
|
|
42
42
|
if (!_) return null;
|
|
43
|
-
let { axisLabelColor: v, gridColor: y, tooltipBackgroundColor: b, tooltipTextColor: x, resolvedYMax: S, resolvedYMin: C, chartLabels: w, pointCaptions: T, topSeriesIndex: E } = _, D =
|
|
43
|
+
let { axisLabelColor: v, gridColor: y, tooltipBackgroundColor: b, tooltipTextColor: x, resolvedYMax: S, resolvedYMin: C, chartLabels: w, pointCaptions: T, topSeriesIndex: E } = _, D = c({
|
|
44
44
|
kind: "segment",
|
|
45
45
|
skeleton: d,
|
|
46
46
|
colorHostElement: t,
|
|
@@ -79,7 +79,7 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
79
79
|
mode: "nearest",
|
|
80
80
|
intersect: !0
|
|
81
81
|
},
|
|
82
|
-
interaction:
|
|
82
|
+
interaction: l(d, {
|
|
83
83
|
mode: "nearest",
|
|
84
84
|
intersect: !0
|
|
85
85
|
}),
|
|
@@ -91,11 +91,11 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
91
91
|
titleColor: x,
|
|
92
92
|
bodyColor: x,
|
|
93
93
|
displayColors: !1,
|
|
94
|
-
position:
|
|
94
|
+
position: a,
|
|
95
95
|
yAlign: "bottom",
|
|
96
96
|
xAlign: "center",
|
|
97
97
|
caretPadding: 8,
|
|
98
|
-
callbacks:
|
|
98
|
+
callbacks: i()
|
|
99
99
|
}
|
|
100
100
|
},
|
|
101
101
|
scales: f({
|
|
@@ -103,12 +103,12 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
103
103
|
gridColor: y,
|
|
104
104
|
yMin: C,
|
|
105
105
|
yMax: S,
|
|
106
|
-
yStep:
|
|
106
|
+
yStep: u,
|
|
107
107
|
stacked: !0,
|
|
108
108
|
xTickFontSize: R
|
|
109
109
|
})
|
|
110
110
|
},
|
|
111
|
-
plugins:
|
|
111
|
+
plugins: o(d, [N(t), ...D.plugins])
|
|
112
112
|
};
|
|
113
113
|
}, B = [
|
|
114
114
|
"5 неделя",
|
|
@@ -192,7 +192,7 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
192
192
|
},
|
|
193
193
|
emits: ["seriesClick", "segmentClick"],
|
|
194
194
|
setup(n, { expose: r, emit: i }) {
|
|
195
|
-
let a = i, o = O("chartRootRef"), c = O("chartCanvasRef"), l = v(() => n.loading ? G : n.series),
|
|
195
|
+
let a = i, o = O("chartRootRef"), c = O("chartCanvasRef"), l = v(() => n.loading ? G : n.series), d = (e) => {
|
|
196
196
|
let t = n.series[e];
|
|
197
197
|
t && a("seriesClick", e, t);
|
|
198
198
|
}, f = (e, t) => {
|
|
@@ -205,13 +205,13 @@ var A = 3, j = 4, M = (e, t, n, r, i, a) => {
|
|
|
205
205
|
yMin: n.loading ? 0 : void 0,
|
|
206
206
|
yStep: n.loading ? 5 : n.yStep,
|
|
207
207
|
skeleton: n.loading,
|
|
208
|
-
onSeriesClick: p() ?
|
|
208
|
+
onSeriesClick: p() ? d : void 0,
|
|
209
209
|
onSegmentClick: g() ? f : void 0
|
|
210
210
|
})), A = v(() => h(l.value, (e, t) => m(e, o.value, t, n.loading))), { chartInstance: j } = s({
|
|
211
211
|
canvasRef: c,
|
|
212
212
|
config: w,
|
|
213
213
|
enabled: v(() => n.loading || n.series.length > 0)
|
|
214
|
-
}), { exportImage: M, handleLegendItemHover: N } =
|
|
214
|
+
}), { exportImage: M, handleLegendItemHover: N } = u({
|
|
215
215
|
chartInstance: j,
|
|
216
216
|
canvasRef: c,
|
|
217
217
|
colorHostElement: o
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const e=require("./SChartLegend-DGtjd6zV.cjs"),t=require("./useChartInteractivity-
|
|
1
|
+
const e=require("./SChartLegend-DGtjd6zV.cjs"),t=require("./useChartInteractivity-LbJiqlvI.cjs"),n=require("./buildCartesianChartScales-Dck5yBMo.cjs"),r=require("./resolveStackedChartContext-Br3N7ISo.cjs"),i=require("./resolveBarStackedSeriesColor-z3NP5vAS.cjs"),a=require("./buildChartSeriesPoints-Cqo2ed-n.cjs"),o=require("./useHasListener-BPgtbbo6.cjs");let s=require("vue");var c=3,l=4,u=(e,t,n,r,i,a)=>{let o=Math.min(a,r/2,i),s=o;e.beginPath(),e.moveTo(t,n+i),e.lineTo(t,n+o),e.arcTo(t,n,t+o,n,o),e.lineTo(t+r-s,n),e.arcTo(t+r,n,t+r,n+s,s),e.lineTo(t+r,n+i),e.closePath(),e.stroke()},d=e=>({id:`stackedBarHoverOutline`,afterDatasetsDraw(n){let r=n.tooltip?.getActiveElements()??[];if(r.length===0)return;let i=1/0,a=1/0,o=-1/0,s=-1/0;for(let e of r){let{x:t,y:n,width:r,base:c}=e.element.getProps([`x`,`y`,`width`,`base`]),l=t-r/2,u=t+r/2,d=n,f=c;i=Math.min(i,l),o=Math.max(o,u),a=Math.min(a,d),s=Math.max(s,f)}let d=t.T(t.y.barHoverOutline,e),{ctx:f,chartArea:p}=n,m=c/2,h=p?.bottom??s,g=Math.min(s,h),_=i+m,v=a+m,y=o-i-c,b=g-a-c;if(y<=0||b<=0)return;let x=Math.max(0,l-m);f.save(),f.strokeStyle=d,f.lineWidth=c,u(f,_,v,y,b,x),f.restore()}}),f=5,p=`stack0`,m=36,h=4,g=12,_=({seriesList:e,colorHostElement:a,yMax:o,yMin:s,yStep:c=f,skeleton:l=!1,onSeriesClick:u,onSegmentClick:_})=>{let v=r.t({seriesList:e,colorHostElement:a,yMax:o,yMin:s,yStep:c,skeleton:l});if(!v)return null;let{axisLabelColor:y,gridColor:b,tooltipBackgroundColor:x,tooltipTextColor:S,resolvedYMax:C,resolvedYMin:w,chartLabels:T,pointCaptions:E,topSeriesIndex:D}=v,O=t.r({kind:`segment`,skeleton:l,colorHostElement:a,onIndexClick:u,onElementIndexClick:_});return{type:`bar`,data:{labels:T,datasets:e.map((e,t)=>{let n=i.t(t,a,e.fillColor,l);return{label:e.label,data:e.points.map(e=>e.value),backgroundColor:n,hoverBackgroundColor:n,borderWidth:0,hoverBorderWidth:0,stack:p,barThickness:m,borderRadius:t===D?{topLeft:h,topRight:h}:0,...t===0?{captions:E}:{}}})},options:{responsive:!0,maintainAspectRatio:!1,onHover:O.onHover,onClick:O.onClick,hover:l?void 0:{mode:`nearest`,intersect:!0},interaction:t.s(l,{mode:`nearest`,intersect:!0}),plugins:{legend:{display:!1},tooltip:{enabled:t.c(l),backgroundColor:x,titleColor:S,bodyColor:S,displayColors:!1,position:t.h,yAlign:`bottom`,xAlign:`center`,caretPadding:8,callbacks:t.g()}},scales:n.t({axisLabelColor:y,gridColor:b,yMin:w,yMax:C,yStep:c,stacked:!0,xTickFontSize:g})},plugins:t.l(l,[d(a),...O.plugins])}},v=[`5 неделя`,`6 неделя`,`7 неделя`,`8 неделя`,`9 неделя`,`10 неделя`,`11 неделя`,`12 неделя`,`13 неделя`,`14 неделя`,`15 неделя`,`16 неделя`],y=[12,14,15,16,18,17,16,15,14,13,12,11],b=[6,7,8,8,9,8,7,7,6,6,5,5],x=[4,5,5,6,6,5,5,4,4,3,3,3],S=[`Series 1`,`Series 2`,`Series 3`],C=[{label:S[0]??`Series 1`,points:a.t(v,y)},{label:S[1]??`Series 2`,points:a.t(v,b)},{label:S[2]??`Series 3`,points:a.t(v,x)}],w={class:`s-ui-chart-stacked-bar__canvas-wrap`},T=(0,s.defineComponent)({__name:`SChartStackedBar`,props:{series:{default:()=>[]},loading:{type:Boolean,default:!1},yMax:{},yStep:{}},emits:[`seriesClick`,`segmentClick`],setup(n,{expose:r,emit:c}){let l=c,u=(0,s.useTemplateRef)(`chartRootRef`),d=(0,s.useTemplateRef)(`chartCanvasRef`),f=(0,s.computed)(()=>n.loading?C:n.series),p=e=>{let t=n.series[e];t&&l(`seriesClick`,e,t)},m=(e,t)=>{let r=n.series[t],i=r?.points[e];r&&i&&l(`segmentClick`,e,t,i,r)},h=o.t(`onSeriesClick`),g=o.t(`onSegmentClick`),v=(0,s.computed)(()=>!n.loading&&n.series.length===0?null:_({seriesList:f.value,colorHostElement:u.value,yMax:n.loading?50:n.yMax,yMin:n.loading?0:void 0,yStep:n.loading?5:n.yStep,skeleton:n.loading,onSeriesClick:h()?p:void 0,onSegmentClick:g()?m:void 0})),y=(0,s.computed)(()=>a.n(f.value,(e,t)=>i.t(e,u.value,t,n.loading))),{chartInstance:b}=t.n({canvasRef:d,config:v,enabled:(0,s.computed)(()=>n.loading||n.series.length>0)}),{exportImage:x,handleLegendItemHover:S}=t.t({chartInstance:b,canvasRef:d,colorHostElement:u});return r({exportImage:x}),(r,i)=>((0,s.openBlock)(),(0,s.createElementBlock)(`div`,{ref_key:`chartRootRef`,ref:u,class:(0,s.normalizeClass)([`s-ui-chart-stacked-bar`,{"s-ui-chart-stacked-bar--skeleton":n.loading}])},[(0,s.createElementVNode)(`div`,w,[(0,s.createVNode)((0,s.unref)(t.E),{loading:n.loading},{default:(0,s.withCtx)(()=>[(0,s.createElementVNode)(`canvas`,{ref_key:`chartCanvasRef`,ref:d,class:`s-ui-chart-stacked-bar__canvas`},null,512)]),_:1},8,[`loading`])]),y.value.length?((0,s.openBlock)(),(0,s.createBlock)((0,s.unref)(e.t),{key:0,items:y.value,disabled:n.loading,interactive:!n.loading,onItemHover:(0,s.unref)(S)},null,8,[`items`,`disabled`,`interactive`,`onItemHover`])):(0,s.createCommentVNode)(``,!0)],2))}});Object.defineProperty(exports,"t",{enumerable:!0,get:function(){return T}});
|