@shtabapp/ui-kit 1.75.0 → 1.76.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 +20 -0
- package/dist/{SButton-CLTNdnCK.cjs → SButton-BCgdXE_B.cjs} +1 -1
- package/dist/{SButton-LAOBxpd4.js → SButton-DIWMMCSc.js} +1 -0
- package/dist/{SButtonGroup-DPq5g7bZ.js → SButtonGroup-BqW5Rz1p.js} +0 -2
- package/dist/{SButtonGroup-Co1AUbsm.cjs → SButtonGroup-DSi8mQSz.cjs} +1 -1
- package/dist/{SCard-DKZYyR5b.cjs → SCard-B210wsTH.cjs} +1 -1
- package/dist/{SCard-DgGxjBUV.js → SCard-DJuyINB7.js} +1 -1
- package/dist/SCheckbox-Dkbk21Id.cjs +1 -0
- package/dist/SCheckbox-Dulusx5v.js +105 -0
- package/dist/{SChip-Dcvk3JI8.cjs → SChip-BCB1bvua.cjs} +1 -1
- package/dist/{SChip-NDTK29yq.js → SChip-C6d9oIYL.js} +1 -1
- package/dist/{SColorPicker-Ct8FVU0D.cjs → SColorPicker-CcPnyXE0.cjs} +1 -1
- package/dist/{SColorPicker-BjtlrGHZ.js → SColorPicker-XXyDOuDg.js} +2 -2
- package/dist/{SInput-D8NftspL.js → SInput-CGlUBCkW.js} +57 -54
- package/dist/SInput-fT-S-Tko.cjs +1 -0
- package/dist/SList-BuuCfuHg.js +471 -0
- package/dist/SList-Vg9nx1oe.cjs +1 -0
- package/dist/SListItem-CDlsjhA3.js +227 -0
- package/dist/SListItem-DMjtJXxV.cjs +1 -0
- package/dist/{SPhotoEdit-CShhPLJt.cjs → SPhotoEdit-B4ujF5Dh.cjs} +1 -1
- package/dist/{SPhotoEdit-r63G2NZI.js → SPhotoEdit-BxxycqvA.js} +1 -1
- package/dist/SRadio-B9qQ-PEk.cjs +1 -0
- package/dist/SRadio-BhoLtFUS.js +60 -0
- package/dist/SSelect-Bn4kifqp.js +666 -0
- package/dist/SSelect-DyngcoP9.cjs +1 -0
- package/dist/STab-BkQzKaLY.cjs +1 -0
- package/dist/STab-D7SATMfv.js +242 -0
- package/dist/{STable-G2k-tI4g.js → STable-BVGHC_FJ.js} +156 -133
- package/dist/STable-QYXxMVAw.cjs +1 -0
- package/dist/STabs-BYbsRtvi.js +151 -0
- package/dist/STabs-DDP-2p6T.cjs +1 -0
- package/dist/{STag-C5KhPWjQ.js → STag-DWjv_Za8.js} +1 -1
- package/dist/{STag-ZPrc5q4N.cjs → STag-nqzlv8OZ.cjs} +1 -1
- package/dist/{STagGroup-ccEvIkK7.cjs → STagGroup-CYEI9OXO.cjs} +1 -1
- package/dist/{STagGroup-BGwvunuu.js → STagGroup-DEPpEU5C.js} +1 -1
- package/dist/SToggle-BNgLiIrQ.cjs +1 -0
- package/dist/SToggle-MSdprnRP.js +62 -0
- package/dist/components/SButton/SButton.vue.d.ts.map +1 -1
- package/dist/components/SButtonGroup/SButtonGroup.vue.d.ts.map +1 -1
- package/dist/components/SCheckbox/SCheckbox.vue.d.ts.map +1 -1
- package/dist/components/SInput/SInput.vue.d.ts.map +1 -1
- package/dist/components/SInput/utils/fieldLabelId.d.ts +6 -0
- package/dist/components/SInput/utils/fieldLabelId.d.ts.map +1 -0
- package/dist/components/SList/SList.vue.d.ts.map +1 -1
- package/dist/components/SList/utils/context.d.ts +3 -0
- package/dist/components/SList/utils/context.d.ts.map +1 -1
- package/dist/components/SListItem/SListItem.types.d.ts +22 -0
- package/dist/components/SListItem/SListItem.types.d.ts.map +1 -1
- package/dist/components/SListItem/SListItem.vue.d.ts.map +1 -1
- package/dist/components/SListItem/index.d.ts +2 -2
- package/dist/components/SListItem/index.d.ts.map +1 -1
- package/dist/components/SListItem/utils/listItemAria.d.ts +31 -0
- package/dist/components/SListItem/utils/listItemAria.d.ts.map +1 -0
- package/dist/components/SRadio/SRadio.vue.d.ts.map +1 -1
- package/dist/components/SSelect/SSelect.vue.d.ts.map +1 -1
- package/dist/components/STab/STab.types.d.ts +5 -0
- package/dist/components/STab/STab.types.d.ts.map +1 -1
- package/dist/components/STab/STab.vue.d.ts +2 -0
- package/dist/components/STab/STab.vue.d.ts.map +1 -1
- package/dist/components/STable/STable.vue.d.ts.map +1 -1
- package/dist/components/STable/parts/STableGroupRow.vue.d.ts +2 -0
- package/dist/components/STable/parts/STableGroupRow.vue.d.ts.map +1 -1
- package/dist/components/STable/parts/STableRow.vue.d.ts +2 -0
- package/dist/components/STable/parts/STableRow.vue.d.ts.map +1 -1
- package/dist/components/STabs/STabs.vue.d.ts.map +1 -1
- package/dist/components/SToggle/SToggle.vue.d.ts.map +1 -1
- package/dist/composables/useAriaAttrs.d.ts +21 -0
- package/dist/composables/useAriaAttrs.d.ts.map +1 -0
- package/dist/entries/button-group.cjs +1 -1
- package/dist/entries/button-group.js +1 -1
- package/dist/entries/button.cjs +1 -1
- package/dist/entries/button.js +1 -1
- package/dist/entries/card.cjs +1 -1
- package/dist/entries/card.js +1 -1
- package/dist/entries/checkbox.cjs +1 -1
- package/dist/entries/checkbox.js +1 -1
- package/dist/entries/chip.cjs +1 -1
- package/dist/entries/chip.js +1 -1
- package/dist/entries/color-picker.cjs +1 -1
- package/dist/entries/color-picker.js +1 -1
- package/dist/entries/input.cjs +1 -1
- package/dist/entries/input.js +1 -1
- package/dist/entries/list-item.cjs +1 -1
- package/dist/entries/list-item.d.ts +2 -2
- package/dist/entries/list-item.d.ts.map +1 -1
- package/dist/entries/list-item.js +2 -2
- package/dist/entries/list.cjs +1 -1
- package/dist/entries/list.js +1 -1
- package/dist/entries/photo-edit.cjs +1 -1
- package/dist/entries/photo-edit.js +1 -1
- package/dist/entries/radio.cjs +1 -1
- package/dist/entries/radio.js +1 -1
- package/dist/entries/select.cjs +1 -1
- package/dist/entries/select.js +1 -1
- package/dist/entries/tab.cjs +1 -1
- package/dist/entries/tab.js +1 -1
- package/dist/entries/table.cjs +1 -1
- package/dist/entries/table.js +1 -1
- package/dist/entries/tabs.cjs +1 -1
- package/dist/entries/tabs.js +2 -2
- package/dist/entries/tag-group.cjs +1 -1
- package/dist/entries/tag-group.js +2 -2
- package/dist/entries/tag.cjs +1 -1
- package/dist/entries/tag.js +1 -1
- package/dist/entries/toggle.cjs +1 -1
- package/dist/entries/toggle.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +209 -209
- package/dist/uikit-components.css +1 -1
- package/dist/useAriaAttrs-CxGRTeye.js +15 -0
- package/dist/useAriaAttrs-D748yeJ_.cjs +1 -0
- package/package.json +3 -3
- package/dist/SCheckbox-BMkOc5cn.js +0 -102
- package/dist/SCheckbox-DnnC5mOH.cjs +0 -1
- package/dist/SInput-B4So5LGW.cjs +0 -1
- package/dist/SList-BuXrkB03.js +0 -465
- package/dist/SList-CvP0U6U1.cjs +0 -1
- package/dist/SListItem-BOSQGRWA.js +0 -209
- package/dist/SListItem-BeaflFVf.cjs +0 -1
- package/dist/SRadio-D6_Pd6XX.js +0 -57
- package/dist/SRadio-DRo_GU5A.cjs +0 -1
- package/dist/SSelect-mnobObXO.cjs +0 -1
- package/dist/SSelect-rpJCD5PL.js +0 -652
- package/dist/STab-C06drUMG.cjs +0 -1
- package/dist/STab-ltjZBvbK.js +0 -218
- package/dist/STable-BXVhLjSQ.cjs +0 -1
- package/dist/STabs-BARXqgoB.js +0 -149
- package/dist/STabs-n5hMERTK.cjs +0 -1
- package/dist/SToggle-CGd0Mh0R.cjs +0 -1
- package/dist/SToggle-sGw-LSNd.js +0 -59
package/dist/index.js
CHANGED
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import { n as e, r as t, t as n } from "./SBadge-BDxQJh6c.js";
|
|
2
2
|
import { a as r, i, n as a, o, r as s, t as c } from "./SAvatar-hWbsODUa.js";
|
|
3
|
-
import { i as l, n as u, r as d, t as f } from "./SColorPicker-
|
|
3
|
+
import { i as l, n as u, r as d, t as f } from "./SColorPicker-XXyDOuDg.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
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-
|
|
7
|
+
import { i as C, n as w, r as T, t as E } from "./SButton-DIWMMCSc.js";
|
|
8
8
|
import { a as te, n as ne, o as re, r as ie, t as ae } from "./useSelectionGroup-BCAmPf3R.js";
|
|
9
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-
|
|
11
|
-
import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-
|
|
12
|
-
import { n as he, t as ge } from "./SCard-
|
|
10
|
+
import { i as se, n as ce, r as le, t as ue } from "./SButtonGroup-BqW5Rz1p.js";
|
|
11
|
+
import { i as de, n as fe, r as pe, t as me } from "./SCheckbox-Dulusx5v.js";
|
|
12
|
+
import { n as he, t as ge } from "./SCard-DJuyINB7.js";
|
|
13
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-
|
|
15
|
-
import { t as Se } from "./STabs-
|
|
14
|
+
import { n as ye, r as be, t as xe } from "./STab-D7SATMfv.js";
|
|
15
|
+
import { t as Se } from "./STabs-BYbsRtvi.js";
|
|
16
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-
|
|
18
|
-
import { t as je } from "./STagGroup-
|
|
19
|
-
import { n as Me, r as Ne, t as Pe } from "./SChip-
|
|
17
|
+
import { n as Oe, r as ke, t as Ae } from "./STag-DWjv_Za8.js";
|
|
18
|
+
import { t as je } from "./STagGroup-DEPpEU5C.js";
|
|
19
|
+
import { n as Me, r as Ne, t as Pe } from "./SChip-C6d9oIYL.js";
|
|
20
20
|
import { n as Fe, t as Ie } from "./SDropdown-cNmJ5Lrz.js";
|
|
21
21
|
import { t as Le } from "./SDropdownMenu-2koPU6IG.js";
|
|
22
|
-
import {
|
|
22
|
+
import { r as Re, t as ze } from "./SInput-CGlUBCkW.js";
|
|
23
23
|
import { n as Be, t as Ve } from "./SInlineMessage-Dirk5RwO.js";
|
|
24
24
|
import { n as He, r as Ue, t as We } from "./SLabel-FHHPlcKq.js";
|
|
25
25
|
import { a as Ge, s as Ke } from "./treeKeyboardNavigation-SmxTdnDz.js";
|
|
26
|
-
import { n as qe,
|
|
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 { S as
|
|
35
|
-
import { n as
|
|
36
|
-
import { t as
|
|
37
|
-
import { t as
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import { t as
|
|
41
|
-
import { n 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 k, Teleport as
|
|
50
|
-
import { ESIconName as J, ESProgressBarSize as
|
|
51
|
-
import { useResizeObserver as
|
|
26
|
+
import { n as qe, r as Je, t as Ye } from "./SListItem-CDlsjhA3.js";
|
|
27
|
+
import { a as Xe, t as Ze } from "./SList-BuuCfuHg.js";
|
|
28
|
+
import { n as Qe, t as $e } from "./SSelect-Bn4kifqp.js";
|
|
29
|
+
import { n as et, t as tt } from "./SRadio-BhoLtFUS.js";
|
|
30
|
+
import { n as nt, r as rt, t as it } from "./SToggle-MSdprnRP.js";
|
|
31
|
+
import { n as at, t as ot } from "./SInlineInput-DO_glYxP.js";
|
|
32
|
+
import { t as st } from "./STextarea-BDyy7Ku5.js";
|
|
33
|
+
import { n as ct, r as lt, t as ut } from "./SPhotoEdit-BxxycqvA.js";
|
|
34
|
+
import { S as dt, T as D, a as ft, b as O, n as pt, o as mt, r as ht, t as gt, x as _t } from "./useChartInteractivity-DygkiRA1.js";
|
|
35
|
+
import { n as vt, t as yt } from "./SChartLegend-dDqLhvIj.js";
|
|
36
|
+
import { t as bt } from "./SChartLine-BV8Ytso5.js";
|
|
37
|
+
import { t as xt } from "./resolveSeriesPaletteColor-DoPeNP_F.js";
|
|
38
|
+
import { t as St } from "./SChartStackedArea-B28offwE.js";
|
|
39
|
+
import { t as Ct } from "./SChartStackedBar-C77FlKGS.js";
|
|
40
|
+
import { t as wt } from "./SChartHorizontalBar-C40Yroue.js";
|
|
41
|
+
import { n as Tt, t as Et } from "./SChartPie-BiLoxutQ.js";
|
|
42
|
+
import { t as Dt } from "./SChartMultiLine-7_HcvVEQ.js";
|
|
43
|
+
import { t as Ot } from "./SChartBurnup-BeQWgnGT.js";
|
|
44
|
+
import { t as kt } from "./useHasListener-RSjlUyqH.js";
|
|
45
|
+
import { t as At } from "./SChartBar-BvytQ-2z.js";
|
|
46
|
+
import { t as jt } from "./SChartProgress-DSxJqRA0.js";
|
|
47
|
+
import { a as Mt, c as Nt, d as Pt, f as Ft, i as It, l as Lt, n as Rt, o as zt, r as Bt, s as Vt, t as Ht, u as Ut } from "./buildWorkTimeLegendItems-CifzZM9C.js";
|
|
48
|
+
import { a as Wt, c as Gt, d as Kt, f as qt, i as Jt, l as Yt, n as Xt, o as Zt, p as Qt, r as $t, s as en, t as tn, u as nn } from "./STable-BVGHC_FJ.js";
|
|
49
|
+
import { Fragment as k, Teleport as rn, computed as A, createBlock as j, createCommentVNode as M, createElementBlock as N, createElementVNode as P, createSlots as an, createTextVNode as F, createVNode as I, defineComponent as L, mergeModels as on, mergeProps as sn, normalizeClass as R, normalizeStyle as z, onMounted as cn, openBlock as B, ref as V, renderList as H, renderSlot as U, resolveDynamicComponent as ln, shallowRef as un, toDisplayString as W, toValue as dn, unref as G, useModel as fn, useSlots as K, useTemplateRef as pn, watch as mn, withCtx as q, withKeys as hn, withModifiers as gn } from "vue";
|
|
50
|
+
import { ESIconName as J, ESProgressBarSize as _n, ESSkeletonType as vn, SIcon as yn, SProgressBar as bn, SSkeleton as xn, createUiKit as Sn, setUiKitLocale as Cn, uiKitLocaleEn as wn, uiKitLocaleRu as Tn, useUiKitI18n as En, useUiKitI18n as Dn } from "@shtabapp/ui-kit-primitives";
|
|
51
|
+
import { useResizeObserver as On } 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 kn = [
|
|
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 On = [
|
|
|
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
|
+
], An = [
|
|
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 On = [
|
|
|
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:
|
|
73
|
+
], jn = (e, t, n, r = !1) => xt(e, t, n, r, {
|
|
74
|
+
palette: kn,
|
|
75
|
+
paletteFallback: kn[0],
|
|
76
|
+
skeletonPalette: An,
|
|
77
|
+
skeletonFallback: An[0]
|
|
78
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
|
+
}({}), Mn = /* @__PURE__ */ function(e) {
|
|
85
85
|
return e.BANNER = "banner", e.TOAST = "toast", e;
|
|
86
|
-
}({}),
|
|
86
|
+
}({}), Nn = {
|
|
87
87
|
[Y.INFO_ACCENT]: J.infoCircle,
|
|
88
88
|
[Y.INFO_NORMAL]: J.infoCircle,
|
|
89
89
|
[Y.SUCCESS]: J.checkCircle,
|
|
90
90
|
[Y.WARNING]: J.alertCircle,
|
|
91
91
|
[Y.DANGER]: J.dangerCircleFill,
|
|
92
92
|
[Y.BILLING]: J.infoCircle
|
|
93
|
-
},
|
|
93
|
+
}, Pn = (e, t) => t || Nn[e], Fn = ["role"], In = { class: "s-ui-notification__body" }, Ln = {
|
|
94
94
|
key: 0,
|
|
95
95
|
class: "s-ui-notification__leftside"
|
|
96
|
-
},
|
|
96
|
+
}, Rn = {
|
|
97
97
|
key: 0,
|
|
98
98
|
class: "s-ui-notification__icon"
|
|
99
|
-
},
|
|
99
|
+
}, zn = { class: "s-ui-notification__content" }, Bn = { class: "s-ui-notification__title-row" }, Vn = {
|
|
100
100
|
key: 0,
|
|
101
101
|
class: "s-ui-notification__description-block"
|
|
102
|
-
},
|
|
102
|
+
}, Hn = {
|
|
103
103
|
key: 0,
|
|
104
104
|
class: "s-ui-notification__description s-ui-typography-label-12-medium"
|
|
105
|
-
},
|
|
105
|
+
}, Un = {
|
|
106
106
|
key: 1,
|
|
107
107
|
class: "s-ui-notification__actions-stack"
|
|
108
|
-
},
|
|
108
|
+
}, Wn = {
|
|
109
109
|
key: 1,
|
|
110
110
|
class: "s-ui-notification__actions-row"
|
|
111
|
-
},
|
|
111
|
+
}, Gn = /* @__PURE__ */ L({
|
|
112
112
|
__name: "SNotification",
|
|
113
113
|
props: {
|
|
114
114
|
type: { default: () => Y.INFO_ACCENT },
|
|
115
115
|
layout: { default: () => X.HORIZONTAL },
|
|
116
116
|
leftside: { default: () => Z.ICON },
|
|
117
|
-
surface: { default: () =>
|
|
117
|
+
surface: { default: () => Mn.BANNER },
|
|
118
118
|
title: {},
|
|
119
119
|
description: {},
|
|
120
120
|
linkText: {},
|
|
@@ -158,7 +158,7 @@ var On = [
|
|
|
158
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 = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() =>
|
|
161
|
+
}), s = A(() => e.type === Y.DANGER ? "alert" : "status"), l = A(() => Pn(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");
|
|
@@ -171,8 +171,8 @@ var On = [
|
|
|
171
171
|
class: R(["s-ui-notification", i.value]),
|
|
172
172
|
style: z(a.value),
|
|
173
173
|
role: s.value
|
|
174
|
-
}, [P("div",
|
|
175
|
-
d.value ? (B(), N("div",
|
|
174
|
+
}, [P("div", In, [
|
|
175
|
+
d.value ? (B(), N("div", Ln, [e.leftside === G(Z).ICON ? (B(), N("div", Rn, [I(G(yn), {
|
|
176
176
|
name: l.value,
|
|
177
177
|
size: 16,
|
|
178
178
|
billing: u.value
|
|
@@ -189,8 +189,8 @@ var On = [
|
|
|
189
189
|
"badge",
|
|
190
190
|
"size"
|
|
191
191
|
])) : M("", !0)])) : M("", !0),
|
|
192
|
-
P("div",
|
|
193
|
-
P("div",
|
|
192
|
+
P("div", zn, [
|
|
193
|
+
P("div", Bn, [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
196
|
appearance: G(w).BARE,
|
|
@@ -205,7 +205,7 @@ var On = [
|
|
|
205
205
|
"size",
|
|
206
206
|
"aria-label"
|
|
207
207
|
])) : M("", !0)]),
|
|
208
|
-
f.value ? (B(), N("div",
|
|
208
|
+
f.value ? (B(), N("div", Vn, [e.description || G(r).description ? (B(), N("span", Hn, [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
211
|
appearance: G(w).BARE,
|
|
@@ -222,7 +222,7 @@ var On = [
|
|
|
222
222
|
"size",
|
|
223
223
|
"iconRight"
|
|
224
224
|
])) : M("", !0)])) : M("", !0),
|
|
225
|
-
e.layout === G(X).VERTICAL && m.value ? (B(), N("div",
|
|
225
|
+
e.layout === G(X).VERTICAL && m.value ? (B(), N("div", Un, [e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
226
226
|
key: 0,
|
|
227
227
|
appearance: g.value,
|
|
228
228
|
variant: _.value,
|
|
@@ -250,7 +250,7 @@ var On = [
|
|
|
250
250
|
"size"
|
|
251
251
|
])) : M("", !0)])) : M("", !0)
|
|
252
252
|
]),
|
|
253
|
-
e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div",
|
|
253
|
+
e.layout === G(X).HORIZONTAL && h.value ? (B(), N("div", Wn, [
|
|
254
254
|
e.showPrimaryButton && e.primaryButtonText ? (B(), j(G(E), {
|
|
255
255
|
key: 0,
|
|
256
256
|
appearance: g.value,
|
|
@@ -295,9 +295,9 @@ var On = [
|
|
|
295
295
|
"aria-label"
|
|
296
296
|
])) : M("", !0)
|
|
297
297
|
])) : M("", !0)
|
|
298
|
-
])], 14,
|
|
298
|
+
])], 14, Fn));
|
|
299
299
|
}
|
|
300
|
-
}),
|
|
300
|
+
}), Kn = /* @__PURE__ */ L({
|
|
301
301
|
__name: "SBanner",
|
|
302
302
|
props: {
|
|
303
303
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -342,13 +342,13 @@ var On = [
|
|
|
342
342
|
],
|
|
343
343
|
setup(e, { emit: t }) {
|
|
344
344
|
let n = t, r = K(), i = A(() => ({ "s-ui-banner--elevated": e.elevated }));
|
|
345
|
-
return (t, a) => (B(), j(
|
|
345
|
+
return (t, a) => (B(), j(Gn, {
|
|
346
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: G(
|
|
351
|
+
surface: G(Mn).BANNER,
|
|
352
352
|
title: e.title,
|
|
353
353
|
description: e.description,
|
|
354
354
|
linkText: e.linkText,
|
|
@@ -367,7 +367,7 @@ var On = [
|
|
|
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
|
+
}, an({ _: 2 }, [G(r).title ? {
|
|
371
371
|
name: "title",
|
|
372
372
|
fn: q(() => [U(t.$slots, "title")]),
|
|
373
373
|
key: "0"
|
|
@@ -397,7 +397,7 @@ var On = [
|
|
|
397
397
|
"truncateTitle"
|
|
398
398
|
]));
|
|
399
399
|
}
|
|
400
|
-
}),
|
|
400
|
+
}), qn = /* @__PURE__ */ L({
|
|
401
401
|
__name: "SToast",
|
|
402
402
|
props: {
|
|
403
403
|
type: { default: () => Y.INFO_ACCENT },
|
|
@@ -433,13 +433,13 @@ var On = [
|
|
|
433
433
|
],
|
|
434
434
|
setup(e, { emit: t }) {
|
|
435
435
|
let n = t, r = K(), i = A(() => e.width ?? 360);
|
|
436
|
-
return (t, a) => (B(), j(
|
|
436
|
+
return (t, a) => (B(), j(Gn, {
|
|
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: G(
|
|
442
|
+
surface: G(Mn).TOAST,
|
|
443
443
|
title: e.title,
|
|
444
444
|
description: e.description,
|
|
445
445
|
linkText: e.linkText,
|
|
@@ -456,7 +456,7 @@ var On = [
|
|
|
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
|
+
}, an({ _: 2 }, [G(r).title ? {
|
|
460
460
|
name: "title",
|
|
461
461
|
fn: q(() => [U(t.$slots, "title")]),
|
|
462
462
|
key: "0"
|
|
@@ -483,13 +483,13 @@ var On = [
|
|
|
483
483
|
"truncateTitle"
|
|
484
484
|
]));
|
|
485
485
|
}
|
|
486
|
-
}),
|
|
486
|
+
}), Jn = .05, Yn = [
|
|
487
487
|
"data-mounted",
|
|
488
488
|
"data-front",
|
|
489
489
|
"data-expanded",
|
|
490
490
|
"data-removed",
|
|
491
491
|
"data-visible"
|
|
492
|
-
],
|
|
492
|
+
], Xn = /* @__PURE__ */ L({
|
|
493
493
|
__name: "SToastProviderToast",
|
|
494
494
|
props: {
|
|
495
495
|
index: {},
|
|
@@ -502,7 +502,7 @@ var On = [
|
|
|
502
502
|
},
|
|
503
503
|
emits: ["heightChange"],
|
|
504
504
|
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 *
|
|
505
|
+
let n = t, r = V(null), i = V(0), a = V(!1), o = A(() => e.index === 0), s = A(() => 1 - e.index * Jn), 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,10 +511,10 @@ var On = [
|
|
|
511
511
|
"--s-ui-toast-provider-stack-scale": String(s.value),
|
|
512
512
|
zIndex: String(1e3 - e.index)
|
|
513
513
|
}));
|
|
514
|
-
return
|
|
514
|
+
return On(r, (e) => {
|
|
515
515
|
let t = e[0]?.contentRect.height ?? 0;
|
|
516
516
|
t !== i.value && (i.value = t, n("heightChange", t));
|
|
517
|
-
}),
|
|
517
|
+
}), cn(() => {
|
|
518
518
|
requestAnimationFrame(() => {
|
|
519
519
|
requestAnimationFrame(() => {
|
|
520
520
|
a.value = !0;
|
|
@@ -532,50 +532,50 @@ var On = [
|
|
|
532
532
|
ref_key: "contentRef",
|
|
533
533
|
ref: r,
|
|
534
534
|
class: "s-ui-toast-provider__toast-content"
|
|
535
|
-
}, [U(t.$slots, "default")], 512)], 12,
|
|
535
|
+
}, [U(t.$slots, "default")], 512)], 12, Yn));
|
|
536
536
|
}
|
|
537
|
-
}),
|
|
538
|
-
let n =
|
|
539
|
-
return n > 1e4 ?
|
|
540
|
-
}, Q =
|
|
537
|
+
}), Zn = 4e3, Qn = 1e4, $n = 50, er = (e, t) => {
|
|
538
|
+
let n = Zn + (e.length + (t?.length ?? 0)) * 50;
|
|
539
|
+
return n > 1e4 ? Qn : n;
|
|
540
|
+
}, Q = un([]), $ = /* @__PURE__ */ new Map(), tr = 0, nr = {
|
|
541
541
|
type: Y.INFO_ACCENT,
|
|
542
542
|
layout: X.HORIZONTAL,
|
|
543
543
|
leftside: Z.ICON,
|
|
544
544
|
showPrimaryButton: !1,
|
|
545
545
|
closable: !0
|
|
546
|
-
},
|
|
546
|
+
}, rr = () => `toast-${Date.now()}-${++tr}`, ir = (e) => {
|
|
547
547
|
let t = $.get(e);
|
|
548
548
|
t && (window.clearTimeout(t), $.delete(e));
|
|
549
|
-
},
|
|
550
|
-
|
|
551
|
-
let t = e.duration === void 0 ?
|
|
549
|
+
}, ar = (e) => {
|
|
550
|
+
ir(e.id);
|
|
551
|
+
let t = e.duration === void 0 ? er(e.title, e.description) : e.duration;
|
|
552
552
|
if (t > 0) {
|
|
553
553
|
let n = window.setTimeout(() => {
|
|
554
|
-
|
|
554
|
+
or(e.id);
|
|
555
555
|
}, t);
|
|
556
556
|
$.set(e.id, n);
|
|
557
557
|
}
|
|
558
|
-
},
|
|
558
|
+
}, or = (e) => {
|
|
559
559
|
let t = Q.value.findIndex((t) => t.id === e);
|
|
560
560
|
if (t === -1) return;
|
|
561
561
|
let n = Q.value[t];
|
|
562
|
-
n && (
|
|
563
|
-
},
|
|
562
|
+
n && (ir(e), n.onClose && n.onClose(), Q.value = Q.value.filter((t) => t.id !== e));
|
|
563
|
+
}, sr = () => {
|
|
564
564
|
$.forEach((e) => window.clearTimeout(e)), $.clear(), Q.value = [];
|
|
565
|
-
},
|
|
566
|
-
|
|
567
|
-
}), e.slice(0, 3)),
|
|
568
|
-
let t = e.id ??
|
|
569
|
-
...
|
|
565
|
+
}, cr = (e) => e.length <= 3 ? e : (e.slice(3).forEach((e) => {
|
|
566
|
+
ir(e.id);
|
|
567
|
+
}), e.slice(0, 3)), lr = (e) => {
|
|
568
|
+
let t = e.id ?? rr(), n = {
|
|
569
|
+
...nr,
|
|
570
570
|
...e,
|
|
571
571
|
id: t
|
|
572
572
|
}, r = Q.value.findIndex((e) => e.id === t);
|
|
573
573
|
if (r > -1) {
|
|
574
574
|
let e = [...Q.value];
|
|
575
|
-
e[r] = n, Q.value =
|
|
576
|
-
} else Q.value =
|
|
577
|
-
return
|
|
578
|
-
},
|
|
575
|
+
e[r] = n, Q.value = cr(e);
|
|
576
|
+
} else Q.value = cr([n, ...Q.value]);
|
|
577
|
+
return ar(n), t;
|
|
578
|
+
}, ur = (e, t) => {
|
|
579
579
|
let n = Q.value.findIndex((t) => t.id === e);
|
|
580
580
|
if (n === -1) return;
|
|
581
581
|
let r = Q.value[n];
|
|
@@ -585,18 +585,18 @@ var On = [
|
|
|
585
585
|
...t,
|
|
586
586
|
id: r.id
|
|
587
587
|
}, a = [...Q.value];
|
|
588
|
-
a[n] = i, Q.value = a,
|
|
589
|
-
},
|
|
588
|
+
a[n] = i, Q.value = a, ar(i);
|
|
589
|
+
}, dr = () => ({
|
|
590
590
|
toasts: Q,
|
|
591
|
-
show:
|
|
592
|
-
hide:
|
|
593
|
-
hideAll:
|
|
594
|
-
update:
|
|
595
|
-
}),
|
|
591
|
+
show: lr,
|
|
592
|
+
hide: or,
|
|
593
|
+
hideAll: sr,
|
|
594
|
+
update: ur
|
|
595
|
+
}), fr = /* @__PURE__ */ L({
|
|
596
596
|
__name: "SToastProvider",
|
|
597
597
|
setup(e) {
|
|
598
|
-
let { toasts: t, hide: n } =
|
|
599
|
-
|
|
598
|
+
let { toasts: t, hide: n } = dr(), r = A(() => t.value.slice(0, 3)), i = V(!1), a = un({}), 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
|
+
mn(c, (e) => {
|
|
600
600
|
e > 0 && (l.value = e);
|
|
601
601
|
});
|
|
602
602
|
let d = A(() => {
|
|
@@ -638,7 +638,7 @@ var On = [
|
|
|
638
638
|
}, b = (e) => {
|
|
639
639
|
e.onSecondaryAction && e.onSecondaryAction();
|
|
640
640
|
};
|
|
641
|
-
return (e, t) => (B(), j(
|
|
641
|
+
return (e, t) => (B(), j(rn, { to: "body" }, [P("div", {
|
|
642
642
|
class: "s-ui-toast-provider",
|
|
643
643
|
onMouseenter: m,
|
|
644
644
|
onMouseleave: h
|
|
@@ -646,7 +646,7 @@ var On = [
|
|
|
646
646
|
key: 0,
|
|
647
647
|
class: "s-ui-toast-provider__list",
|
|
648
648
|
style: z(d.value)
|
|
649
|
-
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(
|
|
649
|
+
}, [(B(!0), N(k, null, H(r.value, (t, n) => (B(), j(Xn, {
|
|
650
650
|
key: t.id,
|
|
651
651
|
index: n,
|
|
652
652
|
expanded: i.value,
|
|
@@ -657,13 +657,13 @@ var On = [
|
|
|
657
657
|
"offset-y": f(n),
|
|
658
658
|
onHeightChange: (e) => g(t.id, e)
|
|
659
659
|
}, {
|
|
660
|
-
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(
|
|
660
|
+
default: q(() => [U(e.$slots, "toast", { toast: t }, () => [t.component ? (B(), j(ln(t.component), sn({
|
|
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"])) : (B(), j(G(
|
|
666
|
+
}), null, 16, ["toast", "onClose"])) : (B(), j(G(qn), {
|
|
667
667
|
key: 1,
|
|
668
668
|
type: t.type,
|
|
669
669
|
layout: t.layout,
|
|
@@ -717,10 +717,10 @@ var On = [
|
|
|
717
717
|
"onHeightChange"
|
|
718
718
|
]))), 128))], 4)) : M("", !0)], 32)]));
|
|
719
719
|
}
|
|
720
|
-
}),
|
|
720
|
+
}), pr = 4, mr = 4, hr = 1, gr = "400 12px var(--s-ui-font-family-label)", _r = 4, vr = .5, yr = (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
|
+
}, br = (e) => {
|
|
724
724
|
let t = e.getProps([
|
|
725
725
|
"x",
|
|
726
726
|
"y",
|
|
@@ -731,14 +731,14 @@ var On = [
|
|
|
731
731
|
width: Math.abs(n - i),
|
|
732
732
|
centerY: r
|
|
733
733
|
};
|
|
734
|
-
},
|
|
735
|
-
let a =
|
|
734
|
+
}, xr = (e, t, n, r, i) => {
|
|
735
|
+
let a = br(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 + pr * 2;
|
|
738
|
+
if (a.width < s + _r * 2) return;
|
|
739
739
|
let c = a.left + a.width / 2;
|
|
740
|
-
|
|
741
|
-
},
|
|
740
|
+
yr(e, c - s / 2, a.centerY - 20 / 2, s, 20, mr), e.fillStyle = r.background, e.fill(), e.lineWidth = hr, e.strokeStyle = r.border, e.stroke(), e.fillStyle = r.text, e.fillText(o, c, a.centerY);
|
|
741
|
+
}, Sr = (e, t) => ({
|
|
742
742
|
id: "segmentedBarBadge",
|
|
743
743
|
afterDatasetsDraw(n) {
|
|
744
744
|
let r = {
|
|
@@ -746,22 +746,22 @@ var On = [
|
|
|
746
746
|
border: O(D.pieBadgeBorder, e),
|
|
747
747
|
text: O(D.pieBadgeText, e)
|
|
748
748
|
}, { ctx: i } = n;
|
|
749
|
-
i.save(), i.font =
|
|
750
|
-
let a =
|
|
749
|
+
i.save(), i.font = gr, i.textAlign = "center", i.textBaseline = "middle";
|
|
750
|
+
let a = ft(n);
|
|
751
751
|
n.data.datasets.forEach((e, o) => {
|
|
752
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 ?
|
|
753
|
+
s && typeof c == "number" && c > 0 && (i.globalAlpha = a !== null && a.datasetIndex !== o ? vr : 1, xr(i, s, c, r, t));
|
|
754
754
|
}), i.restore();
|
|
755
755
|
}
|
|
756
|
-
}),
|
|
756
|
+
}), Cr = 40, wr = 4, Tr = 1, Er = [
|
|
757
757
|
"mousemove",
|
|
758
758
|
"mouseout",
|
|
759
759
|
"click",
|
|
760
760
|
"touchstart",
|
|
761
761
|
"touchmove"
|
|
762
|
-
],
|
|
762
|
+
], Dr = ({ segments: e, segmentColors: t, colorHostElement: n, skeleton: r = !1, formatValue: i, onSegmentClick: a, onSegmentHover: o, resolveTooltipLines: s }) => {
|
|
763
763
|
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 =
|
|
764
|
+
let c = O("--s-ui-color-surface-primary", n), l = e.reduce((e, t) => e + t.value, 0), u = ht({
|
|
765
765
|
kind: "series",
|
|
766
766
|
skeleton: r,
|
|
767
767
|
colorHostElement: n,
|
|
@@ -779,12 +779,12 @@ var On = [
|
|
|
779
779
|
hoverBackgroundColor: t[n],
|
|
780
780
|
borderColor: c,
|
|
781
781
|
borderWidth: {
|
|
782
|
-
left:
|
|
783
|
-
right:
|
|
782
|
+
left: Tr,
|
|
783
|
+
right: Tr
|
|
784
784
|
},
|
|
785
785
|
borderSkipped: !1,
|
|
786
|
-
borderRadius:
|
|
787
|
-
barThickness:
|
|
786
|
+
borderRadius: wr,
|
|
787
|
+
barThickness: Cr,
|
|
788
788
|
stack: "track"
|
|
789
789
|
}))
|
|
790
790
|
},
|
|
@@ -793,7 +793,7 @@ var On = [
|
|
|
793
793
|
responsive: !0,
|
|
794
794
|
maintainAspectRatio: !1,
|
|
795
795
|
layout: { padding: 0 },
|
|
796
|
-
events: r ? [] :
|
|
796
|
+
events: r ? [] : Er,
|
|
797
797
|
onHover: u.onHover,
|
|
798
798
|
onClick: u.onClick,
|
|
799
799
|
hover: r ? void 0 : {
|
|
@@ -828,9 +828,9 @@ var On = [
|
|
|
828
828
|
}
|
|
829
829
|
}
|
|
830
830
|
},
|
|
831
|
-
plugins: [...r ? [] : [
|
|
831
|
+
plugins: [...r ? [] : [Sr(n, i)], ...u.plugins]
|
|
832
832
|
};
|
|
833
|
-
},
|
|
833
|
+
}, Or = [
|
|
834
834
|
4,
|
|
835
835
|
1,
|
|
836
836
|
2,
|
|
@@ -842,9 +842,9 @@ var On = [
|
|
|
842
842
|
].map((e, t) => ({
|
|
843
843
|
label: `Series ${t + 1}`,
|
|
844
844
|
value: e
|
|
845
|
-
})),
|
|
845
|
+
})), kr = /* @__PURE__ */ L({
|
|
846
846
|
__name: "SChartSegmentedBar",
|
|
847
|
-
props: /*@__PURE__*/
|
|
847
|
+
props: /*@__PURE__*/ on({
|
|
848
848
|
segments: { default: () => [] },
|
|
849
849
|
showLegend: {
|
|
850
850
|
type: Boolean,
|
|
@@ -863,7 +863,7 @@ var On = [
|
|
|
863
863
|
type: Boolean,
|
|
864
864
|
default: !1
|
|
865
865
|
},
|
|
866
|
-
legendSize: { default: () =>
|
|
866
|
+
legendSize: { default: () => vt.SMALL },
|
|
867
867
|
formatTooltip: { type: Function }
|
|
868
868
|
}, {
|
|
869
869
|
selectedIndex: { default: null },
|
|
@@ -871,12 +871,12 @@ var On = [
|
|
|
871
871
|
selectedIndexes: { default: () => [] },
|
|
872
872
|
selectedIndexesModifiers: {}
|
|
873
873
|
}),
|
|
874
|
-
emits: /*@__PURE__*/
|
|
874
|
+
emits: /*@__PURE__*/ on(["segmentClick"], ["update:selectedIndex", "update:selectedIndexes"]),
|
|
875
875
|
setup(e, { expose: t, emit: n }) {
|
|
876
|
-
let r =
|
|
876
|
+
let r = fn(e, "selectedIndex"), i = fn(e, "selectedIndexes"), a = n, o = dt, s = pn("chartRootRef"), c = pn("chartCanvasRef"), l = A(() => e.loading ? Or : e.segments), u = A(() => l.value.map((t, n) => jn(n, s.value, t.fillColor, e.loading))), d = A(() => l.value.map((e, t) => ({
|
|
877
877
|
segment: e,
|
|
878
878
|
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) ?
|
|
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) ? mt(s.value) : u.value[e] ?? "")), m = A(() => {
|
|
880
880
|
let e = /* @__PURE__ */ new Map();
|
|
881
881
|
return d.value.forEach(({ segmentIndex: t }, n) => {
|
|
882
882
|
e.set(t, n);
|
|
@@ -892,10 +892,10 @@ var On = [
|
|
|
892
892
|
n && (a("segmentClick", n.segmentIndex, n.segment), e.selectable && g(n.segmentIndex));
|
|
893
893
|
}, y = (e) => {
|
|
894
894
|
h.value = e === null ? null : d.value[e]?.segmentIndex ?? null;
|
|
895
|
-
}, b =
|
|
895
|
+
}, b = kt("onSegmentClick"), x = (t) => {
|
|
896
896
|
let n = d.value[t];
|
|
897
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(() =>
|
|
898
|
+
}, ee = A(() => e.selectable ? e.multiple ? h.value : h.value ?? r.value : null), S = A(() => _.value && h.value === null ? i.value : []), C = A(() => Dr({
|
|
899
899
|
segments: f.value,
|
|
900
900
|
segmentColors: p.value,
|
|
901
901
|
colorHostElement: s.value,
|
|
@@ -907,18 +907,18 @@ var On = [
|
|
|
907
907
|
})), w = A(() => l.value.map((e, t) => ({
|
|
908
908
|
label: e.label,
|
|
909
909
|
color: u.value[t] ?? ""
|
|
910
|
-
}))), { chartInstance: T } =
|
|
910
|
+
}))), { chartInstance: T } = pt({
|
|
911
911
|
canvasRef: c,
|
|
912
912
|
config: C,
|
|
913
913
|
enabled: A(() => e.loading || f.value.length > 0)
|
|
914
|
-
}), { exportImage: E, handleLegendItemHover: te, pinElement: ne } =
|
|
914
|
+
}), { exportImage: E, handleLegendItemHover: te, pinElement: ne } = gt({
|
|
915
915
|
chartInstance: T,
|
|
916
916
|
canvasRef: c,
|
|
917
917
|
colorHostElement: s
|
|
918
918
|
}), re = (e) => e === null ? null : m.value.get(e) ?? null, ie = (t) => {
|
|
919
919
|
e.selectable && (h.value = t), te(re(t));
|
|
920
920
|
};
|
|
921
|
-
return
|
|
921
|
+
return mn([T, r], () => {
|
|
922
922
|
e.selectable && !e.loading && ne(re(r.value));
|
|
923
923
|
}), t({ exportImage: E }), (t, n) => (B(), N("div", {
|
|
924
924
|
ref_key: "chartRootRef",
|
|
@@ -928,7 +928,7 @@ var On = [
|
|
|
928
928
|
}, [P("div", {
|
|
929
929
|
class: "s-ui-chart-segmented-bar__canvas-wrap",
|
|
930
930
|
onMouseleave: n[0] ||= (e) => y(null)
|
|
931
|
-
}, [I(G(
|
|
931
|
+
}, [I(G(_t), {
|
|
932
932
|
loading: e.loading,
|
|
933
933
|
type: G(o).CARTESIAN
|
|
934
934
|
}, {
|
|
@@ -938,7 +938,7 @@ var On = [
|
|
|
938
938
|
class: "s-ui-chart-segmented-bar__canvas"
|
|
939
939
|
}, null, 512)]),
|
|
940
940
|
_: 1
|
|
941
|
-
}, 8, ["loading", "type"])], 32), e.showLegend && w.value.length ? (B(), j(G(
|
|
941
|
+
}, 8, ["loading", "type"])], 32), e.showLegend && w.value.length ? (B(), j(G(yt), {
|
|
942
942
|
key: 0,
|
|
943
943
|
items: w.value,
|
|
944
944
|
disabled: e.loading,
|
|
@@ -959,28 +959,28 @@ var On = [
|
|
|
959
959
|
"active-indexes"
|
|
960
960
|
])) : M("", !0)], 2));
|
|
961
961
|
}
|
|
962
|
-
}),
|
|
962
|
+
}), Ar = {
|
|
963
963
|
key: 0,
|
|
964
964
|
class: "s-ui-chart-widget__header"
|
|
965
|
-
},
|
|
965
|
+
}, jr = {
|
|
966
966
|
key: 0,
|
|
967
967
|
class: "s-ui-chart-widget__title-skeleton",
|
|
968
968
|
"aria-hidden": "true"
|
|
969
|
-
},
|
|
969
|
+
}, Mr = {
|
|
970
970
|
key: 1,
|
|
971
971
|
class: "s-ui-chart-widget__heading"
|
|
972
|
-
},
|
|
972
|
+
}, Nr = { class: "s-ui-chart-widget__title s-ui-typography-label-16-medium" }, Pr = {
|
|
973
973
|
key: 0,
|
|
974
974
|
class: "s-ui-chart-widget__subtitle s-ui-typography-body-12-regular"
|
|
975
|
-
},
|
|
975
|
+
}, Fr = { class: "s-ui-chart-widget__controls" }, Ir = {
|
|
976
976
|
key: 1,
|
|
977
977
|
class: "s-ui-chart-widget__content"
|
|
978
|
-
},
|
|
978
|
+
}, Lr = {
|
|
979
979
|
key: 2,
|
|
980
980
|
class: "s-ui-chart-widget__footer"
|
|
981
|
-
},
|
|
981
|
+
}, Rr = /* @__PURE__ */ L({
|
|
982
982
|
__name: "SChartWidget",
|
|
983
|
-
props: /*@__PURE__*/
|
|
983
|
+
props: /*@__PURE__*/ on({
|
|
984
984
|
title: { default: "" },
|
|
985
985
|
subtitle: { default: "" },
|
|
986
986
|
collapsible: {
|
|
@@ -1004,12 +1004,12 @@ var On = [
|
|
|
1004
1004
|
}),
|
|
1005
1005
|
emits: ["update:collapsed"],
|
|
1006
1006
|
setup(e) {
|
|
1007
|
-
let t =
|
|
1007
|
+
let t = fn(e, "collapsed"), n = K(), { t: r } = Dn(), 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
1008
|
return (n, r) => (B(), N("div", {
|
|
1009
1009
|
class: R(["s-ui-chart-widget", { "s-ui-chart-widget--skeleton": e.loading }]),
|
|
1010
1010
|
"data-qa": "ui:chart-widget"
|
|
1011
1011
|
}, [
|
|
1012
|
-
a.value ? (B(), N("div",
|
|
1012
|
+
a.value ? (B(), N("div", Ar, [e.loading ? (B(), N("span", jr)) : (B(), N("span", Mr, [P("span", Nr, [U(n.$slots, "title", {}, () => [F(W(e.title), 1)])]), i.value ? (B(), N("span", Pr, [U(n.$slots, "subtitle", {}, () => [F(W(e.subtitle), 1)])])) : M("", !0)])), P("div", Fr, [U(n.$slots, "actions"), e.collapsible ? (B(), j(G(E), {
|
|
1013
1013
|
key: 0,
|
|
1014
1014
|
appearance: G(w).OUTLINED,
|
|
1015
1015
|
variant: G(C).NEUTRAL,
|
|
@@ -1026,83 +1026,83 @@ var On = [
|
|
|
1026
1026
|
"aria-label",
|
|
1027
1027
|
"aria-expanded"
|
|
1028
1028
|
])) : M("", !0)])])) : M("", !0),
|
|
1029
|
-
s.value ? (B(), N("div",
|
|
1030
|
-
o.value ? (B(), N("div",
|
|
1029
|
+
s.value ? (B(), N("div", Ir, [U(n.$slots, "default")])) : M("", !0),
|
|
1030
|
+
o.value ? (B(), N("div", Lr, [U(n.$slots, "footer")])) : M("", !0)
|
|
1031
1031
|
], 2));
|
|
1032
1032
|
}
|
|
1033
|
-
}),
|
|
1033
|
+
}), zr = /* @__PURE__ */ function(e) {
|
|
1034
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
|
-
}({}),
|
|
1035
|
+
}({}), Br = /^(\d{4})-(\d{2})-(\d{2})/, Vr = (e) => {
|
|
1036
1036
|
if (e instanceof Date) return Number.isNaN(e.getTime()) ? null : {
|
|
1037
1037
|
year: e.getFullYear(),
|
|
1038
1038
|
month: e.getMonth(),
|
|
1039
1039
|
day: e.getDate()
|
|
1040
1040
|
};
|
|
1041
|
-
let t =
|
|
1041
|
+
let t = Br.exec(e);
|
|
1042
1042
|
return t ? {
|
|
1043
1043
|
year: Number(t[1]),
|
|
1044
1044
|
month: Number(t[2]) - 1,
|
|
1045
1045
|
day: Number(t[3])
|
|
1046
1046
|
} : null;
|
|
1047
|
-
},
|
|
1047
|
+
}, Hr = (e, t) => new Date(e, t + 1, 0).getDate(), Ur = 12, Wr = (e, t, n = !1) => {
|
|
1048
1048
|
if (e.year < t) return 0;
|
|
1049
1049
|
if (e.year > t) return 100;
|
|
1050
|
-
let r =
|
|
1051
|
-
return (e.month + i / r) /
|
|
1052
|
-
},
|
|
1050
|
+
let r = Hr(e.year, e.month), i = n ? e.day : e.day - 1;
|
|
1051
|
+
return (e.month + i / r) / Ur * 100;
|
|
1052
|
+
}, Gr = (e) => {
|
|
1053
1053
|
let t = new Intl.DateTimeFormat(e, { month: "long" });
|
|
1054
|
-
return Array.from({ length:
|
|
1054
|
+
return Array.from({ length: Ur }, (n, r) => {
|
|
1055
1055
|
let i = t.format(new Date(2e3, r, 1));
|
|
1056
1056
|
return i.charAt(0).toLocaleUpperCase(e) + i.slice(1);
|
|
1057
1057
|
});
|
|
1058
|
-
},
|
|
1059
|
-
let a =
|
|
1058
|
+
}, Kr = (e) => Math.min(100, Math.max(0, e)), qr = (e, t, n, r, i) => e.flatMap((e) => {
|
|
1059
|
+
let a = Vr(e.date);
|
|
1060
1060
|
if (!a || a.year !== n) return [];
|
|
1061
|
-
let o =
|
|
1061
|
+
let o = Wr(a, n, !0), s = i > 0 ? Kr((o - r) / i * 100) : 0;
|
|
1062
1062
|
return [{
|
|
1063
1063
|
milestone: e,
|
|
1064
1064
|
status: e.status ?? t,
|
|
1065
1065
|
offset: s
|
|
1066
1066
|
}];
|
|
1067
|
-
}),
|
|
1068
|
-
let n =
|
|
1067
|
+
}), Jr = (e, t) => e.flatMap((e) => {
|
|
1068
|
+
let n = Vr(e.start), r = Vr(e.end);
|
|
1069
1069
|
if (!n || !r || n.year > t || r.year < t) return [];
|
|
1070
|
-
let i =
|
|
1070
|
+
let i = Wr(n, t), a = Wr(r, t, !0);
|
|
1071
1071
|
if (a <= i) return [];
|
|
1072
|
-
let o = e.status ??
|
|
1072
|
+
let o = e.status ?? zr.ON_PLAN, s = a - i;
|
|
1073
1073
|
return [{
|
|
1074
1074
|
item: e,
|
|
1075
1075
|
status: o,
|
|
1076
1076
|
left: i,
|
|
1077
1077
|
width: s,
|
|
1078
|
-
progress: e.progress === void 0 ? null :
|
|
1079
|
-
milestones:
|
|
1078
|
+
progress: e.progress === void 0 ? null : Kr(Math.round(e.progress)),
|
|
1079
|
+
milestones: qr(e.milestones ?? [], o, t, i, s)
|
|
1080
1080
|
}];
|
|
1081
|
-
}),
|
|
1081
|
+
}), Yr = ["aria-busy"], Xr = { class: "s-ui-roadmap__ruler" }, Zr = { class: "s-ui-roadmap__year" }, Qr = { class: "s-ui-roadmap__months" }, $r = { class: "s-ui-roadmap__body" }, ei = {
|
|
1082
1082
|
class: "s-ui-roadmap__grid",
|
|
1083
1083
|
"aria-hidden": "true"
|
|
1084
|
-
},
|
|
1084
|
+
}, ti = {
|
|
1085
1085
|
key: 1,
|
|
1086
1086
|
class: "s-ui-roadmap__rows"
|
|
1087
|
-
},
|
|
1087
|
+
}, ni = { class: "s-ui-roadmap__row" }, ri = {
|
|
1088
1088
|
key: 2,
|
|
1089
1089
|
class: "s-ui-roadmap__rows"
|
|
1090
|
-
},
|
|
1090
|
+
}, ii = [
|
|
1091
1091
|
"role",
|
|
1092
1092
|
"tabindex",
|
|
1093
1093
|
"onClick",
|
|
1094
1094
|
"onKeydown"
|
|
1095
|
-
],
|
|
1095
|
+
], ai = { class: "s-ui-roadmap__card-header" }, oi = { class: "s-ui-roadmap__card-title" }, si = { class: "s-ui-roadmap__card-track" }, ci = [
|
|
1096
1096
|
"title",
|
|
1097
1097
|
"aria-label",
|
|
1098
1098
|
"onClick"
|
|
1099
|
-
],
|
|
1099
|
+
], li = {
|
|
1100
1100
|
key: 0,
|
|
1101
1101
|
class: "s-ui-roadmap__card-progress"
|
|
1102
|
-
},
|
|
1102
|
+
}, ui = { class: "s-ui-roadmap__card-percent" }, di = {
|
|
1103
1103
|
key: 3,
|
|
1104
1104
|
class: "s-ui-roadmap__empty"
|
|
1105
|
-
},
|
|
1105
|
+
}, fi = 3.8, pi = 39.6, mi = 16, hi = 16, gi = /* @__PURE__ */ L({
|
|
1106
1106
|
__name: "SRoadmap",
|
|
1107
1107
|
props: {
|
|
1108
1108
|
items: { default: () => [] },
|
|
@@ -1117,12 +1117,12 @@ var On = [
|
|
|
1117
1117
|
},
|
|
1118
1118
|
emits: ["itemClick", "milestoneClick"],
|
|
1119
1119
|
setup(e, { emit: t }) {
|
|
1120
|
-
let n = t, r =
|
|
1121
|
-
insetInlineStart: `${
|
|
1122
|
-
inlineSize: `${
|
|
1123
|
-
}, { t: l, locale: u } =
|
|
1120
|
+
let n = t, r = mi / 2, i = J.stageFill, a = J.milestoneFill, o = _n.SMALL, s = vn.S_ROADMAP_CARD, c = {
|
|
1121
|
+
insetInlineStart: `${fi}%`,
|
|
1122
|
+
inlineSize: `${pi}%`
|
|
1123
|
+
}, { t: l, locale: u } = Dn(), 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
1124
|
insetInlineStart: `${p.value.x}px`,
|
|
1125
|
-
insetBlockStart: `${p.value.y +
|
|
1125
|
+
insetBlockStart: `${p.value.y + hi}px`
|
|
1126
1126
|
} : void 0), _ = (e, t) => {
|
|
1127
1127
|
p.value = e ? {
|
|
1128
1128
|
text: e,
|
|
@@ -1131,11 +1131,11 @@ var On = [
|
|
|
1131
1131
|
} : null;
|
|
1132
1132
|
}, v = () => {
|
|
1133
1133
|
p.value = null;
|
|
1134
|
-
}, y = A(() =>
|
|
1134
|
+
}, y = A(() => Vr(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(() => Gr(String(dn(u))).map((e, t) => ({
|
|
1135
1135
|
index: t,
|
|
1136
1136
|
label: e,
|
|
1137
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: `${
|
|
1138
|
+
}))), C = A(() => !x.value || !y.value ? null : { insetInlineStart: `${Wr(y.value, b.value)}%` }), w = A(() => Jr(e.items, b.value).map((e) => ({
|
|
1139
1139
|
key: e.item.id,
|
|
1140
1140
|
row: e,
|
|
1141
1141
|
role: d() ? "button" : void 0,
|
|
@@ -1156,7 +1156,7 @@ var On = [
|
|
|
1156
1156
|
title: l("roadmap.milestone", { title: e.milestone.title }),
|
|
1157
1157
|
nativeTitle: h.value ? void 0 : l("roadmap.milestone", { title: e.milestone.title }),
|
|
1158
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% - ${
|
|
1159
|
+
style: { insetInlineStart: `clamp(0px, calc(${e.offset}% - ${r}px), calc(100% - ${mi}px))` }
|
|
1160
1160
|
}))
|
|
1161
1161
|
}))), T = (e) => {
|
|
1162
1162
|
n("itemClick", e);
|
|
@@ -1168,12 +1168,12 @@ var On = [
|
|
|
1168
1168
|
"data-qa": "ui:roadmap",
|
|
1169
1169
|
"aria-busy": e.loading
|
|
1170
1170
|
}, [
|
|
1171
|
-
P("div",
|
|
1171
|
+
P("div", Xr, [P("div", Zr, W(b.value), 1), P("ol", Qr, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("li", {
|
|
1172
1172
|
key: e.index,
|
|
1173
1173
|
class: R(e.classes)
|
|
1174
1174
|
}, W(e.label), 3))), 128))])]),
|
|
1175
|
-
P("div",
|
|
1176
|
-
P("div",
|
|
1175
|
+
P("div", $r, [
|
|
1176
|
+
P("div", ei, [(B(!0), N(k, null, H(S.value, (e) => (B(), N("span", {
|
|
1177
1177
|
key: e.index,
|
|
1178
1178
|
class: "s-ui-roadmap__grid-column"
|
|
1179
1179
|
}))), 128))]),
|
|
@@ -1183,14 +1183,14 @@ var On = [
|
|
|
1183
1183
|
style: z(C.value),
|
|
1184
1184
|
"aria-hidden": "true"
|
|
1185
1185
|
}, [...n[2] ||= [P("span", { class: "s-ui-roadmap__today-point" }, null, -1)]], 4)) : M("", !0),
|
|
1186
|
-
e.loading ? (B(), N("ul",
|
|
1186
|
+
e.loading ? (B(), N("ul", ti, [P("li", ni, [P("div", {
|
|
1187
1187
|
class: "s-ui-roadmap__card s-ui-roadmap__card--skeleton",
|
|
1188
1188
|
style: c,
|
|
1189
1189
|
"aria-hidden": "true"
|
|
1190
|
-
}, [I(G(
|
|
1190
|
+
}, [I(G(xn), {
|
|
1191
1191
|
class: "s-ui-roadmap__card-skeleton",
|
|
1192
1192
|
type: G(s)
|
|
1193
|
-
}, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul",
|
|
1193
|
+
}, null, 8, ["type"])])])])) : w.value.length ? (B(), N("ul", ri, [(B(!0), N(k, null, H(w.value, (e) => (B(), N("li", {
|
|
1194
1194
|
key: e.key,
|
|
1195
1195
|
class: "s-ui-roadmap__row"
|
|
1196
1196
|
}, [P("div", {
|
|
@@ -1199,12 +1199,12 @@ var On = [
|
|
|
1199
1199
|
role: e.role,
|
|
1200
1200
|
tabindex: e.tabindex,
|
|
1201
1201
|
onClick: (t) => T(e.row.item),
|
|
1202
|
-
onKeydown:
|
|
1202
|
+
onKeydown: hn((t) => T(e.row.item), ["enter"]),
|
|
1203
1203
|
onPointermove: n[1] ||= (e) => _(m.value, e),
|
|
1204
1204
|
onPointerleave: v
|
|
1205
1205
|
}, [
|
|
1206
|
-
P("div",
|
|
1207
|
-
P("div",
|
|
1206
|
+
P("div", ai, [U(t.$slots, "item-leading", { item: e.row.item }), P("span", oi, W(e.row.item.title), 1)]),
|
|
1207
|
+
P("div", si, [I(G(yn), {
|
|
1208
1208
|
class: "s-ui-roadmap__stage-icon",
|
|
1209
1209
|
name: G(i),
|
|
1210
1210
|
size: 16
|
|
@@ -1215,13 +1215,13 @@ var On = [
|
|
|
1215
1215
|
style: z(t.style),
|
|
1216
1216
|
title: t.nativeTitle,
|
|
1217
1217
|
"aria-label": t.title,
|
|
1218
|
-
onClick:
|
|
1219
|
-
onPointermove: n[0] ||=
|
|
1220
|
-
}, [I(G(
|
|
1218
|
+
onClick: gn((n) => E(t.placement.milestone, e.row.item), ["stop"]),
|
|
1219
|
+
onPointermove: n[0] ||= gn((e) => _(h.value, e), ["stop"])
|
|
1220
|
+
}, [I(G(yn), {
|
|
1221
1221
|
name: G(a),
|
|
1222
1222
|
size: 16
|
|
1223
|
-
}, null, 8, ["name"])], 46,
|
|
1224
|
-
e.row.progress === null ? M("", !0) : (B(), N("div",
|
|
1223
|
+
}, null, 8, ["name"])], 46, ci))), 128))]),
|
|
1224
|
+
e.row.progress === null ? M("", !0) : (B(), N("div", li, [I(G(bn), {
|
|
1225
1225
|
class: "s-ui-roadmap__card-progress-bar",
|
|
1226
1226
|
value: e.row.progress,
|
|
1227
1227
|
size: G(o),
|
|
@@ -1230,17 +1230,17 @@ var On = [
|
|
|
1230
1230
|
"value",
|
|
1231
1231
|
"size",
|
|
1232
1232
|
"aria-label"
|
|
1233
|
-
]), P("span",
|
|
1234
|
-
], 46,
|
|
1233
|
+
]), P("span", ui, W(e.row.progress) + "%", 1)]))
|
|
1234
|
+
], 46, ii)]))), 128))])) : (B(), N("div", di, [U(t.$slots, "empty", {}, () => [F(W(G(l)("roadmap.empty")), 1)])]))
|
|
1235
1235
|
]),
|
|
1236
|
-
(B(), j(
|
|
1236
|
+
(B(), j(rn, { to: "body" }, [p.value ? (B(), N("span", {
|
|
1237
1237
|
key: 0,
|
|
1238
1238
|
class: "s-ui-roadmap__hint",
|
|
1239
1239
|
style: z(g.value),
|
|
1240
1240
|
role: "tooltip"
|
|
1241
1241
|
}, W(p.value.text), 5)) : M("", !0)]))
|
|
1242
|
-
], 10,
|
|
1242
|
+
], 10, Yr));
|
|
1243
1243
|
}
|
|
1244
1244
|
});
|
|
1245
1245
|
//#endregion
|
|
1246
|
-
export {
|
|
1246
|
+
export { Mt as CALENDAR_WEEK_SLOT_COUNT, Bt 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, Lt as ESCalendarEventDirection, Ut 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, zr as ESRoadmapStatus, _e as ESSegmentControlSize, Qe as ESSelectSearchable, ye as ESTabAppearance, be as ESTabSize, Xt as ESTableCellState, $t as ESTableCheckState, Jt as ESTableColumnAlign, Wt as ESTableColumnSticky, Zt as ESTableDropAction, en as ESTableFooterTone, Gt as ESTableRowColor, Yt as ESTableRowHeightMode, nn as ESTableRowKind, Kt as ESTableRowState, qt as ESTableRowsDragMode, Qt as ESTableSortDirection, Oe as ESTagColor, ke as ESTagSize, nt as ESToggleLabelPlacement, rt as ESToggleSize, ae as ESelectionFocusMode, ne as ESelectionMode, ie as ESelectionOrientation, Nt as EWorkTimeSource, l as MAX_RECENT_COLORS, _ as RECOMMENDED_COLOR_PALETTE, c as SAvatar, S as SAvatarGroup, n as SBadge, Kn as SBanner, E as SButton, ue as SButtonGroup, Pt as SCalendarMonth, It 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, kr as SChartSegmentedBar, St as SChartStackedArea, Ct as SChartStackedBar, Rr as SChartWidget, me as SCheckbox, Pe as SChip, d as SColorArea, v as SColorPalette, f as SColorPicker, u as SColorValues, Rt 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, gi as SRoadmap, ve as SSegmentControl, $e as SSelect, xe as STab, tn as STable, Se as STabs, Ae as STag, je as STagGroup, st as STextarea, qn as SToast, fr as SToastProvider, it as SToggle, Fe as S_DROPDOWN_SHEET_BREAKPOINT, Qn as TOAST_AUTO_DURATION_MAX_MS, Zn as TOAST_AUTO_DURATION_MIN_MS, $n as TOAST_AUTO_DURATION_MS_PER_CHAR, zt as WORK_TIME_SOURCE_COLOR_VARS, Vt as WORK_TIME_SOURCE_ORDER, Ht as buildWorkTimeLegendItems, er as computeAutoDuration, we as computeConnectedPosition, Sn as createUiKit, Ft as formatDurationHM, x as isSameColor, b as normalizeColorValue, y as resolveColorPreview, te as resolveOwnPropOrGroupedOrFallback, Cn as setUiKitLocale, wn as uiKitLocaleEn, Tn as uiKitLocaleRu, Ke as useFlatTreeList, De as useFloatingOverlay, Ge as useSListEndReached, re as useSelectionGroup, oe as useSelectionGroupItem, dr as useToast, En as useUiKitI18n };
|