@shtabapp/ui-kit 1.76.0 → 1.78.1
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 +19 -0
- package/dist/SChartBar-BAO2FtIO.cjs +1 -0
- package/dist/SChartBar-DHjm1H0N.js +304 -0
- package/dist/{SChartBurnup-joKIDLFb.cjs → SChartBurnup-9s2KNzCr.cjs} +1 -1
- package/dist/{SChartBurnup-BeQWgnGT.js → SChartBurnup-B1KU1E5B.js} +63 -63
- package/dist/SChartHorizontalBar-DwY63iRT.cjs +1 -0
- package/dist/SChartHorizontalBar-VKU0b6Jx.js +245 -0
- package/dist/{SChartLegend-dDqLhvIj.js → SChartLegend-At0mMO09.js} +1 -1
- package/dist/{SChartLegend-D1gPKGm0.cjs → SChartLegend-DQMLr6yV.cjs} +1 -1
- package/dist/{SChartLine-BV8Ytso5.js → SChartLine-rnEsQv-q.js} +35 -35
- package/dist/{SChartLine-DeJjaBmo.cjs → SChartLine-tj-AapTr.cjs} +1 -1
- package/dist/SChartMultiLine-C4jjmLEb.js +282 -0
- package/dist/SChartMultiLine-dtd6k59D.cjs +1 -0
- package/dist/{SChartPie-DccW5J0b.cjs → SChartPie-Ddk8r-_I.cjs} +1 -1
- package/dist/{SChartPie-BiLoxutQ.js → SChartPie-Ebg7WSga.js} +31 -31
- package/dist/{SChartProgress-DSxJqRA0.js → SChartProgress-DRSh_taf.js} +27 -27
- package/dist/{SChartProgress-Cpdkad6Q.cjs → SChartProgress-DozBX6ve.cjs} +1 -1
- package/dist/SChartScatter-DilWNoz0.cjs +1 -0
- package/dist/SChartScatter-DnmTw18x.js +249 -0
- package/dist/SChartStackedArea-BJ5HsJzQ.cjs +1 -0
- package/dist/SChartStackedArea-zIygTOp8.js +278 -0
- package/dist/SChartStackedBar-CXpVSagd.js +350 -0
- package/dist/SChartStackedBar-Dj6esSCS.cjs +2 -0
- package/dist/STable-BwKAn_4M.cjs +1 -0
- package/dist/{STable-BVGHC_FJ.js → STable-CUh1kgNm.js} +27 -25
- package/dist/{applyChartHighlightedYTick-BHVwiljn.cjs → applyChartHighlightedYTick-CKsVe7PW.cjs} +1 -1
- package/dist/{applyChartHighlightedYTick-DmsstRVM.js → applyChartHighlightedYTick-DOxlsWPd.js} +1 -1
- package/dist/buildChartMirrorScale-CBUIRPYX.cjs +1 -0
- package/dist/buildChartMirrorScale-_PhGNiFR.js +15 -0
- package/dist/buildMultiLineChartScales-BweU2ftq.cjs +1 -0
- package/dist/buildMultiLineChartScales-DbRe2UFD.js +38 -0
- package/dist/components/SChartBar/SChartBar.types.d.ts +4 -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 +3 -1
- package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts.map +1 -1
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.types.d.ts +12 -0
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.types.d.ts.map +1 -1
- package/dist/components/SChartHorizontalBar/SChartHorizontalBar.vue.d.ts.map +1 -1
- package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.d.ts +6 -0
- package/dist/components/SChartHorizontalBar/utils/buildSChartHorizontalBarConfig.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/SChartMultiLine.types.d.ts +2 -0
- 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/utils/buildMultiLineChartConfig.d.ts +2 -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/SChartScatter/SChartScatter.types.d.ts +51 -0
- package/dist/components/SChartScatter/SChartScatter.types.d.ts.map +1 -0
- package/dist/components/SChartScatter/SChartScatter.vue.d.ts +12 -0
- package/dist/components/SChartScatter/SChartScatter.vue.d.ts.map +1 -0
- package/dist/components/SChartScatter/index.d.ts +3 -0
- package/dist/components/SChartScatter/index.d.ts.map +1 -0
- package/dist/components/SChartScatter/utils/buildScatterChartConfig.d.ts +20 -0
- package/dist/components/SChartScatter/utils/buildScatterChartConfig.d.ts.map +1 -0
- package/dist/components/SChartScatter/utils/demoScatter.d.ts +6 -0
- package/dist/components/SChartScatter/utils/demoScatter.d.ts.map +1 -0
- package/dist/components/SChartScatter/utils/skeletonScatter.d.ts +5 -0
- package/dist/components/SChartScatter/utils/skeletonScatter.d.ts.map +1 -0
- package/dist/components/SChartStackedArea/SChartStackedArea.types.d.ts +5 -1
- package/dist/components/SChartStackedArea/SChartStackedArea.types.d.ts.map +1 -1
- package/dist/components/SChartStackedArea/SChartStackedArea.vue.d.ts.map +1 -1
- package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.d.ts +3 -1
- package/dist/components/SChartStackedArea/utils/buildStackedAreaChartConfig.d.ts.map +1 -1
- package/dist/components/SChartStackedArea/utils/demoStackedSeries.d.ts +2 -0
- package/dist/components/SChartStackedArea/utils/demoStackedSeries.d.ts.map +1 -1
- package/dist/components/SChartStackedBar/SChartStackedBar.types.d.ts +21 -0
- package/dist/components/SChartStackedBar/SChartStackedBar.types.d.ts.map +1 -1
- package/dist/components/SChartStackedBar/SChartStackedBar.vue.d.ts.map +1 -1
- package/dist/components/SChartStackedBar/index.d.ts +1 -1
- package/dist/components/SChartStackedBar/index.d.ts.map +1 -1
- package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.d.ts +7 -1
- package/dist/components/SChartStackedBar/utils/buildStackedBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.d.ts +6 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTotalsPlugin.d.ts.map +1 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.d.ts +10 -0
- package/dist/components/SChartStackedBar/utils/createStackedBarTrendPlugin.d.ts.map +1 -0
- package/dist/components/SChartStackedBar/utils/demoStackedBarSeries.d.ts +2 -0
- package/dist/components/SChartStackedBar/utils/demoStackedBarSeries.d.ts.map +1 -1
- package/dist/components/STable/STable.types.d.ts +6 -1
- package/dist/components/STable/STable.types.d.ts.map +1 -1
- package/dist/components/STable/STable.vue.d.ts.map +1 -1
- package/dist/components/STable/utils/useTableColumns.d.ts +3 -1
- package/dist/components/STable/utils/useTableColumns.d.ts.map +1 -1
- package/dist/{createChartCrosshairPlugin-EqMlaexu.js → createChartCrosshairPlugin-B4LrgKjG.js} +1 -1
- package/dist/{createChartCrosshairPlugin-BTPv09h4.cjs → createChartCrosshairPlugin-COIICTCz.cjs} +1 -1
- package/dist/{createChartMarkersPlugin-BKxLg4pL.cjs → createChartMarkersPlugin-L7qomZVK.cjs} +1 -1
- package/dist/{createChartMarkersPlugin-DPvfZp_e.js → createChartMarkersPlugin-bAEeP-5Z.js} +1 -1
- package/dist/createCustomTooltipCallbacks-CxeEfJLl.js +12 -0
- package/dist/createCustomTooltipCallbacks-oRAimZTt.cjs +1 -0
- 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.js +1 -1
- package/dist/entries/chart-multi-line.cjs +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-scatter.cjs +1 -0
- package/dist/entries/chart-scatter.d.ts +3 -0
- package/dist/entries/chart-scatter.d.ts.map +1 -0
- package/dist/entries/chart-scatter.js +2 -0
- 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.d.ts +1 -1
- package/dist/entries/chart-stacked-bar.d.ts.map +1 -1
- package/dist/entries/chart-stacked-bar.js +1 -1
- package/dist/entries/table.cjs +1 -1
- package/dist/entries/table.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +185 -184
- package/dist/resolveBarStackedSeriesColor-BDJ7XBIB.cjs +1 -0
- package/dist/resolveBarStackedSeriesColor-zEV1Ps7h.js +11 -0
- package/dist/resolveChartLabelFont-D_Pxt-gs.cjs +1 -0
- package/dist/resolveChartLabelFont-WtZd0pFD.js +4 -0
- package/dist/{resolveCssColorValue-DH_SEZj4.js → resolveCssColorValue-BBK7CTmP.js} +1 -1
- package/dist/resolveCssColorValue-D3fS-cK8.cjs +1 -0
- package/dist/{resolveSeriesPaletteColor-DoPeNP_F.js → resolveSeriesPaletteColor-Bk52kyZo.js} +2 -2
- package/dist/resolveSeriesPaletteColor-CVEsFs0o.cjs +1 -0
- package/dist/{resolveStackedChartContext-D4tuSA6Z.cjs → resolveStackedChartContext-BE3ZW2Sf.cjs} +1 -1
- package/dist/{resolveStackedChartContext-BbCzct6O.js → resolveStackedChartContext-Dc6Foe7D.js} +1 -1
- package/dist/uikit-components.css +1 -1
- package/dist/useChartInteractivity-Yk7qEYgl.cjs +2 -0
- package/dist/{useChartInteractivity-DygkiRA1.js → useChartInteractivity-sgbPZgcH.js} +58 -57
- package/dist/utils/chart/bar/createStackedBarTooltipCallbacks.d.ts.map +1 -1
- package/dist/utils/chart/core/buildChartMirrorScale.d.ts +27 -0
- package/dist/utils/chart/core/buildChartMirrorScale.d.ts.map +1 -0
- package/dist/utils/chart/core/chartCssVariables.d.ts +1 -0
- package/dist/utils/chart/core/chartCssVariables.d.ts.map +1 -1
- package/dist/utils/chart/core/chartInteractivity.d.ts +6 -0
- package/dist/utils/chart/core/chartInteractivity.d.ts.map +1 -1
- package/dist/utils/chart/core/createCustomTooltipCallbacks.d.ts +8 -0
- package/dist/utils/chart/core/createCustomTooltipCallbacks.d.ts.map +1 -0
- package/dist/utils/chart/core/registerChartJs.d.ts.map +1 -1
- package/dist/utils/chart/css/resolveChartLabelFont.d.ts +7 -0
- package/dist/utils/chart/css/resolveChartLabelFont.d.ts.map +1 -0
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.d.ts +7 -1
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartConfig.d.ts.map +1 -1
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.d.ts +3 -1
- package/dist/utils/chart/horizontalBar/buildHorizontalBarChartScales.d.ts.map +1 -1
- package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.d.ts +10 -0
- package/dist/utils/chart/horizontalBar/createHorizontalBarValueLabelPlugin.d.ts.map +1 -0
- package/dist/utils/chart/index.d.ts +1 -0
- package/dist/utils/chart/index.d.ts.map +1 -1
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts +16 -21
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts.map +1 -1
- package/package.json +7 -2
- package/dist/SChartBar-BvytQ-2z.js +0 -293
- package/dist/SChartBar-BzCeNCsi.cjs +0 -1
- package/dist/SChartHorizontalBar-C40Yroue.js +0 -176
- package/dist/SChartHorizontalBar-Dwln3uuE.cjs +0 -1
- package/dist/SChartMultiLine-7_HcvVEQ.js +0 -279
- package/dist/SChartMultiLine-Cl9Pf3Wp.cjs +0 -1
- package/dist/SChartStackedArea-B28offwE.js +0 -254
- package/dist/SChartStackedArea-Ce7xyhp1.cjs +0 -1
- package/dist/SChartStackedBar-C77FlKGS.js +0 -245
- package/dist/SChartStackedBar-CqUDrFJ3.cjs +0 -1
- package/dist/STable-QYXxMVAw.cjs +0 -1
- package/dist/buildMultiLineChartScales-Di-yTvEB.js +0 -41
- package/dist/buildMultiLineChartScales-lVP6h9H4.cjs +0 -1
- package/dist/resolveBarStackedSeriesColor-CjwUxrUx.js +0 -11
- package/dist/resolveBarStackedSeriesColor-Czkj5bJY.cjs +0 -1
- package/dist/resolveCssColorValue-BFMo08-w.cjs +0 -1
- package/dist/resolveSeriesPaletteColor-BepW1gdW.cjs +0 -1
- package/dist/useChartInteractivity-CaZ37kX-.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -31,28 +31,29 @@ import { n as nt, r as rt, t as it } from "./SToggle-MSdprnRP.js";
|
|
|
31
31
|
import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
|
|
32
32
|
import { t as st } from "./STextarea-BDyy7Ku5.js";
|
|
33
33
|
import { n as ct, r as lt, t as ut } from "./SPhotoEdit-BxxycqvA.js";
|
|
34
|
-
import {
|
|
35
|
-
import { n as vt, t as yt } from "./SChartLegend-
|
|
36
|
-
import { t as bt } from "./SChartLine-
|
|
37
|
-
import { t as xt } from "./resolveSeriesPaletteColor-
|
|
38
|
-
import { t as St } from "./SChartStackedArea-
|
|
39
|
-
import { t as Ct } from "./SChartStackedBar-
|
|
40
|
-
import { t as wt } from "./SChartHorizontalBar-
|
|
41
|
-
import { n as Tt, t as Et } from "./SChartPie-
|
|
42
|
-
import { t as Dt } from "./SChartMultiLine-
|
|
43
|
-
import { t as Ot } from "./SChartBurnup-
|
|
34
|
+
import { C as dt, D, S as O, c as ft, n as pt, r as mt, s as ht, t as gt, w as _t } from "./useChartInteractivity-sgbPZgcH.js";
|
|
35
|
+
import { n as vt, t as yt } from "./SChartLegend-At0mMO09.js";
|
|
36
|
+
import { t as bt } from "./SChartLine-rnEsQv-q.js";
|
|
37
|
+
import { t as xt } from "./resolveSeriesPaletteColor-Bk52kyZo.js";
|
|
38
|
+
import { t as St } from "./SChartStackedArea-zIygTOp8.js";
|
|
39
|
+
import { t as Ct } from "./SChartStackedBar-CXpVSagd.js";
|
|
40
|
+
import { t as wt } from "./SChartHorizontalBar-VKU0b6Jx.js";
|
|
41
|
+
import { n as Tt, t as Et } from "./SChartPie-Ebg7WSga.js";
|
|
42
|
+
import { t as Dt } from "./SChartMultiLine-C4jjmLEb.js";
|
|
43
|
+
import { t as Ot } from "./SChartBurnup-B1KU1E5B.js";
|
|
44
44
|
import { t as kt } from "./useHasListener-RSjlUyqH.js";
|
|
45
|
-
import { t as At } from "./SChartBar-
|
|
46
|
-
import { t as jt } from "./SChartProgress-
|
|
47
|
-
import {
|
|
48
|
-
import { a as
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
45
|
+
import { t as At } from "./SChartBar-DHjm1H0N.js";
|
|
46
|
+
import { t as jt } from "./SChartProgress-DRSh_taf.js";
|
|
47
|
+
import { t as Mt } from "./SChartScatter-DnmTw18x.js";
|
|
48
|
+
import { a as Nt, c as Pt, d as Ft, f as It, i as Lt, l as Rt, n as zt, o as Bt, r as Vt, s as Ht, t as Ut, u as Wt } from "./buildWorkTimeLegendItems-CifzZM9C.js";
|
|
49
|
+
import { a as Gt, c as Kt, d as qt, f as Jt, i as Yt, l as Xt, n as Zt, o as Qt, p as $t, r as en, s as tn, t as nn, u as rn } from "./STable-CUh1kgNm.js";
|
|
50
|
+
import { Fragment as k, Teleport as an, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as on, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as sn, mergeProps as cn, normalizeClass as R, normalizeStyle as z, onMounted as ln, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as un, shallowRef as dn, toDisplayString as W, toValue as fn, unref as G, useModel as pn, useSlots as K, useTemplateRef as mn, watch as hn, withCtx as q, withKeys as gn, withModifiers as _n } from "vue";
|
|
51
|
+
import { ESIconName as J, ESProgressBarSize as vn, ESSkeletonType as yn, SIcon as bn, SProgressBar as xn, SSkeleton as Sn, createUiKit as Cn, setUiKitLocale as wn, uiKitLocaleEn as Tn, uiKitLocaleRu as En, useUiKitI18n as Dn, useUiKitI18n as On } from "@shtabapp/ui-kit-primitives";
|
|
52
|
+
import { useResizeObserver as kn } from "@vueuse/core";
|
|
52
53
|
export * from "@shtabapp/ui-kit-primitives";
|
|
53
54
|
export * from "@shtabapp/ui-kit-tokens";
|
|
54
55
|
//#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
|
|
55
|
-
var
|
|
56
|
+
var An = [
|
|
56
57
|
"--s-ui-chart-segmented-bar-palette-1",
|
|
57
58
|
"--s-ui-chart-segmented-bar-palette-2",
|
|
58
59
|
"--s-ui-chart-segmented-bar-palette-3",
|
|
@@ -61,7 +62,7 @@ var kn = [
|
|
|
61
62
|
"--s-ui-chart-segmented-bar-palette-6",
|
|
62
63
|
"--s-ui-chart-segmented-bar-palette-7",
|
|
63
64
|
"--s-ui-chart-segmented-bar-palette-8"
|
|
64
|
-
],
|
|
65
|
+
], jn = [
|
|
65
66
|
"--s-ui-chart-segmented-bar-skeleton-palette-1",
|
|
66
67
|
"--s-ui-chart-segmented-bar-skeleton-palette-2",
|
|
67
68
|
"--s-ui-chart-segmented-bar-skeleton-palette-3",
|
|
@@ -70,51 +71,51 @@ var kn = [
|
|
|
70
71
|
"--s-ui-chart-segmented-bar-skeleton-palette-6",
|
|
71
72
|
"--s-ui-chart-segmented-bar-skeleton-palette-7",
|
|
72
73
|
"--s-ui-chart-segmented-bar-skeleton-palette-8"
|
|
73
|
-
],
|
|
74
|
-
palette:
|
|
75
|
-
paletteFallback:
|
|
76
|
-
skeletonPalette:
|
|
77
|
-
skeletonFallback:
|
|
74
|
+
], Mn = (e, t, n, r = !1) => xt(e, t, n, r, {
|
|
75
|
+
palette: An,
|
|
76
|
+
paletteFallback: An[0],
|
|
77
|
+
skeletonPalette: jn,
|
|
78
|
+
skeletonFallback: jn[0]
|
|
78
79
|
}), Y = /* @__PURE__ */ function(e) {
|
|
79
80
|
return e.INFO_ACCENT = "info-accent", e.INFO_NORMAL = "info-normal", e.SUCCESS = "success", e.WARNING = "warning", e.DANGER = "danger", e.BILLING = "billing", e;
|
|
80
81
|
}({}), X = /* @__PURE__ */ function(e) {
|
|
81
82
|
return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
|
|
82
83
|
}({}), Z = /* @__PURE__ */ function(e) {
|
|
83
84
|
return e.ICON = "icon", e.AVATAR = "avatar", e;
|
|
84
|
-
}({}),
|
|
85
|
+
}({}), Nn = /* @__PURE__ */ function(e) {
|
|
85
86
|
return e.BANNER = "banner", e.TOAST = "toast", e;
|
|
86
|
-
}({}),
|
|
87
|
+
}({}), Pn = {
|
|
87
88
|
[Y.INFO_ACCENT]: J.infoCircle,
|
|
88
89
|
[Y.INFO_NORMAL]: J.infoCircle,
|
|
89
90
|
[Y.SUCCESS]: J.checkCircle,
|
|
90
91
|
[Y.WARNING]: J.alertCircle,
|
|
91
92
|
[Y.DANGER]: J.dangerCircleFill,
|
|
92
93
|
[Y.BILLING]: J.infoCircle
|
|
93
|
-
},
|
|
94
|
+
}, Fn = (e, t) => t || Pn[e], In = ["role"], Ln = { class: "s-ui-notification__body" }, Rn = {
|
|
94
95
|
key: 0,
|
|
95
96
|
class: "s-ui-notification__leftside"
|
|
96
|
-
},
|
|
97
|
+
}, zn = {
|
|
97
98
|
key: 0,
|
|
98
99
|
class: "s-ui-notification__icon"
|
|
99
|
-
},
|
|
100
|
+
}, Bn = { class: "s-ui-notification__content" }, Vn = { class: "s-ui-notification__title-row" }, Hn = {
|
|
100
101
|
key: 0,
|
|
101
102
|
class: "s-ui-notification__description-block"
|
|
102
|
-
},
|
|
103
|
+
}, Un = {
|
|
103
104
|
key: 0,
|
|
104
105
|
class: "s-ui-notification__description s-ui-typography-label-12-medium"
|
|
105
|
-
},
|
|
106
|
+
}, Wn = {
|
|
106
107
|
key: 1,
|
|
107
108
|
class: "s-ui-notification__actions-stack"
|
|
108
|
-
},
|
|
109
|
+
}, Gn = {
|
|
109
110
|
key: 1,
|
|
110
111
|
class: "s-ui-notification__actions-row"
|
|
111
|
-
},
|
|
112
|
+
}, Kn = /* @__PURE__ */ L({
|
|
112
113
|
__name: "SNotification",
|
|
113
114
|
props: {
|
|
114
115
|
type: { default: () => Y.INFO_ACCENT },
|
|
115
116
|
layout: { default: () => X.HORIZONTAL },
|
|
116
117
|
leftside: { default: () => Z.ICON },
|
|
117
|
-
surface: { default: () =>
|
|
118
|
+
surface: { default: () => Nn.BANNER },
|
|
118
119
|
title: {},
|
|
119
120
|
description: {},
|
|
120
121
|
linkText: {},
|
|
@@ -158,7 +159,7 @@ var kn = [
|
|
|
158
159
|
]), a = A(() => {
|
|
159
160
|
let t = {};
|
|
160
161
|
return e.width && (t.width = typeof e.width == "number" ? `${e.width}px` : e.width), e.maxWidth && (t.maxWidth = typeof e.maxWidth == "number" ? `${e.maxWidth}px` : e.maxWidth), t;
|
|
161
|
-
}), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() =>
|
|
162
|
+
}), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() => Fn(e.type, e.icon)), u = A(() => e.type === Y.BILLING), d = A(() => !!(e.leftside === Z.AVATAR && e.avatar || e.leftside === Z.ICON)), f = A(() => !!(e.description || e.linkText || r.description)), p = A(() => e.layout === X.HORIZONTAL && !f.value), m = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText)), h = A(() => e.showPrimaryButton && (e.primaryButtonText || e.secondaryButtonText) || e.closable), g = A(() => e.type === Y.BILLING || e.prominentPrimaryButton ? w.MAJOR : w.OUTLINED), _ = A(() => e.type === Y.BILLING ? C.BILLING : C.MAIN), v = () => {
|
|
162
163
|
n("close");
|
|
163
164
|
}, y = () => {
|
|
164
165
|
n("linkClick");
|
|
@@ -171,8 +172,8 @@ var kn = [
|
|
|
171
172
|
class: R(["s-ui-notification", i.value]),
|
|
172
173
|
style: z(a.value),
|
|
173
174
|
role: s.value
|
|
174
|
-
}, [P("div",
|
|
175
|
-
d.value ? (B(), N("div",
|
|
175
|
+
}, [P("div", Ln, [
|
|
176
|
+
d.value ? (B(), N("div", Rn, [e.leftside === G(Z).ICON ? (B(), N("div", zn, [I(G(bn), {
|
|
176
177
|
name: l.value,
|
|
177
178
|
size: 16,
|
|
178
179
|
billing: u.value
|
|
@@ -189,8 +190,8 @@ var kn = [
|
|
|
189
190
|
"badge",
|
|
190
191
|
"size"
|
|
191
192
|
])) : M("", !0)])) : M("", !0),
|
|
192
|
-
P("div",
|
|
193
|
-
P("div",
|
|
193
|
+
P("div", Bn, [
|
|
194
|
+
P("div", Vn, [P("span", { class: R(["s-ui-notification__title s-ui-typography-label-14-medium", { "s-ui-notification__title--truncated": e.truncateTitle }]) }, [U(t.$slots, "title", {}, () => [F(W(e.title), 1)])], 2), e.layout === G(X).VERTICAL && e.closable ? (B(), j(G(E), {
|
|
194
195
|
key: 0,
|
|
195
196
|
class: "s-ui-notification__close",
|
|
196
197
|
appearance: G(w).BARE,
|
|
@@ -205,7 +206,7 @@ var kn = [
|
|
|
205
206
|
"size",
|
|
206
207
|
"aria-label"
|
|
207
208
|
])) : M("", !0)]),
|
|
208
|
-
f.value ? (B(), N("div",
|
|
209
|
+
f.value ? (B(), N("div", Hn, [e.description || G(r).description ? (B(), N("span", Un, [U(t.$slots, "description", {}, () => [F(W(e.description), 1)])])) : M("", !0), e.linkText ? (B(), j(G(E), {
|
|
209
210
|
key: 1,
|
|
210
211
|
class: "s-ui-notification__link",
|
|
211
212
|
appearance: G(w).BARE,
|
|
@@ -222,7 +223,7 @@ var kn = [
|
|
|
222
223
|
"size",
|
|
223
224
|
"iconRight"
|
|
224
225
|
])) : M("", !0)])) : M("", !0),
|
|
225
|
-
e.layout === G(X).VERTICAL && m.value ? (B(), N("div",
|
|
226
|
+
e.layout === G(X).VERTICAL && m.value ? (B(), N("div", Wn, [e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
226
227
|
key: 0,
|
|
227
228
|
appearance: g.value,
|
|
228
229
|
variant: _.value,
|
|
@@ -250,7 +251,7 @@ var kn = [
|
|
|
250
251
|
"size"
|
|
251
252
|
])) : M("", !0)])) : M("", !0)
|
|
252
253
|
]),
|
|
253
|
-
e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div",
|
|
254
|
+
e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div", Gn, [
|
|
254
255
|
e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
255
256
|
key: 0,
|
|
256
257
|
appearance: g.value,
|
|
@@ -295,9 +296,9 @@ var kn = [
|
|
|
295
296
|
"aria-label"
|
|
296
297
|
])) : M("", !0)
|
|
297
298
|
])) : M("", !0)
|
|
298
|
-
])], 14,
|
|
299
|
+
])], 14, In));
|
|
299
300
|
}
|
|
300
|
-
}),
|
|
301
|
+
}), qn = /* @__PURE__ */ L({
|
|
301
302
|
__name: "SBanner",
|
|
302
303
|
props: {
|
|
303
304
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -342,13 +343,13 @@ var kn = [
|
|
|
342
343
|
],
|
|
343
344
|
setup(e, { emit: t }) {
|
|
344
345
|
let n = t, r = K(), i = A(() => ({ "s-ui-banner--elevated": e.elevated }));
|
|
345
|
-
return (t, a) => (B(), j(
|
|
346
|
+
return (t, a) => (B(), j(Kn, {
|
|
346
347
|
class: R(["s-ui-banner", i.value]),
|
|
347
348
|
"data-qa": "ui:banner",
|
|
348
349
|
type: e.type,
|
|
349
350
|
layout: e.layout,
|
|
350
351
|
leftside: e.leftside,
|
|
351
|
-
surface: G(
|
|
352
|
+
surface: G(Nn).BANNER,
|
|
352
353
|
title: e.title,
|
|
353
354
|
description: e.description,
|
|
354
355
|
linkText: e.linkText,
|
|
@@ -367,7 +368,7 @@ var kn = [
|
|
|
367
368
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
368
369
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
369
370
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
370
|
-
},
|
|
371
|
+
}, on({ _: 2 }, [G(r).title ? {
|
|
371
372
|
name: "title",
|
|
372
373
|
fn: q(() => [U(t.$slots, "title")]),
|
|
373
374
|
key: "0"
|
|
@@ -397,7 +398,7 @@ var kn = [
|
|
|
397
398
|
"truncateTitle"
|
|
398
399
|
]));
|
|
399
400
|
}
|
|
400
|
-
}),
|
|
401
|
+
}), Jn = /* @__PURE__ */ L({
|
|
401
402
|
__name: "SToast",
|
|
402
403
|
props: {
|
|
403
404
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -433,13 +434,13 @@ var kn = [
|
|
|
433
434
|
],
|
|
434
435
|
setup(e, { emit: t }) {
|
|
435
436
|
let n = t, r = K(), i = A(() => e.width ?? 360);
|
|
436
|
-
return (t, a) => (B(), j(
|
|
437
|
+
return (t, a) => (B(), j(Kn, {
|
|
437
438
|
class: "s-ui-toast",
|
|
438
439
|
"data-qa": "ui:toast",
|
|
439
440
|
type: e.type,
|
|
440
441
|
layout: e.layout,
|
|
441
442
|
leftside: e.leftside,
|
|
442
|
-
surface: G(
|
|
443
|
+
surface: G(Nn).TOAST,
|
|
443
444
|
title: e.title,
|
|
444
445
|
description: e.description,
|
|
445
446
|
linkText: e.linkText,
|
|
@@ -456,7 +457,7 @@ var kn = [
|
|
|
456
457
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
457
458
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
458
459
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
459
|
-
},
|
|
460
|
+
}, on({ _: 2 }, [G(r).title ? {
|
|
460
461
|
name: "title",
|
|
461
462
|
fn: q(() => [U(t.$slots, "title")]),
|
|
462
463
|
key: "0"
|
|
@@ -483,13 +484,13 @@ var kn = [
|
|
|
483
484
|
"truncateTitle"
|
|
484
485
|
]));
|
|
485
486
|
}
|
|
486
|
-
}),
|
|
487
|
+
}), Yn = .05, Xn = [
|
|
487
488
|
"data-mounted",
|
|
488
489
|
"data-front",
|
|
489
490
|
"data-expanded",
|
|
490
491
|
"data-removed",
|
|
491
492
|
"data-visible"
|
|
492
|
-
],
|
|
493
|
+
], Zn = /* @__PURE__ */ L({
|
|
493
494
|
__name: "SToastProviderToast",
|
|
494
495
|
props: {
|
|
495
496
|
index: {},
|
|
@@ -502,7 +503,7 @@ var kn = [
|
|
|
502
503
|
},
|
|
503
504
|
emits: ["heightChange"],
|
|
504
505
|
setup(e, { emit: t }) {
|
|
505
|
-
let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index *
|
|
506
|
+
let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index * Yn), c = A(() => ({
|
|
506
507
|
"--s-ui-toast-provider-toasts-before": String(e.index),
|
|
507
508
|
"--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
|
|
508
509
|
"--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
|
|
@@ -511,10 +512,10 @@ var kn = [
|
|
|
511
512
|
"--s-ui-toast-provider-stack-scale": String(s.value),
|
|
512
513
|
zIndex: String(1e3 - e.index)
|
|
513
514
|
}));
|
|
514
|
-
return
|
|
515
|
+
return kn(r, (e) => {
|
|
515
516
|
let t = e[0]?.contentRect.height ?? 0;
|
|
516
517
|
t !== i.value && (i.value = t, n("heightChange", t));
|
|
517
|
-
}),
|
|
518
|
+
}), ln(() => {
|
|
518
519
|
requestAnimationFrame(() => {
|
|
519
520
|
requestAnimationFrame(() => {
|
|
520
521
|
a.value = !0;
|
|
@@ -532,50 +533,50 @@ var kn = [
|
|
|
532
533
|
ref_key: "contentRef",
|
|
533
534
|
ref: r,
|
|
534
535
|
class: "s-ui-toast-provider__toast-content"
|
|
535
|
-
}, [U(t.$slots, "default")], 512)], 12,
|
|
536
|
+
}, [U(t.$slots, "default")], 512)], 12, Xn));
|
|
536
537
|
}
|
|
537
|
-
}),
|
|
538
|
-
let n =
|
|
539
|
-
return n > 1e4 ?
|
|
540
|
-
}, Q =
|
|
538
|
+
}), Qn = 4e3, $n = 1e4, er = 50, tr = (e, t) => {
|
|
539
|
+
let n = Qn + (e.length + (t?.length ?? 0)) * 50;
|
|
540
|
+
return n > 1e4 ? $n : n;
|
|
541
|
+
}, Q = dn([]), $ = /* @__PURE__ */ new Map(), nr = 0, rr = {
|
|
541
542
|
type: Y.INFO_ACCENT,
|
|
542
543
|
layout: X.HORIZONTAL,
|
|
543
544
|
leftside: Z.ICON,
|
|
544
545
|
showPrimaryButton: !1,
|
|
545
546
|
closable: !0
|
|
546
|
-
},
|
|
547
|
+
}, ir = () => `toast-${Date.now()}-${++nr}`, ar = (e) => {
|
|
547
548
|
let t = $.get(e);
|
|
548
549
|
t && (window.clearTimeout(t), $.delete(e));
|
|
549
|
-
},
|
|
550
|
-
|
|
551
|
-
let t = e.duration === void 0 ?
|
|
550
|
+
}, or = (e) => {
|
|
551
|
+
ar(e.id);
|
|
552
|
+
let t = e.duration === void 0 ? tr(e.title, e.description) : e.duration;
|
|
552
553
|
if (t > 0) {
|
|
553
554
|
let n = window.setTimeout(() => {
|
|
554
|
-
|
|
555
|
+
sr(e.id);
|
|
555
556
|
}, t);
|
|
556
557
|
$.set(e.id, n);
|
|
557
558
|
}
|
|
558
|
-
},
|
|
559
|
+
}, sr = (e) => {
|
|
559
560
|
let t = Q.value.findIndex((t) => t.id === e);
|
|
560
561
|
if (t === -1) return;
|
|
561
562
|
let n = Q.value[t];
|
|
562
|
-
n && (
|
|
563
|
-
},
|
|
563
|
+
n && (ar(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
|
|
564
|
+
}, cr = () => {
|
|
564
565
|
$.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
|
|
565
|
-
},
|
|
566
|
-
|
|
567
|
-
}), e.slice(0, 3)),
|
|
568
|
-
let t = e.id ??
|
|
569
|
-
...
|
|
566
|
+
}, lr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
|
|
567
|
+
ar(e.id);
|
|
568
|
+
}), e.slice(0, 3)), ur = (e) => {
|
|
569
|
+
let t = e.id ?? ir(), n = {
|
|
570
|
+
...rr,
|
|
570
571
|
...e,
|
|
571
572
|
id: t
|
|
572
573
|
}, r = Q.value.findIndex((e) => e.id === t);
|
|
573
574
|
if (r > -1) {
|
|
574
575
|
let e = [...Q.value];
|
|
575
|
-
e[r] = n, Q.value =
|
|
576
|
-
} else Q.value =
|
|
577
|
-
return
|
|
578
|
-
},
|
|
576
|
+
e[r] = n, Q.value = lr(e);
|
|
577
|
+
} else Q.value = lr([n, ...Q.value]);
|
|
578
|
+
return or(n), t;
|
|
579
|
+
}, dr = (e, t) => {
|
|
579
580
|
let n = Q.value.findIndex((t) => t.id === e);
|
|
580
581
|
if (n === -1) return;
|
|
581
582
|
let r = Q.value[n];
|
|
@@ -585,18 +586,18 @@ var kn = [
|
|
|
585
586
|
...t,
|
|
586
587
|
id: r.id
|
|
587
588
|
}, a = [...Q.value];
|
|
588
|
-
a[n] = i, Q.value = a,
|
|
589
|
-
},
|
|
589
|
+
a[n] = i, Q.value = a, or(i);
|
|
590
|
+
}, fr = () => ({
|
|
590
591
|
toasts: Q,
|
|
591
|
-
show:
|
|
592
|
-
hide:
|
|
593
|
-
hideAll:
|
|
594
|
-
update:
|
|
595
|
-
}),
|
|
592
|
+
show: ur,
|
|
593
|
+
hide: sr,
|
|
594
|
+
hideAll: cr,
|
|
595
|
+
update: dr
|
|
596
|
+
}), pr = /* @__PURE__ */ L({
|
|
596
597
|
__name: "SToastProvider",
|
|
597
598
|
setup(e) {
|
|
598
|
-
let { toasts: t, hide: n } =
|
|
599
|
-
|
|
599
|
+
let { toasts: t, hide: n } = fr(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = dn({}), o = V(/* @__PURE__ */ new Set()), s = A(() => t.value[0] ?? null), c = A(() => s.value ? a.value[s.value.id] ?? 0 : 0), l = V(0), u = A(() => c.value > 0 ? c.value : l.value);
|
|
600
|
+
hn(c, (e) => {
|
|
600
601
|
e > 0 && (l.value = e);
|
|
601
602
|
});
|
|
602
603
|
let d = A(() => {
|
|
@@ -638,7 +639,7 @@ var kn = [
|
|
|
638
639
|
}, b = (e) => {
|
|
639
640
|
e.onSecondaryAction && e.onSecondaryAction();
|
|
640
641
|
};
|
|
641
|
-
return (e, t) => (B(), j(
|
|
642
|
+
return (e, t) => (B(), j(an, { to: "body" }, [P("div", {
|
|
642
643
|
class: "s-ui-toast-provider",
|
|
643
644
|
onMouseenter: m,
|
|
644
645
|
onMouseleave: h
|
|
@@ -646,7 +647,7 @@ var kn = [
|
|
|
646
647
|
key: 0,
|
|
647
648
|
class: "s-ui-toast-provider__list",
|
|
648
649
|
style: z(d.value)
|
|
649
|
-
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(
|
|
650
|
+
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Zn, {
|
|
650
651
|
key: t.id,
|
|
651
652
|
index: n,
|
|
652
653
|
expanded: i.value,
|
|
@@ -657,13 +658,13 @@ var kn = [
|
|
|
657
658
|
"offset-y": f(n),
|
|
658
659
|
onHeightChange: (e) => g(t.id, e)
|
|
659
660
|
}, {
|
|
660
|
-
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(
|
|
661
|
+
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(un(t.component), cn({
|
|
661
662
|
key: 0,
|
|
662
663
|
ref_for: !0
|
|
663
664
|
}, t.componentProps, {
|
|
664
665
|
toast: t,
|
|
665
666
|
onClose: (e) => _(t.id)
|
|
666
|
-
}), null, 16, ["toast", "onClose"])) : (B(), j(G(
|
|
667
|
+
}), null, 16, ["toast", "onClose"])) : (B(), j(G(Jn), {
|
|
667
668
|
key: 1,
|
|
668
669
|
type: t.type,
|
|
669
670
|
layout: t.layout,
|
|
@@ -717,10 +718,10 @@ var kn = [
|
|
|
717
718
|
"onHeightChange"
|
|
718
719
|
]))), 128))], 4)) : M("", !0)], 32)]));
|
|
719
720
|
}
|
|
720
|
-
}),
|
|
721
|
+
}), mr = 4, hr = 4, gr = 1, _r = "400 12px var(--s-ui-font-family-label)", vr = 4, yr = .5, br = (e, t, n, r, i, a) => {
|
|
721
722
|
let o = Math.min(a, r / 2, i / 2);
|
|
722
723
|
e.beginPath(), e.moveTo(t + o, n), e.lineTo(t + r - o, n), e.arcTo(t + r, n, t + r, n + o, o), e.lineTo(t + r, n + i - o), e.arcTo(t + r, n + i, t + r - o, n + i, o), e.lineTo(t + o, n + i), e.arcTo(t, n + i, t, n + i - o, o), e.lineTo(t, n + o), e.arcTo(t, n, t + o, n, o), e.closePath();
|
|
723
|
-
},
|
|
724
|
+
}, xr = (e) => {
|
|
724
725
|
let t = e.getProps([
|
|
725
726
|
"x",
|
|
726
727
|
"y",
|
|
@@ -731,14 +732,14 @@ var kn = [
|
|
|
731
732
|
width: Math.abs(n - i),
|
|
732
733
|
centerY: r
|
|
733
734
|
};
|
|
734
|
-
},
|
|
735
|
-
let a =
|
|
735
|
+
}, Sr = (e, t, n, r, i) => {
|
|
736
|
+
let a = xr(t);
|
|
736
737
|
if (!a) return;
|
|
737
|
-
let o = i ? i(n) : `${n}`, s = e.measureText(o).width +
|
|
738
|
-
if (a.width < s +
|
|
738
|
+
let o = i ? i(n) : `${n}`, s = e.measureText(o).width + mr * 2;
|
|
739
|
+
if (a.width < s + vr * 2) return;
|
|
739
740
|
let c = a.left + a.width / 2;
|
|
740
|
-
|
|
741
|
-
},
|
|
741
|
+
br(e, c - s / 2, a.centerY - 20 / 2, s, 20, hr), e.fillStyle = r.background, e.fill(), e.lineWidth = gr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
|
|
742
|
+
}, Cr = (e, t) => ({
|
|
742
743
|
id: "segmentedBarBadge",
|
|
743
744
|
afterDatasetsDraw(n) {
|
|
744
745
|
let r = {
|
|
@@ -746,22 +747,22 @@ var kn = [
|
|
|
746
747
|
border: O(D.pieBadgeBorder, e),
|
|
747
748
|
text: O(D.pieBadgeText, e)
|
|
748
749
|
}, { ctx: i } = n;
|
|
749
|
-
i.save(), i.font =
|
|
750
|
-
let a =
|
|
750
|
+
i.save(), i.font = _r, i.textAlign = "center", i.textBaseline = "middle";
|
|
751
|
+
let a = ht(n);
|
|
751
752
|
n.data.datasets.forEach((e, o) => {
|
|
752
753
|
let s = n.getDatasetMeta(o)?.data[0], c = e.data[0];
|
|
753
|
-
s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ?
|
|
754
|
+
s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? yr : 1, Sr(i, s, c, r, t));
|
|
754
755
|
}), i.restore();
|
|
755
756
|
}
|
|
756
|
-
}),
|
|
757
|
+
}), wr = 40, Tr = 4, Er = 1, Dr = [
|
|
757
758
|
"mousemove",
|
|
758
759
|
"mouseout",
|
|
759
760
|
"click",
|
|
760
761
|
"touchstart",
|
|
761
762
|
"touchmove"
|
|
762
|
-
],
|
|
763
|
+
], Or = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
|
|
763
764
|
if (e.length === 0) return null;
|
|
764
|
-
let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u =
|
|
765
|
+
let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
|
|
765
766
|
kind: "series",
|
|
766
767
|
skeleton: r,
|
|
767
768
|
colorHostElement: n,
|
|
@@ -779,12 +780,12 @@ var kn = [
|
|
|
779
780
|
hoverBackgroundColor: t[n],
|
|
780
781
|
borderColor: c,
|
|
781
782
|
borderWidth: {
|
|
782
|
-
left:
|
|
783
|
-
right:
|
|
783
|
+
left: Er,
|
|
784
|
+
right: Er
|
|
784
785
|
},
|
|
785
786
|
borderSkipped: !1,
|
|
786
|
-
borderRadius:
|
|
787
|
-
barThickness:
|
|
787
|
+
borderRadius: Tr,
|
|
788
|
+
barThickness: wr,
|
|
788
789
|
stack: "track"
|
|
789
790
|
}))
|
|
790
791
|
},
|
|
@@ -793,7 +794,7 @@ var kn = [
|
|
|
793
794
|
responsive: !0,
|
|
794
795
|
maintainAspectRatio: !1,
|
|
795
796
|
layout: { padding: 0 },
|
|
796
|
-
events: r ? [] :
|
|
797
|
+
events: r ? [] : Dr,
|
|
797
798
|
onHover: u.onHover,
|
|
798
799
|
onClick: u.onClick,
|
|
799
800
|
hover: r ? void 0 : {
|
|
@@ -828,9 +829,9 @@ var kn = [
|
|
|
828
829
|
}
|
|
829
830
|
}
|
|
830
831
|
},
|
|
831
|
-
plugins: [...r ? [] : [
|
|
832
|
+
plugins: [...r ? [] : [Cr(n, i)], ...u.plugins]
|
|
832
833
|
};
|
|
833
|
-
},
|
|
834
|
+
}, kr = [
|
|
834
835
|
4,
|
|
835
836
|
1,
|
|
836
837
|
2,
|
|
@@ -842,9 +843,9 @@ var kn = [
|
|
|
842
843
|
].map((e, t) => ({
|
|
843
844
|
label: `Series ${t + 1}`,
|
|
844
845
|
value: e
|
|
845
|
-
})),
|
|
846
|
+
})), Ar = /* @__PURE__ */ L({
|
|
846
847
|
__name: "SChartSegmentedBar",
|
|
847
|
-
props: /*@__PURE__*/
|
|
848
|
+
props: /*@__PURE__*/ sn({
|
|
848
849
|
segments: { default: () => [] },
|
|
849
850
|
showLegend: {
|
|
850
851
|
type: Boolean,
|
|
@@ -871,12 +872,12 @@ var kn = [
|
|
|
871
872
|
selectedIndexes: { default: () => [] },
|
|
872
873
|
selectedIndexesModifiers: {}
|
|
873
874
|
}),
|
|
874
|
-
emits: /*@__PURE__*/
|
|
875
|
+
emits: /*@__PURE__*/ sn(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
|
|
875
876
|
setup(e, { expose: t, emit: n }) {
|
|
876
|
-
let r =
|
|
877
|
+
let r = pn(e, "selectedIndex"), i = pn(e, "selectedIndexes"), a = n, o = _t, s = mn("chartRootRef"), c = mn("chartCanvasRef"), l = A(() => e.loading ? kr : e.segments), u = A(() => l.value.map((t, n) => Mn(n, s.value, t.fillColor, e.loading))), d = A(() => l.value.map((e, t) => ({
|
|
877
878
|
segment: e,
|
|
878
879
|
segmentIndex: t
|
|
879
|
-
})).filter(({ segment: e }) => e.value > 0)), f = A(() => d.value.map(({ segment: e }) => e)), p = A(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ?
|
|
880
|
+
})).filter(({ segment: e }) => e.value > 0)), f = A(() => d.value.map(({ segment: e }) => e)), p = A(() => d.value.map(({ segmentIndex: e }) => _.value && !i.value.includes(e) ? ft(s.value) : u.value[e] ?? "")), m = A(() => {
|
|
880
881
|
let e = /* @__PURE__ */ new Map();
|
|
881
882
|
return d.value.forEach(({ segmentIndex: t }, n) => {
|
|
882
883
|
e.set(t, n);
|
|
@@ -895,7 +896,7 @@ var kn = [
|
|
|
895
896
|
}, b = kt("onSegmentClick"), x = (t) => {
|
|
896
897
|
let n = d.value[t];
|
|
897
898
|
return n && e.formatTooltip ? e.formatTooltip(n.segment, n.segmentIndex) : [];
|
|
898
|
-
}, ee = A(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), S = A(() => _.value && h.value === null ? i.value : []), C = A(() =>
|
|
899
|
+
}, ee = A(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), S = A(() => _.value && h.value === null ? i.value : []), C = A(() => Or({
|
|
899
900
|
segments: f.value,
|
|
900
901
|
segmentColors: p.value,
|
|
901
902
|
colorHostElement: s.value,
|
|
@@ -918,7 +919,7 @@ var kn = [
|
|
|
918
919
|
}), re = (e) => e === null ? null : m.value.get(e) ?? null, ie = (t) => {
|
|
919
920
|
e.selectable && (h.value = t), te(re(t));
|
|
920
921
|
};
|
|
921
|
-
return
|
|
922
|
+
return hn([T, r], () => {
|
|
922
923
|
e.selectable && !e.loading && ne(re(r.value));
|
|
923
924
|
}), t({ exportImage: E }), (t, n) => (B(), N("div", {
|
|
924
925
|
ref_key: "chartRootRef",
|
|
@@ -928,7 +929,7 @@ var kn = [
|
|
|
928
929
|
}, [P("div", {
|
|
929
930
|
class: "s-ui-chart-segmented-bar__canvas-wrap",
|
|
930
931
|
onMouseleave: n[0] ||= (e) => y(null)
|
|
931
|
-
}, [I(G(
|
|
932
|
+
}, [I(G(dt), {
|
|
932
933
|
loading: e.loading,
|
|
933
934
|
type: G(o).CARTESIAN
|
|
934
935
|
}, {
|
|
@@ -959,28 +960,28 @@ var kn = [
|
|
|
959
960
|
"active-indexes"
|
|
960
961
|
])) : M("", !0)], 2));
|
|
961
962
|
}
|
|
962
|
-
}),
|
|
963
|
+
}), jr = {
|
|
963
964
|
key: 0,
|
|
964
965
|
class: "s-ui-chart-widget__header"
|
|
965
|
-
},
|
|
966
|
+
}, Mr = {
|
|
966
967
|
key: 0,
|
|
967
968
|
class: "s-ui-chart-widget__title-skeleton",
|
|
968
969
|
"aria-hidden": "true"
|
|
969
|
-
},
|
|
970
|
+
}, Nr = {
|
|
970
971
|
key: 1,
|
|
971
972
|
class: "s-ui-chart-widget__heading"
|
|
972
|
-
},
|
|
973
|
+
}, Pr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Fr = {
|
|
973
974
|
key: 0,
|
|
974
975
|
class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
|
|
975
|
-
},
|
|
976
|
+
}, Ir = { class: "s-ui-chart-widget__controls" }, Lr = {
|
|
976
977
|
key: 1,
|
|
977
978
|
class: "s-ui-chart-widget__content"
|
|
978
|
-
},
|
|
979
|
+
}, Rr = {
|
|
979
980
|
key: 2,
|
|
980
981
|
class: "s-ui-chart-widget__footer"
|
|
981
|
-
},
|
|
982
|
+
}, zr = /* @__PURE__ */ L({
|
|
982
983
|
__name: "SChartWidget",
|
|
983
|
-
props: /*@__PURE__*/
|
|
984
|
+
props: /*@__PURE__*/ sn({
|
|
984
985
|
title: { default: "" },
|
|
985
986
|
subtitle: { default: "" },
|
|
986
987
|
collapsible: {
|
|
@@ -1004,12 +1005,12 @@ var kn = [
|
|
|
1004
1005
|
}),
|
|
1005
1006
|
emits: ["update:collapsed"],
|
|
1006
1007
|
setup(e) {
|
|
1007
|
-
let t =
|
|
1008
|
+
let t = pn(e, "collapsed"), n = K(), { t: r } = On(), i = A(() => !!e.subtitle || !!n.subtitle), a = A(() => !!e.title || !!n.title || i.value || !!n.actions || e.collapsible), o = A(() => !!n.footer), s = A(() => !t.value || !e.collapsible || !e.hideContentWhenCollapsed), c = A(() => r(t.value ? "chartWidget.expand" : "chartWidget.collapse"));
|
|
1008
1009
|
return (n, r) => (B(), N("div", {
|
|
1009
1010
|
class: R(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
|
|
1010
1011
|
"data-qa": "ui:chart-widget"
|
|
1011
1012
|
}, [
|
|
1012
|
-
a.value ? (B(), N("div",
|
|
1013
|
+
a.value ? (B(), N("div", jr, [e.loading ? (B(), N("span", Mr)) : (B(), N("span", Nr, [P("span", Pr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Fr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Ir, [U(n.$slots, "actions"), e.collapsible ? (B(), j(G(E), {
|
|
1013
1014
|
key: 0,
|
|
1014
1015
|
appearance: G(w).OUTLINED,
|
|
1015
1016
|
variant: G(C).NEUTRAL,
|
|
@@ -1026,83 +1027,83 @@ var kn = [
|
|
|
1026
1027
|
"aria-label",
|
|
1027
1028
|
"aria-expanded"
|
|
1028
1029
|
])) : M("", !0)])])) : M("", !0),
|
|
1029
|
-
s.value ? (B(), N("div",
|
|
1030
|
-
o.value ? (B(), N("div",
|
|
1030
|
+
s.value ? (B(), N("div", Lr, [U(n.$slots, "default")])) : M("", !0),
|
|
1031
|
+
o.value ? (B(), N("div", Rr, [U(n.$slots, "footer")])) : M("", !0)
|
|
1031
1032
|
], 2));
|
|
1032
1033
|
}
|
|
1033
|
-
}),
|
|
1034
|
+
}), Br = /* @__PURE__ */ function(e) {
|
|
1034
1035
|
return e.UNDONE = "undone", e.GENERATED = "generated", e.ON_PLAN = "on-plan", e.RISK = "risk", e.DEVIATED = "deviated", e.ON_PAUSE = "on-pause", e.DONE = "done", e;
|
|
1035
|
-
}({}),
|
|
1036
|
+
}({}), Vr = /^(\d{4})-(\d{2})-(\d{2})/, Hr = (e) => {
|
|
1036
1037
|
if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
|
|
1037
1038
|
year: e.getFullYear(),
|
|
1038
1039
|
month: e.getMonth(),
|
|
1039
1040
|
day: e.getDate()
|
|
1040
1041
|
};
|
|
1041
|
-
let t =
|
|
1042
|
+
let t = Vr.exec(e);
|
|
1042
1043
|
return t ? {
|
|
1043
1044
|
year: Number(t[1]),
|
|
1044
1045
|
month: Number(t[2]) - 1,
|
|
1045
1046
|
day: Number(t[3])
|
|
1046
1047
|
} : null;
|
|
1047
|
-
},
|
|
1048
|
+
}, Ur = (e, t) => new Date(e, t + 1, 0).getDate(), Wr = 12, Gr = (e, t, n = !1) => {
|
|
1048
1049
|
if (e.year < t) return 0;
|
|
1049
1050
|
if (e.year > t) return 100;
|
|
1050
|
-
let r =
|
|
1051
|
-
return (e.month + i / r) /
|
|
1052
|
-
},
|
|
1051
|
+
let r = Ur(e.year, e.month), i = n ? e.day : e.day - 1;
|
|
1052
|
+
return (e.month + i / r) / Wr * 100;
|
|
1053
|
+
}, Kr = (e) => {
|
|
1053
1054
|
let t = new Intl.DateTimeFormat(e, { month: "long" });
|
|
1054
|
-
return Array.from({ length:
|
|
1055
|
+
return Array.from({ length: Wr }, (n, r) => {
|
|
1055
1056
|
let i = t.format(new Date(2e3, r, 1));
|
|
1056
1057
|
return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
|
|
1057
1058
|
});
|
|
1058
|
-
},
|
|
1059
|
-
let a =
|
|
1059
|
+
}, qr = (e) => Math.min(100, Math.max(0, e)), Jr = (e, t, n, r, i) => e.flatMap((e) => {
|
|
1060
|
+
let a = Hr(e.date);
|
|
1060
1061
|
if (!a || a.year !== n) return [];
|
|
1061
|
-
let o =
|
|
1062
|
+
let o = Gr(a, n, !0), s = i > 0 ? qr((o - r) / i * 100) : 0;
|
|
1062
1063
|
return [{
|
|
1063
1064
|
milestone: e,
|
|
1064
1065
|
status: e.status ?? t,
|
|
1065
1066
|
offset: s
|
|
1066
1067
|
}];
|
|
1067
|
-
}),
|
|
1068
|
-
let n =
|
|
1068
|
+
}), Yr = (e, t) => e.flatMap((e) => {
|
|
1069
|
+
let n = Hr(e.start), r = Hr(e.end);
|
|
1069
1070
|
if (!n || !r || n.year > t || r.year < t) return [];
|
|
1070
|
-
let i =
|
|
1071
|
+
let i = Gr(n, t), a = Gr(r, t, !0);
|
|
1071
1072
|
if (a <= i) return [];
|
|
1072
|
-
let o = e.status ??
|
|
1073
|
+
let o = e.status ?? Br.ON_PLAN, s = a - i;
|
|
1073
1074
|
return [{
|
|
1074
1075
|
item: e,
|
|
1075
1076
|
status: o,
|
|
1076
1077
|
left: i,
|
|
1077
1078
|
width: s,
|
|
1078
|
-
progress: e.progress === void 0 ? null :
|
|
1079
|
-
milestones:
|
|
1079
|
+
progress: e.progress === void 0 ? null : qr(Math.round(e.progress)),
|
|
1080
|
+
milestones: Jr(e.milestones ?? [], o, t, i, s)
|
|
1080
1081
|
}];
|
|
1081
|
-
}),
|
|
1082
|
+
}), Xr = ["aria-busy"], Zr = { class: "s-ui-roadmap__ruler" }, Qr = { class: "s-ui-roadmap__year" }, $r = { class: "s-ui-roadmap__months" }, ei = { class: "s-ui-roadmap__body" }, ti = {
|
|
1082
1083
|
class: "s-ui-roadmap__grid",
|
|
1083
1084
|
"aria-hidden": "true"
|
|
1084
|
-
},
|
|
1085
|
+
}, ni = {
|
|
1085
1086
|
key: 1,
|
|
1086
1087
|
class: "s-ui-roadmap__rows"
|
|
1087
|
-
},
|
|
1088
|
+
}, ri = { class: "s-ui-roadmap__row" }, ii = {
|
|
1088
1089
|
key: 2,
|
|
1089
1090
|
class: "s-ui-roadmap__rows"
|
|
1090
|
-
},
|
|
1091
|
+
}, ai = [
|
|
1091
1092
|
"role",
|
|
1092
1093
|
"tabindex",
|
|
1093
1094
|
"onClick",
|
|
1094
1095
|
"onKeydown"
|
|
1095
|
-
],
|
|
1096
|
+
], oi = { class: "s-ui-roadmap__card-header" }, si = { class: "s-ui-roadmap__card-title" }, ci = { class: "s-ui-roadmap__card-track" }, li = [
|
|
1096
1097
|
"title",
|
|
1097
1098
|
"aria-label",
|
|
1098
1099
|
"onClick"
|
|
1099
|
-
],
|
|
1100
|
+
], ui = {
|
|
1100
1101
|
key: 0,
|
|
1101
1102
|
class: "s-ui-roadmap__card-progress"
|
|
1102
|
-
},
|
|
1103
|
+
}, di = { class: "s-ui-roadmap__card-percent" }, fi = {
|
|
1103
1104
|
key: 3,
|
|
1104
1105
|
class: "s-ui-roadmap__empty"
|
|
1105
|
-
},
|
|
1106
|
+
}, pi = 3.8, mi = 39.6, hi = 16, gi = 16, _i = /* @__PURE__ */ L({
|
|
1106
1107
|
__name: "SRoadmap",
|
|
1107
1108
|
props: {
|
|
1108
1109
|
items: { default: () => [] },
|
|
@@ -1117,12 +1118,12 @@ var kn = [
|
|
|
1117
1118
|
},
|
|
1118
1119
|
emits: ["itemClick", "milestoneClick"],
|
|
1119
1120
|
setup(e, { emit: t }) {
|
|
1120
|
-
let n = t, r =
|
|
1121
|
-
insetInlineStart: `${
|
|
1122
|
-
inlineSize: `${
|
|
1123
|
-
}, { t: l, locale: u } =
|
|
1121
|
+
let n = t, r = hi / 2, i = J.stageFill, a = J.milestoneFill, o = vn.SMALL, s = yn.S_ROADMAP_CARD, c = {
|
|
1122
|
+
insetInlineStart: `${pi}%`,
|
|
1123
|
+
inlineSize: `${mi}%`
|
|
1124
|
+
}, { t: l, locale: u } = On(), d = kt("onItemClick"), f = kt("onMilestoneClick"), p = V(null), m = A(() => d() ? e.itemActionLabel : void 0), h = A(() => f() ? e.milestoneActionLabel : void 0), g = A(() => p.value ? {
|
|
1124
1125
|
insetInlineStart: `${p.value.x}px`,
|
|
1125
|
-
insetBlockStart: `${p.value.y +
|
|
1126
|
+
insetBlockStart: `${p.value.y + gi}px`
|
|
1126
1127
|
} : void 0), _ = (e, t) => {
|
|
1127
1128
|
p.value = e ? {
|
|
1128
1129
|
text: e,
|
|
@@ -1131,11 +1132,11 @@ var kn = [
|
|
|
1131
1132
|
} : null;
|
|
1132
1133
|
}, v = () => {
|
|
1133
1134
|
p.value = null;
|
|
1134
|
-
}, y = A(() =>
|
|
1135
|
+
}, y = A(() => Hr(e.today ?? /* @__PURE__ */ new Date())), b = A(() => e.year ?? y.value?.year ?? (/* @__PURE__ */ new Date()).getFullYear()), x = A(() => y.value?.year === b.value), ee = A(() => ["s-ui-roadmap", { "s-ui-roadmap--loading": e.loading }]), S = A(() => Kr(String(fn(u))).map((e, t) => ({
|
|
1135
1136
|
index: t,
|
|
1136
1137
|
label: e,
|
|
1137
1138
|
classes: ["s-ui-roadmap__month", { "s-ui-roadmap__month--current": x.value && y.value?.month === t }]
|
|
1138
|
-
}))), C = A(() => !x.value || !y.value ? null : { insetInlineStart: `${
|
|
1139
|
+
}))), C = A(() => !x.value || !y.value ? null : { insetInlineStart: `${Gr(y.value, b.value)}%` }), w = A(() => Yr(e.items, b.value).map((e) => ({
|
|
1139
1140
|
key: e.item.id,
|
|
1140
1141
|
row: e,
|
|
1141
1142
|
role: d() ? "button" : void 0,
|
|
@@ -1156,7 +1157,7 @@ var kn = [
|
|
|
1156
1157
|
title: l("roadmap.milestone", { title: e.milestone.title }),
|
|
1157
1158
|
nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
|
|
1158
1159
|
classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
|
|
1159
|
-
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${
|
|
1160
|
+
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${hi}px))` }
|
|
1160
1161
|
}))
|
|
1161
1162
|
}))), T = (e) => {
|
|
1162
1163
|
n("itemClick", e);
|
|
@@ -1168,12 +1169,12 @@ var kn = [
|
|
|
1168
1169
|
"data-qa": "ui:roadmap",
|
|
1169
1170
|
"aria-busy": e.loading
|
|
1170
1171
|
}, [
|
|
1171
|
-
P("div",
|
|
1172
|
+
P("div", Zr, [P("div", Qr, W(b.value), 1), P("ol", $r, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("li", {
|
|
1172
1173
|
key: e.index,
|
|
1173
1174
|
class: R(e.classes)
|
|
1174
1175
|
}, W(e.label), 3))), 128))])]),
|
|
1175
|
-
P("div",
|
|
1176
|
-
P("div",
|
|
1176
|
+
P("div", ei, [
|
|
1177
|
+
P("div", ti, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("span", {
|
|
1177
1178
|
key: e.index,
|
|
1178
1179
|
class: "s-ui-roadmap__grid-column"
|
|
1179
1180
|
}))), 128))]),
|
|
@@ -1183,14 +1184,14 @@ var kn = [
|
|
|
1183
1184
|
style: z(C.value),
|
|
1184
1185
|
"aria-hidden": "true"
|
|
1185
1186
|
}, [...n[2] ||= [P("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : M("", !0),
|
|
1186
|
-
e.loading ? (B(), N("ul",
|
|
1187
|
+
e.loading ? (B(), N("ul", ni, [P("li", ri, [P("div", {
|
|
1187
1188
|
class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
|
|
1188
1189
|
style: c,
|
|
1189
1190
|
"aria-hidden": "true"
|
|
1190
|
-
}, [I(G(
|
|
1191
|
+
}, [I(G(Sn), {
|
|
1191
1192
|
class: "s-ui-roadmap__card-skeleton",
|
|
1192
1193
|
type: G(s)
|
|
1193
|
-
}, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul",
|
|
1194
|
+
}, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ii, [(B(!0), N(k, null, H(w.value, (e) => (B(), N("li", {
|
|
1194
1195
|
key: e.key,
|
|
1195
1196
|
class: "s-ui-roadmap__row"
|
|
1196
1197
|
}, [P("div", {
|
|
@@ -1199,12 +1200,12 @@ var kn = [
|
|
|
1199
1200
|
role: e.role,
|
|
1200
1201
|
tabindex: e.tabindex,
|
|
1201
1202
|
onClick: (t) => T(e.row.item),
|
|
1202
|
-
onKeydown:
|
|
1203
|
+
onKeydown: gn((t) => T(e.row.item), ["enter"]),
|
|
1203
1204
|
onPointermove: n[1] ||= (e) => _(m.value, e),
|
|
1204
1205
|
onPointerleave: v
|
|
1205
1206
|
}, [
|
|
1206
|
-
P("div",
|
|
1207
|
-
P("div",
|
|
1207
|
+
P("div", oi, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", si, W(e.row.item.title), 1)]),
|
|
1208
|
+
P("div", ci, [I(G(bn), {
|
|
1208
1209
|
class: "s-ui-roadmap__stage-icon",
|
|
1209
1210
|
name: G(i),
|
|
1210
1211
|
size: 16
|
|
@@ -1215,13 +1216,13 @@ var kn = [
|
|
|
1215
1216
|
style: z(t.style),
|
|
1216
1217
|
title: t.nativeTitle,
|
|
1217
1218
|
"aria-label": t.title,
|
|
1218
|
-
onClick:
|
|
1219
|
-
onPointermove: n[0] ||=
|
|
1220
|
-
}, [I(G(
|
|
1219
|
+
onClick: _n((n) => E(t.placement.milestone, e.row.item), ["stop"]),
|
|
1220
|
+
onPointermove: n[0] ||= _n((e) => _(h.value, e), ["stop"])
|
|
1221
|
+
}, [I(G(bn), {
|
|
1221
1222
|
name: G(a),
|
|
1222
1223
|
size: 16
|
|
1223
|
-
}, null, 8, ["name"])], 46,
|
|
1224
|
-
e.row.progress === null ? M("", !0) : (B(), N("div",
|
|
1224
|
+
}, null, 8, ["name"])], 46, li))), 128))]),
|
|
1225
|
+
e.row.progress === null ? M("", !0) : (B(), N("div", ui, [I(G(xn), {
|
|
1225
1226
|
class: "s-ui-roadmap__card-progress-bar",
|
|
1226
1227
|
value: e.row.progress,
|
|
1227
1228
|
size: G(o),
|
|
@@ -1230,17 +1231,17 @@ var kn = [
|
|
|
1230
1231
|
"value",
|
|
1231
1232
|
"size",
|
|
1232
1233
|
"aria-label"
|
|
1233
|
-
]), P("span",
|
|
1234
|
-
], 46,
|
|
1234
|
+
]), P("span", di, W(e.row.progress) + "%", 1)]))
|
|
1235
|
+
], 46, ai)]))), 128))])) : (B(), N("div", fi, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
|
|
1235
1236
|
]),
|
|
1236
|
-
(B(), j(
|
|
1237
|
+
(B(), j(an, { to: "body" }, [p.value ? (B(), N("span", {
|
|
1237
1238
|
key: 0,
|
|
1238
1239
|
class: "s-ui-roadmap__hint",
|
|
1239
1240
|
style: z(g.value),
|
|
1240
1241
|
role: "tooltip"
|
|
1241
1242
|
}, W(p.value.text), 5)) : M("", !0)]))
|
|
1242
|
-
], 10,
|
|
1243
|
+
], 10, Xr));
|
|
1243
1244
|
}
|
|
1244
1245
|
});
|
|
1245
1246
|
//#endregion
|
|
1246
|
-
export {
|
|
1247
|
+
export { Nt as CALENDAR_WEEK_SLOT_COUNT, Vt as DAY_TIMELINE_MINUTES, m as DEFAULT_COLOR_PALETTE, p as EAccentColor, w as EButtonAppearance, se as EButtonGroupLayout, T as EButtonSize, C as EButtonVariant, g as EColorFormat, Ce as EConnectedPositionStrategy, X as ENotificationLayout, Z as ENotificationLeftside, Y as ENotificationType, a as ESAvatarBadge, s as ESAvatarColor, ee as ESAvatarGroupSize, i as ESAvatarIconBackground, r as ESAvatarShape, o as ESAvatarSize, e as ESBadgeColor, t as ESBadgePlacement, Rt as ESCalendarEventDirection, Wt as ESCalendarMonthDayTone, he as ESCardLayout, vt as ESChartLegendSize, Tt as ESChartPieLegendView, fe as ESCheckboxColor, pe as ESCheckboxLabelPlacement, de as ESCheckboxSize, Me as ESChipColor, Ne as ESChipSize, h as ESColorPaletteLayout, Te as ESDropdownBoundary, Ee as ESDropdownPlacement, le as ESInlineGroupOrientation, at as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Xe as ESListGap, qe as ESListItemRole, Je as ESListItemVariant, ct as ESPhotoEditShape, lt as ESPhotoEditSize, et as ESRadioLabelPlacement, Br as ESRoadmapStatus, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Zt as ESTableCellState, en as ESTableCheckState, Yt as ESTableColumnAlign, Gt as ESTableColumnSticky, Qt as ESTableDropAction, tn as ESTableFooterTone, Kt as ESTableRowColor, Xt as ESTableRowHeightMode, rn as ESTableRowKind, qt as ESTableRowState, Jt as ESTableRowsDragMode, $t as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Pt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, qn as SBanner, E as SButton, ue as SButtonGroup, Ft as SCalendarMonth, Lt as SCalendarWeekGrid, ge as SCard, At as SChartBar, Ot as SChartBurnup, wt as SChartHorizontalBar, yt as SChartLegend, bt as SChartLine, Dt as SChartMultiLine, Et as SChartPie, jt as SChartProgress, Mt as SChartScatter, Ar as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, zr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, zt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, ce as SInlineGroup, ot as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Ze as SList, Ye as SListItem, ut as SPhotoEdit, tt as SRadio, _i as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, nn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, Jn as SToast, pr as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, $n as TOAST_AUTO_DURATION_MAX_MS, Qn as TOAST_AUTO_DURATION_MIN_MS, er as TOAST_AUTO_DURATION_MS_PER_CHAR, Bt as WORK_TIME_SOURCE_COLOR_VARS, Ht as WORK_TIME_SOURCE_ORDER, Ut as buildWorkTimeLegendItems, tr as computeAutoDuration, we as computeConnectedPosition, Cn as createUiKit, It as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, wn as setUiKitLocale, Tn as uiKitLocaleEn, En as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, fr as useToast, Dn as useUiKitI18n };
|