@shtabapp/ui-kit 1.74.0 → 1.75.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 +6 -0
- package/dist/SChartBar-BvytQ-2z.js +293 -0
- package/dist/SChartBar-BzCeNCsi.cjs +1 -0
- package/dist/SChartBurnup-BeQWgnGT.js +261 -0
- package/dist/SChartBurnup-joKIDLFb.cjs +1 -0
- package/dist/SChartHorizontalBar-C40Yroue.js +176 -0
- package/dist/SChartHorizontalBar-Dwln3uuE.cjs +1 -0
- package/dist/SChartLegend-D1gPKGm0.cjs +1 -0
- package/dist/SChartLegend-dDqLhvIj.js +88 -0
- package/dist/{SChartLine-v0tkmnN6.js → SChartLine-BV8Ytso5.js} +36 -36
- package/dist/{SChartLine-3l507dBg.cjs → SChartLine-DeJjaBmo.cjs} +1 -1
- package/dist/SChartMultiLine-7_HcvVEQ.js +279 -0
- package/dist/SChartMultiLine-Cl9Pf3Wp.cjs +1 -0
- package/dist/SChartPie-BiLoxutQ.js +267 -0
- package/dist/SChartPie-DccW5J0b.cjs +1 -0
- package/dist/{SChartProgress-9Zzy7E8K.cjs → SChartProgress-Cpdkad6Q.cjs} +1 -1
- package/dist/{SChartProgress-DUgSOdv7.js → SChartProgress-DSxJqRA0.js} +27 -27
- package/dist/{SChartStackedArea-Blpqa23h.js → SChartStackedArea-B28offwE.js} +44 -44
- package/dist/{SChartStackedArea-C3MezV9k.cjs → SChartStackedArea-Ce7xyhp1.cjs} +1 -1
- package/dist/{SChartStackedBar-CCxEXw1H.js → SChartStackedBar-C77FlKGS.js} +55 -55
- package/dist/{SChartStackedBar-CJ-UdOfv.cjs → SChartStackedBar-CqUDrFJ3.cjs} +1 -1
- package/dist/{STable-Ci_3UqBz.cjs → STable-BXVhLjSQ.cjs} +1 -1
- package/dist/{STable-CToIFCiU.js → STable-G2k-tI4g.js} +37 -36
- package/dist/applyChartHighlightedYTick-BHVwiljn.cjs +1 -0
- package/dist/applyChartHighlightedYTick-DmsstRVM.js +17 -0
- package/dist/buildMultiLineChartScales-Di-yTvEB.js +41 -0
- package/dist/buildMultiLineChartScales-lVP6h9H4.cjs +1 -0
- package/dist/components/SChartBar/SChartBar.types.d.ts +33 -4
- 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/index.d.ts +1 -1
- package/dist/components/SChartBar/index.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts +8 -2
- package/dist/components/SChartBar/utils/buildBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/createBarTargetLinePlugin.d.ts.map +1 -1
- package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts +7 -0
- package/dist/components/SChartBar/utils/createBarValueLabelPlugin.d.ts.map +1 -0
- package/dist/components/SChartBar/utils/demoBarSeries.d.ts +7 -1
- package/dist/components/SChartBar/utils/demoBarSeries.d.ts.map +1 -1
- package/dist/components/SChartBurnup/SChartBurnup.types.d.ts +8 -1
- package/dist/components/SChartBurnup/SChartBurnup.types.d.ts.map +1 -1
- package/dist/components/SChartBurnup/utils/buildBurnupChartConfig.d.ts.map +1 -1
- package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts +1 -0
- package/dist/components/SChartBurnup/utils/demoBurnupPoints.d.ts.map +1 -1
- package/dist/components/SChartLegend/SChartLegend.types.d.ts +17 -0
- package/dist/components/SChartLegend/SChartLegend.types.d.ts.map +1 -1
- package/dist/components/SChartLegend/SChartLegend.vue.d.ts +3 -1
- package/dist/components/SChartLegend/SChartLegend.vue.d.ts.map +1 -1
- package/dist/components/SChartLegend/index.d.ts +1 -0
- package/dist/components/SChartLegend/index.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 +3 -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 +9 -2
- package/dist/components/SChartMultiLine/utils/buildMultiLineChartConfig.d.ts.map +1 -1
- package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts +4 -1
- package/dist/components/SChartMultiLine/utils/demoMultiLineSeries.d.ts.map +1 -1
- package/dist/components/SChartPie/SChartPie.types.d.ts +27 -1
- package/dist/components/SChartPie/SChartPie.types.d.ts.map +1 -1
- package/dist/components/SChartPie/SChartPie.vue.d.ts +16 -2
- package/dist/components/SChartPie/SChartPie.vue.d.ts.map +1 -1
- package/dist/components/SChartPie/index.d.ts +2 -1
- package/dist/components/SChartPie/index.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/SChartPie/utils/demoPieSlices.d.ts +1 -0
- package/dist/components/SChartPie/utils/demoPieSlices.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts +9 -0
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.types.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts +14 -2
- package/dist/components/SChartSegmentedBar/SChartSegmentedBar.vue.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts +4 -1
- package/dist/components/SChartSegmentedBar/utils/buildSegmentedBarChartConfig.d.ts.map +1 -1
- package/dist/components/SChartSegmentedBar/utils/createSegmentedBarBadgePlugin.d.ts.map +1 -1
- package/dist/components/SList/utils/resolveListItemFields.d.ts +1 -1
- package/dist/components/SList/utils/resolveListItemFields.d.ts.map +1 -1
- package/dist/components/SRoadmap/SRoadmap.types.d.ts +47 -0
- package/dist/components/SRoadmap/SRoadmap.types.d.ts.map +1 -0
- package/dist/components/SRoadmap/SRoadmap.vue.d.ts +21 -0
- package/dist/components/SRoadmap/SRoadmap.vue.d.ts.map +1 -0
- package/dist/components/SRoadmap/index.d.ts +4 -0
- package/dist/components/SRoadmap/index.d.ts.map +1 -0
- package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts +19 -0
- package/dist/components/SRoadmap/utils/buildRoadmapRows.d.ts.map +1 -0
- package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts +5 -0
- package/dist/components/SRoadmap/utils/demoRoadmapItems.d.ts.map +1 -0
- package/dist/components/SRoadmap/utils/roadmapDate.d.ts +16 -0
- package/dist/components/SRoadmap/utils/roadmapDate.d.ts.map +1 -0
- package/dist/components/STable/STable.vue.d.ts.map +1 -1
- package/dist/components/STable/utils/useTableRowHydration.d.ts +3 -1
- package/dist/components/STable/utils/useTableRowHydration.d.ts.map +1 -1
- package/dist/composables/useChartInteractivity.d.ts +2 -1
- package/dist/composables/useChartInteractivity.d.ts.map +1 -1
- package/dist/{createChartCrosshairPlugin-B4e8d8OF.cjs → createChartCrosshairPlugin-BTPv09h4.cjs} +1 -1
- package/dist/{createChartCrosshairPlugin-C2NUAO5s.js → createChartCrosshairPlugin-EqMlaexu.js} +2 -2
- package/dist/createChartMarkersPlugin-BKxLg4pL.cjs +1 -0
- package/dist/{createChartMarkersPlugin-DkXituwE.js → createChartMarkersPlugin-DPvfZp_e.js} +11 -11
- 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.d.ts +2 -2
- package/dist/entries/chart-pie.d.ts.map +1 -1
- package/dist/entries/chart-pie.js +2 -2
- 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/table.cjs +1 -1
- package/dist/entries/table.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +7 -5
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +569 -303
- package/dist/resolveBarStackedSeriesColor-CjwUxrUx.js +11 -0
- package/dist/resolveBarStackedSeriesColor-Czkj5bJY.cjs +1 -0
- package/dist/resolveCssColorValue-BFMo08-w.cjs +1 -0
- package/dist/resolveCssColorValue-DH_SEZj4.js +8 -0
- package/dist/resolveSeriesPaletteColor-BepW1gdW.cjs +1 -0
- package/dist/{resolveSeriesPaletteColor-B7wHDj1L.js → resolveSeriesPaletteColor-DoPeNP_F.js} +3 -2
- package/dist/{resolveStackedChartContext-DxJNWqwE.js → resolveStackedChartContext-BbCzct6O.js} +5 -5
- package/dist/{resolveStackedChartContext-Br3N7ISo.cjs → resolveStackedChartContext-D4tuSA6Z.cjs} +1 -1
- package/dist/splitChartAxisLabel-D-IFyucJ.js +4 -0
- package/dist/splitChartAxisLabel-DAmQOJn6.cjs +2 -0
- package/dist/uikit-components.css +1 -1
- package/dist/useChartInteractivity-CaZ37kX-.cjs +1 -0
- package/dist/{useChartInteractivity-Cl06JL4l.js → useChartInteractivity-DygkiRA1.js} +178 -144
- package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts +3 -1
- package/dist/utils/chart/burnup/createBurnupTooltipCallbacks.d.ts.map +1 -1
- package/dist/utils/chart/chart.types.d.ts +10 -0
- package/dist/utils/chart/chart.types.d.ts.map +1 -1
- package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts +19 -0
- package/dist/utils/chart/core/applyChartHighlightedYTick.d.ts.map +1 -0
- package/dist/utils/chart/core/chartCssVariables.d.ts +3 -0
- package/dist/utils/chart/core/chartCssVariables.d.ts.map +1 -1
- package/dist/utils/chart/core/chartInteractivity.d.ts +9 -2
- package/dist/utils/chart/core/chartInteractivity.d.ts.map +1 -1
- package/dist/utils/chart/core/createChartMarkersPlugin.d.ts.map +1 -1
- package/dist/utils/chart/core/resolveSeriesPaletteColor.d.ts.map +1 -1
- package/dist/utils/chart/core/splitChartAxisLabel.d.ts +2 -0
- package/dist/utils/chart/core/splitChartAxisLabel.d.ts.map +1 -0
- package/dist/utils/chart/css/resolveCssColorValue.d.ts +2 -0
- package/dist/utils/chart/css/resolveCssColorValue.d.ts.map +1 -0
- package/dist/utils/chart/horizontalBar/resolveHorizontalBarColor.d.ts.map +1 -1
- package/dist/utils/chart/index.d.ts +4 -1
- package/dist/utils/chart/index.d.ts.map +1 -1
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts +119 -14
- package/dist/utils/chart/multiLine/buildMultiLineChartScales.d.ts.map +1 -1
- package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts +7 -2
- package/dist/utils/chart/multiLine/createMultiLineTooltipCallbacks.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/SChartBar-CUAibXox.js +0 -215
- package/dist/SChartBar-xzw8oxXl.cjs +0 -1
- package/dist/SChartBurnup-C5Z7UDi-.js +0 -250
- package/dist/SChartBurnup-CWSJUoA_.cjs +0 -1
- package/dist/SChartHorizontalBar-0RpJa5EJ.cjs +0 -1
- package/dist/SChartHorizontalBar-B9SWFvdN.js +0 -175
- package/dist/SChartLegend-DGtjd6zV.cjs +0 -1
- package/dist/SChartLegend-oZoF8XK7.js +0 -42
- package/dist/SChartMultiLine-CG6dKmWm.js +0 -244
- package/dist/SChartMultiLine-vz7JdyA3.cjs +0 -1
- package/dist/SChartPie-0ugeo2fO.js +0 -182
- package/dist/SChartPie-QpnxLQYv.cjs +0 -1
- package/dist/buildMultiLineChartScales-7mcIfRVG.cjs +0 -1
- package/dist/buildMultiLineChartScales-CFZ8YVeJ.js +0 -19
- package/dist/createChartMarkersPlugin-Cg1yGzxW.cjs +0 -1
- package/dist/resolveBarStackedSeriesColor-DM7Ax0-s.js +0 -11
- package/dist/resolveBarStackedSeriesColor-z3NP5vAS.cjs +0 -1
- package/dist/resolveSeriesPaletteColor-D0XlU5vT.cjs +0 -1
- package/dist/useChartInteractivity-LbJiqlvI.cjs +0 -1
package/dist/index.js
CHANGED
|
@@ -3,56 +3,56 @@ import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-hWbsODUa.js";
|
|
|
3
3
|
import { i as l, n as u, r as d, t as f } from "./SColorPicker-BjtlrGHZ.js";
|
|
4
4
|
import { a as p, i as m, n as h, o as g, r as _, t as v } from "./SColorPalette-OCu-tgZ3.js";
|
|
5
5
|
import { a as y, i as b, r as x } from "./colorValue-CSh0chxp.js";
|
|
6
|
-
import { n as ee, t as
|
|
7
|
-
import { i as
|
|
8
|
-
import { a as
|
|
9
|
-
import { n as
|
|
10
|
-
import { i as
|
|
11
|
-
import { i as
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { t as
|
|
16
|
-
import { a as
|
|
17
|
-
import { n as
|
|
18
|
-
import { t as
|
|
19
|
-
import { n as
|
|
20
|
-
import { n as
|
|
21
|
-
import { t as
|
|
22
|
-
import { n as
|
|
23
|
-
import { n as
|
|
24
|
-
import { n as
|
|
25
|
-
import { a as
|
|
26
|
-
import { n as
|
|
27
|
-
import { a as
|
|
28
|
-
import { n as
|
|
29
|
-
import { n as
|
|
30
|
-
import { n as
|
|
31
|
-
import { n as
|
|
32
|
-
import { t as
|
|
33
|
-
import { n as
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { t as
|
|
42
|
-
import { t as
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
46
|
-
import { t as
|
|
47
|
-
import { a as
|
|
48
|
-
import { a as
|
|
49
|
-
import { Fragment as
|
|
50
|
-
import { ESIconName as
|
|
51
|
-
import { useResizeObserver as
|
|
6
|
+
import { n as ee, t as S } from "./SAvatarGroup-CSSCQKdH.js";
|
|
7
|
+
import { i as C, n as w, r as T, t as E } from "./SButton-LAOBxpd4.js";
|
|
8
|
+
import { a as te, n as ne, o as re, r as ie, t as ae } from "./useSelectionGroup-BCAmPf3R.js";
|
|
9
|
+
import { n as oe } from "./useSelectLink-2aCIYmF6.js";
|
|
10
|
+
import { i as se, n as ce, r as le, t as ue } from "./SButtonGroup-DPq5g7bZ.js";
|
|
11
|
+
import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-BMkOc5cn.js";
|
|
12
|
+
import { n as he, t as ge } from "./SCard-DgGxjBUV.js";
|
|
13
|
+
import { n as _e, t as ve } from "./SSegmentControl-Bjech2v4.js";
|
|
14
|
+
import { n as ye, r as be, t as xe } from "./STab-ltjZBvbK.js";
|
|
15
|
+
import { t as Se } from "./STabs-BARXqgoB.js";
|
|
16
|
+
import { a as Ce, i as we, o as Te, s as Ee, t as De } from "./useFloatingOverlay-TxzVisMJ.js";
|
|
17
|
+
import { n as Oe, r as ke, t as Ae } from "./STag-C5KhPWjQ.js";
|
|
18
|
+
import { t as je } from "./STagGroup-BGwvunuu.js";
|
|
19
|
+
import { n as Me, r as Ne, t as Pe } from "./SChip-NDTK29yq.js";
|
|
20
|
+
import { n as Fe, t as Ie } from "./SDropdown-cNmJ5Lrz.js";
|
|
21
|
+
import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
|
|
22
|
+
import { n as Re, t as ze } from "./SInput-D8NftspL.js";
|
|
23
|
+
import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
|
|
24
|
+
import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
|
|
25
|
+
import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
|
|
26
|
+
import { n as qe, t as Je } from "./SListItem-BOSQGRWA.js";
|
|
27
|
+
import { a as Ye, t as Xe } from "./SList-BuXrkB03.js";
|
|
28
|
+
import { n as Ze, t as Qe } from "./SSelect-rpJCD5PL.js";
|
|
29
|
+
import { n as $e, t as et } from "./SRadio-D6_Pd6XX.js";
|
|
30
|
+
import { n as tt, r as nt, t as rt } from "./SToggle-sGw-LSNd.js";
|
|
31
|
+
import { n as it, t as at } from "./SInlineInput-DO_glYxP.js";
|
|
32
|
+
import { t as ot } from "./STextarea-BDyy7Ku5.js";
|
|
33
|
+
import { n as st, r as ct, t as lt } from "./SPhotoEdit-r63G2NZI.js";
|
|
34
|
+
import { S as ut, T as D, a as dt, b as O, n as ft, o as pt, r as mt, t as ht, x as gt } from "./useChartInteractivity-DygkiRA1.js";
|
|
35
|
+
import { n as _t, t as vt } from "./SChartLegend-dDqLhvIj.js";
|
|
36
|
+
import { t as yt } from "./SChartLine-BV8Ytso5.js";
|
|
37
|
+
import { t as bt } from "./resolveSeriesPaletteColor-DoPeNP_F.js";
|
|
38
|
+
import { t as xt } from "./SChartStackedArea-B28offwE.js";
|
|
39
|
+
import { t as St } from "./SChartStackedBar-C77FlKGS.js";
|
|
40
|
+
import { t as Ct } from "./SChartHorizontalBar-C40Yroue.js";
|
|
41
|
+
import { n as wt, t as Tt } from "./SChartPie-BiLoxutQ.js";
|
|
42
|
+
import { t as Et } from "./SChartMultiLine-7_HcvVEQ.js";
|
|
43
|
+
import { t as Dt } from "./SChartBurnup-BeQWgnGT.js";
|
|
44
|
+
import { t as Ot } from "./useHasListener-RSjlUyqH.js";
|
|
45
|
+
import { t as kt } from "./SChartBar-BvytQ-2z.js";
|
|
46
|
+
import { t as At } from "./SChartProgress-DSxJqRA0.js";
|
|
47
|
+
import { a as jt, c as Mt, d as Nt, f as Pt, i as Ft, l as It, n as Lt, o as Rt, r as zt, s as Bt, t as Vt, u as Ht } from "./buildWorkTimeLegendItems-CifzZM9C.js";
|
|
48
|
+
import { a as Ut, c as Wt, d as Gt, f as Kt, i as qt, l as Jt, n as Yt, o as Xt, p as Zt, r as Qt, s as $t, t as en, u as tn } from "./STable-G2k-tI4g.js";
|
|
49
|
+
import { Fragment as k, Teleport as nn, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as rn, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as an, mergeProps as on, normalizeClass as R, normalizeStyle as z, onMounted as sn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as cn, shallowRef as ln, toDisplayString as W, toValue as un, unref as G, useModel as dn, useSlots as K, useTemplateRef as fn, watch as pn, withCtx as q, withKeys as mn, withModifiers as hn } from "vue";
|
|
50
|
+
import { ESIconName as J, ESProgressBarSize as gn, ESSkeletonType as _n, SIcon as vn, SProgressBar as yn, SSkeleton as bn, createUiKit as xn, setUiKitLocale as Sn, uiKitLocaleEn as Cn, uiKitLocaleRu as wn, useUiKitI18n as Tn, useUiKitI18n as En } from "@shtabapp/ui-kit-primitives";
|
|
51
|
+
import { useResizeObserver as Dn } from "@vueuse/core";
|
|
52
52
|
export * from "@shtabapp/ui-kit-primitives";
|
|
53
53
|
export * from "@shtabapp/ui-kit-tokens";
|
|
54
54
|
//#region src/utils/chart/segmentedBar/resolveSegmentedBarSegmentColor.ts
|
|
55
|
-
var
|
|
55
|
+
var On = [
|
|
56
56
|
"--s-ui-chart-segmented-bar-palette-1",
|
|
57
57
|
"--s-ui-chart-segmented-bar-palette-2",
|
|
58
58
|
"--s-ui-chart-segmented-bar-palette-3",
|
|
@@ -61,7 +61,7 @@ var K = [
|
|
|
61
61
|
"--s-ui-chart-segmented-bar-palette-6",
|
|
62
62
|
"--s-ui-chart-segmented-bar-palette-7",
|
|
63
63
|
"--s-ui-chart-segmented-bar-palette-8"
|
|
64
|
-
],
|
|
64
|
+
], kn = [
|
|
65
65
|
"--s-ui-chart-segmented-bar-skeleton-palette-1",
|
|
66
66
|
"--s-ui-chart-segmented-bar-skeleton-palette-2",
|
|
67
67
|
"--s-ui-chart-segmented-bar-skeleton-palette-3",
|
|
@@ -70,51 +70,51 @@ var K = [
|
|
|
70
70
|
"--s-ui-chart-segmented-bar-skeleton-palette-6",
|
|
71
71
|
"--s-ui-chart-segmented-bar-skeleton-palette-7",
|
|
72
72
|
"--s-ui-chart-segmented-bar-skeleton-palette-8"
|
|
73
|
-
],
|
|
74
|
-
palette:
|
|
75
|
-
paletteFallback:
|
|
76
|
-
skeletonPalette:
|
|
77
|
-
skeletonFallback:
|
|
78
|
-
}),
|
|
73
|
+
], An = (e, t, n, r = !1) => bt(e, t, n, r, {
|
|
74
|
+
palette: On,
|
|
75
|
+
paletteFallback: On[0],
|
|
76
|
+
skeletonPalette: kn,
|
|
77
|
+
skeletonFallback: kn[0]
|
|
78
|
+
}), Y = /* @__PURE__ */ function(e) {
|
|
79
79
|
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
|
-
}({}),
|
|
80
|
+
}({}), X = /* @__PURE__ */ function(e) {
|
|
81
81
|
return e.HORIZONTAL = "horizontal", e.VERTICAL = "vertical", e;
|
|
82
|
-
}({}),
|
|
82
|
+
}({}), Z = /* @__PURE__ */ function(e) {
|
|
83
83
|
return e.ICON = "icon", e.AVATAR = "avatar", e;
|
|
84
|
-
}({}),
|
|
84
|
+
}({}), jn = /* @__PURE__ */ function(e) {
|
|
85
85
|
return e.BANNER = "banner", e.TOAST = "toast", e;
|
|
86
|
-
}({}),
|
|
87
|
-
[
|
|
88
|
-
[
|
|
89
|
-
[
|
|
90
|
-
[
|
|
91
|
-
[
|
|
92
|
-
[
|
|
93
|
-
},
|
|
86
|
+
}({}), Mn = {
|
|
87
|
+
[Y.INFO_ACCENT]: J.infoCircle,
|
|
88
|
+
[Y.INFO_NORMAL]: J.infoCircle,
|
|
89
|
+
[Y.SUCCESS]: J.checkCircle,
|
|
90
|
+
[Y.WARNING]: J.alertCircle,
|
|
91
|
+
[Y.DANGER]: J.dangerCircleFill,
|
|
92
|
+
[Y.BILLING]: J.infoCircle
|
|
93
|
+
}, Nn = (e, t) => t || Mn[e], Pn = ["role"], Fn = { class: "s-ui-notification__body" }, In = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "s-ui-notification__leftside"
|
|
96
|
-
},
|
|
96
|
+
}, Ln = {
|
|
97
97
|
key: 0,
|
|
98
98
|
class: "s-ui-notification__icon"
|
|
99
|
-
},
|
|
99
|
+
}, Rn = { class: "s-ui-notification__content" }, zn = { class: "s-ui-notification__title-row" }, Bn = {
|
|
100
100
|
key: 0,
|
|
101
101
|
class: "s-ui-notification__description-block"
|
|
102
|
-
},
|
|
102
|
+
}, Vn = {
|
|
103
103
|
key: 0,
|
|
104
104
|
class: "s-ui-notification__description s-ui-typography-label-12-medium"
|
|
105
|
-
},
|
|
105
|
+
}, Hn = {
|
|
106
106
|
key: 1,
|
|
107
107
|
class: "s-ui-notification__actions-stack"
|
|
108
|
-
},
|
|
108
|
+
}, Un = {
|
|
109
109
|
key: 1,
|
|
110
110
|
class: "s-ui-notification__actions-row"
|
|
111
|
-
},
|
|
111
|
+
}, Wn = /* @__PURE__ */ L({
|
|
112
112
|
__name: "SNotification",
|
|
113
113
|
props: {
|
|
114
|
-
type: { default: () =>
|
|
115
|
-
layout: { default: () =>
|
|
116
|
-
leftside: { default: () =>
|
|
117
|
-
surface: { default: () =>
|
|
114
|
+
type: { default: () => Y.INFO_ACCENT },
|
|
115
|
+
layout: { default: () => X.HORIZONTAL },
|
|
116
|
+
leftside: { default: () => Z.ICON },
|
|
117
|
+
surface: { default: () => jn.BANNER },
|
|
118
118
|
title: {},
|
|
119
119
|
description: {},
|
|
120
120
|
linkText: {},
|
|
@@ -150,15 +150,15 @@ var K = [
|
|
|
150
150
|
"secondaryAction"
|
|
151
151
|
],
|
|
152
152
|
setup(e, { emit: t }) {
|
|
153
|
-
let n = t, r =
|
|
153
|
+
let n = t, r = K(), i = A(() => [
|
|
154
154
|
`s-ui-notification--type-${e.type}`,
|
|
155
155
|
`s-ui-notification--layout-${e.layout}`,
|
|
156
156
|
`s-ui-notification--surface-${e.surface}`,
|
|
157
157
|
{ "s-ui-notification--single-line": p.value }
|
|
158
|
-
]), a =
|
|
158
|
+
]), a = A(() => {
|
|
159
159
|
let t = {};
|
|
160
160
|
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 =
|
|
161
|
+
}), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() => Nn(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
162
|
n("close");
|
|
163
163
|
}, y = () => {
|
|
164
164
|
n("linkClick");
|
|
@@ -167,35 +167,35 @@ var K = [
|
|
|
167
167
|
}, x = () => {
|
|
168
168
|
n("secondaryAction");
|
|
169
169
|
};
|
|
170
|
-
return (t, n) => (
|
|
171
|
-
class:
|
|
172
|
-
style:
|
|
170
|
+
return (t, n) => (B(), N("div", {
|
|
171
|
+
class: R(["s-ui-notification", i.value]),
|
|
172
|
+
style: z(a.value),
|
|
173
173
|
role: s.value
|
|
174
|
-
}, [
|
|
175
|
-
d.value ? (
|
|
174
|
+
}, [P("div", Fn, [
|
|
175
|
+
d.value ? (B(), N("div", In, [e.leftside === G(Z).ICON ? (B(), N("div", Ln, [I(G(vn), {
|
|
176
176
|
name: l.value,
|
|
177
177
|
size: 16,
|
|
178
178
|
billing: u.value
|
|
179
|
-
}, null, 8, ["name", "billing"])])) : e.leftside ===
|
|
179
|
+
}, null, 8, ["name", "billing"])])) : e.leftside === G(Z).AVATAR && e.avatar ? (B(), j(G(c), {
|
|
180
180
|
key: 1,
|
|
181
181
|
name: e.avatar.name,
|
|
182
182
|
src: e.avatar.src,
|
|
183
183
|
badge: e.avatar.badge,
|
|
184
|
-
size:
|
|
184
|
+
size: G(o).SIZE_20,
|
|
185
185
|
showName: !1
|
|
186
186
|
}, null, 8, [
|
|
187
187
|
"name",
|
|
188
188
|
"src",
|
|
189
189
|
"badge",
|
|
190
190
|
"size"
|
|
191
|
-
])) :
|
|
192
|
-
|
|
193
|
-
|
|
191
|
+
])) : M("", !0)])) : M("", !0),
|
|
192
|
+
P("div", Rn, [
|
|
193
|
+
P("div", zn, [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
194
|
key: 0,
|
|
195
195
|
class: "s-ui-notification__close",
|
|
196
|
-
appearance:
|
|
197
|
-
variant:
|
|
198
|
-
size:
|
|
196
|
+
appearance: G(w).BARE,
|
|
197
|
+
variant: G(C).NEUTRAL,
|
|
198
|
+
size: G(T).SMALL,
|
|
199
199
|
"aria-label": e.closeAriaLabel,
|
|
200
200
|
icon: "closeMini",
|
|
201
201
|
onClick: v
|
|
@@ -204,87 +204,87 @@ var K = [
|
|
|
204
204
|
"variant",
|
|
205
205
|
"size",
|
|
206
206
|
"aria-label"
|
|
207
|
-
])) :
|
|
208
|
-
f.value ? (
|
|
207
|
+
])) : M("", !0)]),
|
|
208
|
+
f.value ? (B(), N("div", Bn, [e.description || G(r).description ? (B(), N("span", Vn, [U(t.$slots, "description", {}, () => [F(W(e.description), 1)])])) : M("", !0), e.linkText ? (B(), j(G(E), {
|
|
209
209
|
key: 1,
|
|
210
210
|
class: "s-ui-notification__link",
|
|
211
|
-
appearance:
|
|
212
|
-
variant:
|
|
213
|
-
size:
|
|
211
|
+
appearance: G(w).BARE,
|
|
212
|
+
variant: G(C).MAIN,
|
|
213
|
+
size: G(T).SMALL,
|
|
214
214
|
iconRight: e.linkIconRight,
|
|
215
215
|
onClick: y
|
|
216
216
|
}, {
|
|
217
|
-
default:
|
|
217
|
+
default: q(() => [F(W(e.linkText), 1)]),
|
|
218
218
|
_: 1
|
|
219
219
|
}, 8, [
|
|
220
220
|
"appearance",
|
|
221
221
|
"variant",
|
|
222
222
|
"size",
|
|
223
223
|
"iconRight"
|
|
224
|
-
])) :
|
|
225
|
-
e.layout ===
|
|
224
|
+
])) : M("", !0)])) : M("", !0),
|
|
225
|
+
e.layout === G(X).VERTICAL && m.value ? (B(), N("div", Hn, [e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
226
226
|
key: 0,
|
|
227
227
|
appearance: g.value,
|
|
228
228
|
variant: _.value,
|
|
229
|
-
size:
|
|
229
|
+
size: G(T).SMALL,
|
|
230
230
|
onClick: b
|
|
231
231
|
}, {
|
|
232
|
-
default:
|
|
232
|
+
default: q(() => [F(W(e.primaryButtonText), 1)]),
|
|
233
233
|
_: 1
|
|
234
234
|
}, 8, [
|
|
235
235
|
"appearance",
|
|
236
236
|
"variant",
|
|
237
237
|
"size"
|
|
238
|
-
])) :
|
|
238
|
+
])) : M("", !0), e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
|
|
239
239
|
key: 1,
|
|
240
|
-
appearance:
|
|
241
|
-
variant:
|
|
242
|
-
size:
|
|
240
|
+
appearance: G(w).BARE,
|
|
241
|
+
variant: G(C).NEUTRAL,
|
|
242
|
+
size: G(T).SMALL,
|
|
243
243
|
onClick: x
|
|
244
244
|
}, {
|
|
245
|
-
default:
|
|
245
|
+
default: q(() => [F(W(e.secondaryButtonText), 1)]),
|
|
246
246
|
_: 1
|
|
247
247
|
}, 8, [
|
|
248
248
|
"appearance",
|
|
249
249
|
"variant",
|
|
250
250
|
"size"
|
|
251
|
-
])) :
|
|
251
|
+
])) : M("", !0)])) : M("", !0)
|
|
252
252
|
]),
|
|
253
|
-
e.layout ===
|
|
254
|
-
e.showPrimaryButton && e.primaryButtonText ? (
|
|
253
|
+
e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div", Un, [
|
|
254
|
+
e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
255
255
|
key: 0,
|
|
256
256
|
appearance: g.value,
|
|
257
257
|
variant: _.value,
|
|
258
|
-
size:
|
|
258
|
+
size: G(T).SMALL,
|
|
259
259
|
onClick: b
|
|
260
260
|
}, {
|
|
261
|
-
default:
|
|
261
|
+
default: q(() => [F(W(e.primaryButtonText), 1)]),
|
|
262
262
|
_: 1
|
|
263
263
|
}, 8, [
|
|
264
264
|
"appearance",
|
|
265
265
|
"variant",
|
|
266
266
|
"size"
|
|
267
|
-
])) :
|
|
268
|
-
e.showPrimaryButton && e.secondaryButtonText ? (
|
|
267
|
+
])) : M("", !0),
|
|
268
|
+
e.showPrimaryButton && e.secondaryButtonText ? (B(), j(G(E), {
|
|
269
269
|
key: 1,
|
|
270
|
-
appearance:
|
|
271
|
-
variant:
|
|
272
|
-
size:
|
|
270
|
+
appearance: G(w).OUTLINED,
|
|
271
|
+
variant: G(C).MAIN,
|
|
272
|
+
size: G(T).SMALL,
|
|
273
273
|
onClick: x
|
|
274
274
|
}, {
|
|
275
|
-
default:
|
|
275
|
+
default: q(() => [F(W(e.secondaryButtonText), 1)]),
|
|
276
276
|
_: 1
|
|
277
277
|
}, 8, [
|
|
278
278
|
"appearance",
|
|
279
279
|
"variant",
|
|
280
280
|
"size"
|
|
281
|
-
])) :
|
|
282
|
-
e.layout ===
|
|
281
|
+
])) : M("", !0),
|
|
282
|
+
e.layout === G(X).HORIZONTAL && e.closable ? (B(), j(G(E), {
|
|
283
283
|
key: 2,
|
|
284
284
|
class: "s-ui-notification__close",
|
|
285
|
-
appearance:
|
|
286
|
-
variant:
|
|
287
|
-
size:
|
|
285
|
+
appearance: G(w).BARE,
|
|
286
|
+
variant: G(C).NEUTRAL,
|
|
287
|
+
size: G(T).SMALL,
|
|
288
288
|
"aria-label": e.closeAriaLabel,
|
|
289
289
|
icon: "closeMini",
|
|
290
290
|
onClick: v
|
|
@@ -293,16 +293,16 @@ var K = [
|
|
|
293
293
|
"variant",
|
|
294
294
|
"size",
|
|
295
295
|
"aria-label"
|
|
296
|
-
])) :
|
|
297
|
-
])) :
|
|
298
|
-
])], 14,
|
|
296
|
+
])) : M("", !0)
|
|
297
|
+
])) : M("", !0)
|
|
298
|
+
])], 14, Pn));
|
|
299
299
|
}
|
|
300
|
-
}),
|
|
300
|
+
}), Gn = /* @__PURE__ */ L({
|
|
301
301
|
__name: "SBanner",
|
|
302
302
|
props: {
|
|
303
|
-
type: { default: () =>
|
|
304
|
-
layout: { default: () =>
|
|
305
|
-
leftside: { default: () =>
|
|
303
|
+
type: { default: () => Y.INFO_ACCENT },
|
|
304
|
+
layout: { default: () => X.HORIZONTAL },
|
|
305
|
+
leftside: { default: () => Z.ICON },
|
|
306
306
|
elevated: {
|
|
307
307
|
type: Boolean,
|
|
308
308
|
default: !1
|
|
@@ -341,14 +341,14 @@ var K = [
|
|
|
341
341
|
"secondaryAction"
|
|
342
342
|
],
|
|
343
343
|
setup(e, { emit: t }) {
|
|
344
|
-
let n = t, r =
|
|
345
|
-
return (t, a) => (
|
|
346
|
-
class:
|
|
344
|
+
let n = t, r = K(), i = A(() => ({ "s-ui-banner--elevated": e.elevated }));
|
|
345
|
+
return (t, a) => (B(), j(Wn, {
|
|
346
|
+
class: R(["s-ui-banner", i.value]),
|
|
347
347
|
"data-qa": "ui:banner",
|
|
348
348
|
type: e.type,
|
|
349
349
|
layout: e.layout,
|
|
350
350
|
leftside: e.leftside,
|
|
351
|
-
surface:
|
|
351
|
+
surface: G(jn).BANNER,
|
|
352
352
|
title: e.title,
|
|
353
353
|
description: e.description,
|
|
354
354
|
linkText: e.linkText,
|
|
@@ -367,13 +367,13 @@ var K = [
|
|
|
367
367
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
368
368
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
369
369
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
370
|
-
},
|
|
370
|
+
}, rn({ _: 2 }, [G(r).title ? {
|
|
371
371
|
name: "title",
|
|
372
|
-
fn:
|
|
372
|
+
fn: q(() => [U(t.$slots, "title")]),
|
|
373
373
|
key: "0"
|
|
374
|
-
} : void 0,
|
|
374
|
+
} : void 0, G(r).description ? {
|
|
375
375
|
name: "description",
|
|
376
|
-
fn:
|
|
376
|
+
fn: q(() => [U(t.$slots, "description")]),
|
|
377
377
|
key: "1"
|
|
378
378
|
} : void 0]), 1032, [
|
|
379
379
|
"class",
|
|
@@ -397,12 +397,12 @@ var K = [
|
|
|
397
397
|
"truncateTitle"
|
|
398
398
|
]));
|
|
399
399
|
}
|
|
400
|
-
}),
|
|
400
|
+
}), Kn = /* @__PURE__ */ L({
|
|
401
401
|
__name: "SToast",
|
|
402
402
|
props: {
|
|
403
|
-
type: { default: () =>
|
|
404
|
-
layout: { default: () =>
|
|
405
|
-
leftside: { default: () =>
|
|
403
|
+
type: { default: () => Y.INFO_ACCENT },
|
|
404
|
+
layout: { default: () => X.HORIZONTAL },
|
|
405
|
+
leftside: { default: () => Z.ICON },
|
|
406
406
|
title: {},
|
|
407
407
|
description: {},
|
|
408
408
|
linkText: {},
|
|
@@ -432,14 +432,14 @@ var K = [
|
|
|
432
432
|
"secondaryAction"
|
|
433
433
|
],
|
|
434
434
|
setup(e, { emit: t }) {
|
|
435
|
-
let n = t, r =
|
|
436
|
-
return (t, a) => (
|
|
435
|
+
let n = t, r = K(), i = A(() => e.width ?? 360);
|
|
436
|
+
return (t, a) => (B(), j(Wn, {
|
|
437
437
|
class: "s-ui-toast",
|
|
438
438
|
"data-qa": "ui:toast",
|
|
439
439
|
type: e.type,
|
|
440
440
|
layout: e.layout,
|
|
441
441
|
leftside: e.leftside,
|
|
442
|
-
surface:
|
|
442
|
+
surface: G(jn).TOAST,
|
|
443
443
|
title: e.title,
|
|
444
444
|
description: e.description,
|
|
445
445
|
linkText: e.linkText,
|
|
@@ -456,13 +456,13 @@ var K = [
|
|
|
456
456
|
onLinkClick: a[1] ||= (e) => n("linkClick"),
|
|
457
457
|
onPrimaryAction: a[2] ||= (e) => n("primaryAction"),
|
|
458
458
|
onSecondaryAction: a[3] ||= (e) => n("secondaryAction")
|
|
459
|
-
},
|
|
459
|
+
}, rn({ _: 2 }, [G(r).title ? {
|
|
460
460
|
name: "title",
|
|
461
|
-
fn:
|
|
461
|
+
fn: q(() => [U(t.$slots, "title")]),
|
|
462
462
|
key: "0"
|
|
463
|
-
} : void 0,
|
|
463
|
+
} : void 0, G(r).description ? {
|
|
464
464
|
name: "description",
|
|
465
|
-
fn:
|
|
465
|
+
fn: q(() => [U(t.$slots, "description")]),
|
|
466
466
|
key: "1"
|
|
467
467
|
} : void 0]), 1032, [
|
|
468
468
|
"type",
|
|
@@ -483,13 +483,13 @@ var K = [
|
|
|
483
483
|
"truncateTitle"
|
|
484
484
|
]));
|
|
485
485
|
}
|
|
486
|
-
}),
|
|
486
|
+
}), qn = .05, Jn = [
|
|
487
487
|
"data-mounted",
|
|
488
488
|
"data-front",
|
|
489
489
|
"data-expanded",
|
|
490
490
|
"data-removed",
|
|
491
491
|
"data-visible"
|
|
492
|
-
],
|
|
492
|
+
], Yn = /* @__PURE__ */ L({
|
|
493
493
|
__name: "SToastProviderToast",
|
|
494
494
|
props: {
|
|
495
495
|
index: {},
|
|
@@ -502,7 +502,7 @@ var K = [
|
|
|
502
502
|
},
|
|
503
503
|
emits: ["heightChange"],
|
|
504
504
|
setup(e, { emit: t }) {
|
|
505
|
-
let n = t, r =
|
|
505
|
+
let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index * qn), c = A(() => ({
|
|
506
506
|
"--s-ui-toast-provider-toasts-before": String(e.index),
|
|
507
507
|
"--s-ui-toast-provider-lift-amount": `${e.stackPeek * -1}px`,
|
|
508
508
|
"--s-ui-toast-provider-front-toast-height": `${e.frontToastHeight}px`,
|
|
@@ -511,95 +511,95 @@ var K = [
|
|
|
511
511
|
"--s-ui-toast-provider-stack-scale": String(s.value),
|
|
512
512
|
zIndex: String(1e3 - e.index)
|
|
513
513
|
}));
|
|
514
|
-
return
|
|
514
|
+
return Dn(r, (e) => {
|
|
515
515
|
let t = e[0]?.contentRect.height ?? 0;
|
|
516
516
|
t !== i.value && (i.value = t, n("heightChange", t));
|
|
517
|
-
}),
|
|
517
|
+
}), sn(() => {
|
|
518
518
|
requestAnimationFrame(() => {
|
|
519
519
|
requestAnimationFrame(() => {
|
|
520
520
|
a.value = !0;
|
|
521
521
|
});
|
|
522
522
|
});
|
|
523
|
-
}), (t, n) => (
|
|
523
|
+
}), (t, n) => (B(), N("div", {
|
|
524
524
|
class: "s-ui-toast-provider__toast",
|
|
525
525
|
"data-mounted": a.value,
|
|
526
526
|
"data-front": o.value,
|
|
527
527
|
"data-expanded": e.expanded,
|
|
528
528
|
"data-removed": e.removed,
|
|
529
529
|
"data-visible": e.visible,
|
|
530
|
-
style:
|
|
531
|
-
}, [
|
|
530
|
+
style: z(c.value)
|
|
531
|
+
}, [P("div", {
|
|
532
532
|
ref_key: "contentRef",
|
|
533
533
|
ref: r,
|
|
534
534
|
class: "s-ui-toast-provider__toast-content"
|
|
535
|
-
}, [
|
|
535
|
+
}, [U(t.$slots, "default")], 512)], 12, Jn));
|
|
536
536
|
}
|
|
537
|
-
}),
|
|
538
|
-
let n =
|
|
539
|
-
return n > 1e4 ?
|
|
540
|
-
},
|
|
541
|
-
type:
|
|
542
|
-
layout:
|
|
543
|
-
leftside:
|
|
537
|
+
}), Xn = 4e3, Zn = 1e4, Qn = 50, $n = (e, t) => {
|
|
538
|
+
let n = Xn + (e.length + (t?.length ?? 0)) * 50;
|
|
539
|
+
return n > 1e4 ? Zn : n;
|
|
540
|
+
}, Q = ln([]), $ = /* @__PURE__ */ new Map(), er = 0, tr = {
|
|
541
|
+
type: Y.INFO_ACCENT,
|
|
542
|
+
layout: X.HORIZONTAL,
|
|
543
|
+
leftside: Z.ICON,
|
|
544
544
|
showPrimaryButton: !1,
|
|
545
545
|
closable: !0
|
|
546
|
-
},
|
|
547
|
-
let t =
|
|
548
|
-
t && (window.clearTimeout(t),
|
|
549
|
-
},
|
|
550
|
-
|
|
551
|
-
let t = e.duration === void 0 ?
|
|
546
|
+
}, nr = () => `toast-${Date.now()}-${++er}`, rr = (e) => {
|
|
547
|
+
let t = $.get(e);
|
|
548
|
+
t && (window.clearTimeout(t), $.delete(e));
|
|
549
|
+
}, ir = (e) => {
|
|
550
|
+
rr(e.id);
|
|
551
|
+
let t = e.duration === void 0 ? $n(e.title, e.description) : e.duration;
|
|
552
552
|
if (t > 0) {
|
|
553
553
|
let n = window.setTimeout(() => {
|
|
554
|
-
|
|
554
|
+
ar(e.id);
|
|
555
555
|
}, t);
|
|
556
|
-
|
|
556
|
+
$.set(e.id, n);
|
|
557
557
|
}
|
|
558
|
-
},
|
|
559
|
-
let t =
|
|
558
|
+
}, ar = (e) => {
|
|
559
|
+
let t = Q.value.findIndex((t) => t.id === e);
|
|
560
560
|
if (t === -1) return;
|
|
561
|
-
let n =
|
|
562
|
-
n && (
|
|
563
|
-
},
|
|
564
|
-
|
|
565
|
-
},
|
|
566
|
-
|
|
567
|
-
}), e.slice(0, 3)),
|
|
568
|
-
let t = e.id ??
|
|
569
|
-
...
|
|
561
|
+
let n = Q.value[t];
|
|
562
|
+
n && (rr(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
|
|
563
|
+
}, or = () => {
|
|
564
|
+
$.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
|
|
565
|
+
}, sr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
|
|
566
|
+
rr(e.id);
|
|
567
|
+
}), e.slice(0, 3)), cr = (e) => {
|
|
568
|
+
let t = e.id ?? nr(), n = {
|
|
569
|
+
...tr,
|
|
570
570
|
...e,
|
|
571
571
|
id: t
|
|
572
|
-
}, r =
|
|
572
|
+
}, r = Q.value.findIndex((e) => e.id === t);
|
|
573
573
|
if (r > -1) {
|
|
574
|
-
let e = [...
|
|
575
|
-
e[r] = n,
|
|
576
|
-
} else
|
|
577
|
-
return
|
|
578
|
-
},
|
|
579
|
-
let n =
|
|
574
|
+
let e = [...Q.value];
|
|
575
|
+
e[r] = n, Q.value = sr(e);
|
|
576
|
+
} else Q.value = sr([n, ...Q.value]);
|
|
577
|
+
return ir(n), t;
|
|
578
|
+
}, lr = (e, t) => {
|
|
579
|
+
let n = Q.value.findIndex((t) => t.id === e);
|
|
580
580
|
if (n === -1) return;
|
|
581
|
-
let r =
|
|
581
|
+
let r = Q.value[n];
|
|
582
582
|
if (!r) return;
|
|
583
583
|
let i = {
|
|
584
584
|
...r,
|
|
585
585
|
...t,
|
|
586
586
|
id: r.id
|
|
587
|
-
}, a = [...
|
|
588
|
-
a[n] = i,
|
|
589
|
-
},
|
|
590
|
-
toasts:
|
|
591
|
-
show:
|
|
592
|
-
hide:
|
|
593
|
-
hideAll:
|
|
594
|
-
update:
|
|
595
|
-
}),
|
|
587
|
+
}, a = [...Q.value];
|
|
588
|
+
a[n] = i, Q.value = a, ir(i);
|
|
589
|
+
}, ur = () => ({
|
|
590
|
+
toasts: Q,
|
|
591
|
+
show: cr,
|
|
592
|
+
hide: ar,
|
|
593
|
+
hideAll: or,
|
|
594
|
+
update: lr
|
|
595
|
+
}), dr = /* @__PURE__ */ L({
|
|
596
596
|
__name: "SToastProvider",
|
|
597
597
|
setup(e) {
|
|
598
|
-
let { toasts: t, hide: n } =
|
|
599
|
-
|
|
598
|
+
let { toasts: t, hide: n } = ur(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = ln({}), 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);
|
|
599
|
+
pn(c, (e) => {
|
|
600
600
|
e > 0 && (l.value = e);
|
|
601
601
|
});
|
|
602
|
-
let d =
|
|
602
|
+
let d = A(() => {
|
|
603
603
|
if (r.value.length === 0) return {};
|
|
604
604
|
if (i.value) return { height: `${r.value.reduce((e, t, n) => {
|
|
605
605
|
let r = a.value[t.id] ?? 0, i = n > 0 ? 4 : 0;
|
|
@@ -638,32 +638,32 @@ var K = [
|
|
|
638
638
|
}, b = (e) => {
|
|
639
639
|
e.onSecondaryAction && e.onSecondaryAction();
|
|
640
640
|
};
|
|
641
|
-
return (e, t) => (
|
|
641
|
+
return (e, t) => (B(), j(nn, { to: "body" }, [P("div", {
|
|
642
642
|
class: "s-ui-toast-provider",
|
|
643
643
|
onMouseenter: m,
|
|
644
644
|
onMouseleave: h
|
|
645
|
-
}, [r.value.length > 0 ? (
|
|
645
|
+
}, [r.value.length > 0 ? (B(), N("div", {
|
|
646
646
|
key: 0,
|
|
647
647
|
class: "s-ui-toast-provider__list",
|
|
648
|
-
style:
|
|
649
|
-
}, [(
|
|
648
|
+
style: z(d.value)
|
|
649
|
+
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Yn, {
|
|
650
650
|
key: t.id,
|
|
651
651
|
index: n,
|
|
652
652
|
expanded: i.value,
|
|
653
653
|
"front-toast-height": u.value,
|
|
654
|
-
"stack-peek":
|
|
654
|
+
"stack-peek": G(10),
|
|
655
655
|
removed: p(t.id),
|
|
656
|
-
visible: n <
|
|
656
|
+
visible: n < G(3),
|
|
657
657
|
"offset-y": f(n),
|
|
658
658
|
onHeightChange: (e) => g(t.id, e)
|
|
659
659
|
}, {
|
|
660
|
-
default:
|
|
660
|
+
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(cn(t.component), on({
|
|
661
661
|
key: 0,
|
|
662
662
|
ref_for: !0
|
|
663
663
|
}, t.componentProps, {
|
|
664
664
|
toast: t,
|
|
665
665
|
onClose: (e) => _(t.id)
|
|
666
|
-
}), null, 16, ["toast", "onClose"])) : (
|
|
666
|
+
}), null, 16, ["toast", "onClose"])) : (B(), j(G(Kn), {
|
|
667
667
|
key: 1,
|
|
668
668
|
type: t.type,
|
|
669
669
|
layout: t.layout,
|
|
@@ -715,12 +715,12 @@ var K = [
|
|
|
715
715
|
"visible",
|
|
716
716
|
"offset-y",
|
|
717
717
|
"onHeightChange"
|
|
718
|
-
]))), 128))], 4)) :
|
|
718
|
+
]))), 128))], 4)) : M("", !0)], 32)]));
|
|
719
719
|
}
|
|
720
|
-
}),
|
|
720
|
+
}), fr = 4, pr = 4, mr = 1, hr = "400 12px var(--s-ui-font-family-label)", gr = 4, _r = .5, vr = (e, t, n, r, i, a) => {
|
|
721
721
|
let o = Math.min(a, r / 2, i / 2);
|
|
722
722
|
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
|
-
},
|
|
723
|
+
}, yr = (e) => {
|
|
724
724
|
let t = e.getProps([
|
|
725
725
|
"x",
|
|
726
726
|
"y",
|
|
@@ -731,39 +731,42 @@ var K = [
|
|
|
731
731
|
width: Math.abs(n - i),
|
|
732
732
|
centerY: r
|
|
733
733
|
};
|
|
734
|
-
},
|
|
735
|
-
let a =
|
|
734
|
+
}, br = (e, t, n, r, i) => {
|
|
735
|
+
let a = yr(t);
|
|
736
736
|
if (!a) return;
|
|
737
|
-
let o = i ? i(n) : `${n}`, s = e.measureText(o).width +
|
|
738
|
-
if (a.width < s +
|
|
737
|
+
let o = i ? i(n) : `${n}`, s = e.measureText(o).width + fr * 2;
|
|
738
|
+
if (a.width < s + gr * 2) return;
|
|
739
739
|
let c = a.left + a.width / 2;
|
|
740
|
-
|
|
741
|
-
},
|
|
740
|
+
vr(e, c - s / 2, a.centerY - 20 / 2, s, 20, pr), e.fillStyle = r.background, e.fill(), e.lineWidth = mr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
|
|
741
|
+
}, xr = (e, t) => ({
|
|
742
742
|
id: "segmentedBarBadge",
|
|
743
743
|
afterDatasetsDraw(n) {
|
|
744
744
|
let r = {
|
|
745
|
-
background: D
|
|
746
|
-
border: D
|
|
747
|
-
text: D
|
|
745
|
+
background: O(D.pieBadgeBackground, e),
|
|
746
|
+
border: O(D.pieBadgeBorder, e),
|
|
747
|
+
text: O(D.pieBadgeText, e)
|
|
748
748
|
}, { ctx: i } = n;
|
|
749
|
-
i.save(), i.font =
|
|
750
|
-
|
|
751
|
-
|
|
749
|
+
i.save(), i.font = hr, i.textAlign = "center", i.textBaseline = "middle";
|
|
750
|
+
let a = dt(n);
|
|
751
|
+
n.data.datasets.forEach((e, o) => {
|
|
752
|
+
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 ? _r : 1, br(i, s, c, r, t));
|
|
752
754
|
}), i.restore();
|
|
753
755
|
}
|
|
754
|
-
}),
|
|
756
|
+
}), Sr = 40, Cr = 4, wr = 1, Tr = [
|
|
755
757
|
"mousemove",
|
|
756
758
|
"mouseout",
|
|
757
759
|
"click",
|
|
758
760
|
"touchstart",
|
|
759
761
|
"touchmove"
|
|
760
|
-
],
|
|
762
|
+
], Er = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
|
|
761
763
|
if (e.length === 0) return null;
|
|
762
|
-
let
|
|
764
|
+
let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = mt({
|
|
763
765
|
kind: "series",
|
|
764
766
|
skeleton: r,
|
|
765
767
|
colorHostElement: n,
|
|
766
|
-
onIndexClick: a
|
|
768
|
+
onIndexClick: a,
|
|
769
|
+
onHoverIndexChange: o
|
|
767
770
|
});
|
|
768
771
|
return {
|
|
769
772
|
type: "bar",
|
|
@@ -774,14 +777,14 @@ var K = [
|
|
|
774
777
|
data: [e.value],
|
|
775
778
|
backgroundColor: t[n],
|
|
776
779
|
hoverBackgroundColor: t[n],
|
|
777
|
-
borderColor:
|
|
780
|
+
borderColor: c,
|
|
778
781
|
borderWidth: {
|
|
779
|
-
left:
|
|
780
|
-
right:
|
|
782
|
+
left: wr,
|
|
783
|
+
right: wr
|
|
781
784
|
},
|
|
782
785
|
borderSkipped: !1,
|
|
783
|
-
borderRadius:
|
|
784
|
-
barThickness:
|
|
786
|
+
borderRadius: Cr,
|
|
787
|
+
barThickness: Sr,
|
|
785
788
|
stack: "track"
|
|
786
789
|
}))
|
|
787
790
|
},
|
|
@@ -790,24 +793,34 @@ var K = [
|
|
|
790
793
|
responsive: !0,
|
|
791
794
|
maintainAspectRatio: !1,
|
|
792
795
|
layout: { padding: 0 },
|
|
793
|
-
events: r ? [] :
|
|
794
|
-
onHover:
|
|
795
|
-
onClick:
|
|
796
|
+
events: r ? [] : Tr,
|
|
797
|
+
onHover: u.onHover,
|
|
798
|
+
onClick: u.onClick,
|
|
796
799
|
hover: r ? void 0 : {
|
|
797
800
|
mode: "nearest",
|
|
798
801
|
intersect: !0
|
|
799
802
|
},
|
|
800
|
-
elements: r ? void 0 : { bar: { hoverBorderColor:
|
|
803
|
+
elements: r ? void 0 : { bar: { hoverBorderColor: c } },
|
|
801
804
|
plugins: {
|
|
802
805
|
legend: { display: !1 },
|
|
803
|
-
tooltip: {
|
|
806
|
+
tooltip: {
|
|
807
|
+
enabled: !r && s !== void 0,
|
|
808
|
+
backgroundColor: O(D.tooltipBackground, n),
|
|
809
|
+
titleColor: O(D.tooltipText, n),
|
|
810
|
+
bodyColor: O(D.tooltipText, n),
|
|
811
|
+
displayColors: !1,
|
|
812
|
+
callbacks: {
|
|
813
|
+
title: () => "",
|
|
814
|
+
label: (e) => s?.(e.datasetIndex) ?? []
|
|
815
|
+
}
|
|
816
|
+
}
|
|
804
817
|
},
|
|
805
818
|
scales: {
|
|
806
819
|
x: {
|
|
807
820
|
display: !1,
|
|
808
821
|
stacked: !0,
|
|
809
822
|
min: 0,
|
|
810
|
-
max:
|
|
823
|
+
max: l
|
|
811
824
|
},
|
|
812
825
|
y: {
|
|
813
826
|
display: !1,
|
|
@@ -815,9 +828,9 @@ var K = [
|
|
|
815
828
|
}
|
|
816
829
|
}
|
|
817
830
|
},
|
|
818
|
-
plugins: [...r ? [] : [
|
|
831
|
+
plugins: [...r ? [] : [xr(n, i)], ...u.plugins]
|
|
819
832
|
};
|
|
820
|
-
},
|
|
833
|
+
}, Dr = [
|
|
821
834
|
4,
|
|
822
835
|
1,
|
|
823
836
|
2,
|
|
@@ -829,9 +842,9 @@ var K = [
|
|
|
829
842
|
].map((e, t) => ({
|
|
830
843
|
label: `Series ${t + 1}`,
|
|
831
844
|
value: e
|
|
832
|
-
})),
|
|
845
|
+
})), Or = /* @__PURE__ */ L({
|
|
833
846
|
__name: "SChartSegmentedBar",
|
|
834
|
-
props: {
|
|
847
|
+
props: /*@__PURE__*/ an({
|
|
835
848
|
segments: { default: () => [] },
|
|
836
849
|
showLegend: {
|
|
837
850
|
type: Boolean,
|
|
@@ -841,91 +854,133 @@ var K = [
|
|
|
841
854
|
type: Boolean,
|
|
842
855
|
default: !1
|
|
843
856
|
},
|
|
844
|
-
formatValue: { type: Function }
|
|
845
|
-
|
|
846
|
-
|
|
857
|
+
formatValue: { type: Function },
|
|
858
|
+
selectable: {
|
|
859
|
+
type: Boolean,
|
|
860
|
+
default: !1
|
|
861
|
+
},
|
|
862
|
+
multiple: {
|
|
863
|
+
type: Boolean,
|
|
864
|
+
default: !1
|
|
865
|
+
},
|
|
866
|
+
legendSize: { default: () => _t.SMALL },
|
|
867
|
+
formatTooltip: { type: Function }
|
|
868
|
+
}, {
|
|
869
|
+
selectedIndex: { default: null },
|
|
870
|
+
selectedIndexModifiers: {},
|
|
871
|
+
selectedIndexes: { default: () => [] },
|
|
872
|
+
selectedIndexesModifiers: {}
|
|
873
|
+
}),
|
|
874
|
+
emits: /*@__PURE__*/ an(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
|
|
847
875
|
setup(e, { expose: t, emit: n }) {
|
|
848
|
-
let r =
|
|
876
|
+
let r = dn(e, "selectedIndex"), i = dn(e, "selectedIndexes"), a = n, o = ut, s = fn("chartRootRef"), c = fn("chartCanvasRef"), l = A(() => e.loading ? Dr : e.segments), u = A(() => l.value.map((t, n) => An(n, s.value, t.fillColor, e.loading))), d = A(() => l.value.map((e, t) => ({
|
|
849
877
|
segment: e,
|
|
850
878
|
segmentIndex: t
|
|
851
|
-
})).filter(({ segment: e }) => e.value > 0)),
|
|
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) ? pt(s.value) : u.value[e] ?? "")), m = A(() => {
|
|
852
880
|
let e = /* @__PURE__ */ new Map();
|
|
853
|
-
return
|
|
881
|
+
return d.value.forEach(({ segmentIndex: t }, n) => {
|
|
854
882
|
e.set(t, n);
|
|
855
883
|
}), e;
|
|
856
|
-
}),
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
884
|
+
}), h = V(null), g = (t) => {
|
|
885
|
+
if (e.multiple) {
|
|
886
|
+
i.value = i.value.includes(t) ? i.value.filter((e) => e !== t) : [...i.value, t];
|
|
887
|
+
return;
|
|
888
|
+
}
|
|
889
|
+
r.value = r.value === t ? null : t;
|
|
890
|
+
}, _ = A(() => e.selectable && e.multiple && i.value.length > 0), v = (t) => {
|
|
891
|
+
let n = d.value[t];
|
|
892
|
+
n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
|
|
893
|
+
}, y = (e) => {
|
|
894
|
+
h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
|
|
895
|
+
}, b = Ot("onSegmentClick"), x = (t) => {
|
|
896
|
+
let n = d.value[t];
|
|
897
|
+
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(() => Er({
|
|
899
|
+
segments: f.value,
|
|
900
|
+
segmentColors: p.value,
|
|
901
|
+
colorHostElement: s.value,
|
|
863
902
|
skeleton: e.loading,
|
|
864
903
|
formatValue: e.formatValue,
|
|
865
|
-
onSegmentClick:
|
|
866
|
-
|
|
904
|
+
onSegmentClick: e.selectable || b() ? v : void 0,
|
|
905
|
+
onSegmentHover: e.selectable ? y : void 0,
|
|
906
|
+
resolveTooltipLines: e.formatTooltip ? x : void 0
|
|
907
|
+
})), w = A(() => l.value.map((e, t) => ({
|
|
867
908
|
label: e.label,
|
|
868
|
-
color:
|
|
869
|
-
}))), { chartInstance:
|
|
870
|
-
canvasRef:
|
|
871
|
-
config:
|
|
872
|
-
enabled:
|
|
873
|
-
}), { exportImage:
|
|
874
|
-
chartInstance:
|
|
875
|
-
canvasRef:
|
|
876
|
-
colorHostElement:
|
|
877
|
-
}),
|
|
878
|
-
|
|
909
|
+
color: u.value[t] ?? ""
|
|
910
|
+
}))), { chartInstance: T } = ft({
|
|
911
|
+
canvasRef: c,
|
|
912
|
+
config: C,
|
|
913
|
+
enabled: A(() => e.loading || f.value.length > 0)
|
|
914
|
+
}), { exportImage: E, handleLegendItemHover: te, pinElement: ne } = ht({
|
|
915
|
+
chartInstance: T,
|
|
916
|
+
canvasRef: c,
|
|
917
|
+
colorHostElement: s
|
|
918
|
+
}), re = (e) => e === null ? null : m.value.get(e) ?? null, ie = (t) => {
|
|
919
|
+
e.selectable && (h.value = t), te(re(t));
|
|
879
920
|
};
|
|
880
|
-
return
|
|
921
|
+
return pn([T, r], () => {
|
|
922
|
+
e.selectable && !e.loading && ne(re(r.value));
|
|
923
|
+
}), t({ exportImage: E }), (t, n) => (B(), N("div", {
|
|
881
924
|
ref_key: "chartRootRef",
|
|
882
|
-
ref:
|
|
883
|
-
class:
|
|
925
|
+
ref: s,
|
|
926
|
+
class: R(["s-ui-chart-segmented-bar", { "s-ui-chart-segmented-bar--skeleton": e.loading }]),
|
|
884
927
|
"data-qa": "ui:chart-segmented-bar"
|
|
885
|
-
}, [
|
|
928
|
+
}, [P("div", {
|
|
929
|
+
class: "s-ui-chart-segmented-bar__canvas-wrap",
|
|
930
|
+
onMouseleave: n[0] ||= (e) => y(null)
|
|
931
|
+
}, [I(G(gt), {
|
|
886
932
|
loading: e.loading,
|
|
887
|
-
type:
|
|
933
|
+
type: G(o).CARTESIAN
|
|
888
934
|
}, {
|
|
889
|
-
default:
|
|
935
|
+
default: q(() => [P("canvas", {
|
|
890
936
|
ref_key: "chartCanvasRef",
|
|
891
|
-
ref:
|
|
937
|
+
ref: c,
|
|
892
938
|
class: "s-ui-chart-segmented-bar__canvas"
|
|
893
939
|
}, null, 512)]),
|
|
894
940
|
_: 1
|
|
895
|
-
}, 8, ["loading", "type"])]), e.showLegend &&
|
|
941
|
+
}, 8, ["loading", "type"])], 32), e.showLegend && w.value.length ? (B(), j(G(vt), {
|
|
896
942
|
key: 0,
|
|
897
|
-
items:
|
|
943
|
+
items: w.value,
|
|
898
944
|
disabled: e.loading,
|
|
899
945
|
interactive: !e.loading,
|
|
900
|
-
|
|
946
|
+
size: e.legendSize,
|
|
947
|
+
selectable: e.selectable && !e.loading,
|
|
948
|
+
"active-index": ee.value,
|
|
949
|
+
"active-indexes": S.value,
|
|
950
|
+
onItemHover: ie,
|
|
951
|
+
onItemClick: g
|
|
901
952
|
}, null, 8, [
|
|
902
953
|
"items",
|
|
903
954
|
"disabled",
|
|
904
|
-
"interactive"
|
|
905
|
-
|
|
955
|
+
"interactive",
|
|
956
|
+
"size",
|
|
957
|
+
"selectable",
|
|
958
|
+
"active-index",
|
|
959
|
+
"active-indexes"
|
|
960
|
+
])) : M("", !0)], 2));
|
|
906
961
|
}
|
|
907
|
-
}),
|
|
962
|
+
}), kr = {
|
|
908
963
|
key: 0,
|
|
909
964
|
class: "s-ui-chart-widget__header"
|
|
910
|
-
},
|
|
965
|
+
}, Ar = {
|
|
911
966
|
key: 0,
|
|
912
967
|
class: "s-ui-chart-widget__title-skeleton",
|
|
913
968
|
"aria-hidden": "true"
|
|
914
|
-
},
|
|
969
|
+
}, jr = {
|
|
915
970
|
key: 1,
|
|
916
971
|
class: "s-ui-chart-widget__heading"
|
|
917
|
-
},
|
|
972
|
+
}, Mr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Nr = {
|
|
918
973
|
key: 0,
|
|
919
974
|
class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
|
|
920
|
-
},
|
|
975
|
+
}, Pr = { class: "s-ui-chart-widget__controls" }, Fr = {
|
|
921
976
|
key: 1,
|
|
922
977
|
class: "s-ui-chart-widget__content"
|
|
923
|
-
},
|
|
978
|
+
}, Ir = {
|
|
924
979
|
key: 2,
|
|
925
980
|
class: "s-ui-chart-widget__footer"
|
|
926
|
-
},
|
|
981
|
+
}, Lr = /* @__PURE__ */ L({
|
|
927
982
|
__name: "SChartWidget",
|
|
928
|
-
props: /*@__PURE__*/
|
|
983
|
+
props: /*@__PURE__*/ an({
|
|
929
984
|
title: { default: "" },
|
|
930
985
|
subtitle: { default: "" },
|
|
931
986
|
collapsible: {
|
|
@@ -949,17 +1004,17 @@ var K = [
|
|
|
949
1004
|
}),
|
|
950
1005
|
emits: ["update:collapsed"],
|
|
951
1006
|
setup(e) {
|
|
952
|
-
let t =
|
|
953
|
-
return (n, r) => (
|
|
954
|
-
class:
|
|
1007
|
+
let t = dn(e, "collapsed"), n = K(), { t: r } = En(), 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
|
+
return (n, r) => (B(), N("div", {
|
|
1009
|
+
class: R(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
|
|
955
1010
|
"data-qa": "ui:chart-widget"
|
|
956
1011
|
}, [
|
|
957
|
-
a.value ? (
|
|
1012
|
+
a.value ? (B(), N("div", kr, [e.loading ? (B(), N("span", Ar)) : (B(), N("span", jr, [P("span", Mr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Nr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Pr, [U(n.$slots, "actions"), e.collapsible ? (B(), j(G(E), {
|
|
958
1013
|
key: 0,
|
|
959
|
-
appearance:
|
|
960
|
-
variant:
|
|
961
|
-
size:
|
|
962
|
-
icon: t.value ?
|
|
1014
|
+
appearance: G(w).OUTLINED,
|
|
1015
|
+
variant: G(C).NEUTRAL,
|
|
1016
|
+
size: G(T).SMALL,
|
|
1017
|
+
icon: t.value ? G(J).chevronDown : G(J).chevronUp,
|
|
963
1018
|
"aria-label": c.value,
|
|
964
1019
|
"aria-expanded": !t.value,
|
|
965
1020
|
onClick: r[0] ||= (e) => t.value = !t.value
|
|
@@ -970,11 +1025,222 @@ var K = [
|
|
|
970
1025
|
"icon",
|
|
971
1026
|
"aria-label",
|
|
972
1027
|
"aria-expanded"
|
|
973
|
-
])) :
|
|
974
|
-
s.value ? (
|
|
975
|
-
o.value ? (
|
|
1028
|
+
])) : M("", !0)])])) : M("", !0),
|
|
1029
|
+
s.value ? (B(), N("div", Fr, [U(n.$slots, "default")])) : M("", !0),
|
|
1030
|
+
o.value ? (B(), N("div", Ir, [U(n.$slots, "footer")])) : M("", !0)
|
|
976
1031
|
], 2));
|
|
977
1032
|
}
|
|
1033
|
+
}), Rr = /* @__PURE__ */ function(e) {
|
|
1034
|
+
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
|
+
}({}), zr = /^(\d{4})-(\d{2})-(\d{2})/, Br = (e) => {
|
|
1036
|
+
if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
|
|
1037
|
+
year: e.getFullYear(),
|
|
1038
|
+
month: e.getMonth(),
|
|
1039
|
+
day: e.getDate()
|
|
1040
|
+
};
|
|
1041
|
+
let t = zr.exec(e);
|
|
1042
|
+
return t ? {
|
|
1043
|
+
year: Number(t[1]),
|
|
1044
|
+
month: Number(t[2]) - 1,
|
|
1045
|
+
day: Number(t[3])
|
|
1046
|
+
} : null;
|
|
1047
|
+
}, Vr = (e, t) => new Date(e, t + 1, 0).getDate(), Hr = 12, Ur = (e, t, n = !1) => {
|
|
1048
|
+
if (e.year < t) return 0;
|
|
1049
|
+
if (e.year > t) return 100;
|
|
1050
|
+
let r = Vr(e.year, e.month), i = n ? e.day : e.day - 1;
|
|
1051
|
+
return (e.month + i / r) / Hr * 100;
|
|
1052
|
+
}, Wr = (e) => {
|
|
1053
|
+
let t = new Intl.DateTimeFormat(e, { month: "long" });
|
|
1054
|
+
return Array.from({ length: Hr }, (n, r) => {
|
|
1055
|
+
let i = t.format(new Date(2e3, r, 1));
|
|
1056
|
+
return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
|
|
1057
|
+
});
|
|
1058
|
+
}, Gr = (e) => Math.min(100, Math.max(0, e)), Kr = (e, t, n, r, i) => e.flatMap((e) => {
|
|
1059
|
+
let a = Br(e.date);
|
|
1060
|
+
if (!a || a.year !== n) return [];
|
|
1061
|
+
let o = Ur(a, n, !0), s = i > 0 ? Gr((o - r) / i * 100) : 0;
|
|
1062
|
+
return [{
|
|
1063
|
+
milestone: e,
|
|
1064
|
+
status: e.status ?? t,
|
|
1065
|
+
offset: s
|
|
1066
|
+
}];
|
|
1067
|
+
}), qr = (e, t) => e.flatMap((e) => {
|
|
1068
|
+
let n = Br(e.start), r = Br(e.end);
|
|
1069
|
+
if (!n || !r || n.year > t || r.year < t) return [];
|
|
1070
|
+
let i = Ur(n, t), a = Ur(r, t, !0);
|
|
1071
|
+
if (a <= i) return [];
|
|
1072
|
+
let o = e.status ?? Rr.ON_PLAN, s = a - i;
|
|
1073
|
+
return [{
|
|
1074
|
+
item: e,
|
|
1075
|
+
status: o,
|
|
1076
|
+
left: i,
|
|
1077
|
+
width: s,
|
|
1078
|
+
progress: e.progress === void 0 ? null : Gr(Math.round(e.progress)),
|
|
1079
|
+
milestones: Kr(e.milestones ?? [], o, t, i, s)
|
|
1080
|
+
}];
|
|
1081
|
+
}), Jr = ["aria-busy"], Yr = { class: "s-ui-roadmap__ruler" }, Xr = { class: "s-ui-roadmap__year" }, Zr = { class: "s-ui-roadmap__months" }, Qr = { class: "s-ui-roadmap__body" }, $r = {
|
|
1082
|
+
class: "s-ui-roadmap__grid",
|
|
1083
|
+
"aria-hidden": "true"
|
|
1084
|
+
}, ei = {
|
|
1085
|
+
key: 1,
|
|
1086
|
+
class: "s-ui-roadmap__rows"
|
|
1087
|
+
}, ti = { class: "s-ui-roadmap__row" }, ni = {
|
|
1088
|
+
key: 2,
|
|
1089
|
+
class: "s-ui-roadmap__rows"
|
|
1090
|
+
}, ri = [
|
|
1091
|
+
"role",
|
|
1092
|
+
"tabindex",
|
|
1093
|
+
"onClick",
|
|
1094
|
+
"onKeydown"
|
|
1095
|
+
], ii = { class: "s-ui-roadmap__card-header" }, ai = { class: "s-ui-roadmap__card-title" }, oi = { class: "s-ui-roadmap__card-track" }, si = [
|
|
1096
|
+
"title",
|
|
1097
|
+
"aria-label",
|
|
1098
|
+
"onClick"
|
|
1099
|
+
], ci = {
|
|
1100
|
+
key: 0,
|
|
1101
|
+
class: "s-ui-roadmap__card-progress"
|
|
1102
|
+
}, li = { class: "s-ui-roadmap__card-percent" }, ui = {
|
|
1103
|
+
key: 3,
|
|
1104
|
+
class: "s-ui-roadmap__empty"
|
|
1105
|
+
}, di = 3.8, fi = 39.6, pi = 16, mi = 16, hi = /* @__PURE__ */ L({
|
|
1106
|
+
__name: "SRoadmap",
|
|
1107
|
+
props: {
|
|
1108
|
+
items: { default: () => [] },
|
|
1109
|
+
year: {},
|
|
1110
|
+
today: {},
|
|
1111
|
+
loading: {
|
|
1112
|
+
type: Boolean,
|
|
1113
|
+
default: !1
|
|
1114
|
+
},
|
|
1115
|
+
itemActionLabel: {},
|
|
1116
|
+
milestoneActionLabel: {}
|
|
1117
|
+
},
|
|
1118
|
+
emits: ["itemClick", "milestoneClick"],
|
|
1119
|
+
setup(e, { emit: t }) {
|
|
1120
|
+
let n = t, r = pi / 2, i = J.stageFill, a = J.milestoneFill, o = gn.SMALL, s = _n.S_ROADMAP_CARD, c = {
|
|
1121
|
+
insetInlineStart: `${di}%`,
|
|
1122
|
+
inlineSize: `${fi}%`
|
|
1123
|
+
}, { t: l, locale: u } = En(), d = Ot("onItemClick"), f = Ot("onMilestoneClick"), p = V(null), m = A(() => d() ? e.itemActionLabel : void 0), h = A(() => f() ? e.milestoneActionLabel : void 0), g = A(() => p.value ? {
|
|
1124
|
+
insetInlineStart: `${p.value.x}px`,
|
|
1125
|
+
insetBlockStart: `${p.value.y + mi}px`
|
|
1126
|
+
} : void 0), _ = (e, t) => {
|
|
1127
|
+
p.value = e ? {
|
|
1128
|
+
text: e,
|
|
1129
|
+
x: t.clientX,
|
|
1130
|
+
y: t.clientY
|
|
1131
|
+
} : null;
|
|
1132
|
+
}, v = () => {
|
|
1133
|
+
p.value = null;
|
|
1134
|
+
}, y = A(() => Br(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(() => Wr(String(un(u))).map((e, t) => ({
|
|
1135
|
+
index: t,
|
|
1136
|
+
label: e,
|
|
1137
|
+
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: `${Ur(y.value, b.value)}%` }), w = A(() => qr(e.items, b.value).map((e) => ({
|
|
1139
|
+
key: e.item.id,
|
|
1140
|
+
row: e,
|
|
1141
|
+
role: d() ? "button" : void 0,
|
|
1142
|
+
tabindex: d() ? 0 : void 0,
|
|
1143
|
+
progressLabel: l("roadmap.progress", { value: String(e.progress ?? 0) }),
|
|
1144
|
+
cardClasses: [
|
|
1145
|
+
"s-ui-roadmap__card",
|
|
1146
|
+
`s-ui-roadmap__card--status-${e.status}`,
|
|
1147
|
+
{ "s-ui-roadmap__card--clickable": d() }
|
|
1148
|
+
],
|
|
1149
|
+
cardStyle: {
|
|
1150
|
+
insetInlineStart: `${e.left}%`,
|
|
1151
|
+
inlineSize: `${e.width}%`
|
|
1152
|
+
},
|
|
1153
|
+
milestones: e.milestones.map((e) => ({
|
|
1154
|
+
key: e.milestone.id,
|
|
1155
|
+
placement: e,
|
|
1156
|
+
title: l("roadmap.milestone", { title: e.milestone.title }),
|
|
1157
|
+
nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
|
|
1158
|
+
classes: ["s-ui-roadmap__milestone", `s-ui-roadmap__milestone--status-${e.status}`],
|
|
1159
|
+
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${pi}px))` }
|
|
1160
|
+
}))
|
|
1161
|
+
}))), T = (e) => {
|
|
1162
|
+
n("itemClick", e);
|
|
1163
|
+
}, E = (e, t) => {
|
|
1164
|
+
n("milestoneClick", e, t);
|
|
1165
|
+
};
|
|
1166
|
+
return (t, n) => (B(), N("div", {
|
|
1167
|
+
class: R(ee.value),
|
|
1168
|
+
"data-qa": "ui:roadmap",
|
|
1169
|
+
"aria-busy": e.loading
|
|
1170
|
+
}, [
|
|
1171
|
+
P("div", Yr, [P("div", Xr, W(b.value), 1), P("ol", Zr, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("li", {
|
|
1172
|
+
key: e.index,
|
|
1173
|
+
class: R(e.classes)
|
|
1174
|
+
}, W(e.label), 3))), 128))])]),
|
|
1175
|
+
P("div", Qr, [
|
|
1176
|
+
P("div", $r, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("span", {
|
|
1177
|
+
key: e.index,
|
|
1178
|
+
class: "s-ui-roadmap__grid-column"
|
|
1179
|
+
}))), 128))]),
|
|
1180
|
+
C.value ? (B(), N("div", {
|
|
1181
|
+
key: 0,
|
|
1182
|
+
class: "s-ui-roadmap__today",
|
|
1183
|
+
style: z(C.value),
|
|
1184
|
+
"aria-hidden": "true"
|
|
1185
|
+
}, [...n[2] ||= [P("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : M("", !0),
|
|
1186
|
+
e.loading ? (B(), N("ul", ei, [P("li", ti, [P("div", {
|
|
1187
|
+
class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
|
|
1188
|
+
style: c,
|
|
1189
|
+
"aria-hidden": "true"
|
|
1190
|
+
}, [I(G(bn), {
|
|
1191
|
+
class: "s-ui-roadmap__card-skeleton",
|
|
1192
|
+
type: G(s)
|
|
1193
|
+
}, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ni, [(B(!0), N(k, null, H(w.value, (e) => (B(), N("li", {
|
|
1194
|
+
key: e.key,
|
|
1195
|
+
class: "s-ui-roadmap__row"
|
|
1196
|
+
}, [P("div", {
|
|
1197
|
+
class: R(e.cardClasses),
|
|
1198
|
+
style: z(e.cardStyle),
|
|
1199
|
+
role: e.role,
|
|
1200
|
+
tabindex: e.tabindex,
|
|
1201
|
+
onClick: (t) => T(e.row.item),
|
|
1202
|
+
onKeydown: mn((t) => T(e.row.item), ["enter"]),
|
|
1203
|
+
onPointermove: n[1] ||= (e) => _(m.value, e),
|
|
1204
|
+
onPointerleave: v
|
|
1205
|
+
}, [
|
|
1206
|
+
P("div", ii, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", ai, W(e.row.item.title), 1)]),
|
|
1207
|
+
P("div", oi, [I(G(vn), {
|
|
1208
|
+
class: "s-ui-roadmap__stage-icon",
|
|
1209
|
+
name: G(i),
|
|
1210
|
+
size: 16
|
|
1211
|
+
}, null, 8, ["name"]), (B(!0), N(k, null, H(e.milestones, (t) => (B(), N("button", {
|
|
1212
|
+
key: t.key,
|
|
1213
|
+
type: "button",
|
|
1214
|
+
class: R(t.classes),
|
|
1215
|
+
style: z(t.style),
|
|
1216
|
+
title: t.nativeTitle,
|
|
1217
|
+
"aria-label": t.title,
|
|
1218
|
+
onClick: hn((n) => E(t.placement.milestone, e.row.item), ["stop"]),
|
|
1219
|
+
onPointermove: n[0] ||= hn((e) => _(h.value, e), ["stop"])
|
|
1220
|
+
}, [I(G(vn), {
|
|
1221
|
+
name: G(a),
|
|
1222
|
+
size: 16
|
|
1223
|
+
}, null, 8, ["name"])], 46, si))), 128))]),
|
|
1224
|
+
e.row.progress === null ? M("", !0) : (B(), N("div", ci, [I(G(yn), {
|
|
1225
|
+
class: "s-ui-roadmap__card-progress-bar",
|
|
1226
|
+
value: e.row.progress,
|
|
1227
|
+
size: G(o),
|
|
1228
|
+
"aria-label": e.progressLabel
|
|
1229
|
+
}, null, 8, [
|
|
1230
|
+
"value",
|
|
1231
|
+
"size",
|
|
1232
|
+
"aria-label"
|
|
1233
|
+
]), P("span", li, W(e.row.progress) + "%", 1)]))
|
|
1234
|
+
], 46, ri)]))), 128))])) : (B(), N("div", ui, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
|
|
1235
|
+
]),
|
|
1236
|
+
(B(), j(nn, { to: "body" }, [p.value ? (B(), N("span", {
|
|
1237
|
+
key: 0,
|
|
1238
|
+
class: "s-ui-roadmap__hint",
|
|
1239
|
+
style: z(g.value),
|
|
1240
|
+
role: "tooltip"
|
|
1241
|
+
}, W(p.value.text), 5)) : M("", !0)]))
|
|
1242
|
+
], 10, Jr));
|
|
1243
|
+
}
|
|
978
1244
|
});
|
|
979
1245
|
//#endregion
|
|
980
|
-
export {
|
|
1246
|
+
export { jt as CALENDAR_WEEK_SLOT_COUNT, zt 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, It as ESCalendarEventDirection, Ht as ESCalendarMonthDayTone, he as ESCardLayout, _t as ESChartLegendSize, wt 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, it as ESInlineInputAppearance, Be as ESInlineMessageValidationStatus, Re as ESInputCustomize, He as ESLabelSize, Ue as ESLabelVariant, Ye as ESListGap, qe as ESListItemVariant, st as ESPhotoEditShape, ct as ESPhotoEditSize, $e as ESRadioLabelPlacement, Rr as ESRoadmapStatus, _e as ESSegmentControlSize, Ze as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Yt as ESTableCellState, Qt as ESTableCheckState, qt as ESTableColumnAlign, Ut as ESTableColumnSticky, Xt as ESTableDropAction, $t as ESTableFooterTone, Wt as ESTableRowColor, Jt as ESTableRowHeightMode, tn as ESTableRowKind, Gt as ESTableRowState, Kt as ESTableRowsDragMode, Zt as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, tt as ESToggleLabelPlacement, nt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Mt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, Gn as SBanner, E as SButton, ue as SButtonGroup, Nt as SCalendarMonth, Ft as SCalendarWeekGrid, ge as SCard, kt as SChartBar, Dt as SChartBurnup, Ct as SChartHorizontalBar, vt as SChartLegend, yt as SChartLine, Et as SChartMultiLine, Tt as SChartPie, At as SChartProgress, Or as SChartSegmentedBar, xt as SChartStackedArea, St as SChartStackedBar, Lr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Lt as SDayTimeline, Ie as SDropdown, Le as SDropdownMenu, ce as SInlineGroup, at as SInlineInput, Ve as SInlineMessage, ze as SInput, We as SLabel, Xe as SList, Je as SListItem, lt as SPhotoEdit, et as SRadio, hi as SRoadmap, ve as SSegmentControl, Qe as SSelect, xe as STab, en as STable, Se as STabs, Ae as STag, je as STagGroup, ot as STextarea, Kn as SToast, dr as SToastProvider, rt as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, Zn as TOAST_AUTO_DURATION_MAX_MS, Xn as TOAST_AUTO_DURATION_MIN_MS, Qn as TOAST_AUTO_DURATION_MS_PER_CHAR, Rt as WORK_TIME_SOURCE_COLOR_VARS, Bt as WORK_TIME_SOURCE_ORDER, Vt as buildWorkTimeLegendItems, $n as computeAutoDuration, we as computeConnectedPosition, xn as createUiKit, Pt as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, Sn as setUiKitLocale, Cn as uiKitLocaleEn, wn as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, ur as useToast, Tn as useUiKitI18n };
|